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,MAAO,CACLN,KAAMM,EACN2E,cAAAA,EACAR,iBAAAA,EACA9F,IAAAA,CACF,CACF,qBC3HAuG,EAAAC,OAAA,EAAkB,oSCAlBD,EAAAC,OAAA,EAAkB","sources":["webpack://_N_E/./src/components/core/Games/GamesVictoryBanner/Bet/index.tsx","webpack://_N_E/./src/components/core/Games/GamesVictoryBanner/Renderer/V1/index.tsx","webpack://_N_E/./src/components/core/Games/GamesVictoryBanner/variants.ts","webpack://_N_E/./src/utils/bets/groupBetsByCoin.ts","webpack://_N_E/./src/utils/bets/mergeGroupedBetsByCoin.ts","webpack://_N_E/./src/hooks/useMergedBetsByCoin.ts","webpack://_N_E/./src/components/core/Games/GamesVictoryBanner/Bet/styles.module.scss","webpack://_N_E/./src/components/core/Games/GamesVictoryBanner/Renderer/V1/styles.module.scss"],"sourcesContent":["import { GamesVictoryBannerBetProps } from './props';\nimport styles from './styles.module.scss';\nimport { useMemo } from 'react';\nimport { WalletService } from '@starsoft/common/services';\nimport { BetStatusId } from '@/models/bet/status/id';\n\nfunction GamesVictoryBannerBet({ bet }: GamesVictoryBannerBetProps) {\n const won: boolean =\n bet?.status?.id?.toString() === BetStatusId.Won?.toString();\n\n function getPayout(): string {\n return WalletService.maskCurrency({\n amount: bet?.payout?.toNumber(),\n coin: bet?.coin,\n });\n }\n\n const payout: string = useMemo(getPayout, [won, bet?.coin, bet?.payout]);\n\n return (\n
\n {t(won ? 'won_description' : 'lost_description')}\n
\n