@thecb/components 7.10.4 → 7.10.5-beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs.js +540 -2014
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.d.ts +19 -212
- package/dist/index.esm.js +539 -1988
- package/dist/index.esm.js.map +1 -1
- package/package.json +1 -1
- package/src/constants/colors.js +19 -0
- package/src/.DS_Store +0 -0
- package/src/components/atoms/.DS_Store +0 -0
- package/src/components/molecules/.DS_Store +0 -0
- /package/src/components/atoms/icons/{ExternalLinkicon.js → ExternalLinkIcon.js} +0 -0
package/dist/index.esm.js
CHANGED
|
@@ -5007,9 +5007,7 @@ var INFO_BLUE = "#E4F4FD";
|
|
|
5007
5007
|
var HOVER_LIGHT_BLUE = "#EFFAFF";
|
|
5008
5008
|
var MATISSE_BLUE = "#15749D";
|
|
5009
5009
|
var ROYAL_BLUE = "#3181E3";
|
|
5010
|
-
var ASTRAL_BLUE = "#3176AA";
|
|
5011
|
-
var SAPPHIRE_BLUE = "#116285";
|
|
5012
|
-
var PEACOCK_BLUE = "#0E506D"; // GREEN
|
|
5010
|
+
var ASTRAL_BLUE = "#3176AA"; // GREEN
|
|
5013
5011
|
|
|
5014
5012
|
var FOREST_GREEN = "#19b03F";
|
|
5015
5013
|
var MEADOW_GREEN = "#16C98D";
|
|
@@ -5032,7 +5030,6 @@ var RED = "#FF0000";
|
|
|
5032
5030
|
var CRIMSON_RED = "#ED1C24";
|
|
5033
5031
|
var THUNDERBIRD_RED = "#C3191F";
|
|
5034
5032
|
var RAZZMATAZZ_RED = "#D11053";
|
|
5035
|
-
var RASPBERRY = "#ED125F";
|
|
5036
5033
|
var FANTASY_RED = "#FCF4F4";
|
|
5037
5034
|
var COSMOS_RED = "#FFD0D3";
|
|
5038
5035
|
var BLUSH_RED = "#FFF0F5"; // Second level color constants
|
|
@@ -5117,8 +5114,6 @@ var colors = /*#__PURE__*/Object.freeze({
|
|
|
5117
5114
|
MATISSE_BLUE: MATISSE_BLUE,
|
|
5118
5115
|
ROYAL_BLUE: ROYAL_BLUE,
|
|
5119
5116
|
ASTRAL_BLUE: ASTRAL_BLUE,
|
|
5120
|
-
SAPPHIRE_BLUE: SAPPHIRE_BLUE,
|
|
5121
|
-
PEACOCK_BLUE: PEACOCK_BLUE,
|
|
5122
5117
|
FOREST_GREEN: FOREST_GREEN,
|
|
5123
5118
|
MEADOW_GREEN: MEADOW_GREEN,
|
|
5124
5119
|
POLAR_GREEN: POLAR_GREEN,
|
|
@@ -5140,7 +5135,6 @@ var colors = /*#__PURE__*/Object.freeze({
|
|
|
5140
5135
|
FANTASY_RED: FANTASY_RED,
|
|
5141
5136
|
COSMOS_RED: COSMOS_RED,
|
|
5142
5137
|
BLUSH_RED: BLUSH_RED,
|
|
5143
|
-
RASPBERRY: RASPBERRY,
|
|
5144
5138
|
ALERT_COLORS: ALERT_COLORS,
|
|
5145
5139
|
ERROR_COLOR: ERROR_COLOR
|
|
5146
5140
|
});
|
|
@@ -6316,14 +6310,6 @@ var throttle = function throttle(delay, fn) {
|
|
|
6316
6310
|
return fn.apply(void 0, arguments);
|
|
6317
6311
|
};
|
|
6318
6312
|
};
|
|
6319
|
-
var titleCaseWord = function titleCaseWord(word) {
|
|
6320
|
-
return word.charAt(0).toUpperCase() + word.slice(1);
|
|
6321
|
-
};
|
|
6322
|
-
var titleCaseString = function titleCaseString(string) {
|
|
6323
|
-
return string.split(" ").map(function (word, index, string) {
|
|
6324
|
-
return index === 0 || index === string.length - 1 || word.length > 3 ? titleCaseWord(word.toLowerCase()) : word;
|
|
6325
|
-
}).join(" ");
|
|
6326
|
-
};
|
|
6327
6313
|
|
|
6328
6314
|
var general = /*#__PURE__*/Object.freeze({
|
|
6329
6315
|
__proto__: null,
|
|
@@ -6341,9 +6327,7 @@ var general = /*#__PURE__*/Object.freeze({
|
|
|
6341
6327
|
inputPlaceholderTextStyle: inputPlaceholderTextStyle,
|
|
6342
6328
|
inputDisabledStyle: inputDisabledStyle,
|
|
6343
6329
|
MOBILE_WIDTH: MOBILE_WIDTH,
|
|
6344
|
-
throttle: throttle
|
|
6345
|
-
titleCaseWord: titleCaseWord,
|
|
6346
|
-
titleCaseString: titleCaseString
|
|
6330
|
+
throttle: throttle
|
|
6347
6331
|
});
|
|
6348
6332
|
|
|
6349
6333
|
var _excluded$1 = ["themeValues", "weight", "color", "textWrap", "extraStyles", "hoverStyles", "onClick", "onKeyPress", "as", "dataQa", "children", "variant"];
|
|
@@ -6464,9 +6448,8 @@ var BoxWrapper = styled(function (_ref) {
|
|
|
6464
6448
|
return textAlign;
|
|
6465
6449
|
}, function (_ref14) {
|
|
6466
6450
|
var hoverStyles = _ref14.hoverStyles,
|
|
6467
|
-
as = _ref14.as
|
|
6468
|
-
|
|
6469
|
-
return css(["", " ", ""], hoverStyles, as === "button" && !disabled ? "> * > span {\n ".concat(hoverStyles, "\n border: none;\n outline: none;\n box-shadow: none;\n }") : "");
|
|
6451
|
+
as = _ref14.as;
|
|
6452
|
+
return css(["", " ", ""], hoverStyles, as === "button" ? "> * > span {\n ".concat(hoverStyles, "\n border: none;\n outline: none;\n box-shadow: none;\n }") : "");
|
|
6470
6453
|
}, function (_ref15) {
|
|
6471
6454
|
var as = _ref15.as;
|
|
6472
6455
|
return css(["outline:3px solid ", ";outline-offset:2px;", ""], ROYAL_BLUE, as === "button" && "\n > * > span {\n border: none;\n outline: none;\n box-shadow: none;\n }");
|
|
@@ -6666,7 +6649,7 @@ var ClusterInnerWrapper = styled.div.withConfig({
|
|
|
6666
6649
|
return childGap;
|
|
6667
6650
|
});
|
|
6668
6651
|
|
|
6669
|
-
var _excluded$6 = ["justify", "align", "childGap", "minHeight", "minWidth", "nowrap", "overflow", "justifySelf", "alignSelf", "flexGrow", "extraStyles", "children"
|
|
6652
|
+
var _excluded$6 = ["justify", "align", "childGap", "minHeight", "minWidth", "nowrap", "overflow", "justifySelf", "alignSelf", "flexGrow", "extraStyles", "children"];
|
|
6670
6653
|
/*
|
|
6671
6654
|
Cluster components suit any groups of elements that differ in
|
|
6672
6655
|
length and are liable to wrap. Buttons that appear together at the
|
|
@@ -6690,8 +6673,6 @@ var Cluster = function Cluster(_ref) {
|
|
|
6690
6673
|
flexGrow = _ref.flexGrow,
|
|
6691
6674
|
extraStyles = _ref.extraStyles,
|
|
6692
6675
|
children = _ref.children,
|
|
6693
|
-
_ref$innerWrapperAs = _ref.innerWrapperAs,
|
|
6694
|
-
innerWrapperAs = _ref$innerWrapperAs === void 0 ? "div" : _ref$innerWrapperAs,
|
|
6695
6676
|
rest = _objectWithoutProperties(_ref, _excluded$6);
|
|
6696
6677
|
|
|
6697
6678
|
return /*#__PURE__*/React.createElement(ClusterWrapper, _extends({
|
|
@@ -6707,8 +6688,7 @@ var Cluster = function Cluster(_ref) {
|
|
|
6707
6688
|
childGap: childGap,
|
|
6708
6689
|
minHeight: minHeight,
|
|
6709
6690
|
minWidth: minWidth,
|
|
6710
|
-
$nowrap: nowrap
|
|
6711
|
-
as: innerWrapperAs
|
|
6691
|
+
$nowrap: nowrap
|
|
6712
6692
|
}, safeChildren(children, /*#__PURE__*/React.createElement(Fragment$1, null))));
|
|
6713
6693
|
};
|
|
6714
6694
|
|
|
@@ -12545,6 +12525,10 @@ var Reel = function Reel(_ref) {
|
|
|
12545
12525
|
}), safeChildren(children, /*#__PURE__*/React.createElement(Fragment$1, null)));
|
|
12546
12526
|
};
|
|
12547
12527
|
|
|
12528
|
+
/*
|
|
12529
|
+
For now I'm using string values, eventually shared components library will have its own constants file
|
|
12530
|
+
for colors/values that should be used here instead
|
|
12531
|
+
*/
|
|
12548
12532
|
var padding = {
|
|
12549
12533
|
primary: "0.75rem 1.5rem",
|
|
12550
12534
|
secondary: "0.75rem 1.5rem",
|
|
@@ -12555,23 +12539,21 @@ var padding = {
|
|
|
12555
12539
|
tertiary: "0.75rem 1.5rem",
|
|
12556
12540
|
ghost: "0.65rem 0",
|
|
12557
12541
|
danger: "0.75rem 1.5rem",
|
|
12558
|
-
dangerSecondary: "0.75rem 1.5rem",
|
|
12559
12542
|
whiteSecondary: "0.75rem 2rem",
|
|
12560
12543
|
whitePrimary: "1.125rem 0.75rem"
|
|
12561
12544
|
};
|
|
12562
12545
|
var color$1 = {
|
|
12563
|
-
primary:
|
|
12564
|
-
secondary:
|
|
12565
|
-
back:
|
|
12566
|
-
smallPrimary:
|
|
12567
|
-
smallSecondary:
|
|
12568
|
-
smallGhost:
|
|
12569
|
-
ghost:
|
|
12570
|
-
tertiary:
|
|
12571
|
-
danger:
|
|
12572
|
-
|
|
12573
|
-
|
|
12574
|
-
whitePrimary: WHITE
|
|
12546
|
+
primary: "#FFFFFF",
|
|
12547
|
+
secondary: "#15749D",
|
|
12548
|
+
back: "#15749D",
|
|
12549
|
+
smallPrimary: "#FFFFFF",
|
|
12550
|
+
smallSecondary: "#15749D",
|
|
12551
|
+
smallGhost: "#15749D",
|
|
12552
|
+
ghost: "#15749D",
|
|
12553
|
+
tertiary: "#15749D",
|
|
12554
|
+
danger: "#FFFFFF",
|
|
12555
|
+
whiteSecondary: "#FFFFFF",
|
|
12556
|
+
whitePrimary: "#FFFFFF"
|
|
12575
12557
|
};
|
|
12576
12558
|
var fontSizeVariant = {
|
|
12577
12559
|
primary: "pS",
|
|
@@ -12583,7 +12565,6 @@ var fontSizeVariant = {
|
|
|
12583
12565
|
ghost: "pL",
|
|
12584
12566
|
tertiary: "pS",
|
|
12585
12567
|
danger: "pS",
|
|
12586
|
-
dangerSecondary: "pS",
|
|
12587
12568
|
whiteSecondary: "pS",
|
|
12588
12569
|
whitePrimary: "pS"
|
|
12589
12570
|
};
|
|
@@ -12597,7 +12578,6 @@ var fontWeight = {
|
|
|
12597
12578
|
ghost: "600",
|
|
12598
12579
|
tertiary: "600",
|
|
12599
12580
|
danger: "600",
|
|
12600
|
-
dangerSecondary: "600",
|
|
12601
12581
|
whiteSecondary: "600",
|
|
12602
12582
|
whitePrimary: "600"
|
|
12603
12583
|
};
|
|
@@ -12611,7 +12591,6 @@ var height = {
|
|
|
12611
12591
|
ghost: "3rem",
|
|
12612
12592
|
tertiary: "3rem",
|
|
12613
12593
|
danger: "3rem",
|
|
12614
|
-
dangerSecondary: "3rem",
|
|
12615
12594
|
whiteSecondary: "3rem",
|
|
12616
12595
|
whitePrimary: "auto"
|
|
12617
12596
|
};
|
|
@@ -12625,121 +12604,112 @@ var minWidth = {
|
|
|
12625
12604
|
ghost: "130px",
|
|
12626
12605
|
tertiary: "130px",
|
|
12627
12606
|
danger: "130px",
|
|
12628
|
-
dangerSecondary: "157px",
|
|
12629
12607
|
whiteSecondary: "160px",
|
|
12630
12608
|
whitePrimary: "130px"
|
|
12631
12609
|
};
|
|
12632
12610
|
var backgroundColor = {
|
|
12633
|
-
primary:
|
|
12634
|
-
secondary:
|
|
12635
|
-
back:
|
|
12636
|
-
smallPrimary:
|
|
12637
|
-
smallSecondary:
|
|
12638
|
-
smallGhost:
|
|
12639
|
-
ghost:
|
|
12640
|
-
tertiary:
|
|
12641
|
-
danger:
|
|
12642
|
-
|
|
12643
|
-
|
|
12644
|
-
whitePrimary: TRANSPARENT
|
|
12611
|
+
primary: "#15749D",
|
|
12612
|
+
secondary: "transparent",
|
|
12613
|
+
back: "transparent",
|
|
12614
|
+
smallPrimary: "#15749D",
|
|
12615
|
+
smallSecondary: "transparent",
|
|
12616
|
+
smallGhost: "transparent",
|
|
12617
|
+
ghost: "transparent",
|
|
12618
|
+
tertiary: "transparent",
|
|
12619
|
+
danger: "#ED125F",
|
|
12620
|
+
whiteSecondary: "transparent",
|
|
12621
|
+
whitePrimary: "transparent"
|
|
12645
12622
|
};
|
|
12646
12623
|
var border = {
|
|
12647
|
-
primary: "2px solid "
|
|
12648
|
-
secondary: "2px solid "
|
|
12649
|
-
back: "2px solid "
|
|
12650
|
-
smallPrimary: "2px solid "
|
|
12651
|
-
smallSecondary: "2px solid "
|
|
12624
|
+
primary: "2px solid #15749D",
|
|
12625
|
+
secondary: "2px solid #15749D",
|
|
12626
|
+
back: "2px solid #15749D",
|
|
12627
|
+
smallPrimary: "2px solid #15749D",
|
|
12628
|
+
smallSecondary: "2px solid #15749D",
|
|
12652
12629
|
smallGhost: "none",
|
|
12653
12630
|
ghost: "none",
|
|
12654
12631
|
tertiary: "none",
|
|
12655
|
-
danger: "2px solid "
|
|
12656
|
-
|
|
12657
|
-
|
|
12658
|
-
whitePrimary: "2px solid " + TRANSPARENT
|
|
12632
|
+
danger: "2px solid #ED125F",
|
|
12633
|
+
whiteSecondary: "2px solid white",
|
|
12634
|
+
whitePrimary: "2px solid transparent"
|
|
12659
12635
|
};
|
|
12660
12636
|
var hoverBackgroundColor = {
|
|
12661
|
-
primary:
|
|
12637
|
+
primary: "#116285",
|
|
12662
12638
|
secondary: "#DBEAF0",
|
|
12663
|
-
back:
|
|
12664
|
-
smallPrimary:
|
|
12639
|
+
back: "transparent",
|
|
12640
|
+
smallPrimary: "#116285",
|
|
12665
12641
|
smallSecondary: "#DBEAF0",
|
|
12666
|
-
smallGhost:
|
|
12667
|
-
ghost:
|
|
12668
|
-
tertiary:
|
|
12642
|
+
smallGhost: "transparent",
|
|
12643
|
+
ghost: "transparent",
|
|
12644
|
+
tertiary: "transparent",
|
|
12669
12645
|
danger: "#BA002C",
|
|
12670
|
-
|
|
12671
|
-
|
|
12672
|
-
whitePrimary: TRANSPARENT
|
|
12646
|
+
whiteSecondary: "transparent",
|
|
12647
|
+
whitePrimary: "transparent"
|
|
12673
12648
|
};
|
|
12674
12649
|
var hoverBorderColor = {
|
|
12675
|
-
primary:
|
|
12676
|
-
secondary:
|
|
12650
|
+
primary: "#116285",
|
|
12651
|
+
secondary: "#15749D",
|
|
12677
12652
|
back: "#DCEAF1",
|
|
12678
|
-
smallPrimary:
|
|
12679
|
-
smallSecondary:
|
|
12680
|
-
smallGhost:
|
|
12681
|
-
ghost:
|
|
12682
|
-
tertiary:
|
|
12653
|
+
smallPrimary: "#116285",
|
|
12654
|
+
smallSecondary: "#15749D",
|
|
12655
|
+
smallGhost: "transparent",
|
|
12656
|
+
ghost: "transparent",
|
|
12657
|
+
tertiary: "transparent",
|
|
12683
12658
|
danger: "#BA002C",
|
|
12684
|
-
|
|
12685
|
-
|
|
12686
|
-
whitePrimary: "2px solid " + TRANSPARENT
|
|
12659
|
+
whiteSecondary: "2px solid transparent",
|
|
12660
|
+
whitePrimary: "2px solid transparent"
|
|
12687
12661
|
};
|
|
12688
12662
|
var hoverColor = {
|
|
12689
|
-
primary:
|
|
12690
|
-
secondary:
|
|
12691
|
-
back:
|
|
12692
|
-
smallPrimary:
|
|
12693
|
-
smallSecondary:
|
|
12694
|
-
smallGhost:
|
|
12695
|
-
ghost:
|
|
12696
|
-
tertiary:
|
|
12697
|
-
danger:
|
|
12698
|
-
|
|
12699
|
-
|
|
12700
|
-
whitePrimary: WHITE
|
|
12663
|
+
primary: "#FFFFFF",
|
|
12664
|
+
secondary: "#116285",
|
|
12665
|
+
back: "#116285",
|
|
12666
|
+
smallPrimary: "#FFFFFF",
|
|
12667
|
+
smallSecondary: "#116285",
|
|
12668
|
+
smallGhost: "#116285",
|
|
12669
|
+
ghost: "#116285",
|
|
12670
|
+
tertiary: "#116285",
|
|
12671
|
+
danger: "#FFFFFF",
|
|
12672
|
+
whiteSecondary: "#FFFFFF",
|
|
12673
|
+
whitePrimary: "#FFFFFF"
|
|
12701
12674
|
};
|
|
12702
12675
|
var activeBackgroundColor = {
|
|
12703
|
-
primary:
|
|
12676
|
+
primary: "#0E506D",
|
|
12704
12677
|
secondary: "#B8D5E1",
|
|
12705
|
-
back:
|
|
12706
|
-
smallPrimary:
|
|
12678
|
+
back: "transparent",
|
|
12679
|
+
smallPrimary: "#0E506D",
|
|
12707
12680
|
smallSecondary: "#B8D5E1",
|
|
12708
|
-
smallGhost:
|
|
12709
|
-
ghost:
|
|
12710
|
-
tertiary:
|
|
12681
|
+
smallGhost: "transparent",
|
|
12682
|
+
ghost: "transparent",
|
|
12683
|
+
tertiary: "transparent",
|
|
12711
12684
|
danger: "#870000",
|
|
12712
|
-
|
|
12713
|
-
|
|
12714
|
-
whitePrimary: TRANSPARENT
|
|
12685
|
+
whiteSecondary: "transparent",
|
|
12686
|
+
whitePrimary: "transparent"
|
|
12715
12687
|
};
|
|
12716
12688
|
var activeBorderColor = {
|
|
12717
|
-
primary:
|
|
12718
|
-
secondary:
|
|
12719
|
-
back:
|
|
12720
|
-
smallPrimary:
|
|
12721
|
-
smallSecondary:
|
|
12722
|
-
smallGhost:
|
|
12723
|
-
ghost:
|
|
12724
|
-
tertiary:
|
|
12689
|
+
primary: "#0E506D",
|
|
12690
|
+
secondary: "#15749D",
|
|
12691
|
+
back: "#0E506D",
|
|
12692
|
+
smallPrimary: "#0E506D",
|
|
12693
|
+
smallSecondary: "#15749D",
|
|
12694
|
+
smallGhost: "transparent",
|
|
12695
|
+
ghost: "transparent",
|
|
12696
|
+
tertiary: "transparent",
|
|
12725
12697
|
danger: "#870000",
|
|
12726
|
-
|
|
12727
|
-
|
|
12728
|
-
whitePrimary: "2px solid " + TRANSPARENT
|
|
12698
|
+
whiteSecondary: "2px solid transparent",
|
|
12699
|
+
whitePrimary: "2px solid transparent"
|
|
12729
12700
|
};
|
|
12730
12701
|
var activeColor = {
|
|
12731
|
-
primary:
|
|
12732
|
-
secondary:
|
|
12733
|
-
back:
|
|
12734
|
-
smallPrimary:
|
|
12735
|
-
smallSecondary:
|
|
12736
|
-
smallGhost:
|
|
12737
|
-
ghost:
|
|
12738
|
-
tertiary:
|
|
12739
|
-
danger:
|
|
12740
|
-
|
|
12741
|
-
|
|
12742
|
-
whitePrimary: WHITE
|
|
12702
|
+
primary: "#FFFFFF",
|
|
12703
|
+
secondary: "#15749D",
|
|
12704
|
+
back: "#0E506D",
|
|
12705
|
+
smallPrimary: "#FFFFFF",
|
|
12706
|
+
smallSecondary: "#0E506D",
|
|
12707
|
+
smallGhost: "#0E506D",
|
|
12708
|
+
ghost: "#0E506D",
|
|
12709
|
+
tertiary: "#0E506D",
|
|
12710
|
+
danger: "#FFFFFF",
|
|
12711
|
+
whiteSecondary: "#FFFFFF",
|
|
12712
|
+
whitePrimary: "#FFFFFF"
|
|
12743
12713
|
};
|
|
12744
12714
|
var fallbackValues$1 = {
|
|
12745
12715
|
padding: padding,
|
|
@@ -12823,7 +12793,7 @@ var SpinnerIcon = function SpinnerIcon(_ref3) {
|
|
|
12823
12793
|
}))))));
|
|
12824
12794
|
};
|
|
12825
12795
|
|
|
12826
|
-
var _excluded$h = ["action", "variant", "text", "textWrap", "isLoading", "
|
|
12796
|
+
var _excluded$h = ["action", "variant", "text", "textWrap", "isLoading", "dataQa", "textExtraStyles", "contentOverride", "extraStyles", "tabIndex", "children"];
|
|
12827
12797
|
var rotate$1 = posed.div({
|
|
12828
12798
|
fixed: {
|
|
12829
12799
|
rotate: "0deg"
|
|
@@ -12849,13 +12819,11 @@ var SpinnerIconWrapper$1 = styled(rotate$1).withConfig({
|
|
|
12849
12819
|
})([""]);
|
|
12850
12820
|
|
|
12851
12821
|
var Spinner = function Spinner(_ref) {
|
|
12852
|
-
var
|
|
12853
|
-
isMobile = _ref.isMobile;
|
|
12822
|
+
var isMobile = _ref.isMobile;
|
|
12854
12823
|
return /*#__PURE__*/React.createElement(SpinnerContainer$1, null, /*#__PURE__*/React.createElement(SpinnerIconWrapper$1, {
|
|
12855
12824
|
initialPose: "fixed",
|
|
12856
12825
|
pose: "rotate"
|
|
12857
12826
|
}, /*#__PURE__*/React.createElement(SpinnerIcon, {
|
|
12858
|
-
color: color,
|
|
12859
12827
|
isMobile: isMobile
|
|
12860
12828
|
})));
|
|
12861
12829
|
};
|
|
@@ -12886,8 +12854,6 @@ var ButtonWithAction = function ButtonWithAction(_ref2) {
|
|
|
12886
12854
|
textWrap = _ref2$textWrap === void 0 ? false : _ref2$textWrap,
|
|
12887
12855
|
_ref2$isLoading = _ref2.isLoading,
|
|
12888
12856
|
isLoading = _ref2$isLoading === void 0 ? false : _ref2$isLoading,
|
|
12889
|
-
_ref2$loadingColor = _ref2.loadingColor,
|
|
12890
|
-
loadingColor = _ref2$loadingColor === void 0 ? "white" : _ref2$loadingColor,
|
|
12891
12857
|
_ref2$dataQa = _ref2.dataQa,
|
|
12892
12858
|
dataQa = _ref2$dataQa === void 0 ? null : _ref2$dataQa,
|
|
12893
12859
|
textExtraStyles = _ref2.textExtraStyles,
|
|
@@ -12897,7 +12863,6 @@ var ButtonWithAction = function ButtonWithAction(_ref2) {
|
|
|
12897
12863
|
extraStyles = _ref2$extraStyles === void 0 ? "" : _ref2$extraStyles,
|
|
12898
12864
|
tabIndex = _ref2.tabIndex,
|
|
12899
12865
|
children = _ref2.children,
|
|
12900
|
-
extraDisabledStyles = _ref2.extraDisabledStyles,
|
|
12901
12866
|
rest = _objectWithoutProperties(_ref2, _excluded$h);
|
|
12902
12867
|
|
|
12903
12868
|
var themeContext = useContext(ThemeContext);
|
|
@@ -12905,7 +12870,7 @@ var ButtonWithAction = function ButtonWithAction(_ref2) {
|
|
|
12905
12870
|
var isMobile = themeContext.isMobile;
|
|
12906
12871
|
var hoverStyles = "\n outline: none;\n background-color: ".concat(themeValues.hoverBackgroundColor, ";\n border-color: ").concat(themeValues.hoverBorderColor, ";\n color: ").concat(themeValues.hoverColor, ";\n text-decoration: ").concat(variant === "ghost" || variant === "smallGhost" ? "underline" : "none", ";\n cursor: pointer;\n ");
|
|
12907
12872
|
var activeStyles = "\n outline: none;\n background-color: ".concat(themeValues.activeBackgroundColor, ";\n border-color: ").concat(themeValues.activeBorderColor, ";\n color: ").concat(themeValues.activeColor, ";\n text-decoration: ").concat(variant === "ghost" || variant === "smallGhost" ? "underline" : "none", ";\n ");
|
|
12908
|
-
var disabledStyles = "\n background-color: #6D717E;\n border-color: #6D717E;\n color: #FFFFFF;\n cursor: default;\n &:focus {\n box-shadow: 0 0 10px #6D717E;\n outline: none;\n }\n
|
|
12873
|
+
var disabledStyles = "\n background-color: #6D717E;\n border-color: #6D717E;\n color: #FFFFFF;\n cursor: default;\n &:focus {\n box-shadow: 0 0 10px #6D717E;\n outline: none;\n }\n ";
|
|
12909
12874
|
return /*#__PURE__*/React.createElement(Box, _extends({
|
|
12910
12875
|
variant: variant,
|
|
12911
12876
|
padding: themeValues.padding,
|
|
@@ -12926,7 +12891,6 @@ var ButtonWithAction = function ButtonWithAction(_ref2) {
|
|
|
12926
12891
|
}, rest), contentOverride ? children : /*#__PURE__*/React.createElement(Center, {
|
|
12927
12892
|
intrinsic: true
|
|
12928
12893
|
}, isLoading ? /*#__PURE__*/React.createElement(Spinner, {
|
|
12929
|
-
color: loadingColor,
|
|
12930
12894
|
isMobile: isMobile
|
|
12931
12895
|
}) : /*#__PURE__*/React.createElement(Text$1, {
|
|
12932
12896
|
weight: themeValues.fontWeight,
|
|
@@ -13824,35 +13788,6 @@ var BankIcon = function BankIcon() {
|
|
|
13824
13788
|
}));
|
|
13825
13789
|
};
|
|
13826
13790
|
|
|
13827
|
-
var BankIconLarge = function BankIconLarge(_ref) {
|
|
13828
|
-
var _ref$iconIndex = _ref.iconIndex,
|
|
13829
|
-
iconIndex = _ref$iconIndex === void 0 ? 0 : _ref$iconIndex;
|
|
13830
|
-
var id = "BankIconLarge-".concat(iconIndex);
|
|
13831
|
-
return /*#__PURE__*/React.createElement("svg", {
|
|
13832
|
-
width: "36",
|
|
13833
|
-
height: "24",
|
|
13834
|
-
viewBox: "0 0 36 24",
|
|
13835
|
-
fill: "none",
|
|
13836
|
-
xmlns: "http://www.w3.org/2000/svg"
|
|
13837
|
-
}, /*#__PURE__*/React.createElement("g", {
|
|
13838
|
-
clipPath: "url(#".concat(id, ")")
|
|
13839
|
-
}, /*#__PURE__*/React.createElement("path", {
|
|
13840
|
-
d: "M0 3C0 1.34315 1.34315 0 3 0H33C34.6569 0 36 1.34315 36 3V21C36 22.6569 34.6569 24 33 24H3C1.34315 24 0 22.6569 0 21V3Z",
|
|
13841
|
-
fill: "#E4F4FD"
|
|
13842
|
-
}), /*#__PURE__*/React.createElement("path", {
|
|
13843
|
-
fillRule: "evenodd",
|
|
13844
|
-
clipRule: "evenodd",
|
|
13845
|
-
d: "M33 1.5H3C2.17157 1.5 1.5 2.17157 1.5 3V21C1.5 21.8284 2.17157 22.5 3 22.5H33C33.8284 22.5 34.5 21.8284 34.5 21V3C34.5 2.17157 33.8284 1.5 33 1.5ZM3 0C1.34315 0 0 1.34315 0 3V21C0 22.6569 1.34315 24 3 24H33C34.6569 24 36 22.6569 36 21V3C36 1.34315 34.6569 0 33 0H3ZM23.7544 14.8335C23.6706 14.9563 23.6209 15.1293 23.6209 15.3332C23.6209 15.5465 23.5436 15.7411 23.4165 15.8885C23.349 15.9671 23.2696 16.0296 23.1834 16.0752C23.0922 16.1237 22.9909 16.1546 22.8836 16.1637C22.6961 16.1799 22.5022 16.1282 22.3391 16.0029C21.4102 15.2896 20.6945 14.8834 20.1572 14.6767C19.6165 14.4687 19.3143 14.4844 19.17 14.5249C18.988 14.576 18.7994 14.7857 18.7994 15.3332C18.7994 15.7935 18.4397 16.1665 17.9959 16.1665C17.5521 16.1665 17.1923 15.7935 17.1923 15.3332C17.1923 14.5422 17.4859 13.2709 18.7503 12.9161C19.3292 12.7536 19.9913 12.8352 20.7162 13.1141C21.2068 13.3028 21.7532 13.592 22.3632 13.9954C22.3882 13.9532 22.4147 13.9115 22.4428 13.8703C22.7715 13.3891 23.2775 13.0439 23.9432 12.9038C25.2058 12.6381 27.0336 13.1058 29.636 14.6047C30.024 14.8281 30.1638 15.3354 29.9483 15.7378C29.7329 16.1401 29.2437 16.2852 28.8557 16.0617C26.3153 14.5986 24.9289 14.397 24.2629 14.5371C23.9643 14.5999 23.8275 14.7265 23.7544 14.8335ZM26.8351 8.66659C26.8351 9.12683 26.4754 9.49992 26.0316 9.49992H17.996C17.5522 9.49992 17.1924 9.12683 17.1924 8.66659C17.1924 8.20636 17.5522 7.83327 17.996 7.83327H26.0316C26.4754 7.83327 26.8351 8.20636 26.8351 8.66659ZM8.81666 5.33333H10.8382C10.9311 5.33333 11.0201 5.37159 11.0858 5.43968C11.1514 5.50777 11.1883 5.60012 11.1883 5.69642V6.76975C11.9563 6.96326 12.6887 7.3019 13.3469 7.77398C13.4195 7.83002 13.4679 7.91348 13.4816 8.00627C13.4953 8.09906 13.4731 8.1937 13.42 8.26967L12.4001 9.76307C12.3498 9.84051 12.2725 9.89466 12.1844 9.9141C12.0964 9.93354 12.0045 9.91674 11.9282 9.86726C11.166 9.34181 10.2765 9.04965 9.36164 9.02426C8.67662 9.02426 8.34171 9.31157 8.34171 9.70308V9.73465C8.34171 10.2177 8.69184 10.4293 10.1167 10.7608C12.4427 11.288 13.898 12.071 13.898 14.0475V14.0759C13.898 15.789 12.8604 16.9502 11.1944 17.3552V18.3508C11.1944 18.3931 11.1862 18.4349 11.1704 18.4739C11.1545 18.5128 11.1312 18.548 11.102 18.5775C11.0728 18.6069 11.0381 18.63 11.0001 18.6453C10.9621 18.6606 10.9215 18.6678 10.8808 18.6665H8.77705C8.6963 18.6665 8.61885 18.6333 8.56175 18.5741C8.50466 18.5148 8.4726 18.4345 8.4726 18.3508V17.4163C7.31992 17.2199 6.22353 16.7352 5.28198 15.9955C5.24358 15.966 5.21155 15.9285 5.18791 15.8854C5.16427 15.8423 5.14954 15.7946 5.14467 15.7453C5.1398 15.696 5.1449 15.6462 5.15963 15.599C5.17436 15.5519 5.1984 15.5084 5.23023 15.4714L6.36278 14.0728C6.41845 14.0015 6.49805 13.9548 6.58558 13.9419C6.67311 13.929 6.76211 13.9509 6.83469 14.0033C7.71463 14.685 8.78089 15.0588 9.87921 15.0704C10.6495 15.0704 11.0544 14.7989 11.0544 14.3474V14.3159C11.0544 13.8644 10.7225 13.637 9.32511 13.2929C7.16045 12.7783 5.489 12.1468 5.489 9.99039V9.95881C5.489 8.27314 6.59751 6.98782 8.46654 6.66335V5.69642C8.46654 5.60012 8.50342 5.50777 8.56908 5.43968C8.63474 5.37159 8.7238 5.33333 8.81666 5.33333Z",
|
|
13846
|
-
fill: "#15749D"
|
|
13847
|
-
})), /*#__PURE__*/React.createElement("defs", null, /*#__PURE__*/React.createElement("clipPath", {
|
|
13848
|
-
id: id
|
|
13849
|
-
}, /*#__PURE__*/React.createElement("rect", {
|
|
13850
|
-
width: "36",
|
|
13851
|
-
height: "24",
|
|
13852
|
-
fill: "white"
|
|
13853
|
-
}))));
|
|
13854
|
-
};
|
|
13855
|
-
|
|
13856
13791
|
var GenericCard = function GenericCard() {
|
|
13857
13792
|
return /*#__PURE__*/React.createElement("svg", {
|
|
13858
13793
|
width: "28",
|
|
@@ -13878,6 +13813,33 @@ var GenericCard = function GenericCard() {
|
|
|
13878
13813
|
}));
|
|
13879
13814
|
};
|
|
13880
13815
|
|
|
13816
|
+
var BankItemWrapper = styled.div.withConfig({
|
|
13817
|
+
displayName: "PaymentIcon__BankItemWrapper",
|
|
13818
|
+
componentId: "sc-1k0jl35-0"
|
|
13819
|
+
})(["display:flex;justify-content:flex-start;align-items:center;"]);
|
|
13820
|
+
var BankAccountText = styled.h4.withConfig({
|
|
13821
|
+
displayName: "PaymentIcon__BankAccountText",
|
|
13822
|
+
componentId: "sc-1k0jl35-1"
|
|
13823
|
+
})(["color:", ";font-size:1rem;font-weight:400;line-height:1.5rem;text-align:left;margin-right:0.5rem;display:inline-block;"], CHARADE_GREY);
|
|
13824
|
+
var CHECKING = "CHECKING";
|
|
13825
|
+
var SAVINGS = "SAVINGS";
|
|
13826
|
+
|
|
13827
|
+
var PaymentIcon = function PaymentIcon(_ref) {
|
|
13828
|
+
var lastFour = _ref.lastFour,
|
|
13829
|
+
accountType = _ref.accountType,
|
|
13830
|
+
autoPay = _ref.autoPay;
|
|
13831
|
+
return /*#__PURE__*/React.createElement(BankItemWrapper, null, /*#__PURE__*/React.createElement(Box, {
|
|
13832
|
+
padding: "0.25rem 0 0 0",
|
|
13833
|
+
extraStyles: "margin-right: 1rem;"
|
|
13834
|
+
}, /*#__PURE__*/React.createElement(BankIcon, null)), /*#__PURE__*/React.createElement(Stack, {
|
|
13835
|
+
childGap: "0"
|
|
13836
|
+
}, accountType === CHECKING && /*#__PURE__*/React.createElement(BankAccountText, null, "Checking Account ending in ", lastFour), accountType === SAVINGS && /*#__PURE__*/React.createElement(BankAccountText, null, "Savings Account ending in ", lastFour), autoPay && /*#__PURE__*/React.createElement(Text$1, {
|
|
13837
|
+
variant: "p",
|
|
13838
|
+
color: REGENT_GREY,
|
|
13839
|
+
extraStyles: "font-style: italic;"
|
|
13840
|
+
}, "Autopay Enabled")));
|
|
13841
|
+
};
|
|
13842
|
+
|
|
13881
13843
|
var IconAdd = function IconAdd() {
|
|
13882
13844
|
return /*#__PURE__*/React.createElement("svg", {
|
|
13883
13845
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -14732,26 +14694,6 @@ var FailedIcon = function FailedIcon() {
|
|
|
14732
14694
|
}))));
|
|
14733
14695
|
};
|
|
14734
14696
|
|
|
14735
|
-
var PencilIcon = function PencilIcon(_ref) {
|
|
14736
|
-
var _ref$ariaLabel = _ref.ariaLabel,
|
|
14737
|
-
ariaLabel = _ref$ariaLabel === void 0 ? "Edit" : _ref$ariaLabel,
|
|
14738
|
-
themeValues = _ref.themeValues;
|
|
14739
|
-
return /*#__PURE__*/React.createElement("svg", {
|
|
14740
|
-
"aria-label": ariaLabel,
|
|
14741
|
-
width: "24px",
|
|
14742
|
-
height: "24px",
|
|
14743
|
-
fill: "none",
|
|
14744
|
-
xmlns: "http://www.w3.org/2000/svg"
|
|
14745
|
-
}, /*#__PURE__*/React.createElement("path", {
|
|
14746
|
-
fillRule: "evenodd",
|
|
14747
|
-
clipRule: "evenodd",
|
|
14748
|
-
d: "M19.74 6.84a.885.885 0 0 1 0 1.253l-1.626 1.626-3.333-3.333 1.626-1.626a.885.885 0 0 1 1.253 0l2.08 2.08ZM4 20.5v-3.333l9.83-9.83 3.333 3.333-9.83 9.83H4Z",
|
|
14749
|
-
fill: themeValues.subIconColor
|
|
14750
|
-
}));
|
|
14751
|
-
};
|
|
14752
|
-
|
|
14753
|
-
var PencilIcon$1 = themeComponent(PencilIcon, "Icons", fallbackValues$2, "info");
|
|
14754
|
-
|
|
14755
14697
|
var PendingIcon = function PendingIcon() {
|
|
14756
14698
|
return /*#__PURE__*/React.createElement("svg", {
|
|
14757
14699
|
width: "32px",
|
|
@@ -15619,14 +15561,7 @@ var CheckIcon = function CheckIcon() {
|
|
|
15619
15561
|
})))))));
|
|
15620
15562
|
};
|
|
15621
15563
|
|
|
15622
|
-
var WarningIconXS = function WarningIconXS(
|
|
15623
|
-
var _ref$color = _ref.color,
|
|
15624
|
-
color = _ref$color === void 0 ? "#B34A00" : _ref$color,
|
|
15625
|
-
title = _ref.title,
|
|
15626
|
-
_ref$titleID = _ref.titleID,
|
|
15627
|
-
titleID = _ref$titleID === void 0 ? "warning-icon-title" : _ref$titleID,
|
|
15628
|
-
_ref$iconIndex = _ref.iconIndex,
|
|
15629
|
-
iconIndex = _ref$iconIndex === void 0 ? 0 : _ref$iconIndex;
|
|
15564
|
+
var WarningIconXS = function WarningIconXS() {
|
|
15630
15565
|
return /*#__PURE__*/React.createElement("svg", {
|
|
15631
15566
|
width: "16px",
|
|
15632
15567
|
height: "13px",
|
|
@@ -15634,40 +15569,40 @@ var WarningIconXS = function WarningIconXS(_ref) {
|
|
|
15634
15569
|
version: "1.1",
|
|
15635
15570
|
xmlns: "http://www.w3.org/2000/svg",
|
|
15636
15571
|
xmlnsXlink: "http://www.w3.org/1999/xlink",
|
|
15637
|
-
"aria-labelledby":
|
|
15572
|
+
"aria-labelledby": "#warning-restricted-item",
|
|
15638
15573
|
role: "img"
|
|
15639
|
-
},
|
|
15640
|
-
id: "
|
|
15641
|
-
},
|
|
15574
|
+
}, /*#__PURE__*/React.createElement("title", {
|
|
15575
|
+
id: "warning-restricted-item"
|
|
15576
|
+
}, "Warning: restricted items cannot be selected"), /*#__PURE__*/React.createElement("defs", null, /*#__PURE__*/React.createElement("path", {
|
|
15642
15577
|
d: "M11.0106463,4.4659633 C11.3063934,4.63914978 11.5526739,4.88543032 11.7258604,5.18117739 L16.7999622,13.846119 C17.3581267,14.7992854 17.0379144,16.0244612 16.0847481,16.5826257 C15.7781918,16.762142 15.4293522,16.8567653 15.0741018,16.8567653 L4.92589823,16.8567653 C3.82132873,16.8567653 2.92589823,15.9613348 2.92589823,14.8567653 C2.92589823,14.5015149 3.02052159,14.1526753 3.20003784,13.846119 L8.27413962,5.18117739 C8.83230416,4.22801102 10.0574799,3.90779877 11.0106463,4.4659633 Z M10.6666667,13.3333333 L9.33333333,13.3333333 L9.33333333,14.6666667 L10.6666667,14.6666667 L10.6666667,13.3333333 Z M10.6666667,6.66666667 L9.33333333,6.66666667 L9.33333333,12 L10.6666667,12 L10.6666667,6.66666667 Z",
|
|
15643
|
-
id: "WarningIconXs-path-1
|
|
15578
|
+
id: "WarningIconXs-path-1"
|
|
15644
15579
|
})), /*#__PURE__*/React.createElement("g", {
|
|
15645
|
-
id: "WarningIconXs-
|
|
15580
|
+
id: "WarningIconXs-SRV-2647---Workflow-$0-Balance",
|
|
15646
15581
|
stroke: "none",
|
|
15647
15582
|
strokeWidth: "1",
|
|
15648
15583
|
fill: "none",
|
|
15649
15584
|
fillRule: "evenodd"
|
|
15650
15585
|
}, /*#__PURE__*/React.createElement("g", {
|
|
15651
|
-
id: "WarningIconXs-
|
|
15586
|
+
id: "WarningIconXs-11---Search-Results----Checked--Copy-6",
|
|
15652
15587
|
transform: "translate(-135.000000, -483.000000)"
|
|
15653
15588
|
}, /*#__PURE__*/React.createElement("g", {
|
|
15654
|
-
id: "WarningIconXs-Group
|
|
15589
|
+
id: "WarningIconXs-Group",
|
|
15655
15590
|
transform: "translate(133.000000, 479.000000)"
|
|
15656
15591
|
}, /*#__PURE__*/React.createElement("mask", {
|
|
15657
|
-
id: "WarningIconXs-mask-2
|
|
15592
|
+
id: "WarningIconXs-mask-2",
|
|
15658
15593
|
fill: "white"
|
|
15659
15594
|
}, /*#__PURE__*/React.createElement("use", {
|
|
15660
|
-
xlinkHref: "#WarningIconXs-path-1
|
|
15595
|
+
xlinkHref: "#WarningIconXs-path-1"
|
|
15661
15596
|
})), /*#__PURE__*/React.createElement("use", {
|
|
15662
|
-
id: "WarningIconXs-Mask
|
|
15663
|
-
fill:
|
|
15597
|
+
id: "WarningIconXs-Mask",
|
|
15598
|
+
fill: "#B34A00",
|
|
15664
15599
|
fillRule: "nonzero",
|
|
15665
|
-
xlinkHref: "#WarningIconXs-path-1
|
|
15600
|
+
xlinkHref: "#WarningIconXs-path-1"
|
|
15666
15601
|
}), /*#__PURE__*/React.createElement("polygon", {
|
|
15667
|
-
id: "WarningIconXs-Path
|
|
15668
|
-
fill:
|
|
15602
|
+
id: "WarningIconXs-Path",
|
|
15603
|
+
fill: "#B34A00",
|
|
15669
15604
|
fillRule: "nonzero",
|
|
15670
|
-
mask: "url(#WarningIconXs-mask-2
|
|
15605
|
+
mask: "url(#WarningIconXs-mask-2)",
|
|
15671
15606
|
points: "-2.84217094e-14 -4.26325641e-14 20 -4.26325641e-14 20 20 -2.84217094e-14 20"
|
|
15672
15607
|
})))));
|
|
15673
15608
|
};
|
|
@@ -16539,762 +16474,6 @@ var FindIconSmall = function FindIconSmall(_ref) {
|
|
|
16539
16474
|
|
|
16540
16475
|
var FindIconSmall$1 = themeComponent(FindIconSmall, "Icons", fallbackValues$2, "primary");
|
|
16541
16476
|
|
|
16542
|
-
var HistoryIconSmall = function HistoryIconSmall(_ref) {
|
|
16543
|
-
var themeValues = _ref.themeValues;
|
|
16544
|
-
return /*#__PURE__*/React.createElement("svg", {
|
|
16545
|
-
width: "20",
|
|
16546
|
-
height: "20",
|
|
16547
|
-
viewBox: "0 0 20 20",
|
|
16548
|
-
fill: "none",
|
|
16549
|
-
xmlns: "http://www.w3.org/2000/svg"
|
|
16550
|
-
}, /*#__PURE__*/React.createElement("path", {
|
|
16551
|
-
d: "M3.33337 8.33333C3.33337 7.8731 3.70647 7.5 4.16671 7.5H15.8334C16.2936 7.5 16.6667 7.8731 16.6667 8.33333V16.6667C16.6667 17.1269 16.2936 17.5 15.8334 17.5H4.16671C3.70647 17.5 3.33337 17.1269 3.33337 16.6667V8.33333Z",
|
|
16552
|
-
fill: themeValues.singleIconColor
|
|
16553
|
-
}), /*#__PURE__*/React.createElement("path", {
|
|
16554
|
-
fillRule: "evenodd",
|
|
16555
|
-
clipRule: "evenodd",
|
|
16556
|
-
d: "M5.08337 4.75C4.66916 4.75 4.33337 5.08579 4.33337 5.5C4.33337 5.91421 4.66916 6.25 5.08337 6.25H14.9134C15.3276 6.25 15.6634 5.91421 15.6634 5.5C15.6634 5.08579 15.3276 4.75 14.9134 4.75H5.08337Z",
|
|
16557
|
-
fill: themeValues.singleIconColor
|
|
16558
|
-
}), /*#__PURE__*/React.createElement("path", {
|
|
16559
|
-
fillRule: "evenodd",
|
|
16560
|
-
clipRule: "evenodd",
|
|
16561
|
-
d: "M6.03337 2.25C5.64677 2.25 5.33337 2.5634 5.33337 2.95C5.33337 3.3366 5.64678 3.65 6.03337 3.65H13.9634C14.35 3.65 14.6634 3.3366 14.6634 2.95C14.6634 2.5634 14.35 2.25 13.9634 2.25H6.03337Z",
|
|
16562
|
-
fill: themeValues.singleIconColor
|
|
16563
|
-
}));
|
|
16564
|
-
};
|
|
16565
|
-
|
|
16566
|
-
var HistoryIconSmall$1 = themeComponent(HistoryIconSmall, "Icons", fallbackValues$2, "primary");
|
|
16567
|
-
|
|
16568
|
-
var ChargebackIconSmall = function ChargebackIconSmall(_ref) {
|
|
16569
|
-
var _ref$color = _ref.color,
|
|
16570
|
-
color = _ref$color === void 0 ? "#15749D" : _ref$color,
|
|
16571
|
-
_ref$iconIndex = _ref.iconIndex,
|
|
16572
|
-
iconIndex = _ref$iconIndex === void 0 ? 0 : _ref$iconIndex;
|
|
16573
|
-
var id = "ChargebackIconSmall-".concat(iconIndex);
|
|
16574
|
-
return /*#__PURE__*/React.createElement("svg", {
|
|
16575
|
-
width: "20",
|
|
16576
|
-
height: "20",
|
|
16577
|
-
viewBox: "0 0 20 20",
|
|
16578
|
-
fill: "none",
|
|
16579
|
-
xmlns: "http://www.w3.org/2000/svg"
|
|
16580
|
-
}, /*#__PURE__*/React.createElement("circle", {
|
|
16581
|
-
cx: "10",
|
|
16582
|
-
cy: "10",
|
|
16583
|
-
r: "10",
|
|
16584
|
-
fill: color
|
|
16585
|
-
}), /*#__PURE__*/React.createElement("mask", {
|
|
16586
|
-
id: id,
|
|
16587
|
-
style: {
|
|
16588
|
-
maskType: "luminance"
|
|
16589
|
-
},
|
|
16590
|
-
maskUnits: "userSpaceOnUse",
|
|
16591
|
-
x: "2",
|
|
16592
|
-
y: "5",
|
|
16593
|
-
width: "15",
|
|
16594
|
-
height: "10"
|
|
16595
|
-
}, /*#__PURE__*/React.createElement("path", {
|
|
16596
|
-
fillRule: "evenodd",
|
|
16597
|
-
clipRule: "evenodd",
|
|
16598
|
-
d: "M6.6667 6.83325C6.6667 6.28097 7.11441 5.83325 7.6667 5.83325H15.6667C16.219 5.83325 16.6667 6.28097 16.6667 6.83325V8.33325V9.99992V13.1666C16.6667 13.7189 16.219 14.1666 15.6667 14.1666H7.6667C7.11441 14.1666 6.6667 13.7189 6.6667 13.1666V9.99992V8.33325V6.83325ZM16.0417 6.5277V8.33325H7.2917V8.26381V6.5277H16.0417ZM7.2917 13.4721V9.99992H16.0417V13.4721H7.2917ZM4.8275 8.70703C4.8275 8.26157 4.28893 8.03849 3.97395 8.35347L2.68105 9.64636C2.48579 9.84163 2.48579 10.1582 2.68105 10.3535L3.97395 11.6464C4.28893 11.9613 4.8275 11.7383 4.8275 11.2928V8.70703ZM13.4896 11.6666C13.2595 11.6666 13.0729 11.8531 13.0729 12.0833C13.0729 12.3134 13.2595 12.4999 13.4896 12.4999H14.5313C14.7614 12.4999 14.9479 12.3134 14.9479 12.0833C14.9479 11.8531 14.7614 11.6666 14.5313 11.6666H13.4896Z",
|
|
16599
|
-
fill: "white"
|
|
16600
|
-
})), /*#__PURE__*/React.createElement("g", {
|
|
16601
|
-
mask: "url(#".concat(id, ")")
|
|
16602
|
-
}, /*#__PURE__*/React.createElement("rect", {
|
|
16603
|
-
x: "2.5",
|
|
16604
|
-
y: "2.5",
|
|
16605
|
-
width: "15",
|
|
16606
|
-
height: "15",
|
|
16607
|
-
fill: "white"
|
|
16608
|
-
})));
|
|
16609
|
-
};
|
|
16610
|
-
|
|
16611
|
-
var ChargebackReversalIconSmall = function ChargebackReversalIconSmall(_ref) {
|
|
16612
|
-
var _ref$color = _ref.color,
|
|
16613
|
-
color = _ref$color === void 0 ? "#15749D" : _ref$color,
|
|
16614
|
-
_ref$iconIndex = _ref.iconIndex,
|
|
16615
|
-
iconIndex = _ref$iconIndex === void 0 ? 0 : _ref$iconIndex;
|
|
16616
|
-
var id = "ChargebackReversalIconSmall-".concat(iconIndex);
|
|
16617
|
-
return /*#__PURE__*/React.createElement("svg", {
|
|
16618
|
-
width: "20",
|
|
16619
|
-
height: "20",
|
|
16620
|
-
viewBox: "0 0 20 20",
|
|
16621
|
-
fill: "none",
|
|
16622
|
-
xmlns: "http://www.w3.org/2000/svg"
|
|
16623
|
-
}, /*#__PURE__*/React.createElement("circle", {
|
|
16624
|
-
cx: "10",
|
|
16625
|
-
cy: "10",
|
|
16626
|
-
r: "10",
|
|
16627
|
-
fill: color
|
|
16628
|
-
}), /*#__PURE__*/React.createElement("mask", {
|
|
16629
|
-
id: id,
|
|
16630
|
-
style: {
|
|
16631
|
-
maskType: "luminance"
|
|
16632
|
-
},
|
|
16633
|
-
maskUnits: "userSpaceOnUse",
|
|
16634
|
-
x: "4",
|
|
16635
|
-
y: "5",
|
|
16636
|
-
width: "14",
|
|
16637
|
-
height: "10"
|
|
16638
|
-
}, /*#__PURE__*/React.createElement("path", {
|
|
16639
|
-
fillRule: "evenodd",
|
|
16640
|
-
clipRule: "evenodd",
|
|
16641
|
-
d: "M4.16669 6.83325C4.16669 6.28097 4.6144 5.83325 5.16669 5.83325H13.1667C13.719 5.83325 14.1667 6.28097 14.1667 6.83325V8.33325V9.99992V13.1666C14.1667 13.7189 13.719 14.1666 13.1667 14.1666H5.16669C4.6144 14.1666 4.16669 13.7189 4.16669 13.1666V9.99992V8.33325V6.83325ZM13.5417 6.5277V8.33325H4.79169V8.26381V6.5277H13.5417ZM4.79169 13.4721V9.99992H13.5417V13.4721H4.79169ZM15 11.2928C15 11.7383 15.5386 11.9613 15.8536 11.6464L17.1465 10.3535C17.3417 10.1582 17.3417 9.84163 17.1465 9.64636L15.8536 8.35347C15.5386 8.03849 15 8.26157 15 8.70703V11.2928ZM10.9896 11.6666C10.7595 11.6666 10.5729 11.8531 10.5729 12.0833C10.5729 12.3134 10.7595 12.4999 10.9896 12.4999H12.0313C12.2614 12.4999 12.4479 12.3134 12.4479 12.0833C12.4479 11.8531 12.2614 11.6666 12.0313 11.6666H10.9896Z",
|
|
16642
|
-
fill: "white"
|
|
16643
|
-
})), /*#__PURE__*/React.createElement("g", {
|
|
16644
|
-
mask: "url(#".concat(id, ")")
|
|
16645
|
-
}, /*#__PURE__*/React.createElement("rect", {
|
|
16646
|
-
x: "2.5",
|
|
16647
|
-
y: "2.5",
|
|
16648
|
-
width: "15",
|
|
16649
|
-
height: "15",
|
|
16650
|
-
fill: "white"
|
|
16651
|
-
})));
|
|
16652
|
-
};
|
|
16653
|
-
|
|
16654
|
-
var RefundIconSmall = function RefundIconSmall(_ref) {
|
|
16655
|
-
var _ref$color = _ref.color,
|
|
16656
|
-
color = _ref$color === void 0 ? "#15749D" : _ref$color,
|
|
16657
|
-
_ref$iconIndex = _ref.iconIndex,
|
|
16658
|
-
iconIndex = _ref$iconIndex === void 0 ? 0 : _ref$iconIndex;
|
|
16659
|
-
var id = "RefundIconSmall-".concat(iconIndex);
|
|
16660
|
-
return /*#__PURE__*/React.createElement("svg", {
|
|
16661
|
-
width: "20",
|
|
16662
|
-
height: "20",
|
|
16663
|
-
viewBox: "0 0 20 20",
|
|
16664
|
-
fill: "none",
|
|
16665
|
-
xmlns: "http://www.w3.org/2000/svg"
|
|
16666
|
-
}, /*#__PURE__*/React.createElement("circle", {
|
|
16667
|
-
cx: "10",
|
|
16668
|
-
cy: "10",
|
|
16669
|
-
r: "10",
|
|
16670
|
-
fill: color
|
|
16671
|
-
}), /*#__PURE__*/React.createElement("path", {
|
|
16672
|
-
fillRule: "evenodd",
|
|
16673
|
-
clipRule: "evenodd",
|
|
16674
|
-
d: "M12.5812 14.0293V15H11.1768V14.0347C9.64976 13.8666 8.66331 13.1291 8.51283 11.757L10.2071 11.7245C10.3798 12.4403 11.004 12.82 11.8957 12.82C12.6983 12.82 13.2723 12.4024 13.2723 11.8438C13.2723 11.2636 12.8989 11.0249 12.1131 10.8514L10.7923 10.5748C9.56059 10.3308 8.7692 9.63124 8.75248 8.42733C8.74133 7.14751 9.76679 6.28525 11.2047 6.07375V5H12.6147V6.07918C14.0191 6.31779 14.8718 7.25054 14.8551 8.3731L13.211 8.40022C13.1107 7.70607 12.7875 7.28308 11.9292 7.28308C11.043 7.28308 10.4969 7.67354 10.4969 8.24295C10.4969 8.69848 10.7532 8.92625 11.6282 9.14859L12.9268 9.4577C14.3925 9.79935 15 10.6562 15 11.833C15 13.0152 14.0693 13.8395 12.5812 14.0293ZM7.5 11.3438C7.5 11.7558 7.02962 11.991 6.7 11.7438L4.7 10.2438C4.43333 10.0438 4.43333 9.64375 4.7 9.44375L6.7 7.94375C7.02962 7.69654 7.5 7.93173 7.5 8.34375V11.3438Z",
|
|
16675
|
-
fill: "white"
|
|
16676
|
-
}), /*#__PURE__*/React.createElement("mask", {
|
|
16677
|
-
id: id,
|
|
16678
|
-
style: {
|
|
16679
|
-
maskType: "luminance"
|
|
16680
|
-
},
|
|
16681
|
-
maskUnits: "userSpaceOnUse",
|
|
16682
|
-
x: "4",
|
|
16683
|
-
y: "5",
|
|
16684
|
-
width: "11",
|
|
16685
|
-
height: "10"
|
|
16686
|
-
}, /*#__PURE__*/React.createElement("path", {
|
|
16687
|
-
fillRule: "evenodd",
|
|
16688
|
-
clipRule: "evenodd",
|
|
16689
|
-
d: "M12.5812 14.0293V15H11.1768V14.0347C9.64976 13.8666 8.66331 13.1291 8.51283 11.757L10.2071 11.7245C10.3798 12.4403 11.004 12.82 11.8957 12.82C12.6983 12.82 13.2723 12.4024 13.2723 11.8438C13.2723 11.2636 12.8989 11.0249 12.1131 10.8514L10.7923 10.5748C9.56059 10.3308 8.7692 9.63124 8.75248 8.42733C8.74133 7.14751 9.76679 6.28525 11.2047 6.07375V5H12.6147V6.07918C14.0191 6.31779 14.8718 7.25054 14.8551 8.3731L13.211 8.40022C13.1107 7.70607 12.7875 7.28308 11.9292 7.28308C11.043 7.28308 10.4969 7.67354 10.4969 8.24295C10.4969 8.69848 10.7532 8.92625 11.6282 9.14859L12.9268 9.4577C14.3925 9.79935 15 10.6562 15 11.833C15 13.0152 14.0693 13.8395 12.5812 14.0293ZM7.5 11.3438C7.5 11.7558 7.02962 11.991 6.7 11.7438L4.7 10.2438C4.43333 10.0438 4.43333 9.64375 4.7 9.44375L6.7 7.94375C7.02962 7.69654 7.5 7.93173 7.5 8.34375V11.3438Z",
|
|
16690
|
-
fill: "white"
|
|
16691
|
-
})), /*#__PURE__*/React.createElement("g", {
|
|
16692
|
-
mask: "url(#".concat(id, ")")
|
|
16693
|
-
}, /*#__PURE__*/React.createElement("rect", {
|
|
16694
|
-
x: "2.5",
|
|
16695
|
-
y: "2.5",
|
|
16696
|
-
width: "15",
|
|
16697
|
-
height: "15",
|
|
16698
|
-
fill: "white"
|
|
16699
|
-
})));
|
|
16700
|
-
};
|
|
16701
|
-
|
|
16702
|
-
var XCircleIconSmall = function XCircleIconSmall(_ref) {
|
|
16703
|
-
var _ref$color = _ref.color,
|
|
16704
|
-
color = _ref$color === void 0 ? "#D11053" : _ref$color,
|
|
16705
|
-
_ref$iconIndex = _ref.iconIndex,
|
|
16706
|
-
iconIndex = _ref$iconIndex === void 0 ? 0 : _ref$iconIndex;
|
|
16707
|
-
var id = "XCircleIconSmall-".concat(iconIndex);
|
|
16708
|
-
return /*#__PURE__*/React.createElement("svg", {
|
|
16709
|
-
width: "21",
|
|
16710
|
-
height: "20",
|
|
16711
|
-
viewBox: "0 0 21 20",
|
|
16712
|
-
fill: "none",
|
|
16713
|
-
xmlns: "http://www.w3.org/2000/svg"
|
|
16714
|
-
}, /*#__PURE__*/React.createElement("circle", {
|
|
16715
|
-
cx: "10.5",
|
|
16716
|
-
cy: "10",
|
|
16717
|
-
r: "10",
|
|
16718
|
-
fill: color
|
|
16719
|
-
}), /*#__PURE__*/React.createElement("path", {
|
|
16720
|
-
fillRule: "evenodd",
|
|
16721
|
-
clipRule: "evenodd",
|
|
16722
|
-
d: "M13.8298 6.18691C13.6345 5.99165 13.3179 5.99165 13.1227 6.18691L10.5 8.80955L7.87739 6.18691C7.68213 5.99165 7.36554 5.99165 7.17028 6.18691L6.68691 6.67028C6.49165 6.86554 6.49165 7.18213 6.68691 7.37739L9.30955 10L6.68691 12.6227C6.49165 12.8179 6.49165 13.1345 6.68691 13.3298L7.17028 13.8131C7.36554 14.0084 7.68213 14.0084 7.87739 13.8131L10.5 11.1905L13.1227 13.8131C13.3179 14.0084 13.6345 14.0084 13.8298 13.8131L14.3131 13.3298C14.5084 13.1345 14.5084 12.8179 14.3131 12.6227L11.6905 10L14.3131 7.37739C14.5084 7.18213 14.5084 6.86554 14.3131 6.67028L13.8298 6.18691Z",
|
|
16723
|
-
fill: "white"
|
|
16724
|
-
}), /*#__PURE__*/React.createElement("mask", {
|
|
16725
|
-
id: id,
|
|
16726
|
-
style: {
|
|
16727
|
-
maskType: "luminance"
|
|
16728
|
-
},
|
|
16729
|
-
maskUnits: "userSpaceOnUse",
|
|
16730
|
-
x: "6",
|
|
16731
|
-
y: "6",
|
|
16732
|
-
width: "9",
|
|
16733
|
-
height: "8"
|
|
16734
|
-
}, /*#__PURE__*/React.createElement("path", {
|
|
16735
|
-
fillRule: "evenodd",
|
|
16736
|
-
clipRule: "evenodd",
|
|
16737
|
-
d: "M13.8298 6.18691C13.6345 5.99165 13.3179 5.99165 13.1227 6.18691L10.5 8.80955L7.87739 6.18691C7.68213 5.99165 7.36554 5.99165 7.17028 6.18691L6.68691 6.67028C6.49165 6.86554 6.49165 7.18213 6.68691 7.37739L9.30955 10L6.68691 12.6227C6.49165 12.8179 6.49165 13.1345 6.68691 13.3298L7.17028 13.8131C7.36554 14.0084 7.68213 14.0084 7.87739 13.8131L10.5 11.1905L13.1227 13.8131C13.3179 14.0084 13.6345 14.0084 13.8298 13.8131L14.3131 13.3298C14.5084 13.1345 14.5084 12.8179 14.3131 12.6227L11.6905 10L14.3131 7.37739C14.5084 7.18213 14.5084 6.86554 14.3131 6.67028L13.8298 6.18691Z",
|
|
16738
|
-
fill: "white"
|
|
16739
|
-
})), /*#__PURE__*/React.createElement("g", {
|
|
16740
|
-
mask: "url(#".concat(id, ")")
|
|
16741
|
-
}, /*#__PURE__*/React.createElement("path", {
|
|
16742
|
-
d: "M0.5 0H20.5V20H0.5V0Z",
|
|
16743
|
-
fill: "white"
|
|
16744
|
-
})));
|
|
16745
|
-
};
|
|
16746
|
-
|
|
16747
|
-
var SuccessfulIconSmall = function SuccessfulIconSmall(_ref) {
|
|
16748
|
-
var _ref$iconIndex = _ref.iconIndex,
|
|
16749
|
-
iconIndex = _ref$iconIndex === void 0 ? 0 : _ref$iconIndex;
|
|
16750
|
-
var mask0ID = "SuccessfulIconSmall-mask0-".concat(iconIndex);
|
|
16751
|
-
var mask1ID = "SuccessfulIconSmall-mask1-".concat(iconIndex);
|
|
16752
|
-
return /*#__PURE__*/React.createElement("svg", {
|
|
16753
|
-
width: "20",
|
|
16754
|
-
height: "20",
|
|
16755
|
-
viewBox: "0 0 20 20",
|
|
16756
|
-
fill: "none",
|
|
16757
|
-
xmlns: "http://www.w3.org/2000/svg"
|
|
16758
|
-
}, /*#__PURE__*/React.createElement("circle", {
|
|
16759
|
-
cx: "10",
|
|
16760
|
-
cy: "10",
|
|
16761
|
-
r: "10",
|
|
16762
|
-
fill: "#317D4F"
|
|
16763
|
-
}), /*#__PURE__*/React.createElement("mask", {
|
|
16764
|
-
id: mask0ID,
|
|
16765
|
-
style: {
|
|
16766
|
-
maskType: "luminance"
|
|
16767
|
-
},
|
|
16768
|
-
maskUnits: "userSpaceOnUse",
|
|
16769
|
-
x: "0",
|
|
16770
|
-
y: "0",
|
|
16771
|
-
width: "20",
|
|
16772
|
-
height: "20"
|
|
16773
|
-
}, /*#__PURE__*/React.createElement("circle", {
|
|
16774
|
-
cx: "10",
|
|
16775
|
-
cy: "10",
|
|
16776
|
-
r: "10",
|
|
16777
|
-
fill: "white"
|
|
16778
|
-
})), /*#__PURE__*/React.createElement("g", {
|
|
16779
|
-
mask: "url(#".concat(mask0ID, ")")
|
|
16780
|
-
}, /*#__PURE__*/React.createElement("path", {
|
|
16781
|
-
fillRule: "evenodd",
|
|
16782
|
-
clipRule: "evenodd",
|
|
16783
|
-
d: "M14.7817 6.18688C14.5864 5.99162 14.2698 5.99162 14.0746 6.18688L8.53558 11.7259L6.53211 9.72242C6.33685 9.52715 6.02027 9.52715 5.825 9.72242L5.3536 10.1938C5.15834 10.3891 5.15834 10.7057 5.3536 10.9009L7.71062 13.2579L8.18203 13.7294C8.37729 13.9246 8.69387 13.9246 8.88913 13.7294L9.36054 13.258C9.36068 13.2578 9.36082 13.2577 9.36096 13.2575L15.2531 7.36539C15.4484 7.17013 15.4484 6.85355 15.2531 6.65829L14.7817 6.18688Z",
|
|
16784
|
-
fill: "white"
|
|
16785
|
-
}), /*#__PURE__*/React.createElement("mask", {
|
|
16786
|
-
id: mask1ID,
|
|
16787
|
-
style: {
|
|
16788
|
-
maskType: "luminance"
|
|
16789
|
-
},
|
|
16790
|
-
maskUnits: "userSpaceOnUse",
|
|
16791
|
-
x: "5",
|
|
16792
|
-
y: "6",
|
|
16793
|
-
width: "11",
|
|
16794
|
-
height: "8"
|
|
16795
|
-
}, /*#__PURE__*/React.createElement("path", {
|
|
16796
|
-
fillRule: "evenodd",
|
|
16797
|
-
clipRule: "evenodd",
|
|
16798
|
-
d: "M14.7817 6.18688C14.5864 5.99162 14.2698 5.99162 14.0746 6.18688L8.53558 11.7259L6.53211 9.72242C6.33685 9.52715 6.02027 9.52715 5.825 9.72242L5.3536 10.1938C5.15834 10.3891 5.15834 10.7057 5.3536 10.9009L7.71062 13.2579L8.18203 13.7294C8.37729 13.9246 8.69387 13.9246 8.88913 13.7294L9.36054 13.258C9.36068 13.2578 9.36082 13.2577 9.36096 13.2575L15.2531 7.36539C15.4484 7.17013 15.4484 6.85355 15.2531 6.65829L14.7817 6.18688Z",
|
|
16799
|
-
fill: "white"
|
|
16800
|
-
})), /*#__PURE__*/React.createElement("g", {
|
|
16801
|
-
mask: "url(#".concat(mask1ID, ")")
|
|
16802
|
-
}, /*#__PURE__*/React.createElement("rect", {
|
|
16803
|
-
x: "1.66669",
|
|
16804
|
-
y: "1.66666",
|
|
16805
|
-
width: "16.6667",
|
|
16806
|
-
height: "16.6667",
|
|
16807
|
-
fill: "white"
|
|
16808
|
-
}))));
|
|
16809
|
-
};
|
|
16810
|
-
|
|
16811
|
-
var ArrowLeftCircleIconSmall = function ArrowLeftCircleIconSmall(_ref) {
|
|
16812
|
-
var _ref$color = _ref.color,
|
|
16813
|
-
color = _ref$color === void 0 ? "#15749D" : _ref$color,
|
|
16814
|
-
_ref$iconIndex = _ref.iconIndex,
|
|
16815
|
-
iconIndex = _ref$iconIndex === void 0 ? 0 : _ref$iconIndex;
|
|
16816
|
-
var id = "ArrowLeftCircleIconSmall-".concat(iconIndex);
|
|
16817
|
-
return /*#__PURE__*/React.createElement("svg", {
|
|
16818
|
-
width: "20",
|
|
16819
|
-
height: "20",
|
|
16820
|
-
viewBox: "0 0 20 20",
|
|
16821
|
-
fill: "none",
|
|
16822
|
-
xmlns: "http://www.w3.org/2000/svg"
|
|
16823
|
-
}, /*#__PURE__*/React.createElement("circle", {
|
|
16824
|
-
cx: "10",
|
|
16825
|
-
cy: "10",
|
|
16826
|
-
r: "10",
|
|
16827
|
-
fill: color
|
|
16828
|
-
}), /*#__PURE__*/React.createElement("path", {
|
|
16829
|
-
fillRule: "evenodd",
|
|
16830
|
-
clipRule: "evenodd",
|
|
16831
|
-
d: "M10.528 14.472C10.7232 14.2768 10.7233 13.9605 10.5283 13.7652L7.39375 10.625H14.5C14.7761 10.625 15 10.4011 15 10.125V9.875C15 9.59886 14.7761 9.375 14.5 9.375H7.39375L10.5283 6.2348C10.7233 6.03949 10.7232 5.72315 10.528 5.52801L10.3536 5.35355C10.1583 5.15829 9.84171 5.15829 9.64645 5.35355L5.35355 9.64645C5.15829 9.84171 5.15829 10.1583 5.35355 10.3536L9.64645 14.6464C9.84171 14.8417 10.1583 14.8417 10.3536 14.6464L10.528 14.472Z",
|
|
16832
|
-
fill: "white"
|
|
16833
|
-
}), /*#__PURE__*/React.createElement("mask", {
|
|
16834
|
-
id: id,
|
|
16835
|
-
style: {
|
|
16836
|
-
maskType: "luminance"
|
|
16837
|
-
},
|
|
16838
|
-
maskUnits: "userSpaceOnUse",
|
|
16839
|
-
x: "5",
|
|
16840
|
-
y: "5",
|
|
16841
|
-
width: "10",
|
|
16842
|
-
height: "10"
|
|
16843
|
-
}, /*#__PURE__*/React.createElement("path", {
|
|
16844
|
-
fillRule: "evenodd",
|
|
16845
|
-
clipRule: "evenodd",
|
|
16846
|
-
d: "M10.528 14.472C10.7232 14.2768 10.7233 13.9605 10.5283 13.7652L7.39375 10.625H14.5C14.7761 10.625 15 10.4011 15 10.125V9.875C15 9.59886 14.7761 9.375 14.5 9.375H7.39375L10.5283 6.2348C10.7233 6.03949 10.7232 5.72315 10.528 5.52801L10.3536 5.35355C10.1583 5.15829 9.84171 5.15829 9.64645 5.35355L5.35355 9.64645C5.15829 9.84171 5.15829 10.1583 5.35355 10.3536L9.64645 14.6464C9.84171 14.8417 10.1583 14.8417 10.3536 14.6464L10.528 14.472Z",
|
|
16847
|
-
fill: "white"
|
|
16848
|
-
})), /*#__PURE__*/React.createElement("g", {
|
|
16849
|
-
mask: "url(#".concat(id, ")")
|
|
16850
|
-
}, /*#__PURE__*/React.createElement("rect", {
|
|
16851
|
-
x: "17.5",
|
|
16852
|
-
y: "17.5",
|
|
16853
|
-
width: "15",
|
|
16854
|
-
height: "15",
|
|
16855
|
-
transform: "rotate(180 17.5 17.5)",
|
|
16856
|
-
fill: "white"
|
|
16857
|
-
})));
|
|
16858
|
-
};
|
|
16859
|
-
|
|
16860
|
-
var ArrowRightCircleIconSmall = function ArrowRightCircleIconSmall(_ref) {
|
|
16861
|
-
var _ref$color = _ref.color,
|
|
16862
|
-
color = _ref$color === void 0 ? "#15749D" : _ref$color,
|
|
16863
|
-
_ref$iconIndex = _ref.iconIndex,
|
|
16864
|
-
iconIndex = _ref$iconIndex === void 0 ? 0 : _ref$iconIndex;
|
|
16865
|
-
var id = "ArrowRightCircleIconSmall-".concat(iconIndex);
|
|
16866
|
-
return /*#__PURE__*/React.createElement("svg", {
|
|
16867
|
-
width: "20",
|
|
16868
|
-
height: "20",
|
|
16869
|
-
viewBox: "0 0 20 20",
|
|
16870
|
-
fill: "none",
|
|
16871
|
-
xmlns: "http://www.w3.org/2000/svg"
|
|
16872
|
-
}, /*#__PURE__*/React.createElement("circle", {
|
|
16873
|
-
cx: "10",
|
|
16874
|
-
cy: "10",
|
|
16875
|
-
r: "10",
|
|
16876
|
-
fill: color
|
|
16877
|
-
}), /*#__PURE__*/React.createElement("path", {
|
|
16878
|
-
fillRule: "evenodd",
|
|
16879
|
-
clipRule: "evenodd",
|
|
16880
|
-
d: "M9.47199 5.52801C9.27685 5.72315 9.27671 6.03949 9.47167 6.2348L12.6062 9.375H5.5C5.22386 9.375 5 9.59886 5 9.875V10.125C5 10.4011 5.22386 10.625 5.5 10.625H12.6062L9.47167 13.7652C9.27671 13.9605 9.27685 14.2768 9.47199 14.472L9.64645 14.6464C9.84171 14.8417 10.1583 14.8417 10.3536 14.6464L14.6464 10.3536C14.8417 10.1583 14.8417 9.84171 14.6464 9.64645L10.3536 5.35355C10.1583 5.15829 9.84171 5.15829 9.64645 5.35355L9.47199 5.52801Z",
|
|
16881
|
-
fill: "white"
|
|
16882
|
-
}), /*#__PURE__*/React.createElement("mask", {
|
|
16883
|
-
id: id,
|
|
16884
|
-
style: {
|
|
16885
|
-
maskType: "luminance"
|
|
16886
|
-
},
|
|
16887
|
-
maskUnits: "userSpaceOnUse",
|
|
16888
|
-
x: "5",
|
|
16889
|
-
y: "5",
|
|
16890
|
-
width: "10",
|
|
16891
|
-
height: "10"
|
|
16892
|
-
}, /*#__PURE__*/React.createElement("path", {
|
|
16893
|
-
fillRule: "evenodd",
|
|
16894
|
-
clipRule: "evenodd",
|
|
16895
|
-
d: "M9.47199 5.52801C9.27685 5.72315 9.27671 6.03949 9.47167 6.2348L12.6062 9.375H5.5C5.22386 9.375 5 9.59886 5 9.875V10.125C5 10.4011 5.22386 10.625 5.5 10.625H12.6062L9.47167 13.7652C9.27671 13.9605 9.27685 14.2768 9.47199 14.472L9.64645 14.6464C9.84171 14.8417 10.1583 14.8417 10.3536 14.6464L14.6464 10.3536C14.8417 10.1583 14.8417 9.84171 14.6464 9.64645L10.3536 5.35355C10.1583 5.15829 9.84171 5.15829 9.64645 5.35355L9.47199 5.52801Z",
|
|
16896
|
-
fill: "white"
|
|
16897
|
-
})), /*#__PURE__*/React.createElement("g", {
|
|
16898
|
-
mask: "url(#".concat(id, ")")
|
|
16899
|
-
}, /*#__PURE__*/React.createElement("rect", {
|
|
16900
|
-
x: "2.5",
|
|
16901
|
-
y: "2.5",
|
|
16902
|
-
width: "15",
|
|
16903
|
-
height: "15",
|
|
16904
|
-
fill: "white"
|
|
16905
|
-
})));
|
|
16906
|
-
};
|
|
16907
|
-
|
|
16908
|
-
var ArrowUpCircleIconSmall = function ArrowUpCircleIconSmall(_ref) {
|
|
16909
|
-
var _ref$color = _ref.color,
|
|
16910
|
-
color = _ref$color === void 0 ? "#15749D" : _ref$color,
|
|
16911
|
-
_ref$iconIndex = _ref.iconIndex,
|
|
16912
|
-
iconIndex = _ref$iconIndex === void 0 ? 0 : _ref$iconIndex;
|
|
16913
|
-
var id = "ArrowUpCircleIconSmall-".concat(iconIndex);
|
|
16914
|
-
return /*#__PURE__*/React.createElement("svg", {
|
|
16915
|
-
width: "20",
|
|
16916
|
-
height: "20",
|
|
16917
|
-
viewBox: "0 0 20 20",
|
|
16918
|
-
fill: "none",
|
|
16919
|
-
xmlns: "http://www.w3.org/2000/svg"
|
|
16920
|
-
}, /*#__PURE__*/React.createElement("circle", {
|
|
16921
|
-
cx: "10",
|
|
16922
|
-
cy: "10",
|
|
16923
|
-
r: "10",
|
|
16924
|
-
fill: color
|
|
16925
|
-
}), /*#__PURE__*/React.createElement("path", {
|
|
16926
|
-
fillRule: "evenodd",
|
|
16927
|
-
clipRule: "evenodd",
|
|
16928
|
-
d: "M5.52801 10.528C5.72315 10.7232 6.03949 10.7233 6.2348 10.5283L9.375 7.39375L9.375 14.5C9.375 14.7761 9.59886 15 9.875 15H10.125C10.4011 15 10.625 14.7761 10.625 14.5L10.625 7.39375L13.7652 10.5283C13.9605 10.7233 14.2768 10.7232 14.472 10.528L14.6464 10.3536C14.8417 10.1583 14.8417 9.84171 14.6464 9.64645L10.3536 5.35355C10.1583 5.15829 9.84171 5.15829 9.64645 5.35355L5.35355 9.64645C5.15829 9.84171 5.15829 10.1583 5.35355 10.3536L5.52801 10.528Z",
|
|
16929
|
-
fill: "white"
|
|
16930
|
-
}), /*#__PURE__*/React.createElement("mask", {
|
|
16931
|
-
id: id,
|
|
16932
|
-
style: {
|
|
16933
|
-
maskType: "luminance"
|
|
16934
|
-
},
|
|
16935
|
-
maskUnits: "userSpaceOnUse",
|
|
16936
|
-
x: "5",
|
|
16937
|
-
y: "5",
|
|
16938
|
-
width: "10",
|
|
16939
|
-
height: "10"
|
|
16940
|
-
}, /*#__PURE__*/React.createElement("path", {
|
|
16941
|
-
fillRule: "evenodd",
|
|
16942
|
-
clipRule: "evenodd",
|
|
16943
|
-
d: "M5.52801 10.528C5.72315 10.7232 6.03949 10.7233 6.2348 10.5283L9.375 7.39375L9.375 14.5C9.375 14.7761 9.59886 15 9.875 15H10.125C10.4011 15 10.625 14.7761 10.625 14.5L10.625 7.39375L13.7652 10.5283C13.9605 10.7233 14.2768 10.7232 14.472 10.528L14.6464 10.3536C14.8417 10.1583 14.8417 9.84171 14.6464 9.64645L10.3536 5.35355C10.1583 5.15829 9.84171 5.15829 9.64645 5.35355L5.35355 9.64645C5.15829 9.84171 5.15829 10.1583 5.35355 10.3536L5.52801 10.528Z",
|
|
16944
|
-
fill: "white"
|
|
16945
|
-
})), /*#__PURE__*/React.createElement("g", {
|
|
16946
|
-
mask: "url(#".concat(id, ")")
|
|
16947
|
-
}, /*#__PURE__*/React.createElement("rect", {
|
|
16948
|
-
x: "2.5",
|
|
16949
|
-
y: "17.5",
|
|
16950
|
-
width: "15",
|
|
16951
|
-
height: "15",
|
|
16952
|
-
transform: "rotate(-90 2.5 17.5)",
|
|
16953
|
-
fill: "white"
|
|
16954
|
-
})));
|
|
16955
|
-
};
|
|
16956
|
-
|
|
16957
|
-
var ArrowDownCircleIconSmall = function ArrowDownCircleIconSmall(_ref) {
|
|
16958
|
-
var _ref$color = _ref.color,
|
|
16959
|
-
color = _ref$color === void 0 ? "#15749D" : _ref$color,
|
|
16960
|
-
_ref$iconIndex = _ref.iconIndex,
|
|
16961
|
-
iconIndex = _ref$iconIndex === void 0 ? 0 : _ref$iconIndex;
|
|
16962
|
-
var id = "ArrowDownCircleIconSmall-".concat(iconIndex);
|
|
16963
|
-
return /*#__PURE__*/React.createElement("svg", {
|
|
16964
|
-
width: "20",
|
|
16965
|
-
height: "20",
|
|
16966
|
-
viewBox: "0 0 20 20",
|
|
16967
|
-
fill: "none",
|
|
16968
|
-
xmlns: "http://www.w3.org/2000/svg"
|
|
16969
|
-
}, /*#__PURE__*/React.createElement("circle", {
|
|
16970
|
-
cx: "10",
|
|
16971
|
-
cy: "10",
|
|
16972
|
-
r: "10",
|
|
16973
|
-
fill: color
|
|
16974
|
-
}), /*#__PURE__*/React.createElement("path", {
|
|
16975
|
-
fillRule: "evenodd",
|
|
16976
|
-
clipRule: "evenodd",
|
|
16977
|
-
d: "M14.6696 9.47199C14.4745 9.27685 14.1581 9.27671 13.9628 9.47167L10.8226 12.6062V5.5C10.8226 5.22386 10.5988 5 10.3226 5H10.0726C9.79649 5 9.57263 5.22386 9.57263 5.5V12.6062L6.43244 9.47167C6.23712 9.27671 5.92078 9.27685 5.72564 9.47199L5.55119 9.64645C5.35592 9.84171 5.35592 10.1583 5.55119 10.3536L9.84408 14.6464C10.0393 14.8417 10.3559 14.8417 10.5512 14.6464L14.8441 10.3536C15.0393 10.1583 15.0393 9.84171 14.8441 9.64645L14.6696 9.47199Z",
|
|
16978
|
-
fill: "white"
|
|
16979
|
-
}), /*#__PURE__*/React.createElement("mask", {
|
|
16980
|
-
id: id,
|
|
16981
|
-
style: {
|
|
16982
|
-
maskType: "luminance"
|
|
16983
|
-
},
|
|
16984
|
-
maskUnits: "userSpaceOnUse",
|
|
16985
|
-
x: "5",
|
|
16986
|
-
y: "5",
|
|
16987
|
-
width: "10",
|
|
16988
|
-
height: "10"
|
|
16989
|
-
}, /*#__PURE__*/React.createElement("path", {
|
|
16990
|
-
fillRule: "evenodd",
|
|
16991
|
-
clipRule: "evenodd",
|
|
16992
|
-
d: "M14.6696 9.47199C14.4745 9.27685 14.1581 9.27671 13.9628 9.47167L10.8226 12.6062V5.5C10.8226 5.22386 10.5988 5 10.3226 5H10.0726C9.79649 5 9.57263 5.22386 9.57263 5.5V12.6062L6.43244 9.47167C6.23712 9.27671 5.92078 9.27685 5.72564 9.47199L5.55119 9.64645C5.35592 9.84171 5.35592 10.1583 5.55119 10.3536L9.84408 14.6464C10.0393 14.8417 10.3559 14.8417 10.5512 14.6464L14.8441 10.3536C15.0393 10.1583 15.0393 9.84171 14.8441 9.64645L14.6696 9.47199Z",
|
|
16993
|
-
fill: "white"
|
|
16994
|
-
})), /*#__PURE__*/React.createElement("g", {
|
|
16995
|
-
mask: "url(#".concat(id, ")")
|
|
16996
|
-
}, /*#__PURE__*/React.createElement("rect", {
|
|
16997
|
-
x: "17.6976",
|
|
16998
|
-
y: "2.5",
|
|
16999
|
-
width: "15",
|
|
17000
|
-
height: "15",
|
|
17001
|
-
transform: "rotate(90 17.6976 2.5)",
|
|
17002
|
-
fill: "white"
|
|
17003
|
-
})));
|
|
17004
|
-
};
|
|
17005
|
-
|
|
17006
|
-
var SuccessfulIconMedium = function SuccessfulIconMedium(_ref) {
|
|
17007
|
-
var _ref$iconIndex = _ref.iconIndex,
|
|
17008
|
-
iconIndex = _ref$iconIndex === void 0 ? 0 : _ref$iconIndex;
|
|
17009
|
-
var mask0ID = "SuccessfulIconMedium-mask0-".concat(iconIndex);
|
|
17010
|
-
var mask1ID = "SuccessfulIconMedium-mask1-".concat(iconIndex);
|
|
17011
|
-
return /*#__PURE__*/React.createElement("svg", {
|
|
17012
|
-
width: "24",
|
|
17013
|
-
height: "24",
|
|
17014
|
-
viewBox: "0 0 24 24",
|
|
17015
|
-
fill: "none",
|
|
17016
|
-
xmlns: "http://www.w3.org/2000/svg"
|
|
17017
|
-
}, /*#__PURE__*/React.createElement("circle", {
|
|
17018
|
-
cx: "12",
|
|
17019
|
-
cy: "12",
|
|
17020
|
-
r: "12",
|
|
17021
|
-
fill: "#317D4F"
|
|
17022
|
-
}), /*#__PURE__*/React.createElement("mask", {
|
|
17023
|
-
id: mask0ID,
|
|
17024
|
-
style: {
|
|
17025
|
-
maskType: "luminance"
|
|
17026
|
-
},
|
|
17027
|
-
maskUnits: "userSpaceOnUse",
|
|
17028
|
-
x: "0",
|
|
17029
|
-
y: "0",
|
|
17030
|
-
width: "24",
|
|
17031
|
-
height: "24"
|
|
17032
|
-
}, /*#__PURE__*/React.createElement("circle", {
|
|
17033
|
-
cx: "12",
|
|
17034
|
-
cy: "12",
|
|
17035
|
-
r: "12",
|
|
17036
|
-
fill: "white"
|
|
17037
|
-
})), /*#__PURE__*/React.createElement("g", {
|
|
17038
|
-
mask: "url(#".concat(mask0ID, ")")
|
|
17039
|
-
}, /*#__PURE__*/React.createElement("path", {
|
|
17040
|
-
fillRule: "evenodd",
|
|
17041
|
-
clipRule: "evenodd",
|
|
17042
|
-
d: "M17.6672 7.35354C17.472 7.15828 17.1554 7.15828 16.9601 7.35354L10.2426 14.0711L7.76775 11.5962C7.57249 11.4009 7.25591 11.4009 7.06065 11.5962L6.35354 12.3033C6.15828 12.4985 6.15828 12.8151 6.35354 13.0104L9.18167 15.8385C9.18177 15.8386 9.18187 15.8387 9.18197 15.8388L9.88907 16.5459C10.0843 16.7412 10.4009 16.7412 10.5962 16.5459L11.3033 15.8388C11.3034 15.8387 11.3036 15.8386 11.3037 15.8384L18.3744 8.76775C18.5696 8.57249 18.5696 8.25591 18.3744 8.06065L17.6672 7.35354Z",
|
|
17043
|
-
fill: "white"
|
|
17044
|
-
}), /*#__PURE__*/React.createElement("mask", {
|
|
17045
|
-
id: mask1ID,
|
|
17046
|
-
style: {
|
|
17047
|
-
maskType: "luminance"
|
|
17048
|
-
},
|
|
17049
|
-
maskUnits: "userSpaceOnUse",
|
|
17050
|
-
x: "6",
|
|
17051
|
-
y: "7",
|
|
17052
|
-
width: "13",
|
|
17053
|
-
height: "10"
|
|
17054
|
-
}, /*#__PURE__*/React.createElement("path", {
|
|
17055
|
-
fillRule: "evenodd",
|
|
17056
|
-
clipRule: "evenodd",
|
|
17057
|
-
d: "M17.6672 7.35354C17.472 7.15828 17.1554 7.15828 16.9601 7.35354L10.2426 14.0711L7.76775 11.5962C7.57249 11.4009 7.25591 11.4009 7.06065 11.5962L6.35354 12.3033C6.15828 12.4985 6.15828 12.8151 6.35354 13.0104L9.18167 15.8385C9.18177 15.8386 9.18187 15.8387 9.18197 15.8388L9.88907 16.5459C10.0843 16.7412 10.4009 16.7412 10.5962 16.5459L11.3033 15.8388C11.3034 15.8387 11.3036 15.8386 11.3037 15.8384L18.3744 8.76775C18.5696 8.57249 18.5696 8.25591 18.3744 8.06065L17.6672 7.35354Z",
|
|
17058
|
-
fill: "white"
|
|
17059
|
-
})), /*#__PURE__*/React.createElement("g", {
|
|
17060
|
-
mask: "url(#".concat(mask1ID, ")")
|
|
17061
|
-
}, /*#__PURE__*/React.createElement("rect", {
|
|
17062
|
-
x: "2",
|
|
17063
|
-
y: "2",
|
|
17064
|
-
width: "20",
|
|
17065
|
-
height: "20",
|
|
17066
|
-
fill: "white"
|
|
17067
|
-
}))));
|
|
17068
|
-
};
|
|
17069
|
-
|
|
17070
|
-
var XCircleIconMedium = function XCircleIconMedium(_ref) {
|
|
17071
|
-
var _ref$color = _ref.color,
|
|
17072
|
-
color = _ref$color === void 0 ? "#D11053" : _ref$color,
|
|
17073
|
-
_ref$iconIndex = _ref.iconIndex,
|
|
17074
|
-
iconIndex = _ref$iconIndex === void 0 ? 0 : _ref$iconIndex;
|
|
17075
|
-
var id = "XCircleIconMedium-".concat(iconIndex);
|
|
17076
|
-
return /*#__PURE__*/React.createElement("svg", {
|
|
17077
|
-
width: "24",
|
|
17078
|
-
height: "24",
|
|
17079
|
-
viewBox: "0 0 24 24",
|
|
17080
|
-
fill: "none",
|
|
17081
|
-
xmlns: "http://www.w3.org/2000/svg"
|
|
17082
|
-
}, /*#__PURE__*/React.createElement("circle", {
|
|
17083
|
-
cx: "12",
|
|
17084
|
-
cy: "12",
|
|
17085
|
-
r: "12",
|
|
17086
|
-
fill: color
|
|
17087
|
-
}), /*#__PURE__*/React.createElement("path", {
|
|
17088
|
-
fillRule: "evenodd",
|
|
17089
|
-
clipRule: "evenodd",
|
|
17090
|
-
d: "M7.35355 8.07502C7.15829 8.27028 7.15829 8.58686 7.35355 8.78212L10.5714 12L7.35355 15.2179C7.15829 15.4131 7.15829 15.7297 7.35355 15.925L8.07502 16.6464C8.27028 16.8417 8.58686 16.8417 8.78212 16.6464L12 13.4286L15.2179 16.6464C15.4131 16.8417 15.7297 16.8417 15.925 16.6464L16.6464 15.925C16.8417 15.7297 16.8417 15.4131 16.6464 15.2179L13.4286 12L16.6464 8.78212C16.8417 8.58686 16.8417 8.27028 16.6464 8.07502L15.925 7.35355C15.7297 7.15829 15.4131 7.15829 15.2179 7.35355L12 10.5714L8.78212 7.35355C8.58686 7.15829 8.27028 7.15829 8.07502 7.35355L7.35355 8.07502Z",
|
|
17091
|
-
fill: "white"
|
|
17092
|
-
}), /*#__PURE__*/React.createElement("mask", {
|
|
17093
|
-
id: id,
|
|
17094
|
-
style: {
|
|
17095
|
-
maskType: "luminance"
|
|
17096
|
-
},
|
|
17097
|
-
maskUnits: "userSpaceOnUse",
|
|
17098
|
-
x: "7",
|
|
17099
|
-
y: "7",
|
|
17100
|
-
width: "10",
|
|
17101
|
-
height: "10"
|
|
17102
|
-
}, /*#__PURE__*/React.createElement("path", {
|
|
17103
|
-
fillRule: "evenodd",
|
|
17104
|
-
clipRule: "evenodd",
|
|
17105
|
-
d: "M7.35355 8.07502C7.15829 8.27028 7.15829 8.58686 7.35355 8.78212L10.5714 12L7.35355 15.2179C7.15829 15.4131 7.15829 15.7297 7.35355 15.925L8.07502 16.6464C8.27028 16.8417 8.58686 16.8417 8.78212 16.6464L12 13.4286L15.2179 16.6464C15.4131 16.8417 15.7297 16.8417 15.925 16.6464L16.6464 15.925C16.8417 15.7297 16.8417 15.4131 16.6464 15.2179L13.4286 12L16.6464 8.78212C16.8417 8.58686 16.8417 8.27028 16.6464 8.07502L15.925 7.35355C15.7297 7.15829 15.4131 7.15829 15.2179 7.35355L12 10.5714L8.78212 7.35355C8.58686 7.15829 8.27028 7.15829 8.07502 7.35355L7.35355 8.07502Z",
|
|
17106
|
-
fill: "white"
|
|
17107
|
-
})), /*#__PURE__*/React.createElement("g", {
|
|
17108
|
-
mask: "url(#".concat(id, ")")
|
|
17109
|
-
}, /*#__PURE__*/React.createElement("path", {
|
|
17110
|
-
d: "M0 0H24V24H0V0Z",
|
|
17111
|
-
fill: "white"
|
|
17112
|
-
})));
|
|
17113
|
-
};
|
|
17114
|
-
|
|
17115
|
-
var RefundIconMedium = function RefundIconMedium(_ref) {
|
|
17116
|
-
var _ref$color = _ref.color,
|
|
17117
|
-
color = _ref$color === void 0 ? "#15749D" : _ref$color,
|
|
17118
|
-
_ref$iconIndex = _ref.iconIndex,
|
|
17119
|
-
iconIndex = _ref$iconIndex === void 0 ? 0 : _ref$iconIndex;
|
|
17120
|
-
var id = "RefundIconMedium-".concat(iconIndex);
|
|
17121
|
-
return /*#__PURE__*/React.createElement("svg", {
|
|
17122
|
-
width: "24",
|
|
17123
|
-
height: "24",
|
|
17124
|
-
viewBox: "0 0 24 24",
|
|
17125
|
-
fill: "none",
|
|
17126
|
-
xmlns: "http://www.w3.org/2000/svg"
|
|
17127
|
-
}, /*#__PURE__*/React.createElement("circle", {
|
|
17128
|
-
cx: "12",
|
|
17129
|
-
cy: "12",
|
|
17130
|
-
r: "12",
|
|
17131
|
-
fill: color
|
|
17132
|
-
}), /*#__PURE__*/React.createElement("path", {
|
|
17133
|
-
fillRule: "evenodd",
|
|
17134
|
-
clipRule: "evenodd",
|
|
17135
|
-
d: "M15.0975 16.8351V18H13.4122V16.8416C11.5797 16.6399 10.396 15.7549 10.2154 14.1085L12.2485 14.0694C12.4558 14.9284 13.2049 15.3839 14.2749 15.3839C15.2379 15.3839 15.9268 14.8829 15.9268 14.2126C15.9268 13.5163 15.4787 13.2299 14.5357 13.0217L12.9507 12.6898C11.4727 12.397 10.523 11.5575 10.503 10.1128C10.4896 8.57701 11.7202 7.5423 13.4456 7.2885V6H15.1376V7.29501C16.823 7.58134 17.8462 8.70065 17.8261 10.0477L15.8532 10.0803C15.7328 9.24729 15.345 8.7397 14.315 8.7397C13.2517 8.7397 12.5963 9.20824 12.5963 9.89154C12.5963 10.4382 12.9039 10.7115 13.9539 10.9783L15.5121 11.3492C17.271 11.7592 18 12.7874 18 14.1996C18 15.6182 16.8831 16.6074 15.0975 16.8351ZM9.00001 13.8125C9.00001 14.2245 8.52963 14.4597 8.20001 14.2125L5.53334 12.2125C5.26668 12.0125 5.26668 11.6125 5.53334 11.4125L8.20001 9.4125C8.52963 9.16529 9.00001 9.40048 9.00001 9.8125V13.8125Z",
|
|
17136
|
-
fill: "white"
|
|
17137
|
-
}), /*#__PURE__*/React.createElement("mask", {
|
|
17138
|
-
id: id,
|
|
17139
|
-
style: {
|
|
17140
|
-
maskType: "luminance"
|
|
17141
|
-
},
|
|
17142
|
-
maskUnits: "userSpaceOnUse",
|
|
17143
|
-
x: "5",
|
|
17144
|
-
y: "6",
|
|
17145
|
-
width: "13",
|
|
17146
|
-
height: "12"
|
|
17147
|
-
}, /*#__PURE__*/React.createElement("path", {
|
|
17148
|
-
fillRule: "evenodd",
|
|
17149
|
-
clipRule: "evenodd",
|
|
17150
|
-
d: "M15.0975 16.8351V18H13.4122V16.8416C11.5797 16.6399 10.396 15.7549 10.2154 14.1085L12.2485 14.0694C12.4558 14.9284 13.2049 15.3839 14.2749 15.3839C15.2379 15.3839 15.9268 14.8829 15.9268 14.2126C15.9268 13.5163 15.4787 13.2299 14.5357 13.0217L12.9507 12.6898C11.4727 12.397 10.523 11.5575 10.503 10.1128C10.4896 8.57701 11.7202 7.5423 13.4456 7.2885V6H15.1376V7.29501C16.823 7.58134 17.8462 8.70065 17.8261 10.0477L15.8532 10.0803C15.7328 9.24729 15.345 8.7397 14.315 8.7397C13.2517 8.7397 12.5963 9.20824 12.5963 9.89154C12.5963 10.4382 12.9039 10.7115 13.9539 10.9783L15.5121 11.3492C17.271 11.7592 18 12.7874 18 14.1996C18 15.6182 16.8831 16.6074 15.0975 16.8351ZM9.00001 13.8125C9.00001 14.2245 8.52963 14.4597 8.20001 14.2125L5.53334 12.2125C5.26668 12.0125 5.26668 11.6125 5.53334 11.4125L8.20001 9.4125C8.52963 9.16529 9.00001 9.40048 9.00001 9.8125V13.8125Z",
|
|
17151
|
-
fill: "white"
|
|
17152
|
-
})), /*#__PURE__*/React.createElement("g", {
|
|
17153
|
-
mask: "url(#".concat(id, ")")
|
|
17154
|
-
}, /*#__PURE__*/React.createElement("rect", {
|
|
17155
|
-
x: "3",
|
|
17156
|
-
y: "3",
|
|
17157
|
-
width: "18",
|
|
17158
|
-
height: "18",
|
|
17159
|
-
fill: "white"
|
|
17160
|
-
})));
|
|
17161
|
-
};
|
|
17162
|
-
|
|
17163
|
-
var ArrowLeftCircleIconMedium = function ArrowLeftCircleIconMedium(_ref) {
|
|
17164
|
-
var _ref$color = _ref.color,
|
|
17165
|
-
color = _ref$color === void 0 ? "#15749D" : _ref$color,
|
|
17166
|
-
_ref$iconIndex = _ref.iconIndex,
|
|
17167
|
-
iconIndex = _ref$iconIndex === void 0 ? 0 : _ref$iconIndex;
|
|
17168
|
-
var id = "ArrowLeftCircleIconMedium-".concat(iconIndex);
|
|
17169
|
-
return /*#__PURE__*/React.createElement("svg", {
|
|
17170
|
-
width: "24",
|
|
17171
|
-
height: "24",
|
|
17172
|
-
viewBox: "0 0 24 24",
|
|
17173
|
-
fill: "none",
|
|
17174
|
-
xmlns: "http://www.w3.org/2000/svg"
|
|
17175
|
-
}, /*#__PURE__*/React.createElement("circle", {
|
|
17176
|
-
cx: "12",
|
|
17177
|
-
cy: "12",
|
|
17178
|
-
r: "12",
|
|
17179
|
-
fill: color
|
|
17180
|
-
}), /*#__PURE__*/React.createElement("path", {
|
|
17181
|
-
fillRule: "evenodd",
|
|
17182
|
-
clipRule: "evenodd",
|
|
17183
|
-
d: "M12.7043 17.2957C12.8994 17.1006 12.8995 16.7843 12.7046 16.5889L8.8725 12.75H17.5C17.7761 12.75 18 12.5261 18 12.25V11.75C18 11.4739 17.7761 11.25 17.5 11.25H8.8725L12.7046 7.41105C12.8995 7.21574 12.8994 6.8994 12.7043 6.70426L12.3536 6.35355C12.1583 6.15829 11.8417 6.15829 11.6464 6.35355L6.35355 11.6464C6.15829 11.8417 6.15829 12.1583 6.35355 12.3536L11.6464 17.6464C11.8417 17.8417 12.1583 17.8417 12.3536 17.6464L12.7043 17.2957Z",
|
|
17184
|
-
fill: "white"
|
|
17185
|
-
}), /*#__PURE__*/React.createElement("mask", {
|
|
17186
|
-
id: id,
|
|
17187
|
-
style: {
|
|
17188
|
-
maskType: "luminance"
|
|
17189
|
-
},
|
|
17190
|
-
maskUnits: "userSpaceOnUse",
|
|
17191
|
-
x: "6",
|
|
17192
|
-
y: "6",
|
|
17193
|
-
width: "12",
|
|
17194
|
-
height: "12"
|
|
17195
|
-
}, /*#__PURE__*/React.createElement("path", {
|
|
17196
|
-
fillRule: "evenodd",
|
|
17197
|
-
clipRule: "evenodd",
|
|
17198
|
-
d: "M12.7043 17.2957C12.8994 17.1006 12.8995 16.7843 12.7046 16.5889L8.8725 12.75H17.5C17.7761 12.75 18 12.5261 18 12.25V11.75C18 11.4739 17.7761 11.25 17.5 11.25H8.8725L12.7046 7.41105C12.8995 7.21574 12.8994 6.8994 12.7043 6.70426L12.3536 6.35355C12.1583 6.15829 11.8417 6.15829 11.6464 6.35355L6.35355 11.6464C6.15829 11.8417 6.15829 12.1583 6.35355 12.3536L11.6464 17.6464C11.8417 17.8417 12.1583 17.8417 12.3536 17.6464L12.7043 17.2957Z",
|
|
17199
|
-
fill: "white"
|
|
17200
|
-
})), /*#__PURE__*/React.createElement("g", {
|
|
17201
|
-
mask: "url(#".concat(id, ")")
|
|
17202
|
-
}, /*#__PURE__*/React.createElement("rect", {
|
|
17203
|
-
x: "21",
|
|
17204
|
-
y: "21",
|
|
17205
|
-
width: "18",
|
|
17206
|
-
height: "18",
|
|
17207
|
-
transform: "rotate(180 21 21)",
|
|
17208
|
-
fill: "white"
|
|
17209
|
-
})));
|
|
17210
|
-
};
|
|
17211
|
-
|
|
17212
|
-
var ChargebackIconMedium = function ChargebackIconMedium(_ref) {
|
|
17213
|
-
var _ref$color = _ref.color,
|
|
17214
|
-
color = _ref$color === void 0 ? "#15749D" : _ref$color,
|
|
17215
|
-
_ref$iconIndex = _ref.iconIndex,
|
|
17216
|
-
iconIndex = _ref$iconIndex === void 0 ? 0 : _ref$iconIndex;
|
|
17217
|
-
var id = "ChargebackIconMedium-".concat(iconIndex);
|
|
17218
|
-
return /*#__PURE__*/React.createElement("svg", {
|
|
17219
|
-
width: "24",
|
|
17220
|
-
height: "24",
|
|
17221
|
-
viewBox: "0 0 24 24",
|
|
17222
|
-
fill: "none",
|
|
17223
|
-
xmlns: "http://www.w3.org/2000/svg"
|
|
17224
|
-
}, /*#__PURE__*/React.createElement("circle", {
|
|
17225
|
-
cx: "12",
|
|
17226
|
-
cy: "12",
|
|
17227
|
-
r: "12",
|
|
17228
|
-
fill: color
|
|
17229
|
-
}), /*#__PURE__*/React.createElement("mask", {
|
|
17230
|
-
id: id,
|
|
17231
|
-
style: {
|
|
17232
|
-
maskType: "luminance"
|
|
17233
|
-
},
|
|
17234
|
-
maskUnits: "userSpaceOnUse",
|
|
17235
|
-
x: "3",
|
|
17236
|
-
y: "7",
|
|
17237
|
-
width: "17",
|
|
17238
|
-
height: "10"
|
|
17239
|
-
}, /*#__PURE__*/React.createElement("path", {
|
|
17240
|
-
fillRule: "evenodd",
|
|
17241
|
-
clipRule: "evenodd",
|
|
17242
|
-
d: "M7.99999 8C7.99999 7.44772 8.4477 7 8.99999 7H19C19.5523 7 20 7.44772 20 8V10V12V16C20 16.5523 19.5523 17 19 17H8.99999C8.4477 17 7.99999 16.5523 7.99999 16V12V10V8ZM19.25 7.83333V10H8.74999V9.91667V7.83333H19.25ZM8.74999 16.1667V12H19.25V16.1667H8.74999ZM5.79295 10.2071C5.79295 9.76165 5.25438 9.53857 4.9394 9.85355L3.14651 11.6464C2.95125 11.8417 2.95125 12.1583 3.14651 12.3536L4.9394 14.1464C5.25438 14.4614 5.79295 14.2383 5.79295 13.7929V10.2071ZM16.1875 14C15.9113 14 15.6875 14.2239 15.6875 14.5C15.6875 14.7761 15.9113 15 16.1875 15H17.4375C17.7136 15 17.9375 14.7761 17.9375 14.5C17.9375 14.2239 17.7136 14 17.4375 14H16.1875Z",
|
|
17243
|
-
fill: "white"
|
|
17244
|
-
})), /*#__PURE__*/React.createElement("g", {
|
|
17245
|
-
mask: "url(#".concat(id, ")")
|
|
17246
|
-
}, /*#__PURE__*/React.createElement("rect", {
|
|
17247
|
-
x: "3",
|
|
17248
|
-
y: "3",
|
|
17249
|
-
width: "18",
|
|
17250
|
-
height: "18",
|
|
17251
|
-
fill: "white"
|
|
17252
|
-
})));
|
|
17253
|
-
};
|
|
17254
|
-
|
|
17255
|
-
var ChargebackReversalIconMedium = function ChargebackReversalIconMedium(_ref) {
|
|
17256
|
-
var _ref$color = _ref.color,
|
|
17257
|
-
color = _ref$color === void 0 ? "#15749D" : _ref$color,
|
|
17258
|
-
_ref$iconIndex = _ref.iconIndex,
|
|
17259
|
-
iconIndex = _ref$iconIndex === void 0 ? 0 : _ref$iconIndex;
|
|
17260
|
-
var id = "ChargebackReversalIconMedium-".concat(iconIndex);
|
|
17261
|
-
return /*#__PURE__*/React.createElement("svg", {
|
|
17262
|
-
width: "24",
|
|
17263
|
-
height: "24",
|
|
17264
|
-
viewBox: "0 0 24 24",
|
|
17265
|
-
fill: "none",
|
|
17266
|
-
xmlns: "http://www.w3.org/2000/svg"
|
|
17267
|
-
}, /*#__PURE__*/React.createElement("circle", {
|
|
17268
|
-
cx: "12",
|
|
17269
|
-
cy: "12",
|
|
17270
|
-
r: "12",
|
|
17271
|
-
fill: color
|
|
17272
|
-
}), /*#__PURE__*/React.createElement("mask", {
|
|
17273
|
-
id: id,
|
|
17274
|
-
style: {
|
|
17275
|
-
maskType: "luminance"
|
|
17276
|
-
},
|
|
17277
|
-
maskUnits: "userSpaceOnUse",
|
|
17278
|
-
x: "5",
|
|
17279
|
-
y: "7",
|
|
17280
|
-
width: "16",
|
|
17281
|
-
height: "10"
|
|
17282
|
-
}, /*#__PURE__*/React.createElement("path", {
|
|
17283
|
-
fillRule: "evenodd",
|
|
17284
|
-
clipRule: "evenodd",
|
|
17285
|
-
d: "M5 8C5 7.44772 5.44772 7 6 7H16C16.5523 7 17 7.44772 17 8V10V12V16C17 16.5523 16.5523 17 16 17H6C5.44772 17 5 16.5523 5 16V12V10V8ZM16.25 7.83333V10H5.75V9.91667V7.83333H16.25ZM5.75 16.1667V12H16.25V16.1667H5.75ZM18 13.7929C18 14.2383 18.5386 14.4614 18.8536 14.1464L20.6464 12.3536C20.8417 12.1583 20.8417 11.8417 20.6464 11.6464L18.8536 9.85355C18.5386 9.53857 18 9.76165 18 10.2071V13.7929ZM13.1875 14C12.9114 14 12.6875 14.2239 12.6875 14.5C12.6875 14.7761 12.9114 15 13.1875 15H14.4375C14.7136 15 14.9375 14.7761 14.9375 14.5C14.9375 14.2239 14.7136 14 14.4375 14H13.1875Z",
|
|
17286
|
-
fill: "white"
|
|
17287
|
-
})), /*#__PURE__*/React.createElement("g", {
|
|
17288
|
-
mask: "url(#".concat(id, ")")
|
|
17289
|
-
}, /*#__PURE__*/React.createElement("rect", {
|
|
17290
|
-
x: "3",
|
|
17291
|
-
y: "3",
|
|
17292
|
-
width: "18",
|
|
17293
|
-
height: "18",
|
|
17294
|
-
fill: "white"
|
|
17295
|
-
})));
|
|
17296
|
-
};
|
|
17297
|
-
|
|
17298
16477
|
var color$2 = "#15749D";
|
|
17299
16478
|
var hoverColor$1 = "#116285";
|
|
17300
16479
|
var activeColor$1 = "#0E506D";
|
|
@@ -17958,14 +17137,12 @@ function _extends$1() {
|
|
|
17958
17137
|
_extends$1 = Object.assign ? Object.assign.bind() : function (target) {
|
|
17959
17138
|
for (var i = 1; i < arguments.length; i++) {
|
|
17960
17139
|
var source = arguments[i];
|
|
17961
|
-
|
|
17962
17140
|
for (var key in source) {
|
|
17963
17141
|
if (Object.prototype.hasOwnProperty.call(source, key)) {
|
|
17964
17142
|
target[key] = source[key];
|
|
17965
17143
|
}
|
|
17966
17144
|
}
|
|
17967
17145
|
}
|
|
17968
|
-
|
|
17969
17146
|
return target;
|
|
17970
17147
|
};
|
|
17971
17148
|
return _extends$1.apply(this, arguments);
|
|
@@ -17975,7 +17152,6 @@ function _assertThisInitialized(self) {
|
|
|
17975
17152
|
if (self === void 0) {
|
|
17976
17153
|
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
17977
17154
|
}
|
|
17978
|
-
|
|
17979
17155
|
return self;
|
|
17980
17156
|
}
|
|
17981
17157
|
|
|
@@ -18008,7 +17184,6 @@ function _isNativeReflectConstruct() {
|
|
|
18008
17184
|
if (typeof Reflect === "undefined" || !Reflect.construct) return false;
|
|
18009
17185
|
if (Reflect.construct.sham) return false;
|
|
18010
17186
|
if (typeof Proxy === "function") return true;
|
|
18011
|
-
|
|
18012
17187
|
try {
|
|
18013
17188
|
Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {}));
|
|
18014
17189
|
return true;
|
|
@@ -18030,30 +17205,23 @@ function _construct(Parent, args, Class) {
|
|
|
18030
17205
|
return instance;
|
|
18031
17206
|
};
|
|
18032
17207
|
}
|
|
18033
|
-
|
|
18034
17208
|
return _construct.apply(null, arguments);
|
|
18035
17209
|
}
|
|
18036
17210
|
|
|
18037
17211
|
function _wrapNativeSuper(Class) {
|
|
18038
17212
|
var _cache = typeof Map === "function" ? new Map() : undefined;
|
|
18039
|
-
|
|
18040
17213
|
_wrapNativeSuper = function _wrapNativeSuper(Class) {
|
|
18041
17214
|
if (Class === null || !_isNativeFunction(Class)) return Class;
|
|
18042
|
-
|
|
18043
17215
|
if (typeof Class !== "function") {
|
|
18044
17216
|
throw new TypeError("Super expression must either be null or a function");
|
|
18045
17217
|
}
|
|
18046
|
-
|
|
18047
17218
|
if (typeof _cache !== "undefined") {
|
|
18048
17219
|
if (_cache.has(Class)) return _cache.get(Class);
|
|
18049
|
-
|
|
18050
17220
|
_cache.set(Class, Wrapper);
|
|
18051
17221
|
}
|
|
18052
|
-
|
|
18053
17222
|
function Wrapper() {
|
|
18054
17223
|
return _construct(Class, arguments, _getPrototypeOf(this).constructor);
|
|
18055
17224
|
}
|
|
18056
|
-
|
|
18057
17225
|
Wrapper.prototype = Object.create(Class.prototype, {
|
|
18058
17226
|
constructor: {
|
|
18059
17227
|
value: Wrapper,
|
|
@@ -18064,7 +17232,6 @@ function _wrapNativeSuper(Class) {
|
|
|
18064
17232
|
});
|
|
18065
17233
|
return _setPrototypeOf(Wrapper, Class);
|
|
18066
17234
|
};
|
|
18067
|
-
|
|
18068
17235
|
return _wrapNativeSuper(Class);
|
|
18069
17236
|
}
|
|
18070
17237
|
|
|
@@ -21001,7 +20168,7 @@ var CheckboxContainer = styled.div.withConfig({
|
|
|
21001
20168
|
var CheckboxLabelContainer = styled.label.withConfig({
|
|
21002
20169
|
displayName: "Checkbox__CheckboxLabelContainer",
|
|
21003
20170
|
componentId: "sc-36kqbv-1"
|
|
21004
|
-
})(["display:flex;align-items:center;
|
|
20171
|
+
})(["display:flex;align-items:center;"]);
|
|
21005
20172
|
var CheckboxIcon = styled.svg.withConfig({
|
|
21006
20173
|
displayName: "Checkbox__CheckboxIcon",
|
|
21007
20174
|
componentId: "sc-36kqbv-2"
|
|
@@ -21020,7 +20187,7 @@ var HiddenCheckbox = styled.input.attrs({
|
|
|
21020
20187
|
var StyledCheckbox = styled.div.withConfig({
|
|
21021
20188
|
displayName: "Checkbox__StyledCheckbox",
|
|
21022
20189
|
componentId: "sc-36kqbv-4"
|
|
21023
|
-
})(["display:inline-block;width:24px;height:24px;border-radius:2px;transition:all 150ms;", "{visibility:", ";}", ";"], CheckboxIcon, function (_ref2) {
|
|
20190
|
+
})(["display:inline-block;margin-right:16px;width:24px;height:24px;border-radius:2px;transition:all 150ms;", "{visibility:", ";}", ";"], CheckboxIcon, function (_ref2) {
|
|
21024
20191
|
var checked = _ref2.checked;
|
|
21025
20192
|
return checked ? "visible" : "hidden";
|
|
21026
20193
|
}, function (_ref3) {
|
|
@@ -21050,8 +20217,6 @@ var Checkbox = function Checkbox(_ref4) {
|
|
|
21050
20217
|
hidden = _ref4$hidden === void 0 ? false : _ref4$hidden,
|
|
21051
20218
|
_ref4$error = _ref4.error,
|
|
21052
20219
|
error = _ref4$error === void 0 ? false : _ref4$error,
|
|
21053
|
-
_ref4$checkboxMargin = _ref4.checkboxMargin,
|
|
21054
|
-
checkboxMargin = _ref4$checkboxMargin === void 0 ? "0 16px 0 0" : _ref4$checkboxMargin,
|
|
21055
20220
|
extraStyles = _ref4.extraStyles,
|
|
21056
20221
|
textExtraStyles = _ref4.textExtraStyles;
|
|
21057
20222
|
|
|
@@ -21080,7 +20245,7 @@ var Checkbox = function Checkbox(_ref4) {
|
|
|
21080
20245
|
},
|
|
21081
20246
|
hiddenStyles: hidden,
|
|
21082
20247
|
background: themeValues.backgroundColor,
|
|
21083
|
-
extraStyles: "outline: none; ".concat(extraStyles
|
|
20248
|
+
extraStyles: "outline: none; ".concat(extraStyles)
|
|
21084
20249
|
}, /*#__PURE__*/React.createElement(CheckboxLabelContainer, null, /*#__PURE__*/React.createElement(CheckboxContainer, {
|
|
21085
20250
|
"data-qa": "Checkbox"
|
|
21086
20251
|
}, /*#__PURE__*/React.createElement(HiddenCheckbox, {
|
|
@@ -21092,7 +20257,7 @@ var Checkbox = function Checkbox(_ref4) {
|
|
|
21092
20257
|
onChange: onChange,
|
|
21093
20258
|
tabIndex: "-1",
|
|
21094
20259
|
"aria-invalid": error,
|
|
21095
|
-
"aria-describedby":
|
|
20260
|
+
"aria-describedby": "".concat(name, "-error-message")
|
|
21096
20261
|
}), /*#__PURE__*/React.createElement(StyledCheckbox, {
|
|
21097
20262
|
error: error,
|
|
21098
20263
|
disabled: disabled,
|
|
@@ -21111,7 +20276,7 @@ var Checkbox = function Checkbox(_ref4) {
|
|
|
21111
20276
|
checkColor: themeValues.checkColor
|
|
21112
20277
|
}, /*#__PURE__*/React.createElement("polyline", {
|
|
21113
20278
|
points: "20 6 9 17 4 12"
|
|
21114
|
-
})))),
|
|
20279
|
+
})))), /*#__PURE__*/React.createElement(Text$1, {
|
|
21115
20280
|
variant: "p",
|
|
21116
20281
|
weight: themeValues.textFontWeight,
|
|
21117
20282
|
color: themeValues.textColor,
|
|
@@ -24396,40 +23561,6 @@ var creditCardFormat = createFormat(creditCardFormats, formatDelimiter);
|
|
|
24396
23561
|
var expirationDateFormat = createFormat(expirationDateFormats, formatDelimiter);
|
|
24397
23562
|
var phoneFormat = createFormat(phoneFormats, formatDelimiter);
|
|
24398
23563
|
var moneyFormat = createFormat(moneyFormats, formatDelimiter);
|
|
24399
|
-
var renderCardStatus = function renderCardStatus(expirationStatus, expireDate) {
|
|
24400
|
-
var textAlign = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : "right";
|
|
24401
|
-
var as = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : "span";
|
|
24402
|
-
var ACTIVE = "ACTIVE";
|
|
24403
|
-
var EXPIRING_SOON = "EXPIRING_SOON";
|
|
24404
|
-
var EXPIRED = "EXPIRED";
|
|
24405
|
-
var textMargin = textAlign === "right" ? "auto" : "0";
|
|
24406
|
-
|
|
24407
|
-
switch (expirationStatus) {
|
|
24408
|
-
case ACTIVE:
|
|
24409
|
-
return /*#__PURE__*/React.createElement(Text$1, {
|
|
24410
|
-
as: as,
|
|
24411
|
-
variant: "pXS",
|
|
24412
|
-
color: ASH_GREY,
|
|
24413
|
-
extraStyles: "text-align: ".concat(textAlign, "; margin: ").concat(textMargin, ";")
|
|
24414
|
-
}, "Exp Date ", expireDate);
|
|
24415
|
-
|
|
24416
|
-
case EXPIRING_SOON:
|
|
24417
|
-
return /*#__PURE__*/React.createElement(Text$1, {
|
|
24418
|
-
as: as,
|
|
24419
|
-
variant: "pXS",
|
|
24420
|
-
color: FIRE_YELLOW,
|
|
24421
|
-
extraStyles: "text-align: ".concat(textAlign, "; margin: ").concat(textMargin, ";")
|
|
24422
|
-
}, "Expiring Soon ", expireDate);
|
|
24423
|
-
|
|
24424
|
-
case EXPIRED:
|
|
24425
|
-
return /*#__PURE__*/React.createElement(Text$1, {
|
|
24426
|
-
as: as,
|
|
24427
|
-
variant: "pXS",
|
|
24428
|
-
color: ASH_GREY,
|
|
24429
|
-
extraStyles: "text-align: ".concat(textAlign, "; margin: ").concat(textMargin, ";")
|
|
24430
|
-
}, "Expired");
|
|
24431
|
-
}
|
|
24432
|
-
};
|
|
24433
23564
|
|
|
24434
23565
|
var formats = /*#__PURE__*/Object.freeze({
|
|
24435
23566
|
__proto__: null,
|
|
@@ -24441,8 +23572,7 @@ var formats = /*#__PURE__*/Object.freeze({
|
|
|
24441
23572
|
creditCardFormat: creditCardFormat,
|
|
24442
23573
|
expirationDateFormat: expirationDateFormat,
|
|
24443
23574
|
phoneFormat: phoneFormat,
|
|
24444
|
-
moneyFormat: moneyFormat
|
|
24445
|
-
renderCardStatus: renderCardStatus
|
|
23575
|
+
moneyFormat: moneyFormat
|
|
24446
23576
|
});
|
|
24447
23577
|
|
|
24448
23578
|
var useFocusInvalidInput = function useFocusInvalidInput(hasErrors) {
|
|
@@ -24502,10 +23632,10 @@ var fallbackValues$i = {
|
|
|
24502
23632
|
popoverTriggerColor: popoverTriggerColor
|
|
24503
23633
|
};
|
|
24504
23634
|
|
|
24505
|
-
var arrowBorder = function arrowBorder(
|
|
24506
|
-
var width = arguments.length >
|
|
23635
|
+
var arrowBorder = function arrowBorder(direction) {
|
|
23636
|
+
var width = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : "8px";
|
|
24507
23637
|
var angle = "".concat(width, " solid transparent");
|
|
24508
|
-
var straight = "".concat(width, " solid ")
|
|
23638
|
+
var straight = "".concat(width, " solid rgba(255, 255, 255, 0.85)");
|
|
24509
23639
|
|
|
24510
23640
|
if (direction == "down") {
|
|
24511
23641
|
return "border-left: ".concat(angle, "; border-right: ").concat(angle, "; border-top: ").concat(straight);
|
|
@@ -24547,12 +23677,7 @@ var Popover = function Popover(_ref) {
|
|
|
24547
23677
|
arrowDirection = _ref$arrowDirection === void 0 ? "down" : _ref$arrowDirection,
|
|
24548
23678
|
_ref$transform = _ref.transform,
|
|
24549
23679
|
transform = _ref$transform === void 0 ? "none" : _ref$transform,
|
|
24550
|
-
buttonExtraStyles = _ref.buttonExtraStyles
|
|
24551
|
-
_ref$backgroundColor = _ref.backgroundColor,
|
|
24552
|
-
backgroundColor = _ref$backgroundColor === void 0 ? "white" : _ref$backgroundColor,
|
|
24553
|
-
_ref$borderColor = _ref.borderColor,
|
|
24554
|
-
borderColor = _ref$borderColor === void 0 ? "rgba(255, 255, 255, 0.85)" : _ref$borderColor,
|
|
24555
|
-
popoverExtraStyles = _ref.popoverExtraStyles;
|
|
23680
|
+
buttonExtraStyles = _ref.buttonExtraStyles;
|
|
24556
23681
|
var hoverColor = themeValues.hoverColor,
|
|
24557
23682
|
activeColor = themeValues.activeColor,
|
|
24558
23683
|
popoverTriggerColor = themeValues.popoverTriggerColor;
|
|
@@ -24638,7 +23763,7 @@ var Popover = function Popover(_ref) {
|
|
|
24638
23763
|
color: popoverTriggerColor,
|
|
24639
23764
|
extraStyles: "&:active { color: ".concat(activeColor, "; } &:hover { color: ").concat(hoverColor, " }; ").concat(textExtraStyles)
|
|
24640
23765
|
}, triggerText)), /*#__PURE__*/React.createElement(Box, {
|
|
24641
|
-
background:
|
|
23766
|
+
background: "white",
|
|
24642
23767
|
borderRadius: "4px",
|
|
24643
23768
|
boxShadow: "0px 2px 14px 0px rgb(246, 246, 249), 0px 3px 8px 0px rgb(202, 206, 216)",
|
|
24644
23769
|
id: "Disclosed".concat(popoverID),
|
|
@@ -24647,10 +23772,10 @@ var Popover = function Popover(_ref) {
|
|
|
24647
23772
|
tabIndex: popoverFocus && popoverOpen ? "0" : "-1",
|
|
24648
23773
|
minWidth: minWidth,
|
|
24649
23774
|
maxWidth: maxWidth,
|
|
24650
|
-
extraStyles: "\n display: ".concat(popoverOpen ? "block" : "none", "; \n position: absolute; \n top: ").concat(top, "; \n right: ").concat(right, "; \n bottom: ").concat(bottom, "; \n left: ").concat(left, ";\n height: ").concat(height, ";\n transform: ").concat(transform, ";\n ")
|
|
23775
|
+
extraStyles: "\n display: ".concat(popoverOpen ? "block" : "none", "; \n position: absolute; \n top: ").concat(top, "; \n right: ").concat(right, "; \n bottom: ").concat(bottom, "; \n left: ").concat(left, ";\n height: ").concat(height, ";\n transform: ").concat(transform, ";\n ")
|
|
24651
23776
|
}, /*#__PURE__*/React.createElement(Paragraph$1, null, content), /*#__PURE__*/React.createElement(Box, {
|
|
24652
23777
|
padding: "0",
|
|
24653
|
-
extraStyles: "\n position: absolute;\n content: \"\";\n width: 0;\n height: 0;\n ".concat(arrowBorder(
|
|
23778
|
+
extraStyles: "\n position: absolute;\n content: \"\";\n width: 0;\n height: 0;\n ".concat(arrowBorder(arrowDirection, "8px"), ";\n filter: drop-shadow(2px 8px 14px black);\n bottom: ").concat(arrowBottom, ";\n right: ").concat(arrowRight, ";\n top: ").concat(arrowTop, ";\n left: ").concat(arrowLeft, ";\n ")
|
|
24654
23779
|
})));
|
|
24655
23780
|
};
|
|
24656
23781
|
|
|
@@ -25140,50 +24265,9 @@ var fallbackValues$l = {
|
|
|
25140
24265
|
autopayTextColor: autopayTextColor
|
|
25141
24266
|
};
|
|
25142
24267
|
|
|
25143
|
-
var
|
|
25144
|
-
|
|
25145
|
-
|
|
25146
|
-
})(["display:flex;justify-content:flex-start;align-items:center;"]);
|
|
25147
|
-
var BankAccountText = styled.h4.withConfig({
|
|
25148
|
-
displayName: "FormattedBankAccount__BankAccountText",
|
|
25149
|
-
componentId: "sc-18hcgw4-1"
|
|
25150
|
-
})(["color:", ";font-size:1rem;font-weight:400;line-height:1.5rem;text-align:left;margin-right:0.5rem;display:inline-block;"], function (_ref) {
|
|
25151
|
-
var color = _ref.color;
|
|
25152
|
-
return color;
|
|
25153
|
-
});
|
|
25154
|
-
var CHECKING = "CHECKING";
|
|
25155
|
-
var SAVINGS = "SAVINGS";
|
|
25156
|
-
|
|
25157
|
-
var FormattedBankAccount = function FormattedBankAccount(_ref2) {
|
|
25158
|
-
var lastFour = _ref2.lastFour,
|
|
25159
|
-
accountType = _ref2.accountType,
|
|
25160
|
-
autoPay = _ref2.autoPay,
|
|
25161
|
-
themeValues = _ref2.themeValues;
|
|
25162
|
-
return /*#__PURE__*/React.createElement(BankItemWrapper, null, /*#__PURE__*/React.createElement(Box, {
|
|
25163
|
-
padding: "0.25rem 0 0 0",
|
|
25164
|
-
extraStyles: "margin-right: 1rem;"
|
|
25165
|
-
}, /*#__PURE__*/React.createElement(BankIcon, null)), /*#__PURE__*/React.createElement(Stack, {
|
|
25166
|
-
childGap: "0"
|
|
25167
|
-
}, accountType === CHECKING && /*#__PURE__*/React.createElement(BankAccountText, {
|
|
25168
|
-
color: themeValues.textColor
|
|
25169
|
-
}, "Checking Account ending in ", lastFour), accountType === SAVINGS && /*#__PURE__*/React.createElement(BankAccountText, {
|
|
25170
|
-
color: themeValues.textColor
|
|
25171
|
-
}, "Savings Account ending in ", lastFour), autoPay && /*#__PURE__*/React.createElement(Text$1, {
|
|
25172
|
-
variant: "p",
|
|
25173
|
-
color: themeValues.autopayTextColor,
|
|
25174
|
-
extraStyles: "font-style: italic;"
|
|
25175
|
-
}, "Autopay Enabled")));
|
|
25176
|
-
};
|
|
25177
|
-
|
|
25178
|
-
var FormattedBankAccount$1 = themeComponent(FormattedBankAccount, "FormattedBankAccount", fallbackValues$l);
|
|
25179
|
-
|
|
25180
|
-
var textColor$2 = "".concat(CHARADE_GREY);
|
|
25181
|
-
var autopayTextColor$1 = "".concat(REGENT_GREY);
|
|
25182
|
-
var fallbackValues$m = {
|
|
25183
|
-
textColor: textColor$2,
|
|
25184
|
-
autopayTextColor: autopayTextColor$1
|
|
25185
|
-
};
|
|
25186
|
-
|
|
24268
|
+
var ACTIVE = "ACTIVE";
|
|
24269
|
+
var EXPIRING_SOON = "EXPIRING_SOON";
|
|
24270
|
+
var EXPIRED = "EXPIRED";
|
|
25187
24271
|
var CreditCardWrapper = styled.div.withConfig({
|
|
25188
24272
|
displayName: "FormattedCreditCard__CreditCardWrapper",
|
|
25189
24273
|
componentId: "sc-s0ta5l-0"
|
|
@@ -25199,6 +24283,32 @@ var FormattedCreditCard = function FormattedCreditCard(_ref) {
|
|
|
25199
24283
|
expireDate = _ref.expireDate,
|
|
25200
24284
|
expirationStatus = _ref.expirationStatus,
|
|
25201
24285
|
themeValues = _ref.themeValues;
|
|
24286
|
+
|
|
24287
|
+
var renderCardStatus = function renderCardStatus() {
|
|
24288
|
+
switch (expirationStatus) {
|
|
24289
|
+
case ACTIVE:
|
|
24290
|
+
return /*#__PURE__*/React.createElement(Paragraph$1, {
|
|
24291
|
+
variant: "pXS",
|
|
24292
|
+
color: ASH_GREY,
|
|
24293
|
+
textAlign: "left"
|
|
24294
|
+
}, "Exp Date ", expireDate);
|
|
24295
|
+
|
|
24296
|
+
case EXPIRING_SOON:
|
|
24297
|
+
return /*#__PURE__*/React.createElement(Paragraph$1, {
|
|
24298
|
+
variant: "pXS",
|
|
24299
|
+
color: FIRE_YELLOW,
|
|
24300
|
+
textAlign: "left"
|
|
24301
|
+
}, "Expiring Soon ", expireDate);
|
|
24302
|
+
|
|
24303
|
+
case EXPIRED:
|
|
24304
|
+
return /*#__PURE__*/React.createElement(Paragraph$1, {
|
|
24305
|
+
variant: "pXS",
|
|
24306
|
+
color: ASH_GREY,
|
|
24307
|
+
textAlign: "left"
|
|
24308
|
+
}, "Expired");
|
|
24309
|
+
}
|
|
24310
|
+
};
|
|
24311
|
+
|
|
25202
24312
|
return /*#__PURE__*/React.createElement(CreditCardWrapper, null, /*#__PURE__*/React.createElement(CCIconWrapper, null, /*#__PURE__*/React.createElement(GenericCard, null)), /*#__PURE__*/React.createElement(Stack, {
|
|
25203
24313
|
childGap: "0"
|
|
25204
24314
|
}, /*#__PURE__*/React.createElement(Box, {
|
|
@@ -25209,14 +24319,14 @@ var FormattedCreditCard = function FormattedCreditCard(_ref) {
|
|
|
25209
24319
|
color: themeValues.textColor,
|
|
25210
24320
|
textAlign: "left",
|
|
25211
24321
|
extraStyles: "display: inline-block;"
|
|
25212
|
-
}, "Card ending in ".concat(lastFour)), expireDate && /*#__PURE__*/React.createElement(Fragment$1, null, renderCardStatus(
|
|
24322
|
+
}, "Card ending in ".concat(lastFour)), expireDate && /*#__PURE__*/React.createElement(Fragment$1, null, renderCardStatus())), autoPay && /*#__PURE__*/React.createElement(Text$1, {
|
|
25213
24323
|
variant: "p",
|
|
25214
24324
|
color: themeValues.autopayTextColor,
|
|
25215
24325
|
extraStyles: "font-style: italic;"
|
|
25216
24326
|
}, "Autopay Enabled")));
|
|
25217
24327
|
};
|
|
25218
24328
|
|
|
25219
|
-
var FormattedCreditCard$1 = themeComponent(FormattedCreditCard, "FormattedCreditCard", fallbackValues$
|
|
24329
|
+
var FormattedCreditCard$1 = themeComponent(FormattedCreditCard, "FormattedCreditCard", fallbackValues$l);
|
|
25220
24330
|
|
|
25221
24331
|
var Hamburger = styled.button.withConfig({
|
|
25222
24332
|
displayName: "HamburgerButton__Hamburger",
|
|
@@ -25298,7 +24408,7 @@ var fontSize$8 = {
|
|
|
25298
24408
|
h5: "1.375rem",
|
|
25299
24409
|
h6: "1.25rem"
|
|
25300
24410
|
};
|
|
25301
|
-
var fallbackValues$
|
|
24411
|
+
var fallbackValues$m = {
|
|
25302
24412
|
fontFamily: fontFamily$5,
|
|
25303
24413
|
fontSize: fontSize$8
|
|
25304
24414
|
};
|
|
@@ -25340,60 +24450,7 @@ var Heading = function Heading(_ref) {
|
|
|
25340
24450
|
}, rest), safeChildren(children, /*#__PURE__*/React.createElement("span", null)));
|
|
25341
24451
|
};
|
|
25342
24452
|
|
|
25343
|
-
var Heading$1 = themeComponent(Heading, "Heading", fallbackValues$
|
|
25344
|
-
|
|
25345
|
-
var Image = styled.img.withConfig({
|
|
25346
|
-
displayName: "ImageBoxstyled__Image",
|
|
25347
|
-
componentId: "sc-8lg9y6-0"
|
|
25348
|
-
})(["width:", ";height:", ";object-fit:", ";object-position:", ";"], function (_ref) {
|
|
25349
|
-
var _ref$width = _ref.width,
|
|
25350
|
-
width = _ref$width === void 0 ? "100%" : _ref$width;
|
|
25351
|
-
return width;
|
|
25352
|
-
}, function (_ref2) {
|
|
25353
|
-
var _ref2$height = _ref2.height,
|
|
25354
|
-
height = _ref2$height === void 0 ? "100%" : _ref2$height;
|
|
25355
|
-
return height;
|
|
25356
|
-
}, function (_ref3) {
|
|
25357
|
-
var _ref3$objectFit = _ref3.objectFit,
|
|
25358
|
-
objectFit = _ref3$objectFit === void 0 ? "cover" : _ref3$objectFit;
|
|
25359
|
-
return objectFit;
|
|
25360
|
-
}, function (_ref4) {
|
|
25361
|
-
var _ref4$objectPosition = _ref4.objectPosition,
|
|
25362
|
-
objectPosition = _ref4$objectPosition === void 0 ? "center" : _ref4$objectPosition;
|
|
25363
|
-
return objectPosition;
|
|
25364
|
-
});
|
|
25365
|
-
|
|
25366
|
-
var ImageBox = function ImageBox(_ref) {
|
|
25367
|
-
var image = _ref.image,
|
|
25368
|
-
minHeight = _ref.minHeight,
|
|
25369
|
-
minWidth = _ref.minWidth,
|
|
25370
|
-
maxWidth = _ref.maxWidth,
|
|
25371
|
-
borderRadius = _ref.borderRadius,
|
|
25372
|
-
imgWidth = _ref.imgWidth,
|
|
25373
|
-
imgHeight = _ref.imgHeight,
|
|
25374
|
-
objectFit = _ref.objectFit,
|
|
25375
|
-
objectPosition = _ref.objectPosition;
|
|
25376
|
-
var boxMaxWidth = maxWidth || minWidth;
|
|
25377
|
-
var _image$url = image.url,
|
|
25378
|
-
url = _image$url === void 0 ? "" : _image$url,
|
|
25379
|
-
_image$altText = image.altText,
|
|
25380
|
-
altText = _image$altText === void 0 ? "" : _image$altText;
|
|
25381
|
-
return /*#__PURE__*/React.createElement(Box, {
|
|
25382
|
-
padding: "0",
|
|
25383
|
-
minWidth: minWidth,
|
|
25384
|
-
minHeight: minHeight,
|
|
25385
|
-
maxWidth: boxMaxWidth,
|
|
25386
|
-
borderRadius: borderRadius,
|
|
25387
|
-
extraStyles: "height: ".concat(minHeight, ";")
|
|
25388
|
-
}, /*#__PURE__*/React.createElement(Image, {
|
|
25389
|
-
width: imgWidth,
|
|
25390
|
-
height: imgHeight,
|
|
25391
|
-
objectFit: objectFit,
|
|
25392
|
-
objectPosition: objectPosition,
|
|
25393
|
-
src: url,
|
|
25394
|
-
alt: altText
|
|
25395
|
-
}));
|
|
25396
|
-
};
|
|
24453
|
+
var Heading$1 = themeComponent(Heading, "Heading", fallbackValues$m, "h1");
|
|
25397
24454
|
|
|
25398
24455
|
var Jumbo = function Jumbo(_ref) {
|
|
25399
24456
|
var showButton = _ref.showButton,
|
|
@@ -25467,7 +24524,7 @@ var fontWeight$4 = {
|
|
|
25467
24524
|
pL: "600",
|
|
25468
24525
|
h6: "700"
|
|
25469
24526
|
};
|
|
25470
|
-
var fallbackValues$
|
|
24527
|
+
var fallbackValues$n = {
|
|
25471
24528
|
fontWeight: fontWeight$4
|
|
25472
24529
|
};
|
|
25473
24530
|
|
|
@@ -25495,7 +24552,7 @@ var LabeledAmount = function LabeledAmount(_ref) {
|
|
|
25495
24552
|
}, amount));
|
|
25496
24553
|
};
|
|
25497
24554
|
|
|
25498
|
-
var LabeledAmount$1 = themeComponent(LabeledAmount, "LabeledAmount", fallbackValues$
|
|
24555
|
+
var LabeledAmount$1 = themeComponent(LabeledAmount, "LabeledAmount", fallbackValues$n, "default");
|
|
25499
24556
|
|
|
25500
24557
|
var weightTitle = {
|
|
25501
24558
|
"default": "600",
|
|
@@ -25505,7 +24562,7 @@ var paragraphVariant = {
|
|
|
25505
24562
|
"default": "pL",
|
|
25506
24563
|
small: "pS"
|
|
25507
24564
|
};
|
|
25508
|
-
var fallbackValues$
|
|
24565
|
+
var fallbackValues$o = {
|
|
25509
24566
|
weightTitle: weightTitle,
|
|
25510
24567
|
paragraphVariant: paragraphVariant
|
|
25511
24568
|
};
|
|
@@ -25514,9 +24571,7 @@ var LineItem = function LineItem(_ref) {
|
|
|
25514
24571
|
var description = _ref.description,
|
|
25515
24572
|
subDescription = _ref.subDescription,
|
|
25516
24573
|
amount = _ref.amount,
|
|
25517
|
-
themeValues = _ref.themeValues
|
|
25518
|
-
_ref$displayQuantity = _ref.displayQuantity,
|
|
25519
|
-
displayQuantity = _ref$displayQuantity === void 0 ? null : _ref$displayQuantity;
|
|
24574
|
+
themeValues = _ref.themeValues;
|
|
25520
24575
|
return /*#__PURE__*/React.createElement(Cluster, {
|
|
25521
24576
|
nowrap: true,
|
|
25522
24577
|
justify: "space-between",
|
|
@@ -25529,20 +24584,17 @@ var LineItem = function LineItem(_ref) {
|
|
|
25529
24584
|
}, description), /*#__PURE__*/React.createElement(Paragraph$1, {
|
|
25530
24585
|
variant: themeValues.paragraphVariant,
|
|
25531
24586
|
weight: "400"
|
|
25532
|
-
}, subDescription)),
|
|
25533
|
-
variant: themeValues.paragraphVariant,
|
|
25534
|
-
weight: themeValues.weightTitle
|
|
25535
|
-
}, "x".concat(displayQuantity)), /*#__PURE__*/React.createElement(Paragraph$1, {
|
|
24587
|
+
}, subDescription)), /*#__PURE__*/React.createElement(Paragraph$1, {
|
|
25536
24588
|
variant: themeValues.paragraphVariant,
|
|
25537
24589
|
weight: "600",
|
|
25538
24590
|
extraStyles: "margin: 0; text-align: end; min-width: fit-content; padding-left: 32px;"
|
|
25539
24591
|
}, amount));
|
|
25540
24592
|
};
|
|
25541
24593
|
|
|
25542
|
-
var LineItem$1 = themeComponent(LineItem, "LineItem", fallbackValues$
|
|
24594
|
+
var LineItem$1 = themeComponent(LineItem, "LineItem", fallbackValues$o, "default");
|
|
25543
24595
|
|
|
25544
24596
|
var color$8 = "#15749D";
|
|
25545
|
-
var fallbackValues$
|
|
24597
|
+
var fallbackValues$p = {
|
|
25546
24598
|
color: color$8
|
|
25547
24599
|
};
|
|
25548
24600
|
|
|
@@ -25581,7 +24633,7 @@ var Spinner$1 = function Spinner(_ref4) {
|
|
|
25581
24633
|
})));
|
|
25582
24634
|
};
|
|
25583
24635
|
|
|
25584
|
-
var Spinner$2 = themeComponent(Spinner$1, "Spinner", fallbackValues$
|
|
24636
|
+
var Spinner$2 = themeComponent(Spinner$1, "Spinner", fallbackValues$p);
|
|
25585
24637
|
|
|
25586
24638
|
var Loading = function Loading() {
|
|
25587
24639
|
return /*#__PURE__*/React.createElement(Box, {
|
|
@@ -25847,7 +24899,7 @@ var height$1 = {
|
|
|
25847
24899
|
"default": "3rem",
|
|
25848
24900
|
large: "192px"
|
|
25849
24901
|
};
|
|
25850
|
-
var fallbackValues$
|
|
24902
|
+
var fallbackValues$q = {
|
|
25851
24903
|
color: color$9,
|
|
25852
24904
|
height: height$1
|
|
25853
24905
|
};
|
|
@@ -25956,12 +25008,12 @@ var Placeholder = function Placeholder(_ref2) {
|
|
|
25956
25008
|
}, text)))))))))));
|
|
25957
25009
|
};
|
|
25958
25010
|
|
|
25959
|
-
var Placeholder$1 = themeComponent(Placeholder, "Placeholder", fallbackValues$
|
|
25011
|
+
var Placeholder$1 = themeComponent(Placeholder, "Placeholder", fallbackValues$q, "default");
|
|
25960
25012
|
|
|
25961
25013
|
var backgroundColor$4 = {
|
|
25962
25014
|
"default": "".concat(WHITE)
|
|
25963
25015
|
};
|
|
25964
|
-
var fallbackValues$
|
|
25016
|
+
var fallbackValues$r = {
|
|
25965
25017
|
backgroundColor: backgroundColor$4
|
|
25966
25018
|
};
|
|
25967
25019
|
|
|
@@ -25989,7 +25041,7 @@ var ProcessingFee = function ProcessingFee(_ref) {
|
|
|
25989
25041
|
}));
|
|
25990
25042
|
};
|
|
25991
25043
|
|
|
25992
|
-
var ProcessingFee$1 = themeComponent(ProcessingFee, "ProcessingFee", fallbackValues$
|
|
25044
|
+
var ProcessingFee$1 = themeComponent(ProcessingFee, "ProcessingFee", fallbackValues$r, "default");
|
|
25993
25045
|
|
|
25994
25046
|
|
|
25995
25047
|
|
|
@@ -26051,7 +25103,7 @@ var RadioButtonWithLabel = function RadioButtonWithLabel(_ref) {
|
|
|
26051
25103
|
|
|
26052
25104
|
var activeColor$5 = "".concat(MATISSE_BLUE);
|
|
26053
25105
|
var inactiveColor = "".concat(GREY_CHATEAU);
|
|
26054
|
-
var fallbackValues$
|
|
25106
|
+
var fallbackValues$s = {
|
|
26055
25107
|
activeColor: activeColor$5,
|
|
26056
25108
|
inactiveColor: inactiveColor
|
|
26057
25109
|
};
|
|
@@ -26073,8 +25125,6 @@ var RadioButton$1 = function RadioButton(_ref2) {
|
|
|
26073
25125
|
name = _ref2.name,
|
|
26074
25126
|
_ref2$disabled = _ref2.disabled,
|
|
26075
25127
|
disabled = _ref2$disabled === void 0 ? false : _ref2$disabled,
|
|
26076
|
-
_ref2$ariaDescribedBy = _ref2.ariaDescribedBy,
|
|
26077
|
-
ariaDescribedBy = _ref2$ariaDescribedBy === void 0 ? "" : _ref2$ariaDescribedBy,
|
|
26078
25128
|
themeValues = _ref2.themeValues;
|
|
26079
25129
|
var buttonBorder = {
|
|
26080
25130
|
onFocused: {
|
|
@@ -26126,7 +25176,6 @@ var RadioButton$1 = function RadioButton(_ref2) {
|
|
|
26126
25176
|
"aria-label": name,
|
|
26127
25177
|
disabled: disabled,
|
|
26128
25178
|
onClick: toggleRadio,
|
|
26129
|
-
"aria-describedby": ariaDescribedBy,
|
|
26130
25179
|
tabIndex: "-1"
|
|
26131
25180
|
}), /*#__PURE__*/React.createElement(Motion, {
|
|
26132
25181
|
borderWidth: "1px",
|
|
@@ -26144,12 +25193,12 @@ var RadioButton$1 = function RadioButton(_ref2) {
|
|
|
26144
25193
|
})));
|
|
26145
25194
|
};
|
|
26146
25195
|
|
|
26147
|
-
var RadioButton$2 = themeComponent(RadioButton$1, "RadioButton", fallbackValues$
|
|
25196
|
+
var RadioButton$2 = themeComponent(RadioButton$1, "RadioButton", fallbackValues$s);
|
|
26148
25197
|
|
|
26149
25198
|
var border$2 = {
|
|
26150
25199
|
"default": "1px solid #caced8"
|
|
26151
25200
|
};
|
|
26152
|
-
var fallbackValues$
|
|
25201
|
+
var fallbackValues$t = {
|
|
26153
25202
|
border: border$2
|
|
26154
25203
|
};
|
|
26155
25204
|
|
|
@@ -26164,9 +25213,7 @@ var SearchableSelect = function SearchableSelect(_ref) {
|
|
|
26164
25213
|
fields = _ref.fields,
|
|
26165
25214
|
actions = _ref.actions,
|
|
26166
25215
|
disabled = _ref.disabled,
|
|
26167
|
-
themeValues = _ref.themeValues
|
|
26168
|
-
_ref$placeholder = _ref.placeholder,
|
|
26169
|
-
placeholder = _ref$placeholder === void 0 ? "Search agencies" : _ref$placeholder;
|
|
25216
|
+
themeValues = _ref.themeValues;
|
|
26170
25217
|
|
|
26171
25218
|
var _useState = useState([]),
|
|
26172
25219
|
_useState2 = _slicedToArray(_useState, 2),
|
|
@@ -26197,15 +25244,15 @@ var SearchableSelect = function SearchableSelect(_ref) {
|
|
|
26197
25244
|
padding: "1rem",
|
|
26198
25245
|
border: themeValues.border,
|
|
26199
25246
|
extraStyles: disabled && "color: #6e727e; background-color: #f7f7f7; pointer-events: none;"
|
|
26200
|
-
}, /*#__PURE__*/React.createElement(FormInput$1, {
|
|
25247
|
+
}, /*#__PURE__*/React.createElement(Stack, null, /*#__PURE__*/React.createElement(FormInput$1, {
|
|
26201
25248
|
errorMessages: {},
|
|
26202
25249
|
field: fields.searchTerm,
|
|
26203
25250
|
fieldActions: actions.fields.searchTerm,
|
|
26204
|
-
placeholder:
|
|
25251
|
+
placeholder: "Search agencies",
|
|
26205
25252
|
disabled: disabled
|
|
26206
25253
|
}), /*#__PURE__*/React.createElement(Box, {
|
|
26207
|
-
padding: "0 0
|
|
26208
|
-
extraStyles: "overflow-y: scroll;
|
|
25254
|
+
padding: "0.5rem 0",
|
|
25255
|
+
extraStyles: "overflow-y: scroll; height: 250px;"
|
|
26209
25256
|
}, /*#__PURE__*/React.createElement(Stack, null, itemList.map(function (value) {
|
|
26210
25257
|
var _selectedItems$find;
|
|
26211
25258
|
|
|
@@ -26221,12 +25268,12 @@ var SearchableSelect = function SearchableSelect(_ref) {
|
|
|
26221
25268
|
},
|
|
26222
25269
|
textExtraStyles: "margin: 0;",
|
|
26223
25270
|
disabled: disabled,
|
|
26224
|
-
extraStyles: "margin: 0.5rem;"
|
|
25271
|
+
extraStyles: "margin: 0 0.5rem;"
|
|
26225
25272
|
});
|
|
26226
|
-
}))));
|
|
25273
|
+
})))));
|
|
26227
25274
|
};
|
|
26228
25275
|
|
|
26229
|
-
var SearchableSelect$1 = themeComponent(SearchableSelect, "SearchableSelect", fallbackValues$
|
|
25276
|
+
var SearchableSelect$1 = themeComponent(SearchableSelect, "SearchableSelect", fallbackValues$t, "default");
|
|
26230
25277
|
|
|
26231
25278
|
var borderColor$2 = {
|
|
26232
25279
|
"default": "".concat(GREY_CHATEAU)
|
|
@@ -26234,7 +25281,7 @@ var borderColor$2 = {
|
|
|
26234
25281
|
var borderSize = {
|
|
26235
25282
|
"default": "1px"
|
|
26236
25283
|
};
|
|
26237
|
-
var fallbackValues$
|
|
25284
|
+
var fallbackValues$u = {
|
|
26238
25285
|
borderColor: borderColor$2,
|
|
26239
25286
|
borderSize: borderSize
|
|
26240
25287
|
};
|
|
@@ -26251,7 +25298,7 @@ var SolidDivider = function SolidDivider(_ref) {
|
|
|
26251
25298
|
});
|
|
26252
25299
|
};
|
|
26253
25300
|
|
|
26254
|
-
var SolidDivider$1 = themeComponent(SolidDivider, "SolidDivider", fallbackValues$
|
|
25301
|
+
var SolidDivider$1 = themeComponent(SolidDivider, "SolidDivider", fallbackValues$u, "default");
|
|
26255
25302
|
|
|
26256
25303
|
var placeHolderOptionUS = {
|
|
26257
25304
|
text: "Please select state",
|
|
@@ -36835,7 +35882,7 @@ var offBackground = "".concat(REGENT_GREY);
|
|
|
36835
35882
|
var labelStyles = "\n display: flex;\n justify-content: flex-start;\n align-items: center;\n";
|
|
36836
35883
|
var rightLabelStyles = "\n ".concat(labelStyles, "\n flex-direction: row;\n");
|
|
36837
35884
|
var leftLabelStyles = "\n ".concat(labelStyles, "\n flex-direction: row-reverse;\n");
|
|
36838
|
-
var fallbackValues$
|
|
35885
|
+
var fallbackValues$v = {
|
|
36839
35886
|
onBackground: onBackground,
|
|
36840
35887
|
disabledBackground: disabledBackground,
|
|
36841
35888
|
white: white,
|
|
@@ -37011,7 +36058,7 @@ var ToggleSwitch = function ToggleSwitch(_ref6) {
|
|
|
37011
36058
|
}, label))));
|
|
37012
36059
|
};
|
|
37013
36060
|
|
|
37014
|
-
var ToggleSwitch$1 = themeComponent(ToggleSwitch, "ToggleSwitch", fallbackValues$
|
|
36061
|
+
var ToggleSwitch$1 = themeComponent(ToggleSwitch, "ToggleSwitch", fallbackValues$v);
|
|
37015
36062
|
|
|
37016
36063
|
var background$1 = "".concat(ATHENS_GREY);
|
|
37017
36064
|
var white$1 = "".concat(WHITE);
|
|
@@ -37060,7 +36107,7 @@ var backgroundColor$5 = WHITE;
|
|
|
37060
36107
|
var imageBackgroundColor = INFO_BLUE;
|
|
37061
36108
|
var headerBackgroundColor = STORM_GREY;
|
|
37062
36109
|
var headerColor = WHITE;
|
|
37063
|
-
var fallbackValues$
|
|
36110
|
+
var fallbackValues$w = {
|
|
37064
36111
|
backgroundColor: backgroundColor$5,
|
|
37065
36112
|
imageBackgroundColor: imageBackgroundColor,
|
|
37066
36113
|
headerBackgroundColor: headerBackgroundColor,
|
|
@@ -37083,11 +36130,11 @@ var CardImage = styled.img.withConfig({
|
|
|
37083
36130
|
|
|
37084
36131
|
var titleColor = BRIGHT_GREY;
|
|
37085
36132
|
var titleWeight = FONT_WEIGHT_BOLD;
|
|
37086
|
-
var textColor$
|
|
37087
|
-
var fallbackValues$
|
|
36133
|
+
var textColor$2 = BRIGHT_GREY;
|
|
36134
|
+
var fallbackValues$x = {
|
|
37088
36135
|
titleColor: titleColor,
|
|
37089
36136
|
titleWeight: titleWeight,
|
|
37090
|
-
textColor: textColor$
|
|
36137
|
+
textColor: textColor$2
|
|
37091
36138
|
};
|
|
37092
36139
|
|
|
37093
36140
|
var CardText = function CardText(_ref) {
|
|
@@ -37108,7 +36155,7 @@ var CardText = function CardText(_ref) {
|
|
|
37108
36155
|
color: themeValues.textColor
|
|
37109
36156
|
}, text))));
|
|
37110
36157
|
};
|
|
37111
|
-
var CardText$1 = themeComponent(withWindowSize(CardText), "CardText", fallbackValues$
|
|
36158
|
+
var CardText$1 = themeComponent(withWindowSize(CardText), "CardText", fallbackValues$x);
|
|
37112
36159
|
|
|
37113
36160
|
var CardHeader = function CardHeader(_ref) {
|
|
37114
36161
|
var backgroundColor = _ref.backgroundColor,
|
|
@@ -37205,12 +36252,12 @@ var Card = function Card(_ref) {
|
|
|
37205
36252
|
}), children)));
|
|
37206
36253
|
};
|
|
37207
36254
|
|
|
37208
|
-
var Card$1 = themeComponent(withWindowSize(Card), "Card", fallbackValues$
|
|
36255
|
+
var Card$1 = themeComponent(withWindowSize(Card), "Card", fallbackValues$w);
|
|
37209
36256
|
|
|
37210
36257
|
var fontFamily$6 = "Public Sans, sans-serif";
|
|
37211
36258
|
var activeColor$6 = MATISSE_BLUE;
|
|
37212
36259
|
var linkColor$3 = CHARADE_GREY;
|
|
37213
|
-
var fallbackValues$
|
|
36260
|
+
var fallbackValues$y = {
|
|
37214
36261
|
fontFamily: fontFamily$6,
|
|
37215
36262
|
activeColor: activeColor$6,
|
|
37216
36263
|
linkColor: linkColor$3
|
|
@@ -37243,7 +36290,7 @@ var NavTab = function NavTab(_ref) {
|
|
|
37243
36290
|
}, label));
|
|
37244
36291
|
};
|
|
37245
36292
|
|
|
37246
|
-
var NavTab$1 = themeComponent(NavTab, "NavTab", fallbackValues$
|
|
36293
|
+
var NavTab$1 = themeComponent(NavTab, "NavTab", fallbackValues$y);
|
|
37247
36294
|
|
|
37248
36295
|
var NavTabs = function NavTabs(_ref) {
|
|
37249
36296
|
var tabsConfig = _ref.tabsConfig,
|
|
@@ -37298,142 +36345,6 @@ var LoadingLine = function LoadingLine(_ref) {
|
|
|
37298
36345
|
});
|
|
37299
36346
|
};
|
|
37300
36347
|
|
|
37301
|
-
var Table_styled = styled.table.withConfig({
|
|
37302
|
-
displayName: "Tablestyled",
|
|
37303
|
-
componentId: "sc-mveye7-0"
|
|
37304
|
-
})(["width:100%;table-layout:auto;border-collapse:collapse;", ""], function (_ref) {
|
|
37305
|
-
var extraStyles = _ref.extraStyles;
|
|
37306
|
-
return extraStyles;
|
|
37307
|
-
});
|
|
37308
|
-
|
|
37309
|
-
var TableBody_styled = styled.tbody.withConfig({
|
|
37310
|
-
displayName: "TableBodystyled",
|
|
37311
|
-
componentId: "sc-wk5osr-0"
|
|
37312
|
-
})(["", ""], function (_ref) {
|
|
37313
|
-
var extraStyles = _ref.extraStyles;
|
|
37314
|
-
return extraStyles;
|
|
37315
|
-
});
|
|
37316
|
-
|
|
37317
|
-
var TableCell_styled = styled.td.withConfig({
|
|
37318
|
-
displayName: "TableCellstyled",
|
|
37319
|
-
componentId: "sc-iqndn8-0"
|
|
37320
|
-
})(["padding:", ";font-size:", " white-space:nowrap;max-width:", ";overflow:hidden;text-overflow:ellipsis;&:last-child{text-align:right;}", ";"], function (_ref) {
|
|
37321
|
-
var _ref$padding = _ref.padding,
|
|
37322
|
-
padding = _ref$padding === void 0 ? "24px" : _ref$padding;
|
|
37323
|
-
return padding;
|
|
37324
|
-
}, function (_ref2) {
|
|
37325
|
-
var _ref2$fontSize = _ref2.fontSize,
|
|
37326
|
-
fontSize = _ref2$fontSize === void 0 ? "0.875rem" : _ref2$fontSize;
|
|
37327
|
-
return fontSize;
|
|
37328
|
-
}, function (_ref3) {
|
|
37329
|
-
var _ref3$maxWidth = _ref3.maxWidth,
|
|
37330
|
-
maxWidth = _ref3$maxWidth === void 0 ? "250px" : _ref3$maxWidth;
|
|
37331
|
-
return maxWidth;
|
|
37332
|
-
}, function (_ref4) {
|
|
37333
|
-
var extraStyles = _ref4.extraStyles;
|
|
37334
|
-
return extraStyles;
|
|
37335
|
-
});
|
|
37336
|
-
|
|
37337
|
-
var backgroundColor$6 = ALABASTER_WHITE;
|
|
37338
|
-
var borderColor$3 = GREY_CHATEAU;
|
|
37339
|
-
var fallbackValues$A = {
|
|
37340
|
-
backgroundColor: backgroundColor$6,
|
|
37341
|
-
borderColor: borderColor$3
|
|
37342
|
-
};
|
|
37343
|
-
|
|
37344
|
-
var StyledTableHead = styled.thead.withConfig({
|
|
37345
|
-
displayName: "TableHeadstyled",
|
|
37346
|
-
componentId: "sc-j8e6c1-0"
|
|
37347
|
-
})(["background-color:", ";border-bottom:", ";font-size:", ";"], function (_ref) {
|
|
37348
|
-
var backgroundColor = _ref.backgroundColor;
|
|
37349
|
-
return backgroundColor;
|
|
37350
|
-
}, function (_ref2) {
|
|
37351
|
-
var borderColor = _ref2.borderColor;
|
|
37352
|
-
return "1px solid ".concat(borderColor);
|
|
37353
|
-
}, function (_ref3) {
|
|
37354
|
-
var _ref3$fontSize = _ref3.fontSize,
|
|
37355
|
-
fontSize = _ref3$fontSize === void 0 ? "0.875rem" : _ref3$fontSize;
|
|
37356
|
-
return fontSize;
|
|
37357
|
-
});
|
|
37358
|
-
|
|
37359
|
-
var borderColor$4 = GREY_CHATEAU;
|
|
37360
|
-
var hoverBackgroundColor$1 = HOVER_LIGHT_BLUE;
|
|
37361
|
-
var fallbackValues$B = {
|
|
37362
|
-
borderColor: borderColor$4,
|
|
37363
|
-
hoverBackgroundColor: hoverBackgroundColor$1
|
|
37364
|
-
};
|
|
37365
|
-
|
|
37366
|
-
var TableRowWrapper = styled.tr.withConfig({
|
|
37367
|
-
displayName: "TableRowstyled",
|
|
37368
|
-
componentId: "sc-1tc0sav-0"
|
|
37369
|
-
})(["&:not(:last-child){border-bottom:", ";}", " ", ""], function (_ref) {
|
|
37370
|
-
var borderColor = _ref.borderColor;
|
|
37371
|
-
return "1px solid ".concat(borderColor);
|
|
37372
|
-
}, function (_ref2) {
|
|
37373
|
-
var hoverCursor = _ref2.hoverCursor,
|
|
37374
|
-
hoverEffect = _ref2.hoverEffect,
|
|
37375
|
-
hoverBackgroundColor = _ref2.hoverBackgroundColor;
|
|
37376
|
-
return hoverEffect && "&:hover {\n ".concat(hoverCursor && "cursor: pointer", ";\n background-color: ").concat(hoverBackgroundColor, ";\n }");
|
|
37377
|
-
}, function (_ref3) {
|
|
37378
|
-
var extraStyles = _ref3.extraStyles;
|
|
37379
|
-
return extraStyles;
|
|
37380
|
-
});
|
|
37381
|
-
|
|
37382
|
-
var _excluded$w = ["children", "extraStyles", "hoverCursor", "hoverEffect", "onClick", "themeValues"];
|
|
37383
|
-
|
|
37384
|
-
var TableRow = function TableRow(_ref) {
|
|
37385
|
-
var children = _ref.children,
|
|
37386
|
-
extraStyles = _ref.extraStyles,
|
|
37387
|
-
_ref$hoverCursor = _ref.hoverCursor,
|
|
37388
|
-
_ref$hoverEffect = _ref.hoverEffect,
|
|
37389
|
-
hoverEffect = _ref$hoverEffect === void 0 ? true : _ref$hoverEffect,
|
|
37390
|
-
onClick = _ref.onClick,
|
|
37391
|
-
themeValues = _ref.themeValues,
|
|
37392
|
-
props = _objectWithoutProperties(_ref, _excluded$w);
|
|
37393
|
-
|
|
37394
|
-
return /*#__PURE__*/React.createElement(TableRowWrapper, _extends({
|
|
37395
|
-
onClick: onClick,
|
|
37396
|
-
hoverEffect: hoverEffect,
|
|
37397
|
-
extraStyles: extraStyles,
|
|
37398
|
-
borderColor: themeValues.borderColor,
|
|
37399
|
-
hoverBackgroundColor: themeValues.hoverBackgroundColor
|
|
37400
|
-
}, props), children);
|
|
37401
|
-
};
|
|
37402
|
-
|
|
37403
|
-
var TableRow$1 = themeComponent(TableRow, "TableRow", fallbackValues$B);
|
|
37404
|
-
|
|
37405
|
-
var TableHead = function TableHead(_ref) {
|
|
37406
|
-
var children = _ref.children,
|
|
37407
|
-
_ref$extraStyles = _ref.extraStyles,
|
|
37408
|
-
extraStyles = _ref$extraStyles === void 0 ? "" : _ref$extraStyles,
|
|
37409
|
-
themeValues = _ref.themeValues;
|
|
37410
|
-
return /*#__PURE__*/React.createElement(StyledTableHead, {
|
|
37411
|
-
backgroundColor: themeValues.backgroundColor,
|
|
37412
|
-
borderColor: themeValues.borderColor
|
|
37413
|
-
}, /*#__PURE__*/React.createElement(TableRow$1, {
|
|
37414
|
-
extraStyles: extraStyles,
|
|
37415
|
-
hoverEffect: false
|
|
37416
|
-
}, children));
|
|
37417
|
-
};
|
|
37418
|
-
|
|
37419
|
-
var TableHead$1 = themeComponent(TableHead, "TableHead", fallbackValues$A);
|
|
37420
|
-
|
|
37421
|
-
var TableHeading_styled = styled.th.withConfig({
|
|
37422
|
-
displayName: "TableHeadingstyled",
|
|
37423
|
-
componentId: "sc-1ggk38d-0"
|
|
37424
|
-
})(["padding:", ";min-width:", ";text-align:left;&:last-child{text-align:right;}", ""], function (_ref) {
|
|
37425
|
-
var _ref$padding = _ref.padding,
|
|
37426
|
-
padding = _ref$padding === void 0 ? "24px" : _ref$padding;
|
|
37427
|
-
return padding;
|
|
37428
|
-
}, function (_ref2) {
|
|
37429
|
-
var _ref2$minWidth = _ref2.minWidth,
|
|
37430
|
-
minWidth = _ref2$minWidth === void 0 ? "initial" : _ref2$minWidth;
|
|
37431
|
-
return minWidth;
|
|
37432
|
-
}, function (_ref3) {
|
|
37433
|
-
var extraStyles = _ref3.extraStyles;
|
|
37434
|
-
return extraStyles;
|
|
37435
|
-
});
|
|
37436
|
-
|
|
37437
36348
|
const validatorToPredicate = (validatorFn, emptyCase) => (
|
|
37438
36349
|
value,
|
|
37439
36350
|
...rest
|
|
@@ -39336,9 +38247,9 @@ AddressForm.reducer = reducer;
|
|
|
39336
38247
|
AddressForm.mapStateToProps = mapStateToProps$1;
|
|
39337
38248
|
AddressForm.mapDispatchToProps = mapDispatchToProps;
|
|
39338
38249
|
|
|
39339
|
-
var backgroundColor$
|
|
39340
|
-
var fallbackValues$
|
|
39341
|
-
backgroundColor: backgroundColor$
|
|
38250
|
+
var backgroundColor$6 = "#ebeffb";
|
|
38251
|
+
var fallbackValues$z = {
|
|
38252
|
+
backgroundColor: backgroundColor$6
|
|
39342
38253
|
};
|
|
39343
38254
|
|
|
39344
38255
|
var Banner = function Banner(_ref) {
|
|
@@ -39389,7 +38300,7 @@ var Banner = function Banner(_ref) {
|
|
|
39389
38300
|
}, /*#__PURE__*/React.createElement(Image, null))));
|
|
39390
38301
|
};
|
|
39391
38302
|
|
|
39392
|
-
var Banner$1 = themeComponent(Banner, "Banner", fallbackValues$
|
|
38303
|
+
var Banner$1 = themeComponent(Banner, "Banner", fallbackValues$z);
|
|
39393
38304
|
|
|
39394
38305
|
var ChangePasswordForm = function ChangePasswordForm(_ref) {
|
|
39395
38306
|
var _newPasswordErrorMess;
|
|
@@ -39531,7 +38442,7 @@ ChangePasswordForm.mapDispatchToProps = mapDispatchToProps$1;
|
|
|
39531
38442
|
var titleColor$1 = "#292A33";
|
|
39532
38443
|
var headingBackgroundColor = "transparent";
|
|
39533
38444
|
var bodyBackgroundColor = "transparent";
|
|
39534
|
-
var fallbackValues$
|
|
38445
|
+
var fallbackValues$A = {
|
|
39535
38446
|
titleColor: titleColor$1,
|
|
39536
38447
|
headingBackgroundColor: headingBackgroundColor,
|
|
39537
38448
|
bodyBackgroundColor: bodyBackgroundColor
|
|
@@ -39658,7 +38569,7 @@ var CollapsibleSection = function CollapsibleSection(_ref) {
|
|
|
39658
38569
|
}, children))));
|
|
39659
38570
|
};
|
|
39660
38571
|
|
|
39661
|
-
var CollapsibleSection$1 = themeComponent(CollapsibleSection, "CollapsibleSection", fallbackValues$
|
|
38572
|
+
var CollapsibleSection$1 = themeComponent(CollapsibleSection, "CollapsibleSection", fallbackValues$A);
|
|
39662
38573
|
|
|
39663
38574
|
var ClipboardIcon = function ClipboardIcon(_ref) {
|
|
39664
38575
|
var themeValues = _ref.themeValues;
|
|
@@ -39919,8 +38830,8 @@ var EditableListItemControls = styled.div.withConfig({
|
|
|
39919
38830
|
componentId: "sc-10ehkz7-1"
|
|
39920
38831
|
})(["display:flex;justify-content:space-evenly;align-items:center;"]);
|
|
39921
38832
|
|
|
39922
|
-
var ACTIVE = "ACTIVE";
|
|
39923
|
-
var EXPIRED = "EXPIRED";
|
|
38833
|
+
var ACTIVE$1 = "ACTIVE";
|
|
38834
|
+
var EXPIRED$1 = "EXPIRED";
|
|
39924
38835
|
|
|
39925
38836
|
var EditableList = function EditableList(_ref) {
|
|
39926
38837
|
var _ref$title = _ref.title,
|
|
@@ -39949,16 +38860,13 @@ var EditableList = function EditableList(_ref) {
|
|
|
39949
38860
|
autoPayMethods = _ref.autoPayMethods,
|
|
39950
38861
|
_ref$as = _ref.as,
|
|
39951
38862
|
as = _ref$as === void 0 ? "p" : _ref$as,
|
|
39952
|
-
_ref$listPadding = _ref.listPadding,
|
|
39953
|
-
listPadding = _ref$listPadding === void 0 ? "0rem 0rem 1.5rem 0rem" : _ref$listPadding,
|
|
39954
38863
|
qaPrefix = _ref.qaPrefix,
|
|
39955
38864
|
ariaLabel = _ref.ariaLabel;
|
|
39956
38865
|
var addText = "Add a".concat(itemName[0].match(/[aieouAIEOU]/) ? "n" : "", " ").concat(itemName);
|
|
39957
38866
|
return /*#__PURE__*/React.createElement(Box, {
|
|
39958
|
-
padding:
|
|
38867
|
+
padding: "0rem 0rem 1.5rem 0rem",
|
|
39959
38868
|
as: "section",
|
|
39960
|
-
"aria-labelledby":
|
|
39961
|
-
"aria-label": !title && typeof itemName === "string" ? "editable-list-".concat(createIdFromString(itemName)) : ""
|
|
38869
|
+
"aria-labelledby": "li"
|
|
39962
38870
|
}, /*#__PURE__*/React.createElement(Stack, {
|
|
39963
38871
|
childGap: "0rem"
|
|
39964
38872
|
}, title !== "" && /*#__PURE__*/React.createElement(Box, {
|
|
@@ -39967,8 +38875,7 @@ var EditableList = function EditableList(_ref) {
|
|
|
39967
38875
|
as: as,
|
|
39968
38876
|
weight: titleWeight,
|
|
39969
38877
|
color: CHARADE_GREY,
|
|
39970
|
-
extraStyles: "letter-spacing: 0.29px; font-size: 1.125rem;"
|
|
39971
|
-
id: typeof title === "string" ? "editable-list-".concat(createIdFromString(title)) : ""
|
|
38878
|
+
extraStyles: "letter-spacing: 0.29px; font-size: 1.125rem;"
|
|
39972
38879
|
}, title)), /*#__PURE__*/React.createElement(Box, {
|
|
39973
38880
|
padding: "0",
|
|
39974
38881
|
borderRadius: "4px",
|
|
@@ -39981,13 +38888,13 @@ var EditableList = function EditableList(_ref) {
|
|
|
39981
38888
|
modalOpen = _useState2[0],
|
|
39982
38889
|
toggleModal = _useState2[1];
|
|
39983
38890
|
|
|
39984
|
-
var expiredItem = (_item$expirationStatu = item === null || item === void 0 ? void 0 : item.expirationStatus) !== null && _item$expirationStatu !== void 0 ? _item$expirationStatu : ACTIVE;
|
|
38891
|
+
var expiredItem = (_item$expirationStatu = item === null || item === void 0 ? void 0 : item.expirationStatus) !== null && _item$expirationStatu !== void 0 ? _item$expirationStatu : ACTIVE$1;
|
|
39985
38892
|
return /*#__PURE__*/React.createElement(EditableListItem, {
|
|
39986
38893
|
listItemSize: !!item.id && autoPayMethods !== null && autoPayMethods !== void 0 && autoPayMethods.some(function (methodID) {
|
|
39987
38894
|
return methodID === item.id;
|
|
39988
38895
|
}) ? "big" : listItemSize,
|
|
39989
38896
|
key: item.id || item,
|
|
39990
|
-
disabled: expiredItem === EXPIRED
|
|
38897
|
+
disabled: expiredItem === EXPIRED$1
|
|
39991
38898
|
}, /*#__PURE__*/React.createElement(Text$1, {
|
|
39992
38899
|
variant: "p",
|
|
39993
38900
|
color: CHARADE_GREY
|
|
@@ -40248,7 +39155,7 @@ EmailForm.mapDispatchToProps = mapDispatchToProps$3;
|
|
|
40248
39155
|
|
|
40249
39156
|
var footerBackgroundColor = BRIGHT_GREY;
|
|
40250
39157
|
var subfooterBackgroundColor = STORM_GREY;
|
|
40251
|
-
var fallbackValues$
|
|
39158
|
+
var fallbackValues$B = {
|
|
40252
39159
|
footerBackgroundColor: footerBackgroundColor,
|
|
40253
39160
|
subfooterBackgroundColor: subfooterBackgroundColor
|
|
40254
39161
|
};
|
|
@@ -40280,7 +39187,7 @@ var FooterWithSubfooter = function FooterWithSubfooter(_ref) {
|
|
|
40280
39187
|
}));
|
|
40281
39188
|
};
|
|
40282
39189
|
|
|
40283
|
-
var FooterWithSubfooter$1 = themeComponent(FooterWithSubfooter, "FooterWithSubfooter", fallbackValues$
|
|
39190
|
+
var FooterWithSubfooter$1 = themeComponent(FooterWithSubfooter, "FooterWithSubfooter", fallbackValues$B);
|
|
40284
39191
|
|
|
40285
39192
|
var ForgotPasswordForm = function ForgotPasswordForm(_ref) {
|
|
40286
39193
|
var _EmailErrorMessages;
|
|
@@ -40330,11 +39237,11 @@ ForgotPasswordForm.reducer = reducer$4;
|
|
|
40330
39237
|
ForgotPasswordForm.mapStateToProps = mapStateToProps$5;
|
|
40331
39238
|
ForgotPasswordForm.mapDispatchToProps = mapDispatchToProps$4;
|
|
40332
39239
|
|
|
40333
|
-
var textColor$
|
|
40334
|
-
var backgroundColor$
|
|
40335
|
-
var fallbackValues$
|
|
40336
|
-
textColor: textColor$
|
|
40337
|
-
backgroundColor: backgroundColor$
|
|
39240
|
+
var textColor$3 = "#ffffff";
|
|
39241
|
+
var backgroundColor$7 = "#182848";
|
|
39242
|
+
var fallbackValues$C = {
|
|
39243
|
+
textColor: textColor$3,
|
|
39244
|
+
backgroundColor: backgroundColor$7
|
|
40338
39245
|
};
|
|
40339
39246
|
|
|
40340
39247
|
var HighlightTabRow = function HighlightTabRow(_ref) {
|
|
@@ -40364,15 +39271,13 @@ var HighlightTabRow = function HighlightTabRow(_ref) {
|
|
|
40364
39271
|
maxWidth: "76.5rem"
|
|
40365
39272
|
}, /*#__PURE__*/React.createElement(Reel, {
|
|
40366
39273
|
padding: "0",
|
|
40367
|
-
childGap: "
|
|
39274
|
+
childGap: "4.5rem",
|
|
40368
39275
|
childWidth: "11rem",
|
|
40369
39276
|
justifyContent: "space-evenly",
|
|
40370
39277
|
disableScroll: true,
|
|
40371
39278
|
useOrderedList: useOrderedList,
|
|
40372
39279
|
useUnorderedList: useUnorderedList
|
|
40373
39280
|
}, repeat( /*#__PURE__*/React.createElement(Box, null), boxesBefore), tabs.map(function (t, i) {
|
|
40374
|
-
var _t$toLowerCase;
|
|
40375
|
-
|
|
40376
39281
|
return /*#__PURE__*/React.createElement(Box, {
|
|
40377
39282
|
key: t,
|
|
40378
39283
|
borderSize: "3px",
|
|
@@ -40380,8 +39285,7 @@ var HighlightTabRow = function HighlightTabRow(_ref) {
|
|
|
40380
39285
|
borderWidthOverride: "0 0 3px 0",
|
|
40381
39286
|
extraStyles: "text-align: center; display: block;",
|
|
40382
39287
|
as: "li",
|
|
40383
|
-
"aria-current": highlightIndex == i ? "step" : ""
|
|
40384
|
-
id: "".concat(t === null || t === void 0 ? void 0 : (_t$toLowerCase = t.toLowerCase()) === null || _t$toLowerCase === void 0 ? void 0 : _t$toLowerCase.replace(/\s/g, "-"), "-tab")
|
|
39288
|
+
"aria-current": highlightIndex == i ? "step" : ""
|
|
40385
39289
|
}, /*#__PURE__*/React.createElement(Text$1, {
|
|
40386
39290
|
variant: "p",
|
|
40387
39291
|
textAlign: "center",
|
|
@@ -40392,7 +39296,7 @@ var HighlightTabRow = function HighlightTabRow(_ref) {
|
|
|
40392
39296
|
}), repeat( /*#__PURE__*/React.createElement(Box, null), boxesAfter))));
|
|
40393
39297
|
};
|
|
40394
39298
|
|
|
40395
|
-
var HighlightTabRow$1 = themeComponent(HighlightTabRow, "HighlightTabRow", fallbackValues$
|
|
39299
|
+
var HighlightTabRow$1 = /*#__PURE__*/memo(themeComponent(HighlightTabRow, "HighlightTabRow", fallbackValues$C));
|
|
40396
39300
|
|
|
40397
39301
|
var AccountBillIcon = function AccountBillIcon() {
|
|
40398
39302
|
return /*#__PURE__*/React.createElement("svg", {
|
|
@@ -45539,12 +44443,12 @@ var borderRadius = {
|
|
|
45539
44443
|
largeTitle: "0.25rem",
|
|
45540
44444
|
small: "0.25rem"
|
|
45541
44445
|
};
|
|
45542
|
-
var backgroundColor$
|
|
44446
|
+
var backgroundColor$8 = {
|
|
45543
44447
|
"default": WHITE,
|
|
45544
44448
|
largeTitle: WHITE,
|
|
45545
44449
|
small: WHITE
|
|
45546
44450
|
};
|
|
45547
|
-
var fallbackValues$
|
|
44451
|
+
var fallbackValues$D = {
|
|
45548
44452
|
fontSize: fontSize$9,
|
|
45549
44453
|
fontWeight: fontWeight$5,
|
|
45550
44454
|
fontColor: fontColor,
|
|
@@ -45554,7 +44458,7 @@ var fallbackValues$G = {
|
|
|
45554
44458
|
titleSpacing: titleSpacing,
|
|
45555
44459
|
boxShadow: boxShadow$1,
|
|
45556
44460
|
borderRadius: borderRadius,
|
|
45557
|
-
backgroundColor: backgroundColor$
|
|
44461
|
+
backgroundColor: backgroundColor$8
|
|
45558
44462
|
};
|
|
45559
44463
|
|
|
45560
44464
|
/*
|
|
@@ -45581,28 +44485,19 @@ var Module = function Module(_ref) {
|
|
|
45581
44485
|
variant = _ref$variant === void 0 ? "default" : _ref$variant,
|
|
45582
44486
|
fontSize = _ref.fontSize,
|
|
45583
44487
|
as = _ref.as,
|
|
45584
|
-
_ref$titleID = _ref.titleID,
|
|
45585
|
-
titleID = _ref$titleID === void 0 ? "" : _ref$titleID,
|
|
45586
|
-
rightTitleContent = _ref.rightTitleContent,
|
|
45587
44488
|
children = _ref.children;
|
|
45588
44489
|
var themedFontSize = variant === "small" ? "1.25rem" : variant === "default" ? "1.375rem" : "2rem";
|
|
45589
44490
|
var computedFontSize = fontSize || themedFontSize;
|
|
45590
44491
|
var themedElemType = variant === "small" ? "h6" : variant === "default" ? "h5" : "h2";
|
|
45591
44492
|
var computedElemType = as || themedElemType;
|
|
45592
|
-
|
|
44493
|
+
return /*#__PURE__*/React.createElement(Fragment$1, null, heading && /*#__PURE__*/React.createElement(Title$1, {
|
|
45593
44494
|
weight: themeValues.fontWeight,
|
|
45594
44495
|
color: themeValues.fontColor,
|
|
45595
44496
|
margin: "".concat(spacing, " 0 ").concat(themeValues.titleSpacing, " 0"),
|
|
45596
44497
|
textAlign: themeValues.textAlign,
|
|
45597
44498
|
as: computedElemType,
|
|
45598
|
-
extraStyles: "font-size: ".concat(computedFontSize, ";")
|
|
45599
|
-
|
|
45600
|
-
}, heading);
|
|
45601
|
-
return /*#__PURE__*/React.createElement(Fragment$1, null, heading && !rightTitleContent && headingText, heading && rightTitleContent && /*#__PURE__*/React.createElement(Cluster, {
|
|
45602
|
-
justify: "space-between",
|
|
45603
|
-
align: "center",
|
|
45604
|
-
nowrap: true
|
|
45605
|
-
}, headingText, rightTitleContent), /*#__PURE__*/React.createElement(Box, {
|
|
44499
|
+
extraStyles: "font-size: ".concat(computedFontSize, ";")
|
|
44500
|
+
}, heading), /*#__PURE__*/React.createElement(Box, {
|
|
45606
44501
|
padding: "0 0 ".concat(spacingBottom)
|
|
45607
44502
|
}, /*#__PURE__*/React.createElement(Box, {
|
|
45608
44503
|
padding: padding,
|
|
@@ -45612,9 +44507,9 @@ var Module = function Module(_ref) {
|
|
|
45612
44507
|
}, children)));
|
|
45613
44508
|
};
|
|
45614
44509
|
|
|
45615
|
-
var Module$1 = /*#__PURE__*/memo(themeComponent(Module, "Module", fallbackValues$
|
|
44510
|
+
var Module$1 = /*#__PURE__*/memo(themeComponent(Module, "Module", fallbackValues$D, "default"));
|
|
45616
44511
|
|
|
45617
|
-
var backgroundColor$
|
|
44512
|
+
var backgroundColor$9 = {
|
|
45618
44513
|
profile: "#3b414d",
|
|
45619
44514
|
cms: "#3b414d"
|
|
45620
44515
|
};
|
|
@@ -45622,8 +44517,8 @@ var shadowColor = {
|
|
|
45622
44517
|
profile: "#292A33",
|
|
45623
44518
|
cms: "#292A33"
|
|
45624
44519
|
};
|
|
45625
|
-
var fallbackValues$
|
|
45626
|
-
backgroundColor: backgroundColor$
|
|
44520
|
+
var fallbackValues$E = {
|
|
44521
|
+
backgroundColor: backgroundColor$9,
|
|
45627
44522
|
shadowColor: shadowColor
|
|
45628
44523
|
};
|
|
45629
44524
|
|
|
@@ -45663,7 +44558,7 @@ var NavMenuDesktop = function NavMenuDesktop(_ref) {
|
|
|
45663
44558
|
}, menuContent));
|
|
45664
44559
|
};
|
|
45665
44560
|
|
|
45666
|
-
var NavMenuDesktop$1 = themeComponent(NavMenuDesktop, "NavMenu", fallbackValues$
|
|
44561
|
+
var NavMenuDesktop$1 = themeComponent(NavMenuDesktop, "NavMenu", fallbackValues$E, "profile");
|
|
45667
44562
|
|
|
45668
44563
|
var menu = posed.div({
|
|
45669
44564
|
invisible: {
|
|
@@ -45698,25 +44593,19 @@ var menu = posed.div({
|
|
|
45698
44593
|
var ImposterMenu = styled(menu).withConfig({
|
|
45699
44594
|
displayName: "NavMenuMobile__ImposterMenu",
|
|
45700
44595
|
componentId: "sc-1pf0qp7-0"
|
|
45701
|
-
})(["position:fixed;top:
|
|
45702
|
-
var headerSize = _ref.headerSize;
|
|
45703
|
-
return headerSize;
|
|
45704
|
-
});
|
|
44596
|
+
})(["position:fixed;top:72px;"]);
|
|
45705
44597
|
|
|
45706
|
-
var NavMenuMobile = function NavMenuMobile(
|
|
45707
|
-
var id =
|
|
45708
|
-
|
|
45709
|
-
menuContent =
|
|
45710
|
-
|
|
45711
|
-
visible =
|
|
45712
|
-
|
|
45713
|
-
headerSize = _ref2$headerSize === void 0 ? "72px" : _ref2$headerSize,
|
|
45714
|
-
themeValues = _ref2.themeValues;
|
|
44598
|
+
var NavMenuMobile = function NavMenuMobile(_ref) {
|
|
44599
|
+
var id = _ref.id,
|
|
44600
|
+
_ref$menuContent = _ref.menuContent,
|
|
44601
|
+
menuContent = _ref$menuContent === void 0 ? [] : _ref$menuContent,
|
|
44602
|
+
_ref$visible = _ref.visible,
|
|
44603
|
+
visible = _ref$visible === void 0 ? false : _ref$visible,
|
|
44604
|
+
themeValues = _ref.themeValues;
|
|
45715
44605
|
return /*#__PURE__*/React.createElement(ImposterMenu, {
|
|
45716
44606
|
id: id,
|
|
45717
44607
|
initialPose: "invisible",
|
|
45718
|
-
pose: visible ? "visible" : "invisible"
|
|
45719
|
-
headerSize: headerSize
|
|
44608
|
+
pose: visible ? "visible" : "invisible"
|
|
45720
44609
|
}, /*#__PURE__*/React.createElement(Box, {
|
|
45721
44610
|
width: "100vw",
|
|
45722
44611
|
padding: "1rem 0.5rem",
|
|
@@ -45725,11 +44614,7 @@ var NavMenuMobile = function NavMenuMobile(_ref2) {
|
|
|
45725
44614
|
}, menuContent));
|
|
45726
44615
|
};
|
|
45727
44616
|
|
|
45728
|
-
var NavMenuMobile$1 = themeComponent(NavMenuMobile, "NavMenu", fallbackValues$
|
|
45729
|
-
|
|
45730
|
-
var ACH_METHOD = "BANK_ACCOUNT";
|
|
45731
|
-
var CC_METHOD = "CREDIT_CARD";
|
|
45732
|
-
var CASH_METHOD = "CASH";
|
|
44617
|
+
var NavMenuMobile$1 = themeComponent(NavMenuMobile, "NavMenu", fallbackValues$E, "profile");
|
|
45733
44618
|
|
|
45734
44619
|
var IconsModule = function IconsModule(_ref) {
|
|
45735
44620
|
var icon = _ref.icon,
|
|
@@ -45786,7 +44671,7 @@ var activeColor$7 = "#0E506D";
|
|
|
45786
44671
|
var linkColor$4 = "#3176AA";
|
|
45787
44672
|
var fontWeight$6 = FONT_WEIGHT_REGULAR;
|
|
45788
44673
|
var modalLinkHoverFocus = "outline: none;\n cursor: pointer;\n text-decoration: underline;\n text-decoration-color: #317D4F;";
|
|
45789
|
-
var fallbackValues$
|
|
44674
|
+
var fallbackValues$F = {
|
|
45790
44675
|
color: color$a,
|
|
45791
44676
|
hoverColor: hoverColor$5,
|
|
45792
44677
|
activeColor: activeColor$7,
|
|
@@ -45810,27 +44695,13 @@ var AutopayModal = function AutopayModal(_ref) {
|
|
|
45810
44695
|
isPaymentPlan = _ref.isPaymentPlan,
|
|
45811
44696
|
nextAutopayDate = _ref.nextAutopayDate,
|
|
45812
44697
|
dueDate = _ref.dueDate,
|
|
45813
|
-
inactive = _ref.inactive
|
|
45814
|
-
|
|
45815
|
-
subDescription = _ref.subDescription,
|
|
45816
|
-
allowedPaymentInstruments = _ref.allowedPaymentInstruments;
|
|
45817
|
-
|
|
45818
|
-
var generateMethodNeededText = function generateMethodNeededText(planText, allowedPaymentInstruments) {
|
|
45819
|
-
var allowsCard = allowedPaymentInstruments.includes(CC_METHOD);
|
|
45820
|
-
var allowsACH = allowedPaymentInstruments.includes(ACH_METHOD);
|
|
45821
|
-
var methodRequired = allowsCard && !allowsACH ? "debit or credit card payment method" : !allowsCard && allowsACH ? "checking account payment method" : "payment method";
|
|
45822
|
-
return "To setup ".concat(planText, " you must have a saved ").concat(methodRequired, " and address in your profile. Do you want to save these now?");
|
|
45823
|
-
};
|
|
45824
|
-
|
|
45825
|
-
var plan = isPaymentPlan ? "your payment plan" : "autopay";
|
|
45826
|
-
var shortPlan = isPaymentPlan ? "Payment Plan" : "Autopay";
|
|
45827
|
-
var deactivateText = "deactivate ".concat(shortPlan, " for ").concat(description, ": ").concat(subDescription);
|
|
45828
|
-
var activateText = "Set Up ".concat(shortPlan, " for ").concat(description, ": ").concat(subDescription);
|
|
44698
|
+
inactive = _ref.inactive;
|
|
44699
|
+
var planType = isPaymentPlan ? "Payment Plan" : "Autopay";
|
|
45829
44700
|
var nextDate = dueDate || nextAutopayDate;
|
|
45830
44701
|
var modalExtraProps = {
|
|
45831
|
-
modalHeaderText: autoPayActive ?
|
|
45832
|
-
modalBodyText: autoPayActive ? "Are you sure you want to deactivate ".concat(plan, "? ").concat(!inactive && nextDate ? "Your next payment will be due on ".concat(nextDate, ".") : "") :
|
|
45833
|
-
continueButtonText: autoPayActive ? "Disable ".concat(
|
|
44702
|
+
modalHeaderText: autoPayActive ? "Deactivate ".concat(planType) : "Set Up ".concat(planType),
|
|
44703
|
+
modalBodyText: autoPayActive ? "Are you sure you want to deactivate ".concat(isPaymentPlan ? "your payment plan" : "autopay", "? ").concat(!inactive && nextDate ? "Your next payment will be due on ".concat(nextDate, ".") : "") : "To set up ".concat(isPaymentPlan ? "a payment plan" : "autopay", " you must save a payment method and address in your profile. Do you want to save these now?"),
|
|
44704
|
+
continueButtonText: autoPayActive ? "Disable ".concat(planType) : "Add to Profile",
|
|
45834
44705
|
useDangerButton: autoPayActive,
|
|
45835
44706
|
continueAction: autoPayActive ? function () {
|
|
45836
44707
|
deactivatePaymentSchedule(isPaymentPlan ? paymentPlanSchedule : autoPaySchedule, isPaymentPlan);
|
|
@@ -45846,7 +44717,7 @@ var AutopayModal = function AutopayModal(_ref) {
|
|
|
45846
44717
|
case "secondary":
|
|
45847
44718
|
{
|
|
45848
44719
|
return /*#__PURE__*/React.createElement(ButtonWithAction, {
|
|
45849
|
-
text: autoPayActive ? "Turn off ".concat(
|
|
44720
|
+
text: autoPayActive ? "Turn off ".concat(planType) : "Set Up ".concat(planType),
|
|
45850
44721
|
variant: "secondary",
|
|
45851
44722
|
action: function action() {
|
|
45852
44723
|
toggleModal(true);
|
|
@@ -45859,7 +44730,7 @@ var AutopayModal = function AutopayModal(_ref) {
|
|
|
45859
44730
|
case "tertiary":
|
|
45860
44731
|
{
|
|
45861
44732
|
return /*#__PURE__*/React.createElement(ButtonWithAction, {
|
|
45862
|
-
text: autoPayActive ? "Manage ".concat(
|
|
44733
|
+
text: autoPayActive ? "Manage ".concat(planType) : "Set Up ".concat(planType),
|
|
45863
44734
|
variant: "tertiary",
|
|
45864
44735
|
action: function action() {
|
|
45865
44736
|
toggleModal(true);
|
|
@@ -45891,12 +44762,12 @@ var AutopayModal = function AutopayModal(_ref) {
|
|
|
45891
44762
|
e.key === "Enter" && toggleModal(true);
|
|
45892
44763
|
},
|
|
45893
44764
|
tabIndex: "0",
|
|
45894
|
-
dataQa: "".concat(
|
|
44765
|
+
dataQa: "".concat(planType, " On"),
|
|
45895
44766
|
color: SEA_GREEN,
|
|
45896
44767
|
weight: themeValues.fontWeight,
|
|
45897
44768
|
hoverStyles: themeValues.modalLinkHoverFocus,
|
|
45898
44769
|
extraStyles: "padding-left: 0.25rem;"
|
|
45899
|
-
}, "".concat(
|
|
44770
|
+
}, "".concat(planType, " ").concat(nextAutopayDate))));
|
|
45900
44771
|
}
|
|
45901
44772
|
}
|
|
45902
44773
|
};
|
|
@@ -45912,7 +44783,7 @@ var AutopayModal = function AutopayModal(_ref) {
|
|
|
45912
44783
|
}, modalExtraProps), renderAutoPayControl());
|
|
45913
44784
|
};
|
|
45914
44785
|
|
|
45915
|
-
var AutopayModalModule = themeComponent(AutopayModal, "AutopayModal", fallbackValues$
|
|
44786
|
+
var AutopayModalModule = themeComponent(AutopayModal, "AutopayModal", fallbackValues$F);
|
|
45916
44787
|
|
|
45917
44788
|
var AmountModule = function AmountModule(_ref) {
|
|
45918
44789
|
var totalAmountDue = _ref.totalAmountDue,
|
|
@@ -45923,10 +44794,7 @@ var AmountModule = function AmountModule(_ref) {
|
|
|
45923
44794
|
autoPaySchedule = _ref.autoPaySchedule,
|
|
45924
44795
|
paymentPlanSchedule = _ref.paymentPlanSchedule,
|
|
45925
44796
|
isPaymentPlan = _ref.isPaymentPlan,
|
|
45926
|
-
nextAutopayDate = _ref.nextAutopayDate
|
|
45927
|
-
description = _ref.description,
|
|
45928
|
-
subDescription = _ref.subDescription,
|
|
45929
|
-
allowedPaymentInstruments = _ref.allowedPaymentInstruments;
|
|
44797
|
+
nextAutopayDate = _ref.nextAutopayDate;
|
|
45930
44798
|
|
|
45931
44799
|
var _useState = useState(false),
|
|
45932
44800
|
_useState2 = _slicedToArray(_useState, 2),
|
|
@@ -45955,10 +44823,7 @@ var AmountModule = function AmountModule(_ref) {
|
|
|
45955
44823
|
paymentPlanSchedule: paymentPlanSchedule,
|
|
45956
44824
|
isPaymentPlan: isPaymentPlan,
|
|
45957
44825
|
nextAutopayDate: nextAutopayDate,
|
|
45958
|
-
controlType: "link"
|
|
45959
|
-
description: description,
|
|
45960
|
-
subDescription: subDescription,
|
|
45961
|
-
allowedPaymentInstruments: allowedPaymentInstruments
|
|
44826
|
+
controlType: "link"
|
|
45962
44827
|
})));
|
|
45963
44828
|
};
|
|
45964
44829
|
|
|
@@ -45977,10 +44842,7 @@ var PaymentDetailsActions = function PaymentDetailsActions(_ref) {
|
|
|
45977
44842
|
isPaymentPlan = _ref.isPaymentPlan,
|
|
45978
44843
|
nextAutopayDate = _ref.nextAutopayDate,
|
|
45979
44844
|
obligationAssocID = _ref.obligationAssocID,
|
|
45980
|
-
dueDate = _ref.dueDate
|
|
45981
|
-
description = _ref.description,
|
|
45982
|
-
subDescription = _ref.subDescription,
|
|
45983
|
-
allowedPaymentInstruments = _ref.allowedPaymentInstruments;
|
|
44845
|
+
dueDate = _ref.dueDate;
|
|
45984
44846
|
var planType = isPaymentPlan ? "Payment Plan" : "Autopay";
|
|
45985
44847
|
|
|
45986
44848
|
var _useState = useState(false),
|
|
@@ -46036,10 +44898,7 @@ var PaymentDetailsActions = function PaymentDetailsActions(_ref) {
|
|
|
46036
44898
|
autoPaySchedule: autoPaySchedule,
|
|
46037
44899
|
paymentPlanSchedule: paymentPlanSchedule,
|
|
46038
44900
|
isPaymentPlan: isPaymentPlan,
|
|
46039
|
-
nextAutopayDate: nextAutopayDate
|
|
46040
|
-
description: description,
|
|
46041
|
-
subDescription: subDescription,
|
|
46042
|
-
allowedPaymentInstruments: allowedPaymentInstruments
|
|
44901
|
+
nextAutopayDate: nextAutopayDate
|
|
46043
44902
|
}))), /*#__PURE__*/React.createElement(Box, {
|
|
46044
44903
|
padding: isMobile ? "16px" : "0"
|
|
46045
44904
|
}, /*#__PURE__*/React.createElement(Cluster, {
|
|
@@ -46079,10 +44938,7 @@ var PaymentDetailsActions = function PaymentDetailsActions(_ref) {
|
|
|
46079
44938
|
paymentPlanSchedule: paymentPlanSchedule,
|
|
46080
44939
|
isPaymentPlan: isPaymentPlan,
|
|
46081
44940
|
nextAutopayDate: nextAutopayDate,
|
|
46082
|
-
dueDate: dueDate
|
|
46083
|
-
description: description,
|
|
46084
|
-
subDescription: subDescription,
|
|
46085
|
-
allowedPaymentInstruments: allowedPaymentInstruments
|
|
44941
|
+
dueDate: dueDate
|
|
46086
44942
|
})), !isMobile && /*#__PURE__*/React.createElement(Box, {
|
|
46087
44943
|
padding: "0"
|
|
46088
44944
|
}, /*#__PURE__*/React.createElement(ButtonWithAction, {
|
|
@@ -46172,10 +45028,7 @@ var InactiveControlsModule = function InactiveControlsModule(_ref) {
|
|
|
46172
45028
|
dueDate = _ref.dueDate,
|
|
46173
45029
|
agencyName = _ref.agencyName,
|
|
46174
45030
|
configType = _ref.configType,
|
|
46175
|
-
actions = _ref.actions
|
|
46176
|
-
description = _ref.description,
|
|
46177
|
-
subDescription = _ref.subDescription,
|
|
46178
|
-
allowedPaymentInstruments = _ref.allowedPaymentInstruments;
|
|
45031
|
+
actions = _ref.actions;
|
|
46179
45032
|
|
|
46180
45033
|
var _useState = useState(false),
|
|
46181
45034
|
_useState2 = _slicedToArray(_useState, 2),
|
|
@@ -46214,10 +45067,7 @@ var InactiveControlsModule = function InactiveControlsModule(_ref) {
|
|
|
46214
45067
|
obligationAssocID: obligationAssocID,
|
|
46215
45068
|
dueDate: dueDate,
|
|
46216
45069
|
controlType: "secondary",
|
|
46217
|
-
inactive: true
|
|
46218
|
-
description: description,
|
|
46219
|
-
subDescription: subDescription,
|
|
46220
|
-
allowedPaymentInstruments: allowedPaymentInstruments
|
|
45070
|
+
inactive: true
|
|
46221
45071
|
})), /*#__PURE__*/React.createElement(Box, {
|
|
46222
45072
|
padding: "0",
|
|
46223
45073
|
extraStyles: "flex-grow: 1;"
|
|
@@ -46259,7 +45109,7 @@ var InactiveTitleModule = function InactiveTitleModule(_ref) {
|
|
|
46259
45109
|
};
|
|
46260
45110
|
|
|
46261
45111
|
var Obligation = function Obligation(_ref) {
|
|
46262
|
-
var
|
|
45112
|
+
var _firstObligation$cust, _firstObligation$desc, _firstObligation$subD;
|
|
46263
45113
|
|
|
46264
45114
|
var config = _ref.config,
|
|
46265
45115
|
obligations = _ref.obligations,
|
|
@@ -46294,13 +45144,7 @@ var Obligation = function Obligation(_ref) {
|
|
|
46294
45144
|
The top level desc/subdesc for all obligations in a collection is the same
|
|
46295
45145
|
(Collection accounts look different in the Account Details page)
|
|
46296
45146
|
*/
|
|
46297
|
-
var firstObligation =
|
|
46298
|
-
var _firstObligation$allo = firstObligation.allowedPaymentInstruments,
|
|
46299
|
-
allowedPaymentInstruments = _firstObligation$allo === void 0 ? [CASH_METHOD, CC_METHOD, ACH_METHOD] : _firstObligation$allo,
|
|
46300
|
-
_firstObligation$desc = firstObligation.description,
|
|
46301
|
-
description = _firstObligation$desc === void 0 ? "Account" : _firstObligation$desc,
|
|
46302
|
-
_firstObligation$subD = firstObligation.subDescription,
|
|
46303
|
-
subDescription = _firstObligation$subD === void 0 ? obligationAssocID : _firstObligation$subD;
|
|
45147
|
+
var firstObligation = obligations[0];
|
|
46304
45148
|
var customAttributes = (_firstObligation$cust = firstObligation === null || firstObligation === void 0 ? void 0 : firstObligation.customAttributes) !== null && _firstObligation$cust !== void 0 ? _firstObligation$cust : {};
|
|
46305
45149
|
var boxShadowValue = "0px 2px 4px rgba(41, 42, 51, 0.1), 0px 1px 1px 2px rgba(41, 42, 51, 0.1);";
|
|
46306
45150
|
var activeObligation = /*#__PURE__*/React.createElement(Box, {
|
|
@@ -46308,7 +45152,7 @@ var Obligation = function Obligation(_ref) {
|
|
|
46308
45152
|
borderRadius: "4px",
|
|
46309
45153
|
boxShadow: boxShadowValue,
|
|
46310
45154
|
as: "section",
|
|
46311
|
-
"aria-label": "".concat(description, "
|
|
45155
|
+
"aria-label": "".concat((_firstObligation$desc = firstObligation === null || firstObligation === void 0 ? void 0 : firstObligation.description) !== null && _firstObligation$desc !== void 0 ? _firstObligation$desc : "account", " ").concat((_firstObligation$subD = firstObligation === null || firstObligation === void 0 ? void 0 : firstObligation.subDescription) !== null && _firstObligation$subD !== void 0 ? _firstObligation$subD : obligationAssocID),
|
|
46312
45156
|
border: "1px solid ".concat(GRECIAN_GREY),
|
|
46313
45157
|
borderWidthOverride: "1px 0 0 0"
|
|
46314
45158
|
}, /*#__PURE__*/React.createElement(Box, {
|
|
@@ -46337,8 +45181,8 @@ var Obligation = function Obligation(_ref) {
|
|
|
46337
45181
|
iconValue: config.iconValue,
|
|
46338
45182
|
customAttributes: customAttributes
|
|
46339
45183
|
}), /*#__PURE__*/React.createElement(TitleModule, {
|
|
46340
|
-
title: description,
|
|
46341
|
-
subtitle: subDescription,
|
|
45184
|
+
title: firstObligation === null || firstObligation === void 0 ? void 0 : firstObligation.description,
|
|
45185
|
+
subtitle: firstObligation === null || firstObligation === void 0 ? void 0 : firstObligation.subDescription,
|
|
46342
45186
|
titleColor: BRIGHT_GREY,
|
|
46343
45187
|
isMobile: isMobile
|
|
46344
45188
|
}))), !isMobile && /*#__PURE__*/React.createElement(AmountModule, {
|
|
@@ -46352,10 +45196,7 @@ var Obligation = function Obligation(_ref) {
|
|
|
46352
45196
|
autoPaySchedule: autoPaySchedule,
|
|
46353
45197
|
paymentPlanSchedule: paymentPlanSchedule,
|
|
46354
45198
|
isPaymentPlan: isPaymentPlan,
|
|
46355
|
-
nextAutopayDate: nextAutopayDate
|
|
46356
|
-
description: description,
|
|
46357
|
-
subDescription: subDescription,
|
|
46358
|
-
allowedPaymentInstruments: allowedPaymentInstruments
|
|
45199
|
+
nextAutopayDate: nextAutopayDate
|
|
46359
45200
|
}))), !isMobile && /*#__PURE__*/React.createElement(PaymentDetailsActions, {
|
|
46360
45201
|
obligations: obligations,
|
|
46361
45202
|
autoPayEnabled: autoPayEnabled,
|
|
@@ -46370,10 +45211,7 @@ var Obligation = function Obligation(_ref) {
|
|
|
46370
45211
|
isMobile: isMobile,
|
|
46371
45212
|
isPaymentPlan: isPaymentPlan,
|
|
46372
45213
|
nextAutopayDate: nextAutopayDate,
|
|
46373
|
-
obligationAssocID: obligationAssocID
|
|
46374
|
-
description: description,
|
|
46375
|
-
subDescription: subDescription,
|
|
46376
|
-
allowedPaymentInstruments: allowedPaymentInstruments
|
|
45214
|
+
obligationAssocID: obligationAssocID
|
|
46377
45215
|
}))), isMobile && /*#__PURE__*/React.createElement(PaymentDetailsActions, {
|
|
46378
45216
|
obligations: obligations,
|
|
46379
45217
|
autoPayEnabled: autoPayEnabled,
|
|
@@ -46388,10 +45226,7 @@ var Obligation = function Obligation(_ref) {
|
|
|
46388
45226
|
isMobile: isMobile,
|
|
46389
45227
|
isPaymentPlan: isPaymentPlan,
|
|
46390
45228
|
nextAutopayDate: nextAutopayDate,
|
|
46391
|
-
obligationAssocID: obligationAssocID
|
|
46392
|
-
description: description,
|
|
46393
|
-
subDescription: subDescription,
|
|
46394
|
-
allowedPaymentInstruments: allowedPaymentInstruments
|
|
45229
|
+
obligationAssocID: obligationAssocID
|
|
46395
45230
|
}));
|
|
46396
45231
|
var inactiveObligation = /*#__PURE__*/React.createElement(Box, {
|
|
46397
45232
|
padding: "0",
|
|
@@ -46444,10 +45279,7 @@ var Obligation = function Obligation(_ref) {
|
|
|
46444
45279
|
obligationAssocID: obligationAssocID,
|
|
46445
45280
|
dueDate: dueDate,
|
|
46446
45281
|
agencyName: agencyName,
|
|
46447
|
-
configType: config.type
|
|
46448
|
-
description: description,
|
|
46449
|
-
subDescription: subDescription,
|
|
46450
|
-
allowedPaymentInstruments: allowedPaymentInstruments
|
|
45282
|
+
configType: config.type
|
|
46451
45283
|
}))), isMobile && /*#__PURE__*/React.createElement(InactiveControlsModule, {
|
|
46452
45284
|
obligations: obligations,
|
|
46453
45285
|
autoPayEnabled: autoPayEnabled,
|
|
@@ -46461,10 +45293,7 @@ var Obligation = function Obligation(_ref) {
|
|
|
46461
45293
|
obligationAssocID: obligationAssocID,
|
|
46462
45294
|
dueDate: dueDate,
|
|
46463
45295
|
agencyName: agencyName,
|
|
46464
|
-
configType: config.type
|
|
46465
|
-
description: description,
|
|
46466
|
-
subDescription: subDescription,
|
|
46467
|
-
allowedPaymentInstruments: allowedPaymentInstruments
|
|
45296
|
+
configType: config.type
|
|
46468
45297
|
}))));
|
|
46469
45298
|
return inactive ? inactiveObligation : activeObligation;
|
|
46470
45299
|
};
|
|
@@ -46564,54 +45393,24 @@ var createPartialAmountFormState = function createPartialAmountFormState(lineIte
|
|
|
46564
45393
|
};
|
|
46565
45394
|
};
|
|
46566
45395
|
|
|
46567
|
-
var arrowColor = WHITE;
|
|
46568
|
-
var numberColor = MATISSE_BLUE;
|
|
46569
|
-
var hoverBackgroundColor$2 = ALABASTER_WHITE;
|
|
46570
|
-
var activeBackgroundColor$1 = WHITE;
|
|
46571
|
-
var activeColor$8 = MATISSE_BLUE;
|
|
46572
|
-
var fallbackValues$J = {
|
|
46573
|
-
activeColor: activeColor$8,
|
|
46574
|
-
activeBackgroundColor: activeBackgroundColor$1,
|
|
46575
|
-
arrowColor: arrowColor,
|
|
46576
|
-
hoverBackgroundColor: hoverBackgroundColor$2,
|
|
46577
|
-
numberColor: numberColor
|
|
46578
|
-
};
|
|
46579
|
-
|
|
46580
45396
|
var PAGING_SPACE = 2; // how many pages we want to have before/after delimiter
|
|
46581
45397
|
|
|
46582
45398
|
var PAGING_INIT_SPACE = 3; // first delimiter should appear after 3 pages
|
|
46583
45399
|
|
|
46584
|
-
var
|
|
46585
|
-
var
|
|
46586
|
-
|
|
46587
|
-
|
|
46588
|
-
|
|
46589
|
-
minHeight: buttonHeight,
|
|
46590
|
-
minWidth: buttonWidth,
|
|
46591
|
-
extraStyles: "max-height: ".concat(buttonHeight, ";")
|
|
46592
|
-
});
|
|
46593
|
-
};
|
|
46594
|
-
|
|
46595
|
-
var PrevNextButton = function PrevNextButton(_ref2) {
|
|
46596
|
-
var action = _ref2.action,
|
|
46597
|
-
ariaLabel = _ref2.ariaLabel,
|
|
46598
|
-
arrowColor = _ref2.arrowColor,
|
|
46599
|
-
borderRadius = _ref2.borderRadius,
|
|
46600
|
-
buttonHeight = _ref2.buttonHeight,
|
|
46601
|
-
buttonWidth = _ref2.buttonWidth,
|
|
46602
|
-
numberColor = _ref2.numberColor,
|
|
46603
|
-
type = _ref2.type;
|
|
45400
|
+
var PrevNextButton = function PrevNextButton(_ref) {
|
|
45401
|
+
var action = _ref.action,
|
|
45402
|
+
type = _ref.type,
|
|
45403
|
+
arrowColor = _ref.arrowColor,
|
|
45404
|
+
numberColor = _ref.numberColor;
|
|
46604
45405
|
return /*#__PURE__*/React.createElement(Box, {
|
|
46605
|
-
padding: "0",
|
|
46606
|
-
minHeight:
|
|
46607
|
-
extraStyles: "max-height:
|
|
46608
|
-
as: "li"
|
|
45406
|
+
padding: "0 10px 0",
|
|
45407
|
+
minHeight: "40px",
|
|
45408
|
+
extraStyles: "max-height: 40px;"
|
|
46609
45409
|
}, /*#__PURE__*/React.createElement(ButtonWithAction, {
|
|
46610
45410
|
action: action,
|
|
46611
45411
|
contentOverride: true,
|
|
46612
45412
|
dataQa: type,
|
|
46613
|
-
"
|
|
46614
|
-
extraStyles: "\n background-color: ".concat(numberColor, ";\n border-color: ").concat(numberColor, ";\n border-radius: ").concat(borderRadius, ";\n margin: 0;\n max-height: ").concat(buttonHeight, ";\n min-height: 100%;\n min-width: ").concat(buttonWidth, ";\n padding: 0;\n ")
|
|
45413
|
+
extraStyles: "\n min-width: 40px;\n min-height: 100%;\n max-height: 40px;\n padding: 6px;\n border-radius: 3px;\n background-color: ".concat(numberColor !== null && numberColor !== void 0 ? numberColor : MATISSE_BLUE, ";\n border-color: ").concat(numberColor !== null && numberColor !== void 0 ? numberColor : MATISSE_BLUE, "\n ")
|
|
46615
45414
|
}, /*#__PURE__*/React.createElement(Box, {
|
|
46616
45415
|
padding: "0",
|
|
46617
45416
|
extraStyles: type === "prev" && "transform: scaleX(-1)"
|
|
@@ -46635,30 +45434,26 @@ var getPagesPanel = function getPagesPanel(page, pagesCount) {
|
|
|
46635
45434
|
|
|
46636
45435
|
if (page > space + 1) {
|
|
46637
45436
|
pages.push({
|
|
46638
|
-
isDelimiter: true
|
|
46639
|
-
id: "first-delimiter"
|
|
45437
|
+
isDelimiter: true
|
|
46640
45438
|
});
|
|
46641
45439
|
}
|
|
46642
45440
|
|
|
46643
45441
|
for (var j = Math.max(1, page - space) + 1; j < Math.min(lastPageNumber, page + space); j++) {
|
|
46644
45442
|
pages.push({
|
|
46645
45443
|
index: j,
|
|
46646
|
-
isButton: true
|
|
46647
|
-
id: "page-".concat(j)
|
|
45444
|
+
isButton: true
|
|
46648
45445
|
});
|
|
46649
45446
|
}
|
|
46650
45447
|
|
|
46651
45448
|
if (page < lastPageNumber - space) {
|
|
46652
45449
|
pages.push({
|
|
46653
|
-
isDelimiter: true
|
|
46654
|
-
id: "last-delimiter"
|
|
45450
|
+
isDelimiter: true
|
|
46655
45451
|
});
|
|
46656
45452
|
}
|
|
46657
45453
|
|
|
46658
45454
|
pages.push({
|
|
46659
45455
|
index: lastPageNumber,
|
|
46660
|
-
isButton: true
|
|
46661
|
-
id: "page-".concat(lastPageNumber)
|
|
45456
|
+
isButton: true
|
|
46662
45457
|
});
|
|
46663
45458
|
var activePage = pages.find(function (p) {
|
|
46664
45459
|
return p.index === page;
|
|
@@ -46671,114 +45466,59 @@ var getPagesPanel = function getPagesPanel(page, pagesCount) {
|
|
|
46671
45466
|
return pages;
|
|
46672
45467
|
};
|
|
46673
45468
|
|
|
46674
|
-
var Pagination = function Pagination(
|
|
46675
|
-
var
|
|
46676
|
-
|
|
46677
|
-
|
|
46678
|
-
|
|
46679
|
-
|
|
46680
|
-
|
|
46681
|
-
|
|
46682
|
-
_ref3$buttonWidth = _ref3.buttonWidth,
|
|
46683
|
-
buttonWidth = _ref3$buttonWidth === void 0 ? "44px" : _ref3$buttonWidth,
|
|
46684
|
-
_ref3$childGap = _ref3.childGap,
|
|
46685
|
-
childGap = _ref3$childGap === void 0 ? "24px" : _ref3$childGap,
|
|
46686
|
-
currentPage = _ref3.currentPage,
|
|
46687
|
-
_ref3$fontSize = _ref3.fontSize,
|
|
46688
|
-
fontSize = _ref3$fontSize === void 0 ? "17px" : _ref3$fontSize,
|
|
46689
|
-
_ref3$fontWeight = _ref3.fontWeight,
|
|
46690
|
-
fontWeight = _ref3$fontWeight === void 0 ? "900" : _ref3$fontWeight,
|
|
46691
|
-
numberColor = _ref3.numberColor,
|
|
46692
|
-
pageCount = _ref3.pageCount,
|
|
46693
|
-
pageNext = _ref3.pageNext,
|
|
46694
|
-
pagePrevious = _ref3.pagePrevious,
|
|
46695
|
-
setCurrentPage = _ref3.setCurrentPage,
|
|
46696
|
-
ariaLabel = _ref3.ariaLabel,
|
|
46697
|
-
themeValues = _ref3.themeValues;
|
|
46698
|
-
|
|
46699
|
-
var _useContext = useContext(ThemeContext),
|
|
46700
|
-
isMobile = _useContext.isMobile;
|
|
46701
|
-
|
|
46702
|
-
var extraStyles = "\n min-width: ".concat(buttonWidth, "; min-height: 100%; padding: 0;\n border-radius: ").concat(borderRadius, ";\n &:hover, &:focus {\n text-decoration: none;\n > * > span {\n text-decoration: none;\n }\n }\n > * > span {\n color: ").concat(numberColor !== null && numberColor !== void 0 ? numberColor : themeValues.numberColor, "\n }\n margin: 0;\n &:hover {\n background-color: ").concat(themeValues.hoverBackgroundColor, "\n }\n ");
|
|
46703
|
-
var currentPageStyles = "\n border: ".concat(activeBorderWidth, " solid ").concat(numberColor !== null && numberColor !== void 0 ? numberColor : themeValues.numberColor, ";\n color: ").concat(numberColor !== null && numberColor !== void 0 ? numberColor : themeValues.activeColor, ";\n background-color: ").concat(themeValues.activeBackgroundColor, ";\n &:focus {\n box-shadow: none;\n }\n &:hover {\n background-color: initial;\n border: ").concat(activeBorderWidth, " solid ").concat(numberColor !== null && numberColor !== void 0 ? numberColor : themeValues.numberColor, ";\n background-color: ").concat(themeValues.activeBackgroundColor, ";\n }\n ");
|
|
45469
|
+
var Pagination = function Pagination(_ref2) {
|
|
45470
|
+
var pagePrevious = _ref2.pagePrevious,
|
|
45471
|
+
pageNext = _ref2.pageNext,
|
|
45472
|
+
setCurrentPage = _ref2.setCurrentPage,
|
|
45473
|
+
currentPage = _ref2.currentPage,
|
|
45474
|
+
pageCount = _ref2.pageCount,
|
|
45475
|
+
numberColor = _ref2.numberColor,
|
|
45476
|
+
arrowColor = _ref2.arrowColor;
|
|
46704
45477
|
return /*#__PURE__*/React.createElement(Cluster, {
|
|
46705
45478
|
justify: "center",
|
|
46706
|
-
childGap:
|
|
46707
|
-
|
|
46708
|
-
|
|
46709
|
-
role: "navigation",
|
|
46710
|
-
innerWrapperAs: "ul",
|
|
46711
|
-
"aria-label": ariaLabel,
|
|
46712
|
-
extraStyles: "> ul { padding: 0px; > li { list-style-type: none; } };"
|
|
46713
|
-
}, currentPage > 1 ? /*#__PURE__*/React.createElement(PrevNextButton, {
|
|
45479
|
+
childGap: "10px"
|
|
45480
|
+
}, currentPage > 1 && /*#__PURE__*/React.createElement(PrevNextButton, {
|
|
45481
|
+
type: "prev",
|
|
46714
45482
|
action: pagePrevious,
|
|
46715
|
-
|
|
46716
|
-
|
|
46717
|
-
|
|
46718
|
-
buttonHeight: buttonHeight,
|
|
46719
|
-
buttonWidth: buttonWidth,
|
|
46720
|
-
numberColor: numberColor !== null && numberColor !== void 0 ? numberColor : themeValues.numberColor,
|
|
46721
|
-
type: "prev"
|
|
46722
|
-
}) : isMobile && /*#__PURE__*/React.createElement(PrevNextPlaceholder, {
|
|
46723
|
-
buttonHeight: buttonHeight,
|
|
46724
|
-
buttonWidth: buttonWidth
|
|
46725
|
-
}), isMobile ? pageCount > 0 && /*#__PURE__*/React.createElement(Box, {
|
|
46726
|
-
padding: "0"
|
|
46727
|
-
}, /*#__PURE__*/React.createElement(Cover, {
|
|
46728
|
-
singleChild: true
|
|
46729
|
-
}, /*#__PURE__*/React.createElement(Text$1, {
|
|
46730
|
-
variant: "pXL",
|
|
46731
|
-
weight: fontWeight,
|
|
46732
|
-
color: numberColor !== null && numberColor !== void 0 ? numberColor : themeValues.numberColor,
|
|
46733
|
-
extraStyles: "font-size: ".concat(fontSize)
|
|
46734
|
-
}, "".concat(currentPage, " of ").concat(pageCount)))) : getPagesPanel(currentPage, pageCount).map(function (item, index) {
|
|
45483
|
+
arrowColor: arrowColor,
|
|
45484
|
+
numberColor: numberColor
|
|
45485
|
+
}), getPagesPanel(currentPage, pageCount).map(function (item, index) {
|
|
46735
45486
|
return item.isButton ? /*#__PURE__*/React.createElement(Box, {
|
|
46736
45487
|
padding: "0",
|
|
46737
|
-
|
|
46738
|
-
|
|
46739
|
-
|
|
45488
|
+
border: item.active && "1px solid ".concat(numberColor !== null && numberColor !== void 0 ? numberColor : MATISSE_BLUE),
|
|
45489
|
+
borderRadius: item.active && "3px",
|
|
45490
|
+
extraStyles: "max-height: 40px;"
|
|
46740
45491
|
}, /*#__PURE__*/React.createElement(ButtonWithAction, {
|
|
46741
45492
|
variant: "ghost",
|
|
45493
|
+
key: item.index,
|
|
46742
45494
|
text: item.index,
|
|
46743
|
-
|
|
46744
|
-
"aria-label": "".concat(item.index == pageCount ? "Last Page, " : "", "page ").concat(item.index),
|
|
45495
|
+
disabled: item.active,
|
|
46745
45496
|
action: !item.active ? function () {
|
|
46746
45497
|
return setCurrentPage({
|
|
46747
45498
|
pageNumber: item.index
|
|
46748
45499
|
});
|
|
46749
45500
|
} : noop,
|
|
46750
|
-
textExtraStyles: "font-size:
|
|
46751
|
-
extraStyles: "".concat(
|
|
45501
|
+
textExtraStyles: "font-size: 17px; font-weight: 900;",
|
|
45502
|
+
extraStyles: "\n min-width: 40px; min-height: 100%; padding: 0;\n &:hover, &:focus {\n text-decoration: none;\n > * > span {\n text-decoration: none;\n }\n }\n > * > span {\n color: ".concat(numberColor !== null && numberColor !== void 0 ? numberColor : MATISSE_BLUE, "\n }\n }\n &:hover { ").concat(item.active ? "cursor: default;" : "background-color: ".concat(ALABASTER_WHITE), " }\n "),
|
|
46752
45503
|
dataQa: index
|
|
46753
45504
|
}, item.index)) : /*#__PURE__*/React.createElement(Box, {
|
|
46754
|
-
padding: "0 10px"
|
|
46755
|
-
as: "li",
|
|
46756
|
-
key: item.id
|
|
45505
|
+
padding: "0 10px"
|
|
46757
45506
|
}, /*#__PURE__*/React.createElement(Cluster, {
|
|
46758
45507
|
justify: "flex-end"
|
|
46759
45508
|
}, /*#__PURE__*/React.createElement(Text$1, {
|
|
45509
|
+
key: index,
|
|
46760
45510
|
variant: "pXL",
|
|
46761
|
-
weight:
|
|
46762
|
-
color: numberColor !== null && numberColor !== void 0 ? numberColor :
|
|
46763
|
-
|
|
46764
|
-
|
|
46765
|
-
|
|
45511
|
+
weight: "900",
|
|
45512
|
+
color: numberColor !== null && numberColor !== void 0 ? numberColor : MATISSE_BLUE
|
|
45513
|
+
}, "...")));
|
|
45514
|
+
}), currentPage < pageCount && /*#__PURE__*/React.createElement(PrevNextButton, {
|
|
45515
|
+
type: "next",
|
|
46766
45516
|
action: pageNext,
|
|
46767
|
-
|
|
46768
|
-
|
|
46769
|
-
borderRadius: borderRadius,
|
|
46770
|
-
buttonHeight: buttonHeight,
|
|
46771
|
-
buttonWidth: buttonWidth,
|
|
46772
|
-
numberColor: numberColor !== null && numberColor !== void 0 ? numberColor : themeValues.numberColor,
|
|
46773
|
-
type: "next"
|
|
46774
|
-
}) : isMobile && /*#__PURE__*/React.createElement(PrevNextPlaceholder, {
|
|
46775
|
-
buttonHeight: buttonHeight,
|
|
46776
|
-
buttonWidth: buttonWidth
|
|
45517
|
+
arrowColor: arrowColor,
|
|
45518
|
+
numberColor: numberColor
|
|
46777
45519
|
}));
|
|
46778
45520
|
};
|
|
46779
45521
|
|
|
46780
|
-
var Pagination$1 = themeComponent(Pagination, "Pagination", fallbackValues$J);
|
|
46781
|
-
|
|
46782
45522
|
var PaymentButtonBar = function PaymentButtonBar(_ref) {
|
|
46783
45523
|
var _ref$forwardButtonTex = _ref.forwardButtonText,
|
|
46784
45524
|
forwardButtonText = _ref$forwardButtonTex === void 0 ? "Next" : _ref$forwardButtonTex,
|
|
@@ -46839,7 +45579,7 @@ var PaymentButtonBar = function PaymentButtonBar(_ref) {
|
|
|
46839
45579
|
}, backButton, !hideForwardButton && /*#__PURE__*/React.createElement(Fragment$1, null, forwardButton))));
|
|
46840
45580
|
};
|
|
46841
45581
|
|
|
46842
|
-
var backgroundColor$
|
|
45582
|
+
var backgroundColor$a = {
|
|
46843
45583
|
"default": "transparent",
|
|
46844
45584
|
small: "transparent"
|
|
46845
45585
|
};
|
|
@@ -46855,14 +45595,14 @@ var labeledAmountTotal = {
|
|
|
46855
45595
|
"default": "h6",
|
|
46856
45596
|
small: "p"
|
|
46857
45597
|
};
|
|
46858
|
-
var fallbackValues$
|
|
46859
|
-
backgroundColor: backgroundColor$
|
|
45598
|
+
var fallbackValues$G = {
|
|
45599
|
+
backgroundColor: backgroundColor$a,
|
|
46860
45600
|
lineItem: lineItem,
|
|
46861
45601
|
labeledAmountSubtotal: labeledAmountSubtotal,
|
|
46862
45602
|
labeledAmountTotal: labeledAmountTotal
|
|
46863
45603
|
};
|
|
46864
45604
|
|
|
46865
|
-
var _excluded$
|
|
45605
|
+
var _excluded$w = ["amount"],
|
|
46866
45606
|
_excluded2$1 = ["amount"];
|
|
46867
45607
|
|
|
46868
45608
|
var PaymentDetailsContent = function PaymentDetailsContent(_ref) {
|
|
@@ -47007,7 +45747,7 @@ var PaymentDetails = function PaymentDetails(_ref4) {
|
|
|
47007
45747
|
return fee.amount > 0;
|
|
47008
45748
|
}).map(function (_ref5) {
|
|
47009
45749
|
var amount = _ref5.amount,
|
|
47010
|
-
rest = _objectWithoutProperties(_ref5, _excluded$
|
|
45750
|
+
rest = _objectWithoutProperties(_ref5, _excluded$w);
|
|
47011
45751
|
|
|
47012
45752
|
return _objectSpread2(_objectSpread2({}, rest), {}, {
|
|
47013
45753
|
amount: displayCurrency(amount)
|
|
@@ -47106,7 +45846,7 @@ var PaymentDetails = function PaymentDetails(_ref4) {
|
|
|
47106
45846
|
});
|
|
47107
45847
|
};
|
|
47108
45848
|
|
|
47109
|
-
var PaymentDetails$1 = themeComponent(PaymentDetails, "PaymentDetails", fallbackValues$
|
|
45849
|
+
var PaymentDetails$1 = themeComponent(PaymentDetails, "PaymentDetails", fallbackValues$G, "default");
|
|
47110
45850
|
|
|
47111
45851
|
var linkColor$5 = {
|
|
47112
45852
|
"default": "#3176AA"
|
|
@@ -47123,7 +45863,7 @@ var fontWeight$7 = {
|
|
|
47123
45863
|
var modalLinkHoverFocus$1 = {
|
|
47124
45864
|
"default": "outline: none; text-decoration: underline;"
|
|
47125
45865
|
};
|
|
47126
|
-
var fallbackValues$
|
|
45866
|
+
var fallbackValues$H = {
|
|
47127
45867
|
linkColor: linkColor$5,
|
|
47128
45868
|
fontSize: fontSize$a,
|
|
47129
45869
|
lineHeight: lineHeight$4,
|
|
@@ -47182,324 +45922,7 @@ var AccountAndRoutingModal = function AccountAndRoutingModal(_ref) {
|
|
|
47182
45922
|
}, link));
|
|
47183
45923
|
};
|
|
47184
45924
|
|
|
47185
|
-
var AccountAndRoutingModal$1 = themeComponent(AccountAndRoutingModal, "AccountAndRoutingModal", fallbackValues$
|
|
47186
|
-
|
|
47187
|
-
var backgroundColor$c = {
|
|
47188
|
-
"default": "#ffffff",
|
|
47189
|
-
footer: "#ffffff"
|
|
47190
|
-
};
|
|
47191
|
-
var linkColor$6 = {
|
|
47192
|
-
"default": "#3176AA",
|
|
47193
|
-
footer: "#ffffff"
|
|
47194
|
-
};
|
|
47195
|
-
var border$3 = {
|
|
47196
|
-
"default": "#cdcdcd",
|
|
47197
|
-
footer: "#cdcdcd"
|
|
47198
|
-
};
|
|
47199
|
-
var fontSize$b = {
|
|
47200
|
-
"default": "1rem",
|
|
47201
|
-
footer: "0.875rem"
|
|
47202
|
-
};
|
|
47203
|
-
var lineHeight$5 = {
|
|
47204
|
-
"default": "1.5rem",
|
|
47205
|
-
footer: "1.25rem"
|
|
47206
|
-
};
|
|
47207
|
-
var fontWeight$8 = {
|
|
47208
|
-
"default": FONT_WEIGHT_REGULAR,
|
|
47209
|
-
footer: FONT_WEIGHT_SEMIBOLD
|
|
47210
|
-
};
|
|
47211
|
-
var standardInteractionStyles = "\n &:hover {\n outline: none; \n text-decoration: underline;\n }\n &:focus {\n outline: 3px solid #3181E3;\n outline-offset: 2px;\n }\n";
|
|
47212
|
-
var modalLinkHoverFocus$2 = {
|
|
47213
|
-
"default": standardInteractionStyles,
|
|
47214
|
-
footer: standardInteractionStyles
|
|
47215
|
-
};
|
|
47216
|
-
var fallbackValues$M = {
|
|
47217
|
-
backgroundColor: backgroundColor$c,
|
|
47218
|
-
linkColor: linkColor$6,
|
|
47219
|
-
border: border$3,
|
|
47220
|
-
fontSize: fontSize$b,
|
|
47221
|
-
lineHeight: lineHeight$5,
|
|
47222
|
-
fontWeight: fontWeight$8,
|
|
47223
|
-
modalLinkHoverFocus: modalLinkHoverFocus$2
|
|
47224
|
-
};
|
|
47225
|
-
|
|
47226
|
-
var TermsAndConditionsModal = function TermsAndConditionsModal(_ref) {
|
|
47227
|
-
var link = _ref.link,
|
|
47228
|
-
_ref$title = _ref.title,
|
|
47229
|
-
title = _ref$title === void 0 ? "Terms & Conditions" : _ref$title,
|
|
47230
|
-
isOpen = _ref.isOpen,
|
|
47231
|
-
toggleOpen = _ref.toggleOpen,
|
|
47232
|
-
toggleAccepted = _ref.toggleAccepted,
|
|
47233
|
-
acceptText = _ref.acceptText,
|
|
47234
|
-
terms = _ref.terms,
|
|
47235
|
-
variant = _ref.variant,
|
|
47236
|
-
_ref$linkVariant = _ref.linkVariant,
|
|
47237
|
-
linkVariant = _ref$linkVariant === void 0 ? "p" : _ref$linkVariant,
|
|
47238
|
-
themeValues = _ref.themeValues;
|
|
47239
|
-
return /*#__PURE__*/React.createElement(Modal$1, {
|
|
47240
|
-
modalOpen: isOpen,
|
|
47241
|
-
hideModal: function hideModal() {
|
|
47242
|
-
return toggleOpen(false);
|
|
47243
|
-
},
|
|
47244
|
-
showModal: function showModal() {
|
|
47245
|
-
return toggleOpen(true);
|
|
47246
|
-
},
|
|
47247
|
-
modalHeaderText: title,
|
|
47248
|
-
modalBodyText: /*#__PURE__*/React.createElement(Box, {
|
|
47249
|
-
background: themeValues.backgroundColor,
|
|
47250
|
-
border: "1px solid ".concat(themeValues.border),
|
|
47251
|
-
borderRadius: "3px",
|
|
47252
|
-
extraStyles: "overflow: scroll; max-height: 20rem;",
|
|
47253
|
-
id: "terms-body-text"
|
|
47254
|
-
}, /*#__PURE__*/React.createElement(Text$1, {
|
|
47255
|
-
variant: "p",
|
|
47256
|
-
extraStyles: "& a { text-decoration: underline; }"
|
|
47257
|
-
}, terms)),
|
|
47258
|
-
defaultWrapper: false,
|
|
47259
|
-
onlyCloseButton: !acceptText,
|
|
47260
|
-
continueButtonText: acceptText,
|
|
47261
|
-
continueAction: function continueAction() {
|
|
47262
|
-
toggleAccepted(true);
|
|
47263
|
-
toggleOpen(false);
|
|
47264
|
-
}
|
|
47265
|
-
}, /*#__PURE__*/React.createElement(Text$1, {
|
|
47266
|
-
variant: linkVariant,
|
|
47267
|
-
onClick: function onClick() {
|
|
47268
|
-
return toggleOpen(true);
|
|
47269
|
-
},
|
|
47270
|
-
onKeyPress: function onKeyPress(e) {
|
|
47271
|
-
return e.key === "Enter" && toggleOpen(true);
|
|
47272
|
-
},
|
|
47273
|
-
tabIndex: "0",
|
|
47274
|
-
color: themeValues.linkColor,
|
|
47275
|
-
weight: themeValues.fontWeight,
|
|
47276
|
-
hoverStyles: themeValues.modalLinkHoverFocus,
|
|
47277
|
-
extraStyles: "display: inline-block; width: fit-content; cursor: pointer"
|
|
47278
|
-
}, link));
|
|
47279
|
-
};
|
|
47280
|
-
|
|
47281
|
-
var TermsAndConditionsModal$1 = themeComponent(TermsAndConditionsModal, "TermsAndConditionsModal", fallbackValues$M, "default");
|
|
47282
|
-
|
|
47283
|
-
var TermsAndConditionsControlV1 = function TermsAndConditionsControlV1(_ref) {
|
|
47284
|
-
var onCheck = _ref.onCheck,
|
|
47285
|
-
isChecked = _ref.isChecked,
|
|
47286
|
-
html = _ref.html,
|
|
47287
|
-
terms = _ref.terms,
|
|
47288
|
-
_ref$error = _ref.error,
|
|
47289
|
-
error = _ref$error === void 0 ? false : _ref$error,
|
|
47290
|
-
linkVariant = _ref.linkVariant;
|
|
47291
|
-
|
|
47292
|
-
var _useState = useState(false),
|
|
47293
|
-
_useState2 = _slicedToArray(_useState, 2),
|
|
47294
|
-
showTerms = _useState2[0],
|
|
47295
|
-
toggleShowTerms = _useState2[1];
|
|
47296
|
-
|
|
47297
|
-
return /*#__PURE__*/React.createElement(DisplayBox$1, null, /*#__PURE__*/React.createElement(Stack, null, /*#__PURE__*/React.createElement(Checkbox$1, {
|
|
47298
|
-
name: "terms",
|
|
47299
|
-
title: "Terms and Conditions",
|
|
47300
|
-
error: error,
|
|
47301
|
-
checked: isChecked,
|
|
47302
|
-
onChange: onCheck
|
|
47303
|
-
}), /*#__PURE__*/React.createElement(Box, {
|
|
47304
|
-
padding: "0 0 0 58px"
|
|
47305
|
-
}, /*#__PURE__*/React.createElement(Stack, null, /*#__PURE__*/React.createElement(Box, {
|
|
47306
|
-
padding: "0"
|
|
47307
|
-
}, html), terms && /*#__PURE__*/React.createElement(TermsAndConditionsModal$1, {
|
|
47308
|
-
link: "Learn More",
|
|
47309
|
-
terms: terms,
|
|
47310
|
-
isOpen: showTerms,
|
|
47311
|
-
toggleOpen: toggleShowTerms,
|
|
47312
|
-
linkVariant: linkVariant
|
|
47313
|
-
})))));
|
|
47314
|
-
};
|
|
47315
|
-
|
|
47316
|
-
/*
|
|
47317
|
-
|
|
47318
|
-
A utility function that can generate box-shadow values for components
|
|
47319
|
-
Takes a string representing an rgb color value and returns an object
|
|
47320
|
-
with values for standard, inset, and overlay shadows.
|
|
47321
|
-
|
|
47322
|
-
The objects for standard and inset shadows contain versions approiate
|
|
47323
|
-
for base, hover, and active interaction states.
|
|
47324
|
-
|
|
47325
|
-
*/
|
|
47326
|
-
|
|
47327
|
-
/*
|
|
47328
|
-
Function to convert string representing rgb color to rgba value with provided opacity
|
|
47329
|
-
("rgb(41, 42, 51)", "0.1") => "rgba(41, 42, 51, 0.1)"
|
|
47330
|
-
|
|
47331
|
-
*/
|
|
47332
|
-
var rgbToRgba = function rgbToRgba() {
|
|
47333
|
-
var rgbValue = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : "";
|
|
47334
|
-
var opacity = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : "";
|
|
47335
|
-
|
|
47336
|
-
if (typeof rgbValue !== "string" || typeof opacity !== "string" || rgbValue.charAt(0) === "#") {
|
|
47337
|
-
return "";
|
|
47338
|
-
}
|
|
47339
|
-
|
|
47340
|
-
return "".concat(rgbValue.slice(0, 3), "a").concat(rgbValue.slice(3, -1), ", ").concat(opacity).concat(rgbValue.slice(-1));
|
|
47341
|
-
};
|
|
47342
|
-
|
|
47343
|
-
var generateShadows = function generateShadows(baseColorRGB) {
|
|
47344
|
-
var colorTen = rgbToRgba(baseColorRGB, "0.1") || "rgba(41, 42, 51, 0.1)";
|
|
47345
|
-
var colorTwenty = rgbToRgba(baseColorRGB, "0.2") || "rgba(41, 42, 51, 0.2)";
|
|
47346
|
-
var colorTwentyFive = rgbToRgba(baseColorRGB, "0.25") || "rgba(41, 42, 51, 0.25)";
|
|
47347
|
-
var colorThirty = rgbToRgba(baseColorRGB, "0.3") || "rgba(41, 42, 51, 0.3)";
|
|
47348
|
-
var blackTwentyFive = "rgba(0, 0, 0, 0.25)";
|
|
47349
|
-
var standard = {
|
|
47350
|
-
base: "0px 1px 2px 0px ".concat(colorTen, ", 0px 2px 6px 0px ").concat(colorTwenty, ", inset 0px 1px 0px 0px ").concat(colorTen),
|
|
47351
|
-
hover: "0px 1px 2px 0px ".concat(colorTwenty, ", 0px 4px 8px 0px ").concat(blackTwentyFive, ", 0px 6px 12px 0px ").concat(colorTen),
|
|
47352
|
-
active: "0px 2px 8px 0px ".concat(colorTwenty, ", 0px 4px 8px 0px ").concat(colorThirty, ", 0px 6px 12px 0px ").concat(colorTwentyFive)
|
|
47353
|
-
};
|
|
47354
|
-
var inset = {
|
|
47355
|
-
base: "0px 1px 2px 0px ".concat(colorTen, ", 0px 2px 4px 0px ").concat(colorTwenty, ", inset 0px 1px 0px 0px ").concat(colorTen),
|
|
47356
|
-
hover: "0px 1px 2px 0px ".concat(colorTen, ", 0px 2px 4px 0px ").concat(colorTwentyFive, ", 0px 4px 8px 0px ").concat(colorTen),
|
|
47357
|
-
active: "0px 1px 2px 2px ".concat(colorTwenty, ", 0px 3px 6px 0px ").concat(colorThirty, ", 0px 4px 8px 0px ").concat(colorTwenty)
|
|
47358
|
-
};
|
|
47359
|
-
var overlay = {
|
|
47360
|
-
base: "0px 7px 32px 0px ".concat(colorTwenty, ", 0px 1px 4px 0px ").concat(colorTwenty, ", 0px 1px 8px -1px ").concat(colorThirty)
|
|
47361
|
-
};
|
|
47362
|
-
return {
|
|
47363
|
-
standard: standard,
|
|
47364
|
-
inset: inset,
|
|
47365
|
-
overlay: overlay
|
|
47366
|
-
};
|
|
47367
|
-
};
|
|
47368
|
-
|
|
47369
|
-
/*
|
|
47370
|
-
Hook that takes an ID selector for an element on the screen
|
|
47371
|
-
And optionally values for top position, left position, smooth behavior
|
|
47372
|
-
Finds element on screen and scrolls it to the provided coordinates
|
|
47373
|
-
|
|
47374
|
-
(string, number, number, string, number) => undefined;
|
|
47375
|
-
*/
|
|
47376
|
-
var useScrollTo = function useScrollTo(id) {
|
|
47377
|
-
var top = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 0;
|
|
47378
|
-
var left = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 0;
|
|
47379
|
-
var behavior = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : "auto";
|
|
47380
|
-
var delay = arguments.length > 4 ? arguments[4] : undefined;
|
|
47381
|
-
var scrollItem;
|
|
47382
|
-
|
|
47383
|
-
if (delay) {
|
|
47384
|
-
setTimeout(function () {
|
|
47385
|
-
var _scrollItem;
|
|
47386
|
-
|
|
47387
|
-
scrollItem = document.getElementById(id);
|
|
47388
|
-
(_scrollItem = scrollItem) === null || _scrollItem === void 0 ? void 0 : _scrollItem.scrollTo({
|
|
47389
|
-
top: top,
|
|
47390
|
-
left: left,
|
|
47391
|
-
behavior: behavior
|
|
47392
|
-
});
|
|
47393
|
-
}, delay);
|
|
47394
|
-
} else {
|
|
47395
|
-
var _scrollItem2;
|
|
47396
|
-
|
|
47397
|
-
scrollItem = document.getElementById(id);
|
|
47398
|
-
(_scrollItem2 = scrollItem) === null || _scrollItem2 === void 0 ? void 0 : _scrollItem2.scrollTo({
|
|
47399
|
-
top: top,
|
|
47400
|
-
left: left,
|
|
47401
|
-
behavior: behavior
|
|
47402
|
-
});
|
|
47403
|
-
}
|
|
47404
|
-
};
|
|
47405
|
-
|
|
47406
|
-
var TermsAndConditionsControlV2 = function TermsAndConditionsControlV2(_ref) {
|
|
47407
|
-
var _ref$showCheckbox = _ref.showCheckbox,
|
|
47408
|
-
showCheckbox = _ref$showCheckbox === void 0 ? true : _ref$showCheckbox,
|
|
47409
|
-
onCheck = _ref.onCheck,
|
|
47410
|
-
isChecked = _ref.isChecked,
|
|
47411
|
-
hasError = _ref.hasError,
|
|
47412
|
-
_ref$errorMessage = _ref.errorMessage,
|
|
47413
|
-
errorMessage = _ref$errorMessage === void 0 ? "Please accept Terms and Conditions" : _ref$errorMessage,
|
|
47414
|
-
_ref$description = _ref.description,
|
|
47415
|
-
description = _ref$description === void 0 ? "" : _ref$description,
|
|
47416
|
-
_ref$linkText = _ref.linkText,
|
|
47417
|
-
linkText = _ref$linkText === void 0 ? "Terms and Conditions" : _ref$linkText,
|
|
47418
|
-
html = _ref.html,
|
|
47419
|
-
terms = _ref.terms,
|
|
47420
|
-
_ref$id = _ref.id,
|
|
47421
|
-
id = _ref$id === void 0 ? "terms-and-conditions" : _ref$id,
|
|
47422
|
-
_ref$displayInline = _ref.displayInline,
|
|
47423
|
-
displayInline = _ref$displayInline === void 0 ? true : _ref$displayInline,
|
|
47424
|
-
_ref$modalVariant = _ref.modalVariant,
|
|
47425
|
-
modalVariant = _ref$modalVariant === void 0 ? "default" : _ref$modalVariant,
|
|
47426
|
-
_ref$containerBackgro = _ref.containerBackground,
|
|
47427
|
-
containerBackground = _ref$containerBackgro === void 0 ? ATHENS_GREY : _ref$containerBackgro,
|
|
47428
|
-
_ref$checkboxMargin = _ref.checkboxMargin,
|
|
47429
|
-
checkboxMargin = _ref$checkboxMargin === void 0 ? "4px 8px 4px 4px" : _ref$checkboxMargin,
|
|
47430
|
-
_ref$modalTitle = _ref.modalTitle,
|
|
47431
|
-
modalTitle = _ref$modalTitle === void 0 ? "Terms and Conditions" : _ref$modalTitle;
|
|
47432
|
-
|
|
47433
|
-
var _useState = useState(false),
|
|
47434
|
-
_useState2 = _slicedToArray(_useState, 2),
|
|
47435
|
-
showTerms = _useState2[0],
|
|
47436
|
-
toggleShowTerms = _useState2[1];
|
|
47437
|
-
|
|
47438
|
-
var standardBoxShadow = generateShadows().standard.base;
|
|
47439
|
-
|
|
47440
|
-
var toggleTerms = function toggleTerms(termsOpen) {
|
|
47441
|
-
toggleShowTerms(termsOpen);
|
|
47442
|
-
|
|
47443
|
-
if (termsOpen) {
|
|
47444
|
-
useScrollTo("terms-body-text", 0, 0, "smooth", 100);
|
|
47445
|
-
}
|
|
47446
|
-
};
|
|
47447
|
-
|
|
47448
|
-
return /*#__PURE__*/React.createElement(Box, {
|
|
47449
|
-
padding: displayInline ? "0" : "1.5rem",
|
|
47450
|
-
minWidth: displayInline ? "0" : "100%",
|
|
47451
|
-
background: displayInline ? "transparent" : containerBackground,
|
|
47452
|
-
boxShadow: displayInline ? "none" : standardBoxShadow,
|
|
47453
|
-
borderRadius: displayInline ? "0" : "4px"
|
|
47454
|
-
}, /*#__PURE__*/React.createElement(Stack, {
|
|
47455
|
-
childGap: "0"
|
|
47456
|
-
}, html && /*#__PURE__*/React.createElement(Box, {
|
|
47457
|
-
padding: "0"
|
|
47458
|
-
}, html), /*#__PURE__*/React.createElement(Cluster, {
|
|
47459
|
-
justify: "flex-start",
|
|
47460
|
-
align: "center",
|
|
47461
|
-
nowrap: true
|
|
47462
|
-
}, showCheckbox && /*#__PURE__*/React.createElement(Checkbox$1, {
|
|
47463
|
-
name: id,
|
|
47464
|
-
error: hasError,
|
|
47465
|
-
checked: isChecked,
|
|
47466
|
-
onChange: onCheck,
|
|
47467
|
-
checkboxMargin: checkboxMargin,
|
|
47468
|
-
extraStyles: "align-self: flex-start;"
|
|
47469
|
-
}), /*#__PURE__*/React.createElement(Stack, {
|
|
47470
|
-
childGap: "0.25rem",
|
|
47471
|
-
fullHeight: true
|
|
47472
|
-
}, /*#__PURE__*/React.createElement(Cluster, {
|
|
47473
|
-
justify: "flex-start",
|
|
47474
|
-
align: "center",
|
|
47475
|
-
nowrap: true,
|
|
47476
|
-
extraStyles: "padding-right: 2px; > div > * { margin: 4px 2px; };"
|
|
47477
|
-
}, description && /*#__PURE__*/React.createElement(Text$1, {
|
|
47478
|
-
color: CHARADE_GREY
|
|
47479
|
-
}, description), terms && /*#__PURE__*/React.createElement(TermsAndConditionsModal$1, {
|
|
47480
|
-
link: linkText,
|
|
47481
|
-
terms: terms,
|
|
47482
|
-
isOpen: showTerms,
|
|
47483
|
-
toggleOpen: toggleTerms,
|
|
47484
|
-
linkVariant: modalVariant,
|
|
47485
|
-
title: modalTitle
|
|
47486
|
-
})), showCheckbox && hasError && /*#__PURE__*/React.createElement(Text$1, {
|
|
47487
|
-
variant: "pXS",
|
|
47488
|
-
color: ERROR_COLOR,
|
|
47489
|
-
id: "".concat(id, "-error-message")
|
|
47490
|
-
}, errorMessage)))));
|
|
47491
|
-
};
|
|
47492
|
-
|
|
47493
|
-
var _excluded$y = ["version"];
|
|
47494
|
-
|
|
47495
|
-
var TermsAndConditions = function TermsAndConditions(_ref) {
|
|
47496
|
-
var _ref$version = _ref.version,
|
|
47497
|
-
version = _ref$version === void 0 ? "v1" : _ref$version,
|
|
47498
|
-
rest = _objectWithoutProperties(_ref, _excluded$y);
|
|
47499
|
-
|
|
47500
|
-
var TermsAndConditionsControl = version === "v1" ? TermsAndConditionsControlV1 : TermsAndConditionsControlV2;
|
|
47501
|
-
return /*#__PURE__*/React.createElement(TermsAndConditionsControl, rest);
|
|
47502
|
-
};
|
|
45925
|
+
var AccountAndRoutingModal$1 = themeComponent(AccountAndRoutingModal, "AccountAndRoutingModal", fallbackValues$H, "default");
|
|
47503
45926
|
|
|
47504
45927
|
var PaymentFormACH = function PaymentFormACH(_ref) {
|
|
47505
45928
|
var _routingNumberErrors, _accountNumberErrors;
|
|
@@ -47519,8 +45942,7 @@ var PaymentFormACH = function PaymentFormACH(_ref) {
|
|
|
47519
45942
|
handleSubmit = _ref$handleSubmit === void 0 ? noop : _ref$handleSubmit,
|
|
47520
45943
|
showWalletCheckbox = _ref.showWalletCheckbox,
|
|
47521
45944
|
saveToWallet = _ref.saveToWallet,
|
|
47522
|
-
walletCheckboxMarked = _ref.walletCheckboxMarked
|
|
47523
|
-
termsContent = _ref.termsContent;
|
|
45945
|
+
walletCheckboxMarked = _ref.walletCheckboxMarked;
|
|
47524
45946
|
|
|
47525
45947
|
if (clearOnDismount) {
|
|
47526
45948
|
useEffect$1(function () {
|
|
@@ -47540,8 +45962,6 @@ var PaymentFormACH = function PaymentFormACH(_ref) {
|
|
|
47540
45962
|
showAccount = _useState4[0],
|
|
47541
45963
|
toggleShowAccount = _useState4[1];
|
|
47542
45964
|
|
|
47543
|
-
var showTerms = !!termsContent;
|
|
47544
|
-
|
|
47545
45965
|
var nameErrors = _defineProperty({}, required.error, "Name is required");
|
|
47546
45966
|
|
|
47547
45967
|
var routingNumberErrors = (_routingNumberErrors = {}, _defineProperty(_routingNumberErrors, required.error, "Routing number is required"), _defineProperty(_routingNumberErrors, hasLength.error, "Routing number must be 9 digits"), _defineProperty(_routingNumberErrors, isRoutingNumber.error, "Invalid routing number"), _routingNumberErrors);
|
|
@@ -47650,22 +46070,12 @@ var PaymentFormACH = function PaymentFormACH(_ref) {
|
|
|
47650
46070
|
onChange: toggleCheckbox,
|
|
47651
46071
|
checked: defaultMethod.value,
|
|
47652
46072
|
hidden: hideDefaultPayment
|
|
47653
|
-
}),
|
|
47654
|
-
childGap: "4px",
|
|
47655
|
-
align: "center"
|
|
47656
|
-
}, showWalletCheckbox && /*#__PURE__*/React.createElement(Checkbox$1, {
|
|
46073
|
+
}), showWalletCheckbox && /*#__PURE__*/React.createElement(Checkbox$1, {
|
|
47657
46074
|
name: "bank checkbox",
|
|
47658
|
-
title: "Save checking account to wallet
|
|
46075
|
+
title: "Save checking account to wallet",
|
|
47659
46076
|
checked: walletCheckboxMarked,
|
|
47660
46077
|
onChange: saveToWallet
|
|
47661
|
-
})
|
|
47662
|
-
singleChild: true
|
|
47663
|
-
}, /*#__PURE__*/React.createElement(TermsAndConditions, {
|
|
47664
|
-
version: "v2",
|
|
47665
|
-
showCheckbox: false,
|
|
47666
|
-
description: "View",
|
|
47667
|
-
terms: termsContent
|
|
47668
|
-
})))));
|
|
46078
|
+
})));
|
|
47669
46079
|
};
|
|
47670
46080
|
|
|
47671
46081
|
var formConfig$6 = {
|
|
@@ -47719,13 +46129,11 @@ var PaymentFormCard = function PaymentFormCard(_ref) {
|
|
|
47719
46129
|
showWalletCheckbox = _ref.showWalletCheckbox,
|
|
47720
46130
|
saveToWallet = _ref.saveToWallet,
|
|
47721
46131
|
walletCheckboxMarked = _ref.walletCheckboxMarked,
|
|
47722
|
-
deniedCards = _ref.deniedCards
|
|
47723
|
-
termsContent = _ref.termsContent;
|
|
46132
|
+
deniedCards = _ref.deniedCards;
|
|
47724
46133
|
|
|
47725
46134
|
var _useContext = useContext(ThemeContext),
|
|
47726
46135
|
isMobile = _useContext.isMobile;
|
|
47727
46136
|
|
|
47728
|
-
var showTerms = !!termsContent;
|
|
47729
46137
|
useEffect$1(function () {
|
|
47730
46138
|
if (deniedCards) {
|
|
47731
46139
|
deniedCards.map(function (card) {
|
|
@@ -47834,22 +46242,12 @@ var PaymentFormCard = function PaymentFormCard(_ref) {
|
|
|
47834
46242
|
return e.key === "Enter" && handleSubmit(e);
|
|
47835
46243
|
},
|
|
47836
46244
|
autocomplete: "billing postal-code"
|
|
47837
|
-
})),
|
|
47838
|
-
childGap: "4px",
|
|
47839
|
-
align: "center"
|
|
47840
|
-
}, showWalletCheckbox && /*#__PURE__*/React.createElement(Checkbox$1, {
|
|
46245
|
+
})), showWalletCheckbox && /*#__PURE__*/React.createElement(Checkbox$1, {
|
|
47841
46246
|
name: "credit card checkbox",
|
|
47842
|
-
title: "Save credit card to wallet
|
|
46247
|
+
title: "Save credit card to wallet",
|
|
47843
46248
|
checked: walletCheckboxMarked,
|
|
47844
46249
|
onChange: saveToWallet
|
|
47845
|
-
})
|
|
47846
|
-
singleChild: true
|
|
47847
|
-
}, /*#__PURE__*/React.createElement(TermsAndConditions, {
|
|
47848
|
-
version: "v2",
|
|
47849
|
-
showCheckbox: false,
|
|
47850
|
-
description: "View",
|
|
47851
|
-
terms: termsContent
|
|
47852
|
-
})))));
|
|
46250
|
+
})));
|
|
47853
46251
|
};
|
|
47854
46252
|
|
|
47855
46253
|
var PaymentFormCard$1 = withWindowSize(PaymentFormCard);
|
|
@@ -48128,13 +46526,13 @@ var RadioGroup = function RadioGroup(_ref) {
|
|
|
48128
46526
|
var headingBackgroundColor$1 = "".concat(WHITE);
|
|
48129
46527
|
var headingDisabledColor = "".concat(ATHENS_GREY);
|
|
48130
46528
|
var bodyBackgroundColor$1 = "#eeeeee";
|
|
48131
|
-
var borderColor$
|
|
46529
|
+
var borderColor$3 = "".concat(GREY_CHATEAU);
|
|
48132
46530
|
var focusStyles = "outline: none;";
|
|
48133
|
-
var fallbackValues$
|
|
46531
|
+
var fallbackValues$I = {
|
|
48134
46532
|
headingBackgroundColor: headingBackgroundColor$1,
|
|
48135
46533
|
headingDisabledColor: headingDisabledColor,
|
|
48136
46534
|
bodyBackgroundColor: bodyBackgroundColor$1,
|
|
48137
|
-
borderColor: borderColor$
|
|
46535
|
+
borderColor: borderColor$3,
|
|
48138
46536
|
focusStyles: focusStyles
|
|
48139
46537
|
};
|
|
48140
46538
|
|
|
@@ -48147,8 +46545,7 @@ var fallbackValues$N = {
|
|
|
48147
46545
|
hideRadioButton: boolean, (keeps section displayed but hides radio and disables open/close function),
|
|
48148
46546
|
hidden: boolean, (hides section entirely)
|
|
48149
46547
|
dataQa: string,
|
|
48150
|
-
content: <React Component(s)> e.g.: <Box><Stack>cool content stuff</Stack></Box> (any collection of components will work)
|
|
48151
|
-
rightTitleContent: <React Component(s)> (rendered on the very right of the title section, use to supplement "rightIcons" with text, as in expired CC status, or render other custom content)
|
|
46548
|
+
content: <React Component(s)> e.g.: <Box><Stack>cool content stuff</Stack></Box> (any collection of components will work)
|
|
48152
46549
|
}
|
|
48153
46550
|
|
|
48154
46551
|
Also takes an "openSection" which should equal the id of the section that should be open
|
|
@@ -48161,6 +46558,10 @@ var fallbackValues$N = {
|
|
|
48161
46558
|
|
|
48162
46559
|
*/
|
|
48163
46560
|
|
|
46561
|
+
var ACTIVE$2 = "ACTIVE";
|
|
46562
|
+
var EXPIRING_SOON$1 = "EXPIRING_SOON";
|
|
46563
|
+
var EXPIRED$2 = "EXPIRED";
|
|
46564
|
+
|
|
48164
46565
|
var RadioSection = function RadioSection(_ref) {
|
|
48165
46566
|
var themeValues = _ref.themeValues,
|
|
48166
46567
|
isMobile = _ref.isMobile,
|
|
@@ -48175,8 +46576,7 @@ var RadioSection = function RadioSection(_ref) {
|
|
|
48175
46576
|
_ref$initiallyOpen = _ref.initiallyOpen,
|
|
48176
46577
|
initiallyOpen = _ref$initiallyOpen === void 0 ? true : _ref$initiallyOpen,
|
|
48177
46578
|
_ref$openHeight = _ref.openHeight,
|
|
48178
|
-
openHeight = _ref$openHeight === void 0 ? "auto" : _ref$openHeight
|
|
48179
|
-
ariaDescribedBy = _ref.ariaDescribedBy;
|
|
46579
|
+
openHeight = _ref$openHeight === void 0 ? "auto" : _ref$openHeight;
|
|
48180
46580
|
|
|
48181
46581
|
var handleKeyDown = function handleKeyDown(id, e) {
|
|
48182
46582
|
if ((e === null || e === void 0 ? void 0 : e.keyCode) === 13) {
|
|
@@ -48184,6 +46584,34 @@ var RadioSection = function RadioSection(_ref) {
|
|
|
48184
46584
|
}
|
|
48185
46585
|
};
|
|
48186
46586
|
|
|
46587
|
+
var renderCardStatus = function renderCardStatus(item) {
|
|
46588
|
+
var expirationStatus = item.expirationStatus,
|
|
46589
|
+
expireDate = item.expireDate;
|
|
46590
|
+
|
|
46591
|
+
switch (expirationStatus) {
|
|
46592
|
+
case ACTIVE$2:
|
|
46593
|
+
return /*#__PURE__*/React.createElement(Text$1, {
|
|
46594
|
+
variant: "pXS",
|
|
46595
|
+
color: ASH_GREY,
|
|
46596
|
+
extraStyles: "text-align: right;"
|
|
46597
|
+
}, "Exp Date ", expireDate);
|
|
46598
|
+
|
|
46599
|
+
case EXPIRING_SOON$1:
|
|
46600
|
+
return /*#__PURE__*/React.createElement(Text$1, {
|
|
46601
|
+
variant: "pXS",
|
|
46602
|
+
color: FIRE_YELLOW,
|
|
46603
|
+
extraStyles: "text-align: right;"
|
|
46604
|
+
}, "Expiring Soon ", expireDate);
|
|
46605
|
+
|
|
46606
|
+
case EXPIRED$2:
|
|
46607
|
+
return /*#__PURE__*/React.createElement(Text$1, {
|
|
46608
|
+
variant: "pXS",
|
|
46609
|
+
color: ASH_GREY,
|
|
46610
|
+
extraStyles: "text-align: right;"
|
|
46611
|
+
}, "Expired");
|
|
46612
|
+
}
|
|
46613
|
+
};
|
|
46614
|
+
|
|
48187
46615
|
var wrapper = {
|
|
48188
46616
|
open: {
|
|
48189
46617
|
height: openHeight,
|
|
@@ -48237,13 +46665,13 @@ var RadioSection = function RadioSection(_ref) {
|
|
|
48237
46665
|
return /*#__PURE__*/React.createElement(Motion, {
|
|
48238
46666
|
tabIndex: section.hideRadioButton || section.disabled ? "-1" : "0",
|
|
48239
46667
|
onKeyDown: function onKeyDown(e) {
|
|
48240
|
-
return
|
|
46668
|
+
return handleKeyDown(section.id, e);
|
|
48241
46669
|
},
|
|
48242
46670
|
onFocus: function onFocus() {
|
|
48243
|
-
return
|
|
46671
|
+
return setFocused(section.id);
|
|
48244
46672
|
},
|
|
48245
46673
|
onBlur: function onBlur() {
|
|
48246
|
-
return
|
|
46674
|
+
return setFocused(null);
|
|
48247
46675
|
},
|
|
48248
46676
|
hoverStyles: themeValues.focusStyles,
|
|
48249
46677
|
animate: openSection === section.id ? "open" : "closed",
|
|
@@ -48253,12 +46681,12 @@ var RadioSection = function RadioSection(_ref) {
|
|
|
48253
46681
|
}, /*#__PURE__*/React.createElement(Stack, {
|
|
48254
46682
|
childGap: "0"
|
|
48255
46683
|
}, /*#__PURE__*/React.createElement(Box, {
|
|
48256
|
-
padding: section.hideRadioButton ? "1.5rem" : "1.25rem 1.5rem",
|
|
46684
|
+
padding: section.hideRadioButton ? "1.5rem" : "1.25rem 1.5rem 1.25rem 1.25rem",
|
|
48257
46685
|
background: section.disabled ? themeValues.headingDisabledColor : themeValues.headingBackgroundColor,
|
|
48258
46686
|
onClick: isMobile && supportsTouch || section.disabled ? noop : function () {
|
|
48259
46687
|
return toggleOpenSection(section.id);
|
|
48260
46688
|
},
|
|
48261
|
-
onTouchEnd: isMobile && supportsTouch
|
|
46689
|
+
onTouchEnd: isMobile && supportsTouch || !section.disabled ? function () {
|
|
48262
46690
|
return toggleOpenSection(section.id);
|
|
48263
46691
|
} : noop,
|
|
48264
46692
|
key: "header-".concat(section.id),
|
|
@@ -48270,7 +46698,7 @@ var RadioSection = function RadioSection(_ref) {
|
|
|
48270
46698
|
}, /*#__PURE__*/React.createElement(Cluster, {
|
|
48271
46699
|
justify: "space-between",
|
|
48272
46700
|
align: "center",
|
|
48273
|
-
childGap: "
|
|
46701
|
+
childGap: "0.5rem",
|
|
48274
46702
|
nowrap: true
|
|
48275
46703
|
}, /*#__PURE__*/React.createElement(Cluster, {
|
|
48276
46704
|
justify: "flex-start",
|
|
@@ -48279,8 +46707,7 @@ var RadioSection = function RadioSection(_ref) {
|
|
|
48279
46707
|
}, !section.hideRadioButton && /*#__PURE__*/React.createElement(Box, {
|
|
48280
46708
|
padding: "0"
|
|
48281
46709
|
}, /*#__PURE__*/React.createElement(RadioButton$2, {
|
|
48282
|
-
name:
|
|
48283
|
-
ariaDescribedBy: ariaDescribedBy,
|
|
46710
|
+
name: section.id,
|
|
48284
46711
|
radioOn: openSection === section.id,
|
|
48285
46712
|
radioFocused: focused === section.id,
|
|
48286
46713
|
toggleRadio: section.disabled ? noop : function () {
|
|
@@ -48304,7 +46731,7 @@ var RadioSection = function RadioSection(_ref) {
|
|
|
48304
46731
|
isMobile: isMobile,
|
|
48305
46732
|
alt: icon.altText
|
|
48306
46733
|
});
|
|
48307
|
-
})), section.
|
|
46734
|
+
})), section.shouldDisplayCardExpiration && /*#__PURE__*/React.createElement(Fragment$1, null, renderCardStatus(section)))), /*#__PURE__*/React.createElement(AnimatePresence, {
|
|
48308
46735
|
initial: false
|
|
48309
46736
|
}, openSection === section.id && /*#__PURE__*/React.createElement(Motion, {
|
|
48310
46737
|
key: "content-".concat(section.id),
|
|
@@ -48320,7 +46747,7 @@ var RadioSection = function RadioSection(_ref) {
|
|
|
48320
46747
|
})));
|
|
48321
46748
|
};
|
|
48322
46749
|
|
|
48323
|
-
var RadioSection$1 = themeComponent(RadioSection, "RadioSection", fallbackValues$
|
|
46750
|
+
var RadioSection$1 = themeComponent(RadioSection, "RadioSection", fallbackValues$I);
|
|
48324
46751
|
|
|
48325
46752
|
var RegistrationForm = function RegistrationForm(_ref) {
|
|
48326
46753
|
var _emailErrorMessages, _passwordErrorMessage;
|
|
@@ -48617,7 +47044,7 @@ var ResetPasswordSuccess = withWindowSize(ResetConfirmationForm$2);
|
|
|
48617
47044
|
var activeTabBackground = "#FFFFFF";
|
|
48618
47045
|
var activeTabAccent = "#15749D";
|
|
48619
47046
|
var activeTabHover = "#B8D5E1";
|
|
48620
|
-
var fallbackValues$
|
|
47047
|
+
var fallbackValues$J = {
|
|
48621
47048
|
activeTabBackground: activeTabBackground,
|
|
48622
47049
|
activeTabAccent: activeTabAccent,
|
|
48623
47050
|
activeTabHover: activeTabHover
|
|
@@ -48696,12 +47123,12 @@ var Tabs = function Tabs(_ref) {
|
|
|
48696
47123
|
}))));
|
|
48697
47124
|
};
|
|
48698
47125
|
|
|
48699
|
-
var Tabs$1 = themeComponent(Tabs, "NavigationTab", fallbackValues$
|
|
47126
|
+
var Tabs$1 = themeComponent(Tabs, "NavigationTab", fallbackValues$J);
|
|
48700
47127
|
|
|
48701
47128
|
var activeTabBackground$1 = "#FFFFFF";
|
|
48702
47129
|
var activeTabAccent$1 = "#15749D";
|
|
48703
47130
|
var activeTabHover$1 = "#B8D5E1";
|
|
48704
|
-
var fallbackValues$
|
|
47131
|
+
var fallbackValues$K = {
|
|
48705
47132
|
activeTabBackground: activeTabBackground$1,
|
|
48706
47133
|
activeTabAccent: activeTabAccent$1,
|
|
48707
47134
|
activeTabHover: activeTabHover$1
|
|
@@ -48757,7 +47184,131 @@ var TabSidebar = function TabSidebar(_ref) {
|
|
|
48757
47184
|
})));
|
|
48758
47185
|
};
|
|
48759
47186
|
|
|
48760
|
-
var TabSidebar$1 = themeComponent(TabSidebar, "ProfileTab", fallbackValues$
|
|
47187
|
+
var TabSidebar$1 = themeComponent(TabSidebar, "ProfileTab", fallbackValues$K);
|
|
47188
|
+
|
|
47189
|
+
var backgroundColor$b = {
|
|
47190
|
+
"default": "#ffffff",
|
|
47191
|
+
footer: "#ffffff"
|
|
47192
|
+
};
|
|
47193
|
+
var linkColor$6 = {
|
|
47194
|
+
"default": "#3176AA",
|
|
47195
|
+
footer: "#ffffff"
|
|
47196
|
+
};
|
|
47197
|
+
var border$3 = {
|
|
47198
|
+
"default": "#cdcdcd",
|
|
47199
|
+
footer: "#cdcdcd"
|
|
47200
|
+
};
|
|
47201
|
+
var fontSize$b = {
|
|
47202
|
+
"default": "1rem",
|
|
47203
|
+
footer: "0.875rem"
|
|
47204
|
+
};
|
|
47205
|
+
var lineHeight$5 = {
|
|
47206
|
+
"default": "1.5rem",
|
|
47207
|
+
footer: "1.25rem"
|
|
47208
|
+
};
|
|
47209
|
+
var fontWeight$8 = {
|
|
47210
|
+
"default": FONT_WEIGHT_REGULAR,
|
|
47211
|
+
footer: FONT_WEIGHT_SEMIBOLD
|
|
47212
|
+
};
|
|
47213
|
+
var standardInteractionStyles = "\n &:hover {\n outline: none; \n text-decoration: underline;\n }\n &:focus {\n outline: 3px solid #3181E3;\n outline-offset: 2px;\n }\n";
|
|
47214
|
+
var modalLinkHoverFocus$2 = {
|
|
47215
|
+
"default": standardInteractionStyles,
|
|
47216
|
+
footer: standardInteractionStyles
|
|
47217
|
+
};
|
|
47218
|
+
var fallbackValues$L = {
|
|
47219
|
+
backgroundColor: backgroundColor$b,
|
|
47220
|
+
linkColor: linkColor$6,
|
|
47221
|
+
border: border$3,
|
|
47222
|
+
fontSize: fontSize$b,
|
|
47223
|
+
lineHeight: lineHeight$5,
|
|
47224
|
+
fontWeight: fontWeight$8,
|
|
47225
|
+
modalLinkHoverFocus: modalLinkHoverFocus$2
|
|
47226
|
+
};
|
|
47227
|
+
|
|
47228
|
+
var TermsAndConditionsModal = function TermsAndConditionsModal(_ref) {
|
|
47229
|
+
var link = _ref.link,
|
|
47230
|
+
_ref$title = _ref.title,
|
|
47231
|
+
title = _ref$title === void 0 ? "Terms & Conditions" : _ref$title,
|
|
47232
|
+
isOpen = _ref.isOpen,
|
|
47233
|
+
toggleOpen = _ref.toggleOpen,
|
|
47234
|
+
toggleAccepted = _ref.toggleAccepted,
|
|
47235
|
+
acceptText = _ref.acceptText,
|
|
47236
|
+
terms = _ref.terms,
|
|
47237
|
+
variant = _ref.variant,
|
|
47238
|
+
themeValues = _ref.themeValues;
|
|
47239
|
+
return /*#__PURE__*/React.createElement(Modal$1, {
|
|
47240
|
+
modalOpen: isOpen,
|
|
47241
|
+
hideModal: function hideModal() {
|
|
47242
|
+
return toggleOpen(false);
|
|
47243
|
+
},
|
|
47244
|
+
showModal: function showModal() {
|
|
47245
|
+
return toggleOpen(true);
|
|
47246
|
+
},
|
|
47247
|
+
modalHeaderText: title,
|
|
47248
|
+
modalBodyText: /*#__PURE__*/React.createElement(Box, {
|
|
47249
|
+
background: themeValues.backgroundColor,
|
|
47250
|
+
border: "1px solid ".concat(themeValues.border),
|
|
47251
|
+
borderRadius: "3px",
|
|
47252
|
+
extraStyles: "overflow: scroll; max-height: 20rem;"
|
|
47253
|
+
}, /*#__PURE__*/React.createElement(Text$1, {
|
|
47254
|
+
variant: "p",
|
|
47255
|
+
extraStyles: "& a { text-decoration: underline; }"
|
|
47256
|
+
}, terms)),
|
|
47257
|
+
defaultWrapper: false,
|
|
47258
|
+
onlyCloseButton: !acceptText,
|
|
47259
|
+
continueButtonText: acceptText,
|
|
47260
|
+
continueAction: function continueAction() {
|
|
47261
|
+
toggleAccepted(true);
|
|
47262
|
+
toggleOpen(false);
|
|
47263
|
+
}
|
|
47264
|
+
}, /*#__PURE__*/React.createElement(Text$1, {
|
|
47265
|
+
variant: variant === "default" ? "pS" : "pXS",
|
|
47266
|
+
onClick: function onClick() {
|
|
47267
|
+
return toggleOpen(true);
|
|
47268
|
+
},
|
|
47269
|
+
onKeyPress: function onKeyPress(e) {
|
|
47270
|
+
return e.key === "Enter" && toggleOpen(true);
|
|
47271
|
+
},
|
|
47272
|
+
tabIndex: "0",
|
|
47273
|
+
color: themeValues.linkColor,
|
|
47274
|
+
weight: themeValues.fontWeight,
|
|
47275
|
+
hoverStyles: themeValues.modalLinkHoverFocus,
|
|
47276
|
+
extraStyles: "display: inline-block; width: fit-content;"
|
|
47277
|
+
}, link));
|
|
47278
|
+
};
|
|
47279
|
+
|
|
47280
|
+
var TermsAndConditionsModal$1 = themeComponent(TermsAndConditionsModal, "TermsAndConditionsModal", fallbackValues$L, "default");
|
|
47281
|
+
|
|
47282
|
+
var TermsAndConditions = function TermsAndConditions(_ref) {
|
|
47283
|
+
var onCheck = _ref.onCheck,
|
|
47284
|
+
isChecked = _ref.isChecked,
|
|
47285
|
+
html = _ref.html,
|
|
47286
|
+
terms = _ref.terms,
|
|
47287
|
+
_ref$error = _ref.error,
|
|
47288
|
+
error = _ref$error === void 0 ? false : _ref$error;
|
|
47289
|
+
|
|
47290
|
+
var _useState = useState(false),
|
|
47291
|
+
_useState2 = _slicedToArray(_useState, 2),
|
|
47292
|
+
showTerms = _useState2[0],
|
|
47293
|
+
toggleShowTerms = _useState2[1];
|
|
47294
|
+
|
|
47295
|
+
return /*#__PURE__*/React.createElement(DisplayBox$1, null, /*#__PURE__*/React.createElement(Stack, null, /*#__PURE__*/React.createElement(Checkbox$1, {
|
|
47296
|
+
name: "terms",
|
|
47297
|
+
title: "Terms and Conditions",
|
|
47298
|
+
error: error,
|
|
47299
|
+
checked: isChecked,
|
|
47300
|
+
onChange: onCheck
|
|
47301
|
+
}), /*#__PURE__*/React.createElement(Box, {
|
|
47302
|
+
padding: "0 0 0 58px"
|
|
47303
|
+
}, /*#__PURE__*/React.createElement(Stack, null, /*#__PURE__*/React.createElement(Box, {
|
|
47304
|
+
padding: "0"
|
|
47305
|
+
}, html), terms && /*#__PURE__*/React.createElement(TermsAndConditionsModal$1, {
|
|
47306
|
+
link: "Learn More",
|
|
47307
|
+
terms: terms,
|
|
47308
|
+
isOpen: showTerms,
|
|
47309
|
+
toggleOpen: toggleShowTerms
|
|
47310
|
+
})))));
|
|
47311
|
+
};
|
|
48761
47312
|
|
|
48762
47313
|
var Timeout = function Timeout(_ref) {
|
|
48763
47314
|
var onLogout = _ref.onLogout;
|
|
@@ -48801,7 +47352,7 @@ var fontColor$1 = WHITE;
|
|
|
48801
47352
|
var textAlign$1 = "left";
|
|
48802
47353
|
var headerBackgroundColor$1 = BRIGHT_GREY;
|
|
48803
47354
|
var imageBackgroundColor$1 = MATISSE_BLUE;
|
|
48804
|
-
var fallbackValues$
|
|
47355
|
+
var fallbackValues$M = {
|
|
48805
47356
|
fontWeight: fontWeight$9,
|
|
48806
47357
|
fontColor: fontColor$1,
|
|
48807
47358
|
textAlign: textAlign$1,
|
|
@@ -48848,7 +47399,7 @@ var WelcomeModule = function WelcomeModule(_ref) {
|
|
|
48848
47399
|
})))));
|
|
48849
47400
|
};
|
|
48850
47401
|
|
|
48851
|
-
var WelcomeModule$1 = /*#__PURE__*/memo(themeComponent(WelcomeModule, "WelcomeModule", fallbackValues$
|
|
47402
|
+
var WelcomeModule$1 = /*#__PURE__*/memo(themeComponent(WelcomeModule, "WelcomeModule", fallbackValues$M));
|
|
48852
47403
|
|
|
48853
47404
|
var WorkflowTile = function WorkflowTile(_ref) {
|
|
48854
47405
|
var _ref$workflowName = _ref.workflowName,
|
|
@@ -48903,7 +47454,7 @@ var WorkflowTile = function WorkflowTile(_ref) {
|
|
|
48903
47454
|
};
|
|
48904
47455
|
|
|
48905
47456
|
var pageBackground = "#FBFCFD";
|
|
48906
|
-
var fallbackValues$
|
|
47457
|
+
var fallbackValues$N = {
|
|
48907
47458
|
pageBackground: pageBackground
|
|
48908
47459
|
};
|
|
48909
47460
|
|
|
@@ -48950,7 +47501,7 @@ var CenterSingle = function CenterSingle(_ref) {
|
|
|
48950
47501
|
})));
|
|
48951
47502
|
};
|
|
48952
47503
|
|
|
48953
|
-
var CenterSingle$1 = withWindowSize(themeComponent(CenterSingle, "Global", fallbackValues$
|
|
47504
|
+
var CenterSingle$1 = withWindowSize(themeComponent(CenterSingle, "Global", fallbackValues$N));
|
|
48954
47505
|
|
|
48955
47506
|
var CenterStack = function CenterStack(_ref) {
|
|
48956
47507
|
var header = _ref.header,
|
|
@@ -48992,7 +47543,7 @@ var CenterStack = function CenterStack(_ref) {
|
|
|
48992
47543
|
})));
|
|
48993
47544
|
};
|
|
48994
47545
|
|
|
48995
|
-
var CenterStack$1 = withWindowSize(themeComponent(CenterStack, "Global", fallbackValues$
|
|
47546
|
+
var CenterStack$1 = withWindowSize(themeComponent(CenterStack, "Global", fallbackValues$N));
|
|
48996
47547
|
|
|
48997
47548
|
var CenterSingle$2 = function CenterSingle(_ref) {
|
|
48998
47549
|
var header = _ref.header,
|
|
@@ -49037,7 +47588,7 @@ var CenterSingle$2 = function CenterSingle(_ref) {
|
|
|
49037
47588
|
})));
|
|
49038
47589
|
};
|
|
49039
47590
|
|
|
49040
|
-
var DefaultPageTemplate = withWindowSize(themeComponent(CenterSingle$2, "Global", fallbackValues$
|
|
47591
|
+
var DefaultPageTemplate = withWindowSize(themeComponent(CenterSingle$2, "Global", fallbackValues$N));
|
|
49041
47592
|
|
|
49042
47593
|
var SidebarSingleContent = function SidebarSingleContent(_ref) {
|
|
49043
47594
|
var header = _ref.header,
|
|
@@ -49091,7 +47642,7 @@ var SidebarSingleContent = function SidebarSingleContent(_ref) {
|
|
|
49091
47642
|
})));
|
|
49092
47643
|
};
|
|
49093
47644
|
|
|
49094
|
-
var SidebarSingleContent$1 = withWindowSize(themeComponent(SidebarSingleContent, "Global", fallbackValues$
|
|
47645
|
+
var SidebarSingleContent$1 = withWindowSize(themeComponent(SidebarSingleContent, "Global", fallbackValues$N));
|
|
49095
47646
|
|
|
49096
47647
|
var SidebarStackContent = function SidebarStackContent(_ref) {
|
|
49097
47648
|
var header = _ref.header,
|
|
@@ -49162,7 +47713,7 @@ var SidebarStackContent = function SidebarStackContent(_ref) {
|
|
|
49162
47713
|
})));
|
|
49163
47714
|
};
|
|
49164
47715
|
|
|
49165
|
-
var SidebarStackContent$1 = withWindowSize(themeComponent(SidebarStackContent, "Global", fallbackValues$
|
|
47716
|
+
var SidebarStackContent$1 = withWindowSize(themeComponent(SidebarStackContent, "Global", fallbackValues$N));
|
|
49166
47717
|
|
|
49167
|
-
export { AccountNumberImage, AccountsAddIcon$1 as AccountsAddIcon, AccountsIcon$1 as AccountsIcon, AccountsIconSmall$1 as AccountsIconSmall, AchReturnIcon, AddObligation$1 as AddObligation, AddressForm, Alert$1 as Alert, AllocatedIcon, AmountCallout$1 as AmountCallout,
|
|
47718
|
+
export { AccountNumberImage, AccountsAddIcon$1 as AccountsAddIcon, AccountsIcon$1 as AccountsIcon, AccountsIconSmall$1 as AccountsIconSmall, AchReturnIcon, AddObligation$1 as AddObligation, AddressForm, Alert$1 as Alert, AllocatedIcon, AmountCallout$1 as AmountCallout, AutopayOnIcon, BankIcon, Banner$1 as Banner, Box, BoxWithShadow$1 as BoxWithShadow, Breadcrumbs as Breadcrumb, ButtonWithAction, ButtonWithLink, CalendarIcon, Card$1 as Card, CarrotIcon$1 as CarrotIcon, CashIcon, Center, CenterSingle$1 as CenterSingle, CenterStack$1 as CenterStack, ChangePasswordForm, ChargebackIcon, ChargebackReversalIcon, CheckIcon, Checkbox$1 as Checkbox, CheckboxList$1 as CheckboxList, CheckmarkIcon, ChevronIcon$1 as ChevronIcon, Cluster, CollapsibleSection$1 as CollapsibleSection, Copyable, CountryDropdown, Cover, CustomerSearchIcon, DefaultPageTemplate, Detail$1 as Detail, DisplayBox$1 as DisplayBox, DisplayCard, Dropdown$1 as Dropdown, DuplicateIcon, EditNameForm, EditableList, EditableTable, EmailForm, EmptyCartIcon$1 as EmptyCartIcon, ErroredIcon, ExternalLink, ExternalLinkIcon, FailedIcon, FindIconSmall$1 as FindIconSmall, FooterWithSubfooter$1 as FooterWithSubfooter, ForgotPasswordForm, ForgotPasswordIcon$1 as ForgotPasswordIcon, FormContainer$1 as FormContainer, FormFooterPanel$1 as FormFooterPanel, FormInput$1 as FormInput, FormInputColumn, FormInputRow, FormSelect$1 as FormSelect, FormattedAddress$1 as FormattedAddress, FormattedCreditCard$1 as FormattedCreditCard, Frame, GenericCard, GenericCardLarge, GoToEmailIcon$1 as GoToEmailIcon, Grid, GuidedCheckoutImage, HamburgerButton, Heading$1 as Heading, HighlightTabRow$1 as HighlightTabRow, IconAdd, IconQuitLarge, Imposter, InternalLink, Jumbo$1 as Jumbo, LabeledAmount$1 as LabeledAmount, LineItem$1 as LineItem, Loading, LoadingLine, LoginForm, Modal$1 as Modal, Module$1 as Module, Motion, NavFooter, NavHeader, NavMenuDesktop$1 as NavMenuDesktop, NavMenuMobile$1 as NavMenuMobile, NavTabs, NoCustomerResultsIcon, NoPaymentResultsIcon, NotFoundIcon, Obligation, iconsMap as ObligationIcons, Pagination, Paragraph$1 as Paragraph, PartialAmountForm, PasswordRequirements, PaymentButtonBar, PaymentDetails$1 as PaymentDetails, PaymentFormACH, PaymentFormCard$1 as PaymentFormCard, PaymentIcon, PaymentMethodAddIcon$1 as PaymentMethodAddIcon, PaymentMethodIcon$1 as PaymentMethodIcon, PaymentSearchIcon, PaymentsIconSmall$1 as PaymentsIconSmall, PendingIcon, PeriscopeDashboardIframe, PeriscopeFailedIcon, PhoneForm, Placeholder$1 as Placeholder, Popover$1 as Popover, ProcessingFee$1 as ProcessingFee, ProfileIcon$1 as ProfileIcon, ProfileIconSmall$1 as ProfileIconSmall, ProfileImage, PropertiesAddIcon$1 as PropertiesAddIcon, PropertiesIconSmall$1 as PropertiesIconSmall, RadioButton$2 as RadioButton, RadioButtonWithLabel, RadioGroup, RadioSection$1 as RadioSection, Reel, RefundIcon, RegistrationForm, RejectedIcon, RejectedVelocityIcon, ResetConfirmationForm$1 as ResetConfirmationForm, ResetPasswordForm, ResetPasswordIcon, ResetPasswordSuccess, RevenueManagementImage, RoutingNumberImage, SearchIcon, SearchableSelect$1 as SearchableSelect, SettingsIconSmall$1 as SettingsIconSmall, ShoppingCartIcon, Sidebar, SidebarSingleContent$1 as SidebarSingleContent, SidebarStackContent$1 as SidebarStackContent, SolidDivider$1 as SolidDivider, Spinner$2 as Spinner, Stack, StandardCheckoutImage, FormStateDropdown as StateProvinceDropdown, StatusUnknownIcon, SuccessfulIcon, Switcher, TabSidebar$1 as TabSidebar, TableListItem, Tabs$1 as Tabs, TermsAndConditions, TermsAndConditionsModal$1 as TermsAndConditionsModal, Text$1 as Text, Timeout$1 as Timeout, TimeoutImage, Title$1 as Title, ToggleSwitch$1 as ToggleSwitch, TrashIcon$1 as TrashIcon, TypeaheadInput, VerifiedEmailIcon$1 as VerifiedEmailIcon, VoidedIcon, WalletBannerIcon$1 as WalletBannerIcon, WalletIcon$1 as WalletIcon, WalletIconSmall$1 as WalletIconSmall, WarningIconXS, WelcomeModule$1 as WelcomeModule, WorkflowTile, cardRegistry, index$5 as constants, createPartialAmountFormState, index$4 as util, withWindowSize };
|
|
49168
47719
|
//# sourceMappingURL=index.esm.js.map
|