(function(CONFIG){ /* PARSE CONFIG */ CONFIG = JSON.parse(CONFIG); /* CHECK DOMAIN TYPE */ const isLocalhost = CONFIG.localhost.includes(location.hostname); const isRootDomain = !isLocalhost && location.hostname.split(".").slice(-2).join(".") == location.hostname; /* PROXY REQUEST MIDDLEWARE */ const middleware = function(url) { if (CONFIG.hosts.mm.includes(url.host)) { /* MATCHMAKER SERVER REROUTE */ url.protocol = CONFIG.protocol.http; url.hostname = location.hostname; url.port = CONFIG.port; url.pathname = `/mm${url.pathname}`; url.search = url.search.replace(`hostname=${location.hostname}`, `hostname=${CONFIG.hosts.http[0]}`); if (url.search.match(/region=/)) { if (isLocalhost) { /* CHANGE LOCAL REGION TO DEFAULT */ url.search = url.search.replace("region=local", `region=${CONFIG.region.default}`); } else if (!isRootDomain) { /* FORCE REGION */ const region = CONFIG.region.map[location.hostname.split(".")[0]] || CONFIG.region.default; url.search = url.search.replace(/region=[\w-]+/g, `region=${region}`); } } } else if (CONFIG.hosts.api.includes(url.host)) { /* API SERVER REROUTE */ url.protocol = CONFIG.protocol.http; url.hostname = location.hostname; url.port = CONFIG.port; url.pathname = `/api${url.pathname}`; } return url; } /* OVERRIDE FETCH */ const _fetch = window.fetch; window.fetch = async function(...args) { try { const url = new URL(args[0]); args[0] = middleware(url).toString(); } catch (e) {}; return _fetch(...args); } /* OVERRIDE WEBSOCKET */ window.WebSocket = class WebSocket extends window.WebSocket { constructor(...args) { const url = new URL(args[0]); if (CONFIG.hosts.social.includes(url.host)) { /* SOCIAL SERVER REROUTE */ url.protocol = CONFIG.protocol.ws; url.port = ""; url.host = CONFIG.hosts.social[0]; } else if (CONFIG.hosts.editor.includes(url.host)) { /* EDITOR SERVER REROUTE */ url.protocol = CONFIG.protocol.ws; url.port = ""; url.host = CONFIG.hosts.editor[0]; } args[0] = `${CONFIG.protocol.ws}//${location.host}/ws?redirect=${btoa(url.toString())}`; super(args); } } /* OVERRIDE XMLHTTPREQUEST */ window.XMLHttpRequest = class XMLHttpRequest extends window.XMLHttpRequest { open(...args) { try { const url = new URL(args[1]); if (CONFIG.hosts.assets.includes(url.host)) { /* ASSETS (MODELS) REROUTE */ url.protocol = CONFIG.protocol.http; url.hostname = location.hostname; url.port = CONFIG.port; url.pathname = `/assets${url.pathname}`; args[1] = url.toString(); } else if (CONFIG.hosts.userAssets.includes(url.host)) { /* USER ASSETS (MODELS) REROUTE */ url.protocol = CONFIG.protocol.http; url.hostname = location.hostname; url.port = CONFIG.port; url.pathname = `/user${url.pathname}`; args[1] = url.toString(); } else { args[1] = middleware(url).toString(); } } catch (e) {}; super.open(...args); } } /* OVERRIDE CREATE ELEMENT (NAMESPACE VERSION) */ document.createElementNS = new Proxy(document.createElementNS, { apply: function(target, prop, args) { const img = target.apply(prop, args); /* THREE ERROR HANDLER */ let threeErrorHandler; /* CORS ERROR HANDLER */ function corsErrorHandler() { /* REMOVES EXISTING ERROR HANDLER */ this.removeEventListener('error', corsErrorHandler, false); /* ADDS BACK THREE ERROR HANDLER */ this.addEventListener('error', threeErrorHandler, false); /* ASSETS (IMAGES/TEXTURES) REROUTE */ const url = new URL(this.src); if (CONFIG.hosts.assets.includes(url.host)) { url.protocol = CONFIG.protocol.http url.hostname = location.hostname; url.port = CONFIG.port; url.pathname = `/assets${url.pathname}`; } this.src = url.toString(); } /* ADD CORS ERROR HANDLER */ img.addEventListener('error', corsErrorHandler, false); /* PROXY ADDING EVENT LISTENER */ const _addEventListener = img.addEventListener; img.addEventListener = new Proxy(_addEventListener, { apply: function(target, prop, args) { if (args[0] == 'error') { /* HOOK ADDING THREE ERROR HANDLER */ threeErrorHandler = args[1]; /* UNDO PROXY */ img.addEventListener = _addEventListener; } else { target.apply(prop, args); } } }) return img; } }) /* INJECT REFRESH SETTING */ const div = document.createElement('div'); div.className = "settingsBtn"; div.style.cssText = "width: auto;font-size: 14px;padding: 5px 8px;"; div.innerText = "Find"; div.addEventListener("click", function() { const regionId = document.getElementById('setBod_local').childNodes[0].childNodes[2].value; const regionPrefix = CONFIG.region.reverseMap[regionId] || CONFIG.region.reverseMap[CONFIG.region.default]; if (isLocalhost) { const url = `${CONFIG.protocol.http}//${regionPrefix}.subdomain.com`; alert(`REDIRECT - ${url}`); } else { const url = `${CONFIG.protocol.http}//${regionPrefix}.${location.hostname.split(".").slice(-2).join(".")}`; location.href = url; } }, false); const waitForSettings = setInterval(function() { if (!window.windows) return; if (!window.windows[0]) return; if (!window.windows[0].getSettings) return; clearInterval(waitForSettings); window.windows[0].getSettings = new Proxy(window.windows[0].getSettings, { apply: function(target, prop, args) { setTimeout(function() { const localBody = document.getElementById('setBod_local'); if (localBody) { const region = localBody.children[0]; region.innerHTML = region.innerHTML.replace("Default Region", "Proxy Region"); const select = region.children[0]; region.insertBefore(div, select); [...select.children].filter(o => !CONFIG.region.reverseMap[o.value]).forEach(o => select.removeChild(o)); select.onchange(); } }) return target.apply(prop, args); } }) }, 100); })('{"isProd":true,"port":443,"localhost":["localhost","127.0.0.1"],"hosts":{"http":["krunker.io","internal.krunker.io","127.0.0.1:8080"],"mm":["matchmaker.krunker.io","matchmaker_beta.krunker.io","127.0.0.1:5050"],"api":["api.krunker.io","api_beta.krunker.io","127.0.0.1:5080"],"social":["social.krunker.io","social_beta.krunker.io","127.0.0.1:5070"],"editor":["editor.krunker.io","editor_beta.krunker.io","127.0.0.1:5090"],"assets":["assets.krunker.io"],"userAssets":["user-assets.krunker.io"]},"region":{"default":"de-fra","map":{"fra":"de-fra","sv":"us-ca-sv","syd":"au-syd","tok":"jb-hnd","mia":"us-fl","sin":"sgp","ny":"us-nj"},"reverseMap":{"de-fra":"fra","us-ca-sv":"sv","au-syd":"syd","jb-hnd":"tok","us-fl":"mia","sgp":"sin","us-nj":"ny"}},"key":"MfFNnrttL2zWMZeZwmMY6RiNq5LCxhj0QFASBoKh1aujSpHwTRz2ytunxJHmcn23","isSSL":true,"protocol":{"http":"https:","ws":"wss:"}}'); function _0x36d4(){const _0x289b9b=['preStoredConfig','shop','staging.crucible.frvr.com','verified','hide','globalUserIdSource','OPERATION_SUCCESS','randomGlobalUserId','img','crypto','logEvent','dispatchConsentChanged','mynet','function','getGroups','googleAdSpilgamesId','ftuestepsdone','P5PersonalizedContentProfile','auth','canUseCookies','isLoginSupported','noConsentConsentProvider','3217022605','consentToTerms','getCloudStorageProvider','charCodeAt','getItem','getGlobalUserId','bind','unhandled_rejection:\x20','__frvr_rfc_uuidv4','iap_request_restore_purchase_success','_overrideRemoteConfig','freeze','entrypoint','photo','random','windowsMobile','throttler','LOGIN_SUCCESS','refreshInterval','68b12f195cb35817eb145893c031def3ff3eef35','Authorization','source','timedout','emptyCrossplay','features_loading','getState','consents','script_version','silk','_isFRVRLoginEnabled','getUTCMonth','getCachedScore','dispatchEvent','_refreshExpiration','getEntryPointProvider','https://staging.crucible.frvr.com','[ads]\x20no\x20providers\x20for','values','[FRVR-SDK]\x20post\x20complete','7640790291','readyState','register','accessProvider','trackerChannelId','undefined','closedByUser','FRVRAnalytics','syncFriendsOnLogin','game_end','providers','useManualControl','xhr','AUTH_REGISTRATION','getAllLeaderboardsDataOfType','ON_SHOW','pageSessionId','AdResponseStatus','loadStorage','addDefaultWebListeners','AD_CLOSED','then','lastShownAd','INTERNAL_ERROR','Invalid\x20format\x20on\x20data','onBeforeInit','https://crucible.frvr.com','src','bixby','legacy_samsung_gl_pwa','can_use_cookies','microsoftPwa','MAX_SAFE_INTEGER','getSetScoreProvider','[ads]\x20show\x20error','debugProvider','ADSTORAGE_FIRST_TIME_KEY','ON_CONNECT','legacy_samsung_gl_fallback','complete','dev','/timeline','removePreStoredConfig','getAdShownCount','login','P3PersonalizedAdsProfile','timeTillAccessExpiry','enableAppStoreLinks','self','bot_subscribe_failure','game8','getIAPProvider','canScheduleMessages','facebook_rooms','updateTokensIfValid','IAPPurchaseErrorAlreadyOwned','isShieldSupported','providerName','close','windowsapp','cloudProvider','provider','clientWidth','facebookApp','remoteConfig','refreshUserIdCookie','forEach','registerAdsProviders','The\x20login\x20on\x20the\x20requested\x20platform\x20failed','getShop','chatbot','get_tld','Tracker','tokenHandler','requestingAd','throttlerState','chromeWrapper','cmpl','FRVRLeaderboards','message','hasOwnProperty','ftue','sdk','allSettled','set','create','Unknown\x20error','referrer','userAgent','_refreshPayload','Bearer\x20','setUserConsent','Purchase\x20already\x20owned','google-internal','getLeaderboardsChannelId','RECONNECT_RETRY_MS','IAPServiceClient\x20bad\x20response:\x20','wss://','getRightmost1Index','getLeaderboardById','gameId','[ads]\x20Ad\x20provider\x20','SAMSUNG_INSTANT','clear','4822698373','Login\x20successful','HIGHER_IS_BETTER','plonga','apiHost','usingWebGLRenderer','syncedFriendsbyChannelIDCache','updateCurrentPair','branch','ANALYTICS_STORAGE_KEY','facebook_instant','AdSuccess','setPublicItems','serverError','currentPair','samsungbrowser','rocketchat','3238562380','jio_my','canUsePublicItems','addExtraFieldFunction','/settings','androidVersion','mandatory','/v1/leaderboards/','handleEvent','get','getPossibleOpponents','getBootstrapper','updateIsReady','params','isSupportedAPI',')\x20has\x20already\x20been\x20tracked','on_show','loginAsAnonymous','[shop]\x20No\x20IAP\x20product\x20found\x20for\x20sku\x20','LOCAL_STORAGE','isLoggedIn','getCurrentTournament','getPlatformId','playSessionIdTimeStamp','setItems','getTimezoneOffset','P7MeasureAdPerformance','switch','samsung_game_launcher','harman','shareMessage','live','setDate','toUTCString','emptyCrosspromo','fetch','EMPTY_OPEN_CHANNEL_STORE_IMPLEMENTATION','nofill','createdAt','initFromStorage','reason','validateAndReturnJSON','purpose','canInvite','bits','IAPPurchaseErrorUnknownProduct','wsClient','buildComponents','advertisementInterstitialDisabled','utm_content','loginToFRVR','channels','firefoxMobile','/refresh','groupId','archivedAt','accessExpiration','savePreStoredConfig','NO_THROTTLING','ON_LOAD','abt','27357pCRVpI','createOverlay','gl_fallback','iap_request_restore_purchase_error','device_info','onGameInvite','emptyProfile','appContextFields','timeLoaded','ScoreCachePolicy','client','websocket','autoInit','CLOSED','getLocalStorageProvider','mfogs','webClient','mail_online','extraFieldFunctions','__esModule','1360355vUQCHt','[ads]\x20Ad\x20was\x20throttled,\x20reason\x20=','REG_SUCCESS','getLeaderboardEntry','replace','warn','User\x20registered\x20successfully.\x20Pending\x20confirmation','getId','samsung_instant_daily','cookie','getUnconsumedPurchases','accessIssuedAt','master','cloudStorage','subscribeToPlayerJoined','jio','DISCORD','encode','Notifications\x20class\x20should\x20be\x20configured\x20before\x20it\x20is\x20initialized','throttling','jio_gameslite','maxfrequency','crossplay','logConsumePurchase','getOpponentsFromChallenges','productId','_refreshToken','authenticatedFetch','lifecycle','initialized','crazy_games','ACCESS_TOKEN_KEY','[FRVR-SDK]\x20setting\x20channel\x20multiple\x20times','huaweiquickapp','inMemoryChannelMapper','postScore','/config','getLogger','INIT_TIME','modules','isFacebookRooms','randomPlaySessionIdTimeStamp','logout','samsungbus','__frvr_features','invalidrequest','/recover-challenge','createShortcut','primaryDebugProvider','FREQUENCY','getOwnPropertySymbols','getFriendsStatus','[frvr-tracker]\x20error\x20sending\x20event\x20via\x20provider\x20','getTimeTillProactiveRefresh','AdsThrottlerResult','__frvr_analytics_storage','splice','onReady','checkpoint','logValuedEvent','postComplete','/validate/','COOKIE','getRefreshPayload','platform','websocket\x20client\x20closed','getAnalyticsIDProvider','P8MeasureContentPerformance','code','cacheScore','facebookAd','https://','storage','bootstrapper','status','Unexpected\x20purchase\x20error','9152813246','json','[FRVR-SDK]\x20Missing\x20game\x27s\x20name\x20in\x20configuration','on_load','catch','cmpc','from','logRequestPaymentError','isLoggingIn','stopsGameFlow','reconnect','_accessExpiration','Platform','updateAndValidateCurrentPair','/entries','logRestorePurchasesError','NETWORK_ERROR','registrationConflict','PublicCredentials','FRVRSDK','price','SUCCESS','Shop\x20access\x20token\x20is\x20required','errors','PRODUCTION','name','setItem','addFriend','refreshToken','setConfig','true','samsungGalaxyStorePWA','supportsAutoInitialization','FBInstant','accountNotActive','WebIDProvider','samsung-instant','_resolve','finally','AdFinishedStatus','getAllLeaderboardsIdsOfType','onLoad','REFRESH_TOKEN_KEY','jio-stb','MIN_PROACTIVE_REFRESH_INTERVAL','notifications','days_played','share','web','ACCOUNT_NOT_ACTIVE','/v1/shop/','Env','emptyNavigationProvider','analyticsProviders','playerId','extra','notLoggedIn','push','getEntryPointData','IAPPurchaseErrorCancelledByUser','samsungGameLauncher','_isAnonymousLoginEnabled','payload','1001spill','14.13.0','getActiveTournaments','getNavigationProvider','iMessageContext','EMPTY_PROFILE','setScore','focus','rcsKr','GET','overrideMimeType','context.getType','addDefaultListeners','platforms','ConsentOptions','Ads','getProductById','nosoc','shield','onSuspend','buildTrackerWebContextProvider','image','tracker','shortcutProvider','EMPTY_FOLLOW_OFFICIAL_PAGE','initTime','twitter','loaded','listener','\x20in\x20provider\x20','survey','getCharacteristics','getRoomData','lg_tv','getAnalyticsProviders','Crosspromo\x20not\x20implemented','stringify','tournaments','updateScore','ShopError','[FRVR-SDK]\x20error\x20initialising\x20cloud\x20storage','emptyAnalyticsIDProvider','WebsocketClient:\x20Cannot\x20send\x20message,\x20not\x20initialised','finish','channelCharacteristics','_accessPayload','crucible.frvr.com','isReady','assign','sku','registeredProviders','shift','/purchases/','localStorage','getPlayerEntries','android','game_play_start','buildScoreCache','getContextId','controls','lastIndexOf','squid','getCurrentChallengeId','emptyAsyncStorage','configure','providerFriendsCache','delivered','toISOString','getTrackerPlaySessionId','retry','addEventListener','::onLoad()','INVALID_FORMAT','samsungbsea','REG_CONFLICT','scheduleLocalNotification','createLeaderboard','Auto\x20login\x20with\x20anonymous\x20account\x20failed!','emptyLogger','getSocialProvider','setRequestHeader','oppo_global','logRequestPaymentSuccess','getConnectionStatus','getCommunityProvider','getCrossplay','isConsentEditable','get_tld=test;domain=.','shortcut','WebLocalStorageProvider','689434yyaKcb','prod','ON_ERROR','[FRVR-SDK]\x20adding\x20default\x20listeners','HIGHEST','length','channel','[ads]\x20provider','&gameId=','profile','9547456458','type','isChromeOSDevice','logRestorePurchasesSuccess','blur','apple','kongregate','onFriendStatusUpdated','[FRVR-SDK]\x20running\x20channel\x20ads\x20configuration','deleteTokens','community','getFirstIntervalTime','context.chooseAsync','hasConsentForAll','has','8416254215','invitePlayers','groups','iOSWrapper','initComponents','samsung_instant_play','getRefreshToken','getName','data','timeStart','not\x20ready','OPEN','removeItems','onAuthStatusChange','getTrackerContextProvider','2961002817','adShownListeners','consentIsLoaded','page_loading','samsungBrowserUK','addDevWebListeners','REWARDED_INTERSTITIAL','Email\x20already\x20registered','analytics','leave','ad_','IAPError','eventListeners','inc','getOwnPropertyNames','tokenPair','needsConfiguration','158idLvLv','text/plain;\x20charset=UTF-8','count','advertisementIsDisabled','getDate','dispatchOutstandingEvents','MemoryAsyncStorageProvider','context.isSizeBetween','lgtv','unknownError','open','initiateVerifyChallenge','hasLoaded','FIRST_SESSION_AD_SPEED_RATE','ab_test_activation','56olGZgw','response','FeaturesClientNetworkError','hasConsentForAny','memory','setAsCurrent','000000','challengeByPlayerId','randomUUID','iat','debug','rcskr','GOOGLE_INTERNAL','apiHostOverride','show','networkError','windowsApp','getTournamentById','1082728tTzphG','IAPErrorCode','ads','documentElement','Empty\x20Provider','setProgress','secureConnection','Error\x20in\x20purchase:\x20','isAccessValid','rank','guid','getLeaderboardEntries','loginWithProvider','interstitial','TcfV2ConsentProvider','loginStatusListeners','invalidCredentials','includes','location','getConsentProvider','canCreateShortcutAsync','IAP','features','getUTCFullYear','_reject','galaxystore','[FRVR-SDK]\x20Missing\x20crossplay\x20configuration','myjio','[frvr-tracker]\x20event','fromCharCode','tcfDataBitSet2ConsentOptionsBitSet','IsReadyStateManager','call','[FRVR-SDK]\x20registering\x20ads\x20providers','/register','networkerror','_currentPair','split','getCurrentChallengeData','7978894035','context','timed_out','logger','iap_request_payment_success','/consume/','challenges','getID','iMessage','randomPageSessionId','getThirdPartyCredentials','isArray','vkru','currencyCode','onAuthStatusChanged','7430391555','utm_term','spilGamesWrapper','adleavingapplication','baseUrl','gamelauncher','default','=([^&]*)|).*$','frvrID','updateStatus','globalUserId','levelEnd','score','AsyncStorage','updatedAt','EMPTY_ENTRYPOINT_NAME','ALREADY_OWNED','configAds','finishedAd','firefox','oppoGlobal','getAuthProviders','disableNativeBridge','getAdsConfig','DEFAULT_ADS_CONFIG','channelUserId','value','microsoft_pwa','propertyIsEnumerable','prototype','taboola','availableAt','slow','innerHeight','::onLoad::updateConsentCallback:!success','syncedFriendsbyFRVRIDCache','https://hermes.frvr.com/v1/scheduler','facebook_canvasweb','8532226134','Unexpected\x20consume\x20error','setPrototypeOf','max','top','getGlobalUserIdFromCookie','getAvailableLoginPlatforms','statusText','TimeoutError','PLATFORM_NOT_AVAILABLE','Error\x20on\x20server','application/json','restorePurchases','config','1526015108','onError','emptyNotificationsProvider','env','clay','MAX_PRE_CONSENT_LOAD_EVENT_QUEUE','P10DevelopAndImproveProducts','[FRVR-SDK]\x20initialising\x20components','1315349NcVTuh','krunker.io','getCurrentPlatform','TIMEDOUT','AD_LEAVING_APPLICATION','mailonline','exp','getPlaySessionId','P1StoreInformationOnADevice','getContextPlayers','getType','pairsPerPlatform','3704760038','/verify','_accessToken','tmobile','COMPLETED','getUserId','availableTokens','toString','set1AtIndex','getEventName','onOpen','append','next','[frvr-tracker]\x20ftue:','adsenseforgamestest2','::consentToTerms(NoOpImpl)','SERVER_ERROR','twitch','onLoginStatusChange','iap','[ads]\x20first\x20time\x20ever?','ids','Failed\x20to\x20load\x20Facebook\x20Instant\x20channel:','Failed\x20to\x20fetch\x20features:\x20','filter','container','isPersistent','8436188448','levelStart','onload','addStatusChangeListener','getConsentContextFields','P6PersonalizedContent','notifyAdShown','getFreshUrl','isShieldEnabled','isVerified','RECONNECT_DEFAULT_BACKOFF_MS','addons','int','mediatrust','apiUrl','game','4111954147',';\x20domain=','UNKNOWN_ERROR','decode','onMessage','getChallengesProvider','FTUE_STEPS_DONE_KEY','tMobile','accessLifespan','getProducts','chromeos','tokenExpired','websocket\x20client\x20error','FRVRFBIChannel','defineProperty','Timeout\x20after\x20','None','string','LATEST','liveRoom','headers','context.getPlayersAsync','usingCanvasRenderer','rewarded-interstitial','Purchase\x20cancelled\x20by\x20user','setChannel','send','Auto\x20login\x20with\x20platform\x20','Provided\x20credentials\x20are\x20invalid','resolve','googleAdSiteId','qatoolEnabled','match','getContextFields','_platform','getProvidersByType','indexOf','getTime','last_day_played','onConsentChangedHandlers','latest','mobile','NOT_LOGGED_IN','IAP.\x20Product\x20not\x20found','retries','now','discovery_page_view','\x20-\x20','TokenHandler','getTimelineEntries','getUTCDate','toLowerCase','version','isLogoutSupported','webSocketClientBuilder','getPlayers','delayInSeconds','rcs','okru','fallbackStorageProvider','miniclip','P4PersonalizedAds','decorateRequestWithAuth','getFBIChannel','/products/','getRoomId','CONNECTING','sendUpdate','invite','accessToken','getCatalog','reduce','test','myJio','SURVEY','getAllLeaderboardsOfType','syncFriends','NOT_DISPLAYED','sortOrder','createElement','getABTestsUniqueId','test-01e0e1c8-2a13-4fe9-b8d0-458a98c4fc89','onResume','THROTTLED','userId','legacy_samsung_browser_m4s','setTimeout','TOURNAMENT','APPLE','parse','map','activateTimeout','partnerWrapper','/sync','step\x20','banner','updateAsync','webSocketBuilder','onunhandledrejection','/verify-challenge','Operation\x20success','useractioncomplete','legacy_samsung_browser_us','refreshExpiration','https://crucible.frvr.com/v1/auth','__frvr_ftue_steps_done','getLiveRoomProvider','emptyIAPProvider','setPublicItem','/v1/players/','removeFriend','\x5c$&','isSupported','?productSKUs=','registrationSuccess','getTournamentsProvider','getShortcutProvider','isFirstAdEver','navigation','jio-gameslite','9997971842','shouldBlockByInitTime','USER_INPUT','randomPlaySessionId','LATENCY_COMPENSATION','FRVR\x20SDK\x20is\x20not\x20initialized','xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx','AUTH_SETTINGS','removeEventListener','The\x20requested\x20platform\x20is\x20not\x20available','[ads]\x20no\x20ad\x20shown\x20for','hago','ftueUnordered','/login','initTracker','invalidFormat','sendBeacon','purchaseId','entrypointData','legitimateInterestsBitSet','AdTypeProperties','INVALID_CREDENTIALS','__tcfapi','__ads_firstTimeView','_frvrID','clientHeight','9508446909','responseTypes','iframed','isInRoom','subscribeToPlayerLeft','shouldRefreshTokens','forceFirstAd','P9MarketResearchForAudienceInsights','crosspromo','facebook-web','discord','shouldBlockByFrequency','onShow','Trying\x20to\x20use\x20an\x20empty\x20interface.','iap_request_payment_failed','entries','chrome','getPlayerId','clearTimeout','kik','iPhoneXOrLater','friends','WebsocketClient:\x20Cannot\x20send\x20message,\x20not\x20connected','postInit','success','setGroups','huawei','oppo','AdShowResult','getProperty','anonymous','error','randomIdProvider','\x20failed!','play_session_count','getInitialisedState','6794212012','mspwa','legacyAnalytics','submitScore','_isReady','idProvider','https','no\x20products','app_build','loadConsentManagementPlatform','onHide','innerWidth','registerOnFRVR','priceValue','getFRVRID','getGlobalUserIdFromStorage','ufone','AUTH_LOGIN','[ads]\x20showing','facebookInstant','sendGameInvite','consentsBitSet','updateProactiveRefresh','items','onFRVRTokensReceived','updated','_frvr=','global_user_id_source','initiateRecoveryChallenge','jioGameslite','bts','preComplete','social','timeout','rcsid','connected\x20to\x20social\x20server','onIsReadyChanged','MAX_FREQUENCY_DEFAULT','onConnect','iapTracker','subscribeScheduleMessages','friendsStatus','emptyAdEventLogger','waitForTimeoutActivation','timeoutMs','Error\x20initializing\x20Local\x20Storage\x20provider','socialPlatform','platformLoginFail','^(?:.*_frvr=([^;]*)).*$','remoteABTests','getFeature','mergeAccounts','priority','PLAY_SESSION_TIMEOUT','event\x20type\x20is\x20not\x20supported','Error\x20in\x20getUnconsumedPurchases:\x20','synchronizeVerifiedStatus','FACEBOOK_SDK','^(?:.*','NOFILL','firstFetchPromise','defaultFeatures','(=([^&#]*)|&|#|$)','reject','getUserSource','samsung_galaxy_store_pwa','defaultLifecycle','consumePurchase','prohibitsLoginWithFRVRCredentials','iOS','consentToAllConsentProvider','Cannot\x20perform\x20operation\x20without\x20active\x20login','samsungInstantPlay','PLATFORM_LOGIN_FAIL','initTimeBlock','POST','protocol_version','body','proactiveRefreshTimeoutID','updateTokens','contextRemoveFn','logRestorePurchases','partnerid','substring','sort','withFormattedPrices','UNKNOWN','getFriends','samsungBrowserUS','FRVR','defaultCharacteristics','isRefreshValid','samsung_instant_browser_us','consentProvider','samsungGLFallback','refreshCurrentPair','1369302pfBTHZ','EMPTY_ENTRYPOINT_DATA','[FRVR-SDK]\x20configuring\x20ads','game_loaded','anonymousUserId','reverse','jioStb','getLeaderboardsProvider','WebEntryPointProvider','canCreateShortcut','onAudioSuspend','getSkippedAnalyticsEvents','game_start_time','INTERSTITIAL','getCredentials','key','samsungbuk','3260241ihWofR','empty','onClose','Provided\x20credentials\x20are\x20valid\x20but\x20account\x20is\x20either\x20not\x20confirmed\x20or\x20suspended','loginThroughPlatform','search','endTime','refreshTokens','getFeatures','onAdShown','_accessIAT','getData','platformNotAvailable','samsungBixby','getAllChallenges','apiBaseURL','EMPTY_FOLLOW_OFFICIAL_GROUP','setCanUseCookies','false','getProfile','updateStorage','samsung_galaxy_store','getLeaderboard','setupGroups','getProviderName','getPurchases','transport','global_user_id','_verified','host','PublicResponses','substr','all','iap_request_restore_purchase','client_time','atob','pwa','getFormattedPrice','onAudioResume','appWrapper','context.getID','getStorageAccessToken','setState','Shield\x20is\x20not\x20enabled\x20in\x20this\x20environment','onModulesUpdated','rocketChat','ERROR','requestPayment','API','getConsentedIdProvider','for','hash','samsungBrowser','samsungAppStore','getContextData','\x20OPR/','pow','isAnyValid','reward','not_displayed','highest','samsung','connectedUser','href','facebook-instant','facebookRooms','InstallTrigger','Auth','ongoingFRVRLogin','opera','adShownCount','AdType','buildWebAsyncStorage','isFRVRLoginEnabled','scores','setup','frvr','preConsentLoadEventQueue','samsungBrowserSEA','eventStatus','AUTH_RECOVER_CHALLENGE','isChromeWrapper','chromeOSDevice','ios','SEND_GAME_INVITE','jio_stb','/v1/social','withChannel','changePassword','SKIPPED','DEVELOPMENT','trackAdError','queryPublicItems','channelId','FRVRInstant','shouldRefresh','imageUrl','getItems','androidWrapper','DELIVERED','getAccessToken','legacy_samsung_daily','legitimateInterests','Unknown\x20product\x20\x22','AUTH_VERIFY_CHALLENGE','microsoft','firstFetch','[storage]\x20parsing\x20error\x20on\x20key\x20','players','update','SOLO','TIMED_OUT','addPairAsCurrent','stack','[FRVR-SDK]\x20pre\x20complete','off','bot_subscribe_show','getCrosspromo','StorageIDProvider','slice','spil','mustThrottle','getPageSessionId','title','find','Player\x20is\x20not\x20logged\x20in','UPDATE_STATUS','leaderboards','logRequestPayment','init','states','url','samsungGameLauncherPWA','removeItem','join','/friends/','getSupportedAPIs','log','yandex','RECEIVE_GAME_INVITE','document','completed','canceled','throttled','INVALID_PARAM','AdError','emptyEntryPoint','timeoutActivePromise','getAllFriends','Shield','coeus.frvr.com/v1/tm5','nudge','requiredStates','YaGames','AnalyticsIDProviderStorageType','emptyBootstrapper','connect','mozilla','initPromise','BANNER','onerror','opr','telenorpk','checkVerification','websocket\x20client\x20is\x20not\x20defined','playSessionId','buttons','AdsThrottler','features_loading_error','EMPTY_NAVIGATE_IMPLEMENTATION','IN_MEMORY','serviceClient','contextProvider','REWARD','floor','INVALID_REQUEST','createShieldOverlay','standalone','handler','androidStore','challengeByContextId','offset','fetchAndHandleCommonErrors','rocket_chat','All',';\x20path=/;\x20expires=','fetcher','app_version','0.0.0'];_0x36d4=function(){return _0x289b9b;};return _0x36d4();}const _0x2642ad=_0x2711;(function(_0x5be562,_0x51bc2b){const _0xa3a4dd=_0x2711,_0x5c1549=_0x5be562();while(!![]){try{const _0x5e627c=parseInt(_0xa3a4dd(0x2d6))/0x1+-parseInt(_0xa3a4dd(0x30f))/0x2*(parseInt(_0xa3a4dd(0x6b0))/0x3)+-parseInt(_0xa3a4dd(0x330))/0x4+-parseInt(_0xa3a4dd(0x6c4))/0x5+-parseInt(_0xa3a4dd(0x4ef))/0x6+parseInt(_0xa3a4dd(0x3a2))/0x7*(parseInt(_0xa3a4dd(0x31e))/0x8)+parseInt(_0xa3a4dd(0x500))/0x9;if(_0x5e627c===_0x51bc2b)break;else _0x5c1549['push'](_0x5c1549['shift']());}catch(_0x1a445f){_0x5c1549['push'](_0x5c1549['shift']());}}}(_0x36d4,0xd5c8d));var FRVRSDK=function(_0x9cdbaf){'use strict';const _0x3dd67c=_0x2711;function _0x20b566(_0x1129be,_0x1d52ca){const _0x52c479=_0x2711;var _0xd74ca1={};for(var _0x17f842 in _0x1129be)Object[_0x52c479(0x383)][_0x52c479(0x64a)][_0x52c479(0x350)](_0x1129be,_0x17f842)&&_0x1d52ca['indexOf'](_0x17f842)<0x0&&(_0xd74ca1[_0x17f842]=_0x1129be[_0x17f842]);if(null!=_0x1129be&&_0x52c479(0x5ca)==typeof Object[_0x52c479(0x223)]){var _0x5082ca=0x0;for(_0x17f842=Object['getOwnPropertySymbols'](_0x1129be);_0x5082ca<_0x17f842[_0x52c479(0x2db)];_0x5082ca++)_0x1d52ca['indexOf'](_0x17f842[_0x5082ca])<0x0&&Object[_0x52c479(0x383)][_0x52c479(0x382)][_0x52c479(0x350)](_0x1129be,_0x17f842[_0x5082ca])&&(_0xd74ca1[_0x17f842[_0x5082ca]]=_0x1129be[_0x17f842[_0x5082ca]]);}return _0xd74ca1;}function _0x13c710(_0x1470f6,_0x252c8f,_0x2eaf06,_0x5c0c7d){return new(_0x2eaf06||(_0x2eaf06=Promise))(function(_0x3f169d,_0x1f44e7){const _0x521f68=_0x2711;function _0x43697e(_0x4af30e){try{_0x323a58(_0x5c0c7d['next'](_0x4af30e));}catch(_0x2613b7){_0x1f44e7(_0x2613b7);}}function _0x5c8d4a(_0x15900a){try{_0x323a58(_0x5c0c7d['throw'](_0x15900a));}catch(_0x232938){_0x1f44e7(_0x232938);}}function _0x323a58(_0x4ad202){const _0x91c280=_0x2711;var _0xb8ca91;_0x4ad202['done']?_0x3f169d(_0x4ad202[_0x91c280(0x380)]):(_0xb8ca91=_0x4ad202[_0x91c280(0x380)],_0xb8ca91 instanceof _0x2eaf06?_0xb8ca91:new _0x2eaf06(function(_0x205bd2){_0x205bd2(_0xb8ca91);}))[_0x91c280(0x60f)](_0x43697e,_0x5c8d4a);}_0x323a58((_0x5c0c7d=_0x5c0c7d['apply'](_0x1470f6,_0x252c8f||[]))[_0x521f68(0x3ba)]());});}var _0x3f3ee5;_0x3dd67c(0x5ca)==typeof SuppressedError&&SuppressedError,_0x9cdbaf[_0x3dd67c(0x270)]=void 0x0,(_0x3f3ee5=_0x9cdbaf[_0x3dd67c(0x270)]||(_0x9cdbaf['Env']={}))[_0x3dd67c(0x55a)]='dev',_0x3f3ee5['BETA']='beta',_0x3f3ee5['PRODUCTION']=_0x3dd67c(0x2d7);const _0x98a3fc={'log':()=>{},'error':()=>{},'warn':()=>{},'info':()=>{},'debug':()=>{}};class _0x214d6f{constructor({provider:_0x5a1e98,logger:_0x1e6fa9}){const _0x30d141=_0x3dd67c;this[_0x30d141(0x637)]=_0x5a1e98,this[_0x30d141(0x35a)]=_0x1e6fa9||_0x98a3fc;}[_0x3dd67c(0x68b)](_0x6b5b2a){const _0x3cc615=_0x3dd67c,_0x4e56d0=_0x6b5b2a[_0x3cc615(0x433)](({key:_0x2d1699,value:_0x2d7d90})=>({'key':_0x2d1699,'value':JSON[_0x3cc615(0x2a0)](_0x2d7d90)}));return this[_0x3cc615(0x637)][_0x3cc615(0x68b)](_0x4e56d0);}['getItems'](_0x599657){return _0x13c710(this,void 0x0,void 0x0,function*(){const _0x1875ac=_0x2711,_0x6d4b17=yield this[_0x1875ac(0x637)][_0x1875ac(0x561)](_0x599657),_0xa1ad71={};for(const _0xd982b8 in _0x6d4b17)try{_0xa1ad71[_0xd982b8]=JSON['parse'](_0x6d4b17[_0xd982b8]);}catch(_0x59427c){_0xa1ad71[_0xd982b8]=_0x6d4b17[_0xd982b8],this[_0x1875ac(0x35a)][_0x1875ac(0x48a)](_0x1875ac(0x56b)+_0xd982b8,_0x59427c[_0x1875ac(0x649)]);}return _0xa1ad71;});}[_0x3dd67c(0x2fb)](_0x927f9f){const _0x2516ca=_0x3dd67c;return this['provider'][_0x2516ca(0x2fb)](_0x927f9f);}[_0x3dd67c(0x257)](_0x20cf52,_0x428a65){const _0x3e5f7d=_0x3dd67c;return this[_0x3e5f7d(0x637)][_0x3e5f7d(0x68b)]([{'key':_0x20cf52,'value':JSON[_0x3e5f7d(0x2a0)](_0x428a65)}]);}[_0x3dd67c(0x5d7)](_0xb7d0e9,_0x4990cf){return _0x13c710(this,void 0x0,void 0x0,function*(){const _0x5c23c6=_0x2711;let _0x4b5d2f;const _0x49013e=(yield this[_0x5c23c6(0x637)][_0x5c23c6(0x561)]([_0xb7d0e9]))[_0xb7d0e9];try{_0x4b5d2f=void 0x0!==_0x49013e?JSON[_0x5c23c6(0x432)](_0x49013e):_0x4990cf;}catch(_0x8dbde0){_0x4b5d2f=null!=_0x4990cf?_0x4990cf:_0x49013e,this[_0x5c23c6(0x35a)]['error']('[storage]\x20parsing\x20error\x20on\x20key\x20'+_0xb7d0e9,_0x8dbde0[_0x5c23c6(0x649)]);}return _0x4b5d2f;});}[_0x3dd67c(0x585)](_0x56f1ac){return _0x13c710(this,void 0x0,void 0x0,function*(){const _0x3a0296=_0x2711;return this[_0x3a0296(0x637)][_0x3a0296(0x2fb)]([_0x56f1ac]);});}[_0x3dd67c(0x3c8)](){return this['provider']['isPersistent']();}}const _0x28af36=_0x3dd67c(0x42a);class _0x451de3{static[_0x3dd67c(0x449)](){const _0x1d9dbd=_0x3dd67c;try{return window[_0x1d9dbd(0x2b1)][_0x1d9dbd(0x257)](_0x28af36,_0x1d9dbd(0x421)),window[_0x1d9dbd(0x2b1)][_0x1d9dbd(0x585)](_0x28af36),!0x0;}catch(_0x5387f6){return!0x1;}}['setItems'](_0x178838){return _0x13c710(this,void 0x0,void 0x0,function*(){const _0x1a2bf6=_0x2711;for(const _0x37c320 of _0x178838)window[_0x1a2bf6(0x2b1)][_0x1a2bf6(0x257)](_0x37c320[_0x1a2bf6(0x4fe)],_0x37c320[_0x1a2bf6(0x380)]);});}['getItems'](_0x4f0b61){return _0x13c710(this,void 0x0,void 0x0,function*(){const _0x18d56a=_0x2711,_0x3b06da={};for(const _0x2471fe of _0x4f0b61){const _0x1db190=window[_0x18d56a(0x2b1)][_0x18d56a(0x5d7)](_0x2471fe);null!==_0x1db190&&(_0x3b06da[_0x2471fe]=_0x1db190);}return _0x3b06da;});}[_0x3dd67c(0x2fb)](_0x23a790){return _0x13c710(this,void 0x0,void 0x0,function*(){for(const _0x434f9 of _0x23a790)window['localStorage']['removeItem'](_0x434f9);});}[_0x3dd67c(0x3c8)](){return!0x0;}}_0x451de3[_0x3dd67c(0x633)]=_0x3dd67c(0x26d);class _0x19e3e0{constructor(){const _0x2747f3=_0x3dd67c;this[_0x2747f3(0x5f8)]={};}[_0x3dd67c(0x68b)](_0x5dc65a){return _0x13c710(this,void 0x0,void 0x0,function*(){const _0x1abdaa=_0x2711;for(const _0x5ba59d of _0x5dc65a)this[_0x1abdaa(0x5f8)][_0x5ba59d[_0x1abdaa(0x4fe)]]=_0x5ba59d[_0x1abdaa(0x380)];});}[_0x3dd67c(0x561)](_0x523db0){return _0x13c710(this,void 0x0,void 0x0,function*(){const _0x1addb6=_0x2711,_0x772d49={};for(const _0x252516 of _0x523db0){const _0xfd0030=this[_0x1addb6(0x5f8)][_0x252516];void 0x0!==_0xfd0030&&(_0x772d49[_0x252516]=_0xfd0030);}return _0x772d49;});}[_0x3dd67c(0x2fb)](_0x3284b6){return _0x13c710(this,void 0x0,void 0x0,function*(){const _0x3e4ca8=_0x2711;for(const _0x563c4a of _0x3284b6)delete this[_0x3e4ca8(0x5f8)][_0x563c4a];});}[_0x3dd67c(0x3c8)](){return!0x1;}}_0x19e3e0[_0x3dd67c(0x633)]=_0x3dd67c(0x322);const _0x5cbd37=new _0x214d6f({'provider':new _0x19e3e0()}),_0x48f2d5=_0x34e0e1=>{const _0x13a2c4=_0x3dd67c;for(const _0x25f9f7 of _0x34e0e1)switch(_0x25f9f7){case _0x451de3[_0x13a2c4(0x633)]:if(_0x451de3[_0x13a2c4(0x449)]())return new _0x451de3();break;case _0x19e3e0['providerName']:return new _0x19e3e0();default:throw new Error('Unsupported\x20Local\x20Storage\x20provider');}throw new Error(_0x13a2c4(0x4bc));},_0x1a26ae={'init':()=>Promise[_0x3dd67c(0x3f6)](),'setProgress':()=>{},'complete':()=>Promise['resolve']()};function _0x34e2e2(){const _0x2af746=_0x3dd67c;this[_0x2af746(0x235)]='INVALID_OPERATION',this[_0x2af746(0x649)]='Trying\x20to\x20use\x20an\x20empty\x20interface.';}const _0x827682={'init':()=>_0x13c710(void 0x0,void 0x0,void 0x0,function*(){}),'canCreateShortcut':()=>Promise[_0x3dd67c(0x3f6)](!0x1),'createShortcut':()=>Promise[_0x3dd67c(0x4ce)](new _0x34e2e2())};function _0xdc0c11(){const _0x19caa5=_0x3dd67c;this[_0x19caa5(0x235)]='INVALID_OPERATION',this[_0x19caa5(0x649)]=_0x19caa5(0x478);}const _0x2d6799={'needsConfiguration':()=>!0x1,'canMoveToMobile':()=>Promise[_0x3dd67c(0x3f6)](!0x1),'moveToMobile':()=>Promise[_0x3dd67c(0x4ce)](new _0xdc0c11())};var _0x160c04;_0x9cdbaf['ConsentOptions']=void 0x0,(_0x160c04=_0x9cdbaf[_0x3dd67c(0x28a)]||(_0x9cdbaf['ConsentOptions']={}))[_0x160c04[_0x3dd67c(0x3e9)]=0x0]=_0x3dd67c(0x3e9),_0x160c04[_0x160c04['P1StoreInformationOnADevice']=0x2]=_0x3dd67c(0x3aa),_0x160c04[_0x160c04['P2SelectBasicAds']=0x4]='P2SelectBasicAds',_0x160c04[_0x160c04[_0x3dd67c(0x627)]=0x8]=_0x3dd67c(0x627),_0x160c04[_0x160c04[_0x3dd67c(0x416)]=0x10]='P4PersonalizedAds',_0x160c04[_0x160c04[_0x3dd67c(0x5ce)]=0x20]='P5PersonalizedContentProfile',_0x160c04[_0x160c04[_0x3dd67c(0x3ce)]=0x40]=_0x3dd67c(0x3ce),_0x160c04[_0x160c04['P7MeasureAdPerformance']=0x80]=_0x3dd67c(0x68d),_0x160c04[_0x160c04[_0x3dd67c(0x234)]=0x100]=_0x3dd67c(0x234),_0x160c04[_0x160c04[_0x3dd67c(0x472)]=0x200]='P9MarketResearchForAudienceInsights',_0x160c04[_0x160c04[_0x3dd67c(0x3a0)]=0x400]='P10DevelopAndImproveProducts',_0x160c04[_0x160c04[_0x3dd67c(0x5b8)]=0x7fe]=_0x3dd67c(0x5b8);const _0x107aee={'consentToTerms':()=>{},'onConsentChanged'(_0x3e7d63){},'hasConsentForAll':(_0xedce,_0x194e91)=>!0x1,'hasConsentForAny':(_0x3e2903,_0x465938)=>!0x1,'consents':()=>_0x9cdbaf['ConsentOptions'][_0x3dd67c(0x3e9)],'legitimateInterests':()=>_0x9cdbaf[_0x3dd67c(0x28a)][_0x3dd67c(0x3e9)],'hasLoaded':()=>!0x0,'isConsentEditable':()=>!0x1,'supportsAutoInitialization':()=>!0x0},_0x3f3a3c={'consentToTerms':()=>{},'onConsentChanged'(_0x1e70cd){},'hasConsentForAll':(_0x98eaf1,_0x4bc2ca)=>!0x0,'hasConsentForAny':(_0x25be25,_0x4e56c9)=>!0x0,'consents':()=>_0x9cdbaf['ConsentOptions']['All'],'legitimateInterests':()=>_0x9cdbaf['ConsentOptions']['All'],'hasLoaded':()=>!0x0,'isConsentEditable':()=>!0x1,'supportsAutoInitialization':()=>!0x1},_0x384e86={'id':()=>'','name':()=>'','nickname':()=>'','image':()=>'','loadImage':()=>Promise[_0x3dd67c(0x4ce)](new Error(_0x3dd67c(0x281)))},_0x3c5031={'allowExternalLinks':!0x0,'allowInternalLinks':!0x0,'allowNavigation':!0x0,'allowSendBeacon':!0x0,'allowThirdPartyDomains':!0x0,'hasDedicatedLoadingScreen':!0x0},_0x389b5e={'getData':()=>Promise[_0x3dd67c(0x4ce)](new Error(_0x3dd67c(0x4f0))),'getName':()=>Promise[_0x3dd67c(0x4ce)](new Error(_0x3dd67c(0x375)))},_0x43d35d={'canFollowOfficialPage':()=>Promise[_0x3dd67c(0x3f6)](!0x1),'followOfficialPage':()=>Promise[_0x3dd67c(0x4ce)](new Error(_0x3dd67c(0x294))),'canJoinOfficialGroup':()=>Promise[_0x3dd67c(0x3f6)](!0x1),'joinOfficialGroup':()=>Promise[_0x3dd67c(0x4ce)](new Error(_0x3dd67c(0x510)))};class _0xd9f870 extends Promise{constructor(_0x21d4d7){const _0x32b09e=_0x3dd67c;let _0x570471,_0x49f369;super((_0x358128,_0x358b5b)=>{_0x570471=_0x358128,_0x49f369=_0x358b5b;}),this[_0x32b09e(0x262)]=_0x570471,this[_0x32b09e(0x348)]=_0x49f369,null==_0x21d4d7||_0x21d4d7(_0x570471,_0x49f369);}[_0x3dd67c(0x3f6)](_0x596cc0){const _0x2a7bfd=_0x3dd67c;this[_0x2a7bfd(0x262)](_0x596cc0);}[_0x3dd67c(0x4ce)](_0x511a83){this['_reject'](_0x511a83);}}const _0x2db60d={'canNavigate':()=>!0x1,'navigate':()=>{const _0x3226b6=_0x3dd67c;throw new Error(_0x3226b6(0x5a9));},'canOpenChannelAppStore':()=>!0x1,'openChannelAppStore':()=>{const _0x5cf194=_0x3dd67c;throw new Error(_0x5cf194(0x697));}},_0xd0718d={'canCrosspromo':()=>Promise[_0x3dd67c(0x3f6)](!0x1),'openGame':()=>{const _0x5becb7=_0x3dd67c;throw new Error(_0x5becb7(0x29f));}};var _0x5ab69a;_0x9cdbaf[_0x3dd67c(0x547)]=void 0x0,(_0x5ab69a=_0x9cdbaf[_0x3dd67c(0x547)]||(_0x9cdbaf['AdType']={}))['INTERSTITIAL']=_0x3dd67c(0x33d),_0x5ab69a['REWARD']=_0x3dd67c(0x53a),_0x5ab69a[_0x3dd67c(0x59f)]=_0x3dd67c(0x438),_0x5ab69a['SURVEY']=_0x3dd67c(0x29a),_0x5ab69a[_0x3dd67c(0x304)]=_0x3dd67c(0x3f0);const _0x1854f6={[_0x9cdbaf[_0x3dd67c(0x547)]['INTERSTITIAL']]:{'stopsGameFlow':!0x0,'throttleable':!0x0},[_0x9cdbaf[_0x3dd67c(0x547)][_0x3dd67c(0x5ad)]]:{'stopsGameFlow':!0x0,'throttleable':!0x1},[_0x9cdbaf['AdType'][_0x3dd67c(0x59f)]]:{'stopsGameFlow':!0x1,'throttleable':!0x1},[_0x9cdbaf[_0x3dd67c(0x547)][_0x3dd67c(0x423)]]:{'stopsGameFlow':!0x0,'throttleable':!0x0},[_0x9cdbaf['AdType'][_0x3dd67c(0x304)]]:{'stopsGameFlow':!0x0,'throttleable':!0x0}},_0x1649d4={'onSuspend':()=>{},'onResume':()=>{},'onAudioSuspend':()=>{},'onAudioResume':()=>{}};var _0x15fd58,_0x5ad7f1,_0x308ac7;_0x9cdbaf[_0x3dd67c(0x66d)]=void 0x0,(_0x15fd58=_0x9cdbaf['AdSuccess']||(_0x9cdbaf[_0x3dd67c(0x66d)]={}))['DELIVERED']='delivered',_0x15fd58[_0x3dd67c(0x3b2)]=_0x3dd67c(0x58d),_0x9cdbaf[_0x3dd67c(0x591)]=void 0x0,(_0x5ad7f1=_0x9cdbaf['AdError']||(_0x9cdbaf[_0x3dd67c(0x591)]={}))[_0x3dd67c(0x6ae)]=_0x3dd67c(0x240),_0x5ad7f1[_0x3dd67c(0x609)]=_0x3dd67c(0x683),_0x5ad7f1['BLOCKED']='blocked',_0x5ad7f1[_0x3dd67c(0x4ca)]='nofill',_0x5ad7f1[_0x3dd67c(0x56f)]=_0x3dd67c(0x359),_0x9cdbaf[_0x3dd67c(0x227)]=void 0x0,(_0x308ac7=_0x9cdbaf[_0x3dd67c(0x227)]||(_0x9cdbaf['AdsThrottlerResult']={}))[_0x308ac7[_0x3dd67c(0x6ad)]=0x0]=_0x3dd67c(0x6ad),_0x308ac7['INIT_TIME']='INIT_TIME',_0x308ac7[_0x3dd67c(0x222)]=_0x3dd67c(0x222);class _0x1c784a{constructor(){const _0x2a3559=_0x3dd67c;this[_0x2a3559(0x206)]=0x0,this[_0x2a3559(0x4d9)]=0x0,this[_0x2a3559(0x471)]=!0x1,this['MAX_FREQUENCY_DEFAULT']=0x493e0,this[_0x2a3559(0x31c)]=0x3;}[_0x3dd67c(0x2eb)](_0x43256d){const _0x38b902=_0x3dd67c,_0x56d3c8=_0x43256d[_0x38b902(0x44e)]?this[_0x38b902(0x206)]:this[_0x38b902(0x206)]/this['FIRST_SESSION_AD_SPEED_RATE'];return _0x43256d['initTime']-_0x56d3c8;}[_0x3dd67c(0x48e)](_0x4980a3){const _0x58878f=_0x3dd67c;return _0x4980a3[_0x58878f(0x610)]?_0x4980a3:Object[_0x58878f(0x2ac)](Object[_0x58878f(0x2ac)]({},_0x4980a3),{'lastShownAd':this['getFirstIntervalTime'](_0x4980a3)});}[_0x3dd67c(0x452)](_0x40f18f,_0x2a13dd){const _0x9b09f5=_0x3dd67c;return _0x2a13dd-_0x40f18f[_0x9b09f5(0x295)]0x0&&_0x296a49{}};var _0x2cb579,_0x3a8b9e;_0x9cdbaf[_0x3dd67c(0x60b)]=void 0x0,(_0x2cb579=_0x9cdbaf[_0x3dd67c(0x60b)]||(_0x9cdbaf['AdResponseStatus']={}))[_0x3dd67c(0x60e)]='adclosed',_0x2cb579[_0x3dd67c(0x3a6)]=_0x3dd67c(0x369),_0x2cb579['CANCELED']=_0x3dd67c(0x58e),_0x2cb579[_0x3dd67c(0x52e)]=_0x3dd67c(0x48a),_0x2cb579[_0x3dd67c(0x611)]='internalerror',_0x2cb579[_0x3dd67c(0x5af)]=_0x3dd67c(0x21e),_0x2cb579['NETWORK_ERROR']=_0x3dd67c(0x353),_0x2cb579[_0x3dd67c(0x4ca)]=_0x3dd67c(0x698),_0x2cb579[_0x3dd67c(0x252)]=_0x3dd67c(0x483),_0x2cb579[_0x3dd67c(0x42c)]=_0x3dd67c(0x58f),_0x2cb579['TIMEOUT']=_0x3dd67c(0x4b0),_0x9cdbaf[_0x3dd67c(0x264)]=void 0x0,(_0x3a8b9e=_0x9cdbaf[_0x3dd67c(0x264)]||(_0x9cdbaf[_0x3dd67c(0x264)]={}))[_0x3dd67c(0x52e)]=_0x3dd67c(0x48a),_0x3a8b9e[_0x3dd67c(0x4ca)]=_0x3dd67c(0x698),_0x3a8b9e[_0x3dd67c(0x559)]='skipped',_0x3a8b9e[_0x3dd67c(0x252)]='success',_0x3a8b9e[_0x3dd67c(0x3a5)]=_0x3dd67c(0x5e9);const _0x40ce08={[_0x9cdbaf['AdType'][_0x3dd67c(0x4fc)]]:_0x3dd67c(0x679),[_0x9cdbaf['AdType']['REWARD']]:'rewarded',[_0x9cdbaf[_0x3dd67c(0x547)][_0x3dd67c(0x59f)]]:'banner'};class _0x591658{constructor(_0x15c495,_0x452212){const _0x5e6dd6=_0x3dd67c;this[_0x5e6dd6(0x292)]=_0x15c495,this['params']=_0x452212;}['getEventName'](_0xa3dde2){const _0x12eae9=_0x3dd67c;var _0x4e8c76;return _0x12eae9(0x308)+(null!==(_0x4e8c76=_0x40ce08[this[_0x12eae9(0x680)]['adType']])&&void 0x0!==_0x4e8c76?_0x4e8c76:this[_0x12eae9(0x680)]['adType'])+'_'+_0xa3dde2;}[_0x3dd67c(0x5c7)](_0x318255,_0x55512e){const _0x428730=_0x3dd67c;this[_0x428730(0x292)]['logEvent'](_0x318255,_0x55512e,_0x9cdbaf[_0x428730(0x28a)][_0x428730(0x3e9)]);}[_0x3dd67c(0x644)](_0x59dd8e,_0x410cd2){const _0x302235=_0x3dd67c,_0x377fcc=this[_0x302235(0x3b7)]('request');this['logEvent'](_0x377fcc,Object['assign'](Object[_0x302235(0x2ac)]({},_0x410cd2),{'provider':this[_0x302235(0x680)]['provider'],'advertisement_id':_0x59dd8e}));}['receivedAdResponse'](_0x5865dc,_0x3f22bf,_0x284b2f){const _0x382573=_0x3dd67c,_0x5be808=this[_0x382573(0x3b7)](_0x382573(0x31f));this['logEvent'](_0x5be808,Object[_0x382573(0x2ac)](Object[_0x382573(0x2ac)]({},_0x284b2f),{'provider':this[_0x382573(0x680)][_0x382573(0x637)],'advertisement_id':_0x3f22bf,'ad_response':_0x5865dc}));}['willShowAd'](_0xa82100,_0x22cbb7,_0x4a5cf8){const _0x29c18b=_0x3dd67c,_0x272ac0=this['getEventName'](_0x29c18b(0x32c));this[_0x29c18b(0x5c7)](_0x272ac0,Object[_0x29c18b(0x2ac)](Object[_0x29c18b(0x2ac)]({},_0x4a5cf8),{'provider':this[_0x29c18b(0x680)][_0x29c18b(0x637)],'advertisement_id':_0x22cbb7,'preloaded':_0xa82100}));}[_0x3dd67c(0x378)](_0x330b5f,_0x9a1187,_0x29d35d){const _0xcd5e3b=_0x3dd67c,_0x4ad07f=this[_0xcd5e3b(0x3b7)](_0xcd5e3b(0x2a7));this[_0xcd5e3b(0x5c7)](_0x4ad07f,Object['assign'](Object[_0xcd5e3b(0x2ac)]({},_0x29d35d),{'provider':this[_0xcd5e3b(0x680)]['provider'],'advertisement_id':_0x9a1187,'ad_result':_0x330b5f}));}}var _0x256086,_0x4a8f07;_0x9cdbaf[_0x3dd67c(0x487)]=void 0x0,(_0x256086=_0x9cdbaf[_0x3dd67c(0x487)]||(_0x9cdbaf[_0x3dd67c(0x487)]={}))[_0x3dd67c(0x426)]=_0x3dd67c(0x53b),_0x256086['DELIVERED']=_0x3dd67c(0x2be),_0x256086[_0x3dd67c(0x3b2)]=_0x3dd67c(0x58d);class _0x5d6242{constructor({env:_0x1adbfe,logger:_0x189cca=_0x98a3fc,throttler:_0x591b6,storage:_0x5c7c97=_0x5cbd37,tracker:_0x209cf0=_0x171f30,controls:_0x33f120=_0x1649d4,onBeforeInit:_0x2f4469=()=>Promise[_0x3dd67c(0x3f6)]()}={}){const _0x1e0d93=_0x3dd67c;this['config']={},this['registeredProviders']={},this[_0x1e0d93(0x604)]=[],this[_0x1e0d93(0x61e)]=_0x1e0d93(0x468),this[_0x1e0d93(0x2ff)]=[],this['adShownCount']={[_0x9cdbaf[_0x1e0d93(0x547)][_0x1e0d93(0x4fc)]]:0x0,[_0x9cdbaf['AdType']['REWARD']]:0x0,[_0x9cdbaf[_0x1e0d93(0x547)]['BANNER']]:0x0,[_0x9cdbaf['AdType'][_0x1e0d93(0x423)]]:0x0,[_0x9cdbaf[_0x1e0d93(0x547)]['REWARDED_INTERSTITIAL']]:0x0},this[_0x1e0d93(0x547)]=_0x9cdbaf[_0x1e0d93(0x547)],this[_0x1e0d93(0x66d)]=_0x9cdbaf['AdSuccess'],this[_0x1e0d93(0x487)]=_0x9cdbaf['AdShowResult'],this[_0x1e0d93(0x39d)]=_0x1adbfe,this[_0x1e0d93(0x35a)]=_0x189cca,this[_0x1e0d93(0x5e3)]=_0x591b6||new _0x1c784a(),this[_0x1e0d93(0x239)]=_0x5c7c97,this[_0x1e0d93(0x292)]=_0x209cf0,this[_0x1e0d93(0x2b7)]=_0x33f120,this[_0x1e0d93(0x613)]=_0x2f4469,this['throttlerState']={'initTime':new Date()['getTime'](),'isFirstAd':!0x0,'isFirstAdEver':!0x1,'lastShownAd':0x0};}[_0x3dd67c(0x5fc)](_0x4e30a5){const _0x4b9a1c=_0x3dd67c,_0x208fc4=_0x4e30a5[_0x4b9a1c(0x2f6)]()+'#'+_0x4e30a5['getType']();this[_0x4b9a1c(0x2ae)][_0x208fc4]=_0x4e30a5;}[_0x3dd67c(0x2bc)](_0x182ca4){const _0x521a2a=_0x3dd67c;this[_0x521a2a(0x399)]=_0x182ca4;}['init'](){return _0x13c710(this,void 0x0,void 0x0,function*(){const _0x4f81f1=_0x2711;var _0x4a80bd;yield null===(_0x4a80bd=this['onBeforeInit'])||void 0x0===_0x4a80bd?void 0x0:_0x4a80bd[_0x4f81f1(0x350)](this),this[_0x4f81f1(0x645)]['isFirstAdEver']=(yield this[_0x4f81f1(0x239)]['getItem'](this[_0x4f81f1(0x61e)],!0x0))||!0x1,this[_0x4f81f1(0x35a)][_0x4f81f1(0x589)](_0x4f81f1(0x3c2),this[_0x4f81f1(0x645)]['isFirstAdEver']),this[_0x4f81f1(0x5e3)][_0x4f81f1(0x581)](this['config'][_0x4f81f1(0x204)]||{});const _0x359c61=[...this[_0x4f81f1(0x399)]['providers']||[]];_0x359c61[_0x4f81f1(0x4e3)]((_0x242fa3,_0x2cb1f6)=>_0x242fa3[_0x4f81f1(0x4c3)]-_0x2cb1f6[_0x4f81f1(0x4c3)]);const _0x7aa4ab=_0x359c61[_0x4f81f1(0x433)](_0x2789f2=>{const _0x48e2d7=_0x4f81f1,_0x4e8f4f=_0x2789f2[_0x48e2d7(0x256)]+'#'+_0x2789f2['type'];return{'provider':this['registeredProviders'][_0x4e8f4f],'providerConfig':_0x2789f2,'key':_0x4e8f4f};})[_0x4f81f1(0x3c6)](({provider:_0x41067a})=>_0x41067a)[_0x4f81f1(0x433)](({provider:_0x1e74d0,providerConfig:_0x24a346,key:_0x3d5599})=>{const _0x56fb48=_0x4f81f1,_0x1eef19=new _0x591658(this[_0x56fb48(0x292)],{'adType':_0x1e74d0[_0x56fb48(0x3ac)](),'provider':_0x1e74d0[_0x56fb48(0x2f6)]()});return _0x1e74d0[_0x56fb48(0x581)](_0x24a346,this[_0x56fb48(0x2b7)],_0x1eef19)[_0x56fb48(0x60f)](()=>_0x1e74d0)[_0x56fb48(0x241)](_0xd58c29=>{const _0xc32f87=_0x56fb48;this[_0xc32f87(0x35a)][_0xc32f87(0x1f6)](_0xc32f87(0x65f)+_0x3d5599+'\x20could\x20not\x20be\x20initialised',_0xd58c29);});}),_0x2180fa=(yield Promise['all'](_0x7aa4ab))[_0x4f81f1(0x3c6)](_0x4f8a7c=>void 0x0!==_0x4f8a7c);this['providers']=_0x2180fa;});}['getProviders'](){return this['providers'];}[_0x3dd67c(0x3fc)](_0x116df4){const _0x4fd4ae=_0x3dd67c;return this['providers']['filter'](_0x12e5fb=>_0x12e5fb[_0x4fd4ae(0x3ac)]()===_0x116df4);}[_0x3dd67c(0x449)](_0x4607e4){const _0x4306b9=_0x3dd67c;return this[_0x4306b9(0x3fc)](_0x4607e4)[_0x4306b9(0x2db)]>0x0;}[_0x3dd67c(0x2ab)](_0x422453){const _0x1ea06b=_0x3dd67c;return void 0x0!==this[_0x1ea06b(0x3fc)](_0x422453)[_0x1ea06b(0x57c)](_0xb304b3=>_0xb304b3['isReady']());}[_0x3dd67c(0x32c)](_0xcdec99){return _0x13c710(this,void 0x0,void 0x0,function*(){const _0x362c40=_0x2711,_0xa674b4=_0x1854f6[_0xcdec99]['throttleable'];if(_0xa674b4){const _0x3d8937=this[_0x362c40(0x5e3)][_0x362c40(0x579)](this['throttlerState']);if(_0x3d8937)return this['logger'][_0x362c40(0x589)](_0x362c40(0x6c5),_0x3d8937),Promise[_0x362c40(0x3f6)](_0x9cdbaf[_0x362c40(0x487)][_0x362c40(0x426)]);}const _0x2ead11=this['getProvidersByType'](_0xcdec99);0x0===_0x2ead11['length']&&this['logger'][_0x362c40(0x48a)](_0x362c40(0x5f7),_0xcdec99);let _0x53b3a6=!0x1;const _0x49b521=yield function(_0x1ac6e0,_0x5f2898){const _0x5abb70=_0x422114=>{const _0x3d2e23=_0x2711,_0x479b12=_0x1ac6e0[_0x422114];return _0x479b12?_0x5f2898(_0x479b12)[_0x3d2e23(0x60f)](_0xadb4e8=>void 0x0===_0xadb4e8?_0x5abb70(_0x422114+0x1):_0xadb4e8):Promise[_0x3d2e23(0x3f6)](void 0x0);};return _0x5abb70(0x0);}(_0x2ead11,_0x5f5973=>_0x13c710(this,void 0x0,void 0x0,function*(){const _0x321395=_0x362c40;try{if(!_0x5f5973[_0x321395(0x2ab)]())return void this[_0x321395(0x35a)][_0x321395(0x1f6)](_0x321395(0x2dd),_0x5f5973[_0x321395(0x2f6)](),_0x321395(0x2f9));_0x53b3a6||!_0x1854f6[_0xcdec99][_0x321395(0x246)]||_0x5f5973[_0x321395(0x605)]()||(this[_0x321395(0x2b7)][_0x321395(0x28f)](),this[_0x321395(0x2b7)][_0x321395(0x4f9)](),_0x53b3a6=!0x0),this['logger'][_0x321395(0x589)](_0x321395(0x4a1),_0x5f5973[_0x321395(0x2f6)](),_0x321395(0x532),_0xcdec99),this[_0x321395(0x35a)][_0x321395(0x589)](_0x321395(0x637),_0x5f5973);const _0x38cbee=yield _0x5f5973[_0x321395(0x32c)]();return!0x1===_0x38cbee['success']&&(this[_0x321395(0x35a)]['error']('[ads]\x20show\x20error',_0x38cbee[_0x321395(0x649)]),this[_0x321395(0x55b)](_0x5f5973,_0xcdec99,_0x38cbee)),_0x38cbee[_0x321395(0x483)]?_0x38cbee[_0x321395(0x235)]:void 0x0;}catch(_0x2581fd){this[_0x321395(0x35a)][_0x321395(0x48a)](_0x321395(0x61c),_0x2581fd);}}));return _0x53b3a6&&(this[_0x362c40(0x2b7)][_0x362c40(0x526)](),this['controls'][_0x362c40(0x42b)]()),void 0x0!==_0x49b521?(this[_0x362c40(0x39d)]===_0x9cdbaf['Env'][_0x362c40(0x55a)]&&window[_0x362c40(0x283)](),_0xa674b4&&(this[_0x362c40(0x645)]=this['throttler'][_0x362c40(0x22b)](this[_0x362c40(0x645)]),yield this[_0x362c40(0x239)][_0x362c40(0x257)](this[_0x362c40(0x61e)],!0x1)),this[_0x362c40(0x546)][_0xcdec99]=(this[_0x362c40(0x546)][_0xcdec99]||0x0)+0x1,this['notifyAdShown'](_0xcdec99,_0x49b521),_0x49b521===_0x9cdbaf[_0x362c40(0x66d)]['COMPLETED']?_0x9cdbaf[_0x362c40(0x487)][_0x362c40(0x3b2)]:_0x9cdbaf['AdShowResult'][_0x362c40(0x563)]):(this[_0x362c40(0x35a)][_0x362c40(0x1f6)](_0x362c40(0x45b),_0xcdec99),_0x9cdbaf[_0x362c40(0x487)][_0x362c40(0x426)]);});}[_0x3dd67c(0x5c1)](_0x26c564){return _0x13c710(this,void 0x0,void 0x0,function*(){const _0x27bae8=_0x2711,_0x55fbbc=this[_0x27bae8(0x3fc)](_0x26c564);for(const _0xcc3330 of _0x55fbbc)try{yield _0xcc3330[_0x27bae8(0x5c1)]();}catch(_0x4e5b60){this[_0x27bae8(0x35a)]['error']('[ads]\x20hide\x20error',_0x4e5b60);}});}[_0x3dd67c(0x655)](_0x15e18a){const _0xd75f29=_0x3dd67c;this[_0xd75f29(0x604)]['forEach'](_0x4c80ee=>{const _0x91af5a=_0xd75f29;var _0x2036f3;return null===(_0x2036f3=_0x4c80ee[_0x91af5a(0x655)])||void 0x0===_0x2036f3?void 0x0:_0x2036f3['call'](_0x4c80ee,_0x15e18a);});}[_0x3dd67c(0x509)](_0x5eab80){const _0x571dff=_0x3dd67c;return this[_0x571dff(0x2ff)][_0x571dff(0x276)](_0x5eab80),()=>{const _0x5e62d9=_0x571dff,_0x2f5d13=this[_0x5e62d9(0x2ff)][_0x5e62d9(0x3fd)](_0x5eab80);_0x2f5d13>=0x0&&this[_0x5e62d9(0x2ff)][_0x5e62d9(0x229)](_0x2f5d13,0x1);};}[_0x3dd67c(0x3cf)](_0x516672,_0x4ab608){const _0x24b1b2=_0x3dd67c;this['adShownListeners'][_0x24b1b2(0x63c)](_0x1f2ccc=>_0x1f2ccc(_0x516672,this['adShownCount'],_0x4ab608));}[_0x3dd67c(0x625)](){return this['adShownCount'];}[_0x3dd67c(0x55b)](_0x3c3562,_0x435a96,_0x889d2f){const _0x4c4f3c=_0x3dd67c,_0x38aa00={'provider':_0x3c3562[_0x4c4f3c(0x2f6)](),'type':_0x435a96,'code':_0x889d2f[_0x4c4f3c(0x235)]},_0x59ec5e={'msg':_0x889d2f['message']+_0x4c4f3c(0x408)+JSON[_0x4c4f3c(0x2a0)](_0x38aa00),'line':0x0,'col':0x0,'label':JSON['stringify'](_0x38aa00)};this['tracker'][_0x4c4f3c(0x5c7)](_0x4c4f3c(0x48a),_0x59ec5e,_0x9cdbaf[_0x4c4f3c(0x28a)][_0x4c4f3c(0x3e9)]);}}class _0x21e16a{constructor(_0x464628,_0x38b7a7){const _0x2b9fc7=_0x3dd67c;this[_0x2b9fc7(0x5cf)]=_0x38b7a7,this[_0x2b9fc7(0x36a)]=_0x464628[_0x2b9fc7(0x1f5)](/\/$/,'');}[_0x3dd67c(0x4e6)](_0x304cb5){return _0x13c710(this,void 0x0,void 0x0,function*(){const _0x1f215e=_0x2711;var _0x3081a1;const _0x2cde74=yield null===(_0x3081a1=this[_0x1f215e(0x5cf)])||void 0x0===_0x3081a1?void 0x0:_0x3081a1[_0x1f215e(0x20c)](this[_0x1f215e(0x36a)]+'/friends/'+_0x304cb5,{'method':_0x1f215e(0x285),'headers':{'Content-Type':_0x1f215e(0x397)}});if(!(null==_0x2cde74?void 0x0:_0x2cde74['ok']))throw new _0x4f1fcb(_0x2cde74);return yield _0x2cde74[_0x1f215e(0x23e)]();});}['addFriend'](_0x125b2d,_0x55a7c8){return _0x13c710(this,void 0x0,void 0x0,function*(){const _0x49b7c3=_0x2711;var _0x5b0303;const _0x11dcb7=yield null===(_0x5b0303=this[_0x49b7c3(0x5cf)])||void 0x0===_0x5b0303?void 0x0:_0x5b0303[_0x49b7c3(0x20c)](this[_0x49b7c3(0x36a)]+_0x49b7c3(0x587)+_0x125b2d,{'method':_0x49b7c3(0x4da),'headers':{'Content-Type':_0x49b7c3(0x397)},'body':JSON['stringify'](_0x55a7c8)});if(!(null==_0x11dcb7?void 0x0:_0x11dcb7['ok']))throw new _0x4f1fcb(_0x11dcb7);return yield _0x11dcb7[_0x49b7c3(0x23e)]();});}[_0x3dd67c(0x447)](_0x5e4d6a,_0x16a874){return _0x13c710(this,void 0x0,void 0x0,function*(){const _0x5abe6e=_0x2711;var _0x2436c0;const _0x2475f2=yield null===(_0x2436c0=this[_0x5abe6e(0x5cf)])||void 0x0===_0x2436c0?void 0x0:_0x2436c0[_0x5abe6e(0x20c)](this['baseUrl']+'/friends/'+_0x5e4d6a,{'method':'DELETE','headers':{'Content-Type':_0x5abe6e(0x397)},'body':JSON[_0x5abe6e(0x2a0)](_0x16a874)});if(!(null==_0x2475f2?void 0x0:_0x2475f2['ok']))throw new _0x4f1fcb(_0x2475f2);});}['syncFriends'](_0x2c6723,_0x23192a){return _0x13c710(this,void 0x0,void 0x0,function*(){const _0x15acec=_0x2711;var _0x300d87;const _0x38f170=yield null===(_0x300d87=this[_0x15acec(0x5cf)])||void 0x0===_0x300d87?void 0x0:_0x300d87['authenticatedFetch'](this[_0x15acec(0x36a)]+'/friends/'+_0x2c6723+_0x15acec(0x436),{'method':'POST','headers':{'Content-Type':_0x15acec(0x397)},'body':JSON[_0x15acec(0x2a0)](_0x23192a)});if(!(null==_0x38f170?void 0x0:_0x38f170['ok']))throw new _0x4f1fcb(_0x38f170);return yield _0x38f170[_0x15acec(0x23e)]();});}}class _0x4f1fcb extends Error{constructor(_0x6cf396){const _0x52695f=_0x3dd67c;super(_0x6cf396[_0x52695f(0x393)]),this[_0x52695f(0x31f)]=_0x6cf396,this['response']=_0x6cf396,this[_0x52695f(0x256)]='ResponseError';}}!function(_0xe07617){const _0x565564=_0x3dd67c;_0xe07617[_0xe07617[_0x565564(0x691)]=0x0]='shareMessage',_0xe07617[_0xe07617[_0x565564(0x41c)]=0x1]=_0x565564(0x41c),_0xe07617[_0xe07617[_0x565564(0x41d)]=0x2]=_0x565564(0x41d),_0xe07617[_0xe07617[_0x565564(0x4e6)]=0x3]='getFriends',_0xe07617[_0xe07617[_0x565564(0x2b6)]=0x4]='getContextId',_0xe07617[_0xe07617[_0x565564(0x536)]=0x5]=_0x565564(0x536),_0xe07617[_0xe07617[_0x565564(0x3ab)]=0x6]=_0x565564(0x3ab);}(_0x4a8f07||(_0x4a8f07={}));class _0x4ff496{constructor({provider:_0x3f7265}){const _0x449f83=_0x3dd67c;this['API']=_0x4a8f07,this[_0x449f83(0x637)]=_0x3f7265;}['shareMessage'](_0x2f2390){const _0x1110a8=_0x3dd67c;return this[_0x1110a8(0x637)][_0x1110a8(0x691)](_0x2f2390);}[_0x3dd67c(0x41c)](_0x368f45){const _0x288442=_0x3dd67c;return this[_0x288442(0x637)][_0x288442(0x41c)](_0x368f45);}[_0x3dd67c(0x69e)](){const _0xa7f59e=_0x3dd67c;return this[_0xa7f59e(0x637)][_0xa7f59e(0x69e)]();}['invite'](_0x55d655){const _0x153d6c=_0x3dd67c;return this['provider'][_0x153d6c(0x41d)](_0x55d655);}['getFriends'](){const _0x2bc932=_0x3dd67c;return this[_0x2bc932(0x637)]['getFriends']();}[_0x3dd67c(0x536)](){const _0x58fa9b=_0x3dd67c;return this[_0x58fa9b(0x637)][_0x58fa9b(0x536)]();}[_0x3dd67c(0x2b6)](){const _0x5cc53a=_0x3dd67c;return this[_0x5cc53a(0x637)][_0x5cc53a(0x2b6)]();}[_0x3dd67c(0x3ab)](){const _0x2601df=_0x3dd67c;return this[_0x2601df(0x637)][_0x2601df(0x3ab)]();}[_0x3dd67c(0x588)](){const _0x36201b=_0x3dd67c;return this[_0x36201b(0x637)][_0x36201b(0x588)]();}['isSupportedAPI'](_0x5845d2){const _0x596179=_0x3dd67c;return-0x1!==this[_0x596179(0x637)]['getSupportedAPIs']()[_0x596179(0x3fd)](_0x5845d2);}}const _0x1f3fa1={'shareMessage'(){return _0x13c710(this,void 0x0,void 0x0,function*(){});},'sendUpdate'(){return _0x13c710(this,void 0x0,void 0x0,function*(){});},'canInvite'(){return _0x13c710(this,void 0x0,void 0x0,function*(){return!0x1;});},'invite'(){return _0x13c710(this,void 0x0,void 0x0,function*(){});},'getContextId'(){return _0x13c710(this,void 0x0,void 0x0,function*(){return Promise['resolve']('');});},'getContextData'(){return _0x13c710(this,void 0x0,void 0x0,function*(){const _0x12c2c4=_0x2711;return Promise[_0x12c2c4(0x3f6)]({});});},'getContextPlayers'(){return _0x13c710(this,void 0x0,void 0x0,function*(){const _0x51c58d=_0x2711;return Promise[_0x51c58d(0x3f6)]([]);});},'getFriends'(){return _0x13c710(this,void 0x0,void 0x0,function*(){const _0x58bb6c=_0x2711;return Promise[_0x58bb6c(0x3f6)]([]);});},'getSupportedAPIs':()=>[]};var _0x428cf3,_0x25bc9b,_0x37bee8;!function(_0x7a5ea4){const _0x294176=_0x3dd67c;_0x7a5ea4['UPDATE_STATUS']=_0x294176(0x57e),_0x7a5ea4['SEND_GAME_INVITE']=_0x294176(0x554);}(_0x428cf3||(_0x428cf3={})),function(_0x5a7110){const _0x242223=_0x3dd67c;_0x5a7110['onFriendStatusUpdated']='FRIEND_STATUS_UPDATED',_0x5a7110[_0x242223(0x4b5)]=_0x242223(0x61f),_0x5a7110[_0x242223(0x6b5)]=_0x242223(0x58b),_0x5a7110[_0x242223(0x39b)]=_0x242223(0x2d8);}(_0x25bc9b||(_0x25bc9b={})),function(_0x552e55){const _0x1eb6fc=_0x3dd67c;_0x552e55[_0x1eb6fc(0x319)]=_0x1eb6fc(0x319),_0x552e55[_0x1eb6fc(0x634)]=_0x1eb6fc(0x634),_0x552e55[_0x1eb6fc(0x48a)]='error',_0x552e55[_0x1eb6fc(0x649)]=_0x1eb6fc(0x649),_0x552e55[_0x1eb6fc(0x2c1)]=_0x1eb6fc(0x2c1);}(_0x37bee8||(_0x37bee8={}));class _0x2d5556{constructor(_0xa8d05){const _0x1e624e=_0x3dd67c;var _0x5bfb43;this[_0x1e624e(0x405)]=0x0,this[_0x1e624e(0x30a)]={'open':[],'close':[],'error':[],'message':[],'retry':[]},this[_0x1e624e(0x600)]=!0x1,this[_0x1e624e(0x3d3)]=0x3e8,this['RECONNECT_RETRY_MS']=0x1f4,this[_0x1e624e(0x3b8)]=_0x316d11=>this[_0x1e624e(0x67b)](_0x37bee8['open'],_0x316d11),this['onClose']=_0x1f8723=>this[_0x1e624e(0x67b)](_0x37bee8['close'],_0x1f8723),this[_0x1e624e(0x39b)]=_0x44fe5e=>this[_0x1e624e(0x67b)](_0x37bee8['error'],_0x44fe5e),this['onMessage']=_0xd2007c=>this[_0x1e624e(0x67b)](_0x37bee8[_0x1e624e(0x649)],_0xd2007c),this[_0x1e624e(0x583)]=_0xa8d05[_0x1e624e(0x583)],this[_0x1e624e(0x35a)]=_0xa8d05[_0x1e624e(0x35a)],this[_0x1e624e(0x43a)]=null!==(_0x5bfb43=_0xa8d05[_0x1e624e(0x43a)])&&void 0x0!==_0x5bfb43?_0x5bfb43:_0x49a963=>new WebSocket(_0x49a963);}['send'](_0x258349){const _0xc63071=_0x3dd67c;this['websocket']?this[_0xc63071(0x2cf)]()===WebSocket[_0xc63071(0x2fa)]?this[_0xc63071(0x600)]?this[_0xc63071(0x35a)][_0xc63071(0x48a)]('WebsocketClient:\x20Cannot\x20send\x20message,\x20closed\x20by\x20user'):this[_0xc63071(0x6bb)][_0xc63071(0x3f3)](_0x258349):this['logger'][_0xc63071(0x48a)](_0xc63071(0x481)):this['logger'][_0xc63071(0x48a)](_0xc63071(0x2a6));}[_0x3dd67c(0x59c)](){return _0x13c710(this,void 0x0,void 0x0,function*(){const _0x1305f8=_0x2711;this['closedByUser']=!0x1,void 0x0!==this[_0x1305f8(0x6bb)]&&(this['websocket']['removeEventListener'](_0x37bee8['open'],this[_0x1305f8(0x3b8)]),this[_0x1305f8(0x6bb)][_0x1305f8(0x459)](_0x37bee8[_0x1305f8(0x634)],this['onClose']),this[_0x1305f8(0x6bb)]['removeEventListener'](_0x37bee8[_0x1305f8(0x48a)],this[_0x1305f8(0x39b)]),this['websocket'][_0x1305f8(0x459)](_0x37bee8[_0x1305f8(0x649)],this[_0x1305f8(0x3dd)]),this[_0x1305f8(0x6bb)]['close']()),this['websocket']=this[_0x1305f8(0x43a)](yield this[_0x1305f8(0x583)]()),this[_0x1305f8(0x6bb)][_0x1305f8(0x2c2)](_0x37bee8[_0x1305f8(0x319)],this[_0x1305f8(0x3b8)]),this[_0x1305f8(0x6bb)]['addEventListener'](_0x37bee8[_0x1305f8(0x634)],this[_0x1305f8(0x502)]),this['websocket'][_0x1305f8(0x2c2)](_0x37bee8[_0x1305f8(0x48a)],this[_0x1305f8(0x39b)]),this['websocket']['addEventListener'](_0x37bee8['message'],this[_0x1305f8(0x3dd)]);});}[_0x3dd67c(0x634)](_0x3a29db,_0x317c5f){const _0x5388e9=_0x3dd67c;var _0x2704cf;this['closedByUser']=!0x0,null===(_0x2704cf=this['websocket'])||void 0x0===_0x2704cf||_0x2704cf[_0x5388e9(0x634)](_0x3a29db,_0x317c5f);}[_0x3dd67c(0x2c2)](_0x68e437,_0x119b44){const _0xdbd908=_0x3dd67c,_0x2b1968={'listener':_0x119b44};this['eventListeners'][_0x68e437][_0xdbd908(0x276)](_0x2b1968);}[_0x3dd67c(0x459)](_0x42f6b3,_0x28134d){const _0x14dc6a=_0x3dd67c;this[_0x14dc6a(0x30a)][_0x42f6b3]=this[_0x14dc6a(0x30a)][_0x42f6b3]['filter'](_0x57ac09=>_0x57ac09[_0x14dc6a(0x298)]!==_0x28134d);}[_0x3dd67c(0x2cf)](){const _0x459913=_0x3dd67c;return this['websocket']?this[_0x459913(0x6bb)][_0x459913(0x5fb)]:WebSocket[_0x459913(0x6bd)];}['handleEvent'](_0x47c540,_0x4d7b27){const _0x500bee=_0x3dd67c;switch(_0x47c540){case _0x37bee8['close']:this[_0x500bee(0x600)]||this[_0x500bee(0x247)]();break;case _0x37bee8[_0x500bee(0x319)]:this[_0x500bee(0x405)]=0x0;case _0x37bee8[_0x500bee(0x48a)]:case _0x37bee8['message']:}this['dispatchEvent'](_0x47c540,_0x4d7b27);}['reconnect'](){const _0x13ab5e=_0x3dd67c,_0x49d130=this[_0x13ab5e(0x659)]*this[_0x13ab5e(0x405)]+this[_0x13ab5e(0x3d3)],_0x4331fe={'detail':{'retries':this[_0x13ab5e(0x405)]++,'backoff':_0x49d130}};setTimeout(()=>{const _0x3b6593=_0x13ab5e;if(this['closedByUser'])return;const _0xf7d0ff=new CustomEvent(_0x37bee8['retry'],_0x4331fe);this[_0x3b6593(0x5f3)](_0x37bee8[_0x3b6593(0x2c1)],_0xf7d0ff),this[_0x3b6593(0x59c)]();},_0x49d130);}[_0x3dd67c(0x5f3)](_0x2b1012,_0x318adb){const _0x135398=_0x3dd67c;this[_0x135398(0x30a)][_0x2b1012][_0x135398(0x63c)](_0x3a2b6a=>{_0x3a2b6a['listener'](_0x318adb);});}}class _0x3b8372{constructor(_0x4ef573,_0x2a95a0){const _0x3495ec=_0x3dd67c;this[_0x3495ec(0x4b8)]=new Map(),this['eventListeners']={[_0x25bc9b[_0x3495ec(0x2e7)]]:[],[_0x25bc9b[_0x3495ec(0x4b5)]]:[],[_0x25bc9b[_0x3495ec(0x6b5)]]:[],[_0x25bc9b[_0x3495ec(0x39b)]]:[]},this['SocialEvents']=_0x25bc9b;const {apiHost:_0x51bda5,gameId:_0x267674}=_0x4ef573;if(this['apiHost']=_0x51bda5,this[_0x3495ec(0x65e)]=_0x267674,this[_0x3495ec(0x35a)]=_0x2a95a0['logger'],this[_0x3495ec(0x5cf)]=_0x2a95a0[_0x3495ec(0x5cf)],this[_0x3495ec(0x6bb)]=_0x2a95a0['webSocketClientBuilder']?_0x2a95a0[_0x3495ec(0x40f)]():new _0x2d5556({'logger':this['logger'],'url':()=>this[_0x3495ec(0x3d0)](this[_0x3495ec(0x666)],this[_0x3495ec(0x65e)])}),!this[_0x3495ec(0x6bb)])throw new Error(_0x3495ec(0x5a4));this['on'](_0x25bc9b[_0x3495ec(0x4b5)],({data:_0x57e135})=>{const _0x496e23=_0x3495ec,_0x819572=_0x57e135[_0x496e23(0x480)];for(const _0x2c951c of _0x819572)this[_0x496e23(0x4b8)][_0x496e23(0x64e)](_0x2c951c[_0x496e23(0x42d)],_0x2c951c);}),this['on'](_0x25bc9b[_0x3495ec(0x2e7)],({data:_0x1c1f12})=>{const _0x52c948=_0x3495ec;this[_0x52c948(0x4b8)][_0x52c948(0x64e)](_0x1c1f12['userId'],_0x1c1f12);}),this[_0x3495ec(0x6bb)]['addEventListener'](_0x37bee8['open'],()=>{const _0x5a3e53=_0x3495ec;this[_0x5a3e53(0x35a)][_0x5a3e53(0x589)](_0x5a3e53(0x4b2));}),this['websocket']['addEventListener'](_0x37bee8[_0x3495ec(0x634)],_0xaf37f=>{const _0xc82296=_0x3495ec;this[_0xc82296(0x35a)][_0xc82296(0x589)](_0xc82296(0x232),_0xaf37f);}),this[_0x3495ec(0x6bb)][_0x3495ec(0x2c2)](_0x37bee8[_0x3495ec(0x48a)],_0x569779=>{const _0xb3bc37=_0x3495ec;this[_0xb3bc37(0x35a)][_0xb3bc37(0x48a)](_0xb3bc37(0x3e5),_0x569779);}),this[_0x3495ec(0x6bb)][_0x3495ec(0x2c2)](_0x37bee8[_0x3495ec(0x649)],_0x1af888=>{const _0x119f81=_0x3495ec,{data:_0x538d9f}=_0x1af888,_0x28792d=JSON[_0x119f81(0x432)](_0x538d9f);Object['values'](_0x25bc9b)[_0x119f81(0x341)](_0x28792d[_0x119f81(0x235)])?this[_0x119f81(0x5f3)](_0x28792d[_0x119f81(0x235)],_0x28792d):this[_0x119f81(0x35a)]['error'](_0x119f81(0x4c5));}),this[_0x3495ec(0x5cf)][_0x3495ec(0x3cc)](_0x2b6b72=>this[_0x3495ec(0x365)](_0x2b6b72));}[_0x3dd67c(0x59c)](){const _0x1bf89d=_0x3dd67c,_0x3729cc=this['connectedUser']===this['auth']['getFRVRID'](),_0x373abb=this[_0x1bf89d(0x6bb)]['getConnectionStatus']();(_0x373abb!==WebSocket[_0x1bf89d(0x2fa)]&&_0x373abb!==WebSocket[_0x1bf89d(0x41b)]||!_0x3729cc)&&(this[_0x1bf89d(0x53e)]=this['auth'][_0x1bf89d(0x49d)](),this['websocket'][_0x1bf89d(0x59c)]());}[_0x3dd67c(0x634)](){const _0x4710d6=_0x3dd67c;this[_0x4710d6(0x4b8)][_0x4710d6(0x661)](),this['connectedUser']=void 0x0,this[_0x4710d6(0x6bb)]['close']();}['on'](_0x13b442,_0x3fe6ce){const _0x4f2f01=_0x3dd67c,_0x372ad9={'listener':_0x3fe6ce},_0x28e3a9=this[_0x4f2f01(0x30a)][_0x13b442];if(!_0x28e3a9)throw new Error('event\x20type\x20\x22'+_0x13b442+'\x22\x20is\x20not\x20supported');_0x28e3a9['push'](_0x372ad9);}[_0x3dd67c(0x224)](){const _0x22d1b8=_0x3dd67c;return Array['from'](this[_0x22d1b8(0x4b8)][_0x22d1b8(0x5f8)]());}[_0x3dd67c(0x4a3)](_0x3f83cc,_0x230503,_0x2c3c55){const _0x41348f=_0x3dd67c,_0x5f0fe5={'code':_0x428cf3[_0x41348f(0x554)],'data':{'recipientId':_0x3f83cc,'lobbyId':_0x230503,'gameId':this['gameId'],'metadata':_0x2c3c55}};this[_0x41348f(0x3f3)](_0x5f0fe5);}[_0x3dd67c(0x36f)](_0x41e7f2){const _0x4fb390=_0x3dd67c,_0x21af8b={'code':_0x428cf3[_0x4fb390(0x57e)],'data':{'metadata':_0x41e7f2,'gameId':this['gameId']}};this[_0x4fb390(0x3f3)](_0x21af8b);}[_0x3dd67c(0x5f3)](_0x7ec69e,_0x228fb2){const _0x5bc3bb=_0x3dd67c;this[_0x5bc3bb(0x30a)][_0x7ec69e][_0x5bc3bb(0x63c)](_0x5b9a80=>{const _0x2600a7=_0x5bc3bb;_0x5b9a80[_0x2600a7(0x298)](_0x228fb2);});}[_0x3dd67c(0x3f3)](_0x859418){const _0x1b4e9c=_0x3dd67c;this[_0x1b4e9c(0x6bb)]['send'](JSON[_0x1b4e9c(0x2a0)](_0x859418));}[_0x3dd67c(0x365)](_0x268bf9){return _0x13c710(this,void 0x0,void 0x0,function*(){const _0xf69040=_0x2711;if(_0x268bf9){const _0xd6eb8d=this[_0xf69040(0x6bb)][_0xf69040(0x2cf)]();_0xd6eb8d!==WebSocket['OPEN']&&_0xd6eb8d!==WebSocket[_0xf69040(0x41b)]||this[_0xf69040(0x59c)]();}else this[_0xf69040(0x634)]();});}[_0x3dd67c(0x3d0)](_0x27b755,_0x493d2a){return _0x13c710(this,void 0x0,void 0x0,function*(){const _0x20ccee=_0x2711,_0x473be9=yield this[_0x20ccee(0x5cf)]['getFreshAccessToken']();return _0x20ccee(0x65b)+_0x27b755+'/ws?token='+_0x473be9+_0x20ccee(0x2de)+_0x493d2a;});}}class _0x1a8fe5{constructor(_0xcbc075,_0xeebb97){const _0x245df9=_0x3dd67c;var _0x4238b6,_0x149e97,_0x2c0946;this[_0x245df9(0x399)]=_0xcbc075,this[_0x245df9(0x3c7)]=_0xeebb97,this[_0x245df9(0x389)]={},this[_0x245df9(0x668)]={},this['providerFriendsCache']={},this[_0x245df9(0x530)]=_0x4a8f07,this[_0x245df9(0x5cf)]=_0xeebb97[_0x245df9(0x5cf)],this[_0x245df9(0x637)]=null!==(_0x4238b6=_0xeebb97[_0x245df9(0x637)])&&void 0x0!==_0x4238b6?_0x4238b6:_0x1f3fa1,this[_0x245df9(0x65e)]=_0xcbc075[_0x245df9(0x65e)];let _0x52ec8b=null!==(_0x149e97=_0xcbc075[_0x245df9(0x32b)])&&void 0x0!==_0x149e97?_0x149e97:_0xcbc075['env']===_0x9cdbaf[_0x245df9(0x270)]['PRODUCTION']?_0x245df9(0x2aa):_0x245df9(0x5bf);_0x52ec8b+=_0x245df9(0x556),this[_0x245df9(0x6c0)]=new _0x21e16a(_0x245df9(0x238)+_0x52ec8b,this[_0x245df9(0x5cf)]),this[_0x245df9(0x6a1)]=new _0x3b8372(Object[_0x245df9(0x2ac)](Object[_0x245df9(0x2ac)]({},this[_0x245df9(0x399)]),{'apiHost':_0x52ec8b}),this[_0x245df9(0x3c7)]),this[_0x245df9(0x4bd)]=new _0x4ff496({'provider':this[_0x245df9(0x637)]}),(null===(_0x2c0946=_0xcbc075[_0x245df9(0x602)])||void 0x0===_0x2c0946||_0x2c0946)&&this[_0x245df9(0x5cf)][_0x245df9(0x3cc)](this[_0x245df9(0x2fc)][_0x245df9(0x5d9)](this));}get[_0x3dd67c(0x692)](){const _0xdea908=_0x3dd67c;return this[_0xdea908(0x6a1)];}get['platform'](){const _0x14fc6f=_0x3dd67c;return this[_0x14fc6f(0x4bd)];}[_0x3dd67c(0x425)](){return _0x13c710(this,void 0x0,void 0x0,function*(){const _0x45eec0=_0x2711,_0x3b85f7=yield this[_0x45eec0(0x637)]['getFriends'](),_0x1c2252=_0x3b85f7[_0x45eec0(0x420)]((_0x59181c,_0x25eb48)=>{const _0x1f12b5=_0x45eec0;var _0x36d790;const _0x290389=null!==(_0x36d790=_0x59181c[_0x1f12b5(0x67c)](_0x25eb48[_0x1f12b5(0x2dc)]))&&void 0x0!==_0x36d790?_0x36d790:[];return _0x290389[_0x1f12b5(0x276)](_0x25eb48['id']),_0x59181c[_0x1f12b5(0x64e)](_0x25eb48[_0x1f12b5(0x2dc)],_0x290389),_0x59181c;},new Map()),_0x36a682=[],_0x2f8e3a=Array[_0x45eec0(0x243)](_0x1c2252[_0x45eec0(0x47a)]());for(const [_0x31d373,_0x206cae]of _0x2f8e3a){const _0x107de0=yield this[_0x45eec0(0x6c0)]['syncFriends'](this[_0x45eec0(0x3b3)](),{'channel':_0x31d373,'gameId':this[_0x45eec0(0x65e)],'friendIds':_0x206cae});_0x36a682[_0x45eec0(0x276)](..._0x107de0);}return this[_0x45eec0(0x389)]=_0x36a682[_0x45eec0(0x420)]((_0x18695b,_0x29d2ad)=>(_0x18695b[_0x29d2ad[_0x45eec0(0x42d)]]=_0x29d2ad,_0x18695b),{}),this[_0x45eec0(0x668)]=_0x36a682['reduce']((_0x35d224,_0xe8e035)=>(_0x35d224[_0xe8e035[_0x45eec0(0x37f)]]=_0xe8e035,_0x35d224),{}),this[_0x45eec0(0x2bd)]=_0x3b85f7[_0x45eec0(0x420)]((_0x2cc1c1,_0x508802)=>(_0x2cc1c1[_0x508802['id']]=_0x508802,_0x2cc1c1),{}),_0x36a682;});}[_0x3dd67c(0x594)](){return _0x13c710(this,void 0x0,void 0x0,function*(){const _0x537f9f=_0x2711;return yield this['webClient'][_0x537f9f(0x4e6)](this[_0x537f9f(0x3b3)]());});}['getFriendByFRVRID'](_0xb82e3e){return _0x13c710(this,void 0x0,void 0x0,function*(){const _0x4c1efe=_0x2711,_0x426e8d=this[_0x4c1efe(0x389)][_0xb82e3e];if(!_0x426e8d)return;const _0x156703=this['providerFriendsCache'][_0x426e8d[_0x4c1efe(0x37f)]];return Object[_0x4c1efe(0x2ac)](Object[_0x4c1efe(0x2ac)]({},_0x426e8d),{'name':null==_0x156703?void 0x0:_0x156703[_0x4c1efe(0x256)],'image':null==_0x156703?void 0x0:_0x156703['image']});});}['getFriendByChannelId'](_0x58994f){return _0x13c710(this,void 0x0,void 0x0,function*(){const _0x2e9db3=_0x2711,_0x36143d=this[_0x2e9db3(0x668)][_0x58994f];if(!_0x36143d)return;const _0x1d0241=this[_0x2e9db3(0x2bd)][_0x58994f];return Object[_0x2e9db3(0x2ac)](Object[_0x2e9db3(0x2ac)]({},_0x36143d),{'name':null==_0x1d0241?void 0x0:_0x1d0241[_0x2e9db3(0x256)],'image':null==_0x1d0241?void 0x0:_0x1d0241[_0x2e9db3(0x291)]});});}['addFriend'](_0x5dc827){return _0x13c710(this,void 0x0,void 0x0,function*(){const _0x949e81=_0x2711;return yield this[_0x949e81(0x6c0)][_0x949e81(0x258)](this['getUserId'](),{'friendId':_0x5dc827});});}[_0x3dd67c(0x447)](_0x6a9b87){return _0x13c710(this,void 0x0,void 0x0,function*(){const _0x2ed1ee=_0x2711;return yield this[_0x2ed1ee(0x6c0)]['removeFriend'](this[_0x2ed1ee(0x3b3)](),{'friendId':_0x6a9b87});});}[_0x3dd67c(0x3b3)](){const _0x26ef69=_0x3dd67c,_0xc9ed58=this[_0x26ef69(0x5cf)]['getFRVRID']();if(null===_0xc9ed58)throw new _0x46611e('not\x20logged\x20in');return _0xc9ed58;}[_0x3dd67c(0x2fc)](_0x5d300d){const _0x3eebe4=_0x3dd67c;_0x5d300d&&this[_0x3eebe4(0x425)]();}['shareMessage'](_0x31de8){const _0x4d309e=_0x3dd67c;return this[_0x4d309e(0x4bd)][_0x4d309e(0x691)](_0x31de8);}[_0x3dd67c(0x41c)](_0x4e97d2){const _0x3fc784=_0x3dd67c;return this['socialPlatform'][_0x3fc784(0x41c)](_0x4e97d2);}[_0x3dd67c(0x41d)](_0x3cf0a5){const _0x8e3391=_0x3dd67c;return this['socialPlatform'][_0x8e3391(0x41d)](_0x3cf0a5);}['getFriends'](){const _0x42492c=_0x3dd67c;return this[_0x42492c(0x4bd)]['getFriends']();}[_0x3dd67c(0x588)](){const _0xa59d1f=_0x3dd67c;return this[_0xa59d1f(0x4bd)]['getSupportedAPIs']();}['isSupportedAPI'](_0x19939e){const _0x1624c5=_0x3dd67c;return this[_0x1624c5(0x4bd)][_0x1624c5(0x681)](_0x19939e);}}class _0x46611e extends Error{constructor(_0x5cba77){super(_0x5cba77);}}const _0x39ab8e={'getId':()=>'','isInRoom'(){return _0x13c710(this,void 0x0,void 0x0,function*(){return!0x1;});},'getRoomData'(){return _0x13c710(this,void 0x0,void 0x0,function*(){return{};});},'getRoomId'(){return _0x13c710(this,void 0x0,void 0x0,function*(){return'';});},'getPlayers'(){return _0x13c710(this,void 0x0,void 0x0,function*(){return[];});},'getSupportedAPIs':()=>[],'isSupportedAPI':_0x5f3d60=>!0x1};class _0xec8917{constructor(_0x397463){const _0x47abbb=_0x3dd67c;var _0x171b25;this[_0x47abbb(0x5cf)]=_0x397463[_0x47abbb(0x5cf)],this[_0x47abbb(0x637)]=null!==(_0x171b25=_0x397463['provider'])&&void 0x0!==_0x171b25?_0x171b25:_0x39ab8e;}[_0x3dd67c(0x46e)](){const _0x175959=_0x3dd67c;return this[_0x175959(0x637)][_0x175959(0x46e)]();}['getRoomId'](){const _0x14ccee=_0x3dd67c;return this[_0x14ccee(0x637)][_0x14ccee(0x41a)]();}[_0x3dd67c(0x29c)](){const _0x5aba64=_0x3dd67c;return this[_0x5aba64(0x637)]['getRoomData']();}[_0x3dd67c(0x410)](){const _0x310407=_0x3dd67c;return this[_0x310407(0x637)][_0x310407(0x410)]();}[_0x3dd67c(0x588)](){const _0xcee2be=_0x3dd67c;return this[_0xcee2be(0x637)][_0xcee2be(0x588)]();}[_0x3dd67c(0x681)](_0x41c0fe){const _0x2e4cb0=_0x3dd67c;return this[_0x2e4cb0(0x637)]['isSupportedAPI'](_0x41c0fe);}}var _0x314263;!function(_0x148a37){const _0x194017=_0x3dd67c;_0x148a37[_0x148a37[_0x194017(0x29c)]=0x0]='getRoomData',_0x148a37[_0x148a37[_0x194017(0x46e)]=0x1]=_0x194017(0x46e),_0x148a37[_0x148a37['getRoomId']=0x2]='getRoomId',_0x148a37[_0x148a37[_0x194017(0x410)]=0x3]='getPlayers',_0x148a37[_0x148a37[_0x194017(0x1ff)]=0x4]='subscribeToPlayerJoined',_0x148a37[_0x148a37[_0x194017(0x46f)]=0x5]='subscribeToPlayerLeft';}(_0x314263||(_0x314263={}));const _0x3e7819=_0x3dd67c(0x596);function _0x36e25f(_0x3b2444=()=>new XMLHttpRequest(),_0xb6f856){const _0xb7ca87=_0x3dd67c;let _0x35e8fa;const _0x46e1b1=[];let _0x534d08=null;const _0x1d736f=!_0xb6f856&&navigator&&_0xb7ca87(0x5ca)==typeof navigator[_0xb7ca87(0x461)];let _0x18756e=!0x1;const _0x1bb94a={'protocol_version':'f','app_version':'av','engine_version':'ev','app_build':'ab','cohort':'co','channel':'ch','cmp_consents':_0xb7ca87(0x242),'cmp_legitimateInterests':_0xb7ca87(0x647),'games_played':'gp','play_session_id':'pi','play_session_count':'pc','days_elapsed':'de','facebook_player_id':'fi','facebook_context_type':'fc','facebook_entrypoint':'fe','facebook_referral_player_id':'fr','utm_source':'us','utm_medium':'um','utm_campaign':'uc','utm_term':'ut','utm_content':'uo','remote_user_id':'ru','global_user_id':_0xb7ca87(0x33a),'device_width':'dw','device_height':'dh','non_interaction':'ni','country':'ct','event':'e','game':'g','user':'u','client_time':'t','value':'v','provider':'ao','ad_result':'ar','ad_response':'ag','ad_point':'ap','transport':'tr','web_url':'wu','retry':'r','label':'l','advertisement_id':'ai','script_version':'xv','cache_buster':'n','page_session_id':'si'};function _0x69bbf4(_0x5d7d41,_0x344302,_0x5e4e12){_0x5e4e12=void 0x0!==_0x5e4e12?_0x5e4e12:0x5,_0x5d7d41(_0x344302,function(){const _0x319415=_0x2711;if(_0x5e4e12>0x0){const _0x2aa452=0x1388*(Math[_0x319415(0x538)](0x2,0x5-_0x5e4e12)+Math[_0x319415(0x5e1)]());_0x344302['r']=0x5-_0x5e4e12+0x1,setTimeout(_0x69bbf4[_0x319415(0x5d9)](void 0x0,_0x5d7d41,_0x344302,--_0x5e4e12),_0x2aa452);}});}function _0x4700d0(_0x1d4899,_0x2848d5,_0x1e85dc){const _0x816761=_0xb7ca87;if(navigator[_0x816761(0x461)](_0x1d4899,JSON[_0x816761(0x2a0)](_0x2848d5)))return!0x0;_0x1e85dc();}function _0x2c454d(_0x5789b5,_0x45091e,_0x1e1812){const _0x452ff8=_0xb7ca87;let _0x24950a=_0x3b2444();_0x24950a[_0x452ff8(0x286)]&&_0x24950a[_0x452ff8(0x286)]('text/plain;\x20charset=UTF-8');try{_0x24950a[_0x452ff8(0x319)](_0x452ff8(0x4da),_0x5789b5,!0x0),_0x24950a[_0x452ff8(0x2cc)]('Content-type',_0x452ff8(0x310)),_0x24950a['withCredentials']=!0x0,_0x24950a['onreadystatechange']=function(){const _0x321404=_0x452ff8;if(0x4==_0x24950a[_0x321404(0x5fb)]){const _0x1b124b=_0x24950a[_0x321404(0x23b)];_0x24950a=_0x24950a['onreadystatechange']=null,0xc8!=_0x1b124b&&0xcc!=_0x1b124b?_0x1e1812():_0x18756e=!0x0;}},_0x24950a[_0x452ff8(0x3f3)](JSON[_0x452ff8(0x2a0)](_0x45091e));}catch(_0x407989){_0x1e1812();}}function _0x2807cc(_0x2e757d,_0x2eba0a,_0x753a6){const _0x398135=_0xb7ca87;_0x2eba0a['n']=Math['random']();const _0x51d18f=document[_0x398135(0x428)](_0x398135(0x5c5));_0x51d18f[_0x398135(0x3cb)]=function(){const _0x1b3776=_0x398135;_0x18756e=!0x0,_0x51d18f['onerror']=_0x51d18f[_0x1b3776(0x3cb)]=null;},_0x51d18f[_0x398135(0x5a0)]=function(){const _0x274371=_0x398135;_0x753a6(),_0x51d18f[_0x274371(0x5a0)]=null;},_0x51d18f[_0x398135(0x615)]=_0x2e757d+'?'+function(_0x829758){const _0x557cf9=_0x398135,_0x268f5f=[];for(const _0x42565a in _0x829758)_0x829758[_0x557cf9(0x64a)](_0x42565a)&&_0x268f5f[_0x557cf9(0x276)](encodeURIComponent(_0x42565a)+'='+(void 0x0!==_0x829758[_0x42565a]&&null!=_0x829758[_0x42565a]?encodeURIComponent(_0x829758[_0x42565a]):''));return _0x268f5f[_0x557cf9(0x586)]('&');}(_0x2eba0a),document[_0x398135(0x4dc)]['appendChild'](_0x51d18f);}function _0x42d58c(_0x2ada23,_0x20cead){const _0x183b1c=_0xb7ca87;return _0x1d736f&&_0x18756e?(_0x20cead['transport']='bcn',_0x4700d0[_0x183b1c(0x5d9)](void 0x0,_0x2ada23)):XMLHttpRequest?(_0x20cead[_0x183b1c(0x51a)]=_0x183b1c(0x606),_0x2c454d[_0x183b1c(0x5d9)](void 0x0,_0x2ada23)):(_0x20cead[_0x183b1c(0x51a)]=_0x183b1c(0x5c5),_0x2807cc[_0x183b1c(0x5d9)](void 0x0,_0x2ada23+'/i'));}function _0x5435c2(_0xa5cadf){const _0x50f1d1=_0xb7ca87;var _0x3d9478;const _0x876fba=_0xa5cadf[_0x50f1d1(0x2dc)];let _0x389761;window[_0x50f1d1(0x58c)]&&document['location']&&document[_0x50f1d1(0x342)][_0x50f1d1(0x53f)]&&(_0x389761=document[_0x50f1d1(0x342)]['href']);const _0x210ba2=null==_0x35e8fa?void 0x0:_0x35e8fa[_0x50f1d1(0x5d8)](),_0x2a434e=null==_0x35e8fa?void 0x0:_0x35e8fa[_0x50f1d1(0x4cf)](),_0x5c877e=[_0x50f1d1(0x238),_0x3e7819,_0xa5cadf[_0x50f1d1(0x358)]||'_unspecified_',_0x210ba2||''][_0x50f1d1(0x586)]('/');_0xa5cadf[_0x50f1d1(0x5bb)]=_0xa5cadf[_0x50f1d1(0x5bb)]||_0x50f1d1(0x5bc),_0xa5cadf[_0x50f1d1(0x497)]=_0xa5cadf[_0x50f1d1(0x497)]||_0x50f1d1(0x324),_0xa5cadf[_0x50f1d1(0x2dc)]=_0x876fba||_0xa5cadf[_0x50f1d1(0x2dc)],_0xa5cadf['web_url']=_0x389761,_0xa5cadf[_0x50f1d1(0x5ee)]='2.0.1',_0xa5cadf[_0x50f1d1(0x4db)]=0x5,_0xa5cadf['cache_buster']=Math[_0x50f1d1(0x5e1)](),_0xa5cadf[_0x50f1d1(0x651)]=(null===(_0x3d9478=window['document'])||void 0x0===_0x3d9478?void 0x0:_0x3d9478[_0x50f1d1(0x651)])||null,void 0x0!==_0x210ba2&&(_0xa5cadf[_0x50f1d1(0x51b)]=_0x210ba2),void 0x0!==_0x2a434e&&(_0xa5cadf[_0x50f1d1(0x4aa)]=_0x2a434e);const _0x26b789=0x3c*new Date()[_0x50f1d1(0x68c)]()*0x3e8;_0xa5cadf[_0x50f1d1(0x522)]=new Date(Date['now']()-_0x26b789)[_0x50f1d1(0x2bf)]()[_0x50f1d1(0x577)](0x0,-0x1),_0x69bbf4(_0x42d58c(_0x5c877e,_0xa5cadf),function(_0x20fdb8){const _0x362b59={};for(const _0x5ed5c1 in _0x20fdb8)_0x20fdb8['hasOwnProperty'](_0x5ed5c1)&&void 0x0!==_0x20fdb8[_0x5ed5c1]&&null!=_0x20fdb8[_0x5ed5c1]&&(_0x362b59[_0x1bb94a[_0x5ed5c1]||_0x5ed5c1]=_0x20fdb8[_0x5ed5c1]);return _0x362b59;}(_0xa5cadf));}return{'init'(_0x2ec823,_0x555418){return _0x13c710(this,void 0x0,void 0x0,function*(){_0x35e8fa=_0x555418;});},'getName':()=>_0xb7ca87(0x601),'send'(_0x809c07,_0x2ca32a,_0x38da80,_0x5cd4bd){const _0x10c311=_0xb7ca87;var _0x39fed4;_0x38da80=void 0x0!==_0x2ca32a?Object[_0x10c311(0x2ac)](Object[_0x10c311(0x2ac)](Object['assign']({'value':_0x2ca32a},_0x38da80),_0x5cd4bd),{'event':_0x809c07}):Object[_0x10c311(0x2ac)](Object['assign'](Object[_0x10c311(0x2ac)]({},_0x38da80),_0x5cd4bd),{'event':_0x809c07}),_0x39fed4=_0x38da80,_0x46e1b1['push'](_0x39fed4),_0x534d08&&clearTimeout(_0x534d08),_0x534d08=setTimeout(function(){const _0x2fa8df=_0x10c311;for(;_0x46e1b1['length']>0x0;)_0x5435c2(_0x46e1b1[_0x2fa8df(0x2af)]());},0x1);}};}var _0x7ed666;_0x9cdbaf['AnalyticsIDProviderStorageType']=void 0x0,(_0x7ed666=_0x9cdbaf[_0x3dd67c(0x59a)]||(_0x9cdbaf[_0x3dd67c(0x59a)]={}))[_0x3dd67c(0x5aa)]='in-memory',_0x7ed666['COOKIE']=_0x3dd67c(0x1fa),_0x7ed666['LOCAL_STORAGE']='localStorage';const _0x1b9f34={'init':()=>_0x13c710(void 0x0,void 0x0,void 0x0,function*(){}),'getName':()=>'','getUserSource':()=>_0x9cdbaf[_0x3dd67c(0x59a)]['IN_MEMORY'],'getPageSessionId':()=>'','getPlaySessionId':()=>'','getGlobalUserId':()=>'','managesUnconsentedIds':()=>!0x1};function _0x458b49(_0x50344d){return(_0x50344d<0xa?'0':'')+_0x50344d;}function _0x5d7cae(_0xb852a4){const _0x46826a=_0x3dd67c,_0xa81329=_0xb852a4||'-';function _0x1c1a17(){const _0x3b54f4=_0x2711;return(0x10000*(0x1+Math['random']())|0x0)['toString'](0x10)[_0x3b54f4(0x4e2)](0x1);}const _0x272f47=new Date()[_0x46826a(0x3fe)]()['toString'](0x10)[_0x46826a(0x577)](0x0,0xb)+(0x10000*(0x1+Math[_0x46826a(0x5e1)]())|0x0)['toString'](0x10)['substring'](0x1,0x2);return _0x1c1a17()+_0x1c1a17()+_0xa81329+_0x1c1a17()+_0xa81329+_0x1c1a17()+_0xa81329+_0x1c1a17()+_0xa81329+_0x272f47;}class _0x2aa7b7{constructor(_0x2a0cfd){const _0xba0884=_0x3dd67c;this[_0xba0884(0x239)]=_0x2a0cfd,this[_0xba0884(0x4c4)]=0x1b7740,this[_0xba0884(0x5c2)]=_0x9cdbaf[_0xba0884(0x59a)][_0xba0884(0x22f)],this[_0xba0884(0x5d0)]=!0x1;}[_0x3dd67c(0x511)](){const _0x2cd02c=_0x3dd67c;window[_0x2cd02c(0x58c)]&&void 0x0!==document['cookie']?(document[_0x2cd02c(0x1fa)]='can_use_cookies=test;',this[_0x2cd02c(0x5d0)]=document[_0x2cd02c(0x1fa)]['indexOf'](_0x2cd02c(0x618))>-0x1):this[_0x2cd02c(0x5d0)]=!0x1;}[_0x3dd67c(0x581)](){return _0x13c710(this,void 0x0,void 0x0,function*(){const _0x271416=_0x2711;this[_0x271416(0x511)](),this[_0x271416(0x5d0)]?this[_0x271416(0x5c2)]=_0x9cdbaf['AnalyticsIDProviderStorageType'][_0x271416(0x22f)]:this[_0x271416(0x239)][_0x271416(0x3c8)]()?this['globalUserIdSource']=_0x9cdbaf['AnalyticsIDProviderStorageType'][_0x271416(0x686)]:this[_0x271416(0x5c2)]=_0x9cdbaf[_0x271416(0x59a)][_0x271416(0x5aa)];const _0x1134a2=yield this['storage'][_0x271416(0x561)]([_0x271416(0x60a),'playSessionId','playSessionIdTimeStamp',_0x271416(0x370)]);this[_0x271416(0x60a)]=_0x1134a2[_0x271416(0x60a)]&&String(_0x1134a2[_0x271416(0x60a)]),this[_0x271416(0x5a5)]=_0x1134a2[_0x271416(0x5a5)]&&String(_0x1134a2['playSessionId']),this['playSessionIdTimeStamp']=_0x1134a2['playSessionIdTimeStamp']&&parseInt(String(_0x1134a2[_0x271416(0x68a)]),0xa),this[_0x271416(0x370)]=_0x1134a2['globalUserId']&&String(_0x1134a2[_0x271416(0x370)]);});}[_0x3dd67c(0x2f6)](){return'FRVRAnalytics';}['getUserSource'](){const _0xd6b184=_0x3dd67c;return this[_0xd6b184(0x5c2)];}[_0x3dd67c(0x57a)](){const _0x4d036a=_0x3dd67c;return this['pageSessionId']||(this['pageSessionId']=_0x5d7cae(),this[_0x4d036a(0x239)][_0x4d036a(0x257)](_0x4d036a(0x60a),this[_0x4d036a(0x60a)])),this[_0x4d036a(0x60a)];}[_0x3dd67c(0x3a9)](){const _0x389bd5=_0x3dd67c;return this[_0x389bd5(0x5a5)]&&(this['playSessionIdTimeStamp']+this[_0x389bd5(0x4c4)]=0x0;_0x191353--){const _0x23cc16=_0x1704ae[_0xc38b8c(0x577)](_0x191353)[_0xc38b8c(0x586)]('.');if(document['cookie']=_0xc38b8c(0x2d3)+_0x23cc16+';',document[_0xc38b8c(0x1fa)][_0xc38b8c(0x3fd)](_0xc38b8c(0x641))>-0x1)return document['cookie']='get_tld=;domain=.'+_0x23cc16+';expires=Thu,\x2001\x20Jan\x201970\x2000:00:01\x20GMT;',_0x23cc16;}return'';}())+';';}}class _0x35bb71{constructor(_0x55c1f4,_0x6274f){const _0x444732=_0x3dd67c;this['consentsBitSet']=_0x9cdbaf[_0x444732(0x28a)]['None'],this['legitimateInterestsBitSet']=_0x9cdbaf[_0x444732(0x28a)][_0x444732(0x3e9)],this[_0x444732(0x300)]=!0x1,this['getName']=()=>'TcfV2ConsentProvider',this[_0x444732(0x35a)]=_0x6274f,this['onConsentChangedHandlers']=[],this[_0x444732(0x498)](_0x55c1f4);}['tcfDataBitSet2ConsentOptionsBitSet'](_0x198a85){let _0x218b91=0x0;for(const _0x484e32 in _0x198a85)_0x198a85[_0x484e32]&&(_0x218b91|=0x1<{const _0x5119ab=_0x228be6;var _0x18affb,_0x2ea0ff,_0xd570ad;_0x1a9c0c?_0x5119ab(0x43e)!==_0xad9827[_0x5119ab(0x54f)]&&'tcloaded'!==_0xad9827['eventStatus']||(this[_0x5119ab(0x300)]=!0x0,this[_0x5119ab(0x4a4)]=this[_0x5119ab(0x34e)](null!==(_0x2ea0ff=_0xad9827[_0x5119ab(0x69d)][_0x5119ab(0x5ed)])&&void 0x0!==_0x2ea0ff?_0x2ea0ff:{}),this[_0x5119ab(0x464)]=this[_0x5119ab(0x34e)](null!==(_0xd570ad=_0xad9827[_0x5119ab(0x69d)]['legitimateInterests'])&&void 0x0!==_0xd570ad?_0xd570ad:{}),this[_0x5119ab(0x5c8)](this['consentsBitSet'],this['legitimateInterestsBitSet'])):null===(_0x18affb=this['logger'])||void 0x0===_0x18affb||_0x18affb['warn'](this[_0x5119ab(0x2f6)]()+_0x5119ab(0x388));};window[_0x228be6(0x467)](_0x228be6(0x2c2),0x2,_0x354848);}}[_0x3dd67c(0x5c8)](_0x430feb,_0x5e21ab){const _0x1f318d=_0x3dd67c;for(let _0x471b05=0x0;_0x471b05{const _0x599ca0=_0x2711;window['__tcfapi']?this[_0x599ca0(0x266)]():(setTimeout(_0x5a51c0,_0x4dc8ca),_0x4dc8ca*=0x2,_0x4dc8ca>0xfa0&&(_0x4dc8ca=0xfa0));};_0x5a51c0();}[_0x3dd67c(0x5d4)](){const _0x2f3fb3=_0x3dd67c;var _0x135e5d;null===(_0x135e5d=this['logger'])||void 0x0===_0x135e5d||_0x135e5d[_0x2f3fb3(0x1f6)](this[_0x2f3fb3(0x2f6)]()+_0x2f3fb3(0x3bd));}[_0x3dd67c(0x25d)](){return!0x0;}['onConsentChanged'](_0x1d377a){const _0x431442=_0x3dd67c;this[_0x431442(0x400)][_0x431442(0x276)](_0x1d377a),this[_0x431442(0x300)]&&_0x1d377a(this[_0x431442(0x4a4)],this[_0x431442(0x464)]);}[_0x3dd67c(0x321)](_0x5cbe37,_0x4d1ba1=_0x9cdbaf[_0x3dd67c(0x28a)]['None']){const _0x303edc=_0x3dd67c;return this['hasLoaded']()&&0x0!=(this[_0x303edc(0x4a4)]&_0x5cbe37);}[_0x3dd67c(0x2ed)](_0x3d0e9c,_0xcf6917=_0x9cdbaf[_0x3dd67c(0x28a)]['None']){const _0xb3adc9=_0x3dd67c;return this[_0xb3adc9(0x31b)]()&&(this[_0xb3adc9(0x4a4)]&_0x3d0e9c)==_0x3d0e9c;}[_0x3dd67c(0x5ed)](){return this['consentsBitSet'];}[_0x3dd67c(0x566)](){return this['legitimateInterestsBitSet'];}}class _0x43eeee{constructor(_0xe4879d){const _0x3d6ba1=_0x3dd67c;this[_0x3d6ba1(0x3dc)](_0xe4879d);}['getRightmost1Index'](){const _0x2778e0=_0x3dd67c;return this[_0x2778e0(0x69f)][_0x2778e0(0x2b8)]('1');}['is1AtIndex'](_0x5cbc4f){const _0x1e5b5e=_0x3dd67c;return _0x5cbc4f>=0x0&&'1'===this['bits'][_0x1e5b5e(0x51f)](_0x5cbc4f,0x1);}[_0x3dd67c(0x3b6)](_0x50f807){const _0x4732f4=_0x3dd67c;this[_0x4732f4(0x69f)]=this[_0x4732f4(0x69f)][_0x4732f4(0x51f)](0x0,_0x50f807)+'1'+this['bits'][_0x4732f4(0x51f)](_0x50f807+0x1);}[_0x3dd67c(0x3dc)](_0x3074f6){const _0xc35c75=_0x3dd67c;return/^0x[a-f0-9]*$/i['test'](_0x3074f6)||(_0x3074f6='0x'+(Number(_0x3074f6)||0x0)[_0xc35c75(0x3b5)](0x2)[_0xc35c75(0x355)]('')[_0xc35c75(0x4f4)]()[_0xc35c75(0x586)]('')[_0xc35c75(0x3b5)]()),_0x3074f6=_0x3074f6[_0xc35c75(0x4e2)](0x2),this[_0xc35c75(0x69f)]=_0x3074f6['split']('')[_0xc35c75(0x433)](function(_0x3db945){const _0x361a1f=_0xc35c75;let _0x3c7d2f=parseInt(_0x3db945,0x10)[_0x361a1f(0x3b5)](0x2);for(;_0x3c7d2f[_0x361a1f(0x2db)]<0x4;)_0x3c7d2f='0'+_0x3c7d2f;return _0x3c7d2f;})[_0xc35c75(0x586)]('');}[_0x3dd67c(0x202)](){const _0xd75ee4=_0x3dd67c;return'0x'+this[_0xd75ee4(0x69f)][_0xd75ee4(0x3f9)](/(.{1,4})/g)[_0xd75ee4(0x433)](function(_0xb5653f){const _0x4ba341=_0xd75ee4;for(;_0xb5653f[_0x4ba341(0x2db)]<0x4;)_0xb5653f+='0';return parseInt(_0xb5653f,0x2)[_0x4ba341(0x3b5)](0x10);})[_0xd75ee4(0x586)]('');}}class _0x2fa700{constructor(){const _0x390aee=_0x3dd67c;this[_0x390aee(0x4c4)]=0x1b7740,this['randomPageSessionId']=_0x5d7cae(),this['randomPlaySessionId']=_0x5d7cae(),this['randomGlobalUserId']=_0x5d7cae(),this['randomPlaySessionIdTimeStamp']=Date[_0x390aee(0x406)]();}[_0x3dd67c(0x581)](){return _0x13c710(this,void 0x0,void 0x0,function*(){});}[_0x3dd67c(0x2f6)](){const _0x25fe07=_0x3dd67c;return _0x25fe07(0x5e1);}['getUserSource'](){const _0x296c=_0x3dd67c;return _0x9cdbaf[_0x296c(0x59a)][_0x296c(0x5aa)];}[_0x3dd67c(0x57a)](){const _0x528688=_0x3dd67c;return this[_0x528688(0x360)];}[_0x3dd67c(0x3a9)](){const _0x5b5682=_0x3dd67c;return this[_0x5b5682(0x21a)]+this['PLAY_SESSION_TIMEOUT']0x0;){const {event:_0x26ae17,value:_0x40b8ed,fields:_0x1a3f2a,context:_0x22db74,requiredConsents:_0xebefb5,requiredLegitimateInterests:_0x48c33d}=_0x48c3ad['shift']();this['dispatchEvent'](_0x26ae17,_0x40b8ed,_0x1a3f2a,Object['assign'](Object['assign']({},_0x22db74),this[_0x4a2a2a(0x3cd)]()),_0xebefb5,_0x48c33d);}}['dispatchEvent'](_0xbb4a52,_0x4fc834,_0x139062,_0x3e79c1,_0x57ddef,_0x3692fc){const _0x7ea60=_0x3dd67c;for(const _0x30ecac of this['analyticsProviders'])try{(this[_0x7ea60(0x4ec)][_0x7ea60(0x2ed)](_0x57ddef,_0x3692fc)||this[_0x7ea60(0x3f8)]&&'post-message'===_0x30ecac['getName']())&&_0x30ecac['send'](_0xbb4a52,_0x4fc834,_0x139062,_0x3e79c1);}catch(_0x5b7790){this['logger'][_0x7ea60(0x48a)](_0x7ea60(0x225)+_0x30ecac['getName'](),_0x5b7790);}}[_0x3dd67c(0x3cd)](){const _0x40ca6a=_0x3dd67c;return{'cmp_consents':this['consentProvider'][_0x40ca6a(0x5ed)](),'cmp_legitimateInterests':this[_0x40ca6a(0x4ec)][_0x40ca6a(0x566)]()};}[_0x3dd67c(0x3f3)](_0x391efb,_0x1d4788,_0x145df5,_0x34d831,_0xe6ba65){const _0x2bd5a0=_0x3dd67c,_0x547b3b=this[_0x2bd5a0(0x3fa)]();for(const _0xc4f934 in _0x145df5)void 0x0===_0x145df5[_0xc4f934]&&delete _0x145df5[_0xc4f934];for(const _0x790545 in _0x547b3b)void 0x0===_0x547b3b[_0x790545]&&delete _0x547b3b[_0x790545];this['logger'][_0x2bd5a0(0x589)](_0x2bd5a0(0x34c),_0x391efb,_0x145df5,_0x547b3b),this['consentProvider'][_0x2bd5a0(0x31b)]()||this[_0x2bd5a0(0x3f8)]?(this[_0x2bd5a0(0x314)](),this[_0x2bd5a0(0x5f3)](_0x391efb,_0x1d4788,_0x145df5,Object[_0x2bd5a0(0x2ac)](Object[_0x2bd5a0(0x2ac)]({},_0x547b3b),this['getConsentContextFields']()),_0x34d831,_0xe6ba65)):this[_0x2bd5a0(0x54d)][_0x2bd5a0(0x2db)]{const _0x26c9b9=_0x1b70d2;if(_0x228165)try{_0x228165(_0x5a0522,_0x3b94a4,_0x2aada0,_0x529ac3,_0x2e94a6);}catch(_0x3c3dc3){}if(_0x5a0522=String(_0x5a0522),_0x2e94a6=_0x2e94a6||new Error(_0x5a0522))try{_0x2fd43d({'msg':_0x5a0522,'line':_0x2aada0,'col':_0x529ac3,'label':_0x2e94a6[_0x26c9b9(0x571)]||JSON[_0x26c9b9(0x2a0)](_0x2e94a6)});}catch(_0xbd5670){}return!0x1;};const _0x4d4d4b=window[_0x1b70d2(0x43b)]?window[_0x1b70d2(0x43b)][_0x1b70d2(0x5d9)](window):null;window[_0x1b70d2(0x43b)]=_0x229521=>{const _0x3017fb=_0x1b70d2;if(_0x4d4d4b)try{_0x4d4d4b(_0x229521);}catch(_0x5b077c){}try{const _0x4bfe96=_0x229521&&_0x229521[_0x3017fb(0x69b)]||{};_0x2fd43d({'msg':_0x4bfe96[_0x3017fb(0x649)],'line':0x0,'col':0x0,'label':_0x3017fb(0x5da)+(_0x4bfe96[_0x3017fb(0x571)]||JSON['stringify'](_0x4bfe96))});}catch(_0x3ba716){}};}(_0x38c57d=>this[_0x58863e(0x5c7)]('error',_0x38c57d,_0x9cdbaf['ConsentOptions']['None'])),yield this[_0x58863e(0x60c)](),yield Promise['all']([this[_0x58863e(0x494)][_0x58863e(0x581)](),this[_0x58863e(0x48b)][_0x58863e(0x581)]()]),yield Promise[_0x58863e(0x520)](this['analyticsProviders'][_0x58863e(0x433)](_0x3987c9=>_0x3987c9[_0x58863e(0x581)](this['consentProvider'],this)));});}[_0x3dd67c(0x297)](){const _0x1c73c7=_0x3dd67c;this[_0x1c73c7(0x6b8)]=Date[_0x1c73c7(0x406)](),this[_0x1c73c7(0x5c7)](_0x1c73c7(0x4f2),{},_0x9cdbaf[_0x1c73c7(0x28a)]['P10DevelopAndImproveProducts']);}[_0x3dd67c(0x64e)](_0x1d5d19,_0x57cddf){const _0x47c01b=_0x3dd67c;return this[_0x47c01b(0x2f7)][_0x1d5d19]=_0x57cddf,this[_0x47c01b(0x514)](),_0x57cddf;}[_0x3dd67c(0x30b)](_0x24cd96,_0x3ebd6c){const _0x1c0172=_0x3dd67c,_0xef1d68=(this['data'][_0x24cd96]||0x0)+(void 0x0===_0x3ebd6c?0x1:_0x3ebd6c);return this[_0x1c0172(0x64e)](_0x24cd96,_0xef1d68),_0xef1d68;}['logEvent'](_0x372579,_0xde4e9c,_0x3626ef=_0x9cdbaf[_0x3dd67c(0x28a)][_0x3dd67c(0x3e9)],_0x2c5a4f=_0x9cdbaf[_0x3dd67c(0x28a)][_0x3dd67c(0x3e9)]){const _0x585bd9=_0x3dd67c;this[_0x585bd9(0x3f3)](_0x372579,void 0x0,_0xde4e9c,_0x3626ef,_0x2c5a4f);}[_0x3dd67c(0x22c)](_0x1ca37b,_0x329219,_0x2f339a,_0x546e4f=_0x9cdbaf['ConsentOptions'][_0x3dd67c(0x3e9)],_0x1a36a0=_0x9cdbaf[_0x3dd67c(0x28a)][_0x3dd67c(0x3e9)]){this['send'](_0x1ca37b,_0x329219,_0x2f339a,_0x546e4f,_0x1a36a0);}['logDiscoveryPageView'](_0x681346){const _0x27a82d=_0x3dd67c;this[_0x27a82d(0x3f3)](_0x27a82d(0x407),void 0x0,_0x681346,_0x9cdbaf[_0x27a82d(0x28a)][_0x27a82d(0x3e9)],_0x9cdbaf[_0x27a82d(0x28a)][_0x27a82d(0x3e9)]);}[_0x3dd67c(0x3a9)](){const _0x3926ab=_0x3dd67c;return this[_0x3926ab(0x531)]()['getPlaySessionId']();}['getGlobalUserId'](){const _0x1a2f78=_0x3dd67c;return this[_0x1a2f78(0x531)]()[_0x1a2f78(0x5d8)]();}[_0x3dd67c(0x4cf)](){const _0xa7a9dd=_0x3dd67c;return this[_0xa7a9dd(0x531)]()[_0xa7a9dd(0x4cf)]();}[_0x3dd67c(0x676)](_0x3802ec){const _0x5c7bca=_0x3dd67c;return this[_0x5c7bca(0x6c2)][_0x5c7bca(0x276)](_0x3802ec),()=>{const _0x148565=_0x5c7bca,_0x2bc66a=this[_0x148565(0x6c2)][_0x148565(0x3fd)](_0x3802ec);-0x1!==_0x2bc66a&&this[_0x148565(0x6c2)][_0x148565(0x229)](_0x2bc66a,0x1);};}[_0x3dd67c(0x64b)](_0x378081,_0x10004b,_0x3e758d){const _0x5c4a2f=_0x3dd67c,_0x102bea=new _0x43eeee(this[_0x5c4a2f(0x2f7)][_0x5c4a2f(0x5cd)]);if(_0x378081<=_0x102bea[_0x5c4a2f(0x65c)]())return void this[_0x5c4a2f(0x35a)][_0x5c4a2f(0x1f6)](_0x5c4a2f(0x3bb),_0x5c4a2f(0x437)+_0x378081+'\x20('+_0x10004b+_0x5c4a2f(0x682));_0x102bea['set1AtIndex'](_0x378081),this[_0x5c4a2f(0x64e)](_0x5c4a2f(0x5cd),_0x102bea[_0x5c4a2f(0x202)]());const _0x57a85b=Object[_0x5c4a2f(0x2ac)](Object['assign']({},_0x3e758d),{'step_number':_0x378081,'step_name':_0x10004b});this[_0x5c4a2f(0x5c7)](_0x5c4a2f(0x64b),_0x57a85b,_0x9cdbaf['ConsentOptions'][_0x5c4a2f(0x3ce)]|_0x9cdbaf[_0x5c4a2f(0x28a)][_0x5c4a2f(0x5ce)]|_0x9cdbaf['ConsentOptions']['P8MeasureContentPerformance']|_0x9cdbaf['ConsentOptions']['P9MarketResearchForAudienceInsights']|_0x9cdbaf['ConsentOptions']['P10DevelopAndImproveProducts']);}[_0x3dd67c(0x45d)](_0xa133f3,_0x33a8fc,_0x14c16a){return _0x13c710(this,void 0x0,void 0x0,function*(){const _0x4bfc9c=_0x2711,_0x4d16f3=yield this[_0x4bfc9c(0x239)][_0x4bfc9c(0x5d7)](this['FTUE_STEPS_DONE_KEY'],[]);if(_0x4d16f3[_0x4bfc9c(0x57c)](_0x40f733=>_0x40f733===_0xa133f3))return void this[_0x4bfc9c(0x35a)][_0x4bfc9c(0x1f6)](_0x4bfc9c(0x3bb),_0x4bfc9c(0x437)+_0xa133f3+'\x20('+_0x33a8fc+_0x4bfc9c(0x682));_0x4d16f3[_0x4bfc9c(0x276)](_0xa133f3),this['storage'][_0x4bfc9c(0x257)](this[_0x4bfc9c(0x3df)],_0x4d16f3);const _0x5d559c=Object[_0x4bfc9c(0x2ac)](Object['assign']({},_0x14c16a),{'step_number':_0xa133f3,'step_name':_0x33a8fc});this['logEvent']('ftue',_0x5d559c,_0x9cdbaf[_0x4bfc9c(0x28a)]['P6PersonalizedContent']|_0x9cdbaf[_0x4bfc9c(0x28a)][_0x4bfc9c(0x5ce)]|_0x9cdbaf[_0x4bfc9c(0x28a)][_0x4bfc9c(0x234)]|_0x9cdbaf[_0x4bfc9c(0x28a)][_0x4bfc9c(0x472)]|_0x9cdbaf[_0x4bfc9c(0x28a)][_0x4bfc9c(0x3a0)]);});}[_0x3dd67c(0x3ca)](_0xf62ec0,_0x6ef68){const _0x5ac7e3=_0x3dd67c,_0x3a0a4a=Object[_0x5ac7e3(0x2ac)](Object[_0x5ac7e3(0x2ac)]({},_0x6ef68),{'level_id':_0xf62ec0});this[_0x5ac7e3(0x64e)](_0x5ac7e3(0x4fb),Date[_0x5ac7e3(0x406)]()),this[_0x5ac7e3(0x30b)]('games_played');const _0x18dd8f=(function(){const _0x201a54=_0x5ac7e3,_0x39d6cd=new Date();return _0x39d6cd[_0x201a54(0x347)]()+'-'+_0x458b49(_0x39d6cd[_0x201a54(0x5f1)]()+0x1)+'-'+_0x458b49(_0x39d6cd[_0x201a54(0x40b)]());}());this[_0x5ac7e3(0x2f7)][_0x5ac7e3(0x3ff)]!==_0x18dd8f&&(this[_0x5ac7e3(0x64e)]('last_day_played',_0x18dd8f),this['inc'](_0x5ac7e3(0x26b)));const _0x1d9c0a=this[_0x5ac7e3(0x30b)](_0x5ac7e3(0x48d));this[_0x5ac7e3(0x22c)](_0x5ac7e3(0x2b4),_0x1d9c0a,_0x3a0a4a,_0x9cdbaf[_0x5ac7e3(0x28a)][_0x5ac7e3(0x234)]|_0x9cdbaf['ConsentOptions'][_0x5ac7e3(0x3a0)]);}[_0x3dd67c(0x371)](_0x4cccff,_0xea9a97){const _0x3486f6=_0x3dd67c,_0x320460=Object[_0x3486f6(0x2ac)](Object[_0x3486f6(0x2ac)]({},_0xea9a97),{'level_id':_0x4cccff});this[_0x3486f6(0x5c7)](_0x3486f6(0x603),_0x320460,_0x9cdbaf[_0x3486f6(0x28a)][_0x3486f6(0x234)]|_0x9cdbaf[_0x3486f6(0x28a)][_0x3486f6(0x3a0)]),this[_0x3486f6(0x64e)]('game_start_time',-0x1);}[_0x3dd67c(0x531)](){const _0x3022c7=_0x3dd67c;var _0x18637c,_0x4f24ee;return(null===(_0x4f24ee=(_0x18637c=this['idProvider'])['managesUnconsentedIds'])||void 0x0===_0x4f24ee?void 0x0:_0x4f24ee['call'](_0x18637c))||this[_0x3022c7(0x4ec)][_0x3022c7(0x2ed)](_0x9cdbaf[_0x3022c7(0x28a)]['P1StoreInformationOnADevice'],_0x9cdbaf[_0x3022c7(0x28a)]['None'])?this[_0x3022c7(0x494)]:this['randomIdProvider'];}}var _0x3aa7a5,_0x4a55af;const _0xa5cc29={'chromeWrapper':_0x3dd67c(0x3e3),'androidWrapper':_0x3dd67c(0x2b3),'iOSWrapper':_0x3dd67c(0x553),'rcs':_0x3dd67c(0x412),'samsungAppStore':_0x3dd67c(0x515),'facebookInstant':_0x3dd67c(0x66c),'facebookRooms':_0x3dd67c(0x62f),'facebookAppWeb':_0x3dd67c(0x38b),'facebookApp':'facebook_canvas','samsungBixby':'bixby','samsungGameLauncher':_0x3dd67c(0x68f),'samsungInstantPlay':'samsung_instant_play','spilGamesWrapper':_0x3dd67c(0x578),'vkru':_0x3dd67c(0x363),'okru':_0x3dd67c(0x413),'kik':'kik','twitter':_0x3dd67c(0x296),'twitch':'twitch','hago':_0x3dd67c(0x45c),'oppoGlobal':_0x3dd67c(0x2cd),'tMobile':_0x3dd67c(0x3b1),'huawei':'huawei','huaweiquickapp':'huawei_quick_app','yandex':_0x3dd67c(0x58a),'crazyGames':_0x3dd67c(0x20f),'lgtv':_0x3dd67c(0x29d),'jioStb':_0x3dd67c(0x555),'myJio':_0x3dd67c(0x674),'jioGameslite':_0x3dd67c(0x205),'rocketChat':_0x3dd67c(0x5b7),'ufone':'ufone','game8':_0x3dd67c(0x62c),'mailonline':_0x3dd67c(0x6c1),'discord':_0x3dd67c(0x475),'harman':'harman','microsoftPwa':_0x3dd67c(0x381)},_0x3b4af3=_0x3dd67c(0x54c),_0x4a0648={0x1db9442d3:'samsung_game_launcher',0x1c76d3513:'bixby',0xdcd226e6:_0x3dd67c(0x565),0xf1cdfac9:_0x3b4af3,0xc1088a4c:_0x3dd67c(0x2f4),0x1405f0c50:_0x3b4af3,0x13f9fccba:_0x3b4af3,0x2224e2ac3:_0x3b4af3,0x630c3722:_0x3b4af3,0x6a2fa83d:_0x3b4af3,0x5af52484:_0x3dd67c(0x43f),0x2218cd8be:_0x3dd67c(0x620),0x5d97def1:_0x3dd67c(0x616),0x16f1b418a:_0x3dd67c(0x5a2),0x239129fca:'huawei_quick_app',0x1242066c4:_0x3b4af3,0x14863fabf:_0x3b4af3,0x117673779:_0x3b4af3,0x1cf4261df:_0x3b4af3,0x158944b6a:_0x3b4af3,0x1d47865cc:'bixby',0x17313aac4:_0x3b4af3,0x227d1546d:_0x3b4af3,0x253ecf182:_0x3dd67c(0x617),0x6bea9361:_0x3b4af3,0x19a0b681b:_0x3b4af3,0x151a7b5d0:_0x3b4af3,0x1d5338f10:_0x3dd67c(0x2cd),0x19b95571a:_0x3dd67c(0x27c),0x400f9684:_0x3b4af3,0x11f748985:_0x3dd67c(0x485),0xe97bd72a:_0x3b4af3,0xb849bbd3:_0x3b4af3,0x236f09a78:_0x3b4af3,0x23cc94cb0:_0x3b4af3,0x20f47a373:_0x3b4af3,0x71fd112f:_0x3b4af3,0xce6a8b9c:_0x3b4af3,0xbb11603a:_0x3dd67c(0x578),0xd726535f:_0x3b4af3,0x1b0b36cc9:_0x3b4af3,0x1ec618c27:_0x3b4af3,0x11d9f1dde:_0x3b4af3,0x13c285bec:_0x3b4af3,0xfa1b10a3:_0x3b4af3,0x1c00c7f19:'ga',0x54aa0b0c:_0x3b4af3,0x179fc89e2:_0x3b4af3,0xbe101334:_0x3b4af3,0x1bae2c703:_0x3dd67c(0x4d0),0x16e1a6557:_0x3b4af3,0x8fa7e8d0:'spil',0x173d36c38:_0x3b4af3,0x81170b57:_0x3b4af3,0x1ab56e5fb:_0x3b4af3,0x1a82f71ed:_0x3b4af3,0x2354c2d06:_0x3b4af3,0x1ee1122db:_0x3dd67c(0x20f),0x1269567e5:_0x3b4af3,0xf51770e3:_0x3dd67c(0x1f9),0x236bf62bd:'mozilla_lite',0x188433182:_0x3b4af3,0x177d4a479:_0x3b4af3,0x1cc3a73db:_0x3b4af3,0x15320efb9:_0x3b4af3,0x106b7bac4:_0x3b4af3,0x20c1cd8e1:'mynet',0x18f762d37:_0x3b4af3,0x1e6c49e1e:_0x3b4af3,0x47c43dcb:_0x3b4af3,0x1fd0b613f:_0x3b4af3,0x1e26143ee:_0x3b4af3,0xb5cc45f1:_0x3b4af3,0x16be32724:_0x3b4af3,0x140e57421:_0x3b4af3,0x80748ad7:_0x3b4af3,0x10b20632e:_0x3b4af3,0x22271968a:_0x3b4af3,0x9cfba9dc:_0x3b4af3,0x155b433c4:_0x3b4af3,0x43bd382a:_0x3b4af3,0xe6953836:_0x3b4af3,0x194ccb869:_0x3b4af3,0xee7b4d38:_0x3dd67c(0x578),0x1f01c2943:_0x3b4af3,0x5a1ea06e:_0x3b4af3,0x13e257636:_0x3b4af3,0x1c7d1459c:_0x3b4af3,0x23432c347:_0x3b4af3,0x20686279d:_0x3b4af3,0x1ee07075b:'ga',0x5f706fc8:_0x3b4af3,0x191ac535d:_0x3b4af3,0xbb652582:_0x3dd67c(0x578),0xda363268:'legacy_all_samsung_browser',0x18dafbaa2:'ga',0x250c32b3e:_0x3b4af3,0xfb4c93d9:'ga',0x248bfffe6:_0x3b4af3,0xf5fe4a79:_0x3b4af3,0x249fe7de7:_0x3dd67c(0x3d6),0x626a706d:_0x3b4af3,0x8f306e16:_0x3b4af3,0xbfbfde8d:_0x3dd67c(0x412),0x1e9550520:_0x3b4af3,0x1b605ed9f:_0x3b4af3,0x71b8ff08:_0x3b4af3,0x1cb9e83c8:_0x3b4af3,0x18e54f854:_0x3b4af3,0x1e9fecd05:_0x3b4af3,0x225e9a40d:_0x3b4af3,0x180fe5898:'ga',0xc48ac6df:_0x3b4af3,0x7b2af39a:_0x3b4af3,0x23cd9938d:'spil',0x1438e7d0c:_0x3b4af3,0xdda56889:'ga',0x1a1d81ff9:_0x3b4af3,0x149d323d7:'spil',0x141810037:'spil',0x18e36ed12:_0x3b4af3,0x1e4ec0d4c:_0x3b4af3,0x135aa9192:'ga',0x919edab1:_0x3b4af3,0x24a985b66:_0x3b4af3,0x234852745:_0x3dd67c(0x578),0x203573496:'clickjogos',0x2452c1f25:'spil',0x14798144b:'spil',0x21e24b778:_0x3dd67c(0x578),0x135c380c6:_0x3b4af3,0x660aea27:_0x3dd67c(0x578),0x573fe409:_0x3dd67c(0x665),0x18c697f83:_0x3b4af3,0x1d42ab8e3:'spil',0xf97f200e:_0x3b4af3,0x5cf70d82:_0x3b4af3,0xfa1ff17c:'ga',0x1592eb5b9:_0x3b4af3,0x20ed6c4a2:_0x3b4af3,0x188e9f4ec:_0x3b4af3,0x217de3028:_0x3dd67c(0x672),0xb77e8d10:_0x3b4af3,0x5448ce78:_0x3dd67c(0x578),0x66a0d55c:_0x3dd67c(0x578),0x1c6a8123d:_0x3dd67c(0x4eb),0x1b0997479:_0x3dd67c(0x578),0x18ea168f6:_0x3dd67c(0x6bf),0x17ccd5d41:_0x3b4af3,0x194f772ac:_0x3dd67c(0x3a7),0xa215e79b:_0x3dd67c(0x578),0x165f70f70:_0x3b4af3,0x11bce4329:_0x3dd67c(0x578),0x1ec6487ad:_0x3b4af3,0x1240aa8c9:_0x3b4af3,0x14c0ccea9:'tron',0xc3402a38:_0x3dd67c(0x578),0x5577f907:_0x3dd67c(0x578),0x1d8682228:_0x3dd67c(0x384),0xd5d2ea60:_0x3dd67c(0x2b9),0xed60d91f:_0x3b4af3,0x1058c84f2:'spil',0x1f8ed51e1:_0x3dd67c(0x616),0x4edbb289:_0x3dd67c(0x578),0xd6e3d471:_0x3dd67c(0x616),0x21d866b23:_0x3b4af3,0x6fb09868:_0x3dd67c(0x42e),0x213ee2b77:'bixby',0x1b152e3fb:_0x3dd67c(0x3b1),0x401ba914:_0x3dd67c(0x3bc),0x417927da:_0x3b4af3,0x1e8bf4671:'xiaomi'},_0x132dae=_0x3dd67c(0x5ff)==typeof window?'':null!==(_0x4a55af=null===(_0x3aa7a5=window[_0x3dd67c(0x342)])||void 0x0===_0x3aa7a5?void 0x0:_0x3aa7a5[_0x3dd67c(0x53f)])&&void 0x0!==_0x4a55af?_0x4a55af:'',_0x4178d4=function(_0x3fa113,_0x5d1fed){const _0x5abe54=_0x3dd67c;let _0x4a2018=_0x5abe54(0x54c);for(const _0x190025 in _0xa5cc29)_0x3fa113[_0x190025]&&(_0x4a2018=_0xa5cc29[_0x190025]);const _0x31d6b4=_0x5d1fed();if(_0x31d6b4){const _0x289385=_0x4a0648[_0x31d6b4];_0x289385&&(_0x4a2018=_0x289385);}return(window[_0x5abe54(0x342)]&&window[_0x5abe54(0x342)]['host']&&_0x5abe54(0x3a3)===window[_0x5abe54(0x342)][_0x5abe54(0x51d)]||'internal.krunker.io'===window['location'][_0x5abe54(0x51d)])&&(_0x4a2018='krunker_io'),window[_0x5abe54(0x342)]&&window['location'][_0x5abe54(0x51d)]&&window[_0x5abe54(0x342)]['host'][_0x5abe54(0x341)](_0x5abe54(0x475))&&(_0x4a2018=_0x5abe54(0x475)),_0x4a2018;},_0x5955a7=function(_0x2ef953,_0x19d310){const _0x517eb1=_0x3dd67c;null!=_0x2ef953||(_0x2ef953=window['location']['href']),_0x19d310=_0x19d310[_0x517eb1(0x1f5)](/[\[\]]/g,_0x517eb1(0x448));const _0x164204=new RegExp('[?&]'+_0x19d310+_0x517eb1(0x4cd),'i')['exec'](_0x2ef953);return _0x164204?_0x164204[0x2]?decodeURIComponent(_0x164204[0x2][_0x517eb1(0x1f5)](/\+/g,'\x20')):'':null;},_0x4904b3=(_0x67eff6,_0xd22f0a)=>function(_0x1e9161,_0x6365ec,_0x5c2b89,_0x5da5e7){const _0x4bd294=_0x3dd67c,_0x4d225d={};return _0x67eff6&&(_0x4d225d[_0x67eff6]=!0x0),_0x4d225d[_0x4bd294(0x2b3)]=/(android)/i[_0x4bd294(0x421)](_0x5c2b89)&&!/(Windows)/i[_0x4bd294(0x421)](_0x5c2b89),_0x4d225d['androidVersion']=(function(){const _0x441019=_0x4bd294,_0x253eea=navigator[_0x441019(0x652)][_0x441019(0x40c)]()[_0x441019(0x3f9)](/android\s([0-9\.]*)/);return parseFloat(_0x253eea?_0x253eea[0x1]:'0');}()),_0x4d225d[_0x4bd294(0x6a7)]=/(Mobile)/i['test'](_0x5c2b89)&&/(Firefox)/i[_0x4bd294(0x421)](_0x5c2b89),_0x4d225d[_0x4bd294(0x386)]=_0x4d225d[_0x4bd294(0x2b3)]&&_0x4d225d[_0x4bd294(0x678)]<0x6,_0x4d225d[_0x4bd294(0x4d4)]=/(ipod|iphone|ipad)/i[_0x4bd294(0x421)](_0x5c2b89)||/(Macintosh)/i[_0x4bd294(0x421)](_0x5c2b89)&&'ontouchend'in document,_0x4d225d[_0x4bd294(0x5e2)]=/(IEMobile)/i['test'](_0x5c2b89),_0x4d225d[_0x4bd294(0x5ef)]=/(silk)/i[_0x4bd294(0x421)](_0x5c2b89),_0x4d225d[_0x4bd294(0x39e)]=/(clay\.io)/i['test'](_0x5da5e7),_0x4d225d[_0x4bd294(0x639)]=/(fb_canvas)/i['test'](_0x5da5e7),_0x4d225d['facebookAppWeb']=/(fb_canvas_web)/i[_0x4bd294(0x421)](_0x5da5e7),_0x4d225d['iframed']=_0x1e9161[_0x4bd294(0x390)]!==_0x1e9161[_0x4bd294(0x62a)],_0x4d225d[_0x4bd294(0x5b1)]=_0x4bd294(0x5b1)in _0x6365ec&&_0x6365ec[_0x4bd294(0x5b1)],_0x4d225d['mobileiOSDevice']=Boolean(_0x5c2b89[_0x4bd294(0x3f9)](/iPhone/i)||_0x5c2b89['match'](/iPod/i)),_0x4d225d[_0x4bd294(0x2e6)]=/(kongregateiframe)/i[_0x4bd294(0x421)](_0x5da5e7),_0x4d225d[_0x4bd294(0x47e)]=/(kik_canvas)/i['test'](_0x5da5e7),_0x4d225d[_0x4bd294(0x296)]=/(twitter)/gi['test'](_0x5c2b89),_0x4d225d[_0x4bd294(0x47b)]=/Chrome\//[_0x4bd294(0x421)](_0x5c2b89),_0x4d225d['safari']=!!navigator[_0x4bd294(0x652)]['match'](/Version\/[\d\.]+.*Safari/),_0x4d225d[_0x4bd294(0x336)]=0x0==window['location']['protocol'][_0x4bd294(0x3fd)](_0x4bd294(0x495)),_0x4d225d[_0x4bd294(0x4a2)]=!!window[_0x4bd294(0x25e)],_0x4d225d[_0x4bd294(0x541)]=!!window[_0x4bd294(0x219)],_0x4d225d[_0x4bd294(0x368)]=/(spilgames)/i[_0x4bd294(0x421)](_0x5da5e7),_0x4d225d[_0x4bd294(0x4af)]='on'==_0x5955a7(_0xd22f0a,'social'),_0x4d225d[_0x4bd294(0x312)]=_0x4bd294(0x573)==_0x5955a7(_0xd22f0a,_0x4bd294(0x332)),_0x4d225d[_0x4bd294(0x6a3)]=_0x4bd294(0x573)==_0x5955a7(_0xd22f0a,_0x4bd294(0x3d5)),_0x4d225d['advertisementOverlayEnabled']=!_0x4d225d['iframed']||_0x4d225d[_0x4bd294(0x368)]||Boolean(_0x5955a7(_0xd22f0a,_0x4bd294(0x4e1))),_0x4d225d[_0x4bd294(0x28d)]='1'==_0x5955a7(_0xd22f0a,_0x4bd294(0x28d)),_0x4d225d[_0x4bd294(0x237)]=/(\/\?fb)/i[_0x4bd294(0x421)](_0x5da5e7),_0x4d225d[_0x4bd294(0x402)]=_0x4d225d[_0x4bd294(0x2b3)]||_0x4d225d[_0x4bd294(0x5e2)]||_0x4d225d[_0x4bd294(0x4d4)]||_0x4d225d[_0x4bd294(0x5ef)]||_0x4d225d['firefoxMobile'],_0x4d225d[_0x4bd294(0x2f2)]=!!_0x1e9161[_0x4bd294(0x2f2)],_0x4d225d[_0x4bd294(0x47f)]='true'==_0x5955a7(_0xd22f0a,_0x4bd294(0x47f)),_0x4d225d[_0x4bd294(0x280)]=_0x4bd294(0x25b)==_0x5955a7(_0xd22f0a,_0x4bd294(0x35f)),_0x4d225d[_0x4bd294(0x562)]=!!_0x1e9161['androidWrapper'],_0x4d225d[_0x4bd294(0x646)]=!!_0x1e9161[_0x4bd294(0x551)],_0x4d225d[_0x4bd294(0x535)]='samsung'==_0x5955a7(_0xd22f0a,_0x4bd294(0x5b3)),_0x4d225d[_0x4bd294(0x527)]=Boolean(_0x1e9161[_0x4bd294(0x2f2)]||_0x1e9161[_0x4bd294(0x562)]||_0x4d225d[_0x4bd294(0x535)]),_0x4d225d[_0x4bd294(0x667)]=!0x1,_0x4d225d[_0x4bd294(0x3ef)]=!0x1,_0x4d225d[_0x4bd294(0x4f5)]=!!_0x4d225d[_0x4bd294(0x268)],_0x4d225d[_0x4bd294(0x422)]=!!_0x4d225d[_0x4bd294(0x34b)],_0x4d225d['jioGameslite']=!!_0x4d225d[_0x4bd294(0x450)],_0x4d225d[_0x4bd294(0x200)]=_0x4d225d[_0x4bd294(0x4f5)]||_0x4d225d[_0x4bd294(0x422)]||_0x4d225d[_0x4bd294(0x4ac)],_0x4d225d[_0x4bd294(0x3bf)]=''==_0x5955a7(_0xd22f0a,_0x4bd294(0x3bf)),_0x4d225d['vkru']=''==_0x5955a7(_0xd22f0a,_0x4bd294(0x363)),_0x4d225d[_0x4bd294(0x413)]=''==_0x5955a7(_0xd22f0a,'okru'),_0x4d225d['tMobile']=''==_0x5955a7(_0xd22f0a,_0x4bd294(0x3b1)),_0x4d225d[_0x4bd294(0x524)]=''==_0x5955a7(_0xd22f0a,_0x4bd294(0x524)),_0x4d225d[_0x4bd294(0x32e)]=''==_0x5955a7(_0xd22f0a,_0x4bd294(0x635)),_0x4d225d[_0x4bd294(0x629)]=!0x0,_0x4d225d['samsungGalaxyStorePWA']=''==_0x5955a7(_0xd22f0a,_0x4bd294(0x53d))&&_0x4bd294(0x349)==_0x5955a7(_0xd22f0a,_0x4bd294(0x5e8)),_0x4d225d[_0x4bd294(0x584)]=(''==_0x5955a7(_0xd22f0a,'pwa')||''==_0x5955a7(_0xd22f0a,_0x4bd294(0x53d)))&&'gamelauncher'==_0x5955a7(_0xd22f0a,_0x4bd294(0x5e8)),_0x4d225d['samsungGameLauncher']=!!window[_0x4bd294(0x55e)]||(''==_0x5955a7(_0xd22f0a,_0x4bd294(0x36b))||'gamelauncher'==_0x5955a7(_0xd22f0a,_0x4bd294(0x5e8))),_0x4d225d[_0x4bd294(0x50d)]=''==_0x5955a7(_0xd22f0a,_0x4bd294(0x53d))&&!_0x4d225d['samsungGalaxyStorePWA'],_0x4d225d[_0x4bd294(0x302)]=''==_0x5955a7(_0xd22f0a,_0x4bd294(0x4ff)),_0x4d225d[_0x4bd294(0x4e7)]=''==_0x5955a7(_0xd22f0a,_0x4bd294(0x21c)),_0x4d225d['samsungBrowserSEA']=''==_0x5955a7(_0xd22f0a,_0x4bd294(0x2c5)),_0x4d225d['samsungBrowser']=''==_0x5955a7(_0xd22f0a,_0x4bd294(0x671)),_0x4d225d['samsungGLFallback']=''==_0x5955a7(_0xd22f0a,'gl_fallback'),_0x4d225d[_0x4bd294(0x4d7)]=!!window['GSInstant'],_0x4d225d[_0x4bd294(0x53d)]=_0x4d225d[_0x4bd294(0x25c)]||_0x4d225d[_0x4bd294(0x584)]||_0x4d225d['samsungGameLauncher']||_0x4d225d[_0x4bd294(0x50d)]||_0x4d225d[_0x4bd294(0x302)]||_0x4d225d['samsungBrowserUK']||_0x4d225d[_0x4bd294(0x4e7)]||_0x4d225d[_0x4bd294(0x54e)]||_0x4d225d[_0x4bd294(0x534)]||_0x4d225d[_0x4bd294(0x4ed)]||_0x4d225d[_0x4bd294(0x4d7)],_0x4d225d[_0x4bd294(0x412)]=Boolean(_0x5955a7(_0xd22f0a,_0x4bd294(0x4b1))),_0x4d225d[_0x4bd294(0x284)]=''==_0x5955a7(_0xd22f0a,_0x4bd294(0x329)),_0x4d225d[_0x4bd294(0x212)]=''==_0x5955a7(_0xd22f0a,_0x4bd294(0x212)),_0x4d225d[_0x4bd294(0x485)]=''==_0x5955a7(_0xd22f0a,_0x4bd294(0x485))||_0x4d225d[_0x4bd294(0x212)],_0x4d225d[_0x4bd294(0x59d)]=''==_0x5955a7(_0xd22f0a,_0x4bd294(0x59d)),_0x4d225d[_0x4bd294(0x415)]=''==_0x5955a7(_0xd22f0a,'miniclip'),_0x4d225d['chromeOSDevice']=_0x4bd294(0x25b)==_0x5955a7(_0xd22f0a,_0x4bd294(0x2e2)),_0x4d225d[_0x4bd294(0x545)]=!!_0x1e9161['opr']&&!!_0x1e9161[_0x4bd294(0x5a1)][_0x4bd294(0x3d4)]||!!_0x1e9161[_0x4bd294(0x545)]||_0x5c2b89['indexOf'](_0x4bd294(0x537))>=0x0,_0x4d225d[_0x4bd294(0x58a)]=!!window[_0x4bd294(0x599)],_0x4d225d[_0x4bd294(0x379)]=void 0x0!==_0x1e9161[_0x4bd294(0x542)],_0x4d225d['edge']=/(edge|edgios|edga)\/((\d+)?[\w\.]+)/i['test'](_0x5c2b89),_0x4d225d[_0x4bd294(0x37a)]=''==_0x5955a7(_0xd22f0a,_0x4bd294(0x486)),_0x4d225d[_0x4bd294(0x317)]=''==_0x5955a7(_0xd22f0a,'lgtv'),_0x4d225d['crazyGames']='8289067739'==_0x5955a7(_0xd22f0a,_0x4bd294(0x4e1)),_0x4d225d[_0x4bd294(0x5c9)]=''==_0x5955a7(_0xd22f0a,_0x4bd294(0x5c9)),_0x4d225d[_0x4bd294(0x49f)]=_0x4bd294(0x2ef)==_0x5955a7(_0xd22f0a,'partnerid'),_0x4d225d['game8']=''==_0x5955a7(_0xd22f0a,'game8'),_0x4d225d[_0x4bd294(0x3a7)]=_0x4bd294(0x48f)==_0x5955a7(_0xd22f0a,_0x4bd294(0x4e1)),_0x4d225d[_0x4bd294(0x37c)]=''==_0x5955a7(_0xd22f0a,_0x4bd294(0x37c)),_0x4d225d['partnerWrapper']=!_0x4d225d[_0x4bd294(0x37c)]&&(_0x4d225d[_0x4bd294(0x5c9)]||_0x4d225d['tMobile']||_0x4d225d[_0x4bd294(0x49f)]||_0x4d225d[_0x4bd294(0x3a7)])&&(_0x4d225d['iOS']||_0x4d225d[_0x4bd294(0x2b3)]),_0x4d225d[_0x4bd294(0x52d)]=''==_0x5955a7(_0xd22f0a,'rocketchat'),_0x4d225d['discord']=_0x4bd294(0x475)===_0x67eff6,_0x4d225d['harman']=''==_0x5955a7(_0xd22f0a,_0x4bd294(0x690)),_0x4d225d['progressiveWebAppEnabled']=!(_0x4d225d[_0x4bd294(0x552)]||_0x4d225d[_0x4bd294(0x46d)]||_0x4d225d['appWrapper']||_0x4d225d[_0x4bd294(0x3bf)]||_0x4d225d[_0x4bd294(0x363)]||_0x4d225d[_0x4bd294(0x413)]||_0x4d225d[_0x4bd294(0x4a2)]||_0x4d225d[_0x4bd294(0x435)]),_0x4d225d['tv']=_0x4d225d[_0x4bd294(0x4f5)]||_0x4d225d['lgTV'],_0x4d225d[_0x4bd294(0x619)]=''==_0x5955a7(_0xd22f0a,_0x4bd294(0x490))||!!_0x5955a7(_0xd22f0a,'msstart_sdk_init'),_0x4d225d;}(window,navigator,navigator[_0x3dd67c(0x652)],String(window[_0x3dd67c(0x342)])),_0x2c9a70={'getChannel':function(_0x966579,_0x5502de,_0xd51cf8){let _0x4d02c6,_0x1ea883;return()=>{if(_0x4d02c6)return _0x4d02c6;var _0x7865df,_0xd62c7a,_0xe1c903;null!=_0x1ea883||(_0x1ea883=_0x4904b3(_0x966579,_0x132dae)),null!=_0xd51cf8||(_0x7865df=_0x132dae,_0xd62c7a=_0x1ea883,_0xe1c903=_0x5502de||{},_0xd51cf8=()=>function(_0x5c5a68,_0x3918af,_0xc6380b){const _0x431d91=_0x2711,_0x4149c0=_0x5955a7(_0x5c5a68,'partnerid');if(_0x4149c0)return _0x4149c0;const _0x51a040=[[_0x431d91(0x534),'3660984936'],[_0x431d91(0x412),_0x431d91(0x5d3)],[_0x431d91(0x212),_0x431d91(0x2e0)],[_0x431d91(0x485),_0x431d91(0x662)],[_0x431d91(0x3e0),'7269966843'],[_0x431d91(0x415),_0x431d91(0x38c)],[_0x431d91(0x54e),'2765561693'],[_0x431d91(0x4e7),'1526015108'],['samsungBrowserUK','2961002817'],[_0x431d91(0x59d),_0x431d91(0x46b)],['samsungBixby','7640790291'],[_0x431d91(0x25c),_0x431d91(0x366)],[_0x431d91(0x584),_0x431d91(0x451)],[_0x431d91(0x4d7),_0x431d91(0x673)]];for(const [_0x49b11a,_0x28b953]of _0x51a040)if(_0x3918af[_0x49b11a])return _0x28b953;const _0x24f57e={'ft_daily':_0x431d91(0x3d9),'ft_bixby':'7859627468','ft_browser_us':'7627870781','ft_browser_uk':_0x431d91(0x3c9),'default':_0x431d91(0x357)},_0x3c1d0a={'ft_daily':_0x431d91(0x3ae),'ft_bixby':_0x431d91(0x5fa),'ft_browser_us':_0x431d91(0x39a),'ft_browser_uk':_0x431d91(0x2fe),'default':_0x431d91(0x23d)};return _0x3918af[_0x431d91(0x279)]?_0x24f57e[_0x5955a7(_0x5c5a68,_0x431d91(0x5e8))]||_0x24f57e[_0x431d91(0x36c)]:_0x5955a7(_0x5c5a68,'gl_fallback')||''===_0x5955a7(_0x5c5a68,_0x431d91(0x6b2))?_0x3c1d0a[_0x5955a7(_0x5c5a68,_0x431d91(0x5e8))]||_0x3c1d0a['default']:_0x3918af[_0x431d91(0x368)]&&_0xc6380b[_0x431d91(0x5cc)]?_0xc6380b[_0x431d91(0x5cc)]:!!_0xc6380b[_0x431d91(0x3f7)]&&_0xc6380b[_0x431d91(0x3f7)];}(_0x7865df,_0xd62c7a,_0xe1c903));const _0x4f419f=_0x4178d4(_0x1ea883,_0xd51cf8);return _0x4d02c6=_0x4f419f,_0x4f419f;};}('',{})},_0x1bde26={'getName':()=>_0x3dd67c(0x334),'init':()=>_0x13c710(void 0x0,void 0x0,void 0x0,function*(){}),'configure':()=>_0x13c710(void 0x0,void 0x0,void 0x0,function*(){}),'isReady':()=>!0x1,'getCatalog':()=>({}),'getProductById':()=>{},'purchase':()=>_0x13c710(void 0x0,void 0x0,void 0x0,function*(){const _0x190563=_0x3dd67c;throw new Error(_0x190563(0x496));}),'consumePurchase':()=>{const _0x12d104=_0x3dd67c;throw new Error(_0x12d104(0x496));},'getUnconsumedPurchases':()=>_0x13c710(void 0x0,void 0x0,void 0x0,function*(){return[];}),'onIsReadyChanged':function(){}},_0x37ade8={'logEvent':()=>{},'logValuedEvent':()=>{}};class _0x50037c{constructor(_0xb2c550,_0x51b206){const _0x560bdd=_0x3dd67c;this['analytics']=_0xb2c550,this[_0x560bdd(0x633)]=_0x51b206;}[_0x3dd67c(0x244)](_0xa7436d,_0x4f49bb){const _0x3bd200=_0x3dd67c;this[_0x3bd200(0x306)][_0x3bd200(0x22c)](_0x3bd200(0x479),0x1,Object[_0x3bd200(0x2ac)](Object[_0x3bd200(0x2ac)]({},_0xa7436d),{'err':_0x4f49bb}));}['logRequestPaymentSuccess'](_0x3f89ee,_0x24a8b0){const _0x4d7f87=_0x3dd67c;this[_0x4d7f87(0x306)][_0x4d7f87(0x22c)](_0x4d7f87(0x35b),0x1,Object[_0x4d7f87(0x2ac)](Object[_0x4d7f87(0x2ac)]({},_0x3f89ee),{'purchaseId':_0x24a8b0[_0x4d7f87(0x462)]}));}['logRequestPayment'](_0x17c76d){const _0x53f8a0=_0x3dd67c;this[_0x53f8a0(0x306)][_0x53f8a0(0x22c)]('iap_request_payment',0x1,Object[_0x53f8a0(0x2ac)]({},_0x17c76d));}[_0x3dd67c(0x208)](_0x473b91,_0x3f3c3a){const _0x185075=_0x3dd67c;this['analytics']['logValuedEvent']('iap_consume_purchase',0x1,Object['assign'](Object[_0x185075(0x2ac)]({},_0x473b91),{'purchaseId':_0x3f3c3a[_0x185075(0x462)]}));}['logRestorePurchasesError'](_0x38770d){const _0x4e9220=_0x3dd67c;this[_0x4e9220(0x306)][_0x4e9220(0x22c)](_0x4e9220(0x6b3),0x1,{'provider':this[_0x4e9220(0x633)],'err':_0x38770d});}[_0x3dd67c(0x2e3)](){const _0x501e09=_0x3dd67c;this[_0x501e09(0x306)][_0x501e09(0x22c)](_0x501e09(0x5dc),0x1,{'provider':this[_0x501e09(0x633)]});}[_0x3dd67c(0x4e0)](){const _0x51857a=_0x3dd67c;this[_0x51857a(0x306)][_0x51857a(0x22c)](_0x51857a(0x521),0x1,{'provider':this[_0x51857a(0x633)]});}}var _0x517b30;_0x9cdbaf[_0x3dd67c(0x331)]=void 0x0,(_0x517b30=_0x9cdbaf['IAPErrorCode']||(_0x9cdbaf[_0x3dd67c(0x331)]={}))['UNKNOWN']=_0x3dd67c(0x4e5),_0x517b30[_0x3dd67c(0x453)]=_0x3dd67c(0x453),_0x517b30[_0x3dd67c(0x590)]=_0x3dd67c(0x590),_0x517b30[_0x3dd67c(0x376)]=_0x3dd67c(0x376);class _0x1445e3 extends Error{constructor(_0x5cb6eb,_0x402dc0,_0x6c39b4=_0x9cdbaf[_0x3dd67c(0x331)]['UNKNOWN']){const _0x578214=_0x3dd67c;super(_0x5cb6eb,_0x402dc0),this['code']=_0x6c39b4,Object[_0x578214(0x38e)](this,_0x1445e3[_0x578214(0x383)]);}}class _0x39d58d extends _0x1445e3{constructor(_0x1db3b1,_0x1e674c){const _0x247a99=_0x3dd67c;super(_0x1db3b1,_0x1e674c,_0x9cdbaf[_0x247a99(0x331)][_0x247a99(0x590)]),Object['setPrototypeOf'](this,_0x39d58d[_0x247a99(0x383)]);}}class _0x16775f extends _0x1445e3{constructor(_0x12707c=_0x3dd67c(0x3f1),_0x49cd38){const _0x2ebdc2=_0x3dd67c;super(_0x12707c,_0x49cd38,_0x9cdbaf['IAPErrorCode'][_0x2ebdc2(0x453)]),Object[_0x2ebdc2(0x38e)](this,_0x16775f[_0x2ebdc2(0x383)]);}}class _0x4d8ba0 extends _0x1445e3{constructor(_0x41223e=_0x3dd67c(0x656),_0x3ab607){const _0x1b2242=_0x3dd67c;super(_0x41223e,_0x3ab607,_0x9cdbaf['IAPErrorCode'][_0x1b2242(0x376)]),Object['setPrototypeOf'](this,_0x4d8ba0[_0x1b2242(0x383)]);}}var _0x363c69=Object[_0x3dd67c(0x5de)]({'__proto__':null,get 'IAPErrorCode'(){const _0x3955a9=_0x3dd67c;return _0x9cdbaf[_0x3955a9(0x331)];},'IAPError':_0x1445e3,'IAPPurchaseErrorUnknownProduct':_0x39d58d,'IAPPurchaseErrorCancelledByUser':_0x16775f,'IAPPurchaseErrorAlreadyOwned':_0x4d8ba0});class _0x17eb1b{constructor(_0x4dc305){const _0x5e0b0a=_0x3dd67c;this[_0x5e0b0a(0x254)]=_0x363c69,this[_0x5e0b0a(0x637)]=_0x4dc305['provider']||_0x1bde26,this['iapTracker']=new _0x50037c(_0x4dc305[_0x5e0b0a(0x292)]||_0x37ade8,this[_0x5e0b0a(0x637)]['getName']()),this[_0x5e0b0a(0x35a)]=_0x4dc305[_0x5e0b0a(0x35a)]||_0x98a3fc;}[_0x3dd67c(0x581)](){const _0x16bd79=_0x3dd67c;return this[_0x16bd79(0x637)][_0x16bd79(0x581)]();}[_0x3dd67c(0x2bc)](_0x2f4651){const _0x4e3e4e=_0x3dd67c;return this['provider'][_0x4e3e4e(0x2bc)](_0x2f4651);}[_0x3dd67c(0x2ab)](){const _0x339221=_0x3dd67c;return this[_0x339221(0x637)][_0x339221(0x2ab)]();}[_0x3dd67c(0x22a)](_0x591741){const _0x4c3f77=_0x3dd67c;this[_0x4c3f77(0x637)][_0x4c3f77(0x4b3)](_0x591741);}[_0x3dd67c(0x518)](){const _0x9eb490=_0x3dd67c;return this[_0x9eb490(0x637)][_0x9eb490(0x2f6)]();}[_0x3dd67c(0x41f)](){const _0x4368ae=_0x3dd67c;return this[_0x4368ae(0x637)][_0x4368ae(0x41f)]();}['getProductById'](_0x40a8bd){const _0x4a6962=_0x3dd67c;var _0x4d29b1;const _0x15df24=this[_0x4a6962(0x637)]['getProductById'](_0x40a8bd);if(!_0x15df24)return void this['logger'][_0x4a6962(0x48a)](_0x4a6962(0x404),_0x40a8bd);const _0xbde7e2=null!==(_0x4d29b1=_0x15df24[_0x4a6962(0x251)])&&void 0x0!==_0x4d29b1?_0x4d29b1:_0x15df24[_0x4a6962(0x364)]+'\x20'+_0x15df24[_0x4a6962(0x49c)];return Object[_0x4a6962(0x2ac)](Object[_0x4a6962(0x2ac)]({},_0x15df24),{'price':_0xbde7e2,'provider':this[_0x4a6962(0x637)][_0x4a6962(0x2f6)](),'productId':_0x40a8bd});}['purchase'](_0x1464ed,_0x4f56eb){return _0x13c710(this,void 0x0,void 0x0,function*(){const _0x590719=_0x2711,_0x498c4e=this[_0x590719(0x28c)](_0x1464ed);if(this[_0x590719(0x4b6)][_0x590719(0x580)](_0x498c4e),!_0x498c4e)throw new _0x39d58d(_0x590719(0x567)+_0x1464ed+'\x22');try{const _0x213380=yield this[_0x590719(0x637)]['purchase'](_0x1464ed,_0x4f56eb);return this[_0x590719(0x4b6)][_0x590719(0x2ce)](_0x498c4e,_0x213380),_0x213380;}catch(_0x4557e9){const _0x134f30=_0x4557e9[_0x590719(0x649)]||_0x4557e9[_0x590719(0x3b5)]();if(this['iapTracker'][_0x590719(0x244)](_0x498c4e,_0x134f30),_0x4557e9 instanceof _0x16775f)throw this[_0x590719(0x35a)][_0x590719(0x589)](_0x590719(0x3f1)),_0x4557e9;throw this['logger'][_0x590719(0x48a)](_0x590719(0x337)+_0x134f30,_0x4557e9),new _0x1445e3(_0x590719(0x23c),{'cause':_0x4557e9});}});}[_0x3dd67c(0x4d2)](_0x3450e6){return _0x13c710(this,void 0x0,void 0x0,function*(){const _0x376815=_0x2711,_0x399e56=this['getProductById'](_0x3450e6[_0x376815(0x20a)]);this['iapTracker'][_0x376815(0x208)](_0x399e56,_0x3450e6);try{yield this[_0x376815(0x637)][_0x376815(0x4d2)](_0x3450e6);}catch(_0x2ab944){throw new _0x1445e3(_0x376815(0x38d),{'cause':_0x2ab944});}return _0x3450e6[_0x376815(0x462)];});}[_0x3dd67c(0x1fb)](){return _0x13c710(this,void 0x0,void 0x0,function*(){const _0x2fee4d=_0x2711;this[_0x2fee4d(0x4b6)][_0x2fee4d(0x4e0)]();try{const _0x1db7f0=yield this[_0x2fee4d(0x637)]['getUnconsumedPurchases']();return this[_0x2fee4d(0x4b6)][_0x2fee4d(0x2e3)](),_0x1db7f0;}catch(_0x528f89){const _0x1d8c12=_0x528f89[_0x2fee4d(0x649)]||_0x528f89[_0x2fee4d(0x3b5)]();this[_0x2fee4d(0x4b6)][_0x2fee4d(0x24c)](_0x1d8c12),this['logger'][_0x2fee4d(0x48a)](_0x2fee4d(0x4c6)+_0x1d8c12,_0x528f89);}return[];});}[_0x3dd67c(0x52f)](_0x36256d,_0x307f04){return this['purchase'](_0x36256d,_0x307f04);}[_0x3dd67c(0x398)](){const _0x2c5edd=_0x3dd67c;return this[_0x2c5edd(0x637)][_0x2c5edd(0x398)]?(this[_0x2c5edd(0x4b6)][_0x2c5edd(0x4e0)](),this[_0x2c5edd(0x637)][_0x2c5edd(0x398)]()):this[_0x2c5edd(0x1fb)]();}[_0x3dd67c(0x519)](){const _0x1d2daa=_0x3dd67c;return this[_0x1d2daa(0x1fb)]();}}class _0x473336{constructor(_0x1c2c1b){const _0x2cbb78=_0x3dd67c;var _0x11d09e;this[_0x2cbb78(0x5cf)]=_0x1c2c1b[_0x2cbb78(0x5cf)],this[_0x2cbb78(0x55d)]=_0x1c2c1b[_0x2cbb78(0x55d)],this[_0x2cbb78(0x65e)]=_0x1c2c1b['gameId'],this[_0x2cbb78(0x666)]=null!==(_0x11d09e=_0x1c2c1b[_0x2cbb78(0x32b)])&&void 0x0!==_0x11d09e?_0x11d09e:_0x1c2c1b[_0x2cbb78(0x39d)]===_0x9cdbaf[_0x2cbb78(0x270)][_0x2cbb78(0x255)]?'https://crucible.frvr.com/v1/iap':'https://staging.crucible.frvr.com/v1/iap';}['fetch'](_0x5458a2,_0x30242f){const _0x469865=_0x3dd67c;return this['auth'][_0x469865(0x20c)](this['apiHost']+'/'+this[_0x469865(0x55d)]+'/'+_0x5458a2,_0x30242f);}[_0x3dd67c(0x519)](){const _0x50e652=_0x3dd67c;return this['auth']['authenticatedFetch'](this[_0x50e652(0x666)]+_0x50e652(0x2b0)+this[_0x50e652(0x5cf)]['getFRVRID'](),{'method':_0x50e652(0x285),'body':'{}'})['then'](this[_0x50e652(0x69c)]);}['validatePurchase'](_0x3886f5,_0x6ee383={}){const _0x404c63=_0x3dd67c;return this[_0x404c63(0x5cf)][_0x404c63(0x20c)](this['apiHost']+_0x404c63(0x22e)+this['channelId']+'/'+this[_0x404c63(0x65e)],Object[_0x404c63(0x2ac)]({'method':_0x404c63(0x4da),'body':JSON['stringify'](_0x3886f5)},_0x6ee383))[_0x404c63(0x60f)](this['validateAndReturnJSON']);}[_0x3dd67c(0x4d2)](_0x4edd0a,_0x104b59){const _0x1a3f3f=_0x3dd67c;return this[_0x1a3f3f(0x5cf)][_0x1a3f3f(0x20c)](this['apiHost']+_0x1a3f3f(0x35c)+this[_0x1a3f3f(0x55d)]+'/'+this[_0x1a3f3f(0x65e)],{'method':_0x1a3f3f(0x4da),'body':JSON['stringify']({'applicationId':_0x4edd0a,'transactionId':_0x104b59})})['then'](this[_0x1a3f3f(0x69c)]);}[_0x3dd67c(0x3e2)](){const _0x4126c6=_0x3dd67c;return fetch(this['apiHost']+_0x4126c6(0x419)+this[_0x4126c6(0x55d)]+'/'+this[_0x4126c6(0x65e)],{'method':'GET'})[_0x4126c6(0x60f)](this[_0x4126c6(0x69c)]);}[_0x3dd67c(0x69c)](_0x393e73){const _0x10419f=_0x3dd67c;if(!_0x393e73['ok'])throw new Error(_0x10419f(0x65a)+_0x393e73[_0x10419f(0x23b)]+'\x20'+_0x393e73[_0x10419f(0x393)]);return _0x393e73[_0x10419f(0x23e)]();}}class _0xb0677e{['scheduleMessage'](_0x288645){return _0x13c710(this,void 0x0,void 0x0,function*(){const _0x47a29c=_0x2711,_0x1d8782=yield fetch(_0x47a29c(0x38a),{'method':'POST','headers':{'Accept':_0x47a29c(0x397),'Content-Type':_0x47a29c(0x397)},'body':JSON[_0x47a29c(0x2a0)](_0x288645)});return yield _0x1d8782['json']();});}}const _0x35aa7c={'logEvent':()=>{}};class _0x456491{constructor({provider:_0x48aa66,logger:_0x4b273e,tracker:_0x249ce8=_0x35aa7c}){const _0x2470d2=_0x3dd67c;this[_0x2470d2(0x20e)]=!0x1,this[_0x2470d2(0x637)]=_0x48aa66,this[_0x2470d2(0x35a)]=_0x4b273e,this['chatbot']=new _0xb0677e(),this[_0x2470d2(0x292)]=_0x249ce8;}[_0x3dd67c(0x581)](){return _0x13c710(this,void 0x0,void 0x0,function*(){const _0x2c8c00=_0x2711;this['game']?this[_0x2c8c00(0x20e)]=!0x0:this[_0x2c8c00(0x35a)][_0x2c8c00(0x48a)](_0x2c8c00(0x203));});}['configure'](_0x386055){return _0x13c710(this,void 0x0,void 0x0,function*(){const _0x1cc823=_0x2711;this[_0x1cc823(0x3d8)]=_0x386055['game'];});}['scheduleMessage'](_0x3ed76f){return _0x13c710(this,void 0x0,void 0x0,function*(){const _0x5620fa=_0x2711;if(!this[_0x5620fa(0x20e)])throw this[_0x5620fa(0x35a)][_0x5620fa(0x48a)]('Chatbot\x20can\x20not\x20be\x20used\x20until\x20it\x20has\x20been\x20initialized'),new Error('INVALID_OPERATION');const _0x799af2={'game':this['game'],'platform':this['provider'][_0x5620fa(0x2f6)](),'player_id':_0x3ed76f[_0x5620fa(0x273)],'timetorun':_0x3ed76f[_0x5620fa(0x411)],'template':{'image_url':_0x3ed76f[_0x5620fa(0x560)],'message':_0x3ed76f['message'],'buttons':_0x3ed76f[_0x5620fa(0x5a6)]}};return yield this[_0x5620fa(0x640)]['scheduleMessage'](_0x799af2);});}[_0x3dd67c(0x62e)](){const _0x41aabe=_0x3dd67c;return this[_0x41aabe(0x637)][_0x41aabe(0x62e)]();}[_0x3dd67c(0x4b7)](){const _0x5d72fe=_0x3dd67c;return this[_0x5d72fe(0x292)][_0x5d72fe(0x5c7)](_0x5d72fe(0x574),{}),this[_0x5d72fe(0x637)][_0x5d72fe(0x4b7)]()[_0x5d72fe(0x60f)](_0x5a43af=>(_0x5a43af?this['tracker'][_0x5d72fe(0x5c7)]('bot_subscribe_success',{}):this['tracker'][_0x5d72fe(0x5c7)](_0x5d72fe(0x62b),{}),_0x5a43af))[_0x5d72fe(0x241)](_0x3e8c11=>(this[_0x5d72fe(0x292)][_0x5d72fe(0x5c7)]('bot_subscribe_failure',{}),!0x1));}['scheduleLocalNotification'](_0x31331b,_0x233c48,_0x5143f8,_0x546dc5){const _0x53e643=_0x3dd67c;return this[_0x53e643(0x637)][_0x53e643(0x2c7)](_0x31331b,_0x233c48,_0x5143f8,_0x546dc5);}}function _0x36cd0f(){const _0x266e6b=_0x3dd67c;this[_0x266e6b(0x235)]='INVALID_OPERATION',this[_0x266e6b(0x649)]=_0x266e6b(0x478);}const _0x305492={'getName':()=>'','canScheduleMessages'(){return _0x13c710(this,void 0x0,void 0x0,function*(){return!0x1;});},'subscribeScheduleMessages'(){return _0x13c710(this,void 0x0,void 0x0,function*(){return!0x1;});},'scheduleLocalNotification':()=>Promise[_0x3dd67c(0x4ce)](new _0x36cd0f())};class _0x53f280{constructor({id:_0x161ff7,contextID:_0x4b6e09,endTime:_0x3c17e4,startTime:_0x1efe09,refreshInterval:_0x4f7436,title:_0x1d7196,payload:_0x592535,offset:_0x58e7e0,players:_0x2dfd96,type:_0x371b8c,count:_0x4e42ec}){const _0x310968=_0x3dd67c;this['id']=_0x161ff7,this['contextID']=_0x4b6e09,_0x3c17e4&&(this['endTime']=_0x3c17e4),_0x1efe09&&(this['startTime']=_0x1efe09),this[_0x310968(0x5e5)]=_0x4f7436,this[_0x310968(0x57b)]=_0x1d7196,this[_0x310968(0x27b)]=_0x592535,this[_0x310968(0x5b5)]=_0x58e7e0,this[_0x310968(0x311)]=_0x4e42ec,_0x2dfd96&&(this[_0x310968(0x56c)]=_0x2dfd96),_0x371b8c&&(this[_0x310968(0x2e1)]=_0x371b8c);}}class _0x541ece{constructor(_0xed7e3a){const _0xd36150=_0x3dd67c;this['id']=_0xed7e3a['id'],this[_0xd36150(0x256)]=_0xed7e3a['name'],this[_0xd36150(0x5e0)]=_0xed7e3a[_0xd36150(0x5e0)],this[_0xd36150(0x339)]=_0xed7e3a[_0xd36150(0x339)],_0xed7e3a[_0xd36150(0x4a8)]&&(this[_0xd36150(0x4a8)]=_0xed7e3a[_0xd36150(0x4a8)]),this[_0xd36150(0x372)]=_0xed7e3a[_0xd36150(0x372)],this['payload']=_0xed7e3a[_0xd36150(0x27b)];}}const _0x1420b3=_0x3dd67c(0x430),_0x21554a={[_0x9cdbaf['Env'][_0x3dd67c(0x255)]]:_0x3dd67c(0x614),[_0x9cdbaf[_0x3dd67c(0x270)]['BETA']]:_0x3dd67c(0x5f6),[_0x9cdbaf[_0x3dd67c(0x270)][_0x3dd67c(0x55a)]]:_0x3dd67c(0x5f6)};var _0x1b13dc,_0x485604;!function(_0x245d94){const _0x228106=_0x3dd67c;_0x245d94[_0x228106(0x2da)]=_0x228106(0x53c),_0x245d94[_0x228106(0x3eb)]=_0x228106(0x401);}(_0x1b13dc||(_0x1b13dc={}));class _0x364ab2 extends Error{constructor(_0x4bbd1a){const _0x3c89b8=_0x3dd67c;super(),this[_0x3c89b8(0x649)]=_0x4bbd1a['message'],this[_0x3c89b8(0x235)]=_0x4bbd1a['code'],Object['setPrototypeOf'](this,_0x364ab2[_0x3c89b8(0x383)]);}}class _0x4c4180{constructor(_0x31a2b6){const _0x5543ba=_0x3dd67c;this[_0x5543ba(0x2dc)]=_0x31a2b6;}[_0x3dd67c(0x581)](_0x697f9d,_0x3a067c){const _0x2da4f8=_0x3dd67c;this[_0x2da4f8(0x3d7)]=_0x21554a[_0x3a067c],this['gameId']=_0x697f9d,this[_0x2da4f8(0x57f)]={};}[_0x3dd67c(0x2c8)](_0x16fa5e,_0x204c52){return _0x13c710(this,void 0x0,void 0x0,function*(){const _0x341466=_0x2711,_0x3155ea=this[_0x341466(0x3d7)]+'/v1/leaderboards',_0x1060ba={'game':this['gameId'],'title':_0x204c52[_0x341466(0x57b)],'endTime':_0x204c52['endTime'],'refreshInterval':_0x204c52[_0x341466(0x5e5)],'type':_0x16fa5e||_0x341466(0x36c),'data':_0x204c52[_0x341466(0x27b)],'sortOrder':_0x204c52[_0x341466(0x427)]||_0x341466(0x664)};_0x204c52['id']&&(_0x1060ba['id']=_0x204c52['id']);const _0x4ab24c=yield fetch(_0x3155ea,{'method':'POST','headers':{'Content-Type':_0x341466(0x397)},'body':JSON[_0x341466(0x2a0)](_0x1060ba)}),_0x4d11d4=yield _0x4ab24c[_0x341466(0x23e)]();if(!_0x4ab24c['ok'])throw new _0x364ab2(_0x4d11d4['error']);return _0x4d11d4['id'];});}[_0x3dd67c(0x516)](_0x575366){const _0x4aa026=_0x3dd67c;return _0x13c710(this,arguments,void 0x0,function*(_0x4a2b7b,_0x37ea6b=0x1e,_0x5ebdf8=0x0,_0x2201a0=_0x1b13dc[_0x4aa026(0x2da)]){const _0x295c56=_0x4aa026,_0x121c15=this[_0x295c56(0x3d7)]+_0x295c56(0x67a)+this[_0x295c56(0x65e)]+'/'+_0x4a2b7b,_0x17754a={'count':_0x37ea6b[_0x295c56(0x3b5)](),'offset':_0x5ebdf8['toString']()},_0x8da8eb=yield fetch(_0x121c15+'?'+new URLSearchParams(_0x17754a)),_0x586ba6=yield _0x8da8eb[_0x295c56(0x23e)]();if(!_0x8da8eb['ok'])throw new _0x364ab2(_0x586ba6['error']);_0x586ba6[_0x295c56(0x27b)]=_0x586ba6['data'];const _0x250ec2=_0x586ba6['players']?_0x586ba6[_0x295c56(0x56c)][_0x295c56(0x433)](_0x1a21df=>{const _0x9ea8a2=_0x295c56,_0xa02436=new _0x541ece(_0x1a21df);return _0xa02436['score']=this[_0x9ea8a2(0x5f2)](_0x4a2b7b,_0xa02436['id'],_0xa02436['score'],_0x2201a0),_0xa02436;}):[];return _0x586ba6[_0x295c56(0x56c)]=_0x250ec2,new _0x53f280(_0x586ba6);});}[_0x3dd67c(0x1f4)](_0x44486d,_0x1069d4){return _0x13c710(this,arguments,void 0x0,function*(_0x2abccc,_0x124e7f,_0x46bec5=_0x1b13dc['HIGHEST']){const _0x6881d7=_0x2711,_0x180d74=this['apiUrl']+'/v1/leaderboards/'+this[_0x6881d7(0x65e)]+'/'+_0x2abccc+'/'+_0x124e7f,_0x364009={'platform':this['channel']},_0x5b9d8a=yield fetch(_0x180d74+'?'+new URLSearchParams(_0x364009)),_0x3553f4=yield _0x5b9d8a[_0x6881d7(0x23e)]();if(!_0x5b9d8a['ok'])throw new _0x364ab2(_0x3553f4[_0x6881d7(0x48a)]);return _0x3553f4[_0x6881d7(0x27b)]=_0x3553f4[_0x6881d7(0x2f7)],_0x3553f4['score']=this['getCachedScore'](_0x2abccc,_0x124e7f,_0x3553f4[_0x6881d7(0x372)],_0x46bec5),new _0x541ece(_0x3553f4);});}[_0x3dd67c(0x492)](_0x59d8e3,_0x5d82ed,_0x415bbf,_0x30c828,_0x18918e){return _0x13c710(this,arguments,void 0x0,function*(_0x54a7a1,_0xd00609,_0x1f5e89,_0x12a0a2,_0x325a92,_0x483d04=_0x1b13dc['HIGHEST']){const _0x566a87=_0x2711;this[_0x566a87(0x236)](_0x54a7a1,_0xd00609,_0x1f5e89,_0x483d04);const _0x5af03e=this[_0x566a87(0x3d7)]+_0x566a87(0x67a)+this[_0x566a87(0x65e)]+'/'+_0x54a7a1,_0x792947={'id':_0xd00609,'score':_0x1f5e89,'platform':this[_0x566a87(0x2dc)],'disableSortOrder':_0x483d04===_0x1b13dc[_0x566a87(0x3eb)]};_0x12a0a2&&(_0x792947['name']=_0x12a0a2),_0x325a92&&(_0x792947[_0x566a87(0x5e0)]=_0x325a92);const _0x245651=yield fetch(_0x5af03e,{'method':'POST','headers':{'Content-Type':_0x566a87(0x397)},'body':JSON[_0x566a87(0x2a0)](_0x792947)}),_0x4ee8e3=yield _0x245651[_0x566a87(0x23e)]();if(!_0x245651['ok'])throw new _0x364ab2(_0x4ee8e3[_0x566a87(0x48a)]);return _0x4ee8e3;});}[_0x3dd67c(0x265)](_0x3c7a44){return _0x13c710(this,void 0x0,void 0x0,function*(){const _0x30c9c5=_0x2711;return(yield this[_0x30c9c5(0x424)](Object[_0x30c9c5(0x2ac)](Object[_0x30c9c5(0x2ac)]({},_0x3c7a44),{'verbose':!0x1})))[_0x30c9c5(0x3c3)]||[];});}[_0x3dd67c(0x608)](_0x4193a5){return _0x13c710(this,void 0x0,void 0x0,function*(){const _0x3f053a=_0x2711;return(yield this['getAllLeaderboardsOfType'](Object[_0x3f053a(0x2ac)](Object[_0x3f053a(0x2ac)]({},_0x4193a5),{'verbose':!0x0})))[_0x3f053a(0x57f)]||[];});}['getLeaderboardEntries'](_0xcdecb1,_0x1a4a29){return _0x13c710(this,arguments,void 0x0,function*(_0x4dab2d,_0x15eae2,_0x6a4040=_0x1b13dc['HIGHEST']){const _0x387731=_0x2711;if(!_0x15eae2[_0x387731(0x2db)])return[];const _0x289843=this[_0x387731(0x3d7)]+_0x387731(0x67a)+this[_0x387731(0x65e)]+'/'+_0x4dab2d+_0x387731(0x24b),_0x3719a8={'platform':this[_0x387731(0x2dc)],'players':_0x15eae2[_0x387731(0x586)](',')},_0x3f2204=yield fetch(_0x289843+'?'+new URLSearchParams(_0x3719a8)),_0x345c69=yield _0x3f2204[_0x387731(0x23e)]();if(!_0x3f2204['ok'])throw new _0x364ab2(_0x345c69[_0x387731(0x48a)]);return((null==_0x345c69?void 0x0:_0x345c69[_0x387731(0x47a)])||[])['map'](_0x2afba4=>(_0x2afba4[_0x387731(0x27b)]=_0x2afba4[_0x387731(0x2f7)],_0x2afba4[_0x387731(0x372)]=this[_0x387731(0x5f2)](_0x4dab2d,_0x2afba4['id'],_0x2afba4[_0x387731(0x372)],_0x6a4040),new _0x541ece(_0x2afba4)));});}[_0x3dd67c(0x40a)](_0x5a141a){return _0x13c710(this,arguments,void 0x0,function*({leaderboardId:_0x529d36,interval:_0x13f452,minScore:_0x3149e4,maxScore:_0x2dbf15,limit:_0x41c60e,page:_0x5668a5}){const _0x2f57e7=_0x2711,_0x35540e=this[_0x2f57e7(0x3d7)]+_0x2f57e7(0x67a)+this[_0x2f57e7(0x65e)]+'/'+_0x529d36+_0x2f57e7(0x623),_0x65fd3a={'platform':this[_0x2f57e7(0x2dc)],'interval':_0x13f452['toString'](),'minInterval':_0x3149e4['toString'](),'maxInterval':_0x2dbf15[_0x2f57e7(0x3b5)](),'entries':null==_0x41c60e?void 0x0:_0x41c60e[_0x2f57e7(0x3b5)](),'page':null==_0x5668a5?void 0x0:_0x5668a5[_0x2f57e7(0x3b5)]()},_0x39d99b=new URLSearchParams();for(const [_0x2210ac,_0x563e75]of Object[_0x2f57e7(0x47a)](_0x65fd3a))void 0x0!==_0x563e75&&_0x39d99b[_0x2f57e7(0x64e)](_0x2210ac,_0x563e75);const _0x26b4b6=yield fetch(_0x35540e+'?'+_0x39d99b),_0x4f2f04=yield _0x26b4b6['json']();if(!_0x26b4b6['ok'])throw new _0x364ab2(_0x4f2f04[_0x2f57e7(0x48a)]);return((null==_0x4f2f04?void 0x0:_0x4f2f04['entries'])||[])['map'](_0x15016d=>new _0x541ece(_0x15016d));});}[_0x3dd67c(0x424)](_0x2a7e39){return _0x13c710(this,arguments,void 0x0,function*({type:_0x306e7b,playerId:_0x2e448a,sortBy:_0x4647bf='created',sortOrder:_0x3427cb='desc',count:_0x2e31e8=0x1e,offset:_0x4ccbbb=0x0,verbose:_0x1e7998=!0x1}){const _0x5ddaf5=_0x2711,_0x53a114=this[_0x5ddaf5(0x3d7)]+_0x5ddaf5(0x446)+this[_0x5ddaf5(0x65e)]+'/'+_0x2e448a,_0x3a4922={'type':_0x306e7b,'platform':this['channel'],'sortOrder':_0x3427cb,'sortBy':_0x4647bf,'count':_0x2e31e8[_0x5ddaf5(0x3b5)](),'offset':_0x4ccbbb[_0x5ddaf5(0x3b5)](),'verbose':_0x1e7998?_0x5ddaf5(0x25b):_0x5ddaf5(0x512)},_0x3417ff=yield fetch(_0x53a114+'?'+new URLSearchParams(_0x3a4922)),_0x37ea05=yield _0x3417ff[_0x5ddaf5(0x23e)]();if(!_0x3417ff['ok'])throw new _0x364ab2(_0x37ea05[_0x5ddaf5(0x48a)]);return _0x37ea05;});}['buildScoreCache'](_0x21c509){const _0x158a47=_0x3dd67c;return this[_0x158a47(0x57f)][_0x21c509]||(this[_0x158a47(0x57f)][_0x21c509]={'scores':{}}),this[_0x158a47(0x57f)][_0x21c509];}[_0x3dd67c(0x5f2)](_0x2fdf4d,_0x169caa,_0x58fd25,_0x34fe4a){const _0x49e5ff=_0x3dd67c,_0x107ccc=this[_0x49e5ff(0x2b5)](_0x2fdf4d),_0x139d0c=_0x107ccc[_0x49e5ff(0x54a)][_0x169caa];if(!_0x34fe4a)throw new Error('Somehow,\x20we\x20are\x20missing\x20cache\x20policy!');switch(_0x34fe4a){case _0x1b13dc[_0x49e5ff(0x2da)]:_0x58fd25=Math[_0x49e5ff(0x38f)](null!=_0x139d0c?_0x139d0c:0x0,_0x58fd25),_0x107ccc[_0x49e5ff(0x54a)][_0x169caa]=_0x58fd25;break;case _0x1b13dc['LATEST']:_0x58fd25=null!=_0x139d0c?_0x139d0c:_0x58fd25;}return _0x58fd25;}[_0x3dd67c(0x236)](_0x20fda0,_0x536140,_0x4b85f2,_0x2580b2){const _0x520977=_0x3dd67c,_0x280425=this[_0x520977(0x2b5)](_0x20fda0),_0x28449c=_0x280425[_0x520977(0x54a)][_0x536140];if(!_0x2580b2)throw new Error('Somehow,\x20we\x20are\x20missing\x20cache\x20policy!');switch(_0x2580b2){case _0x1b13dc[_0x520977(0x2da)]:_0x4b85f2=Math[_0x520977(0x38f)](null!=_0x28449c?_0x28449c:0x0,_0x4b85f2);case _0x1b13dc[_0x520977(0x3eb)]:}_0x280425[_0x520977(0x54a)][_0x536140]=_0x4b85f2;}}!function(_0x21bcc5){const _0x2d8b78=_0x3dd67c;_0x21bcc5[_0x21bcc5['create']=0x0]=_0x2d8b78(0x64f),_0x21bcc5[_0x21bcc5['getCurrentTournament']=0x1]=_0x2d8b78(0x688),_0x21bcc5[_0x21bcc5[_0x2d8b78(0x27e)]=0x2]='getActiveTournaments',_0x21bcc5[_0x21bcc5[_0x2d8b78(0x214)]=0x3]='postScore',_0x21bcc5[_0x21bcc5['join']=0x4]=_0x2d8b78(0x586),_0x21bcc5[_0x21bcc5[_0x2d8b78(0x307)]=0x5]=_0x2d8b78(0x307),_0x21bcc5[_0x21bcc5[_0x2d8b78(0x26c)]=0x6]='share',_0x21bcc5[_0x21bcc5[_0x2d8b78(0x2f0)]=0x7]=_0x2d8b78(0x2f0);}(_0x485604||(_0x485604={}));class _0x28ea28{constructor(_0x4c1035){const _0x2b0dc3=_0x3dd67c;this[_0x2b0dc3(0x637)]=_0x4c1035,this[_0x2b0dc3(0x530)]=_0x485604;}[_0x3dd67c(0x449)](){const _0x55b90b=_0x3dd67c;return this[_0x55b90b(0x637)][_0x55b90b(0x449)]();}['isSupportedAPI'](_0x2e1725){const _0x458b40=_0x3dd67c;return-0x1!==this[_0x458b40(0x637)][_0x458b40(0x588)]()[_0x458b40(0x3fd)](_0x2e1725);}['getSupportedAPIs'](){const _0x153b9c=_0x3dd67c;return this[_0x153b9c(0x637)]['getSupportedAPIs']();}['create'](_0xd9e108,_0x203e6b,_0x250932){const _0x1c63b5=_0x3dd67c;return this['provider'][_0x1c63b5(0x64f)](_0xd9e108,_0x203e6b,_0x250932);}['getActiveTournaments'](){const _0xb1b2cd=_0x3dd67c;return this[_0xb1b2cd(0x637)][_0xb1b2cd(0x27e)]();}['getCurrentTournament'](){const _0x164d4a=_0x3dd67c;return this['provider'][_0x164d4a(0x688)]();}[_0x3dd67c(0x586)](_0x2b3adf){const _0x1b94a4=_0x3dd67c;return this[_0x1b94a4(0x637)][_0x1b94a4(0x586)](_0x2b3adf);}[_0x3dd67c(0x307)](){const _0x2965de=_0x3dd67c;return this[_0x2965de(0x637)][_0x2965de(0x307)]();}[_0x3dd67c(0x26c)](_0x50ed4e,_0x21c38c){const _0x2d6406=_0x3dd67c;return this[_0x2d6406(0x637)][_0x2d6406(0x26c)](_0x50ed4e,_0x21c38c);}[_0x3dd67c(0x2f0)](_0x3b617e){const _0x55c4ac=_0x3dd67c;return this[_0x55c4ac(0x637)][_0x55c4ac(0x2f0)](_0x3b617e);}[_0x3dd67c(0x2a2)](_0x18a453,_0x205273,_0x3365d2,_0x47b9bb){const _0x4811d7=_0x3dd67c;return this[_0x4811d7(0x637)][_0x4811d7(0x214)](_0x18a453,_0x205273,_0x3365d2,_0x47b9bb);}}class _0x4c42f8{constructor({provider:_0x44c426,auth:_0x236599,logger:_0x3468f2,leaderboards:_0x23acf8}){const _0x3549f7=_0x3dd67c;this[_0x3549f7(0x637)]=_0x44c426,this[_0x3549f7(0x5cf)]=_0x236599,this[_0x3549f7(0x35a)]=_0x3468f2,this['FRVRLeaderboards']=_0x23acf8||new _0x4c4180(this[_0x3549f7(0x637)][_0x3549f7(0x658)]()),this['platform']=new _0x28ea28(this[_0x3549f7(0x637)]);}[_0x3dd67c(0x581)](_0x3d0c36,_0x16002e){const _0x48ba96=_0x3dd67c;this[_0x48ba96(0x648)][_0x48ba96(0x581)](_0x3d0c36,_0x16002e);}['create'](_0x2d041c,_0x460532){return _0x13c710(this,void 0x0,void 0x0,function*(){const _0x4d46b0=_0x2711;if(this[_0x4d46b0(0x637)][_0x4d46b0(0x449)]()&&this[_0x4d46b0(0x637)][_0x4d46b0(0x588)]()[_0x4d46b0(0x341)](_0x485604[_0x4d46b0(0x64f)])){const _0x4bf7f8=yield this['provider'][_0x4d46b0(0x64f)](0x0,_0x2d041c,_0x460532);return yield this['ensureLeaderboardCreated'](_0x4bf7f8),_0x4bf7f8['id'];}return yield this[_0x4d46b0(0x648)][_0x4d46b0(0x2c8)](_0x1420b3,{'payload':_0x2d041c,'title':_0x460532['title'],'endTime':_0x460532[_0x4d46b0(0x506)],'sortOrder':_0x460532[_0x4d46b0(0x427)]});});}['postScore'](_0x3a2898,_0x1471a1,_0x224559,_0x3ae8a4){return _0x13c710(this,void 0x0,void 0x0,function*(){const _0x1dc11b=_0x2711,_0x1c9e1a=this[_0x1dc11b(0x47c)]();if(!_0x1c9e1a)throw new Error(_0x1dc11b(0x57d));const _0x7eaf8b=[this[_0x1dc11b(0x648)][_0x1dc11b(0x492)](_0x3a2898,_0x1c9e1a,_0x1471a1,_0x224559,_0x3ae8a4)];this['provider'][_0x1dc11b(0x588)]()[_0x1dc11b(0x341)](_0x485604[_0x1dc11b(0x214)])&&_0x7eaf8b[_0x1dc11b(0x276)](this[_0x1dc11b(0x637)][_0x1dc11b(0x214)](_0x3a2898,_0x1471a1,_0x224559,_0x3ae8a4)),yield Promise[_0x1dc11b(0x64d)](_0x7eaf8b);});}['getMyTournaments'](_0x4063ac,_0x4caf56){return _0x13c710(this,void 0x0,void 0x0,function*(){const _0x390b1f=_0x2711,_0x27cb80=this[_0x390b1f(0x47c)]();if(!_0x27cb80)throw new Error('Player\x20is\x20not\x20logged\x20in');const _0x5971a3={'type':_0x1420b3,'count':_0x4063ac,'offset':_0x4caf56,'playerId':_0x27cb80};return this[_0x390b1f(0x648)][_0x390b1f(0x608)](_0x5971a3);});}['getMyEntry'](_0x197c31){return _0x13c710(this,void 0x0,void 0x0,function*(){const _0x12abdf=_0x2711,_0x2f2ca2=this[_0x12abdf(0x47c)]();if(!_0x2f2ca2)throw new Error(_0x12abdf(0x57d));return this[_0x12abdf(0x648)][_0x12abdf(0x1f4)](_0x197c31,_0x2f2ca2);});}[_0x3dd67c(0x32f)](_0x12eb70,_0x3ea190,_0x5d7a2a){const _0x334bd1=_0x3dd67c;return this[_0x334bd1(0x648)]['getLeaderboard'](_0x12eb70,_0x3ea190,_0x5d7a2a);}['ensureLeaderboardCreated'](_0x790b99){return _0x13c710(this,void 0x0,void 0x0,function*(){const _0x1ff449=_0x2711;var _0x25eeb0=_0x20b566(_0x790b99,[]);try{return void(yield this[_0x1ff449(0x648)][_0x1ff449(0x516)](_0x25eeb0['id']));}catch(_0x157820){}if(_0x1ff449(0x3ea)==typeof _0x25eeb0[_0x1ff449(0x27b)])try{_0x25eeb0[_0x1ff449(0x27b)]=JSON[_0x1ff449(0x432)](_0x25eeb0[_0x1ff449(0x27b)]);}catch(_0x1abe1a){_0x25eeb0['payload']={};}yield this[_0x1ff449(0x648)][_0x1ff449(0x2c8)](_0x1420b3,{'id':_0x25eeb0['id'],'payload':_0x25eeb0[_0x1ff449(0x27b)],'title':_0x25eeb0[_0x1ff449(0x57b)],'endTime':_0x25eeb0[_0x1ff449(0x506)]});});}['getPlayerId'](){const _0x7b41e3=_0x3dd67c;return this[_0x7b41e3(0x5cf)][_0x7b41e3(0x49d)]();}}const _0x568cc4={'isSupported':()=>!0x1,'getSupportedAPIs':()=>[],'getLeaderboardsChannelId':()=>_0x3dd67c(0x501),'getCurrentTournament'(){return _0x13c710(this,void 0x0,void 0x0,function*(){return null;});},'create'(){return _0x13c710(this,void 0x0,void 0x0,function*(){return null;});},'postScore'(){return _0x13c710(this,void 0x0,void 0x0,function*(){});},'share'(){return _0x13c710(this,void 0x0,void 0x0,function*(){});},'getActiveTournaments'(){return _0x13c710(this,void 0x0,void 0x0,function*(){return[];});},'join'(){return _0x13c710(this,void 0x0,void 0x0,function*(){});},'leave'(){return _0x13c710(this,void 0x0,void 0x0,function*(){});},'invitePlayers'(){return _0x13c710(this,void 0x0,void 0x0,function*(){});}};class _0x2ddd01{constructor({logger:_0x42be22,provider:_0x2f2e73}){const _0x5b6c8f=_0x3dd67c;this[_0x5b6c8f(0x35a)]=_0x42be22,this[_0x5b6c8f(0x637)]=_0x2f2e73,this['platform']=this['provider'][_0x5b6c8f(0x231)];}['init'](_0x2cf4e5,_0x47d123,_0x244b26){return _0x13c710(this,void 0x0,void 0x0,function*(){const _0x43bd60=_0x2711;return this['gameId']=_0x2cf4e5,yield this[_0x43bd60(0x637)]['init'](_0x2cf4e5,this[_0x43bd60(0x35a)],_0x47d123,_0x244b26);});}[_0x3dd67c(0x64f)](_0x4ee6df,_0x10c927){const _0x50a782=_0x3dd67c;return this[_0x50a782(0x637)][_0x50a782(0x64f)](_0x4ee6df,_0x10c927);}['challengeByContextId'](_0x2a6b35,_0x95ea8,_0x582a5b){const _0x44cecd=_0x3dd67c;return this[_0x44cecd(0x637)][_0x44cecd(0x5b4)](_0x2a6b35,_0x95ea8,_0x582a5b);}[_0x3dd67c(0x325)](_0x2c00eb,_0x5238ce,_0x290004){const _0x5e3018=_0x3dd67c;return this[_0x5e3018(0x637)][_0x5e3018(0x325)](_0x2c00eb,_0x5238ce,_0x290004);}[_0x3dd67c(0x67d)](){const _0x46cb94=_0x3dd67c;return this[_0x46cb94(0x637)][_0x46cb94(0x67d)]();}[_0x3dd67c(0x2ba)](){const _0x235e43=_0x3dd67c;return this['provider'][_0x235e43(0x2ba)]();}[_0x3dd67c(0x356)](){const _0x5c279a=_0x3dd67c;return this['provider'][_0x5c279a(0x356)]();}[_0x3dd67c(0x307)](){const _0x9d5862=_0x3dd67c;return this['provider'][_0x9d5862(0x307)]();}[_0x3dd67c(0x50e)](_0x390bb1,_0x31000f){return this['provider']['getAllChallenges'](_0x390bb1,_0x31000f);}[_0x3dd67c(0x2b2)](_0x3203b3,_0x39fa34){const _0x30da42=_0x3dd67c;return this[_0x30da42(0x637)][_0x30da42(0x2b2)](_0x3203b3,_0x39fa34);}[_0x3dd67c(0x1f4)](_0x276393,_0x446c15){const _0x40c1bc=_0x3dd67c;return this[_0x40c1bc(0x637)][_0x40c1bc(0x1f4)](_0x276393,_0x446c15);}[_0x3dd67c(0x65d)](_0x380914,_0x3cf2c5,_0xb2c67c){const _0x23e59b=_0x3dd67c;return this[_0x23e59b(0x637)][_0x23e59b(0x65d)](_0x380914,_0x3cf2c5,_0xb2c67c);}[_0x3dd67c(0x214)]({score:_0xc74b0f,challengeId:_0x195100,name:_0x1b056a,photo:_0x1de6e8,playerId:_0x3c0b54}){const _0x5e27f4=_0x3dd67c;return this[_0x5e27f4(0x637)]['postScore']({'score':_0xc74b0f,'challengeId':_0x195100,'name':_0x1b056a,'photo':_0x1de6e8,'playerId':_0x3c0b54});}[_0x3dd67c(0x586)](_0x52d668){const _0x247fc9=_0x3dd67c;return this[_0x247fc9(0x637)][_0x247fc9(0x586)](_0x52d668);}[_0x3dd67c(0x597)](_0x191d46,_0x262832){const _0x2c41bb=_0x3dd67c;return this[_0x2c41bb(0x637)][_0x2c41bb(0x597)](_0x191d46,_0x262832);}[_0x3dd67c(0x209)](_0x100438){const _0x473e55=_0x3dd67c;return this[_0x473e55(0x637)][_0x473e55(0x209)](_0x100438);}['getChallengesByOpponents'](){const _0x4dcb3e=_0x3dd67c;return this[_0x4dcb3e(0x637)]['getChallengesByOpponents']();}['getEntryPayload'](){const _0x3af909=_0x3dd67c;return this[_0x3af909(0x637)]['getEntryPayload']();}[_0x3dd67c(0x449)](){const _0x1ef016=_0x3dd67c;return this[_0x1ef016(0x637)]['isSupported']();}}var _0x48dde4;!function(_0x3590f0){const _0x2bc68c=_0x3dd67c;_0x3590f0[_0x2bc68c(0x35e)]=_0x2bc68c(0x528),_0x3590f0['getType']=_0x2bc68c(0x287),_0x3590f0['isSizeBetween']=_0x2bc68c(0x316),_0x3590f0[_0x2bc68c(0x68e)]='context.switchAsync',_0x3590f0['choose']=_0x2bc68c(0x2ec),_0x3590f0[_0x2bc68c(0x64f)]='context.createAsync',_0x3590f0['getPlayers']=_0x2bc68c(0x3ee),_0x3590f0[_0x2bc68c(0x56d)]=_0x2bc68c(0x439);}(_0x48dde4||(_0x48dde4={}));const _0x30605a={'platform':{'API':_0x48dde4,'getSupportedAPIs':()=>[],'isSupportedAPI':()=>!0x1,'getID':()=>'','getType':()=>_0x3dd67c(0x56e),'isSizeBetween':()=>({'answer':!0x1,'minSize':0x0,'maxSize':0x0}),'switch':()=>Promise[_0x3dd67c(0x3f6)](),'choose':()=>Promise[_0x3dd67c(0x3f6)](),'create':()=>Promise['resolve'](),'getPlayers':()=>Promise[_0x3dd67c(0x3f6)]([]),'update':()=>Promise[_0x3dd67c(0x3f6)]()},'init'(){return _0x13c710(this,void 0x0,void 0x0,function*(){});},'create'(){return _0x13c710(this,void 0x0,void 0x0,function*(){return'';});},'challengeByPlayerId'(){return _0x13c710(this,void 0x0,void 0x0,function*(){return'';});},'getPossibleOpponents'(){return _0x13c710(this,void 0x0,void 0x0,function*(){return[];});},'challengeByContextId'(){return _0x13c710(this,void 0x0,void 0x0,function*(){return'';});},'getCurrentChallengeData'(){return _0x13c710(this,void 0x0,void 0x0,function*(){});},'leave'(){return _0x13c710(this,void 0x0,void 0x0,function*(){});},'getCurrentChallengeId':()=>'','getPlayerEntries'(){return _0x13c710(this,void 0x0,void 0x0,function*(){return[];});},'getAllChallenges'(){return _0x13c710(this,void 0x0,void 0x0,function*(){});},'getLeaderboardEntry'(){return _0x13c710(this,void 0x0,void 0x0,function*(){});},'getLeaderboardById'(){return _0x13c710(this,void 0x0,void 0x0,function*(){});},'postScore'(){return _0x13c710(this,void 0x0,void 0x0,function*(){});},'join'(){return _0x13c710(this,void 0x0,void 0x0,function*(){});},'nudge'(){return _0x13c710(this,void 0x0,void 0x0,function*(){});},'getOpponentsFromChallenges'(){return _0x13c710(this,void 0x0,void 0x0,function*(){});},'getChallengesByOpponents'(){return _0x13c710(this,void 0x0,void 0x0,function*(){});},'getEntryPayload':()=>({}),'isSupported':()=>!0x1};class _0x274b38{constructor({provider:_0x86c1b7}){const _0x2ddd16=_0x3dd67c;this[_0x2ddd16(0x6b9)]=_0x1b13dc,this[_0x2ddd16(0x637)]=_0x86c1b7;}[_0x3dd67c(0x581)](_0x1812b1,_0x5da186){const _0x43ef6a=_0x3dd67c;this[_0x43ef6a(0x637)][_0x43ef6a(0x581)](_0x1812b1,_0x5da186);}[_0x3dd67c(0x449)](){const _0x2c0a68=_0x3dd67c;return this[_0x2c0a68(0x637)][_0x2c0a68(0x449)]();}[_0x3dd67c(0x33b)](_0xeda1a0,_0x56d033,_0x1c7753){const _0xa9b65c=_0x3dd67c;return this['provider'][_0xa9b65c(0x33b)](_0xeda1a0,_0x56d033,_0x1c7753);}[_0x3dd67c(0x1f4)](_0x4862db,_0x21085b,_0x357426){const _0x3c476b=_0x3dd67c;return this[_0x3c476b(0x637)]['getLeaderboardEntry'](_0x4862db,_0x21085b,_0x357426);}['getLeaderboard'](_0x2067d3,_0x20ea54,_0x346749,_0x2bf036){const _0x5483c0=_0x3dd67c;return this[_0x5483c0(0x637)][_0x5483c0(0x516)](_0x2067d3,_0x20ea54,_0x346749,_0x2bf036);}['postScore'](_0x286d6e,_0x453217,_0x170872){const _0x299277=_0x3dd67c;return this[_0x299277(0x637)][_0x299277(0x214)](_0x286d6e,_0x453217,_0x170872);}[_0x3dd67c(0x64f)](_0xb76f94,_0xdf7f4c){return this['provider']['create'](_0xb76f94,null!=_0xdf7f4c?_0xdf7f4c:{});}[_0x3dd67c(0x40a)](_0x25e3e6){return _0x13c710(this,void 0x0,void 0x0,function*(){const _0x5a8f30=_0x2711;return this['provider'][_0x5a8f30(0x40a)](_0x25e3e6);});}}const _0x2c4e20={'init'(){},'isSupported':()=>!0x1,'getLeaderboardEntries'(){return _0x13c710(this,void 0x0,void 0x0,function*(){return[];});},'getLeaderboardEntry'(){return _0x13c710(this,void 0x0,void 0x0,function*(){return{};});},'getLeaderboard'(){return _0x13c710(this,void 0x0,void 0x0,function*(){return{};});},'postScore'(){return _0x13c710(this,void 0x0,void 0x0,function*(){});},'create'(){return _0x13c710(this,void 0x0,void 0x0,function*(){});},'getTimelineEntries'(){return _0x13c710(this,void 0x0,void 0x0,function*(){return[];});}},_0x31eb43={'registrationSuccess':_0x3dd67c(0x44b),'registrationConflict':'registrationConflict','loginSuccess':'loginSuccess','accountNotActive':_0x3dd67c(0x25f),'invalidCredentials':_0x3dd67c(0x340),'invalidFormat':_0x3dd67c(0x460),'serverError':_0x3dd67c(0x66f),'unknownError':_0x3dd67c(0x318),'networkError':_0x3dd67c(0x32d),'operationSuccess':'operationSuccess','tokenExpired':_0x3dd67c(0x3e4),'notLoggedIn':_0x3dd67c(0x275),'platformNotAvailable':_0x3dd67c(0x50c),'platformLoginFail':'platformLoginFail,'},_0x566fcf={'REG_SUCCESS':{'type':_0x31eb43[_0x3dd67c(0x44b)],'success':!0x0,'message':_0x3dd67c(0x1f7)},'LOGIN_SUCCESS':{'type':_0x31eb43['loginSuccess'],'success':!0x0,'message':_0x3dd67c(0x663)},'OPERATION_SUCCESS':{'type':_0x31eb43['operationSuccess'],'success':!0x0,'message':_0x3dd67c(0x43d)},'REG_CONFLICT':{'type':_0x31eb43[_0x3dd67c(0x24e)],'success':!0x1,'message':_0x3dd67c(0x305)},'ACCOUNT_NOT_ACTIVE':{'type':_0x31eb43[_0x3dd67c(0x25f)],'success':!0x1,'message':_0x3dd67c(0x503)},'INVALID_CREDENTIALS':{'type':_0x31eb43[_0x3dd67c(0x340)],'success':!0x1,'message':_0x3dd67c(0x3f5)},'INVALID_FORMAT':{'type':_0x31eb43[_0x3dd67c(0x460)],'success':!0x1,'message':_0x3dd67c(0x612)},'SERVER_ERROR':{'type':_0x31eb43['serverError'],'success':!0x1,'message':_0x3dd67c(0x396)},'UNKNOWN_ERROR':{'type':_0x31eb43[_0x3dd67c(0x318)],'success':!0x1,'message':_0x3dd67c(0x650)},'NETWORK_ERROR':{'type':_0x31eb43[_0x3dd67c(0x32d)],'success':!0x1,'message':'Network\x20Error'},'TOKEN_EXPIRED':{'type':_0x31eb43[_0x3dd67c(0x3e4)],'success':!0x1,'message':'Token\x20has\x20expired.\x20Request\x20a\x20new\x20challenge\x20to\x20get\x20a\x20fresh\x20one'},'NOT_LOGGED_IN':{'type':_0x31eb43[_0x3dd67c(0x275)],'success':!0x1,'message':_0x3dd67c(0x4d6)},'PLATFORM_NOT_AVAILABLE':{'type':_0x31eb43[_0x3dd67c(0x50c)],'success':!0x1,'message':_0x3dd67c(0x45a)},'PLATFORM_LOGIN_FAIL':{'type':_0x31eb43[_0x3dd67c(0x4be)],'success':!0x1,'message':_0x3dd67c(0x63e)}};var _0x568c4e=Object[_0x3dd67c(0x5de)]({'__proto__':null,'RESPONSE_TYPES':_0x31eb43,'default':_0x31eb43,'RESPONSE_DEFINITIONS':_0x566fcf});function _0x1e5dbe(_0x5c9adb){const _0x175ef9=_0x3dd67c;if(!_0x5c9adb)return null;const _0x186c9f=_0x5c9adb[_0x175ef9(0x355)]('.');if(0x3!=_0x186c9f[_0x175ef9(0x2db)])return null;const _0x10df3b=_0x186c9f[0x1][_0x175ef9(0x1f5)](/-/g,'+')[_0x175ef9(0x1f5)](/_/g,'/'),_0x5e85e4=window[_0x175ef9(0x523)](_0x10df3b)[_0x175ef9(0x355)]('')[_0x175ef9(0x433)](function(_0x695087){const _0x28c9c4=_0x175ef9;return'%'+('00'+_0x695087[_0x28c9c4(0x5d6)](0x0)[_0x28c9c4(0x3b5)](0x10))[_0x28c9c4(0x577)](-0x2);})[_0x175ef9(0x586)]('');try{return JSON['parse'](decodeURIComponent(_0x5e85e4));}catch(_0x2161fe){return null;}}class _0xd014a6{constructor(_0x359c9c,_0xfa917){const _0x4a7d3f=_0x3dd67c;this[_0x4a7d3f(0x41e)]=_0x359c9c,this['refreshToken']=_0xfa917;}set[_0x3dd67c(0x41e)](_0x34b0aa){const _0x63b91e=_0x3dd67c;var _0x5ea67b;const _0x41bbcd=_0x1e5dbe(_0x34b0aa);_0x41bbcd?(this['_accessToken']=_0x34b0aa,this[_0x63b91e(0x2a9)]=_0x41bbcd,this['_accessExpiration']=parseInt(null==_0x41bbcd?void 0x0:_0x41bbcd[_0x63b91e(0x3a8)],0xa)||0x0,this['_accessIAT']=parseInt(null==_0x41bbcd?void 0x0:_0x41bbcd[_0x63b91e(0x327)],0xa)||0x0,this[_0x63b91e(0x51c)]=!(!0x1===(null===(_0x5ea67b=null==_0x41bbcd?void 0x0:_0x41bbcd['extra'])||void 0x0===_0x5ea67b?void 0x0:_0x5ea67b['verified']))):(this[_0x63b91e(0x3b0)]=null,this['_accessPayload']=null,this[_0x63b91e(0x248)]=0x0,this['_accessIAT']=0x0,this[_0x63b91e(0x51c)]=!0x1);}get[_0x3dd67c(0x41e)](){const _0x1e7ed5=_0x3dd67c;return this[_0x1e7ed5(0x3b0)];}set[_0x3dd67c(0x259)](_0x290a04){const _0x44c4fe=_0x3dd67c;var _0x50e141;const _0x34a65a=_0x1e5dbe(_0x290a04);_0x34a65a?(this[_0x44c4fe(0x20b)]=_0x290a04,this[_0x44c4fe(0x653)]=_0x34a65a,this[_0x44c4fe(0x5f4)]=parseInt(null==_0x34a65a?void 0x0:_0x34a65a[_0x44c4fe(0x3a8)],0xa),this[_0x44c4fe(0x3fb)]=null===(_0x50e141=null==_0x34a65a?void 0x0:_0x34a65a[_0x44c4fe(0x274)])||void 0x0===_0x50e141?void 0x0:_0x50e141[_0x44c4fe(0x231)],this[_0x44c4fe(0x469)]=null==_0x34a65a?void 0x0:_0x34a65a['sub']):(this['_refreshToken']=null,this['_refreshPayload']=null,this[_0x44c4fe(0x5f4)]=0x0,this['_platform']=null,this[_0x44c4fe(0x469)]=null);}get['refreshToken'](){const _0xb0f3e4=_0x3dd67c;return this[_0xb0f3e4(0x20b)];}get[_0x3dd67c(0x6ab)](){return this['_accessExpiration'];}get[_0x3dd67c(0x440)](){const _0x42006f=_0x3dd67c;return this[_0x42006f(0x5f4)];}get['platform'](){return this['_platform'];}get[_0x3dd67c(0x36e)](){const _0x290f19=_0x3dd67c;return this[_0x290f19(0x469)];}get[_0x3dd67c(0x3d2)](){return this['_verified'];}get[_0x3dd67c(0x1fc)](){const _0x1aebc2=_0x3dd67c;return this[_0x1aebc2(0x50a)];}get[_0x3dd67c(0x628)](){const _0x3d9e0b=_0x3dd67c;return this[_0x3d9e0b(0x41e)]?Math['floor'](this[_0x3d9e0b(0x248)]-Date[_0x3d9e0b(0x406)]()/0x3e8):-0x1;}get[_0x3dd67c(0x3e1)](){const _0x30a245=_0x3dd67c;return this[_0x30a245(0x41e)]?this[_0x30a245(0x248)]-this['_accessIAT']:0x0;}[_0x3dd67c(0x4de)](_0x37432d,_0x8e8784){const _0xd6caf6=_0x3dd67c;this[_0xd6caf6(0x41e)]=_0x37432d,this[_0xd6caf6(0x259)]=_0x8e8784;}['updateTokensIfValid'](_0x33bd8d,_0x3ea61f){const _0x46e8cb=_0x3dd67c,_0x5c681d=this[_0x46e8cb(0x41e)],_0x38c857=this[_0x46e8cb(0x259)];this[_0x46e8cb(0x4de)](_0x33bd8d,_0x3ea61f),this['isAccessValid']()&&this[_0x46e8cb(0x4ea)]()||(this[_0x46e8cb(0x41e)]=_0x5c681d,this[_0x46e8cb(0x259)]=_0x38c857);}[_0x3dd67c(0x338)](){const _0x5ea8c1=_0x3dd67c;return!!this[_0x5ea8c1(0x3b0)]&&0x3e8*(this['_accessExpiration']-0x3c)>Date[_0x5ea8c1(0x406)]();}['isRefreshValid'](){const _0x899809=_0x3dd67c;return!!this[_0x899809(0x20b)]&&0x3e8*(this['_refreshExpiration']-0x3c)>Date[_0x899809(0x406)]();}['isAnyValid'](){const _0x1c1f92=_0x3dd67c;return this[_0x1c1f92(0x4ea)]()||this[_0x1c1f92(0x338)]();}[_0x3dd67c(0x55f)](){const _0x146229=_0x3dd67c;return this[_0x146229(0x4ea)]()&&!this[_0x146229(0x338)]();}['getAccessPayload'](){const _0x3f6f6e=_0x3dd67c;return this[_0x3f6f6e(0x2a9)];}[_0x3dd67c(0x230)](){const _0x4b7e0f=_0x3dd67c;return this[_0x4b7e0f(0x653)];}}const _0x5d6da2='__FRVR_auth_refresh_token',_0x3dc699='__FRVR_auth_access_token';class _0x2a2a97{constructor(){const _0x394f77=_0x3dd67c;this[_0x394f77(0x354)]=new _0xd014a6(),this['pairsPerPlatform']={},this[_0x394f77(0x239)]=_0x5cbd37;}[_0x3dd67c(0x69a)](){return _0x13c710(this,arguments,void 0x0,function*(_0x1a40ce=_0x5cbd37){const _0x4ffe40=_0x2711;this[_0x4ffe40(0x239)]=_0x1a40ce;const _0x58816a=yield this[_0x4ffe40(0x239)][_0x4ffe40(0x5d7)](_0x5d6da2),_0x3c6d51=yield this[_0x4ffe40(0x239)][_0x4ffe40(0x5d7)](_0x3dc699);this['currentPair']=new _0xd014a6(_0x3c6d51,_0x58816a);});}[_0x3dd67c(0x564)](){const _0x3981f9=_0x3dd67c;return this['currentPair'][_0x3981f9(0x41e)];}[_0x3dd67c(0x2f5)](){const _0x4a8034=_0x3dd67c;return this[_0x4a8034(0x670)][_0x4a8034(0x259)];}[_0x3dd67c(0x49d)](){const _0xe9283f=_0x3dd67c;return this[_0xe9283f(0x670)][_0xe9283f(0x36e)];}[_0x3dd67c(0x3d2)](){const _0x18d0ad=_0x3dd67c;return this[_0x18d0ad(0x670)][_0x18d0ad(0x3d2)];}['shouldRefresh'](){const _0x1b8f49=_0x3dd67c;return this[_0x1b8f49(0x670)][_0x1b8f49(0x55f)]();}['getCurrentPlatform'](){const _0x5e4ad4=_0x3dd67c;return this[_0x5e4ad4(0x670)]['platform'];}['getAvailablePlatforms'](){const _0x2bcb9d=_0x3dd67c;var _0x20f876;const _0x3526f1=[];for(const _0x1dda5 in this['pairsPerPlatform']){const _0x4afbb2=_0x1dda5;(null===(_0x20f876=this[_0x2bcb9d(0x3ad)][_0x4afbb2])||void 0x0===_0x20f876?void 0x0:_0x20f876[_0x2bcb9d(0x539)]())&&_0x3526f1['push'](_0x4afbb2);}return _0x3526f1;}get[_0x3dd67c(0x3b4)](){const _0x1339bc=_0x3dd67c;return this[_0x1339bc(0x3ad)];}[_0x3dd67c(0x323)](_0x1fd842){const _0x28af6b=_0x3dd67c;this[_0x28af6b(0x670)]=_0x1fd842,this[_0x28af6b(0x239)]['setItem'](_0x5d6da2,_0x1fd842[_0x28af6b(0x259)]),this[_0x28af6b(0x239)][_0x28af6b(0x257)](_0x3dc699,_0x1fd842['accessToken']);}[_0x3dd67c(0x570)](_0x292fa9,_0x5bfad0){const _0x41d42f=_0x3dd67c,_0x32a945=new _0xd014a6(_0x292fa9,_0x5bfad0);this[_0x41d42f(0x323)](_0x32a945);}[_0x3dd67c(0x669)](_0x16b2ab,_0x427b66){const _0x461406=_0x3dd67c;this[_0x461406(0x323)](new _0xd014a6(_0x16b2ab,_0x427b66));}[_0x3dd67c(0x24a)](_0x3d2062,_0x3c60b9){return this['updateCurrentPair'](_0x3d2062,_0x3c60b9),this['isAccessValid']();}[_0x3dd67c(0x2e9)](){const _0xc1b318=_0x3dd67c;this[_0xc1b318(0x670)]=new _0xd014a6(),this[_0xc1b318(0x3ad)]={},this[_0xc1b318(0x239)][_0xc1b318(0x2fb)]([_0x5d6da2,_0x3dc699]);}[_0x3dd67c(0x338)](){return this['currentPair']['isAccessValid']();}[_0x3dd67c(0x4ea)](){const _0x137402=_0x3dd67c;return this[_0x137402(0x670)][_0x137402(0x4ea)]();}[_0x3dd67c(0x539)](){const _0x327e8f=_0x3dd67c;return this[_0x327e8f(0x670)]['isAnyValid']();}get[_0x3dd67c(0x670)](){const _0x5c5886=_0x3dd67c;return this[_0x5c5886(0x354)];}set[_0x3dd67c(0x670)](_0x385d61){const _0x46d628=_0x3dd67c;this['_currentPair']=_0x385d61,(null==_0x385d61?void 0x0:_0x385d61[_0x46d628(0x231)])&&(this['pairsPerPlatform'][_0x385d61['platform']]=_0x385d61);}}var _0x3bdd16;_0x9cdbaf[_0x3dd67c(0x249)]=void 0x0,(_0x3bdd16=_0x9cdbaf[_0x3dd67c(0x249)]||(_0x9cdbaf[_0x3dd67c(0x249)]={}))[_0x3dd67c(0x4e8)]=_0x3dd67c(0x54c),_0x3bdd16['ANONYMOUS']=_0x3dd67c(0x489),_0x3bdd16['FACEBOOK_INSTANT']=_0x3dd67c(0x540),_0x3bdd16[_0x3dd67c(0x4c8)]=_0x3dd67c(0x474),_0x3bdd16[_0x3dd67c(0x32a)]=_0x3dd67c(0x657),_0x3bdd16[_0x3dd67c(0x660)]=_0x3dd67c(0x261),_0x3bdd16[_0x3dd67c(0x431)]=_0x3dd67c(0x2e5),_0x3bdd16[_0x3dd67c(0x201)]='discord',_0x3bdd16['MICROSOFT']=_0x3dd67c(0x569);const _0x30c62f={'AUTH_REGISTRATION':{'method':_0x3dd67c(0x4da),'path':_0x3dd67c(0x352)},'AUTH_LOGIN':{'method':_0x3dd67c(0x4da),'path':_0x3dd67c(0x45e)},'AUTH_REFRESH':{'method':'POST','path':_0x3dd67c(0x6a8)},'AUTH_RECOVER':{'method':'POST','path':'/recover'},'AUTH_RECOVER_CHALLENGE':{'method':'POST','path':_0x3dd67c(0x21f)},'AUTH_VERIFY':{'method':_0x3dd67c(0x4da),'path':_0x3dd67c(0x3af)},'AUTH_VERIFY_CHALLENGE':{'method':_0x3dd67c(0x4da),'path':_0x3dd67c(0x43c)},'AUTH_SETTINGS':{'method':'POST','path':_0x3dd67c(0x677)},'USER_VERIFIED':{'method':_0x3dd67c(0x285),'path':'/user/verified'}};class _0x3eab81{constructor(_0x5377cd={}){const _0xaba293=_0x3dd67c;var _0x465590;this[_0xaba293(0x544)]=null,this[_0xaba293(0x50f)]=(null===(_0x465590=_0x5377cd['config'])||void 0x0===_0x465590?void 0x0:_0x465590['overrideBackendURL'])||(_0x5377cd[_0xaba293(0x39d)]==_0x9cdbaf[_0xaba293(0x270)][_0xaba293(0x255)]?_0xaba293(0x441):'https://staging.crucible.frvr.com/v1/auth');}[_0x3dd67c(0x245)](){const _0xb06583=_0x3dd67c;return!!this[_0xb06583(0x544)];}[_0x3dd67c(0x5fc)](_0x2a1a86){return _0x13c710(this,void 0x0,void 0x0,function*(){const _0x300780=_0x2711,_0x2d71fb={'platform':_0x9cdbaf[_0x300780(0x249)][_0x300780(0x4e8)],'credentials':_0x2a1a86},_0x23df35={0xc9:()=>_0x566fcf[_0x300780(0x1f3)],0x199:()=>{const _0x490e42=_0x300780;throw _0x566fcf[_0x490e42(0x2c6)];}};return this[_0x300780(0x5b6)](_0x30c62f[_0x300780(0x607)],_0x23df35,_0x2d71fb);});}[_0x3dd67c(0x626)](_0x3d4c35){return _0x13c710(this,void 0x0,void 0x0,function*(){const _0x3c4176=_0x2711;if(this[_0x3c4176(0x544)])return this['ongoingFRVRLogin'];const _0x42b768={0xc9:_0x5b1b13=>_0x13c710(this,void 0x0,void 0x0,function*(){const _0x276ecf=_0x3c4176,_0x17120d=yield _0x5b1b13[_0x276ecf(0x23e)](),_0x42baa1=new _0xd014a6(_0x17120d[_0x276ecf(0x41e)],_0x17120d['refreshToken']);if(_0x42baa1[_0x276ecf(0x338)]())return Object['assign'](Object[_0x276ecf(0x2ac)]({},_0x566fcf[_0x276ecf(0x5e4)]),{'tokenPair':_0x42baa1});throw _0x566fcf[_0x276ecf(0x3be)];}),0x191:()=>{const _0x3b8e52=_0x3c4176;throw _0x566fcf[_0x3b8e52(0x466)];},0x193:()=>{const _0x13730c=_0x3c4176;throw _0x566fcf[_0x13730c(0x26e)];}};return this[_0x3c4176(0x544)]=this['fetchAndHandleCommonErrors'](_0x30c62f[_0x3c4176(0x4a0)],_0x42b768,_0x3d4c35),this[_0x3c4176(0x544)]['finally'](()=>{const _0x1420a1=_0x3c4176;this[_0x1420a1(0x544)]=null;});});}[_0x3dd67c(0x684)](){return _0x13c710(this,void 0x0,void 0x0,function*(){const _0x2b70de=_0x2711;return this[_0x2b70de(0x626)]({'platform':_0x9cdbaf[_0x2b70de(0x249)]['ANONYMOUS']});});}['checkVerification'](_0x3acffd){return _0x13c710(this,void 0x0,void 0x0,function*(){const _0x29a5ba=_0x2711,_0x5b16b9={0xc8:_0x558392=>_0x13c710(this,void 0x0,void 0x0,function*(){const _0x8afb12=_0x2711,_0x52edb6=yield _0x558392[_0x8afb12(0x23e)]();return null==_0x52edb6?void 0x0:_0x52edb6[_0x8afb12(0x5c0)];})};return this['fetchAndHandleCommonErrors'](_0x30c62f['USER_VERIFIED'],_0x5b16b9,void 0x0,{'X-REFRESH-TOKEN':_0x3acffd[_0x29a5ba(0x259)]});});}['initiateVerifyChallenge'](_0xaa3585){return _0x13c710(this,void 0x0,void 0x0,function*(){const _0x15083b=_0x2711,_0x14d294={'platform':_0x9cdbaf[_0x15083b(0x249)][_0x15083b(0x4e8)],'credentials':_0xaa3585},_0x3386b2={0xc9:()=>_0x566fcf[_0x15083b(0x5c3)],0x191:()=>{const _0x3abdcc=_0x15083b;throw _0x566fcf[_0x3abdcc(0x466)];}};return this[_0x15083b(0x5b6)](_0x30c62f[_0x15083b(0x568)],_0x3386b2,_0x14d294);});}[_0x3dd67c(0x4ab)](_0xdfe4ef){return _0x13c710(this,void 0x0,void 0x0,function*(){const _0x257e9e=_0x2711,_0x40c2e9={'platform':_0x9cdbaf[_0x257e9e(0x249)][_0x257e9e(0x4e8)],'credentials':_0xdfe4ef},_0x2813eb={0xc9:()=>_0x566fcf[_0x257e9e(0x5c3)],0x191:()=>{const _0x29cd68=_0x257e9e;throw _0x566fcf[_0x29cd68(0x466)];}};return this[_0x257e9e(0x5b6)](_0x30c62f[_0x257e9e(0x550)],_0x2813eb,_0x40c2e9);});}[_0x3dd67c(0x558)](_0x4b4f55,_0x449344){return _0x13c710(this,void 0x0,void 0x0,function*(){const _0x4f14ce=_0x2711,_0x1e325c={'platform':_0x9cdbaf[_0x4f14ce(0x249)][_0x4f14ce(0x4e8)],'credentials':{'newPassword':_0x449344}},_0x13895a={0xc8:()=>_0x566fcf[_0x4f14ce(0x5c3)],0x191:()=>{throw _0x566fcf['INVALID_CREDENTIALS'];}};return this[_0x4f14ce(0x5b6)](_0x30c62f[_0x4f14ce(0x458)],_0x13895a,_0x1e325c,{'Authorization':_0x4f14ce(0x654)+_0x4b4f55});});}[_0x3dd67c(0x507)](_0x405d80){return _0x13c710(this,void 0x0,void 0x0,function*(){const _0xb8cac7=_0x2711;return this[_0xb8cac7(0x5b6)](_0x30c62f['AUTH_REFRESH'],{0xc9:_0x14ed72=>_0x13c710(this,void 0x0,void 0x0,function*(){const _0x59d2da=_0xb8cac7,_0x4131e1=yield _0x14ed72['json']();if(!_0x4131e1['accessToken']||!_0x4131e1[_0x59d2da(0x259)])throw _0x566fcf[_0x59d2da(0x3be)];if(_0x405d80[_0x59d2da(0x630)](_0x4131e1[_0x59d2da(0x41e)],_0x4131e1[_0x59d2da(0x259)]),_0x405d80[_0x59d2da(0x338)]())return _0x566fcf[_0x59d2da(0x5c3)];throw _0x566fcf[_0x59d2da(0x3be)];}),0x191:()=>{const _0x5bd806=_0xb8cac7;throw _0x566fcf[_0x5bd806(0x466)];}},{'refreshToken':_0x405d80[_0xb8cac7(0x259)]});});}[_0x3dd67c(0x5b6)](_0x2b8b1e,_0x4464d6){return _0x13c710(this,arguments,void 0x0,function*(_0x33cb48,_0x1b2980,_0x19506c={},_0x3498f7={}){const _0x2f67dc=_0x2711,{path:_0x265daa,method:_0xdc204}=_0x33cb48,_0x1b293c=this[_0x2f67dc(0x50f)]+_0x265daa,_0x52795b={'method':_0xdc204,'headers':Object[_0x2f67dc(0x2ac)]({'Content-Type':'application/json'},_0x3498f7),'body':_0x19506c&&JSON['stringify'](_0x19506c)};let _0x2279fe;try{_0x2279fe=yield fetch(_0x1b293c,_0x52795b);}catch(_0x23fbeb){throw Object[_0x2f67dc(0x2ac)](Object['assign']({},_0x566fcf['NETWORK_ERROR']),{'payload':{'error':_0x23fbeb}});}if(!_0x2279fe)throw _0x566fcf[_0x2f67dc(0x24d)];if(_0x1b2980[_0x2279fe[_0x2f67dc(0x23b)]])return _0x1b2980[_0x2279fe[_0x2f67dc(0x23b)]](_0x2279fe);switch(_0x2279fe[_0x2f67dc(0x23b)]){case 0x190:throw _0x566fcf[_0x2f67dc(0x2c4)];case 0x1f4:throw _0x566fcf[_0x2f67dc(0x3be)];default:throw Object[_0x2f67dc(0x2ac)](Object['assign']({},_0x566fcf[_0x2f67dc(0x3db)]),{'payload':{'status':_0x2279fe['status'],'url':_0x33cb48}});}});}}class _0x2f3d03{constructor(_0x1ab548={}){const _0x164d51=_0x3dd67c;var _0x10845c,_0x4bd054,_0x5caa43,_0x594c26,_0x11717a,_0x32871e,_0x46fa91;this[_0x164d51(0x33f)]=[],this[_0x164d51(0x4dd)]=-0x1,this[_0x164d51(0x35a)]=null!==(_0x10845c=_0x1ab548['logger'])&&void 0x0!==_0x10845c?_0x10845c:_0x98a3fc,this['providers']=null!==(_0x4bd054=_0x1ab548[_0x164d51(0x604)])&&void 0x0!==_0x4bd054?_0x4bd054:[],this[_0x164d51(0x239)]=null!==(_0x5caa43=_0x1ab548['storage'])&&void 0x0!==_0x5caa43?_0x5caa43:_0x5cbd37,this[_0x164d51(0x5ab)]=null!==(_0x594c26=_0x1ab548['serviceClient'])&&void 0x0!==_0x594c26?_0x594c26:new _0x3eab81(_0x1ab548),this[_0x164d51(0x643)]=null!==(_0x11717a=_0x1ab548[_0x164d51(0x643)])&&void 0x0!==_0x11717a?_0x11717a:new _0x2a2a97(),this[_0x164d51(0x5f0)]=!this[_0x164d51(0x604)][_0x164d51(0x57c)](_0x42aaee=>_0x42aaee[_0x164d51(0x4d3)]()),this['_isAnonymousLoginEnabled']=this[_0x164d51(0x5f0)]&&null!==(_0x46fa91=null===(_0x32871e=_0x1ab548[_0x164d51(0x399)])||void 0x0===_0x32871e?void 0x0:_0x32871e['enableAnonymousLogin'])&&void 0x0!==_0x46fa91&&_0x46fa91;}['getStorageAccessToken'](){return _0x13c710(this,void 0x0,void 0x0,function*(){const _0x5e8c4c=_0x2711,_0x22eb78=new _0x2a2a97();return yield _0x22eb78[_0x5e8c4c(0x69a)](this[_0x5e8c4c(0x239)]),_0x22eb78['isAccessValid']()?_0x22eb78[_0x5e8c4c(0x564)]():null;});}['init'](){return _0x13c710(this,void 0x0,void 0x0,function*(){const _0x44532a=_0x2711;var _0x21c2e0;yield this['tokenHandler'][_0x44532a(0x69a)](this['storage']);const _0x5a5dc3={'loginWithProvider':this[_0x44532a(0x33c)][_0x44532a(0x5d9)](this)};let _0x17814d=!0x1;for(const _0x35fa56 of this[_0x44532a(0x604)])if(yield _0x35fa56[_0x44532a(0x581)](_0x5a5dc3),_0x35fa56[_0x44532a(0x4fd)]()&&!_0x17814d){if(_0x17814d=!0x0,null===(_0x21c2e0=_0x35fa56['handlesFRVRLogin'])||void 0x0===_0x21c2e0?void 0x0:_0x21c2e0[_0x44532a(0x350)](_0x35fa56))break;this[_0x44532a(0x33c)](_0x35fa56)['catch'](_0x4b4dc8=>{const _0x360884=_0x44532a;var _0x55d7e7;null===(_0x55d7e7=this[_0x360884(0x35a)])||void 0x0===_0x55d7e7||_0x55d7e7[_0x360884(0x1f6)](_0x360884(0x3f4)+_0x35fa56[_0x360884(0x689)]+_0x360884(0x48c),_0x4b4dc8);});}_0x17814d||!this[_0x44532a(0x687)]()?!_0x17814d&&this[_0x44532a(0x27a)]&&this[_0x44532a(0x684)]()[_0x44532a(0x241)](_0x581073=>{const _0x1bd5f1=_0x44532a;var _0x2063ad;null===(_0x2063ad=this[_0x1bd5f1(0x35a)])||void 0x0===_0x2063ad||_0x2063ad[_0x1bd5f1(0x1f6)](_0x1bd5f1(0x2c9),_0x581073);}):this[_0x44532a(0x3c0)]();});}[_0x3dd67c(0x564)](){const _0x49d66d=_0x3dd67c;return this[_0x49d66d(0x470)]()?null:this[_0x49d66d(0x643)]['getAccessToken']();}['getFRVRID'](){const _0x264735=_0x3dd67c;return this[_0x264735(0x687)]()?this[_0x264735(0x643)]['getFRVRID']():null;}[_0x3dd67c(0x3d2)](){const _0x79cd01=_0x3dd67c;return this['tokenHandler'][_0x79cd01(0x3d2)]();}['getCredentials'](){const _0x1ad179=_0x3dd67c;if(!this[_0x1ad179(0x687)]())return;return Object[_0x1ad179(0x2ac)]({[_0x9cdbaf[_0x1ad179(0x249)][_0x1ad179(0x4e8)]]:{'userID':this[_0x1ad179(0x643)]['getFRVRID'](),'accessToken':this['tokenHandler']['getAccessToken'](),'isTokenExpired':!this[_0x1ad179(0x643)]['isAccessValid'](),'isVerified':this[_0x1ad179(0x643)][_0x1ad179(0x3d2)]()}},this['getThirdPartyCredentials']());}[_0x3dd67c(0x361)](){const _0x143a43=_0x3dd67c,_0x13baa9={};return this[_0x143a43(0x604)][_0x143a43(0x63c)](_0x4c2776=>{const _0x462fc0=_0x143a43;_0x4c2776&&_0x4c2776[_0x462fc0(0x687)]()&&(_0x13baa9[_0x4c2776[_0x462fc0(0x689)]()]=_0x4c2776[_0x462fc0(0x4fd)]());}),_0x13baa9;}[_0x3dd67c(0x687)](){const _0x225417=_0x3dd67c;return this['tokenHandler'][_0x225417(0x539)]();}[_0x3dd67c(0x245)](){const _0x263d63=_0x3dd67c;return this[_0x263d63(0x5ab)][_0x263d63(0x245)]()||!!this[_0x263d63(0x604)]['find'](_0xacba0b=>_0xacba0b['isLoggingIn']());}['getCurrentPlatform'](){const _0x4d00bc=_0x3dd67c;return this[_0x4d00bc(0x643)][_0x4d00bc(0x3a4)]();}[_0x3dd67c(0x392)](){const _0x305e03=_0x3dd67c;return this[_0x305e03(0x604)][_0x305e03(0x3c6)](_0x3cb083=>_0x3cb083[_0x305e03(0x5d1)]())[_0x305e03(0x433)](_0x5438a9=>_0x5438a9['getPlatformId']());}['isPlatformAvailable'](_0x4f7431){const _0x21e421=_0x3dd67c;return!!this[_0x21e421(0x604)][_0x21e421(0x57c)](_0x28b3c6=>_0x28b3c6['isLoginSupported']()&&_0x28b3c6[_0x21e421(0x689)]()==_0x4f7431);}[_0x3dd67c(0x549)](){const _0x17b211=_0x3dd67c;return this[_0x17b211(0x5f0)];}[_0x3dd67c(0x40e)](){const _0x24fbc0=_0x3dd67c;return!this['providers'][_0x24fbc0(0x57c)](_0x54c639=>!_0x54c639['isLogoutSupported']());}[_0x3dd67c(0x3cc)](_0x2a6244){const _0xcf82e=_0x3dd67c;this['loginStatusListeners'][_0xcf82e(0x276)](_0x2a6244);}[_0x3dd67c(0x49b)](_0x5b50b5){return _0x13c710(this,arguments,void 0x0,function*(_0x163886,_0x21e172=!0x0){const _0x4c008f=_0x2711;return this[_0x4c008f(0x5ab)][_0x4c008f(0x5fc)](_0x163886)['then'](()=>this[_0x4c008f(0x6a5)]({'platform':_0x9cdbaf['Platform'][_0x4c008f(0x4e8)],'credentials':_0x163886}))[_0x4c008f(0x241)](_0x4a75ea=>{const _0x423e5f=_0x4c008f;if(_0x4a75ea[_0x423e5f(0x2e1)]==_0x566fcf[_0x423e5f(0x2c6)][_0x423e5f(0x2e1)]&&_0x21e172)return this[_0x423e5f(0x6a5)]({'platform':_0x9cdbaf[_0x423e5f(0x249)]['FRVR'],'credentials':_0x163886});throw _0x4a75ea;});});}[_0x3dd67c(0x6a5)](_0x5bf1e2){return _0x13c710(this,void 0x0,void 0x0,function*(){const _0xdc116=_0x2711;return this[_0xdc116(0x5ab)][_0xdc116(0x626)](_0x5bf1e2)[_0xdc116(0x60f)](_0x5f3676=>_0x13c710(this,void 0x0,void 0x0,function*(){const _0x109f26=_0xdc116;if(_0x5f3676[_0x109f26(0x30d)]){this[_0x109f26(0x643)][_0x109f26(0x323)](_0x5f3676['tokenPair']);for(const _0x3c5081 of this[_0x109f26(0x604)])_0x3c5081[_0x109f26(0x4a7)]&&(yield _0x3c5081[_0x109f26(0x4a7)](this[_0x109f26(0x643)][_0x109f26(0x670)]));this[_0x109f26(0x3c0)]();}return _0x20b566(_0x5f3676,['tokenPair']);}));});}[_0x3dd67c(0x684)](){return _0x13c710(this,void 0x0,void 0x0,function*(){const _0x53b271=_0x2711;if(!this[_0x53b271(0x27a)])throw _0x566fcf[_0x53b271(0x395)];const _0x5ac63c=yield this['serviceClient'][_0x53b271(0x684)](),{tokenPair:_0x49016a}=_0x5ac63c,_0x296da5=_0x20b566(_0x5ac63c,[_0x53b271(0x30d)]);if(_0x49016a){this['tokenHandler']['setAsCurrent'](_0x49016a);for(const _0x5c7323 of this[_0x53b271(0x604)])_0x5c7323[_0x53b271(0x4a7)]&&(yield _0x5c7323[_0x53b271(0x4a7)](this[_0x53b271(0x643)][_0x53b271(0x670)]));this['onLoginStatusChange']();}return _0x296da5;});}['loginThroughPlatform'](_0x4a80df){return _0x13c710(this,void 0x0,void 0x0,function*(){const _0x251284=_0x2711;let _0x3b0f85;if(_0x3b0f85=_0x4a80df||0x1!=this[_0x251284(0x604)][_0x251284(0x2db)]?this['providers'][_0x251284(0x57c)](_0x477e54=>_0x477e54['getPlatformId']()==_0x4a80df):this[_0x251284(0x604)][0x0],!_0x3b0f85)throw _0x566fcf[_0x251284(0x395)];return _0x3b0f85[_0x251284(0x626)]()[_0x251284(0x241)](_0x435948=>{const _0x18d24c=_0x251284;throw Object['assign'](Object[_0x18d24c(0x2ac)]({},_0x566fcf[_0x18d24c(0x4d8)]),{'payload':{'platform':_0x3b0f85[_0x18d24c(0x689)](),'error':_0x435948}});})[_0x251284(0x60f)](_0x40a139=>{const _0x50c63a=_0x251284;if(_0x40a139)return this[_0x50c63a(0x33c)](_0x3b0f85);throw Object['assign'](Object['assign']({},_0x566fcf[_0x50c63a(0x4d8)]),{'payload':{'platform':_0x3b0f85[_0x50c63a(0x689)]()}});});});}[_0x3dd67c(0x626)](_0x4ca89c,_0x4e53f0){const _0x1b7dd3=_0x3dd67c;return _0x4ca89c&&_0x4e53f0?this[_0x1b7dd3(0x6a5)]({'platform':_0x4ca89c,'credentials':_0x4e53f0}):this[_0x1b7dd3(0x504)](_0x4ca89c);}[_0x3dd67c(0x21b)](){const _0x3ee35f=_0x3dd67c;this['tokenHandler'][_0x3ee35f(0x2e9)](),this['providers'][_0x3ee35f(0x63c)](_0x5d7d6e=>{const _0x51b5f1=_0x3ee35f;_0x5d7d6e[_0x51b5f1(0x21b)]();}),this[_0x3ee35f(0x3c0)]();}[_0x3dd67c(0x4c2)](_0x2a923a,_0x175586){return _0x13c710(this,void 0x0,void 0x0,function*(){});}[_0x3dd67c(0x31a)](_0x3425ff){return _0x13c710(this,void 0x0,void 0x0,function*(){return this['serviceClient']['initiateVerifyChallenge'](_0x3425ff);});}[_0x3dd67c(0x4ab)](_0x508abd){return _0x13c710(this,void 0x0,void 0x0,function*(){const _0x564213=_0x2711;return this[_0x564213(0x5ab)][_0x564213(0x4ab)](_0x508abd);});}[_0x3dd67c(0x558)](_0x1722b4){return _0x13c710(this,void 0x0,void 0x0,function*(){const _0x3a8b72=_0x2711;if(!this[_0x3a8b72(0x687)]())throw _0x566fcf['NOT_LOGGED_IN'];return this[_0x3a8b72(0x5ab)][_0x3a8b72(0x558)](this[_0x3a8b72(0x643)][_0x3a8b72(0x2f5)](),_0x1722b4);});}[_0x3dd67c(0x4c7)](){return _0x13c710(this,void 0x0,void 0x0,function*(){const _0x6d2f33=_0x2711;return!(!this[_0x6d2f33(0x3d2)]()&&this[_0x6d2f33(0x687)]())||this[_0x6d2f33(0x5ab)][_0x6d2f33(0x5a3)](this[_0x6d2f33(0x643)][_0x6d2f33(0x670)])[_0x6d2f33(0x60f)](_0x3bc161=>!!_0x3bc161&&this[_0x6d2f33(0x4ee)]()[_0x6d2f33(0x60f)](()=>!0x0));});}['authenticatedFetch'](_0x329776,_0x180cc1){return _0x13c710(this,void 0x0,void 0x0,function*(){const _0x292ed5=_0x2711;return _0x180cc1=yield this[_0x292ed5(0x417)](_0x180cc1),fetch(_0x329776,_0x180cc1);});}[_0x3dd67c(0x417)](_0x3e6a8c){return _0x13c710(this,void 0x0,void 0x0,function*(){const _0x384267=_0x2711;if(this[_0x384267(0x470)]()&&(yield this[_0x384267(0x4ee)]()),!this[_0x384267(0x643)]['isAccessValid']())throw _0x566fcf[_0x384267(0x403)];return Object[_0x384267(0x2ac)](Object[_0x384267(0x2ac)]({},_0x3e6a8c),{'headers':Object['assign'](Object[_0x384267(0x2ac)]({'Content-Type':'application/json'},_0x3e6a8c[_0x384267(0x3ed)]),{'Authorization':'Bearer\x20'+this[_0x384267(0x643)][_0x384267(0x564)]()})});});}[_0x3dd67c(0x3c0)](){const _0x2234b5=_0x3dd67c,_0x536ab0=this[_0x2234b5(0x687)]();this['loginStatusListeners'][_0x2234b5(0x63c)](_0x19975e=>{_0x19975e(_0x536ab0);}),this['updateProactiveRefresh']();}['getFreshAccessToken'](){return _0x13c710(this,void 0x0,void 0x0,function*(){const _0x505585=_0x2711;return this[_0x505585(0x470)]()&&(yield this[_0x505585(0x4ee)]()),this['tokenHandler'][_0x505585(0x564)]();});}[_0x3dd67c(0x470)](){const _0x2f0e99=_0x3dd67c;return this['tokenHandler'][_0x2f0e99(0x55f)]();}[_0x3dd67c(0x507)](_0x1d5753){return _0x13c710(this,void 0x0,void 0x0,function*(){const _0x4955c5=_0x2711,_0x57e6c1=this['serviceClient'][_0x4955c5(0x507)](_0x1d5753);return _0x57e6c1[_0x4955c5(0x60f)](()=>{const _0xa980ac=_0x4955c5;this[_0xa980ac(0x643)]['setAsCurrent'](_0x1d5753),this[_0xa980ac(0x4a5)]();})[_0x4955c5(0x241)](()=>{}),_0x57e6c1['catch'](_0x380e35=>_0x13c710(this,void 0x0,void 0x0,function*(){const _0xc8832e=_0x4955c5,_0x3f7246=this[_0xc8832e(0x604)][_0xc8832e(0x57c)](_0x1fcb73=>_0x1fcb73[_0xc8832e(0x689)]()==_0x1d5753[_0xc8832e(0x231)]);if(_0x380e35[_0xc8832e(0x2e1)]!=_0x31eb43['invalidCredentials']||!(null==_0x3f7246?void 0x0:_0x3f7246['isLoggedIn']()))throw this[_0xc8832e(0x643)]['isAccessValid']()?this[_0xc8832e(0x4a5)]():this[_0xc8832e(0x21b)](),_0x380e35;try{return yield this[_0xc8832e(0x33c)](_0x3f7246),!0x0;}catch(_0x2acf0c){throw this['logout'](),_0x2acf0c;}}));});}[_0x3dd67c(0x4ee)](){return _0x13c710(this,void 0x0,void 0x0,function*(){const _0x414afb=_0x2711;return this[_0x414afb(0x507)](this[_0x414afb(0x643)]['currentPair'])[_0x414afb(0x60f)](_0x18f095=>_0x13c710(this,void 0x0,void 0x0,function*(){const _0x468378=_0x414afb;for(const _0x3d0db6 of this[_0x468378(0x604)])_0x3d0db6['onFRVRTokensReceived']&&(yield _0x3d0db6[_0x468378(0x4a7)](this[_0x468378(0x643)][_0x468378(0x670)]));return _0x18f095;}));});}[_0x3dd67c(0x33c)](_0x129b1d){return _0x13c710(this,void 0x0,void 0x0,function*(){const _0x5da4b1=_0x2711;return this[_0x5da4b1(0x6a5)]({'platform':null==_0x129b1d?void 0x0:_0x129b1d['getPlatformId'](),'credentials':null==_0x129b1d?void 0x0:_0x129b1d[_0x5da4b1(0x4fd)]()});});}[_0x3dd67c(0x4a5)](){const _0x2a4fc5=_0x3dd67c;window[_0x2a4fc5(0x47d)](this[_0x2a4fc5(0x4dd)]),this['isLoggedIn']()&&(this['proactiveRefreshTimeoutID']=window[_0x2a4fc5(0x42f)](()=>{const _0x12a809=_0x2a4fc5;this[_0x12a809(0x4ee)]();},0x3e8*this[_0x2a4fc5(0x226)]()));}[_0x3dd67c(0x226)](){const _0x59c882=_0x3dd67c;var _0x2894bb;if(!this[_0x59c882(0x643)]['isRefreshValid']())return Number[_0x59c882(0x61a)];const _0x2d445a=this[_0x59c882(0x643)]['currentPair'],_0x3eba9b=0.4*((null!==(_0x2894bb=_0x2d445a[_0x59c882(0x1fc)])&&void 0x0!==_0x2894bb?_0x2894bb:Date['now']()/0x3e8)+_0x2d445a[_0x59c882(0x3e1)]-Math[_0x59c882(0x5ae)](Date[_0x59c882(0x406)]()/0x3e8));return Math[_0x59c882(0x38f)](0x1e,_0x3eba9b);}get[_0x3dd67c(0x46c)](){return _0x31eb43;}get[_0x3dd67c(0x289)](){return _0x9cdbaf['Platform'];}}var _0x2870d7=Object['freeze']({'__proto__':null});class _0x4f99ea extends Error{constructor(_0x3704e0,_0x244daf){const _0x7c40a7=_0x3dd67c;super(_0x3704e0),this[_0x7c40a7(0x235)]=_0x244daf,this[_0x7c40a7(0x256)]=_0x7c40a7(0x320),this[_0x7c40a7(0x235)]=_0x244daf;}}class _0x2ff8b1 extends Error{constructor(_0x1c618d){const _0x2dee33=_0x3dd67c;super(_0x1c618d),this[_0x2dee33(0x256)]=_0x2dee33(0x394),Object[_0x2dee33(0x38e)](this,_0x2ff8b1[_0x2dee33(0x383)]);}}class _0x346884{constructor({accessProvider:_0x1e90eb,gameId:_0x2d6a12,debugProvider:_0x4e706f,apiUrl:_0x20159d,channelId:_0x5b87f0}){const _0x285cca=_0x3dd67c;this[_0x285cca(0x5fd)]=_0x1e90eb,this[_0x285cca(0x65e)]=_0x2d6a12,this[_0x285cca(0x61d)]=_0x4e706f,this[_0x285cca(0x36a)]=null!=_0x20159d?_0x20159d:_0x285cca(0x614),this[_0x285cca(0x55d)]=_0x5b87f0;}['getFeatures'](){return _0x13c710(this,void 0x0,void 0x0,function*(){const _0x278eb4=_0x2711,_0x2821cf=new URLSearchParams();if(this[_0x278eb4(0x61d)]){const _0x4c79c7=yield this[_0x278eb4(0x61d)][_0x278eb4(0x488)](_0x278eb4(0x5dd));_0x4c79c7&&_0x2821cf[_0x278eb4(0x3b9)](_0x278eb4(0x328),_0x4c79c7);}this[_0x278eb4(0x55d)]&&_0x2821cf[_0x278eb4(0x3b9)]('channel',this['channelId']);const _0x3ab66a={'Content-Type':_0x278eb4(0x397)},_0x326259=yield this[_0x278eb4(0x5fd)][_0x278eb4(0x564)]();_0x326259?_0x3ab66a['Authorization']='Bearer\x20'+_0x326259:_0x2821cf[_0x278eb4(0x3b9)](_0x278eb4(0x42d),yield this[_0x278eb4(0x5fd)][_0x278eb4(0x3b3)]());let _0x5cda6b=_0x2821cf[_0x278eb4(0x3b5)]();_0x5cda6b&&(_0x5cda6b='?'+_0x5cda6b);const _0x714ec8=_0x326259?this['baseUrl']+'/v1/tailor/'+this['gameId']+_0x278eb4(0x215)+_0x5cda6b:this[_0x278eb4(0x36a)]+'/v1/tailor/guest/'+this[_0x278eb4(0x65e)]+_0x278eb4(0x215)+_0x5cda6b,_0x371013=yield fetch(_0x714ec8,{'headers':_0x3ab66a});if(!_0x371013['ok'])throw new _0x4f99ea(_0x278eb4(0x3c5)+_0x371013[_0x278eb4(0x23b)]+'\x20'+_0x371013[_0x278eb4(0x393)],_0x371013[_0x278eb4(0x23b)]);return yield _0x371013[_0x278eb4(0x23e)]();});}}function _0x1f8277(_0x16b8c3){const _0x5324de=_0x3dd67c;return function(_0x154faf,_0x3ea3fc,_0x1b591b,_0x29a3f5){return()=>_0x13c710(this,void 0x0,void 0x0,function*(){const _0x2316a2=_0x2711;let _0x3d43ac=yield _0x154faf[_0x2316a2(0x5d7)](_0x3ea3fc);const _0x58dcca=null==_0x3d43ac?void 0x0:_0x3d43ac[_0x2316a2(0x699)];_0x29a3f5&&_0x58dcca&&Date[_0x2316a2(0x406)]()-_0x58dcca>=0x18*_0x29a3f5*0x3c*0x3c*0x3e8&&(_0x3d43ac=void 0x0);const _0x4363ce=null==_0x3d43ac?void 0x0:_0x3d43ac['value'];if(_0x4363ce)return String(_0x4363ce);const _0x567b62=yield _0x1b591b();return yield _0x154faf[_0x2316a2(0x257)](_0x3ea3fc,{'value':_0x567b62,'createdAt':Date[_0x2316a2(0x406)]()}),_0x567b62;});}(_0x16b8c3,_0x5324de(0x5db),()=>_0x13c710(this,void 0x0,void 0x0,function*(){const _0xd65d5c=_0x5324de;return _0xd65d5c(0x5ff)!=typeof window&&window[_0xd65d5c(0x5c6)]&&window[_0xd65d5c(0x5c6)][_0xd65d5c(0x326)]?window['crypto'][_0xd65d5c(0x326)]():_0xd65d5c(0x457)[_0xd65d5c(0x1f5)](/[xy]/g,_0x425f0b=>{const _0x2ca5c3=_0xd65d5c,_0x396680=0x10*Math[_0x2ca5c3(0x5e1)]()|0x0;return('x'===_0x425f0b?_0x396680:0x3&_0x396680|0x8)[_0x2ca5c3(0x3b5)](0x10);});}),0x16d);}const _0x2d5d99=_0x3dd67c(0x21d);class _0x12f09a{constructor({client:_0x445b6c,auth:_0x55abe6,tracker:_0x465ba9,debugProvider:_0x1509b3,localStorage:_0x28afb5,logger:_0x5dd21c,config:_0x2d0401,remoteABTests:_0x4c7dbb,channelId:_0x317bd7}){const _0x1b675b=_0x3dd67c;var _0x7bb839,_0xa0c1c2;this[_0x1b675b(0x56a)]=!0x0,this[_0x1b675b(0x5cf)]=_0x55abe6,this[_0x1b675b(0x292)]=_0x465ba9,this['anonymousIdProvider']=_0x1f8277(_0x28afb5);const _0x5f25f7={'getAccessToken':()=>_0x13c710(this,void 0x0,void 0x0,function*(){const _0x5bccd4=_0x1b675b;return(yield this['auth'][_0x5bccd4(0x564)]())||(yield this['auth'][_0x5bccd4(0x529)]());}),'getUserId':()=>_0x13c710(this,void 0x0,void 0x0,function*(){const _0x4382fb=_0x1b675b;return this[_0x4382fb(0x4f3)];})};this[_0x1b675b(0x6ba)]=null!=_0x445b6c?_0x445b6c:new _0x346884({'accessProvider':_0x5f25f7,'debugProvider':_0x1509b3,'gameId':_0x2d0401[_0x1b675b(0x65e)],'apiUrl':_0x2d0401[_0x1b675b(0x3d7)],'channelId':_0x317bd7}),this[_0x1b675b(0x2b1)]=_0x28afb5,this[_0x1b675b(0x35a)]=_0x5dd21c,this['config']=_0x2d0401,this[_0x1b675b(0x4c0)]=_0x4c7dbb,this[_0x1b675b(0x4cc)]=null!==(_0x7bb839=_0x2d0401[_0x1b675b(0x4cc)])&&void 0x0!==_0x7bb839?_0x7bb839:{},this[_0x1b675b(0x5ba)]=new _0x15f567(null!==(_0xa0c1c2=_0x2d0401[_0x1b675b(0x4b0)])&&void 0x0!==_0xa0c1c2?_0xa0c1c2:0x3e8),this['config'][_0x1b675b(0x4ba)]||this[_0x1b675b(0x434)]();}['init'](){return _0x13c710(this,void 0x0,void 0x0,function*(){const _0xb53ce=_0x2711;return this['initPromise']||(this[_0xb53ce(0x59e)]=((()=>_0x13c710(this,void 0x0,void 0x0,function*(){const _0x5c9928=_0xb53ce;this[_0x5c9928(0x5bd)]=yield this[_0x5c9928(0x2b1)][_0x5c9928(0x5d7)](_0x2d5d99),this[_0x5c9928(0x4f3)]=yield this['anonymousIdProvider']();}))())),this[_0xb53ce(0x59e)];});}[_0x3dd67c(0x434)](){const _0x20b6fa=_0x3dd67c;this[_0x20b6fa(0x5ba)]['activateTimeout']();}[_0x3dd67c(0x4c1)](_0x57fb62){return _0x13c710(this,arguments,void 0x0,function*(_0x93c869,_0x14b431=!0x1){const _0x9897d4=_0x2711;return this[_0x9897d4(0x508)]([_0x93c869],_0x14b431)['then'](_0x2fbe25=>_0x2fbe25[_0x93c869]);});}['getFeatures'](_0x28943c){return _0x13c710(this,arguments,void 0x0,function*(_0x475105,_0x2a5783=!0x1){const _0x1dc40b=_0x2711;var _0x38733f,_0x462a31,_0xe06ee;yield this['fetchFeatures'](_0x2a5783);const _0x36fce3=null!==(_0x38733f=this[_0x1dc40b(0x63a)])&&void 0x0!==_0x38733f?_0x38733f:this[_0x1dc40b(0x5bd)],_0x556882=null!==(_0x462a31=null==_0x36fce3?void 0x0:_0x36fce3[_0x1dc40b(0x399)])&&void 0x0!==_0x462a31?_0x462a31:this['defaultFeatures'];return this[_0x1dc40b(0x63a)]&&this[_0x1dc40b(0x517)](null!==(_0xe06ee=null==_0x36fce3?void 0x0:_0x36fce3[_0x1dc40b(0x2f1)])&&void 0x0!==_0xe06ee?_0xe06ee:[]),_0x475105&&0x0!==_0x475105[_0x1dc40b(0x2db)]?_0x475105['reduce']((_0x322768,_0xad4fb5)=>(_0x322768[_0xad4fb5]=_0x556882[_0xad4fb5],_0x322768),{}):_0x556882;});}[_0x3dd67c(0x5cb)](){return this['groups'];}['setupGroups'](_0x3f4d67){const _0x4f5117=_0x3dd67c;var _0x4d6acf;this[_0x4f5117(0x2f1)]||(this[_0x4f5117(0x2f1)]=_0x3f4d67,_0x3f4d67[_0x4f5117(0x2db)]>0x0&&(null===(_0x4d6acf=this['remoteABTests'])||void 0x0===_0x4d6acf||_0x4d6acf['setGroups'](_0x3f4d67)));}['fetchFeatures'](_0x5a2014){return _0x13c710(this,void 0x0,void 0x0,function*(){const _0x6a211a=_0x2711;if(this[_0x6a211a(0x4cb)])return this[_0x6a211a(0x4cb)];if(!this[_0x6a211a(0x56a)]&&!_0x5a2014)return;this[_0x6a211a(0x2f1)]=void 0x0,this[_0x6a211a(0x56a)]=!0x1;const _0x36a010=this[_0x6a211a(0x3b3)]();return _0x36a010&&this[_0x6a211a(0x5bd)]&&_0x36a010!==this['preStoredConfig'][_0x6a211a(0x42d)]&&(yield this['removePreStoredConfig']()),(this[_0x6a211a(0x292)]['logEvent'](_0x6a211a(0x5eb),{}),this['firstFetchPromise']=this['fetcher'][_0x6a211a(0x696)](()=>_0x13c710(this,void 0x0,void 0x0,function*(){const _0x40ceae=_0x6a211a;let _0x4ac701;try{yield this[_0x40ceae(0x5cf)]['getFreshAccessToken'](),_0x4ac701=yield this[_0x40ceae(0x6ba)][_0x40ceae(0x508)]();}catch(_0xcf6693){this['logger'][_0x40ceae(0x48a)](['Failed\x20to\x20fetch\x20features:',_0xcf6693['code'],_0xcf6693[_0x40ceae(0x649)]][_0x40ceae(0x3c6)](_0x5ec9c5=>_0x5ec9c5)['join']('\x20'));throw _0xcf6693 instanceof _0x4f99ea&&0x194===_0xcf6693[_0x40ceae(0x235)]&&(yield this[_0x40ceae(0x624)]()),_0xcf6693;}return _0x4ac701&&(yield this[_0x40ceae(0x6ac)](_0x4ac701)),_0x4ac701;}))[_0x6a211a(0x60f)](_0x11a299=>{const _0x56eb2e=_0x6a211a;this[_0x56eb2e(0x63a)]=_0x11a299,this[_0x56eb2e(0x4cb)]=void 0x0,this['tracker'][_0x56eb2e(0x5c7)]('features_loaded',{});})[_0x6a211a(0x241)](_0x5913b2=>{const _0x168386=_0x6a211a;this[_0x168386(0x4cb)]=void 0x0,_0x5913b2 instanceof _0x2ff8b1&&this['logger']['error'](_0x168386(0x3c5)+_0x5913b2['message']),this[_0x168386(0x292)]['logEvent'](_0x168386(0x5a8),{'error':_0x5913b2[_0x168386(0x649)]});}),this[_0x6a211a(0x4cb)]);});}[_0x3dd67c(0x6ac)](_0x184a21){const _0x2c06a8=_0x3dd67c,_0x40dfce=Object[_0x2c06a8(0x2ac)](Object[_0x2c06a8(0x2ac)]({},_0x184a21),{'userId':this[_0x2c06a8(0x3b3)]()});return this[_0x2c06a8(0x2b1)]['setItem'](_0x2d5d99,_0x40dfce);}['removePreStoredConfig'](){const _0x34b915=_0x3dd67c;return this[_0x34b915(0x5bd)]=void 0x0,this['localStorage'][_0x34b915(0x585)](_0x2d5d99);}[_0x3dd67c(0x3b3)](){const _0x5541e5=_0x3dd67c;return this['auth'][_0x5541e5(0x49d)]();}}class _0x15f567{constructor(_0x512d9b){const _0x143863=_0x3dd67c;this[_0x143863(0x4bb)]=_0x512d9b,this[_0x143863(0x593)]=new _0xd9f870();}[_0x3dd67c(0x434)](){const _0x336b7c=_0x3dd67c;this['timeoutActivePromise'][_0x336b7c(0x3f6)](!0x1);}[_0x3dd67c(0x696)](_0x1029e7){return _0x13c710(this,void 0x0,void 0x0,function*(){const _0x43f5fd=_0x2711,_0x347b12=Date['now']()+this[_0x43f5fd(0x4bb)],_0x23ffc3=_0x1029e7()[_0x43f5fd(0x263)](()=>{const _0x5c7a70=_0x43f5fd;this[_0x5c7a70(0x593)][_0x5c7a70(0x3f6)](!0x0);});if(yield this[_0x43f5fd(0x593)])return _0x23ffc3;const _0x1d31dd=Math[_0x43f5fd(0x38f)](0x0,_0x347b12-Date[_0x43f5fd(0x406)]());return _0x54c2aa=_0x23ffc3,_0x293477=_0x1d31dd,_0x1197a4='Timeout\x20after\x20'+this[_0x43f5fd(0x4bb)]+'ms',new Promise((_0x9e4ec1,_0x32871b)=>{const _0x2604d8=_0x43f5fd,_0x1411f9=setTimeout(()=>_0x32871b(new _0x2ff8b1(null!=_0x1197a4?_0x1197a4:_0x2604d8(0x3e8)+_0x293477+'ms')),_0x293477);_0x54c2aa[_0x2604d8(0x60f)](_0xa7ebc7=>{clearTimeout(_0x1411f9),_0x9e4ec1(_0xa7ebc7);})['catch'](_0x52c757=>{clearTimeout(_0x1411f9),_0x32871b(_0x52c757);});});var _0x54c2aa,_0x293477,_0x1197a4;});}}class _0x55c800{constructor(_0x3672e2){this['tracker']=_0x3672e2;}[_0x3dd67c(0x484)](_0x25cfd8){const _0xd731ac=_0x3dd67c;var _0x144a9c;const _0xe2d93e=this[_0xd731ac(0x2c0)]();if(_0xe2d93e===this[_0xd731ac(0x5a5)])return;if(null===(_0x144a9c=this[_0xd731ac(0x4df)])||void 0x0===_0x144a9c||_0x144a9c[_0xd731ac(0x350)](this),0x0===_0x25cfd8['length'])return;this['playSessionId']=_0xe2d93e;const _0x287741=function(_0x34ed6f){const _0x19fc38=_0xd731ac,_0x9e8d48={};for(const _0x49d813 of _0x34ed6f){const _0x1e815c=0x0===_0x49d813[_0x19fc38(0x6a9)]?'control':_0x49d813[_0x19fc38(0x6a9)]<=0x1a?String[_0x19fc38(0x34d)](0x60+_0x49d813['groupId']):''+_0x49d813['groupId'];_0x9e8d48[_0x49d813['testName']]=_0x49d813['testName']+'__'+_0x1e815c;}return _0x9e8d48;}(_0x25cfd8),_0x2cb1a5=function(_0x1afcba,_0x30247c){const _0x3c2250={};for(const _0x2f772b in _0x30247c)_0x3c2250[_0x1afcba+'_'+_0x2f772b]=_0x30247c[_0x2f772b];return _0x3c2250;}(_0xd731ac(0x6af),_0x287741);for(const _0x3ba9d5 in _0x287741){const _0x2921ad=_0x287741[_0x3ba9d5];this[_0xd731ac(0x292)]['logValuedEvent'](_0xd731ac(0x31d),0x1,{'ab_test_name':_0x3ba9d5,'ab_test_group':_0x2921ad});}this[_0xd731ac(0x4df)]=this[_0xd731ac(0x292)][_0xd731ac(0x676)](_0x2b3a41=>{const _0x1d0419=_0xd731ac;Object[_0x1d0419(0x2ac)](_0x2b3a41,_0x2cb1a5);});}[_0x3dd67c(0x2c0)](){const _0xc4e1a9=_0x3dd67c;return this['tracker'][_0xc4e1a9(0x3a9)]();}}class _0x197f5d{constructor(_0x499015,_0x5b0c45){const _0x1a79c3=_0x3dd67c;this[_0x1a79c3(0x221)]=_0x499015,this[_0x1a79c3(0x414)]=_0x5b0c45;}[_0x3dd67c(0x488)](_0x198fcb){return _0x13c710(this,void 0x0,void 0x0,function*(){const _0x3bab63=_0x2711;var _0x36c859;const _0x3260a0=yield null===(_0x36c859=this[_0x3bab63(0x221)])||void 0x0===_0x36c859?void 0x0:_0x36c859['getProperty'](_0x198fcb);return void 0x0===_0x3260a0?this[_0x3bab63(0x414)][_0x3bab63(0x5d7)](_0x198fcb):_0x3260a0;});}}function _0x4caabf(_0x4f0a0b){const _0x3a8c47=_0x3dd67c;var _0x595e89,_0x5ebda3;null===(_0x595e89=window[_0x3a8c47(0x2c2)])||void 0x0===_0x595e89||_0x595e89[_0x3a8c47(0x350)](window,_0x3a8c47(0x283),()=>{const _0x30646a=_0x3a8c47;_0x4f0a0b[_0x30646a(0x477)]();}),null===(_0x5ebda3=window['addEventListener'])||void 0x0===_0x5ebda3||_0x5ebda3['call'](window,_0x3a8c47(0x2e4),()=>{const _0x354aac=_0x3a8c47;_0x4f0a0b[_0x354aac(0x499)]();});}function _0x51361c(_0x4717b1){const _0x423704=_0x3dd67c;var _0x35814c,_0x5f5cde;null===(_0x35814c=window[_0x423704(0x2c2)])||void 0x0===_0x35814c||_0x35814c[_0x423704(0x350)](window,'focus',()=>{const _0x2b8e90=_0x423704;_0x4717b1[_0x2b8e90(0x42b)]();}),null===(_0x5f5cde=window[_0x423704(0x2c2)])||void 0x0===_0x5f5cde||_0x5f5cde[_0x423704(0x350)](window,'blur',()=>{_0x4717b1['onSuspend']();});}const _0x301fda={'providers':[{'name':_0x3dd67c(0x622),'type':_0x3dd67c(0x33d),'priority':0x1},{'name':'dev','type':'reward','priority':0x2}],'throttling':{'maxfrequency':0x1388}},_0x490c9e={'onGamePause':()=>{},'onSuspend':()=>{},'onResume':()=>{},'onAudioSuspend':()=>{},'onAudioResume':()=>{},'onShow':()=>{},'onHide':()=>{}};class _0x14c071{constructor(_0x5f47b5,_0x4d5022,_0x444f79,_0x37888a,_0x2f1dd3){const _0x4c4dc1=_0x3dd67c;this['bootstrapper']=_0x5f47b5,this[_0x4c4dc1(0x482)]=_0x4d5022,this[_0x4c4dc1(0x4ae)]=_0x444f79,this[_0x4c4dc1(0x22d)]=_0x37888a,this['consentProvider']=_0x2f1dd3;}[_0x3dd67c(0x581)](){const _0x538d1e=_0x3dd67c;var _0xfbff4e,_0x5f233d,_0x16f092,_0x5d3fe6;return(null===(_0x5f233d=null===(_0xfbff4e=this[_0x538d1e(0x4ec)])||void 0x0===_0xfbff4e?void 0x0:_0xfbff4e[_0x538d1e(0x25d)])||void 0x0===_0x5f233d?void 0x0:_0x5f233d['call'](_0xfbff4e))||null===(_0x5d3fe6=(_0x16f092=this[_0x538d1e(0x4ec)])['consentToTerms'])||void 0x0===_0x5d3fe6||_0x5d3fe6[_0x538d1e(0x350)](_0x16f092),this[_0x538d1e(0x23a)]['init']()[_0x538d1e(0x60f)](()=>this[_0x538d1e(0x482)]());}[_0x3dd67c(0x335)](_0x338403){const _0x26e47d=_0x3dd67c;this['bootstrapper'][_0x26e47d(0x335)](_0x338403);}[_0x3dd67c(0x621)](){const _0x300751=_0x3dd67c;return this[_0x300751(0x4ae)]()[_0x300751(0x60f)](()=>this[_0x300751(0x23a)]['complete']())[_0x300751(0x60f)](()=>this[_0x300751(0x22d)]());}}class _0x5098a0{constructor(_0x1ea8d9){this['provider']=_0x1ea8d9;}['setScore'](_0x11f964){return _0x13c710(this,void 0x0,void 0x0,function*(){const _0xf04a4e=_0x2711;return!!this[_0xf04a4e(0x637)]&&this[_0xf04a4e(0x637)][_0xf04a4e(0x282)](_0x11f964);});}}class _0x4bc9b4{[_0x3dd67c(0x581)](){return _0x13c710(this,void 0x0,void 0x0,function*(){});}[_0x3dd67c(0x1f8)](){const _0x22e891=_0x3dd67c;return _0x22e891(0x501);}['onModulesUpdated'](_0x125b16){}['setConfig'](_0x5b2b47){}['getLogger'](){return console;}[_0x3dd67c(0x67e)](){return _0x1a26ae;}[_0x3dd67c(0x343)](){return _0x107aee;}[_0x3dd67c(0x29e)](){return[];}[_0x3dd67c(0x233)](){return _0x1b9f34;}[_0x3dd67c(0x429)](){return'';}['getAdsProviders'](_0x142bec){return[];}[_0x3dd67c(0x62d)](){return _0x1bde26;}[_0x3dd67c(0x6be)](){const _0x55b317=_0x3dd67c;return _0x48f2d5([_0x19e3e0[_0x55b317(0x633)]]);}['getCloudStorageProvider'](){return _0x13c710(this,void 0x0,void 0x0,function*(){return _0x48f2d5([_0x19e3e0['providerName']]);});}['getShortcutProvider'](){return _0x827682;}[_0x3dd67c(0x2fd)](){return()=>({});}['getNotificationsProvider'](){return _0x305492;}[_0x3dd67c(0x2d1)](){return _0x2d6799;}['getCrosspromo'](){return _0xd0718d;}[_0x3dd67c(0x2cb)](){return _0x1f3fa1;}[_0x3dd67c(0x443)](){return _0x39ab8e;}[_0x3dd67c(0x44c)](){return _0x568cc4;}[_0x3dd67c(0x3de)](){return _0x30605a;}[_0x3dd67c(0x4f6)](){return _0x2c4e20;}[_0x3dd67c(0x513)](){return _0x384e86;}['getAuthProviders'](_0x4a4b02,_0x5a8f6d){return[];}[_0x3dd67c(0x29b)](){return _0x3c5031;}[_0x3dd67c(0x5f5)](){return _0x389b5e;}[_0x3dd67c(0x2d0)](){return _0x43d35d;}[_0x3dd67c(0x37d)](_0x346548){return _0x13c710(this,void 0x0,void 0x0,function*(){return _0x346548;});}['getNavigationProvider'](){return _0x2db60d;}['getSetScoreProvider'](){const _0x16031f=_0x3dd67c;return{'setScore':_0xbf3b84=>Promise[_0x16031f(0x3f6)](!0x1)};}[_0x3dd67c(0x4fa)](){return new Set();}}function _0x5873a2(_0x1b074d){const _0x111898=_0x3dd67c,_0x38da09=Object[_0x111898(0x30c)](_0x4bc9b4['prototype']),_0x5d160c={};for(const _0x1d8729 of _0x38da09)'constructor'!==_0x1d8729&&_0x1b074d[_0x1d8729]&&(_0x5d160c[_0x1d8729]=_0x1b074d[_0x1d8729]['bind'](_0x1b074d));return _0x5d160c;}class _0x10e655{constructor(_0x1e948d){this['shortcutProvider']=_0x1e948d;}[_0x3dd67c(0x581)](){const _0x1d3273=_0x3dd67c;return this[_0x1d3273(0x293)]['init']();}[_0x3dd67c(0x4f8)](){const _0x2fddc5=_0x3dd67c;return this[_0x2fddc5(0x293)][_0x2fddc5(0x4f8)]();}[_0x3dd67c(0x220)](){return this['shortcutProvider']['createShortcut']();}[_0x3dd67c(0x344)](){return this['canCreateShortcut']();}['createShortcutAsync'](){const _0x2938af=_0x3dd67c;return this[_0x2938af(0x220)]();}}class _0x412501 extends _0x214d6f{constructor({provider:_0x1b6e26,logger:_0x51a5ac}){const _0x42908f=_0x3dd67c;super({'provider':_0x1b6e26,'logger':_0x51a5ac}),this[_0x42908f(0x636)]=_0x1b6e26;}[_0x3dd67c(0x675)](){const _0x3acabd=_0x3dd67c;var _0x3740ed,_0xad55f4,_0x4d1b59;return null!==(_0x4d1b59=null===(_0xad55f4=(_0x3740ed=this[_0x3acabd(0x636)])[_0x3acabd(0x675)])||void 0x0===_0xad55f4?void 0x0:_0xad55f4['call'](_0x3740ed))&&void 0x0!==_0x4d1b59&&_0x4d1b59;}[_0x3dd67c(0x66e)](_0x5cc409){return _0x13c710(this,void 0x0,void 0x0,function*(){const _0x48c4f2=_0x2711;var _0x39ec67,_0x303388;const _0x4e2265=_0x5cc409[_0x48c4f2(0x433)](({key:_0x14d97d,value:_0x5ace22})=>({'key':_0x14d97d,'value':JSON['stringify'](_0x5ace22)}));yield null===(_0x303388=(_0x39ec67=this[_0x48c4f2(0x636)])[_0x48c4f2(0x66e)])||void 0x0===_0x303388?void 0x0:_0x303388[_0x48c4f2(0x350)](_0x39ec67,_0x4e2265);});}[_0x3dd67c(0x445)](_0x299ff9,_0x3222c2){const _0xfb0f8=_0x3dd67c;return this['cloudProvider'][_0xfb0f8(0x66e)]([{'key':_0x299ff9,'value':JSON[_0xfb0f8(0x2a0)](_0x3222c2)}]);}[_0x3dd67c(0x55c)](_0x40ce89){return _0x13c710(this,void 0x0,void 0x0,function*(){const _0x5bc548=_0x2711;var _0x393390,_0xed0051,_0x3db7b5,_0x5b55d9;const _0x5a1385=null!==(_0x3db7b5=yield null===(_0xed0051=(_0x393390=this[_0x5bc548(0x636)])['queryPublicItems'])||void 0x0===_0xed0051?void 0x0:_0xed0051[_0x5bc548(0x350)](_0x393390,_0x40ce89))&&void 0x0!==_0x3db7b5?_0x3db7b5:{'items':[]};return{'items':_0x5a1385[_0x5bc548(0x4a6)][_0x5bc548(0x433)](_0x4ae5d5=>Object['assign'](Object[_0x5bc548(0x2ac)]({},_0x4ae5d5),{'data':JSON['parse'](_0x4ae5d5[_0x5bc548(0x2f7)])})),'failed':null===(_0x5b55d9=_0x5a1385['failed'])||void 0x0===_0x5b55d9?void 0x0:_0x5b55d9[_0x5bc548(0x433)](_0x102aaa=>Object[_0x5bc548(0x2ac)](Object['assign']({},_0x102aaa),{'data':_0x102aaa[_0x5bc548(0x2f7)]?JSON[_0x5bc548(0x432)](_0x102aaa[_0x5bc548(0x2f7)]):void 0x0}))};});}}class _0x53fe35 extends Error{constructor(_0x12cc04,_0xab429b){const _0x364d56=_0x3dd67c;super(_0x12cc04),this[_0x364d56(0x235)]=_0xab429b,this[_0x364d56(0x256)]=_0x364d56(0x2a3),this[_0x364d56(0x235)]=_0xab429b,Object['setPrototypeOf'](this,_0x53fe35[_0x364d56(0x383)]);}}class _0x56b507{constructor({accessProvider:_0xfcd54a,gameId:_0x30834a,apiUrl:_0x1aeed5}){const _0x5a7e14=_0x3dd67c;this[_0x5a7e14(0x5fd)]=_0xfcd54a,this[_0x5a7e14(0x65e)]=_0x30834a,this[_0x5a7e14(0x36a)]=null!=_0x1aeed5?_0x1aeed5:_0x5a7e14(0x614);}[_0x3dd67c(0x63f)](){return _0x13c710(this,arguments,void 0x0,function*(_0x2464be='',_0x598dc1){const _0x3ac6c9=_0x2711;var _0x4bb1ef;const _0x58ff37=new URLSearchParams();_0x2464be&&_0x58ff37[_0x3ac6c9(0x64e)]('shopfrontId',_0x2464be);const _0x3f0f31={'Content-Type':_0x3ac6c9(0x397)},_0x2b1439=this[_0x3ac6c9(0x5fd)][_0x3ac6c9(0x564)]();if(!_0x2b1439)throw new _0x53fe35(_0x3ac6c9(0x253),0x0);_0x3f0f31[_0x3ac6c9(0x5e7)]=_0x3ac6c9(0x654)+_0x2b1439;let _0x490d61=_0x58ff37[_0x3ac6c9(0x3b5)]();_0x490d61&&(_0x490d61='?'+_0x490d61);const _0x44ba53=this[_0x3ac6c9(0x36a)]+'/v1/shop/'+this['gameId']+_0x490d61,_0xd29454=yield fetch(_0x44ba53,{'headers':_0x3f0f31});if(!_0xd29454['ok'])throw new _0x1e7b59('Failed\x20to\x20fetch\x20shop\x20data:\x20'+_0xd29454[_0x3ac6c9(0x23b)]+'\x20'+_0xd29454[_0x3ac6c9(0x393)],_0xd29454[_0x3ac6c9(0x23b)]);const _0x49eaa5=yield _0xd29454[_0x3ac6c9(0x23e)]();return null!==(_0x4bb1ef=null==_0x598dc1?void 0x0:_0x598dc1(_0x49eaa5))&&void 0x0!==_0x4bb1ef?_0x4bb1ef:_0x49eaa5;});}['getProducts'](_0x142203,_0x7f243b){return _0x13c710(this,void 0x0,void 0x0,function*(){const _0x2d053c=_0x2711;var _0x59ed49;const _0x24ebc0={'Content-Type':_0x2d053c(0x397)},_0x30a102=this['accessProvider']['getAccessToken']();if(!_0x30a102)throw new _0x53fe35(_0x2d053c(0x253),0x0);_0x24ebc0[_0x2d053c(0x5e7)]=_0x2d053c(0x654)+_0x30a102;let _0x1189c7='';_0x142203&&(_0x1189c7=_0x2d053c(0x44a)+_0x142203[_0x2d053c(0x3b5)]());const _0x20e92d=this[_0x2d053c(0x36a)]+_0x2d053c(0x26f)+this[_0x2d053c(0x65e)]+_0x2d053c(0x419)+_0x1189c7,_0x51dd6d=yield fetch(_0x20e92d,{'headers':_0x24ebc0});if(!_0x51dd6d['ok'])throw new _0x1e7b59('Failed\x20to\x20fetch\x20shop\x20data:\x20'+_0x51dd6d[_0x2d053c(0x23b)]+'\x20'+_0x51dd6d[_0x2d053c(0x393)],_0x51dd6d[_0x2d053c(0x23b)]);const _0x28f38b=(yield _0x51dd6d['json']())[_0x2d053c(0x4a6)];return null!==(_0x59ed49=null==_0x7f243b?void 0x0:_0x7f243b(_0x28f38b))&&void 0x0!==_0x59ed49?_0x59ed49:_0x28f38b;});}}class _0x1e7b59 extends _0x53fe35{constructor(_0x26bcfd,_0x5bd247){const _0xa3e3cd=_0x3dd67c;super(_0x26bcfd,_0x5bd247),this[_0xa3e3cd(0x235)]=_0x5bd247,Object[_0xa3e3cd(0x38e)](this,_0x1e7b59[_0xa3e3cd(0x383)]);}}class _0x249f01{constructor(_0x137c7a){const _0x3d51d2=_0x3dd67c;this['client']=_0x3d51d2(0x6ba)in _0x137c7a?_0x137c7a[_0x3d51d2(0x6ba)]:new _0x56b507(_0x137c7a),this[_0x3d51d2(0x35a)]=_0x137c7a[_0x3d51d2(0x35a)],this['iap']=_0x137c7a['iap'];}[_0x3dd67c(0x63f)](){return _0x13c710(this,arguments,void 0x0,function*(_0x9af2c2=''){const _0x304c24=_0x2711;let _0x49bb7b;try{_0x49bb7b=yield this[_0x304c24(0x6ba)][_0x304c24(0x63f)](_0x9af2c2,_0x257a04);}catch(_0x52ae32){if(0x194===_0x52ae32['code'])return _0x5b1fe8;throw _0x52ae32;}return _0x49bb7b=this[_0x304c24(0x557)](this[_0x304c24(0x4e4)](_0x49bb7b)),_0x49bb7b;});}[_0x3dd67c(0x3e2)](_0x5ed731){return _0x13c710(this,void 0x0,void 0x0,function*(){const _0x7357cb=_0x2711;if(0x0===_0x5ed731[_0x7357cb(0x2db)])return[];let _0x539dc0;try{_0x539dc0=yield this[_0x7357cb(0x6ba)][_0x7357cb(0x3e2)](_0x5ed731,_0x257a04);}catch(_0x1efa1d){if(0x194===_0x1efa1d[_0x7357cb(0x235)])return[];throw _0x1efa1d;}return _0x539dc0;});}[_0x3dd67c(0x4e4)](_0x5c96bd){const _0x61eaf6=_0x3dd67c;return Object[_0x61eaf6(0x2ac)](Object[_0x61eaf6(0x2ac)]({},_0x5c96bd),{'modules':_0x5c96bd[_0x61eaf6(0x218)][_0x61eaf6(0x433)](_0x4b0373=>Object[_0x61eaf6(0x2ac)](Object[_0x61eaf6(0x2ac)]({},_0x4b0373),{'products':_0x4b0373['products']['map'](_0x3d56b2=>_0x3d56b2[_0x61eaf6(0x251)]['currency']===_0x31e537?Object['assign'](Object['assign']({},_0x3d56b2),{'price':Object['assign'](Object[_0x61eaf6(0x2ac)]({},_0x3d56b2[_0x61eaf6(0x251)]),{'formattedAmount':this['getFormattedPrice'](_0x3d56b2)})}):_0x3d56b2)}))});}[_0x3dd67c(0x557)](_0xe03915){const _0x2103a0=_0x3dd67c,_0x4776a5=this['iap']['getProviderName'](),_0x8c45e=_0x1a4585[_0x4776a5];return Object[_0x2103a0(0x2ac)](Object[_0x2103a0(0x2ac)]({},_0xe03915),{'channelSku':_0x8c45e});}[_0x3dd67c(0x525)](_0x436168){const _0x3dae3e=_0x3dd67c;var _0x1226ae,_0x2b258e;const _0x232a8a=this[_0x3dae3e(0x3c1)][_0x3dae3e(0x518)](),_0xe2aef5=_0x1a4585[_0x232a8a],_0x377d02=null===(_0x2b258e=null===(_0x1226ae=_0x436168[_0x3dae3e(0x6a6)])||void 0x0===_0x1226ae?void 0x0:_0x1226ae[_0xe2aef5])||void 0x0===_0x2b258e?void 0x0:_0x2b258e[_0x3dae3e(0x2ad)],_0x4d09d5=this[_0x3dae3e(0x3c1)][_0x3dae3e(0x28c)](_0x377d02);if(_0x4d09d5)return _0x4d09d5[_0x3dae3e(0x251)];this['logger'][_0x3dae3e(0x1f6)](_0x3dae3e(0x685)+_0x436168[_0x3dae3e(0x2ad)]+'/'+_0x377d02+_0x3dae3e(0x299)+_0x232a8a);}}const _0x31e537=_0x3dd67c(0x3c1),_0x5b1fe8={'_id':'','gameId':'','currencies':[],'modules':[],'metadata':{},'defaultShopfrontId':''},_0x1a4585={'fbi-iap-provider':_0x3dd67c(0x66c),'discord':_0x3dd67c(0x475),'google-play-iap-provider':'facebook_instant','ios-iap-provider':_0x3dd67c(0x66c),'samsung-galaxy-iap-provider':_0x3dd67c(0x66c),'samsung_instant_play':_0x3dd67c(0x66c)};function _0x257a04(_0x4d344e){const _0x35a089=_0x3dd67c;return _0x656e1e(_0x4d344e,[_0x35a089(0x385),_0x35a089(0x6aa),_0x35a089(0x699),_0x35a089(0x374)],_0x3bbeb6=>_0x3bbeb6&&new Date(_0x3bbeb6));}function _0x656e1e(_0x8214ed,_0x484856,_0x20dd25){const _0x34dee0=_0x3dd67c;if('object'!=typeof _0x8214ed||null===_0x8214ed)return _0x8214ed;if(Array[_0x34dee0(0x362)](_0x8214ed))return _0x8214ed[_0x34dee0(0x433)](_0x576e05=>_0x656e1e(_0x576e05,_0x484856,_0x20dd25));const _0x1f5709={};for(const [_0x3b964e,_0x239cfc]of Object[_0x34dee0(0x47a)](_0x8214ed))_0x1f5709[_0x3b964e]=_0x484856[_0x34dee0(0x341)](_0x3b964e)?_0x20dd25(_0x239cfc):_0x656e1e(_0x239cfc,_0x484856,_0x20dd25);return _0x1f5709;}class _0x25db70{constructor(){const _0x3c938c=_0x3dd67c;this[_0x3c938c(0x3d1)]=!0x1;}[_0x3dd67c(0x54b)](_0x41f680,_0x3a8b15){const _0x1edafb=_0x3dd67c;this[_0x1edafb(0x3d1)]=_0x41f680,this['logger']=_0x3a8b15;}[_0x3dd67c(0x6b1)](_0x56eb72,_0x618a10,_0x5133a5,_0x4db3cd,_0x2f4116){return _0x13c710(this,void 0x0,void 0x0,function*(){const _0x1a0c15=_0x2711;var _0x5b7961,_0x47d32c,_0x45c174,_0x3c6837;if(!this[_0x1a0c15(0x3d1)])return null===(_0x5b7961=this[_0x1a0c15(0x35a)])||void 0x0===_0x5b7961||_0x5b7961[_0x1a0c15(0x1f6)](_0x1a0c15(0x52b)),null;if(_0x1a0c15(0x5ff)==typeof window||void 0x0===window[_0x1a0c15(0x4e8)])return null===(_0x47d32c=this[_0x1a0c15(0x35a)])||void 0x0===_0x47d32c||_0x47d32c[_0x1a0c15(0x1f6)](_0x1a0c15(0x456)),null;try{const _0x3f943f=this[_0x1a0c15(0x418)]();return _0x3f943f&&_0x3f943f['createShieldOverlay']?_0x3f943f[_0x1a0c15(0x5b0)]({'xmlPath':_0x56eb72,'cssPath':_0x618a10,'container':_0x5133a5,'style':_0x4db3cd,'params':_0x2f4116,'logger':this[_0x1a0c15(0x35a)]}):(null===(_0x45c174=this[_0x1a0c15(0x35a)])||void 0x0===_0x45c174||_0x45c174[_0x1a0c15(0x1f6)]('Shield\x20overlay\x20is\x20not\x20supported\x20in\x20this\x20channel'),null);}catch(_0x461fad){return null===(_0x3c6837=this['logger'])||void 0x0===_0x3c6837||_0x3c6837[_0x1a0c15(0x1f6)](_0x1a0c15(0x3c4),_0x461fad),null;}});}[_0x3dd67c(0x632)](){const _0x4f8e84=_0x3dd67c;try{const _0x484a81=this['getFBIChannel']();return!(!_0x484a81||!_0x484a81['isShieldSupported'])&&_0x484a81['isShieldSupported']();}catch(_0x39be73){return this[_0x4f8e84(0x35a)][_0x4f8e84(0x1f6)](_0x4f8e84(0x3c4),_0x39be73),!0x1;}}[_0x3dd67c(0x418)](){const _0x21728f=_0x3dd67c;return window[_0x21728f(0x3e6)]||null;}}class _0x4eaf98{constructor(){const _0x2d1681=_0x3dd67c;this[_0x2d1681(0x20d)]=Object[_0x2d1681(0x2ac)]({},_0x490c9e),this['config']={},this[_0x2d1681(0x28e)]=new _0x25db70();}[_0x3dd67c(0x3f2)](_0x33470f){const _0x423d58=_0x3dd67c;if(this['channel']){if(this[_0x423d58(0x59e)])return void this[_0x423d58(0x35a)]['error']('[FRVR-SDK]\x20channel\x20cannot\x20be\x20set\x20after\x20init');this[_0x423d58(0x35a)]['warn'](_0x423d58(0x211));}this[_0x423d58(0x2dc)]=_0x33470f;}['init'](_0x2ce27a=_0x9cdbaf[_0x3dd67c(0x270)]['DEVELOPMENT']){const _0x5d90bb=_0x3dd67c;var _0x3c3d6c;return this[_0x5d90bb(0x2dc)]=function(..._0x4ce51b){const _0x46171c=_0x5d90bb,_0x35b64e={},_0x2debdb=_0x4ce51b[_0x46171c(0x3c6)](_0x267102=>_0x267102)['map'](_0x5873a2);return Object['assign'](_0x35b64e,..._0x2debdb),_0x35b64e;}(new _0x4bc9b4(),this[_0x5d90bb(0x2dc)]),null===(_0x3c3d6c=this[_0x5d90bb(0x35a)])||void 0x0===_0x3c3d6c||_0x3c3d6c[_0x5d90bb(0x589)]('[FRVR-SDK\x20-\x20init]\x20config:',this[_0x5d90bb(0x399)]),this[_0x5d90bb(0x2dc)][_0x5d90bb(0x25a)](this[_0x5d90bb(0x399)]),this[_0x5d90bb(0x6a2)](_0x2ce27a),this[_0x5d90bb(0x59e)]=this[_0x5d90bb(0x2dc)][_0x5d90bb(0x581)]()['then'](()=>this[_0x5d90bb(0x45f)]())[_0x5d90bb(0x60f)](()=>this['initComponents'](_0x2ce27a)),this['initPromise'];}[_0x3dd67c(0x6a2)](_0x194a57){const _0x5a25c3=_0x3dd67c;var _0x5612dd,_0x5a0ae9,_0x45fe0f,_0x37adf0,_0xae35,_0x5701f2,_0x250ab2,_0x3a9ab7,_0x19fbd1,_0x51d343,_0x320a26,_0x26bed0,_0x21762c,_0x321a1,_0x1924bd,_0x4b4789,_0x45255f,_0x5cd890;this['logger']||(this[_0x5a25c3(0x35a)]=_0x194a57===_0x9cdbaf[_0x5a25c3(0x270)][_0x5a25c3(0x255)]&&_0x98a3fc||this[_0x5a25c3(0x2dc)][_0x5a25c3(0x216)]()),this[_0x5a25c3(0x2dc)][_0x5a25c3(0x52c)](this),this[_0x5a25c3(0x35a)]['debug']('[FRVR-SDK]\x20building\x20components'),this[_0x5a25c3(0x5df)]=this[_0x5a25c3(0x2dc)]['getEntryPointProvider'](),this['localStorage']||(this[_0x5a25c3(0x2b1)]=new _0x214d6f({'provider':this[_0x5a25c3(0x2dc)][_0x5a25c3(0x6be)](this[_0x5a25c3(0x399)][_0x5a25c3(0x239)]),'logger':this[_0x5a25c3(0x35a)]})),this[_0x5a25c3(0x2dc)]['onModulesUpdated'](this),this[_0x5a25c3(0x4ec)]=this[_0x5a25c3(0x2dc)][_0x5a25c3(0x343)](),this['tracker']||(this[_0x5a25c3(0x292)]=new _0x13608a({'storage':this['localStorage'],'logger':this['logger'],'analyticsProviders':this[_0x5a25c3(0x2dc)][_0x5a25c3(0x29e)]((null===(_0x5612dd=this[_0x5a25c3(0x399)][_0x5a25c3(0x292)])||void 0x0===_0x5612dd?void 0x0:_0x5612dd[_0x5a25c3(0x272)])||{},_0x194a57),'idProvider':this['channel'][_0x5a25c3(0x233)](this[_0x5a25c3(0x2b1)]),'contextProvider':this[_0x5a25c3(0x2dc)][_0x5a25c3(0x2fd)]((null===(_0x5a0ae9=this[_0x5a25c3(0x399)][_0x5a25c3(0x292)])||void 0x0===_0x5a0ae9?void 0x0:_0x5a0ae9[_0x5a25c3(0x5fe)])||(null===(_0x45fe0f=this['channel'])||void 0x0===_0x45fe0f?void 0x0:_0x45fe0f[_0x5a25c3(0x1f8)]())),'consentProvider':this['consentProvider'],'appContextFields':{'context':(null===(_0x37adf0=this[_0x5a25c3(0x399)][_0x5a25c3(0x292)])||void 0x0===_0x37adf0?void 0x0:_0x37adf0[_0x5a25c3(0x65e)])||this['config'][_0x5a25c3(0x65e)],'app_version':null===(_0xae35=this[_0x5a25c3(0x399)][_0x5a25c3(0x292)])||void 0x0===_0xae35?void 0x0:_0xae35['appVersion'],'app_build':null===(_0x5701f2=this[_0x5a25c3(0x399)][_0x5a25c3(0x292)])||void 0x0===_0x5701f2?void 0x0:_0x5701f2['appBuild']}})),this['channel'][_0x5a25c3(0x52c)](this),this['ads']||(this[_0x5a25c3(0x332)]=new _0x5d6242({'env':_0x194a57,'logger':this[_0x5a25c3(0x35a)],'storage':this[_0x5a25c3(0x2b1)],'tracker':this[_0x5a25c3(0x292)],'controls':this[_0x5a25c3(0x20d)],'onBeforeInit':()=>this[_0x5a25c3(0x63d)]()})),this[_0x5a25c3(0x26a)]||(this[_0x5a25c3(0x26a)]=new _0x456491({'logger':this[_0x5a25c3(0x35a)],'provider':this['channel']['getNotificationsProvider'](),'tracker':this[_0x5a25c3(0x292)]})),this[_0x5a25c3(0x23a)]||(this['bootstrapper']=new _0x14c071(this[_0x5a25c3(0x2dc)]['getBootstrapper'](),()=>this[_0x5a25c3(0x482)](_0x194a57),()=>this[_0x5a25c3(0x4ae)](),()=>this[_0x5a25c3(0x22d)](),this['consentProvider'])),this[_0x5a25c3(0x2d4)]||(this[_0x5a25c3(0x2d4)]=new _0x10e655(this[_0x5a25c3(0x2dc)][_0x5a25c3(0x44d)]())),this[_0x5a25c3(0x207)]||(this[_0x5a25c3(0x207)]=this[_0x5a25c3(0x2dc)]['getCrossplay'](this[_0x5a25c3(0x292)])),this['crosspromo']||(this[_0x5a25c3(0x473)]=this[_0x5a25c3(0x2dc)][_0x5a25c3(0x575)]()),this[_0x5a25c3(0x5cf)]||(this[_0x5a25c3(0x5cf)]=new _0x2f3d03({'providers':this['channel'][_0x5a25c3(0x37b)](this[_0x5a25c3(0x399)][_0x5a25c3(0x65e)],this[_0x5a25c3(0x399)][_0x5a25c3(0x5cf)]),'storage':this[_0x5a25c3(0x2b1)],'env':_0x194a57,'config':this['config']['auth'],'logger':this[_0x5a25c3(0x35a)]})),this[_0x5a25c3(0x2dc)][_0x5a25c3(0x52c)](this),this['iap']||(this[_0x5a25c3(0x3c1)]=new _0x17eb1b({'provider':this[_0x5a25c3(0x2dc)][_0x5a25c3(0x62d)](new _0x473336({'env':_0x194a57,'auth':this[_0x5a25c3(0x5cf)],'channelId':null===(_0x250ab2=this[_0x5a25c3(0x2dc)])||void 0x0===_0x250ab2?void 0x0:_0x250ab2[_0x5a25c3(0x1f8)](),'gameId':this['config'][_0x5a25c3(0x65e)],'apiHostOverride':null===(_0x3a9ab7=this[_0x5a25c3(0x399)][_0x5a25c3(0x3c1)])||void 0x0===_0x3a9ab7?void 0x0:_0x3a9ab7['hostOverride']})),'tracker':this['tracker'],'logger':this[_0x5a25c3(0x35a)]}));const _0x38af93=Object['assign'](Object[_0x5a25c3(0x2ac)]({},this[_0x5a25c3(0x399)][_0x5a25c3(0x346)]),{'gameId':null!==(_0x51d343=null===(_0x19fbd1=this[_0x5a25c3(0x399)][_0x5a25c3(0x346)])||void 0x0===_0x19fbd1?void 0x0:_0x19fbd1[_0x5a25c3(0x65e)])&&void 0x0!==_0x51d343?_0x51d343:this[_0x5a25c3(0x399)][_0x5a25c3(0x65e)]}),_0x2c05e1=this['entrypoint'][_0x5a25c3(0x488)]?this['entrypoint']:void 0x0,_0x3ac0be=new _0x197f5d(_0x2c05e1,this['localStorage']);this[_0x5a25c3(0x346)]||(this['features']=new _0x12f09a({'logger':this[_0x5a25c3(0x35a)],'auth':this[_0x5a25c3(0x5cf)],'tracker':this[_0x5a25c3(0x292)],'debugProvider':_0x3ac0be,'localStorage':this[_0x5a25c3(0x2b1)],'remoteABTests':new _0x55c800(this[_0x5a25c3(0x292)]),'config':_0x38af93,'channelId':null===(_0x320a26=this[_0x5a25c3(0x2dc)])||void 0x0===_0x320a26?void 0x0:_0x320a26[_0x5a25c3(0x1f8)]()}));const _0x5b2110=Object['assign'](Object[_0x5a25c3(0x2ac)]({'env':_0x194a57},this['config']['social']),{'gameId':null!==(_0x21762c=null===(_0x26bed0=this[_0x5a25c3(0x399)][_0x5a25c3(0x4af)])||void 0x0===_0x26bed0?void 0x0:_0x26bed0[_0x5a25c3(0x65e)])&&void 0x0!==_0x21762c?_0x21762c:this['config']['gameId']});this['social']||(this[_0x5a25c3(0x4af)]=new _0x1a8fe5(_0x5b2110,{'logger':this[_0x5a25c3(0x35a)],'provider':this[_0x5a25c3(0x2dc)][_0x5a25c3(0x2cb)](),'auth':this[_0x5a25c3(0x5cf)]})),this['liveRoom']||(this[_0x5a25c3(0x3ec)]=new _0xec8917({'logger':this['logger'],'provider':this[_0x5a25c3(0x2dc)][_0x5a25c3(0x443)](),'auth':this[_0x5a25c3(0x5cf)]})),this[_0x5a25c3(0x2a1)]||(this['tournaments']=new _0x4c42f8({'logger':this[_0x5a25c3(0x35a)],'provider':this['channel'][_0x5a25c3(0x44c)](),'auth':this[_0x5a25c3(0x5cf)]})),this[_0x5a25c3(0x35d)]=new _0x2ddd01({'logger':this[_0x5a25c3(0x35a)],'provider':this[_0x5a25c3(0x2dc)][_0x5a25c3(0x3de)]()}),this[_0x5a25c3(0x57f)]=new _0x274b38({'provider':this[_0x5a25c3(0x2dc)][_0x5a25c3(0x4f6)]()}),this[_0x5a25c3(0x2df)]||(this[_0x5a25c3(0x2df)]=this[_0x5a25c3(0x2dc)]['getProfile']()),this['channelCharacteristics']||(this[_0x5a25c3(0x2a8)]=this['channel'][_0x5a25c3(0x29b)]()),this['community']||(this[_0x5a25c3(0x2ea)]=this['channel']['getCommunityProvider']());const _0x2a48f1=Object[_0x5a25c3(0x2ac)](Object[_0x5a25c3(0x2ac)]({},this[_0x5a25c3(0x399)]['navigation']),{'gameId':null!==(_0x1924bd=null===(_0x321a1=this[_0x5a25c3(0x399)][_0x5a25c3(0x44f)])||void 0x0===_0x321a1?void 0x0:_0x321a1[_0x5a25c3(0x65e)])&&void 0x0!==_0x1924bd?_0x1924bd:this['config'][_0x5a25c3(0x65e)]});this[_0x5a25c3(0x44f)]||(this[_0x5a25c3(0x44f)]=this[_0x5a25c3(0x2dc)][_0x5a25c3(0x27f)](_0x2a48f1)),this[_0x5a25c3(0x5be)]||(this[_0x5a25c3(0x5be)]=new _0x249f01({'apiUrl':null===(_0x4b4789=this['config'][_0x5a25c3(0x5be)])||void 0x0===_0x4b4789?void 0x0:_0x4b4789['apiUrl'],'accessProvider':this['auth'],'gameId':null!==(_0x5cd890=null===(_0x45255f=this['config'][_0x5a25c3(0x5be)])||void 0x0===_0x45255f?void 0x0:_0x45255f[_0x5a25c3(0x65e)])&&void 0x0!==_0x5cd890?_0x5cd890:this[_0x5a25c3(0x399)][_0x5a25c3(0x65e)],'logger':this['logger'],'iap':this['iap']}));const _0x18719a=this[_0x5a25c3(0x2dc)][_0x5a25c3(0x61b)];_0x18719a&&(this[_0x5a25c3(0x372)]=new _0x5098a0(_0x18719a()));const _0x2558ea=this[_0x5a25c3(0x399)][_0x5a25c3(0x28e)];this[_0x5a25c3(0x28e)][_0x5a25c3(0x54b)](!!_0x2558ea,this[_0x5a25c3(0x35a)]);}[_0x3dd67c(0x45f)](){return _0x13c710(this,void 0x0,void 0x0,function*(){const _0x48c19a=_0x2711;var _0x1823c2,_0x247c54;yield this['tracker'][_0x48c19a(0x581)](),(null===(_0x247c54=(_0x1823c2=this[_0x48c19a(0x2dc)])[_0x48c19a(0x4fa)])||void 0x0===_0x247c54?void 0x0:_0x247c54[_0x48c19a(0x350)](_0x1823c2)[_0x48c19a(0x2ee)](_0x48c19a(0x301)))||this[_0x48c19a(0x292)][_0x48c19a(0x5c7)](_0x48c19a(0x301),{});});}[_0x3dd67c(0x2f3)](_0x58a03a){return _0x13c710(this,void 0x0,void 0x0,function*(){const _0x426ba6=_0x2711;this[_0x426ba6(0x35a)][_0x426ba6(0x328)](_0x426ba6(0x3a1)),this[_0x426ba6(0x288)](_0x58a03a),yield Promise[_0x426ba6(0x520)]([this[_0x426ba6(0x377)](_0x58a03a),this['features'][_0x426ba6(0x581)]()]),this[_0x426ba6(0x399)][_0x426ba6(0x65e)]?(this[_0x426ba6(0x26a)][_0x426ba6(0x2bc)]({'game':this[_0x426ba6(0x399)][_0x426ba6(0x65e)]}),this[_0x426ba6(0x2a1)][_0x426ba6(0x581)](this[_0x426ba6(0x399)][_0x426ba6(0x65e)],_0x58a03a),this['leaderboards'][_0x426ba6(0x581)](this['config'][_0x426ba6(0x65e)],_0x58a03a)):this[_0x426ba6(0x35a)][_0x426ba6(0x48a)]('[FRVR-SDK]\x20Missing\x20game\x27s\x20name\x20in\x20configuration'),this[_0x426ba6(0x207)][_0x426ba6(0x30e)]()&&(this[_0x426ba6(0x399)][_0x426ba6(0x207)]?this['crossplay'][_0x426ba6(0x2bc)](this[_0x426ba6(0x399)]['crossplay']):this['logger'][_0x426ba6(0x48a)](_0x426ba6(0x34a)));});}[_0x3dd67c(0x482)](_0x1b9ded){return _0x13c710(this,void 0x0,void 0x0,function*(){const _0x27f3f0=_0x2711;var _0x1f29c0,_0x21ae51;this[_0x27f3f0(0x35a)][_0x27f3f0(0x328)]('[FRVR-SDK]\x20post\x20init'),yield this[_0x27f3f0(0x59e)];const _0x3e0454=null===(_0x21ae51=null===(_0x1f29c0=this['config'][_0x27f3f0(0x332)])||void 0x0===_0x1f29c0?void 0x0:_0x1f29c0[_0x27f3f0(0x6bc)])||void 0x0===_0x21ae51||_0x21ae51;yield Promise[_0x27f3f0(0x520)]([((()=>_0x13c710(this,void 0x0,void 0x0,function*(){const _0x363284=_0x27f3f0;let _0x248f9b;try{_0x248f9b=yield this[_0x363284(0x2dc)][_0x363284(0x5d5)](this['config'][_0x363284(0x1fe)],_0x1b9ded);}catch(_0x98185f){this[_0x363284(0x35a)][_0x363284(0x48a)](_0x363284(0x2a4),_0x98185f);}this['cloudStorage']=new _0x412501({'provider':_0x248f9b||new _0x19e3e0(),'logger':this[_0x363284(0x35a)]});}))()),_0x3e0454&&this[_0x27f3f0(0x332)][_0x27f3f0(0x581)](),((()=>_0x13c710(this,void 0x0,void 0x0,function*(){const _0x294058=_0x27f3f0;yield this[_0x294058(0x3c1)]['init'](),yield this['iap'][_0x294058(0x2bc)](this[_0x294058(0x399)][_0x294058(0x3c1)]);}))()),this[_0x27f3f0(0x2d4)][_0x27f3f0(0x581)](),this[_0x27f3f0(0x26a)][_0x27f3f0(0x581)](),this[_0x27f3f0(0x5cf)][_0x27f3f0(0x581)](),((()=>_0x13c710(this,void 0x0,void 0x0,function*(){const _0x2b81c7=_0x27f3f0;this[_0x2b81c7(0x399)]['gameId']?yield this[_0x2b81c7(0x35d)][_0x2b81c7(0x581)](this[_0x2b81c7(0x399)][_0x2b81c7(0x65e)],this[_0x2b81c7(0x5df)],_0x1b9ded):this['logger'][_0x2b81c7(0x48a)](_0x2b81c7(0x23f));}))())]);});}[_0x3dd67c(0x4ae)](){return _0x13c710(this,void 0x0,void 0x0,function*(){const _0x130340=_0x2711;var _0x484a4f,_0x3a9fbc;this['logger']['debug'](_0x130340(0x572)),(null===(_0x3a9fbc=(_0x484a4f=this[_0x130340(0x2dc)])[_0x130340(0x4fa)])||void 0x0===_0x3a9fbc?void 0x0:_0x3a9fbc['call'](_0x484a4f)[_0x130340(0x2ee)]('game_loaded'))||this['tracker'][_0x130340(0x297)]();});}[_0x3dd67c(0x22d)](){return _0x13c710(this,void 0x0,void 0x0,function*(){const _0x5de241=_0x2711;var _0x29c6fb,_0x4740d6;this['logger'][_0x5de241(0x328)](_0x5de241(0x5f9)),(null===(_0x4740d6=(_0x29c6fb=this[_0x5de241(0x2dc)])[_0x5de241(0x4fa)])||void 0x0===_0x4740d6?void 0x0:_0x4740d6[_0x5de241(0x350)](_0x29c6fb)[_0x5de241(0x2ee)](_0x5de241(0x6b4)))||this[_0x5de241(0x292)][_0x5de241(0x5c7)](_0x5de241(0x6b4),{});});}[_0x3dd67c(0x288)](_0x1573c5){const _0x3a6015=_0x3dd67c;this['logger'][_0x3a6015(0x328)](_0x3a6015(0x2d9)),_0x3a6015(0x5ff)!=typeof window&&_0x4caabf(this[_0x3a6015(0x20d)]),_0x1573c5===_0x9cdbaf[_0x3a6015(0x270)][_0x3a6015(0x55a)]&&_0x51361c(this[_0x3a6015(0x20d)]);}[_0x3dd67c(0x377)](_0x5ec89b){return _0x13c710(this,void 0x0,void 0x0,function*(){const _0x1c4c5c=_0x2711;var _0x126583,_0x77661a,_0x11a828;this[_0x1c4c5c(0x35a)][_0x1c4c5c(0x328)](_0x1c4c5c(0x2e8));const _0x3a34c=null===(_0x126583=this[_0x1c4c5c(0x399)][_0x1c4c5c(0x332)])||void 0x0===_0x126583?void 0x0:_0x126583[_0x1c4c5c(0x6bc)],_0x3bfabc=yield null===(_0x11a828=(_0x77661a=this[_0x1c4c5c(0x2dc)])[_0x1c4c5c(0x37d)])||void 0x0===_0x11a828?void 0x0:_0x11a828[_0x1c4c5c(0x350)](_0x77661a,this[_0x1c4c5c(0x399)][_0x1c4c5c(0x332)]);_0x3bfabc&&(this[_0x1c4c5c(0x399)][_0x1c4c5c(0x332)]=Object['assign'](Object[_0x1c4c5c(0x2ac)]({},_0x3bfabc),{'autoInit':_0x3a34c})),this[_0x1c4c5c(0x399)][_0x1c4c5c(0x332)]&&(this[_0x1c4c5c(0x35a)][_0x1c4c5c(0x328)](_0x1c4c5c(0x4f1)),this[_0x1c4c5c(0x332)][_0x1c4c5c(0x2bc)](this[_0x1c4c5c(0x399)][_0x1c4c5c(0x332)])),_0x5ec89b!==_0x9cdbaf[_0x1c4c5c(0x270)]['DEVELOPMENT']||this['config']['ads']||(this[_0x1c4c5c(0x35a)]['debug']('[FRVR-SDK]\x20configuring\x20ads\x20for\x20dev'),this[_0x1c4c5c(0x332)][_0x1c4c5c(0x2bc)](_0x301fda));});}['registerAdsProviders'](){return _0x13c710(this,void 0x0,void 0x0,function*(){const _0x19656a=_0x2711;var _0xad3c36;this[_0x19656a(0x35a)]['debug'](_0x19656a(0x351));const _0x18f3ed=this[_0x19656a(0x2dc)]['getAdsProviders'](null!==(_0xad3c36=this[_0x19656a(0x399)][_0x19656a(0x332)])&&void 0x0!==_0xad3c36?_0xad3c36:{});for(const _0x512dc1 of _0x18f3ed)this[_0x19656a(0x332)][_0x19656a(0x5fc)](_0x512dc1);});}}return window[_0x3dd67c(0x4e8)]=new _0x4eaf98(),_0x9cdbaf[_0x3dd67c(0x210)]=_0x3dc699,_0x9cdbaf['AdTracker']=_0x591658,_0x9cdbaf[_0x3dd67c(0x465)]=_0x1854f6,_0x9cdbaf[_0x3dd67c(0x28b)]=_0x5d6242,_0x9cdbaf[_0x3dd67c(0x5a7)]=_0x1c784a,_0x9cdbaf[_0x3dd67c(0x373)]=_0x214d6f,_0x9cdbaf[_0x3dd67c(0x543)]=_0x2f3d03,_0x9cdbaf[_0x3dd67c(0x37e)]=_0x301fda,_0x9cdbaf['Deferred']=_0xd9f870,_0x9cdbaf[_0x3dd67c(0x601)]=class{constructor({legacyAnalytics:_0x25a2e5,disableSendBeacon:_0x899dd5}={}){const _0x1fedab=_0x3dd67c;this[_0x1fedab(0x491)]=null!=_0x25a2e5?_0x25a2e5:_0x36e25f(void 0x0,_0x899dd5);}['init'](_0x42e414,_0x2f95ee){const _0x3ec82e=_0x3dd67c;return this[_0x3ec82e(0x491)][_0x3ec82e(0x581)](_0x42e414,_0x2f95ee);}[_0x3dd67c(0x2f6)](){const _0x3ec264=_0x3dd67c;return this['legacyAnalytics'][_0x3ec264(0x2f6)]();}[_0x3dd67c(0x3f3)](_0x2e29f9,_0x117ec5,_0x5b0a6c,_0x462544){const _0x330d8f=_0x3dd67c;this['legacyAnalytics'][_0x330d8f(0x3f3)](_0x2e29f9,_0x117ec5,_0x5b0a6c,_0x462544);}},_0x9cdbaf[_0x3dd67c(0x250)]=_0x4eaf98,_0x9cdbaf[_0x3dd67c(0x345)]=_0x17eb1b,_0x9cdbaf[_0x3dd67c(0x309)]=_0x1445e3,_0x9cdbaf[_0x3dd67c(0x631)]=_0x4d8ba0,_0x9cdbaf[_0x3dd67c(0x278)]=_0x16775f,_0x9cdbaf[_0x3dd67c(0x6a0)]=_0x39d58d,_0x9cdbaf['IAPServiceClient']=_0x473336,_0x9cdbaf[_0x3dd67c(0x34f)]=class{constructor(_0x2e613e,_0x1779c2){const _0xab589=_0x3dd67c;this[_0xab589(0x582)]={},this['_isReady']=!0x1,this[_0xab589(0x598)]=_0x2e613e,this[_0xab589(0x5b2)]=_0x1779c2;for(const _0x20fa70 of this['requiredStates'])this['states'][_0x20fa70]=!0x1;this[_0xab589(0x67f)]();}[_0x3dd67c(0x67f)](){const _0x5e320c=_0x3dd67c,_0x439baa=this[_0x5e320c(0x493)];this[_0x5e320c(0x493)]=this[_0x5e320c(0x598)]['every'](_0xd7831e=>this[_0x5e320c(0x582)][_0xd7831e]),_0x439baa!=this[_0x5e320c(0x493)]&&this['handler'](this[_0x5e320c(0x493)]);}[_0x3dd67c(0x52a)](_0x12ebc1,_0x2a92ff){const _0x52ea1d=_0x3dd67c;this[_0x52ea1d(0x582)][_0x12ebc1]=_0x2a92ff,this['updateIsReady']();}[_0x3dd67c(0x5ec)](_0x7a5189){const _0x3e0bed=_0x3dd67c;return this[_0x3e0bed(0x582)][_0x7a5189];}get['isReady'](){const _0x294d0a=_0x3dd67c;return this[_0x294d0a(0x493)];}},_0x9cdbaf[_0x3dd67c(0x455)]=0x3c,_0x9cdbaf[_0x3dd67c(0x269)]=0x1e,_0x9cdbaf[_0x3dd67c(0x315)]=_0x19e3e0,_0x9cdbaf['Notifications']=_0x456491,_0x9cdbaf['PROACTIVE_REFRESH_THRESHOLD']=0.6,_0x9cdbaf[_0x3dd67c(0x24f)]=_0x2870d7,_0x9cdbaf[_0x3dd67c(0x51e)]=_0x568c4e,_0x9cdbaf[_0x3dd67c(0x267)]=_0x5d6da2,_0x9cdbaf[_0x3dd67c(0x595)]=_0x25db70,_0x9cdbaf[_0x3dd67c(0x576)]=class extends _0x2aa7b7{[_0x3dd67c(0x511)](){this['canUseCookies']=!0x1;}},_0x9cdbaf[_0x3dd67c(0x33e)]=_0x35bb71,_0x9cdbaf[_0x3dd67c(0x409)]=_0x2a2a97,_0x9cdbaf['TokenPair']=_0xd014a6,_0x9cdbaf[_0x3dd67c(0x642)]=_0x13608a,_0x9cdbaf[_0x3dd67c(0x4f7)]=class{[_0x3dd67c(0x50b)](){return _0x13c710(this,void 0x0,void 0x0,function*(){return this['getEntryPointData']();});}[_0x3dd67c(0x488)](_0x52594d){return _0x13c710(this,void 0x0,void 0x0,function*(){const _0x32c769=_0x2711;var _0x226dc9,_0x510550;return null!==(_0x510550=null===(_0x226dc9=this[_0x32c769(0x277)]())||void 0x0===_0x226dc9?void 0x0:_0x226dc9[_0x52594d])&&void 0x0!==_0x510550?_0x510550:void 0x0;});}[_0x3dd67c(0x2f6)](){return _0x13c710(this,void 0x0,void 0x0,function*(){const _0x4f7c22=_0x2711;return this[_0x4f7c22(0x488)](_0x4f7c22(0x256));});}['getEntryPointData'](){const _0xa44b06=_0x3dd67c;if(this['entrypointData'])return this['entrypointData'];try{this[_0xa44b06(0x463)]=Object['fromEntries'](new URLSearchParams(window[_0xa44b06(0x342)][_0xa44b06(0x505)]));}catch(_0x203955){this[_0xa44b06(0x463)]={};}return this[_0xa44b06(0x463)];}},_0x9cdbaf[_0x3dd67c(0x260)]=_0x2aa7b7,_0x9cdbaf[_0x3dd67c(0x2d5)]=_0x451de3,_0x9cdbaf[_0x3dd67c(0x60d)]=_0x4caabf,_0x9cdbaf[_0x3dd67c(0x303)]=_0x51361c,_0x9cdbaf['buildStorageProvider']=_0x48f2d5,_0x9cdbaf[_0x3dd67c(0x290)]=function(_0x4d3c75){const _0x122f26=_0x3dd67c;function _0x7be996(){const _0x3188ca=_0x2711;var _0x400973,_0xfff312,_0x5dcd71,_0x48d105;return window[_0x3188ca(0x49a)]||(null===(_0xfff312=null===(_0x400973=window[_0x3188ca(0x58c)])||void 0x0===_0x400973?void 0x0:_0x400973[_0x3188ca(0x333)])||void 0x0===_0xfff312?void 0x0:_0xfff312['clientWidth'])||(null===(_0x48d105=null===(_0x5dcd71=window[_0x3188ca(0x58c)])||void 0x0===_0x5dcd71?void 0x0:_0x5dcd71[_0x3188ca(0x4dc)])||void 0x0===_0x48d105?void 0x0:_0x48d105[_0x3188ca(0x638)]);}function _0x4f6222(){const _0x42abfa=_0x2711;var _0x377a8d,_0x1977ba,_0xa14eef,_0x5e3521;return window[_0x42abfa(0x387)]||(null===(_0x1977ba=null===(_0x377a8d=window[_0x42abfa(0x58c)])||void 0x0===_0x377a8d?void 0x0:_0x377a8d['documentElement'])||void 0x0===_0x1977ba?void 0x0:_0x1977ba['clientHeight'])||(null===(_0x5e3521=null===(_0xa14eef=window['document'])||void 0x0===_0xa14eef?void 0x0:_0xa14eef[_0x42abfa(0x4dc)])||void 0x0===_0x5e3521?void 0x0:_0x5e3521[_0x42abfa(0x46a)]);}const _0x421928=function(_0x5e3ac9){const _0x550d40=_0x2711,_0x30497c=_0x3db2b9=>{const _0x27acae=_0x2711,_0x3f5485=_0x5e3ac9[_0x27acae(0x3f9)](_0x27acae(0x4c9)+_0x3db2b9+_0x27acae(0x36d));return null==_0x3f5485?void 0x0:_0x3f5485[0x1];};return{'utm_source':_0x30497c('utm_source'),'utm_medium':_0x30497c('utm_medium'),'utm_campaign':_0x30497c('utm_campaign'),'utm_term':_0x30497c(_0x550d40(0x367)),'utm_content':_0x30497c(_0x550d40(0x6a4))};}((function(){const _0x498a13=_0x2711;var _0x31aae1,_0xd67e92;return((null===(_0xd67e92=null===(_0x31aae1=window[_0x498a13(0x58c)])||void 0x0===_0x31aae1?void 0x0:_0x31aae1[_0x498a13(0x342)])||void 0x0===_0xd67e92?void 0x0:_0xd67e92[_0x498a13(0x505)])||'')[_0x498a13(0x1f5)](/^\?/,'');}()));return _0x398c12=>Object[_0x122f26(0x2ac)](Object[_0x122f26(0x2ac)]({},_0x421928),{'play_session_id':_0x398c12[_0x122f26(0x3a9)](),'channel':_0x4d3c75,'device_width':_0x7be996(),'device_height':_0x4f6222()});},_0x9cdbaf[_0x3dd67c(0x548)]=_0x2ac70c=>new _0x214d6f({'provider':new _0x451de3(),'logger':_0x2ac70c}),_0x9cdbaf[_0x3dd67c(0x4d5)]=_0x3f3a3c,_0x9cdbaf['decodeTokenPayload']=_0x1e5dbe,_0x9cdbaf[_0x3dd67c(0x4e9)]=_0x3c5031,_0x9cdbaf[_0x3dd67c(0x4d1)]=_0x490c9e,_0x9cdbaf[_0x3dd67c(0x4b9)]=_0x171f30,_0x9cdbaf['emptyAdLifecycle']=_0x1649d4,_0x9cdbaf[_0x3dd67c(0x2a5)]=_0x1b9f34,_0x9cdbaf[_0x3dd67c(0x2bb)]=_0x5cbd37,_0x9cdbaf[_0x3dd67c(0x59b)]=_0x1a26ae,_0x9cdbaf['emptyCommunityProvider']=_0x43d35d,_0x9cdbaf[_0x3dd67c(0x5ea)]=_0x2d6799,_0x9cdbaf[_0x3dd67c(0x695)]=_0xd0718d,_0x9cdbaf[_0x3dd67c(0x592)]=_0x389b5e,_0x9cdbaf[_0x3dd67c(0x444)]=_0x1bde26,_0x9cdbaf[_0x3dd67c(0x2ca)]=_0x98a3fc,_0x9cdbaf[_0x3dd67c(0x271)]=_0x2db60d,_0x9cdbaf[_0x3dd67c(0x39c)]=_0x305492,_0x9cdbaf[_0x3dd67c(0x6b6)]=_0x384e86,_0x9cdbaf['emptyShortcutProvider']=_0x827682,_0x9cdbaf[_0x3dd67c(0x213)]=_0x2c9a70,_0x9cdbaf[_0x3dd67c(0x5d2)]=_0x107aee,Object[_0x3dd67c(0x3e7)](_0x9cdbaf,_0x3dd67c(0x6c3),{'value':!0x0}),_0x9cdbaf;}({});function _0x2711(_0x5df954,_0x467b6c){const _0x36d496=_0x36d4();return _0x2711=function(_0x27118f,_0x1c78ae){_0x27118f=_0x27118f-0x1f3;let _0x276ea9=_0x36d496[_0x27118f];return _0x276ea9;},_0x2711(_0x5df954,_0x467b6c);}FRVRSDK[_0x2642ad(0x40d)]=FRVRSDK['version']||{},FRVRSDK[_0x2642ad(0x40d)][_0x2642ad(0x64c)]=FRVRSDK['version'][_0x2642ad(0x64c)]||{},FRVRSDK[_0x2642ad(0x40d)][_0x2642ad(0x64c)]['v']=_0x2642ad(0x27d),FRVRSDK[_0x2642ad(0x40d)][_0x2642ad(0x64c)][_0x2642ad(0x4ad)]='1753374787465',FRVRSDK[_0x2642ad(0x40d)][_0x2642ad(0x64c)][_0x2642ad(0x66a)]=_0x2642ad(0x1fd),FRVRSDK['version'][_0x2642ad(0x64c)][_0x2642ad(0x533)]=_0x2642ad(0x5e6); //# sourceMappingURL=frvr-sdk.min.js.map