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AA,SAAAA,WACd,GAAA/D,EAAA4D,IAAA,EAACqC,MAAAA,CACCnC,UAAW,GAAgCA,MAAAA,CAA7BC,IAAAA,kBAAAA,CAA0B,KAA8B1D,MAAA,CAA3ByD,GAAwB,cAElE8G,EACC,CAAApG,GAAcG,GAAkBlF,CAAAA,GAAcuJ,KAGjD,CAACvJ,GAAagF,UAAAA,GAA8BG,GAC3C,GAAA5E,EAAAC,GAAA,EAAC4K,EAAAA,CAAsBA,CAAAA,CACrB/F,MAAO,OAAC3E,CAAAA,EAAAA,MAAAA,EAAAA,KAAAA,EAAAA,EAAMgJ,MAAM,GAAZhJ,KAAAA,IAAAA,EAAAA,EAA2B,EACnC2K,QAASrL,EACT4E,cAAeO,EACfR,mBAAoBO,EACpBL,YAAaI,EACbG,WAAYA,OAnBX,GAAA7E,EAAAC,GAAA,EAAC8K,EAAAA,CAAeA,CAAAA,CAACC,kBAAiB,GAAC5E,QAAO,IAwBrD,qBCtHA6E,EAAAC,OAAA,EAAkB,gHCAlBD,EAAAC,OAAA,EAAkB,gHCAlBD,EAAAC,OAAA,EAAkB,wgBCAlBD,EAAAC,OAAA,EAAkB","sources":["webpack://_N_E/./src/components/Home/Sections/GamesBaseSection/Originals/index.tsx","webpack://_N_E/./src/components/Home/Sections/GamesBaseSection/Recommended/index.tsx","webpack://_N_E/./src/components/Home/V2/GameSearch/Input/index.tsx","webpack://_N_E/./src/components/Home/V3/Carousels/Games/options.ts","webpack://_N_E/./src/components/Home/V3/Carousels/Games/Renderer/Lobby/index.tsx","webpack://_N_E/./src/components/Home/V3/Carousels/Games/Renderer/Categories/Originals/index.tsx","webpack://_N_E/./src/components/Home/V3/Carousels/Games/Renderer/Categories/index.tsx","webpack://_N_E/./src/components/Home/V3/Carousels/Games/Renderer/index.tsx","webpack://_N_E/./src/components/Home/V3/Carousels/Games/index.tsx","webpack://_N_E/./src/components/Home/V3/Carousels/RecentlyPlayed/Shortcut/index.tsx","webpack://_N_E/./src/components/Home/V3/Carousels/RecentlyPlayed/index.tsx","webpack://_N_E/../../packages/common/src/enums/device.ts","webpack://_N_E/./src/hooks/useGameCard/index.ts","webpack://_N_E/../../packages/common/src/components/Section/index.tsx","webpack://_N_E/./src/components/Home/V3/Carousels/Games/Renderer/Lobby/styles.module.scss","webpack://_N_E/./src/components/Home/V3/Carousels/Games/styles.module.scss","webpack://_N_E/./src/components/Home/V3/Carousels/RecentlyPlayed/Shortcut/styles.module.scss","webpack://_N_E/../../packages/common/src/components/Section/styles.module.scss"],"sourcesContent":["import { AxiosError } from 'axios';\nimport { GenericError } from '@/models/generic-error';\nimport GamesBaseSection from '..';\nimport { useGames } from '@/api/games';\nimport { GameTagFilter } from '@/models/games/game-tag-filter.enum';\n\nfunction OriginalsSection() {\n const { games, error, isLoading, refetch } = useGames({\n tag: GameTagFilter.Originals,\n limit: 20,\n });\n\n return (\n }\n refetch={refetch}\n label=\"originals_label\"\n icon=\"fa-solid fa-dice\"\n />\n );\n}\n\nexport default OriginalsSection;\n","import { AxiosError } from 'axios';\nimport { GenericError } from '@/models/generic-error';\nimport GamesBaseSection from '..';\nimport { useGames } from '@/api/games';\nimport { GameTagFilter } from '@/models/games/game-tag-filter.enum';\nimport { RecommendedSectionProps } from './props';\n\nfunction RecommendedSection({ isFallbacking }: RecommendedSectionProps) {\n const { games, error, isLoading, refetch } = useGames({\n tag: GameTagFilter.Recommended,\n limit: 20,\n });\n\n return (\n }\n refetch={refetch}\n label=\"recommended_label\"\n icon=\"fa-solid fa-star\"\n />\n );\n}\n\nexport default RecommendedSection;\n","import { Input } from '@starsoft/common/components';\nimport { RootState } from '@/lib/store';\nimport { setModalSearch, toggleSearch } from '@/lib/store/casino/actions';\nimport useTranslation from 'next-translate/useTranslation';\nimport { useDispatch, useSelector } from 'react-redux';\nimport { GameSearchInputProps } from './props';\nimport { useEffect } from 'react';\nimport { useIsMobile } from '@starsoft/common/hooks';\n\nexport default function GameSearchInput({\n isLoading,\n focusOnMount,\n}: GameSearchInputProps) {\n const { t } = useTranslation('common');\n const dispatch = useDispatch();\n const open: boolean = useSelector(\n (state: RootState) => state.casino.openSearch,\n );\n const search: string = useSelector(\n (state: RootState) => state.casino.modalSearch,\n );\n const isMobile = useIsMobile();\n\n function handleOnClick() {\n if (open || focusOnMount) {\n return;\n }\n\n dispatch(toggleSearch());\n }\n\n function resetSearchValue(): void {\n dispatch(setModalSearch(''));\n\n if (!open) {\n return;\n }\n\n if (!search || isMobile) {\n dispatch(toggleSearch());\n }\n }\n\n function handleSearchValue(e: React.ChangeEvent): void {\n dispatch(setModalSearch(e.target.value));\n }\n\n function onUnmount() {\n return () => {\n dispatch(setModalSearch(''));\n };\n }\n\n useEffect(onUnmount, [dispatch]);\n\n return (\n \n );\n}\n","import { GameTagFilter } from '@/models/games/game-tag-filter.enum';\nimport { Tab } from '@starsoft/common/src/components/Tabs/Tab/props';\n\nexport const carouselGamesTabs: Tab[] = [\n {\n label: 'lobby_label',\n value: null,\n icon: 'fa-solid fa-house fa-swap-opacity',\n },\n {\n label: 'originals_label',\n value: GameTagFilter.Originals,\n icon: 'fa-solid fa-fire',\n },\n {\n label: 'slots_label',\n value: GameTagFilter.Slots,\n icon: 'fa-solid fa-cherries fa-swap-opacity',\n },\n {\n label: 'fortune_label',\n value: GameTagFilter.Fortune,\n icon: 'fa-solid fa-spade fa-swap-opacity',\n },\n {\n label: 'roulette_label',\n value: GameTagFilter.Roulette,\n icon: 'fa-sharp fa-solid fa-card-diamond',\n },\n {\n label: 'tab_live_casino',\n value: GameTagFilter.LiveCasino,\n icon: 'fa-solid fa-tv-retro fa-swap-opacity',\n },\n];\n","import OriginalsSection from '@/components/Home/Sections/GamesBaseSection/Originals';\nimport styles from './styles.module.scss';\nimport RecommendedSection from '@/components/Home/Sections/GamesBaseSection/Recommended';\nimport dynamic from 'next/dynamic';\nimport { useOriginalsAggregator } from '@/hooks/games/useOriginalsAggregator';\n\nconst NewReleasesSection = dynamic(\n () => import('@/components/Home/Sections/GamesBaseSection/Releases'),\n { ssr: true },\n);\nconst LiveCasinoeSection = dynamic(\n () => import('@/components/Home/Sections/GamesBaseSection/LiveCasino'),\n { ssr: true },\n);\n\nexport default function GameLobby() {\n const { isActive: isStarsoftActive } = useOriginalsAggregator();\n\n return (\n
\n \n {isStarsoftActive && }\n \n \n
\n );\n}\n","import { useGames } from '@/api/games';\nimport GameCard from '@/components/core/Games/GameCard/Versions/Primary';\nimport { Game } from '@/models/game';\nimport { GameTagFilter } from '@/models/games/game-tag-filter.enum';\nimport { Section } from '@starsoft/common/components';\n\nexport default function GameCategoryOriginals() {\n const {\n games,\n error,\n isLoading,\n refetch,\n metadata,\n isFetchingNextPage,\n fetchNextPage,\n hasNextPage,\n } = useGames({\n tag: GameTagFilter.Originals,\n limit: 20,\n });\n\n return (\n (\n \n ),\n skeleton: index => (\n \n ),\n }}\n />\n );\n}\n","import { GameCategoryProps } from './props';\n\nimport { Game } from '@/models/game';\n\nimport { useGames } from '@/api/games';\nimport GameCard from '@/components/core/Games/GameCard/Versions/Primary';\nimport { Section } from '@starsoft/common/components';\n\nexport default function GameCategories({ tag }: GameCategoryProps) {\n const {\n error,\n games,\n fetchNextPage,\n isLoading,\n isFetchingNextPage,\n refetch,\n metadata,\n hasNextPage,\n } = useGames({\n tag,\n limit: 20,\n });\n\n return (\n (\n \n ),\n skeleton: index => (\n \n ),\n }}\n />\n );\n}\n","import { GameTagFilter } from '@/models/games/game-tag-filter.enum';\nimport GameLobby from './Lobby';\nimport { GameRenderer } from './props';\nimport GameCategoryOriginals from './Categories/Originals';\nimport GameCategories from './Categories';\nimport { useOriginalsAggregator } from '@/hooks/games/useOriginalsAggregator';\n\nexport default function CarouselsGameRenderer({ tag }: GameRenderer) {\n const { isActive: isStarsoftActive } = useOriginalsAggregator();\n\n switch (tag) {\n case GameTagFilter.Originals:\n if (isStarsoftActive) {\n return ;\n }\n return null;\n case GameTagFilter.Slots:\n case GameTagFilter.Fortune:\n case GameTagFilter.LiveCasino:\n case GameTagFilter.Roulette:\n return ;\n default:\n return ;\n }\n}\n","import styles from './styles.module.scss';\nimport { carouselGamesTabs } from './options';\nimport CarouselsGameRenderer from './Renderer';\nimport { useMemo, useState } from 'react';\nimport { GameTagFilter } from '@/models/games/game-tag-filter.enum';\nimport { Nullable } from '@starsoft/common/interfaces';\nimport { TabsWithVersion } from '@/components/core/TabsWithVersion';\nimport { useOriginalsAggregator } from '@/hooks/games/useOriginalsAggregator';\n\nexport default function GamesSectionCarousel() {\n const { isActive: isStarsoftActive } = useOriginalsAggregator();\n\n const filteredSections = useMemo(() => {\n if (!isStarsoftActive) {\n return carouselGamesTabs.filter(tab => tab.label !== 'originals_label');\n }\n\n return carouselGamesTabs;\n }, [isStarsoftActive]);\n\n const [tab, setTab] = useState>(\n filteredSections[0].value,\n );\n\n return (\n
\n \n \n
\n );\n}\n","import { Image } from '@starsoft/common/components';\nimport styles from './styles.module.scss';\nimport { useGamesRecentlyPlayed } from '@/api/games';\nimport { useGameCard } from '@/hooks/useGameCard';\nimport { Device } from '@/enums/device';\nimport useTranslation from 'next-translate/useTranslation';\nimport { AnimatePresence, motion } from 'framer-motion';\nimport { useRouter } from 'next/router';\nimport { fadeInRight } from '@/components/Bonus/BonusChip/variants/fadeInRight';\n\nexport default function RecentlyPlayedShortcut() {\n const { t } = useTranslation('common');\n const { push } = useRouter();\n const {\n isLoading,\n error,\n mostRecentGame,\n hideRecentGame,\n toggleHideRecentGame,\n } = useGamesRecentlyPlayed();\n const { imageMapping, redirectUrl, onHover } = useGameCard(mostRecentGame);\n\n const hideShortcut = isLoading || error || !mostRecentGame || hideRecentGame;\n\n function handleClose(e: React.MouseEvent) {\n e.preventDefault();\n e.stopPropagation();\n\n toggleHideRecentGame();\n }\n\n function handleNavigate() {\n push(redirectUrl);\n }\n\n return (\n \n {!hideShortcut && (\n \n \n
\n
\n

\n {t('last_game_shortcut_title')}\n

\n

\n {mostRecentGame?.name}\n

\n
\n \n
\n \n )}\n
\n );\n}\n","import { useGamesRecentlyPlayed } from '@/api/games';\nimport { useUserAccount } from '@/api/user';\nimport GameCard from '@/components/core/Games/GameCard/Versions/Primary';\nimport Carousel from '@/components/Home/Carousel';\nimport { ErrorCard } from '@starsoft/common/components';\nimport { useTranslation } from '@starsoft/common/hooks';\nimport { useMemo } from 'react';\nimport { MostPaidCarouselProps } from './props';\nimport RecentlyPlayedShortcut from './Shortcut';\n\nexport default function RecentlyPlayedCarousel({\n isSkeleton,\n}: MostPaidCarouselProps) {\n const { t } = useTranslation('common');\n const { isAuthorized } = useUserAccount();\n const { games, isLoading, refetch, error } = useGamesRecentlyPlayed({\n refetchOnMount: 'always',\n });\n\n const Games = useMemo(\n () =>\n games?.map(game => (\n \n )),\n [games],\n );\n\n const Skeletons = useMemo(\n () =>\n Array.from({ length: 20 }).map((_, idx) => (\n \n )),\n [],\n );\n\n if (error) {\n return ;\n }\n\n if (\n !isAuthorized ||\n (!isLoading && games?.length == 0) ||\n typeof window === 'undefined'\n ) {\n return null;\n }\n\n return (\n <>\n \n \n {isLoading || isSkeleton ? Skeletons : Games}\n \n \n );\n}\n","export enum Device {\n Desktop = 'desktop',\n Tablet = 'tablet',\n Mobile = 'mobile',\n}\n","import { RootState } from '@/lib/store';\nimport { toggleSearch } from '@/lib/store/casino/actions';\nimport { Game } from '@/models/game';\nimport { GameTagFilter } from '@/models/games/game-tag-filter.enum';\nimport { Device } from '@starsoft/common/enums';\nimport { Nullable } from '@starsoft/common/interfaces';\nimport { useRouter } from 'next/router';\nimport { useMemo } from 'react';\nimport { useDispatch, useSelector } from 'react-redux';\nimport { UseGameCardResponse } from './props';\nimport { WalletService } from '@starsoft/common/services';\nimport { getMoneyOrAmount } from '@starsoft/common/utils';\n\nexport function useGameCard(game: Nullable): UseGameCardResponse {\n const dispatch = useDispatch();\n const openSearch = useSelector((state: RootState) => state.casino.openSearch);\n const { query, push, prefetch } = useRouter();\n const tag: GameTagFilter | undefined = query.tag as GameTagFilter;\n const BASE_URL: string = `${process.env.NEXT_PUBLIC_S3_BUCKET_BASE_URL}/games`;\n const imageMapping: Map = useMemo(\n () =>\n new Map([\n [Device.Desktop, `${BASE_URL}/300x300${game?.image}`],\n [Device.Tablet, `${BASE_URL}/150x150${game?.image}`],\n ]),\n [game, BASE_URL],\n );\n const redirectUrl: string = game?.slug?.includes('-originals')\n ? `/games/tag/originals/${game?.slug}`\n : `/games/tag/${tag ?? GameTagFilter.Slots}/${game?.slug}`;\n\n const formattedDailyPayout: string = WalletService.maskCurrency({\n amount: getMoneyOrAmount(game?.dailyPayout),\n });\n\n function onCardClick() {\n if (!openSearch) {\n return;\n }\n\n dispatch(toggleSearch());\n }\n\n function onHover() {\n prefetch(redirectUrl);\n }\n\n function onProviderClick(e: React.MouseEvent) {\n e.preventDefault();\n e.stopPropagation();\n\n push(`/games/providers/${game?.provider?.slug ?? 'originals'}`);\n onCardClick();\n }\n\n return {\n redirectUrl,\n onCardClick,\n imageMapping,\n onProviderClick,\n formattedDailyPayout,\n onHover,\n };\n}\n","import { useMemo } from 'react';\nimport { SectionProps } from './props';\nimport styles from './styles.module.scss';\nimport { ErrorCard } from '../ErrorCard';\nimport { PaginationWithProgress } from '../PaginationWithProgress';\nimport { NoDataComponent } from '../NoDataComponent';\n\n/**\n * Section Component\n * A generic component that handles displaying paginated or non-paginated lists of items with loading states,\n * error handling, and pagination controls.\n *\n * @component\n * @template T - The type of data items being displayed\n * @param {Object} props - Component props\n * @param {boolean} props.paginated - Whether the data is paginated\n * @param {'manual' | 'infinite'} props.paginationType - Type of pagination to use\n * @param {Error} props.error - Error object if request failed\n * @param {boolean} props.hasMore - Whether there are more items to load\n * @param {boolean} props.isLoading - Whether initial data is loading\n * @param {boolean} props.isLoadingMore - Whether next page is loading\n * @param {number} props.limit - Number of items per page\n * @param {() => void} props.loadMore - Function to load next page\n * @param {() => void} props.refetch - Function to retry failed request\n * @param {Object} props.componenents - Component renderers\n * @param {(data: T, index: number) => JSX.Element} props.componenents.component - Renders each data item\n * @param {(index: number) => JSX.Element} props.componenents.skeleton - Renders loading placeholder\n * @param {T[]} props.data - Array of data items to display\n * @param {number} props.totalCount - Total number of items available\n * @param {string} props.className - Additional CSS class for content container\n * @returns {JSX.Element} The rendered section component\n *\n * @example\n * type User = {\n * id: number;\n * name: string;\n * };\n *\n * fetchNextPage()}\n * refetch={() => refetchData()}\n * componenents={{\n * component: (user, index) => ,\n * skeleton: (index) => \n * }}\n * data={users}\n * totalCount={100}\n * className=\"user-list\"\n * />\n */\nexport function Section({\n paginated,\n paginationType,\n error,\n hasMore,\n isLoading,\n isLoadingMore,\n limit,\n loadMore,\n refetch,\n componenents: { component, skeleton },\n data,\n totalCount,\n className,\n}: SectionProps) {\n // Memoized array of skeleton components for loading state\n const Skeletons: JSX.Element[] = useMemo(\n () => Array.from({ length: limit }).map((_, index) => skeleton(index)),\n [limit, skeleton],\n );\n\n // Memoized array of rendered data components\n const Components: JSX.Element[] = useMemo(\n () => data?.map((data, index) => component(data, index)),\n [data, component],\n );\n\n // Show error state if there's an error and refetch function available\n if (error && refetch) {\n return (\n
\n \n
\n );\n }\n\n // Show no data component if not loading and no data available\n if (!isLoading && data?.length === 0) {\n return ;\n }\n\n return (\n
\n \n {Components}\n {((paginated && isLoadingMore) || isLoading) && Skeletons}\n
\n\n {!isLoading && paginationType == 'manual' && loadMore && (\n \n )}\n \n );\n}\n","// extracted by mini-css-extract-plugin\nmodule.exports = {\"container\":\"styles_container__j1cwS\",\"skeleton-animation\":\"styles_skeleton-animation__ST9p5\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"container\":\"styles_container__cxaUA\",\"skeleton-animation\":\"styles_skeleton-animation__R8zJ3\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"container\":\"styles_container__Xy0w_\",\"container--upper\":\"styles_container--upper__JKli2\",\"container__image\":\"styles_container__image__mGP7B\",\"container__row\":\"styles_container__row__U5OSm\",\"container__column\":\"styles_container__column__OWLlX\",\"container__column__description\":\"styles_container__column__description__3SDhG\",\"container__column__title\":\"styles_container__column__title__LDeCA\",\"container__column__icon\":\"styles_container__column__icon__E_QMh\",\"skeleton-animation\":\"styles_skeleton-animation__ZUJbC\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"container\":\"styles_container__b0_7Y\",\"container__content\":\"styles_container__content__g4e0z\",\"container--error\":\"styles_container--error__0Ij1U\",\"skeleton-animation\":\"styles_skeleton-animation__Md2Ax\"};"],"names":["__webpack_exports__","Z","games","error","isLoading","refetch","useGames","tag","GameTagFilter","Originals","limit","react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__","jsx","GamesBaseSection","data","link","concat","label","icon","param","isFallbacking","Recommended","Boolean","GameSearchInput","focusOnMount","t","useTranslation","dispatch","useDispatch","open","useSelector","state","casino","openSearch","search","modalSearch","isMobile","useIsMobile","useEffect","setModalSearch","Input","showEraserButton","placeholder","onClick","toggleSearch","onChange","e","target","value","onErase","isContainerColor","showSpinner","carouselGamesTabs","Slots","Fortune","Roulette","LiveCasino","NewReleasesSection","dynamic","Promise","all","__webpack_require__","then","bind","ssr","LiveCasinoeSection","GameLobby","isActive","isStarsoftActive","useOriginalsAggregator","jsx_runtime","jsxs","section","className","styles","RecommendedSection","OriginalsSection","GameCategoryOriginals","metadata","isFetchingNextPage","fetchNextPage","hasNextPage","Section","paginated","paginationType","hasMore","isLoadingMore","loadMore","totalCount","count","componenents","component","game","GameCard","id","skeleton","index","GameCategories","position","priority","CarouselsGameRenderer","GamesSectionCarousel","filteredSections","useMemo","filter","tab","setTab","useState","div","TabsWithVersion","invertColors","isSmall","currentTab","tabs","RecentlyPlayedShortcut","push","useRouter","mostRecentGame","hideRecentGame","toggleHideRecentGame","useGamesRecentlyPlayed","imageMapping","redirectUrl","onHover","useGameCard","hideShortcut","AnimatePresence","mode","motion","onMouseEnter","variants","fadeInRight","initial","animate","exit","Image","src","get","Device","Tablet","width","height","alt","name","p","i","preventDefault","stopPropagation","RecentlyPlayedCarousel","isSkeleton","isAuthorized","useUserAccount","refetchOnMount","Games","map","Skeletons","Array","from","length","_","idx","ErrorCard","Fragment","Carousel","size","query","prefetch","BASE_URL","process","Map","Desktop","image","slug","includes","onCardClick","onProviderClick","provider","formattedDailyPayout","WalletService","maskCurrency","amount","getMoneyOrAmount","dailyPayout","Components","PaginationWithProgress","loading","NoDataComponent","isSecondaryStyles","module","exports"],"sourceRoot":""}