@sakura-ui/forms 0.2.2 → 0.4.0-beta.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs.js +142 -188
- package/dist/index.es.js +713 -2564
- package/dist/types/components/Checkbox.d.ts +6 -3
- package/dist/types/components/Checkbox.d.ts.map +1 -1
- package/dist/types/components/FieldsetControl.d.ts +6 -3
- package/dist/types/components/FieldsetControl.d.ts.map +1 -1
- package/dist/types/components/FileInput.d.ts +7 -4
- package/dist/types/components/FileInput.d.ts.map +1 -1
- package/dist/types/components/Input.d.ts +6 -3
- package/dist/types/components/Input.d.ts.map +1 -1
- package/dist/types/components/LabelControl.d.ts +6 -3
- package/dist/types/components/LabelControl.d.ts.map +1 -1
- package/dist/types/components/Radio.d.ts +6 -3
- package/dist/types/components/Radio.d.ts.map +1 -1
- package/dist/types/components/Select.d.ts +6 -3
- package/dist/types/components/Select.d.ts.map +1 -1
- package/dist/types/components/Textarea.d.ts +6 -3
- package/dist/types/components/Textarea.d.ts.map +1 -1
- package/dist/types/components/controlled/CheckboxGroup.d.ts +6 -3
- package/dist/types/components/controlled/CheckboxGroup.d.ts.map +1 -1
- package/dist/types/components/controlled/RadioGroup.d.ts +6 -3
- package/dist/types/components/controlled/RadioGroup.d.ts.map +1 -1
- package/dist/types/components/inputStyle.d.ts +1 -1
- package/dist/types/components/inputStyle.d.ts.map +1 -1
- package/package.json +11 -7
package/dist/index.es.js
CHANGED
|
@@ -1,693 +1,340 @@
|
|
|
1
|
-
import
|
|
2
|
-
var
|
|
1
|
+
import y from "react";
|
|
2
|
+
var k = { exports: {} }, I = {};
|
|
3
3
|
/**
|
|
4
4
|
* @license React
|
|
5
|
-
* react-jsx-runtime.production.
|
|
5
|
+
* react-jsx-runtime.production.js
|
|
6
6
|
*
|
|
7
|
-
* Copyright (c)
|
|
7
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
8
8
|
*
|
|
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
|
|
13
|
-
function
|
|
14
|
-
if (
|
|
15
|
-
|
|
16
|
-
var
|
|
17
|
-
function
|
|
18
|
-
var
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
12
|
+
var B;
|
|
13
|
+
function pe() {
|
|
14
|
+
if (B) return I;
|
|
15
|
+
B = 1;
|
|
16
|
+
var r = Symbol.for("react.transitional.element"), i = Symbol.for("react.fragment");
|
|
17
|
+
function c(n, a, s) {
|
|
18
|
+
var o = null;
|
|
19
|
+
if (s !== void 0 && (o = "" + s), a.key !== void 0 && (o = "" + a.key), "key" in a) {
|
|
20
|
+
s = {};
|
|
21
|
+
for (var u in a)
|
|
22
|
+
u !== "key" && (s[u] = a[u]);
|
|
23
|
+
} else s = a;
|
|
24
|
+
return a = s.ref, {
|
|
25
|
+
$$typeof: r,
|
|
26
|
+
type: n,
|
|
27
|
+
key: o,
|
|
28
|
+
ref: a !== void 0 ? a : null,
|
|
29
|
+
props: s
|
|
30
|
+
};
|
|
23
31
|
}
|
|
24
|
-
return
|
|
32
|
+
return I.Fragment = i, I.jsx = c, I.jsxs = c, I;
|
|
25
33
|
}
|
|
26
|
-
var
|
|
34
|
+
var _ = {};
|
|
27
35
|
/**
|
|
28
36
|
* @license React
|
|
29
37
|
* react-jsx-runtime.development.js
|
|
30
38
|
*
|
|
31
|
-
* Copyright (c)
|
|
39
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
32
40
|
*
|
|
33
41
|
* This source code is licensed under the MIT license found in the
|
|
34
42
|
* LICENSE file in the root directory of this source tree.
|
|
35
43
|
*/
|
|
36
|
-
var
|
|
37
|
-
function
|
|
38
|
-
return
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
if (
|
|
42
|
-
return null;
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
var fe = d.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
47
|
-
function Y(t) {
|
|
48
|
-
{
|
|
49
|
-
for (var i = arguments.length, u = new Array(i > 1 ? i - 1 : 0), m = 1; m < i; m++)
|
|
50
|
-
u[m - 1] = arguments[m];
|
|
51
|
-
xe("error", t, u);
|
|
52
|
-
}
|
|
53
|
-
}
|
|
54
|
-
function xe(t, i, u) {
|
|
55
|
-
{
|
|
56
|
-
var m = fe.ReactDebugCurrentFrame, N = m.getStackAddendum();
|
|
57
|
-
N !== "" && (i += "%s", u = u.concat([N]));
|
|
58
|
-
var A = u.map(function(j) {
|
|
59
|
-
return String(j);
|
|
60
|
-
});
|
|
61
|
-
A.unshift("Warning: " + i), Function.prototype.apply.call(console[t], console, A);
|
|
62
|
-
}
|
|
63
|
-
}
|
|
64
|
-
var de = !1, X = !1, ie = !1, ye = !1, he = !1, Oe;
|
|
65
|
-
Oe = Symbol.for("react.module.reference");
|
|
66
|
-
function Pe(t) {
|
|
67
|
-
return !!(typeof t == "string" || typeof t == "function" || t === I || t === C || he || t === P || t === D || t === E || ye || t === L || de || X || ie || typeof t == "object" && t !== null && (t.$$typeof === J || t.$$typeof === x || t.$$typeof === v || t.$$typeof === g || t.$$typeof === p || // This needs to include all possible module reference object
|
|
68
|
-
// types supported by any Flight configuration anywhere since
|
|
69
|
-
// we don't know which Flight build this will end up being used
|
|
70
|
-
// with.
|
|
71
|
-
t.$$typeof === Oe || t.getModuleId !== void 0));
|
|
72
|
-
}
|
|
73
|
-
function Ge(t, i, u) {
|
|
74
|
-
var m = t.displayName;
|
|
75
|
-
if (m)
|
|
76
|
-
return m;
|
|
77
|
-
var N = i.displayName || i.name || "";
|
|
78
|
-
return N !== "" ? u + "(" + N + ")" : u;
|
|
79
|
-
}
|
|
80
|
-
function Te(t) {
|
|
81
|
-
return t.displayName || "Context";
|
|
82
|
-
}
|
|
83
|
-
function oe(t) {
|
|
84
|
-
if (t == null)
|
|
85
|
-
return null;
|
|
86
|
-
if (typeof t.tag == "number" && Y("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof t == "function")
|
|
87
|
-
return t.displayName || t.name || null;
|
|
88
|
-
if (typeof t == "string")
|
|
89
|
-
return t;
|
|
90
|
-
switch (t) {
|
|
91
|
-
case I:
|
|
44
|
+
var U;
|
|
45
|
+
function be() {
|
|
46
|
+
return U || (U = 1, process.env.NODE_ENV !== "production" && function() {
|
|
47
|
+
function r(e) {
|
|
48
|
+
if (e == null) return null;
|
|
49
|
+
if (typeof e == "function")
|
|
50
|
+
return e.$$typeof === ce ? null : e.displayName || e.name || null;
|
|
51
|
+
if (typeof e == "string") return e;
|
|
52
|
+
switch (e) {
|
|
53
|
+
case P:
|
|
92
54
|
return "Fragment";
|
|
93
|
-
case
|
|
94
|
-
return "Portal";
|
|
95
|
-
case C:
|
|
55
|
+
case se:
|
|
96
56
|
return "Profiler";
|
|
97
|
-
case
|
|
57
|
+
case re:
|
|
98
58
|
return "StrictMode";
|
|
99
|
-
case
|
|
59
|
+
case oe:
|
|
100
60
|
return "Suspense";
|
|
101
|
-
case
|
|
61
|
+
case ie:
|
|
102
62
|
return "SuspenseList";
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
return
|
|
112
|
-
case
|
|
113
|
-
return
|
|
114
|
-
case
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
63
|
+
case de:
|
|
64
|
+
return "Activity";
|
|
65
|
+
}
|
|
66
|
+
if (typeof e == "object")
|
|
67
|
+
switch (typeof e.tag == "number" && console.error(
|
|
68
|
+
"Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."
|
|
69
|
+
), e.$$typeof) {
|
|
70
|
+
case ee:
|
|
71
|
+
return "Portal";
|
|
72
|
+
case le:
|
|
73
|
+
return (e.displayName || "Context") + ".Provider";
|
|
74
|
+
case te:
|
|
75
|
+
return (e._context.displayName || "Context") + ".Consumer";
|
|
76
|
+
case ae:
|
|
77
|
+
var l = e.render;
|
|
78
|
+
return e = e.displayName, e || (e = l.displayName || l.name || "", e = e !== "" ? "ForwardRef(" + e + ")" : "ForwardRef"), e;
|
|
79
|
+
case ne:
|
|
80
|
+
return l = e.displayName || null, l !== null ? l : r(e.type) || "Memo";
|
|
81
|
+
case M:
|
|
82
|
+
l = e._payload, e = e._init;
|
|
119
83
|
try {
|
|
120
|
-
return
|
|
84
|
+
return r(e(l));
|
|
121
85
|
} catch {
|
|
122
|
-
return null;
|
|
123
86
|
}
|
|
124
|
-
}
|
|
125
87
|
}
|
|
126
88
|
return null;
|
|
127
89
|
}
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
}
|
|
131
|
-
S.__reactDisabledLog = !0;
|
|
132
|
-
function O() {
|
|
133
|
-
{
|
|
134
|
-
if (re === 0) {
|
|
135
|
-
pe = console.log, y = console.info, ve = console.warn, Ie = console.error, be = console.group, n = console.groupCollapsed, s = console.groupEnd;
|
|
136
|
-
var t = {
|
|
137
|
-
configurable: !0,
|
|
138
|
-
enumerable: !0,
|
|
139
|
-
value: S,
|
|
140
|
-
writable: !0
|
|
141
|
-
};
|
|
142
|
-
Object.defineProperties(console, {
|
|
143
|
-
info: t,
|
|
144
|
-
log: t,
|
|
145
|
-
warn: t,
|
|
146
|
-
error: t,
|
|
147
|
-
group: t,
|
|
148
|
-
groupCollapsed: t,
|
|
149
|
-
groupEnd: t
|
|
150
|
-
});
|
|
151
|
-
}
|
|
152
|
-
re++;
|
|
153
|
-
}
|
|
90
|
+
function i(e) {
|
|
91
|
+
return "" + e;
|
|
154
92
|
}
|
|
155
|
-
function
|
|
156
|
-
{
|
|
157
|
-
if (re--, re === 0) {
|
|
158
|
-
var t = {
|
|
159
|
-
configurable: !0,
|
|
160
|
-
enumerable: !0,
|
|
161
|
-
writable: !0
|
|
162
|
-
};
|
|
163
|
-
Object.defineProperties(console, {
|
|
164
|
-
log: se({}, t, {
|
|
165
|
-
value: pe
|
|
166
|
-
}),
|
|
167
|
-
info: se({}, t, {
|
|
168
|
-
value: y
|
|
169
|
-
}),
|
|
170
|
-
warn: se({}, t, {
|
|
171
|
-
value: ve
|
|
172
|
-
}),
|
|
173
|
-
error: se({}, t, {
|
|
174
|
-
value: Ie
|
|
175
|
-
}),
|
|
176
|
-
group: se({}, t, {
|
|
177
|
-
value: be
|
|
178
|
-
}),
|
|
179
|
-
groupCollapsed: se({}, t, {
|
|
180
|
-
value: n
|
|
181
|
-
}),
|
|
182
|
-
groupEnd: se({}, t, {
|
|
183
|
-
value: s
|
|
184
|
-
})
|
|
185
|
-
});
|
|
186
|
-
}
|
|
187
|
-
re < 0 && Y("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
|
|
188
|
-
}
|
|
189
|
-
}
|
|
190
|
-
var U = fe.ReactCurrentDispatcher, q;
|
|
191
|
-
function M(t, i, u) {
|
|
192
|
-
{
|
|
193
|
-
if (q === void 0)
|
|
194
|
-
try {
|
|
195
|
-
throw Error();
|
|
196
|
-
} catch (N) {
|
|
197
|
-
var m = N.stack.trim().match(/\n( *(at )?)/);
|
|
198
|
-
q = m && m[1] || "";
|
|
199
|
-
}
|
|
200
|
-
return `
|
|
201
|
-
` + q + t;
|
|
202
|
-
}
|
|
203
|
-
}
|
|
204
|
-
var F = !1, Z;
|
|
205
|
-
{
|
|
206
|
-
var Er = typeof WeakMap == "function" ? WeakMap : Map;
|
|
207
|
-
Z = new Er();
|
|
208
|
-
}
|
|
209
|
-
function tr(t, i) {
|
|
210
|
-
if (!t || F)
|
|
211
|
-
return "";
|
|
212
|
-
{
|
|
213
|
-
var u = Z.get(t);
|
|
214
|
-
if (u !== void 0)
|
|
215
|
-
return u;
|
|
216
|
-
}
|
|
217
|
-
var m;
|
|
218
|
-
F = !0;
|
|
219
|
-
var N = Error.prepareStackTrace;
|
|
220
|
-
Error.prepareStackTrace = void 0;
|
|
221
|
-
var A;
|
|
222
|
-
A = U.current, U.current = null, O();
|
|
93
|
+
function c(e) {
|
|
223
94
|
try {
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
m = ae;
|
|
244
|
-
}
|
|
245
|
-
t.call(j.prototype);
|
|
246
|
-
}
|
|
247
|
-
} else {
|
|
248
|
-
try {
|
|
249
|
-
throw Error();
|
|
250
|
-
} catch (ae) {
|
|
251
|
-
m = ae;
|
|
252
|
-
}
|
|
253
|
-
t();
|
|
254
|
-
}
|
|
255
|
-
} catch (ae) {
|
|
256
|
-
if (ae && m && typeof ae.stack == "string") {
|
|
257
|
-
for (var R = ae.stack.split(`
|
|
258
|
-
`), te = m.stack.split(`
|
|
259
|
-
`), H = R.length - 1, K = te.length - 1; H >= 1 && K >= 0 && R[H] !== te[K]; )
|
|
260
|
-
K--;
|
|
261
|
-
for (; H >= 1 && K >= 0; H--, K--)
|
|
262
|
-
if (R[H] !== te[K]) {
|
|
263
|
-
if (H !== 1 || K !== 1)
|
|
264
|
-
do
|
|
265
|
-
if (H--, K--, K < 0 || R[H] !== te[K]) {
|
|
266
|
-
var ue = `
|
|
267
|
-
` + R[H].replace(" at new ", " at ");
|
|
268
|
-
return t.displayName && ue.includes("<anonymous>") && (ue = ue.replace("<anonymous>", t.displayName)), typeof t == "function" && Z.set(t, ue), ue;
|
|
269
|
-
}
|
|
270
|
-
while (H >= 1 && K >= 0);
|
|
271
|
-
break;
|
|
272
|
-
}
|
|
273
|
-
}
|
|
274
|
-
} finally {
|
|
275
|
-
F = !1, U.current = A, $(), Error.prepareStackTrace = N;
|
|
276
|
-
}
|
|
277
|
-
var Ce = t ? t.displayName || t.name : "", _e = Ce ? M(Ce) : "";
|
|
278
|
-
return typeof t == "function" && Z.set(t, _e), _e;
|
|
279
|
-
}
|
|
280
|
-
function Ve(t, i, u) {
|
|
281
|
-
return tr(t, !1);
|
|
282
|
-
}
|
|
283
|
-
function Sr(t) {
|
|
284
|
-
var i = t.prototype;
|
|
285
|
-
return !!(i && i.isReactComponent);
|
|
286
|
-
}
|
|
287
|
-
function Ue(t, i, u) {
|
|
288
|
-
if (t == null)
|
|
289
|
-
return "";
|
|
290
|
-
if (typeof t == "function")
|
|
291
|
-
return tr(t, Sr(t));
|
|
292
|
-
if (typeof t == "string")
|
|
293
|
-
return M(t);
|
|
294
|
-
switch (t) {
|
|
295
|
-
case D:
|
|
296
|
-
return M("Suspense");
|
|
297
|
-
case E:
|
|
298
|
-
return M("SuspenseList");
|
|
299
|
-
}
|
|
300
|
-
if (typeof t == "object")
|
|
301
|
-
switch (t.$$typeof) {
|
|
302
|
-
case p:
|
|
303
|
-
return Ve(t.render);
|
|
304
|
-
case x:
|
|
305
|
-
return Ue(t.type, i, u);
|
|
306
|
-
case J: {
|
|
307
|
-
var m = t, N = m._payload, A = m._init;
|
|
308
|
-
try {
|
|
309
|
-
return Ue(A(N), i, u);
|
|
310
|
-
} catch {
|
|
311
|
-
}
|
|
312
|
-
}
|
|
313
|
-
}
|
|
314
|
-
return "";
|
|
315
|
-
}
|
|
316
|
-
var Re = Object.prototype.hasOwnProperty, $e = {}, nr = fe.ReactDebugCurrentFrame;
|
|
317
|
-
function Ne(t) {
|
|
318
|
-
if (t) {
|
|
319
|
-
var i = t._owner, u = Ue(t.type, t._source, i ? i.type : null);
|
|
320
|
-
nr.setExtraStackFrame(u);
|
|
321
|
-
} else
|
|
322
|
-
nr.setExtraStackFrame(null);
|
|
323
|
-
}
|
|
324
|
-
function me(t, i, u, m, N) {
|
|
325
|
-
{
|
|
326
|
-
var A = Function.call.bind(Re);
|
|
327
|
-
for (var j in t)
|
|
328
|
-
if (A(t, j)) {
|
|
329
|
-
var R = void 0;
|
|
330
|
-
try {
|
|
331
|
-
if (typeof t[j] != "function") {
|
|
332
|
-
var te = Error((m || "React class") + ": " + u + " type `" + j + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof t[j] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
|
|
333
|
-
throw te.name = "Invariant Violation", te;
|
|
334
|
-
}
|
|
335
|
-
R = t[j](i, j, m, u, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
|
|
336
|
-
} catch (H) {
|
|
337
|
-
R = H;
|
|
338
|
-
}
|
|
339
|
-
R && !(R instanceof Error) && (Ne(N), Y("%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).", m || "React class", u, j, typeof R), Ne(null)), R instanceof Error && !(R.message in $e) && ($e[R.message] = !0, Ne(N), Y("Failed %s type: %s", u, R.message), Ne(null));
|
|
340
|
-
}
|
|
341
|
-
}
|
|
342
|
-
}
|
|
343
|
-
var De = Array.isArray;
|
|
344
|
-
function We(t) {
|
|
345
|
-
return De(t);
|
|
346
|
-
}
|
|
347
|
-
function or(t) {
|
|
348
|
-
{
|
|
349
|
-
var i = typeof Symbol == "function" && Symbol.toStringTag, u = i && t[Symbol.toStringTag] || t.constructor.name || "Object";
|
|
350
|
-
return u;
|
|
351
|
-
}
|
|
352
|
-
}
|
|
353
|
-
function ar(t) {
|
|
95
|
+
i(e);
|
|
96
|
+
var l = !1;
|
|
97
|
+
} catch {
|
|
98
|
+
l = !0;
|
|
99
|
+
}
|
|
100
|
+
if (l) {
|
|
101
|
+
l = console;
|
|
102
|
+
var p = l.error, m = typeof Symbol == "function" && Symbol.toStringTag && e[Symbol.toStringTag] || e.constructor.name || "Object";
|
|
103
|
+
return p.call(
|
|
104
|
+
l,
|
|
105
|
+
"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",
|
|
106
|
+
m
|
|
107
|
+
), i(e);
|
|
108
|
+
}
|
|
109
|
+
}
|
|
110
|
+
function n(e) {
|
|
111
|
+
if (e === P) return "<>";
|
|
112
|
+
if (typeof e == "object" && e !== null && e.$$typeof === M)
|
|
113
|
+
return "<...>";
|
|
354
114
|
try {
|
|
355
|
-
|
|
115
|
+
var l = r(e);
|
|
116
|
+
return l ? "<" + l + ">" : "<...>";
|
|
356
117
|
} catch {
|
|
357
|
-
return
|
|
358
|
-
}
|
|
359
|
-
}
|
|
360
|
-
function
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
}
|
|
367
|
-
|
|
368
|
-
key
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
function
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
return
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
configurable: !0
|
|
404
|
-
});
|
|
405
|
-
}
|
|
406
|
-
}
|
|
407
|
-
function ur(t, i) {
|
|
408
|
-
{
|
|
409
|
-
var u = function() {
|
|
410
|
-
sr || (sr = !0, Y("%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)", i));
|
|
411
|
-
};
|
|
412
|
-
u.isReactWarning = !0, Object.defineProperty(t, "ref", {
|
|
413
|
-
get: u,
|
|
414
|
-
configurable: !0
|
|
415
|
-
});
|
|
416
|
-
}
|
|
417
|
-
}
|
|
418
|
-
var Pr = function(t, i, u, m, N, A, j) {
|
|
419
|
-
var R = {
|
|
420
|
-
// This tag allows us to uniquely identify this as a React Element
|
|
421
|
-
$$typeof: c,
|
|
422
|
-
// Built-in properties that belong on the element
|
|
423
|
-
type: t,
|
|
424
|
-
key: i,
|
|
425
|
-
ref: u,
|
|
426
|
-
props: j,
|
|
427
|
-
// Record the component responsible for creating this element.
|
|
428
|
-
_owner: A
|
|
429
|
-
};
|
|
430
|
-
return R._store = {}, Object.defineProperty(R._store, "validated", {
|
|
118
|
+
return "<...>";
|
|
119
|
+
}
|
|
120
|
+
}
|
|
121
|
+
function a() {
|
|
122
|
+
var e = C.A;
|
|
123
|
+
return e === null ? null : e.getOwner();
|
|
124
|
+
}
|
|
125
|
+
function s() {
|
|
126
|
+
return Error("react-stack-top-frame");
|
|
127
|
+
}
|
|
128
|
+
function o(e) {
|
|
129
|
+
if (F.call(e, "key")) {
|
|
130
|
+
var l = Object.getOwnPropertyDescriptor(e, "key").get;
|
|
131
|
+
if (l && l.isReactWarning) return !1;
|
|
132
|
+
}
|
|
133
|
+
return e.key !== void 0;
|
|
134
|
+
}
|
|
135
|
+
function u(e, l) {
|
|
136
|
+
function p() {
|
|
137
|
+
Y || (Y = !0, console.error(
|
|
138
|
+
"%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)",
|
|
139
|
+
l
|
|
140
|
+
));
|
|
141
|
+
}
|
|
142
|
+
p.isReactWarning = !0, Object.defineProperty(e, "key", {
|
|
143
|
+
get: p,
|
|
144
|
+
configurable: !0
|
|
145
|
+
});
|
|
146
|
+
}
|
|
147
|
+
function d() {
|
|
148
|
+
var e = r(this.type);
|
|
149
|
+
return z[e] || (z[e] = !0, console.error(
|
|
150
|
+
"Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release."
|
|
151
|
+
)), e = this.props.ref, e !== void 0 ? e : null;
|
|
152
|
+
}
|
|
153
|
+
function b(e, l, p, m, j, N, A, O) {
|
|
154
|
+
return p = N.ref, e = {
|
|
155
|
+
$$typeof: R,
|
|
156
|
+
type: e,
|
|
157
|
+
key: l,
|
|
158
|
+
props: N,
|
|
159
|
+
_owner: j
|
|
160
|
+
}, (p !== void 0 ? p : null) !== null ? Object.defineProperty(e, "ref", {
|
|
161
|
+
enumerable: !1,
|
|
162
|
+
get: d
|
|
163
|
+
}) : Object.defineProperty(e, "ref", { enumerable: !1, value: null }), e._store = {}, Object.defineProperty(e._store, "validated", {
|
|
431
164
|
configurable: !1,
|
|
432
165
|
enumerable: !1,
|
|
433
166
|
writable: !0,
|
|
434
|
-
value:
|
|
435
|
-
}), Object.defineProperty(
|
|
167
|
+
value: 0
|
|
168
|
+
}), Object.defineProperty(e, "_debugInfo", {
|
|
436
169
|
configurable: !1,
|
|
437
170
|
enumerable: !1,
|
|
438
|
-
writable: !
|
|
439
|
-
value:
|
|
440
|
-
}), Object.defineProperty(
|
|
171
|
+
writable: !0,
|
|
172
|
+
value: null
|
|
173
|
+
}), Object.defineProperty(e, "_debugStack", {
|
|
441
174
|
configurable: !1,
|
|
442
175
|
enumerable: !1,
|
|
443
|
-
writable: !
|
|
444
|
-
value:
|
|
445
|
-
}), Object.
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
}
|
|
473
|
-
var Ae;
|
|
474
|
-
Ae = !1;
|
|
475
|
-
function Se(t) {
|
|
476
|
-
return typeof t == "object" && t !== null && t.$$typeof === c;
|
|
477
|
-
}
|
|
478
|
-
function Me() {
|
|
479
|
-
{
|
|
480
|
-
if (Be.current) {
|
|
481
|
-
var t = oe(Be.current.type);
|
|
482
|
-
if (t)
|
|
483
|
-
return `
|
|
484
|
-
|
|
485
|
-
Check the render method of \`` + t + "`.";
|
|
486
|
-
}
|
|
487
|
-
return "";
|
|
488
|
-
}
|
|
489
|
-
}
|
|
490
|
-
function Ir(t) {
|
|
491
|
-
return "";
|
|
492
|
-
}
|
|
493
|
-
var cr = {};
|
|
494
|
-
function $r(t) {
|
|
495
|
-
{
|
|
496
|
-
var i = Me();
|
|
497
|
-
if (!i) {
|
|
498
|
-
var u = typeof t == "string" ? t : t.displayName || t.name;
|
|
499
|
-
u && (i = `
|
|
500
|
-
|
|
501
|
-
Check the top-level render call using <` + u + ">.");
|
|
502
|
-
}
|
|
503
|
-
return i;
|
|
504
|
-
}
|
|
505
|
-
}
|
|
506
|
-
function fr(t, i) {
|
|
507
|
-
{
|
|
508
|
-
if (!t._store || t._store.validated || t.key != null)
|
|
509
|
-
return;
|
|
510
|
-
t._store.validated = !0;
|
|
511
|
-
var u = $r(i);
|
|
512
|
-
if (cr[u])
|
|
513
|
-
return;
|
|
514
|
-
cr[u] = !0;
|
|
515
|
-
var m = "";
|
|
516
|
-
t && t._owner && t._owner !== Be.current && (m = " It was passed a child from " + oe(t._owner.type) + "."), ge(t), Y('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', u, m), ge(null);
|
|
517
|
-
}
|
|
518
|
-
}
|
|
519
|
-
function dr(t, i) {
|
|
520
|
-
{
|
|
521
|
-
if (typeof t != "object")
|
|
522
|
-
return;
|
|
523
|
-
if (We(t))
|
|
524
|
-
for (var u = 0; u < t.length; u++) {
|
|
525
|
-
var m = t[u];
|
|
526
|
-
Se(m) && fr(m, i);
|
|
527
|
-
}
|
|
528
|
-
else if (Se(t))
|
|
529
|
-
t._store && (t._store.validated = !0);
|
|
530
|
-
else if (t) {
|
|
531
|
-
var N = ce(t);
|
|
532
|
-
if (typeof N == "function" && N !== t.entries)
|
|
533
|
-
for (var A = N.call(t), j; !(j = A.next()).done; )
|
|
534
|
-
Se(j.value) && fr(j.value, i);
|
|
535
|
-
}
|
|
536
|
-
}
|
|
537
|
-
}
|
|
538
|
-
function Le(t) {
|
|
539
|
-
{
|
|
540
|
-
var i = t.type;
|
|
541
|
-
if (i == null || typeof i == "string")
|
|
542
|
-
return;
|
|
543
|
-
var u;
|
|
544
|
-
if (typeof i == "function")
|
|
545
|
-
u = i.propTypes;
|
|
546
|
-
else if (typeof i == "object" && (i.$$typeof === p || // Note: Memo only checks outer props here.
|
|
547
|
-
// Inner props are checked in the reconciler.
|
|
548
|
-
i.$$typeof === x))
|
|
549
|
-
u = i.propTypes;
|
|
550
|
-
else
|
|
551
|
-
return;
|
|
552
|
-
if (u) {
|
|
553
|
-
var m = oe(i);
|
|
554
|
-
me(u, t.props, "prop", m, t);
|
|
555
|
-
} else if (i.PropTypes !== void 0 && !Ae) {
|
|
556
|
-
Ae = !0;
|
|
557
|
-
var N = oe(i);
|
|
558
|
-
Y("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", N || "Unknown");
|
|
559
|
-
}
|
|
560
|
-
typeof i.getDefaultProps == "function" && !i.getDefaultProps.isReactClassApproved && Y("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
|
|
561
|
-
}
|
|
562
|
-
}
|
|
563
|
-
function Ke(t) {
|
|
564
|
-
{
|
|
565
|
-
for (var i = Object.keys(t.props), u = 0; u < i.length; u++) {
|
|
566
|
-
var m = i[u];
|
|
567
|
-
if (m !== "children" && m !== "key") {
|
|
568
|
-
ge(t), Y("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", m), ge(null);
|
|
569
|
-
break;
|
|
570
|
-
}
|
|
571
|
-
}
|
|
572
|
-
t.ref !== null && (ge(t), Y("Invalid attribute `ref` supplied to `React.Fragment`."), ge(null));
|
|
573
|
-
}
|
|
574
|
-
}
|
|
575
|
-
var Xe = {};
|
|
576
|
-
function pr(t, i, u, m, N, A) {
|
|
577
|
-
{
|
|
578
|
-
var j = Pe(t);
|
|
579
|
-
if (!j) {
|
|
580
|
-
var R = "";
|
|
581
|
-
(t === void 0 || typeof t == "object" && t !== null && Object.keys(t).length === 0) && (R += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
|
|
582
|
-
var te = Ir();
|
|
583
|
-
te ? R += te : R += Me();
|
|
584
|
-
var H;
|
|
585
|
-
t === null ? H = "null" : We(t) ? H = "array" : t !== void 0 && t.$$typeof === c ? (H = "<" + (oe(t.type) || "Unknown") + " />", R = " Did you accidentally export a JSX literal instead of a component?") : H = typeof t, Y("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", H, R);
|
|
586
|
-
}
|
|
587
|
-
var K = Tr(t, i, u, N, A);
|
|
588
|
-
if (K == null)
|
|
589
|
-
return K;
|
|
590
|
-
if (j) {
|
|
591
|
-
var ue = i.children;
|
|
592
|
-
if (ue !== void 0)
|
|
593
|
-
if (m)
|
|
594
|
-
if (We(ue)) {
|
|
595
|
-
for (var Ce = 0; Ce < ue.length; Ce++)
|
|
596
|
-
dr(ue[Ce], t);
|
|
597
|
-
Object.freeze && Object.freeze(ue);
|
|
598
|
-
} else
|
|
599
|
-
Y("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
|
|
600
|
-
else
|
|
601
|
-
dr(ue, t);
|
|
602
|
-
}
|
|
603
|
-
if (Re.call(i, "key")) {
|
|
604
|
-
var _e = oe(t), ae = Object.keys(i).filter(function(Mr) {
|
|
605
|
-
return Mr !== "key";
|
|
606
|
-
}), Ze = ae.length > 0 ? "{key: someKey, " + ae.join(": ..., ") + ": ...}" : "{key: someKey}";
|
|
607
|
-
if (!Xe[_e + Ze]) {
|
|
608
|
-
var Ar = ae.length > 0 ? "{" + ae.join(": ..., ") + ": ...}" : "{}";
|
|
609
|
-
Y(`A props object containing a "key" prop is being spread into JSX:
|
|
176
|
+
writable: !0,
|
|
177
|
+
value: A
|
|
178
|
+
}), Object.defineProperty(e, "_debugTask", {
|
|
179
|
+
configurable: !1,
|
|
180
|
+
enumerable: !1,
|
|
181
|
+
writable: !0,
|
|
182
|
+
value: O
|
|
183
|
+
}), Object.freeze && (Object.freeze(e.props), Object.freeze(e)), e;
|
|
184
|
+
}
|
|
185
|
+
function f(e, l, p, m, j, N, A, O) {
|
|
186
|
+
var g = l.children;
|
|
187
|
+
if (g !== void 0)
|
|
188
|
+
if (m)
|
|
189
|
+
if (ue(g)) {
|
|
190
|
+
for (m = 0; m < g.length; m++)
|
|
191
|
+
h(g[m]);
|
|
192
|
+
Object.freeze && Object.freeze(g);
|
|
193
|
+
} else
|
|
194
|
+
console.error(
|
|
195
|
+
"React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead."
|
|
196
|
+
);
|
|
197
|
+
else h(g);
|
|
198
|
+
if (F.call(l, "key")) {
|
|
199
|
+
g = r(e);
|
|
200
|
+
var w = Object.keys(l).filter(function(fe) {
|
|
201
|
+
return fe !== "key";
|
|
202
|
+
});
|
|
203
|
+
m = 0 < w.length ? "{key: someKey, " + w.join(": ..., ") + ": ...}" : "{key: someKey}", W[g + m] || (w = 0 < w.length ? "{" + w.join(": ..., ") + ": ...}" : "{}", console.error(
|
|
204
|
+
`A props object containing a "key" prop is being spread into JSX:
|
|
610
205
|
let props = %s;
|
|
611
206
|
<%s {...props} />
|
|
612
207
|
React keys must be passed directly to JSX without using spread:
|
|
613
208
|
let props = %s;
|
|
614
|
-
<%s key={someKey} {...props} />`,
|
|
615
|
-
|
|
616
|
-
|
|
617
|
-
|
|
209
|
+
<%s key={someKey} {...props} />`,
|
|
210
|
+
m,
|
|
211
|
+
g,
|
|
212
|
+
w,
|
|
213
|
+
g
|
|
214
|
+
), W[g + m] = !0);
|
|
215
|
+
}
|
|
216
|
+
if (g = null, p !== void 0 && (c(p), g = "" + p), o(l) && (c(l.key), g = "" + l.key), "key" in l) {
|
|
217
|
+
p = {};
|
|
218
|
+
for (var $ in l)
|
|
219
|
+
$ !== "key" && (p[$] = l[$]);
|
|
220
|
+
} else p = l;
|
|
221
|
+
return g && u(
|
|
222
|
+
p,
|
|
223
|
+
typeof e == "function" ? e.displayName || e.name || "Unknown" : e
|
|
224
|
+
), b(
|
|
225
|
+
e,
|
|
226
|
+
g,
|
|
227
|
+
N,
|
|
228
|
+
j,
|
|
229
|
+
a(),
|
|
230
|
+
p,
|
|
231
|
+
A,
|
|
232
|
+
O
|
|
233
|
+
);
|
|
234
|
+
}
|
|
235
|
+
function h(e) {
|
|
236
|
+
typeof e == "object" && e !== null && e.$$typeof === R && e._store && (e._store.validated = 1);
|
|
237
|
+
}
|
|
238
|
+
var x = y, R = Symbol.for("react.transitional.element"), ee = Symbol.for("react.portal"), P = Symbol.for("react.fragment"), re = Symbol.for("react.strict_mode"), se = Symbol.for("react.profiler"), te = Symbol.for("react.consumer"), le = Symbol.for("react.context"), ae = Symbol.for("react.forward_ref"), oe = Symbol.for("react.suspense"), ie = Symbol.for("react.suspense_list"), ne = Symbol.for("react.memo"), M = Symbol.for("react.lazy"), de = Symbol.for("react.activity"), ce = Symbol.for("react.client.reference"), C = x.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, F = Object.prototype.hasOwnProperty, ue = Array.isArray, S = console.createTask ? console.createTask : function() {
|
|
239
|
+
return null;
|
|
240
|
+
};
|
|
241
|
+
x = {
|
|
242
|
+
react_stack_bottom_frame: function(e) {
|
|
243
|
+
return e();
|
|
618
244
|
}
|
|
619
|
-
}
|
|
620
|
-
|
|
621
|
-
|
|
622
|
-
|
|
623
|
-
|
|
624
|
-
|
|
625
|
-
|
|
626
|
-
|
|
627
|
-
|
|
628
|
-
|
|
245
|
+
};
|
|
246
|
+
var Y, z = {}, D = x.react_stack_bottom_frame.bind(
|
|
247
|
+
x,
|
|
248
|
+
s
|
|
249
|
+
)(), L = S(n(s)), W = {};
|
|
250
|
+
_.Fragment = P, _.jsx = function(e, l, p, m, j) {
|
|
251
|
+
var N = 1e4 > C.recentlyCreatedOwnerStacks++;
|
|
252
|
+
return f(
|
|
253
|
+
e,
|
|
254
|
+
l,
|
|
255
|
+
p,
|
|
256
|
+
!1,
|
|
257
|
+
m,
|
|
258
|
+
j,
|
|
259
|
+
N ? Error("react-stack-top-frame") : D,
|
|
260
|
+
N ? S(n(e)) : L
|
|
261
|
+
);
|
|
262
|
+
}, _.jsxs = function(e, l, p, m, j) {
|
|
263
|
+
var N = 1e4 > C.recentlyCreatedOwnerStacks++;
|
|
264
|
+
return f(
|
|
265
|
+
e,
|
|
266
|
+
l,
|
|
267
|
+
p,
|
|
268
|
+
!0,
|
|
269
|
+
m,
|
|
270
|
+
j,
|
|
271
|
+
N ? Error("react-stack-top-frame") : D,
|
|
272
|
+
N ? S(n(e)) : L
|
|
273
|
+
);
|
|
274
|
+
};
|
|
275
|
+
}()), _;
|
|
629
276
|
}
|
|
630
|
-
var
|
|
631
|
-
function
|
|
632
|
-
return
|
|
277
|
+
var G;
|
|
278
|
+
function xe() {
|
|
279
|
+
return G || (G = 1, process.env.NODE_ENV === "production" ? k.exports = pe() : k.exports = be()), k.exports;
|
|
633
280
|
}
|
|
634
|
-
var
|
|
635
|
-
const
|
|
636
|
-
var
|
|
637
|
-
((
|
|
638
|
-
|
|
281
|
+
var t = xe();
|
|
282
|
+
const v = (...r) => r.filter(Boolean).join(" ");
|
|
283
|
+
var T;
|
|
284
|
+
((r) => {
|
|
285
|
+
r.clickable = `
|
|
639
286
|
px-2
|
|
640
287
|
min-h-[calc(44/16*1rem)]
|
|
641
288
|
border
|
|
642
289
|
border-transparent
|
|
643
290
|
rounded-lg
|
|
644
291
|
hover:bg-solid-grey-50
|
|
645
|
-
`,
|
|
292
|
+
`, r.selected = `
|
|
646
293
|
rounded-full
|
|
647
294
|
bg-yellow-50
|
|
648
295
|
`;
|
|
649
|
-
const
|
|
296
|
+
const i = `
|
|
650
297
|
focus-visible:outline
|
|
651
298
|
focus-visible:outline-4
|
|
652
299
|
focus-visible:outline-black
|
|
653
300
|
focus-visible:ring-yellow-300
|
|
654
301
|
`;
|
|
655
|
-
|
|
656
|
-
${
|
|
302
|
+
r.focusRectCondensed = `
|
|
303
|
+
${i}
|
|
657
304
|
focus-visible:-outline-offset-4
|
|
658
305
|
focus-visible:ring-[calc(6/16*1rem)]
|
|
659
306
|
focus-visible:ring-inset
|
|
660
|
-
`,
|
|
661
|
-
${
|
|
307
|
+
`, r.focusRectCondensedWithBg = `
|
|
308
|
+
${r.focusRectCondensed}
|
|
662
309
|
focus-visible:bg-yellow-300
|
|
663
|
-
`,
|
|
664
|
-
${
|
|
310
|
+
`, r.focusRect = `
|
|
311
|
+
${i}
|
|
665
312
|
focus-visible:outline-offset-[calc(2/16*1rem)]
|
|
666
313
|
focus-visible:ring-[calc(2/16*1rem)]
|
|
667
|
-
`,
|
|
668
|
-
${
|
|
314
|
+
`, r.focusRounded = `
|
|
315
|
+
${r.focusRect}
|
|
669
316
|
focus-visible:rounded
|
|
670
|
-
`,
|
|
671
|
-
${
|
|
317
|
+
`, r.focusCard = `
|
|
318
|
+
${r.focusRect}
|
|
672
319
|
focus-visible:rounded-2xl
|
|
673
320
|
sm:focus-visible:rounded-3xl
|
|
674
|
-
`,
|
|
675
|
-
${
|
|
321
|
+
`, r.focusRectWithBg = `
|
|
322
|
+
${r.focusRect}
|
|
676
323
|
focus-visible:bg-yellow-300
|
|
677
|
-
`,
|
|
678
|
-
${
|
|
324
|
+
`, r.focusRoundedWithBg = `
|
|
325
|
+
${r.focusRectWithBg}
|
|
679
326
|
focus-visible:rounded
|
|
680
|
-
`,
|
|
327
|
+
`, r.hoverUnderline = `
|
|
681
328
|
hover:underline
|
|
682
329
|
hover:underline-offset-[calc(3/16*1rem)]
|
|
683
|
-
`,
|
|
330
|
+
`, r.underline = `
|
|
684
331
|
underline
|
|
685
332
|
underline-offset-[calc(3/16*1rem)]
|
|
686
333
|
hover:decoration-[calc(3/16*1rem)]
|
|
687
|
-
`,
|
|
334
|
+
`, r.underlineNoDeco = `
|
|
688
335
|
underline
|
|
689
336
|
underline-offset-[calc(3/16*1rem)]
|
|
690
|
-
`,
|
|
337
|
+
`, r.popover = `
|
|
691
338
|
min-w-fit
|
|
692
339
|
w-auto
|
|
693
340
|
py-2
|
|
@@ -697,1523 +344,43 @@ var je;
|
|
|
697
344
|
border
|
|
698
345
|
border-solid-grey-420
|
|
699
346
|
has-[>:nth-child(7)]:rounded-r-none
|
|
700
|
-
`,
|
|
347
|
+
`, r.popoverPositionBottomRight = `
|
|
701
348
|
absolute
|
|
702
349
|
top-11
|
|
703
350
|
right-0
|
|
704
|
-
`,
|
|
351
|
+
`, r.popoverPositionBottomLeft = `
|
|
705
352
|
absolute
|
|
706
353
|
top-11
|
|
707
354
|
left-0
|
|
708
|
-
`, ((
|
|
709
|
-
|
|
355
|
+
`, ((c) => {
|
|
356
|
+
c.focus = `
|
|
710
357
|
peer-focus-visible:outline
|
|
711
358
|
peer-focus-visible:outline-4
|
|
712
359
|
peer-focus-visible:outline-black
|
|
713
360
|
peer-focus-visible:ring-yellow-300
|
|
714
|
-
`,
|
|
715
|
-
${
|
|
361
|
+
`, c.focusRect = `
|
|
362
|
+
${c.focus}
|
|
716
363
|
peer-focus-visible:outline-offset-[calc(2/16*1rem)]
|
|
717
364
|
peer-focus-visible:ring-[calc(2/16*1rem)]
|
|
718
365
|
`;
|
|
719
|
-
})(
|
|
720
|
-
})(
|
|
721
|
-
|
|
722
|
-
/**
|
|
723
|
-
* @license React
|
|
724
|
-
* react.production.min.js
|
|
725
|
-
*
|
|
726
|
-
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
727
|
-
*
|
|
728
|
-
* This source code is licensed under the MIT license found in the
|
|
729
|
-
* LICENSE file in the root directory of this source tree.
|
|
730
|
-
*/
|
|
731
|
-
var Rt;
|
|
732
|
-
function tn() {
|
|
733
|
-
if (Rt) return w;
|
|
734
|
-
Rt = 1;
|
|
735
|
-
var d = Symbol.for("react.element"), c = Symbol.for("react.portal"), k = Symbol.for("react.fragment"), I = Symbol.for("react.strict_mode"), P = Symbol.for("react.profiler"), C = Symbol.for("react.provider"), v = Symbol.for("react.context"), g = Symbol.for("react.forward_ref"), p = Symbol.for("react.suspense"), D = Symbol.for("react.memo"), E = Symbol.for("react.lazy"), x = Symbol.iterator;
|
|
736
|
-
function J(n) {
|
|
737
|
-
return n === null || typeof n != "object" ? null : (n = x && n[x] || n["@@iterator"], typeof n == "function" ? n : null);
|
|
738
|
-
}
|
|
739
|
-
var L = { isMounted: function() {
|
|
740
|
-
return !1;
|
|
741
|
-
}, enqueueForceUpdate: function() {
|
|
742
|
-
}, enqueueReplaceState: function() {
|
|
743
|
-
}, enqueueSetState: function() {
|
|
744
|
-
} }, ee = Object.assign, qe = {};
|
|
745
|
-
function ce(n, s, S) {
|
|
746
|
-
this.props = n, this.context = s, this.refs = qe, this.updater = S || L;
|
|
747
|
-
}
|
|
748
|
-
ce.prototype.isReactComponent = {}, ce.prototype.setState = function(n, s) {
|
|
749
|
-
if (typeof n != "object" && typeof n != "function" && n != null) throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");
|
|
750
|
-
this.updater.enqueueSetState(this, n, s, "setState");
|
|
751
|
-
}, ce.prototype.forceUpdate = function(n) {
|
|
752
|
-
this.updater.enqueueForceUpdate(this, n, "forceUpdate");
|
|
753
|
-
};
|
|
754
|
-
function fe() {
|
|
755
|
-
}
|
|
756
|
-
fe.prototype = ce.prototype;
|
|
757
|
-
function Y(n, s, S) {
|
|
758
|
-
this.props = n, this.context = s, this.refs = qe, this.updater = S || L;
|
|
759
|
-
}
|
|
760
|
-
var xe = Y.prototype = new fe();
|
|
761
|
-
xe.constructor = Y, ee(xe, ce.prototype), xe.isPureReactComponent = !0;
|
|
762
|
-
var de = Array.isArray, X = Object.prototype.hasOwnProperty, ie = { current: null }, ye = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
763
|
-
function he(n, s, S) {
|
|
764
|
-
var O, $ = {}, U = null, q = null;
|
|
765
|
-
if (s != null) for (O in s.ref !== void 0 && (q = s.ref), s.key !== void 0 && (U = "" + s.key), s) X.call(s, O) && !ye.hasOwnProperty(O) && ($[O] = s[O]);
|
|
766
|
-
var M = arguments.length - 2;
|
|
767
|
-
if (M === 1) $.children = S;
|
|
768
|
-
else if (1 < M) {
|
|
769
|
-
for (var F = Array(M), Z = 0; Z < M; Z++) F[Z] = arguments[Z + 2];
|
|
770
|
-
$.children = F;
|
|
771
|
-
}
|
|
772
|
-
if (n && n.defaultProps) for (O in M = n.defaultProps, M) $[O] === void 0 && ($[O] = M[O]);
|
|
773
|
-
return { $$typeof: d, type: n, key: U, ref: q, props: $, _owner: ie.current };
|
|
774
|
-
}
|
|
775
|
-
function Oe(n, s) {
|
|
776
|
-
return { $$typeof: d, type: n.type, key: s, ref: n.ref, props: n.props, _owner: n._owner };
|
|
777
|
-
}
|
|
778
|
-
function Pe(n) {
|
|
779
|
-
return typeof n == "object" && n !== null && n.$$typeof === d;
|
|
780
|
-
}
|
|
781
|
-
function Ge(n) {
|
|
782
|
-
var s = { "=": "=0", ":": "=2" };
|
|
783
|
-
return "$" + n.replace(/[=:]/g, function(S) {
|
|
784
|
-
return s[S];
|
|
785
|
-
});
|
|
786
|
-
}
|
|
787
|
-
var Te = /\/+/g;
|
|
788
|
-
function oe(n, s) {
|
|
789
|
-
return typeof n == "object" && n !== null && n.key != null ? Ge("" + n.key) : s.toString(36);
|
|
790
|
-
}
|
|
791
|
-
function se(n, s, S, O, $) {
|
|
792
|
-
var U = typeof n;
|
|
793
|
-
(U === "undefined" || U === "boolean") && (n = null);
|
|
794
|
-
var q = !1;
|
|
795
|
-
if (n === null) q = !0;
|
|
796
|
-
else switch (U) {
|
|
797
|
-
case "string":
|
|
798
|
-
case "number":
|
|
799
|
-
q = !0;
|
|
800
|
-
break;
|
|
801
|
-
case "object":
|
|
802
|
-
switch (n.$$typeof) {
|
|
803
|
-
case d:
|
|
804
|
-
case c:
|
|
805
|
-
q = !0;
|
|
806
|
-
}
|
|
807
|
-
}
|
|
808
|
-
if (q) return q = n, $ = $(q), n = O === "" ? "." + oe(q, 0) : O, de($) ? (S = "", n != null && (S = n.replace(Te, "$&/") + "/"), se($, s, S, "", function(Z) {
|
|
809
|
-
return Z;
|
|
810
|
-
})) : $ != null && (Pe($) && ($ = Oe($, S + (!$.key || q && q.key === $.key ? "" : ("" + $.key).replace(Te, "$&/") + "/") + n)), s.push($)), 1;
|
|
811
|
-
if (q = 0, O = O === "" ? "." : O + ":", de(n)) for (var M = 0; M < n.length; M++) {
|
|
812
|
-
U = n[M];
|
|
813
|
-
var F = O + oe(U, M);
|
|
814
|
-
q += se(U, s, S, F, $);
|
|
815
|
-
}
|
|
816
|
-
else if (F = J(n), typeof F == "function") for (n = F.call(n), M = 0; !(U = n.next()).done; ) U = U.value, F = O + oe(U, M++), q += se(U, s, S, F, $);
|
|
817
|
-
else if (U === "object") throw s = String(n), Error("Objects are not valid as a React child (found: " + (s === "[object Object]" ? "object with keys {" + Object.keys(n).join(", ") + "}" : s) + "). If you meant to render a collection of children, use an array instead.");
|
|
818
|
-
return q;
|
|
819
|
-
}
|
|
820
|
-
function re(n, s, S) {
|
|
821
|
-
if (n == null) return n;
|
|
822
|
-
var O = [], $ = 0;
|
|
823
|
-
return se(n, O, "", "", function(U) {
|
|
824
|
-
return s.call(S, U, $++);
|
|
825
|
-
}), O;
|
|
826
|
-
}
|
|
827
|
-
function pe(n) {
|
|
828
|
-
if (n._status === -1) {
|
|
829
|
-
var s = n._result;
|
|
830
|
-
s = s(), s.then(function(S) {
|
|
831
|
-
(n._status === 0 || n._status === -1) && (n._status = 1, n._result = S);
|
|
832
|
-
}, function(S) {
|
|
833
|
-
(n._status === 0 || n._status === -1) && (n._status = 2, n._result = S);
|
|
834
|
-
}), n._status === -1 && (n._status = 0, n._result = s);
|
|
835
|
-
}
|
|
836
|
-
if (n._status === 1) return n._result.default;
|
|
837
|
-
throw n._result;
|
|
838
|
-
}
|
|
839
|
-
var y = { current: null }, ve = { transition: null }, Ie = { ReactCurrentDispatcher: y, ReactCurrentBatchConfig: ve, ReactCurrentOwner: ie };
|
|
840
|
-
function be() {
|
|
841
|
-
throw Error("act(...) is not supported in production builds of React.");
|
|
842
|
-
}
|
|
843
|
-
return w.Children = { map: re, forEach: function(n, s, S) {
|
|
844
|
-
re(n, function() {
|
|
845
|
-
s.apply(this, arguments);
|
|
846
|
-
}, S);
|
|
847
|
-
}, count: function(n) {
|
|
848
|
-
var s = 0;
|
|
849
|
-
return re(n, function() {
|
|
850
|
-
s++;
|
|
851
|
-
}), s;
|
|
852
|
-
}, toArray: function(n) {
|
|
853
|
-
return re(n, function(s) {
|
|
854
|
-
return s;
|
|
855
|
-
}) || [];
|
|
856
|
-
}, only: function(n) {
|
|
857
|
-
if (!Pe(n)) throw Error("React.Children.only expected to receive a single React element child.");
|
|
858
|
-
return n;
|
|
859
|
-
} }, w.Component = ce, w.Fragment = k, w.Profiler = P, w.PureComponent = Y, w.StrictMode = I, w.Suspense = p, w.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED = Ie, w.act = be, w.cloneElement = function(n, s, S) {
|
|
860
|
-
if (n == null) throw Error("React.cloneElement(...): The argument must be a React element, but you passed " + n + ".");
|
|
861
|
-
var O = ee({}, n.props), $ = n.key, U = n.ref, q = n._owner;
|
|
862
|
-
if (s != null) {
|
|
863
|
-
if (s.ref !== void 0 && (U = s.ref, q = ie.current), s.key !== void 0 && ($ = "" + s.key), n.type && n.type.defaultProps) var M = n.type.defaultProps;
|
|
864
|
-
for (F in s) X.call(s, F) && !ye.hasOwnProperty(F) && (O[F] = s[F] === void 0 && M !== void 0 ? M[F] : s[F]);
|
|
865
|
-
}
|
|
866
|
-
var F = arguments.length - 2;
|
|
867
|
-
if (F === 1) O.children = S;
|
|
868
|
-
else if (1 < F) {
|
|
869
|
-
M = Array(F);
|
|
870
|
-
for (var Z = 0; Z < F; Z++) M[Z] = arguments[Z + 2];
|
|
871
|
-
O.children = M;
|
|
872
|
-
}
|
|
873
|
-
return { $$typeof: d, type: n.type, key: $, ref: U, props: O, _owner: q };
|
|
874
|
-
}, w.createContext = function(n) {
|
|
875
|
-
return n = { $$typeof: v, _currentValue: n, _currentValue2: n, _threadCount: 0, Provider: null, Consumer: null, _defaultValue: null, _globalName: null }, n.Provider = { $$typeof: C, _context: n }, n.Consumer = n;
|
|
876
|
-
}, w.createElement = he, w.createFactory = function(n) {
|
|
877
|
-
var s = he.bind(null, n);
|
|
878
|
-
return s.type = n, s;
|
|
879
|
-
}, w.createRef = function() {
|
|
880
|
-
return { current: null };
|
|
881
|
-
}, w.forwardRef = function(n) {
|
|
882
|
-
return { $$typeof: g, render: n };
|
|
883
|
-
}, w.isValidElement = Pe, w.lazy = function(n) {
|
|
884
|
-
return { $$typeof: E, _payload: { _status: -1, _result: n }, _init: pe };
|
|
885
|
-
}, w.memo = function(n, s) {
|
|
886
|
-
return { $$typeof: D, type: n, compare: s === void 0 ? null : s };
|
|
887
|
-
}, w.startTransition = function(n) {
|
|
888
|
-
var s = ve.transition;
|
|
889
|
-
ve.transition = {};
|
|
890
|
-
try {
|
|
891
|
-
n();
|
|
892
|
-
} finally {
|
|
893
|
-
ve.transition = s;
|
|
894
|
-
}
|
|
895
|
-
}, w.unstable_act = be, w.useCallback = function(n, s) {
|
|
896
|
-
return y.current.useCallback(n, s);
|
|
897
|
-
}, w.useContext = function(n) {
|
|
898
|
-
return y.current.useContext(n);
|
|
899
|
-
}, w.useDebugValue = function() {
|
|
900
|
-
}, w.useDeferredValue = function(n) {
|
|
901
|
-
return y.current.useDeferredValue(n);
|
|
902
|
-
}, w.useEffect = function(n, s) {
|
|
903
|
-
return y.current.useEffect(n, s);
|
|
904
|
-
}, w.useId = function() {
|
|
905
|
-
return y.current.useId();
|
|
906
|
-
}, w.useImperativeHandle = function(n, s, S) {
|
|
907
|
-
return y.current.useImperativeHandle(n, s, S);
|
|
908
|
-
}, w.useInsertionEffect = function(n, s) {
|
|
909
|
-
return y.current.useInsertionEffect(n, s);
|
|
910
|
-
}, w.useLayoutEffect = function(n, s) {
|
|
911
|
-
return y.current.useLayoutEffect(n, s);
|
|
912
|
-
}, w.useMemo = function(n, s) {
|
|
913
|
-
return y.current.useMemo(n, s);
|
|
914
|
-
}, w.useReducer = function(n, s, S) {
|
|
915
|
-
return y.current.useReducer(n, s, S);
|
|
916
|
-
}, w.useRef = function(n) {
|
|
917
|
-
return y.current.useRef(n);
|
|
918
|
-
}, w.useState = function(n) {
|
|
919
|
-
return y.current.useState(n);
|
|
920
|
-
}, w.useSyncExternalStore = function(n, s, S) {
|
|
921
|
-
return y.current.useSyncExternalStore(n, s, S);
|
|
922
|
-
}, w.useTransition = function() {
|
|
923
|
-
return y.current.useTransition();
|
|
924
|
-
}, w.version = "18.3.1", w;
|
|
925
|
-
}
|
|
926
|
-
var wr = { exports: {} };
|
|
927
|
-
/**
|
|
928
|
-
* @license React
|
|
929
|
-
* react.development.js
|
|
930
|
-
*
|
|
931
|
-
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
932
|
-
*
|
|
933
|
-
* This source code is licensed under the MIT license found in the
|
|
934
|
-
* LICENSE file in the root directory of this source tree.
|
|
935
|
-
*/
|
|
936
|
-
wr.exports;
|
|
937
|
-
var wt;
|
|
938
|
-
function nn() {
|
|
939
|
-
return wt || (wt = 1, function(d, c) {
|
|
940
|
-
process.env.NODE_ENV !== "production" && function() {
|
|
941
|
-
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error());
|
|
942
|
-
var k = "18.3.1", I = Symbol.for("react.element"), P = Symbol.for("react.portal"), C = Symbol.for("react.fragment"), v = Symbol.for("react.strict_mode"), g = Symbol.for("react.profiler"), p = Symbol.for("react.provider"), D = Symbol.for("react.context"), E = Symbol.for("react.forward_ref"), x = Symbol.for("react.suspense"), J = Symbol.for("react.suspense_list"), L = Symbol.for("react.memo"), ee = Symbol.for("react.lazy"), qe = Symbol.for("react.offscreen"), ce = Symbol.iterator, fe = "@@iterator";
|
|
943
|
-
function Y(e) {
|
|
944
|
-
if (e === null || typeof e != "object")
|
|
945
|
-
return null;
|
|
946
|
-
var r = ce && e[ce] || e[fe];
|
|
947
|
-
return typeof r == "function" ? r : null;
|
|
948
|
-
}
|
|
949
|
-
var xe = {
|
|
950
|
-
/**
|
|
951
|
-
* @internal
|
|
952
|
-
* @type {ReactComponent}
|
|
953
|
-
*/
|
|
954
|
-
current: null
|
|
955
|
-
}, de = {
|
|
956
|
-
transition: null
|
|
957
|
-
}, X = {
|
|
958
|
-
current: null,
|
|
959
|
-
// Used to reproduce behavior of `batchedUpdates` in legacy mode.
|
|
960
|
-
isBatchingLegacy: !1,
|
|
961
|
-
didScheduleLegacyUpdate: !1
|
|
962
|
-
}, ie = {
|
|
963
|
-
/**
|
|
964
|
-
* @internal
|
|
965
|
-
* @type {ReactComponent}
|
|
966
|
-
*/
|
|
967
|
-
current: null
|
|
968
|
-
}, ye = {}, he = null;
|
|
969
|
-
function Oe(e) {
|
|
970
|
-
he = e;
|
|
971
|
-
}
|
|
972
|
-
ye.setExtraStackFrame = function(e) {
|
|
973
|
-
he = e;
|
|
974
|
-
}, ye.getCurrentStack = null, ye.getStackAddendum = function() {
|
|
975
|
-
var e = "";
|
|
976
|
-
he && (e += he);
|
|
977
|
-
var r = ye.getCurrentStack;
|
|
978
|
-
return r && (e += r() || ""), e;
|
|
979
|
-
};
|
|
980
|
-
var Pe = !1, Ge = !1, Te = !1, oe = !1, se = !1, re = {
|
|
981
|
-
ReactCurrentDispatcher: xe,
|
|
982
|
-
ReactCurrentBatchConfig: de,
|
|
983
|
-
ReactCurrentOwner: ie
|
|
984
|
-
};
|
|
985
|
-
re.ReactDebugCurrentFrame = ye, re.ReactCurrentActQueue = X;
|
|
986
|
-
function pe(e) {
|
|
987
|
-
{
|
|
988
|
-
for (var r = arguments.length, o = new Array(r > 1 ? r - 1 : 0), a = 1; a < r; a++)
|
|
989
|
-
o[a - 1] = arguments[a];
|
|
990
|
-
ve("warn", e, o);
|
|
991
|
-
}
|
|
992
|
-
}
|
|
993
|
-
function y(e) {
|
|
994
|
-
{
|
|
995
|
-
for (var r = arguments.length, o = new Array(r > 1 ? r - 1 : 0), a = 1; a < r; a++)
|
|
996
|
-
o[a - 1] = arguments[a];
|
|
997
|
-
ve("error", e, o);
|
|
998
|
-
}
|
|
999
|
-
}
|
|
1000
|
-
function ve(e, r, o) {
|
|
1001
|
-
{
|
|
1002
|
-
var a = re.ReactDebugCurrentFrame, l = a.getStackAddendum();
|
|
1003
|
-
l !== "" && (r += "%s", o = o.concat([l]));
|
|
1004
|
-
var h = o.map(function(f) {
|
|
1005
|
-
return String(f);
|
|
1006
|
-
});
|
|
1007
|
-
h.unshift("Warning: " + r), Function.prototype.apply.call(console[e], console, h);
|
|
1008
|
-
}
|
|
1009
|
-
}
|
|
1010
|
-
var Ie = {};
|
|
1011
|
-
function be(e, r) {
|
|
1012
|
-
{
|
|
1013
|
-
var o = e.constructor, a = o && (o.displayName || o.name) || "ReactClass", l = a + "." + r;
|
|
1014
|
-
if (Ie[l])
|
|
1015
|
-
return;
|
|
1016
|
-
y("Can't call %s on a component that is not yet mounted. This is a no-op, but it might indicate a bug in your application. Instead, assign to `this.state` directly or define a `state = {};` class property with the desired state in the %s component.", r, a), Ie[l] = !0;
|
|
1017
|
-
}
|
|
1018
|
-
}
|
|
1019
|
-
var n = {
|
|
1020
|
-
/**
|
|
1021
|
-
* Checks whether or not this composite component is mounted.
|
|
1022
|
-
* @param {ReactClass} publicInstance The instance we want to test.
|
|
1023
|
-
* @return {boolean} True if mounted, false otherwise.
|
|
1024
|
-
* @protected
|
|
1025
|
-
* @final
|
|
1026
|
-
*/
|
|
1027
|
-
isMounted: function(e) {
|
|
1028
|
-
return !1;
|
|
1029
|
-
},
|
|
1030
|
-
/**
|
|
1031
|
-
* Forces an update. This should only be invoked when it is known with
|
|
1032
|
-
* certainty that we are **not** in a DOM transaction.
|
|
1033
|
-
*
|
|
1034
|
-
* You may want to call this when you know that some deeper aspect of the
|
|
1035
|
-
* component's state has changed but `setState` was not called.
|
|
1036
|
-
*
|
|
1037
|
-
* This will not invoke `shouldComponentUpdate`, but it will invoke
|
|
1038
|
-
* `componentWillUpdate` and `componentDidUpdate`.
|
|
1039
|
-
*
|
|
1040
|
-
* @param {ReactClass} publicInstance The instance that should rerender.
|
|
1041
|
-
* @param {?function} callback Called after component is updated.
|
|
1042
|
-
* @param {?string} callerName name of the calling function in the public API.
|
|
1043
|
-
* @internal
|
|
1044
|
-
*/
|
|
1045
|
-
enqueueForceUpdate: function(e, r, o) {
|
|
1046
|
-
be(e, "forceUpdate");
|
|
1047
|
-
},
|
|
1048
|
-
/**
|
|
1049
|
-
* Replaces all of the state. Always use this or `setState` to mutate state.
|
|
1050
|
-
* You should treat `this.state` as immutable.
|
|
1051
|
-
*
|
|
1052
|
-
* There is no guarantee that `this.state` will be immediately updated, so
|
|
1053
|
-
* accessing `this.state` after calling this method may return the old value.
|
|
1054
|
-
*
|
|
1055
|
-
* @param {ReactClass} publicInstance The instance that should rerender.
|
|
1056
|
-
* @param {object} completeState Next state.
|
|
1057
|
-
* @param {?function} callback Called after component is updated.
|
|
1058
|
-
* @param {?string} callerName name of the calling function in the public API.
|
|
1059
|
-
* @internal
|
|
1060
|
-
*/
|
|
1061
|
-
enqueueReplaceState: function(e, r, o, a) {
|
|
1062
|
-
be(e, "replaceState");
|
|
1063
|
-
},
|
|
1064
|
-
/**
|
|
1065
|
-
* Sets a subset of the state. This only exists because _pendingState is
|
|
1066
|
-
* internal. This provides a merging strategy that is not available to deep
|
|
1067
|
-
* properties which is confusing. TODO: Expose pendingState or don't use it
|
|
1068
|
-
* during the merge.
|
|
1069
|
-
*
|
|
1070
|
-
* @param {ReactClass} publicInstance The instance that should rerender.
|
|
1071
|
-
* @param {object} partialState Next partial state to be merged with state.
|
|
1072
|
-
* @param {?function} callback Called after component is updated.
|
|
1073
|
-
* @param {?string} Name of the calling function in the public API.
|
|
1074
|
-
* @internal
|
|
1075
|
-
*/
|
|
1076
|
-
enqueueSetState: function(e, r, o, a) {
|
|
1077
|
-
be(e, "setState");
|
|
1078
|
-
}
|
|
1079
|
-
}, s = Object.assign, S = {};
|
|
1080
|
-
Object.freeze(S);
|
|
1081
|
-
function O(e, r, o) {
|
|
1082
|
-
this.props = e, this.context = r, this.refs = S, this.updater = o || n;
|
|
1083
|
-
}
|
|
1084
|
-
O.prototype.isReactComponent = {}, O.prototype.setState = function(e, r) {
|
|
1085
|
-
if (typeof e != "object" && typeof e != "function" && e != null)
|
|
1086
|
-
throw new Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");
|
|
1087
|
-
this.updater.enqueueSetState(this, e, r, "setState");
|
|
1088
|
-
}, O.prototype.forceUpdate = function(e) {
|
|
1089
|
-
this.updater.enqueueForceUpdate(this, e, "forceUpdate");
|
|
1090
|
-
};
|
|
1091
|
-
{
|
|
1092
|
-
var $ = {
|
|
1093
|
-
isMounted: ["isMounted", "Instead, make sure to clean up subscriptions and pending requests in componentWillUnmount to prevent memory leaks."],
|
|
1094
|
-
replaceState: ["replaceState", "Refactor your code to use setState instead (see https://github.com/facebook/react/issues/3236)."]
|
|
1095
|
-
}, U = function(e, r) {
|
|
1096
|
-
Object.defineProperty(O.prototype, e, {
|
|
1097
|
-
get: function() {
|
|
1098
|
-
pe("%s(...) is deprecated in plain JavaScript React classes. %s", r[0], r[1]);
|
|
1099
|
-
}
|
|
1100
|
-
});
|
|
1101
|
-
};
|
|
1102
|
-
for (var q in $)
|
|
1103
|
-
$.hasOwnProperty(q) && U(q, $[q]);
|
|
1104
|
-
}
|
|
1105
|
-
function M() {
|
|
1106
|
-
}
|
|
1107
|
-
M.prototype = O.prototype;
|
|
1108
|
-
function F(e, r, o) {
|
|
1109
|
-
this.props = e, this.context = r, this.refs = S, this.updater = o || n;
|
|
1110
|
-
}
|
|
1111
|
-
var Z = F.prototype = new M();
|
|
1112
|
-
Z.constructor = F, s(Z, O.prototype), Z.isPureReactComponent = !0;
|
|
1113
|
-
function Er() {
|
|
1114
|
-
var e = {
|
|
1115
|
-
current: null
|
|
1116
|
-
};
|
|
1117
|
-
return Object.seal(e), e;
|
|
1118
|
-
}
|
|
1119
|
-
var tr = Array.isArray;
|
|
1120
|
-
function Ve(e) {
|
|
1121
|
-
return tr(e);
|
|
1122
|
-
}
|
|
1123
|
-
function Sr(e) {
|
|
1124
|
-
{
|
|
1125
|
-
var r = typeof Symbol == "function" && Symbol.toStringTag, o = r && e[Symbol.toStringTag] || e.constructor.name || "Object";
|
|
1126
|
-
return o;
|
|
1127
|
-
}
|
|
1128
|
-
}
|
|
1129
|
-
function Ue(e) {
|
|
1130
|
-
try {
|
|
1131
|
-
return Re(e), !1;
|
|
1132
|
-
} catch {
|
|
1133
|
-
return !0;
|
|
1134
|
-
}
|
|
1135
|
-
}
|
|
1136
|
-
function Re(e) {
|
|
1137
|
-
return "" + e;
|
|
1138
|
-
}
|
|
1139
|
-
function $e(e) {
|
|
1140
|
-
if (Ue(e))
|
|
1141
|
-
return y("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", Sr(e)), Re(e);
|
|
1142
|
-
}
|
|
1143
|
-
function nr(e, r, o) {
|
|
1144
|
-
var a = e.displayName;
|
|
1145
|
-
if (a)
|
|
1146
|
-
return a;
|
|
1147
|
-
var l = r.displayName || r.name || "";
|
|
1148
|
-
return l !== "" ? o + "(" + l + ")" : o;
|
|
1149
|
-
}
|
|
1150
|
-
function Ne(e) {
|
|
1151
|
-
return e.displayName || "Context";
|
|
1152
|
-
}
|
|
1153
|
-
function me(e) {
|
|
1154
|
-
if (e == null)
|
|
1155
|
-
return null;
|
|
1156
|
-
if (typeof e.tag == "number" && y("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof e == "function")
|
|
1157
|
-
return e.displayName || e.name || null;
|
|
1158
|
-
if (typeof e == "string")
|
|
1159
|
-
return e;
|
|
1160
|
-
switch (e) {
|
|
1161
|
-
case C:
|
|
1162
|
-
return "Fragment";
|
|
1163
|
-
case P:
|
|
1164
|
-
return "Portal";
|
|
1165
|
-
case g:
|
|
1166
|
-
return "Profiler";
|
|
1167
|
-
case v:
|
|
1168
|
-
return "StrictMode";
|
|
1169
|
-
case x:
|
|
1170
|
-
return "Suspense";
|
|
1171
|
-
case J:
|
|
1172
|
-
return "SuspenseList";
|
|
1173
|
-
}
|
|
1174
|
-
if (typeof e == "object")
|
|
1175
|
-
switch (e.$$typeof) {
|
|
1176
|
-
case D:
|
|
1177
|
-
var r = e;
|
|
1178
|
-
return Ne(r) + ".Consumer";
|
|
1179
|
-
case p:
|
|
1180
|
-
var o = e;
|
|
1181
|
-
return Ne(o._context) + ".Provider";
|
|
1182
|
-
case E:
|
|
1183
|
-
return nr(e, e.render, "ForwardRef");
|
|
1184
|
-
case L:
|
|
1185
|
-
var a = e.displayName || null;
|
|
1186
|
-
return a !== null ? a : me(e.type) || "Memo";
|
|
1187
|
-
case ee: {
|
|
1188
|
-
var l = e, h = l._payload, f = l._init;
|
|
1189
|
-
try {
|
|
1190
|
-
return me(f(h));
|
|
1191
|
-
} catch {
|
|
1192
|
-
return null;
|
|
1193
|
-
}
|
|
1194
|
-
}
|
|
1195
|
-
}
|
|
1196
|
-
return null;
|
|
1197
|
-
}
|
|
1198
|
-
var De = Object.prototype.hasOwnProperty, We = {
|
|
1199
|
-
key: !0,
|
|
1200
|
-
ref: !0,
|
|
1201
|
-
__self: !0,
|
|
1202
|
-
__source: !0
|
|
1203
|
-
}, or, ar, ze;
|
|
1204
|
-
ze = {};
|
|
1205
|
-
function Je(e) {
|
|
1206
|
-
if (De.call(e, "ref")) {
|
|
1207
|
-
var r = Object.getOwnPropertyDescriptor(e, "ref").get;
|
|
1208
|
-
if (r && r.isReactWarning)
|
|
1209
|
-
return !1;
|
|
1210
|
-
}
|
|
1211
|
-
return e.ref !== void 0;
|
|
1212
|
-
}
|
|
1213
|
-
function we(e) {
|
|
1214
|
-
if (De.call(e, "key")) {
|
|
1215
|
-
var r = Object.getOwnPropertyDescriptor(e, "key").get;
|
|
1216
|
-
if (r && r.isReactWarning)
|
|
1217
|
-
return !1;
|
|
1218
|
-
}
|
|
1219
|
-
return e.key !== void 0;
|
|
1220
|
-
}
|
|
1221
|
-
function Cr(e, r) {
|
|
1222
|
-
var o = function() {
|
|
1223
|
-
or || (or = !0, y("%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));
|
|
1224
|
-
};
|
|
1225
|
-
o.isReactWarning = !0, Object.defineProperty(e, "key", {
|
|
1226
|
-
get: o,
|
|
1227
|
-
configurable: !0
|
|
1228
|
-
});
|
|
1229
|
-
}
|
|
1230
|
-
function ir(e, r) {
|
|
1231
|
-
var o = function() {
|
|
1232
|
-
ar || (ar = !0, y("%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));
|
|
1233
|
-
};
|
|
1234
|
-
o.isReactWarning = !0, Object.defineProperty(e, "ref", {
|
|
1235
|
-
get: o,
|
|
1236
|
-
configurable: !0
|
|
1237
|
-
});
|
|
1238
|
-
}
|
|
1239
|
-
function sr(e) {
|
|
1240
|
-
if (typeof e.ref == "string" && ie.current && e.__self && ie.current.stateNode !== e.__self) {
|
|
1241
|
-
var r = me(ie.current.type);
|
|
1242
|
-
ze[r] || (y('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', r, e.ref), ze[r] = !0);
|
|
1243
|
-
}
|
|
1244
|
-
}
|
|
1245
|
-
var Fe = function(e, r, o, a, l, h, f) {
|
|
1246
|
-
var _ = {
|
|
1247
|
-
// This tag allows us to uniquely identify this as a React Element
|
|
1248
|
-
$$typeof: I,
|
|
1249
|
-
// Built-in properties that belong on the element
|
|
1250
|
-
type: e,
|
|
1251
|
-
key: r,
|
|
1252
|
-
ref: o,
|
|
1253
|
-
props: f,
|
|
1254
|
-
// Record the component responsible for creating this element.
|
|
1255
|
-
_owner: h
|
|
1256
|
-
};
|
|
1257
|
-
return _._store = {}, Object.defineProperty(_._store, "validated", {
|
|
1258
|
-
configurable: !1,
|
|
1259
|
-
enumerable: !1,
|
|
1260
|
-
writable: !0,
|
|
1261
|
-
value: !1
|
|
1262
|
-
}), Object.defineProperty(_, "_self", {
|
|
1263
|
-
configurable: !1,
|
|
1264
|
-
enumerable: !1,
|
|
1265
|
-
writable: !1,
|
|
1266
|
-
value: a
|
|
1267
|
-
}), Object.defineProperty(_, "_source", {
|
|
1268
|
-
configurable: !1,
|
|
1269
|
-
enumerable: !1,
|
|
1270
|
-
writable: !1,
|
|
1271
|
-
value: l
|
|
1272
|
-
}), Object.freeze && (Object.freeze(_.props), Object.freeze(_)), _;
|
|
1273
|
-
};
|
|
1274
|
-
function jr(e, r, o) {
|
|
1275
|
-
var a, l = {}, h = null, f = null, _ = null, T = null;
|
|
1276
|
-
if (r != null) {
|
|
1277
|
-
Je(r) && (f = r.ref, sr(r)), we(r) && ($e(r.key), h = "" + r.key), _ = r.__self === void 0 ? null : r.__self, T = r.__source === void 0 ? null : r.__source;
|
|
1278
|
-
for (a in r)
|
|
1279
|
-
De.call(r, a) && !We.hasOwnProperty(a) && (l[a] = r[a]);
|
|
1280
|
-
}
|
|
1281
|
-
var V = arguments.length - 2;
|
|
1282
|
-
if (V === 1)
|
|
1283
|
-
l.children = o;
|
|
1284
|
-
else if (V > 1) {
|
|
1285
|
-
for (var W = Array(V), z = 0; z < V; z++)
|
|
1286
|
-
W[z] = arguments[z + 2];
|
|
1287
|
-
Object.freeze && Object.freeze(W), l.children = W;
|
|
1288
|
-
}
|
|
1289
|
-
if (e && e.defaultProps) {
|
|
1290
|
-
var G = e.defaultProps;
|
|
1291
|
-
for (a in G)
|
|
1292
|
-
l[a] === void 0 && (l[a] = G[a]);
|
|
1293
|
-
}
|
|
1294
|
-
if (h || f) {
|
|
1295
|
-
var Q = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
|
|
1296
|
-
h && Cr(l, Q), f && ir(l, Q);
|
|
1297
|
-
}
|
|
1298
|
-
return Fe(e, h, f, _, T, ie.current, l);
|
|
1299
|
-
}
|
|
1300
|
-
function kr(e, r) {
|
|
1301
|
-
var o = Fe(e.type, r, e.ref, e._self, e._source, e._owner, e.props);
|
|
1302
|
-
return o;
|
|
1303
|
-
}
|
|
1304
|
-
function Or(e, r, o) {
|
|
1305
|
-
if (e == null)
|
|
1306
|
-
throw new Error("React.cloneElement(...): The argument must be a React element, but you passed " + e + ".");
|
|
1307
|
-
var a, l = s({}, e.props), h = e.key, f = e.ref, _ = e._self, T = e._source, V = e._owner;
|
|
1308
|
-
if (r != null) {
|
|
1309
|
-
Je(r) && (f = r.ref, V = ie.current), we(r) && ($e(r.key), h = "" + r.key);
|
|
1310
|
-
var W;
|
|
1311
|
-
e.type && e.type.defaultProps && (W = e.type.defaultProps);
|
|
1312
|
-
for (a in r)
|
|
1313
|
-
De.call(r, a) && !We.hasOwnProperty(a) && (r[a] === void 0 && W !== void 0 ? l[a] = W[a] : l[a] = r[a]);
|
|
1314
|
-
}
|
|
1315
|
-
var z = arguments.length - 2;
|
|
1316
|
-
if (z === 1)
|
|
1317
|
-
l.children = o;
|
|
1318
|
-
else if (z > 1) {
|
|
1319
|
-
for (var G = Array(z), Q = 0; Q < z; Q++)
|
|
1320
|
-
G[Q] = arguments[Q + 2];
|
|
1321
|
-
l.children = G;
|
|
1322
|
-
}
|
|
1323
|
-
return Fe(e.type, h, f, _, T, V, l);
|
|
1324
|
-
}
|
|
1325
|
-
function Ee(e) {
|
|
1326
|
-
return typeof e == "object" && e !== null && e.$$typeof === I;
|
|
1327
|
-
}
|
|
1328
|
-
var ur = ".", Pr = ":";
|
|
1329
|
-
function Tr(e) {
|
|
1330
|
-
var r = /[=:]/g, o = {
|
|
1331
|
-
"=": "=0",
|
|
1332
|
-
":": "=2"
|
|
1333
|
-
}, a = e.replace(r, function(l) {
|
|
1334
|
-
return o[l];
|
|
1335
|
-
});
|
|
1336
|
-
return "$" + a;
|
|
1337
|
-
}
|
|
1338
|
-
var Be = !1, lr = /\/+/g;
|
|
1339
|
-
function ge(e) {
|
|
1340
|
-
return e.replace(lr, "$&/");
|
|
1341
|
-
}
|
|
1342
|
-
function Ae(e, r) {
|
|
1343
|
-
return typeof e == "object" && e !== null && e.key != null ? ($e(e.key), Tr("" + e.key)) : r.toString(36);
|
|
1344
|
-
}
|
|
1345
|
-
function Se(e, r, o, a, l) {
|
|
1346
|
-
var h = typeof e;
|
|
1347
|
-
(h === "undefined" || h === "boolean") && (e = null);
|
|
1348
|
-
var f = !1;
|
|
1349
|
-
if (e === null)
|
|
1350
|
-
f = !0;
|
|
1351
|
-
else
|
|
1352
|
-
switch (h) {
|
|
1353
|
-
case "string":
|
|
1354
|
-
case "number":
|
|
1355
|
-
f = !0;
|
|
1356
|
-
break;
|
|
1357
|
-
case "object":
|
|
1358
|
-
switch (e.$$typeof) {
|
|
1359
|
-
case I:
|
|
1360
|
-
case P:
|
|
1361
|
-
f = !0;
|
|
1362
|
-
}
|
|
1363
|
-
}
|
|
1364
|
-
if (f) {
|
|
1365
|
-
var _ = e, T = l(_), V = a === "" ? ur + Ae(_, 0) : a;
|
|
1366
|
-
if (Ve(T)) {
|
|
1367
|
-
var W = "";
|
|
1368
|
-
V != null && (W = ge(V) + "/"), Se(T, r, W, "", function(Zt) {
|
|
1369
|
-
return Zt;
|
|
1370
|
-
});
|
|
1371
|
-
} else T != null && (Ee(T) && (T.key && (!_ || _.key !== T.key) && $e(T.key), T = kr(
|
|
1372
|
-
T,
|
|
1373
|
-
// Keep both the (mapped) and old keys if they differ, just as
|
|
1374
|
-
// traverseAllChildren used to do for objects as children
|
|
1375
|
-
o + // $FlowFixMe Flow incorrectly thinks React.Portal doesn't have a key
|
|
1376
|
-
(T.key && (!_ || _.key !== T.key) ? (
|
|
1377
|
-
// $FlowFixMe Flow incorrectly thinks existing element's key can be a number
|
|
1378
|
-
// eslint-disable-next-line react-internal/safe-string-coercion
|
|
1379
|
-
ge("" + T.key) + "/"
|
|
1380
|
-
) : "") + V
|
|
1381
|
-
)), r.push(T));
|
|
1382
|
-
return 1;
|
|
1383
|
-
}
|
|
1384
|
-
var z, G, Q = 0, ne = a === "" ? ur : a + Pr;
|
|
1385
|
-
if (Ve(e))
|
|
1386
|
-
for (var xr = 0; xr < e.length; xr++)
|
|
1387
|
-
z = e[xr], G = ne + Ae(z, xr), Q += Se(z, r, o, G, l);
|
|
1388
|
-
else {
|
|
1389
|
-
var Yr = Y(e);
|
|
1390
|
-
if (typeof Yr == "function") {
|
|
1391
|
-
var mt = e;
|
|
1392
|
-
Yr === mt.entries && (Be || pe("Using Maps as children is not supported. Use an array of keyed ReactElements instead."), Be = !0);
|
|
1393
|
-
for (var Kt = Yr.call(mt), ht, Xt = 0; !(ht = Kt.next()).done; )
|
|
1394
|
-
z = ht.value, G = ne + Ae(z, Xt++), Q += Se(z, r, o, G, l);
|
|
1395
|
-
} else if (h === "object") {
|
|
1396
|
-
var bt = String(e);
|
|
1397
|
-
throw new Error("Objects are not valid as a React child (found: " + (bt === "[object Object]" ? "object with keys {" + Object.keys(e).join(", ") + "}" : bt) + "). If you meant to render a collection of children, use an array instead.");
|
|
1398
|
-
}
|
|
1399
|
-
}
|
|
1400
|
-
return Q;
|
|
1401
|
-
}
|
|
1402
|
-
function Me(e, r, o) {
|
|
1403
|
-
if (e == null)
|
|
1404
|
-
return e;
|
|
1405
|
-
var a = [], l = 0;
|
|
1406
|
-
return Se(e, a, "", "", function(h) {
|
|
1407
|
-
return r.call(o, h, l++);
|
|
1408
|
-
}), a;
|
|
1409
|
-
}
|
|
1410
|
-
function Ir(e) {
|
|
1411
|
-
var r = 0;
|
|
1412
|
-
return Me(e, function() {
|
|
1413
|
-
r++;
|
|
1414
|
-
}), r;
|
|
1415
|
-
}
|
|
1416
|
-
function cr(e, r, o) {
|
|
1417
|
-
Me(e, function() {
|
|
1418
|
-
r.apply(this, arguments);
|
|
1419
|
-
}, o);
|
|
1420
|
-
}
|
|
1421
|
-
function $r(e) {
|
|
1422
|
-
return Me(e, function(r) {
|
|
1423
|
-
return r;
|
|
1424
|
-
}) || [];
|
|
1425
|
-
}
|
|
1426
|
-
function fr(e) {
|
|
1427
|
-
if (!Ee(e))
|
|
1428
|
-
throw new Error("React.Children.only expected to receive a single React element child.");
|
|
1429
|
-
return e;
|
|
1430
|
-
}
|
|
1431
|
-
function dr(e) {
|
|
1432
|
-
var r = {
|
|
1433
|
-
$$typeof: D,
|
|
1434
|
-
// As a workaround to support multiple concurrent renderers, we categorize
|
|
1435
|
-
// some renderers as primary and others as secondary. We only expect
|
|
1436
|
-
// there to be two concurrent renderers at most: React Native (primary) and
|
|
1437
|
-
// Fabric (secondary); React DOM (primary) and React ART (secondary).
|
|
1438
|
-
// Secondary renderers store their context values on separate fields.
|
|
1439
|
-
_currentValue: e,
|
|
1440
|
-
_currentValue2: e,
|
|
1441
|
-
// Used to track how many concurrent renderers this context currently
|
|
1442
|
-
// supports within in a single renderer. Such as parallel server rendering.
|
|
1443
|
-
_threadCount: 0,
|
|
1444
|
-
// These are circular
|
|
1445
|
-
Provider: null,
|
|
1446
|
-
Consumer: null,
|
|
1447
|
-
// Add these to use same hidden class in VM as ServerContext
|
|
1448
|
-
_defaultValue: null,
|
|
1449
|
-
_globalName: null
|
|
1450
|
-
};
|
|
1451
|
-
r.Provider = {
|
|
1452
|
-
$$typeof: p,
|
|
1453
|
-
_context: r
|
|
1454
|
-
};
|
|
1455
|
-
var o = !1, a = !1, l = !1;
|
|
1456
|
-
{
|
|
1457
|
-
var h = {
|
|
1458
|
-
$$typeof: D,
|
|
1459
|
-
_context: r
|
|
1460
|
-
};
|
|
1461
|
-
Object.defineProperties(h, {
|
|
1462
|
-
Provider: {
|
|
1463
|
-
get: function() {
|
|
1464
|
-
return a || (a = !0, y("Rendering <Context.Consumer.Provider> is not supported and will be removed in a future major release. Did you mean to render <Context.Provider> instead?")), r.Provider;
|
|
1465
|
-
},
|
|
1466
|
-
set: function(f) {
|
|
1467
|
-
r.Provider = f;
|
|
1468
|
-
}
|
|
1469
|
-
},
|
|
1470
|
-
_currentValue: {
|
|
1471
|
-
get: function() {
|
|
1472
|
-
return r._currentValue;
|
|
1473
|
-
},
|
|
1474
|
-
set: function(f) {
|
|
1475
|
-
r._currentValue = f;
|
|
1476
|
-
}
|
|
1477
|
-
},
|
|
1478
|
-
_currentValue2: {
|
|
1479
|
-
get: function() {
|
|
1480
|
-
return r._currentValue2;
|
|
1481
|
-
},
|
|
1482
|
-
set: function(f) {
|
|
1483
|
-
r._currentValue2 = f;
|
|
1484
|
-
}
|
|
1485
|
-
},
|
|
1486
|
-
_threadCount: {
|
|
1487
|
-
get: function() {
|
|
1488
|
-
return r._threadCount;
|
|
1489
|
-
},
|
|
1490
|
-
set: function(f) {
|
|
1491
|
-
r._threadCount = f;
|
|
1492
|
-
}
|
|
1493
|
-
},
|
|
1494
|
-
Consumer: {
|
|
1495
|
-
get: function() {
|
|
1496
|
-
return o || (o = !0, y("Rendering <Context.Consumer.Consumer> is not supported and will be removed in a future major release. Did you mean to render <Context.Consumer> instead?")), r.Consumer;
|
|
1497
|
-
}
|
|
1498
|
-
},
|
|
1499
|
-
displayName: {
|
|
1500
|
-
get: function() {
|
|
1501
|
-
return r.displayName;
|
|
1502
|
-
},
|
|
1503
|
-
set: function(f) {
|
|
1504
|
-
l || (pe("Setting `displayName` on Context.Consumer has no effect. You should set it directly on the context with Context.displayName = '%s'.", f), l = !0);
|
|
1505
|
-
}
|
|
1506
|
-
}
|
|
1507
|
-
}), r.Consumer = h;
|
|
1508
|
-
}
|
|
1509
|
-
return r._currentRenderer = null, r._currentRenderer2 = null, r;
|
|
1510
|
-
}
|
|
1511
|
-
var Le = -1, Ke = 0, Xe = 1, pr = 2;
|
|
1512
|
-
function Nr(e) {
|
|
1513
|
-
if (e._status === Le) {
|
|
1514
|
-
var r = e._result, o = r();
|
|
1515
|
-
if (o.then(function(h) {
|
|
1516
|
-
if (e._status === Ke || e._status === Le) {
|
|
1517
|
-
var f = e;
|
|
1518
|
-
f._status = Xe, f._result = h;
|
|
1519
|
-
}
|
|
1520
|
-
}, function(h) {
|
|
1521
|
-
if (e._status === Ke || e._status === Le) {
|
|
1522
|
-
var f = e;
|
|
1523
|
-
f._status = pr, f._result = h;
|
|
1524
|
-
}
|
|
1525
|
-
}), e._status === Le) {
|
|
1526
|
-
var a = e;
|
|
1527
|
-
a._status = Ke, a._result = o;
|
|
1528
|
-
}
|
|
1529
|
-
}
|
|
1530
|
-
if (e._status === Xe) {
|
|
1531
|
-
var l = e._result;
|
|
1532
|
-
return l === void 0 && y(`lazy: Expected the result of a dynamic import() call. Instead received: %s
|
|
1533
|
-
|
|
1534
|
-
Your code should look like:
|
|
1535
|
-
const MyComponent = lazy(() => import('./MyComponent'))
|
|
1536
|
-
|
|
1537
|
-
Did you accidentally put curly braces around the import?`, l), "default" in l || y(`lazy: Expected the result of a dynamic import() call. Instead received: %s
|
|
1538
|
-
|
|
1539
|
-
Your code should look like:
|
|
1540
|
-
const MyComponent = lazy(() => import('./MyComponent'))`, l), l.default;
|
|
1541
|
-
} else
|
|
1542
|
-
throw e._result;
|
|
1543
|
-
}
|
|
1544
|
-
function Dr(e) {
|
|
1545
|
-
var r = {
|
|
1546
|
-
// We use these fields to store the result.
|
|
1547
|
-
_status: Le,
|
|
1548
|
-
_result: e
|
|
1549
|
-
}, o = {
|
|
1550
|
-
$$typeof: ee,
|
|
1551
|
-
_payload: r,
|
|
1552
|
-
_init: Nr
|
|
1553
|
-
};
|
|
1554
|
-
{
|
|
1555
|
-
var a, l;
|
|
1556
|
-
Object.defineProperties(o, {
|
|
1557
|
-
defaultProps: {
|
|
1558
|
-
configurable: !0,
|
|
1559
|
-
get: function() {
|
|
1560
|
-
return a;
|
|
1561
|
-
},
|
|
1562
|
-
set: function(h) {
|
|
1563
|
-
y("React.lazy(...): It is not supported to assign `defaultProps` to a lazy component import. Either specify them where the component is defined, or create a wrapping component around it."), a = h, Object.defineProperty(o, "defaultProps", {
|
|
1564
|
-
enumerable: !0
|
|
1565
|
-
});
|
|
1566
|
-
}
|
|
1567
|
-
},
|
|
1568
|
-
propTypes: {
|
|
1569
|
-
configurable: !0,
|
|
1570
|
-
get: function() {
|
|
1571
|
-
return l;
|
|
1572
|
-
},
|
|
1573
|
-
set: function(h) {
|
|
1574
|
-
y("React.lazy(...): It is not supported to assign `propTypes` to a lazy component import. Either specify them where the component is defined, or create a wrapping component around it."), l = h, Object.defineProperty(o, "propTypes", {
|
|
1575
|
-
enumerable: !0
|
|
1576
|
-
});
|
|
1577
|
-
}
|
|
1578
|
-
}
|
|
1579
|
-
});
|
|
1580
|
-
}
|
|
1581
|
-
return o;
|
|
1582
|
-
}
|
|
1583
|
-
function Fr(e) {
|
|
1584
|
-
e != null && e.$$typeof === L ? y("forwardRef requires a render function but received a `memo` component. Instead of forwardRef(memo(...)), use memo(forwardRef(...)).") : typeof e != "function" ? y("forwardRef requires a render function but was given %s.", e === null ? "null" : typeof e) : e.length !== 0 && e.length !== 2 && y("forwardRef render functions accept exactly two parameters: props and ref. %s", e.length === 1 ? "Did you forget to use the ref parameter?" : "Any additional parameter will be undefined."), e != null && (e.defaultProps != null || e.propTypes != null) && y("forwardRef render functions do not support propTypes or defaultProps. Did you accidentally pass a React component?");
|
|
1585
|
-
var r = {
|
|
1586
|
-
$$typeof: E,
|
|
1587
|
-
render: e
|
|
1588
|
-
};
|
|
1589
|
-
{
|
|
1590
|
-
var o;
|
|
1591
|
-
Object.defineProperty(r, "displayName", {
|
|
1592
|
-
enumerable: !1,
|
|
1593
|
-
configurable: !0,
|
|
1594
|
-
get: function() {
|
|
1595
|
-
return o;
|
|
1596
|
-
},
|
|
1597
|
-
set: function(a) {
|
|
1598
|
-
o = a, !e.name && !e.displayName && (e.displayName = a);
|
|
1599
|
-
}
|
|
1600
|
-
});
|
|
1601
|
-
}
|
|
1602
|
-
return r;
|
|
1603
|
-
}
|
|
1604
|
-
var yr;
|
|
1605
|
-
yr = Symbol.for("react.module.reference");
|
|
1606
|
-
function t(e) {
|
|
1607
|
-
return !!(typeof e == "string" || typeof e == "function" || e === C || e === g || se || e === v || e === x || e === J || oe || e === qe || Pe || Ge || Te || typeof e == "object" && e !== null && (e.$$typeof === ee || e.$$typeof === L || e.$$typeof === p || e.$$typeof === D || e.$$typeof === E || // This needs to include all possible module reference object
|
|
1608
|
-
// types supported by any Flight configuration anywhere since
|
|
1609
|
-
// we don't know which Flight build this will end up being used
|
|
1610
|
-
// with.
|
|
1611
|
-
e.$$typeof === yr || e.getModuleId !== void 0));
|
|
1612
|
-
}
|
|
1613
|
-
function i(e, r) {
|
|
1614
|
-
t(e) || y("memo: The first argument must be a component. Instead received: %s", e === null ? "null" : typeof e);
|
|
1615
|
-
var o = {
|
|
1616
|
-
$$typeof: L,
|
|
1617
|
-
type: e,
|
|
1618
|
-
compare: r === void 0 ? null : r
|
|
1619
|
-
};
|
|
1620
|
-
{
|
|
1621
|
-
var a;
|
|
1622
|
-
Object.defineProperty(o, "displayName", {
|
|
1623
|
-
enumerable: !1,
|
|
1624
|
-
configurable: !0,
|
|
1625
|
-
get: function() {
|
|
1626
|
-
return a;
|
|
1627
|
-
},
|
|
1628
|
-
set: function(l) {
|
|
1629
|
-
a = l, !e.name && !e.displayName && (e.displayName = l);
|
|
1630
|
-
}
|
|
1631
|
-
});
|
|
1632
|
-
}
|
|
1633
|
-
return o;
|
|
1634
|
-
}
|
|
1635
|
-
function u() {
|
|
1636
|
-
var e = xe.current;
|
|
1637
|
-
return e === null && y(`Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:
|
|
1638
|
-
1. You might have mismatching versions of React and the renderer (such as React DOM)
|
|
1639
|
-
2. You might be breaking the Rules of Hooks
|
|
1640
|
-
3. You might have more than one copy of React in the same app
|
|
1641
|
-
See https://reactjs.org/link/invalid-hook-call for tips about how to debug and fix this problem.`), e;
|
|
1642
|
-
}
|
|
1643
|
-
function m(e) {
|
|
1644
|
-
var r = u();
|
|
1645
|
-
if (e._context !== void 0) {
|
|
1646
|
-
var o = e._context;
|
|
1647
|
-
o.Consumer === e ? y("Calling useContext(Context.Consumer) is not supported, may cause bugs, and will be removed in a future major release. Did you mean to call useContext(Context) instead?") : o.Provider === e && y("Calling useContext(Context.Provider) is not supported. Did you mean to call useContext(Context) instead?");
|
|
1648
|
-
}
|
|
1649
|
-
return r.useContext(e);
|
|
1650
|
-
}
|
|
1651
|
-
function N(e) {
|
|
1652
|
-
var r = u();
|
|
1653
|
-
return r.useState(e);
|
|
1654
|
-
}
|
|
1655
|
-
function A(e, r, o) {
|
|
1656
|
-
var a = u();
|
|
1657
|
-
return a.useReducer(e, r, o);
|
|
1658
|
-
}
|
|
1659
|
-
function j(e) {
|
|
1660
|
-
var r = u();
|
|
1661
|
-
return r.useRef(e);
|
|
1662
|
-
}
|
|
1663
|
-
function R(e, r) {
|
|
1664
|
-
var o = u();
|
|
1665
|
-
return o.useEffect(e, r);
|
|
1666
|
-
}
|
|
1667
|
-
function te(e, r) {
|
|
1668
|
-
var o = u();
|
|
1669
|
-
return o.useInsertionEffect(e, r);
|
|
1670
|
-
}
|
|
1671
|
-
function H(e, r) {
|
|
1672
|
-
var o = u();
|
|
1673
|
-
return o.useLayoutEffect(e, r);
|
|
1674
|
-
}
|
|
1675
|
-
function K(e, r) {
|
|
1676
|
-
var o = u();
|
|
1677
|
-
return o.useCallback(e, r);
|
|
1678
|
-
}
|
|
1679
|
-
function ue(e, r) {
|
|
1680
|
-
var o = u();
|
|
1681
|
-
return o.useMemo(e, r);
|
|
1682
|
-
}
|
|
1683
|
-
function Ce(e, r, o) {
|
|
1684
|
-
var a = u();
|
|
1685
|
-
return a.useImperativeHandle(e, r, o);
|
|
1686
|
-
}
|
|
1687
|
-
function _e(e, r) {
|
|
1688
|
-
{
|
|
1689
|
-
var o = u();
|
|
1690
|
-
return o.useDebugValue(e, r);
|
|
1691
|
-
}
|
|
1692
|
-
}
|
|
1693
|
-
function ae() {
|
|
1694
|
-
var e = u();
|
|
1695
|
-
return e.useTransition();
|
|
1696
|
-
}
|
|
1697
|
-
function Ze(e) {
|
|
1698
|
-
var r = u();
|
|
1699
|
-
return r.useDeferredValue(e);
|
|
1700
|
-
}
|
|
1701
|
-
function Ar() {
|
|
1702
|
-
var e = u();
|
|
1703
|
-
return e.useId();
|
|
1704
|
-
}
|
|
1705
|
-
function Mr(e, r, o) {
|
|
1706
|
-
var a = u();
|
|
1707
|
-
return a.useSyncExternalStore(e, r, o);
|
|
1708
|
-
}
|
|
1709
|
-
var Qe = 0, Jr, Kr, Xr, Zr, Qr, et, rt;
|
|
1710
|
-
function tt() {
|
|
1711
|
-
}
|
|
1712
|
-
tt.__reactDisabledLog = !0;
|
|
1713
|
-
function It() {
|
|
1714
|
-
{
|
|
1715
|
-
if (Qe === 0) {
|
|
1716
|
-
Jr = console.log, Kr = console.info, Xr = console.warn, Zr = console.error, Qr = console.group, et = console.groupCollapsed, rt = console.groupEnd;
|
|
1717
|
-
var e = {
|
|
1718
|
-
configurable: !0,
|
|
1719
|
-
enumerable: !0,
|
|
1720
|
-
value: tt,
|
|
1721
|
-
writable: !0
|
|
1722
|
-
};
|
|
1723
|
-
Object.defineProperties(console, {
|
|
1724
|
-
info: e,
|
|
1725
|
-
log: e,
|
|
1726
|
-
warn: e,
|
|
1727
|
-
error: e,
|
|
1728
|
-
group: e,
|
|
1729
|
-
groupCollapsed: e,
|
|
1730
|
-
groupEnd: e
|
|
1731
|
-
});
|
|
1732
|
-
}
|
|
1733
|
-
Qe++;
|
|
1734
|
-
}
|
|
1735
|
-
}
|
|
1736
|
-
function $t() {
|
|
1737
|
-
{
|
|
1738
|
-
if (Qe--, Qe === 0) {
|
|
1739
|
-
var e = {
|
|
1740
|
-
configurable: !0,
|
|
1741
|
-
enumerable: !0,
|
|
1742
|
-
writable: !0
|
|
1743
|
-
};
|
|
1744
|
-
Object.defineProperties(console, {
|
|
1745
|
-
log: s({}, e, {
|
|
1746
|
-
value: Jr
|
|
1747
|
-
}),
|
|
1748
|
-
info: s({}, e, {
|
|
1749
|
-
value: Kr
|
|
1750
|
-
}),
|
|
1751
|
-
warn: s({}, e, {
|
|
1752
|
-
value: Xr
|
|
1753
|
-
}),
|
|
1754
|
-
error: s({}, e, {
|
|
1755
|
-
value: Zr
|
|
1756
|
-
}),
|
|
1757
|
-
group: s({}, e, {
|
|
1758
|
-
value: Qr
|
|
1759
|
-
}),
|
|
1760
|
-
groupCollapsed: s({}, e, {
|
|
1761
|
-
value: et
|
|
1762
|
-
}),
|
|
1763
|
-
groupEnd: s({}, e, {
|
|
1764
|
-
value: rt
|
|
1765
|
-
})
|
|
1766
|
-
});
|
|
1767
|
-
}
|
|
1768
|
-
Qe < 0 && y("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
|
|
1769
|
-
}
|
|
1770
|
-
}
|
|
1771
|
-
var Lr = re.ReactCurrentDispatcher, qr;
|
|
1772
|
-
function vr(e, r, o) {
|
|
1773
|
-
{
|
|
1774
|
-
if (qr === void 0)
|
|
1775
|
-
try {
|
|
1776
|
-
throw Error();
|
|
1777
|
-
} catch (l) {
|
|
1778
|
-
var a = l.stack.trim().match(/\n( *(at )?)/);
|
|
1779
|
-
qr = a && a[1] || "";
|
|
1780
|
-
}
|
|
1781
|
-
return `
|
|
1782
|
-
` + qr + e;
|
|
1783
|
-
}
|
|
1784
|
-
}
|
|
1785
|
-
var Vr = !1, mr;
|
|
1786
|
-
{
|
|
1787
|
-
var Nt = typeof WeakMap == "function" ? WeakMap : Map;
|
|
1788
|
-
mr = new Nt();
|
|
1789
|
-
}
|
|
1790
|
-
function nt(e, r) {
|
|
1791
|
-
if (!e || Vr)
|
|
1792
|
-
return "";
|
|
1793
|
-
{
|
|
1794
|
-
var o = mr.get(e);
|
|
1795
|
-
if (o !== void 0)
|
|
1796
|
-
return o;
|
|
1797
|
-
}
|
|
1798
|
-
var a;
|
|
1799
|
-
Vr = !0;
|
|
1800
|
-
var l = Error.prepareStackTrace;
|
|
1801
|
-
Error.prepareStackTrace = void 0;
|
|
1802
|
-
var h;
|
|
1803
|
-
h = Lr.current, Lr.current = null, It();
|
|
1804
|
-
try {
|
|
1805
|
-
if (r) {
|
|
1806
|
-
var f = function() {
|
|
1807
|
-
throw Error();
|
|
1808
|
-
};
|
|
1809
|
-
if (Object.defineProperty(f.prototype, "props", {
|
|
1810
|
-
set: function() {
|
|
1811
|
-
throw Error();
|
|
1812
|
-
}
|
|
1813
|
-
}), typeof Reflect == "object" && Reflect.construct) {
|
|
1814
|
-
try {
|
|
1815
|
-
Reflect.construct(f, []);
|
|
1816
|
-
} catch (ne) {
|
|
1817
|
-
a = ne;
|
|
1818
|
-
}
|
|
1819
|
-
Reflect.construct(e, [], f);
|
|
1820
|
-
} else {
|
|
1821
|
-
try {
|
|
1822
|
-
f.call();
|
|
1823
|
-
} catch (ne) {
|
|
1824
|
-
a = ne;
|
|
1825
|
-
}
|
|
1826
|
-
e.call(f.prototype);
|
|
1827
|
-
}
|
|
1828
|
-
} else {
|
|
1829
|
-
try {
|
|
1830
|
-
throw Error();
|
|
1831
|
-
} catch (ne) {
|
|
1832
|
-
a = ne;
|
|
1833
|
-
}
|
|
1834
|
-
e();
|
|
1835
|
-
}
|
|
1836
|
-
} catch (ne) {
|
|
1837
|
-
if (ne && a && typeof ne.stack == "string") {
|
|
1838
|
-
for (var _ = ne.stack.split(`
|
|
1839
|
-
`), T = a.stack.split(`
|
|
1840
|
-
`), V = _.length - 1, W = T.length - 1; V >= 1 && W >= 0 && _[V] !== T[W]; )
|
|
1841
|
-
W--;
|
|
1842
|
-
for (; V >= 1 && W >= 0; V--, W--)
|
|
1843
|
-
if (_[V] !== T[W]) {
|
|
1844
|
-
if (V !== 1 || W !== 1)
|
|
1845
|
-
do
|
|
1846
|
-
if (V--, W--, W < 0 || _[V] !== T[W]) {
|
|
1847
|
-
var z = `
|
|
1848
|
-
` + _[V].replace(" at new ", " at ");
|
|
1849
|
-
return e.displayName && z.includes("<anonymous>") && (z = z.replace("<anonymous>", e.displayName)), typeof e == "function" && mr.set(e, z), z;
|
|
1850
|
-
}
|
|
1851
|
-
while (V >= 1 && W >= 0);
|
|
1852
|
-
break;
|
|
1853
|
-
}
|
|
1854
|
-
}
|
|
1855
|
-
} finally {
|
|
1856
|
-
Vr = !1, Lr.current = h, $t(), Error.prepareStackTrace = l;
|
|
1857
|
-
}
|
|
1858
|
-
var G = e ? e.displayName || e.name : "", Q = G ? vr(G) : "";
|
|
1859
|
-
return typeof e == "function" && mr.set(e, Q), Q;
|
|
1860
|
-
}
|
|
1861
|
-
function Dt(e, r, o) {
|
|
1862
|
-
return nt(e, !1);
|
|
1863
|
-
}
|
|
1864
|
-
function Ft(e) {
|
|
1865
|
-
var r = e.prototype;
|
|
1866
|
-
return !!(r && r.isReactComponent);
|
|
1867
|
-
}
|
|
1868
|
-
function hr(e, r, o) {
|
|
1869
|
-
if (e == null)
|
|
1870
|
-
return "";
|
|
1871
|
-
if (typeof e == "function")
|
|
1872
|
-
return nt(e, Ft(e));
|
|
1873
|
-
if (typeof e == "string")
|
|
1874
|
-
return vr(e);
|
|
1875
|
-
switch (e) {
|
|
1876
|
-
case x:
|
|
1877
|
-
return vr("Suspense");
|
|
1878
|
-
case J:
|
|
1879
|
-
return vr("SuspenseList");
|
|
1880
|
-
}
|
|
1881
|
-
if (typeof e == "object")
|
|
1882
|
-
switch (e.$$typeof) {
|
|
1883
|
-
case E:
|
|
1884
|
-
return Dt(e.render);
|
|
1885
|
-
case L:
|
|
1886
|
-
return hr(e.type, r, o);
|
|
1887
|
-
case ee: {
|
|
1888
|
-
var a = e, l = a._payload, h = a._init;
|
|
1889
|
-
try {
|
|
1890
|
-
return hr(h(l), r, o);
|
|
1891
|
-
} catch {
|
|
1892
|
-
}
|
|
1893
|
-
}
|
|
1894
|
-
}
|
|
1895
|
-
return "";
|
|
1896
|
-
}
|
|
1897
|
-
var ot = {}, at = re.ReactDebugCurrentFrame;
|
|
1898
|
-
function br(e) {
|
|
1899
|
-
if (e) {
|
|
1900
|
-
var r = e._owner, o = hr(e.type, e._source, r ? r.type : null);
|
|
1901
|
-
at.setExtraStackFrame(o);
|
|
1902
|
-
} else
|
|
1903
|
-
at.setExtraStackFrame(null);
|
|
1904
|
-
}
|
|
1905
|
-
function At(e, r, o, a, l) {
|
|
1906
|
-
{
|
|
1907
|
-
var h = Function.call.bind(De);
|
|
1908
|
-
for (var f in e)
|
|
1909
|
-
if (h(e, f)) {
|
|
1910
|
-
var _ = void 0;
|
|
1911
|
-
try {
|
|
1912
|
-
if (typeof e[f] != "function") {
|
|
1913
|
-
var T = Error((a || "React class") + ": " + o + " type `" + f + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof e[f] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
|
|
1914
|
-
throw T.name = "Invariant Violation", T;
|
|
1915
|
-
}
|
|
1916
|
-
_ = e[f](r, f, a, o, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
|
|
1917
|
-
} catch (V) {
|
|
1918
|
-
_ = V;
|
|
1919
|
-
}
|
|
1920
|
-
_ && !(_ instanceof Error) && (br(l), y("%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).", a || "React class", o, f, typeof _), br(null)), _ instanceof Error && !(_.message in ot) && (ot[_.message] = !0, br(l), y("Failed %s type: %s", o, _.message), br(null));
|
|
1921
|
-
}
|
|
1922
|
-
}
|
|
1923
|
-
}
|
|
1924
|
-
function Ye(e) {
|
|
1925
|
-
if (e) {
|
|
1926
|
-
var r = e._owner, o = hr(e.type, e._source, r ? r.type : null);
|
|
1927
|
-
Oe(o);
|
|
1928
|
-
} else
|
|
1929
|
-
Oe(null);
|
|
1930
|
-
}
|
|
1931
|
-
var Ur;
|
|
1932
|
-
Ur = !1;
|
|
1933
|
-
function it() {
|
|
1934
|
-
if (ie.current) {
|
|
1935
|
-
var e = me(ie.current.type);
|
|
1936
|
-
if (e)
|
|
1937
|
-
return `
|
|
1938
|
-
|
|
1939
|
-
Check the render method of \`` + e + "`.";
|
|
1940
|
-
}
|
|
1941
|
-
return "";
|
|
1942
|
-
}
|
|
1943
|
-
function Mt(e) {
|
|
1944
|
-
if (e !== void 0) {
|
|
1945
|
-
var r = e.fileName.replace(/^.*[\\\/]/, ""), o = e.lineNumber;
|
|
1946
|
-
return `
|
|
1947
|
-
|
|
1948
|
-
Check your code at ` + r + ":" + o + ".";
|
|
1949
|
-
}
|
|
1950
|
-
return "";
|
|
1951
|
-
}
|
|
1952
|
-
function Lt(e) {
|
|
1953
|
-
return e != null ? Mt(e.__source) : "";
|
|
1954
|
-
}
|
|
1955
|
-
var st = {};
|
|
1956
|
-
function qt(e) {
|
|
1957
|
-
var r = it();
|
|
1958
|
-
if (!r) {
|
|
1959
|
-
var o = typeof e == "string" ? e : e.displayName || e.name;
|
|
1960
|
-
o && (r = `
|
|
1961
|
-
|
|
1962
|
-
Check the top-level render call using <` + o + ">.");
|
|
1963
|
-
}
|
|
1964
|
-
return r;
|
|
1965
|
-
}
|
|
1966
|
-
function ut(e, r) {
|
|
1967
|
-
if (!(!e._store || e._store.validated || e.key != null)) {
|
|
1968
|
-
e._store.validated = !0;
|
|
1969
|
-
var o = qt(r);
|
|
1970
|
-
if (!st[o]) {
|
|
1971
|
-
st[o] = !0;
|
|
1972
|
-
var a = "";
|
|
1973
|
-
e && e._owner && e._owner !== ie.current && (a = " It was passed a child from " + me(e._owner.type) + "."), Ye(e), y('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', o, a), Ye(null);
|
|
1974
|
-
}
|
|
1975
|
-
}
|
|
1976
|
-
}
|
|
1977
|
-
function lt(e, r) {
|
|
1978
|
-
if (typeof e == "object") {
|
|
1979
|
-
if (Ve(e))
|
|
1980
|
-
for (var o = 0; o < e.length; o++) {
|
|
1981
|
-
var a = e[o];
|
|
1982
|
-
Ee(a) && ut(a, r);
|
|
1983
|
-
}
|
|
1984
|
-
else if (Ee(e))
|
|
1985
|
-
e._store && (e._store.validated = !0);
|
|
1986
|
-
else if (e) {
|
|
1987
|
-
var l = Y(e);
|
|
1988
|
-
if (typeof l == "function" && l !== e.entries)
|
|
1989
|
-
for (var h = l.call(e), f; !(f = h.next()).done; )
|
|
1990
|
-
Ee(f.value) && ut(f.value, r);
|
|
1991
|
-
}
|
|
1992
|
-
}
|
|
1993
|
-
}
|
|
1994
|
-
function ct(e) {
|
|
1995
|
-
{
|
|
1996
|
-
var r = e.type;
|
|
1997
|
-
if (r == null || typeof r == "string")
|
|
1998
|
-
return;
|
|
1999
|
-
var o;
|
|
2000
|
-
if (typeof r == "function")
|
|
2001
|
-
o = r.propTypes;
|
|
2002
|
-
else if (typeof r == "object" && (r.$$typeof === E || // Note: Memo only checks outer props here.
|
|
2003
|
-
// Inner props are checked in the reconciler.
|
|
2004
|
-
r.$$typeof === L))
|
|
2005
|
-
o = r.propTypes;
|
|
2006
|
-
else
|
|
2007
|
-
return;
|
|
2008
|
-
if (o) {
|
|
2009
|
-
var a = me(r);
|
|
2010
|
-
At(o, e.props, "prop", a, e);
|
|
2011
|
-
} else if (r.PropTypes !== void 0 && !Ur) {
|
|
2012
|
-
Ur = !0;
|
|
2013
|
-
var l = me(r);
|
|
2014
|
-
y("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", l || "Unknown");
|
|
2015
|
-
}
|
|
2016
|
-
typeof r.getDefaultProps == "function" && !r.getDefaultProps.isReactClassApproved && y("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
|
|
2017
|
-
}
|
|
2018
|
-
}
|
|
2019
|
-
function Vt(e) {
|
|
2020
|
-
{
|
|
2021
|
-
for (var r = Object.keys(e.props), o = 0; o < r.length; o++) {
|
|
2022
|
-
var a = r[o];
|
|
2023
|
-
if (a !== "children" && a !== "key") {
|
|
2024
|
-
Ye(e), y("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", a), Ye(null);
|
|
2025
|
-
break;
|
|
2026
|
-
}
|
|
2027
|
-
}
|
|
2028
|
-
e.ref !== null && (Ye(e), y("Invalid attribute `ref` supplied to `React.Fragment`."), Ye(null));
|
|
2029
|
-
}
|
|
2030
|
-
}
|
|
2031
|
-
function ft(e, r, o) {
|
|
2032
|
-
var a = t(e);
|
|
2033
|
-
if (!a) {
|
|
2034
|
-
var l = "";
|
|
2035
|
-
(e === void 0 || typeof e == "object" && e !== null && Object.keys(e).length === 0) && (l += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
|
|
2036
|
-
var h = Lt(r);
|
|
2037
|
-
h ? l += h : l += it();
|
|
2038
|
-
var f;
|
|
2039
|
-
e === null ? f = "null" : Ve(e) ? f = "array" : e !== void 0 && e.$$typeof === I ? (f = "<" + (me(e.type) || "Unknown") + " />", l = " Did you accidentally export a JSX literal instead of a component?") : f = typeof e, y("React.createElement: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", f, l);
|
|
2040
|
-
}
|
|
2041
|
-
var _ = jr.apply(this, arguments);
|
|
2042
|
-
if (_ == null)
|
|
2043
|
-
return _;
|
|
2044
|
-
if (a)
|
|
2045
|
-
for (var T = 2; T < arguments.length; T++)
|
|
2046
|
-
lt(arguments[T], e);
|
|
2047
|
-
return e === C ? Vt(_) : ct(_), _;
|
|
2048
|
-
}
|
|
2049
|
-
var dt = !1;
|
|
2050
|
-
function Ut(e) {
|
|
2051
|
-
var r = ft.bind(null, e);
|
|
2052
|
-
return r.type = e, dt || (dt = !0, pe("React.createFactory() is deprecated and will be removed in a future major release. Consider using JSX or use React.createElement() directly instead.")), Object.defineProperty(r, "type", {
|
|
2053
|
-
enumerable: !1,
|
|
2054
|
-
get: function() {
|
|
2055
|
-
return pe("Factory.type is deprecated. Access the class directly before passing it to createFactory."), Object.defineProperty(this, "type", {
|
|
2056
|
-
value: e
|
|
2057
|
-
}), e;
|
|
2058
|
-
}
|
|
2059
|
-
}), r;
|
|
2060
|
-
}
|
|
2061
|
-
function Wt(e, r, o) {
|
|
2062
|
-
for (var a = Or.apply(this, arguments), l = 2; l < arguments.length; l++)
|
|
2063
|
-
lt(arguments[l], a.type);
|
|
2064
|
-
return ct(a), a;
|
|
2065
|
-
}
|
|
2066
|
-
function zt(e, r) {
|
|
2067
|
-
var o = de.transition;
|
|
2068
|
-
de.transition = {};
|
|
2069
|
-
var a = de.transition;
|
|
2070
|
-
de.transition._updatedFibers = /* @__PURE__ */ new Set();
|
|
2071
|
-
try {
|
|
2072
|
-
e();
|
|
2073
|
-
} finally {
|
|
2074
|
-
if (de.transition = o, o === null && a._updatedFibers) {
|
|
2075
|
-
var l = a._updatedFibers.size;
|
|
2076
|
-
l > 10 && pe("Detected a large number of updates inside startTransition. If this is due to a subscription please re-write it to use React provided hooks. Otherwise concurrent mode guarantees are off the table."), a._updatedFibers.clear();
|
|
2077
|
-
}
|
|
2078
|
-
}
|
|
2079
|
-
}
|
|
2080
|
-
var pt = !1, gr = null;
|
|
2081
|
-
function Bt(e) {
|
|
2082
|
-
if (gr === null)
|
|
2083
|
-
try {
|
|
2084
|
-
var r = ("require" + Math.random()).slice(0, 7), o = d && d[r];
|
|
2085
|
-
gr = o.call(d, "timers").setImmediate;
|
|
2086
|
-
} catch {
|
|
2087
|
-
gr = function(a) {
|
|
2088
|
-
pt === !1 && (pt = !0, typeof MessageChannel > "u" && y("This browser does not have a MessageChannel implementation, so enqueuing tasks via await act(async () => ...) will fail. Please file an issue at https://github.com/facebook/react/issues if you encounter this warning."));
|
|
2089
|
-
var l = new MessageChannel();
|
|
2090
|
-
l.port1.onmessage = a, l.port2.postMessage(void 0);
|
|
2091
|
-
};
|
|
2092
|
-
}
|
|
2093
|
-
return gr(e);
|
|
2094
|
-
}
|
|
2095
|
-
var He = 0, yt = !1;
|
|
2096
|
-
function vt(e) {
|
|
2097
|
-
{
|
|
2098
|
-
var r = He;
|
|
2099
|
-
He++, X.current === null && (X.current = []);
|
|
2100
|
-
var o = X.isBatchingLegacy, a;
|
|
2101
|
-
try {
|
|
2102
|
-
if (X.isBatchingLegacy = !0, a = e(), !o && X.didScheduleLegacyUpdate) {
|
|
2103
|
-
var l = X.current;
|
|
2104
|
-
l !== null && (X.didScheduleLegacyUpdate = !1, Br(l));
|
|
2105
|
-
}
|
|
2106
|
-
} catch (G) {
|
|
2107
|
-
throw _r(r), G;
|
|
2108
|
-
} finally {
|
|
2109
|
-
X.isBatchingLegacy = o;
|
|
2110
|
-
}
|
|
2111
|
-
if (a !== null && typeof a == "object" && typeof a.then == "function") {
|
|
2112
|
-
var h = a, f = !1, _ = {
|
|
2113
|
-
then: function(G, Q) {
|
|
2114
|
-
f = !0, h.then(function(ne) {
|
|
2115
|
-
_r(r), He === 0 ? Wr(ne, G, Q) : G(ne);
|
|
2116
|
-
}, function(ne) {
|
|
2117
|
-
_r(r), Q(ne);
|
|
2118
|
-
});
|
|
2119
|
-
}
|
|
2120
|
-
};
|
|
2121
|
-
return !yt && typeof Promise < "u" && Promise.resolve().then(function() {
|
|
2122
|
-
}).then(function() {
|
|
2123
|
-
f || (yt = !0, y("You called act(async () => ...) without await. This could lead to unexpected testing behaviour, interleaving multiple act calls and mixing their scopes. You should - await act(async () => ...);"));
|
|
2124
|
-
}), _;
|
|
2125
|
-
} else {
|
|
2126
|
-
var T = a;
|
|
2127
|
-
if (_r(r), He === 0) {
|
|
2128
|
-
var V = X.current;
|
|
2129
|
-
V !== null && (Br(V), X.current = null);
|
|
2130
|
-
var W = {
|
|
2131
|
-
then: function(G, Q) {
|
|
2132
|
-
X.current === null ? (X.current = [], Wr(T, G, Q)) : G(T);
|
|
2133
|
-
}
|
|
2134
|
-
};
|
|
2135
|
-
return W;
|
|
2136
|
-
} else {
|
|
2137
|
-
var z = {
|
|
2138
|
-
then: function(G, Q) {
|
|
2139
|
-
G(T);
|
|
2140
|
-
}
|
|
2141
|
-
};
|
|
2142
|
-
return z;
|
|
2143
|
-
}
|
|
2144
|
-
}
|
|
2145
|
-
}
|
|
2146
|
-
}
|
|
2147
|
-
function _r(e) {
|
|
2148
|
-
e !== He - 1 && y("You seem to have overlapping act() calls, this is not supported. Be sure to await previous act() calls before making a new one. "), He = e;
|
|
2149
|
-
}
|
|
2150
|
-
function Wr(e, r, o) {
|
|
2151
|
-
{
|
|
2152
|
-
var a = X.current;
|
|
2153
|
-
if (a !== null)
|
|
2154
|
-
try {
|
|
2155
|
-
Br(a), Bt(function() {
|
|
2156
|
-
a.length === 0 ? (X.current = null, r(e)) : Wr(e, r, o);
|
|
2157
|
-
});
|
|
2158
|
-
} catch (l) {
|
|
2159
|
-
o(l);
|
|
2160
|
-
}
|
|
2161
|
-
else
|
|
2162
|
-
r(e);
|
|
2163
|
-
}
|
|
2164
|
-
}
|
|
2165
|
-
var zr = !1;
|
|
2166
|
-
function Br(e) {
|
|
2167
|
-
if (!zr) {
|
|
2168
|
-
zr = !0;
|
|
2169
|
-
var r = 0;
|
|
2170
|
-
try {
|
|
2171
|
-
for (; r < e.length; r++) {
|
|
2172
|
-
var o = e[r];
|
|
2173
|
-
do
|
|
2174
|
-
o = o(!0);
|
|
2175
|
-
while (o !== null);
|
|
2176
|
-
}
|
|
2177
|
-
e.length = 0;
|
|
2178
|
-
} catch (a) {
|
|
2179
|
-
throw e = e.slice(r + 1), a;
|
|
2180
|
-
} finally {
|
|
2181
|
-
zr = !1;
|
|
2182
|
-
}
|
|
2183
|
-
}
|
|
2184
|
-
}
|
|
2185
|
-
var Yt = ft, Ht = Wt, Gt = Ut, Jt = {
|
|
2186
|
-
map: Me,
|
|
2187
|
-
forEach: cr,
|
|
2188
|
-
count: Ir,
|
|
2189
|
-
toArray: $r,
|
|
2190
|
-
only: fr
|
|
2191
|
-
};
|
|
2192
|
-
c.Children = Jt, c.Component = O, c.Fragment = C, c.Profiler = g, c.PureComponent = F, c.StrictMode = v, c.Suspense = x, c.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED = re, c.act = vt, c.cloneElement = Ht, c.createContext = dr, c.createElement = Yt, c.createFactory = Gt, c.createRef = Er, c.forwardRef = Fr, c.isValidElement = Ee, c.lazy = Dr, c.memo = i, c.startTransition = zt, c.unstable_act = vt, c.useCallback = K, c.useContext = m, c.useDebugValue = _e, c.useDeferredValue = Ze, c.useEffect = R, c.useId = Ar, c.useImperativeHandle = Ce, c.useInsertionEffect = te, c.useLayoutEffect = H, c.useMemo = ue, c.useReducer = A, c.useRef = j, c.useState = N, c.useSyncExternalStore = Mr, c.useTransition = ae, c.version = k, typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error());
|
|
2193
|
-
}();
|
|
2194
|
-
}(wr, wr.exports)), wr.exports;
|
|
2195
|
-
}
|
|
2196
|
-
var Et;
|
|
2197
|
-
function on() {
|
|
2198
|
-
return Et || (Et = 1, process.env.NODE_ENV === "production" ? Hr.exports = tn() : Hr.exports = nn()), Hr.exports;
|
|
2199
|
-
}
|
|
2200
|
-
on();
|
|
2201
|
-
const ke = B.createContext({
|
|
366
|
+
})(r.Peer || (r.Peer = {}));
|
|
367
|
+
})(T || (T = {}));
|
|
368
|
+
const E = y.createContext({
|
|
2202
369
|
helperTextId: "",
|
|
2203
370
|
errorMessageId: "",
|
|
2204
371
|
isInvalid: !1,
|
|
2205
372
|
isRequired: !1
|
|
2206
|
-
}),
|
|
373
|
+
}), J = `
|
|
2207
374
|
bg-white
|
|
2208
375
|
border
|
|
2209
376
|
border-solid
|
|
2210
|
-
border-
|
|
377
|
+
border-solid-gray-900
|
|
2211
378
|
disabled:bg-transparent
|
|
2212
|
-
disabled:text-
|
|
2213
|
-
disabled:border-
|
|
2214
|
-
aria-invalid:border-
|
|
2215
|
-
${
|
|
2216
|
-
`,
|
|
379
|
+
disabled:text-solid-gray-500
|
|
380
|
+
disabled:border-solid-gray-500
|
|
381
|
+
aria-invalid:border-red-800
|
|
382
|
+
${T.focusRect}
|
|
383
|
+
`, V = {
|
|
2217
384
|
// 16(p-4) * 2 + 22(text-label * leading-snug) + boader * 2 = 56px
|
|
2218
385
|
lg: `
|
|
2219
386
|
p-4
|
|
@@ -2237,13 +404,13 @@ const ke = B.createContext({
|
|
|
2237
404
|
rounded-md
|
|
2238
405
|
leading-snug
|
|
2239
406
|
`
|
|
2240
|
-
},
|
|
407
|
+
}, H = `
|
|
2241
408
|
inline-block
|
|
2242
409
|
cursor-pointer
|
|
2243
410
|
border
|
|
2244
411
|
border-solid
|
|
2245
412
|
border-transparent
|
|
2246
|
-
`,
|
|
413
|
+
`, X = {
|
|
2247
414
|
// 16(p-4) * 2 + 22(text-label * leading-snug) + boader(transparent) * 2 = 56px
|
|
2248
415
|
lg: `
|
|
2249
416
|
pr-8
|
|
@@ -2265,508 +432,490 @@ const ke = B.createContext({
|
|
|
2265
432
|
text-label
|
|
2266
433
|
leading-snug
|
|
2267
434
|
`
|
|
2268
|
-
},
|
|
435
|
+
}, Z = {
|
|
2269
436
|
lg: "w-[22px] h-[22px] mr-2",
|
|
2270
437
|
md: "w-[18px] h-[18px] mr-1.5",
|
|
2271
438
|
sm: "w-[18px] h-[18px] mr-1"
|
|
2272
|
-
},
|
|
2273
|
-
|
|
2274
|
-
|
|
2275
|
-
|
|
2276
|
-
|
|
2277
|
-
|
|
2278
|
-
|
|
2279
|
-
|
|
2280
|
-
|
|
2281
|
-
|
|
2282
|
-
|
|
2283
|
-
|
|
2284
|
-
|
|
2285
|
-
|
|
2286
|
-
|
|
2287
|
-
|
|
2288
|
-
|
|
2289
|
-
|
|
2290
|
-
|
|
2291
|
-
|
|
2292
|
-
|
|
2293
|
-
|
|
2294
|
-
|
|
2295
|
-
|
|
2296
|
-
|
|
2297
|
-
|
|
439
|
+
}, Q = (r) => {
|
|
440
|
+
const { id: i, className: c, size: n = "lg", children: a, ...s } = r, o = y.useId(), u = i || o, d = y.useContext(E);
|
|
441
|
+
d.isRequired && (s.required = !0), d.groupName && (s.name = d.groupName);
|
|
442
|
+
const b = {
|
|
443
|
+
lg: 22 / 24,
|
|
444
|
+
md: 18 / 24,
|
|
445
|
+
sm: 18 / 24
|
|
446
|
+
}, f = `
|
|
447
|
+
peer
|
|
448
|
+
sr-only
|
|
449
|
+
`, h = `
|
|
450
|
+
bg-clip-content
|
|
451
|
+
rounded-sm
|
|
452
|
+
border
|
|
453
|
+
border-solid
|
|
454
|
+
border-solid-gray-900
|
|
455
|
+
fill-transparent
|
|
456
|
+
peer-checked:fill-white
|
|
457
|
+
peer-checked:bg-blue-600
|
|
458
|
+
peer-checked:border-none
|
|
459
|
+
peer-disabled:border-solid-gray-500
|
|
460
|
+
${T.Peer.focusRect}
|
|
461
|
+
`;
|
|
462
|
+
return /* @__PURE__ */ t.jsx(
|
|
463
|
+
"label",
|
|
464
|
+
{
|
|
465
|
+
htmlFor: u,
|
|
466
|
+
className: v(
|
|
467
|
+
H,
|
|
468
|
+
X[n],
|
|
469
|
+
c
|
|
470
|
+
),
|
|
471
|
+
children: /* @__PURE__ */ t.jsxs("span", { className: "flex items-center", children: [
|
|
472
|
+
/* @__PURE__ */ t.jsx(
|
|
473
|
+
"input",
|
|
474
|
+
{
|
|
475
|
+
id: u,
|
|
476
|
+
className: f,
|
|
477
|
+
type: "checkbox",
|
|
478
|
+
"aria-describedby": d.helperTextId,
|
|
479
|
+
"aria-errormessage": d.errorMessageId,
|
|
480
|
+
"aria-invalid": d.isInvalid ?? !1,
|
|
481
|
+
"aria-required": d.isRequired ?? !1,
|
|
482
|
+
...s
|
|
483
|
+
}
|
|
484
|
+
),
|
|
485
|
+
/* @__PURE__ */ t.jsx("span", { className: v(h, Z[n]), children: /* @__PURE__ */ t.jsx(
|
|
486
|
+
"svg",
|
|
487
|
+
{
|
|
488
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
489
|
+
"aria-hidden": !0,
|
|
490
|
+
width: "24",
|
|
491
|
+
height: "24",
|
|
492
|
+
viewBox: "0 0 24 24",
|
|
493
|
+
children: /* @__PURE__ */ t.jsx("g", { transform: `scale(${b[n]} ${b[n]})`, children: /* @__PURE__ */ t.jsx("path", { d: "m9.55 17.65-5.325-5.325 1.05-1.075 4.275 4.275 9.175-9.175 1.05 1.075Z" }) })
|
|
494
|
+
}
|
|
495
|
+
) }),
|
|
496
|
+
/* @__PURE__ */ t.jsx("span", { className: "peer-disabled:text-solid-gray-500", children: a })
|
|
497
|
+
] })
|
|
498
|
+
}
|
|
499
|
+
);
|
|
500
|
+
};
|
|
501
|
+
Q.displayName = "Checkbox";
|
|
502
|
+
const K = (r) => {
|
|
503
|
+
const { id: i, className: c, size: n = "lg", children: a, ...s } = r, o = y.useId(), u = i || o, d = y.useContext(E);
|
|
504
|
+
d.isRequired && (s.required = !0), d.groupName && (s.name = d.groupName);
|
|
505
|
+
const b = `
|
|
506
|
+
peer
|
|
507
|
+
sr-only
|
|
508
|
+
`, f = `
|
|
509
|
+
bg-clip-content
|
|
510
|
+
rounded-full
|
|
511
|
+
border
|
|
512
|
+
border-solid
|
|
513
|
+
border-solid-gray-900
|
|
514
|
+
peer-checked:bg-blue-600
|
|
515
|
+
peer-checked:border-blue-600
|
|
516
|
+
peer-disabled:border-solid-gray-500
|
|
517
|
+
${T.Peer.focusRect}
|
|
518
|
+
`, h = {
|
|
519
|
+
lg: "p-1",
|
|
520
|
+
md: "p-[3px]",
|
|
521
|
+
sm: "p-[3px]"
|
|
522
|
+
};
|
|
523
|
+
return /* @__PURE__ */ t.jsx(
|
|
524
|
+
"label",
|
|
525
|
+
{
|
|
526
|
+
htmlFor: u,
|
|
527
|
+
className: v(
|
|
528
|
+
H,
|
|
529
|
+
X[n],
|
|
530
|
+
c
|
|
531
|
+
),
|
|
532
|
+
children: /* @__PURE__ */ t.jsxs("span", { className: "flex items-center", children: [
|
|
533
|
+
/* @__PURE__ */ t.jsx(
|
|
534
|
+
"input",
|
|
535
|
+
{
|
|
536
|
+
id: u,
|
|
537
|
+
className: b,
|
|
538
|
+
type: "radio",
|
|
539
|
+
"aria-describedby": d.helperTextId,
|
|
540
|
+
"aria-errormessage": d.errorMessageId,
|
|
541
|
+
"aria-invalid": d.isInvalid ?? !1,
|
|
542
|
+
"aria-required": d.isRequired ?? !1,
|
|
543
|
+
...s
|
|
544
|
+
}
|
|
545
|
+
),
|
|
546
|
+
/* @__PURE__ */ t.jsx(
|
|
547
|
+
"span",
|
|
548
|
+
{
|
|
549
|
+
"aria-hidden": !0,
|
|
550
|
+
className: v(f, h[n], Z[n])
|
|
551
|
+
}
|
|
552
|
+
),
|
|
553
|
+
/* @__PURE__ */ t.jsx("span", { className: "peer-disabled:text-solid-gray-500", children: a })
|
|
554
|
+
] })
|
|
555
|
+
}
|
|
556
|
+
);
|
|
557
|
+
};
|
|
558
|
+
K.displayName = "Radio";
|
|
559
|
+
const me = (r) => {
|
|
560
|
+
const { id: i, className: c, size: n = "lg", children: a, ...s } = r, o = y.useContext(E);
|
|
561
|
+
return o.isRequired && (s.required = !0), /* @__PURE__ */ t.jsxs("div", { className: "inline-block relative", children: [
|
|
562
|
+
/* @__PURE__ */ t.jsx(
|
|
563
|
+
"select",
|
|
2298
564
|
{
|
|
2299
|
-
|
|
2300
|
-
className:
|
|
2301
|
-
|
|
2302
|
-
|
|
2303
|
-
|
|
565
|
+
id: i || o.id,
|
|
566
|
+
className: v(
|
|
567
|
+
`
|
|
568
|
+
!pr-8
|
|
569
|
+
peer
|
|
570
|
+
cursor-pointer
|
|
571
|
+
appearance-none
|
|
572
|
+
`,
|
|
573
|
+
J,
|
|
574
|
+
V[n],
|
|
575
|
+
c
|
|
2304
576
|
),
|
|
2305
|
-
|
|
2306
|
-
|
|
2307
|
-
|
|
2308
|
-
|
|
2309
|
-
|
|
2310
|
-
|
|
2311
|
-
type: "checkbox",
|
|
2312
|
-
"aria-describedby": p.helperTextId,
|
|
2313
|
-
"aria-errormessage": p.errorMessageId,
|
|
2314
|
-
"aria-invalid": p.isInvalid ?? !1,
|
|
2315
|
-
"aria-required": p.isRequired ?? !1,
|
|
2316
|
-
...v,
|
|
2317
|
-
ref: c
|
|
2318
|
-
}
|
|
2319
|
-
),
|
|
2320
|
-
/* @__PURE__ */ b.jsx("span", { className: le(x, Ot[P]), children: /* @__PURE__ */ b.jsx(
|
|
2321
|
-
"svg",
|
|
2322
|
-
{
|
|
2323
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
2324
|
-
"aria-hidden": !0,
|
|
2325
|
-
width: "24",
|
|
2326
|
-
height: "24",
|
|
2327
|
-
viewBox: "0 0 24 24",
|
|
2328
|
-
children: /* @__PURE__ */ b.jsx("g", { transform: `scale(${D[P]} ${D[P]})`, children: /* @__PURE__ */ b.jsx("path", { d: "m9.55 17.65-5.325-5.325 1.05-1.075 4.275 4.275 9.175-9.175 1.05 1.075Z" }) })
|
|
2329
|
-
}
|
|
2330
|
-
) }),
|
|
2331
|
-
/* @__PURE__ */ b.jsx("span", { className: "peer-disabled:text-sumi-500", children: C })
|
|
2332
|
-
] })
|
|
577
|
+
"aria-describedby": o.helperTextId,
|
|
578
|
+
"aria-errormessage": o.errorMessageId,
|
|
579
|
+
"aria-invalid": o.isInvalid ?? !1,
|
|
580
|
+
"aria-required": o.isRequired ?? !1,
|
|
581
|
+
...s,
|
|
582
|
+
children: a
|
|
2333
583
|
}
|
|
2334
|
-
)
|
|
2335
|
-
|
|
2336
|
-
|
|
2337
|
-
Pt.displayName = "Checkbox";
|
|
2338
|
-
const Tt = B.forwardRef(
|
|
2339
|
-
(d, c) => {
|
|
2340
|
-
const { id: k, className: I, size: P = "lg", children: C, ...v } = d, g = k || B.useId(), p = B.useContext(ke);
|
|
2341
|
-
p.isRequired && (v.required = !0), p.groupName && (v.name = p.groupName);
|
|
2342
|
-
const D = `
|
|
2343
|
-
peer
|
|
2344
|
-
sr-only
|
|
2345
|
-
`, E = `
|
|
2346
|
-
bg-clip-content
|
|
2347
|
-
rounded-full
|
|
2348
|
-
border
|
|
2349
|
-
border-solid
|
|
2350
|
-
border-sumi-900
|
|
2351
|
-
peer-checked:bg-sea-600
|
|
2352
|
-
peer-checked:border-sea-600
|
|
2353
|
-
peer-disabled:border-sumi-500
|
|
2354
|
-
${je.Peer.focusRect}
|
|
2355
|
-
`, x = {
|
|
2356
|
-
lg: "p-1",
|
|
2357
|
-
md: "p-[3px]",
|
|
2358
|
-
sm: "p-[3px]"
|
|
2359
|
-
};
|
|
2360
|
-
return /* @__PURE__ */ b.jsx(
|
|
2361
|
-
"label",
|
|
584
|
+
),
|
|
585
|
+
/* @__PURE__ */ t.jsxs(
|
|
586
|
+
"svg",
|
|
2362
587
|
{
|
|
2363
|
-
|
|
2364
|
-
|
|
2365
|
-
|
|
2366
|
-
|
|
2367
|
-
|
|
2368
|
-
|
|
2369
|
-
|
|
2370
|
-
|
|
2371
|
-
|
|
2372
|
-
|
|
2373
|
-
|
|
2374
|
-
|
|
2375
|
-
|
|
2376
|
-
|
|
2377
|
-
|
|
2378
|
-
|
|
2379
|
-
|
|
2380
|
-
|
|
2381
|
-
|
|
2382
|
-
}
|
|
2383
|
-
),
|
|
2384
|
-
/* @__PURE__ */ b.jsx(
|
|
2385
|
-
"span",
|
|
588
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
589
|
+
"aria-hidden": !0,
|
|
590
|
+
className: `
|
|
591
|
+
pointer-events-none
|
|
592
|
+
absolute
|
|
593
|
+
right-4
|
|
594
|
+
top-1/2
|
|
595
|
+
-translate-y-1/2
|
|
596
|
+
text-solid-gray-900
|
|
597
|
+
peer-disabled:text-solid-gray-500
|
|
598
|
+
`,
|
|
599
|
+
fill: "none",
|
|
600
|
+
width: "16",
|
|
601
|
+
height: "16",
|
|
602
|
+
viewBox: "0 0 16 16",
|
|
603
|
+
children: [
|
|
604
|
+
/* @__PURE__ */ t.jsx("title", { children: "arrow down" }),
|
|
605
|
+
/* @__PURE__ */ t.jsx(
|
|
606
|
+
"path",
|
|
2386
607
|
{
|
|
2387
|
-
"
|
|
2388
|
-
|
|
608
|
+
d: "M12 15.05 6.35 9.4 7.4 8.35l4.6 4.6 4.6-4.6 1.05 1.05Z",
|
|
609
|
+
fill: "currentColor"
|
|
2389
610
|
}
|
|
2390
|
-
)
|
|
2391
|
-
|
|
2392
|
-
] })
|
|
611
|
+
)
|
|
612
|
+
]
|
|
2393
613
|
}
|
|
2394
|
-
)
|
|
2395
|
-
}
|
|
2396
|
-
|
|
2397
|
-
|
|
2398
|
-
const
|
|
2399
|
-
|
|
2400
|
-
|
|
2401
|
-
|
|
2402
|
-
|
|
2403
|
-
|
|
2404
|
-
|
|
2405
|
-
|
|
2406
|
-
|
|
2407
|
-
|
|
2408
|
-
|
|
2409
|
-
|
|
2410
|
-
|
|
2411
|
-
|
|
614
|
+
)
|
|
615
|
+
] });
|
|
616
|
+
};
|
|
617
|
+
me.displayName = "Select";
|
|
618
|
+
const ge = (r) => {
|
|
619
|
+
const { id: i, className: c, size: n = "lg", ...a } = r, s = y.useContext(E);
|
|
620
|
+
s.isRequired && (a.required = !0);
|
|
621
|
+
const o = `
|
|
622
|
+
file:mr-2
|
|
623
|
+
file:inline-block
|
|
624
|
+
file:text-button
|
|
625
|
+
file:text-center
|
|
626
|
+
file:cursor-pointer
|
|
627
|
+
file:select-none
|
|
628
|
+
file:touch-manipulation
|
|
629
|
+
file:whitespace-nowrap
|
|
630
|
+
file:border
|
|
631
|
+
file:border-solid
|
|
632
|
+
file:border-blue-900
|
|
633
|
+
file:hover:border-blue-1000
|
|
634
|
+
file:active:border-blue-1200
|
|
635
|
+
file:disabled:border-solid-gray-500
|
|
636
|
+
file:disabled:cursor-not-allowed
|
|
637
|
+
`, u = `
|
|
638
|
+
file:text-blue-900
|
|
639
|
+
file:hover:text-blue-1000
|
|
640
|
+
file:active:text-blue-1200
|
|
641
|
+
file:bg-transparent
|
|
642
|
+
file:hover:bg-blue-200
|
|
643
|
+
file:active:bg-blue-300
|
|
644
|
+
file:disabled:text-solid-gray-500
|
|
645
|
+
file:disabled:bg-transparent
|
|
646
|
+
`, d = `
|
|
647
|
+
text-label
|
|
648
|
+
text-solid-gray-900
|
|
649
|
+
rounded-lg
|
|
650
|
+
outline-offset-2
|
|
651
|
+
aria-invalid:text-red-800
|
|
652
|
+
${T.hoverUnderline}
|
|
653
|
+
${T.focusRounded}
|
|
654
|
+
`, b = {
|
|
655
|
+
// 16(p-4) * 2 + 22(text-button * leading-snug) + boader * 2 = 56px
|
|
656
|
+
lg: `
|
|
657
|
+
file:p-4
|
|
658
|
+
file:text-button
|
|
659
|
+
file:rounded-lg
|
|
660
|
+
file:leading-snug
|
|
2412
661
|
`,
|
|
2413
|
-
|
|
2414
|
-
|
|
2415
|
-
|
|
2416
|
-
|
|
2417
|
-
|
|
2418
|
-
|
|
2419
|
-
|
|
2420
|
-
"aria-required": g.isRequired ?? !1,
|
|
2421
|
-
...v,
|
|
2422
|
-
ref: c,
|
|
2423
|
-
children: C
|
|
2424
|
-
}
|
|
2425
|
-
),
|
|
2426
|
-
/* @__PURE__ */ b.jsxs(
|
|
2427
|
-
"svg",
|
|
2428
|
-
{
|
|
2429
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
2430
|
-
"aria-hidden": !0,
|
|
2431
|
-
className: `
|
|
2432
|
-
pointer-events-none
|
|
2433
|
-
absolute
|
|
2434
|
-
right-4
|
|
2435
|
-
top-1/2
|
|
2436
|
-
-translate-y-1/2
|
|
2437
|
-
text-sumi-900
|
|
2438
|
-
peer-disabled:text-sumi-500
|
|
662
|
+
// 12(py-3) * 2 + 22(text-button * leading-snug) + boader * 2 = 48px
|
|
663
|
+
md: `
|
|
664
|
+
file:px-4
|
|
665
|
+
file:py-3
|
|
666
|
+
file:text-button
|
|
667
|
+
file:rounded-lg
|
|
668
|
+
file:leading-snug
|
|
2439
669
|
`,
|
|
2440
|
-
|
|
2441
|
-
|
|
2442
|
-
|
|
2443
|
-
|
|
2444
|
-
children: [
|
|
2445
|
-
/* @__PURE__ */ b.jsx("title", { children: "arrow down" }),
|
|
2446
|
-
/* @__PURE__ */ b.jsx(
|
|
2447
|
-
"path",
|
|
2448
|
-
{
|
|
2449
|
-
d: "M12 15.05 6.35 9.4 7.4 8.35l4.6 4.6 4.6-4.6 1.05 1.05Z",
|
|
2450
|
-
fill: "currentColor"
|
|
2451
|
-
}
|
|
2452
|
-
)
|
|
2453
|
-
]
|
|
2454
|
-
}
|
|
2455
|
-
)
|
|
2456
|
-
] });
|
|
2457
|
-
}
|
|
2458
|
-
), an = B.forwardRef(
|
|
2459
|
-
(d, c) => {
|
|
2460
|
-
const { id: k, className: I, size: P = "lg", ...C } = d, v = B.useContext(ke);
|
|
2461
|
-
v.isRequired && (C.required = !0);
|
|
2462
|
-
const g = `
|
|
2463
|
-
file:mr-2
|
|
2464
|
-
file:inline-block
|
|
670
|
+
// 8(py-2) * 2 + 22(text-button * leading-snug) + boader * 2 = 40px
|
|
671
|
+
sm: `
|
|
672
|
+
file:px-3
|
|
673
|
+
file:py-2
|
|
2465
674
|
file:text-button
|
|
2466
|
-
file:
|
|
2467
|
-
file:
|
|
2468
|
-
|
|
2469
|
-
|
|
2470
|
-
|
|
2471
|
-
|
|
2472
|
-
|
|
2473
|
-
file
|
|
2474
|
-
|
|
2475
|
-
|
|
2476
|
-
|
|
2477
|
-
|
|
2478
|
-
|
|
2479
|
-
|
|
2480
|
-
|
|
2481
|
-
|
|
2482
|
-
|
|
2483
|
-
|
|
2484
|
-
|
|
2485
|
-
|
|
2486
|
-
|
|
2487
|
-
|
|
2488
|
-
|
|
2489
|
-
|
|
2490
|
-
|
|
2491
|
-
|
|
2492
|
-
|
|
2493
|
-
|
|
2494
|
-
|
|
2495
|
-
|
|
2496
|
-
|
|
2497
|
-
|
|
2498
|
-
|
|
2499
|
-
|
|
2500
|
-
|
|
2501
|
-
|
|
2502
|
-
|
|
2503
|
-
|
|
2504
|
-
|
|
2505
|
-
|
|
2506
|
-
|
|
2507
|
-
|
|
2508
|
-
|
|
2509
|
-
|
|
2510
|
-
|
|
2511
|
-
|
|
2512
|
-
|
|
2513
|
-
|
|
2514
|
-
file:py-2
|
|
2515
|
-
file:text-button
|
|
2516
|
-
file:rounded-md
|
|
2517
|
-
file:leading-snug
|
|
2518
|
-
`
|
|
2519
|
-
};
|
|
2520
|
-
return /* @__PURE__ */ b.jsx(
|
|
2521
|
-
"input",
|
|
2522
|
-
{
|
|
2523
|
-
type: "file",
|
|
2524
|
-
id: k || v.id,
|
|
2525
|
-
className: le(g, p, E[P], D, I),
|
|
2526
|
-
"aria-describedby": v.helperTextId,
|
|
2527
|
-
"aria-errormessage": v.errorMessageId,
|
|
2528
|
-
"aria-invalid": v.isInvalid ?? !1,
|
|
2529
|
-
"aria-required": v.isRequired ?? !1,
|
|
2530
|
-
ref: c,
|
|
2531
|
-
...C
|
|
2532
|
-
}
|
|
2533
|
-
);
|
|
2534
|
-
}
|
|
2535
|
-
);
|
|
2536
|
-
an.displayName = "FileInput";
|
|
2537
|
-
const sn = B.forwardRef(
|
|
2538
|
-
(d, c) => {
|
|
2539
|
-
const { id: k, className: I, size: P = "lg", ...C } = d, v = B.useContext(ke);
|
|
2540
|
-
return v.isRequired && (C.required = !0), /* @__PURE__ */ b.jsx(
|
|
2541
|
-
"input",
|
|
2542
|
-
{
|
|
2543
|
-
type: "text",
|
|
2544
|
-
id: k || v.id,
|
|
2545
|
-
className: le(
|
|
2546
|
-
St,
|
|
2547
|
-
Ct[P],
|
|
2548
|
-
I
|
|
2549
|
-
),
|
|
2550
|
-
"aria-describedby": v.helperTextId,
|
|
2551
|
-
"aria-errormessage": v.errorMessageId,
|
|
2552
|
-
"aria-invalid": v.isInvalid ?? !1,
|
|
2553
|
-
"aria-required": v.isRequired ?? !1,
|
|
2554
|
-
ref: c,
|
|
2555
|
-
...C
|
|
2556
|
-
}
|
|
2557
|
-
);
|
|
2558
|
-
}
|
|
2559
|
-
);
|
|
2560
|
-
sn.displayName = "Input";
|
|
2561
|
-
const un = B.forwardRef(
|
|
2562
|
-
(d, c) => {
|
|
2563
|
-
const { id: k, className: I, children: P, onChange: C, maxLength: v, ...g } = d, [p, D] = B.useState(0), E = (ee) => {
|
|
2564
|
-
C && C(ee), D(ee.target.value.length);
|
|
2565
|
-
}, x = B.useContext(ke);
|
|
2566
|
-
x.isRequired && (g.required = !0);
|
|
2567
|
-
const J = p > (v || 0) ? "text-sun-800" : "text-sumi-700", L = `
|
|
675
|
+
file:rounded-md
|
|
676
|
+
file:leading-snug
|
|
677
|
+
`
|
|
678
|
+
};
|
|
679
|
+
return /* @__PURE__ */ t.jsx(
|
|
680
|
+
"input",
|
|
681
|
+
{
|
|
682
|
+
type: "file",
|
|
683
|
+
id: i || s.id,
|
|
684
|
+
className: v(o, u, b[n], d, c),
|
|
685
|
+
"aria-describedby": s.helperTextId,
|
|
686
|
+
"aria-errormessage": s.errorMessageId,
|
|
687
|
+
"aria-invalid": s.isInvalid ?? !1,
|
|
688
|
+
"aria-required": s.isRequired ?? !1,
|
|
689
|
+
role: "button",
|
|
690
|
+
"aria-label": "File Upload",
|
|
691
|
+
...a
|
|
692
|
+
}
|
|
693
|
+
);
|
|
694
|
+
};
|
|
695
|
+
ge.displayName = "FileInput";
|
|
696
|
+
const he = (r) => {
|
|
697
|
+
const { id: i, className: c, size: n = "lg", ...a } = r, s = y.useContext(E);
|
|
698
|
+
return s.isRequired && (a.required = !0), /* @__PURE__ */ t.jsx(
|
|
699
|
+
"input",
|
|
700
|
+
{
|
|
701
|
+
type: "text",
|
|
702
|
+
id: i || s.id,
|
|
703
|
+
className: v(
|
|
704
|
+
J,
|
|
705
|
+
V[n],
|
|
706
|
+
c
|
|
707
|
+
),
|
|
708
|
+
"aria-describedby": s.helperTextId,
|
|
709
|
+
"aria-errormessage": s.errorMessageId,
|
|
710
|
+
"aria-invalid": s.isInvalid ?? !1,
|
|
711
|
+
"aria-required": s.isRequired ?? !1,
|
|
712
|
+
...a
|
|
713
|
+
}
|
|
714
|
+
);
|
|
715
|
+
};
|
|
716
|
+
he.displayName = "Input";
|
|
717
|
+
const ve = (r) => {
|
|
718
|
+
const { id: i, className: c, children: n, onChange: a, maxLength: s, ...o } = r, [u, d] = y.useState(0), b = (R) => {
|
|
719
|
+
a && a(R), d(R.target.value.length);
|
|
720
|
+
}, f = y.useContext(E);
|
|
721
|
+
f.isRequired && (o.required = !0);
|
|
722
|
+
const h = u > (s || 0) ? "text-red-800" : "text-solid-gray-700", x = `
|
|
2568
723
|
p-4
|
|
2569
724
|
text-label
|
|
2570
725
|
rounded-lg
|
|
2571
726
|
border
|
|
2572
727
|
border-solid
|
|
2573
|
-
border-
|
|
728
|
+
border-solid-gray-900
|
|
2574
729
|
disabled:bg-transparent
|
|
2575
|
-
disabled:text-
|
|
2576
|
-
disabled:border-
|
|
2577
|
-
aria-invalid:border-
|
|
2578
|
-
${
|
|
730
|
+
disabled:text-solid-gray-500
|
|
731
|
+
disabled:border-solid-gray-500
|
|
732
|
+
aria-invalid:border-red-800
|
|
733
|
+
${T.focusRect}
|
|
2579
734
|
`;
|
|
2580
|
-
|
|
2581
|
-
|
|
2582
|
-
|
|
2583
|
-
|
|
2584
|
-
|
|
2585
|
-
|
|
2586
|
-
|
|
2587
|
-
|
|
2588
|
-
|
|
2589
|
-
|
|
2590
|
-
|
|
2591
|
-
|
|
2592
|
-
|
|
2593
|
-
|
|
2594
|
-
|
|
2595
|
-
|
|
2596
|
-
|
|
2597
|
-
|
|
2598
|
-
|
|
2599
|
-
|
|
2600
|
-
|
|
2601
|
-
|
|
2602
|
-
|
|
2603
|
-
)
|
|
2604
|
-
|
|
2605
|
-
|
|
2606
|
-
|
|
2607
|
-
|
|
2608
|
-
|
|
2609
|
-
|
|
2610
|
-
|
|
2611
|
-
|
|
2612
|
-
|
|
2613
|
-
|
|
2614
|
-
|
|
2615
|
-
|
|
2616
|
-
|
|
2617
|
-
|
|
2618
|
-
|
|
2619
|
-
isInvalid: g ?? !1,
|
|
2620
|
-
isRequired: p ?? !1
|
|
735
|
+
return /* @__PURE__ */ t.jsxs(t.Fragment, { children: [
|
|
736
|
+
/* @__PURE__ */ t.jsx(
|
|
737
|
+
"textarea",
|
|
738
|
+
{
|
|
739
|
+
id: i || f.id,
|
|
740
|
+
className: v(x, c),
|
|
741
|
+
"aria-describedby": f.helperTextId,
|
|
742
|
+
"aria-errormessage": f.errorMessageId,
|
|
743
|
+
"aria-invalid": f.isInvalid ?? !1,
|
|
744
|
+
"aria-required": f.isRequired ?? !1,
|
|
745
|
+
onChange: b,
|
|
746
|
+
...o,
|
|
747
|
+
children: n
|
|
748
|
+
}
|
|
749
|
+
),
|
|
750
|
+
s ? /* @__PURE__ */ t.jsxs("p", { className: "text-label text-solid-gray-700", children: [
|
|
751
|
+
/* @__PURE__ */ t.jsx("span", { className: h, children: u }),
|
|
752
|
+
"/",
|
|
753
|
+
/* @__PURE__ */ t.jsx("span", { children: s })
|
|
754
|
+
] }) : ""
|
|
755
|
+
] });
|
|
756
|
+
};
|
|
757
|
+
ve.displayName = "Textarea";
|
|
758
|
+
const ye = (r) => {
|
|
759
|
+
const i = y.useId(), {
|
|
760
|
+
labelText: c,
|
|
761
|
+
className: n,
|
|
762
|
+
helperText: a,
|
|
763
|
+
errorMessage: s,
|
|
764
|
+
isInvalid: o,
|
|
765
|
+
isRequired: u,
|
|
766
|
+
children: d,
|
|
767
|
+
...b
|
|
768
|
+
} = r, f = {
|
|
769
|
+
id: r.htmlFor ?? `input-${i}`,
|
|
770
|
+
helperTextId: `helper-text-${i}`,
|
|
771
|
+
errorMessageId: `error-message-${i}`,
|
|
772
|
+
isInvalid: o ?? !1,
|
|
773
|
+
isRequired: u ?? !1
|
|
2621
774
|
};
|
|
2622
|
-
return /* @__PURE__ */
|
|
2623
|
-
/* @__PURE__ */
|
|
775
|
+
return /* @__PURE__ */ t.jsx(E.Provider, { value: f, children: /* @__PURE__ */ t.jsxs("div", { className: v("flex flex-col items-start gap-2", n), children: [
|
|
776
|
+
/* @__PURE__ */ t.jsxs(
|
|
2624
777
|
"label",
|
|
2625
778
|
{
|
|
2626
|
-
className:
|
|
2627
|
-
htmlFor:
|
|
2628
|
-
|
|
2629
|
-
...E,
|
|
779
|
+
className: v("block text-label", o && "text-red-800"),
|
|
780
|
+
htmlFor: f.id,
|
|
781
|
+
...b,
|
|
2630
782
|
children: [
|
|
2631
|
-
|
|
2632
|
-
|
|
783
|
+
c,
|
|
784
|
+
u && /* @__PURE__ */ t.jsx("span", { className: "text-label text-red-800", children: " *" })
|
|
2633
785
|
]
|
|
2634
786
|
}
|
|
2635
787
|
),
|
|
2636
|
-
|
|
2637
|
-
text-label text-
|
|
2638
|
-
`, children:
|
|
2639
|
-
|
|
2640
|
-
|
|
2641
|
-
text-label text-
|
|
2642
|
-
`, children:
|
|
788
|
+
a && /* @__PURE__ */ t.jsx("p", { id: f.helperTextId, className: `
|
|
789
|
+
text-label text-solid-gray-700
|
|
790
|
+
`, children: a }),
|
|
791
|
+
d,
|
|
792
|
+
o && /* @__PURE__ */ t.jsx("p", { id: f.errorMessageId, className: `
|
|
793
|
+
text-label text-red-800
|
|
794
|
+
`, children: s })
|
|
2643
795
|
] }) });
|
|
2644
|
-
}
|
|
2645
|
-
|
|
2646
|
-
const
|
|
2647
|
-
const
|
|
2648
|
-
labelText:
|
|
2649
|
-
className:
|
|
2650
|
-
helperText:
|
|
2651
|
-
errorMessage:
|
|
2652
|
-
isInvalid:
|
|
2653
|
-
isRequired:
|
|
2654
|
-
direction:
|
|
2655
|
-
children:
|
|
2656
|
-
...
|
|
2657
|
-
} =
|
|
2658
|
-
groupName:
|
|
2659
|
-
helperTextId: `helper-text-${
|
|
2660
|
-
errorMessageId: `error-message-${
|
|
2661
|
-
isInvalid:
|
|
2662
|
-
isRequired:
|
|
2663
|
-
},
|
|
2664
|
-
return /* @__PURE__ */
|
|
796
|
+
};
|
|
797
|
+
ye.displayName = "LabelControl";
|
|
798
|
+
const q = (r) => {
|
|
799
|
+
const i = y.useId(), {
|
|
800
|
+
labelText: c,
|
|
801
|
+
className: n,
|
|
802
|
+
helperText: a,
|
|
803
|
+
errorMessage: s,
|
|
804
|
+
isInvalid: o,
|
|
805
|
+
isRequired: u,
|
|
806
|
+
direction: d,
|
|
807
|
+
children: b,
|
|
808
|
+
...f
|
|
809
|
+
} = r, x = {
|
|
810
|
+
groupName: f.name ?? `group-${i}`,
|
|
811
|
+
helperTextId: `helper-text-${i}`,
|
|
812
|
+
errorMessageId: `error-message-${i}`,
|
|
813
|
+
isInvalid: o ?? !1,
|
|
814
|
+
isRequired: u ?? !1
|
|
815
|
+
}, R = d ?? "flex-col";
|
|
816
|
+
return /* @__PURE__ */ t.jsx(E.Provider, { value: x, children: /* @__PURE__ */ t.jsxs(
|
|
2665
817
|
"fieldset",
|
|
2666
818
|
{
|
|
2667
|
-
className:
|
|
2668
|
-
|
|
2669
|
-
...x,
|
|
819
|
+
className: v("flex flex-col items-start gap-2", n),
|
|
820
|
+
...f,
|
|
2670
821
|
children: [
|
|
2671
|
-
/* @__PURE__ */
|
|
2672
|
-
|
|
2673
|
-
|
|
822
|
+
/* @__PURE__ */ t.jsx("legend", { children: /* @__PURE__ */ t.jsxs("p", { className: v("block text-label", o && "text-red-800"), children: [
|
|
823
|
+
c,
|
|
824
|
+
u && /* @__PURE__ */ t.jsx("span", { className: "text-red-800", children: " *" })
|
|
2674
825
|
] }) }),
|
|
2675
|
-
/* @__PURE__ */
|
|
2676
|
-
|
|
2677
|
-
|
|
826
|
+
/* @__PURE__ */ t.jsx("div", { className: v("inline-flex", R), children: b }),
|
|
827
|
+
a && /* @__PURE__ */ t.jsx("p", { id: x.helperTextId, className: "text-sup text-solid-gray-700", children: a }),
|
|
828
|
+
o && /* @__PURE__ */ t.jsx("p", { id: x.errorMessageId, className: "text-label text-red-800", children: s })
|
|
2678
829
|
]
|
|
2679
830
|
}
|
|
2680
831
|
) });
|
|
2681
|
-
}
|
|
2682
|
-
|
|
2683
|
-
const
|
|
832
|
+
};
|
|
833
|
+
q.displayName = "FieldsetControl";
|
|
834
|
+
const Re = (r) => {
|
|
2684
835
|
const {
|
|
2685
|
-
items:
|
|
2686
|
-
onChange:
|
|
2687
|
-
className:
|
|
2688
|
-
labelText:
|
|
2689
|
-
helperText:
|
|
2690
|
-
errorMessage:
|
|
2691
|
-
isInvalid:
|
|
2692
|
-
isRequired:
|
|
2693
|
-
size:
|
|
2694
|
-
...
|
|
2695
|
-
} =
|
|
2696
|
-
return /* @__PURE__ */
|
|
2697
|
-
|
|
836
|
+
items: i,
|
|
837
|
+
onChange: c,
|
|
838
|
+
className: n,
|
|
839
|
+
labelText: a,
|
|
840
|
+
helperText: s,
|
|
841
|
+
errorMessage: o,
|
|
842
|
+
isInvalid: u,
|
|
843
|
+
isRequired: d,
|
|
844
|
+
size: b,
|
|
845
|
+
...f
|
|
846
|
+
} = r;
|
|
847
|
+
return /* @__PURE__ */ t.jsx(
|
|
848
|
+
q,
|
|
2698
849
|
{
|
|
2699
|
-
className:
|
|
2700
|
-
labelText:
|
|
2701
|
-
helperText:
|
|
2702
|
-
errorMessage:
|
|
2703
|
-
isInvalid:
|
|
2704
|
-
isRequired:
|
|
2705
|
-
|
|
2706
|
-
|
|
2707
|
-
|
|
2708
|
-
Pt,
|
|
850
|
+
className: n,
|
|
851
|
+
labelText: a,
|
|
852
|
+
helperText: s,
|
|
853
|
+
errorMessage: o,
|
|
854
|
+
isInvalid: u,
|
|
855
|
+
isRequired: d,
|
|
856
|
+
...f,
|
|
857
|
+
children: i.map(({ label: h, value: x }) => /* @__PURE__ */ t.jsx(
|
|
858
|
+
Q,
|
|
2709
859
|
{
|
|
2710
|
-
size:
|
|
2711
|
-
value:
|
|
2712
|
-
onChange:
|
|
2713
|
-
children:
|
|
860
|
+
size: b,
|
|
861
|
+
value: x,
|
|
862
|
+
onChange: c,
|
|
863
|
+
children: h
|
|
2714
864
|
},
|
|
2715
|
-
`${
|
|
865
|
+
`${h}-${x}`
|
|
2716
866
|
))
|
|
2717
867
|
}
|
|
2718
868
|
);
|
|
2719
|
-
}
|
|
2720
|
-
|
|
2721
|
-
const
|
|
869
|
+
};
|
|
870
|
+
Re.displayName = "CheckboxGroup";
|
|
871
|
+
const Ne = (r) => {
|
|
2722
872
|
const {
|
|
2723
|
-
items:
|
|
2724
|
-
onChange:
|
|
2725
|
-
className:
|
|
2726
|
-
labelText:
|
|
2727
|
-
helperText:
|
|
2728
|
-
errorMessage:
|
|
2729
|
-
isInvalid:
|
|
2730
|
-
isRequired:
|
|
2731
|
-
defaultValue:
|
|
2732
|
-
size:
|
|
2733
|
-
...
|
|
2734
|
-
} =
|
|
2735
|
-
return /* @__PURE__ */
|
|
2736
|
-
|
|
873
|
+
items: i,
|
|
874
|
+
onChange: c,
|
|
875
|
+
className: n,
|
|
876
|
+
labelText: a,
|
|
877
|
+
helperText: s,
|
|
878
|
+
errorMessage: o,
|
|
879
|
+
isInvalid: u,
|
|
880
|
+
isRequired: d,
|
|
881
|
+
defaultValue: b,
|
|
882
|
+
size: f,
|
|
883
|
+
...h
|
|
884
|
+
} = r;
|
|
885
|
+
return /* @__PURE__ */ t.jsx(
|
|
886
|
+
q,
|
|
2737
887
|
{
|
|
2738
|
-
className:
|
|
2739
|
-
labelText:
|
|
2740
|
-
helperText:
|
|
2741
|
-
errorMessage:
|
|
2742
|
-
isInvalid:
|
|
2743
|
-
isRequired:
|
|
2744
|
-
|
|
2745
|
-
|
|
2746
|
-
|
|
2747
|
-
Tt,
|
|
888
|
+
className: n,
|
|
889
|
+
labelText: a,
|
|
890
|
+
helperText: s,
|
|
891
|
+
errorMessage: o,
|
|
892
|
+
isInvalid: u,
|
|
893
|
+
isRequired: d,
|
|
894
|
+
...h,
|
|
895
|
+
children: i.map(({ label: x, value: R }) => /* @__PURE__ */ t.jsx(
|
|
896
|
+
K,
|
|
2748
897
|
{
|
|
2749
|
-
size:
|
|
2750
|
-
value:
|
|
2751
|
-
onChange:
|
|
2752
|
-
defaultChecked:
|
|
2753
|
-
children:
|
|
898
|
+
size: f,
|
|
899
|
+
value: R,
|
|
900
|
+
onChange: c,
|
|
901
|
+
defaultChecked: b === R,
|
|
902
|
+
children: x
|
|
2754
903
|
},
|
|
2755
|
-
`${
|
|
904
|
+
`${x}-${R}`
|
|
2756
905
|
))
|
|
2757
906
|
}
|
|
2758
907
|
);
|
|
2759
|
-
}
|
|
2760
|
-
|
|
908
|
+
};
|
|
909
|
+
Ne.displayName = "RadioGroup";
|
|
2761
910
|
export {
|
|
2762
|
-
|
|
2763
|
-
|
|
2764
|
-
|
|
2765
|
-
|
|
2766
|
-
|
|
2767
|
-
|
|
2768
|
-
|
|
2769
|
-
|
|
2770
|
-
|
|
2771
|
-
|
|
911
|
+
Q as Checkbox,
|
|
912
|
+
Re as CheckboxGroup,
|
|
913
|
+
q as FieldsetControl,
|
|
914
|
+
ge as FileInput,
|
|
915
|
+
he as Input,
|
|
916
|
+
ye as LabelControl,
|
|
917
|
+
K as Radio,
|
|
918
|
+
Ne as RadioGroup,
|
|
919
|
+
me as Select,
|
|
920
|
+
ve as Textarea
|
|
2772
921
|
};
|