@royaloperahouse/chord 0.7.49 → 0.7.441
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/CHANGELOG.md +2 -15
- package/dist/chord.cjs.development.js +143 -368
- package/dist/chord.cjs.development.js.map +1 -1
- package/dist/chord.cjs.production.min.js +1 -1
- package/dist/chord.cjs.production.min.js.map +1 -1
- package/dist/chord.esm.js +150 -374
- package/dist/chord.esm.js.map +1 -1
- package/dist/components/index.d.ts +2 -2
- package/dist/components/molecules/PromoWithTags/PromoWithTags.style.d.ts +1 -5
- package/dist/components/molecules/index.d.ts +1 -2
- package/dist/index.d.ts +2 -2
- package/dist/types/buttonTypes.d.ts +0 -5
- package/dist/types/card.d.ts +2 -13
- package/dist/types/editorial.d.ts +3 -16
- package/dist/types/index.d.ts +1 -3
- package/dist/types/types.d.ts +0 -1
- package/package.json +1 -1
- package/dist/components/molecules/Information/InfoCta.d.ts +0 -4
- package/dist/components/molecules/Information/Information.d.ts +0 -4
- package/dist/components/molecules/Information/Information.style.d.ts +0 -10
- package/dist/components/molecules/Information/index.d.ts +0 -2
- package/dist/types/information.d.ts +0 -85
package/dist/chord.esm.js
CHANGED
|
@@ -2082,56 +2082,6 @@ var ThemeType;
|
|
|
2082
2082
|
ThemeType["Cinema"] = "cinema";
|
|
2083
2083
|
})(ThemeType || (ThemeType = {}));
|
|
2084
2084
|
|
|
2085
|
-
var CarouselType;
|
|
2086
|
-
|
|
2087
|
-
(function (CarouselType) {
|
|
2088
|
-
CarouselType["Image"] = "image";
|
|
2089
|
-
CarouselType["SmallCard"] = "SmallCard";
|
|
2090
|
-
CarouselType["LargeCard"] = "LargeCard";
|
|
2091
|
-
})(CarouselType || (CarouselType = {}));
|
|
2092
|
-
|
|
2093
|
-
var AspectRatio;
|
|
2094
|
-
|
|
2095
|
-
(function (AspectRatio) {
|
|
2096
|
-
AspectRatio["1:1"] = "1 / 1";
|
|
2097
|
-
AspectRatio["3:4"] = "3 / 4";
|
|
2098
|
-
AspectRatio["4:3"] = "4 / 3";
|
|
2099
|
-
AspectRatio["16:9"] = "16 / 9";
|
|
2100
|
-
})(AspectRatio || (AspectRatio = {}));
|
|
2101
|
-
|
|
2102
|
-
var AspectRatioLegacy;
|
|
2103
|
-
|
|
2104
|
-
(function (AspectRatioLegacy) {
|
|
2105
|
-
AspectRatioLegacy["1 / 1"] = "100";
|
|
2106
|
-
AspectRatioLegacy["3 / 4"] = "133";
|
|
2107
|
-
AspectRatioLegacy["4 / 3"] = "75";
|
|
2108
|
-
AspectRatioLegacy["16 / 9"] = "56.25";
|
|
2109
|
-
})(AspectRatioLegacy || (AspectRatioLegacy = {}));
|
|
2110
|
-
|
|
2111
|
-
var AspectRatioWidth;
|
|
2112
|
-
|
|
2113
|
-
(function (AspectRatioWidth) {
|
|
2114
|
-
AspectRatioWidth["1 / 1"] = "1";
|
|
2115
|
-
AspectRatioWidth["3 / 4"] = "0.75";
|
|
2116
|
-
AspectRatioWidth["4 / 3"] = "1.33";
|
|
2117
|
-
AspectRatioWidth["16 / 9"] = "1.78";
|
|
2118
|
-
})(AspectRatioWidth || (AspectRatioWidth = {}));
|
|
2119
|
-
|
|
2120
|
-
var TickboxMode;
|
|
2121
|
-
|
|
2122
|
-
(function (TickboxMode) {
|
|
2123
|
-
TickboxMode["Dark"] = "dark";
|
|
2124
|
-
TickboxMode["Light"] = "light";
|
|
2125
|
-
})(TickboxMode || (TickboxMode = {}));
|
|
2126
|
-
|
|
2127
|
-
var ButtonType;
|
|
2128
|
-
|
|
2129
|
-
(function (ButtonType) {
|
|
2130
|
-
ButtonType["Primary"] = "Primary";
|
|
2131
|
-
ButtonType["Secondary"] = "Secondary";
|
|
2132
|
-
ButtonType["Tertiary"] = "Tertiary";
|
|
2133
|
-
})(ButtonType || (ButtonType = {}));
|
|
2134
|
-
|
|
2135
2085
|
var _excluded$1 = ["children"];
|
|
2136
2086
|
|
|
2137
2087
|
var PrimaryButton = function PrimaryButton(_ref) {
|
|
@@ -2700,6 +2650,33 @@ var SectionSplitter = function SectionSplitter(_ref) {
|
|
|
2700
2650
|
}, /*#__PURE__*/React__default.createElement(Splitter, null)));
|
|
2701
2651
|
};
|
|
2702
2652
|
|
|
2653
|
+
var AspectRatio;
|
|
2654
|
+
|
|
2655
|
+
(function (AspectRatio) {
|
|
2656
|
+
AspectRatio["1:1"] = "1 / 1";
|
|
2657
|
+
AspectRatio["3:4"] = "3 / 4";
|
|
2658
|
+
AspectRatio["4:3"] = "4 / 3";
|
|
2659
|
+
AspectRatio["16:9"] = "16 / 9";
|
|
2660
|
+
})(AspectRatio || (AspectRatio = {}));
|
|
2661
|
+
|
|
2662
|
+
var AspectRatioLegacy;
|
|
2663
|
+
|
|
2664
|
+
(function (AspectRatioLegacy) {
|
|
2665
|
+
AspectRatioLegacy["1 / 1"] = "100";
|
|
2666
|
+
AspectRatioLegacy["3 / 4"] = "133";
|
|
2667
|
+
AspectRatioLegacy["4 / 3"] = "75";
|
|
2668
|
+
AspectRatioLegacy["16 / 9"] = "56.25";
|
|
2669
|
+
})(AspectRatioLegacy || (AspectRatioLegacy = {}));
|
|
2670
|
+
|
|
2671
|
+
var AspectRatioWidth;
|
|
2672
|
+
|
|
2673
|
+
(function (AspectRatioWidth) {
|
|
2674
|
+
AspectRatioWidth["1 / 1"] = "1";
|
|
2675
|
+
AspectRatioWidth["3 / 4"] = "0.75";
|
|
2676
|
+
AspectRatioWidth["4 / 3"] = "1.33";
|
|
2677
|
+
AspectRatioWidth["16 / 9"] = "1.78";
|
|
2678
|
+
})(AspectRatioWidth || (AspectRatioWidth = {}));
|
|
2679
|
+
|
|
2703
2680
|
var _templateObject$f;
|
|
2704
2681
|
var ImageAspectRatioWrapper = /*#__PURE__*/styled.div(_templateObject$f || (_templateObject$f = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n aspect-ratio: ", ";\n\n @supports not (aspect-ratio: ", ") {\n position: relative;\n width: 100%;\n padding-top: ", "%;\n }\n\n img {\n display: block;\n width: 100%;\n height: 100%;\n object-fit: cover;\n\n @supports not (aspect-ratio: ", ") {\n position: absolute;\n top: 0;\n left: 0;\n }\n }\n"])), function (_ref) {
|
|
2705
2682
|
var _ref$aspectRatio = _ref.aspectRatio,
|
|
@@ -3029,6 +3006,13 @@ var TickboxInput = /*#__PURE__*/styled.input(_templateObject3$2 || (_templateObj
|
|
|
3029
3006
|
return dark ? 'black' : 'white';
|
|
3030
3007
|
});
|
|
3031
3008
|
|
|
3009
|
+
var TickboxMode;
|
|
3010
|
+
|
|
3011
|
+
(function (TickboxMode) {
|
|
3012
|
+
TickboxMode["Dark"] = "dark";
|
|
3013
|
+
TickboxMode["Light"] = "light";
|
|
3014
|
+
})(TickboxMode || (TickboxMode = {}));
|
|
3015
|
+
|
|
3032
3016
|
var Tickbox = function Tickbox(_ref) {
|
|
3033
3017
|
var children = _ref.children,
|
|
3034
3018
|
_ref$mode = _ref.mode,
|
|
@@ -4209,6 +4193,14 @@ var AnchorTabBar = function AnchorTabBar(_ref) {
|
|
|
4209
4193
|
})) : null) : null))));
|
|
4210
4194
|
};
|
|
4211
4195
|
|
|
4196
|
+
var CarouselType;
|
|
4197
|
+
|
|
4198
|
+
(function (CarouselType) {
|
|
4199
|
+
CarouselType["Image"] = "image";
|
|
4200
|
+
CarouselType["SmallCard"] = "SmallCard";
|
|
4201
|
+
CarouselType["LargeCard"] = "LargeCard";
|
|
4202
|
+
})(CarouselType || (CarouselType = {}));
|
|
4203
|
+
|
|
4212
4204
|
var _templateObject$y, _templateObject2$i, _templateObject3$c, _templateObject4$8, _templateObject5$5;
|
|
4213
4205
|
var CarouselWrapper = /*#__PURE__*/styled.div(_templateObject$y || (_templateObject$y = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n user-select: none;\n\n ", "\n\n @media ", " {\n ", "\n }\n"])), function (_ref) {
|
|
4214
4206
|
var type = _ref.type,
|
|
@@ -4926,16 +4918,10 @@ var TitleContainer$2 = /*#__PURE__*/styled.div(_templateObject5$8 || (_templateO
|
|
|
4926
4918
|
var TitleContainerMobile = /*#__PURE__*/styled.div(_templateObject6$7 || (_templateObject6$7 = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n margin: calc(-1 * var(--editorial-margin-between)) 0 calc(-1 * var(--editorial-margin-between)) 0;\n display: none;\n\n @media ", " {\n display: block;\n }\n"])), devices.mobileAndTablet);
|
|
4927
4919
|
var TextContainer = /*#__PURE__*/styled.div(_templateObject7$4 || (_templateObject7$4 = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n font-family: var(--font-family-body);\n font-feature-settings: var(--font-feature-settings-body);\n font-size: var(--font-size-body-1);\n font-weight: var(--font-weight-body-1);\n line-height: var(--line-height-body-1);\n letter-spacing: var(--letter-spacing-body-1);\n text-transform: var(--text-transform-body);\n margin-top: var(--editorial-spacing-hover);\n padding: 0;\n white-space: break-spaces;\n overflow-wrap: break-word;\n\n em {\n font-family: var(--font-family-body-italics);\n }\n"])));
|
|
4928
4920
|
var SubtitleContainer = /*#__PURE__*/styled.span(_templateObject8$4 || (_templateObject8$4 = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n font-family: var(--font-family-subtitle);\n font-feature-settings: var(--font-feature-settings-subtitle);\n font-size: var(--font-size-subtitle-2);\n font-weight: var(--font-weight-subtitle-2);\n line-height: var(--line-height-subtitle-2);\n letter-spacing: var(--letter-spacing-subtitle-2);\n text-transform: var(--text-transform-subtitle);\n display: block;\n overflow-wrap: break-word;\n"])));
|
|
4929
|
-
|
|
4930
|
-
var
|
|
4931
|
-
|
|
4932
|
-
|
|
4933
|
-
};
|
|
4934
|
-
|
|
4935
|
-
var ButtonsContainer$1 = /*#__PURE__*/styled.div(_templateObject9$3 || (_templateObject9$3 = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n ", ";\n display: flex;\n gap: 16px;\n margin-top: var(--editorial-margin-between);\n\n ", "\n\n @media ", " {\n opacity: 1 !important;\n gap: 24px;\n margin-top: 24px;\n flex-direction: column;\n align-items: center;\n }\n\n @media ", " {\n opacity: 1 !important;\n gap: 24px;\n margin-top: 24px;\n align-items: flex-start;\n\n ", "\n }\n"])), getButtonsOpacity, function (_ref4) {
|
|
4936
|
-
var size = _ref4.size,
|
|
4937
|
-
primaryButtonTextLength = _ref4.primaryButtonTextLength,
|
|
4938
|
-
tertiaryButtonTextLength = _ref4.tertiaryButtonTextLength;
|
|
4921
|
+
var ButtonsContainer$1 = /*#__PURE__*/styled.div(_templateObject9$3 || (_templateObject9$3 = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n opacity: 0;\n display: flex;\n gap: 16px;\n margin-top: var(--editorial-margin-between);\n\n ", "\n\n @media ", " {\n opacity: 1 !important;\n gap: 24px;\n margin-top: 24px;\n flex-direction: column;\n align-items: center;\n }\n\n @media ", " {\n opacity: 1 !important;\n gap: 24px;\n margin-top: 24px;\n align-items: flex-start;\n\n ", "\n }\n"])), function (_ref3) {
|
|
4922
|
+
var size = _ref3.size,
|
|
4923
|
+
primaryButtonTextLength = _ref3.primaryButtonTextLength,
|
|
4924
|
+
tertiaryButtonTextLength = _ref3.tertiaryButtonTextLength;
|
|
4939
4925
|
var isLinksLayoutColumn = size === 'small' ? primaryButtonTextLength >= LENGTH_SMALL_TEXT || tertiaryButtonTextLength >= LENGTH_SMALL_TEXT : primaryButtonTextLength >= LENGTH_LARGE_TEXT || tertiaryButtonTextLength >= LENGTH_LARGE_TEXT;
|
|
4940
4926
|
|
|
4941
4927
|
if (isLinksLayoutColumn) {
|
|
@@ -4943,9 +4929,9 @@ var ButtonsContainer$1 = /*#__PURE__*/styled.div(_templateObject9$3 || (_templat
|
|
|
4943
4929
|
}
|
|
4944
4930
|
|
|
4945
4931
|
return '';
|
|
4946
|
-
}, devices.mobile, devices.tablet, function (
|
|
4947
|
-
var primaryButtonTextLength =
|
|
4948
|
-
tertiaryButtonTextLength =
|
|
4932
|
+
}, devices.mobile, devices.tablet, function (_ref4) {
|
|
4933
|
+
var primaryButtonTextLength = _ref4.primaryButtonTextLength,
|
|
4934
|
+
tertiaryButtonTextLength = _ref4.tertiaryButtonTextLength;
|
|
4949
4935
|
var isLinksLayoutColumnTablet = primaryButtonTextLength >= LENGTH_TEXT_TABLET || tertiaryButtonTextLength >= LENGTH_TEXT_TABLET;
|
|
4950
4936
|
|
|
4951
4937
|
if (isLinksLayoutColumnTablet) {
|
|
@@ -4980,11 +4966,8 @@ var Progress = function Progress(_ref) {
|
|
|
4980
4966
|
|
|
4981
4967
|
var _excluded$c = ["text"],
|
|
4982
4968
|
_excluded2$1 = ["text"];
|
|
4983
|
-
|
|
4984
|
-
var _buttonTypeToButton;
|
|
4985
4969
|
var LENGTH_LARGE_TEXT$1 = 28;
|
|
4986
4970
|
var LENGTH_SMALL_TEXT$1 = 19;
|
|
4987
|
-
var buttonTypeToButton = (_buttonTypeToButton = {}, _buttonTypeToButton[ButtonType.Primary] = PrimaryButton, _buttonTypeToButton[ButtonType.Secondary] = SecondaryButton, _buttonTypeToButton[ButtonType.Tertiary] = Button$1, _buttonTypeToButton);
|
|
4988
4971
|
|
|
4989
4972
|
var Card = function Card(_ref) {
|
|
4990
4973
|
var _ref$progress = _ref.progress,
|
|
@@ -5005,9 +4988,7 @@ var Card = function Card(_ref) {
|
|
|
5005
4988
|
_ref$size = _ref.size,
|
|
5006
4989
|
size = _ref$size === void 0 ? 'small' : _ref$size,
|
|
5007
4990
|
_ref$fullWidth = _ref.fullWidth,
|
|
5008
|
-
fullWidth = _ref$fullWidth === void 0 ? false : _ref$fullWidth
|
|
5009
|
-
_ref$onlyShowButtonsO = _ref.onlyShowButtonsOnHover,
|
|
5010
|
-
onlyShowButtonsOnHover = _ref$onlyShowButtonsO === void 0 ? true : _ref$onlyShowButtonsO;
|
|
4991
|
+
fullWidth = _ref$fullWidth === void 0 ? false : _ref$fullWidth;
|
|
5011
4992
|
|
|
5012
4993
|
var truncate = function truncate(str, n) {
|
|
5013
4994
|
return str.length >= n ? str.substr(0, n) : str;
|
|
@@ -5020,35 +5001,35 @@ var Card = function Card(_ref) {
|
|
|
5020
5001
|
setHovered = _useState[1];
|
|
5021
5002
|
|
|
5022
5003
|
var truncatedText = truncateHtmlString(text, 185, true);
|
|
5023
|
-
var
|
|
5004
|
+
var primaryButton = links == null ? void 0 : links[0];
|
|
5024
5005
|
|
|
5025
|
-
var _ref2 =
|
|
5006
|
+
var _ref2 = primaryButton || {},
|
|
5026
5007
|
_ref2$text = _ref2.text,
|
|
5027
|
-
|
|
5028
|
-
|
|
5008
|
+
primaryButtonText = _ref2$text === void 0 ? '' : _ref2$text,
|
|
5009
|
+
restPrimaryButton = _objectWithoutPropertiesLoose(_ref2, _excluded$c);
|
|
5029
5010
|
|
|
5030
|
-
var primaryButtonTextTruncate = size === 'small' ? truncate(
|
|
5031
|
-
var
|
|
5011
|
+
var primaryButtonTextTruncate = size === 'small' ? truncate(primaryButtonText, LENGTH_SMALL_TEXT$1) : truncate(primaryButtonText, LENGTH_LARGE_TEXT$1);
|
|
5012
|
+
var tertiaryButton = links == null ? void 0 : links[1];
|
|
5032
5013
|
|
|
5033
|
-
var _ref3 =
|
|
5014
|
+
var _ref3 = tertiaryButton || {},
|
|
5034
5015
|
_ref3$text = _ref3.text,
|
|
5035
|
-
|
|
5036
|
-
|
|
5016
|
+
tertiaryButtonText = _ref3$text === void 0 ? '' : _ref3$text,
|
|
5017
|
+
restTertiaryButton = _objectWithoutPropertiesLoose(_ref3, _excluded2$1);
|
|
5037
5018
|
|
|
5038
|
-
var tertiaryButtonTextTruncate = size === 'small' ? truncate(
|
|
5039
|
-
|
|
5019
|
+
var tertiaryButtonTextTruncate = size === 'small' ? truncate(tertiaryButtonText, LENGTH_SMALL_TEXT$1) : truncate(tertiaryButtonText, LENGTH_LARGE_TEXT$1);
|
|
5020
|
+
|
|
5021
|
+
var hoverHandler = function hoverHandler(value) {
|
|
5040
5022
|
if (value) {
|
|
5041
5023
|
node.current.style.opacity = '1';
|
|
5042
5024
|
node.current.style.transition = 'opacity 0.3s';
|
|
5043
|
-
|
|
5025
|
+
} else {
|
|
5026
|
+
node.current.style.opacity = '0';
|
|
5027
|
+
node.current.style.transition = 'opacity 0.3s';
|
|
5044
5028
|
}
|
|
5045
5029
|
|
|
5046
|
-
node.current.style.opacity = '0';
|
|
5047
|
-
node.current.style.transition = 'opacity 0.3s';
|
|
5048
5030
|
setHovered(value);
|
|
5049
|
-
}
|
|
5050
|
-
|
|
5051
|
-
var SecondButtonComponent = secondButton != null && secondButton.buttonType ? buttonTypeToButton[secondButton.buttonType] : Button$1;
|
|
5031
|
+
};
|
|
5032
|
+
|
|
5052
5033
|
return /*#__PURE__*/React__default.createElement(CardContainer, {
|
|
5053
5034
|
onMouseOver: function onMouseOver() {
|
|
5054
5035
|
return hoverHandler(true);
|
|
@@ -5058,8 +5039,8 @@ var Card = function Card(_ref) {
|
|
|
5058
5039
|
},
|
|
5059
5040
|
"data-testid": "cardcontainer"
|
|
5060
5041
|
}, ' ', /*#__PURE__*/React__default.createElement("a", {
|
|
5061
|
-
href:
|
|
5062
|
-
target:
|
|
5042
|
+
href: primaryButton == null ? void 0 : primaryButton.href,
|
|
5043
|
+
target: primaryButton == null ? void 0 : primaryButton.target,
|
|
5063
5044
|
className: "targetLink"
|
|
5064
5045
|
}, hovered && /*#__PURE__*/React__default.createElement(HoverContainer, {
|
|
5065
5046
|
"data-testid": "hovercontainer"
|
|
@@ -5070,8 +5051,12 @@ var Card = function Card(_ref) {
|
|
|
5070
5051
|
alt: imageAltText
|
|
5071
5052
|
})), withContinueWatching && /*#__PURE__*/React__default.createElement(ProgressContainer, null, /*#__PURE__*/React__default.createElement(Progress, {
|
|
5072
5053
|
progress: progress
|
|
5073
|
-
})), /*#__PURE__*/React__default.createElement(ContentContainer$2, {
|
|
5054
|
+
}))), /*#__PURE__*/React__default.createElement(ContentContainer$2, {
|
|
5074
5055
|
fullWidth: fullWidth
|
|
5056
|
+
}, /*#__PURE__*/React__default.createElement("a", {
|
|
5057
|
+
href: primaryButton == null ? void 0 : primaryButton.href,
|
|
5058
|
+
target: primaryButton == null ? void 0 : primaryButton.target,
|
|
5059
|
+
className: "targetLink"
|
|
5075
5060
|
}, tags ? /*#__PURE__*/React__default.createElement(TypeTags, {
|
|
5076
5061
|
list: tags
|
|
5077
5062
|
}) : null, /*#__PURE__*/React__default.createElement(TitleContainer$2, null, /*#__PURE__*/React__default.createElement(Header, {
|
|
@@ -5082,14 +5067,13 @@ var Card = function Card(_ref) {
|
|
|
5082
5067
|
dangerouslySetInnerHTML: {
|
|
5083
5068
|
__html: truncatedText
|
|
5084
5069
|
}
|
|
5085
|
-
}))
|
|
5070
|
+
})), links ? /*#__PURE__*/React__default.createElement(ButtonsContainer$1, {
|
|
5086
5071
|
ref: node,
|
|
5087
5072
|
"data-testid": "buttonscontainer",
|
|
5088
5073
|
size: size,
|
|
5089
|
-
primaryButtonTextLength:
|
|
5090
|
-
tertiaryButtonTextLength:
|
|
5091
|
-
|
|
5092
|
-
}, firstButton && /*#__PURE__*/React__default.createElement(FirstButtonComponent, Object.assign({}, restFirstButton), primaryButtonTextTruncate), secondButton && /*#__PURE__*/React__default.createElement(SecondButtonComponent, Object.assign({}, restSecondButton), tertiaryButtonTextTruncate)));
|
|
5074
|
+
primaryButtonTextLength: primaryButtonText.length,
|
|
5075
|
+
tertiaryButtonTextLength: tertiaryButtonText.length
|
|
5076
|
+
}, primaryButton ? /*#__PURE__*/React__default.createElement(PrimaryButton, Object.assign({}, restPrimaryButton), primaryButtonTextTruncate) : null, tertiaryButton ? /*#__PURE__*/React__default.createElement(Button$1, Object.assign({}, restTertiaryButton), tertiaryButtonTextTruncate) : null) : null));
|
|
5093
5077
|
};
|
|
5094
5078
|
|
|
5095
5079
|
var _templateObject$H, _templateObject2$q;
|
|
@@ -5126,8 +5110,7 @@ var Cards = function Cards(_ref) {
|
|
|
5126
5110
|
text: card.text,
|
|
5127
5111
|
links: card.links,
|
|
5128
5112
|
tags: card.tags,
|
|
5129
|
-
withContinueWatching: card.withContinueWatching
|
|
5130
|
-
onlyShowButtonsOnHover: card.onlyShowButtonsOnHover
|
|
5113
|
+
withContinueWatching: card.withContinueWatching
|
|
5131
5114
|
}));
|
|
5132
5115
|
}));
|
|
5133
5116
|
};
|
|
@@ -5245,174 +5228,14 @@ var Editorial = function Editorial(_ref) {
|
|
|
5245
5228
|
})))));
|
|
5246
5229
|
};
|
|
5247
5230
|
|
|
5248
|
-
var
|
|
5249
|
-
|
|
5250
|
-
(function (CtaVariant) {
|
|
5251
|
-
CtaVariant["Primary"] = "Primary";
|
|
5252
|
-
CtaVariant["Secondary"] = "Secondary";
|
|
5253
|
-
CtaVariant["Tertiary"] = "Tertiary";
|
|
5254
|
-
CtaVariant["TextLink"] = "TextLink";
|
|
5255
|
-
})(CtaVariant || (CtaVariant = {}));
|
|
5256
|
-
|
|
5257
|
-
var CtaTheme;
|
|
5258
|
-
|
|
5259
|
-
(function (CtaTheme) {
|
|
5260
|
-
CtaTheme["Cinema"] = "Cinema";
|
|
5261
|
-
CtaTheme["Core"] = "Core";
|
|
5262
|
-
CtaTheme["Stream"] = "Stream";
|
|
5263
|
-
})(CtaTheme || (CtaTheme = {}));
|
|
5264
|
-
|
|
5265
|
-
var TitleVariant;
|
|
5266
|
-
|
|
5267
|
-
(function (TitleVariant) {
|
|
5268
|
-
TitleVariant["Header"] = "Header";
|
|
5269
|
-
TitleVariant["AltHeader"] = "AltHeader";
|
|
5270
|
-
})(TitleVariant || (TitleVariant = {}));
|
|
5271
|
-
|
|
5272
|
-
var BackgroundColour;
|
|
5273
|
-
|
|
5274
|
-
(function (BackgroundColour) {
|
|
5275
|
-
BackgroundColour["Cinema"] = "cinema";
|
|
5276
|
-
BackgroundColour["Core"] = "core";
|
|
5277
|
-
BackgroundColour["Stream"] = "stream";
|
|
5278
|
-
BackgroundColour["White"] = "white";
|
|
5279
|
-
})(BackgroundColour || (BackgroundColour = {}));
|
|
5280
|
-
|
|
5281
|
-
var _templateObject$K, _templateObject2$t, _templateObject3$l, _templateObject4$f;
|
|
5282
|
-
var InfoContent = /*#__PURE__*/styled('div')(_templateObject$K || (_templateObject$K = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n font-family: var(--font-family-altHeader);\n font-feature-settings: var(--font-feature-settings-altHeader);\n font-size: var(--font-size-altHeader-6);\n font-weight: var(--font-weight-altHeader-6);\n -webkit-letter-spacing: var(--letter-spacing-altHeader-6);\n -moz-letter-spacing: var(--letter-spacing-altHeader-6);\n -ms-letter-spacing: var(--letter-spacing-altHeader-6);\n letter-spacing: var(--letter-spacing-altHeader-6);\n line-height: var(--line-height-altHeader-6);\n word-break: var(--word-break-altHeader);\n"])));
|
|
5283
|
-
var InfoTitle = /*#__PURE__*/styled('div')(_templateObject2$t || (_templateObject2$t = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n * {\n margin-block: 0;\n }\n"])));
|
|
5284
|
-
var InfoCTAWrapper = /*#__PURE__*/styled('div')(_templateObject3$l || (_templateObject3$l = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n margin: 32px 0;\n\n ", "}\n"])), function (props) {
|
|
5285
|
-
if (!props.infoThemed) {
|
|
5286
|
-
return;
|
|
5287
|
-
} else {
|
|
5288
|
-
if (props.variant === CtaVariant.Primary || props.variant === CtaVariant.Secondary) {
|
|
5289
|
-
return "a {\n color: var(--base-color-black);\n background: var(--base-color-white);\n border-color: var(--base-color-transparent);\n }";
|
|
5290
|
-
} else {
|
|
5291
|
-
return "a {\n color: var(--base-color-white);\n background: var(--base-color-transparent});\n }\n svg > path {\n fill: var(--base-color-white);\n stroke: var(--base-color-white);\n stroke-width: 1;\n }\n ";
|
|
5292
|
-
}
|
|
5293
|
-
}
|
|
5294
|
-
});
|
|
5295
|
-
var InfoWrapper$1 = /*#__PURE__*/styled(Grid)(_templateObject4$f || (_templateObject4$f = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n padding: 60px 0;\n color: ", ";\n background: ", "\n }};\n"])), function (props) {
|
|
5296
|
-
return props.background !== BackgroundColour.White ? 'var(--base-color-white)' : 'var(--base-color-black)';
|
|
5297
|
-
}, function (props) {
|
|
5298
|
-
return "var(--base-color-" + props.background + ")";
|
|
5299
|
-
});
|
|
5300
|
-
|
|
5301
|
-
var InfoCta = function InfoCta(_ref) {
|
|
5302
|
-
var _ref$variant = _ref.variant,
|
|
5303
|
-
variant = _ref$variant === void 0 ? CtaVariant.Primary : _ref$variant,
|
|
5304
|
-
_ref$theme = _ref.theme,
|
|
5305
|
-
theme = _ref$theme === void 0 ? CtaTheme.Core : _ref$theme,
|
|
5306
|
-
link = _ref.link,
|
|
5307
|
-
text = _ref.text,
|
|
5308
|
-
iconName = _ref.iconName,
|
|
5309
|
-
iconDirection = _ref.iconDirection,
|
|
5310
|
-
infoThemed = _ref.infoThemed;
|
|
5311
|
-
return /*#__PURE__*/React__default.createElement(InfoCTAWrapper, {
|
|
5312
|
-
variant: variant,
|
|
5313
|
-
infoThemed: infoThemed,
|
|
5314
|
-
theme: theme
|
|
5315
|
-
}, variant === CtaVariant.Secondary ? /*#__PURE__*/React__default.createElement(SecondaryButton, {
|
|
5316
|
-
color: Colors[theme],
|
|
5317
|
-
href: link,
|
|
5318
|
-
iconName: iconName,
|
|
5319
|
-
iconDirection: iconDirection
|
|
5320
|
-
}, text) : variant === CtaVariant.Tertiary ? /*#__PURE__*/React__default.createElement(Button$1, {
|
|
5321
|
-
color: Colors.Black,
|
|
5322
|
-
href: link,
|
|
5323
|
-
iconName: iconName,
|
|
5324
|
-
iconDirection: iconDirection
|
|
5325
|
-
}, text) : variant === CtaVariant.TextLink ? /*#__PURE__*/React__default.createElement(TextLink, {
|
|
5326
|
-
color: Colors.Black,
|
|
5327
|
-
href: link,
|
|
5328
|
-
iconName: iconName,
|
|
5329
|
-
iconDirection: iconDirection
|
|
5330
|
-
}, text) : /*#__PURE__*/React__default.createElement(PrimaryButton, {
|
|
5331
|
-
bgColor: Colors[theme],
|
|
5332
|
-
href: link,
|
|
5333
|
-
iconName: iconName,
|
|
5334
|
-
iconDirection: iconDirection
|
|
5335
|
-
}, text));
|
|
5336
|
-
};
|
|
5337
|
-
|
|
5338
|
-
var defaultColumnSpan = 6;
|
|
5339
|
-
var smallColumnSpan = 4;
|
|
5340
|
-
var largeColumnSpan = 9;
|
|
5341
|
-
var mediumWordBreakpoint = 8;
|
|
5342
|
-
var longWordBreakpoint = 13;
|
|
5343
|
-
|
|
5344
|
-
var getColumnSpan = function getColumnSpan(variant, textSize, longestWordLength) {
|
|
5345
|
-
if (!(variant === TitleVariant.Header && textSize === 4)) return defaultColumnSpan;
|
|
5346
|
-
|
|
5347
|
-
switch (true) {
|
|
5348
|
-
case longestWordLength > longWordBreakpoint:
|
|
5349
|
-
return largeColumnSpan;
|
|
5350
|
-
|
|
5351
|
-
case longestWordLength < mediumWordBreakpoint:
|
|
5352
|
-
return smallColumnSpan;
|
|
5353
|
-
|
|
5354
|
-
default:
|
|
5355
|
-
return defaultColumnSpan;
|
|
5356
|
-
}
|
|
5357
|
-
};
|
|
5358
|
-
|
|
5359
|
-
var renderTitle = function renderTitle(props) {
|
|
5360
|
-
var headerLevel = props.variant === TitleVariant.Header && props.textSize < 4 ? 4 : props.textSize;
|
|
5361
|
-
return props.variant === TitleVariant.Header ? /*#__PURE__*/React__default.createElement(Header, {
|
|
5362
|
-
level: headerLevel
|
|
5363
|
-
}, props.text) : /*#__PURE__*/React__default.createElement(AltHeader, {
|
|
5364
|
-
level: headerLevel
|
|
5365
|
-
}, props.text);
|
|
5366
|
-
};
|
|
5367
|
-
|
|
5368
|
-
var Information = function Information(_ref) {
|
|
5369
|
-
var body = _ref.body,
|
|
5370
|
-
title = _ref.title,
|
|
5371
|
-
background = _ref.background,
|
|
5372
|
-
cta = _ref.cta;
|
|
5373
|
-
var titleWords = title.text.split(' ');
|
|
5374
|
-
var titleWordLengths = titleWords.map(function (word) {
|
|
5375
|
-
return word.length;
|
|
5376
|
-
});
|
|
5377
|
-
var maxTitleWordLength = Math.max.apply(Math, titleWordLengths);
|
|
5378
|
-
var titleColumnSpan = getColumnSpan(title.variant, title.textSize, maxTitleWordLength);
|
|
5379
|
-
var bgColour = background != null ? background : BackgroundColour.White;
|
|
5380
|
-
return /*#__PURE__*/React__default.createElement(InfoWrapper$1, {
|
|
5381
|
-
background: bgColour,
|
|
5382
|
-
"data-testid": "infoWrapper"
|
|
5383
|
-
}, /*#__PURE__*/React__default.createElement(GridItem, {
|
|
5384
|
-
columnStartDesktop: 2,
|
|
5385
|
-
columnStartDevice: 2,
|
|
5386
|
-
columnSpanDesktop: titleColumnSpan,
|
|
5387
|
-
columnSpanDevice: 14
|
|
5388
|
-
}, /*#__PURE__*/React__default.createElement(InfoTitle, null, renderTitle(title))), /*#__PURE__*/React__default.createElement(GridItem, {
|
|
5389
|
-
columnStartDesktop: titleColumnSpan + 2,
|
|
5390
|
-
columnStartDevice: 2,
|
|
5391
|
-
columnSpanDesktop: 14 - titleColumnSpan,
|
|
5392
|
-
columnSpanDevice: 14
|
|
5393
|
-
}, /*#__PURE__*/React__default.createElement(InfoContent, null, /*#__PURE__*/React__default.createElement("div", {
|
|
5394
|
-
dangerouslySetInnerHTML: {
|
|
5395
|
-
__html: body
|
|
5396
|
-
}
|
|
5397
|
-
}), cta && /*#__PURE__*/React__default.createElement(InfoCta, {
|
|
5398
|
-
link: cta.link,
|
|
5399
|
-
variant: cta.variant,
|
|
5400
|
-
theme: cta.theme,
|
|
5401
|
-
infoThemed: bgColour !== BackgroundColour.White,
|
|
5402
|
-
text: cta.text,
|
|
5403
|
-
iconName: cta.iconName,
|
|
5404
|
-
iconDirection: cta.iconDirection
|
|
5405
|
-
}))));
|
|
5406
|
-
};
|
|
5407
|
-
|
|
5408
|
-
var _templateObject$L, _templateObject2$u, _templateObject3$m, _templateObject4$g, _templateObject5$b, _templateObject6$8, _templateObject7$5, _templateObject8$5;
|
|
5409
|
-
var PageHeadingWrapper = /*#__PURE__*/styled.div(_templateObject$L || (_templateObject$L = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n padding-bottom: 80px;\n background-color: ", ";\n color: var(--base-color-white);\n\n h2 {\n margin: 0;\n padding: 0;\n }\n\n @media ", " {\n padding-bottom: 0;\n }\n"])), function (_ref) {
|
|
5231
|
+
var _templateObject$K, _templateObject2$t, _templateObject3$l, _templateObject4$f, _templateObject5$b, _templateObject6$8, _templateObject7$5, _templateObject8$5;
|
|
5232
|
+
var PageHeadingWrapper = /*#__PURE__*/styled.div(_templateObject$K || (_templateObject$K = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n padding-bottom: 80px;\n background-color: ", ";\n color: var(--base-color-white);\n\n h2 {\n margin: 0;\n padding: 0;\n }\n\n @media ", " {\n padding-bottom: 0;\n }\n"])), function (_ref) {
|
|
5410
5233
|
var theme = _ref.theme;
|
|
5411
5234
|
return theme.colors.primary;
|
|
5412
5235
|
}, devices.mobile);
|
|
5413
|
-
var PageHeadingGrid = /*#__PURE__*/styled(Grid)(_templateObject2$
|
|
5414
|
-
var TitleWrapper$1 = /*#__PURE__*/styled.div(_templateObject3$
|
|
5415
|
-
var ChildrenWrapper = /*#__PURE__*/styled.div(_templateObject4$
|
|
5236
|
+
var PageHeadingGrid = /*#__PURE__*/styled(Grid)(_templateObject2$t || (_templateObject2$t = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n gap: 0 var(--grid-column-gap);\n grid-template-rows: min-content min-content;\n grid-template-areas:\n '. . title title title title title title title title title title . . logo .'\n '. . text text text text text text text text text button button button . .';\n\n @media ", " {\n & {\n grid-template-rows: 20px min-content min-content min-content 20px;\n grid-template-areas:\n '. . . . . . . . . . . . . .'\n '. title title title title title title title title title title logo logo .'\n '. text text text text text text text text text text text text .'\n '. button button button button button button button button button button button button .'\n '. . . . . . . . . . . . . .';\n }\n }\n\n @media ", " {\n & {\n grid-template-areas:\n '. title title title title title title title title title title logo logo .'\n '. text text text text text text text text text button button button .';\n }\n }\n"])), devices.mobile, devices.tablet);
|
|
5237
|
+
var TitleWrapper$1 = /*#__PURE__*/styled.div(_templateObject3$l || (_templateObject3$l = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n grid-area: title;\n margin-top: 80px;\n\n @media ", " {\n & {\n margin-top: 0;\n }\n }\n"])), devices.mobile);
|
|
5238
|
+
var ChildrenWrapper = /*#__PURE__*/styled.div(_templateObject4$f || (_templateObject4$f = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n margin-bottom: 20px;\n width: fit-content;\n height: 36px;\n\n @media ", " {\n & {\n height: 30px;\n }\n }\n"])), devices.mobile);
|
|
5416
5239
|
var TextWrapper = /*#__PURE__*/styled.div(_templateObject5$b || (_templateObject5$b = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n grid-area: text;\n align-self: end;\n margin-top: 12px;\n\n h6 {\n margin: 0;\n padding: 0;\n }\n"])));
|
|
5417
5240
|
var LogoWrapper$1 = /*#__PURE__*/styled.div(_templateObject6$8 || (_templateObject6$8 = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n grid-area: logo;\n justify-self: end;\n margin-top: 20px;\n position: relative;\n\n > div {\n position: absolute;\n top: 0;\n right: 0;\n }\n\n @media ", " {\n & {\n align-self: start;\n margin-top: 0;\n }\n }\n"])), devices.mobile);
|
|
5418
5241
|
var ButtonWrapper$1 = /*#__PURE__*/styled.div(_templateObject7$5 || (_templateObject7$5 = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n grid-area: button;\n justify-self: end;\n align-self: end;\n\n @media ", " {\n & {\n justify-self: center;\n align-self: center;\n width: 100%;\n margin-top: 16px;\n }\n }\n"])), devices.mobile);
|
|
@@ -5489,8 +5312,8 @@ var PageHeadingCinema = function PageHeadingCinema(_ref) {
|
|
|
5489
5312
|
}), /*#__PURE__*/React__default.createElement(CinemaBadge, null)));
|
|
5490
5313
|
};
|
|
5491
5314
|
|
|
5492
|
-
var _templateObject$
|
|
5493
|
-
var ImpactWrapper = /*#__PURE__*/styled.div(_templateObject$
|
|
5315
|
+
var _templateObject$L, _templateObject2$u, _templateObject3$m, _templateObject4$g, _templateObject5$c, _templateObject6$9, _templateObject7$6;
|
|
5316
|
+
var ImpactWrapper = /*#__PURE__*/styled.div(_templateObject$L || (_templateObject$L = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n aspect-ratio: 16 / 9;\n @supports not (aspect-ratio: 16 / 9) {\n height: 56.25vw;\n }\n\n background-image: url('", "');\n background-repeat: no-repeat;\n background-size: cover;\n position: relative;\n display: flex;\n align-items: center;\n\n ::before {\n content: '';\n position: absolute;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n background-color: var(--base-color-black);\n filter: opacity(40%);\n z-index: ", ";\n }\n\n @media ", " {\n & {\n aspect-ratio: 1 / 1;\n @supports not (aspect-ratio: 1 / 1) {\n height: 100vw;\n }\n background-image: url('", "');\n background-position: center;\n display: flex;\n align-items: start;\n }\n }\n"])), function (_ref) {
|
|
5494
5317
|
var bgUrlDesktop = _ref.bgUrlDesktop;
|
|
5495
5318
|
return bgUrlDesktop;
|
|
5496
5319
|
}, zIndexes.content, devices.mobile, function (_ref2) {
|
|
@@ -5498,10 +5321,10 @@ var ImpactWrapper = /*#__PURE__*/styled.div(_templateObject$M || (_templateObjec
|
|
|
5498
5321
|
bgUrlDevice = _ref2.bgUrlDevice;
|
|
5499
5322
|
return bgUrlDevice ? bgUrlDevice : bgUrlDesktop;
|
|
5500
5323
|
});
|
|
5501
|
-
var ImpactGrid = /*#__PURE__*/styled(Grid)(_templateObject2$
|
|
5502
|
-
var SponsorWrapper = /*#__PURE__*/styled.div(_templateObject3$
|
|
5503
|
-
var LogoWrapper$2 = /*#__PURE__*/styled.div(_templateObject4$
|
|
5504
|
-
var TextWrapper$1 = /*#__PURE__*/styled.div(_templateObject5$c || (_templateObject5$c = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n grid-area: text;\n color: var(--base-color-white);\n text-align: center;\n margin-top: 40px;\n max-height: calc(2 * var(--line-height-header-3));\n overflow: hidden;\n\n h3 {\n margin: 0;\n padding: 0;\n }\n\n @media ", " {\n & {\n max-height: calc(
|
|
5324
|
+
var ImpactGrid = /*#__PURE__*/styled(Grid)(_templateObject2$u || (_templateObject2$u = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n width: 100%;\n z-index: ", ";\n gap: 0 var(--grid-column-gap);\n grid-template-rows: min-content min-content min-content;\n grid-template-areas:\n '. . . . . logo logo logo logo logo logo . . . . .'\n '. . . text text text text text text text text text text . . .'\n '. . . button button button button button button button button button button . . .';\n\n @media ", " {\n & {\n height: 100%;\n grid-template-rows: 1fr max-content 1fr;\n grid-template-areas:\n '. . . logo logo logo logo logo logo logo logo . . .'\n '. text text text text text text text text text text text text .'\n '. button button button button button button button button button button button button .';\n }\n }\n\n @media ", " {\n & {\n grid-template-areas:\n '. . . logo logo logo logo logo logo logo logo . . .'\n '. text text text text text text text text text text text text .'\n '. . button button button button button button button button button button . .';\n }\n }\n"])), zIndexes.contentOverlay, devices.mobile, devices.tablet);
|
|
5325
|
+
var SponsorWrapper = /*#__PURE__*/styled.div(_templateObject3$m || (_templateObject3$m = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n position: absolute;\n top: 20px;\n right: var(--grid-outer-margin);\n width: fit-content;\n z-index: ", ";\n\n @media ", " {\n & {\n right: var(--grid-margin);\n }\n }\n"])), zIndexes.sponsorship, devices.mobileAndTablet);
|
|
5326
|
+
var LogoWrapper$2 = /*#__PURE__*/styled.div(_templateObject4$g || (_templateObject4$g = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n grid-area: logo;\n align-self: end;\n"])));
|
|
5327
|
+
var TextWrapper$1 = /*#__PURE__*/styled.div(_templateObject5$c || (_templateObject5$c = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n grid-area: text;\n color: var(--base-color-white);\n text-align: center;\n margin-top: 40px;\n max-height: calc(2 * var(--line-height-header-3));\n overflow: hidden;\n\n h3 {\n margin: 0;\n padding: 0;\n }\n\n @media ", " {\n & {\n max-height: calc(4 * var(--line-height-header-3));\n }\n }\n\n @media ", " {\n & {\n margin-top: 12px;\n max-height: calc(4 * var(--line-height-header-3));\n }\n\n h3 {\n font-size: var(--font-size-header-3);\n letter-spacing: var(--letter-spacing-header-5);\n line-height: var(--line-height-header-5);\n }\n }\n"])), devices.tablet, devices.mobile);
|
|
5505
5328
|
var ButtonWrapper$2 = /*#__PURE__*/styled.div(_templateObject6$9 || (_templateObject6$9 = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n grid-area: button;\n align-self: end;\n display: flex;\n justify-content: center;\n margin-top: 40px;\n\n @media ", " {\n & {\n margin-top: 0;\n margin-bottom: 20px;\n }\n }\n"])), devices.mobile);
|
|
5506
5329
|
var ScrollDownWrapper = /*#__PURE__*/styled.div(_templateObject7$6 || (_templateObject7$6 = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n position: absolute;\n bottom: 20px;\n left: var(--grid-outer-margin);\n width: fit-content;\n z-index: ", ";\n\n @keyframes UpDown {\n 0%,\n 100% {\n transform: translateY(0);\n }\n 50% {\n transform: translateY(8px);\n }\n }\n\n a {\n font-size: var(--font-size-overline-1);\n font-weight: var(--font-weight-overline-1);\n letter-spacing: var(--letter-spacing-overline-1);\n border: none;\n padding: 0;\n :hover {\n border: none;\n\n > span {\n animation: UpDown 1500ms linear infinite;\n }\n }\n }\n\n @media ", " {\n & {\n display: none;\n }\n }\n\n @media ", " {\n & {\n display: none;\n }\n }\n"])), zIndexes.contentOverlay, devices.mobile, devices.tablet);
|
|
5507
5330
|
|
|
@@ -5547,8 +5370,8 @@ var PageHeadingImpact = function PageHeadingImpact(_ref) {
|
|
|
5547
5370
|
}, "Scroll Down")) : null);
|
|
5548
5371
|
};
|
|
5549
5372
|
|
|
5550
|
-
var _templateObject$
|
|
5551
|
-
var StreamWrapper = /*#__PURE__*/styled.div(_templateObject$
|
|
5373
|
+
var _templateObject$M;
|
|
5374
|
+
var StreamWrapper = /*#__PURE__*/styled.div(_templateObject$M || (_templateObject$M = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n h2::selection,\n div::selection {\n color: #1866dc;\n background-color: #fff;\n }\n"])));
|
|
5552
5375
|
|
|
5553
5376
|
var _excluded$h = ["link"];
|
|
5554
5377
|
|
|
@@ -5568,11 +5391,11 @@ var PageHeadingStream = function PageHeadingStream(_ref) {
|
|
|
5568
5391
|
}), /*#__PURE__*/React__default.createElement(StreamBadge, null))));
|
|
5569
5392
|
};
|
|
5570
5393
|
|
|
5571
|
-
var _templateObject$
|
|
5572
|
-
var PeopleListingGrid = /*#__PURE__*/styled(Grid)(_templateObject$
|
|
5573
|
-
var PersonWrapper = /*#__PURE__*/styled.div(_templateObject2$
|
|
5574
|
-
var HeadshotWrapper = /*#__PURE__*/styled.div(_templateObject3$
|
|
5575
|
-
var RoleWrapper = /*#__PURE__*/styled.div(_templateObject4$
|
|
5394
|
+
var _templateObject$N, _templateObject2$v, _templateObject3$n, _templateObject4$h, _templateObject5$d, _templateObject6$a;
|
|
5395
|
+
var PeopleListingGrid = /*#__PURE__*/styled(Grid)(_templateObject$N || (_templateObject$N = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n gap: var(--line-height-people-listing-gap) var(--grid-column-gap);\n\n p {\n margin: 0;\n }\n\n grid-template-columns: 1fr 1fr 1fr;\n\n @media ", " {\n grid-template-columns: 1fr;\n }\n\n @media ", " {\n grid-template-columns: 1fr 1fr;\n }\n\n @media ", " {\n grid-template-columns: 1fr 1fr 1fr 1fr;\n }\n"])), devices.mobile, devices.tablet, devices.largeDesktop);
|
|
5396
|
+
var PersonWrapper = /*#__PURE__*/styled.div(_templateObject2$v || (_templateObject2$v = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n display: grid;\n grid-template-columns: 60px 1fr;\n grid-template-areas: 'headshot role-person';\n grid-column-gap: 10px;\n"])));
|
|
5397
|
+
var HeadshotWrapper = /*#__PURE__*/styled.div(_templateObject3$n || (_templateObject3$n = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n display: flex;\n grid-area: headshot;\n img {\n width: 60px;\n height: 60px;\n }\n"])));
|
|
5398
|
+
var RoleWrapper = /*#__PURE__*/styled.div(_templateObject4$h || (_templateObject4$h = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n color: var(--base-color-darkgrey);\n overflow-wrap: break-word;\n margin-bottom: 4px;\n"])));
|
|
5576
5399
|
var TextWrapper$2 = /*#__PURE__*/styled.div(_templateObject5$d || (_templateObject5$d = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n grid-area: role-person;\n"])));
|
|
5577
5400
|
var PersonLink = /*#__PURE__*/styled.a(_templateObject6$a || (_templateObject6$a = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n color: var(--base-color-black);\n text-decoration: underline;\n\n :hover {\n color: var(--base-color-primary);\n :after {\n color: var(--base-color-black);\n }\n }\n\n :visited {\n color: var(--base-color-black);\n }\n"])));
|
|
5578
5401
|
|
|
@@ -5625,47 +5448,44 @@ var PeopleListing = function PeopleListing(_ref) {
|
|
|
5625
5448
|
}));
|
|
5626
5449
|
};
|
|
5627
5450
|
|
|
5628
|
-
var _templateObject$
|
|
5451
|
+
var _templateObject$O, _templateObject2$w, _templateObject3$o, _templateObject4$i, _templateObject5$e, _templateObject6$b, _templateObject7$7, _templateObject8$6, _templateObject9$4, _templateObject10$3, _templateObject11$2;
|
|
5629
5452
|
var LENGTH_TEXT = 28;
|
|
5630
5453
|
var LENGTH_TEXT_TABLET$1 = 10;
|
|
5631
|
-
var PromoWithTagsGrid = /*#__PURE__*/styled(Grid)(_templateObject$
|
|
5454
|
+
var PromoWithTagsGrid = /*#__PURE__*/styled(Grid)(_templateObject$O || (_templateObject$O = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n grid-template-areas: ", ";\n\n @media ", " {\n & {\n grid-template-areas: ", ";\n }\n }\n\n @media ", " {\n & {\n grid-template-columns: var(--grid-margin) minmax(0, 1fr) var(--grid-margin);\n grid-template-rows: min-content 24px min-content;\n gap: 0;\n grid-template-areas:\n 'row1 row1 row1'\n '. . .'\n '. row2 .';\n }\n }\n"])), function (_ref) {
|
|
5632
5455
|
var imageToLeft = _ref.imageToLeft;
|
|
5633
5456
|
return imageToLeft ? "'left left left left left left left left . right right right right right . .'" : "'. . left left left left left . right right right right right right right right'";
|
|
5634
5457
|
}, devices.tablet, function (_ref2) {
|
|
5635
5458
|
var imageToLeft = _ref2.imageToLeft;
|
|
5636
5459
|
return imageToLeft ? "'left left left left left left left right right right right right right .'" : "'. left left left left left left right right right right right right right'";
|
|
5637
5460
|
}, devices.mobile);
|
|
5638
|
-
var
|
|
5461
|
+
var PromoWithTagsImageWrapper = /*#__PURE__*/styled.div(_templateObject2$w || (_templateObject2$w = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n grid-area: ", ";\n align-self: center;\n @media ", " {\n & {\n grid-area: row1;\n }\n }\n"])), function (_ref3) {
|
|
5639
5462
|
var imageToLeft = _ref3.imageToLeft;
|
|
5640
5463
|
return imageToLeft ? 'left' : 'right';
|
|
5641
5464
|
}, devices.mobile);
|
|
5642
|
-
var PromoWithTagsContentWrapper = /*#__PURE__*/styled.div(_templateObject3$
|
|
5465
|
+
var PromoWithTagsContentWrapper = /*#__PURE__*/styled.div(_templateObject3$o || (_templateObject3$o = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n grid-area: ", ";\n align-self: center;\n @media ", " {\n & {\n grid-area: row2;\n align-self: start;\n }\n }\n"])), function (_ref4) {
|
|
5643
5466
|
var imageToLeft = _ref4.imageToLeft;
|
|
5644
5467
|
return imageToLeft ? 'right' : 'left';
|
|
5645
|
-
}, devices.mobile
|
|
5646
|
-
|
|
5647
|
-
return hideSection ? 'none' : 'block';
|
|
5648
|
-
});
|
|
5649
|
-
var PromoWithTagsContainer = /*#__PURE__*/styled.div(_templateObject4$j || (_templateObject4$j = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n h2,\n h3 {\n margin: 0 0 16px;\n }\n"])));
|
|
5468
|
+
}, devices.mobile);
|
|
5469
|
+
var PromoWithTagsContainer = /*#__PURE__*/styled.div(_templateObject4$i || (_templateObject4$i = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n h2,\n h3 {\n margin: 0 0 16px;\n }\n"])));
|
|
5650
5470
|
var PromoWithTagsSubtitle = /*#__PURE__*/styled.span(_templateObject5$e || (_templateObject5$e = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n font-family: var(--font-family-subtitle);\n font-feature-settings: var(--font-feature-settings-subtitle);\n font-size: var(--font-size-subtitle-1);\n font-weight: var(--font-weight-subtitle-1);\n line-height: var(--line-height-subtitle-1);\n letter-spacing: var(--letter-spacing-subtitle-1);\n text-transform: var(--text-transform-subtitle);\n margin-bottom: var(--editorial-subtitle-margin-bottom);\n display: block;\n overflow-wrap: break-word;\n"])));
|
|
5651
|
-
var PromoWithTagsText = /*#__PURE__*/styled.div(_templateObject6$b || (_templateObject6$b = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n font-family: var(--font-family-body);\n font-feature-settings: var(--font-feature-settings-body);\n font-size: var(--font-size-body-1);\n font-weight: var(--font-weight-body-1);\n line-height: var(--line-height-body-1);\n letter-spacing: var(--letter-spacing-body-1);\n text-transform: var(--text-transform-body);\n margin: 0;\n padding: 0;\n white-space: break-spaces;\n overflow-wrap: break-word;\n\n h5,\n h6 {\n margin: 0 0 4px 0;\n font-family: var(--font-family-subtitle);\n font-feature-settings: var(--font-feature-settings-subtitle);\n font-size: var(--font-size-subtitle-2);\n font-weight: var(--font-weight-subtitle-2);\n line-height: var(--line-height-subtitle-2);\n letter-spacing: var(--letter-spacing-subtitle-2);\n text-transform: var(--text-transform-subtitle);\n overflow-wrap: break-word;\n }\n\n em {\n font-family: var(--font-family-body-italics);\n }\n\n a {\n text-decoration: underline;\n cursor: pointer;\n\n &[href^='tel:'] {\n text-decoration: none;\n }\n\n &:link {\n color: ", ";\n }\n\n &:visited {\n color: ", ";\n }\n\n &:hover {\n color: ", ";\n }\n }\n"])), function (
|
|
5652
|
-
var theme =
|
|
5471
|
+
var PromoWithTagsText = /*#__PURE__*/styled.div(_templateObject6$b || (_templateObject6$b = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n font-family: var(--font-family-body);\n font-feature-settings: var(--font-feature-settings-body);\n font-size: var(--font-size-body-1);\n font-weight: var(--font-weight-body-1);\n line-height: var(--line-height-body-1);\n letter-spacing: var(--letter-spacing-body-1);\n text-transform: var(--text-transform-body);\n margin: 0;\n padding: 0;\n white-space: break-spaces;\n overflow-wrap: break-word;\n\n h5,\n h6 {\n margin: 0 0 4px 0;\n font-family: var(--font-family-subtitle);\n font-feature-settings: var(--font-feature-settings-subtitle);\n font-size: var(--font-size-subtitle-2);\n font-weight: var(--font-weight-subtitle-2);\n line-height: var(--line-height-subtitle-2);\n letter-spacing: var(--letter-spacing-subtitle-2);\n text-transform: var(--text-transform-subtitle);\n overflow-wrap: break-word;\n }\n\n em {\n font-family: var(--font-family-body-italics);\n }\n\n a {\n text-decoration: underline;\n cursor: pointer;\n\n &[href^='tel:'] {\n text-decoration: none;\n }\n\n &:link {\n color: ", ";\n }\n\n &:visited {\n color: ", ";\n }\n\n &:hover {\n color: ", ";\n }\n }\n"])), function (_ref5) {
|
|
5472
|
+
var theme = _ref5.theme;
|
|
5653
5473
|
return theme.colors.black;
|
|
5474
|
+
}, function (_ref6) {
|
|
5475
|
+
var theme = _ref6.theme;
|
|
5476
|
+
return theme.colors.darkgrey;
|
|
5654
5477
|
}, function (_ref7) {
|
|
5655
5478
|
var theme = _ref7.theme;
|
|
5656
|
-
return theme.colors.darkgrey;
|
|
5657
|
-
}, function (_ref8) {
|
|
5658
|
-
var theme = _ref8.theme;
|
|
5659
5479
|
return theme.colors.primary;
|
|
5660
5480
|
});
|
|
5661
|
-
var ButtonsContainer$2 = /*#__PURE__*/styled.div(_templateObject7$7 || (_templateObject7$7 = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n display: flex;\n gap: 16px;\n margin-top: 24px;\n\n ", ";\n\n ", "\n\n @media ", " {\n gap: 24px;\n flex-direction: column;\n align-items: center;\n }\n\n @media ", " {\n gap: 24px;\n align-items: flex-start;\n\n ", "\n }\n"])), function (
|
|
5662
|
-
var hasTextLinks =
|
|
5481
|
+
var ButtonsContainer$2 = /*#__PURE__*/styled.div(_templateObject7$7 || (_templateObject7$7 = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n display: flex;\n gap: 16px;\n margin-top: 24px;\n\n ", ";\n\n ", "\n\n @media ", " {\n gap: 24px;\n flex-direction: column;\n align-items: center;\n }\n\n @media ", " {\n gap: 24px;\n align-items: flex-start;\n\n ", "\n }\n"])), function (_ref8) {
|
|
5482
|
+
var hasTextLinks = _ref8.hasTextLinks;
|
|
5663
5483
|
return "margin-top: " + (hasTextLinks ? '0' : '24px') + ";";
|
|
5664
|
-
}, function (
|
|
5665
|
-
var
|
|
5666
|
-
primaryButtonTextLength =
|
|
5667
|
-
|
|
5668
|
-
tertiaryButtonTextLength =
|
|
5484
|
+
}, function (_ref9) {
|
|
5485
|
+
var _ref9$primaryButtonTe = _ref9.primaryButtonTextLength,
|
|
5486
|
+
primaryButtonTextLength = _ref9$primaryButtonTe === void 0 ? 0 : _ref9$primaryButtonTe,
|
|
5487
|
+
_ref9$tertiaryButtonT = _ref9.tertiaryButtonTextLength,
|
|
5488
|
+
tertiaryButtonTextLength = _ref9$tertiaryButtonT === void 0 ? 0 : _ref9$tertiaryButtonT;
|
|
5669
5489
|
var isLinksLayoutColumn = primaryButtonTextLength >= LENGTH_TEXT || tertiaryButtonTextLength >= LENGTH_TEXT;
|
|
5670
5490
|
|
|
5671
5491
|
if (isLinksLayoutColumn) {
|
|
@@ -5673,11 +5493,11 @@ var ButtonsContainer$2 = /*#__PURE__*/styled.div(_templateObject7$7 || (_templat
|
|
|
5673
5493
|
}
|
|
5674
5494
|
|
|
5675
5495
|
return '';
|
|
5676
|
-
}, devices.mobile, devices.tablet, function (
|
|
5677
|
-
var
|
|
5678
|
-
primaryButtonTextLength =
|
|
5679
|
-
|
|
5680
|
-
tertiaryButtonTextLength =
|
|
5496
|
+
}, devices.mobile, devices.tablet, function (_ref10) {
|
|
5497
|
+
var _ref10$primaryButtonT = _ref10.primaryButtonTextLength,
|
|
5498
|
+
primaryButtonTextLength = _ref10$primaryButtonT === void 0 ? 0 : _ref10$primaryButtonT,
|
|
5499
|
+
_ref10$tertiaryButton = _ref10.tertiaryButtonTextLength,
|
|
5500
|
+
tertiaryButtonTextLength = _ref10$tertiaryButton === void 0 ? 0 : _ref10$tertiaryButton;
|
|
5681
5501
|
var isLinksLayoutColumnTablet = primaryButtonTextLength >= LENGTH_TEXT_TABLET$1 || tertiaryButtonTextLength >= LENGTH_TEXT_TABLET$1;
|
|
5682
5502
|
|
|
5683
5503
|
if (isLinksLayoutColumnTablet) {
|
|
@@ -5686,17 +5506,13 @@ var ButtonsContainer$2 = /*#__PURE__*/styled.div(_templateObject7$7 || (_templat
|
|
|
5686
5506
|
|
|
5687
5507
|
return '';
|
|
5688
5508
|
});
|
|
5689
|
-
var PromoWithTagsTagWrapper = /*#__PURE__*/styled.div(_templateObject8$6 || (_templateObject8$6 = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n margin-bottom: ", ";\n"])), function (
|
|
5690
|
-
var marginBottom =
|
|
5509
|
+
var PromoWithTagsTagWrapper = /*#__PURE__*/styled.div(_templateObject8$6 || (_templateObject8$6 = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n margin-bottom: ", ";\n"])), function (_ref11) {
|
|
5510
|
+
var marginBottom = _ref11.marginBottom;
|
|
5691
5511
|
return marginBottom + "px";
|
|
5692
5512
|
});
|
|
5693
5513
|
var PromoWithTagsAdditionalText = /*#__PURE__*/styled(PromoWithTagsText)(_templateObject9$4 || (_templateObject9$4 = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n margin: 24px 0;\n"])));
|
|
5694
5514
|
var TextLinksContainer = /*#__PURE__*/styled.div(_templateObject10$3 || (_templateObject10$3 = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n display: flex;\n flex-wrap: wrap;\n margin: 24px 0 4px 0;\n"])));
|
|
5695
5515
|
var TextLinkWrapper$2 = /*#__PURE__*/styled.div(_templateObject11$2 || (_templateObject11$2 = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n margin-right: 24px;\n margin-bottom: 20px;\n\n &:last-child {\n margin-right: 0;\n }\n"])));
|
|
5696
|
-
var ExtraContentWrapper = /*#__PURE__*/styled.div(_templateObject12 || (_templateObject12 = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n position: relative;\n padding-right: 68px;\n\n @media ", " {\n padding: 30px 0 0;\n }\n\n @media ", " {\n padding: 0;\n position: initial;\n }\n"])), devices.tablet, devices.mobile);
|
|
5697
|
-
var IconWrapper$2 = /*#__PURE__*/styled.div(_templateObject13 || (_templateObject13 = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n cursor: pointer;\n position: absolute;\n top: 25px;\n right: 35px;\n width: 24px;\n height: 24px;\n\n @media ", " {\n top: 30px;\n right: 30px;\n }\n\n @media ", " {\n top: 3px;\n right: 20px;\n }\n"])), devices.tablet, devices.mobile);
|
|
5698
|
-
var PrimaryButtonWrapper$2 = /*#__PURE__*/styled.div(_templateObject14 || (_templateObject14 = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n height: var(--button-height);\n"])));
|
|
5699
|
-
var MobileTitleWrapper = /*#__PURE__*/styled.div(_templateObject15 || (_templateObject15 = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n display: none;\n margin: 0 50px 0 20px;\n\n h2,\n h3 {\n margin: 0;\n }\n\n @media ", " {\n display: block;\n }\n"])), devices.mobile);
|
|
5700
5516
|
|
|
5701
5517
|
var _excluded$i = ["text"],
|
|
5702
5518
|
_excluded2$2 = ["text"],
|
|
@@ -5718,12 +5534,7 @@ var PromoWithTags = function PromoWithTags(_ref) {
|
|
|
5718
5534
|
aboveTitleTags = _ref.aboveTitleTags,
|
|
5719
5535
|
belowTitleTags = _ref.belowTitleTags,
|
|
5720
5536
|
middleText = _ref.middleText,
|
|
5721
|
-
bottomText = _ref.bottomText
|
|
5722
|
-
image = _ref.image;
|
|
5723
|
-
|
|
5724
|
-
var _useState = useState(false),
|
|
5725
|
-
showExtraContent = _useState[0],
|
|
5726
|
-
setShowExtraContent = _useState[1];
|
|
5537
|
+
bottomText = _ref.bottomText;
|
|
5727
5538
|
|
|
5728
5539
|
var truncate = function truncate(str, n) {
|
|
5729
5540
|
return str.length >= n ? str.substr(0, n) : str;
|
|
@@ -5731,19 +5542,6 @@ var PromoWithTags = function PromoWithTags(_ref) {
|
|
|
5731
5542
|
|
|
5732
5543
|
var imageToLeft = imagePosition === 'left';
|
|
5733
5544
|
var titleLevel = titleSize === 'large' ? 2 : 3;
|
|
5734
|
-
var isExtraContentPresent = !!children;
|
|
5735
|
-
var anchorLink = title.replace(' ', '-').toLocaleLowerCase() + "-content";
|
|
5736
|
-
|
|
5737
|
-
var handleExtraContent = function handleExtraContent(e) {
|
|
5738
|
-
e.preventDefault();
|
|
5739
|
-
setShowExtraContent(true);
|
|
5740
|
-
|
|
5741
|
-
if (window.matchMedia && window.matchMedia(devices.mobile).matches) {
|
|
5742
|
-
window.location.href = "#" + anchorLink;
|
|
5743
|
-
}
|
|
5744
|
-
};
|
|
5745
|
-
|
|
5746
|
-
var defaultOnClickHandler = isExtraContentPresent ? handleExtraContent : undefined;
|
|
5747
5545
|
var primaryButton = links == null ? void 0 : links[0];
|
|
5748
5546
|
|
|
5749
5547
|
var _ref2 = primaryButton || {},
|
|
@@ -5768,12 +5566,15 @@ var PromoWithTags = function PromoWithTags(_ref) {
|
|
|
5768
5566
|
return /*#__PURE__*/React__default.createElement(TextLinkWrapper$2, null, /*#__PURE__*/React__default.createElement(TextLink, Object.assign({}, restTextLink), textLinkText));
|
|
5769
5567
|
}) : null;
|
|
5770
5568
|
return /*#__PURE__*/React__default.createElement(PromoWithTagsGrid, {
|
|
5771
|
-
id: anchorLink,
|
|
5772
5569
|
imageToLeft: imageToLeft
|
|
5773
|
-
}, /*#__PURE__*/React__default.createElement(
|
|
5570
|
+
}, /*#__PURE__*/React__default.createElement(PromoWithTagsImageWrapper, {
|
|
5571
|
+
"data-testid": "image-wrapper",
|
|
5572
|
+
imageToLeft: imageToLeft
|
|
5573
|
+
}, /*#__PURE__*/React__default.createElement(ImageAspectRatioWrapper, {
|
|
5574
|
+
aspectRatio: AspectRatio['4:3']
|
|
5575
|
+
}, children)), /*#__PURE__*/React__default.createElement(PromoWithTagsContentWrapper, {
|
|
5774
5576
|
"data-testid": "content-wrapper",
|
|
5775
|
-
imageToLeft: imageToLeft
|
|
5776
|
-
hideSection: showExtraContent
|
|
5577
|
+
imageToLeft: imageToLeft
|
|
5777
5578
|
}, /*#__PURE__*/React__default.createElement(PromoWithTagsContainer, null, !!(aboveTitleTags != null && aboveTitleTags.length) && /*#__PURE__*/React__default.createElement(PromoWithTagsTagWrapper, {
|
|
5778
5579
|
marginBottom: 16
|
|
5779
5580
|
}, /*#__PURE__*/React__default.createElement(TypeTags, {
|
|
@@ -5801,53 +5602,28 @@ var PromoWithTags = function PromoWithTags(_ref) {
|
|
|
5801
5602
|
"data-testid": "buttons-wrapper",
|
|
5802
5603
|
primaryButtonTextLength: primaryButtonText.length,
|
|
5803
5604
|
tertiaryButtonTextLength: tertiaryButtonText.length
|
|
5804
|
-
}, primaryButton && /*#__PURE__*/React__default.createElement(
|
|
5805
|
-
onClick: defaultOnClickHandler
|
|
5806
|
-
}, restPrimaryButton), primaryButtonTextTruncate)), tertiaryButton && /*#__PURE__*/React__default.createElement(Button$1, Object.assign({}, restTertiaryButton), tertiaryButtonTextTruncate))), /*#__PURE__*/React__default.createElement(PromoWithTagsExtraContentWrapper, {
|
|
5807
|
-
"data-testid": "extra-content-wrapper",
|
|
5808
|
-
imageToLeft: imageToLeft
|
|
5809
|
-
}, showExtraContent && /*#__PURE__*/React__default.createElement(MobileTitleWrapper, null, /*#__PURE__*/React__default.createElement(Header, {
|
|
5810
|
-
level: titleLevel
|
|
5811
|
-
}, title)), /*#__PURE__*/React__default.createElement(ImageAspectRatioWrapper, {
|
|
5812
|
-
aspectRatio: AspectRatio['4:3']
|
|
5813
|
-
}, isExtraContentPresent && showExtraContent ? /*#__PURE__*/React__default.createElement(ExtraContentWrapper, null, children, /*#__PURE__*/React__default.createElement(IconWrapper$2, {
|
|
5814
|
-
"data-testid": "extra-content-close-button",
|
|
5815
|
-
onClick: function onClick() {
|
|
5816
|
-
return setShowExtraContent(false);
|
|
5817
|
-
},
|
|
5818
|
-
tabIndex: 0,
|
|
5819
|
-
onKeyPress: function onKeyPress(e) {
|
|
5820
|
-
e.key === 'Enter' && setShowExtraContent(false);
|
|
5821
|
-
}
|
|
5822
|
-
}, /*#__PURE__*/React__default.createElement(Icon, {
|
|
5823
|
-
iconName: "Close",
|
|
5824
|
-
color: Colors.Black
|
|
5825
|
-
}))) : image && /*#__PURE__*/React__default.createElement("img", {
|
|
5826
|
-
"data-testid": "promo-with-tags-image",
|
|
5827
|
-
src: image.src,
|
|
5828
|
-
alt: image.alt
|
|
5829
|
-
}))));
|
|
5605
|
+
}, primaryButton && /*#__PURE__*/React__default.createElement(PrimaryButton, Object.assign({}, restPrimaryButton), primaryButtonTextTruncate), tertiaryButton && /*#__PURE__*/React__default.createElement(Button$1, Object.assign({}, restTertiaryButton), tertiaryButtonTextTruncate))));
|
|
5830
5606
|
};
|
|
5831
5607
|
|
|
5832
|
-
var _templateObject$
|
|
5608
|
+
var _templateObject$P, _templateObject2$x, _templateObject3$p, _templateObject4$j, _templateObject5$f, _templateObject6$c, _templateObject7$8;
|
|
5833
5609
|
var LENGTH_TEXT$2 = 28;
|
|
5834
5610
|
var LENGTH_TEXT_TABLET$2 = 10;
|
|
5835
|
-
var PromoWithTitleGrid = /*#__PURE__*/styled(Grid)(_templateObject$
|
|
5611
|
+
var PromoWithTitleGrid = /*#__PURE__*/styled(Grid)(_templateObject$P || (_templateObject$P = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n grid-template-areas: ", ";\n\n @media ", " {\n & {\n grid-template-areas: ", ";\n }\n }\n\n @media ", " {\n & {\n grid-template-columns: var(--grid-margin) minmax(0, 1fr) var(--grid-margin);\n grid-template-rows: min-content 24px min-content;\n gap: 0;\n grid-template-areas:\n 'row1 row1 row1'\n '. . .'\n '. row2 .';\n }\n }\n"])), function (_ref) {
|
|
5836
5612
|
var imageToLeft = _ref.imageToLeft;
|
|
5837
5613
|
return imageToLeft ? "'left left left left left left left left . right right right right right . .'" : "'. . left left left left left . right right right right right right right right'";
|
|
5838
5614
|
}, devices.tablet, function (_ref2) {
|
|
5839
5615
|
var imageToLeft = _ref2.imageToLeft;
|
|
5840
5616
|
return imageToLeft ? "'left left left left left left left right right right right right right .'" : "'. left left left left left left right right right right right right right'";
|
|
5841
5617
|
}, devices.mobile);
|
|
5842
|
-
var PromoWithTitleImageWrapper = /*#__PURE__*/styled.div(_templateObject2$
|
|
5618
|
+
var PromoWithTitleImageWrapper = /*#__PURE__*/styled.div(_templateObject2$x || (_templateObject2$x = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n grid-area: ", ";\n align-self: center;\n @media ", " {\n & {\n grid-area: row1;\n }\n }\n"])), function (_ref3) {
|
|
5843
5619
|
var imageToLeft = _ref3.imageToLeft;
|
|
5844
5620
|
return imageToLeft ? 'left' : 'right';
|
|
5845
5621
|
}, devices.mobile);
|
|
5846
|
-
var PromoWithTitleContentWrapper = /*#__PURE__*/styled.div(_templateObject3$
|
|
5622
|
+
var PromoWithTitleContentWrapper = /*#__PURE__*/styled.div(_templateObject3$p || (_templateObject3$p = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n grid-area: ", ";\n align-self: center;\n @media ", " {\n & {\n grid-area: row2;\n align-self: start;\n }\n }\n"])), function (_ref4) {
|
|
5847
5623
|
var imageToLeft = _ref4.imageToLeft;
|
|
5848
5624
|
return imageToLeft ? 'right' : 'left';
|
|
5849
5625
|
}, devices.mobile);
|
|
5850
|
-
var PromoWithTitleContainer = /*#__PURE__*/styled.div(_templateObject4$
|
|
5626
|
+
var PromoWithTitleContainer = /*#__PURE__*/styled.div(_templateObject4$j || (_templateObject4$j = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n h2,\n h3 {\n margin: 0 0 32px;\n\n @media ", " {\n & {\n margin: 0 0 24px;\n }\n }\n }\n"])), devices.mobile);
|
|
5851
5627
|
var PromoWithTitleSubtitle = /*#__PURE__*/styled.span(_templateObject5$f || (_templateObject5$f = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n font-family: var(--font-family-subtitle);\n font-feature-settings: var(--font-feature-settings-subtitle);\n font-size: var(--font-size-subtitle-1);\n font-weight: var(--font-weight-subtitle-1);\n line-height: var(--line-height-subtitle-1);\n letter-spacing: var(--letter-spacing-subtitle-1);\n text-transform: var(--text-transform-subtitle);\n margin-bottom: var(--editorial-subtitle-margin-bottom);\n display: block;\n overflow-wrap: break-word;\n"])));
|
|
5852
5628
|
var PromoWithTitleText = /*#__PURE__*/styled.div(_templateObject6$c || (_templateObject6$c = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n font-family: var(--font-family-body);\n font-feature-settings: var(--font-feature-settings-body);\n font-size: var(--font-size-body-1);\n font-weight: var(--font-weight-body-1);\n line-height: var(--line-height-body-1);\n letter-spacing: var(--letter-spacing-body-1);\n text-transform: var(--text-transform-body);\n margin: 0;\n padding: 0;\n white-space: break-spaces;\n overflow-wrap: break-word;\n\n h5,\n h6 {\n margin: 0 0 4px 0;\n font-family: var(--font-family-subtitle);\n font-feature-settings: var(--font-feature-settings-subtitle);\n font-size: var(--font-size-subtitle-2);\n font-weight: var(--font-weight-subtitle-2);\n line-height: var(--line-height-subtitle-2);\n letter-spacing: var(--letter-spacing-subtitle-2);\n text-transform: var(--text-transform-subtitle);\n overflow-wrap: break-word;\n }\n\n em {\n font-family: var(--font-family-body-italics);\n }\n\n a {\n text-decoration: underline;\n cursor: pointer;\n\n &[href^='tel:'] {\n text-decoration: none;\n }\n\n &:link {\n color: ", ";\n }\n\n &:visited {\n color: ", ";\n }\n\n &:hover {\n color: ", ";\n }\n }\n"])), function (_ref5) {
|
|
5853
5629
|
var theme = _ref5.theme;
|
|
@@ -5946,8 +5722,8 @@ var PromoWithTitle = function PromoWithTitle(_ref) {
|
|
|
5946
5722
|
}, primaryButton ? /*#__PURE__*/React__default.createElement(PrimaryButton, Object.assign({}, restPrimaryButton), primaryButtonTextTruncate) : null, tertiaryButton ? /*#__PURE__*/React__default.createElement(Button$1, Object.assign({}, restTertiaryButton), tertiaryButtonTextTruncate) : null) : null));
|
|
5947
5723
|
};
|
|
5948
5724
|
|
|
5949
|
-
var _templateObject$
|
|
5950
|
-
var SectionTitleWrapper = /*#__PURE__*/styled.div(_templateObject$
|
|
5725
|
+
var _templateObject$Q;
|
|
5726
|
+
var SectionTitleWrapper = /*#__PURE__*/styled.div(_templateObject$Q || (_templateObject$Q = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n margin: 30px 0;\n\n & > div {\n row-gap: 0;\n }\n\n & h1,\n & h2 {\n margin: 16px 0;\n white-space: pre-wrap;\n }\n\n @media ", " {\n & h1,\n & h2 {\n margin: 12px 0;\n }\n }\n\n & div {\n font-size: var(--font-size-title-description);\n line-height: var(--line-height-title-description);\n margin-block-start: 0;\n }\n"])), devices.mobile);
|
|
5951
5727
|
|
|
5952
5728
|
var SectionTitle = function SectionTitle(_ref) {
|
|
5953
5729
|
var title = _ref.title,
|
|
@@ -5973,8 +5749,8 @@ var SectionTitle = function SectionTitle(_ref) {
|
|
|
5973
5749
|
}, description))));
|
|
5974
5750
|
};
|
|
5975
5751
|
|
|
5976
|
-
var _templateObject$
|
|
5977
|
-
var TextContainer$1 = /*#__PURE__*/styled.div(_templateObject$
|
|
5752
|
+
var _templateObject$R;
|
|
5753
|
+
var TextContainer$1 = /*#__PURE__*/styled.div(_templateObject$R || (_templateObject$R = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n font-size: var(--font-size-body-1);\n font-family: var(--font-family-body);\n font-feature-settings: var(--font-feature-settings-body);\n font-weight: var(--font-weight-body-1);\n letter-spacing: var(--letter-spacing-body-1);\n line-height: var(--line-height-body-1);\n text-transform: var(--text-transform-body);\n\n & h1,\n h2,\n h3,\n h4 {\n font-size: var(--font-size-header-4);\n font-family: var(--font-family-header);\n font-feature-settings: var(--font-feature-settings-header);\n font-weight: var(--font-weight-header-4);\n letter-spacing: var(--letter-spacing-header-4);\n line-height: var(--line-height-header-4);\n text-transform: var(--text-transform-header);\n white-space: break-spaces;\n overflow-wrap: break-word;\n margin: 80px 0 16px;\n\n @media ", " {\n margin-top: 60px;\n }\n\n + p {\n margin-top: 0px;\n }\n }\n\n & h5,\n h6 {\n font-size: var(--font-size-subtitle-1);\n font-family: var(--font-family-subtitle);\n font-feature-settings: var(--font-feature-settings-subtitle);\n font-weight: var(--font-weight-subtitle-1);\n letter-spacing: var(--letter-spacing-subtitle-1);\n line-height: var(--line-height-subtitle-1);\n text-transform: var(--text-transform-subtitle);\n white-space: break-spaces;\n overflow-wrap: break-word;\n margin: 80px 0 16px;\n\n @media ", " {\n margin-top: 60px;\n }\n\n + p {\n margin-top: 10px;\n }\n }\n\n & a {\n color: ", ";\n text-decoration: underline;\n cursor: pointer;\n }\n\n p {\n margin: 30px 0;\n }\n\n & em {\n font-family: var(--font-family-body-italics);\n }\n\n & strong {\n font-weight: bold;\n }\n\n & u {\n font-size: var(--font-size-body-1);\n font-family: var(--font-family-body);\n }\n\n & ul {\n padding: 0;\n list-style: none;\n margin: 0 0 0 30px;\n\n li {\n text-indent: -24px;\n line-height: var(--line-height-listing);\n }\n }\n\n & ol {\n padding: 0;\n margin: 0 0 0 20px;\n\n li {\n line-height: var(--line-height-listing);\n }\n }\n\n & ul > li:before {\n display: inline-block;\n content: '\u2014';\n width: 0px;\n margin-left: 20px;\n }\n"])), devices.mobileAndTablet, devices.mobileAndTablet, function (_ref) {
|
|
5978
5754
|
var theme = _ref.theme;
|
|
5979
5755
|
return theme.colors.primary;
|
|
5980
5756
|
});
|
|
@@ -6002,8 +5778,8 @@ var TextOnly = function TextOnly(_ref) {
|
|
|
6002
5778
|
})));
|
|
6003
5779
|
};
|
|
6004
5780
|
|
|
6005
|
-
var _templateObject$
|
|
6006
|
-
var Wrapper$3 = /*#__PURE__*/styled.div(_templateObject$
|
|
5781
|
+
var _templateObject$S, _templateObject2$y;
|
|
5782
|
+
var Wrapper$3 = /*#__PURE__*/styled.div(_templateObject$S || (_templateObject$S = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n display: flex;\n flex-direction: column;\n height: 100%;\n width: fit-content;\n\n ", " {\n height: calc(100% - 12px - var(--line-height-body-2));\n @supports not (aspect-ratio: ", ") {\n width: ", ";\n }\n }\n"])), ImageAspectRatioWrapper, function (_ref) {
|
|
6007
5783
|
var _ref$aspectRatio = _ref.aspectRatio,
|
|
6008
5784
|
aspectRatio = _ref$aspectRatio === void 0 ? AspectRatio['1:1'] : _ref$aspectRatio;
|
|
6009
5785
|
return aspectRatio;
|
|
@@ -6013,7 +5789,7 @@ var Wrapper$3 = /*#__PURE__*/styled.div(_templateObject$T || (_templateObject$T
|
|
|
6013
5789
|
height = _ref2.height;
|
|
6014
5790
|
return "calc(calc(" + height + "px - 12px - var(--line-height-body-2)) * " + AspectRatioWidth[aspectRatio] + ")";
|
|
6015
5791
|
});
|
|
6016
|
-
var CaptionWrapper = /*#__PURE__*/styled.div(_templateObject2$
|
|
5792
|
+
var CaptionWrapper = /*#__PURE__*/styled.div(_templateObject2$y || (_templateObject2$y = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n margin-top: 12px;\n height: var(--line-height-body-2);\n font-family: var(--font-family-body);\n font-feature-settings: var(--font-feature-settings-body);\n font-size: var(--font-size-body-2);\n font-weight: var(--font-weight-body-2);\n letter-spacing: var(--letter-spacing-body-2);\n line-height: var(--line-height-body-2);\n text-transform: var(--text-transform-body-2);\n word-break: var(--word-break-body-2);\n font-style: italic;\n"])));
|
|
6017
5793
|
|
|
6018
5794
|
var ImageWithCaption = function ImageWithCaption(_ref) {
|
|
6019
5795
|
var caption = _ref.caption,
|
|
@@ -6051,13 +5827,13 @@ var ImageWithCaption = function ImageWithCaption(_ref) {
|
|
|
6051
5827
|
}, children), /*#__PURE__*/React__default.createElement(CaptionWrapper, null, caption));
|
|
6052
5828
|
};
|
|
6053
5829
|
|
|
6054
|
-
var _templateObject$
|
|
6055
|
-
var TextWrapper$3 = /*#__PURE__*/styled.div(_templateObject$
|
|
6056
|
-
var AttributionWrapper = /*#__PURE__*/styled.div(_templateObject2$
|
|
5830
|
+
var _templateObject$T, _templateObject2$z, _templateObject3$q;
|
|
5831
|
+
var TextWrapper$3 = /*#__PURE__*/styled.div(_templateObject$T || (_templateObject$T = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n h4 {\n margin: 0;\n }\n"])));
|
|
5832
|
+
var AttributionWrapper = /*#__PURE__*/styled.div(_templateObject2$z || (_templateObject2$z = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n ", "\n"])), function (_ref) {
|
|
6057
5833
|
var displayAttribution = _ref.displayAttribution;
|
|
6058
5834
|
return "display: " + (displayAttribution ? 'block' : 'none') + ";";
|
|
6059
5835
|
});
|
|
6060
|
-
var Line = /*#__PURE__*/styled.div(_templateObject3$
|
|
5836
|
+
var Line = /*#__PURE__*/styled.div(_templateObject3$q || (_templateObject3$q = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n background-color: var(--base-color-black);\n height: 2px;\n width: 62px;\n margin: 32px 0;\n\n @media ", " {\n height: 1px;\n width: 46px;\n margin: 24px 0;\n }\n"])), devices.mobile);
|
|
6061
5837
|
|
|
6062
5838
|
var Quote = function Quote(_ref) {
|
|
6063
5839
|
var text = _ref.text,
|
|
@@ -6081,8 +5857,8 @@ var Quote = function Quote(_ref) {
|
|
|
6081
5857
|
}, attribution))));
|
|
6082
5858
|
};
|
|
6083
5859
|
|
|
6084
|
-
var _templateObject$
|
|
6085
|
-
var GlobalStyles = /*#__PURE__*/createGlobalStyle(_templateObject$V || (_templateObject$V = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n html {\n --base-color-primary: ", ";\n --base-color-core: ", ";\n --base-color-stream: ", ";\n --base-color-cinema: ", ";\n --base-color-white: ", ";\n --base-color-black: ", ";\n --base-color-dark-grey: ", ";\n --base-color-mid-grey: ", ";\n --base-color-light-grey: ", ";\n --error-color-state: ", ";\n --medium-color-state: ", ";\n --good-color-state: ", ";\n --base-color-darkgrey: ", ";\n --base-color-midgrey: ", ";\n --base-color-lightgrey: ", ";\n --base-color-transparent: transparent;\n --base-color-errorstate: ", ";\n --base-color-mediumstate: ", ";\n --base-color-goodstate: ", ";\n --base-color-progress: ", ";\n --base-color-navigation: ", ";\n\n --button-height: ", ";\n --button-line-height: ", ";\n --button-padding-x: ", ";\n --button-padding-y: ", ";\n --button-padding-y-icon: ", ";\n --button-icon-margin: ", ";\n --button-icon-width: ", ";\n --button-icon-height: ", ";\n --button-font-size: ", ";\n --button-font-weight: ", ";\n\n --font-size-header-1: ", ";\n --font-weight-header-1: ", ";\n --letter-spacing-header-1: ", ";\n --line-height-header-1: ", ";\n\n --font-size-header-2: ", ";\n --font-weight-header-2: ", ";\n --letter-spacing-header-2: ", ";\n --line-height-header-2: ", ";\n\n --font-size-header-3: ", ";\n --font-weight-header-3: ", ";\n --letter-spacing-header-3: ", ";\n --line-height-header-3: ", ";\n\n --font-size-header-4: ", ";\n --font-weight-header-4: ", ";\n --letter-spacing-header-4: ", ";\n --line-height-header-4: ", ";\n\n --font-size-header-5: ", ";\n --font-weight-header-5: ", ";\n --letter-spacing-header-5: ", ";\n --line-height-header-5: ", ";\n\n --font-size-header-6: ", ";\n --font-weight-header-6: ", ";\n --letter-spacing-header-6: ", ";\n --line-height-header-6: ", ";\n\n --font-size-altHeader-3: ", ";\n --font-weight-altHeader-3: ", ";\n --letter-spacing-altHeader-3: ", ";\n --line-height-altHeader-3: ", ";\n\n --font-size-altHeader-4: ", ";\n --font-weight-altHeader-4: ", ";\n --letter-spacing-altHeader-4: ", ";\n --line-height-altHeader-4: ", ";\n\n --font-size-altHeader-5: ", ";\n --font-weight-altHeader-5: ", ";\n --letter-spacing-altHeader-5: ", ";\n --line-height-altHeader-5: ", ";\n\n --font-size-altHeader-6: ", ";\n --font-weight-altHeader-6: ", ";\n --letter-spacing-altHeader-6: ", ";\n --line-height-altHeader-6: ", ";\n\n --font-size-overline-1: ", ";\n --font-weight-overline-1: ", ";\n --letter-spacing-overline-1: ", ";\n --line-height-overline-1: ", ";\n\n --font-size-overline-2: ", ";\n --font-weight-overline-2: ", ";\n --letter-spacing-overline-2: ", ";\n --line-height-overline-2: ", ";\n\n --font-size-body-1: ", ";\n --font-weight-body-1: ", ";\n --letter-spacing-body-1: ", ";\n --line-height-body-1: ", ";\n\n --font-size-body-2: ", ";\n --font-weight-body-2: ", ";\n --letter-spacing-body-2: ", ";\n --line-height-body-2: ", ";\n\n --font-size-body-3: ", ";\n --font-weight-body-3: ", ";\n --letter-spacing-body-3: ", ";\n --line-height-body-3: ", ";\n\n --font-size-subtitle-1: ", ";\n --font-weight-subtitle-1: ", ";\n --letter-spacing-subtitle-1: ", ";\n --line-height-subtitle-1: ", ";\n \n --font-size-subtitle-2: ", ";\n --font-weight-subtitle-2: ", ";\n --letter-spacing-subtitle-2: ", ";\n --line-height-subtitle-2: ", ";\n\n --font-size-title-description: ", ";\n --line-height-title-description: ", ";\n --line-height-listing: ", ";\n --font-size-individual-listing-name: ", ";\n --line-height-individual-listing-name: ", ";\n --line-height-people-listing-gap: ", ";\n\n --font-family-header: ", ";\n --font-family-altHeader: ", ";\n --font-family-body: ", ";\n --font-family-body-italics: ", ";\n --font-family-buttons: ", ";\n --font-family-overline: ", ";\n --font-family-subtitle: ", ";\n --font-family-people-listing-role: ", ";\n --font-family-people-listing-name: ", ";\n\n --font-feature-settings-header: ", ";\n --font-feature-settings-altHeader: ", ";\n --font-feature-settings-overline: ", ";\n --font-feature-settings-subtitle: ", ";\n --font-feature-settings-body: ", ";\n --font-feature-settings-navigation: ", ";\n\n --text-transform-header: ", ";\n --text-transform-altHeader: ", ";\n --text-transform-body: ", ";\n --text-transform-overline: ", ";\n --text-transform-subtitle ", ";\n\n --word-break-header: ", ";\n --word-break-altHeader: ", ";\n --word-break-body: ", ";\n --word-break-overline: ", ";\n --word-break-subtitle: ", ";\n\n --font-family-navigation: ", ";\n --font-size-navigation: ", ";\n --font-weight-navigation: ", ";\n --line-height-navigation: ", ";\n --text-transform-navigation: ", ";\n --letter-spacing-navigation: ", ";\n\n --navigation-small-gap: ", ";\n --navigation-middle-gap: ", ";\n --navigation-large-gap: ", ";\n --navigation-xlarge-gap: ", ";\n --navigation-large-margin: ", ";\n\n --rotator-button-width: ", ";\n --rotator-button-icon-width: ", ";\n\n --font-size-search: ", ";\n --font-family-search: ", ";\n\n --grid-margin: ", ";\n --grid-outer-margin: ", ";\n --grid-template-columns: calc(", " - ", ") calc(", " - ", " - ", ") repeat(12, minmax(0,1fr)) calc(", " - ", " - ", ") calc(", " - ", ");\n --grid-column-gap: ", ";\n --grid-margin: 0;\n\n --footer-height: ", ";\n --footer-padding-top: ", ";\n --footer-padding-bottom: ", ";\n --footer-items-gap: ", ";\n --footer-media-gap: ", ";\n --footer-media-icon-width: ", ";\n --footer-media-icon-height: ", ";\n --footer-vertical-spacing-lg: ", ";\n --footer-vertical-spacing-sm: ", ";\n\n --text-link-underline-offset: ", ";\n\n --cards-spacing-stack: ", ";\n\n --editorial-subtitle-margin-bottom: ", ";\n --editorial-margin-between: ", ";\n --editorial-spacing-hover: ", ";\n --anchor-tabs-height: 70px;\n \n\n @media ", " {\n\n --font-size-header-1: ", ";\n --font-weight-header-1: ", ";\n --letter-spacing-header-1: ", ";\n --line-height-header-1: ", ";\n \n --font-size-header-2: ", ";\n --font-weight-header-2: ", ";\n --letter-spacing-header-2: ", ";\n --line-height-header-2: ", ";\n \n --font-size-header-3: ", ";\n --font-weight-header-3: ", ";\n --letter-spacing-header-3: ", ";\n --line-height-header-3: ", ";\n \n --font-size-header-4: ", ";\n --font-weight-header-4: ", ";\n --letter-spacing-header-4: ", ";\n --line-height-header-4: ", ";\n \n --font-size-header-5: ", ";\n --font-weight-header-5: ", ";\n --letter-spacing-header-5: ", ";\n --line-height-header-5: ", ";\n \n --font-size-header-6: ", ";\n --font-weight-header-6: ", ";\n --letter-spacing-header-6: ", ";\n --line-height-header-6: ", ";\n \n --font-size-altHeader-3: ", ";\n --font-weight-altHeader-3: ", ";\n --letter-spacing-altHeader-3: ", ";\n --line-height-altHeader-3: ", ";\n \n --font-size-altHeader-4: ", ";\n --font-weight-altHeader-4: ", ";\n --letter-spacing-altHeader-4: ", ";\n --line-height-altHeader-4: ", ";\n \n --font-size-altHeader-5: ", ";\n --font-weight-altHeader-5: ", ";\n --letter-spacing-altHeader-5: ", ";\n --line-height-altHeader-5: ", ";\n \n --font-size-altHeader-6: ", ";\n --font-weight-altHeader-6: ", ";\n --letter-spacing-altHeader-6: ", ";\n --line-height-altHeader-6: ", ";\n \n --font-size-overline-1: ", ";\n --font-weight-overline-1: ", ";\n --letter-spacing-overline-1: ", ";\n --line-height-overline-1: ", ";\n \n --font-size-overline-2: ", ";\n --font-weight-overline-2: ", ";\n --letter-spacing-overline-2: ", ";\n --line-height-overline-2: ", ";\n \n --font-size-body-1: ", ";\n --font-weight-body-1: ", ";\n --letter-spacing-body-1: ", ";\n --line-height-body-1: ", ";\n \n --font-size-body-2: ", ";\n --font-weight-body-2: ", ";\n --letter-spacing-body-2: ", ";\n --line-height-body-2: ", ";\n \n --font-size-body-3: ", ";\n --font-weight-body-3: ", ";\n --letter-spacing-body-3: ", ";\n --line-height-body-3: ", ";\n \n --font-size-subtitle-1: ", ";\n --font-weight-subtitle-1: ", ";\n --letter-spacing-subtitle-1: ", ";\n --line-height-subtitle-1: ", ";\n \n --font-size-subtitle-2: ", ";\n --font-weight-subtitle-2: ", ";\n --letter-spacing-subtitle-2: ", ";\n --line-height-subtitle-2: ", ";\n\n --font-size-title-description: ", ";\n --line-height-title-description: ", ";\n --line-height-people-listing-gap: ", ";\n\n --font-size-search: ", ";\n --font-family-search: ", ";\n\n --font-family-header: ", ";\n --font-family-altHeader: ", ";\n --font-family-body: ", ";\n --font-family-body-italics: ", ";\n --font-family-buttons: ", ";\n --font-family-overline: ", ";\n --font-family-subtitle: ", ";\n --font-family-people-listing-role: ", ";\n --font-family-people-listing-name: ", ";\n \n --font-feature-settings-header: ", ";\n --font-feature-settings-altHeader: ", ";\n --font-feature-settings-overline: ", ";\n --font-feature-settings-subtitle: ", ";\n --font-feature-settings-body: ", ";\n --font-feature-settings-navigation: ", ";\n \n --text-transform-header: ", ";\n --text-transform-altHeader: ", ";\n --text-transform-body: ", ";\n --text-transform-overline: ", ";\n --text-transform-subtitle ", ";\n \n --word-break-header: ", ";\n --word-break-altHeader: ", ";\n --word-break-body: ", ";\n --word-break-overline: ", ";\n --word-break-subtitle: ", ";\n \n --grid-template-columns: calc(", " - ", ") repeat(12, minmax(0, 1fr)) calc(", " - ", ");\n --grid-column-gap: ", ";\n --grid-margin: ", ";\n\n --footer-height: ", ";\n --footer-padding-top: ", ";\n --footer-padding-bottom: ", ";\n --footer-items-gap: ", ";\n --footer-media-gap: ", ";\n --footer-media-icon-width: ", ";\n --footer-media-icon-height: ", ";\n --footer-vertical-spacing-lg: ", ";\n --footer-vertical-spacing-sm: ", ";\n\n --anchor-tabs-height: 60px;\n --rotator-button-width: ", ";\n --rotator-button-icon-width: ", ";\n }\n\n @media ", " {\n --grid-template-columns: calc(", " - ", ") repeat(12, minmax(0, 1fr)) calc(", " - ", ");\n --grid-column-gap: ", ";\n --grid-margin: ", ";\n --rotator-button-width: ", ";\n --rotator-button-icon-width: ", ";\n\n --font-size-header-6: ", ";\n\n --font-size-altHeader-4: ", ";\n\n --font-size-body-1: ", ";\n }\n\n @media ", " {\n \n }\n\n @media ", " {\n \n }\n }\n"])), function (_ref) {
|
|
5860
|
+
var _templateObject$U;
|
|
5861
|
+
var GlobalStyles = /*#__PURE__*/createGlobalStyle(_templateObject$U || (_templateObject$U = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n html {\n --base-color-primary: ", ";\n --base-color-core: ", ";\n --base-color-stream: ", ";\n --base-color-cinema: ", ";\n --base-color-white: ", ";\n --base-color-black: ", ";\n --base-color-dark-grey: ", ";\n --base-color-mid-grey: ", ";\n --base-color-light-grey: ", ";\n --error-color-state: ", ";\n --medium-color-state: ", ";\n --good-color-state: ", ";\n --base-color-darkgrey: ", ";\n --base-color-midgrey: ", ";\n --base-color-lightgrey: ", ";\n --base-color-transparent: transparent;\n --base-color-errorstate: ", ";\n --base-color-mediumstate: ", ";\n --base-color-goodstate: ", ";\n --base-color-progress: ", ";\n --base-color-navigation: ", ";\n\n --button-height: ", ";\n --button-line-height: ", ";\n --button-padding-x: ", ";\n --button-padding-y: ", ";\n --button-padding-y-icon: ", ";\n --button-icon-margin: ", ";\n --button-icon-width: ", ";\n --button-icon-height: ", ";\n --button-font-size: ", ";\n --button-font-weight: ", ";\n\n --font-size-header-1: ", ";\n --font-weight-header-1: ", ";\n --letter-spacing-header-1: ", ";\n --line-height-header-1: ", ";\n\n --font-size-header-2: ", ";\n --font-weight-header-2: ", ";\n --letter-spacing-header-2: ", ";\n --line-height-header-2: ", ";\n\n --font-size-header-3: ", ";\n --font-weight-header-3: ", ";\n --letter-spacing-header-3: ", ";\n --line-height-header-3: ", ";\n\n --font-size-header-4: ", ";\n --font-weight-header-4: ", ";\n --letter-spacing-header-4: ", ";\n --line-height-header-4: ", ";\n\n --font-size-header-5: ", ";\n --font-weight-header-5: ", ";\n --letter-spacing-header-5: ", ";\n --line-height-header-5: ", ";\n\n --font-size-header-6: ", ";\n --font-weight-header-6: ", ";\n --letter-spacing-header-6: ", ";\n --line-height-header-6: ", ";\n\n --font-size-altHeader-3: ", ";\n --font-weight-altHeader-3: ", ";\n --letter-spacing-altHeader-3: ", ";\n --line-height-altHeader-3: ", ";\n\n --font-size-altHeader-4: ", ";\n --font-weight-altHeader-4: ", ";\n --letter-spacing-altHeader-4: ", ";\n --line-height-altHeader-4: ", ";\n\n --font-size-altHeader-5: ", ";\n --font-weight-altHeader-5: ", ";\n --letter-spacing-altHeader-5: ", ";\n --line-height-altHeader-5: ", ";\n\n --font-size-altHeader-6: ", ";\n --font-weight-altHeader-6: ", ";\n --letter-spacing-altHeader-6: ", ";\n --line-height-altHeader-6: ", ";\n\n --font-size-overline-1: ", ";\n --font-weight-overline-1: ", ";\n --letter-spacing-overline-1: ", ";\n --line-height-overline-1: ", ";\n\n --font-size-overline-2: ", ";\n --font-weight-overline-2: ", ";\n --letter-spacing-overline-2: ", ";\n --line-height-overline-2: ", ";\n\n --font-size-body-1: ", ";\n --font-weight-body-1: ", ";\n --letter-spacing-body-1: ", ";\n --line-height-body-1: ", ";\n\n --font-size-body-2: ", ";\n --font-weight-body-2: ", ";\n --letter-spacing-body-2: ", ";\n --line-height-body-2: ", ";\n\n --font-size-body-3: ", ";\n --font-weight-body-3: ", ";\n --letter-spacing-body-3: ", ";\n --line-height-body-3: ", ";\n\n --font-size-subtitle-1: ", ";\n --font-weight-subtitle-1: ", ";\n --letter-spacing-subtitle-1: ", ";\n --line-height-subtitle-1: ", ";\n \n --font-size-subtitle-2: ", ";\n --font-weight-subtitle-2: ", ";\n --letter-spacing-subtitle-2: ", ";\n --line-height-subtitle-2: ", ";\n\n --font-size-title-description: ", ";\n --line-height-title-description: ", ";\n --line-height-listing: ", ";\n --font-size-individual-listing-name: ", ";\n --line-height-individual-listing-name: ", ";\n --line-height-people-listing-gap: ", ";\n\n --font-family-header: ", ";\n --font-family-altHeader: ", ";\n --font-family-body: ", ";\n --font-family-body-italics: ", ";\n --font-family-buttons: ", ";\n --font-family-overline: ", ";\n --font-family-subtitle: ", ";\n --font-family-people-listing-role: ", ";\n --font-family-people-listing-name: ", ";\n\n --font-feature-settings-header: ", ";\n --font-feature-settings-altHeader: ", ";\n --font-feature-settings-overline: ", ";\n --font-feature-settings-subtitle: ", ";\n --font-feature-settings-body: ", ";\n --font-feature-settings-navigation: ", ";\n\n --text-transform-header: ", ";\n --text-transform-altHeader: ", ";\n --text-transform-body: ", ";\n --text-transform-overline: ", ";\n --text-transform-subtitle ", ";\n\n --word-break-header: ", ";\n --word-break-altHeader: ", ";\n --word-break-body: ", ";\n --word-break-overline: ", ";\n --word-break-subtitle: ", ";\n\n --font-family-navigation: ", ";\n --font-size-navigation: ", ";\n --font-weight-navigation: ", ";\n --line-height-navigation: ", ";\n --text-transform-navigation: ", ";\n --letter-spacing-navigation: ", ";\n\n --navigation-small-gap: ", ";\n --navigation-middle-gap: ", ";\n --navigation-large-gap: ", ";\n --navigation-xlarge-gap: ", ";\n --navigation-large-margin: ", ";\n\n --rotator-button-width: ", ";\n --rotator-button-icon-width: ", ";\n\n --font-size-search: ", ";\n --font-family-search: ", ";\n\n --grid-margin: ", ";\n --grid-outer-margin: ", ";\n --grid-template-columns: calc(", " - ", ") calc(", " - ", " - ", ") repeat(12, minmax(0,1fr)) calc(", " - ", " - ", ") calc(", " - ", ");\n --grid-column-gap: ", ";\n --grid-margin: 0;\n\n --footer-height: ", ";\n --footer-padding-top: ", ";\n --footer-padding-bottom: ", ";\n --footer-items-gap: ", ";\n --footer-media-gap: ", ";\n --footer-media-icon-width: ", ";\n --footer-media-icon-height: ", ";\n --footer-vertical-spacing-lg: ", ";\n --footer-vertical-spacing-sm: ", ";\n\n --text-link-underline-offset: ", ";\n\n --cards-spacing-stack: ", ";\n\n --editorial-subtitle-margin-bottom: ", ";\n --editorial-margin-between: ", ";\n --editorial-spacing-hover: ", ";\n --anchor-tabs-height: 70px;\n \n\n @media ", " {\n\n --font-size-header-1: ", ";\n --font-weight-header-1: ", ";\n --letter-spacing-header-1: ", ";\n --line-height-header-1: ", ";\n \n --font-size-header-2: ", ";\n --font-weight-header-2: ", ";\n --letter-spacing-header-2: ", ";\n --line-height-header-2: ", ";\n \n --font-size-header-3: ", ";\n --font-weight-header-3: ", ";\n --letter-spacing-header-3: ", ";\n --line-height-header-3: ", ";\n \n --font-size-header-4: ", ";\n --font-weight-header-4: ", ";\n --letter-spacing-header-4: ", ";\n --line-height-header-4: ", ";\n \n --font-size-header-5: ", ";\n --font-weight-header-5: ", ";\n --letter-spacing-header-5: ", ";\n --line-height-header-5: ", ";\n \n --font-size-header-6: ", ";\n --font-weight-header-6: ", ";\n --letter-spacing-header-6: ", ";\n --line-height-header-6: ", ";\n \n --font-size-altHeader-3: ", ";\n --font-weight-altHeader-3: ", ";\n --letter-spacing-altHeader-3: ", ";\n --line-height-altHeader-3: ", ";\n \n --font-size-altHeader-4: ", ";\n --font-weight-altHeader-4: ", ";\n --letter-spacing-altHeader-4: ", ";\n --line-height-altHeader-4: ", ";\n \n --font-size-altHeader-5: ", ";\n --font-weight-altHeader-5: ", ";\n --letter-spacing-altHeader-5: ", ";\n --line-height-altHeader-5: ", ";\n \n --font-size-altHeader-6: ", ";\n --font-weight-altHeader-6: ", ";\n --letter-spacing-altHeader-6: ", ";\n --line-height-altHeader-6: ", ";\n \n --font-size-overline-1: ", ";\n --font-weight-overline-1: ", ";\n --letter-spacing-overline-1: ", ";\n --line-height-overline-1: ", ";\n \n --font-size-overline-2: ", ";\n --font-weight-overline-2: ", ";\n --letter-spacing-overline-2: ", ";\n --line-height-overline-2: ", ";\n \n --font-size-body-1: ", ";\n --font-weight-body-1: ", ";\n --letter-spacing-body-1: ", ";\n --line-height-body-1: ", ";\n \n --font-size-body-2: ", ";\n --font-weight-body-2: ", ";\n --letter-spacing-body-2: ", ";\n --line-height-body-2: ", ";\n \n --font-size-body-3: ", ";\n --font-weight-body-3: ", ";\n --letter-spacing-body-3: ", ";\n --line-height-body-3: ", ";\n \n --font-size-subtitle-1: ", ";\n --font-weight-subtitle-1: ", ";\n --letter-spacing-subtitle-1: ", ";\n --line-height-subtitle-1: ", ";\n \n --font-size-subtitle-2: ", ";\n --font-weight-subtitle-2: ", ";\n --letter-spacing-subtitle-2: ", ";\n --line-height-subtitle-2: ", ";\n\n --font-size-title-description: ", ";\n --line-height-title-description: ", ";\n --line-height-people-listing-gap: ", ";\n\n --font-size-search: ", ";\n --font-family-search: ", ";\n\n --font-family-header: ", ";\n --font-family-altHeader: ", ";\n --font-family-body: ", ";\n --font-family-body-italics: ", ";\n --font-family-buttons: ", ";\n --font-family-overline: ", ";\n --font-family-subtitle: ", ";\n --font-family-people-listing-role: ", ";\n --font-family-people-listing-name: ", ";\n \n --font-feature-settings-header: ", ";\n --font-feature-settings-altHeader: ", ";\n --font-feature-settings-overline: ", ";\n --font-feature-settings-subtitle: ", ";\n --font-feature-settings-body: ", ";\n --font-feature-settings-navigation: ", ";\n \n --text-transform-header: ", ";\n --text-transform-altHeader: ", ";\n --text-transform-body: ", ";\n --text-transform-overline: ", ";\n --text-transform-subtitle ", ";\n \n --word-break-header: ", ";\n --word-break-altHeader: ", ";\n --word-break-body: ", ";\n --word-break-overline: ", ";\n --word-break-subtitle: ", ";\n \n --grid-template-columns: calc(", " - ", ") repeat(12, minmax(0, 1fr)) calc(", " - ", ");\n --grid-column-gap: ", ";\n --grid-margin: ", ";\n\n --footer-height: ", ";\n --footer-padding-top: ", ";\n --footer-padding-bottom: ", ";\n --footer-items-gap: ", ";\n --footer-media-gap: ", ";\n --footer-media-icon-width: ", ";\n --footer-media-icon-height: ", ";\n --footer-vertical-spacing-lg: ", ";\n --footer-vertical-spacing-sm: ", ";\n\n --anchor-tabs-height: 60px;\n --rotator-button-width: ", ";\n --rotator-button-icon-width: ", ";\n }\n\n @media ", " {\n --grid-template-columns: calc(", " - ", ") repeat(12, minmax(0, 1fr)) calc(", " - ", ");\n --grid-column-gap: ", ";\n --grid-margin: ", ";\n --rotator-button-width: ", ";\n --rotator-button-icon-width: ", ";\n\n --font-size-header-6: ", ";\n\n --font-size-altHeader-4: ", ";\n\n --font-size-body-1: ", ";\n }\n\n @media ", " {\n \n }\n\n @media ", " {\n \n }\n }\n"])), function (_ref) {
|
|
6086
5862
|
var theme = _ref.theme;
|
|
6087
5863
|
return theme.colors.primary;
|
|
6088
5864
|
}, function (_ref2) {
|
|
@@ -6975,5 +6751,5 @@ var GlobalStyles = /*#__PURE__*/createGlobalStyle(_templateObject$V || (_templat
|
|
|
6975
6751
|
return theme.fonts.tablet.sizes.body[1];
|
|
6976
6752
|
}, devices.desktop, devices.largeDesktop);
|
|
6977
6753
|
|
|
6978
|
-
export { Accordion, Accordions, AltHeader, AnchorTabBar, AnnouncementBanner, AspectRatio, BodyText, Card, Cards, Carousel, CarouselType, CinemaBadge, Colors, ContactCard, ControlledDropdown, Editorial, Footer, GlobalStyles, Grid, GridItem, Header, HighlightsCarousel, HighlightsCinema as HighlightsCarouselCinema, HighlightsCore as HighlightsCarouselCore, HighlightsStream as HighlightsCarouselStream, Icon, ImageAspectRatioWrapper, ImageWithCaption,
|
|
6754
|
+
export { Accordion, Accordions, AltHeader, AnchorTabBar, AnnouncementBanner, AspectRatio, BodyText, Card, Cards, Carousel, CarouselType, CinemaBadge, Colors, ContactCard, ControlledDropdown, Editorial, Footer, GlobalStyles, Grid, GridItem, Header, HighlightsCarousel, HighlightsCinema as HighlightsCarouselCinema, HighlightsCore as HighlightsCarouselCore, HighlightsStream as HighlightsCarouselStream, Icon, ImageAspectRatioWrapper, ImageWithCaption, LiveChat, Navigation, Overline, PageHeadingCinema, PageHeadingCore, PageHeadingImpact, PageHeadingStream, PeopleListing, PrimaryButton, PromoWithTags, PromoWithTitle, Quote, RotatorButtons, SecondaryButton, SecondaryLogo, SectionSplitter, SectionTitle, Sponsorship, StickyBar, StreamBadge, Subtitle, Tab, TabLink, Tabs, Button$1 as TertiaryButton, TextLink, TextOnly, Theme as ThemeProvider, ThemeType, Tickbox, TickboxMode, TitleWithCTA, TypeTags, devices };
|
|
6979
6755
|
//# sourceMappingURL=chord.esm.js.map
|