@royaloperahouse/harmonic 0.2.3-d → 0.2.3-e
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 +3 -0
- package/dist/components/Typography/Typography.d.ts +0 -1
- package/dist/components/molecules/PromoWithTitle/PromoWithTitle.style.d.ts +3 -3
- package/dist/components/molecules/Swipe/helper.d.ts +2 -0
- package/dist/components/organisms/Carousels/HighlightsCarousel/components/SwipeCarousel.d.ts +1 -0
- package/dist/harmonic.cjs.development.css +105 -105
- package/dist/harmonic.cjs.development.js +75 -91
- package/dist/harmonic.cjs.development.js.map +1 -1
- package/dist/harmonic.cjs.production.min.js +1 -1
- package/dist/harmonic.cjs.production.min.js.map +1 -1
- package/dist/harmonic.esm.js +106 -122
- package/dist/harmonic.esm.js.map +1 -1
- package/dist/helpers/urls.d.ts +0 -1
- package/dist/index.d.ts +1 -2
- package/dist/styles/HarmonicThemeProvider/HarmonicThemeProvider.d.ts +1 -0
- package/dist/types/editorial.d.ts +6 -4
- package/dist/types/information.d.ts +2 -2
- package/dist/types/typography.d.ts +8 -3
- package/package.json +1 -1
package/dist/harmonic.esm.js
CHANGED
|
@@ -355,36 +355,6 @@ function _taggedTemplateLiteralLoose(e, t) {
|
|
|
355
355
|
return t || (t = e.slice(0)), e.raw = t, e;
|
|
356
356
|
}
|
|
357
357
|
|
|
358
|
-
function styleInject(css, ref) {
|
|
359
|
-
if ( ref === void 0 ) ref = {};
|
|
360
|
-
var insertAt = ref.insertAt;
|
|
361
|
-
|
|
362
|
-
if (!css || typeof document === 'undefined') { return; }
|
|
363
|
-
|
|
364
|
-
var head = document.head || document.getElementsByTagName('head')[0];
|
|
365
|
-
var style = document.createElement('style');
|
|
366
|
-
style.type = 'text/css';
|
|
367
|
-
|
|
368
|
-
if (insertAt === 'top') {
|
|
369
|
-
if (head.firstChild) {
|
|
370
|
-
head.insertBefore(style, head.firstChild);
|
|
371
|
-
} else {
|
|
372
|
-
head.appendChild(style);
|
|
373
|
-
}
|
|
374
|
-
} else {
|
|
375
|
-
head.appendChild(style);
|
|
376
|
-
}
|
|
377
|
-
|
|
378
|
-
if (style.styleSheet) {
|
|
379
|
-
style.styleSheet.cssText = css;
|
|
380
|
-
} else {
|
|
381
|
-
style.appendChild(document.createTextNode(css));
|
|
382
|
-
}
|
|
383
|
-
}
|
|
384
|
-
|
|
385
|
-
var css_248z = "/* ~~~~~ General Styling Classes ~~~~~ */\n.styles_color-primary__UYod1 {\n color: var(--color-primary);\n}\n\n.styles_color-black__a05Fo {\n color: var(--color-base-black);\n}\n\n.styles_color-white__HiYDT {\n color: var(--color-base-white);\n}\n\n.styles_color-red__zwTZW {\n color: var(--color-primary-red);\n}\n\n.styles_color-grey__Gc0wv {\n color: var(--color-base-dark-grey);\n}\n\n.styles_color-inherit__Y12df {\n color: inherit;\n}\n\n.styles_em__v4FoO {\n font-style: italic;\n}\n/* ~~~ */\n\n/* Display Headers */\n.styles_display__VgnTB {\n margin: 0;\n font-family: var(--font-family-sans);\n line-height: 100%;\n\n &.styles_large__vqVxY {\n font-size: 96px;\n font-weight: 700;\n letter-spacing: -5px;\n }\n\n &.styles_small__e7YDe {\n font-size: 68px;\n font-weight: 500;\n letter-spacing: -3px;\n }\n\n /* Serif and Italic styles */\n &.styles_serif__b-ZjM,\n &.styles_em__v4FoO {\n font-family: var(--font-family-serif);\n font-weight: 500;\n }\n\n /* Serif and Italic adjustments */\n &.styles_large__vqVxY.styles_serif__b-ZjM,\n &.styles_large__vqVxY.styles_em__v4FoO {\n letter-spacing: -3px;\n }\n\n &.styles_small__e7YDe.styles_serif__b-ZjM,\n &.styles_small__e7YDe.styles_em__v4FoO {\n letter-spacing: -2px;\n }\n\n @media (max-width: 699px) {\n &.styles_large__vqVxY {\n font-size: 38px;\n letter-spacing: -1.5px;\n }\n\n &.styles_small__e7YDe {\n font-size: 32px;\n letter-spacing: -1.5px;\n }\n\n &.styles_large__vqVxY.styles_serif__b-ZjM,\n &.styles_large__vqVxY.styles_em__v4FoO,\n &.styles_small__e7YDe.styles_serif__b-ZjM,\n &.styles_small__e7YDe.styles_em__v4FoO {\n letter-spacing: -0.5px;\n }\n }\n}\n\n/* Headers */\n.styles_header__UDH-H {\n margin: 0;\n font-family: var(--font-family-sans);\n font-weight: 500;\n\n &.styles_large__vqVxY {\n font-size: 44px;\n line-height: 48px;\n letter-spacing: -1.5px;\n }\n\n &.styles_medium__WQPZj {\n font-size: 34px;\n line-height: 40px;\n letter-spacing: -1px;\n }\n\n &.styles_small__e7YDe {\n font-size: 26px;\n line-height: 32px;\n letter-spacing: -0.5px;\n }\n\n /* Serif and Italic styles */\n &.styles_serif__b-ZjM,\n &.styles_em__v4FoO {\n font-family: var(--font-family-serif);\n }\n\n /* Serif and Italic letter-spacing overrides */\n &.styles_large__vqVxY.styles_serif__b-ZjM,\n &.styles_large__vqVxY.styles_em__v4FoO {\n letter-spacing: -0.5px;\n }\n\n &.styles_medium__WQPZj.styles_serif__b-ZjM,\n &.styles_medium__WQPZj.styles_em__v4FoO {\n letter-spacing: -0.5px;\n }\n\n &.styles_small__e7YDe.styles_serif__b-ZjM,\n &.styles_small__e7YDe.styles_em__v4FoO {\n letter-spacing: -0.5px;\n }\n\n @media (max-width: 699px) {\n &.styles_large__vqVxY {\n font-size: 28px;\n line-height: 34px;\n letter-spacing: -1.5px;\n }\n\n &.styles_medium__WQPZj {\n font-size: 24px;\n line-height: 28px;\n letter-spacing: -1px;\n }\n\n &.styles_small__e7YDe {\n font-size: 20px;\n line-height: 26px;\n letter-spacing: -0.75px;\n }\n\n /* Mobile overrides for serif/italic letter-spacing */\n &.styles_large__vqVxY.styles_serif__b-ZjM,\n &.styles_large__vqVxY.styles_em__v4FoO,\n &.styles_medium__WQPZj.styles_serif__b-ZjM,\n &.styles_medium__WQPZj.styles_em__v4FoO,\n &.styles_small__e7YDe.styles_serif__b-ZjM,\n &.styles_small__e7YDe.styles_em__v4FoO {\n letter-spacing: -0.5px;\n }\n }\n}\n\n/* Subtitle */\n.styles_subtitle__os3DH {\n margin: 0;\n font-family: var(--font-family-sans);\n font-weight: 500;\n\n &.styles_large__vqVxY {\n font-size: 19px;\n line-height: 26px;\n letter-spacing: -0.5px;\n }\n\n &.styles_small__e7YDe {\n font-size: 17px;\n line-height: 24px;\n letter-spacing: -0.5px;\n }\n\n @media (max-width: 699px) {\n &.styles_large__vqVxY {\n font-size: 17px;\n line-height: 24px;\n letter-spacing: -0.5px;\n }\n\n &.styles_small__e7YDe {\n font-size: 14px;\n line-height: 20px;\n letter-spacing: -0.2px;\n }\n }\n}\n\n/* Body Copy */\n.styles_bodycopy__uEx9r {\n margin: 0;\n font-family: var(--font-family-sans);\n font-weight: 400;\n\n &.styles_large__vqVxY {\n font-size: 19px;\n line-height: 26px;\n letter-spacing: -0.5px;\n }\n\n &.styles_medium__WQPZj {\n font-size: 17px;\n line-height: 24px;\n letter-spacing: -0.5px;\n }\n\n &.styles_small__e7YDe {\n font-size: 14px;\n line-height: 20px;\n letter-spacing: -0.5px;\n }\n\n @media (max-width: 699px) {\n &.styles_large__vqVxY {\n font-size: 17px;\n line-height: 24px;\n letter-spacing: -0.5px;\n }\n\n &.styles_medium__WQPZj {\n font-size: 14px;\n line-height: 20px;\n letter-spacing: -0.2px;\n }\n\n &.styles_small__e7YDe {\n font-size: 11px;\n line-height: 16px;\n letter-spacing: -0.2px;\n }\n }\n}\n\n/* Overline */\n.styles_overline__5xGDa {\n margin: 0;\n font-family: var(--font-family-sans);\n font-weight: 500;\n text-transform: uppercase;\n\n &.styles_large__vqVxY {\n font-size: 14px;\n line-height: 18px;\n letter-spacing: 0.3px;\n }\n\n &.styles_small__e7YDe {\n font-size: 12px;\n line-height: 14px;\n letter-spacing: 0.2px;\n }\n\n @media (max-width: 699px) {\n &.styles_large__vqVxY {\n line-height: 17px;\n letter-spacing: 0.3px; /* Added to ensure it stays */\n }\n\n &.styles_small__e7YDe {\n line-height: 14px;\n letter-spacing: 0.3px;\n }\n }\n}\n\n/* Button Text */\n.styles_buttontext__UPumF {\n margin: 0;\n font-family: var(--font-family-sans);\n font-size: 17px;\n line-height: 20px;\n letter-spacing: -0.5px;\n font-weight: 400;\n\n @media (max-width: 699px) {\n font-weight: 500;\n line-height: 17px;\n }\n}\n\n/* Caption Text */\n.styles_captiontext__-TA6x {\n margin: 0;\n font-family: var(--font-family-sans);\n font-weight: 400;\n font-size: 17px;\n line-height: 24px;\n letter-spacing: -0.5px;\n\n @media (max-width: 699px) {\n font-size: 14px;\n line-height: 20px;\n letter-spacing: -0.2px;\n }\n}\n\n/* Navigation Text */\n.styles_navigationtext__qnnIo {\n margin: 0;\n font-family: var(--font-family-sans);\n font-size: 19px;\n line-height: 19px;\n letter-spacing: 0.4px;\n font-weight: 500;\n\n @media (max-width: 699px) {\n font-size: 17px;\n line-height: 17px;\n }\n}\n";
|
|
386
|
-
styleInject(css_248z);
|
|
387
|
-
|
|
388
358
|
// Utility function for creating className strings
|
|
389
359
|
var createClassNames = function createClassNames(baseClass, options) {
|
|
390
360
|
var size = options.size,
|
|
@@ -7477,6 +7447,17 @@ var generateDomElementId = function generateDomElementId() {
|
|
|
7477
7447
|
return randomPart + "-" + datePart;
|
|
7478
7448
|
};
|
|
7479
7449
|
|
|
7450
|
+
var DISABLED_TABBING_TAGS = 'a, button';
|
|
7451
|
+
var disableTabbingInside = function disableTabbingInside(element, shouldDisable) {
|
|
7452
|
+
if (!element) return;
|
|
7453
|
+
var focusables = element.querySelectorAll(DISABLED_TABBING_TAGS);
|
|
7454
|
+
focusables.forEach(function (el) {
|
|
7455
|
+
if (shouldDisable) el.setAttribute('tabindex', '-1');
|
|
7456
|
+
});
|
|
7457
|
+
};
|
|
7458
|
+
var isCloneSlide = function isCloneSlide(index, clonesCount, childrenLength, infinite) {
|
|
7459
|
+
return infinite && (index < clonesCount || index >= childrenLength + clonesCount);
|
|
7460
|
+
};
|
|
7480
7461
|
var getVisibleIndexes = function getVisibleIndexes(currentIndex, slideWidths, containerWidth, slidesLength) {
|
|
7481
7462
|
var widthSoFar = 0;
|
|
7482
7463
|
var visible = [];
|
|
@@ -7740,11 +7721,13 @@ var Swipe = /*#__PURE__*/forwardRef(function (_ref, ref) {
|
|
|
7740
7721
|
var visibleIndexes = getVisibleIndexes(currentIndex, slideWidths, containerWidth, slides.length);
|
|
7741
7722
|
return /*#__PURE__*/React__default.createElement(SwipeContainer, Object.assign({
|
|
7742
7723
|
ref: containerRef,
|
|
7724
|
+
className: "swipe",
|
|
7743
7725
|
onTouchStart: handleTouchStart,
|
|
7744
7726
|
onTouchMove: handleTouchMove,
|
|
7745
7727
|
onTouchEnd: handleTouchEnd,
|
|
7746
7728
|
onMouseDown: handleMouseDown,
|
|
7747
|
-
|
|
7729
|
+
"aria-roledescription": "carousel",
|
|
7730
|
+
role: "list"
|
|
7748
7731
|
}, props), /*#__PURE__*/React__default.createElement(SwipeTrack, {
|
|
7749
7732
|
className: "swipe-track-wrapper",
|
|
7750
7733
|
translateX: dragTranslateX !== null ? dragTranslateX : getTranslateX(),
|
|
@@ -7752,17 +7735,21 @@ var Swipe = /*#__PURE__*/forwardRef(function (_ref, ref) {
|
|
|
7752
7735
|
onTransitionEnd: handleTransitionEnd
|
|
7753
7736
|
}, slides.map(function (child, index) {
|
|
7754
7737
|
var isVisible = visibleIndexes.includes(index);
|
|
7755
|
-
|
|
7738
|
+
var isClone = isCloneSlide(index, clonesCount, children.length, infinite);
|
|
7739
|
+
return /*#__PURE__*/React__default.createElement("div", {
|
|
7756
7740
|
key: "swipe-slide-" + uniqueIdRef.current + "-" + index,
|
|
7757
|
-
ariaHidden: !isVisible,
|
|
7758
7741
|
className: SWIPE_SLIDE_CLASS_NAME,
|
|
7742
|
+
"aria-hidden": !isVisible,
|
|
7743
|
+
"aria-roledescription": "slide",
|
|
7744
|
+
role: "listitem",
|
|
7759
7745
|
ref: function ref(el) {
|
|
7760
7746
|
childRefs.current[index] = el;
|
|
7747
|
+
disableTabbingInside(el, isClone);
|
|
7761
7748
|
},
|
|
7762
7749
|
onFocus: function onFocus() {
|
|
7763
7750
|
return onSlideFocus(isVisible, index);
|
|
7764
7751
|
}
|
|
7765
|
-
});
|
|
7752
|
+
}, child);
|
|
7766
7753
|
})));
|
|
7767
7754
|
});
|
|
7768
7755
|
Swipe.displayName = 'Swipe';
|
|
@@ -7877,15 +7864,8 @@ var Carousel = function Carousel(_ref) {
|
|
|
7877
7864
|
"data-testid": "carousel-swipe",
|
|
7878
7865
|
ref: swipeRef,
|
|
7879
7866
|
infinite: infinite,
|
|
7880
|
-
slidesOffsetBefore: slidesOffsetBefore
|
|
7881
|
-
|
|
7882
|
-
"aria-roledescription": "carousel"
|
|
7883
|
-
}, React__default.Children.toArray(children).map(function (child, index) {
|
|
7884
|
-
return /*#__PURE__*/React__default.createElement("div", {
|
|
7885
|
-
key: "carousel-slide-" + index,
|
|
7886
|
-
"aria-roledescription": "slide"
|
|
7887
|
-
}, child);
|
|
7888
|
-
})))));
|
|
7867
|
+
slidesOffsetBefore: slidesOffsetBefore
|
|
7868
|
+
}, children))));
|
|
7889
7869
|
};
|
|
7890
7870
|
|
|
7891
7871
|
var _templateObject$P, _templateObject2$C, _templateObject3$p, _templateObject4$k, _templateObject5$f, _templateObject6$d, _templateObject7$8, _templateObject8$6, _templateObject9$3, _templateObject10$3, _templateObject11$1, _templateObject12$1, _templateObject13$1, _templateObject14$1, _templateObject15$1, _templateObject16, _templateObject17;
|
|
@@ -8361,55 +8341,11 @@ var ButtonsContainer$1 = /*#__PURE__*/styled.div(_templateObject14$2 || (_templa
|
|
|
8361
8341
|
return '';
|
|
8362
8342
|
});
|
|
8363
8343
|
|
|
8364
|
-
// Function to check if a URL is from the same site
|
|
8365
|
-
// NOTE: This function is not SSR compatible
|
|
8366
|
-
var isSameSiteUrl = function isSameSiteUrl(url) {
|
|
8367
|
-
var _window;
|
|
8368
|
-
if (url[0] === '/') return true; // URL is relative (e.g. /about)
|
|
8369
|
-
if (!((_window = window) != null && _window.location)) return false; // window.location is not available (e.g. in SSR)
|
|
8370
|
-
var currentPageURL = window.location.href || '';
|
|
8371
|
-
var regexPattern = /^(https?:\/\/)?(www\d?\.)?([\w.-]+)\.\w+.*$/;
|
|
8372
|
-
var match = url.match(regexPattern);
|
|
8373
|
-
if (match != null && match[3] && currentPageURL) {
|
|
8374
|
-
var urlDomain = match[3]; // Extract the domain from the third capture group
|
|
8375
|
-
var currentMatch = currentPageURL.match(regexPattern);
|
|
8376
|
-
if (currentMatch) {
|
|
8377
|
-
var currentDomain = currentMatch[3];
|
|
8378
|
-
return urlDomain === currentDomain;
|
|
8379
|
-
}
|
|
8380
|
-
}
|
|
8381
|
-
return false; // URL didn't match the pattern
|
|
8382
|
-
};
|
|
8383
|
-
// Hook to check if a URL is from the same site - use for SSR
|
|
8384
|
-
var useSameSiteUrl = function useSameSiteUrl(url) {
|
|
8385
|
-
var _useState = useState(false),
|
|
8386
|
-
hasSameSiteUrl = _useState[0],
|
|
8387
|
-
setSameSiteUrl = _useState[1];
|
|
8388
|
-
useEffect(function () {
|
|
8389
|
-
setSameSiteUrl(isSameSiteUrl(url));
|
|
8390
|
-
}, [url]);
|
|
8391
|
-
return hasSameSiteUrl;
|
|
8392
|
-
};
|
|
8393
|
-
var limitImageUrlDimension = function limitImageUrlDimension(imageUrl, widthLimit) {
|
|
8394
|
-
try {
|
|
8395
|
-
var url = new URL(imageUrl);
|
|
8396
|
-
var widthParam = url.searchParams.get('w') || url.searchParams.get('width');
|
|
8397
|
-
if (widthParam) {
|
|
8398
|
-
return imageUrl.replace(/(w|width)=\d+/, "$1=" + widthLimit);
|
|
8399
|
-
}
|
|
8400
|
-
var separator = url.search.includes('?') ? '&' : '?';
|
|
8401
|
-
return "" + imageUrl + separator + "w=" + widthLimit;
|
|
8402
|
-
} catch (error) {
|
|
8403
|
-
return imageUrl;
|
|
8404
|
-
}
|
|
8405
|
-
};
|
|
8406
|
-
|
|
8407
8344
|
var _excluded$k = ["text"],
|
|
8408
8345
|
_excluded2$3 = ["text"];
|
|
8409
8346
|
var _buttonTypeToButton$1;
|
|
8410
8347
|
var LENGTH_LARGE_TEXT$1 = 28;
|
|
8411
8348
|
var LENGTH_SMALL_TEXT$2 = 19;
|
|
8412
|
-
var IMAGE_WIDTH_LIMIT = 600;
|
|
8413
8349
|
var buttonTypeToButton$1 = (_buttonTypeToButton$1 = {}, _buttonTypeToButton$1[ButtonType.Primary] = PrimaryButton, _buttonTypeToButton$1[ButtonType.Secondary] = SecondaryButton, _buttonTypeToButton$1[ButtonType.Tertiary] = TertiaryButton, _buttonTypeToButton$1);
|
|
8414
8350
|
var Card = function Card(_ref) {
|
|
8415
8351
|
var _labelParams$color;
|
|
@@ -8475,7 +8411,6 @@ var Card = function Card(_ref) {
|
|
|
8475
8411
|
};
|
|
8476
8412
|
var FirstButtonComponent = firstButton != null && firstButton.buttonType ? buttonTypeToButton$1[firstButton.buttonType] : PrimaryButton;
|
|
8477
8413
|
var SecondButtonComponent = secondButton != null && secondButton.buttonType ? buttonTypeToButton$1[secondButton.buttonType] : TertiaryButton;
|
|
8478
|
-
var limitedImage = image ? limitImageUrlDimension(image, IMAGE_WIDTH_LIMIT) : image;
|
|
8479
8414
|
return /*#__PURE__*/React__default.createElement(CardContainer, {
|
|
8480
8415
|
onMouseOver: function onMouseOver() {
|
|
8481
8416
|
return onlyShowButtonsOnHover ? hoverHandler(true) : undefined;
|
|
@@ -8515,7 +8450,7 @@ var Card = function Card(_ref) {
|
|
|
8515
8450
|
}), /*#__PURE__*/React__default.createElement(ImageAspectRatioWrapper, {
|
|
8516
8451
|
aspectRatio: AspectRatio['4:3']
|
|
8517
8452
|
}, /*#__PURE__*/React__default.createElement("img", {
|
|
8518
|
-
src:
|
|
8453
|
+
src: image,
|
|
8519
8454
|
alt: imageAltText || title
|
|
8520
8455
|
})), withContinueWatching && (/*#__PURE__*/React__default.createElement(ProgressContainer, null, /*#__PURE__*/React__default.createElement(Progress, {
|
|
8521
8456
|
progress: progress,
|
|
@@ -9267,7 +9202,7 @@ var TitleWrapper$3 = /*#__PURE__*/styled.div(_templateObject10$5 || (_templateOb
|
|
|
9267
9202
|
var isButtonPresent = _ref6.isButtonPresent;
|
|
9268
9203
|
return isButtonPresent ? '20px' : '0';
|
|
9269
9204
|
});
|
|
9270
|
-
var ContentWrapper$2 = /*#__PURE__*/styled.div(_templateObject11$3 || (_templateObject11$3 = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n min-height: 70px;\n display: flex;\n align-items: center;\n justify-content: space-between;\n\n @media ", " {\n height: auto;\n flex-direction: column;\n justify-content: start;\n }\n"])), devices.mobile);
|
|
9205
|
+
var ContentWrapper$2 = /*#__PURE__*/styled.div(_templateObject11$3 || (_templateObject11$3 = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n min-height: 70px;\n display: flex;\n align-items: center;\n justify-content: space-between;\n\n @media ", " {\n min-height: auto;\n flex-direction: column;\n justify-content: start;\n }\n"])), devices.mobile);
|
|
9271
9206
|
|
|
9272
9207
|
var PageHeadingPromoBadge;
|
|
9273
9208
|
(function (PageHeadingPromoBadge) {
|
|
@@ -9489,6 +9424,36 @@ var PrimaryButtonWithInversion = /*#__PURE__*/styled(PrimaryButton)(_templateObj
|
|
|
9489
9424
|
return invert ? theme.colors.white : theme.colors.black;
|
|
9490
9425
|
});
|
|
9491
9426
|
|
|
9427
|
+
// Function to check if a URL is from the same site
|
|
9428
|
+
// NOTE: This function is not SSR compatible
|
|
9429
|
+
var isSameSiteUrl = function isSameSiteUrl(url) {
|
|
9430
|
+
var _window;
|
|
9431
|
+
if (url[0] === '/') return true; // URL is relative (e.g. /about)
|
|
9432
|
+
if (!((_window = window) != null && _window.location)) return false; // window.location is not available (e.g. in SSR)
|
|
9433
|
+
var currentPageURL = window.location.href || '';
|
|
9434
|
+
var regexPattern = /^(https?:\/\/)?(www\d?\.)?([\w.-]+)\.\w+.*$/;
|
|
9435
|
+
var match = url.match(regexPattern);
|
|
9436
|
+
if (match != null && match[3] && currentPageURL) {
|
|
9437
|
+
var urlDomain = match[3]; // Extract the domain from the third capture group
|
|
9438
|
+
var currentMatch = currentPageURL.match(regexPattern);
|
|
9439
|
+
if (currentMatch) {
|
|
9440
|
+
var currentDomain = currentMatch[3];
|
|
9441
|
+
return urlDomain === currentDomain;
|
|
9442
|
+
}
|
|
9443
|
+
}
|
|
9444
|
+
return false; // URL didn't match the pattern
|
|
9445
|
+
};
|
|
9446
|
+
// Hook to check if a URL is from the same site - use for SSR
|
|
9447
|
+
var useSameSiteUrl = function useSameSiteUrl(url) {
|
|
9448
|
+
var _useState = useState(false),
|
|
9449
|
+
hasSameSiteUrl = _useState[0],
|
|
9450
|
+
setSameSiteUrl = _useState[1];
|
|
9451
|
+
useEffect(function () {
|
|
9452
|
+
setSameSiteUrl(isSameSiteUrl(url));
|
|
9453
|
+
}, [url]);
|
|
9454
|
+
return hasSameSiteUrl;
|
|
9455
|
+
};
|
|
9456
|
+
|
|
9492
9457
|
var renderBranding = function renderBranding(brandingStyle, invert, brandingText, brandingLink) {
|
|
9493
9458
|
// eslint-disable-next-line react-hooks/rules-of-hooks
|
|
9494
9459
|
var sameSiteUrl = brandingLink && useSameSiteUrl(brandingLink);
|
|
@@ -10204,13 +10169,13 @@ var PromoWithTitleImageWrapper = /*#__PURE__*/styled.div(_templateObject2$U || (
|
|
|
10204
10169
|
var imageToLeft = _ref3.imageToLeft;
|
|
10205
10170
|
return imageToLeft ? 'left' : 'right';
|
|
10206
10171
|
}, devices.mobile);
|
|
10207
|
-
var PromoWithTitleContentWrapper = /*#__PURE__*/styled.div(_templateObject3$G || (_templateObject3$G = /*#__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) {
|
|
10172
|
+
var PromoWithTitleContentWrapper = /*#__PURE__*/styled.div(_templateObject3$G || (_templateObject3$G = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n grid-area: ", ";\n align-self: center;\n\n @media ", " {\n & {\n grid-area: row2;\n align-self: start;\n }\n }\n"])), function (_ref4) {
|
|
10208
10173
|
var imageToLeft = _ref4.imageToLeft;
|
|
10209
10174
|
return imageToLeft ? 'right' : 'left';
|
|
10210
10175
|
}, devices.mobile);
|
|
10211
|
-
var
|
|
10212
|
-
var
|
|
10213
|
-
var
|
|
10176
|
+
var HarmonicHeaderWithWrapper = /*#__PURE__*/styled(HarmonicHeader)(_templateObject4$A || (_templateObject4$A = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n margin-bottom: 32px;\n\n @media ", " {\n margin-bottom: 24px;\n }\n"])), devices.mobile);
|
|
10177
|
+
var HarmonicSubtitleWithWrapper = /*#__PURE__*/styled(HarmonicSubtitle)(_templateObject5$t || (_templateObject5$t = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n margin: 0;\n overflow-wrap: break-word;\n margin-bottom: 16px;\n"])));
|
|
10178
|
+
var BodyCopyHarmonicWithWrapper = /*#__PURE__*/styled(BodyCopyHarmonic)(_templateObject6$n || (_templateObject6$n = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n padding: 0;\n margin: 0;\n margin-bottom: 32px;\n whiete-space: break-spaces;\n overflow-wrap: break-word;\n\n a {\n text-decoration: underline;\n cursor: pointer;\n\n &[href^='tel:'] {\n text-decoration: none;\n }\n\n &:link {\n color: var(--color-primary-black);\n }\n\n &:visited {\n color: var(--color-base-dark-grey);\n }\n\n &:hover {\n color: var(--color-primary-red);\n }\n }\n @media ", " {\n margin-bottom: 24px;\n }\n"])), devices.mobile);
|
|
10214
10179
|
var ButtonsContainer$3 = /*#__PURE__*/styled.div(_templateObject7$h || (_templateObject7$h = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n display: flex;\n gap: 16px;\n margin-top: 32px;\n\n ", "\n\n @media ", " {\n gap: 24px;\n margin-top: 24px;\n flex-direction: column;\n align-items: center;\n }\n\n @media ", " {\n gap: 24px;\n margin-top: 24px;\n align-items: flex-start;\n\n ", "\n }\n"])), function (_ref5) {
|
|
10215
10180
|
var _ref5$primaryButtonTe = _ref5.primaryButtonTextLength,
|
|
10216
10181
|
primaryButtonTextLength = _ref5$primaryButtonTe === void 0 ? 0 : _ref5$primaryButtonTe,
|
|
@@ -10356,18 +10321,17 @@ var PromoWithTitle = function PromoWithTitle(_ref) {
|
|
|
10356
10321
|
title = _ref$title === void 0 ? '' : _ref$title,
|
|
10357
10322
|
_ref$titleSize = _ref.titleSize,
|
|
10358
10323
|
titleSize = _ref$titleSize === void 0 ? 'large' : _ref$titleSize,
|
|
10324
|
+
titleHierarchy = _ref.titleHierarchy,
|
|
10359
10325
|
subtitle = _ref.subtitle,
|
|
10360
10326
|
text = _ref.text,
|
|
10361
10327
|
links = _ref.links,
|
|
10362
10328
|
children = _ref.children,
|
|
10363
10329
|
videoSettings = _ref.videoSettings,
|
|
10364
|
-
titleSemanticLevel = _ref.titleSemanticLevel,
|
|
10365
10330
|
className = _ref.className;
|
|
10366
10331
|
var truncate = function truncate(str, n) {
|
|
10367
10332
|
return str.length >= n ? str.substr(0, n) : str;
|
|
10368
10333
|
};
|
|
10369
10334
|
var imageToLeft = imagePosition === 'left';
|
|
10370
|
-
var titleLevel = titleSize === 'large' ? 2 : 3;
|
|
10371
10335
|
var primaryButton = links == null ? void 0 : links[0];
|
|
10372
10336
|
var _ref2 = primaryButton || {},
|
|
10373
10337
|
_ref2$text = _ref2.text,
|
|
@@ -10391,20 +10355,19 @@ var PromoWithTitle = function PromoWithTitle(_ref) {
|
|
|
10391
10355
|
imageToLeft: imageToLeft,
|
|
10392
10356
|
className: className,
|
|
10393
10357
|
"data-testid": "promo-with-title"
|
|
10394
|
-
}, /*#__PURE__*/React__default.createElement(PromoChild
|
|
10395
|
-
// eslint-disable-next-line react/no-children-prop
|
|
10396
|
-
, {
|
|
10397
|
-
// eslint-disable-next-line react/no-children-prop
|
|
10398
|
-
children: children,
|
|
10358
|
+
}, /*#__PURE__*/React__default.createElement(PromoChild, {
|
|
10399
10359
|
videoSettings: _extends({}, defaultVideoSettings, videoSettings),
|
|
10400
10360
|
imageToLeft: imageToLeft
|
|
10401
|
-
}), /*#__PURE__*/React__default.createElement(PromoWithTitleContentWrapper, {
|
|
10361
|
+
}, children), /*#__PURE__*/React__default.createElement(PromoWithTitleContentWrapper, {
|
|
10402
10362
|
"data-testid": "content-wrapper",
|
|
10403
10363
|
imageToLeft: imageToLeft
|
|
10404
|
-
}, /*#__PURE__*/React__default.createElement(
|
|
10405
|
-
|
|
10406
|
-
|
|
10407
|
-
}, title)
|
|
10364
|
+
}, /*#__PURE__*/React__default.createElement(HarmonicHeaderWithWrapper, {
|
|
10365
|
+
size: titleSize,
|
|
10366
|
+
hierarchy: titleHierarchy
|
|
10367
|
+
}, title), subtitle ? /*#__PURE__*/React__default.createElement(HarmonicSubtitleWithWrapper, {
|
|
10368
|
+
size: "medium"
|
|
10369
|
+
}, subtitle) : null, /*#__PURE__*/React__default.createElement(BodyCopyHarmonicWithWrapper, {
|
|
10370
|
+
size: "medium",
|
|
10408
10371
|
dangerouslySetInnerHTML: {
|
|
10409
10372
|
__html: text
|
|
10410
10373
|
}
|
|
@@ -12250,7 +12213,6 @@ var isVideoSlide = function isVideoSlide(slideMedia) {
|
|
|
12250
12213
|
return slideMedia.video !== undefined;
|
|
12251
12214
|
};
|
|
12252
12215
|
|
|
12253
|
-
var IMAGE_WIDTH_LIMIT$1 = 800;
|
|
12254
12216
|
var VideoSlide = function VideoSlide(_ref) {
|
|
12255
12217
|
var index = _ref.index,
|
|
12256
12218
|
settings = _ref.settings,
|
|
@@ -12277,27 +12239,18 @@ var SwipeCarousel = function SwipeCarousel(_ref2) {
|
|
|
12277
12239
|
currentSlide = _ref2.currentSlide,
|
|
12278
12240
|
carouselRef = _ref2.carouselRef,
|
|
12279
12241
|
hasMultipleSlides = _ref2.hasMultipleSlides,
|
|
12280
|
-
setCurrentSlide = _ref2.setCurrentSlide
|
|
12242
|
+
setCurrentSlide = _ref2.setCurrentSlide,
|
|
12243
|
+
carouselTitle = _ref2.carouselTitle;
|
|
12281
12244
|
var hasOnlyImageSlides = slidesMedia.every(function (slide) {
|
|
12282
12245
|
return !isVideoSlide(slide);
|
|
12283
12246
|
});
|
|
12284
|
-
var limitedMediaContent = slidesMedia.map(function (slide) {
|
|
12285
|
-
if (isVideoSlide(slide)) return slide;
|
|
12286
|
-
return _extends({}, slide, {
|
|
12287
|
-
src: slide.src ? limitImageUrlDimension(slide.src, IMAGE_WIDTH_LIMIT$1) : undefined
|
|
12288
|
-
});
|
|
12289
|
-
});
|
|
12290
12247
|
return /*#__PURE__*/React__default.createElement(Swipe, {
|
|
12291
12248
|
ref: carouselRef,
|
|
12292
12249
|
infinite: hasMultipleSlides && hasOnlyImageSlides,
|
|
12293
|
-
onIndexChange: setCurrentSlide
|
|
12294
|
-
|
|
12295
|
-
}, limitedMediaContent.map(function (mediaContent, index) {
|
|
12250
|
+
onIndexChange: setCurrentSlide
|
|
12251
|
+
}, slidesMedia.map(function (mediaContent, index) {
|
|
12296
12252
|
return /*#__PURE__*/React__default.createElement("div", {
|
|
12297
|
-
|
|
12298
|
-
key: mediaContent.key,
|
|
12299
|
-
"aria-hidden": index !== currentSlide,
|
|
12300
|
-
"aria-roledescription": "slide"
|
|
12253
|
+
key: mediaContent.key + "-" + carouselTitle
|
|
12301
12254
|
}, /*#__PURE__*/React__default.createElement(ImageAspectRatioWrapper, {
|
|
12302
12255
|
aspectRatio: AspectRatio['4:3']
|
|
12303
12256
|
}, isVideoSlide(mediaContent) ? (/*#__PURE__*/React__default.createElement(VideoSlide, {
|
|
@@ -12381,6 +12334,7 @@ var HighlightsCarousel = function HighlightsCarousel(_ref) {
|
|
|
12381
12334
|
availablePrev: hasOnlyImageSlides || currentSlide !== 0,
|
|
12382
12335
|
availableNext: hasOnlyImageSlides || currentSlide !== slidesMedia.length - 1
|
|
12383
12336
|
}))), /*#__PURE__*/React__default.createElement(SwipeCarousel, {
|
|
12337
|
+
carouselTitle: carouselTitle,
|
|
12384
12338
|
slidesMedia: slidesMedia,
|
|
12385
12339
|
hasMultipleSlides: hasMultipleSlides,
|
|
12386
12340
|
carouselRef: carouselRef,
|
|
@@ -12389,7 +12343,37 @@ var HighlightsCarousel = function HighlightsCarousel(_ref) {
|
|
|
12389
12343
|
})));
|
|
12390
12344
|
};
|
|
12391
12345
|
|
|
12392
|
-
|
|
12346
|
+
function styleInject(css, ref) {
|
|
12347
|
+
if ( ref === void 0 ) ref = {};
|
|
12348
|
+
var insertAt = ref.insertAt;
|
|
12349
|
+
|
|
12350
|
+
if (!css || typeof document === 'undefined') { return; }
|
|
12351
|
+
|
|
12352
|
+
var head = document.head || document.getElementsByTagName('head')[0];
|
|
12353
|
+
var style = document.createElement('style');
|
|
12354
|
+
style.type = 'text/css';
|
|
12355
|
+
|
|
12356
|
+
if (insertAt === 'top') {
|
|
12357
|
+
if (head.firstChild) {
|
|
12358
|
+
head.insertBefore(style, head.firstChild);
|
|
12359
|
+
} else {
|
|
12360
|
+
head.appendChild(style);
|
|
12361
|
+
}
|
|
12362
|
+
} else {
|
|
12363
|
+
head.appendChild(style);
|
|
12364
|
+
}
|
|
12365
|
+
|
|
12366
|
+
if (style.styleSheet) {
|
|
12367
|
+
style.styleSheet.cssText = css;
|
|
12368
|
+
} else {
|
|
12369
|
+
style.appendChild(document.createTextNode(css));
|
|
12370
|
+
}
|
|
12371
|
+
}
|
|
12372
|
+
|
|
12373
|
+
var css_248z = "@font-face {\n font-family: 'GreyLLTT';\n src: url('https://static.roh.org.uk/fonts/harmonic/GreyLLTT-Regular.woff2') format('woff2');\n font-weight: 400;\n font-style: normal;\n font-display: swap;\n}\n\n@font-face {\n font-family: 'GreyLLTT';\n src: url('https://static.roh.org.uk/fonts/harmonic/GreyLLTT-Medium.woff2') format('woff2');\n font-weight: 500;\n font-style: normal;\n font-display: swap;\n}\n\n@font-face {\n font-family: 'GreyLLTT';\n src: url('https://static.roh.org.uk/fonts/harmonic/GreyLLTT-Bold.woff2') format('woff2');\n font-weight: 700;\n font-style: normal;\n font-display: swap;\n}\n\n@font-face {\n font-family: 'VictorSerif';\n src: url('https://static.roh.org.uk/fonts/harmonic/VictorSerif-Medium.woff2')\n format('woff2');\n font-weight: 500;\n font-style: normal;\n font-display: swap;\n}\n\n@font-face {\n font-family: 'VictorSerif';\n src: url('https://static.roh.org.uk/fonts/harmonic/VictorSerif-MediumItalic.woff2')\n format('woff2');\n font-weight: 500;\n font-style: italic;\n font-display: swap;\n}\n";
|
|
12374
|
+
styleInject(css_248z);
|
|
12375
|
+
|
|
12376
|
+
var css_248z$1 = "/* ~~~~~ General Styling Classes ~~~~~ */\n.typography_color-primary__LOfDi {\n color: var(--color-primary);\n}\n\n.typography_color-black__6MHRL {\n color: var(--color-base-black);\n}\n\n.typography_color-white__PfW5s {\n color: var(--color-base-white);\n}\n\n.typography_color-red__iPlbG {\n color: var(--color-primary-red);\n}\n\n.typography_color-grey__GA1c2 {\n color: var(--color-base-dark-grey);\n}\n\n.typography_color-inherit__RDd0Y {\n color: inherit;\n}\n\n.typography_em__E6tX- {\n font-style: italic;\n}\n/* ~~~ */\n\n/* Display Headers */\n.typography_display__-F3p4 {\n margin: 0;\n font-family: var(--font-family-sans);\n line-height: 100%;\n\n &.typography_large__uq0zC {\n font-size: 96px;\n font-weight: 700;\n letter-spacing: -5px;\n }\n\n &.typography_small__wfQ0K {\n font-size: 68px;\n font-weight: 500;\n letter-spacing: -3px;\n }\n\n /* Serif and Italic styles */\n &.typography_serif__VSO38,\n &.typography_em__E6tX- {\n font-family: var(--font-family-serif);\n font-weight: 500;\n }\n\n /* Serif and Italic adjustments */\n &.typography_large__uq0zC.typography_serif__VSO38,\n &.typography_large__uq0zC.typography_em__E6tX- {\n letter-spacing: -3px;\n }\n\n &.typography_small__wfQ0K.typography_serif__VSO38,\n &.typography_small__wfQ0K.typography_em__E6tX- {\n letter-spacing: -2px;\n }\n\n @media (max-width: 699px) {\n &.typography_large__uq0zC {\n font-size: 38px;\n letter-spacing: -1.5px;\n }\n\n &.typography_small__wfQ0K {\n font-size: 32px;\n letter-spacing: -1.5px;\n }\n\n &.typography_large__uq0zC.typography_serif__VSO38,\n &.typography_large__uq0zC.typography_em__E6tX-,\n &.typography_small__wfQ0K.typography_serif__VSO38,\n &.typography_small__wfQ0K.typography_em__E6tX- {\n letter-spacing: -0.5px;\n }\n }\n}\n\n/* Headers */\n.typography_header__BexiD {\n margin: 0;\n font-family: var(--font-family-sans);\n font-weight: 500;\n\n &.typography_large__uq0zC {\n font-size: 44px;\n line-height: 48px;\n letter-spacing: -1.5px;\n }\n\n &.typography_medium__K0uZD {\n font-size: 34px;\n line-height: 40px;\n letter-spacing: -1px;\n }\n\n &.typography_small__wfQ0K {\n font-size: 26px;\n line-height: 32px;\n letter-spacing: -0.5px;\n }\n\n /* Serif and Italic styles */\n &.typography_serif__VSO38,\n &.typography_em__E6tX- {\n font-family: var(--font-family-serif);\n }\n\n /* Serif and Italic letter-spacing overrides */\n &.typography_large__uq0zC.typography_serif__VSO38,\n &.typography_large__uq0zC.typography_em__E6tX- {\n letter-spacing: -0.5px;\n }\n\n &.typography_medium__K0uZD.typography_serif__VSO38,\n &.typography_medium__K0uZD.typography_em__E6tX- {\n letter-spacing: -0.5px;\n }\n\n &.typography_small__wfQ0K.typography_serif__VSO38,\n &.typography_small__wfQ0K.typography_em__E6tX- {\n letter-spacing: -0.5px;\n }\n\n @media (max-width: 699px) {\n &.typography_large__uq0zC {\n font-size: 28px;\n line-height: 34px;\n letter-spacing: -1.5px;\n }\n\n &.typography_medium__K0uZD {\n font-size: 24px;\n line-height: 28px;\n letter-spacing: -1px;\n }\n\n &.typography_small__wfQ0K {\n font-size: 20px;\n line-height: 26px;\n letter-spacing: -0.75px;\n }\n\n /* Mobile overrides for serif/italic letter-spacing */\n &.typography_large__uq0zC.typography_serif__VSO38,\n &.typography_large__uq0zC.typography_em__E6tX-,\n &.typography_medium__K0uZD.typography_serif__VSO38,\n &.typography_medium__K0uZD.typography_em__E6tX-,\n &.typography_small__wfQ0K.typography_serif__VSO38,\n &.typography_small__wfQ0K.typography_em__E6tX- {\n letter-spacing: -0.5px;\n }\n }\n}\n\n/* Subtitle */\n.typography_subtitle__aoFTV {\n margin: 0;\n font-family: var(--font-family-sans);\n font-weight: 500;\n\n &.typography_large__uq0zC {\n font-size: 19px;\n line-height: 26px;\n letter-spacing: -0.5px;\n }\n\n &.typography_small__wfQ0K {\n font-size: 17px;\n line-height: 24px;\n letter-spacing: -0.5px;\n }\n\n @media (max-width: 699px) {\n &.typography_large__uq0zC {\n font-size: 17px;\n line-height: 24px;\n letter-spacing: -0.5px;\n }\n\n &.typography_small__wfQ0K {\n font-size: 14px;\n line-height: 20px;\n letter-spacing: -0.2px;\n }\n }\n}\n\n/* Body Copy */\n.typography_bodycopy__vYtQ8 {\n margin: 0;\n font-family: var(--font-family-sans);\n font-weight: 400;\n\n &.typography_large__uq0zC {\n font-size: 19px;\n line-height: 26px;\n letter-spacing: -0.5px;\n }\n\n &.typography_medium__K0uZD {\n font-size: 17px;\n line-height: 24px;\n letter-spacing: -0.5px;\n }\n\n &.typography_small__wfQ0K {\n font-size: 14px;\n line-height: 20px;\n letter-spacing: -0.5px;\n }\n\n @media (max-width: 699px) {\n &.typography_large__uq0zC {\n font-size: 17px;\n line-height: 24px;\n letter-spacing: -0.5px;\n }\n\n &.typography_medium__K0uZD {\n font-size: 14px;\n line-height: 20px;\n letter-spacing: -0.2px;\n }\n\n &.typography_small__wfQ0K {\n font-size: 11px;\n line-height: 16px;\n letter-spacing: -0.2px;\n }\n }\n}\n\n/* Overline */\n.typography_overline__EnUK3 {\n margin: 0;\n font-family: var(--font-family-sans);\n font-weight: 500;\n text-transform: uppercase;\n\n &.typography_large__uq0zC {\n font-size: 14px;\n line-height: 18px;\n letter-spacing: 0.3px;\n }\n\n &.typography_small__wfQ0K {\n font-size: 12px;\n line-height: 14px;\n letter-spacing: 0.2px;\n }\n\n @media (max-width: 699px) {\n &.typography_large__uq0zC {\n line-height: 17px;\n letter-spacing: 0.3px; /* Added to ensure it stays */\n }\n\n &.typography_small__wfQ0K {\n line-height: 14px;\n letter-spacing: 0.3px;\n }\n }\n}\n\n/* Button Text */\n.typography_buttontext__vcxNi {\n margin: 0;\n font-family: var(--font-family-sans);\n font-size: 17px;\n line-height: 20px;\n letter-spacing: -0.5px;\n font-weight: 400;\n\n @media (max-width: 699px) {\n font-weight: 500;\n line-height: 17px;\n }\n}\n\n/* Caption Text */\n.typography_captiontext__91UFb {\n margin: 0;\n font-family: var(--font-family-sans);\n font-weight: 400;\n font-size: 17px;\n line-height: 24px;\n letter-spacing: -0.5px;\n\n @media (max-width: 699px) {\n font-size: 14px;\n line-height: 20px;\n letter-spacing: -0.2px;\n }\n}\n\n/* Navigation Text */\n.typography_navigationtext__YfGf7 {\n margin: 0;\n font-family: var(--font-family-sans);\n font-size: 19px;\n line-height: 19px;\n letter-spacing: 0.4px;\n font-weight: 500;\n\n @media (max-width: 699px) {\n font-size: 17px;\n line-height: 17px;\n }\n}\n";
|
|
12393
12377
|
styleInject(css_248z$1);
|
|
12394
12378
|
|
|
12395
12379
|
var css_248z$2 = ".core-theme-module_coreTheme__pWxYB {\n /* RBO Red */\n /* Primary Palette */\n --color-primary: #1a1a1a;\n --color-primary-background: #eb0a0a;\n --color-primary-red: #eb0a0a;\n --color-primary-black: #1a1a1a;\n\n /* Base Colours */\n --color-base-white: #ffffff;\n --color-base-black: #000000;\n --color-base-dark-grey: #4c4f53;\n --color-base-mid-grey: #72767c;\n --color-base-light-grey: #e9e9e9;\n --color-base-transparent: transparent;\n\n /* States */\n --color-state-error: #cc071e;\n --color-state-medium: #ffce45;\n --color-state-good: #2a874a;\n --color-state-focused: #1e1da0;\n --color-state-disabled: #b3b3b3;\n\n /* RBO Red (Core) */\n --color-rbo-red-hovered: #c40808;\n --color-rbo-red-pressed: #9d0707;\n\n /* RBO Black */\n --color-rbo-black-hovered: #575757;\n --color-rbo-black-pressed: #353535;\n\n /* Black */\n --color-black-hovered: #575757;\n --color-black-pressed: #353535;\n\n /* White */\n --color-white-hovered: #fafafa;\n --color-white-pressed: #f2f2f2;\n\n /* Secondary Palette */\n --color-secondary-yellow: #ffce45;\n --color-secondary-pink: #ff36d0;\n --color-secondary-orange: #ff6700;\n --color-secondary-blue: #5f9cff;\n\n /* Core theme colors */\n --base-color-primary: #c8102e;\n --base-color-core: #c8102e;\n --base-color-stream: #1866dc;\n --base-color-cinema: #1a1a1a;\n --base-color-white: #ffffff;\n --base-color-black: #000000;\n --base-color-dark-grey: #4c4f53;\n --base-color-mid-grey: #72767c;\n --base-color-light-grey: #e9e9e9;\n --base-color-transparent: transparent;\n --base-color-errorstate: #eb0a0a;\n --base-color-mediumstate: #ffce45;\n --base-color-goodstate: #2a874a;\n --base-color-progress: #1866dc;\n --base-color-navigation: #c8102e;\n --base-color-lapislazuli: #0060a0;\n --base-color-lemonchiffon: #fffbbe;\n\n --button-height: 48px;\n --button-line-height: 20px;\n --button-padding-x: 20px;\n --button-padding-y: 14px;\n --button-padding-y-icon: 12px;\n --button-icon-margin: 12px;\n --button-icon-width: 20px;\n --button-icon-height: 20px;\n --button-font-size: 14px;\n --button-font-weight: 400;\n --button-color: var(--color-base-white);\n --button-bg-color: var(--color-primary-red);\n --button-hover-color: var(--color-rbo-red-hovered);\n --button-pressed-color: var(--color-rbo-red-pressed);\n --button-secondary-color: var(--color-primary-red);\n --button-secondary-hover-color: var(--color-rbo-red-hovered);\n --button-secondary-pressed-color: var(--color-rbo-red-pressed);\n --button-tertiary-color: var(--color-primary-black);\n --button-tertiary-hover-color: var(--color-rbo-black-hovered);\n --button-tertiary-pressed-color: var(--color-rbo-black-pressed);\n --button-auxiliary-color: var(--color-primary-black);\n --button-auxiliary-bg-color: var(--color-base-transparent);\n\n/* ----- Variables already used in Harmonic START ----- */\n --grid-column-gap: 36px;\n --grid-margin: 10%;\n\n --rotator-button-width: 60px;\n --rotator-button-icon-width: 36px;\n --rotator-button-color: var(--color-primary-black);\n --rotator-button-bg-color: var(--color-base-light-grey);\n --rotator-button-hover-color: var(--color-base-white);\n --rotator-button-hover-bg-color: var(--color-primary-red);\n\n --carousel-image-caption-height: 17px;\n \n @media (max-width: 699px) {\n --grid-column-gap: 12px;\n --grid-margin: 20px;\n --rotator-button-width: 40px;\n --rotator-button-icon-width: 24px;\n --carousel-image-caption-height: 14px;\n }\n\n @media (min-width: 700px) and (max-width: 1139px) {\n --grid-column-gap: 20px;\n --grid-margin: 32px;\n --rotator-button-width: 44px;\n --rotator-button-icon-width: 24px;\n --carousel-image-caption-height: 14px;\n }\n\n/* ----- Variables already used in Harmonic END ----- */\n\n --font-size-header-1: 96px;\n --font-weight-header-1: 500;\n --letter-spacing-header-1: 2px;\n --line-height-header-1: 110px;\n --margin-header-1: 0.67em 0;\n\n --font-size-header-2: 68px;\n --font-weight-header-2: 500;\n --letter-spacing-header-2: 1px;\n --line-height-header-2: 72px;\n --margin-header-2: 0.83em 0;\n\n --font-size-header-3: 44px;\n --font-weight-header-3: 500;\n --letter-spacing-header-3: 1px;\n --line-height-header-3: 48px;\n --margin-header-3: 1em 0;\n\n --font-size-header-4: 34px;\n --font-weight-header-4: 500;\n --letter-spacing-header-4: 1px;\n --line-height-header-4: 40px;\n --margin-header-4: 1.33em 0;\n\n --font-size-header-5: 24px;\n --font-weight-header-5: 500;\n --letter-spacing-header-5: 1px;\n --line-height-header-5: 30px;\n --margin-header-5: 1.67em 0;\n\n --font-size-header-6: 20px;\n --font-weight-header-6: 500;\n --letter-spacing-header-6: 1px;\n --line-height-header-6: 28px;\n --margin-header-6: 2.33em 0;\n\n --font-size-altHeader-3: 44px;\n --font-weight-altHeader-3: normal;\n --letter-spacing-altHeader-3: normal;\n --line-height-altHeader-3: 48px;\n\n --font-size-altHeader-4: 34px;\n --font-weight-altHeader-4: normal;\n --letter-spacing-altHeader-4: normal;\n --line-height-altHeader-4: 44px;\n\n --font-size-altHeader-5: 24px;\n --font-weight-altHeader-5: normal;\n --letter-spacing-altHeader-5: normal;\n --line-height-altHeader-5: 30px;\n\n --font-size-altHeader-6: 20px;\n --font-weight-altHeader-6: normal;\n --letter-spacing-altHeader-6: normal;\n --line-height-altHeader-6: 28px;\n\n --font-size-overline-1: 14px;\n --font-weight-overline-1: 500;\n --letter-spacing-overline-1: 1px;\n --line-height-overline-1: 16px;\n\n --font-size-overline-2: 12px;\n --font-weight-overline-2: 500;\n --letter-spacing-overline-2: 1px;\n --line-height-overline-2: 14px;\n\n --font-size-overline-3: 10px;\n --font-weight-overline-3: 500;\n --letter-spacing-overline-3: 1px;\n --line-height-overline-3: 12px;\n\n --font-size-overline-4: 8px;\n --font-weight-overline-4: 500;\n --letter-spacing-overline-4: 1px;\n --line-height-overline-4: 10px;\n\n --font-size-body-1: 19px;\n --font-weight-body-1: 400;\n --letter-spacing-body-1: normal;\n --line-height-body-1: 26px;\n\n --font-size-body-2: 16px;\n --font-weight-body-2: 400;\n --letter-spacing-body-2: normal;\n --line-height-body-2: 22px;\n\n --font-size-body-3: 14px;\n --font-weight-body-3: 400;\n --letter-spacing-body-3: normal;\n --line-height-body-3: 20px;\n\n --font-size-subtitle-1: 18px;\n --font-weight-subtitle-1: 500;\n --letter-spacing-subtitle-1: 1px;\n --line-height-subtitle-1: 22px;\n\n --font-size-subtitle-2: 14px;\n --font-weight-subtitle-2: 500;\n --letter-spacing-subtitle-2: 1px;\n --line-height-subtitle-2: 22px;\n\n --font-size-title-description: 20px;\n --line-height-title-description: 28px;\n\n --line-height-listing: 36px;\n --font-size-individual-listing-name: 19px;\n --line-height-individual-listing-name: 24px;\n --line-height-people-listing-gap: 24px;\n\n --font-family-header: 'Gotham SSm A', 'Gotham SSm B', 'Montserrat', sans-serif;\n --font-family-altHeader: 'adobe-garamond-pro';\n --font-family-body: 'adobe-garamond-pro';\n --font-family-body-italics: 'adobe-garamond-pro';\n --font-family-buttons: 'Gotham SSm A', 'Gotham SSm B', 'Montserrat', sans-serif;\n --font-family-overline: 'Gotham SSm A', 'Gotham SSm B', 'Montserrat', sans-serif;\n --font-family-subtitle: 'Gotham SSm A', 'Gotham SSm B', 'Montserrat', sans-serif;\n --font-family-people-listing-role: 'Gotham SSm A', 'Gotham SSm B', 'Montserrat', sans-serif;\n --font-family-people-listing-name: 'adobe-garamond-pro';\n\n --font-feature-settings-header: 'tnum' on, 'lnum' on;\n --font-feature-settings-altHeader: 'pnum' on, 'onum' on;\n --font-feature-settings-overline: 'tnum' on, 'lnum' on, 'liga' off, 'calt' off;\n --font-feature-settings-subtitle: 'tnum' on, 'lnum' on;\n --font-feature-settings-body: 'pnum' on, 'onum' on, 'liga' off;\n --font-feature-settings-navigation: 'tnum' on, 'lnum' on, 'liga' off, 'calt' off;\n\n --text-transform-header: uppercase;\n --text-transform-altHeader: none;\n --text-transform-body: none;\n --text-transform-overline: uppercase;\n --text-transform-subtitle: uppercase;\n\n --word-break-header: break-word;\n --word-break-altHeader: break-word;\n --word-break-body: break-word;\n --word-break-overline: break-word;\n --word-break-subtitle: break-word;\n\n --font-family-navigation: 'Gotham SSm A', 'Gotham SSm B', 'Montserrat', sans-serif;\n --font-size-navigation: 13px;\n --font-weight-navigation: 500;\n --line-height-navigation: 16px;\n --text-transform-navigation: uppercase;\n --letter-spacing-navigation: 1px;\n\n --navigation-small-gap: 16px;\n --navigation-middle-gap: 20px;\n --navigation-large-gap: 24px;\n --navigation-xlarge-gap: 36px;\n --navigation-large-margin: 60px;\n\n --font-size-search: 24px;\n --font-family-search: 'adobe-garamond-pro';\n\n --grid-outer-margin: 50px;\n --grid-template-columns: 14px calc(10% - 86px) repeat(12, minmax(0, 1fr)) calc(10% - 86px) 14px;\n\n --footer-height: 380px;\n --footer-padding-top: 44px;\n --footer-padding-bottom: 44px;\n --footer-items-gap: 32px;\n --footer-media-gap: 32px;\n --footer-media-icon-width: 24px;\n --footer-media-icon-height: 24px;\n --footer-vertical-spacing-lg: 58px;\n --footer-vertical-spacing-sm: 16px;\n\n --text-link-underline-offset: 8px;\n --cards-spacing-stack: 40px;\n\n --editorial-subtitle-margin-bottom: 16px;\n --editorial-margin-between: 24px;\n --editorial-spacing-hover: 4px;\n --anchor-tabs-height: 70px;\n\n --font-family-sans: 'GreyLLTT', 'Roboto', sans-serif;\n --font-family-serif: 'VictorSerif', 'Inria Serif Regular', serif;\n\n --harmonic-text-link-underline-offset: 6px;\n --harmonic-font-size-navigation: 19px;\n\n --announcement-banner-color: var(--color-base-white);\n --announcement-banner-bg-color: var(--color-primary-red);\n --announcement-banner-hover-color: var(--color-white-hovered);\n --announcement-banner-pressed-color: var(--color-white-pressed);\n\n --information-panel-color: var(--color-base-white);\n --information-panel-bg-color: var(--color-primary-red);\n --information-panel-button-color: var(--color-primary-black);\n --information-panel-button-bg-color: var(--color-base-white);\n --information-panel-button-hover-color: var(--color-white-hovered);\n --information-panel-button-pressed-color: var(--color-white-pressed);\n\n --heading-promo-bg-color: var(--color-primary-red);\n\n @media (max-width: 699px) {\n --font-size-header-1: 38px;\n --font-weight-header-1: 500;\n --letter-spacing-header-1: 1px;\n --line-height-header-1: 42px;\n\n --font-size-header-2: 30px;\n --font-weight-header-2: 500;\n --letter-spacing-header-2: 1px;\n --line-height-header-2: 34px;\n\n --font-size-header-3: 26px;\n --font-weight-header-3: 500;\n --letter-spacing-header-3: 1px;\n --line-height-header-3: 30px;\n\n --font-size-header-4: 24px;\n --font-weight-header-4: 500;\n --letter-spacing-header-4: 1px;\n --line-height-header-4: 28px;\n\n --font-size-header-5: 20px;\n --font-weight-header-5: 500;\n --letter-spacing-header-5: 1px;\n --line-height-header-5: 28px;\n\n --font-size-header-6: 17px;\n --font-weight-header-6: 500;\n --letter-spacing-header-6: 1px;\n --line-height-header-6: 24px;\n\n --font-size-altHeader-3: 26px;\n --font-weight-altHeader-3: normal;\n --letter-spacing-altHeader-3: normal;\n --line-height-altHeader-3: 30px;\n\n --font-size-altHeader-4: 24px;\n --font-weight-altHeader-4: normal;\n --letter-spacing-altHeader-4: normal;\n --line-height-altHeader-4: 28px;\n\n --font-size-altHeader-5: 20px;\n --font-weight-altHeader-5: normal;\n --letter-spacing-altHeader-5: normal;\n --line-height-altHeader-5: 28px;\n\n --font-size-altHeader-6: 17px;\n --font-weight-altHeader-6: normal;\n --letter-spacing-altHeader-6: normal;\n --line-height-altHeader-6: 24px;\n\n --font-size-overline-1: 14px;\n --font-weight-overline-1: 500;\n --letter-spacing-overline-1: 1px;\n --line-height-overline-1: 16px;\n\n --font-size-overline-2: 12px;\n --font-weight-overline-2: 500;\n --letter-spacing-overline-2: 1px;\n --line-height-overline-2: 14px;\n\n --font-size-body-1: 17px;\n --font-weight-body-1: 400;\n --letter-spacing-body-1: normal;\n --line-height-body-1: 24px;\n\n --font-size-body-2: 12px;\n --font-weight-body-2: 400;\n --letter-spacing-body-2: normal;\n --line-height-body-2: 18px;\n\n --font-size-body-3: 11px;\n --font-weight-body-3: 400;\n --letter-spacing-body-3: normal;\n --line-height-body-3: 16px;\n\n --font-size-subtitle-1: 16px;\n --font-weight-subtitle-1: 500;\n --letter-spacing-subtitle-1: 1px;\n --line-height-subtitle-1: 24px;\n\n --font-size-subtitle-2: 14px;\n --font-weight-subtitle-2: 500;\n --letter-spacing-subtitle-2: 1px;\n --line-height-subtitle-2: 18px;\n\n --font-size-title-description: 17px;\n --line-height-title-description: 24px;\n --line-height-people-listing-gap: 16px;\n\n --font-size-search: 20px;\n --font-family-search: 'adobe-garamond-pro';\n\n --font-family-header: 'Gotham SSm A', 'Gotham SSm B', 'Montserrat', sans-serif;\n --font-family-altHeader: 'adobe-garamond-pro';\n --font-family-body: 'adobe-garamond-pro';\n --font-family-body-italics: 'adobe-garamond-pro';\n --font-family-buttons: 'Gotham SSm A', 'Gotham SSm B', 'Montserrat', sans-serif;\n --font-family-overline: 'Gotham SSm Medium', sans-serif;\n --font-family-subtitle: 'Gotham SSm Medium', 'Montserrat', sans-serif;\n --font-family-people-listing-role: 'Gotham SSm A', 'Gotham SSm B', 'Montserrat', sans-serif;\n --font-family-people-listing-name: 'adobe-garamond-pro';\n\n --font-feature-settings-header: 'tnum' on, 'lnum' on;\n --font-feature-settings-altHeader: 'pnum' on, 'onum' on;\n --font-feature-settings-overline: 'tnum' on, 'lnum' on, 'liga' off, 'calt' off;\n --font-feature-settings-subtitle: 'tnum' on, 'lnum' on;\n --font-feature-settings-body: 'pnum' on, 'onum' on, 'liga' off;\n --font-feature-settings-navigation: 'tnum' on, 'lnum' on, 'liga' off, 'calt' off;\n\n --text-transform-header: uppercase;\n --text-transform-altHeader: none;\n --text-transform-body: none;\n --text-transform-overline: uppercase;\n --text-transform-subtitle: uppercase;\n\n --word-break-header: break-word;\n --word-break-altHeader: break-word;\n --word-break-body: break-word;\n --word-break-overline: break-word;\n --word-break-subtitle: break-word;\n\n --grid-template-columns: calc(20px - 12px) repeat(12, minmax(0, 1fr)) calc(20px - 12px);\n\n --footer-height: auto;\n --footer-padding-top: 20px;\n --footer-padding-bottom: 20px;\n --footer-items-gap: 12px;\n --footer-media-icon-width: 28px;\n --footer-media-icon-height: 28px;\n --footer-vertical-spacing-lg: 24px;\n --footer-vertical-spacing-sm: 24px;\n\n --anchor-tabs-height: 60px;\n }\n\n @media (min-width: 700px) and (max-width: 1139px) {\n --grid-template-columns: calc(32px - 20px) repeat(12, minmax(0, 1fr)) calc(32px - 20px);\n --font-size-header-6: 17px;\n --font-size-altHeader-4: 24px;\n --font-size-body-1: 17px;\n\n --footer-media-gap: 24px;\n --footer-padding-top: 40px;\n --footer-padding-bottom: 40px;\n }\n}\n";
|