@typeolymp/ui-components 1.9.14 → 1.9.15

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/build/index.es.js CHANGED
@@ -1,6 +1,7 @@
1
1
  import { jsx as jsx$1, jsxs, Fragment as Fragment$1 } from 'react/jsx-runtime';
2
- import * as r$1 from 'react';
3
- import r__default, { useLayoutEffect, useContext, forwardRef, createElement, createContext, Fragment, useRef, useDebugValue, useState, useEffect, useImperativeHandle } from 'react';
2
+ import * as React$3 from 'react';
3
+ import React__default, { useLayoutEffect, useContext, forwardRef, createElement, createContext, Fragment, useRef, useState, useEffect, useImperativeHandle } from 'react';
4
+ import styled, { keyframes as keyframes$1 } from 'styled-components';
4
5
 
5
6
  var theme = {
6
7
  colors: {
@@ -1659,12 +1660,12 @@ var reactIs_production_min = {};
1659
1660
  * This source code is licensed under the MIT license found in the
1660
1661
  * LICENSE file in the root directory of this source tree.
1661
1662
  */
1662
- var b$1="function"===typeof Symbol&&Symbol.for,c=b$1?Symbol.for("react.element"):60103,d=b$1?Symbol.for("react.portal"):60106,e=b$1?Symbol.for("react.fragment"):60107,f=b$1?Symbol.for("react.strict_mode"):60108,g$1=b$1?Symbol.for("react.profiler"):60114,h=b$1?Symbol.for("react.provider"):60109,k$1=b$1?Symbol.for("react.context"):60110,l=b$1?Symbol.for("react.async_mode"):60111,m=b$1?Symbol.for("react.concurrent_mode"):60111,n=b$1?Symbol.for("react.forward_ref"):60112,p=b$1?Symbol.for("react.suspense"):60113,q$1=b$1?
1663
- Symbol.for("react.suspense_list"):60120,r=b$1?Symbol.for("react.memo"):60115,t=b$1?Symbol.for("react.lazy"):60116,v$1=b$1?Symbol.for("react.block"):60121,w$1=b$1?Symbol.for("react.fundamental"):60117,x$1=b$1?Symbol.for("react.responder"):60118,y$1=b$1?Symbol.for("react.scope"):60119;
1664
- function z$1(a){if("object"===typeof a&&null!==a){var u=a.$$typeof;switch(u){case c:switch(a=a.type,a){case l:case m:case e:case g$1:case f:case p:return a;default:switch(a=a&&a.$$typeof,a){case k$1:case n:case t:case r:case h:return a;default:return u}}case d:return u}}}function A(a){return z$1(a)===m}reactIs_production_min.AsyncMode=l;reactIs_production_min.ConcurrentMode=m;reactIs_production_min.ContextConsumer=k$1;reactIs_production_min.ContextProvider=h;reactIs_production_min.Element=c;reactIs_production_min.ForwardRef=n;reactIs_production_min.Fragment=e;reactIs_production_min.Lazy=t;reactIs_production_min.Memo=r;reactIs_production_min.Portal=d;
1665
- reactIs_production_min.Profiler=g$1;reactIs_production_min.StrictMode=f;reactIs_production_min.Suspense=p;reactIs_production_min.isAsyncMode=function(a){return A(a)||z$1(a)===l};reactIs_production_min.isConcurrentMode=A;reactIs_production_min.isContextConsumer=function(a){return z$1(a)===k$1};reactIs_production_min.isContextProvider=function(a){return z$1(a)===h};reactIs_production_min.isElement=function(a){return "object"===typeof a&&null!==a&&a.$$typeof===c};reactIs_production_min.isForwardRef=function(a){return z$1(a)===n};reactIs_production_min.isFragment=function(a){return z$1(a)===e};reactIs_production_min.isLazy=function(a){return z$1(a)===t};
1666
- reactIs_production_min.isMemo=function(a){return z$1(a)===r};reactIs_production_min.isPortal=function(a){return z$1(a)===d};reactIs_production_min.isProfiler=function(a){return z$1(a)===g$1};reactIs_production_min.isStrictMode=function(a){return z$1(a)===f};reactIs_production_min.isSuspense=function(a){return z$1(a)===p};
1667
- reactIs_production_min.isValidElementType=function(a){return "string"===typeof a||"function"===typeof a||a===e||a===m||a===g$1||a===f||a===p||a===q$1||"object"===typeof a&&null!==a&&(a.$$typeof===t||a.$$typeof===r||a.$$typeof===h||a.$$typeof===k$1||a.$$typeof===n||a.$$typeof===w$1||a.$$typeof===x$1||a.$$typeof===y$1||a.$$typeof===v$1)};reactIs_production_min.typeOf=z$1;
1663
+ var b="function"===typeof Symbol&&Symbol.for,c=b?Symbol.for("react.element"):60103,d=b?Symbol.for("react.portal"):60106,e=b?Symbol.for("react.fragment"):60107,f=b?Symbol.for("react.strict_mode"):60108,g=b?Symbol.for("react.profiler"):60114,h=b?Symbol.for("react.provider"):60109,k=b?Symbol.for("react.context"):60110,l=b?Symbol.for("react.async_mode"):60111,m=b?Symbol.for("react.concurrent_mode"):60111,n=b?Symbol.for("react.forward_ref"):60112,p=b?Symbol.for("react.suspense"):60113,q=b?
1664
+ Symbol.for("react.suspense_list"):60120,r=b?Symbol.for("react.memo"):60115,t=b?Symbol.for("react.lazy"):60116,v=b?Symbol.for("react.block"):60121,w=b?Symbol.for("react.fundamental"):60117,x=b?Symbol.for("react.responder"):60118,y=b?Symbol.for("react.scope"):60119;
1665
+ function z(a){if("object"===typeof a&&null!==a){var u=a.$$typeof;switch(u){case c:switch(a=a.type,a){case l:case m:case e:case g:case f:case p:return a;default:switch(a=a&&a.$$typeof,a){case k:case n:case t:case r:case h:return a;default:return u}}case d:return u}}}function A(a){return z(a)===m}reactIs_production_min.AsyncMode=l;reactIs_production_min.ConcurrentMode=m;reactIs_production_min.ContextConsumer=k;reactIs_production_min.ContextProvider=h;reactIs_production_min.Element=c;reactIs_production_min.ForwardRef=n;reactIs_production_min.Fragment=e;reactIs_production_min.Lazy=t;reactIs_production_min.Memo=r;reactIs_production_min.Portal=d;
1666
+ reactIs_production_min.Profiler=g;reactIs_production_min.StrictMode=f;reactIs_production_min.Suspense=p;reactIs_production_min.isAsyncMode=function(a){return A(a)||z(a)===l};reactIs_production_min.isConcurrentMode=A;reactIs_production_min.isContextConsumer=function(a){return z(a)===k};reactIs_production_min.isContextProvider=function(a){return z(a)===h};reactIs_production_min.isElement=function(a){return "object"===typeof a&&null!==a&&a.$$typeof===c};reactIs_production_min.isForwardRef=function(a){return z(a)===n};reactIs_production_min.isFragment=function(a){return z(a)===e};reactIs_production_min.isLazy=function(a){return z(a)===t};
1667
+ reactIs_production_min.isMemo=function(a){return z(a)===r};reactIs_production_min.isPortal=function(a){return z(a)===d};reactIs_production_min.isProfiler=function(a){return z(a)===g};reactIs_production_min.isStrictMode=function(a){return z(a)===f};reactIs_production_min.isSuspense=function(a){return z(a)===p};
1668
+ reactIs_production_min.isValidElementType=function(a){return "string"===typeof a||"function"===typeof a||a===e||a===m||a===g||a===f||a===p||a===q||"object"===typeof a&&null!==a&&(a.$$typeof===t||a.$$typeof===r||a.$$typeof===h||a.$$typeof===k||a.$$typeof===n||a.$$typeof===w||a.$$typeof===x||a.$$typeof===y||a.$$typeof===v)};reactIs_production_min.typeOf=z;
1668
1669
 
1669
1670
  var reactIs_development = {};
1670
1671
 
@@ -2071,7 +2072,7 @@ function murmur2(str) {
2071
2072
  return ((h ^ h >>> 15) >>> 0).toString(36);
2072
2073
  }
2073
2074
 
2074
- var unitlessKeys$1 = {
2075
+ var unitlessKeys = {
2075
2076
  animationIterationCount: 1,
2076
2077
  borderImageOutset: 1,
2077
2078
  borderImageSlice: 1,
@@ -2155,7 +2156,7 @@ var processStyleValue = function processStyleValue(key, value) {
2155
2156
  }
2156
2157
  }
2157
2158
 
2158
- if (unitlessKeys$1[key] !== 1 && !isCustomProperty(key) && typeof value === 'number' && value !== 0) {
2159
+ if (unitlessKeys[key] !== 1 && !isCustomProperty(key) && typeof value === 'number' && value !== 0) {
2159
2160
  return value + 'px';
2160
2161
  }
2161
2162
 
@@ -2437,7 +2438,7 @@ var syncFallback = function syncFallback(create) {
2437
2438
  return create();
2438
2439
  };
2439
2440
 
2440
- var useInsertionEffect = r$1['useInsertion' + 'Effect'] ? r$1['useInsertion' + 'Effect'] : false;
2441
+ var useInsertionEffect = React$3['useInsertion' + 'Effect'] ? React$3['useInsertion' + 'Effect'] : false;
2441
2442
  var useInsertionEffectAlwaysWithSyncFallback = !isBrowser$2 ? syncFallback : useInsertionEffect || syncFallback;
2442
2443
  var useInsertionEffectWithLayoutFallback = useInsertionEffect || useLayoutEffect;
2443
2444
 
@@ -3377,7 +3378,7 @@ var __importStar$2 = (commonjsGlobal && commonjsGlobal.__importStar) || function
3377
3378
  };
3378
3379
  Object.defineProperty(BeatLoader, "__esModule", { value: true });
3379
3380
  /** @jsx jsx */
3380
- var React$2 = __importStar$2(r__default);
3381
+ var React$2 = __importStar$2(React__default);
3381
3382
  var react_1 = require$$1;
3382
3383
  var helpers_1 = helpers$1;
3383
3384
  var beat = react_1.keyframes(templateObject_1$O || (templateObject_1$O = __makeTemplateObject(["\n 50% {transform: scale(0.75);opacity: 0.2}\n 100% {transform: scale(1);opacity: 1}\n"], ["\n 50% {transform: scale(0.75);opacity: 0.2}\n 100% {transform: scale(1);opacity: 1}\n"])));
@@ -3404,683 +3405,6 @@ var Loader = /** @class */ (function (_super) {
3404
3405
  var _default = BeatLoader.default = Loader;
3405
3406
  var templateObject_1$O, templateObject_2$u;
3406
3407
 
3407
- function stylis_min (W) {
3408
- function M(d, c, e, h, a) {
3409
- for (var m = 0, b = 0, v = 0, n = 0, q, g, x = 0, K = 0, k, u = k = q = 0, l = 0, r = 0, I = 0, t = 0, B = e.length, J = B - 1, y, f = '', p = '', F = '', G = '', C; l < B;) {
3410
- g = e.charCodeAt(l);
3411
- l === J && 0 !== b + n + v + m && (0 !== b && (g = 47 === b ? 10 : 47), n = v = m = 0, B++, J++);
3412
-
3413
- if (0 === b + n + v + m) {
3414
- if (l === J && (0 < r && (f = f.replace(N, '')), 0 < f.trim().length)) {
3415
- switch (g) {
3416
- case 32:
3417
- case 9:
3418
- case 59:
3419
- case 13:
3420
- case 10:
3421
- break;
3422
-
3423
- default:
3424
- f += e.charAt(l);
3425
- }
3426
-
3427
- g = 59;
3428
- }
3429
-
3430
- switch (g) {
3431
- case 123:
3432
- f = f.trim();
3433
- q = f.charCodeAt(0);
3434
- k = 1;
3435
-
3436
- for (t = ++l; l < B;) {
3437
- switch (g = e.charCodeAt(l)) {
3438
- case 123:
3439
- k++;
3440
- break;
3441
-
3442
- case 125:
3443
- k--;
3444
- break;
3445
-
3446
- case 47:
3447
- switch (g = e.charCodeAt(l + 1)) {
3448
- case 42:
3449
- case 47:
3450
- a: {
3451
- for (u = l + 1; u < J; ++u) {
3452
- switch (e.charCodeAt(u)) {
3453
- case 47:
3454
- if (42 === g && 42 === e.charCodeAt(u - 1) && l + 2 !== u) {
3455
- l = u + 1;
3456
- break a;
3457
- }
3458
-
3459
- break;
3460
-
3461
- case 10:
3462
- if (47 === g) {
3463
- l = u + 1;
3464
- break a;
3465
- }
3466
-
3467
- }
3468
- }
3469
-
3470
- l = u;
3471
- }
3472
-
3473
- }
3474
-
3475
- break;
3476
-
3477
- case 91:
3478
- g++;
3479
-
3480
- case 40:
3481
- g++;
3482
-
3483
- case 34:
3484
- case 39:
3485
- for (; l++ < J && e.charCodeAt(l) !== g;) {
3486
- }
3487
-
3488
- }
3489
-
3490
- if (0 === k) break;
3491
- l++;
3492
- }
3493
-
3494
- k = e.substring(t, l);
3495
- 0 === q && (q = (f = f.replace(ca, '').trim()).charCodeAt(0));
3496
-
3497
- switch (q) {
3498
- case 64:
3499
- 0 < r && (f = f.replace(N, ''));
3500
- g = f.charCodeAt(1);
3501
-
3502
- switch (g) {
3503
- case 100:
3504
- case 109:
3505
- case 115:
3506
- case 45:
3507
- r = c;
3508
- break;
3509
-
3510
- default:
3511
- r = O;
3512
- }
3513
-
3514
- k = M(c, r, k, g, a + 1);
3515
- t = k.length;
3516
- 0 < A && (r = X(O, f, I), C = H(3, k, r, c, D, z, t, g, a, h), f = r.join(''), void 0 !== C && 0 === (t = (k = C.trim()).length) && (g = 0, k = ''));
3517
- if (0 < t) switch (g) {
3518
- case 115:
3519
- f = f.replace(da, ea);
3520
-
3521
- case 100:
3522
- case 109:
3523
- case 45:
3524
- k = f + '{' + k + '}';
3525
- break;
3526
-
3527
- case 107:
3528
- f = f.replace(fa, '$1 $2');
3529
- k = f + '{' + k + '}';
3530
- k = 1 === w || 2 === w && L('@' + k, 3) ? '@-webkit-' + k + '@' + k : '@' + k;
3531
- break;
3532
-
3533
- default:
3534
- k = f + k, 112 === h && (k = (p += k, ''));
3535
- } else k = '';
3536
- break;
3537
-
3538
- default:
3539
- k = M(c, X(c, f, I), k, h, a + 1);
3540
- }
3541
-
3542
- F += k;
3543
- k = I = r = u = q = 0;
3544
- f = '';
3545
- g = e.charCodeAt(++l);
3546
- break;
3547
-
3548
- case 125:
3549
- case 59:
3550
- f = (0 < r ? f.replace(N, '') : f).trim();
3551
- if (1 < (t = f.length)) switch (0 === u && (q = f.charCodeAt(0), 45 === q || 96 < q && 123 > q) && (t = (f = f.replace(' ', ':')).length), 0 < A && void 0 !== (C = H(1, f, c, d, D, z, p.length, h, a, h)) && 0 === (t = (f = C.trim()).length) && (f = '\x00\x00'), q = f.charCodeAt(0), g = f.charCodeAt(1), q) {
3552
- case 0:
3553
- break;
3554
-
3555
- case 64:
3556
- if (105 === g || 99 === g) {
3557
- G += f + e.charAt(l);
3558
- break;
3559
- }
3560
-
3561
- default:
3562
- 58 !== f.charCodeAt(t - 1) && (p += P(f, q, g, f.charCodeAt(2)));
3563
- }
3564
- I = r = u = q = 0;
3565
- f = '';
3566
- g = e.charCodeAt(++l);
3567
- }
3568
- }
3569
-
3570
- switch (g) {
3571
- case 13:
3572
- case 10:
3573
- 47 === b ? b = 0 : 0 === 1 + q && 107 !== h && 0 < f.length && (r = 1, f += '\x00');
3574
- 0 < A * Y && H(0, f, c, d, D, z, p.length, h, a, h);
3575
- z = 1;
3576
- D++;
3577
- break;
3578
-
3579
- case 59:
3580
- case 125:
3581
- if (0 === b + n + v + m) {
3582
- z++;
3583
- break;
3584
- }
3585
-
3586
- default:
3587
- z++;
3588
- y = e.charAt(l);
3589
-
3590
- switch (g) {
3591
- case 9:
3592
- case 32:
3593
- if (0 === n + m + b) switch (x) {
3594
- case 44:
3595
- case 58:
3596
- case 9:
3597
- case 32:
3598
- y = '';
3599
- break;
3600
-
3601
- default:
3602
- 32 !== g && (y = ' ');
3603
- }
3604
- break;
3605
-
3606
- case 0:
3607
- y = '\\0';
3608
- break;
3609
-
3610
- case 12:
3611
- y = '\\f';
3612
- break;
3613
-
3614
- case 11:
3615
- y = '\\v';
3616
- break;
3617
-
3618
- case 38:
3619
- 0 === n + b + m && (r = I = 1, y = '\f' + y);
3620
- break;
3621
-
3622
- case 108:
3623
- if (0 === n + b + m + E && 0 < u) switch (l - u) {
3624
- case 2:
3625
- 112 === x && 58 === e.charCodeAt(l - 3) && (E = x);
3626
-
3627
- case 8:
3628
- 111 === K && (E = K);
3629
- }
3630
- break;
3631
-
3632
- case 58:
3633
- 0 === n + b + m && (u = l);
3634
- break;
3635
-
3636
- case 44:
3637
- 0 === b + v + n + m && (r = 1, y += '\r');
3638
- break;
3639
-
3640
- case 34:
3641
- case 39:
3642
- 0 === b && (n = n === g ? 0 : 0 === n ? g : n);
3643
- break;
3644
-
3645
- case 91:
3646
- 0 === n + b + v && m++;
3647
- break;
3648
-
3649
- case 93:
3650
- 0 === n + b + v && m--;
3651
- break;
3652
-
3653
- case 41:
3654
- 0 === n + b + m && v--;
3655
- break;
3656
-
3657
- case 40:
3658
- if (0 === n + b + m) {
3659
- if (0 === q) switch (2 * x + 3 * K) {
3660
- case 533:
3661
- break;
3662
-
3663
- default:
3664
- q = 1;
3665
- }
3666
- v++;
3667
- }
3668
-
3669
- break;
3670
-
3671
- case 64:
3672
- 0 === b + v + n + m + u + k && (k = 1);
3673
- break;
3674
-
3675
- case 42:
3676
- case 47:
3677
- if (!(0 < n + m + v)) switch (b) {
3678
- case 0:
3679
- switch (2 * g + 3 * e.charCodeAt(l + 1)) {
3680
- case 235:
3681
- b = 47;
3682
- break;
3683
-
3684
- case 220:
3685
- t = l, b = 42;
3686
- }
3687
-
3688
- break;
3689
-
3690
- case 42:
3691
- 47 === g && 42 === x && t + 2 !== l && (33 === e.charCodeAt(t + 2) && (p += e.substring(t, l + 1)), y = '', b = 0);
3692
- }
3693
- }
3694
-
3695
- 0 === b && (f += y);
3696
- }
3697
-
3698
- K = x;
3699
- x = g;
3700
- l++;
3701
- }
3702
-
3703
- t = p.length;
3704
-
3705
- if (0 < t) {
3706
- r = c;
3707
- if (0 < A && (C = H(2, p, r, d, D, z, t, h, a, h), void 0 !== C && 0 === (p = C).length)) return G + p + F;
3708
- p = r.join(',') + '{' + p + '}';
3709
-
3710
- if (0 !== w * E) {
3711
- 2 !== w || L(p, 2) || (E = 0);
3712
-
3713
- switch (E) {
3714
- case 111:
3715
- p = p.replace(ha, ':-moz-$1') + p;
3716
- break;
3717
-
3718
- case 112:
3719
- p = p.replace(Q, '::-webkit-input-$1') + p.replace(Q, '::-moz-$1') + p.replace(Q, ':-ms-input-$1') + p;
3720
- }
3721
-
3722
- E = 0;
3723
- }
3724
- }
3725
-
3726
- return G + p + F;
3727
- }
3728
-
3729
- function X(d, c, e) {
3730
- var h = c.trim().split(ia);
3731
- c = h;
3732
- var a = h.length,
3733
- m = d.length;
3734
-
3735
- switch (m) {
3736
- case 0:
3737
- case 1:
3738
- var b = 0;
3739
-
3740
- for (d = 0 === m ? '' : d[0] + ' '; b < a; ++b) {
3741
- c[b] = Z(d, c[b], e).trim();
3742
- }
3743
-
3744
- break;
3745
-
3746
- default:
3747
- var v = b = 0;
3748
-
3749
- for (c = []; b < a; ++b) {
3750
- for (var n = 0; n < m; ++n) {
3751
- c[v++] = Z(d[n] + ' ', h[b], e).trim();
3752
- }
3753
- }
3754
-
3755
- }
3756
-
3757
- return c;
3758
- }
3759
-
3760
- function Z(d, c, e) {
3761
- var h = c.charCodeAt(0);
3762
- 33 > h && (h = (c = c.trim()).charCodeAt(0));
3763
-
3764
- switch (h) {
3765
- case 38:
3766
- return c.replace(F, '$1' + d.trim());
3767
-
3768
- case 58:
3769
- return d.trim() + c.replace(F, '$1' + d.trim());
3770
-
3771
- default:
3772
- if (0 < 1 * e && 0 < c.indexOf('\f')) return c.replace(F, (58 === d.charCodeAt(0) ? '' : '$1') + d.trim());
3773
- }
3774
-
3775
- return d + c;
3776
- }
3777
-
3778
- function P(d, c, e, h) {
3779
- var a = d + ';',
3780
- m = 2 * c + 3 * e + 4 * h;
3781
-
3782
- if (944 === m) {
3783
- d = a.indexOf(':', 9) + 1;
3784
- var b = a.substring(d, a.length - 1).trim();
3785
- b = a.substring(0, d).trim() + b + ';';
3786
- return 1 === w || 2 === w && L(b, 1) ? '-webkit-' + b + b : b;
3787
- }
3788
-
3789
- if (0 === w || 2 === w && !L(a, 1)) return a;
3790
-
3791
- switch (m) {
3792
- case 1015:
3793
- return 97 === a.charCodeAt(10) ? '-webkit-' + a + a : a;
3794
-
3795
- case 951:
3796
- return 116 === a.charCodeAt(3) ? '-webkit-' + a + a : a;
3797
-
3798
- case 963:
3799
- return 110 === a.charCodeAt(5) ? '-webkit-' + a + a : a;
3800
-
3801
- case 1009:
3802
- if (100 !== a.charCodeAt(4)) break;
3803
-
3804
- case 969:
3805
- case 942:
3806
- return '-webkit-' + a + a;
3807
-
3808
- case 978:
3809
- return '-webkit-' + a + '-moz-' + a + a;
3810
-
3811
- case 1019:
3812
- case 983:
3813
- return '-webkit-' + a + '-moz-' + a + '-ms-' + a + a;
3814
-
3815
- case 883:
3816
- if (45 === a.charCodeAt(8)) return '-webkit-' + a + a;
3817
- if (0 < a.indexOf('image-set(', 11)) return a.replace(ja, '$1-webkit-$2') + a;
3818
- break;
3819
-
3820
- case 932:
3821
- if (45 === a.charCodeAt(4)) switch (a.charCodeAt(5)) {
3822
- case 103:
3823
- return '-webkit-box-' + a.replace('-grow', '') + '-webkit-' + a + '-ms-' + a.replace('grow', 'positive') + a;
3824
-
3825
- case 115:
3826
- return '-webkit-' + a + '-ms-' + a.replace('shrink', 'negative') + a;
3827
-
3828
- case 98:
3829
- return '-webkit-' + a + '-ms-' + a.replace('basis', 'preferred-size') + a;
3830
- }
3831
- return '-webkit-' + a + '-ms-' + a + a;
3832
-
3833
- case 964:
3834
- return '-webkit-' + a + '-ms-flex-' + a + a;
3835
-
3836
- case 1023:
3837
- if (99 !== a.charCodeAt(8)) break;
3838
- b = a.substring(a.indexOf(':', 15)).replace('flex-', '').replace('space-between', 'justify');
3839
- return '-webkit-box-pack' + b + '-webkit-' + a + '-ms-flex-pack' + b + a;
3840
-
3841
- case 1005:
3842
- return ka.test(a) ? a.replace(aa, ':-webkit-') + a.replace(aa, ':-moz-') + a : a;
3843
-
3844
- case 1e3:
3845
- b = a.substring(13).trim();
3846
- c = b.indexOf('-') + 1;
3847
-
3848
- switch (b.charCodeAt(0) + b.charCodeAt(c)) {
3849
- case 226:
3850
- b = a.replace(G, 'tb');
3851
- break;
3852
-
3853
- case 232:
3854
- b = a.replace(G, 'tb-rl');
3855
- break;
3856
-
3857
- case 220:
3858
- b = a.replace(G, 'lr');
3859
- break;
3860
-
3861
- default:
3862
- return a;
3863
- }
3864
-
3865
- return '-webkit-' + a + '-ms-' + b + a;
3866
-
3867
- case 1017:
3868
- if (-1 === a.indexOf('sticky', 9)) break;
3869
-
3870
- case 975:
3871
- c = (a = d).length - 10;
3872
- b = (33 === a.charCodeAt(c) ? a.substring(0, c) : a).substring(d.indexOf(':', 7) + 1).trim();
3873
-
3874
- switch (m = b.charCodeAt(0) + (b.charCodeAt(7) | 0)) {
3875
- case 203:
3876
- if (111 > b.charCodeAt(8)) break;
3877
-
3878
- case 115:
3879
- a = a.replace(b, '-webkit-' + b) + ';' + a;
3880
- break;
3881
-
3882
- case 207:
3883
- case 102:
3884
- a = a.replace(b, '-webkit-' + (102 < m ? 'inline-' : '') + 'box') + ';' + a.replace(b, '-webkit-' + b) + ';' + a.replace(b, '-ms-' + b + 'box') + ';' + a;
3885
- }
3886
-
3887
- return a + ';';
3888
-
3889
- case 938:
3890
- if (45 === a.charCodeAt(5)) switch (a.charCodeAt(6)) {
3891
- case 105:
3892
- return b = a.replace('-items', ''), '-webkit-' + a + '-webkit-box-' + b + '-ms-flex-' + b + a;
3893
-
3894
- case 115:
3895
- return '-webkit-' + a + '-ms-flex-item-' + a.replace(ba, '') + a;
3896
-
3897
- default:
3898
- return '-webkit-' + a + '-ms-flex-line-pack' + a.replace('align-content', '').replace(ba, '') + a;
3899
- }
3900
- break;
3901
-
3902
- case 973:
3903
- case 989:
3904
- if (45 !== a.charCodeAt(3) || 122 === a.charCodeAt(4)) break;
3905
-
3906
- case 931:
3907
- case 953:
3908
- if (!0 === la.test(d)) return 115 === (b = d.substring(d.indexOf(':') + 1)).charCodeAt(0) ? P(d.replace('stretch', 'fill-available'), c, e, h).replace(':fill-available', ':stretch') : a.replace(b, '-webkit-' + b) + a.replace(b, '-moz-' + b.replace('fill-', '')) + a;
3909
- break;
3910
-
3911
- case 962:
3912
- if (a = '-webkit-' + a + (102 === a.charCodeAt(5) ? '-ms-' + a : '') + a, 211 === e + h && 105 === a.charCodeAt(13) && 0 < a.indexOf('transform', 10)) return a.substring(0, a.indexOf(';', 27) + 1).replace(ma, '$1-webkit-$2') + a;
3913
- }
3914
-
3915
- return a;
3916
- }
3917
-
3918
- function L(d, c) {
3919
- var e = d.indexOf(1 === c ? ':' : '{'),
3920
- h = d.substring(0, 3 !== c ? e : 10);
3921
- e = d.substring(e + 1, d.length - 1);
3922
- return R(2 !== c ? h : h.replace(na, '$1'), e, c);
3923
- }
3924
-
3925
- function ea(d, c) {
3926
- var e = P(c, c.charCodeAt(0), c.charCodeAt(1), c.charCodeAt(2));
3927
- return e !== c + ';' ? e.replace(oa, ' or ($1)').substring(4) : '(' + c + ')';
3928
- }
3929
-
3930
- function H(d, c, e, h, a, m, b, v, n, q) {
3931
- for (var g = 0, x = c, w; g < A; ++g) {
3932
- switch (w = S[g].call(B, d, x, e, h, a, m, b, v, n, q)) {
3933
- case void 0:
3934
- case !1:
3935
- case !0:
3936
- case null:
3937
- break;
3938
-
3939
- default:
3940
- x = w;
3941
- }
3942
- }
3943
-
3944
- if (x !== c) return x;
3945
- }
3946
-
3947
- function T(d) {
3948
- switch (d) {
3949
- case void 0:
3950
- case null:
3951
- A = S.length = 0;
3952
- break;
3953
-
3954
- default:
3955
- if ('function' === typeof d) S[A++] = d;else if ('object' === typeof d) for (var c = 0, e = d.length; c < e; ++c) {
3956
- T(d[c]);
3957
- } else Y = !!d | 0;
3958
- }
3959
-
3960
- return T;
3961
- }
3962
-
3963
- function U(d) {
3964
- d = d.prefix;
3965
- void 0 !== d && (R = null, d ? 'function' !== typeof d ? w = 1 : (w = 2, R = d) : w = 0);
3966
- return U;
3967
- }
3968
-
3969
- function B(d, c) {
3970
- var e = d;
3971
- 33 > e.charCodeAt(0) && (e = e.trim());
3972
- V = e;
3973
- e = [V];
3974
-
3975
- if (0 < A) {
3976
- var h = H(-1, c, e, e, D, z, 0, 0, 0, 0);
3977
- void 0 !== h && 'string' === typeof h && (c = h);
3978
- }
3979
-
3980
- var a = M(O, e, c, 0, 0);
3981
- 0 < A && (h = H(-2, a, e, e, D, z, a.length, 0, 0, 0), void 0 !== h && (a = h));
3982
- V = '';
3983
- E = 0;
3984
- z = D = 1;
3985
- return a;
3986
- }
3987
-
3988
- var ca = /^\0+/g,
3989
- N = /[\0\r\f]/g,
3990
- aa = /: */g,
3991
- ka = /zoo|gra/,
3992
- ma = /([,: ])(transform)/g,
3993
- ia = /,\r+?/g,
3994
- F = /([\t\r\n ])*\f?&/g,
3995
- fa = /@(k\w+)\s*(\S*)\s*/,
3996
- Q = /::(place)/g,
3997
- ha = /:(read-only)/g,
3998
- G = /[svh]\w+-[tblr]{2}/,
3999
- da = /\(\s*(.*)\s*\)/g,
4000
- oa = /([\s\S]*?);/g,
4001
- ba = /-self|flex-/g,
4002
- na = /[^]*?(:[rp][el]a[\w-]+)[^]*/,
4003
- la = /stretch|:\s*\w+\-(?:conte|avail)/,
4004
- ja = /([^-])(image-set\()/,
4005
- z = 1,
4006
- D = 1,
4007
- E = 0,
4008
- w = 1,
4009
- O = [],
4010
- S = [],
4011
- A = 0,
4012
- R = null,
4013
- Y = 0,
4014
- V = '';
4015
- B.use = T;
4016
- B.set = U;
4017
- void 0 !== W && U(W);
4018
- return B;
4019
- }
4020
-
4021
- var unitlessKeys = {
4022
- animationIterationCount: 1,
4023
- borderImageOutset: 1,
4024
- borderImageSlice: 1,
4025
- borderImageWidth: 1,
4026
- boxFlex: 1,
4027
- boxFlexGroup: 1,
4028
- boxOrdinalGroup: 1,
4029
- columnCount: 1,
4030
- columns: 1,
4031
- flex: 1,
4032
- flexGrow: 1,
4033
- flexPositive: 1,
4034
- flexShrink: 1,
4035
- flexNegative: 1,
4036
- flexOrder: 1,
4037
- gridRow: 1,
4038
- gridRowEnd: 1,
4039
- gridRowSpan: 1,
4040
- gridRowStart: 1,
4041
- gridColumn: 1,
4042
- gridColumnEnd: 1,
4043
- gridColumnSpan: 1,
4044
- gridColumnStart: 1,
4045
- msGridRow: 1,
4046
- msGridRowSpan: 1,
4047
- msGridColumn: 1,
4048
- msGridColumnSpan: 1,
4049
- fontWeight: 1,
4050
- lineHeight: 1,
4051
- opacity: 1,
4052
- order: 1,
4053
- orphans: 1,
4054
- tabSize: 1,
4055
- widows: 1,
4056
- zIndex: 1,
4057
- zoom: 1,
4058
- WebkitLineClamp: 1,
4059
- // SVG-related properties
4060
- fillOpacity: 1,
4061
- floodOpacity: 1,
4062
- stopOpacity: 1,
4063
- strokeDasharray: 1,
4064
- strokeDashoffset: 1,
4065
- strokeMiterlimit: 1,
4066
- strokeOpacity: 1,
4067
- strokeWidth: 1
4068
- };
4069
-
4070
- var reactPropsRegex = /^((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)-.*))$/; // https://esbench.com/bench/5bfee68a4cd7e6009ef61d23
4071
-
4072
- var isPropValid = /* #__PURE__ */memoize(function (prop) {
4073
- return reactPropsRegex.test(prop) || prop.charCodeAt(0) === 111
4074
- /* o */
4075
- && prop.charCodeAt(1) === 110
4076
- /* n */
4077
- && prop.charCodeAt(2) < 91;
4078
- }
4079
- /* Z+1 */
4080
- );
4081
-
4082
- function y(){return (y=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r]);}return e}).apply(this,arguments)}var v=function(e,t){for(var n=[e[0]],r=0,o=t.length;r<o;r+=1)n.push(t[r],e[r+1]);return n},g=function(t){return null!==t&&"object"==typeof t&&"[object Object]"===(t.toString?t.toString():Object.prototype.toString.call(t))&&!reactIs$1.exports.typeOf(t)},S=Object.freeze([]),w=Object.freeze({});function E(e){return "function"==typeof e}function b(e){return "production"!==process.env.NODE_ENV&&"string"==typeof e&&e||e.displayName||e.name||"Component"}function _(e){return e&&"string"==typeof e.styledComponentId}var N="undefined"!=typeof process&&(process.env.REACT_APP_SC_ATTR||process.env.SC_ATTR)||"data-styled",C="undefined"!=typeof window&&"HTMLElement"in window,I=Boolean("boolean"==typeof SC_DISABLE_SPEEDY?SC_DISABLE_SPEEDY:"undefined"!=typeof process&&void 0!==process.env.REACT_APP_SC_DISABLE_SPEEDY&&""!==process.env.REACT_APP_SC_DISABLE_SPEEDY?"false"!==process.env.REACT_APP_SC_DISABLE_SPEEDY&&process.env.REACT_APP_SC_DISABLE_SPEEDY:"undefined"!=typeof process&&void 0!==process.env.SC_DISABLE_SPEEDY&&""!==process.env.SC_DISABLE_SPEEDY?"false"!==process.env.SC_DISABLE_SPEEDY&&process.env.SC_DISABLE_SPEEDY:"production"!==process.env.NODE_ENV),O="production"!==process.env.NODE_ENV?{1:"Cannot create styled-component for component: %s.\n\n",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.\n\n- Are you trying to reuse it across renders?\n- Are you accidentally calling collectStyles twice?\n\n",3:"Streaming SSR is only supported in a Node.js environment; Please do not try to call this method in the browser.\n\n",4:"The `StyleSheetManager` expects a valid target or sheet prop!\n\n- Does this error occur on the client and is your target falsy?\n- Does this error occur on the server and is the sheet falsy?\n\n",5:"The clone method cannot be used on the client!\n\n- Are you running in a client-like environment on the server?\n- Are you trying to run SSR on the client?\n\n",6:"Trying to insert a new style tag, but the given Node is unmounted!\n\n- Are you using a custom target that isn't mounted?\n- Does your document not have a valid head element?\n- Have you accidentally removed a style tag manually?\n\n",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.\n\n',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\n\n",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.\n\n",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.\n\n",14:'ThemeProvider: "theme" prop is required.\n\n',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.\nYou may only create up to 1,073,741,824 components. If you're creating components dynamically,\nas for instance in your render method then you may be running into this limitation.\n\n",17:"CSSStyleSheet could not be found on HTMLStyleElement.\nHas styled-components' style tag been unmounted or altered by another script?\n"}:{};function R(){for(var e=arguments.length<=0?void 0:arguments[0],t=[],n=1,r=arguments.length;n<r;n+=1)t.push(n<0||arguments.length<=n?void 0:arguments[n]);return t.forEach((function(t){e=e.replace(/%[a-z]/,t);})),e}function D(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];throw "production"===process.env.NODE_ENV?new Error("An error occurred. See https://git.io/JUIaE#"+e+" for more information."+(n.length>0?" Args: "+n.join(", "):"")):new Error(R.apply(void 0,[O[e]].concat(n)).trim())}var j=function(){function e(e){this.groupSizes=new Uint32Array(512),this.length=512,this.tag=e;}var t=e.prototype;return t.indexOfGroup=function(e){for(var t=0,n=0;n<e;n++)t+=this.groupSizes[n];return t},t.insertRules=function(e,t){if(e>=this.groupSizes.length){for(var n=this.groupSizes,r=n.length,o=r;e>=o;)(o<<=1)<0&&D(16,""+e);this.groupSizes=new Uint32Array(o),this.groupSizes.set(n),this.length=o;for(var s=r;s<o;s++)this.groupSizes[s]=0;}for(var i=this.indexOfGroup(e+1),a=0,c=t.length;a<c;a++)this.tag.insertRule(i,t[a])&&(this.groupSizes[e]++,i++);},t.clearGroup=function(e){if(e<this.length){var t=this.groupSizes[e],n=this.indexOfGroup(e),r=n+t;this.groupSizes[e]=0;for(var o=n;o<r;o++)this.tag.deleteRule(n);}},t.getGroup=function(e){var t="";if(e>=this.length||0===this.groupSizes[e])return t;for(var n=this.groupSizes[e],r=this.indexOfGroup(e),o=r+n,s=r;s<o;s++)t+=this.tag.getRule(s)+"/*!sc*/\n";return t},e}(),T=new Map,x=new Map,k=1,V=function(e){if(T.has(e))return T.get(e);for(;x.has(k);)k++;var t=k++;return "production"!==process.env.NODE_ENV&&((0|t)<0||t>1<<30)&&D(16,""+t),T.set(e,t),x.set(t,e),t},z=function(e){return x.get(e)},B=function(e,t){t>=k&&(k=t+1),T.set(e,t),x.set(t,e);},M="style["+N+'][data-styled-version="5.3.6"]',G=new RegExp("^"+N+'\\.g(\\d+)\\[id="([\\w\\d-]+)"\\].*?"([^"]*)'),L=function(e,t,n){for(var r,o=n.split(","),s=0,i=o.length;s<i;s++)(r=o[s])&&e.registerName(t,r);},F=function(e,t){for(var n=(t.textContent||"").split("/*!sc*/\n"),r=[],o=0,s=n.length;o<s;o++){var i=n[o].trim();if(i){var a=i.match(G);if(a){var c=0|parseInt(a[1],10),u=a[2];0!==c&&(B(u,c),L(e,u,a[3]),e.getTag().insertRules(c,r)),r.length=0;}else r.push(i);}}},Y=function(){return "undefined"!=typeof __webpack_nonce__?__webpack_nonce__:null},q=function(e){var t=document.head,n=e||t,r=document.createElement("style"),o=function(e){for(var t=e.childNodes,n=t.length;n>=0;n--){var r=t[n];if(r&&1===r.nodeType&&r.hasAttribute(N))return r}}(n),s=void 0!==o?o.nextSibling:null;r.setAttribute(N,"active"),r.setAttribute("data-styled-version","5.3.6");var i=Y();return i&&r.setAttribute("nonce",i),n.insertBefore(r,s),r},H=function(){function e(e){var t=this.element=q(e);t.appendChild(document.createTextNode("")),this.sheet=function(e){if(e.sheet)return e.sheet;for(var t=document.styleSheets,n=0,r=t.length;n<r;n++){var o=t[n];if(o.ownerNode===e)return o}D(17);}(t),this.length=0;}var t=e.prototype;return t.insertRule=function(e,t){try{return this.sheet.insertRule(t,e),this.length++,!0}catch(e){return !1}},t.deleteRule=function(e){this.sheet.deleteRule(e),this.length--;},t.getRule=function(e){var t=this.sheet.cssRules[e];return void 0!==t&&"string"==typeof t.cssText?t.cssText:""},e}(),$=function(){function e(e){var t=this.element=q(e);this.nodes=t.childNodes,this.length=0;}var t=e.prototype;return t.insertRule=function(e,t){if(e<=this.length&&e>=0){var n=document.createTextNode(t),r=this.nodes[e];return this.element.insertBefore(n,r||null),this.length++,!0}return !1},t.deleteRule=function(e){this.element.removeChild(this.nodes[e]),this.length--;},t.getRule=function(e){return e<this.length?this.nodes[e].textContent:""},e}(),W=function(){function e(e){this.rules=[],this.length=0;}var t=e.prototype;return t.insertRule=function(e,t){return e<=this.length&&(this.rules.splice(e,0,t),this.length++,!0)},t.deleteRule=function(e){this.rules.splice(e,1),this.length--;},t.getRule=function(e){return e<this.length?this.rules[e]:""},e}(),U=C,J={isServer:!C,useCSSOMInjection:!I},X=function(){function e(e,t,n){void 0===e&&(e=w),void 0===t&&(t={}),this.options=y({},J,{},e),this.gs=t,this.names=new Map(n),this.server=!!e.isServer,!this.server&&C&&U&&(U=!1,function(e){for(var t=document.querySelectorAll(M),n=0,r=t.length;n<r;n++){var o=t[n];o&&"active"!==o.getAttribute(N)&&(F(e,o),o.parentNode&&o.parentNode.removeChild(o));}}(this));}e.registerId=function(e){return V(e)};var t=e.prototype;return t.reconstructWithOptions=function(t,n){return void 0===n&&(n=!0),new e(y({},this.options,{},t),this.gs,n&&this.names||void 0)},t.allocateGSInstance=function(e){return this.gs[e]=(this.gs[e]||0)+1},t.getTag=function(){return this.tag||(this.tag=(n=(t=this.options).isServer,r=t.useCSSOMInjection,o=t.target,e=n?new W(o):r?new H(o):new $(o),new j(e)));var e,t,n,r,o;},t.hasNameForId=function(e,t){return this.names.has(e)&&this.names.get(e).has(t)},t.registerName=function(e,t){if(V(e),this.names.has(e))this.names.get(e).add(t);else {var n=new Set;n.add(t),this.names.set(e,n);}},t.insertRules=function(e,t,n){this.registerName(e,t),this.getTag().insertRules(V(e),n);},t.clearNames=function(e){this.names.has(e)&&this.names.get(e).clear();},t.clearRules=function(e){this.getTag().clearGroup(V(e)),this.clearNames(e);},t.clearTag=function(){this.tag=void 0;},t.toString=function(){return function(e){for(var t=e.getTag(),n=t.length,r="",o=0;o<n;o++){var s=z(o);if(void 0!==s){var i=e.names.get(s),a=t.getGroup(o);if(i&&a&&i.size){var c=N+".g"+o+'[id="'+s+'"]',u="";void 0!==i&&i.forEach((function(e){e.length>0&&(u+=e+",");})),r+=""+a+c+'{content:"'+u+'"}/*!sc*/\n';}}}return r}(this)},e}(),Z=/(a)(d)/gi,K=function(e){return String.fromCharCode(e+(e>25?39:97))};function Q(e){var t,n="";for(t=Math.abs(e);t>52;t=t/52|0)n=K(t%52)+n;return (K(t%52)+n).replace(Z,"$1-$2")}var ee=function(e,t){for(var n=t.length;n;)e=33*e^t.charCodeAt(--n);return e},te=function(e){return ee(5381,e)};function ne(e){for(var t=0;t<e.length;t+=1){var n=e[t];if(E(n)&&!_(n))return !1}return !0}var re=te("5.3.6"),oe=function(){function e(e,t,n){this.rules=e,this.staticRulesId="",this.isStatic="production"===process.env.NODE_ENV&&(void 0===n||n.isStatic)&&ne(e),this.componentId=t,this.baseHash=ee(re,t),this.baseStyle=n,X.registerId(t);}return e.prototype.generateAndInjectStyles=function(e,t,n){var r=this.componentId,o=[];if(this.baseStyle&&o.push(this.baseStyle.generateAndInjectStyles(e,t,n)),this.isStatic&&!n.hash)if(this.staticRulesId&&t.hasNameForId(r,this.staticRulesId))o.push(this.staticRulesId);else {var s=_e(this.rules,e,t,n).join(""),i=Q(ee(this.baseHash,s)>>>0);if(!t.hasNameForId(r,i)){var a=n(s,"."+i,void 0,r);t.insertRules(r,i,a);}o.push(i),this.staticRulesId=i;}else {for(var c=this.rules.length,u=ee(this.baseHash,n.hash),l="",d=0;d<c;d++){var h=this.rules[d];if("string"==typeof h)l+=h,"production"!==process.env.NODE_ENV&&(u=ee(u,h+d));else if(h){var p=_e(h,e,t,n),f=Array.isArray(p)?p.join(""):p;u=ee(u,f+d),l+=f;}}if(l){var m=Q(u>>>0);if(!t.hasNameForId(r,m)){var y=n(l,"."+m,void 0,r);t.insertRules(r,m,y);}o.push(m);}}return o.join(" ")},e}(),se=/^\s*\/\/.*$/gm,ie=[":","[",".","#"];function ae(e){var t,n,r,o,s=void 0===e?w:e,i=s.options,a=void 0===i?w:i,c=s.plugins,u=void 0===c?S:c,l=new stylis_min(a),d=[],p=function(e){function t(t){if(t)try{e(t+"}");}catch(e){}}return function(n,r,o,s,i,a,c,u,l,d){switch(n){case 1:if(0===l&&64===r.charCodeAt(0))return e(r+";"),"";break;case 2:if(0===u)return r+"/*|*/";break;case 3:switch(u){case 102:case 112:return e(o[0]+r),"";default:return r+(0===d?"/*|*/":"")}case-2:r.split("/*|*/}").forEach(t);}}}((function(e){d.push(e);})),f=function(e,r,s){return 0===r&&-1!==ie.indexOf(s[n.length])||s.match(o)?e:"."+t};function m(e,s,i,a){void 0===a&&(a="&");var c=e.replace(se,""),u=s&&i?i+" "+s+" { "+c+" }":c;return t=a,n=s,r=new RegExp("\\"+n+"\\b","g"),o=new RegExp("(\\"+n+"\\b){2,}"),l(i||!s?"":s,u)}return l.use([].concat(u,[function(e,t,o){2===e&&o.length&&o[0].lastIndexOf(n)>0&&(o[0]=o[0].replace(r,f));},p,function(e){if(-2===e){var t=d;return d=[],t}}])),m.hash=u.length?u.reduce((function(e,t){return t.name||D(15),ee(e,t.name)}),5381).toString():"",m}var ce=r__default.createContext();ce.Consumer;var le=r__default.createContext(),de=(le.Consumer,new X),he=ae();function pe(){return useContext(ce)||de}function fe(){return useContext(le)||he}var ye=function(){function e(e,t){var n=this;this.inject=function(e,t){void 0===t&&(t=he);var r=n.name+t.hash;e.hasNameForId(n.id,r)||e.insertRules(n.id,r,t(n.rules,r,"@keyframes"));},this.toString=function(){return D(12,String(n.name))},this.name=e,this.id="sc-keyframes-"+e,this.rules=t;}return e.prototype.getName=function(e){return void 0===e&&(e=he),this.name+e.hash},e}(),ve=/([A-Z])/,ge=/([A-Z])/g,Se=/^ms-/,we=function(e){return "-"+e.toLowerCase()};function Ee(e){return ve.test(e)?e.replace(ge,we).replace(Se,"-ms-"):e}var be=function(e){return null==e||!1===e||""===e};function _e(e,n,r,o){if(Array.isArray(e)){for(var s,i=[],a=0,c=e.length;a<c;a+=1)""!==(s=_e(e[a],n,r,o))&&(Array.isArray(s)?i.push.apply(i,s):i.push(s));return i}if(be(e))return "";if(_(e))return "."+e.styledComponentId;if(E(e)){if("function"!=typeof(l=e)||l.prototype&&l.prototype.isReactComponent||!n)return e;var u=e(n);return "production"!==process.env.NODE_ENV&&reactIs$1.exports.isElement(u)&&console.warn(b(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."),_e(u,n,r,o)}var l;return e instanceof ye?r?(e.inject(r,o),e.getName(o)):e:g(e)?function e(t,n){var r,o,s=[];for(var i in t)t.hasOwnProperty(i)&&!be(t[i])&&(Array.isArray(t[i])&&t[i].isCss||E(t[i])?s.push(Ee(i)+":",t[i],";"):g(t[i])?s.push.apply(s,e(t[i],i)):s.push(Ee(i)+": "+(r=i,null==(o=t[i])||"boolean"==typeof o||""===o?"":"number"!=typeof o||0===o||r in unitlessKeys?String(o).trim():o+"px")+";"));return n?[n+" {"].concat(s,["}"]):s}(e):e.toString()}var Ne=function(e){return Array.isArray(e)&&(e.isCss=!0),e};function Ae(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return E(e)||g(e)?Ne(_e(v(S,[e].concat(n)))):0===n.length&&1===e.length&&"string"==typeof e[0]?e:Ne(_e(v(e,n)))}var Ce=/invalid hook call/i,Ie=new Set,Pe=function(e,t){if("production"!==process.env.NODE_ENV){var n="The component "+e+(t?' with the id of "'+t+'"':"")+" has been created dynamically.\nYou may see this warning because you've called styled inside another component.\nTo resolve this only create new StyledComponents outside of any render method and function component.",r=console.error;try{var o=!0;console.error=function(e){if(Ce.test(e))o=!1,Ie.delete(n);else {for(var t=arguments.length,s=new Array(t>1?t-1:0),i=1;i<t;i++)s[i-1]=arguments[i];r.apply(void 0,[e].concat(s));}},useRef(),o&&!Ie.has(n)&&(console.warn(n),Ie.add(n));}catch(e){Ce.test(e.message)&&Ie.delete(n);}finally{console.error=r;}}},Oe=function(e,t,n){return void 0===n&&(n=w),e.theme!==n.theme&&e.theme||t||n.theme},Re=/[!"#$%&'()*+,./:;<=>?@[\\\]^`{|}~-]+/g,De=/(^-|-$)/g;function je(e){return e.replace(Re,"-").replace(De,"")}var Te=function(e){return Q(te(e)>>>0)};function xe(e){return "string"==typeof e&&("production"===process.env.NODE_ENV||e.charAt(0)===e.charAt(0).toLowerCase())}var ke=function(e){return "function"==typeof e||"object"==typeof e&&null!==e&&!Array.isArray(e)},Ve=function(e){return "__proto__"!==e&&"constructor"!==e&&"prototype"!==e};function ze(e,t,n){var r=e[n];ke(t)&&ke(r)?Be(r,t):e[n]=t;}function Be(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];for(var o=0,s=n;o<s.length;o++){var i=s[o];if(ke(i))for(var a in i)Ve(a)&&ze(e,i[a],a);}return e}var Me=r__default.createContext();Me.Consumer;var Fe={};function Ye(e,t,n){var o=_(e),i=!xe(e),a=t.attrs,c=void 0===a?S:a,d=t.componentId,h=void 0===d?function(e,t){var n="string"!=typeof e?"sc":je(e);Fe[n]=(Fe[n]||0)+1;var r=n+"-"+Te("5.3.6"+n+Fe[n]);return t?t+"-"+r:r}(t.displayName,t.parentComponentId):d,p=t.displayName,v=void 0===p?function(e){return xe(e)?"styled."+e:"Styled("+b(e)+")"}(e):p,g=t.displayName&&t.componentId?je(t.displayName)+"-"+t.componentId:t.componentId||h,N=o&&e.attrs?Array.prototype.concat(e.attrs,c).filter(Boolean):c,A=t.shouldForwardProp;o&&e.shouldForwardProp&&(A=t.shouldForwardProp?function(n,r,o){return e.shouldForwardProp(n,r,o)&&t.shouldForwardProp(n,r,o)}:e.shouldForwardProp);var C,I=new oe(n,g,o?e.componentStyle:void 0),P=I.isStatic&&0===c.length,O=function(e,t){return function(e,t,n,r){var o=e.attrs,i=e.componentStyle,a=e.defaultProps,c=e.foldedComponentIds,d=e.shouldForwardProp,h=e.styledComponentId,p=e.target;"production"!==process.env.NODE_ENV&&useDebugValue(h);var m=function(e,t,n){void 0===e&&(e=w);var r=y({},t,{theme:e}),o={};return n.forEach((function(e){var t,n,s,i=e;for(t in E(i)&&(i=i(r)),i)r[t]=o[t]="className"===t?(n=o[t],s=i[t],n&&s?n+" "+s:n||s):i[t];})),[r,o]}(Oe(t,useContext(Me),a)||w,t,o),v=m[0],g=m[1],S=function(e,t,n,r){var o=pe(),s=fe(),i=t?e.generateAndInjectStyles(w,o,s):e.generateAndInjectStyles(n,o,s);return "production"!==process.env.NODE_ENV&&useDebugValue(i),"production"!==process.env.NODE_ENV&&!t&&r&&r(i),i}(i,r,v,"production"!==process.env.NODE_ENV?e.warnTooManyClasses:void 0),b=n,_=g.$as||t.$as||g.as||t.as||p,N=xe(_),A=g!==t?y({},t,{},g):t,C={};for(var I in A)"$"!==I[0]&&"as"!==I&&("forwardedAs"===I?C.as=A[I]:(d?d(I,isPropValid,_):!N||isPropValid(I))&&(C[I]=A[I]));return t.style&&g.style!==t.style&&(C.style=y({},t.style,{},g.style)),C.className=Array.prototype.concat(c,h,S!==h?S:null,t.className,g.className).filter(Boolean).join(" "),C.ref=b,createElement(_,C)}(C,e,t,P)};return O.displayName=v,(C=r__default.forwardRef(O)).attrs=N,C.componentStyle=I,C.displayName=v,C.shouldForwardProp=A,C.foldedComponentIds=o?Array.prototype.concat(e.foldedComponentIds,e.styledComponentId):S,C.styledComponentId=g,C.target=o?e.target:e,C.withComponent=function(e){var r=t.componentId,o=function(e,t){if(null==e)return {};var n,r,o={},s=Object.keys(e);for(r=0;r<s.length;r++)n=s[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(t,["componentId"]),s=r&&r+"-"+(xe(e)?e:je(b(e)));return Ye(e,y({},o,{attrs:N,componentId:s}),n)},Object.defineProperty(C,"defaultProps",{get:function(){return this._foldedDefaultProps},set:function(t){this._foldedDefaultProps=o?Be({},e.defaultProps,t):t;}}),"production"!==process.env.NODE_ENV&&(Pe(v,g),C.warnTooManyClasses=function(e,t){var n={},r=!1;return function(o){if(!r&&(n[o]=!0,Object.keys(n).length>=200)){var s=t?' with the id of "'+t+'"':"";console.warn("Over 200 classes were generated for component "+e+s+".\nConsider using the attrs method, together with a style object for frequently changed styles.\nExample:\n const Component = styled.div.attrs(props => ({\n style: {\n background: props.background,\n },\n }))`width: 100%;`\n\n <Component />"),r=!0,n={};}}}(v,g)),C.toString=function(){return "."+C.styledComponentId},i&&hoistNonReactStatics_cjs(C,e,{attrs:!0,componentStyle:!0,displayName:!0,foldedComponentIds:!0,shouldForwardProp:!0,styledComponentId:!0,target:!0,withComponent:!0}),C}var qe=function(e){return function e(t,r,o){if(void 0===o&&(o=w),!reactIs$1.exports.isValidElementType(r))return D(1,String(r));var s=function(){return t(r,o,Ae.apply(void 0,arguments))};return s.withConfig=function(n){return e(t,r,y({},o,{},n))},s.attrs=function(n){return e(t,r,y({},o,{attrs:Array.prototype.concat(o.attrs,n).filter(Boolean)}))},s}(Ye,e)};["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","marquee","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","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","marker","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","textPath","tspan"].forEach((function(e){qe[e]=qe(e);}));function We(e){"production"!==process.env.NODE_ENV&&"undefined"!=typeof navigator&&"ReactNative"===navigator.product&&console.warn("`keyframes` cannot be used on ReactNative, only on the web. To do animation in ReactNative please use Animated.");for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];var o=Ae.apply(void 0,[e].concat(n)).join(""),s=Te(o);return new ye(s,o)}"production"!==process.env.NODE_ENV&&"undefined"!=typeof navigator&&"ReactNative"===navigator.product&&console.warn("It looks like you've imported 'styled-components' on React Native.\nPerhaps you're looking to import 'styled-components/native'?\nRead more about this at https://www.styled-components.com/docs/basics#react-native"),"production"!==process.env.NODE_ENV&&"test"!==process.env.NODE_ENV&&"undefined"!=typeof window&&(window["__styled-components-init__"]=window["__styled-components-init__"]||0,1===window["__styled-components-init__"]&&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.\n\nSee https://s-c.sh/2BAXzed for more info."),window["__styled-components-init__"]+=1);var styled = qe;
4083
-
4084
3408
  var StyledButton = styled.button(templateObject_1$N || (templateObject_1$N = __makeTemplateObject$1(["\n width: ", ";\n height: ", ";\n display: flex;\n flex-direction: row;\n justify-content: center;\n align-items: center;\n padding: 13px 20px 16px;\n background-color: ", ";\n box-shadow: ", ";\n\n border: ", ";\n border-radius: 6px;\n box-sizing: border-box;\n text-decoration: none;\n cursor: pointer;\n\n span {\n color: ", ";\n font-family: ", ";\n font-style: normal;\n font-weight: bold;\n font-size: ", ";\n }\n\n :hover {\n opacity: 0.85;\n }\n\n :active {\n box-shadow: none;\n margin-top: ", ";\n height: ", ";\n }\n"], ["\n width: ", ";\n height: ", ";\n display: flex;\n flex-direction: row;\n justify-content: center;\n align-items: center;\n padding: 13px 20px 16px;\n background-color: ", ";\n box-shadow: ", ";\n\n border: ", ";\n border-radius: 6px;\n box-sizing: border-box;\n text-decoration: none;\n cursor: pointer;\n\n span {\n color: ", ";\n font-family: ", ";\n font-style: normal;\n font-weight: bold;\n font-size: ", ";\n }\n\n :hover {\n opacity: 0.85;\n }\n\n :active {\n box-shadow: none;\n margin-top: ", ";\n height: ", ";\n }\n"])), function (_a) {
4085
3409
  var fluid = _a.fluid;
4086
3410
  return (fluid ? "100%" : "fit-content");
@@ -5588,7 +4912,7 @@ exports.isStrongPassword = isStrongPassword;
5588
4912
  var Container$9 = styled.div(templateObject_1$h || (templateObject_1$h = __makeTemplateObject$1(["\n display: flex;\n flex-direction: column;\n align-items: flex-start;\n flex-wrap: wrap;\n"], ["\n display: flex;\n flex-direction: column;\n align-items: flex-start;\n flex-wrap: wrap;\n"])));
5589
4913
  var Label$5 = styled(StyledParagraph)(templateObject_2$e || (templateObject_2$e = __makeTemplateObject$1(["\n font-weight: 500;\n color: ", ";\n"], ["\n font-weight: 500;\n color: ", ";\n"])), theme.colors.darkGray.base);
5590
4914
  var HelperContainer = styled.div(templateObject_3$6 || (templateObject_3$6 = __makeTemplateObject$1(["\n margin-top: 5px;\n padding-left: 5px;\n"], ["\n margin-top: 5px;\n padding-left: 5px;\n"])));
5591
- var fadeIn = We(templateObject_4$4 || (templateObject_4$4 = __makeTemplateObject$1(["\n from {\n opacity: 0;\n }\n to {\n opacity: 1;\n }\n"], ["\n from {\n opacity: 0;\n }\n to {\n opacity: 1;\n }\n"])));
4915
+ var fadeIn = keyframes$1(templateObject_4$4 || (templateObject_4$4 = __makeTemplateObject$1(["\n from {\n opacity: 0;\n }\n to {\n opacity: 1;\n }\n"], ["\n from {\n opacity: 0;\n }\n to {\n opacity: 1;\n }\n"])));
5592
4916
  var Helper = styled(StyledParagraph)(templateObject_5$2 || (templateObject_5$2 = __makeTemplateObject$1(["\n font-weight: 400;\n font-size: 14px;\n color: ", ";\n animation: ", " 0.3s linear;\n"], ["\n font-weight: 400;\n font-size: 14px;\n color: ", ";\n animation: ", " 0.3s linear;\n"])), function (_a) {
5593
4917
  var isOk = _a.isOk;
5594
4918
  return isOk ? theme.colors.green.base : theme.colors.darkGray.light;
@@ -5700,9 +5024,9 @@ var Popup = function (props) {
5700
5024
  var id = generateRandomString(5);
5701
5025
  setTriggerId(id);
5702
5026
  }, []);
5703
- var children = r__default.Children.map(props.children, function (child, index) {
5704
- if (r__default.isValidElement(child) && index <= 0) {
5705
- return r__default.cloneElement(child, {
5027
+ var children = React__default.Children.map(props.children, function (child, index) {
5028
+ if (React__default.isValidElement(child) && index <= 0) {
5029
+ return React__default.cloneElement(child, {
5706
5030
  id: triggerId,
5707
5031
  onMouseEnter: function () { return showPopup(); },
5708
5032
  onMouseLeave: function () { return setIsVisible(false); },
@@ -5909,9 +5233,9 @@ var Tooltip = function (props) {
5909
5233
  var id = generateRandomString(5);
5910
5234
  settriggerId(id);
5911
5235
  }, []);
5912
- var children = r__default.Children.map(props.children, function (child, index) {
5913
- if (r__default.isValidElement(child) && index <= 0) {
5914
- return r__default.cloneElement(child, {
5236
+ var children = React__default.Children.map(props.children, function (child, index) {
5237
+ if (React__default.isValidElement(child) && index <= 0) {
5238
+ return React__default.cloneElement(child, {
5915
5239
  id: triggerId,
5916
5240
  onMouseEnter: function () { return showTooltip(); },
5917
5241
  onMouseLeave: function () { return setIsVisible(false); },
@@ -7097,7 +6421,7 @@ function StyleToJS(style, options) {
7097
6421
  exports["default"] = StyleToJS;
7098
6422
  }(cjs));
7099
6423
 
7100
- var React$1 = r__default;
6424
+ var React$1 = React__default;
7101
6425
  var styleToJS = cjs.default;
7102
6426
 
7103
6427
  /**
@@ -7315,7 +6639,7 @@ function getPropName(attributeName) {
7315
6639
  return reactProperty.possibleStandardNames[attributeName];
7316
6640
  }
7317
6641
 
7318
- var React = r__default;
6642
+ var React = React__default;
7319
6643
  var attributesToProps$1 = attributesToProps$2;
7320
6644
  var utilities$1 = utilities$3;
7321
6645