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,IACzB,MAAOC,EAAkBC,IAAuBd,EAAAA,EAAAA,WAAS,IAClDM,EAAOS,IAAYf,EAAAA,EAAAA,UAAS,IACnC,IAAIgB,GAAsB,EACtBC,EAAc,GAClBd,EAAAA,EAAAA,YAAU,KACN,GAAIU,IAAqBG,EAAqB,CAdhCE,EAACC,EAASC,EAAWA,MAAe,MACtD,MAAMC,EAASC,SAASC,cAAc,WACjClC,OAAOmC,yBAA2BJ,IACnC/B,OAAOmC,wBAA0BJ,GAErCC,EAAOI,IAAM,oFAAoFN,IACjGG,SAASI,KAAKC,YAAYN,EAAO,EASzBH,CAAcN,GACd,MAAMgB,EAAWlB,aAAY,KACzBmB,IACsB,MAAhBZ,GACFf,cAAc0B,EAClB,GACD,MAEH,OADAE,IACO,KACH5B,cAAc0B,EAAS,CAE/B,IACD,CAACf,IACJ,MAGMgB,EAAUA,KACZ,MAAME,EAAkB1C,OACpB0C,EAAgBzC,YAAcyC,EAAgBzC,WAAWC,SACzDwC,EAAgBzC,WACXC,QAAQqB,GACRP,MAAK,SAAU2B,GAChBjB,EAASiB,EACb,IACKzB,OAAM,KACPC,QAAQ3L,MAAM,oCAAoC,GAE1D,EAEEiN,EAAyBA,KAC3Bd,GAAsB,CAAI,EAExBnB,GAAiBoC,EAAAA,EAAAA,cAAaC,IAChCnB,EAASmB,EAAe,GACzB,IAEH,MAAO,CAvBiBC,MACnBtB,GAAoBC,GAAoB,EAAK,EAqBvBD,GAAoBzJ,EAAAA,EAAAA,GAAKqI,EAAW,CAAEpC,OAAQ,SAAUuC,QAASgB,EAAkBf,eAAgBA,IAAqB,KACtGS,EAAOuB,EAAQ,C","sources":["../node_modules/@mui/material/FormControlLabel/formControlLabelClasses.js","../node_modules/@mui/material/FormControlLabel/FormControlLabel.js","../node_modules/@web-for-marketing/react-ui/lib/esm/components/FormControls/Checkbox/Checkbox.js","../node_modules/@web-for-marketing/react-ui/lib/esm/components/Icons/ForwardIcon.js","../node_modules/@web-for-marketing/react-ui/lib/esm/components/LinkOverlay/LinkOverlay.js","../node_modules/@web-for-marketing/react-ui/lib/esm/components/LinkOverlay/LinkOverlayContainer.js","../node_modules/@web-for-marketing/react-ui/lib/esm/components/V2Button/V2Button.js","../node_modules/@web-for-marketing/react-ui/lib/esm/components/V2Button/styles.js","../node_modules/@web-for-marketing/react-ui/lib/esm/hooks/useRecaptcha/Recaptcha.js","../node_modules/@web-for-marketing/react-ui/lib/esm/hooks/useRecaptcha/useRecaptcha.js"],"sourcesContent":["import generateUtilityClasses from '@mui/utils/generateUtilityClasses';\nimport generateUtilityClass from '@mui/utils/generateUtilityClass';\nexport function getFormControlLabelUtilityClasses(slot) {\n return generateUtilityClass('MuiFormControlLabel', slot);\n}\nconst formControlLabelClasses = generateUtilityClasses('MuiFormControlLabel', ['root', 'labelPlacementStart', 'labelPlacementTop', 'labelPlacementBottom', 'disabled', 'label', 'error', 'required', 'asterisk']);\nexport default formControlLabelClasses;","'use client';\n\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport clsx from 'clsx';\nimport refType from '@mui/utils/refType';\nimport composeClasses from '@mui/utils/composeClasses';\nimport { useFormControl } from \"../FormControl/index.js\";\nimport { styled } from \"../zero-styled/index.js\";\nimport memoTheme from \"../utils/memoTheme.js\";\nimport { useDefaultProps } from \"../DefaultPropsProvider/index.js\";\nimport Typography from \"../Typography/index.js\";\nimport capitalize from \"../utils/capitalize.js\";\nimport formControlLabelClasses, { getFormControlLabelUtilityClasses } from \"./formControlLabelClasses.js\";\nimport formControlState from \"../FormControl/formControlState.js\";\nimport useSlot from \"../utils/useSlot.js\";\nimport { jsx as _jsx, jsxs as _jsxs } from \"react/jsx-runtime\";\nconst useUtilityClasses = ownerState => {\n const {\n classes,\n disabled,\n labelPlacement,\n error,\n required\n } = ownerState;\n const slots = {\n root: ['root', disabled && 'disabled', `labelPlacement${capitalize(labelPlacement)}`, error && 'error', required && 'required'],\n label: ['label', disabled && 'disabled'],\n asterisk: ['asterisk', error && 'error']\n };\n return composeClasses(slots, getFormControlLabelUtilityClasses, classes);\n};\nexport const FormControlLabelRoot = styled('label', {\n name: 'MuiFormControlLabel',\n slot: 'Root',\n overridesResolver: (props, styles) => {\n const {\n ownerState\n } = props;\n return [{\n [`& .${formControlLabelClasses.label}`]: styles.label\n }, styles.root, styles[`labelPlacement${capitalize(ownerState.labelPlacement)}`]];\n }\n})(memoTheme(({\n theme\n}) => ({\n display: 'inline-flex',\n alignItems: 'center',\n cursor: 'pointer',\n // For correct alignment with the text.\n verticalAlign: 'middle',\n WebkitTapHighlightColor: 'transparent',\n marginLeft: -11,\n marginRight: 16,\n // used for row presentation of radio/checkbox\n [`&.${formControlLabelClasses.disabled}`]: {\n cursor: 'default'\n },\n [`& .${formControlLabelClasses.label}`]: {\n [`&.${formControlLabelClasses.disabled}`]: {\n color: (theme.vars || theme).palette.text.disabled\n }\n },\n variants: [{\n props: {\n labelPlacement: 'start'\n },\n style: {\n flexDirection: 'row-reverse',\n marginRight: -11\n }\n }, {\n props: {\n labelPlacement: 'top'\n },\n style: {\n flexDirection: 'column-reverse'\n }\n }, {\n props: {\n labelPlacement: 'bottom'\n },\n style: {\n flexDirection: 'column'\n }\n }, {\n props: ({\n labelPlacement\n }) => labelPlacement === 'start' || labelPlacement === 'top' || labelPlacement === 'bottom',\n style: {\n marginLeft: 16 // used for row presentation of radio/checkbox\n }\n }]\n})));\nconst AsteriskComponent = styled('span', {\n name: 'MuiFormControlLabel',\n slot: 'Asterisk',\n overridesResolver: (props, styles) => styles.asterisk\n})(memoTheme(({\n theme\n}) => ({\n [`&.${formControlLabelClasses.error}`]: {\n color: (theme.vars || theme).palette.error.main\n }\n})));\n\n/**\n * Drop-in replacement of the `Radio`, `Switch` and `Checkbox` component.\n * Use this component if you want to display an extra label.\n */\nconst FormControlLabel = /*#__PURE__*/React.forwardRef(function FormControlLabel(inProps, ref) {\n const props = useDefaultProps({\n props: inProps,\n name: 'MuiFormControlLabel'\n });\n const {\n checked,\n className,\n componentsProps = {},\n control,\n disabled: disabledProp,\n disableTypography,\n inputRef,\n label: labelProp,\n labelPlacement = 'end',\n name,\n onChange,\n required: requiredProp,\n slots = {},\n slotProps = {},\n value,\n ...other\n } = props;\n const muiFormControl = useFormControl();\n const disabled = disabledProp ?? control.props.disabled ?? muiFormControl?.disabled;\n const required = requiredProp ?? control.props.required;\n const controlProps = {\n disabled,\n required\n };\n ['checked', 'name', 'onChange', 'value', 'inputRef'].forEach(key => {\n if (typeof control.props[key] === 'undefined' && typeof props[key] !== 'undefined') {\n controlProps[key] = props[key];\n }\n });\n const fcs = formControlState({\n props,\n muiFormControl,\n states: ['error']\n });\n const ownerState = {\n ...props,\n disabled,\n labelPlacement,\n required,\n error: fcs.error\n };\n const classes = useUtilityClasses(ownerState);\n const externalForwardedProps = {\n slots,\n slotProps: {\n ...componentsProps,\n ...slotProps\n }\n };\n const [TypographySlot, typographySlotProps] = useSlot('typography', {\n elementType: Typography,\n externalForwardedProps,\n ownerState\n });\n let label = labelProp;\n if (label != null && label.type !== Typography && !disableTypography) {\n label = /*#__PURE__*/_jsx(TypographySlot, {\n component: \"span\",\n ...typographySlotProps,\n className: clsx(classes.label, typographySlotProps?.className),\n children: label\n });\n }\n return /*#__PURE__*/_jsxs(FormControlLabelRoot, {\n className: clsx(classes.root, className),\n ownerState: ownerState,\n ref: ref,\n ...other,\n children: [/*#__PURE__*/React.cloneElement(control, controlProps), required ? /*#__PURE__*/_jsxs(\"div\", {\n children: [label, /*#__PURE__*/_jsxs(AsteriskComponent, {\n ownerState: ownerState,\n \"aria-hidden\": true,\n className: classes.asterisk,\n children: [\"\\u2009\", '*']\n })]\n }) : label]\n });\n});\nprocess.env.NODE_ENV !== \"production\" ? FormControlLabel.propTypes /* remove-proptypes */ = {\n // ┌────────────────────────────── Warning ──────────────────────────────┐\n // │ These PropTypes are generated from the TypeScript type definitions. │\n // │ To update them, edit the d.ts file and run `pnpm proptypes`. │\n // └─────────────────────────────────────────────────────────────────────┘\n /**\n * If `true`, the component appears selected.\n */\n checked: PropTypes.bool,\n /**\n * Override or extend the styles applied to the component.\n */\n classes: PropTypes.object,\n /**\n * @ignore\n */\n className: PropTypes.string,\n /**\n * The props used for each slot inside.\n * @default {}\n * @deprecated use the `slotProps` prop instead. This prop will be removed in v7. See [Migrating from deprecated APIs](https://mui.com/material-ui/migration/migrating-from-deprecated-apis/) for more details.\n */\n componentsProps: PropTypes.shape({\n typography: PropTypes.object\n }),\n /**\n * A control element. For instance, it can be a `Radio`, a `Switch` or a `Checkbox`.\n */\n control: PropTypes.element.isRequired,\n /**\n * If `true`, the control is disabled.\n */\n disabled: PropTypes.bool,\n /**\n * If `true`, the label is rendered as it is passed without an additional typography node.\n */\n disableTypography: PropTypes.bool,\n /**\n * Pass a ref to the `input` element.\n */\n inputRef: refType,\n /**\n * A text or an element to be used in an enclosing label element.\n */\n label: PropTypes.node,\n /**\n * The position of the label.\n * @default 'end'\n */\n labelPlacement: PropTypes.oneOf(['bottom', 'end', 'start', 'top']),\n /**\n * @ignore\n */\n name: PropTypes.string,\n /**\n * Callback fired when the state is changed.\n *\n * @param {React.SyntheticEvent} event The event source of the callback.\n * You can pull out the new checked state by accessing `event.target.checked` (boolean).\n */\n onChange: PropTypes.func,\n /**\n * If `true`, the label will indicate that the `input` is required.\n */\n required: PropTypes.bool,\n /**\n * The props used for each slot inside.\n * @default {}\n */\n slotProps: PropTypes.shape({\n typography: PropTypes.oneOfType([PropTypes.func, PropTypes.object])\n }),\n /**\n * The components used for each slot inside.\n * @default {}\n */\n slots: PropTypes.shape({\n typography: PropTypes.elementType\n }),\n /**\n * The system prop that allows defining system overrides as well as additional CSS styles.\n */\n sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object]),\n /**\n * The value of the component.\n */\n value: PropTypes.any\n} : void 0;\nexport default FormControlLabel;","import { jsx as _jsx } from \"@emotion/react/jsx-runtime\";\nimport { FormControlLabel, Checkbox as MUICheckbox, } from '@mui/material';\nimport { ClassNames } from '@emotion/react';\nimport { formControlStyles as classes } from '../formControlStyles';\n/**\n * A component that allows the user to toggle between checked and not checked.\n *\n * @example\n *\n *\n */\nexport function Checkbox({ label, id, name, disabled, hiddenLabel, onChange, onBlur, onFocus, checked, labelColor, checkedColor, uncheckedColor, value, defaultChecked, labelPlacement, className, }) {\n return (_jsx(ClassNames, { children: ({ css }) => (_jsx(FormControlLabel, { disabled: disabled, control: _jsx(MUICheckbox, { defaultChecked: defaultChecked, checked: checked, value: value, onFocus: onFocus, onBlur: onBlur, onChange: onChange, name: name, disabled: disabled, id: id, inputProps: {\n 'aria-label': hiddenLabel && typeof label === 'string' ? label : undefined,\n }, css: [\n classes.formControlLabelInput(labelPlacement),\n classes.checkbox(uncheckedColor, checkedColor),\n ] }), label: !hiddenLabel ? label : '', classes: {\n label: css(classes.formControlLabelText(labelColor)),\n }, labelPlacement: labelPlacement, css: classes.formControlLabelRoot(labelPlacement), className: className })) }));\n}\n","import { jsx as _jsx } from \"@emotion/react/jsx-runtime\";\nexport function ForwardIcon(props) {\n return (_jsx(\"svg\", Object.assign({ \"aria-hidden\": true, width: '20', height: '20', viewBox: '0 0 20 20', fill: 'none', xmlns: 'http://www.w3.org/2000/svg' }, props, { children: _jsx(\"path\", { d: 'M18.5575 10.5017C18.8142 10.2165 18.8142 9.78352 18.5575 9.4983L12.2579 2.4983C11.9808 2.19041 11.5066 2.16544 11.1987 2.44252C10.8908 2.71961 10.8658 3.19382 11.1429 3.50171L16.316 9.25001L2 9.25001C1.58579 9.25001 1.25 9.58579 1.25 10C1.25 10.4142 1.58579 10.75 2 10.75H16.316L11.1429 16.4983C10.8658 16.8062 10.8908 17.2804 11.1987 17.5575C11.5066 17.8346 11.9808 17.8096 12.2579 17.5017L18.5575 10.5017Z', fill: '#3C5164' }) })));\n}\n","var __rest = (this && this.__rest) || function (s, e) {\n var t = {};\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\n t[p] = s[p];\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\n t[p[i]] = s[p[i]];\n }\n return t;\n};\nimport { jsx as _jsx } from \"@emotion/react/jsx-runtime\";\nimport React from 'react';\nfunction LinkOverlayComponent(props, ref) {\n const { isExternal = false, target, rel, className, children, component = 'a' } = props, rest = __rest(props, [\"isExternal\", \"target\", \"rel\", \"className\", \"children\", \"component\"]);\n const Component = component;\n return (_jsx(Component, Object.assign({ ref: ref, className: `ui__link__overlay ${className ? className : ''}`, css: {\n position: 'static',\n textDecoration: 'none',\n color: 'inherit',\n '&::before': {\n content: '\"\"',\n cursor: 'inherit',\n display: 'block',\n position: 'absolute',\n top: 0,\n left: 0,\n zIndex: 0,\n width: '100%',\n height: '100%',\n },\n } }, rest, { rel: isExternal ? 'noopener noreferrer' : rel, target: isExternal ? '_blank' : target, children: children })));\n}\n/**\n * A component used to wrap and entire element in a link while staying semantic and accessible. Should be used with LinkOverlayContainer.\n *\n * @example\n *\n * Link text\n *\n *\n */\nexport const LinkOverlay = React.forwardRef(LinkOverlayComponent);\n","var __rest = (this && this.__rest) || function (s, e) {\n var t = {};\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\n t[p] = s[p];\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\n t[p[i]] = s[p[i]];\n }\n return t;\n};\nimport { jsx as _jsx } from \"@emotion/react/jsx-runtime\";\nimport React from 'react';\nfunction LinkOverlayContainerComponent(props, ref) {\n const { children, component = 'div' } = props, rest = __rest(props, [\"children\", \"component\"]);\n const Component = component;\n return (_jsx(Component, Object.assign({ ref: ref, css: {\n position: 'relative',\n /* Elevate the inner links and abbreviations up */\n 'a[href]:not(.ui__link__overlay), abbr[title]': {\n position: 'relative',\n zIndex: 1,\n },\n } }, rest, { children: children })));\n}\n/**\n * A component that contains a link overlay. Should be used with LinkOverlay.\n *\n * @example\n *\n * Link text\n *\n *\n */\nexport const LinkOverlayContainer = React.forwardRef(LinkOverlayContainerComponent);\n","var __rest = (this && this.__rest) || function (s, e) {\n var t = {};\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\n t[p] = s[p];\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\n t[p[i]] = s[p[i]];\n }\n return t;\n};\nimport { jsx as _jsx, jsxs as _jsxs } from \"@emotion/react/jsx-runtime\";\nimport React from 'react';\nimport { buttonBaseStyles, getFocusStyles, getVariantStyles, getWidthStyles, sizeStyles } from './styles';\nimport { getResponsiveStyleObject } from \"../../shared/utils/responsive/responsive\";\nfunction V2ButtonComponent(props, ref) {\n const { component, children, variant = 'primary', size = 'medium', color = 'blue', fullWidth = false, leftIcon, rightIcon, isSelected = false, disabled = false, type } = props, componentProps = __rest(props, [\"component\", \"children\", \"variant\", \"size\", \"color\", \"fullWidth\", \"leftIcon\", \"rightIcon\", \"isSelected\", \"disabled\", \"type\"]);\n const Component = component || 'button';\n const buttonProps = {};\n if (Component === 'button') {\n buttonProps.type = type === undefined ? 'button' : type;\n buttonProps.disabled = disabled;\n }\n else {\n if (disabled) {\n buttonProps['aria-disabled'] = disabled;\n }\n }\n return (_jsxs(Component, Object.assign({ ref: ref, css: [\n buttonBaseStyles,\n getFocusStyles(color),\n getWidthStyles(fullWidth),\n getResponsiveStyleObject(size, (size) => sizeStyles[size]),\n getVariantStyles(variant, color, isSelected), // variant styles must come after sizeStyles in order to override padding for link variant\n ], \"data-disabled\": disabled || undefined, tabIndex: disabled ? -1 : 0 }, buttonProps, componentProps, { children: [leftIcon ? _jsx(\"span\", { css: { marginRight: '1rem', display: 'inline-flex' }, children: leftIcon }) : null, children, rightIcon ? _jsx(\"span\", { css: { marginLeft: '1rem', display: 'inline-flex' }, children: rightIcon }) : null] })));\n}\n/**\n * A component that allows users to take actions, and make choices, with a single tap\n *\n * @example\n *Button text\n *\n */\nexport const V2Button = React.forwardRef(V2ButtonComponent);\n","import { fontWeights } from \"../../tokens/typography\";\nimport { body1Styles, body2Styles, body3Styles } from \"../../presets/typography\";\nimport { v2Colors } from \"../../tokens/color\";\nimport { getRgbaColor } from \"../../shared/utils/color/color\";\nexport const sizeStyles = {\n micro: Object.assign({ padding: '0.4rem 1.2rem' }, body3Styles),\n small: Object.assign({ padding: '0.8rem 1.2rem' }, body2Styles),\n medium: Object.assign({ padding: '1.2rem 2.4rem' }, body2Styles),\n large: Object.assign({ padding: '1.6rem 2.4rem' }, body1Styles),\n};\nconst colorStyles = {\n whiteSecondary: {\n color: v2Colors.text.inverseActivePrimary,\n '&:hover:not([data-disabled])': {\n boxShadow: 'inset 0 0 0 2px currentColor',\n },\n },\n blueSecondary: {\n color: v2Colors.text.activePrimary,\n '&:hover:not([data-disabled])': {\n color: v2Colors.text.activeSecondary,\n boxShadow: 'inset 0 0 0 2px currentColor',\n },\n },\n whiteFloating: {\n color: v2Colors.text.inverseActivePrimary,\n '&:hover:not([data-disabled])': {\n boxShadow: 'inset 0 0 0 1px currentColor',\n },\n },\n blueFloating: {\n color: v2Colors.text.activePrimary,\n '&:hover:not([data-disabled])': {\n boxShadow: 'inset 0 0 0 1px currentColor',\n color: v2Colors.text.activeSecondary,\n },\n },\n whiteGhost: {\n color: v2Colors.text.inverseActivePrimary,\n '&:hover:not([data-disabled])': {\n background: getRgbaColor(v2Colors.text.inverseActivePrimary, 0.2),\n },\n },\n blueGhost: {\n color: v2Colors.text.activePrimary,\n '&:hover:not([data-disabled])': {\n background: v2Colors.action.active,\n color: v2Colors.text.activeSecondary,\n },\n },\n whiteLink: {\n color: v2Colors.text.inverseActivePrimary,\n },\n blueLink: {\n color: v2Colors.text.activePrimary,\n },\n};\nexport function getVariantStyles(variant, color, isSelected) {\n const variantStyles = {\n primary: {\n color: v2Colors.text.inverseActivePrimary,\n background: v2Colors.action.innovation,\n '&:hover:not([data-disabled])': {\n background: v2Colors.action.innovationDark,\n },\n '&[data-disabled]': {\n background: v2Colors.action.disabled,\n },\n },\n secondary: Object.assign(Object.assign(Object.assign({ boxShadow: 'inset 0 0 0 1px currentColor', background: v2Colors.transparent }, (color === 'white' ? colorStyles.whiteSecondary : colorStyles.blueSecondary)), (isSelected ? getSelectedStyles(variant, color) : {})), { '&[data-disabled]': {\n background: v2Colors.action.disabled,\n boxShadow: 'none',\n } }),\n tertiary: {\n background: v2Colors.action.paleGray,\n color: v2Colors.text.secondary,\n '&:hover:not([data-disabled])': {\n background: v2Colors.action.lightGray,\n },\n '&[data-disabled]': {\n background: v2Colors.action.disabled,\n },\n },\n floating: Object.assign({ background: v2Colors.transparent }, (color === 'white' ? colorStyles.whiteFloating : colorStyles.blueFloating)),\n ghost: Object.assign(Object.assign({}, (color === 'white' ? colorStyles.whiteGhost : colorStyles.blueGhost)), (isSelected ? getSelectedStyles(variant, color) : {})),\n link: Object.assign(Object.assign({}, (color === 'white' ? colorStyles.whiteLink : colorStyles.blueLink)), { padding: 0, '&:hover:not([data-disabled])': {\n textDecoration: 'underline',\n } }),\n };\n return variantStyles[variant];\n}\nexport function getWidthStyles(fullWidth) {\n return {\n width: fullWidth ? '100%' : 'auto',\n };\n}\nexport function getFocusStyles(color) {\n return {\n '&:focus-visible': {\n outline: `2px solid ${color === 'white' ? v2Colors.border.inversePrimary : v2Colors.border.activePrimary}`,\n outlineOffset: '3px',\n },\n };\n}\nexport function getSelectedStyles(variant, color) {\n const selectedStyles = {\n primary: {},\n secondary: {\n boxShadow: 'inset 0 0 0 2px currentColor',\n background: color === 'blue' ? v2Colors.action.active : getRgbaColor(v2Colors.background.white, 0.15),\n },\n tertiary: {},\n floating: {},\n ghost: {\n boxShadow: 'inset 0 0 0 1px currentColor',\n background: color === 'blue' ? v2Colors.action.active : getRgbaColor(v2Colors.background.white, 0.2),\n },\n link: {},\n };\n return {\n color: color === 'blue' ? v2Colors.text.activeSecondary : v2Colors.text.inversePrimary,\n '&:not([data-disabled])': selectedStyles[variant],\n };\n}\nexport const buttonBaseStyles = {\n display: 'inline-flex',\n alignItems: 'center',\n justifyContent: 'center',\n cursor: 'pointer',\n fontWeight: fontWeights.medium,\n userSelect: 'none',\n position: 'relative',\n verticalAlign: 'middle',\n boxSizing: 'border-box',\n borderRadius: '4px',\n transition: 'background-color 300ms ease, box-shadow 300ms ease, color 300ms ease',\n border: 0,\n outline: 0,\n background: 'none',\n textDecoration: 'none',\n '& svg': {\n height: '1em',\n width: '1em',\n color: 'currentcolor',\n '& path': {\n fill: 'currentcolor',\n },\n },\n '&[data-disabled]': {\n pointerEvents: 'none',\n color: v2Colors.text.disabled,\n },\n};\n","import { jsx as _jsx } from \"@emotion/react/jsx-runtime\";\nimport { useState, useEffect } from 'react';\nconst isReady = () => {\n var _a;\n return (typeof window !== 'undefined' &&\n typeof window.grecaptcha !== 'undefined' &&\n typeof ((_a = window.grecaptcha) === null || _a === void 0 ? void 0 : _a.execute) !== 'undefined');\n};\nlet readyCheck;\nconst ReCaptcha = ({ elementID = 'g-recaptcha', verifyCallbackName = 'verifyCallbackName', sitekey, action, verifyCallback, }) => {\n const [ready, setReady] = useState(isReady());\n const updateReadyState = () => {\n if (isReady()) {\n setReady(true);\n clearInterval(readyCheck);\n }\n };\n useEffect(() => {\n const execute = () => {\n var _a, _b;\n if (ready) {\n (_b = (_a = window.grecaptcha) === null || _a === void 0 ? void 0 : _a.execute) === null || _b === void 0 ? void 0 : _b.call(_a, sitekey, { action }).then((token) => {\n if (typeof verifyCallback !== 'undefined') {\n verifyCallback(token);\n }\n }).catch((e) => {\n console.log(e);\n });\n }\n };\n if (ready) {\n execute();\n }\n else {\n readyCheck = window.setInterval(updateReadyState, 1000);\n }\n //cleanup function to run when component unmounted\n return () => {\n clearInterval(readyCheck);\n };\n }, [ready]);\n return ready ? (_jsx(\"div\", { id: elementID, \"data-verifycallbackname\": verifyCallbackName })) : (_jsx(\"div\", { id: elementID, className: 'g-recaptcha' }));\n};\nexport default ReCaptcha;\n","import { jsx as _jsx } from \"@emotion/react/jsx-runtime\";\nimport { useState, useEffect, useCallback } from 'react';\nimport ReCaptcha from './Recaptcha';\nconst loadReCaptcha = (siteKey, callback = () => undefined) => {\n const script = document.createElement('script');\n if (!window.onLoadCaptchaV3Callback && callback) {\n window.onLoadCaptchaV3Callback = callback;\n }\n script.src = `https://www.recaptcha.net/recaptcha/api.js?onload=onLoadCaptchaV3Callback&render=${siteKey}`;\n document.body.appendChild(script);\n};\nexport const useRecaptcha = (recaptchaSiteKey) => {\n const [recaptchaEnabled, setRecaptchaEnabled] = useState(false);\n const [token, setToken] = useState('');\n let recaptchaLoadedOnce = false;\n let repetitions = 0;\n useEffect(() => {\n if (recaptchaEnabled && !recaptchaLoadedOnce) {\n loadReCaptcha(recaptchaSiteKey);\n const interval = setInterval(() => {\n refresh();\n if (++repetitions === 5) {\n clearInterval(interval);\n }\n }, 110000);\n setRecaptchaLoadedOnce();\n return () => {\n clearInterval(interval);\n };\n }\n }, [recaptchaEnabled]);\n const enableRecaptcha = () => {\n !recaptchaEnabled && setRecaptchaEnabled(true);\n };\n const refresh = () => {\n const recaptchaWindow = window;\n if (recaptchaWindow.grecaptcha && recaptchaWindow.grecaptcha.execute) {\n recaptchaWindow.grecaptcha\n .execute(recaptchaSiteKey)\n .then(function (refreshToken) {\n setToken(refreshToken);\n })\n .catch(() => {\n console.error('Failed to refresh recaptcha token');\n });\n }\n };\n const setRecaptchaLoadedOnce = () => {\n recaptchaLoadedOnce = true;\n };\n const verifyCallback = useCallback((recaptchaToken) => {\n setToken(recaptchaToken);\n }, []);\n const recaptchaComponent = recaptchaEnabled ? (_jsx(ReCaptcha, { action: 'submit', sitekey: recaptchaSiteKey, verifyCallback: verifyCallback })) : null;\n return [enableRecaptcha, recaptchaComponent, token, refresh];\n};\n"],"names":["getFormControlLabelUtilityClasses","slot","generateUtilityClass","generateUtilityClasses","FormControlLabelRoot","styled","name","overridesResolver","props","styles","ownerState","formControlLabelClasses","label","root","capitalize","labelPlacement","memoTheme","theme","display","alignItems","cursor","verticalAlign","WebkitTapHighlightColor","marginLeft","marginRight","disabled","color","vars","palette","text","variants","style","flexDirection","AsteriskComponent","asterisk","error","main","React","inProps","ref","useDefaultProps","checked","className","componentsProps","control","disabledProp","disableTypography","inputRef","labelProp","onChange","required","requiredProp","slots","slotProps","value","other","muiFormControl","useFormControl","controlProps","forEach","key","fcs","formControlState","states","classes","composeClasses","useUtilityClasses","externalForwardedProps","TypographySlot","typographySlotProps","useSlot","elementType","Typography","type","_jsx","component","clsx","children","_jsxs","Checkbox","id","hiddenLabel","onBlur","onFocus","labelColor","checkedColor","uncheckedColor","defaultChecked","ClassNames","css","FormControlLabel","MUICheckbox","inputProps","undefined","formControlLabelInput","checkbox","formControlLabelText","formControlLabelRoot","ForwardIcon","Object","assign","width","height","viewBox","fill","xmlns","d","__rest","s","e","t","p","prototype","hasOwnProperty","call","indexOf","getOwnPropertySymbols","i","length","propertyIsEnumerable","LinkOverlay","isExternal","target","rel","rest","Component","position","textDecoration","content","top","left","zIndex","LinkOverlayContainer","V2Button","variant","size","fullWidth","leftIcon","rightIcon","isSelected","componentProps","buttonProps","buttonBaseStyles","getFocusStyles","getWidthStyles","getResponsiveStyleObject","sizeStyles","getVariantStyles","tabIndex","micro","padding","body3Styles","small","body2Styles","medium","large","body1Styles","colorStyles","whiteSecondary","v2Colors","inverseActivePrimary","boxShadow","blueSecondary","activePrimary","activeSecondary","whiteFloating","blueFloating","whiteGhost","background","getRgbaColor","blueGhost","action","active","whiteLink","blueLink","primary","innovation","innovationDark","secondary","transparent","getSelectedStyles","tertiary","paleGray","lightGray","floating","ghost","link","outline","border","inversePrimary","outlineOffset","selectedStyles","white","justifyContent","fontWeight","fontWeights","userSelect","boxSizing","borderRadius","transition","pointerEvents","isReady","_a","window","grecaptcha","execute","readyCheck","ReCaptcha","elementID","verifyCallbackName","sitekey","verifyCallback","ready","setReady","useState","updateReadyState","clearInterval","useEffect","_b","then","token","catch","console","log","setInterval","useRecaptcha","recaptchaSiteKey","recaptchaEnabled","setRecaptchaEnabled","setToken","recaptchaLoadedOnce","repetitions","loadReCaptcha","siteKey","callback","script","document","createElement","onLoadCaptchaV3Callback","src","body","appendChild","interval","refresh","setRecaptchaLoadedOnce","recaptchaWindow","refreshToken","useCallback","recaptchaToken","enableRecaptcha"],"sourceRoot":""}