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GAAG,CAACC,kBAAkB,CAAC,6BAEjD,GAAAJ,EAAAxL,IAAA,EAACC,MAAAA,CAAIC,UAAWC,IAAAA,kBAAAA,WACd,GAAAqL,EAAApL,GAAA,EAACyL,KAAAA,CAAG3L,UAAWC,IAAAA,gBAAAA,UAA0BM,EAAE,mBAC3C,GAAA+K,EAAApL,GAAA,EAAC0L,IAAAA,CAAE5L,UAAWC,IAAAA,sBAAAA,UAAgCM,EAAE,wBAIxD,qBClDAsL,EAAAC,OAAA,EAAkB,kICAlBD,EAAAC,OAAA,EAAkB,oNCAlBD,EAAAC,OAAA,EAAkB,wVCAlBD,EAAAC,OAAA,EAAkB,gHCAlBD,EAAAC,OAAA,EAAkB,gHCAlBD,EAAAC,OAAA,EAAkB,gHCAlBD,EAAAC,OAAA,EAAkB,giBCAlBD,EAAAC,OAAA,EAAkB,4TCAlBD,EAAAC,OAAA,EAAkB","sources":["webpack://_N_E/./src/api/rank-groups/queryKeys.ts","webpack://_N_E/./src/api/rank-groups/queries/useRankGroupById/service.ts","webpack://_N_E/./src/api/rank-groups/queries/useRankGroupById/index.ts","webpack://_N_E/./src/api/rank-groups/queries/useRankGroups/service.ts","webpack://_N_E/./src/api/rank-groups/queries/useRankGroups/index.ts","webpack://_N_E/./src/api/rank-groups/queries/useRankGroupsWithRanks/service.ts","webpack://_N_E/./src/api/rank-groups/queries/useRankGroupsWithRanks/index.ts","webpack://_N_E/./src/api/rank-groups/queries/index.ts","webpack://_N_E/./src/api/rank-groups/index.ts","webpack://_N_E/./src/components/RankLabel/Skeleton/index.tsx","webpack://_N_E/./src/components/RankLabel/index.tsx","webpack://_N_E/./src/components/VipClub/VipLevelModal/Content/RankGroup/CollapseButton/index.tsx","webpack://_N_E/./src/constants/ranks-columns.tsx","webpack://_N_E/./src/components/VipClub/VipLevelModal/Content/RankGroup/CollapsedRanks/index.tsx","webpack://_N_E/./src/components/VipClub/VipLevelModal/Content/RankGroup/index.tsx","webpack://_N_E/./src/components/VipClub/VipLevelModal/Content/index.tsx","webpack://_N_E/./src/components/VipClub/VipLevelModal/index.tsx","webpack://_N_E/./src/components/VipClub/VipModal/Content/VipPerks/RankBadge/Skeleton/index.tsx","webpack://_N_E/./src/components/VipClub/VipModal/Content/VipPerks/RankBadge/index.tsx","webpack://_N_E/./src/enums/rankGroupId.ts","webpack://_N_E/../../node_modules/@mui/material/Table/TableContext.js","webpack://_N_E/../../node_modules/@mui/material/Table/Tablelvl2Context.js","webpack://_N_E/../../node_modules/@mui/material/TableCell/tableCellClasses.js","webpack://_N_E/../../node_modules/@mui/material/TableCell/TableCell.js","webpack://_N_E/../../packages/common/src/components/NoDataComponent/index.tsx","webpack://_N_E/./src/components/RankLabel/Skeleton/styles.module.scss","webpack://_N_E/./src/components/RankLabel/styles.module.scss","webpack://_N_E/./src/components/VipClub/VipLevelModal/Content/RankGroup/CollapseButton/styles.module.scss","webpack://_N_E/./src/components/VipClub/VipLevelModal/Content/RankGroup/CollapsedRanks/styles.module.scss","webpack://_N_E/./src/components/VipClub/VipLevelModal/Content/RankGroup/styles.module.scss","webpack://_N_E/./src/components/VipClub/VipLevelModal/Content/styles.module.scss","webpack://_N_E/./src/components/VipClub/VipModal/Content/VipPerks/RankBadge/Skeleton/styles.module.scss","webpack://_N_E/./src/components/VipClub/VipModal/Content/VipPerks/RankBadge/styles.module.scss","webpack://_N_E/../../packages/common/src/components/NoDataComponent/styles.module.scss"],"sourcesContent":["export enum RankGroupsQueryKeys {\n Primary = '/rank-groups',\n WithRanks = '/rank-groups/with-ranks',\n ById = '/rank-groups/:id',\n}\n","import baseAPI from '@/api';\nimport { RankGroup } from '@/models/rank/group';\nimport { QueryFunctionContext } from '@tanstack/react-query';\nimport { RankGroupsQueryKeys } from '../../queryKeys';\nimport { RankGroupByIdRequestDto } from '@/services/dto/rank-groups/rank-group-by-id-request.dto';\n\nexport async function fetchRankGrouById({\n queryKey,\n}: QueryFunctionContext<[RankGroupsQueryKeys.ById, RankGroupByIdRequestDto]>) {\n const { id } = queryKey[1];\n const response = await baseAPI.get(`/rank-groups/${id}`);\n return response.data;\n}\n","import { useQuery } from '@tanstack/react-query';\nimport { RankGroupsQueryKeys } from '../../queryKeys';\nimport { fetchRankGrouById } from './service';\nimport { RankGroup } from '@/models/rank/group';\nimport { AxiosError } from 'axios';\nimport { GenericError } from '@/models/generic-error';\nimport { RankGroupByIdRequestDto } from '@/services/dto/rank-groups/rank-group-by-id-request.dto';\n\nexport function useRankGroupById(options: Partial) {\n const { id } = options ?? {};\n const queryKey: [RankGroupsQueryKeys.ById, RankGroupByIdRequestDto] = [\n RankGroupsQueryKeys.ById,\n {\n id: id as bigint,\n },\n ];\n\n const { data, isPending, error, refetch, fetchStatus } = useQuery<\n RankGroup,\n AxiosError,\n RankGroup,\n [RankGroupsQueryKeys.ById, RankGroupByIdRequestDto]\n >({\n queryKey,\n queryFn: fetchRankGrouById,\n enabled: !!id,\n });\n\n return {\n rankGroup: data,\n isLoading: isPending && fetchStatus !== 'idle',\n error,\n refetch,\n };\n}\n","import baseAPI from '@/api';\nimport { PaginatedResponse } from '@/models/pagination/paginated-response.dto';\nimport { RankGroup } from '@/models/rank/group';\n\nexport async function fetchRankGroups() {\n const response = await baseAPI.get>(\n '/rank-groups',\n {\n params: {\n page: 1,\n limit: 40,\n },\n },\n );\n return response.data;\n}\n","import { useQuery } from '@tanstack/react-query';\nimport { RankGroupsQueryKeys } from '../../queryKeys';\nimport { fetchRankGroups } from './service';\nimport { PaginatedResponse } from '@/models/pagination/paginated-response.dto';\nimport { RankGroup } from '@/models/rank/group';\nimport { AxiosError } from 'axios';\nimport { GenericError } from '@/models/generic-error';\n\nexport function useRankGroups() {\n const queryKey = [RankGroupsQueryKeys.Primary];\n\n const { data, isPending, error, refetch } = useQuery<\n PaginatedResponse,\n AxiosError\n >({ queryKey, queryFn: fetchRankGroups });\n\n return {\n rankGroups: data,\n isLoading: isPending,\n error,\n refetch,\n };\n}\n","import baseAPI from '@/api';\nimport { PaginatedResponse } from '@/models/pagination/paginated-response.dto';\nimport { RankGroup } from '@/models/rank/group';\nimport { QueryFunctionContext } from '@tanstack/react-query';\nimport { UseRankGroupsWithRanksQueryKeys } from './props';\n\nexport async function fetchRankGroupsWithRanks({\n queryKey,\n}: QueryFunctionContext) {\n const params = queryKey[1];\n const response = await baseAPI.get>(\n '/rank-groups/with-ranks',\n {\n params,\n },\n );\n return response.data;\n}\n","import { useQuery } from '@tanstack/react-query';\nimport { RankGroupsQueryKeys } from '../../queryKeys';\nimport { fetchRankGroupsWithRanks } from './service';\nimport { PaginatedResponse } from '@/models/pagination/paginated-response.dto';\nimport { RankGroup } from '@/models/rank/group';\nimport { AxiosError } from 'axios';\nimport { GenericError } from '@/models/generic-error';\nimport { UseRankGroupsWithRanksQueryKeys } from './props';\nimport { useState } from 'react';\nimport { usePaginatedQuery } from '@starsoft/common/hooks';\n\nexport function useRankGroupsWithRanks() {\n const [page, setPage] = useState(1);\n const queryKey: UseRankGroupsWithRanksQueryKeys = [\n RankGroupsQueryKeys.WithRanks,\n {\n limit: 40,\n page,\n },\n ];\n\n const { data, isPending, error, refetch } = useQuery<\n PaginatedResponse,\n AxiosError,\n PaginatedResponse,\n UseRankGroupsWithRanksQueryKeys\n >({ queryKey, queryFn: fetchRankGroupsWithRanks, staleTime: 5 * 1000 });\n\n const callbacks = usePaginatedQuery({ data, page, setPage });\n\n return {\n ...callbacks,\n rankGroups: data,\n isLoading: isPending,\n error,\n refetch,\n };\n}\n","export { useRankGroupById } from './useRankGroupById';\nexport { useRankGroups } from './useRankGroups';\nexport { useRankGroupsWithRanks } from './useRankGroupsWithRanks';\n","export * from './queries';\n","import { RankLabelProps } from '../props';\nimport styles from '../styles.module.scss';\nimport skeleton from './styles.module.scss';\n\nexport default function RankLabelSkeleton({\n onlyRankImage,\n}: Pick) {\n return (\n
\n
\n\n {!onlyRankImage &&
}\n
\n );\n}\n","import useTranslation from 'next-translate/useTranslation';\nimport { RankLabelProps } from './props';\nimport styles from './styles.module.scss';\nimport RankLabelSkeleton from './Skeleton';\nimport { Image } from '@starsoft/common/components';\n\nexport default function RankLabel({\n rank,\n loading = false,\n onlyRankImage,\n}: RankLabelProps) {\n const { t, lang: language } = useTranslation('common');\n\n const baseUrl = `${process.env.NEXT_PUBLIC_S3_BUCKET_BASE_URL}/ranks/medal/`;\n\n if (loading) {\n return ;\n }\n\n return (\n
\n \n\n {!onlyRankImage && (\n \n {rank?.name?.[language] ?? t('no_rank_label')}\n \n )}\n
\n );\n}\n","import RankBadge from '@/components/VipClub/VipModal/Content/VipPerks/RankBadge';\nimport { CollapseButtonProps } from './props';\nimport styles from './styles.module.scss';\n\nexport default function CollapseButton({\n toggle,\n isLoading,\n isOpen,\n data,\n}: CollapseButtonProps) {\n return (\n \n \n\n {isLoading ? (\n
\n ) : (\n \n )}\n
\n );\n}\n","import RankLabel from '@/components/RankLabel';\nimport { TableGridColumn } from '@starsoft/common/src/components/TableGrid/props';\nimport { Rank } from '@/models/rank';\nimport { WalletService } from '@starsoft/common/services';\nimport { getMoneyOrAmount } from '@starsoft/common/utils';\n\nexport const ranksColumns: TableGridColumn[] = [\n {\n field: 'name',\n headerName: 'table_depth',\n renderCell: rank => ,\n },\n {\n field: 'experience',\n headerName: 'required_xp',\n valueFormatter: rank => getMoneyOrAmount(rank?.experience),\n },\n {\n field: 'bonus',\n headerName: 'level_up_bonus',\n valueFormatter: rank =>\n WalletService.maskCurrency({\n amount: getMoneyOrAmount(rank?.bonus),\n coin: rank?.coin,\n }),\n },\n];\n","import { CollapsedRanksProps } from './props';\nimport { ranksColumns } from '@/constants/ranks-columns';\nimport styles from './styles.module.scss';\nimport { TableGrid } from '@starsoft/common/components';\n\nexport default function CollapsedRanks({ ranks }: CollapsedRanksProps) {\n return (\n
\n \n
\n );\n}\n","import { RankGroupId } from '@/enums/rankGroupId';\nimport { Collapse } from '@mui/material';\nimport { useToggle } from '@starsoft/common/hooks';\nimport { memo, useEffect } from 'react';\nimport CollapseButton from './CollapseButton';\nimport CollapsedRanks from './CollapsedRanks';\nimport { RankGroupProps } from './props';\nimport styles from './styles.module.scss';\n\nfunction RankGroup({ data, isLoading }: RankGroupProps) {\n const [open, toggle] = useToggle();\n\n function onMount() {\n if (!data || data?.id !== RankGroupId.Iron) {\n return;\n }\n\n toggle();\n }\n\n useEffect(onMount, [data, toggle]);\n\n return (\n
\n \n\n \n a?.experience?.toNumber() - b?.experience?.toNumber(),\n ) ?? []\n }\n />\n \n
\n );\n}\n\nexport default memo(RankGroup);\n","import { useRankGroupsWithRanks } from '@/api/rank-groups';\nimport { ErrorCard } from '@starsoft/common/components';\nimport { useMemo } from 'react';\nimport RankGroup from './RankGroup';\nimport styles from './styles.module.scss';\n\nexport default function VipLevelModalContent() {\n const { error, isLoading, rankGroups, refetch } = useRankGroupsWithRanks();\n const RankGroups = useMemo(\n () =>\n rankGroups?.data?.map(rankGroup => (\n \n )),\n [rankGroups],\n );\n const Skeletons = useMemo(\n () =>\n Array.from({ length: 9 })?.map((_, i) => (\n \n )),\n [],\n );\n\n if (error) {\n return ;\n }\n\n return (\n
{isLoading ? Skeletons : RankGroups}
\n );\n}\n","import useTranslation from 'next-translate/useTranslation';\nimport VipLevelModalContent from './Content';\nimport { ModalsKey } from '@/enums/modalsKey';\nimport { ModalWithVersion } from '@/components/core/Modal/WithVersion';\n\nexport default function VipLevelModal() {\n const { t } = useTranslation('vip-club');\n\n return (\n \n \n \n );\n}\n","import { RankBadgeSkeletonProps } from './props';\nimport styles from '../styles.module.scss';\nimport skeleton from './styles.module.scss';\n\nexport default function RankBadgeSkeleton({\n isSecondaryStyles,\n}: RankBadgeSkeletonProps) {\n return (\n \n \n \n
\n );\n}\n","import RankBadgeSkeleton from './Skeleton';\nimport { RankBadgeProps } from './props';\nimport useTranslation from 'next-translate/useTranslation';\nimport styles from './styles.module.scss';\nimport Color from 'color';\nimport { Image } from '@starsoft/common/components';\nimport { RankGroupId } from '@/enums/rankGroupId';\n\nexport default function RankBadge({\n isLoading,\n rankGroup,\n isSecondaryStyles,\n showIcon = false,\n}: RankBadgeProps) {\n const { t, lang: language } = useTranslation('vip-club');\n const { t: tCommon } = useTranslation('common');\n const firstRank: string =\n rankGroup?.firstRank?.name?.[language]?.split(' ')?.[1];\n const lastRank: string =\n rankGroup?.lastRank?.name?.[language]?.split(' ')?.[1];\n const name: string =\n rankGroup?.id > RankGroupId.DiamondIII\n ? rankGroup?.name?.[language]\n : tCommon(`${rankGroup?.id}_rank_label`);\n\n if (isLoading) {\n return ;\n }\n\n return (\n \n {!showIcon && (\n \n {!isSecondaryStyles && name}\n
\n )}\n {showIcon && (\n \n )}\n\n
\n {isSecondaryStyles && (\n {name}\n )}\n\n \n VIP {firstRank}\n {lastRank !== firstRank && `-${lastRank}`}\n {rankGroup?.id > 2 && !isSecondaryStyles && (\n <> {t('perk_disclaimer')}\n )}\n \n
\n \n );\n}\n","export namespace RankGroupId {\n export const Iron = 1n;\n export const Bronze = 2n;\n export const Silver = 3n;\n export const Gold = 4n;\n export const Ruby = 5n;\n export const Esmerald = 6n;\n export const Diamond = 7n;\n export const DiamondII = 8n;\n export const DiamondIII = 9n;\n}\n\nexport type RankGroupType = (typeof RankGroupId)[keyof typeof RankGroupId];\n","'use client';\n\nimport * as React from 'react';\n\n/**\n * @ignore - internal component.\n */\nconst TableContext = /*#__PURE__*/React.createContext();\nif (process.env.NODE_ENV !== 'production') {\n TableContext.displayName = 'TableContext';\n}\nexport default TableContext;","import * as React from 'react';\n\n/**\n * @ignore - internal component.\n */\nconst Tablelvl2Context = /*#__PURE__*/React.createContext();\nif (process.env.NODE_ENV !== 'production') {\n Tablelvl2Context.displayName = 'Tablelvl2Context';\n}\nexport default Tablelvl2Context;","import generateUtilityClasses from '@mui/utils/generateUtilityClasses';\nimport generateUtilityClass from '@mui/utils/generateUtilityClass';\nexport function getTableCellUtilityClass(slot) {\n return generateUtilityClass('MuiTableCell', slot);\n}\nconst tableCellClasses = generateUtilityClasses('MuiTableCell', ['root', 'head', 'body', 'footer', 'sizeSmall', 'sizeMedium', 'paddingCheckbox', 'paddingNone', 'alignLeft', 'alignCenter', 'alignRight', 'alignJustify', 'stickyHeader']);\nexport default tableCellClasses;","'use client';\n\nimport _objectWithoutPropertiesLoose from \"@babel/runtime/helpers/esm/objectWithoutPropertiesLoose\";\nimport _extends from \"@babel/runtime/helpers/esm/extends\";\nconst _excluded = [\"align\", \"className\", \"component\", \"padding\", \"scope\", \"size\", \"sortDirection\", \"variant\"];\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport clsx from 'clsx';\nimport composeClasses from '@mui/utils/composeClasses';\nimport { darken, alpha, lighten } from '@mui/system/colorManipulator';\nimport capitalize from '../utils/capitalize';\nimport TableContext from '../Table/TableContext';\nimport Tablelvl2Context from '../Table/Tablelvl2Context';\nimport { useDefaultProps } from '../DefaultPropsProvider';\nimport styled from '../styles/styled';\nimport tableCellClasses, { getTableCellUtilityClass } from './tableCellClasses';\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nconst useUtilityClasses = ownerState => {\n const {\n classes,\n variant,\n align,\n padding,\n size,\n stickyHeader\n } = ownerState;\n const slots = {\n root: ['root', variant, stickyHeader && 'stickyHeader', align !== 'inherit' && `align${capitalize(align)}`, padding !== 'normal' && `padding${capitalize(padding)}`, `size${capitalize(size)}`]\n };\n return composeClasses(slots, getTableCellUtilityClass, classes);\n};\nconst TableCellRoot = styled('td', {\n name: 'MuiTableCell',\n slot: 'Root',\n overridesResolver: (props, styles) => {\n const {\n ownerState\n } = props;\n return [styles.root, styles[ownerState.variant], styles[`size${capitalize(ownerState.size)}`], ownerState.padding !== 'normal' && styles[`padding${capitalize(ownerState.padding)}`], ownerState.align !== 'inherit' && styles[`align${capitalize(ownerState.align)}`], ownerState.stickyHeader && styles.stickyHeader];\n }\n})(({\n theme,\n ownerState\n}) => _extends({}, theme.typography.body2, {\n display: 'table-cell',\n verticalAlign: 'inherit',\n // Workaround for a rendering bug with spanned columns in Chrome 62.0.\n // Removes the alpha (sets it to 1), and lightens or darkens the theme color.\n borderBottom: theme.vars ? `1px solid ${theme.vars.palette.TableCell.border}` : `1px solid\n ${theme.palette.mode === 'light' ? lighten(alpha(theme.palette.divider, 1), 0.88) : darken(alpha(theme.palette.divider, 1), 0.68)}`,\n textAlign: 'left',\n padding: 16\n}, ownerState.variant === 'head' && {\n color: (theme.vars || theme).palette.text.primary,\n lineHeight: theme.typography.pxToRem(24),\n fontWeight: theme.typography.fontWeightMedium\n}, ownerState.variant === 'body' && {\n color: (theme.vars || theme).palette.text.primary\n}, ownerState.variant === 'footer' && {\n color: (theme.vars || theme).palette.text.secondary,\n lineHeight: theme.typography.pxToRem(21),\n fontSize: theme.typography.pxToRem(12)\n}, ownerState.size === 'small' && {\n padding: '6px 16px',\n [`&.${tableCellClasses.paddingCheckbox}`]: {\n width: 24,\n // prevent the checkbox column from growing\n padding: '0 12px 0 16px',\n '& > *': {\n padding: 0\n }\n }\n}, ownerState.padding === 'checkbox' && {\n width: 48,\n // prevent the checkbox column from growing\n padding: '0 0 0 4px'\n}, ownerState.padding === 'none' && {\n padding: 0\n}, ownerState.align === 'left' && {\n textAlign: 'left'\n}, ownerState.align === 'center' && {\n textAlign: 'center'\n}, ownerState.align === 'right' && {\n textAlign: 'right',\n flexDirection: 'row-reverse'\n}, ownerState.align === 'justify' && {\n textAlign: 'justify'\n}, ownerState.stickyHeader && {\n position: 'sticky',\n top: 0,\n zIndex: 2,\n backgroundColor: (theme.vars || theme).palette.background.default\n}));\n\n/**\n * The component renders a `` element when the parent context is a header\n * or otherwise a `` element.\n */\nconst TableCell = /*#__PURE__*/React.forwardRef(function TableCell(inProps, ref) {\n const props = useDefaultProps({\n props: inProps,\n name: 'MuiTableCell'\n });\n const {\n align = 'inherit',\n className,\n component: componentProp,\n padding: paddingProp,\n scope: scopeProp,\n size: sizeProp,\n sortDirection,\n variant: variantProp\n } = props,\n other = _objectWithoutPropertiesLoose(props, _excluded);\n const table = React.useContext(TableContext);\n const tablelvl2 = React.useContext(Tablelvl2Context);\n const isHeadCell = tablelvl2 && tablelvl2.variant === 'head';\n let component;\n if (componentProp) {\n component = componentProp;\n } else {\n component = isHeadCell ? 'th' : 'td';\n }\n let scope = scopeProp;\n // scope is not a valid attribute for elements.\n // source: https://html.spec.whatwg.org/multipage/tables.html#the-td-element\n if (component === 'td') {\n scope = undefined;\n } else if (!scope && isHeadCell) {\n scope = 'col';\n }\n const variant = variantProp || tablelvl2 && tablelvl2.variant;\n const ownerState = _extends({}, props, {\n align,\n component,\n padding: paddingProp || (table && table.padding ? table.padding : 'normal'),\n size: sizeProp || (table && table.size ? table.size : 'medium'),\n sortDirection,\n stickyHeader: variant === 'head' && table && table.stickyHeader,\n variant\n });\n const classes = useUtilityClasses(ownerState);\n let ariaSort = null;\n if (sortDirection) {\n ariaSort = sortDirection === 'asc' ? 'ascending' : 'descending';\n }\n return /*#__PURE__*/_jsx(TableCellRoot, _extends({\n as: component,\n ref: ref,\n className: clsx(classes.root, className),\n \"aria-sort\": ariaSort,\n scope: scope,\n ownerState: ownerState\n }, other));\n});\nprocess.env.NODE_ENV !== \"production\" ? TableCell.propTypes /* remove-proptypes */ = {\n // ┌────────────────────────────── Warning ──────────────────────────────┐\n // │ These PropTypes are generated from the TypeScript type definitions. │\n // │ To update them, edit the d.ts file and run `pnpm proptypes`. │\n // └─────────────────────────────────────────────────────────────────────┘\n /**\n * Set the text-align on the table cell content.\n *\n * Monetary or generally number fields **should be right aligned** as that allows\n * you to add them up quickly in your head without having to worry about decimals.\n * @default 'inherit'\n */\n align: PropTypes.oneOf(['center', 'inherit', 'justify', 'left', 'right']),\n /**\n * The content of the component.\n */\n children: PropTypes.node,\n /**\n * Override or extend the styles applied to the component.\n */\n classes: PropTypes.object,\n /**\n * @ignore\n */\n className: PropTypes.string,\n /**\n * The component used for the root node.\n * Either a string to use a HTML element or a component.\n */\n component: PropTypes.elementType,\n /**\n * Sets the padding applied to the cell.\n * The prop defaults to the value (`'default'`) inherited from the parent Table component.\n */\n padding: PropTypes.oneOf(['checkbox', 'none', 'normal']),\n /**\n * Set scope attribute.\n */\n scope: PropTypes.string,\n /**\n * Specify the size of the cell.\n * The prop defaults to the value (`'medium'`) inherited from the parent Table component.\n */\n size: PropTypes /* @typescript-to-proptypes-ignore */.oneOfType([PropTypes.oneOf(['medium', 'small']), PropTypes.string]),\n /**\n * Set aria-sort direction.\n */\n sortDirection: PropTypes.oneOf(['asc', 'desc', false]),\n /**\n * The system prop that allows defining system overrides as well as additional CSS styles.\n */\n sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object]),\n /**\n * Specify the cell type.\n * The prop defaults to the value inherited from the parent TableHead, TableBody, or TableFooter components.\n */\n variant: PropTypes /* @typescript-to-proptypes-ignore */.oneOfType([PropTypes.oneOf(['body', 'footer', 'head']), PropTypes.string])\n} : void 0;\nexport default TableCell;","import { useTranslation } from '@starsoft/common/hooks';\nimport { SettingsService } from '@starsoft/common/services';\nimport { NoDataComponentProps } from './props';\nimport styles from './styles.module.scss';\n\n/**\n * NoDataComponent\n * A component that displays a \"no data\" message with an animated Lottie illustration.\n * Uses translations for text content and supports different styling variants.\n *\n * @component\n * @param {Object} props - Component props\n * @param {boolean} [props.isSecondaryStyles] - Whether to use secondary styling variant\n * @param {boolean} [props.isSmall] - Whether to use smaller size variant\n * @param {boolean} [props.tableStyles] - Whether to use table-specific styling\n * @returns {JSX.Element} The rendered no data message with animation\n *\n * @example\n * // Basic usage\n * \n *\n * // With styling variants\n * \n */\nexport function NoDataComponent({\n isSecondaryStyles,\n isSmall,\n tableStyles,\n}: NoDataComponentProps) {\n const { t } = useTranslation('common');\n\n // Initialize Lottie animation player with empty search animation\n\n return (\n \n \n
\n
{t('no_data_title')}
\n

