{"version":3,"sources":["webpack:///./src/stories/Widgets/RichText/RichText.styles.ts","webpack:///(webpack)/buildin/global.js","webpack:///./src/stories/Components/Buttons/PrevButton/PrevButton.styles.ts","webpack:///./src/img/general/rss-petals.svg","webpack:///./src/stories/Components/Buttons/IconButton/IconButton.styles.ts","webpack:///./src/img/icons/HH-icon-unbranded.svg","webpack:///./src/stories/Components/Buttons/IconButton/IconButton.tsx","webpack:///./src/stories/Components/Buttons/LinkButton/LinkButton.tsx","webpack:///./src/helpers/srOnly.ts","webpack:///./src/img/icons/chevron-right.svg","webpack:///./node_modules/query-string/index.js","webpack:///./node_modules/lodash/_Symbol.js","webpack:///./node_modules/lodash/isNumber.js","webpack:///./src/helpers/responsive.ts","webpack:///./node_modules/react-use/esm/useInterval.js","webpack:///./src/stories/Widgets/HomepageHero/HomepageHero.styles.ts","webpack:///./src/stories/Widgets/HomepageHero/HomepageHeroSlide/HomepageHeroSlide.styles.ts","webpack:///./src/helpers/aspectRatio.ts","webpack:///./src/stories/Widgets/HomepageHero/HomepageHeroSlide/HomepageHeroSlide.tsx","webpack:///./src/img/hta-banner-bg.jpg","webpack:///./src/stories/Widgets/HomepageHero/HomepageHero.tsx","webpack:///./src/stories/Components/Buttons/NextButton/NextButton.styles.ts","webpack:///./src/stories/Components/Buttons/NextButton/NextButton.tsx","webpack:///./src/stories/Components/Buttons/PrevButton/PrevButton.tsx","webpack:///./node_modules/strict-uri-encode/index.js","webpack:///./node_modules/decode-uri-component/index.js","webpack:///./node_modules/split-on-first/index.js","webpack:///./node_modules/filter-obj/index.js","webpack:///./node_modules/lodash/_baseGetTag.js","webpack:///./node_modules/lodash/_root.js","webpack:///./node_modules/lodash/_freeGlobal.js","webpack:///./node_modules/lodash/_getRawTag.js","webpack:///./node_modules/lodash/_objectToString.js","webpack:///./node_modules/lodash/isObjectLike.js","webpack:///./src/hoc/withMotion.tsx","webpack:///./src/stories/Components/Buttons/LinkButton/LinkButton.styles.ts","webpack:///./src/helpers/animation.ts","webpack:///./src/helpers/image.ts","webpack:///./src/stories/Components/Buttons/ButtonShared.styles.ts"],"names":["linkStyles","css","cssVar","fonts","sourceSansPro","regular","tableStyles","ParagraphStyles","RegularStyles","contentStyles","HeadingStyles","H1Styles","H2Styles","H3Styles","H4Styles","H5Styles","H6Styles","SmallStyles","from","Device","Desktop","bold","UnorderedListStyles","LiStyles","semiBoldItalic","TabletLarge","semiBold","Container","styled","SectionWrapper","setCssVar","brand","hta","green","greenDark","purple","greyLight","black","apl","greenAlt","greenLight","hortHouse","white","orange","rss","grey","isActive","fadeIn","animation","easeInOutCubic","hasBackground","LinkButtonStyles","Button","ContentBlock","div","align","Content","leadParagraphWide","leadParagraphBold","LargeStyles","g","this","Function","e","window","module","exports","StyledButton","IconButton","SBS","_path","_path2","_path3","_path4","_path5","_path6","_path7","_path8","_path9","_path10","_extends","Object","assign","target","i","arguments","length","source","key","prototype","hasOwnProperty","call","apply","SvgRssPetals","props","xmlns","viewBox","d","fill","button","until","Tablet","themeOption","buttonTheme","bgColor","htaRebrand","borderColor","fgColor","rgba","SvgHhIconUnbranded","className","icon","title","type","otherProps","iconComponent","React","createElement","as","href","S","LinkButton","undefined","srOnly","SvgChevronRight","stroke","strokeWidth","strictUriEncode","decodeComponent","splitOnFirst","filterObject","encodeFragmentIdentifier","Symbol","validateArrayFormatSeparator","value","TypeError","encode","options","strict","encodeURIComponent","decode","removeHash","input","hashStart","indexOf","slice","extract","queryStart","parseValue","parseNumbers","Number","isNaN","trim","parseBooleans","toLowerCase","parse","query","sort","arrayFormat","arrayFormatSeparator","formatter","result","accumulator","exec","replace","concat","isArray","includes","isEncodedArray","newValue","split","map","item","test","arrayValue","parserForArrayFormat","ret","create","param","keys","k","reduce","Boolean","Array","keysSorter","a","b","stringify","object","shouldFilter","skipNull","skipEmptyString","index","join","keyValueSep","encoderForArrayFormat","objectCopy","filter","x","parseUrl","url","url_","hash","parseFragmentIdentifier","fragmentIdentifier","stringifyUrl","queryFromUrl","parsedQueryFromUrl","queryString","getHash","pick","exclude","exclusionFilter","baseGetTag","isObjectLike","responsiveSizes","sizes","image","additionalTransformations","breakpoints","values","isNumber","images","size","previousSize","breakpoint","sizeRange","previousBreakpoint","s","Math","round","forEach","scaledValue","MobileSmall","imageUrl","width","entries","callback","delay","savedCallback","current","interval_1","setInterval","clearInterval","MobileLarge","DesktopSmall","Inner","ItemList","Navigation","NavigationItem","Controls","IconButtonStyles","HTAGraphicWrapper","DesktopLarge","m","article","greyMid","ContentWrapper","Title","h1","RichTextStyles","CtaWrapper","ImageWrapper","ImageWrapperInner","height","aspectRatio","greenBright","Image","img","HHGraphicWrapper","RssGraphicWrapper","Graphic1","span","Graphic2","HomepageHeroSlide","active","content","cta1","cta2","loading","initial","animate","variants","opacity","pointerEvents","visibility","display","inactive","transitionEnd","dangerouslySetInnerHTML","__html","text","media","srcSet","mode","alt","altText","draggable","role","src","rmode","SvgHHLogo","SvgRssLogo","withMotion","autoplay","items","isPaused","setIsPaused","useState","activeId","setActiveId","id","activeIndex","findIndex","useInterval","flush","SvgHtaHomepageBg","Fragment","onClick","event","preventDefault","PrevButton","prevItem","disabled","NextButton","nextItem","str","charCodeAt","toString","toUpperCase","singleMatcher","RegExp","multiMatcher","decodeComponents","components","decodeURIComponent","err","left","right","tokens","match","encodedURI","replaceMap","customDecodeURIComponent","string","separator","separatorIndex","obj","predicate","isArr","val","getRawTag","objectToString","symToStringTag","toStringTag","freeGlobal","freeSelf","self","root","global","objectProto","nativeObjectToString","isOwn","tag","unmasked","WrappedComponent","displayName","name","ComponentWithMotion","LazyMotion","features","domAnimation","sharedButtonStyles","greenLightAlt","inView","threshold","rootMargin","earlyRootMargin","globalThreshold","duration","easingFunc","transition","properties","timing","imageParams","imageSource","params","bgcolor","getImageHeight","quality","rxy","focalPoint","top","getImageWidth","widthratio","heightratio","theme","Icon","Text"],"mappings":"yFAAA,wFAWA,MAAMA,EAAaC,YAAH,4VAIVC,YAAO,eACPA,YAAO,eAIFA,YAAO,WACdC,IAA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AAWtD,QAAQxH,EAAM8K,WAAWC,WAAQ9Q,EAC7EiH,MAAO8J,EAAcT,IAGzB,MAAQ,GAAEC,IADWjL,IAAYrB,UAAUuM,GACH,IAAGlL,IAAYrB,UAAUuM,GAAY,KAEjF,MAAMO,EAAiBT,GACfA,EAAYrJ,MACLqJ,EAAYrJ,MAEnBqJ,EAAYU,YAAcV,EAAYxH,OAC/BwH,EAAYU,WAAaV,EAAYxH,YADhD,EAKE4H,EAAkBJ,GAChBA,EAAYxH,OACLwH,EAAYxH,OAEnBwH,EAAYW,aAAeX,EAAYrJ,MAChCqJ,EAAYW,YAAcX,EAAYrJ,WADjD,G,+BCzCJ,iKAGO,SAASpI,EAAYqS,GAiBxB,OAhBc3Y,YAAH,gBACT2Y,EAAMpS,SACJvG,YADF,yBAEmB2Y,EAAMpS,SAGzBoS,EAAMlS,aACJzG,YADF,6BAEuB2Y,EAAMlS,aAG7BkS,EAAMjS,SACJ1G,YADF,uBAEiB2Y,EAAMjS,UAKtB,MAAMyQ,EAAqBnX,YAAH,+mBA8B3B,IAAM4Y,EAIC3X,YAAKC,IAAOiO,cAKVyJ,EAAOjX,IAAOoP,KAAV,+EAAGpP,CAAH,6EAKNV,YAAKC,IAAOkF,SAKVyS,EAAOlX,IAAOoP,KAAV,+EAAGpP,CAAH,4DAEbzB,IAAMC,cAAcsB","file":"HomepageHero-0321527e88db7d420e29.js","sourcesContent":["import animation, { fadeIn } from '@helpers/animation';\r\nimport brand from '@helpers/brand';\r\nimport { cssVar, setCssVar } from '@helpers/cssVar';\r\nimport fonts from '@helpers/fonts';\r\nimport { Device, from } from '@helpers/media';\r\nimport LinkButtonStyles from '@stories/Components/Buttons/LinkButton/LinkButton.styles';\r\nimport HeadingStyles from '@stories/Components/Global/Typography/Heading.styles';\r\nimport ParagraphStyles from '@stories/Components/Global/Typography/Paragraph.styles';\r\nimport UnorderedListStyles from '@stories/Components/Global/Typography/UnorderedList.styles';\r\nimport SectionWrapper from '@stories/Components/SectionWrapper/SectionWrapper';\r\nimport styled, { css } from 'styled-components';\r\nconst linkStyles = css `\r\n background-color: transparent;\r\n background-image: linear-gradient(\r\n to right,\r\n ${cssVar('accentColor')} 0%,\r\n ${cssVar('accentColor')} 100%\r\n );\r\n background-repeat: no-repeat;\r\n background-size: 0% 100%;\r\n color: ${cssVar('fgColor')};\r\n ${fonts.sourceSansPro.regular};\r\n margin: -3px;\r\n padding: 3px;\r\n text-decoration: underline;\r\n text-underline-position: under;\r\n transition: background-size 0.15s ease-out;\r\n\r\n &:focus {\r\n outline: none;\r\n }\r\n\r\n &:focus,\r\n &:hover {\r\n background-size: 100% 100%;\r\n }\r\n`;\r\nconst tableStyles = css `\r\n margin: 0 0 16px;\r\n\r\n th,\r\n td {\r\n border: 1px solid ${cssVar('fgColor')};\r\n color: ${cssVar('fgColor')};\r\n ${ParagraphStyles.RegularStyles};\r\n height: auto !important; // override inline height - no point this being content editable.\r\n margin: 0;\r\n padding: 8px 16px;\r\n }\r\n`;\r\nconst contentStyles = css `\r\n color: ${cssVar('fgColor')};\r\n ${fonts.sourceSansPro.regular};\r\n\r\n h1 {\r\n ${HeadingStyles.H1Styles};\r\n }\r\n\r\n h2 {\r\n ${HeadingStyles.H2Styles};\r\n }\r\n\r\n h3 {\r\n ${HeadingStyles.H3Styles};\r\n }\r\n\r\n h4 {\r\n ${HeadingStyles.H4Styles};\r\n }\r\n\r\n h5 {\r\n ${HeadingStyles.H5Styles};\r\n }\r\n\r\n h6 {\r\n ${HeadingStyles.H6Styles};\r\n }\r\n\r\n p {\r\n ${ParagraphStyles.RegularStyles};\r\n\r\n .theme-rss & {\r\n ${ParagraphStyles.SmallStyles};\r\n\r\n @media ${from(Device.Desktop)} {\r\n font-size: 20px;\r\n }\r\n }\r\n }\r\n\r\n strong {\r\n ${fonts.sourceSansPro.bold};\r\n }\r\n\r\n ol,\r\n ul {\r\n display: block;\r\n ${ParagraphStyles.RegularStyles};\r\n padding: 0 0 0 40px;\r\n }\r\n\r\n ol {\r\n list-style: decimal;\r\n\r\n li {\r\n display: list-item;\r\n }\r\n }\r\n\r\n ul {\r\n padding-left: 0;\r\n\r\n li {\r\n ${UnorderedListStyles.LiStyles};\r\n display: list-item;\r\n }\r\n }\r\n\r\n a {\r\n ${linkStyles};\r\n }\r\n\r\n > *:last-child {\r\n margin-bottom: 0;\r\n }\r\n\r\n table {\r\n ${tableStyles};\r\n }\r\n\r\n hr {\r\n margin: 16px 0;\r\n }\r\n\r\n sup {\r\n position: relative;\r\n top: -0.5em;\r\n font-size: 80%;\r\n }\r\n\r\n sub {\r\n position: relative;\r\n top: 0.5em;\r\n font-size: 80%;\r\n }\r\n\r\n blockquote {\r\n ${fonts.sourceSansPro.semiBoldItalic};\r\n font-size: 18px;\r\n line-height: 28px;\r\n margin: 20px 0;\r\n\r\n @media ${from(Device.TabletLarge)} {\r\n font-size: 26px;\r\n line-height: 36px;\r\n }\r\n }\r\n\r\n cite {\r\n ${fonts.sourceSansPro.semiBold};\r\n font-size: 16px;\r\n line-height: 26px;\r\n font-style: normal;\r\n color: ${cssVar('accentColorAlt')};\r\n\r\n @media ${from(Device.TabletLarge)} {\r\n font-size: 18px;\r\n line-height: 28px;\r\n }\r\n }\r\n\r\n .primary-colour {\r\n color: ${cssVar('accentColor')};\r\n }\r\n\r\n .secondary-colour {\r\n color: ${cssVar('accentColor2')};\r\n }\r\n\r\n span {\r\n display: inline;\r\n }\r\n`;\r\nconst Container = styled(SectionWrapper) `\r\n ${setCssVar('accentColor', brand.hta.green)};\r\n ${setCssVar('accentColorAlt', brand.hta.greenDark)};\r\n ${setCssVar('accentColor2', brand.hta.purple)};\r\n ${setCssVar('bgColor', brand.greyLight)};\r\n ${setCssVar('fgColor', brand.black)};\r\n\r\n .theme-apl & {\r\n ${setCssVar('accentColor', brand.apl.green)};\r\n ${setCssVar('accentColorAlt', brand.apl.greenAlt)};\r\n ${setCssVar('accentColor2', brand.apl.greenLight)};\r\n ${setCssVar('fgColor', brand.black)};\r\n }\r\n\r\n .theme-hh & {\r\n ${setCssVar('accentColor', brand.hortHouse.green)};\r\n ${setCssVar('accentColorAlt', brand.white)};\r\n ${setCssVar('accentColor2', brand.hortHouse.orange)};\r\n ${setCssVar('fgColor', brand.white)};\r\n }\r\n\r\n .theme-rss & {\r\n ${setCssVar('accentColor', brand.rss.greenDark)};\r\n ${setCssVar('accentColor2', brand.rss.greenLight)};\r\n ${setCssVar('bgColor', brand.rss.grey)};\r\n ${setCssVar('fgColor', brand.white)};\r\n }\r\n\r\n @media ${from(Device.TabletLarge)} {\r\n opacity: 0;\r\n\r\n ${({ isActive }) => isActive &&\r\n css `\r\n ${fadeIn(isActive, 375, 0, animation.easeInOutCubic)};\r\n `}\r\n }\r\n\r\n ${({ hasBackground }) => hasBackground &&\r\n css `\r\n padding: 50px 0;\r\n background-color: ${cssVar('bgColor')};\r\n\r\n @media ${from(Device.TabletLarge)} {\r\n padding: 100px 0;\r\n }\r\n `}\r\n\r\n &[data-long-cta='true'] {\r\n ${LinkButtonStyles.Button} {\r\n width: 100%;\r\n }\r\n }\r\n\r\n ${LinkButtonStyles.Button} {\r\n margin: 30px 0;\r\n }\r\n`;\r\nconst ContentBlock = styled.div `\r\n margin: 0;\r\n width: 100%;\r\n\r\n @media ${from(Device.TabletLarge)} {\r\n max-width: 800px;\r\n }\r\n\r\n ${({ align }) => align === 'center' &&\r\n css `\r\n margin: 0 auto;\r\n `}\r\n`;\r\nconst Content = styled.div `\r\n ${contentStyles}\r\n\r\n h1,\r\n h2,\r\n h3,\r\n h4,\r\n h5,\r\n h6 {\r\n ${fonts.sourceSansPro.semiBold};\r\n }\r\n\r\n ${({ align }) => align === 'center' &&\r\n css `\r\n text-align: center;\r\n margin: 0 auto;\r\n `}\r\n\r\n ${({ align }) => align === 'left' &&\r\n css `\r\n text-align: left;\r\n\r\n h3 {\r\n @media ${from(Device.TabletLarge)} {\r\n width: 125%;\r\n max-width: 950px;\r\n }\r\n }\r\n `}\r\n\r\n ${({ leadParagraphWide, align }) => leadParagraphWide &&\r\n align === 'left' &&\r\n css `\r\n @media ${from(Device.TabletLarge)} {\r\n p:first-of-type {\r\n width: 125%;\r\n max-width: 950px;\r\n }\r\n }\r\n `}\r\n\r\n ${({ leadParagraphBold }) => leadParagraphBold &&\r\n css `\r\n p:first-of-type {\r\n ${ParagraphStyles.LargeStyles};\r\n ${fonts.sourceSansPro.semiBold};\r\n }\r\n `}\r\n`;\r\nexport default {\r\n Container,\r\n Content,\r\n ContentBlock,\r\n contentStyles,\r\n linkStyles,\r\n};\r\n","var g;\n\n// This works in non-strict mode\ng = (function() {\n\treturn this;\n})();\n\ntry {\n\t// This works if eval is allowed (see CSP)\n\tg = g || new Function(\"return this\")();\n} catch (e) {\n\t// This works if the window reference is available\n\tif (typeof window === \"object\") g = window;\n}\n\n// g can still be undefined, but nothing to do about it...\n// We return undefined, instead of nothing here, so it's\n// easier to handle this case. if(!global) { ...}\n\nmodule.exports = g;\n","import styled from 'styled-components';\r\nimport * as SBS from '../ButtonShared.styles';\r\nimport IconButton from '../IconButton/IconButton';\r\nconst StyledButton = styled(IconButton) `\r\n ${SBS.Icon} {\r\n transform: rotate(-180deg);\r\n }\r\n`;\r\nexport default {\r\n Button: StyledButton,\r\n};\r\n","var _path, _path2, _path3, _path4, _path5, _path6, _path7, _path8, _path9, _path10;\n\nfunction _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\n\nimport * as React from \"react\";\n\nfunction SvgRssPetals(props) {\n return /*#__PURE__*/React.createElement(\"svg\", _extends({\n \"data-name\": \"Group 32900\",\n xmlns: \"http://www.w3.org/2000/svg\",\n viewBox: \"0 0 248 153.831\"\n }, props), _path || (_path = /*#__PURE__*/React.createElement(\"path\", {\n \"data-name\": \"Path 379\",\n d: \"M247.468 122.176c-.212-.352-21.483-35.141-48.132-26.674-1.161.369-17.047 6.343-27.564 10.307a51.223 51.223 0 01.053 36.429c10.284 3.888 25.645 9.674 27.508 10.261 26.677 8.4 47.9-25.578 48.113-25.921a4.385 4.385 0 00.553-2.225 4.3 4.3 0 00-.531-2.177z\",\n fill: \"#e30613\"\n })), _path2 || (_path2 = /*#__PURE__*/React.createElement(\"path\", {\n \"data-name\": \"Path 380\",\n d: \"M213.109 38.529a4.362 4.362 0 00-1.182-1.962 4.283 4.283 0 00-1.914-1.163c-.4-.1-40.04-9.66-52.9 15.174-.562 1.083-7.58 16.565-12.214 26.806a51.348 51.348 0 0125.744 25.723c10.022-4.524 25.034-11.321 26.771-12.226 24.807-12.928 15.79-51.958 15.695-52.352z\",\n fill: \"#f18700\"\n })), _path3 || (_path3 = /*#__PURE__*/React.createElement(\"path\", {\n \"data-name\": \"Path 381\",\n d: \"M105.807 76.227a51.218 51.218 0 0136.4.032c3.886-10.284 9.7-25.723 10.291-27.593 8.4-26.677-25.576-47.9-25.921-48.113A4.4 4.4 0 00124.352 0a4.287 4.287 0 00-2.174.532c-.352.212-35.144 21.483-26.674 48.134.362 1.161 6.339 17.042 10.303 27.561z\",\n fill: \"#fdc300\"\n })), _path4 || (_path4 = /*#__PURE__*/React.createElement(\"path\", {\n \"data-name\": \"Path 382\",\n d: \"M103.102 77.347c-4.524-10.019-11.318-25.028-12.224-26.764-12.924-24.8-51.958-15.784-52.349-15.69a4.382 4.382 0 00-1.965 1.179 4.31 4.31 0 00-1.163 1.914c-.1.4-9.658 40.04 15.174 52.9 1.08.56 16.482 7.541 26.723 12.175a51.35 51.35 0 0125.804-25.714z\",\n fill: \"#95c11f\"\n })), _path5 || (_path5 = /*#__PURE__*/React.createElement(\"path\", {\n \"data-name\": \"Path 383\",\n d: \"M72.777 124.088a51.024 51.024 0 013.391-18.323c-10.284-3.888-25.638-9.672-27.5-10.259-26.677-8.4-47.9 25.578-48.114 25.924a4.371 4.371 0 00-.553 2.223 4.3 4.3 0 00.532 2.177c.212.352 21.48 35.141 48.132 26.674 1.156-.366 16.92-6.3 27.439-10.261a51 51 0 01-3.327-18.155z\",\n fill: \"#009640\"\n })), _path6 || (_path6 = /*#__PURE__*/React.createElement(\"path\", {\n \"data-name\": \"Path 384\",\n d: \"M72.777 124.088v-.157H.016a4.147 4.147 0 00.516 1.9c.212.352 21.48 35.141 48.132 26.674 1.156-.366 16.92-6.3 27.439-10.261a51 51 0 01-3.326-18.156z\",\n fill: \"#006b2d\"\n })), _path7 || (_path7 = /*#__PURE__*/React.createElement(\"path\", {\n \"data-name\": \"Path 385\",\n d: \"M87.884 87.783l-51.5-51.5a4.153 4.153 0 00-.979 1.709c-.1.4-9.658 40.04 15.174 52.9 1.08.56 16.482 7.541 26.723 12.175a51.237 51.237 0 0110.582-15.284z\",\n fill: \"#688816\"\n })), _path8 || (_path8 = /*#__PURE__*/React.createElement(\"path\", {\n \"data-name\": \"Path 386\",\n d: \"M105.807 76.227a51.05 51.05 0 0118.155-3.326h.111V.016a4.138 4.138 0 00-1.9.516c-.352.212-35.144 21.483-26.674 48.134.367 1.161 6.344 17.042 10.308 27.561z\",\n fill: \"#ad8900\"\n })), _path9 || (_path9 = /*#__PURE__*/React.createElement(\"path\", {\n \"data-name\": \"Path 387\",\n d: \"M160.187 87.921l51.538-51.541a4.165 4.165 0 00-1.707-.977c-.4-.1-40.04-9.66-52.9 15.174-.562 1.083-7.58 16.565-12.214 26.806a51.343 51.343 0 0115.283 10.538z\",\n fill: \"#a66000\"\n })), _path10 || (_path10 = /*#__PURE__*/React.createElement(\"path\", {\n \"data-name\": \"Path 388\",\n d: \"M175.147 124.076h72.837a4.148 4.148 0 00-.516-1.9c-.212-.352-21.483-35.141-48.132-26.674-1.161.369-17.047 6.343-27.564 10.307a51.042 51.042 0 013.375 18.267z\",\n fill: \"#9c1006\"\n })));\n}\n\nexport default __webpack_public_path__ + \"8bdd1424d47260c3c64dceeac9960e97.svg\";\nexport { SvgRssPetals as ReactComponent };","import brand from '@helpers/brand';\r\nimport { Device, until } from '@helpers/media';\r\nimport { rgba } from 'polished';\r\nimport styled, { css } from 'styled-components';\r\nimport { buttonTheme } from '../ButtonShared.styles';\r\nconst Button = styled.button `\r\n display: inline-flex;\r\n align-items: center;\r\n border: 0;\r\n background-color: var(--buttonBgColor);\r\n border: 1px solid var(--buttonBorderColor);\r\n border-radius: 50%;\r\n color: var(--buttonColor);\r\n height: 48px;\r\n justify-content: flex-start;\r\n margin: 0;\r\n outline: none;\r\n padding: 0;\r\n place-content: center;\r\n place-items: center;\r\n text-decoration: none;\r\n transition: background-color 0.15s ease-out, background-size 0.15s ease-out,\r\n border-color 0.15s ease-out, color 0.15s ease-out, opacity 0.15s ease-out,\r\n transform 0.15s ease-out;\r\n user-select: none;\r\n width: 48px;\r\n\r\n &:disabled {\r\n opacity: 0.5;\r\n }\r\n\r\n &:focus {\r\n outline: none;\r\n }\r\n\r\n @media ${until(Device.Tablet)} {\r\n height: 40px;\r\n width: 40px;\r\n }\r\n\r\n ${({ themeOption }) => themeOption === 'green' &&\r\n css `\r\n ${buttonTheme({\r\n bgColor: brand.htaRebrand.green,\r\n borderColor: brand.htaRebrand.green,\r\n fgColor: brand.white,\r\n })}\r\n\r\n .theme-apl & {\r\n ${buttonTheme({\r\n bgColor: brand.apl.green,\r\n borderColor: brand.apl.green,\r\n fgColor: brand.white,\r\n })}\r\n }\r\n\r\n .theme-hh & {\r\n ${buttonTheme({\r\n bgColor: brand.hortHouse.green,\r\n borderColor: brand.hortHouse.green,\r\n fgColor: brand.white,\r\n })}\r\n }\r\n\r\n &:hover {\r\n ${buttonTheme({\r\n bgColor: brand.htaRebrand.greenLight,\r\n borderColor: brand.htaRebrand.greenLight,\r\n fgColor: brand.white,\r\n })}\r\n\r\n .theme-apl & {\r\n ${buttonTheme({\r\n bgColor: brand.apl.greenAlt,\r\n borderColor: brand.apl.greenAlt,\r\n fgColor: brand.white,\r\n })}\r\n }\r\n\r\n .theme-hh & {\r\n ${buttonTheme({\r\n bgColor: brand.hortHouse.greenAlt,\r\n borderColor: brand.hortHouse.greenAlt,\r\n fgColor: brand.white,\r\n })}\r\n }\r\n }\r\n `}\r\n\r\n ${({ themeOption }) => themeOption === 'greenOutline' &&\r\n css `\r\n ${buttonTheme({\r\n bgColor: rgba(brand.hta.green, 0),\r\n borderColor: brand.hta.green,\r\n fgColor: brand.black,\r\n })}\r\n\r\n .theme-apl & {\r\n ${buttonTheme({\r\n bgColor: rgba(brand.apl.green, 0),\r\n borderColor: brand.apl.green,\r\n fgColor: brand.black,\r\n })}\r\n }\r\n\r\n .theme-hh & {\r\n ${buttonTheme({\r\n bgColor: rgba(brand.hortHouse.green, 0),\r\n borderColor: brand.hortHouse.green,\r\n fgColor: brand.black,\r\n })}\r\n }\r\n\r\n &:hover {\r\n ${buttonTheme({\r\n bgColor: brand.hta.greenLight,\r\n borderColor: brand.hta.green,\r\n fgColor: brand.black,\r\n })}\r\n\r\n .theme-apl & {\r\n ${buttonTheme({\r\n bgColor: brand.apl.greenLight,\r\n borderColor: brand.apl.green,\r\n fgColor: brand.black,\r\n })}\r\n }\r\n\r\n .theme-hh & {\r\n ${buttonTheme({\r\n bgColor: brand.hortHouse.greenLight,\r\n borderColor: brand.hortHouse.green,\r\n fgColor: brand.black,\r\n })}\r\n }\r\n }\r\n `}\r\n\r\n ${({ themeOption }) => themeOption === 'aplGreen' &&\r\n css `\r\n ${buttonTheme({\r\n bgColor: brand.apl.green,\r\n borderColor: brand.apl.green,\r\n fgColor: brand.black,\r\n })}\r\n\r\n &:hover {\r\n ${buttonTheme({\r\n bgColor: brand.apl.greenLight,\r\n borderColor: brand.apl.greenLight,\r\n fgColor: brand.black,\r\n })}\r\n }\r\n `}\r\n\r\n ${({ themeOption }) => themeOption === 'aplGreenOutline' &&\r\n css `\r\n ${buttonTheme({\r\n bgColor: rgba(brand.apl.green, 0),\r\n borderColor: brand.apl.green,\r\n fgColor: brand.black,\r\n })}\r\n\r\n &:hover {\r\n ${buttonTheme({\r\n bgColor: brand.apl.greenLight,\r\n borderColor: brand.apl.green,\r\n fgColor: brand.black,\r\n })}\r\n }\r\n `}\r\n\r\n ${({ themeOption }) => themeOption === 'white' &&\r\n css `\r\n ${buttonTheme({\r\n bgColor: brand.white,\r\n borderColor: brand.white,\r\n fgColor: brand.black,\r\n })}\r\n\r\n &:hover {\r\n ${buttonTheme({\r\n bgColor: '#383838',\r\n borderColor: brand.white,\r\n fgColor: brand.white,\r\n })}\r\n }\r\n `}\r\n\r\n ${({ themeOption }) => themeOption === 'whiteOutline' &&\r\n css `\r\n ${buttonTheme({\r\n bgColor: rgba('#383838', 0),\r\n borderColor: brand.white,\r\n fgColor: brand.white,\r\n })}\r\n\r\n &:hover {\r\n ${buttonTheme({\r\n bgColor: '#383838',\r\n borderColor: brand.white,\r\n fgColor: brand.white,\r\n })}\r\n }\r\n `}\r\n`;\r\nexport default {\r\n Button,\r\n};\r\n","var _path;\n\nfunction _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\n\nimport * as React from \"react\";\n\nfunction SvgHhIconUnbranded(props) {\n return /*#__PURE__*/React.createElement(\"svg\", _extends({\n xmlns: \"http://www.w3.org/2000/svg\",\n viewBox: \"0 0 249.999 187.633\"\n }, props), _path || (_path = /*#__PURE__*/React.createElement(\"path\", {\n \"data-name\": \"Path 135\",\n d: \"M239.869 157.235V65.85c0-12.922.76-22.043 10.13-30.15h-47.12c9.376 8.107 10.136 17.228 10.136 30.15v18.673h-26.7V30.151c0-12.923.76-22.043 10.13-30.151h-47.116c9.377 8.107 10.136 17.228 10.136 30.151v54.372H90.538V30.151c0-12.923.758-22.043 10.136-30.151H53.55c9.375 8.107 10.134 17.228 10.134 30.151v54.372h-26.7V65.85c0-12.922.758-22.043 10.136-30.15H0c9.375 8.107 10.134 17.228 10.134 30.15v91.385c0 12.92-.759 22.039-10.134 30.4h47.125c-9.378-8.359-10.136-17.478-10.136-30.4v-52.949h26.7v52.949c0 12.92-.759 22.039-10.134 30.4h47.125c-9.378-8.359-10.136-17.478-10.136-30.4v-52.949h68.918v52.949c0 12.92-.759 22.039-10.136 30.4h47.121c-9.37-8.359-10.13-17.478-10.13-30.4v-52.949h26.7v52.949c0 12.92-.76 22.039-10.136 30.4h47.12c-9.372-8.361-10.132-17.48-10.132-30.4z\",\n fill: \"currentColor\"\n })));\n}\n\nexport default __webpack_public_path__ + \"5f80fd72a6047f821e3ddcb00b05fa55.svg\";\nexport { SvgHhIconUnbranded as ReactComponent };","import React from 'react';\r\nimport * as SBS from '../ButtonShared.styles';\r\nimport S from './IconButton.styles';\r\nconst IconButton = ({ className, icon, themeOption, title, type, ...otherProps }) => {\r\n let iconComponent;\r\n if (typeof icon === 'string') {\r\n iconComponent = (React.createElement(SBS.Icon, { as: \"svg\", \"aria-label\": title },\r\n React.createElement(\"use\", { href: icon })));\r\n }\r\n else {\r\n iconComponent = React.createElement(SBS.Icon, { as: icon, \"aria-label\": title });\r\n }\r\n return (React.createElement(S.Button, { className: className, themeOption: themeOption, type: type, ...otherProps }, iconComponent));\r\n};\r\nexport default IconButton;\r\n","import React from 'react';\r\nimport * as SBS from '../ButtonShared.styles';\r\nimport S from './LinkButton.styles';\r\nconst LinkButton = ({ className, icon, themeOption = 'green', title, ...otherProps }) => {\r\n let iconComponent;\r\n if (typeof icon === 'string') {\r\n iconComponent = (React.createElement(SBS.Icon, { as: \"svg\", \"aria-label\": title },\r\n React.createElement(\"use\", { href: icon })));\r\n }\r\n else if (typeof icon !== 'undefined') {\r\n iconComponent = React.createElement(SBS.Icon, { as: icon, \"aria-label\": title });\r\n }\r\n else {\r\n iconComponent = undefined;\r\n }\r\n return (React.createElement(S.Button, { className: className, themeOption: themeOption, ...otherProps },\r\n React.createElement(SBS.Text, null, title),\r\n iconComponent));\r\n};\r\nexport default LinkButton;\r\n","import { css } from 'styled-components';\r\n/**\r\n * Show only for screen readers.\r\n * @description Sourced from https://gist.github.com/ffoodd/000b59f431e3e64e4ce1a24d5bb36034\r\n */\r\nconst srOnly = css `\r\n border: 0 !important;\r\n clip: rect(1px, 1px, 1px, 1px) !important;\r\n -webkit-clip-path: inset(50%) !important;\r\n clip-path: inset(50%) !important;\r\n height: 1px !important;\r\n margin: -1px !important;\r\n overflow: hidden !important;\r\n padding: 0 !important;\r\n position: absolute !important;\r\n width: 1px !important;\r\n white-space: nowrap !important;\r\n`;\r\nexport default srOnly;\r\n","var _path;\n\nfunction _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\n\nimport * as React from \"react\";\n\nfunction SvgChevronRight(props) {\n return /*#__PURE__*/React.createElement(\"svg\", _extends({\n xmlns: \"http://www.w3.org/2000/svg\",\n viewBox: \"0 0 10.384 17.941\"\n }, props), _path || (_path = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M.702.708l8.263 8.263-8.263 8.263\",\n fill: \"none\",\n stroke: \"currentColor\",\n strokeWidth: 2\n })));\n}\n\nexport default __webpack_public_path__ + \"9d0a77d2634f2e19eaf47df4ef9cdfc8.svg\";\nexport { SvgChevronRight as ReactComponent };","'use strict';\nconst strictUriEncode = require('strict-uri-encode');\nconst decodeComponent = require('decode-uri-component');\nconst splitOnFirst = require('split-on-first');\nconst filterObject = require('filter-obj');\n\nconst isNullOrUndefined = value => value === null || value === undefined;\n\nconst encodeFragmentIdentifier = Symbol('encodeFragmentIdentifier');\n\nfunction encoderForArrayFormat(options) {\n\tswitch (options.arrayFormat) {\n\t\tcase 'index':\n\t\t\treturn key => (result, value) => {\n\t\t\t\tconst index = result.length;\n\n\t\t\t\tif (\n\t\t\t\t\tvalue === undefined ||\n\t\t\t\t\t(options.skipNull && value === null) ||\n\t\t\t\t\t(options.skipEmptyString && value === '')\n\t\t\t\t) {\n\t\t\t\t\treturn result;\n\t\t\t\t}\n\n\t\t\t\tif (value === null) {\n\t\t\t\t\treturn [...result, [encode(key, options), '[', index, ']'].join('')];\n\t\t\t\t}\n\n\t\t\t\treturn [\n\t\t\t\t\t...result,\n\t\t\t\t\t[encode(key, options), '[', encode(index, options), ']=', encode(value, options)].join('')\n\t\t\t\t];\n\t\t\t};\n\n\t\tcase 'bracket':\n\t\t\treturn key => (result, value) => {\n\t\t\t\tif (\n\t\t\t\t\tvalue === undefined ||\n\t\t\t\t\t(options.skipNull && value === null) ||\n\t\t\t\t\t(options.skipEmptyString && value === '')\n\t\t\t\t) {\n\t\t\t\t\treturn result;\n\t\t\t\t}\n\n\t\t\t\tif (value === null) {\n\t\t\t\t\treturn [...result, [encode(key, options), '[]'].join('')];\n\t\t\t\t}\n\n\t\t\t\treturn [...result, [encode(key, options), '[]=', encode(value, options)].join('')];\n\t\t\t};\n\n\t\tcase 'comma':\n\t\tcase 'separator':\n\t\tcase 'bracket-separator': {\n\t\t\tconst keyValueSep = options.arrayFormat === 'bracket-separator' ?\n\t\t\t\t'[]=' :\n\t\t\t\t'=';\n\n\t\t\treturn key => (result, value) => {\n\t\t\t\tif (\n\t\t\t\t\tvalue === undefined ||\n\t\t\t\t\t(options.skipNull && value === null) ||\n\t\t\t\t\t(options.skipEmptyString && value === '')\n\t\t\t\t) {\n\t\t\t\t\treturn result;\n\t\t\t\t}\n\n\t\t\t\t// Translate null to an empty string so that it doesn't serialize as 'null'\n\t\t\t\tvalue = value === null ? '' : value;\n\n\t\t\t\tif (result.length === 0) {\n\t\t\t\t\treturn [[encode(key, options), keyValueSep, encode(value, options)].join('')];\n\t\t\t\t}\n\n\t\t\t\treturn [[result, encode(value, options)].join(options.arrayFormatSeparator)];\n\t\t\t};\n\t\t}\n\n\t\tdefault:\n\t\t\treturn key => (result, value) => {\n\t\t\t\tif (\n\t\t\t\t\tvalue === undefined ||\n\t\t\t\t\t(options.skipNull && value === null) ||\n\t\t\t\t\t(options.skipEmptyString && value === '')\n\t\t\t\t) {\n\t\t\t\t\treturn result;\n\t\t\t\t}\n\n\t\t\t\tif (value === null) {\n\t\t\t\t\treturn [...result, encode(key, options)];\n\t\t\t\t}\n\n\t\t\t\treturn [...result, [encode(key, options), '=', encode(value, options)].join('')];\n\t\t\t};\n\t}\n}\n\nfunction parserForArrayFormat(options) {\n\tlet result;\n\n\tswitch (options.arrayFormat) {\n\t\tcase 'index':\n\t\t\treturn (key, value, accumulator) => {\n\t\t\t\tresult = /\\[(\\d*)\\]$/.exec(key);\n\n\t\t\t\tkey = key.replace(/\\[\\d*\\]$/, '');\n\n\t\t\t\tif (!result) {\n\t\t\t\t\taccumulator[key] = value;\n\t\t\t\t\treturn;\n\t\t\t\t}\n\n\t\t\t\tif (accumulator[key] === undefined) {\n\t\t\t\t\taccumulator[key] = {};\n\t\t\t\t}\n\n\t\t\t\taccumulator[key][result[1]] = value;\n\t\t\t};\n\n\t\tcase 'bracket':\n\t\t\treturn (key, value, accumulator) => {\n\t\t\t\tresult = /(\\[\\])$/.exec(key);\n\t\t\t\tkey = key.replace(/\\[\\]$/, '');\n\n\t\t\t\tif (!result) {\n\t\t\t\t\taccumulator[key] = value;\n\t\t\t\t\treturn;\n\t\t\t\t}\n\n\t\t\t\tif (accumulator[key] === undefined) {\n\t\t\t\t\taccumulator[key] = [value];\n\t\t\t\t\treturn;\n\t\t\t\t}\n\n\t\t\t\taccumulator[key] = [].concat(accumulator[key], value);\n\t\t\t};\n\n\t\tcase 'comma':\n\t\tcase 'separator':\n\t\t\treturn (key, value, accumulator) => {\n\t\t\t\tconst isArray = typeof value === 'string' && value.includes(options.arrayFormatSeparator);\n\t\t\t\tconst isEncodedArray = (typeof value === 'string' && !isArray && decode(value, options).includes(options.arrayFormatSeparator));\n\t\t\t\tvalue = isEncodedArray ? decode(value, options) : value;\n\t\t\t\tconst newValue = isArray || isEncodedArray ? value.split(options.arrayFormatSeparator).map(item => decode(item, options)) : value === null ? value : decode(value, options);\n\t\t\t\taccumulator[key] = newValue;\n\t\t\t};\n\n\t\tcase 'bracket-separator':\n\t\t\treturn (key, value, accumulator) => {\n\t\t\t\tconst isArray = /(\\[\\])$/.test(key);\n\t\t\t\tkey = key.replace(/\\[\\]$/, '');\n\n\t\t\t\tif (!isArray) {\n\t\t\t\t\taccumulator[key] = value ? decode(value, options) : value;\n\t\t\t\t\treturn;\n\t\t\t\t}\n\n\t\t\t\tconst arrayValue = value === null ?\n\t\t\t\t\t[] :\n\t\t\t\t\tvalue.split(options.arrayFormatSeparator).map(item => decode(item, options));\n\n\t\t\t\tif (accumulator[key] === undefined) {\n\t\t\t\t\taccumulator[key] = arrayValue;\n\t\t\t\t\treturn;\n\t\t\t\t}\n\n\t\t\t\taccumulator[key] = [].concat(accumulator[key], arrayValue);\n\t\t\t};\n\n\t\tdefault:\n\t\t\treturn (key, value, accumulator) => {\n\t\t\t\tif (accumulator[key] === undefined) {\n\t\t\t\t\taccumulator[key] = value;\n\t\t\t\t\treturn;\n\t\t\t\t}\n\n\t\t\t\taccumulator[key] = [].concat(accumulator[key], value);\n\t\t\t};\n\t}\n}\n\nfunction validateArrayFormatSeparator(value) {\n\tif (typeof value !== 'string' || value.length !== 1) {\n\t\tthrow new TypeError('arrayFormatSeparator must be single character string');\n\t}\n}\n\nfunction encode(value, options) {\n\tif (options.encode) {\n\t\treturn options.strict ? strictUriEncode(value) : encodeURIComponent(value);\n\t}\n\n\treturn value;\n}\n\nfunction decode(value, options) {\n\tif (options.decode) {\n\t\treturn decodeComponent(value);\n\t}\n\n\treturn value;\n}\n\nfunction keysSorter(input) {\n\tif (Array.isArray(input)) {\n\t\treturn input.sort();\n\t}\n\n\tif (typeof input === 'object') {\n\t\treturn keysSorter(Object.keys(input))\n\t\t\t.sort((a, b) => Number(a) - Number(b))\n\t\t\t.map(key => input[key]);\n\t}\n\n\treturn input;\n}\n\nfunction removeHash(input) {\n\tconst hashStart = input.indexOf('#');\n\tif (hashStart !== -1) {\n\t\tinput = input.slice(0, hashStart);\n\t}\n\n\treturn input;\n}\n\nfunction getHash(url) {\n\tlet hash = '';\n\tconst hashStart = url.indexOf('#');\n\tif (hashStart !== -1) {\n\t\thash = url.slice(hashStart);\n\t}\n\n\treturn hash;\n}\n\nfunction extract(input) {\n\tinput = removeHash(input);\n\tconst queryStart = input.indexOf('?');\n\tif (queryStart === -1) {\n\t\treturn '';\n\t}\n\n\treturn input.slice(queryStart + 1);\n}\n\nfunction parseValue(value, options) {\n\tif (options.parseNumbers && !Number.isNaN(Number(value)) && (typeof value === 'string' && value.trim() !== '')) {\n\t\tvalue = Number(value);\n\t} else if (options.parseBooleans && value !== null && (value.toLowerCase() === 'true' || value.toLowerCase() === 'false')) {\n\t\tvalue = value.toLowerCase() === 'true';\n\t}\n\n\treturn value;\n}\n\nfunction parse(query, options) {\n\toptions = Object.assign({\n\t\tdecode: true,\n\t\tsort: true,\n\t\tarrayFormat: 'none',\n\t\tarrayFormatSeparator: ',',\n\t\tparseNumbers: false,\n\t\tparseBooleans: false\n\t}, options);\n\n\tvalidateArrayFormatSeparator(options.arrayFormatSeparator);\n\n\tconst formatter = parserForArrayFormat(options);\n\n\t// Create an object with no prototype\n\tconst ret = Object.create(null);\n\n\tif (typeof query !== 'string') {\n\t\treturn ret;\n\t}\n\n\tquery = query.trim().replace(/^[?#&]/, '');\n\n\tif (!query) {\n\t\treturn ret;\n\t}\n\n\tfor (const param of query.split('&')) {\n\t\tif (param === '') {\n\t\t\tcontinue;\n\t\t}\n\n\t\tlet [key, value] = splitOnFirst(options.decode ? param.replace(/\\+/g, ' ') : param, '=');\n\n\t\t// Missing `=` should be `null`:\n\t\t// http://w3.org/TR/2012/WD-url-20120524/#collect-url-parameters\n\t\tvalue = value === undefined ? null : ['comma', 'separator', 'bracket-separator'].includes(options.arrayFormat) ? value : decode(value, options);\n\t\tformatter(decode(key, options), value, ret);\n\t}\n\n\tfor (const key of Object.keys(ret)) {\n\t\tconst value = ret[key];\n\t\tif (typeof value === 'object' && value !== null) {\n\t\t\tfor (const k of Object.keys(value)) {\n\t\t\t\tvalue[k] = parseValue(value[k], options);\n\t\t\t}\n\t\t} else {\n\t\t\tret[key] = parseValue(value, options);\n\t\t}\n\t}\n\n\tif (options.sort === false) {\n\t\treturn ret;\n\t}\n\n\treturn (options.sort === true ? Object.keys(ret).sort() : Object.keys(ret).sort(options.sort)).reduce((result, key) => {\n\t\tconst value = ret[key];\n\t\tif (Boolean(value) && typeof value === 'object' && !Array.isArray(value)) {\n\t\t\t// Sort object keys, not values\n\t\t\tresult[key] = keysSorter(value);\n\t\t} else {\n\t\t\tresult[key] = value;\n\t\t}\n\n\t\treturn result;\n\t}, Object.create(null));\n}\n\nexports.extract = extract;\nexports.parse = parse;\n\nexports.stringify = (object, options) => {\n\tif (!object) {\n\t\treturn '';\n\t}\n\n\toptions = Object.assign({\n\t\tencode: true,\n\t\tstrict: true,\n\t\tarrayFormat: 'none',\n\t\tarrayFormatSeparator: ','\n\t}, options);\n\n\tvalidateArrayFormatSeparator(options.arrayFormatSeparator);\n\n\tconst shouldFilter = key => (\n\t\t(options.skipNull && isNullOrUndefined(object[key])) ||\n\t\t(options.skipEmptyString && object[key] === '')\n\t);\n\n\tconst formatter = encoderForArrayFormat(options);\n\n\tconst objectCopy = {};\n\n\tfor (const key of Object.keys(object)) {\n\t\tif (!shouldFilter(key)) {\n\t\t\tobjectCopy[key] = object[key];\n\t\t}\n\t}\n\n\tconst keys = Object.keys(objectCopy);\n\n\tif (options.sort !== false) {\n\t\tkeys.sort(options.sort);\n\t}\n\n\treturn keys.map(key => {\n\t\tconst value = object[key];\n\n\t\tif (value === undefined) {\n\t\t\treturn '';\n\t\t}\n\n\t\tif (value === null) {\n\t\t\treturn encode(key, options);\n\t\t}\n\n\t\tif (Array.isArray(value)) {\n\t\t\tif (value.length === 0 && options.arrayFormat === 'bracket-separator') {\n\t\t\t\treturn encode(key, options) + '[]';\n\t\t\t}\n\n\t\t\treturn value\n\t\t\t\t.reduce(formatter(key), [])\n\t\t\t\t.join('&');\n\t\t}\n\n\t\treturn encode(key, options) + '=' + encode(value, options);\n\t}).filter(x => x.length > 0).join('&');\n};\n\nexports.parseUrl = (url, options) => {\n\toptions = Object.assign({\n\t\tdecode: true\n\t}, options);\n\n\tconst [url_, hash] = splitOnFirst(url, '#');\n\n\treturn Object.assign(\n\t\t{\n\t\t\turl: url_.split('?')[0] || '',\n\t\t\tquery: parse(extract(url), options)\n\t\t},\n\t\toptions && options.parseFragmentIdentifier && hash ? {fragmentIdentifier: decode(hash, options)} : {}\n\t);\n};\n\nexports.stringifyUrl = (object, options) => {\n\toptions = Object.assign({\n\t\tencode: true,\n\t\tstrict: true,\n\t\t[encodeFragmentIdentifier]: true\n\t}, options);\n\n\tconst url = removeHash(object.url).split('?')[0] || '';\n\tconst queryFromUrl = exports.extract(object.url);\n\tconst parsedQueryFromUrl = exports.parse(queryFromUrl, {sort: false});\n\n\tconst query = Object.assign(parsedQueryFromUrl, object.query);\n\tlet queryString = exports.stringify(query, options);\n\tif (queryString) {\n\t\tqueryString = `?${queryString}`;\n\t}\n\n\tlet hash = getHash(object.url);\n\tif (object.fragmentIdentifier) {\n\t\thash = `#${options[encodeFragmentIdentifier] ? encode(object.fragmentIdentifier, options) : object.fragmentIdentifier}`;\n\t}\n\n\treturn `${url}${queryString}${hash}`;\n};\n\nexports.pick = (input, filter, options) => {\n\toptions = Object.assign({\n\t\tparseFragmentIdentifier: true,\n\t\t[encodeFragmentIdentifier]: false\n\t}, options);\n\n\tconst {url, query, fragmentIdentifier} = exports.parseUrl(input, options);\n\treturn exports.stringifyUrl({\n\t\turl,\n\t\tquery: filterObject(query, filter),\n\t\tfragmentIdentifier\n\t}, options);\n};\n\nexports.exclude = (input, filter, options) => {\n\tconst exclusionFilter = Array.isArray(filter) ? key => !filter.includes(key) : (key, value) => !filter(key, value);\n\n\treturn exports.pick(input, exclusionFilter, options);\n};\n","var root = require('./_root');\n\n/** Built-in value references. */\nvar Symbol = root.Symbol;\n\nmodule.exports = Symbol;\n","var baseGetTag = require('./_baseGetTag'),\n isObjectLike = require('./isObjectLike');\n\n/** `Object#toString` result references. */\nvar numberTag = '[object Number]';\n\n/**\n * Checks if `value` is classified as a `Number` primitive or object.\n *\n * **Note:** To exclude `Infinity`, `-Infinity`, and `NaN`, which are\n * classified as numbers, use the `_.isFinite` method.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a number, else `false`.\n * @example\n *\n * _.isNumber(3);\n * // => true\n *\n * _.isNumber(Number.MIN_VALUE);\n * // => true\n *\n * _.isNumber(Infinity);\n * // => true\n *\n * _.isNumber('3');\n * // => false\n */\nfunction isNumber(value) {\n return typeof value == 'number' ||\n (isObjectLike(value) && baseGetTag(value) == numberTag);\n}\n\nmodule.exports = isNumber;\n","import isNumber from 'lodash/isNumber';\r\nimport { imageUrl } from './image';\r\nimport { Device } from './media';\r\nexport function responsiveSizes(sizes, image, \r\n// eslint-disable-next-line @typescript-eslint/no-explicit-any\r\nadditionalTransformations) {\r\n // Get all responsive sizes //\r\n const breakpoints = Object.values(Device)\r\n .filter((x) => isNumber(x))\r\n .map((x) => Number(x));\r\n const images = {};\r\n for (let i = 0; i < sizes.length; i++) {\r\n const size = sizes[i];\r\n const previousSize = i > 0 ? sizes[i - 1] : undefined;\r\n if (size.breakpoint) {\r\n // We can use the breakpoint to work out which sizes to render //\r\n const breakpoint = size.breakpoint; // Stops stupid linting error about size.breakpoint being undefined.... when it isn't //\r\n // Get the range of sizes from the previous size to this size //\r\n let sizeRange = breakpoints.filter((x) => x <= breakpoint);\r\n if (previousSize) {\r\n const previousBreakpoint = previousSize.breakpoint;\r\n if (previousBreakpoint) {\r\n sizeRange = sizeRange.filter((x) => x > previousBreakpoint);\r\n }\r\n }\r\n const scaledValues = sizeRange.map((s) => Math.round(s * (size.value / 100)));\r\n scaledValues.forEach((scaledValue) => {\r\n if (scaledValue >= Device.MobileSmall) {\r\n images[scaledValue] = `${imageUrl(image, {\r\n width: scaledValue,\r\n ...additionalTransformations,\r\n })} ${scaledValue}w`;\r\n }\r\n });\r\n }\r\n else {\r\n let sizeRange = breakpoints;\r\n if (previousSize) {\r\n const previousBreakpoint = previousSize.breakpoint;\r\n if (previousBreakpoint) {\r\n sizeRange = sizeRange.filter((x) => x > previousBreakpoint);\r\n }\r\n }\r\n const scaledValues = sizeRange.map((s) => Math.round(s * (size.value / 100)));\r\n scaledValues.forEach((scaledValue) => {\r\n if (scaledValue >= Device.MobileSmall) {\r\n images[scaledValue] = `${imageUrl(image, {\r\n width: scaledValue,\r\n ...additionalTransformations,\r\n })} ${scaledValue}w`;\r\n }\r\n });\r\n }\r\n }\r\n return Object.entries(images)\r\n .map((x) => x[1])\r\n .join(', ');\r\n}\r\n","import { useEffect, useRef } from 'react';\nvar useInterval = function (callback, delay) {\n var savedCallback = useRef(function () { });\n useEffect(function () {\n savedCallback.current = callback;\n });\n useEffect(function () {\n if (delay !== null) {\n var interval_1 = setInterval(function () { return savedCallback.current(); }, delay || 0);\n return function () { return clearInterval(interval_1); };\n }\n return undefined;\n }, [delay]);\n};\nexport default useInterval;\n","import brand from '@helpers/brand';\r\nimport { cssVar, setCssVar } from '@helpers/cssVar';\r\nimport { Device, from, until } from '@helpers/media';\r\nimport srOnly from '@helpers/srOnly';\r\nimport IconButtonStyles from '@stories/Components/Buttons/IconButton/IconButton.styles';\r\nimport SectionWrapper from '@stories/Components/SectionWrapper/SectionWrapper';\r\nimport { rgba } from 'polished';\r\nimport styled from 'styled-components';\r\nconst Container = styled(SectionWrapper) `\r\n ${setCssVar('accentColor', brand.htaRebrand.green)};\r\n ${setCssVar('accentColorAlt', rgba(brand.htaRebrand.green, 0.38))};\r\n ${setCssVar('bgColor', brand.white)};\r\n ${setCssVar('bgColorAlt', brand.hta.green)};\r\n ${setCssVar('fgColor', brand.black)};\r\n ${setCssVar('fgColorAlt', brand.white)};\r\n position: relative;\r\n\r\n .theme-hta & {\r\n margin-bottom: 40px;\r\n }\r\n\r\n .theme-hh & {\r\n ${setCssVar('accentColor', brand.hortHouse.green)};\r\n ${setCssVar('accentColorAlt', brand.hortHouse.greenLight)};\r\n ${setCssVar('bgColor', brand.grey)};\r\n margin-bottom: 40px;\r\n }\r\n\r\n .theme-rss & {\r\n ${setCssVar('accentColor', brand.rss.green)};\r\n ${setCssVar('accentColorAlt', brand.rss.greenDark)};\r\n ${setCssVar('bgColor', brand.black)};\r\n overflow: hidden;\r\n }\r\n\r\n margin-top: 60px;\r\n background-color: ${cssVar('bgColor')};\r\n\r\n .theme-hta & {\r\n padding-bottom: 70px;\r\n overflow: hidden;\r\n\r\n @media ${until(Device.MobileLarge)} {\r\n margin-top: 0;\r\n }\r\n\r\n @media ${from(Device.DesktopSmall)} {\r\n padding-bottom: 0;\r\n overflow-y: visible;\r\n overflow-x: clip;\r\n }\r\n }\r\n`;\r\nconst Inner = styled.div `\r\n position: relative;\r\n\r\n @media ${until(Device.Tablet)} {\r\n display: grid;\r\n gap: 84px 0 0;\r\n grid-template-columns: 1fr 1fr;\r\n grid-template-rows: auto auto;\r\n }\r\n`;\r\nconst ItemList = styled.div `\r\n display: grid;\r\n\r\n > * {\r\n grid-area: 1 / 1;\r\n }\r\n\r\n @media ${until(Device.Tablet)} {\r\n grid-column: 1 / span 2;\r\n grid-row: 1;\r\n margin-bottom: 20px;\r\n }\r\n`;\r\nconst Navigation = styled.div `\r\n @media ${until(Device.Tablet)} {\r\n align-self: center;\r\n grid-column: 1;\r\n grid-row: 2;\r\n justify-self: flex-start;\r\n }\r\n\r\n @media ${from(Device.Tablet)} {\r\n position: absolute;\r\n bottom: ${48 + 44}px;\r\n left: 0;\r\n }\r\n\r\n .theme-hh & {\r\n display: none;\r\n }\r\n`;\r\nconst NavigationItem = styled.button `\r\n display: inline-block;\r\n background: ${cssVar('accentColorAlt')};\r\n border: 0;\r\n border-radius: 50%;\r\n height: 14px;\r\n transition: background-color 0.15s ease-out, transform 0.15s ease-out;\r\n width: 14px;\r\n padding: 0;\r\n\r\n @media ${from(Device.Tablet)} {\r\n height: 20px;\r\n width: 20px;\r\n }\r\n\r\n & + & {\r\n margin-left: 8px;\r\n }\r\n\r\n &[aria-current='true'] {\r\n background: ${cssVar('accentColor')};\r\n }\r\n\r\n &:focus,\r\n &:hover {\r\n background: ${cssVar('accentColor')};\r\n transform: scale(1.2);\r\n }\r\n\r\n > span {\r\n ${srOnly};\r\n }\r\n`;\r\nconst Controls = styled.div `\r\n ${IconButtonStyles.Button} + ${IconButtonStyles.Button} {\r\n margin-left: 8px;\r\n }\r\n\r\n @media ${until(Device.Tablet)} {\r\n align-self: center;\r\n grid-column: 2;\r\n grid-row: 2;\r\n justify-self: flex-end;\r\n }\r\n\r\n @media ${from(Device.Tablet)} {\r\n position: absolute;\r\n bottom: 0;\r\n left: 0;\r\n }\r\n\r\n .theme-hh & {\r\n display: none;\r\n }\r\n`;\r\nconst HTAGraphicWrapper = styled.div `\r\n display: none;\r\n\r\n .theme-hta & {\r\n display: block;\r\n position: absolute;\r\n right: 0;\r\n top: 15%;\r\n width: initial;\r\n\r\n @media ${from(Device.Tablet)} {\r\n top: auto;\r\n bottom: -40px;\r\n width: 60%;\r\n }\r\n\r\n @media ${from(Device.DesktopLarge)} {\r\n width: initial;\r\n }\r\n }\r\n`;\r\nexport default {\r\n Container,\r\n Controls,\r\n Inner,\r\n ItemList,\r\n Navigation,\r\n NavigationItem,\r\n HTAGraphicWrapper,\r\n};\r\n","import { imageWrapperPreserveRatio } from '@helpers/aspectRatio';\r\nimport brand from '@helpers/brand';\r\nimport { cssVar, setCssVar } from '@helpers/cssVar';\r\nimport { Device, from, until } from '@helpers/media';\r\nimport LinkButtonStyles from '@stories/Components/Buttons/LinkButton/LinkButton.styles';\r\nimport HeadingStyles from '@stories/Components/Global/Typography/Heading.styles';\r\nimport RichTextStyles from '@stories/Widgets/RichText/RichText.styles';\r\nimport { m } from 'framer-motion';\r\nimport styled from 'styled-components';\r\nconst Container = styled(m.article) `\r\n display: grid;\r\n\r\n @media ${until(Device.Tablet)} {\r\n gap: 58px 10px;\r\n grid-template-columns: 1fr;\r\n grid-template-rows: auto 1fr;\r\n }\r\n\r\n @media ${from(Device.Tablet)} {\r\n gap: 30px;\r\n grid-template-columns: repeat(12, 1fr);\r\n }\r\n\r\n .theme-hh & {\r\n ${setCssVar('accentColor', brand.hortHouse.green)};\r\n ${setCssVar('accentColorAlt', brand.hortHouse.greyMid)};\r\n ${setCssVar('fgColor', brand.white)};\r\n\r\n @media ${until(Device.Tablet)} {\r\n gap: 10px;\r\n }\r\n }\r\n\r\n .theme-rss & {\r\n ${setCssVar('accentColor', brand.rss.green)};\r\n ${setCssVar('accentColorAlt', brand.greyLight)};\r\n ${setCssVar('fgColor', brand.white)};\r\n\r\n @media ${until(Device.Tablet)} {\r\n gap: 10px;\r\n }\r\n }\r\n`;\r\nconst ContentWrapper = styled.div `\r\n @media ${until(Device.Tablet)} {\r\n grid-row: 2;\r\n\r\n .theme-rss & {\r\n grid-row: 1;\r\n padding: 60px 0 30px;\r\n }\r\n }\r\n\r\n @media ${from(Device.Tablet)} {\r\n grid-column: 1 / span 6;\r\n padding: 16px 0 148px;\r\n\r\n .theme-rss & {\r\n padding: 30px 0 100px;\r\n display: flex;\r\n flex-direction: column;\r\n justify-content: center;\r\n }\r\n\r\n .theme-hh & {\r\n padding-bottom: 60px;\r\n }\r\n }\r\n\r\n @media ${from(Device.TabletLarge)} {\r\n grid-column: 1 / span 6;\r\n }\r\n\r\n @media ${from(Device.Desktop)} {\r\n .theme-hh & {\r\n padding-bottom: 100px;\r\n }\r\n }\r\n`;\r\nconst Title = styled.h1 `\r\n color: ${cssVar('fgColor')};\r\n ${HeadingStyles.H1Styles};\r\n margin: 0 0 24px;\r\n\r\n .theme-rss & {\r\n @media ${from(Device.TabletLarge)} {\r\n font-size: 50px;\r\n line-height: 60px;\r\n }\r\n }\r\n`;\r\nconst Content = styled.div `\r\n ${RichTextStyles.contentStyles};\r\n margin: 0 0 24px;\r\n`;\r\nconst CtaWrapper = styled.div `\r\n display: flex;\r\n flex-direction: column;\r\n align-items: center;\r\n gap: 8px;\r\n\r\n @media ${from(Device.Tablet)} {\r\n flex-direction: row;\r\n ${LinkButtonStyles.Button} {\r\n padding-left: 12px;\r\n padding-right: 12px;\r\n }\r\n }\r\n\r\n @media ${from(Device.TabletLarge)} {\r\n ${LinkButtonStyles.Button} {\r\n margin-right: 16px;\r\n margin-bottom: 10px;\r\n padding-left: 24px;\r\n padding-right: 24px;\r\n\r\n &:last-child {\r\n margin-right: 0;\r\n }\r\n }\r\n }\r\n`;\r\nconst ImageWrapper = styled.div `\r\n .theme-rss & {\r\n position: relative;\r\n }\r\n\r\n @media ${until(Device.Tablet)} {\r\n grid-row: 1;\r\n margin: 0 auto;\r\n min-width: 194px;\r\n width: 50%;\r\n\r\n .theme-hta & {\r\n width: 100%;\r\n padding-left: 0;\r\n }\r\n\r\n .theme-hh & {\r\n width: 75%;\r\n }\r\n\r\n .theme-rss & {\r\n grid-row: 2;\r\n width: 100%;\r\n }\r\n }\r\n\r\n @media ${from(Device.Tablet)} {\r\n grid-column: 7 / span 6;\r\n }\r\n\r\n @media ${from(Device.TabletLarge)} {\r\n grid-column: 8 / span 5;\r\n\r\n .theme-hta & {\r\n grid-column: 7 / span 6;\r\n padding-left: 20px;\r\n }\r\n }\r\n`;\r\nconst ImageWrapperInner = styled.div `\r\n position: relative;\r\n height: 0;\r\n padding-bottom: 100%;\r\n\r\n @media ${from(Device.TabletLarge)} {\r\n .theme-hh & {\r\n padding-bottom: 80%;\r\n }\r\n }\r\n\r\n .theme-hta & {\r\n ${imageWrapperPreserveRatio(801, 522)};\r\n aspect-ratio: 801 / 522;\r\n border-radius: 47px;\r\n border: 4px solid ${brand.htaRebrand.greenBright};\r\n overflow: hidden;\r\n width: 100%; \r\n }\r\n\r\n @media ${until(Device.Tablet)} {\r\n .theme-rss & {\r\n height: 200px;\r\n padding-bottom: 0;\r\n }\r\n\r\n .theme-hta & {\r\n border: 2px solid ${brand.htaRebrand.greenBright};\r\n border-radius: 14px;\r\n }\r\n }\r\n`;\r\nconst Image = styled.img `\r\n position: absolute;\r\n top: 0;\r\n left: 0;\r\n display: block;\r\n border-radius: 0;\r\n height: 100%;\r\n object-fit: cover;\r\n object-position: center center;\r\n width: 100%;\r\n z-index: 2;\r\n\r\n .theme-hh & {\r\n border-radius: 55px;\r\n height: 75%;\r\n top: 50%;\r\n transform: translateY(-50%);\r\n\r\n @media ${until(Device.Tablet)} {\r\n top: 50%;\r\n max-height: 80%;\r\n border-radius: 12px;\r\n }\r\n\r\n @media ${from(Device.TabletLarge)} {\r\n height: 75%;\r\n max-height: 400px;\r\n }\r\n\r\n @media ${from(Device.Desktop)} {\r\n }\r\n }\r\n`;\r\nconst HHGraphicWrapper = styled.div `\r\n display: none;\r\n\r\n .theme-hh & {\r\n display: block;\r\n }\r\n`;\r\nconst RssGraphicWrapper = styled.div `\r\n display: none;\r\n\r\n .theme-rss & {\r\n display: block;\r\n }\r\n`;\r\nconst Graphic1 = styled.span `\r\n position: absolute;\r\n display: block;\r\n color: ${cssVar('accentColor')};\r\n transform: rotate(12deg);\r\n width: 372px;\r\n z-index: 1;\r\n\r\n .theme-hh & {\r\n transform: unset;\r\n right: 0;\r\n top: 0;\r\n }\r\n\r\n .theme-rss & {\r\n transform: unset;\r\n left: 0;\r\n bottom: 0;\r\n }\r\n\r\n @media ${until(Device.Tablet)} {\r\n top: 4px;\r\n right: -22px;\r\n width: 120px;\r\n\r\n .theme-hh & {\r\n width: 140px;\r\n }\r\n\r\n .theme-rss & {\r\n transform: unset;\r\n top: auto;\r\n left: 50%;\r\n bottom: -40px;\r\n transform: translateX(-50%);\r\n width: 340px;\r\n height: 210px;\r\n }\r\n }\r\n\r\n @media ${from(Device.Tablet)} {\r\n top: 15px;\r\n right: -70px;\r\n width: 372px;\r\n\r\n .theme-hh & {\r\n width: 200px;\r\n top: -15px;\r\n }\r\n\r\n .theme-rss & {\r\n top: auto;\r\n right: auto;\r\n bottom: -70px;\r\n width: 952px;\r\n }\r\n }\r\n\r\n @media ${from(Device.DesktopSmall)} {\r\n .theme-hh & {\r\n width: 250px;\r\n }\r\n }\r\n`;\r\nconst Graphic2 = styled.span `\r\n position: absolute;\r\n bottom: -60px;\r\n left: -16px;\r\n display: block;\r\n color: ${cssVar('accentColorAlt')};\r\n transform: rotate(-136deg);\r\n width: 285px;\r\n z-index: 1;\r\n\r\n .theme-hh & {\r\n transform: unset;\r\n left: 0;\r\n bottom: 15px;\r\n }\r\n\r\n @media ${until(Device.Tablet)} {\r\n bottom: -20px;\r\n left: -5px;\r\n width: 91px;\r\n\r\n .theme-hh & {\r\n width: 100px;\r\n }\r\n }\r\n\r\n @media ${from(Device.Tablet)} {\r\n bottom: -60px;\r\n left: -16px;\r\n width: 285px;\r\n\r\n .theme-hh & {\r\n width: 150px;\r\n }\r\n }\r\n\r\n @media ${from(Device.DesktopSmall)} {\r\n .theme-hh & {\r\n width: 200px;\r\n bottom: 0;\r\n }\r\n }\r\n`;\r\nexport default {\r\n Container,\r\n Content,\r\n ContentWrapper,\r\n CtaWrapper,\r\n Graphic1,\r\n Graphic2,\r\n Image,\r\n ImageWrapper,\r\n ImageWrapperInner,\r\n Title,\r\n HHGraphicWrapper,\r\n RssGraphicWrapper,\r\n};\r\n","import { css } from 'styled-components';\r\n/**\r\n * Returns the aspect ratio of the given width and height as a percentage.\r\n */\r\nexport function aspectRatio(width, height) {\r\n return (height / width) * 100;\r\n}\r\n/**\r\n * Re-usable styles for image container where the\r\n * image needs to maintain it's aspect ratio\r\n *\r\n * @param width\r\n * @param height\r\n * @returns\r\n */\r\nexport function imageWrapperPreserveRatio(width, height) {\r\n if (!width && !height) {\r\n return null;\r\n }\r\n return css `\r\n position: relative;\r\n height: 0;\r\n width: 100%;\r\n overflow: hidden;\r\n overflow: clip;\r\n padding-bottom: ${aspectRatio(width, height)}%;\r\n `;\r\n}\r\n/**\r\n * Re-usable styles for an image placed within\r\n * a container maintaining aspect ratio\r\n */\r\nexport const imageCoverContainer = (relative) => css `\r\n display: block;\r\n width: 100%;\r\n height: 100%;\r\n object-fit: cover;\r\n object-position: center;\r\n ${!relative && 'position: absolute; top: 0;left: 0;'}\r\n`;\r\n","import { imageUrl } from '@helpers/image';\r\nimport { Device, from } from '@helpers/media';\r\nimport { responsiveSizes } from '@helpers/responsive';\r\n// import { ReactComponent as SvgShamrock } from '@img/general/hta-shamrock.svg';\r\nimport { ReactComponent as SvgRssLogo } from '@img/general/rss-petals.svg';\r\nimport { ReactComponent as SvgHHLogo } from '@img/icons/HH-icon-unbranded.svg';\r\nimport LinkButton from '@stories/Components/Buttons/LinkButton/LinkButton';\r\nimport React from 'react';\r\nimport S from './HomepageHeroSlide.styles';\r\nconst HomepageHeroSlide = ({ active, content, cta1, cta2, image, loading = 'lazy', title, }) => {\r\n return (React.createElement(S.Container, { initial: active ? 'active' : 'inactive', animate: active ? 'active' : 'inactive', variants: {\r\n active: {\r\n opacity: 1,\r\n pointerEvents: 'all',\r\n visibility: 'visible',\r\n display: 'grid',\r\n },\r\n inactive: {\r\n opacity: 0,\r\n transitionEnd: {\r\n pointerEvents: 'none',\r\n visibility: 'hidden',\r\n display: 'none',\r\n },\r\n },\r\n } },\r\n React.createElement(S.ContentWrapper, null,\r\n React.createElement(S.Title, null, title),\r\n content && React.createElement(S.Content, { dangerouslySetInnerHTML: { __html: content } }),\r\n (cta1 || cta2) && (React.createElement(S.CtaWrapper, null,\r\n cta1?.text && (React.createElement(LinkButton, { themeOption: \"green\", href: cta1.url, target: cta1.target, title: cta1.text })),\r\n cta2?.text && (React.createElement(LinkButton, { themeOption: cta2.themeOption, href: cta2.url, target: cta2.target, title: cta2.text }))))),\r\n React.createElement(S.ImageWrapper, null,\r\n React.createElement(S.ImageWrapperInner, null,\r\n image && (React.createElement(\"picture\", null,\r\n React.createElement(\"source\", { media: from(Device.MobileLarge), sizes: \"50vw\", srcSet: responsiveSizes([{ value: 100, breakpoint: Device.Tablet }, { value: 50 }], image, { mode: 'boxpad' }) }),\r\n React.createElement(S.Image, { alt: image?.altText, draggable: false, loading: loading, role: \"presentation\", src: imageUrl(image, { rmode: 'boxpad', width: 194 }), srcSet: [\r\n `${imageUrl(image, { rmode: 'boxpad', width: 194 })} 1x`,\r\n `${imageUrl(image, { rmode: 'boxpad', width: 291 })} 1.5x`,\r\n `${imageUrl(image, { rmode: 'boxpad', width: 388 })} 2x`,\r\n `${imageUrl(image, { rmode: 'boxpad', width: 485 })} 2.5x`,\r\n `${imageUrl(image, { rmode: 'boxpad', width: 582 })} 3x`,\r\n ].join(',') }))),\r\n React.createElement(S.HHGraphicWrapper, null,\r\n React.createElement(S.Graphic1, { as: SvgHHLogo }),\r\n React.createElement(S.Graphic2, { as: SvgHHLogo }))),\r\n React.createElement(S.RssGraphicWrapper, null,\r\n React.createElement(S.Graphic1, { as: SvgRssLogo })))));\r\n};\r\nexport default HomepageHeroSlide;\r\n","export default __webpack_public_path__ + \"c86f3107c4892d62629369974eaa6a75.jpg\";","import { withMotion } from '@hoc/withMotion';\r\nimport NextButton from '@stories/Components/Buttons/NextButton/NextButton';\r\nimport PrevButton from '@stories/Components/Buttons/PrevButton/PrevButton';\r\nimport React from 'react';\r\nimport { useInterval } from 'react-use';\r\nimport S from './HomepageHero.styles';\r\nimport HomepageHeroSlide from './HomepageHeroSlide/HomepageHeroSlide';\r\nimport SvgHtaHomepageBg from '!file-loader!@img/hta-banner-bg.jpg';\r\nconst HomepageHero = ({ autoplay, items, themeOption }) => {\r\n const [isPaused, setIsPaused] = React.useState(autoplay === 0);\r\n const [activeId, setActiveId] = React.useState(items[0].id);\r\n const activeIndex = items.findIndex((item) => item.id === activeId);\r\n // Autoplay if enabled.\r\n useInterval(() => {\r\n if (activeIndex === items.length - 1) {\r\n setActiveId(items[0].id);\r\n }\r\n else {\r\n setActiveId(items[activeIndex + 1].id);\r\n }\r\n }, isPaused ? null : autoplay);\r\n return (React.createElement(S.Container, { flush: \"both\" },\r\n React.createElement(S.HTAGraphicWrapper, null,\r\n React.createElement(\"img\", { src: SvgHtaHomepageBg })),\r\n React.createElement(S.Inner, null,\r\n React.createElement(S.ItemList, null, items.map((item, index) => (React.createElement(HomepageHeroSlide, { key: item.id, ...item, active: activeId === item.id, loading: index === 0 ? 'eager' : 'lazy', themeOption: themeOption })))),\r\n items.length > 1 && (React.createElement(React.Fragment, null,\r\n React.createElement(S.Navigation, null, items.map((item, index) => (React.createElement(S.NavigationItem, { key: item.id, \"aria-current\": item.id === activeId, onClick: (event) => {\r\n event.preventDefault();\r\n setActiveId(item.id);\r\n setIsPaused(true);\r\n } },\r\n React.createElement(\"span\", null,\r\n \"Go to slide \",\r\n index + 1))))),\r\n React.createElement(S.Controls, null,\r\n React.createElement(PrevButton, { onClick: (event) => {\r\n event.preventDefault();\r\n if (activeIndex === 0) {\r\n return;\r\n }\r\n const prevItem = items[activeIndex - 1];\r\n setActiveId(prevItem.id);\r\n setIsPaused(true);\r\n }, disabled: activeIndex === 0, themeOption: \"green\" }),\r\n React.createElement(NextButton, { onClick: (event) => {\r\n event.preventDefault();\r\n if (activeIndex === items.length - 1) {\r\n return;\r\n }\r\n const nextItem = items[activeIndex + 1];\r\n setActiveId(nextItem.id);\r\n setIsPaused(true);\r\n }, disabled: activeIndex === items.length - 1, themeOption: \"green\" })))))));\r\n};\r\nexport default withMotion(HomepageHero);\r\n","import styled from 'styled-components';\r\nimport IconButton from '../IconButton/IconButton';\r\nconst StyledButton = styled(IconButton) ``;\r\nexport default {\r\n Button: StyledButton,\r\n};\r\n","import { ReactComponent as SvgChevronRight } from '@img/icons/chevron-right.svg';\r\nimport React from 'react';\r\nimport S from './NextButton.styles';\r\nconst NextButton = ({ themeOption, title = 'Next', ...otherProps }) => {\r\n return (React.createElement(S.Button, { icon: SvgChevronRight, themeOption: themeOption, title: title, ...otherProps }));\r\n};\r\nexport default NextButton;\r\n","import { ReactComponent as SvgChevronRight } from '@img/icons/chevron-right.svg';\r\nimport React from 'react';\r\nimport S from './PrevButton.styles';\r\nconst PrevButton = ({ themeOption, title = 'Next', ...otherProps }) => {\r\n return (React.createElement(S.Button, { icon: SvgChevronRight, themeOption: themeOption, title: title, ...otherProps }));\r\n};\r\nexport default PrevButton;\r\n","'use strict';\nmodule.exports = str => encodeURIComponent(str).replace(/[!'()*]/g, x => `%${x.charCodeAt(0).toString(16).toUpperCase()}`);\n","'use strict';\nvar token = '%[a-f0-9]{2}';\nvar singleMatcher = new RegExp(token, 'gi');\nvar multiMatcher = new RegExp('(' + token + ')+', 'gi');\n\nfunction decodeComponents(components, split) {\n\ttry {\n\t\t// Try to decode the entire string first\n\t\treturn decodeURIComponent(components.join(''));\n\t} catch (err) {\n\t\t// Do nothing\n\t}\n\n\tif (components.length === 1) {\n\t\treturn components;\n\t}\n\n\tsplit = split || 1;\n\n\t// Split the array in 2 parts\n\tvar left = components.slice(0, split);\n\tvar right = components.slice(split);\n\n\treturn Array.prototype.concat.call([], decodeComponents(left), decodeComponents(right));\n}\n\nfunction decode(input) {\n\ttry {\n\t\treturn decodeURIComponent(input);\n\t} catch (err) {\n\t\tvar tokens = input.match(singleMatcher);\n\n\t\tfor (var i = 1; i < tokens.length; i++) {\n\t\t\tinput = decodeComponents(tokens, i).join('');\n\n\t\t\ttokens = input.match(singleMatcher);\n\t\t}\n\n\t\treturn input;\n\t}\n}\n\nfunction customDecodeURIComponent(input) {\n\t// Keep track of all the replacements and prefill the map with the `BOM`\n\tvar replaceMap = {\n\t\t'%FE%FF': '\\uFFFD\\uFFFD',\n\t\t'%FF%FE': '\\uFFFD\\uFFFD'\n\t};\n\n\tvar match = multiMatcher.exec(input);\n\twhile (match) {\n\t\ttry {\n\t\t\t// Decode as big chunks as possible\n\t\t\treplaceMap[match[0]] = decodeURIComponent(match[0]);\n\t\t} catch (err) {\n\t\t\tvar result = decode(match[0]);\n\n\t\t\tif (result !== match[0]) {\n\t\t\t\treplaceMap[match[0]] = result;\n\t\t\t}\n\t\t}\n\n\t\tmatch = multiMatcher.exec(input);\n\t}\n\n\t// Add `%C2` at the end of the map to make sure it does not replace the combinator before everything else\n\treplaceMap['%C2'] = '\\uFFFD';\n\n\tvar entries = Object.keys(replaceMap);\n\n\tfor (var i = 0; i < entries.length; i++) {\n\t\t// Replace all decoded components\n\t\tvar key = entries[i];\n\t\tinput = input.replace(new RegExp(key, 'g'), replaceMap[key]);\n\t}\n\n\treturn input;\n}\n\nmodule.exports = function (encodedURI) {\n\tif (typeof encodedURI !== 'string') {\n\t\tthrow new TypeError('Expected `encodedURI` to be of type `string`, got `' + typeof encodedURI + '`');\n\t}\n\n\ttry {\n\t\tencodedURI = encodedURI.replace(/\\+/g, ' ');\n\n\t\t// Try the built in decoder first\n\t\treturn decodeURIComponent(encodedURI);\n\t} catch (err) {\n\t\t// Fallback to a more advanced decoder\n\t\treturn customDecodeURIComponent(encodedURI);\n\t}\n};\n","'use strict';\n\nmodule.exports = (string, separator) => {\n\tif (!(typeof string === 'string' && typeof separator === 'string')) {\n\t\tthrow new TypeError('Expected the arguments to be of type `string`');\n\t}\n\n\tif (separator === '') {\n\t\treturn [string];\n\t}\n\n\tconst separatorIndex = string.indexOf(separator);\n\n\tif (separatorIndex === -1) {\n\t\treturn [string];\n\t}\n\n\treturn [\n\t\tstring.slice(0, separatorIndex),\n\t\tstring.slice(separatorIndex + separator.length)\n\t];\n};\n","'use strict';\nmodule.exports = function (obj, predicate) {\n\tvar ret = {};\n\tvar keys = Object.keys(obj);\n\tvar isArr = Array.isArray(predicate);\n\n\tfor (var i = 0; i < keys.length; i++) {\n\t\tvar key = keys[i];\n\t\tvar val = obj[key];\n\n\t\tif (isArr ? predicate.indexOf(key) !== -1 : predicate(key, val, obj)) {\n\t\t\tret[key] = val;\n\t\t}\n\t}\n\n\treturn ret;\n};\n","var Symbol = require('./_Symbol'),\n getRawTag = require('./_getRawTag'),\n objectToString = require('./_objectToString');\n\n/** `Object#toString` result references. */\nvar nullTag = '[object Null]',\n undefinedTag = '[object Undefined]';\n\n/** Built-in value references. */\nvar symToStringTag = Symbol ? Symbol.toStringTag : undefined;\n\n/**\n * The base implementation of `getTag` without fallbacks for buggy environments.\n *\n * @private\n * @param {*} value The value to query.\n * @returns {string} Returns the `toStringTag`.\n */\nfunction baseGetTag(value) {\n if (value == null) {\n return value === undefined ? undefinedTag : nullTag;\n }\n return (symToStringTag && symToStringTag in Object(value))\n ? getRawTag(value)\n : objectToString(value);\n}\n\nmodule.exports = baseGetTag;\n","var freeGlobal = require('./_freeGlobal');\n\n/** Detect free variable `self`. */\nvar freeSelf = typeof self == 'object' && self && self.Object === Object && self;\n\n/** Used as a reference to the global object. */\nvar root = freeGlobal || freeSelf || Function('return this')();\n\nmodule.exports = root;\n","/** Detect free variable `global` from Node.js. */\nvar freeGlobal = typeof global == 'object' && global && global.Object === Object && global;\n\nmodule.exports = freeGlobal;\n","var Symbol = require('./_Symbol');\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/**\n * Used to resolve the\n * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)\n * of values.\n */\nvar nativeObjectToString = objectProto.toString;\n\n/** Built-in value references. */\nvar symToStringTag = Symbol ? Symbol.toStringTag : undefined;\n\n/**\n * A specialized version of `baseGetTag` which ignores `Symbol.toStringTag` values.\n *\n * @private\n * @param {*} value The value to query.\n * @returns {string} Returns the raw `toStringTag`.\n */\nfunction getRawTag(value) {\n var isOwn = hasOwnProperty.call(value, symToStringTag),\n tag = value[symToStringTag];\n\n try {\n value[symToStringTag] = undefined;\n var unmasked = true;\n } catch (e) {}\n\n var result = nativeObjectToString.call(value);\n if (unmasked) {\n if (isOwn) {\n value[symToStringTag] = tag;\n } else {\n delete value[symToStringTag];\n }\n }\n return result;\n}\n\nmodule.exports = getRawTag;\n","/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/**\n * Used to resolve the\n * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)\n * of values.\n */\nvar nativeObjectToString = objectProto.toString;\n\n/**\n * Converts `value` to a string using `Object.prototype.toString`.\n *\n * @private\n * @param {*} value The value to convert.\n * @returns {string} Returns the converted string.\n */\nfunction objectToString(value) {\n return nativeObjectToString.call(value);\n}\n\nmodule.exports = objectToString;\n","/**\n * Checks if `value` is object-like. A value is object-like if it's not `null`\n * and has a `typeof` result of \"object\".\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is object-like, else `false`.\n * @example\n *\n * _.isObjectLike({});\n * // => true\n *\n * _.isObjectLike([1, 2, 3]);\n * // => true\n *\n * _.isObjectLike(_.noop);\n * // => false\n *\n * _.isObjectLike(null);\n * // => false\n */\nfunction isObjectLike(value) {\n return value != null && typeof value == 'object';\n}\n\nmodule.exports = isObjectLike;\n","import { domAnimation, LazyMotion } from 'framer-motion';\r\nimport React from 'react';\r\nexport function withMotion(WrappedComponent) {\r\n const displayName = WrappedComponent.displayName || WrappedComponent.name || 'Component';\r\n const ComponentWithMotion = (props) => {\r\n return (React.createElement(LazyMotion, { features: domAnimation, strict: true },\r\n React.createElement(WrappedComponent, { ...props })));\r\n };\r\n ComponentWithMotion.displayName = `withMotion(${displayName})`;\r\n return ComponentWithMotion;\r\n}\r\n","import brand from '@helpers/brand';\r\nimport { rgba } from 'polished';\r\nimport styled, { css } from 'styled-components';\r\nimport { buttonTheme, sharedButtonStyles } from '../ButtonShared.styles';\r\nconst Button = styled.a `\r\n ${sharedButtonStyles};\r\n\r\n ${({ themeOption }) => themeOption === 'green' &&\r\n css `\r\n ${buttonTheme({\r\n bgColor: brand.htaRebrand.green,\r\n borderColor: brand.htaRebrand.green,\r\n fgColor: brand.white,\r\n })}\r\n\r\n .theme-hh & {\r\n ${buttonTheme({\r\n bgColor: brand.htaRebrand.greenAlt,\r\n borderColor: brand.htaRebrand.greenAlt,\r\n fgColor: brand.white,\r\n })}\r\n }\r\n\r\n &:focus,\r\n &:hover {\r\n ${buttonTheme({\r\n bgColor: brand.htaRebrand.greenLight,\r\n borderColor: brand.htaRebrand.greenLight,\r\n fgColor: brand.white,\r\n })}\r\n }\r\n\r\n &:active {\r\n ${buttonTheme({\r\n bgColor: brand.htaRebrand.greenDark,\r\n borderColor: brand.htaRebrand.greenDark,\r\n fgColor: brand.white,\r\n })}\r\n }\r\n `}\r\n\r\n ${({ themeOption }) => themeOption === 'greenOriginal' &&\r\n css `\r\n ${buttonTheme({\r\n bgColor: brand.hta.green,\r\n borderColor: brand.hta.green,\r\n fgColor: brand.black,\r\n })}\r\n\r\n &:focus,\r\n &:hover {\r\n ${buttonTheme({\r\n bgColor: brand.hta.greenLight,\r\n borderColor: brand.hta.greenLight,\r\n fgColor: brand.black,\r\n })}\r\n }\r\n\r\n &:active {\r\n ${buttonTheme({\r\n bgColor: brand.hta.greenDark,\r\n borderColor: brand.hta.greenDark,\r\n fgColor: brand.white,\r\n })}\r\n }\r\n `}\r\n\r\n ${({ themeOption }) => themeOption === 'greenOutline' &&\r\n css `\r\n ${buttonTheme({\r\n bgColor: rgba(brand.hta.green, 0),\r\n borderColor: brand.htaRebrand.green,\r\n fgColor: brand.black,\r\n })}\r\n\r\n &:focus,\r\n &:hover {\r\n ${buttonTheme({\r\n bgColor: brand.htaRebrand.greenLightAlt,\r\n borderColor: brand.htaRebrand.green,\r\n fgColor: brand.white,\r\n })}\r\n }\r\n\r\n &:active {\r\n ${buttonTheme({\r\n bgColor: brand.htaRebrand.greenDark,\r\n borderColor: brand.htaRebrand.greenAlt,\r\n fgColor: brand.white,\r\n })}\r\n }\r\n `}\r\n\r\n ${({ themeOption }) => themeOption === 'greenLightOutline' &&\r\n css `\r\n ${buttonTheme({\r\n bgColor: brand.white,\r\n borderColor: brand.htaRebrand.greenBright,\r\n fgColor: brand.black,\r\n })}\r\n\r\n &:focus,\r\n &:hover {\r\n ${buttonTheme({\r\n bgColor: brand.htaRebrand.greenLightAlt,\r\n borderColor: brand.htaRebrand.greenBright,\r\n fgColor: brand.white,\r\n })}\r\n }\r\n\r\n &:active {\r\n ${buttonTheme({\r\n bgColor: brand.htaRebrand.greenDark,\r\n borderColor: brand.htaRebrand.greenBright,\r\n fgColor: brand.white,\r\n })}\r\n }\r\n `}\r\n\r\n ${({ themeOption }) => themeOption === 'aplGreen' &&\r\n css `\r\n ${buttonTheme({\r\n bgColor: brand.apl.green,\r\n borderColor: brand.apl.green,\r\n fgColor: brand.black,\r\n })}\r\n\r\n &:focus,\r\n &:hover {\r\n ${buttonTheme({\r\n bgColor: brand.apl.greenLight,\r\n borderColor: brand.apl.greenLight,\r\n fgColor: brand.black,\r\n })}\r\n }\r\n `}\r\n\r\n ${({ themeOption }) => themeOption === 'aplGreenOutline' &&\r\n css `\r\n ${buttonTheme({\r\n bgColor: rgba(brand.apl.green, 0),\r\n borderColor: brand.apl.green,\r\n fgColor: brand.black,\r\n })}\r\n\r\n &:focus,\r\n &:hover {\r\n ${buttonTheme({\r\n bgColor: brand.apl.greenLight,\r\n borderColor: brand.apl.green,\r\n fgColor: brand.black,\r\n })}\r\n }\r\n `}\r\n\r\n ${({ themeOption }) => themeOption === 'white' &&\r\n css `\r\n ${buttonTheme({\r\n bgColor: brand.white,\r\n borderColor: brand.white,\r\n fgColor: brand.black,\r\n })}\r\n\r\n &:focus,\r\n &:hover {\r\n ${buttonTheme({\r\n bgColor: '#383838',\r\n borderColor: brand.white,\r\n fgColor: brand.white,\r\n })}\r\n }\r\n `}\r\n\r\n ${({ themeOption }) => themeOption === 'whiteOutline' &&\r\n css `\r\n ${buttonTheme({\r\n bgColor: rgba('#383838', 0),\r\n borderColor: brand.white,\r\n fgColor: brand.white,\r\n })}\r\n\r\n &:focus,\r\n &:hover {\r\n ${buttonTheme({\r\n bgColor: '#383838',\r\n borderColor: brand.white,\r\n fgColor: brand.white,\r\n })}\r\n }\r\n `}\r\n\r\n ${({ themeOption }) => themeOption === 'blackOutline' &&\r\n css `\r\n ${buttonTheme({\r\n bgColor: rgba('#383838', 0),\r\n borderColor: brand.black,\r\n fgColor: brand.black,\r\n })}\r\n\r\n &:focus,\r\n &:hover {\r\n ${buttonTheme({\r\n bgColor: '#383838',\r\n borderColor: brand.black,\r\n fgColor: brand.white,\r\n })}\r\n }\r\n `}\r\n`;\r\nexport default {\r\n Button,\r\n};\r\n","import { css } from 'styled-components';\r\nexport default {\r\n inView: {\r\n threshold: 0.25,\r\n rootMargin: '0px 0px -25% 0px',\r\n earlyRootMargin: '0px 0px -10% 0px',\r\n },\r\n globalThreshold: 0.25,\r\n easeInOutCubic: 'cubic-bezier(0.645, 0.045, 0.355, 1)',\r\n};\r\nexport const slideInUpInitial = css `\r\n > span {\r\n opacity: 0;\r\n transform: translateY(100%);\r\n }\r\n`;\r\nexport function slideInUp(animate, duration, delay, easingFunc) {\r\n return css `\r\n overflow: hidden;\r\n\r\n > span {\r\n display: inline-block;\r\n transition: transform ${duration}ms ${delay}ms ${easingFunc},\r\n opacity ${duration}ms ${delay}ms ${easingFunc};\r\n }\r\n\r\n ${animate\r\n ? css `\r\n > span {\r\n opacity: 1;\r\n transform: translateY(0px);\r\n }\r\n `\r\n : css `\r\n ${slideInUpInitial};\r\n `}\r\n `;\r\n}\r\nexport function fadeInUp(animate, amount, duration, delay, easingFunc) {\r\n return css `\r\n transition: transform ${duration}ms ${delay}ms ${easingFunc},\r\n opacity ${duration}ms ${delay}ms ${easingFunc};\r\n\r\n ${animate\r\n ? css `\r\n opacity: 1;\r\n transform: translateY(0px);\r\n `\r\n : css `\r\n opacity: 0;\r\n transform: translateY(${amount}px);\r\n `}\r\n `;\r\n}\r\nexport function fadeIn(animate, duration, delay, easingFunc) {\r\n return css `\r\n transition: opacity ${duration}ms ${delay}ms ${easingFunc};\r\n\r\n ${animate\r\n ? css `\r\n opacity: 1;\r\n `\r\n : css `\r\n opacity: 0;\r\n `}\r\n `;\r\n}\r\nexport const cubicEaseOut = `cubic-bezier(0.215, 0.61, 0.355, 1)`;\r\nexport const transition = (properties, duration = 0.35, timing = cubicEaseOut) => css `\r\n transition-duration: ${typeof duration === 'string' ? duration : `${duration}s`};\r\n transition-property: ${properties};\r\n transition-timing-function: ${timing};\r\n will-change: ${properties};\r\n `;\r\n","import queryString from 'query-string';\r\n/**\r\n * Create an image URL for ImageProcessor\r\n * @param image The image model\r\n * @param imageParams The image parameters\r\n * @returns The image URL\r\n */\r\nexport function imageUrl(image, imageParams) {\r\n if (!image || !image.src) {\r\n return '';\r\n }\r\n /**\r\n * Remove any query param string to ensure paramsString is applied correctly and\r\n * there are no double definitions (setting a param twice prevents any tranformations)\r\n */\r\n const imageSource = image.src.split('?')[0];\r\n const params = {\r\n bgcolor: imageParams.bgcolor,\r\n height: getImageHeight(imageParams),\r\n // Define default quality as 95 to ensure some reduction in size for all but the smallest images\r\n quality: imageParams.width && imageParams.width > 400 ? 95 : undefined,\r\n rmode: imageParams.rmode ?? 'crop',\r\n rxy: image.focalPoint ? `${image.focalPoint.left},${image.focalPoint.top}` : undefined,\r\n width: getImageWidth(imageParams),\r\n };\r\n const paramsString = queryString.stringify(params);\r\n return `${imageSource}${paramsString ? `?${queryString.stringify(params)}` : ''}`;\r\n}\r\nconst getImageWidth = (imageParams) => {\r\n if (imageParams.width) {\r\n return imageParams.width;\r\n }\r\n if (imageParams.widthratio && imageParams.height) {\r\n return imageParams.widthratio * imageParams.height;\r\n }\r\n return undefined;\r\n};\r\nconst getImageHeight = (imageParams) => {\r\n if (imageParams.height) {\r\n return imageParams.height;\r\n }\r\n if (imageParams.heightratio && imageParams.width) {\r\n return imageParams.heightratio * imageParams.width;\r\n }\r\n return undefined;\r\n};\r\n","import fonts from '@helpers/fonts';\r\nimport { Device, from } from '@helpers/media';\r\nimport styled, { css } from 'styled-components';\r\nexport function buttonTheme(theme) {\r\n const value = css `\r\n ${theme.bgColor &&\r\n css `\r\n --buttonBgColor: ${theme.bgColor};\r\n `}\r\n\r\n ${theme.borderColor &&\r\n css `\r\n --buttonBorderColor: ${theme.borderColor};\r\n `}\r\n\r\n ${theme.fgColor &&\r\n css `\r\n --buttonColor: ${theme.fgColor};\r\n `}\r\n `;\r\n return value;\r\n}\r\nexport const sharedButtonStyles = css `\r\n display: inline-flex;\r\n align-items: center;\r\n border: 0;\r\n background-color: var(--buttonBgColor);\r\n border: 1px solid var(--buttonBorderColor);\r\n border-radius: 8px;\r\n color: var(--buttonColor);\r\n height: 48px;\r\n justify-content: flex-start;\r\n margin: 0;\r\n outline: none;\r\n padding: 0 14px;\r\n place-content: center;\r\n place-items: center;\r\n text-decoration: none;\r\n transition: background-color 0.15s ease-out, background-size 0.15s ease-out,\r\n border-color 0.15s ease-out, color 0.15s ease-out, opacity 0.15s ease-out,\r\n transform 0.15s ease-out;\r\n user-select: none;\r\n width: auto;\r\n\r\n &:disabled {\r\n opacity: 0.5;\r\n }\r\n\r\n &:focus {\r\n outline: none;\r\n }\r\n\r\n ${() => Icon} {\r\n margin-left: 12px;\r\n }\r\n\r\n @media ${from(Device.MobileLarge)} {\r\n min-width: 150px;\r\n padding: 0 24px;\r\n }\r\n`;\r\nexport const Icon = styled.span `\r\n display: block;\r\n height: 20px;\r\n width: 20px;\r\n\r\n @media ${from(Device.Tablet)} {\r\n height: 24px;\r\n width: 24px;\r\n }\r\n`;\r\nexport const Text = styled.span `\r\n color: currentColor;\r\n ${fonts.sourceSansPro.semiBold};\r\n font-size: 18px;\r\n line-height: 25px;\r\n`;\r\n"],"sourceRoot":""}