@thecb/components 5.9.0-beta.6 → 5.9.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.cjs.js CHANGED
@@ -6,8 +6,6 @@ function _interopDefault (ex) { return (ex && (typeof ex === 'object') && 'defau
6
6
 
7
7
  var React = require('react');
8
8
  var React__default = _interopDefault(React);
9
- var styled = require('styled-components');
10
- var styled__default = _interopDefault(styled);
11
9
  var theme = _interopDefault(require('styled-theming'));
12
10
  var reactRouterDom = require('react-router-dom');
13
11
  var reactDom = _interopDefault(require('react-dom'));
@@ -222,6 +220,2717 @@ function _nonIterableRest() {
222
220
  throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
223
221
  }
224
222
 
223
+ var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};
224
+
225
+ function createCommonjsModule(fn, module) {
226
+ return module = { exports: {} }, fn(module, module.exports), module.exports;
227
+ }
228
+
229
+ /** @license React v16.13.1
230
+ * react-is.production.min.js
231
+ *
232
+ * Copyright (c) Facebook, Inc. and its affiliates.
233
+ *
234
+ * This source code is licensed under the MIT license found in the
235
+ * LICENSE file in the root directory of this source tree.
236
+ */
237
+ 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?
238
+ 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;
239
+ 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}var AsyncMode=l;var ConcurrentMode=m;var ContextConsumer=k;var ContextProvider=h;var Element$1=c;var ForwardRef=n;var Fragment=e;var Lazy=t;var Memo=r;var Portal=d;
240
+ var Profiler=g;var StrictMode=f;var Suspense=p;var isAsyncMode=function(a){return A(a)||z(a)===l};var isConcurrentMode=A;var isContextConsumer=function(a){return z(a)===k};var isContextProvider=function(a){return z(a)===h};var isElement=function(a){return "object"===typeof a&&null!==a&&a.$$typeof===c};var isForwardRef=function(a){return z(a)===n};var isFragment=function(a){return z(a)===e};var isLazy=function(a){return z(a)===t};
241
+ var isMemo=function(a){return z(a)===r};var isPortal=function(a){return z(a)===d};var isProfiler=function(a){return z(a)===g};var isStrictMode=function(a){return z(a)===f};var isSuspense=function(a){return z(a)===p};
242
+ var 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)};var typeOf=z;
243
+
244
+ var reactIs_production_min = {
245
+ AsyncMode: AsyncMode,
246
+ ConcurrentMode: ConcurrentMode,
247
+ ContextConsumer: ContextConsumer,
248
+ ContextProvider: ContextProvider,
249
+ Element: Element$1,
250
+ ForwardRef: ForwardRef,
251
+ Fragment: Fragment,
252
+ Lazy: Lazy,
253
+ Memo: Memo,
254
+ Portal: Portal,
255
+ Profiler: Profiler,
256
+ StrictMode: StrictMode,
257
+ Suspense: Suspense,
258
+ isAsyncMode: isAsyncMode,
259
+ isConcurrentMode: isConcurrentMode,
260
+ isContextConsumer: isContextConsumer,
261
+ isContextProvider: isContextProvider,
262
+ isElement: isElement,
263
+ isForwardRef: isForwardRef,
264
+ isFragment: isFragment,
265
+ isLazy: isLazy,
266
+ isMemo: isMemo,
267
+ isPortal: isPortal,
268
+ isProfiler: isProfiler,
269
+ isStrictMode: isStrictMode,
270
+ isSuspense: isSuspense,
271
+ isValidElementType: isValidElementType,
272
+ typeOf: typeOf
273
+ };
274
+
275
+ var reactIs_development = createCommonjsModule(function (module, exports) {
276
+
277
+
278
+
279
+ if (process.env.NODE_ENV !== "production") {
280
+ (function() {
281
+
282
+ // The Symbol used to tag the ReactElement-like types. If there is no native Symbol
283
+ // nor polyfill, then a plain number is used for performance.
284
+ var hasSymbol = typeof Symbol === 'function' && Symbol.for;
285
+ var REACT_ELEMENT_TYPE = hasSymbol ? Symbol.for('react.element') : 0xeac7;
286
+ var REACT_PORTAL_TYPE = hasSymbol ? Symbol.for('react.portal') : 0xeaca;
287
+ var REACT_FRAGMENT_TYPE = hasSymbol ? Symbol.for('react.fragment') : 0xeacb;
288
+ var REACT_STRICT_MODE_TYPE = hasSymbol ? Symbol.for('react.strict_mode') : 0xeacc;
289
+ var REACT_PROFILER_TYPE = hasSymbol ? Symbol.for('react.profiler') : 0xead2;
290
+ var REACT_PROVIDER_TYPE = hasSymbol ? Symbol.for('react.provider') : 0xeacd;
291
+ var REACT_CONTEXT_TYPE = hasSymbol ? Symbol.for('react.context') : 0xeace; // TODO: We don't use AsyncMode or ConcurrentMode anymore. They were temporary
292
+ // (unstable) APIs that have been removed. Can we remove the symbols?
293
+
294
+ var REACT_ASYNC_MODE_TYPE = hasSymbol ? Symbol.for('react.async_mode') : 0xeacf;
295
+ var REACT_CONCURRENT_MODE_TYPE = hasSymbol ? Symbol.for('react.concurrent_mode') : 0xeacf;
296
+ var REACT_FORWARD_REF_TYPE = hasSymbol ? Symbol.for('react.forward_ref') : 0xead0;
297
+ var REACT_SUSPENSE_TYPE = hasSymbol ? Symbol.for('react.suspense') : 0xead1;
298
+ var REACT_SUSPENSE_LIST_TYPE = hasSymbol ? Symbol.for('react.suspense_list') : 0xead8;
299
+ var REACT_MEMO_TYPE = hasSymbol ? Symbol.for('react.memo') : 0xead3;
300
+ var REACT_LAZY_TYPE = hasSymbol ? Symbol.for('react.lazy') : 0xead4;
301
+ var REACT_BLOCK_TYPE = hasSymbol ? Symbol.for('react.block') : 0xead9;
302
+ var REACT_FUNDAMENTAL_TYPE = hasSymbol ? Symbol.for('react.fundamental') : 0xead5;
303
+ var REACT_RESPONDER_TYPE = hasSymbol ? Symbol.for('react.responder') : 0xead6;
304
+ var REACT_SCOPE_TYPE = hasSymbol ? Symbol.for('react.scope') : 0xead7;
305
+
306
+ function isValidElementType(type) {
307
+ return typeof type === 'string' || typeof type === 'function' || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
308
+ type === REACT_FRAGMENT_TYPE || type === REACT_CONCURRENT_MODE_TYPE || type === REACT_PROFILER_TYPE || type === REACT_STRICT_MODE_TYPE || type === REACT_SUSPENSE_TYPE || type === REACT_SUSPENSE_LIST_TYPE || typeof type === 'object' && type !== null && (type.$$typeof === REACT_LAZY_TYPE || type.$$typeof === REACT_MEMO_TYPE || type.$$typeof === REACT_PROVIDER_TYPE || type.$$typeof === REACT_CONTEXT_TYPE || type.$$typeof === REACT_FORWARD_REF_TYPE || type.$$typeof === REACT_FUNDAMENTAL_TYPE || type.$$typeof === REACT_RESPONDER_TYPE || type.$$typeof === REACT_SCOPE_TYPE || type.$$typeof === REACT_BLOCK_TYPE);
309
+ }
310
+
311
+ function typeOf(object) {
312
+ if (typeof object === 'object' && object !== null) {
313
+ var $$typeof = object.$$typeof;
314
+
315
+ switch ($$typeof) {
316
+ case REACT_ELEMENT_TYPE:
317
+ var type = object.type;
318
+
319
+ switch (type) {
320
+ case REACT_ASYNC_MODE_TYPE:
321
+ case REACT_CONCURRENT_MODE_TYPE:
322
+ case REACT_FRAGMENT_TYPE:
323
+ case REACT_PROFILER_TYPE:
324
+ case REACT_STRICT_MODE_TYPE:
325
+ case REACT_SUSPENSE_TYPE:
326
+ return type;
327
+
328
+ default:
329
+ var $$typeofType = type && type.$$typeof;
330
+
331
+ switch ($$typeofType) {
332
+ case REACT_CONTEXT_TYPE:
333
+ case REACT_FORWARD_REF_TYPE:
334
+ case REACT_LAZY_TYPE:
335
+ case REACT_MEMO_TYPE:
336
+ case REACT_PROVIDER_TYPE:
337
+ return $$typeofType;
338
+
339
+ default:
340
+ return $$typeof;
341
+ }
342
+
343
+ }
344
+
345
+ case REACT_PORTAL_TYPE:
346
+ return $$typeof;
347
+ }
348
+ }
349
+
350
+ return undefined;
351
+ } // AsyncMode is deprecated along with isAsyncMode
352
+
353
+ var AsyncMode = REACT_ASYNC_MODE_TYPE;
354
+ var ConcurrentMode = REACT_CONCURRENT_MODE_TYPE;
355
+ var ContextConsumer = REACT_CONTEXT_TYPE;
356
+ var ContextProvider = REACT_PROVIDER_TYPE;
357
+ var Element = REACT_ELEMENT_TYPE;
358
+ var ForwardRef = REACT_FORWARD_REF_TYPE;
359
+ var Fragment = REACT_FRAGMENT_TYPE;
360
+ var Lazy = REACT_LAZY_TYPE;
361
+ var Memo = REACT_MEMO_TYPE;
362
+ var Portal = REACT_PORTAL_TYPE;
363
+ var Profiler = REACT_PROFILER_TYPE;
364
+ var StrictMode = REACT_STRICT_MODE_TYPE;
365
+ var Suspense = REACT_SUSPENSE_TYPE;
366
+ var hasWarnedAboutDeprecatedIsAsyncMode = false; // AsyncMode should be deprecated
367
+
368
+ function isAsyncMode(object) {
369
+ {
370
+ if (!hasWarnedAboutDeprecatedIsAsyncMode) {
371
+ hasWarnedAboutDeprecatedIsAsyncMode = true; // Using console['warn'] to evade Babel and ESLint
372
+
373
+ console['warn']('The ReactIs.isAsyncMode() alias has been deprecated, ' + 'and will be removed in React 17+. Update your code to use ' + 'ReactIs.isConcurrentMode() instead. It has the exact same API.');
374
+ }
375
+ }
376
+
377
+ return isConcurrentMode(object) || typeOf(object) === REACT_ASYNC_MODE_TYPE;
378
+ }
379
+ function isConcurrentMode(object) {
380
+ return typeOf(object) === REACT_CONCURRENT_MODE_TYPE;
381
+ }
382
+ function isContextConsumer(object) {
383
+ return typeOf(object) === REACT_CONTEXT_TYPE;
384
+ }
385
+ function isContextProvider(object) {
386
+ return typeOf(object) === REACT_PROVIDER_TYPE;
387
+ }
388
+ function isElement(object) {
389
+ return typeof object === 'object' && object !== null && object.$$typeof === REACT_ELEMENT_TYPE;
390
+ }
391
+ function isForwardRef(object) {
392
+ return typeOf(object) === REACT_FORWARD_REF_TYPE;
393
+ }
394
+ function isFragment(object) {
395
+ return typeOf(object) === REACT_FRAGMENT_TYPE;
396
+ }
397
+ function isLazy(object) {
398
+ return typeOf(object) === REACT_LAZY_TYPE;
399
+ }
400
+ function isMemo(object) {
401
+ return typeOf(object) === REACT_MEMO_TYPE;
402
+ }
403
+ function isPortal(object) {
404
+ return typeOf(object) === REACT_PORTAL_TYPE;
405
+ }
406
+ function isProfiler(object) {
407
+ return typeOf(object) === REACT_PROFILER_TYPE;
408
+ }
409
+ function isStrictMode(object) {
410
+ return typeOf(object) === REACT_STRICT_MODE_TYPE;
411
+ }
412
+ function isSuspense(object) {
413
+ return typeOf(object) === REACT_SUSPENSE_TYPE;
414
+ }
415
+
416
+ exports.AsyncMode = AsyncMode;
417
+ exports.ConcurrentMode = ConcurrentMode;
418
+ exports.ContextConsumer = ContextConsumer;
419
+ exports.ContextProvider = ContextProvider;
420
+ exports.Element = Element;
421
+ exports.ForwardRef = ForwardRef;
422
+ exports.Fragment = Fragment;
423
+ exports.Lazy = Lazy;
424
+ exports.Memo = Memo;
425
+ exports.Portal = Portal;
426
+ exports.Profiler = Profiler;
427
+ exports.StrictMode = StrictMode;
428
+ exports.Suspense = Suspense;
429
+ exports.isAsyncMode = isAsyncMode;
430
+ exports.isConcurrentMode = isConcurrentMode;
431
+ exports.isContextConsumer = isContextConsumer;
432
+ exports.isContextProvider = isContextProvider;
433
+ exports.isElement = isElement;
434
+ exports.isForwardRef = isForwardRef;
435
+ exports.isFragment = isFragment;
436
+ exports.isLazy = isLazy;
437
+ exports.isMemo = isMemo;
438
+ exports.isPortal = isPortal;
439
+ exports.isProfiler = isProfiler;
440
+ exports.isStrictMode = isStrictMode;
441
+ exports.isSuspense = isSuspense;
442
+ exports.isValidElementType = isValidElementType;
443
+ exports.typeOf = typeOf;
444
+ })();
445
+ }
446
+ });
447
+ var reactIs_development_1 = reactIs_development.AsyncMode;
448
+ var reactIs_development_2 = reactIs_development.ConcurrentMode;
449
+ var reactIs_development_3 = reactIs_development.ContextConsumer;
450
+ var reactIs_development_4 = reactIs_development.ContextProvider;
451
+ var reactIs_development_5 = reactIs_development.Element;
452
+ var reactIs_development_6 = reactIs_development.ForwardRef;
453
+ var reactIs_development_7 = reactIs_development.Fragment;
454
+ var reactIs_development_8 = reactIs_development.Lazy;
455
+ var reactIs_development_9 = reactIs_development.Memo;
456
+ var reactIs_development_10 = reactIs_development.Portal;
457
+ var reactIs_development_11 = reactIs_development.Profiler;
458
+ var reactIs_development_12 = reactIs_development.StrictMode;
459
+ var reactIs_development_13 = reactIs_development.Suspense;
460
+ var reactIs_development_14 = reactIs_development.isAsyncMode;
461
+ var reactIs_development_15 = reactIs_development.isConcurrentMode;
462
+ var reactIs_development_16 = reactIs_development.isContextConsumer;
463
+ var reactIs_development_17 = reactIs_development.isContextProvider;
464
+ var reactIs_development_18 = reactIs_development.isElement;
465
+ var reactIs_development_19 = reactIs_development.isForwardRef;
466
+ var reactIs_development_20 = reactIs_development.isFragment;
467
+ var reactIs_development_21 = reactIs_development.isLazy;
468
+ var reactIs_development_22 = reactIs_development.isMemo;
469
+ var reactIs_development_23 = reactIs_development.isPortal;
470
+ var reactIs_development_24 = reactIs_development.isProfiler;
471
+ var reactIs_development_25 = reactIs_development.isStrictMode;
472
+ var reactIs_development_26 = reactIs_development.isSuspense;
473
+ var reactIs_development_27 = reactIs_development.isValidElementType;
474
+ var reactIs_development_28 = reactIs_development.typeOf;
475
+
476
+ var reactIs = createCommonjsModule(function (module) {
477
+
478
+ if (process.env.NODE_ENV === 'production') {
479
+ module.exports = reactIs_production_min;
480
+ } else {
481
+ module.exports = reactIs_development;
482
+ }
483
+ });
484
+ var reactIs_1 = reactIs.AsyncMode;
485
+ var reactIs_2 = reactIs.ConcurrentMode;
486
+ var reactIs_3 = reactIs.ContextConsumer;
487
+ var reactIs_4 = reactIs.ContextProvider;
488
+ var reactIs_5 = reactIs.Element;
489
+ var reactIs_6 = reactIs.ForwardRef;
490
+ var reactIs_7 = reactIs.Fragment;
491
+ var reactIs_8 = reactIs.Lazy;
492
+ var reactIs_9 = reactIs.Memo;
493
+ var reactIs_10 = reactIs.Portal;
494
+ var reactIs_11 = reactIs.Profiler;
495
+ var reactIs_12 = reactIs.StrictMode;
496
+ var reactIs_13 = reactIs.Suspense;
497
+ var reactIs_14 = reactIs.isAsyncMode;
498
+ var reactIs_15 = reactIs.isConcurrentMode;
499
+ var reactIs_16 = reactIs.isContextConsumer;
500
+ var reactIs_17 = reactIs.isContextProvider;
501
+ var reactIs_18 = reactIs.isElement;
502
+ var reactIs_19 = reactIs.isForwardRef;
503
+ var reactIs_20 = reactIs.isFragment;
504
+ var reactIs_21 = reactIs.isLazy;
505
+ var reactIs_22 = reactIs.isMemo;
506
+ var reactIs_23 = reactIs.isPortal;
507
+ var reactIs_24 = reactIs.isProfiler;
508
+ var reactIs_25 = reactIs.isStrictMode;
509
+ var reactIs_26 = reactIs.isSuspense;
510
+ var reactIs_27 = reactIs.isValidElementType;
511
+ var reactIs_28 = reactIs.typeOf;
512
+
513
+ function stylis_min (W) {
514
+ function M(d, c, e, h, a) {
515
+ 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;) {
516
+ g = e.charCodeAt(l);
517
+ l === J && 0 !== b + n + v + m && (0 !== b && (g = 47 === b ? 10 : 47), n = v = m = 0, B++, J++);
518
+
519
+ if (0 === b + n + v + m) {
520
+ if (l === J && (0 < r && (f = f.replace(N, '')), 0 < f.trim().length)) {
521
+ switch (g) {
522
+ case 32:
523
+ case 9:
524
+ case 59:
525
+ case 13:
526
+ case 10:
527
+ break;
528
+
529
+ default:
530
+ f += e.charAt(l);
531
+ }
532
+
533
+ g = 59;
534
+ }
535
+
536
+ switch (g) {
537
+ case 123:
538
+ f = f.trim();
539
+ q = f.charCodeAt(0);
540
+ k = 1;
541
+
542
+ for (t = ++l; l < B;) {
543
+ switch (g = e.charCodeAt(l)) {
544
+ case 123:
545
+ k++;
546
+ break;
547
+
548
+ case 125:
549
+ k--;
550
+ break;
551
+
552
+ case 47:
553
+ switch (g = e.charCodeAt(l + 1)) {
554
+ case 42:
555
+ case 47:
556
+ a: {
557
+ for (u = l + 1; u < J; ++u) {
558
+ switch (e.charCodeAt(u)) {
559
+ case 47:
560
+ if (42 === g && 42 === e.charCodeAt(u - 1) && l + 2 !== u) {
561
+ l = u + 1;
562
+ break a;
563
+ }
564
+
565
+ break;
566
+
567
+ case 10:
568
+ if (47 === g) {
569
+ l = u + 1;
570
+ break a;
571
+ }
572
+
573
+ }
574
+ }
575
+
576
+ l = u;
577
+ }
578
+
579
+ }
580
+
581
+ break;
582
+
583
+ case 91:
584
+ g++;
585
+
586
+ case 40:
587
+ g++;
588
+
589
+ case 34:
590
+ case 39:
591
+ for (; l++ < J && e.charCodeAt(l) !== g;) {
592
+ }
593
+
594
+ }
595
+
596
+ if (0 === k) break;
597
+ l++;
598
+ }
599
+
600
+ k = e.substring(t, l);
601
+ 0 === q && (q = (f = f.replace(ca, '').trim()).charCodeAt(0));
602
+
603
+ switch (q) {
604
+ case 64:
605
+ 0 < r && (f = f.replace(N, ''));
606
+ g = f.charCodeAt(1);
607
+
608
+ switch (g) {
609
+ case 100:
610
+ case 109:
611
+ case 115:
612
+ case 45:
613
+ r = c;
614
+ break;
615
+
616
+ default:
617
+ r = O;
618
+ }
619
+
620
+ k = M(c, r, k, g, a + 1);
621
+ t = k.length;
622
+ 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 = ''));
623
+ if (0 < t) switch (g) {
624
+ case 115:
625
+ f = f.replace(da, ea);
626
+
627
+ case 100:
628
+ case 109:
629
+ case 45:
630
+ k = f + '{' + k + '}';
631
+ break;
632
+
633
+ case 107:
634
+ f = f.replace(fa, '$1 $2');
635
+ k = f + '{' + k + '}';
636
+ k = 1 === w || 2 === w && L('@' + k, 3) ? '@-webkit-' + k + '@' + k : '@' + k;
637
+ break;
638
+
639
+ default:
640
+ k = f + k, 112 === h && (k = (p += k, ''));
641
+ } else k = '';
642
+ break;
643
+
644
+ default:
645
+ k = M(c, X(c, f, I), k, h, a + 1);
646
+ }
647
+
648
+ F += k;
649
+ k = I = r = u = q = 0;
650
+ f = '';
651
+ g = e.charCodeAt(++l);
652
+ break;
653
+
654
+ case 125:
655
+ case 59:
656
+ f = (0 < r ? f.replace(N, '') : f).trim();
657
+ 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) {
658
+ case 0:
659
+ break;
660
+
661
+ case 64:
662
+ if (105 === g || 99 === g) {
663
+ G += f + e.charAt(l);
664
+ break;
665
+ }
666
+
667
+ default:
668
+ 58 !== f.charCodeAt(t - 1) && (p += P(f, q, g, f.charCodeAt(2)));
669
+ }
670
+ I = r = u = q = 0;
671
+ f = '';
672
+ g = e.charCodeAt(++l);
673
+ }
674
+ }
675
+
676
+ switch (g) {
677
+ case 13:
678
+ case 10:
679
+ 47 === b ? b = 0 : 0 === 1 + q && 107 !== h && 0 < f.length && (r = 1, f += '\x00');
680
+ 0 < A * Y && H(0, f, c, d, D, z, p.length, h, a, h);
681
+ z = 1;
682
+ D++;
683
+ break;
684
+
685
+ case 59:
686
+ case 125:
687
+ if (0 === b + n + v + m) {
688
+ z++;
689
+ break;
690
+ }
691
+
692
+ default:
693
+ z++;
694
+ y = e.charAt(l);
695
+
696
+ switch (g) {
697
+ case 9:
698
+ case 32:
699
+ if (0 === n + m + b) switch (x) {
700
+ case 44:
701
+ case 58:
702
+ case 9:
703
+ case 32:
704
+ y = '';
705
+ break;
706
+
707
+ default:
708
+ 32 !== g && (y = ' ');
709
+ }
710
+ break;
711
+
712
+ case 0:
713
+ y = '\\0';
714
+ break;
715
+
716
+ case 12:
717
+ y = '\\f';
718
+ break;
719
+
720
+ case 11:
721
+ y = '\\v';
722
+ break;
723
+
724
+ case 38:
725
+ 0 === n + b + m && (r = I = 1, y = '\f' + y);
726
+ break;
727
+
728
+ case 108:
729
+ if (0 === n + b + m + E && 0 < u) switch (l - u) {
730
+ case 2:
731
+ 112 === x && 58 === e.charCodeAt(l - 3) && (E = x);
732
+
733
+ case 8:
734
+ 111 === K && (E = K);
735
+ }
736
+ break;
737
+
738
+ case 58:
739
+ 0 === n + b + m && (u = l);
740
+ break;
741
+
742
+ case 44:
743
+ 0 === b + v + n + m && (r = 1, y += '\r');
744
+ break;
745
+
746
+ case 34:
747
+ case 39:
748
+ 0 === b && (n = n === g ? 0 : 0 === n ? g : n);
749
+ break;
750
+
751
+ case 91:
752
+ 0 === n + b + v && m++;
753
+ break;
754
+
755
+ case 93:
756
+ 0 === n + b + v && m--;
757
+ break;
758
+
759
+ case 41:
760
+ 0 === n + b + m && v--;
761
+ break;
762
+
763
+ case 40:
764
+ if (0 === n + b + m) {
765
+ if (0 === q) switch (2 * x + 3 * K) {
766
+ case 533:
767
+ break;
768
+
769
+ default:
770
+ q = 1;
771
+ }
772
+ v++;
773
+ }
774
+
775
+ break;
776
+
777
+ case 64:
778
+ 0 === b + v + n + m + u + k && (k = 1);
779
+ break;
780
+
781
+ case 42:
782
+ case 47:
783
+ if (!(0 < n + m + v)) switch (b) {
784
+ case 0:
785
+ switch (2 * g + 3 * e.charCodeAt(l + 1)) {
786
+ case 235:
787
+ b = 47;
788
+ break;
789
+
790
+ case 220:
791
+ t = l, b = 42;
792
+ }
793
+
794
+ break;
795
+
796
+ case 42:
797
+ 47 === g && 42 === x && t + 2 !== l && (33 === e.charCodeAt(t + 2) && (p += e.substring(t, l + 1)), y = '', b = 0);
798
+ }
799
+ }
800
+
801
+ 0 === b && (f += y);
802
+ }
803
+
804
+ K = x;
805
+ x = g;
806
+ l++;
807
+ }
808
+
809
+ t = p.length;
810
+
811
+ if (0 < t) {
812
+ r = c;
813
+ 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;
814
+ p = r.join(',') + '{' + p + '}';
815
+
816
+ if (0 !== w * E) {
817
+ 2 !== w || L(p, 2) || (E = 0);
818
+
819
+ switch (E) {
820
+ case 111:
821
+ p = p.replace(ha, ':-moz-$1') + p;
822
+ break;
823
+
824
+ case 112:
825
+ p = p.replace(Q, '::-webkit-input-$1') + p.replace(Q, '::-moz-$1') + p.replace(Q, ':-ms-input-$1') + p;
826
+ }
827
+
828
+ E = 0;
829
+ }
830
+ }
831
+
832
+ return G + p + F;
833
+ }
834
+
835
+ function X(d, c, e) {
836
+ var h = c.trim().split(ia);
837
+ c = h;
838
+ var a = h.length,
839
+ m = d.length;
840
+
841
+ switch (m) {
842
+ case 0:
843
+ case 1:
844
+ var b = 0;
845
+
846
+ for (d = 0 === m ? '' : d[0] + ' '; b < a; ++b) {
847
+ c[b] = Z(d, c[b], e).trim();
848
+ }
849
+
850
+ break;
851
+
852
+ default:
853
+ var v = b = 0;
854
+
855
+ for (c = []; b < a; ++b) {
856
+ for (var n = 0; n < m; ++n) {
857
+ c[v++] = Z(d[n] + ' ', h[b], e).trim();
858
+ }
859
+ }
860
+
861
+ }
862
+
863
+ return c;
864
+ }
865
+
866
+ function Z(d, c, e) {
867
+ var h = c.charCodeAt(0);
868
+ 33 > h && (h = (c = c.trim()).charCodeAt(0));
869
+
870
+ switch (h) {
871
+ case 38:
872
+ return c.replace(F, '$1' + d.trim());
873
+
874
+ case 58:
875
+ return d.trim() + c.replace(F, '$1' + d.trim());
876
+
877
+ default:
878
+ if (0 < 1 * e && 0 < c.indexOf('\f')) return c.replace(F, (58 === d.charCodeAt(0) ? '' : '$1') + d.trim());
879
+ }
880
+
881
+ return d + c;
882
+ }
883
+
884
+ function P(d, c, e, h) {
885
+ var a = d + ';',
886
+ m = 2 * c + 3 * e + 4 * h;
887
+
888
+ if (944 === m) {
889
+ d = a.indexOf(':', 9) + 1;
890
+ var b = a.substring(d, a.length - 1).trim();
891
+ b = a.substring(0, d).trim() + b + ';';
892
+ return 1 === w || 2 === w && L(b, 1) ? '-webkit-' + b + b : b;
893
+ }
894
+
895
+ if (0 === w || 2 === w && !L(a, 1)) return a;
896
+
897
+ switch (m) {
898
+ case 1015:
899
+ return 97 === a.charCodeAt(10) ? '-webkit-' + a + a : a;
900
+
901
+ case 951:
902
+ return 116 === a.charCodeAt(3) ? '-webkit-' + a + a : a;
903
+
904
+ case 963:
905
+ return 110 === a.charCodeAt(5) ? '-webkit-' + a + a : a;
906
+
907
+ case 1009:
908
+ if (100 !== a.charCodeAt(4)) break;
909
+
910
+ case 969:
911
+ case 942:
912
+ return '-webkit-' + a + a;
913
+
914
+ case 978:
915
+ return '-webkit-' + a + '-moz-' + a + a;
916
+
917
+ case 1019:
918
+ case 983:
919
+ return '-webkit-' + a + '-moz-' + a + '-ms-' + a + a;
920
+
921
+ case 883:
922
+ if (45 === a.charCodeAt(8)) return '-webkit-' + a + a;
923
+ if (0 < a.indexOf('image-set(', 11)) return a.replace(ja, '$1-webkit-$2') + a;
924
+ break;
925
+
926
+ case 932:
927
+ if (45 === a.charCodeAt(4)) switch (a.charCodeAt(5)) {
928
+ case 103:
929
+ return '-webkit-box-' + a.replace('-grow', '') + '-webkit-' + a + '-ms-' + a.replace('grow', 'positive') + a;
930
+
931
+ case 115:
932
+ return '-webkit-' + a + '-ms-' + a.replace('shrink', 'negative') + a;
933
+
934
+ case 98:
935
+ return '-webkit-' + a + '-ms-' + a.replace('basis', 'preferred-size') + a;
936
+ }
937
+ return '-webkit-' + a + '-ms-' + a + a;
938
+
939
+ case 964:
940
+ return '-webkit-' + a + '-ms-flex-' + a + a;
941
+
942
+ case 1023:
943
+ if (99 !== a.charCodeAt(8)) break;
944
+ b = a.substring(a.indexOf(':', 15)).replace('flex-', '').replace('space-between', 'justify');
945
+ return '-webkit-box-pack' + b + '-webkit-' + a + '-ms-flex-pack' + b + a;
946
+
947
+ case 1005:
948
+ return ka.test(a) ? a.replace(aa, ':-webkit-') + a.replace(aa, ':-moz-') + a : a;
949
+
950
+ case 1e3:
951
+ b = a.substring(13).trim();
952
+ c = b.indexOf('-') + 1;
953
+
954
+ switch (b.charCodeAt(0) + b.charCodeAt(c)) {
955
+ case 226:
956
+ b = a.replace(G, 'tb');
957
+ break;
958
+
959
+ case 232:
960
+ b = a.replace(G, 'tb-rl');
961
+ break;
962
+
963
+ case 220:
964
+ b = a.replace(G, 'lr');
965
+ break;
966
+
967
+ default:
968
+ return a;
969
+ }
970
+
971
+ return '-webkit-' + a + '-ms-' + b + a;
972
+
973
+ case 1017:
974
+ if (-1 === a.indexOf('sticky', 9)) break;
975
+
976
+ case 975:
977
+ c = (a = d).length - 10;
978
+ b = (33 === a.charCodeAt(c) ? a.substring(0, c) : a).substring(d.indexOf(':', 7) + 1).trim();
979
+
980
+ switch (m = b.charCodeAt(0) + (b.charCodeAt(7) | 0)) {
981
+ case 203:
982
+ if (111 > b.charCodeAt(8)) break;
983
+
984
+ case 115:
985
+ a = a.replace(b, '-webkit-' + b) + ';' + a;
986
+ break;
987
+
988
+ case 207:
989
+ case 102:
990
+ a = a.replace(b, '-webkit-' + (102 < m ? 'inline-' : '') + 'box') + ';' + a.replace(b, '-webkit-' + b) + ';' + a.replace(b, '-ms-' + b + 'box') + ';' + a;
991
+ }
992
+
993
+ return a + ';';
994
+
995
+ case 938:
996
+ if (45 === a.charCodeAt(5)) switch (a.charCodeAt(6)) {
997
+ case 105:
998
+ return b = a.replace('-items', ''), '-webkit-' + a + '-webkit-box-' + b + '-ms-flex-' + b + a;
999
+
1000
+ case 115:
1001
+ return '-webkit-' + a + '-ms-flex-item-' + a.replace(ba, '') + a;
1002
+
1003
+ default:
1004
+ return '-webkit-' + a + '-ms-flex-line-pack' + a.replace('align-content', '').replace(ba, '') + a;
1005
+ }
1006
+ break;
1007
+
1008
+ case 973:
1009
+ case 989:
1010
+ if (45 !== a.charCodeAt(3) || 122 === a.charCodeAt(4)) break;
1011
+
1012
+ case 931:
1013
+ case 953:
1014
+ 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;
1015
+ break;
1016
+
1017
+ case 962:
1018
+ 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;
1019
+ }
1020
+
1021
+ return a;
1022
+ }
1023
+
1024
+ function L(d, c) {
1025
+ var e = d.indexOf(1 === c ? ':' : '{'),
1026
+ h = d.substring(0, 3 !== c ? e : 10);
1027
+ e = d.substring(e + 1, d.length - 1);
1028
+ return R(2 !== c ? h : h.replace(na, '$1'), e, c);
1029
+ }
1030
+
1031
+ function ea(d, c) {
1032
+ var e = P(c, c.charCodeAt(0), c.charCodeAt(1), c.charCodeAt(2));
1033
+ return e !== c + ';' ? e.replace(oa, ' or ($1)').substring(4) : '(' + c + ')';
1034
+ }
1035
+
1036
+ function H(d, c, e, h, a, m, b, v, n, q) {
1037
+ for (var g = 0, x = c, w; g < A; ++g) {
1038
+ switch (w = S[g].call(B, d, x, e, h, a, m, b, v, n, q)) {
1039
+ case void 0:
1040
+ case !1:
1041
+ case !0:
1042
+ case null:
1043
+ break;
1044
+
1045
+ default:
1046
+ x = w;
1047
+ }
1048
+ }
1049
+
1050
+ if (x !== c) return x;
1051
+ }
1052
+
1053
+ function T(d) {
1054
+ switch (d) {
1055
+ case void 0:
1056
+ case null:
1057
+ A = S.length = 0;
1058
+ break;
1059
+
1060
+ default:
1061
+ if ('function' === typeof d) S[A++] = d;else if ('object' === typeof d) for (var c = 0, e = d.length; c < e; ++c) {
1062
+ T(d[c]);
1063
+ } else Y = !!d | 0;
1064
+ }
1065
+
1066
+ return T;
1067
+ }
1068
+
1069
+ function U(d) {
1070
+ d = d.prefix;
1071
+ void 0 !== d && (R = null, d ? 'function' !== typeof d ? w = 1 : (w = 2, R = d) : w = 0);
1072
+ return U;
1073
+ }
1074
+
1075
+ function B(d, c) {
1076
+ var e = d;
1077
+ 33 > e.charCodeAt(0) && (e = e.trim());
1078
+ V = e;
1079
+ e = [V];
1080
+
1081
+ if (0 < A) {
1082
+ var h = H(-1, c, e, e, D, z, 0, 0, 0, 0);
1083
+ void 0 !== h && 'string' === typeof h && (c = h);
1084
+ }
1085
+
1086
+ var a = M(O, e, c, 0, 0);
1087
+ 0 < A && (h = H(-2, a, e, e, D, z, a.length, 0, 0, 0), void 0 !== h && (a = h));
1088
+ V = '';
1089
+ E = 0;
1090
+ z = D = 1;
1091
+ return a;
1092
+ }
1093
+
1094
+ var ca = /^\0+/g,
1095
+ N = /[\0\r\f]/g,
1096
+ aa = /: */g,
1097
+ ka = /zoo|gra/,
1098
+ ma = /([,: ])(transform)/g,
1099
+ ia = /,\r+?/g,
1100
+ F = /([\t\r\n ])*\f?&/g,
1101
+ fa = /@(k\w+)\s*(\S*)\s*/,
1102
+ Q = /::(place)/g,
1103
+ ha = /:(read-only)/g,
1104
+ G = /[svh]\w+-[tblr]{2}/,
1105
+ da = /\(\s*(.*)\s*\)/g,
1106
+ oa = /([\s\S]*?);/g,
1107
+ ba = /-self|flex-/g,
1108
+ na = /[^]*?(:[rp][el]a[\w-]+)[^]*/,
1109
+ la = /stretch|:\s*\w+\-(?:conte|avail)/,
1110
+ ja = /([^-])(image-set\()/,
1111
+ z = 1,
1112
+ D = 1,
1113
+ E = 0,
1114
+ w = 1,
1115
+ O = [],
1116
+ S = [],
1117
+ A = 0,
1118
+ R = null,
1119
+ Y = 0,
1120
+ V = '';
1121
+ B.use = T;
1122
+ B.set = U;
1123
+ void 0 !== W && U(W);
1124
+ return B;
1125
+ }
1126
+
1127
+ var unitlessKeys = {
1128
+ animationIterationCount: 1,
1129
+ borderImageOutset: 1,
1130
+ borderImageSlice: 1,
1131
+ borderImageWidth: 1,
1132
+ boxFlex: 1,
1133
+ boxFlexGroup: 1,
1134
+ boxOrdinalGroup: 1,
1135
+ columnCount: 1,
1136
+ columns: 1,
1137
+ flex: 1,
1138
+ flexGrow: 1,
1139
+ flexPositive: 1,
1140
+ flexShrink: 1,
1141
+ flexNegative: 1,
1142
+ flexOrder: 1,
1143
+ gridRow: 1,
1144
+ gridRowEnd: 1,
1145
+ gridRowSpan: 1,
1146
+ gridRowStart: 1,
1147
+ gridColumn: 1,
1148
+ gridColumnEnd: 1,
1149
+ gridColumnSpan: 1,
1150
+ gridColumnStart: 1,
1151
+ msGridRow: 1,
1152
+ msGridRowSpan: 1,
1153
+ msGridColumn: 1,
1154
+ msGridColumnSpan: 1,
1155
+ fontWeight: 1,
1156
+ lineHeight: 1,
1157
+ opacity: 1,
1158
+ order: 1,
1159
+ orphans: 1,
1160
+ tabSize: 1,
1161
+ widows: 1,
1162
+ zIndex: 1,
1163
+ zoom: 1,
1164
+ WebkitLineClamp: 1,
1165
+ // SVG-related properties
1166
+ fillOpacity: 1,
1167
+ floodOpacity: 1,
1168
+ stopOpacity: 1,
1169
+ strokeDasharray: 1,
1170
+ strokeDashoffset: 1,
1171
+ strokeMiterlimit: 1,
1172
+ strokeOpacity: 1,
1173
+ strokeWidth: 1
1174
+ };
1175
+
1176
+ function memoize(fn) {
1177
+ var cache = {};
1178
+ return function (arg) {
1179
+ if (cache[arg] === undefined) cache[arg] = fn(arg);
1180
+ return cache[arg];
1181
+ };
1182
+ }
1183
+
1184
+ var reactPropsRegex = /^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|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|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|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|inert|itemProp|itemScope|itemType|itemID|itemRef|on|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
1185
+
1186
+ var index = memoize(function (prop) {
1187
+ return reactPropsRegex.test(prop) || prop.charCodeAt(0) === 111
1188
+ /* o */
1189
+ && prop.charCodeAt(1) === 110
1190
+ /* n */
1191
+ && prop.charCodeAt(2) < 91;
1192
+ }
1193
+ /* Z+1 */
1194
+ );
1195
+
1196
+ /**
1197
+ * Copyright 2015, Yahoo! Inc.
1198
+ * Copyrights licensed under the New BSD License. See the accompanying LICENSE file for terms.
1199
+ */
1200
+ var REACT_STATICS = {
1201
+ childContextTypes: true,
1202
+ contextType: true,
1203
+ contextTypes: true,
1204
+ defaultProps: true,
1205
+ displayName: true,
1206
+ getDefaultProps: true,
1207
+ getDerivedStateFromError: true,
1208
+ getDerivedStateFromProps: true,
1209
+ mixins: true,
1210
+ propTypes: true,
1211
+ type: true
1212
+ };
1213
+ var KNOWN_STATICS = {
1214
+ name: true,
1215
+ length: true,
1216
+ prototype: true,
1217
+ caller: true,
1218
+ callee: true,
1219
+ arguments: true,
1220
+ arity: true
1221
+ };
1222
+ var FORWARD_REF_STATICS = {
1223
+ '$$typeof': true,
1224
+ render: true,
1225
+ defaultProps: true,
1226
+ displayName: true,
1227
+ propTypes: true
1228
+ };
1229
+ var MEMO_STATICS = {
1230
+ '$$typeof': true,
1231
+ compare: true,
1232
+ defaultProps: true,
1233
+ displayName: true,
1234
+ propTypes: true,
1235
+ type: true
1236
+ };
1237
+ var TYPE_STATICS = {};
1238
+ TYPE_STATICS[reactIs.ForwardRef] = FORWARD_REF_STATICS;
1239
+ TYPE_STATICS[reactIs.Memo] = MEMO_STATICS;
1240
+
1241
+ function getStatics(component) {
1242
+ // React v16.11 and below
1243
+ if (reactIs.isMemo(component)) {
1244
+ return MEMO_STATICS;
1245
+ } // React v16.12 and above
1246
+
1247
+
1248
+ return TYPE_STATICS[component['$$typeof']] || REACT_STATICS;
1249
+ }
1250
+
1251
+ var defineProperty = Object.defineProperty;
1252
+ var getOwnPropertyNames = Object.getOwnPropertyNames;
1253
+ var getOwnPropertySymbols = Object.getOwnPropertySymbols;
1254
+ var getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
1255
+ var getPrototypeOf = Object.getPrototypeOf;
1256
+ var objectPrototype = Object.prototype;
1257
+ function hoistNonReactStatics(targetComponent, sourceComponent, blacklist) {
1258
+ if (typeof sourceComponent !== 'string') {
1259
+ // don't hoist over string (html) components
1260
+ if (objectPrototype) {
1261
+ var inheritedComponent = getPrototypeOf(sourceComponent);
1262
+
1263
+ if (inheritedComponent && inheritedComponent !== objectPrototype) {
1264
+ hoistNonReactStatics(targetComponent, inheritedComponent, blacklist);
1265
+ }
1266
+ }
1267
+
1268
+ var keys = getOwnPropertyNames(sourceComponent);
1269
+
1270
+ if (getOwnPropertySymbols) {
1271
+ keys = keys.concat(getOwnPropertySymbols(sourceComponent));
1272
+ }
1273
+
1274
+ var targetStatics = getStatics(targetComponent);
1275
+ var sourceStatics = getStatics(sourceComponent);
1276
+
1277
+ for (var i = 0; i < keys.length; ++i) {
1278
+ var key = keys[i];
1279
+
1280
+ if (!KNOWN_STATICS[key] && !(blacklist && blacklist[key]) && !(sourceStatics && sourceStatics[key]) && !(targetStatics && targetStatics[key])) {
1281
+ var descriptor = getOwnPropertyDescriptor(sourceComponent, key);
1282
+
1283
+ try {
1284
+ // Avoid failures from read-only properties
1285
+ defineProperty(targetComponent, key, descriptor);
1286
+ } catch (e) {}
1287
+ }
1288
+ }
1289
+ }
1290
+
1291
+ return targetComponent;
1292
+ }
1293
+
1294
+ var hoistNonReactStatics_cjs = hoistNonReactStatics;
1295
+
1296
+ function _extends$1() {
1297
+ _extends$1 = Object.assign || function (target) {
1298
+ for (var i = 1; i < arguments.length; i++) {
1299
+ var source = arguments[i];
1300
+
1301
+ for (var key in source) {
1302
+ if (Object.prototype.hasOwnProperty.call(source, key)) {
1303
+ target[key] = source[key];
1304
+ }
1305
+ }
1306
+ }
1307
+
1308
+ return target;
1309
+ };
1310
+
1311
+ return _extends$1.apply(this, arguments);
1312
+ }
1313
+
1314
+ function _objectWithoutPropertiesLoose$1(source, excluded) {
1315
+ if (source == null) return {};
1316
+ var target = {};
1317
+ var sourceKeys = Object.keys(source);
1318
+ var key, i;
1319
+
1320
+ for (i = 0; i < sourceKeys.length; i++) {
1321
+ key = sourceKeys[i];
1322
+ if (excluded.indexOf(key) >= 0) continue;
1323
+ target[key] = source[key];
1324
+ }
1325
+
1326
+ return target;
1327
+ }
1328
+
1329
+ //
1330
+ var interleave = (function (strings, interpolations) {
1331
+ var result = [strings[0]];
1332
+
1333
+ for (var i = 0, len = interpolations.length; i < len; i += 1) {
1334
+ result.push(interpolations[i], strings[i + 1]);
1335
+ }
1336
+
1337
+ return result;
1338
+ });
1339
+
1340
+ //
1341
+ var isPlainObject = (function (x) {
1342
+ return x !== null && typeof x === 'object' && (x.toString ? x.toString() : Object.prototype.toString.call(x)) === '[object Object]' && !reactIs_28(x);
1343
+ });
1344
+
1345
+ //
1346
+ var EMPTY_ARRAY = Object.freeze([]);
1347
+ var EMPTY_OBJECT = Object.freeze({});
1348
+
1349
+ //
1350
+ function isFunction(test) {
1351
+ return typeof test === 'function';
1352
+ }
1353
+
1354
+ //
1355
+ function getComponentName(target) {
1356
+ return (process.env.NODE_ENV !== 'production' ? typeof target === 'string' && target : false) || // $FlowFixMe
1357
+ target.displayName || // $FlowFixMe
1358
+ target.name || 'Component';
1359
+ }
1360
+
1361
+ //
1362
+ function isStatelessFunction(test) {
1363
+ return typeof test === 'function' && !(test.prototype && test.prototype.isReactComponent);
1364
+ }
1365
+
1366
+ //
1367
+ function isStyledComponent(target) {
1368
+ return target && typeof target.styledComponentId === 'string';
1369
+ }
1370
+
1371
+ //
1372
+ var SC_ATTR = typeof process !== 'undefined' && (process.env.REACT_APP_SC_ATTR || process.env.SC_ATTR) || 'data-styled';
1373
+ var SC_ATTR_ACTIVE = 'active';
1374
+ var SC_ATTR_VERSION = 'data-styled-version';
1375
+ var SC_VERSION = "5.1.1";
1376
+ var SPLITTER = '/*!sc*/\n';
1377
+ var IS_BROWSER = typeof window !== 'undefined' && 'HTMLElement' in window;
1378
+ var DISABLE_SPEEDY = typeof SC_DISABLE_SPEEDY === 'boolean' && SC_DISABLE_SPEEDY || typeof process !== 'undefined' && (process.env.REACT_APP_SC_DISABLE_SPEEDY || process.env.SC_DISABLE_SPEEDY) || process.env.NODE_ENV !== 'production'; // Shared empty execution context when generating static styles
1379
+
1380
+ //
1381
+
1382
+ /* eslint-disable camelcase, no-undef */
1383
+ var getNonce = function getNonce() {
1384
+ return typeof __webpack_nonce__ !== 'undefined' ? __webpack_nonce__ : null;
1385
+ };
1386
+
1387
+ var errorMap = {
1388
+ "1": "Cannot create styled-component for component: %s.\n\n",
1389
+ "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",
1390
+ "3": "Streaming SSR is only supported in a Node.js environment; Please do not try to call this method in the browser.\n\n",
1391
+ "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",
1392
+ "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",
1393
+ "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",
1394
+ "7": "ThemeProvider: Please return an object from your \"theme\" prop function, e.g.\n\n```js\ntheme={() => ({})}\n```\n\n",
1395
+ "8": "ThemeProvider: Please make your \"theme\" prop an object.\n\n",
1396
+ "9": "Missing document `<head>`\n\n",
1397
+ "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",
1398
+ "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",
1399
+ "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",
1400
+ "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",
1401
+ "14": "ThemeProvider: \"theme\" prop is required.\n\n",
1402
+ "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",
1403
+ "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",
1404
+ "17": "CSSStyleSheet could not be found on HTMLStyleElement.\nHas styled-components' style tag been unmounted or altered by another script?\n"
1405
+ };
1406
+
1407
+ //
1408
+ var ERRORS = process.env.NODE_ENV !== 'production' ? errorMap : {};
1409
+ /**
1410
+ * super basic version of sprintf
1411
+ */
1412
+
1413
+ function format() {
1414
+ var a = arguments.length <= 0 ? undefined : arguments[0];
1415
+ var b = [];
1416
+
1417
+ for (var c = 1, len = arguments.length; c < len; c += 1) {
1418
+ b.push(c < 0 || arguments.length <= c ? undefined : arguments[c]);
1419
+ }
1420
+
1421
+ b.forEach(function (d) {
1422
+ a = a.replace(/%[a-z]/, d);
1423
+ });
1424
+ return a;
1425
+ }
1426
+ /**
1427
+ * Create an error file out of errors.md for development and a simple web link to the full errors
1428
+ * in production mode.
1429
+ */
1430
+
1431
+
1432
+ function throwStyledComponentsError(code) {
1433
+ for (var _len = arguments.length, interpolations = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {
1434
+ interpolations[_key - 1] = arguments[_key];
1435
+ }
1436
+
1437
+ if (process.env.NODE_ENV === 'production') {
1438
+ throw new Error("An error occurred. See https://github.com/styled-components/styled-components/blob/master/packages/styled-components/src/utils/errors.md#" + code + " for more information." + (interpolations.length > 0 ? " Additional arguments: " + interpolations.join(', ') : ''));
1439
+ } else {
1440
+ throw new Error(format.apply(void 0, [ERRORS[code]].concat(interpolations)).trim());
1441
+ }
1442
+ }
1443
+
1444
+ //
1445
+ var ELEMENT_TYPE = 1;
1446
+ /* Node.ELEMENT_TYPE */
1447
+
1448
+ /** Find last style element if any inside target */
1449
+
1450
+ var findLastStyleTag = function findLastStyleTag(target) {
1451
+ var childNodes = target.childNodes;
1452
+
1453
+ for (var i = childNodes.length; i >= 0; i--) {
1454
+ var child = childNodes[i];
1455
+
1456
+ if (child && child.nodeType === ELEMENT_TYPE && child.hasAttribute(SC_ATTR)) {
1457
+ return child;
1458
+ }
1459
+ }
1460
+
1461
+ return undefined;
1462
+ };
1463
+ /** Create a style element inside `target` or <head> after the last */
1464
+
1465
+
1466
+ var makeStyleTag = function makeStyleTag(target) {
1467
+ var head = document.head;
1468
+ var parent = target || head;
1469
+ var style = document.createElement('style');
1470
+ var prevStyle = findLastStyleTag(parent);
1471
+ var nextSibling = prevStyle !== undefined ? prevStyle.nextSibling : null;
1472
+ style.setAttribute(SC_ATTR, SC_ATTR_ACTIVE);
1473
+ style.setAttribute(SC_ATTR_VERSION, SC_VERSION);
1474
+ var nonce = getNonce();
1475
+ if (nonce) style.setAttribute('nonce', nonce);
1476
+ parent.insertBefore(style, nextSibling);
1477
+ return style;
1478
+ };
1479
+ /** Get the CSSStyleSheet instance for a given style element */
1480
+
1481
+ var getSheet = function getSheet(tag) {
1482
+ if (tag.sheet) {
1483
+ return tag.sheet;
1484
+ } // Avoid Firefox quirk where the style element might not have a sheet property
1485
+
1486
+
1487
+ var _document = document,
1488
+ styleSheets = _document.styleSheets;
1489
+
1490
+ for (var i = 0, l = styleSheets.length; i < l; i++) {
1491
+ var sheet = styleSheets[i];
1492
+
1493
+ if (sheet.ownerNode === tag) {
1494
+ return sheet;
1495
+ }
1496
+ }
1497
+
1498
+ throwStyledComponentsError(17);
1499
+ return undefined;
1500
+ };
1501
+
1502
+ //
1503
+ /** Create a CSSStyleSheet-like tag depending on the environment */
1504
+
1505
+ var makeTag = function makeTag(_ref) {
1506
+ var isServer = _ref.isServer,
1507
+ useCSSOMInjection = _ref.useCSSOMInjection,
1508
+ target = _ref.target;
1509
+
1510
+ if (isServer) {
1511
+ return new VirtualTag(target);
1512
+ } else if (useCSSOMInjection) {
1513
+ return new CSSOMTag(target);
1514
+ } else {
1515
+ return new TextTag(target);
1516
+ }
1517
+ };
1518
+ var CSSOMTag = /*#__PURE__*/function () {
1519
+ function CSSOMTag(target) {
1520
+ var element = this.element = makeStyleTag(target); // Avoid Edge bug where empty style elements don't create sheets
1521
+
1522
+ element.appendChild(document.createTextNode(''));
1523
+ this.sheet = getSheet(element);
1524
+ this.length = 0;
1525
+ }
1526
+
1527
+ var _proto = CSSOMTag.prototype;
1528
+
1529
+ _proto.insertRule = function insertRule(index, rule) {
1530
+ try {
1531
+ this.sheet.insertRule(rule, index);
1532
+ this.length++;
1533
+ return true;
1534
+ } catch (_error) {
1535
+ return false;
1536
+ }
1537
+ };
1538
+
1539
+ _proto.deleteRule = function deleteRule(index) {
1540
+ this.sheet.deleteRule(index);
1541
+ this.length--;
1542
+ };
1543
+
1544
+ _proto.getRule = function getRule(index) {
1545
+ var rule = this.sheet.cssRules[index]; // Avoid IE11 quirk where cssText is inaccessible on some invalid rules
1546
+
1547
+ if (rule !== undefined && typeof rule.cssText === 'string') {
1548
+ return rule.cssText;
1549
+ } else {
1550
+ return '';
1551
+ }
1552
+ };
1553
+
1554
+ return CSSOMTag;
1555
+ }();
1556
+ /** A Tag that emulates the CSSStyleSheet API but uses text nodes */
1557
+
1558
+ var TextTag = /*#__PURE__*/function () {
1559
+ function TextTag(target) {
1560
+ var element = this.element = makeStyleTag(target);
1561
+ this.nodes = element.childNodes;
1562
+ this.length = 0;
1563
+ }
1564
+
1565
+ var _proto2 = TextTag.prototype;
1566
+
1567
+ _proto2.insertRule = function insertRule(index, rule) {
1568
+ if (index <= this.length && index >= 0) {
1569
+ var node = document.createTextNode(rule);
1570
+ var refNode = this.nodes[index];
1571
+ this.element.insertBefore(node, refNode || null);
1572
+ this.length++;
1573
+ return true;
1574
+ } else {
1575
+ return false;
1576
+ }
1577
+ };
1578
+
1579
+ _proto2.deleteRule = function deleteRule(index) {
1580
+ this.element.removeChild(this.nodes[index]);
1581
+ this.length--;
1582
+ };
1583
+
1584
+ _proto2.getRule = function getRule(index) {
1585
+ if (index < this.length) {
1586
+ return this.nodes[index].textContent;
1587
+ } else {
1588
+ return '';
1589
+ }
1590
+ };
1591
+
1592
+ return TextTag;
1593
+ }();
1594
+ /** A completely virtual (server-side) Tag that doesn't manipulate the DOM */
1595
+
1596
+ var VirtualTag = /*#__PURE__*/function () {
1597
+ function VirtualTag(_target) {
1598
+ this.rules = [];
1599
+ this.length = 0;
1600
+ }
1601
+
1602
+ var _proto3 = VirtualTag.prototype;
1603
+
1604
+ _proto3.insertRule = function insertRule(index, rule) {
1605
+ if (index <= this.length) {
1606
+ this.rules.splice(index, 0, rule);
1607
+ this.length++;
1608
+ return true;
1609
+ } else {
1610
+ return false;
1611
+ }
1612
+ };
1613
+
1614
+ _proto3.deleteRule = function deleteRule(index) {
1615
+ this.rules.splice(index, 1);
1616
+ this.length--;
1617
+ };
1618
+
1619
+ _proto3.getRule = function getRule(index) {
1620
+ if (index < this.length) {
1621
+ return this.rules[index];
1622
+ } else {
1623
+ return '';
1624
+ }
1625
+ };
1626
+
1627
+ return VirtualTag;
1628
+ }();
1629
+
1630
+ //
1631
+ /** Create a GroupedTag with an underlying Tag implementation */
1632
+
1633
+ var makeGroupedTag = function makeGroupedTag(tag) {
1634
+ return new DefaultGroupedTag(tag);
1635
+ };
1636
+ var BASE_SIZE = 1 << 9;
1637
+
1638
+ var DefaultGroupedTag = /*#__PURE__*/function () {
1639
+ function DefaultGroupedTag(tag) {
1640
+ this.groupSizes = new Uint32Array(BASE_SIZE);
1641
+ this.length = BASE_SIZE;
1642
+ this.tag = tag;
1643
+ }
1644
+
1645
+ var _proto = DefaultGroupedTag.prototype;
1646
+
1647
+ _proto.indexOfGroup = function indexOfGroup(group) {
1648
+ var index = 0;
1649
+
1650
+ for (var i = 0; i < group; i++) {
1651
+ index += this.groupSizes[i];
1652
+ }
1653
+
1654
+ return index;
1655
+ };
1656
+
1657
+ _proto.insertRules = function insertRules(group, rules) {
1658
+ if (group >= this.groupSizes.length) {
1659
+ var oldBuffer = this.groupSizes;
1660
+ var oldSize = oldBuffer.length;
1661
+ var newSize = oldSize;
1662
+
1663
+ while (group >= newSize) {
1664
+ newSize <<= 1;
1665
+
1666
+ if (newSize < 0) {
1667
+ throwStyledComponentsError(16, "" + group);
1668
+ }
1669
+ }
1670
+
1671
+ this.groupSizes = new Uint32Array(newSize);
1672
+ this.groupSizes.set(oldBuffer);
1673
+ this.length = newSize;
1674
+
1675
+ for (var i = oldSize; i < newSize; i++) {
1676
+ this.groupSizes[i] = 0;
1677
+ }
1678
+ }
1679
+
1680
+ var ruleIndex = this.indexOfGroup(group + 1);
1681
+
1682
+ for (var _i = 0, l = rules.length; _i < l; _i++) {
1683
+ if (this.tag.insertRule(ruleIndex, rules[_i])) {
1684
+ this.groupSizes[group]++;
1685
+ ruleIndex++;
1686
+ }
1687
+ }
1688
+ };
1689
+
1690
+ _proto.clearGroup = function clearGroup(group) {
1691
+ if (group < this.length) {
1692
+ var length = this.groupSizes[group];
1693
+ var startIndex = this.indexOfGroup(group);
1694
+ var endIndex = startIndex + length;
1695
+ this.groupSizes[group] = 0;
1696
+
1697
+ for (var i = startIndex; i < endIndex; i++) {
1698
+ this.tag.deleteRule(startIndex);
1699
+ }
1700
+ }
1701
+ };
1702
+
1703
+ _proto.getGroup = function getGroup(group) {
1704
+ var css = '';
1705
+
1706
+ if (group >= this.length || this.groupSizes[group] === 0) {
1707
+ return css;
1708
+ }
1709
+
1710
+ var length = this.groupSizes[group];
1711
+ var startIndex = this.indexOfGroup(group);
1712
+ var endIndex = startIndex + length;
1713
+
1714
+ for (var i = startIndex; i < endIndex; i++) {
1715
+ css += "" + this.tag.getRule(i) + SPLITTER;
1716
+ }
1717
+
1718
+ return css;
1719
+ };
1720
+
1721
+ return DefaultGroupedTag;
1722
+ }();
1723
+
1724
+ //
1725
+ var MAX_SMI = 1 << 31 - 1;
1726
+ var groupIDRegister = new Map();
1727
+ var reverseRegister = new Map();
1728
+ var nextFreeGroup = 1;
1729
+ var getGroupForId = function getGroupForId(id) {
1730
+ if (groupIDRegister.has(id)) {
1731
+ return groupIDRegister.get(id);
1732
+ }
1733
+
1734
+ var group = nextFreeGroup++;
1735
+
1736
+ if (process.env.NODE_ENV !== 'production' && ((group | 0) < 0 || group > MAX_SMI)) {
1737
+ throwStyledComponentsError(16, "" + group);
1738
+ }
1739
+
1740
+ groupIDRegister.set(id, group);
1741
+ reverseRegister.set(group, id);
1742
+ return group;
1743
+ };
1744
+ var getIdForGroup = function getIdForGroup(group) {
1745
+ return reverseRegister.get(group);
1746
+ };
1747
+ var setGroupForId = function setGroupForId(id, group) {
1748
+ if (group >= nextFreeGroup) {
1749
+ nextFreeGroup = group + 1;
1750
+ }
1751
+
1752
+ groupIDRegister.set(id, group);
1753
+ reverseRegister.set(group, id);
1754
+ };
1755
+
1756
+ //
1757
+ var SELECTOR = "style[" + SC_ATTR + "][" + SC_ATTR_VERSION + "=\"" + SC_VERSION + "\"]";
1758
+ var MARKER_RE = new RegExp("^" + SC_ATTR + "\\.g(\\d+)\\[id=\"([\\w\\d-]+)\"\\].*?\"([^\"]*)");
1759
+ var outputSheet = function outputSheet(sheet) {
1760
+ var tag = sheet.getTag();
1761
+ var length = tag.length;
1762
+ var css = '';
1763
+
1764
+ for (var group = 0; group < length; group++) {
1765
+ var id = getIdForGroup(group);
1766
+ if (id === undefined) continue;
1767
+ var names = sheet.names.get(id);
1768
+ var rules = tag.getGroup(group);
1769
+ if (names === undefined || rules.length === 0) continue;
1770
+ var selector = SC_ATTR + ".g" + group + "[id=\"" + id + "\"]";
1771
+ var content = '';
1772
+
1773
+ if (names !== undefined) {
1774
+ names.forEach(function (name) {
1775
+ if (name.length > 0) {
1776
+ content += name + ",";
1777
+ }
1778
+ });
1779
+ } // NOTE: It's easier to collect rules and have the marker
1780
+ // after the actual rules to simplify the rehydration
1781
+
1782
+
1783
+ css += "" + rules + selector + "{content:\"" + content + "\"}" + SPLITTER;
1784
+ }
1785
+
1786
+ return css;
1787
+ };
1788
+
1789
+ var rehydrateNamesFromContent = function rehydrateNamesFromContent(sheet, id, content) {
1790
+ var names = content.split(',');
1791
+ var name;
1792
+
1793
+ for (var i = 0, l = names.length; i < l; i++) {
1794
+ // eslint-disable-next-line
1795
+ if (name = names[i]) {
1796
+ sheet.registerName(id, name);
1797
+ }
1798
+ }
1799
+ };
1800
+
1801
+ var rehydrateSheetFromTag = function rehydrateSheetFromTag(sheet, style) {
1802
+ var parts = style.innerHTML.split(SPLITTER);
1803
+ var rules = [];
1804
+
1805
+ for (var i = 0, l = parts.length; i < l; i++) {
1806
+ var part = parts[i].trim();
1807
+ if (!part) continue;
1808
+ var marker = part.match(MARKER_RE);
1809
+
1810
+ if (marker) {
1811
+ var group = parseInt(marker[1], 10) | 0;
1812
+ var id = marker[2];
1813
+
1814
+ if (group !== 0) {
1815
+ // Rehydrate componentId to group index mapping
1816
+ setGroupForId(id, group); // Rehydrate names and rules
1817
+ // looks like: data-styled.g11[id="idA"]{content:"nameA,"}
1818
+
1819
+ rehydrateNamesFromContent(sheet, id, marker[3]);
1820
+ sheet.getTag().insertRules(group, rules);
1821
+ }
1822
+
1823
+ rules.length = 0;
1824
+ } else {
1825
+ rules.push(part);
1826
+ }
1827
+ }
1828
+ };
1829
+
1830
+ var rehydrateSheet = function rehydrateSheet(sheet) {
1831
+ var nodes = document.querySelectorAll(SELECTOR);
1832
+
1833
+ for (var i = 0, l = nodes.length; i < l; i++) {
1834
+ var node = nodes[i];
1835
+
1836
+ if (node && node.getAttribute(SC_ATTR) !== SC_ATTR_ACTIVE) {
1837
+ rehydrateSheetFromTag(sheet, node);
1838
+
1839
+ if (node.parentNode) {
1840
+ node.parentNode.removeChild(node);
1841
+ }
1842
+ }
1843
+ }
1844
+ };
1845
+
1846
+ var SHOULD_REHYDRATE = IS_BROWSER;
1847
+ var defaultOptions = {
1848
+ isServer: !IS_BROWSER,
1849
+ useCSSOMInjection: !DISABLE_SPEEDY
1850
+ };
1851
+ /** Contains the main stylesheet logic for stringification and caching */
1852
+
1853
+ var StyleSheet = /*#__PURE__*/function () {
1854
+ /** Register a group ID to give it an index */
1855
+ StyleSheet.registerId = function registerId(id) {
1856
+ return getGroupForId(id);
1857
+ };
1858
+
1859
+ function StyleSheet(options, globalStyles, names) {
1860
+ if (options === void 0) {
1861
+ options = defaultOptions;
1862
+ }
1863
+
1864
+ if (globalStyles === void 0) {
1865
+ globalStyles = {};
1866
+ }
1867
+
1868
+ this.options = _extends$1({}, defaultOptions, {}, options);
1869
+ this.gs = globalStyles;
1870
+ this.names = new Map(names); // We rehydrate only once and use the sheet that is created first
1871
+
1872
+ if (!this.options.isServer && IS_BROWSER && SHOULD_REHYDRATE) {
1873
+ SHOULD_REHYDRATE = false;
1874
+ rehydrateSheet(this);
1875
+ }
1876
+ }
1877
+
1878
+ var _proto = StyleSheet.prototype;
1879
+
1880
+ _proto.reconstructWithOptions = function reconstructWithOptions(options) {
1881
+ return new StyleSheet(_extends$1({}, this.options, {}, options), this.gs, this.names);
1882
+ };
1883
+
1884
+ _proto.allocateGSInstance = function allocateGSInstance(id) {
1885
+ return this.gs[id] = (this.gs[id] || 0) + 1;
1886
+ }
1887
+ /** Lazily initialises a GroupedTag for when it's actually needed */
1888
+ ;
1889
+
1890
+ _proto.getTag = function getTag() {
1891
+ return this.tag || (this.tag = makeGroupedTag(makeTag(this.options)));
1892
+ }
1893
+ /** Check whether a name is known for caching */
1894
+ ;
1895
+
1896
+ _proto.hasNameForId = function hasNameForId(id, name) {
1897
+ return this.names.has(id) && this.names.get(id).has(name);
1898
+ }
1899
+ /** Mark a group's name as known for caching */
1900
+ ;
1901
+
1902
+ _proto.registerName = function registerName(id, name) {
1903
+ getGroupForId(id);
1904
+
1905
+ if (!this.names.has(id)) {
1906
+ var groupNames = new Set();
1907
+ groupNames.add(name);
1908
+ this.names.set(id, groupNames);
1909
+ } else {
1910
+ this.names.get(id).add(name);
1911
+ }
1912
+ }
1913
+ /** Insert new rules which also marks the name as known */
1914
+ ;
1915
+
1916
+ _proto.insertRules = function insertRules(id, name, rules) {
1917
+ this.registerName(id, name);
1918
+ this.getTag().insertRules(getGroupForId(id), rules);
1919
+ }
1920
+ /** Clears all cached names for a given group ID */
1921
+ ;
1922
+
1923
+ _proto.clearNames = function clearNames(id) {
1924
+ if (this.names.has(id)) {
1925
+ this.names.get(id).clear();
1926
+ }
1927
+ }
1928
+ /** Clears all rules for a given group ID */
1929
+ ;
1930
+
1931
+ _proto.clearRules = function clearRules(id) {
1932
+ this.getTag().clearGroup(getGroupForId(id));
1933
+ this.clearNames(id);
1934
+ }
1935
+ /** Clears the entire tag which deletes all rules but not its names */
1936
+ ;
1937
+
1938
+ _proto.clearTag = function clearTag() {
1939
+ // NOTE: This does not clear the names, since it's only used during SSR
1940
+ // so that we can continuously output only new rules
1941
+ this.tag = undefined;
1942
+ }
1943
+ /** Outputs the current sheet as a CSS string with markers for SSR */
1944
+ ;
1945
+
1946
+ _proto.toString = function toString() {
1947
+ return outputSheet(this);
1948
+ };
1949
+
1950
+ return StyleSheet;
1951
+ }();
1952
+
1953
+ //
1954
+
1955
+ /* eslint-disable */
1956
+ var SEED = 5381; // When we have separate strings it's useful to run a progressive
1957
+ // version of djb2 where we pretend that we're still looping over
1958
+ // the same string
1959
+
1960
+ var phash = function phash(h, x) {
1961
+ var i = x.length;
1962
+
1963
+ while (i) {
1964
+ h = h * 33 ^ x.charCodeAt(--i);
1965
+ }
1966
+
1967
+ return h;
1968
+ }; // This is a djb2 hashing function
1969
+
1970
+ var hash = function hash(x) {
1971
+ return phash(SEED, x);
1972
+ };
1973
+
1974
+ /**
1975
+ * MIT License
1976
+ *
1977
+ * Copyright (c) 2016 Sultan Tarimo
1978
+ *
1979
+ * Permission is hereby granted, free of charge, to any person obtaining a copy of
1980
+ * this software and associated documentation files (the "Software"),
1981
+ * to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
1982
+ * sell copies of the Software and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
1983
+ *
1984
+ * The above copyright notice and this permission notice shall be included in all
1985
+ * copies or substantial portions of the Software.
1986
+ *
1987
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
1988
+ * OR IMPLIED INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
1989
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
1990
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
1991
+ * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR
1992
+ * IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
1993
+ */
1994
+
1995
+ /* eslint-disable */
1996
+ function insertRulePlugin (insertRule) {
1997
+ var delimiter = '/*|*/';
1998
+ var needle = delimiter + "}";
1999
+
2000
+ function toSheet(block) {
2001
+ if (block) {
2002
+ try {
2003
+ insertRule(block + "}");
2004
+ } catch (e) {}
2005
+ }
2006
+ }
2007
+
2008
+ return function ruleSheet(context, content, selectors, parents, line, column, length, ns, depth, at) {
2009
+ switch (context) {
2010
+ // property
2011
+ case 1:
2012
+ // @import
2013
+ if (depth === 0 && content.charCodeAt(0) === 64) return insertRule(content + ";"), '';
2014
+ break;
2015
+ // selector
2016
+
2017
+ case 2:
2018
+ if (ns === 0) return content + delimiter;
2019
+ break;
2020
+ // at-rule
2021
+
2022
+ case 3:
2023
+ switch (ns) {
2024
+ // @font-face, @page
2025
+ case 102:
2026
+ case 112:
2027
+ return insertRule(selectors[0] + content), '';
2028
+
2029
+ default:
2030
+ return content + (at === 0 ? delimiter : '');
2031
+ }
2032
+
2033
+ case -2:
2034
+ content.split(needle).forEach(toSheet);
2035
+ }
2036
+ };
2037
+ }
2038
+
2039
+ var COMMENT_REGEX = /^\s*\/\/.*$/gm;
2040
+ function createStylisInstance(_temp) {
2041
+ var _ref = _temp === void 0 ? EMPTY_OBJECT : _temp,
2042
+ _ref$options = _ref.options,
2043
+ options = _ref$options === void 0 ? EMPTY_OBJECT : _ref$options,
2044
+ _ref$plugins = _ref.plugins,
2045
+ plugins = _ref$plugins === void 0 ? EMPTY_ARRAY : _ref$plugins;
2046
+
2047
+ var stylis = new stylis_min(options); // Wrap `insertRulePlugin to build a list of rules,
2048
+ // and then make our own plugin to return the rules. This
2049
+ // makes it easier to hook into the existing SSR architecture
2050
+
2051
+ var parsingRules = []; // eslint-disable-next-line consistent-return
2052
+
2053
+ var returnRulesPlugin = function returnRulesPlugin(context) {
2054
+ if (context === -2) {
2055
+ var parsedRules = parsingRules;
2056
+ parsingRules = [];
2057
+ return parsedRules;
2058
+ }
2059
+ };
2060
+
2061
+ var parseRulesPlugin = insertRulePlugin(function (rule) {
2062
+ parsingRules.push(rule);
2063
+ });
2064
+
2065
+ var _componentId;
2066
+
2067
+ var _selector;
2068
+
2069
+ var _selectorRegexp;
2070
+
2071
+ var selfReferenceReplacer = function selfReferenceReplacer(match, offset, string) {
2072
+ if ( // the first self-ref is always untouched
2073
+ offset > 0 && // there should be at least two self-refs to do a replacement (.b > .b)
2074
+ string.slice(0, offset).indexOf(_selector) !== -1 && // no consecutive self refs (.b.b); that is a precedence boost and treated differently
2075
+ string.slice(offset - _selector.length, offset) !== _selector) {
2076
+ return "." + _componentId;
2077
+ }
2078
+
2079
+ return match;
2080
+ };
2081
+ /**
2082
+ * When writing a style like
2083
+ *
2084
+ * & + & {
2085
+ * color: red;
2086
+ * }
2087
+ *
2088
+ * The second ampersand should be a reference to the static component class. stylis
2089
+ * has no knowledge of static class so we have to intelligently replace the base selector.
2090
+ *
2091
+ * https://github.com/thysultan/stylis.js#plugins <- more info about the context phase values
2092
+ * "2" means this plugin is taking effect at the very end after all other processing is complete
2093
+ */
2094
+
2095
+
2096
+ var selfReferenceReplacementPlugin = function selfReferenceReplacementPlugin(context, _, selectors) {
2097
+ if (context === 2 && selectors.length && selectors[0].lastIndexOf(_selector) > 0) {
2098
+ // eslint-disable-next-line no-param-reassign
2099
+ selectors[0] = selectors[0].replace(_selectorRegexp, selfReferenceReplacer);
2100
+ }
2101
+ };
2102
+
2103
+ stylis.use([].concat(plugins, [selfReferenceReplacementPlugin, parseRulesPlugin, returnRulesPlugin]));
2104
+
2105
+ function stringifyRules(css, selector, prefix, componentId) {
2106
+ if (componentId === void 0) {
2107
+ componentId = '&';
2108
+ }
2109
+
2110
+ var flatCSS = css.replace(COMMENT_REGEX, '');
2111
+ var cssStr = selector && prefix ? prefix + " " + selector + " { " + flatCSS + " }" : flatCSS; // stylis has no concept of state to be passed to plugins
2112
+ // but since JS is single=threaded, we can rely on that to ensure
2113
+ // these properties stay in sync with the current stylis run
2114
+
2115
+ _componentId = componentId;
2116
+ _selector = selector;
2117
+ _selectorRegexp = new RegExp("\\" + _selector + "\\b", 'g');
2118
+ return stylis(prefix || !selector ? '' : selector, cssStr);
2119
+ }
2120
+
2121
+ stringifyRules.hash = plugins.length ? plugins.reduce(function (acc, plugin) {
2122
+ if (!plugin.name) {
2123
+ throwStyledComponentsError(15);
2124
+ }
2125
+
2126
+ return phash(acc, plugin.name);
2127
+ }, SEED).toString() : '';
2128
+ return stringifyRules;
2129
+ }
2130
+
2131
+ //
2132
+ var StyleSheetContext = React__default.createContext();
2133
+ var StyleSheetConsumer = StyleSheetContext.Consumer;
2134
+ var StylisContext = React__default.createContext();
2135
+ var StylisConsumer = StylisContext.Consumer;
2136
+ var masterSheet = new StyleSheet();
2137
+ var masterStylis = createStylisInstance();
2138
+ function useStyleSheet() {
2139
+ return React.useContext(StyleSheetContext) || masterSheet;
2140
+ }
2141
+ function useStylis() {
2142
+ return React.useContext(StylisContext) || masterStylis;
2143
+ }
2144
+
2145
+ //
2146
+
2147
+ var Keyframes = /*#__PURE__*/function () {
2148
+ function Keyframes(name, stringifyArgs) {
2149
+ var _this = this;
2150
+
2151
+ this.inject = function (styleSheet) {
2152
+ if (!styleSheet.hasNameForId(_this.id, _this.name)) {
2153
+ styleSheet.insertRules(_this.id, _this.name, masterStylis.apply(void 0, _this.stringifyArgs));
2154
+ }
2155
+ };
2156
+
2157
+ this.toString = function () {
2158
+ return throwStyledComponentsError(12, String(_this.name));
2159
+ };
2160
+
2161
+ this.name = name;
2162
+ this.id = "sc-keyframes-" + name;
2163
+ this.stringifyArgs = stringifyArgs;
2164
+ }
2165
+
2166
+ var _proto = Keyframes.prototype;
2167
+
2168
+ _proto.getName = function getName() {
2169
+ return this.name;
2170
+ };
2171
+
2172
+ return Keyframes;
2173
+ }();
2174
+
2175
+ //
2176
+
2177
+ /**
2178
+ * inlined version of
2179
+ * https://github.com/facebook/fbjs/blob/master/packages/fbjs/src/core/hyphenateStyleName.js
2180
+ */
2181
+ var uppercasePattern = /([A-Z])/g;
2182
+ var msPattern = /^ms-/;
2183
+ /**
2184
+ * Hyphenates a camelcased CSS property name, for example:
2185
+ *
2186
+ * > hyphenateStyleName('backgroundColor')
2187
+ * < "background-color"
2188
+ * > hyphenateStyleName('MozTransition')
2189
+ * < "-moz-transition"
2190
+ * > hyphenateStyleName('msTransition')
2191
+ * < "-ms-transition"
2192
+ *
2193
+ * As Modernizr suggests (http://modernizr.com/docs/#prefixed), an `ms` prefix
2194
+ * is converted to `-ms-`.
2195
+ *
2196
+ * @param {string} string
2197
+ * @return {string}
2198
+ */
2199
+
2200
+ function hyphenateStyleName(string) {
2201
+ return string.replace(uppercasePattern, '-$1').toLowerCase().replace(msPattern, '-ms-');
2202
+ }
2203
+
2204
+ //
2205
+
2206
+ function addUnitIfNeeded(name, value) {
2207
+ // https://github.com/amilajack/eslint-plugin-flowtype-errors/issues/133
2208
+ // $FlowFixMe
2209
+ if (value == null || typeof value === 'boolean' || value === '') {
2210
+ return '';
2211
+ }
2212
+
2213
+ if (typeof value === 'number' && value !== 0 && !(name in unitlessKeys)) {
2214
+ return value + "px"; // Presumes implicit 'px' suffix for unitless numbers
2215
+ }
2216
+
2217
+ return String(value).trim();
2218
+ }
2219
+
2220
+ //
2221
+ /**
2222
+ * It's falsish not falsy because 0 is allowed.
2223
+ */
2224
+
2225
+ var isFalsish = function isFalsish(chunk) {
2226
+ return chunk === undefined || chunk === null || chunk === false || chunk === '';
2227
+ };
2228
+
2229
+ var objToCssArray = function objToCssArray(obj, prevKey) {
2230
+ var rules = [];
2231
+ var keys = Object.keys(obj);
2232
+ keys.forEach(function (key) {
2233
+ if (!isFalsish(obj[key])) {
2234
+ if (isPlainObject(obj[key])) {
2235
+ rules.push.apply(rules, objToCssArray(obj[key], key));
2236
+ return rules;
2237
+ } else if (isFunction(obj[key])) {
2238
+ rules.push(hyphenateStyleName(key) + ":", obj[key], ';');
2239
+ return rules;
2240
+ }
2241
+
2242
+ rules.push(hyphenateStyleName(key) + ": " + addUnitIfNeeded(key, obj[key]) + ";");
2243
+ }
2244
+
2245
+ return rules;
2246
+ });
2247
+ return prevKey ? [prevKey + " {"].concat(rules, ['}']) : rules;
2248
+ };
2249
+ function flatten(chunk, executionContext, styleSheet) {
2250
+ if (Array.isArray(chunk)) {
2251
+ var ruleSet = [];
2252
+
2253
+ for (var i = 0, len = chunk.length, result; i < len; i += 1) {
2254
+ result = flatten(chunk[i], executionContext, styleSheet);
2255
+ if (result === '') continue;else if (Array.isArray(result)) ruleSet.push.apply(ruleSet, result);else ruleSet.push(result);
2256
+ }
2257
+
2258
+ return ruleSet;
2259
+ }
2260
+
2261
+ if (isFalsish(chunk)) {
2262
+ return '';
2263
+ }
2264
+ /* Handle other components */
2265
+
2266
+
2267
+ if (isStyledComponent(chunk)) {
2268
+ return "." + chunk.styledComponentId;
2269
+ }
2270
+ /* Either execute or defer the function */
2271
+
2272
+
2273
+ if (isFunction(chunk)) {
2274
+ if (isStatelessFunction(chunk) && executionContext) {
2275
+ var _result = chunk(executionContext);
2276
+
2277
+ if (process.env.NODE_ENV !== 'production' && reactIs_18(_result)) {
2278
+ // eslint-disable-next-line no-console
2279
+ console.warn(getComponentName(chunk) + " 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.");
2280
+ }
2281
+
2282
+ return flatten(_result, executionContext, styleSheet);
2283
+ } else return chunk;
2284
+ }
2285
+
2286
+ if (chunk instanceof Keyframes) {
2287
+ if (styleSheet) {
2288
+ chunk.inject(styleSheet);
2289
+ return chunk.getName();
2290
+ } else return chunk;
2291
+ }
2292
+ /* Handle objects */
2293
+
2294
+
2295
+ return isPlainObject(chunk) ? objToCssArray(chunk) : chunk.toString();
2296
+ }
2297
+
2298
+ //
2299
+ function css(styles) {
2300
+ for (var _len = arguments.length, interpolations = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {
2301
+ interpolations[_key - 1] = arguments[_key];
2302
+ }
2303
+
2304
+ if (isFunction(styles) || isPlainObject(styles)) {
2305
+ // $FlowFixMe
2306
+ return flatten(interleave(EMPTY_ARRAY, [styles].concat(interpolations)));
2307
+ }
2308
+
2309
+ if (interpolations.length === 0 && styles.length === 1 && typeof styles[0] === "string") {
2310
+ // $FlowFixMe
2311
+ return styles;
2312
+ } // $FlowFixMe
2313
+
2314
+
2315
+ return flatten(interleave(styles, interpolations));
2316
+ }
2317
+
2318
+ function constructWithOptions(componentConstructor, tag, options) {
2319
+ if (options === void 0) {
2320
+ options = EMPTY_OBJECT;
2321
+ }
2322
+
2323
+ if (!reactIs_27(tag)) {
2324
+ return throwStyledComponentsError(1, String(tag));
2325
+ }
2326
+ /* This is callable directly as a template function */
2327
+ // $FlowFixMe: Not typed to avoid destructuring arguments
2328
+
2329
+
2330
+ var templateFunction = function templateFunction() {
2331
+ return componentConstructor(tag, options, css.apply(void 0, arguments));
2332
+ };
2333
+ /* If config methods are called, wrap up a new template function and merge options */
2334
+
2335
+
2336
+ templateFunction.withConfig = function (config) {
2337
+ return constructWithOptions(componentConstructor, tag, _extends$1({}, options, {}, config));
2338
+ };
2339
+ /* Modify/inject new props at runtime */
2340
+
2341
+
2342
+ templateFunction.attrs = function (attrs) {
2343
+ return constructWithOptions(componentConstructor, tag, _extends$1({}, options, {
2344
+ attrs: Array.prototype.concat(options.attrs, attrs).filter(Boolean)
2345
+ }));
2346
+ };
2347
+
2348
+ return templateFunction;
2349
+ }
2350
+
2351
+ /* eslint-disable */
2352
+
2353
+ /**
2354
+ mixin-deep; https://github.com/jonschlinkert/mixin-deep
2355
+ Inlined such that it will be consistently transpiled to an IE-compatible syntax.
2356
+
2357
+ The MIT License (MIT)
2358
+
2359
+ Copyright (c) 2014-present, Jon Schlinkert.
2360
+
2361
+ Permission is hereby granted, free of charge, to any person obtaining a copy
2362
+ of this software and associated documentation files (the "Software"), to deal
2363
+ in the Software without restriction, including without limitation the rights
2364
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
2365
+ copies of the Software, and to permit persons to whom the Software is
2366
+ furnished to do so, subject to the following conditions:
2367
+
2368
+ The above copyright notice and this permission notice shall be included in
2369
+ all copies or substantial portions of the Software.
2370
+
2371
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
2372
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
2373
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
2374
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
2375
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
2376
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
2377
+ THE SOFTWARE.
2378
+ */
2379
+ var isObject = function isObject(val) {
2380
+ return typeof val === 'function' || typeof val === 'object' && val !== null && !Array.isArray(val);
2381
+ };
2382
+
2383
+ var isValidKey = function isValidKey(key) {
2384
+ return key !== '__proto__' && key !== 'constructor' && key !== 'prototype';
2385
+ };
2386
+
2387
+ function mixin(target, val, key) {
2388
+ var obj = target[key];
2389
+
2390
+ if (isObject(val) && isObject(obj)) {
2391
+ mixinDeep(obj, val);
2392
+ } else {
2393
+ target[key] = val;
2394
+ }
2395
+ }
2396
+
2397
+ function mixinDeep(target) {
2398
+ for (var _len = arguments.length, rest = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {
2399
+ rest[_key - 1] = arguments[_key];
2400
+ }
2401
+
2402
+ for (var _i = 0, _rest = rest; _i < _rest.length; _i++) {
2403
+ var obj = _rest[_i];
2404
+
2405
+ if (isObject(obj)) {
2406
+ for (var key in obj) {
2407
+ if (isValidKey(key)) {
2408
+ mixin(target, obj[key], key);
2409
+ }
2410
+ }
2411
+ }
2412
+ }
2413
+
2414
+ return target;
2415
+ }
2416
+
2417
+ //
2418
+
2419
+ /* eslint-disable no-bitwise */
2420
+ var AD_REPLACER_R = /(a)(d)/gi;
2421
+ /* This is the "capacity" of our alphabet i.e. 2x26 for all letters plus their capitalised
2422
+ * counterparts */
2423
+
2424
+ var charsLength = 52;
2425
+ /* start at 75 for 'a' until 'z' (25) and then start at 65 for capitalised letters */
2426
+
2427
+ var getAlphabeticChar = function getAlphabeticChar(code) {
2428
+ return String.fromCharCode(code + (code > 25 ? 39 : 97));
2429
+ };
2430
+ /* input a number, usually a hash and convert it to base-52 */
2431
+
2432
+
2433
+ function generateAlphabeticName(code) {
2434
+ var name = '';
2435
+ var x;
2436
+ /* get a char and divide by alphabet-length */
2437
+
2438
+ for (x = Math.abs(code); x > charsLength; x = x / charsLength | 0) {
2439
+ name = getAlphabeticChar(x % charsLength) + name;
2440
+ }
2441
+
2442
+ return (getAlphabeticChar(x % charsLength) + name).replace(AD_REPLACER_R, '$1-$2');
2443
+ }
2444
+
2445
+ //
2446
+ function isStaticRules(rules) {
2447
+ for (var i = 0; i < rules.length; i += 1) {
2448
+ var rule = rules[i];
2449
+
2450
+ if (isFunction(rule) && !isStyledComponent(rule)) {
2451
+ // functions are allowed to be static if they're just being
2452
+ // used to get the classname of a nested styled component
2453
+ return false;
2454
+ }
2455
+ }
2456
+
2457
+ return true;
2458
+ }
2459
+
2460
+ //
2461
+ /*
2462
+ ComponentStyle is all the CSS-specific stuff, not
2463
+ the React-specific stuff.
2464
+ */
2465
+
2466
+ var ComponentStyle = /*#__PURE__*/function () {
2467
+ function ComponentStyle(rules, componentId) {
2468
+ this.rules = rules;
2469
+ this.staticRulesId = '';
2470
+ this.isStatic = process.env.NODE_ENV === 'production' && isStaticRules(rules);
2471
+ this.componentId = componentId;
2472
+ this.baseHash = hash(componentId); // NOTE: This registers the componentId, which ensures a consistent order
2473
+ // for this component's styles compared to others
2474
+
2475
+ StyleSheet.registerId(componentId);
2476
+ }
2477
+ /*
2478
+ * Flattens a rule set into valid CSS
2479
+ * Hashes it, wraps the whole chunk in a .hash1234 {}
2480
+ * Returns the hash to be injected on render()
2481
+ * */
2482
+
2483
+
2484
+ var _proto = ComponentStyle.prototype;
2485
+
2486
+ _proto.generateAndInjectStyles = function generateAndInjectStyles(executionContext, styleSheet, stylis) {
2487
+ var componentId = this.componentId; // force dynamic classnames if user-supplied stylis plugins are in use
2488
+
2489
+ if (this.isStatic && !stylis.hash) {
2490
+ if (this.staticRulesId && styleSheet.hasNameForId(componentId, this.staticRulesId)) {
2491
+ return this.staticRulesId;
2492
+ }
2493
+
2494
+ var cssStatic = flatten(this.rules, executionContext, styleSheet).join('');
2495
+ var name = generateAlphabeticName(phash(this.baseHash, cssStatic.length) >>> 0);
2496
+
2497
+ if (!styleSheet.hasNameForId(componentId, name)) {
2498
+ var cssStaticFormatted = stylis(cssStatic, "." + name, undefined, componentId);
2499
+ styleSheet.insertRules(componentId, name, cssStaticFormatted);
2500
+ }
2501
+
2502
+ this.staticRulesId = name;
2503
+ return name;
2504
+ } else {
2505
+ var length = this.rules.length;
2506
+ var dynamicHash = phash(this.baseHash, stylis.hash);
2507
+ var css = '';
2508
+
2509
+ for (var i = 0; i < length; i++) {
2510
+ var partRule = this.rules[i];
2511
+
2512
+ if (typeof partRule === 'string') {
2513
+ css += partRule;
2514
+ if (process.env.NODE_ENV !== 'production') dynamicHash = phash(dynamicHash, partRule + i);
2515
+ } else {
2516
+ var partChunk = flatten(partRule, executionContext, styleSheet);
2517
+ var partString = Array.isArray(partChunk) ? partChunk.join('') : partChunk;
2518
+ dynamicHash = phash(dynamicHash, partString + i);
2519
+ css += partString;
2520
+ }
2521
+ }
2522
+
2523
+ var _name = generateAlphabeticName(dynamicHash >>> 0);
2524
+
2525
+ if (!styleSheet.hasNameForId(componentId, _name)) {
2526
+ var cssFormatted = stylis(css, "." + _name, undefined, componentId);
2527
+ styleSheet.insertRules(componentId, _name, cssFormatted);
2528
+ }
2529
+
2530
+ return _name;
2531
+ }
2532
+ };
2533
+
2534
+ return ComponentStyle;
2535
+ }();
2536
+
2537
+ //
2538
+ var LIMIT = 200;
2539
+ var createWarnTooManyClasses = (function (displayName, componentId) {
2540
+ var generatedClasses = {};
2541
+ var warningSeen = false;
2542
+ return function (className) {
2543
+ if (!warningSeen) {
2544
+ generatedClasses[className] = true;
2545
+
2546
+ if (Object.keys(generatedClasses).length >= LIMIT) {
2547
+ // Unable to find latestRule in test environment.
2548
+
2549
+ /* eslint-disable no-console, prefer-template */
2550
+ var parsedIdString = componentId ? " with the id of \"" + componentId + "\"" : '';
2551
+ console.warn("Over " + LIMIT + " classes were generated for component " + displayName + parsedIdString + ".\n" + 'Consider using the attrs method, together with a style object for frequently changed styles.\n' + 'Example:\n' + ' const Component = styled.div.attrs(props => ({\n' + ' style: {\n' + ' background: props.background,\n' + ' },\n' + ' }))`width: 100%;`\n\n' + ' <Component />');
2552
+ warningSeen = true;
2553
+ generatedClasses = {};
2554
+ }
2555
+ }
2556
+ };
2557
+ });
2558
+
2559
+ //
2560
+ var invalidHookCallRe = /invalid hook call/i;
2561
+ var seen = new Set();
2562
+ var checkDynamicCreation = function checkDynamicCreation(displayName, componentId) {
2563
+ if (process.env.NODE_ENV !== 'production') {
2564
+ var parsedIdString = componentId ? " with the id of \"" + componentId + "\"" : '';
2565
+ var message = "The component " + displayName + parsedIdString + " has been created dynamically.\n" + 'You may see this warning because you\'ve called styled inside another component.\n' + 'To resolve this only create new StyledComponents outside of any render method and function component.';
2566
+
2567
+ try {
2568
+ // We purposefully call `useRef` outside of a component and expect it to throw
2569
+ // If it doesn't, then we're inside another component.
2570
+ // eslint-disable-next-line react-hooks/rules-of-hooks
2571
+ React.useRef();
2572
+
2573
+ if (!seen.has(message)) {
2574
+ // eslint-disable-next-line no-console
2575
+ console.warn(message);
2576
+ seen.add(message);
2577
+ }
2578
+ } catch (error) {
2579
+ // The error here is expected, since we're expecting anything that uses `checkDynamicCreation` to
2580
+ // be called outside of a React component.
2581
+ if (invalidHookCallRe.test(error.message)) {
2582
+ // This shouldn't happen, but resets `warningSeen` if we had this error happen intermittently
2583
+ seen["delete"](message);
2584
+ }
2585
+ }
2586
+ }
2587
+ };
2588
+
2589
+ //
2590
+ var determineTheme = (function (props, providedTheme, defaultProps) {
2591
+ if (defaultProps === void 0) {
2592
+ defaultProps = EMPTY_OBJECT;
2593
+ }
2594
+
2595
+ return props.theme !== defaultProps.theme && props.theme || providedTheme || defaultProps.theme;
2596
+ });
2597
+
2598
+ //
2599
+ // Source: https://www.w3.org/TR/cssom-1/#serialize-an-identifier
2600
+ // Control characters and non-letter first symbols are not supported
2601
+ var escapeRegex = /[!"#$%&'()*+,./:;<=>?@[\\\]^`{|}~-]+/g;
2602
+ var dashesAtEnds = /(^-|-$)/g;
2603
+ /**
2604
+ * TODO: Explore using CSS.escape when it becomes more available
2605
+ * in evergreen browsers.
2606
+ */
2607
+
2608
+ function escape(str) {
2609
+ return str // Replace all possible CSS selectors
2610
+ .replace(escapeRegex, '-') // Remove extraneous hyphens at the start and end
2611
+ .replace(dashesAtEnds, '');
2612
+ }
2613
+
2614
+ //
2615
+ function isTag(target) {
2616
+ return typeof target === 'string' && (process.env.NODE_ENV !== 'production' ? target.charAt(0) === target.charAt(0).toLowerCase() : true);
2617
+ }
2618
+
2619
+ //
2620
+ function generateDisplayName(target) {
2621
+ // $FlowFixMe
2622
+ return isTag(target) ? "styled." + target : "Styled(" + getComponentName(target) + ")";
2623
+ }
2624
+
2625
+ //
2626
+ var generateComponentId = (function (str) {
2627
+ return generateAlphabeticName(hash(str) >>> 0);
2628
+ });
2629
+
2630
+ /**
2631
+ * Convenience function for joining strings to form className chains
2632
+ */
2633
+ function joinStrings(a, b) {
2634
+ return a && b ? a + " " + b : a || b;
2635
+ }
2636
+
2637
+ var ThemeContext = React__default.createContext();
2638
+ var ThemeConsumer = ThemeContext.Consumer;
2639
+
2640
+ function mergeTheme(theme, outerTheme) {
2641
+ if (!theme) {
2642
+ return throwStyledComponentsError(14);
2643
+ }
2644
+
2645
+ if (isFunction(theme)) {
2646
+ var mergedTheme = theme(outerTheme);
2647
+
2648
+ if (process.env.NODE_ENV !== 'production' && (mergedTheme === null || Array.isArray(mergedTheme) || typeof mergedTheme !== 'object')) {
2649
+ return throwStyledComponentsError(7);
2650
+ }
2651
+
2652
+ return mergedTheme;
2653
+ }
2654
+
2655
+ if (Array.isArray(theme) || typeof theme !== 'object') {
2656
+ return throwStyledComponentsError(8);
2657
+ }
2658
+
2659
+ return outerTheme ? _extends$1({}, outerTheme, {}, theme) : theme;
2660
+ }
2661
+ /**
2662
+ * Provide a theme to an entire react component tree via context
2663
+ */
2664
+
2665
+
2666
+ function ThemeProvider(props) {
2667
+ var outerTheme = React.useContext(ThemeContext);
2668
+ var themeContext = React.useMemo(function () {
2669
+ return mergeTheme(props.theme, outerTheme);
2670
+ }, [props.theme, outerTheme]);
2671
+
2672
+ if (!props.children) {
2673
+ return null;
2674
+ }
2675
+
2676
+ return /*#__PURE__*/React__default.createElement(ThemeContext.Provider, {
2677
+ value: themeContext
2678
+ }, props.children);
2679
+ }
2680
+
2681
+ /* global $Call */
2682
+
2683
+ var identifiers = {};
2684
+ /* We depend on components having unique IDs */
2685
+
2686
+ function generateId(displayName, parentComponentId) {
2687
+ var name = typeof displayName !== 'string' ? 'sc' : escape(displayName); // Ensure that no displayName can lead to duplicate componentIds
2688
+
2689
+ identifiers[name] = (identifiers[name] || 0) + 1;
2690
+ var componentId = name + "-" + generateComponentId(name + identifiers[name]);
2691
+ return parentComponentId ? parentComponentId + "-" + componentId : componentId;
2692
+ }
2693
+
2694
+ function useResolvedAttrs(theme, props, attrs) {
2695
+ if (theme === void 0) {
2696
+ theme = EMPTY_OBJECT;
2697
+ }
2698
+
2699
+ // NOTE: can't memoize this
2700
+ // returns [context, resolvedAttrs]
2701
+ // where resolvedAttrs is only the things injected by the attrs themselves
2702
+ var context = _extends$1({}, props, {
2703
+ theme: theme
2704
+ });
2705
+
2706
+ var resolvedAttrs = {};
2707
+ attrs.forEach(function (attrDef) {
2708
+ var resolvedAttrDef = attrDef;
2709
+ var key;
2710
+
2711
+ if (isFunction(resolvedAttrDef)) {
2712
+ resolvedAttrDef = resolvedAttrDef(context);
2713
+ }
2714
+ /* eslint-disable guard-for-in */
2715
+
2716
+
2717
+ for (key in resolvedAttrDef) {
2718
+ context[key] = resolvedAttrs[key] = key === 'className' ? joinStrings(resolvedAttrs[key], resolvedAttrDef[key]) : resolvedAttrDef[key];
2719
+ }
2720
+ /* eslint-enable guard-for-in */
2721
+
2722
+ });
2723
+ return [context, resolvedAttrs];
2724
+ }
2725
+
2726
+ function useInjectedStyle(componentStyle, hasAttrs, resolvedAttrs, warnTooManyClasses) {
2727
+ var styleSheet = useStyleSheet();
2728
+ var stylis = useStylis(); // statically styled-components don't need to build an execution context object,
2729
+ // and shouldn't be increasing the number of class names
2730
+
2731
+ var isStatic = componentStyle.isStatic && !hasAttrs;
2732
+ var className = isStatic ? componentStyle.generateAndInjectStyles(EMPTY_OBJECT, styleSheet, stylis) : componentStyle.generateAndInjectStyles(resolvedAttrs, styleSheet, stylis);
2733
+ React.useDebugValue(className);
2734
+
2735
+ if (process.env.NODE_ENV !== 'production' && !isStatic && warnTooManyClasses) {
2736
+ warnTooManyClasses(className);
2737
+ }
2738
+
2739
+ return className;
2740
+ }
2741
+
2742
+ function useStyledComponentImpl(forwardedComponent, props, forwardedRef) {
2743
+ var componentAttrs = forwardedComponent.attrs,
2744
+ componentStyle = forwardedComponent.componentStyle,
2745
+ defaultProps = forwardedComponent.defaultProps,
2746
+ foldedComponentIds = forwardedComponent.foldedComponentIds,
2747
+ shouldForwardProp = forwardedComponent.shouldForwardProp,
2748
+ styledComponentId = forwardedComponent.styledComponentId,
2749
+ target = forwardedComponent.target;
2750
+ React.useDebugValue(styledComponentId); // NOTE: the non-hooks version only subscribes to this when !componentStyle.isStatic,
2751
+ // but that'd be against the rules-of-hooks. We could be naughty and do it anyway as it
2752
+ // should be an immutable value, but behave for now.
2753
+
2754
+ var theme = determineTheme(props, React.useContext(ThemeContext), defaultProps);
2755
+
2756
+ var _useResolvedAttrs = useResolvedAttrs(theme || EMPTY_OBJECT, props, componentAttrs),
2757
+ context = _useResolvedAttrs[0],
2758
+ attrs = _useResolvedAttrs[1];
2759
+
2760
+ var generatedClassName = useInjectedStyle(componentStyle, componentAttrs.length > 0, context, process.env.NODE_ENV !== 'production' ? forwardedComponent.warnTooManyClasses : undefined);
2761
+ var refToForward = forwardedRef;
2762
+ var elementToBeCreated = attrs.$as || props.$as || attrs.as || props.as || target;
2763
+ var isTargetTag = isTag(elementToBeCreated);
2764
+ var computedProps = attrs !== props ? _extends$1({}, props, {}, attrs) : props;
2765
+ var propFilterFn = shouldForwardProp || isTargetTag && index;
2766
+ var propsForElement = {}; // eslint-disable-next-line guard-for-in
2767
+
2768
+ for (var key in computedProps) {
2769
+ if (key[0] === '$' || key === 'as') continue;else if (key === 'forwardedAs') {
2770
+ propsForElement.as = computedProps[key];
2771
+ } else if (!propFilterFn || propFilterFn(key, index)) {
2772
+ // Don't pass through non HTML tags through to HTML elements
2773
+ propsForElement[key] = computedProps[key];
2774
+ }
2775
+ }
2776
+
2777
+ if (props.style && attrs.style !== props.style) {
2778
+ propsForElement.style = _extends$1({}, props.style, {}, attrs.style);
2779
+ }
2780
+
2781
+ propsForElement.className = Array.prototype.concat(foldedComponentIds, styledComponentId, generatedClassName !== styledComponentId ? generatedClassName : null, props.className, attrs.className).filter(Boolean).join(' ');
2782
+ propsForElement.ref = refToForward;
2783
+ return React.createElement(elementToBeCreated, propsForElement);
2784
+ }
2785
+
2786
+ function createStyledComponent(target, options, rules) {
2787
+ var isTargetStyledComp = isStyledComponent(target);
2788
+ var isCompositeComponent = !isTag(target);
2789
+ var _options$displayName = options.displayName,
2790
+ displayName = _options$displayName === void 0 ? generateDisplayName(target) : _options$displayName,
2791
+ _options$componentId = options.componentId,
2792
+ componentId = _options$componentId === void 0 ? generateId(options.displayName, options.parentComponentId) : _options$componentId,
2793
+ _options$attrs = options.attrs,
2794
+ attrs = _options$attrs === void 0 ? EMPTY_ARRAY : _options$attrs;
2795
+ var styledComponentId = options.displayName && options.componentId ? escape(options.displayName) + "-" + options.componentId : options.componentId || componentId; // fold the underlying StyledComponent attrs up (implicit extend)
2796
+
2797
+ var finalAttrs = // $FlowFixMe
2798
+ isTargetStyledComp && target.attrs ? Array.prototype.concat(target.attrs, attrs).filter(Boolean) : attrs; // eslint-disable-next-line prefer-destructuring
2799
+
2800
+ var shouldForwardProp = options.shouldForwardProp; // $FlowFixMe
2801
+
2802
+ if (isTargetStyledComp && target.shouldForwardProp) {
2803
+ if (shouldForwardProp) {
2804
+ // compose nested shouldForwardProp calls
2805
+ shouldForwardProp = function shouldForwardProp(prop, filterFn) {
2806
+ return (// $FlowFixMe
2807
+ target.shouldForwardProp(prop, filterFn) && options.shouldForwardProp(prop, filterFn)
2808
+ );
2809
+ };
2810
+ } else {
2811
+ // eslint-disable-next-line prefer-destructuring
2812
+ shouldForwardProp = target.shouldForwardProp;
2813
+ }
2814
+ }
2815
+
2816
+ var componentStyle = new ComponentStyle(isTargetStyledComp ? // fold the underlying StyledComponent rules up (implicit extend)
2817
+ // $FlowFixMe
2818
+ target.componentStyle.rules.concat(rules) : rules, styledComponentId);
2819
+ /**
2820
+ * forwardRef creates a new interim component, which we'll take advantage of
2821
+ * instead of extending ParentComponent to create _another_ interim class
2822
+ */
2823
+
2824
+ var WrappedStyledComponent; // eslint-disable-next-line react-hooks/rules-of-hooks
2825
+
2826
+ var forwardRef = function forwardRef(props, ref) {
2827
+ return useStyledComponentImpl(WrappedStyledComponent, props, ref);
2828
+ };
2829
+
2830
+ forwardRef.displayName = displayName; // $FlowFixMe this is a forced cast to merge it StyledComponentWrapperProperties
2831
+
2832
+ WrappedStyledComponent = React__default.forwardRef(forwardRef);
2833
+ WrappedStyledComponent.attrs = finalAttrs;
2834
+ WrappedStyledComponent.componentStyle = componentStyle;
2835
+ WrappedStyledComponent.displayName = displayName;
2836
+ WrappedStyledComponent.shouldForwardProp = shouldForwardProp; // this static is used to preserve the cascade of static classes for component selector
2837
+ // purposes; this is especially important with usage of the css prop
2838
+
2839
+ WrappedStyledComponent.foldedComponentIds = isTargetStyledComp ? // $FlowFixMe
2840
+ Array.prototype.concat(target.foldedComponentIds, target.styledComponentId) : EMPTY_ARRAY;
2841
+ WrappedStyledComponent.styledComponentId = styledComponentId; // fold the underlying StyledComponent target up since we folded the styles
2842
+
2843
+ WrappedStyledComponent.target = isTargetStyledComp ? // $FlowFixMe
2844
+ target.target : target; // $FlowFixMe
2845
+
2846
+ WrappedStyledComponent.withComponent = function withComponent(tag) {
2847
+ var previousComponentId = options.componentId,
2848
+ optionsToCopy = _objectWithoutPropertiesLoose$1(options, ["componentId"]);
2849
+
2850
+ var newComponentId = previousComponentId && previousComponentId + "-" + (isTag(tag) ? tag : escape(getComponentName(tag)));
2851
+
2852
+ var newOptions = _extends$1({}, optionsToCopy, {
2853
+ attrs: finalAttrs,
2854
+ componentId: newComponentId
2855
+ });
2856
+
2857
+ return createStyledComponent(tag, newOptions, rules);
2858
+ }; // $FlowFixMe
2859
+
2860
+
2861
+ Object.defineProperty(WrappedStyledComponent, 'defaultProps', {
2862
+ get: function get() {
2863
+ return this._foldedDefaultProps;
2864
+ },
2865
+ set: function set(obj) {
2866
+ // $FlowFixMe
2867
+ this._foldedDefaultProps = isTargetStyledComp ? mixinDeep({}, target.defaultProps, obj) : obj;
2868
+ }
2869
+ });
2870
+
2871
+ if (process.env.NODE_ENV !== 'production') {
2872
+ checkDynamicCreation(displayName, styledComponentId);
2873
+ WrappedStyledComponent.warnTooManyClasses = createWarnTooManyClasses(displayName, styledComponentId);
2874
+ } // $FlowFixMe
2875
+
2876
+
2877
+ WrappedStyledComponent.toString = function () {
2878
+ return "." + WrappedStyledComponent.styledComponentId;
2879
+ };
2880
+
2881
+ if (isCompositeComponent) {
2882
+ hoistNonReactStatics_cjs(WrappedStyledComponent, target, {
2883
+ // all SC-specific things should not be hoisted
2884
+ attrs: true,
2885
+ componentStyle: true,
2886
+ displayName: true,
2887
+ foldedComponentIds: true,
2888
+ shouldForwardProp: true,
2889
+ self: true,
2890
+ styledComponentId: true,
2891
+ target: true,
2892
+ withComponent: true
2893
+ });
2894
+ }
2895
+
2896
+ return WrappedStyledComponent;
2897
+ }
2898
+
2899
+ //
2900
+ // Thanks to ReactDOMFactories for this handy list!
2901
+ var domElements = ['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', // SVG
2902
+ 'circle', 'clipPath', 'defs', 'ellipse', 'foreignObject', 'g', 'image', 'line', 'linearGradient', 'marker', 'mask', 'path', 'pattern', 'polygon', 'polyline', 'radialGradient', 'rect', 'stop', 'svg', 'text', 'tspan'];
2903
+
2904
+ //
2905
+
2906
+ var styled = function styled(tag) {
2907
+ return constructWithOptions(createStyledComponent, tag);
2908
+ }; // Shorthands for all valid HTML Elements
2909
+
2910
+
2911
+ domElements.forEach(function (domElement) {
2912
+ styled[domElement] = styled(domElement);
2913
+ });
2914
+ /* Warning if you've imported this file on React Native */
2915
+
2916
+ if (process.env.NODE_ENV !== 'production' && typeof navigator !== 'undefined' && navigator.product === 'ReactNative') {
2917
+ // eslint-disable-next-line no-console
2918
+ console.warn("It looks like you've imported 'styled-components' on React Native.\n" + "Perhaps you're looking to import 'styled-components/native'?\n" + 'Read more about this at https://www.styled-components.com/docs/basics#react-native');
2919
+ }
2920
+ /* Warning if there are several instances of styled-components */
2921
+
2922
+
2923
+ if (process.env.NODE_ENV !== 'production' && process.env.NODE_ENV !== 'test' && typeof window !== 'undefined') {
2924
+ window['__styled-components-init__'] = window['__styled-components-init__'] || 0;
2925
+
2926
+ if (window['__styled-components-init__'] === 1) {
2927
+ // eslint-disable-next-line no-console
2928
+ console.warn("It looks like there are several instances of 'styled-components' initialized in this application. " + 'This may cause dynamic styles not rendering properly, errors happening during rehydration process, ' + 'missing theme prop, and makes your application bigger without a good reason.\n\n' + 'See https://s-c.sh/2BAXzed for more info.');
2929
+ }
2930
+
2931
+ window['__styled-components-init__'] += 1;
2932
+ }
2933
+
225
2934
  /*! *****************************************************************************
226
2935
  Copyright (c) Microsoft Corporation.
227
2936
 
@@ -707,17 +3416,17 @@ var FLOAT_32_SUPPORTED = typeof Float32Array !== 'undefined';
707
3416
  var a = function (a1, a2) {
708
3417
  return 1.0 - 3.0 * a2 + 3.0 * a1;
709
3418
  };
710
- var b = function (a1, a2) {
3419
+ var b$1 = function (a1, a2) {
711
3420
  return 3.0 * a2 - 6.0 * a1;
712
3421
  };
713
- var c = function (a1) {
3422
+ var c$1 = function (a1) {
714
3423
  return 3.0 * a1;
715
3424
  };
716
3425
  var getSlope = function (t, a1, a2) {
717
- return 3.0 * a(a1, a2) * t * t + 2.0 * b(a1, a2) * t + c(a1);
3426
+ return 3.0 * a(a1, a2) * t * t + 2.0 * b$1(a1, a2) * t + c$1(a1);
718
3427
  };
719
3428
  var calcBezier = function (t, a1, a2) {
720
- return ((a(a1, a2) * t + b(a1, a2)) * t + c(a1)) * t;
3429
+ return ((a(a1, a2) * t + b$1(a1, a2)) * t + c$1(a1)) * t;
721
3430
  };
722
3431
  function cubicBezier(mX1, mY1, mX2, mY2) {
723
3432
  var sampleValues = FLOAT_32_SUPPORTED ? new Float32Array(K_SPLINE_TABLE_SIZE) : new Array(K_SPLINE_TABLE_SIZE);
@@ -1728,7 +4437,7 @@ var createDOMStyler = function (node, props) {
1728
4437
  var getStyler = function (node, props) {
1729
4438
  return cache.has(node) ? cache.get(node) : createDOMStyler(node, props);
1730
4439
  };
1731
- function index(nodeOrSelector, props) {
4440
+ function index$1(nodeOrSelector, props) {
1732
4441
  var node = typeof nodeOrSelector === 'string' ? document.querySelector(nodeOrSelector) : nodeOrSelector;
1733
4442
  return getStyler(node, props);
1734
4443
  }
@@ -2790,7 +5499,7 @@ var pointer = function (props) {
2790
5499
  return touches;
2791
5500
  }, getFirstTouch) : mouse(props);
2792
5501
  };
2793
- var index$1 = function (_a) {
5502
+ var index$1$1 = function (_a) {
2794
5503
  if (_a === void 0) {
2795
5504
  _a = {};
2796
5505
  }
@@ -3421,7 +6130,7 @@ var interpolate$1 = transformers.interpolate;
3421
6130
  var singleAxisPointer = function (axis) {
3422
6131
  return function (from) {
3423
6132
  var _a;
3424
- return index$1((_a = {}, _a[axis] = typeof from === 'string' ? parseFloat(from) : from, _a)).pipe(function (v) {
6133
+ return index$1$1((_a = {}, _a[axis] = typeof from === 'string' ? parseFloat(from) : from, _a)).pipe(function (v) {
3425
6134
  return v[axis];
3426
6135
  });
3427
6136
  };
@@ -4049,7 +6758,7 @@ var createPoseConfig = function (element, _a) {
4049
6758
  hoverable: hoverable,
4050
6759
  focusable: focusable,
4051
6760
  pressable: pressable,
4052
- element: element, elementStyler: index(element, { preparseOutput: false }), dimensions: createDimensions(element) }) });
6761
+ element: element, elementStyler: index$1(element, { preparseOutput: false }), dimensions: createDimensions(element) }) });
4053
6762
  if (draggable) {
4054
6763
  var _b = dragPoses(draggable),
4055
6764
  drag = _b.drag,
@@ -4119,7 +6828,7 @@ var domPose$1 = function (element, config) {
4119
6828
  return domPose(createPoseConfig(element, config));
4120
6829
  };
4121
6830
 
4122
- function memoize(fn) {
6831
+ function memoize$1(fn) {
4123
6832
  var cache = {};
4124
6833
  return function (arg) {
4125
6834
  if (cache[arg] === undefined) cache[arg] = fn(arg);
@@ -4127,10 +6836,10 @@ function memoize(fn) {
4127
6836
  };
4128
6837
  }
4129
6838
 
4130
- var reactPropsRegex = /^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|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|default|defer|dir|disabled|download|draggable|encType|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|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|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|itemProp|itemScope|itemType|itemID|itemRef|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
6839
+ var reactPropsRegex$1 = /^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|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|default|defer|dir|disabled|download|draggable|encType|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|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|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|itemProp|itemScope|itemType|itemID|itemRef|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
4131
6840
 
4132
- var index$2 = memoize(function (prop) {
4133
- return reactPropsRegex.test(prop) || prop.charCodeAt(0) === 111
6841
+ var index$2 = memoize$1(function (prop) {
6842
+ return reactPropsRegex$1.test(prop) || prop.charCodeAt(0) === 111
4134
6843
  /* o */
4135
6844
  && prop.charCodeAt(1) === 110
4136
6845
  /* n */
@@ -4752,7 +7461,7 @@ var themeComponent = function themeComponent(component, componentThemeId, fallba
4752
7461
  variant = _ref7$variant === void 0 ? defaultVariant : _ref7$variant,
4753
7462
  props = _objectWithoutProperties(_ref7, _excluded);
4754
7463
 
4755
- var themeContext = React.useContext(styled.ThemeContext);
7464
+ var themeContext = React.useContext(ThemeContext);
4756
7465
  var metadata = (_themeContext$metadat = themeContext === null || themeContext === void 0 ? void 0 : themeContext.metadata) !== null && _themeContext$metadat !== void 0 ? _themeContext$metadat : {};
4757
7466
  var themeValues = themeContext ? createThemeValues(themeContext, fallbackValues, componentThemeId, variant) : fallbackValues;
4758
7467
  return component(_objectSpread2(_objectSpread2({}, props), {}, {
@@ -5002,7 +7711,7 @@ var colors = /*#__PURE__*/Object.freeze({
5002
7711
  ERROR_COLOR: ERROR_COLOR
5003
7712
  });
5004
7713
 
5005
- var TextSpan = styled__default.span.withConfig({
7714
+ var TextSpan = styled.span.withConfig({
5006
7715
  displayName: "Textstyled__TextSpan",
5007
7716
  componentId: "sc-1oy97we-0"
5008
7717
  })(["--font-size:", ";font-size:var(--font-size);line-height:calc(1.5 * var(--font-size));font-weight:", ";font-family:", ";color:", ";white-space:", ";&:hover{", "}&:focus{outline:3px solid ", ";outline-offset:2px;}", " ", ""], function (_ref) {
@@ -5022,22 +7731,16 @@ var TextSpan = styled__default.span.withConfig({
5022
7731
  return $textWrap ? "initial" : "nowrap";
5023
7732
  }, function (_ref6) {
5024
7733
  var hoverStyles = _ref6.hoverStyles;
5025
- return styled.css(["", ""], hoverStyles);
7734
+ return css(["", ""], hoverStyles);
5026
7735
  }, ROYAL_BLUE, function (_ref7) {
5027
7736
  var disabled = _ref7.disabled,
5028
7737
  disabledStyles = _ref7.disabledStyles;
5029
- return disabled && styled.css(["", ""], disabledStyles);
7738
+ return disabled && css(["", ""], disabledStyles);
5030
7739
  }, function (_ref8) {
5031
7740
  var extraStyles = _ref8.extraStyles;
5032
7741
  return extraStyles;
5033
7742
  });
5034
7743
 
5035
- var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};
5036
-
5037
- function createCommonjsModule(fn, module) {
5038
- return module = { exports: {} }, fn(module, module.exports), module.exports;
5039
- }
5040
-
5041
7744
  var numeral = createCommonjsModule(function (module) {
5042
7745
  /*! @preserve
5043
7746
  * numeral.js
@@ -6208,7 +8911,7 @@ var _excluded$2 = ["activeStyles", "hoverStyles", "disabledStyles", "extraStyles
6208
8911
 
6209
8912
  /* eslint-disable no-unused-vars */
6210
8913
 
6211
- var BoxWrapper = styled__default(function (_ref) {
8914
+ var BoxWrapper = styled(function (_ref) {
6212
8915
  var activeStyles = _ref.activeStyles,
6213
8916
  hoverStyles = _ref.hoverStyles,
6214
8917
  disabledStyles = _ref.disabledStyles,
@@ -6276,27 +8979,27 @@ var BoxWrapper = styled__default(function (_ref) {
6276
8979
  }, function (_ref14) {
6277
8980
  var hoverStyles = _ref14.hoverStyles,
6278
8981
  as = _ref14.as;
6279
- return styled.css(["", " ", ""], hoverStyles, as === "button" ? "> * > span {\n ".concat(hoverStyles, "\n border: none;\n outline: none;\n box-shadow: none;\n }") : "");
8982
+ return css(["", " ", ""], hoverStyles, as === "button" ? "> * > span {\n ".concat(hoverStyles, "\n border: none;\n outline: none;\n box-shadow: none;\n }") : "");
6280
8983
  }, function (_ref15) {
6281
8984
  var as = _ref15.as;
6282
- return styled.css(["outline:3px solid ", ";outline-offset:2px;", ""], ROYAL_BLUE, as === "button" && "\n > * > span {\n border: none;\n outline: none;\n box-shadow: none;\n }");
8985
+ return css(["outline:3px solid ", ";outline-offset:2px;", ""], ROYAL_BLUE, as === "button" && "\n > * > span {\n border: none;\n outline: none;\n box-shadow: none;\n }");
6283
8986
  }, function (_ref16) {
6284
8987
  var activeStyles = _ref16.activeStyles,
6285
8988
  as = _ref16.as;
6286
- return styled.css(["", " ", ""], activeStyles, as === "button" ? " > * > span {\n ".concat(activeStyles, "\n border: none;\n outline: none;\n box-shadow: none;\n }") : "");
8989
+ return css(["", " ", ""], activeStyles, as === "button" ? " > * > span {\n ".concat(activeStyles, "\n border: none;\n outline: none;\n box-shadow: none;\n }") : "");
6287
8990
  }, function (_ref17) {
6288
8991
  var disabledStyles = _ref17.disabledStyles,
6289
8992
  as = _ref17.as;
6290
- return styled.css(["", " ", ""], disabledStyles, as === "button" ? " > * > span {\n ".concat(disabledStyles, "\n border: none;\n outline: none;\n box-shadow: none;\n }") : "");
8993
+ return css(["", " ", ""], disabledStyles, as === "button" ? " > * > span {\n ".concat(disabledStyles, "\n border: none;\n outline: none;\n box-shadow: none;\n }") : "");
6291
8994
  }, function (_ref18) {
6292
8995
  var color = _ref18.color;
6293
8996
  return color;
6294
8997
  }, function (_ref19) {
6295
8998
  var hiddenStyles = _ref19.hiddenStyles;
6296
- return hiddenStyles && styled.css(["display:none;"]);
8999
+ return hiddenStyles && css(["display:none;"]);
6297
9000
  }, function (_ref20) {
6298
9001
  var extraStyles = _ref20.extraStyles;
6299
- return styled.css(["", ""], extraStyles);
9002
+ return css(["", ""], extraStyles);
6300
9003
  });
6301
9004
  /* eslint-enable no-unused-vars */
6302
9005
 
@@ -6383,7 +9086,7 @@ var Box = function Box(_ref) {
6383
9086
  }, rest), safeChildren(children, /*#__PURE__*/React__default.createElement(React.Fragment, null)));
6384
9087
  };
6385
9088
 
6386
- var CenterWrapper = styled__default.div.withConfig({
9089
+ var CenterWrapper = styled.div.withConfig({
6387
9090
  displayName: "Centerstyled__CenterWrapper",
6388
9091
  componentId: "sc-vawqfc-0"
6389
9092
  })(["box-sizing:content-box;margin-left:auto;margin-right:auto;max-width:", ";padding-left:", ";padding-right:", ";", ";"], function (_ref) {
@@ -6425,7 +9128,7 @@ var Center = function Center(_ref) {
6425
9128
  var _excluded$5 = ["overflow"];
6426
9129
  /* eslint-disable no-unused-vars */
6427
9130
 
6428
- var ClusterWrapper = styled__default(function (_ref) {
9131
+ var ClusterWrapper = styled(function (_ref) {
6429
9132
  var overflow = _ref.overflow,
6430
9133
  props = _objectWithoutProperties(_ref, _excluded$5);
6431
9134
 
@@ -6449,7 +9152,7 @@ var ClusterWrapper = styled__default(function (_ref) {
6449
9152
  var $extraStyles = _ref6.$extraStyles;
6450
9153
  return $extraStyles;
6451
9154
  });
6452
- var ClusterInnerWrapper = styled__default.div.withConfig({
9155
+ var ClusterInnerWrapper = styled.div.withConfig({
6453
9156
  displayName: "Clusterstyled__ClusterInnerWrapper",
6454
9157
  componentId: "sc-1dkqsm7-1"
6455
9158
  })(["box-sizing:border-box;display:flex;flex-wrap:", ";justify-content:", ";align-items:", ";margin:calc(", " / 2 * -1);min-height:", ";min-width:", ";> *{margin:calc(", " / 2);}"], function (_ref7) {
@@ -6518,7 +9221,7 @@ var Cluster = function Cluster(_ref) {
6518
9221
  }, safeChildren(children, /*#__PURE__*/React__default.createElement(React.Fragment, null))));
6519
9222
  };
6520
9223
 
6521
- var GridWrapper = styled__default.div.withConfig({
9224
+ var GridWrapper = styled.div.withConfig({
6522
9225
  displayName: "Gridstyled__GridWrapper",
6523
9226
  componentId: "sc-8iakdj-0"
6524
9227
  })(["display:grid;grid-gap:", ";grid-template-columns:", ";@supports (width:min(", ",100%)){&{grid-template-columns:repeat( auto-fill,minmax( ", ",", " ) );}}"], function (_ref) {
@@ -6578,14 +9281,14 @@ var Grid = function Grid(_ref) {
6578
9281
  };
6579
9282
 
6580
9283
  var _excluded$8 = ["onRight", "childGap", "contentMinWidth", "minHeight", "fullHeight"];
6581
- var SidebarWrapper = styled__default.div.withConfig({
9284
+ var SidebarWrapper = styled.div.withConfig({
6582
9285
  displayName: "Sidebarstyled__SidebarWrapper",
6583
9286
  componentId: "sc-1bbn2or-0"
6584
9287
  })(["overflow:visible;box-sizing:border-box;", ""], function (_ref) {
6585
9288
  var fullHeight = _ref.fullHeight;
6586
9289
  return fullHeight ? "height: 100%;" : "";
6587
9290
  });
6588
- var SidebarInnerWrapper = styled__default( // eslint-disable-next-line no-unused-vars
9291
+ var SidebarInnerWrapper = styled( // eslint-disable-next-line no-unused-vars
6589
9292
  function (_ref2) {
6590
9293
  var onRight = _ref2.onRight,
6591
9294
  childGap = _ref2.childGap,
@@ -6661,7 +9364,7 @@ var Sidebar = function Sidebar(_ref) {
6661
9364
  }, safeChildren(children, /*#__PURE__*/React__default.createElement(React.Fragment, null))));
6662
9365
  };
6663
9366
 
6664
- var StackWrapper = styled__default.div.withConfig({
9367
+ var StackWrapper = styled.div.withConfig({
6665
9368
  displayName: "Stackstyled__StackWrapper",
6666
9369
  componentId: "sc-ejhezz-0"
6667
9370
  })(["box-sizing:border-box;display:flex;flex-direction:", ";justify-content:", ";height:", ";> *{margin-top:0;margin-bottom:0;}> * + *{", "}", ";"], function (_ref) {
@@ -6715,7 +9418,7 @@ var Stack = function Stack(_ref) {
6715
9418
  }, rest), safeChildren(children, /*#__PURE__*/React__default.createElement(React.Fragment, null)));
6716
9419
  };
6717
9420
 
6718
- var CoverOuterContainer = styled__default.div.withConfig({
9421
+ var CoverOuterContainer = styled.div.withConfig({
6719
9422
  displayName: "Coverstyled__CoverOuterContainer",
6720
9423
  componentId: "sc-1jhq379-0"
6721
9424
  })(["box-sizing:border-box;display:flex;flex-direction:column;min-height:", ";padding:", ";min-width:", ";> *{margin-top:", ";margin-bottom:", ";}>:first-child{margin-top:0;}", " ", " >:last-child{margin-bottom:0;}"], function (_ref) {
@@ -6782,7 +9485,7 @@ var Cover = function Cover(_ref) {
6782
9485
  }, rest), singleChild ? /*#__PURE__*/React__default.createElement("div", null) : /*#__PURE__*/React__default.createElement(React.Fragment, null), safeChildren(children, /*#__PURE__*/React__default.createElement(React.Fragment, null)), singleChild ? /*#__PURE__*/React__default.createElement("div", null) : /*#__PURE__*/React__default.createElement(React.Fragment, null));
6783
9486
  };
6784
9487
 
6785
- var FrameOuterContainer = styled__default.div.withConfig({
9488
+ var FrameOuterContainer = styled.div.withConfig({
6786
9489
  displayName: "Framestyled__FrameOuterContainer",
6787
9490
  componentId: "sc-1syfnuv-0"
6788
9491
  })(["box-sizing:border-box;padding-bottom:", ";position:relative;> *{overflow:hidden;position:absolute;top:0;right:0;bottom:0;left:0;display:flex;justify-content:center;align-items:center;}> img,> video{width:100%;height:100%;object-fit:cover;}"], function (_ref) {
@@ -6819,11 +9522,11 @@ var Frame = function Frame(_ref) {
6819
9522
  }, rest), safeChildren(children, /*#__PURE__*/React__default.createElement(React.Fragment, null)));
6820
9523
  };
6821
9524
 
6822
- var SwitcherOuterContainer = styled__default.div.withConfig({
9525
+ var SwitcherOuterContainer = styled.div.withConfig({
6823
9526
  displayName: "Switcherstyled__SwitcherOuterContainer",
6824
9527
  componentId: "sc-1ym61kc-0"
6825
9528
  })(["box-sizing:border-box;display:block;"]);
6826
- var SwitcherInnerContainer = styled__default.div.withConfig({
9529
+ var SwitcherInnerContainer = styled.div.withConfig({
6827
9530
  displayName: "Switcherstyled__SwitcherInnerContainer",
6828
9531
  componentId: "sc-1ym61kc-1"
6829
9532
  })(["box-sizing:border-box;display:flex;flex-wrap:wrap;overflow:hidden;padding:", ";margin:", ";", " > *{flex-grow:1;", ";", " ", "}", " ", " ", ""], function (_ref) {
@@ -6855,7 +9558,7 @@ var SwitcherInnerContainer = styled__default.div.withConfig({
6855
9558
  return maxChildren ? "> :nth-last-child(".concat(maxChildren + 1, "), > :nth-last-child(").concat(maxChildren + 1, ") ~ * {\n flex-basis: 100%;\n }") : "";
6856
9559
  }, function (_ref9) {
6857
9560
  var extraStyles = _ref9.extraStyles;
6858
- return styled.css(["", ""], extraStyles);
9561
+ return css(["", ""], extraStyles);
6859
9562
  });
6860
9563
 
6861
9564
  var _excluded$d = ["breakpoint", "childGap", "largeChild", "largeChildSize", "maxChildren", "maxChildrenOnly", "padding", "children", "extraStyles", "constrainMobile"];
@@ -6922,7 +9625,7 @@ var Switcher = function Switcher(_ref) {
6922
9625
  }, rest), safeChildren(children, /*#__PURE__*/React__default.createElement(React.Fragment, null))));
6923
9626
  };
6924
9627
 
6925
- var ImposterWrapper = styled__default.div.withConfig({
9628
+ var ImposterWrapper = styled.div.withConfig({
6926
9629
  displayName: "Imposterstyled__ImposterWrapper",
6927
9630
  componentId: "sc-1q0gj35-0"
6928
9631
  })(["position:", ";top:", ";left:", ";display:", ";", " ", " ", ";"], function (_ref) {
@@ -8204,7 +10907,7 @@ var MountComponent = function (_a) {
8204
10907
  var ref = _a.innerRef, values = _a.values, isStatic = _a.isStatic;
8205
10908
  React.useEffect(function () {
8206
10909
  invariant(ref.current instanceof Element, "No `ref` found. Ensure components created with `motion.custom` forward refs using `React.forwardRef`");
8207
- var domStyler = index(ref.current, {
10910
+ var domStyler = index$1(ref.current, {
8208
10911
  preparseOutput: false,
8209
10912
  enableHardwareAcceleration: !isStatic,
8210
10913
  });
@@ -10933,7 +13636,7 @@ var checkAndConvertChangedValueTypes = function (values, ref, target, transition
10933
13636
  target = __assign({}, target);
10934
13637
  transitionEnd = __assign({}, transitionEnd);
10935
13638
  var element = ref.current;
10936
- var elementStyler = index(element);
13639
+ var elementStyler = index$1(element);
10937
13640
  var targetPositionalKeys = Object.keys(target).filter(isPositionalKey$1);
10938
13641
  // We want to remove any transform values that could affect the element's bounding box before
10939
13642
  // it's measured. We'll reapply these later.
@@ -11254,7 +13957,7 @@ var LayoutAnimation = /** @class */ (function (_super) {
11254
13957
  transform && (element.style.transform = transform);
11255
13958
  return;
11256
13959
  }
11257
- index(element).set({
13960
+ index$1(element).set({
11258
13961
  originX: delta.originX,
11259
13962
  originY: delta.originY,
11260
13963
  });
@@ -11775,7 +14478,7 @@ function createDomMotionConfig(Component) {
11775
14478
  return {
11776
14479
  values: values,
11777
14480
  readValueFromSource: function (key) {
11778
- return index(ref.current).get(key);
14481
+ return index$1(ref.current).get(key);
11779
14482
  },
11780
14483
  // TODO: This is a good second source of plugins. This function contains the CSS variable
11781
14484
  // and unit conversion support. These functions share a common signature. We could make another
@@ -12065,7 +14768,7 @@ if (typeof window !== "undefined") {
12065
14768
  }
12066
14769
  }
12067
14770
 
12068
- var MotionWrapper = styled__default(motion.div).withConfig({
14771
+ var MotionWrapper = styled(motion.div).withConfig({
12069
14772
  displayName: "Motionstyled__MotionWrapper",
12070
14773
  componentId: "sc-1m6r1io-0"
12071
14774
  })(["position:", ";display:", ";box-sizing:border-box;padding:", ";border:", ";border-color:", ";border-size:", ";border-style:", ";border-width:", ";border-radius:", ";background-color:", ";box-shadow:", ";min-height:", ";min-width:", ";height:", ";width:", ";text-align:", ";margin:", ";&:hover,&:focus{", ";}&:active{", ";}&:disabled{", ";}", ";"], function (_ref) {
@@ -12183,7 +14886,7 @@ var Motion = function Motion(_ref) {
12183
14886
  }, rest), safeChildren(children, /*#__PURE__*/React__default.createElement(React.Fragment, null)));
12184
14887
  };
12185
14888
 
12186
- var ReelStyled = styled__default.div.withConfig({
14889
+ var ReelStyled = styled.div.withConfig({
12187
14890
  displayName: "Reelstyled__ReelStyled",
12188
14891
  componentId: "sc-bhf05j-0"
12189
14892
  })(["display:flex;overflow-x:", ";padding:", ";height:", ";justify-content:", ";> * + *{margin-left:", ";}> *{flex:0 0 ", ";}", ""], function (_ref) {
@@ -12471,11 +15174,11 @@ var rotate = posed.div({
12471
15174
  }
12472
15175
  }
12473
15176
  });
12474
- var SpinnerContainer = styled__default.div.withConfig({
15177
+ var SpinnerContainer = styled.div.withConfig({
12475
15178
  displayName: "Spinner__SpinnerContainer",
12476
15179
  componentId: "sc-jphte-0"
12477
15180
  })(["width:100%;display:flex;flex-direction:row;align-items:center;justify-content:center;"]);
12478
- var SpinnerIconWrapper = styled__default(rotate).withConfig({
15181
+ var SpinnerIconWrapper = styled(rotate).withConfig({
12479
15182
  displayName: "Spinner__SpinnerIconWrapper",
12480
15183
  componentId: "sc-jphte-1"
12481
15184
  })(["width:", "px;height:", "px;"], function (_ref) {
@@ -12537,11 +15240,11 @@ var rotate$1 = posed.div({
12537
15240
  }
12538
15241
  }
12539
15242
  });
12540
- var SpinnerContainer$1 = styled__default.div.withConfig({
15243
+ var SpinnerContainer$1 = styled.div.withConfig({
12541
15244
  displayName: "ButtonWithAction__SpinnerContainer",
12542
15245
  componentId: "sc-1ffs4ga-0"
12543
15246
  })(["width:100%;display:flex;flex-direction:row;align-items:center;justify-content:center;"]);
12544
- var SpinnerIconWrapper$1 = styled__default(rotate$1).withConfig({
15247
+ var SpinnerIconWrapper$1 = styled(rotate$1).withConfig({
12545
15248
  displayName: "ButtonWithAction__SpinnerIconWrapper",
12546
15249
  componentId: "sc-1ffs4ga-1"
12547
15250
  })([""]);
@@ -12593,7 +15296,7 @@ var ButtonWithAction = function ButtonWithAction(_ref2) {
12593
15296
  children = _ref2.children,
12594
15297
  rest = _objectWithoutProperties(_ref2, _excluded$h);
12595
15298
 
12596
- var themeContext = React.useContext(styled.ThemeContext);
15299
+ var themeContext = React.useContext(ThemeContext);
12597
15300
  var themeValues = createThemeValues(themeContext, fallbackValues$1, "Button", variant);
12598
15301
  var isMobile = themeContext.isMobile;
12599
15302
  var hoverStyles = "\n outline: none;\n background-color: ".concat(themeValues.hoverBackgroundColor, ";\n border-color: ").concat(themeValues.hoverBorderColor, ";\n color: ").concat(themeValues.hoverColor, ";\n text-decoration: ").concat(variant === "ghost" || variant === "smallGhost" ? "underline" : "none", ";\n cursor: pointer;\n ");
@@ -13568,11 +16271,11 @@ var GenericCard = function GenericCard() {
13568
16271
  })))));
13569
16272
  };
13570
16273
 
13571
- var BankItemWrapper = styled__default.div.withConfig({
16274
+ var BankItemWrapper = styled.div.withConfig({
13572
16275
  displayName: "PaymentIcon__BankItemWrapper",
13573
16276
  componentId: "sc-1k0jl35-0"
13574
16277
  })(["display:flex;justify-content:flex-start;align-items:center;"]);
13575
- var BankAccountText = styled__default.h4.withConfig({
16278
+ var BankAccountText = styled.h4.withConfig({
13576
16279
  displayName: "PaymentIcon__BankAccountText",
13577
16280
  componentId: "sc-1k0jl35-1"
13578
16281
  })(["color:", ";font-size:1rem;font-weight:400;line-height:1.5rem;text-align:left;margin-right:0.5rem;display:inline-block;"], CHARADE_GREY);
@@ -15868,7 +18571,7 @@ var Alert = function Alert(_ref) {
15868
18571
 
15869
18572
  var Alert$1 = themeComponent(Alert, "Alert", fallbackValues$4, "info");
15870
18573
 
15871
- var TitleText = styled__default.h1.withConfig({
18574
+ var TitleText = styled.h1.withConfig({
15872
18575
  displayName: "Titlestyled__TitleText",
15873
18576
  componentId: "sc-11lhluq-0"
15874
18577
  })(["font-size:", ";line-height:1.5;color:", ";font-weight:", ";margin:", ";text-align:", ";font-family:", ";", ";"], function (_ref) {
@@ -16009,8 +18712,8 @@ var AmountCallout = function AmountCallout(_ref) {
16009
18712
 
16010
18713
  var AmountCallout$1 = themeComponent(AmountCallout, "AmountCallout", fallbackValues$6);
16011
18714
 
16012
- function _extends$1() {
16013
- _extends$1 = Object.assign || function (target) {
18715
+ function _extends$2() {
18716
+ _extends$2 = Object.assign || function (target) {
16014
18717
  for (var i = 1; i < arguments.length; i++) {
16015
18718
  var source = arguments[i];
16016
18719
 
@@ -16024,7 +18727,7 @@ function _extends$1() {
16024
18727
  return target;
16025
18728
  };
16026
18729
 
16027
- return _extends$1.apply(this, arguments);
18730
+ return _extends$2.apply(this, arguments);
16028
18731
  }
16029
18732
 
16030
18733
  function _assertThisInitialized(self) {
@@ -16131,7 +18834,7 @@ function _wrapNativeSuper(Class) {
16131
18834
  * Parse errors.md and turn it into a simple hash of code: message
16132
18835
  * @private
16133
18836
  */
16134
- var ERRORS = {
18837
+ var ERRORS$1 = {
16135
18838
  "1": "Passed invalid arguments to hsl, please pass multiple numbers e.g. hsl(360, 0.75, 0.4) or an object e.g. rgb({ hue: 255, saturation: 0.4, lightness: 0.75 }).\n\n",
16136
18839
  "2": "Passed invalid arguments to hsla, please pass multiple numbers e.g. hsla(360, 0.75, 0.4, 0.7) or an object e.g. rgb({ hue: 255, saturation: 0.4, lightness: 0.75, alpha: 0.7 }).\n\n",
16137
18840
  "3": "Passed an incorrect argument to a color function, please pass a string representation of a color.\n\n",
@@ -16216,7 +18919,7 @@ var ERRORS = {
16216
18919
  * @private
16217
18920
  */
16218
18921
 
16219
- function format() {
18922
+ function format$1() {
16220
18923
  for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
16221
18924
  args[_key] = arguments[_key];
16222
18925
  }
@@ -16254,7 +18957,7 @@ var PolishedError = /*#__PURE__*/function (_Error) {
16254
18957
  args[_key2 - 1] = arguments[_key2];
16255
18958
  }
16256
18959
 
16257
- _this = _Error.call(this, format.apply(void 0, [ERRORS[code]].concat(args))) || this;
18960
+ _this = _Error.call(this, format$1.apply(void 0, [ERRORS$1[code]].concat(args))) || this;
16258
18961
  }
16259
18962
 
16260
18963
  return _assertThisInitialized(_this);
@@ -16758,13 +19461,13 @@ function mix$1(weight, color, otherColor) {
16758
19461
  if (weight === 0) return otherColor;
16759
19462
  var parsedColor1 = parseToRgb(color);
16760
19463
 
16761
- var color1 = _extends$1({}, parsedColor1, {
19464
+ var color1 = _extends$2({}, parsedColor1, {
16762
19465
  alpha: typeof parsedColor1.alpha === 'number' ? parsedColor1.alpha : 1
16763
19466
  });
16764
19467
 
16765
19468
  var parsedColor2 = parseToRgb(otherColor);
16766
19469
 
16767
- var color2 = _extends$1({}, parsedColor2, {
19470
+ var color2 = _extends$2({}, parsedColor2, {
16768
19471
  alpha: typeof parsedColor2.alpha === 'number' ? parsedColor2.alpha : 1
16769
19472
  }); // The formula is copied from the original Sass implementation:
16770
19473
  // http://sass-lang.com/documentation/Sass/Script/Functions.html#mix-instance_method
@@ -16900,7 +19603,7 @@ var _excluded$k = ["hoverColor", "activeColor", "extrastyles"];
16900
19603
 
16901
19604
  /* eslint-disable no-unused-vars */
16902
19605
 
16903
- var StyledExternalLink = styled__default(function (_ref) {
19606
+ var StyledExternalLink = styled(function (_ref) {
16904
19607
  var hoverColor = _ref.hoverColor,
16905
19608
  activeColor = _ref.activeColor,
16906
19609
  extrastyles = _ref.extrastyles,
@@ -16954,8 +19657,9 @@ var ExternalLink = function ExternalLink(_ref) {
16954
19657
  variant = _ref$variant === void 0 ? "primary" : _ref$variant,
16955
19658
  _ref$tabIndex = _ref.tabIndex,
16956
19659
  tabIndex = _ref$tabIndex === void 0 ? "0" : _ref$tabIndex,
19660
+ dataQa = _ref.dataQa,
16957
19661
  children = _ref.children;
16958
- var themeContext = React.useContext(styled.ThemeContext);
19662
+ var themeContext = React.useContext(ThemeContext);
16959
19663
  var themeValues = createThemeValues(themeContext, fallbackValues$9, "Link", variant);
16960
19664
  return /*#__PURE__*/React__default.createElement(StyledExternalLink, {
16961
19665
  href: href,
@@ -16969,7 +19673,8 @@ var ExternalLink = function ExternalLink(_ref) {
16969
19673
  fontFamily: themeValues.fontFamily,
16970
19674
  tabIndex: tabIndex,
16971
19675
  extrastyles: extraStyles,
16972
- rel: newTab ? "noopener" : ""
19676
+ rel: newTab ? "noopener" : "",
19677
+ "data-qa": dataQa
16973
19678
  }, safeChildren(children, /*#__PURE__*/React__default.createElement("span", null)));
16974
19679
  };
16975
19680
 
@@ -16981,7 +19686,7 @@ var _excluded$l = ["hoverColor", "activeColor", "active", "color", "extrastyles"
16981
19686
 
16982
19687
  /* eslint-disable no-unused-vars */
16983
19688
 
16984
- var StyledInternalLink = styled__default(function (_ref) {
19689
+ var StyledInternalLink = styled(function (_ref) {
16985
19690
  var hoverColor = _ref.hoverColor,
16986
19691
  activeColor = _ref.activeColor,
16987
19692
  active = _ref.active,
@@ -17039,9 +19744,10 @@ var InternalLink = function InternalLink(_ref) {
17039
19744
  margin = _ref.margin,
17040
19745
  _ref$tabIndex = _ref.tabIndex,
17041
19746
  tabIndex = _ref$tabIndex === void 0 ? "0" : _ref$tabIndex,
19747
+ dataQa = _ref.dataQa,
17042
19748
  _ref$extraStyles = _ref.extraStyles,
17043
19749
  extraStyles = _ref$extraStyles === void 0 ? "" : _ref$extraStyles;
17044
- var themeContext = React.useContext(styled.ThemeContext);
19750
+ var themeContext = React.useContext(ThemeContext);
17045
19751
  var themeValues = createThemeValues(themeContext, fallbackValues$9, "Link", variant);
17046
19752
  return /*#__PURE__*/React__default.createElement(StyledInternalLink, {
17047
19753
  to: to,
@@ -17055,14 +19761,15 @@ var InternalLink = function InternalLink(_ref) {
17055
19761
  hoverColor: themeValues.hoverColor,
17056
19762
  activeColor: themeValues.activeColor,
17057
19763
  tabIndex: tabIndex,
17058
- extrastyles: extraStyles
19764
+ extrastyles: extraStyles,
19765
+ "data-qa": dataQa
17059
19766
  }, safeChildren(children, /*#__PURE__*/React__default.createElement("span", null)));
17060
19767
  };
17061
19768
 
17062
19769
  var Breadcrumbs = function Breadcrumbs(_ref) {
17063
19770
  var _ref$breadcrumbsList = _ref.breadcrumbsList,
17064
19771
  breadcrumbsList = _ref$breadcrumbsList === void 0 ? [] : _ref$breadcrumbsList;
17065
- var themeContext = React.useContext(styled.ThemeContext);
19772
+ var themeContext = React.useContext(ThemeContext);
17066
19773
  var themeValues = createThemeValues(themeContext, fallbackValues$8, "Breadcrumb");
17067
19774
  return /*#__PURE__*/React__default.createElement(Box, {
17068
19775
  padding: "0",
@@ -18668,7 +21375,7 @@ _curry2(function test(pattern, str) {
18668
21375
 
18669
21376
  var URL_TEST = /(([a-z]{3,6}:\/\/)|(^|\s))([a-zA-Z0-9\-]+\.)+[a-z]{2,13}[\.\?\=\&\%\/\w\-]*\b([^@]|$)/;
18670
21377
 
18671
- var _excluded$m = ["url", "disabled", "fileLink", "extraStyles", "linkExtraStyles", "newTab"];
21378
+ var _excluded$m = ["url", "disabled", "fileLink", "extraStyles", "linkExtraStyles", "newTab", "dataQa"];
18672
21379
 
18673
21380
  var ButtonWithLink = function ButtonWithLink(_ref) {
18674
21381
  var _ref$url = _ref.url,
@@ -18681,6 +21388,7 @@ var ButtonWithLink = function ButtonWithLink(_ref) {
18681
21388
  linkExtraStyles = _ref.linkExtraStyles,
18682
21389
  _ref$newTab = _ref.newTab,
18683
21390
  newTab = _ref$newTab === void 0 ? false : _ref$newTab,
21391
+ dataQa = _ref.dataQa,
18684
21392
  otherProps = _objectWithoutProperties(_ref, _excluded$m);
18685
21393
 
18686
21394
  var ButtonWithLinkWrapper = function ButtonWithLinkWrapper(_ref2) {
@@ -18688,6 +21396,7 @@ var ButtonWithLink = function ButtonWithLink(_ref) {
18688
21396
  url = _ref2.url,
18689
21397
  disabled = _ref2.disabled,
18690
21398
  newTab = _ref2.newTab,
21399
+ dataQa = _ref2.dataQa,
18691
21400
  extraStyles = _ref2.extraStyles;
18692
21401
 
18693
21402
  if (disabled) {
@@ -18698,10 +21407,12 @@ var ButtonWithLink = function ButtonWithLink(_ref) {
18698
21407
  href: url,
18699
21408
  tabIndex: "-1",
18700
21409
  newTab: newTab,
18701
- extraStyles: extraStyles
21410
+ extraStyles: extraStyles,
21411
+ dataQa: dataQa
18702
21412
  }, safeChildren(children, /*#__PURE__*/React__default.createElement("span", null))) : /*#__PURE__*/React__default.createElement(InternalLink, {
18703
21413
  to: url,
18704
21414
  tabIndex: "-1",
21415
+ dataQa: dataQa,
18705
21416
  extraStyles: extraStyles
18706
21417
  }, safeChildren(children, /*#__PURE__*/React__default.createElement("span", null)));
18707
21418
  };
@@ -18710,7 +21421,8 @@ var ButtonWithLink = function ButtonWithLink(_ref) {
18710
21421
  url: url,
18711
21422
  disabled: disabled,
18712
21423
  newTab: newTab,
18713
- extraStyles: "".concat(linkExtraStyles, " text-decoration: none; &:hover {\n text-decoration: none; }")
21424
+ extraStyles: "".concat(linkExtraStyles, " text-decoration: none; &:hover {\n text-decoration: none; }"),
21425
+ dataQa: dataQa
18714
21426
  }, /*#__PURE__*/React__default.createElement(ButtonWithAction, _extends({}, otherProps, {
18715
21427
  extraStyles: extraStyles
18716
21428
  })));
@@ -18744,7 +21456,7 @@ var fallbackValues$a = {
18744
21456
  fontSize: fontSize$3
18745
21457
  };
18746
21458
 
18747
- var ParagraphText = styled__default.p.withConfig({
21459
+ var ParagraphText = styled.p.withConfig({
18748
21460
  displayName: "Paragraphstyled__ParagraphText",
18749
21461
  componentId: "sc-17g98kx-0"
18750
21462
  })(["--font-size:", ";font-size:var(--font-size);line-height:calc(1.5 * var(--font-size));font-weight:", ";font-family:", ";color:", ";margin:", ";", ""], function (_ref) {
@@ -18854,7 +21566,7 @@ var withWindowSize = function withWindowSize(Child) {
18854
21566
  window.removeEventListener("resize", onResize);
18855
21567
  };
18856
21568
  }, []);
18857
- return /*#__PURE__*/React__default.createElement(styled.ThemeProvider, {
21569
+ return /*#__PURE__*/React__default.createElement(ThemeProvider, {
18858
21570
  theme: state
18859
21571
  }, /*#__PURE__*/React__default.createElement(Child, props));
18860
21572
  };
@@ -18884,7 +21596,7 @@ var Card = function Card(_ref2) {
18884
21596
  _ref2$variant = _ref2.variant,
18885
21597
  variant = _ref2$variant === void 0 ? "vertical" : _ref2$variant;
18886
21598
 
18887
- var _useContext = React.useContext(styled.ThemeContext),
21599
+ var _useContext = React.useContext(ThemeContext),
18888
21600
  isMobile = _useContext.isMobile;
18889
21601
 
18890
21602
  var navigate = reactRouterDom.useNavigate();
@@ -19046,30 +21758,30 @@ var fallbackValues$c = {
19046
21758
  disabledCheckedStyles: disabledCheckedStyles
19047
21759
  };
19048
21760
 
19049
- var CheckboxContainer = styled__default.div.withConfig({
21761
+ var CheckboxContainer = styled.div.withConfig({
19050
21762
  displayName: "Checkbox__CheckboxContainer",
19051
21763
  componentId: "sc-36kqbv-0"
19052
21764
  })(["display:inline-block;vertical-align:middle;"]);
19053
- var CheckboxLabelContainer = styled__default.label.withConfig({
21765
+ var CheckboxLabelContainer = styled.label.withConfig({
19054
21766
  displayName: "Checkbox__CheckboxLabelContainer",
19055
21767
  componentId: "sc-36kqbv-1"
19056
21768
  })(["display:flex;align-items:center;"]);
19057
- var CheckboxIcon = styled__default.svg.withConfig({
21769
+ var CheckboxIcon = styled.svg.withConfig({
19058
21770
  displayName: "Checkbox__CheckboxIcon",
19059
21771
  componentId: "sc-36kqbv-2"
19060
21772
  })(["fill:none;stroke-width:2px;stroke:", ";"], function (_ref) {
19061
21773
  var disabled = _ref.disabled,
19062
21774
  disabledCheckColor = _ref.disabledCheckColor,
19063
21775
  checkColor = _ref.checkColor;
19064
- return disabled ? styled.css(["", ""], disabledCheckColor) : styled.css(["", ""], checkColor);
21776
+ return disabled ? css(["", ""], disabledCheckColor) : css(["", ""], checkColor);
19065
21777
  });
19066
- var HiddenCheckbox = styled__default.input.attrs({
21778
+ var HiddenCheckbox = styled.input.attrs({
19067
21779
  type: "checkbox"
19068
21780
  }).withConfig({
19069
21781
  displayName: "Checkbox__HiddenCheckbox",
19070
21782
  componentId: "sc-36kqbv-3"
19071
21783
  })(["border:0;clip:rect(0 0 0 0);clippath:inset(50%);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;white-space:nowrap;width:1px;"]);
19072
- var StyledCheckbox = styled__default.div.withConfig({
21784
+ var StyledCheckbox = styled.div.withConfig({
19073
21785
  displayName: "Checkbox__StyledCheckbox",
19074
21786
  componentId: "sc-36kqbv-4"
19075
21787
  })(["display:inline-block;margin-right:16px;width:24px;height:24px;border-radius:2px;transition:all 150ms;", "{visibility:", ";}", ";"], CheckboxIcon, function (_ref2) {
@@ -19086,7 +21798,7 @@ var StyledCheckbox = styled__default.div.withConfig({
19086
21798
  errorStyles = _ref3.errorStyles,
19087
21799
  disabledStyles = _ref3.disabledStyles,
19088
21800
  disabledCheckedStyles = _ref3.disabledCheckedStyles;
19089
- return error ? styled.css(["", " ", ""], errorStyles, focused && focusedStyles) : disabled ? styled.css(["", ""], checked ? disabledCheckedStyles : disabledStyles) : checked ? styled.css(["", " ", ""], checkedStyles, focused && focusedStyles) : styled.css(["", " ", ""], defaultStyles, focused && focusedStyles);
21801
+ return error ? css(["", " ", ""], errorStyles, focused && focusedStyles) : disabled ? css(["", ""], checked ? disabledCheckedStyles : disabledStyles) : checked ? css(["", " ", ""], checkedStyles, focused && focusedStyles) : css(["", " ", ""], defaultStyles, focused && focusedStyles);
19090
21802
  });
19091
21803
 
19092
21804
  var Checkbox = function Checkbox(_ref4) {
@@ -19217,7 +21929,7 @@ var defaultTheme = {
19217
21929
  inactiveColor: PEWTER_GREY$1
19218
21930
  }
19219
21931
  };
19220
- var RadioButtonBorder = styled__default.div.withConfig({
21932
+ var RadioButtonBorder = styled.div.withConfig({
19221
21933
  displayName: "radio-button__RadioButtonBorder",
19222
21934
  componentId: "sc-8odgi0-0"
19223
21935
  })(["height:24px;width:24px;border:1px solid ", ";border-radius:12px;display:flex;justify-content:center;align-items:center;margin:10px;min-width:24px;min-height:24px;"], function (_ref) {
@@ -19226,7 +21938,7 @@ var RadioButtonBorder = styled__default.div.withConfig({
19226
21938
  return isSelected ? theme.accentColor : theme.inactiveColor;
19227
21939
  });
19228
21940
  RadioButtonBorder.defaultProps = defaultTheme;
19229
- var RadioButtonCenter = styled__default.div.withConfig({
21941
+ var RadioButtonCenter = styled.div.withConfig({
19230
21942
  displayName: "radio-button__RadioButtonCenter",
19231
21943
  componentId: "sc-8odgi0-1"
19232
21944
  })(["height:16px;width:16px;background-color:", ";border-radius:8px;"], function (_ref2) {
@@ -19245,15 +21957,15 @@ var RadioButton = function RadioButton(_ref3) {
19245
21957
  }, isSelected && /*#__PURE__*/React__default.createElement(RadioButtonCenter, null));
19246
21958
  };
19247
21959
 
19248
- var CheckboxItemIcon = styled__default.img.withConfig({
21960
+ var CheckboxItemIcon = styled.img.withConfig({
19249
21961
  displayName: "CheckboxList__CheckboxItemIcon",
19250
21962
  componentId: "sc-1yakme1-0"
19251
21963
  })(["width:2rem;"]);
19252
- var HiddenCheckboxInput = styled__default.input.withConfig({
21964
+ var HiddenCheckboxInput = styled.input.withConfig({
19253
21965
  displayName: "CheckboxList__HiddenCheckboxInput",
19254
21966
  componentId: "sc-1yakme1-1"
19255
21967
  })(["opacity:0;position:absolute;z-index:-2;cursor:pointer;"]);
19256
- var CheckboxLabel = styled__default.label.withConfig({
21968
+ var CheckboxLabel = styled.label.withConfig({
19257
21969
  displayName: "CheckboxList__CheckboxLabel",
19258
21970
  componentId: "sc-1yakme1-2"
19259
21971
  })(["position:relative;z-index:5;&:focus{outline:none;}"]);
@@ -19297,7 +22009,7 @@ var CheckboxListItem = function CheckboxListItem(_ref) {
19297
22009
  onClick: disabled ? noop : onSelect,
19298
22010
  onKeyDown: disabled ? noop : onSelect,
19299
22011
  tabIndex: 0
19300
- }, /*#__PURE__*/React__default.createElement(styled.ThemeProvider, {
22012
+ }, /*#__PURE__*/React__default.createElement(ThemeProvider, {
19301
22013
  theme: {
19302
22014
  accentColor: radioButtonActive,
19303
22015
  inactiveColor: radioButtonInactive
@@ -19396,14 +22108,14 @@ var fallbackValues$e = {
19396
22108
  hoverColor: hoverColor$3
19397
22109
  };
19398
22110
 
19399
- var IconWrapper = styled__default.div.withConfig({
22111
+ var IconWrapper = styled.div.withConfig({
19400
22112
  displayName: "Dropdown__IconWrapper",
19401
22113
  componentId: "sc-pn6m0h-0"
19402
22114
  })(["display:flex;flex-direction:column;justify-content:center;transition:transform 0.3s ease;", ""], function (_ref) {
19403
22115
  var open = _ref.open;
19404
22116
  return open ? "transform: rotate(-180deg)" : "";
19405
22117
  });
19406
- var DropdownContentWrapper = styled__default.div.withConfig({
22118
+ var DropdownContentWrapper = styled.div.withConfig({
19407
22119
  displayName: "Dropdown__DropdownContentWrapper",
19408
22120
  componentId: "sc-pn6m0h-1"
19409
22121
  })(["transform-origin:0 0;border:1px solid ", ";border-radius:2px;background-color:", ";padding:8px 0 8px;position:absolute;width:", ";min-width:100%;max-height:", ";overflow-y:scroll;z-index:1;box-sizing:border-box;&:focus{outline:none;}"], GREY_CHATEAU, WHITE, function (_ref2) {
@@ -19413,7 +22125,7 @@ var DropdownContentWrapper = styled__default.div.withConfig({
19413
22125
  var maxHeight = _ref3.maxHeight;
19414
22126
  return maxHeight || "400px";
19415
22127
  });
19416
- var DropdownItemWrapper = styled__default.div.withConfig({
22128
+ var DropdownItemWrapper = styled.div.withConfig({
19417
22129
  displayName: "Dropdown__DropdownItemWrapper",
19418
22130
  componentId: "sc-pn6m0h-2"
19419
22131
  })(["background-color:", ";text-align:start;border-width:0px;border-color:transparent;box-shadow:none;padding:1rem;box-sizing:border-box;width:100%;cursor:", ";&:hover{background-color:", ";}&:focus{background-color:", ";outline:none;}"], function (_ref4) {
@@ -19434,7 +22146,7 @@ var DropdownItemWrapper = styled__default.div.withConfig({
19434
22146
  themeValues = _ref7.themeValues;
19435
22147
  return selected ? themeValues.selectedColor : disabled ? WHITE : themeValues.hoverColor;
19436
22148
  });
19437
- var SearchInput = styled__default.input.withConfig({
22149
+ var SearchInput = styled.input.withConfig({
19438
22150
  displayName: "Dropdown__SearchInput",
19439
22151
  componentId: "sc-pn6m0h-3"
19440
22152
  })(["border:none;background-color:", ";font-size:16px;height:24px;"], function (_ref8) {
@@ -19665,11 +22377,11 @@ var Dropdown = function Dropdown(_ref9) {
19665
22377
 
19666
22378
  var Dropdown$1 = themeComponent(Dropdown, "Dropdown", fallbackValues$e);
19667
22379
 
19668
- var SelectContainer = styled__default.div.withConfig({
22380
+ var SelectContainer = styled.div.withConfig({
19669
22381
  displayName: "FormSelectstyled__SelectContainer",
19670
22382
  componentId: "sc-hkrqrv-0"
19671
22383
  })(["width:100%;display:flex;flex-direction:column;justify-content:space-between;align-items:flex-start;> * + *{margin-top:0.25rem;}"]);
19672
- var SelectField = styled__default.select.withConfig({
22384
+ var SelectField = styled.select.withConfig({
19673
22385
  displayName: "FormSelectstyled__SelectField",
19674
22386
  componentId: "sc-hkrqrv-1"
19675
22387
  })(["border:1px solid ", ";border-radius:2px;height:48px;width:100%;padding:0.75rem 1rem;min-width:100px;margin:0;box-sizing:border-box;position:relative;font-size:1.1rem;font-family:Public Sans;line-height:2rem;font-weight:", ";background-color:", ";color:", ";box-shadow:none;&:focus{border:1px solid ", ";}"], function (_ref) {
@@ -19683,7 +22395,7 @@ var SelectField = styled__default.select.withConfig({
19683
22395
  var themeValues = _ref3.themeValues;
19684
22396
  return themeValues.color && themeValues.color;
19685
22397
  }, MATISSE_BLUE);
19686
- var SelectOption = styled__default.option.withConfig({
22398
+ var SelectOption = styled.option.withConfig({
19687
22399
  displayName: "FormSelectstyled__SelectOption",
19688
22400
  componentId: "sc-hkrqrv-2"
19689
22401
  })([""]);
@@ -20593,7 +23305,7 @@ var CountryDropdown = function CountryDropdown(_ref) {
20593
23305
  });
20594
23306
  };
20595
23307
 
20596
- var DetailText = styled__default.p.withConfig({
23308
+ var DetailText = styled.p.withConfig({
20597
23309
  displayName: "Detailstyled__DetailText",
20598
23310
  componentId: "sc-vn1h4n-0"
20599
23311
  })(["font-size:", ";line-height:1.5;color:", ";font-weight:", ";margin:", ";text-align:", ";font-family:", ";", ";"], function (_ref) {
@@ -20797,8 +23509,8 @@ var DisplayCard = function DisplayCard(_ref) {
20797
23509
  }) : /*#__PURE__*/React__default.createElement(React.Fragment, null))))));
20798
23510
  };
20799
23511
 
20800
- function _extends$2() {
20801
- _extends$2 = Object.assign || function (target) {
23512
+ function _extends$3() {
23513
+ _extends$3 = Object.assign || function (target) {
20802
23514
  for (var i = 1; i < arguments.length; i++) {
20803
23515
  var source = arguments[i];
20804
23516
 
@@ -20812,10 +23524,10 @@ function _extends$2() {
20812
23524
  return target;
20813
23525
  };
20814
23526
 
20815
- return _extends$2.apply(this, arguments);
23527
+ return _extends$3.apply(this, arguments);
20816
23528
  }
20817
23529
 
20818
- function _objectWithoutPropertiesLoose$1(source, excluded) {
23530
+ function _objectWithoutPropertiesLoose$2(source, excluded) {
20819
23531
  if (source == null) return {};
20820
23532
  var target = {};
20821
23533
  var sourceKeys = Object.keys(source);
@@ -20833,7 +23545,7 @@ function _objectWithoutPropertiesLoose$1(source, excluded) {
20833
23545
  function _objectWithoutProperties$1(source, excluded) {
20834
23546
  if (source == null) return {};
20835
23547
 
20836
- var target = _objectWithoutPropertiesLoose$1(source, excluded);
23548
+ var target = _objectWithoutPropertiesLoose$2(source, excluded);
20837
23549
 
20838
23550
  var key, i;
20839
23551
 
@@ -20916,7 +23628,7 @@ function _nonIterableRest$1() {
20916
23628
  var getUniqueFormatDelimiters = function getUniqueFormatDelimiters(formats, formatChar) {
20917
23629
  return _toConsumableArray$1(new Set(formats.join("").split(formatChar).join("").split("")));
20918
23630
  };
20919
- var format$1 = function format(formatter) {
23631
+ var format$2 = function format(formatter) {
20920
23632
  return function (value) {
20921
23633
  var usedFormat = formatter.formats[value.length];
20922
23634
 
@@ -21009,7 +23721,7 @@ var FormattedInput = function FormattedInput(_ref) {
21009
23721
  selectionEnd: 0,
21010
23722
  rawValue: value,
21011
23723
  "delete": false,
21012
- formattedValue: format$1(formatter)(value)
23724
+ formattedValue: format$2(formatter)(value)
21013
23725
  }),
21014
23726
  _useState2 = _slicedToArray$1(_useState, 2),
21015
23727
  state = _useState2[0],
@@ -21021,9 +23733,9 @@ var FormattedInput = function FormattedInput(_ref) {
21021
23733
  inputEl.current.setSelectionRange(state.selectionStart, state.selectionEnd);
21022
23734
  }
21023
23735
  });
21024
- return React__default.createElement("input", _extends$2({}, props, {
23736
+ return React__default.createElement("input", _extends$3({}, props, {
21025
23737
  ref: inputEl,
21026
- value: format$1(formatter)(value),
23738
+ value: format$2(formatter)(value),
21027
23739
  onKeyDown: function onKeyDown(event) {
21028
23740
  // Keep track of the state of the input before onChange, including if user is hitting delete
21029
23741
  setState({
@@ -21141,7 +23853,7 @@ var fallbackValues$i = {
21141
23853
 
21142
23854
  var _excluded$p = ["showErrors", "themeValues"],
21143
23855
  _excluded2 = ["type", "labelTextWhenNoError", "errorMessages", "isNum", "isEmail", "helperModal", "field", "fieldActions", "showErrors", "formatter", "decorator", "themeValues", "background", "customHeight", "extraStyles"];
21144
- var InputField = styled__default.input.withConfig({
23856
+ var InputField = styled.input.withConfig({
21145
23857
  displayName: "FormInput__InputField",
21146
23858
  componentId: "sc-l094r1-0"
21147
23859
  })(["border:1px solid ", ";border-radius:2px;height:", ";width:100%;padding:1rem;min-width:100px;margin:0;box-sizing:border-box;position:relative;font-size:1.1rem;font-family:Public Sans;line-height:2rem;font-weight:", ";background-color:", ";color:", ";box-shadow:none;", " transition:background 0.3s ease;&:focus{outline:3px solid ", ";outline-offset:2px;}", " ", ""], function (_ref) {
@@ -21164,13 +23876,13 @@ var InputField = styled__default.input.withConfig({
21164
23876
  return background && "background: ".concat(themeValues.inputBackgroundColor, " url(").concat(background, ") no-repeat right 0.5rem center;");
21165
23877
  }, ROYAL_BLUE, function (_ref6) {
21166
23878
  var disabled = _ref6.disabled;
21167
- return disabled && styled.css(["color:#6e727e;background-color:#f7f7f7;"]);
23879
+ return disabled && css(["color:#6e727e;background-color:#f7f7f7;"]);
21168
23880
  }, function (_ref7) {
21169
23881
  var $extraStyles = _ref7.$extraStyles;
21170
- return styled.css(["", ""], $extraStyles);
23882
+ return css(["", ""], $extraStyles);
21171
23883
  }); // eslint-disable-next-line no-unused-vars
21172
23884
 
21173
- var FormattedInputField = styled__default(function (_ref8) {
23885
+ var FormattedInputField = styled(function (_ref8) {
21174
23886
  var showErrors = _ref8.showErrors,
21175
23887
  themeValues = _ref8.themeValues,
21176
23888
  props = _objectWithoutProperties(_ref8, _excluded$p);
@@ -21195,10 +23907,10 @@ var FormattedInputField = styled__default(function (_ref8) {
21195
23907
  return themeValues.color && themeValues.color;
21196
23908
  }, ROYAL_BLUE, function (_ref13) {
21197
23909
  var disabled = _ref13.disabled;
21198
- return disabled && styled.css(["color:#6e727e;background-color:#f7f7f7;"]);
23910
+ return disabled && css(["color:#6e727e;background-color:#f7f7f7;"]);
21199
23911
  }, function (_ref14) {
21200
23912
  var extraStyles = _ref14.extraStyles;
21201
- return styled.css(["", ""], extraStyles);
23913
+ return css(["", ""], extraStyles);
21202
23914
  });
21203
23915
 
21204
23916
  var FormInput = function FormInput(_ref15) {
@@ -21230,7 +23942,7 @@ var FormInput = function FormInput(_ref15) {
21230
23942
  showPassword = _useState2[0],
21231
23943
  setShowPassword = _useState2[1];
21232
23944
 
21233
- var _useContext = React.useContext(styled.ThemeContext),
23945
+ var _useContext = React.useContext(ThemeContext),
21234
23946
  isMobile = _useContext.isMobile;
21235
23947
 
21236
23948
  return /*#__PURE__*/React__default.createElement(Stack, {
@@ -21375,7 +24087,7 @@ var FormContainer = function FormContainer(_ref) {
21375
24087
  children = _ref.children,
21376
24088
  rest = _objectWithoutProperties(_ref, _excluded$s);
21377
24089
 
21378
- var _useContext = React.useContext(styled.ThemeContext),
24090
+ var _useContext = React.useContext(ThemeContext),
21379
24091
  isMobile = _useContext.isMobile;
21380
24092
 
21381
24093
  return /*#__PURE__*/React__default.createElement(Box, _extends({
@@ -21392,7 +24104,7 @@ var FormFooterPanel = function FormFooterPanel(_ref) {
21392
24104
  link = _ref.link,
21393
24105
  linkText = _ref.linkText;
21394
24106
 
21395
- var _useContext = React.useContext(styled.ThemeContext),
24107
+ var _useContext = React.useContext(ThemeContext),
21396
24108
  isMobile = _useContext.isMobile;
21397
24109
 
21398
24110
  return /*#__PURE__*/React__default.createElement(Box, {
@@ -21478,11 +24190,11 @@ var fallbackValues$k = {
21478
24190
  var ACTIVE = "ACTIVE";
21479
24191
  var EXPIRING_SOON = "EXPIRING_SOON";
21480
24192
  var EXPIRED = "EXPIRED";
21481
- var CreditCardWrapper = styled__default.div.withConfig({
24193
+ var CreditCardWrapper = styled.div.withConfig({
21482
24194
  displayName: "FormattedCreditCard__CreditCardWrapper",
21483
24195
  componentId: "sc-s0ta5l-0"
21484
24196
  })(["display:flex;justify-content:flex-start;align-items:center;"]);
21485
- var CCIconWrapper = styled__default.div.withConfig({
24197
+ var CCIconWrapper = styled.div.withConfig({
21486
24198
  displayName: "FormattedCreditCard__CCIconWrapper",
21487
24199
  componentId: "sc-s0ta5l-1"
21488
24200
  })(["margin-right:16px;width:30px;height:auto;display:flex;"]);
@@ -21538,15 +24250,15 @@ var FormattedCreditCard = function FormattedCreditCard(_ref) {
21538
24250
 
21539
24251
  var FormattedCreditCard$1 = themeComponent(FormattedCreditCard, "FormattedCreditCard", fallbackValues$k);
21540
24252
 
21541
- var Hamburger = styled__default.button.withConfig({
24253
+ var Hamburger = styled.button.withConfig({
21542
24254
  displayName: "HamburgerButton__Hamburger",
21543
24255
  componentId: "sc-4wlnwv-0"
21544
24256
  })(["padding:8px;display:inline-block;cursor:pointer;transition-property:opacity;transition-duration:0.15s;transition-timing-function:linear;font:inherit;color:inherit;text-transform:none;background-color:transparent;border:0;margin:0;overflow:visible;&:focus{outline:none;}"]);
21545
- var HamburgerBox = styled__default.span.withConfig({
24257
+ var HamburgerBox = styled.span.withConfig({
21546
24258
  displayName: "HamburgerButton__HamburgerBox",
21547
24259
  componentId: "sc-4wlnwv-1"
21548
24260
  })(["width:34px;height:34px;display:inline-block;position:relative;"]);
21549
- var HamburgerInner = styled__default.span.withConfig({
24261
+ var HamburgerInner = styled.span.withConfig({
21550
24262
  displayName: "HamburgerButton__HamburgerInner",
21551
24263
  componentId: "sc-4wlnwv-2"
21552
24264
  })(["display:block;top:auto;bottom:6px;left:2px;transition-duration:0.13s;transition-delay:0.13s;transition-timing-function:cubic-bezier(0.55,0.055,0.675,0.19);margin-top:12px;background-color:", ";&,&::before,&::after{background-color:", ";width:30px;height:3px;position:absolute;transition-property:transform;transition-duration:0.15s;transition-timing-function:ease;}&::before,&::after{content:\"\";display:block;}&::before{top:-10px;transition:top 0.12s 0.2s cubic-bezier(0.33333,0.66667,0.66667,1),transform 0.13s cubic-bezier(0.55,0.055,0.675,0.19);}&::after{bottom:-10px;top:-20px;transition:top 0.2s 0.2s cubic-bezier(0.33333,0.66667,0.66667,1),opacity 0.1s linear;}&.active,&.active::before,&.active::after{background-color:", ";}&.active{transform:translate3d(0,-10px,0) rotate(-45deg);transition-delay:0.22s;transition-timing-function:cubic-bezier(0.215,0.61,0.355,1);}&.active::after{top:0;opacity:0;transition:top 0.2s cubic-bezier(0.33333,0,0.66667,0.33333),opacity:0.1s 0.22s linear;}&.active::before{top:0;transform:rotate(-90deg);transition:top 0.1s 0.16s cubic-bezier(0.33333,0,0.66667,0.33333),transform 0.13s 0.25s cubic-bezier(0.215,0.61,0.355,1);}"], function (_ref) {
@@ -21580,7 +24292,7 @@ var HamburgerButton = function HamburgerButton(_ref4) {
21580
24292
  })));
21581
24293
  };
21582
24294
 
21583
- var HeadingText = styled__default.h1.withConfig({
24295
+ var HeadingText = styled.h1.withConfig({
21584
24296
  displayName: "Headingstyled__HeadingText",
21585
24297
  componentId: "sc-1a3jd28-0"
21586
24298
  })(["--font-size:", ";font-size:var(--font-size);line-height:calc(1.5 * var(--font-size));color:", ";font-weight:", ";margin:", ";text-align:", ";font-family:", ";", ";"], function (_ref) {
@@ -21680,7 +24392,7 @@ var Jumbo = function Jumbo(_ref) {
21680
24392
  showCartStatus = _ref$showCartStatus === void 0 ? false : _ref$showCartStatus,
21681
24393
  openCartSlider = _ref.openCartSlider;
21682
24394
 
21683
- var _useContext = React.useContext(styled.ThemeContext),
24395
+ var _useContext = React.useContext(ThemeContext),
21684
24396
  isMobile = _useContext.isMobile;
21685
24397
 
21686
24398
  return /*#__PURE__*/React__default.createElement(Box, {
@@ -21808,7 +24520,7 @@ var fallbackValues$o = {
21808
24520
  color: color$8
21809
24521
  };
21810
24522
 
21811
- var SpinnerSvgAnimation = styled__default.svg.withConfig({
24523
+ var SpinnerSvgAnimation = styled.svg.withConfig({
21812
24524
  displayName: "Spinner__SpinnerSvgAnimation",
21813
24525
  componentId: "sc-vhupl9-0"
21814
24526
  })(["animation:rotate 2s linear infinite;margin:-25px 0 0 -25px;width:", "px;height:", "px;& .path{stroke:", ";stroke-linecap:round;animation:dash 1.5s ease-in-out infinite;}@keyframes rotate{100%{transform:rotate(360deg);}}@keyframes dash{0%{stroke-dasharray:1,150;stroke-dashoffset:0;}50%{stroke-dasharray:90,150;stroke-dashoffset:-35;}100%{stroke-dasharray:90,150;stroke-dashoffset:-124;}}"], function (_ref) {
@@ -21821,7 +24533,7 @@ var SpinnerSvgAnimation = styled__default.svg.withConfig({
21821
24533
  var color = _ref3.color;
21822
24534
  return color;
21823
24535
  });
21824
- var SpinnerContainer$2 = styled__default.div.withConfig({
24536
+ var SpinnerContainer$2 = styled.div.withConfig({
21825
24537
  displayName: "Spinner__SpinnerContainer",
21826
24538
  componentId: "sc-vhupl9-1"
21827
24539
  })(["width:100%;display:flex;flex-direction:row;align-items:center;justify-content:center;line-height:1;"]);
@@ -22244,7 +24956,7 @@ var fallbackValues$r = {
22244
24956
  inactiveColor: inactiveColor
22245
24957
  };
22246
24958
 
22247
- var HiddenRadioButton = styled__default.input.withConfig({
24959
+ var HiddenRadioButton = styled.input.withConfig({
22248
24960
  displayName: "RadioButton__HiddenRadioButton",
22249
24961
  componentId: "sc-v6hie9-0"
22250
24962
  })(["opacity:0;position:absolute;cursor:", ";"], function (_ref) {
@@ -33025,7 +35737,7 @@ var fallbackValues$u = {
33025
35737
  leftLabelStyles: leftLabelStyles
33026
35738
  };
33027
35739
 
33028
- var HiddenToggleSwitchBox = styled__default.input.withConfig({
35740
+ var HiddenToggleSwitchBox = styled.input.withConfig({
33029
35741
  displayName: "ToggleSwitch__HiddenToggleSwitchBox",
33030
35742
  componentId: "sc-1t51u6v-0"
33031
35743
  })(["opacity:0;position:absolute;cursor:", ";height:24px;width:50px;", ""], function (_ref) {
@@ -33035,7 +35747,7 @@ var HiddenToggleSwitchBox = styled__default.input.withConfig({
33035
35747
  var isMobile = _ref2.isMobile;
33036
35748
  return isMobile ? "transform: scale(0.75)" : "";
33037
35749
  });
33038
- var VisibleSwitchComponent = styled__default.label.withConfig({
35750
+ var VisibleSwitchComponent = styled.label.withConfig({
33039
35751
  displayName: "ToggleSwitch__VisibleSwitchComponent",
33040
35752
  componentId: "sc-1t51u6v-1"
33041
35753
  })(["width:48px;height:24px;border-radius:48px;border:none;position:relative;box-sizing:border-box;cursor:", ";display:inline-block;&:hover{box-shadow:", ";}&:focus{box-shadow:0px 2px 5px 0px rgba(0,0,0,0.5);}", ""], function (_ref3) {
@@ -33048,11 +35760,11 @@ var VisibleSwitchComponent = styled__default.label.withConfig({
33048
35760
  var isMobile = _ref5.isMobile;
33049
35761
  return isMobile ? "transform: scale(0.75)" : "";
33050
35762
  });
33051
- var ToggleSwitchMiddleRingComponent = styled__default.div.withConfig({
35763
+ var ToggleSwitchMiddleRingComponent = styled.div.withConfig({
33052
35764
  displayName: "ToggleSwitch__ToggleSwitchMiddleRingComponent",
33053
35765
  componentId: "sc-1t51u6v-2"
33054
35766
  })(["position:absolute;width:20px;height:20px;border:none;border-radius:50%;box-sizing:border-box;"]);
33055
- var ToggleSwitchInnerRingComponent = styled__default.div.withConfig({
35767
+ var ToggleSwitchInnerRingComponent = styled.div.withConfig({
33056
35768
  displayName: "ToggleSwitch__ToggleSwitchInnerRingComponent",
33057
35769
  componentId: "sc-1t51u6v-3"
33058
35770
  })(["position:absolute;width:14px;height:14px;top:3px;left:3px;right:3px;bottom:3px;border-radius:50%;box-sizing:border-box;"]);
@@ -33204,7 +35916,7 @@ var themeValues = {
33204
35916
  focusBorder: focusBorder
33205
35917
  };
33206
35918
 
33207
- var TypeaheadInputWrapper = styled__default.div.withConfig({
35919
+ var TypeaheadInputWrapper = styled.div.withConfig({
33208
35920
  displayName: "TypeaheadInput__TypeaheadInputWrapper",
33209
35921
  componentId: "sc-cumjdb-0"
33210
35922
  })(["display:flex;align-content:center;align-items:center;background:", ";input{border:0;height:72px;width:100%;padding:1.5rem;padding-left:1rem;min-width:100px;margin:0;box-sizing:border-box;position:relative;font-size:1.1rem;line-height:2rem;font-weight:400;background-color:", ";color:", ";box-shadow:none;border:1px solid transparent;&:focus{border:1px solid ", ";}}"], themeValues.background, themeValues.background, themeValues.black, themeValues.focusBorder);
@@ -33726,9 +36438,9 @@ function isDraft(value) {
33726
36438
  }
33727
36439
  function isDraftable(value) {
33728
36440
  if (!value) { return false; }
33729
- return isPlainObject(value) || !!value[DRAFTABLE] || !!value.constructor[DRAFTABLE];
36441
+ return isPlainObject$1(value) || !!value[DRAFTABLE] || !!value.constructor[DRAFTABLE];
33730
36442
  }
33731
- function isPlainObject(value) {
36443
+ function isPlainObject$1(value) {
33732
36444
  if (!value || typeof value !== "object") { return false; }
33733
36445
  if (Array.isArray(value)) { return true; }
33734
36446
  var proto = Object.getPrototypeOf(value);
@@ -34168,7 +36880,7 @@ var objectTraps = {
34168
36880
 
34169
36881
  set: set$1$1,
34170
36882
  deleteProperty: deleteProperty,
34171
- getOwnPropertyDescriptor: getOwnPropertyDescriptor,
36883
+ getOwnPropertyDescriptor: getOwnPropertyDescriptor$1,
34172
36884
 
34173
36885
  defineProperty: function defineProperty() {
34174
36886
  throw new Error("Object.defineProperty() cannot be used on an Immer draft"); // prettier-ignore
@@ -34276,7 +36988,7 @@ function deleteProperty(state, prop) {
34276
36988
  // the same guarantee in ES5 mode.
34277
36989
 
34278
36990
 
34279
- function getOwnPropertyDescriptor(state, prop) {
36991
+ function getOwnPropertyDescriptor$1(state, prop) {
34280
36992
  var owner = source$1(state);
34281
36993
  var desc = Reflect.getOwnPropertyDescriptor(owner, prop);
34282
36994
 
@@ -35468,7 +38180,7 @@ EditNameForm.reducer = reducer$2;
35468
38180
  EditNameForm.mapStateToProps = mapStateToProps$3;
35469
38181
  EditNameForm.mapDispatchToProps = mapDispatchToProps$2;
35470
38182
 
35471
- var EditableListItem = styled__default.div.withConfig({
38183
+ var EditableListItem = styled.div.withConfig({
35472
38184
  displayName: "EditableListstyled__EditableListItem",
35473
38185
  componentId: "sc-10ehkz7-0"
35474
38186
  })(["box-sizing:border-box;background:", ";border-color:", ";height:", ";display:flex;justify-content:space-between;align-items:center;padding:1.5rem;:not(:last-child),:not(:first-child){box-shadow:inset 0px -1px 0px 0px rgb(202,206,216);}:first-child{border-top-left-radius:3px;border-top-right-radius:3px;}:last-child{border-bottom-left-radius:3px;border-bottom-right-radius:3px;box-shadow:none;}"], function (_ref) {
@@ -35478,7 +38190,7 @@ var EditableListItem = styled__default.div.withConfig({
35478
38190
  var listItemSize = _ref2.listItemSize;
35479
38191
  return listItemSize === "big" ? "120px" : "72px";
35480
38192
  });
35481
- var EditableListItemControls = styled__default.div.withConfig({
38193
+ var EditableListItemControls = styled.div.withConfig({
35482
38194
  displayName: "EditableListstyled__EditableListItemControls",
35483
38195
  componentId: "sc-10ehkz7-1"
35484
38196
  })(["display:flex;justify-content:space-evenly;align-items:center;"]);
@@ -35599,14 +38311,14 @@ var EditableList = function EditableList(_ref) {
35599
38311
  }))));
35600
38312
  };
35601
38313
 
35602
- var EditableTableContainer = styled__default.div.withConfig({
38314
+ var EditableTableContainer = styled.div.withConfig({
35603
38315
  displayName: "EditableTablestyled__EditableTableContainer",
35604
38316
  componentId: "sc-fd3i2a-0"
35605
38317
  })(["display:", ";flex-direction:column;flex:1;"], function (_ref) {
35606
38318
  var hide = _ref.hide;
35607
38319
  return hide ? "none" : "flex";
35608
38320
  });
35609
- var EditableTableListItem = styled__default.div.withConfig({
38321
+ var EditableTableListItem = styled.div.withConfig({
35610
38322
  displayName: "EditableTablestyled__EditableTableListItem",
35611
38323
  componentId: "sc-fd3i2a-1"
35612
38324
  })(["width:100%;display:flex;", ";align-items:", ";flex-direction:", ";flex:1;", ";"], function (_ref2) {
@@ -35622,29 +38334,29 @@ var EditableTableListItem = styled__default.div.withConfig({
35622
38334
  var isMobile = _ref5.isMobile;
35623
38335
  return isMobile ? "padding: 1rem 0.5rem" : "padding: 0 0.5rem";
35624
38336
  });
35625
- var EditableListItemControls$1 = styled__default.div.withConfig({
38337
+ var EditableListItemControls$1 = styled.div.withConfig({
35626
38338
  displayName: "EditableTablestyled__EditableListItemControls",
35627
38339
  componentId: "sc-fd3i2a-2"
35628
38340
  })(["display:flex;justify-content:space-evenly;align-items:center;"]);
35629
- var EditableListAction = styled__default.div.withConfig({
38341
+ var EditableListAction = styled.div.withConfig({
35630
38342
  displayName: "EditableTablestyled__EditableListAction",
35631
38343
  componentId: "sc-fd3i2a-3"
35632
38344
  })(["color:", ";align-items:center;font-size:1rem;padding-right:1rem;cursor:pointer;display:", ";"], MATISSE_BLUE, function (_ref6) {
35633
38345
  var hide = _ref6.hide;
35634
38346
  return hide ? "none" : "flex";
35635
38347
  });
35636
- var ItemWrapper = styled__default.div.withConfig({
38348
+ var ItemWrapper = styled.div.withConfig({
35637
38349
  displayName: "EditableTablestyled__ItemWrapper",
35638
38350
  componentId: "sc-fd3i2a-4"
35639
38351
  })(["display:flex;flex-direction:row;flex:1;width:100%;border-bottom:1px solid ", ";"], GHOST_GREY);
35640
- var ActionWrapper = styled__default.div.withConfig({
38352
+ var ActionWrapper = styled.div.withConfig({
35641
38353
  displayName: "EditableTablestyled__ActionWrapper",
35642
38354
  componentId: "sc-fd3i2a-5"
35643
38355
  })(["display:flex;align-self:center;justify-content:flex-end;", ";flex:1;"], function (_ref7) {
35644
38356
  var isMobile = _ref7.isMobile;
35645
38357
  return isMobile && "display: none";
35646
38358
  });
35647
- var TableItemKey = styled__default.div.withConfig({
38359
+ var TableItemKey = styled.div.withConfig({
35648
38360
  displayName: "EditableTablestyled__TableItemKey",
35649
38361
  componentId: "sc-fd3i2a-6"
35650
38362
  })(["display:flex;", ";", ";", ";font-size:", ";color:", ";"], function (_ref8) {
@@ -35660,7 +38372,7 @@ var TableItemKey = styled__default.div.withConfig({
35660
38372
  var isMobile = _ref11.isMobile;
35661
38373
  return isMobile ? "1rem" : "1.125rem";
35662
38374
  }, STORM_GREY);
35663
- var TableItemValue = styled__default.div.withConfig({
38375
+ var TableItemValue = styled.div.withConfig({
35664
38376
  displayName: "EditableTablestyled__TableItemValue",
35665
38377
  componentId: "sc-fd3i2a-7"
35666
38378
  })(["display:flex;", ";", ";", ";font-size:", ";color:", ";"], function (_ref12) {
@@ -35676,7 +38388,7 @@ var TableItemValue = styled__default.div.withConfig({
35676
38388
  var isMobile = _ref15.isMobile;
35677
38389
  return isMobile ? "1.125rem" : "1.0625rem";
35678
38390
  }, BRIGHT_GREY);
35679
- var TableWrapper = styled__default.div.withConfig({
38391
+ var TableWrapper = styled.div.withConfig({
35680
38392
  displayName: "EditableTablestyled__TableWrapper",
35681
38393
  componentId: "sc-fd3i2a-8"
35682
38394
  })(["display:flex;flex-direction:row;flex:1;width:100%;"]);
@@ -38880,7 +41592,7 @@ var Modal$1 = function Modal(_ref) {
38880
41592
  buttonExtraStyles = _ref.buttonExtraStyles,
38881
41593
  children = _ref.children;
38882
41594
 
38883
- var _useContext = React.useContext(styled.ThemeContext),
41595
+ var _useContext = React.useContext(ThemeContext),
38884
41596
  isMobile = _useContext.isMobile;
38885
41597
 
38886
41598
  return /*#__PURE__*/React__default.createElement(React.Fragment, null, modalOpen && /*#__PURE__*/React__default.createElement(reactAriaModal, {
@@ -39178,7 +41890,7 @@ var menu = posed.div({
39178
41890
  }
39179
41891
  }
39180
41892
  });
39181
- var ImposterMenu = styled__default(menu).withConfig({
41893
+ var ImposterMenu = styled(menu).withConfig({
39182
41894
  displayName: "NavMenuMobile__ImposterMenu",
39183
41895
  componentId: "sc-1pf0qp7-0"
39184
41896
  })(["position:fixed;top:72px;"]);
@@ -40127,7 +42839,7 @@ var PaymentButtonBar = function PaymentButtonBar(_ref) {
40127
42839
  _ref$hideForwardButto = _ref.hideForwardButton,
40128
42840
  hideForwardButton = _ref$hideForwardButto === void 0 ? false : _ref$hideForwardButto;
40129
42841
 
40130
- var _useContext = React.useContext(styled.ThemeContext),
42842
+ var _useContext = React.useContext(ThemeContext),
40131
42843
  isMobile = _useContext.isMobile;
40132
42844
 
40133
42845
  var backButton = !!cancelURL && !!cancelText ? /*#__PURE__*/React__default.createElement(ButtonWithLink, {
@@ -40655,7 +43367,7 @@ var PaymentFormCard = function PaymentFormCard(_ref) {
40655
43367
  walletCheckboxMarked = _ref.walletCheckboxMarked,
40656
43368
  deniedCards = _ref.deniedCards;
40657
43369
 
40658
- var _useContext = React.useContext(styled.ThemeContext),
43370
+ var _useContext = React.useContext(ThemeContext),
40659
43371
  isMobile = _useContext.isMobile;
40660
43372
 
40661
43373
  React.useEffect(function () {
@@ -40978,7 +43690,7 @@ var RadioSection = function RadioSection(_ref) {
40978
43690
  }
40979
43691
  };
40980
43692
  var borderStyles = "\n border-width: 0 0 1px 0;\n border-color: ".concat(themeValues.borderColor, ";\n border-style: solid;\n border-radius: 0px;\n transform-origin: 100% 0;\n\n &:last-child {\n border-width: 0;\n }\n ");
40981
- var RightIcon = styled__default.img.withConfig({
43693
+ var RightIcon = styled.img.withConfig({
40982
43694
  displayName: "RadioSection__RightIcon",
40983
43695
  componentId: "sc-uema02-0"
40984
43696
  })(["height:", ";width:", ";", " transition:opacity 0.3s ease;"], function (_ref2) {
@@ -41209,7 +43921,7 @@ RegistrationForm.mapStateToProps = mapStateToProps$b;
41209
43921
  RegistrationForm.mapDispatchToProps = mapDispatchToProps$a;
41210
43922
 
41211
43923
  var ResetConfirmationForm = function ResetConfirmationForm() {
41212
- var _useContext = React.useContext(styled.ThemeContext),
43924
+ var _useContext = React.useContext(ThemeContext),
41213
43925
  isMobile = _useContext.isMobile;
41214
43926
 
41215
43927
  return /*#__PURE__*/React__default.createElement(Box, {
@@ -41330,7 +44042,7 @@ ResetPasswordForm.mapStateToProps = mapStateToProps$c;
41330
44042
  ResetPasswordForm.mapDispatchToProps = mapDispatchToProps$b;
41331
44043
 
41332
44044
  var ResetConfirmationForm$2 = function ResetConfirmationForm() {
41333
- var _useContext = React.useContext(styled.ThemeContext),
44045
+ var _useContext = React.useContext(ThemeContext),
41334
44046
  isMobile = _useContext.isMobile;
41335
44047
 
41336
44048
  return /*#__PURE__*/React__default.createElement(Box, {
@@ -41649,7 +44361,7 @@ var TermsAndConditions = function TermsAndConditions(_ref) {
41649
44361
  var Timeout = function Timeout(_ref) {
41650
44362
  var onLogout = _ref.onLogout;
41651
44363
 
41652
- var _useContext = React.useContext(styled.ThemeContext),
44364
+ var _useContext = React.useContext(ThemeContext),
41653
44365
  isMobile = _useContext.isMobile;
41654
44366
 
41655
44367
  return /*#__PURE__*/React__default.createElement(Cover, null, /*#__PURE__*/React__default.createElement(Center, {
@@ -41696,7 +44408,7 @@ var fallbackValues$G = {
41696
44408
  imageBackgroundColor: imageBackgroundColor
41697
44409
  };
41698
44410
 
41699
- var WelcomeImage = styled__default.img.withConfig({
44411
+ var WelcomeImage = styled.img.withConfig({
41700
44412
  displayName: "WelcomeModule__WelcomeImage",
41701
44413
  componentId: "sc-1d9znh4-0"
41702
44414
  })(["width:auto;height:215px;"]);
@@ -41779,11 +44491,12 @@ var WorkflowTile = function WorkflowTile(_ref) {
41779
44491
  minWidth: "100%",
41780
44492
  url: "/service/".concat(slug),
41781
44493
  extraStyles: "width: 100%;",
41782
- linkExtraStyles: "justify-content: center;"
44494
+ linkExtraStyles: "justify-content: center;",
44495
+ dataQa: slug
41783
44496
  }))));
41784
44497
  };
41785
44498
 
41786
- var DashboardIframe = styled__default.iframe.withConfig({
44499
+ var DashboardIframe = styled.iframe.withConfig({
41787
44500
  displayName: "PeriscopeDashboardIframestyled__DashboardIframe",
41788
44501
  componentId: "sc-j0cucj-0"
41789
44502
  })(["border:none;box-shadow:0 0 5px 0 ", ";display:none;"], ALTO_GREY);
@@ -41915,7 +44628,7 @@ var CenterSingle = function CenterSingle(_ref) {
41915
44628
  centeredMobileContent = _ref$centeredMobileCo === void 0 ? false : _ref$centeredMobileCo,
41916
44629
  content = _ref.content,
41917
44630
  themeValues = _ref.themeValues;
41918
- var themeContext = React.useContext(styled.ThemeContext);
44631
+ var themeContext = React.useContext(ThemeContext);
41919
44632
  var isMobile = themeContext.isMobile;
41920
44633
  return /*#__PURE__*/React__default.createElement(Box, {
41921
44634
  padding: "0",
@@ -41960,7 +44673,7 @@ var CenterStack = function CenterStack(_ref) {
41960
44673
  fullWidthMobile = _ref$fullWidthMobile === void 0 ? true : _ref$fullWidthMobile,
41961
44674
  content = _ref.content,
41962
44675
  themeValues = _ref.themeValues;
41963
- var themeContext = React.useContext(styled.ThemeContext);
44676
+ var themeContext = React.useContext(ThemeContext);
41964
44677
  var isMobile = themeContext.isMobile;
41965
44678
  return /*#__PURE__*/React__default.createElement(Box, {
41966
44679
  padding: "0",
@@ -42000,7 +44713,7 @@ var CenterSingle$2 = function CenterSingle(_ref) {
42000
44713
  maxWidth = _ref$maxWidth === void 0 ? "75rem" : _ref$maxWidth,
42001
44714
  _ref$gutters = _ref.gutters,
42002
44715
  gutters = _ref$gutters === void 0 ? "2rem" : _ref$gutters;
42003
- var themeContext = React.useContext(styled.ThemeContext);
44716
+ var themeContext = React.useContext(ThemeContext);
42004
44717
  var isMobile = themeContext.isMobile;
42005
44718
  return /*#__PURE__*/React__default.createElement(Box, {
42006
44719
  padding: "0",
@@ -42051,7 +44764,7 @@ var SidebarSingleContent = function SidebarSingleContent(_ref) {
42051
44764
  _ref$sidebarVerticalC = _ref.sidebarVerticalCenter,
42052
44765
  sidebarVerticalCenter = _ref$sidebarVerticalC === void 0 ? false : _ref$sidebarVerticalC,
42053
44766
  themeValues = _ref.themeValues;
42054
- var themeContext = React.useContext(styled.ThemeContext);
44767
+ var themeContext = React.useContext(ThemeContext);
42055
44768
  var isMobile = themeContext.isMobile;
42056
44769
  return /*#__PURE__*/React__default.createElement(Box, {
42057
44770
  padding: "0",
@@ -42107,7 +44820,7 @@ var SidebarStackContent = function SidebarStackContent(_ref) {
42107
44820
  _ref$sidebarVerticalC = _ref.sidebarVerticalCenter,
42108
44821
  sidebarVerticalCenter = _ref$sidebarVerticalC === void 0 ? false : _ref$sidebarVerticalC,
42109
44822
  themeValues = _ref.themeValues;
42110
- var themeContext = React.useContext(styled.ThemeContext);
44823
+ var themeContext = React.useContext(ThemeContext);
42111
44824
  var isMobile = themeContext.isMobile;
42112
44825
  return /*#__PURE__*/React__default.createElement(Box, {
42113
44826
  padding: "0",