@ctlyst.id/internal-ui 2.0.4 → 2.0.6
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/components/index.d.ts +2 -0
- package/dist/config/theme/components/form-label.d.ts +1 -0
- package/dist/internal-ui.cjs.development.js +266 -44
- package/dist/internal-ui.cjs.development.js.map +1 -1
- package/dist/internal-ui.cjs.production.min.js +10 -10
- package/dist/internal-ui.cjs.production.min.js.map +1 -1
- package/dist/internal-ui.esm.js +277 -63
- package/dist/internal-ui.esm.js.map +1 -1
- package/package.json +2 -2
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"internal-ui.cjs.development.js","sources":["../src/components/badge/components/badge.tsx","../src/components/breadcrumb/components/bread-crumb.tsx","../src/components/loader/components/loader.tsx","../src/components/button/components/button.tsx","../src/components/card/components/card.tsx","../src/components/checkbox/components/checkbox.tsx","../src/components/field/components/field.tsx","../src/components/checkbox/components/checkbox-group.tsx","../src/components/data-table/components/indeterminate-checkbox.tsx","../src/components/data-table/components/data-table.tsx","../src/components/form/styles/input-field.ts","../src/components/datepicker/components/styles.tsx","../src/components/datepicker/components/time-input.tsx","../src/components/datepicker/components/datepicker.tsx","../src/components/datepicker/components/datepicker-month/datepicker-month.tsx","../src/config/theme/foundations/colors.ts","../src/config/theme/foundations/radius.ts","../src/config/theme/foundations/shadows.ts","../src/config/theme/foundations/sizes.ts","../src/config/theme/foundations/spacing.ts","../src/config/theme/foundations/typography.ts","../src/components/datepicker/components/datepicker-month/multi-datepicker-month.tsx","../src/components/form/components/input-addon.tsx","../src/components/form/components/input-field.tsx","../src/components/form/components/textarea.tsx","../src/components/header/components/logo.tsx","../src/components/header/components/profile.tsx","../src/components/header/components/switch-mode.tsx","../src/components/header/utils/formatter.ts","../src/components/header/components/version.tsx","../src/components/header/components/header.tsx","../src/components/modal/components/modal-body.tsx","../src/components/modal/components/modal-close-button.tsx","../src/components/modal/components/modal-footer.tsx","../src/components/modal/components/modal-header.tsx","../src/components/navigation/components/customer-icon.tsx","../src/components/navigation/components/mapping-icon.ts","../src/components/navigation/components/navigation.tsx","../src/components/pagination/components/pagination-button.tsx","../src/components/pagination/components/pagination-button-trigger.tsx","../src/components/pagination/components/pagination.tsx","../src/components/pagination/components/pagination-detail.tsx","../src/components/pagination/components/pagination-filter.tsx","../src/components/radio/components/radio.tsx","../src/components/radio/components/radio-group.tsx","../src/components/select/components/select-wrapper.tsx","../src/components/select/components/utils.ts","../src/components/select/components/select.tsx","../src/components/select/components/select-async.tsx","../src/components/select/components/select-async-creatable.tsx","../src/components/select/components/select-creatable.tsx","../src/components/switch/components/switch.tsx","../src/components/tabs/components/tab.tsx","../src/components/tabs/components/tab-list.tsx","../src/components/tabs/components/tab-panel.tsx","../src/components/uploader/constants.ts","../src/components/uploader/components/uploader.tsx","../src/config/theme/components/alert.ts","../src/config/theme/components/badge.ts","../src/config/theme/components/button.ts","../src/config/theme/components/card.ts","../src/config/theme/components/checkbox.ts","../src/config/theme/components/chips.ts","../src/config/theme/components/form-label.ts","../src/config/theme/components/input.ts","../src/config/theme/components/loader.ts","../src/config/theme/components/popover.ts","../src/config/theme/components/radio.ts","../src/config/theme/components/switch.ts","../src/config/theme/components/textarea.ts","../src/config/theme/themeConfiguration.ts","../src/provider/components/provider.tsx"],"sourcesContent":["/* eslint-disable test-selectors/button */\nimport type { BadgeProps as BadgeChakraProps } from '@chakra-ui/react';\nimport { Badge as BadgeChakra } from '@chakra-ui/react';\nimport React from 'react';\n\nexport interface BadgeProps extends BadgeChakraProps {\n pill?: boolean;\n}\n\nconst Badge = (props: BadgeProps) => {\n const { children, pill, ...rest } = props;\n\n return (\n <BadgeChakra\n borderRadius={pill ? 10 : 4}\n variant=\"primary-solid\"\n padding=\"0 8px\"\n height=\"18px\"\n display=\"flex\"\n alignItems=\"center\"\n justifyContent=\"space-between\"\n textTransform=\"none\"\n {...rest}\n >\n {children}\n </BadgeChakra>\n );\n};\n\nBadge.defaultProps = {\n pill: false,\n};\n\nexport default Badge;\n","/* eslint-disable react-hooks/rules-of-hooks */\nimport { Box, Breadcrumb, BreadcrumbItem, BreadcrumbLink, Text, useColorModeValue, useToken } from '@chakra-ui/react';\nimport * as React from 'react';\nimport { FiChevronsRight, FiHome } from 'react-icons/fi';\n\nexport interface BreadCrumbParentProps {\n name: string;\n onClick?: () => void;\n disable?: boolean;\n link: string;\n}\n\nexport interface BreadCrumbProps {\n title: string;\n children?: React.ReactNode;\n parents?: BreadCrumbParentProps[];\n className?: string;\n disableHome?: boolean;\n spacing?: number;\n}\n\nconst BreadCrumb: React.FC<BreadCrumbProps> = props => {\n const { title, children, parents, className, disableHome, spacing = 2 } = props;\n const [neutral6, dark5] = useToken('colors', ['neutral.600', 'dark.500']);\n return (\n <Box\n data-test-id=\"CT_component_breadcrumb_breadcrumb\"\n className={className}\n display=\"flex\"\n justifyContent=\"space-between\"\n alignItems=\"center\"\n paddingY={2}\n >\n <Box display=\"flex\" alignItems=\"center\">\n <Text pr={2} fontWeight={600} textStyle=\"heading.4\" color={useColorModeValue('neutral.700', 'white')}>\n {title}\n </Text>\n <Box h=\"22px\" borderLeft=\"1px solid\" borderColor={useColorModeValue(neutral6, 'white')} />\n <Breadcrumb\n separator={<FiChevronsRight color={useColorModeValue(neutral6, dark5)} size={14} />}\n pl={2.5}\n pr={4}\n spacing={spacing}\n sx={{ ol: { display: 'flex', alignItems: 'center' } }}\n display=\"flex\"\n alignItems=\"center\"\n className=\"breadcrumb-wrapper\"\n >\n <BreadcrumbItem>\n <BreadcrumbLink href={!disableHome ? '/' : undefined} style={{ ...(disableHome && { cursor: 'default' }) }}>\n <FiHome className=\"align-top\" size={16} color={useColorModeValue('#12784A', '#ffffff')} />\n </BreadcrumbLink>\n </BreadcrumbItem>\n {parents?.map(val => (\n <BreadcrumbItem key={val.name}>\n <BreadcrumbLink\n data-test-id=\"iadKcMAul3QAdvmfIQjRE\"\n href={!val.disable ? val.link : undefined}\n onClick={val.onClick}\n style={{\n ...(val.disable && {\n cursor: 'default',\n }),\n }}\n _hover={{ textDecoration: 'none' }}\n >\n <Text\n color={val.disable ? 'dark.600' : useColorModeValue('primary.500', 'white')}\n fontSize=\"text.sm\"\n fontWeight={400}\n >\n {val.name}\n </Text>\n </BreadcrumbLink>\n </BreadcrumbItem>\n ))}\n <BreadcrumbItem>\n <BreadcrumbLink _hover={{ textDecor: 'none', cursor: 'default' }}>\n <Text color={useColorModeValue(neutral6, 'white')} fontSize=\"text.sm\" fontWeight={400}>\n {title}\n </Text>\n </BreadcrumbLink>\n </BreadcrumbItem>\n </Breadcrumb>\n </Box>\n {children && <Box>{children}</Box>}\n </Box>\n );\n};\n\nBreadCrumb.defaultProps = {\n children: undefined,\n parents: undefined,\n className: undefined,\n disableHome: undefined,\n spacing: 2,\n};\n\nexport default BreadCrumb;\n","import type { HTMLChakraProps, ThemingProps } from '@chakra-ui/react';\nimport { Box, forwardRef, useStyleConfig } from '@chakra-ui/react';\nimport React from 'react';\n\nexport interface LoaderProps {\n size?: string;\n variant?: string;\n}\n\nexport interface CustomBadgeProps extends HTMLChakraProps<'span'>, ThemingProps {}\n\nconst Loader = forwardRef<CustomBadgeProps, 'div'>((props: LoaderProps, ref) => {\n const styles = useStyleConfig('LoaderStyle', props);\n\n return <Box ref={ref} __css={styles} />;\n});\n\nexport default Loader;\n","/* eslint-disable test-selectors/button */\nimport type { ButtonProps as ButtonChakraProps } from '@chakra-ui/react';\nimport { Button as ButtonChakra } from '@chakra-ui/react';\nimport React from 'react';\n\nimport { Loader } from '../../loader';\n\nexport type ButtonProps = ButtonChakraProps;\n\nconst Button = (props: ButtonProps) => {\n const { children, variant, size, ...rest } = props;\n\n const getLoaderSize = () => {\n if (size === 'lg') return 'md';\n if (size === 'md') return 'sm';\n return 'xs';\n };\n\n const getLoaderColor = () => {\n if (variant === 'primary' || variant === 'danger') return 'white';\n if (variant === 'outline-danger') return 'danger';\n return 'primary';\n };\n\n return (\n <ButtonChakra\n size={size}\n variant={variant}\n spinner={<Loader size={getLoaderSize()} color={getLoaderColor()} />}\n {...rest}\n >\n {children}\n </ButtonChakra>\n );\n};\n\nexport default Button;\n","import type { BoxProps } from '@chakra-ui/react';\nimport { Card, useStyleConfig } from '@chakra-ui/react';\nimport React, { forwardRef } from 'react';\n\nexport interface CardProps extends BoxProps {\n withShadow?: boolean;\n isRounded?: boolean;\n}\n\nconst CardCustom = forwardRef<HTMLDivElement, CardProps>(({ children, ...rest }, ref) => {\n const styles = useStyleConfig('Card', rest);\n\n return (\n <Card __css={styles} backgroundColor=\"white.high\" ref={ref} {...rest}>\n {children}\n </Card>\n );\n});\n\nCardCustom.defaultProps = {\n withShadow: true,\n isRounded: true,\n};\n\nexport default CardCustom;\n","/* eslint-disable no-nested-ternary */\nimport type { CheckboxProps } from '@chakra-ui/react';\nimport { Box, Checkbox, Text } from '@chakra-ui/react';\nimport type { PropsWithChildren } from 'react';\nimport React from 'react';\n\nexport interface CheckboxComponentProps extends CheckboxProps, PropsWithChildren {\n isError?: boolean;\n helpText?: string;\n errorText?: string;\n}\n\nfunction CheckboxComponent({\n isError = false,\n helpText = '',\n errorText = '',\n children,\n isDisabled,\n ...rest\n}: CheckboxComponentProps) {\n const variant = isError ? 'errors' : 'unstyled';\n return (\n <Box>\n <Box display=\"flex\">\n <Checkbox variant={variant} {...rest} isDisabled={isDisabled}>\n {children && (\n <Text textStyle=\"text.sm\" color={isDisabled ? 'black.low' : 'black.high'}>\n {children}\n </Text>\n )}\n </Checkbox>\n </Box>\n <Box mt=\"5px\" ml=\"24px\">\n {isError ? (\n <Text textStyle=\"text.xs\" color=\"danger.500\">\n {errorText}\n </Text>\n ) : (\n <Text textStyle=\"text.xs\" color=\"black.medium\">\n {helpText}\n </Text>\n )}\n </Box>\n </Box>\n );\n}\n\nCheckboxComponent.defaultProps = {\n isError: false,\n helpText: '',\n errorText: '',\n};\n\nexport default CheckboxComponent;\n","/* eslint-disable no-nested-ternary */\nimport type { FormControlProps } from '@chakra-ui/react';\nimport { Box, FormControl, FormErrorMessage, FormHelperText, FormLabel } from '@chakra-ui/react';\nimport type { FC, PropsWithChildren, ReactNode } from 'react';\nimport React from 'react';\n\nexport interface Props {\n label?: string | ReactNode;\n isError?: boolean;\n isSuccess?: boolean;\n errorMessage?: string | ReactNode;\n leftHelperText?: string | ReactNode;\n rightHelperText?: string | ReactNode;\n isRequired?: boolean;\n boxProps?: FormControlProps;\n}\n\nexport type FieldProps<T = unknown> = Props & T;\n\nconst Field: FC<PropsWithChildren<Props>> = props => {\n const {\n label,\n isError,\n errorMessage,\n leftHelperText,\n rightHelperText,\n isRequired,\n children,\n isSuccess,\n boxProps = {},\n } = props;\n\n const getHelperColor = () => {\n if (isError) return 'danger.500';\n if (isSuccess) return 'success.500';\n return 'black.medium';\n };\n\n const getJustifyContentHelper = () => {\n if (rightHelperText && (!leftHelperText || (isError && !errorMessage))) return 'flex-end';\n return 'space-between';\n };\n\n const helperColor = getHelperColor();\n const justifyHelper = getJustifyContentHelper();\n\n return (\n <FormControl isInvalid={isError} {...boxProps}>\n {label &&\n (typeof label === 'string' ? (\n <FormLabel mb={1} fontSize=\"text.sm\" requiredIndicator={undefined}>\n {isRequired && (\n <Box as=\"span\" color=\"danger.500\" ml={0} mr={1}>\n *\n </Box>\n )}\n {label}\n </FormLabel>\n ) : (\n label\n ))}\n {children}\n {((isError && errorMessage) || leftHelperText || rightHelperText) && (\n <Box display=\"flex\" width=\"full\" justifyContent={justifyHelper}>\n {!isError ? (\n leftHelperText &&\n (typeof leftHelperText === 'string' ? (\n <FormHelperText fontSize=\"text.xs\" color={helperColor} mt={1}>\n {leftHelperText}\n </FormHelperText>\n ) : (\n leftHelperText\n ))\n ) : typeof errorMessage === 'string' ? (\n <FormErrorMessage fontSize=\"text.xs\" color=\"danger.500\" mt={1}>\n {errorMessage}\n </FormErrorMessage>\n ) : (\n errorMessage\n )}\n {rightHelperText &&\n (typeof rightHelperText === 'string' ? (\n <FormHelperText fontSize=\"text.xs\" color={helperColor} mt={1}>\n {rightHelperText}\n </FormHelperText>\n ) : (\n rightHelperText\n ))}\n </Box>\n )}\n </FormControl>\n );\n};\n\nField.defaultProps = {\n label: '',\n isError: false,\n isSuccess: false,\n errorMessage: undefined,\n leftHelperText: undefined,\n rightHelperText: undefined,\n isRequired: false,\n boxProps: {},\n};\n\nexport default Field;\n","/* eslint-disable no-nested-ternary */\nimport type { CheckboxGroupProps } from '@chakra-ui/react';\nimport { Box, CheckboxGroup, Stack } from '@chakra-ui/react';\nimport type { PropsWithChildren } from 'react';\nimport React from 'react';\n\nimport type { FieldProps } from '../../field';\nimport { Field } from '../../field';\n\nexport interface CheckboxGroupComponentProps extends FieldProps, CheckboxGroupProps, PropsWithChildren {\n label: string;\n helpText?: string;\n isError?: boolean;\n errorMessage?: string;\n}\n\nfunction CheckboxGroupComponent(props: CheckboxGroupComponentProps) {\n const { children, label, helpText, isError, errorMessage, ...rest } = props;\n return (\n <Field {...rest} label={label} leftHelperText={helpText} isError={isError} errorMessage={errorMessage}>\n <Box mt=\"12px\">\n <CheckboxGroup {...rest}>\n <Stack spacing={[1, '16px']} direction={['column', 'row']}>\n {children}\n </Stack>\n </CheckboxGroup>\n </Box>\n </Field>\n );\n}\n\nCheckboxGroupComponent.defaultProps = {\n helpText: '',\n isError: false,\n errorMessage: '',\n};\n\nexport default CheckboxGroupComponent;\n","import { Flex } from '@chakra-ui/react';\nimport * as React from 'react';\n\nconst IndeterminateCheckbox = ({\n indeterminate = false,\n ...rest\n}: { indeterminate: boolean } & React.HTMLProps<HTMLInputElement>) => {\n const ref = React.useRef<HTMLInputElement>(null);\n\n React.useEffect(() => {\n if (ref.current && typeof indeterminate === 'boolean') {\n ref.current.indeterminate = !rest.checked && indeterminate;\n }\n }, [ref, indeterminate]);\n\n return (\n <Flex align=\"center\">\n <input type=\"checkbox\" ref={ref} {...rest} />\n </Flex>\n );\n};\n\nexport default IndeterminateCheckbox;\n","/* eslint-disable react-hooks/rules-of-hooks */\n/* eslint-disable react/no-unstable-nested-components */\nimport { ChevronDownIcon, ChevronUpIcon, UpDownIcon } from '@chakra-ui/icons';\nimport type {\n BoxProps,\n TableBodyProps,\n TableCellProps,\n TableColumnHeaderProps,\n TableHeadProps,\n TableProps,\n TableRowProps,\n} from '@chakra-ui/react';\nimport { Box, Flex, Spinner, Table, Tbody, Td, Text, Th, Thead, Tr, useColorModeValue } from '@chakra-ui/react';\nimport { css } from '@emotion/react';\nimport type { ColumnDef, ColumnSort, RowSelectionState, SortingState } from '@tanstack/react-table';\nimport { flexRender, getCoreRowModel, getSortedRowModel, useReactTable } from '@tanstack/react-table';\nimport * as React from 'react';\n\nimport IndeterminateCheckbox from './indeterminate-checkbox';\n\nexport interface TableStyleProps {\n table?: TableProps;\n tableHead?: TableHeadProps;\n tableRow?: TableRowProps;\n tableBody?: TableBodyProps;\n tableColumnHeader?: TableColumnHeaderProps;\n tableCell?: TableCellProps;\n}\n\nexport interface DataTableProps<T = unknown> extends BoxProps {\n styles?: TableStyleProps;\n columns: ColumnDef<T>[];\n dataSource: T[] | undefined;\n isLoading?: boolean;\n withSelectedRow?: boolean | undefined;\n onSelectedRow?: (data: T[]) => void;\n onSort?: (data: ColumnSort[] | ((prevState: SortingState) => SortingState)) => void;\n manualSorting?: boolean;\n sortingState?: SortingState;\n}\n\nconst DataTable = <P,>({\n columns,\n dataSource = [],\n isLoading,\n withSelectedRow,\n onSelectedRow,\n onSort,\n manualSorting,\n sortingState,\n styles,\n ...props\n}: DataTableProps<P>): React.ReactElement => {\n const [sorting, setSorting] = React.useState<SortingState>(sortingState ?? []);\n const [rowSelection, onRowSelectionChange] = React.useState<RowSelectionState>({});\n const dataColumns = React.useMemo<ColumnDef<P>[]>(() => columns, [columns]);\n const checkboxColumn = React.useMemo<ColumnDef<P>[]>(\n () => [\n {\n id: 'select',\n header: ({ table }) => (\n <IndeterminateCheckbox\n {...{\n checked: table.getIsAllRowsSelected(),\n indeterminate: table.getIsSomeRowsSelected(),\n onChange: table.getToggleAllRowsSelectedHandler(),\n }}\n />\n ),\n cell: ({ row }) => (\n <IndeterminateCheckbox\n {...{\n checked: row.getIsSelected(),\n indeterminate: row.getIsSomeSelected(),\n onChange: row.getToggleSelectedHandler(),\n }}\n />\n ),\n },\n ],\n []\n );\n\n const generateColumn = () => {\n if (withSelectedRow) {\n return [...checkboxColumn, ...dataColumns];\n }\n return dataColumns;\n };\n\n const onSortingChange = (data: ColumnSort[] | ((prevState: SortingState) => SortingState)) => {\n setSorting(data);\n if (onSort) {\n onSort(data);\n }\n };\n\n const table = useReactTable({\n data: dataSource,\n columns: generateColumn(),\n getCoreRowModel: getCoreRowModel(),\n getSortedRowModel: getSortedRowModel(),\n manualPagination: true,\n sortDescFirst: true,\n state: {\n sorting,\n rowSelection,\n },\n onRowSelectionChange,\n onSortingChange,\n manualSorting,\n });\n\n const { flatRows } = table.getSelectedRowModel();\n React.useEffect(() => {\n const rowData = flatRows.map(row => row.original);\n if (onSelectedRow) {\n onSelectedRow(rowData);\n }\n }, [flatRows]);\n\n return (\n <Box {...props}>\n {isLoading && (\n <Flex w=\"100%\" h=\"100%\" pos=\"absolute\" bg=\"white\" align=\"center\" justify=\"center\" zIndex={2}>\n <Spinner color=\"primary.500\" thickness=\"4px\" size=\"lg\" />\n </Flex>\n )}\n <Table {...styles?.table}>\n <Thead {...styles?.tableHead}>\n {table.getHeaderGroups().map(headerGroup => (\n <Tr key={headerGroup.id} bg={useColorModeValue('initial', 'ebony-clay.700')} {...styles?.tableRow}>\n {headerGroup.headers.map(header => (\n <Th key={header.id} colSpan={header.colSpan} {...styles?.tableColumnHeader}>\n <Flex\n data-test-id={`CT_Container_TableHeader_${header.id}`}\n textTransform=\"capitalize\"\n userSelect=\"none\"\n align=\"center\"\n justifyContent=\"space-between\"\n >\n <Text\n fontSize=\"text.sm\"\n fontWeight={400}\n lineHeight=\"18px\"\n color={useColorModeValue('neutral.900', 'white')}\n >\n {flexRender(header.column.columnDef.header, header.getContext())}\n </Text>\n <Box\n as=\"span\"\n pl=\"2\"\n cursor={header.column.getCanSort() ? 'pointer' : 'default'}\n data-test-id={`CT_Container_SortingIcon_${header.id}`}\n onClick={header.column.getToggleSortingHandler()}\n >\n {(header.column.getCanSort() &&\n {\n asc: <ChevronUpIcon />,\n desc: <ChevronDownIcon />,\n }[header.column.getIsSorted() as string]) ?? <UpDownIcon h={2} />}\n </Box>\n </Flex>\n </Th>\n ))}\n </Tr>\n ))}\n </Thead>\n <Tbody {...styles?.tableBody}>\n {table.getRowModel().rows.map(row => (\n <Tr\n key={row.id}\n {...styles?.tableRow}\n css={css`\n &:last-child {\n td {\n border-bottom: none;\n }\n }\n `}\n >\n {row.getVisibleCells().map(cell => (\n <Td\n key={cell.id}\n fontSize=\"text.sm\"\n color={useColorModeValue('dark.800', 'dark.300')}\n {...styles?.tableCell}\n >\n {flexRender(cell.column.columnDef.cell, cell.getContext())}\n </Td>\n ))}\n </Tr>\n ))}\n </Tbody>\n </Table>\n </Box>\n );\n};\n\n/* eslint-disable react/default-props-match-prop-types */\nDataTable.defaultProps = {\n withSelectedRow: false,\n overflowX: 'scroll',\n pos: 'relative',\n maxW: '100%',\n minH: 400,\n w: 'full',\n styles: undefined,\n isLoading: undefined,\n onSelectedRow: undefined,\n onSort: undefined,\n manualSorting: false,\n sortingState: [],\n};\n\nexport default DataTable;\n","import type { BoxProps } from '@chakra-ui/react';\nimport { defineStyle } from '@chakra-ui/react';\n\nimport type { InputFieldProps } from '../components/input-field';\n\nconst getProperties = (props: InputFieldProps) => {\n const { isError, isDisabled, isSuccess } = props;\n\n let outlineColor = 'neutral.400';\n let focusColor = 'primary.500';\n\n if (isError || isDisabled || isSuccess) {\n if (isError) outlineColor = 'danger.500';\n else if (isSuccess) outlineColor = 'success.500';\n focusColor = outlineColor;\n }\n\n return {\n outlineColor,\n focusColor,\n };\n};\n\nconst getWrapperStyle = (props: InputFieldProps) => {\n const { outlineColor, focusColor } = getProperties(props);\n\n const style: BoxProps = {\n border: '1px solid',\n borderColor: outlineColor,\n borderRadius: 'md',\n transition: 'all 0.15s',\n boxShadow: 'none',\n _focusWithin: {\n borderColor: focusColor,\n },\n };\n\n return defineStyle(style);\n};\n\nexport default getWrapperStyle;\n","import { useColorMode } from '@chakra-ui/system';\nimport { Global } from '@emotion/react';\nimport React from 'react';\n\nconst Styles = () => {\n const { colorMode } = useColorMode();\n return (\n <Global\n styles={`\n @charset \"UTF-8\";\n .react-datepicker__year-read-view--down-arrow,\n .react-datepicker__month-read-view--down-arrow,\n .react-datepicker__month-year-read-view--down-arrow, .react-datepicker__navigation-icon::before {\n border-color: ${colorMode === 'light' ? '#6E6B7B' : '#d0d1d2'};\n border-style: solid;\n border-width: 1px 1px 0 0;\n content: \"\";\n display: block;\n height: 7px;\n position: absolute;\n top: 13px;\n width: 7px;\n }\n .react-datepicker-popper[data-placement^=top] .react-datepicker__triangle, .react-datepicker-popper[data-placement^=bottom] .react-datepicker__triangle {\n margin-left: -4px;\n position: absolute;\n width: 0;\n }\n .react-datepicker-popper[data-placement^=top] .react-datepicker__triangle::before, .react-datepicker-popper[data-placement^=bottom] .react-datepicker__triangle::before, .react-datepicker-popper[data-placement^=top] .react-datepicker__triangle::after, .react-datepicker-popper[data-placement^=bottom] .react-datepicker__triangle::after {\n box-sizing: content-box;\n position: absolute;\n border: 8px solid transparent;\n height: 0;\n width: 1px;\n content: \"\";\n z-index: -1;\n border-width: 8px;\n left: -8px;\n }\n .react-datepicker-popper[data-placement^=top] .react-datepicker__triangle::before, .react-datepicker-popper[data-placement^=bottom] .react-datepicker__triangle::before {\n border-bottom-color: #aeaeae;\n }\n\n .react-datepicker-popper[data-placement^=bottom] .react-datepicker__triangle {\n top: 0;\n margin-top: -8px;\n }\n .react-datepicker-popper[data-placement^=bottom] .react-datepicker__triangle::before, .react-datepicker-popper[data-placement^=bottom] .react-datepicker__triangle::after {\n border-top: none;\n border-bottom-color: #f0f0f0;\n }\n .react-datepicker-popper[data-placement^=bottom] .react-datepicker__triangle::after {\n top: 0;\n }\n .react-datepicker-popper[data-placement^=bottom] .react-datepicker__triangle::before {\n top: -1px;\n border-bottom-color: #aeaeae;\n }\n\n .react-datepicker-popper[data-placement^=top] .react-datepicker__triangle {\n bottom: 0;\n margin-bottom: -8px;\n }\n .react-datepicker-popper[data-placement^=top] .react-datepicker__triangle::before, .react-datepicker-popper[data-placement^=top] .react-datepicker__triangle::after {\n border-bottom: none;\n border-top-color: #fff;\n }\n .react-datepicker-popper[data-placement^=top] .react-datepicker__triangle::after {\n bottom: 0;\n }\n .react-datepicker-popper[data-placement^=top] .react-datepicker__triangle::before {\n bottom: -1px;\n border-top-color: #aeaeae;\n }\n\n .react-datepicker-wrapper {\n display: inline-block;\n padding: 0;\n border: 0;\n width: 100%;\n }\n\n .react-datepicker {\n font-family: \"inherit\", helvetica, arial, sans-serif;\n font-size: 0.75;\n background-color: ${colorMode === 'light' ? '#ffffff' : '#283046'};\n color: ${colorMode === 'light' ? '#000' : '#d0d1d2'};\n filter: drop-shadow(0px 3px 10px rgba(0, 0, 0, 0.08));\n border-radius: 0.3rem;\n display: inline-block;\n position: relative;\n }\n\n .react-datepicker.inline {\n filter: none;\n }\n\n .react-datepicker--time-only .react-datepicker__triangle {\n left: 35px;\n }\n .react-datepicker--time-only .react-datepicker__time-container {\n border-left: 0;\n }\n .react-datepicker--time-only .react-datepicker__time,\n .react-datepicker--time-only .react-datepicker__time-box {\n border-bottom-left-radius: 0.3rem;\n border-bottom-right-radius: 0.3rem;\n }\n\n .react-datepicker__triangle {\n position: absolute;\n left: 50px;\n }\n\n .react-datepicker-popper {\n z-index: 1;\n }\n .react-datepicker-popper[data-placement^=bottom] {\n padding-top: 10px;\n }\n .react-datepicker-popper[data-placement=bottom-end] .react-datepicker__triangle, .react-datepicker-popper[data-placement=top-end] .react-datepicker__triangle {\n left: auto;\n right: 50px;\n }\n .react-datepicker-popper[data-placement^=top] {\n padding-bottom: 10px;\n }\n .react-datepicker-popper[data-placement^=right] {\n padding-left: 8px;\n }\n .react-datepicker-popper[data-placement^=right] .react-datepicker__triangle {\n left: auto;\n right: 42px;\n }\n .react-datepicker-popper[data-placement^=left] {\n padding-right: 8px;\n }\n .react-datepicker-popper[data-placement^=left] .react-datepicker__triangle {\n left: 42px;\n right: auto;\n }\n\n .react-datepicker__header {\n text-align: center;\n background-color: ${colorMode === 'light' ? '#ffffff' : '#131620'};\n border-top-left-radius: 0.3rem;\n padding: 8px 0;\n position: relative;\n }\n .react-datepicker__header--time {\n padding-bottom: 8px;\n padding-left: 5px;\n padding-right: 5px;\n }\n .react-datepicker__header--time:not(.react-datepicker__header--time--only) {\n border-top-left-radius: 0;\n }\n .react-datepicker__header:not(.react-datepicker__header--has-time-select) {\n border-top-right-radius: 0.3rem;\n }\n\n .react-datepicker__year-dropdown-container--select,\n .react-datepicker__month-dropdown-container--select,\n .react-datepicker__month-year-dropdown-container--select,\n .react-datepicker__year-dropdown-container--scroll,\n .react-datepicker__month-dropdown-container--scroll,\n .react-datepicker__month-year-dropdown-container--scroll {\n display: inline-block;\n margin: 0 2px;\n }\n .react-datepicker__header__dropdown.react-datepicker__header__dropdown--select {\n font-weight: 600;\n line-height: 22px;\n color: #111111;\n }\n\n .react-datepicker__current-month,\n .react-datepicker-time__header,\n .react-datepicker-year-header {\n margin-top: 0;\n color: ${colorMode === 'light' ? '#111111' : '#d0d1d2'};\n font-size: 0.75;\n }\n\n .react-datepicker-time__header {\n text-overflow: ellipsis;\n white-space: nowrap;\n overflow: hidden;\n }\n\n .react-datepicker__navigation {\n align-items: center;\n background: none;\n display: flex;\n justify-content: center;\n text-align: center;\n cursor: pointer;\n position: absolute;\n top: 2px;\n padding: 0;\n border: none;\n z-index: 1;\n height: 32px;\n width: 32px;\n text-indent: -999em;\n overflow: hidden;\n }\n .react-datepicker__navigation--previous {\n left: 2px;\n }\n .react-datepicker__navigation--next {\n right: 2px;\n }\n .react-datepicker__navigation--next--with-time:not(.react-datepicker__navigation--next--with-today-button) {\n right: 85px;\n }\n .react-datepicker__navigation--years {\n position: relative;\n top: 0;\n display: block;\n margin-left: auto;\n margin-right: auto;\n }\n .react-datepicker__navigation--years-previous {\n top: 4px;\n }\n .react-datepicker__navigation--years-upcoming {\n top: -4px;\n }\n .react-datepicker__navigation:hover *::before {\n border-color: #a6a6a6;\n }\n\n .react-datepicker__navigation-icon {\n position: relative;\n top: -1px;\n font-size: 20px;\n width: 0;\n }\n .react-datepicker__navigation-icon--next {\n left: -2px;\n }\n .react-datepicker__navigation-icon--next::before {\n transform: rotate(45deg);\n left: -7px;\n }\n .react-datepicker__navigation-icon--previous {\n right: -2px;\n }\n .react-datepicker__navigation-icon--previous::before {\n transform: rotate(225deg);\n right: -7px;\n }\n\n .react-datepicker__month-container {\n float: left;\n border-radius: 8px;\n }\n\n .react-datepicker__year {\n margin: 0.4rem;\n text-align: center;\n }\n .react-datepicker__year-wrapper {\n display: flex;\n flex-wrap: wrap;\n max-width: 180px;\n }\n .react-datepicker__year .react-datepicker__year-text {\n display: inline-block;\n width: 4rem;\n margin: 2px;\n }\n\n .react-datepicker__month {\n margin: 0.4rem;\n text-align: center;\n }\n .react-datepicker__month .react-datepicker__month-text,\n .react-datepicker__month .react-datepicker__quarter-text {\n display: inline-block;\n width: 4rem;\n margin: 2px;\n }\n\n .react-datepicker__input-time-container {\n width: 100%;\n }\n .react-datepicker__input-time-container .react-datepicker-time__caption {\n width: 100%;\n display: inline-block;\n }\n .react-datepicker__input-time-container .react-datepicker-time__input-container {\n width: 100%;\n display: inline-block;\n }\n .react-datepicker__input-time-container .react-datepicker-time__input-container .react-datepicker-time__input {\n width: 100%;\n display: inline-block;\n }\n .react-datepicker__input-time-container .react-datepicker-time__input-container .react-datepicker-time__input input {\n width: auto;\n }\n .react-datepicker__input-time-container .react-datepicker-time__input-container .react-datepicker-time__input input[type=time]::-webkit-inner-spin-button,\n .react-datepicker__input-time-container .react-datepicker-time__input-container .react-datepicker-time__input input[type=time]::-webkit-outer-spin-button {\n -webkit-appearance: none;\n margin: 0;\n }\n .react-datepicker__input-time-container .react-datepicker-time__input-container .react-datepicker-time__input input[type=time] {\n -moz-appearance: textfield;\n }\n .react-datepicker__input-time-container .react-datepicker-time__input-container .react-datepicker-time__delimiter {\n width: 100%;\n display: inline-block;\n }\n\n .react-datepicker__time-container {\n float: right;\n border-left: 1px solid #aeaeae;\n width: 85px;\n }\n .react-datepicker__time-container--with-today-button {\n display: inline;\n border: 1px solid #aeaeae;\n border-radius: 0.3rem;\n position: absolute;\n right: -72px;\n top: 0;\n }\n .react-datepicker__time-container .react-datepicker__time {\n position: relative;\n background: white;\n border-bottom-right-radius: 0.3rem;\n }\n .react-datepicker__time-container .react-datepicker__time .react-datepicker__time-box {\n width: 85px;\n overflow-x: hidden;\n margin: 0 auto;\n text-align: center;\n border-bottom-right-radius: 0.3rem;\n }\n .react-datepicker__time-container .react-datepicker__time .react-datepicker__time-box ul.react-datepicker__time-list {\n list-style: none;\n margin: 0;\n height: calc(195px + (1.7rem / 2));\n overflow-y: scroll;\n padding-right: 0;\n padding-left: 0;\n width: 100%;\n box-sizing: content-box;\n }\n .react-datepicker__time-container .react-datepicker__time .react-datepicker__time-box ul.react-datepicker__time-list li.react-datepicker__time-list-item {\n height: 30px;\n padding: 5px 10px;\n white-space: nowrap;\n }\n .react-datepicker__time-container .react-datepicker__time .react-datepicker__time-box ul.react-datepicker__time-list li.react-datepicker__time-list-item:hover {\n cursor: pointer;\n background-color: ${colorMode === 'light' ? '#f0f0f0' : '#131620'};\n }\n .react-datepicker__time-container .react-datepicker__time .react-datepicker__time-box ul.react-datepicker__time-list li.react-datepicker__time-list-item--selected {\n background-color: ${colorMode === 'light' ? '#12784A' : '#131620'};\n color: white;\n font-weight: bold;\n }\n .react-datepicker__time-container .react-datepicker__time .react-datepicker__time-box ul.react-datepicker__time-list li.react-datepicker__time-list-item--selected:hover {\n background-color: ${colorMode === 'light' ? '#12784A' : '#131620'};\n }\n .react-datepicker__time-container .react-datepicker__time .react-datepicker__time-box ul.react-datepicker__time-list li.react-datepicker__time-list-item--disabled {\n color: ${colorMode === 'light' ? '#ccc' : '#d0d1d2'};\n }\n .react-datepicker__time-container .react-datepicker__time .react-datepicker__time-box ul.react-datepicker__time-list li.react-datepicker__time-list-item--disabled:hover {\n cursor: default;\n background-color: transparent;\n }\n\n .react-datepicker__week-number {\n color: ${colorMode === 'light' ? '#ccc' : '#d0d1d2'};\n display: inline-block;\n width: 1.7rem;\n line-height: 1.7rem;\n text-align: center;\n margin: 0.166rem;\n }\n .react-datepicker__week-number.react-datepicker__week-number--clickable {\n cursor: pointer;\n }\n .react-datepicker__week-number.react-datepicker__week-number--clickable:hover {\n border-radius: 0.3rem;\n background-color: ${colorMode === 'light' ? '#f0f0f0' : '#131620'};\n }\n\n .react-datepicker__day-names,\n .react-datepicker__week {\n white-space: nowrap;\n }\n\n .react-datepicker__day-names {\n margin-bottom: 0px;\n }\n\n .react-datepicker__day-name,\n .react-datepicker__day,\n .react-datepicker__time-name {\n color: ${colorMode === 'light' ? '#000' : '#d0d1d2'};\n display: inline-block;\n width: 1.7rem;\n line-height: 1.7rem;\n text-align: center;\n padding: 0.166rem;\n }\n\n .react-datepicker__month--selected, .react-datepicker__month--in-selecting-range, .react-datepicker__month--in-range,\n .react-datepicker__quarter--selected,\n .react-datepicker__quarter--in-selecting-range,\n .react-datepicker__quarter--in-range {\n border-radius: 0.3rem;\n background-color: ${colorMode === 'light' ? '#12784A' : '#131620'};\n color: #fff;\n }\n .react-datepicker__month--selected:hover, .react-datepicker__month--in-selecting-range:hover, .react-datepicker__month--in-range:hover,\n .react-datepicker__quarter--selected:hover,\n .react-datepicker__quarter--in-selecting-range:hover,\n .react-datepicker__quarter--in-range:hover {\n background-color: ${colorMode === 'light' ? '#075331' : '#131620'};\n }\n .react-datepicker__month--disabled,\n .react-datepicker__quarter--disabled {\n color: #ccc;\n pointer-events: none;\n }\n .react-datepicker__month--disabled:hover,\n .react-datepicker__quarter--disabled:hover {\n cursor: default;\n background-color: transparent;\n }\n\n .react-datepicker__day,\n .react-datepicker__month-text,\n .react-datepicker__quarter-text,\n .react-datepicker__year-text {\n cursor: pointer;\n }\n .react-datepicker__day:hover,\n .react-datepicker__month-text:hover,\n .react-datepicker__quarter-text:hover,\n .react-datepicker__year-text:hover {\n border-radius: 0.3rem;\n background-color: ${colorMode === 'light' ? '#f0f0f0' : '#131620'};\n }\n .react-datepicker__day--highlighted,\n .react-datepicker__month-text--highlighted,\n .react-datepicker__quarter-text--highlighted,\n .react-datepicker__year-text--highlighted {\n border-radius: 0.3rem;\n background-color: #3dcc4a;\n color: #fff;\n }\n .react-datepicker__day--highlighted:hover,\n .react-datepicker__month-text--highlighted:hover,\n .react-datepicker__quarter-text--highlighted:hover,\n .react-datepicker__year-text--highlighted:hover {\n background-color: #32be3f;\n }\n .react-datepicker__day--highlighted-custom-1,\n .react-datepicker__month-text--highlighted-custom-1,\n .react-datepicker__quarter-text--highlighted-custom-1,\n .react-datepicker__year-text--highlighted-custom-1 {\n color: magenta;\n }\n .react-datepicker__day--highlighted-custom-2,\n .react-datepicker__month-text--highlighted-custom-2,\n .react-datepicker__quarter-text--highlighted-custom-2,\n .react-datepicker__year-text--highlighted-custom-2 {\n color: green;\n }\n .react-datepicker__day--selected, .react-datepicker__day--in-selecting-range, .react-datepicker__day--in-range,\n .react-datepicker__month-text--selected,\n .react-datepicker__month-text--in-selecting-range,\n .react-datepicker__month-text--in-range,\n .react-datepicker__quarter-text--selected,\n .react-datepicker__quarter-text--in-selecting-range,\n .react-datepicker__quarter-text--in-range,\n .react-datepicker__year-text--selected,\n .react-datepicker__year-text--in-selecting-range,\n .react-datepicker__year-text--in-range {\n border-radius: 0.3rem;\n background-color: ${colorMode === 'light' ? '#12784A' : '#131620'};\n color: #fff;\n }\n .react-datepicker__day--selected:hover, .react-datepicker__day--in-selecting-range:hover, .react-datepicker__day--in-range:hover,\n .react-datepicker__month-text--selected:hover,\n .react-datepicker__month-text--in-selecting-range:hover,\n .react-datepicker__month-text--in-range:hover,\n .react-datepicker__quarter-text--selected:hover,\n .react-datepicker__quarter-text--in-selecting-range:hover,\n .react-datepicker__quarter-text--in-range:hover,\n .react-datepicker__year-text--selected:hover,\n .react-datepicker__year-text--in-selecting-range:hover,\n .react-datepicker__year-text--in-range:hover {\n background-color: ${colorMode === 'light' ? '#075331' : '#131620'};\n }\n .react-datepicker__day--keyboard-selected,\n .react-datepicker__month-text--keyboard-selected,\n .react-datepicker__quarter-text--keyboard-selected,\n .react-datepicker__year-text--keyboard-selected {\n border-radius: 0.3rem;\n background-color: ${colorMode === 'light' ? '#075331' : '#131620'};\n color: #fff;\n }\n .react-datepicker__day--keyboard-selected:hover,\n .react-datepicker__month-text--keyboard-selected:hover,\n .react-datepicker__quarter-text--keyboard-selected:hover,\n .react-datepicker__year-text--keyboard-selected:hover {\n background-color: ${colorMode === 'light' ? '#075331' : '#131620'};\n }\n .react-datepicker__day--in-selecting-range:not(.react-datepicker__day--in-range,\n .react-datepicker__month-text--in-range,\n .react-datepicker__quarter-text--in-range,\n .react-datepicker__year-text--in-range),\n .react-datepicker__month-text--in-selecting-range:not(.react-datepicker__day--in-range,\n .react-datepicker__month-text--in-range,\n .react-datepicker__quarter-text--in-range,\n .react-datepicker__year-text--in-range),\n .react-datepicker__quarter-text--in-selecting-range:not(.react-datepicker__day--in-range,\n .react-datepicker__month-text--in-range,\n .react-datepicker__quarter-text--in-range,\n .react-datepicker__year-text--in-range),\n .react-datepicker__year-text--in-selecting-range:not(.react-datepicker__day--in-range,\n .react-datepicker__month-text--in-range,\n .react-datepicker__quarter-text--in-range,\n .react-datepicker__year-text--in-range) {\n background-color: rgba(18, 120, 74, 0.1);\n color: ${colorMode === 'light' ? '#000' : '#d0d1d2'};\n }\n .react-datepicker__month--selecting-range .react-datepicker__day--in-range:not(.react-datepicker__day--in-selecting-range,\n .react-datepicker__month-text--in-selecting-range,\n .react-datepicker__quarter-text--in-selecting-range,\n .react-datepicker__year-text--in-selecting-range),\n .react-datepicker__month--selecting-range .react-datepicker__month-text--in-range:not(.react-datepicker__day--in-selecting-range,\n .react-datepicker__month-text--in-selecting-range,\n .react-datepicker__quarter-text--in-selecting-range,\n .react-datepicker__year-text--in-selecting-range),\n .react-datepicker__month--selecting-range .react-datepicker__quarter-text--in-range:not(.react-datepicker__day--in-selecting-range,\n .react-datepicker__month-text--in-selecting-range,\n .react-datepicker__quarter-text--in-selecting-range,\n .react-datepicker__year-text--in-selecting-range),\n .react-datepicker__month--selecting-range .react-datepicker__year-text--in-range:not(.react-datepicker__day--in-selecting-range,\n .react-datepicker__month-text--in-selecting-range,\n .react-datepicker__quarter-text--in-selecting-range,\n .react-datepicker__year-text--in-selecting-range) {\n background-color: ${colorMode === 'light' ? '#f0f0f0' : '#131620'};\n color: ${colorMode === 'light' ? '#000' : '#d0d1d2'};\n }\n .react-datepicker__day--disabled,\n .react-datepicker__month-text--disabled,\n .react-datepicker__quarter-text--disabled,\n .react-datepicker__year-text--disabled {\n cursor: default;\n color: #ccc;\n }\n .react-datepicker__day--disabled:hover,\n .react-datepicker__month-text--disabled:hover,\n .react-datepicker__quarter-text--disabled:hover,\n .react-datepicker__year-text--disabled:hover {\n background-color: transparent;\n }\n\n .react-datepicker__month-text.react-datepicker__month--selected:hover, .react-datepicker__month-text.react-datepicker__month--in-range:hover, .react-datepicker__month-text.react-datepicker__quarter--selected:hover, .react-datepicker__month-text.react-datepicker__quarter--in-range:hover,\n .react-datepicker__quarter-text.react-datepicker__month--selected:hover,\n .react-datepicker__quarter-text.react-datepicker__month--in-range:hover,\n .react-datepicker__quarter-text.react-datepicker__quarter--selected:hover,\n .react-datepicker__quarter-text.react-datepicker__quarter--in-range:hover {\n background-color: ${colorMode === 'light' ? '#12784A' : '#131620'};\n }\n .react-datepicker__month-text:hover,\n .react-datepicker__quarter-text:hover {\n background-color: ${colorMode === 'light' ? '#f0f0f0' : '#131620'};\n }\n\n .react-datepicker__input-container {\n position: relative;\n display: inline-block;\n width: 100%;\n }\n\n .react-datepicker__year-read-view,\n .react-datepicker__month-read-view,\n .react-datepicker__month-year-read-view {\n border: 1px solid transparent;\n border-radius: 0.3rem;\n position: relative;\n }\n .react-datepicker__year-read-view:hover,\n .react-datepicker__month-read-view:hover,\n .react-datepicker__month-year-read-view:hover {\n cursor: pointer;\n }\n .react-datepicker__year-read-view:hover .react-datepicker__year-read-view--down-arrow,\n .react-datepicker__year-read-view:hover .react-datepicker__month-read-view--down-arrow,\n .react-datepicker__month-read-view:hover .react-datepicker__year-read-view--down-arrow,\n .react-datepicker__month-read-view:hover .react-datepicker__month-read-view--down-arrow,\n .react-datepicker__month-year-read-view:hover .react-datepicker__year-read-view--down-arrow,\n .react-datepicker__month-year-read-view:hover .react-datepicker__month-read-view--down-arrow {\n border-top-color: #b3b3b3;\n }\n .react-datepicker__year-read-view--down-arrow,\n .react-datepicker__month-read-view--down-arrow,\n .react-datepicker__month-year-read-view--down-arrow {\n transform: rotate(135deg);\n right: -16px;\n top: 5px;\n width: 5px;\n height: 5px;\n fill: #111111;\n\n }\n .react-datepicker__header:not(.react-datepicker__header--has-time-select) {\n background: ${colorMode === 'light' ? '#F5F5F5' : 'inherit'} ;\n\n border-top-left-radius: 8px;\n border-top-right-radius: 8px;\n }\n\n .react-datepicker__year-dropdown,\n .react-datepicker__month-dropdown,\n .react-datepicker__month-year-dropdown {\n background-color: ${colorMode === 'light' ? '#f0f0f0' : '#131620'};\n position: absolute;\n width: 50%;\n left: 25%;\n top: 30px;\n z-index: 1;\n text-align: center;\n border-radius: 0.3rem;\n border: 1px solid #aeaeae;\n }\n .react-datepicker__year-dropdown:hover,\n .react-datepicker__month-dropdown:hover,\n .react-datepicker__month-year-dropdown:hover {\n cursor: pointer;\n }\n .react-datepicker__year-dropdown--scrollable,\n .react-datepicker__month-dropdown--scrollable,\n .react-datepicker__month-year-dropdown--scrollable {\n height: 150px;\n overflow-y: scroll;\n }\n\n .react-datepicker__year-option,\n .react-datepicker__month-option,\n .react-datepicker__month-year-option {\n line-height: 20px;\n width: 100%;\n display: block;\n margin-left: auto;\n margin-right: auto;\n }\n .react-datepicker__year-option:first-of-type,\n .react-datepicker__month-option:first-of-type,\n .react-datepicker__month-year-option:first-of-type {\n border-top-left-radius: 0.3rem;\n border-top-right-radius: 0.3rem;\n }\n .react-datepicker__year-option:last-of-type,\n .react-datepicker__month-option:last-of-type,\n .react-datepicker__month-year-option:last-of-type {\n -webkit-user-select: none;\n -moz-user-select: none;\n -ms-user-select: none;\n user-select: none;\n border-bottom-left-radius: 0.3rem;\n border-bottom-right-radius: 0.3rem;\n }\n .react-datepicker__year-option:hover,\n .react-datepicker__month-option:hover,\n .react-datepicker__month-year-option:hover {\n background-color: #ccc;\n }\n .react-datepicker__year-option:hover .react-datepicker__navigation--years-upcoming,\n .react-datepicker__month-option:hover .react-datepicker__navigation--years-upcoming,\n .react-datepicker__month-year-option:hover .react-datepicker__navigation--years-upcoming {\n border-bottom-color: #b3b3b3;\n }\n .react-datepicker__year-option:hover .react-datepicker__navigation--years-previous,\n .react-datepicker__month-option:hover .react-datepicker__navigation--years-previous,\n .react-datepicker__month-year-option:hover .react-datepicker__navigation--years-previous {\n border-top-color: #b3b3b3;\n }\n .react-datepicker__year-option--selected,\n .react-datepicker__month-option--selected,\n .react-datepicker__month-year-option--selected {\n position: absolute;\n left: 15px;\n }\n\n .react-datepicker__close-icon {\n cursor: pointer;\n background-color: transparent;\n border: 0;\n outline: 0;\n padding: 0 6px 0 0;\n position: absolute;\n top: 0;\n right: 0;\n height: 100%;\n display: table-cell;\n vertical-align: middle;\n }\n .react-datepicker__close-icon::after {\n cursor: pointer;\n background-color: ${colorMode === 'light' ? '#12784A' : '#131620'};\n color: #fff;\n border-radius: 50%;\n height: 16px;\n width: 16px;\n padding: 2px;\n font-size: 12px;\n line-height: 1;\n text-align: center;\n display: table-cell;\n vertical-align: middle;\n content: \"×\";\n }\n\n .react-datepicker__today-button {\n background: #f0f0f0;\n border-top: 1px solid #aeaeae;\n cursor: pointer;\n text-align: center;\n font-weight: bold;\n padding: 5px 0;\n clear: left;\n }\n\n .react-datepicker__portal {\n position: fixed;\n width: 100vw;\n height: 100vh;\n background-color: rgba(0, 0, 0, 0.8);\n left: 0;\n top: 0;\n justify-content: center;\n align-items: center;\n display: flex;\n z-index: 2147483647;\n }\n .react-datepicker__portal .react-datepicker__day-name,\n .react-datepicker__portal .react-datepicker__day,\n .react-datepicker__portal .react-datepicker__time-name {\n width: 3rem;\n line-height: 3rem;\n }\n @media (max-width: 400px), (max-height: 550px) {\n .react-datepicker__portal .react-datepicker__day-name,\n .react-datepicker__portal .react-datepicker__day,\n .react-datepicker__portal .react-datepicker__time-name {\n width: 2rem;\n line-height: 2rem;\n }\n }\n .react-datepicker__portal .react-datepicker__current-month,\n .react-datepicker__portal .react-datepicker-time__header {\n font-size: 1.44rem;\n }\n\n /** injected styles **/\n .react-datepicker__day--outside-month {\n color: ${colorMode === 'light' ? '#B9B9C3' : '#4D4D4D'};\n }\n .react-datepicker__day.react-datepicker__day--in-range {\n border-radius: 0;\n background: rgba(18, 120, 74, 0.1);\n color: #12784A;\n }\n .react-datepicker__day.react-datepicker__day--range-start.react-datepicker__day--in-range,\n .react-datepicker__day.react-datepicker__day--range-end.react-datepicker__day--in-range {\n background: #12784A;\n color: #fff;\n }\n .react-datepicker__day.react-datepicker__day--range-start.react-datepicker__day--in-range {\n border-radius: 100px 0px 0px 100px;\n }\n .react-datepicker__day.react-datepicker__day--range-end.react-datepicker__day--in-range {\n border-radius: 0px 100px 100px 0px;\n }\n .react-datepicker__day.react-datepicker__day--range-start.react-datepicker__day.react-datepicker__day--range-end {\n border-radius: 100px;\n padding: 0;\n }\n .react-datepicker__day.react-datepicker__day--outside-month:empty {\n padding: 0;\n }\n .react-datepicker.inline .react-datepicker__header {\n background-color: inherit;\n }\n .react-datepicker__day--keyboard-selected, .react-datepicker__day--keyboard-selected:hover {\n background-color: inherit;\n color: inherit;\n }\n .react-datepicker__day--today, .react-datepicker__day--today:hover {\n color: #D82F23;\n }\n .react-datepicker__day--today:hover {\n background: #f0f0f0;\n }\n .react-datepicker__day--selected.react-datepicker__day--today {\n color: white;\n background: #12784A;\n }\n `}\n />\n );\n};\n\nexport default Styles;\n","import { Flex, Input, InputGroup, InputRightAddon, Text } from '@chakra-ui/react';\nimport React from 'react';\n\ninterface TimeInputProps {\n value?: string;\n onChange?: (time: string) => void;\n label?: string;\n rightAddon?: React.ReactNode | string;\n}\n\nconst TimeInput: React.FC<TimeInputProps> = ({ value, onChange, label, rightAddon }) => {\n const [time, setTime] = React.useState(value || '00:00');\n\n const handleChange = (e: React.ChangeEvent<HTMLInputElement>) => {\n setTime(e.target?.value || '00:00');\n };\n\n React.useEffect(() => {\n if (onChange) {\n onChange(time);\n }\n }, [time]);\n\n return (\n <Flex flexDir=\"column\" alignItems=\"center\" justifyContent=\"center\" p={4} pt={0}>\n <Text mb={2}>{label}</Text>\n <InputGroup alignItems=\"center\" justifyContent=\"center\">\n <Input onChange={handleChange} type=\"time\" value={time} data-test-id=\"CT_Component_datepicker_input_time\" />\n {rightAddon && <InputRightAddon>{rightAddon}</InputRightAddon>}\n </InputGroup>\n </Flex>\n );\n};\n\nTimeInput.displayName = 'DatepickerTimeInput';\n\nTimeInput.defaultProps = {\n value: '00:00',\n onChange: undefined,\n label: 'Pilih Waktu',\n rightAddon: 'WIB',\n};\nexport default TimeInput;\n","import {\n FormControl,\n FormErrorMessage,\n FormHelperText,\n FormLabel,\n Input,\n InputGroup,\n InputRightElement,\n} from '@chakra-ui/react';\nimport classnames from 'classnames';\nimport React from 'react';\nimport type { ReactDatePickerProps } from 'react-datepicker';\nimport ReactDatePicker from 'react-datepicker';\nimport { FiCalendar, FiX } from 'react-icons/fi';\n\nimport getWrapperStyle from '../../form/styles/input-field';\nimport Styles from './styles';\nimport TimeInput from './time-input';\n\nexport interface DatepickerProps extends Omit<ReactDatePickerProps, 'selectsRange'> {\n id?: string;\n isRequired?: boolean;\n label?: string;\n error?: string | React.ReactNode;\n isError?: boolean;\n helperText?: string | React.ReactNode;\n withTime?: boolean;\n onClear?: () => void;\n selectsRange?: boolean;\n showMonth?: boolean;\n shortMonth?: boolean;\n}\n\nconst Datepicker: React.FC<DatepickerProps> = ({\n id,\n label,\n error,\n isError,\n helperText,\n isRequired,\n withTime,\n value,\n name,\n onClear,\n showMonth,\n shortMonth,\n ...props\n}) => {\n const selected = value ? new Date(value) : undefined;\n const dateFormat = props.dateFormat ?? withTime ? 'yyyy-MM-dd HH:mm' : 'yyyy-MM-dd';\n const wrapperStyle = getWrapperStyle({});\n\n const getTimeProps = (): Pick<ReactDatePickerProps, 'showTimeInput' | 'customTimeInput' | 'timeInputLabel'> => {\n if (!withTime) return {};\n return {\n timeInputLabel: '',\n showTimeInput: true,\n customTimeInput: <TimeInput />,\n };\n };\n\n const component = (\n <>\n <Styles />\n <ReactDatePicker\n id={id}\n name={name}\n selected={selected}\n customInput={<Input autoComplete=\"off\" {...wrapperStyle} />}\n dateFormat={dateFormat}\n showPopperArrow={false}\n calendarClassName={classnames({ inline: props.inline })}\n showMonthDropdown={showMonth}\n useShortMonthInDropdown={showMonth ? shortMonth : false}\n {...getTimeProps()}\n {...props}\n />\n </>\n );\n\n if (props.inline) {\n return component;\n }\n\n return (\n <FormControl isRequired={isRequired} data-test-id=\"CT_Component_datepicker_wrapper\">\n {label && <FormLabel fontSize=\"text.sm\">{label}</FormLabel>}\n <InputGroup>\n {component}\n <InputRightElement>\n {!value && <FiCalendar />}\n {value && <FiX data-test-id=\"bcpJJyCP0z_RIAGZXDU6s\" onClick={onClear} cursor=\"pointer\" />}\n </InputRightElement>\n </InputGroup>\n {!isError ? <FormHelperText>{helperText}</FormHelperText> : <FormErrorMessage>{error}</FormErrorMessage>}\n </FormControl>\n );\n};\n\nDatepicker.defaultProps = {\n id: undefined,\n isRequired: undefined,\n label: undefined,\n error: undefined,\n isError: undefined,\n helperText: undefined,\n withTime: undefined,\n onClear: undefined,\n selectsRange: undefined,\n shortMonth: false,\n showMonth: false,\n};\n\nexport default Datepicker;\n","import { Box, Input } from '@chakra-ui/react';\nimport { css } from '@emotion/react';\nimport type { FC } from 'react';\nimport React from 'react';\n\nexport interface DatePickerMonthProps {\n onChange: (date: string) => void;\n\n 'data-test-id'?: string;\n min: string;\n max: string;\n}\n\nconst DatePickerMonth: FC<DatePickerMonthProps> = ({ onChange, min, max, ...props }) => {\n const [date, setDate] = React.useState<string | null>(null);\n return (\n <Box\n fontSize={'12px'}\n lineHeight={'18px'}\n css={css`\n input[type='date']::-webkit-inner-spin-button,\n input[type='date']::-webkit-calendar-picker-indicator {\n display: none;\n -webkit-appearance: none;\n }\n input[value=''] {\n width: 58px;\n }\n `}\n >\n <Input\n data-test-id={props['data-test-id']}\n type=\"date\"\n width={date ? '51px' : '58px'}\n onChange={e => {\n onChange(e.target.value);\n setDate(e.target.value);\n }}\n p={'8px'}\n min={min}\n max={max}\n required\n css={css`\n border: 1px solid transparent;\n\n &:focus,\n &:hover {\n border: 1px solid transparent;\n }\n\n &::placeholder {\n color: #111111;\n }\n `}\n value={date ?? ''}\n />\n </Box>\n );\n};\n\nDatePickerMonth.defaultProps = {\n 'data-test-id': '',\n};\n\nexport default DatePickerMonth;\n","const transparent = 'transparent';\r\n\r\nconst black = {\r\n high: '#111111',\r\n medium: '#707070',\r\n low: '#B8B8B8',\r\n};\r\n\r\nconst white = {\r\n high: '#FFFFFF',\r\n medium: '#F1F1F1',\r\n low: '#CCCCCC',\r\n};\r\n\r\nconst neutral = {\r\n '50': '#FFFFFF',\r\n '100': '#FAFAFA',\r\n '200': '#F5F5F5',\r\n '300': '#EEEEEE',\r\n '400': '#E0E0E0',\r\n '500': '#BDBDBD',\r\n '600': '#999999',\r\n '700': '#242424',\r\n '800': '#181818',\r\n '900': '#111111',\r\n};\r\n\r\nconst primary = {\r\n '50': '#DFFFF1',\r\n '100': '#ACF5D5',\r\n '200': '#5EE5A9',\r\n '300': '#05CB72',\r\n '400': '#08A45E',\r\n '500': '#12784A',\r\n '600': '#0B603A',\r\n '700': '#075331',\r\n '800': '#064126',\r\n '900': '#042E1B',\r\n};\r\n\r\nconst secondary = {\r\n '50': '#F2F2F3',\r\n '100': '#DADBDD',\r\n '200': '#C2C4C7',\r\n '300': '#AAADB0',\r\n '400': '#93969A',\r\n '500': '#7B7F84',\r\n '600': '#62666A',\r\n '700': '#4A4C4F',\r\n '800': '#313335',\r\n '900': '#19191A',\r\n};\r\n\r\nconst success = {\r\n '50': '#ECFFED',\r\n '100': '#D3FCD5',\r\n '200': '#A9F9B5',\r\n '300': '#7CEE98',\r\n '400': '#58DD86',\r\n '500': '#28C76F',\r\n '600': '#1DAB6A',\r\n '700': '#148F63',\r\n '800': '#0C7359',\r\n '900': '#075F51',\r\n};\r\n\r\nconst danger = {\r\n '50': '#FFEDEC',\r\n '100': '#FFC7C2',\r\n '200': '#FF8279',\r\n '300': '#FF5B4F',\r\n '400': '#F44336',\r\n '500': '#D82F23',\r\n '600': '#B71C1C',\r\n '700': '#930B0B',\r\n '800': '#660909',\r\n '900': '#3E0707',\r\n};\r\n\r\nconst warning = {\r\n '50': '#FFF9EC',\r\n '100': '#FFEFCC',\r\n '200': '#FFD591',\r\n '300': '#FFC069',\r\n '400': '#FFA230',\r\n '500': '#F68522',\r\n '600': '#EF6C00',\r\n '700': '#C65B03',\r\n '800': '#9F4901',\r\n '900': '#652E00',\r\n};\r\n\r\nconst info = {\r\n '50': '#EBFFFB',\r\n '100': '#CBFDF2',\r\n '200': '#97FCEF',\r\n '300': '#63F8F0',\r\n '400': '#3CECF1',\r\n '500': '#00CFE8',\r\n '600': '#00A1C7',\r\n '700': '#007AA7',\r\n '800': '#005786',\r\n '900': '#003F6F',\r\n};\r\n\r\nconst dark = {\r\n '50': '#F2F2F2',\r\n '100': '#DBDBDB',\r\n '200': '#C4C4C4',\r\n '300': '#ADADAD',\r\n '400': '#969696',\r\n '500': '#808080',\r\n '600': '#666666',\r\n '700': '#4D4D4D',\r\n '800': '#333333',\r\n '900': '#1A1A1A',\r\n};\r\n\r\nconst mirage = {\r\n '50': '#EDF0F7',\r\n '100': '#CED5E9',\r\n '200': '#AEBADB',\r\n '300': '#8E9ECC',\r\n '400': '#6F83BE',\r\n '500': '#4F68B0',\r\n '600': '#3F538D',\r\n '700': '#2F3E6A',\r\n '800': '#202A46',\r\n '900': '#101523',\r\n};\r\n\r\nconst ebonyClay = {\r\n '50': '#EFF1F6',\r\n '100': '#D2D7E5',\r\n '200': '#B4BDD4',\r\n '300': '#97A3C4',\r\n '400': '#7A89B3',\r\n '500': '#5D6FA2',\r\n '600': '#4A5982',\r\n '700': '#384361',\r\n '800': '#252D41',\r\n '900': '#131620',\r\n};\r\n\r\nconst brightGray = {\r\n '50': '#F0F1F4',\r\n '100': '#D5D9E1',\r\n '200': '#BAC0CE',\r\n '300': '#A0A8BB',\r\n '400': '#858FA8',\r\n '500': '#6A7795',\r\n '600': '#555F77',\r\n '700': '#404759',\r\n '800': '#2A2F3C',\r\n '900': '#15181E',\r\n};\r\n\r\nconst doveGray = {\r\n '50': '#F2F2F2',\r\n '100': '#DBDBDB',\r\n '200': '#C4C4C4',\r\n '300': '#ADADAD',\r\n '400': '#969696',\r\n '500': '#808080',\r\n '600': '#666666',\r\n '700': '#4D4D4D',\r\n '800': '#333333',\r\n '900': '#1A1A1A',\r\n};\r\n\r\nconst colors = {\r\n transparent,\r\n black,\r\n white,\r\n neutral,\r\n primary,\r\n secondary,\r\n success,\r\n danger,\r\n warning,\r\n info,\r\n dark,\r\n mirage,\r\n 'ebony-clay': ebonyClay,\r\n 'bright-gray': brightGray,\r\n 'dove-gray': doveGray,\r\n};\r\n\r\nexport default colors;\r\n","const radius = {\r\n none: 0,\r\n sm: '2px',\r\n md: '4px',\r\n lg: '8px',\r\n full: '9999px',\r\n};\r\n\r\nexport default radius;\r\n","import { theme } from '@chakra-ui/react';\n\nconst shadows = {\n ...theme.shadows,\n raised: '0px 4px 20px rgba(0, 0, 0, 0.05)',\n};\n\nexport default shadows;\n","import { theme } from '@chakra-ui/react';\r\n\r\nconst sizes = {\r\n ...theme.sizes,\r\n 4.5: '1.125rem',\r\n 9.5: '2.375rem',\r\n 18: '4.5rem',\r\n 22: '5.5rem',\r\n 26: '6.5rem',\r\n 30: '7.5rem',\r\n};\r\n\r\nexport default sizes;\r\n","import { theme } from '@chakra-ui/react';\r\n\r\nconst spacing = {\r\n ...theme.space,\r\n 4.5: '1.125rem',\r\n 9.5: '2.375rem',\r\n 18: '4.5rem',\r\n 22: '5.5rem',\r\n 26: '6.5rem',\r\n 30: '7.5rem',\r\n};\r\n\r\nexport default spacing;\r\n","const fonts = {\r\n heading: `'Poppins', sans-serif`,\r\n body: `'Poppins', sans-serif`,\r\n};\r\n\r\nconst fontWeights = {\r\n hairline: 100,\r\n thin: 200,\r\n light: 300,\r\n normal: 400,\r\n medium: 500,\r\n semibold: 600,\r\n bold: 700,\r\n extrabold: 800,\r\n black: 900,\r\n};\r\n\r\nconst lineHeights = {\r\n normal: 'normal',\r\n none: 1,\r\n shorter: 1.25,\r\n short: 1.375,\r\n base: 1.5,\r\n tall: 1.625,\r\n 64: '4rem', // 64px\r\n 56: '3.5rem', // 56px\r\n 48: '3rem', // 48px\r\n 40: '2.5rem', // 40px\r\n 36: '2.25rem', // 36px\r\n 34: '2.125rem', // 34px\r\n 32: '2rem', // 32px\r\n 30: '1.875rem', // 30px\r\n 28: '1.75', // 28px\r\n 26: '1.625rem', // 26px\r\n 24: '1.5rem', // 24px\r\n 22: '1.375rem', // 22px\r\n 20: '1.25rem', // 20px\r\n 18: '1.125rem', // 18px\r\n 16: '1rem', // 16px\r\n 14: '0.875rem', // 14px\r\n 12: '0.75rem', // 12px\r\n};\r\n\r\nconst letterSpacings = {\r\n tighter: '-0.05em',\r\n tight: '-0.025em',\r\n normal: '0',\r\n wide: '0.025em',\r\n wider: '0.05em',\r\n widest: '0.1em',\r\n};\r\n\r\nconst fontSizes = {\r\n heading: {\r\n 1: '2.5rem', // 40px\r\n 2: '2rem', // 32px\r\n 3: '1.75rem', // 28px\r\n 4: '1.5rem', // 24px\r\n 5: '1.375rem', // 22px\r\n 6: '1.125rem', // 18px\r\n },\r\n text: {\r\n xl: '1.125rem', // 18px\r\n lg: '1rem', // 16px\r\n md: '0.875rem', // 14px\r\n sm: '0.75rem', // 12px\r\n xs: '0.625rem', // 10px\r\n },\r\n button: {\r\n lg: '1.125rem', // 18px\r\n md: '0.875rem', // 14px\r\n sm: '0.625rem', // 10px\r\n },\r\n field: {\r\n lg: '1rem', // 16px\r\n md: '0.875rem', // 14px\r\n sm: '0.75rem', // 12px\r\n },\r\n table: {\r\n header: '0.75rem', // 12px\r\n },\r\n};\r\n\r\nconst heading = {\r\n 1: {\r\n fontSize: fontSizes.heading[1],\r\n fontWeight: fontWeights.semibold,\r\n lineHeight: lineHeights[64],\r\n letterSpacing: letterSpacings.normal,\r\n },\r\n 2: {\r\n fontSize: fontSizes.heading[2],\r\n fontWeight: fontWeights.semibold,\r\n lineHeight: lineHeights[56],\r\n letterSpacing: letterSpacings.normal,\r\n },\r\n 3: {\r\n fontSize: fontSizes.heading[3],\r\n fontWeight: fontWeights.semibold,\r\n lineHeight: lineHeights[48],\r\n letterSpacing: letterSpacings.normal,\r\n },\r\n 4: {\r\n fontSize: fontSizes.heading[4],\r\n fontWeight: fontWeights.semibold,\r\n lineHeight: lineHeights[40],\r\n letterSpacing: letterSpacings.normal,\r\n },\r\n 5: {\r\n fontSize: fontSizes.heading[5],\r\n fontWeight: fontWeights.semibold,\r\n lineHeight: lineHeights[36],\r\n letterSpacing: letterSpacings.normal,\r\n },\r\n 6: {\r\n fontSize: fontSizes.heading[6],\r\n fontWeight: fontWeights.semibold,\r\n lineHeight: lineHeights[32],\r\n letterSpacing: letterSpacings.normal,\r\n },\r\n};\r\n\r\nconst text = {\r\n xl: {\r\n fontSize: fontSizes.text.xl,\r\n fontWeight: fontWeights.normal,\r\n lineHeight: lineHeights[28],\r\n letterSpacing: letterSpacings.normal,\r\n },\r\n lg: {\r\n fontSize: fontSizes.text.lg,\r\n fontWeight: fontWeights.normal,\r\n lineHeight: lineHeights[24],\r\n letterSpacing: letterSpacings.normal,\r\n },\r\n md: {\r\n fontSize: fontSizes.text.md,\r\n fontWeight: fontWeights.normal,\r\n lineHeight: lineHeights[22],\r\n letterSpacing: letterSpacings.normal,\r\n },\r\n sm: {\r\n fontSize: fontSizes.text.sm,\r\n fontWeight: fontWeights.normal,\r\n lineHeight: lineHeights[18],\r\n letterSpacing: letterSpacings.normal,\r\n },\r\n xs: {\r\n fontSize: fontSizes.text.xs,\r\n fontWeight: fontWeights.normal,\r\n lineHeight: lineHeights[14],\r\n letterSpacing: letterSpacings.normal,\r\n },\r\n};\r\n\r\nconst button = {\r\n lg: {\r\n fontSize: fontSizes.button.lg,\r\n lineHeight: lineHeights[28],\r\n letterSpacing: letterSpacings.normal,\r\n fontWeight: fontWeights.normal,\r\n },\r\n md: {\r\n fontSize: fontSizes.button.md,\r\n lineHeight: lineHeights[22],\r\n letterSpacing: letterSpacings.normal,\r\n fontWeight: fontWeights.normal,\r\n },\r\n sm: {\r\n fontSize: fontSizes.button.sm,\r\n lineHeight: lineHeights[14],\r\n letterSpacing: letterSpacings.normal,\r\n fontWeight: fontWeights.normal,\r\n },\r\n};\r\n\r\nconst field = {\r\n lg: {\r\n fontSize: fontSizes.field.lg,\r\n lineHeight: lineHeights[24],\r\n letterSpacing: letterSpacings.normal,\r\n fontWeight: fontWeights.normal,\r\n },\r\n md: {\r\n fontSize: fontSizes.field.md,\r\n lineHeight: lineHeights[22],\r\n letterSpacing: letterSpacings.normal,\r\n fontWeight: fontWeights.normal,\r\n },\r\n sm: {\r\n fontSize: fontSizes.field.sm,\r\n lineHeight: lineHeights[18],\r\n letterSpacing: letterSpacings.normal,\r\n fontWeight: fontWeights.normal,\r\n },\r\n};\r\n\r\nconst textStyles = {\r\n heading,\r\n text,\r\n button,\r\n field,\r\n};\r\n\r\nexport { fonts, fontSizes, fontWeights, letterSpacings, lineHeights, textStyles };\r\n","import { Box } from '@chakra-ui/react';\nimport styled from '@emotion/styled';\nimport type { FC } from 'react';\nimport React from 'react';\n\nimport { colors } from '../../../../config/theme/foundations';\nimport DatePickerMonth from './datepicker-month';\n\nexport interface MultiDatePickerMonthProps {\n onChange: (startDate: string | null, endDate: string | null) => void;\n\n min?: string;\n max?: string;\n isError?: boolean;\n}\n\nconst MultiDateWrapper = styled(Box)<{ isError: boolean }>`\n display: flex;\n align-items: center;\n width: fit-content;\n border: 1px solid;\n box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.05);\n border-radius: 4px;\n border-color: ${({ isError }) => (isError ? `${colors.danger[500]}` : `${colors.primary[500]}`)};\n`;\n\nconst MultiDatePickerMonth: FC<MultiDatePickerMonthProps> = ({\n onChange,\n isError = false,\n min = '2020-01-01',\n max = '2020-12-31',\n}) => {\n const [date, setDate] = React.useState<(string | null)[]>([null, null]);\n return (\n <MultiDateWrapper isError={isError}>\n <DatePickerMonth\n data-test-id=\"CT_DatePickerMonth_StartDate\"\n onChange={val => {\n onChange(val, date[1]);\n setDate([val, date[1]]);\n }}\n min={min}\n max={max}\n />\n <Box>-</Box>\n <DatePickerMonth\n data-test-id=\"CT_DatePickerMonth_EndDate\"\n onChange={val => {\n onChange(date[0], val);\n setDate([date[0], val]);\n }}\n min={min}\n max={max}\n />\n </MultiDateWrapper>\n );\n};\n\nMultiDatePickerMonth.defaultProps = {\n min: '2020-01-01',\n max: '2020-12-31',\n isError: false,\n};\n\nexport default MultiDatePickerMonth;\n","import { InputLeftAddon, InputRightAddon } from '@chakra-ui/react';\nimport React from 'react';\n\ninterface InputAddonProps {\n children: React.ReactNode;\n}\n\nexport const InputAddonLeft = ({ children }: InputAddonProps) => {\n return (\n <InputLeftAddon borderLeftRadius=\"md\" backgroundColor=\"neutral.200\" px={3} py={2.5}>\n {children}\n </InputLeftAddon>\n );\n};\n\nexport const InputAddonRight = ({ children }: InputAddonProps) => {\n return (\n <InputRightAddon borderRightRadius=\"md\" backgroundColor=\"neutral.200\" px={3} py={2.5}>\n {children}\n </InputRightAddon>\n );\n};\n","import type { InputProps as ChakraInputProps } from '@chakra-ui/react';\nimport { Box, Input as ChakraInput, InputGroup } from '@chakra-ui/react';\nimport { Close, Eye, EyeOff } from '@ctlyst.id/internal-icon';\nimport type { ReactNode } from 'react';\nimport React, { useMemo, useState } from 'react';\n\nimport type { FieldProps } from '../../field/components/field';\nimport Field from '../../field/components/field';\nimport { Loader } from '../../loader';\nimport getWrapperStyle from '../styles/input-field';\n\nexport interface InputFieldProps extends ChakraInputProps, FieldProps {\n addOnLeft?: ReactNode;\n addOnRight?: ReactNode;\n withClear?: boolean;\n isLoading?: boolean;\n onClear?: () => void;\n}\n\nconst InputField = React.forwardRef<HTMLInputElement, InputFieldProps>((props, ref) => {\n const {\n value,\n type,\n addOnLeft,\n addOnRight,\n size,\n isRequired,\n label,\n isError,\n isSuccess,\n isDisabled,\n errorMessage,\n leftHelperText,\n rightHelperText,\n withClear,\n onClear,\n isLoading,\n ...inputProps\n } = props;\n\n const wrapperStyle = getWrapperStyle(props);\n const [isShowPassword, setIsShowPassword] = useState(false);\n\n const inputType = useMemo(() => {\n return type === 'password' && isShowPassword ? 'text' : type;\n }, [isShowPassword, type]);\n\n const fontSize = useMemo(() => {\n if (type === 'password') {\n if (!isShowPassword && value) return 'text.xl';\n }\n return 'text.sm';\n }, [isShowPassword, type, value]);\n\n const iconColor = useMemo(() => {\n return isDisabled ? 'black.low' : 'black.medium';\n }, [isDisabled]);\n\n return (\n <Field\n label={label}\n isSuccess={isSuccess}\n isError={isError}\n errorMessage={errorMessage}\n leftHelperText={leftHelperText}\n rightHelperText={rightHelperText}\n isRequired={isRequired}\n >\n <Box __css={wrapperStyle}>\n <InputGroup\n size={size}\n borderRadius=\"md\"\n backgroundColor={isDisabled ? 'neutral.300' : 'white.high'}\n cursor={isDisabled ? 'not-allowed' : 'default'}\n >\n {addOnLeft}\n <ChakraInput\n ref={ref}\n type={inputType}\n value={value}\n isDisabled={isDisabled}\n isSuccess={isSuccess}\n {...inputProps}\n fontSize={fontSize}\n />\n {(withClear || isLoading || type === 'password') && (\n <Box\n data-test-id=\"Pg7ttgRey7InxE4qzTjW_\"\n display=\"flex\"\n alignItems=\"center\"\n justifyContent=\"center\"\n width=\"16px\"\n mr=\"10px\"\n >\n {withClear && !isLoading && (\n <Box\n display=\"flex\"\n justifyContent=\"center\"\n onClick={!isDisabled ? onClear : undefined}\n cursor={isDisabled ? 'not-allowed' : 'pointer'}\n >\n <Close size={4} color={iconColor} />\n </Box>\n )}\n {type === 'password' && !isShowPassword && !isLoading && (\n <Box\n data-test-id=\"q2Bj2G4FlamXyHuRKMZ1Q\"\n onClick={() => {\n if (!isDisabled) setIsShowPassword(true);\n }}\n cursor={isDisabled ? 'not-allowed' : 'pointer'}\n display=\"flex\"\n justifyContent=\"center\"\n >\n <EyeOff size={4} color={iconColor} />\n </Box>\n )}\n {type === 'password' && isShowPassword && !isLoading && (\n <Box\n data-test-id=\"sfc2388bmeXBmdla45Ibk\"\n onClick={() => {\n if (!isDisabled) setIsShowPassword(false);\n }}\n cursor={isDisabled ? 'not-allowed' : 'pointer'}\n display=\"flex\"\n justifyContent=\"center\"\n >\n <Eye size={4} color={iconColor} />\n </Box>\n )}\n {isLoading && <Loader size=\"sm\" />}\n </Box>\n )}\n {addOnRight}\n </InputGroup>\n </Box>\n </Field>\n );\n});\n\nInputField.defaultProps = {\n addOnLeft: undefined,\n addOnRight: undefined,\n withClear: undefined,\n isLoading: undefined,\n onClear: undefined,\n};\n\nexport default InputField;\n","import type { TextareaProps as ChakraTextareaProps } from '@chakra-ui/react';\nimport { Box, Textarea as ChakraTextarea } from '@chakra-ui/react';\nimport React from 'react';\n\nimport type { FieldProps } from '../../field';\nimport { Field } from '../../field';\nimport { Loader } from '../../loader';\n\nexport interface TextAreaProps extends ChakraTextareaProps, FieldProps {\n isLoading?: boolean;\n}\n\nconst TextareaField = React.forwardRef<HTMLTextAreaElement, TextAreaProps>((props, ref) => {\n const { value, isLoading, ...inputProps } = props;\n\n return (\n <Field {...inputProps}>\n <Box position=\"relative\">\n <ChakraTextarea ref={ref} value={value} {...inputProps} />\n {isLoading && (\n <Box zIndex={999} top={2} right={2} position=\"absolute\">\n <Loader size=\"sm\" />\n </Box>\n )}\n </Box>\n </Field>\n );\n});\n\nTextareaField.defaultProps = {\n isLoading: undefined,\n};\n\nexport default TextareaField;\n","import { Image, useColorModeValue } from '@chakra-ui/react';\nimport React from 'react';\n\nexport const XMSLogo = () => (\n <Image\n height={8}\n src={useColorModeValue('https://assets.voila.id/xms/logo-xms.jpg', 'https://assets.voila.id/xms/logo-xms-dark.png')}\n />\n);\n\nexport const VoilaLogo = () => (\n <Image\n src=\"https://assets.voila.id/xms/logo-voila-black.png?v=1\"\n filter={useColorModeValue('none', 'invert(1)')}\n maxW={24}\n />\n);\n","import {\n Avatar,\n Box,\n Flex,\n HStack,\n Popover,\n PopoverArrow,\n PopoverBody,\n PopoverContent,\n PopoverTrigger,\n Text,\n useColorModeValue,\n useDisclosure,\n VStack,\n} from '@chakra-ui/react';\nimport * as React from 'react';\nimport { FiPower } from 'react-icons/fi';\n\nimport type { HeaderDataProps } from '../types';\n\nexport type ProfileProps = {\n data?: HeaderDataProps;\n onLogout?: () => void;\n};\n\nconst Profile: React.FC<ProfileProps> = ({ data, onLogout }) => {\n const { isOpen, onToggle, onClose } = useDisclosure();\n\n return (\n <Popover placement=\"bottom-end\" isOpen={isOpen} onClose={onClose}>\n <Box\n data-test-id=\"WE0UYbA93LOZy6S09IhDO\"\n as=\"button\"\n cursor={'pointer'}\n minW={0}\n _hover={{ textDecor: 'none' }}\n m={0}\n onClick={onToggle}\n >\n <HStack>\n <VStack alignItems=\"flex-end\" spacing={-0.5} ml=\"2\">\n <Text\n fontSize=\"text.xs\"\n mb={1}\n fontWeight={400}\n lineHeight=\"14px\"\n color={useColorModeValue('neutral.800', 'white')}\n >\n {data?.email}\n </Text>\n <Text\n fontSize=\"text.xs\"\n fontWeight={400}\n lineHeight=\"14px\"\n color={useColorModeValue('primary.500', 'success.400')}\n >\n {data?.office && (\n <Text color=\"neutral.700\" display=\"inline-block\" mr={0.5}>\n {data.office} |{' '}\n </Text>\n )}\n {data?.userRole}\n </Text>\n </VStack>\n <PopoverTrigger>\n <Avatar size={'sm'} bg=\"primary.500\" color=\"white\" name={data?.name ?? data?.email} />\n </PopoverTrigger>\n </HStack>\n </Box>\n <PopoverContent bg={useColorModeValue('white', 'mirage.900')} maxW={200}>\n <PopoverArrow bg={useColorModeValue('white', 'mirage.900')} />\n <PopoverBody p={1}>\n <Flex\n data-test-id=\"gA7F9pucPX_Q3_dkgXIYZ\"\n alignItems=\"center\"\n px={3}\n py={2}\n borderRadius=\"sm\"\n cursor=\"pointer\"\n _hover={{ bg: useColorModeValue('primary.500', 'mirage.900'), color: 'white' }}\n onClick={onLogout}\n fontSize=\"text.xs\"\n >\n <FiPower />\n <Text ml={2}>Logout</Text>\n </Flex>\n </PopoverBody>\n </PopoverContent>\n </Popover>\n );\n};\n\nProfile.defaultProps = {\n data: undefined,\n onLogout: undefined,\n};\n\nexport default Profile;\n","import { Box, useColorMode } from '@chakra-ui/react';\nimport * as React from 'react';\nimport { FiMoon, FiSun } from 'react-icons/fi';\n\nconst SwitchMode: React.FC = () => {\n const { colorMode, toggleColorMode } = useColorMode();\n return (\n <Box data-test-id=\"rhYuTDCiWkFqr96upiEEh\" mx={5} onClick={toggleColorMode} cursor=\"pointer\">\n {colorMode === 'light' ? <FiMoon size={20} /> : <FiSun size={20} />}\n </Box>\n );\n};\n\nexport default SwitchMode;\n","import type { Environment } from '../types';\n\n// eslint-disable-next-line import/prefer-default-export\nexport function environmentName(env?: Environment) {\n switch (env) {\n case 'DEVELOPMENT':\n return 'Dev';\n case 'STAGING':\n return 'Staging';\n default:\n return null;\n }\n}\n","/* eslint-disable react-hooks/rules-of-hooks */\nimport { Badge, Box, useColorModeValue } from '@chakra-ui/react';\nimport * as React from 'react';\n\nimport type { Environment } from '../types';\nimport { environmentName } from '../utils/formatter';\n\nexport type VersionProps = {\n environment?: Environment;\n version?: string;\n onOpenModalRelease?: () => void;\n};\n\nconst Version: React.FC<VersionProps> = ({ version, environment, onOpenModalRelease }) => (\n <>\n {version && (\n <Badge\n data-test-id=\"dzl3esjhCphobaaIXpiUE\"\n bg={useColorModeValue('primary.500', 'rgba(124, 124, 124, 0.12)')}\n color={useColorModeValue('white', 'secondary.400')}\n fontSize=\"text.xs\"\n py={1}\n px={2.5}\n fontWeight=\"bold\"\n textTransform=\"lowercase\"\n borderRadius=\"md\"\n onClick={onOpenModalRelease}\n cursor={onOpenModalRelease ? 'pointer' : 'auto'}\n >\n {version}\n </Badge>\n )}\n {environmentName(environment) !== null && version && (\n <Box\n background=\"primary.50\"\n color=\"primary.500\"\n fontSize=\"text.xs\"\n py={1}\n px={2.5}\n fontWeight=\"bold\"\n borderRadius=\"md\"\n >\n {environmentName(environment)}\n </Box>\n )}\n </>\n);\n\nVersion.defaultProps = {\n environment: undefined,\n version: undefined,\n onOpenModalRelease: undefined,\n};\n\nexport default Version;\n","import type { BoxProps } from '@chakra-ui/react';\nimport { Box, Flex, HStack, useColorModeValue } from '@chakra-ui/react';\nimport * as React from 'react';\n\nimport type { HeaderDataProps } from '../types';\nimport { VoilaLogo, XMSLogo } from './logo';\nimport Profile from './profile';\nimport SwitchMode from './switch-mode';\nimport Version from './version';\n\nexport type HeaderProps = BoxProps & {\n data?: HeaderDataProps;\n onLogout?: () => void;\n onOpenModalRelease?: () => void;\n hideSwitchMode?: boolean;\n};\n\nconst Header: React.FC<HeaderProps> = ({ data, onLogout, onOpenModalRelease, hideSwitchMode, ...props }) => (\n <Box\n minH={14}\n bg={useColorModeValue('white', 'ebony-clay.800')}\n boxShadow=\"0 4px 20px 0 rgb(0 0 0 / 5%)\"\n px={4}\n py={1}\n {...props}\n >\n <Flex h={14} alignItems=\"center\" justifyContent=\"space-between\">\n <XMSLogo />\n <HStack spacing={2} alignItems=\"center\">\n <VoilaLogo />\n <Version version={data?.version} environment={data?.environment} onOpenModalRelease={onOpenModalRelease} />\n </HStack>\n <Flex alignItems=\"center\">\n {!hideSwitchMode && <SwitchMode />}\n <Profile data={data} onLogout={onLogout} />\n </Flex>\n </Flex>\n </Box>\n);\n\nHeader.defaultProps = {\n data: undefined,\n onLogout: undefined,\n onOpenModalRelease: undefined,\n hideSwitchMode: false,\n};\n\nexport default Header;\n","import type { ModalBodyProps } from '@chakra-ui/react';\nimport { ModalBody as ChakraModalBody, useColorModeValue } from '@chakra-ui/react';\nimport React from 'react';\n\nconst ModalBody = React.forwardRef<HTMLDivElement, ModalBodyProps>(({ children, ...rest }, ref) => {\n return (\n <ChakraModalBody ref={ref} background={useColorModeValue('white', 'mirage.900')} {...rest}>\n {children}\n </ChakraModalBody>\n );\n});\n\nexport default ModalBody;\n","import type { ButtonProps } from '@chakra-ui/react';\nimport { ModalCloseButton as ChakraModalCloseButton, useColorModeValue } from '@chakra-ui/react';\nimport React, { forwardRef } from 'react';\n\nconst ModalCloseButton = forwardRef<HTMLButtonElement, ButtonProps>((props, ref) => {\n return (\n <ChakraModalCloseButton\n ref={ref}\n top={4}\n right={4}\n size=\"sm\"\n background={useColorModeValue('neutral.50', 'mirage.900')}\n {...props}\n />\n );\n});\nexport default ModalCloseButton;\n","import type { ModalFooterProps } from '@chakra-ui/react';\nimport { ModalFooter as ChakraModalFooter, useColorModeValue } from '@chakra-ui/react';\nimport React, { forwardRef } from 'react';\n\nconst ModalFooter = forwardRef<HTMLDivElement, ModalFooterProps>(({ children, ...rest }, ref) => {\n return (\n <ChakraModalFooter\n ref={ref}\n background={useColorModeValue('neutral.200', 'mirage.900')}\n borderBottomRadius=\"md\"\n {...rest}\n >\n {children}\n </ChakraModalFooter>\n );\n});\n\nexport default ModalFooter;\n","import type { ModalHeaderProps } from '@chakra-ui/react';\nimport { ModalHeader as ChakraModalHeader, useColorModeValue } from '@chakra-ui/react';\nimport React, { forwardRef } from 'react';\n\nconst ModalHeader = forwardRef<HTMLDivElement, ModalHeaderProps>(({ children, ...rest }, ref) => {\n return (\n <ChakraModalHeader\n ref={ref}\n background={useColorModeValue('neutral.200', 'mirage.900')}\n borderTopRadius={'md'}\n fontSize={'lg'}\n {...rest}\n >\n {children}\n </ChakraModalHeader>\n );\n});\n\nexport default ModalHeader;\n","import { createIcon } from '@chakra-ui/react';\nimport React from 'react';\n\nconst CustomerIcon = createIcon({\n displayName: 'CustomerIcon',\n viewBox: '0 0 16 16',\n path: [\n <path\n fill=\"currentColor\"\n fillRule=\"inherit\"\n d=\"M8 2a6 6 0 1 0 0 12A6 6 0 0 0 8 2ZM.667 8a7.333 7.333 0 1 1 14.666 0A7.333 7.333 0 0 1 .667 8Z\"\n clipRule=\"inherit\"\n />,\n <path\n fill=\"currentColor\"\n d=\"M12.416 12.698a1.997 1.997 0 0 0-1.75-1.031H5.334a2 2 0 0 0-1.864 1.277 7.722 7.722 0 0 1-.943-1.074 3.329 3.329 0 0 1 2.807-1.537h5.334a3.333 3.333 0 0 1 2.703 1.384c-.275.325-.594.66-.954.98Z\"\n />,\n <path\n fill=\"currentColor\"\n fillRule=\"inherit\"\n d=\"M8 5.333A1.333 1.333 0 1 0 8 8a1.333 1.333 0 0 0 0-2.667ZM5.333 6.667a2.667 2.667 0 1 1 5.334 0 2.667 2.667 0 0 1-5.334 0Z\"\n clipRule=\"inherit\"\n />,\n ],\n});\n\nexport default CustomerIcon;\n","/* eslint-disable import/prefer-default-export */\nimport {\n FiBox,\n FiDollarSign,\n FiGift,\n FiLayers,\n FiLayout,\n FiRepeat,\n FiRotateCcw,\n FiSettings,\n FiShoppingBag,\n FiShoppingCart,\n FiUsers,\n} from 'react-icons/fi';\nimport type { IconType } from 'react-icons/lib';\n\nimport CustomerIcon from './customer-icon';\n\nexport const mappingIcon = new Map([\n ['Order', FiShoppingBag],\n ['Fulfillment', FiShoppingCart],\n ['Transfer Stock', FiRepeat],\n ['Stock', FiBox],\n ['Product Database', FiLayers],\n ['Purchasing', FiDollarSign],\n ['Reseller', FiUsers],\n ['Retur', FiRotateCcw],\n ['Other', FiSettings],\n ['Content', FiLayout],\n ['Voucher', FiGift],\n ['Customer', CustomerIcon as IconType],\n]);\n","/* eslint-disable react-hooks/rules-of-hooks */\nimport { ChevronDownIcon } from '@chakra-ui/icons';\nimport type { As, BoxProps } from '@chakra-ui/react';\nimport {\n Box,\n Flex,\n HStack,\n Icon,\n Link,\n Popover,\n PopoverContent,\n PopoverTrigger,\n Portal,\n Text,\n useColorModeValue,\n} from '@chakra-ui/react';\nimport { css } from '@emotion/react';\nimport * as React from 'react';\n\nimport type { NavigationLink } from '../types';\nimport { mappingIcon } from './mapping-icon';\n\nexport type NavigationProps = BoxProps & {\n navigations?: NavigationLink[];\n activePath: string;\n as?: As;\n host?: string;\n};\n\nconst Navigation: React.FC<NavigationProps> = ({ navigations, activePath, as, host, ...props }) => {\n return (\n <Box\n bg={useColorModeValue('white', 'ebony-clay.800')}\n boxShadow=\"0 4px 20px 0 rgb(0 0 0 / 5%)\"\n borderRadius=\"md\"\n overflowX=\"auto\"\n {...props}\n >\n <Flex alignItems=\"center\" p={2}>\n <HStack spacing={2}>\n {navigations?.map(navigation => {\n const isActive = activePath.startsWith(navigation.navLink || '');\n const activeBg = isActive ? 'primary.500' : undefined;\n return (\n <Popover key={navigation.title} trigger=\"hover\" placement=\"bottom-start\">\n {({ isOpen }) => (\n <>\n <PopoverTrigger>\n <Box\n display=\"flex\"\n alignItems=\"center\"\n borderRadius=\"md\"\n cursor=\"pointer\"\n _hover={{\n backgroundColor: !isActive ? useColorModeValue('dove-gray.50', 'transparent') : activeBg,\n }}\n backgroundColor={\n isOpen && !isActive ? useColorModeValue('dove-gray.50', 'transparent') : activeBg\n }\n color={isActive ? 'white' : 'inherit'}\n p={2}\n >\n <Icon as={mappingIcon.get(navigation.title)} mr={2} />\n <Text whiteSpace=\"nowrap\" fontSize=\"text.sm\" fontWeight={400}>\n {navigation.title}\n </Text>\n <ChevronDownIcon ml={2} />\n </Box>\n </PopoverTrigger>\n {navigation.children && (\n <Portal>\n <Box zIndex=\"popover\">\n <PopoverContent\n key={navigation.title}\n bg={useColorModeValue('white', 'ebony-clay.800')}\n maxW={250}\n border=\"none\"\n borderRadius=\"md\"\n boxShadow=\"0 5px 25px rgb(0 0 0 / 10%)\"\n >\n {navigation.children.map(({ title, navHost, navLink }) => {\n const link = navHost ? `${navHost}${navLink}` : navLink;\n const isLocalLink = host === navHost;\n const isActiveSub = activePath === navLink;\n return (\n <Link\n as={isLocalLink ? as : undefined}\n key={title}\n href={link}\n _hover={{\n textDecoration: 'none',\n }}\n >\n <Box\n display=\"flex\"\n position=\"relative\"\n alignItems=\"center\"\n cursor=\"pointer\"\n transition=\"padding 0.35s ease 0s\"\n _hover={{\n backgroundColor: useColorModeValue('dove-gray.50', 'mirage.900'),\n color: useColorModeValue('primary.500', 'dove-gray.600'),\n px: 5,\n py: 4,\n _first: { borderTopRadius: 'md' },\n _last: { borderBottomRadius: 'md' },\n }}\n color={isActiveSub ? 'primary.500' : 'inherit'}\n css={css`\n border-spacing: 4px;\n `}\n px={6}\n py={4}\n >\n <Icon as={mappingIcon.get(navigation.title)} mr={3} />\n <Text fontSize=\"text.sm\">{title}</Text>\n {isActiveSub && (\n <Box\n width={0.5}\n height={8}\n position=\"absolute\"\n bg=\"primary.500\"\n right={0}\n zIndex=\"popover\"\n />\n )}\n </Box>\n </Link>\n );\n })}\n </PopoverContent>\n </Box>\n </Portal>\n )}\n </>\n )}\n </Popover>\n );\n })}\n </HStack>\n </Flex>\n </Box>\n );\n};\n\nNavigation.defaultProps = {\n navigations: undefined,\n as: 'a',\n host: undefined,\n};\n\nexport default Navigation;\n","import type { ButtonProps } from '@chakra-ui/react';\nimport { Button, forwardRef, useColorModeValue } from '@chakra-ui/react';\nimport React from 'react';\n\nexport interface PaginationButtonProps {\n isActive?: boolean;\n}\n\nconst PaginationButton = forwardRef<ButtonProps, 'button'>(({ className, style, isActive, children, ...rest }, ref) => {\n const btnBg = useColorModeValue('neutral.300', 'mirage.900');\n const btnColor = useColorModeValue('black.high', 'primary.300');\n const btnNotActiveBg = useColorModeValue('secondary.50', 'primary.500');\n const btnNotActiveColor = useColorModeValue('primary.500', 'white');\n return (\n <Button\n data-test-id=\"Pagination-Button\"\n ref={ref}\n className={className}\n style={style}\n borderRadius={50}\n fontWeight={700}\n m={0}\n px={3}\n py={2}\n h={8}\n minW=\"auto\"\n background={isActive ? 'primary.500' : btnBg}\n color={isActive ? 'white' : btnColor}\n _hover={\n !isActive\n ? {\n background: btnNotActiveBg,\n color: btnNotActiveColor,\n }\n : {}\n }\n _disabled={{\n background: useColorModeValue('neutral.300', 'mirage.900'),\n color: 'neutral.600',\n pointerEvents: 'none',\n }}\n {...rest}\n >\n {children}\n </Button>\n );\n});\n\nPaginationButton.displayName = 'PaginationButton';\n\nPaginationButton.defaultProps = {\n isActive: undefined,\n};\n\nexport default PaginationButton;\n","import { VisuallyHidden } from '@chakra-ui/react';\nimport * as React from 'react';\n\nimport PaginationButton from './pagination-button';\n\ntype PaginationButtonTriggerProps = {\n color?: string;\n isDisabled?: boolean;\n onClick?: () => void;\n visuallyHidden?: string;\n icon?: React.ReactNode;\n};\n\nconst PaginationButtonTrigger: React.FC<PaginationButtonTriggerProps> = ({\n color,\n isDisabled,\n onClick,\n visuallyHidden,\n icon,\n}) => (\n <PaginationButton data-test-id=\"DLVCc_fBK35spHm5WxjcJ\" color={color} isDisabled={isDisabled} onClick={onClick}>\n <VisuallyHidden>{visuallyHidden}</VisuallyHidden>\n {icon}\n </PaginationButton>\n);\n\nPaginationButtonTrigger.defaultProps = {\n color: undefined,\n isDisabled: undefined,\n onClick: undefined,\n visuallyHidden: undefined,\n icon: undefined,\n};\n\nexport default PaginationButtonTrigger;\n","import { ArrowLeftIcon, ArrowRightIcon, ChevronLeftIcon, ChevronRightIcon } from '@chakra-ui/icons';\nimport { Box, Text, useColorModeValue } from '@chakra-ui/react';\nimport * as React from 'react';\n\nimport PaginationButton from './pagination-button';\nimport PaginationButtonTrigger from './pagination-button-trigger';\n\nexport interface PaginationProps {\n /** Additional CSS classes to give to the pagination. */\n className?: string;\n /** The current page number. */\n current: number;\n /** Total number of pages. */\n total: number;\n /**\n * Callback to run when a page number is selected. You can use this to e.g.\n * run setState on your component's page state.\n */\n onSelect?: (page: number) => void;\n}\n\nconst Pagination: React.FC<PaginationProps> = ({ className, current, total, onSelect }) => {\n const btnColorDisabled = useColorModeValue('secondary.100', 'primary.500');\n const btnColor = useColorModeValue('primary.500', 'secondary.100');\n const disabledPrevious = current === 1;\n const previousButtonColor = disabledPrevious ? btnColorDisabled : btnColor;\n const disabledNext = current === total;\n const nextButtonColor = disabledNext ? btnColorDisabled : btnColor;\n\n const handleSelectPage = (page: number) => {\n if (onSelect) {\n onSelect(page);\n }\n };\n\n const generatePages = (): (number | string)[] => {\n const maxButtons = 5;\n const pageButtons: (number | string)[] = [];\n\n let startPage: number;\n let endPage: number;\n\n if (maxButtons && maxButtons < total) {\n startPage = Math.max(Math.min(current - Math.floor(maxButtons / 2), total - maxButtons + 1), 1);\n endPage = startPage + maxButtons - 1;\n } else {\n startPage = 1;\n endPage = total;\n }\n\n // eslint-disable-next-line no-plusplus\n for (let page = startPage; page <= endPage; ++page) {\n pageButtons.push(page);\n }\n\n return pageButtons;\n };\n\n return (\n <Box className={className} display=\"inline-flex\" alignItems=\"center\">\n <Box mr={1}>\n <PaginationButtonTrigger\n data-test-id=\"Pagination-Button\"\n color={previousButtonColor}\n isDisabled={disabledPrevious}\n onClick={() => handleSelectPage(1)}\n visuallyHidden=\"First Page\"\n icon={<ArrowLeftIcon width={2} />}\n />\n </Box>\n <Box backgroundColor={useColorModeValue('neutral.300', 'mirage.900')} borderRadius={50}>\n <PaginationButtonTrigger\n data-test-id=\"Pagination-Button\"\n color={previousButtonColor}\n isDisabled={disabledPrevious}\n onClick={() => handleSelectPage(current - 1)}\n visuallyHidden=\"Previous Page\"\n icon={<ChevronLeftIcon />}\n />\n {generatePages().map(page => {\n return (\n <PaginationButton\n data-test-id=\"Pagination-Button\"\n key={page}\n isActive={page === current}\n onClick={() => (typeof page === 'number' ? handleSelectPage(page) : null)}\n >\n <Text scale={300} fontSize=\"text.sm\" lineHeight={18} fontWeight={500}>\n {page}\n </Text>\n </PaginationButton>\n );\n })}\n <PaginationButtonTrigger\n data-test-id=\"Pagination-Button\"\n color={nextButtonColor}\n isDisabled={disabledNext}\n onClick={() => handleSelectPage(current + 1)}\n visuallyHidden=\"Next Page\"\n icon={<ChevronRightIcon />}\n />\n </Box>\n <Box ml={1}>\n <PaginationButtonTrigger\n data-test-id=\"Pagination-Button\"\n color={nextButtonColor}\n isDisabled={disabledNext}\n onClick={() => handleSelectPage(total)}\n visuallyHidden=\"Last Page\"\n icon={<ArrowRightIcon width={2} />}\n />\n </Box>\n </Box>\n );\n};\n\nPagination.defaultProps = {\n className: undefined,\n onSelect: undefined,\n};\n\nPagination.displayName = 'Pagination';\n\nexport default Pagination;\n","import type { TextProps } from '@chakra-ui/react';\nimport { Text } from '@chakra-ui/react';\nimport * as React from 'react';\n\nexport interface PaginationDetailProps extends TextProps {\n // Current page of pages\n page: number;\n /** Total limit of pages. */\n limit: number;\n // Length of data\n length: number;\n}\n\nconst PaginationDetail: React.FC<PaginationDetailProps> = ({\n page,\n limit,\n length,\n scale = 300,\n fontSize = 'xs',\n lineHeight = 18,\n ...rest\n}) => {\n return (\n <Text scale={scale} fontSize={fontSize} lineHeight={lineHeight} {...rest}>\n {`${(page - 1) * limit + 1}-${limit * page < length ? limit * page : length} dari ${length} item`}\n </Text>\n );\n};\n\nexport default PaginationDetail;\n","import { Box, Select, Text, useColorModeValue } from '@chakra-ui/react';\nimport * as React from 'react';\nimport { FiChevronDown } from 'react-icons/fi';\n\nexport interface PaginationFilterProps<T> {\n /** Total limit of pages. */\n limit?: number;\n /** Label in front of select input */\n label?: string;\n /** Label items. */\n items: T[];\n /** The change handler for the select. */\n onChange: (changes: T) => void;\n}\n\nconst PaginationFilter: React.FC<PaginationFilterProps<number>> = ({\n limit,\n label = 'Baris per halaman:',\n items,\n onChange,\n ...rest\n}) => {\n const [value, setValue] = React.useState(limit);\n\n return (\n <Box display=\"flex\" flexDirection=\"row\" alignItems=\"center\">\n <Text fontSize=\"text.sm\" lineHeight={18} color={useColorModeValue('neutral.900', 'white')} {...rest}>\n {label}\n </Text>\n <Select\n textAlign=\"center\"\n size=\"xs\"\n outline=\"none\"\n border=\"none\"\n boxShadow=\"none\"\n width={18}\n icon={<FiChevronDown />}\n _focusVisible={{ boxShadow: 'none' }}\n onChange={e => {\n const numberValue = Number(e.target.value);\n onChange(numberValue);\n setValue(numberValue);\n }}\n value={value}\n >\n {items.map(item => {\n return (\n <option key={item} value={item}>\n {item}\n </option>\n );\n })}\n </Select>\n </Box>\n );\n};\n\nPaginationFilter.defaultProps = {\n limit: 10,\n label: undefined,\n};\n\nexport default PaginationFilter;\n","/* eslint-disable no-nested-ternary */\nimport type { RadioProps } from '@chakra-ui/react';\nimport { Box, Radio, Text } from '@chakra-ui/react';\nimport type { PropsWithChildren } from 'react';\nimport React from 'react';\n\nexport interface RadioComponentProps extends RadioProps, PropsWithChildren {\n isError?: boolean;\n helpText?: string;\n errorText?: string;\n}\n\nfunction RadioComponent({\n isError = false,\n helpText = '',\n errorText = '',\n children,\n isDisabled,\n ...rest\n}: RadioComponentProps) {\n const variant = isError ? 'errors' : 'unstyled';\n return (\n <Box>\n <Box display=\"flex\">\n <Radio variant={variant} {...rest} isDisabled={isDisabled}>\n {children && (\n <Text textStyle=\"text.sm\" color={isDisabled ? 'black.low' : 'black.high'}>\n {children}\n </Text>\n )}\n </Radio>\n </Box>\n <Box mt=\"5px\" ml=\"24px\">\n {isError ? (\n <Text textStyle=\"text.xs\" color=\"danger.500\">\n {errorText}\n </Text>\n ) : (\n <Text textStyle=\"text.xs\" color=\"black.medium\">\n {helpText}\n </Text>\n )}\n </Box>\n </Box>\n );\n}\n\nRadioComponent.defaultProps = {\n isError: false,\n helpText: '',\n errorText: '',\n};\n\nexport default RadioComponent;\n","/* eslint-disable no-nested-ternary */\nimport type { RadioGroupProps } from '@chakra-ui/react';\nimport { Box, RadioGroup, Stack } from '@chakra-ui/react';\nimport React from 'react';\n\nimport type { FieldProps } from '../../field';\nimport { Field } from '../../field';\n\nexport interface RadioGroupComponentProps extends FieldProps, RadioGroupProps {\n label: string;\n helpText?: string;\n isError?: boolean;\n errorMessage?: string;\n}\n\nfunction RadioGroupComponent(props: RadioGroupComponentProps) {\n const { children, label, helpText, isError, errorMessage, ...rest } = props;\n return (\n <Field {...rest} label={label} leftHelperText={helpText} isError={isError} errorMessage={errorMessage}>\n <Box mt=\"12px\">\n <RadioGroup {...rest}>\n <Stack spacing={[1, '16px']} direction={['column', 'row']}>\n {children}\n </Stack>\n </RadioGroup>\n </Box>\n </Field>\n );\n}\n\nRadioGroupComponent.defaultProps = {\n helpText: '',\n isError: false,\n errorMessage: '',\n};\n\nexport default RadioGroupComponent;\n","import { Box } from '@chakra-ui/react';\nimport { css } from '@emotion/react';\nimport type { FC, PropsWithChildren } from 'react';\nimport React from 'react';\n\nimport { colors } from '../../../config/theme/foundations';\n\ninterface SelectWrapperProps {\n isError?: boolean;\n}\n\nconst SelectWrapper: FC<PropsWithChildren<SelectWrapperProps>> = ({ children, isError = false }) => {\n return (\n <Box\n css={css`\n .react-select__control {\n border-color: ${isError ? colors.danger['500'] : colors.neutral['500']} !important;\n }\n\n .react-select__control:hover {\n border-color: ${isError ? colors.danger['500'] : colors.primary['500']} !important;\n }\n `}\n >\n {children}\n </Box>\n );\n};\n\nSelectWrapper.defaultProps = {\n isError: false,\n};\n\nexport default SelectWrapper;\n","/* eslint-disable @typescript-eslint/no-explicit-any */\n/* eslint-disable no-nested-ternary */\n/* eslint-disable import/prefer-default-export */\nimport type { ColorMode } from '@chakra-ui/system';\nimport type { CSSObjectWithLabel, GroupBase, StylesConfig, Theme } from 'react-select';\n\nimport { colors, textStyles } from '../../../config/theme/foundations';\n\nconst styleMd = textStyles.text.sm;\nconst selectStyle = {\n fontSize: styleMd.fontSize,\n lineHeight: styleMd.lineHeight,\n letterSpacing: 0,\n};\n\nexport function selectStyles<\n OptionType = unknown,\n IsMulti extends boolean = boolean,\n Group extends GroupBase<OptionType> = GroupBase<OptionType>\n>(colorMode: ColorMode, _isError: boolean): StylesConfig<OptionType, IsMulti, Group> | undefined {\n return {\n control: (base: CSSObjectWithLabel, state: any) =>\n colorMode === 'dark'\n ? {\n ...base,\n ...selectStyle,\n background: 'transparent',\n color: colors.primary['300'],\n borderColor: colors.secondary['500'],\n boxShadow: state.isFocused ? 'none' : `inherit`,\n }\n : {\n ...base,\n ...selectStyle,\n boxShadow: state.isFocused ? 'none' : colors.neutral['500'],\n },\n option: (base: CSSObjectWithLabel, { isSelected }) =>\n colorMode === 'dark'\n ? {\n ...base,\n ...selectStyle,\n background: isSelected ? colors.primary['700'] : colors.dark['800'],\n color: 'white',\n }\n : { ...base, ...selectStyle },\n menu: (base: CSSObjectWithLabel) =>\n colorMode === 'dark'\n ? {\n ...base,\n ...selectStyle,\n background: colors.dark['800'],\n zIndex: 5,\n }\n : {\n ...base,\n ...selectStyle,\n zIndex: 5,\n },\n singleValue: (base: CSSObjectWithLabel) =>\n colorMode === 'dark' ? { ...base, ...selectStyle, color: 'white' } : { ...base, ...selectStyle },\n input: (base: CSSObjectWithLabel) =>\n colorMode === 'dark' ? { ...base, ...selectStyle, color: 'white' } : { ...base, ...selectStyle },\n dropdownIndicator: (base: CSSObjectWithLabel) =>\n colorMode === 'dark' ? { ...base, ...selectStyle, color: colors.secondary['500'] } : { ...base, ...selectStyle },\n indicatorSeparator: (base: CSSObjectWithLabel) =>\n colorMode === 'dark'\n ? { ...base, ...selectStyle, backgroundColor: colors.secondary['500'] }\n : { ...base, ...selectStyle },\n };\n}\n\nexport const themeSelect = (theme: Theme) => {\n return {\n ...theme,\n colors: {\n ...theme.colors,\n primary: colors.primary['500'],\n primary25: colors.primary['50'],\n primary50: colors.primary['100'],\n primary75: colors.primary['200'],\n },\n };\n};\n","/* eslint-disable react/require-default-props */\nimport { useColorMode } from '@chakra-ui/system';\nimport React from 'react';\nimport type { GroupBase, Props as ReactSelectProps } from 'react-select';\nimport ReactSelect from 'react-select';\n\nimport SelectWrapper from './select-wrapper';\nimport type { ExtendedSelectProps } from './types/select.types';\nimport { selectStyles, themeSelect } from './utils';\n\nexport type SelectProps<\n Option = unknown,\n IsMulti extends boolean = boolean,\n Group extends GroupBase<Option> = GroupBase<Option>\n> = ReactSelectProps<Option, IsMulti, Group> & ExtendedSelectProps;\n\nfunction Select<OptionType, Group extends GroupBase<OptionType>, IsMulti extends boolean = false>({\n styles,\n isError = false,\n ...rest\n}: SelectProps<OptionType, IsMulti, Group>) {\n const { colorMode } = useColorMode();\n\n return (\n <SelectWrapper isError={isError}>\n <ReactSelect<OptionType, IsMulti, Group>\n classNamePrefix=\"react-select\"\n {...(rest as ReactSelectProps<OptionType, IsMulti, Group>)}\n styles={{ ...selectStyles(colorMode, isError) }}\n theme={themeSelect}\n />\n </SelectWrapper>\n );\n}\n\nexport default Select;\n","import { useColorMode } from '@chakra-ui/system';\nimport React from 'react';\nimport type { GroupBase } from 'react-select';\nimport type { AsyncPaginateProps } from 'react-select-async-paginate';\nimport { AsyncPaginate } from 'react-select-async-paginate';\n\nimport SelectWrapper from './select-wrapper';\nimport type { ExtendedSelectProps } from './types/select.types';\nimport { selectStyles, themeSelect } from './utils';\n\nexport type SelectAsyncProps<\n OptionType = unknown,\n Group extends GroupBase<OptionType> = GroupBase<OptionType>,\n Additional = unknown,\n IsMulti extends boolean = false\n> = AsyncPaginateProps<OptionType, Group, Additional, IsMulti> & ExtendedSelectProps;\n\nfunction SelectAsync<OptionType, Group extends GroupBase<OptionType>, Additional, IsMulti extends boolean = false>({\n styles,\n isError = false,\n ...rest\n}: SelectAsyncProps<OptionType, Group, Additional, IsMulti>) {\n const { colorMode } = useColorMode();\n\n return (\n <SelectWrapper isError={isError}>\n <AsyncPaginate<OptionType, Group, Additional, IsMulti>\n classNamePrefix=\"react-select\"\n {...(rest as AsyncPaginateProps<OptionType, Group, Additional, IsMulti>)}\n styles={{ ...selectStyles<OptionType, IsMulti, Group>(colorMode, isError), ...styles }}\n theme={themeSelect}\n />\n </SelectWrapper>\n );\n}\n\nexport default SelectAsync;\n","import { useColorMode } from '@chakra-ui/system';\nimport React from 'react';\nimport type { GroupBase } from 'react-select';\nimport type { AsyncCreatableProps } from 'react-select/async-creatable';\nimport ReactSelectAsyncCreatable from 'react-select/async-creatable';\n\nimport SelectWrapper from './select-wrapper';\nimport type { ExtendedSelectProps } from './types/select.types';\nimport { selectStyles, themeSelect } from './utils';\n\nexport type SelectAsyncCreatableProps<\n Option = unknown,\n IsMulti extends boolean = false,\n Group extends GroupBase<Option> = GroupBase<Option>\n> = AsyncCreatableProps<Option, IsMulti, Group> & ExtendedSelectProps;\n\nexport default function SelectAsyncCreatable<\n Option = unknown,\n IsMulti extends boolean = false,\n Group extends GroupBase<Option> = GroupBase<Option>\n>({ styles, isError = false, ...rest }: SelectAsyncCreatableProps<Option, IsMulti, Group>) {\n const { colorMode } = useColorMode();\n\n return (\n <SelectWrapper isError={isError}>\n <ReactSelectAsyncCreatable\n classNamePrefix=\"react-select\"\n {...(rest as SelectAsyncCreatableProps<Option, IsMulti, Group>)}\n styles={{ ...selectStyles<Option, IsMulti, Group>(colorMode, isError), ...styles }}\n theme={themeSelect}\n />\n </SelectWrapper>\n );\n}\n","import { useColorMode } from '@chakra-ui/system';\nimport React from 'react';\nimport type { GroupBase } from 'react-select';\nimport type { CreatableProps } from 'react-select/creatable';\nimport ReactSelectCreatable from 'react-select/creatable';\n\nimport SelectWrapper from './select-wrapper';\nimport type { ExtendedSelectProps } from './types/select.types';\nimport { selectStyles, themeSelect } from './utils';\n\nexport type SelectCreatableProps<\n Option = unknown,\n IsMulti extends boolean = false,\n Group extends GroupBase<Option> = GroupBase<Option>\n> = CreatableProps<Option, IsMulti, Group> & ExtendedSelectProps;\n\nexport default function SelectCreatable<\n Option = unknown,\n IsMulti extends boolean = false,\n Group extends GroupBase<Option> = GroupBase<Option>\n>({ styles, isError = false, ...rest }: SelectCreatableProps<Option, IsMulti, Group>) {\n const { colorMode } = useColorMode();\n\n return (\n <SelectWrapper isError={isError}>\n <ReactSelectCreatable\n classNamePrefix=\"react-select\"\n {...(rest as SelectCreatableProps<Option, IsMulti, Group>)}\n styles={{ ...selectStyles<Option, IsMulti, Group>(colorMode, isError), ...styles }}\n theme={themeSelect}\n />\n </SelectWrapper>\n );\n}\n","import type {\n HTMLChakraProps,\n ResponsiveValue,\n SystemProps,\n SystemStyleObject,\n ThemingProps,\n UseCheckboxProps,\n} from '@chakra-ui/react';\nimport { chakra, Flex, forwardRef, omitThemingProps, useCheckbox, useMultiStyleConfig } from '@chakra-ui/react';\nimport { cx, dataAttr } from '@chakra-ui/shared-utils';\nimport { Check, Close } from '@ctlyst.id/internal-icon';\nimport React, { useMemo } from 'react';\n\nexport interface SwitchProps\n extends Omit<UseCheckboxProps, 'isIndeterminate'>,\n Omit<HTMLChakraProps<'label'>, keyof UseCheckboxProps>,\n ThemingProps<'Switch'> {\n /**\n * The spacing between the switch and its label text\n * @default 0.5rem\n * @type SystemProps[\"marginLeft\"]\n */\n spacing?: SystemProps['marginLeft'];\n size?: 'sm' | 'md' | 'lg';\n}\n\n/**\n * The `Switch` component is used as an alternative for the checkbox component for switching between \"enabled\" and \"disabled\" states.\n *\n * @see Docs https://chakra-ui.com/docs/components/switch\n * @see WAI-ARIA https://www.w3.org/WAI/ARIA/apg/patterns/switch/\n */\nconst Switch = forwardRef<SwitchProps, 'input'>(function Switch(props, ref) {\n const styles = useMultiStyleConfig('Switch', props);\n\n const { size = 'md' } = props;\n\n const { spacing = '0.5rem', children, ...ownProps } = omitThemingProps(props);\n\n const { state, getInputProps, getCheckboxProps, getRootProps, getLabelProps } = useCheckbox(ownProps);\n\n const containerStyles: SystemStyleObject = useMemo(\n () => ({\n display: 'inline-block',\n position: 'relative',\n verticalAlign: 'middle',\n lineHeight: 0,\n ...styles.container,\n }),\n [styles.container]\n );\n\n const trackStyles: SystemStyleObject = useMemo(\n () => ({\n display: 'inline-flex',\n flexShrink: 0,\n justifyContent: 'flex-start',\n boxSizing: 'content-box',\n cursor: 'pointer',\n width: 200,\n ...styles.track,\n }),\n [styles.track]\n );\n\n const labelStyles: SystemStyleObject = useMemo(\n () => ({\n userSelect: 'none',\n marginStart: spacing,\n ...styles.label,\n }),\n [spacing, styles.label]\n );\n\n const getIconSize = (value: ResponsiveValue<'sm' | 'md' | 'lg'>) => {\n const iconSize = {\n sm: 3,\n md: 4,\n lg: 5,\n };\n\n return iconSize[value as keyof typeof iconSize];\n };\n\n return (\n <chakra.label\n {...getRootProps()}\n display=\"flex\"\n alignItems=\"center\"\n className={cx('chakra-switch', props.className)}\n __css={containerStyles}\n >\n <input data-test-id=\"\" className=\"chakra-switch__input\" {...getInputProps({}, ref)} />\n <chakra.span {...getCheckboxProps()} className=\"chakra-switch__track\" pos=\"relative\" __css={trackStyles}>\n <Flex gap={2} pos=\"absolute\" top=\"50%\" left=\"50%\" transform=\"translate(-50%, -50%)\">\n <Check color=\"white\" size={getIconSize(size)} />\n <Close color={state.isDisabled ? 'neutral.600' : 'neutral.900'} size={getIconSize(size)} />\n </Flex>\n <chakra.span\n __css={styles.thumb}\n className=\"chakra-switch__thumb\"\n data-checked={dataAttr(state.isChecked)}\n data-hover={dataAttr(state.isHovered)}\n />\n </chakra.span>\n {children && (\n <chakra.span\n className=\"chakra-switch__label\"\n color={state.isDisabled ? 'black.low' : 'black.high'}\n {...getLabelProps()}\n __css={labelStyles}\n >\n {children}\n </chakra.span>\n )}\n </chakra.label>\n );\n});\n\nexport default Switch;\n","import type { TabProps as ChakraTabProps } from '@chakra-ui/react';\nimport { Button, Flex, forwardRef, useColorModeValue, useMultiStyleConfig, useTab } from '@chakra-ui/react';\nimport * as React from 'react';\n\ntype AddonProps = {\n isSelected: boolean;\n};\n\ntype TabProps = ChakraTabProps & {\n leftAddon?({ isSelected }: AddonProps): React.ReactNode;\n rightAddon?({ isSelected }: AddonProps): React.ReactNode;\n};\n\nconst Tab = forwardRef<TabProps, 'button'>((props, ref) => {\n const tabProps = useTab({ ...props, ref });\n const isSelected = !!tabProps['aria-selected'];\n const styles = useMultiStyleConfig('Tabs', tabProps);\n return (\n <Button\n p={3}\n fontSize=\"text.md\"\n _selected={{\n borderColor: useColorModeValue('primary.400', 'primary.300'),\n color: useColorModeValue('primary.500', 'primary.300'),\n transform: 'translateY(-2px)',\n }}\n color={useColorModeValue('black.high', 'primary.300')}\n _focus={{ bg: 'none' }}\n __css={styles.tab}\n {...tabProps}\n >\n <Flex>\n {props.leftAddon?.({ isSelected })}\n {tabProps.children}\n {props.rightAddon?.({ isSelected })}\n </Flex>\n </Button>\n );\n});\n\nexport default Tab;\n","import type { TabListProps } from '@chakra-ui/react';\nimport { forwardRef, TabList as ChakraTabList, useColorModeValue } from '@chakra-ui/react';\nimport React from 'react';\n\nconst TabList = forwardRef<TabListProps, 'div'>((props, ref) => (\n <ChakraTabList borderBottom=\"1px solid\" borderColor={useColorModeValue('gray.200', 'bright-gray.800')} ref={ref}>\n {props.children}\n </ChakraTabList>\n));\n\nexport default TabList;\n","import type { TabPanelProps } from '@chakra-ui/react';\nimport { forwardRef, TabPanel as ChakraTabPanel } from '@chakra-ui/react';\nimport React from 'react';\n\nconst TabPanel = forwardRef<TabPanelProps, 'div'>((props, ref) => (\n <ChakraTabPanel px={0} ref={ref}>\n {props.children}\n </ChakraTabPanel>\n));\n\nexport default TabPanel;\n","export const ONE_MEGA_BYTE = 1000000;\nexport const messages = {\n dragActive: 'Drop file disini...',\n dragInActive: `(Klik atau drag untuk input file)`,\n dragReplace: `(Klik atau drag untuk mengganti file)`,\n replaceFile: 'Ganti File',\n uploadFile: 'Upload File',\n};\n","import type { FlexProps } from '@chakra-ui/react';\nimport { Flex, Heading, Stack, Text } from '@chakra-ui/react';\nimport * as React from 'react';\nimport type { DropzoneOptions, DropzoneState, FileRejection } from 'react-dropzone';\nimport { useDropzone } from 'react-dropzone';\n\nimport { messages } from '../constants';\n\nexport type UploaderProps = FlexProps &\n DropzoneOptions & {\n onHandleUploadFile?: (res: File[]) => void;\n onHandleRejections?: (rejections: FileRejection[]) => void;\n renderError?: (rejections: FileRejection[]) => React.ReactNode;\n selected?: boolean;\n };\n\nexport type UploaderState = DropzoneState;\n\nconst Uploader: React.FC<UploaderProps> = ({\n onHandleUploadFile,\n onHandleRejections,\n accept,\n multiple,\n selected,\n maxFiles = 1,\n renderError,\n validator,\n ...props\n}) => {\n const [selectedFirstFile, setSelectedFirstFile] = React.useState<File>();\n const [isSelected, setIsSelected] = React.useState<boolean>(selected || false);\n const onDrop = React.useCallback(\n (acceptedFiles: File[]) => {\n if (acceptedFiles.length > 0) {\n onHandleUploadFile?.(acceptedFiles);\n if (!multiple) {\n setIsSelected(true);\n setSelectedFirstFile(acceptedFiles[0]);\n }\n }\n },\n [multiple, onHandleUploadFile]\n );\n\n const { getRootProps, getInputProps, isDragActive, fileRejections } = useDropzone({\n onDrop,\n accept,\n maxFiles,\n multiple,\n validator,\n });\n\n React.useEffect(() => {\n if (fileRejections.length > 0 && onHandleRejections) {\n onHandleRejections(fileRejections);\n }\n }, [fileRejections, onHandleRejections]);\n\n const isError = React.useMemo(() => {\n const error = fileRejections.length > 0;\n if (error) {\n setIsSelected(false);\n }\n return error;\n }, [fileRejections]);\n\n React.useEffect(() => {\n setIsSelected(selected ?? false);\n }, [selected]);\n\n return (\n <Stack direction=\"column\">\n <Flex\n minH={200}\n border=\"1px dashed\"\n borderColor={isError ? 'danger.500' : 'primary.500'}\n alignItems=\"center\"\n justifyContent=\"center\"\n cursor=\"pointer\"\n {...props}\n {...getRootProps()}\n >\n <input {...getInputProps()} />\n {isDragActive ? (\n <Text>{messages.dragActive}</Text>\n ) : (\n <Flex flexDirection=\"column\" alignItems=\"center\" color={isError ? 'danger.500' : 'primary.500'}>\n {!multiple && isSelected && (\n <Heading fontWeight={400} fontSize=\"18px\" lineHeight={28} color=\"black.high\" mb={2}>\n {selectedFirstFile?.name}\n </Heading>\n )}\n {!isSelected && (\n <Heading fontWeight={400} fontSize=\"18px\" lineHeight={28} mb={2}>\n {messages.uploadFile}\n </Heading>\n )}\n {isSelected ? <Text>{messages.dragReplace}</Text> : <Text>{messages.dragInActive}</Text>}\n </Flex>\n )}\n </Flex>\n {renderError?.(fileRejections)}\n </Stack>\n );\n};\n\nUploader.defaultProps = {\n onHandleUploadFile: undefined,\n onHandleRejections: undefined,\n renderError: undefined,\n selected: false,\n};\n\nexport default Uploader;\n","import { alertAnatomy as parts } from '@chakra-ui/anatomy';\nimport type { StyleFunctionProps } from '@chakra-ui/styled-system';\nimport { createMultiStyleConfigHelpers, cssVar } from '@chakra-ui/styled-system';\nimport { transparentize } from '@chakra-ui/theme-tools';\n\nconst { definePartsStyle, defineMultiStyleConfig } = createMultiStyleConfigHelpers(parts.keys);\n\nconst $fg = cssVar('alert-fg');\nconst $bg = cssVar('alert-bg');\n\nconst baseStyle = definePartsStyle({\n container: {\n bg: $bg.reference,\n px: '4',\n py: '2',\n borderRadius: 'md',\n },\n title: {\n fontWeight: '400',\n lineHeight: '18px',\n marginEnd: '2',\n },\n description: {\n lineHeight: '6',\n },\n icon: {\n color: $fg.reference,\n flexShrink: 0,\n marginEnd: '3',\n w: '4',\n h: '4',\n },\n action: {\n '& +.chakra-alert__close': {\n ml: '3',\n },\n },\n close: {\n color: $fg.reference,\n w: '4',\n h: '4',\n },\n\n spinner: {\n color: $fg.reference,\n flexShrink: 0,\n marginEnd: '3',\n w: '5',\n h: '5',\n },\n});\n\nfunction getBg(props: StyleFunctionProps) {\n const { theme, colorScheme: c } = props;\n const darkBg = transparentize(`${c}.200`, 0.16)(theme);\n return {\n light: `colors.${c}.50`,\n dark: darkBg,\n };\n}\n\nconst variantSubtle = definePartsStyle(props => {\n const { colorScheme: c } = props;\n const bg = getBg(props);\n return {\n container: {\n [$fg.variable]: `colors.${c}.700`,\n [$bg.variable]: bg.light,\n _dark: {\n [$fg.variable]: `colors.${c}.200`,\n [$bg.variable]: bg.dark,\n },\n color: $fg.reference,\n },\n };\n});\n\nconst variantSolid = definePartsStyle(props => {\n const { colorScheme: c } = props;\n return {\n container: {\n [$fg.variable]: `colors.white.high`,\n [$bg.variable]: `colors.${c}.500`,\n _dark: {\n [$fg.variable]: `colors.gray.900`,\n [$bg.variable]: `colors.${c}.200`,\n },\n color: $fg.reference,\n },\n };\n});\n\nconst variants = {\n subtle: variantSubtle,\n solid: variantSolid,\n};\n\nconst alertTheme = defineMultiStyleConfig({\n baseStyle,\n variants,\n defaultProps: {\n variant: 'subtle',\n colorScheme: 'info',\n },\n});\n\nexport default alertTheme;\n","import type { ComponentStyleConfig } from '@chakra-ui/theme';\n\nconst Badge: ComponentStyleConfig = {\n baseStyle: {\n display: 'inline-block',\n fontSize: 10,\n fontWeight: 600,\n lineHeight: '1.25',\n textTransform: 'none',\n px: 2,\n py: '0.5',\n },\n variants: {\n 'primary-solid': {\n bg: 'primary.500',\n color: 'white',\n },\n 'success-solid': {\n bg: 'success.500',\n color: 'white',\n },\n 'info-solid': {\n bg: 'info.500',\n color: 'white',\n },\n 'warning-solid': {\n bg: 'warning.500',\n color: 'white',\n },\n 'danger-solid': {\n bg: 'danger.500',\n color: 'white',\n },\n 'neutral-solid': {\n bg: 'neutral.600',\n color: 'white',\n },\n 'primary-light': {\n bg: 'primary.50',\n color: 'primary.500',\n },\n 'success-light': {\n bg: 'success.50',\n color: 'success.500',\n },\n 'info-light': {\n bg: 'info.50',\n color: 'info.500',\n },\n 'warning-light': {\n bg: 'warning.50',\n color: 'warning.500',\n },\n 'danger-light': {\n bg: 'danger.50',\n color: 'danger.500',\n },\n 'neutral-light': {\n bg: 'neutral.100',\n color: 'neutral.600',\n },\n },\n // The default size and variant values\n defaultProps: {\n variant: 'primary-solid',\n },\n};\n\nexport default Badge;\n","import { defineStyleConfig } from '@chakra-ui/styled-system';\r\nimport type { ComponentStyleConfig } from '@chakra-ui/theme';\r\n\r\n// You can also use the more specific type for\r\n// a single part component: ComponentSingleStyleConfig\r\n\r\nconst Button: ComponentStyleConfig = defineStyleConfig({\r\n // The styles all button have in common\r\n baseStyle: {\r\n fontSize: 'body.1',\r\n fontWeight: 'normal',\r\n px: 4,\r\n py: 2.5,\r\n borderRadius: 'md',\r\n\r\n _disabled: {\r\n opacity: 1,\r\n bg: 'neutral.300',\r\n color: 'black.low',\r\n },\r\n\r\n _hover: {\r\n _disabled: {\r\n bg: 'neutral.300',\r\n color: 'black.low',\r\n },\r\n },\r\n },\r\n\r\n sizes: {\r\n lg: props => {\r\n const { variant } = props;\r\n const base = {\r\n fontSize: 'text.xl',\r\n h: 12,\r\n px: 4,\r\n py: 2.5,\r\n };\r\n const icon = {\r\n h: 10,\r\n w: 10,\r\n p: 0,\r\n };\r\n return variant === 'icon' ? icon : base;\r\n },\r\n md: props => {\r\n const { variant } = props;\r\n const base = {\r\n fontSize: 'text.md',\r\n h: 9,\r\n px: 3,\r\n py: '7px',\r\n };\r\n const icon = {\r\n h: 9,\r\n w: 9,\r\n p: 0,\r\n };\r\n return variant === 'icon' ? icon : base;\r\n },\r\n sm: props => {\r\n const { variant } = props;\r\n const base = {\r\n fontSize: 'text.sm',\r\n h: '26px',\r\n lineHeight: 4,\r\n px: 2,\r\n py: '5px',\r\n };\r\n const icon = {\r\n h: '26px',\r\n w: '26px',\r\n p: 0,\r\n };\r\n return variant === 'icon' ? icon : base;\r\n },\r\n },\r\n\r\n variants: {\r\n primary: props => {\r\n const { isLoading } = props;\r\n\r\n const basePrimary = {\r\n color: 'white.high',\r\n bg: 'primary.500',\r\n _hover: {\r\n bg: 'primary.600',\r\n },\r\n _active: {\r\n bg: 'primary.700',\r\n },\r\n };\r\n\r\n const disabledLoading = {\r\n _disabled: {\r\n bg: 'primary.500',\r\n },\r\n _hover: {\r\n _disabled: {\r\n bg: 'primary.500',\r\n },\r\n },\r\n };\r\n\r\n return isLoading ? disabledLoading : basePrimary;\r\n },\r\n secondary: props => {\r\n const { isLoading } = props;\r\n\r\n const baseSecondary = {\r\n color: 'primary.500',\r\n borderWidth: 1,\r\n borderStyle: 'inside',\r\n bg: 'white.high',\r\n borderColor: 'primary.500',\r\n _hover: {\r\n bg: 'primary.50',\r\n },\r\n _active: {\r\n bg: 'primary.100',\r\n },\r\n _disabled: {\r\n border: 0,\r\n },\r\n };\r\n\r\n const disabledLoading = {\r\n ...baseSecondary,\r\n _disabled: {\r\n bg: 'white.high',\r\n },\r\n _hover: {\r\n _disabled: {\r\n bg: 'white.high',\r\n },\r\n },\r\n };\r\n\r\n return isLoading ? disabledLoading : baseSecondary;\r\n },\r\n\r\n tertiary: props => {\r\n const { isLoading } = props;\r\n\r\n const baseTertiary = {\r\n color: 'primary.500',\r\n _hover: {\r\n bg: 'primary.50',\r\n },\r\n _active: {\r\n bg: 'primary.100',\r\n },\r\n };\r\n\r\n const disabledLoading = {\r\n ...baseTertiary,\r\n _disabled: {\r\n bg: 'transparent',\r\n },\r\n _hover: {\r\n _disabled: {\r\n bg: 'transparent',\r\n },\r\n },\r\n };\r\n\r\n return isLoading ? disabledLoading : baseTertiary;\r\n },\r\n\r\n danger: props => {\r\n const { isLoading } = props;\r\n\r\n const baseDanger = {\r\n bg: 'danger.500',\r\n color: 'white.high',\r\n _hover: {\r\n bg: 'danger.600',\r\n },\r\n _active: {\r\n bg: 'danger.700',\r\n },\r\n };\r\n\r\n const disabledLoading = {\r\n ...baseDanger,\r\n _disabled: {\r\n bg: 'danger.500',\r\n },\r\n _hover: {\r\n _disabled: {\r\n bg: 'danger.500',\r\n },\r\n },\r\n };\r\n\r\n return isLoading ? disabledLoading : baseDanger;\r\n },\r\n\r\n 'outline-danger': props => {\r\n const { isLoading } = props;\r\n\r\n const baseSecondary = {\r\n color: 'danger.500',\r\n borderWidth: 1,\r\n borderStyle: 'inside',\r\n bg: 'white.high',\r\n borderColor: 'danger.500',\r\n _hover: {\r\n bg: 'danger.50',\r\n },\r\n _active: {\r\n bg: 'danger.100',\r\n },\r\n _disabled: {\r\n border: 0,\r\n },\r\n };\r\n\r\n const disabledLoading = {\r\n ...baseSecondary,\r\n _disabled: {\r\n bg: 'white.high',\r\n },\r\n _hover: {\r\n _disabled: {\r\n bg: 'white.high',\r\n },\r\n },\r\n };\r\n\r\n return isLoading ? disabledLoading : baseSecondary;\r\n },\r\n\r\n link: {\r\n bg: 'transparent',\r\n color: 'primary.500',\r\n _disabled: {\r\n opacity: '1',\r\n bg: 'transparent',\r\n color: 'black.medium',\r\n },\r\n _hover: {\r\n _disabled: {\r\n bg: 'transparent',\r\n color: 'black.medium',\r\n },\r\n },\r\n },\r\n\r\n icon: {\r\n bg: 'neutral.50',\r\n minW: 0,\r\n borderColor: 'neutral.200',\r\n borderWidth: '1px',\r\n\r\n _active: {\r\n bg: 'neutral.500',\r\n borderColor: 'neutral.50',\r\n },\r\n _disabled: {\r\n bg: 'neutral.500',\r\n opacity: 0.3,\r\n borderColor: 'neutral.50',\r\n },\r\n _hover: {\r\n bg: 'neutral.400',\r\n _disabled: {\r\n bg: 'neutral.500',\r\n opacity: 0.3,\r\n borderColor: 'neutral.50',\r\n },\r\n },\r\n },\r\n },\r\n\r\n defaultProps: {\r\n size: 'md',\r\n variant: 'primary',\r\n colorScheme: 'primary',\r\n },\r\n});\r\n\r\nexport default Button;\r\n","import { defineStyleConfig } from '@chakra-ui/styled-system';\n\nconst CardStyle = defineStyleConfig({\n baseStyle: props => {\n return {\n shadow: props.withShadow ? 'raised' : 'none',\n borderRadius: props.isRounded ? 'lg' : 'none',\n };\n },\n});\n\nexport default CardStyle;\n","import { checkboxAnatomy } from '@chakra-ui/anatomy';\r\nimport { createMultiStyleConfigHelpers } from '@chakra-ui/react';\r\n\r\nconst { definePartsStyle, defineMultiStyleConfig } = createMultiStyleConfigHelpers(checkboxAnatomy.keys);\r\n\r\nconst baseStyle = definePartsStyle({\r\n control: {\r\n borderRadius: '4px',\r\n width: '16px',\r\n height: '16px',\r\n border: '1px solid',\r\n },\r\n icon: {\r\n color: 'neutral.50',\r\n width: '9px',\r\n },\r\n label: {\r\n fontWeight: '400',\r\n lineHeight: '18px',\r\n color: 'black.high',\r\n ml: '8px',\r\n },\r\n _disabled: {\r\n background: 'neutral.500',\r\n border: '1px solid',\r\n borderColor: 'neutral.500',\r\n cursor: 'not-allowed',\r\n },\r\n});\r\n\r\nconst errors = definePartsStyle({\r\n control: {\r\n borderColor: 'danger.500',\r\n _checked: {\r\n borderColor: 'danger.500',\r\n backgroundColor: 'danger.500',\r\n _hover: {\r\n borderColor: 'danger.600',\r\n backgroundColor: 'danger.600',\r\n },\r\n },\r\n _indeterminate: {\r\n borderColor: 'danger.500',\r\n backgroundColor: 'danger.500',\r\n },\r\n },\r\n label: {\r\n fontSize: '12px',\r\n },\r\n});\r\n\r\nconst unstyled = definePartsStyle({\r\n control: {\r\n borderColor: 'neutral.500',\r\n _checked: {\r\n borderColor: 'primary.500',\r\n backgroundColor: 'primary.500',\r\n _hover: {\r\n borderColor: 'primary.600',\r\n backgroundColor: 'primary.600',\r\n },\r\n _disabled: {\r\n backgroundColor: 'neutral.500',\r\n borderColor: 'neutral.500',\r\n },\r\n },\r\n _disabled: {\r\n backgroundColor: 'neutral.500',\r\n borderColor: 'neutral.500',\r\n },\r\n _indeterminate: {\r\n borderColor: 'primary.500',\r\n backgroundColor: 'primary.500',\r\n },\r\n },\r\n label: {\r\n fontSize: '12px',\r\n },\r\n});\r\n\r\nconst variants = {\r\n errors,\r\n unstyled,\r\n};\r\n\r\nconst Checkbox = defineMultiStyleConfig({\r\n baseStyle,\r\n variants,\r\n defaultProps: {\r\n variant: 'unstyled',\r\n },\r\n});\r\n\r\nexport default Checkbox;\r\n","import { defineStyleConfig } from '@chakra-ui/styled-system';\n\nconst Chips = defineStyleConfig({\n baseStyle: props => {\n const { isDisabled, isActive } = props;\n\n const defaultProps = {\n color: 'primary.500',\n fontSize: 'text.small',\n borderRadius: '24px',\n borderWidth: '1px',\n borderColor: 'primary.500',\n bg: 'white.high',\n paddingX: 3,\n paddingY: 1,\n cursor: 'default',\n };\n\n let chipsProps = { ...defaultProps };\n\n if (isActive) {\n const isActiveProps = {\n bg: 'primary.500',\n color: 'white.high',\n };\n chipsProps = { ...chipsProps, ...isActiveProps };\n }\n\n if (isDisabled) {\n const isDisabledProps = {\n bg: 'neutral.200',\n color: 'black.low',\n borderColor: 'neutral.200',\n cursor: 'not-allowed',\n };\n chipsProps = { ...chipsProps, ...isDisabledProps };\n }\n\n return {\n ...chipsProps,\n };\n },\n sizes: {\n sm: {\n fontSize: '12px',\n },\n md: {\n fontSize: '14px',\n },\n },\n defaultProps: {\n size: 'sm',\n },\n});\n\nexport default Chips;\n","import { defineStyle, defineStyleConfig } from '@chakra-ui/styled-system';\r\n\r\nconst baseStyle = defineStyle({\r\n fontSize: 'field.sm',\r\n marginEnd: 1,\r\n mb: 1,\r\n});\r\n\r\nconst FormLabel = defineStyleConfig({\r\n baseStyle,\r\n});\r\n\r\nexport default FormLabel;\r\n","import { inputAnatomy as parts } from '@chakra-ui/anatomy';\r\nimport { createMultiStyleConfigHelpers, defineStyle } from '@chakra-ui/styled-system';\r\nimport { mode } from '@chakra-ui/theme-tools';\r\n\r\nconst { definePartsStyle, defineMultiStyleConfig } = createMultiStyleConfigHelpers(parts.keys);\r\n\r\nconst baseStyle = definePartsStyle({\r\n field: {\r\n width: '100%',\r\n minWidth: 0,\r\n outline: 0,\r\n px: 2,\r\n py: 2.5,\r\n paddingInlineStart: 2,\r\n paddingInlineEnd: 2,\r\n position: 'relative',\r\n appearance: 'none',\r\n color: 'black.high',\r\n _disabled: {\r\n bg: 'neutral.300',\r\n border: 0,\r\n cursor: 'not-allowed',\r\n opacity: 1,\r\n boxShadow: 'none',\r\n color: 'black.medium',\r\n },\r\n _placeholder: {\r\n color: 'black.low',\r\n },\r\n },\r\n});\r\n\r\nconst size = {\r\n lg: defineStyle({\r\n fontSize: 'text.lg',\r\n h: 12,\r\n borderRadius: 'md',\r\n }),\r\n md: defineStyle({\r\n fontSize: 'text.md',\r\n h: 10,\r\n borderRadius: 'md',\r\n }),\r\n sm: defineStyle({\r\n fontSize: 'text.sm',\r\n h: 9.5,\r\n borderRadius: 'md',\r\n }),\r\n};\r\n\r\nconst sizes = {\r\n lg: definePartsStyle({\r\n field: size.lg,\r\n addon: size.lg,\r\n }),\r\n md: definePartsStyle({\r\n field: size.md,\r\n addon: size.md,\r\n }),\r\n sm: definePartsStyle({\r\n field: size.sm,\r\n addon: size.sm,\r\n }),\r\n};\r\n\r\nconst outline = definePartsStyle(props => {\r\n const field = {\r\n border: 0,\r\n outline: 0,\r\n bg: mode('white', 'inherit')(props),\r\n color: mode('inherit', 'white')(props),\r\n _invalid: {\r\n boxShadow: 'none',\r\n },\r\n _focusVisible: {\r\n zIndex: 1,\r\n boxShadow: 'none',\r\n },\r\n };\r\n\r\n return {\r\n field,\r\n };\r\n});\r\n\r\nconst unstyled = definePartsStyle({\r\n field: {\r\n bg: 'transparent',\r\n px: '0',\r\n height: 'auto',\r\n },\r\n addon: {\r\n bg: 'transparent',\r\n px: '0',\r\n height: 'auto',\r\n },\r\n});\r\n\r\nconst variants = {\r\n outline,\r\n unstyled,\r\n};\r\n\r\nconst Input = defineMultiStyleConfig({\r\n baseStyle,\r\n sizes,\r\n variants,\r\n defaultProps: {\r\n size: 'sm',\r\n variant: 'outline',\r\n },\r\n});\r\n\r\nexport default Input;\r\n","import { defineStyleConfig } from '@chakra-ui/styled-system';\nimport { keyframes } from '@emotion/react';\n\nimport colorsTheme from '../foundations/colors';\n\nconst rotate = keyframes({\n '0%': {\n transform: 'rotate(0deg)',\n },\n '100%': {\n transform: 'rotate(360deg)',\n },\n});\n\nconst getLoaderColor = (color: string) => {\n if (color === 'primary') return colorsTheme.primary[600];\n if (color === 'danger') return colorsTheme.danger[500];\n return colorsTheme.white.high;\n};\n\nconst LoaderStyle = defineStyleConfig({\n baseStyle: props => {\n const colors = getLoaderColor(props.color);\n return {\n borderRadius: '50%',\n display: 'flex',\n justifyContent: 'center',\n alignItems: 'center',\n animation: `${rotate} 1s linear infinite`,\n background: `conic-gradient(from 180deg at 50% 50%, ${colors} 0deg, rgba(217, 217, 217, 0) 360deg);`,\n ':before': {\n content: `''`,\n display: 'block',\n borderRadius: '50%',\n width: '6px',\n height: '6px',\n position: 'absolute',\n bottom: 0,\n background: colors,\n },\n };\n },\n sizes: {\n xs: {\n width: '12px',\n height: '12px',\n WebkitMask: 'radial-gradient(farthest-side,#0000 calc(100% - 1.4px),#000 0);',\n ':before': {\n width: '1.4px',\n height: '1.4px',\n },\n },\n sm: {\n width: '16px',\n height: '16px',\n WebkitMask: 'radial-gradient(farthest-side,#0000 calc(100% - 1.87px),#000 0);',\n ':before': {\n width: '1.87px',\n height: '1.87px',\n },\n },\n md: {\n width: '24px',\n height: '24px',\n WebkitMask: 'radial-gradient(farthest-side,#0000 calc(100% - 2.8px),#000 0);',\n ':before': {\n width: '2.8px',\n height: '2.8px',\n },\n },\n lg: {\n width: '50px',\n height: '50px',\n WebkitMask: 'radial-gradient(farthest-side,#0000 calc(100% - 5.83px),#000 0);',\n ':before': {\n width: '5.83px',\n height: '5.83px',\n },\n },\n xl: {\n width: '75px',\n height: '75px',\n WebkitMask: 'radial-gradient(farthest-side,#0000 calc(100% - 8.75px),#000 0);',\n ':before': {\n width: '8.75px',\n height: '8.75px',\n },\n },\n xxl: {\n width: '100px',\n height: '100px',\n WebkitMask: `radial-gradient(farthest-side,#0000 calc(100% - 11.67px),#000 0);`,\n ':before': {\n width: '11.67px',\n height: '11.67px',\n },\n },\n },\n defaultProps: {\n size: 'lg',\n },\n});\n\nexport default LoaderStyle;\n","import { popoverAnatomy as parts } from '@chakra-ui/anatomy';\nimport { createMultiStyleConfigHelpers } from '@chakra-ui/styled-system';\nimport type { ComponentStyleConfig } from '@chakra-ui/theme';\nimport { mode } from '@chakra-ui/theme-tools';\n\nconst { definePartsStyle } = createMultiStyleConfigHelpers(parts.keys);\n\nconst Popover: ComponentStyleConfig = {\n baseStyle: props =>\n definePartsStyle({\n popper: {\n background: mode('white', 'inherit')(props),\n },\n }),\n};\n\nexport default Popover;\n","import { radioAnatomy } from '@chakra-ui/anatomy';\nimport { createMultiStyleConfigHelpers } from '@chakra-ui/react';\n\nconst { definePartsStyle, defineMultiStyleConfig } = createMultiStyleConfigHelpers(radioAnatomy.keys);\n\nconst baseStyle = definePartsStyle({\n control: {\n border: '1px solid',\n width: '16px',\n height: '16px',\n },\n label: {\n marginLeft: '8px',\n textStyle: 'text.sm',\n color: 'black.high',\n _disabled: {\n color: 'black.low',\n },\n },\n});\n\nconst errors = definePartsStyle({\n control: {\n borderColor: 'danger.500',\n _checked: {\n borderColor: 'danger.500',\n bg: 'white',\n _before: {\n h: '10px',\n w: '10px',\n bg: 'danger.500',\n },\n _hover: {\n borderColor: 'danger.500',\n bg: 'gray.200',\n },\n _disabled: {\n borderColor: 'danger.500',\n bg: 'white',\n _before: {\n h: '10px',\n w: '10px',\n bg: 'neutral.500',\n },\n },\n },\n _disabled: {\n borderColor: 'danger.500',\n bg: 'neutral.500',\n },\n },\n label: {\n fontSize: '12px',\n },\n});\n\nconst unstyled = definePartsStyle({\n control: {\n borderColor: 'neutral.600',\n _checked: {\n borderColor: 'primary.500',\n bg: 'white',\n _before: {\n h: '10px',\n w: '10px',\n bg: 'primary.500',\n },\n _hover: {\n borderColor: 'primary.500',\n bg: 'gray.200',\n },\n _disabled: {\n borderColor: 'neutral.500',\n bg: 'white',\n _before: {\n h: '10px',\n w: '10px',\n bg: 'neutral.500',\n },\n },\n },\n _disabled: {\n borderColor: 'neutral.500',\n bg: 'neutral.500',\n },\n },\n label: {\n fontSize: '12px',\n },\n});\n\nconst variants = {\n errors,\n unstyled,\n};\n\nconst Radio = defineMultiStyleConfig({\n baseStyle,\n variants,\n defaultProps: {\n variant: 'unstyled',\n },\n});\n\nexport default Radio;\n","import { switchAnatomy as parts } from '@chakra-ui/anatomy';\nimport { createMultiStyleConfigHelpers, defineStyle } from '@chakra-ui/styled-system';\nimport { calc, cssVar } from '@chakra-ui/theme-tools';\n\nconst { defineMultiStyleConfig, definePartsStyle } = createMultiStyleConfigHelpers(parts.keys);\n\nconst $width = cssVar('switch-track-width');\nconst $height = cssVar('switch-track-height');\nconst $diff = cssVar('switch-track-diff');\nconst diffValue = calc.subtract($width, $height);\nconst $translateX = cssVar('switch-thumb-x');\n\nconst baseStyleThumb = defineStyle({\n bg: 'white',\n transitionProperty: 'transform',\n transitionDuration: 'normal',\n borderRadius: 'inherit',\n width: [$height.reference],\n height: [$height.reference],\n _checked: {\n transform: `translateX(${$translateX.reference})`,\n },\n});\n\nconst baseStyle = definePartsStyle(() => ({\n container: {\n [$diff.variable]: diffValue,\n [$translateX.variable]: $diff.reference,\n _rtl: {\n [$translateX.variable]: calc($diff).negate().toString(),\n },\n },\n track: {\n bg: 'neutral.400',\n p: 1,\n _checked: {\n bg: 'primary.500',\n _disabled: {\n bg: 'neutral.600',\n },\n },\n _disabled: {\n bg: 'neutral.500',\n opacity: '100%',\n },\n },\n thumb: baseStyleThumb,\n}));\n\nconst sizes = {\n sm: definePartsStyle({\n container: {\n [$width.variable]: '2.125rem',\n [$height.variable]: '1.063rem',\n },\n }),\n md: definePartsStyle({\n container: {\n [$width.variable]: '2.875rem',\n [$height.variable]: '1.5rem',\n },\n }),\n lg: definePartsStyle({\n container: {\n [$width.variable]: '3.625rem',\n [$height.variable]: '1.813rem',\n },\n }),\n};\n\nconst Switch = defineMultiStyleConfig({\n baseStyle,\n sizes,\n defaultProps: {\n size: 'md',\n },\n});\n\nexport default Switch;\n","import { defineStyle, defineStyleConfig } from '@chakra-ui/react';\nimport type { TextAreaProps } from 'packages/internal-ui/src/components/form';\n\nconst getProps = (props: TextAreaProps) => {\n const { isError, isSuccess, isDisabled } = props;\n\n let borderColor = 'neutral.400';\n let focusBorderColor = 'primary.500';\n\n if (isError) {\n borderColor = 'danger.500';\n focusBorderColor = 'danger.500';\n } else if (isSuccess) {\n borderColor = 'success.500';\n focusBorderColor = 'success.500';\n } else if (isDisabled && !isError && !isSuccess) {\n borderColor = 'neutral.400';\n focusBorderColor = 'danger.500';\n }\n\n return {\n focusBorderColor,\n borderColor,\n };\n};\n\nconst outline = defineStyle(props => {\n const { focusBorderColor, borderColor } = getProps(props);\n\n return {\n background: 'white.high',\n color: 'black.high',\n borderColor,\n fontSize: 'text.sm',\n padding: 2,\n borderRadius: 'md',\n borderWidth: '1px',\n outline: 'none',\n\n _disabled: {\n opacity: 1,\n color: 'black.medium',\n background: 'neutral.300',\n },\n _placeholder: {\n color: 'black.low',\n },\n _hover: {\n borderColor,\n },\n _focus: {\n outline: 'none',\n borderColor: focusBorderColor,\n boxShadow: 'none',\n },\n _focusVisible: {\n outline: 'none',\n borderColor: focusBorderColor,\n boxShadow: 'none',\n },\n _focusWithin: {\n outline: 'none',\n borderColor: focusBorderColor,\n boxShadow: 'none',\n },\n _invalid: {\n outline: 'none',\n borderColor: 'danger.500',\n boxShadow: 'none',\n },\n };\n});\n\nexport const Textarea = defineStyleConfig({\n variants: { outline },\n defaultProps: {\n variant: 'outline',\n },\n});\n\nexport default Textarea;\n","import type { ThemeConfig, ThemeOverride } from '@chakra-ui/react';\nimport { extendTheme } from '@chakra-ui/react';\n\nimport * as components from './components';\nimport * as foundations from './foundations';\n\nconst config: ThemeConfig = {\n initialColorMode: 'light',\n useSystemColorMode: false,\n};\n\nconst theme = extendTheme(<ThemeOverride>{\n ...foundations,\n components: {\n ...components,\n },\n styles: {\n global: {\n '*::-webkit-scrollbar-thumb': {\n background: 'neutral.400',\n },\n body: {\n fontSize: 'text.sm',\n color: 'black.high',\n },\n },\n },\n config,\n});\n\ntype Theme = typeof theme;\ntype Foundations = typeof foundations;\n\nexport type { Foundations, Theme };\nexport { foundations, theme };\n","import axios from 'axios';\nimport type { FC } from 'react';\nimport React, { createContext, useContext, useEffect, useMemo, useRef } from 'react';\n\nimport type { ProviderContextObject, ProviderProps } from '../types';\n\nexport const ProviderContext = createContext<ProviderContextObject>({\n instance: undefined,\n});\n\nexport const useInternalUI = (): ProviderContextObject => {\n const { instance } = useContext(ProviderContext);\n return { instance };\n};\n\nconst Provider: FC<ProviderProps> = ({ children, config, requestInterceptors, responseInterceptors }) => {\n const instanceRef = useRef(axios.create(config));\n\n useEffect(() => {\n requestInterceptors?.forEach(interceptor => {\n instanceRef.current.interceptors.request.use(interceptor);\n });\n responseInterceptors?.forEach(interceptor => {\n instanceRef.current.interceptors.response.use(interceptor);\n });\n }, [requestInterceptors, responseInterceptors]);\n\n const provider = useMemo(() => ({ instance: instanceRef.current }), []);\n\n return <ProviderContext.Provider value={provider}>{children}</ProviderContext.Provider>;\n};\n\nProvider.displayName = 'Provider';\n\nexport default Provider;\n"],"names":["Badge","props","children","pill","rest","React","BadgeChakra","borderRadius","variant","padding","height","display","alignItems","justifyContent","textTransform","defaultProps","BreadCrumb","title","parents","className","disableHome","spacing","neutral6","dark5","useToken","Box","paddingY","Text","pr","fontWeight","textStyle","color","useColorModeValue","h","borderLeft","borderColor","Breadcrumb","separator","FiChevronsRight","size","pl","sx","ol","BreadcrumbItem","BreadcrumbLink","href","undefined","style","cursor","FiHome","map","val","key","name","disable","link","onClick","_hover","textDecoration","fontSize","textDecor","Loader","forwardRef","ref","styles","useStyleConfig","__css","Button","getLoaderSize","getLoaderColor","ButtonChakra","spinner","CardCustom","Card","backgroundColor","withShadow","isRounded","CheckboxComponent","isError","helpText","errorText","isDisabled","Checkbox","mt","ml","Field","label","errorMessage","leftHelperText","rightHelperText","isRequired","isSuccess","boxProps","getHelperColor","getJustifyContentHelper","helperColor","justifyHelper","FormControl","isInvalid","FormLabel","mb","requiredIndicator","as","mr","width","FormHelperText","FormErrorMessage","CheckboxGroupComponent","CheckboxGroup","Stack","direction","IndeterminateCheckbox","indeterminate","current","checked","Flex","align","type","DataTable","columns","dataSource","isLoading","withSelectedRow","onSelectedRow","onSort","manualSorting","sortingState","sorting","setSorting","rowSelection","onRowSelectionChange","dataColumns","checkboxColumn","id","header","table","getIsAllRowsSelected","getIsSomeRowsSelected","onChange","getToggleAllRowsSelectedHandler","cell","row","getIsSelected","getIsSomeSelected","getToggleSelectedHandler","generateColumn","onSortingChange","data","useReactTable","getCoreRowModel","getSortedRowModel","manualPagination","sortDescFirst","state","flatRows","getSelectedRowModel","rowData","original","w","pos","bg","justify","zIndex","Spinner","thickness","Table","Thead","tableHead","getHeaderGroups","headerGroup","Tr","tableRow","headers","_ref","Th","colSpan","tableColumnHeader","userSelect","lineHeight","flexRender","column","columnDef","getContext","getCanSort","getToggleSortingHandler","asc","ChevronUpIcon","desc","ChevronDownIcon","getIsSorted","UpDownIcon","Tbody","tableBody","getRowModel","rows","css","getVisibleCells","Td","tableCell","overflowX","maxW","minH","getProperties","outlineColor","focusColor","getWrapperStyle","border","transition","boxShadow","_focusWithin","defineStyle","Styles","colorMode","useColorMode","Global","TimeInput","value","rightAddon","time","setTime","useState","handleChange","e","_e$target","target","useEffect","flexDir","p","pt","InputGroup","Input","InputRightAddon","displayName","Datepicker","error","helperText","withTime","onClear","showMonth","shortMonth","selected","Date","dateFormat","_props$dateFormat","wrapperStyle","getTimeProps","timeInputLabel","showTimeInput","customTimeInput","component","ReactDatePicker","customInput","autoComplete","showPopperArrow","calendarClassName","classnames","inline","showMonthDropdown","useShortMonthInDropdown","InputRightElement","FiCalendar","FiX","selectsRange","DatePickerMonth","min","max","date","setDate","required","transparent","black","high","medium","low","white","neutral","primary","secondary","success","danger","warning","info","dark","mirage","ebonyClay","brightGray","doveGray","colors","radius","none","sm","md","lg","full","shadows","theme","raised","sizes","space","fonts","heading","body","fontWeights","hairline","thin","light","normal","semibold","bold","extrabold","lineHeights","shorter","short","base","tall","letterSpacings","tighter","tight","wide","wider","widest","fontSizes","text","xl","xs","button","field","letterSpacing","textStyles","MultiDateWrapper","styled","MultiDatePickerMonth","InputAddonLeft","InputLeftAddon","borderLeftRadius","px","py","InputAddonRight","borderRightRadius","InputField","addOnLeft","addOnRight","withClear","inputProps","isShowPassword","setIsShowPassword","inputType","useMemo","iconColor","ChakraInput","Close","EyeOff","Eye","TextareaField","position","ChakraTextarea","top","right","XMSLogo","Image","src","VoilaLogo","filter","Profile","onLogout","isOpen","onToggle","onClose","useDisclosure","Popover","placement","minW","m","HStack","VStack","email","office","userRole","PopoverTrigger","Avatar","_data$name","PopoverContent","PopoverArrow","PopoverBody","FiPower","SwitchMode","toggleColorMode","mx","FiMoon","FiSun","environmentName","env","Version","version","environment","onOpenModalRelease","background","Header","hideSwitchMode","ModalBody","ChakraModalBody","ModalCloseButton","ChakraModalCloseButton","ModalFooter","ChakraModalFooter","borderBottomRadius","ModalHeader","ChakraModalHeader","borderTopRadius","CustomerIcon","createIcon","viewBox","path","fill","fillRule","d","clipRule","mappingIcon","Map","FiShoppingBag","FiShoppingCart","FiRepeat","FiBox","FiLayers","FiDollarSign","FiUsers","FiRotateCcw","FiSettings","FiLayout","FiGift","Navigation","navigations","activePath","host","navigation","isActive","startsWith","navLink","activeBg","trigger","Icon","get","whiteSpace","Portal","navHost","isLocalLink","isActiveSub","Link","_first","_last","PaginationButton","btnBg","btnColor","btnNotActiveBg","btnNotActiveColor","_disabled","pointerEvents","PaginationButtonTrigger","visuallyHidden","icon","VisuallyHidden","Pagination","total","onSelect","btnColorDisabled","disabledPrevious","previousButtonColor","disabledNext","nextButtonColor","handleSelectPage","page","generatePages","maxButtons","pageButtons","startPage","endPage","Math","floor","push","ArrowLeftIcon","ChevronLeftIcon","scale","ChevronRightIcon","ArrowRightIcon","PaginationDetail","limit","length","PaginationFilter","items","setValue","flexDirection","Select","textAlign","outline","FiChevronDown","_focusVisible","numberValue","Number","item","RadioComponent","Radio","RadioGroupComponent","RadioGroup","SelectWrapper","styleMd","selectStyle","selectStyles","_isError","control","isFocused","option","isSelected","menu","singleValue","input","dropdownIndicator","indicatorSeparator","themeSelect","primary25","primary50","primary75","ReactSelect","classNamePrefix","SelectAsync","AsyncPaginate","SelectAsyncCreatable","ReactSelectAsyncCreatable","SelectCreatable","ReactSelectCreatable","Switch","useMultiStyleConfig","ownProps","omitThemingProps","getInputProps","getCheckboxProps","getRootProps","getLabelProps","useCheckbox","containerStyles","verticalAlign","container","trackStyles","flexShrink","boxSizing","track","labelStyles","marginStart","getIconSize","iconSize","chakra","cx","span","gap","left","transform","Check","thumb","dataAttr","isChecked","isHovered","Tab","tabProps","useTab","_selected","_focus","tab","leftAddon","_props$leftAddon","call","_props$rightAddon","TabList","ChakraTabList","borderBottom","TabPanel","ChakraTabPanel","messages","dragActive","dragInActive","dragReplace","replaceFile","uploadFile","Uploader","onHandleUploadFile","onHandleRejections","accept","multiple","maxFiles","renderError","validator","selectedFirstFile","setSelectedFirstFile","setIsSelected","onDrop","acceptedFiles","isDragActive","fileRejections","useDropzone","Heading","definePartsStyle","defineMultiStyleConfig","createMultiStyleConfigHelpers","parts","keys","$fg","cssVar","$bg","baseStyle","reference","marginEnd","description","action","close","getBg","colorScheme","c","darkBg","transparentize","variantSubtle","variable","_dark","variantSolid","variants","subtle","solid","alertTheme","defineStyleConfig","opacity","basePrimary","_active","disabledLoading","baseSecondary","borderWidth","borderStyle","tertiary","baseTertiary","baseDanger","CardStyle","shadow","checkboxAnatomy","errors","_checked","_indeterminate","unstyled","Chips","paddingX","chipsProps","isActiveProps","isDisabledProps","minWidth","paddingInlineStart","paddingInlineEnd","appearance","_placeholder","addon","mode","_invalid","rotate","keyframes","colorsTheme","LoaderStyle","animation","content","bottom","WebkitMask","xxl","popper","radioAnatomy","marginLeft","_before","$width","$height","$diff","diffValue","calc","subtract","$translateX","baseStyleThumb","transitionProperty","transitionDuration","_rtl","negate","toString","getProps","focusBorderColor","Textarea","config","initialColorMode","useSystemColorMode","extendTheme","foundations","components","global","ProviderContext","createContext","instance","useInternalUI","useContext","Provider","requestInterceptors","responseInterceptors","instanceRef","useRef","axios","create","forEach","interceptor","interceptors","request","use","response","provider"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;AASA,MAAMA,KAAK,GAAIC,KAAiB;EAC9B,MAAM;IAAEC,QAAQ;IAAEC,IAAI;IAAE,GAAGC;GAAM,GAAGH,KA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GAAG,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
1
|
+
{"version":3,"file":"internal-ui.cjs.development.js","sources":["../src/components/alert/components/icons.tsx","../src/components/alert/components/alert-context.ts","../src/components/alert/components/alert.tsx","../src/components/loader/components/loader.tsx","../src/components/button/components/button.tsx","../src/components/alert/components/alert-action.tsx","../src/components/alert/components/alert-close.tsx","../src/components/alert/components/alert-description.tsx","../src/components/alert/components/alert-icon.tsx","../src/components/alert/components/alert-title.tsx","../src/components/badge/components/badge.tsx","../src/components/breadcrumb/components/bread-crumb.tsx","../src/components/card/components/card.tsx","../src/components/checkbox/components/checkbox.tsx","../src/components/field/components/field.tsx","../src/components/checkbox/components/checkbox-group.tsx","../src/components/data-table/components/indeterminate-checkbox.tsx","../src/components/data-table/components/data-table.tsx","../src/components/form/styles/input-field.ts","../src/components/datepicker/components/styles.tsx","../src/components/datepicker/components/time-input.tsx","../src/components/datepicker/components/datepicker.tsx","../src/components/datepicker/components/datepicker-month/datepicker-month.tsx","../src/config/theme/foundations/colors.ts","../src/config/theme/foundations/radius.ts","../src/config/theme/foundations/shadows.ts","../src/config/theme/foundations/sizes.ts","../src/config/theme/foundations/spacing.ts","../src/config/theme/foundations/typography.ts","../src/components/datepicker/components/datepicker-month/multi-datepicker-month.tsx","../src/components/form/components/input-addon.tsx","../src/components/form/components/input-field.tsx","../src/components/form/components/textarea.tsx","../src/components/header/components/logo.tsx","../src/components/header/components/profile.tsx","../src/components/header/components/switch-mode.tsx","../src/components/header/utils/formatter.ts","../src/components/header/components/version.tsx","../src/components/header/components/header.tsx","../src/components/modal/components/modal-body.tsx","../src/components/modal/components/modal-close-button.tsx","../src/components/modal/components/modal-footer.tsx","../src/components/modal/components/modal-header.tsx","../src/components/navigation/components/customer-icon.tsx","../src/components/navigation/components/mapping-icon.ts","../src/components/navigation/components/navigation.tsx","../src/components/pagination/components/pagination-button.tsx","../src/components/pagination/components/pagination-button-trigger.tsx","../src/components/pagination/components/pagination.tsx","../src/components/pagination/components/pagination-detail.tsx","../src/components/pagination/components/pagination-filter.tsx","../src/components/radio/components/radio.tsx","../src/components/radio/components/radio-group.tsx","../src/components/rating/components/rating.tsx","../src/components/select/components/select-wrapper.tsx","../src/components/select/components/utils.ts","../src/components/select/components/select.tsx","../src/components/select/components/select-async.tsx","../src/components/select/components/select-async-creatable.tsx","../src/components/select/components/select-creatable.tsx","../src/components/switch/components/switch.tsx","../src/components/tabs/components/tab.tsx","../src/components/tabs/components/tab-list.tsx","../src/components/tabs/components/tab-panel.tsx","../src/components/uploader/constants.ts","../src/components/uploader/components/uploader.tsx","../src/config/theme/components/alert.ts","../src/config/theme/components/badge.ts","../src/config/theme/components/button.ts","../src/config/theme/components/card.ts","../src/config/theme/components/checkbox.ts","../src/config/theme/components/chips.ts","../src/config/theme/components/form-label.ts","../src/config/theme/components/input.ts","../src/config/theme/components/loader.ts","../src/config/theme/components/popover.ts","../src/config/theme/components/radio.ts","../src/config/theme/components/switch.ts","../src/config/theme/components/textarea.ts","../src/config/theme/themeConfiguration.ts","../src/provider/components/provider.tsx"],"sourcesContent":["/* eslint-disable react/require-default-props */\nimport { AlertTriangle, CheckCircle, Info } from '@ctlyst.id/internal-icon';\nimport React from 'react';\n\nexport function CheckIcon() {\n return <CheckCircle color=\"inherit\" size={4} />;\n}\n\nexport function InfoIcon() {\n return <Info color=\"inherit\" size={4} />;\n}\n\nexport function WarningIcon() {\n return <AlertTriangle color=\"inherit\" size={4} />;\n}\n","import { createContext } from '@chakra-ui/react-context';\nimport type { SystemStyleObject } from '@chakra-ui/system';\n\nimport { CheckIcon, InfoIcon, WarningIcon } from './icons';\n\nexport const [AlertProvider, useAlertContext] = createContext<AlertContext>({\n name: 'AlertContext',\n hookName: 'useAlertContext',\n providerName: '<Alert />',\n});\n\nexport const [AlertStylesProvider, useAlertStyles] = createContext<Record<string, SystemStyleObject>>({\n name: `AlertStylesContext`,\n hookName: `useAlertStyles`,\n providerName: '<Alert />',\n});\n\nconst STATUSES = {\n info: { icon: InfoIcon, colorScheme: 'info' },\n warning: { icon: InfoIcon, colorScheme: 'warning' },\n success: { icon: CheckIcon, colorScheme: 'success' },\n error: { icon: WarningIcon, colorScheme: 'danger' },\n};\n\nexport function getStatusColorScheme(status: AlertStatus) {\n return STATUSES[status].colorScheme;\n}\n\nexport function getStatusIcon(status: AlertStatus) {\n return STATUSES[status].icon;\n}\n\nexport type AlertStatus = keyof typeof STATUSES;\n\nexport interface AlertContext {\n status: AlertStatus;\n}\n","import { cx } from '@chakra-ui/shared-utils';\nimport type { HTMLChakraProps, SystemStyleObject, ThemingProps } from '@chakra-ui/system';\nimport { chakra, forwardRef, omitThemingProps, useMultiStyleConfig } from '@chakra-ui/system';\nimport React from 'react';\n\nimport type { AlertStatus } from './alert-context';\nimport { AlertProvider, AlertStylesProvider, getStatusColorScheme } from './alert-context';\n\ninterface AlertOptions {\n /**\n * The status of the alert\n * @default \"info\"\n */\n status?: AlertStatus;\n}\nexport type AlertVariant = 'solid' | 'subtle';\n\nexport interface AlertProps extends HTMLChakraProps<'div'>, AlertOptions, ThemingProps<'Alert'> {\n /**\n * @default false\n */\n addRole?: boolean;\n}\n\n/**\n * Alert is used to communicate the state or status of a\n * page, feature or action\n *\n * @see Docs https://chakra-ui.com/docs/components/alert\n * @see WAI-ARIA https://www.w3.org/WAI/ARIA/apg/patterns/alert/\n */\nexport const Alert = forwardRef<AlertProps, 'div'>(function Alert(props, ref) {\n const { status = 'info', addRole = true, children, ...rest } = omitThemingProps(props);\n const colorScheme = props.colorScheme ?? getStatusColorScheme(status);\n\n const styles = useMultiStyleConfig('Alert', { ...props, colorScheme });\n\n const alertStyles: SystemStyleObject = {\n width: '100%',\n display: 'grid',\n gridTemplateColumns: 'auto 1fr auto auto',\n alignItems: 'center',\n position: 'relative',\n overflow: 'hidden',\n ...styles.container,\n };\n\n return (\n <AlertProvider value={{ status }}>\n <AlertStylesProvider value={styles}>\n <chakra.div\n data-status={status}\n role={addRole ? 'alert' : undefined}\n ref={ref}\n {...rest}\n className={cx('chakra-alert', props.className)}\n __css={alertStyles}\n >\n {children}\n </chakra.div>\n </AlertStylesProvider>\n </AlertProvider>\n );\n});\n\nAlert.displayName = 'Alert';\n","import type { HTMLChakraProps, ThemingProps } from '@chakra-ui/react';\nimport { Box, forwardRef, useStyleConfig } from '@chakra-ui/react';\nimport React from 'react';\n\nexport interface LoaderProps {\n size?: string;\n variant?: string;\n}\n\nexport interface CustomBadgeProps extends HTMLChakraProps<'span'>, ThemingProps {}\n\nconst Loader = forwardRef<CustomBadgeProps, 'div'>((props: LoaderProps, ref) => {\n const styles = useStyleConfig('LoaderStyle', props);\n\n return <Box ref={ref} __css={styles} />;\n});\n\nexport default Loader;\n","/* eslint-disable test-selectors/button */\nimport type { ButtonProps as ButtonChakraProps } from '@chakra-ui/react';\nimport { Button as ButtonChakra } from '@chakra-ui/react';\nimport React from 'react';\n\nimport { Loader } from '../../loader';\n\nexport type ButtonProps = ButtonChakraProps;\n\nconst Button = (props: ButtonProps) => {\n const { children, variant, size, ...rest } = props;\n\n const getLoaderSize = () => {\n if (size === 'lg') return 'md';\n if (size === 'md') return 'sm';\n return 'xs';\n };\n\n const getLoaderColor = () => {\n if (variant === 'primary' || variant === 'danger') return 'white';\n if (variant === 'outline-danger') return 'danger';\n return 'primary';\n };\n\n return (\n <ButtonChakra\n size={size}\n variant={variant}\n spinner={<Loader size={getLoaderSize()} color={getLoaderColor()} />}\n {...rest}\n >\n {children}\n </ButtonChakra>\n );\n};\n\nexport default Button;\n","/* eslint-disable import/prefer-default-export */\nimport type { HTMLChakraProps } from '@chakra-ui/system';\nimport { cx } from '@chakra-ui/utils';\nimport React from 'react';\n\nimport Button from '../../button/components/button';\nimport { useAlertStyles } from './alert-context';\n\nexport type AlertActionProps = HTMLChakraProps<'button'>;\n\nexport function AlertAction({ children, className }: AlertActionProps) {\n const styles = useAlertStyles();\n const css = styles.action;\n\n return (\n <Button\n data-test-id=\"alert-action\"\n className={cx('chakra-alert__close', className)}\n variant=\"link\"\n color=\"inherit\"\n fontWeight=\"700\"\n __css={css}\n >\n {children}\n </Button>\n );\n}\n\nAlertAction.displayName = 'AlertAction';\n","import { cx } from '@chakra-ui/shared-utils';\nimport type { HTMLChakraProps } from '@chakra-ui/system';\nimport { chakra } from '@chakra-ui/system';\nimport { Close } from '@ctlyst.id/internal-icon';\nimport React from 'react';\n\nimport { useAlertStyles } from './alert-context';\n\nexport type AlertCloseProps = HTMLChakraProps<'span'>;\n\nexport function AlertClose({ className, children, ...rest }: AlertCloseProps) {\n const styles = useAlertStyles();\n const css = styles.close;\n\n return (\n <chakra.span\n display=\"inherit\"\n data-status={'alert-close'}\n {...rest}\n className={cx('chakra-alert__close', className)}\n __css={css}\n >\n {children || <Close color=\"inherit\" size={4} />}\n </chakra.span>\n );\n}\n\nAlertClose.displayName = 'AlertClose';\n","import { cx } from '@chakra-ui/shared-utils';\nimport type { HTMLChakraProps, SystemStyleObject } from '@chakra-ui/system';\nimport { chakra, forwardRef } from '@chakra-ui/system';\nimport React from 'react';\n\nimport { useAlertContext, useAlertStyles } from './alert-context';\n\nexport type AlertDescriptionProps = HTMLChakraProps<'div'>;\n\nexport const AlertDescription = forwardRef<AlertDescriptionProps, 'div'>(function AlertDescription(props, ref) {\n const styles = useAlertStyles();\n const { status } = useAlertContext();\n const descriptionStyles: SystemStyleObject = {\n display: 'inline',\n ...styles.description,\n };\n\n return (\n <chakra.div\n ref={ref}\n data-status={status}\n {...props}\n className={cx('chakra-alert__desc', props.className)}\n __css={descriptionStyles}\n />\n );\n});\n\nAlertDescription.displayName = 'AlertDescription';\n","import { cx } from '@chakra-ui/shared-utils';\nimport type { HTMLChakraProps } from '@chakra-ui/system';\nimport { chakra } from '@chakra-ui/system';\nimport React from 'react';\n\nimport { getStatusIcon, useAlertContext, useAlertStyles } from './alert-context';\n\nexport type AlertIconProps = HTMLChakraProps<'span'>;\n\nexport function AlertIcon({ className, children, ...rest }: AlertIconProps) {\n const { status } = useAlertContext();\n const BaseIcon = getStatusIcon(status);\n const styles = useAlertStyles();\n const css = styles.icon;\n\n return (\n <chakra.span\n display=\"inherit\"\n data-status={status}\n {...rest}\n className={cx('chakra-alert__icon', className)}\n __css={css}\n >\n {children || <BaseIcon />}\n </chakra.span>\n );\n}\n\nAlertIcon.displayName = 'AlertIcon';\n","import { cx } from '@chakra-ui/shared-utils';\nimport type { HTMLChakraProps } from '@chakra-ui/system';\nimport { chakra, forwardRef } from '@chakra-ui/system';\nimport React from 'react';\n\nimport { useAlertContext, useAlertStyles } from './alert-context';\n\nexport type AlertTitleProps = HTMLChakraProps<'div'>;\n\nexport const AlertTitle = forwardRef<AlertTitleProps, 'div'>(function AlertTitle(props, ref) {\n const styles = useAlertStyles();\n const { status } = useAlertContext();\n\n return (\n <chakra.div\n ref={ref}\n data-status={status}\n {...props}\n className={cx('chakra-alert__title', props.className)}\n __css={styles.title}\n />\n );\n});\n\nAlertTitle.displayName = 'AlertTitle';\n","/* eslint-disable test-selectors/button */\nimport type { BadgeProps as BadgeChakraProps } from '@chakra-ui/react';\nimport { Badge as BadgeChakra } from '@chakra-ui/react';\nimport React from 'react';\n\nexport interface BadgeProps extends BadgeChakraProps {\n pill?: boolean;\n}\n\nconst Badge = (props: BadgeProps) => {\n const { children, pill, ...rest } = props;\n\n return (\n <BadgeChakra\n borderRadius={pill ? 10 : 4}\n variant=\"primary-solid\"\n padding=\"0 8px\"\n height=\"18px\"\n display=\"inline-flex\"\n alignItems=\"center\"\n justifyContent=\"space-between\"\n textTransform=\"none\"\n {...rest}\n >\n {children}\n </BadgeChakra>\n );\n};\n\nBadge.defaultProps = {\n pill: false,\n};\n\nexport default Badge;\n","/* eslint-disable react-hooks/rules-of-hooks */\nimport { Box, Breadcrumb, BreadcrumbItem, BreadcrumbLink, Text, useColorModeValue, useToken } from '@chakra-ui/react';\nimport * as React from 'react';\nimport { FiChevronsRight, FiHome } from 'react-icons/fi';\n\nexport interface BreadCrumbParentProps {\n name: string;\n onClick?: () => void;\n disable?: boolean;\n link: string;\n}\n\nexport interface BreadCrumbProps {\n title: string;\n children?: React.ReactNode;\n parents?: BreadCrumbParentProps[];\n className?: string;\n disableHome?: boolean;\n spacing?: number;\n}\n\nconst BreadCrumb: React.FC<BreadCrumbProps> = props => {\n const { title, children, parents, className, disableHome, spacing = 2 } = props;\n const [neutral6, dark5] = useToken('colors', ['neutral.600', 'dark.500']);\n return (\n <Box\n data-test-id=\"CT_component_breadcrumb_breadcrumb\"\n className={className}\n display=\"flex\"\n justifyContent=\"space-between\"\n alignItems=\"center\"\n paddingY={2}\n >\n <Box display=\"flex\" alignItems=\"center\">\n <Text pr={2} fontWeight={600} textStyle=\"heading.4\" color={useColorModeValue('neutral.700', 'white')}>\n {title}\n </Text>\n <Box h=\"22px\" borderLeft=\"1px solid\" borderColor={useColorModeValue(neutral6, 'white')} />\n <Breadcrumb\n separator={<FiChevronsRight color={useColorModeValue(neutral6, dark5)} size={14} />}\n pl={2.5}\n pr={4}\n spacing={spacing}\n sx={{ ol: { display: 'flex', alignItems: 'center' } }}\n display=\"flex\"\n alignItems=\"center\"\n className=\"breadcrumb-wrapper\"\n >\n <BreadcrumbItem>\n <BreadcrumbLink href={!disableHome ? '/' : undefined} style={{ ...(disableHome && { cursor: 'default' }) }}>\n <FiHome className=\"align-top\" size={16} color={useColorModeValue('#12784A', '#ffffff')} />\n </BreadcrumbLink>\n </BreadcrumbItem>\n {parents?.map(val => (\n <BreadcrumbItem key={val.name}>\n <BreadcrumbLink\n data-test-id=\"iadKcMAul3QAdvmfIQjRE\"\n href={!val.disable ? val.link : undefined}\n onClick={val.onClick}\n style={{\n ...(val.disable && {\n cursor: 'default',\n }),\n }}\n _hover={{ textDecoration: 'none' }}\n >\n <Text\n color={val.disable ? 'dark.600' : useColorModeValue('primary.500', 'white')}\n fontSize=\"text.sm\"\n fontWeight={400}\n >\n {val.name}\n </Text>\n </BreadcrumbLink>\n </BreadcrumbItem>\n ))}\n <BreadcrumbItem>\n <BreadcrumbLink _hover={{ textDecor: 'none', cursor: 'default' }}>\n <Text color={useColorModeValue(neutral6, 'white')} fontSize=\"text.sm\" fontWeight={400}>\n {title}\n </Text>\n </BreadcrumbLink>\n </BreadcrumbItem>\n </Breadcrumb>\n </Box>\n {children && <Box>{children}</Box>}\n </Box>\n );\n};\n\nBreadCrumb.defaultProps = {\n children: undefined,\n parents: undefined,\n className: undefined,\n disableHome: undefined,\n spacing: 2,\n};\n\nexport default BreadCrumb;\n","import type { BoxProps } from '@chakra-ui/react';\nimport { Card, useStyleConfig } from '@chakra-ui/react';\nimport React, { forwardRef } from 'react';\n\nexport interface CardProps extends BoxProps {\n withShadow?: boolean;\n isRounded?: boolean;\n}\n\nconst CardCustom = forwardRef<HTMLDivElement, CardProps>(({ children, ...rest }, ref) => {\n const styles = useStyleConfig('Card', rest);\n\n return (\n <Card __css={styles} backgroundColor=\"white.high\" ref={ref} {...rest}>\n {children}\n </Card>\n );\n});\n\nCardCustom.defaultProps = {\n withShadow: true,\n isRounded: true,\n};\n\nexport default CardCustom;\n","/* eslint-disable no-nested-ternary */\nimport type { CheckboxProps } from '@chakra-ui/react';\nimport { Box, Checkbox, Text } from '@chakra-ui/react';\nimport type { PropsWithChildren } from 'react';\nimport React from 'react';\n\nexport interface CheckboxComponentProps extends CheckboxProps, PropsWithChildren {\n isError?: boolean;\n helpText?: string;\n errorText?: string;\n}\n\nfunction CheckboxComponent({\n isError = false,\n helpText = '',\n errorText = '',\n children,\n isDisabled,\n ...rest\n}: CheckboxComponentProps) {\n const variant = isError ? 'errors' : 'unstyled';\n return (\n <Box>\n <Box display=\"flex\">\n <Checkbox variant={variant} {...rest} isDisabled={isDisabled}>\n {children && (\n <Text textStyle=\"text.sm\" color={isDisabled ? 'black.low' : 'black.high'}>\n {children}\n </Text>\n )}\n </Checkbox>\n </Box>\n <Box mt=\"5px\" ml=\"24px\">\n {isError ? (\n <Text textStyle=\"text.xs\" color=\"danger.500\">\n {errorText}\n </Text>\n ) : (\n <Text textStyle=\"text.xs\" color=\"black.medium\">\n {helpText}\n </Text>\n )}\n </Box>\n </Box>\n );\n}\n\nCheckboxComponent.defaultProps = {\n isError: false,\n helpText: '',\n errorText: '',\n};\n\nexport default CheckboxComponent;\n","/* eslint-disable no-nested-ternary */\nimport type { FormControlProps } from '@chakra-ui/react';\nimport { Box, FormControl, FormErrorMessage, FormHelperText, FormLabel } from '@chakra-ui/react';\nimport type { FC, PropsWithChildren, ReactNode } from 'react';\nimport React from 'react';\n\nexport interface Props {\n label?: string | ReactNode;\n isError?: boolean;\n isSuccess?: boolean;\n errorMessage?: string | ReactNode;\n leftHelperText?: string | ReactNode;\n rightHelperText?: string | ReactNode;\n isRequired?: boolean;\n boxProps?: FormControlProps;\n}\n\nexport type FieldProps<T = unknown> = Props & T;\n\nconst Field: FC<PropsWithChildren<Props>> = props => {\n const {\n label,\n isError,\n errorMessage,\n leftHelperText,\n rightHelperText,\n isRequired,\n children,\n isSuccess,\n boxProps = {},\n } = props;\n\n const getHelperColor = () => {\n if (isError) return 'danger.500';\n if (isSuccess) return 'success.500';\n return 'black.medium';\n };\n\n const getJustifyContentHelper = () => {\n if (rightHelperText && (!leftHelperText || (isError && !errorMessage))) return 'flex-end';\n return 'space-between';\n };\n\n const helperColor = getHelperColor();\n const justifyHelper = getJustifyContentHelper();\n\n return (\n <FormControl isInvalid={isError} {...boxProps}>\n {label &&\n (typeof label === 'string' ? (\n <FormLabel mb={1} fontSize=\"text.sm\" requiredIndicator={undefined}>\n {isRequired && (\n <Box as=\"span\" color=\"danger.500\" ml={0} mr={1}>\n *\n </Box>\n )}\n {label}\n </FormLabel>\n ) : (\n label\n ))}\n {children}\n {((isError && errorMessage) || leftHelperText || rightHelperText) && (\n <Box display=\"flex\" width=\"full\" justifyContent={justifyHelper}>\n {!isError ? (\n leftHelperText &&\n (typeof leftHelperText === 'string' ? (\n <FormHelperText fontSize=\"text.xs\" color={helperColor} mt={1}>\n {leftHelperText}\n </FormHelperText>\n ) : (\n leftHelperText\n ))\n ) : typeof errorMessage === 'string' ? (\n <FormErrorMessage fontSize=\"text.xs\" color=\"danger.500\" mt={1}>\n {errorMessage}\n </FormErrorMessage>\n ) : (\n errorMessage\n )}\n {rightHelperText &&\n (typeof rightHelperText === 'string' ? (\n <FormHelperText fontSize=\"text.xs\" color={helperColor} mt={1}>\n {rightHelperText}\n </FormHelperText>\n ) : (\n rightHelperText\n ))}\n </Box>\n )}\n </FormControl>\n );\n};\n\nField.defaultProps = {\n label: '',\n isError: false,\n isSuccess: false,\n errorMessage: undefined,\n leftHelperText: undefined,\n rightHelperText: undefined,\n isRequired: false,\n boxProps: {},\n};\n\nexport default Field;\n","/* eslint-disable no-nested-ternary */\nimport type { CheckboxGroupProps } from '@chakra-ui/react';\nimport { Box, CheckboxGroup, Stack } from '@chakra-ui/react';\nimport type { PropsWithChildren } from 'react';\nimport React from 'react';\n\nimport type { FieldProps } from '../../field';\nimport { Field } from '../../field';\n\nexport interface CheckboxGroupComponentProps extends FieldProps, CheckboxGroupProps, PropsWithChildren {\n label: string;\n helpText?: string;\n isError?: boolean;\n errorMessage?: string;\n}\n\nfunction CheckboxGroupComponent(props: CheckboxGroupComponentProps) {\n const { children, label, helpText, isError, errorMessage, ...rest } = props;\n return (\n <Field {...rest} label={label} leftHelperText={helpText} isError={isError} errorMessage={errorMessage}>\n <Box mt=\"12px\">\n <CheckboxGroup {...rest}>\n <Stack spacing={[1, '16px']} direction={['column', 'row']}>\n {children}\n </Stack>\n </CheckboxGroup>\n </Box>\n </Field>\n );\n}\n\nCheckboxGroupComponent.defaultProps = {\n helpText: '',\n isError: false,\n errorMessage: '',\n};\n\nexport default CheckboxGroupComponent;\n","import { Flex } from '@chakra-ui/react';\nimport * as React from 'react';\n\nconst IndeterminateCheckbox = ({\n indeterminate = false,\n ...rest\n}: { indeterminate: boolean } & React.HTMLProps<HTMLInputElement>) => {\n const ref = React.useRef<HTMLInputElement>(null);\n\n React.useEffect(() => {\n if (ref.current && typeof indeterminate === 'boolean') {\n ref.current.indeterminate = !rest.checked && indeterminate;\n }\n }, [ref, indeterminate]);\n\n return (\n <Flex align=\"center\">\n <input type=\"checkbox\" ref={ref} {...rest} />\n </Flex>\n );\n};\n\nexport default IndeterminateCheckbox;\n","/* eslint-disable react-hooks/rules-of-hooks */\n/* eslint-disable react/no-unstable-nested-components */\nimport { ChevronDownIcon, ChevronUpIcon, UpDownIcon } from '@chakra-ui/icons';\nimport type {\n BoxProps,\n TableBodyProps,\n TableCellProps,\n TableColumnHeaderProps,\n TableHeadProps,\n TableProps,\n TableRowProps,\n} from '@chakra-ui/react';\nimport { Box, Flex, Spinner, Table, Tbody, Td, Text, Th, Thead, Tr, useColorModeValue } from '@chakra-ui/react';\nimport { css } from '@emotion/react';\nimport type { ColumnDef, ColumnSort, RowSelectionState, SortingState } from '@tanstack/react-table';\nimport { flexRender, getCoreRowModel, getSortedRowModel, useReactTable } from '@tanstack/react-table';\nimport * as React from 'react';\n\nimport IndeterminateCheckbox from './indeterminate-checkbox';\n\nexport interface TableStyleProps {\n table?: TableProps;\n tableHead?: TableHeadProps;\n tableRow?: TableRowProps;\n tableBody?: TableBodyProps;\n tableColumnHeader?: TableColumnHeaderProps;\n tableCell?: TableCellProps;\n}\n\nexport interface DataTableProps<T = unknown> extends BoxProps {\n styles?: TableStyleProps;\n columns: ColumnDef<T>[];\n dataSource: T[] | undefined;\n isLoading?: boolean;\n withSelectedRow?: boolean | undefined;\n onSelectedRow?: (data: T[]) => void;\n onSort?: (data: ColumnSort[] | ((prevState: SortingState) => SortingState)) => void;\n manualSorting?: boolean;\n sortingState?: SortingState;\n}\n\nconst DataTable = <P,>({\n columns,\n dataSource = [],\n isLoading,\n withSelectedRow,\n onSelectedRow,\n onSort,\n manualSorting,\n sortingState,\n styles,\n ...props\n}: DataTableProps<P>): React.ReactElement => {\n const [sorting, setSorting] = React.useState<SortingState>(sortingState ?? []);\n const [rowSelection, onRowSelectionChange] = React.useState<RowSelectionState>({});\n const dataColumns = React.useMemo<ColumnDef<P>[]>(() => columns, [columns]);\n const checkboxColumn = React.useMemo<ColumnDef<P>[]>(\n () => [\n {\n id: 'select',\n header: ({ table }) => (\n <IndeterminateCheckbox\n {...{\n checked: table.getIsAllRowsSelected(),\n indeterminate: table.getIsSomeRowsSelected(),\n onChange: table.getToggleAllRowsSelectedHandler(),\n }}\n />\n ),\n cell: ({ row }) => (\n <IndeterminateCheckbox\n {...{\n checked: row.getIsSelected(),\n indeterminate: row.getIsSomeSelected(),\n onChange: row.getToggleSelectedHandler(),\n }}\n />\n ),\n },\n ],\n []\n );\n\n const generateColumn = () => {\n if (withSelectedRow) {\n return [...checkboxColumn, ...dataColumns];\n }\n return dataColumns;\n };\n\n const onSortingChange = (data: ColumnSort[] | ((prevState: SortingState) => SortingState)) => {\n setSorting(data);\n if (onSort) {\n onSort(data);\n }\n };\n\n const table = useReactTable({\n data: dataSource,\n columns: generateColumn(),\n getCoreRowModel: getCoreRowModel(),\n getSortedRowModel: getSortedRowModel(),\n manualPagination: true,\n sortDescFirst: true,\n state: {\n sorting,\n rowSelection,\n },\n onRowSelectionChange,\n onSortingChange,\n manualSorting,\n });\n\n const { flatRows } = table.getSelectedRowModel();\n React.useEffect(() => {\n const rowData = flatRows.map(row => row.original);\n if (onSelectedRow) {\n onSelectedRow(rowData);\n }\n }, [flatRows]);\n\n return (\n <Box {...props}>\n {isLoading && (\n <Flex w=\"100%\" h=\"100%\" pos=\"absolute\" bg=\"white\" align=\"center\" justify=\"center\" zIndex={2}>\n <Spinner color=\"primary.500\" thickness=\"4px\" size=\"lg\" />\n </Flex>\n )}\n <Table {...styles?.table}>\n <Thead {...styles?.tableHead}>\n {table.getHeaderGroups().map(headerGroup => (\n <Tr key={headerGroup.id} bg={useColorModeValue('initial', 'ebony-clay.700')} {...styles?.tableRow}>\n {headerGroup.headers.map(header => (\n <Th key={header.id} colSpan={header.colSpan} {...styles?.tableColumnHeader}>\n <Flex\n data-test-id={`CT_Container_TableHeader_${header.id}`}\n textTransform=\"capitalize\"\n userSelect=\"none\"\n align=\"center\"\n justifyContent=\"space-between\"\n >\n <Text\n fontSize=\"text.sm\"\n fontWeight={400}\n lineHeight=\"18px\"\n color={useColorModeValue('neutral.900', 'white')}\n >\n {flexRender(header.column.columnDef.header, header.getContext())}\n </Text>\n <Box\n as=\"span\"\n pl=\"2\"\n cursor={header.column.getCanSort() ? 'pointer' : 'default'}\n data-test-id={`CT_Container_SortingIcon_${header.id}`}\n onClick={header.column.getToggleSortingHandler()}\n >\n {(header.column.getCanSort() &&\n {\n asc: <ChevronUpIcon />,\n desc: <ChevronDownIcon />,\n }[header.column.getIsSorted() as string]) ?? <UpDownIcon h={2} />}\n </Box>\n </Flex>\n </Th>\n ))}\n </Tr>\n ))}\n </Thead>\n <Tbody {...styles?.tableBody}>\n {table.getRowModel().rows.map(row => (\n <Tr\n key={row.id}\n {...styles?.tableRow}\n css={css`\n &:last-child {\n td {\n border-bottom: none;\n }\n }\n `}\n >\n {row.getVisibleCells().map(cell => (\n <Td\n key={cell.id}\n fontSize=\"text.sm\"\n color={useColorModeValue('dark.800', 'dark.300')}\n {...styles?.tableCell}\n >\n {flexRender(cell.column.columnDef.cell, cell.getContext())}\n </Td>\n ))}\n </Tr>\n ))}\n </Tbody>\n </Table>\n </Box>\n );\n};\n\n/* eslint-disable react/default-props-match-prop-types */\nDataTable.defaultProps = {\n withSelectedRow: false,\n overflowX: 'scroll',\n pos: 'relative',\n maxW: '100%',\n minH: 400,\n w: 'full',\n styles: undefined,\n isLoading: undefined,\n onSelectedRow: undefined,\n onSort: undefined,\n manualSorting: false,\n sortingState: [],\n};\n\nexport default DataTable;\n","import type { BoxProps } from '@chakra-ui/react';\nimport { defineStyle } from '@chakra-ui/react';\n\nimport type { InputFieldProps } from '../components/input-field';\n\nconst getProperties = (props: InputFieldProps) => {\n const { isError, isDisabled, isSuccess } = props;\n\n let outlineColor = 'neutral.400';\n let focusColor = 'primary.500';\n\n if (isError || isDisabled || isSuccess) {\n if (isError) outlineColor = 'danger.500';\n else if (isSuccess) outlineColor = 'success.500';\n focusColor = outlineColor;\n }\n\n return {\n outlineColor,\n focusColor,\n };\n};\n\nconst getWrapperStyle = (props: InputFieldProps) => {\n const { outlineColor, focusColor } = getProperties(props);\n\n const style: BoxProps = {\n border: '1px solid',\n borderColor: outlineColor,\n borderRadius: 'md',\n transition: 'all 0.15s',\n boxShadow: 'none',\n _focusWithin: {\n borderColor: focusColor,\n },\n };\n\n return defineStyle(style);\n};\n\nexport default getWrapperStyle;\n","import { useColorMode } from '@chakra-ui/system';\nimport { Global } from '@emotion/react';\nimport React from 'react';\n\nconst Styles = () => {\n const { colorMode } = useColorMode();\n return (\n <Global\n styles={`\n @charset \"UTF-8\";\n .react-datepicker__year-read-view--down-arrow,\n .react-datepicker__month-read-view--down-arrow,\n .react-datepicker__month-year-read-view--down-arrow, .react-datepicker__navigation-icon::before {\n border-color: ${colorMode === 'light' ? '#6E6B7B' : '#d0d1d2'};\n border-style: solid;\n border-width: 1px 1px 0 0;\n content: \"\";\n display: block;\n height: 7px;\n position: absolute;\n top: 13px;\n width: 7px;\n }\n .react-datepicker-popper[data-placement^=top] .react-datepicker__triangle, .react-datepicker-popper[data-placement^=bottom] .react-datepicker__triangle {\n margin-left: -4px;\n position: absolute;\n width: 0;\n }\n .react-datepicker-popper[data-placement^=top] .react-datepicker__triangle::before, .react-datepicker-popper[data-placement^=bottom] .react-datepicker__triangle::before, .react-datepicker-popper[data-placement^=top] .react-datepicker__triangle::after, .react-datepicker-popper[data-placement^=bottom] .react-datepicker__triangle::after {\n box-sizing: content-box;\n position: absolute;\n border: 8px solid transparent;\n height: 0;\n width: 1px;\n content: \"\";\n z-index: -1;\n border-width: 8px;\n left: -8px;\n }\n .react-datepicker-popper[data-placement^=top] .react-datepicker__triangle::before, .react-datepicker-popper[data-placement^=bottom] .react-datepicker__triangle::before {\n border-bottom-color: #aeaeae;\n }\n\n .react-datepicker-popper[data-placement^=bottom] .react-datepicker__triangle {\n top: 0;\n margin-top: -8px;\n }\n .react-datepicker-popper[data-placement^=bottom] .react-datepicker__triangle::before, .react-datepicker-popper[data-placement^=bottom] .react-datepicker__triangle::after {\n border-top: none;\n border-bottom-color: #f0f0f0;\n }\n .react-datepicker-popper[data-placement^=bottom] .react-datepicker__triangle::after {\n top: 0;\n }\n .react-datepicker-popper[data-placement^=bottom] .react-datepicker__triangle::before {\n top: -1px;\n border-bottom-color: #aeaeae;\n }\n\n .react-datepicker-popper[data-placement^=top] .react-datepicker__triangle {\n bottom: 0;\n margin-bottom: -8px;\n }\n .react-datepicker-popper[data-placement^=top] .react-datepicker__triangle::before, .react-datepicker-popper[data-placement^=top] .react-datepicker__triangle::after {\n border-bottom: none;\n border-top-color: #fff;\n }\n .react-datepicker-popper[data-placement^=top] .react-datepicker__triangle::after {\n bottom: 0;\n }\n .react-datepicker-popper[data-placement^=top] .react-datepicker__triangle::before {\n bottom: -1px;\n border-top-color: #aeaeae;\n }\n\n .react-datepicker-wrapper {\n display: inline-block;\n padding: 0;\n border: 0;\n width: 100%;\n }\n\n .react-datepicker {\n font-family: \"inherit\", helvetica, arial, sans-serif;\n font-size: 0.75;\n background-color: ${colorMode === 'light' ? '#ffffff' : '#283046'};\n color: ${colorMode === 'light' ? '#000' : '#d0d1d2'};\n filter: drop-shadow(0px 3px 10px rgba(0, 0, 0, 0.08));\n border-radius: 0.3rem;\n display: inline-block;\n position: relative;\n }\n\n .react-datepicker.inline {\n filter: none;\n }\n\n .react-datepicker--time-only .react-datepicker__triangle {\n left: 35px;\n }\n .react-datepicker--time-only .react-datepicker__time-container {\n border-left: 0;\n }\n .react-datepicker--time-only .react-datepicker__time,\n .react-datepicker--time-only .react-datepicker__time-box {\n border-bottom-left-radius: 0.3rem;\n border-bottom-right-radius: 0.3rem;\n }\n\n .react-datepicker__triangle {\n position: absolute;\n left: 50px;\n }\n\n .react-datepicker-popper {\n z-index: 1;\n }\n .react-datepicker-popper[data-placement^=bottom] {\n padding-top: 10px;\n }\n .react-datepicker-popper[data-placement=bottom-end] .react-datepicker__triangle, .react-datepicker-popper[data-placement=top-end] .react-datepicker__triangle {\n left: auto;\n right: 50px;\n }\n .react-datepicker-popper[data-placement^=top] {\n padding-bottom: 10px;\n }\n .react-datepicker-popper[data-placement^=right] {\n padding-left: 8px;\n }\n .react-datepicker-popper[data-placement^=right] .react-datepicker__triangle {\n left: auto;\n right: 42px;\n }\n .react-datepicker-popper[data-placement^=left] {\n padding-right: 8px;\n }\n .react-datepicker-popper[data-placement^=left] .react-datepicker__triangle {\n left: 42px;\n right: auto;\n }\n\n .react-datepicker__header {\n text-align: center;\n background-color: ${colorMode === 'light' ? '#ffffff' : '#131620'};\n border-top-left-radius: 0.3rem;\n padding: 8px 0;\n position: relative;\n }\n .react-datepicker__header--time {\n padding-bottom: 8px;\n padding-left: 5px;\n padding-right: 5px;\n }\n .react-datepicker__header--time:not(.react-datepicker__header--time--only) {\n border-top-left-radius: 0;\n }\n .react-datepicker__header:not(.react-datepicker__header--has-time-select) {\n border-top-right-radius: 0.3rem;\n }\n\n .react-datepicker__year-dropdown-container--select,\n .react-datepicker__month-dropdown-container--select,\n .react-datepicker__month-year-dropdown-container--select,\n .react-datepicker__year-dropdown-container--scroll,\n .react-datepicker__month-dropdown-container--scroll,\n .react-datepicker__month-year-dropdown-container--scroll {\n display: inline-block;\n margin: 0 2px;\n }\n .react-datepicker__header__dropdown.react-datepicker__header__dropdown--select {\n font-weight: 600;\n line-height: 22px;\n color: #111111;\n }\n\n .react-datepicker__current-month,\n .react-datepicker-time__header,\n .react-datepicker-year-header {\n margin-top: 0;\n color: ${colorMode === 'light' ? '#111111' : '#d0d1d2'};\n font-size: 0.75;\n }\n\n .react-datepicker-time__header {\n text-overflow: ellipsis;\n white-space: nowrap;\n overflow: hidden;\n }\n\n .react-datepicker__navigation {\n align-items: center;\n background: none;\n display: flex;\n justify-content: center;\n text-align: center;\n cursor: pointer;\n position: absolute;\n top: 2px;\n padding: 0;\n border: none;\n z-index: 1;\n height: 32px;\n width: 32px;\n text-indent: -999em;\n overflow: hidden;\n }\n .react-datepicker__navigation--previous {\n left: 2px;\n }\n .react-datepicker__navigation--next {\n right: 2px;\n }\n .react-datepicker__navigation--next--with-time:not(.react-datepicker__navigation--next--with-today-button) {\n right: 85px;\n }\n .react-datepicker__navigation--years {\n position: relative;\n top: 0;\n display: block;\n margin-left: auto;\n margin-right: auto;\n }\n .react-datepicker__navigation--years-previous {\n top: 4px;\n }\n .react-datepicker__navigation--years-upcoming {\n top: -4px;\n }\n .react-datepicker__navigation:hover *::before {\n border-color: #a6a6a6;\n }\n\n .react-datepicker__navigation-icon {\n position: relative;\n top: -1px;\n font-size: 20px;\n width: 0;\n }\n .react-datepicker__navigation-icon--next {\n left: -2px;\n }\n .react-datepicker__navigation-icon--next::before {\n transform: rotate(45deg);\n left: -7px;\n }\n .react-datepicker__navigation-icon--previous {\n right: -2px;\n }\n .react-datepicker__navigation-icon--previous::before {\n transform: rotate(225deg);\n right: -7px;\n }\n\n .react-datepicker__month-container {\n float: left;\n border-radius: 8px;\n }\n\n .react-datepicker__year {\n margin: 0.4rem;\n text-align: center;\n }\n .react-datepicker__year-wrapper {\n display: flex;\n flex-wrap: wrap;\n max-width: 180px;\n }\n .react-datepicker__year .react-datepicker__year-text {\n display: inline-block;\n width: 4rem;\n margin: 2px;\n }\n\n .react-datepicker__month {\n margin: 0.4rem;\n text-align: center;\n }\n .react-datepicker__month .react-datepicker__month-text,\n .react-datepicker__month .react-datepicker__quarter-text {\n display: inline-block;\n width: 4rem;\n margin: 2px;\n }\n\n .react-datepicker__input-time-container {\n width: 100%;\n }\n .react-datepicker__input-time-container .react-datepicker-time__caption {\n width: 100%;\n display: inline-block;\n }\n .react-datepicker__input-time-container .react-datepicker-time__input-container {\n width: 100%;\n display: inline-block;\n }\n .react-datepicker__input-time-container .react-datepicker-time__input-container .react-datepicker-time__input {\n width: 100%;\n display: inline-block;\n }\n .react-datepicker__input-time-container .react-datepicker-time__input-container .react-datepicker-time__input input {\n width: auto;\n }\n .react-datepicker__input-time-container .react-datepicker-time__input-container .react-datepicker-time__input input[type=time]::-webkit-inner-spin-button,\n .react-datepicker__input-time-container .react-datepicker-time__input-container .react-datepicker-time__input input[type=time]::-webkit-outer-spin-button {\n -webkit-appearance: none;\n margin: 0;\n }\n .react-datepicker__input-time-container .react-datepicker-time__input-container .react-datepicker-time__input input[type=time] {\n -moz-appearance: textfield;\n }\n .react-datepicker__input-time-container .react-datepicker-time__input-container .react-datepicker-time__delimiter {\n width: 100%;\n display: inline-block;\n }\n\n .react-datepicker__time-container {\n float: right;\n border-left: 1px solid #aeaeae;\n width: 85px;\n }\n .react-datepicker__time-container--with-today-button {\n display: inline;\n border: 1px solid #aeaeae;\n border-radius: 0.3rem;\n position: absolute;\n right: -72px;\n top: 0;\n }\n .react-datepicker__time-container .react-datepicker__time {\n position: relative;\n background: white;\n border-bottom-right-radius: 0.3rem;\n }\n .react-datepicker__time-container .react-datepicker__time .react-datepicker__time-box {\n width: 85px;\n overflow-x: hidden;\n margin: 0 auto;\n text-align: center;\n border-bottom-right-radius: 0.3rem;\n }\n .react-datepicker__time-container .react-datepicker__time .react-datepicker__time-box ul.react-datepicker__time-list {\n list-style: none;\n margin: 0;\n height: calc(195px + (1.7rem / 2));\n overflow-y: scroll;\n padding-right: 0;\n padding-left: 0;\n width: 100%;\n box-sizing: content-box;\n }\n .react-datepicker__time-container .react-datepicker__time .react-datepicker__time-box ul.react-datepicker__time-list li.react-datepicker__time-list-item {\n height: 30px;\n padding: 5px 10px;\n white-space: nowrap;\n }\n .react-datepicker__time-container .react-datepicker__time .react-datepicker__time-box ul.react-datepicker__time-list li.react-datepicker__time-list-item:hover {\n cursor: pointer;\n background-color: ${colorMode === 'light' ? '#f0f0f0' : '#131620'};\n }\n .react-datepicker__time-container .react-datepicker__time .react-datepicker__time-box ul.react-datepicker__time-list li.react-datepicker__time-list-item--selected {\n background-color: ${colorMode === 'light' ? '#12784A' : '#131620'};\n color: white;\n font-weight: bold;\n }\n .react-datepicker__time-container .react-datepicker__time .react-datepicker__time-box ul.react-datepicker__time-list li.react-datepicker__time-list-item--selected:hover {\n background-color: ${colorMode === 'light' ? '#12784A' : '#131620'};\n }\n .react-datepicker__time-container .react-datepicker__time .react-datepicker__time-box ul.react-datepicker__time-list li.react-datepicker__time-list-item--disabled {\n color: ${colorMode === 'light' ? '#ccc' : '#d0d1d2'};\n }\n .react-datepicker__time-container .react-datepicker__time .react-datepicker__time-box ul.react-datepicker__time-list li.react-datepicker__time-list-item--disabled:hover {\n cursor: default;\n background-color: transparent;\n }\n\n .react-datepicker__week-number {\n color: ${colorMode === 'light' ? '#ccc' : '#d0d1d2'};\n display: inline-block;\n width: 1.7rem;\n line-height: 1.7rem;\n text-align: center;\n margin: 0.166rem;\n }\n .react-datepicker__week-number.react-datepicker__week-number--clickable {\n cursor: pointer;\n }\n .react-datepicker__week-number.react-datepicker__week-number--clickable:hover {\n border-radius: 0.3rem;\n background-color: ${colorMode === 'light' ? '#f0f0f0' : '#131620'};\n }\n\n .react-datepicker__day-names,\n .react-datepicker__week {\n white-space: nowrap;\n }\n\n .react-datepicker__day-names {\n margin-bottom: 0px;\n }\n\n .react-datepicker__day-name,\n .react-datepicker__day,\n .react-datepicker__time-name {\n color: ${colorMode === 'light' ? '#000' : '#d0d1d2'};\n display: inline-block;\n width: 1.7rem;\n line-height: 1.7rem;\n text-align: center;\n padding: 0.166rem;\n }\n\n .react-datepicker__month--selected, .react-datepicker__month--in-selecting-range, .react-datepicker__month--in-range,\n .react-datepicker__quarter--selected,\n .react-datepicker__quarter--in-selecting-range,\n .react-datepicker__quarter--in-range {\n border-radius: 0.3rem;\n background-color: ${colorMode === 'light' ? '#12784A' : '#131620'};\n color: #fff;\n }\n .react-datepicker__month--selected:hover, .react-datepicker__month--in-selecting-range:hover, .react-datepicker__month--in-range:hover,\n .react-datepicker__quarter--selected:hover,\n .react-datepicker__quarter--in-selecting-range:hover,\n .react-datepicker__quarter--in-range:hover {\n background-color: ${colorMode === 'light' ? '#075331' : '#131620'};\n }\n .react-datepicker__month--disabled,\n .react-datepicker__quarter--disabled {\n color: #ccc;\n pointer-events: none;\n }\n .react-datepicker__month--disabled:hover,\n .react-datepicker__quarter--disabled:hover {\n cursor: default;\n background-color: transparent;\n }\n\n .react-datepicker__day,\n .react-datepicker__month-text,\n .react-datepicker__quarter-text,\n .react-datepicker__year-text {\n cursor: pointer;\n }\n .react-datepicker__day:hover,\n .react-datepicker__month-text:hover,\n .react-datepicker__quarter-text:hover,\n .react-datepicker__year-text:hover {\n border-radius: 0.3rem;\n background-color: ${colorMode === 'light' ? '#f0f0f0' : '#131620'};\n }\n .react-datepicker__day--highlighted,\n .react-datepicker__month-text--highlighted,\n .react-datepicker__quarter-text--highlighted,\n .react-datepicker__year-text--highlighted {\n border-radius: 0.3rem;\n background-color: #3dcc4a;\n color: #fff;\n }\n .react-datepicker__day--highlighted:hover,\n .react-datepicker__month-text--highlighted:hover,\n .react-datepicker__quarter-text--highlighted:hover,\n .react-datepicker__year-text--highlighted:hover {\n background-color: #32be3f;\n }\n .react-datepicker__day--highlighted-custom-1,\n .react-datepicker__month-text--highlighted-custom-1,\n .react-datepicker__quarter-text--highlighted-custom-1,\n .react-datepicker__year-text--highlighted-custom-1 {\n color: magenta;\n }\n .react-datepicker__day--highlighted-custom-2,\n .react-datepicker__month-text--highlighted-custom-2,\n .react-datepicker__quarter-text--highlighted-custom-2,\n .react-datepicker__year-text--highlighted-custom-2 {\n color: green;\n }\n .react-datepicker__day--selected, .react-datepicker__day--in-selecting-range, .react-datepicker__day--in-range,\n .react-datepicker__month-text--selected,\n .react-datepicker__month-text--in-selecting-range,\n .react-datepicker__month-text--in-range,\n .react-datepicker__quarter-text--selected,\n .react-datepicker__quarter-text--in-selecting-range,\n .react-datepicker__quarter-text--in-range,\n .react-datepicker__year-text--selected,\n .react-datepicker__year-text--in-selecting-range,\n .react-datepicker__year-text--in-range {\n border-radius: 0.3rem;\n background-color: ${colorMode === 'light' ? '#12784A' : '#131620'};\n color: #fff;\n }\n .react-datepicker__day--selected:hover, .react-datepicker__day--in-selecting-range:hover, .react-datepicker__day--in-range:hover,\n .react-datepicker__month-text--selected:hover,\n .react-datepicker__month-text--in-selecting-range:hover,\n .react-datepicker__month-text--in-range:hover,\n .react-datepicker__quarter-text--selected:hover,\n .react-datepicker__quarter-text--in-selecting-range:hover,\n .react-datepicker__quarter-text--in-range:hover,\n .react-datepicker__year-text--selected:hover,\n .react-datepicker__year-text--in-selecting-range:hover,\n .react-datepicker__year-text--in-range:hover {\n background-color: ${colorMode === 'light' ? '#075331' : '#131620'};\n }\n .react-datepicker__day--keyboard-selected,\n .react-datepicker__month-text--keyboard-selected,\n .react-datepicker__quarter-text--keyboard-selected,\n .react-datepicker__year-text--keyboard-selected {\n border-radius: 0.3rem;\n background-color: ${colorMode === 'light' ? '#075331' : '#131620'};\n color: #fff;\n }\n .react-datepicker__day--keyboard-selected:hover,\n .react-datepicker__month-text--keyboard-selected:hover,\n .react-datepicker__quarter-text--keyboard-selected:hover,\n .react-datepicker__year-text--keyboard-selected:hover {\n background-color: ${colorMode === 'light' ? '#075331' : '#131620'};\n }\n .react-datepicker__day--in-selecting-range:not(.react-datepicker__day--in-range,\n .react-datepicker__month-text--in-range,\n .react-datepicker__quarter-text--in-range,\n .react-datepicker__year-text--in-range),\n .react-datepicker__month-text--in-selecting-range:not(.react-datepicker__day--in-range,\n .react-datepicker__month-text--in-range,\n .react-datepicker__quarter-text--in-range,\n .react-datepicker__year-text--in-range),\n .react-datepicker__quarter-text--in-selecting-range:not(.react-datepicker__day--in-range,\n .react-datepicker__month-text--in-range,\n .react-datepicker__quarter-text--in-range,\n .react-datepicker__year-text--in-range),\n .react-datepicker__year-text--in-selecting-range:not(.react-datepicker__day--in-range,\n .react-datepicker__month-text--in-range,\n .react-datepicker__quarter-text--in-range,\n .react-datepicker__year-text--in-range) {\n background-color: rgba(18, 120, 74, 0.1);\n color: ${colorMode === 'light' ? '#000' : '#d0d1d2'};\n }\n .react-datepicker__month--selecting-range .react-datepicker__day--in-range:not(.react-datepicker__day--in-selecting-range,\n .react-datepicker__month-text--in-selecting-range,\n .react-datepicker__quarter-text--in-selecting-range,\n .react-datepicker__year-text--in-selecting-range),\n .react-datepicker__month--selecting-range .react-datepicker__month-text--in-range:not(.react-datepicker__day--in-selecting-range,\n .react-datepicker__month-text--in-selecting-range,\n .react-datepicker__quarter-text--in-selecting-range,\n .react-datepicker__year-text--in-selecting-range),\n .react-datepicker__month--selecting-range .react-datepicker__quarter-text--in-range:not(.react-datepicker__day--in-selecting-range,\n .react-datepicker__month-text--in-selecting-range,\n .react-datepicker__quarter-text--in-selecting-range,\n .react-datepicker__year-text--in-selecting-range),\n .react-datepicker__month--selecting-range .react-datepicker__year-text--in-range:not(.react-datepicker__day--in-selecting-range,\n .react-datepicker__month-text--in-selecting-range,\n .react-datepicker__quarter-text--in-selecting-range,\n .react-datepicker__year-text--in-selecting-range) {\n background-color: ${colorMode === 'light' ? '#f0f0f0' : '#131620'};\n color: ${colorMode === 'light' ? '#000' : '#d0d1d2'};\n }\n .react-datepicker__day--disabled,\n .react-datepicker__month-text--disabled,\n .react-datepicker__quarter-text--disabled,\n .react-datepicker__year-text--disabled {\n cursor: default;\n color: #ccc;\n }\n .react-datepicker__day--disabled:hover,\n .react-datepicker__month-text--disabled:hover,\n .react-datepicker__quarter-text--disabled:hover,\n .react-datepicker__year-text--disabled:hover {\n background-color: transparent;\n }\n\n .react-datepicker__month-text.react-datepicker__month--selected:hover, .react-datepicker__month-text.react-datepicker__month--in-range:hover, .react-datepicker__month-text.react-datepicker__quarter--selected:hover, .react-datepicker__month-text.react-datepicker__quarter--in-range:hover,\n .react-datepicker__quarter-text.react-datepicker__month--selected:hover,\n .react-datepicker__quarter-text.react-datepicker__month--in-range:hover,\n .react-datepicker__quarter-text.react-datepicker__quarter--selected:hover,\n .react-datepicker__quarter-text.react-datepicker__quarter--in-range:hover {\n background-color: ${colorMode === 'light' ? '#12784A' : '#131620'};\n }\n .react-datepicker__month-text:hover,\n .react-datepicker__quarter-text:hover {\n background-color: ${colorMode === 'light' ? '#f0f0f0' : '#131620'};\n }\n\n .react-datepicker__input-container {\n position: relative;\n display: inline-block;\n width: 100%;\n }\n\n .react-datepicker__year-read-view,\n .react-datepicker__month-read-view,\n .react-datepicker__month-year-read-view {\n border: 1px solid transparent;\n border-radius: 0.3rem;\n position: relative;\n }\n .react-datepicker__year-read-view:hover,\n .react-datepicker__month-read-view:hover,\n .react-datepicker__month-year-read-view:hover {\n cursor: pointer;\n }\n .react-datepicker__year-read-view:hover .react-datepicker__year-read-view--down-arrow,\n .react-datepicker__year-read-view:hover .react-datepicker__month-read-view--down-arrow,\n .react-datepicker__month-read-view:hover .react-datepicker__year-read-view--down-arrow,\n .react-datepicker__month-read-view:hover .react-datepicker__month-read-view--down-arrow,\n .react-datepicker__month-year-read-view:hover .react-datepicker__year-read-view--down-arrow,\n .react-datepicker__month-year-read-view:hover .react-datepicker__month-read-view--down-arrow {\n border-top-color: #b3b3b3;\n }\n .react-datepicker__year-read-view--down-arrow,\n .react-datepicker__month-read-view--down-arrow,\n .react-datepicker__month-year-read-view--down-arrow {\n transform: rotate(135deg);\n right: -16px;\n top: 5px;\n width: 5px;\n height: 5px;\n fill: #111111;\n\n }\n .react-datepicker__header:not(.react-datepicker__header--has-time-select) {\n background: ${colorMode === 'light' ? '#F5F5F5' : 'inherit'} ;\n\n border-top-left-radius: 8px;\n border-top-right-radius: 8px;\n }\n\n .react-datepicker__year-dropdown,\n .react-datepicker__month-dropdown,\n .react-datepicker__month-year-dropdown {\n background-color: ${colorMode === 'light' ? '#f0f0f0' : '#131620'};\n position: absolute;\n width: 50%;\n left: 25%;\n top: 30px;\n z-index: 1;\n text-align: center;\n border-radius: 0.3rem;\n border: 1px solid #aeaeae;\n }\n .react-datepicker__year-dropdown:hover,\n .react-datepicker__month-dropdown:hover,\n .react-datepicker__month-year-dropdown:hover {\n cursor: pointer;\n }\n .react-datepicker__year-dropdown--scrollable,\n .react-datepicker__month-dropdown--scrollable,\n .react-datepicker__month-year-dropdown--scrollable {\n height: 150px;\n overflow-y: scroll;\n }\n\n .react-datepicker__year-option,\n .react-datepicker__month-option,\n .react-datepicker__month-year-option {\n line-height: 20px;\n width: 100%;\n display: block;\n margin-left: auto;\n margin-right: auto;\n }\n .react-datepicker__year-option:first-of-type,\n .react-datepicker__month-option:first-of-type,\n .react-datepicker__month-year-option:first-of-type {\n border-top-left-radius: 0.3rem;\n border-top-right-radius: 0.3rem;\n }\n .react-datepicker__year-option:last-of-type,\n .react-datepicker__month-option:last-of-type,\n .react-datepicker__month-year-option:last-of-type {\n -webkit-user-select: none;\n -moz-user-select: none;\n -ms-user-select: none;\n user-select: none;\n border-bottom-left-radius: 0.3rem;\n border-bottom-right-radius: 0.3rem;\n }\n .react-datepicker__year-option:hover,\n .react-datepicker__month-option:hover,\n .react-datepicker__month-year-option:hover {\n background-color: #ccc;\n }\n .react-datepicker__year-option:hover .react-datepicker__navigation--years-upcoming,\n .react-datepicker__month-option:hover .react-datepicker__navigation--years-upcoming,\n .react-datepicker__month-year-option:hover .react-datepicker__navigation--years-upcoming {\n border-bottom-color: #b3b3b3;\n }\n .react-datepicker__year-option:hover .react-datepicker__navigation--years-previous,\n .react-datepicker__month-option:hover .react-datepicker__navigation--years-previous,\n .react-datepicker__month-year-option:hover .react-datepicker__navigation--years-previous {\n border-top-color: #b3b3b3;\n }\n .react-datepicker__year-option--selected,\n .react-datepicker__month-option--selected,\n .react-datepicker__month-year-option--selected {\n position: absolute;\n left: 15px;\n }\n\n .react-datepicker__close-icon {\n cursor: pointer;\n background-color: transparent;\n border: 0;\n outline: 0;\n padding: 0 6px 0 0;\n position: absolute;\n top: 0;\n right: 0;\n height: 100%;\n display: table-cell;\n vertical-align: middle;\n }\n .react-datepicker__close-icon::after {\n cursor: pointer;\n background-color: ${colorMode === 'light' ? '#12784A' : '#131620'};\n color: #fff;\n border-radius: 50%;\n height: 16px;\n width: 16px;\n padding: 2px;\n font-size: 12px;\n line-height: 1;\n text-align: center;\n display: table-cell;\n vertical-align: middle;\n content: \"×\";\n }\n\n .react-datepicker__today-button {\n background: #f0f0f0;\n border-top: 1px solid #aeaeae;\n cursor: pointer;\n text-align: center;\n font-weight: bold;\n padding: 5px 0;\n clear: left;\n }\n\n .react-datepicker__portal {\n position: fixed;\n width: 100vw;\n height: 100vh;\n background-color: rgba(0, 0, 0, 0.8);\n left: 0;\n top: 0;\n justify-content: center;\n align-items: center;\n display: flex;\n z-index: 2147483647;\n }\n .react-datepicker__portal .react-datepicker__day-name,\n .react-datepicker__portal .react-datepicker__day,\n .react-datepicker__portal .react-datepicker__time-name {\n width: 3rem;\n line-height: 3rem;\n }\n @media (max-width: 400px), (max-height: 550px) {\n .react-datepicker__portal .react-datepicker__day-name,\n .react-datepicker__portal .react-datepicker__day,\n .react-datepicker__portal .react-datepicker__time-name {\n width: 2rem;\n line-height: 2rem;\n }\n }\n .react-datepicker__portal .react-datepicker__current-month,\n .react-datepicker__portal .react-datepicker-time__header {\n font-size: 1.44rem;\n }\n\n /** injected styles **/\n .react-datepicker__day--outside-month {\n color: ${colorMode === 'light' ? '#B9B9C3' : '#4D4D4D'};\n }\n .react-datepicker__day.react-datepicker__day--in-range {\n border-radius: 0;\n background: rgba(18, 120, 74, 0.1);\n color: #12784A;\n }\n .react-datepicker__day.react-datepicker__day--range-start.react-datepicker__day--in-range,\n .react-datepicker__day.react-datepicker__day--range-end.react-datepicker__day--in-range {\n background: #12784A;\n color: #fff;\n }\n .react-datepicker__day.react-datepicker__day--range-start.react-datepicker__day--in-range {\n border-radius: 100px 0px 0px 100px;\n }\n .react-datepicker__day.react-datepicker__day--range-end.react-datepicker__day--in-range {\n border-radius: 0px 100px 100px 0px;\n }\n .react-datepicker__day.react-datepicker__day--range-start.react-datepicker__day.react-datepicker__day--range-end {\n border-radius: 100px;\n padding: 0;\n }\n .react-datepicker__day.react-datepicker__day--outside-month:empty {\n padding: 0;\n }\n .react-datepicker.inline .react-datepicker__header {\n background-color: inherit;\n }\n .react-datepicker__day--keyboard-selected, .react-datepicker__day--keyboard-selected:hover {\n background-color: inherit;\n color: inherit;\n }\n .react-datepicker__day--today, .react-datepicker__day--today:hover {\n color: #D82F23;\n }\n .react-datepicker__day--today:hover {\n background: #f0f0f0;\n }\n .react-datepicker__day--selected.react-datepicker__day--today {\n color: white;\n background: #12784A;\n }\n `}\n />\n );\n};\n\nexport default Styles;\n","import { Flex, Input, InputGroup, InputRightAddon, Text } from '@chakra-ui/react';\nimport React from 'react';\n\ninterface TimeInputProps {\n value?: string;\n onChange?: (time: string) => void;\n label?: string;\n rightAddon?: React.ReactNode | string;\n}\n\nconst TimeInput: React.FC<TimeInputProps> = ({ value, onChange, label, rightAddon }) => {\n const [time, setTime] = React.useState(value || '00:00');\n\n const handleChange = (e: React.ChangeEvent<HTMLInputElement>) => {\n setTime(e.target?.value || '00:00');\n };\n\n React.useEffect(() => {\n if (onChange) {\n onChange(time);\n }\n }, [time]);\n\n return (\n <Flex flexDir=\"column\" alignItems=\"center\" justifyContent=\"center\" p={4} pt={0}>\n <Text mb={2}>{label}</Text>\n <InputGroup alignItems=\"center\" justifyContent=\"center\">\n <Input onChange={handleChange} type=\"time\" value={time} data-test-id=\"CT_Component_datepicker_input_time\" />\n {rightAddon && <InputRightAddon>{rightAddon}</InputRightAddon>}\n </InputGroup>\n </Flex>\n );\n};\n\nTimeInput.displayName = 'DatepickerTimeInput';\n\nTimeInput.defaultProps = {\n value: '00:00',\n onChange: undefined,\n label: 'Pilih Waktu',\n rightAddon: 'WIB',\n};\nexport default TimeInput;\n","import {\n FormControl,\n FormErrorMessage,\n FormHelperText,\n FormLabel,\n Input,\n InputGroup,\n InputRightElement,\n} from '@chakra-ui/react';\nimport classnames from 'classnames';\nimport React from 'react';\nimport type { ReactDatePickerProps } from 'react-datepicker';\nimport ReactDatePicker from 'react-datepicker';\nimport { FiCalendar, FiX } from 'react-icons/fi';\n\nimport getWrapperStyle from '../../form/styles/input-field';\nimport Styles from './styles';\nimport TimeInput from './time-input';\n\nexport interface DatepickerProps extends Omit<ReactDatePickerProps, 'selectsRange'> {\n id?: string;\n isRequired?: boolean;\n label?: string;\n error?: string | React.ReactNode;\n isError?: boolean;\n helperText?: string | React.ReactNode;\n withTime?: boolean;\n onClear?: () => void;\n selectsRange?: boolean;\n showMonth?: boolean;\n shortMonth?: boolean;\n}\n\nconst Datepicker: React.FC<DatepickerProps> = ({\n id,\n label,\n error,\n isError,\n helperText,\n isRequired,\n withTime,\n value,\n name,\n onClear,\n showMonth,\n shortMonth,\n ...props\n}) => {\n const selected = value ? new Date(value) : undefined;\n const dateFormat = props.dateFormat ?? withTime ? 'yyyy-MM-dd HH:mm' : 'yyyy-MM-dd';\n const wrapperStyle = getWrapperStyle({});\n\n const getTimeProps = (): Pick<ReactDatePickerProps, 'showTimeInput' | 'customTimeInput' | 'timeInputLabel'> => {\n if (!withTime) return {};\n return {\n timeInputLabel: '',\n showTimeInput: true,\n customTimeInput: <TimeInput />,\n };\n };\n\n const component = (\n <>\n <Styles />\n <ReactDatePicker\n id={id}\n name={name}\n selected={selected}\n customInput={<Input autoComplete=\"off\" {...wrapperStyle} />}\n dateFormat={dateFormat}\n showPopperArrow={false}\n calendarClassName={classnames({ inline: props.inline })}\n showMonthDropdown={showMonth}\n useShortMonthInDropdown={showMonth ? shortMonth : false}\n {...getTimeProps()}\n {...props}\n />\n </>\n );\n\n if (props.inline) {\n return component;\n }\n\n return (\n <FormControl isRequired={isRequired} data-test-id=\"CT_Component_datepicker_wrapper\">\n {label && <FormLabel fontSize=\"text.sm\">{label}</FormLabel>}\n <InputGroup>\n {component}\n <InputRightElement>\n {!value && <FiCalendar />}\n {value && <FiX data-test-id=\"bcpJJyCP0z_RIAGZXDU6s\" onClick={onClear} cursor=\"pointer\" />}\n </InputRightElement>\n </InputGroup>\n {!isError ? <FormHelperText>{helperText}</FormHelperText> : <FormErrorMessage>{error}</FormErrorMessage>}\n </FormControl>\n );\n};\n\nDatepicker.defaultProps = {\n id: undefined,\n isRequired: undefined,\n label: undefined,\n error: undefined,\n isError: undefined,\n helperText: undefined,\n withTime: undefined,\n onClear: undefined,\n selectsRange: undefined,\n shortMonth: false,\n showMonth: false,\n};\n\nexport default Datepicker;\n","import { Box, Input } from '@chakra-ui/react';\nimport { css } from '@emotion/react';\nimport type { FC } from 'react';\nimport React from 'react';\n\nexport interface DatePickerMonthProps {\n onChange: (date: string) => void;\n\n 'data-test-id'?: string;\n min: string;\n max: string;\n}\n\nconst DatePickerMonth: FC<DatePickerMonthProps> = ({ onChange, min, max, ...props }) => {\n const [date, setDate] = React.useState<string | null>(null);\n return (\n <Box\n fontSize={'12px'}\n lineHeight={'18px'}\n css={css`\n input[type='date']::-webkit-inner-spin-button,\n input[type='date']::-webkit-calendar-picker-indicator {\n display: none;\n -webkit-appearance: none;\n }\n input[value=''] {\n width: 58px;\n }\n `}\n >\n <Input\n data-test-id={props['data-test-id']}\n type=\"date\"\n width={date ? '51px' : '58px'}\n onChange={e => {\n onChange(e.target.value);\n setDate(e.target.value);\n }}\n p={'8px'}\n min={min}\n max={max}\n required\n css={css`\n border: 1px solid transparent;\n\n &:focus,\n &:hover {\n border: 1px solid transparent;\n }\n\n &::placeholder {\n color: #111111;\n }\n `}\n value={date ?? ''}\n />\n </Box>\n );\n};\n\nDatePickerMonth.defaultProps = {\n 'data-test-id': '',\n};\n\nexport default DatePickerMonth;\n","const transparent = 'transparent';\r\n\r\nconst black = {\r\n high: '#111111',\r\n medium: '#707070',\r\n low: '#B8B8B8',\r\n};\r\n\r\nconst white = {\r\n high: '#FFFFFF',\r\n medium: '#F1F1F1',\r\n low: '#CCCCCC',\r\n};\r\n\r\nconst neutral = {\r\n '50': '#FFFFFF',\r\n '100': '#FAFAFA',\r\n '200': '#F5F5F5',\r\n '300': '#EEEEEE',\r\n '400': '#E0E0E0',\r\n '500': '#BDBDBD',\r\n '600': '#999999',\r\n '700': '#242424',\r\n '800': '#181818',\r\n '900': '#111111',\r\n};\r\n\r\nconst primary = {\r\n '50': '#DFFFF1',\r\n '100': '#ACF5D5',\r\n '200': '#5EE5A9',\r\n '300': '#05CB72',\r\n '400': '#08A45E',\r\n '500': '#12784A',\r\n '600': '#0B603A',\r\n '700': '#075331',\r\n '800': '#064126',\r\n '900': '#042E1B',\r\n};\r\n\r\nconst secondary = {\r\n '50': '#F2F2F3',\r\n '100': '#DADBDD',\r\n '200': '#C2C4C7',\r\n '300': '#AAADB0',\r\n '400': '#93969A',\r\n '500': '#7B7F84',\r\n '600': '#62666A',\r\n '700': '#4A4C4F',\r\n '800': '#313335',\r\n '900': '#19191A',\r\n};\r\n\r\nconst success = {\r\n '50': '#ECFFED',\r\n '100': '#D3FCD5',\r\n '200': '#A9F9B5',\r\n '300': '#7CEE98',\r\n '400': '#58DD86',\r\n '500': '#28C76F',\r\n '600': '#1DAB6A',\r\n '700': '#148F63',\r\n '800': '#0C7359',\r\n '900': '#075F51',\r\n};\r\n\r\nconst danger = {\r\n '50': '#FFEDEC',\r\n '100': '#FFC7C2',\r\n '200': '#FF8279',\r\n '300': '#FF5B4F',\r\n '400': '#F44336',\r\n '500': '#D82F23',\r\n '600': '#B71C1C',\r\n '700': '#930B0B',\r\n '800': '#660909',\r\n '900': '#3E0707',\r\n};\r\n\r\nconst warning = {\r\n '50': '#FFF9EC',\r\n '100': '#FFEFCC',\r\n '200': '#FFD591',\r\n '300': '#FFC069',\r\n '400': '#FFA230',\r\n '500': '#F68522',\r\n '600': '#EF6C00',\r\n '700': '#C65B03',\r\n '800': '#9F4901',\r\n '900': '#652E00',\r\n};\r\n\r\nconst info = {\r\n '50': '#EBFFFB',\r\n '100': '#CBFDF2',\r\n '200': '#97FCEF',\r\n '300': '#63F8F0',\r\n '400': '#3CECF1',\r\n '500': '#00CFE8',\r\n '600': '#00A1C7',\r\n '700': '#007AA7',\r\n '800': '#005786',\r\n '900': '#003F6F',\r\n};\r\n\r\nconst dark = {\r\n '50': '#F2F2F2',\r\n '100': '#DBDBDB',\r\n '200': '#C4C4C4',\r\n '300': '#ADADAD',\r\n '400': '#969696',\r\n '500': '#808080',\r\n '600': '#666666',\r\n '700': '#4D4D4D',\r\n '800': '#333333',\r\n '900': '#1A1A1A',\r\n};\r\n\r\nconst mirage = {\r\n '50': '#EDF0F7',\r\n '100': '#CED5E9',\r\n '200': '#AEBADB',\r\n '300': '#8E9ECC',\r\n '400': '#6F83BE',\r\n '500': '#4F68B0',\r\n '600': '#3F538D',\r\n '700': '#2F3E6A',\r\n '800': '#202A46',\r\n '900': '#101523',\r\n};\r\n\r\nconst ebonyClay = {\r\n '50': '#EFF1F6',\r\n '100': '#D2D7E5',\r\n '200': '#B4BDD4',\r\n '300': '#97A3C4',\r\n '400': '#7A89B3',\r\n '500': '#5D6FA2',\r\n '600': '#4A5982',\r\n '700': '#384361',\r\n '800': '#252D41',\r\n '900': '#131620',\r\n};\r\n\r\nconst brightGray = {\r\n '50': '#F0F1F4',\r\n '100': '#D5D9E1',\r\n '200': '#BAC0CE',\r\n '300': '#A0A8BB',\r\n '400': '#858FA8',\r\n '500': '#6A7795',\r\n '600': '#555F77',\r\n '700': '#404759',\r\n '800': '#2A2F3C',\r\n '900': '#15181E',\r\n};\r\n\r\nconst doveGray = {\r\n '50': '#F2F2F2',\r\n '100': '#DBDBDB',\r\n '200': '#C4C4C4',\r\n '300': '#ADADAD',\r\n '400': '#969696',\r\n '500': '#808080',\r\n '600': '#666666',\r\n '700': '#4D4D4D',\r\n '800': '#333333',\r\n '900': '#1A1A1A',\r\n};\r\n\r\nconst colors = {\r\n transparent,\r\n black,\r\n white,\r\n neutral,\r\n primary,\r\n secondary,\r\n success,\r\n danger,\r\n warning,\r\n info,\r\n dark,\r\n mirage,\r\n 'ebony-clay': ebonyClay,\r\n 'bright-gray': brightGray,\r\n 'dove-gray': doveGray,\r\n};\r\n\r\nexport default colors;\r\n","const radius = {\r\n none: 0,\r\n sm: '2px',\r\n md: '4px',\r\n lg: '8px',\r\n full: '9999px',\r\n};\r\n\r\nexport default radius;\r\n","import { theme } from '@chakra-ui/react';\n\nconst shadows = {\n ...theme.shadows,\n raised: '0px 4px 20px rgba(0, 0, 0, 0.05)',\n};\n\nexport default shadows;\n","import { theme } from '@chakra-ui/react';\r\n\r\nconst sizes = {\r\n ...theme.sizes,\r\n 4.5: '1.125rem',\r\n 9.5: '2.375rem',\r\n 18: '4.5rem',\r\n 22: '5.5rem',\r\n 26: '6.5rem',\r\n 30: '7.5rem',\r\n};\r\n\r\nexport default sizes;\r\n","import { theme } from '@chakra-ui/react';\r\n\r\nconst spacing = {\r\n ...theme.space,\r\n 4.5: '1.125rem',\r\n 9.5: '2.375rem',\r\n 18: '4.5rem',\r\n 22: '5.5rem',\r\n 26: '6.5rem',\r\n 30: '7.5rem',\r\n};\r\n\r\nexport default spacing;\r\n","const fonts = {\r\n heading: `'Poppins', sans-serif`,\r\n body: `'Poppins', sans-serif`,\r\n};\r\n\r\nconst fontWeights = {\r\n hairline: 100,\r\n thin: 200,\r\n light: 300,\r\n normal: 400,\r\n medium: 500,\r\n semibold: 600,\r\n bold: 700,\r\n extrabold: 800,\r\n black: 900,\r\n};\r\n\r\nconst lineHeights = {\r\n normal: 'normal',\r\n none: 1,\r\n shorter: 1.25,\r\n short: 1.375,\r\n base: 1.5,\r\n tall: 1.625,\r\n 64: '4rem', // 64px\r\n 56: '3.5rem', // 56px\r\n 48: '3rem', // 48px\r\n 40: '2.5rem', // 40px\r\n 36: '2.25rem', // 36px\r\n 34: '2.125rem', // 34px\r\n 32: '2rem', // 32px\r\n 30: '1.875rem', // 30px\r\n 28: '1.75', // 28px\r\n 26: '1.625rem', // 26px\r\n 24: '1.5rem', // 24px\r\n 22: '1.375rem', // 22px\r\n 20: '1.25rem', // 20px\r\n 18: '1.125rem', // 18px\r\n 16: '1rem', // 16px\r\n 14: '0.875rem', // 14px\r\n 12: '0.75rem', // 12px\r\n};\r\n\r\nconst letterSpacings = {\r\n tighter: '-0.05em',\r\n tight: '-0.025em',\r\n normal: '0',\r\n wide: '0.025em',\r\n wider: '0.05em',\r\n widest: '0.1em',\r\n};\r\n\r\nconst fontSizes = {\r\n heading: {\r\n 1: '2.5rem', // 40px\r\n 2: '2rem', // 32px\r\n 3: '1.75rem', // 28px\r\n 4: '1.5rem', // 24px\r\n 5: '1.375rem', // 22px\r\n 6: '1.125rem', // 18px\r\n },\r\n text: {\r\n xl: '1.125rem', // 18px\r\n lg: '1rem', // 16px\r\n md: '0.875rem', // 14px\r\n sm: '0.75rem', // 12px\r\n xs: '0.625rem', // 10px\r\n },\r\n button: {\r\n lg: '1.125rem', // 18px\r\n md: '0.875rem', // 14px\r\n sm: '0.625rem', // 10px\r\n },\r\n field: {\r\n lg: '1rem', // 16px\r\n md: '0.875rem', // 14px\r\n sm: '0.75rem', // 12px\r\n },\r\n table: {\r\n header: '0.75rem', // 12px\r\n },\r\n};\r\n\r\nconst heading = {\r\n 1: {\r\n fontSize: fontSizes.heading[1],\r\n fontWeight: fontWeights.semibold,\r\n lineHeight: lineHeights[64],\r\n letterSpacing: letterSpacings.normal,\r\n },\r\n 2: {\r\n fontSize: fontSizes.heading[2],\r\n fontWeight: fontWeights.semibold,\r\n lineHeight: lineHeights[56],\r\n letterSpacing: letterSpacings.normal,\r\n },\r\n 3: {\r\n fontSize: fontSizes.heading[3],\r\n fontWeight: fontWeights.semibold,\r\n lineHeight: lineHeights[48],\r\n letterSpacing: letterSpacings.normal,\r\n },\r\n 4: {\r\n fontSize: fontSizes.heading[4],\r\n fontWeight: fontWeights.semibold,\r\n lineHeight: lineHeights[40],\r\n letterSpacing: letterSpacings.normal,\r\n },\r\n 5: {\r\n fontSize: fontSizes.heading[5],\r\n fontWeight: fontWeights.semibold,\r\n lineHeight: lineHeights[36],\r\n letterSpacing: letterSpacings.normal,\r\n },\r\n 6: {\r\n fontSize: fontSizes.heading[6],\r\n fontWeight: fontWeights.semibold,\r\n lineHeight: lineHeights[32],\r\n letterSpacing: letterSpacings.normal,\r\n },\r\n};\r\n\r\nconst text = {\r\n xl: {\r\n fontSize: fontSizes.text.xl,\r\n fontWeight: fontWeights.normal,\r\n lineHeight: lineHeights[28],\r\n letterSpacing: letterSpacings.normal,\r\n },\r\n lg: {\r\n fontSize: fontSizes.text.lg,\r\n fontWeight: fontWeights.normal,\r\n lineHeight: lineHeights[24],\r\n letterSpacing: letterSpacings.normal,\r\n },\r\n md: {\r\n fontSize: fontSizes.text.md,\r\n fontWeight: fontWeights.normal,\r\n lineHeight: lineHeights[22],\r\n letterSpacing: letterSpacings.normal,\r\n },\r\n sm: {\r\n fontSize: fontSizes.text.sm,\r\n fontWeight: fontWeights.normal,\r\n lineHeight: lineHeights[18],\r\n letterSpacing: letterSpacings.normal,\r\n },\r\n xs: {\r\n fontSize: fontSizes.text.xs,\r\n fontWeight: fontWeights.normal,\r\n lineHeight: lineHeights[14],\r\n letterSpacing: letterSpacings.normal,\r\n },\r\n};\r\n\r\nconst button = {\r\n lg: {\r\n fontSize: fontSizes.button.lg,\r\n lineHeight: lineHeights[28],\r\n letterSpacing: letterSpacings.normal,\r\n fontWeight: fontWeights.normal,\r\n },\r\n md: {\r\n fontSize: fontSizes.button.md,\r\n lineHeight: lineHeights[22],\r\n letterSpacing: letterSpacings.normal,\r\n fontWeight: fontWeights.normal,\r\n },\r\n sm: {\r\n fontSize: fontSizes.button.sm,\r\n lineHeight: lineHeights[14],\r\n letterSpacing: letterSpacings.normal,\r\n fontWeight: fontWeights.normal,\r\n },\r\n};\r\n\r\nconst field = {\r\n lg: {\r\n fontSize: fontSizes.field.lg,\r\n lineHeight: lineHeights[24],\r\n letterSpacing: letterSpacings.normal,\r\n fontWeight: fontWeights.normal,\r\n },\r\n md: {\r\n fontSize: fontSizes.field.md,\r\n lineHeight: lineHeights[22],\r\n letterSpacing: letterSpacings.normal,\r\n fontWeight: fontWeights.normal,\r\n },\r\n sm: {\r\n fontSize: fontSizes.field.sm,\r\n lineHeight: lineHeights[18],\r\n letterSpacing: letterSpacings.normal,\r\n fontWeight: fontWeights.normal,\r\n },\r\n};\r\n\r\nconst textStyles = {\r\n heading,\r\n text,\r\n button,\r\n field,\r\n};\r\n\r\nexport { fonts, fontSizes, fontWeights, letterSpacings, lineHeights, textStyles };\r\n","import { Box } from '@chakra-ui/react';\nimport styled from '@emotion/styled';\nimport type { FC } from 'react';\nimport React from 'react';\n\nimport { colors } from '../../../../config/theme/foundations';\nimport DatePickerMonth from './datepicker-month';\n\nexport interface MultiDatePickerMonthProps {\n onChange: (startDate: string | null, endDate: string | null) => void;\n\n min?: string;\n max?: string;\n isError?: boolean;\n}\n\nconst MultiDateWrapper = styled(Box)<{ isError: boolean }>`\n display: flex;\n align-items: center;\n width: fit-content;\n border: 1px solid;\n box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.05);\n border-radius: 4px;\n border-color: ${({ isError }) => (isError ? `${colors.danger[500]}` : `${colors.primary[500]}`)};\n`;\n\nconst MultiDatePickerMonth: FC<MultiDatePickerMonthProps> = ({\n onChange,\n isError = false,\n min = '2020-01-01',\n max = '2020-12-31',\n}) => {\n const [date, setDate] = React.useState<(string | null)[]>([null, null]);\n return (\n <MultiDateWrapper isError={isError}>\n <DatePickerMonth\n data-test-id=\"CT_DatePickerMonth_StartDate\"\n onChange={val => {\n onChange(val, date[1]);\n setDate([val, date[1]]);\n }}\n min={min}\n max={max}\n />\n <Box>-</Box>\n <DatePickerMonth\n data-test-id=\"CT_DatePickerMonth_EndDate\"\n onChange={val => {\n onChange(date[0], val);\n setDate([date[0], val]);\n }}\n min={min}\n max={max}\n />\n </MultiDateWrapper>\n );\n};\n\nMultiDatePickerMonth.defaultProps = {\n min: '2020-01-01',\n max: '2020-12-31',\n isError: false,\n};\n\nexport default MultiDatePickerMonth;\n","import { InputLeftAddon, InputRightAddon } from '@chakra-ui/react';\nimport React from 'react';\n\ninterface InputAddonProps {\n children: React.ReactNode;\n}\n\nexport const InputAddonLeft = ({ children }: InputAddonProps) => {\n return (\n <InputLeftAddon backgroundColor=\"neutral.200\" px={3} py={2.5} style={{ border: 0, marginInlineEnd: 0 }}>\n {children}\n </InputLeftAddon>\n );\n};\n\nexport const InputAddonRight = ({ children }: InputAddonProps) => {\n return (\n <InputRightAddon backgroundColor=\"neutral.200\" px={3} py={2.5} style={{ border: 0, marginInlineStart: 0 }}>\n {children}\n </InputRightAddon>\n );\n};\n","import type { InputProps as ChakraInputProps } from '@chakra-ui/react';\nimport { Box, Input as ChakraInput, InputGroup } from '@chakra-ui/react';\nimport { Close, Eye, EyeOff } from '@ctlyst.id/internal-icon';\nimport type { ReactNode } from 'react';\nimport React, { useMemo, useState } from 'react';\n\nimport type { FieldProps } from '../../field/components/field';\nimport Field from '../../field/components/field';\nimport { Loader } from '../../loader';\nimport getWrapperStyle from '../styles/input-field';\n\nexport interface InputFieldProps extends ChakraInputProps, FieldProps {\n addOnLeft?: ReactNode;\n addOnRight?: ReactNode;\n withClear?: boolean;\n isLoading?: boolean;\n onClear?: () => void;\n}\n\nconst InputField = React.forwardRef<HTMLInputElement, InputFieldProps>((props, ref) => {\n const {\n value,\n type,\n addOnLeft,\n addOnRight,\n size,\n isRequired,\n label,\n isError,\n isSuccess,\n isDisabled,\n errorMessage,\n leftHelperText,\n rightHelperText,\n withClear,\n onClear,\n isLoading,\n ...inputProps\n } = props;\n\n const wrapperStyle = getWrapperStyle(props);\n const [isShowPassword, setIsShowPassword] = useState(false);\n\n const inputType = useMemo(() => {\n return type === 'password' && isShowPassword ? 'text' : type;\n }, [isShowPassword, type]);\n\n const fontSize = useMemo(() => {\n if (type === 'password') {\n if (!isShowPassword && value) return 'text.xl';\n }\n return 'text.sm';\n }, [isShowPassword, type, value]);\n\n const iconColor = useMemo(() => {\n return isDisabled ? 'black.low' : 'black.medium';\n }, [isDisabled]);\n\n return (\n <Field\n label={label}\n isSuccess={isSuccess}\n isError={isError}\n errorMessage={errorMessage}\n leftHelperText={leftHelperText}\n rightHelperText={rightHelperText}\n isRequired={isRequired}\n >\n <Box __css={wrapperStyle}>\n <InputGroup\n size={size}\n borderRadius=\"md\"\n backgroundColor={isDisabled ? 'neutral.300' : 'white.high'}\n cursor={isDisabled ? 'not-allowed' : 'default'}\n >\n {addOnLeft}\n <ChakraInput\n ref={ref}\n type={inputType}\n value={value}\n isDisabled={isDisabled}\n isSuccess={isSuccess}\n {...inputProps}\n fontSize={fontSize}\n />\n {(withClear || isLoading || type === 'password') && (\n <Box\n data-test-id=\"Pg7ttgRey7InxE4qzTjW_\"\n display=\"flex\"\n alignItems=\"center\"\n justifyContent=\"center\"\n width=\"16px\"\n mr=\"10px\"\n >\n {withClear && !isLoading && (\n <Box\n display=\"flex\"\n justifyContent=\"center\"\n onClick={!isDisabled ? onClear : undefined}\n cursor={isDisabled ? 'not-allowed' : 'pointer'}\n >\n <Close size={4} color={iconColor} />\n </Box>\n )}\n {type === 'password' && !isShowPassword && !isLoading && (\n <Box\n data-test-id=\"q2Bj2G4FlamXyHuRKMZ1Q\"\n onClick={() => {\n if (!isDisabled) setIsShowPassword(true);\n }}\n cursor={isDisabled ? 'not-allowed' : 'pointer'}\n display=\"flex\"\n justifyContent=\"center\"\n >\n <EyeOff size={4} color={iconColor} />\n </Box>\n )}\n {type === 'password' && isShowPassword && !isLoading && (\n <Box\n data-test-id=\"sfc2388bmeXBmdla45Ibk\"\n onClick={() => {\n if (!isDisabled) setIsShowPassword(false);\n }}\n cursor={isDisabled ? 'not-allowed' : 'pointer'}\n display=\"flex\"\n justifyContent=\"center\"\n >\n <Eye size={4} color={iconColor} />\n </Box>\n )}\n {isLoading && <Loader size=\"sm\" />}\n </Box>\n )}\n {addOnRight}\n </InputGroup>\n </Box>\n </Field>\n );\n});\n\nInputField.defaultProps = {\n addOnLeft: undefined,\n addOnRight: undefined,\n withClear: undefined,\n isLoading: undefined,\n onClear: undefined,\n};\n\nexport default InputField;\n","import type { TextareaProps as ChakraTextareaProps } from '@chakra-ui/react';\nimport { Box, Textarea as ChakraTextarea } from '@chakra-ui/react';\nimport React from 'react';\n\nimport type { FieldProps } from '../../field';\nimport { Field } from '../../field';\nimport { Loader } from '../../loader';\n\nexport interface TextAreaProps extends ChakraTextareaProps, FieldProps {\n isLoading?: boolean;\n}\n\nconst TextareaField = React.forwardRef<HTMLTextAreaElement, TextAreaProps>((props, ref) => {\n const { value, isLoading, ...inputProps } = props;\n\n return (\n <Field {...inputProps}>\n <Box position=\"relative\">\n <ChakraTextarea ref={ref} value={value} {...inputProps} />\n {isLoading && (\n <Box zIndex={999} top={2} right={2} position=\"absolute\">\n <Loader size=\"sm\" />\n </Box>\n )}\n </Box>\n </Field>\n );\n});\n\nTextareaField.defaultProps = {\n isLoading: undefined,\n};\n\nexport default TextareaField;\n","import { Image, useColorModeValue } from '@chakra-ui/react';\nimport React from 'react';\n\nexport const XMSLogo = () => (\n <Image\n height={8}\n src={useColorModeValue('https://assets.voila.id/xms/logo-xms.jpg', 'https://assets.voila.id/xms/logo-xms-dark.png')}\n />\n);\n\nexport const VoilaLogo = () => (\n <Image\n src=\"https://assets.voila.id/xms/logo-voila-black.png?v=1\"\n filter={useColorModeValue('none', 'invert(1)')}\n maxW={24}\n />\n);\n","import {\n Avatar,\n Box,\n Flex,\n HStack,\n Popover,\n PopoverArrow,\n PopoverBody,\n PopoverContent,\n PopoverTrigger,\n Text,\n useColorModeValue,\n useDisclosure,\n VStack,\n} from '@chakra-ui/react';\nimport * as React from 'react';\nimport { FiPower } from 'react-icons/fi';\n\nimport type { HeaderDataProps } from '../types';\n\nexport type ProfileProps = {\n data?: HeaderDataProps;\n onLogout?: () => void;\n};\n\nconst Profile: React.FC<ProfileProps> = ({ data, onLogout }) => {\n const { isOpen, onToggle, onClose } = useDisclosure();\n\n return (\n <Popover placement=\"bottom-end\" isOpen={isOpen} onClose={onClose}>\n <Box\n data-test-id=\"WE0UYbA93LOZy6S09IhDO\"\n as=\"button\"\n cursor={'pointer'}\n minW={0}\n _hover={{ textDecor: 'none' }}\n m={0}\n onClick={onToggle}\n >\n <HStack>\n <VStack alignItems=\"flex-end\" spacing={-0.5} ml=\"2\">\n <Text\n fontSize=\"text.xs\"\n mb={1}\n fontWeight={400}\n lineHeight=\"14px\"\n color={useColorModeValue('neutral.800', 'white')}\n >\n {data?.email}\n </Text>\n <Text\n fontSize=\"text.xs\"\n fontWeight={400}\n lineHeight=\"14px\"\n color={useColorModeValue('primary.500', 'success.400')}\n >\n {data?.office && (\n <Text color=\"neutral.700\" display=\"inline-block\" mr={0.5}>\n {data.office} |{' '}\n </Text>\n )}\n {data?.userRole}\n </Text>\n </VStack>\n <PopoverTrigger>\n <Avatar size={'sm'} bg=\"primary.500\" color=\"white\" name={data?.name ?? data?.email} />\n </PopoverTrigger>\n </HStack>\n </Box>\n <PopoverContent bg={useColorModeValue('white', 'mirage.900')} maxW={200}>\n <PopoverArrow bg={useColorModeValue('white', 'mirage.900')} />\n <PopoverBody p={1}>\n <Flex\n data-test-id=\"gA7F9pucPX_Q3_dkgXIYZ\"\n alignItems=\"center\"\n px={3}\n py={2}\n borderRadius=\"sm\"\n cursor=\"pointer\"\n _hover={{ bg: useColorModeValue('primary.500', 'mirage.900'), color: 'white' }}\n onClick={onLogout}\n fontSize=\"text.xs\"\n >\n <FiPower />\n <Text ml={2}>Logout</Text>\n </Flex>\n </PopoverBody>\n </PopoverContent>\n </Popover>\n );\n};\n\nProfile.defaultProps = {\n data: undefined,\n onLogout: undefined,\n};\n\nexport default Profile;\n","import { Box, useColorMode } from '@chakra-ui/react';\nimport * as React from 'react';\nimport { FiMoon, FiSun } from 'react-icons/fi';\n\nconst SwitchMode: React.FC = () => {\n const { colorMode, toggleColorMode } = useColorMode();\n return (\n <Box data-test-id=\"rhYuTDCiWkFqr96upiEEh\" mx={5} onClick={toggleColorMode} cursor=\"pointer\">\n {colorMode === 'light' ? <FiMoon size={20} /> : <FiSun size={20} />}\n </Box>\n );\n};\n\nexport default SwitchMode;\n","import type { Environment } from '../types';\n\n// eslint-disable-next-line import/prefer-default-export\nexport function environmentName(env?: Environment) {\n switch (env) {\n case 'DEVELOPMENT':\n return 'Dev';\n case 'STAGING':\n return 'Staging';\n default:\n return null;\n }\n}\n","/* eslint-disable react-hooks/rules-of-hooks */\nimport { Badge, Box, useColorModeValue } from '@chakra-ui/react';\nimport * as React from 'react';\n\nimport type { Environment } from '../types';\nimport { environmentName } from '../utils/formatter';\n\nexport type VersionProps = {\n environment?: Environment;\n version?: string;\n onOpenModalRelease?: () => void;\n};\n\nconst Version: React.FC<VersionProps> = ({ version, environment, onOpenModalRelease }) => (\n <>\n {version && (\n <Badge\n data-test-id=\"dzl3esjhCphobaaIXpiUE\"\n bg={useColorModeValue('primary.500', 'rgba(124, 124, 124, 0.12)')}\n color={useColorModeValue('white', 'secondary.400')}\n fontSize=\"text.xs\"\n py={1}\n px={2.5}\n fontWeight=\"bold\"\n textTransform=\"lowercase\"\n borderRadius=\"md\"\n onClick={onOpenModalRelease}\n cursor={onOpenModalRelease ? 'pointer' : 'auto'}\n >\n {version}\n </Badge>\n )}\n {environmentName(environment) !== null && version && (\n <Box\n background=\"primary.50\"\n color=\"primary.500\"\n fontSize=\"text.xs\"\n py={1}\n px={2.5}\n fontWeight=\"bold\"\n borderRadius=\"md\"\n >\n {environmentName(environment)}\n </Box>\n )}\n </>\n);\n\nVersion.defaultProps = {\n environment: undefined,\n version: undefined,\n onOpenModalRelease: undefined,\n};\n\nexport default Version;\n","import type { BoxProps } from '@chakra-ui/react';\nimport { Box, Flex, HStack, useColorModeValue } from '@chakra-ui/react';\nimport * as React from 'react';\n\nimport type { HeaderDataProps } from '../types';\nimport { VoilaLogo, XMSLogo } from './logo';\nimport Profile from './profile';\nimport SwitchMode from './switch-mode';\nimport Version from './version';\n\nexport type HeaderProps = BoxProps & {\n data?: HeaderDataProps;\n onLogout?: () => void;\n onOpenModalRelease?: () => void;\n hideSwitchMode?: boolean;\n};\n\nconst Header: React.FC<HeaderProps> = ({ data, onLogout, onOpenModalRelease, hideSwitchMode, ...props }) => (\n <Box\n minH={14}\n bg={useColorModeValue('white', 'ebony-clay.800')}\n boxShadow=\"0 4px 20px 0 rgb(0 0 0 / 5%)\"\n px={4}\n py={1}\n {...props}\n >\n <Flex h={14} alignItems=\"center\" justifyContent=\"space-between\">\n <XMSLogo />\n <HStack spacing={2} alignItems=\"center\">\n <VoilaLogo />\n <Version version={data?.version} environment={data?.environment} onOpenModalRelease={onOpenModalRelease} />\n </HStack>\n <Flex alignItems=\"center\">\n {!hideSwitchMode && <SwitchMode />}\n <Profile data={data} onLogout={onLogout} />\n </Flex>\n </Flex>\n </Box>\n);\n\nHeader.defaultProps = {\n data: undefined,\n onLogout: undefined,\n onOpenModalRelease: undefined,\n hideSwitchMode: false,\n};\n\nexport default Header;\n","import type { ModalBodyProps } from '@chakra-ui/react';\nimport { ModalBody as ChakraModalBody, useColorModeValue } from '@chakra-ui/react';\nimport React from 'react';\n\nconst ModalBody = React.forwardRef<HTMLDivElement, ModalBodyProps>(({ children, ...rest }, ref) => {\n return (\n <ChakraModalBody ref={ref} background={useColorModeValue('white', 'mirage.900')} {...rest}>\n {children}\n </ChakraModalBody>\n );\n});\n\nexport default ModalBody;\n","import type { ButtonProps } from '@chakra-ui/react';\nimport { ModalCloseButton as ChakraModalCloseButton, useColorModeValue } from '@chakra-ui/react';\nimport React, { forwardRef } from 'react';\n\nconst ModalCloseButton = forwardRef<HTMLButtonElement, ButtonProps>((props, ref) => {\n return (\n <ChakraModalCloseButton\n ref={ref}\n top={4}\n right={4}\n size=\"sm\"\n background={useColorModeValue('neutral.50', 'mirage.900')}\n {...props}\n />\n );\n});\nexport default ModalCloseButton;\n","import type { ModalFooterProps } from '@chakra-ui/react';\nimport { ModalFooter as ChakraModalFooter, useColorModeValue } from '@chakra-ui/react';\nimport React, { forwardRef } from 'react';\n\nconst ModalFooter = forwardRef<HTMLDivElement, ModalFooterProps>(({ children, ...rest }, ref) => {\n return (\n <ChakraModalFooter\n ref={ref}\n background={useColorModeValue('neutral.200', 'mirage.900')}\n borderBottomRadius=\"md\"\n {...rest}\n >\n {children}\n </ChakraModalFooter>\n );\n});\n\nexport default ModalFooter;\n","import type { ModalHeaderProps } from '@chakra-ui/react';\nimport { ModalHeader as ChakraModalHeader, useColorModeValue } from '@chakra-ui/react';\nimport React, { forwardRef } from 'react';\n\nconst ModalHeader = forwardRef<HTMLDivElement, ModalHeaderProps>(({ children, ...rest }, ref) => {\n return (\n <ChakraModalHeader\n ref={ref}\n background={useColorModeValue('neutral.200', 'mirage.900')}\n borderTopRadius={'md'}\n fontSize={'lg'}\n {...rest}\n >\n {children}\n </ChakraModalHeader>\n );\n});\n\nexport default ModalHeader;\n","import { createIcon } from '@chakra-ui/react';\nimport React from 'react';\n\nconst CustomerIcon = createIcon({\n displayName: 'CustomerIcon',\n viewBox: '0 0 16 16',\n path: [\n <path\n fill=\"currentColor\"\n fillRule=\"inherit\"\n d=\"M8 2a6 6 0 1 0 0 12A6 6 0 0 0 8 2ZM.667 8a7.333 7.333 0 1 1 14.666 0A7.333 7.333 0 0 1 .667 8Z\"\n clipRule=\"inherit\"\n />,\n <path\n fill=\"currentColor\"\n d=\"M12.416 12.698a1.997 1.997 0 0 0-1.75-1.031H5.334a2 2 0 0 0-1.864 1.277 7.722 7.722 0 0 1-.943-1.074 3.329 3.329 0 0 1 2.807-1.537h5.334a3.333 3.333 0 0 1 2.703 1.384c-.275.325-.594.66-.954.98Z\"\n />,\n <path\n fill=\"currentColor\"\n fillRule=\"inherit\"\n d=\"M8 5.333A1.333 1.333 0 1 0 8 8a1.333 1.333 0 0 0 0-2.667ZM5.333 6.667a2.667 2.667 0 1 1 5.334 0 2.667 2.667 0 0 1-5.334 0Z\"\n clipRule=\"inherit\"\n />,\n ],\n});\n\nexport default CustomerIcon;\n","/* eslint-disable import/prefer-default-export */\nimport {\n FiBox,\n FiDollarSign,\n FiGift,\n FiLayers,\n FiLayout,\n FiRepeat,\n FiRotateCcw,\n FiSettings,\n FiShoppingBag,\n FiShoppingCart,\n FiUsers,\n} from 'react-icons/fi';\nimport type { IconType } from 'react-icons/lib';\n\nimport CustomerIcon from './customer-icon';\n\nexport const mappingIcon = new Map([\n ['Order', FiShoppingBag],\n ['Fulfillment', FiShoppingCart],\n ['Transfer Stock', FiRepeat],\n ['Stock', FiBox],\n ['Product Database', FiLayers],\n ['Purchasing', FiDollarSign],\n ['Reseller', FiUsers],\n ['Retur', FiRotateCcw],\n ['Other', FiSettings],\n ['Content', FiLayout],\n ['Voucher', FiGift],\n ['Customer', CustomerIcon as IconType],\n]);\n","/* eslint-disable react-hooks/rules-of-hooks */\nimport { ChevronDownIcon } from '@chakra-ui/icons';\nimport type { As, BoxProps } from '@chakra-ui/react';\nimport {\n Box,\n Flex,\n HStack,\n Icon,\n Link,\n Popover,\n PopoverContent,\n PopoverTrigger,\n Portal,\n Text,\n useColorModeValue,\n} from '@chakra-ui/react';\nimport { css } from '@emotion/react';\nimport * as React from 'react';\n\nimport type { NavigationLink } from '../types';\nimport { mappingIcon } from './mapping-icon';\n\nexport type NavigationProps = BoxProps & {\n navigations?: NavigationLink[];\n activePath: string;\n as?: As;\n host?: string;\n};\n\nconst Navigation: React.FC<NavigationProps> = ({ navigations, activePath, as, host, ...props }) => {\n return (\n <Box\n bg={useColorModeValue('white', 'ebony-clay.800')}\n boxShadow=\"0 4px 20px 0 rgb(0 0 0 / 5%)\"\n borderRadius=\"md\"\n overflowX=\"auto\"\n {...props}\n >\n <Flex alignItems=\"center\" p={2}>\n <HStack spacing={2}>\n {navigations?.map(navigation => {\n const isActive = activePath.startsWith(navigation.navLink || '');\n const activeBg = isActive ? 'primary.500' : undefined;\n return (\n <Popover key={navigation.title} trigger=\"hover\" placement=\"bottom-start\">\n {({ isOpen }) => (\n <>\n <PopoverTrigger>\n <Box\n display=\"flex\"\n alignItems=\"center\"\n borderRadius=\"md\"\n cursor=\"pointer\"\n _hover={{\n backgroundColor: !isActive ? useColorModeValue('dove-gray.50', 'transparent') : activeBg,\n }}\n backgroundColor={\n isOpen && !isActive ? useColorModeValue('dove-gray.50', 'transparent') : activeBg\n }\n color={isActive ? 'white' : 'inherit'}\n p={2}\n >\n <Icon as={mappingIcon.get(navigation.title)} mr={2} />\n <Text whiteSpace=\"nowrap\" fontSize=\"text.sm\" fontWeight={400}>\n {navigation.title}\n </Text>\n <ChevronDownIcon ml={2} />\n </Box>\n </PopoverTrigger>\n {navigation.children && (\n <Portal>\n <Box zIndex=\"popover\">\n <PopoverContent\n key={navigation.title}\n bg={useColorModeValue('white', 'ebony-clay.800')}\n maxW={250}\n border=\"none\"\n borderRadius=\"md\"\n boxShadow=\"0 5px 25px rgb(0 0 0 / 10%)\"\n >\n {navigation.children.map(({ title, navHost, navLink }) => {\n const link = navHost ? `${navHost}${navLink}` : navLink;\n const isLocalLink = host === navHost;\n const isActiveSub = activePath === navLink;\n return (\n <Link\n as={isLocalLink ? as : undefined}\n key={title}\n href={link}\n _hover={{\n textDecoration: 'none',\n }}\n >\n <Box\n display=\"flex\"\n position=\"relative\"\n alignItems=\"center\"\n cursor=\"pointer\"\n transition=\"padding 0.35s ease 0s\"\n _hover={{\n backgroundColor: useColorModeValue('dove-gray.50', 'mirage.900'),\n color: useColorModeValue('primary.500', 'dove-gray.600'),\n px: 5,\n py: 4,\n _first: { borderTopRadius: 'md' },\n _last: { borderBottomRadius: 'md' },\n }}\n color={isActiveSub ? 'primary.500' : 'inherit'}\n css={css`\n border-spacing: 4px;\n `}\n px={6}\n py={4}\n >\n <Icon as={mappingIcon.get(navigation.title)} mr={3} />\n <Text fontSize=\"text.sm\">{title}</Text>\n {isActiveSub && (\n <Box\n width={0.5}\n height={8}\n position=\"absolute\"\n bg=\"primary.500\"\n right={0}\n zIndex=\"popover\"\n />\n )}\n </Box>\n </Link>\n );\n })}\n </PopoverContent>\n </Box>\n </Portal>\n )}\n </>\n )}\n </Popover>\n );\n })}\n </HStack>\n </Flex>\n </Box>\n );\n};\n\nNavigation.defaultProps = {\n navigations: undefined,\n as: 'a',\n host: undefined,\n};\n\nexport default Navigation;\n","import type { ButtonProps } from '@chakra-ui/react';\nimport { Button, forwardRef, useColorModeValue } from '@chakra-ui/react';\nimport React from 'react';\n\nexport interface PaginationButtonProps {\n isActive?: boolean;\n}\n\nconst PaginationButton = forwardRef<ButtonProps, 'button'>(({ className, style, isActive, children, ...rest }, ref) => {\n const btnBg = useColorModeValue('neutral.300', 'mirage.900');\n const btnColor = useColorModeValue('black.high', 'primary.300');\n const btnNotActiveBg = useColorModeValue('secondary.50', 'primary.500');\n const btnNotActiveColor = useColorModeValue('primary.500', 'white');\n return (\n <Button\n data-test-id=\"Pagination-Button\"\n ref={ref}\n className={className}\n style={style}\n borderRadius={50}\n fontWeight={700}\n m={0}\n px={3}\n py={2}\n h={8}\n minW=\"auto\"\n background={isActive ? 'primary.500' : btnBg}\n color={isActive ? 'white' : btnColor}\n _hover={\n !isActive\n ? {\n background: btnNotActiveBg,\n color: btnNotActiveColor,\n }\n : {}\n }\n _disabled={{\n background: useColorModeValue('neutral.300', 'mirage.900'),\n color: 'neutral.600',\n pointerEvents: 'none',\n }}\n {...rest}\n >\n {children}\n </Button>\n );\n});\n\nPaginationButton.displayName = 'PaginationButton';\n\nPaginationButton.defaultProps = {\n isActive: undefined,\n};\n\nexport default PaginationButton;\n","import { VisuallyHidden } from '@chakra-ui/react';\nimport * as React from 'react';\n\nimport PaginationButton from './pagination-button';\n\ntype PaginationButtonTriggerProps = {\n color?: string;\n isDisabled?: boolean;\n onClick?: () => void;\n visuallyHidden?: string;\n icon?: React.ReactNode;\n};\n\nconst PaginationButtonTrigger: React.FC<PaginationButtonTriggerProps> = ({\n color,\n isDisabled,\n onClick,\n visuallyHidden,\n icon,\n}) => (\n <PaginationButton data-test-id=\"DLVCc_fBK35spHm5WxjcJ\" color={color} isDisabled={isDisabled} onClick={onClick}>\n <VisuallyHidden>{visuallyHidden}</VisuallyHidden>\n {icon}\n </PaginationButton>\n);\n\nPaginationButtonTrigger.defaultProps = {\n color: undefined,\n isDisabled: undefined,\n onClick: undefined,\n visuallyHidden: undefined,\n icon: undefined,\n};\n\nexport default PaginationButtonTrigger;\n","import { ArrowLeftIcon, ArrowRightIcon, ChevronLeftIcon, ChevronRightIcon } from '@chakra-ui/icons';\nimport { Box, Text, useColorModeValue } from '@chakra-ui/react';\nimport * as React from 'react';\n\nimport PaginationButton from './pagination-button';\nimport PaginationButtonTrigger from './pagination-button-trigger';\n\nexport interface PaginationProps {\n /** Additional CSS classes to give to the pagination. */\n className?: string;\n /** The current page number. */\n current: number;\n /** Total number of pages. */\n total: number;\n /**\n * Callback to run when a page number is selected. You can use this to e.g.\n * run setState on your component's page state.\n */\n onSelect?: (page: number) => void;\n}\n\nconst Pagination: React.FC<PaginationProps> = ({ className, current, total, onSelect }) => {\n const btnColorDisabled = useColorModeValue('secondary.100', 'primary.500');\n const btnColor = useColorModeValue('primary.500', 'secondary.100');\n const disabledPrevious = current === 1;\n const previousButtonColor = disabledPrevious ? btnColorDisabled : btnColor;\n const disabledNext = current === total;\n const nextButtonColor = disabledNext ? btnColorDisabled : btnColor;\n\n const handleSelectPage = (page: number) => {\n if (onSelect) {\n onSelect(page);\n }\n };\n\n const generatePages = (): (number | string)[] => {\n const maxButtons = 5;\n const pageButtons: (number | string)[] = [];\n\n let startPage: number;\n let endPage: number;\n\n if (maxButtons && maxButtons < total) {\n startPage = Math.max(Math.min(current - Math.floor(maxButtons / 2), total - maxButtons + 1), 1);\n endPage = startPage + maxButtons - 1;\n } else {\n startPage = 1;\n endPage = total;\n }\n\n // eslint-disable-next-line no-plusplus\n for (let page = startPage; page <= endPage; ++page) {\n pageButtons.push(page);\n }\n\n return pageButtons;\n };\n\n return (\n <Box className={className} display=\"inline-flex\" alignItems=\"center\">\n <Box mr={1}>\n <PaginationButtonTrigger\n data-test-id=\"Pagination-Button\"\n color={previousButtonColor}\n isDisabled={disabledPrevious}\n onClick={() => handleSelectPage(1)}\n visuallyHidden=\"First Page\"\n icon={<ArrowLeftIcon width={2} />}\n />\n </Box>\n <Box backgroundColor={useColorModeValue('neutral.300', 'mirage.900')} borderRadius={50}>\n <PaginationButtonTrigger\n data-test-id=\"Pagination-Button\"\n color={previousButtonColor}\n isDisabled={disabledPrevious}\n onClick={() => handleSelectPage(current - 1)}\n visuallyHidden=\"Previous Page\"\n icon={<ChevronLeftIcon />}\n />\n {generatePages().map(page => {\n return (\n <PaginationButton\n data-test-id=\"Pagination-Button\"\n key={page}\n isActive={page === current}\n onClick={() => (typeof page === 'number' ? handleSelectPage(page) : null)}\n >\n <Text scale={300} fontSize=\"text.sm\" lineHeight={18} fontWeight={500}>\n {page}\n </Text>\n </PaginationButton>\n );\n })}\n <PaginationButtonTrigger\n data-test-id=\"Pagination-Button\"\n color={nextButtonColor}\n isDisabled={disabledNext}\n onClick={() => handleSelectPage(current + 1)}\n visuallyHidden=\"Next Page\"\n icon={<ChevronRightIcon />}\n />\n </Box>\n <Box ml={1}>\n <PaginationButtonTrigger\n data-test-id=\"Pagination-Button\"\n color={nextButtonColor}\n isDisabled={disabledNext}\n onClick={() => handleSelectPage(total)}\n visuallyHidden=\"Last Page\"\n icon={<ArrowRightIcon width={2} />}\n />\n </Box>\n </Box>\n );\n};\n\nPagination.defaultProps = {\n className: undefined,\n onSelect: undefined,\n};\n\nPagination.displayName = 'Pagination';\n\nexport default Pagination;\n","import type { TextProps } from '@chakra-ui/react';\nimport { Text } from '@chakra-ui/react';\nimport * as React from 'react';\n\nexport interface PaginationDetailProps extends TextProps {\n // Current page of pages\n page: number;\n /** Total limit of pages. */\n limit: number;\n // Length of data\n length: number;\n}\n\nconst PaginationDetail: React.FC<PaginationDetailProps> = ({\n page,\n limit,\n length,\n scale = 300,\n fontSize = 'xs',\n lineHeight = 18,\n ...rest\n}) => {\n return (\n <Text scale={scale} fontSize={fontSize} lineHeight={lineHeight} {...rest}>\n {`${(page - 1) * limit + 1}-${limit * page < length ? limit * page : length} dari ${length} item`}\n </Text>\n );\n};\n\nexport default PaginationDetail;\n","import { Box, Select, Text, useColorModeValue } from '@chakra-ui/react';\nimport * as React from 'react';\nimport { FiChevronDown } from 'react-icons/fi';\n\nexport interface PaginationFilterProps<T> {\n /** Total limit of pages. */\n limit?: number;\n /** Label in front of select input */\n label?: string;\n /** Label items. */\n items: T[];\n /** The change handler for the select. */\n onChange: (changes: T) => void;\n}\n\nconst PaginationFilter: React.FC<PaginationFilterProps<number>> = ({\n limit,\n label = 'Baris per halaman:',\n items,\n onChange,\n ...rest\n}) => {\n const [value, setValue] = React.useState(limit);\n\n return (\n <Box display=\"flex\" flexDirection=\"row\" alignItems=\"center\">\n <Text fontSize=\"text.sm\" lineHeight={18} color={useColorModeValue('neutral.900', 'white')} {...rest}>\n {label}\n </Text>\n <Select\n textAlign=\"center\"\n size=\"xs\"\n outline=\"none\"\n border=\"none\"\n boxShadow=\"none\"\n width={18}\n icon={<FiChevronDown />}\n _focusVisible={{ boxShadow: 'none' }}\n onChange={e => {\n const numberValue = Number(e.target.value);\n onChange(numberValue);\n setValue(numberValue);\n }}\n value={value}\n >\n {items.map(item => {\n return (\n <option key={item} value={item}>\n {item}\n </option>\n );\n })}\n </Select>\n </Box>\n );\n};\n\nPaginationFilter.defaultProps = {\n limit: 10,\n label: undefined,\n};\n\nexport default PaginationFilter;\n","/* eslint-disable no-nested-ternary */\nimport type { RadioProps } from '@chakra-ui/react';\nimport { Box, Radio, Text } from '@chakra-ui/react';\nimport type { PropsWithChildren } from 'react';\nimport React from 'react';\n\nexport interface RadioComponentProps extends RadioProps, PropsWithChildren {\n isError?: boolean;\n helpText?: string;\n errorText?: string;\n}\n\nfunction RadioComponent({\n isError = false,\n helpText = '',\n errorText = '',\n children,\n isDisabled,\n ...rest\n}: RadioComponentProps) {\n const variant = isError ? 'errors' : 'unstyled';\n return (\n <Box>\n <Box display=\"flex\">\n <Radio variant={variant} {...rest} isDisabled={isDisabled}>\n {children && (\n <Text textStyle=\"text.sm\" color={isDisabled ? 'black.low' : 'black.high'}>\n {children}\n </Text>\n )}\n </Radio>\n </Box>\n <Box mt=\"5px\" ml=\"24px\">\n {isError ? (\n <Text textStyle=\"text.xs\" color=\"danger.500\">\n {errorText}\n </Text>\n ) : (\n <Text textStyle=\"text.xs\" color=\"black.medium\">\n {helpText}\n </Text>\n )}\n </Box>\n </Box>\n );\n}\n\nRadioComponent.defaultProps = {\n isError: false,\n helpText: '',\n errorText: '',\n};\n\nexport default RadioComponent;\n","/* eslint-disable no-nested-ternary */\nimport type { RadioGroupProps } from '@chakra-ui/react';\nimport { Box, RadioGroup, Stack } from '@chakra-ui/react';\nimport React from 'react';\n\nimport type { FieldProps } from '../../field';\nimport { Field } from '../../field';\n\nexport interface RadioGroupComponentProps extends FieldProps, RadioGroupProps {\n label: string;\n helpText?: string;\n isError?: boolean;\n errorMessage?: string;\n}\n\nfunction RadioGroupComponent(props: RadioGroupComponentProps) {\n const { children, label, helpText, isError, errorMessage, ...rest } = props;\n return (\n <Field {...rest} label={label} leftHelperText={helpText} isError={isError} errorMessage={errorMessage}>\n <Box mt=\"12px\">\n <RadioGroup {...rest}>\n <Stack spacing={[1, '16px']} direction={['column', 'row']}>\n {children}\n </Stack>\n </RadioGroup>\n </Box>\n </Field>\n );\n}\n\nRadioGroupComponent.defaultProps = {\n helpText: '',\n isError: false,\n errorMessage: '',\n};\n\nexport default RadioGroupComponent;\n","import { Grid } from '@chakra-ui/react';\nimport { Rating as RatingIcon } from '@ctlyst.id/internal-icon';\nimport React from 'react';\n\ntype PropsValue = 0 | 1 | 2 | 3 | 4 | 5;\n\nexport interface RatingProps {\n value: PropsValue;\n}\n\nconst Rating = ({ value }: RatingProps) => {\n return (\n <Grid gap={'4px'} display=\"flex\">\n {[...Array(5)].map((_, i) => (\n <RatingIcon color={i < value ? '#FFA230' : '#E0E0E0'} size={24} />\n ))}\n </Grid>\n );\n};\n\nexport default Rating;\n","import { Box } from '@chakra-ui/react';\nimport { css } from '@emotion/react';\nimport type { FC, PropsWithChildren } from 'react';\nimport React from 'react';\n\nimport { colors } from '../../../config/theme/foundations';\n\ninterface SelectWrapperProps {\n isError?: boolean;\n}\n\nconst SelectWrapper: FC<PropsWithChildren<SelectWrapperProps>> = ({ children, isError = false }) => {\n return (\n <Box\n css={css`\n .react-select__control {\n border-color: ${isError ? colors.danger['500'] : colors.neutral['500']} !important;\n }\n\n .react-select__control:hover {\n border-color: ${isError ? colors.danger['500'] : colors.primary['500']} !important;\n }\n `}\n >\n {children}\n </Box>\n );\n};\n\nSelectWrapper.defaultProps = {\n isError: false,\n};\n\nexport default SelectWrapper;\n","/* eslint-disable @typescript-eslint/no-explicit-any */\n/* eslint-disable no-nested-ternary */\n/* eslint-disable import/prefer-default-export */\nimport type { ColorMode } from '@chakra-ui/system';\nimport type { CSSObjectWithLabel, GroupBase, StylesConfig, Theme } from 'react-select';\n\nimport { colors, textStyles } from '../../../config/theme/foundations';\n\nconst styleMd = textStyles.text.sm;\nconst selectStyle = {\n fontSize: styleMd.fontSize,\n lineHeight: styleMd.lineHeight,\n letterSpacing: 0,\n};\n\nexport function selectStyles<\n OptionType = unknown,\n IsMulti extends boolean = boolean,\n Group extends GroupBase<OptionType> = GroupBase<OptionType>\n>(colorMode: ColorMode, _isError: boolean): StylesConfig<OptionType, IsMulti, Group> | undefined {\n return {\n control: (base: CSSObjectWithLabel, state: any) =>\n colorMode === 'dark'\n ? {\n ...base,\n ...selectStyle,\n background: 'transparent',\n color: colors.primary['300'],\n borderColor: colors.secondary['500'],\n boxShadow: state.isFocused ? 'none' : `inherit`,\n }\n : {\n ...base,\n ...selectStyle,\n boxShadow: state.isFocused ? 'none' : colors.neutral['500'],\n },\n option: (base: CSSObjectWithLabel, { isSelected }) =>\n colorMode === 'dark'\n ? {\n ...base,\n ...selectStyle,\n background: isSelected ? colors.primary['700'] : colors.dark['800'],\n color: 'white',\n }\n : { ...base, ...selectStyle },\n menu: (base: CSSObjectWithLabel) =>\n colorMode === 'dark'\n ? {\n ...base,\n ...selectStyle,\n background: colors.dark['800'],\n zIndex: 5,\n }\n : {\n ...base,\n ...selectStyle,\n zIndex: 5,\n },\n singleValue: (base: CSSObjectWithLabel) =>\n colorMode === 'dark' ? { ...base, ...selectStyle, color: 'white' } : { ...base, ...selectStyle },\n input: (base: CSSObjectWithLabel) =>\n colorMode === 'dark' ? { ...base, ...selectStyle, color: 'white' } : { ...base, ...selectStyle },\n dropdownIndicator: (base: CSSObjectWithLabel) =>\n colorMode === 'dark' ? { ...base, ...selectStyle, color: colors.secondary['500'] } : { ...base, ...selectStyle },\n indicatorSeparator: (base: CSSObjectWithLabel) =>\n colorMode === 'dark'\n ? { ...base, ...selectStyle, backgroundColor: colors.secondary['500'] }\n : { ...base, ...selectStyle },\n };\n}\n\nexport const themeSelect = (theme: Theme) => {\n return {\n ...theme,\n colors: {\n ...theme.colors,\n primary: colors.primary['500'],\n primary25: colors.primary['50'],\n primary50: colors.primary['100'],\n primary75: colors.primary['200'],\n },\n };\n};\n","/* eslint-disable react/require-default-props */\nimport { useColorMode } from '@chakra-ui/system';\nimport React from 'react';\nimport type { GroupBase, Props as ReactSelectProps } from 'react-select';\nimport ReactSelect from 'react-select';\n\nimport SelectWrapper from './select-wrapper';\nimport type { ExtendedSelectProps } from './types/select.types';\nimport { selectStyles, themeSelect } from './utils';\n\nexport type SelectProps<\n Option = unknown,\n IsMulti extends boolean = boolean,\n Group extends GroupBase<Option> = GroupBase<Option>\n> = ReactSelectProps<Option, IsMulti, Group> & ExtendedSelectProps;\n\nfunction Select<OptionType, Group extends GroupBase<OptionType>, IsMulti extends boolean = false>({\n styles,\n isError = false,\n ...rest\n}: SelectProps<OptionType, IsMulti, Group>) {\n const { colorMode } = useColorMode();\n\n return (\n <SelectWrapper isError={isError}>\n <ReactSelect<OptionType, IsMulti, Group>\n classNamePrefix=\"react-select\"\n {...(rest as ReactSelectProps<OptionType, IsMulti, Group>)}\n styles={{ ...selectStyles(colorMode, isError) }}\n theme={themeSelect}\n />\n </SelectWrapper>\n );\n}\n\nexport default Select;\n","import { useColorMode } from '@chakra-ui/system';\nimport React from 'react';\nimport type { GroupBase } from 'react-select';\nimport type { AsyncPaginateProps } from 'react-select-async-paginate';\nimport { AsyncPaginate } from 'react-select-async-paginate';\n\nimport SelectWrapper from './select-wrapper';\nimport type { ExtendedSelectProps } from './types/select.types';\nimport { selectStyles, themeSelect } from './utils';\n\nexport type SelectAsyncProps<\n OptionType = unknown,\n Group extends GroupBase<OptionType> = GroupBase<OptionType>,\n Additional = unknown,\n IsMulti extends boolean = false\n> = AsyncPaginateProps<OptionType, Group, Additional, IsMulti> & ExtendedSelectProps;\n\nfunction SelectAsync<OptionType, Group extends GroupBase<OptionType>, Additional, IsMulti extends boolean = false>({\n styles,\n isError = false,\n ...rest\n}: SelectAsyncProps<OptionType, Group, Additional, IsMulti>) {\n const { colorMode } = useColorMode();\n\n return (\n <SelectWrapper isError={isError}>\n <AsyncPaginate<OptionType, Group, Additional, IsMulti>\n classNamePrefix=\"react-select\"\n {...(rest as AsyncPaginateProps<OptionType, Group, Additional, IsMulti>)}\n styles={{ ...selectStyles<OptionType, IsMulti, Group>(colorMode, isError), ...styles }}\n theme={themeSelect}\n />\n </SelectWrapper>\n );\n}\n\nexport default SelectAsync;\n","import { useColorMode } from '@chakra-ui/system';\nimport React from 'react';\nimport type { GroupBase } from 'react-select';\nimport type { AsyncCreatableProps } from 'react-select/async-creatable';\nimport ReactSelectAsyncCreatable from 'react-select/async-creatable';\n\nimport SelectWrapper from './select-wrapper';\nimport type { ExtendedSelectProps } from './types/select.types';\nimport { selectStyles, themeSelect } from './utils';\n\nexport type SelectAsyncCreatableProps<\n Option = unknown,\n IsMulti extends boolean = false,\n Group extends GroupBase<Option> = GroupBase<Option>\n> = AsyncCreatableProps<Option, IsMulti, Group> & ExtendedSelectProps;\n\nexport default function SelectAsyncCreatable<\n Option = unknown,\n IsMulti extends boolean = false,\n Group extends GroupBase<Option> = GroupBase<Option>\n>({ styles, isError = false, ...rest }: SelectAsyncCreatableProps<Option, IsMulti, Group>) {\n const { colorMode } = useColorMode();\n\n return (\n <SelectWrapper isError={isError}>\n <ReactSelectAsyncCreatable\n classNamePrefix=\"react-select\"\n {...(rest as SelectAsyncCreatableProps<Option, IsMulti, Group>)}\n styles={{ ...selectStyles<Option, IsMulti, Group>(colorMode, isError), ...styles }}\n theme={themeSelect}\n />\n </SelectWrapper>\n );\n}\n","import { useColorMode } from '@chakra-ui/system';\nimport React from 'react';\nimport type { GroupBase } from 'react-select';\nimport type { CreatableProps } from 'react-select/creatable';\nimport ReactSelectCreatable from 'react-select/creatable';\n\nimport SelectWrapper from './select-wrapper';\nimport type { ExtendedSelectProps } from './types/select.types';\nimport { selectStyles, themeSelect } from './utils';\n\nexport type SelectCreatableProps<\n Option = unknown,\n IsMulti extends boolean = false,\n Group extends GroupBase<Option> = GroupBase<Option>\n> = CreatableProps<Option, IsMulti, Group> & ExtendedSelectProps;\n\nexport default function SelectCreatable<\n Option = unknown,\n IsMulti extends boolean = false,\n Group extends GroupBase<Option> = GroupBase<Option>\n>({ styles, isError = false, ...rest }: SelectCreatableProps<Option, IsMulti, Group>) {\n const { colorMode } = useColorMode();\n\n return (\n <SelectWrapper isError={isError}>\n <ReactSelectCreatable\n classNamePrefix=\"react-select\"\n {...(rest as SelectCreatableProps<Option, IsMulti, Group>)}\n styles={{ ...selectStyles<Option, IsMulti, Group>(colorMode, isError), ...styles }}\n theme={themeSelect}\n />\n </SelectWrapper>\n );\n}\n","import type {\n HTMLChakraProps,\n ResponsiveValue,\n SystemProps,\n SystemStyleObject,\n ThemingProps,\n UseCheckboxProps,\n} from '@chakra-ui/react';\nimport { chakra, Flex, forwardRef, omitThemingProps, useCheckbox, useMultiStyleConfig } from '@chakra-ui/react';\nimport { cx, dataAttr } from '@chakra-ui/shared-utils';\nimport { Check, Close } from '@ctlyst.id/internal-icon';\nimport React, { useMemo } from 'react';\n\nexport interface SwitchProps\n extends Omit<UseCheckboxProps, 'isIndeterminate'>,\n Omit<HTMLChakraProps<'label'>, keyof UseCheckboxProps>,\n ThemingProps<'Switch'> {\n /**\n * The spacing between the switch and its label text\n * @default 0.5rem\n * @type SystemProps[\"marginLeft\"]\n */\n spacing?: SystemProps['marginLeft'];\n size?: 'sm' | 'md' | 'lg';\n}\n\n/**\n * The `Switch` component is used as an alternative for the checkbox component for switching between \"enabled\" and \"disabled\" states.\n *\n * @see Docs https://chakra-ui.com/docs/components/switch\n * @see WAI-ARIA https://www.w3.org/WAI/ARIA/apg/patterns/switch/\n */\nconst Switch = forwardRef<SwitchProps, 'input'>(function Switch(props, ref) {\n const styles = useMultiStyleConfig('Switch', props);\n\n const { size = 'md' } = props;\n\n const { spacing = '0.5rem', children, ...ownProps } = omitThemingProps(props);\n\n const { state, getInputProps, getCheckboxProps, getRootProps, getLabelProps } = useCheckbox(ownProps);\n\n const containerStyles: SystemStyleObject = useMemo(\n () => ({\n display: 'inline-block',\n position: 'relative',\n verticalAlign: 'middle',\n lineHeight: 0,\n ...styles.container,\n }),\n [styles.container]\n );\n\n const trackStyles: SystemStyleObject = useMemo(\n () => ({\n display: 'inline-flex',\n flexShrink: 0,\n justifyContent: 'flex-start',\n boxSizing: 'content-box',\n cursor: 'pointer',\n width: 200,\n ...styles.track,\n }),\n [styles.track]\n );\n\n const labelStyles: SystemStyleObject = useMemo(\n () => ({\n userSelect: 'none',\n marginStart: spacing,\n ...styles.label,\n }),\n [spacing, styles.label]\n );\n\n const getIconSize = (value: ResponsiveValue<'sm' | 'md' | 'lg'>) => {\n const iconSize = {\n sm: 3,\n md: 4,\n lg: 5,\n };\n\n return iconSize[value as keyof typeof iconSize];\n };\n\n return (\n <chakra.label\n {...getRootProps()}\n display=\"flex\"\n alignItems=\"center\"\n className={cx('chakra-switch', props.className)}\n __css={containerStyles}\n >\n <input data-test-id=\"\" className=\"chakra-switch__input\" {...getInputProps({}, ref)} />\n <chakra.span {...getCheckboxProps()} className=\"chakra-switch__track\" pos=\"relative\" __css={trackStyles}>\n <Flex gap={2} pos=\"absolute\" top=\"50%\" left=\"50%\" transform=\"translate(-50%, -50%)\">\n <Check color=\"white\" size={getIconSize(size)} />\n <Close color={state.isDisabled ? 'neutral.600' : 'neutral.900'} size={getIconSize(size)} />\n </Flex>\n <chakra.span\n __css={styles.thumb}\n className=\"chakra-switch__thumb\"\n data-checked={dataAttr(state.isChecked)}\n data-hover={dataAttr(state.isHovered)}\n />\n </chakra.span>\n {children && (\n <chakra.span\n className=\"chakra-switch__label\"\n color={state.isDisabled ? 'black.low' : 'black.high'}\n {...getLabelProps()}\n __css={labelStyles}\n >\n {children}\n </chakra.span>\n )}\n </chakra.label>\n );\n});\n\nexport default Switch;\n","import type { TabProps as ChakraTabProps } from '@chakra-ui/react';\nimport { Button, Flex, forwardRef, useColorModeValue, useMultiStyleConfig, useTab } from '@chakra-ui/react';\nimport * as React from 'react';\n\ntype AddonProps = {\n isSelected: boolean;\n};\n\ntype TabProps = ChakraTabProps & {\n leftAddon?({ isSelected }: AddonProps): React.ReactNode;\n rightAddon?({ isSelected }: AddonProps): React.ReactNode;\n};\n\nconst Tab = forwardRef<TabProps, 'button'>((props, ref) => {\n const tabProps = useTab({ ...props, ref });\n const isSelected = !!tabProps['aria-selected'];\n const styles = useMultiStyleConfig('Tabs', tabProps);\n return (\n <Button\n p={3}\n fontSize=\"text.md\"\n _selected={{\n borderColor: useColorModeValue('primary.400', 'primary.300'),\n color: useColorModeValue('primary.500', 'primary.300'),\n transform: 'translateY(-2px)',\n }}\n color={useColorModeValue('black.high', 'primary.300')}\n _focus={{ bg: 'none' }}\n __css={styles.tab}\n {...tabProps}\n >\n <Flex>\n {props.leftAddon?.({ isSelected })}\n {tabProps.children}\n {props.rightAddon?.({ isSelected })}\n </Flex>\n </Button>\n );\n});\n\nexport default Tab;\n","import type { TabListProps } from '@chakra-ui/react';\nimport { forwardRef, TabList as ChakraTabList, useColorModeValue } from '@chakra-ui/react';\nimport React from 'react';\n\nconst TabList = forwardRef<TabListProps, 'div'>((props, ref) => (\n <ChakraTabList borderBottom=\"1px solid\" borderColor={useColorModeValue('gray.200', 'bright-gray.800')} ref={ref}>\n {props.children}\n </ChakraTabList>\n));\n\nexport default TabList;\n","import type { TabPanelProps } from '@chakra-ui/react';\nimport { forwardRef, TabPanel as ChakraTabPanel } from '@chakra-ui/react';\nimport React from 'react';\n\nconst TabPanel = forwardRef<TabPanelProps, 'div'>((props, ref) => (\n <ChakraTabPanel px={0} ref={ref}>\n {props.children}\n </ChakraTabPanel>\n));\n\nexport default TabPanel;\n","export const ONE_MEGA_BYTE = 1000000;\nexport const messages = {\n dragActive: 'Drop file disini...',\n dragInActive: `(Klik atau drag untuk input file)`,\n dragReplace: `(Klik atau drag untuk mengganti file)`,\n replaceFile: 'Ganti File',\n uploadFile: 'Upload File',\n};\n","import type { FlexProps } from '@chakra-ui/react';\nimport { Flex, Heading, Stack, Text } from '@chakra-ui/react';\nimport * as React from 'react';\nimport type { DropzoneOptions, DropzoneState, FileRejection } from 'react-dropzone';\nimport { useDropzone } from 'react-dropzone';\n\nimport { messages } from '../constants';\n\nexport type UploaderProps = FlexProps &\n DropzoneOptions & {\n onHandleUploadFile?: (res: File[]) => void;\n onHandleRejections?: (rejections: FileRejection[]) => void;\n renderError?: (rejections: FileRejection[]) => React.ReactNode;\n selected?: boolean;\n };\n\nexport type UploaderState = DropzoneState;\n\nconst Uploader: React.FC<UploaderProps> = ({\n onHandleUploadFile,\n onHandleRejections,\n accept,\n multiple,\n selected,\n maxFiles = 1,\n renderError,\n validator,\n ...props\n}) => {\n const [selectedFirstFile, setSelectedFirstFile] = React.useState<File>();\n const [isSelected, setIsSelected] = React.useState<boolean>(selected || false);\n const onDrop = React.useCallback(\n (acceptedFiles: File[]) => {\n if (acceptedFiles.length > 0) {\n onHandleUploadFile?.(acceptedFiles);\n if (!multiple) {\n setIsSelected(true);\n setSelectedFirstFile(acceptedFiles[0]);\n }\n }\n },\n [multiple, onHandleUploadFile]\n );\n\n const { getRootProps, getInputProps, isDragActive, fileRejections } = useDropzone({\n onDrop,\n accept,\n maxFiles,\n multiple,\n validator,\n });\n\n React.useEffect(() => {\n if (fileRejections.length > 0 && onHandleRejections) {\n onHandleRejections(fileRejections);\n }\n }, [fileRejections, onHandleRejections]);\n\n const isError = React.useMemo(() => {\n const error = fileRejections.length > 0;\n if (error) {\n setIsSelected(false);\n }\n return error;\n }, [fileRejections]);\n\n React.useEffect(() => {\n setIsSelected(selected ?? false);\n }, [selected]);\n\n return (\n <Stack direction=\"column\">\n <Flex\n minH={200}\n border=\"1px dashed\"\n borderColor={isError ? 'danger.500' : 'primary.500'}\n alignItems=\"center\"\n justifyContent=\"center\"\n cursor=\"pointer\"\n {...props}\n {...getRootProps()}\n >\n <input {...getInputProps()} />\n {isDragActive ? (\n <Text>{messages.dragActive}</Text>\n ) : (\n <Flex flexDirection=\"column\" alignItems=\"center\" color={isError ? 'danger.500' : 'primary.500'}>\n {!multiple && isSelected && (\n <Heading fontWeight={400} fontSize=\"18px\" lineHeight={28} color=\"black.high\" mb={2}>\n {selectedFirstFile?.name}\n </Heading>\n )}\n {!isSelected && (\n <Heading fontWeight={400} fontSize=\"18px\" lineHeight={28} mb={2}>\n {messages.uploadFile}\n </Heading>\n )}\n {isSelected ? <Text>{messages.dragReplace}</Text> : <Text>{messages.dragInActive}</Text>}\n </Flex>\n )}\n </Flex>\n {renderError?.(fileRejections)}\n </Stack>\n );\n};\n\nUploader.defaultProps = {\n onHandleUploadFile: undefined,\n onHandleRejections: undefined,\n renderError: undefined,\n selected: false,\n};\n\nexport default Uploader;\n","import { alertAnatomy as parts } from '@chakra-ui/anatomy';\nimport type { StyleFunctionProps } from '@chakra-ui/styled-system';\nimport { createMultiStyleConfigHelpers, cssVar } from '@chakra-ui/styled-system';\nimport { transparentize } from '@chakra-ui/theme-tools';\n\nconst { definePartsStyle, defineMultiStyleConfig } = createMultiStyleConfigHelpers(parts.keys);\n\nconst $fg = cssVar('alert-fg');\nconst $bg = cssVar('alert-bg');\n\nconst baseStyle = definePartsStyle({\n container: {\n bg: $bg.reference,\n px: '4',\n py: '2',\n borderRadius: 'md',\n },\n title: {\n fontWeight: '400',\n lineHeight: '18px',\n marginEnd: '2',\n },\n description: {\n lineHeight: '6',\n },\n icon: {\n color: $fg.reference,\n flexShrink: 0,\n marginEnd: '3',\n w: '4',\n h: '4',\n },\n action: {\n '& +.chakra-alert__close': {\n ml: '3',\n },\n },\n close: {\n color: $fg.reference,\n w: '4',\n h: '4',\n },\n\n spinner: {\n color: $fg.reference,\n flexShrink: 0,\n marginEnd: '3',\n w: '5',\n h: '5',\n },\n});\n\nfunction getBg(props: StyleFunctionProps) {\n const { theme, colorScheme: c } = props;\n const darkBg = transparentize(`${c}.200`, 0.16)(theme);\n return {\n light: `colors.${c}.50`,\n dark: darkBg,\n };\n}\n\nconst variantSubtle = definePartsStyle(props => {\n const { colorScheme: c } = props;\n const bg = getBg(props);\n return {\n container: {\n [$fg.variable]: `colors.${c}.700`,\n [$bg.variable]: bg.light,\n _dark: {\n [$fg.variable]: `colors.${c}.200`,\n [$bg.variable]: bg.dark,\n },\n color: $fg.reference,\n },\n };\n});\n\nconst variantSolid = definePartsStyle(props => {\n const { colorScheme: c } = props;\n return {\n container: {\n [$fg.variable]: `colors.white.high`,\n [$bg.variable]: `colors.${c}.500`,\n _dark: {\n [$fg.variable]: `colors.gray.900`,\n [$bg.variable]: `colors.${c}.200`,\n },\n color: $fg.reference,\n },\n };\n});\n\nconst variants = {\n subtle: variantSubtle,\n solid: variantSolid,\n};\n\nconst alertTheme = defineMultiStyleConfig({\n baseStyle,\n variants,\n defaultProps: {\n variant: 'subtle',\n colorScheme: 'info',\n },\n});\n\nexport default alertTheme;\n","import type { ComponentStyleConfig } from '@chakra-ui/theme';\n\nconst Badge: ComponentStyleConfig = {\n baseStyle: {\n display: 'inline-block',\n fontSize: 10,\n fontWeight: 600,\n lineHeight: '1.25',\n textTransform: 'none',\n px: 2,\n py: '0.5',\n },\n variants: {\n 'primary-solid': {\n bg: 'primary.500',\n color: 'white',\n },\n 'success-solid': {\n bg: 'success.500',\n color: 'white',\n },\n 'info-solid': {\n bg: 'info.500',\n color: 'white',\n },\n 'warning-solid': {\n bg: 'warning.500',\n color: 'white',\n },\n 'danger-solid': {\n bg: 'danger.500',\n color: 'white',\n },\n 'neutral-solid': {\n bg: 'neutral.600',\n color: 'white',\n },\n 'primary-light': {\n bg: 'primary.50',\n color: 'primary.500',\n },\n 'success-light': {\n bg: 'success.50',\n color: 'success.500',\n },\n 'info-light': {\n bg: 'info.50',\n color: 'info.500',\n },\n 'warning-light': {\n bg: 'warning.50',\n color: 'warning.500',\n },\n 'danger-light': {\n bg: 'danger.50',\n color: 'danger.500',\n },\n 'neutral-light': {\n bg: 'neutral.100',\n color: 'neutral.600',\n },\n },\n // The default size and variant values\n defaultProps: {\n variant: 'primary-solid',\n },\n};\n\nexport default Badge;\n","import { defineStyleConfig } from '@chakra-ui/styled-system';\r\nimport type { ComponentStyleConfig } from '@chakra-ui/theme';\r\n\r\n// You can also use the more specific type for\r\n// a single part component: ComponentSingleStyleConfig\r\n\r\nconst Button: ComponentStyleConfig = defineStyleConfig({\r\n // The styles all button have in common\r\n baseStyle: {\r\n fontSize: 'body.1',\r\n fontWeight: 'normal',\r\n px: 4,\r\n py: 2.5,\r\n borderRadius: 'md',\r\n\r\n _disabled: {\r\n opacity: 1,\r\n bg: 'neutral.300',\r\n color: 'black.low',\r\n },\r\n\r\n _hover: {\r\n _disabled: {\r\n bg: 'neutral.300',\r\n color: 'black.low',\r\n },\r\n },\r\n },\r\n\r\n sizes: {\r\n lg: props => {\r\n const { variant } = props;\r\n const base = {\r\n fontSize: 'text.xl',\r\n h: 12,\r\n px: 4,\r\n py: 2.5,\r\n };\r\n const icon = {\r\n h: 10,\r\n w: 10,\r\n p: 0,\r\n };\r\n return variant === 'icon' ? icon : base;\r\n },\r\n md: props => {\r\n const { variant } = props;\r\n const base = {\r\n fontSize: 'text.md',\r\n h: 9,\r\n px: 3,\r\n py: '7px',\r\n };\r\n const icon = {\r\n h: 9,\r\n w: 9,\r\n p: 0,\r\n };\r\n return variant === 'icon' ? icon : base;\r\n },\r\n sm: props => {\r\n const { variant } = props;\r\n const base = {\r\n fontSize: 'text.sm',\r\n h: '26px',\r\n lineHeight: 4,\r\n px: 2,\r\n py: '5px',\r\n };\r\n const icon = {\r\n h: '26px',\r\n w: '26px',\r\n p: 0,\r\n };\r\n return variant === 'icon' ? icon : base;\r\n },\r\n },\r\n\r\n variants: {\r\n primary: props => {\r\n const { isLoading } = props;\r\n\r\n const basePrimary = {\r\n color: 'white.high',\r\n bg: 'primary.500',\r\n _hover: {\r\n bg: 'primary.600',\r\n },\r\n _active: {\r\n bg: 'primary.700',\r\n },\r\n };\r\n\r\n const disabledLoading = {\r\n _disabled: {\r\n bg: 'primary.500',\r\n },\r\n _hover: {\r\n _disabled: {\r\n bg: 'primary.500',\r\n },\r\n },\r\n };\r\n\r\n return isLoading ? disabledLoading : basePrimary;\r\n },\r\n secondary: props => {\r\n const { isLoading } = props;\r\n\r\n const baseSecondary = {\r\n color: 'primary.500',\r\n borderWidth: 1,\r\n borderStyle: 'inside',\r\n bg: 'white.high',\r\n borderColor: 'primary.500',\r\n _hover: {\r\n bg: 'primary.50',\r\n },\r\n _active: {\r\n bg: 'primary.100',\r\n },\r\n _disabled: {\r\n border: 0,\r\n },\r\n };\r\n\r\n const disabledLoading = {\r\n ...baseSecondary,\r\n _disabled: {\r\n bg: 'white.high',\r\n },\r\n _hover: {\r\n _disabled: {\r\n bg: 'white.high',\r\n },\r\n },\r\n };\r\n\r\n return isLoading ? disabledLoading : baseSecondary;\r\n },\r\n\r\n tertiary: props => {\r\n const { isLoading } = props;\r\n\r\n const baseTertiary = {\r\n color: 'primary.500',\r\n _hover: {\r\n bg: 'primary.50',\r\n },\r\n _active: {\r\n bg: 'primary.100',\r\n },\r\n };\r\n\r\n const disabledLoading = {\r\n ...baseTertiary,\r\n _disabled: {\r\n bg: 'transparent',\r\n },\r\n _hover: {\r\n _disabled: {\r\n bg: 'transparent',\r\n },\r\n },\r\n };\r\n\r\n return isLoading ? disabledLoading : baseTertiary;\r\n },\r\n\r\n danger: props => {\r\n const { isLoading } = props;\r\n\r\n const baseDanger = {\r\n bg: 'danger.500',\r\n color: 'white.high',\r\n _hover: {\r\n bg: 'danger.600',\r\n },\r\n _active: {\r\n bg: 'danger.700',\r\n },\r\n };\r\n\r\n const disabledLoading = {\r\n ...baseDanger,\r\n _disabled: {\r\n bg: 'danger.500',\r\n },\r\n _hover: {\r\n _disabled: {\r\n bg: 'danger.500',\r\n },\r\n },\r\n };\r\n\r\n return isLoading ? disabledLoading : baseDanger;\r\n },\r\n\r\n 'outline-danger': props => {\r\n const { isLoading } = props;\r\n\r\n const baseSecondary = {\r\n color: 'danger.500',\r\n borderWidth: 1,\r\n borderStyle: 'inside',\r\n bg: 'white.high',\r\n borderColor: 'danger.500',\r\n _hover: {\r\n bg: 'danger.50',\r\n },\r\n _active: {\r\n bg: 'danger.100',\r\n },\r\n _disabled: {\r\n border: 0,\r\n },\r\n };\r\n\r\n const disabledLoading = {\r\n ...baseSecondary,\r\n _disabled: {\r\n bg: 'white.high',\r\n },\r\n _hover: {\r\n _disabled: {\r\n bg: 'white.high',\r\n },\r\n },\r\n };\r\n\r\n return isLoading ? disabledLoading : baseSecondary;\r\n },\r\n\r\n link: {\r\n bg: 'transparent',\r\n color: 'primary.500',\r\n _disabled: {\r\n opacity: '1',\r\n bg: 'transparent',\r\n color: 'black.medium',\r\n },\r\n _hover: {\r\n _disabled: {\r\n bg: 'transparent',\r\n color: 'black.medium',\r\n },\r\n },\r\n },\r\n\r\n icon: {\r\n bg: 'neutral.50',\r\n minW: 0,\r\n borderColor: 'neutral.200',\r\n borderWidth: '1px',\r\n\r\n _active: {\r\n bg: 'neutral.500',\r\n borderColor: 'neutral.50',\r\n },\r\n _disabled: {\r\n bg: 'neutral.500',\r\n opacity: 0.3,\r\n borderColor: 'neutral.50',\r\n },\r\n _hover: {\r\n bg: 'neutral.400',\r\n _disabled: {\r\n bg: 'neutral.500',\r\n opacity: 0.3,\r\n borderColor: 'neutral.50',\r\n },\r\n },\r\n },\r\n },\r\n\r\n defaultProps: {\r\n size: 'md',\r\n variant: 'primary',\r\n colorScheme: 'primary',\r\n },\r\n});\r\n\r\nexport default Button;\r\n","import { defineStyleConfig } from '@chakra-ui/styled-system';\n\nconst CardStyle = defineStyleConfig({\n baseStyle: props => {\n return {\n shadow: props.withShadow ? 'raised' : 'none',\n borderRadius: props.isRounded ? 'lg' : 'none',\n };\n },\n});\n\nexport default CardStyle;\n","import { checkboxAnatomy } from '@chakra-ui/anatomy';\r\nimport { createMultiStyleConfigHelpers } from '@chakra-ui/react';\r\n\r\nconst { definePartsStyle, defineMultiStyleConfig } = createMultiStyleConfigHelpers(checkboxAnatomy.keys);\r\n\r\nconst baseStyle = definePartsStyle({\r\n control: {\r\n borderRadius: '4px',\r\n width: '16px',\r\n height: '16px',\r\n border: '1px solid',\r\n },\r\n icon: {\r\n color: 'neutral.50',\r\n width: '9px',\r\n },\r\n label: {\r\n fontWeight: '400',\r\n lineHeight: '18px',\r\n color: 'black.high',\r\n ml: '8px',\r\n },\r\n _disabled: {\r\n background: 'neutral.500',\r\n border: '1px solid',\r\n borderColor: 'neutral.500',\r\n cursor: 'not-allowed',\r\n },\r\n});\r\n\r\nconst errors = definePartsStyle({\r\n control: {\r\n borderColor: 'danger.500',\r\n _checked: {\r\n borderColor: 'danger.500',\r\n backgroundColor: 'danger.500',\r\n _hover: {\r\n borderColor: 'danger.600',\r\n backgroundColor: 'danger.600',\r\n },\r\n },\r\n _indeterminate: {\r\n borderColor: 'danger.500',\r\n backgroundColor: 'danger.500',\r\n },\r\n },\r\n label: {\r\n fontSize: '12px',\r\n },\r\n});\r\n\r\nconst unstyled = definePartsStyle({\r\n control: {\r\n borderColor: 'neutral.500',\r\n _checked: {\r\n borderColor: 'primary.500',\r\n backgroundColor: 'primary.500',\r\n _hover: {\r\n borderColor: 'primary.600',\r\n backgroundColor: 'primary.600',\r\n },\r\n _disabled: {\r\n backgroundColor: 'neutral.500',\r\n borderColor: 'neutral.500',\r\n },\r\n },\r\n _disabled: {\r\n backgroundColor: 'neutral.500',\r\n borderColor: 'neutral.500',\r\n },\r\n _indeterminate: {\r\n borderColor: 'primary.500',\r\n backgroundColor: 'primary.500',\r\n },\r\n },\r\n label: {\r\n fontSize: '12px',\r\n },\r\n});\r\n\r\nconst variants = {\r\n errors,\r\n unstyled,\r\n};\r\n\r\nconst Checkbox = defineMultiStyleConfig({\r\n baseStyle,\r\n variants,\r\n defaultProps: {\r\n variant: 'unstyled',\r\n },\r\n});\r\n\r\nexport default Checkbox;\r\n","import { defineStyleConfig } from '@chakra-ui/styled-system';\n\nconst Chips = defineStyleConfig({\n baseStyle: props => {\n const { isDisabled, isActive } = props;\n\n const defaultProps = {\n color: 'primary.500',\n fontSize: 'text.small',\n borderRadius: '24px',\n borderWidth: '1px',\n borderColor: 'primary.500',\n bg: 'white.high',\n paddingX: 3,\n paddingY: 1,\n cursor: 'default',\n };\n\n let chipsProps = { ...defaultProps };\n\n if (isActive) {\n const isActiveProps = {\n bg: 'primary.500',\n color: 'white.high',\n };\n chipsProps = { ...chipsProps, ...isActiveProps };\n }\n\n if (isDisabled) {\n const isDisabledProps = {\n bg: 'neutral.200',\n color: 'black.low',\n borderColor: 'neutral.200',\n cursor: 'not-allowed',\n };\n chipsProps = { ...chipsProps, ...isDisabledProps };\n }\n\n return {\n ...chipsProps,\n };\n },\n sizes: {\n sm: {\n fontSize: '12px',\n },\n md: {\n fontSize: '14px',\n },\n },\n defaultProps: {\n size: 'sm',\n },\n});\n\nexport default Chips;\n","import { defineStyle, defineStyleConfig } from '@chakra-ui/styled-system';\r\n\r\nconst baseStyle = defineStyle({\r\n fontSize: 'field.sm',\r\n fontWeight: 'normal',\r\n marginEnd: 1,\r\n mb: 1,\r\n});\r\n\r\nconst FormLabel = defineStyleConfig({\r\n baseStyle,\r\n});\r\n\r\nexport default FormLabel;\r\n","import { inputAnatomy as parts } from '@chakra-ui/anatomy';\r\nimport { createMultiStyleConfigHelpers, defineStyle } from '@chakra-ui/styled-system';\r\nimport { mode } from '@chakra-ui/theme-tools';\r\n\r\nconst { definePartsStyle, defineMultiStyleConfig } = createMultiStyleConfigHelpers(parts.keys);\r\n\r\nconst baseStyle = definePartsStyle({\r\n field: {\r\n width: '100%',\r\n minWidth: 0,\r\n outline: 0,\r\n px: 2,\r\n py: 2.5,\r\n paddingInlineStart: 2,\r\n paddingInlineEnd: 2,\r\n position: 'relative',\r\n appearance: 'none',\r\n color: 'black.high',\r\n _disabled: {\r\n bg: 'neutral.300',\r\n border: 0,\r\n cursor: 'not-allowed',\r\n opacity: 1,\r\n boxShadow: 'none',\r\n color: 'black.medium',\r\n },\r\n _placeholder: {\r\n color: 'black.low',\r\n },\r\n },\r\n});\r\n\r\nconst size = {\r\n lg: defineStyle({\r\n fontSize: 'text.lg',\r\n h: 12,\r\n borderRadius: 'md',\r\n }),\r\n md: defineStyle({\r\n fontSize: 'text.md',\r\n h: 10,\r\n borderRadius: 'md',\r\n }),\r\n sm: defineStyle({\r\n fontSize: 'text.sm',\r\n h: 9.5,\r\n borderRadius: 'md',\r\n }),\r\n};\r\n\r\nconst sizes = {\r\n lg: definePartsStyle({\r\n field: size.lg,\r\n addon: size.lg,\r\n }),\r\n md: definePartsStyle({\r\n field: size.md,\r\n addon: size.md,\r\n }),\r\n sm: definePartsStyle({\r\n field: size.sm,\r\n addon: size.sm,\r\n }),\r\n};\r\n\r\nconst outline = definePartsStyle(props => {\r\n const field = {\r\n border: 0,\r\n outline: 0,\r\n bg: mode('white', 'inherit')(props),\r\n color: mode('inherit', 'white')(props),\r\n _invalid: {\r\n boxShadow: 'none',\r\n },\r\n _focusVisible: {\r\n zIndex: 1,\r\n boxShadow: 'none',\r\n },\r\n };\r\n\r\n return {\r\n field,\r\n };\r\n});\r\n\r\nconst unstyled = definePartsStyle({\r\n field: {\r\n bg: 'transparent',\r\n px: '0',\r\n height: 'auto',\r\n },\r\n addon: {\r\n bg: 'transparent',\r\n px: '0',\r\n height: 'auto',\r\n },\r\n});\r\n\r\nconst variants = {\r\n outline,\r\n unstyled,\r\n};\r\n\r\nconst Input = defineMultiStyleConfig({\r\n baseStyle,\r\n sizes,\r\n variants,\r\n defaultProps: {\r\n size: 'sm',\r\n variant: 'outline',\r\n },\r\n});\r\n\r\nexport default Input;\r\n","import { defineStyleConfig } from '@chakra-ui/styled-system';\nimport { keyframes } from '@emotion/react';\n\nimport colorsTheme from '../foundations/colors';\n\nconst rotate = keyframes({\n '0%': {\n transform: 'rotate(0deg)',\n },\n '100%': {\n transform: 'rotate(360deg)',\n },\n});\n\nconst getLoaderColor = (color: string) => {\n if (color === 'primary') return colorsTheme.primary[600];\n if (color === 'danger') return colorsTheme.danger[500];\n return colorsTheme.white.high;\n};\n\nconst LoaderStyle = defineStyleConfig({\n baseStyle: props => {\n const colors = getLoaderColor(props.color);\n return {\n borderRadius: '50%',\n display: 'flex',\n justifyContent: 'center',\n alignItems: 'center',\n animation: `${rotate} 1s linear infinite`,\n background: `conic-gradient(from 180deg at 50% 50%, ${colors} 0deg, rgba(217, 217, 217, 0) 360deg);`,\n ':before': {\n content: `''`,\n display: 'block',\n borderRadius: '50%',\n width: '6px',\n height: '6px',\n position: 'absolute',\n bottom: 0,\n background: colors,\n },\n };\n },\n sizes: {\n xs: {\n width: '12px',\n height: '12px',\n WebkitMask: 'radial-gradient(farthest-side,#0000 calc(100% - 1.4px),#000 0);',\n ':before': {\n width: '1.4px',\n height: '1.4px',\n },\n },\n sm: {\n width: '16px',\n height: '16px',\n WebkitMask: 'radial-gradient(farthest-side,#0000 calc(100% - 1.87px),#000 0);',\n ':before': {\n width: '1.87px',\n height: '1.87px',\n },\n },\n md: {\n width: '24px',\n height: '24px',\n WebkitMask: 'radial-gradient(farthest-side,#0000 calc(100% - 2.8px),#000 0);',\n ':before': {\n width: '2.8px',\n height: '2.8px',\n },\n },\n lg: {\n width: '50px',\n height: '50px',\n WebkitMask: 'radial-gradient(farthest-side,#0000 calc(100% - 5.83px),#000 0);',\n ':before': {\n width: '5.83px',\n height: '5.83px',\n },\n },\n xl: {\n width: '75px',\n height: '75px',\n WebkitMask: 'radial-gradient(farthest-side,#0000 calc(100% - 8.75px),#000 0);',\n ':before': {\n width: '8.75px',\n height: '8.75px',\n },\n },\n xxl: {\n width: '100px',\n height: '100px',\n WebkitMask: `radial-gradient(farthest-side,#0000 calc(100% - 11.67px),#000 0);`,\n ':before': {\n width: '11.67px',\n height: '11.67px',\n },\n },\n },\n defaultProps: {\n size: 'lg',\n },\n});\n\nexport default LoaderStyle;\n","import { popoverAnatomy as parts } from '@chakra-ui/anatomy';\nimport { createMultiStyleConfigHelpers } from '@chakra-ui/styled-system';\nimport type { ComponentStyleConfig } from '@chakra-ui/theme';\nimport { mode } from '@chakra-ui/theme-tools';\n\nconst { definePartsStyle } = createMultiStyleConfigHelpers(parts.keys);\n\nconst Popover: ComponentStyleConfig = {\n baseStyle: props =>\n definePartsStyle({\n popper: {\n background: mode('white', 'inherit')(props),\n },\n }),\n};\n\nexport default Popover;\n","import { radioAnatomy } from '@chakra-ui/anatomy';\nimport { createMultiStyleConfigHelpers } from '@chakra-ui/react';\n\nconst { definePartsStyle, defineMultiStyleConfig } = createMultiStyleConfigHelpers(radioAnatomy.keys);\n\nconst baseStyle = definePartsStyle({\n control: {\n border: '1px solid',\n width: '16px',\n height: '16px',\n },\n label: {\n marginLeft: '8px',\n textStyle: 'text.sm',\n color: 'black.high',\n _disabled: {\n color: 'black.low',\n },\n },\n});\n\nconst errors = definePartsStyle({\n control: {\n borderColor: 'danger.500',\n _checked: {\n borderColor: 'danger.500',\n bg: 'white',\n _before: {\n h: '10px',\n w: '10px',\n bg: 'danger.500',\n },\n _hover: {\n borderColor: 'danger.500',\n bg: 'gray.200',\n },\n _disabled: {\n borderColor: 'danger.500',\n bg: 'white',\n _before: {\n h: '10px',\n w: '10px',\n bg: 'neutral.500',\n },\n },\n },\n _disabled: {\n borderColor: 'danger.500',\n bg: 'neutral.500',\n },\n },\n label: {\n fontSize: '12px',\n },\n});\n\nconst unstyled = definePartsStyle({\n control: {\n borderColor: 'neutral.600',\n _checked: {\n borderColor: 'primary.500',\n bg: 'white',\n _before: {\n h: '10px',\n w: '10px',\n bg: 'primary.500',\n },\n _hover: {\n borderColor: 'primary.500',\n bg: 'gray.200',\n },\n _disabled: {\n borderColor: 'neutral.500',\n bg: 'white',\n _before: {\n h: '10px',\n w: '10px',\n bg: 'neutral.500',\n },\n },\n },\n _disabled: {\n borderColor: 'neutral.500',\n bg: 'neutral.500',\n },\n },\n label: {\n fontSize: '12px',\n },\n});\n\nconst variants = {\n errors,\n unstyled,\n};\n\nconst Radio = defineMultiStyleConfig({\n baseStyle,\n variants,\n defaultProps: {\n variant: 'unstyled',\n },\n});\n\nexport default Radio;\n","import { switchAnatomy as parts } from '@chakra-ui/anatomy';\nimport { createMultiStyleConfigHelpers, defineStyle } from '@chakra-ui/styled-system';\nimport { calc, cssVar } from '@chakra-ui/theme-tools';\n\nconst { defineMultiStyleConfig, definePartsStyle } = createMultiStyleConfigHelpers(parts.keys);\n\nconst $width = cssVar('switch-track-width');\nconst $height = cssVar('switch-track-height');\nconst $diff = cssVar('switch-track-diff');\nconst diffValue = calc.subtract($width, $height);\nconst $translateX = cssVar('switch-thumb-x');\n\nconst baseStyleThumb = defineStyle({\n bg: 'white',\n transitionProperty: 'transform',\n transitionDuration: 'normal',\n borderRadius: 'inherit',\n width: [$height.reference],\n height: [$height.reference],\n _checked: {\n transform: `translateX(${$translateX.reference})`,\n },\n});\n\nconst baseStyle = definePartsStyle(() => ({\n container: {\n [$diff.variable]: diffValue,\n [$translateX.variable]: $diff.reference,\n _rtl: {\n [$translateX.variable]: calc($diff).negate().toString(),\n },\n },\n track: {\n bg: 'neutral.400',\n p: 1,\n _checked: {\n bg: 'primary.500',\n _disabled: {\n bg: 'neutral.600',\n },\n },\n _disabled: {\n bg: 'neutral.500',\n opacity: '100%',\n },\n },\n thumb: baseStyleThumb,\n}));\n\nconst sizes = {\n sm: definePartsStyle({\n container: {\n [$width.variable]: '2.125rem',\n [$height.variable]: '1.063rem',\n },\n }),\n md: definePartsStyle({\n container: {\n [$width.variable]: '2.875rem',\n [$height.variable]: '1.5rem',\n },\n }),\n lg: definePartsStyle({\n container: {\n [$width.variable]: '3.625rem',\n [$height.variable]: '1.813rem',\n },\n }),\n};\n\nconst Switch = defineMultiStyleConfig({\n baseStyle,\n sizes,\n defaultProps: {\n size: 'md',\n },\n});\n\nexport default Switch;\n","import { defineStyle, defineStyleConfig } from '@chakra-ui/react';\nimport type { TextAreaProps } from 'packages/internal-ui/src/components/form';\n\nconst getProps = (props: TextAreaProps) => {\n const { isError, isSuccess, isDisabled } = props;\n\n let borderColor = 'neutral.400';\n let focusBorderColor = 'primary.500';\n\n if (isError) {\n borderColor = 'danger.500';\n focusBorderColor = 'danger.500';\n } else if (isSuccess) {\n borderColor = 'success.500';\n focusBorderColor = 'success.500';\n } else if (isDisabled && !isError && !isSuccess) {\n borderColor = 'neutral.400';\n focusBorderColor = 'danger.500';\n }\n\n return {\n focusBorderColor,\n borderColor,\n };\n};\n\nconst outline = defineStyle(props => {\n const { focusBorderColor, borderColor } = getProps(props);\n\n return {\n background: 'white.high',\n color: 'black.high',\n borderColor,\n fontSize: 'text.sm',\n padding: 2,\n borderRadius: 'md',\n borderWidth: '1px',\n outline: 'none',\n\n _disabled: {\n opacity: 1,\n color: 'black.medium',\n background: 'neutral.300',\n },\n _placeholder: {\n color: 'black.low',\n },\n _hover: {\n borderColor,\n },\n _focus: {\n outline: 'none',\n borderColor: focusBorderColor,\n boxShadow: 'none',\n },\n _focusVisible: {\n outline: 'none',\n borderColor: focusBorderColor,\n boxShadow: 'none',\n },\n _focusWithin: {\n outline: 'none',\n borderColor: focusBorderColor,\n boxShadow: 'none',\n },\n _invalid: {\n outline: 'none',\n borderColor: 'danger.500',\n boxShadow: 'none',\n },\n };\n});\n\nexport const Textarea = defineStyleConfig({\n variants: { outline },\n defaultProps: {\n variant: 'outline',\n },\n});\n\nexport default Textarea;\n","import type { ThemeConfig, ThemeOverride } from '@chakra-ui/react';\nimport { extendTheme } from '@chakra-ui/react';\n\nimport * as components from './components';\nimport * as foundations from './foundations';\n\nconst config: ThemeConfig = {\n initialColorMode: 'light',\n useSystemColorMode: false,\n};\n\nconst theme = extendTheme(<ThemeOverride>{\n ...foundations,\n components: {\n ...components,\n },\n styles: {\n global: {\n '*::-webkit-scrollbar-thumb': {\n background: 'neutral.400',\n },\n body: {\n fontSize: 'text.sm',\n color: 'black.high',\n },\n },\n },\n config,\n});\n\ntype Theme = typeof theme;\ntype Foundations = typeof foundations;\n\nexport type { Foundations, Theme };\nexport { foundations, theme };\n","import axios from 'axios';\nimport type { FC } from 'react';\nimport React, { createContext, useContext, useEffect, useMemo, useRef } from 'react';\n\nimport type { ProviderContextObject, ProviderProps } from '../types';\n\nexport const ProviderContext = createContext<ProviderContextObject>({\n instance: undefined,\n});\n\nexport const useInternalUI = (): ProviderContextObject => {\n const { instance } = useContext(ProviderContext);\n return { instance };\n};\n\nconst Provider: FC<ProviderProps> = ({ children, config, requestInterceptors, responseInterceptors }) => {\n const instanceRef = useRef(axios.create(config));\n\n useEffect(() => {\n requestInterceptors?.forEach(interceptor => {\n instanceRef.current.interceptors.request.use(interceptor);\n });\n responseInterceptors?.forEach(interceptor => {\n instanceRef.current.interceptors.response.use(interceptor);\n });\n }, [requestInterceptors, responseInterceptors]);\n\n const provider = useMemo(() => ({ instance: instanceRef.current }), []);\n\n return <ProviderContext.Provider value={provider}>{children}</ProviderContext.Provider>;\n};\n\nProvider.displayName = 'Provider';\n\nexport default Provider;\n"],"names":["CheckIcon","React","CheckCircle","color","size","InfoIcon","Info","WarningIcon","AlertTriangle","AlertProvider","useAlertContext","createContext","name","hookName","providerName","AlertStylesProvider","useAlertStyles","STATUSES","info","icon","colorScheme","warning","success","error","getStatusColorScheme","status","getStatusIcon","Alert","forwardRef","props","ref","addRole","children","rest","omitThemingProps","_props$colorScheme","styles","useMultiStyleConfig","alertStyles","width","display","gridTemplateColumns","alignItems","position","overflow","container","value","chakra","div","role","undefined","className","cx","__css","displayName","Loader","useStyleConfig","Box","Button","variant","getLoaderSize","getLoaderColor","ButtonChakra","spinner","AlertAction","css","action","fontWeight","AlertClose","close","span","Close","AlertDescription","descriptionStyles","description","AlertIcon","BaseIcon","AlertTitle","title","Badge","pill","BadgeChakra","borderRadius","padding","height","justifyContent","textTransform","defaultProps","BreadCrumb","parents","disableHome","spacing","neutral6","dark5","useToken","paddingY","Text","pr","textStyle","useColorModeValue","h","borderLeft","borderColor","Breadcrumb","separator","FiChevronsRight","pl","sx","ol","BreadcrumbItem","BreadcrumbLink","href","style","cursor","FiHome","map","val","key","disable","link","onClick","_hover","textDecoration","fontSize","textDecor","CardCustom","Card","backgroundColor","withShadow","isRounded","CheckboxComponent","isError","helpText","errorText","isDisabled","Checkbox","mt","ml","Field","label","errorMessage","leftHelperText","rightHelperText","isRequired","isSuccess","boxProps","getHelperColor","getJustifyContentHelper","helperColor","justifyHelper","FormControl","isInvalid","FormLabel","mb","requiredIndicator","as","mr","FormHelperText","FormErrorMessage","CheckboxGroupComponent","CheckboxGroup","Stack","direction","IndeterminateCheckbox","indeterminate","current","checked","Flex","align","type","DataTable","columns","dataSource","isLoading","withSelectedRow","onSelectedRow","onSort","manualSorting","sortingState","sorting","setSorting","rowSelection","onRowSelectionChange","dataColumns","checkboxColumn","id","header","table","getIsAllRowsSelected","getIsSomeRowsSelected","onChange","getToggleAllRowsSelectedHandler","cell","row","getIsSelected","getIsSomeSelected","getToggleSelectedHandler","generateColumn","onSortingChange","data","useReactTable","getCoreRowModel","getSortedRowModel","manualPagination","sortDescFirst","state","flatRows","getSelectedRowModel","rowData","original","w","pos","bg","justify","zIndex","Spinner","thickness","Table","Thead","tableHead","getHeaderGroups","headerGroup","Tr","tableRow","headers","_ref","Th","colSpan","tableColumnHeader","userSelect","lineHeight","flexRender","column","columnDef","getContext","getCanSort","getToggleSortingHandler","asc","ChevronUpIcon","desc","ChevronDownIcon","getIsSorted","UpDownIcon","Tbody","tableBody","getRowModel","rows","getVisibleCells","Td","tableCell","overflowX","maxW","minH","getProperties","outlineColor","focusColor","getWrapperStyle","border","transition","boxShadow","_focusWithin","defineStyle","Styles","colorMode","useColorMode","Global","TimeInput","rightAddon","time","setTime","useState","handleChange","e","_e$target","target","useEffect","flexDir","p","pt","InputGroup","Input","InputRightAddon","Datepicker","helperText","withTime","onClear","showMonth","shortMonth","selected","Date","dateFormat","_props$dateFormat","wrapperStyle","getTimeProps","timeInputLabel","showTimeInput","customTimeInput","component","ReactDatePicker","customInput","autoComplete","showPopperArrow","calendarClassName","classnames","inline","showMonthDropdown","useShortMonthInDropdown","InputRightElement","FiCalendar","FiX","selectsRange","DatePickerMonth","min","max","date","setDate","required","transparent","black","high","medium","low","white","neutral","primary","secondary","danger","dark","mirage","ebonyClay","brightGray","doveGray","colors","radius","none","sm","md","lg","full","shadows","theme","raised","sizes","space","fonts","heading","body","fontWeights","hairline","thin","light","normal","semibold","bold","extrabold","lineHeights","shorter","short","base","tall","letterSpacings","tighter","tight","wide","wider","widest","fontSizes","text","xl","xs","button","field","letterSpacing","textStyles","MultiDateWrapper","styled","MultiDatePickerMonth","InputAddonLeft","InputLeftAddon","px","py","marginInlineEnd","InputAddonRight","marginInlineStart","InputField","addOnLeft","addOnRight","withClear","inputProps","isShowPassword","setIsShowPassword","inputType","useMemo","iconColor","ChakraInput","EyeOff","Eye","TextareaField","ChakraTextarea","top","right","XMSLogo","Image","src","VoilaLogo","filter","Profile","onLogout","isOpen","onToggle","onClose","useDisclosure","Popover","placement","minW","m","HStack","VStack","email","office","userRole","PopoverTrigger","Avatar","_data$name","PopoverContent","PopoverArrow","PopoverBody","FiPower","SwitchMode","toggleColorMode","mx","FiMoon","FiSun","environmentName","env","Version","version","environment","onOpenModalRelease","background","Header","hideSwitchMode","ModalBody","ChakraModalBody","ModalCloseButton","ChakraModalCloseButton","ModalFooter","ChakraModalFooter","borderBottomRadius","ModalHeader","ChakraModalHeader","borderTopRadius","CustomerIcon","createIcon","viewBox","path","fill","fillRule","d","clipRule","mappingIcon","Map","FiShoppingBag","FiShoppingCart","FiRepeat","FiBox","FiLayers","FiDollarSign","FiUsers","FiRotateCcw","FiSettings","FiLayout","FiGift","Navigation","navigations","activePath","host","navigation","isActive","startsWith","navLink","activeBg","trigger","Icon","get","whiteSpace","Portal","navHost","isLocalLink","isActiveSub","Link","_first","_last","PaginationButton","btnBg","btnColor","btnNotActiveBg","btnNotActiveColor","_disabled","pointerEvents","PaginationButtonTrigger","visuallyHidden","VisuallyHidden","Pagination","total","onSelect","btnColorDisabled","disabledPrevious","previousButtonColor","disabledNext","nextButtonColor","handleSelectPage","page","generatePages","maxButtons","pageButtons","startPage","endPage","Math","floor","push","ArrowLeftIcon","ChevronLeftIcon","scale","ChevronRightIcon","ArrowRightIcon","PaginationDetail","limit","length","PaginationFilter","items","setValue","flexDirection","Select","textAlign","outline","FiChevronDown","_focusVisible","numberValue","Number","item","RadioComponent","Radio","RadioGroupComponent","RadioGroup","Rating","Grid","gap","Array","_","i","RatingIcon","SelectWrapper","styleMd","selectStyle","selectStyles","_isError","control","isFocused","option","isSelected","menu","singleValue","input","dropdownIndicator","indicatorSeparator","themeSelect","primary25","primary50","primary75","ReactSelect","classNamePrefix","SelectAsync","AsyncPaginate","SelectAsyncCreatable","ReactSelectAsyncCreatable","SelectCreatable","ReactSelectCreatable","Switch","ownProps","getInputProps","getCheckboxProps","getRootProps","getLabelProps","useCheckbox","containerStyles","verticalAlign","trackStyles","flexShrink","boxSizing","track","labelStyles","marginStart","getIconSize","iconSize","left","transform","Check","thumb","dataAttr","isChecked","isHovered","Tab","tabProps","useTab","_selected","_focus","tab","leftAddon","_props$leftAddon","call","_props$rightAddon","TabList","ChakraTabList","borderBottom","TabPanel","ChakraTabPanel","messages","dragActive","dragInActive","dragReplace","replaceFile","uploadFile","Uploader","onHandleUploadFile","onHandleRejections","accept","multiple","maxFiles","renderError","validator","selectedFirstFile","setSelectedFirstFile","setIsSelected","onDrop","acceptedFiles","isDragActive","fileRejections","useDropzone","Heading","definePartsStyle","defineMultiStyleConfig","createMultiStyleConfigHelpers","parts","keys","$fg","cssVar","$bg","baseStyle","reference","marginEnd","getBg","c","darkBg","transparentize","variantSubtle","variable","_dark","variantSolid","variants","subtle","solid","alertTheme","defineStyleConfig","opacity","basePrimary","_active","disabledLoading","baseSecondary","borderWidth","borderStyle","tertiary","baseTertiary","baseDanger","CardStyle","shadow","checkboxAnatomy","errors","_checked","_indeterminate","unstyled","Chips","paddingX","chipsProps","isActiveProps","isDisabledProps","minWidth","paddingInlineStart","paddingInlineEnd","appearance","_placeholder","addon","mode","_invalid","rotate","keyframes","colorsTheme","LoaderStyle","animation","content","bottom","WebkitMask","xxl","popper","radioAnatomy","marginLeft","_before","$width","$height","$diff","diffValue","calc","subtract","$translateX","baseStyleThumb","transitionProperty","transitionDuration","_rtl","negate","toString","getProps","focusBorderColor","Textarea","config","initialColorMode","useSystemColorMode","extendTheme","foundations","components","global","ProviderContext","instance","useInternalUI","useContext","Provider","requestInterceptors","responseInterceptors","instanceRef","useRef","axios","create","forEach","interceptor","interceptors","request","use","response","provider"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;SAIgBA,SAASA;EACvB,oBAAOC,6BAACC,wBAAW;IAACC,KAAK,EAAC,SAAS;IAACC,IAAI,EAAE;IAAK;AACjD;SAEgBC,QAAQA;EACtB,oBAAOJ,6BAACK,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