@thecb/components 9.1.4-beta.6 → 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.
Files changed (25) hide show
  1. package/dist/index.cjs.js +204 -203
  2. package/dist/index.cjs.js.map +1 -1
  3. package/dist/index.esm.js +204 -203
  4. package/dist/index.esm.js.map +1 -1
  5. package/package.json +1 -1
  6. package/src/components/atoms/country-dropdown/CountryDropdown.js +1 -3
  7. package/src/components/atoms/dropdown/Dropdown.js +2 -3
  8. package/src/components/atoms/form-layouts/FormInput.js +0 -3
  9. package/src/components/atoms/form-select/FormSelect.js +1 -3
  10. package/src/components/atoms/layouts/Motion.styled.js +1 -1
  11. package/src/components/atoms/state-province-dropdown/StateProvinceDropdown.js +1 -3
  12. package/src/components/molecules/address-form/AddressForm.js +1 -10
  13. package/src/components/molecules/payment-form-ach/PaymentFormACH.js +3 -22
  14. package/src/components/molecules/payment-form-ach/PaymentFormACH.state.js +2 -2
  15. package/src/components/molecules/payment-form-card/PaymentFormCard.js +1 -18
  16. package/src/components/molecules/radio-section/RadioSection.js +1 -4
  17. package/src/components/molecules/radio-section/RadioSection.stories.js +3 -4
  18. package/src/components/molecules/radio-section/radio-button/RadioButton.js +8 -8
  19. package/src/components/molecules/radio-section/radio-button/RadioButton.theme.js +2 -2
  20. package/dist/src/apps/checkout/pages/payment/sub-pages/payment-amount/PaymentAmount_old.js +0 -49322
  21. package/src/.DS_Store +0 -0
  22. package/src/components/.DS_Store +0 -0
  23. package/src/components/atoms/.DS_Store +0 -0
  24. package/src/components/atoms/icons/.DS_Store +0 -0
  25. package/src/util/formUtils.js +0 -9
