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AA4BxF,QAASA,IAAM0F,EAAiB,eAAehJ,KAAMjJ,EAAMiJ,QAASjJ,EAAMuT,eAAgB,C","sources":["webpack://ess-mep/./src/img/ess-logo.svg","webpack://ess-mep/./src/img/icons/chevron-right-mep.svg","webpack://ess-mep/./src/img/icons/chevron-right.svg","webpack://ess-mep/./src/img/icons/social/facebook.svg","webpack://ess-mep/./src/img/icons/social/linkedin.svg","webpack://ess-mep/./src/helpers/api.ts","webpack://ess-mep/./src/helpers/global.ts","webpack://ess-mep/./src/helpers/grid.ts","webpack://ess-mep/./src/helpers/ssr.ts","webpack://ess-mep/./src/helpers/utils.ts","webpack://ess-mep/./src/hooks/useForm.ts","webpack://ess-mep/./src/stories/Components/Global/Buttons/Button/Button.tsx","webpack://ess-mep/./src/stories/Components/Global/Buttons/LinkButton/LinkButton.tsx","webpack://ess-mep/./src/stories/Components/Global/Forms/ErrorSummary.tsx","webpack://ess-mep/./src/stories/Components/Global/Forms/Form.styles.ts","webpack://ess-mep/./src/stories/Components/Global/Forms/FormField.tsx","webpack://ess-mep/./src/stories/Components/Global/Inputs/CheckboxList/CheckboxList.styles.ts","webpack://ess-mep/./src/stories/Components/Global/Inputs/CheckboxList/CheckboxList.tsx","webpack://ess-mep/./src/stories/Components/Global/Inputs/Textbox/Textbox.styles.ts","webpack://ess-mep/./src/stories/Components/Global/Inputs/Textbox/Textbox.tsx","webpack://ess-mep/./src/stories/Components/Global/SectionWrapper/SectionWrapper.styles.ts","webpack://ess-mep/./src/hoc/withBaseProps.tsx","webpack://ess-mep/./src/stories/Components/Global/SectionWrapper/SectionWrapper.tsx","webpack://ess-mep/./src/img/mep-logo-mob.svg","webpack://ess-mep/./src/img/mep-logo.svg","webpack://ess-mep/./src/img/icons/social/x.svg","webpack://ess-mep/./src/img/icons/social/youtube.svg","webpack://ess-mep/./src/stories/Components/SocialLinks/SocialLinks.styles.ts","webpack://ess-mep/./src/stories/Components/SocialLinks/SocialLinks.tsx","webpack://ess-mep/./src/stories/Widgets/Global/Footer/LinkList/LinkList.styles.ts","webpack://ess-mep/./src/stories/Widgets/Global/Footer/Footer.styles.ts","webpack://ess-mep/./src/stories/Widgets/Global/Footer/LinkList/LinkList.tsx","webpack://ess-mep/./src/stories/Widgets/Global/Footer/Footer.tsx"],"sourcesContent":["var _g, _g2, _g3, _g4;\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 SvgEssLogo(props) {\n  return /*#__PURE__*/React.createElement(\"svg\", _extends({\n    xmlns: \"http://www.w3.org/2000/svg\",\n    viewBox: \"0 0 208.093 85\"\n  }, props), _g || (_g = /*#__PURE__*/React.createElement(\"g\", {\n    clipPath: \"url(#ess-logo_svg__clip-path)\"\n  }, /*#__PURE__*/React.createElement(\"rect\", {\n    width: 85.002,\n    height: 84.998,\n    rx: 8,\n    fill: \"#464749\"\n  }))), _g2 || (_g2 = /*#__PURE__*/React.createElement(\"g\", {\n    clipPath: \"url(#ess-logo_svg__clip-path-2)\",\n    transform: \"translate(2.031 6.151)\"\n  }, /*#__PURE__*/React.createElement(\"path\", {\n    fill: \"url(#ess-logo_svg__radial-gradient)\",\n    d: \"M0 0h81.715v76.854H0z\"\n  }))), _g3 || (_g3 = /*#__PURE__*/React.createElement(\"g\", {\n    transform: \"translate(2.031 2.083)\",\n    clipPath: \"url(#ess-logo_svg__clip-path-3)\"\n  }, /*#__PURE__*/React.createElement(\"g\", {\n    clipPath: \"url(#ess-logo_svg__clip-path-4)\",\n    transform: \"translate(.001 -4.853)\"\n  }, /*#__PURE__*/React.createElement(\"path\", {\n    fill: \"url(#ess-logo_svg__pattern)\",\n    d: \"M0 0h92.727v85.383H0z\"\n  })))), _g4 || (_g4 = /*#__PURE__*/React.createElement(\"g\", {\n    clipPath: \"url(#ess-logo_svg__clip-path)\"\n  }, /*#__PURE__*/React.createElement(\"path\", {\n    d: \"M29.324 50.796h-7.378L9.598 16.958h9.4l5.948 20.162a36.153 36.153 0 01.935 4.329h.1a37.9 37.9 0 01.935-4.329l6.1-20.162h8.509M54.551 51.385a19.756 19.756 0 01-4.817-.492v10.473h-8.267v-35.8a29.78 29.78 0 0111.606-1.968c9.444 0 15.3 4.87 15.3 13.72 0 8.56-5.654 14.067-13.82 14.067m-1.625-23.361a8.712 8.712 0 00-3.2.541v18.05a10.619 10.619 0 002.8.343c4.821 0 7.377-3.443 7.377-9.542s-1.87-9.391-6.983-9.391M58.037 69.565a8.264 8.264 0 01-1.923-.231v3.847h-1.516V60.176a8.132 8.132 0 013.439-.657c3.241 0 4.972 1.925 4.972 4.864 0 3.2-1.962 5.182-4.972 5.182m-.069-9.173a4.318 4.318 0 00-1.853.374v7.693a5.639 5.639 0 001.6.212c2.37 0 3.758-1.619 3.758-4.2 0-2.511-.943-4.078-3.507-4.078M64.434 55.371h1.533v13.98h-1.533zM71.773 69.584c-2.476 0-4.382-1.962-4.382-5.042 0-3.135 1.906-5.023 4.435-5.023a4.3 4.3 0 012.547.657l-.392.857a3.288 3.288 0 00-1.817-.518c-2.123 0-3.207 1.694-3.207 3.974 0 2.351 1.245 4.025 3.151 4.025a3.531 3.531 0 001.853-.516l.41.927a4.482 4.482 0 01-2.6.659\",\n    fill: \"#fff\"\n  }), /*#__PURE__*/React.createElement(\"path\", {\n    d: \"M208.095 47.88a12.209 12.209 0 01-1.276 5.546 13.011 13.011 0 01-3.6 4.4 18.158 18.158 0 01-5.546 2.931 21.963 21.963 0 01-7.044 1.084 40.265 40.265 0 01-8.128-.733 22.509 22.509 0 01-5.64-1.817l2.741-7.011a9.153 9.153 0 001.625.733q.989.352 2.135.637t2.453.48a17.938 17.938 0 002.582.19 9.334 9.334 0 005.64-1.561 4.916 4.916 0 002.137-4.174 4.271 4.271 0 00-1.339-3.284 13.723 13.723 0 00-3.378-2.229q-2.039-.989-4.4-1.913a21.8 21.8 0 01-4.4-2.327 11.941 11.941 0 01-3.378-3.537 10.1 10.1 0 01-1.339-5.45 12.2 12.2 0 011.18-5.291 12.753 12.753 0 013.378-4.333 16.784 16.784 0 015.258-2.933 20.536 20.536 0 016.885-1.084 29.017 29.017 0 017.266.8 22.534 22.534 0 014.846 1.751l-2.547 6.244a20.1 20.1 0 00-3.443-1.339 15.544 15.544 0 00-4.525-.637 8.306 8.306 0 00-5.227 1.529 4.839 4.839 0 00-1.976 4.017 4.173 4.173 0 001.4 3.282 13.2 13.2 0 003.537 2.166l4.59 1.849a21.35 21.35 0 014.588 2.39 12.386 12.386 0 013.539 3.729 11.059 11.059 0 011.4 5.895m-35.374 0a12.209 12.209 0 01-1.276 5.546 12.988 12.988 0 01-3.6 4.4 18.159 18.159 0 01-5.546 2.931 21.945 21.945 0 01-7.044 1.084 40.23 40.23 0 01-8.126-.733 22.5 22.5 0 01-5.642-1.817l2.741-7.011a9.152 9.152 0 001.625.733q.989.352 2.135.637t2.455.48a17.91 17.91 0 002.58.19 9.34 9.34 0 005.642-1.561 4.914 4.914 0 002.135-4.174 4.264 4.264 0 00-1.339-3.284 13.709 13.709 0 00-3.376-2.229q-2.042-.989-4.4-1.913a21.734 21.734 0 01-4.4-2.327 11.916 11.916 0 01-3.373-3.539 10.086 10.086 0 01-1.339-5.45 12.223 12.223 0 011.178-5.291 12.784 12.784 0 013.38-4.333 16.785 16.785 0 015.258-2.933 20.527 20.527 0 016.885-1.084 29.029 29.029 0 017.266.8 22.552 22.552 0 014.844 1.751l-2.549 6.248a20.069 20.069 0 00-3.441-1.339 15.548 15.548 0 00-4.527-.637 8.3 8.3 0 00-5.225 1.529 4.834 4.834 0 00-1.976 4.017 4.173 4.173 0 001.4 3.282 13.136 13.136 0 003.537 2.166l4.588 1.849a21.414 21.414 0 014.59 2.39 12.379 12.379 0 013.537 3.729 11.059 11.059 0 011.4 5.895m-62.519 13.065V17.096h26.579v6.568h-15.366v11.659h13.519v6.441h-13.519v12.62h15.366v6.566z\",\n    fill: \"#df1020\",\n    fillRule: \"evenodd\"\n  }))));\n}\nexport default SvgEssLogo;","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 SvgChevronRightMep(props) {\n  return /*#__PURE__*/React.createElement(\"svg\", _extends({\n    viewBox: \"0 0 8.617 15.434\"\n  }, props), _path || (_path = /*#__PURE__*/React.createElement(\"path\", {\n    d: \"M1.414 1.413l6.2 6.359L1.42 14.02\",\n    fill: \"none\",\n    stroke: \"currentColor\",\n    strokeLinecap: \"round\",\n    strokeLinejoin: \"round\",\n    strokeWidth: 2\n  })));\n}\nexport default SvgChevronRightMep;","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 SvgChevronRight(props) {\n  return /*#__PURE__*/React.createElement(\"svg\", _extends({\n    viewBox: \"0 0 7.791 13.658\"\n  }, props), _path || (_path = /*#__PURE__*/React.createElement(\"path\", {\n    d: \"M.537.523l6.2 6.359L.543 13.13\",\n    fill: \"none\",\n    stroke: \"currentColor\",\n    strokeWidth: 1.5\n  })));\n}\nexport default SvgChevronRight;","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 SvgFacebook(props) {\n  return /*#__PURE__*/React.createElement(\"svg\", _extends({\n    xmlns: \"http://www.w3.org/2000/svg\",\n    viewBox: \"0 0 13.39 25\"\n  }, props), _path || (_path = /*#__PURE__*/React.createElement(\"path\", {\n    d: \"M12.513 14.063l.694-4.524H8.866V6.6a2.262 2.262 0 012.551-2.444h1.974V.306A24.068 24.068 0 009.891 0c-3.58 0-5.916 2.167-5.916 6.09v3.448H0v4.524h3.975V25h4.891V14.063z\",\n    fill: \"currentColor\"\n  })));\n}\nexport default SvgFacebook;","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 SvgLinkedin(props) {\n  return /*#__PURE__*/React.createElement(\"svg\", _extends({\n    xmlns: \"http://www.w3.org/2000/svg\",\n    viewBox: \"0 0 25.001 25\"\n  }, props), _path || (_path = /*#__PURE__*/React.createElement(\"path\", {\n    d: \"M5.6 24.999H.413V8.308H5.6zM3 6.032a3.016 3.016 0 113-3.033 3.027 3.027 0 01-3 3.033zm21.995 18.967h-5.172v-8.124c0-1.936-.039-4.42-2.695-4.42-2.695 0-3.108 2.1-3.108 4.28v8.264H8.843V8.308h4.971v2.277h.073a5.446 5.446 0 014.9-2.7c5.246 0 6.21 3.454 6.21 7.941v9.173z\",\n    fill: \"currentColor\"\n  })));\n}\nexport default SvgLinkedin;","// ADD API URLS BELOW\r\nexport const API_URLS = {\r\n    /* Product redux urls */\r\n    masterProduct: '/api/products/master-product',\r\n    variantProduct: '/api/products/variant-product',\r\n    /* Basket redux urls */\r\n    addToBasket: '/api/basket/add-products',\r\n    addOrderToBasket: '/api/basket/add-order',\r\n    getBasket: '/api/basket/get-basket',\r\n    updateBasketProduct: '/api/basket/update-product',\r\n    deleteBasketProduct: '/api/basket/delete-product',\r\n    validateBasket: '/api/basket/validate',\r\n    /* Listing urls */\r\n    getArticles: '/api/articles/get-articles',\r\n    getCourses: '/api/courses/get-courses',\r\n    getProducts: '/api/products/get-products',\r\n    getDocuments: '/api/documents/get-documents',\r\n    getDocumentDownloads: '/api/documents/get-document-downloads',\r\n    getTypeahead: '/api/search/typeahead',\r\n    /* Branch urls */\r\n    getBranches: '/api/branches/get-branches',\r\n    /* Checkout */\r\n    checkAccount: '/api/checkout/account-check',\r\n    submitOrder: '/api/checkout/submit',\r\n    getBasketDelivery: '/api/checkout/delivery',\r\n    getBasketShareUrl: '/api/checkout/shareurl',\r\n    /* Account urls */\r\n    extendOrderRequest: '/api/orders/extend',\r\n    requestCollection: '/api/orders/request-collection',\r\n    forgottenPassword: '/api/account/forgotten-password',\r\n    getOrders: '/api/orders',\r\n    getOrdersCSV: '/api/orders/csv',\r\n    newsletterSignup: '/api/newsletter/signup',\r\n    postLogin: '/api/user/login',\r\n    resetPassword: '/api/account/reset-password',\r\n    updateAccountDetails: '/api/account/update-details',\r\n    updateAddressDetails: '/api/account/update-address',\r\n    webAccountRegistration: '/api/user/web-registration',\r\n    marketingPreferences: '/api/account/marketing-preferences',\r\n    updatePassword: '/api/account/update-password',\r\n    getAddresses: '/api/account/addresses-admin',\r\n    updateAddressStatus: '/api/account/update-address',\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","import { fluid } from '@helpers/fluid';\r\nimport { css } from 'styled-components';\r\nimport { Device, from } from './media';\r\nexport const SitePadding = fluid(16, 64);\r\nexport const SiteWidth = 1916;\r\nexport const GutterWidth = fluid(10, 24);\r\nexport const siteWide = css `\r\n  margin: 0 auto;\r\n  max-width: var(--siteWidth);\r\n  padding: 0 var(--sitePadding);\r\n  width: 100%;\r\n`;\r\nexport const baseGrid = css `\r\n  display: grid;\r\n  column-gap: var(--gutterWidth);\r\n  grid-template-columns: repeat(6, 1fr);\r\n\r\n  @media ${from(Device.Tablet)} {\r\n    grid-template-columns: repeat(8, 1fr);\r\n  }\r\n\r\n  @media ${from(Device.Desktop)} {\r\n    grid-template-columns: repeat(12, 1fr);\r\n  }\r\n`;\r\n","export const isSSR = () => {\r\n    const returnValue = !(typeof window != 'undefined' && window.document);\r\n    return returnValue;\r\n};\r\n","export function sleep(ms) {\r\n    return new Promise((resolve) => setTimeout(resolve, ms));\r\n}\r\n/** Clamp index to be within the min/max index range. */\r\nexport function clamp(value, max) {\r\n    return Math.max(Math.min(value, max), 0);\r\n}\r\nexport const highlightTitleWords = (title) => title.replaceAll(/\\*([\\w\\W]+)\\*/g, '<span>$1</span>');\r\nexport const formatCurrency = (amount) => amount.toLocaleString('en-GB', { style: 'currency', currency: 'GBP' });\r\nexport const getInitials = (name) => {\r\n    const nameArray = name.split(' ');\r\n    const firstNameIn = nameArray[0].charAt(0).toUpperCase();\r\n    const lastNameIn = nameArray[nameArray.length - 1].charAt(0).toUpperCase();\r\n    return firstNameIn + lastNameIn;\r\n};\r\n/**\r\n * (?=.*[a-z])        = Check for lowercase letter\r\n * (?=.*[A-Z])        = Check for uppercase letter\r\n * (?=.*[0-9])        = Check for digit\r\n * (?=.*[^\\da-zA-Z])  = Check for non-digit and non-letter (^ negates the [] section)\r\n * .{8,}              = Make sure it is at least 8 characters, no maximum\r\n */\r\nexport const PASSWORD_RULE_REGEX = /^(?=.*[A-Z])(?=.*[\\W])(?=.*[0-9])(?=.*[a-z])(?=.*[^\\da-zA-Z]).{8,}$/;\r\n/**\r\n * Make sure this explains PASSWORD_RULE_REGEX\r\n */\r\nexport const PASSWORD_RULE_MESSAGE = `Please enter a valid password`;\r\n/**\r\n * Set of rules to keep the wording consistant throughout the site.\r\n */\r\nexport const PASSWORD_RULES = [\r\n    'At least 8 characters long',\r\n    'At least one Uppercase letter A-Z',\r\n    'At least one Lowercase letter A-Z',\r\n    'At least one base 10 digits 0-9',\r\n    'At least one special character (~!@#$%^&*_-+=`|(){}[]:;”’<>,.?/)',\r\n];\r\n/**\r\n * Rule structure for react-hook-form\r\n */\r\nexport const PASSWORD_RULE = {\r\n    message: PASSWORD_RULE_MESSAGE,\r\n    value: PASSWORD_RULE_REGEX,\r\n};\r\n/**\r\n * Rule structure for react-hook-form\r\n */\r\nexport const EMAIL_RULE = {\r\n    message: `Please enter a valid email address`,\r\n    value: /^[\\w\\-.\\d*]+@[\\w\\-\\d.]+(\\.\\w*)$/,\r\n};\r\n/**\r\n * Rule structure for react-hook-form\r\n */\r\nexport const PHONE_NUMBER_RULE = {\r\n    message: `Please enter a valid phone number`,\r\n    value: /^[\\d+()\\-x ]+$/,\r\n};\r\n/**\r\n * Rule structure for full name. At least two words separated by a space\r\n */\r\nexport const FULL_NAME_RULE = {\r\n    message: `Please enter a valid full name with first and last names`,\r\n    value: /^([\\w\\-\\u00C0-\\u017F]{3,})+\\s+([\\w\\s\\-\\u00C0-\\u017F]{3,})+$/i,\r\n};\r\n/**\r\n * Rule structure for react-hook-form\r\n * Pattern based on https://andrewwburns.com/2018/04/10/uk-postcode-validation-regex/, but allows both lower and uppercase\r\n */\r\nexport const POSTCODE_RULE = {\r\n    message: `Please enter a valid postcode`,\r\n    value: /^(([A-Za-z][0-9]{1,2})|(([A-Za-z][A-HJ-Ya-hj-y][0-9]{1,2})|(([A-Za-z][0-9][A-Za-z])|([A-Za-z][A-HJ-Ya-hj-y][0-9]?[A-Za-z])))) [0-9][A-Za-z]{2}$/,\r\n};\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: '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            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    const resetStatus = () => setStatus('initial');\r\n    return {\r\n        confirmationMessage,\r\n        refContainer,\r\n        serverErrors,\r\n        status,\r\n        onSubmit: handleSubmit(onSubmit),\r\n        resetStatus: resetStatus,\r\n        useReactHookFormReturn,\r\n    };\r\n}\r\n","import ChevronRightMEP from '@img/icons/chevron-right-mep.svg';\r\nimport ChevronRight from '@img/icons/chevron-right.svg';\r\nimport { FocusRing } from '@react-aria/focus';\r\nimport * as React from 'react';\r\nimport S from './Button.styles';\r\nconst Button = ({ buttonType, children, icon, iconOnly, iconPosition = 'right', site, ...otherProps }) => {\r\n    return (React.createElement(FocusRing, { focusRingClass: \"focus-ring\" },\r\n        React.createElement(S.Container, { \"data-icon-only\": iconOnly, \"data-icon-position\": iconPosition, \"data-type\": buttonType, ...otherProps },\r\n            React.createElement(S.Text, null, children),\r\n            buttonType === 'link' || buttonType === 'link-alt' || buttonType === 'link-black' ? (React.createElement(React.Fragment, null, otherProps.disabled === true && icon ? (React.createElement(S.IconWrapper, null, icon)) : (React.createElement(S.IconWrapper, null, site === 'ess' ? React.createElement(ChevronRight, null) : React.createElement(ChevronRightMEP, null))))) : (React.createElement(React.Fragment, null, icon ? React.createElement(S.IconWrapper, null, icon) : null)))));\r\n};\r\nexport default Button;\r\n","import ChevronRightMEP from '@img/icons/chevron-right-mep.svg';\r\nimport ChevronRight from '@img/icons/chevron-right.svg';\r\nimport { FocusRing } from '@react-aria/focus';\r\nimport * as React from 'react';\r\nimport S from '../Button/Button.styles';\r\nconst LinkButton = ({ buttonType, children, icon, iconOnly, iconPosition = 'right', site, ...otherProps }) => {\r\n    return (React.createElement(FocusRing, { focusRingClass: \"focus-ring\" },\r\n        React.createElement(S.Container, { as: \"a\", \"data-icon-only\": iconOnly, \"data-icon-position\": iconPosition, \"data-type\": buttonType, ...otherProps },\r\n            React.createElement(S.Text, null, children),\r\n            buttonType === 'link' || buttonType === 'link-alt' || buttonType === 'link-black' ? (React.createElement(S.IconWrapper, null, site === 'ess' ? React.createElement(ChevronRight, null) : React.createElement(ChevronRightMEP, null))) : (React.createElement(React.Fragment, null, icon ? React.createElement(S.IconWrapper, null, icon) : null)))));\r\n};\r\nexport default LinkButton;\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 },\r\n        React.createElement(\"span\", null, \"!\"),\r\n        \" \",\r\n        error)))));\r\n};\r\nexport default ErrorSummary;\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 { between, Device, from } from '@helpers/media';\r\nimport srOnly from '@helpers/srOnly';\r\nimport { contentStyles, paragraphRegular } from '@helpers/typography';\r\nimport ButtonStyles from '@stories/Components/Global/Buttons/Button/Button.styles';\r\nimport { rgba } from 'polished';\r\nimport styled, { css } from 'styled-components';\r\nconst Form = styled.form `\r\n  position: relative;\r\n  display: flex;\r\n  flex-direction: column;\r\n  gap: ${fluid(32, 40)} 0;\r\n\r\n  --borderColour: ${brand.ess.secondary.midGrey};\r\n`;\r\nconst Section = styled.fieldset `\r\n  display: flex;\r\n  flex-direction: column;\r\n  gap: ${fluid(20, 24)};\r\n\r\n  &[data-visible='false'] {\r\n    display: none;\r\n  }\r\n`;\r\nconst Title = styled.legend `\r\n  display: block;\r\n  font-size: ${fluid(18, 20)};\r\n  margin: 0 0 30px;\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\n  [data-site='ess'] & {\r\n    ${fonts.daxWide.medium};\r\n\r\n    color: var(--borderColour);\r\n\r\n    > span {\r\n      padding: 0 0 12px;\r\n    }\r\n  }\r\n\r\n  [data-site='mep'] & {\r\n    ${fonts.museoSlab.medium};\r\n\r\n    color: ${brand.global.white};\r\n\r\n    > span {\r\n      padding: 12px 42px 12px 20px;\r\n      background-color: var(--borderColour);\r\n      clip-path: polygon(\r\n        100% 100%,\r\n        100% 92%,\r\n        calc(100% - 1px) 79%,\r\n        calc(100% - 2px) 71%,\r\n        calc(100% - 4px) 64%,\r\n        calc(100% - 14px) 42%,\r\n        calc(100% - 32px) 0%,\r\n        0% 0%,\r\n        0% 100%\r\n      );\r\n    }\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\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.daxWide.bold};\r\n\r\n  font-size: ${fluid(14, 18)};\r\n  line-height: ${fluid(18, 22)};\r\n  text-transform: uppercase;\r\n  display: block;\r\n  margin: 0 0 10px;\r\n  color: var(--textColor);\r\n\r\n  &.required,\r\n  &[data-required='true'] {\r\n    &::after {\r\n      content: ' *';\r\n      display: inline;\r\n      color: ${brand.global.red};\r\n    }\r\n  }\r\n\r\n  &[data-hide='true'] {\r\n    ${srOnly}\r\n  }\r\n\r\n  [data-site='ess'] & {\r\n    --textColor: ${brand.ess.primary};\r\n  }\r\n\r\n  [data-site='mep'] & {\r\n    --textColor: ${brand.mep.primary};\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.global.red};\r\n  margin: 8px 0 0;\r\n\r\n  > span {\r\n    display: inline-flex;\r\n    justify-content: center;\r\n    align-items: center;\r\n    width: ${fluid(16, 20)};\r\n    height: ${fluid(16, 20)};\r\n    border-radius: 50%;\r\n    background-color: ${brand.global.red};\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\n  [data-site='ess'] & {\r\n    @media ${between(Device.Tablet, Device.TabletLarge)} {\r\n      ${ButtonStyles.Container} {\r\n        margin-right: 30px;\r\n      }\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.red, 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.daxWide.bold};\r\n\r\n  display: block;\r\n  margin: 1rem 0 0;\r\n`;\r\nconst ErrorList = styled.ul `\r\n  display: flex;\r\n  color: ${brand.global.red};\r\n  flex-direction: column;\r\n  margin: 0;\r\n`;\r\nconst ErrorListItem = styled.li `\r\n  ${CommonErrorStyles};\r\n\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  p:last-child {\r\n    margin-bottom: 0;\r\n  }\r\n`;\r\nconst Info = styled.button `\r\n  ${ButtonReset};\r\n  ${fonts.daxWide.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(--infoBg);\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\n  [data-site='ess'] & {\r\n    --infoBg: ${brand.ess.secondary.lightestGrey};\r\n  }\r\n\r\n  [data-site='mep'] & {\r\n    --infoBg: ${brand.mep.secondary.lightGrey};\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(--tooltipFg);\r\n  background-color: var(--tooltipBg);\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), -0.4px 6.3px 7.1px -1.7px var(--shadowColour),\r\n    -0.9px 15px 16.9px -2.5px var(--shadowColour);\r\n  white-space: normal;\r\n  pointer-events: none;\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\n  [data-site='ess'] & {\r\n    --tooltipBg: ${brand.ess.secondary.darkestGrey};\r\n    --tooltipFg: ${brand.global.white};\r\n  }\r\n\r\n  [data-site='mep'] & {\r\n    --tooltipBg: ${brand.mep.secondary.darkestGrey};\r\n    --tooltipFg: ${brand.global.white};\r\n\r\n    border-radius: 4px;\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 { 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' },\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 brand from '@helpers/brand';\r\nimport { fluid } from '@helpers/fluid';\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/background/tick.svg?url';\r\nimport styled, { css } from 'styled-components';\r\nexport const CommonCheckboxContainerStyles = css `\r\n  display: flex;\r\n  flex-wrap: wrap;\r\n  gap: ${fluid(12, 16)} ${fluid(24, 48)};\r\n\r\n  flex-direction: column;\r\n\r\n  @media ${from(Device.Tablet)} {\r\n    flex-direction: row;\r\n  }\r\n\r\n  &[data-layout='vertical'] {\r\n    flex-direction: column;\r\n  }\r\n`;\r\nconst Container = styled.div `\r\n  ${CommonCheckboxContainerStyles};\r\n`;\r\nconst Option = styled.div `\r\n  display: flex;\r\n\r\n  @media ${from(Device.Tablet)} {\r\n    white-space: nowrap;\r\n  }\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  ${srOnly};\r\n`;\r\nexport const CommonCheckboxLabelStyles = css `\r\n  ${fonts.daxWide.regular};\r\n\r\n  display: inline-flex;\r\n  align-items: center;\r\n  cursor: pointer;\r\n  font-size: ${fluid(16, 18)};\r\n  line-height: 1em;\r\n  color: var(--textColor);\r\n\r\n  &::before {\r\n    content: '';\r\n    display: inline-block;\r\n    height: 17px;\r\n    background: ${brand.global.white} no-repeat center center;\r\n    background-size: 12px 12px;\r\n    border: 1px solid var(--borderColour);\r\n    color: var(--textColor);\r\n    margin-right: ${fluid(10, 12)};\r\n    width: 17px;\r\n    border-radius: 4px;\r\n    flex-shrink: 0;\r\n  }\r\n\r\n  a {\r\n    ${link};\r\n  }\r\n\r\n  ${Input}:checked + &::before {\r\n    background-color: ${brand.global.white};\r\n    background-image: url(${svgTick});\r\n  }\r\n\r\n  [data-site='ess'] & {\r\n    --borderColour: ${brand.ess.secondary.darkGrey};\r\n    --textColor: ${brand.ess.primary};\r\n  }\r\n\r\n  [data-site='mep'] & {\r\n    --borderColour: ${brand.mep.secondary.darkestGrey};\r\n    --textColor: ${brand.mep.primary};\r\n  }\r\n\r\n  [data-layout='vertical'] & {\r\n    width: 100%;\r\n  }\r\n`;\r\nconst Label = styled.label `\r\n  ${CommonCheckboxLabelStyles};\r\n`;\r\nconst CheckboxListStyles = {\r\n    Container,\r\n    Input,\r\n    Label,\r\n    Option,\r\n};\r\nexport default CheckboxListStyles;\r\n","import * as React from 'react';\r\nimport S from './CheckboxList.styles';\r\nconst CheckboxListOption = React.forwardRef((props, ref) => {\r\n    const { id: initialId, children, ...otherProps } = props;\r\n    const id = `${initialId}-${otherProps.name}${otherProps.value ? `-${otherProps.value}` : ''}`;\r\n    return (React.createElement(S.Option, null,\r\n        React.createElement(S.Input, { ref: ref, id: id, type: \"checkbox\", value: otherProps.value, ...otherProps }),\r\n        React.createElement(S.Label, { htmlFor: id }, children)));\r\n});\r\nCheckboxListOption.displayName = 'CheckboxListOption';\r\nexport { CheckboxListOption };\r\nconst CheckboxList = (props) => {\r\n    return React.createElement(S.Container, { \"data-layout\": props.layout ?? 'horizontal' }, props.children);\r\n};\r\nCheckboxList.displayName = 'CheckboxList';\r\nexport default CheckboxList;\r\n","import brand from '@helpers/brand';\r\nimport { fluid } from '@helpers/fluid';\r\nimport fonts from '@helpers/fonts';\r\nimport { rgba } from 'polished';\r\nimport styled, { css } from 'styled-components';\r\nexport const CommonTextInputStyles = css `\r\n  ${fonts.daxWide.regular};\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(--textColor);\r\n  height: 50px;\r\n  font-size: ${fluid(16, 18)};\r\n  margin: 0;\r\n  padding: 7px 12px;\r\n  width: 100%;\r\n\r\n  &:disabled {\r\n    opacity: 0.5;\r\n  }\r\n\r\n  &:read-only,\r\n  &[readonly] {\r\n    color: var(--readOnlyColour);\r\n  }\r\n\r\n  &::placeholder {\r\n    color: var(--placeholderColour);\r\n    opacity: 0.5;\r\n  }\r\n\r\n  &.focus-ring {\r\n    outline: auto;\r\n    outline-offset: 3px;\r\n    outline-width: 2px;\r\n    outline-style: solid;\r\n  }\r\n\r\n  --bgColour: ${brand.global.white};\r\n  --borderColour: ${brand.ess.secondary.midGrey};\r\n\r\n  [data-site='ess'] & {\r\n    --borderRadius: 4px;\r\n    --placeholderColour: ${brand.ess.secondary.darkGrey};\r\n    --textColor: ${brand.ess.primary};\r\n    --readOnlyColour: ${rgba(brand.ess.primary, 0.66)};\r\n  }\r\n\r\n  [data-site='mep'] & {\r\n    --borderRadius: 8px;\r\n    --placeholderColour: ${brand.mep.secondary.darkestGrey};\r\n    --textColor: ${brand.mep.primary};\r\n    --readOnlyColour: ${rgba(brand.mep.primary, 0.66)};\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 { fluid } from '@helpers/fluid';\r\nimport { siteWide } from '@helpers/grid';\r\nimport styled from 'styled-components';\r\nconst Container = styled.section `\r\n  --scrollMargin: ${fluid(8, 12)};\r\n\r\n  scroll-margin: var(--scrollMargin) 0 0;\r\n\r\n  // Spacing styles.\r\n  &[data-spacing='padding'] {\r\n    padding: var(--sectionSpacing) 0;\r\n  }\r\n\r\n  &[data-spacing='margin'] {\r\n    margin: var(--sectionSpacing) 0;\r\n  }\r\n\r\n  // Overflow styles.\r\n  &[data-overflow='hidden'] {\r\n    overflow: hidden;\r\n  }\r\n\r\n  &[data-overflow='clip'] {\r\n    overflow: clip;\r\n  }\r\n`;\r\nconst Inner = styled.div `\r\n  ${siteWide};\r\n`;\r\nconst SectionWrapperStyles = {\r\n    Container,\r\n    Inner,\r\n};\r\nexport default SectionWrapperStyles;\r\n","import * as React from 'react';\r\nconst BasePropsContext = React.createContext({ site: 'ess' });\r\nexport function withBaseProps(WrappedComponent) {\r\n    const displayName = WrappedComponent.displayName || WrappedComponent.name || 'Component';\r\n    const ComponentWithBaseProps = (props) => {\r\n        return (React.createElement(BasePropsContext.Provider, { value: props },\r\n            React.createElement(WrappedComponent, { ...props })));\r\n    };\r\n    ComponentWithBaseProps.displayName = `withBaseProps(${displayName})`;\r\n    return ComponentWithBaseProps;\r\n}\r\nexport const useBaseProps = () => React.useContext(BasePropsContext);\r\n","import { useBaseProps } from '@hoc/withBaseProps';\r\nimport * as React from 'react';\r\nimport S from './SectionWrapper.styles';\r\nconst SectionWrapper = React.forwardRef((props, ref) => {\r\n    const { children, layout = 'default', overflow = 'default', spacing = 'margin', site = 'ess', ...otherProps } = props;\r\n    const baseProps = useBaseProps();\r\n    return (React.createElement(S.Container, { ref: ref, id: baseProps.id, \"data-overflow\": overflow, \"data-spacing\": spacing, \"data-site\": site, ...otherProps }, renderLayout()));\r\n    function renderLayout() {\r\n        if (layout === 'fullWidth') {\r\n            return children;\r\n        }\r\n        return React.createElement(S.Inner, null, children);\r\n    }\r\n});\r\nSectionWrapper.displayName = 'SectionWrapper';\r\nexport default SectionWrapper;\r\n","var _rect, _g, _g2, _g3, _g4;\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 SvgMepLogoMob(props) {\n  return /*#__PURE__*/React.createElement(\"svg\", _extends({\n    xmlns: \"http://www.w3.org/2000/svg\",\n    viewBox: \"0 0 118 27.848\"\n  }, props), _rect || (_rect = /*#__PURE__*/React.createElement(\"rect\", {\n    width: 27.522,\n    height: 27.521,\n    rx: 2,\n    fill: \"#464545\",\n    transform: \"translate(0 .228)\"\n  })), _g || (_g = /*#__PURE__*/React.createElement(\"g\", {\n    clipPath: \"url(#mep-logo-mob_svg__clip-path)\",\n    transform: \"translate(1.111 3.364)\"\n  }, /*#__PURE__*/React.createElement(\"path\", {\n    fill: \"url(#mep-logo-mob_svg__radial-gradient)\",\n    d: \"M0 0h25.618v23.393H0z\"\n  }))), _g2 || (_g2 = /*#__PURE__*/React.createElement(\"g\", {\n    clipPath: \"url(#mep-logo-mob_svg__clip-path-2)\",\n    transform: \"translate(1.111 1.139)\"\n  }, /*#__PURE__*/React.createElement(\"g\", {\n    clipPath: \"url(#mep-logo-mob_svg__clip-path-3)\",\n    transform: \"translate(-.241 -.201)\"\n  }, /*#__PURE__*/React.createElement(\"path\", {\n    fill: \"url(#mep-logo-mob_svg__pattern)\",\n    d: \"M0 0h25.977v23.92H0z\"\n  })))), _g3 || (_g3 = /*#__PURE__*/React.createElement(\"g\", {\n    clipPath: \"url(#mep-logo-mob_svg__clip-path-4)\",\n    fill: \"#fff\"\n  }, /*#__PURE__*/React.createElement(\"path\", {\n    d: \"M9.607 16.642H7.19L3.141 5.556h3.082l1.95 6.606a11.845 11.845 0 01.306 1.418h.032a12.417 12.417 0 01.306-1.418l2-6.606h2.788M17.87 16.835a6.472 6.472 0 01-1.578-.161v3.431h-2.706V8.376a9.756 9.756 0 013.8-.645c3.094 0 5.011 1.6 5.011 4.5a4.317 4.317 0 01-4.527 4.604m-.531-7.653a2.854 2.854 0 00-1.047.177v5.911a3.475 3.475 0 00.918.112c1.579 0 2.417-1.128 2.417-3.126s-.613-3.077-2.288-3.077M19.014 22.791a2.707 2.707 0 01-.63-.076v1.261h-.5v-4.261a2.664 2.664 0 011.127-.215 1.477 1.477 0 011.627 1.594 1.552 1.552 0 01-1.629 1.7m-.023-3.005a1.415 1.415 0 00-.607.122v2.519a1.848 1.848 0 00.525.07 1.208 1.208 0 001.234-1.378c0-.823-.309-1.336-1.149-1.336M21.11 22.721h.5v-4.58h-.5M23.514 22.797a1.487 1.487 0 01-1.436-1.652 1.474 1.474 0 011.453-1.646 1.409 1.409 0 01.835.215l-.128.281a1.077 1.077 0 00-.6-.17c-.7 0-1.051.555-1.051 1.3 0 .77.408 1.319 1.032 1.319a1.157 1.157 0 00.607-.169l.134.3a1.468 1.468 0 01-.853.216\"\n  }))), _g4 || (_g4 = /*#__PURE__*/React.createElement(\"g\", {\n    fill: \"#d70017\"\n  }, /*#__PURE__*/React.createElement(\"path\", {\n    d: \"M53.499 19.613l-1.9-14.2h-3.508l-2.952 8.255a15.641 15.641 0 00-.475 1.589h-.041s-.165-.743-.454-1.61l-2.807-8.235h-3.53l-1.878 14.201h3.014c.041-.557.97-8.5.97-8.5a13.906 13.906 0 00.078-1.717l.041-.021a13.386 13.386 0 00.5 1.734s2.807 7.947 3.034 8.5h1.775c.268-.64 3.055-8.5 3.055-8.5a14.592 14.592 0 00.516-1.734h.041a14.067 14.067 0 00.083 1.734s.908 8.029.949 8.5zm9.825 0V17.49H58.35V13.4h4.376v-2.085H58.35V7.538h4.975V5.412h-8.609v14.2zm12.612-9.908c0-2.518-1.8-4.582-6.378-4.582a13.828 13.828 0 00-5 .826v13.664h3.592v-5.449a11.1 11.1 0 001.28.083c4.607-.001 6.506-1.982 6.506-4.542zm-3.571-.021c0 1.713-.764 2.725-2.972 2.725a7.313 7.313 0 01-1.238-.1V7.19a4.587 4.587 0 011.4-.206c2.046-.003 2.81.926 2.81 2.701zm21.838 9.929v-14.2H90.55v5.9h-4.645v-5.9h-3.632v14.2h3.633V13.4h4.644v6.213zm5.387-14.3a1.769 1.769 0 00-1.94-1.507 1.747 1.747 0 00-1.92 1.507 1.747 1.747 0 001.92 1.507 1.769 1.769 0 001.941-1.511zm-.186 14.3V8.49h-3.488v11.123zM108.312 8.282a16.186 16.186 0 00-1.589-.083 14.29 14.29 0 00-5.427.826v10.589h3.486v-9.206a4.7 4.7 0 012.869.045zM118.001 13.604c0-3.339-1.6-5.284-4.9-5.284a4.81 4.81 0 00-5.21 5.174c0 3.211 2.037 5.229 5.614 5.229a10.568 10.568 0 004.11-.734l-.642-1.721a8.364 8.364 0 01-3.138.547c-1.761 0-2.734-.789-2.972-2.348zm-2.936-1.046l-4.422.569c-.092-2.128.954-3.174 2.33-3.174 1.303 0 2.092.844 2.092 2.605z\"\n  }))));\n}\nexport default SvgMepLogoMob;","var _g;\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 SvgMepLogo(props) {\n  return /*#__PURE__*/React.createElement(\"svg\", _extends({\n    xmlns: \"http://www.w3.org/2000/svg\",\n    viewBox: \"0 0 361.318 75.383\"\n  }, props), _g || (_g = /*#__PURE__*/React.createElement(\"g\", {\n    transform: \"translate(0 -.01)\",\n    clipPath: \"url(#mep-logo_svg__clip-path)\"\n  }, /*#__PURE__*/React.createElement(\"g\", {\n    transform: \"translate(0 4.985)\",\n    clipPath: \"url(#mep-logo_svg__clip-path-2)\"\n  }, /*#__PURE__*/React.createElement(\"g\", {\n    clipPath: \"url(#mep-logo_svg__clip-path-3)\",\n    transform: \"translate(0 .512)\"\n  }, /*#__PURE__*/React.createElement(\"rect\", {\n    width: 64.921,\n    height: 64.921,\n    rx: 7.181,\n    fill: \"#575756\"\n  })), /*#__PURE__*/React.createElement(\"g\", {\n    clipPath: \"url(#mep-logo_svg__clip-path-4)\",\n    transform: \"translate(2.585 3.164)\"\n  }, /*#__PURE__*/React.createElement(\"path\", {\n    fill: \"url(#mep-logo_svg__radial-gradient)\",\n    d: \"M0 0h59.729v59.728H0z\"\n  })), /*#__PURE__*/React.createElement(\"g\", {\n    clipPath: \"url(#mep-logo_svg__clip-path-5)\",\n    transform: \"translate(2.585 3.164)\"\n  }, /*#__PURE__*/React.createElement(\"g\", {\n    clipPath: \"url(#mep-logo_svg__clip-path-6)\",\n    transform: \"translate(-1.067 -.665)\"\n  }, /*#__PURE__*/React.createElement(\"path\", {\n    fill: \"url(#mep-logo_svg__pattern)\",\n    d: \"M0 0h61.526v56.15H0z\"\n  }))), /*#__PURE__*/React.createElement(\"g\", {\n    clipPath: \"url(#mep-logo_svg__clip-path-7)\",\n    fill: \"#fff\"\n  }, /*#__PURE__*/React.createElement(\"path\", {\n    d: \"M22.396 39.31h-5.635L7.333 13.464h7.174l4.546 15.4a27.443 27.443 0 01.713 3.3h.076a28.727 28.727 0 01.714-3.3l4.657-15.4h6.5M41.662 39.76a15.2 15.2 0 01-3.679-.375v8h-6.312V20.038a22.747 22.747 0 018.864-1.5c7.213 0 11.682 3.718 11.682 10.479 0 6.537-4.319 10.745-10.556 10.745m-1.237-17.845a6.646 6.646 0 00-2.442.413v13.786a8.117 8.117 0 002.141.263c3.681 0 5.633-2.63 5.633-7.289s-1.428-7.173-5.332-7.173M44.327 53.647a6.32 6.32 0 01-1.469-.177v2.938h-1.157v-9.932a6.172 6.172 0 012.626-.5 3.444 3.444 0 013.8 3.715 3.618 3.618 0 01-3.8 3.959m-.053-7.006a3.307 3.307 0 00-1.416.285v5.876a4.271 4.271 0 001.225.164c1.808 0 2.87-1.239 2.87-3.21 0-1.919-.722-3.115-2.679-3.115M49.213 42.804h1.17v10.678h-1.17zM54.817 53.66c-1.891 0-3.347-1.5-3.347-3.852 0-2.394 1.456-3.837 3.387-3.837a3.265 3.265 0 011.947.5l-.3.653a2.528 2.528 0 00-1.388-.394c-1.619 0-2.448 1.293-2.448 3.034 0 1.8.952 3.074 2.407 3.074a2.7 2.7 0 001.415-.394l.314.709a3.423 3.423 0 01-1.987.5\"\n  })), /*#__PURE__*/React.createElement(\"path\", {\n    d: \"M92.445 56.938l-1.205-8.456h-1.61l-2 5.63a7.613 7.613 0 00-.283.959h-.029a8.813 8.813 0 00-.27-.959l-1.93-5.63h-1.615l-1.2 8.456h1.352c.012-.209.75-5.827.75-5.827a9.528 9.528 0 00.061-1l.025-.012a8.125 8.125 0 00.283 1.013s1.979 5.617 2.065 5.826h.873c.098-.246 2.077-5.826 2.077-5.826a8.829 8.829 0 00.283-1.008h.025a9.844 9.844 0 00.061 1.008s.725 5.654.738 5.826zM99.341 53.533c0-2.225-1.094-3.393-3.11-3.393a3.144 3.144 0 00-3.307 3.462 3.262 3.262 0 003.614 3.508 6.193 6.193 0 002.532-.479l-.369-.9a5.134 5.134 0 01-2.028.381 2.035 2.035 0 01-2.262-1.977zm-1.492-.566l-3.54.455c-.033-1.647.803-2.42 1.86-2.42 1.021 0 1.68.6 1.68 1.965zm7 3.664l-.381-.873a2.057 2.057 0 01-1.131.332c-1.131 0-1.881-1-1.881-2.508-.001-1.487.651-2.48 1.905-2.48a2.066 2.066 0 011.131.32l.344-.8a3.172 3.172 0 00-1.844-.479 3.155 3.155 0 00-3.135 3.476c0 2.164 1.352 3.491 3.123 3.491a3.145 3.145 0 001.869-.479zm6.6.307v-4.77c0-1-.713-2-2.692-2a4.425 4.425 0 00-1.77.369v-3.249h-1.538v9.65h1.537v-5.63a3.309 3.309 0 011.363-.283c1.119 0 1.549.59 1.549 1.168v4.745zm6.626-.307v-4.192c0-1.7-1.229-2.3-2.827-2.3a7.34 7.34 0 00-2.594.479l.356.811a5.518 5.518 0 011.955-.381c.983 0 1.66.27 1.66 1.18v.381c-2.409.2-4.438.676-4.438 2.459 0 1.266 1 2.041 3.11 2.041a6.968 6.968 0 002.778-.478zm-1.451-.541a3.048 3.048 0 01-1.2.221c-1.082 0-1.77-.381-1.77-1.278 0-1.278 1.192-1.586 2.975-1.758zm8.494.848v-4.757c0-1.451-1.254-2.041-3.135-2.041a8.2 8.2 0 00-2.864.479v6.319h1.537v-5.7a3.8 3.8 0 011.242-.2c.885 0 1.672.32 1.672 1.168v4.732zM127.86 48.431a.833.833 0 00-.9-.738.833.833 0 00-.9.738.833.833 0 00.9.738.833.833 0 00.9-.738zm-.123 8.507v-6.626h-1.547v6.626zM133.576 56.631l-.381-.873a2.057 2.057 0 01-1.131.332c-1.131 0-1.881-1-1.881-2.508 0-1.487.652-2.48 1.905-2.48a2.066 2.066 0 011.131.32l.344-.8a3.172 3.172 0 00-1.843-.482 3.155 3.155 0 00-3.135 3.479c0 2.164 1.352 3.491 3.125 3.491a3.145 3.145 0 001.866-.479zm6.183 0v-4.192c0-1.7-1.229-2.3-2.827-2.3a7.34 7.34 0 00-2.594.479l.356.811a5.518 5.518 0 011.955-.381c.983 0 1.66.27 1.66 1.18v.381c-2.409.2-4.438.676-4.438 2.459 0 1.266 1 2.041 3.11 2.041a6.968 6.968 0 002.778-.478zm-1.449-.541a3.048 3.048 0 01-1.2.221c-1.082 0-1.77-.381-1.77-1.278 0-1.278 1.192-1.586 2.975-1.758zm4.093.848v-9.65h-1.538v9.65zm3.048-1.106c-.037-.221-.246-.443-.676-.443a1.223 1.223 0 00-.947.443l-1.2 3.184h.91zM154.437 56.938v-.971h-3.258v-2.9h2.9v-.947h-2.9v-2.68h3.258v-.958h-4.868v8.456zM156.871 56.938v-9.65h-1.537v9.65zm7.252-3.405c0-2.225-1.094-3.393-3.11-3.393a3.144 3.144 0 00-3.306 3.462 3.262 3.262 0 003.614 3.508 6.193 6.193 0 002.532-.479l-.369-.9a5.134 5.134 0 01-2.028.381 2.035 2.035 0 01-2.262-1.977zm-1.489-.566l-3.54.455c-.035-1.647.801-2.42 1.858-2.42 1.02 0 1.682.6 1.682 1.965zm7.009 3.664l-.381-.873a2.057 2.057 0 01-1.131.332c-1.131 0-1.881-1-1.881-2.508 0-1.487.652-2.483 1.905-2.483a2.066 2.066 0 011.131.32l.344-.8a3.172 3.172 0 00-1.844-.479 3.155 3.155 0 00-3.135 3.479c0 2.164 1.352 3.491 3.122 3.491a3.145 3.145 0 001.87-.479zm4.18.32v-.873a1.637 1.637 0 01-.418.061.889.889 0 01-.983-.922v-4.044h1.4v-.86h-1.4v-1.882l-1.537.393v1.488h-1.009v.86h1.008v4.118c0 .9.578 1.795 2.09 1.795a2.392 2.392 0 00.848-.135zm4.45-6.773c-.16-.012-.479-.037-.738-.037a7.757 7.757 0 00-3.049.479v6.318h1.537v-5.692a3.231 3.231 0 011.918-.061zM180.325 48.431a.833.833 0 00-.9-.738.833.833 0 00-.9.738.833.833 0 00.9.738.833.833 0 00.9-.738zm-.123 8.507v-6.626h-1.547v6.626zM186.041 56.631l-.381-.873a2.057 2.057 0 01-1.131.332c-1.131 0-1.881-1-1.881-2.508 0-1.487.652-2.48 1.905-2.48a2.066 2.066 0 011.131.32l.344-.8a3.172 3.172 0 00-1.843-.482 3.155 3.155 0 00-3.135 3.479c0 2.164 1.352 3.491 3.125 3.491a3.145 3.145 0 001.866-.479zm6.183 0v-4.192c0-1.7-1.229-2.3-2.827-2.3a7.34 7.34 0 00-2.594.479l.356.811a5.518 5.518 0 011.955-.381c.983 0 1.66.27 1.66 1.18v.381c-2.409.2-4.438.676-4.438 2.459 0 1.266 1 2.041 3.11 2.041a6.968 6.968 0 002.778-.478zm-1.449-.541a3.048 3.048 0 01-1.2.221c-1.082 0-1.77-.381-1.77-1.278 0-1.278 1.192-1.586 2.975-1.758zm4.093.848v-9.65h-1.538v9.65zm12.218-5.409l-.381-.836a10.114 10.114 0 01-3.8.947c-.983 0-1.844-.455-1.844-1.217 0-.688.565-1.143 1.635-1.143a3.174 3.174 0 011.414.332l.467-.824a4.783 4.783 0 00-2.2-.479c-1.758 0-2.864.86-2.864 2 0 .9.688 1.537 1.844 1.844v.025c-1.414.369-2.471 1.18-2.471 2.434 0 1.549 1.475 2.5 3.823 2.5a6.872 6.872 0 002.866-.481v-4.622a9.155 9.155 0 001.511-.48zm-3.024 4.524a4.329 4.329 0 01-1.278.149c-1.463 0-2.25-.639-2.25-1.672 0-1.254 1.217-1.819 3.528-2.274zM215.421 56.938v-.971h-3.049v-7.485h-1.622v8.456zM222.206 53.631c0-1.978-1.082-3.491-3.282-3.491s-3.295 1.513-3.295 3.491 1.094 3.479 3.295 3.479 3.282-1.5 3.282-3.479zm-1.562-.013c0 1.291-.393 2.52-1.721 2.52-1.3 0-1.721-1.229-1.721-2.52s.394-2.565 1.722-2.565 1.72 1.275 1.72 2.565zM232.938 50.312h-1.413l-1.3 4.425a5.823 5.823 0 00-.172.91h-.028a6.094 6.094 0 00-.2-.91l-1.386-4.425h-1.352l-1.438 4.425a5.283 5.283 0 00-.209.91h-.024a5.734 5.734 0 00-.172-.91l-1.267-4.425h-1.586l2.213 6.625h1.426l1.463-4.327a4.991 4.991 0 00.184-.86h.025a4.991 4.991 0 00.184.86l1.414 4.327h1.425zM241.358 56.938v-.971h-3.049v-7.485h-1.622v8.456zM247.985 53.532c0-2.225-1.094-3.393-3.11-3.393a3.144 3.144 0 00-3.307 3.467 3.262 3.262 0 003.614 3.504 6.193 6.193 0 002.532-.48l-.369-.9a5.134 5.134 0 01-2.028.381 2.035 2.035 0 01-2.262-1.976zm-1.492-.565l-3.54.455c-.037-1.647.8-2.422 1.856-2.422 1.025 0 1.684.602 1.684 1.967zm8.064-2.655h-1.483l-1.475 4.425a7.261 7.261 0 00-.246.959h-.025a5.49 5.49 0 00-.221-.959l-1.475-4.425h-1.684l2.594 6.625h1.487zM261.187 53.533c0-2.225-1.094-3.393-3.11-3.393a3.144 3.144 0 00-3.307 3.462 3.262 3.262 0 003.614 3.508 6.193 6.193 0 002.532-.479l-.369-.9a5.134 5.134 0 01-2.028.381 2.035 2.035 0 01-2.262-1.977zm-1.492-.566l-3.54.455c-.033-1.647.803-2.42 1.86-2.42 1.021 0 1.68.6 1.68 1.965zm3.864 3.971v-9.65h-1.536v9.65zM275.507 56.938l-3.454-8.456h-1.5l-3.454 8.456h1.573l.873-2.274h3.356l.873 2.274zm-2.852-3.122h-2.864l1.106-3.049a7.888 7.888 0 00.32-1.085h.025a7.888 7.888 0 00.32 1.082zM280.547 56.63l-.381-.877a2.057 2.057 0 01-1.131.332c-1.131 0-1.881-1-1.881-2.508 0-1.487.652-2.483 1.905-2.483a2.066 2.066 0 011.131.32l.344-.8a3.172 3.172 0 00-1.843-.474 3.155 3.155 0 00-3.135 3.478c0 2.164 1.352 3.492 3.125 3.492a3.145 3.145 0 001.866-.48zm4.794 0l-.381-.877a2.057 2.057 0 01-1.131.332c-1.131 0-1.881-1-1.881-2.508 0-1.487.652-2.483 1.905-2.483a2.066 2.066 0 011.128.324l.344-.8a3.172 3.172 0 00-1.844-.478 3.155 3.155 0 00-3.131 3.478c0 2.164 1.352 3.492 3.123 3.492a3.145 3.145 0 001.868-.48zM292.103 53.532c0-2.225-1.094-3.393-3.11-3.393a3.144 3.144 0 00-3.307 3.467 3.262 3.262 0 003.614 3.504 6.193 6.193 0 002.532-.48l-.369-.9a5.134 5.134 0 01-2.028.381 2.035 2.035 0 01-2.262-1.976zm-1.492-.565l-3.54.455c-.037-1.647.8-2.422 1.856-2.422 1.025 0 1.684.602 1.684 1.967zM297.425 55.044c0-2.212-3.216-1.561-3.216-3.036 0-.5.492-.947 1.291-.947a2.532 2.532 0 011.309.382l.406-.824a4.108 4.108 0 00-2.028-.479c-1.561 0-2.52.959-2.52 1.942 0 2.164 3.159 1.426 3.159 3 0 .565-.627 1.033-1.414 1.033a3.194 3.194 0 01-1.572-.394l-.406.91a4.835 4.835 0 002.175.479c1.722 0 2.816-1.008 2.816-2.066zM302.637 55.044c0-2.212-3.216-1.56-3.216-3.036 0-.5.492-.947 1.291-.947a2.532 2.532 0 011.309.382l.406-.824a4.108 4.108 0 00-2.028-.479c-1.561-.001-2.519.958-2.519 1.944 0 2.164 3.159 1.426 3.159 3 0 .563-.627 1.03-1.418 1.03a3.194 3.194 0 01-1.569-.394l-.406.91a4.835 4.835 0 002.175.479c1.722 0 2.816-1.008 2.816-2.065zm9.232-.553c0-2.8-3.909-2.016-3.909-3.835 0-.787.652-1.34 1.647-1.34a3.634 3.634 0 011.614.393l.39-.925a4.842 4.842 0 00-2.213-.479c-1.868 0-3.049 1.168-3.049 2.508 0 2.631 3.823 1.918 3.823 3.774 0 .836-.762 1.414-1.832 1.414a4.085 4.085 0 01-1.77-.406l-.43 1.035a5.847 5.847 0 002.508.479c1.881 0 3.221-1.118 3.221-2.618zm7.081-.959c0-2.114-1.3-3.393-3.6-3.393a6.411 6.411 0 00-2.631.479v8.966h1.537v-2.647a5.039 5.039 0 001.265.147 3.273 3.273 0 003.428-3.552zm-1.562.052c0 1.66-.8 2.655-2.225 2.655a3.065 3.065 0 01-.91-.123v-4.932a2.5 2.5 0 011.045-.2c1.537 0 2.09.963 2.09 2.6zm8.507-.049c0-2.225-1.094-3.393-3.11-3.393a3.144 3.144 0 00-3.307 3.467 3.262 3.262 0 003.614 3.5 6.193 6.193 0 002.529-.479l-.369-.9a5.134 5.134 0 01-2.028.381 2.035 2.035 0 01-2.262-1.979zm-1.487-.565l-3.54.455c-.037-1.647.8-2.422 1.856-2.422 1.019-.003 1.683.599 1.683 1.964zm6.994 3.66l-.381-.873a2.057 2.057 0 01-1.131.332c-1.131 0-1.881-1-1.881-2.508 0-1.487.652-2.483 1.905-2.483a2.066 2.066 0 011.131.32l.344-.8a3.172 3.172 0 00-1.844-.479 3.155 3.155 0 00-3.134 3.479c0 2.166 1.352 3.491 3.122 3.491a3.145 3.145 0 001.869-.479zM333.689 48.431a.833.833 0 00-.9-.738.833.833 0 00-.9.738.833.833 0 00.9.738.833.833 0 00.9-.738zm-.123 8.507v-6.626h-1.547v6.626zM340.252 56.631v-4.192c0-1.7-1.229-2.3-2.827-2.3a7.34 7.34 0 00-2.594.479l.356.811a5.518 5.518 0 011.952-.379c.983 0 1.66.27 1.66 1.18v.381c-2.409.2-4.438.676-4.438 2.459 0 1.266 1 2.041 3.11 2.041a6.968 6.968 0 002.781-.48zm-1.45-.541a3.048 3.048 0 01-1.2.221c-1.082 0-1.77-.381-1.77-1.278 0-1.278 1.192-1.586 2.975-1.758zm4.093.848v-9.65h-1.536v9.65zM345.711 48.431a.833.833 0 00-.9-.738.833.833 0 00-.9.738.833.833 0 00.9.738.833.833 0 00.9-.738zm-.123 8.507v-6.626h-1.547v6.626zM351.279 55.044c0-2.212-3.216-1.561-3.216-3.036 0-.5.492-.947 1.291-.947a2.532 2.532 0 011.309.382l.406-.824a4.108 4.108 0 00-2.028-.479c-1.561 0-2.52.959-2.52 1.942 0 2.164 3.159 1.426 3.159 3 0 .565-.627 1.033-1.414 1.033a3.194 3.194 0 01-1.572-.394l-.406.91a4.835 4.835 0 002.175.479c1.722 0 2.816-1.008 2.816-2.066zM355.545 56.95v-.873a1.637 1.637 0 01-.418.061.889.889 0 01-.983-.922v-4.044h1.4v-.86h-1.4v-1.881l-1.537.393v1.488h-1.008v.86h1.008v4.118c0 .898.577 1.792 2.089 1.792a2.392 2.392 0 00.849-.132z\",\n    fill: \"#575756\"\n  }), /*#__PURE__*/React.createElement(\"g\", {\n    clipPath: \"url(#mep-logo_svg__clip-path-7)\"\n  }, /*#__PURE__*/React.createElement(\"path\", {\n    d: \"M360.778 55.044c0-2.212-3.216-1.561-3.216-3.036 0-.5.492-.947 1.291-.947a2.532 2.532 0 011.309.382l.406-.824a4.108 4.108 0 00-2.028-.479c-1.561 0-2.52.959-2.52 1.942 0 2.164 3.159 1.426 3.159 3 0 .565-.627 1.033-1.414 1.033a3.194 3.194 0 01-1.572-.394l-.406.91a4.835 4.835 0 002.175.479c1.722 0 2.816-1.008 2.816-2.066z\",\n    fill: \"#575756\"\n  }), /*#__PURE__*/React.createElement(\"path\", {\n    d: \"M116.653 35.131l-3.8-28.4h-7.011l-5.9 16.509a31.276 31.276 0 00-.949 3.178h-.083s-.33-1.486-.908-3.219L92.387 6.735H85.33l-3.756 28.396H87.6c.083-1.114 1.94-17 1.94-17a27.805 27.805 0 00.165-3.426l.083-.041a26.765 26.765 0 00.991 3.467s5.613 15.89 6.067 17h3.549c.537-1.279 6.108-17 6.108-17a29.177 29.177 0 001.032-3.467h.083a28.129 28.129 0 00.165 3.467s1.816 16.055 1.9 17zm19.646 0V30.88h-9.946v-8.172h8.75v-4.169h-8.75v-7.553h9.947V6.735h-17.209v28.4zm25.262-19.811c0-5.035-3.591-9.163-12.753-9.163a27.649 27.649 0 00-9.988 1.651v27.323h7.181v-10.9a22.2 22.2 0 002.559.165c9.204.004 13.001-3.958 13.001-9.076zm-7.14-.041c0 3.426-1.527 5.448-5.943 5.448a14.623 14.623 0 01-2.476-.206V10.285a9.172 9.172 0 012.807-.413c4.084-.004 5.611 1.857 5.611 5.407zm43.625 19.852v-28.4h-7.305v11.8h-9.288v-11.8h-7.263v28.4h7.263V22.708h9.286v12.423zm10.772-28.6c0-1.651-1.733-3.013-3.88-3.013S201.1 4.88 201.1 6.531s1.692 3.013 3.838 3.013 3.88-1.364 3.88-3.015zm-.371 28.6V12.885h-6.975v22.246zM225.45 12.471c-.7-.083-2.064-.165-3.178-.165-4.994 0-8.3.619-10.855 1.651V35.13h6.976V16.718a9.4 9.4 0 015.737.083zM247.449 24.193c0-7.512-3.591-11.887-11.02-11.887-7.388 0-11.721 4.581-11.721 11.639 0 7.223 4.579 11.763 12.629 11.763a23.772 23.772 0 009.25-1.651l-1.445-3.88a18.814 18.814 0 01-7.062 1.241c-3.962 0-6.15-1.775-6.686-5.283zm-6.6-2.353l-9.95 1.278c-.206-4.788 2.146-7.14 5.242-7.14 2.93.002 4.705 1.9 4.705 5.862z\",\n    fill: \"#e11f21\"\n  }))))));\n}\nexport default SvgMepLogo;","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 SvgX(props) {\n  return /*#__PURE__*/React.createElement(\"svg\", _extends({\n    viewBox: \"0 0 1200 1227\",\n    fill: \"none\",\n    xmlns: \"http://www.w3.org/2000/svg\"\n  }, props), _path || (_path = /*#__PURE__*/React.createElement(\"path\", {\n    d: \"M714.163 519.284L1160.89 0h-105.86L667.137 450.887 357.328 0H0l468.492 681.821L0 1226.37h105.866l409.625-476.152 327.181 476.152H1200L714.137 519.284h.026zM569.165 687.828l-47.468-67.894-377.686-540.24h162.604l304.797 435.991 47.468 67.894 396.2 566.721H892.476L569.165 687.854v-.026z\",\n    fill: \"currentcolor\"\n  })));\n}\nexport default SvgX;","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 SvgYoutube(props) {\n  return /*#__PURE__*/React.createElement(\"svg\", _extends({\n    xmlns: \"http://www.w3.org/2000/svg\",\n    viewBox: \"0 0 32.711 23\"\n  }, props), _path || (_path = /*#__PURE__*/React.createElement(\"path\", {\n    d: \"M32.028 3.6A4.11 4.11 0 0029.136.689C26.585 0 16.356 0 16.356 0S6.127 0 3.576.688A4.11 4.11 0 00.684 3.6 43.117 43.117 0 000 11.525a43.117 43.117 0 00.684 7.925 4.049 4.049 0 002.892 2.864c2.551.688 12.78.688 12.78.688s10.229 0 12.78-.688a4.049 4.049 0 002.892-2.864 43.117 43.117 0 00.684-7.925 43.117 43.117 0 00-.684-7.925zM13.01 16.387V6.66l8.549 4.864-8.549 4.863z\",\n    fill: \"currentColor\"\n  })));\n}\nexport default SvgYoutube;","import { transition } from '@helpers/animate';\r\nimport brand from '@helpers/brand';\r\nimport styled from 'styled-components';\r\nconst Container = styled.section `\r\n  --itemGap: 24px;\r\n  --itemSize: 25px;\r\n\r\n  [data-site='ess'] & {\r\n    --iconColour: ${brand.ess.secondary.midGrey};\r\n  }\r\n\r\n  [data-site='mep'] & {\r\n    --iconColour: ${brand.ess.secondary.midGrey};\r\n  }\r\n`;\r\nconst List = styled.ul `\r\n  display: flex;\r\n  gap: var(--itemGap);\r\n`;\r\nconst Item = styled.li ``;\r\nconst Link = styled.a `\r\n  display: block;\r\n  border: 0;\r\n  color: currentColor;\r\n  margin: 0;\r\n  text-decoration: none;\r\n  transform: scale(1);\r\n  ${transition('transform')};\r\n\r\n  /* Enable focus styles for Safari */\r\n  &:focus {\r\n    outline: auto;\r\n    outline-color: var(--bgColor);\r\n    outline-offset: 5px;\r\n    outline-width: thin;\r\n  }\r\n\r\n  /* Disable default focus styles if focus visible is supported */\r\n  &:not(:focus-visible):focus {\r\n    outline: none;\r\n  }\r\n\r\n  /* Reapply focus styles for focus-visible browsers */\r\n  &:focus-visible {\r\n    outline: auto;\r\n    outline-color: var(--bgColor);\r\n    outline-offset: 5px;\r\n    outline-width: thin;\r\n  }\r\n\r\n  /* Apply hover styles */\r\n  &:hover {\r\n    transform: scale(1.2);\r\n  }\r\n`;\r\nconst Icon = styled.span `\r\n  display: block;\r\n  height: var(--itemSize);\r\n  color: var(--iconColour);\r\n`;\r\nconst SocialLinksStyles = {\r\n    Container,\r\n    Icon,\r\n    Item,\r\n    Link,\r\n    List,\r\n};\r\nexport default SocialLinksStyles;\r\n","import { isSSR } from '@helpers/ssr';\r\nimport SvgFacebook from '@img/icons/social/facebook.svg';\r\nimport SvgLinkedIn from '@img/icons/social/linkedin.svg';\r\nimport SvgX from '@img/icons/social/x.svg';\r\nimport SvgYouTube from '@img/icons/social/youtube.svg';\r\nimport * as React from 'react';\r\nimport S from './SocialLinks.styles';\r\nconst SocialIconMap = {\r\n    facebook: SvgFacebook,\r\n    linkedin: SvgLinkedIn,\r\n    twitter: SvgX,\r\n    youtube: SvgYouTube,\r\n    x: SvgX,\r\n};\r\nconst SocialLinks = (props) => {\r\n    if (isSSR()) {\r\n        return null;\r\n    }\r\n    return (React.createElement(S.Container, null,\r\n        React.createElement(S.List, null, props.items.map((item) => (React.createElement(S.Item, { key: item.id },\r\n            React.createElement(S.Link, { href: item.url, rel: \"noreferrer noopener\", target: item.target, title: item.title }, renderIcon(item.type))))))));\r\n    function renderIcon(type) {\r\n        if (!Object.keys(SocialIconMap).includes(type)) {\r\n            console.error(`Unsupported icon type`, type);\r\n            return React.createElement(S.Icon, { \"aria-hidden\": \"true\" });\r\n        }\r\n        return React.createElement(S.Icon, { as: SocialIconMap[type], \"aria-hidden\": \"true\" });\r\n    }\r\n};\r\nexport default SocialLinks;\r\n","import { transition } from '@helpers/animate';\r\nimport fonts from '@helpers/fonts';\r\nimport { Device, from } from '@helpers/media';\r\nimport { paragraphRegular, paragraphSmall } from '@helpers/typography';\r\nimport styled from 'styled-components';\r\nconst Container = styled.div ``;\r\nconst ListHeader = styled.span `\r\n  ${paragraphRegular};\r\n  ${fonts.daxWide.bold};\r\n  display: flex;\r\n  gap: 12px;\r\n  color: var(--headingColour);\r\n  margin-bottom: 16px;\r\n  justify-content: space-between;\r\n\r\n  svg {\r\n    width: 12px;\r\n    ${transition('transform')};\r\n    transform: rotate(90deg);\r\n\r\n    [data-open='true'] & {\r\n      transform: rotate(-90deg);\r\n    }\r\n  }\r\n\r\n  [data-view='inline'] & {\r\n    display: none;\r\n  }\r\n\r\n  @media ${from(Device.TabletLarge)} {\r\n    justify-content: flex-start;\r\n\r\n    svg {\r\n      display: none;\r\n    }\r\n  }\r\n`;\r\nconst List = styled.ul `\r\n  ${transition('max-height', 0.5)};\r\n  height: auto;\r\n  overflow: hidden;\r\n\r\n  [data-open='false'] & {\r\n    max-height: 0;\r\n  }\r\n\r\n  [data-open='true'] & {\r\n    max-height: 500px;\r\n  }\r\n\r\n  [data-view='inline'][data-open] & {\r\n    max-height: 100%;\r\n    overflow: visible;\r\n  }\r\n\r\n  @media ${from(Device.TabletLarge)} {\r\n    [data-open] & {\r\n      max-height: 100%;\r\n      overflow: visible;\r\n    }\r\n  }\r\n`;\r\nconst ListItem = styled.li `\r\n  margin: 0 0 12px 0;\r\n\r\n  [data-view='inline'] & {\r\n    position: relative;\r\n    display: inline-block;\r\n    margin: 0;\r\n    padding: 0 20px 10px 0;\r\n  }\r\n\r\n  @media ${from(Device.TabletLarge)} {\r\n    text-align: left;\r\n\r\n    [data-view='inline'] & {\r\n      padding: 0 20px;\r\n    }\r\n  }\r\n`;\r\nconst ListLink = styled.a `\r\n  ${paragraphRegular};\r\n  color: var(--linkColour);\r\n\r\n  [data-view='inline'] & {\r\n    ${paragraphSmall};\r\n    color: var(--legalLinkColour);\r\n  }\r\n  text-decoration: none;\r\n\r\n  &.focus-ring {\r\n    outline: auto;\r\n    outline-offset: 3px;\r\n  }\r\n\r\n  @media ${from(Device.TabletLarge)} {\r\n    margin-bottom: 10px;\r\n  }\r\n`;\r\nconst LinkListStyles = {\r\n    Container,\r\n    ListHeader,\r\n    List,\r\n    ListItem,\r\n    ListLink,\r\n};\r\nexport default LinkListStyles;\r\n","import brand from '@helpers/brand';\r\nimport { fluid } from '@helpers/fluid';\r\nimport fonts from '@helpers/fonts';\r\nimport { between, Device, from, until } from '@helpers/media';\r\nimport { paragraphRegular, paragraphSmall } from '@helpers/typography';\r\nimport svgSwoosh from '@img/icons/background/mep-swoosh.svg?url';\r\nimport FormStyles from '@stories/Components/Global/Forms/Form.styles';\r\nimport SectionWrapper from '@stories/Components/Global/SectionWrapper/SectionWrapper';\r\nimport styled from 'styled-components';\r\nimport LinkListStyles from './LinkList/LinkList.styles';\r\nconst Container = styled(SectionWrapper) `\r\n  background-color: var(--bgColour);\r\n  position: relative;\r\n  overflow: hidden;\r\n  padding-top: 0 !important;\r\n\r\n  &[data-site='ess'] {\r\n    --bgColour: ${brand.global.white};\r\n    --borderTopColour: ${brand.ess.secondary.midGrey};\r\n    --headingColour: ${brand.global.red};\r\n    --linkColour: ${brand.ess.secondary.darkGrey};\r\n    --legalLinkColour: ${brand.ess.secondary.midGrey};\r\n    --newsletterTitleColour: ${brand.ess.primary};\r\n  }\r\n\r\n  &[data-site='mep'] {\r\n    --bgColour: ${brand.mep.secondary.lightestGrey};\r\n    --borderTopColour: transparent;\r\n    --headingColour: ${brand.global.red};\r\n    --linkColour: ${brand.mep.secondary.darkestGrey};\r\n    --legalLinkColour: ${brand.mep.secondary.darkGrey};\r\n    --newsletterTitleColour: ${brand.mep.secondary.darkestGrey};\r\n\r\n    &:before {\r\n      content: '';\r\n      position: absolute;\r\n      height: 100%;\r\n      width: 100%;\r\n      background-image: url(${svgSwoosh});\r\n      background-repeat: no-repeat;\r\n      background-position: right bottom;\r\n      background-size: contain;\r\n      top: 0;\r\n      right: -75px;\r\n      z-index: 0;\r\n    }\r\n  }\r\n`;\r\nconst Inner = styled.div `\r\n  --columnGap: ${fluid(32, 96)};\r\n\r\n  display: flex;\r\n  column-gap: var(--columnGap);\r\n  flex-direction: column;\r\n  flex-wrap: wrap;\r\n  position: relative;\r\n  border-top: 1px solid var(--borderTopColour);\r\n  padding-top: var(--sectionSpacing);\r\n\r\n  @media ${from(Device.TabletLarge)} {\r\n    flex-direction: row;\r\n    justify-content: space-between;\r\n  }\r\n`;\r\nconst LeftColumn = styled.div `\r\n  [data-variant='reduced'] & {\r\n    @media ${from(Device.TabletLarge)} {\r\n      flex: 0 0 25%;\r\n    }\r\n  }\r\n\r\n  @media ${from(Device.TabletLarge)} {\r\n    flex: 0 0 calc(50% - var(--columnGap));\r\n  }\r\n\r\n  @media ${until(Device.TabletLarge)} {\r\n    width: 100%;\r\n  }\r\n`;\r\nconst LeftColumnHeader = styled.div `\r\n  display: flex;\r\n  justify-content: space-between;\r\n  flex-direction: column;\r\n  grid-gap: 30px;\r\n  margin-bottom: 34px;\r\n\r\n  @media ${from(Device.TabletLarge)} {\r\n    align-items: center;\r\n    flex-direction: row;\r\n  }\r\n`;\r\nconst LogoContainer = styled.div `\r\n  ${Container}[data-site='ess'] & {\r\n    width: ${fluid(102, 160)};\r\n  }\r\n\r\n  ${Container}[data-site='mep'] & {\r\n    width: ${fluid(118, 160, Device.Mobile, Device.TabletLarge)};\r\n\r\n    > svg:last-of-type {\r\n      display: none;\r\n    }\r\n\r\n    @media ${from(Device.Desktop)} {\r\n      width: ${fluid(118, 362)};\r\n\r\n      > svg:first-of-type {\r\n        display: none;\r\n      }\r\n\r\n      > svg:last-of-type {\r\n        display: block;\r\n      }\r\n    }\r\n  }\r\n\r\n  > svg {\r\n    width: 100%;\r\n    display: block;\r\n  }\r\n`;\r\nconst CTAContainer = styled.div `\r\n  display: flex;\r\n  flex-wrap: wrap;\r\n  flex-direction: column;\r\n\r\n  @media ${from(Device.TabletLarge)} {\r\n    flex-direction: row;\r\n  }\r\n`;\r\nconst CTA = styled.div `\r\n  margin-right: 20px;\r\n  margin-bottom: 10px;\r\n\r\n  &:first-of-type {\r\n    margin-right: 40px;\r\n  }\r\n`;\r\nconst NewsletterSignUpContainer = styled.form `\r\n  max-width: 430px;\r\n  margin-bottom: 24px;\r\n\r\n  ${FormStyles.ErrorList} {\r\n    margin: 0 0 ${fluid(8, 12)};\r\n  }\r\n`;\r\nconst NewsletterTitle = styled.div `\r\n  ${paragraphRegular};\r\n  ${fonts.daxWide.bold};\r\n  color: var(--newsletterTitleColour);\r\n`;\r\nconst NewsletterEmail = styled.div `\r\n  margin-bottom: 12px;\r\n`;\r\nconst NewsletterFooter = styled.div `\r\n  display: flex;\r\n  grid-gap: 30px;\r\n  grid-row-gap: 10px;\r\n  justify-content: space-between;\r\n  align-items: center;\r\n  flex-wrap: wrap;\r\n`;\r\nconst NewsletterCheckbox = styled.div ``;\r\nconst NewsletterCheckboxLabel = styled.div ``;\r\nconst NewsletterSubmit = styled.div `\r\n  ${Container}[data-site='ess'] & {\r\n    @media ${between(Device.MobileLarge, Device.TabletLarge)} {\r\n      margin-right: 30px;\r\n    }\r\n  }\r\n`;\r\nconst SocialContainer = styled.div `\r\n  display: none;\r\n\r\n  @media ${from(Device.TabletLarge)} {\r\n    display: block;\r\n  }\r\n\r\n  [data-variant='reduced'] & {\r\n    display: block;\r\n    padding-bottom: 20px;\r\n  }\r\n`;\r\nconst SocialContainerMobile = styled.div `\r\n  [data-variant='reduced'] & {\r\n    display: none;\r\n  }\r\n  display: block;\r\n  padding: 20px 0;\r\n\r\n  @media ${from(Device.TabletLarge)} {\r\n    display: none;\r\n  }\r\n`;\r\nconst RightColumn = styled.div `\r\n  [data-variant='reduced'] & {\r\n    ${LinkListStyles.ListLink} {\r\n      ${paragraphRegular};\r\n      color: var(--linkColour);\r\n    }\r\n\r\n    ${LinkListStyles.ListItem} {\r\n      @media ${until(Device.TabletLarge)} {\r\n        display: block;\r\n      }\r\n    }\r\n\r\n    @media ${from(Device.TabletLarge)} {\r\n      display: flex;\r\n      align-items: baseline;\r\n      justify-content: flex-end;\r\n      flex: 0 0 70%;\r\n    }\r\n  }\r\n\r\n  @media ${from(Device.TabletLarge)} {\r\n    flex: 0 0 50%;\r\n  }\r\n\r\n  @media ${until(Device.TabletLarge)} {\r\n    width: 100%;\r\n  }\r\n`;\r\nconst LinksContainer = styled.div `\r\n  [data-variant='full'] & {\r\n    flex-basis: 100%;\r\n    display: flex;\r\n    flex-direction: column;\r\n    justify-content: center;\r\n\r\n    @media ${from(Device.TabletLarge)} {\r\n      flex-direction: row;\r\n      gap: ${fluid(32, 96)};\r\n    }\r\n\r\n    @media ${from(Device.DesktopSmall)} {\r\n      justify-content: flex-end;\r\n      flex: 1 0 0;\r\n    }\r\n  }\r\n\r\n  [data-variant='reduced'] & {\r\n    display: flex;\r\n    align-items: center;\r\n  }\r\n`;\r\nconst LegalContainer = styled.div `\r\n  position: relative;\r\n  display: flex;\r\n  justify-content: space-between;\r\n  flex-direction: column;\r\n  margin-top: 24px;\r\n  padding-top: 18px;\r\n  border-top: 1px solid var(--legalLinkColour);\r\n\r\n  @media ${from(Device.TabletLarge)} {\r\n    flex-direction: row;\r\n  }\r\n`;\r\nconst LegalContent = styled.div `\r\n  ${paragraphSmall};\r\n  color: var(--legalLinkColour);\r\n`;\r\nconst LegalLinks = styled.div ``;\r\nconst ConfirmationMessage = styled.div `\r\n  ${paragraphRegular};\r\n`;\r\nconst FooterStyles = {\r\n    Container,\r\n    Inner,\r\n    LeftColumn,\r\n    LeftColumnHeader,\r\n    LogoContainer,\r\n    CTAContainer,\r\n    CTA,\r\n    NewsletterSignUpContainer,\r\n    NewsletterTitle,\r\n    NewsletterEmail,\r\n    NewsletterFooter,\r\n    NewsletterCheckbox,\r\n    NewsletterCheckboxLabel,\r\n    NewsletterSubmit,\r\n    SocialContainer,\r\n    SocialContainerMobile,\r\n    RightColumn,\r\n    LinksContainer,\r\n    LegalContainer,\r\n    LegalContent,\r\n    LegalLinks,\r\n    ConfirmationMessage,\r\n};\r\nexport default FooterStyles;\r\n","import ChevronRight from '@img/icons/chevron-right.svg';\r\nimport ChevronRightMEP from '@img/icons/chevron-right-mep.svg';\r\nimport * as React from 'react';\r\nimport { FocusRing } from 'react-aria';\r\nimport S from './LinkList.styles';\r\nconst LinkList = (props) => {\r\n    return (React.createElement(S.Container, { \"data-view\": props.desktopView, \"data-open\": props.active },\r\n        React.createElement(S.ListHeader, { onClick: props.onClick },\r\n            props.header,\r\n            \" \",\r\n            props.site === 'mep' ? React.createElement(ChevronRightMEP, null) : React.createElement(ChevronRight, null)),\r\n        React.createElement(S.List, null, props.links.map((link, i) => (React.createElement(S.ListItem, { key: `${props.header.replace(' ', '-').toLowerCase()}-footer-link-${i}` },\r\n            React.createElement(FocusRing, { focusRingClass: \"focus-ring\" },\r\n                React.createElement(S.ListLink, { href: link.url, target: link.target }, link.text))))))));\r\n};\r\nexport default LinkList;\r\n","import { API_URLS } from '@helpers/api';\r\nimport { EMAIL_RULE } from '@helpers/utils';\r\nimport { useForm } from '@hooks/useForm';\r\nimport ESSLogo from '@img/ess-logo.svg';\r\nimport MEPLogoMobile from '@img/mep-logo-mob.svg';\r\nimport MEPLogo from '@img/mep-logo.svg';\r\nimport Button from '@stories/Components/Global/Buttons/Button/Button';\r\nimport LinkButton from '@stories/Components/Global/Buttons/LinkButton/LinkButton';\r\nimport ErrorSummary from '@stories/Components/Global/Forms/ErrorSummary';\r\nimport FormField from '@stories/Components/Global/Forms/FormField';\r\nimport CheckboxList, { CheckboxListOption, } from '@stories/Components/Global/Inputs/CheckboxList/CheckboxList';\r\nimport Textbox from '@stories/Components/Global/Inputs/Textbox/Textbox';\r\nimport SocialLinks from '@stories/Components/SocialLinks/SocialLinks';\r\nimport * as React from 'react';\r\nimport S from './Footer.styles';\r\nimport LinkList from './LinkList/LinkList';\r\nconst Footer = (props) => {\r\n    const { useReactHookFormReturn, confirmationMessage, onSubmit, status, serverErrors } = useForm({\r\n        endpoint: API_URLS.newsletterSignup,\r\n        mode: 'json',\r\n    });\r\n    const { register, formState: { errors }, } = useReactHookFormReturn;\r\n    const [openList, setOpenList] = React.useState('');\r\n    const handleListClick = (id) => {\r\n        if (id === openList) {\r\n            setOpenList('');\r\n        }\r\n        else {\r\n            setOpenList(id);\r\n        }\r\n    };\r\n    return (React.createElement(S.Container, { \"data-variant\": props.variant, site: props.site, spacing: \"padding\" },\r\n        React.createElement(S.Inner, null,\r\n            React.createElement(S.LeftColumn, null,\r\n                React.createElement(S.LeftColumnHeader, null,\r\n                    React.createElement(S.LogoContainer, null, props.site === 'mep' ? (React.createElement(React.Fragment, null,\r\n                        React.createElement(MEPLogoMobile, null),\r\n                        React.createElement(MEPLogo, null))) : (React.createElement(ESSLogo, null))),\r\n                    props.variant === 'full' && (React.createElement(S.CTAContainer, null, props.footerCTAs.map((cta, index) => (React.createElement(S.CTA, { key: index },\r\n                        React.createElement(LinkButton, { buttonType: props.site === 'ess' ? 'secondary' : 'default', href: cta.url, target: cta.target, site: props.site }, cta.text))))))),\r\n                props.variant === 'full' && (React.createElement(React.Fragment, null, status === 'fulfilled' && confirmationMessage ? (React.createElement(S.ConfirmationMessage, null, confirmationMessage)) : (React.createElement(React.Fragment, null, props.site === 'ess' && (React.createElement(S.NewsletterSignUpContainer, { onSubmit: onSubmit },\r\n                    props.newsletterTitle && (React.createElement(S.NewsletterTitle, null, props.newsletterTitle)),\r\n                    status === 'error' && serverErrors ? (React.createElement(ErrorSummary, { errors: serverErrors, site: props.site })) : null,\r\n                    React.createElement(S.NewsletterEmail, null,\r\n                        React.createElement(FormField, { size: \"full\", name: \"email\", label: 'Email', required: true, error: errors.email },\r\n                            React.createElement(Textbox, { placeholder: \"Your Email\", type: \"email\", ...register('email', {\r\n                                    pattern: EMAIL_RULE,\r\n                                    required: `Please enter your email`,\r\n                                }) }))),\r\n                    React.createElement(S.NewsletterFooter, null,\r\n                        React.createElement(S.NewsletterCheckbox, null,\r\n                            React.createElement(FormField, { name: \"privacy\", label: \"Privacy Policy\", showLabel: false }, props.newsletterPrivacyPolicy && (React.createElement(CheckboxList, { layout: \"horizontal\" },\r\n                                React.createElement(CheckboxListOption, { value: \"1\", ...register('confirmTerms', {\r\n                                        required: 'Please confirm you have read the Terms & Conditions',\r\n                                    }) },\r\n                                    React.createElement(S.NewsletterCheckboxLabel, { dangerouslySetInnerHTML: {\r\n                                            __html: props.newsletterPrivacyPolicy,\r\n                                        } })))))),\r\n                        React.createElement(S.NewsletterSubmit, null,\r\n                            React.createElement(Button, { buttonType: props.site === 'ess' ? 'secondary' : 'default', disabled: status === 'pending', type: \"submit\", site: props.site }, \"Submit\"))))))))),\r\n                React.createElement(S.SocialContainer, null,\r\n                    React.createElement(SocialLinks, { items: props.socialLinks }))),\r\n            React.createElement(S.RightColumn, null,\r\n                props.variant === 'reduced' && (React.createElement(S.CTAContainer, null, props.footerCTAs.map((cta, index) => (React.createElement(S.CTA, { key: index },\r\n                    React.createElement(LinkButton, { buttonType: props.site === 'ess' ? 'secondary' : 'default', href: cta.url, target: cta.target, site: props.site }, cta.text)))))),\r\n                React.createElement(S.LinksContainer, null, props.footerLinks.map((links, i) => (React.createElement(LinkList, { key: `footer-links-${i}`, active: openList === `footer-links-${i}`, onClick: () => handleListClick(`footer-links-${i}`), site: props.site, ...links })))))),\r\n        React.createElement(S.SocialContainerMobile, null,\r\n            React.createElement(SocialLinks, { items: props.socialLinks })),\r\n        React.createElement(S.LegalContainer, null,\r\n            React.createElement(S.LegalContent, null, props.legalContent),\r\n            React.createElement(S.LegalLinks, null,\r\n                React.createElement(LinkList, { active: openList === `legal-links`, onClick: () => handleListClick(`legal-links`), site: props.site, ...props.legalLinks })))));\r\n};\r\nexport default Footer;\r\n"],"names":["_g","_g2","_g3","_g4","_extends","Object","assign","bind","target","i","arguments","length","source","key","prototype","hasOwnProperty","call","apply","this","props","xmlns","viewBox","clipPath","width","height","rx","fill","transform","d","fillRule","_path","stroke","strokeLinecap","strokeLinejoin","strokeWidth","API_URLS","masterProduct","variantProduct","addToBasket","addOrderToBasket","getBasket","updateBasketProduct","deleteBasketProduct","validateBasket","getArticles","getCourses","getProducts","getDocuments","getDocumentDownloads","getTypeahead","getBranches","checkAccount","submitOrder","getBasketDelivery","getBasketShareUrl","extendOrderRequest","requestCollection","forgottenPassword","getOrders","getOrdersCSV","newsletterSignup","postLogin","resetPassword","updateAccountDetails","updateAddressDetails","webAccountRegistration","marketingPreferences","updatePassword","getAddresses","updateAddressStatus","ButtonReset","css","fluid","SiteWidth","siteWide","baseGrid","from","Device","isSSR","window","document","sleep","ms","Promise","resolve","setTimeout","clamp","value","max","Math","min","highlightTitleWords","title","replaceAll","formatCurrency","amount","toLocaleString","style","currency","getInitials","name","nameArray","split","charAt","toUpperCase","PASSWORD_RULES","PASSWORD_RULE","message","EMAIL_RULE","PHONE_NUMBER_RULE","POSTCODE_RULE","useForm","params","refContainer","React","useReactHookFormReturn","useReactHookForm","defaultValues","mode","reValidateMode","shouldUseNativeValidation","handleSubmit","status","setStatus","confirmationMessage","setConfirmationMessage","serverErrors","setServerErrors","onSubmit","async","formData","event","_resData$errors","res","FormData","fetch","endpoint","body","method","JSON","stringify","headers","_refContainer$current","ok","current","scrollIntoView","behavior","block","resData","json","_refContainer$current2","_refContainer$current3","errors","postSubmitCallback","redirect","location","href","resetStatus","_ref","buttonType","children","icon","iconOnly","iconPosition","site","otherProps","FocusRing","focusRingClass","S","disabled","ChevronRight","ChevronRightMEP","as","map","error","Form","styled","displayName","componentId","brand","Section","Title","fonts","Content","paragraphRegular","Row","Field","CommonLabelStyles","srOnly","Label","Description","CommonErrorStyles","Error","Divider","SubmitWrapper","ButtonStyles","between","Loader","rgba","LoaderText","ErrorList","ErrorListItem","ConfirmationMessage","contentStyles","Info","Tooltip","transition","_otherProps$size","showLabel","errorToShow","Array","isArray","find","size","label","htmlFor","required","tooltip","onClick","e","preventDefault","id","role","description","dangerouslySetInnerHTML","__html","CommonCheckboxContainerStyles","Container","Option","Input","CommonCheckboxLabelStyles","link","svgTick","CheckboxListOption","ref","initialId","type","CheckboxList","_props$layout","layout","CommonTextInputStyles","Textbox","Inner","BasePropsContext","SectionWrapper","overflow","spacing","baseProps","_rect","List","Item","Link","Icon","SocialIconMap","facebook","SvgFacebook","linkedin","SvgLinkedIn","twitter","SvgX","youtube","x","items","item","url","rel","keys","includes","console","ListHeader","ListItem","ListLink","paragraphSmall","withConfig","svgSwoosh","LeftColumn","until","LeftColumnHeader","LogoContainer","CTAContainer","CTA","NewsletterSignUpContainer","FormStyles","NewsletterTitle","NewsletterEmail","NewsletterFooter","NewsletterCheckbox","NewsletterCheckboxLabel","NewsletterSubmit","SocialContainer","SocialContainerMobile","RightColumn","LinkListStyles","LinksContainer","LegalContainer","LegalContent","LegalLinks","desktopView","active","header","links","replace","toLowerCase","text","register","formState","openList","setOpenList","handleListClick","variant","MEPLogoMobile","MEPLogo","ESSLogo","footerCTAs","cta","index","LinkButton","newsletterTitle","ErrorSummary","FormField","email","placeholder","pattern","newsletterPrivacyPolicy","Button","SocialLinks","socialLinks","footerLinks","LinkList","legalContent","legalLinks"],"sourceRoot":""}