@sok-brand-sites/common-frontend-components 0.0.1-security → 1.643.1

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of @sok-brand-sites/common-frontend-components might be problematic. Click here for more details.

Files changed (211) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +31 -3
  3. package/dist/_virtual/_tslib.js +234 -0
  4. package/dist/assets/icons/Icons.js +118 -0
  5. package/dist/assets/logos/logos.js +19 -0
  6. package/dist/components/Accordion/Accordion.js +36 -0
  7. package/dist/components/Accordion/Accordion.styles.js +75 -0
  8. package/dist/components/AnimationWrapper/AnimationWrapper.js +35 -0
  9. package/dist/components/AnimationWrapper/AnimationWrapper.styles.js +26 -0
  10. package/dist/components/BlockGenerator/BlockContent.js +139 -0
  11. package/dist/components/BlockGenerator/BlockGenerator.js +62 -0
  12. package/dist/components/BlockGenerator/BlockGenerator.styles.js +44 -0
  13. package/dist/components/Button/Button.js +49 -0
  14. package/dist/components/Button/Button.styles.js +46 -0
  15. package/dist/components/Card/Card.js +79 -0
  16. package/dist/components/Card/Card.styles.js +137 -0
  17. package/dist/components/Carousel/Carousel.js +153 -0
  18. package/dist/components/Carousel/Carousel.styles.js +261 -0
  19. package/dist/components/CarouselNarrow/CarouselNarrow.js +120 -0
  20. package/dist/components/CarouselNarrow/CarouselNarrow.styles.js +281 -0
  21. package/dist/components/Column/Column.js +31 -0
  22. package/dist/components/Column/Column.styles.js +34 -0
  23. package/dist/components/Columns/Columns.js +38 -0
  24. package/dist/components/Columns/Columns.styles.js +21 -0
  25. package/dist/components/Embed/Embed.js +54 -0
  26. package/dist/components/Embed/Embed.styles.js +12 -0
  27. package/dist/components/Footer/Footer.js +63 -0
  28. package/dist/components/Footer/Footer.styles.js +67 -0
  29. package/dist/components/FormBuilder/FormBuilder.js +364 -0
  30. package/dist/components/FormBuilder/FormBuilder.styles.js +224 -0
  31. package/dist/components/FormBuilder/FormBuilderCheckboxes.js +39 -0
  32. package/dist/components/FormBuilder/FormBuilderInput.js +29 -0
  33. package/dist/components/FormBuilder/FormBuilderParagraph.js +15 -0
  34. package/dist/components/FormBuilder/FormBuilderSelect.js +39 -0
  35. package/dist/components/FormBuilder/FormBuilderTextAreaInput.js +29 -0
  36. package/dist/components/FormBuilder/utiles.js +13 -0
  37. package/dist/components/FullBgHero/FullBgHero.js +93 -0
  38. package/dist/components/FullBgHero/FullBgHero.styles.js +180 -0
  39. package/dist/components/GlobalStyle/GlobalStyle.js +285 -0
  40. package/dist/components/Header/Header.js +290 -0
  41. package/dist/components/Header/Header.styles.js +314 -0
  42. package/dist/components/Heading/Heading.js +29 -0
  43. package/dist/components/Heading/Heading.styles.js +21 -0
  44. package/dist/components/Hero/Hero.js +76 -0
  45. package/dist/components/Hero/Hero.styles.js +128 -0
  46. package/dist/components/IconLinks/IconLinks.js +118 -0
  47. package/dist/components/IconLinks/IconLinks.styles.js +259 -0
  48. package/dist/components/ImageCarousel/ImageCarousel.js +102 -0
  49. package/dist/components/ImageCarousel/ImageCarousel.styles.js +96 -0
  50. package/dist/components/LanguageSelector/LanguageSelector.js +72 -0
  51. package/dist/components/LanguageSelector/LanguageSelector.styles.js +72 -0
  52. package/dist/components/Layout/Layout.js +15 -0
  53. package/dist/components/Layout/Layout.styles.js +8 -0
  54. package/dist/components/List/List.js +25 -0
  55. package/dist/components/List/List.styles.js +11 -0
  56. package/dist/components/MarginWrapper/MarginWrapper.js +17 -0
  57. package/dist/components/MarginWrapper/MarginWrapper.styles.js +38 -0
  58. package/dist/components/OverlayCards/OverlayCard/OverlayCard.js +132 -0
  59. package/dist/components/OverlayCards/OverlayCard/OverlayCard.styles.js +133 -0
  60. package/dist/components/OverlayCards/OverlayCards.js +46 -0
  61. package/dist/components/OverlayCards/OverlayCards.styles.js +14 -0
  62. package/dist/components/OverlayCards/OverlayCards.types.js +9 -0
  63. package/dist/components/Paragraph/Paragraph.js +29 -0
  64. package/dist/components/Paragraph/Paragraph.styles.js +14 -0
  65. package/dist/components/PlaceOfBusiness/ContactInformation/ContactInformation.js +45 -0
  66. package/dist/components/PlaceOfBusiness/ContactInformation/ContactInformation.styles.js +37 -0
  67. package/dist/components/PlaceOfBusiness/LogoTitle/LogoTitle.js +16 -0
  68. package/dist/components/PlaceOfBusiness/LogoTitle/LogoTitle.styles.js +44 -0
  69. package/dist/components/PlaceOfBusiness/OpenToday/OpenToday.js +43 -0
  70. package/dist/components/PlaceOfBusiness/OpenToday/OpenToday.styles.js +63 -0
  71. package/dist/components/PlaceOfBusiness/OpeningHours/OpeningHours.js +77 -0
  72. package/dist/components/PlaceOfBusiness/OpeningHours/OpeningHours.styles.js +68 -0
  73. package/dist/components/PlaceOfBusiness/PlaceOfBusinessInfo/PlaceOfBusinessInfo.js +125 -0
  74. package/dist/components/PlaceOfBusiness/PlaceOfBusinessInfo/PlaceOfBusinessInfo.styles.js +32 -0
  75. package/dist/components/PlaceOfBusiness/PlaceOfBusinessListItem/PlaceOfBusinessListItem.js +85 -0
  76. package/dist/components/PlaceOfBusiness/PlaceOfBusinessListItem/PlaceOfBusinessListItem.styles.js +134 -0
  77. package/dist/components/PlaceOfBusiness/PlaceOfBusinessSearch/PlaceOfBusinessSearch.js +142 -0
  78. package/dist/components/PlaceOfBusiness/PlaceOfBusinessSearch/PlaceOfBusinessSearch.styles.js +43 -0
  79. package/dist/components/PlaceOfBusiness/Services/Services.js +30 -0
  80. package/dist/components/PlaceOfBusiness/Services/Services.styles.js +61 -0
  81. package/dist/components/PlaceOfBusiness/utils.js +177 -0
  82. package/dist/components/Promotion/Promotion.js +66 -0
  83. package/dist/components/Promotion/Promotion.styles.js +124 -0
  84. package/dist/components/RestrictedWidthContainer/RestrictedWidthContainer.js +63 -0
  85. package/dist/components/Seo/Seo.js +58 -0
  86. package/dist/components/SideBySide/SideBySide.js +81 -0
  87. package/dist/components/SideBySide/SideBySide.styles.js +179 -0
  88. package/dist/components/SocialMediaLinks/SocialMediaLinks.js +28 -0
  89. package/dist/components/SocialMediaLinks/SocialMediaLinks.styles.js +22 -0
  90. package/dist/components/SubHero/SubHero.js +22 -0
  91. package/dist/components/SubHero/SubHero.styles.js +52 -0
  92. package/dist/components/Table/Table.js +23 -0
  93. package/dist/components/Table/Table.styles.js +121 -0
  94. package/dist/components/Table/WpTable.styles.js +5 -0
  95. package/dist/components/constants.js +34 -0
  96. package/dist/components/utils.js +160 -0
  97. package/dist/fonts/Agrandir/Agrandir-Bold.woff.js +2 -0
  98. package/dist/fonts/Agrandir/Agrandir-Bold.woff2.js +2 -0
  99. package/dist/fonts/Agrandir/Agrandir-Light.woff.js +2 -0
  100. package/dist/fonts/Agrandir/Agrandir-Light.woff2.js +2 -0
  101. package/dist/fonts/Agrandir/index.js +16 -0
  102. package/dist/fonts/Brule/Brule-Bold.woff.js +2 -0
  103. package/dist/fonts/Brule/Brule-Bold.woff2.js +2 -0
  104. package/dist/fonts/Brule/Brule-Medium.woff.js +2 -0
  105. package/dist/fonts/Brule/Brule-Medium.woff2.js +2 -0
  106. package/dist/fonts/Brule/Brule-Regular.woff.js +2 -0
  107. package/dist/fonts/Brule/Brule-Regular.woff2.js +2 -0
  108. package/dist/fonts/Brule/index.js +18 -0
  109. package/dist/fonts/Domaine/Domaine-Text-Medium.woff.js +2 -0
  110. package/dist/fonts/Domaine/Domaine-Text-Medium.woff2.js +2 -0
  111. package/dist/fonts/Domaine/index.js +14 -0
  112. package/dist/fonts/FranklinGothic/FranklinGothic-LT-Com-Bk.woff.js +2 -0
  113. package/dist/fonts/FranklinGothic/FranklinGothic-LT-Com-Bk.woff2.js +2 -0
  114. package/dist/fonts/FranklinGothic/FranklinGothic-LT-Com-DmCn.woff.js +2 -0
  115. package/dist/fonts/FranklinGothic/FranklinGothic-LT-Com-DmCn.woff2.js +2 -0
  116. package/dist/fonts/FranklinGothic/FranklinGothic-LT-Com-MdCn.woff.js +2 -0
  117. package/dist/fonts/FranklinGothic/FranklinGothic-LT-Com-MdCn.woff2.js +2 -0
  118. package/dist/fonts/FranklinGothic/index.js +18 -0
  119. package/dist/fonts/MinionPro/MinionPro-Regular.woff.js +2 -0
  120. package/dist/fonts/MinionPro/MinionPro-Regular.woff2.js +2 -0
  121. package/dist/fonts/MinionPro/index.js +14 -0
  122. package/dist/fonts/Montserrat/Montserrat-Bold.woff.js +2 -0
  123. package/dist/fonts/Montserrat/Montserrat-Bold.woff2.js +2 -0
  124. package/dist/fonts/Montserrat/Montserrat-BoldItalic.woff.js +2 -0
  125. package/dist/fonts/Montserrat/Montserrat-BoldItalic.woff2.js +2 -0
  126. package/dist/fonts/Montserrat/Montserrat-ExtraBold.woff.js +2 -0
  127. package/dist/fonts/Montserrat/Montserrat-ExtraBold.woff2.js +2 -0
  128. package/dist/fonts/Montserrat/Montserrat-ExtraBoldItalic.woff.js +2 -0
  129. package/dist/fonts/Montserrat/Montserrat-ExtraBoldItalic.woff2.js +2 -0
  130. package/dist/fonts/Montserrat/Montserrat-Italic.woff.js +2 -0
  131. package/dist/fonts/Montserrat/Montserrat-Italic.woff2.js +2 -0
  132. package/dist/fonts/Montserrat/Montserrat-Light.woff.js +2 -0
  133. package/dist/fonts/Montserrat/Montserrat-Light.woff2.js +2 -0
  134. package/dist/fonts/Montserrat/Montserrat-LightItalic.woff.js +2 -0
  135. package/dist/fonts/Montserrat/Montserrat-LightItalic.woff2.js +2 -0
  136. package/dist/fonts/Montserrat/Montserrat-Medium.woff.js +2 -0
  137. package/dist/fonts/Montserrat/Montserrat-Medium.woff2.js +2 -0
  138. package/dist/fonts/Montserrat/Montserrat-MediumItalic.woff.js +2 -0
  139. package/dist/fonts/Montserrat/Montserrat-MediumItalic.woff2.js +2 -0
  140. package/dist/fonts/Montserrat/Montserrat-Regular.woff.js +2 -0
  141. package/dist/fonts/Montserrat/Montserrat-Regular.woff2.js +2 -0
  142. package/dist/fonts/Montserrat/index.js +90 -0
  143. package/dist/fonts/SBonus/SBonusUX-BoldItalic.woff.js +2 -0
  144. package/dist/fonts/SBonus/SBonusUX-BoldItalic.woff2.js +2 -0
  145. package/dist/fonts/SBonus/SBonusUX-ExtraboldItalic.woff.js +2 -0
  146. package/dist/fonts/SBonus/SBonusUX-ExtraboldItalic.woff2.js +2 -0
  147. package/dist/fonts/SBonus/SBonusUX-LightItalic.woff.js +2 -0
  148. package/dist/fonts/SBonus/SBonusUX-LightItalic.woff2.js +2 -0
  149. package/dist/fonts/SBonus/SBonusUX-MediumItalic.woff.js +2 -0
  150. package/dist/fonts/SBonus/SBonusUX-MediumItalic.woff2.js +2 -0
  151. package/dist/fonts/SBonus/SBonusUX-RegularItalic.woff.js +2 -0
  152. package/dist/fonts/SBonus/SBonusUX-RegularItalic.woff2.js +2 -0
  153. package/dist/fonts/SBonus/SBonusUXWEB-Bold.woff.js +2 -0
  154. package/dist/fonts/SBonus/SBonusUXWEB-Bold.woff2.js +2 -0
  155. package/dist/fonts/SBonus/SBonusUXWEB-Extrabold.woff.js +2 -0
  156. package/dist/fonts/SBonus/SBonusUXWEB-Extrabold.woff2.js +2 -0
  157. package/dist/fonts/SBonus/SBonusUXWEB-Light.woff.js +2 -0
  158. package/dist/fonts/SBonus/SBonusUXWEB-Light.woff2.js +2 -0
  159. package/dist/fonts/SBonus/SBonusUXWEB-Medium.woff.js +2 -0
  160. package/dist/fonts/SBonus/SBonusUXWEB-Medium.woff2.js +2 -0
  161. package/dist/fonts/SBonus/SBonusUXWEB-Regular.woff.js +2 -0
  162. package/dist/fonts/SBonus/SBonusUXWEB-Regular.woff2.js +2 -0
  163. package/dist/fonts/SBonus/index.js +95 -0
  164. package/dist/fonts/SBonusDisplay/SBonusDisplay-Bold.woff.js +2 -0
  165. package/dist/fonts/SBonusDisplay/SBonusDisplay-Bold.woff2.js +2 -0
  166. package/dist/fonts/SBonusDisplay/SBonusDisplay-Light.woff.js +2 -0
  167. package/dist/fonts/SBonusDisplay/SBonusDisplay-Light.woff2.js +2 -0
  168. package/dist/fonts/SBonusDisplay/SBonusDisplay-Medium.woff.js +2 -0
  169. package/dist/fonts/SBonusDisplay/SBonusDisplay-Medium.woff2.js +2 -0
  170. package/dist/fonts/SBonusDisplay/SBonusDisplay-Regular.woff.js +2 -0
  171. package/dist/fonts/SBonusDisplay/SBonusDisplay-Regular.woff2.js +2 -0
  172. package/dist/fonts/SBonusDisplay/SBonusDisplay-SemiBold.woff.js +2 -0
  173. package/dist/fonts/SBonusDisplay/SBonusDisplay-SemiBold.woff2.js +2 -0
  174. package/dist/fonts/SBonusDisplay/index.js +22 -0
  175. package/dist/fonts/SuomiGrumpy/SuomiGrumpy-Black.woff.js +2 -0
  176. package/dist/fonts/SuomiGrumpy/SuomiGrumpy-Black.woff2.js +2 -0
  177. package/dist/fonts/SuomiGrumpy/index.js +14 -0
  178. package/dist/fonts/utils.js +5 -0
  179. package/dist/hooks/useElementRect.js +65 -0
  180. package/dist/hooks/windowsize.js +31 -0
  181. package/dist/locales/constants.js +6 -0
  182. package/dist/locales/translations.json.js +153 -0
  183. package/dist/styles/media.js +40 -0
  184. package/dist/themes/neutral/breakpoints.js +11 -0
  185. package/dist/themes/neutral/colors.js +3 -0
  186. package/dist/themes/neutral/components.js +940 -0
  187. package/dist/themes/neutral/fonts.js +7 -0
  188. package/dist/themes/neutral/index.js +10 -0
  189. package/dist/themes/neutral/spacings.js +21 -0
  190. package/dist/themes/ravintolakonseptit/breakpoints.js +11 -0
  191. package/dist/themes/ravintolakonseptit/colors.js +17 -0
  192. package/dist/themes/ravintolakonseptit/components.js +936 -0
  193. package/dist/themes/ravintolakonseptit/fonts.js +5 -0
  194. package/dist/themes/ravintolakonseptit/index.js +10 -0
  195. package/dist/themes/ravintolakonseptit/spacings.js +21 -0
  196. package/dist/themes/sokos/breakpoints.js +11 -0
  197. package/dist/themes/sokos/colors.js +3 -0
  198. package/dist/themes/sokos/components.js +936 -0
  199. package/dist/themes/sokos/index.js +10 -0
  200. package/dist/themes/sokospalvelut/breakpoints.js +11 -0
  201. package/dist/themes/sokospalvelut/colors.js +3 -0
  202. package/dist/themes/sokospalvelut/components.js +936 -0
  203. package/dist/themes/sokospalvelut/fonts.js +11 -0
  204. package/dist/themes/sokospalvelut/index.js +10 -0
  205. package/dist/themes/theme.types.js +12 -0
  206. package/dist/themes/tykkimakiresort/colors.js +35 -0
  207. package/dist/themes/tykkimakiresort/components.js +936 -0
  208. package/dist/themes/tykkimakiresort/fonts.js +7 -0
  209. package/dist/themes/tykkimakiresort/index.js +10 -0
  210. package/package.json +33 -3
  211. package/scripts/build.js +132 -0
