@thecb/components 5.0.0-beta.8 → 5.2.0

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 (34) hide show
  1. package/dist/index.cjs.js +595 -397
  2. package/dist/index.cjs.js.map +1 -0
  3. package/dist/index.esm.js +41626 -0
  4. package/dist/index.esm.js.map +1 -0
  5. package/package.json +7 -3
  6. package/src/.DS_Store +0 -0
  7. package/src/components/.DS_Store +0 -0
  8. package/src/components/atoms/icons/CashIcon.js +21 -0
  9. package/src/components/atoms/icons/index.js +3 -1
  10. package/src/components/molecules/.DS_Store +0 -0
  11. package/src/components/molecules/modal/Modal.js +1 -1
  12. package/src/components/molecules/payment-form-card/PaymentFormCard.js +1 -0
  13. package/src/components/molecules/payment-form-card/PaymentFormCard.state.js +4 -2
  14. package/src/deprecated/.DS_Store +0 -0
  15. package/src/deprecated/utility/__tests__/safeConcat.spec.js +30 -28
  16. package/src/deprecated/utility/__tests__/validateKeyType.spec.js +65 -49
  17. package/src/deprecated/utility/index.js +2 -2
  18. package/src/deprecated/utility/safeConcat.js +3 -3
  19. package/src/deprecated/utility/validateKeyType.js +4 -6
  20. package/.eslintrc.json +0 -34
  21. package/.github/PULL_REQUEST_TEMPLATE.md +0 -18
  22. package/.github/stale.yml +0 -17
  23. package/.github/workflows/bump-version.yml +0 -30
  24. package/.github/workflows/create-release/build-body.sh +0 -35
  25. package/.github/workflows/create-release.yml +0 -52
  26. package/.github/workflows/disabled-workflows/publish-update.yml +0 -73
  27. package/.prettierignore +0 -3
  28. package/.storybook/main.js +0 -4
  29. package/.storybook/page.js +0 -64
  30. package/.storybook/themes/apc.theme.js +0 -1
  31. package/.storybook/themes/index.js +0 -2
  32. package/.storybook/themes/sf.theme.js +0 -1
  33. package/.tool-versions +0 -1
  34. package/rollup.config.js +0 -53
package/dist/index.cjs.js CHANGED
@@ -4985,8 +4985,10 @@ var colors = /*#__PURE__*/Object.freeze({
4985
4985
  ERROR_COLOR: ERROR_COLOR
4986
4986
  });
4987
4987
 
