kui-basic 1.1.22 → 1.1.24
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/Accordion/package.json +2 -2
- package/dist/AccordionDetails/package.json +2 -2
- package/dist/AccordionSummary/package.json +2 -2
- package/dist/AppBar/package.json +2 -2
- package/dist/Box/package.json +2 -2
- package/dist/Button/package.json +2 -2
- package/dist/Caption/package.json +2 -2
- package/dist/Checkbox/package.json +2 -2
- package/dist/CircularProgress/package.json +2 -2
- package/dist/Container/package.json +2 -2
- package/dist/Divider/package.json +2 -2
- package/dist/ErrorComponent/package.json +2 -2
- package/dist/Grid/package.json +2 -2
- package/dist/Heading/package.json +2 -2
- package/dist/IconButton/package.json +2 -2
- package/dist/Input/package.json +2 -2
- package/dist/InputFile/package.json +2 -2
- package/dist/InputMessage/package.json +2 -2
- package/dist/InputWithAdornments/package.json +2 -2
- package/dist/InputWithCountryDropdown/package.json +2 -2
- package/dist/InputWithMask/package.json +2 -2
- package/dist/LinearProgress/package.json +2 -2
- package/dist/MenuPanel/package.json +2 -2
- package/dist/Modal/package.json +2 -2
- package/dist/Popper/package.json +2 -2
- package/dist/PopperBase/package.json +2 -2
- package/dist/PopperWithPortal/package.json +2 -2
- package/dist/Radio/package.json +2 -2
- package/dist/ScrollTab/package.json +2 -2
- package/dist/Skeleton/package.json +2 -2
- package/dist/StaticPopper/package.json +2 -2
- package/dist/Switch/package.json +2 -2
- package/dist/Tab/package.json +2 -2
- package/dist/Tabs/package.json +2 -2
- package/dist/TabsPanel/package.json +2 -2
- package/dist/Text/package.json +2 -2
- package/dist/ToolBar/package.json +2 -2
- package/dist/Tooltip/package.json +2 -2
- package/dist/cjs/index.js +2 -0
- package/dist/cjs/index.js.map +1 -0
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/package.json +3 -3
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../../src/theme/colors/index.js","../../src/theme/shadows/index.js","../../src/theme/breakpoints/index.js","../../src/theme/settings/index.js","../../src/theme/index.js","../../src/components/Heading/variants.js","../../src/components/Heading/index.js","../../src/components/Caption/variants.js","../../src/components/Caption/index.js","../../src/components/Text/variants.js","../../src/components/Text/index.js","../../src/components/Button/variants.js","../../src/components/Button/index.js","../../src/icons/ErrorIcon.js","../../src/icons/WarningIcon.js","../../src/icons/SuccessIcon.js","../../src/components/InputMessage/variants.js","../../src/components/InputMessage/index.js","../../src/icons/TextareaGrabIcon.js","../../src/components/Input/index.js","../../src/components/InputWithAdornments/index.js","../../src/components/InputWithMask/index.js","../../src/components/InputWithCountryDropdown/Dropdown/CountryItem/index.js","../../src/icons/SearchIcon.js","../../src/components/InputWithCountryDropdown/Dropdown/index.js","../../src/icons/HalfArrowIcon.js","../../src/components/InputWithCountryDropdown/index.js","../../src/components/Checkbox/index.js","../../src/icons/CloseIcon.js","../../src/components/Modal/index.js","../../src/components/Switch/variants.js","../../src/components/Switch/index.js","../../src/components/Radio/index.js","../../src/icons/FileIcon.js","../../src/components/InputFile/index.js","../../src/components/Divider/index.js","../../src/components/Container/index.js","../../src/components/Grid/index.js","../../src/components/Box/index.js","../../src/components/Accordion/index.js","../../src/components/AccordionSummary/index.js","../../src/components/Skeleton/index.js","../../src/components/AppBar/index.js","../../src/components/ToolBar/index.js","../../src/components/CircularProgress/index.js","../../src/components/LinearProgress/index.js","../../src/components/Tabs/index.js","../../src/components/Tab/index.js","../../src/components/TabsPanel/index.js","../../src/components/ScrollTab/index.js","../../src/components/MenuPanel/index.js","../../src/components/IconButton/index.js","../../src/components/PopperBase/index.js","../../src/components/PopperWithPortal/placements.js","../../src/components/StaticPopper/index.js","../../src/components/Popper/index.js","../../src/components/Tooltip/index.js","../../src/components/ErrorComponent/index.js","../../src/components/AccordionDetails/index.js"],"sourcesContent":["const colors = {\r\n primary: {\r\n main: \"#ED713C\",\r\n pressed: \"#D24C13\",\r\n hover: \"#EA5A1D\",\r\n light: \"#FCEAE2\",\r\n light2: \"#FEF7F3\",\r\n },\r\n secondary: {\r\n main: \"#18191F\",\r\n gray60: \"#474A57\",\r\n gray50: \"#7F8285\",\r\n gray40: \"#949494\",\r\n gray30: \"#BFBFBF\",\r\n gray15: \"#EAECEF\",\r\n white: \"#FFFFFF\",\r\n light: \"#C4C4C4\",\r\n disabled: \"#A6AEBC\",\r\n },\r\n background: {\r\n main: \"#FBFBFD\",\r\n light2: \"#F7F8F9\",\r\n light3: \"#F2F3F5\",\r\n },\r\n success: {\r\n green70: \"#259E58\",\r\n green60: \"#23A65A\",\r\n main: \"#27AE60\",\r\n green10: \"#EAFCF7\",\r\n green5: \"#F0FDF9\",\r\n },\r\n error: {\r\n red70: \"#D03C1A\",\r\n red60: \"#DA421F\",\r\n main: \"#EB4620\",\r\n red10: \"#FCE3DE\",\r\n red5: \"#FDF0ED\",\r\n },\r\n info: {\r\n blue70: \"#0098B6\",\r\n blue60: \"#009CBB\",\r\n main: \"#00ABCD\",\r\n blue10: \"#D9F2F8\",\r\n blue5: \"#E5F7FA\",\r\n },\r\n purple: {\r\n purple70: \"#914BD2\",\r\n purple60: \"#974EDB\",\r\n main: \"#9B51E0\",\r\n purple10: \"#F0E5FA\",\r\n purple5: \"#F7F1FD\",\r\n },\r\n}\r\n\r\nexport default colors\r\n","const shadows = {\r\n shadow1: \"0px 5px 16px rgba(0, 0, 0, 0.1)\",\r\n shadow2: \"0px 12px 16px rgba(0, 0, 0, 0.08)\",\r\n shadow3: \"0px 26px 34px rgba(0, 0, 0, 0.1)\",\r\n shadow4: \"0px 10px 20px rgba(0, 0, 0, 0.1)\",\r\n}\r\n\r\nexport default shadows\r\n","const breakpoints = {\n xxs: 375,\n xs: 600,\n sm: 900,\n md: 1200,\n lg: 1440,\n xl: 1536,\n}\n\nexport default breakpoints\n","const settings = {\r\n spacing: 8,\r\n columns: 12,\r\n}\r\n\r\nexport default settings\r\n","import colors from \"./colors\"\nimport shadows from \"./shadows\"\nimport breakpoints from \"./breakpoints\"\nimport settings from \"./settings\"\n\nconst palette = {\n brand: {\n ...colors.primary,\n background: colors.primary.light2,\n },\n grey: {\n seventy: colors.secondary.main,\n sixty: colors.secondary.gray60,\n fiftyP: colors.secondary.gray50,\n fourty: colors.secondary.gray40,\n thirty: colors.secondary.gray30,\n fifteenB: colors.secondary.gray15,\n zero: colors.secondary.white,\n },\n background: {\n ...colors.background,\n light1: colors.background.main,\n light4: \"#C5C6C7\",\n },\n green: {\n fiftyP: colors.success.main,\n seventy: colors.success.green70,\n sixty: colors.success.green60,\n ten: colors.success.green10,\n five: colors.success.green5,\n },\n red: {\n fiftyP: colors.error.main,\n seventy: colors.error.red70,\n sixty: colors.error.red60,\n ten: colors.error.red10,\n five: colors.error.red5,\n },\n blue: {\n fiftyP: colors.info.main,\n seventy: colors.info.blue70,\n sixty: colors.info.blue60,\n ten: colors.info.blue10,\n five: colors.info.blue5,\n },\n purple: {\n fiftyP: colors.purple.main,\n seventy: colors.purple.purple70,\n sixty: colors.purple.purple60,\n ten: colors.purple.purple10,\n five: colors.purple.purple5,\n },\n}\n\nconst themeOld = {\n palette: colors,\n breakpoints,\n shadows,\n settings,\n}\n\nconst theme = {\n palette,\n breakpoints,\n shadows,\n settings,\n}\n\nexport { themeOld, theme }\n","const headingSizes = {\r\n hero: \"h1\",\r\n h1: \"h1\",\r\n h2: \"h2\",\r\n h3: \"h3\",\r\n h4: \"h4\",\r\n}\r\n\r\nconst headingVariants = {\r\n hero: {\r\n size: 56,\r\n height: 72,\r\n mobSize: 32,\r\n mobHeight: 48,\r\n },\r\n h1: {\r\n size: 32,\r\n height: 48,\r\n mobSize: 24,\r\n mobHeight: 32,\r\n },\r\n h2: {\r\n size: 24,\r\n height: 32,\r\n mobSize: 18,\r\n mobHeight: 24,\r\n },\r\n h3: {\r\n size: 18,\r\n height: 24,\r\n mobSize: 16,\r\n mobHeight: 24,\r\n },\r\n h4: {\r\n size: 16,\r\n height: 24,\r\n mobSize: 14,\r\n mobHeight: 24,\r\n },\r\n}\r\n\r\nexport { headingVariants, headingSizes }\r\n","import React from \"react\"\nimport classNames from \"classnames\"\nimport PropTypes from \"prop-types\"\nimport styled from \"@emotion/styled\"\nimport { css } from \"@emotion/react\"\nimport { theme } from \"../../theme\"\nimport { headingSizes, headingVariants } from \"./variants\"\n\nconst { breakpoints, palette } = theme\n\nfunction Heading(props) {\n const { size, children, className, ...otherProps } = props\n\n return (\n <StyledHeading\n as={headingSizes[size]}\n size={headingVariants[size]}\n className={classNames(\"KUI-Heading\", className)}\n {...otherProps}\n >\n {children}\n </StyledHeading>\n )\n}\n\nHeading.defaultProps = {\n size: \"h1\",\n color: \"seventy\",\n colorGroup: \"grey\",\n disableUserSelect: false,\n weight: 700,\n}\n\nHeading.propTypes = {\n size: PropTypes.oneOf([\"hero\", \"h1\", \"h2\", \"h3\", \"h4\"]),\n disableUserSelect: PropTypes.bool,\n weight: PropTypes.number,\n}\n\nexport default Heading\n\nconst headingSettingsCSS = (props) => css`\n font-size: ${props.size.size}px;\n line-height: ${props.size.height}px;\n text-align: ${props.align};\n color: ${palette[props.colorGroup][props.color]\n ? palette[props.colorGroup][props.color]\n : palette.grey.seventy};\n font-weight: ${props.weight};\n ${props.disableUserSelect && \"user-select: none\"};\n @media (max-width: ${breakpoints.sm}px) {\n font-size: ${props.size.mobSize}px;\n line-height: ${props.size.mobHeight}px;\n }\n`\n\nconst StyledHeading = styled.h1`\n font-family: \"Inter\", sans-serif;\n letter-spacing: normal;\n text-transform: none;\n margin: 0;\n font-weight: 700;\n ${headingSettingsCSS};\n`\n","const captionSizes = {\n xs: {\n size: 12,\n height: 14,\n },\n sm: {\n size: 13,\n height: 14,\n high: 20,\n },\n s: {\n size: 14,\n height: 18,\n high: 22,\n },\n m: {\n size: 16,\n height: 24,\n },\n l: {\n size: 18,\n height: 28,\n },\n}\n\nexport default captionSizes\n","import React from \"react\"\nimport PropTypes from \"prop-types\"\nimport classNames from \"classnames\"\nimport styled from \"@emotion/styled\"\nimport { css } from \"@emotion/react\"\nimport captionSizes from \"./variants\"\nimport { theme } from \"../../theme\"\n\nfunction Caption(props) {\n const { children, size, className, ...otherProps } = props\n\n return (\n <StyledCaption\n size={captionSizes[size]}\n className={classNames(\"KUI-Caption\", className)}\n {...otherProps}\n >\n {children}\n </StyledCaption>\n )\n}\n\nCaption.defaultProps = {\n size: \"m\",\n weight: 400,\n color: \"seventy\",\n colorGroup: \"grey\",\n disableUserSelect: false,\n variant: \"default\",\n}\n\nCaption.displayName = \"Caption\"\n\nCaption.propTypes = {\n size: PropTypes.oneOf([\"xs\", \"sm\", \"s\", \"m\", \"l\"]),\n weight: PropTypes.oneOf([400, 500, 600, 700]),\n disableUserSelect: PropTypes.bool,\n variant: PropTypes.oneOf([\"default\", \"high\"]),\n}\n\nexport default Caption\n\nconst captionSettingsCSS = ({\n size,\n weight,\n align,\n color,\n colorGroup,\n disSelect,\n variant,\n}) => css`\n font-size: ${size.size}px;\n line-height: ${variant === \"high\" ? size.high || size.height : size.height}px;\n font-weight: ${weight};\n text-align: ${align};\n ${disSelect && \"user-select: none\"};\n color: ${theme.palette[colorGroup][color]\n ? theme.palette[colorGroup][color]\n : theme.palette.grey.seventy};\n`\n\nconst StyledCaption = styled.p`\n font-family: \"Inter\", sans-serif;\n letter-spacing: normal;\n text-transform: none;\n margin: 0;\n ${captionSettingsCSS};\n`\n","const textVariants = {\r\n xs: {\r\n size: 13,\r\n height: 20,\r\n },\r\n s: {\r\n size: 14,\r\n height: 22,\r\n },\r\n m: {\r\n size: 18,\r\n height: 28,\r\n },\r\n}\r\n\r\nexport default textVariants\r\n","import React from \"react\"\nimport classNames from \"classnames\"\nimport PropTypes from \"prop-types\"\nimport { css } from \"@emotion/react\"\nimport styled from \"@emotion/styled\"\nimport { theme } from \"../../theme\"\nimport textVariants from \"./variants\"\n\nfunction Text(props) {\n const { children, size, className, ...otherProps } = props\n\n return (\n <StyledText\n size={textVariants[size]}\n className={classNames(\"KUI-Text\", className)}\n {...otherProps}\n >\n {children}\n </StyledText>\n )\n}\n\nText.defaultProps = {\n size: \"s\",\n color: \"main\",\n disableUserSelect: false,\n weight: 400,\n}\n\nText.propTypes = {\n size: PropTypes.oneOf([\"xs\", \"s\", \"m\"]),\n weight: PropTypes.oneOf([400, 500, 600]),\n color: PropTypes.oneOf([\n \"main\",\n \"gray60\",\n \"gray50\",\n \"gray40\",\n \"white\",\n \"brand\",\n ]),\n disableUserSelect: PropTypes.bool,\n}\n\nexport default Text\n\nconst textSettingsCSS = ({ size, weight, color, disSelect }) => css`\n font-size: ${size.size}px;\n line-height: ${size.height}px;\n font-weight: ${weight};\n ${disSelect && \"user-select: none\"};\n color: ${theme.palette.grey[color]\n ? theme.palette.grey[color]\n : theme.palette.brand.main};\n`\n\nconst StyledText = styled.p`\n font-family: \"Inter\", sans-serif;\n letter-spacing: normal;\n text-transform: none;\n margin: 0;\n ${textSettingsCSS};\n`\n","import { theme } from \"../../theme\"\n\nconst palette = theme.palette\n\nconst buttonSizes = {\n xs: 32,\n s: 40,\n m: 48,\n l: 56,\n}\n\nconst buttonBorders = {\n brand: palette.brand.main,\n lightGray: palette.grey.fifteenB,\n lightOrange: palette.brand.light,\n}\n\nconst buttonVariants = {\n primary: {\n background: palette.brand.main,\n color: palette.grey.zero,\n hover: palette.brand.hover,\n active: palette.brand.pressed,\n },\n orange: {\n background: palette.brand.light,\n color: palette.brand.main,\n hover: palette.brand.hover,\n active: palette.brand.pressed,\n hoverColor: palette.grey.zero,\n },\n white: {\n background: palette.grey.zero,\n color: palette.grey.seventy,\n hover: palette.background.light1,\n active: palette.grey.fifteenB,\n border: palette.grey.fifteenB,\n },\n whiteWithOrangeHover: {\n color: palette.grey.sixty,\n hover: palette.brand.light,\n active: palette.brand.light,\n hoverColor: palette.brand.main,\n },\n whiteWithGray: {\n background: palette.grey.zero,\n color: palette.grey.fiftyP,\n hover: palette.background.light1,\n active: palette.grey.fifteenB,\n hoverColor: palette.grey.seventy,\n border: palette.background.light3,\n },\n whiteWithBrand: {\n background: palette.grey.zero,\n color: palette.brand.main,\n },\n grayLightWithBorder: {\n background: palette.background.light1,\n color: palette.grey.fiftyP,\n border: palette.grey.fifteenB,\n hover: palette.background.light2,\n hoverColor: palette.grey.seventy,\n active: palette.grey.fifteenB,\n },\n grayLight: {\n background: palette.background.light2,\n color: palette.grey.fiftyP,\n hover: palette.background.light3,\n hoverColor: palette.grey.seventy,\n active: palette.grey.fifteenB,\n },\n grayDark: {\n background: palette.grey.fiftyP,\n color: palette.grey.zero,\n hover: palette.grey.sixty,\n hoverColor: palette.grey.zero,\n pressed: palette.grey.sixty,\n },\n backgroundLight: {\n background: palette.background.light2,\n color: palette.grey.fiftyP,\n hover: palette.background.light1,\n hoverColor: palette.grey.seventy,\n pressed: palette.grey.fifteenB,\n },\n backgroundWithBorder: {\n background: palette.background.light1,\n color: palette.grey.fiftyP,\n hover: palette.background.light3,\n hoverColor: palette.grey.seventy,\n pressed: palette.grey.fifteenB,\n border: palette.grey.fifteenB,\n },\n blur: {\n background: \"rgba(0, 0, 0, 0.6)\",\n color: palette.grey.zero,\n hover: \"rgba(0, 0, 0, 0.7)\",\n active: \"rgba(0, 0, 0, 0.8)\",\n backdrop: \"blur(4px)\",\n },\n blurDark: {\n background: \"rgba(0, 0, 0, 0.6)\",\n color: palette.grey.zero,\n hover: \"rgba(0, 0, 0, 0.8)\",\n hoverColor: palette.grey.zero,\n pressed: \"rgba(0, 0, 0, 1)\",\n },\n green: {\n background: palette.green.fiftyP,\n color: palette.grey.zero,\n hover: palette.green.sixty,\n active: palette.green.seventy,\n },\n red: {\n background: palette.red.fiftyP,\n color: palette.grey.zero,\n hover: palette.red.sixty,\n active: palette.red.seventy,\n },\n error: {\n background: palette.red.five,\n color: palette.red.fiftyP,\n hover: palette.red.ten,\n hoverColor: palette.red.fiftyP,\n pressed: palette.red.ten,\n },\n transparent: {\n withoutShadow: true,\n },\n orangeWithHoverLight: {\n background: palette.brand.background,\n color: palette.brand.main,\n hover: palette.brand.background,\n hoverColor: palette.brand.main,\n pressed: palette.brand.background,\n },\n orangeWithBorder: {\n background: palette.brand.light,\n color: palette.brand.main,\n hover: palette.brand.background,\n hoverColor: palette.brand.main,\n pressed: palette.brand.background,\n border: palette.brand.main,\n },\n transparentLight: {\n color: palette.grey.thirty,\n hoverColor: palette.grey.fiftyP,\n pressed: palette.grey.fifteenB,\n withoutShadow: true,\n },\n transparentWithBorder: {\n color: palette.grey.fiftyP,\n hover: palette.background.light3,\n hoverColor: palette.grey.seventy,\n pressed: palette.grey.fifteenB,\n border: palette.grey.fifteenB,\n },\n transparentWithDarkBorder: {\n color: palette.grey.fiftyP,\n hover: palette.background.light3,\n hoverColor: palette.grey.seventy,\n pressed: palette.grey.fifteenB,\n border: palette.grey.fiftyP,\n },\n transparentWithBoldBorder: {\n color: palette.grey.thirty,\n hover: palette.background.light1,\n hoverColor: palette.grey.seventy,\n pressed: palette.grey.fifteenB,\n border: palette.grey.thirty,\n },\n}\n\nexport { buttonSizes, buttonBorders, buttonVariants }\n","import React, { forwardRef } from \"react\"\nimport PropTypes from \"prop-types\"\nimport classNames from \"classnames\"\nimport { css } from \"@emotion/react\"\nimport styled from \"@emotion/styled\"\nimport Caption from \"../Caption\"\nimport { buttonSizes, buttonBorders, buttonVariants } from \"./variants\"\nimport { theme } from \"../../theme\"\n\nconst Button = forwardRef((props, ref) => {\n const {\n children,\n variant,\n size,\n className,\n fullWidth,\n isCircle,\n captionSize,\n disabledStyle,\n border,\n startIcon,\n endIcon,\n captionWeight,\n withoutChildrenWrapper,\n ...buttonProps\n } = props\n\n return (\n <StyledButton\n ref={ref}\n size={size}\n variant={variant}\n border={border}\n fullWidth={fullWidth}\n isCircle={isCircle}\n className={classNames(\n \"KUI-Button\",\n buttonProps.disabled && \"KUI-Button_disabled\",\n buttonProps.disabled && disabledStyle,\n className\n )}\n {...buttonProps}\n >\n {isCircle ? (\n <StyledCircleButtonContainer className=\"KUI-Button_circle-container\">\n {children}\n </StyledCircleButtonContainer>\n ) : (\n <StyledContentContainer\n withIcon={startIcon || endIcon}\n className={classNames(\n (startIcon || endIcon) && \"KUI-Button_icon-container\"\n )}\n >\n {startIcon && (\n <StyledStartIcon className=\"KUI-Button_start-icon\">\n {startIcon}\n </StyledStartIcon>\n )}\n\n {withoutChildrenWrapper ? (\n children\n ) : (\n <Caption\n size={captionSize}\n weight={captionWeight}\n className=\"KUI-Button-text\"\n >\n {children}\n </Caption>\n )}\n\n {endIcon && (\n <StyledEndIcon className=\"KUI-Button_end-icon\">\n {endIcon}\n </StyledEndIcon>\n )}\n </StyledContentContainer>\n )}\n </StyledButton>\n )\n})\n\nButton.defaultProps = {\n variant: \"primary\",\n size: \"m\",\n fullWidth: false,\n endIcon: null,\n startIcon: null,\n disabled: false,\n isCircle: false,\n captionSize: \"s\",\n border: null,\n captionWeight: 600,\n}\n\nButton.propTypes = {\n size: PropTypes.oneOf([\"xs\", \"s\", \"m\", \"l\"]),\n fullWidth: PropTypes.bool,\n endIcon: PropTypes.element,\n startIcon: PropTypes.element,\n disabled: PropTypes.bool,\n isCircle: PropTypes.bool,\n captionSize: PropTypes.oneOf([\"xs\", \"sm\", \"s\", \"m\", \"l\"]),\n border: PropTypes.oneOf([\"brand\", \"lightGray\", \"lightOrange\"]),\n}\n\nButton.displayName = \"Button\"\n\nexport default Button\n\nconst buttonVariantCSS = (variant) => css`\n background-color: ${variant.background ? variant.background : \"transparent\"};\n & .KUI-Button-text {\n ${variant.color && `color: ${variant.color}`};\n }\n svg path {\n ${variant.color && `fill: ${variant.color}`};\n }\n border: 1px solid ${variant.border ? variant.border : \"transparent\"};\n ${variant.backdrop && `backdrop-filter: ${variant.backdrop}`};\n @media (hover: hover) {\n &:hover {\n box-shadow: ${variant.withoutShadow ? \"none\" : theme.shadows.shadow1};\n ${variant.hover && `background-color: ${variant.hover}`};\n & .KUI-Button-text {\n ${variant.hoverColor && `color: ${variant.hoverColor}`};\n }\n svg path {\n ${variant.hoverColor && `fill: ${variant.hoverColor}`};\n }\n }\n &:active {\n ${variant.active && `background-color: ${variant.active}`};\n }\n }\n`\n\nconst circleButtonCSS = ({ isCircle, size }) =>\n isCircle &&\n css`\n padding: 0;\n border-radius: 50%;\n display: inline-flex;\n width: ${buttonSizes[size]}px;\n `\n\nconst buttonSettingsCSS = (props) => css`\n width: ${props.fullWidth ? \"100%\" : \"max-content\"};\n height: ${buttonSizes[props.size]}px;\n ${buttonVariantCSS(buttonVariants[props.variant])};\n ${props.border && `border-color: ${buttonBorders[props.border]}`};\n`\n\nconst StyledButton = styled.button`\n position: relative;\n border-radius: 66px;\n padding: 0 16px;\n transition: all linear 0.3s;\n width: max-content;\n text-align: center;\n cursor: pointer;\n -webkit-tap-highlight-color: rgba(0, 0, 0, 0);\n ${buttonSettingsCSS};\n ${circleButtonCSS};\n & .KUI-Button-text,\n svg path {\n transition: all linear 0.3s;\n }\n &:disabled,\n &:disabled:hover,\n &:disabled:active {\n cursor: default;\n background-color: ${theme.palette.background.light3};\n box-shadow: none;\n & .KUI-Button-text {\n color: #a6aebc;\n }\n svg path {\n fill: #a6aebc;\n }\n }\n`\n\nconst StyledCircleButtonContainer = styled.div`\n display: flex;\n justify-content: center;\n align-items: center;\n height: 100%;\n width: inherit;\n`\n\nconst iconContainerCSS = ({ withIcon }) =>\n withIcon &&\n css`\n display: flex;\n justify-content: center;\n align-items: center;\n `\n\nconst StyledContentContainer = styled.div`\n ${iconContainerCSS};\n`\n\nconst StyledStartIcon = styled.span`\n margin-right: 8px;\n display: flex;\n`\n\nconst StyledEndIcon = styled.span`\n margin-left: 8px;\n display: flex;\n`\n","import React from \"react\"\r\nimport PropTypes from \"prop-types\"\r\n\r\nconst ErrorIcon = ({ width, height }) => (\r\n <svg\r\n width={width}\r\n height={height}\r\n viewBox={`0 0 ${width} ${height}`}\r\n fill=\"none\"\r\n xmlns=\"http://www.w3.org/2000/svg\"\r\n aria-label=\"error\"\r\n >\r\n <path\r\n fillRule=\"evenodd\"\r\n clipRule=\"evenodd\"\r\n d=\"M7.99935 15.3334C12.0494 15.3334 15.3327 12.0502 15.3327 8.00008C15.3327 3.94999 12.0494 0.666748 7.99935 0.666748C3.94926 0.666748 0.666016 3.94999 0.666016 8.00008C0.666016 12.0502 3.94926 15.3334 7.99935 15.3334ZM7.99935 13.3334C10.9449 13.3334 13.3327 10.9456 13.3327 8.00008C13.3327 5.05456 10.9449 2.66675 7.99935 2.66675C5.05383 2.66675 2.66602 5.05456 2.66602 8.00008C2.66602 10.9456 5.05383 13.3334 7.99935 13.3334ZM9.52795 5.52868C9.78829 5.26833 10.2104 5.26833 10.4708 5.52868C10.7311 5.78903 10.7311 6.21114 10.4708 6.47149L8.94216 8.00008L10.4708 9.52868C10.7311 9.78903 10.7311 10.2111 10.4708 10.4715C10.2104 10.7318 9.78829 10.7318 9.52795 10.4715L7.99935 8.94289L6.47075 10.4715C6.2104 10.7318 5.78829 10.7318 5.52794 10.4715C5.2676 10.2111 5.2676 9.78903 5.52794 9.52868L7.05654 8.00008L5.52794 6.47149C5.2676 6.21114 5.2676 5.78903 5.52794 5.52868C5.78829 5.26833 6.2104 5.26833 6.47075 5.52868L7.99935 7.05727L9.52795 5.52868Z\"\r\n fill=\"#EB5757\"\r\n />\r\n </svg>\r\n)\r\n\r\nErrorIcon.defaultProps = {\r\n width: 16,\r\n height: 16,\r\n}\r\n\r\nErrorIcon.propTypes = {\r\n width: PropTypes.number,\r\n height: PropTypes.number,\r\n}\r\n\r\nexport default ErrorIcon\r\n","import React from \"react\"\r\nimport PropTypes from \"prop-types\"\r\n\r\nconst WarningIcon = ({ width, height }) => (\r\n <svg\r\n width={width}\r\n height={height}\r\n viewBox={`0 0 ${width} ${height}`}\r\n fill=\"none\"\r\n xmlns=\"http://www.w3.org/2000/svg\"\r\n aria-label=\"warning\"\r\n >\r\n <path\r\n d=\"M6.99999 0.142883C10.7871 0.142883 13.8571 3.21293 13.8571 7.00002C13.8571 10.7871 10.7871 13.8572 6.99999 13.8572C3.2129 13.8572 0.142853 10.7871 0.142853 7.00002C0.142853 3.21293 3.2129 0.142883 6.99999 0.142883ZM6.99999 1.28574C3.84408 1.28574 1.28571 3.84411 1.28571 7.00002C1.28571 10.1559 3.84408 12.7143 6.99999 12.7143C10.1559 12.7143 12.7143 10.1559 12.7143 7.00002C12.7143 3.84411 10.1559 1.28574 6.99999 1.28574ZM6.99999 9.05717C7.44182 9.05717 7.79999 9.41534 7.79999 9.85717C7.79999 10.299 7.44182 10.6572 6.99999 10.6572C6.55817 10.6572 6.2 10.299 6.2 9.85717C6.2 9.41534 6.55817 9.05717 6.99999 9.05717ZM7.04206 3.57145C7.17783 3.57145 7.26306 3.59267 7.33756 3.63251C7.41206 3.67235 7.47052 3.73082 7.51036 3.80532C7.55021 3.87982 7.57142 3.96504 7.57142 4.10081V7.61352C7.57142 7.74929 7.55021 7.83452 7.51036 7.90902C7.47052 7.98352 7.41206 8.04198 7.33756 8.08182C7.26306 8.12166 7.17783 8.14288 7.04206 8.14288H6.95793C6.82215 8.14288 6.73693 8.12166 6.66243 8.08182C6.58793 8.04198 6.52947 7.98352 6.48962 7.90902C6.44978 7.83452 6.42857 7.74929 6.42857 7.61352V4.10081C6.42857 3.96504 6.44978 3.87982 6.48962 3.80532C6.52947 3.73082 6.58793 3.67235 6.66243 3.63251C6.73693 3.59267 6.82215 3.57145 6.95793 3.57145H7.04206Z\"\r\n fill=\"#ED713C\"\r\n />\r\n </svg>\r\n)\r\n\r\nWarningIcon.defaultProps = {\r\n width: 16,\r\n height: 16,\r\n}\r\n\r\nWarningIcon.propTypes = {\r\n width: PropTypes.number,\r\n height: PropTypes.number,\r\n}\r\n\r\nexport default WarningIcon\r\n","import PropTypes from \"prop-types\"\r\nimport React from \"react\"\r\n\r\nconst SuccessIcon = ({ width, height }) => (\r\n <svg\r\n width={width}\r\n height={height}\r\n viewBox={`0 0 ${width} ${height}`}\r\n fill=\"none\"\r\n xmlns=\"http://www.w3.org/2000/svg\"\r\n aria-label=\"success\"\r\n >\r\n <path\r\n d=\"M6.99999 0.142883C10.7871 0.142883 13.8571 3.21293 13.8571 7.00002C13.8571 10.7871 10.7871 13.8572 6.99999 13.8572C3.2129 13.8572 0.142853 10.7871 0.142853 7.00002C0.142853 3.21293 3.2129 0.142883 6.99999 0.142883ZM6.99999 1.28574C3.84408 1.28574 1.28571 3.84411 1.28571 7.00002C1.28571 10.1559 3.84408 12.7143 6.99999 12.7143C10.1559 12.7143 12.7143 10.1559 12.7143 7.00002C12.7143 3.84411 10.1559 1.28574 6.99999 1.28574ZM9.45142 4.88003C9.67458 4.65687 10.0397 4.65687 10.2629 4.88003C10.486 5.10318 10.486 5.4683 10.2629 5.69145L6.2612 9.6898C6.03804 9.91296 5.67623 9.91296 5.45308 9.6898L3.45308 7.6898C3.22992 7.46664 3.22992 7.10484 3.45308 6.88168C3.67623 6.65852 4.03804 6.65852 4.2612 6.88168L5.85714 8.47762L9.45142 4.88003Z\"\r\n fill=\"#27AE60\"\r\n />\r\n </svg>\r\n)\r\n\r\nSuccessIcon.defaultProps = {\r\n width: 16,\r\n height: 16,\r\n}\r\n\r\nSuccessIcon.propTypes = {\r\n width: PropTypes.number,\r\n height: PropTypes.number,\r\n}\r\n\r\nexport default SuccessIcon\r\n","import React from \"react\"\nimport ErrorIcon from \"../../icons/ErrorIcon\"\nimport WarningIcon from \"../../icons/WarningIcon\"\nimport SuccessIcon from \"../../icons/SuccessIcon\"\nimport { theme } from \"../../theme\"\n\nconst messageVariants = {\n error: {\n background: theme.palette.red.five,\n color: theme.palette.red.fiftyP,\n icon: <ErrorIcon />,\n },\n warning: {\n background: theme.palette.purple.ten,\n color: theme.palette.purple.seventy,\n icon: <WarningIcon />,\n },\n success: {\n background: theme.palette.green.five,\n color: theme.palette.green.fiftyP,\n icon: <SuccessIcon />,\n },\n}\n\nexport default messageVariants\n","import React, { useEffect, useRef, useState } from \"react\"\nimport PropTypes from \"prop-types\"\nimport classNames from \"classnames\"\nimport styled from \"@emotion/styled\"\nimport { css } from \"@emotion/react\"\nimport Caption from \"../Caption\"\nimport messageVariants from \"./variants\"\n\nfunction InputMessage(props) {\n const { msg, variant, className, ...otherProps } = props\n const messageRef = useRef(null)\n const [messageRefHeight, setMessageRefHeight] = useState(32)\n\n useEffect(() => {\n setMessageRefHeight(messageRef?.current?.clientHeight)\n }, [messageRef?.current?.clientHeight])\n\n return (\n <StyledMessage\n ref={messageRef}\n variant={messageVariants[variant]}\n className={classNames(\n \"KUI-InputMessage\",\n `KUI-InputMessage_${variant}`,\n className\n )}\n style={{ bottom: `-${messageRefHeight}px` }}\n {...otherProps}\n >\n <StyledIconWrapper className=\"KUI-InputMessage_icon\">\n {messageVariants[variant].icon}\n </StyledIconWrapper>\n <StyledTitle className=\"KUI-InputMessage_title\" size=\"xs\" weight={600}>\n {msg}\n </StyledTitle>\n </StyledMessage>\n )\n}\n\nInputMessage.defaultProps = {\n msg: \"\",\n className: \"\",\n variant: \"error\",\n}\n\nInputMessage.propTypes = {\n msg: PropTypes.string,\n className: PropTypes.string,\n variant: PropTypes.oneOf([\"error\", \"warning\", \"success\"]),\n}\n\nexport default InputMessage\n\nconst StyledTitle = styled(Caption)`\n padding-left: 8px;\n`\n\nconst messageVariantCSS = ({ variant }) => css`\n background-color: ${variant.background};\n svg {\n path {\n fill: ${variant.color};\n }\n }\n .KUI-InputMessage_title {\n color: ${variant.color};\n }\n`\n\nconst StyledMessage = styled.div`\n z-index: 5;\n position: absolute;\n left: 0px;\n bottom: 0;\n padding: 8px 15px;\n width: 100%;\n box-sizing: border-box;\n border-radius: 0 0 8px 8px;\n display: flex;\n align-items: center;\n justify-content: flex-start;\n box-shadow: 0px 0px 1px rgba(10, 31, 68, 0.08),\n 0px 3px 4px rgba(10, 31, 68, 0.1);\n ${messageVariantCSS};\n`\n\nconst StyledIconWrapper = styled.div`\n display: flex;\n align-items: center;\n justify-content: center;\n`\n","import React from \"react\"\r\n\r\nconst TextareaGrabIcon = (props) => (\r\n <svg\r\n width=\"9\"\r\n height=\"8\"\r\n viewBox=\"0 0 9 8\"\r\n fill=\"none\"\r\n xmlns=\"http://www.w3.org/2000/svg\"\r\n {...props}\r\n >\r\n <path\r\n fillRule=\"evenodd\"\r\n clipRule=\"evenodd\"\r\n d=\"M0.21967 7.80474C0.512563 8.06509 0.987437 8.06509 1.28033 7.80474L8.78033 1.13807C9.07322 0.877722 9.07322 0.455612 8.78033 0.195262C8.48744 -0.0650874 8.01256 -0.0650874 7.71967 0.195262L0.21967 6.86193C-0.0732233 7.12228 -0.0732233 7.54439 0.21967 7.80474ZM3.96957 7.80441C4.26246 8.06476 4.73734 8.06476 5.03023 7.80441L8.78021 4.47108C9.0731 4.21073 9.0731 3.78862 8.78021 3.52827C8.48732 3.26792 8.01245 3.26792 7.71956 3.52827L3.96957 6.8616C3.67668 7.12195 3.67668 7.54406 3.96957 7.80441Z\"\r\n fill=\"#EAECEF\"\r\n />\r\n </svg>\r\n)\r\n\r\nexport default TextareaGrabIcon\r\n","import React, { forwardRef, useEffect, useRef, useState } from \"react\"\nimport PropTypes from \"prop-types\"\nimport classNames from \"classnames\"\nimport styled from \"@emotion/styled\"\nimport { css } from \"@emotion/react\"\nimport Caption from \"../Caption\"\nimport InputMessage from \"../InputMessage\"\nimport TextareaGrabIcon from \"../../icons/TextareaGrabIcon\"\nimport { theme } from \"../../theme\"\n\nconst { palette } = theme\n\nconst Input = forwardRef((props, ref) => {\n const {\n isTextArea,\n inputRef: inputRefProp,\n className,\n inputStyles,\n labelStyles,\n label,\n startIcon,\n endIcon,\n messageClassName,\n labelInlineStyles,\n message,\n messageVariant,\n value: inputValue,\n type,\n rows,\n placeholder,\n ...inputProps\n } = props\n const [isFilled, setIsFilled] = useState(false)\n const inputRef = useRef(null)\n const isInvalid = !!message && messageVariant !== \"success\"\n\n const forwardedRef = (elem) => {\n if (inputRefProp) {\n inputRefProp.current = elem\n }\n if (ref) {\n if (typeof ref === \"function\") {\n ref(elem)\n } else {\n ref.current = elem\n }\n }\n inputRef.current = elem\n }\n\n useEffect(() => {\n if (inputRef.current?.value) {\n setIsFilled(true)\n } else {\n setIsFilled(false)\n }\n }, [inputRef])\n\n useEffect(() => {\n if (!inputValue) {\n setIsFilled(false)\n } else {\n setIsFilled(true)\n }\n }, [inputValue])\n\n const handleChange = (e) => {\n if (e.target.value) {\n setIsFilled(true)\n } else {\n setIsFilled(false)\n }\n if (inputProps.onInput) {\n inputProps.onInput(e)\n }\n }\n\n const commonProps = {\n ref: forwardedRef,\n value: inputValue,\n onInput: handleChange,\n withMessage: !!message,\n messageVariant: messageVariant || \"error\",\n withLabel: !!label,\n placeholder,\n ...inputProps,\n }\n\n return (\n <StyledContainer\n className={classNames(\n \"KUI-Input_container\",\n !isTextArea && \"KUI-Input_InputContainer\",\n className\n )}\n >\n {startIcon && startIcon}\n {isTextArea ? (\n <StyledTextarea\n rows={rows}\n className={classNames(\n \"KUI-Input\",\n \"KUI-Textarea\",\n inputStyles,\n isInvalid && \"KUI-Input_invalid\"\n )}\n {...commonProps}\n />\n ) : (\n <StyledInput\n type={type}\n className={classNames(\n \"KUI-Input\",\n inputStyles,\n isInvalid && \"KUI-Input_invalid\"\n )}\n {...commonProps}\n />\n )}\n <StyledInputLabel\n size=\"s\"\n color=\"fiftyP\"\n active={isFilled || placeholder}\n className={classNames(\n \"KUI-Input_label\",\n isFilled && \"KUI-Input_label-active\",\n labelStyles\n )}\n style={labelInlineStyles}\n >\n {label}\n </StyledInputLabel>\n {isTextArea && <StyledTextareaIcon className=\"KUI-Textarea_icon\" />}\n {endIcon && endIcon}\n {!!message && (\n <InputMessage\n variant={messageVariant || \"error\"}\n msg={message}\n className={messageClassName}\n />\n )}\n </StyledContainer>\n )\n})\n\nInput.defaultProps = {\n disabled: false,\n isTextArea: false,\n label: \"\",\n rows: 4,\n type: \"text\",\n}\n\nInput.propTypes = {\n disabled: PropTypes.bool,\n isTextArea: PropTypes.bool,\n label: PropTypes.string,\n message: PropTypes.string,\n rows: PropTypes.number,\n type: PropTypes.oneOf([\n \"text\",\n \"number\",\n \"password\",\n \"phone\",\n \"email\",\n \"phone\",\n ]),\n}\n\nInput.displayName = \"Input\"\n\nexport default Input\n\nconst StyledContainer = styled.div`\n position: relative;\n &.KUI-Input_InputContainer {\n height: 56px;\n }\n`\n\nconst StyledTextareaIcon = styled(TextareaGrabIcon)`\n display: block;\n width: 9px;\n height: 8px;\n position: absolute;\n right: 4px;\n bottom: calc(15% * (14 / 16) + 8px);\n pointer-events: none;\n cursor: none;\n`\n\nconst labelActiveCSS = css`\n font-size: 12px;\n top: 10px;\n`\n\nconst StyledInputLabel = styled(Caption)`\n position: absolute;\n top: 19px;\n left: 16px;\n transition: top ease-out 0.2s, font-size ease-out 0.2s;\n user-select: none;\n pointer-events: none;\n ${({ active }) => active && labelActiveCSS};\n`\n\nconst inputStates = {\n error: palette.red.fiftyP,\n warning: palette.purple.seventy,\n success: palette.green.fiftyP,\n}\n\nconst inputStateCSS = (messageVariant) => css`\n border-radius: 8px 8px 0px 0px;\n border-color: ${inputStates[messageVariant]} !important;\n color: ${inputStates[messageVariant]};\n`\n\nconst inputCSS = ({ withMessage, messageVariant, withLabel }) => css`\n box-sizing: border-box;\n border: 1.5px solid ${palette.grey.fifteenB};\n border-radius: 8px;\n background-color: ${palette.grey.zero};\n caret-color: ${palette.brand.main};\n color: ${palette.grey.seventy};\n font-weight: 500;\n padding: ${withLabel ? \"27px 8px 10px 17px\" : \"16px 8px 16px 17px\"};\n font-family: \"Inter\", sans-serif;\n -moz-appearance: textfield;\n -webkit-tap-highlight-color: rgba(0, 0, 0, 0);\n font-size: 16px;\n transform: scale(calc(14 / 16));\n transform-origin: left top;\n width: calc(100% * (16 / 14));\n margin-right: -14%;\n &:-webkit-autofill {\n box-shadow: inset 0 0 0 1000px #fff;\n }\n &::-webkit-outer-spin-button {\n -webkit-appearance: none;\n }\n &::-webkit-inner-spin-button {\n -webkit-appearance: none;\n }\n &:focus {\n outline: none;\n border-color: ${palette.brand.main};\n & + .KUI-Input_label {\n ${labelActiveCSS}\n }\n }\n ${withMessage && inputStateCSS(messageVariant)};\n &:disabled {\n background-color: ${palette.background.light1};\n }\n`\n\nconst StyledInput = styled.input`\n height: 64px;\n ${inputCSS};\n`\n\nconst StyledTextarea = styled.textarea`\n resize: vertical;\n max-height: 168px;\n min-height: 64px;\n height: auto;\n &::-webkit-resizer {\n display: none;\n }\n ${inputCSS};\n`\n","import React, { forwardRef, useEffect, useRef, useState } from \"react\"\nimport classNames from \"classnames\"\nimport PropTypes from \"prop-types\"\nimport styled from \"@emotion/styled\"\nimport { css } from \"@emotion/react\"\nimport Input from \"../Input\"\nimport Caption from \"../Caption\"\n\nconst InputWithAdornments = forwardRef((props, ref) => {\n const { cornerLabel, startIcon, endIcon, ...inputProps } = props\n\n const startIconRef = useRef(null)\n const endIconRef = useRef(null)\n const [startIconWidth, setStartIconWidth] = useState(0)\n const [endIconWidth, setEndIconWidth] = useState(0)\n\n const inputStyle = {\n paddingLeft: startIconWidth > 0 ? (startIconWidth + 20) * (16 / 14) : 16,\n paddingRight: endIconWidth > 0 ? endIconWidth + 24 : 8,\n }\n\n const labelStyle = {\n left: startIconWidth > 0 ? startIconWidth + 22 : 16,\n }\n\n useEffect(() => {\n setStartIconWidth(startIconRef?.current?.clientWidth)\n }, [startIconRef?.current?.clientWidth])\n\n useEffect(() => {\n setEndIconWidth(endIconRef?.current?.clientWidth)\n }, [endIconRef?.current?.clientWidth])\n\n return (\n <Input\n ref={ref}\n startIcon={\n startIcon && (\n <StyledStartIcon\n ref={startIconRef}\n className=\"KUI-InputAdornment_start-icon\"\n >\n {startIcon}\n </StyledStartIcon>\n )\n }\n endIcon={\n (endIcon || cornerLabel) && (\n <StyledEndIcon\n ref={endIconRef}\n isCornerLabel={!!cornerLabel}\n className={classNames(\n \"KUI-InputAdornment_end-icon\",\n cornerLabel && \"KUI-InputAdornment_corner-label\"\n )}\n >\n {cornerLabel ? (\n <Caption size=\"s\" weight={500} color=\"fiftyP\">\n {cornerLabel}\n </Caption>\n ) : (\n endIcon\n )}\n </StyledEndIcon>\n )\n }\n style={inputStyle}\n labelInlineStyles={labelStyle}\n {...inputProps}\n />\n )\n})\n\nInputWithAdornments.defaultProps = {\n cornerLabel: null,\n startIcon: null,\n endIcon: null,\n}\n\nInputWithAdornments.propTypes = {\n label: PropTypes.string,\n errorMessage: PropTypes.string,\n cornerLabel: PropTypes.string,\n disabled: PropTypes.bool,\n startIcon: PropTypes.element,\n endIcon: PropTypes.element,\n type: PropTypes.oneOf([\"text\", \"number\", \"password\"]),\n}\n\nInputWithAdornments.displayName = \"InputWithAdornments\"\n\nexport default InputWithAdornments\n\nconst cornerLabelCSS = css`\n align-items: flex-end;\n bottom: 12px;\n right: 12px;\n`\n\nconst StyledIcon = styled.div`\n position: absolute;\n top: 8px;\n bottom: 8px;\n display: flex;\n align-items: center;\n z-index: 1;\n`\n\nconst StyledStartIcon = styled(StyledIcon)`\n left: 8px;\n`\n\nconst StyledEndIcon = styled(StyledIcon)`\n right: 8px;\n z-index: 0;\n ${({ isCornerLabel }) => isCornerLabel && cornerLabelCSS};\n`\n","import InputMask from \"react-input-mask\"\nimport React, { forwardRef, useEffect, useState } from \"react\"\nimport PropTypes from \"prop-types\"\nimport InputWithAdornments from \"../InputWithAdornments\"\n\nconst InputWithMask = forwardRef((props, ref) => {\n const { mask, value: valueProp, onChange, onBlur, disabled, ...other } = props\n const [value, setValue] = useState(valueProp)\n\n const handleChange = (e) => {\n if (e.target.value?.match(/[0-9]/)) {\n setValue(e.target.value)\n } else {\n setValue(\"\")\n }\n if (onChange) {\n onChange(e)\n }\n }\n\n useEffect(() => {\n setValue(valueProp)\n }, [valueProp])\n\n return (\n <InputMask\n maskPlaceholder={null}\n mask={mask}\n alwaysShowMask={false}\n disabled={disabled}\n onChange={handleChange}\n onBlur={onBlur}\n value={value}\n >\n {() => (\n <InputWithAdornments\n disabled={disabled}\n value={value}\n ref={ref}\n {...other}\n />\n )}\n </InputMask>\n )\n})\n\nInputWithMask.displayName = \"InputWithMask\"\n\nInputWithMask.propTypes = {\n label: PropTypes.string,\n errorMessage: PropTypes.string,\n cornerLabel: PropTypes.string,\n disabled: PropTypes.bool,\n startIcon: PropTypes.element,\n endIcon: PropTypes.element,\n mask: PropTypes.string,\n}\n\nexport default InputWithMask\n","import React, { useMemo } from \"react\"\nimport styled from \"@emotion/styled\"\nimport { theme } from \"../../../../theme\"\n\nconst { palette } = theme\n\nfunction CountryItem({ item, selectCountryIndex }) {\n const countryIcon = useMemo(\n () =>\n item.nameCode\n .toUpperCase()\n .replace(/./g, (char) =>\n String.fromCodePoint(char.charCodeAt(0) + 127397)\n ),\n [item.nameCode]\n )\n\n const handleClick = () => {\n selectCountryIndex(item)\n }\n\n return (\n <StyledCountry className=\"KUI-Country\" onClick={handleClick}>\n <StyledTitle className=\"KUI-Country_title\">\n <StyledIcon className=\"KUI-Country_icon\">{countryIcon}</StyledIcon>\n <StyledCountryName className=\"KUI-Country_name\">\n {item.nameRus}\n </StyledCountryName>\n </StyledTitle>\n <div>\n <StyledCountryPhone className=\"KUI-Country_phone\">\n +{item.phoneCode}\n </StyledCountryPhone>\n </div>\n </StyledCountry>\n )\n}\n\nexport default CountryItem\n\nconst StyledCountry = styled.div`\n border-radius: 12px;\n width: 100%;\n display: flex;\n justify-content: space-between;\n align-items: center;\n padding: 8px 11px;\n cursor: pointer;\n box-sizing: border-box;\n &:hover {\n background-color: ${palette.background.light2};\n }\n`\n\nconst StyledTitle = styled.div`\n display: flex;\n align-items: center;\n`\n\nconst StyledIcon = styled.span`\n padding-bottom: 1px;\n width: 28px;\n`\n\nconst StyledCountryName = styled.p`\n font-family: \"Inter\", sans-serif;\n letter-spacing: normal;\n margin: 0;\n padding-top: 3px;\n font-size: 14px;\n line-height: 18px;\n font-weight: 600;\n`\n\nconst StyledCountryPhone = styled.p`\n font-family: \"Inter\", sans-serif;\n letter-spacing: normal;\n margin: 0;\n font-size: 12px;\n line-height: 14px;\n font-weight: 500;\n color: ${palette.grey.fiftyP};\n`\n","import React from \"react\"\r\nimport PropTypes from \"prop-types\"\r\n\r\nconst SearchIcon = ({ width, height }) => (\r\n <svg\r\n width={width}\r\n height={height}\r\n viewBox={`0 0 ${width} ${height}`}\r\n fill=\"none\"\r\n xmlns=\"http://www.w3.org/2000/svg\"\r\n >\r\n <path\r\n d=\"M5.15016 0.333008C7.81034 0.333008 9.96683 2.4895 9.96683 5.14967C9.96683 6.27563 9.58049 7.31135 8.93313 8.13151L11.5009 10.699C11.7222 10.9203 11.7222 11.2791 11.5009 11.5004C11.2796 11.7217 10.9208 11.7217 10.6995 11.5004L8.132 8.93264C7.31184 9.58 6.27612 9.96634 5.15016 9.96634C2.48999 9.96634 0.333496 7.80985 0.333496 5.14967C0.333496 2.4895 2.48999 0.333008 5.15016 0.333008ZM5.15016 1.46634C3.11591 1.46634 1.46683 3.11543 1.46683 5.14967C1.46683 7.18392 3.11591 8.83301 5.15016 8.83301C7.18441 8.83301 8.8335 7.18392 8.8335 5.14967C8.8335 3.11543 7.18441 1.46634 5.15016 1.46634Z\"\r\n fill=\"#7F8285\"\r\n />\r\n </svg>\r\n)\r\n\r\nSearchIcon.defaultProps = {\r\n width: 12,\r\n height: 12,\r\n}\r\n\r\nSearchIcon.propTypes = {\r\n width: PropTypes.number,\r\n height: PropTypes.number,\r\n}\r\n\r\nexport default SearchIcon\r\n","import React, { useEffect, useRef, useState } from \"react\"\nimport classNames from \"classnames\"\nimport styled from \"@emotion/styled\"\nimport countries from \"../../../utils/countries.json\"\nimport CountryItem from \"./CountryItem\"\nimport SearchIcon from \"../../../icons/SearchIcon\"\nimport { theme } from \"../../../theme\"\n\nconst { palette } = theme\n\nfunction Dropdown({\n isOpen,\n selectCountryIndex,\n setIsOpenDropDown,\n buttonRef,\n}) {\n const [filteredCountries, setFilteredCountries] = useState(countries)\n const dropdownRef = useRef()\n\n const closePopUp = (e) => {\n if (dropdownRef.current && buttonRef.current) {\n if (\n !dropdownRef.current.contains(e.target) &&\n !buttonRef.current.contains(e.target)\n ) {\n setIsOpenDropDown(false)\n }\n }\n }\n\n useEffect(() => {\n document.addEventListener(\"click\", closePopUp)\n return () => {\n document.removeEventListener(\"click\", closePopUp)\n }\n }, [])\n\n if (!isOpen) {\n return null\n }\n\n const filterCountries = (e) => {\n const query = e.target.value\n\n if (query.length > 0) {\n setFilteredCountries(\n countries.filter(\n (item) =>\n item.nameRus.toLowerCase().indexOf(query.toLowerCase()) !== -1\n )\n )\n } else {\n setFilteredCountries(countries)\n }\n }\n\n return (\n <StyledContainer\n isOpen={isOpen}\n className={classNames(\n \"KUI-DropdownContainer\",\n isOpen && \"KUI-Dropdown_open\"\n )}\n ref={dropdownRef}\n >\n <StyledSearchWrapper className=\"KUI-SearchWrapper\">\n <StyledSearch className=\"KUI-Search\">\n <StyledSearchInput\n type=\"text\"\n placeholder=\"Поиск...\"\n onChange={filterCountries}\n className=\"KUI-SearchInput\"\n />\n <span>\n <SearchIcon />\n </span>\n </StyledSearch>\n </StyledSearchWrapper>\n <StyledDropdown className=\"KUI-Dropdown\">\n {filteredCountries.map((item, key) => (\n <CountryItem\n key={key}\n item={item}\n selectCountryIndex={selectCountryIndex}\n />\n ))}\n </StyledDropdown>\n </StyledContainer>\n )\n}\n\nexport default Dropdown\n\nconst StyledContainer = styled.div`\n width: 100%;\n max-height: 275px;\n display: ${({ isOpen }) => (isOpen ? \"block\" : \"none\")};\n position: absolute;\n background-color: ${palette.grey.zero};\n z-index: 100;\n border: 1px solid ${palette.grey.fifteenB};\n top: 64px;\n box-shadow: ${theme.shadows.shadow4};\n border-radius: 8px;\n overflow: auto;\n -ms-overflow-style: none;\n scrollbar-width: none;\n overflow-y: scroll;\n user-select: none;\n &::-webkit-scrollbar {\n width: 0;\n }\n`\n\nconst StyledSearchWrapper = styled.div`\n padding: 8px;\n position: sticky;\n top: 0;\n background-color: ${palette.grey.zero};\n border-radius: 8px;\n`\n\nconst StyledSearch = styled.div`\n display: flex;\n justify-content: space-between;\n align-items: center;\n height: 40px;\n background-color: ${palette.background.light2};\n padding: 0 12px;\n border-radius: 8px;\n`\n\nconst StyledSearchInput = styled.input`\n border: none;\n width: calc(100% - 18px);\n background-color: transparent;\n height: 100%;\n outline: none;\n`\n\nconst StyledDropdown = styled.div`\n width: 100%;\n padding: 0 8px;\n box-sizing: border-box;\n`\n","import React from \"react\"\r\nimport PropTypes from \"prop-types\"\r\n\r\nconst HalfArrowIcon = ({ width, height }) => (\r\n <svg\r\n width={width}\r\n height={height}\r\n viewBox={`0 0 ${width} ${height}`}\r\n fill=\"none\"\r\n xmlns=\"http://www.w3.org/2000/svg\"\r\n >\r\n <path\r\n fillRule=\"evenodd\"\r\n clipRule=\"evenodd\"\r\n d=\"M6.86193 0.195262L4 3.05719L1.13807 0.195262C0.877722 -0.0650874 0.455612 -0.0650874 0.195262 0.195262C-0.0650874 0.455612 -0.0650874 0.877722 0.195262 1.13807L3.5286 4.4714C3.78895 4.73175 4.21105 4.73175 4.4714 4.4714L7.80474 1.13807C8.06509 0.877722 8.06509 0.455612 7.80474 0.195262C7.54439 -0.0650874 7.12228 -0.0650874 6.86193 0.195262Z\"\r\n fill=\"#8A94A6\"\r\n />\r\n </svg>\r\n)\r\n\r\nHalfArrowIcon.defaultProps = {\r\n width: 8,\r\n height: 5,\r\n}\r\n\r\nHalfArrowIcon.propTypes = {\r\n width: PropTypes.number,\r\n height: PropTypes.number,\r\n}\r\n\r\nexport default HalfArrowIcon\r\n","import React, { forwardRef, useRef, useState } from \"react\"\nimport PropTypes from \"prop-types\"\nimport styled from \"@emotion/styled\"\nimport InputWithMask from \"../InputWithMask\"\nimport countries from \"../../utils/countries.json\"\nimport Caption from \"../Caption\"\nimport Dropdown from \"./Dropdown\"\nimport HalfArrowIcon from \"../../icons/HalfArrowIcon\"\nimport { theme } from \"../../theme\"\n\nconst { palette } = theme\n\nconst InputWithCountryDropdown = forwardRef(\n ({ onSelectCountry, hiddenInputProps, ...inputProps }, ref) => {\n const selectedCountryCode = hiddenInputProps?.value\n ? String(hiddenInputProps.value)\n : \"7\"\n const selectedCountryIndex = countries.findIndex(\n (country) => country.phoneCode === selectedCountryCode\n )\n const [selectedCountry, setSelectedCountry] = useState(\n selectedCountryIndex < 0 ? 168 : selectedCountryIndex\n )\n const [isOpenDropdown, setIsOpenDropDown] = useState(false)\n const buttonRef = useRef()\n\n const selectCountryIndex = (item) => {\n setSelectedCountry(\n countries.reduce(\n (acc, country, index) => (country.name === item.name ? index : acc),\n 0\n )\n )\n setIsOpenDropDown(false)\n if (onSelectCountry) {\n onSelectCountry(item)\n }\n }\n\n const handleClick = () => {\n setIsOpenDropDown(!isOpenDropdown)\n }\n\n return (\n <StyledDropdownWrapper className=\"KUI-InputDropdown_wrapper\">\n <InputWithMask\n ref={ref}\n label=\"Номер телефона\"\n mask={countries[selectedCountry].mask}\n startIcon={\n <StyledPhoneCodeButton\n type=\"button\"\n className=\"KUI-InputDropdown_button-phone-code\"\n onClick={handleClick}\n ref={buttonRef}\n >\n <Caption size=\"s\" weight={500}>\n +{countries[selectedCountry].phoneCode}\n </Caption>\n <StyledPhoneCodeIcon isReverse={isOpenDropdown}>\n <HalfArrowIcon />\n </StyledPhoneCodeIcon>\n </StyledPhoneCodeButton>\n }\n {...inputProps}\n />\n <Dropdown\n isOpen={isOpenDropdown}\n selectCountryIndex={selectCountryIndex}\n setIsOpenDropDown={setIsOpenDropDown}\n buttonRef={buttonRef}\n />\n <input\n style={{ display: \"none\" }}\n readOnly\n aria-label=\"phone_code\"\n {...hiddenInputProps}\n value={countries[selectedCountry].phoneCode}\n />\n </StyledDropdownWrapper>\n )\n }\n)\n\nInputWithCountryDropdown.displayName = \"InputWithCountryDropdown\"\n\nInputWithCountryDropdown.propTypes = {\n label: PropTypes.string,\n errorMessage: PropTypes.string,\n disabled: PropTypes.bool,\n}\n\nexport default InputWithCountryDropdown\n\nconst StyledDropdownWrapper = styled.div`\n position: relative;\n`\n\nconst StyledPhoneCodeButton = styled.button`\n display: flex;\n justify-content: space-between;\n align-items: center;\n width: 80px;\n height: 40px;\n box-sizing: border-box;\n background: ${palette.background.light2};\n border-radius: 8px;\n border: none;\n margin: 0;\n box-shadow: none;\n cursor: pointer;\n padding: 8px 14px 8px;\n -webkit-tap-highlight-color: rgba(0, 0, 0, 0);\n user-select: none;\n`\n\nconst StyledPhoneCodeIcon = styled.span`\n display: flex;\n justify-content: center;\n align-items: center;\n svg {\n transition: all linear 0.2s;\n transform: ${({ isReverse }) => (isReverse ? \"rotate(180deg)\" : \"none\")};\n }\n`\n","import React, { forwardRef } from \"react\"\nimport PropTypes from \"prop-types\"\nimport classNames from \"classnames\"\nimport styled from \"@emotion/styled\"\nimport { css } from \"@emotion/react\"\nimport { theme } from \"../../theme\"\n\nconst palette = theme.palette\n\nconst Checkbox = forwardRef((props, ref) => {\n const { className, label, error, inputRef, ...checkboxProps } = props\n\n return (\n <StyledLabel\n htmlFor={`KUI-checkbox_${checkboxProps.name}`}\n className=\"KUI-Checkbox_label\"\n >\n <StyledCheckbox\n id={`KUI-checkbox_${checkboxProps.name}`}\n ref={inputRef}\n type=\"checkbox\"\n className=\"KUI-Checkbox\"\n {...checkboxProps}\n />\n <StyledCustomCheckbox\n error={!!error}\n className={classNames(\n \"KUI-Checkbox_custom\",\n className,\n !!error && \"KUI-Checkbox_error\"\n )}\n />\n {!!label && (\n <StyledCheckboxLabel className=\"KUI-Label_checkbox\">\n {label}\n </StyledCheckboxLabel>\n )}\n </StyledLabel>\n )\n})\n\nCheckbox.defaultProps = {\n label: \"\",\n}\n\nCheckbox.propTypes = {\n label: PropTypes.any,\n error: PropTypes.bool,\n disabled: PropTypes.bool,\n}\n\nCheckbox.displayName = \"Checkbox\"\n\nexport default Checkbox\n\nconst errorCSS = ({ error }) =>\n error &&\n css`\n border-color: ${palette.red.fiftyP};\n `\n\nconst StyledCustomCheckbox = styled.span`\n border-radius: 6px;\n padding: 1px;\n width: 20px;\n height: 20px;\n box-sizing: border-box;\n border: 1px solid ${palette.grey.fifteenB};\n transition: all linear 0.3s;\n -webkit-tap-highlight-color: rgba(0, 0, 0, 0);\n ${errorCSS};\n &:before {\n content: \"\";\n display: block;\n width: 16px;\n height: 16px;\n border-radius: 4px;\n background-color: ${palette.grey.zero};\n transition: all linear 0.2s;\n }\n`\n\nconst StyledCheckbox = styled.input`\n opacity: 0;\n position: absolute;\n top: 0;\n left: 0;\n width: 16px;\n height: 16px;\n cursor: pointer;\n &:checked + .KUI-Checkbox_custom:before {\n background-color: ${palette.brand.main};\n background-image: url('data:image/svg+xml;charset=utf-8,%3Csvg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 16 16\"%3E%3Cpath fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M12 5c-.28 0-.53.11-.71.29L7 9.59l-2.29-2.3a1.003 1.003 0 00-1.42 1.42l3 3c.18.18.43.29.71.29s.53-.11.71-.29l5-5A1.003 1.003 0 0012 5z\" fill=\"%23fff\"/%3E%3C/svg%3E');\n }\n &:disabled + .KUI-Checkbox_custom {\n background-color: ${palette.background.light2};\n border-color: ${palette.background.light2};\n &:before {\n background-color: ${palette.background.light2};\n }\n }\n &:disabled:checked + .KUI-Checkbox_custom:before {\n background-color: ${palette.grey.fifteenB};\n }\n`\n\nconst StyledLabel = styled.label`\n display: inline-flex;\n align-items: center;\n cursor: pointer;\n position: relative;\n &:hover {\n .KUI-Checkbox:not(:disabled):not(:checked) + .KUI-Checkbox_custom {\n border-color: ${palette.brand.main};\n }\n .KUI-Checkbox:not(:disabled):checked + .KUI-Checkbox_custom {\n border-color: ${palette.brand.light};\n }\n }\n`\n\nconst StyledCheckboxLabel = styled.span`\n margin-left: 14px;\n`\n","import React from \"react\"\nimport PropTypes from \"prop-types\"\n\nconst CloseIcon = ({ width, height }) => (\n <svg\n width={width}\n height={height}\n viewBox=\"0 0 26 26\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <path\n d=\"M6.93909 6.93909C7.27382 6.60435 7.81654 6.60435 8.15127 6.93909L13 11.7878L17.8487 6.93909C18.1835 6.60435 18.7262 6.60435 19.0609 6.93909C19.3957 7.27382 19.3957 7.81653 19.0609 8.15127L14.2122 13L19.0609 17.8487C19.3957 18.1835 19.3957 18.7262 19.0609 19.0609C18.7262 19.3956 18.1835 19.3956 17.8487 19.0609L13 14.2122L8.15127 19.0609C7.81654 19.3956 7.27382 19.3956 6.93909 19.0609C6.60435 18.7262 6.60435 18.1835 6.93909 17.8487L11.7878 13L6.93909 8.15127C6.60435 7.81653 6.60435 7.27382 6.93909 6.93909Z\"\n fill=\"#7F8285\"\n />\n </svg>\n)\n\nCloseIcon.defaultProps = {\n width: 26,\n height: 26,\n}\n\nCloseIcon.propTypes = {\n width: PropTypes.number,\n height: PropTypes.number,\n}\n\nexport default CloseIcon\n","import React, { useEffect, useRef } from \"react\"\nimport classNames from \"classnames\"\nimport PropTypes from \"prop-types\"\nimport styled from \"@emotion/styled\"\nimport { css, Global } from \"@emotion/react\"\nimport { createPortal } from \"react-dom\"\nimport Heading from \"../Heading\"\nimport CloseIcon from \"../../icons/CloseIcon\"\nimport { theme } from \"../../theme\"\nimport Caption from \"../Caption\"\nimport Button from \"../Button\"\n\nconst { breakpoints, palette } = theme\n\nfunction Modal(props) {\n const {\n isOpen,\n handleClose,\n isScrollable,\n title,\n description,\n children,\n isHasHeader,\n className,\n size,\n icon,\n ...otherProps\n } = props\n const modalRef = useRef(null)\n\n useEffect(() => {\n if (isOpen) {\n document.body.classList.add(\"KUI-Modal_body\")\n } else {\n document.body.classList.remove(\"KUI-Modal_body\")\n }\n }, [isOpen])\n\n useEffect(\n () => () => {\n document.body.classList.remove(\"KUI-Modal_body\")\n },\n []\n )\n\n const closeModal = (e) => {\n if (modalRef.current && !modalRef.current.contains(e.target)) {\n handleClose()\n }\n }\n\n if (!isOpen) {\n return null\n }\n\n return createPortal(\n <StyledContainer\n className=\"KUI-Modal_container\"\n onClick={closeModal}\n {...otherProps}\n >\n <Global\n styles={css`\n .KUI-Modal_body {\n overflow: hidden;\n padding-right: 17px;\n }\n `}\n />\n <StyledModal\n ref={modalRef}\n isOpen={isOpen}\n size={size}\n className={classNames(\n \"KUI-Modal\",\n isOpen && \"KUI-Modal_open\",\n isScrollable && \"KUI-Modal_scrollable\",\n className\n )}\n >\n <StyledHeaderWrapper className=\"KUI-Modal_header\">\n {title && (\n <StyledModalTitle className=\"KUI-Modal_title\">\n {title}\n </StyledModalTitle>\n )}\n {description && (\n <StyledDescriptionWrapper>\n <StyledDescription size=\"s\" color=\"fiftyP\">\n {description}\n </StyledDescription>\n </StyledDescriptionWrapper>\n )}\n <StyledHeadingIconsWrapper>\n <div>{icon}</div>\n <Button\n className=\"KUI-Modal_close-button\"\n isCircle\n size=\"xxs\"\n variant=\"transparent\"\n onClick={handleClose}\n >\n <CloseIcon />\n </Button>\n </StyledHeadingIconsWrapper>\n </StyledHeaderWrapper>\n {children}\n </StyledModal>\n </StyledContainer>,\n document.body\n )\n}\n\nModal.defaultProps = {\n isOpen: false,\n handleClose: null,\n title: \"\",\n size: \"small\",\n}\n\nModal.propTypes = {\n isOpen: PropTypes.bool,\n handleClose: PropTypes.func,\n title: PropTypes.string,\n size: PropTypes.oneOf([\"small\", \"large\"]),\n}\n\nexport default Modal\n\nconst StyledContainer = styled.div`\n position: fixed;\n top: 0;\n left: 0;\n width: 100vw;\n height: 100vh;\n background: rgba(0, 0, 0, 0.5);\n backdrop-filter: blur(4px);\n z-index: 1500;\n display: flex;\n justify-content: center;\n align-items: center;\n transition: all linear 0.2s;\n`\n\nconst StyledModal = styled.div`\n border-radius: 12px;\n overflow: visible;\n overflow-y: visible;\n box-shadow: 0px 11px 15px -7px rgb(0 0 0 / 20%),\n 0px 24px 38px 3px rgb(0 0 0 / 14%), 0px 9px 46px 8px rgb(0 0 0 / 12%);\n -ms-overflow-style: none;\n scrollbar-width: none;\n background-color: ${palette.grey.zero};\n -webkit-tap-highlight-color: rgba(0, 0, 0, 0);\n max-height: 720px;\n width: ${({ size }) => (size === \"small\" ? 480 : 720)}px;\n display: ${({ isOpen }) => (isOpen ? \"block\" : \"none\")};\n &::-webkit-scrollbar {\n width: 0;\n }\n @media (max-width: 720px) {\n max-height: 90vh;\n }\n @media (max-width: ${breakpoints.xs}px) {\n position: absolute;\n bottom: 0;\n width: 100vw;\n border-radius: 12px 12px 0 0;\n }\n .KUI-Modal_scrollable {\n overflow: auto;\n overflow-y: auto;\n }\n`\n\nconst StyledHeaderWrapper = styled.div`\n top: 0;\n width: 100%;\n background: ${theme.palette.grey.zero};\n z-index: 5;\n border-radius: 12px 12px 0 0;\n position: sticky;\n box-sizing: border-box;\n text-align: center;\n @media (max-width: 600px) {\n padding: 0 16px;\n }\n`\n\nconst StyledModalTitle = styled(Heading)`\n font-weight: 700;\n padding: 36px 40px 8px;\n @media (max-width: 661px) {\n padding: 40px 24px 13px;\n font-size: 18px;\n line-height: 24px;\n }\n`\n\nconst StyledDescriptionWrapper = styled.div`\n padding: 0 40px;\n @media (max-width: 900px) {\n padding: 0 24px;\n }\n`\n\nconst StyledDescription = styled(Caption)`\n @media (max-width: 600px) {\n font-size: 13px;\n line-height: 20px;\n }\n`\n\nconst StyledHeadingIconsWrapper = styled.div`\n position: absolute;\n top: 0;\n left: 0;\n cursor: pointer;\n padding: 16px;\n z-index: 5;\n width: 100%;\n display: flex;\n justify-content: space-between;\n align-items: center;\n box-sizing: border-box;\n`\n","const switchVariants = {\r\n s: {\r\n width: 40,\r\n height: 22,\r\n before: 14,\r\n },\r\n m: {\r\n width: 36,\r\n height: 26,\r\n before: 18,\r\n },\r\n l: {\r\n width: 56,\r\n height: 34,\r\n before: 26,\r\n },\r\n}\r\n\r\nexport default switchVariants\r\n","import React, { forwardRef } from \"react\"\nimport PropTypes from \"prop-types\"\nimport classNames from \"classnames\"\nimport styled from \"@emotion/styled\"\nimport { css } from \"@emotion/react\"\nimport { theme } from \"../../theme\"\nimport switchVariants from \"./variants\"\n\nconst { palette } = theme\n\nconst Switch = forwardRef((props, ref) => {\n const { size, className, label, error, inputRef, ...switchProps } = props\n\n return (\n <StyledLabel className=\"KUI-Switch_label\">\n <StyledSwitch\n variant={switchVariants[size]}\n ref={inputRef}\n type=\"checkbox\"\n className=\"KUI-Switch\"\n {...switchProps}\n />\n <StyledCustomSwitch\n variant={switchVariants[size]}\n error={!!error}\n className={classNames(\n \"KUI-Switch_custom\",\n !!error && \"KUI-Switch_error\"\n )}\n />\n {!!label && (\n <StyledSwitchLabel className=\"KUI-Label_switch\">\n {label}\n </StyledSwitchLabel>\n )}\n </StyledLabel>\n )\n})\n\nSwitch.defaultProps = {\n label: \"\",\n className: \"\",\n name: \"check\",\n size: \"s\",\n}\n\nSwitch.propTypes = {\n label: PropTypes.string,\n size: PropTypes.oneOf([\"s\", \"m\", \"l\"]),\n disabled: PropTypes.bool,\n error: PropTypes.bool,\n}\n\nSwitch.displayName = \"Switch\"\n\nexport default Switch\n\nconst switchVariantCSS = ({ variant }) => css`\n width: ${variant.width}px;\n height: ${variant.height}px;\n &::before {\n width: ${variant.before}px;\n }\n`\n\nconst switchErrorCSS = ({ error }) =>\n error &&\n css`\n border-color: ${palette.red.fiftyP};\n background-color: ${palette.red.five};\n `\n\nconst StyledCustomSwitch = styled.span`\n background: #c9ced6;\n border-radius: 24px;\n padding: 3px;\n box-sizing: border-box;\n border: 1px solid transparent;\n transition: all linear 0.3s;\n display: flex;\n -webkit-tap-highlight-color: rgba(0, 0, 0, 0);\n &:before {\n content: \"\";\n background: ${palette.grey.zero};\n border-radius: 50%;\n height: 100%;\n transition: all ease-out 0.3s;\n margin-left: 0;\n }\n ${switchVariantCSS};\n ${switchErrorCSS};\n`\n\nconst StyledSwitch = styled.input`\n opacity: 0;\n position: absolute;\n z-index: -1;\n &:checked + .KUI-Switch_custom {\n background-color: ${palette.brand.main};\n &:before {\n margin-left: calc(100% - ${({ variant }) => `${variant.before}px`});\n }\n }\n &:disabled + .KUI-Switch_custom {\n background-color: ${palette.grey.zero};\n border-color: ${palette.grey.fifteenB};\n &:before {\n background-color: ${palette.grey.fifteenB};\n }\n }\n`\n\nconst StyledLabel = styled.label`\n display: inline-flex;\n align-items: center;\n cursor: pointer;\n`\n\nconst StyledSwitchLabel = styled.span`\n margin-left: 14px;\n`\n","import React, { forwardRef } from \"react\"\nimport PropTypes from \"prop-types\"\nimport styled from \"@emotion/styled\"\nimport { theme } from \"../../theme\"\n\nconst { palette } = theme\n\nconst Radio = forwardRef((props, ref) => {\n const { label, value, inputRef, ...radioProps } = props\n\n return (\n <StyledLabel className=\"KUI-Radio_label\">\n <StyledRadio\n ref={inputRef}\n value={value}\n type=\"radio\"\n className=\"KUI-Radio\"\n {...radioProps}\n />\n <StyledCustomRadio className=\"KUI-Radio_custom\" />\n {!!label && (\n <StyledRadioLabel className=\"KUI-Label_radio\">{label}</StyledRadioLabel>\n )}\n </StyledLabel>\n )\n})\n\nRadio.defaultProps = {\n label: \"\",\n value: \"\",\n name: \"radio\",\n}\n\nRadio.propTypes = {\n label: PropTypes.string,\n disabled: PropTypes.bool,\n}\n\nRadio.displayName = \"Radio\"\n\nexport default Radio\n\nconst StyledCustomRadio = styled.span`\n border-radius: 50%;\n padding: 1px;\n width: 20px;\n height: 20px;\n box-sizing: border-box;\n border: 1px solid ${palette.grey.fifteenB};\n transition: all linear 0.3s;\n -webkit-tap-highlight-color: rgba(0, 0, 0, 0);\n &:before {\n content: \"\";\n display: block;\n width: 16px;\n height: 16px;\n border-radius: 50%;\n background-color: ${palette.grey.zero};\n transition: all linear 0.2s;\n }\n`\n\nconst StyledRadio = styled.input`\n opacity: 0;\n position: absolute;\n z-index: -1;\n &:checked + .KUI-Radio_custom:before {\n background-color: ${palette.brand.main};\n background-image: url('data:image/svg+xml;charset=utf-8,%3Csvg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 16 16\"%3E%3Cpath fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M12 5c-.28 0-.53.11-.71.29L7 9.59l-2.29-2.3a1.003 1.003 0 00-1.42 1.42l3 3c.18.18.43.29.71.29s.53-.11.71-.29l5-5A1.003 1.003 0 0012 5z\" fill=\"%23fff\"/%3E%3C/svg%3E');\n }\n &:disabled + .KUI-Radio_custom {\n background-color: ${palette.background.light2};\n border-color: ${palette.background.light2};\n &:before {\n background-color: ${palette.background.light2};\n }\n }\n &:disabled:checked + .KUI-Radio_custom:before {\n background-color: ${palette.grey.fifteenB};\n }\n`\n\nconst StyledLabel = styled.label`\n display: flex;\n align-items: center;\n cursor: pointer;\n &:hover {\n .KUI-Radio:not(:disabled):not(:checked) + .KUI-Radio_custom {\n border-color: ${palette.brand.main};\n }\n .KUI-Radio:not(:disabled):checked + .KUI-Radio_custom {\n border-color: ${palette.brand.light};\n }\n }\n`\n\nconst StyledRadioLabel = styled.span`\n margin-left: 14px;\n`\n","import React from \"react\"\r\nimport PropTypes from \"prop-types\"\r\n\r\nconst FileIcon = ({ width, height }) => (\r\n <svg\r\n width={width}\r\n height={height}\r\n viewBox={`0 0 ${width} ${height}`}\r\n fill=\"none\"\r\n xmlns=\"http://www.w3.org/2000/svg\"\r\n >\r\n <path\r\n d=\"M6.10782 5.22682C6.33097 5.00366 6.69278 5.00366 6.91594 5.22682C7.13909 5.44998 7.13909 5.81179 6.91594 6.03494L4.53198 8.4189C4.20799 8.74289 4.18918 9.28829 4.53198 9.63109C4.87477 9.97388 5.42017 9.95507 5.74416 9.63109L10.1888 5.18642C11.104 4.2712 11.054 2.81907 10.1888 1.95393C9.32369 1.08879 7.87156 1.03871 6.95634 1.95393L2.51167 6.3986C1.05411 7.85616 1.08129 10.221 2.51167 11.6514C3.94205 13.0818 6.3069 13.109 7.76447 11.6514L10.1484 9.26743C10.3716 9.04427 10.7334 9.04427 10.9565 9.26743C11.1797 9.49059 11.1797 9.8524 10.9565 10.0756L8.57259 12.4595C6.6645 14.3676 3.57614 14.3321 1.70355 12.4595C-0.169037 10.5869 -0.204535 7.49856 1.70355 5.59048L6.14822 1.14581C7.52269 -0.228658 9.69748 -0.153665 10.997 1.14581C12.2964 2.44528 12.3714 4.62007 10.997 5.99454L6.55228 10.4392C5.79396 11.1975 4.5259 11.2413 3.72386 10.4392C2.92181 9.63716 2.96554 8.3691 3.72386 7.61078L6.10782 5.22682Z\"\r\n fill=\"#7F8285\"\r\n />\r\n </svg>\r\n)\r\n\r\nFileIcon.defaultProps = {\r\n width: 12,\r\n height: 14,\r\n}\r\n\r\nFileIcon.propTypes = {\r\n width: PropTypes.number,\r\n height: PropTypes.number,\r\n}\r\n\r\nexport default FileIcon\r\n","import React, { forwardRef, useState } from \"react\"\nimport classNames from \"classnames\"\nimport PropTypes from \"prop-types\"\nimport styled from \"@emotion/styled\"\nimport { css } from \"@emotion/react\"\nimport Text from \"../Text\"\nimport FileIcon from \"../../icons/FileIcon\"\nimport { theme } from \"../../theme\"\n\nconst { palette } = theme\n\nconst InputFile = forwardRef((props, ref) => {\n const { className, label, name, ...inputProps } = props\n const [value, setValue] = useState(label)\n const inputId = inputProps.id ? inputProps.id : name\n\n const setFileName = (e) => {\n if (e.target.files[0]) {\n setValue(e.target.files[0].name)\n } else {\n setValue(label)\n }\n }\n\n return (\n <StyledWrapper className={classNames(\"KUI-InputFile_wrapper\", className)}>\n <StyledInput\n type=\"file\"\n id={inputId}\n className=\"KUI-InputFile\"\n onInput={setFileName}\n {...inputProps}\n />\n <StyledLabel htmlFor={inputId} className=\"KUI-InputFile_label\">\n <StyledTitle\n active={value !== label}\n size=\"s\"\n className={classNames(\n \"KUI-InputFile_title\",\n value !== label && \"KUI-InputFile_value\"\n )}\n >\n {value}\n </StyledTitle>\n <FileIcon />\n </StyledLabel>\n </StyledWrapper>\n )\n})\n\nInputFile.displayName = \"InputFile\"\n\nInputFile.propTypes = {\n label: PropTypes.string,\n}\n\nexport default InputFile\n\nconst StyledWrapper = styled.div`\n background-color: ${palette.grey.zero};\n border: 1px solid ${palette.grey.fifteenB};\n height: 56px;\n box-sizing: border-box;\n border-radius: 8px;\n padding: 0 16px;\n -webkit-tap-highlight-color: rgba(0, 0, 0, 0);\n`\n\nconst StyledInput = styled.input`\n display: none;\n`\n\nconst StyledLabel = styled.label`\n display: flex;\n cursor: pointer;\n justify-content: space-between;\n align-items: center;\n height: 100%;\n`\nconst titleActiveCSS = css`\n color: ${palette.grey.seventy};\n font-weight: 500;\n`\n\nconst StyledTitle = styled(Text)`\n color: ${palette.grey.fiftyP};\n overflow: hidden;\n white-space: nowrap;\n text-overflow: ellipsis;\n max-width: calc(100% - 20px);\n ${({ active }) => active && titleActiveCSS};\n`\n","import React from \"react\"\nimport PropTypes from \"prop-types\"\nimport classNames from \"classnames\"\nimport styled from \"@emotion/styled\"\nimport { theme } from \"../../theme\"\n\nfunction Divider({ className }) {\n return <StyledDivider className={classNames(\"KUI-Divider\", className)} />\n}\n\nDivider.defaultProps = {\n className: \"\",\n}\n\nDivider.propTypes = {\n className: PropTypes.string,\n}\n\nexport default Divider\n\nconst StyledDivider = styled.hr`\n height: 1px;\n border: none;\n background-color: ${theme.palette.grey.fifteenB};\n margin: 0;\n`\n","import React, { forwardRef } from \"react\"\nimport classNames from \"classnames\"\nimport styled from \"@emotion/styled\"\nimport { theme } from \"../../theme\"\n\nconst breakpoints = theme.breakpoints\n\nconst Container = forwardRef(({ className, ...props }, ref) => (\n <StyledContainer\n ref={ref}\n className={classNames(\"KUI-Container\", className)}\n {...props}\n />\n))\n\nContainer.displayName = \"Container\"\n\nexport default Container\n\nconst StyledContainer = styled.div`\n margin: 0 auto;\n box-sizing: border-box;\n padding: 0 16px;\n width: 100%;\n @media (min-width: 1280px) {\n max-width: 1280px;\n }\n @media (min-width: ${breakpoints.xs}px) {\n padding: 0 24px;\n }\n`\n","import React, { forwardRef } from \"react\"\nimport classNames from \"classnames\"\nimport PropTypes from \"prop-types\"\nimport styled from \"@emotion/styled\"\nimport { css } from \"@emotion/react\"\nimport { theme } from \"../../theme\"\n\nconst breakpoints = theme.breakpoints\n\nconst Grid = forwardRef(\n ({ item, container, className, ...otherProps }, ref) => (\n <StyledGrid\n ref={ref}\n item={item}\n container={container}\n className={classNames(\n item && \"KUI-Grid_Item\",\n container && \"KUI-Grid_Container\",\n className\n )}\n {...otherProps}\n />\n )\n)\n\nGrid.displayName = \"Grid\"\n\nGrid.propTypes = {\n spacing: PropTypes.number,\n justify: PropTypes.oneOf([\n \"center\",\n \"flex-start\",\n \"flex-end\",\n \"space-between\",\n ]),\n alignItems: PropTypes.oneOf([\"center\", \"flex-start\", \"flex-end\"]),\n alignContent: PropTypes.oneOf([\"center\", \"flex-start\", \"flex-end\"]),\n direction: PropTypes.oneOf([\"column\", \"row\"]),\n}\n\nexport default Grid\n\nconst containerSpacingCSS = (spacing) => css`\n width: calc(100% + (${theme.settings.spacing} * ${spacing}px));\n margin-top: calc(0px - ((${theme.settings.spacing} * ${spacing}px)));\n margin-left: calc(0px - ((${theme.settings.spacing} * ${spacing}px)));\n & > .KUI-Grid_Item {\n padding-left: calc((${theme.settings.spacing} * ${spacing}px));\n padding-top: calc((${theme.settings.spacing} * ${spacing}px));\n }\n`\n\nconst containerCSS = (props) => css`\n display: flex;\n flex-wrap: ${props.wrap || \"wrap\"};\n box-sizing: border-box;\n width: 100%;\n justify-content: ${props.justify || \"unset\"};\n align-items: ${props.alignItems || \"unset\"};\n align-content: ${props.alignContent || \"unset\"};\n flex-direction: ${props.direction || \"unset\"};\n ${props.spacing && containerSpacingCSS(props.spacing)}\n`\n\nconst itemSizeCSS = (size) =>\n size &&\n css`\n max-width: ${size === \"auto\"\n ? \"auto\"\n : `calc(100% / (${theme.settings.columns} / ${size}))`};\n flex-basis: ${size === \"auto\"\n ? \"auto\"\n : `calc(100% / (${theme.settings.columns} / ${size}))`};\n `\n\nconst itemCSS = (props) => css`\n margin: 0;\n box-sizing: border-box;\n flex-grow: 0;\n @media (min-width: 0px) {\n ${itemSizeCSS(props.xs)};\n }\n @media (min-width: ${breakpoints.xs + 1}px) {\n ${itemSizeCSS(props.sm)};\n }\n @media (min-width: ${breakpoints.sm + 1}px) {\n ${itemSizeCSS(props.md)};\n }\n @media (min-width: ${breakpoints.md + 1}px) {\n ${itemSizeCSS(props.lg)};\n }\n @media (min-width: ${breakpoints.xl}px) {\n ${itemSizeCSS(props.xl)};\n }\n`\n\nconst StyledGrid = styled.div`\n ${({ item, ...other }) => item && itemCSS(other)}\n ${({ container, ...other }) => container && containerCSS(other)}\n`\n","import React, { forwardRef } from \"react\"\nimport PropTypes from \"prop-types\"\nimport styled from \"@emotion/styled\"\nimport { theme } from \"../../theme\"\n\nconst { spacing } = theme.settings\nconst Box = forwardRef((props, ref) => <StyledBox ref={ref} {...props} />)\n\nBox.propTypes = {\n pt: PropTypes.number,\n pb: PropTypes.number,\n pr: PropTypes.number,\n pl: PropTypes.number,\n mt: PropTypes.number,\n mb: PropTypes.number,\n mr: PropTypes.number,\n ml: PropTypes.number,\n}\n\nBox.displayName = \"Box\"\n\nexport default Box\n\nconst StyledBox = styled.div`\n ${({ mt }) => mt && `margin-top: ${mt * spacing}px`};\n ${({ mb }) => mb && `margin-bottom: ${mb * spacing}px`};\n ${({ mr }) => mr && `margin-right: ${mr * spacing}px`};\n ${({ ml }) => ml && `margin-left: ${ml * spacing}px`};\n\n ${({ pt }) => pt && `padding-top: ${pt * spacing}px`};\n ${({ pb }) => pb && `padding-bottom: ${pb * spacing}px`};\n ${({ pr }) => pr && `padding-right: ${pr * spacing}px`};\n ${({ pl }) => pl && `padding-left: ${pl * spacing}px`};\n`\n","import React, { useRef } from \"react\"\nimport styled from \"@emotion/styled\"\nimport classNames from \"classnames\"\n\nfunction Accordion(props) {\n const { children, onChange, expanded, className, disabled, ...otherProps } =\n props\n const detailsBlock = useRef(null)\n const [summary, ...otherChildren] = React.Children.toArray(children)\n\n const handleTransitionEnd = () => {\n if (detailsBlock.current.style.height !== \"0px\") {\n detailsBlock.current.style.height = \"auto\"\n }\n }\n\n return (\n <StyledAccordion\n className={classNames(\"KUI-Accordion\", className)}\n {...otherProps}\n >\n <div>\n {React.cloneElement(summary, {\n detailsBlock,\n onChange,\n expanded,\n disabled,\n })}\n </div>\n <StyledCollapse\n className=\"KUI-Collapse\"\n onTransitionEnd={handleTransitionEnd}\n ref={detailsBlock}\n >\n {otherChildren}\n </StyledCollapse>\n </StyledAccordion>\n )\n}\n\nexport default Accordion\n\nconst StyledAccordion = styled.div`\n cursor: pointer;\n -webkit-tap-highlight-color: transparent;\n`\n\nconst StyledCollapse = styled.div`\n height: 0;\n overflow: hidden;\n transition: height 300ms cubic-bezier(0.4, 0, 0.2, 1) 0ms;\n`\n","import React, { useEffect, useState } from \"react\"\nimport classNames from \"classnames\"\nimport PropTypes from \"prop-types\"\nimport styled from \"@emotion/styled\"\n\nfunction AccordionSummary({\n detailsBlock,\n expanded: defaultExpanded,\n onChange,\n className,\n children,\n expandIcon,\n contentStyles,\n expandedStyles,\n iconStyles,\n disabled,\n ...otherProps\n}) {\n const [expanded, setExpanded] = useState(!!defaultExpanded)\n\n const handleClick = () => {\n setExpanded((prev) => !prev)\n }\n\n useEffect(() => {\n setExpanded(defaultExpanded)\n }, [defaultExpanded])\n\n useEffect(() => {\n if (detailsBlock) {\n if (expanded) {\n detailsBlock.current.style.height = `${detailsBlock.current?.scrollHeight}px`\n } else {\n detailsBlock.current.style.height = `${detailsBlock.current?.scrollHeight}px`\n window\n .getComputedStyle(detailsBlock.current, null)\n .getPropertyValue(\"height\")\n detailsBlock.current.style.height = \"0\"\n }\n }\n if (onChange) {\n onChange(expanded)\n }\n }, [expanded])\n\n return (\n <StyledAccordionSummary\n onClick={handleClick}\n className={classNames(\n \"KUI-Accordion_Summary\",\n disabled && \"KUI-Accordion_Summary-disabled\",\n className\n )}\n {...otherProps}\n >\n <StyledSummaryContent\n className={classNames(\n \"KUI-Accordion_Summary-Content\",\n expanded && \"KUI-Accordion_expanded\",\n expanded && expandedStyles,\n contentStyles\n )}\n expanded={expanded}\n >\n {children}\n </StyledSummaryContent>\n <StyledSummaryIcon\n expanded={expanded}\n className={classNames(\n \"KUI-Accordion_Summary-Icon\",\n expanded && \"KUI-Accordion_expanded\",\n expanded && expandedStyles,\n iconStyles\n )}\n >\n {expandIcon}\n </StyledSummaryIcon>\n </StyledAccordionSummary>\n )\n}\n\nAccordionSummary.propTypes = {\n expandIcon: PropTypes.element,\n children: PropTypes.oneOfType([PropTypes.element, PropTypes.string]),\n}\n\nexport default AccordionSummary\n\nconst StyledAccordionSummary = styled.div`\n display: flex;\n align-items: center;\n justify-content: space-between;\n`\n\nconst StyledSummaryContent = styled(\"div\", {\n shouldForwardProp: (prop) => prop !== \"expanded\",\n})`\n margin: 12px 0;\n display: flex;\n width: 100%;\n transition: margin 150ms cubic-bezier(0.4, 0, 0.2, 1) 0ms;\n .KUI-Accordion_Summary-disabled {\n pointer-events: none;\n }\n`\n\nconst StyledSummaryIcon = styled(\"div\", {\n shouldForwardProp: (prop) => prop !== \"expanded\",\n})`\n transform: ${({ expanded }) =>\n expanded ? \"rotate(180deg)\" : \"rotate(0deg)\"};\n transition: transform 150ms cubic-bezier(0.4, 0, 0.2, 1) 0ms;\n`\n","import React from \"react\"\r\nimport classNames from \"classnames\"\r\nimport { keyframes } from \"@emotion/react\"\r\nimport styled from \"@emotion/styled\"\r\n\r\nfunction Skeleton({ className, ...otherProps }) {\r\n return (\r\n <StyledSkeleton\r\n className={classNames(\"KUI-Skeleton\", className)}\r\n {...otherProps}\r\n />\r\n )\r\n}\r\n\r\nexport default Skeleton\r\n\r\nconst waveAnim = keyframes`\r\n 0% {\r\n transform: translateX(-100%);\r\n }\r\n 50% {\r\n transform: translateX(100%);\r\n }\r\n 100% {\r\n transform: translateX(100%);\r\n }\r\n`\r\n\r\nconst StyledSkeleton = styled.span`\r\n overflow: hidden;\r\n position: relative;\r\n display: block;\r\n background-color: rgba(0, 0, 0, 0.11);\r\n height: 1.2em;\r\n &::before {\r\n content: \"\";\r\n display: block;\r\n padding-top: 100%;\r\n }\r\n &::after {\r\n top: 0;\r\n left: 0;\r\n right: 0;\r\n bottom: 0;\r\n content: \"\";\r\n position: absolute;\r\n animation: ${waveAnim} 1.6s linear 0.5s infinite;\r\n transform: translateX(-100%);\r\n background: linear-gradient(\r\n 90deg,\r\n transparent,\r\n rgba(0, 0, 0, 0.04),\r\n transparent\r\n );\r\n }\r\n`\r\n","import React from \"react\"\r\nimport classNames from \"classnames\"\r\nimport PropTypes from \"prop-types\"\r\nimport styled from \"@emotion/styled\"\r\nimport { css } from \"@emotion/react\"\r\n\r\nfunction AppBar({ className, isFixed, ...otherProps }) {\r\n return (\r\n <StyledAppBar\r\n isFixed={isFixed}\r\n className={classNames(\r\n \"KUI-AppBar\",\r\n isFixed && \"KUI-AppBar_fixed\",\r\n className\r\n )}\r\n {...otherProps}\r\n />\r\n )\r\n}\r\n\r\nAppBar.propTypes = {\r\n isFixed: PropTypes.bool,\r\n}\r\n\r\nAppBar.defaultProps = {\r\n isFixed: true,\r\n}\r\n\r\nexport default AppBar\r\n\r\nconst fixesBarCSS = ({ isFixed }) =>\r\n isFixed &&\r\n css`\r\n top: 0;\r\n left: auto;\r\n right: 0;\r\n position: fixed;\r\n `\r\n\r\nconst StyledAppBar = styled.header`\r\n width: 100%;\r\n display: flex;\r\n z-index: 1100;\r\n box-sizing: border-box;\r\n flex-shrink: 0;\r\n background: #fff;\r\n ${fixesBarCSS};\r\n`\r\n","import React from \"react\"\nimport classNames from \"classnames\"\nimport styled from \"@emotion/styled\"\nimport { theme } from \"../../theme\"\n\nconst { breakpoints } = theme\n\nfunction ToolBar({ className, ...otherProps }) {\n return (\n <StyledTollBar\n className={classNames(\"KUI-ToolBar\", className)}\n {...otherProps}\n />\n )\n}\n\nexport default ToolBar\n\nconst StyledTollBar = styled.div`\n display: flex;\n position: relative;\n align-items: center;\n padding: 0px;\n min-height: 64px;\n @media (max-width: ${breakpoints.xs}px) {\n min-height: 48px;\n }\n`\n","import React from \"react\"\nimport classNames from \"classnames\"\nimport { keyframes } from \"@emotion/react\"\nimport styled from \"@emotion/styled\"\nimport { theme } from \"../../theme\"\n\nconst palette = theme.palette\n\nfunction CircularProgress({\n className,\n svgStyles,\n circleStyles,\n ...otherProps\n}) {\n return (\n <StyledProgress\n className={classNames(\"KUI-CircularProgress\", className)}\n {...otherProps}\n >\n <StyledSVG\n className={classNames(\"KUI-CircularProgress_svg\", svgStyles)}\n viewBox=\"22 22 44 44\"\n >\n <StyledCircle\n className={classNames(\"KUI-CircularProgress_circle\", circleStyles)}\n cx=\"44\"\n cy=\"44\"\n r=\"20.2\"\n fill=\"none\"\n strokeWidth=\"3.6\"\n />\n </StyledSVG>\n </StyledProgress>\n )\n}\n\nexport default CircularProgress\n\nconst rotateAnimate = keyframes`\n 0% {\n transform-origin: 50% 50%;\n }\n 100% {\n transform: rotate(360deg);\n }\n`\n\nconst circleAnimate = keyframes`\n 0% {\n stroke-dasharray: 1px, 200px;\n stroke-dashoffset: 0px;\n }\n 50% {\n stroke-dasharray: 100px, 200px;\n stroke-dashoffset: -15px;\n }\n 100% {\n stroke-dasharray: 100px, 200px;\n stroke-dashoffset: -125px;\n }\n`\n\nconst StyledProgress = styled.div`\n color: ${palette.brand.main};\n width: 40px;\n height: 40px;\n display: inline-block;\n animation: ${rotateAnimate} 1.4s linear infinite;\n`\n\nconst StyledSVG = styled.svg`\n display: block;\n`\n\nconst StyledCircle = styled.circle`\n stroke: currentColor;\n animation: ${circleAnimate} 1.4s ease-in-out infinite;\n stroke-dasharray: 80px, 200px;\n stroke-dashoffset: 0px;\n`\n","import React from \"react\"\nimport classNames from \"classnames\"\nimport styled from \"@emotion/styled\"\n\nfunction LinearProgress({\n className,\n progressBarStyles,\n value,\n ...otherProps\n}) {\n let newValue = value\n\n if (value > 100) {\n newValue = 100\n }\n\n return (\n <StyledLinearProgress\n className={classNames(\"KUI-LinearProgress\", className)}\n aria-valuenow={newValue}\n {...otherProps}\n >\n <StyledLinearProgressBar\n className={classNames(\"KUI-LinearProgress_bar\", progressBarStyles)}\n style={{ transform: `translateX(${newValue - 100}%)` }}\n />\n </StyledLinearProgress>\n )\n}\n\nLinearProgress.defaultProps = {\n value: 0,\n}\n\nexport default LinearProgress\n\nconst StyledLinearProgress = styled.div`\n overflow: hidden;\n position: relative;\n backdrop-filter: blur(4px);\n background-color: rgba(255, 255, 255, 0.55);\n border-radius: 66px;\n height: 6px;\n`\n\nconst StyledLinearProgressBar = styled.div`\n top: 0;\n left: 0;\n width: 100%;\n bottom: 0;\n position: absolute;\n transition: transform 0.4s linear;\n transform-origin: left;\n opacity: 0.9;\n border-radius: 66px;\n background-color: white;\n`\n","import React, { forwardRef, useEffect, useRef, useState } from \"react\"\nimport classNames from \"classnames\"\nimport PropTypes from \"prop-types\"\nimport styled from \"@emotion/styled\"\nimport { css } from \"@emotion/react\"\nimport { theme } from \"../../theme\"\n\nconst { palette } = theme\n\nconst nextItem = (list, item) => {\n if (list === item) {\n return list.firstChild\n }\n if (item && item.nextElementSibling) {\n return item.nextElementSibling\n }\n return list.firstChild\n}\n\nconst previousItem = (list, item) => {\n if (list === item) {\n return list.lastChild\n }\n if (item && item.previousElementSibling) {\n return item.previousElementSibling\n }\n return list.lastChild\n}\n\nconst moveFocus = (list, currentFocus, traversalFunction) => {\n const nextFocus = traversalFunction(list, currentFocus)\n\n nextFocus.focus()\n}\n\nconst Tabs = forwardRef((props, ref) => {\n const {\n value,\n onChange,\n className,\n indicatorPos,\n indicatorHidden,\n children: childrenProp,\n ...otherProps\n } = props\n const tabListRef = useRef(null)\n const [indicatorStyles, setIndicatorStyles] = useState({})\n\n const handleKeyDown = (e) => {\n const list = tabListRef.current\n const currFocus = list.ownerDocument.activeElement\n switch (e.key) {\n case \"ArrowLeft\":\n e.preventDefault()\n moveFocus(list, currFocus, previousItem)\n break\n case \"ArrowRight\":\n e.preventDefault()\n moveFocus(list, currFocus, nextItem)\n break\n case \"Home\":\n e.preventDefault()\n moveFocus(list, currFocus, nextItem)\n break\n case \"End\":\n e.preventDefault()\n moveFocus(list, currFocus, previousItem)\n break\n default:\n break\n }\n }\n\n const children = React.Children.map(childrenProp, (child, childIndex) => {\n if (!React.isValidElement(child)) {\n return null\n }\n\n const childValue =\n child.props.value === undefined ? childIndex : child.props.value\n const selected = childValue === value\n\n return React.cloneElement(child, {\n selected,\n onChange,\n value: childValue,\n })\n })\n\n useEffect(() => {\n const selectedTab = tabListRef.current?.children[value]\n setIndicatorStyles({\n width: selectedTab?.clientWidth,\n // transform: `translateX(${selectedTab?.offsetLeft})`,\n left: selectedTab?.offsetLeft,\n })\n }, [value])\n\n return (\n <StyledTabs ref={ref} className=\"KUI-Tabs\" {...otherProps}>\n <StyledTabList\n tabIndex={0}\n role=\"tablist\"\n className={classNames(\"KUI-TabList\", className)}\n ref={tabListRef}\n onKeyDown={handleKeyDown}\n >\n {children}\n </StyledTabList>\n <StyledTabsIndicator\n hidden={indicatorHidden}\n position={indicatorPos}\n className={classNames(\n \"KUI-Tabs_indicator\",\n indicatorHidden && \"KUI-Tabs_hidden\"\n )}\n style={indicatorStyles}\n />\n </StyledTabs>\n )\n})\n\nTabs.propTypes = {\n indicatorPos: PropTypes.oneOf([\"bottom\", \"top\"]),\n}\n\nTabs.defaultProps = {\n indicatorPos: \"bottom\",\n}\n\nexport default Tabs\n\nconst indicatorPositionsCSS = {\n top: css`\n top: 0;\n border-radius: 0 0 8px 8px;\n `,\n bottom: css`\n bottom: 0;\n border-radius: 8px 8px 0px 0px;\n `,\n}\n\nconst StyledTabs = styled.div`\n position: relative;\n`\n\nconst StyledTabList = styled.div`\n overflow: hidden;\n display: flex;\n`\n\nconst StyledTabsIndicator = styled.span`\n position: absolute;\n background-color: ${palette.brand.main};\n transition: width 300ms cubic-bezier(0.4, 0, 0.2, 1) 0ms,\n left 300ms cubic-bezier(0.4, 0, 0.2, 1) 0ms;\n height: 2px;\n will-change: left;\n opacity: ${({ hidden }) => (hidden ? 0 : 1)};\n ${({ position }) => indicatorPositionsCSS[position]};\n`\n","import React, { forwardRef } from \"react\"\nimport PropTypes from \"prop-types\"\nimport classNames from \"classnames\"\nimport styled from \"@emotion/styled\"\nimport Caption from \"../Caption\"\n\nconst Tab = forwardRef((props, ref) => {\n const { selected, value, className, onChange, onClick, ...other } = props\n\n const handleClick = (e) => {\n if (!selected && onChange) {\n onChange(e, value)\n }\n\n if (onClick) {\n onClick(e)\n }\n }\n\n return (\n <StyledTab\n className={classNames(\n \"KUI-Tab\",\n selected && \"KUI-Tab_selected\",\n className\n )}\n type=\"button\"\n role=\"tab\"\n aria-selected={selected}\n tabIndex={selected ? 0 : -1}\n aria-controls={`tabpanel-${value}`}\n id={`tab-${value}`}\n ref={ref}\n onClick={handleClick}\n {...other}\n >\n <Caption weight={600} size=\"sm\" color=\"white\">\n {other.label}\n </Caption>\n </StyledTab>\n )\n})\n\nTab.propTypes = {\n label: PropTypes.string,\n}\n\nexport default Tab\n\nconst StyledTab = styled.button`\n height: 64px;\n border: none;\n background: transparent;\n cursor: pointer;\n margin-right: 24px;\n padding: 0;\n &:last-child {\n margin-right: 0;\n }\n`\n","import React, { forwardRef, useEffect } from \"react\"\nimport PropTypes from \"prop-types\"\nimport Tabs from \"../Tabs\"\nimport Tab from \"../Tab\"\n\nconst TabsPanel = forwardRef((props, ref) => {\n const {\n tabs,\n tabPanels,\n paths,\n activeTab,\n onChange,\n indicatorPos,\n ...other\n } = props\n const [value, setValue] = React.useState(Number(activeTab))\n\n const handleChange = (event, newValue) => {\n setValue(newValue)\n if (paths && paths.length > 0) {\n window.history.pushState({ route: paths[newValue] }, \"\", paths[newValue])\n }\n if (onChange) {\n onChange(event, newValue)\n }\n }\n\n useEffect(() => {\n setValue(Number(activeTab))\n }, [activeTab])\n\n return (\n <div ref={ref} {...other}>\n <div className=\"KUI-TabsWrapper\">\n <Tabs value={value} onChange={handleChange} indicatorPos={indicatorPos}>\n {tabs.map((item) => (\n <Tab label={item} key={item} />\n ))}\n </Tabs>\n </div>\n {tabPanels.map((item, index) => (\n <div\n key={index}\n role=\"tabpanel\"\n hidden={value !== index}\n id={`tabpanel-${index}`}\n aria-labelledby={`tab-${index}`}\n >\n {value === index && item}\n </div>\n ))}\n </div>\n )\n})\n\nTabsPanel.propTypes = {\n indicatorPos: PropTypes.oneOf([\"bottom\", \"top\"]),\n}\n\nexport default TabsPanel\n","import React, { useEffect, useRef } from \"react\"\r\nimport { Link, scroller, Events } from \"react-scroll\"\r\nimport styled from \"@emotion/styled\"\r\nimport Caption from \"../Caption\"\r\n\r\nconst ScrollTab = ({\r\n selected,\r\n value,\r\n label,\r\n name,\r\n onChange,\r\n offset,\r\n isScrolling,\r\n setIsScrolling,\r\n setIsIndicatorHidden,\r\n isActive,\r\n setIsActive,\r\n}) => {\r\n const activeRef = useRef(true)\r\n const scrollingRef = useRef(isScrolling)\r\n\r\n const handleSelect = (e) => {\r\n setTimeout(() => {\r\n setIsIndicatorHidden(false)\r\n setIsActive(true)\r\n })\r\n if (!isScrolling && onChange) {\r\n onChange(e, value)\r\n }\r\n }\r\n\r\n const handleInactive = () => {\r\n setIsActive(false)\r\n setTimeout(() => {\r\n if (!activeRef.current && !scrollingRef.current) {\r\n setIsIndicatorHidden(true)\r\n }\r\n }, 10)\r\n }\r\n\r\n useEffect(() => {\r\n activeRef.current = isActive\r\n }, [isActive])\r\n\r\n useEffect(() => {\r\n scrollingRef.current = isScrolling\r\n }, [isScrolling])\r\n\r\n const handleKeyDown = (e) => {\r\n switch (e.key) {\r\n case \"Enter\":\r\n handleSelect(e)\r\n scroller.scrollTo(name, { offset })\r\n break\r\n case \"Space\":\r\n handleSelect(e)\r\n scroller.scrollTo(name, { offset })\r\n break\r\n default:\r\n break\r\n }\r\n }\r\n\r\n const startScrolling = () => {\r\n setIsScrolling(true)\r\n }\r\n\r\n const endScrolling = () => {\r\n setIsScrolling(false)\r\n }\r\n\r\n useEffect(() => {\r\n if (selected) {\r\n scroller.scrollTo(name, { offset })\r\n }\r\n\r\n Events.scrollEvent.register(\"begin\", (to, element) => {\r\n startScrolling()\r\n })\r\n\r\n Events.scrollEvent.register(\"end\", (to, element) => {\r\n setTimeout(endScrolling)\r\n })\r\n\r\n return () => {\r\n Events.scrollEvent.remove(\"begin\")\r\n Events.scrollEvent.remove(\"end\")\r\n }\r\n }, [])\r\n\r\n const handleClick = (e) => {\r\n if (!selected && onChange) {\r\n onChange(e, value)\r\n }\r\n }\r\n\r\n return (\r\n <StyledScrollTab\r\n to={name}\r\n spy\r\n smooth\r\n duration={600}\r\n offset={offset}\r\n onSetActive={handleSelect}\r\n onSetInactive={handleInactive}\r\n className=\"KUI-ScrollTab\"\r\n role=\"tab\"\r\n aria-selected={selected}\r\n tabIndex={selected ? 0 : -1}\r\n aria-controls={`tabpanel-${value}`}\r\n id={`tab-${value}`}\r\n onKeyDown={handleKeyDown}\r\n onClick={handleClick}\r\n >\r\n <Caption weight={600} size=\"sm\" color=\"white\">\r\n {label}\r\n </Caption>\r\n </StyledScrollTab>\r\n )\r\n}\r\n\r\nexport default ScrollTab\r\n\r\nconst StyledScrollTab = styled(Link)`\r\n margin-right: 24px;\r\n height: 64px;\r\n border: none;\r\n background: transparent;\r\n cursor: pointer;\r\n padding: 0;\r\n display: flex;\r\n align-items: center;\r\n &:last-child {\r\n margin-right: 0;\r\n }\r\n`\r\n","import React, { forwardRef, useEffect, useState } from \"react\"\r\nimport PropTypes from \"prop-types\"\r\nimport Tabs from \"../Tabs\"\r\nimport ScrollTab from \"../ScrollTab\"\r\n\r\nconst MenuPanel = forwardRef((props, ref) => {\r\n const { tabs, tabsId, activeTab, onChange, indicatorPos, offset, ...other } =\r\n props\r\n const [value, setValue] = React.useState(Number(activeTab))\r\n const [isIndicatorHidden, setIsIndicatorHidden] = useState(false)\r\n const [isScrolling, setIsScrolling] = useState(false)\r\n const [isActive, setIsActive] = useState(true)\r\n\r\n const handleChange = (event, newValue) => {\r\n setValue(newValue)\r\n if (onChange) {\r\n onChange(event, newValue)\r\n }\r\n }\r\n\r\n useEffect(() => {\r\n setValue(Number(activeTab))\r\n }, [activeTab])\r\n\r\n return (\r\n <Tabs\r\n ref={ref}\r\n value={value}\r\n onChange={handleChange}\r\n indicatorPos={indicatorPos}\r\n indicatorHidden={isIndicatorHidden}\r\n {...other}\r\n >\r\n {tabs.map((item, index) => (\r\n <ScrollTab\r\n isScrolling={isScrolling}\r\n setIsScrolling={setIsScrolling}\r\n offset={offset}\r\n label={item}\r\n name={(tabsId && tabsId[index]) || item}\r\n key={item}\r\n setIsIndicatorHidden={setIsIndicatorHidden}\r\n isActive={isActive}\r\n setIsActive={setIsActive}\r\n />\r\n ))}\r\n </Tabs>\r\n )\r\n})\r\n\r\nMenuPanel.propTypes = {\r\n indicatorPos: PropTypes.oneOf([\"bottom\", \"top\"]),\r\n}\r\n\r\nexport default MenuPanel\r\n","import React, { forwardRef } from \"react\"\r\nimport classNames from \"classnames\"\r\nimport styled from \"@emotion/styled\"\r\n\r\nconst IconButton = forwardRef(({ className, ...props }, ref) => (\r\n <StyledButton\r\n className={classNames(\"KUI-IconButton\", className)}\r\n ref={ref}\r\n {...props}\r\n />\r\n))\r\n\r\nexport default IconButton\r\n\r\nconst StyledButton = styled.button`\r\n border: none;\r\n background: transparent;\r\n cursor: pointer;\r\n -webkit-tap-highlight-color: rgba(0, 0, 0, 0);\r\n padding: 0;\r\n margin: 0;\r\n`\r\n","import React, { forwardRef } from \"react\"\nimport styled from \"@emotion/styled\"\nimport classNames from \"classnames\"\n\nconst PopperBase = forwardRef((props, ref) => {\n const { placement, open, children, spacing, className, style, ...other } =\n props\n\n return (\n <StyledPopperWrapper\n ref={ref}\n className={classNames(\"KUI-Popper\", open && \"KUI-Popper_open\", className)}\n spacing={spacing}\n style={style}\n >\n <StyledPopper open={!!open} {...other}>\n {children}\n </StyledPopper>\n </StyledPopperWrapper>\n )\n})\n\nexport default PopperBase\n\nconst StyledPopperWrapper = styled.div`\n position: absolute;\n max-width: 215px;\n width: max-content;\n padding: ${({ spacing }) => spacing || 0};\n z-index: -1;\n display: none;\n &.KUI-Popper_open {\n z-index: 10;\n display: block;\n }\n @media (max-width: 600px) {\n position: fixed;\n bottom: 24px;\n top: auto !important;\n left: 16px !important;\n width: calc(100vw - 32px);\n max-width: unset;\n }\n`\n\nconst StyledPopper = styled.div`\n padding: 16px;\n border-radius: 12px;\n background: white;\n box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.1);\n transition: opacity 0.3s ease-out;\n`\n","const placementsPositions = {\n bottomStart: {\n bottom: 1,\n offset: 0,\n },\n bottomMiddle: {\n bottom: 1,\n offset: 0.5,\n },\n bottomEnd: {\n bottom: 1,\n offset: 1,\n },\n topStart: {\n top: 1,\n offset: 0,\n },\n topMiddle: {\n top: 1,\n offset: 0.5,\n },\n topEnd: {\n top: 1,\n offset: 1,\n },\n}\n\nexport default placementsPositions\n","import React, { forwardRef, useEffect, useRef, useState } from \"react\"\nimport PopperBase from \"../PopperBase\"\nimport placementsPositions from \"../PopperWithPortal/placements\"\n\nconst StaticPopper = forwardRef((props, ref) => {\n const { placement, contentRef, ...other } = props\n const popperRef = useRef(null)\n const [contentSize, setContentSize] = useState(null)\n const [popperSize, setPopperSize] = useState(null)\n let position = {}\n\n useEffect(() => {\n if (contentRef.current && popperRef.current) {\n setContentSize({\n width: contentRef.current.clientWidth,\n height: contentRef.current.clientHeight,\n })\n\n setPopperSize({\n width: popperRef.current.clientWidth,\n height: popperRef.current.clientHeight,\n })\n }\n }, [])\n\n if (contentSize && popperSize) {\n const placementPositions =\n // @ts-ignore\n placementsPositions[placement ?? \"bottomMiddle\"]\n position = {\n top: placementPositions.top\n ? 0 - popperSize.height\n : 0 + contentSize.height,\n left: Math.max(\n contentSize.width * placementPositions.offset -\n popperSize.width * placementPositions.offset,\n 0\n ),\n }\n }\n\n const forwardedRef = (elem) => {\n if (ref) {\n // @ts-ignore\n ref.current = elem\n }\n // @ts-ignore\n popperRef.current = elem\n }\n\n return <PopperBase ref={forwardedRef} style={position} {...other} />\n})\n\nexport default StaticPopper\n","import * as React from \"react\"\nimport { forwardRef } from \"react\"\nimport StaticPopper from \"../StaticPopper\"\n\nconst Popper = forwardRef((props, ref) => {\n const { contentRef, ...other } = props\n\n return <StaticPopper ref={ref} contentRef={contentRef} {...other} />\n})\n\nexport default Popper\n","import * as React from \"react\"\nimport { forwardRef, useEffect, useRef, useState } from \"react\"\nimport styled from \"@emotion/styled\"\nimport { css } from \"@emotion/react\"\nimport Popper from \"../Popper\"\n\nconst Tooltip = forwardRef((props, ref) => {\n const { content, onOpen, onClose, open, children, cursor, ...popper } = props\n const [isOpen, setOpen] = useState(open)\n const elemRef = useRef(null)\n\n const handleOpen = () => {\n setOpen(true)\n if (onOpen) {\n onOpen()\n }\n }\n\n const handleClose = () => {\n setOpen(false)\n if (onClose) {\n onClose()\n }\n }\n\n useEffect(() => {\n setOpen(open)\n }, [open])\n\n return (\n <StyledWrapper onMouseLeave={handleClose} ref={ref}>\n <StyledContentWrapper\n onMouseEnter={handleOpen}\n onTouchEnd={handleOpen}\n ref={elemRef}\n cursor={cursor}\n >\n <StyledContent>{children}</StyledContent>\n </StyledContentWrapper>\n <Popper open={isOpen} {...popper} contentRef={elemRef}>\n {content}\n </Popper>\n </StyledWrapper>\n )\n})\n\nexport default Tooltip\n\nconst containerCSS = css`\n display: inline-flex;\n width: fit-content;\n height: fit-content;\n`\n\nconst StyledWrapper = styled.div`\n ${containerCSS};\n position: relative;\n`\n\nconst StyledContentWrapper = styled.div`\n ${containerCSS};\n cursor: ${({ cursor }) => cursor};\n z-index: 1;\n`\n\nconst StyledContent = styled.div`\n ${containerCSS};\n z-index: -1;\n`\n","import React from \"react\"\nimport styled from \"@emotion/styled\"\nimport Container from \"../Container\"\nimport Caption from \"../Caption\"\nimport { theme } from \"../../theme\"\n\nconst ErrorComponent = ({ message, icon, ...otherProps }) => (\n <Container {...otherProps}>\n <StyledTitle>{message}</StyledTitle>\n <StyledIconWrapper>{icon}</StyledIconWrapper>\n </Container>\n)\n\nexport default ErrorComponent\n\nconst StyledTitle = styled(Caption)`\n font-size: 24px;\n line-height: 32px;\n margin: 104px auto 16px;\n text-align: center;\n max-width: 530px;\n @media (max-width: ${theme.breakpoints.sm}px) {\n font-size: 16px;\n line-height: 24px;\n }\n`\n\nconst StyledIconWrapper = styled.div`\n svg {\n width: 100%;\n height: auto;\n min-height: 200px;\n max-height: calc(100vh - 200px);\n }\n`\n","import React from \"react\"\r\n\r\nfunction AccordionDetails(props) {\r\n return <div {...props} />\r\n}\r\n\r\nexport default AccordionDetails\r\n"],"names":["colors","primary","main","pressed","hover","light","light2","secondary","gray60","gray50","gray40","gray30","gray15","white","disabled","background","light3","success","green70","green60","green10","green5","error","red70","red60","red10","red5","info","blue70","blue60","blue10","blue5","purple","purple70","purple60","purple10","purple5","shadows","shadow1","shadow2","shadow3","shadow4","breakpoints","xxs","xs","sm","md","lg","xl","settings","spacing","columns","themeOld","palette","theme","brand","_objectSpread","grey","seventy","sixty","fiftyP","fourty","thirty","fifteenB","zero","light1","light4","green","ten","five","red","blue","headingSizes","hero","h1","h2","h3","h4","headingVariants","size","height","mobSize","mobHeight","Heading","props","children","className","otherProps","_excluded","_jsx","StyledHeading","as","classNames","defaultProps","color","colorGroup","disableUserSelect","weight","propTypes","PropTypes","oneOf","bool","number","headingSettingsCSS","css","align","process","env","NODE_ENV","_styled","target","label","captionSizes","high","s","m","l","Caption","StyledCaption","variant","displayName","captionSettingsCSS","_ref","disSelect","textVariants","Text","StyledText","textSettingsCSS","buttonSizes","buttonBorders","lightGray","lightOrange","buttonVariants","active","orange","hoverColor","border","whiteWithOrangeHover","whiteWithGray","whiteWithBrand","grayLightWithBorder","grayLight","grayDark","backgroundLight","backgroundWithBorder","blur","backdrop","blurDark","transparent","withoutShadow","orangeWithHoverLight","orangeWithBorder","transparentLight","transparentWithBorder","transparentWithDarkBorder","transparentWithBoldBorder","Button","forwardRef","ref","fullWidth","isCircle","captionSize","disabledStyle","startIcon","endIcon","captionWeight","withoutChildrenWrapper","buttonProps","StyledButton","jsx","StyledCircleButtonContainer","_jsxs","StyledContentContainer","withIcon","StyledStartIcon","StyledEndIcon","element","circleButtonCSS","_ref2","buttonSettingsCSS","buttonVariantCSS","concat","name","styles","map","toString","_EMOTION_STRINGIFIED_CSS_ERROR__","iconContainerCSS","_ref3","ErrorIcon","width","viewBox","fill","xmlns","fillRule","clipRule","d","WarningIcon","SuccessIcon","messageVariants","icon","warning","InputMessage","_messageRef$current2","msg","messageRef","useRef","_useState2","_slicedToArray","useState","messageRefHeight","setMessageRefHeight","useEffect","_messageRef$current","current","clientHeight","StyledMessage","style","bottom","StyledIconWrapper","StyledTitle","string","messageVariantCSS","TextareaGrabIcon","Input","isTextArea","inputRefProp","inputRef","inputStyles","labelStyles","messageClassName","labelInlineStyles","message","messageVariant","inputValue","value","type","rows","placeholder","inputProps","isFilled","setIsFilled","isInvalid","_inputRef$current","commonProps","elem","onInput","e","withMessage","withLabel","StyledContainer","StyledTextarea","StyledInput","StyledInputLabel","StyledTextareaIcon","labelActiveCSS","inputStates","inputCSS","inputStateCSS","InputWithAdornments","_startIconRef$current2","_endIconRef$current2","cornerLabel","startIconRef","endIconRef","startIconWidth","setStartIconWidth","_useState4","endIconWidth","setEndIconWidth","inputStyle","paddingLeft","paddingRight","labelStyle","left","_startIconRef$current","clientWidth","_endIconRef$current","isCornerLabel","errorMessage","cornerLabelCSS","StyledIcon","InputWithMask","mask","valueProp","onChange","onBlur","other","setValue","InputMask","maskPlaceholder","alwaysShowMask","_e$target$value","match","CountryItem","item","selectCountryIndex","countryIcon","useMemo","nameCode","toUpperCase","replace","char","String","fromCodePoint","charCodeAt","StyledCountry","onClick","StyledCountryName","nameRus","StyledCountryPhone","phoneCode","SearchIcon","Dropdown","isOpen","setIsOpenDropDown","buttonRef","countries","filteredCountries","setFilteredCountries","dropdownRef","closePopUp","contains","document","addEventListener","removeEventListener","StyledSearchWrapper","StyledSearch","StyledSearchInput","query","length","filter","toLowerCase","indexOf","StyledDropdown","key","HalfArrowIcon","InputWithCountryDropdown","onSelectCountry","hiddenInputProps","_objectWithoutProperties","selectedCountryCode","selectedCountryIndex","findIndex","country","selectedCountry","setSelectedCountry","isOpenDropdown","StyledDropdownWrapper","StyledPhoneCodeButton","StyledPhoneCodeIcon","isReverse","reduce","acc","index","display","readOnly","Checkbox","checkboxProps","StyledLabel","htmlFor","StyledCheckbox","id","StyledCustomCheckbox","StyledCheckboxLabel","any","errorCSS","CloseIcon","Modal","handleClose","isScrollable","title","description","isHasHeader","modalRef","body","classList","add","remove","createPortal","jsxs","Global","StyledModal","StyledHeaderWrapper","StyledModalTitle","StyledDescriptionWrapper","StyledDescription","StyledHeadingIconsWrapper","func","switchVariants","before","Switch","switchProps","StyledSwitch","StyledCustomSwitch","StyledSwitchLabel","switchVariantCSS","switchErrorCSS","Radio","radioProps","StyledRadio","StyledCustomRadio","StyledRadioLabel","FileIcon","InputFile","inputId","StyledWrapper","files","titleActiveCSS","Divider","StyledDivider","Container","Grid","container","StyledGrid","justify","alignItems","alignContent","direction","containerCSS","wrap","containerSpacingCSS","itemSizeCSS","_excluded2","_excluded3","Box","StyledBox","pt","pb","pr","pl","mt","mb","mr","ml","_ref4","_ref5","_ref6","_ref7","_ref8","StyledAccordion","StyledCollapse","AccordionSummary","detailsBlock","defaultExpanded","expanded","expandIcon","contentStyles","expandedStyles","iconStyles","setExpanded","_detailsBlock$current","_detailsBlock$current2","scrollHeight","window","getComputedStyle","getPropertyValue","StyledAccordionSummary","prev","StyledSummaryContent","StyledSummaryIcon","oneOfType","shouldForwardProp","prop","waveAnim","keyframes","_templateObject","_taggedTemplateLiteral","StyledSkeleton","AppBar","isFixed","StyledAppBar","fixesBarCSS","StyledTollBar","rotateAnimate","circleAnimate","_templateObject2","StyledProgress","StyledSVG","StyledCircle","LinearProgress","progressBarStyles","newValue","StyledLinearProgress","StyledLinearProgressBar","transform","nextItem","list","firstChild","nextElementSibling","previousItem","lastChild","previousElementSibling","moveFocus","currentFocus","traversalFunction","focus","Tabs","indicatorPos","indicatorHidden","childrenProp","tabListRef","indicatorStyles","setIndicatorStyles","React","Children","child","childIndex","isValidElement","childValue","undefined","selected","cloneElement","_tabListRef$current","selectedTab","offsetLeft","StyledTabs","StyledTabList","tabIndex","role","onKeyDown","currFocus","ownerDocument","activeElement","preventDefault","StyledTabsIndicator","hidden","position","indicatorPositionsCSS","top","Tab","StyledTab","TabsPanel","tabs","tabPanels","paths","activeTab","_React$useState2","Number","event","history","pushState","route","ScrollTab","offset","isScrolling","setIsScrolling","setIsIndicatorHidden","isActive","setIsActive","activeRef","scrollingRef","handleSelect","setTimeout","endScrolling","scroller","scrollTo","Events","scrollEvent","register","to","StyledScrollTab","spy","smooth","duration","onSetActive","onSetInactive","Link","MenuPanel","tabsId","isIndicatorHidden","_useState6","IconButton","PopperBase","placement","open","StyledPopperWrapper","StyledPopper","placementsPositions","bottomStart","bottomMiddle","bottomEnd","topStart","topMiddle","topEnd","StaticPopper","contentRef","popperRef","contentSize","setContentSize","popperSize","setPopperSize","placementPositions","Math","max","Popper","Tooltip","content","onOpen","onClose","cursor","popper","setOpen","elemRef","handleOpen","onMouseLeave","StyledContentWrapper","onMouseEnter","onTouchEnd","StyledContent","ErrorComponent","_React$Children$toArr2","_toArray","toArray","summary","otherChildren","slice","onTransitionEnd","svgStyles","circleStyles","cx","cy","r","strokeWidth"],"mappings":"krFAAA,IAAMA,EAAS,CACbC,QAAS,CACPC,KAAM,UACNC,QAAS,UACTC,MAAO,UACPC,MAAO,UACPC,OAAQ,WAEVC,UAAW,CACTL,KAAM,UACNM,OAAQ,UACRC,OAAQ,UACRC,OAAQ,UACRC,OAAQ,UACRC,OAAQ,UACRC,MAAO,UACPR,MAAO,UACPS,SAAU,WAEZC,WAAY,CACVb,KAAM,UACNI,OAAQ,UACRU,OAAQ,WAEVC,QAAS,CACPC,QAAS,UACTC,QAAS,UACTjB,KAAM,UACNkB,QAAS,UACTC,OAAQ,WAEVC,MAAO,CACLC,MAAO,UACPC,MAAO,UACPtB,KAAM,UACNuB,MAAO,UACPC,KAAM,WAERC,KAAM,CACJC,OAAQ,UACRC,OAAQ,UACR3B,KAAM,UACN4B,OAAQ,UACRC,MAAO,WAETC,OAAQ,CACNC,SAAU,UACVC,SAAU,UACVhC,KAAM,UACNi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