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AMC,EAAAA,EAAqB2C,sBAC3BzC,YAIS0C,EAAqB1C,IAIzB,CACLH,KAAMC,EAAAA,EAAqB6C,qBAC3B3C,W","sources":["store/actions/new-casino.ts"],"sourcesContent":["import { ECasinoGameMode, ECasinoGameViewOrder } from 'interfaces/casino-data';\nimport { ActionType } from 'interfaces/generic';\nimport {\n NewCasinoCategory,\n NewCasinoGame,\n NewCasinoGamesFetchingParams\n} from 'interfaces/new-casino';\nimport { CasinoGamesConfigs } from 'newelements/Casino/Games/__partials/providers/CasinoGamesConfigsContext';\nimport { NewCasinoActionTypes } from 'store/action-types/new-casino';\n\nexport const setCasinoOriginalCategories = (\n categories: NewCasinoCategory[]\n): ActionType => {\n return {\n type: NewCasinoActionTypes.SET_CASINO_ORIGINAL_CATEGORIES,\n payload: categories\n };\n};\n\nexport const setEnhancedParams = (\n enhancedParams: Partial\n): ActionType => {\n return {\n type: NewCasinoActionTypes.SET_ENHANCED_PARAMS,\n payload: enhancedParams\n };\n};\n\nexport const setTotalCount = (totalCount: string): ActionType => {\n return {\n type: NewCasinoActionTypes.SET_GAMES_TOTAL_COUNT,\n payload: totalCount\n };\n};\n\nexport const setGamesConfigs = (\n gamesConfigs: Partial\n): ActionType => {\n return {\n type: NewCasinoActionTypes.SET_GAMES_CONFIG,\n payload: gamesConfigs\n };\n};\n\nexport const setCasinoCustomCategories = (\n categories: NewCasinoCategory[]\n): ActionType => {\n return {\n type: NewCasinoActionTypes.SET_CASINO_CUSTOM_CATEGORIES,\n payload: categories\n };\n};\n\nexport const setCasinoOriginalCategoriesSet = (\n categories: string[]\n): ActionType => {\n return {\n type: NewCasinoActionTypes.SET_CASINO_ORIGINAL_CATEGORIES_SET,\n payload: categories\n };\n};\n\nexport const setCasinoOriginalCategoriesSetLeftSideBar = (\n categories: string[]\n): ActionType => {\n return {\n type: NewCasinoActionTypes.SET_CASINO_ORIGINAL_CATEGORIES_SET_LEFT_SIDEBAR,\n payload: categories\n };\n};\n\nexport const setCategoryProviderIds = (payload: string): ActionType => {\n return {\n type: NewCasinoActionTypes.SET_CASINO_CATEGORY_PROVIDER_IDS,\n payload\n };\n};\n\nexport const setCanRequestCategoriesNestedData = (\n payload: boolean\n): ActionType => {\n return {\n type: NewCasinoActionTypes.SET_CAN_REQUEST_CATEGORIES_NESTED_DATA,\n payload\n };\n};\n\nexport const setCanRequestProvidersNestedData = (\n payload: boolean\n): ActionType => {\n return {\n type: NewCasinoActionTypes.SET_CAN_REQUEST_PROVIDERS_NESTED_DATA,\n payload\n };\n};\n\nexport const setLastPlayedCatSettings = (payload: {\n lastPlayed: boolean;\n lastPlayedCatType: number;\n}): ActionType => {\n return {\n type: NewCasinoActionTypes.SET_LAST_PLAYED_CAT_SETTINGS,\n payload\n };\n};\n\nexport const setCategoryCustomIds = (catCustomIds: string[]): ActionType => {\n return {\n type: NewCasinoActionTypes.SET_CATEGORIES_CUSTOM_IDS,\n payload: catCustomIds\n };\n};\n\nexport const addCachedGame = (game: NewCasinoGame): ActionType => {\n return {\n type: NewCasinoActionTypes.ADD_CACHED_GAME,\n payload: game\n };\n};\n\nexport const addCachedGameId = (id: string): ActionType => {\n return {\n type: NewCasinoActionTypes.ADD_CACHED_GAME_ID,\n payload: id\n };\n};\n\nexport const setCachedGameActive = (id: string): ActionType => {\n return {\n type: NewCasinoActionTypes.SET_CACHED_GAME_ACTIVE,\n payload: id\n };\n};\n\nexport const setCachedGameInactive = (id: string): ActionType => {\n return {\n type: NewCasinoActionTypes.SET_CACHED_GAME_INACTIVE,\n payload: id\n };\n};\n\nexport const setCachedGamesInactive = (excludeId?: string): ActionType => {\n return {\n type: NewCasinoActionTypes.SET_CACHED_GAMES_INACTIVE,\n payload: excludeId\n };\n};\n\nexport const setCachedGameOrder = (payload: {\n id: NewCasinoGame['extearnal_game_id'];\n order: ECasinoGameViewOrder;\n}): ActionType => {\n return {\n type: NewCasinoActionTypes.SET_CACHED_GAME_ORDER,\n payload\n };\n};\n\nexport const setCachedGameMode = (payload: {\n id: NewCasinoGame['extearnal_game_id'];\n mode: ECasinoGameMode;\n}): ActionType => {\n return {\n type: NewCasinoActionTypes.SET_CACHED_GAME_MODE,\n payload\n };\n};\n"],"names":["setCasinoOriginalCategories","categories","type","NewCasinoActionTypes","SET_CASINO_ORIGINAL_CATEGORIES","payload","setEnhancedParams","enhancedParams","SET_ENHANCED_PARAMS","setTotalCount","totalCount","SET_GAMES_TOTAL_COUNT","setGamesConfigs","gamesConfigs","SET_GAMES_CONFIG","setCasinoCustomCategories","SET_CASINO_CUSTOM_CATEGORIES","setCasinoOriginalCategoriesSet","SET_CASINO_ORIGINAL_CATEGORIES_SET","setCasinoOriginalCategoriesSetLeftSideBar","SET_CASINO_ORIGINAL_CATEGORIES_SET_LEFT_SIDEBAR","setCategoryProviderIds","SET_CASINO_CATEGORY_PROVIDER_IDS","setCanRequestCategoriesNestedData","SET_CAN_REQUEST_CATEGORIES_NESTED_DATA","setCanRequestProvidersNestedData","SET_CAN_REQUEST_PROVIDERS_NESTED_DATA","setLastPlayedCatSettings","SET_LAST_PLAYED_CAT_SETTINGS","setCategoryCustomIds","catCustomIds","SET_CATEGORIES_CUSTOM_IDS","addCachedGame","game","ADD_CACHED_GAME","addCachedGameId","id","ADD_CACHED_GAME_ID","setCachedGameActive","SET_CACHED_GAME_ACTIVE","setCachedGameInactive","SET_CACHED_GAME_INACTIVE","setCachedGamesInactive","excludeId","SET_CACHED_GAMES_INACTIVE","setCachedGameOrder","SET_CACHED_GAME_ORDER","setCachedGameMode","SET_CACHED_GAME_MODE"],"sourceRoot":""}