norma-library 0.1.7 → 0.1.8

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.
@@ -0,0 +1,1772 @@
1
+ import he, { useRef as Xr, useDebugValue as zt, createElement as Kr, useContext as Jr } from "react";
2
+ var z = function() {
3
+ return z = Object.assign || function(t) {
4
+ for (var r, o = 1, a = arguments.length; o < a; o++) {
5
+ r = arguments[o];
6
+ for (var s in r)
7
+ Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
8
+ }
9
+ return t;
10
+ }, z.apply(this, arguments);
11
+ };
12
+ function _e(e, t, r) {
13
+ if (r || arguments.length === 2)
14
+ for (var o = 0, a = t.length, s; o < a; o++)
15
+ (s || !(o in t)) && (s || (s = Array.prototype.slice.call(t, 0, o)), s[o] = t[o]);
16
+ return e.concat(s || Array.prototype.slice.call(t));
17
+ }
18
+ function Zr(e) {
19
+ var t = /* @__PURE__ */ Object.create(null);
20
+ return function(r) {
21
+ return t[r] === void 0 && (t[r] = e(r)), t[r];
22
+ };
23
+ }
24
+ var Qr = /^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|download|draggable|encType|enterKeyHint|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/, en = /* @__PURE__ */ Zr(
25
+ function(e) {
26
+ return Qr.test(e) || e.charCodeAt(0) === 111 && e.charCodeAt(1) === 110 && e.charCodeAt(2) < 91;
27
+ }
28
+ ), A = "-ms-", je = "-moz-", k = "-webkit-", sr = "comm", Ke = "rule", St = "decl", tn = "@import", cr = "@keyframes", rn = "@layer", nn = Math.abs, Et = String.fromCharCode, pt = Object.assign;
29
+ function on(e, t) {
30
+ return F(e, 0) ^ 45 ? (((t << 2 ^ F(e, 0)) << 2 ^ F(e, 1)) << 2 ^ F(e, 2)) << 2 ^ F(e, 3) : 0;
31
+ }
32
+ function ur(e) {
33
+ return e.trim();
34
+ }
35
+ function re(e, t) {
36
+ return (e = t.exec(e)) ? e[0] : e;
37
+ }
38
+ function y(e, t, r) {
39
+ return e.replace(t, r);
40
+ }
41
+ function Be(e, t) {
42
+ return e.indexOf(t);
43
+ }
44
+ function F(e, t) {
45
+ return e.charCodeAt(t) | 0;
46
+ }
47
+ function Re(e, t, r) {
48
+ return e.slice(t, r);
49
+ }
50
+ function K(e) {
51
+ return e.length;
52
+ }
53
+ function lr(e) {
54
+ return e.length;
55
+ }
56
+ function De(e, t) {
57
+ return t.push(e), e;
58
+ }
59
+ function an(e, t) {
60
+ return e.map(t).join("");
61
+ }
62
+ function Yt(e, t) {
63
+ return e.filter(function(r) {
64
+ return !re(r, t);
65
+ });
66
+ }
67
+ var Je = 1, ke = 1, fr = 0, U = 0, $ = 0, Oe = "";
68
+ function Ze(e, t, r, o, a, s, c, f) {
69
+ return { value: e, root: t, parent: r, type: o, props: a, children: s, line: Je, column: ke, length: c, return: "", siblings: f };
70
+ }
71
+ function ie(e, t) {
72
+ return pt(Ze("", null, null, "", null, null, 0, e.siblings), e, { length: -e.length }, t);
73
+ }
74
+ function Ee(e) {
75
+ for (; e.root; )
76
+ e = ie(e.root, { children: [e] });
77
+ De(e, e.siblings);
78
+ }
79
+ function sn() {
80
+ return $;
81
+ }
82
+ function cn() {
83
+ return $ = U > 0 ? F(Oe, --U) : 0, ke--, $ === 10 && (ke = 1, Je--), $;
84
+ }
85
+ function H() {
86
+ return $ = U < fr ? F(Oe, U++) : 0, ke++, $ === 10 && (ke = 1, Je++), $;
87
+ }
88
+ function de() {
89
+ return F(Oe, U);
90
+ }
91
+ function Ue() {
92
+ return U;
93
+ }
94
+ function Qe(e, t) {
95
+ return Re(Oe, e, t);
96
+ }
97
+ function ht(e) {
98
+ switch (e) {
99
+ case 0:
100
+ case 9:
101
+ case 10:
102
+ case 13:
103
+ case 32:
104
+ return 5;
105
+ case 33:
106
+ case 43:
107
+ case 44:
108
+ case 47:
109
+ case 62:
110
+ case 64:
111
+ case 126:
112
+ case 59:
113
+ case 123:
114
+ case 125:
115
+ return 4;
116
+ case 58:
117
+ return 3;
118
+ case 34:
119
+ case 39:
120
+ case 40:
121
+ case 91:
122
+ return 2;
123
+ case 41:
124
+ case 93:
125
+ return 1;
126
+ }
127
+ return 0;
128
+ }
129
+ function un(e) {
130
+ return Je = ke = 1, fr = K(Oe = e), U = 0, [];
131
+ }
132
+ function ln(e) {
133
+ return Oe = "", e;
134
+ }
135
+ function ct(e) {
136
+ return ur(Qe(U - 1, mt(e === 91 ? e + 2 : e === 40 ? e + 1 : e)));
137
+ }
138
+ function fn(e) {
139
+ for (; ($ = de()) && $ < 33; )
140
+ H();
141
+ return ht(e) > 2 || ht($) > 3 ? "" : " ";
142
+ }
143
+ function dn(e, t) {
144
+ for (; --t && H() && !($ < 48 || $ > 102 || $ > 57 && $ < 65 || $ > 70 && $ < 97); )
145
+ ;
146
+ return Qe(e, Ue() + (t < 6 && de() == 32 && H() == 32));
147
+ }
148
+ function mt(e) {
149
+ for (; H(); )
150
+ switch ($) {
151
+ case e:
152
+ return U;
153
+ case 34:
154
+ case 39:
155
+ e !== 34 && e !== 39 && mt($);
156
+ break;
157
+ case 40:
158
+ e === 41 && mt(e);
159
+ break;
160
+ case 92:
161
+ H();
162
+ break;
163
+ }
164
+ return U;
165
+ }
166
+ function pn(e, t) {
167
+ for (; H() && e + $ !== 47 + 10; )
168
+ if (e + $ === 42 + 42 && de() === 47)
169
+ break;
170
+ return "/*" + Qe(t, U - 1) + "*" + Et(e === 47 ? e : H());
171
+ }
172
+ function hn(e) {
173
+ for (; !ht(de()); )
174
+ H();
175
+ return Qe(e, U);
176
+ }
177
+ function mn(e) {
178
+ return ln(Ge("", null, null, null, [""], e = un(e), 0, [0], e));
179
+ }
180
+ function Ge(e, t, r, o, a, s, c, f, l) {
181
+ for (var g = 0, p = 0, h = c, b = 0, E = 0, C = 0, I = 1, M = 1, x = 1, v = 0, P = "", T = a, N = s, S = o, m = P; M; )
182
+ switch (C = v, v = H()) {
183
+ case 40:
184
+ if (C != 108 && F(m, h - 1) == 58) {
185
+ Be(m += y(ct(v), "&", "&\f"), "&\f") != -1 && (x = -1);
186
+ break;
187
+ }
188
+ case 34:
189
+ case 39:
190
+ case 91:
191
+ m += ct(v);
192
+ break;
193
+ case 9:
194
+ case 10:
195
+ case 13:
196
+ case 32:
197
+ m += fn(C);
198
+ break;
199
+ case 92:
200
+ m += dn(Ue() - 1, 7);
201
+ continue;
202
+ case 47:
203
+ switch (de()) {
204
+ case 42:
205
+ case 47:
206
+ De(gn(pn(H(), Ue()), t, r, l), l);
207
+ break;
208
+ default:
209
+ m += "/";
210
+ }
211
+ break;
212
+ case 123 * I:
213
+ f[g++] = K(m) * x;
214
+ case 125 * I:
215
+ case 59:
216
+ case 0:
217
+ switch (v) {
218
+ case 0:
219
+ case 125:
220
+ M = 0;
221
+ case 59 + p:
222
+ x == -1 && (m = y(m, /\f/g, "")), E > 0 && K(m) - h && De(E > 32 ? Bt(m + ";", o, r, h - 1, l) : Bt(y(m, " ", "") + ";", o, r, h - 2, l), l);
223
+ break;
224
+ case 59:
225
+ m += ";";
226
+ default:
227
+ if (De(S = Wt(m, t, r, g, p, a, f, P, T = [], N = [], h, s), s), v === 123)
228
+ if (p === 0)
229
+ Ge(m, t, S, S, T, s, h, f, N);
230
+ else
231
+ switch (b === 99 && F(m, 3) === 110 ? 100 : b) {
232
+ case 100:
233
+ case 108:
234
+ case 109:
235
+ case 115:
236
+ Ge(e, S, S, o && De(Wt(e, S, S, 0, 0, a, f, P, a, T = [], h, N), N), a, N, h, f, o ? T : N);
237
+ break;
238
+ default:
239
+ Ge(m, S, S, S, [""], N, 0, f, N);
240
+ }
241
+ }
242
+ g = p = E = 0, I = x = 1, P = m = "", h = c;
243
+ break;
244
+ case 58:
245
+ h = 1 + K(m), E = C;
246
+ default:
247
+ if (I < 1) {
248
+ if (v == 123)
249
+ --I;
250
+ else if (v == 125 && I++ == 0 && cn() == 125)
251
+ continue;
252
+ }
253
+ switch (m += Et(v), v * I) {
254
+ case 38:
255
+ x = p > 0 ? 1 : (m += "\f", -1);
256
+ break;
257
+ case 44:
258
+ f[g++] = (K(m) - 1) * x, x = 1;
259
+ break;
260
+ case 64:
261
+ de() === 45 && (m += ct(H())), b = de(), p = h = K(P = m += hn(Ue())), v++;
262
+ break;
263
+ case 45:
264
+ C === 45 && K(m) == 2 && (I = 0);
265
+ }
266
+ }
267
+ return s;
268
+ }
269
+ function Wt(e, t, r, o, a, s, c, f, l, g, p, h) {
270
+ for (var b = a - 1, E = a === 0 ? s : [""], C = lr(E), I = 0, M = 0, x = 0; I < o; ++I)
271
+ for (var v = 0, P = Re(e, b + 1, b = nn(M = c[I])), T = e; v < C; ++v)
272
+ (T = ur(M > 0 ? E[v] + " " + P : y(P, /&\f/g, E[v]))) && (l[x++] = T);
273
+ return Ze(e, t, r, a === 0 ? Ke : f, l, g, p, h);
274
+ }
275
+ function gn(e, t, r, o) {
276
+ return Ze(e, t, r, sr, Et(sn()), Re(e, 2, -2), 0, o);
277
+ }
278
+ function Bt(e, t, r, o, a) {
279
+ return Ze(e, t, r, St, Re(e, 0, o), Re(e, o + 1, -1), o, a);
280
+ }
281
+ function dr(e, t, r) {
282
+ switch (on(e, t)) {
283
+ case 5103:
284
+ return k + "print-" + e + e;
285
+ case 5737:
286
+ case 4201:
287
+ case 3177:
288
+ case 3433:
289
+ case 1641:
290
+ case 4457:
291
+ case 2921:
292
+ case 5572:
293
+ case 6356:
294
+ case 5844:
295
+ case 3191:
296
+ case 6645:
297
+ case 3005:
298
+ case 6391:
299
+ case 5879:
300
+ case 5623:
301
+ case 6135:
302
+ case 4599:
303
+ case 4855:
304
+ case 4215:
305
+ case 6389:
306
+ case 5109:
307
+ case 5365:
308
+ case 5621:
309
+ case 3829:
310
+ return k + e + e;
311
+ case 4789:
312
+ return je + e + e;
313
+ case 5349:
314
+ case 4246:
315
+ case 4810:
316
+ case 6968:
317
+ case 2756:
318
+ return k + e + je + e + A + e + e;
319
+ case 5936:
320
+ switch (F(e, t + 11)) {
321
+ case 114:
322
+ return k + e + A + y(e, /[svh]\w+-[tblr]{2}/, "tb") + e;
323
+ case 108:
324
+ return k + e + A + y(e, /[svh]\w+-[tblr]{2}/, "tb-rl") + e;
325
+ case 45:
326
+ return k + e + A + y(e, /[svh]\w+-[tblr]{2}/, "lr") + e;
327
+ }
328
+ case 6828:
329
+ case 4268:
330
+ case 2903:
331
+ return k + e + A + e + e;
332
+ case 6165:
333
+ return k + e + A + "flex-" + e + e;
334
+ case 5187:
335
+ return k + e + y(e, /(\w+).+(:[^]+)/, k + "box-$1$2" + A + "flex-$1$2") + e;
336
+ case 5443:
337
+ return k + e + A + "flex-item-" + y(e, /flex-|-self/g, "") + (re(e, /flex-|baseline/) ? "" : A + "grid-row-" + y(e, /flex-|-self/g, "")) + e;
338
+ case 4675:
339
+ return k + e + A + "flex-line-pack" + y(e, /align-content|flex-|-self/g, "") + e;
340
+ case 5548:
341
+ return k + e + A + y(e, "shrink", "negative") + e;
342
+ case 5292:
343
+ return k + e + A + y(e, "basis", "preferred-size") + e;
344
+ case 6060:
345
+ return k + "box-" + y(e, "-grow", "") + k + e + A + y(e, "grow", "positive") + e;
346
+ case 4554:
347
+ return k + y(e, /([^-])(transform)/g, "$1" + k + "$2") + e;
348
+ case 6187:
349
+ return y(y(y(e, /(zoom-|grab)/, k + "$1"), /(image-set)/, k + "$1"), e, "") + e;
350
+ case 5495:
351
+ case 3959:
352
+ return y(e, /(image-set\([^]*)/, k + "$1$`$1");
353
+ case 4968:
354
+ return y(y(e, /(.+:)(flex-)?(.*)/, k + "box-pack:$3" + A + "flex-pack:$3"), /s.+-b[^;]+/, "justify") + k + e + e;
355
+ case 4200:
356
+ if (!re(e, /flex-|baseline/))
357
+ return A + "grid-column-align" + Re(e, t) + e;
358
+ break;
359
+ case 2592:
360
+ case 3360:
361
+ return A + y(e, "template-", "") + e;
362
+ case 4384:
363
+ case 3616:
364
+ return r && r.some(function(o, a) {
365
+ return t = a, re(o.props, /grid-\w+-end/);
366
+ }) ? ~Be(e + (r = r[t].value), "span") ? e : A + y(e, "-start", "") + e + A + "grid-row-span:" + (~Be(r, "span") ? re(r, /\d+/) : +re(r, /\d+/) - +re(e, /\d+/)) + ";" : A + y(e, "-start", "") + e;
367
+ case 4896:
368
+ case 4128:
369
+ return r && r.some(function(o) {
370
+ return re(o.props, /grid-\w+-start/);
371
+ }) ? e : A + y(y(e, "-end", "-span"), "span ", "") + e;
372
+ case 4095:
373
+ case 3583:
374
+ case 4068:
375
+ case 2532:
376
+ return y(e, /(.+)-inline(.+)/, k + "$1$2") + e;
377
+ case 8116:
378
+ case 7059:
379
+ case 5753:
380
+ case 5535:
381
+ case 5445:
382
+ case 5701:
383
+ case 4933:
384
+ case 4677:
385
+ case 5533:
386
+ case 5789:
387
+ case 5021:
388
+ case 4765:
389
+ if (K(e) - 1 - t > 6)
390
+ switch (F(e, t + 1)) {
391
+ case 109:
392
+ if (F(e, t + 4) !== 45)
393
+ break;
394
+ case 102:
395
+ return y(e, /(.+:)(.+)-([^]+)/, "$1" + k + "$2-$3$1" + je + (F(e, t + 3) == 108 ? "$3" : "$2-$3")) + e;
396
+ case 115:
397
+ return ~Be(e, "stretch") ? dr(y(e, "stretch", "fill-available"), t, r) + e : e;
398
+ }
399
+ break;
400
+ case 5152:
401
+ case 5920:
402
+ return y(e, /(.+?):(\d+)(\s*\/\s*(span)?\s*(\d+))?(.*)/, function(o, a, s, c, f, l, g) {
403
+ return A + a + ":" + s + g + (c ? A + a + "-span:" + (f ? l : +l - +s) + g : "") + e;
404
+ });
405
+ case 4949:
406
+ if (F(e, t + 6) === 121)
407
+ return y(e, ":", ":" + k) + e;
408
+ break;
409
+ case 6444:
410
+ switch (F(e, F(e, 14) === 45 ? 18 : 11)) {
411
+ case 120:
412
+ return y(e, /(.+:)([^;\s!]+)(;|(\s+)?!.+)?/, "$1" + k + (F(e, 14) === 45 ? "inline-" : "") + "box$3$1" + k + "$2$3$1" + A + "$2box$3") + e;
413
+ case 100:
414
+ return y(e, ":", ":" + A) + e;
415
+ }
416
+ break;
417
+ case 5719:
418
+ case 2647:
419
+ case 2135:
420
+ case 3927:
421
+ case 2391:
422
+ return y(e, "scroll-", "scroll-snap-") + e;
423
+ }
424
+ return e;
425
+ }
426
+ function qe(e, t) {
427
+ for (var r = "", o = 0; o < e.length; o++)
428
+ r += t(e[o], o, e, t) || "";
429
+ return r;
430
+ }
431
+ function yn(e, t, r, o) {
432
+ switch (e.type) {
433
+ case rn:
434
+ if (e.children.length)
435
+ break;
436
+ case tn:
437
+ case St:
438
+ return e.return = e.return || e.value;
439
+ case sr:
440
+ return "";
441
+ case cr:
442
+ return e.return = e.value + "{" + qe(e.children, o) + "}";
443
+ case Ke:
444
+ if (!K(e.value = e.props.join(",")))
445
+ return "";
446
+ }
447
+ return K(r = qe(e.children, o)) ? e.return = e.value + "{" + r + "}" : "";
448
+ }
449
+ function vn(e) {
450
+ var t = lr(e);
451
+ return function(r, o, a, s) {
452
+ for (var c = "", f = 0; f < t; f++)
453
+ c += e[f](r, o, a, s) || "";
454
+ return c;
455
+ };
456
+ }
457
+ function bn(e) {
458
+ return function(t) {
459
+ t.root || (t = t.return) && e(t);
460
+ };
461
+ }
462
+ function wn(e, t, r, o) {
463
+ if (e.length > -1 && !e.return)
464
+ switch (e.type) {
465
+ case St:
466
+ e.return = dr(e.value, e.length, r);
467
+ return;
468
+ case cr:
469
+ return qe([ie(e, { value: y(e.value, "@", "@" + k) })], o);
470
+ case Ke:
471
+ if (e.length)
472
+ return an(r = e.props, function(a) {
473
+ switch (re(a, o = /(::plac\w+|:read-\w+)/)) {
474
+ case ":read-only":
475
+ case ":read-write":
476
+ Ee(ie(e, { props: [y(a, /:(read-\w+)/, ":" + je + "$1")] })), Ee(ie(e, { props: [a] })), pt(e, { props: Yt(r, o) });
477
+ break;
478
+ case "::placeholder":
479
+ Ee(ie(e, { props: [y(a, /:(plac\w+)/, ":" + k + "input-$1")] })), Ee(ie(e, { props: [y(a, /:(plac\w+)/, ":" + je + "$1")] })), Ee(ie(e, { props: [y(a, /:(plac\w+)/, A + "input-$1")] })), Ee(ie(e, { props: [a] })), pt(e, { props: Yt(r, o) });
480
+ break;
481
+ }
482
+ return "";
483
+ });
484
+ }
485
+ }
486
+ var Sn = {
487
+ animationIterationCount: 1,
488
+ aspectRatio: 1,
489
+ borderImageOutset: 1,
490
+ borderImageSlice: 1,
491
+ borderImageWidth: 1,
492
+ boxFlex: 1,
493
+ boxFlexGroup: 1,
494
+ boxOrdinalGroup: 1,
495
+ columnCount: 1,
496
+ columns: 1,
497
+ flex: 1,
498
+ flexGrow: 1,
499
+ flexPositive: 1,
500
+ flexShrink: 1,
501
+ flexNegative: 1,
502
+ flexOrder: 1,
503
+ gridRow: 1,
504
+ gridRowEnd: 1,
505
+ gridRowSpan: 1,
506
+ gridRowStart: 1,
507
+ gridColumn: 1,
508
+ gridColumnEnd: 1,
509
+ gridColumnSpan: 1,
510
+ gridColumnStart: 1,
511
+ msGridRow: 1,
512
+ msGridRowSpan: 1,
513
+ msGridColumn: 1,
514
+ msGridColumnSpan: 1,
515
+ fontWeight: 1,
516
+ lineHeight: 1,
517
+ opacity: 1,
518
+ order: 1,
519
+ orphans: 1,
520
+ tabSize: 1,
521
+ widows: 1,
522
+ zIndex: 1,
523
+ zoom: 1,
524
+ WebkitLineClamp: 1,
525
+ fillOpacity: 1,
526
+ floodOpacity: 1,
527
+ stopOpacity: 1,
528
+ strokeDasharray: 1,
529
+ strokeDashoffset: 1,
530
+ strokeMiterlimit: 1,
531
+ strokeOpacity: 1,
532
+ strokeWidth: 1
533
+ }, me = typeof process < "u" && process.env !== void 0 && (process.env.REACT_APP_SC_ATTR || process.env.SC_ATTR) || "data-styled", _t = typeof window < "u" && "HTMLElement" in window, En = Boolean(typeof SC_DISABLE_SPEEDY == "boolean" ? SC_DISABLE_SPEEDY : typeof process < "u" && process.env !== void 0 && process.env.REACT_APP_SC_DISABLE_SPEEDY !== void 0 && process.env.REACT_APP_SC_DISABLE_SPEEDY !== "" ? process.env.REACT_APP_SC_DISABLE_SPEEDY !== "false" && process.env.REACT_APP_SC_DISABLE_SPEEDY : typeof process < "u" && process.env !== void 0 && process.env.SC_DISABLE_SPEEDY !== void 0 && process.env.SC_DISABLE_SPEEDY !== "" ? process.env.SC_DISABLE_SPEEDY !== "false" && process.env.SC_DISABLE_SPEEDY : process.env.NODE_ENV !== "production"), Ut = /invalid hook call/i, ze = /* @__PURE__ */ new Set(), _n = function(e, t) {
534
+ if (process.env.NODE_ENV !== "production") {
535
+ var r = t ? ' with the id of "'.concat(t, '"') : "", o = "The component ".concat(e).concat(r, ` has been created dynamically.
536
+ `) + `You may see this warning because you've called styled inside another component.
537
+ To resolve this only create new StyledComponents outside of any render method and function component.`, a = console.error;
538
+ try {
539
+ var s = !0;
540
+ console.error = function(c) {
541
+ for (var f = [], l = 1; l < arguments.length; l++)
542
+ f[l - 1] = arguments[l];
543
+ Ut.test(c) ? (s = !1, ze.delete(o)) : a.apply(void 0, _e([c], f, !1));
544
+ }, Xr(), s && !ze.has(o) && (console.warn(o), ze.add(o));
545
+ } catch (c) {
546
+ Ut.test(c.message) && ze.delete(o);
547
+ } finally {
548
+ console.error = a;
549
+ }
550
+ }
551
+ }, et = Object.freeze([]), Ce = Object.freeze({});
552
+ function Rn(e, t, r) {
553
+ return r === void 0 && (r = Ce), e.theme !== r.theme && e.theme || t || r.theme;
554
+ }
555
+ var gt = /* @__PURE__ */ new Set(["a", "abbr", "address", "area", "article", "aside", "audio", "b", "base", "bdi", "bdo", "big", "blockquote", "body", "br", "button", "canvas", "caption", "cite", "code", "col", "colgroup", "data", "datalist", "dd", "del", "details", "dfn", "dialog", "div", "dl", "dt", "em", "embed", "fieldset", "figcaption", "figure", "footer", "form", "h1", "h2", "h3", "h4", "h5", "h6", "head", "header", "hgroup", "hr", "html", "i", "iframe", "img", "input", "ins", "kbd", "keygen", "label", "legend", "li", "link", "main", "map", "mark", "menu", "menuitem", "meta", "meter", "nav", "noscript", "object", "ol", "optgroup", "option", "output", "p", "param", "picture", "pre", "progress", "q", "rp", "rt", "ruby", "s", "samp", "script", "section", "select", "small", "source", "span", "strong", "style", "sub", "summary", "sup", "table", "tbody", "td", "textarea", "tfoot", "th", "thead", "time", "title", "tr", "track", "u", "ul", "use", "var", "video", "wbr", "circle", "clipPath", "defs", "ellipse", "foreignObject", "g", "image", "line", "linearGradient", "marker", "mask", "path", "pattern", "polygon", "polyline", "radialGradient", "rect", "stop", "svg", "text", "tspan"]), kn = /[!"#$%&'()*+,./:;<=>?@[\\\]^`{|}~-]+/g, Cn = /(^-|-$)/g;
556
+ function Gt(e) {
557
+ return e.replace(kn, "-").replace(Cn, "");
558
+ }
559
+ var xn = /(a)(d)/gi, Ht = function(e) {
560
+ return String.fromCharCode(e + (e > 25 ? 39 : 97));
561
+ };
562
+ function yt(e) {
563
+ var t, r = "";
564
+ for (t = Math.abs(e); t > 52; t = t / 52 | 0)
565
+ r = Ht(t % 52) + r;
566
+ return (Ht(t % 52) + r).replace(xn, "$1-$2");
567
+ }
568
+ var ut, le = function(e, t) {
569
+ for (var r = t.length; r; )
570
+ e = 33 * e ^ t.charCodeAt(--r);
571
+ return e;
572
+ }, pr = function(e) {
573
+ return le(5381, e);
574
+ };
575
+ function Pn(e) {
576
+ return yt(pr(e) >>> 0);
577
+ }
578
+ function hr(e) {
579
+ return process.env.NODE_ENV !== "production" && typeof e == "string" && e || e.displayName || e.name || "Component";
580
+ }
581
+ function lt(e) {
582
+ return typeof e == "string" && (process.env.NODE_ENV === "production" || e.charAt(0) === e.charAt(0).toLowerCase());
583
+ }
584
+ var mr = typeof Symbol == "function" && Symbol.for, gr = mr ? Symbol.for("react.memo") : 60115, On = mr ? Symbol.for("react.forward_ref") : 60112, Tn = { childContextTypes: !0, contextType: !0, contextTypes: !0, defaultProps: !0, displayName: !0, getDefaultProps: !0, getDerivedStateFromError: !0, getDerivedStateFromProps: !0, mixins: !0, propTypes: !0, type: !0 }, An = { name: !0, length: !0, prototype: !0, caller: !0, callee: !0, arguments: !0, arity: !0 }, yr = { $$typeof: !0, compare: !0, defaultProps: !0, displayName: !0, propTypes: !0, type: !0 }, Nn = ((ut = {})[On] = { $$typeof: !0, render: !0, defaultProps: !0, displayName: !0, propTypes: !0 }, ut[gr] = yr, ut);
585
+ function qt(e) {
586
+ return ("type" in (t = e) && t.type.$$typeof) === gr ? yr : "$$typeof" in e ? Nn[e.$$typeof] : Tn;
587
+ var t;
588
+ }
589
+ var In = Object.defineProperty, Dn = Object.getOwnPropertyNames, Xt = Object.getOwnPropertySymbols, jn = Object.getOwnPropertyDescriptor, $n = Object.getPrototypeOf, Kt = Object.prototype;
590
+ function vr(e, t, r) {
591
+ if (typeof t != "string") {
592
+ if (Kt) {
593
+ var o = $n(t);
594
+ o && o !== Kt && vr(e, o, r);
595
+ }
596
+ var a = Dn(t);
597
+ Xt && (a = a.concat(Xt(t)));
598
+ for (var s = qt(e), c = qt(t), f = 0; f < a.length; ++f) {
599
+ var l = a[f];
600
+ if (!(l in An || r && r[l] || c && l in c || s && l in s)) {
601
+ var g = jn(t, l);
602
+ try {
603
+ In(e, l, g);
604
+ } catch {
605
+ }
606
+ }
607
+ }
608
+ }
609
+ return e;
610
+ }
611
+ function xe(e) {
612
+ return typeof e == "function";
613
+ }
614
+ function Rt(e) {
615
+ return typeof e == "object" && "styledComponentId" in e;
616
+ }
617
+ function fe(e, t) {
618
+ return e && t ? "".concat(e, " ").concat(t) : e || t || "";
619
+ }
620
+ function Jt(e, t) {
621
+ if (e.length === 0)
622
+ return "";
623
+ for (var r = e[0], o = 1; o < e.length; o++)
624
+ r += t ? t + e[o] : e[o];
625
+ return r;
626
+ }
627
+ function Pe(e) {
628
+ return e !== null && typeof e == "object" && e.constructor.name === Object.name && !("props" in e && e.$$typeof);
629
+ }
630
+ function vt(e, t, r) {
631
+ if (r === void 0 && (r = !1), !r && !Pe(e) && !Array.isArray(e))
632
+ return t;
633
+ if (Array.isArray(t))
634
+ for (var o = 0; o < t.length; o++)
635
+ e[o] = vt(e[o], t[o]);
636
+ else if (Pe(t))
637
+ for (var o in t)
638
+ e[o] = vt(e[o], t[o]);
639
+ return e;
640
+ }
641
+ function kt(e, t) {
642
+ Object.defineProperty(e, "toString", { value: t });
643
+ }
644
+ var Fn = process.env.NODE_ENV !== "production" ? { 1: `Cannot create styled-component for component: %s.
645
+
646
+ `, 2: `Can't collect styles once you've consumed a \`ServerStyleSheet\`'s styles! \`ServerStyleSheet\` is a one off instance for each server-side render cycle.
647
+
648
+ - Are you trying to reuse it across renders?
649
+ - Are you accidentally calling collectStyles twice?
650
+
651
+ `, 3: `Streaming SSR is only supported in a Node.js environment; Please do not try to call this method in the browser.
652
+
653
+ `, 4: `The \`StyleSheetManager\` expects a valid target or sheet prop!
654
+
655
+ - Does this error occur on the client and is your target falsy?
656
+ - Does this error occur on the server and is the sheet falsy?
657
+
658
+ `, 5: `The clone method cannot be used on the client!
659
+
660
+ - Are you running in a client-like environment on the server?
661
+ - Are you trying to run SSR on the client?
662
+
663
+ `, 6: `Trying to insert a new style tag, but the given Node is unmounted!
664
+
665
+ - Are you using a custom target that isn't mounted?
666
+ - Does your document not have a valid head element?
667
+ - Have you accidentally removed a style tag manually?
668
+
669
+ `, 7: 'ThemeProvider: Please return an object from your "theme" prop function, e.g.\n\n```js\ntheme={() => ({})}\n```\n\n', 8: `ThemeProvider: Please make your "theme" prop an object.
670
+
671
+ `, 9: "Missing document `<head>`\n\n", 10: `Cannot find a StyleSheet instance. Usually this happens if there are multiple copies of styled-components loaded at once. Check out this issue for how to troubleshoot and fix the common cases where this situation can happen: https://github.com/styled-components/styled-components/issues/1941#issuecomment-417862021
672
+
673
+ `, 11: `_This error was replaced with a dev-time warning, it will be deleted for v4 final._ [createGlobalStyle] received children which will not be rendered. Please use the component without passing children elements.
674
+
675
+ `, 12: "It seems you are interpolating a keyframe declaration (%s) into an untagged string. This was supported in styled-components v3, but is not longer supported in v4 as keyframes are now injected on-demand. Please wrap your string in the css\\`\\` helper which ensures the styles are injected correctly. See https://www.styled-components.com/docs/api#css\n\n", 13: `%s is not a styled component and cannot be referred to via component selector. See https://www.styled-components.com/docs/advanced#referring-to-other-components for more details.
676
+
677
+ `, 14: `ThemeProvider: "theme" prop is required.
678
+
679
+ `, 15: "A stylis plugin has been supplied that is not named. We need a name for each plugin to be able to prevent styling collisions between different stylis configurations within the same app. Before you pass your plugin to `<StyleSheetManager stylisPlugins={[]}>`, please make sure each plugin is uniquely-named, e.g.\n\n```js\nObject.defineProperty(importedPlugin, 'name', { value: 'some-unique-name' });\n```\n\n", 16: `Reached the limit of how many styled components may be created at group %s.
680
+ You may only create up to 1,073,741,824 components. If you're creating components dynamically,
681
+ as for instance in your render method then you may be running into this limitation.
682
+
683
+ `, 17: `CSSStyleSheet could not be found on HTMLStyleElement.
684
+ Has styled-components' style tag been unmounted or altered by another script?
685
+ `, 18: "ThemeProvider: Please make sure your useTheme hook is within a `<ThemeProvider>`" } : {};
686
+ function Mn() {
687
+ for (var e = [], t = 0; t < arguments.length; t++)
688
+ e[t] = arguments[t];
689
+ for (var r = e[0], o = [], a = 1, s = e.length; a < s; a += 1)
690
+ o.push(e[a]);
691
+ return o.forEach(function(c) {
692
+ r = r.replace(/%[a-z]/, c);
693
+ }), r;
694
+ }
695
+ function Te(e) {
696
+ for (var t = [], r = 1; r < arguments.length; r++)
697
+ t[r - 1] = arguments[r];
698
+ return process.env.NODE_ENV === "production" ? new Error("An error occurred. See https://github.com/styled-components/styled-components/blob/main/packages/styled-components/src/utils/errors.md#".concat(e, " for more information.").concat(t.length > 0 ? " Args: ".concat(t.join(", ")) : "")) : new Error(Mn.apply(void 0, _e([Fn[e]], t, !1)).trim());
699
+ }
700
+ var Ln = function() {
701
+ function e(t) {
702
+ this.groupSizes = new Uint32Array(512), this.length = 512, this.tag = t;
703
+ }
704
+ return e.prototype.indexOfGroup = function(t) {
705
+ for (var r = 0, o = 0; o < t; o++)
706
+ r += this.groupSizes[o];
707
+ return r;
708
+ }, e.prototype.insertRules = function(t, r) {
709
+ if (t >= this.groupSizes.length) {
710
+ for (var o = this.groupSizes, a = o.length, s = a; t >= s; )
711
+ if ((s <<= 1) < 0)
712
+ throw Te(16, "".concat(t));
713
+ this.groupSizes = new Uint32Array(s), this.groupSizes.set(o), this.length = s;
714
+ for (var c = a; c < s; c++)
715
+ this.groupSizes[c] = 0;
716
+ }
717
+ for (var f = this.indexOfGroup(t + 1), l = (c = 0, r.length); c < l; c++)
718
+ this.tag.insertRule(f, r[c]) && (this.groupSizes[t]++, f++);
719
+ }, e.prototype.clearGroup = function(t) {
720
+ if (t < this.length) {
721
+ var r = this.groupSizes[t], o = this.indexOfGroup(t), a = o + r;
722
+ this.groupSizes[t] = 0;
723
+ for (var s = o; s < a; s++)
724
+ this.tag.deleteRule(o);
725
+ }
726
+ }, e.prototype.getGroup = function(t) {
727
+ var r = "";
728
+ if (t >= this.length || this.groupSizes[t] === 0)
729
+ return r;
730
+ for (var o = this.groupSizes[t], a = this.indexOfGroup(t), s = a + o, c = a; c < s; c++)
731
+ r += "".concat(this.tag.getRule(c)).concat(`/*!sc*/
732
+ `);
733
+ return r;
734
+ }, e;
735
+ }(), He = /* @__PURE__ */ new Map(), Xe = /* @__PURE__ */ new Map(), ft = 1, Ye = function(e) {
736
+ if (He.has(e))
737
+ return He.get(e);
738
+ for (; Xe.has(ft); )
739
+ ft++;
740
+ var t = ft++;
741
+ if (process.env.NODE_ENV !== "production" && ((0 | t) < 0 || t > 1073741824))
742
+ throw Te(16, "".concat(t));
743
+ return He.set(e, t), Xe.set(t, e), t;
744
+ }, Vn = function(e, t) {
745
+ He.set(e, t), Xe.set(t, e);
746
+ }, zn = "style[".concat(me, "][").concat("data-styled-version", '="').concat("6.0.7", '"]'), Yn = new RegExp("^".concat(me, '\\.g(\\d+)\\[id="([\\w\\d-]+)"\\].*?"([^"]*)')), Wn = function(e, t, r) {
747
+ for (var o, a = r.split(","), s = 0, c = a.length; s < c; s++)
748
+ (o = a[s]) && e.registerName(t, o);
749
+ }, Bn = function(e, t) {
750
+ for (var r, o = ((r = t.textContent) !== null && r !== void 0 ? r : "").split(`/*!sc*/
751
+ `), a = [], s = 0, c = o.length; s < c; s++) {
752
+ var f = o[s].trim();
753
+ if (f) {
754
+ var l = f.match(Yn);
755
+ if (l) {
756
+ var g = 0 | parseInt(l[1], 10), p = l[2];
757
+ g !== 0 && (Vn(p, g), Wn(e, p, l[3]), e.getTag().insertRules(g, a)), a.length = 0;
758
+ } else
759
+ a.push(f);
760
+ }
761
+ }
762
+ };
763
+ function Un() {
764
+ return typeof __webpack_nonce__ < "u" ? __webpack_nonce__ : null;
765
+ }
766
+ var br = function(e) {
767
+ var t = document.head, r = e || t, o = document.createElement("style"), a = function(f) {
768
+ var l = Array.from(f.querySelectorAll("style[".concat(me, "]")));
769
+ return l[l.length - 1];
770
+ }(r), s = a !== void 0 ? a.nextSibling : null;
771
+ o.setAttribute(me, "active"), o.setAttribute("data-styled-version", "6.0.7");
772
+ var c = Un();
773
+ return c && o.setAttribute("nonce", c), r.insertBefore(o, s), o;
774
+ }, Gn = function() {
775
+ function e(t) {
776
+ this.element = br(t), this.element.appendChild(document.createTextNode("")), this.sheet = function(r) {
777
+ if (r.sheet)
778
+ return r.sheet;
779
+ for (var o = document.styleSheets, a = 0, s = o.length; a < s; a++) {
780
+ var c = o[a];
781
+ if (c.ownerNode === r)
782
+ return c;
783
+ }
784
+ throw Te(17);
785
+ }(this.element), this.length = 0;
786
+ }
787
+ return e.prototype.insertRule = function(t, r) {
788
+ try {
789
+ return this.sheet.insertRule(r, t), this.length++, !0;
790
+ } catch {
791
+ return !1;
792
+ }
793
+ }, e.prototype.deleteRule = function(t) {
794
+ this.sheet.deleteRule(t), this.length--;
795
+ }, e.prototype.getRule = function(t) {
796
+ var r = this.sheet.cssRules[t];
797
+ return r && r.cssText ? r.cssText : "";
798
+ }, e;
799
+ }(), Hn = function() {
800
+ function e(t) {
801
+ this.element = br(t), this.nodes = this.element.childNodes, this.length = 0;
802
+ }
803
+ return e.prototype.insertRule = function(t, r) {
804
+ if (t <= this.length && t >= 0) {
805
+ var o = document.createTextNode(r);
806
+ return this.element.insertBefore(o, this.nodes[t] || null), this.length++, !0;
807
+ }
808
+ return !1;
809
+ }, e.prototype.deleteRule = function(t) {
810
+ this.element.removeChild(this.nodes[t]), this.length--;
811
+ }, e.prototype.getRule = function(t) {
812
+ return t < this.length ? this.nodes[t].textContent : "";
813
+ }, e;
814
+ }(), qn = function() {
815
+ function e(t) {
816
+ this.rules = [], this.length = 0;
817
+ }
818
+ return e.prototype.insertRule = function(t, r) {
819
+ return t <= this.length && (this.rules.splice(t, 0, r), this.length++, !0);
820
+ }, e.prototype.deleteRule = function(t) {
821
+ this.rules.splice(t, 1), this.length--;
822
+ }, e.prototype.getRule = function(t) {
823
+ return t < this.length ? this.rules[t] : "";
824
+ }, e;
825
+ }(), Zt = _t, Xn = { isServer: !_t, useCSSOMInjection: !En }, wr = function() {
826
+ function e(t, r, o) {
827
+ t === void 0 && (t = Ce), r === void 0 && (r = {});
828
+ var a = this;
829
+ this.options = z(z({}, Xn), t), this.gs = r, this.names = new Map(o), this.server = !!t.isServer, !this.server && _t && Zt && (Zt = !1, function(s) {
830
+ for (var c = document.querySelectorAll(zn), f = 0, l = c.length; f < l; f++) {
831
+ var g = c[f];
832
+ g && g.getAttribute(me) !== "active" && (Bn(s, g), g.parentNode && g.parentNode.removeChild(g));
833
+ }
834
+ }(this)), kt(this, function() {
835
+ return function(s) {
836
+ for (var c = s.getTag(), f = c.length, l = "", g = function(h) {
837
+ var b = function(x) {
838
+ return Xe.get(x);
839
+ }(h);
840
+ if (b === void 0)
841
+ return "continue";
842
+ var E = s.names.get(b), C = c.getGroup(h);
843
+ if (E === void 0 || C.length === 0)
844
+ return "continue";
845
+ var I = "".concat(me, ".g").concat(h, '[id="').concat(b, '"]'), M = "";
846
+ E !== void 0 && E.forEach(function(x) {
847
+ x.length > 0 && (M += "".concat(x, ","));
848
+ }), l += "".concat(C).concat(I, '{content:"').concat(M, '"}').concat(`/*!sc*/
849
+ `);
850
+ }, p = 0; p < f; p++)
851
+ g(p);
852
+ return l;
853
+ }(a);
854
+ });
855
+ }
856
+ return e.registerId = function(t) {
857
+ return Ye(t);
858
+ }, e.prototype.reconstructWithOptions = function(t, r) {
859
+ return r === void 0 && (r = !0), new e(z(z({}, this.options), t), this.gs, r && this.names || void 0);
860
+ }, e.prototype.allocateGSInstance = function(t) {
861
+ return this.gs[t] = (this.gs[t] || 0) + 1;
862
+ }, e.prototype.getTag = function() {
863
+ return this.tag || (this.tag = (t = function(r) {
864
+ var o = r.useCSSOMInjection, a = r.target;
865
+ return r.isServer ? new qn(a) : o ? new Gn(a) : new Hn(a);
866
+ }(this.options), new Ln(t)));
867
+ var t;
868
+ }, e.prototype.hasNameForId = function(t, r) {
869
+ return this.names.has(t) && this.names.get(t).has(r);
870
+ }, e.prototype.registerName = function(t, r) {
871
+ if (Ye(t), this.names.has(t))
872
+ this.names.get(t).add(r);
873
+ else {
874
+ var o = /* @__PURE__ */ new Set();
875
+ o.add(r), this.names.set(t, o);
876
+ }
877
+ }, e.prototype.insertRules = function(t, r, o) {
878
+ this.registerName(t, r), this.getTag().insertRules(Ye(t), o);
879
+ }, e.prototype.clearNames = function(t) {
880
+ this.names.has(t) && this.names.get(t).clear();
881
+ }, e.prototype.clearRules = function(t) {
882
+ this.getTag().clearGroup(Ye(t)), this.clearNames(t);
883
+ }, e.prototype.clearTag = function() {
884
+ this.tag = void 0;
885
+ }, e;
886
+ }(), Kn = /&/g, Jn = /^\s*\/\/.*$/gm;
887
+ function Sr(e, t) {
888
+ return e.map(function(r) {
889
+ return r.type === "rule" && (r.value = "".concat(t, " ").concat(r.value), r.value = r.value.replaceAll(",", ",".concat(t, " ")), r.props = r.props.map(function(o) {
890
+ return "".concat(t, " ").concat(o);
891
+ })), Array.isArray(r.children) && r.type !== "@keyframes" && (r.children = Sr(r.children, t)), r;
892
+ });
893
+ }
894
+ function Zn(e) {
895
+ var t, r, o, a = e === void 0 ? Ce : e, s = a.options, c = s === void 0 ? Ce : s, f = a.plugins, l = f === void 0 ? et : f, g = function(b, E, C) {
896
+ return C === r || C.startsWith(r) && C.endsWith(r) && C.replaceAll(r, "").length > 0 ? ".".concat(t) : b;
897
+ }, p = l.slice();
898
+ p.push(function(b) {
899
+ b.type === Ke && b.value.includes("&") && (b.props[0] = b.props[0].replace(Kn, r).replace(o, g));
900
+ }), c.prefix && p.push(wn), p.push(yn);
901
+ var h = function(b, E, C, I) {
902
+ E === void 0 && (E = ""), C === void 0 && (C = ""), I === void 0 && (I = "&"), t = I, r = E, o = new RegExp("\\".concat(r, "\\b"), "g");
903
+ var M = b.replace(Jn, ""), x = mn(C || E ? "".concat(C, " ").concat(E, " { ").concat(M, " }") : M);
904
+ c.namespace && (x = Sr(x, c.namespace));
905
+ var v = [];
906
+ return qe(x, vn(p.concat(bn(function(P) {
907
+ return v.push(P);
908
+ })))), v;
909
+ };
910
+ return h.hash = l.length ? l.reduce(function(b, E) {
911
+ return E.name || Te(15), le(b, E.name);
912
+ }, 5381).toString() : "", h;
913
+ }
914
+ var Qn = new wr(), bt = Zn(), Er = he.createContext({ shouldForwardProp: void 0, styleSheet: Qn, stylis: bt });
915
+ Er.Consumer;
916
+ he.createContext(void 0);
917
+ function Qt() {
918
+ return Jr(Er);
919
+ }
920
+ var er = function() {
921
+ function e(t, r) {
922
+ var o = this;
923
+ this.inject = function(a, s) {
924
+ s === void 0 && (s = bt);
925
+ var c = o.name + s.hash;
926
+ a.hasNameForId(o.id, c) || a.insertRules(o.id, c, s(o.rules, c, "@keyframes"));
927
+ }, this.name = t, this.id = "sc-keyframes-".concat(t), this.rules = r, kt(this, function() {
928
+ throw Te(12, String(o.name));
929
+ });
930
+ }
931
+ return e.prototype.getName = function(t) {
932
+ return t === void 0 && (t = bt), this.name + t.hash;
933
+ }, e;
934
+ }(), eo = function(e) {
935
+ return e >= "A" && e <= "Z";
936
+ };
937
+ function tr(e) {
938
+ for (var t = "", r = 0; r < e.length; r++) {
939
+ var o = e[r];
940
+ if (r === 1 && o === "-" && e[0] === "-")
941
+ return e;
942
+ eo(o) ? t += "-" + o.toLowerCase() : t += o;
943
+ }
944
+ return t.startsWith("ms-") ? "-" + t : t;
945
+ }
946
+ var _r = function(e) {
947
+ return e == null || e === !1 || e === "";
948
+ }, Rr = function(e) {
949
+ var t, r, o = [];
950
+ for (var a in e) {
951
+ var s = e[a];
952
+ e.hasOwnProperty(a) && !_r(s) && (Array.isArray(s) && s.isCss || xe(s) ? o.push("".concat(tr(a), ":"), s, ";") : Pe(s) ? o.push.apply(o, _e(_e(["".concat(a, " {")], Rr(s), !1), ["}"], !1)) : o.push("".concat(tr(a), ": ").concat((t = a, (r = s) == null || typeof r == "boolean" || r === "" ? "" : typeof r != "number" || r === 0 || t in Sn || t.startsWith("--") ? String(r).trim() : "".concat(r, "px")), ";")));
953
+ }
954
+ return o;
955
+ };
956
+ function pe(e, t, r, o) {
957
+ if (_r(e))
958
+ return [];
959
+ if (Rt(e))
960
+ return [".".concat(e.styledComponentId)];
961
+ if (xe(e)) {
962
+ if (!xe(s = e) || s.prototype && s.prototype.isReactComponent || !t)
963
+ return [e];
964
+ var a = e(t);
965
+ return process.env.NODE_ENV === "production" || typeof a != "object" || Array.isArray(a) || a instanceof er || Pe(a) || a === null || console.error("".concat(hr(e), " is not a styled component and cannot be referred to via component selector. See https://www.styled-components.com/docs/advanced#referring-to-other-components for more details.")), pe(a, t, r, o);
966
+ }
967
+ var s;
968
+ return e instanceof er ? r ? (e.inject(r, o), [e.getName(o)]) : [e] : Pe(e) ? Rr(e) : Array.isArray(e) ? Array.prototype.concat.apply(et, e.map(function(c) {
969
+ return pe(c, t, r, o);
970
+ })) : [e.toString()];
971
+ }
972
+ function to(e) {
973
+ for (var t = 0; t < e.length; t += 1) {
974
+ var r = e[t];
975
+ if (xe(r) && !Rt(r))
976
+ return !1;
977
+ }
978
+ return !0;
979
+ }
980
+ var ro = pr("6.0.7"), no = function() {
981
+ function e(t, r, o) {
982
+ this.rules = t, this.staticRulesId = "", this.isStatic = process.env.NODE_ENV === "production" && (o === void 0 || o.isStatic) && to(t), this.componentId = r, this.baseHash = le(ro, r), this.baseStyle = o, wr.registerId(r);
983
+ }
984
+ return e.prototype.generateAndInjectStyles = function(t, r, o) {
985
+ var a = this.baseStyle ? this.baseStyle.generateAndInjectStyles(t, r, o) : "";
986
+ if (this.isStatic && !o.hash)
987
+ if (this.staticRulesId && r.hasNameForId(this.componentId, this.staticRulesId))
988
+ a = fe(a, this.staticRulesId);
989
+ else {
990
+ var s = Jt(pe(this.rules, t, r, o)), c = yt(le(this.baseHash, s) >>> 0);
991
+ if (!r.hasNameForId(this.componentId, c)) {
992
+ var f = o(s, ".".concat(c), void 0, this.componentId);
993
+ r.insertRules(this.componentId, c, f);
994
+ }
995
+ a = fe(a, c), this.staticRulesId = c;
996
+ }
997
+ else {
998
+ for (var l = le(this.baseHash, o.hash), g = "", p = 0; p < this.rules.length; p++) {
999
+ var h = this.rules[p];
1000
+ if (typeof h == "string")
1001
+ g += h, process.env.NODE_ENV !== "production" && (l = le(l, h));
1002
+ else if (h) {
1003
+ var b = Jt(pe(h, t, r, o));
1004
+ l = le(l, b), g += b;
1005
+ }
1006
+ }
1007
+ if (g) {
1008
+ var E = yt(l >>> 0);
1009
+ r.hasNameForId(this.componentId, E) || r.insertRules(this.componentId, E, o(g, ".".concat(E), void 0, this.componentId)), a = fe(a, E);
1010
+ }
1011
+ }
1012
+ return a;
1013
+ }, e;
1014
+ }(), kr = he.createContext(void 0);
1015
+ kr.Consumer;
1016
+ var dt = {}, rr = /* @__PURE__ */ new Set();
1017
+ function oo(e, t, r) {
1018
+ var o = Rt(e), a = e, s = !lt(e), c = t.attrs, f = c === void 0 ? et : c, l = t.componentId, g = l === void 0 ? function(T, N) {
1019
+ var S = typeof T != "string" ? "sc" : Gt(T);
1020
+ dt[S] = (dt[S] || 0) + 1;
1021
+ var m = "".concat(S, "-").concat(Pn("6.0.7" + S + dt[S]));
1022
+ return N ? "".concat(N, "-").concat(m) : m;
1023
+ }(t.displayName, t.parentComponentId) : l, p = t.displayName, h = p === void 0 ? function(T) {
1024
+ return lt(T) ? "styled.".concat(T) : "Styled(".concat(hr(T), ")");
1025
+ }(e) : p, b = t.displayName && t.componentId ? "".concat(Gt(t.displayName), "-").concat(t.componentId) : t.componentId || g, E = o && a.attrs ? a.attrs.concat(f).filter(Boolean) : f, C = t.shouldForwardProp;
1026
+ if (o && a.shouldForwardProp) {
1027
+ var I = a.shouldForwardProp;
1028
+ if (t.shouldForwardProp) {
1029
+ var M = t.shouldForwardProp;
1030
+ C = function(T, N) {
1031
+ return I(T, N) && M(T, N);
1032
+ };
1033
+ } else
1034
+ C = I;
1035
+ }
1036
+ var x = new no(r, b, o ? a.componentStyle : void 0);
1037
+ function v(T, N) {
1038
+ return function(S, m, J) {
1039
+ var Z = S.attrs, tt = S.componentStyle, rt = S.defaultProps, $e = S.foldedComponentIds, Y = S.styledComponentId, Q = S.target, se = he.useContext(kr), Fe = Qt(), ge = S.shouldForwardProp || Fe.shouldForwardProp;
1040
+ process.env.NODE_ENV !== "production" && zt(Y);
1041
+ var G = function(be, ce, ae) {
1042
+ for (var q, W = z(z({}, ce), { className: void 0, theme: ae }), ue = 0; ue < be.length; ue += 1) {
1043
+ var ee = xe(q = be[ue]) ? q(W) : q;
1044
+ for (var X in ee)
1045
+ W[X] = X === "className" ? fe(W[X], ee[X]) : X === "style" ? z(z({}, W[X]), ee[X]) : ee[X];
1046
+ }
1047
+ return ce.className && (W.className = fe(W.className, ce.className)), W;
1048
+ }(Z, m, Rn(m, se, rt) || Ce), ne = G.as || Q, oe = {};
1049
+ for (var L in G)
1050
+ G[L] === void 0 || L[0] === "$" || L === "as" || L === "theme" || (L === "forwardedAs" ? oe.as = G.forwardedAs : ge && !ge(L, ne) || (oe[L] = G[L], ge || process.env.NODE_ENV !== "development" || en(L) || rr.has(L) || !gt.has(ne) || (rr.add(L), console.warn('styled-components: it looks like an unknown prop "'.concat(L, '" is being sent through to the DOM, which will likely trigger a React console error. If you would like automatic filtering of unknown props, you can opt-into that behavior via `<StyleSheetManager shouldForwardProp={...}>` (connect an API like `@emotion/is-prop-valid`) or consider using transient props (`$` prefix for automatic filtering.)')))));
1051
+ var ye = function(be, ce) {
1052
+ var ae = Qt(), q = be.generateAndInjectStyles(ce, ae.styleSheet, ae.stylis);
1053
+ return process.env.NODE_ENV !== "production" && zt(q), q;
1054
+ }(tt, G);
1055
+ process.env.NODE_ENV !== "production" && S.warnTooManyClasses && S.warnTooManyClasses(ye);
1056
+ var ve = fe($e, Y);
1057
+ return ye && (ve += " " + ye), G.className && (ve += " " + G.className), oe[lt(ne) && !gt.has(ne) ? "class" : "className"] = ve, oe.ref = J, Kr(ne, oe);
1058
+ }(P, T, N);
1059
+ }
1060
+ process.env.NODE_ENV !== "production" && (v.displayName = h);
1061
+ var P = he.forwardRef(v);
1062
+ return P.attrs = E, P.componentStyle = x, P.shouldForwardProp = C, process.env.NODE_ENV !== "production" && (P.displayName = h), P.foldedComponentIds = o ? fe(a.foldedComponentIds, a.styledComponentId) : "", P.styledComponentId = b, P.target = o ? a.target : e, Object.defineProperty(P, "defaultProps", { get: function() {
1063
+ return this._foldedDefaultProps;
1064
+ }, set: function(T) {
1065
+ this._foldedDefaultProps = o ? function(N) {
1066
+ for (var S = [], m = 1; m < arguments.length; m++)
1067
+ S[m - 1] = arguments[m];
1068
+ for (var J = 0, Z = S; J < Z.length; J++)
1069
+ vt(N, Z[J], !0);
1070
+ return N;
1071
+ }({}, a.defaultProps, T) : T;
1072
+ } }), process.env.NODE_ENV !== "production" && (_n(h, b), P.warnTooManyClasses = function(T, N) {
1073
+ var S = {}, m = !1;
1074
+ return function(J) {
1075
+ if (!m && (S[J] = !0, Object.keys(S).length >= 200)) {
1076
+ var Z = N ? ' with the id of "'.concat(N, '"') : "";
1077
+ console.warn("Over ".concat(200, " classes were generated for component ").concat(T).concat(Z, `.
1078
+ `) + `Consider using the attrs method, together with a style object for frequently changed styles.
1079
+ Example:
1080
+ const Component = styled.div.attrs(props => ({
1081
+ style: {
1082
+ background: props.background,
1083
+ },
1084
+ }))\`width: 100%;\`
1085
+
1086
+ <Component />`), m = !0, S = {};
1087
+ }
1088
+ };
1089
+ }(h, b)), kt(P, function() {
1090
+ return ".".concat(P.styledComponentId);
1091
+ }), s && vr(P, e, { attrs: !0, componentStyle: !0, displayName: !0, foldedComponentIds: !0, shouldForwardProp: !0, styledComponentId: !0, target: !0 }), P;
1092
+ }
1093
+ function nr(e, t) {
1094
+ for (var r = [e[0]], o = 0, a = t.length; o < a; o += 1)
1095
+ r.push(t[o], e[o + 1]);
1096
+ return r;
1097
+ }
1098
+ var or = function(e) {
1099
+ return Object.assign(e, { isCss: !0 });
1100
+ };
1101
+ function ao(e) {
1102
+ for (var t = [], r = 1; r < arguments.length; r++)
1103
+ t[r - 1] = arguments[r];
1104
+ if (xe(e) || Pe(e)) {
1105
+ var o = e;
1106
+ return or(pe(nr(et, _e([o], t, !0))));
1107
+ }
1108
+ var a = e;
1109
+ return t.length === 0 && a.length === 1 && typeof a[0] == "string" ? pe(a) : or(pe(nr(a, t)));
1110
+ }
1111
+ function wt(e, t, r) {
1112
+ if (r === void 0 && (r = Ce), !t)
1113
+ throw Te(1, t);
1114
+ var o = function(a) {
1115
+ for (var s = [], c = 1; c < arguments.length; c++)
1116
+ s[c - 1] = arguments[c];
1117
+ return e(t, r, ao.apply(void 0, _e([a], s, !1)));
1118
+ };
1119
+ return o.attrs = function(a) {
1120
+ return wt(e, t, z(z({}, r), { attrs: Array.prototype.concat(r.attrs, a).filter(Boolean) }));
1121
+ }, o.withConfig = function(a) {
1122
+ return wt(e, t, z(z({}, r), a));
1123
+ }, o;
1124
+ }
1125
+ var Cr = function(e) {
1126
+ return wt(oo, e);
1127
+ }, Ct = Cr;
1128
+ gt.forEach(function(e) {
1129
+ Ct[e] = Cr(e);
1130
+ });
1131
+ process.env.NODE_ENV !== "production" && typeof navigator < "u" && navigator.product === "ReactNative" && console.warn(`It looks like you've imported 'styled-components' on React Native.
1132
+ Perhaps you're looking to import 'styled-components/native'?
1133
+ Read more about this at https://www.styled-components.com/docs/basics#react-native`);
1134
+ var We = "__sc-".concat(me, "__");
1135
+ process.env.NODE_ENV !== "production" && process.env.NODE_ENV !== "test" && typeof window < "u" && (window[We] || (window[We] = 0), window[We] === 1 && console.warn(`It looks like there are several instances of 'styled-components' initialized in this application. This may cause dynamic styles to not render properly, errors during the rehydration process, a missing theme prop, and makes your application bigger without good reason.
1136
+
1137
+ See https://s-c.sh/2BAXzed for more info.`), window[We] += 1);
1138
+ Ct.div`
1139
+ border: 1px solid #ccc;
1140
+ padding: 16px;
1141
+ border-radius: 4px;
1142
+ box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
1143
+ `;
1144
+ Ct.div`
1145
+ display: flex;
1146
+ justify-content: space-between;
1147
+ align-items: center;
1148
+ margin-bottom: 16px;
1149
+ font-weight: bold;
1150
+ border-bottom: 1px solid #ccc;
1151
+ padding-bottom: 8px;
1152
+ `;
1153
+ var io = { exports: {} }, Ne = {};
1154
+ /**
1155
+ * @license React
1156
+ * react-jsx-runtime.production.min.js
1157
+ *
1158
+ * Copyright (c) Facebook, Inc. and its affiliates.
1159
+ *
1160
+ * This source code is licensed under the MIT license found in the
1161
+ * LICENSE file in the root directory of this source tree.
1162
+ */
1163
+ var ar;
1164
+ function so() {
1165
+ if (ar)
1166
+ return Ne;
1167
+ ar = 1;
1168
+ var e = he, t = Symbol.for("react.element"), r = Symbol.for("react.fragment"), o = Object.prototype.hasOwnProperty, a = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, s = { key: !0, ref: !0, __self: !0, __source: !0 };
1169
+ function c(f, l, g) {
1170
+ var p, h = {}, b = null, E = null;
1171
+ g !== void 0 && (b = "" + g), l.key !== void 0 && (b = "" + l.key), l.ref !== void 0 && (E = l.ref);
1172
+ for (p in l)
1173
+ o.call(l, p) && !s.hasOwnProperty(p) && (h[p] = l[p]);
1174
+ if (f && f.defaultProps)
1175
+ for (p in l = f.defaultProps, l)
1176
+ h[p] === void 0 && (h[p] = l[p]);
1177
+ return { $$typeof: t, type: f, key: b, ref: E, props: h, _owner: a.current };
1178
+ }
1179
+ return Ne.Fragment = r, Ne.jsx = c, Ne.jsxs = c, Ne;
1180
+ }
1181
+ var Ie = {};
1182
+ /**
1183
+ * @license React
1184
+ * react-jsx-runtime.development.js
1185
+ *
1186
+ * Copyright (c) Facebook, Inc. and its affiliates.
1187
+ *
1188
+ * This source code is licensed under the MIT license found in the
1189
+ * LICENSE file in the root directory of this source tree.
1190
+ */
1191
+ var ir;
1192
+ function co() {
1193
+ return ir || (ir = 1, process.env.NODE_ENV !== "production" && function() {
1194
+ var e = he, t = Symbol.for("react.element"), r = Symbol.for("react.portal"), o = Symbol.for("react.fragment"), a = Symbol.for("react.strict_mode"), s = Symbol.for("react.profiler"), c = Symbol.for("react.provider"), f = Symbol.for("react.context"), l = Symbol.for("react.forward_ref"), g = Symbol.for("react.suspense"), p = Symbol.for("react.suspense_list"), h = Symbol.for("react.memo"), b = Symbol.for("react.lazy"), E = Symbol.for("react.offscreen"), C = Symbol.iterator, I = "@@iterator";
1195
+ function M(n) {
1196
+ if (n === null || typeof n != "object")
1197
+ return null;
1198
+ var i = C && n[C] || n[I];
1199
+ return typeof i == "function" ? i : null;
1200
+ }
1201
+ var x = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
1202
+ function v(n) {
1203
+ {
1204
+ for (var i = arguments.length, u = new Array(i > 1 ? i - 1 : 0), d = 1; d < i; d++)
1205
+ u[d - 1] = arguments[d];
1206
+ P("error", n, u);
1207
+ }
1208
+ }
1209
+ function P(n, i, u) {
1210
+ {
1211
+ var d = x.ReactDebugCurrentFrame, R = d.getStackAddendum();
1212
+ R !== "" && (i += "%s", u = u.concat([R]));
1213
+ var O = u.map(function(_) {
1214
+ return String(_);
1215
+ });
1216
+ O.unshift("Warning: " + i), Function.prototype.apply.call(console[n], console, O);
1217
+ }
1218
+ }
1219
+ var T = !1, N = !1, S = !1, m = !1, J = !1, Z;
1220
+ Z = Symbol.for("react.module.reference");
1221
+ function tt(n) {
1222
+ return !!(typeof n == "string" || typeof n == "function" || n === o || n === s || J || n === a || n === g || n === p || m || n === E || T || N || S || typeof n == "object" && n !== null && (n.$$typeof === b || n.$$typeof === h || n.$$typeof === c || n.$$typeof === f || n.$$typeof === l || n.$$typeof === Z || n.getModuleId !== void 0));
1223
+ }
1224
+ function rt(n, i, u) {
1225
+ var d = n.displayName;
1226
+ if (d)
1227
+ return d;
1228
+ var R = i.displayName || i.name || "";
1229
+ return R !== "" ? u + "(" + R + ")" : u;
1230
+ }
1231
+ function $e(n) {
1232
+ return n.displayName || "Context";
1233
+ }
1234
+ function Y(n) {
1235
+ if (n == null)
1236
+ return null;
1237
+ if (typeof n.tag == "number" && v("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof n == "function")
1238
+ return n.displayName || n.name || null;
1239
+ if (typeof n == "string")
1240
+ return n;
1241
+ switch (n) {
1242
+ case o:
1243
+ return "Fragment";
1244
+ case r:
1245
+ return "Portal";
1246
+ case s:
1247
+ return "Profiler";
1248
+ case a:
1249
+ return "StrictMode";
1250
+ case g:
1251
+ return "Suspense";
1252
+ case p:
1253
+ return "SuspenseList";
1254
+ }
1255
+ if (typeof n == "object")
1256
+ switch (n.$$typeof) {
1257
+ case f:
1258
+ var i = n;
1259
+ return $e(i) + ".Consumer";
1260
+ case c:
1261
+ var u = n;
1262
+ return $e(u._context) + ".Provider";
1263
+ case l:
1264
+ return rt(n, n.render, "ForwardRef");
1265
+ case h:
1266
+ var d = n.displayName || null;
1267
+ return d !== null ? d : Y(n.type) || "Memo";
1268
+ case b: {
1269
+ var R = n, O = R._payload, _ = R._init;
1270
+ try {
1271
+ return Y(_(O));
1272
+ } catch {
1273
+ return null;
1274
+ }
1275
+ }
1276
+ }
1277
+ return null;
1278
+ }
1279
+ var Q = Object.assign, se = 0, Fe, ge, G, ne, oe, L, ye;
1280
+ function ve() {
1281
+ }
1282
+ ve.__reactDisabledLog = !0;
1283
+ function be() {
1284
+ {
1285
+ if (se === 0) {
1286
+ Fe = console.log, ge = console.info, G = console.warn, ne = console.error, oe = console.group, L = console.groupCollapsed, ye = console.groupEnd;
1287
+ var n = {
1288
+ configurable: !0,
1289
+ enumerable: !0,
1290
+ value: ve,
1291
+ writable: !0
1292
+ };
1293
+ Object.defineProperties(console, {
1294
+ info: n,
1295
+ log: n,
1296
+ warn: n,
1297
+ error: n,
1298
+ group: n,
1299
+ groupCollapsed: n,
1300
+ groupEnd: n
1301
+ });
1302
+ }
1303
+ se++;
1304
+ }
1305
+ }
1306
+ function ce() {
1307
+ {
1308
+ if (se--, se === 0) {
1309
+ var n = {
1310
+ configurable: !0,
1311
+ enumerable: !0,
1312
+ writable: !0
1313
+ };
1314
+ Object.defineProperties(console, {
1315
+ log: Q({}, n, {
1316
+ value: Fe
1317
+ }),
1318
+ info: Q({}, n, {
1319
+ value: ge
1320
+ }),
1321
+ warn: Q({}, n, {
1322
+ value: G
1323
+ }),
1324
+ error: Q({}, n, {
1325
+ value: ne
1326
+ }),
1327
+ group: Q({}, n, {
1328
+ value: oe
1329
+ }),
1330
+ groupCollapsed: Q({}, n, {
1331
+ value: L
1332
+ }),
1333
+ groupEnd: Q({}, n, {
1334
+ value: ye
1335
+ })
1336
+ });
1337
+ }
1338
+ se < 0 && v("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
1339
+ }
1340
+ }
1341
+ var ae = x.ReactCurrentDispatcher, q;
1342
+ function W(n, i, u) {
1343
+ {
1344
+ if (q === void 0)
1345
+ try {
1346
+ throw Error();
1347
+ } catch (R) {
1348
+ var d = R.stack.trim().match(/\n( *(at )?)/);
1349
+ q = d && d[1] || "";
1350
+ }
1351
+ return `
1352
+ ` + q + n;
1353
+ }
1354
+ }
1355
+ var ue = !1, ee;
1356
+ {
1357
+ var X = typeof WeakMap == "function" ? WeakMap : Map;
1358
+ ee = new X();
1359
+ }
1360
+ function xt(n, i) {
1361
+ if (!n || ue)
1362
+ return "";
1363
+ {
1364
+ var u = ee.get(n);
1365
+ if (u !== void 0)
1366
+ return u;
1367
+ }
1368
+ var d;
1369
+ ue = !0;
1370
+ var R = Error.prepareStackTrace;
1371
+ Error.prepareStackTrace = void 0;
1372
+ var O;
1373
+ O = ae.current, ae.current = null, be();
1374
+ try {
1375
+ if (i) {
1376
+ var _ = function() {
1377
+ throw Error();
1378
+ };
1379
+ if (Object.defineProperty(_.prototype, "props", {
1380
+ set: function() {
1381
+ throw Error();
1382
+ }
1383
+ }), typeof Reflect == "object" && Reflect.construct) {
1384
+ try {
1385
+ Reflect.construct(_, []);
1386
+ } catch (te) {
1387
+ d = te;
1388
+ }
1389
+ Reflect.construct(n, [], _);
1390
+ } else {
1391
+ try {
1392
+ _.call();
1393
+ } catch (te) {
1394
+ d = te;
1395
+ }
1396
+ n.call(_.prototype);
1397
+ }
1398
+ } else {
1399
+ try {
1400
+ throw Error();
1401
+ } catch (te) {
1402
+ d = te;
1403
+ }
1404
+ n();
1405
+ }
1406
+ } catch (te) {
1407
+ if (te && d && typeof te.stack == "string") {
1408
+ for (var w = te.stack.split(`
1409
+ `), V = d.stack.split(`
1410
+ `), D = w.length - 1, j = V.length - 1; D >= 1 && j >= 0 && w[D] !== V[j]; )
1411
+ j--;
1412
+ for (; D >= 1 && j >= 0; D--, j--)
1413
+ if (w[D] !== V[j]) {
1414
+ if (D !== 1 || j !== 1)
1415
+ do
1416
+ if (D--, j--, j < 0 || w[D] !== V[j]) {
1417
+ var B = `
1418
+ ` + w[D].replace(" at new ", " at ");
1419
+ return n.displayName && B.includes("<anonymous>") && (B = B.replace("<anonymous>", n.displayName)), typeof n == "function" && ee.set(n, B), B;
1420
+ }
1421
+ while (D >= 1 && j >= 0);
1422
+ break;
1423
+ }
1424
+ }
1425
+ } finally {
1426
+ ue = !1, ae.current = O, ce(), Error.prepareStackTrace = R;
1427
+ }
1428
+ var Se = n ? n.displayName || n.name : "", Vt = Se ? W(Se) : "";
1429
+ return typeof n == "function" && ee.set(n, Vt), Vt;
1430
+ }
1431
+ function xr(n, i, u) {
1432
+ return xt(n, !1);
1433
+ }
1434
+ function Pr(n) {
1435
+ var i = n.prototype;
1436
+ return !!(i && i.isReactComponent);
1437
+ }
1438
+ function Me(n, i, u) {
1439
+ if (n == null)
1440
+ return "";
1441
+ if (typeof n == "function")
1442
+ return xt(n, Pr(n));
1443
+ if (typeof n == "string")
1444
+ return W(n);
1445
+ switch (n) {
1446
+ case g:
1447
+ return W("Suspense");
1448
+ case p:
1449
+ return W("SuspenseList");
1450
+ }
1451
+ if (typeof n == "object")
1452
+ switch (n.$$typeof) {
1453
+ case l:
1454
+ return xr(n.render);
1455
+ case h:
1456
+ return Me(n.type, i, u);
1457
+ case b: {
1458
+ var d = n, R = d._payload, O = d._init;
1459
+ try {
1460
+ return Me(O(R), i, u);
1461
+ } catch {
1462
+ }
1463
+ }
1464
+ }
1465
+ return "";
1466
+ }
1467
+ var Le = Object.prototype.hasOwnProperty, Pt = {}, Ot = x.ReactDebugCurrentFrame;
1468
+ function Ve(n) {
1469
+ if (n) {
1470
+ var i = n._owner, u = Me(n.type, n._source, i ? i.type : null);
1471
+ Ot.setExtraStackFrame(u);
1472
+ } else
1473
+ Ot.setExtraStackFrame(null);
1474
+ }
1475
+ function Or(n, i, u, d, R) {
1476
+ {
1477
+ var O = Function.call.bind(Le);
1478
+ for (var _ in n)
1479
+ if (O(n, _)) {
1480
+ var w = void 0;
1481
+ try {
1482
+ if (typeof n[_] != "function") {
1483
+ var V = Error((d || "React class") + ": " + u + " type `" + _ + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof n[_] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
1484
+ throw V.name = "Invariant Violation", V;
1485
+ }
1486
+ w = n[_](i, _, d, u, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
1487
+ } catch (D) {
1488
+ w = D;
1489
+ }
1490
+ w && !(w instanceof Error) && (Ve(R), v("%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).", d || "React class", u, _, typeof w), Ve(null)), w instanceof Error && !(w.message in Pt) && (Pt[w.message] = !0, Ve(R), v("Failed %s type: %s", u, w.message), Ve(null));
1491
+ }
1492
+ }
1493
+ }
1494
+ var Tr = Array.isArray;
1495
+ function nt(n) {
1496
+ return Tr(n);
1497
+ }
1498
+ function Ar(n) {
1499
+ {
1500
+ var i = typeof Symbol == "function" && Symbol.toStringTag, u = i && n[Symbol.toStringTag] || n.constructor.name || "Object";
1501
+ return u;
1502
+ }
1503
+ }
1504
+ function Nr(n) {
1505
+ try {
1506
+ return Tt(n), !1;
1507
+ } catch {
1508
+ return !0;
1509
+ }
1510
+ }
1511
+ function Tt(n) {
1512
+ return "" + n;
1513
+ }
1514
+ function At(n) {
1515
+ if (Nr(n))
1516
+ return v("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", Ar(n)), Tt(n);
1517
+ }
1518
+ var Ae = x.ReactCurrentOwner, Ir = {
1519
+ key: !0,
1520
+ ref: !0,
1521
+ __self: !0,
1522
+ __source: !0
1523
+ }, Nt, It, ot;
1524
+ ot = {};
1525
+ function Dr(n) {
1526
+ if (Le.call(n, "ref")) {
1527
+ var i = Object.getOwnPropertyDescriptor(n, "ref").get;
1528
+ if (i && i.isReactWarning)
1529
+ return !1;
1530
+ }
1531
+ return n.ref !== void 0;
1532
+ }
1533
+ function jr(n) {
1534
+ if (Le.call(n, "key")) {
1535
+ var i = Object.getOwnPropertyDescriptor(n, "key").get;
1536
+ if (i && i.isReactWarning)
1537
+ return !1;
1538
+ }
1539
+ return n.key !== void 0;
1540
+ }
1541
+ function $r(n, i) {
1542
+ if (typeof n.ref == "string" && Ae.current && i && Ae.current.stateNode !== i) {
1543
+ var u = Y(Ae.current.type);
1544
+ ot[u] || (v('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', Y(Ae.current.type), n.ref), ot[u] = !0);
1545
+ }
1546
+ }
1547
+ function Fr(n, i) {
1548
+ {
1549
+ var u = function() {
1550
+ Nt || (Nt = !0, v("%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)", i));
1551
+ };
1552
+ u.isReactWarning = !0, Object.defineProperty(n, "key", {
1553
+ get: u,
1554
+ configurable: !0
1555
+ });
1556
+ }
1557
+ }
1558
+ function Mr(n, i) {
1559
+ {
1560
+ var u = function() {
1561
+ It || (It = !0, v("%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));
1562
+ };
1563
+ u.isReactWarning = !0, Object.defineProperty(n, "ref", {
1564
+ get: u,
1565
+ configurable: !0
1566
+ });
1567
+ }
1568
+ }
1569
+ var Lr = function(n, i, u, d, R, O, _) {
1570
+ var w = {
1571
+ $$typeof: t,
1572
+ type: n,
1573
+ key: i,
1574
+ ref: u,
1575
+ props: _,
1576
+ _owner: O
1577
+ };
1578
+ return w._store = {}, Object.defineProperty(w._store, "validated", {
1579
+ configurable: !1,
1580
+ enumerable: !1,
1581
+ writable: !0,
1582
+ value: !1
1583
+ }), Object.defineProperty(w, "_self", {
1584
+ configurable: !1,
1585
+ enumerable: !1,
1586
+ writable: !1,
1587
+ value: d
1588
+ }), Object.defineProperty(w, "_source", {
1589
+ configurable: !1,
1590
+ enumerable: !1,
1591
+ writable: !1,
1592
+ value: R
1593
+ }), Object.freeze && (Object.freeze(w.props), Object.freeze(w)), w;
1594
+ };
1595
+ function Vr(n, i, u, d, R) {
1596
+ {
1597
+ var O, _ = {}, w = null, V = null;
1598
+ u !== void 0 && (At(u), w = "" + u), jr(i) && (At(i.key), w = "" + i.key), Dr(i) && (V = i.ref, $r(i, R));
1599
+ for (O in i)
1600
+ Le.call(i, O) && !Ir.hasOwnProperty(O) && (_[O] = i[O]);
1601
+ if (n && n.defaultProps) {
1602
+ var D = n.defaultProps;
1603
+ for (O in D)
1604
+ _[O] === void 0 && (_[O] = D[O]);
1605
+ }
1606
+ if (w || V) {
1607
+ var j = typeof n == "function" ? n.displayName || n.name || "Unknown" : n;
1608
+ w && Fr(_, j), V && Mr(_, j);
1609
+ }
1610
+ return Lr(n, w, V, R, d, Ae.current, _);
1611
+ }
1612
+ }
1613
+ var at = x.ReactCurrentOwner, Dt = x.ReactDebugCurrentFrame;
1614
+ function we(n) {
1615
+ if (n) {
1616
+ var i = n._owner, u = Me(n.type, n._source, i ? i.type : null);
1617
+ Dt.setExtraStackFrame(u);
1618
+ } else
1619
+ Dt.setExtraStackFrame(null);
1620
+ }
1621
+ var it;
1622
+ it = !1;
1623
+ function st(n) {
1624
+ return typeof n == "object" && n !== null && n.$$typeof === t;
1625
+ }
1626
+ function jt() {
1627
+ {
1628
+ if (at.current) {
1629
+ var n = Y(at.current.type);
1630
+ if (n)
1631
+ return `
1632
+
1633
+ Check the render method of \`` + n + "`.";
1634
+ }
1635
+ return "";
1636
+ }
1637
+ }
1638
+ function zr(n) {
1639
+ {
1640
+ if (n !== void 0) {
1641
+ var i = n.fileName.replace(/^.*[\\\/]/, ""), u = n.lineNumber;
1642
+ return `
1643
+
1644
+ Check your code at ` + i + ":" + u + ".";
1645
+ }
1646
+ return "";
1647
+ }
1648
+ }
1649
+ var $t = {};
1650
+ function Yr(n) {
1651
+ {
1652
+ var i = jt();
1653
+ if (!i) {
1654
+ var u = typeof n == "string" ? n : n.displayName || n.name;
1655
+ u && (i = `
1656
+
1657
+ Check the top-level render call using <` + u + ">.");
1658
+ }
1659
+ return i;
1660
+ }
1661
+ }
1662
+ function Ft(n, i) {
1663
+ {
1664
+ if (!n._store || n._store.validated || n.key != null)
1665
+ return;
1666
+ n._store.validated = !0;
1667
+ var u = Yr(i);
1668
+ if ($t[u])
1669
+ return;
1670
+ $t[u] = !0;
1671
+ var d = "";
1672
+ n && n._owner && n._owner !== at.current && (d = " It was passed a child from " + Y(n._owner.type) + "."), we(n), v('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', u, d), we(null);
1673
+ }
1674
+ }
1675
+ function Mt(n, i) {
1676
+ {
1677
+ if (typeof n != "object")
1678
+ return;
1679
+ if (nt(n))
1680
+ for (var u = 0; u < n.length; u++) {
1681
+ var d = n[u];
1682
+ st(d) && Ft(d, i);
1683
+ }
1684
+ else if (st(n))
1685
+ n._store && (n._store.validated = !0);
1686
+ else if (n) {
1687
+ var R = M(n);
1688
+ if (typeof R == "function" && R !== n.entries)
1689
+ for (var O = R.call(n), _; !(_ = O.next()).done; )
1690
+ st(_.value) && Ft(_.value, i);
1691
+ }
1692
+ }
1693
+ }
1694
+ function Wr(n) {
1695
+ {
1696
+ var i = n.type;
1697
+ if (i == null || typeof i == "string")
1698
+ return;
1699
+ var u;
1700
+ if (typeof i == "function")
1701
+ u = i.propTypes;
1702
+ else if (typeof i == "object" && (i.$$typeof === l || i.$$typeof === h))
1703
+ u = i.propTypes;
1704
+ else
1705
+ return;
1706
+ if (u) {
1707
+ var d = Y(i);
1708
+ Or(u, n.props, "prop", d, n);
1709
+ } else if (i.PropTypes !== void 0 && !it) {
1710
+ it = !0;
1711
+ var R = Y(i);
1712
+ v("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", R || "Unknown");
1713
+ }
1714
+ typeof i.getDefaultProps == "function" && !i.getDefaultProps.isReactClassApproved && v("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
1715
+ }
1716
+ }
1717
+ function Br(n) {
1718
+ {
1719
+ for (var i = Object.keys(n.props), u = 0; u < i.length; u++) {
1720
+ var d = i[u];
1721
+ if (d !== "children" && d !== "key") {
1722
+ we(n), v("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", d), we(null);
1723
+ break;
1724
+ }
1725
+ }
1726
+ n.ref !== null && (we(n), v("Invalid attribute `ref` supplied to `React.Fragment`."), we(null));
1727
+ }
1728
+ }
1729
+ function Lt(n, i, u, d, R, O) {
1730
+ {
1731
+ var _ = tt(n);
1732
+ if (!_) {
1733
+ var w = "";
1734
+ (n === void 0 || typeof n == "object" && n !== null && Object.keys(n).length === 0) && (w += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
1735
+ var V = zr(R);
1736
+ V ? w += V : w += jt();
1737
+ var D;
1738
+ n === null ? D = "null" : nt(n) ? D = "array" : n !== void 0 && n.$$typeof === t ? (D = "<" + (Y(n.type) || "Unknown") + " />", w = " Did you accidentally export a JSX literal instead of a component?") : D = typeof n, v("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", D, w);
1739
+ }
1740
+ var j = Vr(n, i, u, R, O);
1741
+ if (j == null)
1742
+ return j;
1743
+ if (_) {
1744
+ var B = i.children;
1745
+ if (B !== void 0)
1746
+ if (d)
1747
+ if (nt(B)) {
1748
+ for (var Se = 0; Se < B.length; Se++)
1749
+ Mt(B[Se], n);
1750
+ Object.freeze && Object.freeze(B);
1751
+ } else
1752
+ v("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
1753
+ else
1754
+ Mt(B, n);
1755
+ }
1756
+ return n === o ? Br(j) : Wr(j), j;
1757
+ }
1758
+ }
1759
+ function Ur(n, i, u) {
1760
+ return Lt(n, i, u, !0);
1761
+ }
1762
+ function Gr(n, i, u) {
1763
+ return Lt(n, i, u, !1);
1764
+ }
1765
+ var Hr = Gr, qr = Ur;
1766
+ Ie.Fragment = o, Ie.jsx = Hr, Ie.jsxs = qr;
1767
+ }()), Ie;
1768
+ }
1769
+ (function(e) {
1770
+ process.env.NODE_ENV === "production" ? e.exports = so() : e.exports = co();
1771
+ })(io);
1772
+ //# sourceMappingURL=index.es.js.map