@thecb/components 9.1.4-beta.5 → 9.1.4

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
@@ -12406,7 +12406,7 @@ if (typeof window !== "undefined") {
12406
12406
  var MotionWrapper = styled__default(motion.div).withConfig({
12407
12407
  displayName: "Motionstyled__MotionWrapper",
12408
12408
  componentId: "sc-1m6r1io-0"
12409
- })(["position:", ";display:", ";box-sizing:border-box;padding:", ";border:", ";border-color:", ";border-width:", ";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) {
12409
+ })(["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) {
12410
12410
  var position = _ref.position;
12411
12411
  return position;
12412
12412
  }, function (_ref2) {
@@ -22423,17 +22423,18 @@ var DropdownIcon = function DropdownIcon() {
22423
22423
  };
22424
22424
 
22425
22425
  var check = function (it) {
22426
- return it && it.Math == Math && it;
22426
+ return it && it.Math === Math && it;
22427
22427
  };
22428
22428
 
22429
22429
  // https://github.com/zloirock/core-js/issues/86#issuecomment-115759028
22430
22430
  var global_1 =
22431
- // eslint-disable-next-line es-x/no-global-this -- safe
22431
+ // eslint-disable-next-line es/no-global-this -- safe
22432
22432
  check(typeof globalThis == 'object' && globalThis) ||
22433
22433
  check(typeof window == 'object' && window) ||
22434
22434
  // eslint-disable-next-line no-restricted-globals -- safe
22435
22435
  check(typeof self == 'object' && self) ||
22436
22436
  check(typeof commonjsGlobal == 'object' && commonjsGlobal) ||
22437
+ check(typeof commonjsGlobal == 'object' && commonjsGlobal) ||
22437
22438
  // eslint-disable-next-line no-new-func -- fallback
22438
22439
  (function () { return this; })() || Function('return this')();
22439
22440
 
@@ -22447,12 +22448,12 @@ var fails = function (exec) {
22447
22448
 
22448
22449
  // Detect IE8's incomplete defineProperty implementation
22449
22450
  var descriptors = !fails(function () {
22450
- // eslint-disable-next-line es-x/no-object-defineproperty -- required for testing
22451
- return Object.defineProperty({}, 1, { get: function () { return 7; } })[1] != 7;
22451
+ // eslint-disable-next-line es/no-object-defineproperty -- required for testing
22452
+ return Object.defineProperty({}, 1, { get: function () { return 7; } })[1] !== 7;
22452
22453
  });
22453
22454
 
22454
22455
  var functionBindNative = !fails(function () {
22455
- // eslint-disable-next-line es-x/no-function-prototype-bind -- safe
22456
+ // eslint-disable-next-line es/no-function-prototype-bind -- safe
22456
22457
  var test = (function () { /* empty */ }).bind();
22457
22458
  // eslint-disable-next-line no-prototype-builtins -- safe
22458
22459
  return typeof test != 'function' || test.hasOwnProperty('prototype');
@@ -22465,7 +22466,7 @@ var functionCall = functionBindNative ? call.bind(call) : function () {
22465
22466
  };
22466
22467
 
22467
22468
  var $propertyIsEnumerable = {}.propertyIsEnumerable;
22468
- // eslint-disable-next-line es-x/no-object-getownpropertydescriptor -- safe
22469
+ // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
22469
22470
  var getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
22470
22471
 
22471
22472
  // Nashorn ~ JDK8 bug
@@ -22492,14 +22493,11 @@ var createPropertyDescriptor = function (bitmap, value) {
22492
22493
  };
22493
22494
 
22494
22495
  var FunctionPrototype = Function.prototype;
22495
- var bind$1 = FunctionPrototype.bind;
22496
22496
  var call$1 = FunctionPrototype.call;
22497
- var uncurryThis = functionBindNative && bind$1.bind(call$1, call$1);
22497
+ var uncurryThisWithBind = functionBindNative && FunctionPrototype.bind.bind(call$1, call$1);
22498
22498
 
22499
- var functionUncurryThis = functionBindNative ? function (fn) {
22500
- return fn && uncurryThis(fn);
22501
- } : function (fn) {
22502
- return fn && function () {
22499
+ var functionUncurryThis = functionBindNative ? uncurryThisWithBind : function (fn) {
22500
+ return function () {
22503
22501
  return call$1.apply(fn, arguments);
22504
22502
  };
22505
22503
  };
@@ -22520,15 +22518,21 @@ var indexedObject = fails(function () {
22520
22518
  // eslint-disable-next-line no-prototype-builtins -- safe
22521
22519
  return !$Object('z').propertyIsEnumerable(0);
22522
22520
  }) ? function (it) {
22523
- return classofRaw(it) == 'String' ? split(it, '') : $Object(it);
22521
+ return classofRaw(it) === 'String' ? split(it, '') : $Object(it);
22524
22522
  } : $Object;
22525
22523
 
22524
+ // we can't use just `it == null` since of `document.all` special case
22525
+ // https://tc39.es/ecma262/#sec-IsHTMLDDA-internal-slot-aec
22526
+ var isNullOrUndefined = function (it) {
22527
+ return it === null || it === undefined;
22528
+ };
22529
+
22526
22530
  var $TypeError = TypeError;
22527
22531
 
22528
22532
  // `RequireObjectCoercible` abstract operation
22529
22533
  // https://tc39.es/ecma262/#sec-requireobjectcoercible
22530
22534
  var requireObjectCoercible = function (it) {
22531
- if (it == undefined) throw $TypeError("Can't call method on " + it);
22535
+ if (isNullOrUndefined(it)) throw new $TypeError("Can't call method on " + it);
22532
22536
  return it;
22533
22537
  };
22534
22538
 
@@ -22540,13 +22544,32 @@ var toIndexedObject = function (it) {
22540
22544
  return indexedObject(requireObjectCoercible(it));
22541
22545
  };
22542
22546
 
22547
+ var documentAll = typeof document == 'object' && document.all;
22548
+
22549
+ // https://tc39.es/ecma262/#sec-IsHTMLDDA-internal-slot
22550
+ // eslint-disable-next-line unicorn/no-typeof-undefined -- required for testing
22551
+ var IS_HTMLDDA = typeof documentAll == 'undefined' && documentAll !== undefined;
22552
+
22553
+ var documentAll_1 = {
22554
+ all: documentAll,
22555
+ IS_HTMLDDA: IS_HTMLDDA
22556
+ };
22557
+
22558
+ var documentAll$1 = documentAll_1.all;
22559
+
22543
22560
  // `IsCallable` abstract operation
22544
22561
  // https://tc39.es/ecma262/#sec-iscallable
22545
- var isCallable = function (argument) {
22562
+ var isCallable = documentAll_1.IS_HTMLDDA ? function (argument) {
22563
+ return typeof argument == 'function' || argument === documentAll$1;
22564
+ } : function (argument) {
22546
22565
  return typeof argument == 'function';
22547
22566
  };
22548
22567
 
22549
- var isObject = function (it) {
22568
+ var documentAll$2 = documentAll_1.all;
22569
+
22570
+ var isObject = documentAll_1.IS_HTMLDDA ? function (it) {
22571
+ return typeof it == 'object' ? it !== null : isCallable(it) || it === documentAll$2;
22572
+ } : function (it) {
22550
22573
  return typeof it == 'object' ? it !== null : isCallable(it);
22551
22574
  };
22552
22575
 
@@ -22560,7 +22583,7 @@ var getBuiltIn = function (namespace, method) {
22560
22583
 
22561
22584
  var objectIsPrototypeOf = functionUncurryThis({}.isPrototypeOf);
22562
22585
 
22563
- var engineUserAgent = getBuiltIn('navigator', 'userAgent') || '';
22586
+ var engineUserAgent = typeof navigator != 'undefined' && String(navigator.userAgent) || '';
22564
22587
 
22565
22588
  var process$1 = global_1.process;
22566
22589
  var Deno = global_1.Deno;
@@ -22587,24 +22610,29 @@ if (!version && engineUserAgent) {
22587
22610
 
22588
22611
  var engineV8Version = version;
22589
22612
 
22590
- /* eslint-disable es-x/no-symbol -- required for testing */
22613
+ /* eslint-disable es/no-symbol -- required for testing */
22614
+
22615
+
22591
22616
 
22592
22617
 
22618
+ var $String = global_1.String;
22593
22619
 
22594
- // eslint-disable-next-line es-x/no-object-getownpropertysymbols -- required for testing
22595
- var nativeSymbol = !!Object.getOwnPropertySymbols && !fails(function () {
22596
- var symbol = Symbol();
22620
+ // eslint-disable-next-line es/no-object-getownpropertysymbols -- required for testing
22621
+ var symbolConstructorDetection = !!Object.getOwnPropertySymbols && !fails(function () {
22622
+ var symbol = Symbol('symbol detection');
22597
22623
  // Chrome 38 Symbol has incorrect toString conversion
22598
22624
  // `get-own-property-symbols` polyfill symbols converted to object are not Symbol instances
22599
- return !String(symbol) || !(Object(symbol) instanceof Symbol) ||
22625
+ // nb: Do not call `String` directly to avoid this being optimized out to `symbol+''` which will,
22626
+ // of course, fail.
22627
+ return !$String(symbol) || !(Object(symbol) instanceof Symbol) ||
22600
22628
  // Chrome 38-40 symbols are not inherited from DOM collections prototypes to instances
22601
22629
  !Symbol.sham && engineV8Version && engineV8Version < 41;
22602
22630
  });
22603
22631
 
22604
- /* eslint-disable es-x/no-symbol -- required for testing */
22632
+ /* eslint-disable es/no-symbol -- required for testing */
22605
22633
 
22606
22634
 
22607
- var useSymbolAsUid = nativeSymbol
22635
+ var useSymbolAsUid = symbolConstructorDetection
22608
22636
  && !Symbol.sham
22609
22637
  && typeof Symbol.iterator == 'symbol';
22610
22638
 
@@ -22617,11 +22645,11 @@ var isSymbol = useSymbolAsUid ? function (it) {
22617
22645
  return isCallable($Symbol) && objectIsPrototypeOf($Symbol.prototype, $Object$1(it));
22618
22646
  };
22619
22647
 
22620
- var $String = String;
22648
+ var $String$1 = String;
22621
22649
 
22622
22650
  var tryToString = function (argument) {
22623
22651
  try {
22624
- return $String(argument);
22652
+ return $String$1(argument);
22625
22653
  } catch (error) {
22626
22654
  return 'Object';
22627
22655
  }
@@ -22632,14 +22660,14 @@ var $TypeError$1 = TypeError;
22632
22660
  // `Assert: IsCallable(argument) is true`
22633
22661
  var aCallable = function (argument) {
22634
22662
  if (isCallable(argument)) return argument;
22635
- throw $TypeError$1(tryToString(argument) + ' is not a function');
22663
+ throw new $TypeError$1(tryToString(argument) + ' is not a function');
22636
22664
  };
22637
22665
 
22638
22666
  // `GetMethod` abstract operation
22639
22667
  // https://tc39.es/ecma262/#sec-getmethod
22640
22668
  var getMethod = function (V, P) {
22641
22669
  var func = V[P];
22642
- return func == null ? undefined : aCallable(func);
22670
+ return isNullOrUndefined(func) ? undefined : aCallable(func);
22643
22671
  };
22644
22672
 
22645
22673
  var $TypeError$2 = TypeError;
@@ -22651,10 +22679,10 @@ var ordinaryToPrimitive = function (input, pref) {
22651
22679
  if (pref === 'string' && isCallable(fn = input.toString) && !isObject(val = functionCall(fn, input))) return val;
22652
22680
  if (isCallable(fn = input.valueOf) && !isObject(val = functionCall(fn, input))) return val;
22653
22681
  if (pref !== 'string' && isCallable(fn = input.toString) && !isObject(val = functionCall(fn, input))) return val;
22654
- throw $TypeError$2("Can't convert object to primitive value");
22682
+ throw new $TypeError$2("Can't convert object to primitive value");
22655
22683
  };
22656
22684
 
22657
- // eslint-disable-next-line es-x/no-object-defineproperty -- safe
22685
+ // eslint-disable-next-line es/no-object-defineproperty -- safe
22658
22686
  var defineProperty = Object.defineProperty;
22659
22687
 
22660
22688
  var defineGlobalProperty = function (key, value) {
@@ -22671,13 +22699,16 @@ var store = global_1[SHARED] || defineGlobalProperty(SHARED, {});
22671
22699
  var sharedStore = store;
22672
22700
 
22673
22701
  var shared = createCommonjsModule(function (module) {
22702
+
22703
+
22704
+
22674
22705
  (module.exports = function (key, value) {
22675
22706
  return sharedStore[key] || (sharedStore[key] = value !== undefined ? value : {});
22676
22707
  })('versions', []).push({
22677
- version: '3.24.1',
22708
+ version: '3.33.3',
22678
22709
  mode: 'global',
22679
- copyright: '© 2014-2022 Denis Pushkarev (zloirock.ru)',
22680
- license: 'https://github.com/zloirock/core-js/blob/v3.24.1/LICENSE',
22710
+ copyright: '© 2014-2023 Denis Pushkarev (zloirock.ru)',
22711
+ license: 'https://github.com/zloirock/core-js/blob/v3.33.3/LICENSE',
22681
22712
  source: 'https://github.com/zloirock/core-js'
22682
22713
  });
22683
22714
  });
@@ -22694,7 +22725,7 @@ var hasOwnProperty = functionUncurryThis({}.hasOwnProperty);
22694
22725
 
22695
22726
  // `HasOwnProperty` abstract operation
22696
22727
  // https://tc39.es/ecma262/#sec-hasownproperty
22697
- // eslint-disable-next-line es-x/no-object-hasown -- safe
22728
+ // eslint-disable-next-line es/no-object-hasown -- safe
22698
22729
  var hasOwnProperty_1 = Object.hasOwn || function hasOwn(it, key) {
22699
22730
  return hasOwnProperty(toObject(it), key);
22700
22731
  };
@@ -22707,21 +22738,15 @@ var uid = function (key) {
22707
22738
  return 'Symbol(' + (key === undefined ? '' : key) + ')_' + toString$3(++id + postfix, 36);
22708
22739
  };
22709
22740
 
22710
- var WellKnownSymbolsStore = shared('wks');
22711
22741
  var Symbol$1 = global_1.Symbol;
22712
- var symbolFor = Symbol$1 && Symbol$1['for'];
22713
- var createWellKnownSymbol = useSymbolAsUid ? Symbol$1 : Symbol$1 && Symbol$1.withoutSetter || uid;
22742
+ var WellKnownSymbolsStore = shared('wks');
22743
+ var createWellKnownSymbol = useSymbolAsUid ? Symbol$1['for'] || Symbol$1 : Symbol$1 && Symbol$1.withoutSetter || uid;
22714
22744
 
22715
22745
  var wellKnownSymbol = function (name) {
22716
- if (!hasOwnProperty_1(WellKnownSymbolsStore, name) || !(nativeSymbol || typeof WellKnownSymbolsStore[name] == 'string')) {
22717
- var description = 'Symbol.' + name;
22718
- if (nativeSymbol && hasOwnProperty_1(Symbol$1, name)) {
22719
- WellKnownSymbolsStore[name] = Symbol$1[name];
22720
- } else if (useSymbolAsUid && symbolFor) {
22721
- WellKnownSymbolsStore[name] = symbolFor(description);
22722
- } else {
22723
- WellKnownSymbolsStore[name] = createWellKnownSymbol(description);
22724
- }
22746
+ if (!hasOwnProperty_1(WellKnownSymbolsStore, name)) {
22747
+ WellKnownSymbolsStore[name] = symbolConstructorDetection && hasOwnProperty_1(Symbol$1, name)
22748
+ ? Symbol$1[name]
22749
+ : createWellKnownSymbol('Symbol.' + name);
22725
22750
  } return WellKnownSymbolsStore[name];
22726
22751
  };
22727
22752
 
@@ -22738,7 +22763,7 @@ var toPrimitive = function (input, pref) {
22738
22763
  if (pref === undefined) pref = 'default';
22739
22764
  result = functionCall(exoticToPrim, input, pref);
22740
22765
  if (!isObject(result) || isSymbol(result)) return result;
22741
- throw $TypeError$3("Can't convert object to primitive value");
22766
+ throw new $TypeError$3("Can't convert object to primitive value");
22742
22767
  }
22743
22768
  if (pref === undefined) pref = 'number';
22744
22769
  return ordinaryToPrimitive(input, pref);
@@ -22761,13 +22786,13 @@ var documentCreateElement = function (it) {
22761
22786
 
22762
22787
  // Thanks to IE8 for its funny defineProperty
22763
22788
  var ie8DomDefine = !descriptors && !fails(function () {
22764
- // eslint-disable-next-line es-x/no-object-defineproperty -- required for testing
22789
+ // eslint-disable-next-line es/no-object-defineproperty -- required for testing
22765
22790
  return Object.defineProperty(documentCreateElement('div'), 'a', {
22766
22791
  get: function () { return 7; }
22767
- }).a != 7;
22792
+ }).a !== 7;
22768
22793
  });
22769
22794
 
22770
- // eslint-disable-next-line es-x/no-object-getownpropertydescriptor -- safe
22795
+ // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
22771
22796
  var $getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
22772
22797
 
22773
22798
  // `Object.getOwnPropertyDescriptor` method
@@ -22788,26 +22813,26 @@ var objectGetOwnPropertyDescriptor = {
22788
22813
  // V8 ~ Chrome 36-
22789
22814
  // https://bugs.chromium.org/p/v8/issues/detail?id=3334
22790
22815
  var v8PrototypeDefineBug = descriptors && fails(function () {
22791
- // eslint-disable-next-line es-x/no-object-defineproperty -- required for testing
22816
+ // eslint-disable-next-line es/no-object-defineproperty -- required for testing
22792
22817
  return Object.defineProperty(function () { /* empty */ }, 'prototype', {
22793
22818
  value: 42,
22794
22819
  writable: false
22795
- }).prototype != 42;
22820
+ }).prototype !== 42;
22796
22821
  });
22797
22822
 
22798
- var $String$1 = String;
22823
+ var $String$2 = String;
22799
22824
  var $TypeError$4 = TypeError;
22800
22825
 
22801
22826
  // `Assert: Type(argument) is Object`
22802
22827
  var anObject = function (argument) {
22803
22828
  if (isObject(argument)) return argument;
22804
- throw $TypeError$4($String$1(argument) + ' is not an object');
22829
+ throw new $TypeError$4($String$2(argument) + ' is not an object');
22805
22830
  };
22806
22831
 
22807
22832
  var $TypeError$5 = TypeError;
22808
- // eslint-disable-next-line es-x/no-object-defineproperty -- safe
22833
+ // eslint-disable-next-line es/no-object-defineproperty -- safe
22809
22834
  var $defineProperty = Object.defineProperty;
22810
- // eslint-disable-next-line es-x/no-object-getownpropertydescriptor -- safe
22835
+ // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
22811
22836
  var $getOwnPropertyDescriptor$1 = Object.getOwnPropertyDescriptor;
22812
22837
  var ENUMERABLE = 'enumerable';
22813
22838
  var CONFIGURABLE = 'configurable';
@@ -22837,7 +22862,7 @@ var f$2 = descriptors ? v8PrototypeDefineBug ? function defineProperty(O, P, Att
22837
22862
  if (ie8DomDefine) try {
22838
22863
  return $defineProperty(O, P, Attributes);
22839
22864
  } catch (error) { /* empty */ }
22840
- if ('get' in Attributes || 'set' in Attributes) throw $TypeError$5('Accessors not supported');
22865
+ if ('get' in Attributes || 'set' in Attributes) throw new $TypeError$5('Accessors not supported');
22841
22866
  if ('value' in Attributes) O[P] = Attributes.value;
22842
22867
  return O;
22843
22868
  };
@@ -22854,7 +22879,7 @@ var createNonEnumerableProperty = descriptors ? function (object, key, value) {
22854
22879
  };
22855
22880
 
22856
22881
  var FunctionPrototype$1 = Function.prototype;
22857
- // eslint-disable-next-line es-x/no-object-getownpropertydescriptor -- safe
22882
+ // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
22858
22883
  var getDescriptor = descriptors && Object.getOwnPropertyDescriptor;
22859
22884
 
22860
22885
  var EXISTS$1 = hasOwnProperty_1(FunctionPrototype$1, 'name');
@@ -22881,7 +22906,7 @@ var inspectSource = sharedStore.inspectSource;
22881
22906
 
22882
22907
  var WeakMap$1 = global_1.WeakMap;
22883
22908
 
22884
- var nativeWeakMap = isCallable(WeakMap$1) && /native code/.test(inspectSource(WeakMap$1));
22909
+ var weakMapBasicDetection = isCallable(WeakMap$1) && /native code/.test(String(WeakMap$1));
22885
22910
 
22886
22911
  var keys$1 = shared('keys');
22887
22912
 
@@ -22904,27 +22929,29 @@ var getterFor = function (TYPE) {
22904
22929
  return function (it) {
22905
22930
  var state;
22906
22931
  if (!isObject(it) || (state = get(it)).type !== TYPE) {
22907
- throw TypeError$1('Incompatible receiver, ' + TYPE + ' required');
22932
+ throw new TypeError$1('Incompatible receiver, ' + TYPE + ' required');
22908
22933
  } return state;
22909
22934
  };
22910
22935
  };
22911
22936
 
22912
- if (nativeWeakMap || sharedStore.state) {
22937
+ if (weakMapBasicDetection || sharedStore.state) {
22913
22938
  var store$1 = sharedStore.state || (sharedStore.state = new WeakMap$2());
22914
- var wmget = functionUncurryThis(store$1.get);
22915
- var wmhas = functionUncurryThis(store$1.has);
22916
- var wmset = functionUncurryThis(store$1.set);
22939
+ /* eslint-disable no-self-assign -- prototype methods protection */
22940
+ store$1.get = store$1.get;
22941
+ store$1.has = store$1.has;
22942
+ store$1.set = store$1.set;
22943
+ /* eslint-enable no-self-assign -- prototype methods protection */
22917
22944
  set = function (it, metadata) {
22918
- if (wmhas(store$1, it)) throw new TypeError$1(OBJECT_ALREADY_INITIALIZED);
22945
+ if (store$1.has(it)) throw new TypeError$1(OBJECT_ALREADY_INITIALIZED);
22919
22946
  metadata.facade = it;
22920
- wmset(store$1, it, metadata);
22947
+ store$1.set(it, metadata);
22921
22948
  return metadata;
22922
22949
  };
22923
22950
  get = function (it) {
22924
- return wmget(store$1, it) || {};
22951
+ return store$1.get(it) || {};
22925
22952
  };
22926
22953
  has = function (it) {
22927
- return wmhas(store$1, it);
22954
+ return store$1.has(it);
22928
22955
  };
22929
22956
  } else {
22930
22957
  var STATE = sharedKey('state');
@@ -22952,14 +22979,23 @@ var internalState = {
22952
22979
  };
22953
22980
 
22954
22981
  var makeBuiltIn_1 = createCommonjsModule(function (module) {
22982
+
22983
+
22984
+
22985
+
22986
+
22955
22987
  var CONFIGURABLE_FUNCTION_NAME = functionName.CONFIGURABLE;
22956
22988
 
22957
22989
 
22958
22990
 
22959
22991
  var enforceInternalState = internalState.enforce;
22960
22992
  var getInternalState = internalState.get;
22961
- // eslint-disable-next-line es-x/no-object-defineproperty -- safe
22993
+ var $String = String;
22994
+ // eslint-disable-next-line es/no-object-defineproperty -- safe
22962
22995
  var defineProperty = Object.defineProperty;
22996
+ var stringSlice = functionUncurryThis(''.slice);
22997
+ var replace = functionUncurryThis(''.replace);
22998
+ var join = functionUncurryThis([].join);
22963
22999
 
22964
23000
  var CONFIGURABLE_LENGTH = descriptors && !fails(function () {
22965
23001
  return defineProperty(function () { /* empty */ }, 'length', { value: 8 }).length !== 8;
@@ -22968,8 +23004,8 @@ var CONFIGURABLE_LENGTH = descriptors && !fails(function () {
22968
23004
  var TEMPLATE = String(String).split('String');
22969
23005
 
22970
23006
  var makeBuiltIn = module.exports = function (value, name, options) {
22971
- if (String(name).slice(0, 7) === 'Symbol(') {
22972
- name = '[' + String(name).replace(/^Symbol\(([^)]*)\)/, '$1') + ']';
23007
+ if (stringSlice($String(name), 0, 7) === 'Symbol(') {
23008
+ name = '[' + replace($String(name), /^Symbol\(([^)]*)\)/, '$1') + ']';
22973
23009
  }
22974
23010
  if (options && options.getter) name = 'get ' + name;
22975
23011
  if (options && options.setter) name = 'set ' + name;
@@ -22988,7 +23024,7 @@ var makeBuiltIn = module.exports = function (value, name, options) {
22988
23024
  } catch (error) { /* empty */ }
22989
23025
  var state = enforceInternalState(value);
22990
23026
  if (!hasOwnProperty_1(state, 'source')) {
22991
- state.source = TEMPLATE.join(typeof name == 'string' ? name : '');
23027
+ state.source = join(TEMPLATE, typeof name == 'string' ? name : '');
22992
23028
  } return value;
22993
23029
  };
22994
23030
 
@@ -23027,7 +23063,7 @@ var floor = Math.floor;
23027
23063
 
23028
23064
  // `Math.trunc` method
23029
23065
  // https://tc39.es/ecma262/#sec-math.trunc
23030
- // eslint-disable-next-line es-x/no-math-trunc -- safe
23066
+ // eslint-disable-next-line es/no-math-trunc -- safe
23031
23067
  var mathTrunc = Math.trunc || function trunc(x) {
23032
23068
  var n = +x;
23033
23069
  return (n > 0 ? floor : ceil)(n);
@@ -23075,10 +23111,10 @@ var createMethod = function (IS_INCLUDES) {
23075
23111
  var value;
23076
23112
  // Array#includes uses SameValueZero equality algorithm
23077
23113
  // eslint-disable-next-line no-self-compare -- NaN check
23078
- if (IS_INCLUDES && el != el) while (length > index) {
23114
+ if (IS_INCLUDES && el !== el) while (length > index) {
23079
23115
  value = O[index++];
23080
23116
  // eslint-disable-next-line no-self-compare -- NaN check
23081
- if (value != value) return true;
23117
+ if (value !== value) return true;
23082
23118
  // Array#indexOf ignores holes, Array#includes - not
23083
23119
  } else for (;length > index; index++) {
23084
23120
  if ((IS_INCLUDES || index in O) && O[index] === el) return IS_INCLUDES || index || 0;
@@ -23128,7 +23164,7 @@ var hiddenKeys$1 = enumBugKeys.concat('length', 'prototype');
23128
23164
 
23129
23165
  // `Object.getOwnPropertyNames` method
23130
23166
  // https://tc39.es/ecma262/#sec-object.getownpropertynames
23131
- // eslint-disable-next-line es-x/no-object-getownpropertynames -- safe
23167
+ // eslint-disable-next-line es/no-object-getownpropertynames -- safe
23132
23168
  var f$3 = Object.getOwnPropertyNames || function getOwnPropertyNames(O) {
23133
23169
  return objectKeysInternal(O, hiddenKeys$1);
23134
23170
  };
@@ -23137,7 +23173,7 @@ var objectGetOwnPropertyNames = {
23137
23173
  f: f$3
23138
23174
  };
23139
23175
 
23140
- // eslint-disable-next-line es-x/no-object-getownpropertysymbols -- safe
23176
+ // eslint-disable-next-line es/no-object-getownpropertysymbols -- safe
23141
23177
  var f$4 = Object.getOwnPropertySymbols;
23142
23178
 
23143
23179
  var objectGetOwnPropertySymbols = {
@@ -23169,8 +23205,8 @@ var replacement = /#|\.prototype\./;
23169
23205
 
23170
23206
  var isForced = function (feature, detection) {
23171
23207
  var value = data[normalize(feature)];
23172
- return value == POLYFILL ? true
23173
- : value == NATIVE ? false
23208
+ return value === POLYFILL ? true
23209
+ : value === NATIVE ? false
23174
23210
  : isCallable(detection) ? fails(detection)
23175
23211
  : !!detection;
23176
23212
  };
@@ -23250,7 +23286,7 @@ var TO_STRING_TAG$1 = wellKnownSymbol('toStringTag');
23250
23286
  var $Object$3 = Object;
23251
23287
 
23252
23288
  // ES3 wrong here
23253
- var CORRECT_ARGUMENTS = classofRaw(function () { return arguments; }()) == 'Arguments';
23289
+ var CORRECT_ARGUMENTS = classofRaw(function () { return arguments; }()) === 'Arguments';
23254
23290
 
23255
23291
  // fallback for IE11 Script Access Denied error
23256
23292
  var tryGet = function (it, key) {
@@ -23268,25 +23304,25 @@ var classof = toStringTagSupport ? classofRaw : function (it) {
23268
23304
  // builtinTag case
23269
23305
  : CORRECT_ARGUMENTS ? classofRaw(O)
23270
23306
  // ES3 arguments fallback
23271
- : (result = classofRaw(O)) == 'Object' && isCallable(O.callee) ? 'Arguments' : result;
23307
+ : (result = classofRaw(O)) === 'Object' && isCallable(O.callee) ? 'Arguments' : result;
23272
23308
  };
23273
23309
 
23274
- var $String$2 = String;
23310
+ var $String$3 = String;
23275
23311
 
23276
23312
  var toString_1 = function (argument) {
23277
- if (classof(argument) === 'Symbol') throw TypeError('Cannot convert a Symbol value to a string');
23278
- return $String$2(argument);
23313
+ if (classof(argument) === 'Symbol') throw new TypeError('Cannot convert a Symbol value to a string');
23314
+ return $String$3(argument);
23279
23315
  };
23280
23316
 
23281
23317
  var charAt = functionUncurryThis(''.charAt);
23282
23318
 
23283
23319
  var FORCED = fails(function () {
23284
- // eslint-disable-next-line es-x/no-array-string-prototype-at -- safe
23320
+ // eslint-disable-next-line es/no-array-string-prototype-at -- safe
23285
23321
  return '𠮷'.at(-2) !== '\uD842';
23286
23322
  });
23287
23323
 
23288
23324
  // `String.prototype.at` method
23289
- // https://github.com/tc39/proposal-relative-indexing-method
23325
+ // https://tc39.es/ecma262/#sec-string.prototype.at
23290
23326
  _export({ target: 'String', proto: true, forced: FORCED }, {
23291
23327
  at: function at(index) {
23292
23328
  var S = toString_1(requireObjectCoercible(this));
@@ -23299,14 +23335,14 @@ _export({ target: 'String', proto: true, forced: FORCED }, {
23299
23335
 
23300
23336
  // `Object.keys` method
23301
23337
  // https://tc39.es/ecma262/#sec-object.keys
23302
- // eslint-disable-next-line es-x/no-object-keys -- safe
23338
+ // eslint-disable-next-line es/no-object-keys -- safe
23303
23339
  var objectKeys = Object.keys || function keys(O) {
23304
23340
  return objectKeysInternal(O, enumBugKeys);
23305
23341
  };
23306
23342
 
23307
23343
  // `Object.defineProperties` method
23308
23344
  // https://tc39.es/ecma262/#sec-object.defineproperties
23309
- // eslint-disable-next-line es-x/no-object-defineproperties -- safe
23345
+ // eslint-disable-next-line es/no-object-defineproperties -- safe
23310
23346
  var f$5 = descriptors && !v8PrototypeDefineBug ? Object.defineProperties : function defineProperties(O, Properties) {
23311
23347
  anObject(O);
23312
23348
  var props = toIndexedObject(Properties);
@@ -23395,7 +23431,7 @@ hiddenKeys[IE_PROTO] = true;
23395
23431
 
23396
23432
  // `Object.create` method
23397
23433
  // https://tc39.es/ecma262/#sec-object.create
23398
- // eslint-disable-next-line es-x/no-object-create -- safe
23434
+ // eslint-disable-next-line es/no-object-create -- safe
23399
23435
  var objectCreate = Object.create || function create(O, Properties) {
23400
23436
  var result;
23401
23437
  if (O !== null) {
@@ -23415,7 +23451,7 @@ var ArrayPrototype = Array.prototype;
23415
23451
 
23416
23452
  // Array.prototype[@@unscopables]
23417
23453
  // https://tc39.es/ecma262/#sec-array.prototype-@@unscopables
23418
- if (ArrayPrototype[UNSCOPABLES] == undefined) {
23454
+ if (ArrayPrototype[UNSCOPABLES] === undefined) {
23419
23455
  defineProperty$1(ArrayPrototype, UNSCOPABLES, {
23420
23456
  configurable: true,
23421
23457
  value: objectCreate(null)
@@ -23428,7 +23464,7 @@ var addToUnscopables = function (key) {
23428
23464
  };
23429
23465
 
23430
23466
  // `Array.prototype.at` method
23431
- // https://github.com/tc39/proposal-relative-indexing-method
23467
+ // https://tc39.es/ecma262/#sec-array.prototype.at
23432
23468
  _export({ target: 'Array', proto: true }, {
23433
23469
  at: function at(index) {
23434
23470
  var O = toObject(this);
@@ -23441,13 +23477,19 @@ _export({ target: 'Array', proto: true }, {
23441
23477
 
23442
23478
  addToUnscopables('at');
23443
23479
 
23444
- // eslint-disable-next-line es-x/no-typed-arrays -- safe
23445
- var arrayBufferNative = typeof ArrayBuffer != 'undefined' && typeof DataView != 'undefined';
23480
+ // eslint-disable-next-line es/no-typed-arrays -- safe
23481
+ var arrayBufferBasicDetection = typeof ArrayBuffer != 'undefined' && typeof DataView != 'undefined';
23482
+
23483
+ var defineBuiltInAccessor = function (target, name, descriptor) {
23484
+ if (descriptor.get) makeBuiltIn_1(descriptor.get, name, { getter: true });
23485
+ if (descriptor.set) makeBuiltIn_1(descriptor.set, name, { setter: true });
23486
+ return objectDefineProperty.f(target, name, descriptor);
23487
+ };
23446
23488
 
23447
23489
  var correctPrototypeGetter = !fails(function () {
23448
23490
  function F() { /* empty */ }
23449
23491
  F.prototype.constructor = null;
23450
- // eslint-disable-next-line es-x/no-object-getprototypeof -- required for testing
23492
+ // eslint-disable-next-line es/no-object-getprototypeof -- required for testing
23451
23493
  return Object.getPrototypeOf(new F()) !== F.prototype;
23452
23494
  });
23453
23495
 
@@ -23457,7 +23499,7 @@ var ObjectPrototype = $Object$4.prototype;
23457
23499
 
23458
23500
  // `Object.getPrototypeOf` method
23459
23501
  // https://tc39.es/ecma262/#sec-object.getprototypeof
23460
- // eslint-disable-next-line es-x/no-object-getprototypeof -- safe
23502
+ // eslint-disable-next-line es/no-object-getprototypeof -- safe
23461
23503
  var objectGetPrototypeOf = correctPrototypeGetter ? $Object$4.getPrototypeOf : function (O) {
23462
23504
  var object = toObject(O);
23463
23505
  if (hasOwnProperty_1(object, IE_PROTO$1)) return object[IE_PROTO$1];
@@ -23467,12 +23509,19 @@ var objectGetPrototypeOf = correctPrototypeGetter ? $Object$4.getPrototypeOf : f
23467
23509
  } return object instanceof $Object$4 ? ObjectPrototype : null;
23468
23510
  };
23469
23511
 
23470
- var $String$3 = String;
23512
+ var functionUncurryThisAccessor = function (object, key, method) {
23513
+ try {
23514
+ // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
23515
+ return functionUncurryThis(aCallable(Object.getOwnPropertyDescriptor(object, key)[method]));
23516
+ } catch (error) { /* empty */ }
23517
+ };
23518
+
23519
+ var $String$4 = String;
23471
23520
  var $TypeError$6 = TypeError;
23472
23521
 
23473
23522
  var aPossiblePrototype = function (argument) {
23474
23523
  if (typeof argument == 'object' || isCallable(argument)) return argument;
23475
- throw $TypeError$6("Can't set " + $String$3(argument) + ' as a prototype');
23524
+ throw new $TypeError$6("Can't set " + $String$4(argument) + ' as a prototype');
23476
23525
  };
23477
23526
 
23478
23527
  /* eslint-disable no-proto -- safe */
@@ -23483,14 +23532,13 @@ var aPossiblePrototype = function (argument) {
23483
23532
  // `Object.setPrototypeOf` method
23484
23533
  // https://tc39.es/ecma262/#sec-object.setprototypeof
23485
23534
  // Works with __proto__ only. Old v8 can't work with null proto objects.
23486
- // eslint-disable-next-line es-x/no-object-setprototypeof -- safe
23535
+ // eslint-disable-next-line es/no-object-setprototypeof -- safe
23487
23536
  var objectSetPrototypeOf = Object.setPrototypeOf || ('__proto__' in {} ? function () {
23488
23537
  var CORRECT_SETTER = false;
23489
23538
  var test = {};
23490
23539
  var setter;
23491
23540
  try {
23492
- // eslint-disable-next-line es-x/no-object-getownpropertydescriptor -- safe
23493
- setter = functionUncurryThis(Object.getOwnPropertyDescriptor(Object.prototype, '__proto__').set);
23541
+ setter = functionUncurryThisAccessor(Object.prototype, '__proto__', 'set');
23494
23542
  setter(test, []);
23495
23543
  CORRECT_SETTER = test instanceof Array;
23496
23544
  } catch (error) { /* empty */ }
@@ -23503,14 +23551,6 @@ var objectSetPrototypeOf = Object.setPrototypeOf || ('__proto__' in {} ? functio
23503
23551
  };
23504
23552
  }() : undefined);
23505
23553
 
23506
- var defineProperty$2 = objectDefineProperty.f;
23507
-
23508
-
23509
-
23510
-
23511
-
23512
-
23513
-
23514
23554
  var enforceInternalState = internalState.enforce;
23515
23555
  var getInternalState = internalState.get;
23516
23556
  var Int8Array = global_1.Int8Array;
@@ -23526,7 +23566,7 @@ var TO_STRING_TAG$2 = wellKnownSymbol('toStringTag');
23526
23566
  var TYPED_ARRAY_TAG = uid('TYPED_ARRAY_TAG');
23527
23567
  var TYPED_ARRAY_CONSTRUCTOR = 'TypedArrayConstructor';
23528
23568
  // Fixing native typed arrays in Opera Presto crashes the browser, see #595
23529
- var NATIVE_ARRAY_BUFFER_VIEWS = arrayBufferNative && !!objectSetPrototypeOf && classof(global_1.opera) !== 'Opera';
23569
+ var NATIVE_ARRAY_BUFFER_VIEWS = arrayBufferBasicDetection && !!objectSetPrototypeOf && classof(global_1.opera) !== 'Opera';
23530
23570
  var TYPED_ARRAY_TAG_REQUIRED = false;
23531
23571
  var NAME, Constructor, Prototype;
23532
23572
 
@@ -23571,12 +23611,12 @@ var isTypedArray = function (it) {
23571
23611
 
23572
23612
  var aTypedArray = function (it) {
23573
23613
  if (isTypedArray(it)) return it;
23574
- throw TypeError$2('Target is not a typed array');
23614
+ throw new TypeError$2('Target is not a typed array');
23575
23615
  };
23576
23616
 
23577
23617
  var aTypedArrayConstructor = function (C) {
23578
23618
  if (isCallable(C) && (!objectSetPrototypeOf || objectIsPrototypeOf(TypedArray, C))) return C;
23579
- throw TypeError$2(tryToString(C) + ' is not a typed array constructor');
23619
+ throw new TypeError$2(tryToString(C) + ' is not a typed array constructor');
23580
23620
  };
23581
23621
 
23582
23622
  var exportTypedArrayMethod = function (KEY, property, forced, options) {
@@ -23640,7 +23680,7 @@ for (NAME in BigIntArrayConstructorsList) {
23640
23680
  if (!NATIVE_ARRAY_BUFFER_VIEWS || !isCallable(TypedArray) || TypedArray === Function.prototype) {
23641
23681
  // eslint-disable-next-line no-shadow -- safe
23642
23682
  TypedArray = function TypedArray() {
23643
- throw TypeError$2('Incorrect invocation');
23683
+ throw new TypeError$2('Incorrect invocation');
23644
23684
  };
23645
23685
  if (NATIVE_ARRAY_BUFFER_VIEWS) for (NAME in TypedArrayConstructorsList) {
23646
23686
  if (global_1[NAME]) objectSetPrototypeOf(global_1[NAME], TypedArray);
@@ -23661,9 +23701,12 @@ if (NATIVE_ARRAY_BUFFER_VIEWS && objectGetPrototypeOf(Uint8ClampedArrayPrototype
23661
23701
 
23662
23702
  if (descriptors && !hasOwnProperty_1(TypedArrayPrototype, TO_STRING_TAG$2)) {
23663
23703
  TYPED_ARRAY_TAG_REQUIRED = true;
23664
- defineProperty$2(TypedArrayPrototype, TO_STRING_TAG$2, { get: function () {
23665
- return isObject(this) ? this[TYPED_ARRAY_TAG] : undefined;
23666
- } });
23704
+ defineBuiltInAccessor(TypedArrayPrototype, TO_STRING_TAG$2, {
23705
+ configurable: true,
23706
+ get: function () {
23707
+ return isObject(this) ? this[TYPED_ARRAY_TAG] : undefined;
23708
+ }
23709
+ });
23667
23710
  for (NAME in TypedArrayConstructorsList) if (global_1[NAME]) {
23668
23711
  createNonEnumerableProperty(global_1[NAME], TYPED_ARRAY_TAG, NAME);
23669
23712
  }
@@ -23687,7 +23730,7 @@ var aTypedArray$1 = arrayBufferViewCore.aTypedArray;
23687
23730
  var exportTypedArrayMethod$1 = arrayBufferViewCore.exportTypedArrayMethod;
23688
23731
 
23689
23732
  // `%TypedArray%.prototype.at` method
23690
- // https://github.com/tc39/proposal-relative-indexing-method
23733
+ // https://tc39.es/ecma262/#sec-%typedarray%.prototype.at
23691
23734
  exportTypedArrayMethod$1('at', function at(index) {
23692
23735
  var O = aTypedArray$1(this);
23693
23736
  var len = lengthOfArrayLike(O);
@@ -24203,9 +24246,7 @@ var FormSelect = function FormSelect(_ref) {
24203
24246
  _ref$dataQa = _ref.dataQa,
24204
24247
  dataQa = _ref$dataQa === void 0 ? null : _ref$dataQa,
24205
24248
  _ref$widthFitOptions = _ref.widthFitOptions,
24206
- widthFitOptions = _ref$widthFitOptions === void 0 ? false : _ref$widthFitOptions,
24207
- _ref$isRequired = _ref.isRequired,
24208
- isRequired = _ref$isRequired === void 0 ? false : _ref$isRequired;
24249
+ widthFitOptions = _ref$widthFitOptions === void 0 ? false : _ref$widthFitOptions;
24209
24250
 
24210
24251
  var _useState = React.useState(false),
24211
24252
  _useState2 = _slicedToArray(_useState, 2),
@@ -24267,8 +24308,7 @@ var FormSelect = function FormSelect(_ref) {
24267
24308
  },
24268
24309
  disabled: disabled,
24269
24310
  autocompleteValue: autocompleteValue,
24270
- smoothScroll: smoothScroll,
24271
- required: isRequired
24311
+ smoothScroll: smoothScroll
24272
24312
  }), /*#__PURE__*/React__default.createElement(Stack, {
24273
24313
  direction: "row",
24274
24314
  justify: "space-between"
@@ -25038,9 +25078,7 @@ var CountryDropdown = function CountryDropdown(_ref) {
25038
25078
  showErrors = _ref.showErrors,
25039
25079
  onChange = _ref.onChange,
25040
25080
  _ref$dataQa = _ref.dataQa,
25041
- dataQa = _ref$dataQa === void 0 ? null : _ref$dataQa,
25042
- _ref$isRequired = _ref.isRequired,
25043
- isRequired = _ref$isRequired === void 0 ? false : _ref$isRequired;
25081
+ dataQa = _ref$dataQa === void 0 ? null : _ref$dataQa;
25044
25082
  return /*#__PURE__*/React__default.createElement(FormSelect$1, {
25045
25083
  options: options,
25046
25084
  field: field,
@@ -25050,8 +25088,7 @@ var CountryDropdown = function CountryDropdown(_ref) {
25050
25088
  errorMessages: errorMessages,
25051
25089
  showErrors: showErrors,
25052
25090
  onChange: onChange,
25053
- autocompleteValue: "country-name",
25054
- isRequired: isRequired
25091
+ autocompleteValue: "country-name"
25055
25092
  });
25056
25093
  };
25057
25094
 
@@ -25896,7 +25933,7 @@ var fallbackValues$k = {
25896
25933
  };
25897
25934
 
25898
25935
  var _excluded$p = ["showErrors", "themeValues"],
25899
- _excluded2 = ["type", "labelTextWhenNoError", "errorMessages", "isNum", "isEmail", "helperModal", "field", "fieldActions", "showErrors", "formatter", "decorator", "themeValues", "background", "customHeight", "autocompleteValue", "extraStyles", "removeFromValue", "dataQa", "isRequired"];
25936
+ _excluded2 = ["type", "labelTextWhenNoError", "errorMessages", "isNum", "isEmail", "helperModal", "field", "fieldActions", "showErrors", "formatter", "decorator", "themeValues", "background", "customHeight", "autocompleteValue", "extraStyles", "removeFromValue", "dataQa"];
25900
25937
  var InputField = styled__default.input.withConfig({
25901
25938
  displayName: "FormInput__InputField",
25902
25939
  componentId: "sc-l094r1-0"
@@ -25983,8 +26020,6 @@ var FormInput = function FormInput(_ref15) {
25983
26020
  removeFromValue = _ref15.removeFromValue,
25984
26021
  _ref15$dataQa = _ref15.dataQa,
25985
26022
  dataQa = _ref15$dataQa === void 0 ? null : _ref15$dataQa,
25986
- _ref15$isRequired = _ref15.isRequired,
25987
- isRequired = _ref15$isRequired === void 0 ? false : _ref15$isRequired,
25988
26023
  props = _objectWithoutProperties(_ref15, _excluded2);
25989
26024
 
25990
26025
  var _useState = React.useState(false),
@@ -26071,8 +26106,7 @@ var FormInput = function FormInput(_ref15) {
26071
26106
  $customHeight: customHeight,
26072
26107
  $extraStyles: extraStyles,
26073
26108
  "data-qa": dataQa || labelTextWhenNoError,
26074
- autoComplete: autocompleteValue,
26075
- required: isRequired
26109
+ autoComplete: autocompleteValue
26076
26110
  }, props)) : /*#__PURE__*/React__default.createElement(InputField, _extends({
26077
26111
  "aria-labelledby": createIdFromString(labelTextWhenNoError),
26078
26112
  "aria-describedby": createIdFromString(labelTextWhenNoError, "error message"),
@@ -26091,8 +26125,7 @@ var FormInput = function FormInput(_ref15) {
26091
26125
  $customHeight: customHeight,
26092
26126
  $extraStyles: extraStyles,
26093
26127
  "data-qa": dataQa || labelTextWhenNoError,
26094
- autoComplete: autocompleteValue,
26095
- required: isRequired
26128
+ autoComplete: autocompleteValue
26096
26129
  }, props))), /*#__PURE__*/React__default.createElement(Stack, {
26097
26130
  direction: "row",
26098
26131
  justify: "space-between",
@@ -27245,7 +27278,7 @@ var RadioButtonWithLabel = function RadioButtonWithLabel(_ref5) {
27245
27278
  var RadioButtonWithLabel$1 = themeComponent(RadioButtonWithLabel, "RadioButtonWithLabel", fallbackValues$u);
27246
27279
 
27247
27280
  var activeColor$6 = "".concat(MATISSE_BLUE);
27248
- var inactiveColor = "".concat(GREY_CHATEAU);
27281
+ var inactiveColor = "".concat(STORM_GREY);
27249
27282
  var fallbackValues$v = {
27250
27283
  activeColor: activeColor$6,
27251
27284
  inactiveColor: inactiveColor
@@ -27278,19 +27311,21 @@ var RadioButton$1 = function RadioButton(_ref2) {
27278
27311
  var buttonBorder = {
27279
27312
  onFocused: {
27280
27313
  borderColor: themeValues.activeColor,
27281
- boxShadow: "0px 0px 4px 0px ".concat(themeValues.activeColor)
27314
+ outline: "3px solid ".concat(themeValues.activeColor),
27315
+ outlineOffset: "2px"
27282
27316
  },
27283
27317
  offFocused: {
27284
27318
  borderColor: themeValues.activeColor,
27285
- boxShadow: "0px 0px 4px 0px ".concat(themeValues.activeColor)
27319
+ outline: "3px solid ".concat(themeValues.activeColor),
27320
+ outlineOffset: "2px"
27286
27321
  },
27287
27322
  on: {
27288
27323
  borderColor: themeValues.activeColor,
27289
- boxShadow: "0px 0px 0px 0px #FFFFFF"
27324
+ outline: "0"
27290
27325
  },
27291
27326
  off: {
27292
27327
  borderColor: themeValues.inactiveColor,
27293
- boxShadow: "0px 0px 0px 0px #FFFFFF"
27328
+ outline: "0"
27294
27329
  }
27295
27330
  };
27296
27331
  var buttonCenter = {
@@ -27339,7 +27374,7 @@ var RadioButton$1 = function RadioButton(_ref2) {
27339
27374
  borderWidth: "1px",
27340
27375
  borderStyle: "solid",
27341
27376
  borderRadius: "12px",
27342
- margin: "4px 14px 4px 4px",
27377
+ margin: "6px 14px 6px 6px",
27343
27378
  height: "24px",
27344
27379
  width: "24px",
27345
27380
  variants: buttonBorder,
@@ -47867,7 +47902,7 @@ var TermsAndConditions = function TermsAndConditions(_ref) {
47867
47902
  };
47868
47903
 
47869
47904
  var PaymentFormACH = function PaymentFormACH(_ref) {
47870
- var _routingNumberErrors, _confirmRoutingNumber, _accountNumberErrors, _confirmAccountNumber;
47905
+ var _routingNumberErrors, _accountNumberErrors;
47871
47906
 
47872
47907
  var _ref$variant = _ref.variant,
47873
47908
  variant = _ref$variant === void 0 ? "default" : _ref$variant,
@@ -47910,19 +47945,15 @@ var PaymentFormACH = function PaymentFormACH(_ref) {
47910
47945
  var nameErrors = _defineProperty({}, required.error, "Name is required");
47911
47946
 
47912
47947
  var routingNumberErrors = (_routingNumberErrors = {}, _defineProperty(_routingNumberErrors, required.error, "Routing number is required"), _defineProperty(_routingNumberErrors, hasLength.error, "Routing number must be 9 digits"), _defineProperty(_routingNumberErrors, isRoutingNumber.error, "Invalid routing number"), _routingNumberErrors);
47913
- var confirmRoutingNumberErrors = (_confirmRoutingNumber = {}, _defineProperty(_confirmRoutingNumber, matchesField.error, "Confirm routing number field must match routing number"), _defineProperty(_confirmRoutingNumber, required.error, "Confirm routing number is required"), _confirmRoutingNumber);
47948
+
47949
+ var confirmRoutingNumberErrors = _defineProperty({}, matchesField.error, "Confirm routing number field must match routing number");
47950
+
47914
47951
  var accountNumberErrors = (_accountNumberErrors = {}, _defineProperty(_accountNumberErrors, required.error, "Account number is required"), _defineProperty(_accountNumberErrors, hasLength.error, "Account number must be between 5 and 17 digits"), _accountNumberErrors);
47915
- var confirmAccountNumberErrors = (_confirmAccountNumber = {}, _defineProperty(_confirmAccountNumber, matchesField.error, "Confirm account number field must match account number"), _defineProperty(_confirmAccountNumber, required.error, "Confirm account number is required"), _confirmAccountNumber);
47916
47952
 
47917
- var accountTypeErrors = _defineProperty({}, required.error, "Account type is required");
47953
+ var confirmAccountNumberErrors = _defineProperty({}, matchesField.error, "Confirm account number field must match account number");
47918
47954
 
47919
- var getIsRequiredFromValidators = React.useCallback(function (field) {
47920
- var _field$validators;
47955
+ var accountTypeErrors = _defineProperty({}, required.error, "Account type is required");
47921
47956
 
47922
- return !!(field !== null && field !== void 0 && (_field$validators = field.validators) !== null && _field$validators !== void 0 && _field$validators.find(function (validator) {
47923
- return validator.type === "validator/REQUIRED";
47924
- }));
47925
- }, []);
47926
47957
  return /*#__PURE__*/React__default.createElement(FormContainer$1, {
47927
47958
  variant: variant,
47928
47959
  role: "form",
@@ -47937,8 +47968,7 @@ var PaymentFormACH = function PaymentFormACH(_ref) {
47937
47968
  onKeyDown: function onKeyDown(e) {
47938
47969
  return e.key === "Enter" && handleSubmit(e);
47939
47970
  },
47940
- autocompleteValue: "name",
47941
- isRequired: getIsRequiredFromValidators(fields.name)
47971
+ autocompleteValue: "name"
47942
47972
  }), /*#__PURE__*/React__default.createElement(FormInput$1, {
47943
47973
  labelTextWhenNoError: "Routing number",
47944
47974
  dataQa: "Routing number",
@@ -47946,7 +47976,6 @@ var PaymentFormACH = function PaymentFormACH(_ref) {
47946
47976
  field: fields.routingNumber,
47947
47977
  fieldActions: actions.fields.routingNumber,
47948
47978
  showErrors: showErrors,
47949
- isRequired: getIsRequiredFromValidators(fields.routingNumber),
47950
47979
  isNum: true,
47951
47980
  helperModal: function helperModal() {
47952
47981
  return /*#__PURE__*/React__default.createElement(AccountAndRoutingModal$1, {
@@ -47972,7 +48001,6 @@ var PaymentFormACH = function PaymentFormACH(_ref) {
47972
48001
  onKeyDown: function onKeyDown(e) {
47973
48002
  return e.key === "Enter" && handleSubmit(e);
47974
48003
  },
47975
- isRequired: getIsRequiredFromValidators(fields.confirmRoutingNumber),
47976
48004
  isNum: true
47977
48005
  }), /*#__PURE__*/React__default.createElement(FormInput$1, {
47978
48006
  labelTextWhenNoError: "Account number",
@@ -47981,7 +48009,6 @@ var PaymentFormACH = function PaymentFormACH(_ref) {
47981
48009
  field: fields.accountNumber,
47982
48010
  fieldActions: actions.fields.accountNumber,
47983
48011
  showErrors: showErrors,
47984
- isRequired: getIsRequiredFromValidators(fields.accountNumber),
47985
48012
  isNum: true,
47986
48013
  helperModal: function helperModal() {
47987
48014
  return /*#__PURE__*/React__default.createElement(AccountAndRoutingModal$1, {
@@ -48007,7 +48034,6 @@ var PaymentFormACH = function PaymentFormACH(_ref) {
48007
48034
  onKeyDown: function onKeyDown(e) {
48008
48035
  return e.key === "Enter" && handleSubmit(e);
48009
48036
  },
48010
- isRequired: getIsRequiredFromValidators(fields.confirmAccountNumber),
48011
48037
  isNum: true
48012
48038
  }), allowBankAccountType && /*#__PURE__*/React__default.createElement(FormSelect$1, {
48013
48039
  labelTextWhenNoError: "Account type",
@@ -48025,8 +48051,7 @@ var PaymentFormACH = function PaymentFormACH(_ref) {
48025
48051
  fieldActions: actions.fields.accountType,
48026
48052
  showErrors: showErrors,
48027
48053
  errorMessages: accountTypeErrors,
48028
- field: fields.accountType,
48029
- isRequired: getIsRequiredFromValidators(fields.accountType)
48054
+ field: fields.accountType
48030
48055
  }), !hideDefaultPayment && /*#__PURE__*/React__default.createElement(Checkbox$1, {
48031
48056
  title: "Save as Default Payment Method",
48032
48057
  dataQa: "default-payment-ach",
@@ -48062,7 +48087,7 @@ var formConfig$6 = {
48062
48087
  constraints: [onlyIntegers(), hasLength(0, 9)]
48063
48088
  },
48064
48089
  confirmRoutingNumber: {
48065
- validators: [matchesField("routingNumber"), required()],
48090
+ validators: [matchesField("routingNumber")],
48066
48091
  constraints: [onlyIntegers(), hasLength(0, 9)]
48067
48092
  },
48068
48093
  accountNumber: {
@@ -48070,7 +48095,7 @@ var formConfig$6 = {
48070
48095
  constraints: [onlyIntegers(), hasLength(0, 17)]
48071
48096
  },
48072
48097
  confirmAccountNumber: {
48073
- validators: [matchesField("accountNumber"), required()],
48098
+ validators: [matchesField("accountNumber")],
48074
48099
  constraints: [onlyIntegers(), hasLength(0, 17)]
48075
48100
  },
48076
48101
  accountType: {
@@ -48111,13 +48136,6 @@ var PaymentFormCard = function PaymentFormCard(_ref) {
48111
48136
  isMobile = _useContext.isMobile;
48112
48137
 
48113
48138
  var showTerms = !!termsContent;
48114
- var getIsRequiredFromValidators = React.useCallback(function (field) {
48115
- var _field$validators;
48116
-
48117
- return !!(field !== null && field !== void 0 && (_field$validators = field.validators) !== null && _field$validators !== void 0 && _field$validators.find(function (validator) {
48118
- return validator.type === "validator/REQUIRED";
48119
- }));
48120
- }, []);
48121
48139
  React.useEffect(function () {
48122
48140
  if (deniedCards) {
48123
48141
  deniedCards.map(function (card) {
@@ -48160,8 +48178,7 @@ var PaymentFormCard = function PaymentFormCard(_ref) {
48160
48178
  }
48161
48179
  },
48162
48180
  showErrors: showErrors,
48163
- dataQa: "Country",
48164
- isRequired: getIsRequiredFromValidators(fields.country)
48181
+ dataQa: "Country"
48165
48182
  }), /*#__PURE__*/React__default.createElement(FormInput$1, {
48166
48183
  labelTextWhenNoError: "Name on card",
48167
48184
  dataQa: "Name on card",
@@ -48172,8 +48189,7 @@ var PaymentFormCard = function PaymentFormCard(_ref) {
48172
48189
  onKeyDown: function onKeyDown(e) {
48173
48190
  return e.key === "Enter" && handleSubmit(e);
48174
48191
  },
48175
- autocompleteValue: "cc-name",
48176
- isRequired: getIsRequiredFromValidators(fields.nameOnCard)
48192
+ autocompleteValue: "cc-name"
48177
48193
  }), /*#__PURE__*/React__default.createElement(FormInput$1, {
48178
48194
  labelTextWhenNoError: "Credit card number",
48179
48195
  dataQa: "Credit card number",
@@ -48186,8 +48202,7 @@ var PaymentFormCard = function PaymentFormCard(_ref) {
48186
48202
  return e.key === "Enter" && handleSubmit(e);
48187
48203
  },
48188
48204
  isNum: true,
48189
- autocompleteValue: "cc-number",
48190
- isRequired: getIsRequiredFromValidators(fields.creditCardNumber)
48205
+ autocompleteValue: "cc-number"
48191
48206
  }), /*#__PURE__*/React__default.createElement(FormInputRow, {
48192
48207
  breakpoint: isMobile ? "1000rem" : "21rem",
48193
48208
  childGap: isMobile ? "0rem" : "1rem"
@@ -48205,8 +48220,7 @@ var PaymentFormCard = function PaymentFormCard(_ref) {
48205
48220
  isNum: true,
48206
48221
  removeFromValue: /\// // removes "/" from browser autofill
48207
48222
  ,
48208
- autocompleteValue: "cc-exp",
48209
- isRequired: getIsRequiredFromValidators(fields.expirationDate)
48223
+ autocompleteValue: "cc-exp"
48210
48224
  }), /*#__PURE__*/React__default.createElement(FormInput$1, {
48211
48225
  labelTextWhenNoError: "CVV",
48212
48226
  dataQa: "CVV",
@@ -48219,8 +48233,7 @@ var PaymentFormCard = function PaymentFormCard(_ref) {
48219
48233
  onKeyDown: function onKeyDown(e) {
48220
48234
  return e.key === "Enter" && handleSubmit(e);
48221
48235
  },
48222
- autocompleteValue: "cc-csc",
48223
- isRequired: getIsRequiredFromValidators(fields.cvv)
48236
+ autocompleteValue: "cc-csc"
48224
48237
  })), !hideZipCode && /*#__PURE__*/React__default.createElement(Box, {
48225
48238
  padding: isMobile ? "0" : "0 0.5rem 0 0",
48226
48239
  width: isMobile ? "100%" : "50%"
@@ -48236,8 +48249,7 @@ var PaymentFormCard = function PaymentFormCard(_ref) {
48236
48249
  onKeyDown: function onKeyDown(e) {
48237
48250
  return e.key === "Enter" && handleSubmit(e);
48238
48251
  },
48239
- autocompleteValue: "billing postal-code",
48240
- isRequired: getIsRequiredFromValidators(fields.zipCode)
48252
+ autocompleteValue: "billing postal-code"
48241
48253
  })), (showWalletCheckbox || showTerms) && /*#__PURE__*/React__default.createElement(Cluster, {
48242
48254
  childGap: "4px",
48243
48255
  align: "center"
@@ -48668,8 +48680,7 @@ var RadioSection = function RadioSection(_ref) {
48668
48680
  extraStyles: borderStyles,
48669
48681
  role: "radio",
48670
48682
  "aria-checked": openSection === section.id,
48671
- disabled: section.disabled,
48672
- required: section === null || section === void 0 ? void 0 : section.required
48683
+ "aria-disabled": section.disabled
48673
48684
  }, /*#__PURE__*/React__default.createElement(Stack, {
48674
48685
  childGap: "0"
48675
48686
  }, /*#__PURE__*/React__default.createElement(Box, {
@@ -48699,8 +48710,6 @@ var RadioSection = function RadioSection(_ref) {
48699
48710
  }, !section.hideRadioButton && /*#__PURE__*/React__default.createElement(Box, {
48700
48711
  padding: "0"
48701
48712
  }, /*#__PURE__*/React__default.createElement(RadioButton$2, {
48702
- role: "radio",
48703
- required: !!(section !== null && section !== void 0 && section.required),
48704
48713
  id: "radio-input-".concat(idString(section)),
48705
48714
  name: idString(section),
48706
48715
  ariaDescribedBy: ariaDescribedBy,