4988
- var _templateObject, _templateObject2, _templateObject3;
4989
- var TextSpan = styled__default.span(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n --font-size: ", ";\n font-size: var(--font-size);\n line-height: calc(1.5 * var(--font-size));\n font-weight: ", ";\n font-family: ", ";\n color: ", ";\n\n &:hover {\n ", "\n }\n\n &:focus {\n outline: 3px solid ", ";\n outline-offset: 2px;\n }\n\n ", "\n\n ", "\n"])), function (_ref) {
4988
+ var TextSpan = styled__default.span.withConfig({
4989
+ displayName: "Textstyled__TextSpan",
4990
+ componentId: "sc-1oy97we-0"
4991
+ })(["--font-size:", ";font-size:var(--font-size);line-height:calc(1.5 * var(--font-size));font-weight:", ";font-family:", ";color:", ";&:hover{", "}&:focus{outline:3px solid ", ";outline-offset:2px;}", " ", ""], function (_ref) {
4990
4992
  var fontSize = _ref.fontSize;
4991
4993
  return fontSize;
4992
4994
  }, function (_ref2) {
@@ -5000,11 +5002,11 @@ var TextSpan = styled__default.span(_templateObject || (_templateObject = _tagge
5000
5002
  return color;
5001
5003
  }, function (_ref5) {
5002
5004
  var hoverStyles = _ref5.hoverStyles;
5003
- return styled.css(_templateObject2 || (_templateObject2 = _taggedTemplateLiteral(["\n ", "\n "])), hoverStyles);
5005
+ return styled.css(["", ""], hoverStyles);
5004
5006
  }, ROYAL_BLUE, function (_ref6) {
5005
5007
  var disabled = _ref6.disabled,
5006
5008
  disabledStyles = _ref6.disabledStyles;
5007
- return disabled && styled.css(_templateObject3 || (_templateObject3 = _taggedTemplateLiteral(["\n ", "\n "])), disabledStyles);
5009
+ return disabled && styled.css(["", ""], disabledStyles);
5008
5010
  }, function (_ref7) {
5009
5011
  var extraStyles = _ref7.extraStyles;
5010
5012
  return extraStyles;
@@ -5012,10 +5014,6 @@ var TextSpan = styled__default.span(_templateObject || (_templateObject = _tagge
5012
5014
 
5013
5015
  var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};
5014
5016
 
5015
- function unwrapExports (x) {
5016
- return x && x.__esModule && Object.prototype.hasOwnProperty.call(x, 'default') ? x['default'] : x;
5017
- }
5018
-
5019
5017
  function createCommonjsModule(fn, module) {
5020
5018
  return module = { exports: {} }, fn(module, module.exports), module.exports;
5021
5019
  }
@@ -6162,8 +6160,6 @@ var Text = function Text(_ref) {
6162
6160
  var Text$1 = themeComponent(Text, "Text", fallbackValues, "p");
6163
6161
 
6164
6162
  var _excluded$2 = ["activeStyles", "hoverStyles", "disabledStyles", "extraStyles", "borderSize", "borderColor", "borderWidthOverride", "borderRadius", "textAlign", "boxShadow", "minHeight", "minWidth", "maxWidth", "padding", "hiddenStyles", "ariaControls", "ariaLabel"];
6165
-
6166
- var _templateObject$1, _templateObject2$1, _templateObject3$1, _templateObject4, _templateObject5, _templateObject6, _templateObject7;
6167
6163
  /*
6168
6164
  The child span selector on hover styles targets the text inside of buttons when a button is hovered,
6169
6165
  as long as the box wrapper has an "as" prop equal to "button"
@@ -6198,7 +6194,10 @@ var BoxWrapper = styled__default(function (_ref) {
6198
6194
  "aria-controls": ariaControls,
6199
6195
  "aria-label": ariaLabel
6200
6196
  }, props));
6201
- })(_templateObject$1 || (_templateObject$1 = _taggedTemplateLiteral(["\n position: relative;\n box-sizing: border-box;\n padding: ", ";\n border: ", ";\n box-shadow: ", ";\n background-color: ", ";\n min-height: ", ";\n ", "\n min-width: ", ";\n max-width: ", ";\n color: ", ";\n border-radius: ", ";\n border-width: ", ";\n border: ", ";\n text-align: ", ";\n\n &:hover {\n ", "\n }\n\n &:focus {\n ", "\n }\n\n &:active {\n ", "\n }\n\n &:disabled {\n ", "\n }\n\n & * {\n color: ", ";\n }\n\n ", "\n ", "\n"])), function (_ref2) {
6197
+ }).withConfig({
6198
+ displayName: "Boxstyled__BoxWrapper",
6199
+ componentId: "sc-1f9ij0d-0"
6200
+ })(["position:relative;box-sizing:border-box;padding:", ";border:", ";box-shadow:", ";background-color:", ";min-height:", ";", " min-width:", ";max-width:", ";color:", ";border-radius:", ";border-width:", ";border:", ";text-align:", ";&:hover{", "}&:focus{", "}&:active{", "}&:disabled{", "}& *{color:", ";}", " ", ""], function (_ref2) {
6202
6201
  var padding = _ref2.padding;
6203
6202
  return padding;
6204
6203
  }, function (_ref3) {
@@ -6242,27 +6241,27 @@ var BoxWrapper = styled__default(function (_ref) {
6242
6241
  }, function (_ref15) {
6243
6242
  var hoverStyles = _ref15.hoverStyles,
6244
6243
  as = _ref15.as;
6245
- return styled.css(_templateObject2$1 || (_templateObject2$1 = _taggedTemplateLiteral(["\n ", "\n ", "\n "])), hoverStyles, as === "button" ? "> * > span {\n ".concat(hoverStyles, "\n border: none;\n outline: none;\n box-shadow: none;\n }") : "");
6244
+ return styled.css(["", " ", ""], hoverStyles, as === "button" ? "> * > span {\n ".concat(hoverStyles, "\n border: none;\n outline: none;\n box-shadow: none;\n }") : "");
6246
6245
  }, function (_ref16) {
6247
6246
  var as = _ref16.as;
6248
- return styled.css(_templateObject3$1 || (_templateObject3$1 = _taggedTemplateLiteral(["\n outline: 3px solid ", ";\n outline-offset: 2px;\n ", "\n "])), ROYAL_BLUE, as === "button" && "\n > * > span {\n border: none;\n outline: none;\n box-shadow: none;\n }");
6247
+ return styled.css(["outline:3px solid ", ";outline-offset:2px;", ""], ROYAL_BLUE, as === "button" && "\n > * > span {\n border: none;\n outline: none;\n box-shadow: none;\n }");
6249
6248
  }, function (_ref17) {
6250
6249
  var activeStyles = _ref17.activeStyles,
6251
6250
  as = _ref17.as;
6252
- return styled.css(_templateObject4 || (_templateObject4 = _taggedTemplateLiteral(["\n ", "\n ", "\n "])), activeStyles, as === "button" ? " > * > span {\n ".concat(activeStyles, "\n border: none;\n outline: none;\n box-shadow: none;\n }") : "");
6251
+ return styled.css(["", " ", ""], activeStyles, as === "button" ? " > * > span {\n ".concat(activeStyles, "\n border: none;\n outline: none;\n box-shadow: none;\n }") : "");
6253
6252
  }, function (_ref18) {
6254
6253
  var disabledStyles = _ref18.disabledStyles,
6255
6254
  as = _ref18.as;
6256
- return styled.css(_templateObject5 || (_templateObject5 = _taggedTemplateLiteral(["\n ", "\n ", "\n "])), disabledStyles, as === "button" ? " > * > span {\n ".concat(disabledStyles, "\n border: none;\n outline: none;\n box-shadow: none;\n }") : "");
6255
+ return styled.css(["", " ", ""], disabledStyles, as === "button" ? " > * > span {\n ".concat(disabledStyles, "\n border: none;\n outline: none;\n box-shadow: none;\n }") : "");
6257
6256
  }, function (_ref19) {
6258
6257
  var color = _ref19.color;
6259
6258
  return color;
6260
6259
  }, function (_ref20) {
6261
6260
  var hiddenStyles = _ref20.hiddenStyles;
6262
- return hiddenStyles && styled.css(_templateObject6 || (_templateObject6 = _taggedTemplateLiteral(["\n display: none;\n "])));
6261
+ return hiddenStyles && styled.css(["display:none;"]);
6263
6262
  }, function (_ref21) {
6264
6263
  var extraStyles = _ref21.extraStyles;
6265
- return styled.css(_templateObject7 || (_templateObject7 = _taggedTemplateLiteral(["\n ", "\n "])), extraStyles);
6264
+ return styled.css(["", ""], extraStyles);
6266
6265
  });
6267
6266
  /* eslint-enable no-unused-vars */
6268
6267
 
@@ -6344,8 +6343,10 @@ var Box = function Box(_ref) {
6344
6343
  }, rest), safeChildren(children, /*#__PURE__*/React__default.createElement(React.Fragment, null)));
6345
6344
  };
6346
6345
 
6347
- var _templateObject$2;
6348
- var CenterWrapper = styled__default.div(_templateObject$2 || (_templateObject$2 = _taggedTemplateLiteral(["\n box-sizing: content-box;\n margin-left: auto;\n margin-right: auto;\n max-width: ", ";\n padding-left: ", ";\n padding-right: ", ";\n ", ";\n"])), function (_ref) {
6346
+ var CenterWrapper = styled__default.div.withConfig({
6347
+ displayName: "Centerstyled__CenterWrapper",
6348
+ componentId: "sc-vawqfc-0"
6349
+ })(["box-sizing:content-box;margin-left:auto;margin-right:auto;max-width:", ";padding-left:", ";padding-right:", ";", ";"], function (_ref) {
6349
6350
  var maxWidth = _ref.maxWidth;
6350
6351
  return maxWidth;
6351
6352
  }, function (_ref2) {
@@ -6382,8 +6383,6 @@ var Center = function Center(_ref) {
6382
6383
  };
6383
6384
 
6384
6385
  var _excluded$5 = ["overflow"];
6385
-
6386
- var _templateObject$3, _templateObject2$2;
6387
6386
  /* eslint-disable no-unused-vars */
6388
6387
 
6389
6388
  var ClusterWrapper = styled__default(function (_ref) {
@@ -6391,7 +6390,10 @@ var ClusterWrapper = styled__default(function (_ref) {
6391
6390
  props = _objectWithoutProperties(_ref, _excluded$5);
6392
6391
 
6393
6392
  return /*#__PURE__*/React__default.createElement("div", props);
6394
- })(_templateObject$3 || (_templateObject$3 = _taggedTemplateLiteral(["\n overflow: ", ";\n box-sizing: border-box;\n justify-self: ", ";\n align-self: ", ";\n flex-grow: ", ";\n ", ";\n"])), function (_ref2) {
6393
+ }).withConfig({
6394
+ displayName: "Clusterstyled__ClusterWrapper",
6395
+ componentId: "sc-1dkqsm7-0"
6396
+ })(["overflow:", ";box-sizing:border-box;justify-self:", ";align-self:", ";flex-grow:", ";", ";"], function (_ref2) {
6395
6397
  var overflow = _ref2.overflow;
6396
6398
  return overflow ? "visible" : "hidden";
6397
6399
  }, function (_ref3) {
@@ -6407,7 +6409,10 @@ var ClusterWrapper = styled__default(function (_ref) {
6407
6409
  var extraStyles = _ref6.extraStyles;
6408
6410
  return extraStyles;
6409
6411
  });
6410
- var ClusterInnerWrapper = styled__default.div(_templateObject2$2 || (_templateObject2$2 = _taggedTemplateLiteral(["\n box-sizing: border-box;\n display: flex;\n flex-wrap: ", ";\n justify-content: ", ";\n align-items: ", ";\n margin: calc(", " / 2 * -1);\n min-height: ", ";\n min-width: ", ";\n > * {\n margin: calc(", " / 2);\n }\n"])), function (_ref7) {
6412
+ var ClusterInnerWrapper = styled__default.div.withConfig({
6413
+ displayName: "Clusterstyled__ClusterInnerWrapper",
6414
+ componentId: "sc-1dkqsm7-1"
6415
+ })(["box-sizing:border-box;display:flex;flex-wrap:", ";justify-content:", ";align-items:", ";margin:calc(", " / 2 * -1);min-height:", ";min-width:", ";> *{margin:calc(", " / 2);}"], function (_ref7) {
6411
6416
  var nowrap = _ref7.nowrap;
6412
6417
  return nowrap ? "nowrap" : "wrap";
6413
6418
  }, function (_ref8) {
@@ -6473,8 +6478,10 @@ var Cluster = function Cluster(_ref) {
6473
6478
  }, safeChildren(children, /*#__PURE__*/React__default.createElement(React.Fragment, null))));
6474
6479
  };
6475
6480
 
6476
- var _templateObject$4;
6477
- var GridWrapper = styled__default.div(_templateObject$4 || (_templateObject$4 = _taggedTemplateLiteral(["\n display: grid;\n grid-gap: ", ";\n grid-template-columns: ", ";\n\n @supports (width: min(", ", 100%)) {\n & {\n grid-template-columns: repeat(\n auto-fill,\n minmax(\n ", ",\n ", "\n )\n );\n }\n }\n"])), function (_ref) {
6481
+ var GridWrapper = styled__default.div.withConfig({
6482
+ displayName: "Gridstyled__GridWrapper",
6483
+ componentId: "sc-8iakdj-0"
6484
+ })(["display:grid;grid-gap:", ";grid-template-columns:", ";@supports (width:min(", ",100%)){&{grid-template-columns:repeat( auto-fill,minmax( ", ",", " ) );}}"], function (_ref) {
6478
6485
  var columnGap = _ref.columnGap;
6479
6486
  return columnGap;
6480
6487
  }, function (_ref2) {
@@ -6531,9 +6538,10 @@ var Grid = function Grid(_ref) {
6531
6538
  };
6532
6539
 
6533
6540
  var _excluded$8 = ["onRight", "childGap", "contentMinWidth", "minHeight", "fullHeight"];
6534
-
6535
- var _templateObject$5, _templateObject2$3;
6536
- var SidebarWrapper = styled__default.div(_templateObject$5 || (_templateObject$5 = _taggedTemplateLiteral(["\n overflow: visible;\n box-sizing: border-box;\n\n ", "\n"])), function (_ref) {
6541
+ var SidebarWrapper = styled__default.div.withConfig({
6542
+ displayName: "Sidebarstyled__SidebarWrapper",
6543
+ componentId: "sc-1bbn2or-0"
6544
+ })(["overflow:visible;box-sizing:border-box;", ""], function (_ref) {
6537
6545
  var fullHeight = _ref.fullHeight;
6538
6546
  return fullHeight ? "height: 100%;" : "";
6539
6547
  });
@@ -6547,7 +6555,10 @@ function (_ref2) {
6547
6555
  props = _objectWithoutProperties(_ref2, _excluded$8);
6548
6556
 
6549
6557
  return /*#__PURE__*/React__default.createElement("div", props);
6550
- })(_templateObject2$3 || (_templateObject2$3 = _taggedTemplateLiteral(["\n display: flex;\n flex-wrap: wrap;\n box-sizing: border-box;\n margin: calc(", " / 2 * -1);\n\n > * {\n margin: calc(", " / 2);\n flex-grow: 1;\n ", ";\n ", "\n }\n\n ", "\n\n ", "\n"])), function (_ref3) {
6558
+ }).withConfig({
6559
+ displayName: "Sidebarstyled__SidebarInnerWrapper",
6560
+ componentId: "sc-1bbn2or-1"
6561
+ })(["display:flex;flex-wrap:wrap;box-sizing:border-box;margin:calc(", " / 2 * -1);> *{margin:calc(", " / 2);flex-grow:1;", ";", "}", " ", ""], function (_ref3) {
6551
6562
  var childGap = _ref3.childGap;
6552
6563
  return childGap;
6553
6564
  }, function (_ref4) {
@@ -6610,8 +6621,10 @@ var Sidebar = function Sidebar(_ref) {
6610
6621
  }, safeChildren(children, /*#__PURE__*/React__default.createElement(React.Fragment, null))));
6611
6622
  };
6612
6623
 
6613
- var _templateObject$6;
6614
- var StackWrapper = styled__default.div(_templateObject$6 || (_templateObject$6 = _taggedTemplateLiteral(["\n box-sizing: border-box;\n display: flex;\n flex-direction: ", ";\n justify-content: ", ";\n height: ", ";\n\n > * {\n margin-top: 0;\n margin-bottom: 0;\n }\n\n > * + * {\n ", "\n }\n\n ", ";\n"])), function (_ref) {
6624
+ var StackWrapper = styled__default.div.withConfig({
6625
+ displayName: "Stackstyled__StackWrapper",
6626
+ componentId: "sc-ejhezz-0"
6627
+ })(["box-sizing:border-box;display:flex;flex-direction:", ";justify-content:", ";height:", ";> *{margin-top:0;margin-bottom:0;}> * + *{", "}", ";"], function (_ref) {
6615
6628
  var direction = _ref.direction;
6616
6629
  return direction;
6617
6630
  }, function (_ref2) {
@@ -6662,8 +6675,10 @@ var Stack = function Stack(_ref) {
6662
6675
  }, rest), safeChildren(children, /*#__PURE__*/React__default.createElement(React.Fragment, null)));
6663
6676
  };
6664
6677
 
6665
- var _templateObject$7;
6666
- var CoverOuterContainer = styled__default.div(_templateObject$7 || (_templateObject$7 = _taggedTemplateLiteral(["\n box-sizing: border-box;\n display: flex;\n flex-direction: column;\n min-height: ", ";\n padding: ", ";\n min-width: ", ";\n\n > * {\n margin-top: ", ";\n margin-bottom: ", ";\n }\n\n > :first-child {\n margin-top: 0;\n }\n\n ", "\n\n ", "\n\n > :last-child {\n margin-bottom: 0;\n }\n"])), function (_ref) {
6678
+ var CoverOuterContainer = styled__default.div.withConfig({
6679
+ displayName: "Coverstyled__CoverOuterContainer",
6680
+ componentId: "sc-1jhq379-0"
6681
+ })(["box-sizing:border-box;display:flex;flex-direction:column;min-height:", ";padding:", ";min-width:", ";> *{margin-top:", ";margin-bottom:", ";}>:first-child{margin-top:0;}", " ", " >:last-child{margin-bottom:0;}"], function (_ref) {
6667
6682
  var minHeight = _ref.minHeight;
6668
6683
  return minHeight;
6669
6684
  }, function (_ref2) {
@@ -6727,8 +6742,10 @@ var Cover = function Cover(_ref) {
6727
6742
  }, rest), singleChild ? /*#__PURE__*/React__default.createElement("div", null) : /*#__PURE__*/React__default.createElement(React.Fragment, null), safeChildren(children, /*#__PURE__*/React__default.createElement(React.Fragment, null)), singleChild ? /*#__PURE__*/React__default.createElement("div", null) : /*#__PURE__*/React__default.createElement(React.Fragment, null));
6728
6743
  };
6729
6744
 
6730
- var _templateObject$8;
6731
- var FrameOuterContainer = styled__default.div(_templateObject$8 || (_templateObject$8 = _taggedTemplateLiteral(["\n box-sizing: border-box;\n padding-bottom: ", ";\n position: relative;\n\n > * {\n overflow: hidden;\n position: absolute;\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n display: flex;\n justify-content: center;\n align-items: center;\n }\n\n > img,\n > video {\n width: 100%;\n height: 100%;\n object-fit: cover;\n }\n"])), function (_ref) {
6745
+ var FrameOuterContainer = styled__default.div.withConfig({
6746
+ displayName: "Framestyled__FrameOuterContainer",
6747
+ componentId: "sc-1syfnuv-0"
6748
+ })(["box-sizing:border-box;padding-bottom:", ";position:relative;> *{overflow:hidden;position:absolute;top:0;right:0;bottom:0;left:0;display:flex;justify-content:center;align-items:center;}> img,> video{width:100%;height:100%;object-fit:cover;}"], function (_ref) {
6732
6749
  var numerator = _ref.numerator,
6733
6750
  denominator = _ref.denominator;
6734
6751
  return "calc((".concat(numerator, " / ").concat(denominator, ") * 100%)");
@@ -6762,9 +6779,14 @@ var Frame = function Frame(_ref) {
6762
6779
  }, rest), safeChildren(children, /*#__PURE__*/React__default.createElement(React.Fragment, null)));
6763
6780
  };
6764
6781
 
6765
- var _templateObject$9, _templateObject2$4, _templateObject3$2;
6766
- var SwitcherOuterContainer = styled__default.div(_templateObject$9 || (_templateObject$9 = _taggedTemplateLiteral(["\n box-sizing: border-box;\n display: block;\n"])));
6767
- var SwitcherInnerContainer = styled__default.div(_templateObject2$4 || (_templateObject2$4 = _taggedTemplateLiteral(["\n box-sizing: border-box;\n display: flex;\n flex-wrap: wrap;\n overflow: hidden;\n padding: ", ";\n margin: ", ";\n ", "\n\n > * {\n flex-grow: 1;\n ", ";\n ", "\n ", "\n }\n\n ", "\n\n ", "\n\n ", "\n"])), function (_ref) {
6782
+ var SwitcherOuterContainer = styled__default.div.withConfig({
6783
+ displayName: "Switcherstyled__SwitcherOuterContainer",
6784
+ componentId: "sc-1ym61kc-0"
6785
+ })(["box-sizing:border-box;display:block;"]);
6786
+ var SwitcherInnerContainer = styled__default.div.withConfig({
6787
+ displayName: "Switcherstyled__SwitcherInnerContainer",
6788
+ componentId: "sc-1ym61kc-1"
6789
+ })(["box-sizing:border-box;display:flex;flex-wrap:wrap;overflow:hidden;padding:", ";margin:", ";", " > *{flex-grow:1;", ";", " ", "}", " ", " ", ""], function (_ref) {
6768
6790
  var padding = _ref.padding;
6769
6791
  return padding;
6770
6792
  }, function (_ref2) {
@@ -6793,7 +6815,7 @@ var SwitcherInnerContainer = styled__default.div(_templateObject2$4 || (_templat
6793
6815
  return maxChildren ? "> :nth-last-child(".concat(maxChildren + 1, "), > :nth-last-child(").concat(maxChildren + 1, ") ~ * {\n flex-basis: 100%;\n }") : "";
6794
6816
  }, function (_ref9) {
6795
6817
  var extraStyles = _ref9.extraStyles;
6796
- return styled.css(_templateObject3$2 || (_templateObject3$2 = _taggedTemplateLiteral(["\n ", "\n "])), extraStyles);
6818
+ return styled.css(["", ""], extraStyles);
6797
6819
  });
6798
6820
 
6799
6821
  var _excluded$d = ["breakpoint", "childGap", "largeChild", "largeChildSize", "maxChildren", "maxChildrenOnly", "padding", "children", "extraStyles", "constrainMobile"];
@@ -6860,8 +6882,10 @@ var Switcher = function Switcher(_ref) {
6860
6882
  }, rest), safeChildren(children, /*#__PURE__*/React__default.createElement(React.Fragment, null))));
6861
6883
  };
6862
6884
 
6863
- var _templateObject$a;
6864
- var ImposterWrapper = styled__default.div(_templateObject$a || (_templateObject$a = _taggedTemplateLiteral(["\n position: ", ";\n top: ", ";\n left: ", ";\n display: ", ";\n\n ", "\n\n ", "\n ", ";\n"])), function (_ref) {
6885
+ var ImposterWrapper = styled__default.div.withConfig({
6886
+ displayName: "Imposterstyled__ImposterWrapper",
6887
+ componentId: "sc-1q0gj35-0"
6888
+ })(["position:", ";top:", ";left:", ";display:", ";", " ", " ", ";"], function (_ref) {
6865
6889
  var fixed = _ref.fixed;
6866
6890
  return fixed ? "fixed" : "absolute";
6867
6891
  }, function (_ref2) {
@@ -12001,8 +12025,10 @@ if (typeof window !== "undefined") {
12001
12025
  }
12002
12026
  }
12003
12027
 
12004
- var _templateObject$b;
12005
- var MotionWrapper = styled__default(motion.div)(_templateObject$b || (_templateObject$b = _taggedTemplateLiteral(["\n position: ", ";\n display: ", ";\n box-sizing: border-box;\n padding: ", ";\n border: ", ";\n border-color: ", ";\n border-size: ", ";\n border-style: ", ";\n border-width: ", ";\n border-radius: ", ";\n background-color: ", ";\n box-shadow: ", ";\n min-height: ", ";\n min-width: ", ";\n height: ", ";\n width: ", ";\n text-align: ", ";\n margin: ", ";\n\n &:hover,\n &:focus {\n ", ";\n }\n\n &:active {\n ", ";\n }\n\n &:disabled {\n ", ";\n }\n\n ", ";\n"])), function (_ref) {
12028
+ var MotionWrapper = styled__default(motion.div).withConfig({
12029
+ displayName: "Motionstyled__MotionWrapper",
12030
+ componentId: "sc-1m6r1io-0"
12031
+ })(["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) {
12006
12032
  var position = _ref.position;
12007
12033
  return position;
12008
12034
  }, function (_ref2) {
@@ -12117,8 +12143,10 @@ var Motion = function Motion(_ref) {
12117
12143
  }, rest), safeChildren(children, /*#__PURE__*/React__default.createElement(React.Fragment, null)));
12118
12144
  };
12119
12145
 
12120
- var _templateObject$c;
12121
- var ReelStyled = styled__default.div(_templateObject$c || (_templateObject$c = _taggedTemplateLiteral(["\n display: flex;\n overflow-x: ", ";\n padding: ", ";\n height: ", ";\n justify-content: ", ";\n\n > * + * {\n margin-left: ", ";\n }\n\n > * {\n flex: 0 0 ", ";\n }\n"])), function (_ref) {
12146
+ var ReelStyled = styled__default.div.withConfig({
12147
+ displayName: "Reelstyled__ReelStyled",
12148
+ componentId: "sc-bhf05j-0"
12149
+ })(["display:flex;overflow-x:", ";padding:", ";height:", ";justify-content:", ";> * + *{margin-left:", ";}> *{flex:0 0 ", ";}"], function (_ref) {
12122
12150
  var disableScroll = _ref.disableScroll;
12123
12151
  return disableScroll ? "hidden" : "auto";
12124
12152
  }, function (_ref2) {
@@ -12369,7 +12397,6 @@ var fallbackValues$1 = {
12369
12397
  activeColor: activeColor
12370
12398
  };
12371
12399
 
12372
- var _templateObject$d, _templateObject2$5;
12373
12400
  var rotate = posed.div({
12374
12401
  fixed: {
12375
12402
  rotate: "0deg"
@@ -12385,8 +12412,14 @@ var rotate = posed.div({
12385
12412
  }
12386
12413
  }
12387
12414
  });
12388
- var SpinnerContainer = styled__default.div(_templateObject$d || (_templateObject$d = _taggedTemplateLiteral(["\n width: 100%;\n display: flex;\n flex-direction: row;\n align-items: center;\n justify-content: center;\n"])));
12389
- var SpinnerIconWrapper = styled__default(rotate)(_templateObject2$5 || (_templateObject2$5 = _taggedTemplateLiteral(["\n width: ", "px;\n height: ", "px;\n"])), function (_ref) {
12415
+ var SpinnerContainer = styled__default.div.withConfig({
12416
+ displayName: "Spinner__SpinnerContainer",
12417
+ componentId: "sc-jphte-0"
12418
+ })(["width:100%;display:flex;flex-direction:row;align-items:center;justify-content:center;"]);
12419
+ var SpinnerIconWrapper = styled__default(rotate).withConfig({
12420
+ displayName: "Spinner__SpinnerIconWrapper",
12421
+ componentId: "sc-jphte-1"
12422
+ })(["width:", "px;height:", "px;"], function (_ref) {
12390
12423
  var isMobile = _ref.isMobile;
12391
12424
  return isMobile ? "18" : "21";
12392
12425
  }, function (_ref2) {
@@ -12430,8 +12463,6 @@ var SpinnerIcon = function SpinnerIcon(_ref3) {
12430
12463
  };
12431
12464
 
12432
12465
  var _excluded$h = ["action", "variant", "text", "isLoading", "dataQa", "textExtraStyles", "contentOverride", "extraStyles", "tabIndex", "children"];
12433
-
12434
- var _templateObject$e, _templateObject2$6;
12435
12466
  var rotate$1 = posed.div({
12436
12467
  fixed: {
12437
12468
  rotate: "0deg"
@@ -12447,8 +12478,14 @@ var rotate$1 = posed.div({
12447
12478
  }
12448
12479
  }
12449
12480
  });
12450
- var SpinnerContainer$1 = styled__default.div(_templateObject$e || (_templateObject$e = _taggedTemplateLiteral(["\n width: 100%;\n display: flex;\n flex-direction: row;\n align-items: center;\n justify-content: center;\n"])));
12451
- var SpinnerIconWrapper$1 = styled__default(rotate$1)(_templateObject2$6 || (_templateObject2$6 = _taggedTemplateLiteral([""])));
12481
+ var SpinnerContainer$1 = styled__default.div.withConfig({
12482
+ displayName: "ButtonWithAction__SpinnerContainer",
12483
+ componentId: "sc-1ffs4ga-0"
12484
+ })(["width:100%;display:flex;flex-direction:row;align-items:center;justify-content:center;"]);
12485
+ var SpinnerIconWrapper$1 = styled__default(rotate$1).withConfig({
12486
+ displayName: "ButtonWithAction__SpinnerIconWrapper",
12487
+ componentId: "sc-1ffs4ga-1"
12488
+ })([""]);
12452
12489
 
12453
12490
  var Spinner = function Spinner(_ref) {
12454
12491
  var isMobile = _ref.isMobile;
@@ -13469,9 +13506,14 @@ var GenericCard = function GenericCard() {
13469
13506
  })))));
13470
13507
  };
13471
13508
 
13472
- var _templateObject$f, _templateObject2$7;
13473
- var BankItemWrapper = styled__default.div(_templateObject$f || (_templateObject$f = _taggedTemplateLiteral(["\n display: flex;\n justify-content: flex-start;\n align-items: center;\n"])));
13474
- var BankAccountText = styled__default.h4(_templateObject2$7 || (_templateObject2$7 = _taggedTemplateLiteral(["\n color: ", ";\n font-size: 1rem;\n font-weight: 400;\n line-height: 1.5rem;\n text-align: left;\n margin-right: 0.5rem;\n display: inline-block;\n"])), CHARADE_GREY);
13509
+ var BankItemWrapper = styled__default.div.withConfig({
13510
+ displayName: "PaymentIcon__BankItemWrapper",
13511
+ componentId: "sc-1k0jl35-0"
13512
+ })(["display:flex;justify-content:flex-start;align-items:center;"]);
13513
+ var BankAccountText = styled__default.h4.withConfig({
13514
+ displayName: "PaymentIcon__BankAccountText",
13515
+ componentId: "sc-1k0jl35-1"
13516
+ })(["color:", ";font-size:1rem;font-weight:400;line-height:1.5rem;text-align:left;margin-right:0.5rem;display:inline-block;"], CHARADE_GREY);
13475
13517
  var CHECKING = "CHECKING";
13476
13518
  var SAVINGS = "SAVINGS";
13477
13519
 
@@ -15231,6 +15273,24 @@ var WarningIconXS = function WarningIconXS() {
15231
15273
  })))));
15232
15274
  };
15233
15275
 
15276
+ var CashIcon = function CashIcon() {
15277
+ return /*#__PURE__*/React__default.createElement("svg", {
15278
+ xmlns: "http://www.w3.org/2000/svg",
15279
+ width: "36",
15280
+ height: "24",
15281
+ fill: "none",
15282
+ viewBox: "0 0 36 24"
15283
+ }, /*#__PURE__*/React__default.createElement("rect", {
15284
+ width: "36",
15285
+ height: "24",
15286
+ fill: "#E8FFEF",
15287
+ rx: "1"
15288
+ }), /*#__PURE__*/React__default.createElement("path", {
15289
+ fill: "#317D4F",
15290
+ d: "M17.178 5.464v1.372c-1.799.294-3.115 1.407-3.094 3.08.021 1.645 1.05 2.597 2.611 2.884l1.617.308c.924.182 1.365.406 1.365 1.085 0 .609-.553 1.092-1.484 1.092-1.036 0-1.743-.455-1.932-1.267l-2.478.021c.175 1.834 1.414 2.8 3.374 3.038v1.197h2.023V17.07c1.876-.266 3.024-1.33 3.024-2.877 0-1.617-.798-2.751-2.702-3.178l-1.603-.357c-.994-.231-1.267-.497-1.267-1.029 0-.546.511-1.015 1.596-1.015 1.015 0 1.302.511 1.393 1.267l2.415-.014c.05-1.484-1.043-2.695-2.835-3.024V5.464h-2.023z"
15291
+ }));
15292
+ };
15293
+
15234
15294
  var color$2 = "#15749D";
15235
15295
  var hoverColor$1 = "#116285";
15236
15296
  var activeColor$1 = "#0E506D";
@@ -15749,8 +15809,10 @@ var Alert = function Alert(_ref) {
15749
15809
 
15750
15810
  var Alert$1 = themeComponent(Alert, "Alert", fallbackValues$4, "info");
15751
15811
 
15752
- var _templateObject$g;
15753
- var HeadingText = styled__default.h1(_templateObject$g || (_templateObject$g = _taggedTemplateLiteral(["\n --font-size: ", ";\n font-size: var(--font-size);\n line-height: calc(1.5 * var(--font-size));\n color: ", ";\n font-weight: ", ";\n margin: ", ";\n text-align: ", ";\n font-family: ", ";\n\n ", ";\n"])), function (_ref) {
15812
+ var HeadingText = styled__default.h1.withConfig({
15813
+ displayName: "Headingstyled__HeadingText",
15814
+ componentId: "sc-1a3jd28-0"
15815
+ })(["--font-size:", ";font-size:var(--font-size);line-height:calc(1.5 * var(--font-size));color:", ";font-weight:", ";margin:", ";text-align:", ";font-family:", ";", ";"], function (_ref) {
15754
15816
  var fontSize = _ref.fontSize;
15755
15817
  return fontSize;
15756
15818
  }, function (_ref2) {
@@ -16748,8 +16810,6 @@ var fallbackValues$9 = {
16748
16810
  };
16749
16811
 
16750
16812
  var _excluded$k = ["hoverColor", "activeColor", "extrastyles"];
16751
-
16752
- var _templateObject$h;
16753
16813
  /*
16754
16814
  The extracting of props and the disabling of the eslint rule is to stop React from complaining about
16755
16815
  unrecognized DOM attributes.
@@ -16764,7 +16824,10 @@ var StyledExternalLink = styled__default(function (_ref) {
16764
16824
  props = _objectWithoutProperties(_ref, _excluded$k);
16765
16825
 
16766
16826
  return /*#__PURE__*/React__default.createElement("a", props);
16767
- })(_templateObject$h || (_templateObject$h = _taggedTemplateLiteral(["\n display: flex;\n font-size: ", ";\n color: ", ";\n font-weight: ", ";\n font-family: ", ";\n line-height: ", ";\n\n &:hover {\n color: ", ";\n text-decoration: underline;\n }\n\n &:focus {\n outline: 3px solid ", ";\n outline-offset: 2px;\n }\n\n &:active {\n text-decoration: underline;\n color: ", ";\n }\n\n ", "\n"])), function (_ref2) {
16827
+ }).withConfig({
16828
+ displayName: "ExternalLinkstyled__StyledExternalLink",
16829
+ componentId: "sc-m1q2m2-0"
16830
+ })(["display:flex;font-size:", ";color:", ";font-weight:", ";font-family:", ";line-height:", ";&:hover{color:", ";text-decoration:underline;}&:focus{outline:3px solid ", ";outline-offset:2px;}&:active{text-decoration:underline;color:", ";}", ""], function (_ref2) {
16768
16831
  var size = _ref2.size;
16769
16832
  return size;
16770
16833
  }, function (_ref3) {
@@ -16828,8 +16891,6 @@ var ExternalLink = function ExternalLink(_ref) {
16828
16891
  };
16829
16892
 
16830
16893
  var _excluded$l = ["hoverColor", "activeColor", "active", "color", "extrastyles"];
16831
-
16832
- var _templateObject$i;
16833
16894
  /*
16834
16895
  The extracting of props and the disabling of the eslint rule is to stop React from complaining about
16835
16896
  unrecognized DOM attributes.
@@ -16846,7 +16907,10 @@ var StyledInternalLink = styled__default(function (_ref) {
16846
16907
  props = _objectWithoutProperties(_ref, _excluded$l);
16847
16908
 
16848
16909
  return /*#__PURE__*/React__default.createElement(reactRouterDom.Link, props);
16849
- })(_templateObject$i || (_templateObject$i = _taggedTemplateLiteral(["\n display: flex;\n color: ", ";\n font-weight: ", ";\n line-height: ", ";\n font-size: ", ";\n font-family: ", ";\n margin: ", ";\n\n &:hover {\n color: ", ";\n text-decoration: underline;\n }\n\n &:focus {\n outline: 3px solid ", ";\n outline-offset: 2px;\n }\n\n &:active {\n text-decoration: underline;\n color: ", ";\n }\n\n ", "\n"])), function (_ref2) {
16910
+ }).withConfig({
16911
+ displayName: "InternalLinkstyled__StyledInternalLink",
16912
+ componentId: "sc-cuqxud-0"
16913
+ })(["display:flex;color:", ";font-weight:", ";line-height:", ";font-size:", ";font-family:", ";margin:", ";&:hover{color:", ";text-decoration:underline;}&:focus{outline:3px solid ", ";outline-offset:2px;}&:active{text-decoration:underline;color:", ";}", ""], function (_ref2) {
16850
16914
  var color = _ref2.color,
16851
16915
  active = _ref2.active,
16852
16916
  activeColor = _ref2.activeColor;
@@ -18590,8 +18654,10 @@ var fallbackValues$a = {
18590
18654
  fontSize: fontSize$4
18591
18655
  };
18592
18656
 
18593
- var _templateObject$j;
18594
- var ParagraphText = styled__default.p(_templateObject$j || (_templateObject$j = _taggedTemplateLiteral(["\n --font-size: ", ";\n font-size: var(--font-size);\n line-height: calc(1.5 * var(--font-size));\n font-weight: ", ";\n font-family: ", ";\n color: ", ";\n margin: ", ";\n\n ", "\n"])), function (_ref) {
18657
+ var ParagraphText = styled__default.p.withConfig({
18658
+ displayName: "Paragraphstyled__ParagraphText",
18659
+ componentId: "sc-17g98kx-0"
18660
+ })(["--font-size:", ";font-size:var(--font-size);line-height:calc(1.5 * var(--font-size));font-weight:", ";font-family:", ";color:", ";margin:", ";", ""], function (_ref) {
18595
18661
  var fontSize = _ref.fontSize;
18596
18662
  return fontSize;
18597
18663
  }, function (_ref2) {
@@ -18889,19 +18955,33 @@ var fallbackValues$c = {
18889
18955
  disabledCheckedStyles: disabledCheckedStyles
18890
18956
  };
18891
18957
 
18892
- var _templateObject$k, _templateObject2$8, _templateObject3$3, _templateObject4$1, _templateObject5$1, _templateObject6$1, _templateObject7$1, _templateObject8, _templateObject9, _templateObject10, _templateObject11;
18893
- var CheckboxContainer = styled__default.div(_templateObject$k || (_templateObject$k = _taggedTemplateLiteral(["\n display: inline-block;\n vertical-align: middle;\n"])));
18894
- var CheckboxLabelContainer = styled__default.label(_templateObject2$8 || (_templateObject2$8 = _taggedTemplateLiteral(["\n display: flex;\n align-items: center;\n"])));
18895
- var CheckboxIcon = styled__default.svg(_templateObject3$3 || (_templateObject3$3 = _taggedTemplateLiteral(["\n fill: none;\n stroke-width: 2px;\n stroke: ", ";\n"])), function (_ref) {
18958
+ var CheckboxContainer = styled__default.div.withConfig({
18959
+ displayName: "Checkbox__CheckboxContainer",
18960
+ componentId: "sc-36kqbv-0"
18961
+ })(["display:inline-block;vertical-align:middle;"]);
18962
+ var CheckboxLabelContainer = styled__default.label.withConfig({
18963
+ displayName: "Checkbox__CheckboxLabelContainer",
18964
+ componentId: "sc-36kqbv-1"
18965
+ })(["display:flex;align-items:center;"]);
18966
+ var CheckboxIcon = styled__default.svg.withConfig({
18967
+ displayName: "Checkbox__CheckboxIcon",
18968
+ componentId: "sc-36kqbv-2"
18969
+ })(["fill:none;stroke-width:2px;stroke:", ";"], function (_ref) {
18896
18970
  var disabled = _ref.disabled,
18897
18971
  disabledCheckColor = _ref.disabledCheckColor,
18898
18972
  checkColor = _ref.checkColor;
18899
- return disabled ? styled.css(_templateObject4$1 || (_templateObject4$1 = _taggedTemplateLiteral(["\n ", "\n "])), disabledCheckColor) : styled.css(_templateObject5$1 || (_templateObject5$1 = _taggedTemplateLiteral(["\n ", "\n "])), checkColor);
18973
+ return disabled ? styled.css(["", ""], disabledCheckColor) : styled.css(["", ""], checkColor);
18900
18974
  });
18901
18975
  var HiddenCheckbox = styled__default.input.attrs({
18902
18976
  type: "checkbox"
18903
- })(_templateObject6$1 || (_templateObject6$1 = _taggedTemplateLiteral(["\n border: 0;\n clip: rect(0 0 0 0);\n clippath: inset(50%);\n height: 1px;\n margin: -1px;\n overflow: hidden;\n padding: 0;\n position: absolute;\n white-space: nowrap;\n width: 1px;\n"])));
18904
- var StyledCheckbox = styled__default.div(_templateObject7$1 || (_templateObject7$1 = _taggedTemplateLiteral(["\n display: inline-block;\n margin-right: 16px;\n width: 24px;\n height: 24px;\n border-radius: 2px;\n transition: all 150ms;\n\n ", " {\n visibility: ", ";\n }\n\n ", ";\n"])), CheckboxIcon, function (_ref2) {
18977
+ }).withConfig({
18978
+ displayName: "Checkbox__HiddenCheckbox",
18979
+ componentId: "sc-36kqbv-3"
18980
+ })(["border:0;clip:rect(0 0 0 0);clippath:inset(50%);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;white-space:nowrap;width:1px;"]);
18981
+ var StyledCheckbox = styled__default.div.withConfig({
18982
+ displayName: "Checkbox__StyledCheckbox",
18983
+ componentId: "sc-36kqbv-4"
18984
+ })(["display:inline-block;margin-right:16px;width:24px;height:24px;border-radius:2px;transition:all 150ms;", "{visibility:", ";}", ";"], CheckboxIcon, function (_ref2) {
18905
18985
  var checked = _ref2.checked;
18906
18986
  return checked ? "visible" : "hidden";
18907
18987
  }, function (_ref3) {
@@ -18915,7 +18995,7 @@ var StyledCheckbox = styled__default.div(_templateObject7$1 || (_templateObject7
18915
18995
  errorStyles = _ref3.errorStyles,
18916
18996
  disabledStyles = _ref3.disabledStyles,
18917
18997
  disabledCheckedStyles = _ref3.disabledCheckedStyles;
18918
- return error ? styled.css(_templateObject8 || (_templateObject8 = _taggedTemplateLiteral(["\n ", " ", "\n "])), errorStyles, focused && focusedStyles) : disabled ? styled.css(_templateObject9 || (_templateObject9 = _taggedTemplateLiteral(["\n ", "\n "])), checked ? disabledCheckedStyles : disabledStyles) : checked ? styled.css(_templateObject10 || (_templateObject10 = _taggedTemplateLiteral(["\n ", " ", "\n "])), checkedStyles, focused && focusedStyles) : styled.css(_templateObject11 || (_templateObject11 = _taggedTemplateLiteral(["\n ", " ", "\n "])), defaultStyles, focused && focusedStyles);
18998
+ return error ? styled.css(["", " ", ""], errorStyles, focused && focusedStyles) : disabled ? styled.css(["", ""], checked ? disabledCheckedStyles : disabledStyles) : checked ? styled.css(["", " ", ""], checkedStyles, focused && focusedStyles) : styled.css(["", " ", ""], defaultStyles, focused && focusedStyles);
18919
18999
  });
18920
19000
 
18921
19001
  var Checkbox = function Checkbox(_ref4) {
@@ -19040,20 +19120,25 @@ to the one generated by name-that-color.
19040
19120
  var PEWTER_GREY$1 = "#DFE1E4";
19041
19121
  var MARINER_BLUE$1 = "#2E75D2";
19042
19122
 
19043
- var _templateObject$l, _templateObject2$9;
19044
19123
  var defaultTheme = {
19045
19124
  theme: {
19046
19125
  accentColor: MARINER_BLUE$1,
19047
19126
  inactiveColor: PEWTER_GREY$1
19048
19127
  }
19049
19128
  };
19050
- var RadioButtonBorder = styled__default.div(_templateObject$l || (_templateObject$l = _taggedTemplateLiteral(["\n height: 24px;\n width: 24px;\n border: 1px solid\n ", ";\n border-radius: 12px;\n display: flex;\n justify-content: center;\n align-items: center;\n margin: 10px;\n min-width: 24px;\n min-height: 24px;\n"])), function (_ref) {
19129
+ var RadioButtonBorder = styled__default.div.withConfig({
19130
+ displayName: "radio-button__RadioButtonBorder",
19131
+ componentId: "sc-8odgi0-0"
19132
+ })(["height:24px;width:24px;border:1px solid ", ";border-radius:12px;display:flex;justify-content:center;align-items:center;margin:10px;min-width:24px;min-height:24px;"], function (_ref) {
19051
19133
  var isSelected = _ref.isSelected,
19052
19134
  theme = _ref.theme;
19053
19135
  return isSelected ? theme.accentColor : theme.inactiveColor;
19054
19136
  });
19055
19137
  RadioButtonBorder.defaultProps = defaultTheme;
19056
- var RadioButtonCenter = styled__default.div(_templateObject2$9 || (_templateObject2$9 = _taggedTemplateLiteral(["\n height: 16px;\n width: 16px;\n background-color: ", ";\n border-radius: 8px;\n"])), function (_ref2) {
19138
+ var RadioButtonCenter = styled__default.div.withConfig({
19139
+ displayName: "radio-button__RadioButtonCenter",
19140
+ componentId: "sc-8odgi0-1"
19141
+ })(["height:16px;width:16px;background-color:", ";border-radius:8px;"], function (_ref2) {
19057
19142
  var theme = _ref2.theme;
19058
19143
  return theme.accentColor;
19059
19144
  });
@@ -19069,10 +19154,18 @@ var RadioButton = function RadioButton(_ref3) {
19069
19154
  }, isSelected && /*#__PURE__*/React__default.createElement(RadioButtonCenter, null));
19070
19155
  };
19071
19156
 
19072
- var _templateObject$m, _templateObject2$a, _templateObject3$4;
19073
- var CheckboxItemIcon = styled__default.img(_templateObject$m || (_templateObject$m = _taggedTemplateLiteral(["\n width: 2rem;\n"])));
19074
- var HiddenCheckboxInput = styled__default.input(_templateObject2$a || (_templateObject2$a = _taggedTemplateLiteral(["\n opacity: 0;\n position: absolute;\n z-index: -2;\n cursor: pointer;\n"])));
19075
- var CheckboxLabel = styled__default.label(_templateObject3$4 || (_templateObject3$4 = _taggedTemplateLiteral(["\n position: relative;\n z-index: 5;\n &:focus {\n outline: none;\n }\n"])));
19157
+ var CheckboxItemIcon = styled__default.img.withConfig({
19158
+ displayName: "CheckboxList__CheckboxItemIcon",
19159
+ componentId: "sc-1yakme1-0"
19160
+ })(["width:2rem;"]);
19161
+ var HiddenCheckboxInput = styled__default.input.withConfig({
19162
+ displayName: "CheckboxList__HiddenCheckboxInput",
19163
+ componentId: "sc-1yakme1-1"
19164
+ })(["opacity:0;position:absolute;z-index:-2;cursor:pointer;"]);
19165
+ var CheckboxLabel = styled__default.label.withConfig({
19166
+ displayName: "CheckboxList__CheckboxLabel",
19167
+ componentId: "sc-1yakme1-2"
19168
+ })(["position:relative;z-index:5;&:focus{outline:none;}"]);
19076
19169
 
19077
19170
  var CheckboxListItem = function CheckboxListItem(_ref) {
19078
19171
  var text = _ref.text,
@@ -19215,19 +19308,27 @@ var fallbackValues$e = {
19215
19308
  hoverColor: hoverColor$3
19216
19309
  };
19217
19310
 
19218
- var _templateObject$n, _templateObject2$b, _templateObject3$5, _templateObject4$2;
19219
- var IconWrapper = styled__default.div(_templateObject$n || (_templateObject$n = _taggedTemplateLiteral(["\n display: flex;\n flex-direction: column;\n justify-content: center;\n transition: transform 0.3s ease;\n ", "\n"])), function (_ref) {
19311
+ var IconWrapper = styled__default.div.withConfig({
19312
+ displayName: "Dropdown__IconWrapper",
19313
+ componentId: "sc-pn6m0h-0"
19314
+ })(["display:flex;flex-direction:column;justify-content:center;transition:transform 0.3s ease;", ""], function (_ref) {
19220
19315
  var open = _ref.open;
19221
19316
  return open ? "transform: rotate(-180deg)" : "";
19222
19317
  });
19223
- var DropdownContentWrapper = styled__default.div(_templateObject2$b || (_templateObject2$b = _taggedTemplateLiteral(["\n transform-origin: 0 0;\n border: 1px solid ", ";\n border-radius: 2px;\n background-color: ", ";\n padding: 8px 0 8px;\n position: absolute;\n width: ", ";\n min-width: 100%;\n max-height: ", ";\n overflow-y: scroll;\n z-index: 1;\n box-sizing: border-box;\n &:focus {\n outline: none;\n }\n"])), GREY_CHATEAU, WHITE, function (_ref2) {
19318
+ var DropdownContentWrapper = styled__default.div.withConfig({
19319
+ displayName: "Dropdown__DropdownContentWrapper",
19320
+ componentId: "sc-pn6m0h-1"
19321
+ })(["transform-origin:0 0;border:1px solid ", ";border-radius:2px;background-color:", ";padding:8px 0 8px;position:absolute;width:", ";min-width:100%;max-height:", ";overflow-y:scroll;z-index:1;box-sizing:border-box;&:focus{outline:none;}"], GREY_CHATEAU, WHITE, function (_ref2) {
19224
19322
  var widthFitOptions = _ref2.widthFitOptions;
19225
19323
  return widthFitOptions ? "fit-content" : "100%";
19226
19324
  }, function (_ref3) {
19227
19325
  var maxHeight = _ref3.maxHeight;
19228
19326
  return maxHeight || "400px";
19229
19327
  });
19230
- var DropdownItemWrapper = styled__default.div(_templateObject3$5 || (_templateObject3$5 = _taggedTemplateLiteral(["\n background-color: ", ";\n text-align: start;\n border-width: 0px;\n border-color: transparent;\n box-shadow: none;\n padding: 1rem;\n box-sizing: border-box;\n width: 100%;\n cursor: ", ";\n\n &:hover {\n background-color: ", ";\n }\n &:focus {\n background-color: ", ";\n outline: none;\n }\n"])), function (_ref4) {
19328
+ var DropdownItemWrapper = styled__default.div.withConfig({
19329
+ displayName: "Dropdown__DropdownItemWrapper",
19330
+ componentId: "sc-pn6m0h-2"
19331
+ })(["background-color:", ";text-align:start;border-width:0px;border-color:transparent;box-shadow:none;padding:1rem;box-sizing:border-box;width:100%;cursor:", ";&:hover{background-color:", ";}&:focus{background-color:", ";outline:none;}"], function (_ref4) {
19231
19332
  var selected = _ref4.selected,
19232
19333
  themeValues = _ref4.themeValues;
19233
19334
  return selected ? themeValues.selectedColor : WHITE;
@@ -19245,7 +19346,10 @@ var DropdownItemWrapper = styled__default.div(_templateObject3$5 || (_templateOb
19245
19346
  themeValues = _ref7.themeValues;
19246
19347
  return selected ? themeValues.selectedColor : disabled ? WHITE : themeValues.hoverColor;
19247
19348
  });
19248
- var SearchInput = styled__default.input(_templateObject4$2 || (_templateObject4$2 = _taggedTemplateLiteral(["\n border: none;\n background-color: ", ";\n font-size: 16px;\n height: 24px;\n"])), function (_ref8) {
19349
+ var SearchInput = styled__default.input.withConfig({
19350
+ displayName: "Dropdown__SearchInput",
19351
+ componentId: "sc-pn6m0h-3"
19352
+ })(["border:none;background-color:", ";font-size:16px;height:24px;"], function (_ref8) {
19249
19353
  var themeValues = _ref8.themeValues;
19250
19354
  return themeValues.hoverColor && themeValues.hoverColor;
19251
19355
  });
@@ -19465,9 +19569,14 @@ var Dropdown = function Dropdown(_ref9) {
19465
19569
 
19466
19570
  var Dropdown$1 = themeComponent(Dropdown, "Dropdown", fallbackValues$e);
19467
19571
 
19468
- var _templateObject$o, _templateObject2$c, _templateObject3$6;
19469
- var SelectContainer = styled__default.div(_templateObject$o || (_templateObject$o = _taggedTemplateLiteral(["\n width: 100%;\n display: flex;\n flex-direction: column;\n justify-content: space-between;\n align-items: flex-start;\n > * + * {\n margin-top: 0.25rem;\n }\n"])));
19470
- var SelectField = styled__default.select(_templateObject2$c || (_templateObject2$c = _taggedTemplateLiteral(["\n border: 1px solid\n ", ";\n border-radius: 2px;\n height: 48px;\n width: 100%;\n padding: 0.75rem 1rem;\n min-width: 100px;\n margin: 0;\n box-sizing: border-box;\n position: relative;\n font-size: 1.1rem;\n font-family: Public Sans;\n line-height: 2rem;\n font-weight: ", ";\n background-color: ", ";\n color: ", ";\n box-shadow: none;\n\n &:focus {\n border: 1px solid ", ";\n }\n"])), function (_ref) {
19572
+ var SelectContainer = styled__default.div.withConfig({
19573
+ displayName: "FormSelectstyled__SelectContainer",
19574
+ componentId: "sc-hkrqrv-0"
19575
+ })(["width:100%;display:flex;flex-direction:column;justify-content:space-between;align-items:flex-start;> * + *{margin-top:0.25rem;}"]);
19576
+ var SelectField = styled__default.select.withConfig({
19577
+ displayName: "FormSelectstyled__SelectField",
19578
+ componentId: "sc-hkrqrv-1"
19579
+ })(["border:1px solid ", ";border-radius:2px;height:48px;width:100%;padding:0.75rem 1rem;min-width:100px;margin:0;box-sizing:border-box;position:relative;font-size:1.1rem;font-family:Public Sans;line-height:2rem;font-weight:", ";background-color:", ";color:", ";box-shadow:none;&:focus{border:1px solid ", ";}"], function (_ref) {
19471
19580
  var field = _ref.field,
19472
19581
  showErrors = _ref.showErrors;
19473
19582
  return field.dirty && field.hasErrors || field.hasErrors && showErrors ? ERROR_COLOR : GHOST_GREY;
@@ -19478,7 +19587,10 @@ var SelectField = styled__default.select(_templateObject2$c || (_templateObject2
19478
19587
  var themeValues = _ref3.themeValues;
19479
19588
  return themeValues.color && themeValues.color;
19480
19589
  }, MATISSE_BLUE);
19481
- var SelectOption = styled__default.option(_templateObject3$6 || (_templateObject3$6 = _taggedTemplateLiteral([""])));
19590
+ var SelectOption = styled__default.option.withConfig({
19591
+ displayName: "FormSelectstyled__SelectOption",
19592
+ componentId: "sc-hkrqrv-2"
19593
+ })([""]);
19482
19594
 
19483
19595
  var linkColor$1 = {
19484
19596
  "default": "".concat(MATISSE_BLUE),
@@ -20382,8 +20494,10 @@ var CountryDropdown = function CountryDropdown(_ref) {
20382
20494
  });
20383
20495
  };
20384
20496
 
20385
- var _templateObject$p;
20386
- var DetailText = styled__default.p(_templateObject$p || (_templateObject$p = _taggedTemplateLiteral(["\n font-size: ", ";\n line-height: 1.5;\n color: ", ";\n font-weight: ", ";\n margin: ", ";\n text-align: ", ";\n font-family: ", ";\n\n ", ";\n"])), function (_ref) {
20497
+ var DetailText = styled__default.p.withConfig({
20498
+ displayName: "Detailstyled__DetailText",
20499
+ componentId: "sc-vn1h4n-0"
20500
+ })(["font-size:", ";line-height:1.5;color:", ";font-weight:", ";margin:", ";text-align:", ";font-family:", ";", ";"], function (_ref) {
20387
20501
  var fontSize = _ref.fontSize;
20388
20502
  return fontSize;
20389
20503
  }, function (_ref2) {
@@ -20575,303 +20689,283 @@ var DisplayCard = function DisplayCard(_ref) {
20575
20689
  }) : /*#__PURE__*/React__default.createElement(React.Fragment, null))))));
20576
20690
  };
20577
20691
 
20578
- var src = createCommonjsModule(function (module, exports) {
20579
- (function (global, factory) {
20580
- factory(exports, React__default) ;
20581
- }(commonjsGlobal, function (exports, React) {
20582
- var React__default = 'default' in React ? React['default'] : React;
20583
-
20584
- function _extends() {
20585
- _extends = Object.assign || function (target) {
20586
- for (var i = 1; i < arguments.length; i++) {
20587
- var source = arguments[i];
20692
+ function _extends$2() {
20693
+ _extends$2 = Object.assign || function (target) {
20694
+ for (var i = 1; i < arguments.length; i++) {
20695
+ var source = arguments[i];
20588
20696
 
20589
- for (var key in source) {
20590
- if (Object.prototype.hasOwnProperty.call(source, key)) {
20591
- target[key] = source[key];
20592
- }
20697
+ for (var key in source) {
20698
+ if (Object.prototype.hasOwnProperty.call(source, key)) {
20699
+ target[key] = source[key];
20593
20700
  }
20594
20701
  }
20702
+ }
20595
20703
 
20596
- return target;
20597
- };
20598
-
20599
- return _extends.apply(this, arguments);
20600
- }
20704
+ return target;
20705
+ };
20601
20706
 
20602
- function _objectWithoutPropertiesLoose(source, excluded) {
20603
- if (source == null) return {};
20604
- var target = {};
20605
- var sourceKeys = Object.keys(source);
20606
- var key, i;
20707
+ return _extends$2.apply(this, arguments);
20708
+ }
20607
20709
 
20608
- for (i = 0; i < sourceKeys.length; i++) {
20609
- key = sourceKeys[i];
20610
- if (excluded.indexOf(key) >= 0) continue;
20611
- target[key] = source[key];
20612
- }
20710
+ function _objectWithoutPropertiesLoose$1(source, excluded) {
20711
+ if (source == null) return {};
20712
+ var target = {};
20713
+ var sourceKeys = Object.keys(source);
20714
+ var key, i;
20613
20715
 
20614
- return target;
20716
+ for (i = 0; i < sourceKeys.length; i++) {
20717
+ key = sourceKeys[i];
20718
+ if (excluded.indexOf(key) >= 0) continue;
20719
+ target[key] = source[key];
20615
20720
  }
20616
20721
 
20617
- function _objectWithoutProperties(source, excluded) {
20618
- if (source == null) return {};
20722
+ return target;
20723
+ }
20619
20724
 
20620
- var target = _objectWithoutPropertiesLoose(source, excluded);
20725
+ function _objectWithoutProperties$1(source, excluded) {
20726
+ if (source == null) return {};
20621
20727
 
20622
- var key, i;
20728
+ var target = _objectWithoutPropertiesLoose$1(source, excluded);
20623
20729
 
20624
- if (Object.getOwnPropertySymbols) {
20625
- var sourceSymbolKeys = Object.getOwnPropertySymbols(source);
20730
+ var key, i;
20626
20731
 
20627
- for (i = 0; i < sourceSymbolKeys.length; i++) {
20628
- key = sourceSymbolKeys[i];
20629
- if (excluded.indexOf(key) >= 0) continue;
20630
- if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue;
20631
- target[key] = source[key];
20632
- }
20633
- }
20732
+ if (Object.getOwnPropertySymbols) {
20733
+ var sourceSymbolKeys = Object.getOwnPropertySymbols(source);
20634
20734
 
20635
- return target;
20735
+ for (i = 0; i < sourceSymbolKeys.length; i++) {
20736
+ key = sourceSymbolKeys[i];
20737
+ if (excluded.indexOf(key) >= 0) continue;
20738
+ if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue;
20739
+ target[key] = source[key];
20740
+ }
20636
20741
  }
20637
20742
 
20638
- function _slicedToArray(arr, i) {
20639
- return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _nonIterableRest();
20640
- }
20743
+ return target;
20744
+ }
20641
20745
 
20642
- function _toConsumableArray(arr) {
20643
- return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _nonIterableSpread();
20644
- }
20746
+ function _slicedToArray$1(arr, i) {
20747
+ return _arrayWithHoles$1(arr) || _iterableToArrayLimit$1(arr, i) || _nonIterableRest$1();
20748
+ }
20645
20749
 
20646
- function _arrayWithoutHoles(arr) {
20647
- if (Array.isArray(arr)) {
20648
- for (var i = 0, arr2 = new Array(arr.length); i < arr.length; i++) arr2[i] = arr[i];
20750
+ function _toConsumableArray$1(arr) {
20751
+ return _arrayWithoutHoles$1(arr) || _iterableToArray$1(arr) || _nonIterableSpread$1();
20752
+ }
20649
20753
 
20650
- return arr2;
20651
- }
20652
- }
20754
+ function _arrayWithoutHoles$1(arr) {
20755
+ if (Array.isArray(arr)) {
20756
+ for (var i = 0, arr2 = new Array(arr.length); i < arr.length; i++) arr2[i] = arr[i];
20653
20757
 
20654
- function _arrayWithHoles(arr) {
20655
- if (Array.isArray(arr)) return arr;
20758
+ return arr2;
20656
20759
  }
20760
+ }
20761
+
20762
+ function _arrayWithHoles$1(arr) {
20763
+ if (Array.isArray(arr)) return arr;
20764
+ }
20765
+
20766
+ function _iterableToArray$1(iter) {
20767
+ if (Symbol.iterator in Object(iter) || Object.prototype.toString.call(iter) === "[object Arguments]") return Array.from(iter);
20768
+ }
20657
20769
 
20658
- function _iterableToArray(iter) {
20659
- if (Symbol.iterator in Object(iter) || Object.prototype.toString.call(iter) === "[object Arguments]") return Array.from(iter);
20770
+ function _iterableToArrayLimit$1(arr, i) {
20771
+ if (!(Symbol.iterator in Object(arr) || Object.prototype.toString.call(arr) === "[object Arguments]")) {
20772
+ return;
20660
20773
  }
20661
20774
 
20662
- function _iterableToArrayLimit(arr, i) {
20663
- if (!(Symbol.iterator in Object(arr) || Object.prototype.toString.call(arr) === "[object Arguments]")) {
20664
- return;
20665
- }
20775
+ var _arr = [];
20776
+ var _n = true;
20777
+ var _d = false;
20778
+ var _e = undefined;
20666
20779
 
20667
- var _arr = [];
20668
- var _n = true;
20669
- var _d = false;
20670
- var _e = undefined;
20780
+ try {
20781
+ for (var _i = arr[Symbol.iterator](), _s; !(_n = (_s = _i.next()).done); _n = true) {
20782
+ _arr.push(_s.value);
20671
20783
 
20784
+ if (i && _arr.length === i) break;
20785
+ }
20786
+ } catch (err) {
20787
+ _d = true;
20788
+ _e = err;
20789
+ } finally {
20672
20790
  try {
20673
- for (var _i = arr[Symbol.iterator](), _s; !(_n = (_s = _i.next()).done); _n = true) {
20674
- _arr.push(_s.value);
20675
-
20676
- if (i && _arr.length === i) break;
20677
- }
20678
- } catch (err) {
20679
- _d = true;
20680
- _e = err;
20791
+ if (!_n && _i["return"] != null) _i["return"]();
20681
20792
  } finally {
20682
- try {
20683
- if (!_n && _i["return"] != null) _i["return"]();
20684
- } finally {
20685
- if (_d) throw _e;
20686
- }
20793
+ if (_d) throw _e;
20687
20794
  }
20688
-
20689
- return _arr;
20690
20795
  }
20691
20796
 
20692
- function _nonIterableSpread() {
20693
- throw new TypeError("Invalid attempt to spread non-iterable instance");
20694
- }
20797
+ return _arr;
20798
+ }
20695
20799
 
20696
- function _nonIterableRest() {
20697
- throw new TypeError("Invalid attempt to destructure non-iterable instance");
20698
- }
20800
+ function _nonIterableSpread$1() {
20801
+ throw new TypeError("Invalid attempt to spread non-iterable instance");
20802
+ }
20699
20803
 
20700
- var getUniqueFormatDelimiters = function getUniqueFormatDelimiters(formats, formatChar) {
20701
- return _toConsumableArray(new Set(formats.join("").split(formatChar).join("").split("")));
20702
- };
20703
- var format = function format(formatter) {
20704
- return function (value) {
20705
- var usedFormat = formatter.formats[value.length];
20804
+ function _nonIterableRest$1() {
20805
+ throw new TypeError("Invalid attempt to destructure non-iterable instance");
20806
+ }
20706
20807
 
20707
- if (!usedFormat) {
20708
- return value;
20709
- }
20808
+ var getUniqueFormatDelimiters = function getUniqueFormatDelimiters(formats, formatChar) {
20809
+ return _toConsumableArray$1(new Set(formats.join("").split(formatChar).join("").split("")));
20810
+ };
20811
+ var format$1 = function format(formatter) {
20812
+ return function (value) {
20813
+ var usedFormat = formatter.formats[value.length];
20710
20814
 
20711
- var formatPieces = usedFormat.split(formatter.formatChar);
20712
- var valuePieces = value.split("");
20713
- var zipped = formatPieces.map(function (v, i) {
20714
- return v + (valuePieces[i] || "");
20715
- });
20716
- return zipped.join("");
20717
- };
20718
- };
20815
+ if (!usedFormat) {
20816
+ return value;
20817
+ }
20719
20818
 
20720
- var countDelims = function countDelims(formatter, index) {
20721
- var count = 0;
20722
- var format = formatter.formats[index];
20723
- if (!format) return 0;
20724
- formatter.uniqueDelimiters.forEach(function (delim) {
20725
- return count += format.split(delim).length - 1;
20819
+ var formatPieces = usedFormat.split(formatter.formatChar);
20820
+ var valuePieces = value.split("");
20821
+ var zipped = formatPieces.map(function (v, i) {
20822
+ return v + (valuePieces[i] || "");
20726
20823
  });
20727
- return count;
20824
+ return zipped.join("");
20728
20825
  };
20826
+ };
20729
20827
 
20730
- var unformat = function unformat(formatter) {
20731
- return function (formattedValue, formatIndex) {
20732
- if (formatIndex >= formatter.formats.length) {
20733
- return formattedValue;
20734
- }
20735
-
20736
- var format = formatter.formats[formatIndex];
20737
- return formattedValue.split("").filter(function (_, i) {
20738
- return !(format[i] != formatter.formatChar);
20739
- }).join("");
20740
- };
20741
- };
20742
- var inject = function inject(baseString) {
20743
- return function (start, end, newString) {
20744
- return baseString.substring(0, start) + newString + baseString.substring(end);
20745
- };
20746
- };
20747
- var formattedToUnformattedIndex = function formattedToUnformattedIndex(formattedIndex, rawValue, formatter) {
20748
- var maxFormatExceeded = rawValue.length >= formatter.formats.length;
20828
+ var countDelims = function countDelims(formatter, index) {
20829
+ var count = 0;
20830
+ var format = formatter.formats[index];
20831
+ if (!format) return 0;
20832
+ formatter.uniqueDelimiters.forEach(function (delim) {
20833
+ return count += format.split(delim).length - 1;
20834
+ });
20835
+ return count;
20836
+ };
20749
20837
 
20750
- if (maxFormatExceeded) {
20751
- return formattedIndex;
20752
- } else {
20753
- var formatString = formatter.formats[rawValue.length];
20754
- var beforeString = formatString.slice(0, formattedIndex);
20755
- return beforeString.split("").filter(function (c) {
20756
- return c === formatter.formatChar;
20757
- }).length;
20758
- }
20759
- };
20760
- var unformattedToFormattedIndex = function unformattedToFormattedIndex(rawIndex, rawValue, formatter, del) {
20761
- var maxFormatExceeded = rawValue.length >= formatter.formats.length; // If forced to stay formatted, offset by delims - 1
20762
- // This is done so the component doesn't assume that any added chars will be kept
20763
- // (i.e. if an external constraint is applied)
20764
-
20765
- if (maxFormatExceeded) {
20766
- var delims = countDelims(formatter, rawValue.length - 1);
20767
- return delims > 0 && !del ? rawIndex + delims - 1 : rawIndex;
20768
- } else {
20769
- return formatter.formats[rawValue.length].split(formatter.formatChar).slice(0, rawIndex).reduce(function (acc, curr) {
20770
- return curr.length + acc;
20771
- }, 0) + rawIndex;
20838
+ var unformat = function unformat(formatter) {
20839
+ return function (formattedValue, formatIndex) {
20840
+ if (formatIndex >= formatter.formats.length) {
20841
+ return formattedValue;
20772
20842
  }
20773
- };
20774
20843
 
20775
- var createFormat = function createFormat(formats, formatChar) {
20776
- return {
20777
- uniqueDelimiters: getUniqueFormatDelimiters(formats, formatChar),
20778
- formats: formats,
20779
- formatChar: formatChar
20780
- };
20844
+ var format = formatter.formats[formatIndex];
20845
+ return formattedValue.split("").filter(function (_, i) {
20846
+ return !(format[i] != formatter.formatChar);
20847
+ }).join("");
20781
20848
  };
20849
+ };
20850
+ var inject = function inject(baseString) {
20851
+ return function (start, end, newString) {
20852
+ return baseString.substring(0, start) + newString + baseString.substring(end);
20853
+ };
20854
+ };
20855
+ var formattedToUnformattedIndex = function formattedToUnformattedIndex(formattedIndex, rawValue, formatter) {
20856
+ var maxFormatExceeded = rawValue.length >= formatter.formats.length;
20782
20857
 
20783
- var FormattedInput = function FormattedInput(_ref) {
20784
- var value = _ref.value,
20785
- formatter = _ref.formatter,
20786
- _onChange = _ref.onChange,
20787
- props = _objectWithoutProperties(_ref, ["value", "formatter", "onChange"]);
20788
-
20789
- var inputEl = React.useRef(null);
20790
-
20791
- var _useState = React.useState({
20792
- selectionStart: 0,
20793
- selectionEnd: 0,
20794
- rawValue: value,
20795
- "delete": false,
20796
- formattedValue: format(formatter)(value)
20797
- }),
20798
- _useState2 = _slicedToArray(_useState, 2),
20799
- state = _useState2[0],
20800
- setState = _useState2[1];
20801
-
20802
- React.useLayoutEffect(function () {
20803
- // A lot of the work here is cursor manipulation
20804
- if (inputEl.current && inputEl.current === document.activeElement) {
20805
- inputEl.current.setSelectionRange(state.selectionStart, state.selectionEnd);
20806
- }
20807
- });
20808
- return React__default.createElement("input", _extends({}, props, {
20809
- ref: inputEl,
20810
- value: format(formatter)(value),
20811
- onKeyDown: function onKeyDown(event) {
20812
- // Keep track of the state of the input before onChange, including if user is hitting delete
20813
- setState({
20814
- rawValue: value,
20815
- selectionStart: event.target.selectionStart,
20816
- selectionEnd: event.target.selectionEnd,
20817
- "delete": event.key === "Backspace" || event.key === "Delete",
20818
- formattedValue: event.target.value
20819
- });
20820
- },
20821
- onChange: function onChange(event) {
20822
- /* At the beginning of onChange, event.target.value is a concat of the previous formatted value
20823
- * and an unformatted injection at the start, end, or in the middle (maybe a deletion). To prepare
20824
- * the unformatted value for the user's onChange, the formatted string and unformatted injection need
20825
- * to be separated, then unformat the formatted string, then insert (or delete) the injection from the
20826
- * old unformatted value.
20827
- */
20828
- var injectionLength = event.target.value.length - state.formattedValue.length;
20829
- var end = state.selectionStart === state.selectionEnd ? state.selectionStart + injectionLength : state.selectionEnd - 1;
20830
- var injection = event.target.value.substring(state.selectionStart, end); // Injection is the new unformatted piece of the input
20831
- // Need to find where to put it
20832
-
20833
- var rawInjectionPointStart = formattedToUnformattedIndex(state.selectionStart, state.rawValue, formatter);
20834
- var rawInjectionPointEnd = formattedToUnformattedIndex(state.selectionEnd, state.rawValue, formatter); // Unformat the previous formatted value for injection
20835
- // Using the relevant format string, strips away chars not marked with the formatChar
20836
-
20837
- var unformattedOldValue = unformat(formatter)(state.formattedValue, state.rawValue.length); // Edit the previous unformatted value (either add, update or delete)
20858
+ if (maxFormatExceeded) {
20859
+ return formattedIndex;
20860
+ } else {
20861
+ var formatString = formatter.formats[rawValue.length];
20862
+ var beforeString = formatString.slice(0, formattedIndex);
20863
+ return beforeString.split("").filter(function (c) {
20864
+ return c === formatter.formatChar;
20865
+ }).length;
20866
+ }
20867
+ };
20868
+ var unformattedToFormattedIndex = function unformattedToFormattedIndex(rawIndex, rawValue, formatter, del) {
20869
+ var maxFormatExceeded = rawValue.length >= formatter.formats.length; // If forced to stay formatted, offset by delims - 1
20870
+ // This is done so the component doesn't assume that any added chars will be kept
20871
+ // (i.e. if an external constraint is applied)
20838
20872
 
20839
- var injectIntoOldValue = inject(unformattedOldValue);
20840
- var unformattedNewValue = state["delete"] ? rawInjectionPointStart === rawInjectionPointEnd ? injectIntoOldValue(rawInjectionPointStart - 1, rawInjectionPointStart, "") : injectIntoOldValue(rawInjectionPointStart, rawInjectionPointEnd, "") : injectIntoOldValue(rawInjectionPointStart, rawInjectionPointEnd, injection);
20841
- var lengthDifference = unformattedNewValue.length - state.rawValue.length;
20842
- var rawIndex = formattedToUnformattedIndex(state.selectionStart, state.rawValue, formatter) + lengthDifference; // Find the new cursor position for the potential formatted value
20843
- // Applied by useLayoutEffect
20873
+ if (maxFormatExceeded) {
20874
+ var delims = countDelims(formatter, rawValue.length - 1);
20875
+ return delims > 0 && !del ? rawIndex + delims - 1 : rawIndex;
20876
+ } else {
20877
+ return formatter.formats[rawValue.length].split(formatter.formatChar).slice(0, rawIndex).reduce(function (acc, curr) {
20878
+ return curr.length + acc;
20879
+ }, 0) + rawIndex;
20880
+ }
20881
+ };
20844
20882
 
20845
- var newFormattedCursorPosition = state.selectionStart == state.selectionEnd ? unformattedToFormattedIndex(rawIndex, unformattedNewValue, formatter, state["delete"]) : state["delete"] ? state.selectionStart : state.selectionEnd;
20846
- setState({
20847
- selectionStart: newFormattedCursorPosition,
20848
- selectionEnd: newFormattedCursorPosition,
20849
- rawValue: state.rawValue,
20850
- "delete": false,
20851
- formattedValue: state.formattedValue
20852
- }); // Apply the external onChange function to the raw underlying string
20853
- // This is where the user generally updates the input value
20854
-
20855
- if (_onChange) {
20856
- _onChange(unformattedNewValue);
20857
- }
20858
- }
20859
- }));
20883
+ var createFormat = function createFormat(formats, formatChar) {
20884
+ return {
20885
+ uniqueDelimiters: getUniqueFormatDelimiters(formats, formatChar),
20886
+ formats: formats,
20887
+ formatChar: formatChar
20860
20888
  };
20889
+ };
20861
20890
 
20862
- exports.FormattedInput = FormattedInput;
20863
- exports.createFormat = createFormat;
20864
- exports.format = format;
20891
+ var FormattedInput = function FormattedInput(_ref) {
20892
+ var value = _ref.value,
20893
+ formatter = _ref.formatter,
20894
+ _onChange = _ref.onChange,
20895
+ props = _objectWithoutProperties$1(_ref, ["value", "formatter", "onChange"]);
20865
20896
 
20866
- Object.defineProperty(exports, '__esModule', { value: true });
20897
+ var inputEl = React.useRef(null);
20867
20898
 
20868
- }));
20869
- });
20899
+ var _useState = React.useState({
20900
+ selectionStart: 0,
20901
+ selectionEnd: 0,
20902
+ rawValue: value,
20903
+ "delete": false,
20904
+ formattedValue: format$1(formatter)(value)
20905
+ }),
20906
+ _useState2 = _slicedToArray$1(_useState, 2),
20907
+ state = _useState2[0],
20908
+ setState = _useState2[1];
20870
20909
 
20871
- unwrapExports(src);
20872
- var src_1 = src.FormattedInput;
20873
- var src_2 = src.createFormat;
20874
- var src_3 = src.format;
20910
+ React.useLayoutEffect(function () {
20911
+ // A lot of the work here is cursor manipulation
20912
+ if (inputEl.current && inputEl.current === document.activeElement) {
20913
+ inputEl.current.setSelectionRange(state.selectionStart, state.selectionEnd);
20914
+ }
20915
+ });
20916
+ return React__default.createElement("input", _extends$2({}, props, {
20917
+ ref: inputEl,
20918
+ value: format$1(formatter)(value),
20919
+ onKeyDown: function onKeyDown(event) {
20920
+ // Keep track of the state of the input before onChange, including if user is hitting delete
20921
+ setState({
20922
+ rawValue: value,
20923
+ selectionStart: event.target.selectionStart,
20924
+ selectionEnd: event.target.selectionEnd,
20925
+ "delete": event.key === "Backspace" || event.key === "Delete",
20926
+ formattedValue: event.target.value
20927
+ });
20928
+ },
20929
+ onChange: function onChange(event) {
20930
+ /* At the beginning of onChange, event.target.value is a concat of the previous formatted value
20931
+ * and an unformatted injection at the start, end, or in the middle (maybe a deletion). To prepare
20932
+ * the unformatted value for the user's onChange, the formatted string and unformatted injection need
20933
+ * to be separated, then unformat the formatted string, then insert (or delete) the injection from the
20934
+ * old unformatted value.
20935
+ */
20936
+ var injectionLength = event.target.value.length - state.formattedValue.length;
20937
+ var end = state.selectionStart === state.selectionEnd ? state.selectionStart + injectionLength : state.selectionEnd - 1;
20938
+ var injection = event.target.value.substring(state.selectionStart, end); // Injection is the new unformatted piece of the input
20939
+ // Need to find where to put it
20940
+
20941
+ var rawInjectionPointStart = formattedToUnformattedIndex(state.selectionStart, state.rawValue, formatter);
20942
+ var rawInjectionPointEnd = formattedToUnformattedIndex(state.selectionEnd, state.rawValue, formatter); // Unformat the previous formatted value for injection
20943
+ // Using the relevant format string, strips away chars not marked with the formatChar
20944
+
20945
+ var unformattedOldValue = unformat(formatter)(state.formattedValue, state.rawValue.length); // Edit the previous unformatted value (either add, update or delete)
20946
+
20947
+ var injectIntoOldValue = inject(unformattedOldValue);
20948
+ var unformattedNewValue = state["delete"] ? rawInjectionPointStart === rawInjectionPointEnd ? injectIntoOldValue(rawInjectionPointStart - 1, rawInjectionPointStart, "") : injectIntoOldValue(rawInjectionPointStart, rawInjectionPointEnd, "") : injectIntoOldValue(rawInjectionPointStart, rawInjectionPointEnd, injection);
20949
+ var lengthDifference = unformattedNewValue.length - state.rawValue.length;
20950
+ var rawIndex = formattedToUnformattedIndex(state.selectionStart, state.rawValue, formatter) + lengthDifference; // Find the new cursor position for the potential formatted value
20951
+ // Applied by useLayoutEffect
20952
+
20953
+ var newFormattedCursorPosition = state.selectionStart == state.selectionEnd ? unformattedToFormattedIndex(rawIndex, unformattedNewValue, formatter, state["delete"]) : state["delete"] ? state.selectionStart : state.selectionEnd;
20954
+ setState({
20955
+ selectionStart: newFormattedCursorPosition,
20956
+ selectionEnd: newFormattedCursorPosition,
20957
+ rawValue: state.rawValue,
20958
+ "delete": false,
20959
+ formattedValue: state.formattedValue
20960
+ }); // Apply the external onChange function to the raw underlying string
20961
+ // This is where the user generally updates the input value
20962
+
20963
+ if (_onChange) {
20964
+ _onChange(unformattedNewValue);
20965
+ }
20966
+ }
20967
+ }));
20968
+ };
20875
20969
 
20876
20970
  var linkColor$2 = {
20877
20971
  "default": "".concat(MATISSE_BLUE),
@@ -20939,9 +21033,10 @@ var fallbackValues$i = {
20939
21033
 
20940
21034
  var _excluded$p = ["showErrors", "themeValues"],
20941
21035
  _excluded2 = ["type", "labelTextWhenNoError", "errorMessages", "isNum", "isEmail", "helperModal", "field", "fieldActions", "showErrors", "formatter", "decorator", "themeValues", "background", "customHeight", "extraStyles"];
20942
-
20943
- var _templateObject$q, _templateObject2$d, _templateObject3$7, _templateObject4$3, _templateObject5$2, _templateObject6$2;
20944
- var InputField = styled__default.input(_templateObject$q || (_templateObject$q = _taggedTemplateLiteral(["\n border: 1px solid\n ", ";\n border-radius: 2px;\n height: ", ";\n width: 100%;\n padding: 1rem;\n min-width: 100px;\n margin: 0;\n box-sizing: border-box;\n position: relative;\n font-size: 1.1rem;\n font-family: Public Sans;\n line-height: 2rem;\n font-weight: ", ";\n background-color: ", ";\n color: ", ";\n box-shadow: none;\n ", "\n transition: background 0.3s ease;\n\n &:focus {\n outline: 3px solid ", ";\n outline-offset: 2px;\n }\n\n ", "\n\n ", "\n"])), function (_ref) {
21036
+ var InputField = styled__default.input.withConfig({
21037
+ displayName: "FormInput__InputField",
21038
+ componentId: "sc-l094r1-0"
21039
+ })(["border:1px solid ", ";border-radius:2px;height:", ";width:100%;padding:1rem;min-width:100px;margin:0;box-sizing:border-box;position:relative;font-size:1.1rem;font-family:Public Sans;line-height:2rem;font-weight:", ";background-color:", ";color:", ";box-shadow:none;", " transition:background 0.3s ease;&:focus{outline:3px solid ", ";outline-offset:2px;}", " ", ""], function (_ref) {
20945
21040
  var field = _ref.field,
20946
21041
  showErrors = _ref.showErrors,
20947
21042
  themeValues = _ref.themeValues;
@@ -20961,10 +21056,10 @@ var InputField = styled__default.input(_templateObject$q || (_templateObject$q =
20961
21056
  return background && "background: ".concat(themeValues.inputBackgroundColor, " url(").concat(background, ") no-repeat right 0.5rem center;");
20962
21057
  }, ROYAL_BLUE, function (_ref6) {
20963
21058
  var disabled = _ref6.disabled;
20964
- return disabled && styled.css(_templateObject2$d || (_templateObject2$d = _taggedTemplateLiteral(["\n color: #6e727e;\n background-color: #f7f7f7;\n "])));
21059
+ return disabled && styled.css(["color:#6e727e;background-color:#f7f7f7;"]);
20965
21060
  }, function (_ref7) {
20966
21061
  var extraStyles = _ref7.extraStyles;
20967
- return styled.css(_templateObject3$7 || (_templateObject3$7 = _taggedTemplateLiteral(["\n ", "\n "])), extraStyles);
21062
+ return styled.css(["", ""], extraStyles);
20968
21063
  }); // eslint-disable-next-line no-unused-vars
20969
21064
 
20970
21065
  var FormattedInputField = styled__default(function (_ref8) {
@@ -20972,8 +21067,11 @@ var FormattedInputField = styled__default(function (_ref8) {
20972
21067
  themeValues = _ref8.themeValues,
20973
21068
  props = _objectWithoutProperties(_ref8, _excluded$p);
20974
21069
 
20975
- return /*#__PURE__*/React__default.createElement(src_1, props);
20976
- })(_templateObject4$3 || (_templateObject4$3 = _taggedTemplateLiteral(["\n border: 1px solid\n ", ";\n border-radius: 2px;\n height: ", ";\n width: 100%;\n padding: 1rem;\n min-width: 100px;\n margin: 0;\n box-sizing: border-box;\n position: relative;\n font-size: 1.1rem;\n line-height: 2rem;\n font-weight: ", ";\n background-color: ", ";\n color: ", ";\n box-shadow: none;\n\n &:focus {\n outline: 3px solid ", ";\n outline-offset: 2px;\n }\n\n ", "\n\n ", "\n"])), function (_ref9) {
21070
+ return /*#__PURE__*/React__default.createElement(FormattedInput, props);
21071
+ }).withConfig({
21072
+ displayName: "FormInput__FormattedInputField",
21073
+ componentId: "sc-l094r1-1"
21074
+ })(["border:1px solid ", ";border-radius:2px;height:", ";width:100%;padding:1rem;min-width:100px;margin:0;box-sizing:border-box;position:relative;font-size:1.1rem;line-height:2rem;font-weight:", ";background-color:", ";color:", ";box-shadow:none;&:focus{outline:3px solid ", ";outline-offset:2px;}", " ", ""], function (_ref9) {
20977
21075
  var field = _ref9.field,
20978
21076
  showErrors = _ref9.showErrors,
20979
21077
  themeValues = _ref9.themeValues;
@@ -20989,10 +21087,10 @@ var FormattedInputField = styled__default(function (_ref8) {
20989
21087
  return themeValues.color && themeValues.color;
20990
21088
  }, ROYAL_BLUE, function (_ref13) {
20991
21089
  var disabled = _ref13.disabled;
20992
- return disabled && styled.css(_templateObject5$2 || (_templateObject5$2 = _taggedTemplateLiteral(["\n color: #6e727e;\n background-color: #f7f7f7;\n "])));
21090
+ return disabled && styled.css(["color:#6e727e;background-color:#f7f7f7;"]);
20993
21091
  }, function (_ref14) {
20994
21092
  var extraStyles = _ref14.extraStyles;
20995
- return styled.css(_templateObject6$2 || (_templateObject6$2 = _taggedTemplateLiteral(["\n ", "\n "])), extraStyles);
21093
+ return styled.css(["", ""], extraStyles);
20996
21094
  });
20997
21095
 
20998
21096
  var FormInput = function FormInput(_ref15) {
@@ -21269,12 +21367,17 @@ var fallbackValues$k = {
21269
21367
  autopayTextColor: autopayTextColor
21270
21368
  };
21271
21369
 
21272
- var _templateObject$r, _templateObject2$e;
21273
21370
  var ACTIVE = "ACTIVE";
21274
21371
  var EXPIRING_SOON = "EXPIRING_SOON";
21275
21372
  var EXPIRED = "EXPIRED";
21276
- var CreditCardWrapper = styled__default.div(_templateObject$r || (_templateObject$r = _taggedTemplateLiteral(["\n display: flex;\n justify-content: flex-start;\n align-items: center;\n"])));
21277
- var CCIconWrapper = styled__default.div(_templateObject2$e || (_templateObject2$e = _taggedTemplateLiteral(["\n margin-right: 16px;\n width: 30px;\n height: auto;\n display: flex;\n"])));
21373
+ var CreditCardWrapper = styled__default.div.withConfig({
21374
+ displayName: "FormattedCreditCard__CreditCardWrapper",
21375
+ componentId: "sc-s0ta5l-0"
21376
+ })(["display:flex;justify-content:flex-start;align-items:center;"]);
21377
+ var CCIconWrapper = styled__default.div.withConfig({
21378
+ displayName: "FormattedCreditCard__CCIconWrapper",
21379
+ componentId: "sc-s0ta5l-1"
21380
+ })(["margin-right:16px;width:30px;height:auto;display:flex;"]);
21278
21381
 
21279
21382
  var FormattedCreditCard = function FormattedCreditCard(_ref) {
21280
21383
  var lastFour = _ref.lastFour,
@@ -21327,10 +21430,18 @@ var FormattedCreditCard = function FormattedCreditCard(_ref) {
21327
21430
 
21328
21431
  var FormattedCreditCard$1 = themeComponent(FormattedCreditCard, "FormattedCreditCard", fallbackValues$k);
21329
21432
 
21330
- var _templateObject$s, _templateObject2$f, _templateObject3$8;
21331
- var Hamburger = styled__default.button(_templateObject$s || (_templateObject$s = _taggedTemplateLiteral(["\n padding: 8px;\n display: inline-block;\n cursor: pointer;\n transition-property: opacity;\n transition-duration: 0.15s;\n transition-timing-function: linear;\n font: inherit;\n color: inherit;\n text-transform: none;\n background-color: transparent;\n border: 0;\n margin: 0;\n overflow: visible;\n\n &:focus {\n outline: none;\n }\n"])));
21332
- var HamburgerBox = styled__default.span(_templateObject2$f || (_templateObject2$f = _taggedTemplateLiteral(["\n width: 34px;\n height: 34px;\n display: inline-block;\n position: relative;\n"])));
21333
- var HamburgerInner = styled__default.span(_templateObject3$8 || (_templateObject3$8 = _taggedTemplateLiteral(["\n display: block;\n top: auto;\n bottom: 6px;\n left: 2px;\n transition-duration: 0.13s;\n transition-delay: 0.13s;\n transition-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19);\n margin-top: 12px;\n background-color: ", ";\n\n &, &::before, &::after {\n background-color: ", ";\n width: 30px;\n height: 3px;\n position: absolute;\n transition-property: transform;\n transition-duration: 0.15s;\n transition-timing-function: ease;\n }\n\n &::before, &::after {\n content: \"\";\n display: block;\n }\n\n &::before {\n top: -10px;\n transition: top 0.12s 0.2s cubic-bezier(0.33333, 0.66667, 0.66667, 1), \n transform 0.13s cubic-bezier(0.55, 0.055, 0.675, 0.19);\n }\n\n &::after {\n bottom: -10px;\n top: -20px;\n transition: top 0.2s 0.2s cubic-bezier(0.33333, 0.66667, 0.66667, 1), \n opacity 0.1s linear;\n }\n\n &.active, &.active::before, &.active::after {\n background-color: ", ";\n }\n\n &.active {\n transform: translate3d(0, -10px, 0) rotate(-45deg);\n transition-delay: 0.22s;\n transition-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);\n }\n\n &.active::after {\n top: 0;\n opacity: 0;\n transition: top 0.2s cubic-bezier(0.33333, 0, 0.66667, 0.33333), \n opacity: 0.1s 0.22s linear;\n }\n\n &.active::before {\n top: 0;\n transform: rotate(-90deg);\n transition: top 0.1s 0.16s cubic-bezier(0.33333, 0, 0.66667, 0.33333), \n transform 0.13s 0.25s cubic-bezier(0.215, 0.61, 0.355, 1);\n }\n"])), function (_ref) {
21433
+ var Hamburger = styled__default.button.withConfig({
21434
+ displayName: "HamburgerButton__Hamburger",
21435
+ componentId: "sc-4wlnwv-0"
21436
+ })(["padding:8px;display:inline-block;cursor:pointer;transition-property:opacity;transition-duration:0.15s;transition-timing-function:linear;font:inherit;color:inherit;text-transform:none;background-color:transparent;border:0;margin:0;overflow:visible;&:focus{outline:none;}"]);
21437
+ var HamburgerBox = styled__default.span.withConfig({
21438
+ displayName: "HamburgerButton__HamburgerBox",
21439
+ componentId: "sc-4wlnwv-1"
21440
+ })(["width:34px;height:34px;display:inline-block;position:relative;"]);
21441
+ var HamburgerInner = styled__default.span.withConfig({
21442
+ displayName: "HamburgerButton__HamburgerInner",
21443
+ componentId: "sc-4wlnwv-2"
21444
+ })(["display:block;top:auto;bottom:6px;left:2px;transition-duration:0.13s;transition-delay:0.13s;transition-timing-function:cubic-bezier(0.55,0.055,0.675,0.19);margin-top:12px;background-color:", ";&,&::before,&::after{background-color:", ";width:30px;height:3px;position:absolute;transition-property:transform;transition-duration:0.15s;transition-timing-function:ease;}&::before,&::after{content:\"\";display:block;}&::before{top:-10px;transition:top 0.12s 0.2s cubic-bezier(0.33333,0.66667,0.66667,1),transform 0.13s cubic-bezier(0.55,0.055,0.675,0.19);}&::after{bottom:-10px;top:-20px;transition:top 0.2s 0.2s cubic-bezier(0.33333,0.66667,0.66667,1),opacity 0.1s linear;}&.active,&.active::before,&.active::after{background-color:", ";}&.active{transform:translate3d(0,-10px,0) rotate(-45deg);transition-delay:0.22s;transition-timing-function:cubic-bezier(0.215,0.61,0.355,1);}&.active::after{top:0;opacity:0;transition:top 0.2s cubic-bezier(0.33333,0,0.66667,0.33333),opacity:0.1s 0.22s linear;}&.active::before{top:0;transform:rotate(-90deg);transition:top 0.1s 0.16s cubic-bezier(0.33333,0,0.66667,0.33333),transform 0.13s 0.25s cubic-bezier(0.215,0.61,0.355,1);}"], function (_ref) {
21334
21445
  var inactiveColor = _ref.inactiveColor;
21335
21446
  return inactiveColor;
21336
21447
  }, function (_ref2) {
@@ -21361,8 +21472,10 @@ var HamburgerButton = function HamburgerButton(_ref4) {
21361
21472
  })));
21362
21473
  };
21363
21474
 
21364
- var _templateObject$t;
21365
- var TitleText = styled__default.h1(_templateObject$t || (_templateObject$t = _taggedTemplateLiteral(["\n font-size: ", ";\n line-height: 1.5;\n color: ", ";\n font-weight: ", ";\n margin: ", ";\n text-align: ", ";\n font-family: ", ";\n\n ", ";\n"])), function (_ref) {
21475
+ var TitleText = styled__default.h1.withConfig({
21476
+ displayName: "Titlestyled__TitleText",
21477
+ componentId: "sc-11lhluq-0"
21478
+ })(["font-size:", ";line-height:1.5;color:", ";font-weight:", ";margin:", ";text-align:", ";font-family:", ";", ";"], function (_ref) {
21366
21479
  var fontSize = _ref.fontSize;
21367
21480
  return fontSize;
21368
21481
  }, function (_ref2) {
@@ -21619,8 +21732,10 @@ var fallbackValues$o = {
21619
21732
  color: color$8
21620
21733
  };
21621
21734
 
21622
- var _templateObject$u, _templateObject2$g;
21623
- var SpinnerSvgAnimation = styled__default.svg(_templateObject$u || (_templateObject$u = _taggedTemplateLiteral(["\n animation: rotate 2s linear infinite;\n margin: -25px 0 0 -25px;\n width: ", "px;\n height: ", "px;\n & .path {\n stroke: ", ";\n stroke-linecap: round;\n animation: dash 1.5s ease-in-out infinite;\n }\n @keyframes rotate {\n 100% {\n transform: rotate(360deg);\n }\n }\n @keyframes dash {\n 0% {\n stroke-dasharray: 1, 150;\n stroke-dashoffset: 0;\n }\n 50% {\n stroke-dasharray: 90, 150;\n stroke-dashoffset: -35;\n }\n 100% {\n stroke-dasharray: 90, 150;\n stroke-dashoffset: -124;\n }\n }\n"])), function (_ref) {
21735
+ var SpinnerSvgAnimation = styled__default.svg.withConfig({
21736
+ displayName: "Spinner__SpinnerSvgAnimation",
21737
+ componentId: "sc-vhupl9-0"
21738
+ })(["animation:rotate 2s linear infinite;margin:-25px 0 0 -25px;width:", "px;height:", "px;& .path{stroke:", ";stroke-linecap:round;animation:dash 1.5s ease-in-out infinite;}@keyframes rotate{100%{transform:rotate(360deg);}}@keyframes dash{0%{stroke-dasharray:1,150;stroke-dashoffset:0;}50%{stroke-dasharray:90,150;stroke-dashoffset:-35;}100%{stroke-dasharray:90,150;stroke-dashoffset:-124;}}"], function (_ref) {
21624
21739
  var size = _ref.size;
21625
21740
  return size;
21626
21741
  }, function (_ref2) {
@@ -21630,7 +21745,10 @@ var SpinnerSvgAnimation = styled__default.svg(_templateObject$u || (_templateObj
21630
21745
  var color = _ref3.color;
21631
21746
  return color;
21632
21747
  });
21633
- var SpinnerContainer$2 = styled__default.div(_templateObject2$g || (_templateObject2$g = _taggedTemplateLiteral(["\n width: 100%;\n display: flex;\n flex-direction: row;\n align-items: center;\n justify-content: center;\n line-height: 1;\n"])));
21748
+ var SpinnerContainer$2 = styled__default.div.withConfig({
21749
+ displayName: "Spinner__SpinnerContainer",
21750
+ componentId: "sc-vhupl9-1"
21751
+ })(["width:100%;display:flex;flex-direction:row;align-items:center;justify-content:center;line-height:1;"]);
21634
21752
 
21635
21753
  var Spinner$1 = function Spinner(_ref4) {
21636
21754
  var _ref4$size = _ref4.size,
@@ -21749,7 +21867,7 @@ var NavHeader = function NavHeader(_ref) {
21749
21867
  }, rightContent))))));
21750
21868
  };
21751
21869
 
21752
- var _templateObject$v, _templateObject2$h, _templateObject3$9, _templateObject4$4, _templateObject5$3, _templateObject6$3, _templateObject7$2, _templateObject8$1, _templateObject9$1, _templateObject10$1, _templateObject11$1, _templateObject12, _templateObject13, _templateObject14, _templateObject15, _templateObject16, _DEFAULT_ERROR_MESSAG;
21870
+ var _templateObject, _templateObject2, _templateObject3, _templateObject4, _templateObject5, _templateObject6, _templateObject7, _templateObject8, _templateObject9, _templateObject10, _templateObject11, _templateObject12, _templateObject13, _templateObject14, _templateObject15, _templateObject16, _DEFAULT_ERROR_MESSAG;
21753
21871
 
21754
21872
  var MIN_LENGTH_ERROR = "error/HAS_LENGTH";
21755
21873
  var MAX_LENGTH_ERROR = "max_length_error";
@@ -21790,7 +21908,7 @@ with interpolation.
21790
21908
  */
21791
21909
 
21792
21910
 
21793
- var DEFAULT_ERROR_MESSAGES = (_DEFAULT_ERROR_MESSAG = {}, _defineProperty(_DEFAULT_ERROR_MESSAG, MIN_LENGTH_ERROR, genErrorMessage(_templateObject$v || (_templateObject$v = _taggedTemplateLiteral(["", " is too short"])), "fieldLabel")), _defineProperty(_DEFAULT_ERROR_MESSAG, MAX_LENGTH_ERROR, genErrorMessage(_templateObject2$h || (_templateObject2$h = _taggedTemplateLiteral(["", " is too long"])), "fieldLabel")), _defineProperty(_DEFAULT_ERROR_MESSAG, EXACT_LENGTH_ERROR, genErrorMessage(_templateObject3$9 || (_templateObject3$9 = _taggedTemplateLiteral(["", " is not the right length"])), "fieldLabel")), _defineProperty(_DEFAULT_ERROR_MESSAG, MULTIPLE_LENGTHS_ERROR, genErrorMessage(_templateObject4$4 || (_templateObject4$4 = _taggedTemplateLiteral(["", " is not a valid length"])), "fieldLabel")), _defineProperty(_DEFAULT_ERROR_MESSAG, EMAIL_ERROR, genErrorMessage(_templateObject5$3 || (_templateObject5$3 = _taggedTemplateLiteral(["", " is not a valid email address"])), "fieldLabel")), _defineProperty(_DEFAULT_ERROR_MESSAG, HAS_NUMBER_ERROR, genErrorMessage(_templateObject6$3 || (_templateObject6$3 = _taggedTemplateLiteral(["", " needs a number"])), "fieldLabel")), _defineProperty(_DEFAULT_ERROR_MESSAG, HAS_UPPERCASE_LETTER_ERROR, genErrorMessage(_templateObject7$2 || (_templateObject7$2 = _taggedTemplateLiteral(["", " needs an uppercase letter"])), "fieldLabel")), _defineProperty(_DEFAULT_ERROR_MESSAG, HAS_LOWERCASE_LETTER_ERROR, genErrorMessage(_templateObject8$1 || (_templateObject8$1 = _taggedTemplateLiteral(["", " needs a lowercase letter"])), "fieldLabel")), _defineProperty(_DEFAULT_ERROR_MESSAG, HAS_SPECIAL_CHARACTER_ERROR, genErrorMessage(_templateObject9$1 || (_templateObject9$1 = _taggedTemplateLiteral(["", " needs a special character"])), "fieldLabel")), _defineProperty(_DEFAULT_ERROR_MESSAG, ONLY_NUMBERS_ERROR, genErrorMessage(_templateObject10$1 || (_templateObject10$1 = _taggedTemplateLiteral(["", " must be only numbers"])), "fieldLabel")), _defineProperty(_DEFAULT_ERROR_MESSAG, ONLY_LETTERS_ERROR, genErrorMessage(_templateObject11$1 || (_templateObject11$1 = _taggedTemplateLiteral(["", " must be only letters"])), "fieldLabel")), _defineProperty(_DEFAULT_ERROR_MESSAG, REQUIRED_FIELD_ERROR, genErrorMessage(_templateObject12 || (_templateObject12 = _taggedTemplateLiteral(["", " is required"])), "fieldLabel")), _defineProperty(_DEFAULT_ERROR_MESSAG, NUM_GREATER_THAN_ERROR, genErrorMessage(_templateObject13 || (_templateObject13 = _taggedTemplateLiteral(["", " is too high"])), "fieldLabel")), _defineProperty(_DEFAULT_ERROR_MESSAG, NUM_LESS_THAN_ERROR, genErrorMessage(_templateObject14 || (_templateObject14 = _taggedTemplateLiteral(["", " is too low"])), "fieldLabel")), _defineProperty(_DEFAULT_ERROR_MESSAG, MATCHES_FIELD_ERROR, genErrorMessage(_templateObject15 || (_templateObject15 = _taggedTemplateLiteral(["", " must match ", ""])), "fieldLabel", "matchField")), _defineProperty(_DEFAULT_ERROR_MESSAG, VALID_SELECT_OPTION_ERROR, genErrorMessage(_templateObject16 || (_templateObject16 = _taggedTemplateLiteral(["", " is not a valid option"])), "fieldLabel")), _DEFAULT_ERROR_MESSAG); // Constants to represent an input's state
21911
+ var DEFAULT_ERROR_MESSAGES = (_DEFAULT_ERROR_MESSAG = {}, _defineProperty(_DEFAULT_ERROR_MESSAG, MIN_LENGTH_ERROR, genErrorMessage(_templateObject || (_templateObject = _taggedTemplateLiteral(["", " is too short"])), "fieldLabel")), _defineProperty(_DEFAULT_ERROR_MESSAG, MAX_LENGTH_ERROR, genErrorMessage(_templateObject2 || (_templateObject2 = _taggedTemplateLiteral(["", " is too long"])), "fieldLabel")), _defineProperty(_DEFAULT_ERROR_MESSAG, EXACT_LENGTH_ERROR, genErrorMessage(_templateObject3 || (_templateObject3 = _taggedTemplateLiteral(["", " is not the right length"])), "fieldLabel")), _defineProperty(_DEFAULT_ERROR_MESSAG, MULTIPLE_LENGTHS_ERROR, genErrorMessage(_templateObject4 || (_templateObject4 = _taggedTemplateLiteral(["", " is not a valid length"])), "fieldLabel")), _defineProperty(_DEFAULT_ERROR_MESSAG, EMAIL_ERROR, genErrorMessage(_templateObject5 || (_templateObject5 = _taggedTemplateLiteral(["", " is not a valid email address"])), "fieldLabel")), _defineProperty(_DEFAULT_ERROR_MESSAG, HAS_NUMBER_ERROR, genErrorMessage(_templateObject6 || (_templateObject6 = _taggedTemplateLiteral(["", " needs a number"])), "fieldLabel")), _defineProperty(_DEFAULT_ERROR_MESSAG, HAS_UPPERCASE_LETTER_ERROR, genErrorMessage(_templateObject7 || (_templateObject7 = _taggedTemplateLiteral(["", " needs an uppercase letter"])), "fieldLabel")), _defineProperty(_DEFAULT_ERROR_MESSAG, HAS_LOWERCASE_LETTER_ERROR, genErrorMessage(_templateObject8 || (_templateObject8 = _taggedTemplateLiteral(["", " needs a lowercase letter"])), "fieldLabel")), _defineProperty(_DEFAULT_ERROR_MESSAG, HAS_SPECIAL_CHARACTER_ERROR, genErrorMessage(_templateObject9 || (_templateObject9 = _taggedTemplateLiteral(["", " needs a special character"])), "fieldLabel")), _defineProperty(_DEFAULT_ERROR_MESSAG, ONLY_NUMBERS_ERROR, genErrorMessage(_templateObject10 || (_templateObject10 = _taggedTemplateLiteral(["", " must be only numbers"])), "fieldLabel")), _defineProperty(_DEFAULT_ERROR_MESSAG, ONLY_LETTERS_ERROR, genErrorMessage(_templateObject11 || (_templateObject11 = _taggedTemplateLiteral(["", " must be only letters"])), "fieldLabel")), _defineProperty(_DEFAULT_ERROR_MESSAG, REQUIRED_FIELD_ERROR, genErrorMessage(_templateObject12 || (_templateObject12 = _taggedTemplateLiteral(["", " is required"])), "fieldLabel")), _defineProperty(_DEFAULT_ERROR_MESSAG, NUM_GREATER_THAN_ERROR, genErrorMessage(_templateObject13 || (_templateObject13 = _taggedTemplateLiteral(["", " is too high"])), "fieldLabel")), _defineProperty(_DEFAULT_ERROR_MESSAG, NUM_LESS_THAN_ERROR, genErrorMessage(_templateObject14 || (_templateObject14 = _taggedTemplateLiteral(["", " is too low"])), "fieldLabel")), _defineProperty(_DEFAULT_ERROR_MESSAG, MATCHES_FIELD_ERROR, genErrorMessage(_templateObject15 || (_templateObject15 = _taggedTemplateLiteral(["", " must match ", ""])), "fieldLabel", "matchField")), _defineProperty(_DEFAULT_ERROR_MESSAG, VALID_SELECT_OPTION_ERROR, genErrorMessage(_templateObject16 || (_templateObject16 = _taggedTemplateLiteral(["", " is not a valid option"])), "fieldLabel")), _DEFAULT_ERROR_MESSAG); // Constants to represent an input's state
21794
21912
  // Neutral - has not been validated
21795
21913
  // Invalid - has been validated and has an error
21796
21914
  // Valid - has been validated and has no error
@@ -22050,8 +22168,10 @@ var fallbackValues$r = {
22050
22168
  inactiveColor: inactiveColor
22051
22169
  };
22052
22170
 
22053
- var _templateObject$w;
22054
- var HiddenRadioButton = styled__default.input(_templateObject$w || (_templateObject$w = _taggedTemplateLiteral(["\n opacity: 0;\n position: absolute;\n cursor: ", ";\n"])), function (_ref) {
22171
+ var HiddenRadioButton = styled__default.input.withConfig({
22172
+ displayName: "RadioButton__HiddenRadioButton",
22173
+ componentId: "sc-v6hie9-0"
22174
+ })(["opacity:0;position:absolute;cursor:", ";"], function (_ref) {
22055
22175
  var disabled = _ref.disabled;
22056
22176
  return disabled ? "auto" : "pointer";
22057
22177
  });
@@ -32829,15 +32949,20 @@ var fallbackValues$u = {
32829
32949
  leftLabelStyles: leftLabelStyles
32830
32950
  };
32831
32951
 
32832
- var _templateObject$x, _templateObject2$i, _templateObject3$a, _templateObject4$5;
32833
- var HiddenToggleSwitchBox = styled__default.input(_templateObject$x || (_templateObject$x = _taggedTemplateLiteral(["\n opacity: 0;\n position: absolute;\n cursor: ", ";\n height: 24px;\n width: 50px;\n ", "\n"])), function (_ref) {
32952
+ var HiddenToggleSwitchBox = styled__default.input.withConfig({
32953
+ displayName: "ToggleSwitch__HiddenToggleSwitchBox",
32954
+ componentId: "sc-1t51u6v-0"
32955
+ })(["opacity:0;position:absolute;cursor:", ";height:24px;width:50px;", ""], function (_ref) {
32834
32956
  var disabled = _ref.disabled;
32835
32957
  return disabled ? "auto" : "pointer";
32836
32958
  }, function (_ref2) {
32837
32959
  var isMobile = _ref2.isMobile;
32838
32960
  return isMobile ? "transform: scale(0.75)" : "";
32839
32961
  });
32840
- var VisibleSwitchComponent = styled__default.label(_templateObject2$i || (_templateObject2$i = _taggedTemplateLiteral(["\n width: 48px;\n height: 24px;\n border-radius: 48px;\n border: none;\n position: relative;\n box-sizing: border-box;\n cursor: ", ";\n display: inline-block;\n\n &:hover {\n box-shadow: ", ";\n }\n\n &:focus {\n box-shadow: 0px 2px 5px 0px rgba(0, 0, 0, 0.5);\n }\n\n ", "\n"])), function (_ref3) {
32962
+ var VisibleSwitchComponent = styled__default.label.withConfig({
32963
+ displayName: "ToggleSwitch__VisibleSwitchComponent",
32964
+ componentId: "sc-1t51u6v-1"
32965
+ })(["width:48px;height:24px;border-radius:48px;border:none;position:relative;box-sizing:border-box;cursor:", ";display:inline-block;&:hover{box-shadow:", ";}&:focus{box-shadow:0px 2px 5px 0px rgba(0,0,0,0.5);}", ""], function (_ref3) {
32841
32966
  var disabled = _ref3.disabled;
32842
32967
  return disabled ? "auto" : "pointer";
32843
32968
  }, function (_ref4) {
@@ -32847,8 +32972,14 @@ var VisibleSwitchComponent = styled__default.label(_templateObject2$i || (_templ
32847
32972
  var isMobile = _ref5.isMobile;
32848
32973
  return isMobile ? "transform: scale(0.75)" : "";
32849
32974
  });
32850
- var ToggleSwitchMiddleRingComponent = styled__default.div(_templateObject3$a || (_templateObject3$a = _taggedTemplateLiteral(["\n position: absolute;\n width: 20px;\n height: 20px;\n border: none;\n border-radius: 50%;\n box-sizing: border-box;\n"])));
32851
- var ToggleSwitchInnerRingComponent = styled__default.div(_templateObject4$5 || (_templateObject4$5 = _taggedTemplateLiteral(["\n position: absolute;\n width: 14px;\n height: 14px;\n top: 3px;\n left: 3px;\n right: 3px;\n bottom: 3px;\n border-radius: 50%;\n box-sizing: border-box;\n"])));
32975
+ var ToggleSwitchMiddleRingComponent = styled__default.div.withConfig({
32976
+ displayName: "ToggleSwitch__ToggleSwitchMiddleRingComponent",
32977
+ componentId: "sc-1t51u6v-2"
32978
+ })(["position:absolute;width:20px;height:20px;border:none;border-radius:50%;box-sizing:border-box;"]);
32979
+ var ToggleSwitchInnerRingComponent = styled__default.div.withConfig({
32980
+ displayName: "ToggleSwitch__ToggleSwitchInnerRingComponent",
32981
+ componentId: "sc-1t51u6v-3"
32982
+ })(["position:absolute;width:14px;height:14px;top:3px;left:3px;right:3px;bottom:3px;border-radius:50%;box-sizing:border-box;"]);
32852
32983
 
32853
32984
  var ToggleSwitch = function ToggleSwitch(_ref6) {
32854
32985
  var _ref6$isOn = _ref6.isOn,
@@ -32997,8 +33128,10 @@ var themeValues = {
32997
33128
  focusBorder: focusBorder
32998
33129
  };
32999
33130
 
33000
- var _templateObject$y;
33001
- var TypeaheadInputWrapper = styled__default.div(_templateObject$y || (_templateObject$y = _taggedTemplateLiteral(["\n display: flex;\n align-content: center;\n align-items: center;\n background: ", ";\n\n input {\n border: 0;\n height: 72px;\n width: 100%;\n padding: 1.5rem;\n padding-left: 1rem;\n min-width: 100px;\n margin: 0;\n box-sizing: border-box;\n position: relative;\n font-size: 1.1rem;\n line-height: 2rem;\n font-weight: 400;\n background-color: ", ";\n color: ", ";\n box-shadow: none;\n border: 1px solid transparent;\n\n &:focus {\n border: 1px solid ", ";\n }\n }\n"])), themeValues.background, themeValues.background, themeValues.black, themeValues.focusBorder);
33131
+ var TypeaheadInputWrapper = styled__default.div.withConfig({
33132
+ displayName: "TypeaheadInput__TypeaheadInputWrapper",
33133
+ componentId: "sc-cumjdb-0"
33134
+ })(["display:flex;align-content:center;align-items:center;background:", ";input{border:0;height:72px;width:100%;padding:1.5rem;padding-left:1rem;min-width:100px;margin:0;box-sizing:border-box;position:relative;font-size:1.1rem;line-height:2rem;font-weight:400;background-color:", ";color:", ";box-shadow:none;border:1px solid transparent;&:focus{border:1px solid ", ";}}"], themeValues.background, themeValues.background, themeValues.black, themeValues.focusBorder);
33002
33135
 
33003
33136
  var TypeaheadInput = function TypeaheadInput(_ref) {
33004
33137
  var handleChange = _ref.handleChange,
@@ -33331,6 +33464,33 @@ validatorFns[DATE_AFTER_TODAY] = (value, args, form) => {
33331
33464
  return dateValue.isAfter(now, unit);
33332
33465
  };
33333
33466
 
33467
+ const IS_VALID_MONTH = "validator/IS_VALID_MONTH";
33468
+ const IS_VALID_MONTH_ERROR = "error/IS_VALID_MONTH";
33469
+ const isValidMonth$1 = createValidator(
33470
+ IS_VALID_MONTH,
33471
+ IS_VALID_MONTH_ERROR
33472
+ );
33473
+ validatorFns[IS_VALID_MONTH] = (value, args, form) => {
33474
+ if (value === "") {
33475
+ return true;
33476
+ }
33477
+ // Function takes one argument representing the character position
33478
+ // In a date string to identify where the month is
33479
+ // Eg "10/21/2021" - start position is 0
33480
+ // Or "18/03/1990" - start position is 3
33481
+ // Only works with two digit months (01, 02, 03, etc)
33482
+ const monthStartPosition = parseInt(args[0]);
33483
+ const monthEndPosition = monthStartPosition + 2;
33484
+ if (monthStartPosition === NaN) {
33485
+ throw new Error("Month start position has to be a valid integer string");
33486
+ }
33487
+ const month = parseInt(value.slice(monthStartPosition, monthEndPosition));
33488
+ if (month === NaN) {
33489
+ return false;
33490
+ }
33491
+ return month >= 1 && month <= 12;
33492
+ };
33493
+
33334
33494
  const MATCHES_REGEX = "validator/MATCHES_REGEX";
33335
33495
  const MATCHES_REGEX_ERROR = "error/MATCHES_REGEX";
33336
33496
  const matchesRegex = createValidator(MATCHES_REGEX, MATCHES_REGEX_ERROR);
@@ -34726,11 +34886,11 @@ var zipFormats = ["", "_", "__", "___", "____", "_____", "______", "_____-__", "
34726
34886
  var creditCardFormats = ["", "_", "__", "___", "____", "____ _", "____ __", "____ ___", "____ ____", "____ ____ _", "____ ____ __", "____ ____ ___", "____ ____ ____", "____ ____ ____ _", "____ ____ ____ __", "____ ____ ____ ___", "____ ____ ____ ____"];
34727
34887
  var moneyFormats = ["", "$0.0_", "$0.__", "$_.__", "$__.__", "$___.__", "$_,___.__", "$__,___.__", "$___,___.__", "$_,___,___.__", "$__,___,___.__", "$___,___,___.__", "$_,___,___,___.__", "$__,___,___,___.__", "$___,___,___,___.__", "$_,___,___,___,___.__"];
34728
34888
  var expirationDateFormats = ["", "_", "__/", "__/_", "__/__"];
34729
- var zipFormat = src_2(zipFormats, formatDelimiter);
34730
- var creditCardFormat = src_2(creditCardFormats, formatDelimiter);
34731
- var expirationDateFormat = src_2(expirationDateFormats, formatDelimiter);
34732
- var phoneFormat = src_2(phoneFormats, formatDelimiter);
34733
- var moneyFormat = src_2(moneyFormats, formatDelimiter);
34889
+ var zipFormat = createFormat(zipFormats, formatDelimiter);
34890
+ var creditCardFormat = createFormat(creditCardFormats, formatDelimiter);
34891
+ var expirationDateFormat = createFormat(expirationDateFormats, formatDelimiter);
34892
+ var phoneFormat = createFormat(phoneFormats, formatDelimiter);
34893
+ var moneyFormat = createFormat(moneyFormats, formatDelimiter);
34734
34894
 
34735
34895
  var formats = /*#__PURE__*/Object.freeze({
34736
34896
  __proto__: null,
@@ -35195,15 +35355,20 @@ EditNameForm.reducer = reducer$2;
35195
35355
  EditNameForm.mapStateToProps = mapStateToProps$3;
35196
35356
  EditNameForm.mapDispatchToProps = mapDispatchToProps$2;
35197
35357
 
35198
- var _templateObject$z, _templateObject2$j;
35199
- var EditableListItem = styled__default.div(_templateObject$z || (_templateObject$z = _taggedTemplateLiteral(["\n box-sizing: border-box;\n background: ", ";\n border-color: ", ";\n height: ", ";\n display: flex;\n justify-content: space-between;\n align-items: center;\n padding: 1.5rem;\n :not(:last-child),\n :not(:first-child) {\n box-shadow: inset 0px -1px 0px 0px rgb(202, 206, 216);\n }\n :first-child {\n border-top-left-radius: 3px;\n border-top-right-radius: 3px;\n }\n :last-child {\n border-bottom-left-radius: 3px;\n border-bottom-right-radius: 3px;\n box-shadow: none;\n }\n"])), function (_ref) {
35358
+ var EditableListItem = styled__default.div.withConfig({
35359
+ displayName: "EditableListstyled__EditableListItem",
35360
+ componentId: "sc-10ehkz7-0"
35361
+ })(["box-sizing:border-box;background:", ";border-color:", ";height:", ";display:flex;justify-content:space-between;align-items:center;padding:1.5rem;:not(:last-child),:not(:first-child){box-shadow:inset 0px -1px 0px 0px rgb(202,206,216);}:first-child{border-top-left-radius:3px;border-top-right-radius:3px;}:last-child{border-bottom-left-radius:3px;border-bottom-right-radius:3px;box-shadow:none;}"], function (_ref) {
35200
35362
  var disabled = _ref.disabled;
35201
35363
  return disabled ? "rgba(246, 246, 249, 0.7)" : WHITE;
35202
35364
  }, GHOST_GREY, function (_ref2) {
35203
35365
  var listItemSize = _ref2.listItemSize;
35204
35366
  return listItemSize === "big" ? "120px" : "72px";
35205
35367
  });
35206
- var EditableListItemControls = styled__default.div(_templateObject2$j || (_templateObject2$j = _taggedTemplateLiteral(["\n display: flex;\n justify-content: space-evenly;\n align-items: center;\n"])));
35368
+ var EditableListItemControls = styled__default.div.withConfig({
35369
+ displayName: "EditableListstyled__EditableListItemControls",
35370
+ componentId: "sc-10ehkz7-1"
35371
+ })(["display:flex;justify-content:space-evenly;align-items:center;"]);
35207
35372
 
35208
35373
  var ACTIVE$1 = "ACTIVE";
35209
35374
  var EXPIRED$1 = "EXPIRED";
@@ -35313,12 +35478,17 @@ var EditableList = function EditableList(_ref) {
35313
35478
  }))));
35314
35479
  };
35315
35480
 
35316
- var _templateObject$A, _templateObject2$k, _templateObject3$b, _templateObject4$6, _templateObject5$4, _templateObject6$4, _templateObject7$3, _templateObject8$2, _templateObject9$2;
35317
- var EditableTableContainer = styled__default.div(_templateObject$A || (_templateObject$A = _taggedTemplateLiteral(["\n display: ", ";\n flex-direction: column;\n flex: 1;\n"])), function (_ref) {
35481
+ var EditableTableContainer = styled__default.div.withConfig({
35482
+ displayName: "EditableTablestyled__EditableTableContainer",
35483
+ componentId: "sc-fd3i2a-0"
35484
+ })(["display:", ";flex-direction:column;flex:1;"], function (_ref) {
35318
35485
  var hide = _ref.hide;
35319
35486
  return hide ? "none" : "flex";
35320
35487
  });
35321
- var EditableTableListItem = styled__default.div(_templateObject2$k || (_templateObject2$k = _taggedTemplateLiteral(["\n width: 100%;\n display: flex;\n ", ";\n align-items: ", ";\n flex-direction: ", ";\n flex: 1;\n ", ";\n"])), function (_ref2) {
35488
+ var EditableTableListItem = styled__default.div.withConfig({
35489
+ displayName: "EditableTablestyled__EditableTableListItem",
35490
+ componentId: "sc-fd3i2a-1"
35491
+ })(["width:100%;display:flex;", ";align-items:", ";flex-direction:", ";flex:1;", ";"], function (_ref2) {
35322
35492
  var isMobile = _ref2.isMobile;
35323
35493
  return isMobile && "justify-content: center";
35324
35494
  }, function (_ref3) {
@@ -35331,17 +35501,32 @@ var EditableTableListItem = styled__default.div(_templateObject2$k || (_template
35331
35501
  var isMobile = _ref5.isMobile;
35332
35502
  return isMobile ? "padding: 1rem 0.5rem" : "padding: 0 0.5rem";
35333
35503
  });
35334
- var EditableListItemControls$1 = styled__default.div(_templateObject3$b || (_templateObject3$b = _taggedTemplateLiteral(["\n display: flex;\n justify-content: space-evenly;\n align-items: center;\n"])));
35335
- var EditableListAction = styled__default.div(_templateObject4$6 || (_templateObject4$6 = _taggedTemplateLiteral(["\n color: ", ";\n align-items: center;\n font-size: 1rem;\n padding-right: 1rem;\n cursor: pointer;\n display: ", ";\n"])), MATISSE_BLUE, function (_ref6) {
35504
+ var EditableListItemControls$1 = styled__default.div.withConfig({
35505
+ displayName: "EditableTablestyled__EditableListItemControls",
35506
+ componentId: "sc-fd3i2a-2"
35507
+ })(["display:flex;justify-content:space-evenly;align-items:center;"]);
35508
+ var EditableListAction = styled__default.div.withConfig({
35509
+ displayName: "EditableTablestyled__EditableListAction",
35510
+ componentId: "sc-fd3i2a-3"
35511
+ })(["color:", ";align-items:center;font-size:1rem;padding-right:1rem;cursor:pointer;display:", ";"], MATISSE_BLUE, function (_ref6) {
35336
35512
  var hide = _ref6.hide;
35337
35513
  return hide ? "none" : "flex";
35338
35514
  });
35339
- var ItemWrapper = styled__default.div(_templateObject5$4 || (_templateObject5$4 = _taggedTemplateLiteral(["\n display: flex;\n flex-direction: row;\n flex: 1;\n width: 100%;\n border-bottom: 1px solid ", ";\n"])), GHOST_GREY);
35340
- var ActionWrapper = styled__default.div(_templateObject6$4 || (_templateObject6$4 = _taggedTemplateLiteral(["\n display: flex;\n align-self: center;\n justify-content: flex-end;\n ", ";\n flex: 1;\n"])), function (_ref7) {
35515
+ var ItemWrapper = styled__default.div.withConfig({
35516
+ displayName: "EditableTablestyled__ItemWrapper",
35517
+ componentId: "sc-fd3i2a-4"
35518
+ })(["display:flex;flex-direction:row;flex:1;width:100%;border-bottom:1px solid ", ";"], GHOST_GREY);
35519
+ var ActionWrapper = styled__default.div.withConfig({
35520
+ displayName: "EditableTablestyled__ActionWrapper",
35521
+ componentId: "sc-fd3i2a-5"
35522
+ })(["display:flex;align-self:center;justify-content:flex-end;", ";flex:1;"], function (_ref7) {
35341
35523
  var isMobile = _ref7.isMobile;
35342
35524
  return isMobile && "display: none";
35343
35525
  });
35344
- var TableItemKey = styled__default.div(_templateObject7$3 || (_templateObject7$3 = _taggedTemplateLiteral(["\n display: flex;\n ", ";\n ", ";\n ", ";\n font-size: ", ";\n color: ", ";\n"])), function (_ref8) {
35526
+ var TableItemKey = styled__default.div.withConfig({
35527
+ displayName: "EditableTablestyled__TableItemKey",
35528
+ componentId: "sc-fd3i2a-6"
35529
+ })(["display:flex;", ";", ";", ";font-size:", ";color:", ";"], function (_ref8) {
35345
35530
  var isMobile = _ref8.isMobile;
35346
35531
  return !isMobile && "flex: 1";
35347
35532
  }, function (_ref9) {
@@ -35354,7 +35539,10 @@ var TableItemKey = styled__default.div(_templateObject7$3 || (_templateObject7$3
35354
35539
  var isMobile = _ref11.isMobile;
35355
35540
  return isMobile ? "1rem" : "1.125rem";
35356
35541
  }, STORM_GREY);
35357
- var TableItemValue = styled__default.div(_templateObject8$2 || (_templateObject8$2 = _taggedTemplateLiteral(["\n display: flex;\n ", ";\n ", ";\n ", ";\n font-size: ", ";\n color: ", ";\n"])), function (_ref12) {
35542
+ var TableItemValue = styled__default.div.withConfig({
35543
+ displayName: "EditableTablestyled__TableItemValue",
35544
+ componentId: "sc-fd3i2a-7"
35545
+ })(["display:flex;", ";", ";", ";font-size:", ";color:", ";"], function (_ref12) {
35358
35546
  var isMobile = _ref12.isMobile;
35359
35547
  return !isMobile && "flex: 1";
35360
35548
  }, function (_ref13) {
@@ -35367,7 +35555,10 @@ var TableItemValue = styled__default.div(_templateObject8$2 || (_templateObject8
35367
35555
  var isMobile = _ref15.isMobile;
35368
35556
  return isMobile ? "1.125rem" : "1.0625rem";
35369
35557
  }, BRIGHT_GREY);
35370
- var TableWrapper = styled__default.div(_templateObject9$2 || (_templateObject9$2 = _taggedTemplateLiteral(["\n display: flex;\n flex-direction: row;\n flex: 1;\n width: 100%;\n"])));
35558
+ var TableWrapper = styled__default.div.withConfig({
35559
+ displayName: "EditableTablestyled__TableWrapper",
35560
+ componentId: "sc-fd3i2a-8"
35561
+ })(["display:flex;flex-direction:row;flex:1;width:100%;"]);
35371
35562
 
35372
35563
  var EditableTable = function EditableTable(_ref) {
35373
35564
  var title = _ref.title,
@@ -38523,7 +38714,7 @@ Styling accomplished with our atoms / layout primitives
38523
38714
 
38524
38715
  Cancel button will (for now) always use hideModal as its action
38525
38716
  Continue button takes an action, if you want to navigate to
38526
- a different route (as with a link) connect() and use "push" from connected-react-router
38717
+ a different route (as with a link) connect() and use "push" from @thecb/connected-react-router
38527
38718
  */
38528
38719
 
38529
38720
  var getApplicationNode = function getApplicationNode() {
@@ -38810,7 +39001,6 @@ var NavMenuDesktop = function NavMenuDesktop(_ref) {
38810
39001
 
38811
39002
  var NavMenuDesktop$1 = themeComponent(NavMenuDesktop, "NavMenu", fallbackValues$y, "profile");
38812
39003
 
38813
- var _templateObject$B;
38814
39004
  var menu = posed.div({
38815
39005
  invisible: {
38816
39006
  left: "-100vw",
@@ -38841,7 +39031,10 @@ var menu = posed.div({
38841
39031
  }
38842
39032
  }
38843
39033
  });
38844
- var ImposterMenu = styled__default(menu)(_templateObject$B || (_templateObject$B = _taggedTemplateLiteral(["\n position: fixed;\n top: 72px;\n"])));
39034
+ var ImposterMenu = styled__default(menu).withConfig({
39035
+ displayName: "NavMenuMobile__ImposterMenu",
39036
+ componentId: "sc-1pf0qp7-0"
39037
+ })(["position:fixed;top:72px;"]);
38845
39038
 
38846
39039
  var NavMenuMobile = function NavMenuMobile(_ref) {
38847
39040
  var id = _ref.id,
@@ -40057,7 +40250,7 @@ var PaymentFormCard = function PaymentFormCard(_ref) {
40057
40250
  var nameOnCardErrors = _defineProperty({}, required.error, "Name is required");
40058
40251
 
40059
40252
  var creditCardNumberErrors = (_creditCardNumberErro = {}, _defineProperty(_creditCardNumberErro, required.error, "Credit card number is required"), _defineProperty(_creditCardNumberErro, hasLength.error, "Credit card number is invalid"), _defineProperty(_creditCardNumberErro, matchesRegex.error, "".concat(displayCardBrand(fields.creditCardNumber.rawValue), " is not accepted")), _creditCardNumberErro);
40060
- var expirationDateErrors = (_expirationDateErrors = {}, _defineProperty(_expirationDateErrors, required.error, "Expiration date is required"), _defineProperty(_expirationDateErrors, hasLength.error, "Expiration date is invalid"), _defineProperty(_expirationDateErrors, dateAfterToday.error, "Expiration date is invalid"), _expirationDateErrors);
40253
+ var expirationDateErrors = (_expirationDateErrors = {}, _defineProperty(_expirationDateErrors, required.error, "Expiration date is required"), _defineProperty(_expirationDateErrors, hasLength.error, "Expiration date is invalid"), _defineProperty(_expirationDateErrors, isValidMonth.error, "Expiration month is invalid"), _defineProperty(_expirationDateErrors, dateAfterToday.error, "Expiration date is invalid"), _expirationDateErrors);
40061
40254
  var cvvErrors = (_cvvErrors = {}, _defineProperty(_cvvErrors, required.error, "CVV is required"), _defineProperty(_cvvErrors, hasLength.error, "CVV is invalid"), _cvvErrors);
40062
40255
  var zipCodeErrors = (_zipCodeErrors = {}, _defineProperty(_zipCodeErrors, required.error, "Zip code is required"), _defineProperty(_zipCodeErrors, hasLength.error, "Zip code is invalid"), _zipCodeErrors);
40063
40256
 
@@ -40163,7 +40356,7 @@ var formConfig$8 = {
40163
40356
  constraints: [onlyIntegers(), hasLength(0, 16)]
40164
40357
  },
40165
40358
  expirationDate: {
40166
- validators: [required(), hasLength(4, 4), dateAfterToday("MM/YY", "month", true)],
40359
+ validators: [required(), hasLength(4, 4), isValidMonth$1(0), dateAfterToday("MMYY", "month", true)],
40167
40360
  constraints: [onlyIntegers(), hasLength(0, 4)]
40168
40361
  },
40169
40362
  cvv: {
@@ -40219,7 +40412,7 @@ var PhoneForm = function PhoneForm(_ref) {
40219
40412
  field: fields.phone,
40220
40413
  fieldActions: actions.fields.phone,
40221
40414
  showErrors: showErrors,
40222
- formatter: src_2(phoneFormats, formatDelimiter),
40415
+ formatter: createFormat(phoneFormats, formatDelimiter),
40223
40416
  onKeyUp: function onKeyUp(e) {
40224
40417
  return e.key === "Enter" && handleSubmit(e);
40225
40418
  },
@@ -40261,7 +40454,6 @@ var fallbackValues$C = {
40261
40454
  focusStyles: focusStyles
40262
40455
  };
40263
40456
 
40264
- var _templateObject$C;
40265
40457
  /*
40266
40458
  Takes an array of section objects, each object should look like:
40267
40459
  {
@@ -40358,7 +40550,10 @@ var RadioSection = function RadioSection(_ref) {
40358
40550
  }
40359
40551
  };
40360
40552
  var borderStyles = "\n border-width: 0 0 1px 0;\n border-color: ".concat(themeValues.borderColor, ";\n border-style: solid;\n border-radius: 0px;\n transform-origin: 100% 0;\n\n &:last-child {\n border-width: 0;\n }\n ");
40361
- var RightIcon = styled__default.img(_templateObject$C || (_templateObject$C = _taggedTemplateLiteral(["\n height: ", ";\n width: ", ";\n ", "\n transition: opacity 0.3s ease;\n "])), function (_ref2) {
40553
+ var RightIcon = styled__default.img.withConfig({
40554
+ displayName: "RadioSection__RightIcon",
40555
+ componentId: "sc-uema02-0"
40556
+ })(["height:", ";width:", ";", " transition:opacity 0.3s ease;"], function (_ref2) {
40362
40557
  var isMobile = _ref2.isMobile;
40363
40558
  return isMobile ? "14px" : "18px";
40364
40559
  }, function (_ref3) {
@@ -41075,8 +41270,10 @@ var fallbackValues$G = {
41075
41270
  imageBackgroundColor: imageBackgroundColor
41076
41271
  };
41077
41272
 
41078
- var _templateObject$D;
41079
- var WelcomeImage = styled__default.img(_templateObject$D || (_templateObject$D = _taggedTemplateLiteral(["\n width: auto;\n height: 215px;\n"])));
41273
+ var WelcomeImage = styled__default.img.withConfig({
41274
+ displayName: "WelcomeModule__WelcomeImage",
41275
+ componentId: "sc-1d9znh4-0"
41276
+ })(["width:auto;height:215px;"]);
41080
41277
 
41081
41278
  var WelcomeModule = function WelcomeModule(_ref) {
41082
41279
  var heading = _ref.heading,
@@ -41452,6 +41649,7 @@ exports.ButtonWithAction = ButtonWithAction;
41452
41649
  exports.ButtonWithLink = ButtonWithLink;
41453
41650
  exports.CalendarIcon = CalendarIcon;
41454
41651
  exports.CarrotIcon = CarrotIcon$1;
41652
+ exports.CashIcon = CashIcon;
41455
41653
  exports.Center = Center;
41456
41654
  exports.CenterSingle = CenterSingle$1;
41457
41655
  exports.CenterStack = CenterStack$1;