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K,QAAU,C","sources":["webpack://spartner/./node_modules/@10d/tend-ui-notifications/node_modules/@10d/tend-ui/primitives/Avatar/components/Root/styled.js","webpack://spartner/./node_modules/@10d/tend-ui-notifications/node_modules/@10d/tend-ui/primitives/Avatar/contexts/AvatarContext.js","webpack://spartner/./node_modules/@10d/tend-ui-notifications/node_modules/@10d/tend-ui/primitives/Avatar/components/Root/Root.js","webpack://spartner/./node_modules/@10d/tend-ui-notifications/node_modules/@10d/tend-ui/primitives/Avatar/components/Image/styled.js","webpack://spartner/./node_modules/@10d/tend-ui-notifications/node_modules/@10d/tend-ui/primitives/Avatar/components/Image/Image.js","webpack://spartner/./node_modules/@10d/tend-ui-notifications/node_modules/@10d/tend-ui/primitives/Avatar/hooks/useImageLoadingStatus.js","webpack://spartner/./node_modules/@10d/tend-ui-notifications/node_modules/@10d/tend-ui/primitives/Avatar/components/Fallback/styled.js","webpack://spartner/./node_modules/@10d/tend-ui-notifications/node_modules/@10d/tend-ui/primitives/Avatar/components/Fallback/Fallback.js","webpack://spartner/./node_modules/@10d/tend-ui-notifications/node_modules/@10d/tend-ui/primitives/Avatar/Unknown.js","webpack://spartner/./node_modules/@10d/tend-ui-notifications/node_modules/@10d/tend-ui/primitives/Avatar/UnknownGroup.js","webpack://spartner/./node_modules/@10d/tend-ui-notifications/node_modules/@10d/tend-ui/primitives/Avatar/components/Avatar/Avatar.js","webpack://spartner/./node_modules/@10d/tend-ui-notifications/node_modules/@10d/tend-ui/primitives/Avatar/components/List/styled.js","webpack://spartner/./node_modules/@10d/tend-ui-notifications/node_modules/@10d/tend-ui/primitives/Avatar/components/List/List.js","webpack://spartner/./node_modules/@10d/tend-ui-notifications/node_modules/@10d/tend-ui/primitives/Avatar/Avatar.js","webpack://spartner/./node_modules/@10d/tend-ui-notifications/node_modules/@10d/tend-ui/primitives/Badge/styled.js","webpack://spartner/./node_modules/@10d/tend-ui-notifications/node_modules/@10d/tend-ui/primitives/Badge/Badge.js","webpack://spartner/./node_modules/@10d/tend-ui-notifications/node_modules/@10d/tend-ui/primitives/Checkbox/styled.js","webpack://spartner/./node_modules/@10d/tend-ui-notifications/node_modules/@10d/tend-ui/primitives/Checkbox/Group.js","webpack://spartner/./node_modules/@10d/tend-ui-notifications/node_modules/@10d/tend-ui/primitives/Checkbox/Checkbox.js","webpack://spartner/./node_modules/@10d/tend-ui-notifications/node_modules/@10d/tend-ui/primitives/DatePicker/contexts/DatePickerContext.js","webpack://spartner/./node_modules/@10d/tend-ui-notifications/node_modules/@10d/tend-ui/primitives/DatePicker/contexts/DatePickerVisibilityContext.js","webpack://spartner/./node_modules/@10d/tend-ui-notifications/node_modules/@10d/tend-ui/primitives/DatePicker/components/Trigger/Trigger.js","webpack://spartner/./node_modules/@10d/tend-ui-notifications/node_modules/@10d/tend-ui/primitives/DatePicker/components/NextIcon/styled.js","webpack://spartner/./node_modules/@10d/tend-ui-notifications/node_modules/@10d/tend-ui/primitives/DatePicker/components/PrevIcon/styled.js","webpack://spartner/./node_modules/@10d/tend-ui-notifications/node_modules/@10d/tend-ui/primitives/DatePicker/styled.js","webpack://spartner/./node_modules/@10d/tend-ui-notifications/node_modules/@10d/tend-ui/primitives/DatePicker/createPicker.js","webpack://spartner/./node_modules/@10d/tend-ui-notifications/node_modules/@10d/tend-ui/primitives/DatePicker/DatePicker.js","webpack://spartner/./node_modules/@10d/tend-ui-notifications/node_modules/@10d/tend-ui/primitives/Dropdown/styled.js","webpack://spartner/./node_modules/@10d/tend-ui-notifications/node_modules/@10d/tend-ui/primitives/Dropdown/types.js","webpack://spartner/./node_modules/@10d/tend-ui-notifications/node_modules/@10d/tend-ui/primitives/Dropdown/Dropdown.js","webpack://spartner/./node_modules/@10d/tend-ui-notifications/node_modules/@10d/tend-ui/primitives/InputNumber/styled.js","webpack://spartner/./node_modules/@10d/tend-ui-notifications/node_modules/@10d/tend-ui/primitives/InputNumber/InputNumber.js","webpack://spartner/./node_modules/@10d/tend-ui-notifications/node_modules/@10d/tend-ui/primitives/Modal/styled.js","webpack://spartner/./node_modules/@10d/tend-ui-notifications/node_modules/@10d/tend-ui/primitives/Modal/components/ScrollPosition/ScrollPosition.js","webpack://spartner/./node_modules/@10d/tend-ui-notifications/node_modules/@10d/tend-ui/primitives/Modal/Modal.js","webpack://spartner/./node_modules/@10d/tend-ui-notifications/node_modules/@10d/tend-ui/primitives/Radio/components/Group/styled.js","webpack://spartner/./node_modules/@10d/tend-ui-notifications/node_modules/@10d/tend-ui/primitives/Radio/components/Group/Group.js","webpack://spartner/./node_modules/@10d/tend-ui-notifications/node_modules/@10d/tend-ui/primitives/Radio/styled.js","webpack://spartner/./node_modules/@10d/tend-ui-notifications/node_modules/@10d/tend-ui/primitives/Radio/Radio.js","webpack://spartner/./node_modules/@10d/tend-ui-notifications/node_modules/@10d/tend-ui/primitives/RangePicker/styled.js","webpack://spartner/./node_modules/@10d/tend-ui-notifications/node_modules/@10d/tend-ui/primitives/RangePicker/RangePicker.js","webpack://spartner/./node_modules/@10d/tend-ui-notifications/node_modules/@10d/tend-ui/primitives/Select/styled.js","webpack://spartner/./node_modules/@10d/tend-ui-notifications/node_modules/@10d/tend-ui/primitives/Select/Select.js","webpack://spartner/./node_modules/@10d/tend-ui-notifications/node_modules/@10d/tend-ui/primitives/Tabs/More.js","webpack://spartner/./node_modules/@10d/tend-ui-notifications/node_modules/@10d/tend-ui/primitives/Tabs/styled.js","webpack://spartner/./node_modules/@10d/tend-ui-notifications/node_modules/@10d/tend-ui/primitives/Tabs/Tabs.js","webpack://spartner/./node_modules/@10d/tend-ui-notifications/node_modules/@10d/tend-ui/primitives/Toggle/styled.js","webpack://spartner/./node_modules/@10d/tend-ui-notifications/node_modules/@10d/tend-ui/primitives/Toggle/Group/styled.js","webpack://spartner/./node_modules/@10d/tend-ui-notifications/node_modules/@10d/tend-ui/primitives/Toggle/Group/Group.js","webpack://spartner/./node_modules/@10d/tend-ui-notifications/node_modules/@10d/tend-ui/primitives/Toggle/Toggle.js","webpack://spartner/./node_modules/@10d/tend-ui-notifications/node_modules/@10d/tend-ui/primitives/TextArea/styled.js","webpack://spartner/./node_modules/@10d/tend-ui-notifications/node_modules/@10d/tend-ui/primitives/TextArea/TextArea.js","webpack://spartner/./node_modules/@10d/tend-ui-notifications/node_modules/@10d/tend-ui/primitives/Search/styled.js","webpack://spartner/./node_modules/@10d/tend-ui-notifications/node_modules/@10d/tend-ui/primitives/Search/Search.js","webpack://spartner/./node_modules/@10d/tend-ui-notifications/node_modules/@10d/tend-ui/primitives/Password/styled.js","webpack://spartner/./node_modules/@10d/tend-ui-notifications/node_modules/@10d/tend-ui/primitives/Password/Password.js","webpack://spartner/./node_modules/@10d/tend-ui-notifications/node_modules/@10d/tend-ui/primitives/Popover/styled.js","webpack://spartner/./node_modules/@10d/tend-ui-notifications/node_modules/@10d/tend-ui/primitives/Popover/Popover.js","webpack://spartner/./node_modules/@10d/tend-ui-notifications/node_modules/@10d/tend-ui/primitives/Alert/styled.js","webpack://spartner/./node_modules/@10d/tend-ui-notifications/node_modules/@10d/tend-ui/primitives/Alert/Alert.js","webpack://spartner/./node_modules/@10d/tend-ui-notifications/node_modules/@10d/tend-ui/primitives/Toast/styled.js","webpack://spartner/./node_modules/@10d/tend-ui-notifications/node_modules/@10d/tend-ui/primitives/Toast/Toast.js","webpack://spartner/./node_modules/@10d/tend-ui-notifications/node_modules/@10d/tend-ui/primitives/Accordion/styled.js","webpack://spartner/./node_modules/@10d/tend-ui-notifications/node_modules/@10d/tend-ui/primitives/Accordion/Accordion.js","webpack://spartner/./node_modules/@10d/tend-ui-notifications/node_modules/@10d/tend-ui/primitives/Table/styled.js","webpack://spartner/./node_modules/@10d/tend-ui-notifications/node_modules/@10d/tend-ui/primitives/Table/hooks/styled.js","webpack://spartner/./node_modules/@10d/tend-ui-notifications/node_modules/@10d/tend-ui/primitives/Table/components/TextHeader/styled.js","webpack://spartner/./node_modules/@10d/tend-ui-notifications/node_modules/@10d/tend-ui/primitives/Table/components/TextHeader/TextHeader.js","webpack://spartner/./node_modules/@10d/tend-ui-notifications/node_modules/@10d/tend-ui/primitives/Table/components/TextCell/styled.js","webpack://spartner/./node_modules/@10d/tend-ui-notifications/node_modules/@10d/tend-ui/primitives/Table/components/TextCell/TextCell.js","webpack://spartner/./node_modules/@10d/tend-ui-notifications/node_modules/@10d/tend-ui/primitives/Table/Table.js","webpack://spartner/./node_modules/@10d/tend-ui-notifications/node_modules/@10d/tend-ui/primitives/Table/hooks/useSize.js","webpack://spartner/./node_modules/@10d/tend-ui-notifications/node_modules/@10d/tend-ui/primitives/Table/hooks/useColumns.js","webpack://spartner/./node_modules/@10d/tend-ui-notifications/node_modules/@10d/tend-ui/styling/css/scrollbar.js","webpack://spartner/./node_modules/@10d/tend-ui-notifications/node_modules/@10d/tend-ui/primitives/TimePicker/styled.js","webpack://spartner/./node_modules/@10d/tend-ui-notifications/node_modules/@10d/tend-ui/primitives/TimePicker/TimePicker.js","webpack://spartner/./node_modules/@10d/tend-ui-notifications/node_modules/@10d/tend-ui/primitives/Actions/styled.js","webpack://spartner/./node_modules/@10d/tend-ui-notifications/node_modules/@10d/tend-ui/primitives/Actions/Actions.js","webpack://spartner/./node_modules/@10d/tend-ui-notifications/node_modules/@10d/tend-ui/primitives/TimeSelect/hooks.js","webpack://spartner/./node_modules/@10d/tend-ui-notifications/node_modules/@10d/tend-ui/primitives/TimeSelect/TimeSelect.js","webpack://spartner/./node_modules/@10d/tend-ui-notifications/node_modules/@10d/tend-ui/primitives/Card/Card.js","webpack://spartner/./node_modules/@10d/tend-ui-notifications/node_modules/@10d/tend-ui/primitives/Dialog/styled.js","webpack://spartner/./node_modules/@10d/tend-ui-notifications/node_modules/@10d/tend-ui/primitives/Dialog/components/Footer/Footer.js","webpack://spartner/./node_modules/@10d/tend-ui-notifications/node_modules/@10d/tend-ui/primitives/Dialog/components/CloseIcon/CloseIcon.js","webpack://spartner/./node_modules/@10d/tend-ui-notifications/node_modules/@10d/tend-ui/primitives/Dialog/Dialog.js","webpack://spartner/./node_modules/@10d/tend-ui-notifications/node_modules/@10d/tend-ui/primitives/Pagination/styled.js","webpack://spartner/./node_modules/@10d/tend-ui-notifications/node_modules/@10d/tend-ui/primitives/Pagination/Pagination.js","webpack://spartner/./node_modules/@10d/tend-ui-notifications/node_modules/@10d/tend-ui/primitives/Progress/Progress.js","webpack://spartner/./node_modules/@10d/tend-ui-notifications/node_modules/@10d/tend-ui/primitives/Steps/styled.js","webpack://spartner/./node_modules/@10d/tend-ui-notifications/node_modules/@10d/tend-ui/primitives/Steps/Steps.js","webpack://spartner/./node_modules/@10d/tend-ui-notifications/node_modules/@10d/tend-ui/primitives/Segmented/styled.js","webpack://spartner/./node_modules/@10d/tend-ui-notifications/node_modules/@10d/tend-ui/primitives/Segmented/Segmented.js","webpack://spartner/./node_modules/@10d/tend-ui-notifications/node_modules/@10d/tend-ui/primitives/Drawer/styled.js","webpack://spartner/./node_modules/@10d/tend-ui-notifications/node_modules/@10d/tend-ui/primitives/Drawer/components/ScrollPosition/ScrollPosition.js","webpack://spartner/./node_modules/@10d/tend-ui-notifications/node_modules/@10d/tend-ui/primitives/Drawer/Drawer.js","webpack://spartner/./node_modules/@10d/tend-ui-notifications/node_modules/@10d/tend-ui/primitives/Drawer/hooks.js","webpack://spartner/./node_modules/@10d/tend-ui-notifications/node_modules/@10d/tend-ui/primitives/Chips/styled.js","webpack://spartner/./node_modules/@10d/tend-ui-notifications/node_modules/@10d/tend-ui/primitives/Chips/Chip/styled.js","webpack://spartner/./node_modules/@10d/tend-ui-notifications/node_modules/@10d/tend-ui/primitives/Chips/Chip/Chip.js","webpack://spartner/./node_modules/@10d/tend-ui-notifications/node_modules/@10d/tend-ui/primitives/Chips/Chips.js","webpack://spartner/./node_modules/@10d/tend-ui-notifications/node_modules/@10d/tend-ui/primitives/Tree/ExpandButton/styled.js","webpack://spartner/./node_modules/@10d/tend-ui-notifications/node_modules/@10d/tend-ui/primitives/Tree/ExpandButton/ExpandButton.js","webpack://spartner/./node_modules/@10d/tend-ui-notifications/node_modules/@10d/tend-ui/primitives/Tree/styled.js","webpack://spartner/./node_modules/@10d/tend-ui-notifications/node_modules/@10d/tend-ui/primitives/Tree/Tree.js","webpack://spartner/./node_modules/@10d/tend-ui-notifications/node_modules/@10d/tend-ui/primitives/SimpleTable/styled.js","webpack://spartner/./node_modules/@10d/tend-ui-notifications/node_modules/@10d/tend-ui/primitives/SimpleTable/Tbody/styled.js","webpack://spartner/./node_modules/@10d/tend-ui-notifications/node_modules/@10d/tend-ui/primitives/SimpleTable/Tbody/Tbody.js","webpack://spartner/./node_modules/@10d/tend-ui-notifications/node_modules/@10d/tend-ui/primitives/SimpleTable/Thead/styled.js","webpack://spartner/./node_modules/@10d/tend-ui-notifications/node_modules/@10d/tend-ui/primitives/SimpleTable/Thead/Thead.js","webpack://spartner/./node_modules/@10d/tend-ui-notifications/node_modules/@10d/tend-ui/primitives/SimpleTable/Tr/styled.js","webpack://spartner/./node_modules/@10d/tend-ui-notifications/node_modules/@10d/tend-ui/primitives/SimpleTable/Tr/Tr.js","webpack://spartner/./node_modules/@10d/tend-ui-notifications/node_modules/@10d/tend-ui/primitives/SimpleTable/Th/styled.js","webpack://spartner/./node_modules/@10d/tend-ui-notifications/node_modules/@10d/tend-ui/primitives/SimpleTable/contexts/TableContext.js","webpack://spartner/./node_modules/@10d/tend-ui-notifications/node_modules/@10d/tend-ui/primitives/SimpleTable/Th/Th.js","webpack://spartner/./node_modules/@10d/tend-ui-notifications/node_modules/@10d/tend-ui/primitives/SimpleTable/Td/styled.js","webpack://spartner/./node_modules/@10d/tend-ui-notifications/node_modules/@10d/tend-ui/primitives/SimpleTable/Td/Td.js","webpack://spartner/./node_modules/@10d/tend-ui-notifications/node_modules/@10d/tend-ui/primitives/SimpleTable/SimpleTable.js","webpack://spartner/./node_modules/@10d/tend-ui-notifications/node_modules/@10d/tend-ui/primitives/Layout/hooks/useScroll.js","webpack://spartner/./node_modules/@10d/tend-ui-notifications/node_modules/@10d/tend-ui/primitives/Layout/contexts/SizeContext.js","webpack://spartner/./node_modules/@10d/tend-ui-notifications/node_modules/@10d/tend-ui/primitives/Layout/components/Header/styled.js","webpack://spartner/./node_modules/@10d/tend-ui-notifications/node_modules/@10d/tend-ui/primitives/Layout/components/Header/Header.js","webpack://spartner/./node_modules/@10d/tend-ui-notifications/node_modules/@10d/tend-ui/primitives/Layout/components/Footer/styled.js","webpack://spartner/./node_modules/@10d/tend-ui-notifications/node_modules/@10d/tend-ui/primitives/Layout/components/Footer/Footer.js","webpack://spartner/./node_modules/@10d/tend-ui-notifications/node_modules/@10d/tend-ui/primitives/Layout/components/Main/styled.js","webpack://spartner/./node_modules/@10d/tend-ui-notifications/node_modules/@10d/tend-ui/primitives/Layout/components/Main/components/Title/Title.js","webpack://spartner/./node_modules/@10d/tend-ui-notifications/node_modules/@10d/tend-ui/primitives/Layout/components/Main/Main.js","webpack://spartner/./node_modules/@10d/tend-ui-notifications/node_modules/@10d/tend-ui/primitives/Layout/components/Root/styled.js","webpack://spartner/./node_modules/@10d/tend-ui-notifications/node_modules/@10d/tend-ui/primitives/Layout/components/Root/Root.js","webpack://spartner/./node_modules/@10d/tend-ui-notifications/node_modules/@10d/tend-ui/primitives/Layout/components/Content/styled.js","webpack://spartner/./node_modules/@10d/tend-ui-notifications/node_modules/@10d/tend-ui/primitives/Layout/components/Content/Content.js","webpack://spartner/./node_modules/@10d/tend-ui-notifications/node_modules/@10d/tend-ui/primitives/Layout/components/Sider/styled.js","webpack://spartner/./node_modules/@10d/tend-ui-notifications/node_modules/@10d/tend-ui/primitives/Layout/components/Sider/Sider.js","webpack://spartner/./node_modules/@10d/tend-ui-notifications/node_modules/@10d/tend-ui/primitives/Menu/styled.js","webpack://spartner/./node_modules/@10d/tend-ui-notifications/node_modules/@10d/tend-ui/primitives/Menu/Menu.js","webpack://spartner/./node_modules/@10d/tend-ui-notifications/node_modules/@10d/tend-ui/styling/mixins/scrollbar.js","webpack://spartner/./node_modules/@10d/tend-ui-notifications/node_modules/@10d/tend-ui/typography/Typography.js","webpack://spartner/./node_modules/@10d/tend-ui-notifications/node_modules/@10d/tend-ui/ui/Collapse/components/Root/styled.js","webpack://spartner/./node_modules/@10d/tend-ui-notifications/node_modules/@10d/tend-ui/ui/Collapse/contexts/CollapseContext.js","webpack://spartner/./node_modules/@10d/tend-ui-notifications/node_modules/@10d/tend-ui/ui/Collapse/contexts/GroupContext.js","webpack://spartner/./node_modules/@10d/tend-ui-notifications/node_modules/@10d/tend-ui/ui/Collapse/components/Root/Root.js","webpack://spartner/./node_modules/@10d/tend-ui-notifications/node_modules/@10d/tend-ui/ui/Collapse/components/Header/styled.js","webpack://spartner/./node_modules/@10d/tend-ui-notifications/node_modules/@10d/tend-ui/ui/Collapse/components/Header/Header.js","webpack://spartner/./node_modules/@10d/tend-ui-notifications/node_modules/@10d/tend-ui/ui/Collapse/components/Arrow/Arrow.js","webpack://spartner/./node_modules/@10d/tend-ui-notifications/node_modules/@10d/tend-ui/ui/Collapse/components/Content/styled.js","webpack://spartner/./node_modules/@10d/tend-ui-notifications/node_modules/@10d/tend-ui/ui/Collapse/components/Content/Content.js","webpack://spartner/./node_modules/@10d/tend-ui-notifications/node_modules/@10d/tend-ui/ui/Collapse/components/Group/Group.js","webpack://spartner/./node_modules/@10d/tend-ui-notifications/node_modules/@10d/tend-ui/ui/Collapse/Collapse.js","webpack://spartner/./node_modules/@10d/tend-ui-notifications/node_modules/@10d/tend-ui/ui/Divider/styled.js","webpack://spartner/./node_modules/@10d/tend-ui-notifications/node_modules/@10d/tend-ui/ui/Divider/Divider.js","webpack://spartner/./node_modules/@10d/tend-ui-notifications/node_modules/@10d/tend-ui/ui/EmptyOverlay/EmptyOverlay.js","webpack://spartner/./node_modules/@10d/tend-ui-notifications/node_modules/@10d/tend-ui/ui/ErrorOverlay/ErrorOverlay.js","webpack://spartner/./node_modules/@10d/tend-ui-notifications/node_modules/@10d/tend-ui/ui/Scrollable/styled.js","webpack://spartner/./node_modules/@10d/tend-ui-notifications/node_modules/@10d/tend-ui/ui/Scrollable/Scrollable.js","webpack://spartner/./node_modules/@10d/tend-ui-notifications/node_modules/@10d/tend-ui/ui/List/styled.js","webpack://spartner/./node_modules/@10d/tend-ui-notifications/node_modules/@10d/tend-ui/ui/List/Item/styled.js","webpack://spartner/./node_modules/@10d/tend-ui-notifications/node_modules/@10d/tend-ui/ui/List/context/index.js","webpack://spartner/./node_modules/@10d/tend-ui-notifications/node_modules/@10d/tend-ui/ui/List/Item/Item.js","webpack://spartner/./node_modules/@10d/tend-ui-notifications/node_modules/@10d/tend-ui/ui/List/List.js","webpack://spartner/./node_modules/@10d/tend-ui-notifications/node_modules/@10d/tend-ui/ui/Skeleton/styled.js","webpack://spartner/./node_modules/@10d/tend-ui-notifications/node_modules/@10d/tend-ui/ui/Skeleton/Skeleton.js","webpack://spartner/./node_modules/@10d/tend-ui-notifications/node_modules/@10d/tend-ui/ui/Image/styled.js","webpack://spartner/./node_modules/@10d/tend-ui-notifications/node_modules/@10d/tend-ui/ui/Image/Image.js"],"sourcesContent":["import styled, { css } from 'styled-components';\nimport { backgroundColor, pointer } from '@10d/tend-ui-styling';\n\nconst Root = styled.span.attrs({\n $sizes: {\n xl: css `\n width: 80px;\n height: 80px;\n `,\n large: css `\n width: 48px;\n height: 48px;\n `,\n medium: css `\n width: 40px;\n height: 40px;\n `,\n small: css `\n width: 32px;\n height: 32px;\n `,\n },\n}) `\n font-family: Museo Sans Cyrl;\n color: ${props => props.theme.colors.blue600};\n font-size: 14px;\n font-style: normal;\n font-weight: 600;\n line-height: 20px;\n\n box-sizing: border-box;\n position: relative;\n display: inline-flex;\n align-items: center;\n justify-content: center;\n flex-shrink: 0;\n border-radius: 50%;\n ${backgroundColor};\n overflow: hidden;\n ${props => props.$sizes[props.$size]};\n ${pointer};\n border-style: solid;\n border-color: ${props => (props.$bordered ? props.$borderColor : 'transparent')};\n border-width: 2px;\n transition: 0.2s cubic-bezier(0.645, 0.045, 0.355, 1);\n transition-property: border-color;\n\n &:hover {\n border-color: ${props => props.theme.colors.blue100};\n }\n`;\n\nexport { Root };\n//# sourceMappingURL=styled.js.map\n","import { contextFactory } from '../../../factories/contextFactory.js';\n\nconst [AvatarContext, useAvatarContext] = contextFactory();\n\nexport { AvatarContext, useAvatarContext };\n//# sourceMappingURL=AvatarContext.js.map\n","import { __rest } from 'tslib';\nimport React from 'react';\nimport { useTheme, useColor } from '@10d/tend-ui-theme';\nimport { Root as Root$1 } from './styled.js';\nimport { AvatarContext } from '../../contexts/AvatarContext.js';\n\nconst Root = React.forwardRef((_a, ref) => {\n var { children, size = 'medium', className, pointer, bordered, UNSTABLE_styling } = _a, props = __rest(_a, [\"children\", \"size\", \"className\", \"pointer\", \"bordered\", \"UNSTABLE_styling\"]);\n const theme = useTheme();\n const [imageLoadingStatus, setImageLoadingStatus] = React.useState('idle');\n const isSuccess = imageLoadingStatus === 'success';\n const backgroundColor = isSuccess ? 'transparent' : theme.colors.blue100;\n // FIXME: Исправить литеральные типы\n const _borderColor = useColor(UNSTABLE_styling === null || UNSTABLE_styling === void 0 ? void 0 : UNSTABLE_styling.borderColor, theme.colors.blue100);\n return (React.createElement(AvatarContext, { value: React.useMemo(() => ({\n imageLoadingStatus,\n onImageLoadingStatusChange: setImageLoadingStatus,\n }), [imageLoadingStatus]) },\n React.createElement(Root$1, Object.assign({ \"data-testid\": 'tend-ui-avatar-root' }, props, { ref: ref, theme: theme, \"$size\": size, \"$pointer\": pointer, \"$backgroundColor\": backgroundColor, \"$bordered\": bordered, \"$borderColor\": _borderColor, className: ['tend-ui-avatar-root', className].filter(Boolean).join(' ') }), children)));\n});\nRoot.displayName = 'Avatar.Root';\n\nexport { Root };\n//# sourceMappingURL=Root.js.map\n","import styled from 'styled-components';\n\nconst Root = styled.img `\n width: 100%;\n height: 100%;\n object-fit: ${props => props.$objectFit};\n`;\n\nexport { Root };\n//# sourceMappingURL=styled.js.map\n","import { __rest } from 'tslib';\nimport React from 'react';\nimport { useCallbackRef } from '@10d/tend-ui-hooks';\nimport { Root } from './styled.js';\nimport { useImageLoadingStatus } from '../../hooks/useImageLoadingStatus.js';\nimport { useAvatarContext } from '../../contexts/AvatarContext.js';\n\nconst Image = React.forwardRef((_a, ref) => {\n var { children, src, className, fit = 'cover' } = _a, props = __rest(_a, [\"children\", \"src\", \"className\", \"fit\"]);\n const _src = Array.isArray(src) ? undefined : src;\n const imageLoadingStatus = useImageLoadingStatus(_src);\n const context = useAvatarContext();\n const isSuccess = context.imageLoadingStatus === 'success';\n const onLoadingStatusChange = useCallbackRef((status) => {\n context.onImageLoadingStatusChange(status);\n });\n React.useLayoutEffect(() => {\n if (imageLoadingStatus === 'idle')\n return;\n onLoadingStatusChange(imageLoadingStatus);\n }, [imageLoadingStatus, onLoadingStatusChange]);\n if (!isSuccess)\n return null;\n return (React.createElement(Root, Object.assign({ \"data-testid\": 'tend-ui-avatar-image' }, props, { ref: ref, \"$objectFit\": fit, src: _src, className: ['tend-ui-avatar-image', className].filter(Boolean).join(' ') }), children));\n});\nImage.displayName = 'Avatar.Image';\n\nexport { Image };\n//# sourceMappingURL=Image.js.map\n","import React from 'react';\n\nconst useImageLoadingStatus = (src) => {\n const [status, setStatus] = React.useState('idle');\n React.useLayoutEffect(() => {\n if (!src) {\n setStatus('error');\n return;\n }\n let isMounted = true;\n const image = new window.Image();\n setStatus('loading');\n image.onload = () => {\n if (!isMounted)\n return;\n setStatus('success');\n };\n image.onerror = () => {\n if (!isMounted)\n return;\n setStatus('error');\n };\n image.src = src;\n return () => {\n isMounted = false;\n };\n }, [src]);\n return status;\n};\n\nexport { useImageLoadingStatus };\n//# sourceMappingURL=useImageLoadingStatus.js.map\n","import styled from 'styled-components';\n\nconst Root = styled.span ``;\n\nexport { Root };\n//# sourceMappingURL=styled.js.map\n","import { __rest } from 'tslib';\nimport React from 'react';\nimport { useAvatarContext } from '../../contexts/AvatarContext.js';\nimport { Root } from './styled.js';\n\nconst Fallback = React.forwardRef((_a, ref) => {\n var { className } = _a, props = __rest(_a, [\"className\"]);\n const context = useAvatarContext();\n const isSuccess = context.imageLoadingStatus === 'success';\n if (isSuccess)\n return null;\n return (React.createElement(Root, Object.assign({ \"data-testid\": 'tend-ui-avatar-fallback' }, props, { ref: ref, className: ['tend-ui-avatar-fallback', className].filter(Boolean).join(' ') })));\n});\nFallback.displayName = 'Avatar.Fallback';\n\nexport { Fallback };\n//# sourceMappingURL=Fallback.js.map\n","import React from 'react';\nimport { Icon } from '@10d/tend-ui-icons/Icon';\n\nconst sizes = {\n xl: 80,\n large: 43,\n medium: 36,\n small: 29,\n};\nconst Unknown = (props) => {\n return (React.createElement(Icon, { size: sizes[props.size], mt: 8 },\n React.createElement(\"svg\", { width: '1em', height: '1em', viewBox: '0 0 44 40', fill: 'none', xmlns: 'http://www.w3.org/2000/svg' },\n React.createElement(\"path\", { d: 'M22 22C26.9706 22 31 17.9706 31 13C31 8.02944 26.9706 4 22 4C17.0294 4 13 8.02944 13 13C13 17.9706 17.0294 22 22 22Z', fill: '#99CAFE' }),\n React.createElement(\"path\", { d: 'M22 26.5C12.982 26.5 5.638 32.548 5.638 40C5.638 40.504 6.034 40.9 6.538 40.9H37.462C37.966 40.9 38.362 40.504 38.362 40C38.362 32.548 31.018 26.5 22 26.5Z', fill: '#007BFB' }))));\n};\n\nexport { Unknown };\n//# sourceMappingURL=Unknown.js.map\n","import React from 'react';\nimport { Icon } from '@10d/tend-ui-icons/Icon';\n\nconst sizes = {\n xl: 80,\n large: 28,\n medium: 24,\n small: 19,\n};\nconst UnknownGroup = (props) => {\n return (React.createElement(Icon, { size: sizes[props.size] },\n React.createElement(\"svg\", { width: '1em', height: '1em', viewBox: '0 0 30 30', fill: 'none', xmlns: 'http://www.w3.org/2000/svg' },\n React.createElement(\"path\", { d: 'M11.4 3C8.25601 3 5.70001 5.556 5.70001 8.7C5.70001 11.784 8.11201 14.28 11.256 14.388C11.352 14.376 11.448 14.376 11.52 14.388C11.544 14.388 11.556 14.388 11.58 14.388C11.592 14.388 11.592 14.388 11.604 14.388C14.676 14.28 17.088 11.784 17.1 8.7C17.1 5.556 14.544 3 11.4 3Z', fill: '#99CAFE' }),\n React.createElement(\"path\", { d: 'M17.496 17.58C14.148 15.348 8.688 15.348 5.316 17.58C3.792 18.6 2.952 19.98 2.952 21.456C2.952 22.932 3.792 24.3 5.304 25.308C6.984 26.436 9.192 27 11.4 27C13.608 27 15.816 26.436 17.496 25.308C19.008 24.288 19.848 22.92 19.848 21.432C19.836 19.956 19.008 18.588 17.496 17.58Z', fill: '#007BFB' }),\n React.createElement(\"path\", { d: 'M24.588 9.408C24.78 11.736 23.124 13.776 20.832 14.052C20.82 14.052 20.82 14.052 20.808 14.052H20.772C20.7 14.052 20.628 14.052 20.568 14.076C19.404 14.136 18.336 13.764 17.532 13.08C18.768 11.976 19.476 10.32 19.332 8.52C19.248 7.548 18.912 6.66 18.408 5.904C18.864 5.676 19.392 5.532 19.932 5.484C22.284 5.28 24.384 7.032 24.588 9.408Z', fill: '#99CAFE' }),\n React.createElement(\"path\", { d: 'M26.988 20.508C26.892 21.672 26.148 22.68 24.9 23.364C23.7 24.024 22.188 24.336 20.688 24.3C21.552 23.52 22.056 22.548 22.152 21.516C22.272 20.028 21.564 18.6 20.148 17.46C19.344 16.824 18.408 16.32 17.388 15.948C20.04 15.18 23.376 15.696 25.428 17.352C26.532 18.24 27.096 19.356 26.988 20.508Z', fill: '#007BFB' }))));\n};\n\nexport { UnknownGroup };\n//# sourceMappingURL=UnknownGroup.js.map\n","import { __rest } from 'tslib';\nimport React from 'react';\nimport { isUndefined } from '@10d/tend-ui-utils';\nimport { Badge } from '../../../Badge/Badge.js';\nimport { Image } from '../Image/Image.js';\nimport { Fallback } from '../Fallback/Fallback.js';\nimport { Root } from '../Root/Root.js';\nimport { Unknown } from '../../Unknown.js';\nimport { UnknownGroup } from '../../UnknownGroup.js';\n\nconst presets = {\n online: 'green',\n offline: 'gray',\n away: 'yellow',\n busy: 'red',\n};\nconst BaseAvatar = (_a, ref) => {\n var { size = 'medium', fit, children, status, src, pointer = false, bordered = false, UNSTABLE_styling } = _a, props = __rest(_a, [\"size\", \"fit\", \"children\", \"status\", \"src\", \"pointer\", \"bordered\", \"UNSTABLE_styling\"]);\n const _src = Array.isArray(src) ? undefined : src;\n const fallbackNode = React.useMemo(() => {\n if (Array.isArray(src))\n return React.createElement(UnknownGroup, { size: size });\n return React.createElement(Unknown, { size: size });\n }, [src, size]);\n const badgeProps = React.useMemo(() => {\n if (typeof status === 'object')\n return status;\n const preset = presets[status || 'online'];\n return {\n preset,\n offset: [0, 0],\n placement: 'rightBottom',\n };\n }, [status]);\n const content = React.useMemo(() => {\n if (isUndefined(children))\n return (React.createElement(React.Fragment, null,\n React.createElement(Image, Object.assign({}, props, { src: _src, fit: fit })),\n React.createElement(Fallback, Object.assign({}, props), fallbackNode)));\n return React.createElement(Fallback, Object.assign({}, props), children);\n }, [_src, children, fallbackNode, fit, props]);\n const child = (React.createElement(Root, { ref: ref, size: size, pointer: pointer, bordered: bordered, UNSTABLE_styling: UNSTABLE_styling }, content));\n return status ? React.createElement(Badge, Object.assign({}, badgeProps), child) : child;\n};\nconst Avatar = React.forwardRef(BaseAvatar);\nAvatar.displayName = 'Avatar';\n\nexport { Avatar };\n//# sourceMappingURL=Avatar.js.map\n","import styled from 'styled-components';\n\nconst Root = styled.span `\n display: inline-flex;\n\n & > span:not(:first-child) {\n margin-left: -8px;\n }\n`;\n\nexport { Root };\n//# sourceMappingURL=styled.js.map\n","import { __rest } from 'tslib';\nimport React from 'react';\nimport { isUndefined } from '@10d/tend-ui-utils';\nimport { Avatar } from '../Avatar/Avatar.js';\nimport { Root } from './styled.js';\n\nconst List = React.forwardRef((_a, ref) => {\n var { children, max } = _a, props = __rest(_a, [\"children\", \"max\"]);\n const _children = React.useMemo(() => {\n if (isUndefined(max))\n return children;\n const nodes = React.Children.map(children, child => child);\n if (!nodes)\n return children;\n const amount = nodes.length || 0;\n const shown = nodes.slice(0, max);\n const message = `+${amount - max}`;\n shown.push(React.createElement(Avatar, null, message));\n return shown;\n }, [children, max]);\n return (React.createElement(Root, Object.assign({}, props, { ref: ref }), _children));\n});\nList.displayName = 'Avatar.List';\n\nexport { List };\n//# sourceMappingURL=List.js.map\n","import { Root } from './components/Root/Root.js';\nimport { Image } from './components/Image/Image.js';\nimport { Fallback } from './components/Fallback/Fallback.js';\nimport { List } from './components/List/List.js';\nimport { Avatar as Avatar$1 } from './components/Avatar/Avatar.js';\n\nconst Avatar = Object.assign(Avatar$1, {\n Root,\n Image,\n Fallback,\n List,\n});\n\nexport { Avatar };\n//# sourceMappingURL=Avatar.js.map\n","import styled, { css } from 'styled-components';\nimport { pointer } from '@10d/tend-ui-styling';\n\nconst font = css `\n font-family: ${props => props.theme.fonts.museo};\n font-size: 12px;\n font-style: normal;\n font-weight: 400;\n line-height: 16px;\n`;\nconst Content = styled.span `\n ${font}\n`;\nconst Root = styled.span `\n position: relative;\n display: inline-flex;\n align-items: center;\n gap: 8px;\n`;\nconst placementCss = {\n leftTop: css `\n top: 0;\n left: 0;\n `,\n rightTop: css `\n top: 0;\n right: 0;\n `,\n rightBottom: css `\n bottom: 0;\n right: 0;\n `,\n leftBottom: css `\n bottom: 0;\n left: 0;\n `,\n};\nconst Bubble = styled.span `\n ${font};\n ${props => ({\n status: css `\n width: 8px;\n height: 8px;\n border-radius: 50%;\n `,\n dot: css `\n position: absolute;\n z-index: 999;\n ${placementCss[props.$placement || 'rightTop']}\n transform: translate(${props.$offset[0]}px, ${props.$offset[1]}px);\n width: 8px;\n height: 8px;\n border-radius: 50%;\n `,\n counter: css `\n position: absolute;\n z-index: 999;\n ${placementCss[props.$placement || 'leftTop']}\n transform: translate(${props.$offset[0]}px, ${props.$offset[1]}px);\n padding: 0 4px;\n border-radius: 32px;\n `,\n bubble: css `\n padding: ${props.$padding || '2px 8px'};\n border-radius: 28px;\n `,\n}[props.$shape])};\n\n ${props => ({\n default: css `\n background-color: ${props => props.theme.colors.gray50};\n `,\n success: css `\n background-color: ${props => props.theme.colors.green600};\n `,\n warning: css `\n background-color: ${props => props.theme.colors.gold600};\n `,\n processing: css `\n background-color: ${props => props.theme.colors.blue600};\n `,\n error: css `\n background-color: ${props => props.theme.colors.red600};\n `,\n gray: css `\n color: ${props.theme.colors.gray0};\n background-color: ${props.theme.colors.gray650};\n `,\n blue: css `\n color: ${props.theme.colors.gray0};\n background-color: ${props.theme.colors.blue600};\n `,\n geekblue: css `\n color: ${props.theme.colors.gray0};\n background-color: ${props.theme.colors.geekblue600};\n `,\n green: css `\n color: ${props.theme.colors.gray0};\n background-color: ${props.theme.colors.green600};\n `,\n yellow: css `\n color: ${props.theme.colors.gray0};\n background-color: ${props.theme.colors.gold600};\n `,\n red: css `\n color: ${props.theme.colors.gray0};\n background-color: ${props.theme.colors.red600};\n `,\n cyan: css `\n color: ${props.theme.colors.gray0};\n background-color: ${props.theme.colors.cyan600};\n `,\n volcano: css `\n color: ${props.theme.colors.gray0};\n background-color: ${props.theme.colors.volcano600};\n `,\n purple: css `\n color: ${props.theme.colors.gray0};\n background-color: ${props.theme.colors.purple600};\n `,\n 'gray-light': css `\n color: ${props.theme.colors.gray650};\n background-color: ${props.theme.colors.gray50};\n `,\n 'blue-light': css `\n color: ${props.theme.colors.blue700};\n background-color: ${props.theme.colors.blue100};\n `,\n 'geekblue-light': css `\n color: ${props.theme.colors.geekblue600};\n background-color: ${props.theme.colors.geekblue200};\n `,\n 'green-light': css `\n color: ${props.theme.colors.green700};\n background-color: ${props.theme.colors.green100};\n `,\n 'yellow-light': css `\n color: ${props.theme.colors.gold800};\n background-color: ${props.theme.colors.gold200};\n `,\n 'red-light': css `\n color: ${props.theme.colors.red700};\n background-color: ${props.theme.colors.red100};\n `,\n 'cyan-light': css `\n color: ${props.theme.colors.cyan800};\n background-color: ${props.theme.colors.cyan100};\n `,\n 'volcano-light': css `\n color: ${props.theme.colors.volcano700};\n background-color: ${props.theme.colors.volcano100};\n `,\n 'purple-light': css `\n color: ${props.theme.colors.purple500};\n background-color: ${props.theme.colors.purple100};\n `,\n}[props.$preset])};\n\n ${pointer};\n`;\n\nexport { Bubble, Content, Root };\n//# sourceMappingURL=styled.js.map\n","import { __rest } from 'tslib';\nimport React from 'react';\nimport { isNumber } from '@10d/tend-ui-utils/isNumber';\nimport { useTheme } from '@10d/tend-ui-theme';\nimport { Bubble, Root, Content } from './styled.js';\n\nconst BaseBadge = (_a, ref) => {\n var { showZero = false, preset = 'red', before, after, children, inner, max = 99, offset = [8, -10], padding, placement, className, rootClassName, variant } = _a, props = __rest(_a, [\"showZero\", \"preset\", \"before\", \"after\", \"children\", \"inner\", \"max\", \"offset\", \"padding\", \"placement\", \"className\", \"rootClassName\", \"variant\"]);\n const theme = useTheme();\n const hasChildren = typeof children !== 'undefined';\n const hasInner = typeof inner !== 'undefined';\n const isStatus = !hasChildren && !hasInner;\n const isDot = hasChildren && !hasInner;\n const isCounter = hasChildren && hasInner;\n const shape = (() => {\n if (variant)\n return variant;\n if (isStatus)\n return 'status';\n if (isDot)\n return 'dot';\n if (isCounter)\n return 'counter';\n return 'bubble';\n })();\n const content = (() => {\n // as a counter\n if (isNumber(inner)) {\n if (showZero) {\n if (inner >= max)\n return `${max}+`;\n return inner;\n }\n if (inner <= 0)\n return null;\n if (inner >= max)\n return `${max}+`;\n }\n // custom content\n return inner;\n })();\n const isCounterVariant = shape === 'counter';\n const _content = React.useMemo(() => (React.createElement(Bubble, Object.assign({ \"data-testid\": 'tend-ui-badge' }, props, { theme: theme, \"$shape\": shape, \"$preset\": preset, \"$offset\": offset, \"$padding\": padding, \"$placement\": placement, \"$pointer\": !!props.onClick, title: isNumber(inner) ? `${inner}` : undefined, className: ['tend-ui-badge-badge', className].filter(Boolean).join(' ') }), content)), [className, content, inner, offset, padding, placement, preset, props, shape, theme]);\n return (React.createElement(Root, { ref: ref, theme: theme, className: ['tend-ui-badge-root', rootClassName].filter(Boolean).join(' ') },\n before && React.createElement(Content, { theme: theme }, before),\n children,\n isCounterVariant ? (!!content || isNumber(content)) && _content : _content,\n after && React.createElement(Content, { theme: theme }, after)));\n};\n/**\n * @deprecated Устарело. Используйте `primitives/Counter`, `ui/Dot` и `primitives/Tag` соответственно\n */\nconst Badge = React.forwardRef(BaseBadge);\nBadge.displayName = 'Badge';\n\nexport { Badge };\n//# sourceMappingURL=Badge.js.map\n","import AntCheckbox from 'antd-core/es/checkbox/Checkbox';\nimport AntCheckboxGroup from 'antd-core/es/checkbox/Group';\nimport styled, { css } from 'styled-components';\n\nconst Root = styled(AntCheckbox) `\n /* Aligning checkbox and label to the start */\n .tend-ui-checkbox {\n align-self: flex-start;\n }\n`;\nconst GroupRoot = styled(AntCheckboxGroup) `\n &.tend-ui-checkbox-group {\n .tend-ui-checkbox + span {\n overflow-wrap: anywhere;\n }\n }\n\n ${props => {\n if (props.$layout === 'horizontal')\n return css `\n column-gap: 16px;\n `;\n return css `\n flex-direction: column;\n row-gap: 8px;\n `;\n}}\n ${props => props.$fullWidth &&\n css `\n &.tend-ui-checkbox-group {\n width: 100%;\n .tend-ui-checkbox + span {\n display: inline-block;\n width: 100%;\n }\n }\n `};\n`;\n\nexport { GroupRoot, Root };\n//# sourceMappingURL=styled.js.map\n","import { __rest } from 'tslib';\nimport React from 'react';\nimport { GroupRoot } from './styled.js';\n\nconst Group = React.forwardRef((_a, ref) => {\n var { layout = 'horizontal', fullWidth = false } = _a, props = __rest(_a, [\"layout\", \"fullWidth\"]);\n return React.createElement(GroupRoot, Object.assign({}, props, { ref: ref, \"$layout\": layout, \"$fullWidth\": fullWidth }));\n});\nGroup.displayName = 'Checkbox.Group';\n\nexport { Group };\n//# sourceMappingURL=Group.js.map\n","import React from 'react';\nimport { Root } from './styled.js';\nimport { Group } from './Group.js';\n\nconst BaseCheckbox = React.forwardRef((props, ref) => {\n return React.createElement(Root, Object.assign({ \"data-testid\": 'tend-ui-checkbox' }, props, { ref: ref }));\n});\nconst Checkbox = Object.assign(BaseCheckbox, {\n displayName: 'Checkbox',\n Group,\n});\n\nexport { Checkbox };\n//# sourceMappingURL=Checkbox.js.map\n","import React from 'react';\n\nconst DatePickerContext = React.createContext(undefined);\nconst useDatePickerContext = () => React.useContext(DatePickerContext);\n\nexport { DatePickerContext, useDatePickerContext };\n//# sourceMappingURL=DatePickerContext.js.map\n","import React from 'react';\n\nconst DatePickerVisibilityContext = React.createContext(undefined);\nconst useDatePickerVisibilityContext = () => React.useContext(DatePickerVisibilityContext);\n\nexport { DatePickerVisibilityContext, useDatePickerVisibilityContext };\n//# sourceMappingURL=DatePickerVisibilityContext.js.map\n","import { __rest } from 'tslib';\nimport React from 'react';\nimport { isString } from 'lodash';\nimport { Button } from '@10d/tend-ui-primitives';\nimport { useDatePickerContext } from '../../contexts/DatePickerContext.js';\nimport { useDatePickerVisibilityContext } from '../../contexts/DatePickerVisibilityContext.js';\n\nconst Trigger = (_a) => {\n var { component: Component, onClick } = _a, props = __rest(_a, [\"component\", \"onClick\"]);\n const context = useDatePickerContext();\n const visibilityContext = useDatePickerVisibilityContext();\n const isInvalid = !!(context === null || context === void 0 ? void 0 : context['aria-invalid']);\n const __value = (context === null || context === void 0 ? void 0 : context.value) || (context === null || context === void 0 ? void 0 : context._value);\n const handleClick = React.useCallback((...parameters) => {\n var _a;\n (_a = visibilityContext === null || visibilityContext === void 0 ? void 0 : visibilityContext.setOpen) === null || _a === void 0 ? void 0 : _a.call(visibilityContext, open => !open);\n onClick === null || onClick === void 0 ? void 0 : onClick(...parameters);\n }, [onClick, visibilityContext]);\n const value = React.useMemo(() => {\n if (!__value)\n return context === null || context === void 0 ? void 0 : context.placeholder;\n if (isString(context === null || context === void 0 ? void 0 : context.format))\n return __value === null || __value === void 0 ? void 0 : __value.format(context.format);\n }, [context === null || context === void 0 ? void 0 : context.format, context === null || context === void 0 ? void 0 : context.placeholder, __value]);\n React.useEffect(() => {\n function onEscape(event) {\n var _a;\n if (event.key !== 'Escape')\n return;\n (_a = visibilityContext === null || visibilityContext === void 0 ? void 0 : visibilityContext.setOpen) === null || _a === void 0 ? void 0 : _a.call(visibilityContext, false);\n }\n window.addEventListener('keydown', onEscape);\n return () => {\n window.removeEventListener('keydown', onEscape);\n };\n }, [visibilityContext]);\n if (!Component)\n return (React.createElement(Button, Object.assign({ \"data-testid\": 'tend-ui-date-picker-trigger', variant: 'link', preset: isInvalid ? 'danger' : undefined }, props, { fullWidth: true, onClick: handleClick }), value));\n return React.createElement(Component, { onClick: handleClick }, value);\n};\nTrigger.displayName = 'DatePicker.Trigger';\n\nexport { Trigger };\n//# sourceMappingURL=Trigger.js.map\n","import styled from 'styled-components';\nimport { colors } from '@10d/tend-ui-tokens/samolet';\nimport { ChevronRight } from '@10d/tend-ui-icons/ChevronRight';\n\nconst NextIcon = styled(ChevronRight) `\n padding: 8px;\n border-radius: 8px;\n border: 1px solid ${colors.gray50};\n transition: all 0.3s;\n &:hover:not(:active) {\n border-color: ${colors.blue600};\n }\n &:active {\n background-color: ${colors.blue100};\n }\n`;\n\nexport { NextIcon };\n//# sourceMappingURL=styled.js.map\n","import styled from 'styled-components';\nimport { colors } from '@10d/tend-ui-tokens/samolet';\nimport { ChevronLeft } from '@10d/tend-ui-icons/ChevronLeft';\n\nconst PrevIcon = styled(ChevronLeft) `\n padding: 8px;\n border-radius: 8px;\n border: 1px solid ${colors.gray50};\n transition: all 0.3s;\n &:hover:not(:active) {\n border-color: ${colors.blue600};\n }\n &:active {\n background-color: ${colors.blue100};\n }\n`;\n\nexport { PrevIcon };\n//# sourceMappingURL=styled.js.map\n","import AntDatePicker from 'antd-core/es/date-picker';\nimport styled, { css } from 'styled-components';\nimport { margin, height } from '@10d/tend-ui-styling';\nimport { withInjectedClassName } from '../../hocs/withInjectedClassName/withInjectedClassName.js';\n\nconst Root = styled(withInjectedClassName(AntDatePicker, 'popupClassName')) `\n &.tend-ui-picker {\n ${props => {\n if (props.$fullWidth)\n return css `\n width: 100%;\n `;\n return css `\n width: ${props.$width};\n `;\n}}\n\n ${margin};\n ${height};\n }\n\n &.tend-ui-picker-dropdown {\n .tend-ui-picker-month-btn {\n text-transform: uppercase;\n }\n\n .tend-ui-picker-header {\n padding: 8px 16px;\n }\n\n .tend-ui-picker-header-super-prev-btn,\n .tend-ui-picker-header-super-next-btn {\n display: none;\n }\n\n .tend-ui-picker-date-panel .tend-ui-picker-body {\n padding: 8px 16px;\n }\n }\n\n &.tend-ui-picker-dropdown .tend-ui-picker-year-panel .tend-ui-picker-cell-inner,\n &.tend-ui-picker-dropdown .tend-ui-picker-quarter-panel .tend-ui-picker-cell-inner,\n &.tend-ui-picker-dropdown .tend-ui-picker-month-panel .tend-ui-picker-cell-inner {\n width: 100%;\n height: 100%;\n display: flex;\n align-items: center;\n justify-content: center;\n text-transform: capitalize;\n }\n`;\n\nexport { Root };\n//# sourceMappingURL=styled.js.map\n","import { __rest } from 'tslib';\nimport React from 'react';\nimport { isUndefined } from '@10d/tend-ui-utils';\nimport { extractMarginProps } from '@10d/tend-ui-styling';\nimport { CalendarMonth } from '@10d/tend-ui-icons/CalendarMonth';\nimport { useSize } from '../../hooks/useSize.js';\nimport { useAllowClear } from '../../hooks/useAllowClear.js';\nimport { useTheme } from '@10d/tend-ui-theme';\nimport { useDatePickerLocale } from '../../hooks/useDatePickerLocale.js';\nimport { Trigger } from './components/Trigger/Trigger.js';\nimport { NextIcon } from './components/NextIcon/styled.js';\nimport { PrevIcon } from './components/PrevIcon/styled.js';\nimport { Root } from './styled.js';\nimport { DatePickerContext } from './contexts/DatePickerContext.js';\nimport { DatePickerVisibilityContext } from './contexts/DatePickerVisibilityContext.js';\n\nconst createPicker = () => {\n const BaseDatePicker = React.forwardRef((_a, ref) => {\n var { fullWidth = false, showToday = false, allowClear = true, open, format = 'DD.MM.YYYY', clearIconTooltip, width = '256px', onChange, onOpenChange, suffixIcon = React.createElement(CalendarMonth, null), size = 'medium' } = _a, props = __rest(_a, [\"fullWidth\", \"showToday\", \"allowClear\", \"open\", \"format\", \"clearIconTooltip\", \"width\", \"onChange\", \"onOpenChange\", \"suffixIcon\", \"size\"]);\n const [_open, _setOpen] = React.useState(open !== null && open !== void 0 ? open : false);\n const [_value, _setValue] = React.useState(props.value);\n const __open = isUndefined(open) ? _open : open;\n const theme = useTheme();\n const _size = useSize(size);\n const allowClearProp = useAllowClear({ allowClear, clearIconTooltip });\n const locale = useDatePickerLocale(props.locale);\n const handleChange = React.useCallback((...parameters) => {\n onChange === null || onChange === void 0 ? void 0 : onChange(...parameters);\n _setValue(parameters[0]);\n }, [onChange]);\n const handleOpenChange = React.useCallback(open => {\n onOpenChange === null || onOpenChange === void 0 ? void 0 : onOpenChange(open);\n _setOpen === null || _setOpen === void 0 ? void 0 : _setOpen(open);\n }, [onOpenChange]);\n const _b = extractMarginProps(props), { rest } = _b, margins = __rest(_b, [\"rest\"]);\n const height = { large: '40px', medium: '32px', small: '24px' }[size];\n return (React.createElement(DatePickerVisibilityContext.Provider, { value: React.useMemo(() => ({ open: _open, setOpen: _setOpen }), [_open]) },\n React.createElement(DatePickerContext.Provider, { value: React.useMemo(() => (Object.assign(Object.assign({ fullWidth,\n format,\n showToday,\n allowClear,\n clearIconTooltip,\n width,\n onChange,\n onOpenChange }, rest), { _value })), [\n _value,\n allowClear,\n clearIconTooltip,\n format,\n fullWidth,\n onChange,\n onOpenChange,\n rest,\n showToday,\n width,\n ]) },\n React.createElement(Root, Object.assign({ \"data-testid\": 'tend-ui-date-picker' }, rest, { ref: ref, \"$fullWidth\": fullWidth, \"$width\": width, \"$height\": height }, margins, { open: __open, size: _size, suffixIcon: suffixIcon, nextIcon: React.createElement(NextIcon, { color: theme.colors.blue600 }), superNextIcon: null, prevIcon: React.createElement(PrevIcon, { color: theme.colors.blue600 }), superPrevIcon: null, format: format, allowClear: allowClearProp, showToday: showToday, locale: locale, onChange: handleChange, onOpenChange: handleOpenChange })))));\n });\n return Object.assign(BaseDatePicker, {\n displayName: 'DatePicker',\n Trigger,\n });\n};\ncreatePicker();\n\nexport { createPicker };\n//# sourceMappingURL=createPicker.js.map\n","import { createPicker } from './createPicker.js';\n\nconst DatePicker = createPicker();\n\nexport { DatePicker };\n//# sourceMappingURL=DatePicker.js.map\n","import AntDropdown from 'antd-core/es/dropdown';\nimport styled from 'styled-components';\nimport { withInjectedClassName } from '../../hocs/withInjectedClassName/withInjectedClassName.js';\nimport { Box } from '@10d/tend-ui-grid';\n\nconst Root = styled(withInjectedClassName(AntDropdown, 'overlayClassName')) ``;\nconst Content = styled(Box) `\n border-radius: 12px;\n background: white;\n box-shadow: 0px 0px 32px 0px rgba(0, 0, 0, 0.1);\n`;\n\nexport { Content, Root };\n//# sourceMappingURL=styled.js.map\n","const isContextMenuItem = (item) => {\n return 'selectable' in item;\n};\n\nexport { isContextMenuItem };\n//# sourceMappingURL=types.js.map\n","import { __rest } from 'tslib';\nimport React from 'react';\nimport { isString } from '@10d/tend-ui-utils/isString';\nimport { ChevronRight } from '@10d/tend-ui-icons/ChevronRight';\nimport { useControllableState } from '@10d/tend-ui-hooks';\nimport { Done } from '@10d/tend-ui-icons/Done';\nimport { Root, Content as Content$1 } from './styled.js';\nimport { isContextMenuItem } from './types.js';\n\nconst flatten = (items) => {\n return items.flatMap(item => {\n if ('children' in item)\n return [item, ...flatten(item.children || [])];\n return item;\n });\n};\nconst Content = ({ children, width, padding = '16px' }) => (React.createElement(Content$1, { className: 'tend-ui-dropdown-content', \"$padding\": padding, \"$width\": width }, children));\nconst BaseDropdown = React.forwardRef((_a, ref) => {\n var { mode = 'single', children, content, dropdownRender, menu, selectedKeys, defaultSelectedKeys, onSelect, items, onClick } = _a, props = __rest(_a, [\"mode\", \"children\", \"content\", \"dropdownRender\", \"menu\", \"selectedKeys\", \"defaultSelectedKeys\", \"onSelect\", \"items\", \"onClick\"]);\n const state = React.useMemo(() => flatten(items || []).reduce((result, cv) => {\n if (!isContextMenuItem(cv))\n return result;\n result[cv.key] = !!cv.selectable;\n return result;\n }, {}), [items]);\n const [_selectedKeys, setSelectedKeys] = useControllableState({\n defaultValue: defaultSelectedKeys,\n value: selectedKeys,\n onChange: onSelect,\n });\n const child = isString(children) ? React.createElement(\"span\", null, children) : children;\n const _dropdownRender = React.useCallback((node) => {\n if (dropdownRender)\n return dropdownRender(node);\n if (content)\n return React.createElement(Content, null, content);\n return node;\n }, [content, dropdownRender]);\n const isSelected = React.useCallback((key) => _selectedKeys === null || _selectedKeys === void 0 ? void 0 : _selectedKeys.includes(key), [_selectedKeys]);\n const handleClick = React.useCallback(info => {\n onClick === null || onClick === void 0 ? void 0 : onClick(info.keyPath);\n const key = info.key;\n const isSelectable = state[key];\n if (!isSelectable)\n return;\n if (mode === 'single') {\n if (_selectedKeys === null || _selectedKeys === void 0 ? void 0 : _selectedKeys.includes(key)) {\n setSelectedKeys([]);\n }\n else {\n setSelectedKeys([key]);\n }\n }\n else {\n if (_selectedKeys === null || _selectedKeys === void 0 ? void 0 : _selectedKeys.includes(key)) {\n setSelectedKeys(p => p === null || p === void 0 ? void 0 : p.filter(v => v !== key));\n }\n else {\n setSelectedKeys(p => [...(p || []), key]);\n }\n }\n }, [_selectedKeys, mode, onClick, setSelectedKeys, state]);\n const _items = React.useMemo(() => {\n function traverse(item) {\n var _a;\n if (isContextMenuItem(item)) {\n return Object.assign(Object.assign({}, item), { itemIcon: isSelected(item.key) ? (React.createElement(Done, { style: { marginLeft: '8px' }, size: 16, color: 'blue600' })) : null });\n }\n if ('children' in item) {\n return Object.assign(Object.assign({}, item), { children: (_a = item.children) === null || _a === void 0 ? void 0 : _a.map(traverse) });\n }\n return item;\n }\n return items === null || items === void 0 ? void 0 : items.map(traverse);\n }, [isSelected, items]);\n const _menu = React.useMemo(() => (Object.assign({ expandIcon: React.createElement(ChevronRight, null), items: _items, onClick: handleClick }, menu)), [_items, handleClick, menu]);\n return (React.createElement(Root, Object.assign({}, props, { ref: ref, dropdownRender: _dropdownRender, menu: _menu }), child));\n});\n/**\n * TODO: Должен быть ContextMenu компонент\n */\nconst Dropdown = Object.assign(BaseDropdown, {\n displayName: 'Dropdown',\n Content,\n});\n\nexport { Dropdown };\n//# sourceMappingURL=Dropdown.js.map\n","import styled, { css } from 'styled-components';\nimport AntInputNumber from 'antd-core/es/input-number';\n\nconst Root = styled(AntInputNumber) `\n ${props => props.$fullWidth &&\n css `\n &.tend-ui-input-number,\n &.tend-ui-input-number-affix-wrapper {\n width: 100%;\n }\n `}\n\n input {\n text-overflow: ellipsis;\n }\n\n &.tend-ui-input-number-affix-wrapper {\n .tend-ui-input-number-prefix,\n .tend-ui-input-number-suffix {\n color: ${props => props.$theme.colors.gray500};\n }\n }\n`;\n\nexport { Root };\n//# sourceMappingURL=styled.js.map\n","import { __rest } from 'tslib';\nimport React from 'react';\nimport { useTheme } from '@10d/tend-ui-theme';\nimport { useSize } from '../../hooks/useSize.js';\nimport { Root } from './styled.js';\n\nconst BaseInputNumber = (_a, ref) => {\n var { fullWidth } = _a, props = __rest(_a, [\"fullWidth\"]);\n const [title, setTitle] = React.useState('');\n const theme = useTheme();\n const size = useSize(props.size);\n const onChange = React.useCallback(value => {\n var _a;\n if (value) {\n setTitle(value.toString());\n }\n (_a = props.onChange) === null || _a === void 0 ? void 0 : _a.call(props, value);\n }, [props]);\n return (React.createElement(Root, Object.assign({ \"data-testid\": 'tend-ui-input-number' }, props, { \"$fullWidth\": fullWidth, \"$theme\": theme, ref: ref, size: size, title: title, onChange: onChange })));\n};\nconst InputNumber = React.forwardRef(BaseInputNumber);\nInputNumber.displayName = 'InputNumber';\n\nexport { InputNumber };\n//# sourceMappingURL=InputNumber.js.map\n","import styled, { css } from 'styled-components';\nimport AntModal from 'antd-core/es/modal/Modal';\nimport { scrollbar } from '../../styling/mixins/scrollbar.js';\n\nconst Root = styled(AntModal).attrs({\n $layout: {\n window: css `\n .tend-ui-modal-content {\n padding: 24px 32px;\n }\n .tend-ui-modal-header {\n padding-bottom: 24px;\n }\n .tend-ui-modal-footer {\n padding-top: 24px;\n }\n `,\n body: css `\n .tend-ui-modal-content {\n max-height: 100%;\n display: flex;\n flex-direction: column;\n }\n .tend-ui-modal-header {\n padding: 24px 32px;\n }\n .tend-ui-modal-body {\n padding: 0 24px;\n margin: 0 8px;\n ${scrollbar}\n }\n .tend-ui-modal-footer {\n padding: 24px 32px;\n }\n `,\n },\n}) `\n &.tend-ui-modal {\n .tend-ui-modal-close {\n width: 24px;\n height: 24px;\n border-radius: 50%;\n background-color: ${props => props.$theme.colors.gray50};\n top: 24px;\n inset-inline-end: 32px;\n }\n ${props => props.$layout[props.$scroll]};\n\n ${props => {\n if (props.$scroll === 'body') {\n return css `\n .tend-ui-modal-content {\n padding: ${props.$noFooter ? '0 0 24px 0' : 0};\n }\n `;\n }\n}}\n }\n`;\n\nexport { Root };\n//# sourceMappingURL=styled.js.map\n","import React from 'react';\nimport { Box } from '@10d/tend-ui-grid';\n\nconst ScrollPosition = ({ children, onScrollPositionChange, }) => {\n const ref = React.useRef(null);\n const [position, setPosition] = React.useState('initial');\n React.useEffect(() => onScrollPositionChange === null || onScrollPositionChange === void 0 ? void 0 : onScrollPositionChange(position), [onScrollPositionChange, position]);\n React.useEffect(() => {\n var _a;\n if (!ref)\n return;\n const drawerScrollableBody = (_a = ref.current) === null || _a === void 0 ? void 0 : _a.closest('.tend-ui-modal-body');\n if (!drawerScrollableBody)\n return;\n const isScrollable = drawerScrollableBody.scrollHeight > drawerScrollableBody.clientHeight;\n if (!isScrollable)\n return;\n function onScroll(event) {\n const e = event.target;\n if (!e)\n return;\n const top = Math.ceil(e.scrollTop);\n const height = Math.ceil(e.scrollHeight - e.offsetHeight);\n if (top === 0) {\n setPosition('top');\n return;\n }\n if (top > 0 && top < height) {\n setPosition('middle');\n return;\n }\n if (top === height) {\n setPosition('bottom');\n return;\n }\n }\n drawerScrollableBody.addEventListener('scroll', onScroll);\n onScrollPositionChange === null || onScrollPositionChange === void 0 ? void 0 : onScrollPositionChange('top');\n return () => {\n drawerScrollableBody.removeEventListener('scroll', onScroll);\n };\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, []);\n return (React.createElement(Box, { ref: ref, \"$height\": '100%', className: 'tend-ui-modal-scroll-position' }, children));\n};\n\nexport { ScrollPosition };\n//# sourceMappingURL=ScrollPosition.js.map\n","import { __rest } from 'tslib';\nimport React from 'react';\nimport { useTranslation } from '@10d/tend-ui-locale';\nimport { isUndefined } from '@10d/tend-ui-utils';\nimport { Close } from '@10d/tend-ui-icons/Close';\nimport { useTheme } from '@10d/tend-ui-theme';\nimport { Button, Tooltip } from '@10d/tend-ui-primitives';\nimport { Box } from '@10d/tend-ui-grid';\nimport { Root } from './styled.js';\nimport { ScrollPosition } from './components/ScrollPosition/ScrollPosition.js';\n\nconst Modal = (_a) => {\n var { footer, okButtonProps, cancelButtonProps, okText = 'Принять', cancelText = 'Отмена', scroll = 'body', size = 'medium', confirmLoading, closeIconTooltip, title, children, centered, style, bodyStyle, width, styles } = _a, props = __rest(_a, [\"footer\", \"okButtonProps\", \"cancelButtonProps\", \"okText\", \"cancelText\", \"scroll\", \"size\", \"confirmLoading\", \"closeIconTooltip\", \"title\", \"children\", \"centered\", \"style\", \"bodyStyle\", \"width\", \"styles\"]);\n const t = useTranslation();\n const theme = useTheme();\n const [headerCSS, setHeaderCSS] = React.useState();\n const [footerCSS, setFooterCSS] = React.useState();\n const isWindowScroll = scroll === 'window';\n const _style = React.useMemo(() => {\n if (centered)\n return style;\n if (isWindowScroll)\n return Object.assign({ top: 100 }, style);\n const value = (style === null || style === void 0 ? void 0 : style.top) || 100;\n const top = typeof value === 'string' ? value : `${value}px`;\n return Object.assign(Object.assign({}, style), { top, height: `calc(100vh - ${top})` });\n }, [centered, isWindowScroll, style]);\n const _bodyStyle = React.useMemo(() => {\n if (centered)\n return bodyStyle;\n if (isWindowScroll)\n return bodyStyle;\n return Object.assign(Object.assign({}, bodyStyle), { overflowY: 'auto' });\n }, [bodyStyle, centered, isWindowScroll]);\n const _width = React.useMemo(() => {\n if (width)\n return width;\n return {\n large: 960,\n medium: 720,\n small: 460,\n }[size];\n }, [size, width]);\n const _styles = React.useMemo(() => (Object.assign(Object.assign({}, styles), { header: Object.assign(Object.assign({}, styles === null || styles === void 0 ? void 0 : styles.header), headerCSS), footer: Object.assign(Object.assign(Object.assign({}, styles === null || styles === void 0 ? void 0 : styles.footer), footerCSS), { margin: 0 }) })), [footerCSS, headerCSS, styles]);\n const noFooter = footer === null;\n const _title = React.useMemo(() => {\n if (!title)\n return title;\n if (Array.isArray(title))\n return (React.createElement(Box, { \"$display\": 'flex', \"$flexDirection\": 'column', \"$alignItems\": 'flex-start', \"$gap\": 8 }, title.map(node => node)));\n return title;\n }, [title]);\n const _footer = React.useMemo(() => {\n var _a, _b;\n if (isUndefined(footer)) {\n return (React.createElement(Box, { \"$display\": 'inline-flex', \"$alignItems\": 'center', \"$gap\": 12 },\n React.createElement(Button, Object.assign({ \"data-testid\": 'tend-ui-modal-cancel-button', variant: 'secondary' }, cancelButtonProps, { onClick: (_a = cancelButtonProps === null || cancelButtonProps === void 0 ? void 0 : cancelButtonProps.onClick) !== null && _a !== void 0 ? _a : props.onCancel }), (cancelButtonProps === null || cancelButtonProps === void 0 ? void 0 : cancelButtonProps.children) || cancelText),\n React.createElement(Button, Object.assign({ \"data-testid\": 'tend-ui-modal-ok-button', loading: confirmLoading }, okButtonProps, { onClick: (_b = okButtonProps === null || okButtonProps === void 0 ? void 0 : okButtonProps.onClick) !== null && _b !== void 0 ? _b : props.onOk }), (okButtonProps === null || okButtonProps === void 0 ? void 0 : okButtonProps.children) || okText)));\n }\n if (Array.isArray(footer))\n return (React.createElement(Box, { \"$display\": 'inline-flex', \"$alignItems\": 'center', \"$gap\": 12 }, footer.map(node => node)));\n return footer;\n }, [\n cancelButtonProps,\n cancelText,\n confirmLoading,\n footer,\n okButtonProps,\n okText,\n props.onCancel,\n props.onOk,\n ]);\n const tooltipProps = React.useMemo(() => {\n if (!closeIconTooltip)\n return { title: t(['general', 'close']) };\n return closeIconTooltip;\n }, [closeIconTooltip, t]);\n return (React.createElement(Root, Object.assign({ \"data-testid\": 'tend-ui-modal' }, props, { \"$theme\": theme, \"$noFooter\": noFooter, \"$scroll\": scroll, centered: centered, title: _title, footer: _footer, width: _width, style: _style, bodyStyle: _bodyStyle, styles: _styles, closeIcon: React.createElement(Tooltip, Object.assign({}, tooltipProps),\n React.createElement(Close, null)) }),\n React.createElement(ScrollPosition, { onScrollPositionChange: React.useCallback(position => {\n switch (position) {\n case 'top':\n setHeaderCSS({});\n setFooterCSS({\n boxShadow: '0px 0px 6px 0px rgba(0, 0, 0, 0.08)',\n });\n break;\n case 'middle':\n setHeaderCSS({\n boxShadow: '0px 0px 6px 0px rgba(0, 0, 0, 0.08)',\n });\n setFooterCSS({\n boxShadow: '0px 0px 6px 0px rgba(0, 0, 0, 0.08)',\n });\n break;\n case 'bottom':\n setHeaderCSS({\n boxShadow: '0px 0px 6px 0px rgba(0, 0, 0, 0.08)',\n });\n setFooterCSS({});\n break;\n }\n }, []) }, children)));\n};\nModal.displayName = 'Modal';\n\nexport { Modal };\n//# sourceMappingURL=Modal.js.map\n","import AntRadio from 'antd-core/es/radio';\nimport styled, { css } from 'styled-components';\n\n// eslint-disable-next-line import/no-named-as-default-member\nconst Root = styled(AntRadio.Group) `\n &.tend-ui-radio-group {\n display: inline-flex;\n\n ${props => {\n if (props.$layout === 'vertical') {\n return css `\n flex-direction: column;\n row-gap: 8px;\n `;\n }\n return css `\n .tend-ui-radio-wrapper {\n margin-inline-end: 16px;\n }\n `;\n}}\n\n .tend-ui-radio-wrapper {\n /* Aligning Radio */\n .tend-ui-radio {\n align-self: flex-start;\n }\n\n /* Checked state */\n .tend-ui-radio-checked {\n &:not(.tend-ui-radio-disabled) {\n /* Active state color */\n .tend-ui-radio-inner {\n /* TODO: Replace by token */\n background-color: ${props => props.$theme.colors.gray0};\n\n /* TODO: Replace by token */\n &:after {\n background-color: ${props => props.$theme.colors.blue600};\n }\n }\n }\n }\n }\n ${props => props.$fullWidth &&\n css `\n &.tend-ui-radio-group {\n width: 100%;\n .tend-ui-radio + span {\n display: inline-block;\n width: 100%;\n }\n }\n `};\n }\n`;\n\nexport { Root };\n//# sourceMappingURL=styled.js.map\n","import { __rest } from 'tslib';\nimport React from 'react';\nimport { useTheme } from '@10d/tend-ui-theme';\nimport { Root } from './styled.js';\n\nconst BaseGroup = (_a, ref) => {\n var { layout = 'horizontal', fullWidth = false } = _a, props = __rest(_a, [\"layout\", \"fullWidth\"]);\n const theme = useTheme();\n return (React.createElement(Root, Object.assign({}, props, { ref: ref, \"$theme\": theme, \"$layout\": layout, \"$fullWidth\": fullWidth })));\n};\nconst Group = React.forwardRef(BaseGroup);\nGroup.displayName = 'Radio.Group';\n\nexport { Group };\n//# sourceMappingURL=Group.js.map\n","import AntRadio from 'antd-core/es/radio';\nimport styled from 'styled-components';\n\nconst Root = styled(AntRadio) `\n &.tend-ui-radio-wrapper {\n /* Aligning Radio */\n .tend-ui-radio {\n align-self: flex-start;\n }\n\n /* Checked state */\n .tend-ui-radio-checked {\n &:not(.tend-ui-radio-disabled) {\n /* Active state color */\n .tend-ui-radio-inner {\n /* TODO: Replace by token */\n background-color: ${props => props.$theme.colors.gray0};\n\n /* TODO: Replace by token */\n &:after {\n background-color: ${props => props.$theme.colors.blue600};\n }\n }\n }\n }\n }\n`;\n\nexport { Root };\n//# sourceMappingURL=styled.js.map\n","import React from 'react';\nimport { useTheme } from '@10d/tend-ui-theme';\nimport { Group } from './components/Group/Group.js';\nimport { Root } from './styled.js';\n\nconst BaseRadio = (props, ref) => {\n const theme = useTheme();\n return React.createElement(Root, Object.assign({ \"data-testid\": 'tend-ui-radio' }, props, { ref: ref, \"$theme\": theme }));\n};\nconst ForwardedRadio = React.forwardRef(BaseRadio);\nconst Radio = Object.assign(ForwardedRadio, {\n displayName: 'Radio',\n Group,\n Button: Root.Button,\n});\n\nexport { Radio };\n//# sourceMappingURL=Radio.js.map\n","import AntDatePicker from 'antd-core/es/date-picker';\nimport styled, { css } from 'styled-components';\nimport { colors } from '@10d/tend-ui-tokens/samolet';\nimport { margin, height } from '@10d/tend-ui-styling';\nimport { ChevronLeft } from '@10d/tend-ui-icons/ChevronLeft';\nimport { ChevronRight } from '@10d/tend-ui-icons/ChevronRight';\nimport { withInjectedClassName } from '../../hocs/withInjectedClassName/withInjectedClassName.js';\n\nconst Root = styled(withInjectedClassName(AntDatePicker.RangePicker, 'popupClassName')) `\n &.tend-ui-picker {\n ${props => {\n if (props.$fullWidth)\n return css `\n width: 100%;\n `;\n return css `\n width: ${props.$width};\n `;\n}}\n\n ${margin};\n ${height};\n }\n\n &.tend-ui-picker-dropdown {\n .tend-ui-picker-month-btn {\n text-transform: uppercase;\n }\n\n .tend-ui-picker-header {\n padding: 8px 16px;\n }\n\n .tend-ui-picker-header-super-prev-btn,\n .tend-ui-picker-header-super-next-btn {\n display: none;\n }\n\n .tend-ui-picker-date-panel .tend-ui-picker-body {\n padding: 8px 16px;\n }\n }\n\n &.tend-ui-picker-dropdown .tend-ui-picker-year-panel .tend-ui-picker-cell-inner,\n &.tend-ui-picker-dropdown .tend-ui-picker-quarter-panel .tend-ui-picker-cell-inner,\n &.tend-ui-picker-dropdown .tend-ui-picker-month-panel .tend-ui-picker-cell-inner {\n width: 100%;\n height: 100%;\n display: flex;\n align-items: center;\n justify-content: center;\n text-transform: capitalize;\n }\n\n &.tend-ui-picker-dropdown\n .tend-ui-picker-cell-in-view.tend-ui-picker-cell-range-start:not(\n .tend-ui-picker-cell-range-start-single\n ):not(.tend-ui-picker-cell-range-end)\n .tend-ui-picker-cell-inner {\n border-start-end-radius: 8px;\n border-end-end-radius: 8px;\n }\n\n &.tend-ui-picker-dropdown\n .tend-ui-picker-cell-in-view.tend-ui-picker-cell-range-end:not(\n .tend-ui-picker-cell-range-end-single\n ):not(.tend-ui-picker-cell-range-start)\n .tend-ui-picker-cell-inner {\n border-start-start-radius: 8px;\n border-end-start-radius: 8px;\n }\n`;\nconst PrevIcon = styled(ChevronLeft) `\n padding: 8px;\n border-radius: 8px;\n border: 1px solid ${colors.gray50};\n transition: all 0.3s;\n &:hover:not(:active) {\n border-color: ${colors.blue600};\n }\n &:active {\n background-color: ${colors.blue100};\n }\n`;\nconst NextIcon = styled(ChevronRight) `\n padding: 8px;\n border-radius: 8px;\n border: 1px solid ${colors.gray50};\n transition: all 0.3s;\n &:hover:not(:active) {\n border-color: ${colors.blue600};\n }\n &:active {\n background-color: ${colors.blue100};\n }\n`;\n\nexport { NextIcon, PrevIcon, Root };\n//# sourceMappingURL=styled.js.map\n","import { __rest } from 'tslib';\nimport React from 'react';\nimport { extractMarginProps } from '@10d/tend-ui-styling';\nimport { CalendarMonth } from '@10d/tend-ui-icons/CalendarMonth';\nimport { useSize } from '../../hooks/useSize.js';\nimport { useAllowClear } from '../../hooks/useAllowClear.js';\nimport { useTheme } from '@10d/tend-ui-theme';\nimport { useDatePickerLocale } from '../../hooks/useDatePickerLocale.js';\nimport { Root, NextIcon, PrevIcon } from './styled.js';\n\nconst RangePicker = React.forwardRef((_a, ref) => {\n var { allowClear = true, fullWidth = false, format = 'DD.MM.YYYY', clearIconTooltip, width = '256px', size = 'medium' } = _a, props = __rest(_a, [\"allowClear\", \"fullWidth\", \"format\", \"clearIconTooltip\", \"width\", \"size\"]);\n const theme = useTheme();\n const _size = useSize(size);\n const allowClearProp = useAllowClear({ allowClear, clearIconTooltip });\n const locale = useDatePickerLocale(props.locale);\n const _b = extractMarginProps(props), { rest } = _b, margins = __rest(_b, [\"rest\"]);\n const height = React.useMemo(() => ({ large: '40px', medium: '32px', small: '24px' }[size]), [size]);\n return (React.createElement(Root, Object.assign({ \"data-testid\": 'tend-ui-range-picker' }, rest, margins, { ref: ref, \"$fullWidth\": fullWidth, \"$width\": width, \"$height\": height, size: _size, suffixIcon: React.createElement(CalendarMonth, null), nextIcon: React.createElement(NextIcon, { color: theme.colors.blue600 }), superNextIcon: null, prevIcon: React.createElement(PrevIcon, { color: theme.colors.blue600 }), superPrevIcon: null, format: format, allowClear: allowClearProp, locale: locale })));\n});\nRangePicker.displayName = 'RangePicker';\n\nexport { RangePicker };\n//# sourceMappingURL=RangePicker.js.map\n","import styled, { css } from 'styled-components';\nimport Select from 'antd-core/es/select';\nimport { ChevronDown } from '@10d/tend-ui-icons/ChevronDown';\nimport { withInjectedClassName } from '../../hocs/withInjectedClassName/withInjectedClassName.js';\n\nconst ArrowIcon = styled(ChevronDown) `\n ${props => props.$disabled &&\n css `\n cursor: not-allowed;\n pointer-events: none;\n `}\n transform: ${props => (props.$open ? 'rotate(180deg)' : 'rotate(0)')};\n`;\nconst Root = styled(withInjectedClassName(Select, 'popupClassName')) `\n &.tend-ui-select {\n ${({ $fullWidth = false, $width = '256px' }) => {\n if ($fullWidth)\n return css `\n width: 100%;\n `;\n return css `\n width: ${$width};\n `;\n}}\n\n /* Single Small */\n &.tend-ui-select-single.tend-ui-select-sm {\n .tend-ui-select-selection-search {\n padding-right: 16px;\n }\n &:not(.tend-ui-select-customize-input) {\n .tend-ui-select-selector {\n /* Side padding */\n padding: 0 8px;\n }\n }\n }\n\n /* Single Medium */\n &.tend-ui-select-single:not(.tend-ui-select-lg):not(.tend-ui-select-sm) {\n .tend-ui-select-selection-search {\n padding-right: 32px;\n }\n &:not(.tend-ui-select-customize-input) {\n .tend-ui-select-selector {\n /* Side padding */\n padding: 0 8px;\n .tend-ui-select-selection-search {\n /* Compensate left side padding */\n /* https://hd.samoletgroup.ru/browse/CSE-9668 */\n inset-inline-start: 7px;\n }\n }\n }\n }\n\n /* Single Large */\n &.tend-ui-select-single.tend-ui-select-lg:not(.tend-ui-select-customize-input) {\n .tend-ui-select-selection-search {\n padding-right: 32px;\n }\n .tend-ui-select-selector {\n padding: 4px 12px;\n }\n }\n\n /* Aligning icons and fix icon-margin */\n .tend-ui-select-selection-placeholder {\n display: inline-flex;\n align-items: center;\n\n & > .anticon {\n margin-right: 8px;\n }\n }\n\n /* Multiple select */\n &.tend-ui-select-multiple {\n .tend-ui-select-selection-search {\n margin-right: 20px;\n }\n .tend-ui-select-selection-item {\n color: ${props => props.$theme.colors.gray900};\n font-size: 12px;\n height: 16px;\n\n .tend-ui-select-selection-item-content {\n line-height: initial;\n }\n }\n }\n\n /* Offsetting the clear icon to the left */\n .tend-ui-select-clear {\n display: inline-flex;\n align-items: center;\n justify-content: center;\n inset-inline-end: 30px;\n }\n }\n\n /* Dropdown styles */\n &.tend-ui-select-dropdown {\n padding: 12px 0;\n\n .rc-virtual-list-scrollbar-vertical {\n background: ${props => props.$theme.colors.gray50};\n border-radius: 16px;\n margin-right: 4px;\n visibility: visible !important;\n }\n\n .rc-virtual-list-scrollbar-thumb {\n background: ${props => props.$theme.colors.gray150} !important;\n }\n\n .tend-ui-select-item {\n border-radius: 0;\n ${props => props.$multi &&\n css `\n display: flex;\n flex-direction: row-reverse;\n gap: 12px;\n `}\n }\n\n .tend-ui-select-item-option-selected {\n &:not(.tend-ui-select-item-option-disabled) {\n &:hover {\n background-color: ${props => props.$theme.colors.gray50};\n }\n }\n }\n }\n /*\n TODO: A bit messy workaround, probably might be a better solution\n https://github.com/styled-components/styled-components/issues/1803\n */\n`;\n\nexport { ArrowIcon, Root };\n//# sourceMappingURL=styled.js.map\n","import { __rest } from 'tslib';\nimport React from 'react';\nimport { Close } from '@10d/tend-ui-icons/Close';\nimport { Done } from '@10d/tend-ui-icons/Done';\nimport { useTheme } from '@10d/tend-ui-theme';\nimport { useAllowClear } from '../../hooks/useAllowClear.js';\nimport { useSize } from '../../hooks/useSize.js';\nimport { Spinner } from '@10d/tend-ui-primitives';\nimport { Box } from '@10d/tend-ui-grid';\nimport { Checkbox } from '../Checkbox/Checkbox.js';\nimport { ArrowIcon, Root } from './styled.js';\n\nconst BaseSelect = (_a, ref) => {\n var { fullWidth, width, maxTagCount = 2, allowClear, clearIconTooltip, loading = false, disabled, notFoundContent, dropdownRender, onDropdownVisibleChange, open, customSuffixIcon } = _a, props = __rest(_a, [\"fullWidth\", \"width\", \"maxTagCount\", \"allowClear\", \"clearIconTooltip\", \"loading\", \"disabled\", \"notFoundContent\", \"dropdownRender\", \"onDropdownVisibleChange\", \"open\", \"customSuffixIcon\"]);\n const theme = useTheme();\n const allowClearProp = useAllowClear({ allowClear, clearIconTooltip });\n const size = useSize(props.size);\n const [innerOpen, setInnerOpen] = React.useState(false);\n const isMultiple = props.mode === 'multiple';\n const openProp = typeof open === 'boolean' ? open : innerOpen;\n const handleDropdownVisibleChange = React.useCallback((flag) => {\n setInnerOpen(flag);\n onDropdownVisibleChange === null || onDropdownVisibleChange === void 0 ? void 0 : onDropdownVisibleChange(flag);\n }, [onDropdownVisibleChange]);\n const maxTagPlaceholder = React.useCallback((values) => {\n return `+${values.length}`;\n }, []);\n const handleArrowClick = React.useCallback(() => {\n if (disabled)\n return;\n setInnerOpen(prevOpen => !prevOpen);\n onDropdownVisibleChange === null || onDropdownVisibleChange === void 0 ? void 0 : onDropdownVisibleChange(!openProp);\n }, [onDropdownVisibleChange, openProp, disabled]);\n const suffixIcon = React.useMemo(() => {\n if (loading)\n return React.createElement(Spinner, { size: 'xs' });\n if (customSuffixIcon !== undefined)\n return customSuffixIcon;\n return (React.createElement(ArrowIcon, { size: 16, \"$disabled\": disabled, \"$open\": openProp, onClick: handleArrowClick }));\n }, [loading, customSuffixIcon, disabled, openProp, handleArrowClick]);\n const notFoundContentProp = React.useMemo(() => {\n if (loading)\n return React.createElement(Box, { \"$height\": '200px' });\n if (notFoundContent)\n return notFoundContent;\n }, [loading, notFoundContent]);\n const dropdownRenderProp = React.useCallback((menu) => {\n const children = dropdownRender ? dropdownRender(menu) : menu;\n return (React.createElement(Spinner, { loading: loading, color: theme.colors.blue600, size: 'small' }, children));\n }, [dropdownRender, loading, theme.colors.blue600]);\n const menuItemSelectedIcon = React.useMemo(() => {\n if (isMultiple)\n return (props) => React.createElement(Checkbox, { checked: props.isSelected });\n return React.createElement(Done, null);\n }, [isMultiple]);\n return (React.createElement(Root, Object.assign({ \"data-testid\": 'tend-ui-select', maxTagPlaceholder: maxTagPlaceholder, open: openProp, menuItemSelectedIcon: menuItemSelectedIcon }, props, { ref: ref, \"$theme\": theme, \"$fullWidth\": fullWidth, \"$width\": width, \"$multi\": isMultiple, loading: loading, disabled: disabled, allowClear: allowClearProp, onDropdownVisibleChange: handleDropdownVisibleChange, maxTagCount: maxTagCount, suffixIcon: suffixIcon, removeIcon: React.createElement(Close, { color: theme.colors.gray900 }), size: size, notFoundContent: notFoundContentProp, dropdownRender: dropdownRenderProp })));\n};\nconst Select = React.forwardRef(BaseSelect);\nSelect.displayName = 'Select';\n\nexport { Select };\n//# sourceMappingURL=Select.js.map\n","import React from 'react';\nimport styled from 'styled-components';\nimport { ChevronDown } from '@10d/tend-ui-icons/ChevronDown';\n\nconst Wrapper = styled.span `\n /* TODO: Move to a token */\n font-size: 14px;\n\n display: inline-flex;\n align-items: center;\n`;\nconst More = ({ children = 'Ещë' }) => {\n return (React.createElement(Wrapper, null,\n children,\n React.createElement(ChevronDown, null)));\n};\n\nexport { More };\n//# sourceMappingURL=More.js.map\n","import styled, { css } from 'styled-components';\nimport AntTabs from 'antd-core/es/tabs';\nimport { withInjectedClassName } from '../../hocs/withInjectedClassName/withInjectedClassName.js';\n\nconst Root = styled(withInjectedClassName(AntTabs, 'popupClassName')) `\n /* Component styling */\n .tend-ui-tabs-ink-bar {\n border-radius: 16px 16px 0 0;\n }\n\n ${props => !props.$customMoreIcon &&\n css `\n &&& {\n .tend-ui-tabs-nav-more[aria-expanded='true'] {\n color: ${props.$theme.colors.blue600};\n\n .anticon {\n transform: rotate(180deg);\n }\n\n &:before {\n content: '';\n position: absolute;\n bottom: 0;\n left: 0;\n width: 100%;\n height: 2px;\n border-radius: 16px 16px 0 0;\n background-color: ${props.$theme.colors.blue600};\n }\n }\n }\n `}\n\n .tend-ui-tabs-nav .tend-ui-tabs-tab {\n font-weight: 400;\n }\n\n /* Dropdown styling */\n &.tend-ui-tabs-dropdown {\n .tend-ui-tabs-dropdown-menu-item {\n padding: 10px 16px;\n\n &:not(.tend-ui-tabs-dropdown-menu-item-disabled):hover {\n background: ${props => props.$theme.colors.blue100};\n }\n }\n\n .tend-ui-tabs-dropdown-menu {\n padding: 0;\n }\n }\n`;\n\nexport { Root };\n//# sourceMappingURL=styled.js.map\n","import { __rest } from 'tslib';\nimport React from 'react';\nimport { useTheme } from '@10d/tend-ui-theme';\nimport { useSize } from '../../hooks/useSize.js';\nimport { More } from './More.js';\nimport { Root } from './styled.js';\n\nconst Tabs = React.forwardRef((_a, ref) => {\n var { moreText } = _a, props = __rest(_a, [\"moreText\"]);\n const theme = useTheme();\n const hasMoreIcon = typeof props.moreIcon !== 'undefined';\n const size = useSize(props.size);\n return (React.createElement(Root, Object.assign({ \"data-testid\": 'tend-ui-tabs', moreIcon: React.createElement(More, null, moreText) }, props, { ref: ref, \"$customMoreIcon\": hasMoreIcon, \"$theme\": theme, size: size })));\n});\nTabs.displayName = 'Tabs';\n\nexport { Tabs };\n//# sourceMappingURL=Tabs.js.map\n","import styled, { css } from 'styled-components';\n\nconst Container = styled.label `\n ${props => {\n if (props.$disabled) {\n return css `\n cursor: not-allowed;\n `;\n }\n return css `\n cursor: pointer;\n `;\n}}\n\n display: inline-flex;\n align-items: flex-start;\n gap: 8px;\n`;\n\nexport { Container };\n//# sourceMappingURL=styled.js.map\n","import styled, { css } from 'styled-components';\n\nconst Root = styled.div `\n display: flex;\n\n ${props => {\n if (props.$layout === 'vertical') {\n return css `\n flex-direction: column;\n gap: 8px;\n `;\n }\n return css `\n gap: 24px;\n `;\n}}\n`;\n\nexport { Root };\n//# sourceMappingURL=styled.js.map\n","import React from 'react';\nimport { Root } from './styled.js';\n\nconst Group = ({ layout = 'horizontal', children, className }) => {\n return (React.createElement(Root, { \"$layout\": layout, className: ['tend-ui-toggle-group', className].filter(Boolean).join(' ') }, children));\n};\nGroup.displayName = 'Toggle.Group';\n\nexport { Group };\n//# sourceMappingURL=Group.js.map\n","import { __rest } from 'tslib';\nimport React from 'react';\nimport AntSwitch from 'antd-core/es/switch';\nimport { Text } from '@10d/tend-ui-typography';\nimport { Container } from './styled.js';\nimport { Group } from './Group/Group.js';\n\nconst BaseToggle = React.forwardRef((_a, ref) => {\n var _b;\n var { children, className, style, UNSTABLE_styling } = _a, props = __rest(_a, [\"children\", \"className\", \"style\", \"UNSTABLE_styling\"]);\n return (React.createElement(Container, { className: className, style: style, \"$disabled\": props.disabled },\n React.createElement(AntSwitch, Object.assign({ \"data-testid\": 'tend-ui-toggle' }, props, { ref: ref })),\n React.createElement(Text, { disabled: props.disabled, strong: (_b = UNSTABLE_styling === null || UNSTABLE_styling === void 0 ? void 0 : UNSTABLE_styling.Text) === null || _b === void 0 ? void 0 : _b.strong }, children)));\n});\nconst Toggle = Object.assign(BaseToggle, {\n displayName: 'Toggle',\n Group,\n});\n\nexport { Toggle };\n//# sourceMappingURL=Toggle.js.map\n","import styled, { css } from 'styled-components';\nimport { margin } from '@10d/tend-ui-styling';\nimport { Resizer } from '@10d/tend-ui-icons/Resizer';\n\nconst ResizerIcon = styled(Resizer) `\n pointer-events: none;\n position: absolute;\n bottom: 3px;\n right: 3px;\n z-index: 500;\n`;\nconst Container = styled.div `\n ${props => props.$fullWidth &&\n css `\n width: 100%;\n `}\n\n position: relative;\n\n textarea {\n &::-webkit-resizer {\n display: none;\n }\n }\n\n .tend-ui-input-textarea-show-count {\n .tend-ui-input-data-count {\n bottom: -18px;\n font-size: 12px;\n }\n }\n\n ${margin};\n`;\n\nexport { Container, ResizerIcon };\n//# sourceMappingURL=styled.js.map\n","import { __rest } from 'tslib';\nimport React from 'react';\nimport AntTextArea from 'antd-core/es/input/TextArea';\nimport { extractMarginProps } from '@10d/tend-ui-styling';\nimport { useTheme } from '@10d/tend-ui-theme';\nimport { useAllowClear } from '../../hooks/useAllowClear.js';\nimport { useSize } from '../../hooks/useSize.js';\nimport { useInputTitle } from '../../hooks/useInputTitle.js';\nimport { Container, ResizerIcon } from './styled.js';\n\nconst TextArea = React.forwardRef((_a, ref) => {\n var { className, fullWidth, autoSize = false, size = 'medium' } = _a, props = __rest(_a, [\"className\", \"fullWidth\", \"autoSize\", \"size\"]);\n const theme = useTheme();\n const allowClearProp = useAllowClear(props);\n const _size = useSize(size);\n const bind = useInputTitle(props);\n const textarea = React.useRef(null);\n React.useImperativeHandle(ref, () => textarea.current);\n const _b = extractMarginProps(props), { rest } = _b, margins = __rest(_b, [\"rest\"]);\n return (React.createElement(Container, Object.assign({ theme: theme, className: ['tend-ui-textarea-root', className].filter(Boolean).join(' '), \"$fullWidth\": fullWidth }, margins),\n React.createElement(AntTextArea, Object.assign({ \"data-testid\": 'tend-ui-textarea' }, rest, bind, { ref: textarea, autoSize: autoSize, allowClear: allowClearProp, size: _size })),\n !autoSize && React.createElement(ResizerIcon, { size: 12, color: 'gray500' })));\n});\nTextArea.displayName = 'TextArea';\n\nexport { TextArea };\n//# sourceMappingURL=TextArea.js.map\n","import AntSearch from 'antd-core/es/input/Search';\nimport styled from 'styled-components';\nimport { width, margin } from '@10d/tend-ui-styling';\n\nconst Root = styled(AntSearch) `\n input {\n text-overflow: ellipsis;\n }\n\n .tend-ui-input-prefix,\n .tend-ui-input-suffix {\n color: ${props => props.$theme.colors.gray500};\n }\n\n &.tend-ui-input-search {\n ${width};\n ${margin};\n }\n`;\n\nexport { Root };\n//# sourceMappingURL=styled.js.map\n","import { __rest } from 'tslib';\nimport React from 'react';\nimport { extractMarginProps, extractDimensionProps } from '@10d/tend-ui-styling';\nimport { Search as Search$1 } from '@10d/tend-ui-icons/Search';\nimport { useTheme } from '@10d/tend-ui-theme';\nimport { useAllowClear } from '../../hooks/useAllowClear.js';\nimport { useInputTitle } from '../../hooks/useInputTitle.js';\nimport { useSize } from '../../hooks/useSize.js';\nimport { Root } from './styled.js';\n\nconst Search = React.forwardRef((_a, ref) => {\n var { allowClear, clearIconTooltip } = _a, props = __rest(_a, [\"allowClear\", \"clearIconTooltip\"]);\n const theme = useTheme();\n const allowClearProp = useAllowClear({ allowClear, clearIconTooltip });\n const { onChange, title } = useInputTitle(props);\n const size = useSize(props.size);\n const _b = extractMarginProps(props), { rest: withoutMargins } = _b, margins = __rest(_b, [\"rest\"]);\n const _c = extractDimensionProps(withoutMargins), { rest } = _c, dimensions = __rest(_c, [\"rest\"]);\n return (React.createElement(Root, Object.assign({ \"data-testid\": 'tend-ui-search' }, rest, margins, dimensions, { ref: ref, onChange: onChange, title: title, \"$theme\": theme, prefix: React.createElement(Search$1, null), allowClear: allowClearProp, size: size })));\n});\nSearch.displayName = 'Search';\n\nexport { Search };\n//# sourceMappingURL=Search.js.map\n","import AntPassword from 'antd-core/es/input/Password';\nimport styled from 'styled-components';\n\nconst Root = styled(AntPassword) `\n .tend-ui-input-prefix,\n .tend-ui-input-suffix {\n color: ${props => props.$theme.colors.gray500};\n }\n`;\n\nexport { Root };\n//# sourceMappingURL=styled.js.map\n","import { __rest } from 'tslib';\nimport React from 'react';\nimport { useTheme } from '@10d/tend-ui-theme';\nimport { useAllowClear } from '../../hooks/useAllowClear.js';\nimport { useSize } from '../../hooks/useSize.js';\nimport { Root } from './styled.js';\n\nconst Password = React.forwardRef((_a, ref) => {\n var { allowClear, clearIconTooltip } = _a, props = __rest(_a, [\"allowClear\", \"clearIconTooltip\"]);\n const theme = useTheme();\n const allowClearProp = useAllowClear({ allowClear, clearIconTooltip });\n const size = useSize(props.size);\n return (React.createElement(Root, Object.assign({ \"data-testid\": 'tend-ui-password' }, props, { ref: ref, \"$theme\": theme, allowClear: allowClearProp, size: size })));\n});\nPassword.displayName = 'Password';\n\nexport { Password };\n//# sourceMappingURL=Password.js.map\n","import AntPopover from 'antd-core/es/popover';\nimport styled from 'styled-components';\nimport { withInjectedClassName } from '../../hocs/withInjectedClassName/withInjectedClassName.js';\n\nconst Root = styled(withInjectedClassName(AntPopover, 'overlayClassName')) `\n &.tend-ui-popover {\n .tend-ui-popover-title {\n font-size: 16px;\n }\n .tend-ui-popover-inner {\n padding: 16px;\n }\n }\n`;\n\nexport { Root };\n//# sourceMappingURL=styled.js.map\n","import { __rest } from 'tslib';\nimport React from 'react';\nimport { Box } from '@10d/tend-ui-grid';\nimport { Root } from './styled.js';\n\nconst Popover = React.forwardRef((_a, ref) => {\n var { content, footer, arrow = false } = _a, props = __rest(_a, [\"content\", \"footer\", \"arrow\"]);\n const contentProp = React.useMemo(() => {\n if (footer)\n return (React.createElement(React.Fragment, null,\n content,\n React.createElement(Box, { \"$display\": 'flex', \"$justifyContent\": 'flex-end', \"$gap\": 8, \"$mt\": 20 }, footer.map(node => node))));\n return content;\n }, [content, footer]);\n return (React.createElement(Root, Object.assign({ \"data-testid\": 'tend-ui-popover' }, props, { ref: ref, arrow: arrow, content: contentProp })));\n});\nPopover.displayName = 'Popover';\n\nexport { Popover };\n//# sourceMappingURL=Popover.js.map\n","import styled, { css } from 'styled-components';\nimport { margin } from '@10d/tend-ui-styling';\n\nconst Root = styled.div.attrs({\n $borders: {\n success: css `\n border: 1px solid ${props => props.theme.colors.green600};\n `,\n error: css `\n border: 1px solid ${props => props.theme.colors.red600};\n `,\n warning: css `\n border: 1px solid ${props => props.theme.colors.gold600};\n `,\n info: css `\n border: 1px solid ${props => props.theme.colors['gray50-transparent']};\n `,\n neutral: css `\n border: 1px solid ${props => props.theme.colors.gray400};\n `,\n loading: css `\n border: 1px solid ${props => props.theme.colors.gray400};\n `,\n },\n $layouts: {\n success: css `\n background-color: ${props => props.theme.colors['green100-transparent']};\n `,\n error: css `\n background-color: ${props => props.theme.colors['red100-transparent']};\n `,\n warning: css `\n background-color: ${props => props.theme.colors['gold100-transparent']};\n `,\n info: css `\n background-color: ${props => props.theme.colors['gray50-transparent']};\n `,\n neutral: css `\n background-color: ${props => props.theme.colors.gray50};\n `,\n loading: css `\n background-color: ${props => props.theme.colors.gray50};\n `,\n },\n}) `\n ${margin};\n ${props => props.$border && props.$borders[props.$type]};\n ${props => props.$layouts[props.$type]};\n\n display: flex;\n align-items: flex-start;\n gap: 12px;\n padding: 16px;\n border-radius: 10px;\n`;\nconst CloseButton = styled.button `\n cursor: pointer;\n display: flex;\n padding: 0;\n margin: 0;\n border-color: transparent;\n background: transparent;\n color: ${props => props.theme.colors.gray650};\n\n /* Animation */\n transition: 0.2s cubic-bezier(0.645, 0.045, 0.355, 1);\n transition-property: color;\n\n &:hover {\n color: ${props => props.theme.colors.gray900};\n }\n`;\nconst Action = styled.div `\n font-family: ${props => props.theme.fonts.museo};\n font-size: 14px;\n font-style: normal;\n font-weight: 400;\n line-height: 20px;\n`;\n\nexport { Action, CloseButton, Root };\n//# sourceMappingURL=styled.js.map\n","import { __rest } from 'tslib';\nimport React from 'react';\nimport { extractMarginProps } from '@10d/tend-ui-styling';\nimport { isUndefined } from '@10d/tend-ui-utils/isUndefined';\nimport { useTranslation } from '@10d/tend-ui-locale';\nimport { Close } from '@10d/tend-ui-icons/Close';\nimport { Sync } from '@10d/tend-ui-icons/Sync';\nimport { Cancel } from '@10d/tend-ui-icons/Cancel';\nimport { DoneCircle } from '@10d/tend-ui-icons/DoneCircle';\nimport { Error } from '@10d/tend-ui-icons/Error';\nimport { Info } from '@10d/tend-ui-icons/Info';\nimport { INTERNAL_TendUILogger } from '@10d/tend-ui-utils';\nimport { Title, Paragraph } from '@10d/tend-ui-typography';\nimport { useTheme } from '@10d/tend-ui-theme';\nimport { Box } from '@10d/tend-ui-grid';\nimport { Tooltip } from '@10d/tend-ui-primitives';\nimport { Root, Action, CloseButton } from './styled.js';\n\nconst BaseAlert = (_a, ref) => {\n var { border = false, showIcon = true, closable = false, type = 'info', message, description, onClose, closeIcon, icon, footer, closeIconTooltip, action } = _a, props = __rest(_a, [\"border\", \"showIcon\", \"closable\", \"type\", \"message\", \"description\", \"onClose\", \"closeIcon\", \"icon\", \"footer\", \"closeIconTooltip\", \"action\"]);\n const t = useTranslation();\n const theme = useTheme();\n const [visible, setVisible] = React.useState(true);\n const _b = extractMarginProps(props), { rest } = _b, margins = __rest(_b, [\"rest\"]);\n if (process.env.NODE_ENV === 'development') {\n if (type === 'neutral' || type === 'loading') {\n INTERNAL_TendUILogger.warning([\n ` удален из Figma и будет удален в следующем мажоре.`,\n ]);\n }\n if (border) {\n INTERNAL_TendUILogger.warning([\n ` удален из Figma и будет удален следующем мажоре.`,\n ]);\n }\n }\n const handleCloseClick = React.useCallback((e) => {\n setVisible(false);\n onClose === null || onClose === void 0 ? void 0 : onClose(e);\n }, [onClose]);\n const iconNode = React.useMemo(() => {\n if (isUndefined(icon))\n return {\n success: React.createElement(DoneCircle, { color: 'green500', size: 20 }),\n error: React.createElement(Cancel, { color: 'red600', size: 20 }),\n warning: React.createElement(Error, { color: 'gold600', size: 20 }),\n info: React.createElement(Info, { size: 20, color: 'blue600' }),\n /**\n * @deprecated Устарело начиная с `4.11.0`\n */\n neutral: React.createElement(Info, { size: 20, color: 'gray400' }),\n /**\n * @deprecated Устарело начиная с `4.11.0`\n */\n loading: React.createElement(Sync, { size: 20, color: 'gray400' }),\n }[type];\n return icon;\n }, [icon, type]);\n const closeIconNode = React.useMemo(() => {\n if (typeof closeIcon === 'undefined')\n return React.createElement(Close, { size: 20 });\n return closeIcon;\n }, [closeIcon]);\n const footerNode = React.useMemo(() => {\n if (isUndefined(footer))\n return null;\n if (Array.isArray(footer))\n return (React.createElement(Box, { \"$display\": 'flex', \"$gap\": 8, \"$margin\": '12px 0 0' }, footer.map(node => node)));\n return React.createElement(Box, { \"$margin\": '12px 0 0' }, footer);\n }, [footer]);\n const tooltipProps = React.useMemo(() => {\n if (!closeIconTooltip)\n return { title: t(['general', 'close']) };\n return closeIconTooltip;\n }, [closeIconTooltip, t]);\n const contentNode = React.useMemo(() => {\n if (message && description) {\n return (React.createElement(React.Fragment, null,\n React.createElement(Title, { margin: '0', level: 'h6', padding: '2px 0' }, message),\n React.createElement(Paragraph, { margin: '0', padding: '2px 0' }, description)));\n }\n return (React.createElement(Paragraph, { margin: '0', padding: '2px 0' }, message || description));\n }, [description, message]);\n if (!visible)\n return null;\n return (React.createElement(Root, Object.assign({ \"data-testid\": 'tend-ui-alert' }, rest, margins, { ref: ref, theme: theme, \"$type\": type, \"$border\": border, className: 'tend-ui-alert-root' }),\n showIcon && (React.createElement(Box, { \"$display\": 'flex', \"$padding\": '2px', className: 'tend-ui-alert-icon' }, iconNode)),\n React.createElement(Box, { \"$flex\": 1, className: 'tend-ui-alert-content' },\n contentNode,\n footerNode),\n action && (React.createElement(Action, { className: 'tend-ui-alert-action', theme: theme }, action)),\n closable && (React.createElement(Tooltip, Object.assign({}, tooltipProps),\n React.createElement(CloseButton, { theme: theme, className: 'tend-ui-alert-close-button', onClick: handleCloseClick }, closeIconNode)))));\n};\nconst Alert = React.forwardRef(BaseAlert);\nAlert.displayName = 'Alert';\n\nexport { Alert };\n//# sourceMappingURL=Alert.js.map\n","import styled, { createGlobalStyle } from 'styled-components';\n\n/**\n * @deprecated Можно удалить, стили поставляются из коробки\n */\nconst Styles = createGlobalStyle ``;\nconst Footer = styled.div `\n display: flex;\n align-items: center;\n gap: 20px;\n margin-top: 12px;\n`;\n\nexport { Footer, Styles };\n//# sourceMappingURL=styled.js.map\n","import React from 'react';\nimport notification from 'antd-core/es/notification';\nimport { useTranslation } from '@10d/tend-ui-locale';\nimport { Sync } from '@10d/tend-ui-icons/Sync';\nimport { Cancel } from '@10d/tend-ui-icons/Cancel';\nimport { DoneCircle } from '@10d/tend-ui-icons/DoneCircle';\nimport { Error } from '@10d/tend-ui-icons/Error';\nimport { Info } from '@10d/tend-ui-icons/Info';\nimport { Close } from '@10d/tend-ui-icons/Close';\nimport { Tooltip } from '@10d/tend-ui-primitives';\nimport { Styles, Footer } from './styled.js';\n\nfunction composeDescription(config) {\n if (!config.footer)\n return config.description;\n return (React.createElement(React.Fragment, null,\n config.description,\n React.createElement(Footer, null, config.footer.map(node => node))));\n}\nconst CloseIcon = () => {\n const t = useTranslation();\n return (React.createElement(Tooltip, { title: t(['general', 'close']), zIndex: 3000 },\n React.createElement(Close, { size: 20 })));\n};\nfunction methodsFactory(executor) {\n return {\n init: () => {\n var _a;\n // Header 80px + margin 8px = 88\n (_a = executor.config) === null || _a === void 0 ? void 0 : _a.call(executor, { top: 88, placement: 'topRight', duration: 5000 });\n },\n success: (config) => {\n executor.success(Object.assign(Object.assign({ icon: React.createElement(DoneCircle, { color: 'green500' }), closeIcon: React.createElement(CloseIcon, null) }, config), { description: composeDescription(config) }));\n },\n error: (config) => {\n executor.error(Object.assign(Object.assign({ icon: React.createElement(Cancel, { color: 'red600' }), closeIcon: React.createElement(CloseIcon, null) }, config), { description: composeDescription(config) }));\n },\n warning: (config) => {\n executor.warning(Object.assign(Object.assign({ icon: React.createElement(Error, { color: 'gold600' }), closeIcon: React.createElement(CloseIcon, null) }, config), { description: composeDescription(config) }));\n },\n info: (config) => {\n executor.info(Object.assign(Object.assign({ icon: React.createElement(Info, { color: 'blue600' }), closeIcon: React.createElement(CloseIcon, null) }, config), { description: composeDescription(config) }));\n },\n neutral: (config) => {\n executor.info(Object.assign(Object.assign({ icon: React.createElement(DoneCircle, { color: 'gray500' }), closeIcon: React.createElement(CloseIcon, null) }, config), { description: composeDescription(config), className: ['tend-ui-notification-notice-neutral', config.className]\n .filter(Boolean)\n .join(' ') }));\n },\n loading: (config) => {\n executor.open(Object.assign(Object.assign({ icon: React.createElement(Sync, { color: 'blue600' }), closeIcon: React.createElement(CloseIcon, null) }, config), { description: composeDescription(config), className: ['tend-ui-notification-notice-loading', config.className]\n .filter(Boolean)\n .join(' ') }));\n },\n };\n}\nconst useToast = (config) => {\n const [methods, holder] = notification.useNotification(Object.assign({ \n // Header 60px + margin 8px = 68\n top: 68, placement: 'topRight' }, config));\n const api = React.useMemo(() => (Object.assign(Object.assign({}, methods), methodsFactory(methods))), [methods]);\n return [api, holder];\n};\nconst Toast = Object.assign({\n Styles,\n useToast,\n config: notification.config,\n destroy: notification.destroy,\n}, methodsFactory(notification));\n\nexport { Toast };\n//# sourceMappingURL=Toast.js.map\n","import styled from 'styled-components';\nimport AntCollapse from 'antd-core/es/collapse';\nimport { ChevronDown } from '@10d/tend-ui-icons/ChevronDown';\n\nconst Root = styled(AntCollapse) `\n &.tend-ui-collapse > .tend-ui-collapse-item > .tend-ui-collapse-header {\n &[aria-expanded='true'] {\n background-color: ${props => props.$theme.colors.gray50};\n }\n &:hover {\n background-color: ${props => props.$theme.colors.gray100};\n }\n }\n`;\nconst Title = styled.div `\n font-family: ${props => props.theme.fonts.museo};\n font-size: 16px;\n font-style: normal;\n font-weight: 600;\n line-height: 1.5;\n`;\nconst Description = styled.div `\n font-family: ${props => props.theme.fonts.museo};\n font-size: 14px;\n font-style: normal;\n font-weight: 400;\n line-height: 1.42857;\n`;\nconst ArrowIcon = styled(ChevronDown) `\n transform: ${props => (props.$active ? 'rotate(0)' : 'rotate(-90deg)')};\n transition: transform 0.3s;\n`;\n\nexport { ArrowIcon, Description, Root, Title };\n//# sourceMappingURL=styled.js.map\n","import { __rest } from 'tslib';\nimport React from 'react';\nimport { useTheme } from '@10d/tend-ui-theme';\nimport { Title, Description, Root, ArrowIcon } from './styled.js';\n\nconst Accordion = React.forwardRef((_a, ref) => {\n var { items } = _a, props = __rest(_a, [\"items\"]);\n const theme = useTheme();\n const itemsProp = items === null || items === void 0 ? void 0 : items.map(item => {\n const { title, description } = item, props = __rest(item, [\"title\", \"description\"]);\n if (item.label)\n return item;\n return Object.assign(Object.assign({}, props), { description, label: (React.createElement(React.Fragment, null,\n React.createElement(Title, { theme: theme }, title),\n React.createElement(Description, { theme: theme }, description))) });\n });\n return (React.createElement(Root, Object.assign({ \"data-testid\": 'tend-ui-accordion' }, props, { \"$theme\": theme, ref: ref, bordered: true, expandIcon: props => React.createElement(ArrowIcon, { size: 20, \"$active\": props.isActive }), items: itemsProp, size: 'middle', ghost: false })));\n});\nAccordion.displayName = 'Accordion';\n\nexport { Accordion };\n//# sourceMappingURL=Accordion.js.map\n","import AntTable from 'antd-core/es/table';\nimport styled, { css } from 'styled-components';\n\nconst Root = styled(AntTable).attrs({\n $sizes: {\n large: css `\n /* Паддинг хедера */\n &.tend-ui-table-wrapper .tend-ui-table-thead > tr > th,\n &.tend-ui-table-wrapper .tend-ui-table-thead > tr > td {\n padding: 20px 12px;\n }\n `,\n medium: css ``,\n small: css `\n &.tend-ui-table-wrapper\n .tend-ui-table.tend-ui-table-small\n .tend-ui-table-tbody\n > tr\n > td {\n padding: 10px 12px;\n }\n `,\n },\n}) `\n /* Боковая линия при закреплении столбцов слева */\n &.tend-ui-table-wrapper\n .tend-ui-table-ping-left\n .tend-ui-table-cell-fix-left-first::after,\n &.tend-ui-table-wrapper\n .tend-ui-table-ping-left\n .tend-ui-table-cell-fix-left-last::after {\n border-left: 1px solid ${props => props.$theme.colors.gray150};\n }\n\n /* Шрифты заголовка */\n &.tend-ui-table-wrapper .tend-ui-table-thead > tr > th,\n &.tend-ui-table-wrapper .tend-ui-table-thead > tr > td {\n font-size: 12px;\n font-style: normal;\n font-weight: 600;\n line-height: 16px;\n }\n\n /* Вертикальное выравнивание */\n &.tend-ui-table-wrapper .tend-ui-table-cell,\n &.tend-ui-table-wrapper .tend-ui-table-thead > tr > th,\n &.tend-ui-table-wrapper .tend-ui-table-tbody > tr > th,\n &.tend-ui-table-wrapper .tend-ui-table-tbody > tr > td,\n &.tend-ui-table-wrapper tfoot > tr > th,\n &.tend-ui-table-wrapper tfoot > tr > td {\n vertical-align: top;\n }\n /* Подсветка строка */\n .tend-ui-table-row-error {\n .tend-ui-table-cell {\n background-color: ${props => props.$theme.colors.red100};\n &.tend-ui-table-cell-row-hover {\n background-color: ${props => props.$theme.colors.red200};\n }\n }\n }\n .tend-ui-table-row-warning {\n .tend-ui-table-cell {\n background-color: ${props => props.$theme.colors.gold100};\n &.tend-ui-table-cell-row-hover {\n background-color: ${props => props.$theme.colors.gold200};\n }\n }\n }\n .tend-ui-table-row-success {\n .tend-ui-table-cell {\n background-color: ${props => props.$theme.colors.green100};\n &.tend-ui-table-cell-row-hover {\n background-color: ${props => props.$theme.colors.green200};\n }\n }\n }\n\n &.tend-ui-table-wrapper {\n /* Removing header mini-border */\n .tend-ui-table-thead\n > tr\n > th:not(:last-child):not(.tend-ui-table-selection-column):not(\n .tend-ui-table-row-expand-icon-cell\n ):not([colspan])::before,\n .tend-ui-table-thead\n > tr\n > td:not(:last-child):not(.tend-ui-table-selection-column):not(\n .tend-ui-table-row-expand-icon-cell\n ):not([colspan])::before {\n content: none;\n }\n\n .tend-ui-table-row-expand-icon {\n border-radius: 4px;\n border-color: ${props => props.$theme.colors.gray200};\n }\n .tend-ui-table-column-title {\n flex: 0;\n }\n .tend-ui-table-column-sorters,\n .tend-ui-table-filter-column {\n justify-content: flex-start;\n gap: 4px;\n .anticon {\n font-size: 16px;\n }\n }\n .tend-ui-table-filter-trigger {\n margin-inline: 0px;\n }\n ${props => props.$pointer &&\n css `\n .tend-ui-table-row {\n cursor: pointer;\n }\n `};\n }\n ${props => props.$sizes[props.$size]}\n`;\n\nexport { Root };\n//# sourceMappingURL=styled.js.map\n","import styled, { css } from 'styled-components';\nimport { ArrowDown } from '@10d/tend-ui-icons/ArrowDown';\n\nconst FilterListIcon = styled(ArrowDown) `\n ${props => {\n if (props.$sortOrder === 'ascend')\n return css `\n color: ${props.$theme.colors.blue600};\n `;\n if (props.$sortOrder === 'descend')\n return css `\n color: ${props.$theme.colors.blue600};\n transform: rotate(180deg);\n `;\n return;\n}}\n`;\n\nexport { FilterListIcon };\n//# sourceMappingURL=styled.js.map\n","import { INTERNAL_TypographyBase } from '@10d/tend-ui-typography/Base';\nimport styled from 'styled-components';\n\nconst Root = styled(INTERNAL_TypographyBase) `\n color: inherit;\n font-size: inherit;\n line-height: inherit;\n`;\n\nexport { Root };\n//# sourceMappingURL=styled.js.map\n","import React from 'react';\nimport { Root } from './styled.js';\n\nconst TextHeader = ({ children, width }) => {\n return (React.createElement(Root, { style: { width, margin: 0 }, component: 'div', ellipsis: { rows: 1, tooltip: children }, className: 'tend-ui-table-text-header' }, children));\n};\nTextHeader.displayName = 'Table.TextHeader';\n\nexport { TextHeader };\n//# sourceMappingURL=TextHeader.js.map\n","import { INTERNAL_TypographyBase } from '@10d/tend-ui-typography/Base';\nimport styled from 'styled-components';\n\nconst Root = styled(INTERNAL_TypographyBase) `\n color: inherit;\n font-size: inherit;\n line-height: inherit;\n`;\n\nexport { Root };\n//# sourceMappingURL=styled.js.map\n","import React from 'react';\nimport { Root } from './styled.js';\n\nconst TextCell = ({ children, width }) => {\n return (React.createElement(Root, { style: { width, margin: 0 }, component: 'div', ellipsis: { rows: 3, tooltip: children }, className: 'tend-ui-table-text-cell' }, children));\n};\nTextCell.displayName = 'Table.TextCell';\n\nexport { TextCell };\n//# sourceMappingURL=TextCell.js.map\n","import { __rest } from 'tslib';\nimport React from 'react';\nimport { useTheme } from '@10d/tend-ui-theme';\nimport { Root } from './styled.js';\nimport { useColumns } from './hooks/useColumns.js';\nimport { useSize } from './hooks/useSize.js';\nimport { TextHeader } from './components/TextHeader/TextHeader.js';\nimport { TextCell } from './components/TextCell/TextCell.js';\n\nconst BaseTable = (_a, ref) => {\n var _b, _c;\n var { size = 'medium' } = _a, props = __rest(_a, [\"size\"]);\n const theme = useTheme();\n const sizeProp = useSize(size);\n const columns = useColumns(props.columns);\n const isRowCursorPointer = typeof ((_c = (_b = props === null || props === void 0 ? void 0 : props.onRow) === null || _b === void 0 ? void 0 : _b.call(props, {})) === null || _c === void 0 ? void 0 : _c.onClick) === 'function';\n return (React.createElement(Root, Object.assign({ \"data-testid\": 'tend-ui-table' }, props, { \"$theme\": theme, \"$pointer\": isRowCursorPointer, ref: ref, \"$size\": size, size: sizeProp, columns: columns, pagination: false })));\n};\nconst _Table = React.forwardRef(BaseTable);\nconst Table = Object.assign(_Table, {\n displayName: 'Table',\n TextCell,\n TextHeader,\n});\n\nexport { Table };\n//# sourceMappingURL=Table.js.map\n","const useSize = (size) => {\n return {\n large: 'large',\n medium: 'middle',\n small: 'small',\n }[size];\n};\n\nexport { useSize };\n//# sourceMappingURL=useSize.js.map\n","import React from 'react';\nimport { FilterAlt } from '@10d/tend-ui-icons/FilterAlt';\nimport { useTheme } from '@10d/tend-ui-theme';\nimport { FilterListIcon } from './styled.js';\n\nconst useColumns = (columns) => {\n const theme = useTheme();\n const filterIcon = React.useCallback(() => React.createElement(FilterAlt, null), []);\n const sortIcon = React.useCallback((props) => {\n return React.createElement(FilterListIcon, { \"$theme\": theme, \"$sortOrder\": props.sortOrder });\n }, [theme]);\n if (!columns)\n return [];\n return columns.map(column => {\n return Object.assign(Object.assign({}, column), { filterIcon,\n sortIcon });\n });\n};\n\nexport { useColumns };\n//# sourceMappingURL=useColumns.js.map\n","import { css } from 'styled-components';\n\n/**\n * @deprecated Use `scrollbar` from `import { scrollbar } @10d/tend-ui/styling`\n */\nconst scrollbar = css `\n ::-webkit-scrollbar {\n width: 8px;\n height: 8px;\n }\n\n ::-webkit-scrollbar-track {\n background: ${props => props.$theme.colors.gray50};\n border-radius: 16px;\n }\n\n ::-webkit-scrollbar-thumb {\n background-color: ${props => props.$theme.colors.gray150};\n border-radius: 16px;\n }\n`;\n\nexport { scrollbar };\n//# sourceMappingURL=scrollbar.js.map\n","import AntDatePicker from 'antd-core/es/date-picker';\nimport styled, { css } from 'styled-components';\nimport { withInjectedClassName } from '../../hocs/withInjectedClassName/withInjectedClassName.js';\nimport { scrollbar } from '../../styling/css/scrollbar.js';\n\nconst Root = styled(withInjectedClassName(AntDatePicker.TimePicker, 'popupClassName')) `\n &.tend-ui-picker {\n ${props => {\n if (props.$fullWidth)\n return css `\n width: 100%;\n `;\n return css `\n width: ${props.$width || '256px'};\n `;\n}}\n }\n\n &.tend-ui-picker-dropdown .tend-ui-picker-time-panel-column {\n ${scrollbar}\n }\n`;\n\nexport { Root };\n//# sourceMappingURL=styled.js.map\n","import { __rest } from 'tslib';\nimport React from 'react';\nimport { useSize } from '../../hooks/useSize.js';\nimport { useTheme } from '@10d/tend-ui-theme';\nimport { Root } from './styled.js';\n\nconst TimePicker = React.forwardRef((_a, ref) => {\n var { fullWidth, width } = _a, props = __rest(_a, [\"fullWidth\", \"width\"]);\n const theme = useTheme();\n const size = useSize(props.size);\n return (React.createElement(Root, Object.assign({ \"data-testid\": 'tend-ui-time-picker' }, props, { ref: ref, \"$theme\": theme, \"$fullWidth\": fullWidth, \"$width\": width, size: size })));\n});\nTimePicker.displayName = 'TimePicker';\n\nexport { TimePicker };\n//# sourceMappingURL=TimePicker.js.map\n","import styled, { css } from 'styled-components';\n\nconst Root = styled.div `\n position: fixed;\n z-index: 999;\n width: 640px;\n max-width: 640px;\n left: 50%;\n transform: translateX(-50%);\n transition: bottom 0.2s;\n display: flex;\n align-items: center;\n gap: 12px;\n padding: 16px 24px;\n border-radius: 16px;\n background-color: ${props => props.theme.colors.gray0};\n box-shadow: 0px 14px 64px -4px rgba(24, 39, 75, 0.06),\n 0px 8px 22px -6px rgba(24, 39, 75, 0.06);\n\n ${props => {\n var _a;\n const bottom = (_a = props.$offset) !== null && _a !== void 0 ? _a : 48;\n if (props.$visible)\n return css `\n bottom: ${bottom}px;\n `;\n return css `\n bottom: -300px;\n `;\n}}\n`;\nconst Extra = styled.div `\n display: flex;\n justify-content: flex-end;\n flex: 1;\n flex-wrap: wrap;\n`;\n\nexport { Extra, Root };\n//# sourceMappingURL=styled.js.map\n","import { __rest } from 'tslib';\nimport React from 'react';\nimport ReactDOM from 'react-dom';\nimport { useTranslation } from '@10d/tend-ui-locale/hooks/useTranslation';\nimport { useTheme } from '@10d/tend-ui-theme';\nimport { Text } from '@10d/tend-ui-typography';\nimport { Box } from '@10d/tend-ui-grid';\nimport { Button } from '@10d/tend-ui-primitives';\nimport { Badge } from '../Badge/Badge.js';\nimport { Root, Extra } from './styled.js';\n\nconst BaseActions = (_a, ref) => {\n var { visible, counter, counterText, okText, cancelText, okButtonProps, cancelButtonProps, onOk, onCancel, extra, offset } = _a, props = __rest(_a, [\"visible\", \"counter\", \"counterText\", \"okText\", \"cancelText\", \"okButtonProps\", \"cancelButtonProps\", \"onOk\", \"onCancel\", \"extra\", \"offset\"]);\n const t = useTranslation();\n const theme = useTheme();\n const isVisible = (() => {\n if (typeof visible === 'boolean')\n return visible;\n if (typeof counter === 'object')\n return typeof counter.inner === 'number' && counter.inner > 0;\n return typeof counter === 'number' && counter > 0;\n })();\n const extraNode = React.useMemo(() => {\n var _a, _b;\n if (!extra) {\n return (React.createElement(Box, { \"$display\": 'inline-flex', \"$alignItems\": 'center', \"$gap\": 12 },\n React.createElement(Button, Object.assign({ \"data-testid\": 'tend-ui-actions-cancel-button', variant: 'secondary' }, cancelButtonProps, { onClick: (_a = cancelButtonProps === null || cancelButtonProps === void 0 ? void 0 : cancelButtonProps.onClick) !== null && _a !== void 0 ? _a : onCancel }), (cancelButtonProps === null || cancelButtonProps === void 0 ? void 0 : cancelButtonProps.children) ||\n cancelText ||\n t(['primitives', 'Actions', 'cancel'])),\n React.createElement(Button, Object.assign({ \"data-testid\": 'tend-ui-actions-ok-button' }, okButtonProps, { onClick: (_b = okButtonProps === null || okButtonProps === void 0 ? void 0 : okButtonProps.onClick) !== null && _b !== void 0 ? _b : onOk }), (okButtonProps === null || okButtonProps === void 0 ? void 0 : okButtonProps.children) || okText || t(['primitives', 'Actions', 'accept']))));\n }\n if (Array.isArray(extra))\n return (React.createElement(Box, { \"$display\": 'inline-flex', \"$alignItems\": 'center', \"$gap\": 12 }, extra.map(node => node)));\n return extra;\n }, [cancelButtonProps, cancelText, extra, okButtonProps, okText, onCancel, onOk, t]);\n const badgeProps = React.useMemo(() => {\n if (typeof counter === 'object')\n return Object.assign({ preset: 'blue' }, counter);\n return { preset: 'blue', inner: counter };\n }, [counter]);\n return ReactDOM.createPortal(React.createElement(Root, Object.assign({ \"data-testid\": 'tend-ui-actions' }, props, { ref: ref, theme: theme, \"$visible\": isVisible, \"$offset\": offset }),\n React.createElement(Box, { \"$display\": 'flex', \"$alignItems\": 'center', \"$gap\": 4 },\n React.createElement(Text, { size: 'large', strong: true }, counterText !== null && counterText !== void 0 ? counterText : t(['primitives', 'Actions', 'selected'])),\n React.createElement(Badge, Object.assign({}, badgeProps))),\n React.createElement(Extra, null, extraNode)), document.body);\n};\nconst Actions = React.forwardRef(BaseActions);\nActions.displayName = 'Actions';\n\nexport { Actions };\n//# sourceMappingURL=Actions.js.map\n","import React from 'react';\n\nconst MINUTE_STEP = 30;\nconst HOUR_STEP = 1;\nconst FROM = 0;\nconst TO = 24;\nconst useTimeOptions = (options) => {\n var _a, _b, _c, _d;\n const { from = FROM, to = TO } = options || {};\n const hourStep = (_b = (_a = options === null || options === void 0 ? void 0 : options.step) === null || _a === void 0 ? void 0 : _a.hour) !== null && _b !== void 0 ? _b : HOUR_STEP;\n const minuteStep = (_d = (_c = options === null || options === void 0 ? void 0 : options.step) === null || _c === void 0 ? void 0 : _c.minute) !== null && _d !== void 0 ? _d : MINUTE_STEP;\n return React.useMemo(() => Array.from({ length: (to - from) / hourStep }, (_, index) => from + index * hourStep)\n .reduce((acc, hour) => {\n Array.from({ length: 60 / minuteStep }, (_, index) => index * minuteStep).forEach(minute => {\n acc.push([hour, minute]);\n });\n return acc;\n }, [])\n .map(([hour, minute]) => [String(hour).padStart(2, '0'), String(minute).padStart(2, '0')].join(':'))\n .map(interval => ({ value: interval, label: interval })), [from, hourStep, minuteStep, to]);\n};\n\nexport { useTimeOptions };\n//# sourceMappingURL=hooks.js.map\n","import { __rest } from 'tslib';\nimport React from 'react';\nimport dayjs from 'dayjs';\nimport { Select } from '../Select/Select.js';\nimport { useTimeOptions } from './hooks.js';\n\nconst TimeSelect = (_a) => {\n var { virtual = true, onChange, from, to, step } = _a, props = __rest(_a, [\"virtual\", \"onChange\", \"from\", \"to\", \"step\"]);\n const options = useTimeOptions({ from, to, step });\n const handleChange = React.useCallback((value) => {\n const [hour = 0, minute = 0, second = 0] = value.split(':');\n const time = dayjs()\n .set('hour', Number(hour))\n .set('minute', Number(minute))\n .set('second', Number(second));\n onChange === null || onChange === void 0 ? void 0 : onChange(time);\n }, [onChange]);\n return (React.createElement(Select, Object.assign({ \"data-testid\": 'tend-ui-timeselect', virtual: virtual, options: options }, props, { onChange: handleChange })));\n};\nTimeSelect.displayName = 'TimeSelect';\n\nexport { TimeSelect };\n//# sourceMappingURL=TimeSelect.js.map\n","import { __rest } from 'tslib';\nimport React from 'react';\nimport AntCard from 'antd-core/es/card';\nimport Grid from 'antd-core/es/card/Grid';\nimport Meta from 'antd-core/es/card/Meta';\n\nconst Card = Object.assign(React.forwardRef((_a, ref) => {\n var { bordered = false } = _a, props = __rest(_a, [\"bordered\"]);\n return (React.createElement(AntCard, Object.assign({ \"data-testid\": 'tend-ui-card' }, props, { ref: ref, bordered: bordered })));\n}), {\n displayName: 'Card',\n Grid,\n Meta,\n});\nCard.displayName = 'Card';\n\nexport { Card };\n//# sourceMappingURL=Card.js.map\n","import styled, { createGlobalStyle } from 'styled-components';\nimport { Box as Box$1 } from '@10d/tend-ui-grid';\n\n/**\n * @deprecated Можно удалить, стили поставляются из коробки\n */\nconst Styles = createGlobalStyle ``;\nconst Img = styled.img `\n width: 100%;\n height: 100%;\n object-fit: contain;\n`;\nconst ImageContainer = styled.div `\n height: 100%;\n width: 100%;\n margin-bottom: 20px;\n overflow: hidden;\n border-radius: ${props => (props.$layout === 'contain' ? '8px' : '16px 16px 0 0')};\n`;\nconst Box = styled(Box$1) `\n font-family: Museo Sans Cyrl;\n font-size: 14px;\n font-style: normal;\n font-weight: 400;\n line-height: 20px;\n`;\n\nexport { Box, ImageContainer, Img, Styles };\n//# sourceMappingURL=styled.js.map\n","import React from 'react';\nimport { Button } from '@10d/tend-ui-primitives';\nimport { Box } from '../../styled.js';\n\nconst Footer = (props) => {\n var _a, _b, _c, _d, _e, _f;\n const [loading, setLoading] = React.useState(false);\n const handleCancelClick = React.useCallback(() => {\n var _a;\n const onCancelReturnValue = (_a = props.onCancel) === null || _a === void 0 ? void 0 : _a.call(props);\n if (onCancelReturnValue instanceof Promise === false) {\n props.destroy();\n return;\n }\n setLoading(true);\n onCancelReturnValue\n .then(() => {\n props.destroy();\n })\n .catch(() => {\n console.log('[Dialog]: Error');\n })\n .finally(() => {\n setLoading(false);\n });\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [props.onCancel, props.destroy]);\n const handleOkClick = React.useCallback(() => {\n var _a;\n if (!props.onOk) {\n props.destroy();\n return;\n }\n const onOkReturnValue = (_a = props.onOk) === null || _a === void 0 ? void 0 : _a.call(props);\n if (onOkReturnValue instanceof Promise === false) {\n props.destroy();\n return;\n }\n setLoading(true);\n onOkReturnValue\n .then(() => {\n props.destroy();\n })\n .catch(() => {\n console.log('[Dialog]: Error');\n })\n .finally(() => {\n setLoading(false);\n });\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [props.onOk, props.destroy]);\n if (typeof props.footer === 'undefined')\n return (React.createElement(Box, { \"$display\": 'flex', \"$justifyContent\": 'flex-end', \"$alignItems\": 'center', \"$gap\": 12, \"$margin\": '24px 0 0', \"$padding\": props.padding },\n React.createElement(Button, Object.assign({ \"data-testid\": 'tend-ui-dialog-cancel-button', variant: 'link', loading: loading }, props.cancelButtonProps, { onClick: (_b = (_a = props.cancelButtonProps) === null || _a === void 0 ? void 0 : _a.onClick) !== null && _b !== void 0 ? _b : handleCancelClick }), ((_c = props.cancelButtonProps) === null || _c === void 0 ? void 0 : _c.children) || props.cancelText),\n React.createElement(Button, Object.assign({ \"data-testid\": 'tend-ui-dialog-ok-button', loading: loading }, props.okButtonProps, { onClick: (_e = (_d = props.okButtonProps) === null || _d === void 0 ? void 0 : _d.onClick) !== null && _e !== void 0 ? _e : handleOkClick }), ((_f = props.okButtonProps) === null || _f === void 0 ? void 0 : _f.children) || props.okText)));\n if (Array.isArray(props.footer))\n return (React.createElement(Box, { \"$display\": 'flex', \"$alignItems\": 'center', \"$justifyContent\": 'flex-end', \"$gap\": 12, \"$margin\": '24px 0 0', \"$padding\": props.padding }, props.footer.map(node => node)));\n if (!props.footer)\n return React.createElement(React.Fragment, null, props.footer);\n return (React.createElement(Box, { \"$margin\": '24px 0 0', \"$padding\": props.padding }, props.footer));\n};\n\nexport { Footer };\n//# sourceMappingURL=Footer.js.map\n","import React from 'react';\nimport { useTranslation } from '@10d/tend-ui-locale/hooks/useTranslation';\nimport { Close } from '@10d/tend-ui-icons/Close';\nimport { Tooltip } from '@10d/tend-ui-primitives';\n\nconst CloseIcon = (props) => {\n const t = useTranslation();\n const isEmpty = Object.entries(props).length === 0;\n const tooltipProps = React.useMemo(() => {\n if (isEmpty)\n return { title: t(['general', 'close']) };\n return props;\n }, [isEmpty, props, t]);\n return (React.createElement(Tooltip, Object.assign({}, tooltipProps),\n React.createElement(Close, { size: 20 })));\n};\n\nexport { CloseIcon };\n//# sourceMappingURL=CloseIcon.js.map\n","import { __rest } from 'tslib';\nimport React from 'react';\nimport AntModal from 'antd-core/es/modal';\nimport { Info } from '@10d/tend-ui-icons/Info';\nimport { Error } from '@10d/tend-ui-icons/Error';\nimport { DoneCircle } from '@10d/tend-ui-icons/DoneCircle';\nimport { Cancel } from '@10d/tend-ui-icons/Cancel';\nimport { Footer } from './components/Footer/Footer.js';\nimport { CloseIcon } from './components/CloseIcon/CloseIcon.js';\nimport { Styles, Box, ImageContainer, Img } from './styled.js';\n\nconst methodsFactory = (modal) => {\n return {\n info: (_a) => {\n var { footer, closeIconTooltip, okButtonProps, cancelButtonProps, okText = 'Принять', cancelText = 'Отмена', closable = true, content, okType = 'primary' } = _a, props = __rest(_a, [\"footer\", \"closeIconTooltip\", \"okButtonProps\", \"cancelButtonProps\", \"okText\", \"cancelText\", \"closable\", \"content\", \"okType\"]);\n const instance = modal.info(Object.assign(Object.assign({ icon: React.createElement(Info, { padding: 4 }), width: 480 }, props), { content: (React.createElement(Box, { \"$display\": 'flex', \"$flexDirection\": 'column', \"$gap\": 8 }, content)), footer: (React.createElement(Footer, { footer: footer, okButtonProps: Object.assign({ variant: okType }, okButtonProps), cancelButtonProps: cancelButtonProps, okText: okText, cancelText: cancelText, onOk: props.onOk, onCancel: props.onCancel, destroy: () => {\n instance.destroy();\n } })), closeIcon: React.createElement(CloseIcon, Object.assign({}, closeIconTooltip)), closable }));\n return instance;\n },\n success: (_a) => {\n var { footer, closeIconTooltip, okButtonProps, cancelButtonProps, okText = 'Принять', cancelText = 'Отмена', closable = true, content, okType = 'primary' } = _a, props = __rest(_a, [\"footer\", \"closeIconTooltip\", \"okButtonProps\", \"cancelButtonProps\", \"okText\", \"cancelText\", \"closable\", \"content\", \"okType\"]);\n const instance = modal.success(Object.assign(Object.assign({ icon: React.createElement(DoneCircle, { padding: 4 }), width: 480 }, props), { content: (React.createElement(Box, { \"$display\": 'flex', \"$flexDirection\": 'column', \"$gap\": 8 }, content)), footer: (React.createElement(Footer, { footer: footer, okButtonProps: Object.assign({ variant: okType }, okButtonProps), cancelButtonProps: cancelButtonProps, okText: okText, cancelText: cancelText, onOk: props.onOk, onCancel: props.onCancel, destroy: () => {\n instance.destroy();\n } })), closeIcon: React.createElement(CloseIcon, Object.assign({}, closeIconTooltip)), closable }));\n return instance;\n },\n warning: (_a) => {\n var { footer, closeIconTooltip, okButtonProps, cancelButtonProps, okText = 'Принять', cancelText = 'Отмена', closable = true, content, okType = 'primary' } = _a, props = __rest(_a, [\"footer\", \"closeIconTooltip\", \"okButtonProps\", \"cancelButtonProps\", \"okText\", \"cancelText\", \"closable\", \"content\", \"okType\"]);\n const instance = modal.warning(Object.assign(Object.assign({ icon: React.createElement(Error, { padding: 4 }), width: 480 }, props), { content: (React.createElement(Box, { \"$display\": 'flex', \"$flexDirection\": 'column', \"$gap\": 8 }, content)), footer: (React.createElement(Footer, { footer: footer, okButtonProps: Object.assign({ variant: okType }, okButtonProps), cancelButtonProps: cancelButtonProps, okText: okText, cancelText: cancelText, onOk: props.onOk, onCancel: props.onCancel, destroy: () => {\n instance.destroy();\n } })), closeIcon: React.createElement(CloseIcon, Object.assign({}, closeIconTooltip)), closable }));\n return instance;\n },\n error: (_a) => {\n var { footer, closeIconTooltip, okButtonProps, cancelButtonProps, okText = 'Принять', cancelText = 'Отмена', closable = true, content, okType = 'primary' } = _a, props = __rest(_a, [\"footer\", \"closeIconTooltip\", \"okButtonProps\", \"cancelButtonProps\", \"okText\", \"cancelText\", \"closable\", \"content\", \"okType\"]);\n const instance = modal.error(Object.assign(Object.assign({ icon: React.createElement(Cancel, { padding: 4 }), width: 480 }, props), { content: (React.createElement(Box, { \"$display\": 'flex', \"$flexDirection\": 'column', \"$gap\": 8 }, content)), footer: (React.createElement(Footer, { footer: footer, okButtonProps: Object.assign({ variant: okType }, okButtonProps), cancelButtonProps: Object.assign({ danger: true }, cancelButtonProps), okText: okText, cancelText: cancelText, onOk: props.onOk, onCancel: props.onCancel, destroy: () => {\n instance.destroy();\n } })), closeIcon: React.createElement(CloseIcon, Object.assign({}, closeIconTooltip)), closable }));\n return instance;\n },\n confirm: (_a) => {\n var { footer, closeIconTooltip, okButtonProps, cancelButtonProps, okText = 'Принять', cancelText = 'Отмена', image = { layout: 'contain' }, closable = true, content, className, okType = 'primary' } = _a, props = __rest(_a, [\"footer\", \"closeIconTooltip\", \"okButtonProps\", \"cancelButtonProps\", \"okText\", \"cancelText\", \"image\", \"closable\", \"content\", \"className\", \"okType\"]);\n const hasImage = !!image.src;\n const imageDefaultLayout = image.layout || 'contain';\n const isCoverLayout = imageDefaultLayout === 'cover';\n const classNames = [className];\n if (hasImage)\n classNames.push('tend-ui-modal-confirm-image');\n if (isCoverLayout)\n classNames.push('tend-ui-modal-confirm-image-cover');\n const instance = modal.confirm(Object.assign(Object.assign({ width: 480 }, props), { closable, className: classNames.filter(Boolean).join(' '), content: (React.createElement(Box, { \"$display\": 'flex', \"$flexDirection\": 'column', \"$gap\": 8 }, content)), footer: (React.createElement(Footer, { padding: isCoverLayout ? '0 32px 24px' : undefined, footer: footer, okButtonProps: Object.assign({ variant: okType }, okButtonProps), cancelButtonProps: cancelButtonProps, okText: okText, cancelText: cancelText, onOk: props.onOk, onCancel: props.onCancel, destroy: () => {\n instance.destroy();\n } })), closeIcon: React.createElement(CloseIcon, Object.assign({}, closeIconTooltip)), icon: hasImage ? (React.createElement(ImageContainer, { \"$layout\": imageDefaultLayout },\n React.createElement(Img, { src: image.src }))) : null }));\n return instance;\n },\n };\n};\nconst Dialog = Object.assign({\n Styles,\n useDialog: () => {\n const [methods, holder] = AntModal.useModal();\n return [methodsFactory(methods), holder];\n },\n destroyAll: AntModal.destroyAll,\n config: AntModal.config,\n}, methodsFactory(AntModal));\n\nexport { Dialog };\n//# sourceMappingURL=Dialog.js.map\n","import AntPagination from 'antd-core/es/pagination';\nimport styled from 'styled-components';\n\nconst PaginationButton = styled.span.attrs({\n $variant: {\n medium: '32px',\n small: '24px',\n },\n}) `\n display: inline-block;\n width: ${props => props.$variant[props.$size]};\n height: ${props => props.$variant[props.$size]};\n border-radius: 8px;\n\n &:hover {\n color: ${props => props.theme.colors.blue500};\n background-color: ${props => props.theme.colors.blue50};\n }\n\n &:active {\n background-color: ${props => props.theme.colors.blue100};\n color: ${props => props.theme.colors.blue700};\n }\n`;\nconst Root = styled(AntPagination) `\n &.tend-ui-pagination {\n display: flex;\n\n .tend-ui-pagination-options {\n width: 100%;\n display: inline-flex;\n flex-direction: row-reverse;\n justify-content: space-between;\n }\n\n .tend-ui-pagination-item {\n display: flex;\n align-items: center;\n justify-content: center;\n }\n\n .tend-ui-pagination-item:not(.tend-ui-pagination-item-active) {\n &:hover {\n a {\n color: ${props => props.$theme.colors.blue500};\n }\n }\n\n &:active {\n background-color: ${props => props.$theme.colors.blue100};\n a {\n color: ${props => props.$theme.colors.blue700};\n }\n }\n }\n\n .tend-ui-pagination-item-active {\n a {\n font-weight: 400;\n color: white;\n }\n\n &:hover {\n border-color: ${props => props.$theme.colors.blue600};\n\n a {\n color: white;\n }\n }\n }\n }\n`;\n\nexport { PaginationButton, Root };\n//# sourceMappingURL=styled.js.map\n","import { __rest } from 'tslib';\nimport React from 'react';\nimport { useTranslation } from '@10d/tend-ui-locale/hooks/useTranslation';\nimport { ChevronLeft } from '@10d/tend-ui-icons/ChevronLeft';\nimport { ChevronRight } from '@10d/tend-ui-icons/ChevronRight';\nimport { useTheme } from '@10d/tend-ui-theme';\nimport { Tooltip } from '@10d/tend-ui-primitives';\nimport { Root, PaginationButton } from './styled.js';\n\nconst Pagination = (_a) => {\n var { size = 'medium', prevIconTooltip, nextIconTooltip } = _a, props = __rest(_a, [\"size\", \"prevIconTooltip\", \"nextIconTooltip\"]);\n const theme = useTheme();\n const t = useTranslation();\n const sizeProp = {\n medium: 'default',\n small: 'small',\n }[size];\n return (React.createElement(Root, Object.assign({ \"data-testid\": 'tend-ui-pagination' }, props, { \"$theme\": theme, prevIcon: React.createElement(PaginationButton, { \"$size\": size, theme: theme },\n React.createElement(ChevronLeft, null)), nextIcon: React.createElement(PaginationButton, { \"$size\": size, theme: theme },\n React.createElement(ChevronRight, null)), jumpPrevIcon: React.createElement(Tooltip, Object.assign({ title: t(['primitives', 'Pagination', 'prev']) }, prevIconTooltip),\n React.createElement(PaginationButton, { \"data-testid\": 'jump-prev-icon', \"$size\": size, theme: theme }, \"...\")), jumpNextIcon: React.createElement(Tooltip, Object.assign({ title: t(['primitives', 'Pagination', 'next']) }, nextIconTooltip),\n React.createElement(PaginationButton, { \"data-testid\": 'jump-next-icon', \"$size\": size, theme: theme }, \"...\")), size: sizeProp, locale: Object.assign(Object.assign({ jump_to: t(['primitives', 'Pagination', 'jumpto']), items_per_page: '' }, props.locale), { page: '' }) })));\n};\n\nexport { Pagination };\n//# sourceMappingURL=Pagination.js.map\n","import { __rest } from 'tslib';\nimport React from 'react';\nimport AntProgress from 'antd-core/es/progress';\n\nconst Progress = React.forwardRef((_a, ref) => {\n var { size } = _a, props = __rest(_a, [\"size\"]);\n const sizeProp = (() => {\n if (size === 'medium')\n return 'default';\n return size;\n })();\n return (React.createElement(AntProgress, Object.assign({ \"data-testid\": 'tend-ui-progress' }, props, { ref: ref, size: sizeProp })));\n});\nProgress.displayName = 'Progress';\n\nexport { Progress };\n//# sourceMappingURL=Progress.js.map\n","import styled from 'styled-components';\nimport AntSteps from 'antd-core/es/steps';\n\nconst Root = styled(AntSteps) `\n &.tend-ui-steps {\n &.tend-ui-steps-label-vertical {\n .tend-ui-steps-item-icon {\n margin-inline-start: 0px;\n }\n .tend-ui-steps-item-tail {\n margin-inline-start: 16px;\n }\n .tend-ui-steps-item-content {\n width: auto;\n text-align: left;\n }\n }\n\n &.tend-ui-steps-vertical\n > .tend-ui-steps-item\n > .tend-ui-steps-item-container\n > .tend-ui-steps-item-tail::after {\n width: 2px;\n }\n\n .tend-ui-steps-item-title,\n .tend-ui-steps-item-icon {\n font-weight: 600;\n }\n .tend-ui-steps-item-wait .tend-ui-steps-item-icon {\n background-color: transparent;\n border-color: ${props => props.$theme.colors.gray150};\n }\n .tend-ui-steps-item-disabled .tend-ui-steps-item-icon {\n border-color: ${props => props.$theme.colors.gray200};\n background-color: ${props => props.$theme.colors.gray50};\n .tend-ui-steps-icon {\n color: ${props => props.$theme.colors.gray400};\n }\n }\n .tend-ui-steps-item {\n &:not(.tend-ui-steps-item-active) {\n /* Error step hovering */\n &.tend-ui-steps-item-error {\n & > .tend-ui-steps-item-container[role='button'] {\n &:hover {\n .tend-ui-steps-item-title,\n .tend-ui-steps-item-description {\n color: ${props => props.$theme.colors.red500};\n }\n .tend-ui-steps-item-icon {\n background-color: ${props => props.$theme.colors.red500};\n border-color: ${props => props.$theme.colors.red500};\n .tend-ui-steps-icon {\n color: ${props => props.$theme.colors.gray0};\n }\n }\n }\n }\n }\n &:not(.tend-ui-steps-item-error) {\n /* Finished step hovering */\n &:not(.tend-ui-steps-item-process):not(.tend-ui-steps-item-wait) {\n & > .tend-ui-steps-item-container[role='button'] {\n &:hover .tend-ui-steps-item-icon {\n border-color: ${props => props.$theme.colors.green500};\n .tend-ui-steps-icon {\n color: ${props => props.$theme.colors.gray0};\n }\n }\n }\n }\n /* Awaiting step hovering */\n &:not(.tend-ui-steps-item-finish)\n > .tend-ui-steps-item-container[role='button'] {\n &:hover .tend-ui-steps-item-icon {\n background-color: ${props => props.$theme.colors.blue50};\n }\n }\n }\n }\n }\n\n .tend-ui-steps-item-process,\n .tend-ui-steps-item-wait {\n & > .tend-ui-steps-item-container > .tend-ui-steps-item-tail {\n &::after {\n background: linear-gradient(\n to right,\n ${props => props.$theme.colors.gray150} 4px,\n transparent 4px\n );\n background-size: 8px 1px;\n }\n }\n }\n\n .tend-ui-steps-item-finish {\n & > .tend-ui-steps-item-container > .tend-ui-steps-item-tail {\n &::after {\n background-color: ${props => props.$theme.colors.green500};\n height: 2px;\n }\n }\n\n .tend-ui-steps-item-icon {\n background-color: ${props => props.$theme.colors.green500};\n .tend-ui-steps-icon {\n color: ${props => props.$theme.colors.gray0};\n }\n }\n }\n }\n`;\n\nexport { Root };\n//# sourceMappingURL=styled.js.map\n","import { __rest } from 'tslib';\nimport React from 'react';\nimport { useTheme } from '@10d/tend-ui-theme';\nimport { Box } from '@10d/tend-ui-grid';\nimport { Root } from './styled.js';\n\nconst Steps = (_a) => {\n var _b, _c, _d;\n var { labelPlacement = 'vertical', direction = 'horizontal' } = _a, props = __rest(_a, [\"labelPlacement\", \"direction\"]);\n const theme = useTheme();\n const [innerCurrent, setInnerCurrent] = React.useState(0);\n const children = (_b = props.items) === null || _b === void 0 ? void 0 : _b[(_c = props === null || props === void 0 ? void 0 : props.current) !== null && _c !== void 0 ? _c : innerCurrent].children;\n const current = (_d = props.current) !== null && _d !== void 0 ? _d : innerCurrent;\n const handleChange = React.useCallback((current) => {\n var _a;\n setInnerCurrent(current);\n (_a = props.onChange) === null || _a === void 0 ? void 0 : _a.call(props, current);\n }, [props]);\n const mt = {\n horizontal: '16px',\n vertical: undefined,\n }[direction];\n const flexDirection = {\n horizontal: 'column',\n vertical: 'row',\n }[direction];\n return (React.createElement(Box, { \"$display\": 'flex', \"$flexDirection\": flexDirection },\n React.createElement(Root, Object.assign({ \"data-testid\": 'tend-ui-steps' }, props, { \"$theme\": theme, direction: direction, labelPlacement: labelPlacement, current: current, onChange: handleChange })),\n children && (React.createElement(Box, { \"$width\": '100%', \"$mt\": mt }, children))));\n};\nSteps.displayName = 'Steps';\n\nexport { Steps };\n//# sourceMappingURL=Steps.js.map\n","import styled from 'styled-components';\nimport AntSegmented from 'antd-core/es/segmented';\n\nconst Root = styled(AntSegmented) `\n &.tend-ui-segmented {\n padding: 4px;\n border: 1px solid ${props => props.$theme.colors.gray200};\n\n .tend-ui-segmented-item-label {\n min-height: 20px;\n line-height: 20px;\n }\n }\n`;\n\nexport { Root };\n//# sourceMappingURL=styled.js.map\n","import React from 'react';\nimport { isNumber } from '@10d/tend-ui-utils/isNumber';\nimport { isString } from '@10d/tend-ui-utils/isString';\nimport { useTheme } from '@10d/tend-ui-theme';\nimport { Box } from '@10d/tend-ui-grid';\nimport { Badge } from '../Badge/Badge.js';\nimport { Root } from './styled.js';\n\nconst Segmented = React.forwardRef((props, ref) => {\n const theme = useTheme();\n const options = React.useMemo(() => props.options.map(option => {\n if (isNumber(option) || isString(option) || !('badge' in option)) {\n return option;\n }\n const { badge } = option;\n return Object.assign(Object.assign({}, option), { label: (React.createElement(Box, { as: 'span', \"$display\": 'inline-flex', \"$gap\": 8 },\n option.label,\n React.createElement(Badge, Object.assign({}, badge, { padding: '0 8px' })))) });\n }), [props.options]);\n return (React.createElement(Root, Object.assign({ \"data-testid\": 'tend-ui-segmented' }, props, { ref: ref, \"$theme\": theme, options: options, size: 'middle' })));\n});\nSegmented.displayName = 'Segmented';\n\nexport { Segmented };\n//# sourceMappingURL=Segmented.js.map\n","import AntDrawer from 'antd-core/es/drawer';\nimport styled from 'styled-components';\nimport { scrollbar } from '../../styling/mixins/scrollbar.js';\nimport { withInjectedClassName } from '../../hocs/withInjectedClassName/withInjectedClassName.js';\n\nconst Root = styled(withInjectedClassName(AntDrawer, 'rootClassName')) `\n &.tend-ui-drawer {\n .tend-ui-drawer-content {\n &.tend-ui-drawer-header-shadow {\n .tend-ui-drawer-header {\n box-shadow: 0px 0px 6px 0px rgba(0, 0, 0, 0.08);\n }\n }\n &.tend-ui-drawer-footer-shadow {\n .tend-ui-drawer-footer {\n box-shadow: 0px 0px 6px 0px rgba(0, 0, 0, 0.08);\n }\n }\n }\n .tend-ui-drawer-body {\n ${scrollbar}\n }\n .tend-ui-drawer-header-title {\n align-items: flex-start;\n flex-direction: row-reverse;\n }\n .tend-ui-drawer-close {\n margin-inline-end: 0px;\n border-radius: 6px;\n padding: 4px;\n transition: all 0.2s cubic-bezier(0.645, 0.045, 0.355, 1);\n &:hover:not(:disabled) {\n cursor: pointer;\n color: ${props => props.$theme.colors.gray900};\n background: ${props => props.$theme.colors['gray100-transparent']};\n }\n &:active:not(:disabled) {\n color: ${props => props.$theme.colors.gray900};\n background: ${props => props.$theme.colors['gray150-transparent']};\n }\n &:disabled {\n cursor: not-allowed;\n color: ${props => props.$theme.colors.gray400};\n background-color: ${props => props.$theme.colors.gray50};\n }\n }\n /* При инжектировании табов в заголовок дровера неправильно высчитывается высота и длинна\n и они перестают работать */\n .tend-ui-drawer-title {\n overflow-x: auto;\n padding-bottom: 5px;\n margin-bottom: -5px;\n }\n }\n`;\n\nexport { Root };\n//# sourceMappingURL=styled.js.map\n","import React from 'react';\nimport { Box } from '@10d/tend-ui-grid';\n\nconst ScrollPosition = ({ children, onScrollPositionChange, }) => {\n const ref = React.useRef(null);\n const [position, setPosition] = React.useState('initial');\n React.useEffect(() => onScrollPositionChange === null || onScrollPositionChange === void 0 ? void 0 : onScrollPositionChange(position), [onScrollPositionChange, position]);\n React.useEffect(() => {\n var _a;\n if (!ref)\n return;\n const drawerScrollableBody = (_a = ref.current) === null || _a === void 0 ? void 0 : _a.closest('.tend-ui-drawer-body');\n if (!drawerScrollableBody)\n return;\n const isScrollable = drawerScrollableBody.scrollHeight > drawerScrollableBody.clientHeight;\n if (!isScrollable)\n return;\n function onScroll(event) {\n const e = event.target;\n if (!e)\n return;\n const top = e.scrollTop;\n const height = e.scrollHeight - e.offsetHeight;\n if (top === 0) {\n setPosition('top');\n return;\n }\n if (top > 0 && top < height) {\n setPosition('middle');\n return;\n }\n if (top === height) {\n setPosition('bottom');\n return;\n }\n }\n drawerScrollableBody.addEventListener('scroll', onScroll);\n onScrollPositionChange === null || onScrollPositionChange === void 0 ? void 0 : onScrollPositionChange('top');\n return () => {\n drawerScrollableBody.removeEventListener('scroll', onScroll);\n };\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, []);\n return (React.createElement(Box, { className: 'tend-ui-drawer-scroll-position', ref: ref, \"$height\": '100%' }, children));\n};\n\nexport { ScrollPosition };\n//# sourceMappingURL=ScrollPosition.js.map\n","import { __rest } from 'tslib';\nimport React from 'react';\nimport { useTranslation } from '@10d/tend-ui-locale';\nimport { Close } from '@10d/tend-ui-icons/Close';\nimport { Title } from '@10d/tend-ui-typography/Title';\nimport { Button, Tooltip } from '@10d/tend-ui-primitives';\nimport { Box } from '@10d/tend-ui-grid/Box';\nimport { Text } from '@10d/tend-ui-typography/Text';\nimport { useTheme } from '@10d/tend-ui-theme';\nimport { INTERNAL_TendUILogger } from '@10d/tend-ui-utils';\nimport { Root } from './styled.js';\nimport { useSize } from './hooks.js';\nimport { ScrollPosition } from './components/ScrollPosition/ScrollPosition.js';\n\nconst FULLSCREEN_OFFSET = '16px';\nconst CloseIcon = () => {\n const t = useTranslation();\n return (React.createElement(Tooltip, { title: t(['general', 'close']) },\n React.createElement(Close, { color: 'gray650', size: 20 })));\n};\n/**\n * @deprecated Компонент устарел. Используйте `Drawer` из пакета `@10d/tend-ui-primitives`\n */\nconst Drawer = (_a) => {\n var { fullscreen = false, above, before, title, description, size = 'medium', placement = 'right', okButtonProps, onOk, okText = 'Принять', cancelButtonProps, onCancel, cancelText = 'Отмена', footer, closeIcon = React.createElement(CloseIcon, null), children, width, height, styles } = _a, props = __rest(_a, [\"fullscreen\", \"above\", \"before\", \"title\", \"description\", \"size\", \"placement\", \"okButtonProps\", \"onOk\", \"okText\", \"cancelButtonProps\", \"onCancel\", \"cancelText\", \"footer\", \"closeIcon\", \"children\", \"width\", \"height\", \"styles\"]);\n if (process.env.NODE_ENV === 'development') {\n if (size === 'default') {\n INTERNAL_TendUILogger.warning([\n ` устарел.`,\n 'Используйте ',\n ]);\n }\n }\n const theme = useTheme();\n const _size = useSize(size);\n const isTop = placement === 'top';\n const isBottom = placement === 'bottom';\n const isLeft = placement === 'left';\n const isRight = placement === 'right';\n const isVertical = isTop || isBottom;\n const isHorizontal = isLeft || isRight;\n const _title = React.useMemo(() => {\n if ([!title, !description, !before, !above].every(Boolean))\n return;\n if (above)\n return (React.createElement(Box, null,\n above,\n React.createElement(Box, { \"$display\": 'flex', \"$gap\": 12 },\n before && React.createElement(Box, null, before),\n React.createElement(Box, { \"$display\": 'flex', \"$flexDirection\": 'column' },\n title && (React.createElement(Title, { margin: '0', level: 'h5' }, title)),\n description && (React.createElement(Text, { color: 'gray650', fontWeight: '400', size: 'small' }, description))))));\n return (React.createElement(Box, { \"$display\": 'flex', \"$gap\": 12 },\n before && React.createElement(Box, null, before),\n (title || description) && (React.createElement(Box, { \"$display\": 'flex', \"$flexDirection\": 'column' },\n title && (React.createElement(Title, { margin: '0', level: 'h5' }, title)),\n description && (React.createElement(Text, { color: 'gray650', fontWeight: '400', size: 'small' }, description))))));\n }, [above, before, description, title]);\n const _footer = React.useMemo(() => {\n var _a, _b;\n if (typeof footer === 'undefined') {\n return (React.createElement(Box, { \"$width\": '100%', \"$display\": 'inline-flex', \"$alignItems\": 'center', \"$justifyContent\": 'flex-end', \"$gap\": 8 },\n React.createElement(Button, Object.assign({ \"data-testid\": 'tend-ui-drawer-cancel-button', variant: 'secondary' }, cancelButtonProps, { onClick: (_a = cancelButtonProps === null || cancelButtonProps === void 0 ? void 0 : cancelButtonProps.onClick) !== null && _a !== void 0 ? _a : onCancel }), (cancelButtonProps === null || cancelButtonProps === void 0 ? void 0 : cancelButtonProps.children) || cancelText),\n React.createElement(Button, Object.assign({ \"data-testid\": 'tend-ui-drawer-ok-button' }, okButtonProps, { onClick: (_b = okButtonProps === null || okButtonProps === void 0 ? void 0 : okButtonProps.onClick) !== null && _b !== void 0 ? _b : onOk }), (okButtonProps === null || okButtonProps === void 0 ? void 0 : okButtonProps.children) || okText)));\n }\n return footer;\n }, [cancelButtonProps, cancelText, footer, okButtonProps, okText, onCancel, onOk]);\n const contentWrapperStyle = React.useMemo(() => ({\n top: Object.assign(Object.assign({}, props.contentWrapperStyle), { overflow: 'hidden' }),\n right: Object.assign(Object.assign({}, props.contentWrapperStyle), { overflow: 'hidden' }),\n bottom: Object.assign(Object.assign({}, props.contentWrapperStyle), { overflow: 'hidden' }),\n left: Object.assign(Object.assign({}, props.contentWrapperStyle), { overflow: 'hidden' }),\n }[placement]), [placement, props.contentWrapperStyle]);\n const _width = (() => {\n if (fullscreen && isHorizontal)\n return `calc(100% - ${FULLSCREEN_OFFSET})`;\n if (width)\n return width;\n return {\n default: '500px',\n small: '400px',\n medium: '500px',\n large: '800px',\n }[size];\n })();\n const _height = (() => {\n if (fullscreen && isVertical)\n return `calc(100% - ${FULLSCREEN_OFFSET})`;\n return height;\n })();\n const _styles = React.useMemo(() => (Object.assign(Object.assign({}, styles), { header: Object.assign(Object.assign({}, styles === null || styles === void 0 ? void 0 : styles.header), { borderBottom: 'none' }), body: Object.assign(Object.assign({}, styles === null || styles === void 0 ? void 0 : styles.body), { padding: '0 24px' }), footer: Object.assign(Object.assign({}, styles === null || styles === void 0 ? void 0 : styles.footer), { borderTop: 'none', padding: '16px 24px' }) })), [styles]);\n const [className, setClassName] = React.useState('');\n return (React.createElement(Root, Object.assign({ \"data-testid\": 'tend-ui-drawer' }, props, { \"$theme\": theme, styles: _styles, contentWrapperStyle: contentWrapperStyle, title: _title, footer: _footer, placement: placement, width: _width, height: _height, size: _size, closeIcon: closeIcon, classNames: { content: className } }),\n React.createElement(ScrollPosition, { onScrollPositionChange: React.useCallback(position => {\n switch (position) {\n case 'top':\n setClassName('tend-ui-drawer-footer-shadow');\n break;\n case 'middle':\n setClassName(['tend-ui-drawer-header-shadow', 'tend-ui-drawer-footer-shadow'].join(' '));\n break;\n case 'bottom':\n setClassName('tend-ui-drawer-header-shadow');\n break;\n }\n }, []) }, children)));\n};\nDrawer.displayName = 'Drawer';\n\nexport { Drawer };\n//# sourceMappingURL=Drawer.js.map\n","const useSize = (size) => {\n return {\n default: 'default',\n small: 'default',\n medium: 'default',\n large: 'large',\n }[size];\n};\n\nexport { useSize };\n//# sourceMappingURL=hooks.js.map\n","import styled from 'styled-components';\n\nconst Root = styled.div `\n display: flex;\n gap: 8px;\n`;\nstyled.span `\n font-family: Museo Sans Cyrl;\n font-weight: 400;\n font-size: 14px;\n line-height: 24px;\n`;\nstyled.label `\n transition: all 0.2s cubic-bezier(0.645, 0.045, 0.355, 1);\n position: relative;\n display: inline-flex;\n align-items: center;\n gap: 8px;\n padding: 2px 16px;\n border-radius: 100px;\n border: 1px solid;\n border-color: ${props => {\n if (props.$checked)\n return props.theme.colors.blue600;\n return props.theme.colors.gray200;\n}};\n color: ${props => {\n if (props.$checked)\n return props.theme.colors.blue600;\n return props.theme.colors.gray900;\n}};\n\n &:hover {\n cursor: pointer;\n color: ${props => props.theme.colors.blue500};\n }\n &:active {\n color: ${props => props.theme.colors.blue700};\n }\n`;\nstyled.input `\n pointer-events: none;\n position: absolute;\n top: 0;\n left: 0;\n opacity: 0;\n`;\n\nexport { Root };\n//# sourceMappingURL=styled.js.map\n","import styled from 'styled-components';\n\nconst Text = styled.span `\n font-family: Museo Sans Cyrl;\n font-weight: 400;\n font-size: 14px;\n line-height: 24px;\n`;\nconst Label = styled.label `\n transition: all 0.2s cubic-bezier(0.645, 0.045, 0.355, 1);\n position: relative;\n display: inline-flex;\n align-items: center;\n flex-shrink: 0;\n gap: 8px;\n padding: 2px 16px;\n border-radius: 100px;\n border: 1px solid;\n border-color: ${props => {\n if (props.$checked)\n return props.theme.colors.blue600;\n return props.theme.colors.gray200;\n}};\n color: ${props => {\n if (props.$checked)\n return props.theme.colors.blue600;\n return props.theme.colors.gray900;\n}};\n\n &:hover {\n cursor: pointer;\n color: ${props => props.theme.colors.blue500};\n }\n &:active {\n color: ${props => props.theme.colors.blue700};\n }\n`;\nconst Input = styled.input `\n position: absolute;\n top: 0;\n left: 0;\n pointer-events: none;\n opacity: 0;\n`;\n\nexport { Input, Label, Text };\n//# sourceMappingURL=styled.js.map\n","import React from 'react';\nimport { Done } from '@10d/tend-ui-icons/Done';\nimport { useTheme } from '@10d/tend-ui-theme';\nimport { Label, Input, Text } from './styled.js';\n\nconst Chip = React.memo(({ checked, value, label, onClick }) => {\n const theme = useTheme();\n const handleClick = React.useCallback((e) => {\n e.preventDefault();\n onClick(value);\n }, [onClick, value]);\n return (React.createElement(Label, { \"$checked\": checked, theme: theme, onClick: handleClick },\n React.createElement(Input, { type: 'checkbox' }),\n checked && React.createElement(Done, null),\n React.createElement(Text, null, label !== null && label !== void 0 ? label : value)));\n});\n\nexport { Chip };\n//# sourceMappingURL=Chip.js.map\n","import { __rest } from 'tslib';\nimport React from 'react';\nimport { Root } from './styled.js';\nimport { Chip } from './Chip/Chip.js';\n\n/**\n * @deprecated Компонент устарел и более не поддерживается\n * Используйте `Chips` из пакета `@10d/tend-ui-primitives`\n */\nconst Chips = React.forwardRef((_a, ref) => {\n var { value, options, onChange } = _a, props = __rest(_a, [\"value\", \"options\", \"onChange\"]);\n const [_value, _setValue] = React.useState([]);\n React.useEffect(() => {\n if (!value)\n return;\n _setValue(value);\n }, [value]);\n const handleClick = React.useCallback((payload) => {\n _setValue(prev => {\n if (prev.includes(payload)) {\n const next = prev.filter(prevValue => prevValue !== payload);\n onChange === null || onChange === void 0 ? void 0 : onChange(payload, next);\n return next;\n }\n const next = [...prev, payload];\n onChange === null || onChange === void 0 ? void 0 : onChange(payload, next);\n return next;\n });\n }, [onChange]);\n const _options = React.useMemo(() => {\n const checked = value || _value;\n return options.map(option => {\n if (typeof option === 'object')\n return {\n label: option.label,\n value: option.value,\n checked: checked.includes(option.value),\n };\n return {\n label: option,\n value: option,\n checked: checked.includes(option),\n };\n });\n }, [value, _value, options]);\n return (React.createElement(Root, Object.assign({ \"data-testid\": 'tend-ui-chips' }, props, { ref: ref }), _options.map(option => (React.createElement(Chip, { key: option.value, checked: option.checked, value: option.value, label: option.label, onClick: handleClick })))));\n});\nChips.displayName = 'Chips';\n\nexport { Chips };\n//# sourceMappingURL=Chips.js.map\n","import styled from 'styled-components';\n\nconst Button = styled.button `\n cursor: pointer;\n padding: 0;\n margin: 0;\n display: inline-flex;\n background: transparent;\n border-radius: 4px;\n border: 1px solid;\n border-color: ${props => props.theme.colors.gray200};\n color: ${props => props.theme.colors.gray900};\n`;\n\nexport { Button };\n//# sourceMappingURL=styled.js.map\n","import React from 'react';\nimport { Add } from '@10d/tend-ui-icons/Add';\nimport { Remove } from '@10d/tend-ui-icons/Remove';\nimport { useTheme } from '@10d/tend-ui-theme';\nimport { Button } from './styled.js';\n\nconst ExpandButton = ({ expanded }) => {\n const theme = useTheme();\n const content = expanded ? React.createElement(Remove, { size: 9 }) : React.createElement(Add, { size: 9 });\n return React.createElement(Button, { theme: theme }, content);\n};\n\nexport { ExpandButton };\n//# sourceMappingURL=ExpandButton.js.map\n","import styled from 'styled-components';\nimport AntTree from 'antd-core/es/tree/Tree';\n\nconst Root = styled(AntTree) `\n &.tend-ui-tree {\n .tend-ui-tree-switcher {\n display: inline-flex;\n align-items: center;\n justify-content: center;\n margin-right: 8px;\n }\n .tend-ui-tree-checkbox .tend-ui-tree-checkbox-inner {\n border-radius: 4px;\n }\n }\n`;\n\nexport { Root };\n//# sourceMappingURL=styled.js.map\n","import { __rest } from 'tslib';\nimport React from 'react';\nimport { ExpandButton } from './ExpandButton/ExpandButton.js';\nimport { Root } from './styled.js';\n\n/**\n * @deprecated Устарело\n * Используйте `Tree` из пакета `@10d/tend-ui-tree`\n */\nconst Tree = React.forwardRef((_a, ref) => {\n var { selectable = false } = _a, props = __rest(_a, [\"selectable\"]);\n const switcherIcon = React.useCallback((props) => React.createElement(ExpandButton, Object.assign({}, props)), []);\n return (React.createElement(Root, Object.assign({ \"data-testid\": 'tend-ui-tree' }, props, { ref: ref, switcherIcon: switcherIcon, selectable: selectable })));\n});\nTree.displayName = 'Tree';\n\nexport { Tree };\n//# sourceMappingURL=Tree.js.map\n","import styled from 'styled-components';\nimport { margin } from '@10d/tend-ui-styling';\n\nconst Root = styled.table `\n ${margin};\n\n width: 100%;\n height: 100%;\n border-collapse: collapse;\n`;\n\nexport { Root };\n//# sourceMappingURL=styled.js.map\n","import styled from 'styled-components';\n\nconst Root = styled.tbody ``;\n\nexport { Root };\n//# sourceMappingURL=styled.js.map\n","import React from 'react';\nimport { useTheme } from '@10d/tend-ui-theme';\nimport { Root } from './styled.js';\n\nconst Tbody = React.forwardRef((props, ref) => {\n const theme = useTheme();\n return React.createElement(Root, Object.assign({}, props, { ref: ref, theme: theme }));\n});\nTbody.displayName = 'SimpleTable.Tbody';\n\nexport { Tbody };\n//# sourceMappingURL=Tbody.js.map\n","import styled from 'styled-components';\n\nconst Root = styled.thead `\n background-color: ${props => props.theme.colors.gray50};\n`;\n\nexport { Root };\n//# sourceMappingURL=styled.js.map\n","import React from 'react';\nimport { useTheme } from '@10d/tend-ui-theme';\nimport { Root } from './styled.js';\n\nconst Thead = React.forwardRef((props, ref) => {\n const theme = useTheme();\n return React.createElement(Root, Object.assign({}, props, { ref: ref, theme: theme }));\n});\nThead.displayName = 'SimpleTable.Thead';\n\nexport { Thead };\n//# sourceMappingURL=Thead.js.map\n","import styled, { css } from 'styled-components';\n\nconst Root = styled.tr `\n border-bottom: 1px solid ${props => props.theme.colors.gray150};\n ${props => {\n if (props.$selected)\n return css `\n background-color: ${props.theme.colors.blue50};\n &:hover {\n background-color: ${props => props.theme.colors.blue100};\n }\n `;\n return css `\n &:hover {\n background-color: ${props => props.theme.colors.gray50};\n }\n `;\n}}\n`;\n\nexport { Root };\n//# sourceMappingURL=styled.js.map\n","import { __rest } from 'tslib';\nimport React from 'react';\nimport { useTheme } from '@10d/tend-ui-theme';\nimport { Root } from './styled.js';\n\nconst Tr = React.forwardRef((_a, ref) => {\n var { selected = false } = _a, props = __rest(_a, [\"selected\"]);\n const theme = useTheme();\n return React.createElement(Root, Object.assign({}, props, { ref: ref, theme: theme, \"$selected\": selected }));\n});\nTr.displayName = 'SimpleTable.Tr';\n\nexport { Tr };\n//# sourceMappingURL=Tr.js.map\n","import styled, { css } from 'styled-components';\n\nconst Root = styled.th.attrs({\n $sizes: {\n large: css `\n padding: 12px;\n `,\n medium: css `\n padding: 8px 12px;\n `,\n small: css `\n padding: 4px 12px;\n `,\n },\n}) `\n font-family: ${props => props.theme.fonts.museo};\n font-size: 12px;\n font-style: normal;\n font-weight: 600;\n line-height: 16px;\n color: ${props => props.theme.colors.gray500};\n text-align: ${props => props.$textAlign || 'left'};\n\n ${props => props.$sizes[props.$size]};\n`;\n\nexport { Root };\n//# sourceMappingURL=styled.js.map\n","import { contextFactory } from '../../../factories/contextFactory.js';\n\nconst [TableContext, useTableContext] = contextFactory();\n\nexport { TableContext, useTableContext };\n//# sourceMappingURL=TableContext.js.map\n","import { __rest } from 'tslib';\nimport React from 'react';\nimport { useTheme } from '@10d/tend-ui-theme';\nimport { Root } from './styled.js';\nimport { useTableContext } from '../contexts/TableContext.js';\n\nconst Th = React.forwardRef((_a, ref) => {\n var { textAlign } = _a, props = __rest(_a, [\"textAlign\"]);\n const theme = useTheme();\n const config = useTableContext();\n return (React.createElement(Root, Object.assign({}, props, { ref: ref, theme: theme, \"$size\": config.size, \"$textAlign\": textAlign })));\n});\nTh.displayName = 'SimpleTable.Th';\n\nexport { Th };\n//# sourceMappingURL=Th.js.map\n","import styled, { css } from 'styled-components';\n\nconst Root = styled.td.attrs({\n $sizes: {\n large: css `\n padding: 20px 12px;\n `,\n medium: css `\n padding: 12px;\n `,\n small: css `\n padding: 4px 12px;\n `,\n },\n}) `\n font-family: ${props => props.theme.fonts.museo};\n font-size: 14px;\n font-style: normal;\n font-weight: 400;\n line-height: 20px;\n color: ${props => props.theme.colors.gray900};\n text-align: ${props => props.$textAlign};\n\n ${props => props.$sizes[props.$size]};\n`;\n\nexport { Root };\n//# sourceMappingURL=styled.js.map\n","import { __rest } from 'tslib';\nimport React from 'react';\nimport { useTheme } from '@10d/tend-ui-theme';\nimport { Root } from './styled.js';\nimport { useTableContext } from '../contexts/TableContext.js';\n\nconst Td = React.forwardRef((_a, ref) => {\n var { textAlign } = _a, props = __rest(_a, [\"textAlign\"]);\n const theme = useTheme();\n const config = useTableContext();\n return (React.createElement(Root, Object.assign({}, props, { ref: ref, theme: theme, \"$size\": config.size, \"$textAlign\": textAlign })));\n});\nTd.displayName = 'SimpleTable.Td';\n\nexport { Td };\n//# sourceMappingURL=Td.js.map\n","import { __rest } from 'tslib';\nimport React from 'react';\nimport { extractMarginProps } from '@10d/tend-ui-styling';\nimport { useTheme } from '@10d/tend-ui-theme';\nimport { Spinner } from '@10d/tend-ui-primitives';\nimport { Root } from './styled.js';\nimport { Tbody } from './Tbody/Tbody.js';\nimport { Thead } from './Thead/Thead.js';\nimport { Tr } from './Tr/Tr.js';\nimport { Th } from './Th/Th.js';\nimport { Td } from './Td/Td.js';\nimport { TableContext } from './contexts/TableContext.js';\n\nconst BaseTable = React.forwardRef((_a, ref) => {\n var { size = 'medium', loading = false } = _a, props = __rest(_a, [\"size\", \"loading\"]);\n const _b = extractMarginProps(props), { rest } = _b, marginProps = __rest(_b, [\"rest\"]);\n const theme = useTheme();\n return (React.createElement(TableContext, { value: React.useMemo(() => ({ size }), [size]) },\n React.createElement(Spinner, { color: theme.colors.blue600, size: 'small', loading: loading },\n React.createElement(Root, Object.assign({}, rest, marginProps, { ref: ref, theme: theme })))));\n});\nconst SimpleTable = Object.assign(BaseTable, {\n displayName: 'SimpleTable',\n Thead,\n Tbody,\n Tr,\n Th,\n Td,\n});\n\nexport { SimpleTable };\n//# sourceMappingURL=SimpleTable.js.map\n","import { useCallbackRef } from '@10d/tend-ui-hooks';\n\nconst __NODES = new Map();\n/**\n * Хук для скроллинга страницы\n */\nconst useScroll = () => {\n const register = useCallbackRef((key, target) => {\n __NODES.set(key, target);\n });\n const scroll = useCallbackRef((key) => {\n const instance = __NODES.get(key);\n if (!(instance === null || instance === void 0 ? void 0 : instance.current))\n return;\n instance.current.scrollIntoView({ behavior: 'smooth' });\n });\n return { register, scroll };\n};\n\nexport { useScroll };\n//# sourceMappingURL=useScroll.js.map\n","import { contextFactory } from '../../../factories/contextFactory.js';\n\nconst [SizeContext, useSizeContext] = contextFactory();\n\nexport { SizeContext, useSizeContext };\n//# sourceMappingURL=SizeContext.js.map\n","import styled, { css } from 'styled-components';\nimport { margin, padding } from '@10d/tend-ui-styling';\n\nconst Root = styled.header.attrs({\n $sizes: {\n small: css `\n padding: 8px 16px;\n `,\n medium: css `\n padding: 8px 16px;\n `,\n large: css `\n padding: 8px 16px;\n `,\n },\n}) `\n position: ${props => (props.$sticky ? 'sticky' : 'static')};\n z-index: 999;\n top: 0;\n\n display: flex;\n align-items: center;\n gap: 12px;\n\n background-color: ${props => props.theme.colors.gray0};\n border-bottom-style: solid;\n border-bottom-width: 1px;\n border-bottom-color: ${props => props.theme.colors.gray100};\n\n ${props => props.$sizes[props.$size]};\n ${margin};\n ${padding};\n`;\n\nexport { Root };\n//# sourceMappingURL=styled.js.map\n","import { __rest } from 'tslib';\nimport React from 'react';\nimport { extractMarginProps, extractPaddingProps } from '@10d/tend-ui-styling';\nimport { useTheme } from '@10d/tend-ui-theme';\nimport { useScroll } from '../../hooks/useScroll.js';\nimport { useSizeContext } from '../../contexts/SizeContext.js';\nimport { Root } from './styled.js';\n\nconst Header = (_a) => {\n var { children, sticky = false, className } = _a, props = __rest(_a, [\"children\", \"sticky\", \"className\"]);\n const theme = useTheme();\n const { size } = useSizeContext();\n const ref = React.useRef(null);\n const { register } = useScroll();\n register('header', ref);\n const _b = extractMarginProps(props), { rest: withoutMargins } = _b, margins = __rest(_b, [\"rest\"]);\n const _c = extractPaddingProps(withoutMargins), { rest } = _c, paddings = __rest(_c, [\"rest\"]);\n return (React.createElement(Root, Object.assign({}, rest, margins, paddings, { ref: ref, className: ['tend-ui-layout-header', className].filter(Boolean).join(' '), theme: theme, \"$sticky\": sticky, \"$size\": size }), children));\n};\nHeader.displayName = 'Layout.Header';\n\nexport { Header };\n//# sourceMappingURL=Header.js.map\n","import styled from 'styled-components';\n\nconst Root = styled.footer `\n background-color: ${props => props.theme.colors.gray0};\n padding: 0px 24px;\n`;\n\nexport { Root };\n//# sourceMappingURL=styled.js.map\n","import { __rest } from 'tslib';\nimport React from 'react';\nimport { useTheme } from '@10d/tend-ui-theme';\nimport { Root } from './styled.js';\n\nconst Footer = (_a) => {\n var { children, className } = _a, props = __rest(_a, [\"children\", \"className\"]);\n const theme = useTheme();\n return (React.createElement(Root, Object.assign({}, props, { className: ['tend-ui-layout-footer', className].filter(Boolean).join(' '), theme: theme }), children));\n};\nFooter.displayName = 'Layout.Footer';\n\nexport { Footer };\n//# sourceMappingURL=Footer.js.map\n","import styled, { css } from 'styled-components';\n\nconst Root = styled.main.attrs({\n $backgrounds: {\n white: css `\n background-color: ${props => props.theme.colors.gray0};\n `,\n blue: css `\n background-color: ${props => props.theme.colors.blue100};\n `,\n },\n $sizes: {\n small: css `\n padding: 16px;\n `,\n medium: css `\n padding: 16px;\n `,\n large: css `\n padding: 16px;\n `,\n },\n}) `\n flex: 1;\n\n ${props => props.$sizes[props.$size]};\n ${props => props.$backgrounds[props.$background]};\n`;\n\nexport { Root };\n//# sourceMappingURL=styled.js.map\n","import React from 'react';\nimport { Title as Title$1 } from '@10d/tend-ui-typography';\n\nconst Title = (props) => {\n return React.createElement(Title$1, Object.assign({ level: 'h3', mt: 0 }, props));\n};\nTitle.displayName = 'Layout.Header.Main.Title';\n\nexport { Title };\n//# sourceMappingURL=Title.js.map\n","import { __rest } from 'tslib';\nimport React from 'react';\nimport { useTheme } from '@10d/tend-ui-theme';\nimport { Root } from './styled.js';\nimport { useSizeContext } from '../../contexts/SizeContext.js';\nimport { Title } from './components/Title/Title.js';\n\nconst Main = (_a) => {\n var { children, className, background = 'white' } = _a, props = __rest(_a, [\"children\", \"className\", \"background\"]);\n const theme = useTheme();\n const { size } = useSizeContext();\n return (React.createElement(Root, Object.assign({}, props, { theme: theme, \"$size\": size, \"$background\": background, className: ['tend-ui-layout-main', className].filter(Boolean).join(' ') }), children));\n};\nMain.Title = Title;\nMain.displayName = 'Layout.Main';\n\nexport { Main };\n//# sourceMappingURL=Main.js.map\n","import styled from 'styled-components';\n\nconst Root = styled.div `\n background-color: ${props => props.theme.colors.gray0};\n\n display: flex;\n flex-direction: column;\n min-height: 100%;\n`;\n\nexport { Root };\n//# sourceMappingURL=styled.js.map\n","import { __rest } from 'tslib';\nimport React from 'react';\nimport { useTheme } from '@10d/tend-ui-theme';\nimport { Root as Root$1 } from './styled.js';\nimport { SizeContext } from '../../contexts/SizeContext.js';\n\nconst Root = (_a) => {\n var { size = 'medium', className } = _a, props = __rest(_a, [\"size\", \"className\"]);\n const theme = useTheme();\n return (React.createElement(SizeContext, { value: { size } },\n React.createElement(Root$1, Object.assign({}, props, { theme: theme, className: ['tend-ui-layout-root', className].filter(Boolean).join(' ') }))));\n};\nRoot.displayName = 'Layout.Root';\n\nexport { Root };\n//# sourceMappingURL=Root.js.map\n","import styled from 'styled-components';\n\nconst Root = styled.div `\n background-color: ${props => props.theme.colors.gray0};\n\n display: flex;\n`;\n\nexport { Root };\n//# sourceMappingURL=styled.js.map\n","import { __rest } from 'tslib';\nimport React from 'react';\nimport { useTheme } from '@10d/tend-ui-theme';\nimport { Root } from './styled.js';\n\nconst Content = (_a) => {\n var { className } = _a, props = __rest(_a, [\"className\"]);\n const theme = useTheme();\n return (React.createElement(Root, Object.assign({}, props, { theme: theme, className: ['tend-ui-layout-content', className].filter(Boolean).join(' ') })));\n};\nContent.displayName = 'Layout.Content';\n\nexport { Content };\n//# sourceMappingURL=Content.js.map\n","import styled from 'styled-components';\n\nconst Root = styled.div `\n background-color: ${props => props.theme.colors.gray0};\n\n padding: 24px 0;\n`;\n\nexport { Root };\n//# sourceMappingURL=styled.js.map\n","import { __rest } from 'tslib';\nimport React from 'react';\nimport { useTheme } from '@10d/tend-ui-theme';\nimport { Root } from './styled.js';\n\nconst Sider = (_a) => {\n var { className } = _a, props = __rest(_a, [\"className\"]);\n const theme = useTheme();\n return (React.createElement(Root, Object.assign({}, props, { theme: theme, className: ['tend-ui-layout-sider', className].filter(Boolean).join(' ') })));\n};\nSider.displayName = 'Layout.Sider';\n\nexport { Sider };\n//# sourceMappingURL=Sider.js.map\n","import Menu from 'antd-core/es/menu';\nimport styled from 'styled-components';\n\nconst Root = styled(Menu) `\n &.tend-ui-menu-light.tend-ui-menu-horizontal > .tend-ui-menu-item-selected,\n &.tend-ui-menu-light\n > .tend-ui-menu.tend-ui-menu-horizontal\n > .tend-ui-menu-item-selected,\n &.tend-ui-menu-light.tend-ui-menu-horizontal > .tend-ui-menu-submenu-selected,\n &.tend-ui-menu-light\n > .tend-ui-menu.tend-ui-menu-horizontal\n > .tend-ui-menu-submenu-selected {\n background: ${props => props.$theme.colors.blue100};\n }\n\n &.tend-ui-menu-horizontal {\n height: 32px;\n line-height: 1;\n border-bottom: none;\n .tend-ui-menu-item,\n .tend-ui-menu-submenu {\n padding: 6px 12px;\n display: flex;\n align-items: center;\n gap: 8px;\n\n &:first-child {\n margin-right: 4px;\n }\n &:last-child {\n margin-left: 4px;\n }\n &:not(:first-child):not(:last-child) {\n margin-left: 4px;\n margin-right: 4px;\n }\n\n /*\n Antd вешает стили из меню на span рядом с классом .anticon. Переопределяем\n */\n .tend-ui-menu-item .tend-ui-menu-item-icon + .tend-ui-badge-root,\n .tend-ui-menu-submenu-title .tend-ui-menu-item-icon + .tend-ui-badge-root,\n .tend-ui-menu-item .anticon + .tend-ui-badge-root,\n .tend-ui-menu-submenu-title .anticon + .tend-ui-badge-root {\n margin-inline-start: 0px;\n }\n }\n }\n`;\n\nexport { Root };\n//# sourceMappingURL=styled.js.map\n","import { __rest } from 'tslib';\nimport React from 'react';\nimport { ChevronDown } from '@10d/tend-ui-icons/ChevronDown';\nimport { ChevronUp } from '@10d/tend-ui-icons/ChevronUp';\nimport { useTheme } from '@10d/tend-ui-theme';\nimport { Box } from '@10d/tend-ui-grid';\nimport { Badge } from '../Badge/Badge.js';\nimport { Root } from './styled.js';\n\nconst Label = ({ after, children, badge, }) => {\n switch (badge === null || badge === void 0 ? void 0 : badge.type) {\n case 'dot': {\n return (React.createElement(Box, { as: 'span', \"$display\": 'flex', \"$alignItems\": 'center', \"$justifyContent\": 'space-between', \"$gap\": 4 },\n children,\n after,\n React.createElement(Badge, { preset: 'blue' })));\n }\n case 'counter': {\n return (React.createElement(Box, { as: 'span', \"$display\": 'flex', \"$alignItems\": 'center', \"$justifyContent\": 'space-between', \"$gap\": 4 },\n children,\n after,\n React.createElement(Badge, Object.assign({ preset: 'blue' }, badge))));\n }\n default:\n return (React.createElement(Box, { as: 'span', \"$display\": 'flex', \"$alignItems\": 'center', \"$justifyContent\": 'space-between', \"$gap\": 4 },\n children,\n after));\n }\n};\nconst traverse = (menu, openedKeys) => {\n if (!menu)\n return menu;\n if ('type' in menu)\n return menu;\n if ('children' in menu) {\n const { badge } = menu;\n const isOpened = openedKeys.includes(menu.key);\n const after = isOpened ? React.createElement(ChevronUp, null) : React.createElement(ChevronDown, null);\n return Object.assign(Object.assign({}, menu), { label: (React.createElement(Label, { after: after, badge: badge }, menu.label)), children: menu.children.map(menu => traverse(menu, openedKeys)) });\n }\n const { badge } = menu;\n return Object.assign(Object.assign({}, menu), { label: React.createElement(Label, { badge: badge }, menu.label) });\n};\nconst useMenus = (menus, openedKeys) => {\n return React.useMemo(() => menus.map(menu => traverse(menu, openedKeys)), [menus, openedKeys]);\n};\n/**\n * @internal Не для публичного использования\n */\nconst Menu = React.forwardRef((_a, ref) => {\n var { items = [], trigger = 'click' } = _a, props = __rest(_a, [\"items\", \"trigger\"]);\n const theme = useTheme();\n const [openedKeys, setOpenedKeys] = React.useState([]);\n const menus = useMenus(items, openedKeys);\n const overflowedIndicator = React.useMemo(() => {\n const isOpened = openedKeys.includes('rc-menu-more');\n return (React.createElement(Box, { as: 'span', \"$display\": 'flex', \"$alignItems\": 'center', \"$gap\": 4 },\n \"\\u0415\\u0449\\u0435\",\n isOpened ? React.createElement(ChevronUp, null) : React.createElement(ChevronDown, null)));\n }, [openedKeys]);\n const handleOpenChange = React.useCallback((path) => {\n setOpenedKeys(path);\n }, []);\n return (React.createElement(Root, Object.assign({ overflowedIndicator: overflowedIndicator }, props, { ref: ref, \"$theme\": theme, items: menus, mode: 'horizontal', expandIcon: null, onOpenChange: handleOpenChange, triggerSubMenuAction: trigger })));\n});\nMenu.displayName = 'Menu';\n\nexport { Menu };\n//# sourceMappingURL=Menu.js.map\n","import { css } from 'styled-components';\nimport { colors } from '@10d/tend-ui-tokens/samolet';\n\nconst scrollbar = css `\n ::-webkit-scrollbar {\n width: 8px;\n height: 8px;\n }\n\n ::-webkit-scrollbar-track {\n background: ${({ $theme = { colors } }) => $theme.colors.gray50};\n border-radius: 16px;\n }\n\n ::-webkit-scrollbar-thumb {\n background-color: ${({ $theme = { colors } }) => $theme.colors.gray150};\n border-radius: 16px;\n }\n`;\n\nexport { scrollbar };\n//# sourceMappingURL=scrollbar.js.map\n","import React from 'react';\nimport AntTypography from 'antd-core/es/typography';\n\n/**\n * @deprecated Не является компонентом типографии, будет удален в следующем мажорном обновлении\n */\nconst Typography = (props) => {\n return React.createElement(AntTypography, Object.assign({ \"data-testid\": 'tend-ui-typography' }, props));\n};\nTypography.displayName = 'Typography';\n\nexport { Typography };\n//# sourceMappingURL=Typography.js.map\n","import styled from 'styled-components';\n\nconst Root = styled.div ``;\n\nexport { Root };\n//# sourceMappingURL=styled.js.map\n","import { contextFactory } from '../../../factories/contextFactory.js';\n\nconst [CollapseContext, useCollapseContext] = contextFactory();\n\nexport { CollapseContext, useCollapseContext };\n//# sourceMappingURL=CollapseContext.js.map\n","import React from 'react';\n\nconst GroupContext = React.createContext(undefined);\nconst useGroupContext = () => React.useContext(GroupContext);\n\nexport { GroupContext, useGroupContext };\n//# sourceMappingURL=GroupContext.js.map\n","import React from 'react';\nimport { Root as Root$1 } from './styled.js';\nimport { CollapseContext } from '../../contexts/CollapseContext.js';\nimport { useGroupContext } from '../../contexts/GroupContext.js';\n\nconst Root = React.forwardRef(({ open = false, onOpenChange, children, id = '' }, ref) => {\n var _a, _b;\n const groupContext = useGroupContext();\n const defaultOpen = (_b = (_a = groupContext === null || groupContext === void 0 ? void 0 : groupContext.defaultOpen) === null || _a === void 0 ? void 0 : _a.includes(id)) !== null && _b !== void 0 ? _b : open;\n const [_open, _setOpen] = React.useState(defaultOpen);\n const handleClick = React.useCallback(() => {\n _setOpen(previousCollapsed => {\n const next = !previousCollapsed;\n onOpenChange === null || onOpenChange === void 0 ? void 0 : onOpenChange(next);\n return next;\n });\n }, [onOpenChange]);\n return (React.createElement(CollapseContext, { value: React.useMemo(() => ({ open: _open, onClick: handleClick }), [_open, handleClick]) },\n React.createElement(Root$1, { ref: ref, className: 'tend-ui-collapse-root' }, children)));\n});\nRoot.displayName = 'Collapse.Root';\n\nexport { Root };\n//# sourceMappingURL=Root.js.map\n","import styled from 'styled-components';\n\nconst Root = styled.div `\n cursor: pointer;\n display: flex;\n align-items: center;\n gap: 8px;\n`;\n\nexport { Root };\n//# sourceMappingURL=styled.js.map\n","import React from 'react';\nimport { Root } from './styled.js';\nimport { useCollapseContext } from '../../contexts/CollapseContext.js';\n\nconst Header = ({ children }) => {\n const { onClick } = useCollapseContext();\n return (React.createElement(Root, { onClick: onClick, className: 'tend-ui-collapse-header' }, children));\n};\nHeader.displayName = 'Collapse.Header';\n\nexport { Header };\n//# sourceMappingURL=Header.js.map\n","import React from 'react';\nimport { ChevronDown } from '@10d/tend-ui-icons/ChevronDown';\nimport { ChevronRight } from '@10d/tend-ui-icons/ChevronRight';\nimport { useCollapseContext } from '../../contexts/CollapseContext.js';\n\nconst Arrow = () => {\n const { open } = useCollapseContext();\n return open ? (React.createElement(ChevronDown, { size: 20, color: 'gray500' })) : (React.createElement(ChevronRight, { size: 20, color: 'gray500' }));\n};\nArrow.displayName = 'Collapse.Arrow';\n\nexport { Arrow };\n//# sourceMappingURL=Arrow.js.map\n","import styled from 'styled-components';\n\nconst Root = styled.div `\n font-family: ${props => props.theme.fonts.museo};\n font-size: 14px;\n overflow: hidden;\n height: ${props => (props.$open ? 'auto' : '0px')};\n`;\n\nexport { Root };\n//# sourceMappingURL=styled.js.map\n","import React from 'react';\nimport { useTheme } from '@10d/tend-ui-theme';\nimport { Box } from '@10d/tend-ui-grid';\nimport { Root } from './styled.js';\nimport { useCollapseContext } from '../../contexts/CollapseContext.js';\n\nconst Content = ({ children }) => {\n const context = useCollapseContext();\n const theme = useTheme();\n return (React.createElement(Root, { theme: theme, \"$open\": context.open, \"data-state\": context.open.toString(), className: 'tend-ui-collapse-content' },\n React.createElement(Box, { \"$padding\": '8px 0 0 24px' }, children)));\n};\nContent.displayName = 'Collapse.Content';\n\nexport { Content };\n//# sourceMappingURL=Content.js.map\n","import React from 'react';\nimport { GroupContext } from '../../contexts/GroupContext.js';\n\nconst Group = ({ children, defaultOpen }) => {\n return (React.createElement(GroupContext.Provider, { value: React.useMemo(() => ({ defaultOpen }), [defaultOpen]) }, children));\n};\nGroup.displayName = 'Collapse.Group';\n\nexport { Group };\n//# sourceMappingURL=Group.js.map\n","import { __rest } from 'tslib';\nimport React from 'react';\nimport { isString } from '@10d/tend-ui-utils/isString';\nimport { Text } from '@10d/tend-ui-typography';\nimport { Root } from './components/Root/Root.js';\nimport { Header } from './components/Header/Header.js';\nimport { Arrow } from './components/Arrow/Arrow.js';\nimport { Content } from './components/Content/Content.js';\nimport { Group } from './components/Group/Group.js';\n\nconst BaseCollapse = React.forwardRef((_a, ref) => {\n var { open, label, children, onOpenChange } = _a, props = __rest(_a, [\"open\", \"label\", \"children\", \"onOpenChange\"]);\n return (React.createElement(Root, Object.assign({}, props, { ref: ref, open: open, onOpenChange: onOpenChange }),\n React.createElement(Header, null,\n React.createElement(Arrow, null),\n isString(label) ? React.createElement(Text, null, label) : label),\n React.createElement(Content, null, children)));\n});\nconst Collapse = Object.assign(BaseCollapse, {\n displayName: 'Collapse',\n Group,\n Root,\n Header,\n Arrow,\n Content,\n});\n\nexport { Collapse };\n//# sourceMappingURL=Collapse.js.map\n","import styled, { css } from 'styled-components';\n\nconst Root = styled.hr `\n ${props => {\n const { $color = props.theme.colors.gray100 } = props;\n if (props.$type === 'horizontal') {\n return css `\n width: 100%;\n border: none;\n border-top: 1px solid ${$color};\n margin: ${props.$margin || '8px 0'};\n padding: ${props.$padding || '8px 0'};\n `;\n }\n return css `\n width: 1px;\n height: ${props.$height || '1em'};\n vertical-align: middle;\n background-color: ${$color};\n `;\n}}\n`;\n\nexport { Root };\n//# sourceMappingURL=styled.js.map\n","import React from 'react';\nimport { useTheme, useColor } from '@10d/tend-ui-theme';\nimport { Root } from './styled.js';\n\nconst Divider = ({ variant = 'horizontal', margin, padding, height, color, }) => {\n const theme = useTheme();\n // FIXME: Найти способ поправить литеральные типы\n const _color = useColor(color);\n const isVertical = variant === 'vertical';\n const as = isVertical ? 'div' : 'hr';\n return (React.createElement(Root, { theme: theme, as: as, \"$type\": variant, \"$margin\": margin, \"$padding\": padding, \"$height\": height, \"$color\": _color }));\n};\n\nexport { Divider };\n//# sourceMappingURL=Divider.js.map\n","import React from 'react';\nimport { useTranslation } from '@10d/tend-ui-locale/hooks/useTranslation';\nimport { Search } from '@10d/tend-ui-icons/Search';\nimport { Box } from '@10d/tend-ui-grid';\nimport { Paragraph } from '@10d/tend-ui-typography';\n\nconst EmptyOverlay = () => {\n const t = useTranslation();\n return (React.createElement(Box, { \"$display\": 'flex', \"$alignItems\": 'center', \"$justifyContent\": 'center', \"$gap\": 8, \"$height\": '68px' },\n React.createElement(Search, { color: 'gray500', size: 20 }),\n React.createElement(Paragraph, { margin: '0', color: 'gray500' }, t(['general', 'empty']))));\n};\n\nexport { EmptyOverlay };\n//# sourceMappingURL=EmptyOverlay.js.map\n","import React from 'react';\nimport { useTranslation } from '@10d/tend-ui-locale/hooks/useTranslation';\nimport { Cancel } from '@10d/tend-ui-icons/Cancel';\nimport { Box } from '@10d/tend-ui-grid';\nimport { Paragraph } from '@10d/tend-ui-typography';\n\nconst ErrorOverlay = () => {\n const t = useTranslation();\n return (React.createElement(Box, { \"$display\": 'flex', \"$alignItems\": 'center', \"$justifyContent\": 'center', \"$flexDirection\": 'column', \"$gap\": 4, \"$height\": '68px' },\n React.createElement(Cancel, { color: 'red600', size: 20 }),\n React.createElement(Paragraph, { margin: '0', color: 'red600' }, t(['general', 'error']))));\n};\n\nexport { ErrorOverlay };\n//# sourceMappingURL=ErrorOverlay.js.map\n","import styled from 'styled-components';\nimport { isNumber } from '@10d/tend-ui-utils';\nimport { scrollbar } from '../../styling/mixins/scrollbar.js';\n\nconst Root = styled.div `\n ${scrollbar};\n width: 100%;\n overflow: auto;\n // FIXME: Выглядит как костыль, возможно, есть более правильное решение\n // https://stackoverflow.com/questions/10251369/css-max-height-and-overflow-auto-always-displays-vertical-scroll\n // Проблема неидеальности шрифтов и появления вертикального скролла\n padding-bottom: 1px;\n margin-bottom: -1px;\n max-height: ${props => {\n if (isNumber(props.$maxHeight))\n return `${props.$maxHeight}px`;\n return props.$maxHeight;\n}};\n`;\n\nexport { Root };\n//# sourceMappingURL=styled.js.map\n","import { __rest } from 'tslib';\nimport React from 'react';\nimport { useTheme } from '@10d/tend-ui-theme';\nimport { Root } from './styled.js';\n\nconst Scrollable = React.forwardRef((_a, ref) => {\n var { maxHeight = '200px', className } = _a, props = __rest(_a, [\"maxHeight\", \"className\"]);\n const theme = useTheme();\n return (React.createElement(Root, Object.assign({}, props, { ref: ref, \"$theme\": theme, \"$maxHeight\": maxHeight, className: ['tend-ui-scrollable', className].filter(Boolean).join(' ') })));\n});\nScrollable.displayName = 'Scrollable';\n\nexport { Scrollable };\n//# sourceMappingURL=Scrollable.js.map\n","import styled, { css } from 'styled-components';\nimport { scrollbar } from '../../styling/mixins/scrollbar.js';\nimport { isUndefined } from '@10d/tend-ui-utils';\n\nconst Root = styled.ul `\n display: flex;\n flex-direction: column;\n list-style: none;\n padding: 0;\n margin: 0;\n\n ${props => {\n if (isUndefined(props.$gap))\n return;\n return css `\n gap: ${props.$gap}px;\n `;\n}};\n\n ${props => {\n if (!props.$scrollable)\n return;\n return css `\n max-height: ${props.$maxHeight || '160px'};\n overflow: auto;\n `;\n}}\n\n ${scrollbar};\n`;\n\nexport { Root };\n//# sourceMappingURL=styled.js.map\n","import styled, { css } from 'styled-components';\n\nconst Root = styled.li `\n display: flex;\n align-items: center;\n gap: 8px;\n background: ${props => props.theme.colors.gray0};\n\n /* Shape */\n padding: 4px 0;\n\n cursor: ${props => (props.$disabled ? 'not-allowed' : 'pointer')};\n font-family: ${props => props.theme.fonts.museo};\n font-size: ${props => props.theme.fontSizes[14]};\n color: ${props => {\n if (props.$disabled)\n return props.theme.colors.gray400;\n return props.theme.colors.gray900;\n}};\n line-height: 20px;\n\n /* Animation */\n transition: all 0.2s cubic-bezier(0.645, 0.045, 0.355, 1);\n\n ${props => {\n if (props.$disabled)\n return;\n return css `\n &:hover {\n background: ${props => props.theme.colors['gray50-transparent']};\n }\n `;\n}}\n\n .anticon, .tend-ui-icon-root {\n font-size: 16px;\n }\n`;\n\nexport { Root };\n//# sourceMappingURL=styled.js.map\n","import React from 'react';\n\n/**\n * @internal Not for public usage\n */\n// eslint-disable-next-line @typescript-eslint/no-explicit-any\nconst ListContext = React.createContext(undefined);\n/**\n * @internal Not for public usage\n */\nconst useListContext = () => {\n return React.useContext(ListContext);\n};\n\nexport { ListContext, useListContext };\n//# sourceMappingURL=index.js.map\n","import { __rest } from 'tslib';\nimport React from 'react';\nimport { useTheme } from '@10d/tend-ui-theme';\nimport { Box } from '@10d/tend-ui-grid';\nimport { Root } from './styled.js';\nimport { useListContext } from '../context/index.js';\n\nconst Item = React.forwardRef((_a, ref) => {\n var { children, before, after, disabled = false, className, onClick, value } = _a, props = __rest(_a, [\"children\", \"before\", \"after\", \"disabled\", \"className\", \"onClick\", \"value\"]);\n const theme = useTheme();\n const context = useListContext();\n const handleClick = React.useCallback((e) => {\n var _a;\n if (disabled)\n return;\n onClick === null || onClick === void 0 ? void 0 : onClick(e, value);\n (_a = context === null || context === void 0 ? void 0 : context.onItemClick) === null || _a === void 0 ? void 0 : _a.call(context, value);\n }, [disabled, onClick, value, context === null || context === void 0 ? void 0 : context.onItemClick]);\n return (React.createElement(Root, Object.assign({}, props, { ref: ref, theme: theme, \"$disabled\": disabled, className: ['tend-ui-list-item', className].filter(Boolean).join(' '), value: value, onClick: handleClick }),\n before,\n React.createElement(Box, { as: 'span', \"$width\": '100%' }, children),\n after));\n});\nItem.displayName = 'List.Item';\n\nexport { Item };\n//# sourceMappingURL=Item.js.map\n","import { __rest } from 'tslib';\nimport React from 'react';\nimport { useTheme } from '@10d/tend-ui-theme';\nimport { Text } from '@10d/tend-ui-typography';\nimport { Box } from '@10d/tend-ui-grid';\nimport { Root } from './styled.js';\nimport { Item } from './Item/Item.js';\nimport { ListContext } from './context/index.js';\n\nconst BaseList = (_a, ref) => {\n var { gap, className, maxHeight, scrollable = false, onItemClick, header } = _a, props = __rest(_a, [\"gap\", \"className\", \"maxHeight\", \"scrollable\", \"onItemClick\", \"header\"]);\n const theme = useTheme();\n const handleItemClick = React.useCallback((value) => {\n onItemClick === null || onItemClick === void 0 ? void 0 : onItemClick(value);\n }, [onItemClick]);\n const root = (React.createElement(Root, Object.assign({}, props, { ref: ref, \"$theme\": theme, \"$scrollable\": scrollable, \"$maxHeight\": maxHeight, \"$gap\": gap, className: ['tend-ui-list', className].filter(Boolean).join(' ') })));\n return (React.createElement(ListContext.Provider, { value: React.useMemo(() => ({ onItemClick: handleItemClick }), [handleItemClick]) }, header ? (React.createElement(Box, { \"$display\": 'flex', \"$flexDirection\": 'column', \"$gap\": 8 },\n React.createElement(Text, { color: 'gray650', size: 'small' }, header),\n root)) : (root)));\n};\nconst ForwardedList = React.forwardRef(BaseList);\nconst List = Object.assign(ForwardedList, {\n displayName: 'List',\n Item,\n});\n\nexport { List };\n//# sourceMappingURL=List.js.map\n","import styled, { keyframes } from 'styled-components';\nimport { Box } from '@10d/tend-ui-grid';\n\nconst opacity = keyframes `\n 100% {\n opacity: .5;\n }\n `;\nconst Root = styled(Box) `\n animation: ${opacity} ease-in-out 1s infinite alternate;\n`;\n\nexport { Root };\n//# sourceMappingURL=styled.js.map\n","import { __rest } from 'tslib';\nimport React from 'react';\nimport { extractMarginProps, extractPaddingProps, extractLayoutProps } from '@10d/tend-ui-styling';\nimport { Root } from './styled.js';\n\nconst sizes = { small: '24px', medium: '32px', large: '40px' };\nconst Skeleton = (_a) => {\n var { skeleton = true, size = 'medium', children, display, height, borderRadius = '8px', \n // FIXME: Использовать палитру дизайн системы\n backgroundColor = '#F0F0F0', className } = _a, props = __rest(_a, [\"skeleton\", \"size\", \"children\", \"display\", \"height\", \"borderRadius\", \"backgroundColor\", \"className\"]);\n const _b = extractMarginProps(props), { rest } = _b, margins = __rest(_b, [\"rest\"]);\n const _c = extractPaddingProps(rest), { rest: withoutPaddings } = _c, paddings = __rest(_c, [\"rest\"]);\n const layout = __rest(extractLayoutProps(withoutPaddings), []);\n const _height = height ? height : sizes[size];\n if (!skeleton)\n return React.createElement(React.Fragment, null, children);\n return (React.createElement(Root, Object.assign({}, layout, { \"$display\": display, \"$mt\": margins.$marginTop, \"$mr\": margins.$marginRight, \"$mb\": margins.$marginBottom, \"$ml\": margins.$marginLeft, \"$pt\": paddings.$paddingTop, \"$pr\": paddings.$paddingRight, \"$pb\": paddings.$paddingBottom, \"$pl\": paddings.$paddingLeft, \"$backgroundColor\": backgroundColor, \"$borderRadius\": borderRadius, \"$height\": _height, className: ['tend-ui-skeleton-root', className].filter(Boolean).join(' ') })));\n};\nSkeleton.displayName = 'Skeleton';\n\nexport { Skeleton };\n//# sourceMappingURL=Skeleton.js.map\n","import { width, height } from '@10d/tend-ui-styling';\nimport styled from 'styled-components';\n\nconst Root = styled.div `\n box-sizing: border-box;\n display: inline-flex;\n justify-content: center;\n align-items: center;\n ${width};\n ${height};\n`;\nconst Img = styled.img `\n width: 100%;\n height: 100%;\n object-fit: cover;\n`;\n\nexport { Img, Root };\n//# sourceMappingURL=styled.js.map\n","import { __rest } from 'tslib';\nimport React from 'react';\nimport { Root, Img } from './styled.js';\n\nconst Image = (_a) => {\n var { width = '245px', height, rootClassName } = _a, props = __rest(_a, [\"width\", \"height\", \"rootClassName\"]);\n return (React.createElement(Root, { className: ['tend-ui-image-root', rootClassName].filter(Boolean).join(' '), \"$width\": width, \"$height\": height },\n React.createElement(Img, Object.assign({}, props, { className: ['tend-ui-image-img', props.className].filter(Boolean).join(' ') }))));\n};\n\nexport { Image };\n//# sourceMappingURL=Image.js.map\n"],"names":["Root","span","attrs","$sizes","xl","css","large","medium","small","props","theme","colors","blue600","backgroundColor","$size","pointer","$bordered","$borderColor","blue100","AvatarContext","useAvatarContext","contextFactory","_a","ref","children","size","className","bordered","UNSTABLE_styling","imageLoadingStatus","setImageLoadingStatus","_borderColor","borderColor","value","onImageLoadingStatusChange","Object","assign","filter","Boolean","join","displayName","img","$objectFit","Image","src","fit","_src","Array","isArray","undefined","status","setStatus","isMounted","image","window","onload","onerror","useImageLoadingStatus","context","isSuccess","onLoadingStatusChange","Fallback","sizes","Unknown","Icon","I","mt","width","height","viewBox","fill","xmlns","d","UnknownGroup","presets","online","offline","away","busy","Avatar","fallbackNode","badgeProps","preset","offset","placement","content","isUndefined","child","Badge","List","max","_children","nodes","map","amount","length","shown","slice","message","push","font","fonts","museo","Content","placementCss","leftTop","rightTop","rightBottom","leftBottom","Bubble","dot","$placement","$offset","counter","bubble","$padding","$shape","default","gray50","success","green600","warning","gold600","processing","error","red600","gray","gray0","gray650","blue","geekblue","geekblue600","green","yellow","red","cyan","cyan600","volcano","volcano600","purple","purple600","blue700","geekblue200","green700","green100","gold800","gold200","red700","red100","cyan800","cyan100","volcano700","volcano100","purple500","purple100","$preset","showZero","before","after","inner","padding","rootClassName","variant","hasChildren","hasInner","shape","isNumber","isCounterVariant","_content","onClick","title","A","GroupRoot","$layout","$fullWidth","layout","fullWidth","BaseCheckbox","Group","DatePickerContext","DatePickerVisibilityContext","Trigger","component","Component","visibilityContext","isInvalid","__value","_value","handleClick","parameters","setOpen","call","open","isString","format","placeholder","onEscape","event","key","addEventListener","removeEventListener","Button","NextIcon","ChevronRight","PrevIcon","ChevronLeft","withInjectedClassName","$width","margin","createPicker","BaseDatePicker","showToday","allowClear","clearIconTooltip","onChange","onOpenChange","suffixIcon","CalendarMonth","_open","_setOpen","_setValue","__open","_size","useSize","allowClearProp","useAllowClear","locale","useDatePickerLocale","handleChange","handleOpenChange","_b","extractMarginProps","rest","margins","Provider","nextIcon","color","superNextIcon","prevIcon","superPrevIcon","DatePicker","isContextMenuItem","item","flatten","items","flatMap","BaseDropdown","mode","dropdownRender","menu","selectedKeys","defaultSelectedKeys","onSelect","state","reduce","result","cv","selectable","_selectedKeys","setSelectedKeys","defaultValue","_dropdownRender","node","isSelected","includes","info","keyPath","p","v","_items","traverse","itemIcon","Done","style","marginLeft","_menu","expandIcon","Dropdown","$theme","gray500","InputNumber","setTitle","toString","body","scrollbar","$scroll","$noFooter","ScrollPosition","onScrollPositionChange","position","setPosition","drawerScrollableBody","current","closest","scrollHeight","clientHeight","onScroll","e","target","top","Math","ceil","scrollTop","offsetHeight","footer","okButtonProps","cancelButtonProps","okText","cancelText","scroll","confirmLoading","closeIconTooltip","centered","bodyStyle","styles","t","headerCSS","setHeaderCSS","footerCSS","setFooterCSS","isWindowScroll","_style","_bodyStyle","overflowY","_width","_styles","header","noFooter","_title","_footer","onCancel","loading","onOk","tooltipProps","closeIcon","Tooltip","Close","boxShadow","ForwardedRadio","Radio","RangePicker","ArrowIcon","ChevronDown","$disabled","$open","gray900","gray150","$multi","Select","maxTagCount","disabled","notFoundContent","onDropdownVisibleChange","customSuffixIcon","innerOpen","setInnerOpen","isMultiple","openProp","handleDropdownVisibleChange","flag","maxTagPlaceholder","values","handleArrowClick","prevOpen","Spinner","notFoundContentProp","dropdownRenderProp","menuItemSelectedIcon","Checkbox","checked","removeIcon","Wrapper","More","$customMoreIcon","Tabs","moreText","hasMoreIcon","moreIcon","Container","label","div","BaseToggle","strong","Text","Toggle","ResizerIcon","Resizer","autoSize","bind","useInputTitle","textarea","withoutMargins","_c","extractDimensionProps","dimensions","prefix","Search","Popover","arrow","contentProp","$borders","neutral","gray400","$layouts","$border","$type","CloseButton","button","Action","Alert","border","showIcon","closable","type","description","onClose","icon","action","visible","setVisible","handleCloseClick","iconNode","DoneCircle","Cancel","Error","Info","Sync","closeIconNode","footerNode","contentNode","level","Styles","createGlobalStyle","Footer","composeDescription","config","CloseIcon","zIndex","methodsFactory","executor","init","duration","Toast","useToast","methods","holder","notification","useNotification","destroy","gray100","Title","Description","$active","Accordion","itemsProp","isActive","ghost","red200","gold100","green200","gray200","$pointer","FilterListIcon","ArrowDown","$sortOrder","TextHeader","ellipsis","rows","tooltip","TextCell","_Table","sizeProp","columns","filterIcon","FilterAlt","sortIcon","sortOrder","column","useColumns","isRowCursorPointer","onRow","pagination","Table","TimePicker","bottom","$visible","Extra","Actions","counterText","extra","useTranslation","isVisible","extraNode","document","FROM","TO","TimeSelect","virtual","from","to","step","options","_d","hourStep","hour","minuteStep","minute","_","index","acc","forEach","String","padStart","interval","useTimeOptions","second","split","time","set","Number","Card","Grid","Meta","Img","ImageContainer","Box","_e","_f","setLoading","handleCancelClick","onCancelReturnValue","Promise","then","catch","console","log","finally","handleOkClick","onOkReturnValue","isEmpty","entries","modal","okType","instance","danger","confirm","hasImage","imageDefaultLayout","isCoverLayout","classNames","Dialog","useDialog","useModal","destroyAll","PaginationButton","$variant","blue500","blue50","Pagination","prevIconTooltip","nextIconTooltip","jumpPrevIcon","jumpNextIcon","jump_to","items_per_page","page","Progress","red500","green500","Steps","labelPlacement","direction","innerCurrent","setInnerCurrent","horizontal","vertical","flexDirection","Segmented","option","badge","as","FULLSCREEN_OFFSET","Drawer","fullscreen","above","isVertical","isHorizontal","every","fontWeight","contentWrapperStyle","overflow","right","left","_height","borderBottom","borderTop","setClassName","$checked","input","Label","Input","Chip","preventDefault","Chips","payload","prev","next","prevValue","_options","ExpandButton","expanded","Remove","Add","switcherIcon","table","tbody","Tbody","thead","Thead","tr","$selected","Tr","selected","th","$textAlign","TableContext","useTableContext","Th","textAlign","td","Td","marginProps","SimpleTable","__NODES","Map","useScroll","register","get","scrollIntoView","behavior","SizeContext","useSizeContext","$sticky","Header","sticky","extractPaddingProps","paddings","main","$backgrounds","white","$background","Main","background","Sider","openedKeys","ChevronUp","Menu","trigger","setOpenedKeys","menus","useMenus","overflowedIndicator","isOpened","path","triggerSubMenuAction","Typography","CollapseContext","useCollapseContext","GroupContext","id","groupContext","defaultOpen","previousCollapsed","Arrow","BaseCollapse","Collapse","hr","$color","$margin","$height","Divider","_color","EmptyOverlay","ErrorOverlay","$maxHeight","Scrollable","maxHeight","ul","$gap","$scrollable","li","fontSizes","ListContext","Item","onItemClick","ForwardedList","gap","scrollable","handleItemClick","root","opacity","keyframes","Skeleton","skeleton","display","borderRadius","withoutPaddings","extractLayoutProps","$marginTop","$marginRight","$marginBottom","$marginLeft","$paddingTop","$paddingRight","$paddingBottom","$paddingLeft"],"sourceRoot":""}