@@ -0,0 +1,21 @@
1
+ import { __makeTemplateObject } from '../../_virtual/_tslib.js';
2
+ import styled, { css } from 'styled-components';
3
+ var StyledHeading = styled.div.withConfig({
4
+ displayName: "Headingstyles__StyledHeading",
5
+ componentId: "sc-1gql2ct-0"
6
+ })(templateObject_3 || (templateObject_3 = __makeTemplateObject(["\n color: ", ";\n text-align: ", ";\n word-break: break-word;\n\n ", "\n\n ", "\n"], ["\n color: ", ";\n text-align: ", ";\n word-break: break-word;\n\n ", "\n\n ", "\n"])), function (_a) {
7
+ var textColor = _a.textColor;
8
+ return textColor ? textColor : '';
9
+ }, function (_a) {
10
+ var textAlign = _a.textAlign;
11
+ return textAlign;
12
+ }, function (_a) {
13
+ var textColor = _a.textColor,
14
+ theme = _a.theme;
15
+ return theme.components.heading.boldColors.enabled && theme.components.heading.boldColors.colors && css(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n strong {\n font-weight: inherit;\n color: ", ";\n }\n "], ["\n strong {\n font-weight: inherit;\n color: ", ";\n }\n "])), theme.components.heading.boldColors.colors[textColor] || theme.components.heading.boldColors.colors.default);
16
+ }, function (_a) {
17
+ var theme = _a.theme;
18
+ return !theme.components.heading.boldColors.enabled && css(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n strong {\n font-weight: unset;\n }\n "], ["\n strong {\n font-weight: unset;\n }\n "])));
19
+ });
20
+ var templateObject_1, templateObject_2, templateObject_3;
21
+ export { StyledHeading };
@@ -0,0 +1,76 @@
1
+ import { __rest, __assign } from '../../_virtual/_tslib.js';
2
+ import { jsxs, jsx } from 'react/jsx-runtime';
3
+ import { forwardRef } from 'react';
4
+ import { MainContainer, TextContainer, Title, SubTitle, StyledButton, MediaContainer, DynamicImage, StaticImage, Video } from './Hero.styles.js';
5
+ import { getThemeComponents } from '../utils.js';
6
+
7
+ var Text = function Text(_a) {
8
+ var title = _a.title,
9
+ subTitle = _a.subTitle,
10
+ button = _a.button;
11
+ return jsxs(TextContainer, {
12
+ children: [jsx(Title, {
13
+ dangerouslySetInnerHTML: {
14
+ __html: title === null || title === void 0 ? void 0 : title.replace(/\u00a0/g, ' ')
15
+ }
16
+ }, void 0), jsx(SubTitle, {
17
+ children: subTitle
18
+ }, void 0), jsx(StyledButton, {
19
+ linkToPage: button === null || button === void 0 ? void 0 : button.linkToPage,
20
+ fill: getThemeComponents().hero.buttonfill,
21
+ externalLink: button === null || button === void 0 ? void 0 : button.externalLink,
22
+ openWithNewTab: button === null || button === void 0 ? void 0 : button.openWithNewTab,
23
+ buttonText: button === null || button === void 0 ? void 0 : button.buttonText,
24
+ htmlAnchorTarget: button === null || button === void 0 ? void 0 : button.htmlAnchorTarget
25
+ }, void 0)]
26
+ }, void 0);
27
+ };
28
+
29
+ var Media = function Media(_a) {
30
+ var _b, _c, _d, _e;
31
+
32
+ var media = _a.media;
33
+ return jsxs(MediaContainer, {
34
+ children: [(media === null || media === void 0 ? void 0 : media.mimeType.includes('image')) && ((_b = media === null || media === void 0 ? void 0 : media.localFile) === null || _b === void 0 ? void 0 : _b.childImageSharp) && jsx(DynamicImage, {
35
+ image: (_d = (_c = media === null || media === void 0 ? void 0 : media.localFile) === null || _c === void 0 ? void 0 : _c.childImageSharp) === null || _d === void 0 ? void 0 : _d.gatsbyImageData,
36
+ alt: ""
37
+ }, void 0), (media === null || media === void 0 ? void 0 : media.mimeType.includes('image')) && !((_e = media === null || media === void 0 ? void 0 : media.localFile) === null || _e === void 0 ? void 0 : _e.childImageSharp) && jsx(StaticImage, {
38
+ src: media.mediaItemUrl,
39
+ alt: ""
40
+ }, void 0), (media === null || media === void 0 ? void 0 : media.mediaItemUrl) && (media === null || media === void 0 ? void 0 : media.mimeType.includes('video')) && jsx(Video, __assign({
41
+ muted: true,
42
+ loop: true,
43
+ playsInline: true,
44
+ autoPlay: true
45
+ }, {
46
+ children: jsx("source", {
47
+ type: media.mimeType,
48
+ src: media.mediaItemUrl
49
+ }, void 0)
50
+ }), void 0)]
51
+ }, void 0);
52
+ };
53
+
54
+ var Hero = forwardRef(function (_a, ref) {
55
+ var title = _a.title,
56
+ subTitle = _a.subTitle,
57
+ media = _a.media,
58
+ button = _a.button,
59
+ anchor = _a.anchor,
60
+ rest = __rest(_a, ["title", "subTitle", "media", "button", "anchor"]);
61
+
62
+ return jsxs(MainContainer, __assign({
63
+ id: anchor
64
+ }, rest, {
65
+ ref: ref
66
+ }, {
67
+ children: [jsx(Text, {
68
+ title: title,
69
+ subTitle: subTitle,
70
+ button: button
71
+ }, void 0), jsx(Media, {
72
+ media: media
73
+ }, void 0)]
74
+ }), void 0);
75
+ });
76
+ export { Hero, Hero as default };
@@ -0,0 +1,128 @@
1
+ import { __makeTemplateObject } from '../../_virtual/_tslib.js';
2
+ import styled, { css } from 'styled-components';
3
+ import { GatsbyImage } from 'gatsby-plugin-image';
4
+ import Button from '../Button/Button.js';
5
+ import media from '../../styles/media.js';
6
+ var MainContainer = styled.div.withConfig({
7
+ displayName: "Herostyles__MainContainer",
8
+ componentId: "sc-q1rhnk-0"
9
+ })(templateObject_3 || (templateObject_3 = __makeTemplateObject(["\n display: flex;\n flex-direction: column;\n width: 100%;\n\n ", "\n\n ", "\n"], ["\n display: flex;\n flex-direction: column;\n width: 100%;\n\n ", "\n\n ", "\n"])), media.tablet(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n min-height: 30rem;\n flex-direction: row;\n position: relative;\n "], ["\n min-height: 30rem;\n flex-direction: row;\n position: relative;\n "]))), media.desktop(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n min-height: 40rem;\n flex-direction: row;\n position: relative;\n "], ["\n min-height: 40rem;\n flex-direction: row;\n position: relative;\n "]))));
10
+ var Title = styled.div.withConfig({
11
+ displayName: "Herostyles__Title",
12
+ componentId: "sc-q1rhnk-1"
13
+ })(templateObject_6 || (templateObject_6 = __makeTemplateObject(["\n padding: 0;\n margin: ", " 0;\n word-wrap: break-word;\n font-family: ", ";\n font-size: ", ";\n font-weight: ", ";\n line-height: ", ";\n color: ", ";\n text-transform: ", ";\n word-break: break-word;\n\n ", "\n\n ", "\n"], ["\n padding: 0;\n margin: ", " 0;\n word-wrap: break-word;\n font-family: ", ";\n font-size: ", ";\n font-weight: ", ";\n line-height: ", ";\n color: ", ";\n text-transform: ", ";\n word-break: break-word;\n\n ", "\n\n ", "\n"])), function (_a) {
14
+ var theme = _a.theme;
15
+ return theme.spacings.spacing32;
16
+ }, function (_a) {
17
+ var theme = _a.theme;
18
+ return theme.components.hero.title.fontFamily;
19
+ }, function (_a) {
20
+ var theme = _a.theme;
21
+ return theme.components.hero.title.fontSizes.mobile.fontSize;
22
+ }, function (_a) {
23
+ var theme = _a.theme;
24
+ return theme.components.hero.title.fontWeight;
25
+ }, function (_a) {
26
+ var theme = _a.theme;
27
+ return theme.components.hero.title.fontSizes.mobile.lineHeight;
28
+ }, function (_a) {
29
+ var theme = _a.theme;
30
+ return theme.components.hero.title.color;
31
+ }, function (_a) {
32
+ var theme = _a.theme;
33
+ return theme.components.hero.title.textTransform;
34
+ }, media.tablet(templateObject_4 || (templateObject_4 = __makeTemplateObject(["\n font-size: ", ";\n line-height: ", ";\n "], ["\n font-size: ", ";\n line-height: ", ";\n "])), function (_a) {
35
+ var theme = _a.theme;
36
+ return theme.components.hero.title.fontSizes.tablet.fontSize;
37
+ }, function (_a) {
38
+ var theme = _a.theme;
39
+ return theme.components.hero.title.fontSizes.tablet.lineHeight;
40
+ }), media.desktop(templateObject_5 || (templateObject_5 = __makeTemplateObject(["\n font-size: ", ";\n line-height: ", ";\n "], ["\n font-size: ", ";\n line-height: ", ";\n "])), function (_a) {
41
+ var theme = _a.theme;
42
+ return theme.components.hero.title.fontSizes.desktop.fontSize;
43
+ }, function (_a) {
44
+ var theme = _a.theme;
45
+ return theme.components.hero.title.fontSizes.desktop.lineHeight;
46
+ }));
47
+ var SubTitle = styled.div.withConfig({
48
+ displayName: "Herostyles__SubTitle",
49
+ componentId: "sc-q1rhnk-2"
50
+ })(templateObject_9 || (templateObject_9 = __makeTemplateObject(["\n padding: 0;\n margin: 0;\n margin-bottom: ", ";\n width: 100%;\n font-family: ", ";\n font-size: ", ";\n font-weight: ", ";\n line-height: ", ";\n color: ", ";\n text-transform: ", ";\n\n ", "\n\n ", "\n"], ["\n padding: 0;\n margin: 0;\n margin-bottom: ", ";\n width: 100%;\n font-family: ", ";\n font-size: ", ";\n font-weight: ", ";\n line-height: ", ";\n color: ", ";\n text-transform: ", ";\n\n ", "\n\n ", "\n"])), function (_a) {
51
+ var theme = _a.theme;
52
+ return theme.spacings.spacing32;
53
+ }, function (_a) {
54
+ var theme = _a.theme;
55
+ return theme.components.hero.subTitle.fontFamily;
56
+ }, function (_a) {
57
+ var theme = _a.theme;
58
+ return theme.components.hero.subTitle.fontSizes.mobile.fontSize;
59
+ }, function (_a) {
60
+ var theme = _a.theme;
61
+ return theme.components.hero.subTitle.fontWeight;
62
+ }, function (_a) {
63
+ var theme = _a.theme;
64
+ return theme.components.hero.subTitle.fontSizes.mobile.lineHeight;
65
+ }, function (_a) {
66
+ var theme = _a.theme;
67
+ return theme.components.hero.subTitle.color;
68
+ }, function (_a) {
69
+ var theme = _a.theme;
70
+ return theme.components.hero.subTitle.textTransform;
71
+ }, media.tablet(templateObject_7 || (templateObject_7 = __makeTemplateObject(["\n width: 80%;\n font-size: ", ";\n line-height: ", ";\n "], ["\n width: 80%;\n font-size: ", ";\n line-height: ", ";\n "])), function (_a) {
72
+ var theme = _a.theme;
73
+ return theme.components.hero.subTitle.fontSizes.tablet.fontSize;
74
+ }, function (_a) {
75
+ var theme = _a.theme;
76
+ return theme.components.hero.subTitle.fontSizes.tablet.lineHeight;
77
+ }), media.desktop(templateObject_8 || (templateObject_8 = __makeTemplateObject(["\n width: 80%;\n font-size: ", ";\n line-height: ", ";\n "], ["\n width: 80%;\n font-size: ", ";\n line-height: ", ";\n "])), function (_a) {
78
+ var theme = _a.theme;
79
+ return theme.components.hero.subTitle.fontSizes.desktop.fontSize;
80
+ }, function (_a) {
81
+ var theme = _a.theme;
82
+ return theme.components.hero.subTitle.fontSizes.desktop.lineHeight;
83
+ }));
84
+ var TextContainer = styled.div.withConfig({
85
+ displayName: "Herostyles__TextContainer",
86
+ componentId: "sc-q1rhnk-3"
87
+ })(templateObject_12 || (templateObject_12 = __makeTemplateObject(["\n display: flex;\n justify-content: center;\n flex-direction: column;\n align-items: flex-start;\n margin-top: auto;\n margin-bottom: auto;\n height: 100%;\n width: 100%;\n order: 2;\n\n b {\n color: ", ";\n font-weight: inherit;\n }\n\n ", "\n\n ", "\n"], ["\n display: flex;\n justify-content: center;\n flex-direction: column;\n align-items: flex-start;\n margin-top: auto;\n margin-bottom: auto;\n height: 100%;\n width: 100%;\n order: 2;\n\n b {\n color: ", ";\n font-weight: inherit;\n }\n\n ", "\n\n ", "\n"])), function (_a) {
88
+ var theme = _a.theme;
89
+ return theme.components.hero.boldColor;
90
+ }, media.tablet(templateObject_10 || (templateObject_10 = __makeTemplateObject(["\n order: 1;\n width: 60%;\n margin-right: ", ";\n "], ["\n order: 1;\n width: 60%;\n margin-right: ", ";\n "])), function (_a) {
91
+ var theme = _a.theme;
92
+ return theme.spacings.spacing32;
93
+ }), media.desktop(templateObject_11 || (templateObject_11 = __makeTemplateObject(["\n order: 1;\n width: 60%;\n margin-right: ", ";\n "], ["\n order: 1;\n width: 60%;\n margin-right: ", ";\n "])), function (_a) {
94
+ var theme = _a.theme;
95
+ return theme.spacings.spacing32;
96
+ }));
97
+ var MediaContainer = styled.div.withConfig({
98
+ displayName: "Herostyles__MediaContainer",
99
+ componentId: "sc-q1rhnk-4"
100
+ })(templateObject_15 || (templateObject_15 = __makeTemplateObject(["\n display: flex;\n justify-content: center;\n align-items: flex-end;\n position: relative;\n margin-left: ", ";\n margin-right: ", ";\n\n ", "\n\n ", "\n"], ["\n display: flex;\n justify-content: center;\n align-items: flex-end;\n position: relative;\n margin-left: ", ";\n margin-right: ", ";\n\n ", "\n\n ", "\n"])), function (_a) {
101
+ var theme = _a.theme;
102
+ return "-" + theme.components.restrictedWidthContainer.mobile.margin.left;
103
+ }, function (_a) {
104
+ var theme = _a.theme;
105
+ return "-" + theme.components.restrictedWidthContainer.mobile.margin.right;
106
+ }, media.tablet(templateObject_13 || (templateObject_13 = __makeTemplateObject(["\n order: 1;\n width: 40%;\n margin-left: unset;\n margin-right: unset;\n "], ["\n order: 1;\n width: 40%;\n margin-left: unset;\n margin-right: unset;\n "]))), media.desktop(templateObject_14 || (templateObject_14 = __makeTemplateObject(["\n order: 1;\n width: 40%;\n margin-left: unset;\n margin-right: unset;\n "], ["\n order: 1;\n width: 40%;\n margin-left: unset;\n margin-right: unset;\n "]))));
107
+ var StyledButton = styled(Button).withConfig({
108
+ displayName: "Herostyles__StyledButton",
109
+ componentId: "sc-q1rhnk-5"
110
+ })(templateObject_16 || (templateObject_16 = __makeTemplateObject(["\n margin-bottom: ", ";\n"], ["\n margin-bottom: ", ";\n"])), function (_a) {
111
+ var theme = _a.theme;
112
+ return theme.spacings.spacing32;
113
+ });
114
+ var ImageCSS = css(templateObject_19 || (templateObject_19 = __makeTemplateObject(["\n width: 100%;\n height: 100%;\n object-fit: cover;\n max-height: 25rem;\n\n ", "\n\n ", "\n"], ["\n width: 100%;\n height: 100%;\n object-fit: cover;\n max-height: 25rem;\n\n ", "\n\n ", "\n"])), media.tablet(templateObject_17 || (templateObject_17 = __makeTemplateObject(["\n height: 100%;\n max-height: unset;\n position: absolute !important;\n "], ["\n height: 100%;\n max-height: unset;\n position: absolute !important;\n "]))), media.desktop(templateObject_18 || (templateObject_18 = __makeTemplateObject(["\n height: 100%;\n max-height: unset;\n position: absolute !important;\n "], ["\n height: 100%;\n max-height: unset;\n position: absolute !important;\n "]))));
115
+ var DynamicImage = styled(GatsbyImage).withConfig({
116
+ displayName: "Herostyles__DynamicImage",
117
+ componentId: "sc-q1rhnk-6"
118
+ })(templateObject_20 || (templateObject_20 = __makeTemplateObject(["\n ", "\n"], ["\n ", "\n"])), ImageCSS);
119
+ var StaticImage = styled.img.withConfig({
120
+ displayName: "Herostyles__StaticImage",
121
+ componentId: "sc-q1rhnk-7"
122
+ })(templateObject_21 || (templateObject_21 = __makeTemplateObject(["\n ", "\n"], ["\n ", "\n"])), ImageCSS);
123
+ var Video = styled.video.withConfig({
124
+ displayName: "Herostyles__Video",
125
+ componentId: "sc-q1rhnk-8"
126
+ })(templateObject_24 || (templateObject_24 = __makeTemplateObject(["\n height: 100%;\n width: 100%;\n max-height: 25rem;\n object-fit: cover;\n\n ", "\n\n ", "\n"], ["\n height: 100%;\n width: 100%;\n max-height: 25rem;\n object-fit: cover;\n\n ", "\n\n ", "\n"])), media.tablet(templateObject_22 || (templateObject_22 = __makeTemplateObject(["\n height: 100%;\n max-height: unset;\n position: absolute !important;\n "], ["\n height: 100%;\n max-height: unset;\n position: absolute !important;\n "]))), media.desktop(templateObject_23 || (templateObject_23 = __makeTemplateObject(["\n height: 100%;\n max-height: unset;\n position: absolute !important;\n "], ["\n height: 100%;\n max-height: unset;\n position: absolute !important;\n "]))));
127
+ var templateObject_1, templateObject_2, templateObject_3, templateObject_4, templateObject_5, templateObject_6, templateObject_7, templateObject_8, templateObject_9, templateObject_10, templateObject_11, templateObject_12, templateObject_13, templateObject_14, templateObject_15, templateObject_16, templateObject_17, templateObject_18, templateObject_19, templateObject_20, templateObject_21, templateObject_22, templateObject_23, templateObject_24;
128
+ export { DynamicImage, MainContainer, MediaContainer, StaticImage, StyledButton, SubTitle, TextContainer, Title, Video };
@@ -0,0 +1,118 @@
1
+ import { __rest, __assign } from '../../_virtual/_tslib.js';
2
+ import { jsxs, jsx } from 'react/jsx-runtime';
3
+ import 'react-multi-carousel/lib/styles.css';
4
+ import { forwardRef } from 'react';
5
+ import { useTheme } from 'styled-components';
6
+ import { parseLink, parseInternalLink } from '../utils.js';
7
+ import { MainContainer, TitleContainer, ContentsContainer, BlurBox, StyledCarousel, LinkContainer, StyledLink, ImageContainer, StyledSVG, DynamicImage, StaticImage, LinkLabel } from './IconLinks.styles.js';
8
+ var ItemsToShow = {
9
+ ultraWide: 6,
10
+ desktop: 5,
11
+ tablet: 4,
12
+ mobile: 3
13
+ };
14
+ var IconLinks = forwardRef(function (_a, ref) {
15
+ var iconLinks = _a.iconLinks,
16
+ title = _a.title,
17
+ anchor = _a.anchor,
18
+ blockBackgroundColor = _a.blockBackgroundColor,
19
+ rest = __rest(_a, ["iconLinks", "title", "anchor", "blockBackgroundColor"]);
20
+
21
+ if (iconLinks === null) {
22
+ return null;
23
+ }
24
+
25
+ var theme = useTheme();
26
+ var responsive = {
27
+ ultraWide: {
28
+ breakpoint: {
29
+ max: 4000,
30
+ min: parseFloat(theme.breakpoints.desktop)
31
+ },
32
+ items: ItemsToShow.ultraWide
33
+ },
34
+ desktop: {
35
+ breakpoint: {
36
+ max: parseFloat(theme.breakpoints.desktop),
37
+ min: parseFloat(theme.breakpoints.tablet)
38
+ },
39
+ items: ItemsToShow.desktop
40
+ },
41
+ tablet: {
42
+ breakpoint: {
43
+ max: parseFloat(theme.breakpoints.tablet),
44
+ min: parseFloat(theme.breakpoints.mobile)
45
+ },
46
+ items: ItemsToShow.tablet
47
+ },
48
+ mobile: {
49
+ breakpoint: {
50
+ max: parseFloat(theme.breakpoints.mobile),
51
+ min: 0
52
+ },
53
+ items: ItemsToShow.mobile
54
+ }
55
+ };
56
+
57
+ var hasImage = function hasImage(item) {
58
+ var _a, _b, _c, _d;
59
+
60
+ return ((_a = item === null || item === void 0 ? void 0 : item.media) === null || _a === void 0 ? void 0 : _a.mediaItemUrl) || ((_d = (_c = (_b = item.media) === null || _b === void 0 ? void 0 : _b.localFile) === null || _c === void 0 ? void 0 : _c.childImageSharp) === null || _d === void 0 ? void 0 : _d.gatsbyImageData) ? true : false;
61
+ };
62
+
63
+ return jsxs(MainContainer, {
64
+ children: [jsx(TitleContainer, {
65
+ children: title
66
+ }, void 0), jsxs(ContentsContainer, __assign({
67
+ id: anchor
68
+ }, {
69
+ children: [jsx(BlurBox, {
70
+ isRightBox: false,
71
+ itemsToShow: ItemsToShow,
72
+ linkCount: iconLinks.length,
73
+ blockBackgroundColor: blockBackgroundColor
74
+ }, void 0), jsx(StyledCarousel, __assign({
75
+ responsive: responsive
76
+ }, rest, {
77
+ itemsToShow: ItemsToShow,
78
+ linkCount: iconLinks.length
79
+ }, {
80
+ children: iconLinks.map(function (item, i) {
81
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m;
82
+
83
+ var parsedExternalLink = parseLink((_a = item.link) === null || _a === void 0 ? void 0 : _a.externalLink);
84
+ var parsedInternalLink = parseInternalLink((_b = item.link.linkToPage) === null || _b === void 0 ? void 0 : _b.uri, (_c = item.link) === null || _c === void 0 ? void 0 : _c.htmlAnchorTarget);
85
+ return jsx(LinkContainer, __assign({
86
+ ref: ref
87
+ }, {
88
+ children: jsxs(StyledLink, __assign({
89
+ href: parsedInternalLink ? parsedInternalLink : parsedExternalLink,
90
+ target: item.link.openWithNewTab ? '__blank' : '_self'
91
+ }, {
92
+ children: [jsx(ImageContainer, __assign({
93
+ hasImage: hasImage(item)
94
+ }, {
95
+ children: ((_e = (_d = item.media) === null || _d === void 0 ? void 0 : _d.mimeType) === null || _e === void 0 ? void 0 : _e.includes('svg')) ? jsx(StyledSVG, {
96
+ src: (_f = item === null || item === void 0 ? void 0 : item.media) === null || _f === void 0 ? void 0 : _f.mediaItemUrl
97
+ }, void 0) : ((_h = (_g = item.media) === null || _g === void 0 ? void 0 : _g.localFile) === null || _h === void 0 ? void 0 : _h.childImageSharp) ? jsx(DynamicImage, {
98
+ image: (_l = (_k = (_j = item === null || item === void 0 ? void 0 : item.media) === null || _j === void 0 ? void 0 : _j.localFile) === null || _k === void 0 ? void 0 : _k.childImageSharp) === null || _l === void 0 ? void 0 : _l.gatsbyImageData,
99
+ alt: ""
100
+ }, void 0) : jsx(StaticImage, {
101
+ src: (_m = item === null || item === void 0 ? void 0 : item.media) === null || _m === void 0 ? void 0 : _m.mediaItemUrl
102
+ }, void 0)
103
+ }), void 0), item.label && jsx(LinkLabel, {
104
+ children: item.label
105
+ }, void 0)]
106
+ }), void 0)
107
+ }), i);
108
+ })
109
+ }), void 0), jsx(BlurBox, {
110
+ isRightBox: true,
111
+ itemsToShow: ItemsToShow,
112
+ linkCount: iconLinks.length,
113
+ blockBackgroundColor: blockBackgroundColor
114
+ }, void 0)]
115
+ }), void 0)]
116
+ }, void 0);
117
+ });
118
+ export { IconLinks, IconLinks as default };
@@ -0,0 +1,259 @@
1
+ import { __makeTemplateObject } from '../../_virtual/_tslib.js';
2
+ import MultiCarousel from 'react-multi-carousel';
3
+ import styled, { css } from 'styled-components';
4
+ import { GatsbyImage } from 'gatsby-plugin-image';
5
+ import media from '../../styles/media.js';
6
+ var MainContainer = styled.div.withConfig({
7
+ displayName: "IconLinksstyles__MainContainer",
8
+ componentId: "sc-1gtib87-0"
9
+ })(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n display: flex;\n flex-direction: column;\n align-items: center;\n overflow-x: hidden;\n text-align: center;\n margin: ", " 0;\n"], ["\n display: flex;\n flex-direction: column;\n align-items: center;\n overflow-x: hidden;\n text-align: center;\n margin: ", " 0;\n"])), function (_a) {
10
+ var theme = _a.theme;
11
+ return theme.spacings.spacing8;
12
+ });
13
+ var TitleContainer = styled.div.withConfig({
14
+ displayName: "IconLinksstyles__TitleContainer",
15
+ componentId: "sc-1gtib87-1"
16
+ })(templateObject_4 || (templateObject_4 = __makeTemplateObject(["\n font-family: ", ";\n font-weight: ", ";\n font-size: ", ";\n line-height: initial;\n margin-top: 0;\n margin-bottom: ", ";\n color: ", ";\n text-transform: ", ";\n word-wrap: break-word;\n\n ", "\n\n ", "\n"], ["\n font-family: ", ";\n font-weight: ", ";\n font-size: ", ";\n line-height: initial;\n margin-top: 0;\n margin-bottom: ", ";\n color: ", ";\n text-transform: ", ";\n word-wrap: break-word;\n\n ", "\n\n ", "\n"])), function (_a) {
17
+ var theme = _a.theme;
18
+ return theme.components.iconLinks.title.fontFamily;
19
+ }, function (_a) {
20
+ var theme = _a.theme;
21
+ return theme.components.iconLinks.title.fontWeight;
22
+ }, function (_a) {
23
+ var theme = _a.theme;
24
+ return theme.components.iconLinks.title.fontSizes.mobile.fontSize;
25
+ }, function (_a) {
26
+ var theme = _a.theme;
27
+ return theme.spacings.spacing48;
28
+ }, function (_a) {
29
+ var theme = _a.theme;
30
+ return theme.components.iconLinks.title.color;
31
+ }, function (_a) {
32
+ var theme = _a.theme;
33
+ return theme.components.iconLinks.title.textTransform;
34
+ }, media.tablet(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n margin-bottom: ", ";\n font-size: ", ";\n line-height: ", ";\n "], ["\n margin-bottom: ", ";\n font-size: ", ";\n line-height: ", ";\n "])), function (_a) {
35
+ var theme = _a.theme;
36
+ return theme.spacings.spacing64;
37
+ }, function (_a) {
38
+ var theme = _a.theme;
39
+ return theme.components.iconLinks.title.fontSizes.tablet.fontSize;
40
+ }, function (_a) {
41
+ var theme = _a.theme;
42
+ return theme.components.iconLinks.title.fontSizes.tablet.lineHeight;
43
+ }), media.desktop(templateObject_3 || (templateObject_3 = __makeTemplateObject(["\n margin-top: ", ";\n margin-bottom: ", ";\n font-size: ", ";\n line-height: ", ";\n "], ["\n margin-top: ", ";\n margin-bottom: ", ";\n font-size: ", ";\n line-height: ", ";\n "])), function (_a) {
44
+ var theme = _a.theme;
45
+ return theme.spacings.spacing16;
46
+ }, function (_a) {
47
+ var theme = _a.theme;
48
+ return theme.spacings.spacing64;
49
+ }, function (_a) {
50
+ var theme = _a.theme;
51
+ return theme.components.iconLinks.title.fontSizes.desktop.fontSize;
52
+ }, function (_a) {
53
+ var theme = _a.theme;
54
+ return theme.components.iconLinks.title.fontSizes.desktop.lineHeight;
55
+ }));
56
+ var ContentsContainer = styled.div.withConfig({
57
+ displayName: "IconLinksstyles__ContentsContainer",
58
+ componentId: "sc-1gtib87-2"
59
+ })(templateObject_5 || (templateObject_5 = __makeTemplateObject(["\n overflow-x: hidden;\n display: flex;\n width: 100%;\n"], ["\n overflow-x: hidden;\n display: flex;\n width: 100%;\n"])));
60
+ var BlurBox = styled.div.withConfig({
61
+ displayName: "IconLinksstyles__BlurBox",
62
+ componentId: "sc-1gtib87-3"
63
+ })(templateObject_8 || (templateObject_8 = __makeTemplateObject(["\n position: absolute;\n width: ", ";\n height: ", ";\n z-index: 10;\n left: ", ";\n margin-left: ", ";\n display: ", ";\n\n filter: blur(15px);\n background-color: ", ";\n\n ", "\n\n ", "\n"], ["\n position: absolute;\n width: ", ";\n height: ", ";\n z-index: 10;\n left: ", ";\n margin-left: ", ";\n display: ", ";\n\n filter: blur(15px);\n background-color: ", ";\n\n ", "\n\n ", "\n"])), function (_a) {
64
+ var theme = _a.theme;
65
+ return theme.components.iconLinks.blurBoxWidth.mobile;
66
+ }, function (_a) {
67
+ var theme = _a.theme;
68
+ return theme.components.iconLinks.blurBoxHeight.mobile;
69
+ }, function (_a) {
70
+ var isRightBox = _a.isRightBox;
71
+ return isRightBox ? '100%' : 'unset';
72
+ }, function (_a) {
73
+ var theme = _a.theme,
74
+ isRightBox = _a.isRightBox;
75
+ return isRightBox ? "-" + theme.components.iconLinks.blurBoxWidth.mobile : 'unset';
76
+ }, function (_a) {
77
+ var linkCount = _a.linkCount,
78
+ itemsToShow = _a.itemsToShow;
79
+ return linkCount <= itemsToShow.mobile ? 'none' : 'block';
80
+ }, function (_a) {
81
+ var theme = _a.theme,
82
+ blockBackgroundColor = _a.blockBackgroundColor;
83
+ return blockBackgroundColor ? blockBackgroundColor : theme.components.globalStyle.backgroundColor;
84
+ }, media.tablet(templateObject_6 || (templateObject_6 = __makeTemplateObject(["\n width: ", ";\n height: ", ";\n margin-left: ", ";\n display:", ";\n "], ["\n width: ", ";\n height: ", ";\n margin-left: ", ";\n display:", ";\n "])), function (_a) {
85
+ var theme = _a.theme;
86
+ return theme.components.iconLinks.blurBoxWidth.tablet;
87
+ }, function (_a) {
88
+ var theme = _a.theme;
89
+ return theme.components.iconLinks.blurBoxHeight.tablet;
90
+ }, function (_a) {
91
+ var theme = _a.theme,
92
+ isRightBox = _a.isRightBox;
93
+ return isRightBox ? "-" + theme.components.iconLinks.blurBoxWidth.tablet : 'unset';
94
+ }, function (props) {
95
+ return props.linksCount <= props.itemsToShow.tablet ? 'none' : 'block';
96
+ }), media.desktop(templateObject_7 || (templateObject_7 = __makeTemplateObject(["\n display:none;\n "], ["\n display:none;\n "]))));
97
+ var StyledCarousel = styled(MultiCarousel).withConfig({
98
+ displayName: "IconLinksstyles__StyledCarousel",
99
+ componentId: "sc-1gtib87-4"
100
+ })(templateObject_14 || (templateObject_14 = __makeTemplateObject(["\n --maxWidth: ", ";\n --restrictedWidthContainerDesktopMarginLeft: ", ";\n\n width: 100%;\n align-items: stretch;\n margin-bottom: ", ";\n justify-content: ", ";\n\n ", "\n\n ", "\n\n ", "\n\n .react-multiple-carousel__arrow {\n top: 20%;\n z-index: 99;\n overflow: overlay;\n margin: 0 ", ";\n background-color: transparent;\n\n ", "\n\n ", "\n\n ::before {\n color: ", ";\n }\n }\n"], ["\n --maxWidth: ", ";\n --restrictedWidthContainerDesktopMarginLeft: ", ";\n\n width: 100%;\n align-items: stretch;\n margin-bottom: ", ";\n justify-content: ", ";\n\n ", "\n\n ", "\n\n ", "\n\n .react-multiple-carousel__arrow {\n top: 20%;\n z-index: 99;\n overflow: overlay;\n margin: 0 ", ";\n background-color: transparent;\n\n ", "\n\n ", "\n\n ::before {\n color: ", ";\n }\n }\n"])), function (_a) {
101
+ var theme = _a.theme;
102
+ return theme.components.restrictedWidthContainer.maxWidth;
103
+ }, function (_a) {
104
+ var theme = _a.theme;
105
+ return theme.components.restrictedWidthContainer.desktop.margin.left;
106
+ }, function (_a) {
107
+ var theme = _a.theme;
108
+ return theme.spacings.spacing16;
109
+ }, function (_a) {
110
+ var linkCount = _a.linkCount,
111
+ itemsToShow = _a.itemsToShow;
112
+ return linkCount <= itemsToShow.mobile ? 'center' : 'normal';
113
+ }, media.tablet(templateObject_9 || (templateObject_9 = __makeTemplateObject(["\n justify-content: ", ";\n "], ["\n justify-content: ", ";\n "])), function (_a) {
114
+ var linkCount = _a.linkCount,
115
+ itemsToShow = _a.itemsToShow;
116
+ return linkCount <= itemsToShow.tablet ? 'center' : 'normal';
117
+ }), media.desktop(templateObject_10 || (templateObject_10 = __makeTemplateObject(["\n justify-content: ", ";\n "], ["\n justify-content: ", ";\n "])), function (_a) {
118
+ var linkCount = _a.linkCount,
119
+ itemsToShow = _a.itemsToShow;
120
+ return linkCount <= itemsToShow.desktop ? 'center' : 'normal';
121
+ }), media.widerThanRestrictedWidthContainer(templateObject_11 || (templateObject_11 = __makeTemplateObject(["\n justify-content: ", ";\n "], ["\n justify-content: ", ";\n "])), function (_a) {
122
+ var linkCount = _a.linkCount,
123
+ itemsToShow = _a.itemsToShow;
124
+ return linkCount <= itemsToShow.ultraWide ? 'center' : 'normal';
125
+ }), function (_a) {
126
+ var theme = _a.theme;
127
+ return theme.components.iconLinks.arrowButtonMargin.mobile;
128
+ }, media.tablet(templateObject_12 || (templateObject_12 = __makeTemplateObject(["\n margin: 0 ", ";\n "], ["\n margin: 0 ", ";\n "])), function (_a) {
129
+ var theme = _a.theme;
130
+ return theme.components.iconLinks.arrowButtonMargin.tablet;
131
+ }), media.desktop(templateObject_13 || (templateObject_13 = __makeTemplateObject(["\n margin: 0 ", ";\n "], ["\n margin: 0 ", ";\n "])), function (_a) {
132
+ var theme = _a.theme;
133
+ return theme.components.iconLinks.arrowButtonMargin.desktop;
134
+ }), function (_a) {
135
+ var theme = _a.theme;
136
+ return theme.colors.grey500;
137
+ });
138
+ var LinkContainer = styled.div.withConfig({
139
+ displayName: "IconLinksstyles__LinkContainer",
140
+ componentId: "sc-1gtib87-5"
141
+ })(templateObject_17 || (templateObject_17 = __makeTemplateObject(["\n width: 100%;\n display: flex;\n flex-direction: column;\n flex-wrap: wrap;\n box-sizing: border-box;\n align-items: center;\n\n ", "\n\n ", "\n"], ["\n width: 100%;\n display: flex;\n flex-direction: column;\n flex-wrap: wrap;\n box-sizing: border-box;\n align-items: center;\n\n ", "\n\n ", "\n"])), media.tablet(templateObject_15 || (templateObject_15 = __makeTemplateObject(["\n flex-wrap: unset;\n "], ["\n flex-wrap: unset;\n "]))), media.desktop(templateObject_16 || (templateObject_16 = __makeTemplateObject(["\n flex-wrap: unset;\n "], ["\n flex-wrap: unset;\n "]))));
142
+ var StyledLink = styled.a.withConfig({
143
+ displayName: "IconLinksstyles__StyledLink",
144
+ componentId: "sc-1gtib87-6"
145
+ })(templateObject_20 || (templateObject_20 = __makeTemplateObject(["\n box-sizing: border-box;\n width: ", ";\n box-shadow: none;\n cursor: pointer;\n transition: 0.3s;\n text-decoration: none;\n\n border-bottom: inset 2px ", ";\n\n ", "\n\n ", "\n\n img {\n filter: grayscale(100) brightness(0);\n }\n\n :hover {\n transition: 0.1s;\n filter: brightness(1);\n p {\n color: ", ";\n }\n\n img {\n transition: 0.2s;\n filter: grayscale(0);\n }\n\n border-bottom: inset 2px ", ";\n box-shadow: inset 0 -5px 0 ", ";\n }\n"], ["\n box-sizing: border-box;\n width: ", ";\n box-shadow: none;\n cursor: pointer;\n transition: 0.3s;\n text-decoration: none;\n\n border-bottom: inset 2px ", ";\n\n ", "\n\n ", "\n\n img {\n filter: grayscale(100) brightness(0);\n }\n\n :hover {\n transition: 0.1s;\n filter: brightness(1);\n p {\n color: ", ";\n }\n\n img {\n transition: 0.2s;\n filter: grayscale(0);\n }\n\n border-bottom: inset 2px ", ";\n box-shadow: inset 0 -5px 0 ", ";\n }\n"])), function (_a) {
146
+ var theme = _a.theme;
147
+ return theme.components.iconLinks.itemWidth.mobile;
148
+ }, function (_a) {
149
+ var theme = _a.theme;
150
+ return theme.colors.grey600;
151
+ }, media.tablet(templateObject_18 || (templateObject_18 = __makeTemplateObject(["\n width: ", ";\n "], ["\n width: ", ";\n "])), function (_a) {
152
+ var theme = _a.theme;
153
+ return theme.components.iconLinks.itemWidth.tablet;
154
+ }), media.desktop(templateObject_19 || (templateObject_19 = __makeTemplateObject(["\n width: ", ";\n "], ["\n width: ", ";\n "])), function (_a) {
155
+ var theme = _a.theme;
156
+ return theme.components.iconLinks.itemWidth.desktop;
157
+ }), function (_a) {
158
+ var theme = _a.theme;
159
+ return theme.components.iconLinks.hoverColor;
160
+ }, function (_a) {
161
+ var theme = _a.theme;
162
+ return theme.components.iconLinks.hoverColor;
163
+ }, function (_a) {
164
+ var theme = _a.theme;
165
+ return theme.components.iconLinks.hoverColor;
166
+ });
167
+ var ImageContainer = styled.div.withConfig({
168
+ displayName: "IconLinksstyles__ImageContainer",
169
+ componentId: "sc-1gtib87-7"
170
+ })(templateObject_23 || (templateObject_23 = __makeTemplateObject(["\n display: ", ";\n height: ", ";\n\n ", "\n\n ", "\n"], ["\n display: ", ";\n height: ", ";\n\n ", "\n\n ", "\n"])), function (_a) {
171
+ var hasImage = _a.hasImage;
172
+ return hasImage ? 'block' : 'none';
173
+ }, function (_a) {
174
+ var theme = _a.theme;
175
+ return theme.components.iconLinks.mediaHeight.mobile;
176
+ }, media.tablet(templateObject_21 || (templateObject_21 = __makeTemplateObject(["\n width: 100%;\n height: ", ";\n max-height: unset;\n position: relative;\n "], ["\n width: 100%;\n height: ", ";\n max-height: unset;\n position: relative;\n "])), function (_a) {
177
+ var theme = _a.theme;
178
+ return theme.components.iconLinks.mediaHeight.tablet;
179
+ }), media.desktop(templateObject_22 || (templateObject_22 = __makeTemplateObject(["\n width: 100%;\n height: ", ";\n max-height: unset;\n position: relative;\n "], ["\n width: 100%;\n height: ", ";\n max-height: unset;\n position: relative;\n "])), function (_a) {
180
+ var theme = _a.theme;
181
+ return theme.components.iconLinks.mediaHeight.desktop;
182
+ }));
183
+ var ImageCSS = css(templateObject_26 || (templateObject_26 = __makeTemplateObject(["\n width: ", ";\n height: 100%;\n object-fit: cover;\n pointer-events: none;\n user-select: none;\n\n ", "\n\n ", "\n"], ["\n width: ", ";\n height: 100%;\n object-fit: cover;\n pointer-events: none;\n user-select: none;\n\n ", "\n\n ", "\n"])), function (_a) {
184
+ var theme = _a.theme;
185
+ return theme.components.iconLinks.imageWidth.mobile;
186
+ }, media.tablet(templateObject_24 || (templateObject_24 = __makeTemplateObject(["\n width: ", ";\n "], ["\n width: ", ";\n "])), function (_a) {
187
+ var theme = _a.theme;
188
+ return theme.components.iconLinks.imageWidth.tablet;
189
+ }), media.desktop(templateObject_25 || (templateObject_25 = __makeTemplateObject(["\n width: ", ";\n "], ["\n width: ", ";\n "])), function (_a) {
190
+ var theme = _a.theme;
191
+ return theme.components.iconLinks.imageWidth.desktop;
192
+ }));
193
+ var ResponsiveImageCSS = css(templateObject_29 || (templateObject_29 = __makeTemplateObject(["\n ", "\n\n ", "\n"], ["\n ", "\n\n ", "\n"])), media.tablet(templateObject_27 || (templateObject_27 = __makeTemplateObject(["\n max-height: 70vh;\n position: unset;\n "], ["\n max-height: 70vh;\n position: unset;\n "]))), media.desktop(templateObject_28 || (templateObject_28 = __makeTemplateObject(["\n max-height: 70vh;\n position: unset;\n "], ["\n max-height: 70vh;\n position: unset;\n "]))));
194
+ var StaticImage = styled.img.withConfig({
195
+ displayName: "IconLinksstyles__StaticImage",
196
+ componentId: "sc-1gtib87-8"
197
+ })(templateObject_30 || (templateObject_30 = __makeTemplateObject(["\n ", ";\n ", ";\n"], ["\n ", ";\n ", ";\n"])), ImageCSS, ResponsiveImageCSS);
198
+ var DynamicImage = styled(GatsbyImage).withConfig({
199
+ displayName: "IconLinksstyles__DynamicImage",
200
+ componentId: "sc-1gtib87-9"
201
+ })(templateObject_31 || (templateObject_31 = __makeTemplateObject(["\n ", ";\n ", ";\n"], ["\n ", ";\n ", ";\n"])), ImageCSS, ResponsiveImageCSS);
202
+ var StyledSVG = styled.img.withConfig({
203
+ displayName: "IconLinksstyles__StyledSVG",
204
+ componentId: "sc-1gtib87-10"
205
+ })(templateObject_32 || (templateObject_32 = __makeTemplateObject(["\n ", ";\n object-fit: unset;\n"], ["\n ", ";\n object-fit: unset;\n"])), ImageCSS);
206
+ var LinkLabel = styled.p.withConfig({
207
+ displayName: "IconLinksstyles__LinkLabel",
208
+ componentId: "sc-1gtib87-11"
209
+ })(templateObject_35 || (templateObject_35 = __makeTemplateObject(["\n font-family: ", ";\n font-weight: ", ";\n font-size: ", ";\n line-height: initial;\n color: ", ";\n text-transform: ", ";\n word-wrap: break-word;\n margin-top: ", ";\n margin-bottom: ", ";\n white-space: nowrap;\n\n b {\n color: ", ";\n font-weight: inherit;\n }\n\n ", "\n\n ", "\n"], ["\n font-family: ", ";\n font-weight: ", ";\n font-size: ", ";\n line-height: initial;\n color: ", ";\n text-transform: ", ";\n word-wrap: break-word;\n margin-top: ", ";\n margin-bottom: ", ";\n white-space: nowrap;\n\n b {\n color: ", ";\n font-weight: inherit;\n }\n\n ", "\n\n ", "\n"])), function (_a) {
210
+ var theme = _a.theme;
211
+ return theme.components.iconLinks.linkLabel.fontFamily;
212
+ }, function (_a) {
213
+ var theme = _a.theme;
214
+ return theme.components.iconLinks.linkLabel.fontWeight;
215
+ }, function (_a) {
216
+ var theme = _a.theme;
217
+ return theme.components.iconLinks.linkLabel.fontSizes.mobile.fontSize;
218
+ }, function (_a) {
219
+ var theme = _a.theme;
220
+ return theme.components.iconLinks.linkLabel.color;
221
+ }, function (_a) {
222
+ var theme = _a.theme;
223
+ return theme.components.iconLinks.linkLabel.textTransform;
224
+ }, function (_a) {
225
+ var theme = _a.theme;
226
+ return theme.spacings.spacing16;
227
+ }, function (_a) {
228
+ var theme = _a.theme;
229
+ return theme.spacings.spacing16;
230
+ }, function (_a) {
231
+ var theme = _a.theme;
232
+ return theme.colors.primary900;
233
+ }, media.tablet(templateObject_33 || (templateObject_33 = __makeTemplateObject(["\n margin-top: ", ";\n margin-bottom: ", ";\n font-size: ", ";\n line-height: ", ";\n "], ["\n margin-top: ", ";\n margin-bottom: ", ";\n font-size: ", ";\n line-height: ", ";\n "])), function (_a) {
234
+ var theme = _a.theme;
235
+ return theme.spacings.spacing16;
236
+ }, function (_a) {
237
+ var theme = _a.theme;
238
+ return theme.spacings.spacing24;
239
+ }, function (_a) {
240
+ var theme = _a.theme;
241
+ return theme.components.iconLinks.linkLabel.fontSizes.tablet.fontSize;
242
+ }, function (_a) {
243
+ var theme = _a.theme;
244
+ return theme.components.iconLinks.linkLabel.fontSizes.tablet.lineHeight;
245
+ }), media.desktop(templateObject_34 || (templateObject_34 = __makeTemplateObject(["\n margin-top: ", ";\n margin-bottom: ", ";\n font-size: ", ";\n line-height: ", ";\n "], ["\n margin-top: ", ";\n margin-bottom: ", ";\n font-size: ", ";\n line-height: ", ";\n "])), function (_a) {
246
+ var theme = _a.theme;
247
+ return theme.spacings.spacing16;
248
+ }, function (_a) {
249
+ var theme = _a.theme;
250
+ return theme.spacings.spacing24;
251
+ }, function (_a) {
252
+ var theme = _a.theme;
253
+ return theme.components.iconLinks.linkLabel.fontSizes.desktop.fontSize;
254
+ }, function (_a) {
255
+ var theme = _a.theme;
256
+ return theme.components.iconLinks.linkLabel.fontSizes.desktop.lineHeight;
257
+ }));
258
+ var templateObject_1, templateObject_2, templateObject_3, templateObject_4, templateObject_5, templateObject_6, templateObject_7, templateObject_8, templateObject_9, templateObject_10, templateObject_11, templateObject_12, templateObject_13, templateObject_14, templateObject_15, templateObject_16, templateObject_17, templateObject_18, templateObject_19, templateObject_20, templateObject_21, templateObject_22, templateObject_23, templateObject_24, templateObject_25, templateObject_26, templateObject_27, templateObject_28, templateObject_29, templateObject_30, templateObject_31, templateObject_32, templateObject_33, templateObject_34, templateObject_35;
259
+ export { BlurBox, ContentsContainer, DynamicImage, ImageContainer, LinkContainer, LinkLabel, MainContainer, StaticImage, StyledCarousel, StyledLink, StyledSVG, TitleContainer };