{t('no_data_found')}

\n
\n \n );\n}\n","// extracted by mini-css-extract-plugin\nmodule.exports = {\"icon\":\"styles_icon__hqp8m\",\"label\":\"styles_label__EUpVX\",\"skeleton-animation\":\"styles_skeleton-animation__1qOcT\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"container\":\"styles_container__gRm9e\",\"container__image\":\"styles_container__image__vymmo\",\"container__label\":\"styles_container__label__2ZJN2\",\"skeleton-animation\":\"styles_skeleton-animation__7zhrg\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"chevron-skeleton\":\"styles_chevron-skeleton___eS5p\",\"skeleton-animation\":\"styles_skeleton-animation__SzNWz\",\"container\":\"styles_container__vpefb\",\"container--disabled\":\"styles_container--disabled__FQncR\",\"container__chevron\":\"styles_container__chevron__hnJx7\",\"container__chevron--open\":\"styles_container__chevron--open__jKH19\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"container\":\"styles_container__R9_HI\",\"skeleton-animation\":\"styles_skeleton-animation__1EuN8\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"container\":\"styles_container__R0Yrf\",\"skeleton-animation\":\"styles_skeleton-animation__WgcbF\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"container\":\"styles_container__FjsJA\",\"skeleton-animation\":\"styles_skeleton-animation__G8Gfu\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"card--secondary-skeleton\":\"styles_card--secondary-skeleton__JqtWq\",\"text--secondary-skeleton\":\"styles_text--secondary-skeleton__iXRDi\",\"card\":\"styles_card__JorUH\",\"text\":\"styles_text__DKL0k\",\"skeleton-animation\":\"styles_skeleton-animation__VGAo_\",\"card--secondary\":\"styles_card--secondary__fo439\",\"card--secondary-skeleton--secondary\":\"styles_card--secondary-skeleton--secondary___xO9v\",\"text--secondary\":\"styles_text--secondary__ZPnWu\",\"text--secondary-skeleton--secondary\":\"styles_text--secondary-skeleton--secondary__PXv6x\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"container\":\"styles_container__cKMpw\",\"container--secondary\":\"styles_container--secondary__U3QCK\",\"container__label\":\"styles_container__label__VWJsq\",\"container__card\":\"styles_container__card__hgVP7\",\"container__row\":\"styles_container__row__gYwuM\",\"skeleton-animation\":\"styles_skeleton-animation__Kdg57\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"container\":\"styles_container__1zQ5L\",\"container--secondary-styles\":\"styles_container--secondary-styles__XD3Ps\",\"container--small\":\"styles_container--small__sBc8M\",\"container__wrapper\":\"styles_container__wrapper__yt1b8\",\"container__description\":\"styles_container__description__DqXA6\",\"container__title\":\"styles_container__title__MhrO5\",\"container--table\":\"styles_container--table__XtWpR\",\"container__lottie\":\"styles_container__lottie__XCj7x\",\"skeleton-animation\":\"styles_skeleton-animation__VxDSg\"};"],"names":["RankGroupsQueryKeys","fetchRankGroups","response","baseAPI","get","params","page","limit","data","useRankGroups","queryKey","Primary","isPending","error","refetch","useQuery","queryFn","rankGroups","isLoading","fetchRankGroupsWithRanks","param","useRankGroupsWithRanks","setPage","useState","WithRanks","staleTime","usePaginatedQuery","RankLabelSkeleton","onlyRankImage","jsx_runtime","jsxs","div","className","styles","jsx","skeleton","RankLabel","rank","loading","t","lang","language","useTranslation","Image","width","height","src","concat","process","group","image","alt","secondarySkeleton","span","name","CollapseButton","toggle","isOpen","onClick","RankBadge","rankGroup","isSecondaryStyles","showIcon","i","ranksColumns","field","headerName","renderCell","valueFormatter","getMoneyOrAmount","experience","WalletService","maskCurrency","amount","bonus","coin","CollapsedRanks","ranks","TableGrid","rows","columns","Content_RankGroup","memo","open","useToggle","useEffect","id","RankGroupId","Iron","Collapse","in","sort","a","b","toNumber","VipLevelModalContent","RankGroups","useMemo","map","RankGroup","Skeletons","Array","from","length","_","ErrorCard","isDefaultColor","VipLevelModal","ModalWithVersion","modal","ModalsKey","VipLevel","title","RankBadgeSkeleton","tCommon","firstRank","split","lastRank","DiamondIII","style","backgroundColor","color","Color","alpha","toString","undefined","Fragment","Bronze","Silver","Gold","Ruby","Esmerald","Diamond","DiamondII","TableContext","React","Tablelvl2Context","getTableCellUtilityClass","slot","generateUtilityClass","tableCellClasses","generateUtilityClasses","_excluded","useUtilityClasses","ownerState","classes","variant","align","padding","size","stickyHeader","slots","root","capitalize","composeClasses","TableCellRoot","styled","overridesResolver","props","theme","_extends","typography","body2","display","verticalAlign","borderBottom","vars","palette","TableCell","border","mode","lighten","divider","darken","textAlign","text","primary","lineHeight","pxToRem","fontWeight","fontWeightMedium","secondary","fontSize","paddingCheckbox","flexDirection","position","top","zIndex","background","default","TableCell_TableCell","inProps","ref","component","useDefaultProps","componentProp","paddingProp","scope","scopeProp","sizeProp","sortDirection","variantProp","other","_objectWithoutPropertiesLoose","table","tablelvl2","isHeadCell","ariaSort","_jsx","as","clsx","NoDataComponent","isSmall","tableStyles","react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__","img","SettingsService","env","S3_BUCKET_BASE_URL","h6","p","module","exports"],"sourceRoot":""}