package/dist/index.esm.js CHANGED
@@ -12398,7 +12398,7 @@ if (typeof window !== "undefined") {
12398
12398
  var MotionWrapper = styled(motion.div).withConfig({
12399
12399
  displayName: "Motionstyled__MotionWrapper",
12400
12400
  componentId: "sc-1m6r1io-0"
12401
- })(["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) {
12401
+ })(["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) {
12402
12402
  var position = _ref.position;
12403
12403
  return position;
12404
12404
  }, function (_ref2) {
@@ -22415,17 +22415,18 @@ var DropdownIcon = function DropdownIcon() {
22415
22415
  };
22416
22416
 
22417
22417
  var check = function (it) {
22418
- return it && it.Math == Math && it;
22418
+ return it && it.Math === Math && it;
22419
22419
  };
22420
22420
 
22421
22421
  // https://github.com/zloirock/core-js/issues/86#issuecomment-115759028
22422
22422
  var global_1 =
22423
- // eslint-disable-next-line es-x/no-global-this -- safe
22423
+ // eslint-disable-next-line es/no-global-this -- safe
22424
22424
  check(typeof globalThis == 'object' && globalThis) ||
22425
22425
  check(typeof window == 'object' && window) ||
22426
22426
  // eslint-disable-next-line no-restricted-globals -- safe
22427
22427
  check(typeof self == 'object' && self) ||
22428
22428
  check(typeof commonjsGlobal == 'object' && commonjsGlobal) ||
22429
+ check(typeof commonjsGlobal == 'object' && commonjsGlobal) ||
22429
22430
  // eslint-disable-next-line no-new-func -- fallback
22430
22431
  (function () { return this; })() || Function('return this')();
22431
22432
 
@@ -22439,12 +22440,12 @@ var fails = function (exec) {
22439
22440
 
22440
22441
  // Detect IE8's incomplete defineProperty implementation
22441
22442
  var descriptors = !fails(function () {
22442
- // eslint-disable-next-line es-x/no-object-defineproperty -- required for testing
22443
- return Object.defineProperty({}, 1, { get: function () { return 7; } })[1] != 7;
22443
+ // eslint-disable-next-line es/no-object-defineproperty -- required for testing
22444
+ return Object.defineProperty({}, 1, { get: function () { return 7; } })[1] !== 7;
22444
22445
  });
22445
22446
 
22446
22447
  var functionBindNative = !fails(function () {
22447
- // eslint-disable-next-line es-x/no-function-prototype-bind -- safe
22448
+ // eslint-disable-next-line es/no-function-prototype-bind -- safe
22448
22449
  var test = (function () { /* empty */ }).bind();
22449
22450
  // eslint-disable-next-line no-prototype-builtins -- safe
22450
22451
  return typeof test != 'function' || test.hasOwnProperty('prototype');
@@ -22457,7 +22458,7 @@ var functionCall = functionBindNative ? call.bind(call) : function () {
22457
22458
  };
22458
22459
 
22459
22460
  var $propertyIsEnumerable = {}.propertyIsEnumerable;
22460
- // eslint-disable-next-line es-x/no-object-getownpropertydescriptor -- safe
22461
+ // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
22461
22462
  var getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
22462
22463
 
22463
22464
  // Nashorn ~ JDK8 bug
@@ -22484,14 +22485,11 @@ var createPropertyDescriptor = function (bitmap, value) {
22484
22485
  };
22485
22486
 
22486
22487
  var FunctionPrototype = Function.prototype;
22487
- var bind$1 = FunctionPrototype.bind;
22488
22488
  var call$1 = FunctionPrototype.call;
22489
- var uncurryThis = functionBindNative && bind$1.bind(call$1, call$1);
22489
+ var uncurryThisWithBind = functionBindNative && FunctionPrototype.bind.bind(call$1, call$1);
22490
22490
 
22491
- var functionUncurryThis = functionBindNative ? function (fn) {
22492
- return fn && uncurryThis(fn);
22493
- } : function (fn) {
22494
- return fn && function () {
22491
+ var functionUncurryThis = functionBindNative ? uncurryThisWithBind : function (fn) {
22492
+ return function () {
22495
22493
  return call$1.apply(fn, arguments);
22496
22494
  };
22497
22495
  };
@@ -22512,15 +22510,21 @@ var indexedObject = fails(function () {
22512
22510
  // eslint-disable-next-line no-prototype-builtins -- safe
22513
22511
  return !$Object('z').propertyIsEnumerable(0);
22514
22512
  }) ? function (it) {
22515
- return classofRaw(it) == 'String' ? split(it, '') : $Object(it);
22513
+ return classofRaw(it) === 'String' ? split(it, '') : $Object(it);
22516
22514
  } : $Object;
22517
22515
 
22516
+ // we can't use just `it == null` since of `document.all` special case
22517
+ // https://tc39.es/ecma262/#sec-IsHTMLDDA-internal-slot-aec
22518
+ var isNullOrUndefined = function (it) {
22519
+ return it === null || it === undefined;
22520
+ };
22521
+
22518
22522
  var $TypeError = TypeError;
22519
22523
 
22520
22524
  // `RequireObjectCoercible` abstract operation
22521
22525
  // https://tc39.es/ecma262/#sec-requireobjectcoercible
22522
22526
  var requireObjectCoercible = function (it) {
22523
- if (it == undefined) throw $TypeError("Can't call method on " + it);
22527
+ if (isNullOrUndefined(it)) throw new $TypeError("Can't call method on " + it);
22524
22528
  return it;
22525
22529
  };
22526
22530
 
@@ -22532,13 +22536,32 @@ var toIndexedObject = function (it) {
22532
22536
  return indexedObject(requireObjectCoercible(it));
22533
22537
  };
22534
22538
 
22539
+ var documentAll = typeof document == 'object' && document.all;
22540
+
22541
+ // https://tc39.es/ecma262/#sec-IsHTMLDDA-internal-slot
22542
+ // eslint-disable-next-line unicorn/no-typeof-undefined -- required for testing
22543
+ var IS_HTMLDDA = typeof documentAll == 'undefined' && documentAll !== undefined;
22544
+
22545
+ var documentAll_1 = {
22546
+ all: documentAll,
22547
+ IS_HTMLDDA: IS_HTMLDDA
22548
+ };
22549
+
22550
+ var documentAll$1 = documentAll_1.all;
22551
+
22535
22552
  // `IsCallable` abstract operation
22536
22553
  // https://tc39.es/ecma262/#sec-iscallable
22537
- var isCallable = function (argument) {
22554
+ var isCallable = documentAll_1.IS_HTMLDDA ? function (argument) {
22555
+ return typeof argument == 'function' || argument === documentAll$1;
22556
+ } : function (argument) {
22538
22557
  return typeof argument == 'function';
22539
22558
  };
22540
22559
 
22541
- var isObject = function (it) {
22560
+ var documentAll$2 = documentAll_1.all;
22561
+
22562
+ var isObject = documentAll_1.IS_HTMLDDA ? function (it) {
22563
+ return typeof it == 'object' ? it !== null : isCallable(it) || it === documentAll$2;
22564
+ } : function (it) {
22542
22565
  return typeof it == 'object' ? it !== null : isCallable(it);
22543
22566
  };
22544
22567
 
@@ -22552,7 +22575,7 @@ var getBuiltIn = function (namespace, method) {
22552
22575
 
22553
22576
  var objectIsPrototypeOf = functionUncurryThis({}.isPrototypeOf);
22554
22577
 
22555
- var engineUserAgent = getBuiltIn('navigator', 'userAgent') || '';
22578
+ var engineUserAgent = typeof navigator != 'undefined' && String(navigator.userAgent) || '';
22556
22579
 
22557
22580
  var process$1 = global_1.process;
22558
22581
  var Deno = global_1.Deno;
@@ -22579,24 +22602,29 @@ if (!version && engineUserAgent) {
22579
22602
 
22580
22603
  var engineV8Version = version;
22581
22604
 
22582
- /* eslint-disable es-x/no-symbol -- required for testing */
22605
+ /* eslint-disable es/no-symbol -- required for testing */
22606
+
22607
+
22583
22608
 
22584
22609
 
22610
+ var $String = global_1.String;
22585
22611
 
22586
- // eslint-disable-next-line es-x/no-object-getownpropertysymbols -- required for testing
22587
- var nativeSymbol = !!Object.getOwnPropertySymbols && !fails(function () {
22588
- var symbol = Symbol();
22612
+ // eslint-disable-next-line es/no-object-getownpropertysymbols -- required for testing
22613
+ var symbolConstructorDetection = !!Object.getOwnPropertySymbols && !fails(function () {
22614
+ var symbol = Symbol('symbol detection');
22589
22615
  // Chrome 38 Symbol has incorrect toString conversion
22590
22616
  // `get-own-property-symbols` polyfill symbols converted to object are not Symbol instances
22591
- return !String(symbol) || !(Object(symbol) instanceof Symbol) ||
22617
+ // nb: Do not call `String` directly to avoid this being optimized out to `symbol+''` which will,
22618
+ // of course, fail.
22619
+ return !$String(symbol) || !(Object(symbol) instanceof Symbol) ||
22592
22620
  // Chrome 38-40 symbols are not inherited from DOM collections prototypes to instances
22593
22621
  !Symbol.sham && engineV8Version && engineV8Version < 41;
22594
22622
  });
22595
22623
 
22596
- /* eslint-disable es-x/no-symbol -- required for testing */
22624
+ /* eslint-disable es/no-symbol -- required for testing */
22597
22625
 
22598
22626
 
22599
- var useSymbolAsUid = nativeSymbol
22627
+ var useSymbolAsUid = symbolConstructorDetection
22600
22628
  && !Symbol.sham
22601
22629
  && typeof Symbol.iterator == 'symbol';
22602
22630
 
@@ -22609,11 +22637,11 @@ var isSymbol = useSymbolAsUid ? function (it) {
22609
22637
  return isCallable($Symbol) && objectIsPrototypeOf($Symbol.prototype, $Object$1(it));
22610
22638
  };
22611
22639
 
22612
- var $String = String;
22640
+ var $String$1 = String;
22613
22641
 
22614
22642
  var tryToString = function (argument) {
22615
22643
  try {
22616
- return $String(argument);
22644
+ return $String$1(argument);
22617
22645
  } catch (error) {
22618
22646
  return 'Object';
22619
22647
  }
@@ -22624,14 +22652,14 @@ var $TypeError$1 = TypeError;
22624
22652
  // `Assert: IsCallable(argument) is true`
22625
22653
  var aCallable = function (argument) {
22626
22654
  if (isCallable(argument)) return argument;
22627
- throw $TypeError$1(tryToString(argument) + ' is not a function');
22655
+ throw new $TypeError$1(tryToString(argument) + ' is not a function');
22628
22656
  };
22629
22657
 
22630
22658
  // `GetMethod` abstract operation
22631
22659
  // https://tc39.es/ecma262/#sec-getmethod
22632
22660
  var getMethod = function (V, P) {
22633
22661
  var func = V[P];
22634
- return func == null ? undefined : aCallable(func);
22662
+ return isNullOrUndefined(func) ? undefined : aCallable(func);
22635
22663
  };
22636
22664
 
22637
22665
  var $TypeError$2 = TypeError;
@@ -22643,10 +22671,10 @@ var ordinaryToPrimitive = function (input, pref) {
22643
22671
  if (pref === 'string' && isCallable(fn = input.toString) && !isObject(val = functionCall(fn, input))) return val;
22644
22672
  if (isCallable(fn = input.valueOf) && !isObject(val = functionCall(fn, input))) return val;
22645
22673
  if (pref !== 'string' && isCallable(fn = input.toString) && !isObject(val = functionCall(fn, input))) return val;
22646
- throw $TypeError$2("Can't convert object to primitive value");
22674
+ throw new $TypeError$2("Can't convert object to primitive value");
22647
22675
  };
22648
22676
 
22649
- // eslint-disable-next-line es-x/no-object-defineproperty -- safe
22677
+ // eslint-disable-next-line es/no-object-defineproperty -- safe
22650
22678
  var defineProperty = Object.defineProperty;
22651
22679
 
22652
22680
  var defineGlobalProperty = function (key, value) {
@@ -22663,13 +22691,16 @@ var store = global_1[SHARED] || defineGlobalProperty(SHARED, {});
22663
22691
  var sharedStore = store;
22664
22692
 
22665
22693
  var shared = createCommonjsModule(function (module) {
22694
+
22695
+
22696
+
22666
22697
  (module.exports = function (key, value) {
22667
22698
  return sharedStore[key] || (sharedStore[key] = value !== undefined ? value : {});
22668
22699
  })('versions', []).push({
22669
- version: '3.24.1',
22700
+ version: '3.33.3',
22670
22701
  mode: 'global',
22671
- copyright: '© 2014-2022 Denis Pushkarev (zloirock.ru)',
22672
- license: 'https://github.com/zloirock/core-js/blob/v3.24.1/LICENSE',
22702
+ copyright: '© 2014-2023 Denis Pushkarev (zloirock.ru)',
22703
+ license: 'https://github.com/zloirock/core-js/blob/v3.33.3/LICENSE',
22673
22704
  source: 'https://github.com/zloirock/core-js'
22674
22705
  });
22675
22706
  });
@@ -22686,7 +22717,7 @@ var hasOwnProperty = functionUncurryThis({}.hasOwnProperty);
22686
22717
 
22687
22718
  // `HasOwnProperty` abstract operation
22688
22719
  // https://tc39.es/ecma262/#sec-hasownproperty
22689
- // eslint-disable-next-line es-x/no-object-hasown -- safe
22720
+ // eslint-disable-next-line es/no-object-hasown -- safe
22690
22721
  var hasOwnProperty_1 = Object.hasOwn || function hasOwn(it, key) {
22691
22722
  return hasOwnProperty(toObject(it), key);
22692
22723
  };
@@ -22699,21 +22730,15 @@ var uid = function (key) {
22699
22730
  return 'Symbol(' + (key === undefined ? '' : key) + ')_' + toString$3(++id + postfix, 36);
22700
22731
  };
22701
22732
 
22702
- var WellKnownSymbolsStore = shared('wks');
22703
22733
  var Symbol$1 = global_1.Symbol;
22704
- var symbolFor = Symbol$1 && Symbol$1['for'];
22705
- var createWellKnownSymbol = useSymbolAsUid ? Symbol$1 : Symbol$1 && Symbol$1.withoutSetter || uid;
22734
+ var WellKnownSymbolsStore = shared('wks');
22735
+ var createWellKnownSymbol = useSymbolAsUid ? Symbol$1['for'] || Symbol$1 : Symbol$1 && Symbol$1.withoutSetter || uid;
22706
22736
 
22707
22737
  var wellKnownSymbol = function (name) {
22708
- if (!hasOwnProperty_1(WellKnownSymbolsStore, name) || !(nativeSymbol || typeof WellKnownSymbolsStore[name] == 'string')) {
22709
- var description = 'Symbol.' + name;
22710
- if (nativeSymbol && hasOwnProperty_1(Symbol$1, name)) {
22711
- WellKnownSymbolsStore[name] = Symbol$1[name];
22712
- } else if (useSymbolAsUid && symbolFor) {
22713
- WellKnownSymbolsStore[name] = symbolFor(description);
22714
- } else {
22715
- WellKnownSymbolsStore[name] = createWellKnownSymbol(description);
22716
- }
22738
+ if (!hasOwnProperty_1(WellKnownSymbolsStore, name)) {
22739
+ WellKnownSymbolsStore[name] = symbolConstructorDetection && hasOwnProperty_1(Symbol$1, name)
22740
+ ? Symbol$1[name]
22741
+ : createWellKnownSymbol('Symbol.' + name);
22717
22742
  } return WellKnownSymbolsStore[name];
22718
22743
  };
22719
22744
 
@@ -22730,7 +22755,7 @@ var toPrimitive = function (input, pref) {
22730
22755
  if (pref === undefined) pref = 'default';
22731
22756
  result = functionCall(exoticToPrim, input, pref);
22732
22757
  if (!isObject(result) || isSymbol(result)) return result;
22733
- throw $TypeError$3("Can't convert object to primitive value");
22758
+ throw new $TypeError$3("Can't convert object to primitive value");
22734
22759
  }
22735
22760
  if (pref === undefined) pref = 'number';
22736
22761
  return ordinaryToPrimitive(input, pref);
@@ -22753,13 +22778,13 @@ var documentCreateElement = function (it) {
22753
22778
 
22754
22779
  // Thanks to IE8 for its funny defineProperty
22755
22780
  var ie8DomDefine = !descriptors && !fails(function () {
22756
- // eslint-disable-next-line es-x/no-object-defineproperty -- required for testing
22781
+ // eslint-disable-next-line es/no-object-defineproperty -- required for testing
22757
22782
  return Object.defineProperty(documentCreateElement('div'), 'a', {
22758
22783
  get: function () { return 7; }
22759
- }).a != 7;
22784
+ }).a !== 7;
22760
22785
  });
22761
22786
 
22762
- // eslint-disable-next-line es-x/no-object-getownpropertydescriptor -- safe
22787
+ // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
22763
22788
  var $getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
22764
22789
 
22765
22790
  // `Object.getOwnPropertyDescriptor` method
@@ -22780,26 +22805,26 @@ var objectGetOwnPropertyDescriptor = {
22780
22805
  // V8 ~ Chrome 36-
22781
22806
  // https://bugs.chromium.org/p/v8/issues/detail?id=3334
22782
22807
  var v8PrototypeDefineBug = descriptors && fails(function () {
22783
- // eslint-disable-next-line es-x/no-object-defineproperty -- required for testing
22808
+ // eslint-disable-next-line es/no-object-defineproperty -- required for testing
22784
22809
  return Object.defineProperty(function () { /* empty */ }, 'prototype', {
22785
22810
  value: 42,
22786
22811
  writable: false
22787
- }).prototype != 42;
22812
+ }).prototype !== 42;
22788
22813
  });
22789
22814
 
22790
- var $String$1 = String;
22815
+ var $String$2 = String;
22791
22816
  var $TypeError$4 = TypeError;
22792
22817
 
22793
22818
  // `Assert: Type(argument) is Object`
22794
22819
  var anObject = function (argument) {
22795
22820
  if (isObject(argument)) return argument;
22796
- throw $TypeError$4($String$1(argument) + ' is not an object');
22821
+ throw new $TypeError$4($String$2(argument) + ' is not an object');
22797
22822
  };
22798
22823
 
22799
22824
  var $TypeError$5 = TypeError;
22800
- // eslint-disable-next-line es-x/no-object-defineproperty -- safe
22825
+ // eslint-disable-next-line es/no-object-defineproperty -- safe
22801
22826
  var $defineProperty = Object.defineProperty;
22802
- // eslint-disable-next-line es-x/no-object-getownpropertydescriptor -- safe
22827
+ // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
22803
22828
  var $getOwnPropertyDescriptor$1 = Object.getOwnPropertyDescriptor;
22804
22829
  var ENUMERABLE = 'enumerable';
22805
22830
  var CONFIGURABLE = 'configurable';
@@ -22829,7 +22854,7 @@ var f$2 = descriptors ? v8PrototypeDefineBug ? function defineProperty(O, P, Att
22829
22854
  if (ie8DomDefine) try {
22830
22855
  return $defineProperty(O, P, Attributes);
22831
22856
  } catch (error) { /* empty */ }
22832
- if ('get' in Attributes || 'set' in Attributes) throw $TypeError$5('Accessors not supported');
22857
+ if ('get' in Attributes || 'set' in Attributes) throw new $TypeError$5('Accessors not supported');
22833
22858
  if ('value' in Attributes) O[P] = Attributes.value;
22834
22859
  return O;
22835
22860
  };
@@ -22846,7 +22871,7 @@ var createNonEnumerableProperty = descriptors ? function (object, key, value) {
22846
22871
  };
22847
22872
 
22848
22873
  var FunctionPrototype$1 = Function.prototype;
22849
- // eslint-disable-next-line es-x/no-object-getownpropertydescriptor -- safe
22874
+ // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
22850
22875
  var getDescriptor = descriptors && Object.getOwnPropertyDescriptor;
22851
22876
 
22852
22877
  var EXISTS$1 = hasOwnProperty_1(FunctionPrototype$1, 'name');
@@ -22873,7 +22898,7 @@ var inspectSource = sharedStore.inspectSource;
22873
22898
 
22874
22899
  var WeakMap$1 = global_1.WeakMap;
22875
22900
 
22876
- var nativeWeakMap = isCallable(WeakMap$1) && /native code/.test(inspectSource(WeakMap$1));
22901
+ var weakMapBasicDetection = isCallable(WeakMap$1) && /native code/.test(String(WeakMap$1));
22877
22902
 
22878
22903
  var keys$1 = shared('keys');
22879
22904
 
@@ -22896,27 +22921,29 @@ var getterFor = function (TYPE) {
22896
22921
  return function (it) {
22897
22922
  var state;
22898
22923
  if (!isObject(it) || (state = get(it)).type !== TYPE) {
22899
- throw TypeError$1('Incompatible receiver, ' + TYPE + ' required');
22924
+ throw new TypeError$1('Incompatible receiver, ' + TYPE + ' required');
22900
22925
  } return state;
22901
22926
  };
22902
22927
  };
22903
22928
 
22904
- if (nativeWeakMap || sharedStore.state) {
22929
+ if (weakMapBasicDetection || sharedStore.state) {
22905
22930
  var store$1 = sharedStore.state || (sharedStore.state = new WeakMap$2());
22906
- var wmget = functionUncurryThis(store$1.get);
22907
- var wmhas = functionUncurryThis(store$1.has);
22908
- var wmset = functionUncurryThis(store$1.set);
22931
+ /* eslint-disable no-self-assign -- prototype methods protection */
22932
+ store$1.get = store$1.get;
22933
+ store$1.has = store$1.has;
22934
+ store$1.set = store$1.set;
22935
+ /* eslint-enable no-self-assign -- prototype methods protection */
22909
22936
  set = function (it, metadata) {
22910
- if (wmhas(store$1, it)) throw new TypeError$1(OBJECT_ALREADY_INITIALIZED);
22937
+ if (store$1.has(it)) throw new TypeError$1(OBJECT_ALREADY_INITIALIZED);
22911
22938
  metadata.facade = it;
22912
- wmset(store$1, it, metadata);
22939
+ store$1.set(it, metadata);
22913
22940
  return metadata;
22914
22941
  };
22915
22942
  get = function (it) {
22916
- return wmget(store$1, it) || {};
22943
+ return store$1.get(it) || {};
22917
22944
  };
22918
22945
  has = function (it) {
22919
- return wmhas(store$1, it);
22946
+ return store$1.has(it);
22920
22947
  };
22921
22948
  } else {
22922
22949
  var STATE = sharedKey('state');
@@ -22944,14 +22971,23 @@ var internalState = {
22944
22971
  };
22945
22972
 
22946
22973
  var makeBuiltIn_1 = createCommonjsModule(function (module) {
22974
+
22975
+
22976
+
22977
+
22978
+
22947
22979
  var CONFIGURABLE_FUNCTION_NAME = functionName.CONFIGURABLE;
22948
22980
 
22949
22981
 
22950
22982
 
22951
22983
  var enforceInternalState = internalState.enforce;
22952
22984
  var getInternalState = internalState.get;
22953
- // eslint-disable-next-line es-x/no-object-defineproperty -- safe
22985
+ var $String = String;
22986
+ // eslint-disable-next-line es/no-object-defineproperty -- safe
22954
22987
  var defineProperty = Object.defineProperty;
22988
+ var stringSlice = functionUncurryThis(''.slice);
22989
+ var replace = functionUncurryThis(''.replace);
22990
+ var join = functionUncurryThis([].join);
22955
22991
 
22956
22992
  var CONFIGURABLE_LENGTH = descriptors && !fails(function () {
22957
22993
  return defineProperty(function () { /* empty */ }, 'length', { value: 8 }).length !== 8;
@@ -22960,8 +22996,8 @@ var CONFIGURABLE_LENGTH = descriptors && !fails(function () {
22960
22996
  var TEMPLATE = String(String).split('String');
22961
22997
 
22962
22998
  var makeBuiltIn = module.exports = function (value, name, options) {
22963
- if (String(name).slice(0, 7) === 'Symbol(') {
22964
- name = '[' + String(name).replace(/^Symbol\(([^)]*)\)/, '$1') + ']';
22999
+ if (stringSlice($String(name), 0, 7) === 'Symbol(') {
23000
+ name = '[' + replace($String(name), /^Symbol\(([^)]*)\)/, '$1') + ']';
22965
23001
  }
22966
23002
  if (options && options.getter) name = 'get ' + name;
22967
23003
  if (options && options.setter) name = 'set ' + name;
@@ -22980,7 +23016,7 @@ var makeBuiltIn = module.exports = function (value, name, options) {
22980
23016
  } catch (error) { /* empty */ }
22981
23017
  var state = enforceInternalState(value);
22982
23018
  if (!hasOwnProperty_1(state, 'source')) {
22983
- state.source = TEMPLATE.join(typeof name == 'string' ? name : '');
23019
+ state.source = join(TEMPLATE, typeof name == 'string' ? name : '');
22984
23020
  } return value;
22985
23021
  };
22986
23022
 
@@ -23019,7 +23055,7 @@ var floor = Math.floor;
23019
23055
 
23020
23056
  // `Math.trunc` method
23021
23057
  // https://tc39.es/ecma262/#sec-math.trunc
23022
- // eslint-disable-next-line es-x/no-math-trunc -- safe
23058
+ // eslint-disable-next-line es/no-math-trunc -- safe
23023
23059
  var mathTrunc = Math.trunc || function trunc(x) {
23024
23060
  var n = +x;
23025
23061
  return (n > 0 ? floor : ceil)(n);
@@ -23067,10 +23103,10 @@ var createMethod = function (IS_INCLUDES) {
23067
23103
  var value;
23068
23104
  // Array#includes uses SameValueZero equality algorithm
23069
23105
  // eslint-disable-next-line no-self-compare -- NaN check
23070
- if (IS_INCLUDES && el != el) while (length > index) {
23106
+ if (IS_INCLUDES && el !== el) while (length > index) {
23071
23107
  value = O[index++];
23072
23108
  // eslint-disable-next-line no-self-compare -- NaN check
23073
- if (value != value) return true;
23109
+ if (value !== value) return true;
23074
23110
  // Array#indexOf ignores holes, Array#includes - not
23075
23111
  } else for (;length > index; index++) {
23076
23112
  if ((IS_INCLUDES || index in O) && O[index] === el) return IS_INCLUDES || index || 0;
@@ -23120,7 +23156,7 @@ var hiddenKeys$1 = enumBugKeys.concat('length', 'prototype');
23120
23156
 
23121
23157
  // `Object.getOwnPropertyNames` method
23122
23158
  // https://tc39.es/ecma262/#sec-object.getownpropertynames
23123
- // eslint-disable-next-line es-x/no-object-getownpropertynames -- safe
23159
+ // eslint-disable-next-line es/no-object-getownpropertynames -- safe
23124
23160
  var f$3 = Object.getOwnPropertyNames || function getOwnPropertyNames(O) {
23125
23161
  return objectKeysInternal(O, hiddenKeys$1);
23126
23162
  };
@@ -23129,7 +23165,7 @@ var objectGetOwnPropertyNames = {
23129
23165
  f: f$3
23130
23166
  };
23131
23167
 
23132
- // eslint-disable-next-line es-x/no-object-getownpropertysymbols -- safe
23168
+ // eslint-disable-next-line es/no-object-getownpropertysymbols -- safe
23133
23169
  var f$4 = Object.getOwnPropertySymbols;
23134
23170
 
23135
23171
  var objectGetOwnPropertySymbols = {
@@ -23161,8 +23197,8 @@ var replacement = /#|\.prototype\./;
23161
23197
 
23162
23198
  var isForced = function (feature, detection) {
23163
23199
  var value = data[normalize(feature)];
23164
- return value == POLYFILL ? true
23165
- : value == NATIVE ? false
23200
+ return value === POLYFILL ? true
23201
+ : value === NATIVE ? false
23166
23202
  : isCallable(detection) ? fails(detection)
23167
23203
  : !!detection;
23168
23204
  };
@@ -23242,7 +23278,7 @@ var TO_STRING_TAG$1 = wellKnownSymbol('toStringTag');
23242
23278
  var $Object$3 = Object;
23243
23279
 
23244
23280
  // ES3 wrong here
23245
- var CORRECT_ARGUMENTS = classofRaw(function () { return arguments; }()) == 'Arguments';
23281
+ var CORRECT_ARGUMENTS = classofRaw(function () { return arguments; }()) === 'Arguments';
23246
23282
 
23247
23283
  // fallback for IE11 Script Access Denied error
23248
23284
  var tryGet = function (it, key) {
@@ -23260,25 +23296,25 @@ var classof = toStringTagSupport ? classofRaw : function (it) {
23260
23296
  // builtinTag case
23261
23297
  : CORRECT_ARGUMENTS ? classofRaw(O)
23262
23298
  // ES3 arguments fallback
23263
- : (result = classofRaw(O)) == 'Object' && isCallable(O.callee) ? 'Arguments' : result;
23299
+ : (result = classofRaw(O)) === 'Object' && isCallable(O.callee) ? 'Arguments' : result;
23264
23300
  };
23265
23301
 
23266
- var $String$2 = String;
23302
+ var $String$3 = String;
23267
23303
 
23268
23304
  var toString_1 = function (argument) {
23269
- if (classof(argument) === 'Symbol') throw TypeError('Cannot convert a Symbol value to a string');
23270
- return $String$2(argument);
23305
+ if (classof(argument) === 'Symbol') throw new TypeError('Cannot convert a Symbol value to a string');
23306
+ return $String$3(argument);
23271
23307
  };
23272
23308
 
23273
23309
  var charAt = functionUncurryThis(''.charAt);
23274
23310
 
23275
23311
  var FORCED = fails(function () {
23276
- // eslint-disable-next-line es-x/no-array-string-prototype-at -- safe
23312
+ // eslint-disable-next-line es/no-array-string-prototype-at -- safe
23277
23313
  return '𠮷'.at(-2) !== '\uD842';
23278
23314
  });
23279
23315
 
23280
23316
  // `String.prototype.at` method
23281
- // https://github.com/tc39/proposal-relative-indexing-method
23317
+ // https://tc39.es/ecma262/#sec-string.prototype.at
23282
23318
  _export({ target: 'String', proto: true, forced: FORCED }, {
23283
23319
  at: function at(index) {
23284
23320
  var S = toString_1(requireObjectCoercible(this));
@@ -23291,14 +23327,14 @@ _export({ target: 'String', proto: true, forced: FORCED }, {
23291
23327
 
23292
23328
  // `Object.keys` method
23293
23329
  // https://tc39.es/ecma262/#sec-object.keys
23294
- // eslint-disable-next-line es-x/no-object-keys -- safe
23330
+ // eslint-disable-next-line es/no-object-keys -- safe
23295
23331
  var objectKeys = Object.keys || function keys(O) {
23296
23332
  return objectKeysInternal(O, enumBugKeys);
23297
23333
  };
23298
23334
 
23299
23335
  // `Object.defineProperties` method
23300
23336
  // https://tc39.es/ecma262/#sec-object.defineproperties
23301
- // eslint-disable-next-line es-x/no-object-defineproperties -- safe
23337
+ // eslint-disable-next-line es/no-object-defineproperties -- safe
23302
23338
  var f$5 = descriptors && !v8PrototypeDefineBug ? Object.defineProperties : function defineProperties(O, Properties) {
23303
23339
  anObject(O);
23304
23340
  var props = toIndexedObject(Properties);
@@ -23387,7 +23423,7 @@ hiddenKeys[IE_PROTO] = true;
23387
23423
 
23388
23424
  // `Object.create` method
23389
23425
  // https://tc39.es/ecma262/#sec-object.create
23390
- // eslint-disable-next-line es-x/no-object-create -- safe
23426
+ // eslint-disable-next-line es/no-object-create -- safe
23391
23427
  var objectCreate = Object.create || function create(O, Properties) {
23392
23428
  var result;
23393
23429
  if (O !== null) {
@@ -23407,7 +23443,7 @@ var ArrayPrototype = Array.prototype;
23407
23443
 
23408
23444
  // Array.prototype[@@unscopables]
23409
23445
  // https://tc39.es/ecma262/#sec-array.prototype-@@unscopables
23410
- if (ArrayPrototype[UNSCOPABLES] == undefined) {
23446
+ if (ArrayPrototype[UNSCOPABLES] === undefined) {
23411
23447
  defineProperty$1(ArrayPrototype, UNSCOPABLES, {
23412
23448
  configurable: true,
23413
23449
  value: objectCreate(null)
@@ -23420,7 +23456,7 @@ var addToUnscopables = function (key) {
23420
23456
  };
23421
23457
 
23422
23458
  // `Array.prototype.at` method
23423
- // https://github.com/tc39/proposal-relative-indexing-method
23459
+ // https://tc39.es/ecma262/#sec-array.prototype.at
23424
23460
  _export({ target: 'Array', proto: true }, {
23425
23461
  at: function at(index) {
23426
23462
  var O = toObject(this);
@@ -23433,13 +23469,19 @@ _export({ target: 'Array', proto: true }, {
23433
23469
 
23434
23470
  addToUnscopables('at');
23435
23471
 
23436
- // eslint-disable-next-line es-x/no-typed-arrays -- safe
23437
- var arrayBufferNative = typeof ArrayBuffer != 'undefined' && typeof DataView != 'undefined';
23472
+ // eslint-disable-next-line es/no-typed-arrays -- safe
23473
+ var arrayBufferBasicDetection = typeof ArrayBuffer != 'undefined' && typeof DataView != 'undefined';
23474
+
23475
+ var defineBuiltInAccessor = function (target, name, descriptor) {
23476
+ if (descriptor.get) makeBuiltIn_1(descriptor.get, name, { getter: true });
23477
+ if (descriptor.set) makeBuiltIn_1(descriptor.set, name, { setter: true });
23478
+ return objectDefineProperty.f(target, name, descriptor);
23479
+ };
23438
23480
 
23439
23481
  var correctPrototypeGetter = !fails(function () {
23440
23482
  function F() { /* empty */ }
23441
23483
  F.prototype.constructor = null;
23442
- // eslint-disable-next-line es-x/no-object-getprototypeof -- required for testing
23484
+ // eslint-disable-next-line es/no-object-getprototypeof -- required for testing
23443
23485
  return Object.getPrototypeOf(new F()) !== F.prototype;
23444
23486
  });
23445
23487
 
@@ -23449,7 +23491,7 @@ var ObjectPrototype = $Object$4.prototype;
23449
23491
 
23450
23492
  // `Object.getPrototypeOf` method
23451
23493
  // https://tc39.es/ecma262/#sec-object.getprototypeof
23452
- // eslint-disable-next-line es-x/no-object-getprototypeof -- safe
23494
+ // eslint-disable-next-line es/no-object-getprototypeof -- safe
23453
23495
  var objectGetPrototypeOf = correctPrototypeGetter ? $Object$4.getPrototypeOf : function (O) {
23454
23496
  var object = toObject(O);
23455
23497
  if (hasOwnProperty_1(object, IE_PROTO$1)) return object[IE_PROTO$1];
@@ -23459,12 +23501,19 @@ var objectGetPrototypeOf = correctPrototypeGetter ? $Object$4.getPrototypeOf : f
23459
23501
  } return object instanceof $Object$4 ? ObjectPrototype : null;
23460
23502
  };
23461
23503
 
23462
- var $String$3 = String;
23504
+ var functionUncurryThisAccessor = function (object, key, method) {
23505
+ try {
23506
+ // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
23507
+ return functionUncurryThis(aCallable(Object.getOwnPropertyDescriptor(object, key)[method]));
23508
+ } catch (error) { /* empty */ }
23509
+ };
23510
+
23511
+ var $String$4 = String;
23463
23512
  var $TypeError$6 = TypeError;
23464
23513
 
23465
23514
  var aPossiblePrototype = function (argument) {
23466
23515
  if (typeof argument == 'object' || isCallable(argument)) return argument;
23467
- throw $TypeError$6("Can't set " + $String$3(argument) + ' as a prototype');
23516
+ throw new $TypeError$6("Can't set " + $String$4(argument) + ' as a prototype');
23468
23517
  };
23469
23518
 
23470
23519
  /* eslint-disable no-proto -- safe */
@@ -23475,14 +23524,13 @@ var aPossiblePrototype = function (argument) {
23475
23524
  // `Object.setPrototypeOf` method
23476
23525
  // https://tc39.es/ecma262/#sec-object.setprototypeof
23477
23526
  // Works with __proto__ only. Old v8 can't work with null proto objects.
23478
- // eslint-disable-next-line es-x/no-object-setprototypeof -- safe
23527
+ // eslint-disable-next-line es/no-object-setprototypeof -- safe
23479
23528
  var objectSetPrototypeOf = Object.setPrototypeOf || ('__proto__' in {} ? function () {
23480
23529
  var CORRECT_SETTER = false;
23481
23530
  var test = {};
23482
23531
  var setter;
23483
23532
  try {
23484
- // eslint-disable-next-line es-x/no-object-getownpropertydescriptor -- safe
23485
- setter = functionUncurryThis(Object.getOwnPropertyDescriptor(Object.prototype, '__proto__').set);
23533
+ setter = functionUncurryThisAccessor(Object.prototype, '__proto__', 'set');
23486
23534
  setter(test, []);
23487
23535
  CORRECT_SETTER = test instanceof Array;
23488
23536
  } catch (error) { /* empty */ }
@@ -23495,14 +23543,6 @@ var objectSetPrototypeOf = Object.setPrototypeOf || ('__proto__' in {} ? functio
23495
23543
  };
23496
23544
  }() : undefined);
23497
23545
 
23498
- var defineProperty$2 = objectDefineProperty.f;
23499
-
23500
-
23501
-
23502
-
23503
-
23504
-
23505
-
23506
23546
  var enforceInternalState = internalState.enforce;
23507
23547
  var getInternalState = internalState.get;
23508
23548
  var Int8Array = global_1.Int8Array;
@@ -23518,7 +23558,7 @@ var TO_STRING_TAG$2 = wellKnownSymbol('toStringTag');
23518
23558
  var TYPED_ARRAY_TAG = uid('TYPED_ARRAY_TAG');
23519
23559
  var TYPED_ARRAY_CONSTRUCTOR = 'TypedArrayConstructor';
23520
23560
  // Fixing native typed arrays in Opera Presto crashes the browser, see #595
23521
- var NATIVE_ARRAY_BUFFER_VIEWS = arrayBufferNative && !!objectSetPrototypeOf && classof(global_1.opera) !== 'Opera';
23561
+ var NATIVE_ARRAY_BUFFER_VIEWS = arrayBufferBasicDetection && !!objectSetPrototypeOf && classof(global_1.opera) !== 'Opera';
23522
23562
  var TYPED_ARRAY_TAG_REQUIRED = false;
23523
23563
  var NAME, Constructor, Prototype;
23524
23564
 
@@ -23563,12 +23603,12 @@ var isTypedArray = function (it) {
23563
23603
 
23564
23604
  var aTypedArray = function (it) {
23565
23605
  if (isTypedArray(it)) return it;
23566
- throw TypeError$2('Target is not a typed array');
23606
+ throw new TypeError$2('Target is not a typed array');
23567
23607
  };
23568
23608
 
23569
23609
  var aTypedArrayConstructor = function (C) {
23570
23610
  if (isCallable(C) && (!objectSetPrototypeOf || objectIsPrototypeOf(TypedArray, C))) return C;
23571
- throw TypeError$2(tryToString(C) + ' is not a typed array constructor');
23611
+ throw new TypeError$2(tryToString(C) + ' is not a typed array constructor');
23572
23612
  };
23573
23613
 
23574
23614
  var exportTypedArrayMethod = function (KEY, property, forced, options) {
@@ -23632,7 +23672,7 @@ for (NAME in BigIntArrayConstructorsList) {
23632
23672
  if (!NATIVE_ARRAY_BUFFER_VIEWS || !isCallable(TypedArray) || TypedArray === Function.prototype) {
23633
23673
  // eslint-disable-next-line no-shadow -- safe
23634
23674
  TypedArray = function TypedArray() {
23635
- throw TypeError$2('Incorrect invocation');
23675
+ throw new TypeError$2('Incorrect invocation');
23636
23676
  };
23637
23677
  if (NATIVE_ARRAY_BUFFER_VIEWS) for (NAME in TypedArrayConstructorsList) {
23638
23678
  if (global_1[NAME]) objectSetPrototypeOf(global_1[NAME], TypedArray);
@@ -23653,9 +23693,12 @@ if (NATIVE_ARRAY_BUFFER_VIEWS && objectGetPrototypeOf(Uint8ClampedArrayPrototype
23653
23693
 
23654
23694
  if (descriptors && !hasOwnProperty_1(TypedArrayPrototype, TO_STRING_TAG$2)) {
23655
23695
  TYPED_ARRAY_TAG_REQUIRED = true;
23656
- defineProperty$2(TypedArrayPrototype, TO_STRING_TAG$2, { get: function () {
23657
- return isObject(this) ? this[TYPED_ARRAY_TAG] : undefined;
23658
- } });
23696
+ defineBuiltInAccessor(TypedArrayPrototype, TO_STRING_TAG$2, {
23697
+ configurable: true,
23698
+ get: function () {
23699
+ return isObject(this) ? this[TYPED_ARRAY_TAG] : undefined;
23700
+ }
23701
+ });
23659
23702
  for (NAME in TypedArrayConstructorsList) if (global_1[NAME]) {
23660
23703
  createNonEnumerableProperty(global_1[NAME], TYPED_ARRAY_TAG, NAME);
23661
23704
  }
@@ -23679,7 +23722,7 @@ var aTypedArray$1 = arrayBufferViewCore.aTypedArray;
23679
23722
  var exportTypedArrayMethod$1 = arrayBufferViewCore.exportTypedArrayMethod;
23680
23723
 
23681
23724
  // `%TypedArray%.prototype.at` method
23682
- // https://github.com/tc39/proposal-relative-indexing-method
23725
+ // https://tc39.es/ecma262/#sec-%typedarray%.prototype.at
23683
23726
  exportTypedArrayMethod$1('at', function at(index) {
23684
23727
  var O = aTypedArray$1(this);
23685
23728
  var len = lengthOfArrayLike(O);
@@ -23760,9 +23803,7 @@ var Dropdown = function Dropdown(_ref8) {
23760
23803
  _ref8$smoothScroll = _ref8.smoothScroll,
23761
23804
  smoothScroll = _ref8$smoothScroll === void 0 ? true : _ref8$smoothScroll,
23762
23805
  _ref8$ariaInvalid = _ref8.ariaInvalid,
23763
- ariaInvalid = _ref8$ariaInvalid === void 0 ? false : _ref8$ariaInvalid,
23764
- _ref8$isRequired = _ref8.isRequired,
23765
- isRequired = _ref8$isRequired === void 0 ? false : _ref8$isRequired;
23806
+ ariaInvalid = _ref8$ariaInvalid === void 0 ? false : _ref8$ariaInvalid;
23766
23807
 
23767
23808
  var _useState = useState(""),
23768
23809
  _useState2 = _slicedToArray(_useState, 2),
@@ -24033,7 +24074,7 @@ var Dropdown = function Dropdown(_ref8) {
24033
24074
  },
24034
24075
  padding: "12px",
24035
24076
  placeholder: getSelection(),
24036
- required: options.required || isRequired,
24077
+ required: options.required,
24037
24078
  role: "combobox",
24038
24079
  themeValues: themeValues,
24039
24080
  title: hasTitles ? getSelection() : null,
@@ -24197,9 +24238,7 @@ var FormSelect = function FormSelect(_ref) {
24197
24238
  _ref$dataQa = _ref.dataQa,
24198
24239
  dataQa = _ref$dataQa === void 0 ? null : _ref$dataQa,
24199
24240
  _ref$widthFitOptions = _ref.widthFitOptions,
24200
- widthFitOptions = _ref$widthFitOptions === void 0 ? false : _ref$widthFitOptions,
24201
- _ref$isRequired = _ref.isRequired,
24202
- isRequired = _ref$isRequired === void 0 ? false : _ref$isRequired;
24241
+ widthFitOptions = _ref$widthFitOptions === void 0 ? false : _ref$widthFitOptions;
24203
24242
 
24204
24243
  var _useState = useState(false),
24205
24244
  _useState2 = _slicedToArray(_useState, 2),
@@ -24261,8 +24300,7 @@ var FormSelect = function FormSelect(_ref) {
24261
24300
  },
24262
24301
  disabled: disabled,
24263
24302
  autocompleteValue: autocompleteValue,
24264
- smoothScroll: smoothScroll,
24265
- required: isRequired
24303
+ smoothScroll: smoothScroll
24266
24304
  }), /*#__PURE__*/React.createElement(Stack, {
24267
24305
  direction: "row",
24268
24306
  justify: "space-between"
@@ -25032,9 +25070,7 @@ var CountryDropdown = function CountryDropdown(_ref) {
25032
25070
  showErrors = _ref.showErrors,
25033
25071
  onChange = _ref.onChange,
25034
25072
  _ref$dataQa = _ref.dataQa,
25035
- dataQa = _ref$dataQa === void 0 ? null : _ref$dataQa,
25036
- _ref$isRequired = _ref.isRequired,
25037
- isRequired = _ref$isRequired === void 0 ? false : _ref$isRequired;
25073
+ dataQa = _ref$dataQa === void 0 ? null : _ref$dataQa;
25038
25074
  return /*#__PURE__*/React.createElement(FormSelect$1, {
25039
25075
  options: options,
25040
25076
  field: field,
@@ -25044,8 +25080,7 @@ var CountryDropdown = function CountryDropdown(_ref) {
25044
25080
  errorMessages: errorMessages,
25045
25081
  showErrors: showErrors,
25046
25082
  onChange: onChange,
25047
- autocompleteValue: "country-name",
25048
- isRequired: isRequired
25083
+ autocompleteValue: "country-name"
25049
25084
  });
25050
25085
  };
25051
25086
 
@@ -25890,7 +25925,7 @@ var fallbackValues$k = {
25890
25925
  };
25891
25926
 
25892
25927
  var _excluded$p = ["showErrors", "themeValues"],
25893
- _excluded2 = ["type", "labelTextWhenNoError", "errorMessages", "isNum", "isEmail", "helperModal", "field", "fieldActions", "showErrors", "formatter", "decorator", "themeValues", "background", "customHeight", "autocompleteValue", "extraStyles", "removeFromValue", "dataQa", "isRequired"];
25928
+ _excluded2 = ["type", "labelTextWhenNoError", "errorMessages", "isNum", "isEmail", "helperModal", "field", "fieldActions", "showErrors", "formatter", "decorator", "themeValues", "background", "customHeight", "autocompleteValue", "extraStyles", "removeFromValue", "dataQa"];
25894
25929
  var InputField = styled.input.withConfig({
25895
25930
  displayName: "FormInput__InputField",
25896
25931
  componentId: "sc-l094r1-0"
@@ -25977,8 +26012,6 @@ var FormInput = function FormInput(_ref15) {
25977
26012
  removeFromValue = _ref15.removeFromValue,
25978
26013
  _ref15$dataQa = _ref15.dataQa,
25979
26014
  dataQa = _ref15$dataQa === void 0 ? null : _ref15$dataQa,
25980
- _ref15$isRequired = _ref15.isRequired,
25981
- isRequired = _ref15$isRequired === void 0 ? false : _ref15$isRequired,
25982
26015
  props = _objectWithoutProperties(_ref15, _excluded2);
25983
26016
 
25984
26017
  var _useState = useState(false),
@@ -26065,8 +26098,7 @@ var FormInput = function FormInput(_ref15) {
26065
26098
  $customHeight: customHeight,
26066
26099
  $extraStyles: extraStyles,
26067
26100
  "data-qa": dataQa || labelTextWhenNoError,
26068
- autoComplete: autocompleteValue,
26069
- required: isRequired
26101
+ autoComplete: autocompleteValue
26070
26102
  }, props)) : /*#__PURE__*/React.createElement(InputField, _extends({
26071
26103
  "aria-labelledby": createIdFromString(labelTextWhenNoError),
26072
26104
  "aria-describedby": createIdFromString(labelTextWhenNoError, "error message"),
@@ -26085,8 +26117,7 @@ var FormInput = function FormInput(_ref15) {
26085
26117
  $customHeight: customHeight,
26086
26118
  $extraStyles: extraStyles,
26087
26119
  "data-qa": dataQa || labelTextWhenNoError,
26088
- autoComplete: autocompleteValue,
26089
- required: isRequired
26120
+ autoComplete: autocompleteValue
26090
26121
  }, props))), /*#__PURE__*/React.createElement(Stack, {
26091
26122
  direction: "row",
26092
26123
  justify: "space-between",
@@ -27239,7 +27270,7 @@ var RadioButtonWithLabel = function RadioButtonWithLabel(_ref5) {
27239
27270
  var RadioButtonWithLabel$1 = themeComponent(RadioButtonWithLabel, "RadioButtonWithLabel", fallbackValues$u);
27240
27271
 
27241
27272
  var activeColor$6 = "".concat(MATISSE_BLUE);
27242
- var inactiveColor = "".concat(GREY_CHATEAU);
27273
+ var inactiveColor = "".concat(STORM_GREY);
27243
27274
  var fallbackValues$v = {
27244
27275
  activeColor: activeColor$6,
27245
27276
  inactiveColor: inactiveColor
@@ -27268,25 +27299,25 @@ var RadioButton$1 = function RadioButton(_ref2) {
27268
27299
  _ref2$ariaLabelledBy = _ref2.ariaLabelledBy,
27269
27300
  ariaLabelledBy = _ref2$ariaLabelledBy === void 0 ? "" : _ref2$ariaLabelledBy,
27270
27301
  _ref2$ariaLabel = _ref2.ariaLabel,
27271
- ariaLabel = _ref2$ariaLabel === void 0 ? null : _ref2$ariaLabel,
27272
- _ref2$required = _ref2.required,
27273
- required = _ref2$required === void 0 ? false : _ref2$required;
27302
+ ariaLabel = _ref2$ariaLabel === void 0 ? null : _ref2$ariaLabel;
27274
27303
  var buttonBorder = {
27275
27304
  onFocused: {
27276
27305
  borderColor: themeValues.activeColor,
27277
- boxShadow: "0px 0px 4px 0px ".concat(themeValues.activeColor)
27306
+ outline: "3px solid ".concat(themeValues.activeColor),
27307
+ outlineOffset: "2px"
27278
27308
  },
27279
27309
  offFocused: {
27280
27310
  borderColor: themeValues.activeColor,
27281
- boxShadow: "0px 0px 4px 0px ".concat(themeValues.activeColor)
27311
+ outline: "3px solid ".concat(themeValues.activeColor),
27312
+ outlineOffset: "2px"
27282
27313
  },
27283
27314
  on: {
27284
27315
  borderColor: themeValues.activeColor,
27285
- boxShadow: "0px 0px 0px 0px #FFFFFF"
27316
+ outline: "0"
27286
27317
  },
27287
27318
  off: {
27288
27319
  borderColor: themeValues.inactiveColor,
27289
- boxShadow: "0px 0px 0px 0px #FFFFFF"
27320
+ outline: "0"
27290
27321
  }
27291
27322
  };
27292
27323
  var buttonCenter = {
@@ -27330,13 +27361,12 @@ var RadioButton$1 = function RadioButton(_ref2) {
27330
27361
  disabled: disabled,
27331
27362
  onClick: toggleRadio,
27332
27363
  "aria-describedby": ariaDescribedBy,
27333
- tabIndex: "-1",
27334
- required: required
27364
+ tabIndex: "-1"
27335
27365
  }, extraProps)), /*#__PURE__*/React.createElement(Motion, {
27336
27366
  borderWidth: "1px",
27337
27367
  borderStyle: "solid",
27338
27368
  borderRadius: "12px",
27339
- margin: "4px 14px 4px 4px",
27369
+ margin: "6px 14px 6px 6px",
27340
27370
  height: "24px",
27341
27371
  width: "24px",
27342
27372
  variants: buttonBorder,
@@ -38021,9 +38051,7 @@ var FormStateDropdown = function FormStateDropdown(_ref) {
38021
38051
  field = _ref.field,
38022
38052
  fieldActions = _ref.fieldActions,
38023
38053
  showErrors = _ref.showErrors,
38024
- countryCode = _ref.countryCode,
38025
- _ref$isRequired = _ref.isRequired,
38026
- isRequired = _ref$isRequired === void 0 ? false : _ref$isRequired;
38054
+ countryCode = _ref.countryCode;
38027
38055
  var placeholder = countryCode === "US" ? placeHolderOptionUS : placeHolderOption;
38028
38056
  var options = [placeholder].concat(_toConsumableArray(getOptions(countryCode)));
38029
38057
  return /*#__PURE__*/React.createElement(FormSelect$1, {
@@ -38033,8 +38061,7 @@ var FormStateDropdown = function FormStateDropdown(_ref) {
38033
38061
  labelTextWhenNoError: labelTextWhenNoError,
38034
38062
  errorMessages: errorMessages,
38035
38063
  showErrors: showErrors,
38036
- autocompleteValue: "address-level1",
38037
- isRequired: isRequired
38064
+ autocompleteValue: "address-level1"
38038
38065
  });
38039
38066
  };
38040
38067
 
@@ -39315,14 +39342,6 @@ const createFormState = (formConfig) => ({
39315
39342
  mapStateToProps: mapStateToProps,
39316
39343
  });
39317
39344
 
39318
- var getIsRequiredFromValidators = function getIsRequiredFromValidators(callbackFn) {
39319
- return callbackFn(function (field) {
39320
- return !!field.validators.find(function (validator) {
39321
- return validator.type === "validator/REQUIRED";
39322
- });
39323
- }, []);
39324
- };
39325
-
39326
39345
  var AddressForm = function AddressForm(_ref) {
39327
39346
  var _zipErrorMessages;
39328
39347
 
@@ -39381,8 +39400,7 @@ var AddressForm = function AddressForm(_ref) {
39381
39400
  }
39382
39401
  },
39383
39402
  showErrors: showErrors,
39384
- dataQa: "Country",
39385
- isRequired: getIsRequiredFromValidators(useCallback)(fields.city)
39403
+ dataQa: "Country"
39386
39404
  }), /*#__PURE__*/React.createElement(FormInput$1, {
39387
39405
  labelTextWhenNoError: "Address",
39388
39406
  errorMessages: street1ErrorMessages,
@@ -39393,8 +39411,7 @@ var AddressForm = function AddressForm(_ref) {
39393
39411
  return e.key === "Enter" && handleSubmit(e);
39394
39412
  },
39395
39413
  autocompleteValue: "address-line1",
39396
- dataQa: "Address",
39397
- isRequired: getIsRequiredFromValidators(useCallback)(fields.street1)
39414
+ dataQa: "Address"
39398
39415
  }), /*#__PURE__*/React.createElement(FormInput$1, {
39399
39416
  labelTextWhenNoError: "Apt, Suite, Unit, Floor, etc. (Optional)",
39400
39417
  field: fields.street2,
@@ -39404,8 +39421,7 @@ var AddressForm = function AddressForm(_ref) {
39404
39421
  return e.key === "Enter" && handleSubmit(e);
39405
39422
  },
39406
39423
  autocompleteValue: "address-line2",
39407
- dataQa: "Address Line 2",
39408
- isRequired: getIsRequiredFromValidators(useCallback)(fields.street2)
39424
+ dataQa: "Address Line 2"
39409
39425
  }), /*#__PURE__*/React.createElement(FormInput$1, {
39410
39426
  labelTextWhenNoError: "City",
39411
39427
  errorMessages: cityErrorMessages,
@@ -39416,8 +39432,7 @@ var AddressForm = function AddressForm(_ref) {
39416
39432
  return e.key === "Enter" && handleSubmit(e);
39417
39433
  },
39418
39434
  autocompleteValue: "address-level2",
39419
- dataQa: "City",
39420
- isRequired: getIsRequiredFromValidators(useCallback)(fields.city)
39435
+ dataQa: "City"
39421
39436
  }), /*#__PURE__*/React.createElement(FormStateDropdown, {
39422
39437
  labelTextWhenNoError: isUS ? "State" : "State or Province",
39423
39438
  errorMessages: stateProvinceErrorMessages,
@@ -39428,8 +39443,7 @@ var AddressForm = function AddressForm(_ref) {
39428
39443
  onKeyDown: function onKeyDown(e) {
39429
39444
  return e.key === "Enter" && handleSubmit(e);
39430
39445
  },
39431
- dataQa: "State or Province",
39432
- isRequired: getIsRequiredFromValidators(useCallback)(fields.stateProvince)
39446
+ dataQa: "State or Province"
39433
39447
  }), /*#__PURE__*/React.createElement(FormInput$1, {
39434
39448
  isNum: isUS,
39435
39449
  formatter: isUS ? zipFormat : null,
@@ -39442,8 +39456,7 @@ var AddressForm = function AddressForm(_ref) {
39442
39456
  return e.key === "Enter" && handleSubmit(e);
39443
39457
  },
39444
39458
  autocompleteValue: "postal-code",
39445
- dataQa: "Zip code",
39446
- isRequired: getIsRequiredFromValidators(useCallback)(fields.zip)
39459
+ dataQa: "Zip code"
39447
39460
  }), showWalletCheckbox && /*#__PURE__*/React.createElement(Checkbox$1, {
39448
39461
  name: "address checkbox",
39449
39462
  title: "Save address to wallet",
@@ -47881,7 +47894,7 @@ var TermsAndConditions = function TermsAndConditions(_ref) {
47881
47894
  };
47882
47895
 
47883
47896
  var PaymentFormACH = function PaymentFormACH(_ref) {
47884
- var _routingNumberErrors, _confirmRoutingNumber, _accountNumberErrors, _confirmAccountNumber;
47897
+ var _routingNumberErrors, _accountNumberErrors;
47885
47898
 
47886
47899
  var _ref$variant = _ref.variant,
47887
47900
  variant = _ref$variant === void 0 ? "default" : _ref$variant,
@@ -47924,9 +47937,12 @@ var PaymentFormACH = function PaymentFormACH(_ref) {
47924
47937
  var nameErrors = _defineProperty({}, required.error, "Name is required");
47925
47938
 
47926
47939
  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);
47927
- 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);
47940
+
47941
+ var confirmRoutingNumberErrors = _defineProperty({}, matchesField.error, "Confirm routing number field must match routing number");
47942
+
47928
47943
  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);
47929
- 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);
47944
+
47945
+ var confirmAccountNumberErrors = _defineProperty({}, matchesField.error, "Confirm account number field must match account number");
47930
47946
 
47931
47947
  var accountTypeErrors = _defineProperty({}, required.error, "Account type is required");
47932
47948
 
@@ -47944,8 +47960,7 @@ var PaymentFormACH = function PaymentFormACH(_ref) {
47944
47960
  onKeyDown: function onKeyDown(e) {
47945
47961
  return e.key === "Enter" && handleSubmit(e);
47946
47962
  },
47947
- autocompleteValue: "name",
47948
- isRequired: getIsRequiredFromValidators(useCallback)(fields.name)
47963
+ autocompleteValue: "name"
47949
47964
  }), /*#__PURE__*/React.createElement(FormInput$1, {
47950
47965
  labelTextWhenNoError: "Routing number",
47951
47966
  dataQa: "Routing number",
@@ -47953,7 +47968,6 @@ var PaymentFormACH = function PaymentFormACH(_ref) {
47953
47968
  field: fields.routingNumber,
47954
47969
  fieldActions: actions.fields.routingNumber,
47955
47970
  showErrors: showErrors,
47956
- isRequired: getIsRequiredFromValidators(useCallback)(fields.routingNumber),
47957
47971
  isNum: true,
47958
47972
  helperModal: function helperModal() {
47959
47973
  return /*#__PURE__*/React.createElement(AccountAndRoutingModal$1, {
@@ -47979,7 +47993,6 @@ var PaymentFormACH = function PaymentFormACH(_ref) {
47979
47993
  onKeyDown: function onKeyDown(e) {
47980
47994
  return e.key === "Enter" && handleSubmit(e);
47981
47995
  },
47982
- isRequired: getIsRequiredFromValidators(useCallback)(fields.confirmRoutingNumber),
47983
47996
  isNum: true
47984
47997
  }), /*#__PURE__*/React.createElement(FormInput$1, {
47985
47998
  labelTextWhenNoError: "Account number",
@@ -47988,7 +48001,6 @@ var PaymentFormACH = function PaymentFormACH(_ref) {
47988
48001
  field: fields.accountNumber,
47989
48002
  fieldActions: actions.fields.accountNumber,
47990
48003
  showErrors: showErrors,
47991
- isRequired: getIsRequiredFromValidators(useCallback)(fields.accountNumber),
47992
48004
  isNum: true,
47993
48005
  helperModal: function helperModal() {
47994
48006
  return /*#__PURE__*/React.createElement(AccountAndRoutingModal$1, {
@@ -48014,7 +48026,6 @@ var PaymentFormACH = function PaymentFormACH(_ref) {
48014
48026
  onKeyDown: function onKeyDown(e) {
48015
48027
  return e.key === "Enter" && handleSubmit(e);
48016
48028
  },
48017
- isRequired: getIsRequiredFromValidators(useCallback)(fields.confirmAccountNumber),
48018
48029
  isNum: true
48019
48030
  }), allowBankAccountType && /*#__PURE__*/React.createElement(FormSelect$1, {
48020
48031
  labelTextWhenNoError: "Account type",
@@ -48032,8 +48043,7 @@ var PaymentFormACH = function PaymentFormACH(_ref) {
48032
48043
  fieldActions: actions.fields.accountType,
48033
48044
  showErrors: showErrors,
48034
48045
  errorMessages: accountTypeErrors,
48035
- field: fields.accountType,
48036
- isRequired: getIsRequiredFromValidators(useCallback)(fields.accountType)
48046
+ field: fields.accountType
48037
48047
  }), !hideDefaultPayment && /*#__PURE__*/React.createElement(Checkbox$1, {
48038
48048
  title: "Save as Default Payment Method",
48039
48049
  dataQa: "default-payment-ach",
@@ -48069,7 +48079,7 @@ var formConfig$6 = {
48069
48079
  constraints: [onlyIntegers(), hasLength(0, 9)]
48070
48080
  },
48071
48081
  confirmRoutingNumber: {
48072
- validators: [matchesField("routingNumber"), required()],
48082
+ validators: [matchesField("routingNumber")],
48073
48083
  constraints: [onlyIntegers(), hasLength(0, 9)]
48074
48084
  },
48075
48085
  accountNumber: {
@@ -48077,7 +48087,7 @@ var formConfig$6 = {
48077
48087
  constraints: [onlyIntegers(), hasLength(0, 17)]
48078
48088
  },
48079
48089
  confirmAccountNumber: {
48080
- validators: [matchesField("accountNumber"), required()],
48090
+ validators: [matchesField("accountNumber")],
48081
48091
  constraints: [onlyIntegers(), hasLength(0, 17)]
48082
48092
  },
48083
48093
  accountType: {
@@ -48160,8 +48170,7 @@ var PaymentFormCard = function PaymentFormCard(_ref) {
48160
48170
  }
48161
48171
  },
48162
48172
  showErrors: showErrors,
48163
- dataQa: "Country",
48164
- isRequired: getIsRequiredFromValidators(useCallback)(fields.country)
48173
+ dataQa: "Country"
48165
48174
  }), /*#__PURE__*/React.createElement(FormInput$1, {
48166
48175
  labelTextWhenNoError: "Name on card",
48167
48176
  dataQa: "Name on card",
@@ -48172,8 +48181,7 @@ var PaymentFormCard = function PaymentFormCard(_ref) {
48172
48181
  onKeyDown: function onKeyDown(e) {
48173
48182
  return e.key === "Enter" && handleSubmit(e);
48174
48183
  },
48175
- autocompleteValue: "cc-name",
48176
- isRequired: getIsRequiredFromValidators(useCallback)(fields.nameOnCard)
48184
+ autocompleteValue: "cc-name"
48177
48185
  }), /*#__PURE__*/React.createElement(FormInput$1, {
48178
48186
  labelTextWhenNoError: "Credit card number",
48179
48187
  dataQa: "Credit card number",
@@ -48186,8 +48194,7 @@ var PaymentFormCard = function PaymentFormCard(_ref) {
48186
48194
  return e.key === "Enter" && handleSubmit(e);
48187
48195
  },
48188
48196
  isNum: true,
48189
- autocompleteValue: "cc-number",
48190
- isRequired: getIsRequiredFromValidators(useCallback)(fields.creditCardNumber)
48197
+ autocompleteValue: "cc-number"
48191
48198
  }), /*#__PURE__*/React.createElement(FormInputRow, {
48192
48199
  breakpoint: isMobile ? "1000rem" : "21rem",
48193
48200
  childGap: isMobile ? "0rem" : "1rem"
@@ -48205,8 +48212,7 @@ var PaymentFormCard = function PaymentFormCard(_ref) {
48205
48212
  isNum: true,
48206
48213
  removeFromValue: /\// // removes "/" from browser autofill
48207
48214
  ,
48208
- autocompleteValue: "cc-exp",
48209
- isRequired: getIsRequiredFromValidators(useCallback)(fields.expirationDate)
48215
+ autocompleteValue: "cc-exp"
48210
48216
  }), /*#__PURE__*/React.createElement(FormInput$1, {
48211
48217
  labelTextWhenNoError: "CVV",
48212
48218
  dataQa: "CVV",
@@ -48219,8 +48225,7 @@ var PaymentFormCard = function PaymentFormCard(_ref) {
48219
48225
  onKeyDown: function onKeyDown(e) {
48220
48226
  return e.key === "Enter" && handleSubmit(e);
48221
48227
  },
48222
- autocompleteValue: "cc-csc",
48223
- isRequired: getIsRequiredFromValidators(useCallback)(fields.cvv)
48228
+ autocompleteValue: "cc-csc"
48224
48229
  })), !hideZipCode && /*#__PURE__*/React.createElement(Box, {
48225
48230
  padding: isMobile ? "0" : "0 0.5rem 0 0",
48226
48231
  width: isMobile ? "100%" : "50%"
@@ -48236,8 +48241,7 @@ var PaymentFormCard = function PaymentFormCard(_ref) {
48236
48241
  onKeyDown: function onKeyDown(e) {
48237
48242
  return e.key === "Enter" && handleSubmit(e);
48238
48243
  },
48239
- autocompleteValue: "billing postal-code",
48240
- isRequired: getIsRequiredFromValidators(useCallback)(fields.zipCode)
48244
+ autocompleteValue: "billing postal-code"
48241
48245
  })), (showWalletCheckbox || showTerms) && /*#__PURE__*/React.createElement(Cluster, {
48242
48246
  childGap: "4px",
48243
48247
  align: "center"
@@ -48668,8 +48672,7 @@ var RadioSection = function RadioSection(_ref) {
48668
48672
  extraStyles: borderStyles,
48669
48673
  role: "radio",
48670
48674
  "aria-checked": openSection === section.id,
48671
- disabled: section.disabled,
48672
- required: section === null || section === void 0 ? void 0 : section.required
48675
+ "aria-disabled": section.disabled
48673
48676
  }, /*#__PURE__*/React.createElement(Stack, {
48674
48677
  childGap: "0"
48675
48678
  }, /*#__PURE__*/React.createElement(Box, {
@@ -48699,8 +48702,6 @@ var RadioSection = function RadioSection(_ref) {
48699
48702
  }, !section.hideRadioButton && /*#__PURE__*/React.createElement(Box, {
48700
48703
  padding: "0"
48701
48704
  }, /*#__PURE__*/React.createElement(RadioButton$2, {
48702
- role: "radio",
48703
- required: !!(section !== null && section !== void 0 && section.required),
48704
48705
  id: "radio-input-".concat(idString(section)),
48705
48706
  name: idString(section),
48706
48707
  ariaDescribedBy: ariaDescribedBy,