@onairos/react-native 3.6.8 โ 3.6.9
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/README.md +423 -423
- package/lib/commonjs/api/index.js +1 -1
- package/lib/commonjs/assets/images/Checkbox.svg +3 -3
- package/lib/commonjs/assets/images/EnochE.svg +19 -19
- package/lib/commonjs/assets/images/Personalityprofile.svg +3 -3
- package/lib/commonjs/assets/images/Personalitytraits.svg +3 -3
- package/lib/commonjs/assets/images/Userpreferences.svg +3 -3
- package/lib/commonjs/assets/images/arrow.svg +20 -20
- package/lib/commonjs/assets/images/basicproficon.svg +43 -43
- package/lib/commonjs/assets/images/basicprofile.svg +3 -3
- package/lib/commonjs/assets/images/checkmark.svg +4 -4
- package/lib/commonjs/assets/images/contentanalysis.svg +3 -3
- package/lib/commonjs/assets/images/contenticon.svg +23 -23
- package/lib/commonjs/assets/images/personalityicon.svg +18 -18
- package/lib/commonjs/assets/images/x-close.svg +3 -3
- 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/PLATFORM_APIS.md +559 -0
- package/lib/commonjs/config/api.js +1 -1
- package/lib/commonjs/config/telegramConfig.js +8 -0
- package/lib/commonjs/config/webchangelog/md +607 -0
- 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/SDK_API_KEY_VALIDATION.md +421 -421
- package/lib/commonjs/services/apiClient.js +1 -1
- package/lib/commonjs/services/apiKeyService.js +99 -99
- package/lib/commonjs/services/authService.js +72 -72
- 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 +20 -20
- 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/assets/images/Checkbox.svg +3 -3
- package/lib/module/assets/images/EnochE.svg +19 -19
- package/lib/module/assets/images/Personalityprofile.svg +3 -3
- package/lib/module/assets/images/Personalitytraits.svg +3 -3
- package/lib/module/assets/images/Userpreferences.svg +3 -3
- package/lib/module/assets/images/arrow.svg +20 -20
- package/lib/module/assets/images/basicproficon.svg +43 -43
- package/lib/module/assets/images/basicprofile.svg +3 -3
- package/lib/module/assets/images/checkmark.svg +4 -4
- package/lib/module/assets/images/contentanalysis.svg +3 -3
- package/lib/module/assets/images/contenticon.svg +23 -23
- package/lib/module/assets/images/personalityicon.svg +18 -18
- package/lib/module/assets/images/x-close.svg +3 -3
- 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/PLATFORM_APIS.md +559 -0
- package/lib/module/config/api.js +1 -1
- package/lib/module/config/telegramConfig.js +8 -0
- package/lib/module/config/webchangelog/md +607 -0
- 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/SDK_API_KEY_VALIDATION.md +421 -421
- package/lib/module/services/apiClient.js +1 -1
- package/lib/module/services/apiKeyService.js +99 -99
- package/lib/module/services/authService.js +72 -72
- 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 +20 -20
- 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 +172 -172
|
@@ -1 +1 @@
|
|
|
1
|
-
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=_0x2eb0(0x0),IOS_CLIENT_ID='1030678346906-lovkuds2ouqmoc8eu5qpo98spa6edv4o.apps.googleusercontent.com',configureGoogleSignInForRefreshTokens=()=>{const _0x5d4106={'gmNim':_0x2eb0(0x1),'kLDmN':_0x2eb0(0x2),'GprBX':_0x2eb0(0x3)};GoogleSignin[_0x2eb0(0x4)]({'webClientId':WEB_CLIENT_ID,'iosClientId':IOS_CLIENT_ID,'offlineAccess':!![],'forceCodeForRefreshToken':!![],'scopes':[_0x5d4106[_0x2eb0(0x5)],_0x5d4106[_0x2eb0(0x6)],_0x2eb0(0x7),_0x5d4106[_0x2eb0(0x8)]],'hostedDomain':'','accountName':''});};function _0x2eb0(_0x357c57,_0x2eb047){_0x357c57=_0x357c57-0x0;const _0x1bb79f=_0x357c();let _0xdcdcd8=_0x1bb79f[_0x357c57];return _0xdcdcd8;}function _0x357c(){const _0x4d59d7=['1030678346906-lovkuds2ouqmoc8eu5qpo98spa6edv4o.apps.googleusercontent.com','https://www.googleapis.com/auth/youtube.readonly','openid','email','configure','gmNim','kLDmN','profile','GprBX','temporary\x20access\x20token\x20mode','๐\x20YouTube\x20migration\x20check:','๐\x20User\x20using\x20temporary\x20mode\x20-\x20connection\x20working\x20correctly','๐ง\x20User\x20needs\x20YouTube\x20migration\x20for\x20refresh\x20token','Current\x20user\x20server\x20auth\x20code','ccpmD','tJMXC','FDTBR','โ
\x20YouTube\x20connection\x20fully\x20working\x20with\x20refresh\x20tokens','nUoVj','AVSry','nDCpS','SBIMz','validation','fVPEy','isTemporaryMode','BrzrA','temporaryMode','enabled','rmhcm','message','dFnkL','needsReconnection','hasRefreshToken','log','dWEzL','FTsIn','qIMRt','iJBCO','BASE_URL','/youtube/validate-connection/','json','success','WIfzX','SbVOR','includes','jLRWn','UOeEd','bhdnx','qxOOa','โ ๏ธ\x20[MIGRATION\x20WARNING]\x20SHOW\x20WARNING\x20-\x20genuinely\x20old\x20connection\x20needs\x20update','error','โ\x20Error\x20checking\x20YouTube\x20migration\x20status:','โ ๏ธ\x20No\x20refresh\x20capability\x20but\x20training\x20can\x20proceed','โ ๏ธ\x20YouTube\x20connected\x20but\x20needs\x20migration','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?','Skip\x20for\x20Now','default','pGGaf','RZEBe','HBgMe','BsMbx','full','vdWmw','dSWHh','limited','qjoDP','โ\x20YouTube\x20connection\x20status\x20unclear','none','โ\x20No\x20YouTube\x20connection\x20found','QcDzC','โ\x20Error\x20getting\x20YouTube\x20connection\x20status:','aSBqB','gWTKa','uItFk','sJrgs','zVHBd','tiYAm','xYeXV','WlDio','โ
\x20[MIGRATION]\x20YouTube\x20connection\x20working\x20properly\x20-\x20no\x20migration\x20needed','โ
\x20Training\x20will\x20work,\x20but\x20connection\x20expires\x20in\x20~1\x20hour','temporary','oHRGg','uUPsl','VsaWj','wkvTp','lkDab','bFSEx','UBHRD','vEbzi','MzlUY','FGoSw','BshXd','BLgoS','SInuL','alert','fBIRt','ncjrQ','cancel','Upgrade\x20Now','lsMca','FkgTW','daflJ','KgrWY','UsFJr','cbkyK','qakOS','LuGfe','โ\x20[MIGRATION\x20WARNING]\x20Error\x20checking\x20migration\x20warning\x20status:','โ
\x20Token\x20cache\x20cleared','๐\x20Initiating\x20sign-in\x20-\x20consent\x20screen\x20should\x20appear...','None','Ccavn','Available','lvVgl','\x20\x20\x202.\x20forceCodeForRefreshToken:\x20true\x20is\x20missing','\x20\x20\x201.\x20offlineAccess:\x20true\x20is\x20missing\x20from\x20configuration','๐ก\x20This\x20usually\x20means:','โ
\x20Got\x20refresh\x20token\x20after\x20consent:','...','๐\x20Refresh\x20token\x20source:','onairos_jwt_token','auth_token','โ ๏ธ\x20No\x20authentication\x20token\x20found\x20for\x20YouTube\x20migration','migration_token_placeholder','YouTube\x20Channel','๐ค\x20Sending\x20migration\x20payload\x20to\x20backend...','your-api-key','โ
\x20YouTube\x20migration\x20successful','EqhVT','Unknown\x20error','๐\x20Starting\x20YouTube\x20migration\x20for\x20user:','signOut','OfZyc','accessToken','signIn','getTokens','ggwcx','serverAuthCode','yfvJt','NKCPy','zgjts','YUkFh','lKFYl','puBQT','XhGGf','idToken','aZdsW','KCHId','FMhuH','cWvhb','qlchX','xzIAd','GUgzg','gKCvV','split','WEcny','aWNTT','lhBXK','DsLqe','QKoHy','substring','Cdbpt','getItem','KdGfL','enoch_token','ZOOne','warn','JuFKU','nVxOz','Mykne','user','name','BpaGl','QLiVa','leUhD','/youtube/native-auth','HbUXe','Bearer\x20','qWqzq','DdXjw','zzOEQ','โ\x20YouTube\x20migration\x20failed:','nchrU','KItBM','nUEsP','โ
\x20YouTube\x20connected\x20with\x20refresh\x20tokens','ufnfD','โ\x20Failed\x20to\x20track\x20migration\x20attempt:','ASzHS','jQIce','/youtube/migration-status','stringify','snIAm','toISOString','mhKWK','Server\x20auth\x20code\x20from\x20sign-in','โน๏ธ\x20User\x20declined\x20YouTube\x20migration','๐ซ\x20[MIGRATION\x20WARNING]\x20NO\x20WARNING\x20-\x20user\x20is\x20in\x20temporary\x20mode\x20(working\x20correctly)','โ
\x20[MIGRATION\x20WARNING]\x20NO\x20WARNING\x20-\x20connection\x20is\x20working\x20properly','๐\x20[MIGRATION\x20WARNING]\x20Checking\x20if\x20user\x20should\x20see\x20migration\x20warning:','tkRLJ','๐\x20[MIGRATION\x20WARNING]\x20Status\x20check:','bSSfH','zcbOa','ecnCH','ezUCg','oZwyR','IXOYq','KqcLO','eITeD','HVxug','jqpwv','connectedAt','BbVXl','YouTube\x20Upgraded!\x20โ
','PLETb','EnOqJ','lgzLA','wpWKp','dchXk','fcmYd','phjza','KbEcE','fkYjO','hasAccessToken','MnYeB','Upgrade\x20Failed\x20โ','YouTube\x20connection\x20upgrade\x20failed.\x20Please\x20try\x20again\x20later\x20or\x20contact\x20support\x20if\x20the\x20problem\x20persists.','1|4|3|5|0|2','qSket','๐\x20Checking\x20YouTube\x20connection\x20for\x20user:','๐ซ\x20[MIGRATION]\x20NO\x20MIGRATION\x20NEEDED\x20-\x20user\x20connection\x20is\x20working\x20correctly','โ
\x20[MIGRATION]\x20User\x20can\x20proceed\x20with\x20training\x20normally','Ywfqm','bjyhH','zFtOD','WyPNs','โ\x20Error\x20in\x20YouTube\x20connection\x20check:','OLQcg','ILfxQ','AlRQO','bDKbh','๐ง\x20[MIGRATION]\x20User\x20needs\x20YouTube\x20migration\x20for\x20refresh\x20token\x20(genuinely\x20old\x20connection)','dtkbz','qhEfz','NjSYi','kUxts','jQxuc','Ddfow','YXpTu','dLgrY','sfJlT','LAuRb','AQbTT','eyGOE','XCPUp','wTgqy','wwgCY','ycJYd','gDvDa','CXniA','GtbXZ','ZxXpG','fLyzM','KHJJx'];_0x357c=function(){return _0x4d59d7;};return _0x357c();}export const checkYouTubeMigrationNeeded=async _0x2ed48c=>{const _0x1b73a3={'SBIMz':function(_0x2b1e22,_0x41f2d1){return _0x2b1e22===_0x41f2d1;},'VBaNL':function(_0xb9b362,_0x5969ee){return _0xb9b362===_0x5969ee;},'fVPEy':function(_0x2ade12,_0x961281){return _0x2ade12===_0x961281;},'WxVys':function(_0x1b5020,_0x122595){return _0x1b5020===_0x122595;},'BrzrA':function(_0x228dfc,_0x397727){return _0x228dfc===_0x397727;},'rmhcm':function(_0xf97d5b,_0x419af8){return _0xf97d5b===_0x419af8;},'dFnkL':_0x2eb0(0x9),'dWEzL':_0x2eb0(0xa),'FTsIn':function(_0x419f08,_0x463b0c){return _0x419f08===_0x463b0c;},'qIMRt':_0x2eb0(0xb),'gABoY':'โ ๏ธ\x20No\x20refresh\x20capability\x20but\x20training\x20can\x20proceed','iJBCO':_0x2eb0(0xc),'bhdnx':_0x2eb0(0xd),'nUoVj':function(_0x2f2c5a,_0x1fe878){return _0x2f2c5a===_0x1fe878;},'AVSry':_0x2eb0(0xe),'nDCpS':'ZIDap','WIfzX':function(_0xf7161c,_0x9812){return _0xf7161c===_0x9812;},'llkEY':function(_0x49f369,_0x3afb8a){return _0x49f369===_0x3afb8a;},'SbVOR':function(_0x53e086,_0x4e1b54){return _0x53e086===_0x4e1b54;},'jLRWn':function(_0x12aa63,_0x3cc0f7){return _0x12aa63!==_0x3cc0f7;},'UOeEd':_0x2eb0(0xf),'HaIMu':_0x2eb0(0x10),'qxOOa':_0x2eb0(0x11)};try{if(_0x1b73a3[_0x2eb0(0x12)](_0x1b73a3[_0x2eb0(0x13)],_0x1b73a3[_0x2eb0(0x14)])){var _0x2fb77a,_0x3a4cc1,_0x430110;const _0x48f1f5=_0x1b73a3[_0x2eb0(0x15)](_0x1b73a3['VBaNL'](_0x2fb77a=_0x1195c6[_0x2eb0(0x16)],null)||_0x1b73a3[_0x2eb0(0x17)](_0x2fb77a,void 0x0)?void 0x0:_0x2fb77a[_0x2eb0(0x18)],!![])||_0x1b73a3['WxVys'](_0x1b73a3[_0x2eb0(0x19)](_0x3a4cc1=_0x25bf9f[_0x2eb0(0x1a)],null)||_0x1b73a3['SBIMz'](_0x3a4cc1,void 0x0)?void 0x0:_0x3a4cc1[_0x2eb0(0x1b)],!![])||_0x1b73a3[_0x2eb0(0x1c)](_0x4c0580[_0x2eb0(0x18)],!![])||_0x12e08b['message']&&_0x3b196a[_0x2eb0(0x1d)]['includes'](_0x1b73a3[_0x2eb0(0x1e)]),_0x46b20c=_0x6efc58[_0x2eb0(0x16)][_0x2eb0(0x1f)],_0x2060b8=_0x1eac11['validation'][_0x2eb0(0x20)];_0x8a05ff[_0x2eb0(0x21)](_0x1b73a3[_0x2eb0(0x22)],{'username':_0xd3ed93,'needsReconnection':_0x46b20c,'hasRefreshToken':_0x2060b8,'isTemporaryMode':_0x48f1f5,'temporaryModeEnabled':_0x1b73a3[_0x2eb0(0x23)](_0x430110=_0x100172[_0x2eb0(0x1a)],null)||_0x1b73a3['BrzrA'](_0x430110,void 0x0)?void 0x0:_0x430110[_0x2eb0(0x1b)],'message':_0x464cdb[_0x2eb0(0x1d)]});if(_0x48f1f5)return _0x4bee70[_0x2eb0(0x21)](_0x1b73a3[_0x2eb0(0x24)]),_0x2127f0[_0x2eb0(0x21)](_0x1b73a3['gABoY']),![];else return _0x46b20c?(_0x5a357f[_0x2eb0(0x21)](_0x1b73a3[_0x2eb0(0x25)]),!![]):(_0x33209d[_0x2eb0(0x21)](_0x2eb0(0x11)),![]);}else{const _0x120ab7=await fetch(API_CONFIG[_0x2eb0(0x26)]+_0x2eb0(0x27)+_0x2ed48c),_0x33096a=await _0x120ab7[_0x2eb0(0x28)]();if(_0x33096a[_0x2eb0(0x29)]&&_0x33096a['validation']){var _0xd2ff69,_0x70314,_0x51c26f;const _0x35560a=_0x1b73a3[_0x2eb0(0x2a)](_0x1b73a3['llkEY'](_0xd2ff69=_0x33096a['validation'],null)||_0xd2ff69===void 0x0?void 0x0:_0xd2ff69[_0x2eb0(0x18)],!![])||(_0x1b73a3[_0x2eb0(0x2b)](_0x70314=_0x33096a['temporaryMode'],null)||_0x70314===void 0x0?void 0x0:_0x70314['enabled'])===!![]||_0x33096a[_0x2eb0(0x18)]===!![]||_0x33096a[_0x2eb0(0x1d)]&&_0x33096a[_0x2eb0(0x1d)][_0x2eb0(0x2c)](_0x1b73a3['dFnkL']),_0x11babb=_0x33096a[_0x2eb0(0x16)][_0x2eb0(0x1f)],_0x28fc68=_0x33096a[_0x2eb0(0x16)][_0x2eb0(0x20)];console['log'](_0x2eb0(0xa),{'username':_0x2ed48c,'needsReconnection':_0x11babb,'hasRefreshToken':_0x28fc68,'isTemporaryMode':_0x35560a,'temporaryModeEnabled':_0x1b73a3['nUoVj'](_0x51c26f=_0x33096a[_0x2eb0(0x1a)],null)||_0x1b73a3['rmhcm'](_0x51c26f,void 0x0)?void 0x0:_0x51c26f[_0x2eb0(0x1b)],'message':_0x33096a['message']});if(_0x35560a)return console[_0x2eb0(0x21)](_0x1b73a3[_0x2eb0(0x24)]),console[_0x2eb0(0x21)](_0x1b73a3['gABoY']),![];else{if(_0x11babb){if(_0x1b73a3[_0x2eb0(0x2d)](_0x1b73a3['UOeEd'],_0x1b73a3[_0x2eb0(0x2e)]))_0x1ccc13=_0x28292a['serverAuthCode'],_0x10a0f7=_0x1b73a3[_0x2eb0(0x2f)];else return console[_0x2eb0(0x21)](_0x1b73a3[_0x2eb0(0x25)]),!![];}else return _0x1b73a3['jLRWn']('pcVgR',_0x1b73a3['HaIMu'])?(console[_0x2eb0(0x21)](_0x1b73a3[_0x2eb0(0x30)]),![]):(_0x5634b9[_0x2eb0(0x21)](_0x2eb0(0x31)),!![]);}}return![];}}catch(_0x2c86ac){return console[_0x2eb0(0x32)](_0x2eb0(0x33),_0x2c86ac),![];}};export const getYouTubeConnectionStatus=async _0x88fa7f=>{const _0x459fe6={'XZRZG':_0x2eb0(0xb),'wkvTp':_0x2eb0(0x34),'MzlUY':_0x2eb0(0x33),'kbnwy':_0x2eb0(0x35),'fBIRt':_0x2eb0(0x36),'ncjrQ':_0x2eb0(0x37),'vbdBe':_0x2eb0(0x38),'lsMca':_0x2eb0(0x39),'aSBqB':function(_0x2bf8b1,_0xfd1ccf){return _0x2bf8b1(_0xfd1ccf);},'gWTKa':'๐\x20Complete\x20YouTube\x20status\x20response:','xYeXV':function(_0x1af9bc,_0x23f1f4){return _0x1af9bc!==_0x23f1f4;},'IHUue':_0x2eb0(0x3a),'uItFk':'gGcBX','sJrgs':function(_0x1c5d13,_0x126848){return _0x1c5d13===_0x126848;},'zVHBd':function(_0x4b3645,_0xaf3de2){return _0x4b3645===_0xaf3de2;},'tiYAm':function(_0x5e748c,_0x4e9d80){return _0x5e748c===_0x4e9d80;},'WlDio':_0x2eb0(0x3b),'oHRGg':function(_0x1ce23f,_0x5c76e7){return _0x1ce23f===_0x5c76e7;},'uUPsl':_0x2eb0(0x3c),'VsaWj':_0x2eb0(0x3d),'lkDab':'โ
\x20YouTube\x20connected\x20with\x20refresh\x20tokens','bFSEx':_0x2eb0(0x3e),'UBHRD':_0x2eb0(0x3f),'vEbzi':_0x2eb0(0x40),'QmEnZ':_0x2eb0(0x41),'FGoSw':function(_0x1a10d9,_0x1a0141){return _0x1a10d9===_0x1a0141;},'BshXd':_0x2eb0(0x42),'BLgoS':_0x2eb0(0x43),'SInuL':_0x2eb0(0x44),'FkgTW':_0x2eb0(0x45),'daflJ':_0x2eb0(0x46),'ENAeX':_0x2eb0(0x47),'UsFJr':function(_0x2dc528,_0x3ee419){return _0x2dc528(_0x3ee419);}};try{const _0x4f1c9e=await _0x459fe6[_0x2eb0(0x48)](fetch,API_CONFIG[_0x2eb0(0x26)]+_0x2eb0(0x27)+_0x88fa7f),_0x70281f=await _0x4f1c9e[_0x2eb0(0x28)]();console['log'](_0x459fe6[_0x2eb0(0x49)],_0x70281f);if(_0x70281f[_0x2eb0(0x29)]&&_0x70281f[_0x2eb0(0x16)]){if(_0x459fe6['xYeXV'](_0x459fe6['IHUue'],_0x459fe6[_0x2eb0(0x4a)])){var _0x5d77d7,_0x2c111a;const _0xd9be92=_0x459fe6[_0x2eb0(0x4b)](_0x459fe6[_0x2eb0(0x4b)](_0x5d77d7=_0x70281f[_0x2eb0(0x16)],null)||_0x5d77d7===void 0x0?void 0x0:_0x5d77d7[_0x2eb0(0x18)],!![])||_0x459fe6[_0x2eb0(0x4b)](_0x459fe6[_0x2eb0(0x4b)](_0x2c111a=_0x70281f[_0x2eb0(0x1a)],null)||_0x459fe6[_0x2eb0(0x4c)](_0x2c111a,void 0x0)?void 0x0:_0x2c111a[_0x2eb0(0x1b)],!![])||_0x459fe6[_0x2eb0(0x4d)](_0x70281f[_0x2eb0(0x18)],!![])||_0x70281f['message']&&_0x70281f[_0x2eb0(0x1d)][_0x2eb0(0x2c)](_0x2eb0(0x9)),_0x2c458f=_0x459fe6[_0x2eb0(0x4d)](_0x70281f['validation'][_0x2eb0(0x20)],!![]),_0xbea3ff=_0x459fe6[_0x2eb0(0x4c)](_0x70281f[_0x2eb0(0x16)][_0x2eb0(0x1f)],!![]);if(_0xd9be92)return _0x459fe6[_0x2eb0(0x4e)](_0x459fe6[_0x2eb0(0x4f)],_0x459fe6[_0x2eb0(0x4f)])?(_0x3c4cbc[_0x2eb0(0x21)](_0x2eb0(0x50)),!![]):(console[_0x2eb0(0x21)]('๐\x20YouTube\x20connected\x20in\x20temporary\x20mode'),console[_0x2eb0(0x21)](_0x2eb0(0x51)),{'isReady':!![],'mode':_0x2eb0(0x52),'needsMigration':![],'trainingReady':!![],'details':_0x70281f});else{if(_0x2c458f)return _0x459fe6[_0x2eb0(0x53)](_0x459fe6[_0x2eb0(0x54)],_0x459fe6[_0x2eb0(0x55)])?(_0x22b87d[_0x2eb0(0x21)](_0x459fe6['XZRZG']),_0x2c8f9b[_0x2eb0(0x21)](_0x459fe6[_0x2eb0(0x56)]),![]):(console[_0x2eb0(0x21)](_0x459fe6[_0x2eb0(0x57)]),{'isReady':!![],'mode':_0x459fe6[_0x2eb0(0x58)],'needsMigration':![],'trainingReady':!![],'details':_0x70281f});else return _0xbea3ff?_0x459fe6[_0x2eb0(0x59)]===_0x459fe6[_0x2eb0(0x5a)]?(_0x2aae7c[_0x2eb0(0x32)](_0x459fe6[_0x2eb0(0x5b)],_0x3c3456),![]):(console['log']('โ ๏ธ\x20YouTube\x20connected\x20but\x20needs\x20migration'),{'isReady':![],'mode':_0x459fe6['QmEnZ'],'needsMigration':!![],'trainingReady':![],'details':_0x70281f}):_0x459fe6[_0x2eb0(0x5c)](_0x459fe6[_0x2eb0(0x5d)],_0x2eb0(0x42))?(console['log'](_0x459fe6[_0x2eb0(0x5e)]),{'isReady':![],'mode':_0x459fe6[_0x2eb0(0x5f)],'needsMigration':![],'trainingReady':![],'details':_0x70281f}):(_0x2b7eda[_0x2eb0(0x21)](_0x459fe6['kbnwy']),{'isReady':![],'mode':'limited','needsMigration':!![],'trainingReady':![],'details':_0x21207f});}}else return new _0x37ddb9(_0x5b8e63=>{Alert[_0x2eb0(0x60)](_0x459fe6[_0x2eb0(0x61)],_0x459fe6[_0x2eb0(0x62)],[{'text':_0x459fe6['vbdBe'],'style':_0x2eb0(0x63),'onPress':()=>_0x5b8e63(![])},{'text':_0x2eb0(0x64),'style':_0x459fe6[_0x2eb0(0x65)],'onPress':()=>_0x5b8e63(!![])}]);});}return console[_0x2eb0(0x21)](_0x459fe6[_0x2eb0(0x66)]),{'isReady':![],'mode':_0x459fe6[_0x2eb0(0x5f)],'needsMigration':![],'trainingReady':![],'details':_0x70281f};}catch(_0x34cea5){if(_0x459fe6[_0x2eb0(0x4c)](_0x459fe6[_0x2eb0(0x67)],_0x2eb0(0x68)))_0x22ef9a['warn']('โ ๏ธ\x20No\x20authentication\x20token\x20found\x20for\x20YouTube\x20migration'),_0x506e7c='migration_token_placeholder';else return console[_0x2eb0(0x32)](_0x459fe6['ENAeX'],_0x34cea5),{'isReady':![],'mode':_0x459fe6[_0x2eb0(0x5f)],'needsMigration':![],'trainingReady':![],'details':{'error':_0x34cea5 instanceof Error?_0x34cea5[_0x2eb0(0x1d)]:_0x459fe6[_0x2eb0(0x69)](String,_0x34cea5)}};}};const showYouTubeMigrationPrompt=async()=>{const _0x1ac551={'cbkyK':_0x2eb0(0x36),'qakOS':_0x2eb0(0x38),'LuGfe':_0x2eb0(0x39)};return new Promise(_0x226b1a=>{Alert[_0x2eb0(0x60)](_0x1ac551[_0x2eb0(0x6a)],'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?',[{'text':_0x1ac551[_0x2eb0(0x6b)],'style':_0x2eb0(0x63),'onPress':()=>_0x226b1a(![])},{'text':_0x2eb0(0x64),'style':_0x1ac551[_0x2eb0(0x6c)],'onPress':()=>_0x226b1a(!![])}]);});},forceYouTubeReconnection=async _0xb22913=>{const _0x2b7406={'YUkFh':'โ\x20YouTube\x20connection\x20status\x20unclear','lKFYl':'none','GUgzg':_0x2eb0(0x6d),'cEWmJ':_0x2eb0(0x3e),'OfZyc':'โ
\x20Signed\x20out\x20-\x20consent\x20cache\x20cleared','YCsmD':_0x2eb0(0x6e),'UwMLm':'โน๏ธ\x20No\x20token\x20cache\x20to\x20clear','hmXnp':_0x2eb0(0x6f),'ggwcx':_0x2eb0(0x70),'yfvJt':function(_0x274d8b,_0x31a52f){return _0x274d8b!==_0x31a52f;},'NKCPy':'UCewF','njuoT':_0x2eb0(0x71),'zgjts':'Server\x20auth\x20code\x20from\x20sign-in','puBQT':_0x2eb0(0xd),'XhGGf':'๐\x20Token\x20Analysis:','aZdsW':_0x2eb0(0x72),'KCHId':function(_0x4947e4,_0x39b623){return _0x4947e4===_0x39b623;},'FMhuH':function(_0x23466e,_0x3ecf54){return _0x23466e===_0x3ecf54;},'cWvhb':function(_0x140a8a,_0x3fc483){return _0x140a8a===_0x3fc483;},'qlchX':'NLrOg','xzIAd':_0x2eb0(0x73),'gKCvV':'1|5|3|0|4|2','WEcny':_0x2eb0(0x74),'aWNTT':'โ\x20No\x20refresh\x20token\x20received\x20-\x20Google\x20Console\x20configuration\x20may\x20be\x20incorrect','JNsfK':_0x2eb0(0x75),'cBITw':'\x20\x20\x203.\x20User\x20did\x20not\x20grant\x20offline\x20access\x20permission','lhBXK':_0x2eb0(0x76),'DsLqe':_0x2eb0(0x77),'QKoHy':function(_0x5c90eb,_0x4cb292){return _0x5c90eb+_0x4cb292;},'kzpSc':_0x2eb0(0x78),'Cdbpt':_0x2eb0(0x79),'KdGfL':_0x2eb0(0x7a),'ZOOne':_0x2eb0(0x7b),'JuFKU':_0x2eb0(0x7c),'nVxOz':_0x2eb0(0x7d),'cgwiu':'youtube','Mykne':function(_0x334add,_0x2c2ce3){return _0x334add===_0x2c2ce3;},'BpaGl':_0x2eb0(0x7e),'QLiVa':function(_0x1c8b9f,_0x1408af){return _0x1c8b9f===_0x1408af;},'XxXTY':function(_0x276f7b,_0x16a49a){return _0x276f7b===_0x16a49a;},'leUhD':_0x2eb0(0x7f),'HbUXe':_0x2eb0(0x80),'qWqzq':_0x2eb0(0x81),'DdXjw':'โ\x20Backend\x20rejected\x20YouTube\x20migration:','nchrU':function(_0x418ccb,_0xf02c30,_0x4dd0bd,_0x20b94b){return _0x418ccb(_0xf02c30,_0x4dd0bd,_0x20b94b);},'zzOEQ':_0x2eb0(0x82),'tbTXv':'biLKO','KItBM':function(_0x57bcd7,_0x30ffbe){return _0x57bcd7 instanceof _0x30ffbe;},'nUEsP':_0x2eb0(0x83)};try{var _0x49d22a,_0x32aa2c,_0x4f39d6,_0x2fd596;console['log'](_0x2eb0(0x84),_0xb22913),configureGoogleSignInForRefreshTokens(),await GoogleSignin[_0x2eb0(0x85)](),console[_0x2eb0(0x21)](_0x2b7406[_0x2eb0(0x86)]);try{const _0x2590c9=await GoogleSignin['getTokens']();_0x2590c9['accessToken']&&(await GoogleSignin['clearCachedAccessToken'](_0x2590c9[_0x2eb0(0x87)]),console[_0x2eb0(0x21)](_0x2b7406['YCsmD']));}catch(_0x5246e0){console[_0x2eb0(0x21)](_0x2b7406['UwMLm']);}await GoogleSignin['hasPlayServices'](),console[_0x2eb0(0x21)](_0x2b7406['hmXnp']);const _0x542efc=await GoogleSignin[_0x2eb0(0x88)](),_0x129c73=await GoogleSignin[_0x2eb0(0x89)](),_0x2d9356=await GoogleSignin['getCurrentUser']();let _0x4083a7=null,_0x3b5fa6=_0x2b7406[_0x2eb0(0x8a)];if(_0x542efc[_0x2eb0(0x8b)]){if(_0x2b7406[_0x2eb0(0x8c)](_0x2b7406[_0x2eb0(0x8d)],_0x2b7406['njuoT']))_0x4083a7=_0x542efc[_0x2eb0(0x8b)],_0x3b5fa6=_0x2b7406[_0x2eb0(0x8e)];else return _0x51be25['log'](_0x2b7406[_0x2eb0(0x8f)]),{'isReady':![],'mode':_0x2b7406[_0x2eb0(0x90)],'needsMigration':![],'trainingReady':![],'details':_0x5106d5};}else _0x2d9356!==null&&_0x2d9356!==void 0x0&&_0x2d9356[_0x2eb0(0x8b)]&&(_0x4083a7=_0x2d9356[_0x2eb0(0x8b)],_0x3b5fa6=_0x2b7406[_0x2eb0(0x91)]);console[_0x2eb0(0x21)](_0x2b7406[_0x2eb0(0x92)],{'hasAccessToken':!!_0x129c73[_0x2eb0(0x87)],'hasIdToken':!!_0x129c73[_0x2eb0(0x93)],'hasServerAuthCode':!!_0x542efc['serverAuthCode'],'hasCurrentUserAuthCode':!!(_0x2d9356!==null&&_0x2d9356!==void 0x0&&_0x2d9356[_0x2eb0(0x8b)]),'refreshTokenSource':_0x3b5fa6,'finalRefreshToken':_0x4083a7?_0x2b7406[_0x2eb0(0x94)]:'MISSING!','userEmail':_0x2b7406[_0x2eb0(0x95)](_0x49d22a=_0x542efc['user'],null)||_0x2b7406[_0x2eb0(0x96)](_0x49d22a,void 0x0)?void 0x0:_0x49d22a[_0x2eb0(0x3)]});if(!_0x4083a7){if(_0x2b7406[_0x2eb0(0x97)](_0x2b7406[_0x2eb0(0x98)],_0x2b7406[_0x2eb0(0x99)]))return _0x19a00b[_0x2eb0(0x32)](_0x2b7406[_0x2eb0(0x9a)],_0x82e5e7),![];else{const _0x14d630=_0x2b7406[_0x2eb0(0x9b)][_0x2eb0(0x9c)]('|');let _0x3a0107=0x0;while(!![]){switch(_0x14d630[_0x3a0107++]){case'0':console[_0x2eb0(0x32)](_0x2b7406[_0x2eb0(0x9d)]);continue;case'1':console[_0x2eb0(0x32)](_0x2b7406[_0x2eb0(0x9e)]);continue;case'2':return![];case'3':console['error'](_0x2b7406['JNsfK']);continue;case'4':console[_0x2eb0(0x32)](_0x2b7406['cBITw']);continue;case'5':console[_0x2eb0(0x32)](_0x2b7406[_0x2eb0(0x9f)]);continue;}break;}}}console['log'](_0x2b7406[_0x2eb0(0xa0)],_0x2b7406[_0x2eb0(0xa1)](_0x4083a7[_0x2eb0(0xa2)](0x0,0x14),_0x2b7406['kzpSc'])),console[_0x2eb0(0x21)](_0x2b7406[_0x2eb0(0xa3)],_0x3b5fa6);let _0x1e6368=await AsyncStorage[_0x2eb0(0xa4)](_0x2b7406[_0x2eb0(0xa5)])||await AsyncStorage[_0x2eb0(0xa4)](_0x2eb0(0xa6))||await AsyncStorage[_0x2eb0(0xa4)](_0x2b7406[_0x2eb0(0xa7)]);!_0x1e6368&&(console[_0x2eb0(0xa8)](_0x2b7406[_0x2eb0(0xa9)]),_0x1e6368=_0x2b7406[_0x2eb0(0xaa)]);const _0x133501={'session':{'username':_0xb22913,'platform':_0x2b7406['cgwiu'],'channelName':(_0x2b7406[_0x2eb0(0xab)](_0x32aa2c=_0x542efc[_0x2eb0(0xac)],null)||_0x2b7406['FMhuH'](_0x32aa2c,void 0x0)?void 0x0:_0x32aa2c[_0x2eb0(0xad)])||_0x2b7406[_0x2eb0(0xae)],'channelId':null},'googleUser':_0x542efc[_0x2eb0(0xac)],'accessToken':_0x129c73[_0x2eb0(0x87)],'idToken':_0x129c73[_0x2eb0(0x93)],'refreshToken':_0x4083a7,'serverAuthCode':_0x542efc[_0x2eb0(0x8b)],'userAccountInfo':{'username':_0xb22913,'email':_0x2b7406[_0x2eb0(0xaf)](_0x4f39d6=_0x542efc[_0x2eb0(0xac)],null)||_0x2b7406['XxXTY'](_0x4f39d6,void 0x0)?void 0x0:_0x4f39d6['email'],'authToken':_0x1e6368,'channelName':(_0x2b7406['QLiVa'](_0x2fd596=_0x542efc[_0x2eb0(0xac)],null)||_0x2fd596===void 0x0?void 0x0:_0x2fd596[_0x2eb0(0xad)])||_0x2eb0(0x7e),'channelId':null}};console[_0x2eb0(0x21)](_0x2b7406[_0x2eb0(0xb0)]);const _0x1cfd40=await fetch(API_CONFIG[_0x2eb0(0x26)]+_0x2eb0(0xb1),{'method':'POST','headers':{'Content-Type':'application/json','x-api-key':_0x2b7406[_0x2eb0(0xb2)],..._0x2b7406[_0x2eb0(0x8c)](_0x1e6368,_0x2b7406[_0x2eb0(0xaa)])&&{'Authorization':_0x2eb0(0xb3)+_0x1e6368}},'body':JSON['stringify'](_0x133501)}),_0x4e35cb=await _0x1cfd40[_0x2eb0(0x28)]();return _0x4e35cb[_0x2eb0(0x29)]?(console[_0x2eb0(0x21)](_0x2b7406[_0x2eb0(0xb4)]),await trackMigrationAttempt(_0xb22913,!![]),!![]):(console[_0x2eb0(0x32)](_0x2b7406[_0x2eb0(0xb5)],_0x4e35cb[_0x2eb0(0x32)]),await _0x2b7406['nchrU'](trackMigrationAttempt,_0xb22913,![],_0x4e35cb[_0x2eb0(0x32)]),![]);}catch(_0x306f2b){return _0x2b7406[_0x2eb0(0xb6)]!==_0x2b7406['tbTXv']?(console[_0x2eb0(0x32)](_0x2eb0(0xb7),_0x306f2b),await _0x2b7406[_0x2eb0(0xb8)](trackMigrationAttempt,_0xb22913,![],_0x2b7406[_0x2eb0(0xb9)](_0x306f2b,Error)?_0x306f2b[_0x2eb0(0x1d)]:_0x2b7406[_0x2eb0(0xba)]),![]):(_0x8033fc[_0x2eb0(0x21)](_0x2eb0(0xbb)),{'isReady':!![],'mode':_0x2b7406['cEWmJ'],'needsMigration':![],'trainingReady':!![],'details':_0xc747b1});}},trackMigrationAttempt=async(_0x54b993,_0x14d8d9,_0x3ab8e1)=>{const _0xa73dc0={'zFCtb':'โ
\x20[MIGRATION\x20WARNING]\x20NO\x20WARNING\x20-\x20connection\x20is\x20working\x20properly','ASzHS':function(_0x4c28da,_0xc4fd98){return _0x4c28da===_0xc4fd98;},'jQIce':_0x2eb0(0xbc),'snIAm':function(_0x28e2e5,_0x2fd611){return _0x28e2e5||_0x2fd611;},'mhKWK':_0x2eb0(0xbd)};try{if(_0xa73dc0[_0x2eb0(0xbe)](_0xa73dc0[_0x2eb0(0xbf)],_0xa73dc0[_0x2eb0(0xbf)]))await fetch(API_CONFIG[_0x2eb0(0x26)]+_0x2eb0(0xc0),{'method':'POST','headers':{'Content-Type':'application/json'},'body':JSON[_0x2eb0(0xc1)]({'username':_0x54b993,'success':_0x14d8d9,'error':_0xa73dc0[_0x2eb0(0xc2)](_0x3ab8e1,null),'timestamp':new Date()[_0x2eb0(0xc3)]()})});else return _0x3ef6b3['log'](_0xa73dc0['zFCtb']),![];}catch(_0x24a681){console[_0x2eb0(0x32)](_0xa73dc0[_0x2eb0(0xc4)],_0x24a681);}};export const shouldShowYouTubeMigrationWarning=async _0xf7d76d=>{const _0x1e84b1={'Ftxdj':'Your\x20YouTube\x20connection\x20has\x20been\x20upgraded\x20successfully.\x20Training\x20will\x20now\x20work\x20seamlessly\x20without\x20interruptions.','PLETb':'Great!','EnOqJ':_0x2eb0(0x39),'dchXk':_0x2eb0(0xc5),'fkYjO':_0x2eb0(0xc6),'KqcLO':function(_0x190013,_0xe83db5){return _0x190013===_0xe83db5;},'HVxug':function(_0x4fe0f8,_0x1eef5f){return _0x4fe0f8===_0x1eef5f;},'lgzLA':_0x2eb0(0xc7),'fcmYd':_0x2eb0(0x31),'KbEcE':_0x2eb0(0xc8),'ezUCg':_0x2eb0(0xc9),'cKgLb':function(_0x3d1561,_0x494cf3){return _0x3d1561(_0x494cf3);},'EpmvP':function(_0x5a5379,_0x12653b){return _0x5a5379!==_0x12653b;},'oZwyR':_0x2eb0(0xca),'IXOYq':function(_0x37afbb,_0x2cf188){return _0x37afbb===_0x2cf188;},'eITeD':function(_0x4fa4ba,_0x1e3830){return _0x4fa4ba===_0x1e3830;},'zfTot':function(_0x5f2a11,_0x5f260c){return _0x5f2a11===_0x5f260c;},'jqpwv':_0x2eb0(0xcb),'BbVXl':_0x2eb0(0xcc),'wmeJq':_0x2eb0(0xcd),'wpWKp':'KRTgG','phjza':_0x2eb0(0xce),'MnYeB':_0x2eb0(0x6d)};try{console[_0x2eb0(0x21)](_0x1e84b1[_0x2eb0(0xcf)],_0xf7d76d);const _0x2434f9=await _0x1e84b1['cKgLb'](fetch,API_CONFIG['BASE_URL']+'/youtube/validate-connection/'+_0xf7d76d),_0x2f2fd4=await _0x2434f9['json']();if(_0x2f2fd4['success']&&_0x2f2fd4[_0x2eb0(0x16)]){if(_0x1e84b1['EpmvP']('TQwdd',_0x1e84b1[_0x2eb0(0xd0)])){var _0x40c261,_0x44a7af;const _0x17e6ea=_0x1e84b1[_0x2eb0(0xd1)](_0x1e84b1[_0x2eb0(0xd1)](_0x40c261=_0x2f2fd4[_0x2eb0(0x16)],null)||_0x1e84b1[_0x2eb0(0xd2)](_0x40c261,void 0x0)?void 0x0:_0x40c261['isTemporaryMode'],!![])||_0x1e84b1[_0x2eb0(0xd3)](_0x1e84b1[_0x2eb0(0xd1)](_0x44a7af=_0x2f2fd4[_0x2eb0(0x1a)],null)||_0x1e84b1[_0x2eb0(0xd2)](_0x44a7af,void 0x0)?void 0x0:_0x44a7af[_0x2eb0(0x1b)],!![])||_0x1e84b1['zfTot'](_0x2f2fd4[_0x2eb0(0x18)],!![]),_0x3d7ff2=_0x1e84b1[_0x2eb0(0xd4)](_0x2f2fd4[_0x2eb0(0x16)]['hasAccessToken'],!![]),_0x328467=_0x2f2fd4['validation'][_0x2eb0(0x20)]===!![],_0x367e86=_0x1e84b1[_0x2eb0(0xd3)](_0x2f2fd4[_0x2eb0(0x16)][_0x2eb0(0x1f)],!![]);console[_0x2eb0(0x21)](_0x1e84b1[_0x2eb0(0xd5)],{'username':_0xf7d76d,'hasAccessToken':_0x3d7ff2,'hasRefreshToken':_0x328467,'needsReconnection':_0x367e86,'isTemporaryMode':_0x17e6ea,'connectedAt':_0x2f2fd4[_0x2eb0(0x16)][_0x2eb0(0xd6)]});if(_0x17e6ea)return _0x1e84b1[_0x2eb0(0xd7)]===_0x1e84b1['wmeJq']?(Alert[_0x2eb0(0x60)](_0x2eb0(0xd8),_0x1e84b1['Ftxdj'],[{'text':_0x1e84b1[_0x2eb0(0xd9)],'style':_0x1e84b1[_0x2eb0(0xda)]}]),!![]):(console[_0x2eb0(0x21)](_0x1e84b1[_0x2eb0(0xdb)]),![]);else{if(_0x3d7ff2&&!_0x328467&&_0x367e86){if(_0x1e84b1[_0x2eb0(0xdc)]!==_0x1e84b1[_0x2eb0(0xdc)])_0x3bf610=_0x39c1c8[_0x2eb0(0x8b)],_0x4ec152=_0x1e84b1[_0x2eb0(0xdd)];else return console[_0x2eb0(0x21)](_0x1e84b1[_0x2eb0(0xde)]),!![];}else return _0x1e84b1['HVxug'](_0x1e84b1[_0x2eb0(0xdf)],_0x2eb0(0xce))?(console[_0x2eb0(0x21)](_0x1e84b1[_0x2eb0(0xe0)]),![]):(_0x28ce61[_0x2eb0(0x21)](_0x1e84b1[_0x2eb0(0xe1)]),![]);}}else{var _0x2697e5,_0x26b5b4;const _0x9e806=_0x1e84b1['KqcLO']((_0x2697e5=_0x21dd2c[_0x2eb0(0x16)])===null||_0x2697e5===void 0x0?void 0x0:_0x2697e5[_0x2eb0(0x18)],!![])||_0x1e84b1['HVxug']((_0x26b5b4=_0x3f2096[_0x2eb0(0x1a)])===null||_0x26b5b4===void 0x0?void 0x0:_0x26b5b4[_0x2eb0(0x1b)],!![])||_0x1e84b1[_0x2eb0(0xd2)](_0x5d1795[_0x2eb0(0x18)],!![]),_0x142b0a=_0x1e84b1[_0x2eb0(0xd2)](_0x4b76f2[_0x2eb0(0x16)][_0x2eb0(0xe2)],!![]),_0x39106f=_0x1e84b1[_0x2eb0(0xd2)](_0x250839['validation'][_0x2eb0(0x20)],!![]),_0x47dca6=_0x1e84b1[_0x2eb0(0xd4)](_0x373633[_0x2eb0(0x16)][_0x2eb0(0x1f)],!![]);_0x3c0490[_0x2eb0(0x21)]('๐\x20[MIGRATION\x20WARNING]\x20Status\x20check:',{'username':_0x54785c,'hasAccessToken':_0x142b0a,'hasRefreshToken':_0x39106f,'needsReconnection':_0x47dca6,'isTemporaryMode':_0x9e806,'connectedAt':_0x3a24ca[_0x2eb0(0x16)][_0x2eb0(0xd6)]});if(_0x9e806)return _0x26735a[_0x2eb0(0x21)](_0x1e84b1[_0x2eb0(0xdb)]),![];else return _0x142b0a&&!_0x39106f&&_0x47dca6?(_0x4c9ab4[_0x2eb0(0x21)](_0x1e84b1['fcmYd']),!![]):(_0x5e2c7e[_0x2eb0(0x21)](_0x1e84b1[_0x2eb0(0xe0)]),![]);}}return console[_0x2eb0(0x21)]('โน๏ธ\x20[MIGRATION\x20WARNING]\x20NO\x20WARNING\x20-\x20no\x20YouTube\x20connection\x20found'),![];}catch(_0x1f142d){return console[_0x2eb0(0x32)](_0x1e84b1[_0x2eb0(0xe3)],_0x1f142d),![];}};export const checkAndFixYouTubeConnection=async _0x539c6d=>{const _0x3efd7b={'jQxuc':_0x2eb0(0xe4),'Ddfow':_0x2eb0(0xe5),'LAuRb':_0x2eb0(0xbd),'xKWPK':_0x2eb0(0x36),'eyGOE':_0x2eb0(0x37),'XCPUp':_0x2eb0(0x38),'imPXV':_0x2eb0(0x63),'wTgqy':_0x2eb0(0x64),'AQbTT':_0x2eb0(0x39),'CXniA':_0x2eb0(0xe6),'kOTCY':'โ\x20No\x20refresh\x20token\x20received\x20-\x20Google\x20Console\x20configuration\x20may\x20be\x20incorrect','GtbXZ':_0x2eb0(0x75),'ZxXpG':_0x2eb0(0x76),'OLQcg':_0x2eb0(0xe7),'ILfxQ':_0x2eb0(0xe8),'EBoQL':function(_0x404999,_0x36f541){return _0x404999(_0x36f541);},'qjZxN':_0x2eb0(0xe9),'AlRQO':_0x2eb0(0xea),'bDKbh':'โ
\x20[MIGRATION]\x20YouTube\x20connection\x20working\x20properly\x20-\x20no\x20migration\x20needed','dtkbz':function(_0x57a164){return _0x57a164();},'qhEfz':_0x2eb0(0xeb),'kUxts':'โน๏ธ\x20User\x20declined\x20YouTube\x20migration','YXpTu':function(_0x1fa0e1,_0x567db7){return _0x1fa0e1(_0x567db7);},'dLgrY':_0x2eb0(0xd8),'KvDws':'Your\x20YouTube\x20connection\x20has\x20been\x20upgraded\x20successfully.\x20Training\x20will\x20now\x20work\x20seamlessly\x20without\x20interruptions.','dsBnY':_0x2eb0(0xec),'wwgCY':function(_0x40f24d,_0x3c548d){return _0x40f24d===_0x3c548d;},'ycJYd':_0x2eb0(0xed),'gDvDa':_0x2eb0(0xee),'fLyzM':_0x2eb0(0xef)};try{if(_0x3efd7b['OLQcg']===_0x3efd7b[_0x2eb0(0xf0)]){console[_0x2eb0(0x21)](_0x3efd7b[_0x2eb0(0xf1)],_0x539c6d);const _0x37fcfd=await _0x3efd7b['EBoQL'](shouldShowYouTubeMigrationWarning,_0x539c6d);if(!_0x37fcfd)return console[_0x2eb0(0x21)](_0x3efd7b['qjZxN']),console[_0x2eb0(0x21)](_0x3efd7b[_0x2eb0(0xf2)]),!![];const _0x1bf9d7=await checkYouTubeMigrationNeeded(_0x539c6d);if(!_0x1bf9d7)return console[_0x2eb0(0x21)](_0x3efd7b[_0x2eb0(0xf3)]),!![];console[_0x2eb0(0x21)](_0x2eb0(0xf4));const _0x1dbb6a=await _0x3efd7b[_0x2eb0(0xf5)](showYouTubeMigrationPrompt);if(!_0x1dbb6a)return _0x3efd7b[_0x2eb0(0xf6)]!==_0x2eb0(0xf7)?(console[_0x2eb0(0x21)](_0x3efd7b[_0x2eb0(0xf8)]),![]):(Alert['alert'](_0x3efd7b[_0x2eb0(0xf9)],_0x3efd7b[_0x2eb0(0xfa)],[{'text':'OK','style':_0x2eb0(0x39)}]),![]);const _0x56bc35=await _0x3efd7b[_0x2eb0(0xfb)](forceYouTubeReconnection,_0x539c6d);if(_0x56bc35)return Alert[_0x2eb0(0x60)](_0x3efd7b[_0x2eb0(0xfc)],_0x3efd7b['KvDws'],[{'text':'Great!','style':_0x2eb0(0x39)}]),!![];else{if(_0x3efd7b['dsBnY']===_0x2eb0(0xfd))_0x3da365[_0x2eb0(0x32)](_0x3efd7b[_0x2eb0(0xfe)],_0x19dafe);else return Alert[_0x2eb0(0x60)](_0x3efd7b[_0x2eb0(0xf9)],_0x2eb0(0xe5),[{'text':'OK','style':_0x3efd7b[_0x2eb0(0xff)]}]),![];}}else Alert[_0x2eb0(0x60)](_0x3efd7b['xKWPK'],_0x3efd7b[_0x2eb0(0x100)],[{'text':_0x3efd7b[_0x2eb0(0x101)],'style':_0x3efd7b['imPXV'],'onPress':()=>_0x10dece(![])},{'text':_0x3efd7b[_0x2eb0(0x102)],'style':_0x3efd7b['AQbTT'],'onPress':()=>_0x3a1fbe(!![])}]);}catch(_0x427ebf){if(_0x3efd7b[_0x2eb0(0x103)](_0x3efd7b[_0x2eb0(0x104)],_0x3efd7b[_0x2eb0(0x105)])){const _0x28f678=_0x3efd7b[_0x2eb0(0x106)][_0x2eb0(0x9c)]('|');let _0x15a651=0x0;while(!![]){switch(_0x28f678[_0x15a651++]){case'0':_0x59f369['error']('\x20\x20\x203.\x20User\x20did\x20not\x20grant\x20offline\x20access\x20permission');continue;case'1':_0x360d39[_0x2eb0(0x32)](_0x3efd7b['kOTCY']);continue;case'2':return![];case'3':_0x3fb3fe[_0x2eb0(0x32)](_0x3efd7b[_0x2eb0(0x107)]);continue;case'4':_0x3058db[_0x2eb0(0x32)](_0x3efd7b[_0x2eb0(0x108)]);continue;case'5':_0x3994e9[_0x2eb0(0x32)](_0x2eb0(0x74));continue;}break;}}else return console[_0x2eb0(0x32)](_0x3efd7b[_0x2eb0(0x109)],_0x427ebf),![];}};export const reconnectYouTube=async _0xc85805=>{const _0xb7044b={'KHJJx':'๐\x20Manual\x20YouTube\x20reconnection\x20requested\x20for:'};return console[_0x2eb0(0x21)](_0xb7044b[_0x2eb0(0x10a)],_0xc85805),await forceYouTubeReconnection(_0xc85805);};
|
|
1
|
+
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=_0x46e7(0x0),IOS_CLIENT_ID='1030678346906-lovkuds2ouqmoc8eu5qpo98spa6edv4o.apps.googleusercontent.com',configureGoogleSignInForRefreshTokens=()=>{const _0x553f73={'GRjrs':_0x46e7(0x1),'XZzWe':'openid','bGeTm':'profile','hRhNr':'email'};GoogleSignin[_0x46e7(0x2)]({'webClientId':WEB_CLIENT_ID,'iosClientId':IOS_CLIENT_ID,'offlineAccess':!![],'forceCodeForRefreshToken':!![],'scopes':[_0x553f73[_0x46e7(0x3)],_0x553f73['XZzWe'],_0x553f73[_0x46e7(0x4)],_0x553f73[_0x46e7(0x5)]],'hostedDomain':'','accountName':''});};export const checkYouTubeMigrationNeeded=async _0x316a3a=>{const _0x19d545={'JXJQf':_0x46e7(0x1),'aNKFk':_0x46e7(0x6),'NKerH':'profile','vynhK':_0x46e7(0x7),'dCkpH':_0x46e7(0x8),'OAeru':_0x46e7(0x9),'inUuI':'Skip\x20for\x20Now','wKXHM':_0x46e7(0xa),'POpPP':_0x46e7(0xb),'bKovl':_0x46e7(0xc),'vSOxu':_0x46e7(0xd),'vvtfo':'limited','zYHGe':function(_0x36a276,_0xcb1c1c){return _0x36a276!==_0xcb1c1c;},'GDdqc':_0x46e7(0xe),'LEFwn':function(_0x4831f6,_0x397588){return _0x4831f6(_0x397588);},'wbmJR':function(_0x584c56,_0x44832c){return _0x584c56===_0x44832c;},'wPMXv':function(_0x4a6350,_0x219ab6){return _0x4a6350===_0x219ab6;},'uhZgW':function(_0xd3cea7,_0x2c9d15){return _0xd3cea7===_0x2c9d15;},'qrvQe':function(_0x1d86af,_0x18fece){return _0x1d86af!==_0x18fece;},'MwBOY':_0x46e7(0xf),'IZdFX':function(_0x1b5300,_0x4b2895){return _0x1b5300!==_0x4b2895;},'KLUDe':_0x46e7(0x10),'tfoIZ':_0x46e7(0x11),'djBXR':_0x46e7(0x12),'JrIYn':'AQBjf','YlgDI':_0x46e7(0x13)};try{if(_0x19d545[_0x46e7(0x14)](_0x19d545[_0x46e7(0x15)],_0x19d545[_0x46e7(0x15)]))GoogleSignin['configure']({'webClientId':_0x115079,'iosClientId':_0x3047ed,'offlineAccess':!![],'forceCodeForRefreshToken':!![],'scopes':[_0x19d545[_0x46e7(0x16)],_0x19d545[_0x46e7(0x17)],_0x19d545['NKerH'],_0x19d545['vynhK']],'hostedDomain':'','accountName':''});else{const _0x4a21ca=await _0x19d545[_0x46e7(0x18)](fetch,API_CONFIG[_0x46e7(0x19)]+'/youtube/validate-connection/'+_0x316a3a),_0x3247de=await _0x4a21ca[_0x46e7(0x1a)]();if(_0x3247de['success']&&_0x3247de[_0x46e7(0x1b)]){var _0x7f94a8,_0x3212cb,_0x2da67a;const _0x2cbdf8=_0x19d545['wbmJR'](_0x19d545[_0x46e7(0x1c)](_0x7f94a8=_0x3247de[_0x46e7(0x1b)],null)||_0x7f94a8===void 0x0?void 0x0:_0x7f94a8['isTemporaryMode'],!![])||(_0x19d545[_0x46e7(0x1d)](_0x3212cb=_0x3247de['temporaryMode'],null)||_0x19d545[_0x46e7(0x1e)](_0x3212cb,void 0x0)?void 0x0:_0x3212cb[_0x46e7(0x1f)])===!![]||_0x19d545[_0x46e7(0x1e)](_0x3247de['isTemporaryMode'],!![])||_0x3247de[_0x46e7(0x20)]&&_0x3247de[_0x46e7(0x20)][_0x46e7(0x21)]('temporary\x20access\x20token\x20mode'),_0x17405f=_0x3247de[_0x46e7(0x1b)][_0x46e7(0x22)],_0xd87059=_0x3247de['validation'][_0x46e7(0x23)];console[_0x46e7(0x24)]('๐\x20YouTube\x20migration\x20check:',{'username':_0x316a3a,'needsReconnection':_0x17405f,'hasRefreshToken':_0xd87059,'isTemporaryMode':_0x2cbdf8,'temporaryModeEnabled':_0x19d545[_0x46e7(0x1c)](_0x2da67a=_0x3247de[_0x46e7(0x25)],null)||_0x19d545[_0x46e7(0x1e)](_0x2da67a,void 0x0)?void 0x0:_0x2da67a[_0x46e7(0x1f)],'message':_0x3247de['message']});if(_0x2cbdf8)return _0x19d545[_0x46e7(0x26)](_0x19d545[_0x46e7(0x27)],'qHjJE')?(_0x382d18[_0x46e7(0x24)](_0x19d545[_0x46e7(0x28)]),![]):(console[_0x46e7(0x24)](_0x46e7(0x29)),console[_0x46e7(0x24)](_0x46e7(0x2a)),![]);else{if(_0x17405f){if(_0x19d545[_0x46e7(0x2b)](_0x19d545[_0x46e7(0x2c)],_0x19d545[_0x46e7(0x2c)]))Alert[_0x46e7(0x2d)](_0x19d545[_0x46e7(0x2e)],_0x46e7(0x2f),[{'text':_0x19d545[_0x46e7(0x30)],'style':_0x19d545[_0x46e7(0x31)],'onPress':()=>_0xf8b171(![])},{'text':_0x19d545[_0x46e7(0x32)],'style':_0x19d545[_0x46e7(0x33)],'onPress':()=>_0x27ad2a(!![])}]);else return console[_0x46e7(0x24)](_0x19d545[_0x46e7(0x34)]),!![];}else return _0x19d545[_0x46e7(0x1e)](_0x19d545['djBXR'],_0x19d545[_0x46e7(0x35)])?(_0x4c0c74[_0x46e7(0x24)](_0x19d545[_0x46e7(0x36)]),{'isReady':![],'mode':_0x19d545[_0x46e7(0x37)],'needsMigration':!![],'trainingReady':![],'details':_0x3268f1}):(console['log'](_0x19d545[_0x46e7(0x38)]),![]);}}return![];}}catch(_0x4b3fec){return console[_0x46e7(0x39)](_0x46e7(0x3a),_0x4b3fec),![];}};function _0x4634(){const _0x126650=['1030678346906-lovkuds2ouqmoc8eu5qpo98spa6edv4o.apps.googleusercontent.com','https://www.googleapis.com/auth/youtube.readonly','configure','GRjrs','bGeTm','hRhNr','openid','email','๐ซ\x20[MIGRATION\x20WARNING]\x20NO\x20WARNING\x20-\x20user\x20is\x20in\x20temporary\x20mode\x20(working\x20correctly)','YouTube\x20Connection\x20Upgrade','cancel','Upgrade\x20Now','default','โ ๏ธ\x20YouTube\x20connected\x20but\x20needs\x20migration','zJSZz','qHjJE','YEycM','๐ง\x20User\x20needs\x20YouTube\x20migration\x20for\x20refresh\x20token','MtBlV','โ
\x20YouTube\x20connection\x20fully\x20working\x20with\x20refresh\x20tokens','zYHGe','GDdqc','JXJQf','aNKFk','LEFwn','BASE_URL','json','validation','wPMXv','wbmJR','uhZgW','enabled','message','includes','needsReconnection','hasRefreshToken','log','temporaryMode','qrvQe','MwBOY','dCkpH','๐\x20User\x20using\x20temporary\x20mode\x20-\x20connection\x20working\x20correctly','โ ๏ธ\x20No\x20refresh\x20capability\x20but\x20training\x20can\x20proceed','IZdFX','KLUDe','alert','OAeru','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?','inUuI','wKXHM','POpPP','bKovl','tfoIZ','JrIYn','vSOxu','vvtfo','YlgDI','error','โ\x20Error\x20checking\x20YouTube\x20migration\x20status:','Upgrade\x20Failed\x20โ','YouTube\x20connection\x20upgrade\x20failed.\x20Please\x20try\x20again\x20later\x20or\x20contact\x20support\x20if\x20the\x20problem\x20persists.','โ
\x20YouTube\x20connected\x20with\x20refresh\x20tokens','โ ๏ธ\x20[MIGRATION\x20WARNING]\x20SHOW\x20WARNING\x20-\x20genuinely\x20old\x20connection\x20needs\x20update','none','QUEKo','gBcVd','๐\x20Complete\x20YouTube\x20status\x20response:','XgKYV','temporary\x20access\x20token\x20mode','FyNbt','๐\x20YouTube\x20connected\x20in\x20temporary\x20mode','limited','jYcdh','FwJwB','โ\x20YouTube\x20connection\x20status\x20unclear','โ\x20No\x20YouTube\x20connection\x20found','dNroH','lxWUj','dTIjL','success','YBvdJ','JUXeP','isTemporaryMode','TUKIv','CIRKh','eCMFf','fFPiY','iNqmC','ZbWKc','IjMFU','UBiXh','FPeHq','CKNig','JXpiP','lStET','bCZrc','nghDp','YjxeH','tlDxq','๐\x20[MIGRATION\x20WARNING]\x20Status\x20check:','connectedAt','yjUZR','VuJvR','PXolh','opDol','FCazA','gNvOK','rlDNr','BCHOA','TCglg','YouTube\x20Upgraded!\x20โ
','Your\x20YouTube\x20connection\x20has\x20been\x20upgraded\x20successfully.\x20Training\x20will\x20now\x20work\x20seamlessly\x20without\x20interruptions.','qGGvZ','BjJNg','ewWIY','iRdTJ','XmtoN','ycuic','ODbKM','RNiwY','yUvXR','vIJUk','Great!','๐ซ\x20[MIGRATION]\x20NO\x20MIGRATION\x20NEEDED\x20-\x20user\x20connection\x20is\x20working\x20correctly','โ
\x20[MIGRATION]\x20User\x20can\x20proceed\x20with\x20training\x20normally','โ ๏ธ\x20No\x20authentication\x20token\x20found\x20for\x20YouTube\x20migration','migration_token_placeholder','๐\x20Starting\x20YouTube\x20migration\x20for\x20user:','โ
\x20Token\x20cache\x20cleared','Available','MISSING!','3|4|0|1|2|5','\x20\x20\x203.\x20User\x20did\x20not\x20grant\x20offline\x20access\x20permission','โ\x20No\x20refresh\x20token\x20received\x20-\x20Google\x20Console\x20configuration\x20may\x20be\x20incorrect','โ
\x20Got\x20refresh\x20token\x20after\x20consent:','...','๐\x20Refresh\x20token\x20source:','onairos_jwt_token','auth_token','YouTube\x20Channel','๐ค\x20Sending\x20migration\x20payload\x20to\x20backend...','โ
\x20YouTube\x20migration\x20successful','vUQam','NeJTo','zOByO','wyRBs','tuVMm','signOut','clearCachedAccessToken','accessToken','CjQXO','iCmqP','hasPlayServices','signIn','getTokens','getCurrentUser','None','sKTmL','YNnDn','serverAuthCode','vanob','BedVz','JClNu','zFzaQ','qXCZv','QvuLn','bBRjV','idToken','wHysA','PcyXI','HANQQ','user','YSPrp','split','pgibb','\x20\x20\x202.\x20forceCodeForRefreshToken:\x20true\x20is\x20missing','axOdP','eTUNQ','jaKmO','substring','sZExk','kgJGR','enoch_token','getItem','BRVIx','warn','eGqEs','emBKZ','SpNVw','UoRHj','VIcTr','qTape','UDKtH','/youtube/native-auth','your-api-key','Bearer\x20','stringify','ionmh','BsTVl','fqZRl','FQiiX','HWZaY','QTKfk','apKag','BwubP','RXACw','hmtQG','Zkfrv','txZfb','Bhswl','QINkm','JqWCI','UANVg','wPibk','Unknown\x20error','dyZly','ZxlLU','Yizot','/youtube/migration-status','ugiRZ','toISOString','TIyLg','โ\x20Failed\x20to\x20track\x20migration\x20attempt:','โ
\x20[MIGRATION\x20WARNING]\x20NO\x20WARNING\x20-\x20connection\x20is\x20working\x20properly','โน๏ธ\x20[MIGRATION\x20WARNING]\x20NO\x20WARNING\x20-\x20no\x20YouTube\x20connection\x20found','โ\x20[MIGRATION\x20WARNING]\x20Error\x20checking\x20migration\x20warning\x20status:','๐\x20[MIGRATION\x20WARNING]\x20Checking\x20if\x20user\x20should\x20see\x20migration\x20warning:','wlQWB','/youtube/validate-connection/','qusBh','vVjnz','nHNhA','qyiMW','nhyqU','OtmoC','DWnYZ','edJhx','kSgMn','nkMhd','โ
\x20[MIGRATION]\x20YouTube\x20connection\x20working\x20properly\x20-\x20no\x20migration\x20needed','๐\x20Checking\x20YouTube\x20connection\x20for\x20user:','RfbBP','๐ง\x20[MIGRATION]\x20User\x20needs\x20YouTube\x20migration\x20for\x20refresh\x20token\x20(genuinely\x20old\x20connection)','fVJPN','โน๏ธ\x20User\x20declined\x20YouTube\x20migration','VIDBX','โ\x20Error\x20in\x20YouTube\x20connection\x20check:','XXuBk','zPtZh','MiQkd','CRqQw','Tgizn','vzKFq','FapFb','wfmoI','IHdeJ','jUTiF','wTEtm','uiPft','GkziH','UvtUG','mXAwS','Nrmkp','๐\x20Manual\x20YouTube\x20reconnection\x20requested\x20for:','sEzCN','LpScO'];_0x4634=function(){return _0x126650;};return _0x4634();}export const getYouTubeConnectionStatus=async _0x459639=>{const _0x2266b0={'iNqmC':_0x46e7(0x3b),'ZbWKc':_0x46e7(0x3c),'IjMFU':_0x46e7(0xc),'CKNig':_0x46e7(0x3d),'JXpiP':'full','JUXeP':function(_0x333138,_0x2501e5){return _0x333138===_0x2501e5;},'yjUZR':'๐ซ\x20[MIGRATION\x20WARNING]\x20NO\x20WARNING\x20-\x20user\x20is\x20in\x20temporary\x20mode\x20(working\x20correctly)','VuJvR':_0x46e7(0x3e),'PXolh':'โ
\x20[MIGRATION\x20WARNING]\x20NO\x20WARNING\x20-\x20connection\x20is\x20working\x20properly','opDol':'โ\x20Error\x20getting\x20YouTube\x20connection\x20status:','rlDNr':_0x46e7(0x3f),'FCazA':function(_0x3b83a6,_0x56ecef){return _0x3b83a6 instanceof _0x56ecef;},'lxWUj':function(_0x3a27a1,_0x5291db){return _0x3a27a1(_0x5291db);},'BCHOA':'โ\x20Failed\x20to\x20track\x20migration\x20attempt:','dNroH':function(_0x2795ad,_0x22efb9){return _0x2795ad!==_0x22efb9;},'Ypqez':_0x46e7(0x40),'HBmri':_0x46e7(0x41),'dTIjL':_0x46e7(0x42),'KgytR':function(_0x1c4802,_0xa27469){return _0x1c4802===_0xa27469;},'YBvdJ':_0x46e7(0x43),'TUKIv':function(_0x19f5be,_0x3e6f32){return _0x19f5be===_0x3e6f32;},'CIRKh':function(_0x42ed94,_0x4ab6e8){return _0x42ed94===_0x4ab6e8;},'eCMFf':_0x46e7(0x44),'fFPiY':function(_0x1b471f,_0x6acf0c){return _0x1b471f===_0x6acf0c;},'Rirqx':_0x46e7(0x45),'UBiXh':_0x46e7(0x46),'FPeHq':'โ
\x20Training\x20will\x20work,\x20but\x20connection\x20expires\x20in\x20~1\x20hour','bCZrc':'โ ๏ธ\x20YouTube\x20connected\x20but\x20needs\x20migration','nghDp':_0x46e7(0x47),'YjxeH':_0x46e7(0x48),'tlDxq':_0x46e7(0x49),'gjCFx':_0x46e7(0x4a),'gNvOK':_0x46e7(0x4b),'TCglg':function(_0x4b03c2,_0x26904c){return _0x4b03c2(_0x26904c);}};try{if(_0x2266b0[_0x46e7(0x4c)](_0x2266b0['Ypqez'],_0x2266b0['HBmri'])){const _0x4ab17b=await _0x2266b0[_0x46e7(0x4d)](fetch,API_CONFIG['BASE_URL']+'/youtube/validate-connection/'+_0x459639),_0xce34ea=await _0x4ab17b[_0x46e7(0x1a)]();console[_0x46e7(0x24)](_0x2266b0[_0x46e7(0x4e)],_0xce34ea);if(_0xce34ea[_0x46e7(0x4f)]&&_0xce34ea[_0x46e7(0x1b)]){if(_0x2266b0['KgytR'](_0x2266b0[_0x46e7(0x50)],_0x46e7(0x43))){var _0x244321,_0x431d0e;const _0x37d6cc=_0x2266b0[_0x46e7(0x51)]((_0x244321=_0xce34ea[_0x46e7(0x1b)])===null||_0x2266b0[_0x46e7(0x51)](_0x244321,void 0x0)?void 0x0:_0x244321[_0x46e7(0x52)],!![])||_0x2266b0[_0x46e7(0x53)]((_0x431d0e=_0xce34ea['temporaryMode'])===null||_0x2266b0[_0x46e7(0x53)](_0x431d0e,void 0x0)?void 0x0:_0x431d0e['enabled'],!![])||_0x2266b0[_0x46e7(0x54)](_0xce34ea[_0x46e7(0x52)],!![])||_0xce34ea[_0x46e7(0x20)]&&_0xce34ea[_0x46e7(0x20)]['includes'](_0x2266b0[_0x46e7(0x55)]),_0x38c75c=_0x2266b0[_0x46e7(0x56)](_0xce34ea['validation'][_0x46e7(0x23)],!![]),_0x394451=_0xce34ea['validation']['needsReconnection']===!![];if(_0x37d6cc)return _0x46e7(0x45)!==_0x2266b0['Rirqx']?(Alert[_0x46e7(0x2d)](_0x2266b0[_0x46e7(0x57)],_0x2266b0[_0x46e7(0x58)],[{'text':'OK','style':_0x2266b0[_0x46e7(0x59)]}]),![]):(console['log'](_0x2266b0[_0x46e7(0x5a)]),console[_0x46e7(0x24)](_0x2266b0[_0x46e7(0x5b)]),{'isReady':!![],'mode':'temporary','needsMigration':![],'trainingReady':!![],'details':_0xce34ea});else{if(_0x38c75c)return console['log'](_0x2266b0[_0x46e7(0x5c)]),{'isReady':!![],'mode':_0x2266b0[_0x46e7(0x5d)],'needsMigration':![],'trainingReady':!![],'details':_0xce34ea};else{if(_0x394451)return _0x2266b0[_0x46e7(0x53)](_0x46e7(0x5e),'DVLkk')?(_0x276fcd[_0x46e7(0x24)](_0x2266b0[_0x46e7(0x5c)]),{'isReady':!![],'mode':_0x2266b0['JXpiP'],'needsMigration':![],'trainingReady':!![],'details':_0x6c804e}):(console[_0x46e7(0x24)](_0x2266b0[_0x46e7(0x5f)]),{'isReady':![],'mode':_0x2266b0[_0x46e7(0x60)],'needsMigration':!![],'trainingReady':![],'details':_0xce34ea});else{if(_0x2266b0[_0x46e7(0x61)]!==_0x2266b0[_0x46e7(0x62)])return console[_0x46e7(0x24)](_0x2266b0['gjCFx']),{'isReady':![],'mode':_0x2266b0['rlDNr'],'needsMigration':![],'trainingReady':![],'details':_0xce34ea};else{var _0x1805f7,_0x5ba71a;const _0x3af821=((_0x1805f7=_0x43f67b[_0x46e7(0x1b)])===null||_0x1805f7===void 0x0?void 0x0:_0x1805f7[_0x46e7(0x52)])===!![]||((_0x5ba71a=_0x31cdd3[_0x46e7(0x25)])===null||_0x5ba71a===void 0x0?void 0x0:_0x5ba71a[_0x46e7(0x1f)])===!![]||_0x2266b0[_0x46e7(0x51)](_0x2d9346[_0x46e7(0x52)],!![]),_0x2e9fb4=_0x2266b0['JUXeP'](_0x4c0de3[_0x46e7(0x1b)]['hasAccessToken'],!![]),_0x56a4ff=_0x2266b0[_0x46e7(0x51)](_0x3912e6[_0x46e7(0x1b)][_0x46e7(0x23)],!![]),_0x2d34b1=_0x1bf169[_0x46e7(0x1b)]['needsReconnection']===!![];_0x517e3f['log'](_0x46e7(0x63),{'username':_0x1a1646,'hasAccessToken':_0x2e9fb4,'hasRefreshToken':_0x56a4ff,'needsReconnection':_0x2d34b1,'isTemporaryMode':_0x3af821,'connectedAt':_0x27e977[_0x46e7(0x1b)][_0x46e7(0x64)]});if(_0x3af821)return _0x35ca91[_0x46e7(0x24)](_0x2266b0[_0x46e7(0x65)]),![];else return _0x2e9fb4&&!_0x56a4ff&&_0x2d34b1?(_0xc22c9[_0x46e7(0x24)](_0x2266b0[_0x46e7(0x66)]),!![]):(_0x69d469[_0x46e7(0x24)](_0x2266b0[_0x46e7(0x67)]),![]);}}}}}else return _0x5b61f4['error'](_0x2266b0[_0x46e7(0x68)],_0x1dd644),{'isReady':![],'mode':_0x2266b0['rlDNr'],'needsMigration':![],'trainingReady':![],'details':{'error':_0x2266b0[_0x46e7(0x69)](_0xf198fb,_0x5915fc)?_0x2ebba1[_0x46e7(0x20)]:_0x2266b0[_0x46e7(0x4d)](_0x5a54e5,_0x353863)}};}return console['log'](_0x2266b0[_0x46e7(0x6a)]),{'isReady':![],'mode':_0x2266b0[_0x46e7(0x6b)],'needsMigration':![],'trainingReady':![],'details':_0xce34ea};}else _0x5daab6[_0x46e7(0x39)](_0x2266b0[_0x46e7(0x6c)],_0x4bffc6);}catch(_0x20a886){return console[_0x46e7(0x39)](_0x2266b0[_0x46e7(0x68)],_0x20a886),{'isReady':![],'mode':_0x2266b0['rlDNr'],'needsMigration':![],'trainingReady':![],'details':{'error':_0x2266b0[_0x46e7(0x69)](_0x20a886,Error)?_0x20a886['message']:_0x2266b0[_0x46e7(0x6d)](String,_0x20a886)}};}};function _0x46e7(_0x46344e,_0x46e7f4){_0x46344e=_0x46344e-0x0;const _0x252a87=_0x4634();let _0x3691a7=_0x252a87[_0x46344e];return _0x3691a7;}const showYouTubeMigrationPrompt=async()=>{const _0x4e2253={'BjJNg':_0x46e7(0x6e),'ewWIY':_0x46e7(0x6f),'iRdTJ':function(_0x5be89e,_0x4b8ef3){return _0x5be89e!==_0x4b8ef3;},'XmtoN':_0x46e7(0x70),'ycuic':_0x46e7(0x9),'epDOO':'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?','KFdjG':'Skip\x20for\x20Now','FnMDM':_0x46e7(0xa),'ODbKM':_0x46e7(0xb),'RNiwY':_0x46e7(0xc)};return new Promise(_0x88b44b=>{const _0x2b81f7={'yUvXR':_0x4e2253[_0x46e7(0x71)],'vIJUk':_0x4e2253[_0x46e7(0x72)]};if(_0x4e2253[_0x46e7(0x73)](_0x4e2253[_0x46e7(0x74)],'zINZp'))Alert[_0x46e7(0x2d)](_0x4e2253[_0x46e7(0x75)],_0x4e2253['epDOO'],[{'text':_0x4e2253['KFdjG'],'style':_0x4e2253['FnMDM'],'onPress':()=>_0x88b44b(![])},{'text':_0x4e2253[_0x46e7(0x76)],'style':_0x4e2253[_0x46e7(0x77)],'onPress':()=>_0x88b44b(!![])}]);else return Alert[_0x46e7(0x2d)](_0x2b81f7[_0x46e7(0x78)],_0x2b81f7[_0x46e7(0x79)],[{'text':_0x46e7(0x7a),'style':'default'}]),!![];});},forceYouTubeReconnection=async _0x5b93bc=>{const _0x5e66b4={'BedVz':_0x46e7(0x7b),'JClNu':_0x46e7(0x7c),'fqZRl':'โน๏ธ\x20User\x20declined\x20YouTube\x20migration','QTKfk':_0x46e7(0x7d),'apKag':_0x46e7(0x7e),'Zkfrv':function(_0x2a081c,_0x241c07){return _0x2a081c===_0x241c07;},'HANQQ':function(_0x209cd3,_0x5da72c){return _0x209cd3===_0x5da72c;},'ttykz':_0x46e7(0x44),'txZfb':'๐\x20YouTube\x20migration\x20check:','fXlzi':function(_0x26a363,_0x4971a3){return _0x26a363===_0x4971a3;},'LwEtN':function(_0x4c9e35,_0x17e023){return _0x4c9e35===_0x17e023;},'Bhswl':_0x46e7(0x29),'QINkm':'โ ๏ธ\x20No\x20refresh\x20capability\x20but\x20training\x20can\x20proceed','JqWCI':_0x46e7(0x11),'UANVg':_0x46e7(0x13),'wyRBs':_0x46e7(0x7f),'tuVMm':function(_0x3822e8){return _0x3822e8();},'RlKDG':'โ
\x20Signed\x20out\x20-\x20consent\x20cache\x20cleared','CjQXO':_0x46e7(0x80),'iCmqP':'โน๏ธ\x20No\x20token\x20cache\x20to\x20clear','CxJYf':function(_0x3f9f6b,_0x4e43c1){return _0x3f9f6b===_0x4e43c1;},'YNnDn':'sKTmL','vanob':'Server\x20auth\x20code\x20from\x20sign-in','zFzaQ':function(_0x3a028c,_0x27bd7f){return _0x3a028c!==_0x27bd7f;},'qXCZv':function(_0x2076f4,_0x2d54a2){return _0x2076f4!==_0x2d54a2;},'QvuLn':'Current\x20user\x20server\x20auth\x20code','bBRjV':'๐\x20Token\x20Analysis:','wHysA':function(_0x4c440e,_0x4b7210){return _0x4c440e!==_0x4b7210;},'ZNSGL':_0x46e7(0x81),'PcyXI':_0x46e7(0x82),'oHPRZ':function(_0x152d6c,_0x4f5cc2){return _0x152d6c===_0x4f5cc2;},'YSPrp':_0x46e7(0x83),'pgibb':'\x20\x20\x201.\x20offlineAccess:\x20true\x20is\x20missing\x20from\x20configuration','axOdP':_0x46e7(0x84),'eTUNQ':_0x46e7(0x85),'jaKmO':'๐ก\x20This\x20usually\x20means:','JwvOP':_0x46e7(0x86),'FpfLt':function(_0x39601b,_0x4c1a68){return _0x39601b+_0x4c1a68;},'sZExk':_0x46e7(0x87),'kgJGR':_0x46e7(0x88),'MjCek':_0x46e7(0x89),'BRVIx':_0x46e7(0x8a),'eGqEs':'youtube','emBKZ':function(_0x3ec818,_0x4e5d41){return _0x3ec818===_0x4e5d41;},'SpNVw':_0x46e7(0x8b),'UoRHj':function(_0x2d0e3e,_0x4d86bb){return _0x2d0e3e===_0x4d86bb;},'VIcTr':function(_0x12acc6,_0x35c84b){return _0x12acc6===_0x35c84b;},'qTape':_0x46e7(0x8c),'UDKtH':function(_0x214205,_0x45d39c,_0x1f2844){return _0x214205(_0x45d39c,_0x1f2844);},'ionmh':'WNLSD','ZBJTt':'LOLqb','BsTVl':_0x46e7(0x8d),'FQiiX':_0x46e7(0x8e),'HWZaY':function(_0x4c6642,_0x58f450,_0x4a294c,_0x522fd7){return _0x4c6642(_0x58f450,_0x4a294c,_0x522fd7);},'BwubP':function(_0x404ff2,_0x401d3d){return _0x404ff2===_0x401d3d;},'RXACw':_0x46e7(0x8f),'hmtQG':_0x46e7(0x90),'wPibk':'โ\x20YouTube\x20migration\x20failed:','xHnAM':function(_0x4e2331,_0x3d56de,_0x4fb059,_0x2d9f48){return _0x4e2331(_0x3d56de,_0x4fb059,_0x2d9f48);}};try{var _0x37afb1,_0x1eaeec,_0x506d70,_0x4ac22c;console[_0x46e7(0x24)](_0x5e66b4[_0x46e7(0x91)],_0x5b93bc),_0x5e66b4[_0x46e7(0x92)](configureGoogleSignInForRefreshTokens),await GoogleSignin[_0x46e7(0x93)](),console[_0x46e7(0x24)](_0x5e66b4['RlKDG']);try{const _0x1006b9=await GoogleSignin['getTokens']();_0x1006b9['accessToken']&&(await GoogleSignin[_0x46e7(0x94)](_0x1006b9[_0x46e7(0x95)]),console[_0x46e7(0x24)](_0x5e66b4[_0x46e7(0x96)]));}catch(_0x597dd4){console[_0x46e7(0x24)](_0x5e66b4[_0x46e7(0x97)]);}await GoogleSignin[_0x46e7(0x98)](),console[_0x46e7(0x24)]('๐\x20Initiating\x20sign-in\x20-\x20consent\x20screen\x20should\x20appear...');const _0x11f11a=await GoogleSignin[_0x46e7(0x99)](),_0x3fb646=await GoogleSignin[_0x46e7(0x9a)](),_0x174459=await GoogleSignin[_0x46e7(0x9b)]();let _0x4cda07=null,_0x4a7836=_0x46e7(0x9c);if(_0x11f11a['serverAuthCode']){if(_0x5e66b4['CxJYf'](_0x46e7(0x9d),_0x5e66b4[_0x46e7(0x9e)]))_0x4cda07=_0x11f11a[_0x46e7(0x9f)],_0x4a7836=_0x5e66b4[_0x46e7(0xa0)];else return _0xbc0f02[_0x46e7(0x24)](_0x5e66b4[_0x46e7(0xa1)]),_0x1fdc84[_0x46e7(0x24)](_0x5e66b4[_0x46e7(0xa2)]),!![];}else _0x5e66b4[_0x46e7(0xa3)](_0x174459,null)&&_0x5e66b4[_0x46e7(0xa4)](_0x174459,void 0x0)&&_0x174459[_0x46e7(0x9f)]&&(_0x4cda07=_0x174459[_0x46e7(0x9f)],_0x4a7836=_0x5e66b4[_0x46e7(0xa5)]);console[_0x46e7(0x24)](_0x5e66b4[_0x46e7(0xa6)],{'hasAccessToken':!!_0x3fb646[_0x46e7(0x95)],'hasIdToken':!!_0x3fb646[_0x46e7(0xa7)],'hasServerAuthCode':!!_0x11f11a[_0x46e7(0x9f)],'hasCurrentUserAuthCode':!!(_0x5e66b4[_0x46e7(0xa8)](_0x174459,null)&&_0x174459!==void 0x0&&_0x174459[_0x46e7(0x9f)]),'refreshTokenSource':_0x4a7836,'finalRefreshToken':_0x4cda07?_0x5e66b4['ZNSGL']:_0x5e66b4[_0x46e7(0xa9)],'userEmail':_0x5e66b4[_0x46e7(0xaa)](_0x37afb1=_0x11f11a[_0x46e7(0xab)],null)||_0x5e66b4['oHPRZ'](_0x37afb1,void 0x0)?void 0x0:_0x37afb1[_0x46e7(0x7)]});if(!_0x4cda07){const _0x23ddfa=_0x5e66b4[_0x46e7(0xac)][_0x46e7(0xad)]('|');let _0xe5defc=0x0;while(!![]){switch(_0x23ddfa[_0xe5defc++]){case'0':console[_0x46e7(0x39)](_0x5e66b4[_0x46e7(0xae)]);continue;case'1':console[_0x46e7(0x39)](_0x46e7(0xaf));continue;case'2':console[_0x46e7(0x39)](_0x5e66b4[_0x46e7(0xb0)]);continue;case'3':console['error'](_0x5e66b4[_0x46e7(0xb1)]);continue;case'4':console[_0x46e7(0x39)](_0x5e66b4[_0x46e7(0xb2)]);continue;case'5':return![];}break;}}console[_0x46e7(0x24)](_0x5e66b4['JwvOP'],_0x5e66b4['FpfLt'](_0x4cda07[_0x46e7(0xb3)](0x0,0x14),_0x5e66b4[_0x46e7(0xb4)])),console[_0x46e7(0x24)](_0x5e66b4[_0x46e7(0xb5)],_0x4a7836);let _0x316d83=await AsyncStorage['getItem'](_0x5e66b4['MjCek'])||await AsyncStorage['getItem'](_0x46e7(0xb6))||await AsyncStorage[_0x46e7(0xb7)](_0x5e66b4[_0x46e7(0xb8)]);!_0x316d83&&(console[_0x46e7(0xb9)](_0x46e7(0x7d)),_0x316d83=_0x46e7(0x7e));const _0x495d59={'session':{'username':_0x5b93bc,'platform':_0x5e66b4[_0x46e7(0xba)],'channelName':(_0x5e66b4[_0x46e7(0xbb)](_0x1eaeec=_0x11f11a['user'],null)||_0x1eaeec===void 0x0?void 0x0:_0x1eaeec['name'])||_0x5e66b4[_0x46e7(0xbc)],'channelId':null},'googleUser':_0x11f11a['user'],'accessToken':_0x3fb646[_0x46e7(0x95)],'idToken':_0x3fb646[_0x46e7(0xa7)],'refreshToken':_0x4cda07,'serverAuthCode':_0x11f11a[_0x46e7(0x9f)],'userAccountInfo':{'username':_0x5b93bc,'email':_0x5e66b4[_0x46e7(0xbd)](_0x506d70=_0x11f11a[_0x46e7(0xab)],null)||_0x5e66b4['CxJYf'](_0x506d70,void 0x0)?void 0x0:_0x506d70['email'],'authToken':_0x316d83,'channelName':(_0x5e66b4[_0x46e7(0xbe)](_0x4ac22c=_0x11f11a[_0x46e7(0xab)],null)||_0x5e66b4['fXlzi'](_0x4ac22c,void 0x0)?void 0x0:_0x4ac22c['name'])||_0x5e66b4['SpNVw'],'channelId':null}};console[_0x46e7(0x24)](_0x5e66b4[_0x46e7(0xbf)]);const _0x52c9ab=await _0x5e66b4[_0x46e7(0xc0)](fetch,API_CONFIG['BASE_URL']+_0x46e7(0xc1),{'method':'POST','headers':{'Content-Type':'application/json','x-api-key':_0x46e7(0xc2),..._0x316d83!=='migration_token_placeholder'&&{'Authorization':_0x46e7(0xc3)+_0x316d83}},'body':JSON[_0x46e7(0xc4)](_0x495d59)}),_0x5e6138=await _0x52c9ab[_0x46e7(0x1a)]();if(_0x5e6138[_0x46e7(0x4f)])return _0x5e66b4[_0x46e7(0xa3)](_0x5e66b4[_0x46e7(0xc5)],_0x5e66b4['ZBJTt'])?(console['log'](_0x5e66b4[_0x46e7(0xc6)]),await trackMigrationAttempt(_0x5b93bc,!![]),!![]):(_0x3f8cfa[_0x46e7(0x24)](_0x5e66b4[_0x46e7(0xc7)]),![]);else{if(_0x5e66b4[_0x46e7(0xbd)](_0x5e66b4['FQiiX'],_0x5e66b4[_0x46e7(0xc8)]))return console[_0x46e7(0x39)]('โ\x20Backend\x20rejected\x20YouTube\x20migration:',_0x5e6138[_0x46e7(0x39)]),await _0x5e66b4[_0x46e7(0xc9)](trackMigrationAttempt,_0x5b93bc,![],_0x5e6138[_0x46e7(0x39)]),![];else _0x170774[_0x46e7(0xb9)](_0x5e66b4[_0x46e7(0xca)]),_0x42663e=_0x5e66b4[_0x46e7(0xcb)];}}catch(_0x363674){if(_0x5e66b4[_0x46e7(0xcc)](_0x5e66b4[_0x46e7(0xcd)],_0x5e66b4[_0x46e7(0xce)])){var _0x19628c,_0x3f90ff,_0x34abee;const _0xc39282=_0x5e66b4[_0x46e7(0xcf)](_0x5e66b4['Zkfrv'](_0x19628c=_0x42d6b0['validation'],null)||_0x19628c===void 0x0?void 0x0:_0x19628c[_0x46e7(0x52)],!![])||_0x5e66b4[_0x46e7(0xcf)](_0x5e66b4['Zkfrv'](_0x3f90ff=_0x4ca700[_0x46e7(0x25)],null)||_0x5e66b4[_0x46e7(0xaa)](_0x3f90ff,void 0x0)?void 0x0:_0x3f90ff[_0x46e7(0x1f)],!![])||_0x2dd451[_0x46e7(0x52)]===!![]||_0x298fa4[_0x46e7(0x20)]&&_0x3e9814[_0x46e7(0x20)][_0x46e7(0x21)](_0x5e66b4['ttykz']),_0x4149ec=_0x29833e[_0x46e7(0x1b)][_0x46e7(0x22)],_0x3852d0=_0x2e591b[_0x46e7(0x1b)]['hasRefreshToken'];_0x43f742[_0x46e7(0x24)](_0x5e66b4[_0x46e7(0xd0)],{'username':_0x39e6aa,'needsReconnection':_0x4149ec,'hasRefreshToken':_0x3852d0,'isTemporaryMode':_0xc39282,'temporaryModeEnabled':_0x5e66b4['fXlzi'](_0x34abee=_0xee2b9b['temporaryMode'],null)||_0x5e66b4['LwEtN'](_0x34abee,void 0x0)?void 0x0:_0x34abee[_0x46e7(0x1f)],'message':_0x20344a[_0x46e7(0x20)]});if(_0xc39282)return _0x5ad94e['log'](_0x5e66b4[_0x46e7(0xd1)]),_0x31bc1d[_0x46e7(0x24)](_0x5e66b4[_0x46e7(0xd2)]),![];else return _0x4149ec?(_0x294e8a['log'](_0x5e66b4[_0x46e7(0xd3)]),!![]):(_0xa984c3[_0x46e7(0x24)](_0x5e66b4[_0x46e7(0xd4)]),![]);}else return console[_0x46e7(0x39)](_0x5e66b4[_0x46e7(0xd5)],_0x363674),await _0x5e66b4['xHnAM'](trackMigrationAttempt,_0x5b93bc,![],_0x363674 instanceof Error?_0x363674[_0x46e7(0x20)]:_0x46e7(0xd6)),![];}},trackMigrationAttempt=async(_0x2368a2,_0x34e5a7,_0x211f55)=>{const _0x5e963b={'TIyLg':_0x46e7(0x3e),'ZxlLU':function(_0x4a84c1,_0xa3fa43){return _0x4a84c1!==_0xa3fa43;},'Yizot':'Fnzrs','ROBWr':_0x46e7(0xd7),'ckmQD':function(_0x25c006,_0x4f777f,_0x4f68f1){return _0x25c006(_0x4f777f,_0x4f68f1);},'ugiRZ':function(_0x4f23dc,_0x37d3f5){return _0x4f23dc||_0x37d3f5;}};try{if(_0x5e963b[_0x46e7(0xd8)](_0x5e963b[_0x46e7(0xd9)],_0x5e963b['ROBWr']))await _0x5e963b['ckmQD'](fetch,API_CONFIG[_0x46e7(0x19)]+_0x46e7(0xda),{'method':'POST','headers':{'Content-Type':'application/json'},'body':JSON['stringify']({'username':_0x2368a2,'success':_0x34e5a7,'error':_0x5e963b[_0x46e7(0xdb)](_0x211f55,null),'timestamp':new Date()[_0x46e7(0xdc)]()})});else return _0x29f97b[_0x46e7(0x24)](_0x5e963b[_0x46e7(0xdd)]),!![];}catch(_0x599431){console[_0x46e7(0x39)](_0x46e7(0xde),_0x599431);}};export const shouldShowYouTubeMigrationWarning=async _0x4850f7=>{const _0x6f5690={'dKekf':_0x46e7(0x4a),'MJytM':_0x46e7(0x3f),'wlQWB':function(_0x296124,_0x53e1e9){return _0x296124(_0x53e1e9);},'qusBh':function(_0x5c6d99,_0xec1132){return _0x5c6d99===_0xec1132;},'nHNhA':function(_0x586768,_0x3166b5){return _0x586768===_0x3166b5;},'qyiMW':function(_0xe5302a,_0x31dce1){return _0xe5302a===_0x31dce1;},'nhyqU':_0x46e7(0x63),'OtmoC':function(_0x1305eb,_0x226145){return _0x1305eb!==_0x226145;},'DWnYZ':'qRNkv','edJhx':_0x46e7(0xdf),'kSgMn':_0x46e7(0xe0),'nkMhd':_0x46e7(0xe1)};try{console[_0x46e7(0x24)](_0x46e7(0xe2),_0x4850f7);const _0x64526e=await _0x6f5690[_0x46e7(0xe3)](fetch,API_CONFIG[_0x46e7(0x19)]+_0x46e7(0xe4)+_0x4850f7),_0x378726=await _0x64526e['json']();if(_0x378726[_0x46e7(0x4f)]&&_0x378726[_0x46e7(0x1b)]){if(_0x6f5690[_0x46e7(0xe5)](_0x46e7(0xe6),_0x46e7(0xe6))){var _0x2c5faf,_0x2cf2a6;const _0x5207a9=_0x6f5690[_0x46e7(0xe7)](_0x6f5690[_0x46e7(0xe8)](_0x2c5faf=_0x378726[_0x46e7(0x1b)],null)||_0x2c5faf===void 0x0?void 0x0:_0x2c5faf['isTemporaryMode'],!![])||(_0x6f5690[_0x46e7(0xe5)](_0x2cf2a6=_0x378726[_0x46e7(0x25)],null)||_0x6f5690[_0x46e7(0xe7)](_0x2cf2a6,void 0x0)?void 0x0:_0x2cf2a6['enabled'])===!![]||_0x378726[_0x46e7(0x52)]===!![],_0x482389=_0x6f5690[_0x46e7(0xe8)](_0x378726[_0x46e7(0x1b)]['hasAccessToken'],!![]),_0x14bf53=_0x378726['validation'][_0x46e7(0x23)]===!![],_0x11ca39=_0x378726[_0x46e7(0x1b)][_0x46e7(0x22)]===!![];console[_0x46e7(0x24)](_0x6f5690[_0x46e7(0xe9)],{'username':_0x4850f7,'hasAccessToken':_0x482389,'hasRefreshToken':_0x14bf53,'needsReconnection':_0x11ca39,'isTemporaryMode':_0x5207a9,'connectedAt':_0x378726[_0x46e7(0x1b)][_0x46e7(0x64)]});if(_0x5207a9)return console['log'](_0x46e7(0x8)),![];else return _0x482389&&!_0x14bf53&&_0x11ca39?_0x6f5690[_0x46e7(0xea)](_0x6f5690[_0x46e7(0xeb)],_0x6f5690[_0x46e7(0xeb)])?(_0x7bbefd['log'](_0x6f5690['dKekf']),{'isReady':![],'mode':_0x6f5690['MJytM'],'needsMigration':![],'trainingReady':![],'details':_0x36968c}):(console[_0x46e7(0x24)](_0x46e7(0x3e)),!![]):(console['log'](_0x6f5690[_0x46e7(0xec)]),![]);}else _0x4bf59d=_0x25928b['serverAuthCode'],_0x23fd1e='Current\x20user\x20server\x20auth\x20code';}return console[_0x46e7(0x24)](_0x6f5690[_0x46e7(0xed)]),![];}catch(_0x482498){return console[_0x46e7(0x39)](_0x6f5690[_0x46e7(0xee)],_0x482498),![];}};export const checkAndFixYouTubeConnection=async _0x4c24f2=>{const _0x221947={'CRqQw':_0x46e7(0x3a),'AVrrk':_0x46e7(0x11),'wfmoI':_0x46e7(0xef),'wTEtm':_0x46e7(0x29),'nFjCh':_0x46e7(0x2a),'XXuBk':_0x46e7(0xf0),'bfOAu':function(_0x39d4af,_0x36a03f){return _0x39d4af(_0x36a03f);},'MiQkd':'HBERu','pQogX':_0x46e7(0x7b),'jUaaY':_0x46e7(0x7c),'Tgizn':function(_0x683877,_0x4b5631){return _0x683877===_0x4b5631;},'vzKFq':_0x46e7(0xf1),'EQJFq':_0x46e7(0xf2),'FapFb':function(_0x12f791){return _0x12f791();},'mziRe':function(_0x4891af,_0x42cb47){return _0x4891af!==_0x42cb47;},'eEHXK':_0x46e7(0xf3),'srWUL':_0x46e7(0xf4),'IHdeJ':function(_0x56756b,_0x44f7b3){return _0x56756b(_0x44f7b3);},'vwxoM':_0x46e7(0xf5),'jUTiF':'szKOi','uiPft':_0x46e7(0x6e),'GkziH':'Your\x20YouTube\x20connection\x20has\x20been\x20upgraded\x20successfully.\x20Training\x20will\x20now\x20work\x20seamlessly\x20without\x20interruptions.','UvtUG':_0x46e7(0x7a),'mXAwS':_0x46e7(0xc),'Nrmkp':_0x46e7(0xf6)};try{console[_0x46e7(0x24)](_0x221947[_0x46e7(0xf7)],_0x4c24f2);const _0xc3fc92=await _0x221947['bfOAu'](shouldShowYouTubeMigrationWarning,_0x4c24f2);if(!_0xc3fc92)return _0x46e7(0xf8)===_0x221947[_0x46e7(0xf9)]?(_0x1a5694[_0x46e7(0x39)](_0x221947[_0x46e7(0xfa)],_0x263e15),![]):(console['log'](_0x221947['pQogX']),console[_0x46e7(0x24)](_0x221947['jUaaY']),!![]);const _0x2d4738=await _0x221947['bfOAu'](checkYouTubeMigrationNeeded,_0x4c24f2);if(!_0x2d4738)return _0x221947[_0x46e7(0xfb)](_0x221947[_0x46e7(0xfc)],_0x221947[_0x46e7(0xfc)])?(console['log'](_0x221947['wfmoI']),!![]):(_0x3826c4[_0x46e7(0x24)](_0x221947['AVrrk']),!![]);console[_0x46e7(0x24)](_0x221947['EQJFq']);const _0x53018c=await _0x221947[_0x46e7(0xfd)](showYouTubeMigrationPrompt);if(!_0x53018c)return _0x221947['mziRe'](_0x221947['eEHXK'],_0x221947['eEHXK'])?(_0x144c75[_0x46e7(0x24)](_0x221947[_0x46e7(0xfe)]),!![]):(console[_0x46e7(0x24)](_0x221947['srWUL']),![]);const _0x287329=await _0x221947[_0x46e7(0xff)](forceYouTubeReconnection,_0x4c24f2);return _0x287329?_0x221947['vwxoM']===_0x221947[_0x46e7(0x100)]?(_0x16f347[_0x46e7(0x24)](_0x221947[_0x46e7(0x101)]),_0x12138[_0x46e7(0x24)](_0x221947['nFjCh']),![]):(Alert['alert'](_0x221947[_0x46e7(0x102)],_0x221947[_0x46e7(0x103)],[{'text':_0x221947[_0x46e7(0x104)],'style':_0x221947[_0x46e7(0x105)]}]),!![]):(Alert[_0x46e7(0x2d)](_0x46e7(0x3b),_0x46e7(0x3c),[{'text':'OK','style':_0x221947[_0x46e7(0x105)]}]),![]);}catch(_0x2033d1){return console[_0x46e7(0x39)](_0x221947[_0x46e7(0x106)],_0x2033d1),![];}};export const reconnectYouTube=async _0x2be804=>{const _0x1b3fa2={'sEzCN':_0x46e7(0x107),'LpScO':function(_0xf45591,_0x4b9856){return _0xf45591(_0x4b9856);}};return console['log'](_0x1b3fa2[_0x46e7(0x108)],_0x2be804),await _0x1b3fa2[_0x46e7(0x109)](forceYouTubeReconnection,_0x2be804);};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{Platform}from'react-native';export const COLORS={'surface':
|
|
1
|
+
import{Platform}from'react-native';function _0x5262(){const _0x2ccc0b=['#FAFAFA','#D1D5DB','#9CA3AF','#86888E','#62646C','#374151','#1F242F','#29292B','#17181C','rgba(0,0,0,0.10)','rgba(0,0,0,0.06)','#FFFFFF','#0A090E','#17171B','#FFD700','#000000','#121212','#1C2526','#B0B0B0','rgba(255,\x20255,\x20255,\x200.1)','#4BB543','#FF3B30','#FF9500','#5AC8FA','rgba(0,\x200,\x200,\x200.7)','ios','IBM\x20Plex\x20Sans','Inter','Roboto','serif','300','400','500','600','700','primary','btnInnerShadow','btnShadowOuter','families','ibmPlexSansBold','weights','bold','sizes','kicker','lineHeights','letterSpacing','grey500','welcomeTitle','grey800','inter','regular','body','center','grey600','semibold','buttonLabel','btnLabel'];_0x5262=function(){return _0x2ccc0b;};return _0x5262();}function _0x4695(_0x52622f,_0x4695ea){_0x52622f=_0x52622f-0x0;const _0x4d33fd=_0x5262();let _0x24c361=_0x4d33fd[_0x52622f];return _0x24c361;}export const COLORS={'surface':_0x4695(0x0),'grey300':_0x4695(0x1),'grey400':_0x4695(0x2),'grey500':_0x4695(0x3),'grey600':_0x4695(0x4),'grey700':_0x4695(0x5),'grey800':_0x4695(0x6),'btnGradStart':_0x4695(0x7),'btnGradEnd':_0x4695(0x8),'btnBorder':'rgba(0,0,0,0.20)','btnShadowOuter':_0x4695(0x9),'btnInnerShadow':_0x4695(0xa),'btnLabel':_0x4695(0xb),'iconCircleGradientStart':_0x4695(0xc),'iconCircleGradientEnd':_0x4695(0xd),'primary':_0x4695(0xe),'primaryDark':'#E9B104','primaryLight':'#FFDF33','background':{'dark':_0x4695(0xf),'medium':_0x4695(0x10),'light':_0x4695(0x11)},'text':{'primary':_0x4695(0xb),'secondary':_0x4695(0x12),'tertiary':'#808080','gold':'#FFD700'},'ui':{'cardBackground':_0x4695(0x13),'divider':'rgba(255,\x20255,\x20255,\x200.1)','inputBackground':_0x4695(0x13),'buttonBackground':_0x4695(0x13)},'status':{'success':_0x4695(0x14),'error':_0x4695(0x15),'warning':_0x4695(0x16),'info':_0x4695(0x17)},'transparent':'transparent','overlay':_0x4695(0x18)};export const FONTS={'families':{'ibmPlexSans':Platform['OS']===_0x4695(0x19)?_0x4695(0x1a):_0x4695(0x1a),'ibmPlexSansBold':Platform['OS']==='ios'?_0x4695(0x1a):_0x4695(0x1a),'inter':Platform['OS']==='ios'?_0x4695(0x1b):'Inter-Regular','base':Platform['OS']==='ios'?'System':_0x4695(0x1c),'serif':Platform['OS']===_0x4695(0x19)?'Georgia':_0x4695(0x1d)},'weights':{'light':_0x4695(0x1e),'regular':_0x4695(0x1f),'medium':_0x4695(0x20),'semibold':_0x4695(0x21),'bold':_0x4695(0x22)},'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['primary'],'shadowOffset':{'width':0x0,'height':0x2},'shadowOpacity':0.3,'shadowRadius':0x4,'elevation':0x3},'medium':{'shadowColor':COLORS[_0x4695(0x23)],'shadowOffset':{'width':0x0,'height':0x4},'shadowOpacity':0.5,'shadowRadius':0x8,'elevation':0x5},'large':{'shadowColor':COLORS[_0x4695(0x23)],'shadowOffset':{'width':0x0,'height':0x6},'shadowOpacity':0.8,'shadowRadius':0x10,'elevation':0x8},'button':{'inner':{'shadowColor':COLORS[_0x4695(0x24)],'shadowOffset':{'width':0x0,'height':-0x24},'shadowOpacity':0x1,'shadowRadius':21.1},'outer':{'shadowColor':COLORS[_0x4695(0x25)],'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}};export const TEXT_STYLES={'kicker':{'fontFamily':FONTS[_0x4695(0x26)][_0x4695(0x27)],'fontWeight':FONTS[_0x4695(0x28)][_0x4695(0x29)],'fontSize':FONTS[_0x4695(0x2a)][_0x4695(0x2b)],'lineHeight':FONTS[_0x4695(0x2c)][_0x4695(0x2b)],'letterSpacing':FONTS[_0x4695(0x2d)][_0x4695(0x2b)],'color':COLORS[_0x4695(0x2e)]},'welcomeTitle':{'fontFamily':FONTS[_0x4695(0x26)][_0x4695(0x27)],'fontWeight':FONTS[_0x4695(0x28)][_0x4695(0x29)],'fontSize':FONTS[_0x4695(0x2a)][_0x4695(0x2f)],'lineHeight':FONTS[_0x4695(0x2c)][_0x4695(0x2f)],'color':COLORS[_0x4695(0x30)]},'body':{'fontFamily':FONTS[_0x4695(0x26)][_0x4695(0x31)],'fontWeight':FONTS[_0x4695(0x28)][_0x4695(0x32)],'fontSize':FONTS[_0x4695(0x2a)][_0x4695(0x33)],'lineHeight':FONTS[_0x4695(0x2c)][_0x4695(0x33)],'textAlign':_0x4695(0x34),'color':COLORS[_0x4695(0x35)]},'buttonLabel':{'fontFamily':FONTS[_0x4695(0x26)][_0x4695(0x31)],'fontWeight':FONTS[_0x4695(0x28)][_0x4695(0x36)],'fontSize':FONTS[_0x4695(0x2a)][_0x4695(0x37)],'color':COLORS[_0x4695(0x38)]}};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
|
-
export let ApiKeyType=function(
|
|
1
|
+
function _0x54d9(_0x60ec67,_0x54d90c){_0x60ec67=_0x60ec67-0x0;const _0x537199=_0x60ec();let _0x5be68f=_0x537199[_0x60ec67];return _0x5be68f;}export let ApiKeyType=function(_0x53822c){const _0x3ef24f={'uuHgH':_0x54d9(0x0),'WGCZq':'ADMIN','ZIUVQ':'admin','zFetN':_0x54d9(0x1)};return _0x53822c[_0x54d9(0x2)]=_0x3ef24f[_0x54d9(0x3)],_0x53822c[_0x3ef24f[_0x54d9(0x4)]]=_0x3ef24f[_0x54d9(0x5)],_0x53822c[_0x54d9(0x6)]=_0x3ef24f[_0x54d9(0x7)],_0x53822c;}({});function _0x60ec(){const _0x3e8a6e=['developer','invalid','DEVELOPER','uuHgH','WGCZq','ZIUVQ','INVALID','zFetN'];_0x60ec=function(){return _0x3e8a6e;};return _0x60ec();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
function _0x1f9b(){const _0x5d49a6=['XaLke','hySGS','MPDQm','OIyGx','gOshx','MvLUC','DAaOo','EOKrA','naLFc','UqEZu','SszrF','RRHdU','createElement','Provider','keys','map','hSulJ','yXdtq','zqdYZ','useContext','oEYEK','WUEGA','ccpCp','gLyUm','dmicq','VLOna','OabpS'];_0x1f9b=function(){return _0x5d49a6;};return _0x1f9b();}import React,{useEffect,useState}from'react';import{View}from'react-native';const portalRefs={};let portalId=0x0;function _0x5c6c(_0x1f9bbf,_0x5c6cae){_0x1f9bbf=_0x1f9bbf-0x0;const _0x2beaf2=_0x1f9b();let _0x113ffe=_0x2beaf2[_0x1f9bbf];return _0x113ffe;}const PortalContext=React['createContext']({'mount':()=>0x0,'update':()=>{},'unmount':()=>{}});export const PortalHost=({children:_0xd11aac})=>{const _0x106c4c={'DAaOo':function(_0x304c39,_0x4dfdb5,_0x50e1e8){return _0x304c39(_0x4dfdb5,_0x50e1e8);},'OIyGx':_0x5c6c(0x0),'gOshx':_0x5c6c(0x1),'MvLUC':function(_0x204434,_0x4de203){return _0x204434(_0x4de203);},'EOKrA':function(_0x49491f,_0x5299cb){return _0x49491f!==_0x5299cb;},'naLFc':'veIJU','RRHdU':function(_0x5d48e7,_0x534140){return _0x5d48e7(_0x534140);},'SszrF':_0x5c6c(0x2)},[_0x5f51f4,_0x55863a]=useState({}),_0x70d366=_0x999b45=>{if(_0x106c4c[_0x5c6c(0x3)]!==_0x106c4c[_0x5c6c(0x4)]){const _0x145e7e=++portalId;return _0x106c4c[_0x5c6c(0x5)](_0x55863a,_0x42ffb2=>({..._0x42ffb2,[_0x145e7e]:_0x999b45})),_0x145e7e;}else _0x106c4c[_0x5c6c(0x6)](_0x4d16d0,_0x585714,_0x3eeb96);},_0x324efb=(_0x237b71,_0x3553e4)=>{_0x106c4c[_0x5c6c(0x7)](_0x106c4c[_0x5c6c(0x8)],_0x5c6c(0x9))?_0x106c4c[_0x5c6c(0x5)](_0x55863a,_0x190828=>({..._0x190828,[_0x237b71]:_0x3553e4})):_0x106c4c[_0x5c6c(0x7)](_0x4579ab,null)&&_0x106c4c[_0x5c6c(0x6)](_0x11c7c3,_0x27aa4e,_0x35d6a1);},_0x588395=_0x582238=>{_0x106c4c[_0x5c6c(0xa)]!==_0x5c6c(0x2)?_0x106c4c[_0x5c6c(0xb)](_0x5823f3,_0x574925=>({..._0x574925,[_0x1b1671]:_0x18b3f9})):_0x106c4c[_0x5c6c(0x5)](_0x55863a,_0x10e867=>{const _0x4c0ad3={..._0x10e867};return delete _0x4c0ad3[_0x582238],_0x4c0ad3;});};return React[_0x5c6c(0xc)](PortalContext[_0x5c6c(0xd)],{'value':{'mount':_0x70d366,'update':_0x324efb,'unmount':_0x588395}},_0xd11aac,Object[_0x5c6c(0xe)](_0x5f51f4)[_0x5c6c(0xf)](_0x5140bd=>React[_0x5c6c(0xc)](View,{'key':_0x5140bd,'style':{'position':'absolute','top':0x0,'left':0x0,'right':0x0,'bottom':0x0,'zIndex':0x270f}},_0x5f51f4[Number(_0x5140bd)])));};export const Portal=({children:_0x3b4231})=>{const _0x5e0f7f={'oEYEK':function(_0x433abb,_0x1808fb){return _0x433abb(_0x1808fb);},'pnjhp':function(_0x2f9d7a,_0xab38a3){return _0x2f9d7a(_0xab38a3);},'WUEGA':function(_0x1e1609,_0x341e96){return _0x1e1609===_0x341e96;},'ccpCp':_0x5c6c(0x10),'TOBYi':_0x5c6c(0x11),'gLyUm':function(_0x1c46c1,_0x41a5f6){return _0x1c46c1!==_0x41a5f6;},'dmicq':_0x5c6c(0x12),'OabpS':function(_0x3e2bf4,_0x103873,_0x365c1a){return _0x3e2bf4(_0x103873,_0x365c1a);}},{mount:_0x282792,update:_0xc85bc1,unmount:_0x5e7cb3}=React[_0x5c6c(0x13)](PortalContext),[_0x42128d,_0x301ac7]=useState(null);return useEffect(()=>{const _0x38a83e={'UjahQ':function(_0x268e6e,_0x357621){return _0x5e0f7f[_0x5c6c(0x14)](_0x268e6e,_0x357621);}},_0x70e5a7=_0x5e0f7f['pnjhp'](_0x282792,_0x3b4231);return _0x301ac7(_0x70e5a7),()=>{if(_0x42128d)_0x38a83e['UjahQ'](_0x5e7cb3,_0x42128d);};},[]),_0x5e0f7f['OabpS'](useEffect,()=>{const _0x4fdb58={'VLOna':function(_0xbc526d,_0x868a24){return _0xbc526d(_0x868a24);}};if(_0x5e0f7f[_0x5c6c(0x15)](_0x5e0f7f[_0x5c6c(0x16)],_0x5e0f7f['TOBYi'])){const _0x569158={..._0x3b3f98};return delete _0x569158[_0x382202],_0x569158;}else{if(_0x5e0f7f[_0x5c6c(0x17)](_0x42128d,null)){if(_0x5e0f7f['dmicq']!==_0x5e0f7f[_0x5c6c(0x18)]){if(_0x2d2583)_0x4fdb58[_0x5c6c(0x19)](_0xabc942,_0x19b1bc);}else _0x5e0f7f[_0x5c6c(0x1a)](_0xc85bc1,_0x42128d,_0x3b4231);}}},[_0x3b4231,_0x42128d]),null;};
|
package/lib/module/utils/api.js
CHANGED
|
@@ -1 +1 @@
|
|
|
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[
|
|
1
|
+
import axios from'axios';import AsyncStorage from'@react-native-async-storage/async-storage';function _0xe26b(){const _0x50eb3a=['BASE_URL','getItem','qEMZP','Bearer\x20','/valid/validate-domain','TgOyP','post','data','error','/getAccountInfo/email','AGueP','Error\x20fetching\x20account\x20info:','othent','/getAPIurl','Error\x20getting\x20API\x20URL:','CWeJb','lGevd','twGAp','/createAccount','Error\x20creating\x20account:','xwjHY','cAXYS'];_0xe26b=function(){return _0x50eb3a;};return _0xe26b();}function _0x2f39(_0xe26b52,_0x2f39ff){_0xe26b52=_0xe26b52-0x0;const _0x41384b=_0xe26b();let _0x43d999=_0x41384b[_0xe26b52];return _0x43d999;}import{API_CONFIG}from'../config/api';const API_URL=API_CONFIG[_0x2f39(0x0)];export const createApiInstance=async()=>{const _0xf2b717={'qEMZP':'onairosToken'},_0x5c4db3=await AsyncStorage[_0x2f39(0x1)](_0xf2b717[_0x2f39(0x2)]);return axios['create']({'baseURL':API_URL,'headers':{'Content-Type':'application/json',..._0x5c4db3?{'Authorization':_0x2f39(0x3)+_0x5c4db3}:{}}});};export const validateDomain=async()=>{const _0x6b3039={'TgOyP':function(_0x206e92){return _0x206e92();},'kzxoM':_0x2f39(0x4)};try{const _0xbcaf4e=await _0x6b3039[_0x2f39(0x5)](createApiInstance),_0x25a72a=await _0xbcaf4e[_0x2f39(0x6)](_0x6b3039['kzxoM']);return _0x25a72a[_0x2f39(0x7)];}catch(_0x5de579){return console[_0x2f39(0x8)]('Error\x20validating\x20domain:',_0x5de579),{'status':![]};}};export const fetchAccountInfo=async(_0x5b110c,_0x447fc2=![])=>{const _0x262172={'AGueP':function(_0x382e71){return _0x382e71();},'wRNhS':_0x2f39(0x9)};try{const _0x666a0d=await _0x262172[_0x2f39(0xa)](createApiInstance),_0x1f5a6e=_0x447fc2?{'Info':{'identifier':_0x5b110c}}:{'Info':{'userName':_0x5b110c}},_0x20c3e0=_0x447fc2?_0x262172['wRNhS']:'/getAccountInfo',_0x50e2de=await _0x666a0d[_0x2f39(0x6)](_0x20c3e0,_0x1f5a6e);return _0x50e2de[_0x2f39(0x7)];}catch(_0xacda7f){console[_0x2f39(0x8)](_0x2f39(0xb),_0xacda7f);throw _0xacda7f;}};export const getApiUrl=async(_0x4f58c0,_0x541b13,_0x1c9c1d)=>{const _0x524085={'OOXfU':function(_0x53094b){return _0x53094b();},'CWeJb':_0x2f39(0xc),'lGevd':_0x2f39(0xd),'twGAp':_0x2f39(0xe)};try{const _0x114bcd=await _0x524085['OOXfU'](createApiInstance),_0x353f19={'Info':{'EncryptedUserPin':_0x541b13,'confirmations':_0x4f58c0,'web3Type':_0x524085[_0x2f39(0xf)],'Domain':Platform['OS'],'proofMode':![],'OthentSub':_0x1c9c1d}},_0xd011a1=await _0x114bcd[_0x2f39(0x6)](_0x524085[_0x2f39(0x10)],_0x353f19);return _0xd011a1[_0x2f39(0x7)];}catch(_0x4fc247){console[_0x2f39(0x8)](_0x524085[_0x2f39(0x11)],_0x4fc247);throw _0x4fc247;}};export const createAccount=async(_0x2f4507,_0x16ee9d,_0x52a132,_0x2830e0)=>{const _0x305d74={'xwjHY':_0x2f39(0x12),'cAXYS':_0x2f39(0x13)};try{const _0x3ae3ab=await createApiInstance(),_0x1fb474=await _0x3ae3ab['post'](_0x305d74[_0x2f39(0x14)],{'othentSub':_0x2f4507,'pin':_0x16ee9d,'socialAccounts':_0x52a132,'email':_0x2830e0});return _0x1fb474[_0x2f39(0x7)];}catch(_0x2402c2){console['error'](_0x305d74[_0x2f39(0x15)],_0x2402c2);throw _0x2402c2;}};
|
|
@@ -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)};
|
|
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=_0xe75b12=>{const _0xa15750={'vgyGf':_0x39a3(0x0),'LzHRp':_0x39a3(0x1),'vuBJU':_0x39a3(0x2)},_0x4f6b00=_0xe75b12[_0x39a3(0x3)]();switch(_0x4f6b00){case _0x39a3(0x4):return PLATFORM_ICONS['youtube'];case _0x39a3(0x5):return PLATFORM_ICONS[_0x39a3(0x5)];case _0xa15750[_0x39a3(0x6)]:return PLATFORM_ICONS[_0x39a3(0x0)];case _0x39a3(0x7):return PLATFORM_ICONS[_0x39a3(0x7)];case'facebook':return PLATFORM_ICONS[_0x39a3(0x8)];case _0x39a3(0x9):return PLATFORM_ICONS[_0x39a3(0x9)];case _0x39a3(0xa):case'email':return PLATFORM_ICONS[_0x39a3(0xa)];case'twitter':case'x':return PLATFORM_ICONS[_0x39a3(0xb)];case'farcaster':return PLATFORM_ICONS[_0x39a3(0xc)];case _0x39a3(0xd):case'openai':return PLATFORM_ICONS['chatgpt'];case _0xa15750['LzHRp']:case _0x39a3(0xe):return PLATFORM_ICONS[_0x39a3(0x1)];case _0xa15750[_0x39a3(0xf)]:return PLATFORM_ICONS['grok'];case'gemini':case _0x39a3(0x10):return PLATFORM_ICONS[_0x39a3(0x11)];default:return PLATFORM_ICONS[_0x39a3(0x12)];}};function _0x4ddb(){const _0x5c955c=['linkedin','claude','grok','toLowerCase','youtube','reddit','vgyGf','instagram','facebook','pinterest','gmail','twitter','farcaster','chatgpt','anthropic','vuBJU','google_ai','gemini','default','level','level1','YouTube','youtube2','Reddit','Pinterest','Email','OLRMn','olHlz','skMEc','email'];_0x4ddb=function(){return _0x5c955c;};return _0x4ddb();}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)};function _0x39a3(_0x4ddb0b,_0x39a349){_0x4ddb0b=_0x4ddb0b-0x0;const _0x1c3065=_0x4ddb();let _0x3f594f=_0x1c3065[_0x4ddb0b];return _0x3f594f;}export const getPersonaImage=_0x540306=>{const _0x21eaf1=_0x39a3(0x13)+_0x540306;return PERSONA_IMAGES[_0x21eaf1]||PERSONA_IMAGES[_0x39a3(0x14)];};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)};export const OVERLAY_PLATFORMS=[{'id':_0x39a3(0x7),'name':'Instagram','icon':PLATFORM_ICONS[_0x39a3(0x7)]},{'id':_0x39a3(0x4),'name':_0x39a3(0x15),'icon':PLATFORM_ICONS[_0x39a3(0x16)]},{'id':_0x39a3(0x5),'name':_0x39a3(0x17),'icon':PLATFORM_ICONS[_0x39a3(0x5)]},{'id':'pinterest','name':_0x39a3(0x18),'icon':PLATFORM_ICONS[_0x39a3(0x9)]},{'id':'email','name':_0x39a3(0x19),'icon':PLATFORM_ICONS['gmail']}];export const getUniversalOnboardingIcon=_0x2407ff=>{const _0x3f5ea5={'OLRMn':_0x39a3(0x5),'olHlz':'pinterest','skMEc':_0x39a3(0x0)},_0x404a01=_0x2407ff[_0x39a3(0x3)]();switch(_0x404a01){case _0x39a3(0x7):return PLATFORM_ICONS['instagram'];case _0x39a3(0x4):return PLATFORM_ICONS[_0x39a3(0x16)];case _0x3f5ea5[_0x39a3(0x1a)]:return PLATFORM_ICONS[_0x39a3(0x5)];case _0x3f5ea5[_0x39a3(0x1b)]:return PLATFORM_ICONS['pinterest'];case _0x39a3(0x8):return PLATFORM_ICONS[_0x39a3(0x8)];case _0x3f5ea5[_0x39a3(0x1c)]:return PLATFORM_ICONS[_0x39a3(0x0)];case'gmail':case _0x39a3(0x1d):return PLATFORM_ICONS[_0x39a3(0xa)];default:return PLATFORM_ICONS[_0x39a3(0x12)];}};
|
package/lib/module/utils/auth.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';function _0x16ca(_0x3cdc8f,_0x16ca26){_0x3cdc8f=_0x3cdc8f-0x0;const _0x3f7481=_0x3cdc();let _0x12f794=_0x3f7481[_0x3cdc8f];return _0x12f794;}import{API_CONFIG}from'../config/api';const API_URL=API_CONFIG[_0x16ca(0x0)];export const getPin=async _0x2c976f=>{const _0x6db990={'tpzuN':'Error\x20storing\x20auth\x20data:','OKbmW':_0x16ca(0x1),'kZHPi':'Error\x20getting\x20PIN:'};try{if(_0x6db990['OKbmW']===_0x16ca(0x1)){const _0x4b506b=await axios[_0x16ca(0x2)](API_URL+_0x16ca(0x3),{'hashedOthentSub':_0x2c976f});return _0x4b506b[_0x16ca(0x4)];}else{_0xc0ef9[_0x16ca(0x5)](_0x6db990['tpzuN'],_0x50b6c9);throw _0x2150e3;}}catch(_0x39694f){console[_0x16ca(0x5)](_0x6db990[_0x16ca(0x6)],_0x39694f);throw _0x39694f;}};export const verifyToken=async _0x466614=>{const _0x30a2ab={'LDEFe':_0x16ca(0x7)};try{const _0x685d79=await axios[_0x16ca(0x2)](API_URL+_0x16ca(0x8),{},{'headers':{'Authorization':_0x16ca(0x9)+_0x466614}});return _0x685d79[_0x16ca(0x4)]['valid'];}catch(_0x4240ba){return console[_0x16ca(0x5)](_0x30a2ab['LDEFe'],_0x4240ba),![];}};export const storeAuthData=async(_0x4fff5d,_0x3df361=null,_0x2f7f69=null)=>{const _0x253ae6={'lrKyq':_0x16ca(0xa),'YeizH':function(_0x512fbe,_0x44c361){return _0x512fbe!==_0x44c361;},'DOSSZ':_0x16ca(0xb)};try{await AsyncStorage[_0x16ca(0xc)](_0x253ae6[_0x16ca(0xd)],_0x4fff5d);if(_0x3df361){if(_0x253ae6[_0x16ca(0xe)]('HODRi',_0x16ca(0xf)))return _0x20ced8[_0x16ca(0x5)](_0x16ca(0x10),_0x2575cc),{'token':null,'username':null,'othentToken':null};else await AsyncStorage[_0x16ca(0xc)](_0x16ca(0x11),_0x3df361);}_0x2f7f69&&await AsyncStorage[_0x16ca(0xc)](_0x253ae6[_0x16ca(0x12)],JSON['stringify'](_0x2f7f69));}catch(_0x25a8bc){console[_0x16ca(0x5)](_0x16ca(0x13),_0x25a8bc);throw _0x25a8bc;}};export const clearAuthData=async()=>{const _0x286c0b={'wLiVS':_0x16ca(0x14),'dCskd':function(_0x29f180,_0x5c1394){return _0x29f180!==_0x5c1394;},'xYKAv':'Psfwp','WlHrQ':'onairosToken','xLOzI':_0x16ca(0x11)};try{if(_0x286c0b[_0x16ca(0x15)](_0x286c0b['xYKAv'],_0x16ca(0x16)))await AsyncStorage['removeItem'](_0x286c0b[_0x16ca(0x17)]),await AsyncStorage[_0x16ca(0x18)](_0x286c0b[_0x16ca(0x19)]),await AsyncStorage[_0x16ca(0x18)](_0x16ca(0xb));else{_0x3a0fa4[_0x16ca(0x5)](_0x286c0b[_0x16ca(0x1a)],_0x36239c);throw _0x1808c5;}}catch(_0x561e31){console['error'](_0x16ca(0x14),_0x561e31);throw _0x561e31;}};export const getStoredAuthData=async()=>{const _0x3dacbf={'sHUoX':_0x16ca(0x7),'BYVBG':_0x16ca(0x1b),'bXRQI':_0x16ca(0xb),'rvTML':function(_0x2c318c,_0x12d1c1){return _0x2c318c!==_0x12d1c1;},'XDDTH':'qVMjR','OjGlu':'Error\x20getting\x20stored\x20auth\x20data:'};try{if(_0x3dacbf[_0x16ca(0x1c)]===_0x16ca(0x1b)){const _0x344423=await AsyncStorage[_0x16ca(0x1d)]('onairosToken'),_0x2f623d=await AsyncStorage[_0x16ca(0x1d)](_0x16ca(0x11)),_0x132b30=await AsyncStorage['getItem'](_0x3dacbf['bXRQI']);return{'token':_0x344423,'username':_0x2f623d,'othentToken':_0x132b30?JSON[_0x16ca(0x1e)](_0x132b30):null};}else return _0x4fb43e[_0x16ca(0x5)](_0x3dacbf[_0x16ca(0x1f)],_0x251c2f),![];}catch(_0x381f78){if(_0x3dacbf[_0x16ca(0x20)](_0x3dacbf[_0x16ca(0x21)],_0x3dacbf[_0x16ca(0x21)])){_0x198596[_0x16ca(0x5)](_0x16ca(0x22),_0x4b4c0c);throw _0x4d312a;}else return console[_0x16ca(0x5)](_0x3dacbf[_0x16ca(0x23)],_0x381f78),{'token':null,'username':null,'othentToken':null};}};function _0x3cdc(){const _0x254bc2=['BASE_URL','UHmhV','post','/getPin','data','error','kZHPi','Error\x20verifying\x20token:','/verifyToken','Bearer\x20','onairosToken','othentToken','setItem','lrKyq','YeizH','HODRi','Error\x20getting\x20stored\x20auth\x20data:','username','DOSSZ','Error\x20storing\x20auth\x20data:','Error\x20clearing\x20auth\x20data:','dCskd','uEOXW','WlHrQ','removeItem','xLOzI','wLiVS','xKZpR','BYVBG','getItem','parse','sHUoX','rvTML','XDDTH','Error\x20getting\x20PIN:','OjGlu'];_0x3cdc=function(){return _0x254bc2;};return _0x3cdc();}
|
|
@@ -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 _0x9b0e8e={'oVubl':function(_0x2e1595,_0x53be0e){return _0x2e1595(_0x53be0e);},'JufUi':_0xb03f(0x0),'egRBW':'extractor','MKgJB':function(_0x5a2e89,_0x352b72){return _0x5a2e89===_0x352b72;},'YwhJF':_0xb03f(0x1),'kXTEd':_0xb03f(0x2),'FZneI':'fail','zhYFg':_0xb03f(0x3),'kXYPc':function(_0x125bc9,_0x57902c){return _0x125bc9(_0x57902c);},'xIivq':'webview_scripts','UQKlU':'ChatGPT\x20scripts\x20exported\x20correctly','UrPxj':'ChatGPT\x20scripts\x20missing','cMYCl':function(_0xd937f9,_0x519756){return _0xd937f9(_0x519756);},'FiHpD':'claude','jXwSg':_0xb03f(0x4),'gAGyt':function(_0x3e84ae,_0x54be61){return _0x3e84ae(_0x54be61);},'IlHaq':_0xb03f(0x5),'Qxgjk':_0xb03f(0x6),'dgBwJ':_0xb03f(0x7),'BPYIU':'Instagram\x20scripts\x20exported\x20correctly','VhcWu':'Instagram\x20scripts\x20missing','hZSKz':function(_0x12e070,_0x217d49){return _0x12e070(_0x217d49);},'FnbsO':_0xb03f(0x8),'uBgkJ':_0xb03f(0x9),'FcDwx':_0xb03f(0xa),'Vodnt':_0xb03f(0xb),'jQssu':'Telegram\x20scripts\x20missing','SBibA':'utilities','tgTse':_0xb03f(0xc),'kKfMH':function(_0x1432c4,_0x35fc16){return _0x1432c4&&_0x35fc16;},'auFAs':'Platform\x20detection\x20functions\x20available','USaIg':'all'},_0x3c78b3=[];try{const {CHATGPT_CONSENT_POPUP_SCRIPT:_0x38e70c,CHATGPT_EXPORT_SCRIPT:_0x29117e}=_0x9b0e8e['kXYPc'](__ONAIROS_REQ_FUNC__,0x13);_0x3c78b3[_0xb03f(0xd)]({'platform':_0xb03f(0xe),'component':_0x9b0e8e[_0xb03f(0xf)],'status':_0x29117e?_0x9b0e8e[_0xb03f(0x10)]:_0x9b0e8e[_0xb03f(0x11)],'message':_0x29117e?_0x9b0e8e[_0xb03f(0x12)]:_0x9b0e8e[_0xb03f(0x13)]});const {CLAUDE_CONSENT_POPUP_SCRIPT:_0x12b850,CLAUDE_EXPORT_SCRIPT:_0x514361}=_0x9b0e8e[_0xb03f(0x14)](__ONAIROS_REQ_FUNC__,0x12);_0x3c78b3['push']({'platform':_0x9b0e8e[_0xb03f(0x15)],'component':_0x9b0e8e[_0xb03f(0xf)],'status':_0x514361?_0x9b0e8e[_0xb03f(0x10)]:_0x9b0e8e['FZneI'],'message':_0x514361?_0x9b0e8e['jXwSg']:_0xb03f(0x16)});const {HINGE_CONSENT_POPUP_SCRIPT:_0x3f7659,HINGE_EXPORT_SCRIPT:_0x2f0752}=_0x9b0e8e[_0xb03f(0x17)](__ONAIROS_REQ_FUNC__,0x11);_0x3c78b3[_0xb03f(0xd)]({'platform':_0x9b0e8e[_0xb03f(0x18)],'component':_0x9b0e8e[_0xb03f(0xf)],'status':_0x2f0752?_0x9b0e8e[_0xb03f(0x10)]:_0x9b0e8e['FZneI'],'message':_0x2f0752?_0x9b0e8e[_0xb03f(0x19)]:_0xb03f(0x1a)});const {INSTAGRAM_CONSENT_POPUP_SCRIPT:_0x2b2399,INSTAGRAM_EXPORT_SCRIPT:_0x32f769}=_0x9b0e8e[_0xb03f(0x1b)](__ONAIROS_REQ_FUNC__,0x6);_0x3c78b3[_0xb03f(0xd)]({'platform':_0x9b0e8e[_0xb03f(0x1c)],'component':_0xb03f(0x1d),'status':_0x32f769?_0x9b0e8e[_0xb03f(0x10)]:_0x9b0e8e['FZneI'],'message':_0x32f769?_0x9b0e8e[_0xb03f(0x1e)]:_0x9b0e8e[_0xb03f(0x1f)]});const {SEPHORA_CONSENT_POPUP_SCRIPT:_0x422618,SEPHORA_EXPORT_SCRIPT:_0x47d232}=_0x9b0e8e[_0xb03f(0x20)](__ONAIROS_REQ_FUNC__,0x5);_0x3c78b3['push']({'platform':_0xb03f(0x0),'component':_0x9b0e8e[_0xb03f(0xf)],'status':_0x47d232?_0x9b0e8e[_0xb03f(0x10)]:_0x9b0e8e['FZneI'],'message':_0x47d232?_0x9b0e8e[_0xb03f(0x21)]:_0x9b0e8e[_0xb03f(0x22)]});const {TELEGRAM_CONSENT_POPUP_SCRIPT:_0x48aefa,TELEGRAM_EXPORT_SCRIPT:_0x1261d1}=__ONAIROS_REQ_FUNC__(0x4);_0x3c78b3[_0xb03f(0xd)]({'platform':_0x9b0e8e[_0xb03f(0x23)],'component':_0xb03f(0x1d),'status':_0x1261d1?_0x9b0e8e['kXTEd']:_0x9b0e8e['FZneI'],'message':_0x1261d1?_0x9b0e8e[_0xb03f(0x24)]:_0x9b0e8e[_0xb03f(0x25)]});const {isWebViewExtractionPlatform:_0x44bbf7,isHingePlatform:_0x5ce3b0,isInstagramPlatform:_0xa9ce70,isSephoraPlatform:_0x55de88,isTelegramPlatform:_0x5a4c72}=__ONAIROS_REQ_FUNC__(0x3);_0x3c78b3[_0xb03f(0xd)]({'platform':_0x9b0e8e[_0xb03f(0x26)],'component':_0x9b0e8e[_0xb03f(0x27)],'status':_0x9b0e8e[_0xb03f(0x28)](_0x44bbf7,_0x5ce3b0)&&_0xa9ce70&&_0x55de88&&_0x5a4c72?_0x9b0e8e['kXTEd']:_0x9b0e8e['FZneI'],'message':_0x9b0e8e[_0xb03f(0x29)]});}catch(_0x5db8c1){if(_0x9b0e8e['MKgJB'](_0xb03f(0x2a),_0xb03f(0x2a)))_0x3c78b3[_0xb03f(0xd)]({'platform':_0x9b0e8e[_0xb03f(0x2b)],'component':_0xb03f(0x1d),'status':_0x9b0e8e['FZneI'],'message':_0xb03f(0x2c)+_0x5db8c1[_0xb03f(0x2d)]});else{const {useSephoraDataExtractor:useSephoraDataExtractor}=_0x9b0e8e[_0xb03f(0x1b)](_0x2e46b6,0xf);_0x18fa46['push']({'platform':_0x9b0e8e[_0xb03f(0x2e)],'component':_0x9b0e8e[_0xb03f(0x2f)],'status':_0x9b0e8e[_0xb03f(0x30)](typeof useSephoraDataExtractor,_0x9b0e8e[_0xb03f(0x31)])?_0x9b0e8e[_0xb03f(0x10)]:_0x9b0e8e[_0xb03f(0x11)],'message':_0x9b0e8e[_0xb03f(0x32)]});}}return _0x3c78b3;};export const testServiceImports=()=>{const _0x1d99db={'Bzdml':function(_0x4c2f53,_0x51c68f){return _0x4c2f53(_0x51c68f);},'xfEeb':_0xb03f(0x33),'JUCal':function(_0x91aef0,_0x14ff66){return _0x91aef0===_0x14ff66;},'ZPevo':_0xb03f(0x1),'BSZeM':_0xb03f(0x34),'wqRlC':_0xb03f(0x35),'raFGQ':_0xb03f(0x36),'QWBxh':function(_0x109f2a,_0x16f8e4){return _0x109f2a(_0x16f8e4);},'qfDuI':'chatgpt','VjKNs':_0xb03f(0x2),'rQppv':_0xb03f(0x37),'MCSVC':'ligSb','TPPTv':function(_0x5444c7,_0x2d3e76){return _0x5444c7(_0x2d3e76);},'dSHOy':_0xb03f(0x38),'dvLUp':_0xb03f(0x39),'dCsSj':function(_0x365663,_0x1ec061){return _0x365663(_0x1ec061);},'xxUVP':'hinge','jkgpQ':_0xb03f(0x3a),'OCOmF':function(_0x4c4af7,_0x90fac5){return _0x4c4af7(_0x90fac5);},'qtavK':_0xb03f(0x3b),'hCSUe':_0xb03f(0x7),'JSQUC':_0xb03f(0x0),'Kkkbv':_0xb03f(0xa),'fHOrH':function(_0x1c4c2d,_0x3c4ab3){return _0x1c4c2d===_0x3c4ab3;},'lJIbd':_0xb03f(0x3c)},_0x8c6bcf=[];try{if(_0x1d99db[_0xb03f(0x3d)]!==_0x1d99db[_0xb03f(0x3d)]){const {storeSephoraData:_0x26baf5}=_0x1d99db[_0xb03f(0x3e)](_0x49430c,0xb);_0x343a2a[_0xb03f(0xd)]({'platform':_0xb03f(0x0),'component':_0x1d99db[_0xb03f(0x3f)],'status':_0x1d99db[_0xb03f(0x40)](typeof _0x26baf5,_0x1d99db[_0xb03f(0x41)])?'pass':_0x1d99db[_0xb03f(0x42)],'message':_0x1d99db['wqRlC']});}else{const {storeChatGPTConversations:_0x12b71c}=_0x1d99db[_0xb03f(0x43)](__ONAIROS_REQ_FUNC__,0x7);_0x8c6bcf[_0xb03f(0xd)]({'platform':_0x1d99db[_0xb03f(0x44)],'component':_0x1d99db[_0xb03f(0x3f)],'status':_0x1d99db[_0xb03f(0x40)](typeof _0x12b71c,_0xb03f(0x1))?_0x1d99db[_0xb03f(0x45)]:_0x1d99db['BSZeM'],'message':_0x1d99db[_0xb03f(0x46)]});}}catch(_0x2df9f0){_0x8c6bcf[_0xb03f(0xd)]({'platform':_0x1d99db[_0xb03f(0x44)],'component':_0x1d99db[_0xb03f(0x3f)],'status':_0x1d99db[_0xb03f(0x42)],'message':_0xb03f(0x2c)+_0x2df9f0[_0xb03f(0x2d)]});}try{if(_0xb03f(0x47)===_0x1d99db[_0xb03f(0x48)])_0xbdf531[_0xb03f(0xd)]({'platform':_0xb03f(0xa),'component':_0x1d99db['xfEeb'],'status':_0xb03f(0x34),'message':'Import\x20error:\x20'+_0x180cc4['message']});else{const {storeClaudeConversations:_0x3fb5c9}=_0x1d99db['TPPTv'](__ONAIROS_REQ_FUNC__,0x8);_0x8c6bcf[_0xb03f(0xd)]({'platform':_0x1d99db['dSHOy'],'component':_0x1d99db[_0xb03f(0x3f)],'status':typeof _0x3fb5c9===_0x1d99db['ZPevo']?_0x1d99db[_0xb03f(0x45)]:_0x1d99db[_0xb03f(0x42)],'message':_0x1d99db['dvLUp']});}}catch(_0x2e4e5f){_0x8c6bcf[_0xb03f(0xd)]({'platform':_0x1d99db['dSHOy'],'component':_0x1d99db[_0xb03f(0x3f)],'status':_0x1d99db[_0xb03f(0x42)],'message':_0xb03f(0x2c)+_0x2e4e5f[_0xb03f(0x2d)]});}try{const {storeHingeData:_0x5acadf}=_0x1d99db[_0xb03f(0x49)](__ONAIROS_REQ_FUNC__,0x9);_0x8c6bcf[_0xb03f(0xd)]({'platform':_0x1d99db[_0xb03f(0x4a)],'component':_0x1d99db[_0xb03f(0x3f)],'status':_0x1d99db[_0xb03f(0x40)](typeof _0x5acadf,_0xb03f(0x1))?_0xb03f(0x2):_0x1d99db[_0xb03f(0x42)],'message':_0x1d99db[_0xb03f(0x4b)]});}catch(_0x428b55){_0x8c6bcf['push']({'platform':_0x1d99db[_0xb03f(0x4a)],'component':_0x1d99db[_0xb03f(0x3f)],'status':_0x1d99db[_0xb03f(0x42)],'message':_0xb03f(0x2c)+_0x428b55['message']});}try{const {storeInstagramData:_0x16739c}=_0x1d99db[_0xb03f(0x4c)](__ONAIROS_REQ_FUNC__,0xa);_0x8c6bcf['push']({'platform':'instagram','component':_0x1d99db[_0xb03f(0x3f)],'status':_0x1d99db['JUCal'](typeof _0x16739c,_0x1d99db[_0xb03f(0x41)])?_0x1d99db['VjKNs']:_0x1d99db['BSZeM'],'message':_0x1d99db[_0xb03f(0x4d)]});}catch(_0x505e4b){_0x8c6bcf[_0xb03f(0xd)]({'platform':_0x1d99db[_0xb03f(0x4e)],'component':_0x1d99db[_0xb03f(0x3f)],'status':_0xb03f(0x34),'message':_0xb03f(0x2c)+_0x505e4b[_0xb03f(0x2d)]});}try{const {storeSephoraData:_0x3a15d6}=_0x1d99db[_0xb03f(0x49)](__ONAIROS_REQ_FUNC__,0xb);_0x8c6bcf[_0xb03f(0xd)]({'platform':_0xb03f(0x0),'component':_0x1d99db['xfEeb'],'status':typeof _0x3a15d6===_0x1d99db[_0xb03f(0x41)]?_0x1d99db[_0xb03f(0x45)]:_0xb03f(0x34),'message':_0xb03f(0x35)});}catch(_0xd17851){_0x8c6bcf[_0xb03f(0xd)]({'platform':_0x1d99db[_0xb03f(0x4f)],'component':_0xb03f(0x33),'status':_0xb03f(0x34),'message':_0xb03f(0x2c)+_0xd17851[_0xb03f(0x2d)]});}try{const {storeTelegramData:_0x369242}=__ONAIROS_REQ_FUNC__(0xc);_0x8c6bcf[_0xb03f(0xd)]({'platform':_0x1d99db[_0xb03f(0x50)],'component':_0x1d99db[_0xb03f(0x3f)],'status':_0x1d99db[_0xb03f(0x51)](typeof _0x369242,_0x1d99db['ZPevo'])?_0xb03f(0x2):_0x1d99db['BSZeM'],'message':_0x1d99db[_0xb03f(0x52)]});}catch(_0x197e63){_0x8c6bcf[_0xb03f(0xd)]({'platform':_0x1d99db[_0xb03f(0x50)],'component':_0x1d99db[_0xb03f(0x3f)],'status':'fail','message':_0xb03f(0x2c)+_0x197e63['message']});}return _0x8c6bcf;};export const testExtractorImports=()=>{const _0x317642={'UCHRe':_0xb03f(0x33),'LUHgd':_0xb03f(0x53),'qoYvA':_0xb03f(0x38),'ONhaw':function(_0x526883,_0x352302){return _0x526883===_0x352302;},'nacLD':_0xb03f(0x54),'fgUpe':function(_0x2aa3e0,_0x3a5e97){return _0x2aa3e0(_0x3a5e97);},'SNytH':_0xb03f(0x1),'rtpxU':_0xb03f(0x2),'bSPPU':_0xb03f(0x34),'QhAij':_0xb03f(0x55),'KGDMf':'extractor','ORjZw':_0xb03f(0x7),'jAnbl':_0xb03f(0x56),'mbOgv':_0xb03f(0x57),'hfBuV':function(_0x50de0f,_0x357f06){return _0x50de0f===_0x357f06;},'kLsVd':'pEPmi','vPOLL':_0xb03f(0x58),'PCJij':_0xb03f(0x0),'XqRIN':function(_0x3c5519,_0x44ae91){return _0x3c5519===_0x44ae91;},'oQVRZ':_0xb03f(0xa),'dpEVB':function(_0x55246c,_0xb8134b){return _0x55246c===_0xb8134b;}},_0x3ff28f=[];try{if(_0x317642[_0xb03f(0x59)](_0x317642[_0xb03f(0x5a)],_0x317642[_0xb03f(0x5a)])){const {useHingeDataExtractor:useHingeDataExtractor}=_0x317642[_0xb03f(0x5b)](__ONAIROS_REQ_FUNC__,0xd);_0x3ff28f[_0xb03f(0xd)]({'platform':_0xb03f(0x5),'component':'extractor','status':typeof useHingeDataExtractor===_0x317642[_0xb03f(0x5c)]?_0x317642[_0xb03f(0x5d)]:_0x317642[_0xb03f(0x5e)],'message':_0x317642[_0xb03f(0x5f)]});}else _0x3dd598['push']({'platform':_0xb03f(0x5),'component':_0x317642['UCHRe'],'status':'fail','message':_0xb03f(0x2c)+_0x166fd6[_0xb03f(0x2d)]});}catch(_0x45b81d){_0x3ff28f[_0xb03f(0xd)]({'platform':'hinge','component':_0x317642['KGDMf'],'status':_0x317642[_0xb03f(0x5e)],'message':_0xb03f(0x2c)+_0x45b81d[_0xb03f(0x2d)]});}try{const {useInstagramDataExtractor:useInstagramDataExtractor}=__ONAIROS_REQ_FUNC__(0xe);_0x3ff28f[_0xb03f(0xd)]({'platform':_0x317642[_0xb03f(0x60)],'component':_0x317642['KGDMf'],'status':typeof useInstagramDataExtractor===_0x317642[_0xb03f(0x5c)]?_0x317642['rtpxU']:_0x317642[_0xb03f(0x5e)],'message':_0x317642['jAnbl']});}catch(_0x36bcf3){_0x317642[_0xb03f(0x59)](_0x317642['mbOgv'],_0x317642[_0xb03f(0x61)])?_0x3ff28f[_0xb03f(0xd)]({'platform':_0x317642[_0xb03f(0x60)],'component':_0xb03f(0x62),'status':_0x317642['bSPPU'],'message':'Import\x20error:\x20'+_0x36bcf3['message']}):_0x4c2dd6[_0xb03f(0x63)](_0x317642[_0xb03f(0x64)]);}try{if(_0x317642['hfBuV'](_0x317642[_0xb03f(0x65)],_0x317642[_0xb03f(0x66)]))_0x4d4174[_0xb03f(0xd)]({'platform':_0x317642['qoYvA'],'component':'service','status':_0xb03f(0x34),'message':_0xb03f(0x2c)+_0xec0e94[_0xb03f(0x2d)]});else{const {useSephoraDataExtractor:useSephoraDataExtractor}=__ONAIROS_REQ_FUNC__(0xf);_0x3ff28f[_0xb03f(0xd)]({'platform':_0x317642[_0xb03f(0x67)],'component':_0x317642[_0xb03f(0x68)],'status':_0x317642[_0xb03f(0x69)](typeof useSephoraDataExtractor,_0x317642[_0xb03f(0x5c)])?_0x317642['rtpxU']:_0x317642[_0xb03f(0x5e)],'message':'Sephora\x20extractor\x20hook\x20available'});}}catch(_0x291b1c){_0x3ff28f[_0xb03f(0xd)]({'platform':_0x317642[_0xb03f(0x67)],'component':_0x317642[_0xb03f(0x68)],'status':_0x317642['bSPPU'],'message':_0xb03f(0x2c)+_0x291b1c[_0xb03f(0x2d)]});}try{const {useTelegramDataExtractor:useTelegramDataExtractor}=_0x317642['fgUpe'](__ONAIROS_REQ_FUNC__,0x10);_0x3ff28f[_0xb03f(0xd)]({'platform':_0x317642[_0xb03f(0x6a)],'component':_0x317642[_0xb03f(0x68)],'status':_0x317642['dpEVB'](typeof useTelegramDataExtractor,_0x317642[_0xb03f(0x5c)])?_0x317642[_0xb03f(0x5d)]:_0xb03f(0x34),'message':_0xb03f(0x6b)});}catch(_0xbee370){_0x3ff28f[_0xb03f(0xd)]({'platform':_0x317642['oQVRZ'],'component':_0x317642[_0xb03f(0x68)],'status':'fail','message':_0xb03f(0x2c)+_0xbee370[_0xb03f(0x2d)]});}return _0x3ff28f;};function _0xb03f(_0x73547c,_0xb03fa0){_0x73547c=_0x73547c-0x0;const _0x37a5d8=_0x7354();let _0x50f5e6=_0x37a5d8[_0x73547c];return _0x50f5e6;}export const testBackendConnectivity=async()=>{const _0x4e8be2={'sPfoK':function(_0x599dd8,_0xc09196){return _0x599dd8(_0xc09196);},'SMHVw':function(_0x4f4957,_0x5a9153){return _0x4f4957(_0x5a9153);},'hhVUp':_0xb03f(0x5),'AFqep':'fail','LEJNA':_0xb03f(0x6c),'gPtcI':_0xb03f(0x7),'SkUnm':function(_0x345ae2,_0xe74c07){return _0x345ae2(_0xe74c07);},'XKjKR':_0xb03f(0x6d),'fuGyL':_0xb03f(0x2),'fKOCi':_0xb03f(0x6e),'EzCpr':_0xb03f(0x0),'qlzVO':_0xb03f(0x6f),'TSjuA':function(_0x3ab509,_0x436d7d){return _0x3ab509(_0x436d7d);},'rBiAa':function(_0x1e92ca,_0x5b2617){return _0x1e92ca(_0x5b2617);},'fXvjr':_0xb03f(0xa),'SOrMJ':_0xb03f(0x70),'rvUsZ':_0xb03f(0x71),'KApQI':_0xb03f(0x72),'NVgnG':function(_0x2452eb,_0x4fb506,_0x23dd52){return _0x2452eb(_0x4fb506,_0x23dd52);},'IWRgx':function(_0x41a957,_0x134245,_0x14c99e){return _0x41a957(_0x134245,_0x14c99e);},'MaeOn':function(_0x1348d3,_0xf5b658){return _0x1348d3(_0xf5b658);},'CaoMj':'backend','cvSfU':_0xb03f(0x73),'tnvJA':'mDYzn','jgGhT':function(_0x30d71e,_0x124afe,_0x484f88){return _0x30d71e(_0x124afe,_0x484f88);},'EJbWP':_0xb03f(0x74)},_0x31f421=[];try{const _0x689a65=new AbortController(),_0x2ed8e0=_0x4e8be2[_0xb03f(0x75)](setTimeout,()=>_0x689a65[_0xb03f(0x76)](),0x2710),_0x539a50=await _0x4e8be2[_0xb03f(0x77)](fetch,API_CONFIG[_0xb03f(0x78)]+'/health',{'method':'GET','signal':_0x689a65[_0xb03f(0x79)]});_0x4e8be2['MaeOn'](clearTimeout,_0x2ed8e0),_0x31f421['push']({'platform':_0x4e8be2['CaoMj'],'component':_0x4e8be2[_0xb03f(0x7a)],'status':_0x539a50['ok']?_0x4e8be2['fuGyL']:_0xb03f(0x72),'message':_0x539a50['ok']?_0xb03f(0x7b):_0xb03f(0x7c)+_0x539a50[_0xb03f(0x7d)],'details':{'status':_0x539a50[_0xb03f(0x7d)]}});}catch(_0x27550a){if(_0x4e8be2[_0xb03f(0x7e)]!==_0x4e8be2['tnvJA']){const {isWebViewExtractionPlatform:_0x1ff3d8,isHingePlatform:_0x7d048d,isInstagramPlatform:_0x1217a9,isSephoraPlatform:_0x296373,isLLMPlatform:_0x56ca04}=_0x4e8be2[_0xb03f(0x7f)](_0x12dac5,0x2),_0x367840=_0x4e8be2[_0xb03f(0x80)](_0x7d048d,_0x4e8be2[_0xb03f(0x81)])&&_0x4e8be2[_0xb03f(0x80)](_0x1ff3d8,'hinge')&&!_0x56ca04(_0x4e8be2[_0xb03f(0x81)]);_0x135fbe[_0xb03f(0xd)]({'platform':_0x4e8be2[_0xb03f(0x81)],'component':_0xb03f(0x6d),'status':_0x367840?'pass':_0x4e8be2[_0xb03f(0x82)],'message':_0x367840?'Hinge\x20detection\x20correct':_0x4e8be2[_0xb03f(0x83)]});const _0x3e1b99=_0x4e8be2['sPfoK'](_0x1217a9,_0x4e8be2[_0xb03f(0x84)])&&_0x4e8be2[_0xb03f(0x85)](_0x1ff3d8,'instagram')&&!_0x4e8be2['SkUnm'](_0x56ca04,_0xb03f(0x7));_0x2adacf[_0xb03f(0xd)]({'platform':_0xb03f(0x7),'component':_0x4e8be2['XKjKR'],'status':_0x3e1b99?_0x4e8be2[_0xb03f(0x86)]:_0x4e8be2['AFqep'],'message':_0x3e1b99?_0xb03f(0x87):_0x4e8be2[_0xb03f(0x88)]});const _0x5232e3=_0x296373(_0x4e8be2[_0xb03f(0x89)])&&_0x4e8be2[_0xb03f(0x85)](_0x1ff3d8,_0x4e8be2['EzCpr'])&&!_0x4e8be2[_0xb03f(0x7f)](_0x56ca04,_0xb03f(0x0));_0x3ddbe7[_0xb03f(0xd)]({'platform':_0x4e8be2[_0xb03f(0x89)],'component':_0x4e8be2[_0xb03f(0x8a)],'status':_0x5232e3?_0x4e8be2['fuGyL']:_0x4e8be2[_0xb03f(0x82)],'message':_0x5232e3?_0x4e8be2['qlzVO']:'Sephora\x20detection\x20failed'});const {isTelegramPlatform:_0x95a223}=_0x4e8be2[_0xb03f(0x8b)](_0x2cdf26,0x1),_0x8831fb=_0x4e8be2[_0xb03f(0x8c)](_0x95a223,_0x4e8be2['fXvjr'])&&_0x4e8be2[_0xb03f(0x80)](_0x1ff3d8,_0x4e8be2[_0xb03f(0x8d)])&&!_0x56ca04(_0x4e8be2[_0xb03f(0x8d)]);_0x2b11aa[_0xb03f(0xd)]({'platform':_0x4e8be2[_0xb03f(0x8d)],'component':'detection','status':_0x8831fb?_0x4e8be2[_0xb03f(0x86)]:_0xb03f(0x34),'message':_0x8831fb?_0xb03f(0x8e):_0x4e8be2['SOrMJ']});}else _0x31f421[_0xb03f(0xd)]({'platform':_0x4e8be2[_0xb03f(0x8f)],'component':_0xb03f(0x73),'status':_0x4e8be2[_0xb03f(0x82)],'message':_0xb03f(0x90)+_0x27550a[_0xb03f(0x2d)]});}try{const _0x24acab=new AbortController(),_0x4749ae=_0x4e8be2[_0xb03f(0x91)](setTimeout,()=>_0x24acab[_0xb03f(0x76)](),0x2710),_0x25b950=await _0x4e8be2[_0xb03f(0x77)](fetch,API_CONFIG[_0xb03f(0x78)]+_0xb03f(0x92),{'method':'OPTIONS','signal':_0x24acab[_0xb03f(0x79)]});_0x4e8be2[_0xb03f(0x93)](clearTimeout,_0x4749ae),_0x31f421['push']({'platform':_0x4e8be2[_0xb03f(0x8f)],'component':_0x4e8be2[_0xb03f(0x94)],'status':_0x25b950[_0xb03f(0x7d)]<0x1f4?_0xb03f(0x2):_0x4e8be2[_0xb03f(0x95)],'message':_0xb03f(0x96)+_0x25b950['status'],'details':{'status':_0x25b950[_0xb03f(0x7d)]}});}catch(_0x575152){_0x4e8be2[_0xb03f(0x97)]!==_0x4e8be2[_0xb03f(0x97)]?_0x5bf4c5[_0xb03f(0xd)]({'platform':_0xb03f(0x98),'component':_0x4e8be2['rvUsZ'],'status':_0x4e8be2[_0xb03f(0x95)],'message':_0xb03f(0x99)+_0x455d21[_0xb03f(0x2d)]}):_0x31f421['push']({'platform':_0x4e8be2[_0xb03f(0x8f)],'component':_0xb03f(0x71),'status':_0xb03f(0x72),'message':_0xb03f(0x99)+_0x575152['message']});}return _0x31f421;};export const testPlatformDetection=()=>{const _0x489852={'SOgLq':_0xb03f(0x9a),'SthIU':function(_0x5c9e1e,_0x173a6f){return _0x5c9e1e!==_0x173a6f;},'uLcPZ':_0xb03f(0x9b),'tRXui':function(_0x136f1c,_0xe4e1fd){return _0x136f1c(_0xe4e1fd);},'hRZfe':function(_0x34a0f4,_0x1bac11){return _0x34a0f4(_0x1bac11);},'bvmsH':_0xb03f(0x5),'fbxGP':function(_0x1f6c69,_0x3bb42f){return _0x1f6c69(_0x3bb42f);},'DucPd':function(_0x28251f,_0x209c8d){return _0x28251f(_0x209c8d);},'RzBIB':_0xb03f(0x34),'jqQYJ':'Hinge\x20detection\x20correct','DqPCN':_0xb03f(0x6c),'vYFeS':function(_0x2cadad,_0x2c0fcc){return _0x2cadad(_0x2c0fcc);},'zMyXS':_0xb03f(0x7),'HbCDd':function(_0x5aade4,_0x4d8b85){return _0x5aade4(_0x4d8b85);},'lIBsE':'detection','MpeMk':'pass','kVKSW':'Instagram\x20detection\x20failed','AoOuU':'sephora','oqJuK':_0xb03f(0x9c),'UDdHt':function(_0x4a0269,_0x1dd4ee){return _0x4a0269(_0x1dd4ee);},'gtVXt':_0xb03f(0xa),'eVPjO':function(_0x6d39a6,_0x569d97){return _0x6d39a6(_0x569d97);},'ddGmn':_0xb03f(0x8e),'XlvZh':_0xb03f(0x70)},_0x2494c3=[];try{if(_0x489852['SthIU'](_0xb03f(0x9b),_0x489852[_0xb03f(0x9d)]))_0x574110[_0xb03f(0xd)]({'platform':_0x489852['SOgLq'],'component':_0xb03f(0x6d),'status':_0xb03f(0x34),'message':_0xb03f(0x9e)+_0x2e2054[_0xb03f(0x2d)]});else{const {isWebViewExtractionPlatform:_0x344659,isHingePlatform:_0x341cb6,isInstagramPlatform:_0x3134da,isSephoraPlatform:_0x4522ab,isLLMPlatform:_0x31102f}=_0x489852['tRXui'](__ONAIROS_REQ_FUNC__,0x2),_0x52fbd2=_0x489852[_0xb03f(0x9f)](_0x341cb6,_0x489852[_0xb03f(0xa0)])&&_0x489852['fbxGP'](_0x344659,_0x489852[_0xb03f(0xa0)])&&!_0x489852['DucPd'](_0x31102f,_0xb03f(0x5));_0x2494c3[_0xb03f(0xd)]({'platform':_0x489852[_0xb03f(0xa0)],'component':_0xb03f(0x6d),'status':_0x52fbd2?_0xb03f(0x2):_0x489852[_0xb03f(0xa1)],'message':_0x52fbd2?_0x489852[_0xb03f(0xa2)]:_0x489852['DqPCN']});const _0x184670=_0x3134da('instagram')&&_0x489852['vYFeS'](_0x344659,_0x489852['zMyXS'])&&!_0x489852[_0xb03f(0xa3)](_0x31102f,_0x489852[_0xb03f(0xa4)]);_0x2494c3[_0xb03f(0xd)]({'platform':_0x489852['zMyXS'],'component':_0x489852[_0xb03f(0xa5)],'status':_0x184670?_0x489852[_0xb03f(0xa6)]:_0xb03f(0x34),'message':_0x184670?'Instagram\x20detection\x20correct':_0x489852[_0xb03f(0xa7)]});const _0x599dd6=_0x4522ab(_0x489852[_0xb03f(0xa8)])&&_0x489852[_0xb03f(0xa3)](_0x344659,_0x489852[_0xb03f(0xa8)])&&!_0x489852[_0xb03f(0xa9)](_0x31102f,_0x489852[_0xb03f(0xa8)]);_0x2494c3[_0xb03f(0xd)]({'platform':'sephora','component':_0x489852[_0xb03f(0xa5)],'status':_0x599dd6?_0x489852[_0xb03f(0xa6)]:_0x489852[_0xb03f(0xa1)],'message':_0x599dd6?'Sephora\x20detection\x20correct':_0x489852[_0xb03f(0xaa)]});const {isTelegramPlatform:_0x1f99ee}=__ONAIROS_REQ_FUNC__(0x1),_0x3d2bef=_0x489852['UDdHt'](_0x1f99ee,_0x489852[_0xb03f(0xab)])&&_0x344659(_0x489852[_0xb03f(0xab)])&&!_0x489852['eVPjO'](_0x31102f,_0xb03f(0xa));_0x2494c3[_0xb03f(0xd)]({'platform':_0x489852[_0xb03f(0xab)],'component':_0x489852[_0xb03f(0xa5)],'status':_0x3d2bef?_0x489852['MpeMk']:_0x489852[_0xb03f(0xa1)],'message':_0x3d2bef?_0x489852['ddGmn']:_0x489852['XlvZh']});}}catch(_0x42b4d6){_0x2494c3['push']({'platform':_0x489852[_0xb03f(0xac)],'component':_0x489852[_0xb03f(0xa5)],'status':_0x489852[_0xb03f(0xa1)],'message':'Detection\x20test\x20error:\x20'+_0x42b4d6['message']});}return _0x2494c3;};export const runConnectorSanityTests=async()=>{const _0xccb78c={'HHjDk':function(_0x3eade3,_0x32653e){return _0x3eade3(_0x32653e);},'HOjqj':_0xb03f(0xe),'RQmUj':'pass','JhSTa':_0xb03f(0x34),'McLkD':_0xb03f(0xad),'LDJMn':_0xb03f(0xae),'aQTWr':_0xb03f(0x1d),'NkeMY':_0xb03f(0x16),'DvjLB':_0xb03f(0x5),'JNxup':_0xb03f(0x6),'maNvv':_0xb03f(0x1a),'eZmlT':_0xb03f(0x7),'Gssff':_0xb03f(0xaf),'MxebL':'Instagram\x20scripts\x20missing','xflih':function(_0xb826a5,_0x4d3b86){return _0xb826a5(_0x4d3b86);},'htWnF':_0xb03f(0x0),'mtejp':_0xb03f(0x9),'uTbGc':function(_0x4c9e69,_0x528fcc){return _0x4c9e69(_0x528fcc);},'VhknS':_0xb03f(0xa),'aoZaF':'Telegram\x20scripts\x20exported\x20correctly','fgNVK':'Telegram\x20scripts\x20missing','PnEXB':_0xb03f(0xb0),'wMxET':_0xb03f(0xb1),'zAWgF':'warning','Spgbi':'backend','FTuLI':_0xb03f(0x73),'ecGfn':_0xb03f(0xb2),'VQUml':function(_0x26618b){return _0x26618b();},'PKTjL':_0xb03f(0xb3),'RPOfv':function(_0x5bcc36){return _0x5bcc36();},'twAxb':'๐\x20Testing\x20extractor\x20imports...','GHEtX':function(_0x466cfe){return _0x466cfe();},'jekIG':'\x0a========================================','PWafW':function(_0x2d532b,_0x2b2e56){return _0x2d532b===_0x2b2e56;},'Vruyu':_0xb03f(0xb4),'MggVq':function(_0xbc2865,_0xa73640){return _0xbc2865>_0xa73640;},'zoBmK':_0xb03f(0xb5),'SeDJD':_0xb03f(0xb6),'mzhBR':_0xb03f(0x53),'tPaaM':function(_0xb6629f,_0x69e33e){return _0xb6629f!==_0x69e33e;},'ZdpWq':'GorBt','AWhgw':function(_0x75ade2,_0xdeca01){return _0x75ade2===_0xdeca01;},'mFfGM':'jcDcS','BEUNC':'โ
\x20All\x20tests\x20passed!\x20Connectors\x20are\x20ready.'};console['log'](_0xb03f(0xb7));const _0x5e25da=[];console[_0xb03f(0x63)](_0xccb78c['ecGfn']),_0x5e25da[_0xb03f(0xd)](..._0xccb78c[_0xb03f(0xb8)](testWebViewScriptExports)),console['log'](_0xccb78c['PKTjL']),_0x5e25da[_0xb03f(0xd)](..._0xccb78c[_0xb03f(0xb9)](testServiceImports)),console[_0xb03f(0x63)](_0xccb78c[_0xb03f(0xba)]),_0x5e25da[_0xb03f(0xd)](..._0xccb78c['RPOfv'](testExtractorImports)),console[_0xb03f(0x63)](_0xb03f(0xbb)),_0x5e25da[_0xb03f(0xd)](..._0xccb78c['VQUml'](testPlatformDetection)),console[_0xb03f(0x63)](_0xb03f(0xbc)),_0x5e25da[_0xb03f(0xd)](...await _0xccb78c[_0xb03f(0xbd)](testBackendConnectivity));const _0x3134d1=_0x5e25da[_0xb03f(0xbe)](_0x565c62=>_0x565c62['status']==='pass')[_0xb03f(0xbf)],_0x32de64=_0x5e25da[_0xb03f(0xbe)](_0x4e4a10=>_0x4e4a10[_0xb03f(0x7d)]===_0xb03f(0x34))[_0xb03f(0xbf)],_0x5e7fd1=_0x5e25da[_0xb03f(0xbe)](_0x381805=>_0x381805[_0xb03f(0x7d)]===_0xb03f(0x72))['length'];console[_0xb03f(0x63)](_0xccb78c['jekIG']),console[_0xb03f(0x63)](_0xb03f(0xc0)),console[_0xb03f(0x63)](_0xb03f(0xb4));for(const _0x1dc509 of _0x5e25da){const _0x586206=_0xccb78c[_0xb03f(0xc1)](_0x1dc509[_0xb03f(0x7d)],_0xb03f(0x2))?'โ
':_0x1dc509[_0xb03f(0x7d)]===_0xb03f(0x34)?'โ':'โ ๏ธ';console[_0xb03f(0x63)](_0x586206+'\x20['+_0x1dc509['platform']['toUpperCase']()+']\x20'+_0x1dc509[_0xb03f(0xc2)]+':\x20'+_0x1dc509[_0xb03f(0x2d)]);}console[_0xb03f(0x63)](_0xccb78c[_0xb03f(0xc3)]),console[_0xb03f(0x63)](_0xb03f(0xc4)+_0x3134d1+_0xb03f(0xc5)+_0x32de64+'\x20failed,\x20'+_0x5e7fd1+_0xb03f(0xc6)),console[_0xb03f(0x63)](_0xccb78c[_0xb03f(0xc7)]);if(_0xccb78c[_0xb03f(0xc8)](_0x32de64,0x0)){if(_0xccb78c[_0xb03f(0xc9)]===_0xccb78c[_0xb03f(0xca)]){const {CHATGPT_CONSENT_POPUP_SCRIPT:_0x267abd,CHATGPT_EXPORT_SCRIPT:_0x62a997}=_0xccb78c[_0xb03f(0xcb)](_0x38d8a8,0x13);_0x36fb40[_0xb03f(0xd)]({'platform':_0xccb78c['HOjqj'],'component':_0xb03f(0x1d),'status':_0x62a997?_0xccb78c[_0xb03f(0xcc)]:_0xccb78c[_0xb03f(0xcd)],'message':_0x62a997?_0xccb78c[_0xb03f(0xce)]:_0xccb78c[_0xb03f(0xcf)]});const {CLAUDE_CONSENT_POPUP_SCRIPT:_0x1a071b,CLAUDE_EXPORT_SCRIPT:_0x2b83e1}=_0xccb78c[_0xb03f(0xcb)](_0x58b356,0x12);_0x21380c[_0xb03f(0xd)]({'platform':_0xb03f(0x38),'component':_0xccb78c[_0xb03f(0xd0)],'status':_0x2b83e1?_0xccb78c[_0xb03f(0xcc)]:_0xccb78c[_0xb03f(0xcd)],'message':_0x2b83e1?_0xb03f(0x4):_0xccb78c['NkeMY']});const {HINGE_CONSENT_POPUP_SCRIPT:_0x23bb38,HINGE_EXPORT_SCRIPT:_0xd299a4}=_0xccb78c['HHjDk'](_0x58d135,0x11);_0x3bdb03[_0xb03f(0xd)]({'platform':_0xccb78c['DvjLB'],'component':_0xccb78c[_0xb03f(0xd0)],'status':_0xd299a4?_0xccb78c[_0xb03f(0xcc)]:_0xccb78c[_0xb03f(0xcd)],'message':_0xd299a4?_0xccb78c[_0xb03f(0xd1)]:_0xccb78c[_0xb03f(0xd2)]});const {INSTAGRAM_CONSENT_POPUP_SCRIPT:_0x172d5d,INSTAGRAM_EXPORT_SCRIPT:_0x4909c2}=_0xccb78c[_0xb03f(0xcb)](_0x1d8c52,0x6);_0x3951d6[_0xb03f(0xd)]({'platform':_0xccb78c[_0xb03f(0xd3)],'component':_0xccb78c[_0xb03f(0xd0)],'status':_0x4909c2?_0xccb78c['RQmUj']:_0xccb78c['JhSTa'],'message':_0x4909c2?_0xccb78c[_0xb03f(0xd4)]:_0xccb78c[_0xb03f(0xd5)]});const {SEPHORA_CONSENT_POPUP_SCRIPT:_0x163002,SEPHORA_EXPORT_SCRIPT:_0x2b9428}=_0xccb78c[_0xb03f(0xd6)](_0x1834b6,0x5);_0x41f1f7[_0xb03f(0xd)]({'platform':_0xccb78c[_0xb03f(0xd7)],'component':_0xccb78c[_0xb03f(0xd0)],'status':_0x2b9428?_0xccb78c[_0xb03f(0xcc)]:_0xb03f(0x34),'message':_0x2b9428?_0xb03f(0x8):_0xccb78c[_0xb03f(0xd8)]});const {TELEGRAM_CONSENT_POPUP_SCRIPT:_0x461e8c,TELEGRAM_EXPORT_SCRIPT:_0x565bd1}=_0xccb78c[_0xb03f(0xd9)](_0x4865fd,0x4);_0x45a98f[_0xb03f(0xd)]({'platform':_0xccb78c['VhknS'],'component':_0xccb78c[_0xb03f(0xd0)],'status':_0x565bd1?_0xccb78c[_0xb03f(0xcc)]:_0xccb78c[_0xb03f(0xcd)],'message':_0x565bd1?_0xccb78c[_0xb03f(0xda)]:_0xccb78c['fgNVK']});const {isWebViewExtractionPlatform:_0x6ae224,isHingePlatform:_0x342b25,isInstagramPlatform:_0x1ec4f6,isSephoraPlatform:_0x4ce2f8,isTelegramPlatform:_0xfe6aee}=_0x335971(0x3);_0x410842[_0xb03f(0xd)]({'platform':_0xccb78c[_0xb03f(0xdb)],'component':'platform_detection','status':_0x6ae224&&_0x342b25&&_0x1ec4f6&&_0x4ce2f8&&_0xfe6aee?_0xccb78c[_0xb03f(0xcc)]:'fail','message':_0xccb78c[_0xb03f(0xdc)]});}else console[_0xb03f(0x63)](_0xccb78c[_0xb03f(0xdd)]);}else _0xccb78c['MggVq'](_0x5e7fd1,0x0)?_0xccb78c['tPaaM'](_0xccb78c[_0xb03f(0xde)],_0xccb78c[_0xb03f(0xde)])?_0x52c522[_0xb03f(0xd)]({'platform':_0x2277ad,'component':'validation','status':_0xccb78c[_0xb03f(0xdf)],'message':_0xb03f(0xe0)+_0x47a53e+_0xb03f(0xe1)}):console[_0xb03f(0x63)]('โ ๏ธ\x20All\x20critical\x20tests\x20passed,\x20but\x20there\x20are\x20warnings.'):_0xccb78c[_0xb03f(0xe2)](_0xb03f(0xe3),_0xccb78c[_0xb03f(0xe4)])?_0x8969ab['push']({'platform':_0xccb78c[_0xb03f(0xe5)],'component':_0xccb78c['FTuLI'],'status':_0xccb78c['JhSTa'],'message':'Backend\x20unreachable:\x20'+_0x5924e['message']}):console['log'](_0xccb78c[_0xb03f(0xe6)]);return{'passed':_0x3134d1,'failed':_0x32de64,'warnings':_0x5e7fd1,'results':_0x5e25da};};function _0x7354(){const _0x5746e3=['sephora','function','pass','Sephora\x20extractor\x20hook\x20available','Claude\x20scripts\x20exported\x20correctly','hinge','Hinge\x20scripts\x20exported\x20correctly','instagram','Sephora\x20scripts\x20exported\x20correctly','Sephora\x20scripts\x20missing','telegram','Telegram\x20scripts\x20exported\x20correctly','platform_detection','push','chatgpt','xIivq','kXTEd','FZneI','UQKlU','UrPxj','cMYCl','FiHpD','Claude\x20scripts\x20missing','gAGyt','IlHaq','Qxgjk','Hinge\x20scripts\x20missing','oVubl','dgBwJ','webview_scripts','BPYIU','VhcWu','hZSKz','FnbsO','uBgkJ','FcDwx','Vodnt','jQssu','SBibA','tgTse','kKfMH','auFAs','yczaE','USaIg','Import\x20error:\x20','message','JufUi','egRBW','MKgJB','YwhJF','zhYFg','service','fail','Sephora\x20service\x20function\x20available','VYuGw','ChatGPT\x20service\x20function\x20available','claude','Claude\x20service\x20function\x20available','Hinge\x20service\x20function\x20available','Instagram\x20service\x20function\x20available','Telegram\x20service\x20function\x20available','raFGQ','Bzdml','xfEeb','JUCal','ZPevo','BSZeM','QWBxh','qfDuI','VjKNs','rQppv','Sjgwg','MCSVC','dCsSj','xxUVP','jkgpQ','OCOmF','qtavK','hCSUe','JSQUC','Kkkbv','fHOrH','lJIbd','โ\x20Some\x20tests\x20failed!\x20Please\x20check\x20the\x20errors\x20above.','ILDrw','Hinge\x20extractor\x20hook\x20available','Instagram\x20extractor\x20hook\x20available','vKukg','KScpq','ONhaw','nacLD','fgUpe','SNytH','rtpxU','bSPPU','QhAij','ORjZw','mbOgv','extractor','log','LUHgd','kLsVd','vPOLL','PCJij','KGDMf','XqRIN','oQVRZ','Telegram\x20extractor\x20hook\x20available','Hinge\x20detection\x20failed','detection','Instagram\x20detection\x20failed','Sephora\x20detection\x20correct','Telegram\x20detection\x20failed','platform_data_endpoint','warning','health','xxYCE','NVgnG','abort','IWRgx','BASE_URL','signal','cvSfU','Backend\x20health\x20check\x20passed','Backend\x20returned\x20status\x20','status','tnvJA','sPfoK','SMHVw','hhVUp','AFqep','LEJNA','gPtcI','SkUnm','fuGyL','Instagram\x20detection\x20correct','fKOCi','EzCpr','XKjKR','TSjuA','rBiAa','fXvjr','Telegram\x20detection\x20correct','CaoMj','Backend\x20unreachable:\x20','jgGhT','/platform-data/store','MaeOn','rvUsZ','KApQI','Platform\x20data\x20endpoint\x20check:\x20','EJbWP','backend','Endpoint\x20check\x20failed\x20(may\x20require\x20auth):\x20','all','oakrA','Sephora\x20detection\x20failed','uLcPZ','Detection\x20test\x20error:\x20','hRZfe','bvmsH','RzBIB','jqQYJ','HbCDd','zMyXS','lIBsE','MpeMk','kVKSW','AoOuU','tRXui','oqJuK','gtVXt','SOgLq','ChatGPT\x20scripts\x20exported\x20correctly','ChatGPT\x20scripts\x20missing','Instagram\x20scripts\x20exported\x20correctly','utilities','Platform\x20detection\x20functions\x20available','๐\x20Testing\x20WebView\x20script\x20exports...','๐\x20Testing\x20service\x20imports...','========================================\x0a','BgvBT','lUBUw','๐งช\x20[CONNECTOR_TESTS]\x20Starting\x20connector\x20sanity\x20tests...\x0a','VQUml','RPOfv','twAxb','๐\x20Testing\x20platform\x20detection...','๐\x20Testing\x20backend\x20connectivity...','GHEtX','filter','length','๐งช\x20CONNECTOR\x20SANITY\x20TEST\x20RESULTS','PWafW','component','jekIG','๐\x20Summary:\x20','\x20passed,\x20','\x20warnings','Vruyu','MggVq','zoBmK','SeDJD','HHjDk','RQmUj','JhSTa','McLkD','LDJMn','aQTWr','JNxup','maNvv','eZmlT','Gssff','MxebL','xflih','htWnF','mtejp','uTbGc','aoZaF','PnEXB','wMxET','mzhBR','ZdpWq','zAWgF','Unknown\x20platform:\x20','.\x20Use\x20\x27hinge\x27,\x20\x27instagram\x27,\x20\x27sephora\x27,\x20or\x20\x27telegram\x27.','AWhgw','CiaiG','mFfGM','Spgbi','BEUNC','Export\x20script\x20available','Export\x20script\x20missing','Hinge\x20detection\x20correct','gDnTg','xRSiZ','storeHingeData','feMOD','FOCrb','\x20connector...\x0a','lrscV','qzvfN','includes','KOhrY','ScjzZ','oSoEv','cBmGY','_EXPORT_SCRIPT','BwtgD','UsSfx','uEckY','XmMbQ','OXvrs','XXwss','toUpperCase','GlwDn','FdKRc','QUTQF','Script\x20import\x20failed:\x20','YgWnl','qLMjl','nnPIh','storeInstagramData','eGvSG','storeTelegramData','storeSephoraData','Service\x20function\x20','\x20available','PZTCm','Service\x20import\x20failed:\x20','oOuxa','CCvoP','use','charAt','slice','tOJhy','Extractor\x20hook\x20','platform','jziXu','WpUrH','Extractor\x20import\x20failed:\x20','DaNFL','DKaqa','zPEqP','JSmMo','MKoCj','wPqTx','axxaX','validation','RKjUc'];_0x7354=function(){return _0x5746e3;};return _0x7354();}export const testPlatformConnector=async _0x27688f=>{const _0x20a805={'cBmGY':function(_0x2eca34,_0x1e6b96){return _0x2eca34(_0x1e6b96);},'BwtgD':'webview_script','UsSfx':_0xb03f(0x2),'uEckY':'fail','XmMbQ':_0xb03f(0xe7),'GlwDn':_0xb03f(0xe8),'FdKRc':_0xb03f(0x62),'QUTQF':_0xb03f(0x6b),'nnPIh':function(_0x4224ae,_0x16fd58){return _0x4224ae===_0x16fd58;},'YgWnl':_0xb03f(0x5),'DaNFL':_0xb03f(0x6d),'DKaqa':_0xb03f(0xe9),'lrscV':_0xb03f(0x7),'zPEqP':_0xb03f(0x87),'RPOSF':_0xb03f(0x6e),'qzvfN':'sephora','BeEVV':_0xb03f(0x6f),'JSmMo':'Sephora\x20detection\x20failed','MKoCj':function(_0x3d106c,_0x2a0160){return _0x3d106c(_0x2a0160);},'CCvoP':function(_0x2bd7ea,_0x42637a){return _0x2bd7ea(_0x42637a);},'eGvSG':_0xb03f(0xa),'wPqTx':_0xb03f(0x8e),'qkvUI':_0xb03f(0x70),'ptvUc':_0xb03f(0x9a),'KOhrY':function(_0x3c6408,_0x2a9e96){return _0x3c6408===_0x2a9e96;},'ScjzZ':_0xb03f(0xea),'oSoEv':_0xb03f(0xeb),'OXvrs':'hcULM','XXwss':function(_0x2b22ad,_0x13df30){return _0x2b22ad(_0x13df30);},'qLMjl':_0xb03f(0xec),'PZTCm':_0xb03f(0x33),'oOuxa':'UkMkK','tOJhy':'function','jziXu':function(_0x43beee,_0x37256f){return _0x43beee===_0x37256f;},'iqWUY':'WpUrH','nLAHL':function(_0x18ba5d,_0xfe2278){return _0x18ba5d===_0xfe2278;},'gnWaP':_0xb03f(0xed),'RKjUc':_0xb03f(0x72),'dYBeA':_0xb03f(0xee)};console[_0xb03f(0x63)]('๐งช\x20Testing\x20'+_0x27688f+_0xb03f(0xef));const _0x10c783=[],_0x4ef1c1=_0x27688f['toLowerCase']();if([_0x20a805['YgWnl'],_0x20a805[_0xb03f(0xf0)],_0x20a805[_0xb03f(0xf1)],_0xb03f(0xa)][_0xb03f(0xf2)](_0x4ef1c1)){if(_0x20a805[_0xb03f(0xf3)](_0x20a805[_0xb03f(0xf4)],_0x20a805[_0xb03f(0xf5)])){const _0x330da5=_0x20a805[_0xb03f(0xf6)](_0x540b1e,0x0),_0x28c571=_0x29aaa0['toUpperCase']()+_0xb03f(0xf7),_0x59e666=!!_0x330da5[_0x28c571];_0x17e019[_0xb03f(0xd)]({'platform':_0x5db343,'component':_0x20a805[_0xb03f(0xf8)],'status':_0x59e666?_0x20a805[_0xb03f(0xf9)]:_0x20a805[_0xb03f(0xfa)],'message':_0x59e666?_0x20a805[_0xb03f(0xfb)]:_0x20a805['GlwDn']});}else{try{if(_0x20a805['OXvrs']===_0x20a805[_0xb03f(0xfc)]){const _0x7581d=_0x20a805[_0xb03f(0xfd)](__ONAIROS_REQ_FUNC__,0x0),_0x49fa2a=_0x4ef1c1[_0xb03f(0xfe)]()+_0xb03f(0xf7),_0x22112a=!!_0x7581d[_0x49fa2a];_0x10c783['push']({'platform':_0x4ef1c1,'component':_0x20a805[_0xb03f(0xf8)],'status':_0x22112a?_0xb03f(0x2):_0x20a805['uEckY'],'message':_0x22112a?_0x20a805[_0xb03f(0xfb)]:_0x20a805[_0xb03f(0xff)]});}else{const {useTelegramDataExtractor:useTelegramDataExtractor}=_0x20a805[_0xb03f(0xf6)](_0x5f0d70,0x10);_0x443714[_0xb03f(0xd)]({'platform':'telegram','component':_0x20a805[_0xb03f(0x100)],'status':typeof useTelegramDataExtractor==='function'?'pass':_0x20a805[_0xb03f(0xfa)],'message':_0x20a805[_0xb03f(0x101)]});}}catch(_0x3878bf){_0x10c783[_0xb03f(0xd)]({'platform':_0x4ef1c1,'component':_0x20a805[_0xb03f(0xf8)],'status':_0x20a805[_0xb03f(0xfa)],'message':_0xb03f(0x102)+_0x3878bf[_0xb03f(0x2d)]});}try{const _0x3072bd=__ONAIROS_REQ_FUNC__(0x14),_0x66e2b5=_0x4ef1c1===_0x20a805[_0xb03f(0x103)]?_0x20a805[_0xb03f(0x104)]:_0x20a805[_0xb03f(0x105)](_0x4ef1c1,_0xb03f(0x7))?_0xb03f(0x106):_0x20a805[_0xb03f(0x105)](_0x4ef1c1,_0x20a805[_0xb03f(0x107)])?_0xb03f(0x108):_0xb03f(0x109);_0x10c783[_0xb03f(0xd)]({'platform':_0x4ef1c1,'component':_0xb03f(0x33),'status':_0x20a805[_0xb03f(0x105)](typeof _0x3072bd[_0x66e2b5],_0xb03f(0x1))?_0xb03f(0x2):_0xb03f(0x34),'message':_0xb03f(0x10a)+_0x66e2b5+_0xb03f(0x10b)});}catch(_0x146321){_0x10c783['push']({'platform':_0x4ef1c1,'component':_0x20a805[_0xb03f(0x10c)],'status':_0x20a805[_0xb03f(0xfa)],'message':_0xb03f(0x10d)+_0x146321[_0xb03f(0x2d)]});}try{if(_0x20a805[_0xb03f(0x105)](_0x20a805['oOuxa'],_0x20a805[_0xb03f(0x10e)])){const _0x42348d=_0x20a805[_0xb03f(0x10f)](__ONAIROS_REQ_FUNC__,0x15),_0x136a33=_0xb03f(0x110)+(_0x4ef1c1[_0xb03f(0x111)](0x0)['toUpperCase']()+_0x4ef1c1[_0xb03f(0x112)](0x1))+'DataExtractor';_0x10c783[_0xb03f(0xd)]({'platform':_0x4ef1c1,'component':_0x20a805[_0xb03f(0x100)],'status':_0x20a805[_0xb03f(0x105)](typeof _0x42348d[_0x136a33],_0x20a805[_0xb03f(0x113)])?_0x20a805[_0xb03f(0xf9)]:_0xb03f(0x34),'message':_0xb03f(0x114)+_0x136a33+_0xb03f(0x10b)});}else{const _0x1ecce7=_0x20a805['nnPIh'](_0x3f456e['status'],_0x20a805[_0xb03f(0xf9)])?'โ
':_0x2fe413['status']===_0x20a805[_0xb03f(0xfa)]?'โ':'โ ๏ธ';_0x3d15b7[_0xb03f(0x63)](_0x1ecce7+'\x20['+_0x2beacc[_0xb03f(0x115)][_0xb03f(0xfe)]()+']\x20'+_0x36eca2['component']+':\x20'+_0x44d0ad[_0xb03f(0x2d)]);}}catch(_0x855039){if(_0x20a805[_0xb03f(0x116)](_0xb03f(0x117),_0x20a805['iqWUY']))_0x10c783[_0xb03f(0xd)]({'platform':_0x4ef1c1,'component':_0x20a805[_0xb03f(0x100)],'status':_0xb03f(0x34),'message':_0xb03f(0x118)+_0x855039[_0xb03f(0x2d)]});else{const _0xbe1d66=[];try{const {isWebViewExtractionPlatform:_0x5cb09d,isHingePlatform:_0xe3cf25,isInstagramPlatform:_0x55d36c,isSephoraPlatform:_0x215de7,isLLMPlatform:_0x4303a7}=_0x20a805['cBmGY'](_0x47e2c8,0x2),_0x3fa8c2=_0xe3cf25(_0x20a805['YgWnl'])&&_0x5cb09d(_0x20a805[_0xb03f(0x103)])&&!_0x20a805[_0xb03f(0xf6)](_0x4303a7,_0xb03f(0x5));_0xbe1d66[_0xb03f(0xd)]({'platform':_0x20a805[_0xb03f(0x103)],'component':_0x20a805[_0xb03f(0x119)],'status':_0x3fa8c2?_0x20a805[_0xb03f(0xf9)]:_0x20a805['uEckY'],'message':_0x3fa8c2?_0x20a805[_0xb03f(0x11a)]:_0xb03f(0x6c)});const _0x23b497=_0x55d36c(_0x20a805['lrscV'])&&_0x5cb09d(_0x20a805['lrscV'])&&!_0x20a805[_0xb03f(0xf6)](_0x4303a7,_0x20a805['lrscV']);_0xbe1d66[_0xb03f(0xd)]({'platform':_0x20a805['lrscV'],'component':_0x20a805[_0xb03f(0x119)],'status':_0x23b497?_0xb03f(0x2):_0x20a805[_0xb03f(0xfa)],'message':_0x23b497?_0x20a805[_0xb03f(0x11b)]:_0x20a805['RPOSF']});const _0x10efef=_0x215de7(_0x20a805[_0xb03f(0xf1)])&&_0x20a805[_0xb03f(0xf6)](_0x5cb09d,_0x20a805['qzvfN'])&&!_0x20a805['cBmGY'](_0x4303a7,_0xb03f(0x0));_0xbe1d66[_0xb03f(0xd)]({'platform':_0x20a805[_0xb03f(0xf1)],'component':_0xb03f(0x6d),'status':_0x10efef?_0x20a805[_0xb03f(0xf9)]:_0x20a805['uEckY'],'message':_0x10efef?_0x20a805['BeEVV']:_0x20a805[_0xb03f(0x11c)]});const {isTelegramPlatform:_0x155174}=_0x20a805[_0xb03f(0x11d)](_0x56931c,0x1),_0x45b2=_0x155174(_0xb03f(0xa))&&_0x20a805[_0xb03f(0x10f)](_0x5cb09d,_0x20a805[_0xb03f(0x107)])&&!_0x20a805['cBmGY'](_0x4303a7,_0x20a805['eGvSG']);_0xbe1d66[_0xb03f(0xd)]({'platform':_0x20a805[_0xb03f(0x107)],'component':'detection','status':_0x45b2?_0x20a805[_0xb03f(0xf9)]:_0x20a805[_0xb03f(0xfa)],'message':_0x45b2?_0x20a805[_0xb03f(0x11e)]:_0x20a805['qkvUI']});}catch(_0x391214){_0xbe1d66[_0xb03f(0xd)]({'platform':_0x20a805['ptvUc'],'component':_0x20a805[_0xb03f(0x119)],'status':_0x20a805[_0xb03f(0xfa)],'message':'Detection\x20test\x20error:\x20'+_0x391214[_0xb03f(0x2d)]});}return _0xbe1d66;}}}}else _0x20a805['nLAHL'](_0x20a805['gnWaP'],_0xb03f(0x11f))?_0x205b12[_0xb03f(0xd)]({'platform':_0x20a805['YgWnl'],'component':_0xb03f(0x62),'status':_0x20a805[_0xb03f(0xfa)],'message':'Import\x20error:\x20'+_0x19a5ae['message']}):_0x10c783[_0xb03f(0xd)]({'platform':_0x4ef1c1,'component':_0xb03f(0x120),'status':_0x20a805[_0xb03f(0x121)],'message':_0xb03f(0xe0)+_0x27688f+'.\x20Use\x20\x27hinge\x27,\x20\x27instagram\x27,\x20\x27sephora\x27,\x20or\x20\x27telegram\x27.'});for(const _0x2a359f of _0x10c783){if(_0x20a805['dYBeA']===_0x20a805['dYBeA']){const _0x210d2b=_0x2a359f[_0xb03f(0x7d)]===_0x20a805[_0xb03f(0xf9)]?'โ
':_0x20a805[_0xb03f(0x116)](_0x2a359f[_0xb03f(0x7d)],'fail')?'โ':'โ ๏ธ';console[_0xb03f(0x63)](_0x210d2b+'\x20'+_0x2a359f['component']+':\x20'+_0x2a359f[_0xb03f(0x2d)]);}else _0x3131aa['push']({'platform':_0x20a805[_0xb03f(0xf1)],'component':_0x20a805[_0xb03f(0x100)],'status':_0x20a805['uEckY'],'message':_0xb03f(0x2c)+_0x15bd1f[_0xb03f(0x2d)]});}return _0x10c783;};
|
|
28
|
+
import{API_CONFIG}from'../config/api';export const testWebViewScriptExports=()=>{const _0x3e8bb9={'eOUOv':function(_0x2af516,_0x8d6ea3){return _0x2af516(_0x8d6ea3);},'ktgaH':'instagram','FtPVh':_0xbc56(0x0),'VzgWv':function(_0x3a23d1,_0x79ff9f){return _0x3a23d1===_0x79ff9f;},'XjUgv':_0xbc56(0x1),'ivGGj':_0xbc56(0x2),'hhCAJ':_0xbc56(0x3),'vMboH':_0xbc56(0x4),'WjFAn':_0xbc56(0x5),'YXGkS':_0xbc56(0x6),'VOUfG':_0xbc56(0x7),'NtzUj':'claude','qrjIU':_0xbc56(0x8),'uNBNJ':function(_0x32d171,_0x151bb2){return _0x32d171(_0x151bb2);},'eRZgw':_0xbc56(0x9),'gTQYw':_0xbc56(0xa),'HNdkr':function(_0xb6d1da,_0x3b3362){return _0xb6d1da(_0x3b3362);},'aZOxm':_0xbc56(0xb),'PefiD':function(_0x53d200,_0x3eaf38){return _0x53d200(_0x3eaf38);},'FCuJI':_0xbc56(0xc),'pTdVH':_0xbc56(0xd),'mWmxm':function(_0x4036f0,_0x2ffc7f){return _0x4036f0(_0x2ffc7f);},'KNOnj':_0xbc56(0xe),'NggLE':_0xbc56(0xf),'mKqwh':function(_0x35cb94,_0x57a65c){return _0x35cb94(_0x57a65c);},'ntABr':'utilities','glfPa':_0xbc56(0x10),'JCMcj':function(_0x8054e3,_0x43c34a){return _0x8054e3&&_0x43c34a;},'kajfl':_0xbc56(0x11),'nUBoG':function(_0x4c57eb,_0xd373ad){return _0x4c57eb!==_0xd373ad;},'BoJBG':'wLRzd','bglxZ':_0xbc56(0x12)},_0x40e9c0=[];try{const {CHATGPT_CONSENT_POPUP_SCRIPT:_0x33237a,CHATGPT_EXPORT_SCRIPT:_0x2d1b2b}=_0x3e8bb9[_0xbc56(0x13)](__ONAIROS_REQ_FUNC__,0x13);_0x40e9c0['push']({'platform':_0x3e8bb9[_0xbc56(0x14)],'component':_0x3e8bb9[_0xbc56(0x15)],'status':_0x2d1b2b?_0x3e8bb9[_0xbc56(0x16)]:_0x3e8bb9[_0xbc56(0x17)],'message':_0x2d1b2b?_0x3e8bb9[_0xbc56(0x18)]:_0x3e8bb9[_0xbc56(0x19)]});const {CLAUDE_CONSENT_POPUP_SCRIPT:_0x461cbc,CLAUDE_EXPORT_SCRIPT:_0x313b98}=_0x3e8bb9['eOUOv'](__ONAIROS_REQ_FUNC__,0x12);_0x40e9c0['push']({'platform':_0x3e8bb9[_0xbc56(0x1a)],'component':_0x3e8bb9['vMboH'],'status':_0x313b98?_0xbc56(0x2):_0x3e8bb9[_0xbc56(0x17)],'message':_0x313b98?_0x3e8bb9[_0xbc56(0x1b)]:_0xbc56(0x1c)});const {HINGE_CONSENT_POPUP_SCRIPT:_0x3353db,HINGE_EXPORT_SCRIPT:_0xd98af5}=_0x3e8bb9[_0xbc56(0x1d)](__ONAIROS_REQ_FUNC__,0x11);_0x40e9c0[_0xbc56(0x1e)]({'platform':_0x3e8bb9['eRZgw'],'component':_0x3e8bb9[_0xbc56(0x15)],'status':_0xd98af5?'pass':_0x3e8bb9[_0xbc56(0x17)],'message':_0xd98af5?'Hinge\x20scripts\x20exported\x20correctly':_0x3e8bb9[_0xbc56(0x1f)]});const {INSTAGRAM_CONSENT_POPUP_SCRIPT:_0x423e8e,INSTAGRAM_EXPORT_SCRIPT:_0x30bf2a}=_0x3e8bb9[_0xbc56(0x20)](__ONAIROS_REQ_FUNC__,0x6);_0x40e9c0[_0xbc56(0x1e)]({'platform':'instagram','component':_0x3e8bb9['vMboH'],'status':_0x30bf2a?_0x3e8bb9['ivGGj']:_0xbc56(0x5),'message':_0x30bf2a?_0x3e8bb9[_0xbc56(0x21)]:_0xbc56(0x22)});const {SEPHORA_CONSENT_POPUP_SCRIPT:_0x4b3a21,SEPHORA_EXPORT_SCRIPT:_0x2263a3}=_0x3e8bb9[_0xbc56(0x23)](__ONAIROS_REQ_FUNC__,0x5);_0x40e9c0['push']({'platform':'sephora','component':_0x3e8bb9[_0xbc56(0x15)],'status':_0x2263a3?_0x3e8bb9[_0xbc56(0x16)]:_0x3e8bb9[_0xbc56(0x17)],'message':_0x2263a3?_0x3e8bb9[_0xbc56(0x24)]:_0x3e8bb9['pTdVH']});const {TELEGRAM_CONSENT_POPUP_SCRIPT:_0x3d769f,TELEGRAM_EXPORT_SCRIPT:_0x1076bc}=_0x3e8bb9[_0xbc56(0x25)](__ONAIROS_REQ_FUNC__,0x4);_0x40e9c0[_0xbc56(0x1e)]({'platform':_0x3e8bb9[_0xbc56(0x26)],'component':_0x3e8bb9[_0xbc56(0x15)],'status':_0x1076bc?_0x3e8bb9[_0xbc56(0x16)]:_0x3e8bb9[_0xbc56(0x17)],'message':_0x1076bc?_0xbc56(0x27):_0x3e8bb9[_0xbc56(0x28)]});const {isWebViewExtractionPlatform:_0x35f1bc,isHingePlatform:_0x15d153,isInstagramPlatform:_0x17e37a,isSephoraPlatform:_0x3aeb7a,isTelegramPlatform:_0x2e1ef4}=_0x3e8bb9[_0xbc56(0x29)](__ONAIROS_REQ_FUNC__,0x3);_0x40e9c0[_0xbc56(0x1e)]({'platform':_0x3e8bb9[_0xbc56(0x2a)],'component':_0x3e8bb9[_0xbc56(0x2b)],'status':_0x3e8bb9[_0xbc56(0x2c)](_0x35f1bc,_0x15d153)&&_0x17e37a&&_0x3aeb7a&&_0x2e1ef4?_0xbc56(0x2):_0xbc56(0x5),'message':_0x3e8bb9[_0xbc56(0x2d)]});}catch(_0x1e2176){if(_0x3e8bb9[_0xbc56(0x2e)](_0x3e8bb9[_0xbc56(0x2f)],'gjQmQ'))_0x40e9c0[_0xbc56(0x1e)]({'platform':_0x3e8bb9[_0xbc56(0x30)],'component':_0x3e8bb9[_0xbc56(0x15)],'status':_0x3e8bb9[_0xbc56(0x17)],'message':'Import\x20error:\x20'+_0x1e2176['message']});else{const {useInstagramDataExtractor:useInstagramDataExtractor}=_0x3e8bb9[_0xbc56(0x13)](_0x18aa3c,0xe);_0x587a61['push']({'platform':_0x3e8bb9['ktgaH'],'component':_0x3e8bb9[_0xbc56(0x31)],'status':_0x3e8bb9[_0xbc56(0x32)](typeof useInstagramDataExtractor,_0x3e8bb9[_0xbc56(0x33)])?_0x3e8bb9['ivGGj']:_0xbc56(0x5),'message':_0xbc56(0x34)});}}return _0x40e9c0;};function _0xbc56(_0x1d6450,_0xbc568a){_0x1d6450=_0x1d6450-0x0;const _0x73ae54=_0x1d64();let _0x58832c=_0x73ae54[_0x1d6450];return _0x58832c;}export const testServiceImports=()=>{const _0x15c480={'AlaFr':'webview_script','uVpCF':function(_0x11ebe8,_0x5455f5){return _0x11ebe8(_0x5455f5);},'INOWG':_0xbc56(0xe),'VJsuf':function(_0x91a5a3,_0x2461f6){return _0x91a5a3===_0x2461f6;},'JLUok':_0xbc56(0x2),'sBYeQ':'fail','TAUIm':_0xbc56(0x35),'uqBDT':'โ
\x20All\x20tests\x20passed!\x20Connectors\x20are\x20ready.','HWMYl':function(_0x4871b0,_0x515326){return _0x4871b0(_0x515326);},'HxowY':function(_0x2bb202,_0x32a1c1){return _0x2bb202===_0x32a1c1;},'aHXvu':_0xbc56(0x1),'CJVZJ':_0xbc56(0x36),'hEWoz':'chatgpt','iTGYv':_0xbc56(0x37),'XTMnJ':'claude','mIbrx':function(_0x23c63f,_0x10d393){return _0x23c63f===_0x10d393;},'uVAVr':_0xbc56(0x38),'CqSha':function(_0xa0a898,_0x269a16){return _0xa0a898(_0x269a16);},'IvQmV':_0xbc56(0x9),'SbEhY':'Hinge\x20service\x20function\x20available','MzHdr':'instagram','aUnNf':_0xbc56(0x39),'sQWAU':function(_0x70d8ac,_0x4a8b67){return _0x70d8ac!==_0x4a8b67;},'iMObl':_0xbc56(0x3a),'qFziY':function(_0x1d0d1e,_0x2aea5c){return _0x1d0d1e(_0x2aea5c);},'oQCcl':'sephora','QlaMx':'vvvlu'},_0x55894d=[];try{const {storeChatGPTConversations:_0x42e685}=_0x15c480[_0xbc56(0x3b)](__ONAIROS_REQ_FUNC__,0x7);_0x55894d[_0xbc56(0x1e)]({'platform':_0xbc56(0x3),'component':_0xbc56(0x37),'status':_0x15c480[_0xbc56(0x3c)](typeof _0x42e685,_0x15c480[_0xbc56(0x3d)])?_0x15c480[_0xbc56(0x3e)]:_0x15c480[_0xbc56(0x3f)],'message':_0x15c480[_0xbc56(0x40)]});}catch(_0x3f26cb){_0x55894d['push']({'platform':_0x15c480[_0xbc56(0x41)],'component':_0x15c480[_0xbc56(0x42)],'status':_0xbc56(0x5),'message':_0xbc56(0x43)+_0x3f26cb[_0xbc56(0x44)]});}try{const {storeClaudeConversations:_0x373521}=_0x15c480[_0xbc56(0x3b)](__ONAIROS_REQ_FUNC__,0x8);_0x55894d[_0xbc56(0x1e)]({'platform':_0x15c480[_0xbc56(0x45)],'component':_0x15c480[_0xbc56(0x42)],'status':_0x15c480[_0xbc56(0x46)](typeof _0x373521,_0x15c480[_0xbc56(0x3d)])?_0x15c480[_0xbc56(0x3e)]:_0x15c480[_0xbc56(0x3f)],'message':'Claude\x20service\x20function\x20available'});}catch(_0x278a79){_0xbc56(0x38)===_0x15c480['uVAVr']?_0x55894d[_0xbc56(0x1e)]({'platform':_0x15c480[_0xbc56(0x45)],'component':_0x15c480[_0xbc56(0x42)],'status':_0x15c480[_0xbc56(0x3f)],'message':'Import\x20error:\x20'+_0x278a79[_0xbc56(0x44)]}):_0x5bc3f3[_0xbc56(0x1e)]({'platform':_0x1fda0a,'component':_0x15c480['AlaFr'],'status':_0xbc56(0x5),'message':'Script\x20import\x20failed:\x20'+_0x48aaf6[_0xbc56(0x44)]});}try{const {storeHingeData:_0x58653e}=_0x15c480[_0xbc56(0x47)](__ONAIROS_REQ_FUNC__,0x9);_0x55894d['push']({'platform':_0x15c480[_0xbc56(0x48)],'component':_0xbc56(0x37),'status':typeof _0x58653e===_0x15c480[_0xbc56(0x3d)]?_0x15c480[_0xbc56(0x3e)]:_0x15c480['sBYeQ'],'message':_0x15c480['SbEhY']});}catch(_0x81587f){_0x55894d[_0xbc56(0x1e)]({'platform':_0x15c480[_0xbc56(0x48)],'component':_0x15c480[_0xbc56(0x42)],'status':_0x15c480[_0xbc56(0x3f)],'message':_0xbc56(0x43)+_0x81587f['message']});}try{const {storeInstagramData:_0x48f500}=__ONAIROS_REQ_FUNC__(0xa);_0x55894d[_0xbc56(0x1e)]({'platform':_0x15c480[_0xbc56(0x49)],'component':_0x15c480[_0xbc56(0x42)],'status':typeof _0x48f500===_0x15c480['aHXvu']?_0x15c480[_0xbc56(0x3e)]:_0xbc56(0x5),'message':_0x15c480[_0xbc56(0x4a)]});}catch(_0x3ffc00){if(_0x15c480[_0xbc56(0x4b)](_0x15c480['iMObl'],_0x15c480[_0xbc56(0x4c)])){const {storeTelegramData:_0x3a5c49}=_0x15c480[_0xbc56(0x4d)](_0x4e8833,0xc);_0x541ef6[_0xbc56(0x1e)]({'platform':_0x15c480[_0xbc56(0x4e)],'component':_0xbc56(0x37),'status':_0x15c480['VJsuf'](typeof _0x3a5c49,_0xbc56(0x1))?_0x15c480[_0xbc56(0x3e)]:_0x15c480[_0xbc56(0x3f)],'message':_0x15c480[_0xbc56(0x4f)]});}else _0x55894d[_0xbc56(0x1e)]({'platform':_0x15c480[_0xbc56(0x49)],'component':_0x15c480[_0xbc56(0x42)],'status':_0x15c480['sBYeQ'],'message':_0xbc56(0x43)+_0x3ffc00[_0xbc56(0x44)]});}try{const {storeSephoraData:_0x5728d7}=_0x15c480[_0xbc56(0x50)](__ONAIROS_REQ_FUNC__,0xb);_0x55894d['push']({'platform':_0x15c480[_0xbc56(0x51)],'component':_0xbc56(0x37),'status':typeof _0x5728d7===_0x15c480['aHXvu']?_0x15c480[_0xbc56(0x3e)]:_0x15c480[_0xbc56(0x3f)],'message':_0xbc56(0x52)});}catch(_0x4ee35e){_0x55894d[_0xbc56(0x1e)]({'platform':_0x15c480['oQCcl'],'component':_0x15c480[_0xbc56(0x42)],'status':_0x15c480[_0xbc56(0x3f)],'message':_0xbc56(0x43)+_0x4ee35e[_0xbc56(0x44)]});}try{if(_0x15c480[_0xbc56(0x53)]===_0xbc56(0x54)){const {storeTelegramData:_0x3a8006}=_0x15c480['uVpCF'](__ONAIROS_REQ_FUNC__,0xc);_0x55894d[_0xbc56(0x1e)]({'platform':_0x15c480[_0xbc56(0x4e)],'component':_0x15c480[_0xbc56(0x42)],'status':typeof _0x3a8006===_0xbc56(0x1)?'pass':_0x15c480['sBYeQ'],'message':_0x15c480[_0xbc56(0x4f)]});}else _0x452623[_0xbc56(0x55)](_0x15c480[_0xbc56(0x56)]);}catch(_0x22141a){_0x55894d[_0xbc56(0x1e)]({'platform':_0x15c480['INOWG'],'component':_0xbc56(0x37),'status':_0x15c480[_0xbc56(0x3f)],'message':_0xbc56(0x43)+_0x22141a['message']});}return _0x55894d;};export const testExtractorImports=()=>{const _0x3f9d91={'klbJk':'sephora','gnhRg':_0xbc56(0x37),'eDokJ':_0xbc56(0x5),'HpQXc':_0xbc56(0x57),'vWhuI':_0xbc56(0x58),'BszVE':function(_0x418d6d,_0x23f222){return _0x418d6d(_0x23f222);},'UAfnq':'function','heUDm':_0xbc56(0x59),'cErto':'extractor','xKokH':function(_0x16c1f4,_0x4e6447){return _0x16c1f4(_0x4e6447);},'rnSoY':_0xbc56(0x2),'PfZjc':function(_0x1ef8be,_0x41c8d0){return _0x1ef8be===_0x41c8d0;},'vsWkX':_0xbc56(0x5a),'mEBPV':_0xbc56(0xe)},_0xf56678=[];try{if(_0x3f9d91[_0xbc56(0x5b)]===_0x3f9d91[_0xbc56(0x5c)])_0x1a79ac['push']({'platform':_0x3f9d91[_0xbc56(0x5d)],'component':_0x3f9d91[_0xbc56(0x5e)],'status':_0x3f9d91[_0xbc56(0x5f)],'message':_0xbc56(0x43)+_0x392b0c['message']});else{const {useHingeDataExtractor:useHingeDataExtractor}=_0x3f9d91['BszVE'](__ONAIROS_REQ_FUNC__,0xd);_0xf56678['push']({'platform':_0xbc56(0x9),'component':_0xbc56(0x0),'status':typeof useHingeDataExtractor===_0x3f9d91[_0xbc56(0x60)]?'pass':_0x3f9d91['eDokJ'],'message':_0x3f9d91[_0xbc56(0x61)]});}}catch(_0x1ad534){_0xf56678[_0xbc56(0x1e)]({'platform':_0xbc56(0x9),'component':_0x3f9d91[_0xbc56(0x62)],'status':_0xbc56(0x5),'message':'Import\x20error:\x20'+_0x1ad534['message']});}try{const {useInstagramDataExtractor:useInstagramDataExtractor}=_0x3f9d91[_0xbc56(0x63)](__ONAIROS_REQ_FUNC__,0xe);_0xf56678['push']({'platform':_0xbc56(0x64),'component':_0x3f9d91[_0xbc56(0x62)],'status':typeof useInstagramDataExtractor===_0x3f9d91[_0xbc56(0x60)]?_0x3f9d91[_0xbc56(0x65)]:'fail','message':_0xbc56(0x34)});}catch(_0x38749e){_0xf56678[_0xbc56(0x1e)]({'platform':'instagram','component':_0x3f9d91[_0xbc56(0x62)],'status':_0x3f9d91[_0xbc56(0x5f)],'message':_0xbc56(0x43)+_0x38749e['message']});}try{const {useSephoraDataExtractor:useSephoraDataExtractor}=__ONAIROS_REQ_FUNC__(0xf);_0xf56678['push']({'platform':_0x3f9d91[_0xbc56(0x5d)],'component':_0x3f9d91[_0xbc56(0x62)],'status':_0x3f9d91['PfZjc'](typeof useSephoraDataExtractor,_0xbc56(0x1))?_0x3f9d91[_0xbc56(0x65)]:_0xbc56(0x5),'message':_0xbc56(0x66)});}catch(_0x4fa0fb){_0xf56678[_0xbc56(0x1e)]({'platform':_0x3f9d91[_0xbc56(0x5d)],'component':_0xbc56(0x0),'status':_0xbc56(0x5),'message':'Import\x20error:\x20'+_0x4fa0fb[_0xbc56(0x44)]});}try{const {useTelegramDataExtractor:useTelegramDataExtractor}=__ONAIROS_REQ_FUNC__(0x10);_0xf56678[_0xbc56(0x1e)]({'platform':_0xbc56(0xe),'component':_0xbc56(0x0),'status':_0x3f9d91[_0xbc56(0x67)](typeof useTelegramDataExtractor,_0x3f9d91[_0xbc56(0x60)])?_0x3f9d91['rnSoY']:_0x3f9d91[_0xbc56(0x5f)],'message':_0x3f9d91[_0xbc56(0x68)]});}catch(_0x5f55e3){_0xf56678[_0xbc56(0x1e)]({'platform':_0x3f9d91[_0xbc56(0x69)],'component':_0x3f9d91[_0xbc56(0x62)],'status':_0x3f9d91[_0xbc56(0x5f)],'message':_0xbc56(0x43)+_0x5f55e3['message']});}return _0xf56678;};export const testBackendConnectivity=async()=>{const _0x59410f={'bKNov':_0xbc56(0x6a),'VmlZM':function(_0x17b7b3,_0x5bb845,_0x1abb03){return _0x17b7b3(_0x5bb845,_0x1abb03);},'DGEpE':function(_0x5223a9,_0x4a473d){return _0x5223a9(_0x4a473d);},'ddYKJ':_0xbc56(0x6b),'ynoaH':_0xbc56(0x6c),'FDSKk':'pass','rzgxd':'warning','UICtW':_0xbc56(0x6d),'JLUkJ':function(_0x2eafb6,_0x559d53){return _0x2eafb6===_0x559d53;},'uJcJy':_0xbc56(0x6e),'xkDDp':_0xbc56(0x5),'mOviK':_0xbc56(0x6f),'WFIYM':function(_0x55fe02,_0x331e8d,_0x16c217){return _0x55fe02(_0x331e8d,_0x16c217);},'ZXkYy':'platform_data_endpoint'},_0x4ac367=[];try{const _0x653b56=new AbortController(),_0x1f6c28=setTimeout(()=>_0x653b56[_0xbc56(0x70)](),0x2710),_0x39c1f3=await _0x59410f[_0xbc56(0x71)](fetch,API_CONFIG[_0xbc56(0x72)]+'/health',{'method':'GET','signal':_0x653b56[_0xbc56(0x73)]});_0x59410f['DGEpE'](clearTimeout,_0x1f6c28),_0x4ac367[_0xbc56(0x1e)]({'platform':_0x59410f[_0xbc56(0x74)],'component':_0x59410f[_0xbc56(0x75)],'status':_0x39c1f3['ok']?_0x59410f[_0xbc56(0x76)]:_0x59410f[_0xbc56(0x77)],'message':_0x39c1f3['ok']?_0x59410f[_0xbc56(0x78)]:_0xbc56(0x79)+_0x39c1f3['status'],'details':{'status':_0x39c1f3[_0xbc56(0x7a)]}});}catch(_0x3e0355){_0x59410f[_0xbc56(0x7b)](_0x59410f[_0xbc56(0x7c)],_0xbc56(0x6e))?_0x4ac367['push']({'platform':_0x59410f['ddYKJ'],'component':_0xbc56(0x6c),'status':_0x59410f['xkDDp'],'message':'Backend\x20unreachable:\x20'+_0x3e0355[_0xbc56(0x44)]}):_0x20c10f[_0xbc56(0x55)](_0xbc56(0x7d));}try{if(_0x59410f[_0xbc56(0x7e)]===_0x59410f[_0xbc56(0x7e)]){const _0x291806=new AbortController(),_0x347c7a=_0x59410f[_0xbc56(0x7f)](setTimeout,()=>_0x291806[_0xbc56(0x70)](),0x2710),_0x1a698e=await fetch(API_CONFIG['BASE_URL']+_0xbc56(0x80),{'method':'OPTIONS','signal':_0x291806[_0xbc56(0x73)]});clearTimeout(_0x347c7a),_0x4ac367[_0xbc56(0x1e)]({'platform':_0xbc56(0x6b),'component':_0xbc56(0x81),'status':_0x1a698e[_0xbc56(0x7a)]<0x1f4?_0x59410f[_0xbc56(0x76)]:_0x59410f[_0xbc56(0x77)],'message':_0xbc56(0x82)+_0x1a698e[_0xbc56(0x7a)],'details':{'status':_0x1a698e[_0xbc56(0x7a)]}});}else _0x1dee03['log'](_0x59410f[_0xbc56(0x83)]);}catch(_0x31c0c4){_0x4ac367[_0xbc56(0x1e)]({'platform':_0xbc56(0x6b),'component':_0x59410f['ZXkYy'],'status':_0x59410f['rzgxd'],'message':_0xbc56(0x84)+_0x31c0c4[_0xbc56(0x44)]});}return _0x4ac367;};export const testPlatformDetection=()=>{const _0x31b0ed={'XHWMb':function(_0x27b2f9,_0x12b8c9){return _0x27b2f9(_0x12b8c9);},'bkJRS':_0xbc56(0x9),'gowZG':'detection','VahTv':_0xbc56(0x2),'kRpae':_0xbc56(0x85),'lLXug':_0xbc56(0x64),'kEAqW':function(_0x362638,_0x396a45){return _0x362638(_0x396a45);},'MtUah':_0xbc56(0x86),'hEmSH':'sephora','PGneF':_0xbc56(0x5),'UhJrB':_0xbc56(0x87),'wRghV':'Sephora\x20detection\x20failed','mNEDr':_0xbc56(0xe),'FQOIy':function(_0x48064d,_0x4248bc){return _0x48064d(_0x4248bc);},'yEfjF':_0xbc56(0x88),'aCeuI':'Telegram\x20detection\x20failed','Whgdf':'all'},_0x25e06a=[];try{const {isWebViewExtractionPlatform:_0xd2b0da,isHingePlatform:_0x1d40c5,isInstagramPlatform:_0x55125f,isSephoraPlatform:_0x418271,isLLMPlatform:_0x281e53}=_0x31b0ed[_0xbc56(0x89)](__ONAIROS_REQ_FUNC__,0x2),_0x3aaebc=_0x1d40c5(_0x31b0ed[_0xbc56(0x8a)])&&_0x31b0ed[_0xbc56(0x89)](_0xd2b0da,_0x31b0ed['bkJRS'])&&!_0x31b0ed[_0xbc56(0x89)](_0x281e53,_0x31b0ed[_0xbc56(0x8a)]);_0x25e06a[_0xbc56(0x1e)]({'platform':_0xbc56(0x9),'component':_0x31b0ed[_0xbc56(0x8b)],'status':_0x3aaebc?_0x31b0ed[_0xbc56(0x8c)]:'fail','message':_0x3aaebc?'Hinge\x20detection\x20correct':_0x31b0ed[_0xbc56(0x8d)]});const _0x322cb8=_0x55125f(_0x31b0ed[_0xbc56(0x8e)])&&_0x31b0ed['kEAqW'](_0xd2b0da,_0x31b0ed[_0xbc56(0x8e)])&&!_0x31b0ed[_0xbc56(0x8f)](_0x281e53,_0x31b0ed[_0xbc56(0x8e)]);_0x25e06a[_0xbc56(0x1e)]({'platform':_0x31b0ed[_0xbc56(0x8e)],'component':_0xbc56(0x90),'status':_0x322cb8?_0x31b0ed[_0xbc56(0x8c)]:_0xbc56(0x5),'message':_0x322cb8?_0x31b0ed[_0xbc56(0x91)]:_0xbc56(0x92)});const _0x429ebf=_0x31b0ed['XHWMb'](_0x418271,_0x31b0ed[_0xbc56(0x93)])&&_0x31b0ed[_0xbc56(0x89)](_0xd2b0da,_0x31b0ed['hEmSH'])&&!_0x31b0ed[_0xbc56(0x8f)](_0x281e53,_0xbc56(0x94));_0x25e06a['push']({'platform':_0x31b0ed[_0xbc56(0x93)],'component':_0xbc56(0x90),'status':_0x429ebf?_0x31b0ed[_0xbc56(0x8c)]:_0x31b0ed[_0xbc56(0x95)],'message':_0x429ebf?_0x31b0ed[_0xbc56(0x96)]:_0x31b0ed[_0xbc56(0x97)]});const {isTelegramPlatform:_0x5424ec}=_0x31b0ed[_0xbc56(0x89)](__ONAIROS_REQ_FUNC__,0x1),_0x54283c=_0x31b0ed['XHWMb'](_0x5424ec,_0x31b0ed[_0xbc56(0x98)])&&_0x31b0ed[_0xbc56(0x99)](_0xd2b0da,_0x31b0ed[_0xbc56(0x98)])&&!_0x31b0ed[_0xbc56(0x99)](_0x281e53,_0xbc56(0xe));_0x25e06a[_0xbc56(0x1e)]({'platform':_0x31b0ed[_0xbc56(0x98)],'component':_0x31b0ed[_0xbc56(0x8b)],'status':_0x54283c?_0x31b0ed['VahTv']:_0x31b0ed['PGneF'],'message':_0x54283c?_0x31b0ed[_0xbc56(0x9a)]:_0x31b0ed[_0xbc56(0x9b)]});}catch(_0x292a69){_0x25e06a[_0xbc56(0x1e)]({'platform':_0x31b0ed[_0xbc56(0x9c)],'component':_0x31b0ed[_0xbc56(0x8b)],'status':_0x31b0ed[_0xbc56(0x95)],'message':_0xbc56(0x9d)+_0x292a69['message']});}return _0x25e06a;};function _0x1d64(){const _0x517fbd=['extractor','function','pass','chatgpt','webview_scripts','fail','ChatGPT\x20scripts\x20exported\x20correctly','ChatGPT\x20scripts\x20missing','Claude\x20scripts\x20exported\x20correctly','hinge','Hinge\x20scripts\x20missing','Instagram\x20scripts\x20exported\x20correctly','Sephora\x20scripts\x20exported\x20correctly','Sephora\x20scripts\x20missing','telegram','Telegram\x20scripts\x20missing','platform_detection','Platform\x20detection\x20functions\x20available','all','eOUOv','hhCAJ','vMboH','ivGGj','WjFAn','YXGkS','VOUfG','NtzUj','qrjIU','Claude\x20scripts\x20missing','uNBNJ','push','gTQYw','HNdkr','aZOxm','Instagram\x20scripts\x20missing','PefiD','FCuJI','mWmxm','KNOnj','Telegram\x20scripts\x20exported\x20correctly','NggLE','mKqwh','ntABr','glfPa','JCMcj','kajfl','nUBoG','BoJBG','bglxZ','FtPVh','VzgWv','XjUgv','Instagram\x20extractor\x20hook\x20available','Telegram\x20service\x20function\x20available','ChatGPT\x20service\x20function\x20available','service','dMuup','Instagram\x20service\x20function\x20available','TTqTn','HWMYl','HxowY','aHXvu','JLUok','sBYeQ','CJVZJ','hEWoz','iTGYv','Import\x20error:\x20','message','XTMnJ','mIbrx','CqSha','IvQmV','MzHdr','aUnNf','sQWAU','iMObl','uVpCF','INOWG','TAUIm','qFziY','oQCcl','Sephora\x20service\x20function\x20available','QlaMx','vvvlu','log','uqBDT','TxhzB','mFiKA','Hinge\x20extractor\x20hook\x20available','Telegram\x20extractor\x20hook\x20available','HpQXc','vWhuI','klbJk','gnhRg','eDokJ','UAfnq','heUDm','cErto','xKokH','instagram','rnSoY','Sephora\x20extractor\x20hook\x20available','PfZjc','vsWkX','mEBPV','โ ๏ธ\x20All\x20critical\x20tests\x20passed,\x20but\x20there\x20are\x20warnings.','backend','health','Backend\x20health\x20check\x20passed','hCdpX','hoyli','abort','VmlZM','BASE_URL','signal','ddYKJ','ynoaH','FDSKk','rzgxd','UICtW','Backend\x20returned\x20status\x20','status','JLUkJ','uJcJy','โ\x20Some\x20tests\x20failed!\x20Please\x20check\x20the\x20errors\x20above.','mOviK','WFIYM','/platform-data/store','platform_data_endpoint','Platform\x20data\x20endpoint\x20check:\x20','bKNov','Endpoint\x20check\x20failed\x20(may\x20require\x20auth):\x20','Hinge\x20detection\x20failed','Instagram\x20detection\x20correct','Sephora\x20detection\x20correct','Telegram\x20detection\x20correct','XHWMb','bkJRS','gowZG','VahTv','kRpae','lLXug','kEAqW','detection','MtUah','Instagram\x20detection\x20failed','hEmSH','sephora','PGneF','UhJrB','wRghV','mNEDr','FQOIy','yEfjF','aCeuI','Whgdf','Detection\x20test\x20error:\x20','warning','๐งช\x20[CONNECTOR_TESTS]\x20Starting\x20connector\x20sanity\x20tests...\x0a','๐\x20Testing\x20service\x20imports...','\x0a========================================','========================================\x0a','KnGzK','fIvxx','qwEuW','๐\x20Testing\x20WebView\x20script\x20exports...','ZiHuw','๐\x20Testing\x20extractor\x20imports...','๐\x20Testing\x20platform\x20detection...','IkYUf','filter','length','HkvZj','๐งช\x20CONNECTOR\x20SANITY\x20TEST\x20RESULTS','xXDGK','cYfJT','nJMHi','platform','toUpperCase','component','\x20failed,\x20','\x20warnings','Yjisu','flIpt','rlJtK','HUyRy','ELEGo','xbDNo','AKhEu','jcDce','QKOxo','DntGu','YWPLZ','โ
\x20All\x20tests\x20passed!\x20Connectors\x20are\x20ready.','WGbWe','CJIqp','.\x20Use\x20\x27hinge\x27,\x20\x27instagram\x27,\x20\x27sephora\x27,\x20or\x20\x27telegram\x27.','Export\x20script\x20available','webview_script','HDJwn','validation','๐งช\x20Testing\x20','\x20connector...\x0a','toLowerCase','LGhVr','IloJK','includes','_EXPORT_SCRIPT','RfOuy','qNUfM','OSdrc','Script\x20import\x20failed:\x20','dPPbj','OMzoP','HNgea','FkbUt','BXwnz','wISme','storeTelegramData','QlrIi','LWaRK','XAnYa','Service\x20function\x20','Service\x20import\x20failed:\x20','wBOwu','charAt','slice','MqBxU','MrfhQ','Extractor\x20hook\x20','\x20available','GUBzw','WJvHA','Unknown\x20platform:\x20','EItWG','XYRGO'];_0x1d64=function(){return _0x517fbd;};return _0x1d64();}export const runConnectorSanityTests=async()=>{const _0x3627ca={'rlJtK':function(_0xe0d35e,_0x177191){return _0xe0d35e(_0x177191);},'HUyRy':_0xbc56(0x9),'ELEGo':'service','xbDNo':function(_0x2e6f46,_0x58b9a3){return _0x2e6f46===_0x58b9a3;},'AKhEu':_0xbc56(0x1),'jcDce':_0xbc56(0x2),'WGbWe':'validation','CJIqp':_0xbc56(0x9e),'qwEuW':_0xbc56(0x9f),'ZiHuw':_0xbc56(0xa0),'IkYUf':function(_0xa2f34d){return _0xa2f34d();},'URqCz':'๐\x20Testing\x20backend\x20connectivity...','HkvZj':_0xbc56(0xa1),'xXDGK':_0xbc56(0xa2),'cYfJT':function(_0x16fc6e,_0x1f604d){return _0x16fc6e===_0x1f604d;},'nJMHi':'fail','iyAlo':function(_0x1f3f1c,_0x15d26d){return _0x1f3f1c>_0x15d26d;},'Yjisu':function(_0x33e297,_0x4967b8){return _0x33e297>_0x4967b8;},'flIpt':_0xbc56(0xa3),'VPtMy':'ZaUTx','ldULa':_0xbc56(0x6a),'QKOxo':function(_0x3855af,_0x21ed12){return _0x3855af!==_0x21ed12;},'YWPLZ':_0xbc56(0xa4)};console[_0xbc56(0x55)](_0x3627ca[_0xbc56(0xa5)]);const _0x43c282=[];console['log'](_0xbc56(0xa6)),_0x43c282[_0xbc56(0x1e)](...testWebViewScriptExports()),console[_0xbc56(0x55)](_0x3627ca[_0xbc56(0xa7)]),_0x43c282[_0xbc56(0x1e)](...testServiceImports()),console[_0xbc56(0x55)](_0xbc56(0xa8)),_0x43c282[_0xbc56(0x1e)](..._0x3627ca['IkYUf'](testExtractorImports)),console['log'](_0xbc56(0xa9)),_0x43c282[_0xbc56(0x1e)](..._0x3627ca[_0xbc56(0xaa)](testPlatformDetection)),console[_0xbc56(0x55)](_0x3627ca['URqCz']),_0x43c282[_0xbc56(0x1e)](...await _0x3627ca[_0xbc56(0xaa)](testBackendConnectivity));const _0x499885=_0x43c282[_0xbc56(0xab)](_0x232dd1=>_0x232dd1[_0xbc56(0x7a)]==='pass')[_0xbc56(0xac)],_0x5e2a31=_0x43c282['filter'](_0x395a16=>_0x395a16[_0xbc56(0x7a)]===_0xbc56(0x5))[_0xbc56(0xac)],_0x32af19=_0x43c282['filter'](_0x566f36=>_0x566f36[_0xbc56(0x7a)]===_0xbc56(0x9e))['length'];console['log'](_0x3627ca[_0xbc56(0xad)]),console[_0xbc56(0x55)](_0xbc56(0xae)),console['log'](_0x3627ca[_0xbc56(0xaf)]);for(const _0x1c9483 of _0x43c282){const _0x43a161=_0x1c9483[_0xbc56(0x7a)]===_0xbc56(0x2)?'โ
':_0x3627ca[_0xbc56(0xb0)](_0x1c9483[_0xbc56(0x7a)],_0x3627ca[_0xbc56(0xb1)])?'โ':'โ ๏ธ';console[_0xbc56(0x55)](_0x43a161+'\x20['+_0x1c9483[_0xbc56(0xb2)][_0xbc56(0xb3)]()+']\x20'+_0x1c9483[_0xbc56(0xb4)]+':\x20'+_0x1c9483[_0xbc56(0x44)]);}console[_0xbc56(0x55)](_0xbc56(0xa1)),console[_0xbc56(0x55)]('๐\x20Summary:\x20'+_0x499885+'\x20passed,\x20'+_0x5e2a31+_0xbc56(0xb5)+_0x32af19+_0xbc56(0xb6)),console[_0xbc56(0x55)](_0xbc56(0xa2));if(_0x3627ca['iyAlo'](_0x5e2a31,0x0))console[_0xbc56(0x55)]('โ\x20Some\x20tests\x20failed!\x20Please\x20check\x20the\x20errors\x20above.');else{if(_0x3627ca[_0xbc56(0xb7)](_0x32af19,0x0)){if(_0x3627ca[_0xbc56(0xb0)](_0x3627ca[_0xbc56(0xb8)],_0x3627ca['VPtMy'])){const {storeHingeData:_0x42ed9f}=_0x3627ca[_0xbc56(0xb9)](_0x11216b,0x9);_0x5b1789['push']({'platform':_0x3627ca[_0xbc56(0xba)],'component':_0x3627ca[_0xbc56(0xbb)],'status':_0x3627ca[_0xbc56(0xbc)](typeof _0x42ed9f,_0x3627ca[_0xbc56(0xbd)])?_0x3627ca[_0xbc56(0xbe)]:_0xbc56(0x5),'message':'Hinge\x20service\x20function\x20available'});}else console['log'](_0x3627ca['ldULa']);}else _0x3627ca[_0xbc56(0xbf)](_0xbc56(0xc0),_0x3627ca[_0xbc56(0xc1)])?console[_0xbc56(0x55)](_0xbc56(0xc2)):_0x679d97['push']({'platform':_0x31a420,'component':_0x3627ca[_0xbc56(0xc3)],'status':_0x3627ca[_0xbc56(0xc4)],'message':'Unknown\x20platform:\x20'+_0x18c14f+_0xbc56(0xc5)});}return{'passed':_0x499885,'failed':_0x5e2a31,'warnings':_0x32af19,'results':_0x43c282};};export const testPlatformConnector=async _0x218280=>{const _0x27b80e={'yXUIv':'chatgpt','OSdrc':_0xbc56(0x5),'VBqag':function(_0x35d435,_0x1e9196){return _0x35d435(_0x1e9196);},'OMzoP':_0xbc56(0x9),'HNgea':'storeHingeData','dPPbj':function(_0x389a78,_0x4b8b5a){return _0x389a78===_0x4b8b5a;},'LGhVr':_0xbc56(0x64),'BXwnz':'storeInstagramData','wISme':_0xbc56(0xe),'QlrIi':'storeSephoraData','LWaRK':'service','MrfhQ':'function','XAnYa':_0xbc56(0x2),'IloJK':_0xbc56(0x94),'DZXhp':_0xbc56(0xc6),'RfOuy':'Export\x20script\x20missing','qNUfM':_0xbc56(0xc7),'yHwNX':function(_0x12bb33,_0x4814d3){return _0x12bb33!==_0x4814d3;},'IikhC':_0xbc56(0xc8),'FkbUt':function(_0x23bc46,_0x357a78){return _0x23bc46===_0x357a78;},'EZqNE':function(_0x1479c9,_0x3eeaee){return _0x1479c9===_0x3eeaee;},'wBOwu':function(_0xecbe0e,_0x247be4){return _0xecbe0e+_0x247be4;},'MqBxU':function(_0x3bad78,_0x2a710f){return _0x3bad78===_0x2a710f;},'GUBzw':'extractor','WJvHA':_0xbc56(0xc9),'EItWG':'ehdBO','XYRGO':function(_0x418c3c,_0x8501e0){return _0x418c3c===_0x8501e0;}};console[_0xbc56(0x55)](_0xbc56(0xca)+_0x218280+_0xbc56(0xcb));const _0x4b2119=[],_0x1efca5=_0x218280[_0xbc56(0xcc)]();if([_0x27b80e['OMzoP'],_0x27b80e[_0xbc56(0xcd)],_0x27b80e[_0xbc56(0xce)],_0xbc56(0xe)][_0xbc56(0xcf)](_0x1efca5)){try{const _0x726386=__ONAIROS_REQ_FUNC__(0x0),_0x34d7af=_0x1efca5[_0xbc56(0xb3)]()+_0xbc56(0xd0),_0x21f4a6=!!_0x726386[_0x34d7af];_0x4b2119['push']({'platform':_0x1efca5,'component':'webview_script','status':_0x21f4a6?_0xbc56(0x2):_0x27b80e['OSdrc'],'message':_0x21f4a6?_0x27b80e['DZXhp']:_0x27b80e[_0xbc56(0xd1)]});}catch(_0x5bed9e){_0x4b2119[_0xbc56(0x1e)]({'platform':_0x1efca5,'component':_0x27b80e[_0xbc56(0xd2)],'status':_0x27b80e[_0xbc56(0xd3)],'message':_0xbc56(0xd4)+_0x5bed9e['message']});}try{if(_0x27b80e['yHwNX'](_0xbc56(0xc8),_0x27b80e['IikhC']))_0x594e7e['push']({'platform':_0x27b80e['yXUIv'],'component':_0xbc56(0x37),'status':_0x27b80e[_0xbc56(0xd3)],'message':_0xbc56(0x43)+_0xef2a2e[_0xbc56(0x44)]});else{const _0x2245c=_0x27b80e['VBqag'](__ONAIROS_REQ_FUNC__,0x14),_0x35aeaa=_0x27b80e[_0xbc56(0xd5)](_0x1efca5,_0x27b80e[_0xbc56(0xd6)])?_0x27b80e[_0xbc56(0xd7)]:_0x27b80e[_0xbc56(0xd8)](_0x1efca5,_0x27b80e[_0xbc56(0xcd)])?_0x27b80e[_0xbc56(0xd9)]:_0x27b80e['EZqNE'](_0x1efca5,_0x27b80e[_0xbc56(0xda)])?_0xbc56(0xdb):_0x27b80e[_0xbc56(0xdc)];_0x4b2119[_0xbc56(0x1e)]({'platform':_0x1efca5,'component':_0x27b80e[_0xbc56(0xdd)],'status':typeof _0x2245c[_0x35aeaa]===_0xbc56(0x1)?_0x27b80e[_0xbc56(0xde)]:_0x27b80e['OSdrc'],'message':_0xbc56(0xdf)+_0x35aeaa+'\x20available'});}}catch(_0x350b74){_0x4b2119[_0xbc56(0x1e)]({'platform':_0x1efca5,'component':_0x27b80e[_0xbc56(0xdd)],'status':'fail','message':_0xbc56(0xe0)+_0x350b74[_0xbc56(0x44)]});}try{const _0x1c8e49=__ONAIROS_REQ_FUNC__(0x15),_0x22c560='use'+_0x27b80e[_0xbc56(0xe1)](_0x1efca5[_0xbc56(0xe2)](0x0)[_0xbc56(0xb3)](),_0x1efca5[_0xbc56(0xe3)](0x1))+'DataExtractor';_0x4b2119[_0xbc56(0x1e)]({'platform':_0x1efca5,'component':_0xbc56(0x0),'status':_0x27b80e[_0xbc56(0xe4)](typeof _0x1c8e49[_0x22c560],_0x27b80e[_0xbc56(0xe5)])?_0x27b80e[_0xbc56(0xde)]:_0xbc56(0x5),'message':_0xbc56(0xe6)+_0x22c560+_0xbc56(0xe7)});}catch(_0x2baa62){_0x4b2119['push']({'platform':_0x1efca5,'component':_0x27b80e[_0xbc56(0xe8)],'status':_0x27b80e[_0xbc56(0xd3)],'message':'Extractor\x20import\x20failed:\x20'+_0x2baa62[_0xbc56(0x44)]});}}else _0x4b2119['push']({'platform':_0x1efca5,'component':_0x27b80e[_0xbc56(0xe9)],'status':_0xbc56(0x9e),'message':_0xbc56(0xea)+_0x218280+'.\x20Use\x20\x27hinge\x27,\x20\x27instagram\x27,\x20\x27sephora\x27,\x20or\x20\x27telegram\x27.'});for(const _0x1af520 of _0x4b2119){if(_0x27b80e[_0xbc56(0xeb)]===_0x27b80e['EItWG']){const _0x324fa5=_0x27b80e[_0xbc56(0xe4)](_0x1af520[_0xbc56(0x7a)],_0xbc56(0x2))?'โ
':_0x27b80e[_0xbc56(0xec)](_0x1af520[_0xbc56(0x7a)],_0x27b80e[_0xbc56(0xd3)])?'โ':'โ ๏ธ';console[_0xbc56(0x55)](_0x324fa5+'\x20'+_0x1af520[_0xbc56(0xb4)]+':\x20'+_0x1af520[_0xbc56(0x44)]);}else{const _0x317611=_0x27b80e['VBqag'](_0x2a82c5,0x14),_0x379ec6=_0x2f866f===_0x27b80e[_0xbc56(0xd6)]?_0x27b80e['HNgea']:_0x27b80e['dPPbj'](_0x503a85,_0x27b80e['LGhVr'])?_0x27b80e[_0xbc56(0xd9)]:_0xe63a6a===_0x27b80e[_0xbc56(0xda)]?'storeTelegramData':_0x27b80e[_0xbc56(0xdc)];_0x2f640f['push']({'platform':_0x39f1b6,'component':_0x27b80e[_0xbc56(0xdd)],'status':_0x27b80e[_0xbc56(0xd5)](typeof _0x317611[_0x379ec6],_0x27b80e['MrfhQ'])?_0x27b80e['XAnYa']:_0x27b80e[_0xbc56(0xd3)],'message':_0xbc56(0xdf)+_0x379ec6+_0xbc56(0xe7)});}}return _0x4b2119;};
|