@onairos/react-native 3.6.4 → 3.6.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/commonjs/api/index.js +1 -1
- package/lib/commonjs/components/BodyText.js +1 -1
- package/lib/commonjs/components/BrandMark.js +1 -1
- package/lib/commonjs/components/CodeInput.js +1 -1
- package/lib/commonjs/components/EmailInput.js +1 -1
- package/lib/commonjs/components/GoogleButton.js +1 -1
- package/lib/commonjs/components/HeadingGroup.js +1 -1
- package/lib/commonjs/components/LLMDataInputModal.js +1 -1
- package/lib/commonjs/components/ModalHeader.js +1 -1
- package/lib/commonjs/components/ModalSheet.js +1 -1
- package/lib/commonjs/components/Onairos.js +1 -1
- package/lib/commonjs/components/OnairosButton.js +1 -1
- package/lib/commonjs/components/OnairosSignInButton.js +1 -1
- package/lib/commonjs/components/Overlay.js +1 -1
- package/lib/commonjs/components/PersonaImage.js +1 -1
- package/lib/commonjs/components/PersonaLoadingScreen.js +1 -1
- package/lib/commonjs/components/PersonalizationConsentScreen.js +1 -1
- package/lib/commonjs/components/PinCreationScreen.js +1 -1
- package/lib/commonjs/components/PinInput.js +1 -1
- package/lib/commonjs/components/PlatformConnectorsStep.js +1 -1
- package/lib/commonjs/components/PlatformList.js +1 -1
- package/lib/commonjs/components/PlatformToggle.js +1 -1
- package/lib/commonjs/components/PrimaryButton.js +1 -1
- package/lib/commonjs/components/SignInMatchAnimation.js +1 -1
- package/lib/commonjs/components/SignInStep.js +1 -1
- package/lib/commonjs/components/UniversalOnboarding.js +1 -1
- package/lib/commonjs/components/VerificationStep.js +1 -1
- package/lib/commonjs/components/WelcomeScreen.js +1 -1
- package/lib/commonjs/components/icons/Basicproficon.js +1 -1
- package/lib/commonjs/components/icons/Basicprofile.js +1 -1
- package/lib/commonjs/components/icons/Checkbox.js +1 -1
- package/lib/commonjs/components/icons/Checkmark.js +1 -1
- package/lib/commonjs/components/icons/Contentanalysis.js +1 -1
- package/lib/commonjs/components/icons/Contenticon.js +1 -1
- package/lib/commonjs/components/icons/EnochE.js +1 -1
- package/lib/commonjs/components/icons/Personalityicon.js +1 -1
- package/lib/commonjs/components/icons/Personalityprofile.js +1 -1
- package/lib/commonjs/components/icons/Personalitytraits.js +1 -1
- package/lib/commonjs/components/icons/Userpreferences.js +1 -1
- package/lib/commonjs/components/icons/index.js +1 -1
- package/lib/commonjs/components/onboarding/OAuthWebView.js +1 -1
- package/lib/commonjs/components/onboarding/OnboardingHeader.js +1 -1
- package/lib/commonjs/components/onboarding/PinInput.js +1 -1
- package/lib/commonjs/components/onboarding/PlatformConnector.js +1 -1
- package/lib/commonjs/config/api.js +1 -1
- package/lib/commonjs/constants/index.js +1 -1
- package/lib/commonjs/context/AuthContext.js +1 -1
- package/lib/commonjs/hooks/useConnectedAccounts.js +1 -1
- package/lib/commonjs/hooks/useConnections.js +1 -1
- package/lib/commonjs/hooks/useCredentials.js +1 -1
- package/lib/commonjs/hooks/useUserConnections.js +1 -1
- package/lib/commonjs/index.js +1 -1
- package/lib/commonjs/services/apiClient.js +1 -1
- package/lib/commonjs/services/apiKeyService.js +924 -9
- package/lib/commonjs/services/authService.js +627 -10
- 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 +391 -11
- package/lib/commonjs/services/pinEncryptionService.js +1 -1
- package/lib/commonjs/services/pinStorageUtils.js +1 -1
- package/lib/commonjs/services/platformAuthService.js +1 -1
- package/lib/commonjs/services/sephoraDataExtractor.js +1 -1
- package/lib/commonjs/services/sephoraDataService.js +1 -1
- package/lib/commonjs/services/storageService.js +1 -1
- package/lib/commonjs/services/telegramDataExtractor.js +1 -1
- package/lib/commonjs/services/telegramDataService.js +1 -1
- package/lib/commonjs/services/trainingApiHelpers.js +1 -1
- package/lib/commonjs/services/userConnectionsService.js +1 -1
- package/lib/commonjs/services/youtubeMigrationService.js +1 -1
- package/lib/commonjs/theme/index.js +1 -1
- package/lib/commonjs/types/index.js +1 -1
- package/lib/commonjs/types.js +1 -1
- package/lib/commonjs/utils/Portal.js +1 -1
- package/lib/commonjs/utils/api.js +1 -1
- package/lib/commonjs/utils/assetRegistry.js +1 -1
- package/lib/commonjs/utils/auth.js +1 -1
- package/lib/commonjs/utils/connectorTests.js +1 -1
- package/lib/commonjs/utils/crypto.js +1 -1
- package/lib/commonjs/utils/debugHelper.js +1 -1
- package/lib/commonjs/utils/encryption.js +1 -1
- package/lib/commonjs/utils/eventUtils.js +1 -1
- package/lib/commonjs/utils/haptics.js +1 -1
- package/lib/commonjs/utils/imagePreloader.js +1 -1
- package/lib/commonjs/utils/networkDiagnostics.js +1 -1
- package/lib/commonjs/utils/onairosApi.js +1 -1
- package/lib/commonjs/utils/programmaticFlow.js +1 -1
- package/lib/commonjs/utils/retryHelper.js +1 -1
- package/lib/commonjs/utils/secureStorage.js +1 -1
- package/lib/commonjs/utils/webviewScripts/chatgpt.js +1 -1
- package/lib/commonjs/utils/webviewScripts/claude.js +1 -1
- package/lib/commonjs/utils/webviewScripts/hinge.js +1 -1
- package/lib/commonjs/utils/webviewScripts/index.js +1 -1
- package/lib/commonjs/utils/webviewScripts/instagram.js +1 -1
- package/lib/commonjs/utils/webviewScripts/linkedin.js +1 -1
- package/lib/commonjs/utils/webviewScripts/sephora.js +1 -1
- package/lib/commonjs/utils/webviewScripts/telegram.js +1 -1
- package/lib/module/api/index.js +1 -1
- package/lib/module/components/BodyText.js +1 -1
- package/lib/module/components/BrandMark.js +1 -1
- package/lib/module/components/CodeInput.js +1 -1
- package/lib/module/components/EmailInput.js +1 -1
- package/lib/module/components/GoogleButton.js +1 -1
- package/lib/module/components/HeadingGroup.js +1 -1
- package/lib/module/components/LLMDataInputModal.js +1 -1
- package/lib/module/components/ModalHeader.js +1 -1
- package/lib/module/components/ModalSheet.js +1 -1
- package/lib/module/components/Onairos.js +1 -1
- package/lib/module/components/OnairosButton.js +1 -1
- package/lib/module/components/OnairosSignInButton.js +1 -1
- package/lib/module/components/Overlay.js +1 -1
- package/lib/module/components/PersonaImage.js +1 -1
- package/lib/module/components/PersonaLoadingScreen.js +1 -1
- package/lib/module/components/PersonalizationConsentScreen.js +1 -1
- package/lib/module/components/PinCreationScreen.js +1 -1
- package/lib/module/components/PinInput.js +1 -1
- package/lib/module/components/PlatformConnectorsStep.js +1 -1
- package/lib/module/components/PlatformList.js +1 -1
- package/lib/module/components/PlatformToggle.js +1 -1
- package/lib/module/components/PrimaryButton.js +1 -1
- package/lib/module/components/SignInMatchAnimation.js +1 -1
- package/lib/module/components/SignInStep.js +1 -1
- package/lib/module/components/UniversalOnboarding.js +1 -1
- package/lib/module/components/VerificationStep.js +1 -1
- package/lib/module/components/WelcomeScreen.js +1 -1
- package/lib/module/components/icons/Basicproficon.js +1 -1
- package/lib/module/components/icons/Basicprofile.js +1 -1
- package/lib/module/components/icons/Checkbox.js +1 -1
- package/lib/module/components/icons/Checkmark.js +1 -1
- package/lib/module/components/icons/Contentanalysis.js +1 -1
- package/lib/module/components/icons/Contenticon.js +1 -1
- package/lib/module/components/icons/EnochE.js +1 -1
- package/lib/module/components/icons/Personalityicon.js +1 -1
- package/lib/module/components/icons/Personalityprofile.js +1 -1
- package/lib/module/components/icons/Personalitytraits.js +1 -1
- package/lib/module/components/icons/Userpreferences.js +1 -1
- package/lib/module/components/onboarding/OAuthWebView.js +1 -1
- package/lib/module/components/onboarding/OnboardingHeader.js +1 -1
- package/lib/module/components/onboarding/PinInput.js +1 -1
- package/lib/module/components/onboarding/PlatformConnector.js +1 -1
- package/lib/module/config/api.js +1 -1
- package/lib/module/constants/index.js +1 -1
- package/lib/module/context/AuthContext.js +1 -1
- package/lib/module/hooks/useConnectedAccounts.js +1 -1
- package/lib/module/hooks/useConnections.js +1 -1
- package/lib/module/hooks/useCredentials.js +1 -1
- package/lib/module/hooks/useUserConnections.js +1 -1
- package/lib/module/index.js +1 -1
- package/lib/module/services/apiClient.js +1 -1
- package/lib/module/services/apiKeyService.js +898 -1
- package/lib/module/services/authService.js +602 -1
- package/lib/module/services/biometricPinService.js +1 -1
- package/lib/module/services/chatGPTConversationExtractor.js +1 -1
- package/lib/module/services/chatGPTConversationService.js +1 -1
- package/lib/module/services/claudeConversationExtractor.js +1 -1
- package/lib/module/services/claudeConversationService.js +1 -1
- package/lib/module/services/connectedAccountsService.js +1 -1
- package/lib/module/services/googleAuthService.js +1 -1
- package/lib/module/services/hingeDataExtractor.js +1 -1
- package/lib/module/services/hingeDataService.js +1 -1
- package/lib/module/services/imageCompressionService.js +1 -1
- package/lib/module/services/instagramDataExtractor.js +1 -1
- package/lib/module/services/instagramDataService.js +1 -1
- package/lib/module/services/jwtStorageService.js +1 -1
- package/lib/module/services/linkedinDOMExtractor.js +1 -1
- package/lib/module/services/linkedinProfileService.js +1 -1
- package/lib/module/services/linkedinScrapingService.js +1 -1
- package/lib/module/services/llmDataStorage.js +1 -1
- package/lib/module/services/mobileTrainingService.js +1 -1
- package/lib/module/services/oauthService.js +381 -1
- package/lib/module/services/pinEncryptionService.js +1 -1
- package/lib/module/services/pinStorageUtils.js +1 -1
- package/lib/module/services/platformAuthService.js +1 -1
- package/lib/module/services/sephoraDataExtractor.js +1 -1
- package/lib/module/services/sephoraDataService.js +1 -1
- package/lib/module/services/storageService.js +1 -1
- package/lib/module/services/telegramDataExtractor.js +1 -1
- package/lib/module/services/telegramDataService.js +1 -1
- package/lib/module/services/trainingApiHelpers.js +1 -1
- package/lib/module/services/userConnectionsService.js +1 -1
- package/lib/module/services/youtubeMigrationService.js +1 -1
- package/lib/module/theme/index.js +1 -1
- package/lib/module/types.js +1 -1
- package/lib/module/utils/Portal.js +1 -1
- package/lib/module/utils/api.js +1 -1
- package/lib/module/utils/assetRegistry.js +1 -1
- package/lib/module/utils/auth.js +1 -1
- package/lib/module/utils/connectorTests.js +1 -1
- package/lib/module/utils/crypto.js +1 -1
- package/lib/module/utils/debugHelper.js +1 -1
- package/lib/module/utils/encryption.js +1 -1
- package/lib/module/utils/eventUtils.js +1 -1
- package/lib/module/utils/haptics.js +1 -1
- package/lib/module/utils/networkDiagnostics.js +1 -1
- package/lib/module/utils/onairosApi.js +1 -1
- package/lib/module/utils/programmaticFlow.js +1 -1
- package/lib/module/utils/retryHelper.js +1 -1
- package/lib/module/utils/secureStorage.js +1 -1
- package/lib/module/utils/webviewScripts/chatgpt.js +1 -1
- package/lib/module/utils/webviewScripts/claude.js +1 -1
- package/lib/module/utils/webviewScripts/hinge.js +1 -1
- package/lib/module/utils/webviewScripts/index.js +1 -1
- package/lib/module/utils/webviewScripts/instagram.js +1 -1
- package/lib/module/utils/webviewScripts/linkedin.js +1 -1
- package/lib/module/utils/webviewScripts/sephora.js +1 -1
- package/lib/module/utils/webviewScripts/telegram.js +1 -1
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
function _0x35cc(){const _0x842774=['openid','profile','email','configure','OSmRL','YxnIV','tVQcM','temporary\x20access\x20token\x20mode','🔄\x20User\x20using\x20temporary\x20mode\x20-\x20connection\x20working\x20correctly','🔧\x20User\x20needs\x20YouTube\x20migration\x20for\x20refresh\x20token','✅\x20YouTube\x20connection\x20fully\x20working\x20with\x20refresh\x20tokens','uOFvF','PVxVO','🔍\x20YouTube\x20migration\x20check:','YThyk','/youtube/validate-connection/','json','success','validation','kAkOI','GnjiT','RzQWF','isTemporaryMode','yMeDr','temporaryMode','enabled','message','RySrz','needsReconnection','hasRefreshToken','log','OQrbI','rkhka','RmiVg','MuDXu','TMApy','dzONY','gIiFp','cCNCe','includes','GNMWG','error','❓\x20YouTube\x20connection\x20status\x20unclear','Server\x20auth\x20code\x20from\x20sign-in','❌\x20Error\x20checking\x20YouTube\x20migration\x20status:','rkjeO','🔄\x20YouTube\x20connected\x20in\x20temporary\x20mode','✅\x20Training\x20will\x20work,\x20but\x20connection\x20expires\x20in\x20~1\x20hour','temporary','vqggj','TgEDy','TBILJ','limited','none','❌\x20Error\x20getting\x20YouTube\x20connection\x20status:','DftVL','MhIsB','ℹ️\x20User\x20declined\x20YouTube\x20migration','OKHMN','PcuNX','giptE','ZsXTw','AUSco','Qxjqq','rzoLO','pEJUr','yukoI','ufAcY','CifkN','✅\x20YouTube\x20connected\x20with\x20refresh\x20tokens','full','ISFma','mwDPl','cZsyV','serverAuthCode','dKiyI','⚠️\x20YouTube\x20connected\x20but\x20needs\x20migration','SrEUX','nUArM','LdJss','❌\x20No\x20YouTube\x20connection\x20found','rMhjl','wNyNv','MctiU','GTnOT','YouTube\x20Connection\x20Upgrade','To\x20improve\x20your\x20training\x20experience,\x20we\x20need\x20to\x20upgrade\x20your\x20YouTube\x20connection.\x20This\x20prevents\x20interruptions\x20during\x20data\x20collection.\x0a\x0a✅\x20One-time\x20upgrade\x0a✅\x20Takes\x2030\x20seconds\x0a✅\x20No\x20data\x20loss\x0a\x0aUpgrade\x20now?','cancel','Upgrade\x20Now','alert','ZrWrQ','Skip\x20for\x20Now','dbGgU','uekUi','default','Current\x20user\x20server\x20auth\x20code','⚠️\x20No\x20authentication\x20token\x20found\x20for\x20YouTube\x20migration','migration_token_placeholder','⚠️\x20[MIGRATION\x20WARNING]\x20SHOW\x20WARNING\x20-\x20genuinely\x20old\x20connection\x20needs\x20update','rUdsF','🔄\x20Starting\x20YouTube\x20migration\x20for\x20user:','✅\x20Signed\x20out\x20-\x20consent\x20cache\x20cleared','LuhWv','LkVHb','ℹ️\x20No\x20token\x20cache\x20to\x20clear','None','💡\x20This\x20usually\x20means:','❌\x20No\x20refresh\x20token\x20received\x20-\x20Google\x20Console\x20configuration\x20may\x20be\x20incorrect','\x20\x20\x201.\x20offlineAccess:\x20true\x20is\x20missing\x20from\x20configuration','✅\x20Got\x20refresh\x20token\x20after\x20consent:','...','enoch_token','auth_token','RYKyQ','YouTube\x20Channel','your-api-key','✅\x20YouTube\x20migration\x20successful','❌\x20Backend\x20rejected\x20YouTube\x20migration:','sECnS','❌\x20YouTube\x20migration\x20failed:','Unknown\x20error','TeDfg','savpp','OycFs','GWNPy','bVCZT','mlPfQ','wKrGT','accessToken','ebQHC','ARdvL','clearCachedAccessToken','vaDcQ','vKZnF','atxiy','tLGHl','hasPlayServices','🔐\x20Initiating\x20sign-in\x20-\x20consent\x20screen\x20should\x20appear...','getTokens','xDIqX','jlzlx','PLOIH','MJqIu','jjJza','iDpKk','bwMVE','oEXjq','gesgy','DAyeY','idToken','SEVGl','Available','MISSING!','eqfvH','4|2|5|3|1|0','split','\x20\x20\x203.\x20User\x20did\x20not\x20grant\x20offline\x20access\x20permission','aLtSh','\x20\x20\x202.\x20forceCodeForRefreshToken:\x20true\x20is\x20missing','kYFnl','Pnahq','YIqnk','substring','AIyFL','tgALx','getItem','IAbqc','mKELq','uwUHm','UThhZ','warn','FYCZL','nkvGX','XlaeE','name','jcaJq','erJIY','lggQR','BASE_URL','/youtube/native-auth','pZUie','oVzno','Bearer\x20','stringify','bVFfR','XePGi','pUvRB','NEMeZ','JaVpG','NFyVo','bJEzl','EssQf','Upgrade\x20Failed\x20❌','YouTube\x20connection\x20upgrade\x20failed.\x20Please\x20try\x20again\x20later\x20or\x20contact\x20support\x20if\x20the\x20problem\x20persists.','bBUuh','WWvyZ','pLXwe','DJnOa','WJSwY','/youtube/migration-status','sYylH','toISOString','gutUQ','📊\x20[MIGRATION\x20WARNING]\x20Status\x20check:','PivZX','TciQc','KmBEP','✅\x20[MIGRATION\x20WARNING]\x20NO\x20WARNING\x20-\x20connection\x20is\x20working\x20properly','ℹ️\x20[MIGRATION\x20WARNING]\x20NO\x20WARNING\x20-\x20no\x20YouTube\x20connection\x20found','ExpqY','eAPnz','DOBjP','xmrAu','zwujJ','vShAe','xrMNG','aAZDQ','CkYgS','Upiyc','🚫\x20[MIGRATION\x20WARNING]\x20NO\x20WARNING\x20-\x20user\x20is\x20in\x20temporary\x20mode\x20(working\x20correctly)','JkNxH','yIvAy','AqOpr','❌\x20[MIGRATION\x20WARNING]\x20Error\x20checking\x20migration\x20warning\x20status:','jkqma','SXJqb','YHJIX','uEQWe','⚠️\x20No\x20refresh\x20capability\x20but\x20training\x20can\x20proceed','JVdUf','🚫\x20[MIGRATION]\x20NO\x20MIGRATION\x20NEEDED\x20-\x20user\x20connection\x20is\x20working\x20correctly','✅\x20[MIGRATION]\x20User\x20can\x20proceed\x20with\x20training\x20normally','✅\x20[MIGRATION]\x20YouTube\x20connection\x20working\x20properly\x20-\x20no\x20migration\x20needed','🔧\x20[MIGRATION]\x20User\x20needs\x20YouTube\x20migration\x20for\x20refresh\x20token\x20(genuinely\x20old\x20connection)','kEufs','YouTube\x20Upgraded!\x20✅','Great!','❌\x20Error\x20in\x20YouTube\x20connection\x20check:','ulMss','aFokE','pCVkH','cQDVb','QaTAT','NDBfM','aKRyX','fYOWD','lRhnY','hCRkL','2|4|0|3|5|1','SxFDH','NNhmT','UgrqH','emhKQ','AOTpt','LnbaJ','nWIkV','OQCYE','JRZPK'];_0x35cc=function(){return _0x842774;};return _0x35cc();}import{GoogleSignin}from'@react-native-google-signin/google-signin';import{Alert}from'react-native';import AsyncStorage from'@react-native-async-storage/async-storage';import{API_CONFIG}from'../config/api';const WEB_CLIENT_ID='1030678346906-lovkuds2ouqmoc8eu5qpo98spa6edv4o.apps.googleusercontent.com',IOS_CLIENT_ID='1030678346906-lovkuds2ouqmoc8eu5qpo98spa6edv4o.apps.googleusercontent.com',configureGoogleSignInForRefreshTokens=()=>{const _0x3c1ca6={'OSmRL':'https://www.googleapis.com/auth/youtube.readonly','Xkkim':_0x1d17(0x0),'YxnIV':_0x1d17(0x1),'tVQcM':_0x1d17(0x2)};GoogleSignin[_0x1d17(0x3)]({'webClientId':WEB_CLIENT_ID,'iosClientId':IOS_CLIENT_ID,'offlineAccess':!![],'forceCodeForRefreshToken':!![],'scopes':[_0x3c1ca6[_0x1d17(0x4)],_0x3c1ca6['Xkkim'],_0x3c1ca6[_0x1d17(0x5)],_0x3c1ca6[_0x1d17(0x6)]],'hostedDomain':'','accountName':''});};export const checkYouTubeMigrationNeeded=async _0x559159=>{const _0x36e229={'gIiFp':function(_0x15ada6,_0x2bc405){return _0x15ada6===_0x2bc405;},'cCNCe':function(_0x47dd22,_0x1a09f7){return _0x47dd22===_0x1a09f7;},'RySrz':_0x1d17(0x7),'RmiVg':_0x1d17(0x8),'MuDXu':'⚠️\x20No\x20refresh\x20capability\x20but\x20training\x20can\x20proceed','TMApy':_0x1d17(0x9),'GNMWG':_0x1d17(0xa),'YThyk':function(_0x8b2ad9,_0x532c1e){return _0x8b2ad9(_0x532c1e);},'kAkOI':_0x1d17(0xb),'GnjiT':_0x1d17(0xc),'RzQWF':function(_0x236aa2,_0x4db29a){return _0x236aa2===_0x4db29a;},'imsPa':function(_0x2cdf64,_0xd6b69d){return _0x2cdf64===_0xd6b69d;},'sSnfR':function(_0x4e680a,_0xf901e7){return _0x4e680a===_0xf901e7;},'yMeDr':function(_0xebbac,_0x396139){return _0xebbac===_0x396139;},'OQrbI':_0x1d17(0xd),'rkhka':function(_0x16f50e,_0x560b6b){return _0x16f50e===_0x560b6b;},'iIVab':function(_0x33d538,_0x4fb7c2){return _0x33d538===_0x4fb7c2;}};try{const _0x26b02d=await _0x36e229[_0x1d17(0xe)](fetch,API_CONFIG['BASE_URL']+_0x1d17(0xf)+_0x559159),_0x5d5956=await _0x26b02d[_0x1d17(0x10)]();if(_0x5d5956[_0x1d17(0x11)]&&_0x5d5956[_0x1d17(0x12)]){if(_0x36e229[_0x1d17(0x13)]!==_0x36e229[_0x1d17(0x14)]){var _0x3efab6,_0x5d105c,_0x232407;const _0x139bd9=_0x36e229[_0x1d17(0x15)](_0x36e229['imsPa'](_0x3efab6=_0x5d5956[_0x1d17(0x12)],null)||_0x3efab6===void 0x0?void 0x0:_0x3efab6[_0x1d17(0x16)],!![])||_0x36e229['sSnfR'](_0x36e229[_0x1d17(0x17)](_0x5d105c=_0x5d5956[_0x1d17(0x18)],null)||_0x5d105c===void 0x0?void 0x0:_0x5d105c[_0x1d17(0x19)],!![])||_0x5d5956[_0x1d17(0x16)]===!![]||_0x5d5956[_0x1d17(0x1a)]&&_0x5d5956[_0x1d17(0x1a)]['includes'](_0x36e229[_0x1d17(0x1b)]),_0x4a0bd5=_0x5d5956[_0x1d17(0x12)][_0x1d17(0x1c)],_0xac7f5c=_0x5d5956[_0x1d17(0x12)][_0x1d17(0x1d)];console[_0x1d17(0x1e)](_0x36e229[_0x1d17(0x1f)],{'username':_0x559159,'needsReconnection':_0x4a0bd5,'hasRefreshToken':_0xac7f5c,'isTemporaryMode':_0x139bd9,'temporaryModeEnabled':_0x36e229[_0x1d17(0x20)](_0x232407=_0x5d5956[_0x1d17(0x18)],null)||_0x36e229['iIVab'](_0x232407,void 0x0)?void 0x0:_0x232407[_0x1d17(0x19)],'message':_0x5d5956[_0x1d17(0x1a)]});if(_0x139bd9)return console[_0x1d17(0x1e)](_0x36e229[_0x1d17(0x21)]),console['log'](_0x36e229[_0x1d17(0x22)]),![];else{if(_0x4a0bd5)return console[_0x1d17(0x1e)](_0x36e229[_0x1d17(0x23)]),!![];else{if(_0x36e229[_0x1d17(0x17)]('lYLRC',_0x1d17(0x24)))_0x495df4['log']('ℹ️\x20No\x20token\x20cache\x20to\x20clear');else return console['log'](_0x36e229['GNMWG']),![];}}}else{var _0x514311,_0x70af4c,_0x68f62;const _0x28cfc9=((_0x514311=_0x375891[_0x1d17(0x12)])===null||_0x514311===void 0x0?void 0x0:_0x514311[_0x1d17(0x16)])===!![]||_0x36e229[_0x1d17(0x25)]((_0x70af4c=_0x5ef65d[_0x1d17(0x18)])===null||_0x70af4c===void 0x0?void 0x0:_0x70af4c[_0x1d17(0x19)],!![])||_0x36e229[_0x1d17(0x26)](_0x4b7b20[_0x1d17(0x16)],!![])||_0x2a8499[_0x1d17(0x1a)]&&_0x4849ce[_0x1d17(0x1a)][_0x1d17(0x27)](_0x36e229[_0x1d17(0x1b)]),_0x3c2ea5=_0xa6ad0b[_0x1d17(0x12)]['needsReconnection'],_0x589585=_0x21e360[_0x1d17(0x12)][_0x1d17(0x1d)];_0x417c60['log'](_0x1d17(0xd),{'username':_0x33abd3,'needsReconnection':_0x3c2ea5,'hasRefreshToken':_0x589585,'isTemporaryMode':_0x28cfc9,'temporaryModeEnabled':(_0x68f62=_0x5c9ce2[_0x1d17(0x18)])===null||_0x36e229[_0x1d17(0x26)](_0x68f62,void 0x0)?void 0x0:_0x68f62[_0x1d17(0x19)],'message':_0x1f6812[_0x1d17(0x1a)]});if(_0x28cfc9)return _0x5aacbb[_0x1d17(0x1e)](_0x36e229[_0x1d17(0x21)]),_0x30eff8['log'](_0x36e229[_0x1d17(0x22)]),![];else return _0x3c2ea5?(_0x44134a[_0x1d17(0x1e)](_0x36e229['TMApy']),!![]):(_0x318a67[_0x1d17(0x1e)](_0x36e229[_0x1d17(0x28)]),![]);}}return![];}catch(_0x3adadf){return console[_0x1d17(0x29)]('❌\x20Error\x20checking\x20YouTube\x20migration\x20status:',_0x3adadf),![];}};export const getYouTubeConnectionStatus=async _0x2db633=>{const _0x4a9d67={'ISFma':_0x1d17(0x2a),'dKiyI':_0x1d17(0x2b),'LdJss':_0x1d17(0x2c),'fSpez':'✅\x20[MIGRATION\x20WARNING]\x20NO\x20WARNING\x20-\x20connection\x20is\x20working\x20properly','DftVL':'📋\x20Complete\x20YouTube\x20status\x20response:','KNRuj':function(_0x3160ef,_0x30b593){return _0x3160ef!==_0x30b593;},'OKHMN':function(_0x2c583d,_0x4efbf9){return _0x2c583d===_0x4efbf9;},'PcuNX':function(_0x1f30b5,_0x19a2af){return _0x1f30b5===_0x19a2af;},'giptE':function(_0x228f88,_0x14aa95){return _0x228f88===_0x14aa95;},'HxOsT':function(_0x31f456,_0x3b7cec){return _0x31f456===_0x3b7cec;},'ZsXTw':_0x1d17(0x7),'AUSco':_0x1d17(0x2d),'Qxjqq':'xIRqD','rzoLO':_0x1d17(0x2e),'pEJUr':_0x1d17(0x2f),'yukoI':_0x1d17(0x30),'ufAcY':function(_0x5e5a4c,_0x39092f){return _0x5e5a4c===_0x39092f;},'CifkN':_0x1d17(0x31),'mwDPl':_0x1d17(0x32),'cZsyV':_0x1d17(0x33),'SrEUX':_0x1d17(0x34),'MctiU':_0x1d17(0x35),'wNyNv':_0x1d17(0x36),'dzvTf':function(_0x4247e2,_0x2ff25f){return _0x4247e2 instanceof _0x2ff25f;},'GTnOT':function(_0x59df7e,_0x48a929){return _0x59df7e(_0x48a929);}};try{const _0x4c0c85=await fetch(API_CONFIG['BASE_URL']+_0x1d17(0xf)+_0x2db633),_0x18d60f=await _0x4c0c85[_0x1d17(0x10)]();console[_0x1d17(0x1e)](_0x4a9d67[_0x1d17(0x37)],_0x18d60f);if(_0x18d60f['success']&&_0x18d60f['validation']){if(_0x4a9d67['KNRuj'](_0x1d17(0x38),_0x1d17(0x38)))return _0x1d4dbe[_0x1d17(0x1e)](_0x1d17(0x39)),![];else{var _0x2c908a,_0x4fe8eb;const _0x2b3706=_0x4a9d67['OKHMN'](_0x4a9d67[_0x1d17(0x3a)](_0x2c908a=_0x18d60f[_0x1d17(0x12)],null)||_0x2c908a===void 0x0?void 0x0:_0x2c908a['isTemporaryMode'],!![])||_0x4a9d67[_0x1d17(0x3a)](_0x4a9d67[_0x1d17(0x3b)](_0x4fe8eb=_0x18d60f[_0x1d17(0x18)],null)||_0x4a9d67[_0x1d17(0x3c)](_0x4fe8eb,void 0x0)?void 0x0:_0x4fe8eb[_0x1d17(0x19)],!![])||_0x4a9d67['HxOsT'](_0x18d60f[_0x1d17(0x16)],!![])||_0x18d60f[_0x1d17(0x1a)]&&_0x18d60f[_0x1d17(0x1a)][_0x1d17(0x27)](_0x4a9d67[_0x1d17(0x3d)]),_0xfeee4b=_0x18d60f['validation'][_0x1d17(0x1d)]===!![],_0x5ee244=_0x18d60f['validation']['needsReconnection']===!![];if(_0x2b3706)return _0x4a9d67[_0x1d17(0x3e)]!==_0x4a9d67[_0x1d17(0x3f)]?(console[_0x1d17(0x1e)](_0x4a9d67[_0x1d17(0x40)]),console[_0x1d17(0x1e)](_0x4a9d67[_0x1d17(0x41)]),{'isReady':!![],'mode':_0x4a9d67[_0x1d17(0x42)],'needsMigration':![],'trainingReady':!![],'details':_0x18d60f}):(_0x2b32d9[_0x1d17(0x1e)]('✅\x20YouTube\x20connection\x20fully\x20working\x20with\x20refresh\x20tokens'),![]);else{if(_0xfeee4b)return _0x4a9d67[_0x1d17(0x43)](_0x4a9d67['CifkN'],_0x4a9d67[_0x1d17(0x44)])?(console['log'](_0x1d17(0x45)),{'isReady':!![],'mode':_0x1d17(0x46),'needsMigration':![],'trainingReady':!![],'details':_0x18d60f}):(_0x2ac780[_0x1d17(0x1e)](_0x4a9d67[_0x1d17(0x47)]),{'isReady':![],'mode':'none','needsMigration':![],'trainingReady':![],'details':_0x4026a2});else{if(_0x5ee244){if(_0x4a9d67[_0x1d17(0x3a)](_0x4a9d67[_0x1d17(0x48)],_0x4a9d67[_0x1d17(0x49)]))_0x3a9784=_0x5a9528[_0x1d17(0x4a)],_0x1f1018=_0x4a9d67[_0x1d17(0x4b)];else return console[_0x1d17(0x1e)](_0x1d17(0x4c)),{'isReady':![],'mode':_0x4a9d67[_0x1d17(0x4d)],'needsMigration':!![],'trainingReady':![],'details':_0x18d60f};}else return _0x1d17(0x4e)!=='nUArM'?(_0x81af0f[_0x1d17(0x29)](_0x4a9d67[_0x1d17(0x4f)],_0x4eb147),![]):(console[_0x1d17(0x1e)](_0x1d17(0x2a)),{'isReady':![],'mode':_0x4a9d67['MctiU'],'needsMigration':![],'trainingReady':![],'details':_0x18d60f});}}}}return console[_0x1d17(0x1e)](_0x1d17(0x50)),{'isReady':![],'mode':_0x4a9d67['MctiU'],'needsMigration':![],'trainingReady':![],'details':_0x18d60f};}catch(_0x1608ac){return _0x4a9d67[_0x1d17(0x3c)](_0x1d17(0x51),_0x1d17(0x51))?(console['error'](_0x4a9d67[_0x1d17(0x52)],_0x1608ac),{'isReady':![],'mode':_0x4a9d67[_0x1d17(0x53)],'needsMigration':![],'trainingReady':![],'details':{'error':_0x4a9d67['dzvTf'](_0x1608ac,Error)?_0x1608ac[_0x1d17(0x1a)]:_0x4a9d67[_0x1d17(0x54)](String,_0x1608ac)}}):(_0x3a1dad['log'](_0x4a9d67['fSpez']),![]);}};const showYouTubeMigrationPrompt=async()=>{const _0x27e2d8={'OVbgW':_0x1d17(0x55),'ZrWrQ':_0x1d17(0x56),'dbGgU':_0x1d17(0x57),'uekUi':_0x1d17(0x58)};return new Promise(_0x4b1160=>{Alert[_0x1d17(0x59)](_0x27e2d8['OVbgW'],_0x27e2d8[_0x1d17(0x5a)],[{'text':_0x1d17(0x5b),'style':_0x27e2d8[_0x1d17(0x5c)],'onPress':()=>_0x4b1160(![])},{'text':_0x27e2d8[_0x1d17(0x5d)],'style':_0x1d17(0x5e),'onPress':()=>_0x4b1160(!![])}]);});},forceYouTubeReconnection=async _0xfaa09b=>{const _0x2bd87b={'OycFs':_0x1d17(0x4c),'GWNPy':_0x1d17(0x34),'pbsVX':_0x1d17(0x9),'atxiy':_0x1d17(0x5f),'MJqIu':_0x1d17(0x55),'jjJza':_0x1d17(0x56),'iDpKk':_0x1d17(0x5b),'bwMVE':_0x1d17(0x57),'oEXjq':_0x1d17(0x58),'gesgy':_0x1d17(0x5e),'FYCZL':_0x1d17(0x60),'nwYev':_0x1d17(0x61),'EssQf':_0x1d17(0x62),'TeDfg':function(_0x307221,_0xb164b6){return _0x307221!==_0xb164b6;},'savpp':_0x1d17(0x63),'bVCZT':_0x1d17(0x64),'mlPfQ':function(_0x3647d4){return _0x3647d4();},'wKrGT':_0x1d17(0x65),'ebQHC':function(_0x20d3ca,_0x2cd2e1){return _0x20d3ca===_0x2cd2e1;},'ARdvL':_0x1d17(0x66),'vaDcQ':'✅\x20Token\x20cache\x20cleared','vKZnF':_0x1d17(0x67),'tLGHl':_0x1d17(0x68),'xDIqX':_0x1d17(0x69),'DAyeY':'🔍\x20Token\x20Analysis:','SEVGl':function(_0x2d5322,_0x15e956){return _0x2d5322!==_0x15e956;},'eqfvH':function(_0x1cb1ef,_0xad05ab){return _0x1cb1ef===_0xad05ab;},'aLtSh':_0x1d17(0x6a),'kYFnl':_0x1d17(0x6b),'Pnahq':_0x1d17(0x6c),'YIqnk':_0x1d17(0x6d),'AIyFL':_0x1d17(0x6e),'tgALx':'🔑\x20Refresh\x20token\x20source:','IAbqc':'onairos_jwt_token','mKELq':_0x1d17(0x6f),'uwUHm':_0x1d17(0x70),'UThhZ':_0x1d17(0x71),'nkvGX':'youtube','XlaeE':function(_0x590b1c,_0xe51b7b){return _0x590b1c===_0xe51b7b;},'lggQR':_0x1d17(0x72),'jcaJq':function(_0xf1db29,_0x16068b){return _0xf1db29===_0x16068b;},'erJIY':function(_0x45cb26,_0x1b4d4b){return _0x45cb26===_0x1b4d4b;},'jZFLJ':'📤\x20Sending\x20migration\x20payload\x20to\x20backend...','XePGi':function(_0x40fe6a,_0x1719aa,_0x186570){return _0x40fe6a(_0x1719aa,_0x186570);},'pZUie':_0x1d17(0x73),'oVzno':function(_0x1992fa,_0x1ec5f3){return _0x1992fa!==_0x1ec5f3;},'bVFfR':_0x1d17(0x74),'pUvRB':_0x1d17(0x75),'NEMeZ':function(_0x20fb46,_0x591c97,_0x64acac,_0x525400){return _0x20fb46(_0x591c97,_0x64acac,_0x525400);},'JaVpG':_0x1d17(0x76),'VkarD':_0x1d17(0x77),'NFyVo':function(_0x122761,_0x16d108,_0x577de6,_0x29a714){return _0x122761(_0x16d108,_0x577de6,_0x29a714);},'jgUfG':function(_0x26ad20,_0x102fd0){return _0x26ad20 instanceof _0x102fd0;},'bJEzl':_0x1d17(0x78)};try{if(_0x2bd87b[_0x1d17(0x79)](_0x1d17(0x63),_0x2bd87b[_0x1d17(0x7a)]))return _0x1fce28[_0x1d17(0x1e)](_0x2bd87b[_0x1d17(0x7b)]),{'isReady':![],'mode':_0x2bd87b[_0x1d17(0x7c)],'needsMigration':!![],'trainingReady':![],'details':_0xd161e4};else{var _0x5cb49f,_0x5ad5fa,_0x5e872d,_0x42bf0e;console[_0x1d17(0x1e)](_0x2bd87b[_0x1d17(0x7d)],_0xfaa09b),_0x2bd87b[_0x1d17(0x7e)](configureGoogleSignInForRefreshTokens),await GoogleSignin['signOut'](),console[_0x1d17(0x1e)](_0x2bd87b[_0x1d17(0x7f)]);try{const _0x411746=await GoogleSignin['getTokens']();if(_0x411746[_0x1d17(0x80)]){if(_0x2bd87b[_0x1d17(0x81)](_0x1d17(0x66),_0x2bd87b[_0x1d17(0x82)]))await GoogleSignin[_0x1d17(0x83)](_0x411746[_0x1d17(0x80)]),console['log'](_0x2bd87b[_0x1d17(0x84)]);else return _0x29144e[_0x1d17(0x1e)](_0x2bd87b['pbsVX']),!![];}}catch(_0x354d58){_0x2bd87b[_0x1d17(0x79)](_0x2bd87b[_0x1d17(0x85)],_0x2bd87b['vKZnF'])?(_0x4131ee=_0x25b361[_0x1d17(0x4a)],_0x3fabb4=_0x2bd87b[_0x1d17(0x86)]):console[_0x1d17(0x1e)](_0x2bd87b[_0x1d17(0x87)]);}await GoogleSignin[_0x1d17(0x88)](),console['log'](_0x1d17(0x89));const _0x577620=await GoogleSignin['signIn'](),_0x2a1f03=await GoogleSignin[_0x1d17(0x8a)](),_0x567cee=await GoogleSignin['getCurrentUser']();let _0x25aa66=null,_0x215d8b=_0x2bd87b[_0x1d17(0x8b)];if(_0x577620[_0x1d17(0x4a)])_0x25aa66=_0x577620[_0x1d17(0x4a)],_0x215d8b='Server\x20auth\x20code\x20from\x20sign-in';else _0x2bd87b[_0x1d17(0x79)](_0x567cee,null)&&_0x567cee!==void 0x0&&_0x567cee['serverAuthCode']&&(_0x2bd87b[_0x1d17(0x79)](_0x1d17(0x8c),_0x1d17(0x8d))?(_0x25aa66=_0x567cee[_0x1d17(0x4a)],_0x215d8b=_0x2bd87b[_0x1d17(0x86)]):Alert[_0x1d17(0x59)](_0x2bd87b[_0x1d17(0x8e)],_0x2bd87b[_0x1d17(0x8f)],[{'text':_0x2bd87b[_0x1d17(0x90)],'style':_0x2bd87b[_0x1d17(0x91)],'onPress':()=>_0x5675af(![])},{'text':_0x2bd87b[_0x1d17(0x92)],'style':_0x2bd87b[_0x1d17(0x93)],'onPress':()=>_0x1375bc(!![])}]));console[_0x1d17(0x1e)](_0x2bd87b[_0x1d17(0x94)],{'hasAccessToken':!!_0x2a1f03[_0x1d17(0x80)],'hasIdToken':!!_0x2a1f03[_0x1d17(0x95)],'hasServerAuthCode':!!_0x577620[_0x1d17(0x4a)],'hasCurrentUserAuthCode':!!(_0x2bd87b[_0x1d17(0x96)](_0x567cee,null)&&_0x2bd87b[_0x1d17(0x79)](_0x567cee,void 0x0)&&_0x567cee[_0x1d17(0x4a)]),'refreshTokenSource':_0x215d8b,'finalRefreshToken':_0x25aa66?_0x1d17(0x97):_0x1d17(0x98),'userEmail':_0x2bd87b[_0x1d17(0x99)](_0x5cb49f=_0x577620['user'],null)||_0x5cb49f===void 0x0?void 0x0:_0x5cb49f[_0x1d17(0x2)]});if(!_0x25aa66){const _0x4973a2=_0x1d17(0x9a)[_0x1d17(0x9b)]('|');let _0x3d4faa=0x0;while(!![]){switch(_0x4973a2[_0x3d4faa++]){case'0':return![];case'1':console[_0x1d17(0x29)](_0x1d17(0x9c));continue;case'2':console['error'](_0x2bd87b[_0x1d17(0x9d)]);continue;case'3':console['error'](_0x1d17(0x9e));continue;case'4':console[_0x1d17(0x29)](_0x2bd87b[_0x1d17(0x9f)]);continue;case'5':console['error'](_0x2bd87b[_0x1d17(0xa0)]);continue;}break;}}console[_0x1d17(0x1e)](_0x2bd87b[_0x1d17(0xa1)],_0x25aa66[_0x1d17(0xa2)](0x0,0x14)+_0x2bd87b[_0x1d17(0xa3)]),console[_0x1d17(0x1e)](_0x2bd87b[_0x1d17(0xa4)],_0x215d8b);let _0xd6dda0=await AsyncStorage[_0x1d17(0xa5)](_0x2bd87b[_0x1d17(0xa6)])||await AsyncStorage[_0x1d17(0xa5)](_0x2bd87b[_0x1d17(0xa7)])||await AsyncStorage[_0x1d17(0xa5)](_0x2bd87b[_0x1d17(0xa8)]);!_0xd6dda0&&(_0x2bd87b[_0x1d17(0xa9)]===_0x2bd87b['UThhZ']?(console[_0x1d17(0xaa)](_0x2bd87b[_0x1d17(0xab)]),_0xd6dda0=_0x2bd87b['nwYev']):(_0x4ef551[_0x1d17(0xaa)](_0x2bd87b[_0x1d17(0xab)]),_0x44f105=_0x2bd87b['nwYev']));const _0x1ea202={'session':{'username':_0xfaa09b,'platform':_0x2bd87b[_0x1d17(0xac)],'channelName':(_0x2bd87b[_0x1d17(0xad)](_0x5ad5fa=_0x577620['user'],null)||_0x5ad5fa===void 0x0?void 0x0:_0x5ad5fa[_0x1d17(0xae)])||_0x2bd87b['lggQR'],'channelId':null},'googleUser':_0x577620['user'],'accessToken':_0x2a1f03['accessToken'],'idToken':_0x2a1f03['idToken'],'refreshToken':_0x25aa66,'serverAuthCode':_0x577620[_0x1d17(0x4a)],'userAccountInfo':{'username':_0xfaa09b,'email':_0x2bd87b[_0x1d17(0xaf)](_0x5e872d=_0x577620['user'],null)||_0x2bd87b[_0x1d17(0xaf)](_0x5e872d,void 0x0)?void 0x0:_0x5e872d['email'],'authToken':_0xd6dda0,'channelName':(_0x2bd87b[_0x1d17(0x81)](_0x42bf0e=_0x577620['user'],null)||_0x2bd87b[_0x1d17(0xb0)](_0x42bf0e,void 0x0)?void 0x0:_0x42bf0e[_0x1d17(0xae)])||_0x2bd87b[_0x1d17(0xb1)],'channelId':null}};console[_0x1d17(0x1e)](_0x2bd87b['jZFLJ']);const _0x593fde=await _0x2bd87b['XePGi'](fetch,API_CONFIG[_0x1d17(0xb2)]+_0x1d17(0xb3),{'method':'POST','headers':{'Content-Type':'application/json','x-api-key':_0x2bd87b[_0x1d17(0xb4)],..._0x2bd87b[_0x1d17(0xb5)](_0xd6dda0,_0x1d17(0x61))&&{'Authorization':_0x1d17(0xb6)+_0xd6dda0}},'body':JSON[_0x1d17(0xb7)](_0x1ea202)}),_0x3e4363=await _0x593fde[_0x1d17(0x10)]();return _0x3e4363[_0x1d17(0x11)]?(console[_0x1d17(0x1e)](_0x2bd87b[_0x1d17(0xb8)]),await _0x2bd87b[_0x1d17(0xb9)](trackMigrationAttempt,_0xfaa09b,!![]),!![]):(console[_0x1d17(0x29)](_0x2bd87b[_0x1d17(0xba)],_0x3e4363[_0x1d17(0x29)]),await _0x2bd87b[_0x1d17(0xbb)](trackMigrationAttempt,_0xfaa09b,![],_0x3e4363[_0x1d17(0x29)]),![]);}}catch(_0x8b8791){return _0x2bd87b[_0x1d17(0xbc)]===_0x2bd87b[_0x1d17(0xbc)]?(console[_0x1d17(0x29)](_0x2bd87b['VkarD'],_0x8b8791),await _0x2bd87b[_0x1d17(0xbd)](trackMigrationAttempt,_0xfaa09b,![],_0x2bd87b['jgUfG'](_0x8b8791,Error)?_0x8b8791[_0x1d17(0x1a)]:_0x2bd87b[_0x1d17(0xbe)]),![]):(_0x1cd2ee[_0x1d17(0x1e)](_0x2bd87b[_0x1d17(0xbf)]),!![]);}},trackMigrationAttempt=async(_0x1f4686,_0x505d7a,_0xda3d4e)=>{const _0x37f003={'DJnOa':_0x1d17(0xc0),'WJSwY':_0x1d17(0xc1),'SCqix':_0x1d17(0x5e),'WWvyZ':function(_0x16c606,_0x2d2aea){return _0x16c606!==_0x2d2aea;},'pLXwe':_0x1d17(0xc2),'sYylH':function(_0xaea0ce,_0x2e08c3){return _0xaea0ce||_0x2e08c3;},'gutUQ':'❌\x20Failed\x20to\x20track\x20migration\x20attempt:'};try{if(_0x37f003[_0x1d17(0xc3)](_0x37f003[_0x1d17(0xc4)],_0x37f003[_0x1d17(0xc4)]))return Alert[_0x1d17(0x59)](_0x37f003[_0x1d17(0xc5)],_0x37f003[_0x1d17(0xc6)],[{'text':'OK','style':_0x37f003['SCqix']}]),![];else await fetch(API_CONFIG[_0x1d17(0xb2)]+_0x1d17(0xc7),{'method':'POST','headers':{'Content-Type':'application/json'},'body':JSON[_0x1d17(0xb7)]({'username':_0x1f4686,'success':_0x505d7a,'error':_0x37f003[_0x1d17(0xc8)](_0xda3d4e,null),'timestamp':new Date()[_0x1d17(0xc9)]()})});}catch(_0x3bbcc6){console[_0x1d17(0x29)](_0x37f003[_0x1d17(0xca)],_0x3bbcc6);}};export const shouldShowYouTubeMigrationWarning=async _0x425ab8=>{const _0x11a03b={'zwujJ':'none','CLWmK':function(_0x11ae0b,_0x718a16){return _0x11ae0b instanceof _0x718a16;},'tFTTt':function(_0x4efa95,_0x5421cc){return _0x4efa95(_0x5421cc);},'bWpIF':_0x1d17(0x2f),'AlpXC':_0x1d17(0x30),'ExpqY':'🔍\x20[MIGRATION\x20WARNING]\x20Checking\x20if\x20user\x20should\x20see\x20migration\x20warning:','eAPnz':function(_0x41bf1a,_0x4cc459){return _0x41bf1a(_0x4cc459);},'DOBjP':function(_0x5df1cd,_0x11272c){return _0x5df1cd!==_0x11272c;},'xmrAu':'LsTiP','vShAe':function(_0x59eee3,_0x565efa){return _0x59eee3===_0x565efa;},'xrMNG':function(_0x3d190a,_0x4af2c0){return _0x3d190a===_0x4af2c0;},'aAZDQ':function(_0x5711cf,_0x192961){return _0x5711cf===_0x192961;},'CkYgS':_0x1d17(0xcb),'LNcUT':_0x1d17(0xcc),'Upiyc':_0x1d17(0xcd),'JkNxH':function(_0x4ab667,_0x2912dd){return _0x4ab667&&_0x2912dd;},'yIvAy':_0x1d17(0xce),'AqOpr':_0x1d17(0x62),'jkqma':_0x1d17(0xcf),'SXJqb':_0x1d17(0xd0),'YHJIX':'QrVFd','uEQWe':'❌\x20[MIGRATION\x20WARNING]\x20Error\x20checking\x20migration\x20warning\x20status:'};try{console[_0x1d17(0x1e)](_0x11a03b[_0x1d17(0xd1)],_0x425ab8);const _0x32304e=await _0x11a03b[_0x1d17(0xd2)](fetch,API_CONFIG[_0x1d17(0xb2)]+'/youtube/validate-connection/'+_0x425ab8),_0x55462e=await _0x32304e[_0x1d17(0x10)]();if(_0x55462e[_0x1d17(0x11)]&&_0x55462e[_0x1d17(0x12)]){if(_0x11a03b[_0x1d17(0xd3)](_0x11a03b[_0x1d17(0xd4)],_0x11a03b['xmrAu']))return _0x2f900a[_0x1d17(0x29)]('❌\x20Error\x20getting\x20YouTube\x20connection\x20status:',_0x24ee70),{'isReady':![],'mode':_0x11a03b[_0x1d17(0xd5)],'needsMigration':![],'trainingReady':![],'details':{'error':_0x11a03b['CLWmK'](_0x34ab28,_0x4d3813)?_0x3e340c['message']:_0x11a03b['tFTTt'](_0x5b995e,_0xe2b0ac)}};else{var _0x4f5b78,_0x18cd2f;const _0x5458a1=(_0x11a03b[_0x1d17(0xd6)](_0x4f5b78=_0x55462e[_0x1d17(0x12)],null)||_0x11a03b[_0x1d17(0xd6)](_0x4f5b78,void 0x0)?void 0x0:_0x4f5b78['isTemporaryMode'])===!![]||(_0x11a03b['xrMNG'](_0x18cd2f=_0x55462e[_0x1d17(0x18)],null)||_0x11a03b['xrMNG'](_0x18cd2f,void 0x0)?void 0x0:_0x18cd2f['enabled'])===!![]||_0x11a03b[_0x1d17(0xd7)](_0x55462e[_0x1d17(0x16)],!![]),_0x17f795=_0x55462e[_0x1d17(0x12)]['hasAccessToken']===!![],_0xc0fd6f=_0x11a03b[_0x1d17(0xd8)](_0x55462e['validation'][_0x1d17(0x1d)],!![]),_0x2c6c70=_0x11a03b[_0x1d17(0xd7)](_0x55462e[_0x1d17(0x12)][_0x1d17(0x1c)],!![]);console[_0x1d17(0x1e)](_0x11a03b[_0x1d17(0xd9)],{'username':_0x425ab8,'hasAccessToken':_0x17f795,'hasRefreshToken':_0xc0fd6f,'needsReconnection':_0x2c6c70,'isTemporaryMode':_0x5458a1,'connectedAt':_0x55462e[_0x1d17(0x12)]['connectedAt']});if(_0x5458a1)return _0x11a03b['DOBjP'](_0x11a03b['LNcUT'],_0x11a03b[_0x1d17(0xda)])?(console[_0x1d17(0x1e)](_0x1d17(0xdb)),![]):(_0x1520c2[_0x1d17(0x1e)](_0x1d17(0x45)),{'isReady':!![],'mode':_0x1d17(0x46),'needsMigration':![],'trainingReady':!![],'details':_0x526cfd});else return _0x11a03b[_0x1d17(0xdc)](_0x17f795,!_0xc0fd6f)&&_0x2c6c70?_0x11a03b[_0x1d17(0xd8)](_0x1d17(0xce),_0x11a03b[_0x1d17(0xdd)])?(console[_0x1d17(0x1e)](_0x11a03b[_0x1d17(0xde)]),!![]):(_0x593c47[_0x1d17(0x29)](_0x1d17(0xdf),_0x1585c4),![]):(console[_0x1d17(0x1e)](_0x11a03b[_0x1d17(0xe0)]),![]);}}return console[_0x1d17(0x1e)](_0x11a03b[_0x1d17(0xe1)]),![];}catch(_0x132718){return _0x11a03b['YHJIX']!==_0x11a03b[_0x1d17(0xe2)]?(_0x14b9be[_0x1d17(0x1e)]('🔄\x20YouTube\x20connected\x20in\x20temporary\x20mode'),_0x109e17['log'](_0x11a03b['bWpIF']),{'isReady':!![],'mode':_0x11a03b['AlpXC'],'needsMigration':![],'trainingReady':!![],'details':_0xe1f267}):(console['error'](_0x11a03b[_0x1d17(0xe3)],_0x132718),![]);}};function _0x1d17(_0x35cc7d,_0x1d1711){_0x35cc7d=_0x35cc7d-0x0;const _0x302c4b=_0x35cc();let _0x555319=_0x302c4b[_0x35cc7d];return _0x555319;}export const checkAndFixYouTubeConnection=async _0x4145a9=>{const _0x11afc2={'QSTXx':_0x1d17(0x8),'SbaUK':_0x1d17(0xe4),'SxFDH':_0x1d17(0x6c),'NNhmT':_0x1d17(0x6b),'UgrqH':_0x1d17(0x9e),'FOgJe':_0x1d17(0x6a),'emhKQ':_0x1d17(0x9c),'ulMss':'🔄\x20Checking\x20YouTube\x20connection\x20for\x20user:','aFokE':function(_0x4e64fc,_0x176bb8){return _0x4e64fc(_0x176bb8);},'pCVkH':function(_0x429c4b,_0xf1ae15){return _0x429c4b===_0xf1ae15;},'cQDVb':_0x1d17(0xe5),'QaTAT':_0x1d17(0xe6),'NDBfM':_0x1d17(0xe7),'AOTpt':function(_0x29a68b,_0x26a098){return _0x29a68b(_0x26a098);},'aKRyX':_0x1d17(0xe8),'fYOWD':_0x1d17(0xe9),'lRhnY':function(_0x37e3c4){return _0x37e3c4();},'hCRkL':function(_0x5423d6,_0x64ab19){return _0x5423d6===_0x64ab19;},'DGaEz':_0x1d17(0xea),'QyTYE':'tFftv','LnbaJ':_0x1d17(0xeb),'QCXkT':_0x1d17(0xec),'INaXE':_0x1d17(0x5e),'hUdlG':_0x1d17(0xc0),'nWIkV':_0x1d17(0xc1),'OQCYE':_0x1d17(0xed)};try{console[_0x1d17(0x1e)](_0x11afc2[_0x1d17(0xee)],_0x4145a9);const _0xae43ca=await _0x11afc2[_0x1d17(0xef)](shouldShowYouTubeMigrationWarning,_0x4145a9);if(!_0xae43ca)return _0x11afc2[_0x1d17(0xf0)](_0x1d17(0xe5),_0x11afc2[_0x1d17(0xf1)])?(console[_0x1d17(0x1e)](_0x11afc2[_0x1d17(0xf2)]),console[_0x1d17(0x1e)](_0x11afc2[_0x1d17(0xf3)]),!![]):(_0x5adee4[_0x1d17(0x1e)](_0x11afc2['QSTXx']),_0x36719c[_0x1d17(0x1e)](_0x11afc2['SbaUK']),![]);const _0x55c616=await _0x11afc2['AOTpt'](checkYouTubeMigrationNeeded,_0x4145a9);if(!_0x55c616)return console[_0x1d17(0x1e)](_0x11afc2[_0x1d17(0xf4)]),!![];console['log'](_0x11afc2[_0x1d17(0xf5)]);const _0x2846ab=await _0x11afc2[_0x1d17(0xf6)](showYouTubeMigrationPrompt);if(!_0x2846ab){if(_0x11afc2[_0x1d17(0xf7)](_0x11afc2['DGaEz'],_0x11afc2['QyTYE'])){const _0x29aa26=_0x1d17(0xf8)[_0x1d17(0x9b)]('|');let _0x489468=0x0;while(!![]){switch(_0x29aa26[_0x489468++]){case'0':_0x3fab63['error'](_0x11afc2[_0x1d17(0xf9)]);continue;case'1':return![];case'2':_0xeda27f['error'](_0x11afc2[_0x1d17(0xfa)]);continue;case'3':_0x464b1e[_0x1d17(0x29)](_0x11afc2[_0x1d17(0xfb)]);continue;case'4':_0x49a000[_0x1d17(0x29)](_0x11afc2['FOgJe']);continue;case'5':_0x58fb95[_0x1d17(0x29)](_0x11afc2[_0x1d17(0xfc)]);continue;}break;}}else return console[_0x1d17(0x1e)](_0x1d17(0x39)),![];}const _0x581b73=await _0x11afc2[_0x1d17(0xfd)](forceYouTubeReconnection,_0x4145a9);return _0x581b73?(Alert[_0x1d17(0x59)](_0x11afc2[_0x1d17(0xfe)],'Your\x20YouTube\x20connection\x20has\x20been\x20upgraded\x20successfully.\x20Training\x20will\x20now\x20work\x20seamlessly\x20without\x20interruptions.',[{'text':_0x11afc2['QCXkT'],'style':_0x11afc2['INaXE']}]),!![]):(Alert[_0x1d17(0x59)](_0x11afc2['hUdlG'],_0x11afc2[_0x1d17(0xff)],[{'text':'OK','style':_0x11afc2['INaXE']}]),![]);}catch(_0x1deb9c){return console['error'](_0x11afc2[_0x1d17(0x100)],_0x1deb9c),![];}};export const reconnectYouTube=async _0x19893c=>{const _0x37eebb={'nLEsj':'🔄\x20Manual\x20YouTube\x20reconnection\x20requested\x20for:','JRZPK':function(_0x168c21,_0x3c3328){return _0x168c21(_0x3c3328);}};return console[_0x1d17(0x1e)](_0x37eebb['nLEsj'],_0x19893c),await _0x37eebb[_0x1d17(0x101)](forceYouTubeReconnection,_0x19893c);};
|
|
1
|
+
import{GoogleSignin}from'@react-native-google-signin/google-signin';import{Alert}from'react-native';function _0x4380(_0x4691f6,_0x43808b){_0x4691f6=_0x4691f6-0x0;const _0x25e0ba=_0x4691();let _0x4b6009=_0x25e0ba[_0x4691f6];return _0x4b6009;}import AsyncStorage from'@react-native-async-storage/async-storage';function _0x4691(){const _0x5f5384=['1030678346906-lovkuds2ouqmoc8eu5qpo98spa6edv4o.apps.googleusercontent.com','https://www.googleapis.com/auth/youtube.readonly','openid','email','configure','voTtA','tdGlT','profile','ℹ️\x20User\x20declined\x20YouTube\x20migration','temporary\x20access\x20token\x20mode','🔄\x20User\x20using\x20temporary\x20mode\x20-\x20connection\x20working\x20correctly','⚠️\x20No\x20refresh\x20capability\x20but\x20training\x20can\x20proceed','thwUs','🔧\x20User\x20needs\x20YouTube\x20migration\x20for\x20refresh\x20token','GzEIe','/youtube/validate-connection/','json','success','validation','vmJbm','isTemporaryMode','jngiH','temporaryMode','AxzSg','message','includes','meRrn','needsReconnection','hasRefreshToken','enabled','log','MaCsG','PqYmU','BdwGi','FwtKT','uiIzk','fUCyH','NmyiZ','hCyjx','niAcf','xAjdD','oKgvq','error','❌\x20Error\x20checking\x20YouTube\x20migration\x20status:','📊\x20[MIGRATION\x20WARNING]\x20Status\x20check:','✅\x20[MIGRATION\x20WARNING]\x20NO\x20WARNING\x20-\x20connection\x20is\x20working\x20properly','YouTube\x20Connection\x20Upgrade','Upgrade\x20Now','REbof','📋\x20Complete\x20YouTube\x20status\x20response:','full','KummY','none','❌\x20No\x20YouTube\x20connection\x20found','ppHae','TqFqi','BUtuN','vfmOv','hasAccessToken','nxUVI','gDfvp','connectedAt','🚫\x20[MIGRATION\x20WARNING]\x20NO\x20WARNING\x20-\x20user\x20is\x20in\x20temporary\x20mode\x20(working\x20correctly)','jYMAr','⚠️\x20[MIGRATION\x20WARNING]\x20SHOW\x20WARNING\x20-\x20genuinely\x20old\x20connection\x20needs\x20update','BASE_URL','QCXgH','tELFh','nINnF','OfdMY','yScQV','temporary','✅\x20YouTube\x20connected\x20with\x20refresh\x20tokens','NTIvU','jRuVA','mtXyJ','⚠️\x20YouTube\x20connected\x20but\x20needs\x20migration','JVLiW','alert','oFBWA','WkpPx','yPpam','LttVL','default','❓\x20YouTube\x20connection\x20status\x20unclear','tlOCr','xfgsa','lzbTo','RIbpq','Skip\x20for\x20Now','Lwqfy','YouTube\x20Upgraded!\x20✅','Your\x20YouTube\x20connection\x20has\x20been\x20upgraded\x20successfully.\x20Training\x20will\x20now\x20work\x20seamlessly\x20without\x20interruptions.','🔄\x20Starting\x20YouTube\x20migration\x20for\x20user:','✅\x20Signed\x20out\x20-\x20consent\x20cache\x20cleared','ℹ️\x20No\x20token\x20cache\x20to\x20clear','🔐\x20Initiating\x20sign-in\x20-\x20consent\x20screen\x20should\x20appear...','None','Server\x20auth\x20code\x20from\x20sign-in','Current\x20user\x20server\x20auth\x20code','🔍\x20Token\x20Analysis:','MISSING!','\x20\x20\x202.\x20forceCodeForRefreshToken:\x20true\x20is\x20missing','\x20\x20\x203.\x20User\x20did\x20not\x20grant\x20offline\x20access\x20permission','...','🔑\x20Refresh\x20token\x20source:','enoch_token','⚠️\x20No\x20authentication\x20token\x20found\x20for\x20YouTube\x20migration','youtube','YouTube\x20Channel','📤\x20Sending\x20migration\x20payload\x20to\x20backend...','your-api-key','migration_token_placeholder','✅\x20YouTube\x20migration\x20successful','❌\x20YouTube\x20migration\x20failed:','Unknown\x20error','XylBH','signOut','viYyB','getTokens','accessToken','ttyLf','JQgNV','clearCachedAccessToken','znYpx','Great!','hasPlayServices','fCutx','signIn','getCurrentUser','rjMfF','serverAuthCode','ScVVY','xyEbo','gTfDl','idToken','wdOmf','TaQHq','JLYyE','TsbRw','eFHbi','user','HvGby','split','JEYsD','bQsRi','fdsYV','\x20\x20\x201.\x20offlineAccess:\x20true\x20is\x20missing\x20from\x20configuration','✅\x20Got\x20refresh\x20token\x20after\x20consent:','BwUoz','substring','jYKNT','iCivZ','getItem','xIWaQ','xrrZD','auth_token','QakYX','gdNwx','name','pnLkL','IMPWS','KAhCG','irXpN','Bearer\x20','stringify','nvSNM','UjFLO','ZMavN','WPmCe','eYDrr','COqQg','zarYD','❌\x20Failed\x20to\x20track\x20migration\x20attempt:','POtUg','/youtube/migration-status','toISOString','LyJfW','❌\x20No\x20refresh\x20token\x20received\x20-\x20Google\x20Console\x20configuration\x20may\x20be\x20incorrect','💡\x20This\x20usually\x20means:','dLcGp','ℹ️\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:','NlvAb','yRmkh','GobTr','vOdPU','MFMOC','HGvDp','cCbuY','snTyb','JHLPM','OjfuF','XnlOS','TcGQq','Upgrade\x20Failed\x20❌','YouTube\x20connection\x20upgrade\x20failed.\x20Please\x20try\x20again\x20later\x20or\x20contact\x20support\x20if\x20the\x20problem\x20persists.','PQEDP','Fipvp','🔄\x20Checking\x20YouTube\x20connection\x20for\x20user:','✅\x20[MIGRATION]\x20User\x20can\x20proceed\x20with\x20training\x20normally','KzHwo','✅\x20[MIGRATION]\x20YouTube\x20connection\x20working\x20properly\x20-\x20no\x20migration\x20needed','❌\x20Error\x20in\x20YouTube\x20connection\x20check:','qSvtv','jhbnb','dVdJy','sDICf','jftMz','CbFEF','rHEgT','QosbJ','mvmuX','DozaV','KmUZV','yzPUV','hkZAR','vQSXW','iSilx','JnIhk','RUwVy','🔄\x20Manual\x20YouTube\x20reconnection\x20requested\x20for:','eNnug'];_0x4691=function(){return _0x5f5384;};return _0x4691();}import{API_CONFIG}from'../config/api';const WEB_CLIENT_ID=_0x4380(0x0),IOS_CLIENT_ID=_0x4380(0x0),configureGoogleSignInForRefreshTokens=()=>{const _0x1ee858={'voTtA':_0x4380(0x1),'tdGlT':_0x4380(0x2),'pXmtn':_0x4380(0x3)};GoogleSignin[_0x4380(0x4)]({'webClientId':WEB_CLIENT_ID,'iosClientId':IOS_CLIENT_ID,'offlineAccess':!![],'forceCodeForRefreshToken':!![],'scopes':[_0x1ee858[_0x4380(0x5)],_0x1ee858[_0x4380(0x6)],_0x4380(0x7),_0x1ee858['pXmtn']],'hostedDomain':'','accountName':''});};export const checkYouTubeMigrationNeeded=async _0x304036=>{const _0x4d1d6f={'uiIzk':_0x4380(0x8),'qLmgo':_0x4380(0x1),'niAcf':_0x4380(0x2),'sUywp':'profile','xAjdD':_0x4380(0x3),'GzEIe':function(_0x44d3d8,_0x3a1571){return _0x44d3d8(_0x3a1571);},'jngiH':function(_0x2ed9e2,_0x4280a1){return _0x2ed9e2===_0x4280a1;},'vmJbm':function(_0x150c54,_0x9e48f5){return _0x150c54===_0x9e48f5;},'AxzSg':function(_0x971265,_0x2eff00){return _0x971265===_0x2eff00;},'meRrn':_0x4380(0x9),'UOcxE':function(_0x53de4a,_0x2bc346){return _0x53de4a===_0x2bc346;},'MaCsG':_0x4380(0xa),'PqYmU':_0x4380(0xb),'BdwGi':function(_0x5885e9,_0x201deb){return _0x5885e9!==_0x201deb;},'FwtKT':_0x4380(0xc),'fUCyH':_0x4380(0xd),'NmyiZ':function(_0x554ce0,_0x1ea0b4){return _0x554ce0!==_0x1ea0b4;},'hCyjx':'dEtGx','oKgvq':'✅\x20YouTube\x20connection\x20fully\x20working\x20with\x20refresh\x20tokens'};try{const _0xe17be8=await _0x4d1d6f[_0x4380(0xe)](fetch,API_CONFIG['BASE_URL']+_0x4380(0xf)+_0x304036),_0x2c58d5=await _0xe17be8[_0x4380(0x10)]();if(_0x2c58d5[_0x4380(0x11)]&&_0x2c58d5[_0x4380(0x12)]){var _0x50b328,_0x2e8d37,_0x2e205c;const _0x431019=_0x4d1d6f['jngiH'](_0x4d1d6f['jngiH'](_0x50b328=_0x2c58d5[_0x4380(0x12)],null)||_0x4d1d6f[_0x4380(0x13)](_0x50b328,void 0x0)?void 0x0:_0x50b328[_0x4380(0x14)],!![])||_0x4d1d6f[_0x4380(0x15)](_0x4d1d6f['vmJbm'](_0x2e8d37=_0x2c58d5[_0x4380(0x16)],null)||_0x4d1d6f[_0x4380(0x17)](_0x2e8d37,void 0x0)?void 0x0:_0x2e8d37['enabled'],!![])||_0x2c58d5[_0x4380(0x14)]===!![]||_0x2c58d5['message']&&_0x2c58d5[_0x4380(0x18)][_0x4380(0x19)](_0x4d1d6f[_0x4380(0x1a)]),_0x3c15a4=_0x2c58d5[_0x4380(0x12)][_0x4380(0x1b)],_0x11b596=_0x2c58d5[_0x4380(0x12)][_0x4380(0x1c)];console['log']('🔍\x20YouTube\x20migration\x20check:',{'username':_0x304036,'needsReconnection':_0x3c15a4,'hasRefreshToken':_0x11b596,'isTemporaryMode':_0x431019,'temporaryModeEnabled':(_0x2e205c=_0x2c58d5['temporaryMode'])===null||_0x4d1d6f['UOcxE'](_0x2e205c,void 0x0)?void 0x0:_0x2e205c[_0x4380(0x1d)],'message':_0x2c58d5['message']});if(_0x431019)return console[_0x4380(0x1e)](_0x4d1d6f[_0x4380(0x1f)]),console[_0x4380(0x1e)](_0x4d1d6f[_0x4380(0x20)]),![];else{if(_0x3c15a4)return _0x4d1d6f[_0x4380(0x21)](_0x4380(0xc),_0x4d1d6f[_0x4380(0x22)])?(_0x509efb['log'](_0x4d1d6f[_0x4380(0x23)]),![]):(console['log'](_0x4d1d6f[_0x4380(0x24)]),!![]);else{if(_0x4d1d6f[_0x4380(0x25)]('dEtGx',_0x4d1d6f[_0x4380(0x26)]))GoogleSignin[_0x4380(0x4)]({'webClientId':_0x2220b1,'iosClientId':_0x4b8838,'offlineAccess':!![],'forceCodeForRefreshToken':!![],'scopes':[_0x4d1d6f['qLmgo'],_0x4d1d6f[_0x4380(0x27)],_0x4d1d6f['sUywp'],_0x4d1d6f[_0x4380(0x28)]],'hostedDomain':'','accountName':''});else return console[_0x4380(0x1e)](_0x4d1d6f[_0x4380(0x29)]),![];}}}return![];}catch(_0x2e5db5){return console[_0x4380(0x2a)](_0x4380(0x2b),_0x2e5db5),![];}};export const getYouTubeConnectionStatus=async _0x1da4e7=>{const _0x2284c9={'TqFqi':function(_0x57ee97,_0x3876cd){return _0x57ee97===_0x3876cd;},'BUtuN':function(_0x5d6c93,_0x22a68e){return _0x5d6c93===_0x22a68e;},'vfmOv':function(_0x2bd17f,_0x5830d1){return _0x2bd17f===_0x5830d1;},'nxUVI':function(_0x273039,_0x4657c2){return _0x273039===_0x4657c2;},'nINnF':function(_0x1a62cb,_0x1a73a4){return _0x1a62cb===_0x1a73a4;},'gDfvp':_0x4380(0x2c),'jYMAr':function(_0x7cb4f4,_0x1dbe5f){return _0x7cb4f4&&_0x1dbe5f;},'EnIrv':_0x4380(0x2d),'oFBWA':_0x4380(0x2e),'WkpPx':'Skip\x20for\x20Now','yPpam':'cancel','LttVL':_0x4380(0x2f),'maSIW':function(_0x1f8828,_0x4ebe84){return _0x1f8828!==_0x4ebe84;},'ppHae':_0x4380(0x30),'QCXgH':_0x4380(0x31),'tELFh':function(_0x549bf6,_0x374508){return _0x549bf6===_0x374508;},'OfdMY':_0x4380(0x9),'aKzsv':function(_0x5caa1d,_0x38c8f1){return _0x5caa1d===_0x38c8f1;},'yScQV':'🔄\x20YouTube\x20connected\x20in\x20temporary\x20mode','UbbTW':'✅\x20Training\x20will\x20work,\x20but\x20connection\x20expires\x20in\x20~1\x20hour','NTIvU':_0x4380(0x32),'jRuVA':function(_0x18fe51,_0x45c4c0){return _0x18fe51===_0x45c4c0;},'mtXyJ':_0x4380(0x33),'JVLiW':'limited','tlOCr':_0x4380(0x34),'xfgsa':_0x4380(0x35),'lzbTo':'❌\x20Error\x20getting\x20YouTube\x20connection\x20status:','RIbpq':function(_0x453ed5,_0x199dd5){return _0x453ed5(_0x199dd5);}};try{if(_0x2284c9['maSIW'](_0x4380(0x30),_0x2284c9[_0x4380(0x36)])){var _0x529341,_0x1ec2ef;const _0x2d4596=_0x2284c9[_0x4380(0x37)](_0x2284c9[_0x4380(0x37)](_0x529341=_0x286211['validation'],null)||_0x2284c9['TqFqi'](_0x529341,void 0x0)?void 0x0:_0x529341['isTemporaryMode'],!![])||_0x2284c9[_0x4380(0x38)](_0x2284c9[_0x4380(0x39)](_0x1ec2ef=_0x5a71bb[_0x4380(0x16)],null)||_0x2284c9[_0x4380(0x37)](_0x1ec2ef,void 0x0)?void 0x0:_0x1ec2ef[_0x4380(0x1d)],!![])||_0x4b2031['isTemporaryMode']===!![],_0x2845d5=_0x16d3ee[_0x4380(0x12)][_0x4380(0x3a)]===!![],_0x380906=_0x2284c9[_0x4380(0x3b)](_0x311485[_0x4380(0x12)]['hasRefreshToken'],!![]),_0x3eb524=_0x2284c9['nINnF'](_0x264c4f['validation'][_0x4380(0x1b)],!![]);_0x771336[_0x4380(0x1e)](_0x2284c9[_0x4380(0x3c)],{'username':_0x28c84a,'hasAccessToken':_0x2845d5,'hasRefreshToken':_0x380906,'needsReconnection':_0x3eb524,'isTemporaryMode':_0x2d4596,'connectedAt':_0x2312ca[_0x4380(0x12)][_0x4380(0x3d)]});if(_0x2d4596)return _0x338957[_0x4380(0x1e)](_0x4380(0x3e)),![];else return _0x2284c9[_0x4380(0x3f)](_0x2845d5,!_0x380906)&&_0x3eb524?(_0x529078[_0x4380(0x1e)](_0x4380(0x40)),!![]):(_0x35daba['log'](_0x2284c9['EnIrv']),![]);}else{const _0x365d1f=await fetch(API_CONFIG[_0x4380(0x41)]+_0x4380(0xf)+_0x1da4e7),_0x496370=await _0x365d1f[_0x4380(0x10)]();console['log'](_0x2284c9[_0x4380(0x42)],_0x496370);if(_0x496370['success']&&_0x496370[_0x4380(0x12)]){var _0x522bbe,_0x30e490;const _0x3b92a1=_0x2284c9[_0x4380(0x3b)](_0x2284c9[_0x4380(0x43)](_0x522bbe=_0x496370[_0x4380(0x12)],null)||_0x522bbe===void 0x0?void 0x0:_0x522bbe['isTemporaryMode'],!![])||_0x2284c9[_0x4380(0x37)](_0x2284c9[_0x4380(0x44)](_0x30e490=_0x496370[_0x4380(0x16)],null)||_0x2284c9['BUtuN'](_0x30e490,void 0x0)?void 0x0:_0x30e490[_0x4380(0x1d)],!![])||_0x2284c9[_0x4380(0x44)](_0x496370['isTemporaryMode'],!![])||_0x496370[_0x4380(0x18)]&&_0x496370[_0x4380(0x18)][_0x4380(0x19)](_0x2284c9[_0x4380(0x45)]),_0x45ea91=_0x2284c9['tELFh'](_0x496370[_0x4380(0x12)]['hasRefreshToken'],!![]),_0x1f265e=_0x2284c9['aKzsv'](_0x496370[_0x4380(0x12)][_0x4380(0x1b)],!![]);if(_0x3b92a1)return console['log'](_0x2284c9[_0x4380(0x46)]),console[_0x4380(0x1e)](_0x2284c9['UbbTW']),{'isReady':!![],'mode':_0x4380(0x47),'needsMigration':![],'trainingReady':!![],'details':_0x496370};else{if(_0x45ea91)return console['log'](_0x4380(0x48)),{'isReady':!![],'mode':_0x2284c9[_0x4380(0x49)],'needsMigration':![],'trainingReady':!![],'details':_0x496370};else{if(_0x1f265e){if(_0x2284c9[_0x4380(0x4a)](_0x4380(0x33),_0x2284c9[_0x4380(0x4b)]))return console[_0x4380(0x1e)](_0x4380(0x4c)),{'isReady':![],'mode':_0x2284c9[_0x4380(0x4d)],'needsMigration':!![],'trainingReady':![],'details':_0x496370};else Alert[_0x4380(0x4e)](_0x2284c9[_0x4380(0x4f)],'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':_0x2284c9[_0x4380(0x50)],'style':_0x2284c9[_0x4380(0x51)],'onPress':()=>_0x4686bb(![])},{'text':_0x2284c9[_0x4380(0x52)],'style':_0x4380(0x53),'onPress':()=>_0x230d3e(!![])}]);}else return console[_0x4380(0x1e)](_0x4380(0x54)),{'isReady':![],'mode':_0x2284c9[_0x4380(0x55)],'needsMigration':![],'trainingReady':![],'details':_0x496370};}}}return console[_0x4380(0x1e)](_0x2284c9[_0x4380(0x56)]),{'isReady':![],'mode':_0x4380(0x34),'needsMigration':![],'trainingReady':![],'details':_0x496370};}}catch(_0x59d93a){return console[_0x4380(0x2a)](_0x2284c9[_0x4380(0x57)],_0x59d93a),{'isReady':![],'mode':_0x4380(0x34),'needsMigration':![],'trainingReady':![],'details':{'error':_0x59d93a instanceof Error?_0x59d93a['message']:_0x2284c9[_0x4380(0x58)](String,_0x59d93a)}};}};const showYouTubeMigrationPrompt=async()=>{const _0x1ec7a1={'tIQlu':'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?','Lwqfy':_0x4380(0x59),'Xbiko':'cancel','IJorm':'Upgrade\x20Now'};return new Promise(_0xeb8328=>{Alert[_0x4380(0x4e)]('YouTube\x20Connection\x20Upgrade',_0x1ec7a1['tIQlu'],[{'text':_0x1ec7a1[_0x4380(0x5a)],'style':_0x1ec7a1['Xbiko'],'onPress':()=>_0xeb8328(![])},{'text':_0x1ec7a1['IJorm'],'style':_0x4380(0x53),'onPress':()=>_0xeb8328(!![])}]);});},forceYouTubeReconnection=async _0x2d9cd4=>{const _0x1f63a0={'tPRyP':_0x4380(0x5b),'znYpx':_0x4380(0x5c),'XylBH':_0x4380(0x5d),'viYyB':_0x4380(0x5e),'ttyLf':function(_0x18ad90,_0x1c6718){return _0x18ad90===_0x1c6718;},'JQgNV':'oiHgX','phiyE':_0x4380(0x5f),'fCutx':_0x4380(0x60),'rjMfF':_0x4380(0x61),'ScVVY':_0x4380(0x62),'xyEbo':function(_0x586f4d,_0x2cbc33){return _0x586f4d!==_0x2cbc33;},'gTfDl':_0x4380(0x63),'VSoJC':_0x4380(0x64),'wdOmf':function(_0x466849,_0x120b4f){return _0x466849!==_0x120b4f;},'TaQHq':function(_0x4141ca,_0xcc9cab){return _0x4141ca!==_0xcc9cab;},'JLYyE':'Available','TsbRw':_0x4380(0x65),'eFHbi':function(_0x454d10,_0x168388){return _0x454d10===_0x168388;},'HvGby':function(_0x2c17a3,_0x4f29ff){return _0x2c17a3===_0x4f29ff;},'Yueks':'3|1|5|2|4|0','JEYsD':_0x4380(0x66),'bQsRi':'❌\x20No\x20refresh\x20token\x20received\x20-\x20Google\x20Console\x20configuration\x20may\x20be\x20incorrect','fdsYV':_0x4380(0x67),'BwUoz':function(_0x5dfb56,_0x268cab){return _0x5dfb56+_0x268cab;},'jYKNT':_0x4380(0x68),'iCivZ':_0x4380(0x69),'xIWaQ':'onairos_jwt_token','xrrZD':_0x4380(0x6a),'QakYX':_0x4380(0x6b),'gdNwx':_0x4380(0x6c),'pnLkL':function(_0x5e8481,_0x1faac0){return _0x5e8481===_0x1faac0;},'IMPWS':_0x4380(0x6d),'JHtNk':_0x4380(0x6e),'KAhCG':function(_0x1a7d9c,_0x886059,_0x230fef){return _0x1a7d9c(_0x886059,_0x230fef);},'irXpN':_0x4380(0x6f),'JYoFE':_0x4380(0x70),'nvSNM':_0x4380(0x71),'UjFLO':function(_0x1eea39,_0x344ce6,_0x44fc6b){return _0x1eea39(_0x344ce6,_0x44fc6b);},'ZMavN':'❌\x20Backend\x20rejected\x20YouTube\x20migration:','WPmCe':_0x4380(0x72),'eYDrr':function(_0x3fe65b,_0x1fd793,_0x2c3b39,_0x57515a){return _0x3fe65b(_0x1fd793,_0x2c3b39,_0x57515a);},'COqQg':function(_0x125574,_0x2ec6c2){return _0x125574 instanceof _0x2ec6c2;},'wSqhY':_0x4380(0x73)};try{var _0xf7f3d5,_0x366f06,_0x1a73a3,_0x511c77;console[_0x4380(0x1e)](_0x1f63a0[_0x4380(0x74)],_0x2d9cd4),configureGoogleSignInForRefreshTokens(),await GoogleSignin[_0x4380(0x75)](),console['log'](_0x1f63a0[_0x4380(0x76)]);try{const _0x3a0ae2=await GoogleSignin[_0x4380(0x77)]();if(_0x3a0ae2[_0x4380(0x78)]){if(_0x1f63a0[_0x4380(0x79)](_0x1f63a0[_0x4380(0x7a)],_0x1f63a0[_0x4380(0x7a)]))await GoogleSignin[_0x4380(0x7b)](_0x3a0ae2[_0x4380(0x78)]),console[_0x4380(0x1e)]('✅\x20Token\x20cache\x20cleared');else return Alert[_0x4380(0x4e)](_0x1f63a0['tPRyP'],_0x1f63a0[_0x4380(0x7c)],[{'text':_0x4380(0x7d),'style':_0x4380(0x53)}]),!![];}}catch(_0x12ffda){console[_0x4380(0x1e)](_0x1f63a0['phiyE']);}await GoogleSignin[_0x4380(0x7e)](),console[_0x4380(0x1e)](_0x1f63a0[_0x4380(0x7f)]);const _0x3ce17f=await GoogleSignin[_0x4380(0x80)](),_0xc0d3c0=await GoogleSignin['getTokens'](),_0x246d85=await GoogleSignin[_0x4380(0x81)]();let _0x556db9=null,_0x83c755=_0x1f63a0[_0x4380(0x82)];if(_0x3ce17f[_0x4380(0x83)])_0x556db9=_0x3ce17f[_0x4380(0x83)],_0x83c755=_0x1f63a0[_0x4380(0x84)];else _0x246d85!==null&&_0x1f63a0[_0x4380(0x85)](_0x246d85,void 0x0)&&_0x246d85[_0x4380(0x83)]&&(_0x556db9=_0x246d85[_0x4380(0x83)],_0x83c755=_0x1f63a0[_0x4380(0x86)]);console['log'](_0x1f63a0['VSoJC'],{'hasAccessToken':!!_0xc0d3c0[_0x4380(0x78)],'hasIdToken':!!_0xc0d3c0[_0x4380(0x87)],'hasServerAuthCode':!!_0x3ce17f['serverAuthCode'],'hasCurrentUserAuthCode':!!(_0x1f63a0[_0x4380(0x88)](_0x246d85,null)&&_0x1f63a0[_0x4380(0x89)](_0x246d85,void 0x0)&&_0x246d85[_0x4380(0x83)]),'refreshTokenSource':_0x83c755,'finalRefreshToken':_0x556db9?_0x1f63a0[_0x4380(0x8a)]:_0x1f63a0[_0x4380(0x8b)],'userEmail':_0x1f63a0[_0x4380(0x8c)](_0xf7f3d5=_0x3ce17f[_0x4380(0x8d)],null)||_0x1f63a0[_0x4380(0x8e)](_0xf7f3d5,void 0x0)?void 0x0:_0xf7f3d5[_0x4380(0x3)]});if(!_0x556db9){const _0x3bff5d=_0x1f63a0['Yueks'][_0x4380(0x8f)]('|');let _0x51db59=0x0;while(!![]){switch(_0x3bff5d[_0x51db59++]){case'0':return![];case'1':console['error']('💡\x20This\x20usually\x20means:');continue;case'2':console['error'](_0x1f63a0[_0x4380(0x90)]);continue;case'3':console[_0x4380(0x2a)](_0x1f63a0[_0x4380(0x91)]);continue;case'4':console[_0x4380(0x2a)](_0x1f63a0[_0x4380(0x92)]);continue;case'5':console['error'](_0x4380(0x93));continue;}break;}}console[_0x4380(0x1e)](_0x4380(0x94),_0x1f63a0[_0x4380(0x95)](_0x556db9[_0x4380(0x96)](0x0,0x14),_0x1f63a0[_0x4380(0x97)])),console[_0x4380(0x1e)](_0x1f63a0[_0x4380(0x98)],_0x83c755);let _0x127c49=await AsyncStorage[_0x4380(0x99)](_0x1f63a0[_0x4380(0x9a)])||await AsyncStorage[_0x4380(0x99)](_0x1f63a0[_0x4380(0x9b)])||await AsyncStorage['getItem'](_0x4380(0x9c));!_0x127c49&&(console['warn'](_0x1f63a0[_0x4380(0x9d)]),_0x127c49='migration_token_placeholder');const _0x1450d5={'session':{'username':_0x2d9cd4,'platform':_0x1f63a0[_0x4380(0x9e)],'channelName':((_0x366f06=_0x3ce17f[_0x4380(0x8d)])===null||_0x1f63a0[_0x4380(0x8c)](_0x366f06,void 0x0)?void 0x0:_0x366f06[_0x4380(0x9f)])||_0x4380(0x6d),'channelId':null},'googleUser':_0x3ce17f[_0x4380(0x8d)],'accessToken':_0xc0d3c0[_0x4380(0x78)],'idToken':_0xc0d3c0['idToken'],'refreshToken':_0x556db9,'serverAuthCode':_0x3ce17f['serverAuthCode'],'userAccountInfo':{'username':_0x2d9cd4,'email':(_0x1a73a3=_0x3ce17f[_0x4380(0x8d)])===null||_0x1f63a0[_0x4380(0xa0)](_0x1a73a3,void 0x0)?void 0x0:_0x1a73a3[_0x4380(0x3)],'authToken':_0x127c49,'channelName':(_0x1f63a0[_0x4380(0x8e)](_0x511c77=_0x3ce17f[_0x4380(0x8d)],null)||_0x1f63a0['pnLkL'](_0x511c77,void 0x0)?void 0x0:_0x511c77[_0x4380(0x9f)])||_0x1f63a0[_0x4380(0xa1)],'channelId':null}};console['log'](_0x1f63a0['JHtNk']);const _0x48082b=await _0x1f63a0[_0x4380(0xa2)](fetch,API_CONFIG['BASE_URL']+'/youtube/native-auth',{'method':'POST','headers':{'Content-Type':'application/json','x-api-key':_0x1f63a0[_0x4380(0xa3)],..._0x1f63a0[_0x4380(0x89)](_0x127c49,_0x1f63a0['JYoFE'])&&{'Authorization':_0x4380(0xa4)+_0x127c49}},'body':JSON[_0x4380(0xa5)](_0x1450d5)}),_0x4be4ba=await _0x48082b[_0x4380(0x10)]();return _0x4be4ba[_0x4380(0x11)]?(console['log'](_0x1f63a0[_0x4380(0xa6)]),await _0x1f63a0[_0x4380(0xa7)](trackMigrationAttempt,_0x2d9cd4,!![]),!![]):(console[_0x4380(0x2a)](_0x1f63a0[_0x4380(0xa8)],_0x4be4ba[_0x4380(0x2a)]),await trackMigrationAttempt(_0x2d9cd4,![],_0x4be4ba['error']),![]);}catch(_0xb8cdfe){return console['error'](_0x1f63a0[_0x4380(0xa9)],_0xb8cdfe),await _0x1f63a0[_0x4380(0xaa)](trackMigrationAttempt,_0x2d9cd4,![],_0x1f63a0[_0x4380(0xab)](_0xb8cdfe,Error)?_0xb8cdfe[_0x4380(0x18)]:_0x1f63a0['wSqhY']),![];}},trackMigrationAttempt=async(_0x54362d,_0x50276b,_0x9bb00)=>{const _0x2f6736={'EtbPn':'full','HuRWP':function(_0x4802d1,_0x138d86){return _0x4802d1!==_0x138d86;},'POtUg':_0x4380(0xac),'IyFBi':function(_0x177a66,_0x41e488){return _0x177a66||_0x41e488;},'LyJfW':_0x4380(0xad)};try{if(_0x2f6736['HuRWP'](_0x2f6736[_0x4380(0xae)],_0x2f6736['POtUg']))return _0x3b3b48[_0x4380(0x1e)](_0x4380(0x48)),{'isReady':!![],'mode':_0x2f6736['EtbPn'],'needsMigration':![],'trainingReady':!![],'details':_0x207b6f};else await fetch(API_CONFIG[_0x4380(0x41)]+_0x4380(0xaf),{'method':'POST','headers':{'Content-Type':'application/json'},'body':JSON[_0x4380(0xa5)]({'username':_0x54362d,'success':_0x50276b,'error':_0x2f6736['IyFBi'](_0x9bb00,null),'timestamp':new Date()[_0x4380(0xb0)]()})});}catch(_0x2e4970){console[_0x4380(0x2a)](_0x2f6736[_0x4380(0xb1)],_0x2e4970);}};export const shouldShowYouTubeMigrationWarning=async _0xa6e54=>{const _0x5b556f={'HGvDp':_0x4380(0xb2),'cCbuY':_0x4380(0xb3),'dtGyB':_0x4380(0x93),'snTyb':_0x4380(0x66),'JHLPM':'\x20\x20\x203.\x20User\x20did\x20not\x20grant\x20offline\x20access\x20permission','qQqSc':function(_0x15a323,_0x2135ef){return _0x15a323(_0x2135ef);},'NlvAb':function(_0x553824,_0x25acdf){return _0x553824===_0x25acdf;},'yRmkh':function(_0x539af6,_0x1f7c72){return _0x539af6===_0x1f7c72;},'GobTr':function(_0x560e27,_0x36ee0b){return _0x560e27===_0x36ee0b;},'vOdPU':_0x4380(0x2c),'SByoh':'yoqcx','MFMOC':_0x4380(0xb4),'OjfuF':_0x4380(0x3e),'oUvnv':function(_0x518eb2,_0x3bc09b){return _0x518eb2&&_0x3bc09b;},'XnlOS':_0x4380(0x40),'ZpnSD':_0x4380(0x2d),'YzjGL':_0x4380(0xb5),'TcGQq':_0x4380(0xb6)};try{console[_0x4380(0x1e)](_0x4380(0xb7),_0xa6e54);const _0x3c1cdb=await _0x5b556f['qQqSc'](fetch,API_CONFIG[_0x4380(0x41)]+_0x4380(0xf)+_0xa6e54),_0x27a453=await _0x3c1cdb[_0x4380(0x10)]();if(_0x27a453[_0x4380(0x11)]&&_0x27a453[_0x4380(0x12)]){var _0xac8fc2,_0x188ae6;const _0x145de4=_0x5b556f[_0x4380(0xb8)](_0x5b556f['NlvAb'](_0xac8fc2=_0x27a453[_0x4380(0x12)],null)||_0x5b556f[_0x4380(0xb8)](_0xac8fc2,void 0x0)?void 0x0:_0xac8fc2[_0x4380(0x14)],!![])||_0x5b556f[_0x4380(0xb8)]((_0x188ae6=_0x27a453[_0x4380(0x16)])===null||_0x5b556f[_0x4380(0xb9)](_0x188ae6,void 0x0)?void 0x0:_0x188ae6[_0x4380(0x1d)],!![])||_0x5b556f[_0x4380(0xb9)](_0x27a453[_0x4380(0x14)],!![]),_0x50b031=_0x5b556f[_0x4380(0xba)](_0x27a453[_0x4380(0x12)][_0x4380(0x3a)],!![]),_0x32c555=_0x5b556f[_0x4380(0xba)](_0x27a453[_0x4380(0x12)][_0x4380(0x1c)],!![]),_0x53698c=_0x27a453['validation'][_0x4380(0x1b)]===!![];console[_0x4380(0x1e)](_0x5b556f[_0x4380(0xbb)],{'username':_0xa6e54,'hasAccessToken':_0x50b031,'hasRefreshToken':_0x32c555,'needsReconnection':_0x53698c,'isTemporaryMode':_0x145de4,'connectedAt':_0x27a453['validation']['connectedAt']});if(_0x145de4)return _0x5b556f['SByoh']===_0x5b556f[_0x4380(0xbc)]?(_0x5e7a11[_0x4380(0x2a)](_0x5b556f[_0x4380(0xbd)]),_0x3f8030[_0x4380(0x2a)](_0x5b556f[_0x4380(0xbe)]),_0x3fba76[_0x4380(0x2a)](_0x5b556f['dtGyB']),_0x3c3522[_0x4380(0x2a)](_0x5b556f[_0x4380(0xbf)]),_0x3a294f[_0x4380(0x2a)](_0x5b556f[_0x4380(0xc0)]),![]):(console[_0x4380(0x1e)](_0x5b556f[_0x4380(0xc1)]),![]);else return _0x5b556f['oUvnv'](_0x50b031,!_0x32c555)&&_0x53698c?(console[_0x4380(0x1e)](_0x5b556f[_0x4380(0xc2)]),!![]):(console[_0x4380(0x1e)](_0x5b556f['ZpnSD']),![]);}return console['log'](_0x5b556f['YzjGL']),![];}catch(_0x26930c){return console[_0x4380(0x2a)](_0x5b556f[_0x4380(0xc3)],_0x26930c),![];}};export const checkAndFixYouTubeConnection=async _0x2b8d84=>{const _0x6caaa5={'sDICf':_0x4380(0xc4),'RUwVy':_0x4380(0xc5),'JnIhk':_0x4380(0x53),'KmUZV':_0x4380(0xd),'qSvtv':function(_0xdbb854,_0x1f6144){return _0xdbb854===_0x1f6144;},'jhbnb':_0x4380(0xc6),'dVdJy':_0x4380(0xc7),'jftMz':_0x4380(0xc8),'CbFEF':function(_0x409cbf,_0x19e6b6){return _0x409cbf(_0x19e6b6);},'rHEgT':_0x4380(0xc9),'QosbJ':function(_0x1b3ee8,_0xd4daf3){return _0x1b3ee8(_0xd4daf3);},'mvmuX':function(_0x3713aa,_0x1d9e5c){return _0x3713aa!==_0x1d9e5c;},'DozaV':_0x4380(0xca),'KabXM':_0x4380(0xcb),'yzPUV':function(_0x16dae4){return _0x16dae4();},'hkZAR':'ℹ️\x20User\x20declined\x20YouTube\x20migration','vQSXW':'YouTube\x20Upgraded!\x20✅','iSilx':_0x4380(0x5c),'jjQxv':_0x4380(0x7d),'RINvt':_0x4380(0xcc)};try{if(_0x6caaa5[_0x4380(0xcd)](_0x6caaa5[_0x4380(0xce)],_0x6caaa5[_0x4380(0xcf)]))return Alert['alert'](_0x6caaa5[_0x4380(0xd0)],_0x6caaa5['RUwVy'],[{'text':'OK','style':_0x6caaa5['JnIhk']}]),![];else{console[_0x4380(0x1e)](_0x6caaa5[_0x4380(0xd1)],_0x2b8d84);const _0x3078ff=await _0x6caaa5[_0x4380(0xd2)](shouldShowYouTubeMigrationWarning,_0x2b8d84);if(!_0x3078ff)return console[_0x4380(0x1e)]('🚫\x20[MIGRATION]\x20NO\x20MIGRATION\x20NEEDED\x20-\x20user\x20connection\x20is\x20working\x20correctly'),console['log'](_0x6caaa5[_0x4380(0xd3)]),!![];const _0x32e27d=await _0x6caaa5[_0x4380(0xd4)](checkYouTubeMigrationNeeded,_0x2b8d84);if(!_0x32e27d)return _0x6caaa5[_0x4380(0xd5)](_0x6caaa5[_0x4380(0xd6)],_0x6caaa5['DozaV'])?(_0x398c8e[_0x4380(0x1e)](_0x6caaa5[_0x4380(0xd7)]),!![]):(console[_0x4380(0x1e)](_0x6caaa5['KabXM']),!![]);console[_0x4380(0x1e)]('🔧\x20[MIGRATION]\x20User\x20needs\x20YouTube\x20migration\x20for\x20refresh\x20token\x20(genuinely\x20old\x20connection)');const _0x2bf1a5=await _0x6caaa5[_0x4380(0xd8)](showYouTubeMigrationPrompt);if(!_0x2bf1a5)return console[_0x4380(0x1e)](_0x6caaa5[_0x4380(0xd9)]),![];const _0x155d34=await _0x6caaa5[_0x4380(0xd2)](forceYouTubeReconnection,_0x2b8d84);return _0x155d34?(Alert[_0x4380(0x4e)](_0x6caaa5[_0x4380(0xda)],_0x6caaa5[_0x4380(0xdb)],[{'text':_0x6caaa5['jjQxv'],'style':_0x6caaa5[_0x4380(0xdc)]}]),!![]):(Alert[_0x4380(0x4e)](_0x4380(0xc4),_0x6caaa5[_0x4380(0xdd)],[{'text':'OK','style':_0x6caaa5[_0x4380(0xdc)]}]),![]);}}catch(_0x4a5780){return console[_0x4380(0x2a)](_0x6caaa5['RINvt'],_0x4a5780),![];}};export const reconnectYouTube=async _0x15b152=>{const _0x4d6c8a={'eNnug':_0x4380(0xde),'DiOBx':function(_0x465287,_0x303353){return _0x465287(_0x303353);}};return console[_0x4380(0x1e)](_0x4d6c8a[_0x4380(0xdf)],_0x15b152),await _0x4d6c8a['DiOBx'](forceYouTubeReconnection,_0x15b152);};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{Platform}from'react-native';
|
|
1
|
+
import{Platform}from'react-native';export const COLORS={'surface':_0x3d9e(0x0),'grey300':'#D1D5DB','grey400':_0x3d9e(0x1),'grey500':'#86888E','grey600':_0x3d9e(0x2),'grey700':_0x3d9e(0x3),'grey800':_0x3d9e(0x4),'btnGradStart':_0x3d9e(0x5),'btnGradEnd':'#17181C','btnBorder':_0x3d9e(0x6),'btnShadowOuter':_0x3d9e(0x7),'btnInnerShadow':_0x3d9e(0x8),'btnLabel':_0x3d9e(0x9),'iconCircleGradientStart':_0x3d9e(0xa),'iconCircleGradientEnd':_0x3d9e(0xb),'primary':'#FFD700','primaryDark':_0x3d9e(0xc),'primaryLight':_0x3d9e(0xd),'background':{'dark':_0x3d9e(0xe),'medium':_0x3d9e(0xf),'light':'#1C2526'},'text':{'primary':'#FFFFFF','secondary':_0x3d9e(0x10),'tertiary':_0x3d9e(0x11),'gold':'#FFD700'},'ui':{'cardBackground':_0x3d9e(0x12),'divider':_0x3d9e(0x12),'inputBackground':_0x3d9e(0x12),'buttonBackground':_0x3d9e(0x12)},'status':{'success':_0x3d9e(0x13),'error':_0x3d9e(0x14),'warning':_0x3d9e(0x15),'info':'#5AC8FA'},'transparent':_0x3d9e(0x16),'overlay':'rgba(0,\x200,\x200,\x200.7)'};export const FONTS={'families':{'ibmPlexSans':Platform['OS']==='ios'?_0x3d9e(0x17):_0x3d9e(0x17),'ibmPlexSansBold':Platform['OS']==='ios'?_0x3d9e(0x17):_0x3d9e(0x17),'inter':Platform['OS']===_0x3d9e(0x18)?_0x3d9e(0x19):_0x3d9e(0x1a),'base':Platform['OS']==='ios'?_0x3d9e(0x1b):_0x3d9e(0x1c),'serif':Platform['OS']===_0x3d9e(0x18)?'Georgia':_0x3d9e(0x1d)},'weights':{'light':_0x3d9e(0x1e),'regular':_0x3d9e(0x1f),'medium':_0x3d9e(0x20),'semibold':_0x3d9e(0x21),'bold':_0x3d9e(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}};function _0x3167(){const _0x5dc764=['#FAFAFA','#9CA3AF','#62646C','#374151','#1F242F','#29292B','rgba(0,0,0,0.20)','rgba(0,0,0,0.10)','rgba(0,0,0,0.06)','#FFFFFF','#0A090E','#17171B','#E9B104','#FFDF33','#000000','#121212','#B0B0B0','#808080','rgba(255,\x20255,\x20255,\x200.1)','#4BB543','#FF3B30','#FF9500','transparent','IBM\x20Plex\x20Sans','ios','Inter','Inter-Regular','System','Roboto','serif','300','400','500','600','700','primary','btnInnerShadow','btnShadowOuter','ibmPlexSansBold','bold','sizes','kicker','lineHeights','letterSpacing','grey500','weights','welcomeTitle','families','inter','body','grey600','semibold','buttonLabel','btnLabel'];_0x3167=function(){return _0x5dc764;};return _0x3167();}export const SPACING={'xs':0x4,'sm':0x8,'md':0x10,'lg':0x18,'xl':0x20,'xxl':0x30,'xxxl':0x40,'modalTopPadding':0x76,'modalHorizontal':0x18};function _0x3d9e(_0x316712,_0x3d9eaf){_0x316712=_0x316712-0x0;const _0x1fd814=_0x3167();let _0xeec2a4=_0x1fd814[_0x316712];return _0xeec2a4;}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[_0x3d9e(0x23)],'shadowOffset':{'width':0x0,'height':0x2},'shadowOpacity':0.3,'shadowRadius':0x4,'elevation':0x3},'medium':{'shadowColor':COLORS[_0x3d9e(0x23)],'shadowOffset':{'width':0x0,'height':0x4},'shadowOpacity':0.5,'shadowRadius':0x8,'elevation':0x5},'large':{'shadowColor':COLORS[_0x3d9e(0x23)],'shadowOffset':{'width':0x0,'height':0x6},'shadowOpacity':0.8,'shadowRadius':0x10,'elevation':0x8},'button':{'inner':{'shadowColor':COLORS[_0x3d9e(0x24)],'shadowOffset':{'width':0x0,'height':-0x24},'shadowOpacity':0x1,'shadowRadius':21.1},'outer':{'shadowColor':COLORS[_0x3d9e(0x25)],'shadowOffset':{'width':0x14,'height':0x1e},'shadowOpacity':0x1,'shadowRadius':0x28,'elevation':0x8}},'brandMark':{'shadowColor':_0x3d9e(0xe),'shadowOffset':{'width':0x0,'height':0x4},'shadowOpacity':0.1,'shadowRadius':0x8,'elevation':0x4}};export const TEXT_STYLES={'kicker':{'fontFamily':FONTS['families'][_0x3d9e(0x26)],'fontWeight':FONTS['weights'][_0x3d9e(0x27)],'fontSize':FONTS[_0x3d9e(0x28)][_0x3d9e(0x29)],'lineHeight':FONTS[_0x3d9e(0x2a)][_0x3d9e(0x29)],'letterSpacing':FONTS[_0x3d9e(0x2b)][_0x3d9e(0x29)],'color':COLORS[_0x3d9e(0x2c)]},'welcomeTitle':{'fontFamily':FONTS['families']['ibmPlexSansBold'],'fontWeight':FONTS[_0x3d9e(0x2d)][_0x3d9e(0x27)],'fontSize':FONTS['sizes'][_0x3d9e(0x2e)],'lineHeight':FONTS['lineHeights'][_0x3d9e(0x2e)],'color':COLORS['grey800']},'body':{'fontFamily':FONTS[_0x3d9e(0x2f)][_0x3d9e(0x30)],'fontWeight':FONTS[_0x3d9e(0x2d)]['regular'],'fontSize':FONTS[_0x3d9e(0x28)][_0x3d9e(0x31)],'lineHeight':FONTS[_0x3d9e(0x2a)][_0x3d9e(0x31)],'textAlign':'center','color':COLORS[_0x3d9e(0x32)]},'buttonLabel':{'fontFamily':FONTS[_0x3d9e(0x2f)][_0x3d9e(0x30)],'fontWeight':FONTS[_0x3d9e(0x2d)][_0x3d9e(0x33)],'fontSize':FONTS['sizes'][_0x3d9e(0x34)],'color':COLORS[_0x3d9e(0x35)]}};export default{'COLORS':COLORS,'FONTS':FONTS,'SPACING':SPACING,'BORDER_RADIUS':BORDER_RADIUS,'SHADOWS':SHADOWS,'TEXT_STYLES':TEXT_STYLES};
|
package/lib/module/types.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
function _0x5c42(_0x2681b7,_0x5c42ee){_0x2681b7=_0x2681b7-0x0;const _0x294a96=_0x2681();let _0x182fc6=_0x294a96[_0x2681b7];return _0x182fc6;}function _0x2681(){const _0x4b5edb=['developer','ADMIN','invalid','DEVELOPER','CYDWq','QMKjx','INVALID','BkGYz'];_0x2681=function(){return _0x4b5edb;};return _0x2681();}export let ApiKeyType=function(_0x333571){const _0x3edc1d={'CYDWq':_0x5c42(0x0),'QMKjx':_0x5c42(0x1),'BkGYz':_0x5c42(0x2)};return _0x333571[_0x5c42(0x3)]=_0x3edc1d[_0x5c42(0x4)],_0x333571[_0x3edc1d[_0x5c42(0x5)]]='admin',_0x333571[_0x5c42(0x6)]=_0x3edc1d[_0x5c42(0x7)],_0x333571;}({});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import React,{useEffect,useState}from'react';import{View}from'react-native';const portalRefs={};let portalId=0x0;function
|
|
1
|
+
function _0x5425(_0x33037c,_0x5425f){_0x33037c=_0x33037c-0x0;const _0x30d62c=_0x3303();let _0x4e784e=_0x30d62c[_0x33037c];return _0x4e784e;}import React,{useEffect,useState}from'react';import{View}from'react-native';const portalRefs={};let portalId=0x0;function _0x3303(){const _0x2e7852=['createContext','RjxMe','YOgAY','OatxN','WzgoG','uJHRD','createElement','keys','map','absolute','useContext','uaIul','UZvEP','uBPxu'];_0x3303=function(){return _0x2e7852;};return _0x3303();}const PortalContext=React[_0x5425(0x0)]({'mount':()=>0x0,'update':()=>{},'unmount':()=>{}});export const PortalHost=({children:_0x4871dc})=>{const _0x2e6cc0={'YOgAY':function(_0x4d5542,_0x575e18){return _0x4d5542(_0x575e18);},'uJHRD':function(_0x44e6ce,_0x1a8386){return _0x44e6ce(_0x1a8386);},'OatxN':_0x5425(0x1)},[_0x3475e6,_0x4ced45]=_0x2e6cc0[_0x5425(0x2)](useState,{}),_0x434b84=_0xcb42d8=>{const _0x2065cd=++portalId;return _0x2e6cc0[_0x5425(0x2)](_0x4ced45,_0x3b45aa=>({..._0x3b45aa,[_0x2065cd]:_0xcb42d8})),_0x2065cd;},_0x360b97=(_0x217a07,_0x270916)=>{_0x2e6cc0[_0x5425(0x3)]===_0x5425(0x4)?_0x2e6cc0[_0x5425(0x5)](_0x35ef52,_0x222b17=>{const _0x5863c0={..._0x222b17};return delete _0x5863c0[_0x42b19a],_0x5863c0;}):_0x2e6cc0['YOgAY'](_0x4ced45,_0x5f1517=>({..._0x5f1517,[_0x217a07]:_0x270916}));},_0x5eb673=_0xe4b428=>{_0x4ced45(_0x3bb030=>{const _0x113715={..._0x3bb030};return delete _0x113715[_0xe4b428],_0x113715;});};return React[_0x5425(0x6)](PortalContext['Provider'],{'value':{'mount':_0x434b84,'update':_0x360b97,'unmount':_0x5eb673}},_0x4871dc,Object[_0x5425(0x7)](_0x3475e6)[_0x5425(0x8)](_0x4edf49=>React[_0x5425(0x6)](View,{'key':_0x4edf49,'style':{'position':_0x5425(0x9),'top':0x0,'left':0x0,'right':0x0,'bottom':0x0,'zIndex':0x270f}},_0x3475e6[Number(_0x4edf49)])));};export const Portal=({children:_0x57d366})=>{const _0x5417c0={'uaIul':function(_0x1c5682,_0x2fc945){return _0x1c5682(_0x2fc945);},'ZTXTk':function(_0x4ba48b,_0x44bd45){return _0x4ba48b(_0x44bd45);},'sinky':function(_0x468fff,_0x38fe77){return _0x468fff!==_0x38fe77;},'uBPxu':function(_0x195dc0,_0x128bf1,_0x162da1){return _0x195dc0(_0x128bf1,_0x162da1);},'FvKMT':function(_0x19fbd0,_0x4b12ed){return _0x19fbd0(_0x4b12ed);}},{mount:_0xf18077,update:_0x15b0cb,unmount:_0x469e78}=React[_0x5425(0xa)](PortalContext),[_0x2e7784,_0x54cca0]=_0x5417c0['FvKMT'](useState,null);return _0x5417c0['uBPxu'](useEffect,()=>{const _0x112849={'UZvEP':function(_0x2361ad,_0x34d81e){return _0x5417c0[_0x5425(0xb)](_0x2361ad,_0x34d81e);}},_0x4ad774=_0x5417c0['ZTXTk'](_0xf18077,_0x57d366);return _0x5417c0[_0x5425(0xb)](_0x54cca0,_0x4ad774),()=>{if(_0x2e7784)_0x112849[_0x5425(0xc)](_0x469e78,_0x2e7784);};},[]),_0x5417c0[_0x5425(0xd)](useEffect,()=>{_0x5417c0['sinky'](_0x2e7784,null)&&_0x5417c0['uBPxu'](_0x15b0cb,_0x2e7784,_0x57d366);},[_0x57d366,_0x2e7784]),null;};
|
package/lib/module/utils/api.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import axios from'axios';import AsyncStorage from'@react-native-async-storage/async-storage';
|
|
1
|
+
import axios from'axios';import AsyncStorage from'@react-native-async-storage/async-storage';function _0x351d(){const _0x2b41dd=['BASE_URL','onairosToken','getItem','create','Bearer\x20','cLDGV','post','error','Error\x20validating\x20domain:','/getAccountInfo/email','Error\x20fetching\x20account\x20info:','humle','vDCYV','hNZnc','lbYGl','othent','/getAPIurl','Error\x20getting\x20API\x20URL:','fKBco','vJKtZ','fQBNT','data','FmTKt','/createAccount','EOugC','Error\x20creating\x20account:'];_0x351d=function(){return _0x2b41dd;};return _0x351d();}import{API_CONFIG}from'../config/api';const API_URL=API_CONFIG[_0x34fa(0x0)];export const createApiInstance=async()=>{const _0xaf1bd9={'OQoRy':_0x34fa(0x1)},_0x3dc633=await AsyncStorage[_0x34fa(0x2)](_0xaf1bd9['OQoRy']);return axios[_0x34fa(0x3)]({'baseURL':API_URL,'headers':{'Content-Type':'application/json',..._0x3dc633?{'Authorization':_0x34fa(0x4)+_0x3dc633}:{}}});};export const validateDomain=async()=>{const _0x2b9be6={'cLDGV':function(_0xaf6024){return _0xaf6024();},'ETWOp':'/valid/validate-domain'};try{const _0x47073a=await _0x2b9be6[_0x34fa(0x5)](createApiInstance),_0x267f47=await _0x47073a[_0x34fa(0x6)](_0x2b9be6['ETWOp']);return _0x267f47['data'];}catch(_0x2cbfc5){return console[_0x34fa(0x7)](_0x34fa(0x8),_0x2cbfc5),{'status':![]};}};export const fetchAccountInfo=async(_0x4b1ae1,_0x30c480=![])=>{const _0x5d6f4e={'humle':function(_0x4fa6ee){return _0x4fa6ee();},'vDCYV':_0x34fa(0x9),'hNZnc':'/getAccountInfo','lbYGl':_0x34fa(0xa)};try{const _0x26fe77=await _0x5d6f4e[_0x34fa(0xb)](createApiInstance),_0x16cafc=_0x30c480?{'Info':{'identifier':_0x4b1ae1}}:{'Info':{'userName':_0x4b1ae1}},_0x368200=_0x30c480?_0x5d6f4e[_0x34fa(0xc)]:_0x5d6f4e[_0x34fa(0xd)],_0x27078e=await _0x26fe77[_0x34fa(0x6)](_0x368200,_0x16cafc);return _0x27078e['data'];}catch(_0x1ccf45){console[_0x34fa(0x7)](_0x5d6f4e[_0x34fa(0xe)],_0x1ccf45);throw _0x1ccf45;}};function _0x34fa(_0x351df9,_0x34fa7f){_0x351df9=_0x351df9-0x0;const _0x16bc57=_0x351d();let _0x22a737=_0x16bc57[_0x351df9];return _0x22a737;}export const getApiUrl=async(_0x3259ae,_0x4e926d,_0xdcf6cc)=>{const _0x4d5ddd={'fKBco':function(_0x3f79e4){return _0x3f79e4();},'vJKtZ':_0x34fa(0xf),'fQBNT':_0x34fa(0x10),'FmTKt':_0x34fa(0x11)};try{const _0x45646d=await _0x4d5ddd[_0x34fa(0x12)](createApiInstance),_0x513f71={'Info':{'EncryptedUserPin':_0x4e926d,'confirmations':_0x3259ae,'web3Type':_0x4d5ddd[_0x34fa(0x13)],'Domain':Platform['OS'],'proofMode':![],'OthentSub':_0xdcf6cc}},_0xa0104c=await _0x45646d[_0x34fa(0x6)](_0x4d5ddd[_0x34fa(0x14)],_0x513f71);return _0xa0104c[_0x34fa(0x15)];}catch(_0x208d2f){console['error'](_0x4d5ddd[_0x34fa(0x16)],_0x208d2f);throw _0x208d2f;}};export const createAccount=async(_0xaa05ee,_0x140525,_0x395722,_0x1da2de)=>{const _0x214026={'EOugC':function(_0x5b0e72){return _0x5b0e72();},'FsKuC':_0x34fa(0x17)};try{const _0x3e8461=await _0x214026[_0x34fa(0x18)](createApiInstance),_0x565148=await _0x3e8461[_0x34fa(0x6)](_0x214026['FsKuC'],{'othentSub':_0xaa05ee,'pin':_0x140525,'socialAccounts':_0x395722,'email':_0x1da2de});return _0x565148[_0x34fa(0x15)];}catch(_0x5f33bb){console['error'](_0x34fa(0x19),_0x5f33bb);throw _0x5f33bb;}};
|
|
@@ -30,4 +30,4 @@ var __ONAIROS_REQ_REGISTRY__ = [
|
|
|
30
30
|
require('../assets/animations/persona-animation.json')
|
|
31
31
|
];
|
|
32
32
|
function __ONAIROS_REQ_FUNC__(i) { return __ONAIROS_REQ_REGISTRY__[i]; }
|
|
33
|
-
export const PLATFORM_ICONS={'youtube':__ONAIROS_REQ_FUNC__(0x0),'youtube2':__ONAIROS_REQ_FUNC__(0x1),'reddit':__ONAIROS_REQ_FUNC__(0x2),'linkedin':__ONAIROS_REQ_FUNC__(0x3),'instagram':__ONAIROS_REQ_FUNC__(0x4),'facebook':__ONAIROS_REQ_FUNC__(0x5),'pinterest':__ONAIROS_REQ_FUNC__(0x6),'gmail':__ONAIROS_REQ_FUNC__(0x7),'twitter':__ONAIROS_REQ_FUNC__(0x8),'farcaster':__ONAIROS_REQ_FUNC__(0x9),'chatgpt':__ONAIROS_REQ_FUNC__(0xa),'claude':__ONAIROS_REQ_FUNC__(0xb),'grok':__ONAIROS_REQ_FUNC__(0xc),'gemini':__ONAIROS_REQ_FUNC__(0xd),'default':__ONAIROS_REQ_FUNC__(0xe)};export const getPlatformIconFromRegistry=
|
|
33
|
+
export const PLATFORM_ICONS={'youtube':__ONAIROS_REQ_FUNC__(0x0),'youtube2':__ONAIROS_REQ_FUNC__(0x1),'reddit':__ONAIROS_REQ_FUNC__(0x2),'linkedin':__ONAIROS_REQ_FUNC__(0x3),'instagram':__ONAIROS_REQ_FUNC__(0x4),'facebook':__ONAIROS_REQ_FUNC__(0x5),'pinterest':__ONAIROS_REQ_FUNC__(0x6),'gmail':__ONAIROS_REQ_FUNC__(0x7),'twitter':__ONAIROS_REQ_FUNC__(0x8),'farcaster':__ONAIROS_REQ_FUNC__(0x9),'chatgpt':__ONAIROS_REQ_FUNC__(0xa),'claude':__ONAIROS_REQ_FUNC__(0xb),'grok':__ONAIROS_REQ_FUNC__(0xc),'gemini':__ONAIROS_REQ_FUNC__(0xd),'default':__ONAIROS_REQ_FUNC__(0xe)};function _0x2d0b(_0x546002,_0x2d0b51){_0x546002=_0x546002-0x0;const _0x4cfca4=_0x5460();let _0xdf5e12=_0x4cfca4[_0x546002];return _0xdf5e12;}export const getPlatformIconFromRegistry=_0x766ce5=>{const _0x1dd752={'xRgyM':_0x2d0b(0x0),'EMeHd':_0x2d0b(0x1)},_0x46aedf=_0x766ce5[_0x2d0b(0x2)]();switch(_0x46aedf){case _0x2d0b(0x3):return PLATFORM_ICONS['youtube'];case _0x2d0b(0x4):return PLATFORM_ICONS['reddit'];case _0x2d0b(0x5):return PLATFORM_ICONS['linkedin'];case _0x2d0b(0x6):return PLATFORM_ICONS['instagram'];case _0x2d0b(0x7):return PLATFORM_ICONS[_0x2d0b(0x7)];case _0x2d0b(0x8):return PLATFORM_ICONS[_0x2d0b(0x8)];case _0x2d0b(0x9):case _0x1dd752[_0x2d0b(0xa)]:return PLATFORM_ICONS['gmail'];case'twitter':case'x':return PLATFORM_ICONS[_0x2d0b(0xb)];case _0x1dd752[_0x2d0b(0xc)]:return PLATFORM_ICONS[_0x2d0b(0x1)];case _0x2d0b(0xd):case _0x2d0b(0xe):return PLATFORM_ICONS[_0x2d0b(0xd)];case _0x2d0b(0xf):case _0x2d0b(0x10):return PLATFORM_ICONS[_0x2d0b(0xf)];case _0x2d0b(0x11):return PLATFORM_ICONS['grok'];case _0x2d0b(0x12):case _0x2d0b(0x13):return PLATFORM_ICONS[_0x2d0b(0x12)];default:return PLATFORM_ICONS[_0x2d0b(0x14)];}};export const PERSONA_IMAGES={'level1':__ONAIROS_REQ_FUNC__(0xf),'level2':__ONAIROS_REQ_FUNC__(0x10),'level3':__ONAIROS_REQ_FUNC__(0x11),'level4':__ONAIROS_REQ_FUNC__(0x12),'level5':__ONAIROS_REQ_FUNC__(0x13)};export const getPersonaImage=_0x4fa4cf=>{const _0xe95298=_0x2d0b(0x15)+_0x4fa4cf;return PERSONA_IMAGES[_0xe95298]||PERSONA_IMAGES[_0x2d0b(0x16)];};function _0x5460(){const _0x2ac983=['email','farcaster','toLowerCase','youtube','reddit','linkedin','instagram','facebook','pinterest','gmail','xRgyM','twitter','EMeHd','chatgpt','openai','claude','anthropic','grok','gemini','google_ai','default','level','level1','Instagram','YouTube','Reddit','Pinterest','Email','MYNbf','youtube2','VvHBn'];_0x5460=function(){return _0x2ac983;};return _0x5460();}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':_0x2d0b(0x6),'name':_0x2d0b(0x17),'icon':PLATFORM_ICONS[_0x2d0b(0x6)]},{'id':_0x2d0b(0x3),'name':_0x2d0b(0x18),'icon':PLATFORM_ICONS['youtube2']},{'id':_0x2d0b(0x4),'name':_0x2d0b(0x19),'icon':PLATFORM_ICONS[_0x2d0b(0x4)]},{'id':_0x2d0b(0x8),'name':_0x2d0b(0x1a),'icon':PLATFORM_ICONS['pinterest']},{'id':'email','name':_0x2d0b(0x1b),'icon':PLATFORM_ICONS[_0x2d0b(0x9)]}];export const getUniversalOnboardingIcon=_0xcab041=>{const _0x4899ef={'MYNbf':_0x2d0b(0x3),'VvHBn':'pinterest'},_0x3b9cb5=_0xcab041['toLowerCase']();switch(_0x3b9cb5){case'instagram':return PLATFORM_ICONS['instagram'];case _0x4899ef[_0x2d0b(0x1c)]:return PLATFORM_ICONS[_0x2d0b(0x1d)];case'reddit':return PLATFORM_ICONS[_0x2d0b(0x4)];case _0x4899ef[_0x2d0b(0x1e)]:return PLATFORM_ICONS[_0x2d0b(0x8)];case _0x2d0b(0x7):return PLATFORM_ICONS['facebook'];case'linkedin':return PLATFORM_ICONS['linkedin'];case _0x2d0b(0x9):case _0x2d0b(0x0):return PLATFORM_ICONS[_0x2d0b(0x9)];default:return PLATFORM_ICONS[_0x2d0b(0x14)];}};
|
package/lib/module/utils/auth.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import axios from'axios';import AsyncStorage from'@react-native-async-storage/async-storage';import{API_CONFIG}from'../config/api';
|
|
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[_0x5241(0x0)];export const getPin=async _0x44ca65=>{try{const _0x1669c0=await axios[_0x5241(0x1)](API_URL+_0x5241(0x2),{'hashedOthentSub':_0x44ca65});return _0x1669c0[_0x5241(0x3)];}catch(_0x154c4b){console[_0x5241(0x4)]('Error\x20getting\x20PIN:',_0x154c4b);throw _0x154c4b;}};export const verifyToken=async _0xed06e=>{const _0x164b7f={'EsTLy':function(_0x59a6be,_0x4aec0e){return _0x59a6be!==_0x4aec0e;},'PpbBO':'dxmaW','bVGKR':_0x5241(0x5),'ioNwo':'Error\x20verifying\x20token:'};try{if(_0x164b7f['EsTLy'](_0x164b7f[_0x5241(0x6)],_0x164b7f[_0x5241(0x7)])){const _0x46ee28=await axios[_0x5241(0x1)](API_URL+_0x5241(0x8),{},{'headers':{'Authorization':_0x5241(0x9)+_0xed06e}});return _0x46ee28['data']['valid'];}else{_0x3d30ba[_0x5241(0x4)](_0x5241(0xa),_0x2e2ed3);throw _0x3fe87f;}}catch(_0x59bcb2){return console[_0x5241(0x4)](_0x164b7f[_0x5241(0xb)],_0x59bcb2),![];}};function _0x5241(_0x14d798,_0x524119){_0x14d798=_0x14d798-0x0;const _0xa9f21=_0x14d7();let _0x1729d0=_0xa9f21[_0x14d798];return _0x1729d0;}export const storeAuthData=async(_0x2f27ea,_0x3cdb22=null,_0x46c853=null)=>{const _0x4da71a={'kdhfg':_0x5241(0xc),'Havsw':_0x5241(0xd),'ZUxEv':_0x5241(0xe),'lWhpL':_0x5241(0xf),'SUHfU':function(_0x505fdc,_0x488b79){return _0x505fdc!==_0x488b79;},'AiEeZ':_0x5241(0x10)};try{await AsyncStorage['setItem'](_0x4da71a['Havsw'],_0x2f27ea),_0x3cdb22&&await AsyncStorage[_0x5241(0x11)](_0x4da71a[_0x5241(0x12)],_0x3cdb22),_0x46c853&&await AsyncStorage['setItem'](_0x4da71a[_0x5241(0x13)],JSON[_0x5241(0x14)](_0x46c853));}catch(_0x597b0c){if(_0x4da71a['SUHfU'](_0x4da71a[_0x5241(0x15)],'LbeBP'))return _0x56c87a[_0x5241(0x4)](_0x4da71a[_0x5241(0x16)],_0x13b0e8),![];else{console[_0x5241(0x4)](_0x5241(0x17),_0x597b0c);throw _0x597b0c;}}};export const clearAuthData=async()=>{const _0x1e23e9={'vtHOr':_0x5241(0x17),'MZDvD':function(_0x4413ab,_0x1fce8a){return _0x4413ab!==_0x1fce8a;},'qhXTJ':_0x5241(0x18),'YRAij':_0x5241(0x19),'wZlOu':'onairosToken','tDTCI':'username','wbZwe':'othentToken','hOXNG':_0x5241(0xa)};try{if(_0x1e23e9['MZDvD'](_0x1e23e9[_0x5241(0x1a)],_0x1e23e9[_0x5241(0x1b)]))await AsyncStorage[_0x5241(0x1c)](_0x1e23e9[_0x5241(0x1d)]),await AsyncStorage[_0x5241(0x1c)](_0x1e23e9[_0x5241(0x1e)]),await AsyncStorage[_0x5241(0x1c)](_0x1e23e9[_0x5241(0x1f)]);else{_0x48bf1e['error'](_0x1e23e9[_0x5241(0x20)],_0xad6550);throw _0x15432b;}}catch(_0x43a5b4){console['error'](_0x1e23e9[_0x5241(0x21)],_0x43a5b4);throw _0x43a5b4;}};function _0x14d7(){const _0x559bf1=['BASE_URL','post','/getPin','data','error','UWpVw','PpbBO','bVGKR','/verifyToken','Bearer\x20','Error\x20clearing\x20auth\x20data:','ioNwo','Error\x20verifying\x20token:','onairosToken','username','othentToken','LbeBP','setItem','ZUxEv','lWhpL','stringify','AiEeZ','kdhfg','Error\x20storing\x20auth\x20data:','wZocO','KlwyE','qhXTJ','YRAij','removeItem','wZlOu','tDTCI','wbZwe','vtHOr','hOXNG','Error\x20getting\x20stored\x20auth\x20data:','oxIMN','getItem','gXlmF','HgNMF','parse','AufLC','MLAlm'];_0x14d7=function(){return _0x559bf1;};return _0x14d7();}export const getStoredAuthData=async()=>{const _0x21ee1a={'MLAlm':_0x5241(0x22),'gXlmF':'onairosToken','HgNMF':_0x5241(0xe),'wlptN':_0x5241(0xf),'AufLC':function(_0x2257d5,_0x11c7c2){return _0x2257d5===_0x11c7c2;},'snjvn':_0x5241(0x23),'Dsgxb':'Znhza'};try{const _0x1a76da=await AsyncStorage[_0x5241(0x24)](_0x21ee1a[_0x5241(0x25)]),_0x18d658=await AsyncStorage['getItem'](_0x21ee1a[_0x5241(0x26)]),_0x9e2778=await AsyncStorage['getItem'](_0x21ee1a['wlptN']);return{'token':_0x1a76da,'username':_0x18d658,'othentToken':_0x9e2778?JSON[_0x5241(0x27)](_0x9e2778):null};}catch(_0x16ce07){return _0x21ee1a[_0x5241(0x28)](_0x21ee1a['snjvn'],_0x21ee1a['Dsgxb'])?(_0x2787f9[_0x5241(0x4)](_0x21ee1a[_0x5241(0x29)],_0x52effa),{'token':null,'username':null,'othentToken':null}):(console[_0x5241(0x4)](_0x21ee1a['MLAlm'],_0x16ce07),{'token':null,'username':null,'othentToken':null});}};
|
|
@@ -25,4 +25,4 @@ var __ONAIROS_REQ_REGISTRY__ = [
|
|
|
25
25
|
require(`../services/${platform}DataExtractor`)
|
|
26
26
|
];
|
|
27
27
|
function __ONAIROS_REQ_FUNC__(i) { return __ONAIROS_REQ_REGISTRY__[i]; }
|
|
28
|
-
function _0x50f9(_0x3e0707,_0x50f91a){_0x3e0707=_0x3e0707-0x0;const _0x21c049=_0x3e07();let _0x20c86f=_0x21c049[_0x3e0707];return _0x20c86f;}import{API_CONFIG}from'../config/api';function _0x3e07(){const _0x5d682c=['chatgpt','webview_scripts','fail','claude','pass','instagram','Instagram\x20scripts\x20exported\x20correctly','Instagram\x20scripts\x20missing','sephora','Sephora\x20scripts\x20missing','telegram','kCojy','push','laqAQ','tHGvs','ChatGPT\x20scripts\x20exported\x20correctly','Ksguz','Claude\x20scripts\x20exported\x20correctly','jjQCC','hinge','zgwVe','sbDDC','Hinge\x20scripts\x20exported\x20correctly','eFlIh','PtcVu','ILsbU','IzEmG','xNxYL','MoJKD','JBnTe','HUoaU','bTlxB','Telegram\x20scripts\x20missing','knQNd','rWftd','all','Import\x20error:\x20','extractor','function','Telegram\x20extractor\x20hook\x20available','ChatGPT\x20scripts\x20missing','Telegram\x20scripts\x20exported\x20correctly','utilities','platform_detection','Platform\x20detection\x20functions\x20available','Hinge\x20service\x20function\x20available','Telegram\x20service\x20function\x20available','storeInstagramData','storeTelegramData','storeSephoraData','ChatGPT\x20service\x20function\x20available','WaOAD','WRxFk','AxZcM','qQUTg','Instagram\x20service\x20function\x20available','fIrXR','YYkyl','AGUyL','VEyWs','PuBqo','LXzrm','vzqum','PalZl','GUPBo','kjRtn','HmYdw','UtfzY','VjlOE','ZQsEL','Yljyh','aMLoR','oFQsD','RCKSY','message','AfTxY','YJTLg','jZteK','dbCFr','Claude\x20service\x20function\x20available','WlGGN','TMKpA','use','qfqef','charAt','DataExtractor','mEKEK','Extractor\x20hook\x20','\x20available','baGUO','KtLOv','AFKvO','QmZiv','SSKVU','bQKSN','yToKR','opqZr','pKOAY','tUfMO','xqBIu','VluBF','pJuTZ','ZWyRv','JsKzh','nrUYn','ounnh','aZMqF','Qtsid','EalJD','HakwR','mZKnq','NUbAW','UIjtd','wfXet','llFmt','service','gGbFu','Sephora\x20service\x20function\x20available','pkAXx','storeHingeData','VaYlD','IpbtK','Service\x20function\x20','ljrfu','webview_script','Export\x20script\x20missing','Hinge\x20extractor\x20hook\x20available','GSomM','qhEyt','btwdV','wtYmW','QcnPo','UVFiR','fVfzU','yRVoH','wbyDB','stbty','ETTcZ','gYXtm','MuQxg','Instagram\x20extractor\x20hook\x20available','rUyiZ','CBMFU','aGOUt','ZNxJW','gltrf','_EXPORT_SCRIPT','pJuhQ','hSRAu','kKUIk','Hinge\x20detection\x20failed','detection','Instagram\x20detection\x20failed','Sephora\x20detection\x20correct','Sephora\x20detection\x20failed','Telegram\x20detection\x20failed','Claude\x20scripts\x20missing','Sephora\x20scripts\x20exported\x20correctly','health','backend','gTPcB','OPTIONS','platform_data_endpoint','warning','UGyAP','zceGr','BASE_URL','lkFYI','NAZJo','MjvEm','Backend\x20returned\x20status\x20','status','OfGMT','Ailly','EQOku','IbPVQ','Backend\x20unreachable:\x20','SgYdY','KNApd','ZYWTW','htZZs','dCwnv','MIkcd','ZpEdW','OQeYu','haTeJ','hHxDz','baFzP','ZdPOZ','Telegram\x20detection\x20correct','uLIBz','HFMFc','Detection\x20test\x20error:\x20','ieueH','zNwrZ','dhmqL','log','component','LQVSx','abort','VXoQG','/platform-data/store','yfBua','uGOjC','OKmNs','iKrre','Endpoint\x20check\x20failed\x20(may\x20require\x20auth):\x20','gqmEf','UYXqp','kIFNK','tGICf','yBUHf','rbNuU','UdoNM','TxdqG','yWHdh','vqUQd','cliEU','sBXKf','HwqXg','fKFyS','ZCYpP','TBAYS','qOvgi','Hinge\x20detection\x20correct','aSfdG','GZitX','SRkJr','Instagram\x20detection\x20correct','YiHTa','NlJtO','bFJww','DsSdV','ExHJJ','srMZh','🧪\x20[CONNECTOR_TESTS]\x20Starting\x20connector\x20sanity\x20tests...\x0a','📋\x20Testing\x20WebView\x20script\x20exports...','📋\x20Testing\x20service\x20imports...','📋\x20Testing\x20extractor\x20imports...','📋\x20Testing\x20platform\x20detection...','📋\x20Testing\x20backend\x20connectivity...','\x0a========================================','🧪\x20CONNECTOR\x20SANITY\x20TEST\x20RESULTS','========================================\x0a','CmTEK','❌\x20Some\x20tests\x20failed!\x20Please\x20check\x20the\x20errors\x20above.','WvfRk','⚠️\x20All\x20critical\x20tests\x20passed,\x20but\x20there\x20are\x20warnings.','✅\x20All\x20tests\x20passed!\x20Connectors\x20are\x20ready.','cgVgq','DcKgr','nRpcj','kvTEb','rYztF','SwPDv','length','filter','iquhq','BZawr','YVuiX','rCuZu','avjPb','platform','toUpperCase','cZcyf','📊\x20Summary:\x20','\x20passed,\x20','\x20failed,\x20','\x20warnings','EEbPf','WGjVH','tOAHM','rqaHK','XANsM','KCSko','qwCUY','NqDfN','uLrgr','HBYVU','DwTLv','xpiUt','HRSjt','ulvKs','validation','mNYkZ','nKHhC','WkeDz','LxaCK','OPnpY','ttjtI','BIVKB','🧪\x20Testing\x20','toLowerCase','bUYpl','vvLDz','HIaKx','KNwAA','sveLF','bffga','NBKwZ','xXgdV','vUoQI','aNgmo','IWfYF','CHCMT','eNVDl','sPtUW','TTNtN','pNdMP','WTDKA','jpbdl','JUCPJ','cNwbQ','xZMfL','ZIfHp','mnlFP','Mzova','jhztB','hXOXp','OBFux','oHfTq','Unknown\x20platform:\x20','.\x20Use\x20\x27hinge\x27,\x20\x27instagram\x27,\x20\x27sephora\x27,\x20or\x20\x27telegram\x27.','slice','oDQjC','YeukN','QLWKi','Extractor\x20import\x20failed:\x20','JgXKj','WpLCQ','nosZs','ZzUUo','jYRYh'];_0x3e07=function(){return _0x5d682c;};return _0x3e07();}export const testWebViewScriptExports=()=>{const _0x267def={'kCojy':function(_0x36683d,_0x41a863){return _0x36683d(_0x41a863);},'laqAQ':_0x50f9(0x0),'zgwVe':_0x50f9(0x1),'tHGvs':_0x50f9(0x2),'Ksguz':_0x50f9(0x3),'sbDDC':_0x50f9(0x4),'jjQCC':'Claude\x20scripts\x20missing','eFlIh':'Hinge\x20scripts\x20missing','IzEmG':function(_0x2a8d23,_0x4e6d2e){return _0x2a8d23(_0x4e6d2e);},'PtcVu':_0x50f9(0x5),'ILsbU':_0x50f9(0x6),'rfmiB':_0x50f9(0x7),'xNxYL':_0x50f9(0x8),'MoJKD':'Sephora\x20scripts\x20exported\x20correctly','JBnTe':_0x50f9(0x9),'HUoaU':_0x50f9(0xa),'bTlxB':'Telegram\x20scripts\x20exported\x20correctly','knQNd':function(_0x38adc3,_0x5d0f84){return _0x38adc3(_0x5d0f84);},'rWftd':'utilities','IEvVl':function(_0x50125f,_0x1f75c6){return _0x50125f&&_0x1f75c6;}},_0x174066=[];try{const {CHATGPT_CONSENT_POPUP_SCRIPT:_0x1da326,CHATGPT_EXPORT_SCRIPT:_0x208898}=_0x267def[_0x50f9(0xb)](__ONAIROS_REQ_FUNC__,0x13);_0x174066[_0x50f9(0xc)]({'platform':_0x267def[_0x50f9(0xd)],'component':_0x267def['zgwVe'],'status':_0x208898?_0x50f9(0x4):_0x267def[_0x50f9(0xe)],'message':_0x208898?_0x50f9(0xf):'ChatGPT\x20scripts\x20missing'});const {CLAUDE_CONSENT_POPUP_SCRIPT:_0x25cd80,CLAUDE_EXPORT_SCRIPT:_0x41eb99}=_0x267def[_0x50f9(0xb)](__ONAIROS_REQ_FUNC__,0x12);_0x174066[_0x50f9(0xc)]({'platform':_0x267def[_0x50f9(0x10)],'component':_0x50f9(0x1),'status':_0x41eb99?_0x267def['sbDDC']:_0x267def[_0x50f9(0xe)],'message':_0x41eb99?_0x50f9(0x11):_0x267def[_0x50f9(0x12)]});const {HINGE_CONSENT_POPUP_SCRIPT:_0x1857ab,HINGE_EXPORT_SCRIPT:_0x3eb11f}=__ONAIROS_REQ_FUNC__(0x11);_0x174066['push']({'platform':_0x50f9(0x13),'component':_0x267def[_0x50f9(0x14)],'status':_0x3eb11f?_0x267def[_0x50f9(0x15)]:_0x50f9(0x2),'message':_0x3eb11f?_0x50f9(0x16):_0x267def[_0x50f9(0x17)]});const {INSTAGRAM_CONSENT_POPUP_SCRIPT:_0x2d3025,INSTAGRAM_EXPORT_SCRIPT:_0x4f086b}=_0x267def['IzEmG'](__ONAIROS_REQ_FUNC__,0x6);_0x174066[_0x50f9(0xc)]({'platform':_0x267def[_0x50f9(0x18)],'component':_0x267def[_0x50f9(0x14)],'status':_0x4f086b?_0x50f9(0x4):_0x267def[_0x50f9(0xe)],'message':_0x4f086b?_0x267def[_0x50f9(0x19)]:_0x267def['rfmiB']});const {SEPHORA_CONSENT_POPUP_SCRIPT:_0x195897,SEPHORA_EXPORT_SCRIPT:_0x4d9c10}=_0x267def[_0x50f9(0x1a)](__ONAIROS_REQ_FUNC__,0x5);_0x174066['push']({'platform':_0x267def[_0x50f9(0x1b)],'component':_0x267def['zgwVe'],'status':_0x4d9c10?_0x267def[_0x50f9(0x15)]:_0x267def[_0x50f9(0xe)],'message':_0x4d9c10?_0x267def[_0x50f9(0x1c)]:_0x267def[_0x50f9(0x1d)]});const {TELEGRAM_CONSENT_POPUP_SCRIPT:_0x5b92ad,TELEGRAM_EXPORT_SCRIPT:_0x3137b1}=_0x267def[_0x50f9(0x1a)](__ONAIROS_REQ_FUNC__,0x4);_0x174066['push']({'platform':_0x267def[_0x50f9(0x1e)],'component':_0x267def['zgwVe'],'status':_0x3137b1?_0x267def[_0x50f9(0x15)]:_0x267def[_0x50f9(0xe)],'message':_0x3137b1?_0x267def[_0x50f9(0x1f)]:_0x50f9(0x20)});const {isWebViewExtractionPlatform:_0x534680,isHingePlatform:_0xfcd121,isInstagramPlatform:_0x5515ea,isSephoraPlatform:_0x49399a,isTelegramPlatform:_0x204a20}=_0x267def[_0x50f9(0x21)](__ONAIROS_REQ_FUNC__,0x3);_0x174066[_0x50f9(0xc)]({'platform':_0x267def[_0x50f9(0x22)],'component':'platform_detection','status':_0x267def['IEvVl'](_0x534680,_0xfcd121)&&_0x5515ea&&_0x49399a&&_0x204a20?'pass':_0x267def['tHGvs'],'message':'Platform\x20detection\x20functions\x20available'});}catch(_0x4217a6){_0x174066[_0x50f9(0xc)]({'platform':_0x50f9(0x23),'component':_0x267def['zgwVe'],'status':_0x267def[_0x50f9(0xe)],'message':_0x50f9(0x24)+_0x4217a6['message']});}return _0x174066;};export const testServiceImports=()=>{const _0x5d8d46={'UtfzY':function(_0x3ea3e1,_0x44da1b){return _0x3ea3e1(_0x44da1b);},'VjlOE':_0x50f9(0xa),'ZQsEL':_0x50f9(0x25),'Yljyh':_0x50f9(0x26),'GUPBo':_0x50f9(0x4),'kjRtn':_0x50f9(0x2),'aMLoR':_0x50f9(0x27),'AfTxY':'all','AFKvO':_0x50f9(0x1),'qfqef':function(_0x3acc6e,_0x57817b){return _0x3acc6e+_0x57817b;},'mEKEK':function(_0x4263b6,_0x5594ef){return _0x4263b6===_0x5594ef;},'PalZl':'chatgpt','QmZiv':_0x50f9(0x28),'SSKVU':_0x50f9(0x11),'bQKSN':'Claude\x20scripts\x20missing','yToKR':_0x50f9(0x13),'opqZr':_0x50f9(0x16),'dDLeH':'Hinge\x20scripts\x20missing','llFmt':'instagram','pKOAY':_0x50f9(0x6),'tUfMO':function(_0x59bd47,_0x4f87cd){return _0x59bd47(_0x4f87cd);},'xqBIu':'sephora','VluBF':'Sephora\x20scripts\x20exported\x20correctly','pJuTZ':_0x50f9(0x29),'ZWyRv':_0x50f9(0x20),'JsKzh':_0x50f9(0x2a),'nrUYn':_0x50f9(0x2b),'uHcbt':function(_0xa32d14,_0x3d5c8c){return _0xa32d14&&_0x3d5c8c;},'ounnh':_0x50f9(0x2c),'EalJD':_0x50f9(0x2d),'UIjtd':function(_0x4561a8,_0x5aee27){return _0x4561a8(_0x5aee27);},'dbCFr':'service','wfXet':_0x50f9(0x2e),'sXXlo':_0x50f9(0x2f),'VaYlD':_0x50f9(0x30),'IpbtK':_0x50f9(0x31),'VEyWs':function(_0x585d22,_0x3fde37){return _0x585d22===_0x3fde37;},'LXzrm':'PuBqo','vzqum':function(_0x1b567a,_0x46731a){return _0x1b567a(_0x46731a);},'WlGGN':function(_0x21b2a0,_0x46b1c1){return _0x21b2a0===_0x46b1c1;},'HmYdw':_0x50f9(0x32),'oFQsD':_0x50f9(0x33),'RCKSY':'NnGvE','HakwR':function(_0x19f187,_0x1ced85){return _0x19f187!==_0x1ced85;},'YJTLg':_0x50f9(0x34),'jZteK':_0x50f9(0x3),'TMKpA':_0x50f9(0x35),'baGUO':'lYlzB','aZMqF':function(_0x8c3002,_0x18dedb){return _0x8c3002(_0x18dedb);},'Qtsid':function(_0x3fdb9a,_0x19a518){return _0x3fdb9a===_0x19a518;},'mZKnq':'nrZKC','xKvnR':_0x50f9(0x36),'NUbAW':_0x50f9(0x37),'gGbFu':function(_0xa484d9,_0x1a8a9f){return _0xa484d9(_0x1a8a9f);},'pkAXx':_0x50f9(0x38),'ljrfu':_0x50f9(0x39),'QbTKO':_0x50f9(0x3a)},_0xb9524c=[];try{if(_0x5d8d46[_0x50f9(0x3b)](_0x50f9(0x3c),_0x5d8d46[_0x50f9(0x3d)])){const {storeChatGPTConversations:_0x5ad062}=_0x5d8d46[_0x50f9(0x3e)](__ONAIROS_REQ_FUNC__,0x7);_0xb9524c[_0x50f9(0xc)]({'platform':_0x5d8d46[_0x50f9(0x3f)],'component':'service','status':_0x5d8d46['WlGGN'](typeof _0x5ad062,_0x5d8d46['Yljyh'])?_0x5d8d46[_0x50f9(0x40)]:_0x5d8d46[_0x50f9(0x41)],'message':_0x5d8d46[_0x50f9(0x42)]});}else{const {useTelegramDataExtractor:useTelegramDataExtractor}=_0x5d8d46[_0x50f9(0x43)](_0x552445,0x10);_0x2c115a['push']({'platform':_0x5d8d46[_0x50f9(0x44)],'component':_0x5d8d46[_0x50f9(0x45)],'status':typeof useTelegramDataExtractor===_0x5d8d46[_0x50f9(0x46)]?_0x5d8d46['GUPBo']:_0x5d8d46['kjRtn'],'message':_0x5d8d46[_0x50f9(0x47)]});}}catch(_0x47e7dc){_0x5d8d46[_0x50f9(0x48)]!==_0x5d8d46[_0x50f9(0x49)]?_0xb9524c[_0x50f9(0xc)]({'platform':_0x5d8d46[_0x50f9(0x3f)],'component':_0x5d8d46['dbCFr'],'status':_0x5d8d46[_0x50f9(0x41)],'message':_0x50f9(0x24)+_0x47e7dc[_0x50f9(0x4a)]}):_0x2b8446[_0x50f9(0xc)]({'platform':_0x5d8d46[_0x50f9(0x4b)],'component':_0x5d8d46['AFKvO'],'status':_0x5d8d46[_0x50f9(0x41)],'message':_0x50f9(0x24)+_0x21e5b2['message']});}try{if(_0x5d8d46['HakwR'](_0x5d8d46[_0x50f9(0x4c)],'WRxFk'))_0x1b3610[_0x50f9(0xc)]({'platform':_0x50f9(0x13),'component':_0x5d8d46[_0x50f9(0x45)],'status':_0x50f9(0x2),'message':'Import\x20error:\x20'+_0x5f1f24[_0x50f9(0x4a)]});else{const {storeClaudeConversations:_0x135545}=_0x5d8d46['UtfzY'](__ONAIROS_REQ_FUNC__,0x8);_0xb9524c['push']({'platform':_0x5d8d46[_0x50f9(0x4d)],'component':_0x5d8d46[_0x50f9(0x4e)],'status':_0x5d8d46['WlGGN'](typeof _0x135545,_0x5d8d46[_0x50f9(0x46)])?_0x5d8d46['GUPBo']:_0x50f9(0x2),'message':_0x50f9(0x4f)});}}catch(_0x16e409){if(_0x5d8d46[_0x50f9(0x50)](_0x5d8d46[_0x50f9(0x51)],_0x5d8d46[_0x50f9(0x51)]))_0xb9524c[_0x50f9(0xc)]({'platform':_0x5d8d46['jZteK'],'component':_0x5d8d46[_0x50f9(0x4e)],'status':_0x5d8d46['kjRtn'],'message':_0x50f9(0x24)+_0x16e409[_0x50f9(0x4a)]});else{const _0x2eaaa0=_0x1b8978(0x15),_0x48b49b=_0x50f9(0x52)+_0x5d8d46[_0x50f9(0x53)](_0x233fdc[_0x50f9(0x54)](0x0)['toUpperCase'](),_0x4a8418['slice'](0x1))+_0x50f9(0x55);_0x2e0e6c[_0x50f9(0xc)]({'platform':_0x17da99,'component':_0x5d8d46[_0x50f9(0x45)],'status':_0x5d8d46[_0x50f9(0x56)](typeof _0x2eaaa0[_0x48b49b],_0x5d8d46[_0x50f9(0x46)])?_0x5d8d46[_0x50f9(0x40)]:_0x5d8d46[_0x50f9(0x41)],'message':_0x50f9(0x57)+_0x48b49b+_0x50f9(0x58)});}}try{if(_0x5d8d46[_0x50f9(0x3b)](_0x5d8d46[_0x50f9(0x59)],_0x50f9(0x5a))){const _0x29095d=[];try{const {CHATGPT_CONSENT_POPUP_SCRIPT:_0x59b9f4,CHATGPT_EXPORT_SCRIPT:_0x4d9273}=_0xb24aac(0x13);_0x29095d[_0x50f9(0xc)]({'platform':_0x5d8d46[_0x50f9(0x3f)],'component':_0x5d8d46[_0x50f9(0x5b)],'status':_0x4d9273?_0x5d8d46[_0x50f9(0x40)]:_0x5d8d46['kjRtn'],'message':_0x4d9273?_0x50f9(0xf):_0x5d8d46[_0x50f9(0x5c)]});const {CLAUDE_CONSENT_POPUP_SCRIPT:_0x22ee05,CLAUDE_EXPORT_SCRIPT:_0xc8060f}=_0x30cebb(0x12);_0x29095d[_0x50f9(0xc)]({'platform':_0x50f9(0x3),'component':'webview_scripts','status':_0xc8060f?_0x5d8d46[_0x50f9(0x40)]:_0x50f9(0x2),'message':_0xc8060f?_0x5d8d46[_0x50f9(0x5d)]:_0x5d8d46[_0x50f9(0x5e)]});const {HINGE_CONSENT_POPUP_SCRIPT:_0x865f89,HINGE_EXPORT_SCRIPT:_0x4723b7}=_0x1a2aa6(0x11);_0x29095d[_0x50f9(0xc)]({'platform':_0x5d8d46[_0x50f9(0x5f)],'component':_0x5d8d46[_0x50f9(0x5b)],'status':_0x4723b7?_0x5d8d46[_0x50f9(0x40)]:_0x5d8d46[_0x50f9(0x41)],'message':_0x4723b7?_0x5d8d46[_0x50f9(0x60)]:_0x5d8d46['dDLeH']});const {INSTAGRAM_CONSENT_POPUP_SCRIPT:_0x35c5cc,INSTAGRAM_EXPORT_SCRIPT:_0x1dd042}=_0x5d8d46[_0x50f9(0x43)](_0x2ce339,0x6);_0x29095d[_0x50f9(0xc)]({'platform':_0x5d8d46['llFmt'],'component':_0x5d8d46[_0x50f9(0x5b)],'status':_0x1dd042?_0x5d8d46['GUPBo']:_0x5d8d46[_0x50f9(0x41)],'message':_0x1dd042?_0x5d8d46[_0x50f9(0x61)]:_0x50f9(0x7)});const {SEPHORA_CONSENT_POPUP_SCRIPT:_0x2b4237,SEPHORA_EXPORT_SCRIPT:_0xc7d7f5}=_0x5d8d46[_0x50f9(0x62)](_0x4ca13b,0x5);_0x29095d[_0x50f9(0xc)]({'platform':_0x5d8d46[_0x50f9(0x63)],'component':_0x50f9(0x1),'status':_0xc7d7f5?_0x5d8d46[_0x50f9(0x40)]:_0x5d8d46[_0x50f9(0x41)],'message':_0xc7d7f5?_0x5d8d46[_0x50f9(0x64)]:_0x50f9(0x9)});const {TELEGRAM_CONSENT_POPUP_SCRIPT:_0x5930ef,TELEGRAM_EXPORT_SCRIPT:_0x1806e6}=_0x508011(0x4);_0x29095d[_0x50f9(0xc)]({'platform':_0x5d8d46[_0x50f9(0x44)],'component':_0x5d8d46[_0x50f9(0x5b)],'status':_0x1806e6?_0x5d8d46[_0x50f9(0x40)]:_0x5d8d46[_0x50f9(0x41)],'message':_0x1806e6?_0x5d8d46[_0x50f9(0x65)]:_0x5d8d46[_0x50f9(0x66)]});const {isWebViewExtractionPlatform:_0x4ca63b,isHingePlatform:_0x1615da,isInstagramPlatform:_0x3e35b4,isSephoraPlatform:_0x2c66bf,isTelegramPlatform:_0x3088f9}=_0x394d68(0x3);_0x29095d[_0x50f9(0xc)]({'platform':_0x5d8d46[_0x50f9(0x67)],'component':_0x5d8d46[_0x50f9(0x68)],'status':_0x5d8d46['uHcbt'](_0x4ca63b,_0x1615da)&&_0x3e35b4&&_0x2c66bf&&_0x3088f9?_0x5d8d46['GUPBo']:'fail','message':_0x5d8d46[_0x50f9(0x69)]});}catch(_0x52f18c){_0x29095d[_0x50f9(0xc)]({'platform':_0x5d8d46[_0x50f9(0x4b)],'component':_0x5d8d46[_0x50f9(0x5b)],'status':_0x50f9(0x2),'message':'Import\x20error:\x20'+_0x52f18c[_0x50f9(0x4a)]});}return _0x29095d;}else{const {storeHingeData:_0x1570e5}=_0x5d8d46[_0x50f9(0x6a)](__ONAIROS_REQ_FUNC__,0x9);_0xb9524c['push']({'platform':_0x50f9(0x13),'component':_0x5d8d46[_0x50f9(0x4e)],'status':_0x5d8d46[_0x50f9(0x6b)](typeof _0x1570e5,_0x5d8d46[_0x50f9(0x46)])?_0x50f9(0x4):_0x5d8d46[_0x50f9(0x41)],'message':_0x5d8d46[_0x50f9(0x6c)]});}}catch(_0xa53e38){if(_0x5d8d46[_0x50f9(0x6d)](_0x5d8d46[_0x50f9(0x6e)],_0x5d8d46[_0x50f9(0x6e)])){const {storeHingeData:_0x2d706a}=_0x5d8d46[_0x50f9(0x43)](_0x387525,0x9);_0x135f93[_0x50f9(0xc)]({'platform':'hinge','component':'service','status':_0x5d8d46[_0x50f9(0x56)](typeof _0x2d706a,_0x5d8d46[_0x50f9(0x46)])?_0x5d8d46[_0x50f9(0x40)]:'fail','message':_0x5d8d46[_0x50f9(0x6c)]});}else _0xb9524c[_0x50f9(0xc)]({'platform':_0x5d8d46[_0x50f9(0x5f)],'component':'service','status':_0x5d8d46[_0x50f9(0x41)],'message':_0x50f9(0x24)+_0xa53e38[_0x50f9(0x4a)]});}try{if(_0x50f9(0x36)===_0x5d8d46['xKvnR']){const {storeInstagramData:_0x4c383a}=_0x5d8d46['UIjtd'](__ONAIROS_REQ_FUNC__,0xa);_0xb9524c[_0x50f9(0xc)]({'platform':_0x50f9(0x5),'component':'service','status':typeof _0x4c383a===_0x5d8d46[_0x50f9(0x46)]?_0x5d8d46[_0x50f9(0x40)]:'fail','message':_0x5d8d46[_0x50f9(0x6f)]});}else{const {storeTelegramData:_0x30f881}=_0x5d8d46[_0x50f9(0x70)](_0x1ddab8,0xc);_0x4ef33e[_0x50f9(0xc)]({'platform':_0x50f9(0xa),'component':_0x5d8d46[_0x50f9(0x4e)],'status':_0x5d8d46[_0x50f9(0x56)](typeof _0x30f881,_0x5d8d46[_0x50f9(0x46)])?_0x5d8d46[_0x50f9(0x40)]:_0x50f9(0x2),'message':_0x5d8d46[_0x50f9(0x71)]});}}catch(_0x3ec573){_0xb9524c[_0x50f9(0xc)]({'platform':_0x5d8d46[_0x50f9(0x72)],'component':_0x50f9(0x73),'status':_0x5d8d46[_0x50f9(0x41)],'message':_0x50f9(0x24)+_0x3ec573[_0x50f9(0x4a)]});}try{const {storeSephoraData:_0x112865}=_0x5d8d46[_0x50f9(0x74)](__ONAIROS_REQ_FUNC__,0xb);_0xb9524c[_0x50f9(0xc)]({'platform':_0x5d8d46[_0x50f9(0x63)],'component':_0x50f9(0x73),'status':_0x5d8d46[_0x50f9(0x50)](typeof _0x112865,_0x5d8d46[_0x50f9(0x46)])?_0x50f9(0x4):_0x5d8d46[_0x50f9(0x41)],'message':_0x50f9(0x75)});}catch(_0x376203){_0xb9524c[_0x50f9(0xc)]({'platform':_0x5d8d46['xqBIu'],'component':_0x5d8d46[_0x50f9(0x4e)],'status':_0x5d8d46[_0x50f9(0x41)],'message':_0x50f9(0x24)+_0x376203[_0x50f9(0x4a)]});}try{if(_0x5d8d46[_0x50f9(0x6b)](_0x5d8d46[_0x50f9(0x76)],_0x50f9(0x38))){const {storeTelegramData:_0x1ac96c}=_0x5d8d46[_0x50f9(0x43)](__ONAIROS_REQ_FUNC__,0xc);_0xb9524c[_0x50f9(0xc)]({'platform':_0x5d8d46[_0x50f9(0x44)],'component':_0x5d8d46[_0x50f9(0x4e)],'status':typeof _0x1ac96c===_0x5d8d46['Yljyh']?_0x5d8d46[_0x50f9(0x40)]:_0x5d8d46[_0x50f9(0x41)],'message':_0x5d8d46[_0x50f9(0x71)]});}else{const _0x3b296a=_0x5a4b34(0x14),_0x217e5a=_0x5d8d46['mEKEK'](_0x27cdb0,_0x5d8d46[_0x50f9(0x5f)])?_0x50f9(0x77):_0x5d8d46[_0x50f9(0x56)](_0x22e225,_0x5d8d46['llFmt'])?_0x5d8d46['sXXlo']:_0x5d8d46[_0x50f9(0x56)](_0x236c5f,_0x50f9(0xa))?_0x5d8d46[_0x50f9(0x78)]:_0x5d8d46[_0x50f9(0x79)];_0x32b9e8[_0x50f9(0xc)]({'platform':_0x1774ed,'component':_0x5d8d46[_0x50f9(0x4e)],'status':_0x5d8d46[_0x50f9(0x56)](typeof _0x3b296a[_0x217e5a],_0x5d8d46[_0x50f9(0x46)])?_0x5d8d46[_0x50f9(0x40)]:_0x5d8d46['kjRtn'],'message':_0x50f9(0x7a)+_0x217e5a+_0x50f9(0x58)});}}catch(_0x6a3be3){_0x5d8d46[_0x50f9(0x7b)]===_0x5d8d46['QbTKO']?_0x23742a[_0x50f9(0xc)]({'platform':_0x5d8d46[_0x50f9(0x72)],'component':_0x5d8d46[_0x50f9(0x45)],'status':_0x5d8d46['kjRtn'],'message':_0x50f9(0x24)+_0x3404da[_0x50f9(0x4a)]}):_0xb9524c[_0x50f9(0xc)]({'platform':_0x5d8d46['VjlOE'],'component':_0x5d8d46[_0x50f9(0x4e)],'status':_0x5d8d46[_0x50f9(0x41)],'message':'Import\x20error:\x20'+_0x6a3be3[_0x50f9(0x4a)]});}return _0xb9524c;};export const testExtractorImports=()=>{const _0x353480={'ETTcZ':'telegram','gYXtm':'service','MuQxg':_0x50f9(0x2),'gltrf':function(_0x57e733,_0x1fdd8c){return _0x57e733(_0x1fdd8c);},'kAsoL':_0x50f9(0x7c),'fVfzU':'pass','pJuhQ':'Export\x20script\x20available','hSRAu':_0x50f9(0x7d),'qhEyt':function(_0x3da7fe,_0x317e35){return _0x3da7fe(_0x317e35);},'btwdV':'hinge','wtYmW':_0x50f9(0x25),'QcnPo':function(_0xb28fcd,_0x1baaf2){return _0xb28fcd===_0x1baaf2;},'UVFiR':_0x50f9(0x26),'yRVoH':_0x50f9(0x7e),'aGOUt':function(_0x4bbf0a,_0x4c229c){return _0x4bbf0a===_0x4c229c;},'stbty':_0x50f9(0x7f),'rUyiZ':_0x50f9(0x5),'CBMFU':_0x50f9(0x8),'ZNxJW':function(_0x2743ea,_0x1dab58){return _0x2743ea===_0x1dab58;},'ffaIq':'SFmcv','kKUIk':_0x50f9(0x27)},_0x12f78a=[];try{const {useHingeDataExtractor:useHingeDataExtractor}=_0x353480[_0x50f9(0x80)](__ONAIROS_REQ_FUNC__,0xd);_0x12f78a[_0x50f9(0xc)]({'platform':_0x353480[_0x50f9(0x81)],'component':_0x353480[_0x50f9(0x82)],'status':_0x353480[_0x50f9(0x83)](typeof useHingeDataExtractor,_0x353480[_0x50f9(0x84)])?_0x353480[_0x50f9(0x85)]:_0x353480['MuQxg'],'message':_0x353480[_0x50f9(0x86)]});}catch(_0x46bc6e){_0x353480['aGOUt'](_0x50f9(0x87),_0x353480[_0x50f9(0x88)])?_0x32d51a[_0x50f9(0xc)]({'platform':_0x353480[_0x50f9(0x89)],'component':_0x353480[_0x50f9(0x8a)],'status':_0x353480[_0x50f9(0x8b)],'message':'Import\x20error:\x20'+_0x14aed2[_0x50f9(0x4a)]}):_0x12f78a[_0x50f9(0xc)]({'platform':_0x353480[_0x50f9(0x81)],'component':_0x353480['wtYmW'],'status':_0x353480[_0x50f9(0x8b)],'message':_0x50f9(0x24)+_0x46bc6e[_0x50f9(0x4a)]});}try{const {useInstagramDataExtractor:useInstagramDataExtractor}=_0x353480['qhEyt'](__ONAIROS_REQ_FUNC__,0xe);_0x12f78a[_0x50f9(0xc)]({'platform':_0x353480['rUyiZ'],'component':_0x50f9(0x25),'status':typeof useInstagramDataExtractor===_0x353480[_0x50f9(0x84)]?_0x50f9(0x4):_0x50f9(0x2),'message':_0x50f9(0x8c)});}catch(_0x8d0ab1){_0x12f78a[_0x50f9(0xc)]({'platform':_0x353480[_0x50f9(0x8d)],'component':_0x50f9(0x25),'status':_0x353480[_0x50f9(0x8b)],'message':_0x50f9(0x24)+_0x8d0ab1[_0x50f9(0x4a)]});}try{const {useSephoraDataExtractor:useSephoraDataExtractor}=_0x353480[_0x50f9(0x80)](__ONAIROS_REQ_FUNC__,0xf);_0x12f78a[_0x50f9(0xc)]({'platform':_0x353480[_0x50f9(0x8e)],'component':_0x353480[_0x50f9(0x82)],'status':_0x353480[_0x50f9(0x8f)](typeof useSephoraDataExtractor,_0x353480[_0x50f9(0x84)])?_0x353480['fVfzU']:_0x353480[_0x50f9(0x8b)],'message':'Sephora\x20extractor\x20hook\x20available'});}catch(_0x44f129){if(_0x353480[_0x50f9(0x90)](_0x353480['ffaIq'],_0x353480['ffaIq']))_0x12f78a['push']({'platform':_0x50f9(0x8),'component':'extractor','status':_0x50f9(0x2),'message':_0x50f9(0x24)+_0x44f129[_0x50f9(0x4a)]});else{const _0x1b505d=_0x353480[_0x50f9(0x91)](_0x29fe95,0x0),_0x4ad3fc=_0x42418d['toUpperCase']()+_0x50f9(0x92),_0x45ee79=!!_0x1b505d[_0x4ad3fc];_0x2bcfef['push']({'platform':_0x5c24b9,'component':_0x353480['kAsoL'],'status':_0x45ee79?_0x353480[_0x50f9(0x85)]:_0x353480['MuQxg'],'message':_0x45ee79?_0x353480[_0x50f9(0x93)]:_0x353480[_0x50f9(0x94)]});}}try{const {useTelegramDataExtractor:useTelegramDataExtractor}=__ONAIROS_REQ_FUNC__(0x10);_0x12f78a['push']({'platform':_0x353480[_0x50f9(0x89)],'component':_0x353480[_0x50f9(0x82)],'status':typeof useTelegramDataExtractor===_0x50f9(0x26)?_0x353480[_0x50f9(0x85)]:_0x353480[_0x50f9(0x8b)],'message':_0x353480[_0x50f9(0x95)]});}catch(_0x1b493a){_0x12f78a['push']({'platform':_0x353480[_0x50f9(0x89)],'component':_0x353480[_0x50f9(0x82)],'status':_0x353480['MuQxg'],'message':_0x50f9(0x24)+_0x1b493a[_0x50f9(0x4a)]});}return _0x12f78a;};export const testBackendConnectivity=async()=>{const _0x440863={'SgYdY':function(_0x319672,_0x312000){return _0x319672(_0x312000);},'KNApd':_0x50f9(0x13),'IbPVQ':_0x50f9(0x2),'sCrln':'Hinge\x20detection\x20correct','ZYWTW':_0x50f9(0x96),'htZZs':'instagram','dCwnv':function(_0x1d909e,_0x5978e0){return _0x1d909e(_0x5978e0);},'ZdPOZ':_0x50f9(0x97),'MIkcd':'Instagram\x20detection\x20correct','ZpEdW':_0x50f9(0x98),'OQeYu':'sephora','MjvEm':_0x50f9(0x4),'udDwa':_0x50f9(0x99),'haTeJ':_0x50f9(0x9a),'hHxDz':function(_0x3439ba,_0x21b29d){return _0x3439ba(_0x21b29d);},'baFzP':_0x50f9(0xa),'uLIBz':_0x50f9(0x9b),'HFMFc':'all','ieueH':function(_0x4fde85,_0x19d092){return _0x4fde85===_0x19d092;},'gqmEf':_0x50f9(0x1),'UYXqp':_0x50f9(0xf),'vzZmu':_0x50f9(0x28),'kIFNK':function(_0x439f5d,_0x2a9013){return _0x439f5d(_0x2a9013);},'tGICf':'claude','NLCtC':_0x50f9(0x11),'nuXuM':_0x50f9(0x9c),'ujolG':_0x50f9(0x16),'yBUHf':'Hinge\x20scripts\x20missing','rbNuU':_0x50f9(0x6),'UdoNM':_0x50f9(0x7),'TxdqG':_0x50f9(0x9d),'yWHdh':_0x50f9(0x9),'lzfBB':_0x50f9(0x29),'vqUQd':_0x50f9(0x2a),'cliEU':_0x50f9(0x2b),'sBXKf':function(_0x52bda4,_0x370b8d){return _0x52bda4&&_0x370b8d;},'HwqXg':_0x50f9(0x2c),'zceGr':function(_0x2d1cb2,_0xca4df,_0x4958d1){return _0x2d1cb2(_0xca4df,_0x4958d1);},'lkFYI':function(_0x35b80b,_0x2b3762){return _0x35b80b(_0x2b3762);},'NAZJo':_0x50f9(0x9e),'gIsJi':'Backend\x20health\x20check\x20passed','OfGMT':function(_0x197a5c,_0x56a6af){return _0x197a5c!==_0x56a6af;},'Ailly':'dpyyi','oYQNT':'aDPzZ','EQOku':_0x50f9(0x9f),'dhmqL':_0x50f9(0xa0),'LQVSx':function(_0x37e377,_0x30042e,_0x3fe6c4){return _0x37e377(_0x30042e,_0x3fe6c4);},'VXoQG':function(_0x5c02aa,_0x126b71,_0x29ed13){return _0x5c02aa(_0x126b71,_0x29ed13);},'yfBua':_0x50f9(0xa1),'uGOjC':function(_0x14f400,_0x37caca){return _0x14f400(_0x37caca);},'OKmNs':_0x50f9(0xa2),'iKrre':_0x50f9(0xa3),'oBFYj':_0x50f9(0xa4)},_0x24839f=[];try{const _0x3dc804=new AbortController(),_0x532722=_0x440863[_0x50f9(0xa5)](setTimeout,()=>_0x3dc804['abort'](),0x2710),_0x3c569d=await _0x440863[_0x50f9(0xa5)](fetch,API_CONFIG[_0x50f9(0xa6)]+'/health',{'method':'GET','signal':_0x3dc804['signal']});_0x440863[_0x50f9(0xa7)](clearTimeout,_0x532722),_0x24839f[_0x50f9(0xc)]({'platform':_0x50f9(0x9f),'component':_0x440863[_0x50f9(0xa8)],'status':_0x3c569d['ok']?_0x440863[_0x50f9(0xa9)]:'warning','message':_0x3c569d['ok']?_0x440863['gIsJi']:_0x50f9(0xaa)+_0x3c569d[_0x50f9(0xab)],'details':{'status':_0x3c569d[_0x50f9(0xab)]}});}catch(_0xb10268){if(_0x440863[_0x50f9(0xac)](_0x440863[_0x50f9(0xad)],_0x440863['oYQNT']))_0x24839f[_0x50f9(0xc)]({'platform':_0x440863[_0x50f9(0xae)],'component':_0x440863[_0x50f9(0xa8)],'status':_0x440863[_0x50f9(0xaf)],'message':_0x50f9(0xb0)+_0xb10268[_0x50f9(0x4a)]});else{const _0x353161=[];try{const {isWebViewExtractionPlatform:_0x337e5b,isHingePlatform:_0x1e7361,isInstagramPlatform:_0x16e174,isSephoraPlatform:_0x3c6222,isLLMPlatform:_0x485305}=_0x440863[_0x50f9(0xb1)](_0xdbc40c,0x2),_0x1ce97b=_0x440863[_0x50f9(0xb1)](_0x1e7361,_0x440863[_0x50f9(0xb2)])&&_0x440863['SgYdY'](_0x337e5b,_0x440863[_0x50f9(0xb2)])&&!_0x440863[_0x50f9(0xb1)](_0x485305,_0x440863[_0x50f9(0xb2)]);_0x353161[_0x50f9(0xc)]({'platform':_0x440863['KNApd'],'component':_0x50f9(0x97),'status':_0x1ce97b?'pass':_0x440863['IbPVQ'],'message':_0x1ce97b?_0x440863['sCrln']:_0x440863[_0x50f9(0xb3)]});const _0x1c5941=_0x16e174(_0x440863[_0x50f9(0xb4)])&&_0x440863[_0x50f9(0xb5)](_0x337e5b,_0x440863[_0x50f9(0xb4)])&&!_0x485305(_0x50f9(0x5));_0x353161[_0x50f9(0xc)]({'platform':_0x440863['htZZs'],'component':_0x440863['ZdPOZ'],'status':_0x1c5941?_0x50f9(0x4):_0x440863['IbPVQ'],'message':_0x1c5941?_0x440863[_0x50f9(0xb6)]:_0x440863[_0x50f9(0xb7)]});const _0x35c7bb=_0x3c6222(_0x440863['OQeYu'])&&_0x440863[_0x50f9(0xb5)](_0x337e5b,_0x440863[_0x50f9(0xb8)])&&!_0x440863[_0x50f9(0xb5)](_0x485305,_0x440863[_0x50f9(0xb8)]);_0x353161[_0x50f9(0xc)]({'platform':_0x50f9(0x8),'component':_0x50f9(0x97),'status':_0x35c7bb?_0x440863[_0x50f9(0xa9)]:_0x440863[_0x50f9(0xaf)],'message':_0x35c7bb?_0x440863['udDwa']:_0x440863[_0x50f9(0xb9)]});const {isTelegramPlatform:_0xe2f5f6}=_0x440863[_0x50f9(0xb1)](_0x5f2ffc,0x1),_0x68e8bb=_0x440863[_0x50f9(0xba)](_0xe2f5f6,'telegram')&&_0x337e5b(_0x440863[_0x50f9(0xbb)])&&!_0x440863[_0x50f9(0xba)](_0x485305,_0x440863[_0x50f9(0xbb)]);_0x353161[_0x50f9(0xc)]({'platform':_0x440863['baFzP'],'component':_0x440863[_0x50f9(0xbc)],'status':_0x68e8bb?_0x440863[_0x50f9(0xa9)]:_0x440863[_0x50f9(0xaf)],'message':_0x68e8bb?_0x50f9(0xbd):_0x440863[_0x50f9(0xbe)]});}catch(_0x396391){_0x353161[_0x50f9(0xc)]({'platform':_0x440863[_0x50f9(0xbf)],'component':_0x440863[_0x50f9(0xbc)],'status':'fail','message':_0x50f9(0xc0)+_0x396391[_0x50f9(0x4a)]});}return _0x353161;}}try{if(_0x440863[_0x50f9(0xc1)](_0x50f9(0xc2),_0x440863[_0x50f9(0xc3)])){const _0x1c53b8=_0x440863[_0x50f9(0xc1)](_0x26a088[_0x50f9(0xab)],_0x440863[_0x50f9(0xa9)])?'✅':_0x2394ef[_0x50f9(0xab)]===_0x50f9(0x2)?'❌':'⚠️';_0x24cf45[_0x50f9(0xc4)](_0x1c53b8+'\x20'+_0x2a716a[_0x50f9(0xc5)]+':\x20'+_0x1f20f2['message']);}else{const _0xacfaf=new AbortController(),_0x49984f=_0x440863[_0x50f9(0xc6)](setTimeout,()=>_0xacfaf[_0x50f9(0xc7)](),0x2710),_0xea85af=await _0x440863[_0x50f9(0xc8)](fetch,API_CONFIG[_0x50f9(0xa6)]+_0x50f9(0xc9),{'method':_0x440863[_0x50f9(0xca)],'signal':_0xacfaf['signal']});_0x440863[_0x50f9(0xcb)](clearTimeout,_0x49984f),_0x24839f[_0x50f9(0xc)]({'platform':'backend','component':_0x440863[_0x50f9(0xcc)],'status':_0xea85af['status']<0x1f4?_0x440863[_0x50f9(0xa9)]:_0x440863[_0x50f9(0xcd)],'message':'Platform\x20data\x20endpoint\x20check:\x20'+_0xea85af[_0x50f9(0xab)],'details':{'status':_0xea85af[_0x50f9(0xab)]}});}}catch(_0x20ade6){if(_0x50f9(0xa4)===_0x440863['oBFYj'])_0x24839f[_0x50f9(0xc)]({'platform':_0x50f9(0x9f),'component':_0x440863['OKmNs'],'status':_0x50f9(0xa3),'message':_0x50f9(0xce)+_0x20ade6['message']});else{const {CHATGPT_CONSENT_POPUP_SCRIPT:_0x3c6257,CHATGPT_EXPORT_SCRIPT:_0x2edd74}=_0x441965(0x13);_0x55d951[_0x50f9(0xc)]({'platform':'chatgpt','component':_0x440863[_0x50f9(0xcf)],'status':_0x2edd74?_0x440863['MjvEm']:_0x440863[_0x50f9(0xaf)],'message':_0x2edd74?_0x440863[_0x50f9(0xd0)]:_0x440863['vzZmu']});const {CLAUDE_CONSENT_POPUP_SCRIPT:_0x398dcb,CLAUDE_EXPORT_SCRIPT:_0x119957}=_0x440863[_0x50f9(0xd1)](_0x677400,0x12);_0x33d223['push']({'platform':_0x440863[_0x50f9(0xd2)],'component':_0x440863[_0x50f9(0xcf)],'status':_0x119957?_0x440863[_0x50f9(0xa9)]:_0x440863['IbPVQ'],'message':_0x119957?_0x440863['NLCtC']:_0x440863['nuXuM']});const {HINGE_CONSENT_POPUP_SCRIPT:_0x270c2e,HINGE_EXPORT_SCRIPT:_0x2f56f3}=_0x514e50(0x11);_0x13fa47[_0x50f9(0xc)]({'platform':_0x50f9(0x13),'component':_0x440863[_0x50f9(0xcf)],'status':_0x2f56f3?_0x440863['MjvEm']:_0x50f9(0x2),'message':_0x2f56f3?_0x440863['ujolG']:_0x440863[_0x50f9(0xd3)]});const {INSTAGRAM_CONSENT_POPUP_SCRIPT:_0x4d7034,INSTAGRAM_EXPORT_SCRIPT:_0x15da27}=_0x440863[_0x50f9(0xb5)](_0x4c2766,0x6);_0x51ee49['push']({'platform':_0x440863[_0x50f9(0xb4)],'component':_0x440863['gqmEf'],'status':_0x15da27?_0x440863[_0x50f9(0xa9)]:_0x440863[_0x50f9(0xaf)],'message':_0x15da27?_0x440863[_0x50f9(0xd4)]:_0x440863[_0x50f9(0xd5)]});const {SEPHORA_CONSENT_POPUP_SCRIPT:_0x3a7cc3,SEPHORA_EXPORT_SCRIPT:_0x26470c}=_0x440863['hHxDz'](_0x540a26,0x5);_0x5bafd8[_0x50f9(0xc)]({'platform':_0x440863[_0x50f9(0xb8)],'component':_0x440863[_0x50f9(0xcf)],'status':_0x26470c?_0x440863[_0x50f9(0xa9)]:_0x50f9(0x2),'message':_0x26470c?_0x440863[_0x50f9(0xd6)]:_0x440863[_0x50f9(0xd7)]});const {TELEGRAM_CONSENT_POPUP_SCRIPT:_0x57edbc,TELEGRAM_EXPORT_SCRIPT:_0x1e68f4}=_0x458d99(0x4);_0xea4c33[_0x50f9(0xc)]({'platform':_0x440863[_0x50f9(0xbb)],'component':_0x50f9(0x1),'status':_0x1e68f4?_0x440863[_0x50f9(0xa9)]:_0x440863[_0x50f9(0xaf)],'message':_0x1e68f4?_0x440863['lzfBB']:_0x50f9(0x20)});const {isWebViewExtractionPlatform:_0x306946,isHingePlatform:_0x4d52a2,isInstagramPlatform:_0x2888e0,isSephoraPlatform:_0x4c4d2e,isTelegramPlatform:_0x43261d}=_0x4d6325(0x3);_0x140093[_0x50f9(0xc)]({'platform':_0x440863[_0x50f9(0xd8)],'component':_0x440863[_0x50f9(0xd9)],'status':_0x440863[_0x50f9(0xda)](_0x306946,_0x4d52a2)&&_0x2888e0&&_0x4c4d2e&&_0x43261d?_0x50f9(0x4):_0x440863[_0x50f9(0xaf)],'message':_0x440863[_0x50f9(0xdb)]});}}return _0x24839f;};export const testPlatformDetection=()=>{const _0xd7f3a2={'fKFyS':function(_0x36e6ef,_0x4d7e1b){return _0x36e6ef(_0x4d7e1b);},'ZCYpP':_0x50f9(0x13),'TBAYS':function(_0x44d2ad,_0x1de236){return _0x44d2ad(_0x1de236);},'NlJtO':_0x50f9(0x4),'qOvgi':_0x50f9(0x2),'aSfdG':_0x50f9(0x5),'GZitX':function(_0x461b86,_0x5b909f){return _0x461b86(_0x5b909f);},'SRkJr':_0x50f9(0x97),'YiHTa':'sephora','bFJww':_0x50f9(0x99),'DsSdV':_0x50f9(0xa),'dSzhH':_0x50f9(0xbd),'ExHJJ':'Telegram\x20detection\x20failed','srMZh':'all'},_0x2c7de4=[];try{const {isWebViewExtractionPlatform:_0x54a6a9,isHingePlatform:_0x19e648,isInstagramPlatform:_0xc772a7,isSephoraPlatform:_0x2b083d,isLLMPlatform:_0x2eb724}=_0xd7f3a2[_0x50f9(0xdc)](__ONAIROS_REQ_FUNC__,0x2),_0x367fd7=_0x19e648(_0xd7f3a2[_0x50f9(0xdd)])&&_0xd7f3a2[_0x50f9(0xdc)](_0x54a6a9,_0xd7f3a2[_0x50f9(0xdd)])&&!_0xd7f3a2[_0x50f9(0xde)](_0x2eb724,_0xd7f3a2['ZCYpP']);_0x2c7de4[_0x50f9(0xc)]({'platform':_0xd7f3a2['ZCYpP'],'component':_0x50f9(0x97),'status':_0x367fd7?_0xd7f3a2['NlJtO']:_0xd7f3a2[_0x50f9(0xdf)],'message':_0x367fd7?_0x50f9(0xe0):_0x50f9(0x96)});const _0x24e636=_0xd7f3a2[_0x50f9(0xde)](_0xc772a7,_0xd7f3a2[_0x50f9(0xe1)])&&_0xd7f3a2['TBAYS'](_0x54a6a9,_0xd7f3a2[_0x50f9(0xe1)])&&!_0xd7f3a2[_0x50f9(0xe2)](_0x2eb724,_0xd7f3a2['aSfdG']);_0x2c7de4[_0x50f9(0xc)]({'platform':_0x50f9(0x5),'component':_0xd7f3a2[_0x50f9(0xe3)],'status':_0x24e636?_0xd7f3a2['NlJtO']:_0xd7f3a2[_0x50f9(0xdf)],'message':_0x24e636?_0x50f9(0xe4):_0x50f9(0x98)});const _0xf44e4c=_0x2b083d(_0xd7f3a2[_0x50f9(0xe5)])&&_0x54a6a9(_0xd7f3a2[_0x50f9(0xe5)])&&!_0xd7f3a2[_0x50f9(0xdc)](_0x2eb724,_0xd7f3a2[_0x50f9(0xe5)]);_0x2c7de4[_0x50f9(0xc)]({'platform':_0xd7f3a2['YiHTa'],'component':_0x50f9(0x97),'status':_0xf44e4c?_0xd7f3a2[_0x50f9(0xe6)]:_0x50f9(0x2),'message':_0xf44e4c?_0xd7f3a2[_0x50f9(0xe7)]:'Sephora\x20detection\x20failed'});const {isTelegramPlatform:_0x2d8fac}=_0xd7f3a2['TBAYS'](__ONAIROS_REQ_FUNC__,0x1),_0x19449b=_0x2d8fac(_0xd7f3a2[_0x50f9(0xe8)])&&_0xd7f3a2[_0x50f9(0xe2)](_0x54a6a9,_0x50f9(0xa))&&!_0x2eb724(_0xd7f3a2[_0x50f9(0xe8)]);_0x2c7de4['push']({'platform':_0xd7f3a2[_0x50f9(0xe8)],'component':_0xd7f3a2[_0x50f9(0xe3)],'status':_0x19449b?'pass':_0xd7f3a2[_0x50f9(0xdf)],'message':_0x19449b?_0xd7f3a2['dSzhH']:_0xd7f3a2[_0x50f9(0xe9)]});}catch(_0x29879e){_0x2c7de4[_0x50f9(0xc)]({'platform':_0xd7f3a2[_0x50f9(0xea)],'component':_0xd7f3a2[_0x50f9(0xe3)],'status':_0xd7f3a2['qOvgi'],'message':_0x50f9(0xc0)+_0x29879e['message']});}return _0x2c7de4;};export const runConnectorSanityTests=async()=>{const _0x4312ce={'MlnBN':function(_0x74df2c,_0x5daf1d){return _0x74df2c(_0x5daf1d);},'tOAHM':_0x50f9(0x8),'rqaHK':function(_0x29755c,_0x8095b0){return _0x29755c===_0x8095b0;},'avjPb':_0x50f9(0x2),'XANsM':'Sephora\x20extractor\x20hook\x20available','xpiUt':_0x50f9(0x9f),'WCqom':_0x50f9(0xa2),'HRSjt':'warning','cgVgq':_0x50f9(0xeb),'DcKgr':_0x50f9(0xec),'nRpcj':function(_0x4ef870){return _0x4ef870();},'Gcjsz':_0x50f9(0xed),'kvTEb':_0x50f9(0xee),'rYztF':_0x50f9(0xef),'SwPDv':_0x50f9(0xf0),'cZcyf':_0x50f9(0xf1),'iquhq':_0x50f9(0xf2),'BZawr':_0x50f9(0xf3),'YVuiX':function(_0x43db18,_0x38ffde){return _0x43db18===_0x38ffde;},'rCuZu':_0x50f9(0x4),'acgkz':function(_0x7abb7f,_0xe33066){return _0x7abb7f===_0xe33066;},'ilXfw':function(_0x268f10,_0x394aed){return _0x268f10>_0x394aed;},'EEbPf':function(_0x3f42f7,_0x494ea3){return _0x3f42f7!==_0x494ea3;},'WGjVH':_0x50f9(0xf4),'KCSko':_0x50f9(0xf5),'qwCUY':function(_0x2a50c3,_0x3c500e){return _0x2a50c3>_0x3c500e;},'NqDfN':function(_0x12acf0,_0x4edb60){return _0x12acf0!==_0x4edb60;},'HBYVU':_0x50f9(0xf6),'DwTLv':_0x50f9(0xf7),'ulvKs':_0x50f9(0xf8)};console[_0x50f9(0xc4)](_0x4312ce[_0x50f9(0xf9)]);const _0x2fc2ca=[];console[_0x50f9(0xc4)](_0x4312ce[_0x50f9(0xfa)]),_0x2fc2ca['push'](..._0x4312ce[_0x50f9(0xfb)](testWebViewScriptExports)),console[_0x50f9(0xc4)](_0x4312ce['Gcjsz']),_0x2fc2ca[_0x50f9(0xc)](...testServiceImports()),console['log'](_0x4312ce[_0x50f9(0xfc)]),_0x2fc2ca[_0x50f9(0xc)](..._0x4312ce[_0x50f9(0xfb)](testExtractorImports)),console[_0x50f9(0xc4)](_0x4312ce[_0x50f9(0xfd)]),_0x2fc2ca['push'](..._0x4312ce[_0x50f9(0xfb)](testPlatformDetection)),console[_0x50f9(0xc4)](_0x4312ce[_0x50f9(0xfe)]),_0x2fc2ca[_0x50f9(0xc)](...await _0x4312ce[_0x50f9(0xfb)](testBackendConnectivity));const _0x65e86a=_0x2fc2ca['filter'](_0x380cba=>_0x380cba[_0x50f9(0xab)]===_0x50f9(0x4))[_0x50f9(0xff)],_0x436878=_0x2fc2ca[_0x50f9(0x100)](_0x34ce30=>_0x34ce30[_0x50f9(0xab)]===_0x50f9(0x2))[_0x50f9(0xff)],_0x2ee6b8=_0x2fc2ca['filter'](_0x114a62=>_0x114a62[_0x50f9(0xab)]===_0x50f9(0xa3))[_0x50f9(0xff)];console[_0x50f9(0xc4)](_0x4312ce['cZcyf']),console['log'](_0x4312ce[_0x50f9(0x101)]),console[_0x50f9(0xc4)](_0x4312ce[_0x50f9(0x102)]);for(const _0x271978 of _0x2fc2ca){const _0x1d3fce=_0x4312ce[_0x50f9(0x103)](_0x271978[_0x50f9(0xab)],_0x4312ce[_0x50f9(0x104)])?'✅':_0x4312ce['acgkz'](_0x271978[_0x50f9(0xab)],_0x4312ce[_0x50f9(0x105)])?'❌':'⚠️';console[_0x50f9(0xc4)](_0x1d3fce+'\x20['+_0x271978[_0x50f9(0x106)][_0x50f9(0x107)]()+']\x20'+_0x271978[_0x50f9(0xc5)]+':\x20'+_0x271978[_0x50f9(0x4a)]);}console[_0x50f9(0xc4)](_0x4312ce[_0x50f9(0x108)]),console[_0x50f9(0xc4)](_0x50f9(0x109)+_0x65e86a+_0x50f9(0x10a)+_0x436878+_0x50f9(0x10b)+_0x2ee6b8+_0x50f9(0x10c)),console[_0x50f9(0xc4)](_0x4312ce[_0x50f9(0x102)]);if(_0x4312ce['ilXfw'](_0x436878,0x0)){if(_0x4312ce[_0x50f9(0x10d)](_0x50f9(0xf4),_0x4312ce[_0x50f9(0x10e)])){const {useSephoraDataExtractor:useSephoraDataExtractor}=_0x4312ce['MlnBN'](_0x5d9ceb,0xf);_0x439fd9['push']({'platform':_0x4312ce[_0x50f9(0x10f)],'component':'extractor','status':_0x4312ce[_0x50f9(0x110)](typeof useSephoraDataExtractor,'function')?_0x50f9(0x4):_0x4312ce[_0x50f9(0x105)],'message':_0x4312ce[_0x50f9(0x111)]});}else console[_0x50f9(0xc4)](_0x4312ce[_0x50f9(0x112)]);}else _0x4312ce[_0x50f9(0x113)](_0x2ee6b8,0x0)?_0x4312ce[_0x50f9(0x114)](_0x50f9(0x115),_0x4312ce[_0x50f9(0x116)])?console[_0x50f9(0xc4)](_0x4312ce[_0x50f9(0x117)]):_0x52e1ce[_0x50f9(0xc)]({'platform':_0x4312ce[_0x50f9(0x118)],'component':_0x4312ce['WCqom'],'status':_0x4312ce[_0x50f9(0x119)],'message':_0x50f9(0xce)+_0x2a2338[_0x50f9(0x4a)]}):console[_0x50f9(0xc4)](_0x4312ce[_0x50f9(0x11a)]);return{'passed':_0x65e86a,'failed':_0x436878,'warnings':_0x2ee6b8,'results':_0x2fc2ca};};export const testPlatformConnector=async _0x3c2da0=>{const _0x4a10a7={'NBKwZ':_0x50f9(0x4),'sPtUW':function(_0x4a42bc,_0x5c38d7){return _0x4a42bc===_0x5c38d7;},'aNgmo':'fail','htWOl':function(_0xaa5064,_0x4077e1){return _0xaa5064(_0x4077e1);},'eNVDl':_0x50f9(0x0),'WcPZc':'ChatGPT\x20service\x20function\x20available','JUCPJ':'❌\x20Some\x20tests\x20failed!\x20Please\x20check\x20the\x20errors\x20above.','jhztB':_0x50f9(0xf7),'OBFux':_0x50f9(0x11b),'oHfTq':_0x50f9(0xa3),'KtVOz':_0x50f9(0x25),'oDQjC':_0x50f9(0x26),'JHpWH':'Hinge\x20extractor\x20hook\x20available','bffga':function(_0x39c157,_0x336dca){return _0x39c157(_0x336dca);},'nosZs':_0x50f9(0x3),'ZIfHp':_0x50f9(0x73),'ZzUUo':function(_0x2e9ecd,_0x472bfe){return _0x2e9ecd===_0x472bfe;},'rlMDr':'Claude\x20service\x20function\x20available','cNwbQ':_0x50f9(0x13),'bUYpl':'instagram','vvLDz':_0x50f9(0x8),'HIaKx':'telegram','FoMuY':function(_0x26386f,_0x2ffcc3){return _0x26386f===_0x2ffcc3;},'KNwAA':'sveLF','xXgdV':'Export\x20script\x20available','vUoQI':_0x50f9(0x7d),'IWfYF':function(_0x31ed1f,_0x246f45){return _0x31ed1f!==_0x246f45;},'CHCMT':_0x50f9(0x11c),'TTNtN':_0x50f9(0x7c),'pNdMP':function(_0x49d102,_0x188ee2){return _0x49d102===_0x188ee2;},'WTDKA':_0x50f9(0x11d),'Qautu':function(_0xac6286,_0x5f65e5){return _0xac6286===_0x5f65e5;},'xZMfL':function(_0xd7b8fc,_0x15cf27){return _0xd7b8fc===_0x15cf27;},'sghzG':_0x50f9(0x31),'xBLjS':function(_0x38d15,_0x30fe67){return _0x38d15===_0x30fe67;},'mnlFP':function(_0x63d987,_0x43a908){return _0x63d987===_0x43a908;},'Mzova':_0x50f9(0x11e),'wvcXr':_0x50f9(0x11f),'hXOXp':_0x50f9(0x120),'ETyPZ':_0x50f9(0x121),'GWjPg':function(_0xc45264,_0x1baba0){return _0xc45264+_0x1baba0;},'YeukN':function(_0x372d0a,_0x33e735){return _0x372d0a!==_0x33e735;},'QLWKi':_0x50f9(0x122),'jYRYh':function(_0x166110,_0x431682){return _0x166110===_0x431682;}};console['log'](_0x50f9(0x123)+_0x3c2da0+'\x20connector...\x0a');const _0x19c825=[],_0x525aad=_0x3c2da0[_0x50f9(0x124)]();if([_0x4a10a7['cNwbQ'],_0x4a10a7[_0x50f9(0x125)],_0x4a10a7[_0x50f9(0x126)],_0x4a10a7[_0x50f9(0x127)]]['includes'](_0x525aad)){try{if(_0x4a10a7['FoMuY'](_0x4a10a7[_0x50f9(0x128)],_0x50f9(0x129))){const _0x57c1b8=_0x4a10a7[_0x50f9(0x12a)](__ONAIROS_REQ_FUNC__,0x0),_0x52ea19=_0x525aad[_0x50f9(0x107)]()+_0x50f9(0x92),_0x535c1a=!!_0x57c1b8[_0x52ea19];_0x19c825[_0x50f9(0xc)]({'platform':_0x525aad,'component':_0x50f9(0x7c),'status':_0x535c1a?_0x4a10a7[_0x50f9(0x12b)]:_0x50f9(0x2),'message':_0x535c1a?_0x4a10a7[_0x50f9(0x12c)]:_0x4a10a7[_0x50f9(0x12d)]});}else{const _0x5e700c=_0x544a73[_0x50f9(0xab)]===_0x4a10a7[_0x50f9(0x12b)]?'✅':_0x4a10a7['sPtUW'](_0x3130a8['status'],_0x4a10a7[_0x50f9(0x12e)])?'❌':'⚠️';_0x37f8a1['log'](_0x5e700c+'\x20['+_0x4c1570['platform'][_0x50f9(0x107)]()+']\x20'+_0x57e08a[_0x50f9(0xc5)]+':\x20'+_0x45037f[_0x50f9(0x4a)]);}}catch(_0x431def){if(_0x4a10a7[_0x50f9(0x12f)](_0x4a10a7[_0x50f9(0x130)],_0x50f9(0x11c))){const {storeChatGPTConversations:_0x4af602}=_0x4a10a7['htWOl'](_0x399092,0x7);_0x5cd05f[_0x50f9(0xc)]({'platform':_0x4a10a7[_0x50f9(0x131)],'component':_0x50f9(0x73),'status':_0x4a10a7[_0x50f9(0x132)](typeof _0x4af602,'function')?_0x4a10a7['NBKwZ']:_0x4a10a7['aNgmo'],'message':_0x4a10a7['WcPZc']});}else _0x19c825['push']({'platform':_0x525aad,'component':_0x4a10a7[_0x50f9(0x133)],'status':_0x50f9(0x2),'message':'Script\x20import\x20failed:\x20'+_0x431def[_0x50f9(0x4a)]});}try{if(_0x4a10a7[_0x50f9(0x134)](_0x4a10a7[_0x50f9(0x135)],_0x50f9(0x136)))_0x31f513['log'](_0x4a10a7[_0x50f9(0x137)]);else{const _0x2357a8=__ONAIROS_REQ_FUNC__(0x14),_0x261b65=_0x4a10a7[_0x50f9(0x132)](_0x525aad,_0x4a10a7[_0x50f9(0x138)])?_0x50f9(0x77):_0x4a10a7['Qautu'](_0x525aad,_0x4a10a7[_0x50f9(0x125)])?_0x50f9(0x2f):_0x4a10a7[_0x50f9(0x139)](_0x525aad,_0x4a10a7['HIaKx'])?_0x50f9(0x30):_0x4a10a7['sghzG'];_0x19c825[_0x50f9(0xc)]({'platform':_0x525aad,'component':_0x4a10a7[_0x50f9(0x13a)],'status':_0x4a10a7['xBLjS'](typeof _0x2357a8[_0x261b65],_0x4a10a7['oDQjC'])?_0x4a10a7[_0x50f9(0x12b)]:_0x4a10a7[_0x50f9(0x12e)],'message':_0x50f9(0x7a)+_0x261b65+_0x50f9(0x58)});}}catch(_0x3d8dc8){_0x4a10a7[_0x50f9(0x13b)](_0x4a10a7[_0x50f9(0x13c)],_0x4a10a7['wvcXr'])?_0x2d0e07['log'](_0x4a10a7[_0x50f9(0x13d)]):_0x19c825[_0x50f9(0xc)]({'platform':_0x525aad,'component':_0x50f9(0x73),'status':_0x50f9(0x2),'message':'Service\x20import\x20failed:\x20'+_0x3d8dc8[_0x50f9(0x4a)]});}try{if(_0x4a10a7[_0x50f9(0x13e)]===_0x4a10a7['ETyPZ'])_0x1b451a['push']({'platform':_0x812b9d,'component':_0x4a10a7[_0x50f9(0x13f)],'status':_0x4a10a7[_0x50f9(0x140)],'message':_0x50f9(0x141)+_0x5512de+_0x50f9(0x142)});else{const _0x457887=_0x4a10a7['htWOl'](__ONAIROS_REQ_FUNC__,0x15),_0x4d5090=_0x50f9(0x52)+_0x4a10a7['GWjPg'](_0x525aad[_0x50f9(0x54)](0x0)[_0x50f9(0x107)](),_0x525aad[_0x50f9(0x143)](0x1))+_0x50f9(0x55);_0x19c825[_0x50f9(0xc)]({'platform':_0x525aad,'component':_0x50f9(0x25),'status':typeof _0x457887[_0x4d5090]===_0x4a10a7[_0x50f9(0x144)]?_0x50f9(0x4):_0x4a10a7[_0x50f9(0x12e)],'message':_0x50f9(0x57)+_0x4d5090+'\x20available'});}}catch(_0x5a30c9){if(_0x4a10a7[_0x50f9(0x145)](_0x4a10a7[_0x50f9(0x146)],_0x4a10a7['QLWKi'])){const {useHingeDataExtractor:useHingeDataExtractor}=_0x28cee7(0xd);_0x7c72ed[_0x50f9(0xc)]({'platform':_0x50f9(0x13),'component':_0x4a10a7['KtVOz'],'status':typeof useHingeDataExtractor===_0x4a10a7['oDQjC']?_0x4a10a7[_0x50f9(0x12b)]:'fail','message':_0x4a10a7['JHpWH']});}else _0x19c825[_0x50f9(0xc)]({'platform':_0x525aad,'component':_0x4a10a7['KtVOz'],'status':_0x50f9(0x2),'message':_0x50f9(0x147)+_0x5a30c9[_0x50f9(0x4a)]});}}else _0x19c825['push']({'platform':_0x525aad,'component':_0x50f9(0x11b),'status':_0x4a10a7[_0x50f9(0x140)],'message':'Unknown\x20platform:\x20'+_0x3c2da0+_0x50f9(0x142)});for(const _0x153799 of _0x19c825){if(_0x50f9(0x148)===_0x50f9(0x149)){const {storeClaudeConversations:_0x2f1e55}=_0x4a10a7['bffga'](_0x1a674c,0x8);_0x7c8360['push']({'platform':_0x4a10a7[_0x50f9(0x14a)],'component':_0x4a10a7['ZIfHp'],'status':_0x4a10a7[_0x50f9(0x14b)](typeof _0x2f1e55,_0x50f9(0x26))?'pass':'fail','message':_0x4a10a7['rlMDr']});}else{const _0x3902bd=_0x4a10a7['ZzUUo'](_0x153799[_0x50f9(0xab)],_0x4a10a7[_0x50f9(0x12b)])?'✅':_0x4a10a7[_0x50f9(0x14c)](_0x153799['status'],_0x4a10a7[_0x50f9(0x12e)])?'❌':'⚠️';console[_0x50f9(0xc4)](_0x3902bd+'\x20'+_0x153799[_0x50f9(0xc5)]+':\x20'+_0x153799[_0x50f9(0x4a)]);}}return _0x19c825;};
|
|
28
|
+
import{API_CONFIG}from'../config/api';function _0x477a(_0x27b5f5,_0x477a63){_0x27b5f5=_0x27b5f5-0x0;const _0xd03ff3=_0x27b5();let _0x44eaa8=_0xd03ff3[_0x27b5f5];return _0x44eaa8;}function _0x27b5(){const _0x293d1a=['sephora','service','Sephora\x20service\x20function\x20available','tqeSd','webview_scripts','fail','ChatGPT\x20scripts\x20missing','Hinge\x20scripts\x20exported\x20correctly','Hinge\x20scripts\x20missing','instagram','Instagram\x20scripts\x20exported\x20correctly','Instagram\x20scripts\x20missing','Sephora\x20scripts\x20missing','telegram','Telegram\x20scripts\x20exported\x20correctly','utilities','all','BFwKq','push','chatgpt','oJpiL','LsETr','qqeux','SOOMc','ztNsP','pass','Claude\x20scripts\x20exported\x20correctly','yPBOa','dYDJb','asLpD','Rcvmq','PPtuL','tMFLQ','Sephora\x20scripts\x20exported\x20correctly','JZALK','Telegram\x20scripts\x20missing','ohztM','platform_detection','Platform\x20detection\x20functions\x20available','qQDDt','fmLhy','zOetD','harQM','Import\x20error:\x20','message','extractor','function','Hinge\x20detection\x20failed','Instagram\x20detection\x20correct','Sephora\x20detection\x20correct','Telegram\x20detection\x20failed','claude','Claude\x20service\x20function\x20available','Hinge\x20service\x20function\x20available','Instagram\x20service\x20function\x20available','Telegram\x20service\x20function\x20available','hHAFp','CbkND','XoTyc','iGvGc','Opbsx','hYiio','PSqOV','hUehC','qXhKp','Instagram\x20extractor\x20hook\x20available','DuEYt','yqBph','RnAVj','CRZva','dIJYe','hinge','ssSRT','hSuFd','ywhTK','VxesY','neZCK','sltcc','JVftx','tCero','fAMCr','FxRRs','aTYQH','SlwOF','ctrcF','VZBcu','OjgAP','sNReO','XZNpy','XKqcf','GfSPZ','tgYZq','KoUUT','detection','Sephora\x20detection\x20failed','QZfVk','wnSbe','Telegram\x20detection\x20correct','Detection\x20test\x20error:\x20','Sephora\x20extractor\x20hook\x20available','eKZiV','qgFJB','YqEMG','WxDxx','CegKh','aRhHJ','WmSnh','bcBgk','HEean','pCLYY','zuJFE','HdSqp','wMjeD','qhnQK','IVuMC','pDwIN','oZcUX','pNjzQ','xPWpk','lwElD','PqInE','GVVKf','mJNAA','zyEsv','charAt','toUpperCase','slice','DataExtractor','\x20available','Telegram\x20extractor\x20hook\x20available','lhFSI','backend','health','warning','Backend\x20health\x20check\x20passed','FrWph','KyquA','gxExG','OPTIONS','platform_data_endpoint','JqXIv','WCnvN','BASE_URL','signal','oxinB','GHBjn','dvXpn','EUDIo','Backend\x20returned\x20status\x20','status','hXLMw','RSRSe','afrFc','Backend\x20unreachable:\x20','vbhMX','nsIrZ','zIyhv','MOYbA','kEqHE','NDTBF','NqGVR','xgkxz','fReIG','abort','lvBeV','/platform-data/store','KHJVT','jkieD','Endpoint\x20check\x20failed\x20(may\x20require\x20auth):\x20','Hinge\x20detection\x20correct','Instagram\x20detection\x20failed','XukMd','iTHxC','lkTzk','civDJ','dOzBn','lHntu','ufFMH','blSdV','sSKWK','sxbil','AVDtv','Iyskh','BSOum','TuOdA','TMMCx','yqRMD','XqijR','CLqXt','🧪\x20[CONNECTOR_TESTS]\x20Starting\x20connector\x20sanity\x20tests...\x0a','📋\x20Testing\x20platform\x20detection...','📋\x20Testing\x20backend\x20connectivity...','\x0a========================================','========================================\x0a','✅\x20All\x20tests\x20passed!\x20Connectors\x20are\x20ready.','log','uLEIp','vpKtJ','RSOUF','📋\x20Testing\x20service\x20imports...','pObQQ','jSNLu','filter','length','HVMqU','ngdAA','XJqNV','FFqyR','oTqLB','platform','component','\x20passed,\x20','yToyZ','⚠️\x20All\x20critical\x20tests\x20passed,\x20but\x20there\x20are\x20warnings.','kfiZG','FdoFi','QEcFc','zPfcA','Extractor\x20import\x20failed:\x20','EXOWE','webview_script','Export\x20script\x20available','Export\x20script\x20missing','csfVC','storeTelegramData','validation','🧪\x20Testing\x20','\x20connector...\x0a','toLowerCase','CsKPh','DSAyM','includes','_EXPORT_SCRIPT','oYGjb','YXmeN','yNNWA','WgnvE','VpXEU','yvCBV','moNeP','storeHingeData','oBdbO','storeInstagramData','pfblm','EPDWv','FYebL','Service\x20function\x20','gTVst','JXHih','mywGs','iCOqo','siKxJ','atCna','Extractor\x20hook\x20','❌\x20Some\x20tests\x20failed!\x20Please\x20check\x20the\x20errors\x20above.','reumi','Unknown\x20platform:\x20','.\x20Use\x20\x27hinge\x27,\x20\x27instagram\x27,\x20\x27sephora\x27,\x20or\x20\x27telegram\x27.'];_0x27b5=function(){return _0x293d1a;};return _0x27b5();}export const testWebViewScriptExports=()=>{const _0x289976={'BFwKq':function(_0x2b4c3c,_0x331493){return _0x2b4c3c(_0x331493);},'qQDDt':_0x477a(0x0),'fmLhy':_0x477a(0x1),'mEFog':'function','oJpiL':'pass','zOetD':_0x477a(0x2),'XoLDU':function(_0x287d92,_0xc1603a){return _0x287d92!==_0xc1603a;},'OdNDk':_0x477a(0x3),'dYDJb':_0x477a(0x4),'LsETr':_0x477a(0x5),'qqeux':'ChatGPT\x20scripts\x20exported\x20correctly','SOOMc':_0x477a(0x6),'ztNsP':'claude','bJOTw':'Claude\x20scripts\x20missing','yPBOa':'hinge','SHxWo':_0x477a(0x7),'uJCmE':_0x477a(0x8),'asLpD':function(_0x365bf2,_0x352804){return _0x365bf2(_0x352804);},'Rcvmq':_0x477a(0x9),'PPtuL':_0x477a(0xa),'tMFLQ':_0x477a(0xb),'AQpnr':_0x477a(0xc),'qsEVK':_0x477a(0xd),'JZALK':_0x477a(0xe),'ohztM':_0x477a(0xf),'harQM':_0x477a(0x10)},_0x35b044=[];try{if(_0x289976['XoLDU']('YdQHu',_0x289976['OdNDk'])){const {CHATGPT_CONSENT_POPUP_SCRIPT:_0x439146,CHATGPT_EXPORT_SCRIPT:_0x2ffdc9}=_0x289976[_0x477a(0x11)](__ONAIROS_REQ_FUNC__,0x13);_0x35b044[_0x477a(0x12)]({'platform':_0x477a(0x13),'component':_0x289976['dYDJb'],'status':_0x2ffdc9?_0x289976[_0x477a(0x14)]:_0x289976[_0x477a(0x15)],'message':_0x2ffdc9?_0x289976[_0x477a(0x16)]:_0x289976[_0x477a(0x17)]});const {CLAUDE_CONSENT_POPUP_SCRIPT:_0x4bfdeb,CLAUDE_EXPORT_SCRIPT:_0x389b69}=_0x289976[_0x477a(0x11)](__ONAIROS_REQ_FUNC__,0x12);_0x35b044['push']({'platform':_0x289976[_0x477a(0x18)],'component':_0x289976['dYDJb'],'status':_0x389b69?_0x477a(0x19):_0x289976[_0x477a(0x15)],'message':_0x389b69?_0x477a(0x1a):_0x289976['bJOTw']});const {HINGE_CONSENT_POPUP_SCRIPT:_0x45fda4,HINGE_EXPORT_SCRIPT:_0xe30141}=_0x289976[_0x477a(0x11)](__ONAIROS_REQ_FUNC__,0x11);_0x35b044[_0x477a(0x12)]({'platform':_0x289976[_0x477a(0x1b)],'component':_0x289976[_0x477a(0x1c)],'status':_0xe30141?_0x289976['oJpiL']:_0x477a(0x5),'message':_0xe30141?_0x289976['SHxWo']:_0x289976['uJCmE']});const {INSTAGRAM_CONSENT_POPUP_SCRIPT:_0x286ed7,INSTAGRAM_EXPORT_SCRIPT:_0x459999}=_0x289976[_0x477a(0x1d)](__ONAIROS_REQ_FUNC__,0x6);_0x35b044['push']({'platform':_0x289976[_0x477a(0x1e)],'component':_0x289976[_0x477a(0x1c)],'status':_0x459999?_0x289976['oJpiL']:_0x289976[_0x477a(0x15)],'message':_0x459999?_0x289976[_0x477a(0x1f)]:_0x289976[_0x477a(0x20)]});const {SEPHORA_CONSENT_POPUP_SCRIPT:_0x21b65f,SEPHORA_EXPORT_SCRIPT:_0x3fbac7}=_0x289976[_0x477a(0x11)](__ONAIROS_REQ_FUNC__,0x5);_0x35b044[_0x477a(0x12)]({'platform':_0x289976['qQDDt'],'component':_0x289976['dYDJb'],'status':_0x3fbac7?_0x289976[_0x477a(0x14)]:_0x289976[_0x477a(0x15)],'message':_0x3fbac7?_0x477a(0x21):_0x289976['AQpnr']});const {TELEGRAM_CONSENT_POPUP_SCRIPT:_0x531749,TELEGRAM_EXPORT_SCRIPT:_0x2f8199}=_0x289976[_0x477a(0x11)](__ONAIROS_REQ_FUNC__,0x4);_0x35b044['push']({'platform':_0x289976['qsEVK'],'component':_0x289976[_0x477a(0x1c)],'status':_0x2f8199?_0x477a(0x19):_0x289976[_0x477a(0x15)],'message':_0x2f8199?_0x289976[_0x477a(0x22)]:_0x477a(0x23)});const {isWebViewExtractionPlatform:_0xe06274,isHingePlatform:_0x46608e,isInstagramPlatform:_0xc36e90,isSephoraPlatform:_0x37fa47,isTelegramPlatform:_0x42f3ed}=_0x289976['BFwKq'](__ONAIROS_REQ_FUNC__,0x3);_0x35b044['push']({'platform':_0x289976[_0x477a(0x24)],'component':_0x477a(0x25),'status':_0xe06274&&_0x46608e&&_0xc36e90&&_0x37fa47&&_0x42f3ed?_0x289976['oJpiL']:_0x289976[_0x477a(0x15)],'message':_0x477a(0x26)});}else{const {storeSephoraData:_0x5501ba}=_0x289976['BFwKq'](_0x7f1769,0xb);_0x6d9241['push']({'platform':_0x289976[_0x477a(0x27)],'component':_0x289976[_0x477a(0x28)],'status':typeof _0x5501ba===_0x289976['mEFog']?_0x289976['oJpiL']:_0x477a(0x5),'message':_0x289976[_0x477a(0x29)]});}}catch(_0x1f3aed){_0x35b044[_0x477a(0x12)]({'platform':_0x289976[_0x477a(0x2a)],'component':_0x289976[_0x477a(0x1c)],'status':_0x289976[_0x477a(0x15)],'message':_0x477a(0x2b)+_0x1f3aed[_0x477a(0x2c)]});}return _0x35b044;};export const testServiceImports=()=>{const _0x46dfcd={'hUehC':_0x477a(0x9),'qXhKp':_0x477a(0x2d),'VxesY':function(_0x4339d6,_0x279996){return _0x4339d6===_0x279996;},'CbkND':_0x477a(0x2e),'XoTyc':_0x477a(0x19),'iGvGc':'fail','DuEYt':_0x477a(0x13),'RnAVj':_0x477a(0x1),'Opbsx':'ChatGPT\x20service\x20function\x20available','ywhTK':'hinge','VEvSG':function(_0x14b1d4,_0x3a2272){return _0x14b1d4(_0x3a2272);},'OjgAP':'detection','sNReO':'Hinge\x20detection\x20correct','XZNpy':_0x477a(0x2f),'aLlOk':function(_0x13b14f,_0x28605a){return _0x13b14f(_0x28605a);},'XKqcf':function(_0x194eda,_0x5e29b5){return _0x194eda(_0x5e29b5);},'GfSPZ':function(_0x587a3a,_0xbebf21){return _0x587a3a(_0xbebf21);},'tgYZq':_0x477a(0x30),'KoUUT':'Instagram\x20detection\x20failed','JVftx':'sephora','sABTt':_0x477a(0x31),'QZfVk':function(_0x76485f,_0x294094){return _0x76485f(_0x294094);},'VZBcu':_0x477a(0xd),'wnSbe':function(_0x2271ab,_0x478722){return _0x2271ab(_0x478722);},'guwyw':_0x477a(0x32),'uhlGq':'all','hHAFp':function(_0xa973fc,_0x2d64dc){return _0xa973fc===_0x2d64dc;},'hYiio':function(_0x3ebf79,_0x4f1f4c){return _0x3ebf79!==_0x4f1f4c;},'PSqOV':'DwnPB','yqBph':function(_0x2a388d,_0x94c002){return _0x2a388d(_0x94c002);},'dIJYe':_0x477a(0x33),'CRZva':_0x477a(0x34),'ssSRT':function(_0x38b7f6,_0x514f60){return _0x38b7f6===_0x514f60;},'hSuFd':_0x477a(0x35),'neZCK':_0x477a(0x36),'sltcc':function(_0x17f50a,_0x35156e){return _0x17f50a(_0x35156e);},'tCero':function(_0x1bf59d,_0x43f275){return _0x1bf59d===_0x43f275;},'fAMCr':_0x477a(0x2),'FxRRs':function(_0x5313ff,_0x4fbefd){return _0x5313ff===_0x4fbefd;},'aTYQH':_0x477a(0x37),'SlwOF':'ctrcF'},_0x329444=[];try{const {storeChatGPTConversations:_0x3236e0}=__ONAIROS_REQ_FUNC__(0x7);_0x329444[_0x477a(0x12)]({'platform':_0x46dfcd['DuEYt'],'component':_0x477a(0x1),'status':_0x46dfcd[_0x477a(0x38)](typeof _0x3236e0,_0x46dfcd[_0x477a(0x39)])?_0x46dfcd[_0x477a(0x3a)]:_0x46dfcd[_0x477a(0x3b)],'message':_0x46dfcd[_0x477a(0x3c)]});}catch(_0x1a8e7d){if(_0x46dfcd[_0x477a(0x3d)](_0x46dfcd[_0x477a(0x3e)],_0x46dfcd[_0x477a(0x3e)])){const {useInstagramDataExtractor:useInstagramDataExtractor}=_0x1253f7(0xe);_0x775011['push']({'platform':_0x46dfcd[_0x477a(0x3f)],'component':_0x46dfcd[_0x477a(0x40)],'status':_0x46dfcd['VxesY'](typeof useInstagramDataExtractor,_0x46dfcd[_0x477a(0x39)])?_0x46dfcd[_0x477a(0x3a)]:_0x46dfcd[_0x477a(0x3b)],'message':_0x477a(0x41)});}else _0x329444['push']({'platform':_0x46dfcd[_0x477a(0x42)],'component':'service','status':_0x46dfcd[_0x477a(0x3b)],'message':_0x477a(0x2b)+_0x1a8e7d['message']});}try{const {storeClaudeConversations:_0x4d1125}=_0x46dfcd[_0x477a(0x43)](__ONAIROS_REQ_FUNC__,0x8);_0x329444['push']({'platform':_0x46dfcd['dIJYe'],'component':_0x46dfcd[_0x477a(0x44)],'status':typeof _0x4d1125===_0x46dfcd['CbkND']?'pass':_0x46dfcd['iGvGc'],'message':_0x46dfcd[_0x477a(0x45)]});}catch(_0x3de993){_0x329444[_0x477a(0x12)]({'platform':_0x46dfcd[_0x477a(0x46)],'component':_0x46dfcd['RnAVj'],'status':_0x477a(0x5),'message':_0x477a(0x2b)+_0x3de993['message']});}try{const {storeHingeData:_0x1c38c6}=__ONAIROS_REQ_FUNC__(0x9);_0x329444[_0x477a(0x12)]({'platform':_0x477a(0x47),'component':_0x46dfcd['RnAVj'],'status':_0x46dfcd[_0x477a(0x48)](typeof _0x1c38c6,_0x477a(0x2e))?_0x46dfcd[_0x477a(0x3a)]:_0x46dfcd[_0x477a(0x3b)],'message':_0x46dfcd[_0x477a(0x49)]});}catch(_0x27d7e6){_0x329444['push']({'platform':_0x46dfcd[_0x477a(0x4a)],'component':_0x46dfcd[_0x477a(0x44)],'status':_0x477a(0x5),'message':_0x477a(0x2b)+_0x27d7e6[_0x477a(0x2c)]});}try{if('iTqLQ'!=='iTqLQ'){const {storeChatGPTConversations:_0x566a1e}=_0x37dd59(0x7);_0x4de2e6[_0x477a(0x12)]({'platform':_0x46dfcd[_0x477a(0x42)],'component':_0x46dfcd[_0x477a(0x44)],'status':_0x46dfcd[_0x477a(0x4b)](typeof _0x566a1e,_0x46dfcd[_0x477a(0x39)])?_0x477a(0x19):_0x46dfcd['iGvGc'],'message':_0x46dfcd[_0x477a(0x3c)]});}else{const {storeInstagramData:_0x52744d}=_0x46dfcd['wnSbe'](__ONAIROS_REQ_FUNC__,0xa);_0x329444[_0x477a(0x12)]({'platform':_0x46dfcd[_0x477a(0x3f)],'component':_0x46dfcd[_0x477a(0x44)],'status':_0x46dfcd[_0x477a(0x4b)](typeof _0x52744d,_0x46dfcd[_0x477a(0x39)])?_0x46dfcd[_0x477a(0x3a)]:_0x46dfcd[_0x477a(0x3b)],'message':_0x46dfcd[_0x477a(0x4c)]});}}catch(_0x42cc69){_0x329444['push']({'platform':_0x46dfcd[_0x477a(0x3f)],'component':_0x477a(0x1),'status':_0x46dfcd[_0x477a(0x3b)],'message':_0x477a(0x2b)+_0x42cc69['message']});}try{const {storeSephoraData:_0x210f67}=_0x46dfcd[_0x477a(0x4d)](__ONAIROS_REQ_FUNC__,0xb);_0x329444[_0x477a(0x12)]({'platform':_0x46dfcd[_0x477a(0x4e)],'component':_0x46dfcd[_0x477a(0x44)],'status':_0x46dfcd[_0x477a(0x4f)](typeof _0x210f67,_0x477a(0x2e))?_0x46dfcd[_0x477a(0x3a)]:_0x46dfcd[_0x477a(0x3b)],'message':_0x46dfcd[_0x477a(0x50)]});}catch(_0x379d01){_0x329444[_0x477a(0x12)]({'platform':_0x46dfcd['JVftx'],'component':_0x477a(0x1),'status':_0x477a(0x5),'message':_0x477a(0x2b)+_0x379d01[_0x477a(0x2c)]});}try{const {storeTelegramData:_0x591f82}=__ONAIROS_REQ_FUNC__(0xc);_0x329444['push']({'platform':'telegram','component':_0x477a(0x1),'status':_0x46dfcd[_0x477a(0x51)](typeof _0x591f82,_0x477a(0x2e))?_0x477a(0x19):_0x46dfcd['iGvGc'],'message':_0x46dfcd[_0x477a(0x52)]});}catch(_0x4807c7){if(_0x46dfcd[_0x477a(0x48)](_0x46dfcd[_0x477a(0x53)],_0x477a(0x54)))_0x329444[_0x477a(0x12)]({'platform':_0x46dfcd[_0x477a(0x55)],'component':_0x477a(0x1),'status':_0x46dfcd[_0x477a(0x3b)],'message':'Import\x20error:\x20'+_0x4807c7['message']});else{const _0x22991c=[];try{const {isWebViewExtractionPlatform:_0x5f3d4f,isHingePlatform:_0x1b7577,isInstagramPlatform:_0x32d712,isSephoraPlatform:_0x5149ed,isLLMPlatform:_0x3a880d}=_0x1acc84(0x2),_0x45f510=_0x1b7577(_0x46dfcd[_0x477a(0x4a)])&&_0x46dfcd['VEvSG'](_0x5f3d4f,_0x46dfcd[_0x477a(0x4a)])&&!_0x3a880d(_0x46dfcd[_0x477a(0x4a)]);_0x22991c[_0x477a(0x12)]({'platform':_0x477a(0x47),'component':_0x46dfcd[_0x477a(0x56)],'status':_0x45f510?_0x46dfcd['XoTyc']:'fail','message':_0x45f510?_0x46dfcd[_0x477a(0x57)]:_0x46dfcd[_0x477a(0x58)]});const _0x192e79=_0x46dfcd['aLlOk'](_0x32d712,_0x46dfcd[_0x477a(0x3f)])&&_0x46dfcd[_0x477a(0x59)](_0x5f3d4f,_0x46dfcd[_0x477a(0x3f)])&&!_0x46dfcd[_0x477a(0x5a)](_0x3a880d,_0x477a(0x9));_0x22991c['push']({'platform':_0x477a(0x9),'component':_0x46dfcd['OjgAP'],'status':_0x192e79?_0x477a(0x19):_0x477a(0x5),'message':_0x192e79?_0x46dfcd[_0x477a(0x5b)]:_0x46dfcd[_0x477a(0x5c)]});const _0x12c65b=_0x46dfcd['XKqcf'](_0x5149ed,_0x46dfcd[_0x477a(0x4e)])&&_0x5f3d4f(_0x477a(0x0))&&!_0x3a880d(_0x46dfcd['JVftx']);_0x22991c['push']({'platform':_0x46dfcd['JVftx'],'component':_0x477a(0x5d),'status':_0x12c65b?_0x46dfcd[_0x477a(0x3a)]:_0x46dfcd['iGvGc'],'message':_0x12c65b?_0x46dfcd['sABTt']:_0x477a(0x5e)});const {isTelegramPlatform:_0x1f00e3}=_0x46dfcd[_0x477a(0x5f)](_0x2e1b14,0x1),_0x402b46=_0x46dfcd['VEvSG'](_0x1f00e3,_0x46dfcd[_0x477a(0x55)])&&_0x46dfcd['QZfVk'](_0x5f3d4f,_0x477a(0xd))&&!_0x46dfcd[_0x477a(0x60)](_0x3a880d,_0x46dfcd[_0x477a(0x55)]);_0x22991c['push']({'platform':_0x46dfcd[_0x477a(0x55)],'component':_0x46dfcd[_0x477a(0x56)],'status':_0x402b46?_0x46dfcd[_0x477a(0x3a)]:_0x477a(0x5),'message':_0x402b46?_0x477a(0x61):_0x46dfcd['guwyw']});}catch(_0x213596){_0x22991c['push']({'platform':_0x46dfcd['uhlGq'],'component':_0x477a(0x5d),'status':_0x46dfcd[_0x477a(0x3b)],'message':_0x477a(0x62)+_0x213596[_0x477a(0x2c)]});}return _0x22991c;}}return _0x329444;};export const testExtractorImports=()=>{const _0x1cc68d={'bcBgk':_0x477a(0x9),'HEean':_0x477a(0x2d),'WxDxx':_0x477a(0x5),'wMjeD':function(_0x57a5ee,_0x3f825b){return _0x57a5ee(_0x3f825b);},'qhnQK':'sephora','IVuMC':_0x477a(0x2e),'YqEMG':_0x477a(0x19),'oZcUX':_0x477a(0x63),'pDwIN':function(_0x5c2f88,_0x3410a0){return _0x5c2f88===_0x3410a0;},'lwElD':_0x477a(0x37),'qgFJB':function(_0x404343,_0x4b95a8){return _0x404343(_0x4b95a8);},'zyEsv':function(_0x21c9a0,_0x2ac1ac){return _0x21c9a0+_0x2ac1ac;},'KroBZ':function(_0x2742fb,_0x254bfc){return _0x2742fb===_0x254bfc;},'hcVbn':'hinge','WoUGU':function(_0x4fd49b,_0x129598){return _0x4fd49b===_0x129598;},'CegKh':'Hinge\x20extractor\x20hook\x20available','WxzSb':function(_0x33dcd1,_0x9236f1){return _0x33dcd1===_0x9236f1;},'aRhHJ':_0x477a(0x64),'WmSnh':'Hxqpg','pCLYY':function(_0x36836a,_0x5d0dd2){return _0x36836a(_0x5d0dd2);},'roabl':function(_0x4c1bc6,_0x21369b){return _0x4c1bc6===_0x21369b;},'zuJFE':_0x477a(0x41),'prQYY':function(_0x5c866b,_0x32afbb){return _0x5c866b!==_0x32afbb;},'pNjzQ':function(_0x330015,_0x37b930){return _0x330015===_0x37b930;},'xPWpk':'pnqEN','PqInE':function(_0xfe29b9,_0x4aff94){return _0xfe29b9===_0x4aff94;},'lhFSI':_0x477a(0xd)},_0x38fe19=[];try{const {useHingeDataExtractor:useHingeDataExtractor}=_0x1cc68d[_0x477a(0x65)](__ONAIROS_REQ_FUNC__,0xd);_0x38fe19[_0x477a(0x12)]({'platform':_0x1cc68d['hcVbn'],'component':'extractor','status':_0x1cc68d['WoUGU'](typeof useHingeDataExtractor,'function')?_0x1cc68d[_0x477a(0x66)]:_0x1cc68d[_0x477a(0x67)],'message':_0x1cc68d[_0x477a(0x68)]});}catch(_0x1f64b7){_0x1cc68d['WxzSb'](_0x1cc68d[_0x477a(0x69)],_0x1cc68d[_0x477a(0x6a)])?_0x2c1973[_0x477a(0x12)]({'platform':_0x1cc68d[_0x477a(0x6b)],'component':_0x1cc68d[_0x477a(0x6c)],'status':_0x1cc68d[_0x477a(0x67)],'message':_0x477a(0x2b)+_0x35f5b7[_0x477a(0x2c)]}):_0x38fe19[_0x477a(0x12)]({'platform':'hinge','component':_0x1cc68d[_0x477a(0x6c)],'status':_0x1cc68d[_0x477a(0x67)],'message':'Import\x20error:\x20'+_0x1f64b7['message']});}try{const {useInstagramDataExtractor:useInstagramDataExtractor}=_0x1cc68d[_0x477a(0x6d)](__ONAIROS_REQ_FUNC__,0xe);_0x38fe19[_0x477a(0x12)]({'platform':_0x1cc68d[_0x477a(0x6b)],'component':_0x1cc68d['HEean'],'status':_0x1cc68d['roabl'](typeof useInstagramDataExtractor,'function')?_0x1cc68d[_0x477a(0x66)]:'fail','message':_0x1cc68d[_0x477a(0x6e)]});}catch(_0x46cabd){if(_0x1cc68d['prQYY'](_0x477a(0x6f),_0x477a(0x6f))){const {useSephoraDataExtractor:useSephoraDataExtractor}=_0x1cc68d[_0x477a(0x70)](_0x25ff0d,0xf);_0x4f0b74[_0x477a(0x12)]({'platform':_0x1cc68d[_0x477a(0x71)],'component':_0x1cc68d[_0x477a(0x6c)],'status':typeof useSephoraDataExtractor===_0x1cc68d[_0x477a(0x72)]?_0x1cc68d[_0x477a(0x66)]:_0x1cc68d[_0x477a(0x67)],'message':_0x1cc68d['oZcUX']});}else _0x38fe19['push']({'platform':_0x1cc68d[_0x477a(0x6b)],'component':_0x477a(0x2d),'status':_0x1cc68d[_0x477a(0x67)],'message':_0x477a(0x2b)+_0x46cabd[_0x477a(0x2c)]});}try{const {useSephoraDataExtractor:useSephoraDataExtractor}=_0x1cc68d[_0x477a(0x65)](__ONAIROS_REQ_FUNC__,0xf);_0x38fe19[_0x477a(0x12)]({'platform':_0x477a(0x0),'component':_0x1cc68d[_0x477a(0x6c)],'status':_0x1cc68d[_0x477a(0x73)](typeof useSephoraDataExtractor,_0x477a(0x2e))?_0x1cc68d['YqEMG']:_0x1cc68d[_0x477a(0x67)],'message':_0x1cc68d[_0x477a(0x74)]});}catch(_0x298629){if(_0x1cc68d[_0x477a(0x75)](_0x1cc68d[_0x477a(0x76)],_0x1cc68d[_0x477a(0x76)]))_0x38fe19['push']({'platform':_0x477a(0x0),'component':_0x1cc68d['HEean'],'status':_0x477a(0x5),'message':'Import\x20error:\x20'+_0x298629[_0x477a(0x2c)]});else{const {storeTelegramData:_0x112a73}=_0x1cc68d[_0x477a(0x70)](_0x20f40e,0xc);_0x1e21bf[_0x477a(0x12)]({'platform':_0x477a(0xd),'component':_0x477a(0x1),'status':_0x1cc68d['pDwIN'](typeof _0x112a73,_0x1cc68d[_0x477a(0x72)])?_0x1cc68d[_0x477a(0x66)]:_0x1cc68d[_0x477a(0x67)],'message':_0x1cc68d[_0x477a(0x77)]});}}try{if(_0x1cc68d[_0x477a(0x78)](_0x477a(0x79),_0x477a(0x7a))){const _0x4fb243=_0x1cc68d['qgFJB'](_0x1dc1ba,0x15),_0x1ac35d='use'+_0x1cc68d[_0x477a(0x7b)](_0x4e534e[_0x477a(0x7c)](0x0)[_0x477a(0x7d)](),_0x14a6d8[_0x477a(0x7e)](0x1))+_0x477a(0x7f);_0x266332[_0x477a(0x12)]({'platform':_0x15bcff,'component':_0x477a(0x2d),'status':_0x1cc68d['KroBZ'](typeof _0x4fb243[_0x1ac35d],_0x477a(0x2e))?_0x1cc68d[_0x477a(0x66)]:_0x1cc68d[_0x477a(0x67)],'message':'Extractor\x20hook\x20'+_0x1ac35d+_0x477a(0x80)});}else{const {useTelegramDataExtractor:useTelegramDataExtractor}=__ONAIROS_REQ_FUNC__(0x10);_0x38fe19[_0x477a(0x12)]({'platform':_0x477a(0xd),'component':_0x477a(0x2d),'status':_0x1cc68d[_0x477a(0x73)](typeof useTelegramDataExtractor,_0x1cc68d['IVuMC'])?_0x1cc68d['YqEMG']:_0x1cc68d[_0x477a(0x67)],'message':_0x477a(0x81)});}}catch(_0xb3578a){_0x38fe19['push']({'platform':_0x1cc68d[_0x477a(0x82)],'component':_0x1cc68d['HEean'],'status':_0x1cc68d[_0x477a(0x67)],'message':_0x477a(0x2b)+_0xb3578a['message']});}return _0x38fe19;};export const testBackendConnectivity=async()=>{const _0x23a5c4={'vbhMX':_0x477a(0x83),'GHBjn':_0x477a(0x84),'kEqHE':function(_0x581cec,_0x49f806){return _0x581cec(_0x49f806);},'NDTBF':_0x477a(0x1),'lyfAY':function(_0x43da2f,_0x3d0300){return _0x43da2f===_0x3d0300;},'NqGVR':_0x477a(0x2e),'xgkxz':_0x477a(0x19),'nsIrZ':_0x477a(0x5),'fReIG':_0x477a(0x34),'JqXIv':function(_0x405d17,_0x5b562c,_0x295837){return _0x405d17(_0x5b562c,_0x295837);},'WCnvN':function(_0x3eab93,_0x3b479c,_0x1cccd7){return _0x3eab93(_0x3b479c,_0x1cccd7);},'oxinB':function(_0x53fd64,_0x140a2a){return _0x53fd64(_0x140a2a);},'dvXpn':_0x477a(0x85),'EUDIo':_0x477a(0x86),'hXLMw':function(_0x1a6f05,_0x5cdbb8){return _0x1a6f05===_0x5cdbb8;},'RSRSe':_0x477a(0x87),'afrFc':_0x477a(0x88),'zIyhv':function(_0x3ff401,_0x3c04ca){return _0x3ff401!==_0x3c04ca;},'MOYbA':_0x477a(0x89),'lvBeV':function(_0x4dfec4,_0x5b0765,_0x292c8e){return _0x4dfec4(_0x5b0765,_0x292c8e);},'KHJVT':_0x477a(0x8a),'RyTAo':function(_0xf7c33,_0x664e68){return _0xf7c33(_0x664e68);},'jkieD':_0x477a(0x8b)},_0x4b19a0=[];try{const _0x3c0a1a=new AbortController(),_0x594c18=_0x23a5c4[_0x477a(0x8c)](setTimeout,()=>_0x3c0a1a['abort'](),0x2710),_0x46c362=await _0x23a5c4[_0x477a(0x8d)](fetch,API_CONFIG[_0x477a(0x8e)]+'/health',{'method':'GET','signal':_0x3c0a1a[_0x477a(0x8f)]});_0x23a5c4[_0x477a(0x90)](clearTimeout,_0x594c18),_0x4b19a0[_0x477a(0x12)]({'platform':_0x23a5c4['vbhMX'],'component':_0x23a5c4[_0x477a(0x91)],'status':_0x46c362['ok']?'pass':_0x23a5c4[_0x477a(0x92)],'message':_0x46c362['ok']?_0x23a5c4[_0x477a(0x93)]:_0x477a(0x94)+_0x46c362[_0x477a(0x95)],'details':{'status':_0x46c362[_0x477a(0x95)]}});}catch(_0x2bc18c){_0x23a5c4[_0x477a(0x96)](_0x23a5c4[_0x477a(0x97)],_0x23a5c4[_0x477a(0x98)])?_0x3e335f[_0x477a(0x12)]({'platform':_0x23a5c4['vbhMX'],'component':_0x23a5c4[_0x477a(0x91)],'status':'fail','message':_0x477a(0x99)+_0x534075[_0x477a(0x2c)]}):_0x4b19a0['push']({'platform':_0x23a5c4[_0x477a(0x9a)],'component':_0x477a(0x84),'status':_0x23a5c4[_0x477a(0x9b)],'message':'Backend\x20unreachable:\x20'+_0x2bc18c['message']});}try{if(_0x23a5c4[_0x477a(0x9c)](_0x23a5c4['MOYbA'],_0x23a5c4[_0x477a(0x9d)])){const {storeClaudeConversations:_0x396321}=_0x23a5c4[_0x477a(0x9e)](_0x50618b,0x8);_0x158b68[_0x477a(0x12)]({'platform':_0x477a(0x33),'component':_0x23a5c4[_0x477a(0x9f)],'status':_0x23a5c4['lyfAY'](typeof _0x396321,_0x23a5c4[_0x477a(0xa0)])?_0x23a5c4[_0x477a(0xa1)]:_0x23a5c4['nsIrZ'],'message':_0x23a5c4[_0x477a(0xa2)]});}else{const _0xc8cb44=new AbortController(),_0x498e0d=_0x23a5c4[_0x477a(0x8c)](setTimeout,()=>_0xc8cb44[_0x477a(0xa3)](),0x2710),_0x13445e=await _0x23a5c4[_0x477a(0xa4)](fetch,API_CONFIG[_0x477a(0x8e)]+_0x477a(0xa5),{'method':_0x23a5c4[_0x477a(0xa6)],'signal':_0xc8cb44[_0x477a(0x8f)]});_0x23a5c4['RyTAo'](clearTimeout,_0x498e0d),_0x4b19a0[_0x477a(0x12)]({'platform':_0x23a5c4[_0x477a(0x9a)],'component':_0x23a5c4[_0x477a(0xa7)],'status':_0x13445e[_0x477a(0x95)]<0x1f4?_0x477a(0x19):_0x23a5c4[_0x477a(0x92)],'message':'Platform\x20data\x20endpoint\x20check:\x20'+_0x13445e[_0x477a(0x95)],'details':{'status':_0x13445e[_0x477a(0x95)]}});}}catch(_0x414a86){_0x4b19a0[_0x477a(0x12)]({'platform':_0x23a5c4[_0x477a(0x9a)],'component':_0x23a5c4[_0x477a(0xa7)],'status':_0x23a5c4[_0x477a(0x92)],'message':_0x477a(0xa8)+_0x414a86['message']});}return _0x4b19a0;};export const testPlatformDetection=()=>{const _0x29a3b7={'XukMd':function(_0x3190c2,_0x2692c5){return _0x3190c2(_0x2692c5);},'iTHxC':'hinge','yhOii':function(_0x19df61,_0x287b65){return _0x19df61(_0x287b65);},'LdsrR':'pass','lkTzk':_0x477a(0x5),'civDJ':_0x477a(0xa9),'dOzBn':_0x477a(0x2f),'lHntu':_0x477a(0x9),'ufFMH':function(_0xb50f8c,_0x3e1f54){return _0xb50f8c(_0x3e1f54);},'blSdV':function(_0x368b65,_0x3b05f4){return _0x368b65(_0x3b05f4);},'AVDtv':_0x477a(0x5d),'sSKWK':_0x477a(0xaa),'sxbil':_0x477a(0x0),'Iyskh':_0x477a(0x31),'BSOum':function(_0x282791,_0x41d098){return _0x282791(_0x41d098);},'TMMCx':_0x477a(0xd),'TuOdA':function(_0x172c1a,_0x2d114b){return _0x172c1a(_0x2d114b);},'yqRMD':_0x477a(0x61),'XqijR':'Telegram\x20detection\x20failed','CLqXt':'all'},_0x6c5d0=[];try{const {isWebViewExtractionPlatform:_0x2bc456,isHingePlatform:_0x4e2f61,isInstagramPlatform:_0x392bb6,isSephoraPlatform:_0x44da92,isLLMPlatform:_0x16014f}=_0x29a3b7['XukMd'](__ONAIROS_REQ_FUNC__,0x2),_0x146e18=_0x29a3b7[_0x477a(0xab)](_0x4e2f61,_0x29a3b7[_0x477a(0xac)])&&_0x29a3b7['yhOii'](_0x2bc456,_0x29a3b7[_0x477a(0xac)])&&!_0x16014f(_0x29a3b7[_0x477a(0xac)]);_0x6c5d0['push']({'platform':_0x29a3b7[_0x477a(0xac)],'component':_0x477a(0x5d),'status':_0x146e18?_0x29a3b7['LdsrR']:_0x29a3b7[_0x477a(0xad)],'message':_0x146e18?_0x29a3b7[_0x477a(0xae)]:_0x29a3b7[_0x477a(0xaf)]});const _0x47b3fa=_0x29a3b7[_0x477a(0xab)](_0x392bb6,_0x29a3b7[_0x477a(0xb0)])&&_0x29a3b7[_0x477a(0xb1)](_0x2bc456,_0x29a3b7[_0x477a(0xb0)])&&!_0x29a3b7[_0x477a(0xb2)](_0x16014f,_0x29a3b7[_0x477a(0xb0)]);_0x6c5d0[_0x477a(0x12)]({'platform':_0x29a3b7[_0x477a(0xb0)],'component':_0x29a3b7['AVDtv'],'status':_0x47b3fa?_0x477a(0x19):_0x29a3b7[_0x477a(0xad)],'message':_0x47b3fa?_0x477a(0x30):_0x29a3b7[_0x477a(0xb3)]});const _0x5e09ca=_0x44da92(_0x29a3b7['sxbil'])&&_0x29a3b7[_0x477a(0xab)](_0x2bc456,'sephora')&&!_0x16014f(_0x29a3b7[_0x477a(0xb4)]);_0x6c5d0[_0x477a(0x12)]({'platform':_0x29a3b7[_0x477a(0xb4)],'component':_0x29a3b7[_0x477a(0xb5)],'status':_0x5e09ca?_0x29a3b7['LdsrR']:_0x29a3b7[_0x477a(0xad)],'message':_0x5e09ca?_0x29a3b7[_0x477a(0xb6)]:'Sephora\x20detection\x20failed'});const {isTelegramPlatform:_0x4c12b6}=_0x29a3b7[_0x477a(0xb7)](__ONAIROS_REQ_FUNC__,0x1),_0x4adeaa=_0x4c12b6(_0x29a3b7['TMMCx'])&&_0x29a3b7['ufFMH'](_0x2bc456,_0x29a3b7['TMMCx'])&&!_0x29a3b7[_0x477a(0xb8)](_0x16014f,_0x29a3b7[_0x477a(0xb9)]);_0x6c5d0[_0x477a(0x12)]({'platform':_0x29a3b7[_0x477a(0xb9)],'component':_0x29a3b7[_0x477a(0xb5)],'status':_0x4adeaa?_0x477a(0x19):_0x29a3b7[_0x477a(0xad)],'message':_0x4adeaa?_0x29a3b7[_0x477a(0xba)]:_0x29a3b7[_0x477a(0xbb)]});}catch(_0x4be363){_0x6c5d0[_0x477a(0x12)]({'platform':_0x29a3b7[_0x477a(0xbc)],'component':_0x29a3b7[_0x477a(0xb5)],'status':_0x477a(0x5),'message':'Detection\x20test\x20error:\x20'+_0x4be363[_0x477a(0x2c)]});}return _0x6c5d0;};export const runConnectorSanityTests=async()=>{const _0x3ffdad={'kfiZG':_0x477a(0x2d),'zPfcA':_0x477a(0x5),'uLEIp':_0x477a(0xbd),'vpKtJ':'📋\x20Testing\x20WebView\x20script\x20exports...','RSOUF':function(_0x5bedb2){return _0x5bedb2();},'IWrJP':'📋\x20Testing\x20extractor\x20imports...','pObQQ':_0x477a(0xbe),'jSNLu':_0x477a(0xbf),'HVMqU':_0x477a(0xc0),'ngdAA':'🧪\x20CONNECTOR\x20SANITY\x20TEST\x20RESULTS','XJqNV':_0x477a(0xc1),'FFqyR':function(_0x1575f4,_0x4903fc){return _0x1575f4===_0x4903fc;},'oTqLB':'pass','FdoFi':'kgspc','QEcFc':'lxSVR','EXOWE':_0x477a(0xc2)};console[_0x477a(0xc3)](_0x3ffdad[_0x477a(0xc4)]);const _0x31a37b=[];console[_0x477a(0xc3)](_0x3ffdad[_0x477a(0xc5)]),_0x31a37b['push'](..._0x3ffdad[_0x477a(0xc6)](testWebViewScriptExports)),console[_0x477a(0xc3)](_0x477a(0xc7)),_0x31a37b[_0x477a(0x12)](..._0x3ffdad[_0x477a(0xc6)](testServiceImports)),console[_0x477a(0xc3)](_0x3ffdad['IWrJP']),_0x31a37b['push'](...testExtractorImports()),console['log'](_0x3ffdad[_0x477a(0xc8)]),_0x31a37b[_0x477a(0x12)](...testPlatformDetection()),console['log'](_0x3ffdad[_0x477a(0xc9)]),_0x31a37b[_0x477a(0x12)](...await _0x3ffdad[_0x477a(0xc6)](testBackendConnectivity));const _0x351194=_0x31a37b[_0x477a(0xca)](_0x179d48=>_0x179d48[_0x477a(0x95)]===_0x477a(0x19))[_0x477a(0xcb)],_0x471b06=_0x31a37b[_0x477a(0xca)](_0x4d68ca=>_0x4d68ca['status']===_0x477a(0x5))[_0x477a(0xcb)],_0x566d63=_0x31a37b[_0x477a(0xca)](_0x59d7ee=>_0x59d7ee[_0x477a(0x95)]===_0x477a(0x85))[_0x477a(0xcb)];console[_0x477a(0xc3)](_0x3ffdad[_0x477a(0xcc)]),console[_0x477a(0xc3)](_0x3ffdad[_0x477a(0xcd)]),console['log'](_0x3ffdad[_0x477a(0xce)]);for(const _0x18929b of _0x31a37b){const _0x190f9d=_0x3ffdad[_0x477a(0xcf)](_0x18929b[_0x477a(0x95)],_0x3ffdad[_0x477a(0xd0)])?'✅':_0x18929b[_0x477a(0x95)]===_0x477a(0x5)?'❌':'⚠️';console['log'](_0x190f9d+'\x20['+_0x18929b[_0x477a(0xd1)][_0x477a(0x7d)]()+']\x20'+_0x18929b[_0x477a(0xd2)]+':\x20'+_0x18929b[_0x477a(0x2c)]);}console['log'](_0x3ffdad['HVMqU']),console[_0x477a(0xc3)]('📊\x20Summary:\x20'+_0x351194+_0x477a(0xd3)+_0x471b06+'\x20failed,\x20'+_0x566d63+'\x20warnings'),console[_0x477a(0xc3)](_0x477a(0xc1));if(_0x471b06>0x0)console['log']('❌\x20Some\x20tests\x20failed!\x20Please\x20check\x20the\x20errors\x20above.');else _0x566d63>0x0?_0x477a(0xd4)===_0x477a(0xd4)?console[_0x477a(0xc3)](_0x477a(0xd5)):_0x899e15['push']({'platform':_0x477a(0xd),'component':_0x3ffdad[_0x477a(0xd6)],'status':_0x3ffdad['zPfcA'],'message':'Import\x20error:\x20'+_0x410eab['message']}):_0x3ffdad[_0x477a(0xd7)]===_0x3ffdad[_0x477a(0xd8)]?_0x179de3[_0x477a(0x12)]({'platform':_0x798534,'component':_0x477a(0x2d),'status':_0x3ffdad[_0x477a(0xd9)],'message':_0x477a(0xda)+_0x3cfcd8['message']}):console[_0x477a(0xc3)](_0x3ffdad[_0x477a(0xdb)]);return{'passed':_0x351194,'failed':_0x471b06,'warnings':_0x566d63,'results':_0x31a37b};};export const testPlatformConnector=async _0x5d8ebc=>{const _0x595e1a={'gTVst':'platform_data_endpoint','JXHih':'warning','CsKPh':_0x477a(0x47),'DSAyM':_0x477a(0x9),'YqIRa':function(_0x2893a3,_0x5e9aea){return _0x2893a3(_0x5e9aea);},'oYGjb':_0x477a(0xdc),'YXmeN':'pass','yNNWA':_0x477a(0x5),'WgnvE':_0x477a(0xdd),'VpXEU':_0x477a(0xde),'yvCBV':function(_0x2c40a1,_0x330d6e){return _0x2c40a1===_0x330d6e;},'moNeP':_0x477a(0xdf),'FxzBp':function(_0x2362b4,_0x105f77){return _0x2362b4===_0x105f77;},'oBdbO':function(_0x50fe4b,_0x1fd9de){return _0x50fe4b===_0x1fd9de;},'pfblm':function(_0x2c155c,_0x392f6e){return _0x2c155c===_0x392f6e;},'EPDWv':_0x477a(0xd),'tfZgZ':_0x477a(0xe0),'BJGAs':'storeSephoraData','FYebL':function(_0x536992,_0x531d38){return _0x536992===_0x531d38;},'mywGs':_0x477a(0x1),'siKxJ':'iCOqo','xZWRB':function(_0x3dd38c,_0x388f1c){return _0x3dd38c+_0x388f1c;},'aEMKl':_0x477a(0x2d),'atCna':function(_0x57d628,_0x2c80e7){return _0x57d628===_0x2c80e7;},'reumi':_0x477a(0xe1)};console[_0x477a(0xc3)](_0x477a(0xe2)+_0x5d8ebc+_0x477a(0xe3));const _0x23aced=[],_0x2b0c52=_0x5d8ebc[_0x477a(0xe4)]();if([_0x595e1a[_0x477a(0xe5)],_0x595e1a[_0x477a(0xe6)],_0x477a(0x0),_0x477a(0xd)][_0x477a(0xe7)](_0x2b0c52)){try{const _0x377e1d=_0x595e1a['YqIRa'](__ONAIROS_REQ_FUNC__,0x0),_0x2aa634=_0x2b0c52[_0x477a(0x7d)]()+_0x477a(0xe8),_0x2dca89=!!_0x377e1d[_0x2aa634];_0x23aced[_0x477a(0x12)]({'platform':_0x2b0c52,'component':_0x595e1a[_0x477a(0xe9)],'status':_0x2dca89?_0x595e1a[_0x477a(0xea)]:_0x595e1a[_0x477a(0xeb)],'message':_0x2dca89?_0x595e1a[_0x477a(0xec)]:_0x595e1a[_0x477a(0xed)]});}catch(_0xe13f06){_0x23aced[_0x477a(0x12)]({'platform':_0x2b0c52,'component':_0x595e1a[_0x477a(0xe9)],'status':_0x595e1a[_0x477a(0xeb)],'message':'Script\x20import\x20failed:\x20'+_0xe13f06['message']});}try{if(_0x595e1a[_0x477a(0xee)](_0x595e1a[_0x477a(0xef)],_0x477a(0xdf))){const _0x391cfe=_0x595e1a['YqIRa'](__ONAIROS_REQ_FUNC__,0x14),_0x49c45f=_0x595e1a['FxzBp'](_0x2b0c52,_0x595e1a[_0x477a(0xe5)])?_0x477a(0xf0):_0x595e1a[_0x477a(0xf1)](_0x2b0c52,_0x595e1a[_0x477a(0xe6)])?_0x477a(0xf2):_0x595e1a[_0x477a(0xf3)](_0x2b0c52,_0x595e1a[_0x477a(0xf4)])?_0x595e1a['tfZgZ']:_0x595e1a['BJGAs'];_0x23aced[_0x477a(0x12)]({'platform':_0x2b0c52,'component':_0x477a(0x1),'status':_0x595e1a[_0x477a(0xf5)](typeof _0x391cfe[_0x49c45f],_0x477a(0x2e))?_0x595e1a['YXmeN']:'fail','message':_0x477a(0xf6)+_0x49c45f+_0x477a(0x80)});}else _0x53c536['push']({'platform':_0x477a(0x83),'component':_0x595e1a[_0x477a(0xf7)],'status':_0x595e1a[_0x477a(0xf8)],'message':_0x477a(0xa8)+_0x30342c[_0x477a(0x2c)]});}catch(_0x449505){_0x23aced['push']({'platform':_0x2b0c52,'component':_0x595e1a[_0x477a(0xf9)],'status':_0x595e1a['yNNWA'],'message':'Service\x20import\x20failed:\x20'+_0x449505[_0x477a(0x2c)]});}try{if(_0x595e1a[_0x477a(0xee)](_0x477a(0xfa),_0x595e1a[_0x477a(0xfb)])){const _0x452a7c=__ONAIROS_REQ_FUNC__(0x15),_0x4e3655='use'+_0x595e1a['xZWRB'](_0x2b0c52['charAt'](0x0)['toUpperCase'](),_0x2b0c52[_0x477a(0x7e)](0x1))+_0x477a(0x7f);_0x23aced['push']({'platform':_0x2b0c52,'component':_0x595e1a['aEMKl'],'status':_0x595e1a[_0x477a(0xfc)](typeof _0x452a7c[_0x4e3655],_0x477a(0x2e))?_0x477a(0x19):_0x595e1a[_0x477a(0xeb)],'message':_0x477a(0xfd)+_0x4e3655+_0x477a(0x80)});}else _0x15506c[_0x477a(0xc3)](_0x477a(0xfe));}catch(_0xf07a41){_0x23aced[_0x477a(0x12)]({'platform':_0x2b0c52,'component':_0x477a(0x2d),'status':_0x595e1a[_0x477a(0xeb)],'message':_0x477a(0xda)+_0xf07a41[_0x477a(0x2c)]});}}else _0x23aced['push']({'platform':_0x2b0c52,'component':_0x595e1a[_0x477a(0xff)],'status':_0x595e1a['JXHih'],'message':_0x477a(0x100)+_0x5d8ebc+_0x477a(0x101)});for(const _0xb5c77d of _0x23aced){const _0x35f4ea=_0xb5c77d[_0x477a(0x95)]===_0x595e1a[_0x477a(0xea)]?'✅':_0x595e1a[_0x477a(0xf1)](_0xb5c77d['status'],_0x595e1a[_0x477a(0xeb)])?'❌':'⚠️';console[_0x477a(0xc3)](_0x35f4ea+'\x20'+_0xb5c77d[_0x477a(0xd2)]+':\x20'+_0xb5c77d[_0x477a(0x2c)]);}return _0x23aced;};
|