{"version":3,"sources":["webpack:///./src/stories/Components/Buttons/GeneralButton/Button.styles.tsx","webpack:///./src/helpers/global.ts","webpack:///./src/helpers/api.ts","webpack:///./src/stories/Components/Forms/ErrorSummary.tsx","webpack:///./src/stories/Components/Forms/Form.tsx","webpack:///./src/stories/Components/Forms/FormField.tsx","webpack:///./src/stories/Components/Forms/FormRow.tsx","webpack:///./src/img/icons/tick-charcoal.svg","webpack:///./src/img/icons/tick-white.svg","webpack:///./src/stories/Components/Forms/Inputs/CheckboxList/CheckboxList.styles.ts","webpack:///./src/stories/Components/Forms/Inputs/CheckboxList/CheckboxList.tsx","webpack:///./src/img/icons/chevron-down.svg","webpack:///./src/stories/Components/Forms/Inputs/Select/Select.styles.ts","webpack:///./src/stories/Components/Forms/Inputs/Select/Select.tsx","webpack:///./src/stories/Components/Forms/Inputs/Textbox/Textbox.styles.ts","webpack:///./src/stories/Components/Forms/Inputs/Textbox/Textbox.tsx","webpack:///./src/helpers/scrollbars.ts","webpack:///./src/stories/Components/ContactForm/ContactForm.styles.ts","webpack:///./src/stories/Components/Forms/Inputs/Textarea/Textarea.styles.ts","webpack:///./src/stories/Components/Forms/Inputs/Textarea/Textarea.tsx","webpack:///./src/stories/Components/ContactForm/ContactForm.tsx","webpack:///./src/hooks/useForm.ts","webpack:///./src/stories/Components/Buttons/GeneralButton/Button.tsx","webpack:///./src/helpers/media.ts","webpack:///./src/stories/Components/Forms/Form.styles.ts","webpack:///./src/helpers/brand.ts","webpack:///./src/helpers/fluid.ts","webpack:///./src/helpers/animate.ts","webpack:///./src/helpers/typography.ts","webpack:///./src/helpers/fonts.ts","webpack:///./src/helpers/srOnly.ts"],"names":["Text","styled","div","PrimaryStyles","css","transition","brand","secondary","grey","primary","charcoal","white","SecondaryStyles","TertiaryStyles","green","TertiaryAltStyles","TextOnlyStyles","black","Icon","ButtonStyles","Button","button","fonts","beausite","classic","light","ButtonReset","API_URLS","ErrorSummary","props","React","S","ErrorList","errors","map","error","ErrorListItem","key","Form","children","confirmationMessage","inputType","showSubmit","status","submitLabel","onSubmit","length","ConfirmationMessage","dangerouslySetInnerHTML","__html","SubmitWrapper","branding","disabled","type","text","FormField","description","label","name","showLabel","otherProps","Field","Label","htmlFor","Array","isArray","Description","Error","FormRow","columnCount","Row","Container","svgTick","from","Device","Tablet","svgTickWhite","Option","Input","input","srOnly","CheckboxListStyles","link","span","CheckboxListOption","ref","id","value","FocusRing","focusRingClass","displayName","CheckboxList","layout","size","Object","assign","bind","target","i","arguments","source","prototype","hasOwnProperty","call","apply","this","SvgChevronDown","width","height","xmlns","d","fill","Wrapper","Select","select","SelectStyles","Arrow","isFocused","setIsFocused","onClick","onBlur","SvgChevron","Textbox","FormStyles","Content","contentStyles","fluid","CountrySelectButton","AutocompleteWrapper","AutocompleteOptions","ul","scrollbars","ContactFormStyles","AutocompleteOption","textarea","Textarea","countries","code","ContactForm","refContainer","serverErrors","useReactHookFormReturn","formState","register","setValue","params","useReactHookForm","defaultValues","mode","reValidateMode","shouldUseNativeValidation","handleSubmit","setStatus","setConfirmationMessage","setServerErrors","async","formData","event","res","FormData","fetch","endpoint","body","method","headers","JSON","stringify","ok","current","scrollIntoView","behavior","block","resData","json","postSubmitCallback","message","redirect","window","location","href","useForm","autocompleteRef","countryInput","setCountryInput","showCountrySelect","setShowCountrySelect","showCountryDropdown","countryDropdownOptions","setCountryDropdownOptions","setShowCountryDropdown","content","firstName","placeholder","required","minLength","onFocus","lastName","email","pattern","country","onChange","e","val","lengthCheck","filter","toLowerCase","indexOf","handleCountryType","relatedTarget","contains","handleCountryClick","termsMessage","consent","active","ariaLabel","icon","iconPosition","rest","iconOnly","createElement","Fragment","LinkButton","as","until","between","start","end","form","regular","paragraphSmall","validation","invalid","li","beige","beigeDark","greyMid","teal","valid","DEFAULT_MIN_VALUE","DEFAULT_MAX_VALUE","ActualDesktop","min","max","minWidth","maxWidth","minRem","maxRem","minWidthRem","maxWidthRem","slope","yAxisIntersection","clampMin","round","clampVal","clampMax","num","Math","inViewMargin","cubicEaseOut","shouldAnimate","innerCss","properties","duration","timing","headingStyles","grande","DesktopLarge","noHeaderMarginStyles","H1","H2","H3","H4","H5","H6","paragraphLarge","paragraphMedium"],"mappings":"qFAAA,kEAIA,MAAMA,EAAOC,IAAOC,IAAG,yEAAVD,CAAU,MACjBE,EAAgBC,YAAG,4OACrBC,YAAW,yCAEOC,IAAMC,UAAUC,KAE3BF,IAAMG,QAAQC,SAKLJ,IAAMG,QAAQC,SACVJ,IAAMG,QAAQC,SACzBJ,IAAMK,MAIEL,IAAMG,QAAQC,UAG7BE,EAAkBR,YAAG,2NACvBC,YAAW,2BAGJC,IAAMK,MACKL,IAAMK,MAKJL,IAAMK,MACjBL,IAAMG,QAAQC,SAINJ,IAAMK,OAGrBE,EAAiBT,YAAG,yMACtBC,YAAW,oBAEOC,IAAMG,QAAQK,MACzBR,IAAMK,MACKL,IAAMG,QAAQK,MAKZR,IAAMG,QAAQC,SAIjBJ,IAAMG,QAAQK,OAG7BC,EAAoBX,YAAG,2NACzBC,YAAW,2BAGJC,IAAMG,QAAQC,SACHJ,IAAMG,QAAQK,MAKZR,IAAMG,QAAQK,MACzBR,IAAMK,MAIEL,IAAMG,QAAQK,OAG7BE,EAAiBZ,YAAG,mMACtBC,YAAW,SAIJC,IAAMG,QAAQC,SAKZJ,IAAMW,MAGJX,IAAMW,MAKfZ,YAAW,SAEJC,IAAMG,QAAQK,OAGrBI,EAAOjB,IAAOC,IAAG,yEAAVD,CAAU,kDAqDVkB,EAAe,CACxBC,OA9CWnB,IAAOoB,OAAM,2EAAbpB,CAAa,ydAUxBD,EACEsB,IAAMC,SAASC,QAAQC,MAevBtB,EAIAS,EAIAC,EAIAE,EAIAC,GAKFE,OACAlB,S,gCC5JJ,6CAMO,MAAM0B,EAActB,YAAG,8E,iCCNvB,MAAMuB,EAEI,oB,wCCGFC,MAHOC,GACVC,gBAAoBC,IAAEC,UAAW,KAAMH,EAAMI,OAAOC,IAAKC,GAAWL,gBAAoBC,IAA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AIVE,EAAKxQ,YAAG,yCACjBoQ,GAKSK,EAAKzQ,YAAG,yCACjBoQ,GAKSM,EAAK1Q,YAAG,yCACjBoQ,GAKSO,EAAK3Q,YAAG,yCACjBoQ,GAKSQ,EAAK5Q,YAAG,yCACjBoQ,GAKSS,EAAK7Q,YAAG,yCACjBoQ,GAQSU,EAAiB9Q,YAAG,kFAC7BkB,IAAMC,SAASC,QAAQC,OASd0P,EAAkB/Q,YAAG,kFAC9BkB,IAAMC,SAASC,QAAQC,OASd4M,EAAiBjO,YAAG,kFAC7BkB,IAAMC,SAASC,QAAQC,OAMdyD,EAAO9E,YAAG,gPACnBC,YAAW,0BAsBFwH,EAAgBzH,YAAG,+hBAG1BwQ,EAKAC,EAKAC,EAKAC,EAKAC,EAIAG,EAIAD,EAIA7C,EAIA6C,EAIA7C,EAIAnJ,EAIA5D,IAAMC,SAASC,QAAQ4M,QAKvB+C,EAwBAD,I,+BC/LN,WACe,KACX3P,SAAU,CACNC,QAAS,CACLC,MAAOrB,YAAG,kFAKVgO,QAAShO,YAAG,mFAMhBqQ,OAAQrQ,YAAG,oF,gCCfnB,WAKA,MAAM4E,EAAS5E,YAAG,qTAaH4E","file":"7-101c561f325801a22112.js","sourcesContent":["import { transition } from '@helpers/animate';\r\nimport brand from '@helpers/brand';\r\nimport fonts from '@helpers/fonts';\r\nimport styled, { css } from 'styled-components';\r\nconst Text = styled.div ``;\r\nconst PrimaryStyles = css `\r\n ${transition('border-color, background-color, color')};\r\n\r\n border: 1px solid ${brand.secondary.grey};\r\n background-color: transparent;\r\n color: ${brand.primary.charcoal};\r\n\r\n &:not(:disabled):active,\r\n &:not(:disabled)[data-selected='true'],\r\n &:not(:disabled):hover {\r\n border-color: ${brand.primary.charcoal};\r\n background-color: ${brand.primary.charcoal};\r\n color: ${brand.white};\r\n }\r\n\r\n &.focus-ring {\r\n outline-color: ${brand.primary.charcoal};\r\n }\r\n`;\r\nconst SecondaryStyles = css `\r\n ${transition('background-color, color')};\r\n\r\n background-color: transparent;\r\n color: ${brand.white};\r\n border: 1px solid ${brand.white};\r\n\r\n &:not(:disabled):active,\r\n &:not(:disabled)[data-selected='true'],\r\n &:not(:disabled):hover {\r\n background-color: ${brand.white};\r\n color: ${brand.primary.charcoal};\r\n }\r\n\r\n &.focus-ring {\r\n outline-color: ${brand.white};\r\n }\r\n`;\r\nconst TertiaryStyles = css `\r\n ${transition('background-color')};\r\n\r\n background-color: ${brand.primary.green};\r\n color: ${brand.white};\r\n border: 1px solid ${brand.primary.green};\r\n\r\n &:not(:disabled):active,\r\n &:not(:disabled)[data-selected='true'],\r\n &:not(:disabled):hover {\r\n background-color: ${brand.primary.charcoal};\r\n }\r\n\r\n &.focus-ring {\r\n outline-color: ${brand.primary.green};\r\n }\r\n`;\r\nconst TertiaryAltStyles = css `\r\n ${transition('background-color, color')};\r\n\r\n background-color: transparent;\r\n color: ${brand.primary.charcoal};\r\n border: 1px solid ${brand.primary.green};\r\n\r\n &:not(:disabled):active,\r\n &:not(:disabled)[data-selected='true'],\r\n &:not(:disabled):hover {\r\n background-color: ${brand.primary.green};\r\n color: ${brand.white};\r\n }\r\n\r\n &.focus-ring {\r\n outline-color: ${brand.primary.green};\r\n }\r\n`;\r\nconst TextOnlyStyles = css `\r\n ${transition('color')};\r\n\r\n border: 1px solid transparent;\r\n background: none;\r\n color: ${brand.primary.charcoal};\r\n\r\n &:not(:disabled):active,\r\n &:not(:disabled)[data-selected='true'],\r\n &:not(:disabled):hover {\r\n color: ${brand.black};\r\n\r\n svg {\r\n color: ${brand.black};\r\n }\r\n }\r\n\r\n svg {\r\n ${transition('color')};\r\n\r\n color: ${brand.primary.green};\r\n }\r\n`;\r\nconst Icon = styled.div `\r\n height: 16px;\r\n\r\n svg {\r\n max-height: 18px;\r\n width: 16px;\r\n }\r\n`;\r\nconst Button = styled.button `\r\n display: flex;\r\n align-items: center;\r\n justify-content: center;\r\n gap: 16px;\r\n padding: 11px 24px 13px;\r\n transition: color 0.3s, background-color 0.3s, border-color 0.3s;\r\n user-select: none;\r\n text-decoration: none;\r\n\r\n ${Text} {\r\n ${fonts.beausite.classic.light};\r\n font-size: 17px;\r\n line-height: 24px;\r\n }\r\n\r\n &.focus-ring {\r\n outline: auto;\r\n outline-offset: 5px;\r\n }\r\n\r\n &:disabled {\r\n opacity: 0.66;\r\n }\r\n\r\n &[data-branding='primary'] {\r\n ${PrimaryStyles};\r\n }\r\n\r\n &[data-branding='secondary'] {\r\n ${SecondaryStyles};\r\n }\r\n\r\n &[data-branding='tertiary'] {\r\n ${TertiaryStyles};\r\n }\r\n\r\n &[data-branding='tertiary-alt'] {\r\n ${TertiaryAltStyles};\r\n }\r\n\r\n &[data-branding='textOnly'] {\r\n ${TextOnlyStyles};\r\n }\r\n`;\r\nexport const ButtonStyles = {\r\n Button,\r\n Icon,\r\n Text,\r\n};\r\n","import { css } from 'styled-components';\r\nexport default {\r\n navHeight: 107,\r\n navHeightTablet: 80,\r\n navHeightMobile: 59,\r\n};\r\nexport const ButtonReset = css `\r\n border: none;\r\n outline: none;\r\n padding: 0px;\r\n background: none;\r\n border-radius: 0px;\r\n`;\r\n","export const API_URLS = {\r\n // Form Endpoints\r\n contactForm: '/api/contact-form',\r\n postDemoForm: '/api/demo-form',\r\n};\r\n","import * as React from 'react';\r\nimport S from './Form.styles';\r\nconst ErrorSummary = (props) => {\r\n return (React.createElement(S.ErrorList, null, props.errors.map((error) => (React.createElement(S.ErrorListItem, { key: error }, error)))));\r\n};\r\nexport default ErrorSummary;\r\n","import Button from '@stories/Components/Buttons/GeneralButton/Button';\r\nimport * as React from 'react';\r\nimport ErrorSummary from './ErrorSummary';\r\nimport S from './Form.styles';\r\nconst Form = ({ children, confirmationMessage, errors = [], inputType = 'default', showSubmit = true, status = 'initial', submitLabel, onSubmit, }) => {\r\n return (React.createElement(S.Form, { onSubmit: onSubmit, \"data-form-type\": inputType },\r\n status === 'error' && errors.length > 0 && React.createElement(ErrorSummary, { errors: errors }),\r\n status === 'fulfilled' && confirmationMessage && (React.createElement(S.ConfirmationMessage, { dangerouslySetInnerHTML: { __html: confirmationMessage } })),\r\n status !== 'fulfilled' && children,\r\n status !== 'fulfilled' && showSubmit && (React.createElement(S.SubmitWrapper, null,\r\n React.createElement(Button, { branding: inputType === 'inverted' ? 'secondary' : 'primary', disabled: status === 'pending', type: \"submit\", text: submitLabel })))));\r\n};\r\nexport default Form;\r\n","import * as React from 'react';\r\nimport S from './Form.styles';\r\nconst FormField = ({ children, description, error, label, name, showLabel = true, ...otherProps }) => {\r\n return (React.createElement(S.Field, { ...otherProps },\r\n label && (React.createElement(S.Label, { htmlFor: Array.isArray(name) ? name[0] : name, \"data-hide\": !showLabel }, label)),\r\n description && React.createElement(S.Description, { dangerouslySetInnerHTML: { __html: description } }),\r\n children,\r\n error && React.createElement(S.Error, null, error)));\r\n};\r\nexport default FormField;\r\n","import * as React from 'react';\r\nimport S from './Form.styles';\r\nconst FormRow = ({ columnCount = 1, children, ...props }) => {\r\n return (React.createElement(S.Row, { \"data-double-column\": columnCount === 2, ...props }, children));\r\n};\r\nexport default FormRow;\r\n","var _path;\nfunction _extends() { _extends = Object.assign ? Object.assign.bind() : 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); }\nimport * as React from \"react\";\nfunction SvgTickCharcoal(props) {\n return /*#__PURE__*/React.createElement(\"svg\", _extends({\n xmlns: \"http://www.w3.org/2000/svg\",\n viewBox: \"0 0 10.461 8.047\"\n }, props), _path || (_path = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M.121 4.426a.389.389 0 010-.563L.684 3.3a.389.389 0 01.563 0l.04.04L3.5 5.714a.194.194 0 00.282 0L9.174.121h.04a.389.389 0 01.563 0l.563.563a.389.389 0 010 .563L3.9 7.927a.389.389 0 01-.563 0L.2 4.547l-.08-.121z\",\n fill: \"currentColor\"\n })));\n}\nexport default __webpack_public_path__ + \"70f0ca36514874d33994afafccf7d582.svg\";\nexport { SvgTickCharcoal as ReactComponent };","var _path;\nfunction _extends() { _extends = Object.assign ? Object.assign.bind() : 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); }\nimport * as React from \"react\";\nfunction SvgTickWhite(props) {\n return /*#__PURE__*/React.createElement(\"svg\", _extends({\n xmlns: \"http://www.w3.org/2000/svg\",\n viewBox: \"0 0 10.461 8.047\"\n }, props), _path || (_path = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M.121 4.426a.389.389 0 010-.563L.684 3.3a.389.389 0 01.563 0l.04.04L3.5 5.714a.194.194 0 00.282 0L9.174.121h.04a.389.389 0 01.563 0l.563.563a.389.389 0 010 .563L3.9 7.927a.389.389 0 01-.563 0L.2 4.547l-.08-.121z\",\n fill: \"#fff\"\n })));\n}\nexport default __webpack_public_path__ + \"f4264fed6b9c7f2f5267ffb08b4bb7f3.svg\";\nexport { SvgTickWhite as ReactComponent };","import brand from '@helpers/brand';\r\nimport fonts from '@helpers/fonts';\r\nimport { Device, from } from '@helpers/media';\r\nimport srOnly from '@helpers/srOnly';\r\nimport { link } from '@helpers/typography';\r\nimport svgTick from '@img/icons/tick-charcoal.svg';\r\nimport svgTickWhite from '@img/icons/tick-white.svg';\r\nimport styled from 'styled-components';\r\nconst Container = styled.div `\r\n --activeImage: url(${svgTick});\r\n --primaryColor: ${brand.primary.charcoal};\r\n --secondaryColor: transparent;\r\n\r\n display: flex;\r\n flex-wrap: wrap;\r\n gap: 12px 24px;\r\n\r\n &[data-layout='horizontal'] {\r\n flex-direction: column;\r\n\r\n @media ${from(Device.Tablet)} {\r\n flex-direction: row;\r\n }\r\n }\r\n\r\n &[data-input-type='inverted'] {\r\n --activeImage: url(${svgTickWhite});\r\n --primaryColor: ${brand.white};\r\n }\r\n\r\n &[data-layout='vertical'] {\r\n flex-direction: column;\r\n }\r\n\r\n &[data-size='small'] {\r\n gap: 10px 20px;\r\n }\r\n`;\r\nconst Option = styled.div `\r\n display: flex;\r\n`;\r\nconst Input = styled.input `\r\n /* Ensure iOS doesn't apply default border radius */\r\n -webkit-appearance: none !important;\r\n\r\n ${srOnly};\r\n\r\n &.focus-ring + label::before {\r\n outline: auto;\r\n outline-offset: 5px;\r\n }\r\n`;\r\nconst Label = styled.label `\r\n ${fonts.beausite.classic.light};\r\n\r\n display: flex;\r\n align-items: center;\r\n gap: 10px;\r\n cursor: pointer;\r\n font-size: 17px;\r\n line-height: 24px;\r\n color: var(--primaryColor);\r\n\r\n a {\r\n ${link};\r\n }\r\n\r\n &::before {\r\n content: '';\r\n display: block;\r\n height: 17px;\r\n width: 17px;\r\n background: var(--secondaryColor) no-repeat center center;\r\n background-size: 13px 13px;\r\n border: 1px solid var(--primaryColor);\r\n }\r\n\r\n ${Input}:checked + &::before {\r\n background-image: var(--activeImage);\r\n }\r\n\r\n ${Container}[data-size='small'] & {\r\n gap: 8px;\r\n font-size: 13px;\r\n line-height: 18px;\r\n\r\n &::before {\r\n height: 14px;\r\n width: 14px;\r\n background-size: 10px 10px;\r\n }\r\n }\r\n`;\r\nconst Text = styled.span `\r\n flex: 1 1 0;\r\n`;\r\nconst CheckboxListStyles = {\r\n Container,\r\n Input,\r\n Label,\r\n Option,\r\n Text,\r\n};\r\nexport default CheckboxListStyles;\r\n","import * as React from 'react';\r\nimport { FocusRing } from 'react-aria';\r\nimport S from './CheckboxList.styles';\r\nconst CheckboxListOption = React.forwardRef((props, ref) => {\r\n const { children, ...otherProps } = props;\r\n const id = `${otherProps.name}-${otherProps.value}`;\r\n return (React.createElement(S.Option, null,\r\n React.createElement(FocusRing, { focusRingClass: \"focus-ring\" },\r\n React.createElement(S.Input, { ref: ref, id: id, type: \"checkbox\", value: otherProps.value, ...otherProps })),\r\n React.createElement(S.Label, { htmlFor: id },\r\n React.createElement(S.Text, null, children))));\r\n});\r\nCheckboxListOption.displayName = 'CheckboxListOption';\r\nexport { CheckboxListOption };\r\nconst CheckboxList = (props) => {\r\n return (React.createElement(S.Container, { \"data-input-type\": props.inputType ?? 'default', \"data-layout\": props.layout ?? 'horizontal', \"data-size\": props.size ?? 'default' }, props.children));\r\n};\r\nCheckboxList.displayName = 'CheckboxList';\r\nexport default CheckboxList;\r\n","var _path;\nfunction _extends() { _extends = Object.assign ? Object.assign.bind() : 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); }\nimport * as React from \"react\";\nfunction SvgChevronDown(props) {\n return /*#__PURE__*/React.createElement(\"svg\", _extends({\n width: 19,\n height: 10,\n xmlns: \"http://www.w3.org/2000/svg\"\n }, props), _path || (_path = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M.3.844l9.2 8.55h.05L18.6.844v-.8l-9.15 5.15L.3.044v.8z\",\n fill: \"currentColor\"\n })));\n}\nexport default __webpack_public_path__ + \"fce53012a69bab5c6ceb5fe229103b66.svg\";\nexport { SvgChevronDown as ReactComponent };","import { transition } from '@helpers/animate';\r\nimport brand from '@helpers/brand';\r\nimport fonts from '@helpers/fonts';\r\nimport styled from 'styled-components';\r\nconst Wrapper = styled.div `\r\n --arrowHeight: 10px;\r\n --arrowWidth: 19px;\r\n --inputHeight: 28px;\r\n --primaryColor: ${brand.primary.charcoal};\r\n\r\n position: relative;\r\n\r\n &[data-input-type='inverted'] {\r\n --primaryColor: ${brand.white};\r\n }\r\n`;\r\nconst Select = styled.select `\r\n ${transition('opacity')};\r\n ${fonts.beausite.classic.light};\r\n\r\n /* Ensure iOS doesn't apply default border radius */\r\n -webkit-appearance: none !important;\r\n border-radius: 0;\r\n\r\n display: block;\r\n border: 0;\r\n border-bottom: 1px solid var(--primaryColor);\r\n color: var(--primaryColor);\r\n font-size: 16px;\r\n letter-spacing: -0.02em;\r\n line-height: 24px;\r\n margin: 0;\r\n height: var(--inputHeight);\r\n width: 100%;\r\n opacity: 1;\r\n padding: 2px calc(var(--arrowWidth) + 2px) 2px 2px;\r\n text-transform: none;\r\n background: transparent;\r\n\r\n &:disabled {\r\n opacity: 0.5;\r\n }\r\n\r\n &.focus-ring {\r\n outline: auto;\r\n outline-offset: 5px;\r\n }\r\n\r\n option {\r\n color: ${brand.black};\r\n }\r\n`;\r\nconst Arrow = styled.div `\r\n ${transition('transform')};\r\n\r\n position: absolute;\r\n right: 0;\r\n top: 0;\r\n width: var(--arrowWidth);\r\n height: var(--inputHeight);\r\n display: flex;\r\n align-items: center;\r\n color: var(--primaryColor);\r\n pointer-events: none;\r\n\r\n > svg {\r\n width: var(--arrowWidth);\r\n height: var(--arrowHeight);\r\n }\r\n\r\n ${Wrapper}[data-active='true'] & {\r\n transform: rotate(180deg);\r\n }\r\n`;\r\nconst SelectStyles = {\r\n Arrow,\r\n Select,\r\n Wrapper,\r\n};\r\nexport default SelectStyles;\r\n","import { ReactComponent as SvgChevron } from '@img/icons/chevron-down.svg';\r\nimport * as React from 'react';\r\nimport { FocusRing } from 'react-aria';\r\nimport S from './Select.styles';\r\nconst Select = React.forwardRef(({ inputType = 'default', ...otherProps }, ref) => {\r\n const [isFocused, setIsFocused] = React.useState(false);\r\n return (React.createElement(S.Wrapper, { \"data-input-type\": inputType, \"data-active\": isFocused },\r\n React.createElement(FocusRing, { focusRingClass: \"focus-ring\" },\r\n React.createElement(S.Select, { ref: ref, ...otherProps, onClick: () => setIsFocused(!isFocused), onBlur: () => setIsFocused(false) })),\r\n React.createElement(S.Arrow, null,\r\n React.createElement(SvgChevron, null))));\r\n});\r\nSelect.displayName = 'Select';\r\nexport default Select;\r\n","import { transition } from '@helpers/animate';\r\nimport brand from '@helpers/brand';\r\nimport fonts from '@helpers/fonts';\r\nimport styled from 'styled-components';\r\nconst Input = styled.input `\r\n --primaryColor: ${brand.primary.charcoal};\r\n\r\n ${transition('opacity')};\r\n ${fonts.beausite.classic.light};\r\n\r\n /* Ensure iOS doesn't apply default border radius */\r\n -webkit-appearance: none !important;\r\n border-radius: 0;\r\n\r\n display: block;\r\n border: 0;\r\n border-bottom: var(--primaryColor) 1px solid;\r\n color: var(--primaryColor);\r\n font-size: 16px;\r\n letter-spacing: -0.02em;\r\n line-height: 24px;\r\n margin: 0;\r\n height: 28px;\r\n width: 100%;\r\n opacity: 1;\r\n padding: 2px;\r\n text-transform: none;\r\n background: transparent;\r\n\r\n &[data-input-type='inverted'] {\r\n --primaryColor: ${brand.white};\r\n }\r\n\r\n &::placeholder {\r\n color: var(--primaryColor);\r\n }\r\n\r\n &:disabled {\r\n opacity: 0.5;\r\n }\r\n\r\n &.focus-ring {\r\n outline: auto;\r\n outline-offset: 5px;\r\n }\r\n`;\r\nexport default {\r\n Input,\r\n};\r\n","import * as React from 'react';\r\nimport { FocusRing } from 'react-aria';\r\nimport S from './Textbox.styles';\r\nconst Textbox = React.forwardRef(({ inputType = 'default', ...otherProps }, ref) => {\r\n return (React.createElement(FocusRing, { focusRingClass: \"focus-ring\" },\r\n React.createElement(S.Input, { ref: ref, \"data-input-type\": inputType, ...otherProps })));\r\n});\r\nTextbox.displayName = 'Textbox';\r\nexport default Textbox;\r\n","import { css } from 'styled-components';\r\nimport brand from './brand';\r\nexport default css `\r\n &::-webkit-scrollbar-track {\r\n background-color: ${brand.secondary.grey};\r\n }\r\n\r\n &::-webkit-scrollbar {\r\n background-color: ${brand.secondary.grey};\r\n height: 6px;\r\n width: 6px;\r\n }\r\n\r\n &::-webkit-scrollbar-thumb {\r\n background-color: ${brand.primary.charcoal};\r\n border-radius: 0;\r\n cursor: pointer;\r\n }\r\n`;\r\n","import brand from '@helpers/brand';\r\nimport { fluid } from '@helpers/fluid';\r\nimport fonts from '@helpers/fonts';\r\nimport { ButtonReset } from '@helpers/global';\r\nimport scrollbars from '@helpers/scrollbars';\r\nimport { contentStyles, link } from '@helpers/typography';\r\nimport FormStyles from '@stories/Components/Forms/Form.styles';\r\nimport SelectStyles from '@stories/Components/Forms/Inputs/Select/Select.styles';\r\nimport styled from 'styled-components';\r\nconst Container = styled.div `\r\n ${FormStyles.Field} {\r\n text-align: left;\r\n }\r\n\r\n ${FormStyles.Field}[data-show-select='false'] {\r\n ${SelectStyles.Wrapper} {\r\n display: none;\r\n }\r\n }\r\n`;\r\nconst Content = styled.div `\r\n ${contentStyles};\r\n\r\n position: relative;\r\n margin-bottom: ${fluid(32, 48)};\r\n`;\r\nconst CountrySelectButton = styled.button `\r\n ${ButtonReset};\r\n ${fonts.beausite.classic.light};\r\n ${link};\r\n\r\n color: var(--primaryColor);\r\n padding-bottom: 4px;\r\n text-align: left;\r\n font-size: 13px;\r\n`;\r\nconst AutocompleteWrapper = styled.div `\r\n position: relative;\r\n`;\r\nconst AutocompleteOptions = styled.ul `\r\n ${scrollbars};\r\n\r\n background: ${brand.white};\r\n width: 100%;\r\n padding: 6px 0;\r\n position: absolute;\r\n top: 100%;\r\n left: 0;\r\n z-index: 1;\r\n max-height: 300px;\r\n overflow: auto;\r\n`;\r\nconst AutocompleteOption = styled.button `\r\n ${ButtonReset};\r\n ${fonts.beausite.classic.light};\r\n ${link};\r\n\r\n color: ${brand.primary.charcoal};\r\n padding: 6px 12px;\r\n text-align: left;\r\n font-size: 13px;\r\n`;\r\nconst ContactFormStyles = {\r\n AutocompleteOption,\r\n AutocompleteOptions,\r\n AutocompleteWrapper,\r\n Container,\r\n Content,\r\n CountrySelectButton,\r\n};\r\nexport default ContactFormStyles;\r\n","import { transition } from '@helpers/animate';\r\nimport brand from '@helpers/brand';\r\nimport fonts from '@helpers/fonts';\r\nimport styled from 'styled-components';\r\nconst Input = styled.textarea `\r\n --primaryColor: ${brand.primary.charcoal};\r\n\r\n ${transition('opacity')};\r\n ${fonts.beausite.classic.light};\r\n\r\n display: block;\r\n border: var(--primaryColor) 1px solid;\r\n color: var(--primaryColor);\r\n font-size: 16px;\r\n letter-spacing: -0.02em;\r\n line-height: 24px;\r\n margin: 0;\r\n min-height: 128px;\r\n width: 100%;\r\n opacity: 1;\r\n padding: 2px;\r\n text-transform: none;\r\n background: transparent;\r\n\r\n &[data-input-type='inverted'] {\r\n --primaryColor: ${brand.white};\r\n }\r\n\r\n &::placeholder {\r\n color: var(--primaryColor);\r\n }\r\n\r\n &:disabled {\r\n opacity: 0.5;\r\n }\r\n\r\n &.focus-ring {\r\n outline: auto;\r\n outline-offset: 5px;\r\n }\r\n`;\r\nexport default {\r\n Input,\r\n};\r\n","import * as React from 'react';\r\nimport { FocusRing } from 'react-aria';\r\nimport S from './Textarea.styles';\r\nconst Textarea = React.forwardRef(({ inputType = 'default', ...otherProps }, ref) => {\r\n return (React.createElement(FocusRing, { focusRingClass: \"focus-ring\" },\r\n React.createElement(S.Input, { ref: ref, \"data-input-type\": inputType, ...otherProps })));\r\n});\r\nTextarea.displayName = 'Textarea';\r\nexport default Textarea;\r\n","import { API_URLS } from '@helpers/api';\r\nimport { useForm } from '@hooks/useForm';\r\nimport Form from '@stories/Components/Forms/Form';\r\nimport FormField from '@stories/Components/Forms/FormField';\r\nimport FormRow from '@stories/Components/Forms/FormRow';\r\nimport CheckboxList, { CheckboxListOption, } from '@stories/Components/Forms/Inputs/CheckboxList/CheckboxList';\r\nimport Select from '@stories/Components/Forms/Inputs/Select/Select';\r\nimport Textbox from '@stories/Components/Forms/Inputs/Textbox/Textbox';\r\nimport * as React from 'react';\r\nimport { FocusRing } from 'react-aria';\r\nimport S from './ContactForm.styles';\r\nimport Textarea from '../Forms/Inputs/Textarea/Textarea';\r\nexport const countries = [\r\n { name: 'Afghanistan', code: 'AF' },\r\n { name: 'Åland Islands', code: 'AX' },\r\n { name: 'Albania', code: 'AL' },\r\n { name: 'Algeria', code: 'DZ' },\r\n { name: 'American Samoa', code: 'AS' },\r\n { name: 'Andorra', code: 'AD' },\r\n { name: 'Angola', code: 'AO' },\r\n { name: 'Anguilla', code: 'AI' },\r\n { name: 'Antarctica', code: 'AQ' },\r\n { name: 'Antigua and Barbuda', code: 'AG' },\r\n { name: 'Argentina', code: 'AR' },\r\n { name: 'Armenia', code: 'AM' },\r\n { name: 'Aruba', code: 'AW' },\r\n { name: 'Australia', code: 'AU' },\r\n { name: 'Austria', code: 'AT' },\r\n { name: 'Azerbaijan', code: 'AZ' },\r\n { name: 'Bahamas', code: 'BS' },\r\n { name: 'Bahrain', code: 'BH' },\r\n { name: 'Bangladesh', code: 'BD' },\r\n { name: 'Barbados', code: 'BB' },\r\n { name: 'Belarus', code: 'BY' },\r\n { name: 'Belgium', code: 'BE' },\r\n { name: 'Belize', code: 'BZ' },\r\n { name: 'Benin', code: 'BJ' },\r\n { name: 'Bermuda', code: 'BM' },\r\n { name: 'Bhutan', code: 'BT' },\r\n { name: 'Bolivia', code: 'BO' },\r\n { name: 'Bosnia and Herzegovina', code: 'BA' },\r\n { name: 'Botswana', code: 'BW' },\r\n { name: 'Bouvet Island', code: 'BV' },\r\n { name: 'Brazil', code: 'BR' },\r\n { name: 'British Indian Ocean Territory', code: 'IO' },\r\n { name: 'British Virgin Islands', code: 'VG' },\r\n { name: 'Brunei', code: 'BN' },\r\n { name: 'Bulgaria', code: 'BG' },\r\n { name: 'Burkina Faso', code: 'BF' },\r\n { name: 'Burundi', code: 'BI' },\r\n { name: 'Cambodia', code: 'KH' },\r\n { name: 'Cameroon', code: 'CM' },\r\n { name: 'Canada', code: 'CA' },\r\n { name: 'Cape Verde', code: 'CV' },\r\n { name: 'Cayman Islands', code: 'KY' },\r\n { name: 'Central African Republic', code: 'CF' },\r\n { name: 'Chad', code: 'TD' },\r\n { name: 'Chile', code: 'CL' },\r\n { name: 'China', code: 'CN' },\r\n { name: 'Christmas Island', code: 'CX' },\r\n { name: 'Cocos (Keeling) Islands', code: 'CC' },\r\n { name: 'Colombia', code: 'CO' },\r\n { name: 'Comoros', code: 'KM' },\r\n { name: 'Congo', code: 'CG' },\r\n { name: 'Congo (Democratic Republic)', code: 'CD' },\r\n { name: 'Cook Islands', code: 'CK' },\r\n { name: 'Costa Rica', code: 'CR' },\r\n { name: 'Croatia', code: 'HR' },\r\n { name: 'Cuba', code: 'CU' },\r\n { name: 'Cyprus', code: 'CY' },\r\n { name: 'Czech Republic', code: 'CZ' },\r\n { name: 'Denmark', code: 'DK' },\r\n { name: 'Djibouti', code: 'DJ' },\r\n { name: 'Dominica', code: 'DM' },\r\n { name: 'Dominican Republic', code: 'DO' },\r\n { name: 'Ecuador', code: 'EC' },\r\n { name: 'Egypt', code: 'EG' },\r\n { name: 'El Salvador', code: 'SV' },\r\n { name: 'Equatorial Guinea', code: 'GQ' },\r\n { name: 'Eritrea', code: 'ER' },\r\n { name: 'Estonia', code: 'EE' },\r\n { name: 'Ethiopia', code: 'ET' },\r\n { name: 'Falkland Islands', code: 'FK' },\r\n { name: 'Faroe Islands', code: 'FO' },\r\n { name: 'Fiji', code: 'FJ' },\r\n { name: 'Finland', code: 'FI' },\r\n { name: 'France', code: 'FR' },\r\n { name: 'French Guiana', code: 'GF' },\r\n { name: 'French Polynesia', code: 'PF' },\r\n { name: 'French Southern Territories', code: 'TF' },\r\n { name: 'Gabon', code: 'GA' },\r\n { name: 'Gambia', code: 'GM' },\r\n { name: 'Georgia', code: 'GE' },\r\n { name: 'Germany', code: 'DE' },\r\n { name: 'Ghana', code: 'GH' },\r\n { name: 'Gibraltar', code: 'GI' },\r\n { name: 'Greece', code: 'GR' },\r\n { name: 'Greenland', code: 'GL' },\r\n { name: 'Grenada', code: 'GD' },\r\n { name: 'Guadeloupe', code: 'GP' },\r\n { name: 'Guam', code: 'GU' },\r\n { name: 'Guatemala', code: 'GT' },\r\n { name: 'Guernsey', code: 'GG' },\r\n { name: 'Guinea', code: 'GN' },\r\n { name: 'Guinea-Bissau', code: 'GW' },\r\n { name: 'Guyana', code: 'GY' },\r\n { name: 'Haiti', code: 'HT' },\r\n { name: 'Heard Island and Mcdonald Islands', code: 'HM' },\r\n { name: 'Holy See (Vatican City State)', code: 'VA' },\r\n { name: 'Honduras', code: 'HN' },\r\n { name: 'Hong Kong', code: 'HK' },\r\n { name: 'Hungary', code: 'HU' },\r\n { name: 'Iceland', code: 'IS' },\r\n { name: 'India', code: 'IN' },\r\n { name: 'Indonesia', code: 'ID' },\r\n { name: 'Iran', code: 'IR' },\r\n { name: 'Iraq', code: 'IQ' },\r\n { name: 'Ireland', code: 'IE' },\r\n { name: 'Isle of Man', code: 'IM' },\r\n { name: 'Israel', code: 'IL' },\r\n { name: 'Italy', code: 'IT' },\r\n { name: 'Ivory Coast', code: 'CI' },\r\n { name: 'Jamaica', code: 'JM' },\r\n { name: 'Japan', code: 'JP' },\r\n { name: 'Jersey', code: 'JE' },\r\n { name: 'Jordan', code: 'JO' },\r\n { name: 'Kazakhstan', code: 'KZ' },\r\n { name: 'Kenya', code: 'KE' },\r\n { name: 'Kiribati', code: 'KI' },\r\n { name: 'Kuwait', code: 'KW' },\r\n { name: 'Kyrgyzstan', code: 'KG' },\r\n { name: 'Laos', code: 'LA' },\r\n { name: 'Latvia', code: 'LV' },\r\n { name: 'Lebanon', code: 'LB' },\r\n { name: 'Lesotho', code: 'LS' },\r\n { name: 'Liberia', code: 'LR' },\r\n { name: 'Libya', code: 'LY' },\r\n { name: 'Liechtenstein', code: 'LI' },\r\n { name: 'Lithuania', code: 'LT' },\r\n { name: 'Luxembourg', code: 'LU' },\r\n { name: 'Macao', code: 'MO' },\r\n { name: 'Macedonia', code: 'MK' },\r\n { name: 'Madagascar', code: 'MG' },\r\n { name: 'Malawi', code: 'MW' },\r\n { name: 'Malaysia', code: 'MY' },\r\n { name: 'Maldives', code: 'MV' },\r\n { name: 'Mali', code: 'ML' },\r\n { name: 'Malta', code: 'MT' },\r\n { name: 'Marshall Islands', code: 'MH' },\r\n { name: 'Martinique', code: 'MQ' },\r\n { name: 'Mauritania', code: 'MR' },\r\n { name: 'Mauritius', code: 'MU' },\r\n { name: 'Mayotte', code: 'YT' },\r\n { name: 'Mexico', code: 'MX' },\r\n { name: 'Micronesia', code: 'FM' },\r\n { name: 'Moldova', code: 'MD' },\r\n { name: 'Monaco', code: 'MC' },\r\n { name: 'Mongolia', code: 'MN' },\r\n { name: 'Montserrat', code: 'MS' },\r\n { name: 'Morocco', code: 'MA' },\r\n { name: 'Mozambique', code: 'MZ' },\r\n { name: 'Myanmar', code: 'MM' },\r\n { name: 'Namibia', code: 'NA' },\r\n { name: 'Nauru', code: 'NR' },\r\n { name: 'Nepal', code: 'NP' },\r\n { name: 'Netherlands', code: 'NL' },\r\n { name: 'New Caledonia', code: 'NC' },\r\n { name: 'New Zealand', code: 'NZ' },\r\n { name: 'Nicaragua', code: 'NI' },\r\n { name: 'Niger', code: 'NE' },\r\n { name: 'Nigeria', code: 'NG' },\r\n { name: 'Niue', code: 'NU' },\r\n { name: 'Norfolk Island', code: 'NF' },\r\n { name: 'Northern Mariana Islands', code: 'MP' },\r\n { name: 'North Korea', code: 'KP' },\r\n { name: 'Norway', code: 'NO' },\r\n { name: 'Oman', code: 'OM' },\r\n { name: 'Pakistan', code: 'PK' },\r\n { name: 'Palau', code: 'PW' },\r\n { name: 'Palestine', code: 'PS' },\r\n { name: 'Panama', code: 'PA' },\r\n { name: 'Papua New Guinea', code: 'PG' },\r\n { name: 'Paraguay', code: 'PY' },\r\n { name: 'Peru', code: 'PE' },\r\n { name: 'Philippines', code: 'PH' },\r\n { name: 'Pitcairn', code: 'PN' },\r\n { name: 'Poland', code: 'PL' },\r\n { name: 'Portugal', code: 'PT' },\r\n { name: 'Puerto Rico', code: 'PR' },\r\n { name: 'Qatar', code: 'QA' },\r\n { name: 'Reunion', code: 'RE' },\r\n { name: 'Romania', code: 'RO' },\r\n { name: 'Russia', code: 'RU' },\r\n { name: 'Rwanda', code: 'RW' },\r\n { name: 'Saint Helena', code: 'SH' },\r\n { name: 'Saint Kitts and Nevis', code: 'KN' },\r\n { name: 'Saint Lucia', code: 'LC' },\r\n { name: 'Saint Pierre and Miquelon', code: 'PM' },\r\n { name: 'Saint Vincent and the Grenadines', code: 'VC' },\r\n { name: 'Samoa', code: 'WS' },\r\n { name: 'San Marino', code: 'SM' },\r\n { name: 'Sao Tome and Principe', code: 'ST' },\r\n { name: 'Saudi Arabia', code: 'SA' },\r\n { name: 'Senegal', code: 'SN' },\r\n { name: 'Serbia and Montenegro', code: 'CS' },\r\n { name: 'Seychelles', code: 'SC' },\r\n { name: 'Sierra Leone', code: 'SL' },\r\n { name: 'Singapore', code: 'SG' },\r\n { name: 'Slovakia', code: 'SK' },\r\n { name: 'Slovenia', code: 'SI' },\r\n { name: 'Solomon Islands', code: 'SB' },\r\n { name: 'Somalia', code: 'SO' },\r\n { name: 'South Africa', code: 'ZA' },\r\n { name: 'South Georgia and the South Sandwich Islands', code: 'GS' },\r\n { name: 'South Korea', code: 'KR' },\r\n { name: 'Spain', code: 'ES' },\r\n { name: 'Sri Lanka', code: 'LK' },\r\n { name: 'Sudan', code: 'SD' },\r\n { name: 'Suriname', code: 'SR' },\r\n { name: 'Svalbard and Jan Mayen', code: 'SJ' },\r\n { name: 'Swaziland', code: 'SZ' },\r\n { name: 'Sweden', code: 'SE' },\r\n { name: 'Switzerland', code: 'CH' },\r\n { name: 'Syria', code: 'SY' },\r\n { name: 'Taiwan', code: 'TW' },\r\n { name: 'Tajikistan', code: 'TJ' },\r\n { name: 'Tanzania', code: 'TZ' },\r\n { name: 'Thailand', code: 'TH' },\r\n { name: 'Timor-Leste', code: 'TL' },\r\n { name: 'Togo', code: 'TG' },\r\n { name: 'Tokelau', code: 'TK' },\r\n { name: 'Tonga', code: 'TO' },\r\n { name: 'Trinidad and Tobago', code: 'TT' },\r\n { name: 'Tunisia', code: 'TN' },\r\n { name: 'Turkey', code: 'TR' },\r\n { name: 'Turkmenistan', code: 'TM' },\r\n { name: 'Turks and Caicos Islands', code: 'TC' },\r\n { name: 'Tuvalu', code: 'TV' },\r\n { name: 'Uganda', code: 'UG' },\r\n { name: 'Ukraine', code: 'UA' },\r\n { name: 'United Arab Emirates', code: 'AE' },\r\n { name: 'United Kingdom', code: 'GB' },\r\n { name: 'United States', code: 'US' },\r\n { name: 'United States Minor Outlying Islands', code: 'UM' },\r\n { name: 'United States Virgin Islands', code: 'VI' },\r\n { name: 'Uruguay', code: 'UY' },\r\n { name: 'Uzbekistan', code: 'UZ' },\r\n { name: 'Vanuatu', code: 'VU' },\r\n { name: 'Venezuela', code: 'VE' },\r\n { name: 'Vietnam', code: 'VN' },\r\n { name: 'Wallis and Futuna', code: 'WF' },\r\n { name: 'Western Sahara', code: 'EH' },\r\n { name: 'Yemen', code: 'YE' },\r\n { name: 'Zambia', code: 'ZM' },\r\n { name: 'Zimbabwe', code: 'ZW' },\r\n];\r\nconst ContactForm = (props) => {\r\n const { confirmationMessage, onSubmit, refContainer, serverErrors, status, useReactHookFormReturn: { formState: { errors }, register, setValue, }, } = useForm({ endpoint: API_URLS.contactForm, mode: 'json' });\r\n const handleCountryType = (e) => {\r\n const val = e.target.value;\r\n const lengthCheck = val.length >= 2;\r\n setCountryInput(val);\r\n setCountryDropdownOptions(lengthCheck\r\n ? countries.filter((country) => country.name.toLowerCase().indexOf(val.toLowerCase()) !== -1)\r\n : []);\r\n setShowCountryDropdown(lengthCheck);\r\n };\r\n const autocompleteRef = React.useRef(null);\r\n const [countryInput, setCountryInput] = React.useState('');\r\n const [showCountrySelect, setShowCountrySelect] = React.useState(props.showCountryDropdown ?? false);\r\n const [countryDropdownOptions, setCountryDropdownOptions] = React.useState([]);\r\n const [showCountryDropdown, setShowCountryDropdown] = React.useState(false);\r\n const handleCountryClick = (country) => {\r\n setCountryDropdownOptions([]);\r\n setCountryInput(country.name);\r\n setValue('country', country.code);\r\n setShowCountryDropdown(false);\r\n };\r\n return (React.createElement(S.Container, { ref: refContainer },\r\n status !== 'fulfilled' && props.content && (React.createElement(React.Fragment, null, typeof props.content === 'string' ? (React.createElement(S.Content, { dangerouslySetInnerHTML: { __html: props.content } })) : (React.createElement(S.Content, null, props.content)))),\r\n React.createElement(Form, { confirmationMessage: confirmationMessage, errors: serverErrors, inputType: props.type, status: status, submitLabel: \"Submit\", onSubmit: onSubmit },\r\n React.createElement(FormRow, null,\r\n React.createElement(FormField, { error: errors.firstName?.message, name: \"firstName\", label: \"First Name *\", showLabel: false },\r\n React.createElement(Textbox, { id: \"firstName\", inputType: props.type, placeholder: \"First Name *\", type: \"text\", ...register('firstName', {\r\n required: `Required`,\r\n minLength: { value: 2, message: 'Too short!' },\r\n }), onFocus: () => setShowCountryDropdown(false) }))),\r\n React.createElement(FormRow, null,\r\n React.createElement(FormField, { error: errors.lastName?.message, name: \"lastName\", label: \"Last Name *\", showLabel: false },\r\n React.createElement(Textbox, { id: \"lastName\", inputType: props.type, placeholder: \"Last Name *\", type: \"text\", ...register('lastName', { required: `Required` }), onFocus: () => setShowCountryDropdown(false) }))),\r\n React.createElement(FormRow, null,\r\n React.createElement(FormField, { error: errors.email?.message, name: \"email\", label: \"Email *\", showLabel: false },\r\n React.createElement(Textbox, { id: \"email\", inputType: props.type, placeholder: \"Email *\", type: \"text\", ...register('email', {\r\n pattern: {\r\n message: `Please enter a valid email address`,\r\n value: /^(.+)@(.+)$/,\r\n },\r\n required: `Please enter your email address`,\r\n }), onFocus: () => setShowCountryDropdown(false) }))),\r\n React.createElement(FormRow, { columnCount: 2, \"data-has-autocomplete\": true },\r\n React.createElement(FormField, { error: errors.country?.message, name: \"country\", label: \"Country *\", showLabel: false, \"data-show-select\": showCountrySelect },\r\n !showCountrySelect && (React.createElement(S.AutocompleteWrapper, null,\r\n React.createElement(Textbox, { inputType: props.type, placeholder: \"Country *\", type: \"text\", onChange: (e) => handleCountryType(e), onBlur: (e) => {\r\n const { relatedTarget } = e;\r\n if (relatedTarget && autocompleteRef.current?.contains(relatedTarget)) {\r\n return;\r\n }\r\n setShowCountryDropdown(false);\r\n }, onFocus: () => {\r\n if (countryInput) {\r\n setShowCountryDropdown(true);\r\n }\r\n }, value: countryInput }),\r\n showCountryDropdown && countryDropdownOptions.length > 0 && (React.createElement(S.AutocompleteOptions, { ref: autocompleteRef }, countryDropdownOptions.map((country) => (React.createElement(\"li\", { key: `autoselect-country-${country.code}` },\r\n React.createElement(FocusRing, { focusRingClass: \"focus-ring\" },\r\n React.createElement(S.AutocompleteOption, { onClick: () => handleCountryClick(country) }, country.name))))))))),\r\n React.createElement(Select, { id: \"country\", inputType: props.type, ...register('country', { required: `Required` }), onFocus: () => setShowCountryDropdown(false) },\r\n React.createElement(\"option\", { value: \"\" }, \"Country *\"),\r\n React.createElement(\"option\", { value: \"\", disabled: true }, \"------\"),\r\n React.createElement(\"option\", { value: \"GB\" }, \"United Kingdom\"),\r\n React.createElement(\"option\", { value: \"\", disabled: true }, \"------\"),\r\n countries.map((country) => (React.createElement(\"option\", { value: country.code, key: country.code, dangerouslySetInnerHTML: { __html: country.name } }))))),\r\n React.createElement(FormField, { name: \"phone\", label: \"Phone Number\", showLabel: false },\r\n React.createElement(Textbox, { id: \"phone\", inputType: props.type, placeholder: \"Phone Number\", type: \"text\", onFocus: () => setShowCountryDropdown(false), ...register('phone') }))),\r\n !showCountrySelect && (React.createElement(FormRow, { \"data-country-select\": true },\r\n React.createElement(FocusRing, { focusRingClass: \"focus-ring\" },\r\n React.createElement(S.CountrySelectButton, { onClick: () => {\r\n setShowCountrySelect(true);\r\n setShowCountryDropdown(false);\r\n } }, \"Select country from dropdown\")))),\r\n React.createElement(FormRow, null,\r\n React.createElement(FormField, { name: \"size\", label: \"Apartment Size\", showLabel: false },\r\n React.createElement(Select, { id: \"size\", inputType: props.type, onFocus: () => setShowCountryDropdown(false), ...register('size') },\r\n React.createElement(\"option\", { value: \"\" }, \"Apartment Size\"),\r\n React.createElement(\"option\", { value: \"studio\" }, \"Studio\"),\r\n React.createElement(\"option\", { value: \"1 bed\" }, \"1 Bedroom\"),\r\n React.createElement(\"option\", { value: \"2 bed\" }, \"2 Bedroom\"),\r\n React.createElement(\"option\", { value: \"3 bed\" }, \"3 Bedroom\")))),\r\n React.createElement(FormRow, null,\r\n React.createElement(FormField, { name: \"comments\", label: \"Additional Comments\", showLabel: false },\r\n React.createElement(Textarea, { id: \"comments\", inputType: props.type, placeholder: \"Additional Comments\", onFocus: () => setShowCountryDropdown(false), ...register('comments') }))),\r\n props.termsMessage && (React.createElement(FormRow, null,\r\n React.createElement(FormField, { error: errors.consent?.message, name: \"consent\", label: \"Consent *\", showLabel: false },\r\n React.createElement(CheckboxList, { inputType: props.type, size: \"small\" },\r\n React.createElement(CheckboxListOption, { value: \"1\", ...register('consent', { required: `Please agree` }) },\r\n React.createElement(\"span\", { dangerouslySetInnerHTML: { __html: props.termsMessage } })))))))));\r\n};\r\nexport default ContactForm;\r\n","import * as React from 'react';\r\nimport { useForm as useReactHookForm, } from 'react-hook-form';\r\nexport function useForm(params) {\r\n const refContainer = React.useRef(null);\r\n const useReactHookFormReturn = useReactHookForm({\r\n defaultValues: params.defaultValues,\r\n mode: 'onBlur',\r\n reValidateMode: 'onChange',\r\n shouldUseNativeValidation: false,\r\n });\r\n const { handleSubmit } = useReactHookFormReturn;\r\n const [status, setStatus] = React.useState('initial');\r\n const [confirmationMessage, setConfirmationMessage] = React.useState('');\r\n const [serverErrors, setServerErrors] = React.useState([]);\r\n const onSubmit = async (formData, event) => {\r\n let res;\r\n if (params.mode === 'multipart') {\r\n const formData = new FormData(event?.target);\r\n // We have to create the FormData instance before changing status\r\n // as disabled fields/fieldsets are not included otherwise.\r\n setStatus('pending');\r\n res = await fetch(params.endpoint, {\r\n body: formData,\r\n method: 'POST',\r\n headers: {\r\n 'Content-Type': 'application/json',\r\n },\r\n });\r\n }\r\n else {\r\n setStatus('pending');\r\n res = await fetch(params.endpoint, {\r\n body: JSON.stringify(formData),\r\n method: 'POST',\r\n headers: {\r\n 'Content-Type': 'application/json',\r\n },\r\n });\r\n }\r\n // If we're showing an error message then change to error.\r\n if (!res.ok) {\r\n setStatus('error');\r\n setServerErrors([`Something went wrong.`]);\r\n refContainer.current?.scrollIntoView({ behavior: 'auto', block: 'start' });\r\n return;\r\n }\r\n const resData = (await res.json());\r\n // If we're showing an error message then change to error.\r\n if (resData.errors?.length) {\r\n setStatus('error');\r\n setServerErrors(resData.errors);\r\n refContainer.current?.scrollIntoView({ behavior: 'auto', block: 'start' });\r\n return;\r\n }\r\n // At this stage we consider the submission successful so we\r\n // can trigger the optional callback.\r\n if (params.postSubmitCallback) {\r\n await params.postSubmitCallback();\r\n }\r\n // If we're showing a message then change to fulfilled.\r\n if (resData.message) {\r\n setStatus('fulfilled');\r\n setConfirmationMessage(resData.message);\r\n refContainer.current?.scrollIntoView({ behavior: 'auto', block: 'start' });\r\n return;\r\n }\r\n // If we're redirecting leave status pending.\r\n if (resData.redirect) {\r\n window.location.href = resData.redirect;\r\n return;\r\n }\r\n };\r\n return {\r\n confirmationMessage,\r\n refContainer,\r\n serverErrors,\r\n status,\r\n onSubmit: handleSubmit(onSubmit),\r\n useReactHookFormReturn,\r\n };\r\n}\r\n","import React from 'react';\r\nimport { FocusRing } from 'react-aria';\r\nimport { ButtonStyles } from './Button.styles';\r\nconst Button = ({ active, ariaLabel, branding, disabled, icon, iconPosition, onClick, text, type = 'button', ...rest }) => {\r\n const iconOnly = icon && !text;\r\n return (React.createElement(FocusRing, { focusRingClass: \"focus-ring\" },\r\n React.createElement(ButtonStyles.Button, { \"aria-label\": ariaLabel, \"data-selected\": active, \"data-branding\": branding, disabled: disabled, type: type, onClick: onClick, ...rest }, iconOnly ? (React.createElement(ButtonStyles.Icon, null, icon)) : (React.createElement(React.Fragment, null,\r\n icon && iconPosition === 'left' && React.createElement(ButtonStyles.Icon, null, icon),\r\n React.createElement(ButtonStyles.Text, null, text),\r\n icon && iconPosition === 'right' && React.createElement(ButtonStyles.Icon, null, icon))))));\r\n};\r\nconst LinkButton = ({ branding, href, icon, iconPosition, target = '_self', text, ...rest }) => {\r\n return (React.createElement(FocusRing, { focusRingClass: \"focus-ring\" },\r\n React.createElement(ButtonStyles.Button, { as: \"a\", \"data-branding\": branding, href: href, target: target, ...rest },\r\n icon && iconPosition === 'left' && React.createElement(ButtonStyles.Icon, null, icon),\r\n React.createElement(ButtonStyles.Text, null, text),\r\n icon && iconPosition === 'right' && React.createElement(ButtonStyles.Icon, null, icon))));\r\n};\r\nexport { Button as default, LinkButton };\r\n","export var Device;\r\n(function (Device) {\r\n Device[Device[\"MobileSmall\"] = 320] = \"MobileSmall\";\r\n Device[Device[\"Mobile\"] = 375] = \"Mobile\";\r\n Device[Device[\"MobileLarge\"] = 480] = \"MobileLarge\";\r\n Device[Device[\"Tablet\"] = 768] = \"Tablet\";\r\n Device[Device[\"TabletLarge\"] = 1024] = \"TabletLarge\";\r\n Device[Device[\"DesktopSmall\"] = 1280] = \"DesktopSmall\";\r\n Device[Device[\"Desktop\"] = 1366] = \"Desktop\";\r\n Device[Device[\"DesktopLarge\"] = 1600] = \"DesktopLarge\";\r\n Device[Device[\"ActualDesktop\"] = 1920] = \"ActualDesktop\";\r\n Device[Device[\"DesktopXL\"] = 2560] = \"DesktopXL\";\r\n})(Device || (Device = {}));\r\nexport function from(size) {\r\n return `(min-width: ${size}px)`;\r\n}\r\nexport function until(size) {\r\n return `(max-width: ${size - 1}px)`;\r\n}\r\nexport function between(start, end) {\r\n return `${from(start)} and ${until(end)}`;\r\n}\r\n","import brand from '@helpers/brand';\r\nimport fonts from '@helpers/fonts';\r\nimport srOnly from '@helpers/srOnly';\r\nimport { contentStyles, paragraphSmall } from '@helpers/typography';\r\nimport { ButtonStyles } from '@stories/Components/Buttons/GeneralButton/Button.styles';\r\nimport styled from 'styled-components';\r\nconst Form = styled.form `\r\n --primaryColor: ${brand.primary.charcoal};\r\n --secondaryColor: ${brand.white};\r\n\r\n position: relative;\r\n display: flex;\r\n flex-direction: column;\r\n gap: 16px 0px;\r\n margin: 0 auto;\r\n\r\n &[data-form-type='inverted'] {\r\n --primaryColor: ${brand.white};\r\n --secondaryColor: ${brand.primary.charcoal};\r\n }\r\n`;\r\nconst Row = styled.div `\r\n --count: 1;\r\n\r\n display: grid;\r\n grid-template-columns: repeat(var(--count), 1fr);\r\n gap: 24px 10px;\r\n\r\n &[data-double-column='true'] {\r\n --count: 2;\r\n }\r\n\r\n &[data-has-autocomplete='true'] {\r\n position: relative;\r\n z-index: 1;\r\n }\r\n`;\r\nconst Field = styled.div `\r\n display: flex;\r\n flex-direction: column;\r\n`;\r\nconst Label = styled.label `\r\n ${fonts.beausite.classic.regular};\r\n\r\n display: block;\r\n font-size: 16px;\r\n line-height: 24px;\r\n color: var(--primaryColor);\r\n margin: 0 0 8px;\r\n\r\n &[data-hide='true'] {\r\n ${srOnly}\r\n }\r\n`;\r\nconst Description = styled.div `\r\n ${paragraphSmall};\r\n\r\n color: var(--primaryColor);\r\n`;\r\nconst Error = styled.span `\r\n ${fonts.beausite.classic.light};\r\n\r\n display: block;\r\n font-size: 14px;\r\n line-height: 20px;\r\n color: var(--primaryColor);\r\n margin: 2px 0 0;\r\n opacity: 0.66;\r\n`;\r\nconst SubmitWrapper = styled.div `\r\n display: flex;\r\n place-content: center;\r\n place-items: center;\r\n margin-top: 48px;\r\n\r\n ${ButtonStyles.Button} {\r\n justify-content: center;\r\n text-align: center;\r\n }\r\n`;\r\nconst ErrorList = styled.ul `\r\n ${paragraphSmall};\r\n\r\n display: flex;\r\n color: ${brand.validation.invalid};\r\n flex-direction: column;\r\n margin: 0;\r\n`;\r\nconst ErrorListItem = styled.li `\r\n display: block;\r\n margin: 0;\r\n\r\n &:not(:last-child) {\r\n margin-bottom: 1em;\r\n }\r\n`;\r\nconst ConfirmationMessage = styled.div `\r\n ${contentStyles};\r\n\r\n color: var(--primaryColor);\r\n`;\r\nconst FormStyles = {\r\n ConfirmationMessage,\r\n Description,\r\n Error,\r\n ErrorList,\r\n ErrorListItem,\r\n Field,\r\n Form,\r\n Label,\r\n Row,\r\n SubmitWrapper,\r\n};\r\nexport default FormStyles;\r\n","export default {\r\n /** Hex: #000 */\r\n black: '#000',\r\n /** Hex: #fff */\r\n white: '#fff',\r\n primary: {\r\n /** Hex: #f7f3f1 */\r\n beige: '#f7f3f1',\r\n /** Hex: #ebe4dd */\r\n beigeDark: '#ebe4dd',\r\n /** Hex: #323330 */\r\n charcoal: '#323330',\r\n /** Hex: #00464d */\r\n green: '#00464d',\r\n },\r\n secondary: {\r\n /** Hex: #c5c5c5 */\r\n grey: '#c5c5c5',\r\n /** Hex: #898b8d */\r\n greyMid: '#898b8d',\r\n /** HEX: #007579 */\r\n teal: '#007579',\r\n },\r\n validation: {\r\n /** Hex: #DA291C */\r\n invalid: '#DA291C',\r\n /** Hex: #008C15 */\r\n valid: '#008C15',\r\n },\r\n};\r\n","import { Device } from './media';\r\n/**\r\n * Base pixel value for the \"rem\" unit.\r\n */\r\nexport const PIXELS_PER_REM = 16;\r\n/**\r\n * Default pixel value for the min width.\r\n */\r\nexport const DEFAULT_MIN_VALUE = Device.Tablet;\r\n/**\r\n * Default pixel value for the max width.\r\n */\r\nexport const DEFAULT_MAX_VALUE = Device.ActualDesktop;\r\n/**\r\n * Define a fluid value between the min/max values at the min/max widths.\r\n */\r\nexport function fluid(min, max, minWidth = DEFAULT_MIN_VALUE, maxWidth = DEFAULT_MAX_VALUE) {\r\n const minRem = min / PIXELS_PER_REM;\r\n const maxRem = max / PIXELS_PER_REM;\r\n const minWidthRem = minWidth / PIXELS_PER_REM;\r\n const maxWidthRem = maxWidth / PIXELS_PER_REM;\r\n const slope = (maxRem - minRem) / (maxWidthRem - minWidthRem);\r\n const yAxisIntersection = -minWidthRem * slope + minRem;\r\n const clampMin = `${round(minRem)}rem`;\r\n const clampVal = `${round(yAxisIntersection)}rem + ${round(slope * 100)}vw`;\r\n const clampMax = `${round(maxRem)}rem`;\r\n return `clamp(${clampMin}, ${clampVal}, ${clampMax})`;\r\n}\r\n/**\r\n * Define a fluid value between the min/max values at the min/max widths.\r\n */\r\nexport function fluidUnit(min, max, unit, minWidth = DEFAULT_MIN_VALUE, maxWidth = DEFAULT_MAX_VALUE) {\r\n const slope = (max - min) / (maxWidth - minWidth);\r\n const yAxisIntersection = -minWidth * slope + min;\r\n const clampMin = `${round(min)}`;\r\n const clampVal = `${round(yAxisIntersection)}${unit} + ${round(slope * 100)}vw`;\r\n const clampMax = `${round(max)}`;\r\n return `clamp(${clampMin}${unit}, ${clampVal}, ${clampMax}${unit})`;\r\n}\r\n/**\r\n * Round to nearest hundredth.\r\n */\r\nfunction round(num) {\r\n return Math.round(num * 100) / 100;\r\n}\r\n","import { css } from 'styled-components';\r\nexport const inViewMargin = '0px 0px -10% 0px';\r\nexport const cubicEaseOut = `cubic-bezier(0.33, 1, 0.68, 1)`;\r\nexport const shouldAnimate = (innerCss) => {\r\n return css `\r\n @media (prefers-reduced-motion: no-preference) {\r\n ${innerCss}\r\n }\r\n `;\r\n};\r\nexport const transition = (properties, duration = 0.35, timing = cubicEaseOut) => {\r\n return shouldAnimate(css `\r\n transition: ${properties};\r\n transition-duration: ${typeof duration === 'string' ? duration : `${duration}s`};\r\n transition-timing-function: ${timing};\r\n will-change: ${properties};\r\n `);\r\n};\r\n","import { Device, from } from '@helpers/media';\r\nimport { css } from 'styled-components';\r\nimport { transition } from './animate';\r\nimport fonts from './fonts';\r\nexport const headingStyles = css `\r\n ${fonts.beausite.grande};\r\n\r\n color: currentColor;\r\n\r\n margin: 0 0 24px;\r\n\r\n @media ${from(Device.DesktopLarge)} {\r\n margin: 0 0 32px;\r\n }\r\n`;\r\nexport const noHeaderMarginStyles = css `\r\n margin: 0;\r\n\r\n @media ${from(Device.DesktopLarge)} {\r\n margin: 0;\r\n }\r\n`;\r\nexport const H1 = css `\r\n ${headingStyles};\r\n\r\n font-size: 42px;\r\n line-height: 50px;\r\n`;\r\nexport const H2 = css `\r\n ${headingStyles};\r\n\r\n font-size: 36px;\r\n line-height: 44px;\r\n`;\r\nexport const H3 = css `\r\n ${headingStyles};\r\n\r\n font-size: 32px;\r\n line-height: 38px;\r\n`;\r\nexport const H4 = css `\r\n ${headingStyles};\r\n\r\n font-size: 28px;\r\n line-height: 34px;\r\n`;\r\nexport const H5 = css `\r\n ${headingStyles};\r\n\r\n font-size: 24px;\r\n line-height: 28px;\r\n`;\r\nexport const H6 = css `\r\n ${headingStyles};\r\n\r\n font-size: 20px;\r\n line-height: 24px;\r\n`;\r\n/**\r\n * 20px / 28px\r\n */\r\nexport const paragraphLarge = css `\r\n ${fonts.beausite.classic.light};\r\n font-size: 20px;\r\n letter-spacing: normal;\r\n line-height: 28px;\r\n margin-bottom: 20px;\r\n`;\r\n/**\r\n * 16px / 24px\r\n */\r\nexport const paragraphMedium = css `\r\n ${fonts.beausite.classic.light};\r\n font-size: 16px;\r\n letter-spacing: normal;\r\n line-height: 24px;\r\n margin-bottom: 16px;\r\n`;\r\n/**\r\n * 14px / 22px\r\n */\r\nexport const paragraphSmall = css `\r\n ${fonts.beausite.classic.light};\r\n font-size: 14px;\r\n letter-spacing: normal;\r\n line-height: 22px;\r\n margin-bottom: 16px;\r\n`;\r\nexport const link = css `\r\n ${transition('text-decoration-color')};\r\n\r\n display: inline-block;\r\n color: currentColor;\r\n text-decoration: underline;\r\n text-underline-position: under;\r\n\r\n &:focus {\r\n outline: none;\r\n }\r\n\r\n &:focus,\r\n &:hover {\r\n text-decoration-color: transparent;\r\n }\r\n\r\n &:focus-visible,\r\n &.focus-ring {\r\n outline: auto;\r\n outline-offset: 5px;\r\n }\r\n`;\r\nexport const contentStyles = css `\r\n h1,\r\n .h1-styles {\r\n ${H1}\r\n }\r\n\r\n h2,\r\n .h2-styles {\r\n ${H2}\r\n }\r\n\r\n h3,\r\n .h3-styles {\r\n ${H3}\r\n }\r\n\r\n h4,\r\n .h4-styles {\r\n ${H4}\r\n }\r\n\r\n h5,\r\n .h5-styles {\r\n ${H5}\r\n }\r\n\r\n p {\r\n ${paragraphMedium}\r\n }\r\n\r\n p.large {\r\n ${paragraphLarge}\r\n }\r\n\r\n p.small {\r\n ${paragraphSmall}\r\n }\r\n\r\n span.large {\r\n ${paragraphLarge}\r\n }\r\n\r\n span.small {\r\n ${paragraphSmall}\r\n }\r\n\r\n a {\r\n ${link}\r\n }\r\n\r\n strong {\r\n ${fonts.beausite.classic.regular};\r\n }\r\n\r\n ol,\r\n ul {\r\n ${paragraphMedium};\r\n }\r\n\r\n ol {\r\n list-style: decimal;\r\n padding-left: 1em;\r\n }\r\n\r\n ul {\r\n list-style: disc;\r\n padding-left: 1em;\r\n }\r\n\r\n hr {\r\n display: block;\r\n background: currentColor;\r\n border: 0;\r\n height: 2px;\r\n margin: 32px 0;\r\n padding: 0;\r\n width: 100%;\r\n }\r\n\r\n blockquote {\r\n ${paragraphLarge};\r\n\r\n border-left: 2px solid currentColor;\r\n padding-left: 0.5em;\r\n }\r\n\r\n .responsive-table {\r\n position: relative;\r\n overflow-x: auto;\r\n }\r\n\r\n > *:first-child {\r\n margin-top: 0;\r\n }\r\n\r\n > *:last-child {\r\n margin-bottom: 0;\r\n }\r\n`;\r\n","import { css } from 'styled-components';\r\nexport default {\r\n beausite: {\r\n classic: {\r\n light: css `\r\n font-family: 'Beausite Classic', sans-serif;\r\n font-style: normal;\r\n font-weight: 300;\r\n `,\r\n regular: css `\r\n font-family: 'Beausite Classic', sans-serif;\r\n font-style: normal;\r\n font-weight: 400;\r\n `,\r\n },\r\n grande: css `\r\n font-family: 'Beausite Grande', sans-serif;\r\n font-style: normal;\r\n font-weight: 300;\r\n `,\r\n },\r\n};\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"],"sourceRoot":""}