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E3D,EACS,GAAA9D,EAAAK,GAAA,EAAC8E,EAAAA,CAASA,CAAAA,CAACH,MAAOC,EAAaF,QAASA,IAG7CG,EACK,GAAAlF,EAAAK,GAAA,EAACa,EAAiCA,CAAAA,GAGpC2C,CAAAA,MAAAA,EAAAA,KAAAA,EAAAA,EAAQuB,OAAO,EACpB,GAAApF,EAAAK,GAAA,EAACc,EAAuBA,CAAAA,GAExB,GAAAnB,EAAAK,GAAA,EAACwE,EAAyBA,CAAAA,EAE9B,CCjBe,SAASQ,IACtB,GAAM,CAAEjE,EAAAA,CAAC,CAAE,CAAGC,CAAAA,EAAAA,EAAAA,CAAAA,EAAe,UAE7B,MACE,GAAArB,EAAAK,GAAA,EAACiF,EAAAA,CAAWA,CAAAA,CACVC,mBAAkB,GAClBC,MAAOpE,EAAE,cACTqE,MAAOvD,EAAAA,CAASA,CAACwD,MAAM,UAEvB,GAAA1F,EAAAK,GAAA,EAACyE,EAAaA,CAAAA,IAGpB,qBChBAa,EAAAC,OAAA,EAAkB,8ZCAlBD,EAAAC,OAAA,EAAkB,oKCAlBD,EAAAC,OAAA,EAAkB,0GCAlBD,EAAAC,OAAA,EAAkB,qICAlBD,EAAAC,OAAA,EAAkB,8JCAlBD,EAAAC,OAAA,EAAkB,0dCAlBD,EAAAC,OAAA,EAAkB,8LCAlBD,EAAAC,OAAA,EAAkB,4UCAlBD,EAAAC,OAAA,EAAkB","sources":["webpack://_N_E/./src/components/WalletModal/Wallet/WalletContent/Content/Buttons/Skeleton/index.tsx","webpack://_N_E/./src/components/WalletModal/Wallet/WalletContent/Content/FindedAccounts/FundedAccount/Skeleton/index.tsx","webpack://_N_E/./src/components/WalletModal/Wallet/WalletContent/Content/FindedAccounts/Skeleton/index.tsx","webpack://_N_E/./src/components/WalletModal/Wallet/WalletContent/Content/InfoBalance/Skeleton/index.tsx","webpack://_N_E/./src/components/WalletModal/Wallet/Skeleton/index.tsx","webpack://_N_E/./src/components/WalletModal/Empty/Content/index.tsx","webpack://_N_E/./src/components/WalletModal/Wallet/WalletContent/Content/FindedAccounts/FundedAccount/index.tsx","webpack://_N_E/./src/components/WalletModal/Wallet/WalletContent/Content/FindedAccounts/index.tsx","webpack://_N_E/./src/components/WalletModal/Wallet/WalletContent/Content/InfoBalance/index.tsx","webpack://_N_E/./src/components/WalletModal/Wallet/WalletContent/Content/Buttons/index.tsx","webpack://_N_E/./src/components/WalletModal/Wallet/WalletContent/Content/index.tsx","webpack://_N_E/./src/components/WalletModal/Wallet/WalletContent/index.tsx","webpack://_N_E/./src/components/WalletModal/index.tsx","webpack://_N_E/./src/components/WalletModal/Empty/Content/styles.module.scss","webpack://_N_E/./src/components/WalletModal/Wallet/Skeleton/styles.module.scss","webpack://_N_E/./src/components/WalletModal/Wallet/WalletContent/Content/Buttons/Skeleton/styles.module.scss","webpack://_N_E/./src/components/WalletModal/Wallet/WalletContent/Content/Buttons/styles.module.scss","webpack://_N_E/./src/components/WalletModal/Wallet/WalletContent/Content/FindedAccounts/FundedAccount/Skeleton/styles.module.scss","webpack://_N_E/./src/components/WalletModal/Wallet/WalletContent/Content/FindedAccounts/FundedAccount/styles.module.scss","webpack://_N_E/./src/components/WalletModal/Wallet/WalletContent/Content/InfoBalance/Skeleton/styles.module.scss","webpack://_N_E/./src/components/WalletModal/Wallet/WalletContent/Content/InfoBalance/styles.module.scss","webpack://_N_E/./src/components/WalletModal/Wallet/WalletContent/Content/styles.module.scss"],"sourcesContent":["import styles from '../styles.module.scss';\nimport skeleton from './styles.module.scss';\nexport default function SkeletonButtons() {\n return (\n
\n
\n
\n\n
\n
\n
\n
\n
\n
\n );\n}\n","import styles from '../styles.module.scss';\nimport skeleton from './styles.module.scss';\n\nexport default function SkeletonFundedAccountsList() {\n return (\n
\n
\n
\n\n
\n
\n
\n
\n
\n
\n
\n\n
\n
\n
\n
\n
\n
\n
\n );\n}\n","import { ReactNode, useMemo } from 'react';\nimport SkeletonFundedAccountsList from '../FundedAccount/Skeleton';\n\nexport default function SkeletonFindedAccounts() {\n const SkeletonArray: ReactNode[] = useMemo(\n () =>\n Array.from({ length: 3 }, (_, index) => (\n \n )),\n [],\n );\n\n return SkeletonArray;\n}\n","import styles from '../styles.module.scss';\nimport skeleton from './styles.module.scss';\n\nexport default function SkeletonInfoBalance() {\n return (\n
\n \n
\n
\n
\n
\n {' '}\n \n
\n \n
\n );\n}\n","import styles from '../WalletContent/Content/styles.module.scss';\nimport SkeletonButtons from '../WalletContent/Content/Buttons/Skeleton';\nimport SkeletonFindedAccounts from '../WalletContent/Content/FindedAccounts/Skeleton';\nimport SkeletonInfoBalance from '../WalletContent/Content/InfoBalance/Skeleton';\nimport skeleton from './styles.module.scss';\n\nexport default function SkeletonNoEmptyWalletModalContent() {\n return (\n
\n
\n \n
\n
\n
\n
\n
\n \n
\n
\n \n
\n );\n}\n","import { Button } from '@starsoft/common/components';\nimport useTranslation from 'next-translate/useTranslation';\nimport styles from './styles.module.scss';\nimport { useLottiePlayer } from '@starsoft/common/hooks';\nimport { useModalNavigation } from '@/hooks/modals/useModalNavigation';\nimport { ModalsKey } from '@/enums/modalsKey';\nimport { CoinType } from '@starsoft/common/models';\n\nexport default function EmptyWalletModalContent() {\n const { t } = useTranslation('common');\n\n const { navigateToModal } = useModalNavigation();\n\n const { lottieAnimationRef } = useLottiePlayer({\n path: '/wallet-filled.json',\n loop: true,\n });\n\n return (\n
\n
\n \n \n {t('empty_wallet_title_label', {\n app_provider: process.env.NEXT_PUBLIC_BET_NAME,\n })}\n \n \n {t('empty_wallet_textLabel')}\n \n
\n\n
\n \n navigateToModal(ModalsKey.Deposit, `?coin-type${CoinType.Crypto}`)\n }\n >\n {t('deposit_crypto_button')}\n \n \n navigateToModal(ModalsKey.Deposit, `?coin-type${CoinType.Fiat}`)\n }\n className={styles['container__wrapper__button']}\n >\n {t('deposit_button')}\n \n
\n
\n );\n}\n","import { Image } from '@starsoft/common/components';\nimport styles from './styles.module.scss';\nimport { WalletService } from '@starsoft/common/services';\nimport { FundedAccountProps } from './props';\nimport { memo } from 'react';\nimport { getMoneyOrAmount } from '@/utils/account/getMoneyOrAmount';\n\nfunction FundedAccount({ item }: FundedAccountProps) {\n return (\n
\n
\n \n
\n \n {item.coin.code}\n \n \n {item.coin.name}\n \n
\n
\n\n
\n \n {WalletService.maskCurrency({\n amount: getMoneyOrAmount(item.balance),\n coin: item.coin,\n })}\n \n \n {WalletService.maskCurrency({\n amount: Number(\n getMoneyOrAmount(item?.balance) *\n getMoneyOrAmount(item?.coin?.price),\n ),\n hideSymbol: false,\n })}\n \n
\n
\n );\n}\n\nexport default memo(FundedAccount);\n","import { useWalletsMe } from '@/api/wallets';\nimport FundedAccount from './FundedAccount';\nimport { ReactNode, useMemo } from 'react';\n\nexport default function FundedAccounts() {\n const { wallet } = useWalletsMe();\n\n const FindedAccountsMemo: ReactNode[] = useMemo(\n () =>\n wallet?.fundedAccounts?.map(item => (\n \n )) as ReactNode[],\n [wallet?.fundedAccounts],\n );\n return FindedAccountsMemo;\n}\n","import styles from './styles.module.scss';\nimport { useWalletsMe } from '@/api/wallets';\nimport { WalletService } from '@starsoft/common/services';\nimport useTranslation from 'next-translate/useTranslation';\nimport { useToggle } from '@starsoft/common/hooks';\nimport { getMoneyOrAmount } from '@starsoft/common/utils';\nexport default function InfoBalance() {\n const { t } = useTranslation('common');\n const [isOpen, toggleOpen] = useToggle(false);\n const { wallet } = useWalletsMe();\n\n function getTotalBalance(): string {\n return WalletService.maskCurrency({\n amount: getMoneyOrAmount(wallet?.totalBalanceInDollars),\n });\n }\n const formatedValue = getTotalBalance();\n const hiddenValue = formatedValue.replace(/./g, '-');\n\n return (\n
\n \n {t('noempty_wallet_titleLabel')}{' '}\n \n \n \n \n \n {isOpen ? formatedValue : hiddenValue}{' '}\n \n
\n );\n}\n","import { Button } from '@starsoft/common/components';\nimport styles from './styles.module.scss';\nimport useTranslation from 'next-translate/useTranslation';\nimport { useModalNavigation } from '@/hooks/modals/useModalNavigation';\nimport { ModalsKey } from '@/enums/modalsKey';\nimport { CoinType } from '@starsoft/common/models';\n\nexport default function Buttons() {\n const { t } = useTranslation('common');\n const { navigateToModal } = useModalNavigation();\n\n return (\n
\n
\n \n \n
\n
\n \n navigateToModal(ModalsKey.Deposit, `?coin-type=${CoinType.Crypto}`)\n }\n >\n {t('deposit_crypto_button')}\n \n
\n
\n );\n}\n","import useTranslation from 'next-translate/useTranslation';\nimport styles from './styles.module.scss';\nimport FundedAccounts from './FindedAccounts';\nimport InfoBalance from './InfoBalance';\nimport Buttons from './Buttons';\n\nexport default function NoEmptyWalletModalContent() {\n const { t } = useTranslation('common');\n\n return (\n
\n
\n \n
\n
\n {t('noempty_wallet_infoMoney')} \n {t('noempty_wallet_infoMoneyValue')}\n
\n \n
\n
\n \n
\n );\n}\n","import { useWalletsMe } from '@/api/wallets';\nimport { ErrorCard } from '@starsoft/common/components';\nimport SkeletonNoEmptyWalletModalContent from '../Skeleton';\nimport EmptyWalletModalContent from '../../Empty/Content';\nimport NoEmptyWalletModalContent from './Content';\n\nexport default function WalletContent() {\n const { wallet, refetch, error: walletError, isLoading } = useWalletsMe();\n\n if (walletError) {\n return ;\n }\n\n if (isLoading) {\n return ;\n }\n\n return wallet?.isEmpty ? (\n \n ) : (\n \n );\n}\n","import { ModalsKey } from '@/enums/modalsKey';\nimport { ModalLayout } from '@starsoft/common/components';\nimport WalletContent from './Wallet/WalletContent';\nimport useTranslation from 'next-translate/useTranslation';\n\nexport default function WalletModal() {\n const { t } = useTranslation('common');\n\n return (\n \n \n \n );\n}\n","// extracted by mini-css-extract-plugin\nmodule.exports = {\"container\":\"styles_container__L1bZF\",\"container__wrapper\":\"styles_container__wrapper__OhBaW\",\"container__wrapper__image\":\"styles_container__wrapper__image__aQAHO\",\"container__wrapper__title\":\"styles_container__wrapper__title__4K8vU\",\"container__wrapper__text\":\"styles_container__wrapper__text__7FbOb\",\"container__box\":\"styles_container__box__LPe6K\",\"skeleton-animation\":\"styles_skeleton-animation__fmdA_\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"banner\":\"styles_banner__lhs_u\",\"text\":\"styles_text__dF1bk\",\"chevron\":\"styles_chevron__ALMGw\",\"skeleton-animation\":\"styles_skeleton-animation__uZNaE\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"banner\":\"styles_banner__Ozn1q\",\"skeleton-animation\":\"styles_skeleton-animation__YDXFH\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"box\":\"styles_box__AxHlR\",\"box__row\":\"styles_box__row__uzTRy\",\"skeleton-animation\":\"styles_skeleton-animation__h34Xn\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"banner\":\"styles_banner__mRN_C\",\"text\":\"styles_text__EJQ9k\",\"skeleton-animation\":\"styles_skeleton-animation___Vjq_\",\"info\":\"styles_info__11Wsq\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"container\":\"styles_container__Qmb72\",\"container__items\":\"styles_container__items__c3S1k\",\"container__items__image\":\"styles_container__items__image__uvCZ9\",\"container__items__labels\":\"styles_container__items__labels__52NCd\",\"container__money\":\"styles_container__money__01BRt\",\"container__text--strong\":\"styles_container__text--strong__qPNQR\",\"container__text--common\":\"styles_container__text--common__txu8H\",\"skeleton-animation\":\"styles_skeleton-animation__uLJ1U\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"banner\":\"styles_banner__4mn17\",\"text\":\"styles_text__Kp73E\",\"chevron\":\"styles_chevron__JmtYp\",\"skeleton-animation\":\"styles_skeleton-animation__g4Fqj\",\"info\":\"styles_info__G7__M\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"estimated-balance\":\"styles_estimated-balance__85V9C\",\"estimated-balance__title\":\"styles_estimated-balance__title__nzM6R\",\"estimated-balance__icon\":\"styles_estimated-balance__icon__1Etlf\",\"estimated-balance__value\":\"styles_estimated-balance__value__rzh58\",\"skeleton-animation\":\"styles_skeleton-animation__SURil\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"container\":\"styles_container__iJfL5\",\"container__wrapper\":\"styles_container__wrapper__r0ggl\",\"container__wrapper__your-coins\":\"styles_container__wrapper__your-coins__LJY3z\",\"container__wrapper__your-coins__title\":\"styles_container__wrapper__your-coins__title__0LjaU\",\"skeleton-animation\":\"styles_skeleton-animation__YLX0W\"};"],"names":["SkeletonButtons","jsx_runtime","jsxs","div","className","styles","jsx","skeleton","SkeletonFundedAccountsList","SkeletonFindedAccounts","useMemo","Array","from","length","_","index","concat","SkeletonInfoBalance","span","SkeletonNoEmptyWalletModalContent","EmptyWalletModalContent","t","useTranslation","navigateToModal","useModalNavigation","lottieAnimationRef","useLottiePlayer","path","loop","ref","app_provider","process","Button","isSecondary","onClick","ModalsKey","Deposit","CoinType","Crypto","Fiat","FindedAccounts_FundedAccount","memo","param","item","Image","src","coin","image","alt","name","code","WalletService","maskCurrency","amount","getMoneyOrAmount","balance","Number","price","hideSymbol","id","toString","FundedAccounts","wallet","useWalletsMe","fundedAccounts","map","FundedAccount","InfoBalance","isOpen","toggleOpen","useToggle","formatedValue","totalBalanceInDollars","hiddenValue","replace","i","Buttons","Withdraw","NoEmptyWalletModalContent","WalletContent","refetch","error","walletError","isLoading","ErrorCard","isEmpty","WalletModal","ModalLayout","smallMobilePadding","title","modal","Wallet","module","exports"],"sourceRoot":""}