Module 60465

2,897 characters · in no known chunk
Dependencies
Lazily required by (0)none
Lazily requires (1)
Source Raw
function(e,t,n){"use strict";n.d(t,{A:()=>u});var i=n(627968),r=n(284009),s=n.n(r),a=n(192308),o=n(228366);function l(e){o.h.dispatch({type:"GAME_PROFILE_CLEAR_PENDING_RETURN",gameId:e})}let u={openGameProfileModal:function(e){let{gameId:t,gameProfileModalChecks:r,source:o,sourceUserId:l,appContext:u}=e;s()(r.shouldOpenGameProfile,"Passed a false value for [gameProfileModalChecks]. Are you using the useShouldOpenGameProfile hook correctly?"),s()(r.gameId===t,"Passed an unexpected [gameId]. Are you passing a different one than you passed to useShouldOpenGameProfileModal?"),(0,a.openModalLazy)(async()=>{let{default:e}=await Promise.all([n.e("50884"),n.e("57123"),n.e("76444"),n.e("7729"),n.e("47728"),n.e("58247"),n.e("62448"),n.e("87089"),n.e("11399"),n.e("66614"),n.e("609"),n.e("73840"),n.e("45687"),n.e("9233"),n.e("72963"),n.e("52511"),n.e("36877"),n.e("93766"),n.e("28095"),n.e("21957"),n.e("21200"),n.e("98329"),n.e("47018"),n.e("25949"),n.e("79049"),n.e("7575"),n.e("54622"),n.e("28203"),n.e("37977"),n.e("2331"),n.e("18024"),n.e("27323"),n.e("69747"),n.e("3131"),n.e("65826"),n.e("49520"),n.e("54241"),n.e("72877"),n.e("26437"),n.e("21930"),n.e("11133"),n.e("26294"),n.e("32737"),n.e("42724"),n.e("68904"),n.e("96325"),n.e("37937"),n.e("75627"),n.e("22067"),n.e("96268"),n.e("93461"),n.e("83827"),n.e("93767"),n.e("1962"),n.e("7406"),n.e("36926"),n.e("36973"),n.e("97150"),n.e("21041"),n.e("38672"),n.e("9447"),n.e("86454"),n.e("85330")]).then(n.bind(n,747226));return n=>(0,i.jsx)(e,{gameId:t,source:o,sourceUserId:l,...n,appContext:u})},{contextKey:null!=u?(0,a.modalContextFromAppContext)(u):void 0})},returnToGameProfile:function(e){let{gameId:t,source:r,initialScrollOffset:s}=e;l(t),(0,a.openModalLazy)(async()=>{let{default:e}=await Promise.all([n.e("50884"),n.e("57123"),n.e("76444"),n.e("7729"),n.e("47728"),n.e("58247"),n.e("62448"),n.e("87089"),n.e("11399"),n.e("66614"),n.e("609"),n.e("73840"),n.e("45687"),n.e("9233"),n.e("72963"),n.e("52511"),n.e("36877"),n.e("93766"),n.e("28095"),n.e("21957"),n.e("21200"),n.e("98329"),n.e("47018"),n.e("25949"),n.e("79049"),n.e("7575"),n.e("54622"),n.e("28203"),n.e("37977"),n.e("2331"),n.e("18024"),n.e("27323"),n.e("69747"),n.e("3131"),n.e("65826"),n.e("49520"),n.e("54241"),n.e("72877"),n.e("26437"),n.e("21930"),n.e("11133"),n.e("26294"),n.e("32737"),n.e("42724"),n.e("68904"),n.e("96325"),n.e("37937"),n.e("75627"),n.e("22067"),n.e("96268"),n.e("93461"),n.e("83827"),n.e("93767"),n.e("1962"),n.e("7406"),n.e("36926"),n.e("36973"),n.e("97150"),n.e("21041"),n.e("38672"),n.e("9447"),n.e("86454"),n.e("85330")]).then(n.bind(n,747226));return n=>(0,i.jsx)(e,{gameId:t,source:r,initialScrollOffset:s,...n})})},setGameProfilePendingReturn:function(e){let{gameId:t,channelId:n,initialScrollOffset:i}=e;o.h.dispatch({type:"GAME_PROFILE_SET_PENDING_RETURN",gameId:t,channelId:n,initialScrollOffset:i})},clearGameProfilePendingReturn:l}}