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GAgBzC+F,EAAiBe,OAAOD,EAAgB,EAAG,gBAAoB/D,EAAe,CAAE9C,IAAK0E,EAAYC,GAAQ3B,WAAW,EAAOC,eAf9G,WACTkD,EAAY/B,OAAOpE,GACnBgG,EAAQ5B,OAAOpE,GAEf,IAAI+G,EAAcb,EAAgBrN,QAAQmO,WAAU,SAAUC,GAAgB,OAAOA,EAAajH,MAAQA,CAAK,IAG/G,GAFAkG,EAAgBrN,QAAQiO,OAAOC,EAAa,IAEvCf,EAAQtE,KAAM,CAEf,GADAwE,EAAgBrN,QAAU4M,GACA,IAAtB7C,EAAU/J,QACV,OACJoM,IACAhC,GAAkBA,GACtB,CACJ,EACmJC,OAAQA,EAAQC,sBAAuBA,GAAyBwB,GAjBzM,CAHA,CAqBd,IAGAoB,EAAmBA,EAAiBjG,KAAI,SAAU6E,GAC9C,IAAI3E,EAAM2E,EAAM3E,IAChB,OAAOgG,EAAQkB,IAAIlH,GAAO,EAAW,gBAAoB8C,EAAe,CAAE9C,IAAK0E,EAAYC,GAAQ3B,WAAW,EAAMG,sBAAuBA,GAAyBwB,EACxK,IACY,eAAR,KACAC,GACAmB,EAAiBtP,OAAS,GAC1B0Q,QAAQC,KAAK,+JAET,gBAAoB,WAAgB,KAAMpB,EAAQtE,KACpDqE,EACAA,EAAiBjG,KAAI,SAAU6E,GAAS,OAAO,IAAA0C,cAAa1C,EAAQ,IAC9E,C","sources":["webpack://brc/./src/helpers/api.ts","webpack://brc/./src/helpers/scrollbars.ts","webpack://brc/./src/helpers/srOnly.ts","webpack://brc/./src/helpers/typography.ts","webpack://brc/./src/hoc/withMotion.tsx","webpack://brc/./src/hooks/useForm.ts","webpack://brc/./src/stories/Components/Buttons/Button/Button.styles.ts","webpack://brc/./src/stories/Components/Buttons/Button/Button.tsx","webpack://brc/./src/stories/Components/Misc/Forms/Form.styles.ts","webpack://brc/./src/stories/Components/Misc/Forms/ErrorSummary.tsx","webpack://brc/./src/stories/Components/Misc/Forms/Form.tsx","webpack://brc/./src/stories/Components/Misc/Forms/FormField.tsx","webpack://brc/./src/stories/Components/Misc/Forms/FormRow.tsx","webpack://brc/./src/stories/Components/Misc/Forms/FormSection.tsx","webpack://brc/./src/stories/Components/Misc/Forms/Inputs/Textbox/Textbox.styles.ts","webpack://brc/./src/stories/Components/Misc/Forms/Inputs/Textbox/Textbox.tsx","webpack://brc/./node_modules/framer-motion/dist/es/utils/use-is-mounted.mjs","webpack://brc/./node_modules/framer-motion/dist/es/components/AnimatePresence/PresenceChild.mjs","webpack://brc/./node_modules/framer-motion/dist/es/components/AnimatePresence/index.mjs","webpack://brc/./node_modules/framer-motion/dist/es/utils/use-force-update.mjs"],"sourcesContent":["export const API_URLS = {\r\n brandCardsListing: '/umbraco/api/brandapi/cards',\r\n contentCardsListing: '/umbraco/api/contentapi/cards',\r\n searchSubmit: '/api/search/submit',\r\n searchTypeahead: '/api/search/typeahead',\r\n savePage: '/umbraco/api/favouritesapi/postfavouriteupdate',\r\n // SIGN IN\r\n signIn: '/auth/login',\r\n forgottenPassword: '/auth/forgotpassword',\r\n resetPassword: '/auth/resetpassword',\r\n signUp: '/umbraco/api/crmapi/createaccount',\r\n checkCompanyName: '/umbraco/api/crmapi/checkcompanyname',\r\n // PORTAL FORMS\r\n communities: '/umbraco/api/portalapi/communities',\r\n myAccount: '/umbraco/api/portalapi/myaccount',\r\n newsletters: '/umbraco/api/portalapi/newsletters',\r\n};\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.grey.grey40};\r\n }\r\n\r\n &::-webkit-scrollbar {\r\n background-color: ${brand.grey.grey40};\r\n height: 6px;\r\n width: 6px;\r\n }\r\n\r\n &::-webkit-scrollbar-thumb {\r\n background-color: ${brand.grey.grey90};\r\n border-radius: 0;\r\n cursor: pointer;\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","import svgQuote from '@img/icons/background/quote.svg?url';\r\nimport svgChevron from '@img/icons/interface/chevron-down.svg?url';\r\nimport { css } from 'styled-components';\r\nimport { transition } from './animate';\r\nimport brand from './brand';\r\nimport { fluid } from './fluid';\r\nimport fonts from './fonts';\r\nimport { Device, from } from './media';\r\nimport scrollbars from './scrollbars';\r\nexport const headingStyles = css `\r\n ${fonts.intro};\r\n\r\n color: currentColor;\r\n margin: 0 0 ${fluid(16, 34)};\r\n`;\r\nexport const h1Sizes = css `\r\n font-size: ${fluid(32, 64)};\r\n line-height: ${fluid(38, 74)};\r\n`;\r\nexport const h1 = css `\r\n ${headingStyles};\r\n ${h1Sizes};\r\n`;\r\nexport const h2 = css `\r\n ${headingStyles};\r\n\r\n font-size: ${fluid(28, 48)};\r\n line-height: ${fluid(36, 56)};\r\n`;\r\nexport const h3 = css `\r\n ${headingStyles};\r\n\r\n font-size: ${fluid(24, 34)};\r\n line-height: ${fluid(32, 40)};\r\n`;\r\nexport const h4 = css `\r\n ${headingStyles};\r\n\r\n font-size: ${fluid(20, 24)};\r\n line-height: ${fluid(26, 28)};\r\n`;\r\nexport const h5 = css `\r\n ${headingStyles};\r\n\r\n font-size: ${fluid(18, 23)};\r\n line-height: ${fluid(24, 27)};\r\n`;\r\nexport const h6 = css `\r\n ${headingStyles};\r\n\r\n font-size: ${fluid(16, 22)};\r\n line-height: ${fluid(20, 30)};\r\n`;\r\nconst paragraphStyles = css `\r\n ${fonts.lato.regular};\r\n\r\n color: currentColor;\r\n margin: 0 0 ${fluid(16, 34)};\r\n`;\r\nexport const paragraphLarge = css `\r\n ${paragraphStyles};\r\n\r\n font-size: ${fluid(18, 20)};\r\n line-height: ${fluid(26, 28)};\r\n`;\r\nexport const paragraphRegular = css `\r\n ${paragraphStyles};\r\n\r\n font-size: ${fluid(16, 18)};\r\n line-height: ${fluid(24, 28)};\r\n`;\r\nexport const paragraphSmall = css `\r\n ${paragraphStyles};\r\n\r\n font-size: ${fluid(14, 16)};\r\n line-height: ${fluid(22, 24)};\r\n`;\r\nexport const paragraphExtraSmall = css `\r\n ${paragraphStyles};\r\n\r\n font-size: 14px;\r\n line-height: ${fluid(22, 24)};\r\n`;\r\nexport const subheading = css `\r\n ${fonts.intro};\r\n\r\n font-size: ${fluid(12, 16)};\r\n line-height: ${fluid(14, 24)};\r\n margin-bottom: 16px;\r\n\r\n strong {\r\n font-family: inherit;\r\n color: currentColor;\r\n font-size: inherit;\r\n line-height: inherit;\r\n font-style: inherit;\r\n }\r\n\r\n @media ${from(Device.TabletLarge)} {\r\n margin-bottom: 12px;\r\n }\r\n`;\r\nexport const link = css `\r\n ${transition('text-decoration-color')};\r\n\r\n display: inline-block;\r\n color: var(--textLinkColour);\r\n text-decoration: underline;\r\n text-decoration-color: var(--textDecorationColour, transparent);\r\n text-decoration-thickness: 1px;\r\n text-underline-offset: 3px;\r\n\r\n &:not(span) {\r\n &:focus {\r\n outline: none;\r\n }\r\n\r\n &:focus-visible {\r\n outline: auto;\r\n outline-offset: 2px;\r\n outline-width: 1px;\r\n outline-style: solid;\r\n }\r\n\r\n &:focus,\r\n &:hover {\r\n text-decoration-color: var(--textDecorationHoverColour, currentColor);\r\n }\r\n }\r\n\r\n /* Safari only link hover styles */\r\n @supports (hanging-punctuation: first) and (font: -apple-system-body) and\r\n (-webkit-appearance: none) {\r\n text-decoration: none;\r\n\r\n &:not(span) {\r\n &:focus,\r\n &:hover {\r\n text-decoration: underline;\r\n }\r\n }\r\n }\r\n`;\r\nexport const reverseLinkUnderline = css `\r\n --textDecorationColour: currentColor;\r\n --textDecorationHoverColour: transparent;\r\n\r\n /* Safari only link hover styles */\r\n @supports (hanging-punctuation: first) and (font: -apple-system-body) and\r\n (-webkit-appearance: none) {\r\n text-decoration: underline !important;\r\n\r\n &:not(span) {\r\n &:focus,\r\n &:hover {\r\n text-decoration: none !important;\r\n }\r\n }\r\n }\r\n`;\r\nexport const blockquote = css `\r\n ${paragraphLarge};\r\n\r\n font-weight: 600;\r\n font-style: italic;\r\n color: currentColor;\r\n text-align: left;\r\n\r\n &::before {\r\n content: '';\r\n display: block;\r\n width: ${fluid(48, 64)};\r\n aspect-ratio: 1;\r\n background-size: 100%;\r\n background-repeat: no-repeat;\r\n background-position: top left;\r\n background-image: url(${svgQuote});\r\n margin-bottom: ${fluid(16, 34)};\r\n }\r\n\r\n p {\r\n color: currentColor;\r\n font-size: inherit;\r\n line-height: inherit;\r\n font-style: inherit;\r\n font-family: inherit;\r\n margin: 0 0 ${fluid(16, 34)};\r\n\r\n &:last-child {\r\n margin: 0;\r\n }\r\n }\r\n\r\n footer {\r\n color: ${brand.primary.purple.dark};\r\n font-weight: 700;\r\n margin-top: ${fluid(32, 34)};\r\n\r\n cite {\r\n ${paragraphRegular};\r\n\r\n display: block;\r\n margin: 0;\r\n }\r\n }\r\n`;\r\nexport const table = css `\r\n ${paragraphRegular};\r\n\r\n --borderColour: ${brand.primary.grey};\r\n --borderRadius: ${fluid(10, 20)};\r\n --headerBgColour: ${brand.primary.purple.light};\r\n --headerTextColour: ${brand.global.white};\r\n --paddingX: ${fluid(16, 26)};\r\n\r\n background: ${brand.global.white};\r\n border-collapse: collapse;\r\n color: currentColor;\r\n margin-bottom: ${fluid(16, 34)};\r\n width: 100% !important;\r\n\r\n td,\r\n th {\r\n border-right: 1px solid var(--headerTextColour);\r\n padding: 12px var(--paddingX);\r\n text-align: left;\r\n }\r\n\r\n thead {\r\n tr {\r\n background: var(--headerBgColour);\r\n\r\n td,\r\n th {\r\n ${fonts.intro};\r\n\r\n color: ${brand.global.white};\r\n padding: var(--paddingX);\r\n border-right: 1px solid var(--headerTextColour);\r\n\r\n &:first-child {\r\n border-top-left-radius: var(--borderRadius);\r\n }\r\n\r\n &:last-child {\r\n border-top-right-radius: var(--borderRadius);\r\n }\r\n }\r\n }\r\n }\r\n\r\n tbody {\r\n tr {\r\n &:nth-child(odd) {\r\n background-color: ${brand.global.white};\r\n }\r\n\r\n &:nth-child(even) {\r\n background-color: ${brand.primary.grey};\r\n }\r\n\r\n &:last-child td {\r\n border-bottom: 1px solid var(--borderColour);\r\n }\r\n\r\n td {\r\n &:first-child {\r\n border-left: 1px solid var(--borderColour);\r\n }\r\n\r\n &:last-child {\r\n border-right: 1px solid ${brand.primary.grey};\r\n }\r\n }\r\n }\r\n }\r\n`;\r\nexport const contentStyles = css `\r\n h1,\r\n .h1-styles {\r\n ${h2};\r\n }\r\n\r\n h2,\r\n .h2-styles {\r\n ${h3};\r\n }\r\n\r\n h3,\r\n .h3-styles {\r\n ${h4};\r\n }\r\n\r\n h4,\r\n .h4-styles {\r\n ${h5}\r\n }\r\n\r\n h5,\r\n .h5-styles {\r\n ${h6}\r\n }\r\n\r\n h6,\r\n .h6-styles {\r\n ${headingStyles};\r\n\r\n font-size: ${fluid(15, 20)};\r\n line-height: ${fluid(19, 28)};\r\n }\r\n\r\n p {\r\n ${paragraphRegular}\r\n\r\n a {\r\n ${link};\r\n }\r\n }\r\n\r\n strong {\r\n ${fonts.lato.bold};\r\n }\r\n\r\n .large {\r\n ${paragraphLarge}\r\n }\r\n\r\n .small {\r\n ${paragraphSmall}\r\n }\r\n\r\n .x-small {\r\n ${paragraphExtraSmall}\r\n }\r\n\r\n .disclaimer {\r\n ${paragraphStyles};\r\n\r\n font-size: 12px;\r\n line-height: 16px;\r\n }\r\n\r\n .subheading {\r\n ${subheading};\r\n }\r\n\r\n /* Brand Colour Classes */\r\n .brand-purple-light {\r\n color: ${brand.primary.purple.light};\r\n }\r\n\r\n .brand-purple-dark {\r\n color: ${brand.primary.purple.dark};\r\n }\r\n\r\n .brand-blue-light {\r\n color: ${brand.primary.blue.light};\r\n }\r\n\r\n .brand-blue-dark {\r\n color: ${brand.primary.blue.dark};\r\n }\r\n\r\n .brand-green-light {\r\n color: ${brand.secondary.green.light};\r\n }\r\n\r\n .brand-green-mid {\r\n color: ${brand.secondary.green.mid};\r\n }\r\n\r\n .brand-green-dark {\r\n color: ${brand.secondary.green.dark};\r\n }\r\n\r\n .brand-orange-light {\r\n color: ${brand.secondary.orange.light};\r\n }\r\n\r\n .brand-orange-mid {\r\n color: ${brand.secondary.orange.mid};\r\n }\r\n\r\n .brand-orange-dark {\r\n color: ${brand.secondary.orange.dark};\r\n }\r\n\r\n .brand-pink-light {\r\n color: ${brand.secondary.pink.light};\r\n }\r\n\r\n .brand-pink-mid {\r\n color: ${brand.secondary.pink.mid};\r\n }\r\n\r\n .brand-pink-dark {\r\n color: ${brand.secondary.pink.dark};\r\n }\r\n\r\n .brand-yellow-light {\r\n color: ${brand.secondary.yellow.light};\r\n }\r\n\r\n .brand-yellow-mid {\r\n color: ${brand.secondary.yellow.mid};\r\n }\r\n\r\n .brand-yellow-dark {\r\n color: ${brand.secondary.yellow.dark};\r\n }\r\n\r\n a {\r\n ${link}\r\n }\r\n\r\n ol,\r\n ul {\r\n ${paragraphRegular};\r\n\r\n list-style: none;\r\n padding-left: 1.2em;\r\n margin: ${fluid(8, 16)} 0 ${fluid(16, 34)};\r\n\r\n li {\r\n color: currentColor;\r\n margin: 0 0 ${fluid(8, 16)};\r\n\r\n span {\r\n display: inline;\r\n }\r\n\r\n &::before {\r\n color: ${brand.primary.purple.light};\r\n display: inline-block;\r\n width: 1.2em;\r\n margin-left: -1.2em;\r\n }\r\n }\r\n }\r\n\r\n ol {\r\n counter-reset: li;\r\n\r\n li {\r\n counter-increment: li;\r\n\r\n &::before {\r\n content: counter(li) '.';\r\n width: 2.5ch; // Allow space for double digit numbers\r\n margin-left: -2.5ch;\r\n }\r\n }\r\n }\r\n\r\n // Ensure that inline styling hasn't been applied\r\n ul:not([style*='list-style-type']) li::before {\r\n content: '\\\\2022';\r\n font-weight: bold;\r\n }\r\n\r\n blockquote {\r\n ${blockquote};\r\n }\r\n\r\n hr {\r\n display: block;\r\n background: ${brand.primary.purple.light};\r\n border: 0;\r\n height: 2px;\r\n margin: ${fluid(16, 34)} 0;\r\n padding: 0;\r\n width: 100%;\r\n }\r\n\r\n table {\r\n ${table};\r\n }\r\n\r\n .responsive-table {\r\n ${scrollbars};\r\n\r\n position: relative;\r\n overflow-x: auto;\r\n }\r\n\r\n /* Details/Summary Accordion styles */\r\n details {\r\n display: block;\r\n color: ${brand.primary.blue.dark};\r\n padding: ${fluid(16, 18)};\r\n border-radius: ${fluid(10, 20)};\r\n background-color: ${brand.primary.grey};\r\n margin-bottom: ${fluid(16, 18)};\r\n\r\n summary {\r\n ${fonts.lato.semiBold};\r\n\r\n display: flex;\r\n align-items: flex-start;\r\n justify-content: space-between;\r\n font-size: ${fluid(18, 24)};\r\n line-height: ${fluid(24, 28)};\r\n text-align: left;\r\n width: 100%;\r\n color: currentColor;\r\n cursor: pointer;\r\n margin-bottom: 2px;\r\n\r\n &::after {\r\n ${transition('transform')};\r\n\r\n content: '';\r\n display: block;\r\n width: 40px;\r\n height: 32px;\r\n background: currentColor;\r\n -webkit-mask-image: url(${svgChevron});\r\n mask-image: url(${svgChevron});\r\n mask-repeat: no-repeat;\r\n mask-size: cover;\r\n mask-position: center;\r\n }\r\n }\r\n\r\n &[open] summary::after {\r\n transform: rotate(180deg);\r\n }\r\n\r\n > div {\r\n padding: ${fluid(14, 20)} 0 6px;\r\n\r\n p,\r\n ul,\r\n ol {\r\n margin-bottom: ${fluid(12, 18)};\r\n }\r\n\r\n ul,\r\n ol {\r\n margin-left: ${fluid(4, 8)};\r\n\r\n li {\r\n margin-bottom: ${fluid(6, 10)};\r\n }\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 }\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 { 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 * as React from 'react';\r\nimport { useForm as useReactHookForm, } from 'react-hook-form';\r\nexport const validateNotWhitespaceOnly = (value, error) => typeof value === 'string' ? value.trim().length > 0 || error : true;\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: 'onSubmit',\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 });\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 if (!params.disableSuccessScroll) {\r\n // Add a delay to ensure the errors are rendered before scrolling\r\n setTimeout(() => {\r\n refContainer.current?.scrollIntoView({ behavior: 'auto', block: 'start' });\r\n }, 375);\r\n }\r\n if (params.initialPostSubmit) {\r\n setTimeout(() => {\r\n setStatus('initial');\r\n }, 3000);\r\n }\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 // Add a delay to ensure the errors are rendered before scrolling\r\n setTimeout(() => {\r\n refContainer.current?.scrollIntoView({ behavior: 'auto', block: 'start' });\r\n }, 375);\r\n if (params.initialPostSubmit) {\r\n setTimeout(() => {\r\n setStatus('initial');\r\n }, 3000);\r\n }\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(params.initialPostSubmit ? 'initial' : 'fulfilled');\r\n setConfirmationMessage(resData.message);\r\n if (!params.disableSuccessScroll) {\r\n // Add a delay to ensure the messag ise rendered before scrolling\r\n setTimeout(() => {\r\n refContainer.current?.scrollIntoView({ behavior: 'auto', block: 'start' });\r\n }, 375);\r\n }\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 { transition } from '@helpers/animate';\r\nimport brand, { BrandColours } from '@helpers/brand';\r\nimport { fluid } from '@helpers/fluid';\r\nimport fonts from '@helpers/fonts';\r\nimport { ButtonReset } from '@helpers/global';\r\nimport { InterfaceIcon } from '@helpers/icons';\r\nimport { Device, until } from '@helpers/media';\r\nimport srOnly from '@helpers/srOnly';\r\nimport { BackgroundVariant } from '@stories/Components/Misc/SectionWrapper/SectionWrapper';\r\nimport { rgba } from 'polished';\r\nimport styled, { css } from 'styled-components';\r\nexport const CommonButtonTextStyles = css `\r\n ${transition('color', 0.25)};\r\n ${fonts.lato.bold};\r\n\r\n color: currentColor;\r\n font-size: var(--fontSize);\r\n line-height: 1.5;\r\n text-decoration: none;\r\n`;\r\nconst Text = styled.span `\r\n ${CommonButtonTextStyles};\r\n\r\n [data-icon-only='true'] & {\r\n ${srOnly};\r\n }\r\n`;\r\nconst IconWrapper = styled.div `\r\n ${transition('color', 0.25)};\r\n\r\n --iconHeight: 24px;\r\n\r\n display: grid;\r\n place-content: center;\r\n color: currentColor;\r\n height: var(--iconHeight);\r\n aspect-ratio: 1;\r\n margin: 0;\r\n padding: 0;\r\n\r\n > svg {\r\n display: block;\r\n height: var(--iconHeight);\r\n }\r\n\r\n [data-icon-position='left'] & {\r\n order: -1;\r\n }\r\n\r\n [data-icon-position='right'] & {\r\n order: 1;\r\n }\r\n\r\n [data-icon-type=${InterfaceIcon.ArrowRight}] & {\r\n ${transition('transform, color', 0.25)};\r\n }\r\n\r\n [data-icon-type=${InterfaceIcon.Close}] & {\r\n --iconHeight: 12px;\r\n }\r\n\r\n [data-icon-position='left'][data-icon-type=${InterfaceIcon.ArrowRight}] & {\r\n svg {\r\n transform: scale(-1);\r\n }\r\n }\r\n`;\r\nconst IconHoverStyles = css `\r\n &[data-icon-type=${InterfaceIcon.ArrowRight}] {\r\n ${IconWrapper} {\r\n transform: translateX(4px);\r\n }\r\n }\r\n\r\n &[data-icon-position='left'][data-icon-type=${InterfaceIcon.ArrowRight}] {\r\n ${IconWrapper} {\r\n transform: translateX(-4px);\r\n }\r\n }\r\n`;\r\nexport const DefaultButtonStyles = css `\r\n ${ButtonReset};\r\n ${transition('background-color, color', 0.25)};\r\n\r\n --bgColour: ${brand.secondary.yellow.light};\r\n --bgColourActive: var(--bgColourHover);\r\n --bgColourDisabled: ${brand.grey.light};\r\n --bgColourHover: ${brand.secondary.yellow.dark};\r\n --borderColorActive: var(--bgColourActive);\r\n --borderColorHover: var(--bgColourHover);\r\n --borderColour: var(--bgColour);\r\n --borderColourDisabled: var(--bgColourDisabled);\r\n --borderRadius: 50px;\r\n --borderWidth: 1px;\r\n --buttonHeight: ${fluid(44, 64)};\r\n --colourText: ${brand.global.black};\r\n --colourTextDisabled: ${brand.grey.dark};\r\n --colourTextHover: var(--colourText);\r\n --fontSize: ${fluid(15, 16)};\r\n\r\n display: inline-flex;\r\n gap: ${fluid(8, 12)};\r\n align-items: center;\r\n border: var(--borderWidth) solid var(--borderColour);\r\n background: none;\r\n background-color: var(--bgColour);\r\n background-position: top center;\r\n color: var(--colourText);\r\n min-height: var(--buttonHeight);\r\n padding: 8px ${fluid(16, 20)};\r\n text-decoration: none;\r\n user-select: none;\r\n width: auto;\r\n border-radius: var(--borderRadius);\r\n\r\n /* Mobile click styles - button should mimic press */\r\n @media ${until(Device.TabletLarge)} {\r\n ${transition('background-color, color, transform', 0.15)};\r\n\r\n &:active {\r\n transform: translateY(1.5px);\r\n }\r\n }\r\n\r\n span& {\r\n .focus-ring & {\r\n outline: auto;\r\n outline-offset: 3px;\r\n outline-width: 2px;\r\n }\r\n\r\n .focus-ring &,\r\n button:hover &,\r\n a:hover &,\r\n label:hover & {\r\n ${IconHoverStyles};\r\n\r\n color: var(--colourTextHover);\r\n background-color: var(--bgColourHover);\r\n border-color: var(--borderColorHover);\r\n }\r\n\r\n button:active &,\r\n a:active & {\r\n background-color: var(--bgColourActive);\r\n border-color: var(--borderColorActive);\r\n color: var(--colourTextHover);\r\n }\r\n }\r\n\r\n &:not(span) {\r\n cursor: pointer;\r\n\r\n &:focus-visible,\r\n &.focus-ring {\r\n outline: auto;\r\n outline-offset: 3px;\r\n outline-width: 2px;\r\n }\r\n\r\n &:focus-visible,\r\n &.focus-ring,\r\n &:hover {\r\n ${IconHoverStyles};\r\n\r\n color: var(--colourTextHover);\r\n background-color: var(--bgColourHover);\r\n border-color: var(--borderColorHover);\r\n }\r\n\r\n &:active {\r\n background-color: var(--bgColourActive);\r\n border-color: var(--borderColorActive);\r\n color: var(--colourTextHover);\r\n }\r\n }\r\n\r\n /* Increase specificity to override :not(span) style */\r\n &[aria-disabled='true'][aria-disabled='true'][aria-disabled='true'],\r\n &:disabled:disabled:disabled {\r\n color: var(--colourTextDisabled);\r\n background-color: var(--bgColourDisabled);\r\n border-color: var(--borderColourDisabled);\r\n\r\n cursor: not-allowed;\r\n\r\n ${IconWrapper} {\r\n transform: none;\r\n }\r\n }\r\n`;\r\nexport const SecondaryButtonStyles = css `\r\n --bgColour: transparent;\r\n --bgColourActive: ${brand.primary.purple.dark};\r\n --bgColourDisabled: transparent;\r\n --bgColourHover: var(--colourText);\r\n --borderColorActive: var(--bgColourActive);\r\n --borderColorHover: var(--bgColourHover);\r\n --borderColour: var(--colourText);\r\n --borderColourDisabled: var(--colourTextDisabled);\r\n --colourText: ${brand.primary.purple.light};\r\n --colourTextDisabled: ${brand.grey.dark};\r\n --colourTextHover: ${brand.global.white};\r\n\r\n [data-variant=${BrandColours.OrangeMid}] &,\r\n [data-variant=${BrandColours.OrangeDark}] &,\r\n [data-variant=${BrandColours.GreenDark}] &,\r\n [data-variant=${BrandColours.PinkDark}] &,\r\n [data-variant=${BackgroundVariant.Blue}] &,\r\n [data-variant=${BackgroundVariant.Purple}] &,\r\n [data-variant=${BackgroundVariant.PurpleDark}] & {\r\n --bgColourActive: ${brand.primary.grey};\r\n --colourText: ${brand.global.white};\r\n }\r\n\r\n [data-variant=${BrandColours.OrangeDark}] &,\r\n [data-variant=${BrandColours.GreenDark}] &,\r\n [data-variant=${BackgroundVariant.Blue}] &,\r\n [data-variant=${BrandColours.PinkDark}] &,\r\n [data-variant=${BackgroundVariant.PurpleDark}] & {\r\n --colourTextDisabled: ${brand.grey.light};\r\n }\r\n\r\n [data-variant=${BackgroundVariant.Purple}] & {\r\n --colourTextDisabled: ${brand.grey.lightest};\r\n }\r\n\r\n [data-variant=${BackgroundVariant.Purple}] &,\r\n [data-variant=${BackgroundVariant.PurpleDark}] & {\r\n --colourTextHover: ${brand.primary.purple.light};\r\n }\r\n\r\n [data-variant=${BackgroundVariant.Blue}] & {\r\n --colourTextHover: ${brand.primary.blue.dark};\r\n }\r\n\r\n [data-variant=${BrandColours.GreenDark}] & {\r\n --colourTextHover: ${brand.secondary.green.dark};\r\n }\r\n\r\n [data-variant=${BrandColours.OrangeDark}] & {\r\n --colourTextHover: ${brand.secondary.orange.dark};\r\n }\r\n\r\n [data-variant=${BrandColours.OrangeMid}] & {\r\n --colourTextHover: ${brand.secondary.orange.mid};\r\n }\r\n\r\n [data-variant=${BrandColours.PinkDark}] & {\r\n --colourTextHover: ${brand.secondary.pink.mid};\r\n }\r\n\r\n [data-variant=${BrandColours.BlueLight}] &,\r\n [data-variant=${BrandColours.GreenLight}] &,\r\n [data-variant=${BrandColours.OrangeLight}] &,\r\n [data-variant=${BrandColours.PinkLight}] & {\r\n --colourText: ${brand.global.black};\r\n }\r\n\r\n [data-variant=${BrandColours.BlueLight}] & {\r\n --bgColourActive: ${brand.primary.blue.dark};\r\n }\r\n\r\n [data-variant=${BrandColours.GreenLight}] & {\r\n --bgColourActive: ${brand.secondary.green.dark};\r\n }\r\n\r\n [data-variant=${BrandColours.OrangeLight}] & {\r\n --bgColourActive: ${brand.secondary.orange.dark};\r\n }\r\n\r\n [data-variant=${BrandColours.PinkLight}] & {\r\n --bgColourActive: ${brand.secondary.pink.dark};\r\n }\r\n`;\r\nexport const TertiaryButtonStyles = css `\r\n --bgColour: ${brand.primary.purple.light};\r\n --bgColourActive: ${brand.grey.lightest};\r\n --bgColourDisabled: ${brand.grey.grey40};\r\n --bgColourHover: transparent;\r\n --borderColorActive: var(--bgColour);\r\n --borderColorHover: var(--bgColour);\r\n --borderColour: var(--colourText);\r\n --borderColourDisabled: var(--bgColourDisabled);\r\n --colourText: ${brand.global.white};\r\n --colourTextDisabled: ${brand.grey.lightest};\r\n --colourTextHover: var(--bgColour);\r\n\r\n [data-variant=${BackgroundVariant.Blue}] &,\r\n [data-variant=${BackgroundVariant.Purple}] &,\r\n [data-variant=${BackgroundVariant.PurpleDark}] & {\r\n --bgColour: ${brand.global.white};\r\n --colourText: ${brand.primary.purple.light};\r\n --bgColourActive: ${rgba(brand.global.white, 0.2)};\r\n }\r\n\r\n [data-variant=${BackgroundVariant.Grey}] & {\r\n --bgColourActive: ${rgba(brand.global.black, 0.1)};\r\n }\r\n`;\r\nconst Container = styled.button `\r\n ${DefaultButtonStyles};\r\n\r\n &[data-type='secondary'] {\r\n ${SecondaryButtonStyles};\r\n }\r\n\r\n &[data-type='tertiary'] {\r\n ${TertiaryButtonStyles};\r\n }\r\n\r\n &[data-icon-only='true'] {\r\n height: var(--buttonHeight);\r\n justify-content: center;\r\n padding: 0;\r\n width: var(--buttonHeight);\r\n }\r\n`;\r\nconst ButtonStyles = {\r\n Container,\r\n IconWrapper,\r\n Text,\r\n};\r\nexport default ButtonStyles;\r\n","import { InterfaceIcon, getSvgIcon } from '@helpers/icons';\r\nimport { FocusRing } from '@react-aria/focus';\r\nimport * as React from 'react';\r\nimport S from './Button.styles';\r\nconst Button = React.forwardRef(({ buttonType, children, fillDirection = 'right', icon, iconOnly, iconPosition = 'right', ...otherProps }, ref) => {\r\n return (React.createElement(FocusRing, { focusRingClass: \"focus-ring\" },\r\n React.createElement(S.Container, { ref: ref, \"data-fill\": fillDirection, \"data-icon-only\": iconOnly, \"data-icon-position\": iconPosition, \"data-icon-type\": icon ?? InterfaceIcon.ArrowRight, \"data-type\": buttonType, ...otherProps },\r\n React.createElement(S.Text, null, children),\r\n icon !== InterfaceIcon.None && (React.createElement(S.IconWrapper, null, getSvgIcon(icon) ?? getSvgIcon(InterfaceIcon.ArrowRight))))));\r\n});\r\nButton.displayName = 'Button';\r\nconst FakeButton = React.forwardRef(({ buttonType, children, fillDirection = 'right', icon, iconOnly, iconPosition = 'right', ...otherProps }, ref) => {\r\n return (React.createElement(S.Container, { ref: ref, as: \"span\", \"data-fill\": fillDirection, \"data-icon-only\": iconOnly, \"data-icon-position\": iconPosition, \"data-icon-type\": icon ?? InterfaceIcon.ArrowRight, \"data-type\": buttonType, ...otherProps },\r\n React.createElement(S.Text, null, children),\r\n icon !== InterfaceIcon.None && (React.createElement(S.IconWrapper, null, getSvgIcon(icon) ?? getSvgIcon(InterfaceIcon.ArrowRight)))));\r\n});\r\nFakeButton.displayName = 'Fake Button';\r\nconst LinkButton = React.forwardRef(({ buttonType, children, fillDirection = 'right', icon, iconOnly, iconPosition = 'right', ...otherProps }, ref) => {\r\n return (React.createElement(FocusRing, { focusRingClass: \"focus-ring\" },\r\n React.createElement(S.Container, { ref: ref, as: \"a\", \"data-fill\": fillDirection, \"data-icon-only\": iconOnly, \"data-icon-position\": iconPosition, \"data-icon-type\": icon ?? InterfaceIcon.ArrowRight, \"data-type\": buttonType, ...otherProps },\r\n React.createElement(S.Text, null, children),\r\n icon !== InterfaceIcon.None && (React.createElement(S.IconWrapper, null, getSvgIcon(icon) ?? getSvgIcon(InterfaceIcon.ArrowRight))))));\r\n});\r\nLinkButton.displayName = 'Link Button';\r\nexport { FakeButton, LinkButton, Button as default };\r\n","import { transition } from '@helpers/animate';\r\nimport brand from '@helpers/brand';\r\nimport { fluid } from '@helpers/fluid';\r\nimport fonts from '@helpers/fonts';\r\nimport { ButtonReset } from '@helpers/global';\r\nimport { Device, from } from '@helpers/media';\r\nimport srOnly from '@helpers/srOnly';\r\nimport { contentStyles, paragraphRegular } from '@helpers/typography';\r\nimport ButtonStyles from '@stories/Components/Buttons/Button/Button.styles';\r\nimport { m } from 'framer-motion';\r\nimport { rgba } from 'polished';\r\nimport styled, { css } from 'styled-components';\r\nconst Form = styled.form `\r\n --tooltipFgColour: ${brand.global.white};\r\n --tooltipBgColour: ${brand.global.black};\r\n --borderColour: ${brand.global.black};\r\n --infoBgColour: ${brand.grey.grey80};\r\n --textColour: ${brand.global.black};\r\n --labelBgColour: ${brand.global.white};\r\n\r\n position: relative;\r\n display: flex;\r\n flex-direction: column;\r\n gap: ${fluid(32, 40)} 0;\r\n scroll-margin: var(--headerHeight, 0px) 0 0;\r\n`;\r\nconst Section = styled.fieldset `\r\n display: flex;\r\n flex-direction: column;\r\n gap: ${fluid(32, 44)};\r\n\r\n &[data-visible='false'] {\r\n display: none;\r\n }\r\n`;\r\nconst Title = styled.legend `\r\n ${fonts.lato.bold};\r\n\r\n display: block;\r\n font-size: ${fluid(18, 20)};\r\n margin: 0 0 30px;\r\n padding: 0 0 8px;\r\n color: var(--textColour);\r\n border-bottom: 1px solid var(--borderColour);\r\n width: 100%;\r\n\r\n @media ${from(Device.Tablet)} {\r\n margin-bottom: ${fluid(20, 24)};\r\n }\r\n`;\r\nconst Content = styled.p `\r\n ${paragraphRegular}\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: ${fluid(20, 24)};\r\n\r\n @media ${from(Device.Tablet)} {\r\n --count: 2;\r\n\r\n &[data-layout='full'] {\r\n --count: 1;\r\n }\r\n }\r\n`;\r\nconst Field = styled.div `\r\n display: flex;\r\n flex-direction: column;\r\n position: relative;\r\n\r\n @media ${from(Device.Tablet)} {\r\n &[data-size='wide'] {\r\n grid-column: span 2;\r\n }\r\n\r\n &[data-size='full'] {\r\n grid-column: span 2;\r\n }\r\n }\r\n\r\n @media ${from(Device.Desktop)} {\r\n &[data-size='full'] {\r\n grid-column: span 4;\r\n }\r\n }\r\n`;\r\nexport const CommonLabelStyles = css `\r\n ${fonts.lato.regular};\r\n\r\n font-size: ${fluid(12, 12)};\r\n display: block;\r\n margin: 0;\r\n padding: 4px;\r\n color: var(--textColour);\r\n background-color: var(--labelBgColour);\r\n\r\n position: absolute;\r\n left: 12px;\r\n top: -10px;\r\n z-index: 1;\r\n\r\n &.required,\r\n &[data-required='true'] {\r\n &::after {\r\n content: ' *';\r\n display: inline;\r\n }\r\n }\r\n\r\n &[data-hide='true'] {\r\n ${srOnly}\r\n }\r\n\r\n [data-error='true'] & {\r\n color: ${brand.validation.invalid};\r\n }\r\n\r\n [data-disabled='true'] & {\r\n color: ${brand.grey.grey44};\r\n }\r\n\r\n ${Field}:focus-within & {\r\n color: ${brand.primary.blue.dark};\r\n }\r\n`;\r\nconst Label = styled.label `\r\n ${CommonLabelStyles};\r\n`;\r\nconst Description = styled.div `\r\n ${paragraphRegular};\r\n`;\r\nexport const CommonErrorStyles = css `\r\n ${paragraphRegular};\r\n\r\n display: block;\r\n color: ${brand.validation.invalid};\r\n margin: 8px 0 0;\r\n font-size: ${fluid(12, 12)};\r\n line-height: ${fluid(12, 12)};\r\n padding: 0 16px;\r\n\r\n > span {\r\n font-size: ${fluid(16, 16)};\r\n display: inline-flex;\r\n align-items: center;\r\n justify-content: center;\r\n position: absolute;\r\n top: ${fluid(14, 18)};\r\n right: ${fluid(16, 16)};\r\n width: ${fluid(16, 20)};\r\n height: ${fluid(16, 20)};\r\n border-radius: 50%;\r\n background-color: ${brand.validation.invalid};\r\n color: ${brand.global.white};\r\n }\r\n`;\r\nconst Error = styled.span `\r\n ${CommonErrorStyles};\r\n`;\r\nconst Divider = styled.hr `\r\n display: block;\r\n border: 0;\r\n border-bottom: 1px solid var(--borderColour);\r\n margin: 0;\r\n padding: 0;\r\n`;\r\nconst SubmitWrapper = styled.div `\r\n display: flex;\r\n flex-direction: column;\r\n align-items: flex-start;\r\n gap: 30px;\r\n\r\n ${ButtonStyles.Container} {\r\n width: auto;\r\n }\r\n\r\n @media ${from(Device.Tablet)} {\r\n flex-direction: row;\r\n align-items: center;\r\n gap: ${fluid(20, 24)};\r\n\r\n ${ButtonStyles.Container} {\r\n margin-left: auto;\r\n }\r\n }\r\n`;\r\nconst Loader = styled.div `\r\n position: absolute;\r\n top: 0;\r\n left: 0;\r\n display: flex;\r\n background: ${rgba(brand.global.black, 0.2)};\r\n color: ${brand.global.white};\r\n flex-direction: column;\r\n height: 100%;\r\n place-content: center;\r\n place-items: center;\r\n text-align: center;\r\n width: 100%;\r\n`;\r\nconst LoaderText = styled.span `\r\n ${paragraphRegular};\r\n ${fonts.lato.bold};\r\n\r\n display: block;\r\n margin: 1rem 0 0;\r\n`;\r\nconst ErrorList = styled(m.ul) `\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 ${CommonErrorStyles};\r\n\r\n display: flex;\r\n align-items: center;\r\n gap: ${fluid(12, 16)};\r\n margin: 0;\r\n padding: 0;\r\n\r\n span {\r\n position: static;\r\n }\r\n\r\n > div {\r\n ${contentStyles};\r\n\r\n flex: 1 1;\r\n\r\n h1,\r\n .h1-styles,\r\n h2,\r\n .h2-styles,\r\n h3,\r\n .h3-styles,\r\n h4,\r\n .h4-styles,\r\n h5,\r\n .h5-styles,\r\n h6,\r\n .h6-styles {\r\n margin: 0 0 ${fluid(16, 22)};\r\n }\r\n\r\n p {\r\n font-size: ${fluid(14, 16)};\r\n line-height: ${fluid(22, 24)};\r\n }\r\n }\r\n\r\n &:not(:last-child) {\r\n margin-bottom: 1em;\r\n }\r\n`;\r\nconst ConfirmationMessage = styled(m.div) `\r\n ${contentStyles};\r\n\r\n p:last-child {\r\n margin-bottom: 0;\r\n }\r\n`;\r\nconst Info = styled.button `\r\n ${ButtonReset};\r\n ${fonts.lato.regular};\r\n\r\n position: relative;\r\n border-radius: 5000px;\r\n color: currentColor;\r\n font-size: 14px;\r\n height: 18px;\r\n width: 18px;\r\n display: inline-flex;\r\n align-items: center;\r\n justify-content: center;\r\n margin: 0 0 0 5px;\r\n cursor: help;\r\n text-transform: none;\r\n background-color: var(--infoBgColour);\r\n transform: translateY(-1.5px);\r\n z-index: 2;\r\n\r\n &.focus-ring {\r\n outline: auto;\r\n outline-offset: 3px;\r\n outline-width: 1px;\r\n outline-style: solid;\r\n }\r\n`;\r\nconst Tooltip = styled.span `\r\n --shadowColour: rgba(0, 0, 0, 0.05);\r\n\r\n ${transition('opacity', 0.2)};\r\n\r\n position: absolute;\r\n color: var(--tooltipFgColour);\r\n background-color: var(--tooltipBgColour);\r\n top: 95%;\r\n left: 50%;\r\n transform: translateX(-50%);\r\n opacity: 0;\r\n z-index: -1;\r\n width: 125px;\r\n padding: 6px 8px;\r\n box-shadow: -0.1px 1px 1.1px var(--shadowColour), -0.2px 2.7px 3px -0.8px var(--shadowColour),\r\n -0.4px 6.3px 7.1px -1.7px var(--shadowColour), -0.9px 15px 16.9px -2.5px var(--shadowColour);\r\n white-space: normal;\r\n pointer-events: none;\r\n border-radius: 4px;\r\n\r\n ${Info}:hover &,\r\n ${Info}:active &,\r\n ${Info}.focus-ring & {\r\n opacity: 1;\r\n z-index: 1;\r\n pointer-events: all;\r\n }\r\n`;\r\nconst FormStyles = {\r\n ConfirmationMessage,\r\n Content,\r\n Description,\r\n Divider,\r\n Error,\r\n ErrorList,\r\n ErrorListItem,\r\n Field,\r\n Form,\r\n Label,\r\n Loader,\r\n LoaderText,\r\n Row,\r\n Section,\r\n SubmitWrapper,\r\n Title,\r\n Info,\r\n Tooltip,\r\n};\r\nexport default FormStyles;\r\n","import * as React from 'react';\r\nimport S from './Form.styles';\r\nconst ErrorSummary = (props) => {\r\n return (React.createElement(S.ErrorList, { ...props.variants }, props.errors.map((error, i) => (React.createElement(S.ErrorListItem, { key: `error-${i}`, dangerouslySetInnerHTML: { __html: `!
${error}
` } })))));\r\n};\r\nexport default ErrorSummary;\r\n","import { InterfaceIcon } from '@helpers/icons';\r\nimport Button from '@stories/Components/Buttons/Button/Button';\r\nimport { AnimatePresence } from 'framer-motion';\r\nimport * as React from 'react';\r\nimport ErrorSummary from './ErrorSummary';\r\nimport S from './Form.styles';\r\nconst Form = ({ buttonType, children, confirmationMessage, errors = [], showSubmit = true, status = 'initial', submitLabel, onSubmit, showConfirmation, ...props }) => {\r\n const refForm = React.useRef(null);\r\n const variants = {\r\n initial: { y: `-20px`, scale: 0.9, opacity: 0 },\r\n animate: {\r\n y: `0px`,\r\n scale: 1,\r\n opacity: 1,\r\n },\r\n exit: { y: `-20px`, scale: 0.9, opacity: 0 },\r\n };\r\n return (React.createElement(S.Form, { ref: refForm, onSubmit: onSubmit, ...props },\r\n React.createElement(AnimatePresence, null,\r\n status === 'error' && errors.length > 0 && (React.createElement(ErrorSummary, { key: `${props.id}-errors`, errors: errors, variants: variants })),\r\n (status === 'fulfilled' || showConfirmation) && confirmationMessage && (React.createElement(S.ConfirmationMessage, { key: `${props.id}-confirmation`, dangerouslySetInnerHTML: { __html: confirmationMessage }, ...variants }))),\r\n status !== 'fulfilled' && children,\r\n status !== 'fulfilled' && showSubmit && (React.createElement(S.SubmitWrapper, null,\r\n React.createElement(Button, { buttonType: buttonType ? buttonType : 'primary', disabled: status === 'pending', type: \"submit\", icon: status === 'pending' ? InterfaceIcon.Loader : undefined },\r\n React.createElement(\"span\", { dangerouslySetInnerHTML: { __html: submitLabel } }))))));\r\n};\r\nexport default Form;\r\n","import * as React from 'react';\r\nimport { FocusRing } from 'react-aria';\r\nimport S from './Form.styles';\r\nconst FormField = ({ showLabel = true, ...otherProps }) => {\r\n const errorToShow = Array.isArray(otherProps.error)\r\n ? otherProps.error.find((error) => !!error)\r\n : otherProps.error;\r\n const name = Array.isArray(otherProps.name) ? otherProps.name[0] : otherProps.name;\r\n return (React.createElement(S.Field, { \"data-size\": otherProps.size ?? 'default', \"data-error\": !!errorToShow, \"data-disabled\": otherProps.disabled ?? false },\r\n otherProps.label && (React.createElement(S.Label, { htmlFor: name, \"data-hide\": !showLabel, \"data-required\": otherProps.required },\r\n otherProps.label,\r\n otherProps.tooltip && (React.createElement(FocusRing, { focusRingClass: \"focus-ring\" },\r\n React.createElement(S.Info, { \"aria-label\": \"More Information\", \"aria-describedby\": `${name}-label`, onClick: (e) => e.preventDefault() },\r\n \"?\",\r\n React.createElement(S.Tooltip, { id: `${name}-label`, role: \"tooltip\" }, otherProps.tooltip)))))),\r\n otherProps.description && (React.createElement(S.Description, { dangerouslySetInnerHTML: { __html: otherProps.description } })),\r\n otherProps.children,\r\n errorToShow && (React.createElement(S.Error, null,\r\n React.createElement(\"span\", null, \"!\"),\r\n \" \",\r\n errorToShow.message))));\r\n};\r\nexport default FormField;\r\n","import * as React from 'react';\r\nimport S from './Form.styles';\r\nconst FormRow = ({ children, ...props }) => {\r\n return React.createElement(S.Row, { ...props }, children);\r\n};\r\nexport default FormRow;\r\n","import * as React from 'react';\r\nimport S from './Form.styles';\r\nconst FormSection = React.forwardRef(({ disabled, visible, title, content, children, ...props }, ref) => {\r\n return (React.createElement(S.Section, { ref: ref, disabled: disabled, \"data-visible\": visible, ...props },\r\n title && (React.createElement(S.Title, null,\r\n React.createElement(\"span\", null, title))),\r\n content && React.createElement(S.Content, null, content),\r\n children));\r\n});\r\nFormSection.displayName = 'FormSection';\r\nexport default FormSection;\r\n","import { transition } from '@helpers/animate';\r\nimport brand from '@helpers/brand';\r\nimport { fluid } from '@helpers/fluid';\r\nimport fonts from '@helpers/fonts';\r\nimport styled, { css } from 'styled-components';\r\nexport const CommonTextInputStyles = css `\r\n ${transition('border-width, border-color')};\r\n ${fonts.lato.regular};\r\n\r\n --bgColour: ${brand.global.white};\r\n --borderColour: ${brand.grey.dark};\r\n --borderRadius: 4px;\r\n --placeholderColour: ${brand.global.black};\r\n --readOnlyColour: ${brand.global.black};\r\n --disabledColour: ${brand.grey.light};\r\n\r\n /* Ensure iOS doesn't apply default border radius */\r\n -webkit-appearance: none !important;\r\n display: block;\r\n background: var(--bgColour);\r\n border: 1px solid var(--borderColour);\r\n border-radius: var(--borderRadius);\r\n color: var(--textColour);\r\n height: 56px;\r\n font-size: ${fluid(14, 16)};\r\n margin: 0;\r\n padding: 7px 12px;\r\n width: 100%;\r\n\r\n [data-error='true'] & {\r\n border-color: ${brand.validation.invalid};\r\n border-width: 3px;\r\n }\r\n\r\n &:disabled,\r\n &[aria-disabled='true'] {\r\n color: var(--disabledColour);\r\n border-color: var(--disabledColour);\r\n cursor: not-allowed;\r\n pointer-events: none;\r\n }\r\n\r\n &:read-only,\r\n &[readonly] {\r\n color: var(--readOnlyColour);\r\n cursor: not-allowed;\r\n }\r\n\r\n &::placeholder {\r\n color: var(--placeholderColour);\r\n opacity: 0.5;\r\n }\r\n\r\n &:not([readonly], :read-only):focus {\r\n border-color: ${brand.primary.blue.dark};\r\n border-width: 3px;\r\n }\r\n`;\r\nconst Input = styled.input `\r\n ${CommonTextInputStyles};\r\n`;\r\nconst TextboxStyles = {\r\n Input,\r\n};\r\nexport default TextboxStyles;\r\n","import * as React from 'react';\r\nimport { FocusRing } from 'react-aria';\r\nimport S from './Textbox.styles';\r\nconst Textbox = React.forwardRef((props, ref) => {\r\n return (React.createElement(FocusRing, { focusRingClass: \"focus-ring\" },\r\n React.createElement(S.Input, { ref: ref, ...props })));\r\n});\r\nTextbox.displayName = 'Textbox';\r\nexport default Textbox;\r\n","import { useRef } from 'react';\nimport { useIsomorphicLayoutEffect } from './use-isomorphic-effect.mjs';\n\nfunction useIsMounted() {\n var isMounted = useRef(false);\n useIsomorphicLayoutEffect(function () {\n isMounted.current = true;\n return function () {\n isMounted.current = false;\n };\n }, []);\n return isMounted;\n}\n\nexport { useIsMounted };\n","import { __values } from 'tslib';\nimport * as React from 'react';\nimport { useMemo } from 'react';\nimport { PresenceContext } from '../../context/PresenceContext.mjs';\nimport { useConstant } from '../../utils/use-constant.mjs';\nimport { useId } from '../../utils/use-id.mjs';\n\nvar PresenceChild = function (_a) {\n var children = _a.children, initial = _a.initial, isPresent = _a.isPresent, onExitComplete = _a.onExitComplete, custom = _a.custom, presenceAffectsLayout = _a.presenceAffectsLayout;\n var presenceChildren = useConstant(newChildrenMap);\n var id = useId();\n var context = useMemo(function () { return ({\n id: id,\n initial: initial,\n isPresent: isPresent,\n custom: custom,\n onExitComplete: function (childId) {\n var e_1, _a;\n presenceChildren.set(childId, true);\n try {\n for (var _b = __values(presenceChildren.values()), _c = _b.next(); !_c.done; _c = _b.next()) {\n var isComplete = _c.value;\n if (!isComplete)\n return; // can stop searching when any is incomplete\n }\n }\n catch (e_1_1) { e_1 = { error: e_1_1 }; }\n finally {\n try {\n if (_c && !_c.done && (_a = _b.return)) _a.call(_b);\n }\n finally { if (e_1) throw e_1.error; }\n }\n onExitComplete === null || onExitComplete === void 0 ? void 0 : onExitComplete();\n },\n register: function (childId) {\n presenceChildren.set(childId, false);\n return function () { return presenceChildren.delete(childId); };\n },\n }); }, \n /**\n * If the presence of a child affects the layout of the components around it,\n * we want to make a new context value to ensure they get re-rendered\n * so they can detect that layout change.\n */\n presenceAffectsLayout ? undefined : [isPresent]);\n useMemo(function () {\n presenceChildren.forEach(function (_, key) { return presenceChildren.set(key, false); });\n }, [isPresent]);\n /**\n * If there's no `motion` components to fire exit animations, we want to remove this\n * component immediately.\n */\n React.useEffect(function () {\n !isPresent && !presenceChildren.size && (onExitComplete === null || onExitComplete === void 0 ? void 0 : onExitComplete());\n }, [isPresent]);\n return (React.createElement(PresenceContext.Provider, { value: context }, children));\n};\nfunction newChildrenMap() {\n return new Map();\n}\n\nexport { PresenceChild };\n","import { __read, __spreadArray } from 'tslib';\nimport * as React from 'react';\nimport { useContext, useRef, cloneElement, Children, isValidElement } from 'react';\nimport { env } from '../../utils/process.mjs';\nimport { useForceUpdate } from '../../utils/use-force-update.mjs';\nimport { useIsMounted } from '../../utils/use-is-mounted.mjs';\nimport { PresenceChild } from './PresenceChild.mjs';\nimport { LayoutGroupContext } from '../../context/LayoutGroupContext.mjs';\nimport { useIsomorphicLayoutEffect } from '../../utils/use-isomorphic-effect.mjs';\nimport { useUnmountEffect } from '../../utils/use-unmount-effect.mjs';\n\nvar getChildKey = function (child) { return child.key || \"\"; };\nfunction updateChildLookup(children, allChildren) {\n children.forEach(function (child) {\n var key = getChildKey(child);\n allChildren.set(key, child);\n });\n}\nfunction onlyElements(children) {\n var filtered = [];\n // We use forEach here instead of map as map mutates the component key by preprending `.$`\n Children.forEach(children, function (child) {\n if (isValidElement(child))\n filtered.push(child);\n });\n return filtered;\n}\n/**\n * `AnimatePresence` enables the animation of components that have been removed from the tree.\n *\n * When adding/removing more than a single child, every child **must** be given a unique `key` prop.\n *\n * Any `motion` components that have an `exit` property defined will animate out when removed from\n * the tree.\n *\n * ```jsx\n * import { motion, AnimatePresence } from 'framer-motion'\n *\n * export const Items = ({ items }) => (\n * \n * {items.map(item => (\n * \n * ))}\n * \n * )\n * ```\n *\n * You can sequence exit animations throughout a tree using variants.\n *\n * If a child contains multiple `motion` components with `exit` props, it will only unmount the child\n * once all `motion` components have finished animating out. Likewise, any components using\n * `usePresence` all need to call `safeToRemove`.\n *\n * @public\n */\nvar AnimatePresence = function (_a) {\n var children = _a.children, custom = _a.custom, _b = _a.initial, initial = _b === void 0 ? true : _b, onExitComplete = _a.onExitComplete, exitBeforeEnter = _a.exitBeforeEnter, _c = _a.presenceAffectsLayout, presenceAffectsLayout = _c === void 0 ? true : _c;\n // We want to force a re-render once all exiting animations have finished. We\n // either use a local forceRender function, or one from a parent context if it exists.\n var _d = __read(useForceUpdate(), 1), forceRender = _d[0];\n var forceRenderLayoutGroup = useContext(LayoutGroupContext).forceRender;\n if (forceRenderLayoutGroup)\n forceRender = forceRenderLayoutGroup;\n var isMounted = useIsMounted();\n // Filter out any children that aren't ReactElements. We can only track ReactElements with a props.key\n var filteredChildren = onlyElements(children);\n var childrenToRender = filteredChildren;\n var exiting = new Set();\n // Keep a living record of the children we're actually rendering so we\n // can diff to figure out which are entering and exiting\n var presentChildren = useRef(childrenToRender);\n // A lookup table to quickly reference components by key\n var allChildren = useRef(new Map()).current;\n // If this is the initial component render, just deal with logic surrounding whether\n // we play onMount animations or not.\n var isInitialRender = useRef(true);\n useIsomorphicLayoutEffect(function () {\n isInitialRender.current = false;\n updateChildLookup(filteredChildren, allChildren);\n presentChildren.current = childrenToRender;\n });\n useUnmountEffect(function () {\n isInitialRender.current = true;\n allChildren.clear();\n exiting.clear();\n });\n if (isInitialRender.current) {\n return (React.createElement(React.Fragment, null, childrenToRender.map(function (child) { return (React.createElement(PresenceChild, { key: getChildKey(child), isPresent: true, initial: initial ? undefined : false, presenceAffectsLayout: presenceAffectsLayout }, child)); })));\n }\n // If this is a subsequent render, deal with entering and exiting children\n childrenToRender = __spreadArray([], __read(childrenToRender), false);\n // Diff the keys of the currently-present and target children to update our\n // exiting list.\n var presentKeys = presentChildren.current.map(getChildKey);\n var targetKeys = filteredChildren.map(getChildKey);\n // Diff the present children with our target children and mark those that are exiting\n var numPresent = presentKeys.length;\n for (var i = 0; i < numPresent; i++) {\n var key = presentKeys[i];\n if (targetKeys.indexOf(key) === -1) {\n exiting.add(key);\n }\n }\n // If we currently have exiting children, and we're deferring rendering incoming children\n // until after all current children have exiting, empty the childrenToRender array\n if (exitBeforeEnter && exiting.size) {\n childrenToRender = [];\n }\n // Loop through all currently exiting components and clone them to overwrite `animate`\n // with any `exit` prop they might have defined.\n exiting.forEach(function (key) {\n // If this component is actually entering again, early return\n if (targetKeys.indexOf(key) !== -1)\n return;\n var child = allChildren.get(key);\n if (!child)\n return;\n var insertionIndex = presentKeys.indexOf(key);\n var onExit = function () {\n allChildren.delete(key);\n exiting.delete(key);\n // Remove this child from the present children\n var removeIndex = presentChildren.current.findIndex(function (presentChild) { return presentChild.key === key; });\n presentChildren.current.splice(removeIndex, 1);\n // Defer re-rendering until all exiting children have indeed left\n if (!exiting.size) {\n presentChildren.current = filteredChildren;\n if (isMounted.current === false)\n return;\n forceRender();\n onExitComplete && onExitComplete();\n }\n };\n childrenToRender.splice(insertionIndex, 0, React.createElement(PresenceChild, { key: getChildKey(child), isPresent: false, onExitComplete: onExit, custom: custom, presenceAffectsLayout: presenceAffectsLayout }, child));\n });\n // Add `MotionContext` even to children that don't need it to ensure we're rendering\n // the same tree between renders\n childrenToRender = childrenToRender.map(function (child) {\n var key = child.key;\n return exiting.has(key) ? (child) : (React.createElement(PresenceChild, { key: getChildKey(child), isPresent: true, presenceAffectsLayout: presenceAffectsLayout }, child));\n });\n if (env !== \"production\" &&\n exitBeforeEnter &&\n childrenToRender.length > 1) {\n console.warn(\"You're attempting to animate multiple children within AnimatePresence, but its exitBeforeEnter prop is set to true. This will lead to odd visual behaviour.\");\n }\n return (React.createElement(React.Fragment, null, exiting.size\n ? childrenToRender\n : childrenToRender.map(function (child) { return cloneElement(child); })));\n};\n\nexport { AnimatePresence };\n","import { __read } from 'tslib';\nimport sync from 'framesync';\nimport { useState, useCallback } from 'react';\nimport { useIsMounted } from './use-is-mounted.mjs';\n\nfunction useForceUpdate() {\n var isMounted = useIsMounted();\n var _a = __read(useState(0), 2), forcedRenderCount = _a[0], setForcedRenderCount = _a[1];\n var forceRender = useCallback(function () {\n isMounted.current && setForcedRenderCount(forcedRenderCount + 1);\n }, [forcedRenderCount]);\n /**\n * Defer this to the end of the next animation frame in case there are multiple\n * synchronous calls.\n */\n var deferredForceRender = useCallback(function () { return sync.postRender(forceRender); }, [forceRender]);\n return [deferredForceRender, forcedRenderCount];\n}\n\nexport { useForceUpdate };\n"],"names":["API_URLS","brandCardsListing","contentCardsListing","searchSubmit","searchTypeahead","savePage","signIn","forgottenPassword","resetPassword","signUp","checkCompanyName","communities","myAccount","newsletters","css","brand","grey","grey40","grey90","headingStyles","fonts","intro","fluid","h1Sizes","h2","h3","h4","h5","h6","paragraphStyles","lato","regular","paragraphLarge","paragraphRegular","paragraphSmall","paragraphExtraSmall","subheading","from","Device","TabletLarge","link","transition","reverseLinkUnderline","blockquote","svgQuote","primary","purple","dark","table","light","global","white","contentStyles","bold","blue","secondary","green","mid","orange","pink","yellow","scrollbars","semiBold","svgChevron","withMotion","WrappedComponent","displayName","name","ComponentWithMotion","props","React","LazyMotion","features","domAnimation","strict","validateNotWhitespaceOnly","value","error","trim","length","useForm","params","refContainer","useReactHookFormReturn","useReactHookForm","defaultValues","mode","reValidateMode","shouldUseNativeValidation","handleSubmit","status","setStatus","confirmationMessage","setConfirmationMessage","serverErrors","setServerErrors","onSubmit","async","formData","event","_resData$errors","res","FormData","target","fetch","endpoint","body","method","JSON","stringify","headers","ok","disableSuccessScroll","setTimeout","_refContainer$current","current","scrollIntoView","behavior","block","initialPostSubmit","resData","json","errors","_refContainer$current2","postSubmitCallback","message","_refContainer$current3","redirect","window","location","href","CommonButtonTextStyles","Text","styled","span","withConfig","componentId","srOnly","IconWrapper","div","InterfaceIcon","ArrowRight","Close","IconHoverStyles","DefaultButtonStyles","ButtonReset","black","until","SecondaryButtonStyles","BrandColours","OrangeMid","OrangeDark","GreenDark","PinkDark","BackgroundVariant","Blue","Purple","PurpleDark","lightest","BlueLight","GreenLight","OrangeLight","PinkLight","TertiaryButtonStyles","rgba","Grey","Container","button","Button","_ref","ref","_getSvgIcon","buttonType","children","fillDirection","icon","iconOnly","iconPosition","otherProps","FocusRing","focusRingClass","S","None","getSvgIcon","FakeButton","_ref2","_getSvgIcon2","as","LinkButton","_ref3","_getSvgIcon3","Form","form","grey80","Section","fieldset","Title","legend","Tablet","Content","p","Row","Field","Desktop","CommonLabelStyles","validation","invalid","grey44","Label","label","Description","CommonErrorStyles","Error","Divider","hr","SubmitWrapper","ButtonStyles","Loader","LoaderText","ErrorList","m","ul","ErrorListItem","li","ConfirmationMessage","Info","Tooltip","variants","map","i","key","dangerouslySetInnerHTML","__html","showSubmit","submitLabel","showConfirmation","refForm","initial","y","scale","opacity","animate","exit","AnimatePresence","ErrorSummary","id","disabled","type","undefined","_otherProps$size","_otherProps$disabled","showLabel","errorToShow","Array","isArray","find","size","htmlFor","required","tooltip","onClick","e","preventDefault","role","description","FormSection","visible","title","content","CommonTextInputStyles","Input","input","Textbox","useIsMounted","isMounted","useRef","PresenceChild","_a","isPresent","onExitComplete","custom","presenceAffectsLayout","presenceChildren","newChildrenMap","context","useMemo","childId","e_1","set","_b","values","_c","next","done","e_1_1","return","call","register","delete","forEach","_","PresenceContext","Provider","Map","getChildKey","child","exitBeforeEnter","_d","useState","forcedRenderCount","setForcedRenderCount","forceRender","useCallback","postRender","useForceUpdate","forceRenderLayoutGroup","useContext","LayoutGroupContext","L","filteredChildren","filtered","Children","isValidElement","push","onlyElements","childrenToRender","exiting","Set","presentChildren","allChildren","isInitialRender","updateChildLookup","clear","presentKeys","targetKeys","numPresent","indexOf","add","get","insertionIndex","splice","removeIndex","findIndex","presentChild","has","console","warn","cloneElement"],"sourceRoot":""}