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N_E/?f0d0","webpack://_N_E/./src/components/dataDisplay/index.ts","webpack://_N_E/./src/components/ui/index.ts","webpack://_N_E/./src/components/inputs/index.ts","webpack://_N_E/./src/components/feedback/Warning/Warning.tsx","webpack://_N_E/./src/components/feedback/index.ts","webpack://_N_E/./src/hooks/index.ts","webpack://_N_E/./src/components/inputs/Input/Input.tsx","webpack://_N_E/./src/components/ui/Logo/Logo.tsx","webpack://_N_E/./src/compositions/LiveStatistics/messages.ts","webpack://_N_E/./src/compositions/LiveStatistics/LiveStatistics.tsx","webpack://_N_E/./src/components/layout/Media/Media.tsx","webpack://_N_E/./src/components/layout/index.ts","webpack://_N_E/./src/compositions/MobileBetslipButton/messages.ts","webpack://_N_E/./src/compositions/MobileBetslipButton/MobileBetslipButton.tsx","webpack://_N_E/./src/compositions/MobileStatisticsButton/messages.ts","webpack://_N_E/./src/compositions/MobileStatisticsButton/MobileStatisticsButton.tsx","webpack://_N_E/./src/compositions/Navigation/components/Skeleton/Skeleton.tsx","webpack://_N_E/./src/compositions/Navigation/messages.ts","webpack://_N_E/./src/compositions/Navigation/Navigation.tsx","webpack://_N_E/./src/compositions/LiveSwitcher/messages.ts","webpack://_N_E/./src/compositions/LiveSwitcher/LiveSwitcher.tsx","webpack://_N_E/./src/compositions/Navigation/StaticNavigation/messages.ts","webpack://_N_E/./src/compositions/Navigation/StaticNavigation/StaticNavigation.tsx","webpack://_N_E/./src/compositions/PageLayout/components/Content/components/LeftSidebar/LeftSidebar.tsx","webpack://_N_E/./local_modules/wallet/index.ts","webpack://_N_E/./src/compositions/PageLayout/components/Content/components/Controls/components/Balance/messages.ts","webpack://_N_E/./src/compositions/PageLayout/components/Content/components/Controls/components/Balance/Balance.tsx","webpack://_N_E/./src/helpers/index.ts","webpack://_N_E/./src/compositions/PageLayout/components/Content/components/Controls/components/User/messages.ts","webpack://_N_E/./src/compositions/PageLayout/components/Content/components/Controls/components/User/User.tsx","webpack://_N_E/./src/compositions/PageLayout/components/Content/components/Controls/components/index.ts","webpack://_N_E/./src/compositions/PageLayout/components/Content/components/Controls/Controls.tsx","webpack://_N_E/./src/compositions/PageLayout/components/Content/components/RightSidebar/RightSidebar.tsx","webpack://_N_E/./src/compositions/PageLayout/components/Content/components/Header/Header.tsx","webpack://_N_E/./src/compositions/PageLayout/components/Content/components/Search/messages.ts","webpack://_N_E/./src/compositions/PageLayout/components/Content/components/Search/Search.tsx","webpack://_N_E/./src/compositions/PageLayout/components/Content/components/index.ts","webpack://_N_E/./src/compositions/PageLayout/components/Content/Content.tsx","webpack://_N_E/./src/compositions/PageLayout/components/Footer/components/Navbar/messages.ts","webpack://_N_E/./src/compositions/PageLayout/components/Footer/components/Navbar/Navbar.tsx","webpack://_N_E/./src/compositions/PageLayout/components/Footer/components/Copy/Copy.tsx","webpack://_N_E/./src/compositions/PageLayout/components/Footer/components/Social/Social.tsx","webpack://_N_E/./src/compositions/PageLayout/components/Footer/Footer.tsx","webpack://_N_E/./src/compositions/PageLayout/components/index.ts","webpack://_N_E/./src/compositions/PageLayout/PageLayout.tsx","webpack://_N_E/./src/contexts/index.ts","webpack://_N_E/./src/compositions/NewFreeBetsChecker/NewFreeBetsChecker.tsx","webpack://_N_E/./src/compositions/Providers/Providers.tsx","webpack://_N_E/./src/compositions/Betslip/components/Card/messages.ts","webpack://_N_E/./src/compositions/Betslip/components/Card/Card.tsx","webpack://_N_E/./src/compositions/Betslip/components/AmountInput/AmountInput.tsx","webpack://_N_E/./src/compositions/Betslip/components/QuickBet/messages.ts","webpack://_N_E/./src/compositions/Betslip/components/QuickBet/QuickBet.tsx","webpack://_N_E/./src/compositions/Betslip/components/Chips/messages.ts","webpack://_N_E/./src/compositions/Betslip/components/Chips/Chips.tsx","webpack://_N_E/./src/helpers/isUserRejectedRequestError.ts","webpack://_N_E/./src/utils/getBetTransactionData.ts","webpack://_N_E/./src/helpers/updateDiscordChannel.ts","webpack://_N_E/./src/compositions/Betslip/components/BetButton/messages.ts","webpack://_N_E/./src/compositions/Betslip/components/BetButton/BetButton.tsx","webpack://_N_E/./src/compositions/Betslip/components/FreeBet/messages.ts","webpack://_N_E/./src/compositions/Betslip/components/FreeBet/FreeBet.tsx","webpack://_N_E/./src/compositions/Betslip/components/Slippage/messages.ts","webpack://_N_E/./src/compositions/Betslip/components/Slippage/Slippage.tsx","webpack://_N_E/./src/compositions/Betslip/components/index.ts","webpack://_N_E/./src/compositions/Betslip/messages.ts","webpack://_N_E/./src/compositions/Betslip/Betslip.tsx","webpack://_N_E/./src/compositions/AcceptedBets/components/BetCard/messages.ts","webpack://_N_E/./src/compositions/AcceptedBets/components/BetCard/BetCard.tsx","webpack://_N_E/./src/compositions/AcceptedBets/components/index.ts","webpack://_N_E/./src/compositions/AcceptedBets/messages.ts","webpack://_N_E/./src/compositions/AcceptedBets/AcceptedBets.tsx","webpack://_N_E/./src/compositions/TabbedBetslip/messages.ts","webpack://_N_E/./src/utils/decompressData.ts","webpack://_N_E/./src/compositions/TabbedBetslip/TabbedBetslip.tsx","webpack://_N_E/./src/compositions/modals/InfoModal/InfoModal.tsx","webpack://_N_E/./src/compositions/modals/ErrorModal/messages.ts","webpack://_N_E/./src/compositions/modals/ErrorModal/ErrorModal.tsx","webpack://_N_E/./src/compositions/modals/GlobalModalsRegistrar/GlobalModalsRegistrar.tsx","webpack://_N_E/./src/compositions/modals/index.ts","webpack://_N_E/./src/scss/globals.scss","webpack://_N_E/./src/compositions/PageLayout/components/Content/Narrow.module.scss","webpack://_N_E/./src/compositions/PageLayout/components/Content/Wide.module.scss"],"sourcesContent":["import(/* webpackMode: \"eager\" */ \"/codebuild/output/src1629841895/src/dgbet/node_modules/@next/third-parties/dist/google/ga.js\");\n;\nimport(/* webpackMode: \"eager\" */ \"/codebuild/output/src1629841895/src/dgbet/node_modules/@next/third-parties/dist/google/gtm.js\");\n;\nimport(/* webpackMode: \"eager\" */ \"/codebuild/output/src1629841895/src/dgbet/node_modules/@next/third-parties/dist/ThirdPartyScriptEmbed.js\");\n;\nimport(/* webpackMode: \"eager\" */ \"/codebuild/output/src1629841895/src/dgbet/node_modules/next/dist/client/script.js\");\n;\nimport(/* webpackMode: \"eager\" */ \"/codebuild/output/src1629841895/src/dgbet/node_modules/next/font/google/target.css?{\\\"path\\\":\\\"src/app/layout.tsx\\\",\\\"import\\\":\\\"Lato\\\",\\\"arguments\\\":[{\\\"weight\\\":[\\\"100\\\",\\\"300\\\",\\\"400\\\",\\\"700\\\",\\\"900\\\"],\\\"style\\\":[\\\"normal\\\",\\\"italic\\\"],\\\"subsets\\\":[\\\"latin\\\"]}],\\\"variableName\\\":\\\"lato\\\"}\");\n;\nimport(/* webpackMode: \"eager\", webpackExports: [\"default\"] */ \"/codebuild/output/src1629841895/src/dgbet/src/compositions/PageLayout/PageLayout.tsx\");\n;\nimport(/* webpackMode: \"eager\", webpackExports: [\"default\"] */ \"/codebuild/output/src1629841895/src/dgbet/src/compositions/Providers/Providers.tsx\");\n;\nimport(/* webpackMode: \"eager\" */ \"/codebuild/output/src1629841895/src/dgbet/src/scss/globals.scss\");\n","\nexport { default as Flag } from \"./Flag/Flag\"","\nexport { default as Icon } from \"./Icon/Icon\"\nexport { default as Logo } from \"./Logo/Logo\"","\nexport { default as Input } from \"./Input/Input\"","'use client'\n\nimport React from 'react'\nimport { Message } from '@locmod/intl'\nimport cx from 'classnames'\n\nimport { Icon } from 'components/ui'\n\n\ntype WarningProps = {\n className?: string\n text: string | Intl.Message\n}\n\nconst Warning: React.FC = ({ className, text }) => {\n return (\n
\n \n \n
\n )\n}\n\nexport default Warning\n","\nexport { default as Warning } from \"./Warning/Warning\"","\nexport { default as useIsMounted } from \"./useIsMounted\"","'use client'\n\nimport React from 'react'\nimport cx from 'classnames'\nimport { useIntl } from '@locmod/intl'\nimport { parseUnits } from 'viem'\n\ntype InputProps = {\n className?: string\n value: string\n placeholder?: string | Intl.Message\n type?: 'text' | 'number'\n maxValue?: string\n leftNode?: React.ReactElement\n rightNode?: React.ReactElement\n regExp?: string\n isError?: boolean\n noMaxOverload?: boolean\n autoFocus?: boolean\n onChange: (value: string) => void\n}\n\nconst Input: React.FC = props => {\n const {\n className,\n value,\n type,\n maxValue,\n leftNode,\n rightNode,\n placeholder,\n regExp = '^(|0|0\\\\.[0-9]*|[1-9][0-9]*\\\\.?[0-9]*)$',\n isError,\n noMaxOverload,\n autoFocus = false,\n onChange,\n } = props\n\n const intl = useIntl()\n const handleChange = (value: string) => {\n let newValue = value\n\n if (regExp && !new RegExp(regExp).test(newValue)) {\n return\n }\n\n if (\n maxValue &&\n noMaxOverload &&\n parseUnits(maxValue, 50) < parseUnits(value, 50)\n ) {\n newValue = maxValue\n }\n\n onChange(newValue)\n }\n\n const handleInputChange = (event: React.ChangeEvent) => {\n handleChange(event.target.value)\n }\n\n const labelClassName = cx(\n 'flex items-center px-3 border rounded-sm h-10 cursor-text',\n className,\n {\n 'border-accent-red': isError,\n 'border-grey-20': !isError,\n }\n )\n\n return (\n \n )\n}\n\nexport default Input\n","import cx from 'classnames'\n\nimport Image from 'next/image'\nimport { Href } from 'components/navigation'\n\ntype LogoProps = {\n className?: string\n isSecondary?: boolean\n}\n\nconst Logo: React.FC = props => {\n const { className, isSecondary } = props\n\n const imageSrc = isSecondary\n ? '/images/secondary_logo.webp'\n : '/images/logo.webp'\n\n return (\n \n \"Logo\"\n \n )\n}\n\nexport default Logo\n","export default {\n title: {\n en: 'Tracker',\n },\n empty: {\n title: {\n en: 'No statistics for this event',\n },\n },\n warning: {\n en: 'Statistics are automatically changed for the selected match.',\n },\n}\n","'use client'\n\nimport React, { useEffect, useState, useSyncExternalStore } from 'react'\nimport { useParams } from 'next/navigation'\nimport { Message } from '@locmod/intl'\nimport cx from 'classnames'\nimport { useGame, useGameStatus, useLiveStatistics } from '@azuro-org/sdk'\nimport { type GamesQuery } from '@azuro-org/toolkit'\nimport { useIsMounted } from 'hooks'\nimport { closeModal } from '@locmod/modal'\nimport { liveStatisticsGameIdStore } from 'helpers/stores'\n\nimport { Icon } from 'components/ui'\nimport { Warning } from 'components/feedback'\nimport EmptyContent from 'compositions/EmptyContent/EmptyContent'\n\nimport { ScoreBoard, Statistics } from './components'\n\nimport messages from './messages'\n\n\ntype ContentProps = {\n storeGameId: string\n game: GamesQuery['games'][0]\n isGameInLive: boolean\n isGamePage: boolean\n withCollapse?: boolean\n withClearButton?: boolean\n}\n\nconst Content: React.FC = (props) => {\n const { storeGameId, game, isGameInLive, isGamePage, withCollapse = true, withClearButton = true } = props\n\n const [ isVisible, setVisible ] = useState(true)\n const [ isWarningVisible, setWarningVisible ] = useState(false)\n const isMounted = useIsMounted()\n\n const { status } = useGameStatus({\n graphStatus: game.status,\n startsAt: +game.startsAt,\n isGameExistInLive: isGameInLive,\n })\n const { statistics, isFetching, isAvailable } = useLiveStatistics({\n gameId: game.gameId,\n sportId: game?.sport?.sportId!,\n gameStatus: status,\n })\n\n\n useEffect(() => {\n if (!isGamePage || !isAvailable) {\n return\n }\n\n if (storeGameId !== game.gameId) {\n setWarningVisible(true)\n\n setTimeout(() => {\n if (isMounted()) {\n setWarningVisible(false)\n }\n }, 5000)\n }\n }, [ storeGameId, game.gameId ])\n\n if (!isAvailable) {\n return null\n }\n\n const handleClearClick = () => {\n closeModal('StatisticsModal')\n liveStatisticsGameIdStore.setGameId('')\n }\n\n return (\n
\n
\n {\n withCollapse ? (\n \n ) : (\n
\n )\n }\n
\n \n \n
\n {\n Boolean(isGamePage || !withClearButton) ? (\n
\n ) : (\n \n \n \n )\n }\n
\n {\n isVisible && (\n
\n {\n isFetching ? (\n
\n ) : (\n Boolean(statistics?.stats) ? (\n
\n \n \n {\n isWarningVisible && (\n
\n \n
\n )\n }\n
\n ) : (\n \n )\n )\n }\n
\n )\n }\n
\n )\n}\n\ntype LiveStatisticsProps = {\n withCollapse?: boolean\n withClearButton?: boolean\n}\n\nconst LiveStatistics: React.FC = (props) => {\n const params = useParams()\n\n const storeGameId = useSyncExternalStore(\n liveStatisticsGameIdStore.subscribe,\n liveStatisticsGameIdStore.getSnapshot,\n () => ''\n )\n\n let gameId = storeGameId\n\n if (params.gameId) {\n gameId = params.gameId as string\n }\n\n const { game, isGameInLive, loading: isGameFetching } = useGame({ gameId })\n\n const isGamePage = Boolean(params.gameId)\n\n if (isGameFetching || !game) {\n return null\n }\n\n return (\n \n )\n}\n\nexport default LiveStatistics\n","'use client'\n\nimport React from 'react'\nimport cx from 'classnames'\nimport { useMedia } from 'contexts'\n\n\ntype MediaProps = {\n className?: string\n} & AtLeastOne<{\n mobile?: boolean\n desktop?: boolean\n narrow?: boolean\n wide?: boolean\n}>\n\nconst Media: React.CFC = ({ children, className, desktop, mobile, narrow, wide }) => {\n const { isDesktopView, isMobileView, isNarrowView, isWideView } = useMedia()\n\n const isMobile = mobile && isMobileView\n const isDesktop = desktop && isDesktopView\n const isNarrow = narrow && isNarrowView\n const isWide = wide && isWideView\n\n const isVisible = (\n isMobile\n || isDesktop\n || isNarrow\n || isWide\n )\n\n if (isVisible) {\n const rootClassName = cx(className, {\n 'mobile': isMobile,\n 'desktop': isDesktop,\n 'narrow': isNarrow,\n 'wide': isWide,\n })\n\n return (\n
\n {children}\n
\n )\n }\n\n return null\n}\n\nexport default Media\n","\nexport { default as Media } from \"./Media/Media\"","export default {\n title: {\n en: 'Betslip',\n },\n}\n","'use client'\n\nimport React from 'react'\nimport { useBaseBetslip } from '@azuro-org/sdk'\nimport { openModal } from '@locmod/modal'\nimport dynamic from 'next/dynamic'\n\nimport { Button } from 'components/inputs'\nimport { Media } from 'components/layout'\n\nimport messages from './messages'\n\n\nconst BetslipModal = dynamic(() => import('./components/BetslipModal/BetslipModal'))\n\nconst MobileBetslipButton: React.FC = () => {\n const { items } = useBaseBetslip()\n\n return (\n
\n {items.length}
\n ) : undefined\n }\n size={40}\n onClick={() => openModal('BetslipModal')}\n />\n \n \n \n
\n )\n}\n\nexport default MobileBetslipButton\n","export default {\n title: {\n en: 'Statistics',\n },\n}\n","'use client'\n\nimport React, { useSyncExternalStore } from 'react'\nimport { useBaseBetslip } from '@azuro-org/sdk'\nimport { openModal } from '@locmod/modal'\nimport dynamic from 'next/dynamic'\nimport cx from 'classnames'\nimport { liveStatisticsGameIdStore } from 'helpers/stores'\n\nimport { Button } from 'components/inputs'\nimport { Media } from 'components/layout'\n\nimport messages from './messages'\n\n\nconst StatisticsModal = dynamic(() => import('./components/StatisticsModal/StatisticsModal'))\n\nconst MobileBetslipButton: React.FC = () => {\n const { items } = useBaseBetslip()\n const gameId = useSyncExternalStore(\n liveStatisticsGameIdStore.subscribe,\n liveStatisticsGameIdStore.getSnapshot,\n () => ''\n )\n\n return (\n
\n {items.length}
\n ) : undefined\n }\n size={40}\n onClick={() => openModal('StatisticsModal')}\n />\n \n \n \n
\n )\n}\n\nexport default MobileBetslipButton\n","const SkeletonItem: React.FC = () => {\n return (\n
\n
\n
\n
\n
\n
\n
\n )\n}\n\nconst Skeleton: React.FC<{className?: string}> = ({ className }) => {\n return (\n
\n
\n
\n
\n {\n new Array(5).fill(0).map((_, index) => (\n \n ))\n }\n
\n )\n}\n\nexport default Skeleton\n","export default {\n title: {\n en: 'All Sports',\n },\n top: {\n en: 'Hot Events',\n },\n}\n","'use client'\n\nimport React, { useMemo } from 'react'\nimport { useParams, usePathname, useRouter } from 'next/navigation'\nimport { Message } from '@locmod/intl'\nimport { useLive, useNavigation } from '@azuro-org/sdk'\nimport { type NavigationQuery } from '@azuro-org/toolkit'\nimport cx from 'classnames'\nimport { constants } from 'helpers'\n\nimport { Icon, type IconName } from 'components/ui'\nimport { Href } from 'components/navigation'\nimport { Flag } from 'components/dataDisplay'\n\nimport Skeleton from './components/Skeleton/Skeleton'\n\nimport messages from './messages'\n\ntype LeagueProps =\n NavigationQuery['sports'][0]['countries'][0]['leagues'][0] & {\n url: string\n country: {\n name: string\n slug: string\n }\n }\n\nconst League: React.FC = props => {\n const { url, name, country, games, slug } = props\n\n const { countrySlug, leagueSlug } = useParams()\n\n const isActive =\n Boolean(leagueSlug) && countrySlug === country.slug && slug === leagueSlug\n\n const rootClassName = cx(\n 'flex items-center justify-between py-2 px-4 hover:text-grey-90',\n {\n 'text-grey-60': !isActive,\n 'text-grey-90': isActive,\n }\n )\n\n return (\n \n
\n \n
\n {name}\n
\n
\n
\n {games?.length || 0}\n
\n
\n )\n}\n\ntype Top = {\n slug: '/'\n name: Intl.Message\n gamesCount?: number\n}\n\ntype SportProps = {\n gamesCount?: number\n} & (Top | NavigationQuery['sports'][0])\n\nconst Sport: React.FC = props => {\n const { slug, name, countries } = props as NavigationQuery['sports'][0]\n const { gamesCount } = props as Top\n\n const { sportSlug } = useParams()\n const pathname = usePathname()\n const isTop = slug === '/'\n const isActive = sportSlug === slug || (isTop && pathname === slug)\n const isUnique = slug === 'unique'\n\n const rootClassName = cx('p-px rounded-md', {\n 'bg-card-border-top': isActive,\n })\n const wrapperClassName = cx({ 'bg-bg-l1 rounded-md': isActive })\n const buttonClassName = cx(\n 'group px-4 py-2 flex w-full items-center justify-between hover:text-brand-50',\n {\n 'text-grey-60': !isActive,\n 'text-brand-50': isActive,\n }\n )\n const iconClassName = cx('h-4 w-4', {\n 'rotate-180': isActive,\n })\n const icon: IconName =\n isTop || isUnique ? 'interface/top' : (`sport/${slug}` as IconName)\n\n const leagues = useMemo(() => {\n if (!countries) {\n return\n }\n\n return countries\n .map(({ leagues, name, slug: countrySlug }) => {\n return leagues.map(league => ({\n url: `/${slug}/${countrySlug}/${league.slug}`,\n ...league,\n country: {\n name,\n slug: countrySlug,\n },\n }))\n })\n .flat()\n }, [countries])\n\n return (\n
\n
\n \n
\n \n \n
\n {Boolean(isTop || isUnique || !leagues?.length) ? (\n
\n {gamesCount || 0}\n
\n ) : (\n \n )}\n
\n {Boolean(!isUnique && isActive && leagues) &&\n leagues?.map(league => (\n \n ))}\n
\n
\n )\n}\n\ntype NavigationProps = {\n className?: string\n}\n\nconst Navigation: React.FC = ({ className }) => {\n const { isLive } = useLive()\n const { navigation, loading } = useNavigation({\n withGameCount: true,\n isLive,\n })\n\n const { allTopGames, gamesPerSport } = useMemo(() => {\n if (!navigation) {\n return {}\n }\n\n let result = 0\n const gamesPerSport: Record = {}\n\n Object.values(navigation).forEach(({ sportId, countries }) => {\n let gamesCount = 0\n\n countries.forEach(({ leagues }) => {\n gamesCount += leagues.reduce((acc, { games }) => acc + games!.length, 0)\n })\n\n gamesPerSport[sportId] = gamesCount\n result += Math.min(gamesCount, constants.topPageGamePerSportLimit)\n })\n\n return {\n allTopGames: result,\n gamesPerSport,\n }\n }, [navigation])\n\n const sortedSports = useMemo(() => {\n if (!navigation) {\n return []\n }\n\n return [...navigation].sort((sport1, sport2) => {\n const sport1Index = constants.sportsOrder.indexOf(sport1.slug)\n const sport2Index = constants.sportsOrder.indexOf(sport2.slug)\n\n if (!sport1.countries.length || !sport1.countries[0].leagues.length) {\n return 1\n }\n\n if (!sport2.countries.length || !sport2.countries[0].leagues.length) {\n return -1\n }\n\n if (sport1Index >= 0 && sport2Index >= 0) {\n return sport1Index - sport2Index\n }\n\n if (sport1Index < 0 && sport2Index >= 0) {\n return 1\n }\n\n if (sport1Index >= 0 && sport2Index < 0) {\n return -1\n }\n\n return 0\n })\n }, [navigation])\n\n if (loading) {\n return \n }\n\n return (\n
\n \n \n {sortedSports?.map(sport => (\n \n ))}\n
\n )\n}\n\nexport default Navigation\n","export default {\n title: {\n en: 'SHOW ONLY LIVE',\n },\n}\n","'use client'\n\nimport React from 'react'\nimport { Message } from '@locmod/intl'\nimport { Switch as HeadlessSwitch } from '@headlessui/react'\nimport { useLive } from '@azuro-org/sdk'\nimport cx from 'classnames'\n\nimport { Icon } from 'components/ui'\n\nimport messages from './messages'\n\nconst Switch = ({ isLive, changeLive }) => {\n return (\n \n \n \n )\n}\n\nconst LiveSwitcher: React.FC<{ className?: string }> = ({ className }) => {\n const { isLive, changeLive } = useLive()\n\n return (\n \n
\n \n \n
\n \n
\n )\n}\n\nexport default LiveSwitcher\n","export default {\n profile: {\n en: 'Profile',\n },\n promotion: {\n en: 'Promotion',\n },\n whitepaper: {\n en: 'Whitepaper',\n },\n blog: {\n en: 'Blog',\n },\n about: {\n en: 'About',\n },\n classic: {\n en: 'Switch to Classic UI',\n },\n}\n","import React from 'react'\nimport cx from 'classnames'\nimport { Message } from '@locmod/intl'\nimport { usePathname } from 'next/navigation'\nimport { constants } from 'helpers'\nimport { Href } from 'components/navigation'\nimport { Icon, type IconName } from 'components/ui'\n\nimport messages from './messages'\n\ninterface MenuItem {\n icon: IconName // this makes sure only valid icon names are allowed\n title: Intl.Message\n link: string\n isExternal: boolean\n}\n\nconst staticMenu: MenuItem[] = [\n {\n icon: 'interface/user_avatar_secondary',\n title: messages.profile,\n link: constants.navigationLinks.profile,\n isExternal: false,\n },\n {\n icon: 'interface/promotion',\n title: messages.promotion,\n link: constants.navigationLinks.promotions,\n isExternal: true,\n },\n {\n icon: 'interface/mybets',\n title: messages.whitepaper,\n link: constants.navigationLinks.whitepaper,\n isExternal: true,\n },\n {\n icon: 'interface/blog',\n title: messages.blog,\n link: constants.navigationLinks.blog,\n isExternal: true,\n },\n {\n icon: 'interface/info-circle',\n title: messages.about,\n link: constants.navigationLinks.about,\n isExternal: true,\n },\n {\n icon: 'interface/switch',\n title: messages.classic,\n link: constants.navigationLinks.classic,\n isExternal: true,\n },\n]\n\nconst StaticNavigation = () => {\n const pathname = usePathname()\n\n return (\n
\n {staticMenu.map(({ title, icon, link, isExternal }, index) => (\n \n \n \n \n \n \n \n \n \n \n \n ))}\n
\n )\n}\n\nexport default StaticNavigation\n","'use client'\n\nimport React from 'react'\n\nimport { Logo } from 'components/ui'\nimport Navigation from 'compositions/Navigation/Navigation'\nimport LiveSwitcher from 'compositions/LiveSwitcher/LiveSwitcher'\nimport StaticNavigation from 'compositions/Navigation/StaticNavigation/StaticNavigation'\n\nconst LeftSidebar: React.FC = () => {\n return (\n
\n
\n \n {/* */}\n
\n
\n \n \n
\n \n
\n )\n}\n\nexport default LeftSidebar\n","export * from \"/codebuild/output/src1629841895/src/dgbet/local_modules/wallet/index.ts\"","export default {\n balance: {\n en: 'Balance',\n },\n inBets: {\n en: 'In bets',\n },\n toRedeem: {\n en: 'To redeem',\n },\n}\n","'use client'\n\nimport React from 'react'\nimport {\n useBetTokenBalance,\n useBetsSummary,\n useChain,\n useNativeBalance,\n} from '@azuro-org/sdk'\nimport { type ChainId } from '@azuro-org/toolkit'\nimport {\n ListboxButton,\n Listbox,\n ListboxOption,\n ListboxOptions,\n} from '@headlessui/react'\nimport { Message } from '@locmod/intl'\nimport cx from 'classnames'\nimport { openModal } from '@locmod/modal'\nimport { useAccount } from '@azuro-org/sdk-social-aa-connector'\nimport { config, useWallet } from 'wallet'\nimport { constants } from 'helpers'\nimport { formatToFixed } from 'helpers/formatters'\n\nimport { Icon } from 'components/ui'\nimport { Dropdown } from 'components/inputs'\n\nimport messages from './messages'\nimport { type Chain } from 'viem'\nimport { useSwitchChain } from 'wagmi'\nimport { NODE_ENV } from 'src/config/env'\nimport { base, baseSepolia } from 'viem/chains'\n\ntype ChainCurrencyProps = {\n className?: string\n chainClassName?: string\n chainId: ChainId\n size: 4 | 5\n borderColor?: 'bg-l0' | 'grey-10' | 'grey-20'\n withGrayscale?: boolean\n}\n\nconst ChainCurrency: React.FC = ({\n className,\n chainClassName,\n chainId,\n size,\n withGrayscale,\n}) => {\n return (\n
\n \n \n
\n \n
\n )\n}\n\nconst ChainSelect: React.FC = () => {\n const { appChain, setAppChainId } = useChain()\n const { switchChain } = useSwitchChain()\n const { isAAWallet } = useWallet()\n const isChainDropdownDisabled = NODE_ENV !== 'development' && isAAWallet\n\n return (\n
\n {\n switchChain({ chainId })\n setAppChainId(chainId)\n }}\n disabled={isChainDropdownDisabled}\n >\n \n
\n \n
{appChain.name}
\n
\n {!isChainDropdownDisabled && (\n \n )}\n
\n \n {config.chains.map((chain: Chain) => {\n const isActive = appChain.id === chain.id\n\n return (\n \n
\n \n
{chain.name}
\n
\n \n {isActive && (\n
\n )}\n
\n \n )\n })}\n
\n \n
\n )\n}\n\nconst BalanceInfo: React.FC = () => {\n const { address } = useAccount()\n const { appChain, betToken } = useChain()\n const { balance, loading: isBalanceFetching } = useBetTokenBalance()\n const { balance: nativeBalance, loading: isNativeBalanceFetching } =\n useNativeBalance()\n const {\n inBets,\n toPayout,\n loading: isBetsSummaryFetching,\n } = useBetsSummary({\n account: address!,\n })\n\n const formatedDecimals =\n appChain.id === base.id || appChain.id === baseSepolia.id ? 4 : 2\n\n return (\n
\n
\n \n
\n {Boolean(isBalanceFetching || isNativeBalanceFetching) ? (\n
\n ) : (\n <>\n \n {formatToFixed(balance || 0, formatedDecimals)}{' '}\n {betToken.symbol}\n \n \n + {formatToFixed(nativeBalance || 0, formatedDecimals)}{' '}\n {appChain.nativeCurrency.symbol}\n \n \n )}\n
\n
\n
\n
\n \n {isBetsSummaryFetching ? (\n
\n ) : (\n
\n {formatToFixed(inBets || 0, formatedDecimals)} {betToken.symbol}\n
\n )}\n
\n
\n \n {isBetsSummaryFetching ? (\n
\n ) : (\n
\n {formatToFixed(toPayout || 0, formatedDecimals)} {betToken.symbol}\n
\n )}\n
\n
\n
\n )\n}\n\nconst Content: React.FC = () => {\n return (\n
\n \n \n
\n )\n}\n\nconst Balance = () => {\n const { appChain } = useChain()\n const { balance, loading } = useBetTokenBalance()\n const formatedDecimals =\n appChain.id === base.id || appChain.id === baseSepolia.id ? 4 : 2\n\n const handleGetTokensClick = (event: React.MouseEvent) => {\n event.stopPropagation()\n\n openModal('FundingModal')\n }\n\n const rootClassName = cx(\n 'wd:h-10 -wd:h-8 bg-transparent flex items-center justify-between border border-grey-15 px-3 w-fit text-grey-60 ui-open:text-grey-90 hover:text-grey-90 ui-open:bg-grey-10 hover:bg-grey-10 ui-open:border-grey-20 hover:border-grey-20 transition-all mb:w-full rounded-md'\n )\n\n return (\n }\n placement=\"bottomRight\"\n >\n
\n
\n \n {loading ? (\n
\n ) : (\n
\n {formatToFixed(balance || 0, formatedDecimals)}\n
\n )}\n \n
\n ) =>\n event.stopPropagation()\n }\n >\n \n
\n
\n \n )\n}\n\nexport default Balance\n","\nexport { default as constants } from \"./constants\"\nexport { default as shortenAddress } from \"./shortenAddress\"","export default {\n myBets: {\n en: 'My bets',\n },\n disconnect: {\n en: 'Disconnect',\n },\n wave: {\n title: {\n en: 'Azuro Wave Points',\n },\n text: {\n en: 'Level: {level}',\n },\n },\n}\n","'use client'\n\nimport React, { useState } from 'react'\nimport { useChain, useWaveStats } from '@azuro-org/sdk'\nimport { WaveLevelName } from '@azuro-org/toolkit'\nimport { useAccount } from '@azuro-org/sdk-social-aa-connector'\nimport copy from 'copy-to-clipboard'\nimport { useIsMounted } from 'hooks'\nimport { Message } from '@locmod/intl'\nimport cx from 'classnames'\nimport { constants, shortenAddress } from 'helpers'\nimport { formatToFixed } from 'helpers/formatters'\n\nimport { Icon } from 'components/ui'\nimport { Href } from 'components/navigation'\nimport { Dropdown } from 'components/inputs'\n\nimport messages from './messages'\n\nimport { useWallet } from 'wallet'\n\nconst azuroIconClassNameByLevel: Record = {\n [WaveLevelName.Grey]: 'fill-gradient-azuro-waves-grey',\n [WaveLevelName.Mist]: 'fill-gradient-azuro-waves-mist',\n [WaveLevelName.Sky]: 'fill-gradient-azuro-waves-sky',\n [WaveLevelName.Blue]: 'fill-gradient-azuro-waves-blue',\n [WaveLevelName.Ultramarine]: 'fill-gradient-azuro-waves-ultramarine',\n [WaveLevelName.Bright]: 'fill-gradient-azuro-waves-bright',\n [WaveLevelName.Brilliant]: 'fill-gradient-azuro-waves-brilliant',\n [WaveLevelName.Royal]: 'fill-gradient-azuro-waves-royal',\n}\n\nconst AzuroWaves: React.FC = () => {\n const { address } = useAccount()\n const { data, isFetching } = useWaveStats({\n account: address!,\n })\n\n const {\n points,\n levelDescription: { name },\n } = data || { points: '0', levelDescription: { name: WaveLevelName.Grey } }\n\n return (\n \n
\n
\n \n
\n \n \n
\n
\n {isFetching ? (\n
\n ) : (\n
\n {formatToFixed(points || 0, 2)}\n
\n )}\n
\n \n )\n}\n\nconst Content: React.FC = () => {\n const { address } = useAccount()\n const { logoutApp } = useWallet()\n const { appChain } = useChain()\n const [isCopied, setCopied] = useState(false)\n const isMounted = useIsMounted()\n\n const handleCopyClick = () => {\n copy(address!)\n setCopied(true)\n\n setTimeout(() => {\n if (isMounted()) {\n setCopied(false)\n }\n }, 1000)\n }\n\n const buttonClassName =\n 'px-2 py-1 border border-grey-15 text-grey-60 hover:text-grey-90 transition cursor-pointer rounded-full'\n\n return (\n
\n
\n
\n
\n
\n \n
\n
{shortenAddress(address!)}
\n
\n
\n \n \n
\n \n \n \n
\n
\n \n
\n \n \n \n \n logoutApp()}\n >\n \n \n
\n
\n )\n}\n\nconst User: React.FC = () => {\n return (\n }\n placement=\"bottomRight\"\n >\n
\n
\n \n
\n \n
\n \n )\n}\n\nexport default User\n","export { default as Balance } from './Balance/Balance'\nexport { default as User } from './User/User'\n","'use client'\n\nimport React from 'react'\nimport cx from 'classnames'\n\nimport { Balance, User } from './components'\n\ntype ControlsProps = {\n className?: string\n}\n\nconst Controls: React.FC = ({ className }) => {\n return (\n
\n \n \n
\n )\n}\n\nexport default Controls\n","'use client'\n\nimport React, { useEffect, useRef } from 'react'\nimport { Button, buttonMessages } from 'components/inputs'\nimport TabbedBetslip from 'compositions/TabbedBetslip/TabbedBetslip'\nimport LiveStatistics from 'compositions/LiveStatistics/LiveStatistics'\nimport Controls from '../Controls/Controls'\nimport { sendGTMEvent } from '@next/third-parties/google'\nimport { useWalletAuth } from 'src/hooks/useWalletAuth'\nimport { useUserContext } from 'src/contexts/user'\n\nconst RightSidebar: React.FC = () => {\n const { isReconnecting, isConnecting, connectOrCreateWallet } =\n useWalletAuth()\n const { isLoginComplete, isUserConnecting } = useUserContext()\n const isMounted = useRef(false)\n\n useEffect(() => {\n isMounted.current = true\n }, [])\n\n return (\n <>\n
\n {Boolean(isMounted.current && isLoginComplete && !isConnecting) ? (\n \n ) : (\n {\n connectOrCreateWallet()\n sendGTMEvent({\n event: 'wallet_connect_initiated',\n is_betslip: false,\n section: 'header',\n login_toolkit: 'privy',\n })\n }}\n />\n )}\n
\n
\n \n \n
\n \n )\n}\n\nexport default RightSidebar\n","'use client'\n\nimport React, { useEffect, useRef, useState } from 'react'\nimport { usePathname } from 'next/navigation'\nimport { useFreezeBodyScroll } from 'hooks'\n\nimport { Icon, Logo } from 'components/ui'\nimport { Button, buttonMessages } from 'components/inputs'\nimport Navigation from 'compositions/Navigation/Navigation'\nimport LiveSwitcher from 'compositions/LiveSwitcher/LiveSwitcher'\nimport StaticNavigation from 'compositions/Navigation/StaticNavigation/StaticNavigation'\n\nimport Controls from '../Controls/Controls'\nimport { useWalletAuth } from 'src/hooks/useWalletAuth'\nimport { sendGTMEvent } from '@next/third-parties/google'\nimport { useUserContext } from 'src/contexts/user'\n\nconst Content: React.FC = () => {\n useFreezeBodyScroll()\n\n return (\n
\n \n \n \n
\n )\n}\n\nconst Header: React.FC = () => {\n const { isLoginComplete, isUserConnecting } = useUserContext()\n const { isReconnecting, isConnecting, connectOrCreateWallet } =\n useWalletAuth()\n\n const pathname = usePathname()\n const [isVisible, setVisibility] = useState(false)\n const containerRef = useRef(null)\n const isMounted = useRef(false)\n\n useEffect(() => {\n isMounted.current = true\n\n return () => {\n isMounted.current = false\n }\n }, [])\n\n const handleClick = () => {\n setVisibility(v => !v)\n }\n\n useEffect(() => {\n if (isVisible) {\n const handleOutsideClick = (event: MouseEvent) => {\n const composedPath = event.composedPath()\n\n if (!composedPath.includes(containerRef.current!)) {\n setVisibility(false)\n }\n }\n\n document.addEventListener('click', handleOutsideClick, { capture: true })\n\n return () => {\n document.removeEventListener('click', handleOutsideClick, {\n capture: true,\n })\n }\n }\n }, [isVisible])\n\n useEffect(() => {\n setVisibility(false)\n }, [pathname])\n\n return (\n
\n
\n
\n
\n \n
\n \n
\n {Boolean(isMounted.current && isLoginComplete && !isUserConnecting) ? (\n \n ) : (\n {\n connectOrCreateWallet()\n sendGTMEvent({\n event: 'wallet_connect_initiated',\n is_betslip: false,\n section: 'header',\n login_toolkit: 'privy',\n })\n }}\n />\n )}\n
\n {isVisible && }\n
\n )\n}\n\nexport default Header\n","export default {\n title: {\n en: 'Search for sport events, leagues...',\n },\n}\n","'use client'\n\nimport { Message } from '@locmod/intl'\nimport React from 'react'\nimport { openModal } from '@locmod/modal'\nimport { Icon } from 'components/ui'\n\nimport messages from './messages'\n\nconst Search: React.FC = () => {\n return (\n openModal('SearchModal')}\n >\n \n \n
\n )\n}\n\nexport default Search\n","export { default as LeftSidebar } from './LeftSidebar/LeftSidebar'\nexport { default as RightSidebar } from './RightSidebar/RightSidebar'\nexport { default as Header } from './Header/Header'\nexport { default as Search } from './Search/Search'\n","'use client'\n\nimport React, { useRef } from 'react'\nimport cx from 'classnames'\n\nimport { Media } from 'components/layout'\nimport MobileBetslipButton from 'compositions/MobileBetslipButton/MobileBetslipButton'\nimport MobileStatisticsButton from 'compositions/MobileStatisticsButton/MobileStatisticsButton'\n\nimport { LeftSidebar, RightSidebar, Header, Search } from './components'\n\nimport ns from './Narrow.module.scss'\nimport ws from './Wide.module.scss'\n\nconst Content: React.CFC = ({ children }) => {\n const rootClassName = cx(\n 'h-[100vh] flex flex-col wd:flex-row min-h-screen mx-auto wd:px-2 wd:pb-2 overflow-hidden',\n ws.root\n )\n const mainClassName = cx(\n ns.main,\n ws.main,\n 'mx-auto flex-1 w-full wd:h-auto',\n {\n [ws.withRightSidebar]: true,\n }\n )\n const sidebarClassName = 'sticky top-0 z-[100] shrink-0 no-scrollbar'\n\n return (\n
\n \n \n \n \n
\n \n \n
\n {/* search block */}\n \n \n \n
\n {children}\n
\n
\n \n \n \n \n
\n \n \n
\n
\n
\n )\n}\n\nexport default Content\n","export default {\n nav: {\n about: {\n en: 'About',\n },\n blog: {\n en: 'Blog',\n },\n rulesAndDisclaimers: {\n en: 'Rules & Disclaimers',\n },\n terms: {\n en: 'Terms & Conditions',\n },\n policy: {\n en: 'Privacy Policy',\n },\n },\n}\n","import React from 'react'\nimport { Message } from '@locmod/intl'\nimport { constants } from 'helpers'\n\nimport messages from './messages'\n\nconst items = [\n {\n text: messages.nav.about,\n link: constants.links.about,\n },\n {\n text: messages.nav.blog,\n link: constants.links.blog,\n },\n {\n text: messages.nav.rulesAndDisclaimers,\n link: constants.links.rulesAndDisclaimers,\n },\n {\n text: messages.nav.terms,\n link: constants.links.terms,\n },\n {\n text: messages.nav.policy,\n link: constants.links.policy,\n },\n]\n\nconst Navbar: React.FC = () => {\n return (\n
\n {items.map((item, index) => (\n \n \n \n ))}\n
\n )\n}\n\nexport default Navbar\n","import React from 'react'\nimport { constants } from 'helpers'\nimport Navbar from '../Navbar/Navbar'\n\nconst currentYear = new Date().getFullYear()\n\nconst Copy: React.FC = () => {\n return (\n
\n
{`©${currentYear} ${constants.companyName}`}
\n
\n \n
\n
\n )\n}\n\nexport default Copy\n","import React from 'react'\nimport { constants } from 'helpers'\n\nimport { Href } from 'components/navigation'\nimport { Icon, type IconName } from 'components/ui'\n\nconst items: { id: string; icon: IconName; link: string }[] = [\n {\n id: 'twitter',\n icon: 'socials/twitter',\n link: constants.socialLinks.twitter,\n },\n {\n id: 'discord',\n icon: 'socials/discord',\n link: constants.socialLinks.discord,\n },\n {\n id: 'telegram',\n icon: 'socials/telegram',\n link: constants.socialLinks.telegram,\n },\n {\n id: 'instagram',\n icon: 'socials/instagram',\n link: constants.socialLinks.instagram,\n },\n]\n\nconst Social: React.FC = () => {\n return (\n
\n {items.map((item, index) => (\n \n \n \n ))}\n
\n )\n}\n\nexport default Social\n","import React from 'react'\n\nimport { Logo } from 'components/ui'\n\nimport Copy from './components/Copy/Copy'\nimport Social from './components/Social/Social'\nimport Navbar from './components/Navbar/Navbar'\n\nconst Footer: React.FC = () => {\n return (\n
\n
\n
\n \n \n
\n
\n \n
\n
\n
\n \n
\n
\n )\n}\n\nexport default Footer\n","export { default as Content } from './Content/Content'\nexport { default as Footer } from './Footer/Footer'\n","'use client'\n\nimport React from 'react'\n\nimport { GlobalModalsRegistrar } from 'compositions/modals'\n\nimport { Content, Footer } from './components'\n\nconst PageLayout: React.CFC = props => {\n let { children } = props\n\n return (\n <>\n \n
{children}
\n
\n \n \n
\n \n )\n}\n\nexport default PageLayout\n","\nexport { DeviceProvider } from \"/codebuild/output/src1629841895/src/dgbet/src/contexts/device/index.tsx\"\nexport { OddsViewProvider } from \"/codebuild/output/src1629841895/src/dgbet/src/contexts/oddsView/index.tsx\"\nexport { TimeFormatProvider } from \"/codebuild/output/src1629841895/src/dgbet/src/contexts/timeFormat/index.tsx\"","import type React from 'react'\nimport { useEffect } from 'react'\nimport { openModal } from '@locmod/modal'\nimport localStorage from '@locmod/local-storage'\nimport { useDetailedBetslip } from '@azuro-org/sdk'\nimport { useUserContext } from 'src/contexts/user'\n\nconst NewFreeBetsChecker: React.FC = () => {\n const { freeBets } = useDetailedBetslip()\n const { isLoginComplete } = useUserContext()\n\n useEffect(() => {\n if (freeBets?.length && isLoginComplete) {\n freeBets?.reduce((promise, freeBet) => {\n const uniqueId = `${freeBet.contractAddress}_${freeBet.id}`\n const storageName = `bonus-${uniqueId}`\n const wasShown = localStorage.getItem(storageName)\n\n if (wasShown) {\n return promise\n }\n\n // as it's possible to have few bonuses, we should show them one-by-one\n return promise.then(\n () =>\n new Promise(resolve => {\n openModal('NewFreeBetModal', {\n freeBet,\n onClose: () => {\n resolve()\n localStorage.setItem(storageName, true)\n },\n })\n })\n )\n }, Promise.resolve())\n }\n }, [freeBets, isLoginComplete])\n\n return null\n}\n\nexport default NewFreeBetsChecker\n","'use client'\n\nimport React from 'react'\nimport { type State } from 'wagmi'\nimport { type ChainId } from '@azuro-org/toolkit'\nimport { type Address } from 'viem'\nimport { IntlProvider } from '@locmod/intl'\nimport { SvgProvider, SvgSprite } from 'svg-provider'\nimport { AzuroSDKProvider, LiveProvider } from '@azuro-org/sdk'\nimport { WagmiProvider } from 'wallet'\nimport { DeviceProvider, OddsViewProvider, TimeFormatProvider } from 'contexts'\n\nimport NewFreeBetsChecker from 'compositions/NewFreeBetsChecker/NewFreeBetsChecker'\nimport { UserProvider } from 'src/contexts/user'\n\ntype Props = {\n userAgent: string\n initialChainId: ChainId\n initialLiveState: boolean\n initialState?: State\n}\n\nconst Providers: React.CFC = props => {\n const {\n children,\n userAgent,\n initialState,\n initialChainId,\n initialLiveState,\n } = props\n\n return (\n \n \n \n \n \n \n \n \n {children}\n \n \n \n \n \n \n \n
\n \n
\n
\n
\n )\n}\n\nexport default Providers\n","export default {\n locked: {\n en: 'Outcome removed or suspended',\n },\n possibleWin: {\n en: 'Possible win',\n },\n}\n","'use client'\n\nimport React, { useRef } from 'react'\nimport { useBaseBetslip, useChain, type BetslipItem } from '@azuro-org/sdk'\nimport { ConditionStatus, liveHostAddress } from '@azuro-org/toolkit'\nimport cx from 'classnames'\nimport { Message } from '@locmod/intl'\nimport { constants } from 'helpers'\n\nimport { formatToFixed } from 'helpers/formatters'\nimport useOddsChange from 'src/hooks/useOddsChange'\nimport { Input } from 'components/inputs'\nimport { Warning } from 'components/feedback'\nimport { Icon, LiveDot, type IconName } from 'components/ui'\nimport OddsValue from 'compositions/OddsValue/OddsValue'\n\nimport messages from './messages'\n\n\ntype ItemProps = {\n item: BetslipItem\n batchBetAmount: string\n status: ConditionStatus\n odds: number\n isStatusesFetching: boolean\n isOddsFetching: boolean\n isBatch: boolean\n onBatchAmountChange: (value: string) => void\n}\n\nconst Card: React.FC = (props) => {\n const { item, batchBetAmount, odds, status, isOddsFetching, isStatusesFetching, isBatch, onBatchAmountChange } = props\n const { marketName, selectionName, coreAddress, game: { sportSlug, countryName, leagueName, title } } = item\n\n const { appChain, betToken } = useChain()\n const { removeItem } = useBaseBetslip()\n const nodeRef = useRef(null)\n useOddsChange({ odds, nodeRef })\n const oddsRef = useRef(odds)\n\n if (!isOddsFetching) {\n oddsRef.current = odds\n }\n\n const isDisabled = !isStatusesFetching && status !== ConditionStatus.Created\n const isLive = coreAddress === liveHostAddress\n const isUnique = sportSlug === 'unique'\n\n const bottomBoxClassName = cx(\n 'px-4 py-2 mt-px',\n 'group-[.increased]/card:bg-betslip-item-bg-inc',\n 'group-[.decreased]/card:bg-betslip-item-bg-dec',\n {\n 'bg-betslip-item-bg': !isDisabled,\n 'bg-bg-l2': isDisabled,\n }\n )\n const oddsClassName = cx(\n 'h-5 flex items-center px-[0.375rem] bg-brand-50 border',\n 'border-brand-10 rounded-sm text-black text-caption-12',\n 'group-[.increased]/card:bg-accent-green-5 group-[.increased]/card:border-accent-green-10 group-[.increased]/card:text-accent-green',\n 'group-[.decreased]/card:bg-accent-red-5 group-[.decreased]/card:border-accent-red-10 group-[.decreased]/card:text-accent-red'\n )\n\n return (\n
\n
\n
\n \n \n {\n isUnique ? (\n
{marketName}
\n ) : (\n <>\n
{countryName}
\n
\n
{leagueName}
\n \n )\n }\n
\n \n
\n
\n
\n
{title}
\n {\n isLive && (\n \n )\n }\n
\n {\n isDisabled && (\n \n )\n }\n
\n
\n
\n {\n isDisabled ? (\n \n ) : (\n <>\n
\n
\n {\n !isUnique && (\n {marketName}:\n )\n }\n {selectionName}\n
\n {\n isOddsFetching ? (\n \n ) : (\n \n )\n }\n
\n {\n isBatch && (\n
\n }\n onChange={onBatchAmountChange}\n />\n
\n \n
\n {formatToFixed(oddsRef.current * +batchBetAmount, 2)} {betToken.symbol}\n
\n
\n
\n )\n }\n \n )\n }\n
\n
\n )\n}\n\nexport default Card\n","import { useChain, useDetailedBetslip, BetslipDisableReason } from '@azuro-org/sdk'\nimport React from 'react'\nimport { constants } from 'helpers'\n\nimport { Icon } from 'components/ui'\nimport { Input } from 'components/inputs'\n\n\ntype AmountInputProps = {\n isEnoughBalance: boolean\n}\n\nconst AmountInput: React.FC = ({ isEnoughBalance }) => {\n const { appChain } = useChain()\n const { betAmount, changeBetAmount, disableReason } = useDetailedBetslip()\n\n const handleChange = (value: string) => {\n const [ int, digits ] = value.split('.')\n\n if (digits) {\n value = `${int}.${digits.substring(0, 2)}`\n }\n\n changeBetAmount(value)\n }\n\n const isError = !isEnoughBalance || [\n BetslipDisableReason.BetAmountGreaterThanMaxBet,\n BetslipDisableReason.BetAmountLowerThanMinBet,\n ].includes(disableReason!)\n\n return (\n }\n onChange={handleChange}\n isError={isError}\n />\n )\n}\n\nexport default AmountInput\n","export default {\n title: {\n en: 'Quick Bet',\n },\n}\n","import { Message } from '@locmod/intl'\nimport React, { useState } from 'react'\nimport localStorage from '@locmod/local-storage'\nimport { useChain } from '@azuro-org/sdk'\nimport { constants } from 'helpers'\n\nimport { Input } from 'components/inputs'\n\nimport messages from './messages'\n\n\nconst inputPattern = '^(|[1-9][0-9]*)$'\n\nexport const getQuickBetStorageValue = () => {\n const storageValue = localStorage.getItem(constants.localStorageKeys.quickBet)\n\n if (Array.isArray(storageValue) && storageValue.every((value) => /^\\d+$/.test(value))) {\n return storageValue\n }\n\n return constants.defaultQuickBetsValues\n}\n\nconst QuickBet: React.FC = () => {\n const { betToken } = useChain()\n const [ fields, setFields ] = useState(getQuickBetStorageValue())\n\n const handleChange = (value: string, index) => {\n const newValue = getQuickBetStorageValue()\n newValue[index] = +value ? value : constants.defaultQuickBetsValues[index]\n localStorage.setItem(constants.localStorageKeys.quickBet, newValue)\n\n setFields(newValue)\n }\n\n return (\n
\n \n
\n {\n fields.map((_, index) => {\n return (\n {betToken.symbol}
}\n onChange={(value) => handleChange(value, index)}\n />\n )\n })\n }\n
\n
\n )\n}\n\nexport default QuickBet\n","export default {\n max: {\n en: 'max',\n },\n}\n","import React from 'react'\nimport cx from 'classnames'\nimport { useBetTokenBalance, useDetailedBetslip } from '@azuro-org/sdk'\nimport { Message } from '@locmod/intl'\nimport { useAccount } from '@azuro-org/sdk-social-aa-connector'\nimport { formatToFixed } from 'helpers/formatters'\n\nimport { getQuickBetStorageValue } from '../QuickBet/QuickBet'\n\nimport messages from './messages'\n\ntype ChipProps = {\n title: string | Intl.Message\n isActive: boolean\n isDisabled?: boolean\n onClick: () => void\n}\n\nconst Chip: React.FC = ({\n title,\n isActive,\n isDisabled,\n onClick,\n}) => {\n const className = cx(\n 'h-7 px-2 text-center w-full rounded-t-ssm rounded-b-sm',\n {\n 'bg-brand-50 text-black': isActive,\n 'text-white bg-bg-l3 hover:text-brand-50': !isActive,\n 'cursor-now-allowed text-white': isDisabled,\n }\n )\n\n return (\n \n )\n}\n\nconst Chips: React.FC = () => {\n const { address } = useAccount()\n const { betAmount, changeBetAmount } = useDetailedBetslip()\n const { balance, loading } = useBetTokenBalance()\n\n if (!address) {\n return null\n }\n\n const chips = getQuickBetStorageValue()\n\n return (\n
\n {chips.map(chipValue => {\n const isActive = +betAmount === +chipValue\n\n return (\n changeBetAmount(String(chipValue))}\n />\n )\n })}\n changeBetAmount(balance!)}\n />\n
\n )\n}\n\nexport default Chips\n","import { UserRejectedRequestError } from 'viem'\n\n\nconst isUserRejectedRequestError = (error: any) => {\n return error instanceof UserRejectedRequestError || error?.cause instanceof UserRejectedRequestError\n}\n\nexport default isUserRejectedRequestError\n","export const getBetTransactionData = async (\n transactionHash: string,\n publicClient: any\n) => {\n try {\n const receipt = await publicClient.getTransactionReceipt({\n hash: transactionHash,\n })\n\n const logs = receipt?.logs\n const nftTransferLogs =\n logs?.filter(\n (log: any) =>\n log.topics[0] ===\n '0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef' &&\n log.topics.length === 4\n ) ?? []\n\n const tokenId =\n nftTransferLogs.length > 0\n ? BigInt(\n nftTransferLogs[nftTransferLogs.length - 1].topics[3]\n ).toString()\n : null\n\n return { tokenId }\n } catch (error) {\n console.error('Error getting bet transaction data:', error)\n return { tokenId: null }\n }\n}\n","// api/discordUpdate.ts\n\nimport { getMarketName, getSelectionName } from '@azuro-org/dictionaries'\nimport type { BetslipItem } from '@azuro-org/sdk'\nimport { updateDiscordChannelApi } from 'src/utils/api'\nimport { getBetTransactionData } from 'src/utils/getBetTransactionData'\n\nconst updateDiscordChannel = async (\n betDetails: BetslipItem[],\n betAmount: string,\n totalOdds: number,\n isSingleBet: boolean,\n isLive: boolean,\n transactionHash: string,\n chainId: number,\n publicClient: any,\n isBatch: boolean,\n batchAmounts: Record,\n odds: Record\n // walletAddress: `0x${string}`\n) => {\n const { tokenId } = await getBetTransactionData(transactionHash, publicClient)\n\n const updatedItems = betDetails.map((item: any) => ({\n ...item,\n tokenId,\n chainId,\n transactionHash,\n isSingleBet,\n betAmount,\n totalOdds,\n odds,\n batchAmounts,\n live: isLive,\n market: getMarketName({ outcomeId: item.outcomeId }),\n isBatch,\n selection: getSelectionName({\n outcomeId: item.outcomeId,\n withPoint: true,\n }),\n }))\n\n try {\n const response = await updateDiscordChannelApi({\n items: updatedItems,\n })\n return response\n } catch (error) {\n const err = error as Error\n console.error('Error updating Discord channel', err)\n }\n}\n\nexport default updateDiscordChannel\n","export default {\n possibleWin: {\n en: 'Possible win:',\n },\n success: {\n title: {\n en: 'Your bet has been successfully placed, you can find it in the \"My bets\" tab',\n },\n },\n}\n","import { useEffect, useRef, useState } from 'react'\nimport cx from 'classnames'\nimport {\n type BetslipItem,\n useBaseBetslip,\n useChain,\n useDetailedBetslip,\n usePrepareBet,\n} from '@azuro-org/sdk'\nimport { type TransactionReceipt, type Address } from 'viem'\nimport { Message } from '@locmod/intl'\nimport { useAccount } from '@azuro-org/sdk-social-aa-connector'\nimport { openModal } from '@locmod/modal'\nimport localStorage from '@locmod/local-storage'\nimport {\n constants,\n isUserRejectedRequestError,\n updateDiscordChannel,\n} from 'helpers'\nimport { formatToFixed } from 'helpers/formatters'\n\nimport { Icon } from 'components/ui'\nimport { buttonMessages } from 'components/inputs'\n\nimport messages from './messages'\nimport { usePublicClient } from 'wagmi'\nimport { sendGTMEvent } from '@next/third-parties/google'\n\nimport { ConnectorName, useWallet } from 'wallet'\nimport { useUserContext } from 'src/contexts/user'\ntype BetButtonProps = {\n isEnoughBalance: boolean\n isBalanceFetching: boolean\n}\n\nconst BetButton: React.FC = ({\n isEnoughBalance,\n isBalanceFetching,\n}) => {\n const [isAllowanceInitiated, setIsAllowanceInitiated] = useState(false)\n\n const { address, chainId, chain } = useAccount()\n const { connector } = useWallet()\n const { currentUser } = useUserContext()\n const { betToken } = useChain()\n const publicClient = usePublicClient()\n const { items, clear } = useBaseBetslip()\n const {\n betAmount,\n odds,\n totalOdds,\n selectedFreeBet,\n batchBetAmounts,\n isBetAllowed,\n isOddsFetching,\n isStatusesFetching,\n isBatch,\n isLiveBet,\n } = useDetailedBetslip()\n\n const totalOddsRef = useRef(totalOdds)\n\n if (!isOddsFetching) {\n totalOddsRef.current = totalOdds\n }\n\n const getTotalPossibleWin = () => {\n if (!items.length) {\n return 0\n }\n\n // Calculate the sum of all possible wins (odds * batchBetAmount)\n let totalWin = 0\n\n items.forEach(item => {\n const { conditionId, outcomeId } = item\n const itemOdds = odds?.[`${conditionId}-${outcomeId}`] || 0\n const itemBatchAmount =\n batchBetAmounts[`${conditionId}-${outcomeId}`] || '0'\n const possibleWin = itemOdds * +itemBatchAmount\n\n totalWin += possibleWin\n })\n\n return totalWin\n }\n\n const checkDifferentGames = (items: BetslipItem[]) => {\n if (items.length <= 1) {\n return false\n }\n\n // Get all gameIds\n const gameIds = items.map(({ game }) => game.gameId)\n\n // Check if there are any duplicate gameIds (any same-game selections)\n return new Set(gameIds).size < gameIds.length\n }\n\n const getHighestPossibleWin = () => {\n if (!isDifferentGames || !items.length) {\n return 0\n }\n\n // Group items by gameId\n const gameGroups: Record = {}\n items.forEach(item => {\n const gameId = item.game.gameId\n if (!gameGroups[gameId]) {\n gameGroups[gameId] = []\n }\n gameGroups[gameId].push(item)\n })\n\n let totalHighestWin = 0\n\n // For each group of same-game selections, find the highest win\n Object.values(gameGroups).forEach(gameItems => {\n // If there's only one selection for this game, add its win to the total\n if (gameItems.length === 1) {\n const item = gameItems[0]\n const { conditionId, outcomeId } = item\n const itemOdds = odds?.[`${conditionId}-${outcomeId}`] || 0\n const itemBatchAmount =\n batchBetAmounts[`${conditionId}-${outcomeId}`] || '0'\n totalHighestWin += itemOdds * +itemBatchAmount\n return\n }\n\n // For multiple selections from the same game, find the highest win\n let highestWin = 0\n gameItems.forEach(item => {\n const { conditionId, outcomeId } = item\n const itemOdds = odds?.[`${conditionId}-${outcomeId}`] || 0\n const itemBatchAmount =\n batchBetAmounts[`${conditionId}-${outcomeId}`] || '0'\n const possibleWin = itemOdds * +itemBatchAmount\n\n if (possibleWin > highestWin) {\n highestWin = possibleWin\n }\n })\n\n totalHighestWin += highestWin\n })\n\n return totalHighestWin\n }\n\n const isDifferentGames = checkDifferentGames(items)\n\n const slippage = +(\n (localStorage.getItem(constants.localStorageKeys.slippage) as string) ||\n constants.defaultSlippage\n )\n\n const {\n submit,\n approveTx,\n betTx,\n isRelayerFeeLoading,\n isAllowanceLoading,\n isApproveRequired,\n } = usePrepareBet({\n betAmount: isBatch ? batchBetAmounts : betAmount,\n slippage,\n affiliate: process.env.NEXT_PUBLIC_AFFILIATE_ADDRESS as Address,\n selections: items,\n odds,\n totalOdds,\n freeBet: selectedFreeBet,\n onSuccess: (response: TransactionReceipt) => {\n updateDiscordChannel(\n items,\n betAmount,\n totalOdds,\n isBatch,\n isLiveBet,\n response.transactionHash,\n chainId as number,\n publicClient,\n isBatch,\n batchBetAmounts,\n odds\n // address as `0x${string}`\n )\n sendGTMEvent({\n event: 'betslip_bet_completed',\n user_id: currentUser?.id,\n bet_type: !isBatch && items.length > 1 ? 'Combo' : 'Single',\n token_approval_required: isApproveRequired,\n bet_count: items.length,\n bet_amount: betAmount,\n bet_payout: totalOddsRef.current * +betAmount,\n freebet_amount: selectedFreeBet || 0,\n destination_chain: chain?.name,\n destination_token: betToken.symbol,\n destination_wallet_address: address,\n wallet_app_name:\n connector?.name === ConnectorName.Privy ? 'privy' : connector?.name,\n })\n openModal('SuccessModal', {\n title: messages.success.title,\n })\n clear()\n },\n onError: err => {\n console.log({ err })\n if (!isUserRejectedRequestError(err)) {\n openModal('ErrorModal')\n }\n if (isUserRejectedRequestError(err)) {\n sendGTMEvent({\n event: 'place_bet_rejected',\n destination_chain: chain?.name,\n destination_wallet_address: address,\n })\n }\n console.log('Bet err:', err)\n },\n })\n\n const isPending = approveTx.isPending || betTx.isPending\n const isProcessing = approveTx.isProcessing || betTx.isProcessing\n\n const isLoading =\n isOddsFetching ||\n isBalanceFetching ||\n isStatusesFetching ||\n isAllowanceLoading ||\n isPending ||\n isProcessing ||\n isRelayerFeeLoading\n\n const isDisabled =\n isLoading ||\n !address ||\n !isBetAllowed ||\n (!selectedFreeBet && !isEnoughBalance && !isApproveRequired) ||\n !+betAmount\n\n const rootClassName = cx(\n 'flex items-center justify-between py-1 pr-1 border rounded-md w-full',\n {\n 'bg-bg-l1 border-grey-10 cursor-not-allowed': isDisabled,\n 'bg-brand-50 text-black border-white/20': !isDisabled,\n }\n )\n const possibleWinClassName = cx(\n 'text-caption-12 flex items-center p-2 rounded-sm flex-none select-none',\n {\n 'bg-grey-15 text-white': isDisabled,\n 'bg-white/20 text-black': !isDisabled,\n }\n )\n\n const handlePlaceBet = async () => {\n try {\n if (isApproveRequired) {\n setIsAllowanceInitiated(true)\n } else {\n sendGTMEvent({\n event: 'betslip_bet_initiated',\n user_id: currentUser?.id,\n bet_type: !isBatch && items.length > 1 ? 'Combo' : 'Single',\n token_approval_required: isApproveRequired,\n bet_count: items.length,\n bet_amount: betAmount,\n bet_payout: totalOddsRef.current * +betAmount,\n freebet_amount: selectedFreeBet || 0,\n destination_chain: chain?.name,\n destination_token: betToken.symbol,\n destination_wallet_address: address,\n wallet_app_name:\n connector?.name === ConnectorName.Privy ? 'privy' : connector?.name,\n })\n }\n await submit()\n } catch (error) {\n console.error('Error placing bet:', error)\n }\n }\n\n useEffect(() => {\n const checkAllowance = async () => {\n if (approveTx.isProcessing) {\n sendGTMEvent({\n event: 'spend_allowance_approved',\n destination_chain: chain?.name,\n destination_wallet_address: address,\n wallet_app_name:\n connector?.name === ConnectorName.Privy ? 'privy' : connector?.name,\n })\n setIsAllowanceInitiated(false)\n }\n\n if (!approveTx.isPending && !approveTx.isProcessing) {\n sendGTMEvent({\n event: 'spend_allowance_rejected',\n destination_chain: chain?.name,\n destination_wallet_address: address,\n wallet_app_name:\n connector?.name === ConnectorName.Privy ? 'privy' : connector?.name,\n })\n // setIsAllowanceInitiated(false)\n }\n }\n\n if (isApproveRequired && isAllowanceInitiated) {\n checkAllowance()\n }\n }, [approveTx.isPending, approveTx.isProcessing])\n\n return (\n \n
\n {isLoading ? (\n \n ) : (\n \n )}\n
\n
\n \n
\n {formatToFixed(\n isBatch ? getTotalPossibleWin() : totalOddsRef.current * +betAmount,\n 2\n )}{' '}\n {betToken.symbol}\n
\n
\n \n )\n}\n\nexport default BetButton\n","export default {\n apply: {\n en: 'Apply Bonus',\n },\n freebet: {\n en: 'Freebet',\n },\n}\n","'use client'\n\nimport { useBaseBetslip, useChain, useDetailedBetslip } from '@azuro-org/sdk'\nimport { Message } from '@locmod/intl'\nimport dynamic from 'next/dynamic'\nimport { openModal } from '@locmod/modal'\nimport React, { useEffect } from 'react'\n\nimport { Icon } from 'components/ui'\n\nimport messages from './messages'\n\nconst SelectFreeBetModal = dynamic(\n () => import('./components/SelectFreeBetModal/SelectFreeBetModal')\n)\n\nconst FreeBet: React.FC = () => {\n const { betToken } = useChain()\n const { items } = useBaseBetslip()\n const { freeBets, selectedFreeBet, selectFreeBet } = useDetailedBetslip()\n\n const clearFreeBet = () => {\n selectFreeBet(undefined)\n }\n\n useEffect(() => {\n if (selectedFreeBet && items.length > 1) {\n clearFreeBet()\n }\n }, [selectedFreeBet])\n\n if (!freeBets?.length || items.length > 1) {\n return null\n }\n\n return (\n <>\n
\n {Boolean(selectedFreeBet) ? (\n
\n
\n \n \n
#{selectedFreeBet!.id}
\n
\n
\n
\n {selectedFreeBet!.amount} {betToken.symbol}\n
\n \n
\n
\n ) : (\n openModal('SelectFreeBetModal')}\n >\n \n \n
\n )}\n
\n \n \n )\n}\n\nexport default FreeBet\n","export default {\n title: {\n en: 'Odds Slippage Tolerance',\n },\n custom: {\n en: 'Custom',\n },\n}\n","import { Message, useIntl } from '@locmod/intl'\nimport React, { useState } from 'react'\nimport cx from 'classnames'\nimport localStorage from '@locmod/local-storage'\nimport { constants } from 'helpers'\n\nimport { Input } from 'components/inputs'\nimport { Icon } from 'components/ui'\n\nimport messages from './messages'\n\n\ntype ButtonProps = {\n className?: string\n value: string\n isActive: boolean\n onClick: () => void\n}\n\nconst Button: React.FC = ({ className, value, isActive, onClick }) => {\n return (\n \n {value}\n \n )\n}\n\nconst Slippage: React.FC = () => {\n const storedValue = localStorage.getItem(constants.localStorageKeys.slippage) as string\n const isFixedValue = constants.defaultSlippageValues.includes(storedValue)\n const initialValue = storedValue || constants.defaultSlippage\n\n const intl = useIntl()\n const [ isCustom, setIsCustom ] = useState(!isFixedValue)\n const [ slippageValue, setSlippageValue ] = useState(initialValue)\n\n const setValue = (value) => {\n setSlippageValue(value)\n localStorage.setItem(constants.localStorageKeys.slippage, value)\n }\n\n const handleButtonClick = (value: string) => {\n setIsCustom(false)\n setValue(value)\n }\n\n return (\n
\n \n
\n {\n constants.defaultSlippageValues.map((value) => {\n const isActive = !isCustom && value === slippageValue\n\n return (\n handleButtonClick(value)}\n />\n )\n })\n }\n setIsCustom(true)}\n />\n
\n {\n isCustom && (\n }\n onChange={setValue}\n />\n )\n }\n
\n )\n}\n\nexport default Slippage\n","export { default as Card } from './Card/Card'\nexport { default as AmountInput } from './AmountInput/AmountInput'\nexport { default as Chips } from './Chips/Chips'\nexport { default as BetButton } from './BetButton/BetButton'\nexport { default as FreeBet } from './FreeBet/FreeBet'\nexport { default as Slippage } from './Slippage/Slippage'\nexport { default as QuickBet } from './QuickBet/QuickBet'\n","import { BetslipDisableReason } from '@azuro-org/sdk'\n\n\nexport default {\n empty: {\n title: {\n en: 'Betslip is empty',\n },\n text: {\n en: 'To add a bet to your betslip, choose a market and make your selection',\n },\n },\n settings: {\n en: 'Settings',\n },\n single: {\n en: 'Single bet',\n },\n batch: {\n en: 'Single bets ({count})',\n },\n combo: {\n en: 'Combo ({count})',\n },\n betAmount: {\n en: 'Bet amount',\n },\n totalBet: {\n en: 'Total bet',\n },\n warnings: {\n [BetslipDisableReason.ComboWithForbiddenItem]: {\n en: 'One or more conditions can\\'t be used in combo',\n },\n [BetslipDisableReason.BetAmountGreaterThanMaxBet]: {\n en: 'The maximum allowable bet amount is capped at {maxBet} {symbol}.',\n },\n [BetslipDisableReason.BetAmountLowerThanMinBet]: {\n en: 'The minimum allowable bet amount is capped at {minBet} {symbol}.',\n },\n [BetslipDisableReason.ComboWithLive]: {\n en: 'Live outcome can\\'t be used in combo',\n },\n [BetslipDisableReason.ConditionStatus]: {\n en: 'One or more outcomes have been removed or suspended. Review your betslip and remove them.',\n },\n [BetslipDisableReason.PrematchConditionInStartedGame]: {\n en: 'Game has started',\n },\n [BetslipDisableReason.ComboWithSameGame]: {\n en: 'Combo with outcomes from same game prohibited, please use Batch bet',\n },\n [BetslipDisableReason.BatchWithLive]: {\n en: 'Live outcome can\\'t be used in batch',\n },\n [BetslipDisableReason.FreeBetWithLive]: {\n en: 'FreeBet can\\'t be used for live',\n },\n [BetslipDisableReason.FreeBetWithCombo]: {\n en: 'FreeBet can\\'t be used for combo',\n },\n [BetslipDisableReason.FreeBetWithBatch]: {\n en: 'FreeBet can\\'t be used for batch',\n },\n [BetslipDisableReason.FreeBetExpired]: {\n en: 'FreeBet is expired',\n },\n [BetslipDisableReason.FreeBetMinOdds]: {\n en: 'Odds\\'s too low for FreeBet',\n },\n },\n}\n","'use client'\n\nimport React, { useState } from 'react'\nimport { useBaseBetslip, useBetTokenBalance, useChain, useDetailedBetslip } from '@azuro-org/sdk'\nimport { Message } from '@locmod/intl'\nimport cx from 'classnames'\n\nimport { Icon } from 'components/ui'\nimport { Warning } from 'components/feedback'\nimport ConnectButtonWrapper from 'compositions/ConnectButtonWrapper/ConnectButtonWrapper'\n\nimport { AmountInput, BetButton, Card, Chips, FreeBet, Slippage, QuickBet } from './components'\n\nimport messages from './messages'\n\n\nconst EmptyContent: React.FC = () => {\n return (\n
\n \"\"\n \n \n
\n )\n}\n\ntype SettingsProps = {\n onClose: () => void\n}\n\nconst Settings: React.FC = ({ onClose }) => {\n return (\n
\n
\n \n \n
\n
\n \n \n
\n
\n )\n}\n\ntype TabProps = {\n title: Intl.Message\n isActive: boolean\n onClick: () => void\n}\n\nconst Tab: React.FC = ({ title, isActive, onClick }) => {\n return (\n \n )\n}\n\ntype ContentProps = {\n openSettings: () => void\n}\n\nconst Content: React.FC = ({ openSettings }) => {\n const { betToken } = useChain()\n const { items, clear } = useBaseBetslip()\n const {\n odds, statuses, minBet, maxBet, disableReason, selectedFreeBet, betAmount, batchBetAmounts,\n isOddsFetching, isStatusesFetching, isBatch, changeBatch, changeBatchBetAmount,\n } = useDetailedBetslip()\n const { balance, loading: isBalanceFetching } = useBetTokenBalance()\n\n\n const itemsLength = items.length\n const isSingle = itemsLength === 1\n\n const isEnoughBalance = isBalanceFetching || !Boolean(+betAmount) ? true : Boolean(+balance! > +betAmount)\n\n return (\n
\n \n {\n isSingle ? (\n \n ) : (\n
\n changeBatch(true)}\n />\n changeBatch(false)}\n />\n
\n )\n }\n
\n \n \n
\n
\n \n {\n items.map((item) => {\n const { conditionId, outcomeId, coreAddress } = item\n\n return (\n changeBatchBetAmount(item, value)}\n />\n )\n })\n }\n
\n \n 2,\n })\n }\n >\n {\n Boolean(!selectedFreeBet && !isBatch) && (\n <>\n \n \n \n )\n }\n {\n Boolean(disableReason) && (\n \n )\n }\n {\n isBatch && (\n
\n \n
{betAmount} {betToken.symbol}
\n
\n )\n }\n
\n \n \n \n
\n
\n
\n )\n}\n\nconst Betslip: React.FC = () => {\n const { items } = useBaseBetslip()\n const [ isSettingsVisible, setSettingsVisible ] = useState(false)\n\n if (!items.length) {\n return (\n \n )\n }\n\n return (\n <>\n {\n isSettingsVisible ? (\n setSettingsVisible(false)} />\n ) : (\n setSettingsVisible(true)} />\n )\n }\n \n )\n}\n\nexport default Betslip\n","export default {\n others: {\n en: '& Other',\n },\n freebet: {\n en: 'Freebet',\n },\n events: {\n en: 'events:',\n },\n combo: {\n en: 'Combo',\n },\n buttonTitle: {\n en: 'Details & Cash-out',\n },\n}\n","'use client'\n\nimport { type Bet, useChain } from '@azuro-org/sdk'\nimport dayjs from 'dayjs'\nimport { Message } from '@locmod/intl'\nimport React from 'react'\n\nimport { openModal } from '@locmod/modal'\nimport { Icon, type IconName } from 'components/ui'\nimport { Button } from 'components/inputs'\nimport BetStatus from 'compositions/BetStatus/BetStatus'\n\nimport messages from './messages'\n\n\ntype BetCardProps = {\n bet: Bet\n}\n\nconst BetCard: React.FC = ({ bet }) => {\n const {\n tokenId, createdAt, status: graphBetStatus, amount, outcomes, freebetId,\n isWin, isLive, isCashedOut,\n } = bet\n\n const { betToken } = useChain()\n\n const isCombo = outcomes.length > 1\n const isFreeBet = Boolean(freebetId)\n const isUnique = outcomes[0].game.sport.slug === 'unique'\n\n return (\n
\n
\n
\n
\n {`#${tokenId} / ${dayjs(+createdAt * 1000).format('DD.MM.YYYY, HH:mm')}`}\n
\n
\n game)}\n isLiveBet={isLive}\n isWin={isWin}\n isCashedOut={isCashedOut}\n />\n
\n
\n
\n \n {\n isCombo ? (\n <>\n {outcomes[0].game.title}\n \n \n ) : (\n <>\n {\n isUnique ? (\n
{outcomes[0].marketName}
\n ) : (\n <>\n {outcomes[0].game.sport.name}\n
\n {outcomes[0].game.league.name}\n \n )\n }\n \n )\n }\n
\n {\n !isCombo && (\n
\n {outcomes[0].game.title}\n
\n )\n }\n
\n
\n
\n
\n {\n isCombo ? (\n <>\n
{outcomes.length}
\n \n \n \n ) : (\n <>\n {\n !isUnique && (\n
{outcomes[0].marketName}:
\n )\n }\n
{outcomes[0].selectionName}
\n \n )\n }\n
\n
\n
{amount} {betToken.symbol}
\n {\n isFreeBet && (\n
\n \n \n
\n )\n }\n
\n
\n openModal('BetDetailsModal', { bet })}\n />\n
\n
\n )\n}\n\nexport default BetCard\n","export { default as BetCard } from './BetCard/BetCard'\n","export default {\n title: {\n en: 'Accepted ({count})',\n },\n allBets: {\n en: 'All Bets',\n },\n empty: {\n title: {\n en: 'No accepted bets',\n },\n text: {\n en: 'All accepted bets will be listed here',\n },\n },\n}\n","'use client'\n\nimport { BetType } from '@azuro-org/sdk'\nimport { Message } from '@locmod/intl'\nimport React from 'react'\nimport dynamic from 'next/dynamic'\nimport useBets from 'src/hooks/useBets'\n\nimport { Button } from 'components/inputs'\nimport EmptyContentComp from 'compositions/EmptyContent/EmptyContent'\n\nimport { BetCard } from './components'\n\nimport messages from './messages'\n\nconst BetDetailsModal = dynamic(\n () => import('./components/BetDetailsModal/BetDetailsModal')\n)\n\nconst EmptyContent: React.FC = () => {\n return (\n \n )\n}\n\nconst AcceptedBets: React.FC = () => {\n const { bets, loading } = useBets(BetType.Accepted)\n\n if (loading) {\n return
\n }\n\n if (!bets?.length) {\n return \n }\n\n return (\n <>\n
\n \n
\n
\n {bets.map(bet => (\n \n ))}\n
\n \n \n \n )\n}\n\nexport default AcceptedBets\n","export default {\n betslip: {\n en: 'Betslip',\n },\n myBets: {\n en: 'My bets',\n },\n}\n","import { inflate } from 'pako'\n\nconst decompressData = (encoded: string) => {\n try {\n // Convert from base64\n const compressed = Buffer.from(\n encoded.replace(/-/g, '+').replace(/_/g, '/'),\n 'base64'\n )\n // Convert Buffer to Uint8Array and decompress\n const uint8Array = new Uint8Array(compressed)\n const decompressedData = inflate(uint8Array, { to: 'string' })\n const data = JSON.parse(decompressedData)\n\n // Convert back to original format\n if (Array.isArray(data)) {\n return data.map(bet => ({\n gameId: bet.g, // gameId\n conditionId: bet.c, // conditionId\n outcomeId: bet.o, // outcomeId\n coreAddress: bet.a, // coreAddress\n lpAddress: bet.l, // lpAddress\n isExpressForbidden: bet.e, // isExpressForbidden\n transactionHash: bet.tx, // transactionHash\n chainId: bet.cid, // chainId\n margin: bet.m, // margin\n odds: bet.od, // odds\n selectionName: bet.s, // selectionName\n status: bet.st, // status\n }))\n } else {\n return {\n gameId: data.g, // gameId\n conditionId: data.c, // conditionId\n outcomeId: data.o, // outcomeId\n isExpressForbidden: data.e, // isExpressForbidden\n coreAddress: data.a, // coreAddress\n lpAddress: data.l, // lpAddress\n transactionHash: data.tx, // transactionHash\n chainId: data.cid, // chainId\n margin: data.m, // margin\n odds: data.od, // odds\n selectionName: data.s, // selectionName\n status: data.st, // status\n }\n }\n } catch (error) {\n console.error('Decompression error:', error)\n throw error\n }\n}\n\nexport default decompressData\n","'use client'\n\nimport React, { useEffect, useState } from 'react'\nimport { Message } from '@locmod/intl'\nimport cx from 'classnames'\n\nimport Betslip from 'compositions/Betslip/Betslip'\nimport AcceptedBets from 'compositions/AcceptedBets/AcceptedBets'\n\nimport messages from './messages'\nimport { useSearchParams } from 'next/navigation'\nimport decompressData from 'src/utils/decompressData'\n\nimport { useBaseBetslip } from '@azuro-org/sdk'\nimport { openModal } from '@locmod/modal'\n\nconst tabs = ['betslip', 'myBets'] as const\n\nconst TabbedBetslip: React.FC = () => {\n const [activeTab, setActiveTab] = useState<(typeof tabs)[number]>('betslip')\n const searchParams = useSearchParams()\n const { addItem, clear } = useBaseBetslip()\n useEffect(() => {\n const data = searchParams.get('data')\n if (data) {\n sessionStorage.setItem('data', data)\n\n // Clean up URL without page reload\n window.history.replaceState({}, '', '/')\n }\n }, [searchParams])\n\n // Second useEffect: Process data from sessionStorage when at root URL\n useEffect(() => {\n const processStoredData = async () => {\n const data = sessionStorage.getItem('data')\n if (data) {\n try {\n const decompressedData = decompressData(data)\n\n // Clear existing betslip\n clear()\n\n // Wrap the bet adding logic in a timeout\n setTimeout(async () => {\n await new Promise(resolve => setTimeout(resolve, 1000))\n\n if (Array.isArray(decompressedData)) {\n for (const item of decompressedData) {\n addItem({\n conditionId: item.conditionId,\n outcomeId: item.outcomeId,\n coreAddress: item.coreAddress,\n gameId: item.gameId,\n lpAddress: item.lpAddress,\n isExpressForbidden: item.isExpressForbidden || false,\n })\n await new Promise(resolve => setTimeout(resolve, 500))\n }\n } else {\n addItem({\n conditionId: decompressedData.conditionId,\n outcomeId: decompressedData.outcomeId,\n coreAddress: decompressedData.coreAddress,\n gameId: decompressedData.gameId,\n lpAddress: decompressedData.lpAddress,\n isExpressForbidden:\n decompressedData.isExpressForbidden || false,\n })\n await new Promise(resolve => setTimeout(resolve, 500))\n }\n\n // Clean up sessionStorage after processing\n sessionStorage.removeItem('data')\n\n // Ensure betslip tab is active\n setActiveTab('betslip')\n const betslipItems = localStorage.getItem('betslipItems') || '[]'\n if (betslipItems === '[]') {\n openModal('ErrorModal', {\n title: 'Copybet Error',\n text: 'Failed to copy the bet.',\n })\n }\n }, 3000) // 500ms delay to ensure everything is loaded\n } catch (error) {\n console.error('Error processing stored data:', error)\n sessionStorage.removeItem('data')\n }\n }\n }\n\n processStoredData()\n }, [addItem, clear]) // Only run once when component mounts and when betslip functions are available\n\n return (\n <>\n
\n {tabs.map(tab => {\n const isActive = activeTab === tab\n\n return (\n setActiveTab(tab)}\n >\n \n \n )\n })}\n
\n {activeTab === 'betslip' && }\n {activeTab === 'myBets' && }\n \n )\n}\n\nexport default TabbedBetslip\n","'use client'\nimport type { ReactElement, ReactNode } from 'react'\nimport cx from 'classnames'\nimport type { ModalComponent } from '@locmod/modal'\nimport { Message } from '@locmod/intl'\n\nimport { PlainModal } from 'components/feedback'\nimport { Button, buttonMessages, type ButtonProps } from 'components/inputs'\n\n\nexport type InfoModalProps = {\n children?: ReactNode\n bottomChildren?: ReactNode\n className?: string\n contentClassName?: string\n icon: ReactElement\n title: Intl.Message | string\n text?: Intl.Message | string\n bottomText?: Intl.Message | string\n buttonProps?: Omit\n closeOnButtonClick?: boolean\n overlayClosable?: boolean\n withCloseButton?: boolean\n onClose?: () => void\n}\n\nconst InfoModal: ModalComponent = (props) => {\n const {\n closeModal, children, bottomChildren, className, contentClassName,\n icon, title, text, closeOnButtonClick = true,\n withCloseButton = true, overlayClosable = true, buttonProps,\n } = props\n\n const handleClick: ButtonProps['onClick'] = (event) => {\n if (typeof buttonProps?.onClick === 'function') {\n buttonProps.onClick(event)\n }\n\n if (closeOnButtonClick) {\n handleClose()\n }\n }\n\n const handleClose = () => {\n closeModal(true)\n }\n\n return (\n \n
\n
\n {icon}\n
\n \n {\n Boolean(text) && (\n \n )\n }\n {children}\n \n {bottomChildren}\n
\n \n )\n}\n\ndeclare global {\n interface ModalsRegistry extends ExtendModalsRegistry<{ InfoModal: typeof InfoModal }> {}\n}\n\nexport default InfoModal\n","export default {\n title: {\n en: 'Oops..',\n },\n text: {\n en: 'Something went wrong. Please try again later.',\n },\n}\n","'use client'\n\nimport { type ModalComponent } from '@locmod/modal'\n\nimport InfoModal, { type InfoModalProps } from 'compositions/modals/InfoModal/InfoModal'\n\nimport messages from './messages'\n\n\ntype ErrorModalProps = PartialBy, 'title'>\n\nconst ErrorModal: ModalComponent = (props) => {\n\n return (\n }\n title={messages.title}\n text={messages.text}\n {...props}\n />\n )\n}\n\ndeclare global {\n interface ModalsRegistry extends ExtendModalsRegistry<{ ErrorModal: typeof ErrorModal }> {}\n}\n\nexport default ErrorModal\n","'use client'\n\nimport React from 'react'\nimport dynamic, { type DynamicOptionsLoadingProps } from 'next/dynamic'\nimport { ModalsRenderer, registerModals } from '@locmod/modal'\n\nimport { Overlay } from 'components/layout'\nimport { Icon } from 'components/ui'\nimport InfoModal from 'compositions/modals/InfoModal/InfoModal'\nimport ErrorModal from 'compositions/modals/ErrorModal/ErrorModal'\n\nexport const ModalSkeleton = (loadingProps?: DynamicOptionsLoadingProps) => {\n const { isLoading = true } = loadingProps || {}\n\n return isLoading ? (\n \n
\n
\n
\n \n
\n
\n \n ) : null\n}\n\nconst loading = ModalSkeleton\n\nconst registry = {\n InfoModal,\n ErrorModal,\n ConnectModal: dynamic(\n () => import('compositions/modals/ConnectModal/ConnectModal'),\n { loading }\n ),\n SuccessModal: dynamic(\n () => import('compositions/modals/SuccessModal/SuccessModal'),\n { loading }\n ),\n NewFreeBetModal: dynamic(\n () => import('compositions/modals/NewFreeBetModal/NewFreeBetModal'),\n { loading }\n ),\n SwitchNetworkModal: dynamic(\n () => import('compositions/modals/SwitchNetworkModal/SwitchNetworkModal'),\n { loading }\n ),\n SearchModal: dynamic(\n () => import('compositions/modals/SearchModal/SearchModal'),\n { loading }\n ),\n FundingModal: dynamic(\n () => import('compositions/funding/FundingModal/FundingModal'),\n { loading }\n ),\n FiatProviderModal: dynamic(\n () => import('compositions/funding/FiatProviderModal/FiatProviderModal'),\n { loading }\n ),\n FundingExchangeModal: dynamic(\n () =>\n import('compositions/funding/FundingExchangeModal/FundingExchangeModal'),\n { loading }\n ),\n CashoutModal: dynamic(\n () => import('compositions/modals/CashoutModal/CashoutModal'),\n { loading }\n ),\n SignMessageModal: dynamic(\n () => import('compositions/modals/SignMessageModal/SignMessageModal'),\n { loading }\n ),\n WelcomeModal: dynamic(\n () => import('compositions/modals/WelcomeModal/WelcomeModal'),\n { loading }\n ),\n ShareModal: dynamic(\n () => import('compositions/modals/ShareModal/ShareModal'),\n { loading }\n ),\n}\n\nregisterModals(registry)\n\nconst GlobalModalsRegistrar: React.FC = () => \n\nexport default GlobalModalsRegistrar\n","export { default as GlobalModalsRegistrar, ModalSkeleton } from './GlobalModalsRegistrar/GlobalModalsRegistrar'\n","// extracted by mini-css-extract-plugin","// extracted by mini-css-extract-plugin\nmodule.exports = {\"main\":\"Narrow_main__ZsO5F\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"root\":\"Wide_root__KAP0p\",\"leftSidebar\":\"Wide_leftSidebar__KFF_O\",\"rightSidebar\":\"Wide_rightSidebar__VAQlN\",\"main\":\"Wide_main__YF1QT\",\"withRightSidebar\":\"Wide_withRightSidebar__tyv1E\"};"],"names":["Promise","resolve","then","__webpack_require__","bind","t","Warning_Warning","className","text","param","jsx_runtime","jsxs","div","cx","jsx","Icon","name","Message","value","__webpack_exports__","Z","props","type","maxValue","leftNode","rightNode","placeholder","regExp","isError","noMaxOverload","autoFocus","onChange","intl","useIntl","handleChange","newValue","RegExp","test","parseUnits","labelClassName","react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__","label","Boolean","input","event","target","formatMessage","onKeyDown","e","key","preventDefault","onWheel","currentTarget","blur","stopPropagation","isSecondary","Href","to","Image","src","alt","width","height","messages","title","en","empty","warning","Content","game","storeGameId","isGameInLive","isGamePage","withCollapse","withClearButton","isVisible","setVisible","useState","isWarningVisible","setWarningVisible","isMounted","useIsMounted","status","useGameStatus","graphStatus","startsAt","isGameExistInLive","statistics","isFetching","isAvailable","useLiveStatistics","gameId","sportId","sport","gameStatus","useEffect","setTimeout","button","onClick","v","closeModal","liveStatisticsGameIdStore","setGameId","stats","ScoreBoard","participants","scoreBoard","Statistics","Warning","EmptyContent","image","LiveStatistics_LiveStatistics","params","useParams","useSyncExternalStore","subscribe","getSnapshot","loading","isGameFetching","useGame","Media_Media","children","desktop","mobile","narrow","wide","isDesktopView","isMobileView","isNarrowView","isWideView","useMedia","isMobile","isDesktop","isNarrow","isWide","rootClassName","BetslipModal","dynamic","MobileBetslipButton_MobileBetslipButton","items","useBaseBetslip","Button","style","leftIcon","length","undefined","size","openModal","Media","StatisticsModal","MobileStatisticsButton","SkeletonItem","Skeleton_Skeleton","fill","map","_","index","League","url","country","games","slug","countrySlug","leagueSlug","isActive","Flag","Sport","countries","gamesCount","sportSlug","pathname","usePathname","isTop","isUnique","wrapperClassName","buttonClassName","iconClassName","leagues","useMemo","league","concat","flat","Navigation_Navigation","isLive","useLive","navigation","useNavigation","withGameCount","allTopGames","gamesPerSport","result","Object","values","forEach","reduce","acc","Math","min","constants","topPageGamePerSportLimit","sortedSports","sort","sport1","sport2","sport1Index","sportsOrder","indexOf","sport2Index","Skeleton","tag","Switch","changeLive","HeadlessSwitch","checked","span","aria-hidden","LiveSwitcher_LiveSwitcher","staticMenu","icon","link","navigationLinks","profile","isExternal","promotions","whitepaper","blog","about","classic","StaticNavigation_StaticNavigation","LeftSidebar_LeftSidebar","Logo","LiveSwitcher","Navigation","StaticNavigation","ChainCurrency","chainClassName","chainId","withGrayscale","chainIcons","grayscale","currencyIcons","ChainSelect","appChain","setAppChainId","useChain","switchChain","useSwitchChain","isAAWallet","useWallet","isChainDropdownDisabled","NODE_ENV","Listbox","id","disabled","ListboxButton","ListboxOptions","config","chains","chain","ListboxOption","BalanceInfo","address","useAccount","betToken","balance","isBalanceFetching","useBetTokenBalance","nativeBalance","isNativeBalanceFetching","useNativeBalance","inBets","toPayout","isBetsSummaryFetching","useBetsSummary","account","formatedDecimals","base","baseSepolia","Fragment","formatToFixed","symbol","nativeCurrency","Balance_Balance","Dropdown","contentClassName","content","placement","onMouseEnter","azuroIconClassNameByLevel","WaveLevelName","Grey","Mist","Sky","Blue","Ultramarine","Bright","Brilliant","Royal","AzuroWaves","data","useWaveStats","points","levelDescription","toTab","links","waves","level","logoutApp","isCopied","setCopied","shortenAddress","copy","a","href","blockExplorers","default","rel","User_User","Controls_Controls","Balance","User","RightSidebar_RightSidebar","isReconnecting","isConnecting","connectOrCreateWallet","useWalletAuth","isLoginComplete","isUserConnecting","useUserContext","useRef","current","Controls","buttonMessages","connectWallet","sendGTMEvent","is_betslip","section","login_toolkit","LiveStatistics","TabbedBetslip","useFreezeBodyScroll","Header_Header","setVisibility","containerRef","handleOutsideClick","composedPath","includes","document","addEventListener","capture","removeEventListener","ref","Search_Search","components_Content_Content","ws","mainClassName","ns","sidebarClassName","LeftSidebar","Header","Search","main","RightSidebar","MobileBetslipButton","rulesAndDisclaimers","terms","policy","Navbar_Navbar","item","currentYear","Date","getFullYear","Copy_Copy","companyName","Navbar","socialLinks","twitter","discord","telegram","instagram","Social_Social","Footer_Footer","footer","Social","Copy","PageLayout_PageLayout","Footer","GlobalModalsRegistrar","NewFreeBetsChecker_NewFreeBetsChecker","freeBets","useDetailedBetslip","promise","freeBet","uniqueId","contractAddress","storageName","localStorage","getItem","onClose","setItem","Providers_Providers","userAgent","initialState","initialChainId","initialLiveState","DeviceProvider","SvgProvider","IntlProvider","locale","WagmiProvider","AzuroSDKProvider","affiliate","process","isBatchBetWithSameGameEnabled","UserProvider","LiveProvider","OddsViewProvider","TimeFormatProvider","NewFreeBetsChecker","SvgSprite","locked","possibleWin","Card_Card","batchBetAmount","odds","isOddsFetching","isStatusesFetching","isBatch","onBatchAmountChange","marketName","selectionName","coreAddress","countryName","leagueName","removeItem","nodeRef","useOddsChange","oddsRef","isDisabled","ConditionStatus","Created","liveHostAddress","bottomBoxClassName","oddsClassName","LiveDot","OddsValue","Input","AmountInput_AmountInput","isEnoughBalance","betAmount","changeBetAmount","disableReason","BetslipDisableReason","BetAmountGreaterThanMaxBet","BetAmountLowerThanMinBet","int","digits","split","substring","getQuickBetStorageValue","storageValue","localStorageKeys","quickBet","isArray","every","defaultQuickBetsValues","QuickBet_QuickBet","fields","setFields","Chip","Chips_Chips","chips","chipValue","String","helpers_isUserRejectedRequestError","error","UserRejectedRequestError","cause","getBetTransactionData","transactionHash","publicClient","logs","receipt","getTransactionReceipt","hash","nftTransferLogs","filter","log","topics","tokenId","BigInt","toString","console","updateDiscordChannel","betDetails","totalOdds","isSingleBet","batchAmounts","updatedItems","live","market","getMarketName","outcomeId","selection","getSelectionName","withPoint","updateDiscordChannelApi","BetButton_BetButton","isAllowanceInitiated","setIsAllowanceInitiated","connector","currentUser","usePublicClient","clear","selectedFreeBet","batchBetAmounts","isBetAllowed","isLiveBet","totalOddsRef","checkDifferentGames","gameIds","Set","slippage","dist_index_es","defaultSlippage","submit","approveTx","betTx","isRelayerFeeLoading","isAllowanceLoading","isApproveRequired","usePrepareBet","selections","onSuccess","response","user_id","bet_type","token_approval_required","bet_count","bet_amount","bet_payout","freebet_amount","destination_chain","destination_token","destination_wallet_address","wallet_app_name","ConnectorName","Privy","onError","err","isUserRejectedRequestError","isPending","isProcessing","isLoading","possibleWinClassName","handlePlaceBet","checkAllowance","approve","placeBet","getTotalPossibleWin","totalWin","conditionId","itemOdds","itemBatchAmount","FreeBet_messages","apply","freebet","SelectFreeBetModal","FreeBet_FreeBet","selectFreeBet","clearFreeBet","amount","Slippage_Slippage","storedValue","isFixedValue","defaultSlippageValues","initialValue","isCustom","setIsCustom","slippageValue","setSlippageValue","setValue","handleButtonClick","Betslip_messages","settings","single","batch","combo","totalBet","warnings","ComboWithForbiddenItem","ComboWithLive","PrematchConditionInStartedGame","ComboWithSameGame","BatchWithLive","FreeBetWithLive","FreeBetWithCombo","FreeBetWithBatch","FreeBetExpired","FreeBetMinOdds","img","Settings","Slippage","QuickBet","Tab","openSettings","statuses","minBet","maxBet","changeBatch","changeBatchBetAmount","itemsLength","isSingle","count","Card","FreeBet","AmountInput","Chips","ConnectButtonWrapper","BetButton","Betslip_Betslip","isSettingsVisible","setSettingsVisible","BetCard_messages","others","events","buttonTitle","BetCard_BetCard","bet","createdAt","graphBetStatus","outcomes","freebetId","isWin","isCashedOut","isCombo","dayjs","format","BetStatus","isFreeBet","BetDetailsModal","EmptyContentComp","AcceptedBets_AcceptedBets","bets","useBets","BetType","Accepted","BetCard","TabbedBetslip_messages","betslip","myBets","utils_decompressData","compressed","Buffer","from","encoded","replace","uint8Array","Uint8Array","decompressedData","inflate","JSON","parse","Array","g","c","o","lpAddress","l","isExpressForbidden","tx","cid","margin","m","od","s","st","tabs","TabbedBetslip_TabbedBetslip","activeTab","setActiveTab","searchParams","useSearchParams","addItem","get","sessionStorage","window","history","replaceState","processStoredData","decompressData","betslipItems","tab","Betslip","AcceptedBets","bottomChildren","closeOnButtonClick","withCloseButton","overlayClosable","buttonProps","handleClose","PlainModal","html","okay","ModalSkeleton","loadingProps","Overlay","registry","InfoModal","ErrorModal","ConnectModal","SuccessModal","NewFreeBetModal","SwitchNetworkModal","SearchModal","all","FundingModal","FiatProviderModal","FundingExchangeModal","CashoutModal","SignMessageModal","WelcomeModal","ShareModal","registerModals","GlobalModalsRegistrar_GlobalModalsRegistrar","ModalsRenderer","module","exports"],"sourceRoot":""}