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AAAA,cAAoBG,EAAAA,EAAAA,aAAgB,KAChCH,EAAAA,cAAoB,OAAQ,CAAE0B,wBAAyB,CAAEC,OAAQP,KACjEC,GAAarB,EAAAA,cAAoB,OAAQ,CAAE,cAAc,GAAQqB,GACjErB,EAAAA,cAAoBG,EAAAA,EAAAA,KAAQ,QAPxC,IASJa,EAASY,YAAc,WACvB,S,8FCVA,MAAM5C,EAAYC,EAAAA,GAAAA,IAAAA,WAAH,qEAAGA,CAAH,sQAEJ7C,EAAAA,EAAAA,QAAAA,MAGLC,EAAAA,EAAAA,IAAW,cAOJhB,EAAAA,EAAAA,IAAM,GAAI,KAsDvB,EAJuB,CACnB2D,YACA6C,OAxCW5C,EAAAA,GAAAA,OAAAA,WAAH,kEAAGA,CAAH,ucACR5C,EAAAA,EAAAA,IAAW,iBACXjB,EAAAA,EAAAA,QAAAA,KAKkBgB,EAAAA,EAAAA,OAGVf,EAAAA,EAAAA,IAAM,GAAI,KACPA,EAAAA,EAAAA,IAAM,GAAI,KAERA,EAAAA,EAAAA,IAAM,GAAI,KAAWA,EAAAA,EAAAA,IAAM,GAAI,IAiB5C2D,EAKgB5C,EAAAA,EAAAA,WAAAA,S,kDC/DpB,MAAMkD,EAAQU,EAAAA,YAAiB,CAAC,EAAwBiB,KAAQ,IAAhC,IAAET,EAAM,MAAOsB,GAAiB,EAC5D,OAAO9B,EAAAA,cAAoB,MAAO,CAAEiB,IAAKA,EAAKT,IAAKA,EAAKuB,KAAMvB,OAAMwB,EAAY,kBAAmBF,GAAnG,IAEJxC,EAAMsC,YAAc,QACpB,S","sources":["webpack://lcci/./src/helpers/api.ts","webpack://lcci/./src/helpers/global.ts","webpack://lcci/./src/helpers/grid.ts","webpack://lcci/./src/helpers/image.ts","webpack://lcci/./src/helpers/srOnly.ts","webpack://lcci/./src/helpers/typography.ts","webpack://lcci/./src/helpers/utils.ts","webpack://lcci/./src/stories/Components/Buttons/Button/Button.styles.ts","webpack://lcci/./src/stories/Components/Buttons/Button/Button.tsx","webpack://lcci/./src/stories/Components/Inputs/Checkbox/Checkbox.styles.ts","webpack://lcci/./src/stories/Components/Inputs/Checkbox/Checkbox.tsx","webpack://lcci/./src/stories/Components/Inputs/Dropdown/Dropdown.styles.ts","webpack://lcci/./src/stories/Components/Misc/Image/Image.tsx"],"sourcesContent":["export const API_URLS = {\r\n GET_SUGGESTIONS: '/api/search/suggestions',\r\n GET_ARTICLES: '/lcci-api/listings/articles',\r\n GET_COURSES: '/lcci-api/listings/courses',\r\n GET_OFFERS: '/lcci-api/listings/offers',\r\n GET_PUBLICATIONS: '/lcci-api/listings/publications',\r\n GET_MAGAZINES: '/lcci-api/listings/magazines',\r\n GET_MEMBERS_DIRECTORY: '/lcci-api/members-directory/search',\r\n GET_EVENTS: '/lcci-api/listings/events',\r\n GET_EVENTS_PAGE_FROM_HASH: '/lcci-api/listings/getpagefromhash',\r\n NEWSLETTER_SIGNUP: 'api/newsletter',\r\n // Membership sign up form\r\n MEMBERSHIP_STAGE_ONE: '/api/register/step1',\r\n MEMBERSHIP_STAGE_TWO: '/api/register/step2',\r\n MEMBERSHIP_COST_CHECK: '/api/register/step2/membership-estimate',\r\n MEMBERSHIP_SUBMIT: '/api/register/submit',\r\n COMMUNITY_SIGNUP: '/api/community/register',\r\n GET_SEARCH_RESULTS: '/lcci-api/search/perform',\r\n SUBMIT_BOOK_EVENT_STEP1: '/api/events/book/step1',\r\n SUBMIT_BOOK_EVENT_STEP2: '/api/events/book/step2',\r\n SUBMIT_BOOK_EVENT_APPLY_DISCOUNT: '/api/events/book/apply-discount',\r\n SUBMIT_BOOK_EVENT: '/api/events/book/submit',\r\n SUBMIT_EVENT_EDIT_FORM: '/api/events/manage',\r\n SUBMIT_MEMBERS_DIRECTORY_SEARCH: 'api/members-directory/search',\r\n SUBMIT_EVENT_FORM: '/lcci-api/event/upload',\r\n SUBMIT_VENUE_FORM: '/lcci-api/venue/upload',\r\n SUBMIT_PASSWORD_RESET: '/api/auth/reset-password',\r\n SUBMIT_CHANGE_PASSWORD: '/api/account/change-password',\r\n SUBMIT_OFFER_FORM: '/lcci-api/offer/upload',\r\n GET_LOGO: '/api/membership/request/logo-download',\r\n UPDATE_DETAILS_FORM: '/api/account/update-details',\r\n UPDATE_COMPANY_DETAILS_FORM: '/api/account/update-company-details',\r\n MANAGE_EMPLOYEES_FORM: '/lcci-api/profile/manage-employees',\r\n GET_EMPLOYEES: '/lcci-api/profile/get-employees',\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 { css } from 'styled-components';\r\nexport const SitePaddingMin = 18;\r\nexport const SitePaddingMax = 64;\r\nexport const SiteWidth = 1760;\r\nexport const SiteWidthBreakpoint = SiteWidth + SitePaddingMax * 2;\r\nexport const SiteWidthNarrow = 940;\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(24, 1fr);\r\n`;\r\n","import { Cloudinary } from '@cloudinary/url-gen';\r\nimport { dpr, format, quality } from '@cloudinary/url-gen/actions/delivery';\r\nimport { crop, fill, limitFill, pad, thumbnail } from '@cloudinary/url-gen/actions/resize';\r\nimport { face } from '@cloudinary/url-gen/qualifiers/focusOn';\r\nimport { auto as autoFormat } from '@cloudinary/url-gen/qualifiers/format';\r\nimport { autoGravity, focusOn } from '@cloudinary/url-gen/qualifiers/gravity';\r\nimport { auto as autoQuality } from '@cloudinary/url-gen/qualifiers/quality';\r\nimport { css } from 'styled-components';\r\nconst cl = new Cloudinary({\r\n cloud: {\r\n cloudName: 'lcci',\r\n },\r\n url: {\r\n secure: true,\r\n },\r\n});\r\n/**\r\n * Create an image URL for ImageProcessor\r\n * @param image The image model\r\n * @param imageParams The image parameters\r\n * @returns The image URL\r\n */\r\nexport function imageUrl(image, imageParams) {\r\n if (!image?.src) {\r\n return '';\r\n }\r\n if (image.src.startsWith('http')) {\r\n return image.src;\r\n }\r\n let clImage = cl.image(image.src);\r\n const resizeAction = getResizeAction(image, imageParams);\r\n if (resizeAction) {\r\n clImage = clImage.resize(resizeAction);\r\n }\r\n clImage = clImage.delivery(getFormatAction(imageParams)).delivery(quality(autoQuality()));\r\n if (imageParams.dpr) {\r\n clImage = clImage.delivery(dpr(imageParams.dpr));\r\n }\r\n // Set version to enable mass invalidation.\r\n // clImage.setVersion(process.env.CLOUDINARY_VERSION ?? '1');\r\n return clImage.toURL();\r\n}\r\nfunction getResizeAction(image, imageParams) {\r\n if (!imageParams.width && !imageParams.height) {\r\n return undefined;\r\n }\r\n let resizeAction;\r\n switch (imageParams.crop) {\r\n case 'crop':\r\n resizeAction = crop();\r\n break;\r\n case 'fill':\r\n resizeAction = fill();\r\n break;\r\n case 'lfill':\r\n resizeAction = limitFill();\r\n break;\r\n case 'pad':\r\n resizeAction = pad();\r\n break;\r\n case 'thumb':\r\n resizeAction = thumbnail();\r\n break;\r\n default:\r\n resizeAction = fill();\r\n break;\r\n }\r\n if (imageParams.width) {\r\n resizeAction = resizeAction.width(imageParams.width);\r\n }\r\n else if (imageParams.widthratio && imageParams.crop !== 'pad') {\r\n resizeAction = resizeAction.aspectRatio(imageParams.widthratio);\r\n }\r\n if (imageParams.height) {\r\n resizeAction = resizeAction.height(imageParams.height);\r\n }\r\n else if (imageParams.heightratio && imageParams.crop !== 'pad') {\r\n resizeAction = resizeAction.aspectRatio(imageParams.heightratio);\r\n }\r\n if (imageParams.gravity === 'face') {\r\n resizeAction = resizeAction.gravity(focusOn(face()));\r\n }\r\n else if (imageParams.crop !== 'pad') {\r\n resizeAction = resizeAction.gravity(autoGravity());\r\n }\r\n // Zoom can only be applied when using crop or thumb mode.\r\n if ((imageParams.crop === 'crop' || imageParams.crop === 'thumb') && imageParams.zoom) {\r\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\r\n resizeAction = resizeAction.zoom(imageParams.zoom);\r\n }\r\n return resizeAction;\r\n}\r\nfunction getFormatAction(imageParams) {\r\n let formatAction;\r\n if (imageParams.format) {\r\n formatAction = format(imageParams.format);\r\n }\r\n else {\r\n formatAction = format(autoFormat());\r\n }\r\n return formatAction;\r\n}\r\nexport function getSrcs(image, upper, lower, steps, ratio, otherParams = {}) {\r\n const sizes = getRange(upper, lower, steps);\r\n return sizes.map((size) => `${imageUrl(image, { width: size, heightratio: ratio, ...otherParams })} ${size}w`);\r\n}\r\nexport function getRetinaSrcs(image, width, ratio, otherParams = {}) {\r\n const dprs = [1, 1.5, 2, 2.5, 3];\r\n return dprs.map((dpr) => `${imageUrl(image, { width: width, heightratio: ratio, dpr, ...otherParams })} ${dpr}x`);\r\n}\r\nfunction getRange(upper, lower, steps) {\r\n const difference = upper - lower;\r\n const increment = difference / (steps - 1);\r\n return [\r\n lower,\r\n ...Array(steps - 2)\r\n .fill('')\r\n .map((_, index) => Math.ceil(lower + increment * (index + 1))),\r\n upper,\r\n ];\r\n}\r\n/**\r\n * Create an pdf URL\r\n * @param url The pdf url\r\n * @returns The pdf URL\r\n */\r\nexport function pdfUrl(url) {\r\n if (!url) {\r\n return '';\r\n }\r\n const clImage = cl.image(url);\r\n return clImage.toURL();\r\n}\r\n/**\r\n * Re-usable styles for image container where the\r\n * image needs to maintain it's aspect ratio\r\n *\r\n * @param width\r\n * @param height\r\n * @returns\r\n */\r\nexport function imageWrapperPreserveRatio(width, height) {\r\n if (!width && !height) {\r\n return null;\r\n }\r\n return css `\r\n position: relative;\r\n overflow: hidden;\r\n overflow: clip;\r\n width: 100%;\r\n aspect-ratio: ${width / height};\r\n `;\r\n}\r\n/**\r\n * Calculates the percentage bottom padding\r\n * required to maintain a certain ratio.\r\n *\r\n * To be used in cases where the image ratio\r\n * changes based on viewport.\r\n *\r\n * @param width\r\n * @param height\r\n * @returns padding-bottom: {ratioPercentage}%\r\n */\r\nexport function imageWrapperRatioPadding(width, height) {\r\n if (!width && !height) {\r\n return '';\r\n }\r\n const ratioPercentage = ((height / width) * 100).toFixed(2);\r\n return `padding-bottom: ${ratioPercentage}%`;\r\n}\r\n/**\r\n * Re-usable styles for an image placed within\r\n * a container maintaining aspect ratio\r\n */\r\nexport const imageCoverContainer = (relative) => css `\r\n display: block;\r\n width: 100%;\r\n height: 100%;\r\n object-fit: cover;\r\n object-position: center;\r\n ${!relative && 'position: absolute; top: 0;left: 0;'}\r\n`;\r\n","import { 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 SvgQuoteMarks from '@img/icons/quote-marks.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\nexport const headingStyles = css `\r\n ${fonts.apparat.semiBold};\r\n\r\n color: currentColor;\r\n margin: 0 0 ${fluid(16, 24)};\r\n\r\n @media ${from(Device.TabletLarge)} {\r\n ${fonts.apparat.medium};\r\n }\r\n`;\r\nexport const h1 = css `\r\n ${headingStyles};\r\n font-size: ${fluid(30, 70)};\r\n line-height: ${fluid(40, 80)};\r\n`;\r\nexport const h2 = css `\r\n ${headingStyles};\r\n font-size: ${fluid(25, 60)};\r\n line-height: ${fluid(35, 70)};\r\n`;\r\nexport const h3 = css `\r\n ${headingStyles};\r\n font-size: ${fluid(22, 50)};\r\n line-height: ${fluid(32, 60)};\r\n`;\r\nexport const h4 = css `\r\n ${headingStyles};\r\n font-size: ${fluid(20, 40)};\r\n line-height: ${fluid(30, 50)};\r\n`;\r\nexport const h5 = css `\r\n ${headingStyles};\r\n font-size: ${fluid(18, 30)};\r\n line-height: ${fluid(24, 38)};\r\n`;\r\nexport const h6 = css `\r\n ${headingStyles};\r\n font-size: ${fluid(17, 29)};\r\n line-height: ${fluid(23, 37)};\r\n`;\r\nexport const paragraphStyles = css `\r\n color: currentColor;\r\n ${fonts.apparat.light};\r\n margin: 0 0 ${fluid(16, 24)};\r\n`;\r\nexport const paragraphLarge = css `\r\n ${paragraphStyles};\r\n font-size: ${fluid(20, 26)};\r\n line-height: ${fluid(30, 36)};\r\n`;\r\nexport const paragraphMedium = css `\r\n ${paragraphStyles};\r\n font-size: ${fluid(18, 22)};\r\n line-height: ${fluid(28, 32)};\r\n`;\r\nexport const paragraphSmall = css `\r\n ${paragraphStyles};\r\n font-size: ${fluid(16, 18)};\r\n line-height: ${fluid(26, 28)};\r\n`;\r\nexport const paragraphMicro = css `\r\n ${paragraphStyles};\r\n font-size: ${fluid(12, 14)};\r\n line-height: ${fluid(22, 24)};\r\n`;\r\nexport const meta = css `\r\n display: block;\r\n ${fonts.apparat.regular};\r\n font-size: ${fluid(12, 18)};\r\n line-height: ${fluid(16, 24)};\r\n letter-spacing: 0.01em;\r\n text-transform: uppercase;\r\n\r\n sup {\r\n font-size: 60%;\r\n }\r\n`;\r\nexport const link = css `\r\n display: inline-block;\r\n color: currentColor;\r\n background: linear-gradient(\r\n to right,\r\n var(--accentColor, ${brand.primary.orange}),\r\n var(--accentColor, ${brand.primary.orange})\r\n );\r\n background-repeat: no-repeat;\r\n background-size: 0% 100%;\r\n margin: 0 -4px 0;\r\n padding: 0 4px 0;\r\n text-decoration: underline;\r\n text-underline-position: under;\r\n ${transition('background-size, color')};\r\n\r\n &:focus {\r\n outline: none;\r\n }\r\n\r\n &:focus,\r\n &:hover {\r\n background-size: 100% 100%;\r\n color: ${brand.base.blue};\r\n }\r\n`;\r\nexport const table = css `\r\n background: ${brand.white};\r\n border-collapse: collapse;\r\n color: ${brand.base.blue};\r\n margin-bottom: 1em;\r\n width: 100%;\r\n\r\n thead {\r\n tr {\r\n background: ${brand.primary.blue};\r\n\r\n td,\r\n th {\r\n border: 2px solid ${brand.white};\r\n color: ${brand.white};\r\n ${fonts.apparat.regular};\r\n font-size: 18px;\r\n letter-spacing: -0.01em;\r\n line-height: 22px;\r\n padding: 12px 16px;\r\n text-align: left;\r\n }\r\n }\r\n }\r\n\r\n tbody {\r\n tr {\r\n &:nth-child(odd) {\r\n background: ${brand.lightBlue};\r\n }\r\n\r\n &:nth-child(even) {\r\n background: ${brand.white};\r\n }\r\n\r\n th {\r\n border: 2px solid ${brand.white};\r\n color: ${brand.white};\r\n ${fonts.apparat.medium};\r\n font-size: 18px;\r\n letter-spacing: -0.01em;\r\n line-height: 22px;\r\n padding: 12px 16px;\r\n text-align: left;\r\n text-transform: uppercase;\r\n }\r\n\r\n td {\r\n border: 2px solid ${brand.white};\r\n ${fonts.apparat.regular};\r\n font-size: 16px;\r\n letter-spacing: -0.01em;\r\n line-height: 20px;\r\n padding: 12px 16px;\r\n text-align: left;\r\n }\r\n }\r\n }\r\n`;\r\nexport const blockquote = css `\r\n ${paragraphMedium}\r\n ${fonts.apparat.regularItalic}\r\n\r\n position: relative;\r\n text-align: left;\r\n margin-bottom: 38px;\r\n\r\n @media ${from(Device.TabletLarge)} {\r\n ${paragraphLarge}\r\n ${fonts.apparat.regularItalic}\r\n padding: 28px 0 0 76px;\r\n }\r\n\r\n &::before {\r\n content: '';\r\n display: block;\r\n width: ${fluid(40, 56)};\r\n height: ${fluid(38, 52)};\r\n margin-bottom: 20px;\r\n background: url(${SvgQuoteMarks}) center no-repeat;\r\n\r\n @media ${from(Device.TabletLarge)} {\r\n position: absolute;\r\n top: 0;\r\n left: 0;\r\n margin-bottom: unset;\r\n }\r\n }\r\n\r\n + P {\r\n ${paragraphMedium}\r\n margin-bottom: ${fluid(5, 10)};\r\n }\r\n\r\n + p,\r\n + p + p {\r\n @media ${from(Device.TabletLarge)} {\r\n padding: 0 0 0 76px;\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 ${h4}\r\n }\r\n\r\n h3,\r\n .h3-styles {\r\n ${headingStyles};\r\n\r\n font-size: ${fluid(19, 35)};\r\n line-height: ${fluid(28, 45)};\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 p.large {\r\n ${paragraphLarge}\r\n }\r\n\r\n p {\r\n ${paragraphMedium}\r\n }\r\n\r\n p.small {\r\n ${paragraphSmall}\r\n }\r\n\r\n p.meta {\r\n ${meta}\r\n }\r\n\r\n a {\r\n ${link}\r\n }\r\n\r\n ol,\r\n ul {\r\n ${paragraphMedium};\r\n\r\n li {\r\n &::marker {\r\n color: ${brand.primary.orange};\r\n }\r\n }\r\n }\r\n\r\n ol {\r\n list-style: decimal;\r\n padding-left: 1.2em;\r\n }\r\n\r\n ul {\r\n list-style: disc;\r\n padding-left: 1.2em;\r\n\r\n li {\r\n margin-bottom: 16px;\r\n\r\n &:last-child {\r\n margin-bottom: 0;\r\n }\r\n }\r\n\r\n p {\r\n &:last-child {\r\n margin-bottom: 0;\r\n }\r\n }\r\n }\r\n\r\n hr {\r\n display: block;\r\n background: currentColor;\r\n border: 0;\r\n height: 4px;\r\n margin: ${fluid(40, 80)} 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 blockquote {\r\n ${blockquote};\r\n }\r\n\r\n .responsive-table {\r\n position: relative;\r\n overflow-x: auto;\r\n }\r\n\r\n > *:first-child {\r\n margin-top: 0;\r\n }\r\n\r\n > *:last-child {\r\n margin-bottom: 0;\r\n }\r\n`;\r\n","export function sleep(ms) {\r\n return new Promise((resolve) => setTimeout(resolve, ms));\r\n}\r\nexport const highlightTitleWords = (title) => title.replaceAll(/\\*([\\w\\W]+)\\*/g, '$1');\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 react-hook-form\r\n */\r\nexport const NAME_RULE = {\r\n message: `Please enter a valid name`,\r\n value: /^[A-Za-z\\u00C0-\\u1EFF'\\-,.]{2,}$/,\r\n};\r\n/**\r\n * (?=.*[a-z]) = Check for lowercase letter\r\n * (?=.*[A-Z]) = Check for uppercase letter\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])(?=.*[a-z])(?=.*[^\\da-zA-Z]).{8,}$/;\r\n/**\r\n * Rule structure for react-hook-form\r\n */\r\nexport const PASSWORD_RULE = {\r\n message: `Please enter a valid password`,\r\n value: PASSWORD_RULE_REGEX,\r\n};\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 special character (~!@#$%^&*_-+=`|(){}[]:;”’<>,.?/)',\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/**\r\n * Rule structure for react-hook-form\r\n * Pattern based on https://regexr.com/39nr7\r\n */\r\nexport const URL_RULE = {\r\n message: `Please enter a valid URL`,\r\n value: /[(http(s)?)://(www.)?a-zA-Z0-9@:%._+~#=]{2,256}\\.[a-z]{2,6}\\b([-a-zA-Z0-9@:%_+.~#?&//=]*)$/,\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\n/** Ensure input value isn't just whitespace */\r\nexport const validateNotWhitespaceOnly = (value) => typeof value === 'string'\r\n ? value.trim().length > 0 || 'Inputted value cannot just be spaces'\r\n : true;\r\nexport function youTubeIdParser(url) {\r\n const regExp = /^.*((youtu.be\\/)|(v\\/)|(\\/u\\/\\w\\/)|(embed\\/)|(watch\\?))\\??v?=?([^#&?]*).*/;\r\n const match = url.match(regExp);\r\n return match && match[7].length == 11 ? match[7] : '';\r\n}\r\nexport async function checkYoutubeImageExists(imageSrc) {\r\n const res = await fetch(imageSrc);\r\n if (!res.ok) {\r\n console.log('failed');\r\n }\r\n else {\r\n console.log('success');\r\n }\r\n return Promise.resolve();\r\n}\r\nexport function linkAria(linkText, linkTarget, string) {\r\n if (linkTarget !== '_blank') {\r\n return linkText;\r\n }\r\n return `(${string ?? 'Opens in a new tab'}) ${linkText}`;\r\n}\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 { Device, until } from '@helpers/media';\r\nimport srOnly from '@helpers/srOnly';\r\nimport Image from '@stories/Components/Misc/Image/Image';\r\nimport { rgba } from 'polished';\r\nimport styled, { css } from 'styled-components';\r\nexport const defaultButtonStyles = css `\r\n display: inline-flex;\r\n align-items: center;\r\n border: var(--borderWidth, 0) solid var(--colorBorder, var(--colorBg));\r\n border-radius: ${fluid(24, 50)};\r\n background: var(--colorBg);\r\n background-image: linear-gradient(to right, var(--colorBgActive), var(--colorBgActive));\r\n background-repeat: no-repeat;\r\n background-size: var(--bgSize);\r\n background-position: left center;\r\n color: var(--colorFg);\r\n height: ${fluid(40, 50)};\r\n padding: 0px ${fluid(20, 32)};\r\n text-decoration: none;\r\n ${transition('background-size, border-color, opacity')};\r\n user-select: none;\r\n width: auto;\r\n position: relative;\r\n padding-top: 2px; // required to vertically center properly :(\r\n\r\n /* Mobile click styles - button should mimic press */\r\n @media ${until(Device.TabletLarge)} {\r\n ${transition('color, background-color, border-color, transform')};\r\n\r\n span& {\r\n button:active &,\r\n a:active & {\r\n transform: translateY(1.5px);\r\n }\r\n }\r\n\r\n &:not(span) {\r\n &:active {\r\n transform: translateY(1.5px);\r\n }\r\n }\r\n }\r\n\r\n span& {\r\n button:focus-visible &,\r\n a:focus-visible & {\r\n outline: auto;\r\n outline-offset: 3px;\r\n }\r\n\r\n button:hover &,\r\n a:hover & {\r\n border-color: var(--colorBorderActive, var(--colorBgActive));\r\n color: var(--colorFgActive);\r\n background-size: var(--bgSizeActive);\r\n\r\n img {\r\n filter: invert(1);\r\n }\r\n }\r\n\r\n button:active &,\r\n a:active & {\r\n outline: none;\r\n background: var(--colorBgComplete);\r\n }\r\n }\r\n\r\n &:not(span) {\r\n cursor: pointer;\r\n\r\n &:focus-visible {\r\n outline: none;\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 outline-color: var(--colorBgActive);\r\n }\r\n\r\n &:hover {\r\n border-color: var(--colorBorderActive, var(--colorBgActive));\r\n color: var(--colorFgActive);\r\n background-size: var(--bgSizeActive);\r\n }\r\n\r\n &:active {\r\n outline: none;\r\n color: var(--colorFgComplete);\r\n background: var(--colorBgComplete);\r\n }\r\n }\r\n`;\r\nexport const orangeSolidVars = css `\r\n --borderWidth: 2px;\r\n\r\n --bgSize: 100% 100%;\r\n --colorFg: ${brand.white};\r\n --colorBg: ${brand.white};\r\n --colorBorder: ${brand.primary.orange};\r\n\r\n --bgSizeActive: 0% 100%;\r\n --colorFgActive: ${brand.primary.orange};\r\n --colorBgActive: ${brand.primary.orange};\r\n --colorBorderActive: ${brand.primary.orange};\r\n\r\n --colorFgComplete: ${brand.primary.orange};\r\n --colorBgComplete: ${brand.primary.blueGrey};\r\n`;\r\nexport const blueSolidVars = css `\r\n --borderWidth: 2px;\r\n\r\n --bgSize: 100% 100%;\r\n --colorFg: ${brand.white};\r\n --colorBg: ${brand.white};\r\n --colorBorder: ${brand.primary.blue};\r\n\r\n --bgSizeActive: 0% 100%;\r\n --colorFgActive: ${brand.primary.blue};\r\n --colorBgActive: ${brand.primary.blue};\r\n --colorBorderActive: ${brand.primary.blue};\r\n\r\n --colorFgComplete: ${brand.primary.blue};\r\n --colorBgComplete: ${brand.primary.blueGrey};\r\n`;\r\nexport const whiteSolidVars = css `\r\n --borderWidth: 2px;\r\n\r\n --bgSize: 100% 100%;\r\n --colorFg: ${brand.primary.blue};\r\n --colorBg: transparent;\r\n --colorBorder: ${brand.white};\r\n\r\n --bgSizeActive: 0% 100%;\r\n --colorFgActive: ${brand.white};\r\n --colorBgActive: ${brand.white};\r\n --colorBorderActive: ${brand.white};\r\n\r\n --colorFgComplete: ${brand.white};\r\n --colorBgComplete: ${rgba(brand.white, 0.1)};\r\n`;\r\nexport const orangeOutlineVars = css `\r\n --borderWidth: 2px;\r\n\r\n --bgSize: 0% 100%;\r\n --colorFg: ${brand.primary.orange};\r\n --colorBg: transparent;\r\n --colorBorder: ${brand.primary.orange};\r\n\r\n --bgSizeActive: 100% 100%;\r\n --colorFgActive: ${brand.white};\r\n --colorBgActive: ${brand.primary.orange};\r\n --colorBorderActive: ${brand.primary.orange};\r\n\r\n --colorFgComplete: ${brand.primary.blue};\r\n --colorBgComplete: ${brand.primary.orange};\r\n`;\r\nexport const blueOutlineVars = css `\r\n --borderWidth: 2px;\r\n\r\n --bgSize: 0% 100%;\r\n --colorFg: ${brand.primary.blue};\r\n --colorBg: transparent;\r\n --colorBorder: ${brand.primary.blue};\r\n\r\n --bgSizeActive: 100% 100%;\r\n --colorFgActive: ${brand.white};\r\n --colorBgActive: ${brand.primary.blue};\r\n --colorBorderActive: ${brand.primary.blue};\r\n\r\n --colorFgComplete: ${brand.white};\r\n --colorBgComplete: ${brand.base.blue};\r\n`;\r\nexport const whiteOutlineVars = css `\r\n --borderWidth: 2px;\r\n\r\n --bgSize: 0% 100%;\r\n --colorFg: ${brand.white};\r\n --colorBg: transparent;\r\n --colorBorder: ${brand.white};\r\n\r\n --bgSizeActive: 100% 100%;\r\n --colorFgActive: ${brand.primary.blue};\r\n --colorBgActive: ${brand.white};\r\n --colorBorderActive: ${brand.white};\r\n\r\n --colorFgComplete: ${brand.primary.blue};\r\n --colorBgComplete: ${brand.primary.blueGrey};\r\n`;\r\nconst Container = styled.button `\r\n ${defaultButtonStyles}\r\n\r\n &[data-fill='right'] {\r\n background-position: left center;\r\n }\r\n\r\n &[data-fill='left'] {\r\n background-position: right center;\r\n }\r\n\r\n &[data-size='small'] {\r\n height: ${fluid(40, 40)};\r\n padding: 2px 14px 0;\r\n }\r\n\r\n &[data-type='orange-solid'] {\r\n ${orangeSolidVars}\r\n }\r\n\r\n &[data-type='blue-solid'] {\r\n ${blueSolidVars}\r\n }\r\n\r\n &[data-type='white-solid'] {\r\n ${whiteSolidVars}\r\n }\r\n\r\n &[data-type='orange-outline'] {\r\n ${orangeOutlineVars}\r\n }\r\n\r\n &[data-type='blue-outline'] {\r\n ${blueOutlineVars}\r\n }\r\n\r\n &[data-type='white-outline'] {\r\n ${whiteOutlineVars}\r\n }\r\n\r\n &[data-icon-only='true'] {\r\n height: ${fluid(40, 50)};\r\n width: ${fluid(40, 50)};\r\n justify-content: center;\r\n padding: 0;\r\n }\r\n\r\n /* Increase specificity to override :not(span) style */\r\n &:disabled:disabled:disabled {\r\n background-size: 100% 100%;\r\n opacity: 0.5;\r\n pointer-events: none;\r\n }\r\n\r\n @media print {\r\n display: none !important;\r\n }\r\n`;\r\nconst Text = styled.span `\r\n ${transition('color')};\r\n\r\n color: currentColor;\r\n ${fonts.apparat.semiBold};\r\n font-size: ${fluid(16, 18)};\r\n line-height: 1em;\r\n text-decoration: none;\r\n text-transform: uppercase;\r\n\r\n [data-icon-only='true'] & {\r\n ${srOnly};\r\n }\r\n`;\r\nconst IconWrapper = styled.div `\r\n ${transition('color')};\r\n\r\n --size: ${fluid(14, 20)};\r\n --spacing: 8px;\r\n\r\n display: flex;\r\n color: currentColor;\r\n height: var(--size);\r\n margin: -2px 0 0;\r\n padding: 0;\r\n flex-shrink: 0;\r\n\r\n [data-icon-position='left'] & {\r\n margin-right: auto;\r\n order: -1;\r\n padding-right: var(--spacing);\r\n }\r\n\r\n [data-icon-position='right'] & {\r\n margin-left: auto;\r\n order: 1;\r\n padding-left: var(--spacing);\r\n }\r\n\r\n [data-icon-only='true'] & {\r\n color: currentColor;\r\n height: var(--size);\r\n margin: 0;\r\n padding: 0;\r\n width: var(--size);\r\n }\r\n\r\n img,\r\n svg {\r\n display: block;\r\n width: var(--size);\r\n height: var(--size);\r\n transform: translateY(-10%);\r\n }\r\n`;\r\nconst ButtonImage = styled(Image) ``;\r\nconst ButtonStyles = {\r\n Container,\r\n IconWrapper,\r\n Text,\r\n ButtonImage,\r\n};\r\nexport default ButtonStyles;\r\n","import { getButtonIcon, isButtonIcon } from '@helpers/getButtonIcon';\r\nimport { imageUrl } from '@helpers/image';\r\nimport * as React from 'react';\r\nimport { FocusRing } from 'react-aria';\r\nimport { PuffLoader } from 'react-spinners';\r\nimport S from './Button.styles';\r\nconst Button = ({ buttonSize = 'default', buttonType = 'orange-solid', children, fillDirection = 'right', icon, iconOnly, iconPosition = 'left', isLoading, ...otherProps }) => {\r\n return (React.createElement(FocusRing, { focusRingClass: \"focus-ring\" },\r\n React.createElement(S.Container, { \"data-fill\": fillDirection, \"data-icon-only\": iconOnly, \"data-icon-position\": iconPosition, \"data-size\": buttonSize, \"data-type\": buttonType, ...otherProps },\r\n React.createElement(S.Text, null, children),\r\n (icon || isLoading) && (React.createElement(S.IconWrapper, null, isLoading ? (React.createElement(PuffLoader, { size: 18, color: \"currentColor\" })) : (React.createElement(React.Fragment, null, icon && (React.createElement(React.Fragment, null, isButtonIcon(icon) ? (getButtonIcon(icon)) : (React.createElement(S.ButtonImage, { src: imageUrl(icon, {}), alt: icon.altText, loading: \"lazy\" })))))))))));\r\n};\r\nexport default Button;\r\n","import brand from '@helpers/brand';\r\nimport { fluid } from '@helpers/fluid';\r\nimport fonts from '@helpers/fonts';\r\nimport srOnly from '@helpers/srOnly';\r\nimport { link } from '@helpers/typography';\r\nimport SvgTick from '@img/icons/tick.svg';\r\nimport styled from 'styled-components';\r\nconst Container = styled.div `\r\n position: relative;\r\n display: block;\r\n width: auto;\r\n\r\n & + & {\r\n margin-top: 15px;\r\n }\r\n`;\r\nconst Tick = styled(SvgTick) `\r\n position: absolute;\r\n left: 3px;\r\n top: 50%;\r\n color: var(--accentColor);\r\n width: 9px;\r\n opacity: 0;\r\n z-index: 1;\r\n transform: translateY(-50%);\r\n`;\r\nconst CheckboxItem = styled.label `\r\n position: relative;\r\n display: block;\r\n cursor: pointer;\r\n`;\r\nconst CheckboxInput = styled.input `\r\n ${srOnly}\r\n\r\n &.focus-ring + span {\r\n outline: auto;\r\n outline-offset: 3px;\r\n outline-width: 2px;\r\n outline-style: solid;\r\n }\r\n`;\r\nconst CheckboxText = styled.span `\r\n ${fonts.apparat.light};\r\n\r\n display: block;\r\n margin: 0;\r\n padding: 0 0 0 32px;\r\n color: var(--fgColor);\r\n font-size: ${fluid(16, 18)};\r\n line-height: ${fluid(26, 28)};\r\n\r\n [data-size='large'] & {\r\n padding: 2px 0 0 45px;\r\n\r\n &::before {\r\n height: 30px;\r\n width: 30px;\r\n border: 1px solid ${brand.secondary.blueGrey};\r\n }\r\n\r\n ${Tick} {\r\n left: 7px;\r\n width: 16px;\r\n color: ${brand.black};\r\n }\r\n }\r\n\r\n &:has(span:nth-child(2)) {\r\n span:nth-child(1) {\r\n font-weight: bold;\r\n }\r\n }\r\n\r\n span {\r\n display: block;\r\n\r\n a {\r\n ${link}\r\n }\r\n\r\n &:nth-child(2) {\r\n margin-top: 8px;\r\n }\r\n }\r\n\r\n &::after,\r\n &::before {\r\n content: '';\r\n position: absolute;\r\n top: 50%;\r\n left: 0;\r\n display: block;\r\n border-radius: 5px;\r\n box-sizing: border-box;\r\n height: 15px;\r\n width: 15px;\r\n transform: translateY(-50%);\r\n }\r\n\r\n &::before {\r\n border: 1px solid var(--fgColor);\r\n background-color: ${brand.white};\r\n z-index: 1;\r\n }\r\n\r\n ${CheckboxInput}:checked + & {\r\n ${Tick} {\r\n opacity: 1;\r\n }\r\n }\r\n\r\n ${CheckboxInput}:disabled + & {\r\n opacity: 0.5;\r\n cursor: not-allowed;\r\n }\r\n\r\n a {\r\n ${link}\r\n }\r\n`;\r\nexport default {\r\n Container,\r\n CheckboxInput,\r\n CheckboxItem,\r\n CheckboxText,\r\n Tick,\r\n};\r\n","import React from 'react';\r\nimport { FocusRing } from 'react-aria';\r\nimport S from './Checkbox.styles';\r\nconst Checkbox = React.forwardRef(({ className, id, labelText, extraText, name, value, ...otherProps }, ref) => {\r\n const idValue = id ?? `${name}-${value}`;\r\n return (React.createElement(S.Container, { className: className },\r\n React.createElement(S.CheckboxItem, { htmlFor: id },\r\n React.createElement(FocusRing, { focusRingClass: \"focus-ring\" },\r\n React.createElement(S.CheckboxInput, { ref: ref, id: idValue, name: name, value: value, type: \"checkbox\", ...otherProps })),\r\n React.createElement(S.CheckboxText, null,\r\n React.createElement(\"span\", { dangerouslySetInnerHTML: { __html: labelText } }),\r\n extraText && React.createElement(\"span\", { \"data-extra\": true }, extraText),\r\n React.createElement(S.Tick, null)))));\r\n});\r\nCheckbox.displayName = 'Checkbox';\r\nexport default Checkbox;\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 from 'styled-components';\r\nconst Container = styled.div `\r\n position: relative;\r\n color: ${brand.primary.blue};\r\n\r\n svg {\r\n ${transition('transform')};\r\n\r\n display: block;\r\n width: 8px;\r\n height: 15px;\r\n position: absolute;\r\n top: 50%;\r\n right: ${fluid(24, 42)};\r\n transform: translateY(-50%) rotate(90deg);\r\n pointer-events: none;\r\n color: currentColor;\r\n }\r\n\r\n &[data-open='true'] {\r\n svg {\r\n transform: translateY(-50%) rotate(270deg);\r\n }\r\n }\r\n`;\r\nconst Select = styled.select `\r\n ${transition('border-radius')};\r\n ${fonts.apparat.bold};\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-color: ${brand.white};\r\n border: 2px solid currentColor;\r\n border-radius: 50px;\r\n height: ${fluid(45, 54)};\r\n font-size: ${fluid(16, 18)};\r\n margin: 0;\r\n padding: 7px ${fluid(46, 64)} 7px ${fluid(24, 42)};\r\n width: 100%;\r\n color: currentColor;\r\n cursor: pointer;\r\n\r\n &:disabled {\r\n opacity: 0.5;\r\n cursor: not-allowed;\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 ${Container}[data-open='true'] & {\r\n border-radius: 25px 25px 0 0;\r\n }\r\n\r\n &[data-error='true'] {\r\n border-color: ${brand.validation.invalid};\r\n }\r\n`;\r\nconst DropdownStyles = {\r\n Container,\r\n Select,\r\n};\r\nexport default DropdownStyles;\r\n","import * as React from 'react';\r\nconst Image = React.forwardRef(({ alt = '', ...props }, ref) => {\r\n return React.createElement(\"img\", { ref: ref, alt: alt, role: alt ? undefined : 'presentation', ...props });\r\n});\r\nImage.displayName = 'Image';\r\nexport default Image;\r\n"],"names":["API_URLS","GET_SUGGESTIONS","GET_ARTICLES","GET_COURSES","GET_OFFERS","GET_PUBLICATIONS","GET_MAGAZINES","GET_MEMBERS_DIRECTORY","GET_EVENTS","GET_EVENTS_PAGE_FROM_HASH","NEWSLETTER_SIGNUP","MEMBERSHIP_STAGE_ONE","MEMBERSHIP_STAGE_TWO","MEMBERSHIP_COST_CHECK","MEMBERSHIP_SUBMIT","COMMUNITY_SIGNUP","GET_SEARCH_RESULTS","SUBMIT_BOOK_EVENT_STEP1","SUBMIT_BOOK_EVENT_STEP2","SUBMIT_BOOK_EVENT_APPLY_DISCOUNT","SUBMIT_BOOK_EVENT","SUBMIT_EVENT_EDIT_FORM","SUBMIT_MEMBERS_DIRECTORY_SEARCH","SUBMIT_EVENT_FORM","SUBMIT_VENUE_FORM","SUBMIT_PASSWORD_RESET","SUBMIT_CHANGE_PASSWORD","SUBMIT_OFFER_FORM","GET_LOGO","UPDATE_DETAILS_FORM","UPDATE_COMPANY_DETAILS_FORM","MANAGE_EMPLOYEES_FORM","GET_EMPLOYEES","ButtonReset","css","SiteWidth","SiteWidthBreakpoint","SitePaddingMax","SiteWidthNarrow","siteWide","baseGrid","cl","Cloudinary","cloud","cloudName","url","secure","imageUrl","image","imageParams","src","startsWith","clImage","resizeAction","width","height","crop","fill","limitFill","pad","thumbnail","widthratio","aspectRatio","heightratio","gravity","focusOn","face","autoGravity","zoom","getResizeAction","resize","delivery","formatAction","format","autoFormat","getFormatAction","quality","autoQuality","dpr","toURL","getSrcs","upper","lower","steps","ratio","otherParams","sizes","getRange","map","size","getRetinaSrcs","dprs","increment","Array","_","index","Math","ceil","pdfUrl","imageWrapperPreserveRatio","imageWrapperRatioPadding","toFixed","imageCoverContainer","relative","headingStyles","fonts","fluid","from","Device","h2","h3","h4","h5","h6","paragraphStyles","paragraphLarge","paragraphMedium","paragraphSmall","paragraphMicro","meta","link","brand","transition","table","blockquote","SvgQuoteMarks","contentStyles","sleep","ms","Promise","resolve","setTimeout","highlightTitleWords","title","replaceAll","EMAIL_RULE","message","value","PHONE_NUMBER_RULE","NAME_RULE","PASSWORD_RULE","PASSWORD_RULES","POSTCODE_RULE","URL_RULE","clamp","max","min","validateNotWhitespaceOnly","trim","length","youTubeIdParser","match","linkAria","linkText","linkTarget","string","defaultButtonStyles","until","orangeSolidVars","blueSolidVars","whiteSolidVars","rgba","orangeOutlineVars","blueOutlineVars","whiteOutlineVars","Container","styled","Text","srOnly","IconWrapper","ButtonImage","Image","buttonSize","buttonType","children","fillDirection","icon","iconOnly","iconPosition","isLoading","otherProps","React","FocusRing","focusRingClass","S","PuffLoader","color","isButtonIcon","getButtonIcon","alt","altText","loading","Tick","SvgTick","CheckboxItem","CheckboxInput","CheckboxText","Checkbox","ref","className","id","labelText","extraText","name","idValue","htmlFor","type","dangerouslySetInnerHTML","__html","displayName","Select","props","role","undefined"],"sourceRoot":""}