@onairos/react-native 3.6.3 โ 3.6.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/commonjs/api/index.js +1 -1
- package/lib/commonjs/components/BodyText.js +1 -1
- package/lib/commonjs/components/BrandMark.js +1 -1
- package/lib/commonjs/components/CodeInput.js +1 -1
- package/lib/commonjs/components/EmailInput.js +1 -1
- package/lib/commonjs/components/GoogleButton.js +1 -1
- package/lib/commonjs/components/HeadingGroup.js +1 -1
- package/lib/commonjs/components/LLMDataInputModal.js +1 -1
- package/lib/commonjs/components/ModalHeader.js +1 -1
- package/lib/commonjs/components/ModalSheet.js +1 -1
- package/lib/commonjs/components/Onairos.js +1 -1
- package/lib/commonjs/components/OnairosButton.js +1 -1
- package/lib/commonjs/components/OnairosSignInButton.js +1 -1
- package/lib/commonjs/components/Overlay.js +1 -1
- package/lib/commonjs/components/PersonaImage.js +1 -1
- package/lib/commonjs/components/PersonaLoadingScreen.js +1 -1
- package/lib/commonjs/components/PersonalizationConsentScreen.js +1 -1
- package/lib/commonjs/components/PinCreationScreen.js +1 -1
- package/lib/commonjs/components/PinInput.js +1 -1
- package/lib/commonjs/components/PlatformConnectorsStep.js +1 -1
- package/lib/commonjs/components/PlatformList.js +1 -1
- package/lib/commonjs/components/PlatformToggle.js +1 -1
- package/lib/commonjs/components/PrimaryButton.js +1 -1
- package/lib/commonjs/components/SignInMatchAnimation.js +1 -1
- package/lib/commonjs/components/SignInStep.js +1 -1
- package/lib/commonjs/components/UniversalOnboarding.js +1 -1
- package/lib/commonjs/components/VerificationStep.js +1 -1
- package/lib/commonjs/components/WelcomeScreen.js +1 -1
- package/lib/commonjs/components/icons/Basicproficon.js +1 -1
- package/lib/commonjs/components/icons/Basicprofile.js +1 -1
- package/lib/commonjs/components/icons/Checkbox.js +1 -1
- package/lib/commonjs/components/icons/Checkmark.js +1 -1
- package/lib/commonjs/components/icons/Contentanalysis.js +1 -1
- package/lib/commonjs/components/icons/Contenticon.js +1 -1
- package/lib/commonjs/components/icons/EnochE.js +1 -1
- package/lib/commonjs/components/icons/Personalityicon.js +1 -1
- package/lib/commonjs/components/icons/Personalityprofile.js +1 -1
- package/lib/commonjs/components/icons/Personalitytraits.js +1 -1
- package/lib/commonjs/components/icons/Userpreferences.js +1 -1
- package/lib/commonjs/components/icons/index.js +1 -1
- package/lib/commonjs/components/onboarding/OAuthWebView.js +1 -1
- package/lib/commonjs/components/onboarding/OnboardingHeader.js +1 -1
- package/lib/commonjs/components/onboarding/PinInput.js +1 -1
- package/lib/commonjs/components/onboarding/PlatformConnector.js +1 -1
- package/lib/commonjs/config/api.js +1 -1
- package/lib/commonjs/constants/index.js +1 -1
- package/lib/commonjs/context/AuthContext.js +1 -1
- package/lib/commonjs/hooks/useConnectedAccounts.js +1 -1
- package/lib/commonjs/hooks/useConnections.js +1 -1
- package/lib/commonjs/hooks/useCredentials.js +1 -1
- package/lib/commonjs/hooks/useUserConnections.js +1 -1
- package/lib/commonjs/index.js +1 -1
- package/lib/commonjs/services/apiClient.js +1 -1
- package/lib/commonjs/services/apiKeyService.js +1 -1
- package/lib/commonjs/services/authService.js +1 -1
- package/lib/commonjs/services/biometricPinService.js +1 -1
- package/lib/commonjs/services/chatGPTConversationExtractor.js +1 -1
- package/lib/commonjs/services/chatGPTConversationService.js +1 -1
- package/lib/commonjs/services/claudeConversationExtractor.js +1 -1
- package/lib/commonjs/services/claudeConversationService.js +1 -1
- package/lib/commonjs/services/connectedAccountsService.js +1 -1
- package/lib/commonjs/services/googleAuthService.js +1 -1
- package/lib/commonjs/services/hingeDataExtractor.js +1 -1
- package/lib/commonjs/services/hingeDataService.js +1 -1
- package/lib/commonjs/services/imageCompressionService.js +1 -1
- package/lib/commonjs/services/instagramDataExtractor.js +1 -1
- package/lib/commonjs/services/instagramDataService.js +1 -1
- package/lib/commonjs/services/jwtStorageService.js +1 -1
- package/lib/commonjs/services/linkedinDOMExtractor.js +1 -1
- package/lib/commonjs/services/linkedinProfileService.js +1 -1
- package/lib/commonjs/services/linkedinScrapingService.js +1 -1
- package/lib/commonjs/services/llmDataStorage.js +1 -1
- package/lib/commonjs/services/mobileTrainingService.js +1 -1
- package/lib/commonjs/services/oauthService.js +1 -1
- package/lib/commonjs/services/pinEncryptionService.js +1 -1
- package/lib/commonjs/services/pinStorageUtils.js +1 -1
- package/lib/commonjs/services/platformAuthService.js +1 -1
- package/lib/commonjs/services/sephoraDataExtractor.js +1 -1
- package/lib/commonjs/services/sephoraDataService.js +1 -1
- package/lib/commonjs/services/storageService.js +1 -1
- package/lib/commonjs/services/telegramDataExtractor.js +1 -1
- package/lib/commonjs/services/telegramDataService.js +1 -1
- package/lib/commonjs/services/trainingApiHelpers.js +1 -1
- package/lib/commonjs/services/userConnectionsService.js +1 -1
- package/lib/commonjs/services/youtubeMigrationService.js +1 -1
- package/lib/commonjs/theme/index.js +1 -1
- package/lib/commonjs/types/index.js +1 -1
- package/lib/commonjs/types.js +1 -1
- package/lib/commonjs/utils/Portal.js +1 -1
- package/lib/commonjs/utils/api.js +1 -1
- package/lib/commonjs/utils/assetRegistry.js +1 -1
- package/lib/commonjs/utils/auth.js +1 -1
- package/lib/commonjs/utils/connectorTests.js +1 -1
- package/lib/commonjs/utils/crypto.js +1 -1
- package/lib/commonjs/utils/debugHelper.js +1 -1
- package/lib/commonjs/utils/encryption.js +1 -1
- package/lib/commonjs/utils/eventUtils.js +1 -1
- package/lib/commonjs/utils/haptics.js +1 -1
- package/lib/commonjs/utils/imagePreloader.js +1 -1
- package/lib/commonjs/utils/networkDiagnostics.js +1 -1
- package/lib/commonjs/utils/onairosApi.js +1 -1
- package/lib/commonjs/utils/programmaticFlow.js +1 -1
- package/lib/commonjs/utils/retryHelper.js +1 -1
- package/lib/commonjs/utils/secureStorage.js +1 -1
- package/lib/commonjs/utils/webviewScripts/chatgpt.js +1 -1
- package/lib/commonjs/utils/webviewScripts/claude.js +1 -1
- package/lib/commonjs/utils/webviewScripts/hinge.js +1 -1
- package/lib/commonjs/utils/webviewScripts/index.js +1 -1
- package/lib/commonjs/utils/webviewScripts/instagram.js +1 -1
- package/lib/commonjs/utils/webviewScripts/linkedin.js +1 -1
- package/lib/commonjs/utils/webviewScripts/sephora.js +1 -1
- package/lib/commonjs/utils/webviewScripts/telegram.js +1 -1
- package/lib/module/api/index.js +1 -1
- package/lib/module/components/BodyText.js +1 -1
- package/lib/module/components/BrandMark.js +1 -1
- package/lib/module/components/CodeInput.js +1 -1
- package/lib/module/components/EmailInput.js +1 -1
- package/lib/module/components/GoogleButton.js +1 -1
- package/lib/module/components/HeadingGroup.js +1 -1
- package/lib/module/components/LLMDataInputModal.js +1 -1
- package/lib/module/components/ModalHeader.js +1 -1
- package/lib/module/components/ModalSheet.js +1 -1
- package/lib/module/components/Onairos.js +1 -1
- package/lib/module/components/OnairosButton.js +1 -1
- package/lib/module/components/OnairosSignInButton.js +1 -1
- package/lib/module/components/Overlay.js +1 -1
- package/lib/module/components/PersonaImage.js +1 -1
- package/lib/module/components/PersonaLoadingScreen.js +1 -1
- package/lib/module/components/PersonalizationConsentScreen.js +1 -1
- package/lib/module/components/PinCreationScreen.js +1 -1
- package/lib/module/components/PinInput.js +1 -1
- package/lib/module/components/PlatformConnectorsStep.js +1 -1
- package/lib/module/components/PlatformList.js +1 -1
- package/lib/module/components/PlatformToggle.js +1 -1
- package/lib/module/components/PrimaryButton.js +1 -1
- package/lib/module/components/SignInMatchAnimation.js +1 -1
- package/lib/module/components/SignInStep.js +1 -1
- package/lib/module/components/UniversalOnboarding.js +1 -1
- package/lib/module/components/VerificationStep.js +1 -1
- package/lib/module/components/WelcomeScreen.js +1 -1
- package/lib/module/components/icons/Basicproficon.js +1 -1
- package/lib/module/components/icons/Basicprofile.js +1 -1
- package/lib/module/components/icons/Checkbox.js +1 -1
- package/lib/module/components/icons/Checkmark.js +1 -1
- package/lib/module/components/icons/Contentanalysis.js +1 -1
- package/lib/module/components/icons/Contenticon.js +1 -1
- package/lib/module/components/icons/EnochE.js +1 -1
- package/lib/module/components/icons/Personalityicon.js +1 -1
- package/lib/module/components/icons/Personalityprofile.js +1 -1
- package/lib/module/components/icons/Personalitytraits.js +1 -1
- package/lib/module/components/icons/Userpreferences.js +1 -1
- package/lib/module/components/onboarding/OAuthWebView.js +1 -1
- package/lib/module/components/onboarding/OnboardingHeader.js +1 -1
- package/lib/module/components/onboarding/PinInput.js +1 -1
- package/lib/module/components/onboarding/PlatformConnector.js +1 -1
- package/lib/module/config/api.js +1 -1
- package/lib/module/constants/index.js +1 -1
- package/lib/module/context/AuthContext.js +1 -1
- package/lib/module/hooks/useConnectedAccounts.js +1 -1
- package/lib/module/hooks/useConnections.js +1 -1
- package/lib/module/hooks/useCredentials.js +1 -1
- package/lib/module/hooks/useUserConnections.js +1 -1
- package/lib/module/index.js +1 -1
- package/lib/module/services/apiClient.js +1 -1
- package/lib/module/services/apiKeyService.js +1 -1
- package/lib/module/services/authService.js +1 -1
- package/lib/module/services/biometricPinService.js +1 -1
- package/lib/module/services/chatGPTConversationExtractor.js +1 -1
- package/lib/module/services/chatGPTConversationService.js +1 -1
- package/lib/module/services/claudeConversationExtractor.js +1 -1
- package/lib/module/services/claudeConversationService.js +1 -1
- package/lib/module/services/connectedAccountsService.js +1 -1
- package/lib/module/services/googleAuthService.js +1 -1
- package/lib/module/services/hingeDataExtractor.js +1 -1
- package/lib/module/services/hingeDataService.js +1 -1
- package/lib/module/services/imageCompressionService.js +1 -1
- package/lib/module/services/instagramDataExtractor.js +1 -1
- package/lib/module/services/instagramDataService.js +1 -1
- package/lib/module/services/jwtStorageService.js +1 -1
- package/lib/module/services/linkedinDOMExtractor.js +1 -1
- package/lib/module/services/linkedinProfileService.js +1 -1
- package/lib/module/services/linkedinScrapingService.js +1 -1
- package/lib/module/services/llmDataStorage.js +1 -1
- package/lib/module/services/mobileTrainingService.js +1 -1
- package/lib/module/services/oauthService.js +1 -1
- package/lib/module/services/pinEncryptionService.js +1 -1
- package/lib/module/services/pinStorageUtils.js +1 -1
- package/lib/module/services/platformAuthService.js +1 -1
- package/lib/module/services/sephoraDataExtractor.js +1 -1
- package/lib/module/services/sephoraDataService.js +1 -1
- package/lib/module/services/storageService.js +1 -1
- package/lib/module/services/telegramDataExtractor.js +1 -1
- package/lib/module/services/telegramDataService.js +1 -1
- package/lib/module/services/trainingApiHelpers.js +1 -1
- package/lib/module/services/userConnectionsService.js +1 -1
- package/lib/module/services/youtubeMigrationService.js +1 -1
- package/lib/module/theme/index.js +1 -1
- package/lib/module/types.js +1 -1
- package/lib/module/utils/Portal.js +1 -1
- package/lib/module/utils/api.js +1 -1
- package/lib/module/utils/assetRegistry.js +1 -1
- package/lib/module/utils/auth.js +1 -1
- package/lib/module/utils/connectorTests.js +1 -1
- package/lib/module/utils/crypto.js +1 -1
- package/lib/module/utils/debugHelper.js +1 -1
- package/lib/module/utils/encryption.js +1 -1
- package/lib/module/utils/eventUtils.js +1 -1
- package/lib/module/utils/haptics.js +1 -1
- package/lib/module/utils/networkDiagnostics.js +1 -1
- package/lib/module/utils/onairosApi.js +1 -1
- package/lib/module/utils/programmaticFlow.js +1 -1
- package/lib/module/utils/retryHelper.js +1 -1
- package/lib/module/utils/secureStorage.js +1 -1
- package/lib/module/utils/webviewScripts/chatgpt.js +1 -1
- package/lib/module/utils/webviewScripts/claude.js +1 -1
- package/lib/module/utils/webviewScripts/hinge.js +1 -1
- package/lib/module/utils/webviewScripts/index.js +1 -1
- package/lib/module/utils/webviewScripts/instagram.js +1 -1
- package/lib/module/utils/webviewScripts/linkedin.js +1 -1
- package/lib/module/utils/webviewScripts/sephora.js +1 -1
- package/lib/module/utils/webviewScripts/telegram.js +1 -1
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
import{GoogleSignin}from'@react-native-google-signin/google-signin';function _0x1bcf(){const _0x11d6c1=['1030678346906-lovkuds2ouqmoc8eu5qpo98spa6edv4o.apps.googleusercontent.com','https://www.googleapis.com/auth/youtube.readonly','openid','profile','email','configure','uruZn','lOsiV','qvWox','โ
\x20[MIGRATION]\x20YouTube\x20connection\x20working\x20properly\x20-\x20no\x20migration\x20needed','๐\x20YouTube\x20migration\x20check:','๐\x20User\x20using\x20temporary\x20mode\x20-\x20connection\x20working\x20correctly','๐ง\x20User\x20needs\x20YouTube\x20migration\x20for\x20refresh\x20token','fOWfz','โ
\x20YouTube\x20connection\x20fully\x20working\x20with\x20refresh\x20tokens','SCrqk','BASE_URL','json','validation','xeElZ','isTemporaryMode','mqgEQ','QzIFg','temporaryMode','enabled','message','includes','tFZgO','needsReconnection','hasRefreshToken','log','goaYN','mUxov','gALfg','hncyF','uVweA','AMjuG','pUNEP','acHoT','error','MoJIv','๐ซ\x20[MIGRATION\x20WARNING]\x20NO\x20WARNING\x20-\x20user\x20is\x20in\x20temporary\x20mode\x20(working\x20correctly)','โ ๏ธ\x20[MIGRATION\x20WARNING]\x20SHOW\x20WARNING\x20-\x20genuinely\x20old\x20connection\x20needs\x20update','๐\x20Complete\x20YouTube\x20status\x20response:','temporary\x20access\x20token\x20mode','๐\x20YouTube\x20connected\x20in\x20temporary\x20mode','โ
\x20Training\x20will\x20work,\x20but\x20connection\x20expires\x20in\x20~1\x20hour','โ
\x20YouTube\x20connected\x20with\x20refresh\x20tokens','โ ๏ธ\x20YouTube\x20connected\x20but\x20needs\x20migration','Rfejs','oDjxm','none','โ\x20No\x20YouTube\x20connection\x20found','/youtube/validate-connection/','success','mYwhM','BZwpz','ATpQc','XLKtr','COgkn','EUBco','aPxis','rjJCh','ZydPe','limited','mMfzh','GSHma','HTqRg','NmDhJ','KqeGF','hasAccessToken','๐\x20[MIGRATION\x20WARNING]\x20Status\x20check:','connectedAt','xcDCa','EBwLf','FKiQX','HzwvV','wgdse','To\x20improve\x20your\x20training\x20experience,\x20we\x20need\x20to\x20upgrade\x20your\x20YouTube\x20connection.\x20This\x20prevents\x20interruptions\x20during\x20data\x20collection.\x0a\x0aโ
\x20One-time\x20upgrade\x0aโ
\x20Takes\x2030\x20seconds\x0aโ
\x20No\x20data\x20loss\x0a\x0aUpgrade\x20now?','default','alert','BQXpI','nagKk','HcIeh','aTHBH','YouTube\x20Connection\x20Upgrade','Upgrade\x20Now','โ\x20Error\x20checking\x20YouTube\x20migration\x20status:','grmRa','๐\x20Starting\x20YouTube\x20migration\x20for\x20user:','โ
\x20Signed\x20out\x20-\x20consent\x20cache\x20cleared','LjrEY','โน๏ธ\x20No\x20token\x20cache\x20to\x20clear','๐\x20Initiating\x20sign-in\x20-\x20consent\x20screen\x20should\x20appear...','Server\x20auth\x20code\x20from\x20sign-in','KKDuJ','๐\x20Token\x20Analysis:','Available','MISSING!','0|4|3|2|1|5','โ\x20No\x20refresh\x20token\x20received\x20-\x20Google\x20Console\x20configuration\x20may\x20be\x20incorrect','\x20\x20\x203.\x20User\x20did\x20not\x20grant\x20offline\x20access\x20permission','\x20\x20\x202.\x20forceCodeForRefreshToken:\x20true\x20is\x20missing','\x20\x20\x201.\x20offlineAccess:\x20true\x20is\x20missing\x20from\x20configuration','โ
\x20Got\x20refresh\x20token\x20after\x20consent:','๐\x20Refresh\x20token\x20source:','onairos_jwt_token','enoch_token','migration_token_placeholder','YouTube\x20Channel','๐ค\x20Sending\x20migration\x20payload\x20to\x20backend...','โ
\x20YouTube\x20migration\x20successful','โ\x20Backend\x20rejected\x20YouTube\x20migration:','Unknown\x20error','dPtrW','โ\x20Failed\x20to\x20track\x20migration\x20attempt:','zVCpD','TXIRZ','signOut','LNHKA','wpMcF','mgKOR','ofOZw','fZWCx','Skip\x20for\x20Now','TFLas','kYnSK','getTokens','accessToken','MjMsX','hAFrj','wUFxp','clearCachedAccessToken','โ
\x20Token\x20cache\x20cleared','hasPlayServices','hDKRV','signIn','getCurrentUser','None','serverAuthCode','nZOQf','AKIuD','VaKoY','Current\x20user\x20server\x20auth\x20code','ZyNAD','rFPqe','idToken','CxDzk','adMWJ','user','kOEtf','split','puXBF','RsGhK','๐ก\x20This\x20usually\x20means:','hrjej','substring','...','getItem','TLxbs','SgcSD','auth_token','warn','youtube','fVHuJ','nWUbn','WHhkM','name','kSrCW','EejMi','WEcLE','Bearer\x20','yGTRa','mZyUj','HhOTg','FjPma','MDgBT','YneSe','/youtube/migration-status','stringify','ZCmcQ','iLRCC','โ\x20Error\x20in\x20YouTube\x20connection\x20check:','boCgn','โ ๏ธ\x20No\x20refresh\x20capability\x20but\x20training\x20can\x20proceed','โ\x20YouTube\x20connection\x20status\x20unclear','๐\x20[MIGRATION\x20WARNING]\x20Checking\x20if\x20user\x20should\x20see\x20migration\x20warning:','sFqQW','goEyd','PTkuk','โ
\x20[MIGRATION\x20WARNING]\x20NO\x20WARNING\x20-\x20connection\x20is\x20working\x20properly','wmdIQ','โ\x20[MIGRATION\x20WARNING]\x20Error\x20checking\x20migration\x20warning\x20status:','uEIsL','nmvjZ','LMYUb','OXgfS','HZEhf','tvjQa','YtOWZ','ojSjM','uYXly','HvKtC','LcJLb','cbzOT','hFNJL','BQHPO','hUSHi','PcXFK','kDKCM','rRhxh','โน๏ธ\x20[MIGRATION\x20WARNING]\x20NO\x20WARNING\x20-\x20no\x20YouTube\x20connection\x20found','iLywi','tFlKv','nXRTA','๐\x20Checking\x20YouTube\x20connection\x20for\x20user:','aIoLH','๐ซ\x20[MIGRATION]\x20NO\x20MIGRATION\x20NEEDED\x20-\x20user\x20connection\x20is\x20working\x20correctly','โ
\x20[MIGRATION]\x20User\x20can\x20proceed\x20with\x20training\x20normally','kWqoh','โน๏ธ\x20User\x20declined\x20YouTube\x20migration','YouTube\x20Upgraded!\x20โ
','Upgrade\x20Failed\x20โ','YouTube\x20connection\x20upgrade\x20failed.\x20Please\x20try\x20again\x20later\x20or\x20contact\x20support\x20if\x20the\x20problem\x20persists.','EQPyX','jOeDG','fEUJI','NevlW','FeaGl','OXiWQ','wYsYZ','JzfrP','APXKN','Fgljy','fDYer','zyAJy','bYiot','Your\x20YouTube\x20connection\x20has\x20been\x20upgraded\x20successfully.\x20Training\x20will\x20now\x20work\x20seamlessly\x20without\x20interruptions.','Great!','osDVA','EXZYf','nBZRV','๐\x20Manual\x20YouTube\x20reconnection\x20requested\x20for:'];_0x1bcf=function(){return _0x11d6c1;};return _0x1bcf();}import{Alert}from'react-native';import AsyncStorage from'@react-native-async-storage/async-storage';import{API_CONFIG}from'../config/api';const WEB_CLIENT_ID=_0x56d6(0x0),IOS_CLIENT_ID=_0x56d6(0x0),configureGoogleSignInForRefreshTokens=()=>{const _0x58e9fe={'uruZn':_0x56d6(0x1),'FKgXP':_0x56d6(0x2),'lOsiV':_0x56d6(0x3),'qvWox':_0x56d6(0x4)};GoogleSignin[_0x56d6(0x5)]({'webClientId':WEB_CLIENT_ID,'iosClientId':IOS_CLIENT_ID,'offlineAccess':!![],'forceCodeForRefreshToken':!![],'scopes':[_0x58e9fe[_0x56d6(0x6)],_0x58e9fe['FKgXP'],_0x58e9fe[_0x56d6(0x7)],_0x58e9fe[_0x56d6(0x8)]],'hostedDomain':'','accountName':''});};export const checkYouTubeMigrationNeeded=async _0x27a0d0=>{const _0x1cb97c={'acHoT':_0x56d6(0x9),'SCrqk':function(_0xc9bb7d,_0x1c9eef){return _0xc9bb7d(_0x1c9eef);},'iJaSC':function(_0x1269af,_0x2c44c3){return _0x1269af===_0x2c44c3;},'xeElZ':function(_0x1e12db,_0x1b7aac){return _0x1e12db===_0x1b7aac;},'mqgEQ':function(_0x2101cb,_0x252ce9){return _0x2101cb===_0x252ce9;},'QzIFg':function(_0x3f5bd1,_0x3f1d40){return _0x3f5bd1===_0x3f1d40;},'tFZgO':'temporary\x20access\x20token\x20mode','goaYN':_0x56d6(0xa),'mUxov':function(_0x2f9ef9,_0x66a22){return _0x2f9ef9===_0x66a22;},'gALfg':_0x56d6(0xb),'hncyF':'โ ๏ธ\x20No\x20refresh\x20capability\x20but\x20training\x20can\x20proceed','uVweA':_0x56d6(0xc),'AMjuG':_0x56d6(0xd),'pUNEP':_0x56d6(0xe),'MoJIv':'โ\x20Error\x20checking\x20YouTube\x20migration\x20status:'};try{const _0x4fde4b=await _0x1cb97c[_0x56d6(0xf)](fetch,API_CONFIG[_0x56d6(0x10)]+'/youtube/validate-connection/'+_0x27a0d0),_0x48f7dd=await _0x4fde4b[_0x56d6(0x11)]();if(_0x48f7dd['success']&&_0x48f7dd[_0x56d6(0x12)]){var _0x2464e6,_0x178c57,_0x25f579;const _0x28bb88=_0x1cb97c['iJaSC'](_0x1cb97c['iJaSC'](_0x2464e6=_0x48f7dd[_0x56d6(0x12)],null)||_0x1cb97c[_0x56d6(0x13)](_0x2464e6,void 0x0)?void 0x0:_0x2464e6[_0x56d6(0x14)],!![])||_0x1cb97c[_0x56d6(0x15)](_0x1cb97c[_0x56d6(0x16)](_0x178c57=_0x48f7dd[_0x56d6(0x17)],null)||_0x1cb97c[_0x56d6(0x13)](_0x178c57,void 0x0)?void 0x0:_0x178c57[_0x56d6(0x18)],!![])||_0x1cb97c[_0x56d6(0x15)](_0x48f7dd[_0x56d6(0x14)],!![])||_0x48f7dd[_0x56d6(0x19)]&&_0x48f7dd['message'][_0x56d6(0x1a)](_0x1cb97c[_0x56d6(0x1b)]),_0x3360ce=_0x48f7dd['validation'][_0x56d6(0x1c)],_0x33c630=_0x48f7dd['validation'][_0x56d6(0x1d)];console[_0x56d6(0x1e)](_0x1cb97c[_0x56d6(0x1f)],{'username':_0x27a0d0,'needsReconnection':_0x3360ce,'hasRefreshToken':_0x33c630,'isTemporaryMode':_0x28bb88,'temporaryModeEnabled':_0x1cb97c[_0x56d6(0x16)](_0x25f579=_0x48f7dd[_0x56d6(0x17)],null)||_0x1cb97c[_0x56d6(0x20)](_0x25f579,void 0x0)?void 0x0:_0x25f579['enabled'],'message':_0x48f7dd[_0x56d6(0x19)]});if(_0x28bb88)return console[_0x56d6(0x1e)](_0x1cb97c[_0x56d6(0x21)]),console[_0x56d6(0x1e)](_0x1cb97c[_0x56d6(0x22)]),![];else return _0x3360ce?(console[_0x56d6(0x1e)](_0x1cb97c[_0x56d6(0x23)]),!![]):_0x1cb97c[_0x56d6(0x24)]===_0x56d6(0xd)?(console[_0x56d6(0x1e)](_0x1cb97c[_0x56d6(0x25)]),![]):(_0x2b4f41[_0x56d6(0x1e)](_0x1cb97c[_0x56d6(0x26)]),!![]);}return![];}catch(_0x5b88ef){return console[_0x56d6(0x27)](_0x1cb97c[_0x56d6(0x28)],_0x5b88ef),![];}};export const getYouTubeConnectionStatus=async _0x1d0bbb=>{const _0x457415={'ATpQc':function(_0x165182,_0x51c92f){return _0x165182===_0x51c92f;},'NmDhJ':function(_0x504dc0,_0x4fc5f8){return _0x504dc0===_0x4fc5f8;},'KqeGF':function(_0x4b0d68,_0x1bedc7){return _0x4b0d68===_0x1bedc7;},'EUBco':function(_0x5ef0b4,_0x138d17){return _0x5ef0b4===_0x138d17;},'EOjiQ':function(_0xdf533d,_0x5b9cb0){return _0xdf533d===_0x5b9cb0;},'xcDCa':_0x56d6(0x29),'EBwLf':function(_0x323e04,_0x582cdd){return _0x323e04&&_0x582cdd;},'FKiQX':_0x56d6(0x2a),'HzwvV':'โ
\x20[MIGRATION\x20WARNING]\x20NO\x20WARNING\x20-\x20connection\x20is\x20working\x20properly','yCWKM':_0x56d6(0x2b),'zkAyY':function(_0x26a1c1,_0x6d2dd2){return _0x26a1c1===_0x6d2dd2;},'mYwhM':function(_0x3a83be,_0x962f24){return _0x3a83be===_0x962f24;},'BZwpz':function(_0x2996eb,_0x139864){return _0x2996eb===_0x139864;},'XLKtr':_0x56d6(0x2c),'COgkn':function(_0x2b62e9,_0x4d2c86){return _0x2b62e9===_0x4d2c86;},'AuvvP':_0x56d6(0x2d),'aPxis':_0x56d6(0x2e),'rjJCh':'temporary','kmnFa':_0x56d6(0x2f),'ZydPe':'full','GGbyx':_0x56d6(0x30),'mMfzh':function(_0x1dcad6,_0x801a5d){return _0x1dcad6!==_0x801a5d;},'GSHma':_0x56d6(0x31),'BSkdK':_0x56d6(0x32),'HTqRg':_0x56d6(0x33),'MpIoZ':_0x56d6(0x34),'gmnFC':'โ\x20Error\x20getting\x20YouTube\x20connection\x20status:','wgdse':function(_0x3597f3,_0x727083){return _0x3597f3(_0x727083);}};try{const _0xd9da2f=await fetch(API_CONFIG['BASE_URL']+_0x56d6(0x35)+_0x1d0bbb),_0x21f99d=await _0xd9da2f[_0x56d6(0x11)]();console[_0x56d6(0x1e)](_0x457415['yCWKM'],_0x21f99d);if(_0x21f99d[_0x56d6(0x36)]&&_0x21f99d['validation']){var _0x2ab874,_0x97c3c1;const _0x3e7e71=_0x457415['zkAyY'](_0x457415[_0x56d6(0x37)](_0x2ab874=_0x21f99d['validation'],null)||_0x457415[_0x56d6(0x38)](_0x2ab874,void 0x0)?void 0x0:_0x2ab874[_0x56d6(0x14)],!![])||_0x457415['zkAyY']((_0x97c3c1=_0x21f99d[_0x56d6(0x17)])===null||_0x457415[_0x56d6(0x39)](_0x97c3c1,void 0x0)?void 0x0:_0x97c3c1[_0x56d6(0x18)],!![])||_0x457415[_0x56d6(0x39)](_0x21f99d[_0x56d6(0x14)],!![])||_0x21f99d[_0x56d6(0x19)]&&_0x21f99d['message']['includes'](_0x457415[_0x56d6(0x3a)]),_0x258586=_0x457415[_0x56d6(0x3b)](_0x21f99d[_0x56d6(0x12)][_0x56d6(0x1d)],!![]),_0x5747df=_0x457415[_0x56d6(0x3c)](_0x21f99d[_0x56d6(0x12)][_0x56d6(0x1c)],!![]);if(_0x3e7e71)return console[_0x56d6(0x1e)](_0x457415['AuvvP']),console[_0x56d6(0x1e)](_0x457415[_0x56d6(0x3d)]),{'isReady':!![],'mode':_0x457415[_0x56d6(0x3e)],'needsMigration':![],'trainingReady':!![],'details':_0x21f99d};else{if(_0x258586)return console[_0x56d6(0x1e)](_0x457415['kmnFa']),{'isReady':!![],'mode':_0x457415[_0x56d6(0x3f)],'needsMigration':![],'trainingReady':!![],'details':_0x21f99d};else{if(_0x5747df)return console[_0x56d6(0x1e)](_0x457415['GGbyx']),{'isReady':![],'mode':_0x56d6(0x40),'needsMigration':!![],'trainingReady':![],'details':_0x21f99d};else{if(_0x457415[_0x56d6(0x41)](_0x457415[_0x56d6(0x42)],_0x457415['BSkdK']))return console[_0x56d6(0x1e)]('โ\x20YouTube\x20connection\x20status\x20unclear'),{'isReady':![],'mode':_0x457415[_0x56d6(0x43)],'needsMigration':![],'trainingReady':![],'details':_0x21f99d};else{var _0x3f46f5,_0x4f752f;const _0x55c352=_0x457415[_0x56d6(0x39)](_0x457415[_0x56d6(0x44)](_0x3f46f5=_0x46bbf8[_0x56d6(0x12)],null)||_0x457415['KqeGF'](_0x3f46f5,void 0x0)?void 0x0:_0x3f46f5[_0x56d6(0x14)],!![])||_0x457415[_0x56d6(0x45)](_0x457415[_0x56d6(0x3c)](_0x4f752f=_0x25d2c7[_0x56d6(0x17)],null)||_0x457415[_0x56d6(0x39)](_0x4f752f,void 0x0)?void 0x0:_0x4f752f[_0x56d6(0x18)],!![])||_0x457415['EOjiQ'](_0x4c2516[_0x56d6(0x14)],!![]),_0x10448a=_0x457415['KqeGF'](_0x1aa2b4[_0x56d6(0x12)][_0x56d6(0x46)],!![]),_0x499f0c=_0x3142ce[_0x56d6(0x12)][_0x56d6(0x1d)]===!![],_0x193dcc=_0x457415['EUBco'](_0x4b3e65[_0x56d6(0x12)][_0x56d6(0x1c)],!![]);_0x30c692[_0x56d6(0x1e)](_0x56d6(0x47),{'username':_0x563eca,'hasAccessToken':_0x10448a,'hasRefreshToken':_0x499f0c,'needsReconnection':_0x193dcc,'isTemporaryMode':_0x55c352,'connectedAt':_0x59a849['validation'][_0x56d6(0x48)]});if(_0x55c352)return _0x309f3c[_0x56d6(0x1e)](_0x457415[_0x56d6(0x49)]),![];else return _0x457415[_0x56d6(0x4a)](_0x10448a,!_0x499f0c)&&_0x193dcc?(_0x205d9c[_0x56d6(0x1e)](_0x457415[_0x56d6(0x4b)]),!![]):(_0x59fdd4[_0x56d6(0x1e)](_0x457415[_0x56d6(0x4c)]),![]);}}}}}return console[_0x56d6(0x1e)](_0x457415['MpIoZ']),{'isReady':![],'mode':_0x457415['HTqRg'],'needsMigration':![],'trainingReady':![],'details':_0x21f99d};}catch(_0x2d8269){return console['error'](_0x457415['gmnFC'],_0x2d8269),{'isReady':![],'mode':_0x457415[_0x56d6(0x43)],'needsMigration':![],'trainingReady':![],'details':{'error':_0x2d8269 instanceof Error?_0x2d8269[_0x56d6(0x19)]:_0x457415[_0x56d6(0x4d)](String,_0x2d8269)}};}};function _0x56d6(_0x1bcffb,_0x56d6a4){_0x1bcffb=_0x1bcffb-0x0;const _0x43fb64=_0x1bcf();let _0x3059b5=_0x43fb64[_0x1bcffb];return _0x3059b5;}const showYouTubeMigrationPrompt=async()=>{const _0x3fbe79={'BQXpI':'YouTube\x20Connection\x20Upgrade','nagKk':_0x56d6(0x4e),'HcIeh':'Skip\x20for\x20Now','aTHBH':_0x56d6(0x4f)};return new Promise(_0x25703c=>{Alert[_0x56d6(0x50)](_0x3fbe79[_0x56d6(0x51)],_0x3fbe79[_0x56d6(0x52)],[{'text':_0x3fbe79[_0x56d6(0x53)],'style':'cancel','onPress':()=>_0x25703c(![])},{'text':'Upgrade\x20Now','style':_0x3fbe79[_0x56d6(0x54)],'onPress':()=>_0x25703c(!![])}]);});},forceYouTubeReconnection=async _0x15662d=>{const _0x1460a4={'ofOZw':_0x56d6(0x55),'fZWCx':_0x56d6(0x4e),'TFLas':_0x56d6(0x56),'kYnSK':_0x56d6(0x4f),'hAFrj':'โ ๏ธ\x20YouTube\x20connected\x20but\x20needs\x20migration','wUFxp':_0x56d6(0x40),'ZyNAD':_0x56d6(0x57),'CxDzk':function(_0x4d33ea,_0x221cf5){return _0x4d33ea!==_0x221cf5;},'dPtrW':_0x56d6(0x58),'zVCpD':_0x56d6(0x59),'TXIRZ':function(_0x4036ce){return _0x4036ce();},'LNHKA':_0x56d6(0x5a),'AKIuD':function(_0x516c8a,_0x2a24c2){return _0x516c8a===_0x2a24c2;},'wpMcF':'Tskjs','mgKOR':'dDzfI','MjMsX':_0x56d6(0x5b),'hMZda':_0x56d6(0x5c),'hDKRV':_0x56d6(0x5d),'nZOQf':_0x56d6(0x5e),'VaKoY':_0x56d6(0x5f),'rFPqe':_0x56d6(0x60),'FkuDR':function(_0x1e7f8c,_0x449e29){return _0x1e7f8c!==_0x449e29;},'GgFVc':_0x56d6(0x61),'adMWJ':_0x56d6(0x62),'kOEtf':_0x56d6(0x63),'Lsrjn':_0x56d6(0x64),'aRczL':_0x56d6(0x65),'puXBF':_0x56d6(0x66),'RsGhK':_0x56d6(0x67),'zHkmV':_0x56d6(0x68),'hrjej':function(_0x1737ff,_0x2922c2){return _0x1737ff+_0x2922c2;},'kbQUI':_0x56d6(0x69),'TLxbs':_0x56d6(0x6a),'SgcSD':_0x56d6(0x6b),'IiUSs':'โ ๏ธ\x20No\x20authentication\x20token\x20found\x20for\x20YouTube\x20migration','GdJBN':_0x56d6(0x6c),'fVHuJ':function(_0x6ce7ba,_0x5ee8a5){return _0x6ce7ba===_0x5ee8a5;},'nWUbn':function(_0x3a287c,_0x12055a){return _0x3a287c===_0x12055a;},'kSrCW':_0x56d6(0x6d),'WHhkM':function(_0x5c5c60,_0x49f64a){return _0x5c5c60===_0x49f64a;},'EejMi':_0x56d6(0x6e),'WEcLE':'your-api-key','yGTRa':_0x56d6(0x6f),'mZyUj':function(_0x328632,_0x256063,_0x496d03){return _0x328632(_0x256063,_0x496d03);},'HhOTg':_0x56d6(0x70),'sFbzx':function(_0x49c0ca,_0x4e1b87,_0x157086,_0xe58bd9){return _0x49c0ca(_0x4e1b87,_0x157086,_0xe58bd9);},'amqeP':function(_0x29cd83,_0x272342,_0x3dac52,_0x1a63a){return _0x29cd83(_0x272342,_0x3dac52,_0x1a63a);},'FjPma':function(_0x468e32,_0x20e057){return _0x468e32 instanceof _0x20e057;},'MDgBT':_0x56d6(0x71)};try{if(_0x1460a4['CxDzk'](_0x1460a4[_0x56d6(0x72)],_0x1460a4[_0x56d6(0x72)]))_0x164c14[_0x56d6(0x27)](_0x56d6(0x73),_0x347460);else{var _0x432832,_0x1e4321,_0x52c159,_0x39912e;console[_0x56d6(0x1e)](_0x1460a4[_0x56d6(0x74)],_0x15662d),_0x1460a4[_0x56d6(0x75)](configureGoogleSignInForRefreshTokens),await GoogleSignin[_0x56d6(0x76)](),console['log'](_0x1460a4[_0x56d6(0x77)]);try{if(_0x1460a4['AKIuD'](_0x1460a4[_0x56d6(0x78)],_0x1460a4[_0x56d6(0x79)]))return new _0x28a019(_0x36a282=>{Alert[_0x56d6(0x50)](_0x1460a4[_0x56d6(0x7a)],_0x1460a4[_0x56d6(0x7b)],[{'text':_0x56d6(0x7c),'style':'cancel','onPress':()=>_0x36a282(![])},{'text':_0x1460a4[_0x56d6(0x7d)],'style':_0x1460a4[_0x56d6(0x7e)],'onPress':()=>_0x36a282(!![])}]);});else{const _0x5d47fb=await GoogleSignin[_0x56d6(0x7f)]();if(_0x5d47fb[_0x56d6(0x80)]){if(_0x1460a4[_0x56d6(0x81)]==='CxgKJ')return _0x10aae9['log'](_0x1460a4[_0x56d6(0x82)]),{'isReady':![],'mode':_0x1460a4[_0x56d6(0x83)],'needsMigration':!![],'trainingReady':![],'details':_0x4f7943};else await GoogleSignin[_0x56d6(0x84)](_0x5d47fb[_0x56d6(0x80)]),console[_0x56d6(0x1e)](_0x56d6(0x85));}}}catch(_0xd04abf){console[_0x56d6(0x1e)](_0x1460a4['hMZda']);}await GoogleSignin[_0x56d6(0x86)](),console[_0x56d6(0x1e)](_0x1460a4[_0x56d6(0x87)]);const _0x1c5fe2=await GoogleSignin[_0x56d6(0x88)](),_0x598d5b=await GoogleSignin[_0x56d6(0x7f)](),_0x122c72=await GoogleSignin[_0x56d6(0x89)]();let _0x614bbe=null,_0x34eac7=_0x56d6(0x8a);if(_0x1c5fe2['serverAuthCode'])_0x614bbe=_0x1c5fe2[_0x56d6(0x8b)],_0x34eac7=_0x1460a4[_0x56d6(0x8c)];else{if(_0x122c72!==null&&_0x122c72!==void 0x0&&_0x122c72['serverAuthCode']){if(_0x1460a4[_0x56d6(0x8d)](_0x1460a4[_0x56d6(0x8e)],'KKDuJ'))_0x614bbe=_0x122c72[_0x56d6(0x8b)],_0x34eac7=_0x56d6(0x8f);else return _0x30471f[_0x56d6(0x27)](_0x1460a4[_0x56d6(0x90)],_0x48bcb2),![];}}console[_0x56d6(0x1e)](_0x1460a4[_0x56d6(0x91)],{'hasAccessToken':!!_0x598d5b['accessToken'],'hasIdToken':!!_0x598d5b[_0x56d6(0x92)],'hasServerAuthCode':!!_0x1c5fe2['serverAuthCode'],'hasCurrentUserAuthCode':!!(_0x1460a4[_0x56d6(0x93)](_0x122c72,null)&&_0x1460a4['FkuDR'](_0x122c72,void 0x0)&&_0x122c72[_0x56d6(0x8b)]),'refreshTokenSource':_0x34eac7,'finalRefreshToken':_0x614bbe?_0x1460a4['GgFVc']:_0x1460a4[_0x56d6(0x94)],'userEmail':(_0x432832=_0x1c5fe2[_0x56d6(0x95)])===null||_0x432832===void 0x0?void 0x0:_0x432832[_0x56d6(0x4)]});if(!_0x614bbe){const _0x26a274=_0x1460a4[_0x56d6(0x96)][_0x56d6(0x97)]('|');let _0x1b4d3d=0x0;while(!![]){switch(_0x26a274[_0x1b4d3d++]){case'0':console['error'](_0x1460a4['Lsrjn']);continue;case'1':console[_0x56d6(0x27)](_0x1460a4['aRczL']);continue;case'2':console[_0x56d6(0x27)](_0x1460a4[_0x56d6(0x98)]);continue;case'3':console[_0x56d6(0x27)](_0x1460a4[_0x56d6(0x99)]);continue;case'4':console['error'](_0x56d6(0x9a));continue;case'5':return![];}break;}}console[_0x56d6(0x1e)](_0x1460a4['zHkmV'],_0x1460a4[_0x56d6(0x9b)](_0x614bbe[_0x56d6(0x9c)](0x0,0x14),_0x56d6(0x9d))),console[_0x56d6(0x1e)](_0x1460a4['kbQUI'],_0x34eac7);let _0x2b6555=await AsyncStorage[_0x56d6(0x9e)](_0x1460a4[_0x56d6(0x9f)])||await AsyncStorage[_0x56d6(0x9e)](_0x1460a4[_0x56d6(0xa0)])||await AsyncStorage[_0x56d6(0x9e)](_0x56d6(0xa1));!_0x2b6555&&(console[_0x56d6(0xa2)](_0x1460a4['IiUSs']),_0x2b6555=_0x1460a4['GdJBN']);const _0x2620e9={'session':{'username':_0x15662d,'platform':_0x56d6(0xa3),'channelName':(_0x1460a4[_0x56d6(0xa4)](_0x1e4321=_0x1c5fe2[_0x56d6(0x95)],null)||_0x1460a4[_0x56d6(0xa5)](_0x1e4321,void 0x0)?void 0x0:_0x1e4321['name'])||_0x1460a4['kSrCW'],'channelId':null},'googleUser':_0x1c5fe2['user'],'accessToken':_0x598d5b[_0x56d6(0x80)],'idToken':_0x598d5b[_0x56d6(0x92)],'refreshToken':_0x614bbe,'serverAuthCode':_0x1c5fe2['serverAuthCode'],'userAccountInfo':{'username':_0x15662d,'email':_0x1460a4['nWUbn'](_0x52c159=_0x1c5fe2[_0x56d6(0x95)],null)||_0x1460a4[_0x56d6(0xa4)](_0x52c159,void 0x0)?void 0x0:_0x52c159['email'],'authToken':_0x2b6555,'channelName':(_0x1460a4['AKIuD'](_0x39912e=_0x1c5fe2[_0x56d6(0x95)],null)||_0x1460a4[_0x56d6(0xa6)](_0x39912e,void 0x0)?void 0x0:_0x39912e[_0x56d6(0xa7)])||_0x1460a4[_0x56d6(0xa8)],'channelId':null}};console[_0x56d6(0x1e)](_0x1460a4[_0x56d6(0xa9)]);const _0x5c9d81=await fetch(API_CONFIG[_0x56d6(0x10)]+'/youtube/native-auth',{'method':'POST','headers':{'Content-Type':'application/json','x-api-key':_0x1460a4[_0x56d6(0xaa)],..._0x1460a4['CxDzk'](_0x2b6555,_0x1460a4['GdJBN'])&&{'Authorization':_0x56d6(0xab)+_0x2b6555}},'body':JSON['stringify'](_0x2620e9)}),_0x1fc5be=await _0x5c9d81[_0x56d6(0x11)]();return _0x1fc5be[_0x56d6(0x36)]?(console[_0x56d6(0x1e)](_0x1460a4[_0x56d6(0xac)]),await _0x1460a4[_0x56d6(0xad)](trackMigrationAttempt,_0x15662d,!![]),!![]):(console[_0x56d6(0x27)](_0x1460a4[_0x56d6(0xae)],_0x1fc5be['error']),await _0x1460a4['sFbzx'](trackMigrationAttempt,_0x15662d,![],_0x1fc5be[_0x56d6(0x27)]),![]);}}catch(_0xaf7f49){return console[_0x56d6(0x27)]('โ\x20YouTube\x20migration\x20failed:',_0xaf7f49),await _0x1460a4['amqeP'](trackMigrationAttempt,_0x15662d,![],_0x1460a4[_0x56d6(0xaf)](_0xaf7f49,Error)?_0xaf7f49[_0x56d6(0x19)]:_0x1460a4[_0x56d6(0xb0)]),![];}},trackMigrationAttempt=async(_0xbce321,_0x1a2a89,_0xac5fae)=>{const _0x537794={'YneSe':function(_0x4185a6,_0x3494b9,_0x394577){return _0x4185a6(_0x3494b9,_0x394577);},'ZCmcQ':function(_0x17531d,_0x25b3f0){return _0x17531d!==_0x25b3f0;},'iLRCC':'iMgJZ','boCgn':_0x56d6(0x73)};try{await _0x537794[_0x56d6(0xb1)](fetch,API_CONFIG[_0x56d6(0x10)]+_0x56d6(0xb2),{'method':'POST','headers':{'Content-Type':'application/json'},'body':JSON[_0x56d6(0xb3)]({'username':_0xbce321,'success':_0x1a2a89,'error':_0xac5fae||null,'timestamp':new Date()['toISOString']()})});}catch(_0x5b42af){if(_0x537794[_0x56d6(0xb4)](_0x537794[_0x56d6(0xb5)],_0x537794[_0x56d6(0xb5)]))return _0x580a52[_0x56d6(0x27)](_0x56d6(0xb6),_0x4164bc),![];else console[_0x56d6(0x27)](_0x537794[_0x56d6(0xb7)],_0x5b42af);}};export const shouldShowYouTubeMigrationWarning=async _0x4840bf=>{const _0x215cc5={'HZEhf':function(_0x6eb1b0,_0x186351){return _0x6eb1b0===_0x186351;},'tvjQa':function(_0x1bdf3a,_0x5a73bd){return _0x1bdf3a===_0x5a73bd;},'EFXDD':function(_0x575fe4,_0x8fa684){return _0x575fe4===_0x8fa684;},'Xyjao':_0x56d6(0xa),'QzQBq':function(_0x418a40,_0x9fc0c8){return _0x418a40===_0x9fc0c8;},'YtOWZ':function(_0x58c7b5,_0x2b5cca){return _0x58c7b5===_0x2b5cca;},'ojSjM':'๐\x20User\x20using\x20temporary\x20mode\x20-\x20connection\x20working\x20correctly','rTSne':_0x56d6(0xb8),'uYXly':'๐ง\x20User\x20needs\x20YouTube\x20migration\x20for\x20refresh\x20token','kDKCM':_0x56d6(0xb9),'BIYKy':_0x56d6(0x2a),'uEIsL':_0x56d6(0xba),'nmvjZ':function(_0x4e959a,_0x569764){return _0x4e959a===_0x569764;},'LMYUb':_0x56d6(0xbb),'OXgfS':_0x56d6(0xbc),'HvKtC':function(_0x475db2,_0x5eb2c1){return _0x475db2===_0x5eb2c1;},'LcJLb':function(_0x3740e4,_0xa6bf79){return _0x3740e4===_0xa6bf79;},'rbBiF':function(_0x1625ef,_0x367dca){return _0x1625ef===_0x367dca;},'cbzOT':function(_0x11359a,_0x1b4ae8){return _0x11359a===_0x1b4ae8;},'hFNJL':_0x56d6(0x29),'BQHPO':function(_0x379960,_0x1771a0){return _0x379960&&_0x1771a0;},'PcXFK':_0x56d6(0xbd),'rRhxh':_0x56d6(0xbe),'iLywi':'EebaW','tFlKv':_0x56d6(0xbf),'nXRTA':_0x56d6(0xc0)};try{console['log'](_0x215cc5[_0x56d6(0xc1)],_0x4840bf);const _0x5c2642=await fetch(API_CONFIG[_0x56d6(0x10)]+'/youtube/validate-connection/'+_0x4840bf),_0x4b7258=await _0x5c2642[_0x56d6(0x11)]();if(_0x4b7258[_0x56d6(0x36)]&&_0x4b7258['validation']){if(_0x215cc5[_0x56d6(0xc2)](_0x215cc5[_0x56d6(0xc3)],_0x215cc5[_0x56d6(0xc4)])){var _0x25a0d0,_0xa18307,_0x2fd553;const _0x2d8182=_0x215cc5['HZEhf']((_0x25a0d0=_0x11a58e['validation'])===null||_0x215cc5[_0x56d6(0xc5)](_0x25a0d0,void 0x0)?void 0x0:_0x25a0d0['isTemporaryMode'],!![])||_0x215cc5[_0x56d6(0xc5)]((_0xa18307=_0xc97cb3[_0x56d6(0x17)])===null||_0x215cc5[_0x56d6(0xc6)](_0xa18307,void 0x0)?void 0x0:_0xa18307[_0x56d6(0x18)],!![])||_0x215cc5['EFXDD'](_0x4a5d8d[_0x56d6(0x14)],!![])||_0x263a1d[_0x56d6(0x19)]&&_0xa0a22e[_0x56d6(0x19)][_0x56d6(0x1a)](_0x56d6(0x2c)),_0x342ff4=_0x365384[_0x56d6(0x12)][_0x56d6(0x1c)],_0x53bfd7=_0x44a08e[_0x56d6(0x12)][_0x56d6(0x1d)];_0xd3e5cb[_0x56d6(0x1e)](_0x215cc5['Xyjao'],{'username':_0x5bef84,'needsReconnection':_0x342ff4,'hasRefreshToken':_0x53bfd7,'isTemporaryMode':_0x2d8182,'temporaryModeEnabled':_0x215cc5['QzQBq'](_0x2fd553=_0x1f6443[_0x56d6(0x17)],null)||_0x215cc5[_0x56d6(0xc7)](_0x2fd553,void 0x0)?void 0x0:_0x2fd553['enabled'],'message':_0x3771af['message']});if(_0x2d8182)return _0x3169d9[_0x56d6(0x1e)](_0x215cc5[_0x56d6(0xc8)]),_0x294f40[_0x56d6(0x1e)](_0x215cc5['rTSne']),![];else return _0x342ff4?(_0x42e269[_0x56d6(0x1e)](_0x215cc5[_0x56d6(0xc9)]),!![]):(_0xe134[_0x56d6(0x1e)]('โ
\x20YouTube\x20connection\x20fully\x20working\x20with\x20refresh\x20tokens'),![]);}else{var _0x36ce6f,_0xbe5d89;const _0x487e01=_0x215cc5[_0x56d6(0xca)](_0x215cc5[_0x56d6(0xcb)](_0x36ce6f=_0x4b7258[_0x56d6(0x12)],null)||_0x215cc5[_0x56d6(0xc7)](_0x36ce6f,void 0x0)?void 0x0:_0x36ce6f[_0x56d6(0x14)],!![])||((_0xbe5d89=_0x4b7258[_0x56d6(0x17)])===null||_0x215cc5['rbBiF'](_0xbe5d89,void 0x0)?void 0x0:_0xbe5d89[_0x56d6(0x18)])===!![]||_0x4b7258[_0x56d6(0x14)]===!![],_0x1597ca=_0x215cc5[_0x56d6(0xcc)](_0x4b7258[_0x56d6(0x12)][_0x56d6(0x46)],!![]),_0x47898d=_0x4b7258[_0x56d6(0x12)][_0x56d6(0x1d)]===!![],_0x4ce57c=_0x4b7258[_0x56d6(0x12)][_0x56d6(0x1c)]===!![];console['log'](_0x56d6(0x47),{'username':_0x4840bf,'hasAccessToken':_0x1597ca,'hasRefreshToken':_0x47898d,'needsReconnection':_0x4ce57c,'isTemporaryMode':_0x487e01,'connectedAt':_0x4b7258[_0x56d6(0x12)][_0x56d6(0x48)]});if(_0x487e01)return console['log'](_0x215cc5[_0x56d6(0xcd)]),![];else return _0x215cc5[_0x56d6(0xce)](_0x1597ca,!_0x47898d)&&_0x4ce57c?(console[_0x56d6(0x1e)](_0x215cc5['BIYKy']),!![]):_0x215cc5[_0x56d6(0xcc)](_0x56d6(0xcf),_0x215cc5[_0x56d6(0xd0)])?(_0x20e5d3[_0x56d6(0x1e)](_0x215cc5[_0x56d6(0xd1)]),{'isReady':![],'mode':_0x56d6(0x33),'needsMigration':![],'trainingReady':![],'details':_0x5bf3d0}):(console[_0x56d6(0x1e)](_0x215cc5[_0x56d6(0xd2)]),![]);}}return console[_0x56d6(0x1e)](_0x56d6(0xd3)),![];}catch(_0x4963be){return _0x215cc5[_0x56d6(0xd4)]===_0x215cc5[_0x56d6(0xd5)]?(_0x205c9b[_0x56d6(0x1e)](_0x215cc5['BIYKy']),!![]):(console[_0x56d6(0x27)](_0x215cc5[_0x56d6(0xd6)],_0x4963be),![]);}};export const checkAndFixYouTubeConnection=async _0x46e941=>{const _0x18206f={'wYsYZ':_0x56d6(0xc0),'HhNBv':_0x56d6(0x29),'EXZYf':_0x56d6(0xbe),'EQPyX':_0x56d6(0xd7),'jOeDG':function(_0x139d6c,_0x303559){return _0x139d6c(_0x303559);},'fEUJI':function(_0xd807be,_0x138a7f){return _0xd807be!==_0x138a7f;},'NevlW':_0x56d6(0xd8),'FeaGl':'zymjS','BHcGq':_0x56d6(0xd9),'OXiWQ':_0x56d6(0xda),'JzfrP':'๐ง\x20[MIGRATION]\x20User\x20needs\x20YouTube\x20migration\x20for\x20refresh\x20token\x20(genuinely\x20old\x20connection)','iPPbM':function(_0x3d0b67){return _0x3d0b67();},'APXKN':function(_0x36211a,_0x5850a8){return _0x36211a===_0x5850a8;},'Fgljy':'hFsxE','OOiUj':_0x56d6(0xdb),'fDYer':_0x56d6(0xdc),'bYiot':'DlTFw','ZPuGE':_0x56d6(0xdd),'osDVA':_0x56d6(0x4f),'UVdBY':_0x56d6(0xde),'nBZRV':_0x56d6(0xdf),'pRGPL':_0x56d6(0xb6)};try{console[_0x56d6(0x1e)](_0x18206f[_0x56d6(0xe0)],_0x46e941);const _0x21b046=await _0x18206f[_0x56d6(0xe1)](shouldShowYouTubeMigrationWarning,_0x46e941);if(!_0x21b046)return _0x18206f[_0x56d6(0xe2)](_0x18206f[_0x56d6(0xe3)],_0x18206f[_0x56d6(0xe4)])?(console[_0x56d6(0x1e)](_0x18206f['BHcGq']),console[_0x56d6(0x1e)](_0x18206f[_0x56d6(0xe5)]),!![]):(_0x36a431[_0x56d6(0x27)](_0x18206f[_0x56d6(0xe6)],_0x585201),![]);const _0x3e950c=await _0x18206f[_0x56d6(0xe1)](checkYouTubeMigrationNeeded,_0x46e941);if(!_0x3e950c)return console[_0x56d6(0x1e)](_0x56d6(0x9)),!![];console[_0x56d6(0x1e)](_0x18206f[_0x56d6(0xe7)]);const _0x521c1f=await _0x18206f['iPPbM'](showYouTubeMigrationPrompt);if(!_0x521c1f)return _0x18206f[_0x56d6(0xe8)](_0x18206f[_0x56d6(0xe9)],_0x18206f['OOiUj'])?(_0x1731da[_0x56d6(0x1e)](_0x18206f['HhNBv']),![]):(console['log'](_0x18206f[_0x56d6(0xea)]),![]);const _0x4a1538=await forceYouTubeReconnection(_0x46e941);return _0x4a1538?_0x56d6(0xeb)!==_0x18206f[_0x56d6(0xec)]?(Alert[_0x56d6(0x50)](_0x18206f['ZPuGE'],_0x56d6(0xed),[{'text':_0x56d6(0xee),'style':_0x18206f[_0x56d6(0xef)]}]),!![]):(_0x4618a8[_0x56d6(0x1e)](_0x18206f[_0x56d6(0xf0)]),![]):(Alert[_0x56d6(0x50)](_0x18206f['UVdBY'],_0x18206f[_0x56d6(0xf1)],[{'text':'OK','style':_0x18206f['osDVA']}]),![]);}catch(_0x27b485){return console[_0x56d6(0x27)](_0x18206f['pRGPL'],_0x27b485),![];}};export const reconnectYouTube=async _0x1a4090=>{return console[_0x56d6(0x1e)](_0x56d6(0xf2),_0x1a4090),await forceYouTubeReconnection(_0x1a4090);};
|
|
1
|
+
function _0x35cc(){const _0x842774=['openid','profile','email','configure','OSmRL','YxnIV','tVQcM','temporary\x20access\x20token\x20mode','๐\x20User\x20using\x20temporary\x20mode\x20-\x20connection\x20working\x20correctly','๐ง\x20User\x20needs\x20YouTube\x20migration\x20for\x20refresh\x20token','โ
\x20YouTube\x20connection\x20fully\x20working\x20with\x20refresh\x20tokens','uOFvF','PVxVO','๐\x20YouTube\x20migration\x20check:','YThyk','/youtube/validate-connection/','json','success','validation','kAkOI','GnjiT','RzQWF','isTemporaryMode','yMeDr','temporaryMode','enabled','message','RySrz','needsReconnection','hasRefreshToken','log','OQrbI','rkhka','RmiVg','MuDXu','TMApy','dzONY','gIiFp','cCNCe','includes','GNMWG','error','โ\x20YouTube\x20connection\x20status\x20unclear','Server\x20auth\x20code\x20from\x20sign-in','โ\x20Error\x20checking\x20YouTube\x20migration\x20status:','rkjeO','๐\x20YouTube\x20connected\x20in\x20temporary\x20mode','โ
\x20Training\x20will\x20work,\x20but\x20connection\x20expires\x20in\x20~1\x20hour','temporary','vqggj','TgEDy','TBILJ','limited','none','โ\x20Error\x20getting\x20YouTube\x20connection\x20status:','DftVL','MhIsB','โน๏ธ\x20User\x20declined\x20YouTube\x20migration','OKHMN','PcuNX','giptE','ZsXTw','AUSco','Qxjqq','rzoLO','pEJUr','yukoI','ufAcY','CifkN','โ
\x20YouTube\x20connected\x20with\x20refresh\x20tokens','full','ISFma','mwDPl','cZsyV','serverAuthCode','dKiyI','โ ๏ธ\x20YouTube\x20connected\x20but\x20needs\x20migration','SrEUX','nUArM','LdJss','โ\x20No\x20YouTube\x20connection\x20found','rMhjl','wNyNv','MctiU','GTnOT','YouTube\x20Connection\x20Upgrade','To\x20improve\x20your\x20training\x20experience,\x20we\x20need\x20to\x20upgrade\x20your\x20YouTube\x20connection.\x20This\x20prevents\x20interruptions\x20during\x20data\x20collection.\x0a\x0aโ
\x20One-time\x20upgrade\x0aโ
\x20Takes\x2030\x20seconds\x0aโ
\x20No\x20data\x20loss\x0a\x0aUpgrade\x20now?','cancel','Upgrade\x20Now','alert','ZrWrQ','Skip\x20for\x20Now','dbGgU','uekUi','default','Current\x20user\x20server\x20auth\x20code','โ ๏ธ\x20No\x20authentication\x20token\x20found\x20for\x20YouTube\x20migration','migration_token_placeholder','โ ๏ธ\x20[MIGRATION\x20WARNING]\x20SHOW\x20WARNING\x20-\x20genuinely\x20old\x20connection\x20needs\x20update','rUdsF','๐\x20Starting\x20YouTube\x20migration\x20for\x20user:','โ
\x20Signed\x20out\x20-\x20consent\x20cache\x20cleared','LuhWv','LkVHb','โน๏ธ\x20No\x20token\x20cache\x20to\x20clear','None','๐ก\x20This\x20usually\x20means:','โ\x20No\x20refresh\x20token\x20received\x20-\x20Google\x20Console\x20configuration\x20may\x20be\x20incorrect','\x20\x20\x201.\x20offlineAccess:\x20true\x20is\x20missing\x20from\x20configuration','โ
\x20Got\x20refresh\x20token\x20after\x20consent:','...','enoch_token','auth_token','RYKyQ','YouTube\x20Channel','your-api-key','โ
\x20YouTube\x20migration\x20successful','โ\x20Backend\x20rejected\x20YouTube\x20migration:','sECnS','โ\x20YouTube\x20migration\x20failed:','Unknown\x20error','TeDfg','savpp','OycFs','GWNPy','bVCZT','mlPfQ','wKrGT','accessToken','ebQHC','ARdvL','clearCachedAccessToken','vaDcQ','vKZnF','atxiy','tLGHl','hasPlayServices','๐\x20Initiating\x20sign-in\x20-\x20consent\x20screen\x20should\x20appear...','getTokens','xDIqX','jlzlx','PLOIH','MJqIu','jjJza','iDpKk','bwMVE','oEXjq','gesgy','DAyeY','idToken','SEVGl','Available','MISSING!','eqfvH','4|2|5|3|1|0','split','\x20\x20\x203.\x20User\x20did\x20not\x20grant\x20offline\x20access\x20permission','aLtSh','\x20\x20\x202.\x20forceCodeForRefreshToken:\x20true\x20is\x20missing','kYFnl','Pnahq','YIqnk','substring','AIyFL','tgALx','getItem','IAbqc','mKELq','uwUHm','UThhZ','warn','FYCZL','nkvGX','XlaeE','name','jcaJq','erJIY','lggQR','BASE_URL','/youtube/native-auth','pZUie','oVzno','Bearer\x20','stringify','bVFfR','XePGi','pUvRB','NEMeZ','JaVpG','NFyVo','bJEzl','EssQf','Upgrade\x20Failed\x20โ','YouTube\x20connection\x20upgrade\x20failed.\x20Please\x20try\x20again\x20later\x20or\x20contact\x20support\x20if\x20the\x20problem\x20persists.','bBUuh','WWvyZ','pLXwe','DJnOa','WJSwY','/youtube/migration-status','sYylH','toISOString','gutUQ','๐\x20[MIGRATION\x20WARNING]\x20Status\x20check:','PivZX','TciQc','KmBEP','โ
\x20[MIGRATION\x20WARNING]\x20NO\x20WARNING\x20-\x20connection\x20is\x20working\x20properly','โน๏ธ\x20[MIGRATION\x20WARNING]\x20NO\x20WARNING\x20-\x20no\x20YouTube\x20connection\x20found','ExpqY','eAPnz','DOBjP','xmrAu','zwujJ','vShAe','xrMNG','aAZDQ','CkYgS','Upiyc','๐ซ\x20[MIGRATION\x20WARNING]\x20NO\x20WARNING\x20-\x20user\x20is\x20in\x20temporary\x20mode\x20(working\x20correctly)','JkNxH','yIvAy','AqOpr','โ\x20[MIGRATION\x20WARNING]\x20Error\x20checking\x20migration\x20warning\x20status:','jkqma','SXJqb','YHJIX','uEQWe','โ ๏ธ\x20No\x20refresh\x20capability\x20but\x20training\x20can\x20proceed','JVdUf','๐ซ\x20[MIGRATION]\x20NO\x20MIGRATION\x20NEEDED\x20-\x20user\x20connection\x20is\x20working\x20correctly','โ
\x20[MIGRATION]\x20User\x20can\x20proceed\x20with\x20training\x20normally','โ
\x20[MIGRATION]\x20YouTube\x20connection\x20working\x20properly\x20-\x20no\x20migration\x20needed','๐ง\x20[MIGRATION]\x20User\x20needs\x20YouTube\x20migration\x20for\x20refresh\x20token\x20(genuinely\x20old\x20connection)','kEufs','YouTube\x20Upgraded!\x20โ
','Great!','โ\x20Error\x20in\x20YouTube\x20connection\x20check:','ulMss','aFokE','pCVkH','cQDVb','QaTAT','NDBfM','aKRyX','fYOWD','lRhnY','hCRkL','2|4|0|3|5|1','SxFDH','NNhmT','UgrqH','emhKQ','AOTpt','LnbaJ','nWIkV','OQCYE','JRZPK'];_0x35cc=function(){return _0x842774;};return _0x35cc();}import{GoogleSignin}from'@react-native-google-signin/google-signin';import{Alert}from'react-native';import AsyncStorage from'@react-native-async-storage/async-storage';import{API_CONFIG}from'../config/api';const WEB_CLIENT_ID='1030678346906-lovkuds2ouqmoc8eu5qpo98spa6edv4o.apps.googleusercontent.com',IOS_CLIENT_ID='1030678346906-lovkuds2ouqmoc8eu5qpo98spa6edv4o.apps.googleusercontent.com',configureGoogleSignInForRefreshTokens=()=>{const _0x3c1ca6={'OSmRL':'https://www.googleapis.com/auth/youtube.readonly','Xkkim':_0x1d17(0x0),'YxnIV':_0x1d17(0x1),'tVQcM':_0x1d17(0x2)};GoogleSignin[_0x1d17(0x3)]({'webClientId':WEB_CLIENT_ID,'iosClientId':IOS_CLIENT_ID,'offlineAccess':!![],'forceCodeForRefreshToken':!![],'scopes':[_0x3c1ca6[_0x1d17(0x4)],_0x3c1ca6['Xkkim'],_0x3c1ca6[_0x1d17(0x5)],_0x3c1ca6[_0x1d17(0x6)]],'hostedDomain':'','accountName':''});};export const checkYouTubeMigrationNeeded=async _0x559159=>{const _0x36e229={'gIiFp':function(_0x15ada6,_0x2bc405){return _0x15ada6===_0x2bc405;},'cCNCe':function(_0x47dd22,_0x1a09f7){return _0x47dd22===_0x1a09f7;},'RySrz':_0x1d17(0x7),'RmiVg':_0x1d17(0x8),'MuDXu':'โ ๏ธ\x20No\x20refresh\x20capability\x20but\x20training\x20can\x20proceed','TMApy':_0x1d17(0x9),'GNMWG':_0x1d17(0xa),'YThyk':function(_0x8b2ad9,_0x532c1e){return _0x8b2ad9(_0x532c1e);},'kAkOI':_0x1d17(0xb),'GnjiT':_0x1d17(0xc),'RzQWF':function(_0x236aa2,_0x4db29a){return _0x236aa2===_0x4db29a;},'imsPa':function(_0x2cdf64,_0xd6b69d){return _0x2cdf64===_0xd6b69d;},'sSnfR':function(_0x4e680a,_0xf901e7){return _0x4e680a===_0xf901e7;},'yMeDr':function(_0xebbac,_0x396139){return _0xebbac===_0x396139;},'OQrbI':_0x1d17(0xd),'rkhka':function(_0x16f50e,_0x560b6b){return _0x16f50e===_0x560b6b;},'iIVab':function(_0x33d538,_0x4fb7c2){return _0x33d538===_0x4fb7c2;}};try{const _0x26b02d=await _0x36e229[_0x1d17(0xe)](fetch,API_CONFIG['BASE_URL']+_0x1d17(0xf)+_0x559159),_0x5d5956=await _0x26b02d[_0x1d17(0x10)]();if(_0x5d5956[_0x1d17(0x11)]&&_0x5d5956[_0x1d17(0x12)]){if(_0x36e229[_0x1d17(0x13)]!==_0x36e229[_0x1d17(0x14)]){var _0x3efab6,_0x5d105c,_0x232407;const _0x139bd9=_0x36e229[_0x1d17(0x15)](_0x36e229['imsPa'](_0x3efab6=_0x5d5956[_0x1d17(0x12)],null)||_0x3efab6===void 0x0?void 0x0:_0x3efab6[_0x1d17(0x16)],!![])||_0x36e229['sSnfR'](_0x36e229[_0x1d17(0x17)](_0x5d105c=_0x5d5956[_0x1d17(0x18)],null)||_0x5d105c===void 0x0?void 0x0:_0x5d105c[_0x1d17(0x19)],!![])||_0x5d5956[_0x1d17(0x16)]===!![]||_0x5d5956[_0x1d17(0x1a)]&&_0x5d5956[_0x1d17(0x1a)]['includes'](_0x36e229[_0x1d17(0x1b)]),_0x4a0bd5=_0x5d5956[_0x1d17(0x12)][_0x1d17(0x1c)],_0xac7f5c=_0x5d5956[_0x1d17(0x12)][_0x1d17(0x1d)];console[_0x1d17(0x1e)](_0x36e229[_0x1d17(0x1f)],{'username':_0x559159,'needsReconnection':_0x4a0bd5,'hasRefreshToken':_0xac7f5c,'isTemporaryMode':_0x139bd9,'temporaryModeEnabled':_0x36e229[_0x1d17(0x20)](_0x232407=_0x5d5956[_0x1d17(0x18)],null)||_0x36e229['iIVab'](_0x232407,void 0x0)?void 0x0:_0x232407[_0x1d17(0x19)],'message':_0x5d5956[_0x1d17(0x1a)]});if(_0x139bd9)return console[_0x1d17(0x1e)](_0x36e229[_0x1d17(0x21)]),console['log'](_0x36e229[_0x1d17(0x22)]),![];else{if(_0x4a0bd5)return console[_0x1d17(0x1e)](_0x36e229[_0x1d17(0x23)]),!![];else{if(_0x36e229[_0x1d17(0x17)]('lYLRC',_0x1d17(0x24)))_0x495df4['log']('โน๏ธ\x20No\x20token\x20cache\x20to\x20clear');else return console['log'](_0x36e229['GNMWG']),![];}}}else{var _0x514311,_0x70af4c,_0x68f62;const _0x28cfc9=((_0x514311=_0x375891[_0x1d17(0x12)])===null||_0x514311===void 0x0?void 0x0:_0x514311[_0x1d17(0x16)])===!![]||_0x36e229[_0x1d17(0x25)]((_0x70af4c=_0x5ef65d[_0x1d17(0x18)])===null||_0x70af4c===void 0x0?void 0x0:_0x70af4c[_0x1d17(0x19)],!![])||_0x36e229[_0x1d17(0x26)](_0x4b7b20[_0x1d17(0x16)],!![])||_0x2a8499[_0x1d17(0x1a)]&&_0x4849ce[_0x1d17(0x1a)][_0x1d17(0x27)](_0x36e229[_0x1d17(0x1b)]),_0x3c2ea5=_0xa6ad0b[_0x1d17(0x12)]['needsReconnection'],_0x589585=_0x21e360[_0x1d17(0x12)][_0x1d17(0x1d)];_0x417c60['log'](_0x1d17(0xd),{'username':_0x33abd3,'needsReconnection':_0x3c2ea5,'hasRefreshToken':_0x589585,'isTemporaryMode':_0x28cfc9,'temporaryModeEnabled':(_0x68f62=_0x5c9ce2[_0x1d17(0x18)])===null||_0x36e229[_0x1d17(0x26)](_0x68f62,void 0x0)?void 0x0:_0x68f62[_0x1d17(0x19)],'message':_0x1f6812[_0x1d17(0x1a)]});if(_0x28cfc9)return _0x5aacbb[_0x1d17(0x1e)](_0x36e229[_0x1d17(0x21)]),_0x30eff8['log'](_0x36e229[_0x1d17(0x22)]),![];else return _0x3c2ea5?(_0x44134a[_0x1d17(0x1e)](_0x36e229['TMApy']),!![]):(_0x318a67[_0x1d17(0x1e)](_0x36e229[_0x1d17(0x28)]),![]);}}return![];}catch(_0x3adadf){return console[_0x1d17(0x29)]('โ\x20Error\x20checking\x20YouTube\x20migration\x20status:',_0x3adadf),![];}};export const getYouTubeConnectionStatus=async _0x2db633=>{const _0x4a9d67={'ISFma':_0x1d17(0x2a),'dKiyI':_0x1d17(0x2b),'LdJss':_0x1d17(0x2c),'fSpez':'โ
\x20[MIGRATION\x20WARNING]\x20NO\x20WARNING\x20-\x20connection\x20is\x20working\x20properly','DftVL':'๐\x20Complete\x20YouTube\x20status\x20response:','KNRuj':function(_0x3160ef,_0x30b593){return _0x3160ef!==_0x30b593;},'OKHMN':function(_0x2c583d,_0x4efbf9){return _0x2c583d===_0x4efbf9;},'PcuNX':function(_0x1f30b5,_0x19a2af){return _0x1f30b5===_0x19a2af;},'giptE':function(_0x228f88,_0x14aa95){return _0x228f88===_0x14aa95;},'HxOsT':function(_0x31f456,_0x3b7cec){return _0x31f456===_0x3b7cec;},'ZsXTw':_0x1d17(0x7),'AUSco':_0x1d17(0x2d),'Qxjqq':'xIRqD','rzoLO':_0x1d17(0x2e),'pEJUr':_0x1d17(0x2f),'yukoI':_0x1d17(0x30),'ufAcY':function(_0x5e5a4c,_0x39092f){return _0x5e5a4c===_0x39092f;},'CifkN':_0x1d17(0x31),'mwDPl':_0x1d17(0x32),'cZsyV':_0x1d17(0x33),'SrEUX':_0x1d17(0x34),'MctiU':_0x1d17(0x35),'wNyNv':_0x1d17(0x36),'dzvTf':function(_0x4247e2,_0x2ff25f){return _0x4247e2 instanceof _0x2ff25f;},'GTnOT':function(_0x59df7e,_0x48a929){return _0x59df7e(_0x48a929);}};try{const _0x4c0c85=await fetch(API_CONFIG['BASE_URL']+_0x1d17(0xf)+_0x2db633),_0x18d60f=await _0x4c0c85[_0x1d17(0x10)]();console[_0x1d17(0x1e)](_0x4a9d67[_0x1d17(0x37)],_0x18d60f);if(_0x18d60f['success']&&_0x18d60f['validation']){if(_0x4a9d67['KNRuj'](_0x1d17(0x38),_0x1d17(0x38)))return _0x1d4dbe[_0x1d17(0x1e)](_0x1d17(0x39)),![];else{var _0x2c908a,_0x4fe8eb;const _0x2b3706=_0x4a9d67['OKHMN'](_0x4a9d67[_0x1d17(0x3a)](_0x2c908a=_0x18d60f[_0x1d17(0x12)],null)||_0x2c908a===void 0x0?void 0x0:_0x2c908a['isTemporaryMode'],!![])||_0x4a9d67[_0x1d17(0x3a)](_0x4a9d67[_0x1d17(0x3b)](_0x4fe8eb=_0x18d60f[_0x1d17(0x18)],null)||_0x4a9d67[_0x1d17(0x3c)](_0x4fe8eb,void 0x0)?void 0x0:_0x4fe8eb[_0x1d17(0x19)],!![])||_0x4a9d67['HxOsT'](_0x18d60f[_0x1d17(0x16)],!![])||_0x18d60f[_0x1d17(0x1a)]&&_0x18d60f[_0x1d17(0x1a)][_0x1d17(0x27)](_0x4a9d67[_0x1d17(0x3d)]),_0xfeee4b=_0x18d60f['validation'][_0x1d17(0x1d)]===!![],_0x5ee244=_0x18d60f['validation']['needsReconnection']===!![];if(_0x2b3706)return _0x4a9d67[_0x1d17(0x3e)]!==_0x4a9d67[_0x1d17(0x3f)]?(console[_0x1d17(0x1e)](_0x4a9d67[_0x1d17(0x40)]),console[_0x1d17(0x1e)](_0x4a9d67[_0x1d17(0x41)]),{'isReady':!![],'mode':_0x4a9d67[_0x1d17(0x42)],'needsMigration':![],'trainingReady':!![],'details':_0x18d60f}):(_0x2b32d9[_0x1d17(0x1e)]('โ
\x20YouTube\x20connection\x20fully\x20working\x20with\x20refresh\x20tokens'),![]);else{if(_0xfeee4b)return _0x4a9d67[_0x1d17(0x43)](_0x4a9d67['CifkN'],_0x4a9d67[_0x1d17(0x44)])?(console['log'](_0x1d17(0x45)),{'isReady':!![],'mode':_0x1d17(0x46),'needsMigration':![],'trainingReady':!![],'details':_0x18d60f}):(_0x2ac780[_0x1d17(0x1e)](_0x4a9d67[_0x1d17(0x47)]),{'isReady':![],'mode':'none','needsMigration':![],'trainingReady':![],'details':_0x4026a2});else{if(_0x5ee244){if(_0x4a9d67[_0x1d17(0x3a)](_0x4a9d67[_0x1d17(0x48)],_0x4a9d67[_0x1d17(0x49)]))_0x3a9784=_0x5a9528[_0x1d17(0x4a)],_0x1f1018=_0x4a9d67[_0x1d17(0x4b)];else return console[_0x1d17(0x1e)](_0x1d17(0x4c)),{'isReady':![],'mode':_0x4a9d67[_0x1d17(0x4d)],'needsMigration':!![],'trainingReady':![],'details':_0x18d60f};}else return _0x1d17(0x4e)!=='nUArM'?(_0x81af0f[_0x1d17(0x29)](_0x4a9d67[_0x1d17(0x4f)],_0x4eb147),![]):(console[_0x1d17(0x1e)](_0x1d17(0x2a)),{'isReady':![],'mode':_0x4a9d67['MctiU'],'needsMigration':![],'trainingReady':![],'details':_0x18d60f});}}}}return console[_0x1d17(0x1e)](_0x1d17(0x50)),{'isReady':![],'mode':_0x4a9d67['MctiU'],'needsMigration':![],'trainingReady':![],'details':_0x18d60f};}catch(_0x1608ac){return _0x4a9d67[_0x1d17(0x3c)](_0x1d17(0x51),_0x1d17(0x51))?(console['error'](_0x4a9d67[_0x1d17(0x52)],_0x1608ac),{'isReady':![],'mode':_0x4a9d67[_0x1d17(0x53)],'needsMigration':![],'trainingReady':![],'details':{'error':_0x4a9d67['dzvTf'](_0x1608ac,Error)?_0x1608ac[_0x1d17(0x1a)]:_0x4a9d67[_0x1d17(0x54)](String,_0x1608ac)}}):(_0x3a1dad['log'](_0x4a9d67['fSpez']),![]);}};const showYouTubeMigrationPrompt=async()=>{const _0x27e2d8={'OVbgW':_0x1d17(0x55),'ZrWrQ':_0x1d17(0x56),'dbGgU':_0x1d17(0x57),'uekUi':_0x1d17(0x58)};return new Promise(_0x4b1160=>{Alert[_0x1d17(0x59)](_0x27e2d8['OVbgW'],_0x27e2d8[_0x1d17(0x5a)],[{'text':_0x1d17(0x5b),'style':_0x27e2d8[_0x1d17(0x5c)],'onPress':()=>_0x4b1160(![])},{'text':_0x27e2d8[_0x1d17(0x5d)],'style':_0x1d17(0x5e),'onPress':()=>_0x4b1160(!![])}]);});},forceYouTubeReconnection=async _0xfaa09b=>{const _0x2bd87b={'OycFs':_0x1d17(0x4c),'GWNPy':_0x1d17(0x34),'pbsVX':_0x1d17(0x9),'atxiy':_0x1d17(0x5f),'MJqIu':_0x1d17(0x55),'jjJza':_0x1d17(0x56),'iDpKk':_0x1d17(0x5b),'bwMVE':_0x1d17(0x57),'oEXjq':_0x1d17(0x58),'gesgy':_0x1d17(0x5e),'FYCZL':_0x1d17(0x60),'nwYev':_0x1d17(0x61),'EssQf':_0x1d17(0x62),'TeDfg':function(_0x307221,_0xb164b6){return _0x307221!==_0xb164b6;},'savpp':_0x1d17(0x63),'bVCZT':_0x1d17(0x64),'mlPfQ':function(_0x3647d4){return _0x3647d4();},'wKrGT':_0x1d17(0x65),'ebQHC':function(_0x20d3ca,_0x2cd2e1){return _0x20d3ca===_0x2cd2e1;},'ARdvL':_0x1d17(0x66),'vaDcQ':'โ
\x20Token\x20cache\x20cleared','vKZnF':_0x1d17(0x67),'tLGHl':_0x1d17(0x68),'xDIqX':_0x1d17(0x69),'DAyeY':'๐\x20Token\x20Analysis:','SEVGl':function(_0x2d5322,_0x15e956){return _0x2d5322!==_0x15e956;},'eqfvH':function(_0x1cb1ef,_0xad05ab){return _0x1cb1ef===_0xad05ab;},'aLtSh':_0x1d17(0x6a),'kYFnl':_0x1d17(0x6b),'Pnahq':_0x1d17(0x6c),'YIqnk':_0x1d17(0x6d),'AIyFL':_0x1d17(0x6e),'tgALx':'๐\x20Refresh\x20token\x20source:','IAbqc':'onairos_jwt_token','mKELq':_0x1d17(0x6f),'uwUHm':_0x1d17(0x70),'UThhZ':_0x1d17(0x71),'nkvGX':'youtube','XlaeE':function(_0x590b1c,_0xe51b7b){return _0x590b1c===_0xe51b7b;},'lggQR':_0x1d17(0x72),'jcaJq':function(_0xf1db29,_0x16068b){return _0xf1db29===_0x16068b;},'erJIY':function(_0x45cb26,_0x1b4d4b){return _0x45cb26===_0x1b4d4b;},'jZFLJ':'๐ค\x20Sending\x20migration\x20payload\x20to\x20backend...','XePGi':function(_0x40fe6a,_0x1719aa,_0x186570){return _0x40fe6a(_0x1719aa,_0x186570);},'pZUie':_0x1d17(0x73),'oVzno':function(_0x1992fa,_0x1ec5f3){return _0x1992fa!==_0x1ec5f3;},'bVFfR':_0x1d17(0x74),'pUvRB':_0x1d17(0x75),'NEMeZ':function(_0x20fb46,_0x591c97,_0x64acac,_0x525400){return _0x20fb46(_0x591c97,_0x64acac,_0x525400);},'JaVpG':_0x1d17(0x76),'VkarD':_0x1d17(0x77),'NFyVo':function(_0x122761,_0x16d108,_0x577de6,_0x29a714){return _0x122761(_0x16d108,_0x577de6,_0x29a714);},'jgUfG':function(_0x26ad20,_0x102fd0){return _0x26ad20 instanceof _0x102fd0;},'bJEzl':_0x1d17(0x78)};try{if(_0x2bd87b[_0x1d17(0x79)](_0x1d17(0x63),_0x2bd87b[_0x1d17(0x7a)]))return _0x1fce28[_0x1d17(0x1e)](_0x2bd87b[_0x1d17(0x7b)]),{'isReady':![],'mode':_0x2bd87b[_0x1d17(0x7c)],'needsMigration':!![],'trainingReady':![],'details':_0xd161e4};else{var _0x5cb49f,_0x5ad5fa,_0x5e872d,_0x42bf0e;console[_0x1d17(0x1e)](_0x2bd87b[_0x1d17(0x7d)],_0xfaa09b),_0x2bd87b[_0x1d17(0x7e)](configureGoogleSignInForRefreshTokens),await GoogleSignin['signOut'](),console[_0x1d17(0x1e)](_0x2bd87b[_0x1d17(0x7f)]);try{const _0x411746=await GoogleSignin['getTokens']();if(_0x411746[_0x1d17(0x80)]){if(_0x2bd87b[_0x1d17(0x81)](_0x1d17(0x66),_0x2bd87b[_0x1d17(0x82)]))await GoogleSignin[_0x1d17(0x83)](_0x411746[_0x1d17(0x80)]),console['log'](_0x2bd87b[_0x1d17(0x84)]);else return _0x29144e[_0x1d17(0x1e)](_0x2bd87b['pbsVX']),!![];}}catch(_0x354d58){_0x2bd87b[_0x1d17(0x79)](_0x2bd87b[_0x1d17(0x85)],_0x2bd87b['vKZnF'])?(_0x4131ee=_0x25b361[_0x1d17(0x4a)],_0x3fabb4=_0x2bd87b[_0x1d17(0x86)]):console[_0x1d17(0x1e)](_0x2bd87b[_0x1d17(0x87)]);}await GoogleSignin[_0x1d17(0x88)](),console['log'](_0x1d17(0x89));const _0x577620=await GoogleSignin['signIn'](),_0x2a1f03=await GoogleSignin[_0x1d17(0x8a)](),_0x567cee=await GoogleSignin['getCurrentUser']();let _0x25aa66=null,_0x215d8b=_0x2bd87b[_0x1d17(0x8b)];if(_0x577620[_0x1d17(0x4a)])_0x25aa66=_0x577620[_0x1d17(0x4a)],_0x215d8b='Server\x20auth\x20code\x20from\x20sign-in';else _0x2bd87b[_0x1d17(0x79)](_0x567cee,null)&&_0x567cee!==void 0x0&&_0x567cee['serverAuthCode']&&(_0x2bd87b[_0x1d17(0x79)](_0x1d17(0x8c),_0x1d17(0x8d))?(_0x25aa66=_0x567cee[_0x1d17(0x4a)],_0x215d8b=_0x2bd87b[_0x1d17(0x86)]):Alert[_0x1d17(0x59)](_0x2bd87b[_0x1d17(0x8e)],_0x2bd87b[_0x1d17(0x8f)],[{'text':_0x2bd87b[_0x1d17(0x90)],'style':_0x2bd87b[_0x1d17(0x91)],'onPress':()=>_0x5675af(![])},{'text':_0x2bd87b[_0x1d17(0x92)],'style':_0x2bd87b[_0x1d17(0x93)],'onPress':()=>_0x1375bc(!![])}]));console[_0x1d17(0x1e)](_0x2bd87b[_0x1d17(0x94)],{'hasAccessToken':!!_0x2a1f03[_0x1d17(0x80)],'hasIdToken':!!_0x2a1f03[_0x1d17(0x95)],'hasServerAuthCode':!!_0x577620[_0x1d17(0x4a)],'hasCurrentUserAuthCode':!!(_0x2bd87b[_0x1d17(0x96)](_0x567cee,null)&&_0x2bd87b[_0x1d17(0x79)](_0x567cee,void 0x0)&&_0x567cee[_0x1d17(0x4a)]),'refreshTokenSource':_0x215d8b,'finalRefreshToken':_0x25aa66?_0x1d17(0x97):_0x1d17(0x98),'userEmail':_0x2bd87b[_0x1d17(0x99)](_0x5cb49f=_0x577620['user'],null)||_0x5cb49f===void 0x0?void 0x0:_0x5cb49f[_0x1d17(0x2)]});if(!_0x25aa66){const _0x4973a2=_0x1d17(0x9a)[_0x1d17(0x9b)]('|');let _0x3d4faa=0x0;while(!![]){switch(_0x4973a2[_0x3d4faa++]){case'0':return![];case'1':console[_0x1d17(0x29)](_0x1d17(0x9c));continue;case'2':console['error'](_0x2bd87b[_0x1d17(0x9d)]);continue;case'3':console['error'](_0x1d17(0x9e));continue;case'4':console[_0x1d17(0x29)](_0x2bd87b[_0x1d17(0x9f)]);continue;case'5':console['error'](_0x2bd87b[_0x1d17(0xa0)]);continue;}break;}}console[_0x1d17(0x1e)](_0x2bd87b[_0x1d17(0xa1)],_0x25aa66[_0x1d17(0xa2)](0x0,0x14)+_0x2bd87b[_0x1d17(0xa3)]),console[_0x1d17(0x1e)](_0x2bd87b[_0x1d17(0xa4)],_0x215d8b);let _0xd6dda0=await AsyncStorage[_0x1d17(0xa5)](_0x2bd87b[_0x1d17(0xa6)])||await AsyncStorage[_0x1d17(0xa5)](_0x2bd87b[_0x1d17(0xa7)])||await AsyncStorage[_0x1d17(0xa5)](_0x2bd87b[_0x1d17(0xa8)]);!_0xd6dda0&&(_0x2bd87b[_0x1d17(0xa9)]===_0x2bd87b['UThhZ']?(console[_0x1d17(0xaa)](_0x2bd87b[_0x1d17(0xab)]),_0xd6dda0=_0x2bd87b['nwYev']):(_0x4ef551[_0x1d17(0xaa)](_0x2bd87b[_0x1d17(0xab)]),_0x44f105=_0x2bd87b['nwYev']));const _0x1ea202={'session':{'username':_0xfaa09b,'platform':_0x2bd87b[_0x1d17(0xac)],'channelName':(_0x2bd87b[_0x1d17(0xad)](_0x5ad5fa=_0x577620['user'],null)||_0x5ad5fa===void 0x0?void 0x0:_0x5ad5fa[_0x1d17(0xae)])||_0x2bd87b['lggQR'],'channelId':null},'googleUser':_0x577620['user'],'accessToken':_0x2a1f03['accessToken'],'idToken':_0x2a1f03['idToken'],'refreshToken':_0x25aa66,'serverAuthCode':_0x577620[_0x1d17(0x4a)],'userAccountInfo':{'username':_0xfaa09b,'email':_0x2bd87b[_0x1d17(0xaf)](_0x5e872d=_0x577620['user'],null)||_0x2bd87b[_0x1d17(0xaf)](_0x5e872d,void 0x0)?void 0x0:_0x5e872d['email'],'authToken':_0xd6dda0,'channelName':(_0x2bd87b[_0x1d17(0x81)](_0x42bf0e=_0x577620['user'],null)||_0x2bd87b[_0x1d17(0xb0)](_0x42bf0e,void 0x0)?void 0x0:_0x42bf0e[_0x1d17(0xae)])||_0x2bd87b[_0x1d17(0xb1)],'channelId':null}};console[_0x1d17(0x1e)](_0x2bd87b['jZFLJ']);const _0x593fde=await _0x2bd87b['XePGi'](fetch,API_CONFIG[_0x1d17(0xb2)]+_0x1d17(0xb3),{'method':'POST','headers':{'Content-Type':'application/json','x-api-key':_0x2bd87b[_0x1d17(0xb4)],..._0x2bd87b[_0x1d17(0xb5)](_0xd6dda0,_0x1d17(0x61))&&{'Authorization':_0x1d17(0xb6)+_0xd6dda0}},'body':JSON[_0x1d17(0xb7)](_0x1ea202)}),_0x3e4363=await _0x593fde[_0x1d17(0x10)]();return _0x3e4363[_0x1d17(0x11)]?(console[_0x1d17(0x1e)](_0x2bd87b[_0x1d17(0xb8)]),await _0x2bd87b[_0x1d17(0xb9)](trackMigrationAttempt,_0xfaa09b,!![]),!![]):(console[_0x1d17(0x29)](_0x2bd87b[_0x1d17(0xba)],_0x3e4363[_0x1d17(0x29)]),await _0x2bd87b[_0x1d17(0xbb)](trackMigrationAttempt,_0xfaa09b,![],_0x3e4363[_0x1d17(0x29)]),![]);}}catch(_0x8b8791){return _0x2bd87b[_0x1d17(0xbc)]===_0x2bd87b[_0x1d17(0xbc)]?(console[_0x1d17(0x29)](_0x2bd87b['VkarD'],_0x8b8791),await _0x2bd87b[_0x1d17(0xbd)](trackMigrationAttempt,_0xfaa09b,![],_0x2bd87b['jgUfG'](_0x8b8791,Error)?_0x8b8791[_0x1d17(0x1a)]:_0x2bd87b[_0x1d17(0xbe)]),![]):(_0x1cd2ee[_0x1d17(0x1e)](_0x2bd87b[_0x1d17(0xbf)]),!![]);}},trackMigrationAttempt=async(_0x1f4686,_0x505d7a,_0xda3d4e)=>{const _0x37f003={'DJnOa':_0x1d17(0xc0),'WJSwY':_0x1d17(0xc1),'SCqix':_0x1d17(0x5e),'WWvyZ':function(_0x16c606,_0x2d2aea){return _0x16c606!==_0x2d2aea;},'pLXwe':_0x1d17(0xc2),'sYylH':function(_0xaea0ce,_0x2e08c3){return _0xaea0ce||_0x2e08c3;},'gutUQ':'โ\x20Failed\x20to\x20track\x20migration\x20attempt:'};try{if(_0x37f003[_0x1d17(0xc3)](_0x37f003[_0x1d17(0xc4)],_0x37f003[_0x1d17(0xc4)]))return Alert[_0x1d17(0x59)](_0x37f003[_0x1d17(0xc5)],_0x37f003[_0x1d17(0xc6)],[{'text':'OK','style':_0x37f003['SCqix']}]),![];else await fetch(API_CONFIG[_0x1d17(0xb2)]+_0x1d17(0xc7),{'method':'POST','headers':{'Content-Type':'application/json'},'body':JSON[_0x1d17(0xb7)]({'username':_0x1f4686,'success':_0x505d7a,'error':_0x37f003[_0x1d17(0xc8)](_0xda3d4e,null),'timestamp':new Date()[_0x1d17(0xc9)]()})});}catch(_0x3bbcc6){console[_0x1d17(0x29)](_0x37f003[_0x1d17(0xca)],_0x3bbcc6);}};export const shouldShowYouTubeMigrationWarning=async _0x425ab8=>{const _0x11a03b={'zwujJ':'none','CLWmK':function(_0x11ae0b,_0x718a16){return _0x11ae0b instanceof _0x718a16;},'tFTTt':function(_0x4efa95,_0x5421cc){return _0x4efa95(_0x5421cc);},'bWpIF':_0x1d17(0x2f),'AlpXC':_0x1d17(0x30),'ExpqY':'๐\x20[MIGRATION\x20WARNING]\x20Checking\x20if\x20user\x20should\x20see\x20migration\x20warning:','eAPnz':function(_0x41bf1a,_0x4cc459){return _0x41bf1a(_0x4cc459);},'DOBjP':function(_0x5df1cd,_0x11272c){return _0x5df1cd!==_0x11272c;},'xmrAu':'LsTiP','vShAe':function(_0x59eee3,_0x565efa){return _0x59eee3===_0x565efa;},'xrMNG':function(_0x3d190a,_0x4af2c0){return _0x3d190a===_0x4af2c0;},'aAZDQ':function(_0x5711cf,_0x192961){return _0x5711cf===_0x192961;},'CkYgS':_0x1d17(0xcb),'LNcUT':_0x1d17(0xcc),'Upiyc':_0x1d17(0xcd),'JkNxH':function(_0x4ab667,_0x2912dd){return _0x4ab667&&_0x2912dd;},'yIvAy':_0x1d17(0xce),'AqOpr':_0x1d17(0x62),'jkqma':_0x1d17(0xcf),'SXJqb':_0x1d17(0xd0),'YHJIX':'QrVFd','uEQWe':'โ\x20[MIGRATION\x20WARNING]\x20Error\x20checking\x20migration\x20warning\x20status:'};try{console[_0x1d17(0x1e)](_0x11a03b[_0x1d17(0xd1)],_0x425ab8);const _0x32304e=await _0x11a03b[_0x1d17(0xd2)](fetch,API_CONFIG[_0x1d17(0xb2)]+'/youtube/validate-connection/'+_0x425ab8),_0x55462e=await _0x32304e[_0x1d17(0x10)]();if(_0x55462e[_0x1d17(0x11)]&&_0x55462e[_0x1d17(0x12)]){if(_0x11a03b[_0x1d17(0xd3)](_0x11a03b[_0x1d17(0xd4)],_0x11a03b['xmrAu']))return _0x2f900a[_0x1d17(0x29)]('โ\x20Error\x20getting\x20YouTube\x20connection\x20status:',_0x24ee70),{'isReady':![],'mode':_0x11a03b[_0x1d17(0xd5)],'needsMigration':![],'trainingReady':![],'details':{'error':_0x11a03b['CLWmK'](_0x34ab28,_0x4d3813)?_0x3e340c['message']:_0x11a03b['tFTTt'](_0x5b995e,_0xe2b0ac)}};else{var _0x4f5b78,_0x18cd2f;const _0x5458a1=(_0x11a03b[_0x1d17(0xd6)](_0x4f5b78=_0x55462e[_0x1d17(0x12)],null)||_0x11a03b[_0x1d17(0xd6)](_0x4f5b78,void 0x0)?void 0x0:_0x4f5b78['isTemporaryMode'])===!![]||(_0x11a03b['xrMNG'](_0x18cd2f=_0x55462e[_0x1d17(0x18)],null)||_0x11a03b['xrMNG'](_0x18cd2f,void 0x0)?void 0x0:_0x18cd2f['enabled'])===!![]||_0x11a03b[_0x1d17(0xd7)](_0x55462e[_0x1d17(0x16)],!![]),_0x17f795=_0x55462e[_0x1d17(0x12)]['hasAccessToken']===!![],_0xc0fd6f=_0x11a03b[_0x1d17(0xd8)](_0x55462e['validation'][_0x1d17(0x1d)],!![]),_0x2c6c70=_0x11a03b[_0x1d17(0xd7)](_0x55462e[_0x1d17(0x12)][_0x1d17(0x1c)],!![]);console[_0x1d17(0x1e)](_0x11a03b[_0x1d17(0xd9)],{'username':_0x425ab8,'hasAccessToken':_0x17f795,'hasRefreshToken':_0xc0fd6f,'needsReconnection':_0x2c6c70,'isTemporaryMode':_0x5458a1,'connectedAt':_0x55462e[_0x1d17(0x12)]['connectedAt']});if(_0x5458a1)return _0x11a03b['DOBjP'](_0x11a03b['LNcUT'],_0x11a03b[_0x1d17(0xda)])?(console[_0x1d17(0x1e)](_0x1d17(0xdb)),![]):(_0x1520c2[_0x1d17(0x1e)](_0x1d17(0x45)),{'isReady':!![],'mode':_0x1d17(0x46),'needsMigration':![],'trainingReady':!![],'details':_0x526cfd});else return _0x11a03b[_0x1d17(0xdc)](_0x17f795,!_0xc0fd6f)&&_0x2c6c70?_0x11a03b[_0x1d17(0xd8)](_0x1d17(0xce),_0x11a03b[_0x1d17(0xdd)])?(console[_0x1d17(0x1e)](_0x11a03b[_0x1d17(0xde)]),!![]):(_0x593c47[_0x1d17(0x29)](_0x1d17(0xdf),_0x1585c4),![]):(console[_0x1d17(0x1e)](_0x11a03b[_0x1d17(0xe0)]),![]);}}return console[_0x1d17(0x1e)](_0x11a03b[_0x1d17(0xe1)]),![];}catch(_0x132718){return _0x11a03b['YHJIX']!==_0x11a03b[_0x1d17(0xe2)]?(_0x14b9be[_0x1d17(0x1e)]('๐\x20YouTube\x20connected\x20in\x20temporary\x20mode'),_0x109e17['log'](_0x11a03b['bWpIF']),{'isReady':!![],'mode':_0x11a03b['AlpXC'],'needsMigration':![],'trainingReady':!![],'details':_0xe1f267}):(console['error'](_0x11a03b[_0x1d17(0xe3)],_0x132718),![]);}};function _0x1d17(_0x35cc7d,_0x1d1711){_0x35cc7d=_0x35cc7d-0x0;const _0x302c4b=_0x35cc();let _0x555319=_0x302c4b[_0x35cc7d];return _0x555319;}export const checkAndFixYouTubeConnection=async _0x4145a9=>{const _0x11afc2={'QSTXx':_0x1d17(0x8),'SbaUK':_0x1d17(0xe4),'SxFDH':_0x1d17(0x6c),'NNhmT':_0x1d17(0x6b),'UgrqH':_0x1d17(0x9e),'FOgJe':_0x1d17(0x6a),'emhKQ':_0x1d17(0x9c),'ulMss':'๐\x20Checking\x20YouTube\x20connection\x20for\x20user:','aFokE':function(_0x4e64fc,_0x176bb8){return _0x4e64fc(_0x176bb8);},'pCVkH':function(_0x429c4b,_0xf1ae15){return _0x429c4b===_0xf1ae15;},'cQDVb':_0x1d17(0xe5),'QaTAT':_0x1d17(0xe6),'NDBfM':_0x1d17(0xe7),'AOTpt':function(_0x29a68b,_0x26a098){return _0x29a68b(_0x26a098);},'aKRyX':_0x1d17(0xe8),'fYOWD':_0x1d17(0xe9),'lRhnY':function(_0x37e3c4){return _0x37e3c4();},'hCRkL':function(_0x5423d6,_0x64ab19){return _0x5423d6===_0x64ab19;},'DGaEz':_0x1d17(0xea),'QyTYE':'tFftv','LnbaJ':_0x1d17(0xeb),'QCXkT':_0x1d17(0xec),'INaXE':_0x1d17(0x5e),'hUdlG':_0x1d17(0xc0),'nWIkV':_0x1d17(0xc1),'OQCYE':_0x1d17(0xed)};try{console[_0x1d17(0x1e)](_0x11afc2[_0x1d17(0xee)],_0x4145a9);const _0xae43ca=await _0x11afc2[_0x1d17(0xef)](shouldShowYouTubeMigrationWarning,_0x4145a9);if(!_0xae43ca)return _0x11afc2[_0x1d17(0xf0)](_0x1d17(0xe5),_0x11afc2[_0x1d17(0xf1)])?(console[_0x1d17(0x1e)](_0x11afc2[_0x1d17(0xf2)]),console[_0x1d17(0x1e)](_0x11afc2[_0x1d17(0xf3)]),!![]):(_0x5adee4[_0x1d17(0x1e)](_0x11afc2['QSTXx']),_0x36719c[_0x1d17(0x1e)](_0x11afc2['SbaUK']),![]);const _0x55c616=await _0x11afc2['AOTpt'](checkYouTubeMigrationNeeded,_0x4145a9);if(!_0x55c616)return console[_0x1d17(0x1e)](_0x11afc2[_0x1d17(0xf4)]),!![];console['log'](_0x11afc2[_0x1d17(0xf5)]);const _0x2846ab=await _0x11afc2[_0x1d17(0xf6)](showYouTubeMigrationPrompt);if(!_0x2846ab){if(_0x11afc2[_0x1d17(0xf7)](_0x11afc2['DGaEz'],_0x11afc2['QyTYE'])){const _0x29aa26=_0x1d17(0xf8)[_0x1d17(0x9b)]('|');let _0x489468=0x0;while(!![]){switch(_0x29aa26[_0x489468++]){case'0':_0x3fab63['error'](_0x11afc2[_0x1d17(0xf9)]);continue;case'1':return![];case'2':_0xeda27f['error'](_0x11afc2[_0x1d17(0xfa)]);continue;case'3':_0x464b1e[_0x1d17(0x29)](_0x11afc2[_0x1d17(0xfb)]);continue;case'4':_0x49a000[_0x1d17(0x29)](_0x11afc2['FOgJe']);continue;case'5':_0x58fb95[_0x1d17(0x29)](_0x11afc2[_0x1d17(0xfc)]);continue;}break;}}else return console[_0x1d17(0x1e)](_0x1d17(0x39)),![];}const _0x581b73=await _0x11afc2[_0x1d17(0xfd)](forceYouTubeReconnection,_0x4145a9);return _0x581b73?(Alert[_0x1d17(0x59)](_0x11afc2[_0x1d17(0xfe)],'Your\x20YouTube\x20connection\x20has\x20been\x20upgraded\x20successfully.\x20Training\x20will\x20now\x20work\x20seamlessly\x20without\x20interruptions.',[{'text':_0x11afc2['QCXkT'],'style':_0x11afc2['INaXE']}]),!![]):(Alert[_0x1d17(0x59)](_0x11afc2['hUdlG'],_0x11afc2[_0x1d17(0xff)],[{'text':'OK','style':_0x11afc2['INaXE']}]),![]);}catch(_0x1deb9c){return console['error'](_0x11afc2[_0x1d17(0x100)],_0x1deb9c),![];}};export const reconnectYouTube=async _0x19893c=>{const _0x37eebb={'nLEsj':'๐\x20Manual\x20YouTube\x20reconnection\x20requested\x20for:','JRZPK':function(_0x168c21,_0x3c3328){return _0x168c21(_0x3c3328);}};return console[_0x1d17(0x1e)](_0x37eebb['nLEsj'],_0x19893c),await _0x37eebb[_0x1d17(0x101)](forceYouTubeReconnection,_0x19893c);};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{Platform}from'react-native';export const COLORS={'surface':
|
|
1
|
+
import{Platform}from'react-native';function _0x49fd(){const _0x4085a5=['#D1D5DB','#86888E','#62646C','#374151','#1F242F','#17181C','rgba(0,0,0,0.20)','rgba(0,0,0,0.10)','rgba(0,0,0,0.06)','#FFFFFF','#0A090E','#17171B','#FFD700','#E9B104','#000000','#1C2526','#808080','rgba(255,\x20255,\x20255,\x200.1)','#FF3B30','#FF9500','#5AC8FA','rgba(0,\x200,\x200,\x200.7)','ios','IBM\x20Plex\x20Sans','Inter-Regular','System','Roboto','Georgia','serif','400','700','primary','btnInnerShadow','btnShadowOuter','families','weights','sizes','kicker','lineHeights','grey500','ibmPlexSansBold','welcomeTitle','grey800','inter','regular','body','center','grey600','semibold','btnLabel'];_0x49fd=function(){return _0x4085a5;};return _0x49fd();}export const COLORS={'surface':'#FAFAFA','grey300':_0x10c7(0x0),'grey400':'#9CA3AF','grey500':_0x10c7(0x1),'grey600':_0x10c7(0x2),'grey700':_0x10c7(0x3),'grey800':_0x10c7(0x4),'btnGradStart':'#29292B','btnGradEnd':_0x10c7(0x5),'btnBorder':_0x10c7(0x6),'btnShadowOuter':_0x10c7(0x7),'btnInnerShadow':_0x10c7(0x8),'btnLabel':_0x10c7(0x9),'iconCircleGradientStart':_0x10c7(0xa),'iconCircleGradientEnd':_0x10c7(0xb),'primary':_0x10c7(0xc),'primaryDark':_0x10c7(0xd),'primaryLight':'#FFDF33','background':{'dark':_0x10c7(0xe),'medium':'#121212','light':_0x10c7(0xf)},'text':{'primary':_0x10c7(0x9),'secondary':'#B0B0B0','tertiary':_0x10c7(0x10),'gold':_0x10c7(0xc)},'ui':{'cardBackground':'rgba(255,\x20255,\x20255,\x200.1)','divider':_0x10c7(0x11),'inputBackground':_0x10c7(0x11),'buttonBackground':_0x10c7(0x11)},'status':{'success':'#4BB543','error':_0x10c7(0x12),'warning':_0x10c7(0x13),'info':_0x10c7(0x14)},'transparent':'transparent','overlay':_0x10c7(0x15)};export const FONTS={'families':{'ibmPlexSans':Platform['OS']===_0x10c7(0x16)?'IBM\x20Plex\x20Sans':_0x10c7(0x17),'ibmPlexSansBold':Platform['OS']===_0x10c7(0x16)?_0x10c7(0x17):'IBM\x20Plex\x20Sans','inter':Platform['OS']===_0x10c7(0x16)?'Inter':_0x10c7(0x18),'base':Platform['OS']===_0x10c7(0x16)?_0x10c7(0x19):_0x10c7(0x1a),'serif':Platform['OS']===_0x10c7(0x16)?_0x10c7(0x1b):_0x10c7(0x1c)},'weights':{'light':'300','regular':_0x10c7(0x1d),'medium':'500','semibold':'600','bold':_0x10c7(0x1e)},'sizes':{'xs':0xc,'sm':0xe,'md':0x10,'lg':0x12,'xl':0x14,'xxl':0x18,'xxxl':0x1c,'title':0x20,'large':0x2a,'kicker':0x12,'welcomeTitle':0x30,'body':0x10,'buttonLabel':0x10},'lineHeights':{'kicker':0x14,'welcomeTitle':0x36,'body':0x18,'sm':0x10,'md':0x14,'lg':0x18,'xl':0x1c},'letterSpacing':{'kicker':-0.24,'tight':-0.5,'normal':0x0,'wide':0.5}};export const SPACING={'xs':0x4,'sm':0x8,'md':0x10,'lg':0x18,'xl':0x20,'xxl':0x30,'xxxl':0x40,'modalTopPadding':0x76,'modalHorizontal':0x18};export const BORDER_RADIUS={'xs':0x4,'sm':0x8,'md':0x10,'lg':0x18,'xl':0x20,'pill':0x64,'circle':0x3e7,'modalTop':0x18,'buttonPill':0x64};export const SHADOWS={'small':{'shadowColor':COLORS[_0x10c7(0x1f)],'shadowOffset':{'width':0x0,'height':0x2},'shadowOpacity':0.3,'shadowRadius':0x4,'elevation':0x3},'medium':{'shadowColor':COLORS['primary'],'shadowOffset':{'width':0x0,'height':0x4},'shadowOpacity':0.5,'shadowRadius':0x8,'elevation':0x5},'large':{'shadowColor':COLORS[_0x10c7(0x1f)],'shadowOffset':{'width':0x0,'height':0x6},'shadowOpacity':0.8,'shadowRadius':0x10,'elevation':0x8},'button':{'inner':{'shadowColor':COLORS[_0x10c7(0x20)],'shadowOffset':{'width':0x0,'height':-0x24},'shadowOpacity':0x1,'shadowRadius':21.1},'outer':{'shadowColor':COLORS[_0x10c7(0x21)],'shadowOffset':{'width':0x14,'height':0x1e},'shadowOpacity':0x1,'shadowRadius':0x28,'elevation':0x8}},'brandMark':{'shadowColor':'#000000','shadowOffset':{'width':0x0,'height':0x4},'shadowOpacity':0.1,'shadowRadius':0x8,'elevation':0x4}};function _0x10c7(_0x49fde5,_0x10c7c1){_0x49fde5=_0x49fde5-0x0;const _0x2b393b=_0x49fd();let _0x3d9bf4=_0x2b393b[_0x49fde5];return _0x3d9bf4;}export const TEXT_STYLES={'kicker':{'fontFamily':FONTS[_0x10c7(0x22)]['ibmPlexSansBold'],'fontWeight':FONTS[_0x10c7(0x23)]['bold'],'fontSize':FONTS[_0x10c7(0x24)][_0x10c7(0x25)],'lineHeight':FONTS[_0x10c7(0x26)]['kicker'],'letterSpacing':FONTS['letterSpacing'][_0x10c7(0x25)],'color':COLORS[_0x10c7(0x27)]},'welcomeTitle':{'fontFamily':FONTS[_0x10c7(0x22)][_0x10c7(0x28)],'fontWeight':FONTS['weights']['bold'],'fontSize':FONTS[_0x10c7(0x24)][_0x10c7(0x29)],'lineHeight':FONTS[_0x10c7(0x26)][_0x10c7(0x29)],'color':COLORS[_0x10c7(0x2a)]},'body':{'fontFamily':FONTS['families'][_0x10c7(0x2b)],'fontWeight':FONTS['weights'][_0x10c7(0x2c)],'fontSize':FONTS[_0x10c7(0x24)]['body'],'lineHeight':FONTS['lineHeights'][_0x10c7(0x2d)],'textAlign':_0x10c7(0x2e),'color':COLORS[_0x10c7(0x2f)]},'buttonLabel':{'fontFamily':FONTS[_0x10c7(0x22)][_0x10c7(0x2b)],'fontWeight':FONTS[_0x10c7(0x23)][_0x10c7(0x30)],'fontSize':FONTS[_0x10c7(0x24)]['buttonLabel'],'color':COLORS[_0x10c7(0x31)]}};export default{'COLORS':COLORS,'FONTS':FONTS,'SPACING':SPACING,'BORDER_RADIUS':BORDER_RADIUS,'SHADOWS':SHADOWS,'TEXT_STYLES':TEXT_STYLES};
|
package/lib/module/types.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
export let ApiKeyType=function(_0x3f5364){const _0x35e17f={'oNhuk':_0x8ce7(0x0),'FnPkZ':_0x8ce7(0x1),'ijdaL':_0x8ce7(0x2),'fHXfi':_0x8ce7(0x3),'kfEqJ':_0x8ce7(0x4)};return _0x3f5364[_0x35e17f[_0x8ce7(0x5)]]='developer',_0x3f5364[_0x35e17f[_0x8ce7(0x6)]]=_0x35e17f[_0x8ce7(0x7)],_0x3f5364[_0x35e17f[_0x8ce7(0x8)]]=_0x35e17f['kfEqJ'],_0x3f5364;}({});function _0x8ce7(_0x7b94f0,_0x8ce720){_0x7b94f0=_0x7b94f0-0x0;const _0x4f057a=_0x7b94();let _0x3d8786=_0x4f057a[_0x7b94f0];return _0x3d8786;}function _0x7b94(){const _0x5ba809=['DEVELOPER','ADMIN','admin','INVALID','invalid','oNhuk','FnPkZ','ijdaL','fHXfi'];_0x7b94=function(){return _0x5ba809;};return _0x7b94();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import React,{useEffect,useState}from'react';
|
|
1
|
+
import React,{useEffect,useState}from'react';import{View}from'react-native';const portalRefs={};let portalId=0x0;function _0x5ccf(){const _0x2c6a31=['createContext','ElEOH','Dwuxg','IPloS','hVrno','ndwxF','createElement','map','absolute','IuTwI','useContext','KiAHO','zyeql','qfdJf','QpLer','gZjVI','awqOu'];_0x5ccf=function(){return _0x2c6a31;};return _0x5ccf();}const PortalContext=React[_0x4e42(0x0)]({'mount':()=>0x0,'update':()=>{},'unmount':()=>{}});function _0x4e42(_0x5ccfa2,_0x4e422c){_0x5ccfa2=_0x5ccfa2-0x0;const _0x1348a7=_0x5ccf();let _0x451338=_0x1348a7[_0x5ccfa2];return _0x451338;}export const PortalHost=({children:_0x3fbdb9})=>{const _0x136c9={'IPloS':function(_0x377227,_0x3e7bf1){return _0x377227===_0x3e7bf1;},'hVrno':_0x4e42(0x1),'Dwuxg':function(_0x1ed284,_0x2dc215){return _0x1ed284(_0x2dc215);},'ndwxF':function(_0x4644c6,_0x528b86){return _0x4644c6(_0x528b86);}},[_0x5360a7,_0x1e6714]=_0x136c9[_0x4e42(0x2)](useState,{}),_0x4c08cd=_0x300781=>{const _0x19c5d4=++portalId;return _0x1e6714(_0x3fb13c=>({..._0x3fb13c,[_0x19c5d4]:_0x300781})),_0x19c5d4;},_0xb9fd1f=(_0x4d5f9f,_0x53d5fb)=>{if(_0x136c9[_0x4e42(0x3)](_0x136c9[_0x4e42(0x4)],_0x136c9[_0x4e42(0x4)]))_0x136c9['Dwuxg'](_0x1e6714,_0x45f009=>({..._0x45f009,[_0x4d5f9f]:_0x53d5fb}));else{const _0x387315={..._0x406684};return delete _0x387315[_0x3f35e4],_0x387315;}},_0x30826a=_0x1a92c1=>{_0x136c9[_0x4e42(0x5)](_0x1e6714,_0x5d7d9f=>{const _0x50b200={..._0x5d7d9f};return delete _0x50b200[_0x1a92c1],_0x50b200;});};return React[_0x4e42(0x6)](PortalContext['Provider'],{'value':{'mount':_0x4c08cd,'update':_0xb9fd1f,'unmount':_0x30826a}},_0x3fbdb9,Object['keys'](_0x5360a7)[_0x4e42(0x7)](_0x4b0bec=>React[_0x4e42(0x6)](View,{'key':_0x4b0bec,'style':{'position':_0x4e42(0x8),'top':0x0,'left':0x0,'right':0x0,'bottom':0x0,'zIndex':0x270f}},_0x5360a7[Number(_0x4b0bec)])));};export const Portal=({children:_0xe9794c})=>{const _0x51694f={'KiAHO':function(_0x20cbac,_0x599d99){return _0x20cbac(_0x599d99);},'TQDkB':function(_0x1fab35,_0xd47284){return _0x1fab35!==_0xd47284;},'qfdJf':function(_0x55384c,_0x16526e){return _0x55384c===_0x16526e;},'gZjVI':_0x4e42(0x9),'awqOu':function(_0x34552e,_0x35cb76,_0x56adc6){return _0x34552e(_0x35cb76,_0x56adc6);},'zyeql':function(_0x1f2369,_0x40f3ab,_0x45a2e4){return _0x1f2369(_0x40f3ab,_0x45a2e4);}},{mount:_0x12d81a,update:_0x234cd3,unmount:_0x3d3069}=React[_0x4e42(0xa)](PortalContext),[_0x3a56b3,_0x6a29a8]=_0x51694f[_0x4e42(0xb)](useState,null);return _0x51694f[_0x4e42(0xc)](useEffect,()=>{const _0x11e45f=_0x12d81a(_0xe9794c);return _0x51694f[_0x4e42(0xb)](_0x6a29a8,_0x11e45f),()=>{if(_0x3a56b3)_0x3d3069(_0x3a56b3);};},[]),useEffect(()=>{_0x51694f['TQDkB'](_0x3a56b3,null)&&(_0x51694f[_0x4e42(0xd)](_0x4e42(0xe),_0x51694f[_0x4e42(0xf)])?_0x4fe97d(_0x3b0769=>{const _0x45087f={..._0x3b0769};return delete _0x45087f[_0x27fdb5],_0x45087f;}):_0x51694f[_0x4e42(0x10)](_0x234cd3,_0x3a56b3,_0xe9794c));},[_0xe9794c,_0x3a56b3]),null;};
|
package/lib/module/utils/api.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import axios from'axios';import AsyncStorage from'@react-native-async-storage/async-storage';
|
|
1
|
+
import axios from'axios';import AsyncStorage from'@react-native-async-storage/async-storage';import{API_CONFIG}from'../config/api';const API_URL=API_CONFIG[_0x199c(0x0)];function _0x3f6a(){const _0x9163c0=['BASE_URL','onairosToken','getItem','create','Bearer\x20','/valid/validate-domain','post','data','error','Error\x20validating\x20domain:','/getAccountInfo','Error\x20fetching\x20account\x20info:','JIYmh','CpbCO','BGAoK','TEPhM','Qsncu','BRnbo','/getAPIurl','/createAccount','mfrtP','Error\x20creating\x20account:'];_0x3f6a=function(){return _0x9163c0;};return _0x3f6a();}export const createApiInstance=async()=>{const _0x3a78de={'UWeMh':_0x199c(0x1)},_0x538b7a=await AsyncStorage[_0x199c(0x2)](_0x3a78de['UWeMh']);return axios[_0x199c(0x3)]({'baseURL':API_URL,'headers':{'Content-Type':'application/json',..._0x538b7a?{'Authorization':_0x199c(0x4)+_0x538b7a}:{}}});};export const validateDomain=async()=>{const _0x37fccf={'htYWk':_0x199c(0x5)};try{const _0x354f5d=await createApiInstance(),_0x4c7069=await _0x354f5d[_0x199c(0x6)](_0x37fccf['htYWk']);return _0x4c7069[_0x199c(0x7)];}catch(_0x116651){return console[_0x199c(0x8)](_0x199c(0x9),_0x116651),{'status':![]};}};function _0x199c(_0x3f6af3,_0x199c93){_0x3f6af3=_0x3f6af3-0x0;const _0x73556a=_0x3f6a();let _0x5c45ca=_0x73556a[_0x3f6af3];return _0x5c45ca;}export const fetchAccountInfo=async(_0x3684c0,_0x9ef517=![])=>{const _0x27efc7={'JIYmh':function(_0x542e28){return _0x542e28();},'CpbCO':'/getAccountInfo/email','BGAoK':_0x199c(0xa),'TEPhM':_0x199c(0xb)};try{const _0x44a332=await _0x27efc7[_0x199c(0xc)](createApiInstance),_0x4afe4c=_0x9ef517?{'Info':{'identifier':_0x3684c0}}:{'Info':{'userName':_0x3684c0}},_0x342d60=_0x9ef517?_0x27efc7[_0x199c(0xd)]:_0x27efc7[_0x199c(0xe)],_0x214c68=await _0x44a332['post'](_0x342d60,_0x4afe4c);return _0x214c68[_0x199c(0x7)];}catch(_0x330b59){console[_0x199c(0x8)](_0x27efc7[_0x199c(0xf)],_0x330b59);throw _0x330b59;}};export const getApiUrl=async(_0x40f3d6,_0xaa16dc,_0x48bb38)=>{const _0x87b23f={'Qsncu':function(_0x57b304){return _0x57b304();},'BRnbo':'othent','msfRg':'Error\x20getting\x20API\x20URL:'};try{const _0x34125b=await _0x87b23f[_0x199c(0x10)](createApiInstance),_0x104622={'Info':{'EncryptedUserPin':_0xaa16dc,'confirmations':_0x40f3d6,'web3Type':_0x87b23f[_0x199c(0x11)],'Domain':Platform['OS'],'proofMode':![],'OthentSub':_0x48bb38}},_0x3969cb=await _0x34125b[_0x199c(0x6)](_0x199c(0x12),_0x104622);return _0x3969cb[_0x199c(0x7)];}catch(_0x1d39c1){console['error'](_0x87b23f['msfRg'],_0x1d39c1);throw _0x1d39c1;}};export const createAccount=async(_0x2c11e0,_0x4f75e5,_0x476b99,_0x7d9662)=>{const _0x317f3b={'mfrtP':_0x199c(0x13)};try{const _0x56bc8a=await createApiInstance(),_0x3ab6ab=await _0x56bc8a[_0x199c(0x6)](_0x317f3b[_0x199c(0x14)],{'othentSub':_0x2c11e0,'pin':_0x4f75e5,'socialAccounts':_0x476b99,'email':_0x7d9662});return _0x3ab6ab[_0x199c(0x7)];}catch(_0x29f49d){console['error'](_0x199c(0x15),_0x29f49d);throw _0x29f49d;}};
|
|
@@ -30,4 +30,4 @@ var __ONAIROS_REQ_REGISTRY__ = [
|
|
|
30
30
|
require('../assets/animations/persona-animation.json')
|
|
31
31
|
];
|
|
32
32
|
function __ONAIROS_REQ_FUNC__(i) { return __ONAIROS_REQ_REGISTRY__[i]; }
|
|
33
|
-
export const PLATFORM_ICONS={'youtube':__ONAIROS_REQ_FUNC__(0x0),'youtube2':__ONAIROS_REQ_FUNC__(0x1),'reddit':__ONAIROS_REQ_FUNC__(0x2),'linkedin':__ONAIROS_REQ_FUNC__(0x3),'instagram':__ONAIROS_REQ_FUNC__(0x4),'facebook':__ONAIROS_REQ_FUNC__(0x5),'pinterest':__ONAIROS_REQ_FUNC__(0x6),'gmail':__ONAIROS_REQ_FUNC__(0x7),'twitter':__ONAIROS_REQ_FUNC__(0x8),'farcaster':__ONAIROS_REQ_FUNC__(0x9),'chatgpt':__ONAIROS_REQ_FUNC__(0xa),'claude':__ONAIROS_REQ_FUNC__(0xb),'grok':__ONAIROS_REQ_FUNC__(0xc),'gemini':__ONAIROS_REQ_FUNC__(0xd),'default':__ONAIROS_REQ_FUNC__(0xe)};export const getPlatformIconFromRegistry=
|
|
33
|
+
export const PLATFORM_ICONS={'youtube':__ONAIROS_REQ_FUNC__(0x0),'youtube2':__ONAIROS_REQ_FUNC__(0x1),'reddit':__ONAIROS_REQ_FUNC__(0x2),'linkedin':__ONAIROS_REQ_FUNC__(0x3),'instagram':__ONAIROS_REQ_FUNC__(0x4),'facebook':__ONAIROS_REQ_FUNC__(0x5),'pinterest':__ONAIROS_REQ_FUNC__(0x6),'gmail':__ONAIROS_REQ_FUNC__(0x7),'twitter':__ONAIROS_REQ_FUNC__(0x8),'farcaster':__ONAIROS_REQ_FUNC__(0x9),'chatgpt':__ONAIROS_REQ_FUNC__(0xa),'claude':__ONAIROS_REQ_FUNC__(0xb),'grok':__ONAIROS_REQ_FUNC__(0xc),'gemini':__ONAIROS_REQ_FUNC__(0xd),'default':__ONAIROS_REQ_FUNC__(0xe)};export const getPlatformIconFromRegistry=_0x35a5a2=>{const _0x20139a={'hgsGq':_0x5e84(0x0),'WKxmb':'facebook','nraAp':'gmail','MSLSQ':_0x5e84(0x1),'linQo':_0x5e84(0x2),'bzEqw':_0x5e84(0x3),'ENlCd':_0x5e84(0x4)},_0x586ba2=_0x35a5a2[_0x5e84(0x5)]();switch(_0x586ba2){case _0x20139a[_0x5e84(0x6)]:return PLATFORM_ICONS[_0x5e84(0x0)];case _0x5e84(0x7):return PLATFORM_ICONS[_0x5e84(0x7)];case _0x5e84(0x8):return PLATFORM_ICONS[_0x5e84(0x8)];case _0x5e84(0x9):return PLATFORM_ICONS['instagram'];case _0x20139a[_0x5e84(0xa)]:return PLATFORM_ICONS['facebook'];case _0x5e84(0xb):return PLATFORM_ICONS[_0x5e84(0xb)];case _0x20139a[_0x5e84(0xc)]:case _0x5e84(0xd):return PLATFORM_ICONS[_0x5e84(0xe)];case _0x20139a['MSLSQ']:case'x':return PLATFORM_ICONS['twitter'];case _0x20139a['linQo']:return PLATFORM_ICONS[_0x5e84(0x2)];case _0x20139a['bzEqw']:case _0x5e84(0xf):return PLATFORM_ICONS['chatgpt'];case _0x20139a[_0x5e84(0x10)]:case'anthropic':return PLATFORM_ICONS[_0x5e84(0x4)];case'grok':return PLATFORM_ICONS[_0x5e84(0x11)];case _0x5e84(0x12):case _0x5e84(0x13):return PLATFORM_ICONS[_0x5e84(0x12)];default:return PLATFORM_ICONS[_0x5e84(0x14)];}};function _0x526c(){const _0xea103c=['youtube','twitter','farcaster','chatgpt','claude','toLowerCase','hgsGq','reddit','linkedin','instagram','WKxmb','pinterest','nraAp','email','gmail','openai','ENlCd','grok','gemini','google_ai','default','level','level1','Instagram','YouTube','youtube2','Reddit','Pinterest','yefdA'];_0x526c=function(){return _0xea103c;};return _0x526c();}export const PERSONA_IMAGES={'level1':__ONAIROS_REQ_FUNC__(0xf),'level2':__ONAIROS_REQ_FUNC__(0x10),'level3':__ONAIROS_REQ_FUNC__(0x11),'level4':__ONAIROS_REQ_FUNC__(0x12),'level5':__ONAIROS_REQ_FUNC__(0x13)};export const getPersonaImage=_0x52d252=>{const _0x520426=_0x5e84(0x15)+_0x52d252;return PERSONA_IMAGES[_0x520426]||PERSONA_IMAGES[_0x5e84(0x16)];};export const BRAND_IMAGES={'onairosLogo':__ONAIROS_REQ_FUNC__(0x14),'onairosLogoAlt':__ONAIROS_REQ_FUNC__(0x15),'googleLogo':__ONAIROS_REQ_FUNC__(0x16),'faceIdLogo':__ONAIROS_REQ_FUNC__(0x17),'enochIcon':__ONAIROS_REQ_FUNC__(0x18)};export const ANIMATIONS={'loader':__ONAIROS_REQ_FUNC__(0x19),'persona':__ONAIROS_REQ_FUNC__(0x1a)};function _0x5e84(_0x526c7a,_0x5e8419){_0x526c7a=_0x526c7a-0x0;const _0x16c253=_0x526c();let _0x508c71=_0x16c253[_0x526c7a];return _0x508c71;}export const OVERLAY_PLATFORMS=[{'id':_0x5e84(0x9),'name':_0x5e84(0x17),'icon':PLATFORM_ICONS[_0x5e84(0x9)]},{'id':_0x5e84(0x0),'name':_0x5e84(0x18),'icon':PLATFORM_ICONS[_0x5e84(0x19)]},{'id':_0x5e84(0x7),'name':_0x5e84(0x1a),'icon':PLATFORM_ICONS[_0x5e84(0x7)]},{'id':_0x5e84(0xb),'name':_0x5e84(0x1b),'icon':PLATFORM_ICONS[_0x5e84(0xb)]},{'id':'email','name':'Email','icon':PLATFORM_ICONS['gmail']}];export const getUniversalOnboardingIcon=_0x61aded=>{const _0x14011d={'tMhXd':_0x5e84(0x7),'yefdA':'pinterest'},_0x14ba0f=_0x61aded[_0x5e84(0x5)]();switch(_0x14ba0f){case _0x5e84(0x9):return PLATFORM_ICONS[_0x5e84(0x9)];case'youtube':return PLATFORM_ICONS[_0x5e84(0x19)];case _0x14011d['tMhXd']:return PLATFORM_ICONS[_0x5e84(0x7)];case _0x14011d[_0x5e84(0x1c)]:return PLATFORM_ICONS[_0x5e84(0xb)];case'facebook':return PLATFORM_ICONS['facebook'];case _0x5e84(0x8):return PLATFORM_ICONS[_0x5e84(0x8)];case'gmail':case _0x5e84(0xd):return PLATFORM_ICONS[_0x5e84(0xe)];default:return PLATFORM_ICONS[_0x5e84(0x14)];}};
|
package/lib/module/utils/auth.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
import axios from'axios';import AsyncStorage from'@react-native-async-storage/async-storage';import{API_CONFIG}from'../config/api';function _0x2aa6(){const _0x1a5884=['BASE_URL','Error\x20getting\x20PIN:','FKOJD','zmCRm','sxpsy','tOJHE','data','VGJVs','Error\x20storing\x20auth\x20data:','ogcFU','GGYdo','Error\x20verifying\x20token:','xrUwe','dmXdo','/verifyToken','valid','zMZgg','mHgfH','eEVLY','pBBdU','OTtXG','qwfmP','setItem','onairosToken','username','DcIFb','othentToken','stringify','error','Error\x20getting\x20stored\x20auth\x20data:','ZdcrZ','LGdIf','Error\x20clearing\x20auth\x20data:','removeItem','PJNGS','getItem','RycnM','HwmBY','GmFNE','parse'];_0x2aa6=function(){return _0x1a5884;};return _0x2aa6();}const API_URL=API_CONFIG[_0x5bd9(0x0)];export const getPin=async _0x24639d=>{const _0x5b8a0b={'VGJVs':_0x5bd9(0x1),'zmCRm':function(_0x1a2609,_0x23e38c){return _0x1a2609!==_0x23e38c;},'sxpsy':_0x5bd9(0x2)};try{if(_0x5b8a0b[_0x5bd9(0x3)](_0x5b8a0b[_0x5bd9(0x4)],_0x5bd9(0x5))){const _0x51dc60=await axios['post'](API_URL+'/getPin',{'hashedOthentSub':_0x24639d});return _0x51dc60[_0x5bd9(0x6)];}else{_0x365972['error'](_0x5b8a0b[_0x5bd9(0x7)],_0x19d46d);throw _0x1aba8e;}}catch(_0x2fd15f){console['error'](_0x5bd9(0x1),_0x2fd15f);throw _0x2fd15f;}};export const verifyToken=async _0x1eb4e4=>{const _0x2cda04={'zMZgg':_0x5bd9(0x8),'xrUwe':function(_0x57d68d,_0x15b545){return _0x57d68d!==_0x15b545;},'dmXdo':_0x5bd9(0x9),'dyucP':_0x5bd9(0xa),'mHgfH':_0x5bd9(0xb)};try{if(_0x2cda04[_0x5bd9(0xc)](_0x2cda04[_0x5bd9(0xd)],_0x2cda04['dyucP'])){const _0x2556d2=await axios['post'](API_URL+_0x5bd9(0xe),{},{'headers':{'Authorization':'Bearer\x20'+_0x1eb4e4}});return _0x2556d2[_0x5bd9(0x6)][_0x5bd9(0xf)];}else{_0x1f7402['error'](_0x2cda04[_0x5bd9(0x10)],_0x302d73);throw _0x35007a;}}catch(_0xa83888){return console['error'](_0x2cda04[_0x5bd9(0x11)],_0xa83888),![];}};function _0x5bd9(_0x2aa6f0,_0x5bd9af){_0x2aa6f0=_0x2aa6f0-0x0;const _0x1785df=_0x2aa6();let _0x40ae38=_0x1785df[_0x2aa6f0];return _0x40ae38;}export const storeAuthData=async(_0xa4d6d1,_0x1d53db=null,_0x43c38d=null)=>{const _0x13b6cc={'AdpQV':'Error\x20verifying\x20token:','OTtXG':function(_0x4710b4,_0x2d1500){return _0x4710b4===_0x2d1500;},'aJKwo':'BfYKb','qwfmP':_0x5bd9(0x12),'DcIFb':_0x5bd9(0x13),'ZdcrZ':'NdIsB','LGdIf':_0x5bd9(0x8)};try{if(_0x13b6cc[_0x5bd9(0x14)](_0x13b6cc['aJKwo'],_0x13b6cc[_0x5bd9(0x15)]))return _0x4c8cc5['error'](_0x13b6cc['AdpQV'],_0x388d67),![];else{await AsyncStorage[_0x5bd9(0x16)](_0x5bd9(0x17),_0xa4d6d1);_0x1d53db&&await AsyncStorage['setItem'](_0x5bd9(0x18),_0x1d53db);if(_0x43c38d){if(_0x13b6cc[_0x5bd9(0x14)](_0x13b6cc[_0x5bd9(0x19)],_0x5bd9(0x13)))await AsyncStorage[_0x5bd9(0x16)](_0x5bd9(0x1a),JSON[_0x5bd9(0x1b)](_0x43c38d));else return _0xa2e979[_0x5bd9(0x1c)](_0x5bd9(0x1d),_0x33e6b5),{'token':null,'username':null,'othentToken':null};}}}catch(_0x2bf2bb){if(_0x13b6cc[_0x5bd9(0x14)](_0x13b6cc[_0x5bd9(0x1e)],_0x13b6cc[_0x5bd9(0x1e)])){console[_0x5bd9(0x1c)](_0x13b6cc[_0x5bd9(0x1f)],_0x2bf2bb);throw _0x2bf2bb;}else{_0x354e92[_0x5bd9(0x1c)](_0x5bd9(0x20),_0x5d4456);throw _0x55c4a0;}}};export const clearAuthData=async()=>{const _0x5b647b={'PJNGS':_0x5bd9(0x17),'ekDWm':_0x5bd9(0x20)};try{await AsyncStorage[_0x5bd9(0x21)](_0x5b647b[_0x5bd9(0x22)]),await AsyncStorage[_0x5bd9(0x21)](_0x5bd9(0x18)),await AsyncStorage[_0x5bd9(0x21)](_0x5bd9(0x1a));}catch(_0x4957e7){console[_0x5bd9(0x1c)](_0x5b647b['ekDWm'],_0x4957e7);throw _0x4957e7;}};export const getStoredAuthData=async()=>{const _0x194820={'RycnM':'onairosToken','HwmBY':_0x5bd9(0x18),'GmFNE':'othentToken','ZzuRY':_0x5bd9(0x1d)};try{const _0x3ca18a=await AsyncStorage[_0x5bd9(0x23)](_0x194820[_0x5bd9(0x24)]),_0x4d76b9=await AsyncStorage[_0x5bd9(0x23)](_0x194820[_0x5bd9(0x25)]),_0x44608c=await AsyncStorage['getItem'](_0x194820[_0x5bd9(0x26)]);return{'token':_0x3ca18a,'username':_0x4d76b9,'othentToken':_0x44608c?JSON[_0x5bd9(0x27)](_0x44608c):null};}catch(_0x231e40){return console[_0x5bd9(0x1c)](_0x194820['ZzuRY'],_0x231e40),{'token':null,'username':null,'othentToken':null};}};
|
|
@@ -25,4 +25,4 @@ var __ONAIROS_REQ_REGISTRY__ = [
|
|
|
25
25
|
require(`../services/${platform}DataExtractor`)
|
|
26
26
|
];
|
|
27
27
|
function __ONAIROS_REQ_FUNC__(i) { return __ONAIROS_REQ_REGISTRY__[i]; }
|
|
28
|
-
import{API_CONFIG}from'../config/api';export const testWebViewScriptExports=()=>{const _0x2d5060={'ZxRmB':function(_0x416fde,_0x10db7c){return _0x416fde(_0x10db7c);},'tkKlI':_0x246f(0x0),'OFJUj':_0x246f(0x1),'XdMkF':'fail','XulCE':_0x246f(0x2),'PehwT':_0x246f(0x3),'HHdJl':_0x246f(0x4),'StlGH':function(_0x141b5b,_0x5adc45){return _0x141b5b(_0x5adc45);},'NaUwV':_0x246f(0x5),'ZAWSu':_0x246f(0x6),'EWsWr':_0x246f(0x7),'qIppy':_0x246f(0x8),'yLvKn':function(_0x58cdbf,_0x313bd7){return _0x58cdbf(_0x313bd7);},'PBtrd':_0x246f(0x9),'tmaqZ':_0x246f(0xa),'mQxPE':_0x246f(0xb),'Bwych':_0x246f(0xc),'GYTEY':_0x246f(0xd),'UTPyE':function(_0x413106,_0x21c91e){return _0x413106(_0x21c91e);},'cDhMF':_0x246f(0xe),'aZWbA':_0x246f(0xf),'pZqLo':function(_0x14c8ac,_0x4e6f9d){return _0x14c8ac&&_0x4e6f9d;},'RLfkT':_0x246f(0x10),'ambiQ':function(_0x2a9826,_0x5b6195){return _0x2a9826!==_0x5b6195;},'CLkMp':'MmcJd','YzNXg':'all'},_0x574b77=[];try{const {CHATGPT_CONSENT_POPUP_SCRIPT:_0x5b581a,CHATGPT_EXPORT_SCRIPT:_0x31d784}=_0x2d5060[_0x246f(0x11)](__ONAIROS_REQ_FUNC__,0x13);_0x574b77[_0x246f(0x12)]({'platform':_0x2d5060[_0x246f(0x13)],'component':_0x2d5060['OFJUj'],'status':_0x31d784?'pass':_0x2d5060[_0x246f(0x14)],'message':_0x31d784?_0x2d5060['XulCE']:_0x2d5060[_0x246f(0x15)]});const {CLAUDE_CONSENT_POPUP_SCRIPT:_0x469739,CLAUDE_EXPORT_SCRIPT:_0x2dc3ec}=__ONAIROS_REQ_FUNC__(0x12);_0x574b77[_0x246f(0x12)]({'platform':_0x2d5060[_0x246f(0x16)],'component':_0x2d5060[_0x246f(0x17)],'status':_0x2dc3ec?_0x246f(0x6):_0x2d5060[_0x246f(0x14)],'message':_0x2dc3ec?_0x246f(0x18):_0x246f(0x19)});const {HINGE_CONSENT_POPUP_SCRIPT:_0x89464b,HINGE_EXPORT_SCRIPT:_0x5c4aee}=_0x2d5060[_0x246f(0x1a)](__ONAIROS_REQ_FUNC__,0x11);_0x574b77[_0x246f(0x12)]({'platform':_0x246f(0x1b),'component':_0x2d5060[_0x246f(0x17)],'status':_0x5c4aee?_0x246f(0x6):_0x2d5060[_0x246f(0x14)],'message':_0x5c4aee?'Hinge\x20scripts\x20exported\x20correctly':_0x246f(0x1c)});const {INSTAGRAM_CONSENT_POPUP_SCRIPT:_0x25de87,INSTAGRAM_EXPORT_SCRIPT:_0x5b771d}=_0x2d5060['ZxRmB'](__ONAIROS_REQ_FUNC__,0x6);_0x574b77[_0x246f(0x12)]({'platform':_0x2d5060[_0x246f(0x1d)],'component':_0x2d5060[_0x246f(0x17)],'status':_0x5b771d?_0x2d5060[_0x246f(0x1e)]:_0x246f(0x1f),'message':_0x5b771d?_0x2d5060[_0x246f(0x20)]:_0x2d5060[_0x246f(0x21)]});const {SEPHORA_CONSENT_POPUP_SCRIPT:_0x56d0dd,SEPHORA_EXPORT_SCRIPT:_0x317b56}=_0x2d5060[_0x246f(0x22)](__ONAIROS_REQ_FUNC__,0x5);_0x574b77[_0x246f(0x12)]({'platform':_0x2d5060['PBtrd'],'component':_0x2d5060['OFJUj'],'status':_0x317b56?_0x246f(0x6):_0x246f(0x1f),'message':_0x317b56?_0x2d5060[_0x246f(0x23)]:_0x2d5060['mQxPE']});const {TELEGRAM_CONSENT_POPUP_SCRIPT:_0x146879,TELEGRAM_EXPORT_SCRIPT:_0x45ff53}=__ONAIROS_REQ_FUNC__(0x4);_0x574b77[_0x246f(0x12)]({'platform':_0x246f(0x24),'component':_0x2d5060[_0x246f(0x17)],'status':_0x45ff53?_0x2d5060['ZAWSu']:_0x2d5060[_0x246f(0x14)],'message':_0x45ff53?_0x2d5060[_0x246f(0x25)]:_0x2d5060[_0x246f(0x26)]});const {isWebViewExtractionPlatform:_0x243f3b,isHingePlatform:_0x3ddb08,isInstagramPlatform:_0x2f85fc,isSephoraPlatform:_0x5f107a,isTelegramPlatform:_0x2d297c}=_0x2d5060[_0x246f(0x27)](__ONAIROS_REQ_FUNC__,0x3);_0x574b77[_0x246f(0x12)]({'platform':_0x2d5060[_0x246f(0x28)],'component':_0x2d5060['aZWbA'],'status':_0x2d5060['pZqLo'](_0x243f3b,_0x3ddb08)&&_0x2f85fc&&_0x5f107a&&_0x2d297c?'pass':_0x2d5060[_0x246f(0x14)],'message':_0x2d5060[_0x246f(0x29)]});}catch(_0x459d28){_0x2d5060['ambiQ'](_0x246f(0x2a),_0x2d5060[_0x246f(0x2b)])?_0x574b77[_0x246f(0x12)]({'platform':_0x2d5060['YzNXg'],'component':_0x2d5060[_0x246f(0x17)],'status':_0x246f(0x1f),'message':_0x246f(0x2c)+_0x459d28[_0x246f(0x2d)]}):_0x542764['log'](_0x246f(0x2e));}return _0x574b77;};function _0x246f(_0x5459f6,_0x246f20){_0x5459f6=_0x5459f6-0x0;const _0x165252=_0x5459();let _0x2ff9d3=_0x165252[_0x5459f6];return _0x2ff9d3;}export const testServiceImports=()=>{const _0x5f156f={'EHkHt':function(_0x441912,_0x37ac0a){return _0x441912+_0x37ac0a;},'BCJEj':function(_0x3e6d71,_0x9d359f){return _0x3e6d71===_0x9d359f;},'eHQef':_0x246f(0x2f),'MgbKB':'service','suKCC':_0x246f(0x1f),'ggNvJ':function(_0x1ed746,_0x351c84){return _0x1ed746(_0x351c84);},'qsmxL':'storeHingeData','UeAeM':_0x246f(0x30),'yBCnt':_0x246f(0x24),'mnYQK':_0x246f(0x31),'hbDou':'pass','XpIDc':'โ\x20Some\x20tests\x20failed!\x20Please\x20check\x20the\x20errors\x20above.','hxxHv':'extractor','TiyhQ':_0x246f(0x32),'TzqFB':function(_0x3ae6ac,_0xf40c8a){return _0x3ae6ac(_0xf40c8a);},'dlUtH':'chatgpt','IVFyE':_0x246f(0x33),'uPxlq':function(_0x101856,_0x24ed93){return _0x101856(_0x24ed93);},'FqchO':_0x246f(0x34),'zHRaK':_0x246f(0x4),'mmFCc':function(_0x3f639a,_0x4b2ac8){return _0x3f639a!==_0x4b2ac8;},'gGvlC':_0x246f(0x35),'ufYGj':_0x246f(0x1b),'lmxWg':_0x246f(0x5),'osmZB':function(_0x54d93f,_0x4fe212){return _0x54d93f===_0x4fe212;},'VAKAa':_0x246f(0x36),'YzQYv':function(_0x144b25,_0x3c5240){return _0x144b25===_0x3c5240;},'wfpnv':'Sephora\x20service\x20function\x20available','FDSrY':_0x246f(0x37),'qzqZJ':function(_0x594e31,_0x2103f3){return _0x594e31!==_0x2103f3;},'BJAIL':_0x246f(0x38),'qPVNA':_0x246f(0x39)},_0x21efc0=[];try{if(_0x5f156f[_0x246f(0x3a)](_0x5f156f[_0x246f(0x3b)],_0x5f156f[_0x246f(0x3b)])){const {storeChatGPTConversations:_0x4b899b}=_0x5f156f[_0x246f(0x3c)](__ONAIROS_REQ_FUNC__,0x7);_0x21efc0[_0x246f(0x12)]({'platform':_0x5f156f[_0x246f(0x3d)],'component':_0x5f156f[_0x246f(0x3e)],'status':_0x5f156f[_0x246f(0x3a)](typeof _0x4b899b,_0x5f156f[_0x246f(0x3f)])?_0x5f156f[_0x246f(0x40)]:_0x5f156f['suKCC'],'message':_0x5f156f[_0x246f(0x41)]});}else{const _0x56ed38=_0x279125(0x15),_0x5b23a5=_0x246f(0x42)+_0x5f156f[_0x246f(0x43)](_0x23612b[_0x246f(0x44)](0x0)[_0x246f(0x45)](),_0x53fee8['slice'](0x1))+_0x246f(0x46);_0x4191e1[_0x246f(0x12)]({'platform':_0x1575e7,'component':_0x246f(0x47),'status':_0x5f156f[_0x246f(0x3a)](typeof _0x56ed38[_0x5b23a5],_0x5f156f[_0x246f(0x3f)])?_0x246f(0x6):_0x246f(0x1f),'message':_0x246f(0x48)+_0x5b23a5+_0x246f(0x49)});}}catch(_0x94d0f){_0x21efc0[_0x246f(0x12)]({'platform':_0x5f156f[_0x246f(0x3d)],'component':_0x5f156f[_0x246f(0x3e)],'status':_0x246f(0x1f),'message':_0x246f(0x2c)+_0x94d0f[_0x246f(0x2d)]});}try{const {storeClaudeConversations:_0x3dd147}=_0x5f156f[_0x246f(0x4a)](__ONAIROS_REQ_FUNC__,0x8);_0x21efc0[_0x246f(0x12)]({'platform':_0x246f(0x4),'component':_0x5f156f[_0x246f(0x3e)],'status':typeof _0x3dd147===_0x5f156f[_0x246f(0x3f)]?_0x5f156f[_0x246f(0x40)]:_0x5f156f[_0x246f(0x4b)],'message':_0x5f156f['FqchO']});}catch(_0x17ce43){'TDJwc'!==_0x246f(0x4c)?_0x288fea['push']({'platform':_0x3bc4d0,'component':_0x5f156f[_0x246f(0x3e)],'status':_0x5f156f[_0x246f(0x4b)],'message':_0x246f(0x4d)+_0x589833[_0x246f(0x2d)]}):_0x21efc0[_0x246f(0x12)]({'platform':_0x5f156f[_0x246f(0x4e)],'component':_0x246f(0x4f),'status':_0x5f156f[_0x246f(0x4b)],'message':_0x246f(0x2c)+_0x17ce43['message']});}try{if(_0x5f156f[_0x246f(0x50)](_0x5f156f[_0x246f(0x51)],_0x5f156f[_0x246f(0x51)])){const _0x4305b9=_0x5f156f[_0x246f(0x52)](_0x23cb98,0x14),_0x447756=_0xb84087==='hinge'?_0x5f156f[_0x246f(0x53)]:_0x5f156f[_0x246f(0x3a)](_0x16b7df,_0x246f(0x5))?_0x5f156f[_0x246f(0x54)]:_0x29c8ec===_0x5f156f[_0x246f(0x55)]?_0x246f(0x56):_0x5f156f[_0x246f(0x57)];_0x2c8115[_0x246f(0x12)]({'platform':_0x21bcf1,'component':'service','status':_0x5f156f['BCJEj'](typeof _0x4305b9[_0x447756],_0x5f156f['eHQef'])?_0x5f156f[_0x246f(0x40)]:_0x5f156f[_0x246f(0x4b)],'message':_0x246f(0x58)+_0x447756+_0x246f(0x49)});}else{const {storeHingeData:_0x1eb96b}=__ONAIROS_REQ_FUNC__(0x9);_0x21efc0[_0x246f(0x12)]({'platform':_0x246f(0x1b),'component':_0x5f156f['MgbKB'],'status':_0x5f156f[_0x246f(0x3a)](typeof _0x1eb96b,_0x5f156f[_0x246f(0x3f)])?_0x5f156f[_0x246f(0x40)]:_0x5f156f['suKCC'],'message':_0x246f(0x59)});}}catch(_0x309fc6){_0x21efc0[_0x246f(0x12)]({'platform':_0x5f156f[_0x246f(0x5a)],'component':_0x5f156f[_0x246f(0x3e)],'status':_0x5f156f[_0x246f(0x4b)],'message':_0x246f(0x2c)+_0x309fc6[_0x246f(0x2d)]});}try{if(_0x5f156f[_0x246f(0x50)](_0x246f(0x5b),'CEuWz')){const {storeInstagramData:_0x11625f}=__ONAIROS_REQ_FUNC__(0xa);_0x21efc0[_0x246f(0x12)]({'platform':_0x5f156f[_0x246f(0x5c)],'component':_0x246f(0x4f),'status':_0x5f156f[_0x246f(0x5d)](typeof _0x11625f,'function')?_0x246f(0x6):_0x5f156f[_0x246f(0x4b)],'message':_0x5f156f[_0x246f(0x5e)]});}else _0x1e1382[_0x246f(0x5f)](_0x5f156f[_0x246f(0x60)]);}catch(_0x3c5ba8){_0x21efc0[_0x246f(0x12)]({'platform':_0x5f156f[_0x246f(0x5c)],'component':_0x5f156f[_0x246f(0x3e)],'status':_0x5f156f[_0x246f(0x4b)],'message':_0x246f(0x2c)+_0x3c5ba8['message']});}try{const {storeSephoraData:_0x19ede9}=_0x5f156f[_0x246f(0x4a)](__ONAIROS_REQ_FUNC__,0xb);_0x21efc0[_0x246f(0x12)]({'platform':_0x246f(0x9),'component':_0x5f156f[_0x246f(0x3e)],'status':_0x5f156f[_0x246f(0x61)](typeof _0x19ede9,_0x246f(0x2f))?_0x5f156f['hbDou']:_0x5f156f['suKCC'],'message':_0x5f156f[_0x246f(0x62)]});}catch(_0x193728){_0x21efc0[_0x246f(0x12)]({'platform':_0x246f(0x9),'component':_0x246f(0x4f),'status':_0x246f(0x1f),'message':'Import\x20error:\x20'+_0x193728[_0x246f(0x2d)]});}try{const {storeTelegramData:_0x222cda}=__ONAIROS_REQ_FUNC__(0xc);_0x21efc0[_0x246f(0x12)]({'platform':_0x5f156f[_0x246f(0x55)],'component':_0x5f156f[_0x246f(0x3e)],'status':_0x5f156f[_0x246f(0x3a)](typeof _0x222cda,_0x5f156f[_0x246f(0x3f)])?_0x5f156f[_0x246f(0x40)]:_0x5f156f[_0x246f(0x4b)],'message':_0x5f156f[_0x246f(0x63)]});}catch(_0x20d0f0){_0x5f156f[_0x246f(0x64)](_0x5f156f['BJAIL'],_0x5f156f['qPVNA'])?_0x21efc0[_0x246f(0x12)]({'platform':'telegram','component':_0x5f156f[_0x246f(0x3e)],'status':_0x5f156f[_0x246f(0x4b)],'message':_0x246f(0x2c)+_0x20d0f0[_0x246f(0x2d)]}):_0x3ad919['push']({'platform':_0xd87d21,'component':_0x5f156f[_0x246f(0x65)],'status':_0x5f156f[_0x246f(0x4b)],'message':_0x246f(0x66)+_0x498843[_0x246f(0x2d)]});}return _0x21efc0;};export const testExtractorImports=()=>{const _0x5649f4={'CZuqn':function(_0x5177eb,_0x15816a){return _0x5177eb(_0x15816a);},'Qdcjd':'hinge','MhoCM':_0x246f(0x2f),'IHhix':_0x246f(0x6),'hYyqG':'fail','FCAVq':function(_0x4913d2,_0xfb1293){return _0x4913d2(_0xfb1293);},'DtAiw':function(_0x58ce93,_0x208fd8){return _0x58ce93(_0x208fd8);},'GLehL':_0x246f(0x67),'aSCyz':_0x246f(0x68),'egErb':_0x246f(0x5),'whXqB':'Instagram\x20detection\x20correct','DutVC':_0x246f(0x69),'qcCWM':function(_0x449035,_0x380563){return _0x449035(_0x380563);},'aeTbB':_0x246f(0x9),'cIceN':function(_0x3b337c,_0x4e305e){return _0x3b337c(_0x4e305e);},'edxax':function(_0x2d5404,_0x4e6a22){return _0x2d5404(_0x4e6a22);},'yyiqr':_0x246f(0x6a),'lVgRF':_0x246f(0x6b),'TinBN':function(_0x376e5d,_0x3cd0d3){return _0x376e5d(_0x3cd0d3);},'ZgPkm':'telegram','sVpkY':function(_0x33e2e2,_0x1273d7){return _0x33e2e2(_0x1273d7);},'LRTIl':function(_0x1a753b,_0x30afd8){return _0x1a753b(_0x30afd8);},'WWQvp':_0x246f(0x6c),'wXUYm':_0x246f(0x6d),'dlUfC':function(_0x1b313b,_0xc3726){return _0x1b313b(_0xc3726);},'eSsVm':_0x246f(0x47),'HdelF':function(_0x23db91,_0x22b8ac){return _0x23db91===_0x22b8ac;},'CnXvf':_0x246f(0x6e),'cBGwd':function(_0x172be5,_0x277e9c){return _0x172be5===_0x277e9c;},'BpfKw':_0x246f(0x6f),'aYbcu':function(_0x15922d,_0xf1ef25){return _0x15922d(_0xf1ef25);},'MvMkq':_0x246f(0x70),'kBmuJ':function(_0x378558,_0x2636e2){return _0x378558(_0x2636e2);},'KHKRz':function(_0x436013,_0x475629){return _0x436013===_0x475629;},'blWEt':_0x246f(0x71),'mQmWS':function(_0xd4baf4,_0x532f94){return _0xd4baf4===_0x532f94;},'pIfWi':function(_0x3210c3,_0x1054c5){return _0x3210c3===_0x1054c5;},'KjDNu':'Telegram\x20extractor\x20hook\x20available'},_0xa557cd=[];try{const {useHingeDataExtractor:useHingeDataExtractor}=_0x5649f4['dlUfC'](__ONAIROS_REQ_FUNC__,0xd);_0xa557cd[_0x246f(0x12)]({'platform':_0x5649f4['Qdcjd'],'component':_0x5649f4[_0x246f(0x72)],'status':_0x5649f4[_0x246f(0x73)](typeof useHingeDataExtractor,_0x5649f4['MhoCM'])?'pass':_0x246f(0x1f),'message':_0x5649f4[_0x246f(0x74)]});}catch(_0x5bfe71){if(_0x5649f4[_0x246f(0x75)](_0x5649f4[_0x246f(0x76)],_0x246f(0x6f)))_0xa557cd[_0x246f(0x12)]({'platform':_0x5649f4[_0x246f(0x77)],'component':_0x5649f4['eSsVm'],'status':_0x5649f4['hYyqG'],'message':_0x246f(0x2c)+_0x5bfe71[_0x246f(0x2d)]});else{const {storeHingeData:_0x1b4e46}=_0x5649f4['CZuqn'](_0xad2a54,0x9);_0x53852d[_0x246f(0x12)]({'platform':_0x5649f4['Qdcjd'],'component':_0x246f(0x4f),'status':typeof _0x1b4e46===_0x5649f4[_0x246f(0x78)]?_0x5649f4[_0x246f(0x79)]:_0x5649f4['hYyqG'],'message':_0x246f(0x59)});}}try{const {useInstagramDataExtractor:useInstagramDataExtractor}=_0x5649f4[_0x246f(0x7a)](__ONAIROS_REQ_FUNC__,0xe);_0xa557cd[_0x246f(0x12)]({'platform':_0x5649f4['egErb'],'component':_0x5649f4[_0x246f(0x72)],'status':typeof useInstagramDataExtractor===_0x5649f4[_0x246f(0x78)]?_0x5649f4[_0x246f(0x79)]:_0x246f(0x1f),'message':_0x5649f4[_0x246f(0x7b)]});}catch(_0x3acbd8){_0xa557cd['push']({'platform':_0x5649f4[_0x246f(0x7c)],'component':_0x5649f4['eSsVm'],'status':_0x5649f4[_0x246f(0x7d)],'message':_0x246f(0x2c)+_0x3acbd8[_0x246f(0x2d)]});}try{const {useSephoraDataExtractor:useSephoraDataExtractor}=_0x5649f4[_0x246f(0x7e)](__ONAIROS_REQ_FUNC__,0xf);_0xa557cd[_0x246f(0x12)]({'platform':_0x5649f4[_0x246f(0x7f)],'component':_0x5649f4[_0x246f(0x72)],'status':_0x5649f4[_0x246f(0x80)](typeof useSephoraDataExtractor,_0x5649f4[_0x246f(0x78)])?_0x5649f4[_0x246f(0x79)]:_0x5649f4[_0x246f(0x7d)],'message':_0x5649f4[_0x246f(0x81)]});}catch(_0xd827b0){if(_0x5649f4[_0x246f(0x82)](_0x246f(0x83),_0x246f(0x84))){const {isWebViewExtractionPlatform:_0x578975,isHingePlatform:_0x36b0d8,isInstagramPlatform:_0x5f1475,isSephoraPlatform:_0x79510d,isLLMPlatform:_0x399a8}=_0x5649f4[_0x246f(0x85)](_0x4d4d54,0x2),_0x4b5381=_0x5649f4['FCAVq'](_0x36b0d8,_0x5649f4[_0x246f(0x77)])&&_0x5649f4[_0x246f(0x86)](_0x578975,_0x5649f4[_0x246f(0x77)])&&!_0x399a8(_0x5649f4['Qdcjd']);_0x1b7f67[_0x246f(0x12)]({'platform':_0x5649f4[_0x246f(0x77)],'component':_0x5649f4['GLehL'],'status':_0x4b5381?_0x5649f4[_0x246f(0x79)]:_0x5649f4['hYyqG'],'message':_0x4b5381?_0x5649f4['aSCyz']:_0x246f(0x87)});const _0x1f5b4a=_0x5649f4['FCAVq'](_0x5f1475,_0x5649f4[_0x246f(0x7c)])&&_0x578975('instagram')&&!_0x5649f4[_0x246f(0x88)](_0x399a8,_0x5649f4['egErb']);_0x27c650['push']({'platform':_0x5649f4[_0x246f(0x7c)],'component':'detection','status':_0x1f5b4a?_0x5649f4[_0x246f(0x79)]:_0x246f(0x1f),'message':_0x1f5b4a?_0x5649f4[_0x246f(0x89)]:_0x5649f4['DutVC']});const _0x1f3c13=_0x5649f4[_0x246f(0x8a)](_0x79510d,_0x5649f4[_0x246f(0x7f)])&&_0x5649f4['cIceN'](_0x578975,_0x5649f4[_0x246f(0x7f)])&&!_0x5649f4[_0x246f(0x8b)](_0x399a8,_0x5649f4['aeTbB']);_0x43a897['push']({'platform':_0x5649f4[_0x246f(0x7f)],'component':_0x5649f4[_0x246f(0x8c)],'status':_0x1f3c13?_0x5649f4[_0x246f(0x79)]:'fail','message':_0x1f3c13?_0x5649f4[_0x246f(0x8d)]:_0x5649f4[_0x246f(0x8e)]});const {isTelegramPlatform:_0x528f92}=_0x5649f4[_0x246f(0x8f)](_0x40be63,0x1),_0x10c0de=_0x5649f4[_0x246f(0x86)](_0x528f92,_0x5649f4[_0x246f(0x90)])&&_0x5649f4['sVpkY'](_0x578975,_0x5649f4['ZgPkm'])&&!_0x5649f4[_0x246f(0x91)](_0x399a8,_0x5649f4['ZgPkm']);_0x307897['push']({'platform':_0x5649f4[_0x246f(0x90)],'component':'detection','status':_0x10c0de?_0x5649f4[_0x246f(0x79)]:_0x246f(0x1f),'message':_0x10c0de?_0x5649f4['WWQvp']:_0x5649f4['wXUYm']});}else _0xa557cd[_0x246f(0x12)]({'platform':_0x246f(0x9),'component':_0x5649f4['eSsVm'],'status':_0x5649f4[_0x246f(0x7d)],'message':_0x246f(0x2c)+_0xd827b0[_0x246f(0x2d)]});}try{const {useTelegramDataExtractor:useTelegramDataExtractor}=__ONAIROS_REQ_FUNC__(0x10);_0xa557cd[_0x246f(0x12)]({'platform':_0x246f(0x24),'component':_0x246f(0x47),'status':_0x5649f4['pIfWi'](typeof useTelegramDataExtractor,'function')?_0x5649f4['IHhix']:_0x246f(0x1f),'message':_0x5649f4[_0x246f(0x92)]});}catch(_0x12faea){_0xa557cd['push']({'platform':_0x5649f4['ZgPkm'],'component':_0x5649f4[_0x246f(0x72)],'status':_0x246f(0x1f),'message':_0x246f(0x2c)+_0x12faea[_0x246f(0x2d)]});}return _0xa557cd;};export const testBackendConnectivity=async()=>{const _0x36f0a1={'wQqfz':'โ ๏ธ\x20All\x20critical\x20tests\x20passed,\x20but\x20there\x20are\x20warnings.','hhOhm':function(_0x3029f3,_0x5789ed,_0x5d9bb2){return _0x3029f3(_0x5789ed,_0x5d9bb2);},'LzvBm':function(_0x2bf65b,_0x1738e1){return _0x2bf65b(_0x1738e1);},'qVlCK':_0x246f(0x93),'ATlzB':_0x246f(0x94),'LPCXW':'pass','JkTXa':_0x246f(0x95),'HZInL':_0x246f(0x96),'CcsUE':function(_0x20d638,_0x574f3d){return _0x20d638!==_0x574f3d;},'jEMPJ':_0x246f(0x97),'pplHh':function(_0x5209de,_0x20435e,_0x452577){return _0x5209de(_0x20435e,_0x452577);},'rtWPB':'OPTIONS','wMcVX':'platform_data_endpoint','JLZQq':function(_0x420b15,_0x161c82){return _0x420b15<_0x161c82;}},_0x2da552=[];try{const _0x4d8e48=new AbortController(),_0x4ab6a3=setTimeout(()=>_0x4d8e48[_0x246f(0x98)](),0x2710),_0x5b96e5=await _0x36f0a1[_0x246f(0x99)](fetch,API_CONFIG[_0x246f(0x9a)]+'/health',{'method':'GET','signal':_0x4d8e48[_0x246f(0x9b)]});_0x36f0a1[_0x246f(0x9c)](clearTimeout,_0x4ab6a3),_0x2da552[_0x246f(0x12)]({'platform':_0x36f0a1[_0x246f(0x9d)],'component':_0x36f0a1[_0x246f(0x9e)],'status':_0x5b96e5['ok']?_0x36f0a1[_0x246f(0x9f)]:_0x36f0a1[_0x246f(0xa0)],'message':_0x5b96e5['ok']?_0x36f0a1['HZInL']:_0x246f(0xa1)+_0x5b96e5[_0x246f(0xa2)],'details':{'status':_0x5b96e5[_0x246f(0xa2)]}});}catch(_0x959c5e){_0x36f0a1[_0x246f(0xa3)](_0x36f0a1[_0x246f(0xa4)],_0x246f(0x97))?_0x305a3e[_0x246f(0x5f)](_0x36f0a1['wQqfz']):_0x2da552[_0x246f(0x12)]({'platform':_0x36f0a1[_0x246f(0x9d)],'component':_0x36f0a1['ATlzB'],'status':_0x246f(0x1f),'message':_0x246f(0xa5)+_0x959c5e[_0x246f(0x2d)]});}try{const _0x2cecd9=new AbortController(),_0xe77760=_0x36f0a1[_0x246f(0xa6)](setTimeout,()=>_0x2cecd9[_0x246f(0x98)](),0x2710),_0x5cf57c=await fetch(API_CONFIG[_0x246f(0x9a)]+_0x246f(0xa7),{'method':_0x36f0a1[_0x246f(0xa8)],'signal':_0x2cecd9[_0x246f(0x9b)]});_0x36f0a1[_0x246f(0x9c)](clearTimeout,_0xe77760),_0x2da552[_0x246f(0x12)]({'platform':_0x36f0a1[_0x246f(0x9d)],'component':_0x36f0a1['wMcVX'],'status':_0x36f0a1[_0x246f(0xa9)](_0x5cf57c[_0x246f(0xa2)],0x1f4)?_0x36f0a1[_0x246f(0x9f)]:_0x36f0a1['JkTXa'],'message':_0x246f(0xaa)+_0x5cf57c[_0x246f(0xa2)],'details':{'status':_0x5cf57c['status']}});}catch(_0x34583c){_0x2da552[_0x246f(0x12)]({'platform':_0x36f0a1[_0x246f(0x9d)],'component':_0x36f0a1[_0x246f(0xab)],'status':_0x36f0a1[_0x246f(0xa0)],'message':_0x246f(0xac)+_0x34583c[_0x246f(0x2d)]});}return _0x2da552;};export const testPlatformDetection=()=>{const _0x39d454={'OhKRO':function(_0x5c4103,_0x3a8099){return _0x5c4103(_0x3a8099);},'NLYKC':function(_0x417632,_0x421e08){return _0x417632(_0x421e08);},'muqdP':_0x246f(0x1b),'WfANj':function(_0x20b63d,_0x2c5765){return _0x20b63d(_0x2c5765);},'LhwrW':function(_0x2beed3,_0x2ce500){return _0x2beed3(_0x2ce500);},'ZEzMw':_0x246f(0x67),'ZEuqE':_0x246f(0x6),'LuRSS':_0x246f(0x1f),'Idhxc':_0x246f(0x68),'JiTCO':_0x246f(0x87),'rXSpY':function(_0x222e4e,_0x3be8d9){return _0x222e4e(_0x3be8d9);},'oRFRU':_0x246f(0x5),'yVurW':function(_0x422e38,_0x346a14){return _0x422e38(_0x346a14);},'pOLZs':_0x246f(0xad),'ZvkgS':function(_0x2a4d3f,_0x5c4b6b){return _0x2a4d3f(_0x5c4b6b);},'vsCCu':function(_0x169e69,_0x41be15){return _0x169e69(_0x41be15);},'mVLXi':_0x246f(0x9),'PjpEr':_0x246f(0x6b),'IOTvc':function(_0x7ab189,_0x28999b){return _0x7ab189(_0x28999b);},'mEhNj':function(_0x53ec42,_0x36d2c5){return _0x53ec42(_0x36d2c5);},'swlEa':_0x246f(0x24),'sccyV':_0x246f(0x6c),'StWZi':_0x246f(0x6d)},_0x47f1ff=[];try{const {isWebViewExtractionPlatform:_0x3681dc,isHingePlatform:_0x8c27cd,isInstagramPlatform:_0x254a6c,isSephoraPlatform:_0x53b2c2,isLLMPlatform:_0x20ade4}=_0x39d454[_0x246f(0xae)](__ONAIROS_REQ_FUNC__,0x2),_0x59a775=_0x39d454[_0x246f(0xaf)](_0x8c27cd,_0x39d454[_0x246f(0xb0)])&&_0x39d454[_0x246f(0xb1)](_0x3681dc,_0x39d454['muqdP'])&&!_0x39d454[_0x246f(0xb2)](_0x20ade4,_0x246f(0x1b));_0x47f1ff['push']({'platform':_0x246f(0x1b),'component':_0x39d454['ZEzMw'],'status':_0x59a775?_0x39d454['ZEuqE']:_0x39d454[_0x246f(0xb3)],'message':_0x59a775?_0x39d454['Idhxc']:_0x39d454['JiTCO']});const _0x8d05d1=_0x39d454[_0x246f(0xb4)](_0x254a6c,_0x39d454[_0x246f(0xb5)])&&_0x3681dc(_0x39d454[_0x246f(0xb5)])&&!_0x39d454['yVurW'](_0x20ade4,_0x39d454[_0x246f(0xb5)]);_0x47f1ff['push']({'platform':_0x39d454[_0x246f(0xb5)],'component':_0x39d454[_0x246f(0xb6)],'status':_0x8d05d1?_0x246f(0x6):_0x39d454[_0x246f(0xb3)],'message':_0x8d05d1?_0x39d454[_0x246f(0xb7)]:_0x246f(0x69)});const _0x5b179d=_0x53b2c2('sephora')&&_0x39d454['ZvkgS'](_0x3681dc,'sephora')&&!_0x39d454['vsCCu'](_0x20ade4,_0x39d454[_0x246f(0xb8)]);_0x47f1ff[_0x246f(0x12)]({'platform':_0x39d454[_0x246f(0xb8)],'component':_0x246f(0x67),'status':_0x5b179d?_0x39d454['ZEuqE']:_0x39d454['LuRSS'],'message':_0x5b179d?_0x246f(0x6a):_0x39d454['PjpEr']});const {isTelegramPlatform:_0x12a711}=_0x39d454[_0x246f(0xb9)](__ONAIROS_REQ_FUNC__,0x1),_0x305325=_0x39d454['WfANj'](_0x12a711,_0x246f(0x24))&&_0x39d454[_0x246f(0xba)](_0x3681dc,_0x246f(0x24))&&!_0x39d454[_0x246f(0xbb)](_0x20ade4,_0x39d454[_0x246f(0xbc)]);_0x47f1ff[_0x246f(0x12)]({'platform':_0x39d454[_0x246f(0xbc)],'component':_0x246f(0x67),'status':_0x305325?_0x39d454[_0x246f(0xbd)]:_0x39d454[_0x246f(0xb3)],'message':_0x305325?_0x39d454[_0x246f(0xbe)]:_0x39d454[_0x246f(0xbf)]});}catch(_0x566b01){_0x47f1ff[_0x246f(0x12)]({'platform':_0x246f(0xc0),'component':_0x39d454[_0x246f(0xb6)],'status':_0x246f(0x1f),'message':_0x246f(0xc1)+_0x566b01[_0x246f(0x2d)]});}return _0x47f1ff;};export const runConnectorSanityTests=async()=>{const _0x1ba8a4={'lBsSf':_0x246f(0x0),'etMkh':_0x246f(0x4f),'jRaEy':function(_0x12c75d,_0x38c8b5){return _0x12c75d===_0x38c8b5;},'loKuG':_0x246f(0x2f),'FIUUQ':'fail','LwtAd':_0x246f(0xc2),'svNhG':function(_0xfdda39){return _0xfdda39();},'PzVDi':_0x246f(0xc3),'xZVxt':function(_0x12c4b2){return _0x12c4b2();},'YVxId':_0x246f(0xc4),'memsn':_0x246f(0xc5),'zTxMq':_0x246f(0xc6),'roQBK':function(_0x4bdf4d,_0x5aef30){return _0x4bdf4d===_0x5aef30;},'asoYb':_0x246f(0xc7),'ZfVdx':_0x246f(0x6),'mNsfA':'\x0a========================================','cFsdt':function(_0x2d2349,_0x4c22e2){return _0x2d2349>_0x4c22e2;},'kGpPK':_0x246f(0xc8),'LRAJl':function(_0x19ed31,_0x25c21a){return _0x19ed31>_0x25c21a;},'rZxQW':'โ ๏ธ\x20All\x20critical\x20tests\x20passed,\x20but\x20there\x20are\x20warnings.','cJJVX':_0x246f(0x2e)};console[_0x246f(0x5f)](_0x246f(0xc9));const _0x5ddead=[];console[_0x246f(0x5f)](_0x1ba8a4[_0x246f(0xca)]),_0x5ddead[_0x246f(0x12)](..._0x1ba8a4[_0x246f(0xcb)](testWebViewScriptExports)),console['log'](_0x1ba8a4[_0x246f(0xcc)]),_0x5ddead['push'](..._0x1ba8a4[_0x246f(0xcb)](testServiceImports)),console['log'](_0x246f(0xcd)),_0x5ddead[_0x246f(0x12)](..._0x1ba8a4[_0x246f(0xce)](testExtractorImports)),console['log'](_0x1ba8a4[_0x246f(0xcf)]),_0x5ddead[_0x246f(0x12)](..._0x1ba8a4[_0x246f(0xce)](testPlatformDetection)),console['log'](_0x1ba8a4[_0x246f(0xd0)]),_0x5ddead[_0x246f(0x12)](...await _0x1ba8a4[_0x246f(0xce)](testBackendConnectivity));const _0x1f0927=_0x5ddead[_0x246f(0xd1)](_0x268d67=>_0x268d67[_0x246f(0xa2)]===_0x246f(0x6))[_0x246f(0xd2)],_0xb2ec17=_0x5ddead[_0x246f(0xd1)](_0x4d0458=>_0x4d0458['status']===_0x246f(0x1f))[_0x246f(0xd2)],_0x549623=_0x5ddead[_0x246f(0xd1)](_0x2d51a9=>_0x2d51a9['status']===_0x246f(0x95))['length'];console[_0x246f(0x5f)]('\x0a========================================'),console[_0x246f(0x5f)](_0x1ba8a4[_0x246f(0xd3)]),console[_0x246f(0x5f)]('========================================\x0a');for(const _0x7573f0 of _0x5ddead){if(_0x1ba8a4[_0x246f(0xd4)](_0x1ba8a4[_0x246f(0xd5)],_0x1ba8a4[_0x246f(0xd5)])){const _0x3567f1=_0x7573f0[_0x246f(0xa2)]===_0x1ba8a4[_0x246f(0xd6)]?'โ
':_0x1ba8a4['jRaEy'](_0x7573f0[_0x246f(0xa2)],_0x1ba8a4['FIUUQ'])?'โ':'โ ๏ธ';console[_0x246f(0x5f)](_0x3567f1+'\x20['+_0x7573f0[_0x246f(0xd7)][_0x246f(0x45)]()+']\x20'+_0x7573f0[_0x246f(0xd8)]+':\x20'+_0x7573f0[_0x246f(0x2d)]);}else{const {storeChatGPTConversations:_0x5eb66f}=_0x106ac5(0x7);_0x21338c[_0x246f(0x12)]({'platform':_0x1ba8a4[_0x246f(0xd9)],'component':_0x1ba8a4[_0x246f(0xda)],'status':_0x1ba8a4['jRaEy'](typeof _0x5eb66f,_0x1ba8a4[_0x246f(0xdb)])?'pass':_0x1ba8a4[_0x246f(0xdc)],'message':_0x246f(0x33)});}}console[_0x246f(0x5f)](_0x1ba8a4[_0x246f(0xdd)]),console[_0x246f(0x5f)](_0x246f(0xde)+_0x1f0927+'\x20passed,\x20'+_0xb2ec17+_0x246f(0xdf)+_0x549623+_0x246f(0xe0)),console['log'](_0x246f(0xe1));if(_0x1ba8a4['cFsdt'](_0xb2ec17,0x0))console[_0x246f(0x5f)](_0x1ba8a4[_0x246f(0xe2)]);else _0x1ba8a4[_0x246f(0xe3)](_0x549623,0x0)?console[_0x246f(0x5f)](_0x1ba8a4[_0x246f(0xe4)]):console[_0x246f(0x5f)](_0x1ba8a4[_0x246f(0xe5)]);return{'passed':_0x1f0927,'failed':_0xb2ec17,'warnings':_0x549623,'results':_0x5ddead};};export const testPlatformConnector=async _0x41e37e=>{const _0x30f13a={'KFytu':_0x246f(0x1f),'tKKLf':_0x246f(0x24),'UfGWP':'service','pnYsJ':function(_0x4307cf,_0x345993){return _0x4307cf(_0x345993);},'xeRAR':_0x246f(0x2f),'Urfbb':_0x246f(0x6),'OwvoI':_0x246f(0xe6),'BmMTv':function(_0x4db8f2,_0x54fcac){return _0x4db8f2(_0x54fcac);},'VZYgO':_0x246f(0xe7),'OkAcI':'Export\x20script\x20available','uzSwB':_0x246f(0xe8),'WNswB':function(_0x5d44d0,_0x1d51a3){return _0x5d44d0!==_0x1d51a3;},'zWdcM':'hZmmz','vkcJM':function(_0x22ffb3,_0x2ba625){return _0x22ffb3===_0x2ba625;},'enwij':_0x246f(0x1b),'RZXyv':'instagram','wyJHs':'storeInstagramData','QeCnF':_0x246f(0x56),'DVTYr':_0x246f(0x31),'PXOJP':function(_0x26e248,_0x8b3abc){return _0x26e248===_0x8b3abc;},'HTqkC':'lRkCR','bnJqs':_0x246f(0xe9),'XpJut':function(_0x84a099,_0x1635fd){return _0x84a099+_0x1635fd;},'xMLji':_0x246f(0x47),'TKLBn':_0x246f(0xea),'PLIrR':_0x246f(0x95)};console[_0x246f(0x5f)]('๐งช\x20Testing\x20'+_0x41e37e+_0x246f(0xeb));const _0x5f2b49=[],_0x5dea63=_0x41e37e['toLowerCase']();if(['hinge',_0x246f(0x5),_0x246f(0x9),_0x30f13a[_0x246f(0xec)]][_0x246f(0xed)](_0x5dea63)){try{const _0x35e28c=_0x30f13a[_0x246f(0xee)](__ONAIROS_REQ_FUNC__,0x0),_0x2f831d=_0x5dea63[_0x246f(0x45)]()+_0x246f(0xef),_0x1ef561=!!_0x35e28c[_0x2f831d];_0x5f2b49['push']({'platform':_0x5dea63,'component':_0x30f13a[_0x246f(0xf0)],'status':_0x1ef561?_0x246f(0x6):_0x30f13a[_0x246f(0xf1)],'message':_0x1ef561?_0x30f13a[_0x246f(0xf2)]:_0x30f13a[_0x246f(0xf3)]});}catch(_0x4d0960){_0x30f13a[_0x246f(0xf4)](_0x30f13a[_0x246f(0xf5)],_0x30f13a[_0x246f(0xf5)])?_0x4dfd6c[_0x246f(0x12)]({'platform':_0x410141,'component':'webview_script','status':_0x30f13a[_0x246f(0xf1)],'message':_0x246f(0xf6)+_0x3f797c[_0x246f(0x2d)]}):_0x5f2b49[_0x246f(0x12)]({'platform':_0x5dea63,'component':_0x30f13a['VZYgO'],'status':_0x30f13a[_0x246f(0xf1)],'message':'Script\x20import\x20failed:\x20'+_0x4d0960[_0x246f(0x2d)]});}try{const _0x30ec95=_0x30f13a['pnYsJ'](__ONAIROS_REQ_FUNC__,0x14),_0xfc5313=_0x30f13a[_0x246f(0xf7)](_0x5dea63,_0x30f13a[_0x246f(0xf8)])?_0x246f(0xf9):_0x30f13a[_0x246f(0xf7)](_0x5dea63,_0x30f13a[_0x246f(0xfa)])?_0x30f13a[_0x246f(0xfb)]:_0x30f13a['vkcJM'](_0x5dea63,_0x30f13a[_0x246f(0xec)])?_0x30f13a[_0x246f(0xfc)]:_0x30f13a[_0x246f(0xfd)];_0x5f2b49[_0x246f(0x12)]({'platform':_0x5dea63,'component':_0x30f13a[_0x246f(0xfe)],'status':_0x30f13a[_0x246f(0xff)](typeof _0x30ec95[_0xfc5313],'function')?'pass':_0x30f13a['KFytu'],'message':'Service\x20function\x20'+_0xfc5313+_0x246f(0x49)});}catch(_0x463a45){_0x30f13a[_0x246f(0xf4)](_0x30f13a[_0x246f(0x100)],_0x246f(0x101))?_0x5f2b49[_0x246f(0x12)]({'platform':_0x5dea63,'component':_0x246f(0x4f),'status':_0x30f13a[_0x246f(0xf1)],'message':'Service\x20import\x20failed:\x20'+_0x463a45[_0x246f(0x2d)]}):_0x18d7a0[_0x246f(0x12)]({'platform':_0x30f13a['tKKLf'],'component':_0x30f13a[_0x246f(0xfe)],'status':_0x246f(0x1f),'message':'Import\x20error:\x20'+_0x6d1d8a[_0x246f(0x2d)]});}try{if(_0x246f(0x102)===_0x30f13a['bnJqs']){const {storeSephoraData:_0x52fafa}=_0x30f13a[_0x246f(0x103)](_0xdfdbd4,0xb);_0x5d84ec['push']({'platform':'sephora','component':_0x30f13a['UfGWP'],'status':typeof _0x52fafa===_0x30f13a[_0x246f(0x104)]?_0x30f13a[_0x246f(0x105)]:_0x30f13a[_0x246f(0xf1)],'message':_0x30f13a[_0x246f(0x106)]});}else{const _0x3a1d2d=_0x30f13a[_0x246f(0xee)](__ONAIROS_REQ_FUNC__,0x15),_0x4d4475=_0x246f(0x42)+_0x30f13a[_0x246f(0x107)](_0x5dea63['charAt'](0x0)['toUpperCase'](),_0x5dea63['slice'](0x1))+_0x246f(0x46);_0x5f2b49['push']({'platform':_0x5dea63,'component':_0x30f13a['xMLji'],'status':typeof _0x3a1d2d[_0x4d4475]===_0x30f13a[_0x246f(0x104)]?_0x30f13a[_0x246f(0x105)]:_0x246f(0x1f),'message':_0x246f(0x48)+_0x4d4475+_0x246f(0x49)});}}catch(_0x3d8f49){_0x5f2b49['push']({'platform':_0x5dea63,'component':_0x30f13a[_0x246f(0x108)],'status':_0x30f13a[_0x246f(0xf1)],'message':_0x246f(0x66)+_0x3d8f49['message']});}}else _0x5f2b49['push']({'platform':_0x5dea63,'component':_0x30f13a['TKLBn'],'status':_0x30f13a[_0x246f(0x109)],'message':'Unknown\x20platform:\x20'+_0x41e37e+_0x246f(0x10a)});for(const _0x32c0a7 of _0x5f2b49){const _0x3bce2d=_0x30f13a[_0x246f(0xff)](_0x32c0a7[_0x246f(0xa2)],_0x30f13a[_0x246f(0x105)])?'โ
':_0x30f13a[_0x246f(0xff)](_0x32c0a7[_0x246f(0xa2)],_0x30f13a[_0x246f(0xf1)])?'โ':'โ ๏ธ';console[_0x246f(0x5f)](_0x3bce2d+'\x20'+_0x32c0a7[_0x246f(0xd8)]+':\x20'+_0x32c0a7[_0x246f(0x2d)]);}return _0x5f2b49;};function _0x5459(){const _0x11f364=['chatgpt','webview_scripts','ChatGPT\x20scripts\x20exported\x20correctly','ChatGPT\x20scripts\x20missing','claude','instagram','pass','Instagram\x20scripts\x20exported\x20correctly','Instagram\x20scripts\x20missing','sephora','Sephora\x20scripts\x20exported\x20correctly','Sephora\x20scripts\x20missing','Telegram\x20scripts\x20exported\x20correctly','Telegram\x20scripts\x20missing','utilities','platform_detection','Platform\x20detection\x20functions\x20available','ZxRmB','push','tkKlI','XdMkF','PehwT','HHdJl','OFJUj','Claude\x20scripts\x20exported\x20correctly','Claude\x20scripts\x20missing','StlGH','hinge','Hinge\x20scripts\x20missing','NaUwV','ZAWSu','fail','EWsWr','qIppy','yLvKn','tmaqZ','telegram','Bwych','GYTEY','UTPyE','cDhMF','RLfkT','XDaIb','CLkMp','Import\x20error:\x20','message','โ
\x20All\x20tests\x20passed!\x20Connectors\x20are\x20ready.','function','storeInstagramData','storeSephoraData','ndGSo','ChatGPT\x20service\x20function\x20available','Claude\x20service\x20function\x20available','oVVZq','Instagram\x20service\x20function\x20available','Telegram\x20service\x20function\x20available','HGQJH','KiDik','BCJEj','TiyhQ','TzqFB','dlUtH','MgbKB','eHQef','hbDou','IVFyE','use','EHkHt','charAt','toUpperCase','DataExtractor','extractor','Extractor\x20hook\x20','\x20available','uPxlq','suKCC','TDJwc','Service\x20import\x20failed:\x20','zHRaK','service','mmFCc','gGvlC','ggNvJ','qsmxL','UeAeM','yBCnt','storeTelegramData','mnYQK','Service\x20function\x20','Hinge\x20service\x20function\x20available','ufYGj','MzbYk','lmxWg','osmZB','VAKAa','log','XpIDc','YzQYv','wfpnv','FDSrY','qzqZJ','hxxHv','Extractor\x20import\x20failed:\x20','detection','Hinge\x20detection\x20correct','Instagram\x20detection\x20failed','Sephora\x20detection\x20correct','Sephora\x20detection\x20failed','Telegram\x20detection\x20correct','Telegram\x20detection\x20failed','Hinge\x20extractor\x20hook\x20available','bCKZc','Instagram\x20extractor\x20hook\x20available','Sephora\x20extractor\x20hook\x20available','eSsVm','HdelF','CnXvf','cBGwd','BpfKw','Qdcjd','MhoCM','IHhix','aYbcu','MvMkq','egErb','hYyqG','kBmuJ','aeTbB','KHKRz','blWEt','mQmWS','FWgnF','yrPpz','FCAVq','DtAiw','Hinge\x20detection\x20failed','CZuqn','whXqB','qcCWM','edxax','GLehL','yyiqr','lVgRF','TinBN','ZgPkm','LRTIl','KjDNu','backend','health','warning','Backend\x20health\x20check\x20passed','NUYeS','abort','hhOhm','BASE_URL','signal','LzvBm','qVlCK','ATlzB','LPCXW','JkTXa','Backend\x20returned\x20status\x20','status','CcsUE','jEMPJ','Backend\x20unreachable:\x20','pplHh','/platform-data/store','rtWPB','JLZQq','Platform\x20data\x20endpoint\x20check:\x20','wMcVX','Endpoint\x20check\x20failed\x20(may\x20require\x20auth):\x20','Instagram\x20detection\x20correct','OhKRO','NLYKC','muqdP','WfANj','LhwrW','LuRSS','rXSpY','oRFRU','ZEzMw','pOLZs','mVLXi','IOTvc','mEhNj','ZvkgS','swlEa','ZEuqE','sccyV','StWZi','all','Detection\x20test\x20error:\x20','๐\x20Testing\x20WebView\x20script\x20exports...','๐\x20Testing\x20service\x20imports...','๐\x20Testing\x20platform\x20detection...','๐\x20Testing\x20backend\x20connectivity...','๐งช\x20CONNECTOR\x20SANITY\x20TEST\x20RESULTS','gtCUm','โ\x20Some\x20tests\x20failed!\x20Please\x20check\x20the\x20errors\x20above.','๐งช\x20[CONNECTOR_TESTS]\x20Starting\x20connector\x20sanity\x20tests...\x0a','LwtAd','svNhG','PzVDi','๐\x20Testing\x20extractor\x20imports...','xZVxt','YVxId','memsn','filter','length','zTxMq','roQBK','asoYb','ZfVdx','platform','component','lBsSf','etMkh','loKuG','FIUUQ','mNsfA','๐\x20Summary:\x20','\x20failed,\x20','\x20warnings','========================================\x0a','kGpPK','LRAJl','rZxQW','cJJVX','Sephora\x20service\x20function\x20available','webview_script','Export\x20script\x20missing','xpatU','validation','\x20connector...\x0a','tKKLf','includes','BmMTv','_EXPORT_SCRIPT','VZYgO','KFytu','OkAcI','uzSwB','WNswB','zWdcM','Script\x20import\x20failed:\x20','vkcJM','enwij','storeHingeData','RZXyv','wyJHs','QeCnF','DVTYr','UfGWP','PXOJP','HTqkC','DmfRI','nReEP','pnYsJ','xeRAR','Urfbb','OwvoI','XpJut','xMLji','PLIrR','.\x20Use\x20\x27hinge\x27,\x20\x27instagram\x27,\x20\x27sephora\x27,\x20or\x20\x27telegram\x27.'];_0x5459=function(){return _0x11f364;};return _0x5459();}
|
|
28
|
+
function _0x50f9(_0x3e0707,_0x50f91a){_0x3e0707=_0x3e0707-0x0;const _0x21c049=_0x3e07();let _0x20c86f=_0x21c049[_0x3e0707];return _0x20c86f;}import{API_CONFIG}from'../config/api';function _0x3e07(){const _0x5d682c=['chatgpt','webview_scripts','fail','claude','pass','instagram','Instagram\x20scripts\x20exported\x20correctly','Instagram\x20scripts\x20missing','sephora','Sephora\x20scripts\x20missing','telegram','kCojy','push','laqAQ','tHGvs','ChatGPT\x20scripts\x20exported\x20correctly','Ksguz','Claude\x20scripts\x20exported\x20correctly','jjQCC','hinge','zgwVe','sbDDC','Hinge\x20scripts\x20exported\x20correctly','eFlIh','PtcVu','ILsbU','IzEmG','xNxYL','MoJKD','JBnTe','HUoaU','bTlxB','Telegram\x20scripts\x20missing','knQNd','rWftd','all','Import\x20error:\x20','extractor','function','Telegram\x20extractor\x20hook\x20available','ChatGPT\x20scripts\x20missing','Telegram\x20scripts\x20exported\x20correctly','utilities','platform_detection','Platform\x20detection\x20functions\x20available','Hinge\x20service\x20function\x20available','Telegram\x20service\x20function\x20available','storeInstagramData','storeTelegramData','storeSephoraData','ChatGPT\x20service\x20function\x20available','WaOAD','WRxFk','AxZcM','qQUTg','Instagram\x20service\x20function\x20available','fIrXR','YYkyl','AGUyL','VEyWs','PuBqo','LXzrm','vzqum','PalZl','GUPBo','kjRtn','HmYdw','UtfzY','VjlOE','ZQsEL','Yljyh','aMLoR','oFQsD','RCKSY','message','AfTxY','YJTLg','jZteK','dbCFr','Claude\x20service\x20function\x20available','WlGGN','TMKpA','use','qfqef','charAt','DataExtractor','mEKEK','Extractor\x20hook\x20','\x20available','baGUO','KtLOv','AFKvO','QmZiv','SSKVU','bQKSN','yToKR','opqZr','pKOAY','tUfMO','xqBIu','VluBF','pJuTZ','ZWyRv','JsKzh','nrUYn','ounnh','aZMqF','Qtsid','EalJD','HakwR','mZKnq','NUbAW','UIjtd','wfXet','llFmt','service','gGbFu','Sephora\x20service\x20function\x20available','pkAXx','storeHingeData','VaYlD','IpbtK','Service\x20function\x20','ljrfu','webview_script','Export\x20script\x20missing','Hinge\x20extractor\x20hook\x20available','GSomM','qhEyt','btwdV','wtYmW','QcnPo','UVFiR','fVfzU','yRVoH','wbyDB','stbty','ETTcZ','gYXtm','MuQxg','Instagram\x20extractor\x20hook\x20available','rUyiZ','CBMFU','aGOUt','ZNxJW','gltrf','_EXPORT_SCRIPT','pJuhQ','hSRAu','kKUIk','Hinge\x20detection\x20failed','detection','Instagram\x20detection\x20failed','Sephora\x20detection\x20correct','Sephora\x20detection\x20failed','Telegram\x20detection\x20failed','Claude\x20scripts\x20missing','Sephora\x20scripts\x20exported\x20correctly','health','backend','gTPcB','OPTIONS','platform_data_endpoint','warning','UGyAP','zceGr','BASE_URL','lkFYI','NAZJo','MjvEm','Backend\x20returned\x20status\x20','status','OfGMT','Ailly','EQOku','IbPVQ','Backend\x20unreachable:\x20','SgYdY','KNApd','ZYWTW','htZZs','dCwnv','MIkcd','ZpEdW','OQeYu','haTeJ','hHxDz','baFzP','ZdPOZ','Telegram\x20detection\x20correct','uLIBz','HFMFc','Detection\x20test\x20error:\x20','ieueH','zNwrZ','dhmqL','log','component','LQVSx','abort','VXoQG','/platform-data/store','yfBua','uGOjC','OKmNs','iKrre','Endpoint\x20check\x20failed\x20(may\x20require\x20auth):\x20','gqmEf','UYXqp','kIFNK','tGICf','yBUHf','rbNuU','UdoNM','TxdqG','yWHdh','vqUQd','cliEU','sBXKf','HwqXg','fKFyS','ZCYpP','TBAYS','qOvgi','Hinge\x20detection\x20correct','aSfdG','GZitX','SRkJr','Instagram\x20detection\x20correct','YiHTa','NlJtO','bFJww','DsSdV','ExHJJ','srMZh','๐งช\x20[CONNECTOR_TESTS]\x20Starting\x20connector\x20sanity\x20tests...\x0a','๐\x20Testing\x20WebView\x20script\x20exports...','๐\x20Testing\x20service\x20imports...','๐\x20Testing\x20extractor\x20imports...','๐\x20Testing\x20platform\x20detection...','๐\x20Testing\x20backend\x20connectivity...','\x0a========================================','๐งช\x20CONNECTOR\x20SANITY\x20TEST\x20RESULTS','========================================\x0a','CmTEK','โ\x20Some\x20tests\x20failed!\x20Please\x20check\x20the\x20errors\x20above.','WvfRk','โ ๏ธ\x20All\x20critical\x20tests\x20passed,\x20but\x20there\x20are\x20warnings.','โ
\x20All\x20tests\x20passed!\x20Connectors\x20are\x20ready.','cgVgq','DcKgr','nRpcj','kvTEb','rYztF','SwPDv','length','filter','iquhq','BZawr','YVuiX','rCuZu','avjPb','platform','toUpperCase','cZcyf','๐\x20Summary:\x20','\x20passed,\x20','\x20failed,\x20','\x20warnings','EEbPf','WGjVH','tOAHM','rqaHK','XANsM','KCSko','qwCUY','NqDfN','uLrgr','HBYVU','DwTLv','xpiUt','HRSjt','ulvKs','validation','mNYkZ','nKHhC','WkeDz','LxaCK','OPnpY','ttjtI','BIVKB','๐งช\x20Testing\x20','toLowerCase','bUYpl','vvLDz','HIaKx','KNwAA','sveLF','bffga','NBKwZ','xXgdV','vUoQI','aNgmo','IWfYF','CHCMT','eNVDl','sPtUW','TTNtN','pNdMP','WTDKA','jpbdl','JUCPJ','cNwbQ','xZMfL','ZIfHp','mnlFP','Mzova','jhztB','hXOXp','OBFux','oHfTq','Unknown\x20platform:\x20','.\x20Use\x20\x27hinge\x27,\x20\x27instagram\x27,\x20\x27sephora\x27,\x20or\x20\x27telegram\x27.','slice','oDQjC','YeukN','QLWKi','Extractor\x20import\x20failed:\x20','JgXKj','WpLCQ','nosZs','ZzUUo','jYRYh'];_0x3e07=function(){return _0x5d682c;};return _0x3e07();}export const testWebViewScriptExports=()=>{const _0x267def={'kCojy':function(_0x36683d,_0x41a863){return _0x36683d(_0x41a863);},'laqAQ':_0x50f9(0x0),'zgwVe':_0x50f9(0x1),'tHGvs':_0x50f9(0x2),'Ksguz':_0x50f9(0x3),'sbDDC':_0x50f9(0x4),'jjQCC':'Claude\x20scripts\x20missing','eFlIh':'Hinge\x20scripts\x20missing','IzEmG':function(_0x2a8d23,_0x4e6d2e){return _0x2a8d23(_0x4e6d2e);},'PtcVu':_0x50f9(0x5),'ILsbU':_0x50f9(0x6),'rfmiB':_0x50f9(0x7),'xNxYL':_0x50f9(0x8),'MoJKD':'Sephora\x20scripts\x20exported\x20correctly','JBnTe':_0x50f9(0x9),'HUoaU':_0x50f9(0xa),'bTlxB':'Telegram\x20scripts\x20exported\x20correctly','knQNd':function(_0x38adc3,_0x5d0f84){return _0x38adc3(_0x5d0f84);},'rWftd':'utilities','IEvVl':function(_0x50125f,_0x1f75c6){return _0x50125f&&_0x1f75c6;}},_0x174066=[];try{const {CHATGPT_CONSENT_POPUP_SCRIPT:_0x1da326,CHATGPT_EXPORT_SCRIPT:_0x208898}=_0x267def[_0x50f9(0xb)](__ONAIROS_REQ_FUNC__,0x13);_0x174066[_0x50f9(0xc)]({'platform':_0x267def[_0x50f9(0xd)],'component':_0x267def['zgwVe'],'status':_0x208898?_0x50f9(0x4):_0x267def[_0x50f9(0xe)],'message':_0x208898?_0x50f9(0xf):'ChatGPT\x20scripts\x20missing'});const {CLAUDE_CONSENT_POPUP_SCRIPT:_0x25cd80,CLAUDE_EXPORT_SCRIPT:_0x41eb99}=_0x267def[_0x50f9(0xb)](__ONAIROS_REQ_FUNC__,0x12);_0x174066[_0x50f9(0xc)]({'platform':_0x267def[_0x50f9(0x10)],'component':_0x50f9(0x1),'status':_0x41eb99?_0x267def['sbDDC']:_0x267def[_0x50f9(0xe)],'message':_0x41eb99?_0x50f9(0x11):_0x267def[_0x50f9(0x12)]});const {HINGE_CONSENT_POPUP_SCRIPT:_0x1857ab,HINGE_EXPORT_SCRIPT:_0x3eb11f}=__ONAIROS_REQ_FUNC__(0x11);_0x174066['push']({'platform':_0x50f9(0x13),'component':_0x267def[_0x50f9(0x14)],'status':_0x3eb11f?_0x267def[_0x50f9(0x15)]:_0x50f9(0x2),'message':_0x3eb11f?_0x50f9(0x16):_0x267def[_0x50f9(0x17)]});const {INSTAGRAM_CONSENT_POPUP_SCRIPT:_0x2d3025,INSTAGRAM_EXPORT_SCRIPT:_0x4f086b}=_0x267def['IzEmG'](__ONAIROS_REQ_FUNC__,0x6);_0x174066[_0x50f9(0xc)]({'platform':_0x267def[_0x50f9(0x18)],'component':_0x267def[_0x50f9(0x14)],'status':_0x4f086b?_0x50f9(0x4):_0x267def[_0x50f9(0xe)],'message':_0x4f086b?_0x267def[_0x50f9(0x19)]:_0x267def['rfmiB']});const {SEPHORA_CONSENT_POPUP_SCRIPT:_0x195897,SEPHORA_EXPORT_SCRIPT:_0x4d9c10}=_0x267def[_0x50f9(0x1a)](__ONAIROS_REQ_FUNC__,0x5);_0x174066['push']({'platform':_0x267def[_0x50f9(0x1b)],'component':_0x267def['zgwVe'],'status':_0x4d9c10?_0x267def[_0x50f9(0x15)]:_0x267def[_0x50f9(0xe)],'message':_0x4d9c10?_0x267def[_0x50f9(0x1c)]:_0x267def[_0x50f9(0x1d)]});const {TELEGRAM_CONSENT_POPUP_SCRIPT:_0x5b92ad,TELEGRAM_EXPORT_SCRIPT:_0x3137b1}=_0x267def[_0x50f9(0x1a)](__ONAIROS_REQ_FUNC__,0x4);_0x174066['push']({'platform':_0x267def[_0x50f9(0x1e)],'component':_0x267def['zgwVe'],'status':_0x3137b1?_0x267def[_0x50f9(0x15)]:_0x267def[_0x50f9(0xe)],'message':_0x3137b1?_0x267def[_0x50f9(0x1f)]:_0x50f9(0x20)});const {isWebViewExtractionPlatform:_0x534680,isHingePlatform:_0xfcd121,isInstagramPlatform:_0x5515ea,isSephoraPlatform:_0x49399a,isTelegramPlatform:_0x204a20}=_0x267def[_0x50f9(0x21)](__ONAIROS_REQ_FUNC__,0x3);_0x174066[_0x50f9(0xc)]({'platform':_0x267def[_0x50f9(0x22)],'component':'platform_detection','status':_0x267def['IEvVl'](_0x534680,_0xfcd121)&&_0x5515ea&&_0x49399a&&_0x204a20?'pass':_0x267def['tHGvs'],'message':'Platform\x20detection\x20functions\x20available'});}catch(_0x4217a6){_0x174066[_0x50f9(0xc)]({'platform':_0x50f9(0x23),'component':_0x267def['zgwVe'],'status':_0x267def[_0x50f9(0xe)],'message':_0x50f9(0x24)+_0x4217a6['message']});}return _0x174066;};export const testServiceImports=()=>{const _0x5d8d46={'UtfzY':function(_0x3ea3e1,_0x44da1b){return _0x3ea3e1(_0x44da1b);},'VjlOE':_0x50f9(0xa),'ZQsEL':_0x50f9(0x25),'Yljyh':_0x50f9(0x26),'GUPBo':_0x50f9(0x4),'kjRtn':_0x50f9(0x2),'aMLoR':_0x50f9(0x27),'AfTxY':'all','AFKvO':_0x50f9(0x1),'qfqef':function(_0x3acc6e,_0x57817b){return _0x3acc6e+_0x57817b;},'mEKEK':function(_0x4263b6,_0x5594ef){return _0x4263b6===_0x5594ef;},'PalZl':'chatgpt','QmZiv':_0x50f9(0x28),'SSKVU':_0x50f9(0x11),'bQKSN':'Claude\x20scripts\x20missing','yToKR':_0x50f9(0x13),'opqZr':_0x50f9(0x16),'dDLeH':'Hinge\x20scripts\x20missing','llFmt':'instagram','pKOAY':_0x50f9(0x6),'tUfMO':function(_0x59bd47,_0x4f87cd){return _0x59bd47(_0x4f87cd);},'xqBIu':'sephora','VluBF':'Sephora\x20scripts\x20exported\x20correctly','pJuTZ':_0x50f9(0x29),'ZWyRv':_0x50f9(0x20),'JsKzh':_0x50f9(0x2a),'nrUYn':_0x50f9(0x2b),'uHcbt':function(_0xa32d14,_0x3d5c8c){return _0xa32d14&&_0x3d5c8c;},'ounnh':_0x50f9(0x2c),'EalJD':_0x50f9(0x2d),'UIjtd':function(_0x4561a8,_0x5aee27){return _0x4561a8(_0x5aee27);},'dbCFr':'service','wfXet':_0x50f9(0x2e),'sXXlo':_0x50f9(0x2f),'VaYlD':_0x50f9(0x30),'IpbtK':_0x50f9(0x31),'VEyWs':function(_0x585d22,_0x3fde37){return _0x585d22===_0x3fde37;},'LXzrm':'PuBqo','vzqum':function(_0x1b567a,_0x46731a){return _0x1b567a(_0x46731a);},'WlGGN':function(_0x21b2a0,_0x46b1c1){return _0x21b2a0===_0x46b1c1;},'HmYdw':_0x50f9(0x32),'oFQsD':_0x50f9(0x33),'RCKSY':'NnGvE','HakwR':function(_0x19f187,_0x1ced85){return _0x19f187!==_0x1ced85;},'YJTLg':_0x50f9(0x34),'jZteK':_0x50f9(0x3),'TMKpA':_0x50f9(0x35),'baGUO':'lYlzB','aZMqF':function(_0x8c3002,_0x18dedb){return _0x8c3002(_0x18dedb);},'Qtsid':function(_0x3fdb9a,_0x19a518){return _0x3fdb9a===_0x19a518;},'mZKnq':'nrZKC','xKvnR':_0x50f9(0x36),'NUbAW':_0x50f9(0x37),'gGbFu':function(_0xa484d9,_0x1a8a9f){return _0xa484d9(_0x1a8a9f);},'pkAXx':_0x50f9(0x38),'ljrfu':_0x50f9(0x39),'QbTKO':_0x50f9(0x3a)},_0xb9524c=[];try{if(_0x5d8d46[_0x50f9(0x3b)](_0x50f9(0x3c),_0x5d8d46[_0x50f9(0x3d)])){const {storeChatGPTConversations:_0x5ad062}=_0x5d8d46[_0x50f9(0x3e)](__ONAIROS_REQ_FUNC__,0x7);_0xb9524c[_0x50f9(0xc)]({'platform':_0x5d8d46[_0x50f9(0x3f)],'component':'service','status':_0x5d8d46['WlGGN'](typeof _0x5ad062,_0x5d8d46['Yljyh'])?_0x5d8d46[_0x50f9(0x40)]:_0x5d8d46[_0x50f9(0x41)],'message':_0x5d8d46[_0x50f9(0x42)]});}else{const {useTelegramDataExtractor:useTelegramDataExtractor}=_0x5d8d46[_0x50f9(0x43)](_0x552445,0x10);_0x2c115a['push']({'platform':_0x5d8d46[_0x50f9(0x44)],'component':_0x5d8d46[_0x50f9(0x45)],'status':typeof useTelegramDataExtractor===_0x5d8d46[_0x50f9(0x46)]?_0x5d8d46['GUPBo']:_0x5d8d46['kjRtn'],'message':_0x5d8d46[_0x50f9(0x47)]});}}catch(_0x47e7dc){_0x5d8d46[_0x50f9(0x48)]!==_0x5d8d46[_0x50f9(0x49)]?_0xb9524c[_0x50f9(0xc)]({'platform':_0x5d8d46[_0x50f9(0x3f)],'component':_0x5d8d46['dbCFr'],'status':_0x5d8d46[_0x50f9(0x41)],'message':_0x50f9(0x24)+_0x47e7dc[_0x50f9(0x4a)]}):_0x2b8446[_0x50f9(0xc)]({'platform':_0x5d8d46[_0x50f9(0x4b)],'component':_0x5d8d46['AFKvO'],'status':_0x5d8d46[_0x50f9(0x41)],'message':_0x50f9(0x24)+_0x21e5b2['message']});}try{if(_0x5d8d46['HakwR'](_0x5d8d46[_0x50f9(0x4c)],'WRxFk'))_0x1b3610[_0x50f9(0xc)]({'platform':_0x50f9(0x13),'component':_0x5d8d46[_0x50f9(0x45)],'status':_0x50f9(0x2),'message':'Import\x20error:\x20'+_0x5f1f24[_0x50f9(0x4a)]});else{const {storeClaudeConversations:_0x135545}=_0x5d8d46['UtfzY'](__ONAIROS_REQ_FUNC__,0x8);_0xb9524c['push']({'platform':_0x5d8d46[_0x50f9(0x4d)],'component':_0x5d8d46[_0x50f9(0x4e)],'status':_0x5d8d46['WlGGN'](typeof _0x135545,_0x5d8d46[_0x50f9(0x46)])?_0x5d8d46['GUPBo']:_0x50f9(0x2),'message':_0x50f9(0x4f)});}}catch(_0x16e409){if(_0x5d8d46[_0x50f9(0x50)](_0x5d8d46[_0x50f9(0x51)],_0x5d8d46[_0x50f9(0x51)]))_0xb9524c[_0x50f9(0xc)]({'platform':_0x5d8d46['jZteK'],'component':_0x5d8d46[_0x50f9(0x4e)],'status':_0x5d8d46['kjRtn'],'message':_0x50f9(0x24)+_0x16e409[_0x50f9(0x4a)]});else{const _0x2eaaa0=_0x1b8978(0x15),_0x48b49b=_0x50f9(0x52)+_0x5d8d46[_0x50f9(0x53)](_0x233fdc[_0x50f9(0x54)](0x0)['toUpperCase'](),_0x4a8418['slice'](0x1))+_0x50f9(0x55);_0x2e0e6c[_0x50f9(0xc)]({'platform':_0x17da99,'component':_0x5d8d46[_0x50f9(0x45)],'status':_0x5d8d46[_0x50f9(0x56)](typeof _0x2eaaa0[_0x48b49b],_0x5d8d46[_0x50f9(0x46)])?_0x5d8d46[_0x50f9(0x40)]:_0x5d8d46[_0x50f9(0x41)],'message':_0x50f9(0x57)+_0x48b49b+_0x50f9(0x58)});}}try{if(_0x5d8d46[_0x50f9(0x3b)](_0x5d8d46[_0x50f9(0x59)],_0x50f9(0x5a))){const _0x29095d=[];try{const {CHATGPT_CONSENT_POPUP_SCRIPT:_0x59b9f4,CHATGPT_EXPORT_SCRIPT:_0x4d9273}=_0xb24aac(0x13);_0x29095d[_0x50f9(0xc)]({'platform':_0x5d8d46[_0x50f9(0x3f)],'component':_0x5d8d46[_0x50f9(0x5b)],'status':_0x4d9273?_0x5d8d46[_0x50f9(0x40)]:_0x5d8d46['kjRtn'],'message':_0x4d9273?_0x50f9(0xf):_0x5d8d46[_0x50f9(0x5c)]});const {CLAUDE_CONSENT_POPUP_SCRIPT:_0x22ee05,CLAUDE_EXPORT_SCRIPT:_0xc8060f}=_0x30cebb(0x12);_0x29095d[_0x50f9(0xc)]({'platform':_0x50f9(0x3),'component':'webview_scripts','status':_0xc8060f?_0x5d8d46[_0x50f9(0x40)]:_0x50f9(0x2),'message':_0xc8060f?_0x5d8d46[_0x50f9(0x5d)]:_0x5d8d46[_0x50f9(0x5e)]});const {HINGE_CONSENT_POPUP_SCRIPT:_0x865f89,HINGE_EXPORT_SCRIPT:_0x4723b7}=_0x1a2aa6(0x11);_0x29095d[_0x50f9(0xc)]({'platform':_0x5d8d46[_0x50f9(0x5f)],'component':_0x5d8d46[_0x50f9(0x5b)],'status':_0x4723b7?_0x5d8d46[_0x50f9(0x40)]:_0x5d8d46[_0x50f9(0x41)],'message':_0x4723b7?_0x5d8d46[_0x50f9(0x60)]:_0x5d8d46['dDLeH']});const {INSTAGRAM_CONSENT_POPUP_SCRIPT:_0x35c5cc,INSTAGRAM_EXPORT_SCRIPT:_0x1dd042}=_0x5d8d46[_0x50f9(0x43)](_0x2ce339,0x6);_0x29095d[_0x50f9(0xc)]({'platform':_0x5d8d46['llFmt'],'component':_0x5d8d46[_0x50f9(0x5b)],'status':_0x1dd042?_0x5d8d46['GUPBo']:_0x5d8d46[_0x50f9(0x41)],'message':_0x1dd042?_0x5d8d46[_0x50f9(0x61)]:_0x50f9(0x7)});const {SEPHORA_CONSENT_POPUP_SCRIPT:_0x2b4237,SEPHORA_EXPORT_SCRIPT:_0xc7d7f5}=_0x5d8d46[_0x50f9(0x62)](_0x4ca13b,0x5);_0x29095d[_0x50f9(0xc)]({'platform':_0x5d8d46[_0x50f9(0x63)],'component':_0x50f9(0x1),'status':_0xc7d7f5?_0x5d8d46[_0x50f9(0x40)]:_0x5d8d46[_0x50f9(0x41)],'message':_0xc7d7f5?_0x5d8d46[_0x50f9(0x64)]:_0x50f9(0x9)});const {TELEGRAM_CONSENT_POPUP_SCRIPT:_0x5930ef,TELEGRAM_EXPORT_SCRIPT:_0x1806e6}=_0x508011(0x4);_0x29095d[_0x50f9(0xc)]({'platform':_0x5d8d46[_0x50f9(0x44)],'component':_0x5d8d46[_0x50f9(0x5b)],'status':_0x1806e6?_0x5d8d46[_0x50f9(0x40)]:_0x5d8d46[_0x50f9(0x41)],'message':_0x1806e6?_0x5d8d46[_0x50f9(0x65)]:_0x5d8d46[_0x50f9(0x66)]});const {isWebViewExtractionPlatform:_0x4ca63b,isHingePlatform:_0x1615da,isInstagramPlatform:_0x3e35b4,isSephoraPlatform:_0x2c66bf,isTelegramPlatform:_0x3088f9}=_0x394d68(0x3);_0x29095d[_0x50f9(0xc)]({'platform':_0x5d8d46[_0x50f9(0x67)],'component':_0x5d8d46[_0x50f9(0x68)],'status':_0x5d8d46['uHcbt'](_0x4ca63b,_0x1615da)&&_0x3e35b4&&_0x2c66bf&&_0x3088f9?_0x5d8d46['GUPBo']:'fail','message':_0x5d8d46[_0x50f9(0x69)]});}catch(_0x52f18c){_0x29095d[_0x50f9(0xc)]({'platform':_0x5d8d46[_0x50f9(0x4b)],'component':_0x5d8d46[_0x50f9(0x5b)],'status':_0x50f9(0x2),'message':'Import\x20error:\x20'+_0x52f18c[_0x50f9(0x4a)]});}return _0x29095d;}else{const {storeHingeData:_0x1570e5}=_0x5d8d46[_0x50f9(0x6a)](__ONAIROS_REQ_FUNC__,0x9);_0xb9524c['push']({'platform':_0x50f9(0x13),'component':_0x5d8d46[_0x50f9(0x4e)],'status':_0x5d8d46[_0x50f9(0x6b)](typeof _0x1570e5,_0x5d8d46[_0x50f9(0x46)])?_0x50f9(0x4):_0x5d8d46[_0x50f9(0x41)],'message':_0x5d8d46[_0x50f9(0x6c)]});}}catch(_0xa53e38){if(_0x5d8d46[_0x50f9(0x6d)](_0x5d8d46[_0x50f9(0x6e)],_0x5d8d46[_0x50f9(0x6e)])){const {storeHingeData:_0x2d706a}=_0x5d8d46[_0x50f9(0x43)](_0x387525,0x9);_0x135f93[_0x50f9(0xc)]({'platform':'hinge','component':'service','status':_0x5d8d46[_0x50f9(0x56)](typeof _0x2d706a,_0x5d8d46[_0x50f9(0x46)])?_0x5d8d46[_0x50f9(0x40)]:'fail','message':_0x5d8d46[_0x50f9(0x6c)]});}else _0xb9524c[_0x50f9(0xc)]({'platform':_0x5d8d46[_0x50f9(0x5f)],'component':'service','status':_0x5d8d46[_0x50f9(0x41)],'message':_0x50f9(0x24)+_0xa53e38[_0x50f9(0x4a)]});}try{if(_0x50f9(0x36)===_0x5d8d46['xKvnR']){const {storeInstagramData:_0x4c383a}=_0x5d8d46['UIjtd'](__ONAIROS_REQ_FUNC__,0xa);_0xb9524c[_0x50f9(0xc)]({'platform':_0x50f9(0x5),'component':'service','status':typeof _0x4c383a===_0x5d8d46[_0x50f9(0x46)]?_0x5d8d46[_0x50f9(0x40)]:'fail','message':_0x5d8d46[_0x50f9(0x6f)]});}else{const {storeTelegramData:_0x30f881}=_0x5d8d46[_0x50f9(0x70)](_0x1ddab8,0xc);_0x4ef33e[_0x50f9(0xc)]({'platform':_0x50f9(0xa),'component':_0x5d8d46[_0x50f9(0x4e)],'status':_0x5d8d46[_0x50f9(0x56)](typeof _0x30f881,_0x5d8d46[_0x50f9(0x46)])?_0x5d8d46[_0x50f9(0x40)]:_0x50f9(0x2),'message':_0x5d8d46[_0x50f9(0x71)]});}}catch(_0x3ec573){_0xb9524c[_0x50f9(0xc)]({'platform':_0x5d8d46[_0x50f9(0x72)],'component':_0x50f9(0x73),'status':_0x5d8d46[_0x50f9(0x41)],'message':_0x50f9(0x24)+_0x3ec573[_0x50f9(0x4a)]});}try{const {storeSephoraData:_0x112865}=_0x5d8d46[_0x50f9(0x74)](__ONAIROS_REQ_FUNC__,0xb);_0xb9524c[_0x50f9(0xc)]({'platform':_0x5d8d46[_0x50f9(0x63)],'component':_0x50f9(0x73),'status':_0x5d8d46[_0x50f9(0x50)](typeof _0x112865,_0x5d8d46[_0x50f9(0x46)])?_0x50f9(0x4):_0x5d8d46[_0x50f9(0x41)],'message':_0x50f9(0x75)});}catch(_0x376203){_0xb9524c[_0x50f9(0xc)]({'platform':_0x5d8d46['xqBIu'],'component':_0x5d8d46[_0x50f9(0x4e)],'status':_0x5d8d46[_0x50f9(0x41)],'message':_0x50f9(0x24)+_0x376203[_0x50f9(0x4a)]});}try{if(_0x5d8d46[_0x50f9(0x6b)](_0x5d8d46[_0x50f9(0x76)],_0x50f9(0x38))){const {storeTelegramData:_0x1ac96c}=_0x5d8d46[_0x50f9(0x43)](__ONAIROS_REQ_FUNC__,0xc);_0xb9524c[_0x50f9(0xc)]({'platform':_0x5d8d46[_0x50f9(0x44)],'component':_0x5d8d46[_0x50f9(0x4e)],'status':typeof _0x1ac96c===_0x5d8d46['Yljyh']?_0x5d8d46[_0x50f9(0x40)]:_0x5d8d46[_0x50f9(0x41)],'message':_0x5d8d46[_0x50f9(0x71)]});}else{const _0x3b296a=_0x5a4b34(0x14),_0x217e5a=_0x5d8d46['mEKEK'](_0x27cdb0,_0x5d8d46[_0x50f9(0x5f)])?_0x50f9(0x77):_0x5d8d46[_0x50f9(0x56)](_0x22e225,_0x5d8d46['llFmt'])?_0x5d8d46['sXXlo']:_0x5d8d46[_0x50f9(0x56)](_0x236c5f,_0x50f9(0xa))?_0x5d8d46[_0x50f9(0x78)]:_0x5d8d46[_0x50f9(0x79)];_0x32b9e8[_0x50f9(0xc)]({'platform':_0x1774ed,'component':_0x5d8d46[_0x50f9(0x4e)],'status':_0x5d8d46[_0x50f9(0x56)](typeof _0x3b296a[_0x217e5a],_0x5d8d46[_0x50f9(0x46)])?_0x5d8d46[_0x50f9(0x40)]:_0x5d8d46['kjRtn'],'message':_0x50f9(0x7a)+_0x217e5a+_0x50f9(0x58)});}}catch(_0x6a3be3){_0x5d8d46[_0x50f9(0x7b)]===_0x5d8d46['QbTKO']?_0x23742a[_0x50f9(0xc)]({'platform':_0x5d8d46[_0x50f9(0x72)],'component':_0x5d8d46[_0x50f9(0x45)],'status':_0x5d8d46['kjRtn'],'message':_0x50f9(0x24)+_0x3404da[_0x50f9(0x4a)]}):_0xb9524c[_0x50f9(0xc)]({'platform':_0x5d8d46['VjlOE'],'component':_0x5d8d46[_0x50f9(0x4e)],'status':_0x5d8d46[_0x50f9(0x41)],'message':'Import\x20error:\x20'+_0x6a3be3[_0x50f9(0x4a)]});}return _0xb9524c;};export const testExtractorImports=()=>{const _0x353480={'ETTcZ':'telegram','gYXtm':'service','MuQxg':_0x50f9(0x2),'gltrf':function(_0x57e733,_0x1fdd8c){return _0x57e733(_0x1fdd8c);},'kAsoL':_0x50f9(0x7c),'fVfzU':'pass','pJuhQ':'Export\x20script\x20available','hSRAu':_0x50f9(0x7d),'qhEyt':function(_0x3da7fe,_0x317e35){return _0x3da7fe(_0x317e35);},'btwdV':'hinge','wtYmW':_0x50f9(0x25),'QcnPo':function(_0xb28fcd,_0x1baaf2){return _0xb28fcd===_0x1baaf2;},'UVFiR':_0x50f9(0x26),'yRVoH':_0x50f9(0x7e),'aGOUt':function(_0x4bbf0a,_0x4c229c){return _0x4bbf0a===_0x4c229c;},'stbty':_0x50f9(0x7f),'rUyiZ':_0x50f9(0x5),'CBMFU':_0x50f9(0x8),'ZNxJW':function(_0x2743ea,_0x1dab58){return _0x2743ea===_0x1dab58;},'ffaIq':'SFmcv','kKUIk':_0x50f9(0x27)},_0x12f78a=[];try{const {useHingeDataExtractor:useHingeDataExtractor}=_0x353480[_0x50f9(0x80)](__ONAIROS_REQ_FUNC__,0xd);_0x12f78a[_0x50f9(0xc)]({'platform':_0x353480[_0x50f9(0x81)],'component':_0x353480[_0x50f9(0x82)],'status':_0x353480[_0x50f9(0x83)](typeof useHingeDataExtractor,_0x353480[_0x50f9(0x84)])?_0x353480[_0x50f9(0x85)]:_0x353480['MuQxg'],'message':_0x353480[_0x50f9(0x86)]});}catch(_0x46bc6e){_0x353480['aGOUt'](_0x50f9(0x87),_0x353480[_0x50f9(0x88)])?_0x32d51a[_0x50f9(0xc)]({'platform':_0x353480[_0x50f9(0x89)],'component':_0x353480[_0x50f9(0x8a)],'status':_0x353480[_0x50f9(0x8b)],'message':'Import\x20error:\x20'+_0x14aed2[_0x50f9(0x4a)]}):_0x12f78a[_0x50f9(0xc)]({'platform':_0x353480[_0x50f9(0x81)],'component':_0x353480['wtYmW'],'status':_0x353480[_0x50f9(0x8b)],'message':_0x50f9(0x24)+_0x46bc6e[_0x50f9(0x4a)]});}try{const {useInstagramDataExtractor:useInstagramDataExtractor}=_0x353480['qhEyt'](__ONAIROS_REQ_FUNC__,0xe);_0x12f78a[_0x50f9(0xc)]({'platform':_0x353480['rUyiZ'],'component':_0x50f9(0x25),'status':typeof useInstagramDataExtractor===_0x353480[_0x50f9(0x84)]?_0x50f9(0x4):_0x50f9(0x2),'message':_0x50f9(0x8c)});}catch(_0x8d0ab1){_0x12f78a[_0x50f9(0xc)]({'platform':_0x353480[_0x50f9(0x8d)],'component':_0x50f9(0x25),'status':_0x353480[_0x50f9(0x8b)],'message':_0x50f9(0x24)+_0x8d0ab1[_0x50f9(0x4a)]});}try{const {useSephoraDataExtractor:useSephoraDataExtractor}=_0x353480[_0x50f9(0x80)](__ONAIROS_REQ_FUNC__,0xf);_0x12f78a[_0x50f9(0xc)]({'platform':_0x353480[_0x50f9(0x8e)],'component':_0x353480[_0x50f9(0x82)],'status':_0x353480[_0x50f9(0x8f)](typeof useSephoraDataExtractor,_0x353480[_0x50f9(0x84)])?_0x353480['fVfzU']:_0x353480[_0x50f9(0x8b)],'message':'Sephora\x20extractor\x20hook\x20available'});}catch(_0x44f129){if(_0x353480[_0x50f9(0x90)](_0x353480['ffaIq'],_0x353480['ffaIq']))_0x12f78a['push']({'platform':_0x50f9(0x8),'component':'extractor','status':_0x50f9(0x2),'message':_0x50f9(0x24)+_0x44f129[_0x50f9(0x4a)]});else{const _0x1b505d=_0x353480[_0x50f9(0x91)](_0x29fe95,0x0),_0x4ad3fc=_0x42418d['toUpperCase']()+_0x50f9(0x92),_0x45ee79=!!_0x1b505d[_0x4ad3fc];_0x2bcfef['push']({'platform':_0x5c24b9,'component':_0x353480['kAsoL'],'status':_0x45ee79?_0x353480[_0x50f9(0x85)]:_0x353480['MuQxg'],'message':_0x45ee79?_0x353480[_0x50f9(0x93)]:_0x353480[_0x50f9(0x94)]});}}try{const {useTelegramDataExtractor:useTelegramDataExtractor}=__ONAIROS_REQ_FUNC__(0x10);_0x12f78a['push']({'platform':_0x353480[_0x50f9(0x89)],'component':_0x353480[_0x50f9(0x82)],'status':typeof useTelegramDataExtractor===_0x50f9(0x26)?_0x353480[_0x50f9(0x85)]:_0x353480[_0x50f9(0x8b)],'message':_0x353480[_0x50f9(0x95)]});}catch(_0x1b493a){_0x12f78a['push']({'platform':_0x353480[_0x50f9(0x89)],'component':_0x353480[_0x50f9(0x82)],'status':_0x353480['MuQxg'],'message':_0x50f9(0x24)+_0x1b493a[_0x50f9(0x4a)]});}return _0x12f78a;};export const testBackendConnectivity=async()=>{const _0x440863={'SgYdY':function(_0x319672,_0x312000){return _0x319672(_0x312000);},'KNApd':_0x50f9(0x13),'IbPVQ':_0x50f9(0x2),'sCrln':'Hinge\x20detection\x20correct','ZYWTW':_0x50f9(0x96),'htZZs':'instagram','dCwnv':function(_0x1d909e,_0x5978e0){return _0x1d909e(_0x5978e0);},'ZdPOZ':_0x50f9(0x97),'MIkcd':'Instagram\x20detection\x20correct','ZpEdW':_0x50f9(0x98),'OQeYu':'sephora','MjvEm':_0x50f9(0x4),'udDwa':_0x50f9(0x99),'haTeJ':_0x50f9(0x9a),'hHxDz':function(_0x3439ba,_0x21b29d){return _0x3439ba(_0x21b29d);},'baFzP':_0x50f9(0xa),'uLIBz':_0x50f9(0x9b),'HFMFc':'all','ieueH':function(_0x4fde85,_0x19d092){return _0x4fde85===_0x19d092;},'gqmEf':_0x50f9(0x1),'UYXqp':_0x50f9(0xf),'vzZmu':_0x50f9(0x28),'kIFNK':function(_0x439f5d,_0x2a9013){return _0x439f5d(_0x2a9013);},'tGICf':'claude','NLCtC':_0x50f9(0x11),'nuXuM':_0x50f9(0x9c),'ujolG':_0x50f9(0x16),'yBUHf':'Hinge\x20scripts\x20missing','rbNuU':_0x50f9(0x6),'UdoNM':_0x50f9(0x7),'TxdqG':_0x50f9(0x9d),'yWHdh':_0x50f9(0x9),'lzfBB':_0x50f9(0x29),'vqUQd':_0x50f9(0x2a),'cliEU':_0x50f9(0x2b),'sBXKf':function(_0x52bda4,_0x370b8d){return _0x52bda4&&_0x370b8d;},'HwqXg':_0x50f9(0x2c),'zceGr':function(_0x2d1cb2,_0xca4df,_0x4958d1){return _0x2d1cb2(_0xca4df,_0x4958d1);},'lkFYI':function(_0x35b80b,_0x2b3762){return _0x35b80b(_0x2b3762);},'NAZJo':_0x50f9(0x9e),'gIsJi':'Backend\x20health\x20check\x20passed','OfGMT':function(_0x197a5c,_0x56a6af){return _0x197a5c!==_0x56a6af;},'Ailly':'dpyyi','oYQNT':'aDPzZ','EQOku':_0x50f9(0x9f),'dhmqL':_0x50f9(0xa0),'LQVSx':function(_0x37e377,_0x30042e,_0x3fe6c4){return _0x37e377(_0x30042e,_0x3fe6c4);},'VXoQG':function(_0x5c02aa,_0x126b71,_0x29ed13){return _0x5c02aa(_0x126b71,_0x29ed13);},'yfBua':_0x50f9(0xa1),'uGOjC':function(_0x14f400,_0x37caca){return _0x14f400(_0x37caca);},'OKmNs':_0x50f9(0xa2),'iKrre':_0x50f9(0xa3),'oBFYj':_0x50f9(0xa4)},_0x24839f=[];try{const _0x3dc804=new AbortController(),_0x532722=_0x440863[_0x50f9(0xa5)](setTimeout,()=>_0x3dc804['abort'](),0x2710),_0x3c569d=await _0x440863[_0x50f9(0xa5)](fetch,API_CONFIG[_0x50f9(0xa6)]+'/health',{'method':'GET','signal':_0x3dc804['signal']});_0x440863[_0x50f9(0xa7)](clearTimeout,_0x532722),_0x24839f[_0x50f9(0xc)]({'platform':_0x50f9(0x9f),'component':_0x440863[_0x50f9(0xa8)],'status':_0x3c569d['ok']?_0x440863[_0x50f9(0xa9)]:'warning','message':_0x3c569d['ok']?_0x440863['gIsJi']:_0x50f9(0xaa)+_0x3c569d[_0x50f9(0xab)],'details':{'status':_0x3c569d[_0x50f9(0xab)]}});}catch(_0xb10268){if(_0x440863[_0x50f9(0xac)](_0x440863[_0x50f9(0xad)],_0x440863['oYQNT']))_0x24839f[_0x50f9(0xc)]({'platform':_0x440863[_0x50f9(0xae)],'component':_0x440863[_0x50f9(0xa8)],'status':_0x440863[_0x50f9(0xaf)],'message':_0x50f9(0xb0)+_0xb10268[_0x50f9(0x4a)]});else{const _0x353161=[];try{const {isWebViewExtractionPlatform:_0x337e5b,isHingePlatform:_0x1e7361,isInstagramPlatform:_0x16e174,isSephoraPlatform:_0x3c6222,isLLMPlatform:_0x485305}=_0x440863[_0x50f9(0xb1)](_0xdbc40c,0x2),_0x1ce97b=_0x440863[_0x50f9(0xb1)](_0x1e7361,_0x440863[_0x50f9(0xb2)])&&_0x440863['SgYdY'](_0x337e5b,_0x440863[_0x50f9(0xb2)])&&!_0x440863[_0x50f9(0xb1)](_0x485305,_0x440863[_0x50f9(0xb2)]);_0x353161[_0x50f9(0xc)]({'platform':_0x440863['KNApd'],'component':_0x50f9(0x97),'status':_0x1ce97b?'pass':_0x440863['IbPVQ'],'message':_0x1ce97b?_0x440863['sCrln']:_0x440863[_0x50f9(0xb3)]});const _0x1c5941=_0x16e174(_0x440863[_0x50f9(0xb4)])&&_0x440863[_0x50f9(0xb5)](_0x337e5b,_0x440863[_0x50f9(0xb4)])&&!_0x485305(_0x50f9(0x5));_0x353161[_0x50f9(0xc)]({'platform':_0x440863['htZZs'],'component':_0x440863['ZdPOZ'],'status':_0x1c5941?_0x50f9(0x4):_0x440863['IbPVQ'],'message':_0x1c5941?_0x440863[_0x50f9(0xb6)]:_0x440863[_0x50f9(0xb7)]});const _0x35c7bb=_0x3c6222(_0x440863['OQeYu'])&&_0x440863[_0x50f9(0xb5)](_0x337e5b,_0x440863[_0x50f9(0xb8)])&&!_0x440863[_0x50f9(0xb5)](_0x485305,_0x440863[_0x50f9(0xb8)]);_0x353161[_0x50f9(0xc)]({'platform':_0x50f9(0x8),'component':_0x50f9(0x97),'status':_0x35c7bb?_0x440863[_0x50f9(0xa9)]:_0x440863[_0x50f9(0xaf)],'message':_0x35c7bb?_0x440863['udDwa']:_0x440863[_0x50f9(0xb9)]});const {isTelegramPlatform:_0xe2f5f6}=_0x440863[_0x50f9(0xb1)](_0x5f2ffc,0x1),_0x68e8bb=_0x440863[_0x50f9(0xba)](_0xe2f5f6,'telegram')&&_0x337e5b(_0x440863[_0x50f9(0xbb)])&&!_0x440863[_0x50f9(0xba)](_0x485305,_0x440863[_0x50f9(0xbb)]);_0x353161[_0x50f9(0xc)]({'platform':_0x440863['baFzP'],'component':_0x440863[_0x50f9(0xbc)],'status':_0x68e8bb?_0x440863[_0x50f9(0xa9)]:_0x440863[_0x50f9(0xaf)],'message':_0x68e8bb?_0x50f9(0xbd):_0x440863[_0x50f9(0xbe)]});}catch(_0x396391){_0x353161[_0x50f9(0xc)]({'platform':_0x440863[_0x50f9(0xbf)],'component':_0x440863[_0x50f9(0xbc)],'status':'fail','message':_0x50f9(0xc0)+_0x396391[_0x50f9(0x4a)]});}return _0x353161;}}try{if(_0x440863[_0x50f9(0xc1)](_0x50f9(0xc2),_0x440863[_0x50f9(0xc3)])){const _0x1c53b8=_0x440863[_0x50f9(0xc1)](_0x26a088[_0x50f9(0xab)],_0x440863[_0x50f9(0xa9)])?'โ
':_0x2394ef[_0x50f9(0xab)]===_0x50f9(0x2)?'โ':'โ ๏ธ';_0x24cf45[_0x50f9(0xc4)](_0x1c53b8+'\x20'+_0x2a716a[_0x50f9(0xc5)]+':\x20'+_0x1f20f2['message']);}else{const _0xacfaf=new AbortController(),_0x49984f=_0x440863[_0x50f9(0xc6)](setTimeout,()=>_0xacfaf[_0x50f9(0xc7)](),0x2710),_0xea85af=await _0x440863[_0x50f9(0xc8)](fetch,API_CONFIG[_0x50f9(0xa6)]+_0x50f9(0xc9),{'method':_0x440863[_0x50f9(0xca)],'signal':_0xacfaf['signal']});_0x440863[_0x50f9(0xcb)](clearTimeout,_0x49984f),_0x24839f[_0x50f9(0xc)]({'platform':'backend','component':_0x440863[_0x50f9(0xcc)],'status':_0xea85af['status']<0x1f4?_0x440863[_0x50f9(0xa9)]:_0x440863[_0x50f9(0xcd)],'message':'Platform\x20data\x20endpoint\x20check:\x20'+_0xea85af[_0x50f9(0xab)],'details':{'status':_0xea85af[_0x50f9(0xab)]}});}}catch(_0x20ade6){if(_0x50f9(0xa4)===_0x440863['oBFYj'])_0x24839f[_0x50f9(0xc)]({'platform':_0x50f9(0x9f),'component':_0x440863['OKmNs'],'status':_0x50f9(0xa3),'message':_0x50f9(0xce)+_0x20ade6['message']});else{const {CHATGPT_CONSENT_POPUP_SCRIPT:_0x3c6257,CHATGPT_EXPORT_SCRIPT:_0x2edd74}=_0x441965(0x13);_0x55d951[_0x50f9(0xc)]({'platform':'chatgpt','component':_0x440863[_0x50f9(0xcf)],'status':_0x2edd74?_0x440863['MjvEm']:_0x440863[_0x50f9(0xaf)],'message':_0x2edd74?_0x440863[_0x50f9(0xd0)]:_0x440863['vzZmu']});const {CLAUDE_CONSENT_POPUP_SCRIPT:_0x398dcb,CLAUDE_EXPORT_SCRIPT:_0x119957}=_0x440863[_0x50f9(0xd1)](_0x677400,0x12);_0x33d223['push']({'platform':_0x440863[_0x50f9(0xd2)],'component':_0x440863[_0x50f9(0xcf)],'status':_0x119957?_0x440863[_0x50f9(0xa9)]:_0x440863['IbPVQ'],'message':_0x119957?_0x440863['NLCtC']:_0x440863['nuXuM']});const {HINGE_CONSENT_POPUP_SCRIPT:_0x270c2e,HINGE_EXPORT_SCRIPT:_0x2f56f3}=_0x514e50(0x11);_0x13fa47[_0x50f9(0xc)]({'platform':_0x50f9(0x13),'component':_0x440863[_0x50f9(0xcf)],'status':_0x2f56f3?_0x440863['MjvEm']:_0x50f9(0x2),'message':_0x2f56f3?_0x440863['ujolG']:_0x440863[_0x50f9(0xd3)]});const {INSTAGRAM_CONSENT_POPUP_SCRIPT:_0x4d7034,INSTAGRAM_EXPORT_SCRIPT:_0x15da27}=_0x440863[_0x50f9(0xb5)](_0x4c2766,0x6);_0x51ee49['push']({'platform':_0x440863[_0x50f9(0xb4)],'component':_0x440863['gqmEf'],'status':_0x15da27?_0x440863[_0x50f9(0xa9)]:_0x440863[_0x50f9(0xaf)],'message':_0x15da27?_0x440863[_0x50f9(0xd4)]:_0x440863[_0x50f9(0xd5)]});const {SEPHORA_CONSENT_POPUP_SCRIPT:_0x3a7cc3,SEPHORA_EXPORT_SCRIPT:_0x26470c}=_0x440863['hHxDz'](_0x540a26,0x5);_0x5bafd8[_0x50f9(0xc)]({'platform':_0x440863[_0x50f9(0xb8)],'component':_0x440863[_0x50f9(0xcf)],'status':_0x26470c?_0x440863[_0x50f9(0xa9)]:_0x50f9(0x2),'message':_0x26470c?_0x440863[_0x50f9(0xd6)]:_0x440863[_0x50f9(0xd7)]});const {TELEGRAM_CONSENT_POPUP_SCRIPT:_0x57edbc,TELEGRAM_EXPORT_SCRIPT:_0x1e68f4}=_0x458d99(0x4);_0xea4c33[_0x50f9(0xc)]({'platform':_0x440863[_0x50f9(0xbb)],'component':_0x50f9(0x1),'status':_0x1e68f4?_0x440863[_0x50f9(0xa9)]:_0x440863[_0x50f9(0xaf)],'message':_0x1e68f4?_0x440863['lzfBB']:_0x50f9(0x20)});const {isWebViewExtractionPlatform:_0x306946,isHingePlatform:_0x4d52a2,isInstagramPlatform:_0x2888e0,isSephoraPlatform:_0x4c4d2e,isTelegramPlatform:_0x43261d}=_0x4d6325(0x3);_0x140093[_0x50f9(0xc)]({'platform':_0x440863[_0x50f9(0xd8)],'component':_0x440863[_0x50f9(0xd9)],'status':_0x440863[_0x50f9(0xda)](_0x306946,_0x4d52a2)&&_0x2888e0&&_0x4c4d2e&&_0x43261d?_0x50f9(0x4):_0x440863[_0x50f9(0xaf)],'message':_0x440863[_0x50f9(0xdb)]});}}return _0x24839f;};export const testPlatformDetection=()=>{const _0xd7f3a2={'fKFyS':function(_0x36e6ef,_0x4d7e1b){return _0x36e6ef(_0x4d7e1b);},'ZCYpP':_0x50f9(0x13),'TBAYS':function(_0x44d2ad,_0x1de236){return _0x44d2ad(_0x1de236);},'NlJtO':_0x50f9(0x4),'qOvgi':_0x50f9(0x2),'aSfdG':_0x50f9(0x5),'GZitX':function(_0x461b86,_0x5b909f){return _0x461b86(_0x5b909f);},'SRkJr':_0x50f9(0x97),'YiHTa':'sephora','bFJww':_0x50f9(0x99),'DsSdV':_0x50f9(0xa),'dSzhH':_0x50f9(0xbd),'ExHJJ':'Telegram\x20detection\x20failed','srMZh':'all'},_0x2c7de4=[];try{const {isWebViewExtractionPlatform:_0x54a6a9,isHingePlatform:_0x19e648,isInstagramPlatform:_0xc772a7,isSephoraPlatform:_0x2b083d,isLLMPlatform:_0x2eb724}=_0xd7f3a2[_0x50f9(0xdc)](__ONAIROS_REQ_FUNC__,0x2),_0x367fd7=_0x19e648(_0xd7f3a2[_0x50f9(0xdd)])&&_0xd7f3a2[_0x50f9(0xdc)](_0x54a6a9,_0xd7f3a2[_0x50f9(0xdd)])&&!_0xd7f3a2[_0x50f9(0xde)](_0x2eb724,_0xd7f3a2['ZCYpP']);_0x2c7de4[_0x50f9(0xc)]({'platform':_0xd7f3a2['ZCYpP'],'component':_0x50f9(0x97),'status':_0x367fd7?_0xd7f3a2['NlJtO']:_0xd7f3a2[_0x50f9(0xdf)],'message':_0x367fd7?_0x50f9(0xe0):_0x50f9(0x96)});const _0x24e636=_0xd7f3a2[_0x50f9(0xde)](_0xc772a7,_0xd7f3a2[_0x50f9(0xe1)])&&_0xd7f3a2['TBAYS'](_0x54a6a9,_0xd7f3a2[_0x50f9(0xe1)])&&!_0xd7f3a2[_0x50f9(0xe2)](_0x2eb724,_0xd7f3a2['aSfdG']);_0x2c7de4[_0x50f9(0xc)]({'platform':_0x50f9(0x5),'component':_0xd7f3a2[_0x50f9(0xe3)],'status':_0x24e636?_0xd7f3a2['NlJtO']:_0xd7f3a2[_0x50f9(0xdf)],'message':_0x24e636?_0x50f9(0xe4):_0x50f9(0x98)});const _0xf44e4c=_0x2b083d(_0xd7f3a2[_0x50f9(0xe5)])&&_0x54a6a9(_0xd7f3a2[_0x50f9(0xe5)])&&!_0xd7f3a2[_0x50f9(0xdc)](_0x2eb724,_0xd7f3a2[_0x50f9(0xe5)]);_0x2c7de4[_0x50f9(0xc)]({'platform':_0xd7f3a2['YiHTa'],'component':_0x50f9(0x97),'status':_0xf44e4c?_0xd7f3a2[_0x50f9(0xe6)]:_0x50f9(0x2),'message':_0xf44e4c?_0xd7f3a2[_0x50f9(0xe7)]:'Sephora\x20detection\x20failed'});const {isTelegramPlatform:_0x2d8fac}=_0xd7f3a2['TBAYS'](__ONAIROS_REQ_FUNC__,0x1),_0x19449b=_0x2d8fac(_0xd7f3a2[_0x50f9(0xe8)])&&_0xd7f3a2[_0x50f9(0xe2)](_0x54a6a9,_0x50f9(0xa))&&!_0x2eb724(_0xd7f3a2[_0x50f9(0xe8)]);_0x2c7de4['push']({'platform':_0xd7f3a2[_0x50f9(0xe8)],'component':_0xd7f3a2[_0x50f9(0xe3)],'status':_0x19449b?'pass':_0xd7f3a2[_0x50f9(0xdf)],'message':_0x19449b?_0xd7f3a2['dSzhH']:_0xd7f3a2[_0x50f9(0xe9)]});}catch(_0x29879e){_0x2c7de4[_0x50f9(0xc)]({'platform':_0xd7f3a2[_0x50f9(0xea)],'component':_0xd7f3a2[_0x50f9(0xe3)],'status':_0xd7f3a2['qOvgi'],'message':_0x50f9(0xc0)+_0x29879e['message']});}return _0x2c7de4;};export const runConnectorSanityTests=async()=>{const _0x4312ce={'MlnBN':function(_0x74df2c,_0x5daf1d){return _0x74df2c(_0x5daf1d);},'tOAHM':_0x50f9(0x8),'rqaHK':function(_0x29755c,_0x8095b0){return _0x29755c===_0x8095b0;},'avjPb':_0x50f9(0x2),'XANsM':'Sephora\x20extractor\x20hook\x20available','xpiUt':_0x50f9(0x9f),'WCqom':_0x50f9(0xa2),'HRSjt':'warning','cgVgq':_0x50f9(0xeb),'DcKgr':_0x50f9(0xec),'nRpcj':function(_0x4ef870){return _0x4ef870();},'Gcjsz':_0x50f9(0xed),'kvTEb':_0x50f9(0xee),'rYztF':_0x50f9(0xef),'SwPDv':_0x50f9(0xf0),'cZcyf':_0x50f9(0xf1),'iquhq':_0x50f9(0xf2),'BZawr':_0x50f9(0xf3),'YVuiX':function(_0x43db18,_0x38ffde){return _0x43db18===_0x38ffde;},'rCuZu':_0x50f9(0x4),'acgkz':function(_0x7abb7f,_0xe33066){return _0x7abb7f===_0xe33066;},'ilXfw':function(_0x268f10,_0x394aed){return _0x268f10>_0x394aed;},'EEbPf':function(_0x3f42f7,_0x494ea3){return _0x3f42f7!==_0x494ea3;},'WGjVH':_0x50f9(0xf4),'KCSko':_0x50f9(0xf5),'qwCUY':function(_0x2a50c3,_0x3c500e){return _0x2a50c3>_0x3c500e;},'NqDfN':function(_0x12acf0,_0x4edb60){return _0x12acf0!==_0x4edb60;},'HBYVU':_0x50f9(0xf6),'DwTLv':_0x50f9(0xf7),'ulvKs':_0x50f9(0xf8)};console[_0x50f9(0xc4)](_0x4312ce[_0x50f9(0xf9)]);const _0x2fc2ca=[];console[_0x50f9(0xc4)](_0x4312ce[_0x50f9(0xfa)]),_0x2fc2ca['push'](..._0x4312ce[_0x50f9(0xfb)](testWebViewScriptExports)),console[_0x50f9(0xc4)](_0x4312ce['Gcjsz']),_0x2fc2ca[_0x50f9(0xc)](...testServiceImports()),console['log'](_0x4312ce[_0x50f9(0xfc)]),_0x2fc2ca[_0x50f9(0xc)](..._0x4312ce[_0x50f9(0xfb)](testExtractorImports)),console[_0x50f9(0xc4)](_0x4312ce[_0x50f9(0xfd)]),_0x2fc2ca['push'](..._0x4312ce[_0x50f9(0xfb)](testPlatformDetection)),console[_0x50f9(0xc4)](_0x4312ce[_0x50f9(0xfe)]),_0x2fc2ca[_0x50f9(0xc)](...await _0x4312ce[_0x50f9(0xfb)](testBackendConnectivity));const _0x65e86a=_0x2fc2ca['filter'](_0x380cba=>_0x380cba[_0x50f9(0xab)]===_0x50f9(0x4))[_0x50f9(0xff)],_0x436878=_0x2fc2ca[_0x50f9(0x100)](_0x34ce30=>_0x34ce30[_0x50f9(0xab)]===_0x50f9(0x2))[_0x50f9(0xff)],_0x2ee6b8=_0x2fc2ca['filter'](_0x114a62=>_0x114a62[_0x50f9(0xab)]===_0x50f9(0xa3))[_0x50f9(0xff)];console[_0x50f9(0xc4)](_0x4312ce['cZcyf']),console['log'](_0x4312ce[_0x50f9(0x101)]),console[_0x50f9(0xc4)](_0x4312ce[_0x50f9(0x102)]);for(const _0x271978 of _0x2fc2ca){const _0x1d3fce=_0x4312ce[_0x50f9(0x103)](_0x271978[_0x50f9(0xab)],_0x4312ce[_0x50f9(0x104)])?'โ
':_0x4312ce['acgkz'](_0x271978[_0x50f9(0xab)],_0x4312ce[_0x50f9(0x105)])?'โ':'โ ๏ธ';console[_0x50f9(0xc4)](_0x1d3fce+'\x20['+_0x271978[_0x50f9(0x106)][_0x50f9(0x107)]()+']\x20'+_0x271978[_0x50f9(0xc5)]+':\x20'+_0x271978[_0x50f9(0x4a)]);}console[_0x50f9(0xc4)](_0x4312ce[_0x50f9(0x108)]),console[_0x50f9(0xc4)](_0x50f9(0x109)+_0x65e86a+_0x50f9(0x10a)+_0x436878+_0x50f9(0x10b)+_0x2ee6b8+_0x50f9(0x10c)),console[_0x50f9(0xc4)](_0x4312ce[_0x50f9(0x102)]);if(_0x4312ce['ilXfw'](_0x436878,0x0)){if(_0x4312ce[_0x50f9(0x10d)](_0x50f9(0xf4),_0x4312ce[_0x50f9(0x10e)])){const {useSephoraDataExtractor:useSephoraDataExtractor}=_0x4312ce['MlnBN'](_0x5d9ceb,0xf);_0x439fd9['push']({'platform':_0x4312ce[_0x50f9(0x10f)],'component':'extractor','status':_0x4312ce[_0x50f9(0x110)](typeof useSephoraDataExtractor,'function')?_0x50f9(0x4):_0x4312ce[_0x50f9(0x105)],'message':_0x4312ce[_0x50f9(0x111)]});}else console[_0x50f9(0xc4)](_0x4312ce[_0x50f9(0x112)]);}else _0x4312ce[_0x50f9(0x113)](_0x2ee6b8,0x0)?_0x4312ce[_0x50f9(0x114)](_0x50f9(0x115),_0x4312ce[_0x50f9(0x116)])?console[_0x50f9(0xc4)](_0x4312ce[_0x50f9(0x117)]):_0x52e1ce[_0x50f9(0xc)]({'platform':_0x4312ce[_0x50f9(0x118)],'component':_0x4312ce['WCqom'],'status':_0x4312ce[_0x50f9(0x119)],'message':_0x50f9(0xce)+_0x2a2338[_0x50f9(0x4a)]}):console[_0x50f9(0xc4)](_0x4312ce[_0x50f9(0x11a)]);return{'passed':_0x65e86a,'failed':_0x436878,'warnings':_0x2ee6b8,'results':_0x2fc2ca};};export const testPlatformConnector=async _0x3c2da0=>{const _0x4a10a7={'NBKwZ':_0x50f9(0x4),'sPtUW':function(_0x4a42bc,_0x5c38d7){return _0x4a42bc===_0x5c38d7;},'aNgmo':'fail','htWOl':function(_0xaa5064,_0x4077e1){return _0xaa5064(_0x4077e1);},'eNVDl':_0x50f9(0x0),'WcPZc':'ChatGPT\x20service\x20function\x20available','JUCPJ':'โ\x20Some\x20tests\x20failed!\x20Please\x20check\x20the\x20errors\x20above.','jhztB':_0x50f9(0xf7),'OBFux':_0x50f9(0x11b),'oHfTq':_0x50f9(0xa3),'KtVOz':_0x50f9(0x25),'oDQjC':_0x50f9(0x26),'JHpWH':'Hinge\x20extractor\x20hook\x20available','bffga':function(_0x39c157,_0x336dca){return _0x39c157(_0x336dca);},'nosZs':_0x50f9(0x3),'ZIfHp':_0x50f9(0x73),'ZzUUo':function(_0x2e9ecd,_0x472bfe){return _0x2e9ecd===_0x472bfe;},'rlMDr':'Claude\x20service\x20function\x20available','cNwbQ':_0x50f9(0x13),'bUYpl':'instagram','vvLDz':_0x50f9(0x8),'HIaKx':'telegram','FoMuY':function(_0x26386f,_0x2ffcc3){return _0x26386f===_0x2ffcc3;},'KNwAA':'sveLF','xXgdV':'Export\x20script\x20available','vUoQI':_0x50f9(0x7d),'IWfYF':function(_0x31ed1f,_0x246f45){return _0x31ed1f!==_0x246f45;},'CHCMT':_0x50f9(0x11c),'TTNtN':_0x50f9(0x7c),'pNdMP':function(_0x49d102,_0x188ee2){return _0x49d102===_0x188ee2;},'WTDKA':_0x50f9(0x11d),'Qautu':function(_0xac6286,_0x5f65e5){return _0xac6286===_0x5f65e5;},'xZMfL':function(_0xd7b8fc,_0x15cf27){return _0xd7b8fc===_0x15cf27;},'sghzG':_0x50f9(0x31),'xBLjS':function(_0x38d15,_0x30fe67){return _0x38d15===_0x30fe67;},'mnlFP':function(_0x63d987,_0x43a908){return _0x63d987===_0x43a908;},'Mzova':_0x50f9(0x11e),'wvcXr':_0x50f9(0x11f),'hXOXp':_0x50f9(0x120),'ETyPZ':_0x50f9(0x121),'GWjPg':function(_0xc45264,_0x1baba0){return _0xc45264+_0x1baba0;},'YeukN':function(_0x372d0a,_0x33e735){return _0x372d0a!==_0x33e735;},'QLWKi':_0x50f9(0x122),'jYRYh':function(_0x166110,_0x431682){return _0x166110===_0x431682;}};console['log'](_0x50f9(0x123)+_0x3c2da0+'\x20connector...\x0a');const _0x19c825=[],_0x525aad=_0x3c2da0[_0x50f9(0x124)]();if([_0x4a10a7['cNwbQ'],_0x4a10a7[_0x50f9(0x125)],_0x4a10a7[_0x50f9(0x126)],_0x4a10a7[_0x50f9(0x127)]]['includes'](_0x525aad)){try{if(_0x4a10a7['FoMuY'](_0x4a10a7[_0x50f9(0x128)],_0x50f9(0x129))){const _0x57c1b8=_0x4a10a7[_0x50f9(0x12a)](__ONAIROS_REQ_FUNC__,0x0),_0x52ea19=_0x525aad[_0x50f9(0x107)]()+_0x50f9(0x92),_0x535c1a=!!_0x57c1b8[_0x52ea19];_0x19c825[_0x50f9(0xc)]({'platform':_0x525aad,'component':_0x50f9(0x7c),'status':_0x535c1a?_0x4a10a7[_0x50f9(0x12b)]:_0x50f9(0x2),'message':_0x535c1a?_0x4a10a7[_0x50f9(0x12c)]:_0x4a10a7[_0x50f9(0x12d)]});}else{const _0x5e700c=_0x544a73[_0x50f9(0xab)]===_0x4a10a7[_0x50f9(0x12b)]?'โ
':_0x4a10a7['sPtUW'](_0x3130a8['status'],_0x4a10a7[_0x50f9(0x12e)])?'โ':'โ ๏ธ';_0x37f8a1['log'](_0x5e700c+'\x20['+_0x4c1570['platform'][_0x50f9(0x107)]()+']\x20'+_0x57e08a[_0x50f9(0xc5)]+':\x20'+_0x45037f[_0x50f9(0x4a)]);}}catch(_0x431def){if(_0x4a10a7[_0x50f9(0x12f)](_0x4a10a7[_0x50f9(0x130)],_0x50f9(0x11c))){const {storeChatGPTConversations:_0x4af602}=_0x4a10a7['htWOl'](_0x399092,0x7);_0x5cd05f[_0x50f9(0xc)]({'platform':_0x4a10a7[_0x50f9(0x131)],'component':_0x50f9(0x73),'status':_0x4a10a7[_0x50f9(0x132)](typeof _0x4af602,'function')?_0x4a10a7['NBKwZ']:_0x4a10a7['aNgmo'],'message':_0x4a10a7['WcPZc']});}else _0x19c825['push']({'platform':_0x525aad,'component':_0x4a10a7[_0x50f9(0x133)],'status':_0x50f9(0x2),'message':'Script\x20import\x20failed:\x20'+_0x431def[_0x50f9(0x4a)]});}try{if(_0x4a10a7[_0x50f9(0x134)](_0x4a10a7[_0x50f9(0x135)],_0x50f9(0x136)))_0x31f513['log'](_0x4a10a7[_0x50f9(0x137)]);else{const _0x2357a8=__ONAIROS_REQ_FUNC__(0x14),_0x261b65=_0x4a10a7[_0x50f9(0x132)](_0x525aad,_0x4a10a7[_0x50f9(0x138)])?_0x50f9(0x77):_0x4a10a7['Qautu'](_0x525aad,_0x4a10a7[_0x50f9(0x125)])?_0x50f9(0x2f):_0x4a10a7[_0x50f9(0x139)](_0x525aad,_0x4a10a7['HIaKx'])?_0x50f9(0x30):_0x4a10a7['sghzG'];_0x19c825[_0x50f9(0xc)]({'platform':_0x525aad,'component':_0x4a10a7[_0x50f9(0x13a)],'status':_0x4a10a7['xBLjS'](typeof _0x2357a8[_0x261b65],_0x4a10a7['oDQjC'])?_0x4a10a7[_0x50f9(0x12b)]:_0x4a10a7[_0x50f9(0x12e)],'message':_0x50f9(0x7a)+_0x261b65+_0x50f9(0x58)});}}catch(_0x3d8dc8){_0x4a10a7[_0x50f9(0x13b)](_0x4a10a7[_0x50f9(0x13c)],_0x4a10a7['wvcXr'])?_0x2d0e07['log'](_0x4a10a7[_0x50f9(0x13d)]):_0x19c825[_0x50f9(0xc)]({'platform':_0x525aad,'component':_0x50f9(0x73),'status':_0x50f9(0x2),'message':'Service\x20import\x20failed:\x20'+_0x3d8dc8[_0x50f9(0x4a)]});}try{if(_0x4a10a7[_0x50f9(0x13e)]===_0x4a10a7['ETyPZ'])_0x1b451a['push']({'platform':_0x812b9d,'component':_0x4a10a7[_0x50f9(0x13f)],'status':_0x4a10a7[_0x50f9(0x140)],'message':_0x50f9(0x141)+_0x5512de+_0x50f9(0x142)});else{const _0x457887=_0x4a10a7['htWOl'](__ONAIROS_REQ_FUNC__,0x15),_0x4d5090=_0x50f9(0x52)+_0x4a10a7['GWjPg'](_0x525aad[_0x50f9(0x54)](0x0)[_0x50f9(0x107)](),_0x525aad[_0x50f9(0x143)](0x1))+_0x50f9(0x55);_0x19c825[_0x50f9(0xc)]({'platform':_0x525aad,'component':_0x50f9(0x25),'status':typeof _0x457887[_0x4d5090]===_0x4a10a7[_0x50f9(0x144)]?_0x50f9(0x4):_0x4a10a7[_0x50f9(0x12e)],'message':_0x50f9(0x57)+_0x4d5090+'\x20available'});}}catch(_0x5a30c9){if(_0x4a10a7[_0x50f9(0x145)](_0x4a10a7[_0x50f9(0x146)],_0x4a10a7['QLWKi'])){const {useHingeDataExtractor:useHingeDataExtractor}=_0x28cee7(0xd);_0x7c72ed[_0x50f9(0xc)]({'platform':_0x50f9(0x13),'component':_0x4a10a7['KtVOz'],'status':typeof useHingeDataExtractor===_0x4a10a7['oDQjC']?_0x4a10a7[_0x50f9(0x12b)]:'fail','message':_0x4a10a7['JHpWH']});}else _0x19c825[_0x50f9(0xc)]({'platform':_0x525aad,'component':_0x4a10a7['KtVOz'],'status':_0x50f9(0x2),'message':_0x50f9(0x147)+_0x5a30c9[_0x50f9(0x4a)]});}}else _0x19c825['push']({'platform':_0x525aad,'component':_0x50f9(0x11b),'status':_0x4a10a7[_0x50f9(0x140)],'message':'Unknown\x20platform:\x20'+_0x3c2da0+_0x50f9(0x142)});for(const _0x153799 of _0x19c825){if(_0x50f9(0x148)===_0x50f9(0x149)){const {storeClaudeConversations:_0x2f1e55}=_0x4a10a7['bffga'](_0x1a674c,0x8);_0x7c8360['push']({'platform':_0x4a10a7[_0x50f9(0x14a)],'component':_0x4a10a7['ZIfHp'],'status':_0x4a10a7[_0x50f9(0x14b)](typeof _0x2f1e55,_0x50f9(0x26))?'pass':'fail','message':_0x4a10a7['rlMDr']});}else{const _0x3902bd=_0x4a10a7['ZzUUo'](_0x153799[_0x50f9(0xab)],_0x4a10a7[_0x50f9(0x12b)])?'โ
':_0x4a10a7[_0x50f9(0x14c)](_0x153799['status'],_0x4a10a7[_0x50f9(0x12e)])?'โ':'โ ๏ธ';console[_0x50f9(0xc4)](_0x3902bd+'\x20'+_0x153799[_0x50f9(0xc5)]+':\x20'+_0x153799[_0x50f9(0x4a)]);}}return _0x19c825;};
|