@onairos/react-native 3.6.3 → 3.6.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/commonjs/api/index.js +1 -1
- package/lib/commonjs/components/BodyText.js +1 -1
- package/lib/commonjs/components/BrandMark.js +1 -1
- package/lib/commonjs/components/CodeInput.js +1 -1
- package/lib/commonjs/components/EmailInput.js +1 -1
- package/lib/commonjs/components/GoogleButton.js +1 -1
- package/lib/commonjs/components/HeadingGroup.js +1 -1
- package/lib/commonjs/components/LLMDataInputModal.js +1 -1
- package/lib/commonjs/components/ModalHeader.js +1 -1
- package/lib/commonjs/components/ModalSheet.js +1 -1
- package/lib/commonjs/components/Onairos.js +1 -1
- package/lib/commonjs/components/OnairosButton.js +1 -1
- package/lib/commonjs/components/OnairosSignInButton.js +1 -1
- package/lib/commonjs/components/Overlay.js +1 -1
- package/lib/commonjs/components/PersonaImage.js +1 -1
- package/lib/commonjs/components/PersonaLoadingScreen.js +1 -1
- package/lib/commonjs/components/PersonalizationConsentScreen.js +1 -1
- package/lib/commonjs/components/PinCreationScreen.js +1 -1
- package/lib/commonjs/components/PinInput.js +1 -1
- package/lib/commonjs/components/PlatformConnectorsStep.js +1 -1
- package/lib/commonjs/components/PlatformList.js +1 -1
- package/lib/commonjs/components/PlatformToggle.js +1 -1
- package/lib/commonjs/components/PrimaryButton.js +1 -1
- package/lib/commonjs/components/SignInMatchAnimation.js +1 -1
- package/lib/commonjs/components/SignInStep.js +1 -1
- package/lib/commonjs/components/UniversalOnboarding.js +1 -1
- package/lib/commonjs/components/VerificationStep.js +1 -1
- package/lib/commonjs/components/WelcomeScreen.js +1 -1
- package/lib/commonjs/components/icons/Basicproficon.js +1 -1
- package/lib/commonjs/components/icons/Basicprofile.js +1 -1
- package/lib/commonjs/components/icons/Checkbox.js +1 -1
- package/lib/commonjs/components/icons/Checkmark.js +1 -1
- package/lib/commonjs/components/icons/Contentanalysis.js +1 -1
- package/lib/commonjs/components/icons/Contenticon.js +1 -1
- package/lib/commonjs/components/icons/EnochE.js +1 -1
- package/lib/commonjs/components/icons/Personalityicon.js +1 -1
- package/lib/commonjs/components/icons/Personalityprofile.js +1 -1
- package/lib/commonjs/components/icons/Personalitytraits.js +1 -1
- package/lib/commonjs/components/icons/Userpreferences.js +1 -1
- package/lib/commonjs/components/icons/index.js +1 -1
- package/lib/commonjs/components/onboarding/OAuthWebView.js +1 -1
- package/lib/commonjs/components/onboarding/OnboardingHeader.js +1 -1
- package/lib/commonjs/components/onboarding/PinInput.js +1 -1
- package/lib/commonjs/components/onboarding/PlatformConnector.js +1 -1
- package/lib/commonjs/config/api.js +1 -1
- package/lib/commonjs/constants/index.js +1 -1
- package/lib/commonjs/context/AuthContext.js +1 -1
- package/lib/commonjs/hooks/useConnectedAccounts.js +1 -1
- package/lib/commonjs/hooks/useConnections.js +1 -1
- package/lib/commonjs/hooks/useCredentials.js +1 -1
- package/lib/commonjs/hooks/useUserConnections.js +1 -1
- package/lib/commonjs/index.js +1 -1
- package/lib/commonjs/services/apiClient.js +1 -1
- package/lib/commonjs/services/apiKeyService.js +1 -1
- package/lib/commonjs/services/authService.js +1 -1
- package/lib/commonjs/services/biometricPinService.js +1 -1
- package/lib/commonjs/services/chatGPTConversationExtractor.js +1 -1
- package/lib/commonjs/services/chatGPTConversationService.js +1 -1
- package/lib/commonjs/services/claudeConversationExtractor.js +1 -1
- package/lib/commonjs/services/claudeConversationService.js +1 -1
- package/lib/commonjs/services/connectedAccountsService.js +1 -1
- package/lib/commonjs/services/googleAuthService.js +1 -1
- package/lib/commonjs/services/hingeDataExtractor.js +1 -1
- package/lib/commonjs/services/hingeDataService.js +1 -1
- package/lib/commonjs/services/imageCompressionService.js +1 -1
- package/lib/commonjs/services/instagramDataExtractor.js +1 -1
- package/lib/commonjs/services/instagramDataService.js +1 -1
- package/lib/commonjs/services/jwtStorageService.js +1 -1
- package/lib/commonjs/services/linkedinDOMExtractor.js +1 -1
- package/lib/commonjs/services/linkedinProfileService.js +1 -1
- package/lib/commonjs/services/linkedinScrapingService.js +1 -1
- package/lib/commonjs/services/llmDataStorage.js +1 -1
- package/lib/commonjs/services/mobileTrainingService.js +1 -1
- package/lib/commonjs/services/oauthService.js +1 -1
- package/lib/commonjs/services/pinEncryptionService.js +1 -1
- package/lib/commonjs/services/pinStorageUtils.js +1 -1
- package/lib/commonjs/services/platformAuthService.js +1 -1
- package/lib/commonjs/services/sephoraDataExtractor.js +1 -1
- package/lib/commonjs/services/sephoraDataService.js +1 -1
- package/lib/commonjs/services/storageService.js +1 -1
- package/lib/commonjs/services/telegramDataExtractor.js +1 -1
- package/lib/commonjs/services/telegramDataService.js +1 -1
- package/lib/commonjs/services/trainingApiHelpers.js +1 -1
- package/lib/commonjs/services/userConnectionsService.js +1 -1
- package/lib/commonjs/services/youtubeMigrationService.js +1 -1
- package/lib/commonjs/theme/index.js +1 -1
- package/lib/commonjs/types/index.js +1 -1
- package/lib/commonjs/types.js +1 -1
- package/lib/commonjs/utils/Portal.js +1 -1
- package/lib/commonjs/utils/api.js +1 -1
- package/lib/commonjs/utils/assetRegistry.js +1 -1
- package/lib/commonjs/utils/auth.js +1 -1
- package/lib/commonjs/utils/connectorTests.js +1 -1
- package/lib/commonjs/utils/crypto.js +1 -1
- package/lib/commonjs/utils/debugHelper.js +1 -1
- package/lib/commonjs/utils/encryption.js +1 -1
- package/lib/commonjs/utils/eventUtils.js +1 -1
- package/lib/commonjs/utils/haptics.js +1 -1
- package/lib/commonjs/utils/imagePreloader.js +1 -1
- package/lib/commonjs/utils/networkDiagnostics.js +1 -1
- package/lib/commonjs/utils/onairosApi.js +1 -1
- package/lib/commonjs/utils/programmaticFlow.js +1 -1
- package/lib/commonjs/utils/retryHelper.js +1 -1
- package/lib/commonjs/utils/secureStorage.js +1 -1
- package/lib/commonjs/utils/webviewScripts/chatgpt.js +1 -1
- package/lib/commonjs/utils/webviewScripts/claude.js +1 -1
- package/lib/commonjs/utils/webviewScripts/hinge.js +1 -1
- package/lib/commonjs/utils/webviewScripts/index.js +1 -1
- package/lib/commonjs/utils/webviewScripts/instagram.js +1 -1
- package/lib/commonjs/utils/webviewScripts/linkedin.js +1 -1
- package/lib/commonjs/utils/webviewScripts/sephora.js +1 -1
- package/lib/commonjs/utils/webviewScripts/telegram.js +1 -1
- package/lib/module/api/index.js +1 -1
- package/lib/module/components/BodyText.js +1 -1
- package/lib/module/components/BrandMark.js +1 -1
- package/lib/module/components/CodeInput.js +1 -1
- package/lib/module/components/EmailInput.js +1 -1
- package/lib/module/components/GoogleButton.js +1 -1
- package/lib/module/components/HeadingGroup.js +1 -1
- package/lib/module/components/LLMDataInputModal.js +1 -1
- package/lib/module/components/ModalHeader.js +1 -1
- package/lib/module/components/ModalSheet.js +1 -1
- package/lib/module/components/Onairos.js +1 -1
- package/lib/module/components/OnairosButton.js +1 -1
- package/lib/module/components/OnairosSignInButton.js +1 -1
- package/lib/module/components/Overlay.js +1 -1
- package/lib/module/components/PersonaImage.js +1 -1
- package/lib/module/components/PersonaLoadingScreen.js +1 -1
- package/lib/module/components/PersonalizationConsentScreen.js +1 -1
- package/lib/module/components/PinCreationScreen.js +1 -1
- package/lib/module/components/PinInput.js +1 -1
- package/lib/module/components/PlatformConnectorsStep.js +1 -1
- package/lib/module/components/PlatformList.js +1 -1
- package/lib/module/components/PlatformToggle.js +1 -1
- package/lib/module/components/PrimaryButton.js +1 -1
- package/lib/module/components/SignInMatchAnimation.js +1 -1
- package/lib/module/components/SignInStep.js +1 -1
- package/lib/module/components/UniversalOnboarding.js +1 -1
- package/lib/module/components/VerificationStep.js +1 -1
- package/lib/module/components/WelcomeScreen.js +1 -1
- package/lib/module/components/icons/Basicproficon.js +1 -1
- package/lib/module/components/icons/Basicprofile.js +1 -1
- package/lib/module/components/icons/Checkbox.js +1 -1
- package/lib/module/components/icons/Checkmark.js +1 -1
- package/lib/module/components/icons/Contentanalysis.js +1 -1
- package/lib/module/components/icons/Contenticon.js +1 -1
- package/lib/module/components/icons/EnochE.js +1 -1
- package/lib/module/components/icons/Personalityicon.js +1 -1
- package/lib/module/components/icons/Personalityprofile.js +1 -1
- package/lib/module/components/icons/Personalitytraits.js +1 -1
- package/lib/module/components/icons/Userpreferences.js +1 -1
- package/lib/module/components/onboarding/OAuthWebView.js +1 -1
- package/lib/module/components/onboarding/OnboardingHeader.js +1 -1
- package/lib/module/components/onboarding/PinInput.js +1 -1
- package/lib/module/components/onboarding/PlatformConnector.js +1 -1
- package/lib/module/config/api.js +1 -1
- package/lib/module/constants/index.js +1 -1
- package/lib/module/context/AuthContext.js +1 -1
- package/lib/module/hooks/useConnectedAccounts.js +1 -1
- package/lib/module/hooks/useConnections.js +1 -1
- package/lib/module/hooks/useCredentials.js +1 -1
- package/lib/module/hooks/useUserConnections.js +1 -1
- package/lib/module/index.js +1 -1
- package/lib/module/services/apiClient.js +1 -1
- package/lib/module/services/apiKeyService.js +1 -1
- package/lib/module/services/authService.js +1 -1
- package/lib/module/services/biometricPinService.js +1 -1
- package/lib/module/services/chatGPTConversationExtractor.js +1 -1
- package/lib/module/services/chatGPTConversationService.js +1 -1
- package/lib/module/services/claudeConversationExtractor.js +1 -1
- package/lib/module/services/claudeConversationService.js +1 -1
- package/lib/module/services/connectedAccountsService.js +1 -1
- package/lib/module/services/googleAuthService.js +1 -1
- package/lib/module/services/hingeDataExtractor.js +1 -1
- package/lib/module/services/hingeDataService.js +1 -1
- package/lib/module/services/imageCompressionService.js +1 -1
- package/lib/module/services/instagramDataExtractor.js +1 -1
- package/lib/module/services/instagramDataService.js +1 -1
- package/lib/module/services/jwtStorageService.js +1 -1
- package/lib/module/services/linkedinDOMExtractor.js +1 -1
- package/lib/module/services/linkedinProfileService.js +1 -1
- package/lib/module/services/linkedinScrapingService.js +1 -1
- package/lib/module/services/llmDataStorage.js +1 -1
- package/lib/module/services/mobileTrainingService.js +1 -1
- package/lib/module/services/oauthService.js +1 -1
- package/lib/module/services/pinEncryptionService.js +1 -1
- package/lib/module/services/pinStorageUtils.js +1 -1
- package/lib/module/services/platformAuthService.js +1 -1
- package/lib/module/services/sephoraDataExtractor.js +1 -1
- package/lib/module/services/sephoraDataService.js +1 -1
- package/lib/module/services/storageService.js +1 -1
- package/lib/module/services/telegramDataExtractor.js +1 -1
- package/lib/module/services/telegramDataService.js +1 -1
- package/lib/module/services/trainingApiHelpers.js +1 -1
- package/lib/module/services/userConnectionsService.js +1 -1
- package/lib/module/services/youtubeMigrationService.js +1 -1
- package/lib/module/theme/index.js +1 -1
- package/lib/module/types.js +1 -1
- package/lib/module/utils/Portal.js +1 -1
- package/lib/module/utils/api.js +1 -1
- package/lib/module/utils/assetRegistry.js +1 -1
- package/lib/module/utils/auth.js +1 -1
- package/lib/module/utils/connectorTests.js +1 -1
- package/lib/module/utils/crypto.js +1 -1
- package/lib/module/utils/debugHelper.js +1 -1
- package/lib/module/utils/encryption.js +1 -1
- package/lib/module/utils/eventUtils.js +1 -1
- package/lib/module/utils/haptics.js +1 -1
- package/lib/module/utils/networkDiagnostics.js +1 -1
- package/lib/module/utils/onairosApi.js +1 -1
- package/lib/module/utils/programmaticFlow.js +1 -1
- package/lib/module/utils/retryHelper.js +1 -1
- package/lib/module/utils/secureStorage.js +1 -1
- package/lib/module/utils/webviewScripts/chatgpt.js +1 -1
- package/lib/module/utils/webviewScripts/claude.js +1 -1
- package/lib/module/utils/webviewScripts/hinge.js +1 -1
- package/lib/module/utils/webviewScripts/index.js +1 -1
- package/lib/module/utils/webviewScripts/instagram.js +1 -1
- package/lib/module/utils/webviewScripts/linkedin.js +1 -1
- package/lib/module/utils/webviewScripts/sephora.js +1 -1
- package/lib/module/utils/webviewScripts/telegram.js +1 -1
- package/package.json +1 -1
|
@@ -7,4 +7,4 @@ var __ONAIROS_REQ_REGISTRY__ = [
|
|
|
7
7
|
require("../utils/assetRegistry")
|
|
8
8
|
];
|
|
9
9
|
function __ONAIROS_REQ_FUNC__(i) { return __ONAIROS_REQ_REGISTRY__[i]; }
|
|
10
|
-
Object[_0x5a59(0x0)](exports,'__esModule',{'value':!![]}),exports[_0x5a59(0x1)]=exports[_0x5a59(0x2)]=exports[_0x5a59(0x3)]=exports['getUserConnections']=void 0x0;var _authService=__ONAIROS_REQ_FUNC__(0x0),_asyncStorage=_interopRequireDefault(__ONAIROS_REQ_FUNC__(0x1)),_api=__ONAIROS_REQ_FUNC__(0x2),_assetRegistry=__ONAIROS_REQ_FUNC__(0x3);function _0x4aa6(){const _0x578bb7=['defineProperty','uploadProfilePicture','getUserConnectionsByUsername','getUserConnectionsByUserId','__esModule','✅\x20Successfully\x20got\x20connections\x20by\x20user\x20ID:','⚠️\x20[USER\x20ID]\x20getUserProfile\x20returned\x20invalid/fallback\x20ID:','✅\x20[USER\x20ID]\x20Got\x20user\x20ID\x20from\x20getUserProfile:','🔍\x20[USER\x20ID]\x20JWT\x20token\x20found\x20but\x20no\x20local\x20user\x20identifier\x20-\x20backend\x20should\x20handle\x20via\x20token','🔄\x20Transformed\x20connections\x20by\x20userId:','CbBAV','🔍\x20[USER\x20ID]\x20Attempting\x20to\x20get\x20user\x20identifier\x20with\x20multiple\x20methods...','nXbZM','⚠️\x20[USER\x20ID]\x20getUserProfile\x20failed:','fallback_user','✅\x20[USER\x20ID]\x20Got\x20user\x20ID\x20from\x20AsyncStorage:','⚠️\x20[USER\x20ID]\x20Invalid\x20stored\x20user\x20ID\x20found:','marker','yfGmO','✅\x20[USER\x20ID]\x20Got\x20username\x20from\x20AsyncStorage\x20(backend\x20supports\x20usernames):','⚠️\x20[USER\x20ID]\x20Invalid\x20stored\x20username\x20found:','✅\x20[USER\x20ID]\x20Got\x20email\x20from\x20AsyncStorage\x20(backend\x20supports\x20usernames):','⚠️\x20[USER\x20ID]\x20Invalid\x20stored\x20email\x20found:','UDwfV','FoHxv','dBJhG','❌\x20[USER\x20ID]\x20No\x20valid\x20user\x20identifier\x20found','iIOaq','log','DAAHE','YwPEA','KGNce','nmsiB','AHuDo','VTciB','LoWjC','UVjPO','SnjaO','Ihbia','MnaKr','warn','IrObb','default','getItem','user_id','ZBPZZ','length','ixNxX','bMmun','pvgHE','vqYfA','SZRwb','tISVQ','connections','map','wSKZM','PbIRT','includes','Vxegw','ninXL','getAuthToken','split','EQSRo','jknPi','BdNyT','zBAIS','⚠️\x20[USER\x20ID]\x20JWT\x20token\x20access\x20failed:','🔄\x20[USER\x20DEBUG]\x20Using\x20stored\x20user\x20ID\x20as\x20fallback:','error','pAKnU','❌\x20[USER\x20ID]\x20Error\x20getting\x20user\x20identifier:','PERSONA_IMAGES','level1','level2','level3','level4','level5','API_CONFIG','BASE_URL','Looking\x20to\x20connect','Hi!\x20Nice\x20to\x20meet\x20you.','🔄\x20Transforming\x20API\x20connection:','name','description','zIDzX','interests','sharedPassions','complementaryQualities','compatibility','qbCet','nlSuW','random','Unknown\x20User','photo','bio','mutualConnections','conversationStarters','meaningfulCoincidences','mutualConnectionsList','nCwFH','context','⚠️\x20[DEPRECATED]\x20uploadProfilePicture\x20has\x20been\x20removed\x20from\x20SDK','uploadProfilePicture\x20has\x20been\x20removed\x20from\x20SDK.\x20Consuming\x20apps\x20should\x20call\x20the\x20Enoch\x20API\x20directly.','🔄\x20[USER\x20DEBUG]\x20Using\x20stored\x20username\x20as\x20email\x20fallback:','✅\x20[CONNECTIONS\x20API]\x20Using\x20authenticated\x20request\x20with\x20token:','mock','✅\x20API\x20connections\x20fetched\x20by\x20username:','🔄\x20Transformed\x20connections\x20by\x20username:','❌\x20[NETWORK\x20ERROR]\x20Full\x20error\x20details:','mSYFg','fdpiB','ZKnZJ','🔍\x20Fetching\x20connections\x20for\x20username:','⚠️\x20[CONNECTIONS\x20API]\x20This\x20may\x20result\x20in\x20limited\x20or\x20cached\x20data\x20from\x20backend','CYlpF','substring','...','jjOnt','success','source','wPqay','dAXrF','fEGYq','IJHhG','vRWwY','❌\x20Error\x20fetching\x20connections\x20by\x20username:','lRLEl','stringify','XTlTx','⚠️\x20[CONNECTIONS\x20API]\x20No\x20authentication\x20token\x20available\x20for\x20user\x20ID\x20connections\x20request','❌\x20Error\x20fetching\x20connections\x20by\x20userId:','🔍\x20Fetching\x20connections\x20for\x20userId:','Knkkn','sCLzt','EkWNP','LhJfR','HAZgp','✅\x20API\x20connections\x20fetched\x20by\x20userId:','lSxZy','FTFbp','NljmU','AsNNM','PUzpa','getOwnPropertyNames','❌\x20[NETWORK\x20ERROR\x20FALLBACK]\x20Full\x20error\x20details:','Kurgu','🔍\x20[USER\x20DEBUG]\x20Checking\x20all\x20available\x20user\x20data\x20sources...','onairos_username','user_email','none','🎯\x20getUserConnections\x20-\x20User\x20profile:','eZYSH','🎯\x20PRIORITY:\x20Attempting\x20to\x20fetch\x20connections\x20by\x20email\x20(working\x20endpoint):','✅\x20Successfully\x20got\x20connections\x20by\x20email:','⚠️\x20No\x20connections\x20found\x20by\x20email,\x20trying\x20user\x20ID...','EcSgU','🎯\x20FALLBACK:\x20Attempting\x20to\x20fetch\x20connections\x20by\x20user\x20ID:','⚠️\x20No\x20connections\x20found\x20by\x20user\x20ID','❌\x20Error\x20in\x20getUserConnections:','fsXCL','GiFUW','yvXpN','USER_CONNECTIONS','doFPz','TeDHm','ZMAMx','auth_token','lGoUe','getUserProfile','TCxXD','email','xqULU','ybspx','IdxAI','stxXf','🔄\x20[USER\x20DEBUG]\x20Using\x20stored\x20email\x20as\x20fallback:','nGoMu','PBWHx','pmYUQ','lcZIG','LgHbU','SkqlL','hAzni','rzYmE','rqlcw','RkEBK','ZJyKh','xmFfg','getUserConnections','ℹ️\x20Consuming\x20apps\x20should\x20call\x20/enoch/users/{id}/profile-picture/base64\x20directly','mmCqO'];_0x4aa6=function(){return _0x578bb7;};return _0x4aa6();}function _interopRequireDefault(_0x1edc2e){return _0x1edc2e&&_0x1edc2e[_0x5a59(0x4)]?_0x1edc2e:{'default':_0x1edc2e};}const getUserIdWithFallbacks=async()=>{const _0x5d0c84={'jNiJy':_0x5a59(0x5),'AHuDo':_0x5a59(0x6),'VTciB':function(_0xee7e23,_0x5c2d97){return _0xee7e23===_0x5c2d97;},'UVjPO':_0x5a59(0x7),'SZRwb':_0x5a59(0x8),'wSKZM':_0x5a59(0x9),'iIOaq':_0x5a59(0xa),'DAAHE':_0x5a59(0xb),'YwPEA':function(_0x5d0ed6,_0x4a7285){return _0x5d0ed6===_0x4a7285;},'KGNce':'KNoQq','LoWjC':function(_0x1e9087,_0x244721){return _0x1e9087!==_0x244721;},'SnjaO':function(_0x2b7df6,_0x399322){return _0x2b7df6===_0x399322;},'Ihbia':'VBauH','MnaKr':_0x5a59(0xc),'IzXqu':function(_0x1b591b,_0x47d706){return _0x1b591b===_0x47d706;},'IrObb':_0x5a59(0xd),'osMil':_0x5a59(0xe),'ZBPZZ':function(_0x386968,_0x4e0e94){return _0x386968>_0x4e0e94;},'gyyVd':'CVGvs','ixNxX':'PDuHy','bMmun':_0x5a59(0xf),'pvgHE':function(_0x51c6e1,_0x5bf1c1){return _0x51c6e1===_0x5bf1c1;},'SrvTu':'LnjuR','vqYfA':_0x5a59(0x10),'tISVQ':function(_0x4495c2,_0x1cd753){return _0x4495c2!==_0x1cd753;},'FyWLX':_0x5a59(0x11),'jhVLG':_0x5a59(0x12),'UihaQ':_0x5a59(0x13),'PbIRT':_0x5a59(0x14),'glpBZ':_0x5a59(0x15),'hsjFY':_0x5a59(0x16),'hqlQL':function(_0x32b6a8,_0x206137){return _0x32b6a8===_0x206137;},'Vxegw':_0x5a59(0x17),'CfduY':function(_0x3b69a2,_0x5db1eb){return _0x3b69a2===_0x5db1eb;},'SRkpF':_0x5a59(0x18),'EQSRo':_0x5a59(0x19),'jknPi':function(_0x2da6f6,_0x45d7df){return _0x2da6f6!==_0x45d7df;},'zBAIS':'UGuZT','pAKnU':_0x5a59(0x1a)};try{if(_0x5d0c84[_0x5a59(0x1b)]!==_0x5d0c84[_0x5a59(0x1b)])return _0x9f66b[_0x5a59(0x1c)](_0x5d0c84['jNiJy'],_0x3f5fef['length']),_0xb556ac;else{console['log'](_0x5d0c84[_0x5a59(0x1d)]);try{if(_0x5d0c84[_0x5a59(0x1e)](_0x5d0c84[_0x5a59(0x1f)],_0x5a59(0x20)))_0x4aaec9['warn'](_0x5d0c84[_0x5a59(0x21)],_0x5f0169===null||_0x5d0c84[_0x5a59(0x22)](_0x4b18b9,void 0x0)?void 0x0:_0x54a3c1['id']);else{const _0x3aff9c=await(0x0,_authService['getUserProfile'])();if(_0x3aff9c!==null&&_0x5d0c84[_0x5a59(0x23)](_0x3aff9c,void 0x0)&&_0x3aff9c['id']&&_0x3aff9c['id']!=='fallback_user')return console['log'](_0x5d0c84[_0x5a59(0x24)],_0x3aff9c['id']),_0x3aff9c['id'];else _0x5d0c84[_0x5a59(0x25)](_0x5d0c84[_0x5a59(0x26)],_0x5d0c84[_0x5a59(0x27)])?_0x546ec9[_0x5a59(0x28)](_0x5a59(0x14),_0x1e5205):console[_0x5a59(0x28)](_0x5d0c84[_0x5a59(0x21)],_0x3aff9c===null||_0x5d0c84['IzXqu'](_0x3aff9c,void 0x0)?void 0x0:_0x3aff9c['id']);}}catch(_0x32001e){console['warn'](_0x5d0c84[_0x5a59(0x29)],_0x32001e);}const _0x2db129=await _asyncStorage[_0x5a59(0x2a)][_0x5a59(0x2b)](_0x5a59(0x2c));if(_0x2db129&&_0x2db129!==_0x5a59(0x11)&&_0x2db129!==_0x5d0c84['osMil']&&_0x5d0c84[_0x5a59(0x2d)](_0x2db129[_0x5a59(0x2e)],0xa))return _0x5d0c84['gyyVd']!==_0x5d0c84[_0x5a59(0x2f)]?(console[_0x5a59(0x1c)](_0x5d0c84[_0x5a59(0x30)],_0x2db129),_0x2db129):(_0xb9b2dd[_0x5a59(0x1c)](_0x5d0c84[_0x5a59(0x24)],_0x59a1fd['id']),_0xdae31d['id']);else _0x2db129&&(_0x5d0c84[_0x5a59(0x31)]('LnjuR',_0x5d0c84['SrvTu'])?console[_0x5a59(0x28)](_0x5d0c84[_0x5a59(0x32)],_0x2db129):_0x5b883f['log'](_0x5d0c84[_0x5a59(0x33)]));const _0x12e61e=await _asyncStorage['default'][_0x5a59(0x2b)]('onairos_username');if(_0x12e61e&&_0x5d0c84['ZBPZZ'](_0x12e61e[_0x5a59(0x2e)],0x2)&&_0x5d0c84[_0x5a59(0x34)](_0x12e61e,_0x5d0c84['FyWLX'])){if(_0x5d0c84[_0x5a59(0x34)](_0x5d0c84['jhVLG'],_0x5a59(0x12))){const _0x3c82f9=_0x5260fd[_0x5a59(0x35)][_0x5a59(0x36)](_0x2a9daa);return _0x52d0d2[_0x5a59(0x1c)](_0x5d0c84[_0x5a59(0x37)],_0x3c82f9[_0x5a59(0x2e)]),_0x3c82f9;}else return console[_0x5a59(0x1c)](_0x5d0c84['UihaQ'],_0x12e61e),_0x12e61e;}else _0x12e61e&&console[_0x5a59(0x28)](_0x5d0c84[_0x5a59(0x38)],_0x12e61e);const _0x4bd42d=await _asyncStorage['default'][_0x5a59(0x2b)]('user_email');if(_0x4bd42d&&_0x4bd42d[_0x5a59(0x39)]('@')&&_0x4bd42d['length']>0x5)return console[_0x5a59(0x1c)](_0x5d0c84['glpBZ'],_0x4bd42d),_0x4bd42d;else _0x4bd42d&&console[_0x5a59(0x28)](_0x5d0c84['hsjFY'],_0x4bd42d);try{if(_0x5d0c84['hqlQL'](_0x5d0c84[_0x5a59(0x3a)],_0x5a59(0x3b)))return _0x573bfa[_0x5a59(0x1c)](_0x5a59(0x13),_0x9be863),_0x585b10;else{const _0x22af0a=await(0x0,_authService[_0x5a59(0x3c)])();_0x22af0a&&_0x5d0c84['CfduY'](_0x22af0a[_0x5a59(0x3d)]('.')[_0x5a59(0x2e)],0x3)&&(_0x5d0c84['SRkpF']!==_0x5d0c84[_0x5a59(0x3e)]?console[_0x5a59(0x1c)]('🔍\x20[USER\x20ID]\x20JWT\x20token\x20found\x20but\x20no\x20local\x20user\x20identifier\x20-\x20backend\x20should\x20handle\x20via\x20token'):_0x43539c['warn'](_0x5a59(0xd),_0x9937a7));}}catch(_0x37d1e4){_0x5d0c84[_0x5a59(0x3f)](_0x5a59(0x40),_0x5d0c84[_0x5a59(0x41)])?console[_0x5a59(0x28)](_0x5a59(0x42),_0x37d1e4):(_0x69ed4f['log'](_0x5a59(0x43),_0x1d3f9a),_0xdcef30=_0xe22a75);}return console[_0x5a59(0x44)](_0x5d0c84[_0x5a59(0x45)]),null;}}catch(_0x247c7b){return console[_0x5a59(0x44)](_0x5a59(0x46),_0x247c7b),null;}},samImage=_assetRegistry[_0x5a59(0x47)][_0x5a59(0x48)],anandImage=_assetRegistry[_0x5a59(0x47)][_0x5a59(0x49)],chrisImage=_assetRegistry[_0x5a59(0x47)][_0x5a59(0x4a)],katieImage=_assetRegistry[_0x5a59(0x47)][_0x5a59(0x4b)],yanniImage=_assetRegistry[_0x5a59(0x47)][_0x5a59(0x4c)],API_BASE_URL=_api[_0x5a59(0x4d)][_0x5a59(0x4e)],transformAPIConnection=_0x4c78a4=>{const _0x12a2f4={'zIDzX':function(_0x2df1cb,_0x40a40c){return _0x2df1cb===_0x40a40c;},'qbCet':function(_0x3ca68c,_0x4b3659){return _0x3ca68c(_0x4b3659);},'nlSuW':function(_0x576bbc,_0x4524c7){return _0x576bbc(_0x4524c7);},'jpOhz':function(_0x367c95,_0x3c1a00){return _0x367c95*_0x3c1a00;},'SZSYP':_0x5a59(0x4f),'cAHAb':_0x5a59(0x50),'ylysj':function(_0x4d9815,_0x23083d){return _0x4d9815===_0x23083d;},'nCwFH':function(_0xe07ff5,_0x3894b0){return _0xe07ff5===_0x3894b0;}};var _0x419530,_0x464629;return console[_0x5a59(0x1c)](_0x5a59(0x51),{'id':_0x4c78a4['id'],'name':_0x4c78a4[_0x5a59(0x52)],'description':_0x4c78a4[_0x5a59(0x53)],'hasPhoto':!!_0x4c78a4['photo'],'photoLength':_0x12a2f4[_0x5a59(0x54)](_0x419530=_0x4c78a4['photo'],null)||_0x419530===void 0x0?void 0x0:_0x419530[_0x5a59(0x2e)],'interests':_0x4c78a4[_0x5a59(0x55)],'sharedPassions':_0x4c78a4[_0x5a59(0x56)],'complementaryQualities':_0x4c78a4[_0x5a59(0x57)],'compatibility':_0x4c78a4[_0x5a59(0x58)]}),{'id':_0x12a2f4[_0x5a59(0x59)](parseInt,_0x4c78a4['id'])||_0x12a2f4[_0x5a59(0x5a)](parseInt,_0x4c78a4['_id']||'')||_0x12a2f4['jpOhz'](Math[_0x5a59(0x5b)](),0x3e8),'name':_0x4c78a4[_0x5a59(0x52)]||_0x5a59(0x5c),'description':_0x4c78a4['description']||_0x12a2f4['SZSYP'],'photo':_0x4c78a4[_0x5a59(0x5d)]||'','bio':_0x4c78a4[_0x5a59(0x5e)]||'','interests':_0x4c78a4['interests']||[],'mutualConnections':_0x4c78a4[_0x5a59(0x5f)]||0x0,'compatibility':_0x4c78a4['compatibility']||0x0,'conversationStarters':_0x4c78a4[_0x5a59(0x60)]||[_0x12a2f4['cAHAb']],'sharedPassions':_0x4c78a4[_0x5a59(0x56)]||[],'complementaryQualities':_0x4c78a4[_0x5a59(0x57)]||[],'meaningfulCoincidences':_0x4c78a4[_0x5a59(0x61)]||[],'mutualConnectionsList':(_0x12a2f4['ylysj'](_0x464629=_0x4c78a4[_0x5a59(0x62)],null)||_0x12a2f4[_0x5a59(0x63)](_0x464629,void 0x0)?void 0x0:_0x464629[_0x5a59(0x36)](_0x17dbc0=>({'name':_0x17dbc0[_0x5a59(0x52)],'photo':_0x17dbc0[_0x5a59(0x5d)],'context':_0x17dbc0[_0x5a59(0x64)]})))||[]};},getUserConnectionsByUsername=async _0x6ae3d=>{const _0x6419fe={'dAXrF':_0x5a59(0x65),'fEGYq':'ℹ️\x20Consuming\x20apps\x20should\x20call\x20/enoch/users/{id}/profile-picture/base64\x20directly','brmxk':_0x5a59(0x66),'KKGEs':_0x5a59(0x67),'mSYFg':function(_0x5bb0a1,_0x1e2468){return _0x5bb0a1===_0x1e2468;},'fdpiB':'ZKnZJ','BgzhP':'⚠️\x20[CONNECTIONS\x20API]\x20No\x20authentication\x20token\x20available\x20for\x20connections\x20request','CYlpF':_0x5a59(0x68),'cjfey':'API\x20function\x20not\x20available','jjOnt':_0x5a59(0x69),'JCcaX':_0x5a59(0x6a),'GsdUX':function(_0x278cb4,_0x4e6202){return _0x278cb4!==_0x4e6202;},'wPqay':function(_0x2b18bb,_0x5ec183){return _0x2b18bb>_0x5ec183;},'OGsqi':_0x5a59(0x6b),'vRWwY':'GvoOV','lRLEl':_0x5a59(0x6c)};try{if(_0x6419fe[_0x5a59(0x6d)](_0x6419fe[_0x5a59(0x6e)],_0x5a59(0x6f))){var _0x2982aa,_0x468f47;console[_0x5a59(0x1c)](_0x5a59(0x70),_0x6ae3d);const _0x4ec06d=await(0x0,_authService[_0x5a59(0x3c)])();if(!_0x4ec06d)return console[_0x5a59(0x28)](_0x6419fe['BgzhP']),console[_0x5a59(0x28)](_0x5a59(0x71)),[];console['log'](_0x6419fe[_0x5a59(0x72)],_0x4ec06d[_0x5a59(0x73)](0x0,0x14)+_0x5a59(0x74));const _0x548765={'success':![],'message':_0x6419fe['cjfey'],'connections':[],'source':_0x6419fe[_0x5a59(0x75)]};console[_0x5a59(0x1c)](_0x6419fe['JCcaX'],{'success':_0x548765[_0x5a59(0x76)],'connectionsCount':((_0x2982aa=_0x548765[_0x5a59(0x35)])===null||_0x6419fe['mSYFg'](_0x2982aa,void 0x0)?void 0x0:_0x2982aa[_0x5a59(0x2e)])||0x0,'source':_0x548765[_0x5a59(0x77)],'firstConnection':_0x6419fe['GsdUX'](_0x468f47=_0x548765[_0x5a59(0x35)],null)&&_0x468f47!==void 0x0&&_0x468f47[0x0]?{'id':_0x548765[_0x5a59(0x35)][0x0]['id'],'name':_0x548765[_0x5a59(0x35)][0x0][_0x5a59(0x52)],'description':_0x548765[_0x5a59(0x35)][0x0]['description']}:null});if(_0x548765['success']&&_0x548765['connections']&&_0x6419fe[_0x5a59(0x78)](_0x548765[_0x5a59(0x35)][_0x5a59(0x2e)],0x0)){const _0x304391=_0x548765[_0x5a59(0x35)][_0x5a59(0x36)](transformAPIConnection);return console[_0x5a59(0x1c)](_0x6419fe['OGsqi'],_0x304391[_0x5a59(0x2e)]),_0x304391;}return[];}else return _0x1b7b8d[_0x5a59(0x28)](_0x6419fe[_0x5a59(0x79)]),_0x41f2c8['warn'](_0x6419fe[_0x5a59(0x7a)]),{'success':![],'error':_0x6419fe['brmxk']};}catch(_0xe3cdaf){if(_0x5a59(0x7b)===_0x6419fe[_0x5a59(0x7c)])_0x1f7134[_0x5a59(0x1c)](_0x6419fe['KKGEs'],_0x4949f9),_0x351b18=_0x924fe0;else return console[_0x5a59(0x1c)](_0x5a59(0x7d),_0xe3cdaf),console['log'](_0x6419fe[_0x5a59(0x7e)],JSON[_0x5a59(0x7f)](_0xe3cdaf,Object['getOwnPropertyNames'](_0xe3cdaf))),[];}};exports[_0x5a59(0x2)]=getUserConnectionsByUsername;const getUserConnectionsByUserId=async _0x2caba2=>{const _0x4e71fa={'sCLzt':'🔄\x20[USER\x20DEBUG]\x20Using\x20stored\x20email\x20as\x20fallback:','FTFbp':function(_0x1c74c1,_0x3f344b){return _0x1c74c1!==_0x3f344b;},'Knkkn':_0x5a59(0x80),'EkWNP':_0x5a59(0x81),'LhJfR':_0x5a59(0x68),'HAZgp':_0x5a59(0x69),'lSxZy':function(_0x4f8de0,_0x2c8614){return _0x4f8de0===_0x2c8614;},'NljmU':function(_0x1c7549,_0x332ba6){return _0x1c7549>_0x332ba6;},'AsNNM':_0x5a59(0x9),'sAoab':_0x5a59(0x82),'PUzpa':'❌\x20[NETWORK\x20ERROR\x20FALLBACK]\x20Full\x20error\x20details:'};try{var _0x3148ea,_0x5ef0c4;console[_0x5a59(0x1c)](_0x5a59(0x83),_0x2caba2);const _0x109a05=await(0x0,_authService[_0x5a59(0x3c)])();if(!_0x109a05){if(_0x4e71fa['FTFbp'](_0x4e71fa[_0x5a59(0x84)],_0x4e71fa['Knkkn']))_0x39c8d2[_0x5a59(0x1c)](_0x4e71fa[_0x5a59(0x85)],_0x5d432b),_0x541d4e=_0x598448;else return console[_0x5a59(0x28)](_0x4e71fa[_0x5a59(0x86)]),[];}console[_0x5a59(0x1c)](_0x4e71fa[_0x5a59(0x87)],_0x109a05[_0x5a59(0x73)](0x0,0x14)+_0x5a59(0x74));const _0x4e408e={'success':![],'message':'API\x20function\x20not\x20available','connections':[],'source':_0x4e71fa[_0x5a59(0x88)]};console['log'](_0x5a59(0x89),{'success':_0x4e408e[_0x5a59(0x76)],'connectionsCount':(_0x4e71fa[_0x5a59(0x8a)](_0x3148ea=_0x4e408e[_0x5a59(0x35)],null)||_0x4e71fa[_0x5a59(0x8a)](_0x3148ea,void 0x0)?void 0x0:_0x3148ea[_0x5a59(0x2e)])||0x0,'source':_0x4e408e[_0x5a59(0x77)],'firstConnection':(_0x5ef0c4=_0x4e408e[_0x5a59(0x35)])!==null&&_0x4e71fa[_0x5a59(0x8b)](_0x5ef0c4,void 0x0)&&_0x5ef0c4[0x0]?{'id':_0x4e408e[_0x5a59(0x35)][0x0]['id'],'name':_0x4e408e[_0x5a59(0x35)][0x0][_0x5a59(0x52)],'description':_0x4e408e[_0x5a59(0x35)][0x0]['description']}:null});if(_0x4e408e[_0x5a59(0x76)]&&_0x4e408e[_0x5a59(0x35)]&&_0x4e71fa[_0x5a59(0x8c)](_0x4e408e['connections']['length'],0x0)){const _0x2fb3ff=_0x4e408e['connections']['map'](transformAPIConnection);return console['log'](_0x4e71fa[_0x5a59(0x8d)],_0x2fb3ff[_0x5a59(0x2e)]),_0x2fb3ff;}return[];}catch(_0x1ff66e){return console[_0x5a59(0x1c)](_0x4e71fa['sAoab'],_0x1ff66e),console['log'](_0x4e71fa[_0x5a59(0x8e)],JSON['stringify'](_0x1ff66e,Object[_0x5a59(0x8f)](_0x1ff66e))),[];}};function _0x5a59(_0x4aa6c9,_0x5a597d){_0x4aa6c9=_0x4aa6c9-0x0;const _0x4e9c30=_0x4aa6();let _0x35fd13=_0x4e9c30[_0x4aa6c9];return _0x35fd13;}exports[_0x5a59(0x3)]=getUserConnectionsByUserId;const getUserConnections=async()=>{const _0x41d052={'GiFUW':_0x5a59(0x82),'yvXpN':_0x5a59(0x90),'stxXf':_0x5a59(0x6c),'lcZIG':'⚠️\x20[USER\x20ID]\x20Invalid\x20stored\x20email\x20found:','rqlcw':_0x5a59(0x81),'KnWrq':'KlAjL','fsXCL':_0x5a59(0x91),'doFPz':_0x5a59(0x92),'TeDHm':_0x5a59(0x93),'ZMAMx':_0x5a59(0x94),'lGoUe':'🔍\x20[USER\x20DEBUG]\x20AsyncStorage\x20data:','fIZoe':_0x5a59(0x95),'ZVoxq':_0x5a59(0x96),'TCxXD':function(_0x356fbe,_0x2a7035){return _0x356fbe!==_0x2a7035;},'wHKyB':function(_0x372bf6,_0x479b0c){return _0x372bf6!==_0x479b0c;},'xqULU':function(_0x2b5205,_0xe5b636){return _0x2b5205===_0xe5b636;},'ybspx':function(_0x11fd24,_0x16bc88){return _0x11fd24===_0x16bc88;},'YhvUa':function(_0x8d03b1,_0x4e98fe){return _0x8d03b1===_0x4e98fe;},'IdxAI':function(_0x4229fc,_0x2285fa){return _0x4229fc===_0x2285fa;},'StHqn':_0x5a59(0x97),'JdZYv':'🔄\x20[USER\x20DEBUG]\x20Using\x20stored\x20username\x20as\x20email\x20fallback:','nGoMu':function(_0x17592f,_0x208d36){return _0x17592f&&_0x208d36;},'PBWHx':'🔄\x20[USER\x20DEBUG]\x20Using\x20stored\x20user\x20ID\x20as\x20fallback:','pmYUQ':'jziai','cCvUc':_0x5a59(0x98),'LgHbU':function(_0xaec22,_0xc49ab2){return _0xaec22(_0xc49ab2);},'TnzPV':function(_0x2d0ac8,_0x2f1efa){return _0x2d0ac8>_0x2f1efa;},'SkqlL':_0x5a59(0x99),'hAzni':_0x5a59(0x9a),'iJxaf':function(_0x5ce2c8,_0x583f6a){return _0x5ce2c8===_0x583f6a;},'HpGpz':_0x5a59(0x9b),'RkEBK':_0x5a59(0x9c),'wTBIX':function(_0x1b231f,_0x46a649){return _0x1b231f(_0x46a649);},'sJUTS':function(_0xeaeaa1,_0x412a9c){return _0xeaeaa1>_0x412a9c;},'ZJyKh':_0x5a59(0x5),'xmFfg':_0x5a59(0x9d),'rztno':_0x5a59(0x9e)};try{if(_0x41d052['KnWrq']===_0x41d052[_0x5a59(0x9f)])return _0x68720e[_0x5a59(0x1c)](_0x41d052[_0x5a59(0xa0)],_0x1b3ddb),_0x5c19f4[_0x5a59(0x1c)](_0x41d052[_0x5a59(0xa1)],_0x5b906d[_0x5a59(0x7f)](_0x549e4b,_0x1ed20a[_0x5a59(0x8f)](_0x1ae5b3))),[];else{await(0x0,_authService['ensureAuthentication'])(_0x5a59(0xa2)),console[_0x5a59(0x1c)](_0x41d052[_0x5a59(0xa3)]);const _0x362360=await _asyncStorage[_0x5a59(0x2a)]['getItem'](_0x41d052[_0x5a59(0xa4)]),_0x5af991=await _asyncStorage[_0x5a59(0x2a)][_0x5a59(0x2b)](_0x41d052[_0x5a59(0xa5)]),_0x5bc0e0=await _asyncStorage[_0x5a59(0x2a)][_0x5a59(0x2b)](_0x5a59(0x2c)),_0x1676a2=await _asyncStorage[_0x5a59(0x2a)]['getItem'](_0x5a59(0xa6));console[_0x5a59(0x1c)](_0x41d052[_0x5a59(0xa7)],{'storedUsername':_0x362360,'storedEmail':_0x5af991,'storedUserId':_0x5bc0e0,'hasAuthToken':!!_0x1676a2,'authTokenPreview':_0x1676a2?_0x1676a2[_0x5a59(0x73)](0x0,0x14)+_0x5a59(0x74):_0x41d052['fIZoe']});const _0x43891b=await(0x0,_authService[_0x5a59(0xa8)])();console[_0x5a59(0x1c)](_0x41d052['ZVoxq'],{'hasId':!!(_0x41d052[_0x5a59(0xa9)](_0x43891b,null)&&_0x41d052['wHKyB'](_0x43891b,void 0x0)&&_0x43891b['id']),'hasEmail':!!(_0x41d052[_0x5a59(0xa9)](_0x43891b,null)&&_0x41d052[_0x5a59(0xa9)](_0x43891b,void 0x0)&&_0x43891b[_0x5a59(0xaa)]),'email':_0x41d052[_0x5a59(0xab)](_0x43891b,null)||_0x41d052[_0x5a59(0xab)](_0x43891b,void 0x0)?void 0x0:_0x43891b[_0x5a59(0xaa)],'id':_0x43891b===null||_0x41d052[_0x5a59(0xac)](_0x43891b,void 0x0)?void 0x0:_0x43891b['id']});let _0x345dd1=_0x41d052['ybspx'](_0x43891b,null)||_0x41d052['YhvUa'](_0x43891b,void 0x0)?void 0x0:_0x43891b['email'],_0x33640b=_0x41d052[_0x5a59(0xad)](_0x43891b,null)||_0x43891b===void 0x0?void 0x0:_0x43891b['id'];if(!_0x345dd1&&_0x362360){if(_0x41d052[_0x5a59(0xa9)](_0x41d052['StHqn'],_0x5a59(0x97)))return _0x414485[_0x5a59(0x1c)](_0x5a59(0x7d),_0x59dfb1),_0x25912b[_0x5a59(0x1c)](_0x41d052[_0x5a59(0xae)],_0x591fbc['stringify'](_0x4d8b41,_0x5011e8[_0x5a59(0x8f)](_0x79647d))),[];else console[_0x5a59(0x1c)](_0x41d052['JdZYv'],_0x362360),_0x345dd1=_0x362360;}!_0x345dd1&&_0x5af991&&(console['log'](_0x5a59(0xaf),_0x5af991),_0x345dd1=_0x5af991);_0x41d052[_0x5a59(0xb0)](!_0x33640b,_0x5bc0e0)&&(console[_0x5a59(0x1c)](_0x41d052[_0x5a59(0xb1)],_0x5bc0e0),_0x33640b=_0x5bc0e0);console[_0x5a59(0x1c)]('🎯\x20[USER\x20DEBUG]\x20Final\x20user\x20identifiers\x20to\x20use:',{'userEmail':_0x345dd1,'userId':_0x33640b,'willTryEmail':!!_0x345dd1,'willTryUserId':!!_0x33640b});if(_0x345dd1){if(_0x41d052[_0x5a59(0xb2)]!=='jziai')_0x35c545[_0x5a59(0x28)](_0x41d052[_0x5a59(0xb3)],_0x58a6ee);else{console[_0x5a59(0x1c)](_0x41d052['cCvUc'],_0x345dd1);const _0x1af59e=await _0x41d052[_0x5a59(0xb4)](getUserConnectionsByUsername,_0x345dd1);if(_0x41d052['TnzPV'](_0x1af59e[_0x5a59(0x2e)],0x0))return console['log'](_0x41d052[_0x5a59(0xb5)],_0x1af59e[_0x5a59(0x2e)]),_0x1af59e;console[_0x5a59(0x1c)](_0x41d052[_0x5a59(0xb6)]);}}if(_0x33640b){if(_0x41d052['iJxaf'](_0x41d052['HpGpz'],_0x5a59(0xb7)))return _0x3a33f0[_0x5a59(0x28)](_0x41d052[_0x5a59(0xb8)]),[];else{console[_0x5a59(0x1c)](_0x41d052[_0x5a59(0xb9)],_0x33640b);const _0xd5805e=await _0x41d052['wTBIX'](getUserConnectionsByUserId,_0x33640b);if(_0x41d052['sJUTS'](_0xd5805e[_0x5a59(0x2e)],0x0))return console['log'](_0x41d052[_0x5a59(0xba)],_0xd5805e[_0x5a59(0x2e)]),_0xd5805e;console[_0x5a59(0x1c)](_0x41d052[_0x5a59(0xbb)]);}}return console[_0x5a59(0x1c)]('⚠️\x20No\x20user\x20identifier\x20available\x20or\x20no\x20connections\x20found'),[];}}catch(_0x109846){return console['log'](_0x41d052['rztno'],_0x109846),[];}};exports[_0x5a59(0xbc)]=getUserConnections;const uploadProfilePicture=async(_0x12e66f,_0x109db7)=>{const _0x196696={'tghYO':_0x5a59(0x65),'mmCqO':'uploadProfilePicture\x20has\x20been\x20removed\x20from\x20SDK.\x20Consuming\x20apps\x20should\x20call\x20the\x20Enoch\x20API\x20directly.'};return console['warn'](_0x196696['tghYO']),console[_0x5a59(0x28)](_0x5a59(0xbd)),{'success':![],'error':_0x196696[_0x5a59(0xbe)]};};exports[_0x5a59(0x1)]=uploadProfilePicture;
|
|
10
|
+
Object[_0x3a1e(0x0)](exports,_0x3a1e(0x1),{'value':!![]}),exports[_0x3a1e(0x2)]=exports[_0x3a1e(0x3)]=exports['getUserConnectionsByUserId']=exports[_0x3a1e(0x4)]=void 0x0;function _0x3441(){const _0xdec683=['defineProperty','__esModule','uploadProfilePicture','getUserConnectionsByUsername','getUserConnections','⚠️\x20[CONNECTIONS\x20API]\x20No\x20authentication\x20token\x20available\x20for\x20connections\x20request','⚠️\x20[CONNECTIONS\x20API]\x20This\x20may\x20result\x20in\x20limited\x20or\x20cached\x20data\x20from\x20backend','✅\x20Successfully\x20got\x20connections\x20by\x20user\x20ID:','⚠️\x20[USER\x20ID]\x20Invalid\x20stored\x20email\x20found:','✅\x20[USER\x20ID]\x20Got\x20username\x20from\x20AsyncStorage\x20(backend\x20supports\x20usernames):','Unknown\x20User','Looking\x20to\x20connect','Hi!\x20Nice\x20to\x20meet\x20you.','ByFes','fallback_user','✅\x20[USER\x20ID]\x20Got\x20user\x20ID\x20from\x20getUserProfile:','zvcAr','pbRTO','⚠️\x20[USER\x20ID]\x20getUserProfile\x20failed:','marker','✅\x20[USER\x20ID]\x20Got\x20user\x20ID\x20from\x20AsyncStorage:','⚠️\x20[USER\x20ID]\x20Invalid\x20stored\x20user\x20ID\x20found:','⚠️\x20[USER\x20ID]\x20Invalid\x20stored\x20username\x20found:','user_email','ewKBk','🔍\x20[USER\x20ID]\x20JWT\x20token\x20found\x20but\x20no\x20local\x20user\x20identifier\x20-\x20backend\x20should\x20handle\x20via\x20token','❌\x20[USER\x20ID]\x20No\x20valid\x20user\x20identifier\x20found','umdYO','bdyBL','🔍\x20[USER\x20ID]\x20Attempting\x20to\x20get\x20user\x20identifier\x20with\x20multiple\x20methods...','qFWGR','xpGNg','bKydU','warn','pqmCY','log','DFvoL','IBgqs','grqAT','zjcpK','length','MwDFF','azHyf','pHbSP','default','getItem','user_id','dPBLe','UxsbK','OHnth','ehuij','xhQho','uIhYA','includes','GAPFa','TBOBm','HIqac','BBPQe','tzTex','split','olPLD','xJuil','YwCLF','⚠️\x20[USER\x20ID]\x20JWT\x20token\x20access\x20failed:','error','yjylU','🔄\x20Transforming\x20API\x20connection:','photo','JBiZC','interests','sharedPassions','complementaryQualities','HpDwJ','_id','QKaUQ','random','name','description','IKJxV','bio','mutualConnections','compatibility','Ktrzt','meaningfulCoincidences','mutualConnectionsList','map','context','❌\x20[USER\x20ID]\x20Error\x20getting\x20user\x20identifier:','PERSONA_IMAGES','level1','level3','level4','level5','API_CONFIG','BASE_URL','bIcYR','weyXM','wrNeL','KTfFy','conversationStarters','❌\x20Error\x20fetching\x20connections\x20by\x20userId:','❌\x20[NETWORK\x20ERROR\x20FALLBACK]\x20Full\x20error\x20details:','🔍\x20Fetching\x20connections\x20for\x20username:','✅\x20[CONNECTIONS\x20API]\x20Using\x20authenticated\x20request\x20with\x20token:','API\x20function\x20not\x20available','🔄\x20Transformed\x20connections\x20by\x20username:','KIAUB','❌\x20Error\x20fetching\x20connections\x20by\x20username:','❌\x20[NETWORK\x20ERROR]\x20Full\x20error\x20details:','bbYNW','XWRrv','ZmGdE','substring','...','aNVQI','mock','xYuJw','tYEkT','connections','source','ZCwJw','EZZxe','success','OsuLa','sBHkb','stringify','getOwnPropertyNames','wIHFJ','🔍\x20Fetching\x20connections\x20for\x20userId:','⚠️\x20[CONNECTIONS\x20API]\x20No\x20authentication\x20token\x20available\x20for\x20user\x20ID\x20connections\x20request','wUfYh','kSoGj','🔄\x20Transformed\x20connections\x20by\x20userId:','getAuthToken','dwOSn','jrvxs','PtQCl','QJQsB','DiwoJ','RsGGg','IBRFF','NTDtc','ZPRZo','getUserConnectionsByUserId','USER_CONNECTIONS','auth_token','🔍\x20[USER\x20DEBUG]\x20AsyncStorage\x20data:','none','🎯\x20getUserConnections\x20-\x20User\x20profile:','🔄\x20[USER\x20DEBUG]\x20Using\x20stored\x20username\x20as\x20email\x20fallback:','ZAjPQ','DKuTH','✅\x20Successfully\x20got\x20connections\x20by\x20email:','⚠️\x20No\x20connections\x20found\x20by\x20email,\x20trying\x20user\x20ID...','⚠️\x20No\x20user\x20identifier\x20available\x20or\x20no\x20connections\x20found','CuJpV','ensureAuthentication','RQkLw','nJFqA','pJKmG','xXOmv','Mgyid','fgxyn','NPTZo','getUserProfile','oPcBs','ejgYz','tcuDX','email','NoxWK','gkuEb','LdJdR','iXgfb','sBHzj','qzxVr','pOHzj','🔄\x20[USER\x20DEBUG]\x20Using\x20stored\x20email\x20as\x20fallback:','VMseX','mRwmg','ENQNu','dMdQV','✅\x20[USER\x20ID]\x20Got\x20email\x20from\x20AsyncStorage\x20(backend\x20supports\x20usernames):','🔄\x20[USER\x20DEBUG]\x20Using\x20stored\x20user\x20ID\x20as\x20fallback:','🎯\x20[USER\x20DEBUG]\x20Final\x20user\x20identifiers\x20to\x20use:','ergFH','MCedi','PMDNS','OakcC','dteGi','vnjcQ','KQqYr','vaTSA','zIuCr','QTMhp','NWrFd','aYHXT','⚠️\x20[DEPRECATED]\x20uploadProfilePicture\x20has\x20been\x20removed\x20from\x20SDK','FfQcU','ℹ️\x20Consuming\x20apps\x20should\x20call\x20/enoch/users/{id}/profile-picture/base64\x20directly','uploadProfilePicture\x20has\x20been\x20removed\x20from\x20SDK.\x20Consuming\x20apps\x20should\x20call\x20the\x20Enoch\x20API\x20directly.'];_0x3441=function(){return _0xdec683;};return _0x3441();}var _authService=__ONAIROS_REQ_FUNC__(0x0),_asyncStorage=_interopRequireDefault(__ONAIROS_REQ_FUNC__(0x1)),_api=__ONAIROS_REQ_FUNC__(0x2),_assetRegistry=__ONAIROS_REQ_FUNC__(0x3);function _interopRequireDefault(_0x1dc515){return _0x1dc515&&_0x1dc515[_0x3a1e(0x1)]?_0x1dc515:{'default':_0x1dc515};}const getUserIdWithFallbacks=async()=>{const _0x3c3988={'pqmCY':_0x3a1e(0x5),'HRNLe':_0x3a1e(0x6),'zjcpK':_0x3a1e(0x7),'tzTex':_0x3a1e(0x8),'YwCLF':_0x3a1e(0x9),'JBiZC':function(_0x225be6,_0x1636b7){return _0x225be6===_0x1636b7;},'QYdrJ':function(_0x13ba11,_0x3a07f4){return _0x13ba11===_0x3a07f4;},'HpDwJ':function(_0x4e3d6b,_0x1e658b){return _0x4e3d6b(_0x1e658b);},'QKaUQ':function(_0x2671a9,_0x37baa7){return _0x2671a9*_0x37baa7;},'jCRjg':_0x3a1e(0xa),'IKJxV':_0x3a1e(0xb),'Ktrzt':_0x3a1e(0xc),'pXoTX':function(_0x56630a,_0x372c70){return _0x56630a===_0x372c70;},'AQyEt':function(_0x2dadcf,_0x41a458){return _0x2dadcf===_0x41a458;},'umdYO':function(_0x1bc439,_0x32bfdb){return _0x1bc439===_0x32bfdb;},'bdyBL':_0x3a1e(0xd),'omZBl':function(_0x158e06,_0x521076){return _0x158e06!==_0x521076;},'MFmRE':function(_0x2a59b8,_0x121682){return _0x2a59b8!==_0x121682;},'qFWGR':function(_0x5030db,_0x4acfc3){return _0x5030db!==_0x4acfc3;},'xpGNg':_0x3a1e(0xe),'bKydU':'FLOXv','DFvoL':_0x3a1e(0xf),'IBgqs':function(_0x1bcf03,_0x4edab9){return _0x1bcf03!==_0x4edab9;},'grqAT':_0x3a1e(0x10),'MwDFF':function(_0x402999,_0x182d3e){return _0x402999===_0x182d3e;},'azHyf':function(_0x45986a,_0xe23144){return _0x45986a!==_0xe23144;},'pHbSP':_0x3a1e(0x11),'jppXg':_0x3a1e(0x12),'dPBLe':_0x3a1e(0x13),'UxsbK':_0x3a1e(0x14),'OHnth':_0x3a1e(0x15),'ggskf':'onairos_username','ehuij':function(_0x502254,_0x1ad83f){return _0x502254>_0x1ad83f;},'xhQho':_0x3a1e(0x16),'uIhYA':_0x3a1e(0x17),'GAPFa':function(_0x356895,_0xdad685){return _0x356895>_0xdad685;},'TBOBm':'✅\x20[USER\x20ID]\x20Got\x20email\x20from\x20AsyncStorage\x20(backend\x20supports\x20usernames):','HIqac':_0x3a1e(0x18),'olPLD':_0x3a1e(0x19),'yjylU':_0x3a1e(0x1a)};try{if(_0x3c3988[_0x3a1e(0x1b)](_0x3c3988[_0x3a1e(0x1c)],_0x3a1e(0xd))){console['log'](_0x3a1e(0x1d));try{const _0x2b293b=await(0x0,_authService['getUserProfile'])();if(_0x3c3988['omZBl'](_0x2b293b,null)&&_0x3c3988['MFmRE'](_0x2b293b,void 0x0)&&_0x2b293b['id']&&_0x3c3988[_0x3a1e(0x1e)](_0x2b293b['id'],_0x3c3988[_0x3a1e(0x1f)]))return _0x3c3988[_0x3a1e(0x20)]!==_0x3c3988[_0x3a1e(0x20)]?(_0x3cb560[_0x3a1e(0x21)](_0x3c3988[_0x3a1e(0x22)]),_0x2fa68c[_0x3a1e(0x21)](_0x3c3988['HRNLe']),[]):(console[_0x3a1e(0x23)](_0x3c3988[_0x3a1e(0x24)],_0x2b293b['id']),_0x2b293b['id']);else{if(_0x3c3988[_0x3a1e(0x25)](_0x3c3988[_0x3a1e(0x26)],_0x3c3988[_0x3a1e(0x26)]))return _0x57988d[_0x3a1e(0x23)](_0x3c3988[_0x3a1e(0x27)],_0x461143[_0x3a1e(0x28)]),_0x380196;else console[_0x3a1e(0x21)]('⚠️\x20[USER\x20ID]\x20getUserProfile\x20returned\x20invalid/fallback\x20ID:',_0x3c3988[_0x3a1e(0x29)](_0x2b293b,null)||_0x2b293b===void 0x0?void 0x0:_0x2b293b['id']);}}catch(_0x4b309c){_0x3c3988[_0x3a1e(0x2a)](_0x3c3988[_0x3a1e(0x2b)],_0x3c3988[_0x3a1e(0x2b)])?_0x1fbafd[_0x3a1e(0x21)](_0x3c3988['tzTex'],_0x38a7a4):console[_0x3a1e(0x21)](_0x3c3988['jppXg'],_0x4b309c);}const _0x44db06=await _asyncStorage[_0x3a1e(0x2c)][_0x3a1e(0x2d)](_0x3a1e(0x2e));if(_0x44db06&&_0x3c3988['MFmRE'](_0x44db06,_0x3c3988[_0x3a1e(0x2f)])&&_0x44db06!==_0x3c3988[_0x3a1e(0x1f)]&&_0x44db06[_0x3a1e(0x28)]>0xa)return console[_0x3a1e(0x23)](_0x3c3988[_0x3a1e(0x30)],_0x44db06),_0x44db06;else _0x44db06&&console[_0x3a1e(0x21)](_0x3c3988[_0x3a1e(0x31)],_0x44db06);const _0x106467=await _asyncStorage[_0x3a1e(0x2c)][_0x3a1e(0x2d)](_0x3c3988['ggskf']);if(_0x106467&&_0x3c3988[_0x3a1e(0x32)](_0x106467[_0x3a1e(0x28)],0x2)&&_0x3c3988['qFWGR'](_0x106467,_0x3a1e(0x13)))return console[_0x3a1e(0x23)]('✅\x20[USER\x20ID]\x20Got\x20username\x20from\x20AsyncStorage\x20(backend\x20supports\x20usernames):',_0x106467),_0x106467;else _0x106467&&console['warn'](_0x3c3988[_0x3a1e(0x33)],_0x106467);const _0x2394e2=await _asyncStorage['default'][_0x3a1e(0x2d)](_0x3c3988[_0x3a1e(0x34)]);if(_0x2394e2&&_0x2394e2[_0x3a1e(0x35)]('@')&&_0x3c3988[_0x3a1e(0x36)](_0x2394e2[_0x3a1e(0x28)],0x5))return console['log'](_0x3c3988[_0x3a1e(0x37)],_0x2394e2),_0x2394e2;else{if(_0x2394e2){if(_0x3c3988[_0x3a1e(0x2a)](_0x3c3988[_0x3a1e(0x38)],_0x3a1e(0x39)))console['warn'](_0x3c3988[_0x3a1e(0x3a)],_0x2394e2);else return _0x178905&&_0x552d0b[_0x3a1e(0x1)]?_0x219b95:{'default':_0xbb7224};}}try{const _0xe496d=await(0x0,_authService['getAuthToken'])();_0xe496d&&_0xe496d[_0x3a1e(0x3b)]('.')[_0x3a1e(0x28)]===0x3&&console['log'](_0x3c3988[_0x3a1e(0x3c)]);}catch(_0x219eb7){if(_0x3c3988[_0x3a1e(0x25)](_0x3a1e(0x3d),'xJuil'))return _0x5d8000[_0x3a1e(0x23)](_0x3c3988[_0x3a1e(0x3e)],_0x7290e9),_0x1c72d0;else console[_0x3a1e(0x21)](_0x3a1e(0x3f),_0x219eb7);}return console[_0x3a1e(0x40)](_0x3c3988[_0x3a1e(0x41)]),null;}else{var _0xe6d084,_0x48e745;return _0x1f8ec4[_0x3a1e(0x23)](_0x3a1e(0x42),{'id':_0xacdedc['id'],'name':_0x423228['name'],'description':_0x155048['description'],'hasPhoto':!!_0x29c439[_0x3a1e(0x43)],'photoLength':_0x3c3988[_0x3a1e(0x44)](_0xe6d084=_0x58315a[_0x3a1e(0x43)],null)||_0x3c3988['QYdrJ'](_0xe6d084,void 0x0)?void 0x0:_0xe6d084[_0x3a1e(0x28)],'interests':_0x393b4b[_0x3a1e(0x45)],'sharedPassions':_0x17d8f5[_0x3a1e(0x46)],'complementaryQualities':_0x170e40[_0x3a1e(0x47)],'compatibility':_0x3a098e['compatibility']}),{'id':_0x58ae53(_0x118534['id'])||_0x3c3988[_0x3a1e(0x48)](_0x53ce5a,_0x36cdc5[_0x3a1e(0x49)]||'')||_0x3c3988[_0x3a1e(0x4a)](_0x453e2d[_0x3a1e(0x4b)](),0x3e8),'name':_0x5066cb[_0x3a1e(0x4c)]||_0x3c3988['jCRjg'],'description':_0xfab60d[_0x3a1e(0x4d)]||_0x3c3988[_0x3a1e(0x4e)],'photo':_0x277fb8['photo']||'','bio':_0x2190ad[_0x3a1e(0x4f)]||'','interests':_0x2f3123[_0x3a1e(0x45)]||[],'mutualConnections':_0x2dfcc9[_0x3a1e(0x50)]||0x0,'compatibility':_0x3db207[_0x3a1e(0x51)]||0x0,'conversationStarters':_0xf0aea0['conversationStarters']||[_0x3c3988[_0x3a1e(0x52)]],'sharedPassions':_0x20884c[_0x3a1e(0x46)]||[],'complementaryQualities':_0x169851['complementaryQualities']||[],'meaningfulCoincidences':_0x3930e9[_0x3a1e(0x53)]||[],'mutualConnectionsList':(_0x3c3988['pXoTX'](_0x48e745=_0x214d0a[_0x3a1e(0x54)],null)||_0x3c3988['AQyEt'](_0x48e745,void 0x0)?void 0x0:_0x48e745[_0x3a1e(0x55)](_0x3851fb=>({'name':_0x3851fb['name'],'photo':_0x3851fb[_0x3a1e(0x43)],'context':_0x3851fb[_0x3a1e(0x56)]})))||[]};}}catch(_0x4ecc33){return console[_0x3a1e(0x40)](_0x3a1e(0x57),_0x4ecc33),null;}},samImage=_assetRegistry[_0x3a1e(0x58)][_0x3a1e(0x59)],anandImage=_assetRegistry[_0x3a1e(0x58)]['level2'],chrisImage=_assetRegistry[_0x3a1e(0x58)][_0x3a1e(0x5a)],katieImage=_assetRegistry[_0x3a1e(0x58)][_0x3a1e(0x5b)],yanniImage=_assetRegistry[_0x3a1e(0x58)][_0x3a1e(0x5c)],API_BASE_URL=_api[_0x3a1e(0x5d)][_0x3a1e(0x5e)],transformAPIConnection=_0x33ed8c=>{const _0x3895d4={'jpyZl':function(_0x5403bc,_0x5e1bdc){return _0x5403bc===_0x5e1bdc;},'meBdy':function(_0x5af68b,_0x272d59){return _0x5af68b===_0x272d59;},'bIcYR':function(_0x37bab0,_0x3b9439){return _0x37bab0(_0x3b9439);},'weyXM':function(_0x2ffbd0,_0x51bdbb){return _0x2ffbd0(_0x51bdbb);},'wrNeL':_0x3a1e(0xa),'KTfFy':'Looking\x20to\x20connect','iOAKf':_0x3a1e(0xc),'KUGVe':function(_0x3e1063,_0x2f8b4e){return _0x3e1063===_0x2f8b4e;}};var _0x3dcad8,_0x2c1423;return console[_0x3a1e(0x23)]('🔄\x20Transforming\x20API\x20connection:',{'id':_0x33ed8c['id'],'name':_0x33ed8c[_0x3a1e(0x4c)],'description':_0x33ed8c[_0x3a1e(0x4d)],'hasPhoto':!!_0x33ed8c[_0x3a1e(0x43)],'photoLength':_0x3895d4['jpyZl'](_0x3dcad8=_0x33ed8c[_0x3a1e(0x43)],null)||_0x3895d4['meBdy'](_0x3dcad8,void 0x0)?void 0x0:_0x3dcad8[_0x3a1e(0x28)],'interests':_0x33ed8c[_0x3a1e(0x45)],'sharedPassions':_0x33ed8c[_0x3a1e(0x46)],'complementaryQualities':_0x33ed8c[_0x3a1e(0x47)],'compatibility':_0x33ed8c[_0x3a1e(0x51)]}),{'id':_0x3895d4[_0x3a1e(0x5f)](parseInt,_0x33ed8c['id'])||_0x3895d4[_0x3a1e(0x60)](parseInt,_0x33ed8c['_id']||'')||Math[_0x3a1e(0x4b)]()*0x3e8,'name':_0x33ed8c[_0x3a1e(0x4c)]||_0x3895d4[_0x3a1e(0x61)],'description':_0x33ed8c[_0x3a1e(0x4d)]||_0x3895d4[_0x3a1e(0x62)],'photo':_0x33ed8c[_0x3a1e(0x43)]||'','bio':_0x33ed8c[_0x3a1e(0x4f)]||'','interests':_0x33ed8c[_0x3a1e(0x45)]||[],'mutualConnections':_0x33ed8c['mutualConnections']||0x0,'compatibility':_0x33ed8c['compatibility']||0x0,'conversationStarters':_0x33ed8c[_0x3a1e(0x63)]||[_0x3895d4['iOAKf']],'sharedPassions':_0x33ed8c['sharedPassions']||[],'complementaryQualities':_0x33ed8c[_0x3a1e(0x47)]||[],'meaningfulCoincidences':_0x33ed8c[_0x3a1e(0x53)]||[],'mutualConnectionsList':(_0x3895d4['KUGVe'](_0x2c1423=_0x33ed8c[_0x3a1e(0x54)],null)||_0x2c1423===void 0x0?void 0x0:_0x2c1423['map'](_0x29323f=>({'name':_0x29323f[_0x3a1e(0x4c)],'photo':_0x29323f[_0x3a1e(0x43)],'context':_0x29323f[_0x3a1e(0x56)]})))||[]};},getUserConnectionsByUsername=async _0x5b4150=>{const _0x2d309c={'wIHFJ':_0x3a1e(0x64),'xnJgX':_0x3a1e(0x65),'bbYNW':_0x3a1e(0x66),'XWRrv':_0x3a1e(0x5),'ZmGdE':_0x3a1e(0x67),'aNVQI':_0x3a1e(0x68),'xYuJw':'✅\x20API\x20connections\x20fetched\x20by\x20username:','tYEkT':function(_0x3571e9,_0x413854){return _0x3571e9===_0x413854;},'ZCwJw':function(_0x6c8bc0,_0x1a85f4){return _0x6c8bc0!==_0x1a85f4;},'EZZxe':function(_0x218353,_0x496321){return _0x218353!==_0x496321;},'ItsJV':function(_0x54ecac,_0x11c651){return _0x54ecac>_0x11c651;},'wgMxp':_0x3a1e(0x69),'OsuLa':_0x3a1e(0x6a),'NayZl':_0x3a1e(0x6b),'sBHkb':_0x3a1e(0x6c)};try{var _0x946152,_0x5a5a69;console[_0x3a1e(0x23)](_0x2d309c[_0x3a1e(0x6d)],_0x5b4150);const _0x33547f=await(0x0,_authService['getAuthToken'])();if(!_0x33547f)return console[_0x3a1e(0x21)](_0x2d309c[_0x3a1e(0x6e)]),console[_0x3a1e(0x21)](_0x3a1e(0x6)),[];console['log'](_0x2d309c[_0x3a1e(0x6f)],_0x33547f[_0x3a1e(0x70)](0x0,0x14)+_0x3a1e(0x71));const _0x3599c5={'success':![],'message':_0x2d309c[_0x3a1e(0x72)],'connections':[],'source':_0x3a1e(0x73)};console[_0x3a1e(0x23)](_0x2d309c[_0x3a1e(0x74)],{'success':_0x3599c5['success'],'connectionsCount':(_0x2d309c[_0x3a1e(0x75)](_0x946152=_0x3599c5[_0x3a1e(0x76)],null)||_0x2d309c[_0x3a1e(0x75)](_0x946152,void 0x0)?void 0x0:_0x946152['length'])||0x0,'source':_0x3599c5[_0x3a1e(0x77)],'firstConnection':_0x2d309c[_0x3a1e(0x78)](_0x5a5a69=_0x3599c5[_0x3a1e(0x76)],null)&&_0x2d309c[_0x3a1e(0x79)](_0x5a5a69,void 0x0)&&_0x5a5a69[0x0]?{'id':_0x3599c5[_0x3a1e(0x76)][0x0]['id'],'name':_0x3599c5[_0x3a1e(0x76)][0x0][_0x3a1e(0x4c)],'description':_0x3599c5[_0x3a1e(0x76)][0x0][_0x3a1e(0x4d)]}:null});if(_0x3599c5[_0x3a1e(0x7a)]&&_0x3599c5[_0x3a1e(0x76)]&&_0x2d309c['ItsJV'](_0x3599c5[_0x3a1e(0x76)][_0x3a1e(0x28)],0x0)){const _0x443ad1=_0x3599c5[_0x3a1e(0x76)][_0x3a1e(0x55)](transformAPIConnection);return console[_0x3a1e(0x23)](_0x2d309c['wgMxp'],_0x443ad1[_0x3a1e(0x28)]),_0x443ad1;}return[];}catch(_0x11a82f){return _0x2d309c[_0x3a1e(0x75)](_0x2d309c[_0x3a1e(0x7b)],'KIAUB')?(console[_0x3a1e(0x23)](_0x2d309c['NayZl'],_0x11a82f),console[_0x3a1e(0x23)](_0x2d309c[_0x3a1e(0x7c)],JSON[_0x3a1e(0x7d)](_0x11a82f,Object[_0x3a1e(0x7e)](_0x11a82f))),[]):(_0x39c743[_0x3a1e(0x23)](_0x2d309c[_0x3a1e(0x7f)],_0x5c2a35),_0x5c883d[_0x3a1e(0x23)](_0x2d309c['xnJgX'],_0xecf622[_0x3a1e(0x7d)](_0x1f51e1,_0x33b035['getOwnPropertyNames'](_0xaee140))),[]);}};exports[_0x3a1e(0x3)]=getUserConnectionsByUsername;const getUserConnectionsByUserId=async _0x55bbb8=>{const _0x950e0={'IBRFF':_0x3a1e(0x3f),'vACor':_0x3a1e(0x80),'dwOSn':_0x3a1e(0x81),'IeBdv':_0x3a1e(0x67),'jrvxs':_0x3a1e(0x68),'fECzn':'mock','PtQCl':'✅\x20API\x20connections\x20fetched\x20by\x20userId:','QJQsB':function(_0x41a05a,_0x4ee308){return _0x41a05a===_0x4ee308;},'RAYdL':function(_0x118527,_0x83672c){return _0x118527!==_0x83672c;},'DiwoJ':function(_0x2c25ba,_0x3f755a){return _0x2c25ba>_0x3f755a;},'RsGGg':_0x3a1e(0x82),'rJJxq':_0x3a1e(0x83),'NTDtc':_0x3a1e(0x84),'ZPRZo':_0x3a1e(0x64)};try{var _0x1ab350,_0x1587ae;console['log'](_0x950e0['vACor'],_0x55bbb8);const _0xe4ff8f=await(0x0,_authService[_0x3a1e(0x85)])();if(!_0xe4ff8f)return console[_0x3a1e(0x21)](_0x950e0[_0x3a1e(0x86)]),[];console[_0x3a1e(0x23)](_0x950e0['IeBdv'],_0xe4ff8f[_0x3a1e(0x70)](0x0,0x14)+_0x3a1e(0x71));const _0x61a21b={'success':![],'message':_0x950e0[_0x3a1e(0x87)],'connections':[],'source':_0x950e0['fECzn']};console[_0x3a1e(0x23)](_0x950e0[_0x3a1e(0x88)],{'success':_0x61a21b[_0x3a1e(0x7a)],'connectionsCount':(_0x950e0[_0x3a1e(0x89)](_0x1ab350=_0x61a21b[_0x3a1e(0x76)],null)||_0x1ab350===void 0x0?void 0x0:_0x1ab350[_0x3a1e(0x28)])||0x0,'source':_0x61a21b[_0x3a1e(0x77)],'firstConnection':(_0x1587ae=_0x61a21b[_0x3a1e(0x76)])!==null&&_0x950e0['RAYdL'](_0x1587ae,void 0x0)&&_0x1587ae[0x0]?{'id':_0x61a21b[_0x3a1e(0x76)][0x0]['id'],'name':_0x61a21b['connections'][0x0]['name'],'description':_0x61a21b[_0x3a1e(0x76)][0x0]['description']}:null});if(_0x61a21b['success']&&_0x61a21b[_0x3a1e(0x76)]&&_0x950e0[_0x3a1e(0x8a)](_0x61a21b[_0x3a1e(0x76)][_0x3a1e(0x28)],0x0)){if(_0x950e0[_0x3a1e(0x8b)]===_0x950e0['rJJxq'])_0xa5975f[_0x3a1e(0x21)](_0x950e0[_0x3a1e(0x8c)],_0x34512b);else{const _0x41c25f=_0x61a21b[_0x3a1e(0x76)][_0x3a1e(0x55)](transformAPIConnection);return console[_0x3a1e(0x23)](_0x950e0[_0x3a1e(0x8d)],_0x41c25f[_0x3a1e(0x28)]),_0x41c25f;}}return[];}catch(_0x51d8dd){return console[_0x3a1e(0x23)](_0x950e0[_0x3a1e(0x8e)],_0x51d8dd),console[_0x3a1e(0x23)](_0x3a1e(0x65),JSON[_0x3a1e(0x7d)](_0x51d8dd,Object['getOwnPropertyNames'](_0x51d8dd))),[];}};exports[_0x3a1e(0x8f)]=getUserConnectionsByUserId;const getUserConnections=async()=>{const _0x1fe951={'MCedi':'🔄\x20[USER\x20DEBUG]\x20Using\x20stored\x20email\x20as\x20fallback:','OakcC':_0x3a1e(0xf),'NWrFd':_0x3a1e(0x81),'RQkLw':_0x3a1e(0x90),'nJFqA':'onairos_username','pJKmG':'user_email','xXOmv':_0x3a1e(0x2e),'Mgyid':_0x3a1e(0x91),'fgxyn':_0x3a1e(0x92),'NPTZo':_0x3a1e(0x93),'oPcBs':_0x3a1e(0x94),'ejgYz':function(_0x2da594,_0x159b9a){return _0x2da594!==_0x159b9a;},'rbElM':function(_0x38ca1f,_0x10c765){return _0x38ca1f!==_0x10c765;},'tcuDX':function(_0x50e0b8,_0x3de9f0){return _0x50e0b8!==_0x3de9f0;},'NoxWK':function(_0x45524f,_0x11e677){return _0x45524f===_0x11e677;},'mRwmg':function(_0x19b2c1,_0x2c241b){return _0x19b2c1===_0x2c241b;},'gkuEb':function(_0xe7b664,_0xa614bc){return _0xe7b664===_0xa614bc;},'LdJdR':function(_0x16f234,_0x2b9333){return _0x16f234===_0x2b9333;},'iXgfb':function(_0x1fd0dd,_0x4dfe6a){return _0x1fd0dd===_0x4dfe6a;},'sBHzj':function(_0x46624d,_0x4e4b9f){return _0x46624d&&_0x4e4b9f;},'qzxVr':_0x3a1e(0x95),'pOHzj':function(_0x3e29db,_0x293b42){return _0x3e29db&&_0x293b42;},'VMseX':function(_0x490b06,_0x66ff27){return _0x490b06&&_0x66ff27;},'ENQNu':'RuPDD','ergFH':'SJcwS','vJTMl':function(_0x59434f,_0x1a5561){return _0x59434f(_0x1a5561);},'raglx':_0x3a1e(0x96),'PMDNS':_0x3a1e(0x97),'Zhdxh':_0x3a1e(0x98),'dteGi':_0x3a1e(0x99),'vnjcQ':'🎯\x20FALLBACK:\x20Attempting\x20to\x20fetch\x20connections\x20by\x20user\x20ID:','YJPGz':function(_0x23bf92,_0x17363d){return _0x23bf92(_0x17363d);},'bwlAT':function(_0x152f7e,_0x4dd711){return _0x152f7e>_0x4dd711;},'jgQNX':'✅\x20Successfully\x20got\x20connections\x20by\x20user\x20ID:','KQqYr':'⚠️\x20No\x20connections\x20found\x20by\x20user\x20ID','vaTSA':_0x3a1e(0x9a),'zIuCr':function(_0x4a01b4,_0x5610d3){return _0x4a01b4!==_0x5610d3;},'QTMhp':_0x3a1e(0x9b),'aYHXT':'❌\x20Error\x20in\x20getUserConnections:'};try{await(0x0,_authService[_0x3a1e(0x9c)])(_0x1fe951[_0x3a1e(0x9d)]),console[_0x3a1e(0x23)]('🔍\x20[USER\x20DEBUG]\x20Checking\x20all\x20available\x20user\x20data\x20sources...');const _0x4145a0=await _asyncStorage[_0x3a1e(0x2c)][_0x3a1e(0x2d)](_0x1fe951[_0x3a1e(0x9e)]),_0x40fe68=await _asyncStorage[_0x3a1e(0x2c)][_0x3a1e(0x2d)](_0x1fe951[_0x3a1e(0x9f)]),_0x49b4fb=await _asyncStorage['default'][_0x3a1e(0x2d)](_0x1fe951[_0x3a1e(0xa0)]),_0x3662e8=await _asyncStorage[_0x3a1e(0x2c)][_0x3a1e(0x2d)](_0x1fe951[_0x3a1e(0xa1)]);console[_0x3a1e(0x23)](_0x1fe951[_0x3a1e(0xa2)],{'storedUsername':_0x4145a0,'storedEmail':_0x40fe68,'storedUserId':_0x49b4fb,'hasAuthToken':!!_0x3662e8,'authTokenPreview':_0x3662e8?_0x3662e8[_0x3a1e(0x70)](0x0,0x14)+_0x3a1e(0x71):_0x1fe951[_0x3a1e(0xa3)]});const _0x511e1f=await(0x0,_authService[_0x3a1e(0xa4)])();console[_0x3a1e(0x23)](_0x1fe951[_0x3a1e(0xa5)],{'hasId':!!(_0x1fe951[_0x3a1e(0xa6)](_0x511e1f,null)&&_0x1fe951['rbElM'](_0x511e1f,void 0x0)&&_0x511e1f['id']),'hasEmail':!!(_0x511e1f!==null&&_0x1fe951[_0x3a1e(0xa7)](_0x511e1f,void 0x0)&&_0x511e1f[_0x3a1e(0xa8)]),'email':_0x1fe951['NoxWK'](_0x511e1f,null)||_0x1fe951[_0x3a1e(0xa9)](_0x511e1f,void 0x0)?void 0x0:_0x511e1f['email'],'id':_0x1fe951['mRwmg'](_0x511e1f,null)||_0x1fe951['mRwmg'](_0x511e1f,void 0x0)?void 0x0:_0x511e1f['id']});let _0x1dfcdc=_0x1fe951[_0x3a1e(0xaa)](_0x511e1f,null)||_0x1fe951[_0x3a1e(0xab)](_0x511e1f,void 0x0)?void 0x0:_0x511e1f[_0x3a1e(0xa8)],_0x38e1d6=_0x1fe951[_0x3a1e(0xac)](_0x511e1f,null)||_0x1fe951['NoxWK'](_0x511e1f,void 0x0)?void 0x0:_0x511e1f['id'];_0x1fe951[_0x3a1e(0xad)](!_0x1dfcdc,_0x4145a0)&&(console[_0x3a1e(0x23)](_0x1fe951[_0x3a1e(0xae)],_0x4145a0),_0x1dfcdc=_0x4145a0);_0x1fe951[_0x3a1e(0xaf)](!_0x1dfcdc,_0x40fe68)&&(console['log'](_0x3a1e(0xb0),_0x40fe68),_0x1dfcdc=_0x40fe68);if(_0x1fe951[_0x3a1e(0xb1)](!_0x38e1d6,_0x49b4fb)){if(_0x1fe951[_0x3a1e(0xb2)](_0x1fe951[_0x3a1e(0xb3)],_0x3a1e(0xb4)))return _0x433426[_0x3a1e(0x23)](_0x3a1e(0xb5),_0x59065c),_0x50af5f;else console['log'](_0x3a1e(0xb6),_0x49b4fb),_0x38e1d6=_0x49b4fb;}console['log'](_0x3a1e(0xb7),{'userEmail':_0x1dfcdc,'userId':_0x38e1d6,'willTryEmail':!!_0x1dfcdc,'willTryUserId':!!_0x38e1d6});if(_0x1dfcdc){if(_0x1fe951[_0x3a1e(0xa7)]('SJcwS',_0x1fe951[_0x3a1e(0xb8)]))_0x2df063[_0x3a1e(0x23)](_0x1fe951[_0x3a1e(0xb9)],_0x27ee27),_0x4e1953=_0x31c5d5;else{console[_0x3a1e(0x23)]('🎯\x20PRIORITY:\x20Attempting\x20to\x20fetch\x20connections\x20by\x20email\x20(working\x20endpoint):',_0x1dfcdc);const _0x4a6999=await _0x1fe951['vJTMl'](getUserConnectionsByUsername,_0x1dfcdc);if(_0x4a6999['length']>0x0)return _0x1fe951['raglx']!==_0x1fe951[_0x3a1e(0xba)]?(console[_0x3a1e(0x23)](_0x1fe951['Zhdxh'],_0x4a6999['length']),_0x4a6999):(_0x18ff95[_0x3a1e(0x23)](_0x1fe951[_0x3a1e(0xbb)],_0x2fa201['id']),_0x237e65['id']);console[_0x3a1e(0x23)](_0x1fe951[_0x3a1e(0xbc)]);}}if(_0x38e1d6){console[_0x3a1e(0x23)](_0x1fe951[_0x3a1e(0xbd)],_0x38e1d6);const _0x1d8813=await _0x1fe951['YJPGz'](getUserConnectionsByUserId,_0x38e1d6);if(_0x1fe951['bwlAT'](_0x1d8813['length'],0x0))return console[_0x3a1e(0x23)](_0x1fe951['jgQNX'],_0x1d8813[_0x3a1e(0x28)]),_0x1d8813;console['log'](_0x1fe951[_0x3a1e(0xbe)]);}return console['log'](_0x1fe951[_0x3a1e(0xbf)]),[];}catch(_0x18c7f6){return _0x1fe951[_0x3a1e(0xc0)](_0x1fe951[_0x3a1e(0xc1)],'CuJpV')?(_0x52ce03['warn'](_0x1fe951[_0x3a1e(0xc2)]),[]):(console[_0x3a1e(0x23)](_0x1fe951[_0x3a1e(0xc3)],_0x18c7f6),[]);}};exports[_0x3a1e(0x4)]=getUserConnections;function _0x3a1e(_0x34413d,_0x3a1e20){_0x34413d=_0x34413d-0x0;const _0x9846b3=_0x3441();let _0x222903=_0x9846b3[_0x34413d];return _0x222903;}const uploadProfilePicture=async(_0xb886d5,_0x57892c)=>{const _0x9ea9d1={'FfQcU':_0x3a1e(0xc4)};return console[_0x3a1e(0x21)](_0x9ea9d1[_0x3a1e(0xc5)]),console['warn'](_0x3a1e(0xc6)),{'success':![],'error':_0x3a1e(0xc7)};};exports[_0x3a1e(0x2)]=uploadProfilePicture;
|
|
@@ -7,4 +7,4 @@ var __ONAIROS_REQ_REGISTRY__ = [
|
|
|
7
7
|
require("../config/api")
|
|
8
8
|
];
|
|
9
9
|
function __ONAIROS_REQ_FUNC__(i) { return __ONAIROS_REQ_REGISTRY__[i]; }
|
|
10
|
-
function _0x208c(_0x8d1da4,_0x208c2d){_0x8d1da4=_0x8d1da4-0x0;const _0x535637=_0x8d1d();let _0x4afdd7=_0x535637[_0x8d1da4];return _0x4afdd7;}Object[_0x208c(0x0)](exports,_0x208c(0x1),{'value':!![]}),exports[_0x208c(0x2)]=exports[_0x208c(0x3)]=exports[_0x208c(0x4)]=exports[_0x208c(0x5)]=exports[_0x208c(0x6)]=void 0x0;var _googleSignin=__ONAIROS_REQ_FUNC__(0x0),_reactNative=__ONAIROS_REQ_FUNC__(0x1),_asyncStorage=_interopRequireDefault(__ONAIROS_REQ_FUNC__(0x2)),_api=__ONAIROS_REQ_FUNC__(0x3);function _interopRequireDefault(_0x418bae){return _0x418bae&&_0x418bae[_0x208c(0x1)]?_0x418bae:{'default':_0x418bae};}const WEB_CLIENT_ID='1030678346906-lovkuds2ouqmoc8eu5qpo98spa6edv4o.apps.googleusercontent.com',IOS_CLIENT_ID=_0x208c(0x7),configureGoogleSignInForRefreshTokens=()=>{const _0xfc6dca={'GcTGK':_0x208c(0x8)};_googleSignin[_0x208c(0x9)]['configure']({'webClientId':WEB_CLIENT_ID,'iosClientId':IOS_CLIENT_ID,'offlineAccess':!![],'forceCodeForRefreshToken':!![],'scopes':[_0xfc6dca[_0x208c(0xa)],_0x208c(0xb),'profile',_0x208c(0xc)],'hostedDomain':'','accountName':''});},checkYouTubeMigrationNeeded=async _0x580b0f=>{const _0x2abf63={'uqxop':_0x208c(0xd),'aUCrX':_0x208c(0xe),'UaVdg':function(_0x5c1ebb,_0x882112){return _0x5c1ebb===_0x882112;},'KLWlA':function(_0x2761a8,_0x301555){return _0x2761a8===_0x301555;},'rWhvi':function(_0x276729,_0x40a9eb){return _0x276729===_0x40a9eb;},'MfvvA':function(_0x1abcec,_0x2f5e28){return _0x1abcec===_0x2f5e28;},'qORbu':function(_0x15c99e,_0x14cbb8){return _0x15c99e===_0x14cbb8;},'tbyuW':_0x208c(0xf),'jlUfp':'🔍\x20YouTube\x20migration\x20check:','QHwpc':function(_0x22e658,_0x40921a){return _0x22e658===_0x40921a;},'hMuLU':function(_0x12480c,_0x2b559f){return _0x12480c===_0x2b559f;},'VLuHG':_0x208c(0x10),'fJQcX':_0x208c(0x11),'BIyRj':_0x208c(0x12),'eyXoO':function(_0x1a7e26,_0x9a648){return _0x1a7e26===_0x9a648;},'qcCSw':'UBoAQ','nqPnF':_0x208c(0x13),'RTgaq':_0x208c(0x14)};try{const _0x5f40a9=await fetch(_api[_0x208c(0x15)][_0x208c(0x16)]+_0x208c(0x17)+_0x580b0f),_0x595e63=await _0x5f40a9[_0x208c(0x18)]();if(_0x595e63[_0x208c(0x19)]&&_0x595e63[_0x208c(0x1a)]){var _0x38979f,_0x5712aa,_0x556dc4;const _0x24272a=_0x2abf63['UaVdg'](_0x2abf63[_0x208c(0x1b)](_0x38979f=_0x595e63[_0x208c(0x1a)],null)||_0x2abf63[_0x208c(0x1c)](_0x38979f,void 0x0)?void 0x0:_0x38979f[_0x208c(0x1d)],!![])||_0x2abf63[_0x208c(0x1e)](_0x2abf63['MfvvA'](_0x5712aa=_0x595e63[_0x208c(0x1f)],null)||_0x2abf63['rWhvi'](_0x5712aa,void 0x0)?void 0x0:_0x5712aa['enabled'],!![])||_0x2abf63[_0x208c(0x20)](_0x595e63['isTemporaryMode'],!![])||_0x595e63[_0x208c(0x21)]&&_0x595e63['message'][_0x208c(0x22)](_0x2abf63[_0x208c(0x23)]),_0x44c610=_0x595e63[_0x208c(0x1a)]['needsReconnection'],_0x2f60c1=_0x595e63[_0x208c(0x1a)][_0x208c(0x24)];console[_0x208c(0x25)](_0x2abf63[_0x208c(0x26)],{'username':_0x580b0f,'needsReconnection':_0x44c610,'hasRefreshToken':_0x2f60c1,'isTemporaryMode':_0x24272a,'temporaryModeEnabled':_0x2abf63[_0x208c(0x27)](_0x556dc4=_0x595e63[_0x208c(0x1f)],null)||_0x2abf63['hMuLU'](_0x556dc4,void 0x0)?void 0x0:_0x556dc4[_0x208c(0x28)],'message':_0x595e63[_0x208c(0x21)]});if(_0x24272a)return _0x2abf63[_0x208c(0x29)]!==_0x2abf63[_0x208c(0x2a)]?(console['log'](_0x2abf63['BIyRj']),console['log'](_0x208c(0x2b)),![]):(_0x2c41d3[_0x208c(0x25)](_0x2abf63[_0x208c(0x2c)]),![]);else return _0x44c610?_0x2abf63[_0x208c(0x2d)](_0x208c(0x2e),_0x2abf63[_0x208c(0x2f)])?(_0x19813a[_0x208c(0x25)](_0x2abf63['aUCrX']),{'isReady':![],'mode':_0x208c(0x30),'needsMigration':![],'trainingReady':![],'details':_0x7875f0}):(console['log'](_0x2abf63[_0x208c(0x31)]),!![]):(console['log'](_0x2abf63[_0x208c(0x2c)]),![]);}return![];}catch(_0x3b311d){return console[_0x208c(0x32)](_0x2abf63[_0x208c(0x33)],_0x3b311d),![];}};exports[_0x208c(0x5)]=checkYouTubeMigrationNeeded;const getYouTubeConnectionStatus=async _0x26811e=>{const _0x4fbe5f={'xmawM':_0x208c(0x34),'UhevO':_0x208c(0x35),'riWwu':function(_0x3de939,_0x339ce9){return _0x3de939(_0x339ce9);},'flydf':_0x208c(0x36),'rMxAh':function(_0x165184,_0x5d3cb4){return _0x165184===_0x5d3cb4;},'farVo':function(_0x439ba8,_0x55ded7){return _0x439ba8===_0x55ded7;},'SSutS':function(_0x4ffcd6,_0x2d0b2a){return _0x4ffcd6===_0x2d0b2a;},'fAdza':_0x208c(0xf),'bCdDZ':function(_0x249092,_0x2f73f3){return _0x249092===_0x2f73f3;},'LDgvc':'🔄\x20YouTube\x20connected\x20in\x20temporary\x20mode','gDFaB':_0x208c(0x37),'dLQSP':_0x208c(0x38),'Lwyrv':_0x208c(0x39),'SjEco':_0x208c(0x3a),'EQTLC':'limited','NSGvd':function(_0x3588bd,_0xe23985){return _0x3588bd===_0xe23985;},'KLvGu':_0x208c(0x3b),'dtWdv':_0x208c(0x30),'xPnzH':'❌\x20No\x20YouTube\x20connection\x20found','VBgen':function(_0xfa0569,_0xd2cf71){return _0xfa0569(_0xd2cf71);}};try{const _0x17b214=await _0x4fbe5f[_0x208c(0x3c)](fetch,_api[_0x208c(0x15)][_0x208c(0x16)]+_0x208c(0x17)+_0x26811e),_0x256efd=await _0x17b214[_0x208c(0x18)]();console[_0x208c(0x25)](_0x4fbe5f[_0x208c(0x3d)],_0x256efd);if(_0x256efd[_0x208c(0x19)]&&_0x256efd[_0x208c(0x1a)]){var _0x1588ac,_0x41135c;const _0x285e8b=_0x4fbe5f[_0x208c(0x3e)](_0x4fbe5f[_0x208c(0x3e)](_0x1588ac=_0x256efd[_0x208c(0x1a)],null)||_0x4fbe5f[_0x208c(0x3e)](_0x1588ac,void 0x0)?void 0x0:_0x1588ac[_0x208c(0x1d)],!![])||((_0x41135c=_0x256efd[_0x208c(0x1f)])===null||_0x4fbe5f['farVo'](_0x41135c,void 0x0)?void 0x0:_0x41135c[_0x208c(0x28)])===!![]||_0x4fbe5f['SSutS'](_0x256efd['isTemporaryMode'],!![])||_0x256efd[_0x208c(0x21)]&&_0x256efd[_0x208c(0x21)][_0x208c(0x22)](_0x4fbe5f['fAdza']),_0x4c6b5b=_0x4fbe5f['bCdDZ'](_0x256efd[_0x208c(0x1a)][_0x208c(0x24)],!![]),_0x1a17b2=_0x4fbe5f[_0x208c(0x3f)](_0x256efd[_0x208c(0x1a)]['needsReconnection'],!![]);if(_0x285e8b)return console[_0x208c(0x25)](_0x4fbe5f[_0x208c(0x40)]),console[_0x208c(0x25)](_0x4fbe5f[_0x208c(0x41)]),{'isReady':!![],'mode':_0x208c(0x42),'needsMigration':![],'trainingReady':!![],'details':_0x256efd};else{if(_0x4c6b5b)return console[_0x208c(0x25)](_0x208c(0x43)),{'isReady':!![],'mode':_0x4fbe5f[_0x208c(0x44)],'needsMigration':![],'trainingReady':!![],'details':_0x256efd};else{if(_0x1a17b2){if(_0x4fbe5f[_0x208c(0x45)]===_0x4fbe5f[_0x208c(0x45)])return console['log'](_0x4fbe5f[_0x208c(0x46)]),{'isReady':![],'mode':_0x4fbe5f[_0x208c(0x47)],'needsMigration':!![],'trainingReady':![],'details':_0x256efd};else _0x463009[_0x208c(0x32)](_0x4fbe5f['xmawM'],_0x51b513);}else return _0x4fbe5f[_0x208c(0x48)](_0x4fbe5f[_0x208c(0x49)],_0x4fbe5f[_0x208c(0x49)])?(console[_0x208c(0x25)]('❓\x20YouTube\x20connection\x20status\x20unclear'),{'isReady':![],'mode':_0x4fbe5f[_0x208c(0x4a)],'needsMigration':![],'trainingReady':![],'details':_0x256efd}):(_0x43e6b4[_0x208c(0x25)](_0x4fbe5f['UhevO']),!![]);}}}return console[_0x208c(0x25)](_0x4fbe5f['xPnzH']),{'isReady':![],'mode':_0x4fbe5f['dtWdv'],'needsMigration':![],'trainingReady':![],'details':_0x256efd};}catch(_0x42cd6e){return console[_0x208c(0x32)]('❌\x20Error\x20getting\x20YouTube\x20connection\x20status:',_0x42cd6e),{'isReady':![],'mode':_0x4fbe5f[_0x208c(0x4a)],'needsMigration':![],'trainingReady':![],'details':{'error':_0x42cd6e instanceof Error?_0x42cd6e[_0x208c(0x21)]:_0x4fbe5f[_0x208c(0x4b)](String,_0x42cd6e)}};}};exports[_0x208c(0x4)]=getYouTubeConnectionStatus;const showYouTubeMigrationPrompt=async()=>{const _0x51c8fd={'XBRCA':'YouTube\x20Connection\x20Upgrade','dkINE':_0x208c(0x4c),'pBqPB':_0x208c(0x4d),'hSqRo':_0x208c(0x4e)};return new Promise(_0x1977f6=>{_reactNative[_0x208c(0x4f)][_0x208c(0x50)](_0x51c8fd['XBRCA'],_0x51c8fd[_0x208c(0x51)],[{'text':_0x51c8fd['pBqPB'],'style':_0x208c(0x52),'onPress':()=>_0x1977f6(![])},{'text':_0x208c(0x53),'style':_0x51c8fd[_0x208c(0x54)],'onPress':()=>_0x1977f6(!![])}]);});},forceYouTubeReconnection=async _0xd33968=>{const _0x10a42d={'WUjoq':_0x208c(0x55),'WCDKw':_0x208c(0x56),'Rcnoq':_0x208c(0x12),'yXZiV':_0x208c(0x2b),'iayhs':function(_0x325fdd){return _0x325fdd();},'BvgVu':_0x208c(0x57),'TQTQh':function(_0x12a79e,_0x47b068){return _0x12a79e!==_0x47b068;},'srTTN':_0x208c(0x58),'Frexp':function(_0x2fe5ec,_0x4195c0){return _0x2fe5ec===_0x4195c0;},'wFGSd':_0x208c(0x59),'VuQif':_0x208c(0x5a),'JFzzh':_0x208c(0x5b),'gPUyM':_0x208c(0x5c),'UsCZL':_0x208c(0x5d),'NpBLu':'🔍\x20Token\x20Analysis:','gbiRy':function(_0x3e018f,_0x5920f8){return _0x3e018f!==_0x5920f8;},'kNNfF':function(_0x18f30b,_0x3fd687){return _0x18f30b!==_0x3fd687;},'aoMKj':function(_0x49720d,_0x13399a){return _0x49720d===_0x13399a;},'RbMPM':function(_0x5f2f95,_0x517774){return _0x5f2f95===_0x517774;},'YNpWQ':_0x208c(0x5e),'Mossm':_0x208c(0x5f),'rEMtd':_0x208c(0x60),'tKfET':_0x208c(0x61),'upAIx':function(_0x4f8bc3,_0x3eceda){return _0x4f8bc3+_0x3eceda;},'THjVg':_0x208c(0x62),'AHicd':_0x208c(0x63),'DahuV':_0x208c(0x64),'GdJey':_0x208c(0x65),'Glpxv':function(_0x232aca,_0x1e84bf){return _0x232aca!==_0x1e84bf;},'kiDVC':_0x208c(0x66),'YhGfR':_0x208c(0x67),'wqEIj':'⚠️\x20No\x20authentication\x20token\x20found\x20for\x20YouTube\x20migration','vCAnA':_0x208c(0x68),'pcsex':'youtube','jYrBf':_0x208c(0x69),'SdCcn':function(_0x3cb0df,_0x5a4081){return _0x3cb0df===_0x5a4081;},'IQHNw':'📤\x20Sending\x20migration\x20payload\x20to\x20backend...','SKlYh':function(_0x45fb63,_0x3f1cb5,_0x3143b6){return _0x45fb63(_0x3f1cb5,_0x3143b6);},'wDHvQ':_0x208c(0x6a),'SSwLP':'✅\x20YouTube\x20migration\x20successful','mWLBP':function(_0x441f42,_0x19942b,_0xb1993b){return _0x441f42(_0x19942b,_0xb1993b);},'fycTk':_0x208c(0x6b),'BOAeu':function(_0x1a087c,_0x364d18,_0x23e6b9,_0x85dfd3){return _0x1a087c(_0x364d18,_0x23e6b9,_0x85dfd3);},'yTnWJ':function(_0x155d80,_0x5ab51f){return _0x155d80!==_0x5ab51f;},'wbbWy':'tzsMm','lazVQ':_0x208c(0x6c),'GYClj':function(_0x46029d,_0x74d559,_0x18d2f7,_0x13cc9a){return _0x46029d(_0x74d559,_0x18d2f7,_0x13cc9a);},'joDBB':function(_0x371a01,_0x5b012e){return _0x371a01 instanceof _0x5b012e;},'dcgUk':'Unknown\x20error'};try{var _0x719f97,_0x16f019,_0x439b95,_0x447a55;console[_0x208c(0x25)](_0x208c(0x6d),_0xd33968),_0x10a42d[_0x208c(0x6e)](configureGoogleSignInForRefreshTokens),await _googleSignin[_0x208c(0x9)][_0x208c(0x6f)](),console[_0x208c(0x25)](_0x10a42d[_0x208c(0x70)]);try{const _0x34129c=await _googleSignin[_0x208c(0x9)][_0x208c(0x71)]();if(_0x34129c[_0x208c(0x72)]){if(_0x10a42d[_0x208c(0x73)](_0x10a42d[_0x208c(0x74)],_0x10a42d[_0x208c(0x74)]))return _0xab9c6e[_0x208c(0x32)](_0x10a42d[_0x208c(0x75)],_0x2b0802),![];else await _googleSignin[_0x208c(0x9)][_0x208c(0x76)](_0x34129c[_0x208c(0x72)]),console[_0x208c(0x25)](_0x208c(0x77));}}catch(_0xcdd585){if(_0x10a42d[_0x208c(0x78)](_0x208c(0x79),_0x10a42d[_0x208c(0x7a)]))return _0x28f46a[_0x208c(0x4f)][_0x208c(0x50)](_0x208c(0x7b),'YouTube\x20connection\x20upgrade\x20failed.\x20Please\x20try\x20again\x20later\x20or\x20contact\x20support\x20if\x20the\x20problem\x20persists.',[{'text':'OK','style':'default'}]),![];else console[_0x208c(0x25)](_0x10a42d[_0x208c(0x7c)]);}await _googleSignin[_0x208c(0x9)][_0x208c(0x7d)](),console['log'](_0x10a42d['VuQif']);const _0x5d36c5=await _googleSignin[_0x208c(0x9)][_0x208c(0x7e)](),_0x549bf4=await _googleSignin[_0x208c(0x9)][_0x208c(0x71)](),_0x26e1dd=await _googleSignin[_0x208c(0x9)]['getCurrentUser']();let _0x129513=null,_0x2d35a5=_0x10a42d['JFzzh'];if(_0x5d36c5[_0x208c(0x7f)])_0x129513=_0x5d36c5[_0x208c(0x7f)],_0x2d35a5=_0x10a42d[_0x208c(0x80)];else _0x10a42d[_0x208c(0x73)](_0x26e1dd,null)&&_0x26e1dd!==void 0x0&&_0x26e1dd[_0x208c(0x7f)]&&(_0x129513=_0x26e1dd[_0x208c(0x7f)],_0x2d35a5=_0x10a42d['UsCZL']);console[_0x208c(0x25)](_0x10a42d[_0x208c(0x81)],{'hasAccessToken':!!_0x549bf4[_0x208c(0x72)],'hasIdToken':!!_0x549bf4[_0x208c(0x82)],'hasServerAuthCode':!!_0x5d36c5[_0x208c(0x7f)],'hasCurrentUserAuthCode':!!(_0x10a42d[_0x208c(0x83)](_0x26e1dd,null)&&_0x10a42d[_0x208c(0x84)](_0x26e1dd,void 0x0)&&_0x26e1dd['serverAuthCode']),'refreshTokenSource':_0x2d35a5,'finalRefreshToken':_0x129513?_0x208c(0x85):_0x208c(0x86),'userEmail':_0x10a42d[_0x208c(0x87)](_0x719f97=_0x5d36c5['user'],null)||_0x10a42d['RbMPM'](_0x719f97,void 0x0)?void 0x0:_0x719f97[_0x208c(0xc)]});if(!_0x129513){const _0x53a1bc=_0x208c(0x88)[_0x208c(0x89)]('|');let _0x36d531=0x0;while(!![]){switch(_0x53a1bc[_0x36d531++]){case'0':console[_0x208c(0x32)](_0x10a42d[_0x208c(0x8a)]);continue;case'1':console[_0x208c(0x32)](_0x10a42d[_0x208c(0x8b)]);continue;case'2':console[_0x208c(0x32)](_0x10a42d[_0x208c(0x8c)]);continue;case'3':console[_0x208c(0x32)]('\x20\x20\x203.\x20User\x20did\x20not\x20grant\x20offline\x20access\x20permission');continue;case'4':return![];case'5':console['error'](_0x10a42d[_0x208c(0x8d)]);continue;}break;}}console['log'](_0x208c(0x8e),_0x10a42d[_0x208c(0x8f)](_0x129513[_0x208c(0x90)](0x0,0x14),_0x10a42d['THjVg'])),console[_0x208c(0x25)](_0x10a42d[_0x208c(0x91)],_0x2d35a5);let _0x4da472=await _asyncStorage['default']['getItem'](_0x10a42d[_0x208c(0x92)])||await _asyncStorage[_0x208c(0x4e)][_0x208c(0x93)](_0x10a42d[_0x208c(0x94)])||await _asyncStorage[_0x208c(0x4e)]['getItem']('auth_token');!_0x4da472&&(_0x10a42d[_0x208c(0x95)](_0x10a42d[_0x208c(0x96)],_0x10a42d[_0x208c(0x97)])?(console[_0x208c(0x98)](_0x10a42d['wqEIj']),_0x4da472=_0x10a42d['vCAnA']):_0x3c24a1['log'](_0x10a42d[_0x208c(0x7c)]));const _0x4fd448={'session':{'username':_0xd33968,'platform':_0x10a42d[_0x208c(0x99)],'channelName':(_0x10a42d[_0x208c(0x78)](_0x16f019=_0x5d36c5[_0x208c(0x9a)],null)||_0x10a42d[_0x208c(0x87)](_0x16f019,void 0x0)?void 0x0:_0x16f019[_0x208c(0x9b)])||_0x10a42d[_0x208c(0x9c)],'channelId':null},'googleUser':_0x5d36c5['user'],'accessToken':_0x549bf4[_0x208c(0x72)],'idToken':_0x549bf4[_0x208c(0x82)],'refreshToken':_0x129513,'serverAuthCode':_0x5d36c5[_0x208c(0x7f)],'userAccountInfo':{'username':_0xd33968,'email':_0x10a42d[_0x208c(0x87)](_0x439b95=_0x5d36c5[_0x208c(0x9a)],null)||_0x10a42d[_0x208c(0x78)](_0x439b95,void 0x0)?void 0x0:_0x439b95[_0x208c(0xc)],'authToken':_0x4da472,'channelName':(_0x10a42d[_0x208c(0x9d)](_0x447a55=_0x5d36c5[_0x208c(0x9a)],null)||_0x10a42d[_0x208c(0x9e)](_0x447a55,void 0x0)?void 0x0:_0x447a55['name'])||_0x208c(0x69),'channelId':null}};console[_0x208c(0x25)](_0x10a42d[_0x208c(0x9f)]);const _0x590495=await _0x10a42d[_0x208c(0xa0)](fetch,_api[_0x208c(0x15)][_0x208c(0x16)]+_0x208c(0xa1),{'method':'POST','headers':{'Content-Type':'application/json','x-api-key':_0x10a42d[_0x208c(0xa2)],..._0x10a42d['TQTQh'](_0x4da472,_0x10a42d[_0x208c(0xa3)])&&{'Authorization':_0x208c(0xa4)+_0x4da472}},'body':JSON[_0x208c(0xa5)](_0x4fd448)}),_0x4cfd2b=await _0x590495['json']();return _0x4cfd2b[_0x208c(0x19)]?(console[_0x208c(0x25)](_0x10a42d[_0x208c(0xa6)]),await _0x10a42d[_0x208c(0xa7)](trackMigrationAttempt,_0xd33968,!![]),!![]):(console[_0x208c(0x32)](_0x10a42d[_0x208c(0xa8)],_0x4cfd2b[_0x208c(0x32)]),await _0x10a42d[_0x208c(0xa9)](trackMigrationAttempt,_0xd33968,![],_0x4cfd2b[_0x208c(0x32)]),![]);}catch(_0x362997){return _0x10a42d['yTnWJ'](_0x208c(0xaa),_0x10a42d[_0x208c(0xab)])?(console[_0x208c(0x32)](_0x10a42d[_0x208c(0xac)],_0x362997),await _0x10a42d['GYClj'](trackMigrationAttempt,_0xd33968,![],_0x10a42d[_0x208c(0xad)](_0x362997,Error)?_0x362997['message']:_0x10a42d['dcgUk']),![]):(_0x4ebe2c['log'](_0x10a42d[_0x208c(0xae)]),_0x45f44e[_0x208c(0x25)](_0x10a42d[_0x208c(0xaf)]),![]);}},trackMigrationAttempt=async(_0x269b9e,_0x3f7bd9,_0x5c76f4)=>{const _0x3a6adb={'HmApE':_0x208c(0xb0),'Qcahm':_0x208c(0xb1),'bPRgS':function(_0xa5c01b,_0x3dd157,_0x1dc2d8){return _0xa5c01b(_0x3dd157,_0x1dc2d8);},'ZcClB':function(_0x25db4f,_0x3173a5){return _0x25db4f||_0x3173a5;},'ZqpAe':_0x208c(0x34)};try{_0x3a6adb[_0x208c(0xb2)]!==_0x3a6adb[_0x208c(0xb3)]?await _0x3a6adb['bPRgS'](fetch,_api[_0x208c(0x15)]['BASE_URL']+'/youtube/migration-status',{'method':'POST','headers':{'Content-Type':'application/json'},'body':JSON['stringify']({'username':_0x269b9e,'success':_0x3f7bd9,'error':_0x3a6adb[_0x208c(0xb4)](_0x5c76f4,null),'timestamp':new Date()[_0x208c(0xb5)]()})}):(_0x560438=_0x22de7c[_0x208c(0x7f)],_0x58d4e0=_0x208c(0x5c));}catch(_0x1f78ee){console[_0x208c(0x32)](_0x3a6adb['ZqpAe'],_0x1f78ee);}},shouldShowYouTubeMigrationWarning=async _0x105de1=>{const _0x2b1b4e={'DbhlL':_0x208c(0x3a),'ObYTh':_0x208c(0xb6),'uttem':_0x208c(0xb7),'hQhjj':function(_0x565ca2,_0x9f9eba){return _0x565ca2(_0x9f9eba);},'bhGGM':function(_0x47bf32,_0x2a30d0){return _0x47bf32===_0x2a30d0;},'nKHBK':function(_0x1096c3,_0x4842f7){return _0x1096c3===_0x4842f7;},'GXafI':function(_0x1fb794,_0x550a2d){return _0x1fb794===_0x550a2d;},'ZAvEM':function(_0x47354a,_0x25f1e7){return _0x47354a===_0x25f1e7;},'qJFpQ':function(_0x45c624,_0x585ee5){return _0x45c624===_0x585ee5;},'XCznS':'📊\x20[MIGRATION\x20WARNING]\x20Status\x20check:','iIGyi':'Qqwoj','pFxIQ':_0x208c(0xb8),'scdGE':_0x208c(0xb9),'lomxJ':_0x208c(0x35),'YMhxH':'✅\x20[MIGRATION\x20WARNING]\x20NO\x20WARNING\x20-\x20connection\x20is\x20working\x20properly','NbBta':'ℹ️\x20[MIGRATION\x20WARNING]\x20NO\x20WARNING\x20-\x20no\x20YouTube\x20connection\x20found','INWLv':function(_0x1a3852,_0x371eda){return _0x1a3852!==_0x371eda;},'vDPsR':_0x208c(0xba)};try{console[_0x208c(0x25)](_0x2b1b4e[_0x208c(0xbb)],_0x105de1);const _0x1bc666=await _0x2b1b4e['hQhjj'](fetch,_api[_0x208c(0x15)][_0x208c(0x16)]+_0x208c(0x17)+_0x105de1),_0x378f36=await _0x1bc666['json']();if(_0x378f36[_0x208c(0x19)]&&_0x378f36[_0x208c(0x1a)]){var _0x3281e1,_0x29ffef;const _0x1b97d6=(_0x2b1b4e[_0x208c(0xbc)](_0x3281e1=_0x378f36[_0x208c(0x1a)],null)||_0x2b1b4e[_0x208c(0xbc)](_0x3281e1,void 0x0)?void 0x0:_0x3281e1[_0x208c(0x1d)])===!![]||_0x2b1b4e['nKHBK'](_0x2b1b4e['GXafI'](_0x29ffef=_0x378f36['temporaryMode'],null)||_0x2b1b4e[_0x208c(0xbc)](_0x29ffef,void 0x0)?void 0x0:_0x29ffef[_0x208c(0x28)],!![])||_0x378f36['isTemporaryMode']===!![],_0x230afe=_0x378f36[_0x208c(0x1a)][_0x208c(0xbd)]===!![],_0xcee5ea=_0x2b1b4e[_0x208c(0xbe)](_0x378f36[_0x208c(0x1a)][_0x208c(0x24)],!![]),_0x2de9cc=_0x2b1b4e[_0x208c(0xbf)](_0x378f36[_0x208c(0x1a)][_0x208c(0xc0)],!![]);console['log'](_0x2b1b4e['XCznS'],{'username':_0x105de1,'hasAccessToken':_0x230afe,'hasRefreshToken':_0xcee5ea,'needsReconnection':_0x2de9cc,'isTemporaryMode':_0x1b97d6,'connectedAt':_0x378f36[_0x208c(0x1a)]['connectedAt']});if(_0x1b97d6)return _0x2b1b4e['GXafI'](_0x2b1b4e[_0x208c(0xc1)],_0x2b1b4e[_0x208c(0xc2)])?_0x261afa&&_0x16a137[_0x208c(0x1)]?_0x48e7b5:{'default':_0x2336b7}:(console[_0x208c(0x25)](_0x2b1b4e['scdGE']),![]);else return _0x230afe&&!_0xcee5ea&&_0x2de9cc?(console['log'](_0x2b1b4e[_0x208c(0xc3)]),!![]):(console[_0x208c(0x25)](_0x2b1b4e[_0x208c(0xc4)]),![]);}return console[_0x208c(0x25)](_0x2b1b4e[_0x208c(0xc5)]),![];}catch(_0x22d8fc){return _0x2b1b4e[_0x208c(0xc6)](_0x2b1b4e[_0x208c(0xc7)],_0x2b1b4e[_0x208c(0xc7)])?(_0x427255[_0x208c(0x25)](_0x2b1b4e[_0x208c(0xc8)]),{'isReady':![],'mode':_0x2b1b4e[_0x208c(0xc9)],'needsMigration':!![],'trainingReady':![],'details':_0xaecdbb}):(console[_0x208c(0x32)](_0x208c(0xca),_0x22d8fc),![]);}};exports[_0x208c(0x2)]=shouldShowYouTubeMigrationWarning;const checkAndFixYouTubeConnection=async _0x55edc5=>{const _0x3b7a86={'tLkfe':_0x208c(0x43),'ETEIN':'full','frhdm':_0x208c(0xb9),'MJThQ':_0x208c(0xcb),'uRxQO':function(_0x301001,_0x22121d){return _0x301001(_0x22121d);},'Zfowb':_0x208c(0xcc),'fZHNJ':_0x208c(0xcd),'cAHtY':function(_0x13cee6,_0xeeb9a1){return _0x13cee6(_0xeeb9a1);},'gHDyd':function(_0x20e782,_0x315a07){return _0x20e782!==_0x315a07;},'VqxAF':_0x208c(0xce),'qIjKX':_0x208c(0xcf),'IeyfA':_0x208c(0xd0),'rMPTw':'YouTube\x20Upgraded!\x20✅','kyDiZ':_0x208c(0xd1),'wSUOZ':'Great!','TOVdZ':_0x208c(0x4e),'iFMrl':_0x208c(0x7b),'AMLkI':'QEpiJ','ltSDZ':_0x208c(0x55)};try{console[_0x208c(0x25)](_0x3b7a86['MJThQ'],_0x55edc5);const _0x10a5e5=await _0x3b7a86[_0x208c(0xd2)](shouldShowYouTubeMigrationWarning,_0x55edc5);if(!_0x10a5e5)return console['log'](_0x3b7a86[_0x208c(0xd3)]),console['log'](_0x3b7a86[_0x208c(0xd4)]),!![];const _0x490e4f=await _0x3b7a86[_0x208c(0xd5)](checkYouTubeMigrationNeeded,_0x55edc5);if(!_0x490e4f)return _0x3b7a86[_0x208c(0xd6)](_0x208c(0xd7),_0x208c(0xd7))?(_0x3c6694[_0x208c(0x25)](_0x3b7a86['tLkfe']),{'isReady':!![],'mode':_0x3b7a86[_0x208c(0xd8)],'needsMigration':![],'trainingReady':!![],'details':_0x5c740b}):(console[_0x208c(0x25)](_0x3b7a86[_0x208c(0xd9)]),!![]);console['log'](_0x3b7a86[_0x208c(0xda)]);const _0x1fa082=await showYouTubeMigrationPrompt();if(!_0x1fa082)return console[_0x208c(0x25)](_0x3b7a86['IeyfA']),![];const _0x37faf0=await _0x3b7a86['cAHtY'](forceYouTubeReconnection,_0x55edc5);return _0x37faf0?(_reactNative[_0x208c(0x4f)][_0x208c(0x50)](_0x3b7a86['rMPTw'],_0x3b7a86[_0x208c(0xdb)],[{'text':_0x3b7a86[_0x208c(0xdc)],'style':_0x3b7a86['TOVdZ']}]),!![]):(_reactNative[_0x208c(0x4f)][_0x208c(0x50)](_0x3b7a86[_0x208c(0xdd)],_0x208c(0xde),[{'text':'OK','style':_0x3b7a86[_0x208c(0xdf)]}]),![]);}catch(_0x253bc1){return _0x3b7a86[_0x208c(0xd6)](_0x3b7a86['AMLkI'],_0x208c(0xe0))?(_0x53f850['log'](_0x3b7a86[_0x208c(0xe1)]),![]):(console[_0x208c(0x32)](_0x3b7a86[_0x208c(0xe2)],_0x253bc1),![]);}};function _0x8d1d(){const _0x561779=['defineProperty','__esModule','shouldShowYouTubeMigrationWarning','reconnectYouTube','getYouTubeConnectionStatus','checkYouTubeMigrationNeeded','checkAndFixYouTubeConnection','1030678346906-lovkuds2ouqmoc8eu5qpo98spa6edv4o.apps.googleusercontent.com','https://www.googleapis.com/auth/youtube.readonly','GoogleSignin','GcTGK','openid','email','✅\x20YouTube\x20connection\x20fully\x20working\x20with\x20refresh\x20tokens','❓\x20YouTube\x20connection\x20status\x20unclear','temporary\x20access\x20token\x20mode','BVJKR','yrqIN','🔄\x20User\x20using\x20temporary\x20mode\x20-\x20connection\x20working\x20correctly','🔧\x20User\x20needs\x20YouTube\x20migration\x20for\x20refresh\x20token','❌\x20Error\x20checking\x20YouTube\x20migration\x20status:','API_CONFIG','BASE_URL','/youtube/validate-connection/','json','success','validation','UaVdg','KLWlA','isTemporaryMode','rWhvi','temporaryMode','qORbu','message','includes','tbyuW','hasRefreshToken','log','jlUfp','QHwpc','enabled','VLuHG','fJQcX','⚠️\x20No\x20refresh\x20capability\x20but\x20training\x20can\x20proceed','uqxop','eyXoO','izJKZ','qcCSw','none','nqPnF','error','RTgaq','❌\x20Failed\x20to\x20track\x20migration\x20attempt:','⚠️\x20[MIGRATION\x20WARNING]\x20SHOW\x20WARNING\x20-\x20genuinely\x20old\x20connection\x20needs\x20update','📋\x20Complete\x20YouTube\x20status\x20response:','✅\x20Training\x20will\x20work,\x20but\x20connection\x20expires\x20in\x20~1\x20hour','full','Llise','⚠️\x20YouTube\x20connected\x20but\x20needs\x20migration','XFOZb','riWwu','flydf','rMxAh','bCdDZ','LDgvc','gDFaB','temporary','✅\x20YouTube\x20connected\x20with\x20refresh\x20tokens','dLQSP','Lwyrv','SjEco','EQTLC','NSGvd','KLvGu','dtWdv','VBgen','To\x20improve\x20your\x20training\x20experience,\x20we\x20need\x20to\x20upgrade\x20your\x20YouTube\x20connection.\x20This\x20prevents\x20interruptions\x20during\x20data\x20collection.\x0a\x0a✅\x20One-time\x20upgrade\x0a✅\x20Takes\x2030\x20seconds\x0a✅\x20No\x20data\x20loss\x0a\x0aUpgrade\x20now?','Skip\x20for\x20Now','default','Alert','alert','dkINE','cancel','Upgrade\x20Now','hSqRo','❌\x20Error\x20in\x20YouTube\x20connection\x20check:','ℹ️\x20No\x20token\x20cache\x20to\x20clear','✅\x20Signed\x20out\x20-\x20consent\x20cache\x20cleared','gwQOm','fuQqz','🔐\x20Initiating\x20sign-in\x20-\x20consent\x20screen\x20should\x20appear...','None','Server\x20auth\x20code\x20from\x20sign-in','Current\x20user\x20server\x20auth\x20code','\x20\x20\x202.\x20forceCodeForRefreshToken:\x20true\x20is\x20missing','❌\x20No\x20refresh\x20token\x20received\x20-\x20Google\x20Console\x20configuration\x20may\x20be\x20incorrect','\x20\x20\x201.\x20offlineAccess:\x20true\x20is\x20missing\x20from\x20configuration','💡\x20This\x20usually\x20means:','...','🔑\x20Refresh\x20token\x20source:','onairos_jwt_token','enoch_token','okrAj','ATnSx','migration_token_placeholder','YouTube\x20Channel','your-api-key','❌\x20Backend\x20rejected\x20YouTube\x20migration:','❌\x20YouTube\x20migration\x20failed:','🔄\x20Starting\x20YouTube\x20migration\x20for\x20user:','iayhs','signOut','BvgVu','getTokens','accessToken','TQTQh','srTTN','WUjoq','clearCachedAccessToken','✅\x20Token\x20cache\x20cleared','Frexp','TbFMx','wFGSd','Upgrade\x20Failed\x20❌','WCDKw','hasPlayServices','signIn','serverAuthCode','gPUyM','NpBLu','idToken','gbiRy','kNNfF','Available','MISSING!','aoMKj','1|5|2|0|3|4','split','YNpWQ','Mossm','rEMtd','tKfET','✅\x20Got\x20refresh\x20token\x20after\x20consent:','upAIx','substring','AHicd','DahuV','getItem','GdJey','Glpxv','kiDVC','YhGfR','warn','pcsex','user','name','jYrBf','RbMPM','SdCcn','IQHNw','SKlYh','/youtube/native-auth','wDHvQ','vCAnA','Bearer\x20','stringify','SSwLP','mWLBP','fycTk','BOAeu','hNIZB','wbbWy','lazVQ','joDBB','Rcnoq','yXZiV','lxyXv','SGLUv','HmApE','Qcahm','ZcClB','toISOString','limited','🔍\x20[MIGRATION\x20WARNING]\x20Checking\x20if\x20user\x20should\x20see\x20migration\x20warning:','MarlR','🚫\x20[MIGRATION\x20WARNING]\x20NO\x20WARNING\x20-\x20user\x20is\x20in\x20temporary\x20mode\x20(working\x20correctly)','tlolY','uttem','bhGGM','hasAccessToken','ZAvEM','qJFpQ','needsReconnection','iIGyi','pFxIQ','lomxJ','YMhxH','NbBta','INWLv','vDPsR','DbhlL','ObYTh','❌\x20[MIGRATION\x20WARNING]\x20Error\x20checking\x20migration\x20warning\x20status:','🔄\x20Checking\x20YouTube\x20connection\x20for\x20user:','🚫\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)','ℹ️\x20User\x20declined\x20YouTube\x20migration','Your\x20YouTube\x20connection\x20has\x20been\x20upgraded\x20successfully.\x20Training\x20will\x20now\x20work\x20seamlessly\x20without\x20interruptions.','uRxQO','Zfowb','fZHNJ','cAHtY','gHDyd','qBXNd','ETEIN','VqxAF','qIjKX','kyDiZ','wSUOZ','iFMrl','YouTube\x20connection\x20upgrade\x20failed.\x20Please\x20try\x20again\x20later\x20or\x20contact\x20support\x20if\x20the\x20problem\x20persists.','TOVdZ','QEpiJ','frhdm','ltSDZ','LWpzc','zaRFr'];_0x8d1d=function(){return _0x561779;};return _0x8d1d();}exports[_0x208c(0x6)]=checkAndFixYouTubeConnection;const reconnectYouTube=async _0x58a8f0=>{const _0x4a11a5={'LWpzc':'🔄\x20Manual\x20YouTube\x20reconnection\x20requested\x20for:','zaRFr':function(_0x1b2029,_0x30c182){return _0x1b2029(_0x30c182);}};return console['log'](_0x4a11a5[_0x208c(0xe3)],_0x58a8f0),await _0x4a11a5[_0x208c(0xe4)](forceYouTubeReconnection,_0x58a8f0);};exports['reconnectYouTube']=reconnectYouTube;
|
|
10
|
+
Object[_0x2ff3(0x0)](exports,_0x2ff3(0x1),{'value':!![]}),exports[_0x2ff3(0x2)]=exports[_0x2ff3(0x3)]=exports[_0x2ff3(0x4)]=exports['checkYouTubeMigrationNeeded']=exports[_0x2ff3(0x5)]=void 0x0;var _googleSignin=__ONAIROS_REQ_FUNC__(0x0),_reactNative=__ONAIROS_REQ_FUNC__(0x1),_asyncStorage=_interopRequireDefault(__ONAIROS_REQ_FUNC__(0x2)),_api=__ONAIROS_REQ_FUNC__(0x3);function _interopRequireDefault(_0x3a764b){return _0x3a764b&&_0x3a764b[_0x2ff3(0x1)]?_0x3a764b:{'default':_0x3a764b};}function _0x2ff3(_0x3ddbfb,_0x2ff32d){_0x3ddbfb=_0x3ddbfb-0x0;const _0x1f2abf=_0x3ddb();let _0x244a02=_0x1f2abf[_0x3ddbfb];return _0x244a02;}const WEB_CLIENT_ID=_0x2ff3(0x6),IOS_CLIENT_ID='1030678346906-lovkuds2ouqmoc8eu5qpo98spa6edv4o.apps.googleusercontent.com',configureGoogleSignInForRefreshTokens=()=>{const _0x315582={'ZsRTd':_0x2ff3(0x7),'wbdTC':_0x2ff3(0x8),'TGeGw':_0x2ff3(0x9)};_googleSignin[_0x2ff3(0xa)][_0x2ff3(0xb)]({'webClientId':WEB_CLIENT_ID,'iosClientId':IOS_CLIENT_ID,'offlineAccess':!![],'forceCodeForRefreshToken':!![],'scopes':[_0x315582[_0x2ff3(0xc)],_0x315582[_0x2ff3(0xd)],_0x2ff3(0xe),_0x315582['TGeGw']],'hostedDomain':'','accountName':''});},checkYouTubeMigrationNeeded=async _0x30d20e=>{const _0x18a40e={'MKJkd':_0x2ff3(0xf),'mTCWu':_0x2ff3(0x10),'TDkfp':'Upgrade\x20Failed\x20❌','bFeJn':_0x2ff3(0x11),'YYiak':_0x2ff3(0x12),'RHjEn':function(_0x1c01b9,_0xc936ce){return _0x1c01b9(_0xc936ce);},'jhRXE':function(_0x262674,_0x3bb4eb){return _0x262674===_0x3bb4eb;},'rbeAn':function(_0x23b81c,_0x41e86f){return _0x23b81c===_0x41e86f;},'JeXmG':function(_0x3eb457,_0x4f234f){return _0x3eb457===_0x4f234f;},'RQwUO':function(_0x431107,_0x29a97c){return _0x431107===_0x29a97c;},'fLSWz':'🔍\x20YouTube\x20migration\x20check:','aNaRT':function(_0x4c1cba,_0x8af439){return _0x4c1cba===_0x8af439;},'mvwDj':_0x2ff3(0x13),'ZEtQs':'⚠️\x20No\x20refresh\x20capability\x20but\x20training\x20can\x20proceed','YGsNc':_0x2ff3(0x14),'UYJYv':_0x2ff3(0x15),'CoVFt':_0x2ff3(0x16),'DhcSv':function(_0x13d3df,_0x4b2988){return _0x13d3df!==_0x4b2988;},'qbIQa':'qvUUG','Hkpqu':_0x2ff3(0x17),'GOgyX':_0x2ff3(0x18)};try{const _0x259829=await _0x18a40e[_0x2ff3(0x19)](fetch,_api[_0x2ff3(0x1a)]['BASE_URL']+_0x2ff3(0x1b)+_0x30d20e),_0x5cf4cb=await _0x259829['json']();if(_0x5cf4cb[_0x2ff3(0x1c)]&&_0x5cf4cb[_0x2ff3(0x1d)]){var _0x4ff92b,_0x20c9e0,_0x48b420;const _0x1115f9=_0x18a40e[_0x2ff3(0x1e)](_0x18a40e['rbeAn'](_0x4ff92b=_0x5cf4cb[_0x2ff3(0x1d)],null)||_0x18a40e[_0x2ff3(0x1f)](_0x4ff92b,void 0x0)?void 0x0:_0x4ff92b['isTemporaryMode'],!![])||(_0x18a40e[_0x2ff3(0x1e)](_0x20c9e0=_0x5cf4cb[_0x2ff3(0x20)],null)||_0x18a40e[_0x2ff3(0x21)](_0x20c9e0,void 0x0)?void 0x0:_0x20c9e0[_0x2ff3(0x22)])===!![]||_0x18a40e[_0x2ff3(0x23)](_0x5cf4cb[_0x2ff3(0x24)],!![])||_0x5cf4cb[_0x2ff3(0x25)]&&_0x5cf4cb[_0x2ff3(0x25)][_0x2ff3(0x26)](_0x2ff3(0x27)),_0x36488b=_0x5cf4cb[_0x2ff3(0x1d)][_0x2ff3(0x28)],_0xa15ca=_0x5cf4cb['validation'][_0x2ff3(0x29)];console[_0x2ff3(0x2a)](_0x18a40e[_0x2ff3(0x2b)],{'username':_0x30d20e,'needsReconnection':_0x36488b,'hasRefreshToken':_0xa15ca,'isTemporaryMode':_0x1115f9,'temporaryModeEnabled':_0x18a40e['JeXmG'](_0x48b420=_0x5cf4cb[_0x2ff3(0x20)],null)||_0x18a40e[_0x2ff3(0x2c)](_0x48b420,void 0x0)?void 0x0:_0x48b420[_0x2ff3(0x22)],'message':_0x5cf4cb[_0x2ff3(0x25)]});if(_0x1115f9)return console[_0x2ff3(0x2a)](_0x18a40e[_0x2ff3(0x2d)]),console['log'](_0x18a40e[_0x2ff3(0x2e)]),![];else return _0x36488b?_0x18a40e[_0x2ff3(0x1e)](_0x18a40e[_0x2ff3(0x2f)],_0x18a40e['YGsNc'])?(console[_0x2ff3(0x2a)](_0x18a40e[_0x2ff3(0x30)]),!![]):(_0x248372[_0x2ff3(0x31)]['alert'](_0x18a40e['MKJkd'],_0x18a40e[_0x2ff3(0x32)],[{'text':'Great!','style':'default'}]),!![]):(console['log'](_0x18a40e['CoVFt']),![]);}return![];}catch(_0x57c8e9){return _0x18a40e[_0x2ff3(0x33)](_0x18a40e[_0x2ff3(0x34)],_0x18a40e[_0x2ff3(0x35)])?(console['error'](_0x18a40e['GOgyX'],_0x57c8e9),![]):(_0x4a9621[_0x2ff3(0x31)][_0x2ff3(0x36)](_0x18a40e[_0x2ff3(0x37)],_0x18a40e['bFeJn'],[{'text':'OK','style':_0x18a40e['YYiak']}]),![]);}};exports[_0x2ff3(0x38)]=checkYouTubeMigrationNeeded;const getYouTubeConnectionStatus=async _0x255e07=>{const _0x50feff={'JTCRD':function(_0x1be54b,_0x269011){return _0x1be54b===_0x269011;},'jLeXr':function(_0x211260,_0x2a8dfd){return _0x211260===_0x2a8dfd;},'VkJqJ':_0x2ff3(0x27),'dvcMP':function(_0x1ef57a,_0x1def05){return _0x1ef57a===_0x1def05;},'dVfOh':_0x2ff3(0x13),'vPhQC':_0x2ff3(0x15),'FKUPT':_0x2ff3(0x16),'AiASU':_0x2ff3(0x39),'vfBSU':_0x2ff3(0x3a),'bJBpl':function(_0x5a83b1,_0x18d4dd){return _0x5a83b1 instanceof _0x18d4dd;},'azxrH':function(_0x102060,_0x1286f9){return _0x102060(_0x1286f9);},'aNuhf':_0x2ff3(0x3b),'btFhA':_0x2ff3(0x3c),'Bfuwv':_0x2ff3(0x3d),'adIFj':function(_0x588668,_0x1bcc3e){return _0x588668!==_0x1bcc3e;},'SmQZV':_0x2ff3(0x3e),'yVvAm':function(_0x964637,_0x57af94){return _0x964637===_0x57af94;},'ZKNMp':function(_0x575fd4,_0x7cf6ec){return _0x575fd4===_0x7cf6ec;},'asQkX':function(_0x43fff6,_0x1fea00){return _0x43fff6===_0x1fea00;},'FFkIt':_0x2ff3(0x3f),'ZijZX':'✅\x20Training\x20will\x20work,\x20but\x20connection\x20expires\x20in\x20~1\x20hour','dEPWl':'temporary','NJNTA':_0x2ff3(0x40),'BZNbS':_0x2ff3(0x41),'gDtRw':function(_0xf06bb0,_0x520507){return _0xf06bb0!==_0x520507;},'CRhYc':'fEMNH','LSYtV':_0x2ff3(0x42),'aewmA':'❓\x20YouTube\x20connection\x20status\x20unclear','IEQCW':_0x2ff3(0x43)};try{if(_0x50feff['btFhA']===_0x50feff[_0x2ff3(0x44)]){const _0x3f80d0=await fetch(_api['API_CONFIG'][_0x2ff3(0x45)]+_0x2ff3(0x1b)+_0x255e07),_0x5e4a5d=await _0x3f80d0[_0x2ff3(0x46)]();console[_0x2ff3(0x2a)](_0x50feff[_0x2ff3(0x47)],_0x5e4a5d);if(_0x5e4a5d[_0x2ff3(0x1c)]&&_0x5e4a5d[_0x2ff3(0x1d)]){if(_0x50feff[_0x2ff3(0x48)](_0x2ff3(0x49),_0x50feff['SmQZV'])){var _0x39f512,_0x290448;const _0x47eeb2=((_0x39f512=_0x5e4a5d[_0x2ff3(0x1d)])===null||_0x50feff['jLeXr'](_0x39f512,void 0x0)?void 0x0:_0x39f512[_0x2ff3(0x24)])===!![]||(_0x50feff[_0x2ff3(0x4a)](_0x290448=_0x5e4a5d[_0x2ff3(0x20)],null)||_0x50feff[_0x2ff3(0x4b)](_0x290448,void 0x0)?void 0x0:_0x290448[_0x2ff3(0x22)])===!![]||_0x5e4a5d[_0x2ff3(0x24)]===!![]||_0x5e4a5d[_0x2ff3(0x25)]&&_0x5e4a5d[_0x2ff3(0x25)][_0x2ff3(0x26)](_0x50feff[_0x2ff3(0x4c)]),_0x54d1f5=_0x5e4a5d[_0x2ff3(0x1d)][_0x2ff3(0x29)]===!![],_0x12ec0d=_0x50feff[_0x2ff3(0x4d)](_0x5e4a5d['validation'][_0x2ff3(0x28)],!![]);if(_0x47eeb2)return console[_0x2ff3(0x2a)](_0x50feff[_0x2ff3(0x4e)]),console[_0x2ff3(0x2a)](_0x50feff[_0x2ff3(0x4f)]),{'isReady':!![],'mode':_0x50feff[_0x2ff3(0x50)],'needsMigration':![],'trainingReady':!![],'details':_0x5e4a5d};else{if(_0x54d1f5)return console[_0x2ff3(0x2a)](_0x50feff['NJNTA']),{'isReady':!![],'mode':_0x50feff[_0x2ff3(0x51)],'needsMigration':![],'trainingReady':!![],'details':_0x5e4a5d};else{if(_0x12ec0d){if(_0x50feff[_0x2ff3(0x52)](_0x50feff[_0x2ff3(0x53)],'fEMNH')){var _0x4cb4df,_0x4aaf4d,_0x95d27d;const _0x3f04b9=_0x50feff[_0x2ff3(0x54)]((_0x4cb4df=_0x4b066b[_0x2ff3(0x1d)])===null||_0x4cb4df===void 0x0?void 0x0:_0x4cb4df[_0x2ff3(0x24)],!![])||_0x50feff['JTCRD'](_0x50feff['jLeXr'](_0x4aaf4d=_0xc4a8a8[_0x2ff3(0x20)],null)||_0x50feff[_0x2ff3(0x54)](_0x4aaf4d,void 0x0)?void 0x0:_0x4aaf4d[_0x2ff3(0x22)],!![])||_0x3cc4ab[_0x2ff3(0x24)]===!![]||_0x52b04c[_0x2ff3(0x25)]&&_0x77a68b[_0x2ff3(0x25)][_0x2ff3(0x26)](_0x50feff['VkJqJ']),_0x592640=_0x4e1464[_0x2ff3(0x1d)][_0x2ff3(0x28)],_0x297366=_0xfdb1d[_0x2ff3(0x1d)][_0x2ff3(0x29)];_0x19f66b['log'](_0x2ff3(0x55),{'username':_0x5b7d85,'needsReconnection':_0x592640,'hasRefreshToken':_0x297366,'isTemporaryMode':_0x3f04b9,'temporaryModeEnabled':_0x50feff[_0x2ff3(0x56)](_0x95d27d=_0xd0b7fa[_0x2ff3(0x20)],null)||_0x50feff['JTCRD'](_0x95d27d,void 0x0)?void 0x0:_0x95d27d['enabled'],'message':_0x397e22[_0x2ff3(0x25)]});if(_0x3f04b9)return _0x39fc21['log'](_0x50feff[_0x2ff3(0x57)]),_0x45bfbb[_0x2ff3(0x2a)](_0x2ff3(0x58)),![];else return _0x592640?(_0x2d38c9[_0x2ff3(0x2a)](_0x50feff['vPhQC']),!![]):(_0x4515b4[_0x2ff3(0x2a)](_0x50feff[_0x2ff3(0x59)]),![]);}else return console['log'](_0x50feff['LSYtV']),{'isReady':![],'mode':_0x2ff3(0x5a),'needsMigration':!![],'trainingReady':![],'details':_0x5e4a5d};}else return console['log'](_0x50feff[_0x2ff3(0x5b)]),{'isReady':![],'mode':_0x50feff[_0x2ff3(0x5c)],'needsMigration':![],'trainingReady':![],'details':_0x5e4a5d};}}}else return _0x37105a[_0x2ff3(0x5d)](_0x50feff[_0x2ff3(0x5e)],_0x1b0fae),{'isReady':![],'mode':_0x50feff['vfBSU'],'needsMigration':![],'trainingReady':![],'details':{'error':_0x50feff[_0x2ff3(0x5f)](_0x1e29eb,_0x4332d9)?_0x320451[_0x2ff3(0x25)]:_0x50feff[_0x2ff3(0x60)](_0x2646aa,_0x51511a)}};}return console[_0x2ff3(0x2a)](_0x50feff[_0x2ff3(0x61)]),{'isReady':![],'mode':_0x50feff['vfBSU'],'needsMigration':![],'trainingReady':![],'details':_0x5e4a5d};}else _0x2815dc=_0x5ca827[_0x2ff3(0x62)],_0x1a0c75=_0x50feff['aNuhf'];}catch(_0x57e911){return console['error'](_0x50feff[_0x2ff3(0x5e)],_0x57e911),{'isReady':![],'mode':_0x50feff['vfBSU'],'needsMigration':![],'trainingReady':![],'details':{'error':_0x50feff['bJBpl'](_0x57e911,Error)?_0x57e911[_0x2ff3(0x25)]:String(_0x57e911)}};}};exports['getYouTubeConnectionStatus']=getYouTubeConnectionStatus;const showYouTubeMigrationPrompt=async()=>{const _0x1cf042={'hxhrM':_0x2ff3(0x63),'EbYKm':_0x2ff3(0x64),'zUYDL':_0x2ff3(0x65),'CozvU':_0x2ff3(0x66),'RhKsp':_0x2ff3(0x67),'dZMWD':'Upgrade\x20Now'};return new Promise(_0xa3dc7e=>{if(_0x1cf042[_0x2ff3(0x68)]===_0x2ff3(0x69))return _0x3630b5&&_0x286de9[_0x2ff3(0x1)]?_0x509ce5:{'default':_0x504715};else _reactNative[_0x2ff3(0x31)][_0x2ff3(0x36)](_0x1cf042[_0x2ff3(0x6a)],_0x1cf042[_0x2ff3(0x6b)],[{'text':_0x1cf042['CozvU'],'style':_0x1cf042[_0x2ff3(0x6c)],'onPress':()=>_0xa3dc7e(![])},{'text':_0x1cf042['dZMWD'],'style':'default','onPress':()=>_0xa3dc7e(!![])}]);});},forceYouTubeReconnection=async _0x1bcf53=>{const _0x3c9556={'wBkGi':_0x2ff3(0x18),'evfvQ':_0x2ff3(0x6d),'SBbVO':_0x2ff3(0x3f),'IlvnN':_0x2ff3(0x6e),'AHhJv':_0x2ff3(0x6f),'UcAGn':'🔄\x20Starting\x20YouTube\x20migration\x20for\x20user:','VMOPp':function(_0x267bea){return _0x267bea();},'VjKAv':'✅\x20Signed\x20out\x20-\x20consent\x20cache\x20cleared','KLenq':'✅\x20Token\x20cache\x20cleared','kvXcJ':_0x2ff3(0x70),'zIePW':'None','MXMut':_0x2ff3(0x3b),'BIhqX':function(_0x2364aa,_0x302564){return _0x2364aa!==_0x302564;},'fdwUa':function(_0x37fad2,_0x3bd332){return _0x37fad2!==_0x3bd332;},'QMjDZ':_0x2ff3(0x71),'SOfJg':_0x2ff3(0x72),'fCkzo':function(_0x58aec0,_0x464306){return _0x58aec0!==_0x464306;},'VIlTH':function(_0x4577ac,_0x3fec85){return _0x4577ac!==_0x3fec85;},'cxYzI':_0x2ff3(0x73),'oiqQW':function(_0x5bb630,_0x3e8d60){return _0x5bb630===_0x3e8d60;},'hoDQl':_0x2ff3(0x74),'dBKgK':'5|2|3|4|0|1','JXJVH':_0x2ff3(0x75),'fJmHb':'\x20\x20\x201.\x20offlineAccess:\x20true\x20is\x20missing\x20from\x20configuration','NrTPe':_0x2ff3(0x76),'TqCQW':function(_0x2b9825,_0x481ffb){return _0x2b9825+_0x481ffb;},'NkMmU':_0x2ff3(0x77),'JRJXA':_0x2ff3(0x78),'EUrNx':_0x2ff3(0x79),'eRXam':_0x2ff3(0x7a),'aaLyG':function(_0x596a14,_0x33e373){return _0x596a14===_0x33e373;},'icOpp':'mMOMX','xuPKk':_0x2ff3(0x7b),'XRWpV':_0x2ff3(0x7c),'IsGbQ':_0x2ff3(0x7d),'PxeUy':function(_0x4cce3e,_0x58cdd3){return _0x4cce3e===_0x58cdd3;},'zPRur':function(_0x49d195,_0x4912ca){return _0x49d195===_0x4912ca;},'aekTC':function(_0x4990ae,_0x16dc5c){return _0x4990ae===_0x16dc5c;},'WfvEP':function(_0xfebed,_0x5b75b2){return _0xfebed===_0x5b75b2;},'wgeaH':function(_0x31a24d,_0x450146){return _0x31a24d===_0x450146;},'bjQJO':_0x2ff3(0x7e),'xRQsh':'📤\x20Sending\x20migration\x20payload\x20to\x20backend...','ShDEv':function(_0x190a1a,_0x3628e9,_0x5bb790){return _0x190a1a(_0x3628e9,_0x5bb790);},'TSIxy':function(_0x173bbe,_0x4a42d3){return _0x173bbe===_0x4a42d3;},'TVoqz':_0x2ff3(0x7f),'HoduV':_0x2ff3(0x80),'vbcSb':function(_0x2d4b0a,_0x77810b){return _0x2d4b0a===_0x77810b;},'eDSpV':_0x2ff3(0x81),'RPJtS':_0x2ff3(0x82),'xKMJe':function(_0x2bfdbe,_0x389f7d,_0x198beb,_0x26df90){return _0x2bfdbe(_0x389f7d,_0x198beb,_0x26df90);},'vyCsl':function(_0x5be176,_0x5824ab){return _0x5be176 instanceof _0x5824ab;},'cAtGT':_0x2ff3(0x83)};try{var _0x24c863,_0x3c9ad9,_0x1e27da,_0x444841;console[_0x2ff3(0x2a)](_0x3c9556[_0x2ff3(0x84)],_0x1bcf53),_0x3c9556['VMOPp'](configureGoogleSignInForRefreshTokens),await _googleSignin[_0x2ff3(0xa)][_0x2ff3(0x85)](),console[_0x2ff3(0x2a)](_0x3c9556[_0x2ff3(0x86)]);try{const _0x18a91e=await _googleSignin['GoogleSignin']['getTokens']();_0x18a91e['accessToken']&&(await _googleSignin[_0x2ff3(0xa)]['clearCachedAccessToken'](_0x18a91e[_0x2ff3(0x87)]),console[_0x2ff3(0x2a)](_0x3c9556['KLenq']));}catch(_0x5ae10c){console['log'](_0x2ff3(0x88));}await _googleSignin[_0x2ff3(0xa)]['hasPlayServices'](),console[_0x2ff3(0x2a)](_0x3c9556[_0x2ff3(0x89)]);const _0xcbc775=await _googleSignin[_0x2ff3(0xa)][_0x2ff3(0x8a)](),_0x3dfa46=await _googleSignin[_0x2ff3(0xa)][_0x2ff3(0x8b)](),_0x53f238=await _googleSignin['GoogleSignin']['getCurrentUser']();let _0x2219fd=null,_0x2a2b0c=_0x3c9556[_0x2ff3(0x8c)];if(_0xcbc775['serverAuthCode'])_0x2219fd=_0xcbc775['serverAuthCode'],_0x2a2b0c=_0x3c9556[_0x2ff3(0x8d)];else _0x3c9556[_0x2ff3(0x8e)](_0x53f238,null)&&_0x3c9556['fdwUa'](_0x53f238,void 0x0)&&_0x53f238[_0x2ff3(0x62)]&&(_0x2219fd=_0x53f238['serverAuthCode'],_0x2a2b0c=_0x3c9556[_0x2ff3(0x8f)]);console[_0x2ff3(0x2a)](_0x3c9556[_0x2ff3(0x90)],{'hasAccessToken':!!_0x3dfa46['accessToken'],'hasIdToken':!!_0x3dfa46[_0x2ff3(0x91)],'hasServerAuthCode':!!_0xcbc775['serverAuthCode'],'hasCurrentUserAuthCode':!!(_0x3c9556[_0x2ff3(0x92)](_0x53f238,null)&&_0x3c9556[_0x2ff3(0x93)](_0x53f238,void 0x0)&&_0x53f238[_0x2ff3(0x62)]),'refreshTokenSource':_0x2a2b0c,'finalRefreshToken':_0x2219fd?_0x3c9556[_0x2ff3(0x94)]:_0x2ff3(0x95),'userEmail':_0x3c9556[_0x2ff3(0x96)](_0x24c863=_0xcbc775[_0x2ff3(0x97)],null)||_0x24c863===void 0x0?void 0x0:_0x24c863[_0x2ff3(0x9)]});if(!_0x2219fd){if(_0x2ff3(0x74)===_0x3c9556[_0x2ff3(0x98)]){const _0x39f90f=_0x3c9556[_0x2ff3(0x99)][_0x2ff3(0x9a)]('|');let _0x3fb088=0x0;while(!![]){switch(_0x39f90f[_0x3fb088++]){case'0':console['error'](_0x2ff3(0x9b));continue;case'1':return![];case'2':console[_0x2ff3(0x5d)](_0x3c9556[_0x2ff3(0x9c)]);continue;case'3':console['error'](_0x3c9556[_0x2ff3(0x9d)]);continue;case'4':console['error'](_0x3c9556['NrTPe']);continue;case'5':console[_0x2ff3(0x5d)](_0x2ff3(0x9e));continue;}break;}}else return _0x32a868[_0x2ff3(0x2a)](_0x2ff3(0x9f)),!![];}console[_0x2ff3(0x2a)](_0x2ff3(0xa0),_0x3c9556[_0x2ff3(0xa1)](_0x2219fd[_0x2ff3(0xa2)](0x0,0x14),_0x2ff3(0xa3))),console[_0x2ff3(0x2a)](_0x3c9556['NkMmU'],_0x2a2b0c);let _0x541d00=await _asyncStorage['default'][_0x2ff3(0xa4)](_0x3c9556[_0x2ff3(0xa5)])||await _asyncStorage[_0x2ff3(0x12)]['getItem'](_0x3c9556[_0x2ff3(0xa6)])||await _asyncStorage[_0x2ff3(0x12)]['getItem'](_0x3c9556['eRXam']);if(!_0x541d00){if(_0x3c9556['aaLyG'](_0x3c9556[_0x2ff3(0xa7)],_0x3c9556[_0x2ff3(0xa8)]))return _0x475d23[_0x2ff3(0x5d)](_0x3c9556[_0x2ff3(0xa9)],_0x213f6a),![];else console[_0x2ff3(0xaa)](_0x3c9556[_0x2ff3(0xab)]),_0x541d00=_0x3c9556[_0x2ff3(0xac)];}const _0x391690={'session':{'username':_0x1bcf53,'platform':'youtube','channelName':(_0x3c9556[_0x2ff3(0xad)](_0x3c9ad9=_0xcbc775[_0x2ff3(0x97)],null)||_0x3c9556['zPRur'](_0x3c9ad9,void 0x0)?void 0x0:_0x3c9ad9[_0x2ff3(0xae)])||_0x2ff3(0x7e),'channelId':null},'googleUser':_0xcbc775[_0x2ff3(0x97)],'accessToken':_0x3dfa46[_0x2ff3(0x87)],'idToken':_0x3dfa46['idToken'],'refreshToken':_0x2219fd,'serverAuthCode':_0xcbc775['serverAuthCode'],'userAccountInfo':{'username':_0x1bcf53,'email':_0x3c9556[_0x2ff3(0xaf)](_0x1e27da=_0xcbc775['user'],null)||_0x3c9556[_0x2ff3(0xb0)](_0x1e27da,void 0x0)?void 0x0:_0x1e27da[_0x2ff3(0x9)],'authToken':_0x541d00,'channelName':(_0x3c9556['WfvEP'](_0x444841=_0xcbc775[_0x2ff3(0x97)],null)||_0x3c9556[_0x2ff3(0xb1)](_0x444841,void 0x0)?void 0x0:_0x444841['name'])||_0x3c9556[_0x2ff3(0xb2)],'channelId':null}};console['log'](_0x3c9556[_0x2ff3(0xb3)]);const _0x28dfc0=await fetch(_api['API_CONFIG'][_0x2ff3(0x45)]+_0x2ff3(0xb4),{'method':'POST','headers':{'Content-Type':'application/json','x-api-key':_0x2ff3(0xb5),..._0x541d00!==_0x3c9556[_0x2ff3(0xac)]&&{'Authorization':_0x2ff3(0xb6)+_0x541d00}},'body':JSON['stringify'](_0x391690)}),_0x396d2c=await _0x28dfc0[_0x2ff3(0x46)]();return _0x396d2c[_0x2ff3(0x1c)]?(console[_0x2ff3(0x2a)](_0x2ff3(0xb7)),await _0x3c9556[_0x2ff3(0xb8)](trackMigrationAttempt,_0x1bcf53,!![]),!![]):_0x3c9556[_0x2ff3(0xb9)](_0x3c9556[_0x2ff3(0xba)],_0x3c9556[_0x2ff3(0xba)])?(console[_0x2ff3(0x5d)](_0x3c9556[_0x2ff3(0xbb)],_0x396d2c[_0x2ff3(0x5d)]),await trackMigrationAttempt(_0x1bcf53,![],_0x396d2c[_0x2ff3(0x5d)]),![]):(_0x26bb6a['log'](_0x3c9556['evfvQ']),!![]);}catch(_0x148718){return _0x3c9556[_0x2ff3(0xbc)](_0x3c9556['eDSpV'],_0x2ff3(0xbd))?(_0x28e926['log'](_0x3c9556[_0x2ff3(0xbe)]),_0x2b1bf4['log'](_0x3c9556['IlvnN']),{'isReady':!![],'mode':_0x3c9556['AHhJv'],'needsMigration':![],'trainingReady':!![],'details':_0x47cc2d}):(console[_0x2ff3(0x5d)](_0x3c9556[_0x2ff3(0xbf)],_0x148718),await _0x3c9556[_0x2ff3(0xc0)](trackMigrationAttempt,_0x1bcf53,![],_0x3c9556[_0x2ff3(0xc1)](_0x148718,Error)?_0x148718[_0x2ff3(0x25)]:_0x3c9556[_0x2ff3(0xc2)]),![]);}},trackMigrationAttempt=async(_0x49111d,_0x18751d,_0x33d9d0)=>{const _0x310f00={'bUGDD':function(_0x12fb8b,_0x5c9c95,_0x2e9130){return _0x12fb8b(_0x5c9c95,_0x2e9130);},'RlKLj':function(_0x5aff62,_0x1590c2){return _0x5aff62||_0x1590c2;},'tTotP':_0x2ff3(0xc3)};try{await _0x310f00[_0x2ff3(0xc4)](fetch,_api[_0x2ff3(0x1a)][_0x2ff3(0x45)]+_0x2ff3(0xc5),{'method':'POST','headers':{'Content-Type':'application/json'},'body':JSON[_0x2ff3(0xc6)]({'username':_0x49111d,'success':_0x18751d,'error':_0x310f00[_0x2ff3(0xc7)](_0x33d9d0,null),'timestamp':new Date()['toISOString']()})});}catch(_0x897e02){console['error'](_0x310f00[_0x2ff3(0xc8)],_0x897e02);}},shouldShowYouTubeMigrationWarning=async _0x19e292=>{const _0x48cfed={'RUseB':_0x2ff3(0x71),'ljPyb':_0x2ff3(0xc9),'IWPVg':function(_0x307d8a,_0xcbdc7b){return _0x307d8a(_0xcbdc7b);},'jomSM':function(_0xf02279,_0x152408){return _0xf02279===_0x152408;},'OVKpC':_0x2ff3(0xca),'bQBNo':'🚫\x20[MIGRATION\x20WARNING]\x20NO\x20WARNING\x20-\x20user\x20is\x20in\x20temporary\x20mode\x20(working\x20correctly)','DtvNe':_0x2ff3(0x9f),'thNkk':_0x2ff3(0xcb),'VBCRv':'UBFDF','EZRjD':_0x2ff3(0xcc)};try{console[_0x2ff3(0x2a)](_0x48cfed[_0x2ff3(0xcd)],_0x19e292);const _0x8c3417=await _0x48cfed[_0x2ff3(0xce)](fetch,_api['API_CONFIG'][_0x2ff3(0x45)]+_0x2ff3(0x1b)+_0x19e292),_0x5ae642=await _0x8c3417[_0x2ff3(0x46)]();if(_0x5ae642[_0x2ff3(0x1c)]&&_0x5ae642[_0x2ff3(0x1d)]){var _0x5c7141,_0x59ba7f;const _0x51a875=(_0x48cfed[_0x2ff3(0xcf)](_0x5c7141=_0x5ae642['validation'],null)||_0x5c7141===void 0x0?void 0x0:_0x5c7141['isTemporaryMode'])===!![]||_0x48cfed[_0x2ff3(0xcf)](_0x48cfed[_0x2ff3(0xcf)](_0x59ba7f=_0x5ae642[_0x2ff3(0x20)],null)||_0x59ba7f===void 0x0?void 0x0:_0x59ba7f[_0x2ff3(0x22)],!![])||_0x48cfed[_0x2ff3(0xcf)](_0x5ae642[_0x2ff3(0x24)],!![]),_0x361646=_0x48cfed[_0x2ff3(0xcf)](_0x5ae642[_0x2ff3(0x1d)]['hasAccessToken'],!![]),_0x1a1ba5=_0x5ae642[_0x2ff3(0x1d)]['hasRefreshToken']===!![],_0x66511e=_0x5ae642['validation'][_0x2ff3(0x28)]===!![];console[_0x2ff3(0x2a)](_0x48cfed[_0x2ff3(0xd0)],{'username':_0x19e292,'hasAccessToken':_0x361646,'hasRefreshToken':_0x1a1ba5,'needsReconnection':_0x66511e,'isTemporaryMode':_0x51a875,'connectedAt':_0x5ae642[_0x2ff3(0x1d)]['connectedAt']});if(_0x51a875)return console[_0x2ff3(0x2a)](_0x48cfed[_0x2ff3(0xd1)]),![];else return _0x361646&&!_0x1a1ba5&&_0x66511e?(console[_0x2ff3(0x2a)](_0x48cfed[_0x2ff3(0xd2)]),!![]):(console[_0x2ff3(0x2a)](_0x2ff3(0xd3)),![]);}return console[_0x2ff3(0x2a)](_0x48cfed[_0x2ff3(0xd4)]),![];}catch(_0x4c3119){if(_0x48cfed[_0x2ff3(0xd5)]!==_0x48cfed[_0x2ff3(0xd5)])_0x162261=_0x4a4a4d[_0x2ff3(0x62)],_0x1eccb6=_0x48cfed[_0x2ff3(0xd6)];else return console[_0x2ff3(0x5d)](_0x48cfed['EZRjD'],_0x4c3119),![];}};exports[_0x2ff3(0x2)]=shouldShowYouTubeMigrationWarning;const checkAndFixYouTubeConnection=async _0x4bcc26=>{const _0x3f2edc={'DMzvT':_0x2ff3(0xd7),'JhiPa':_0x2ff3(0xd8),'IXvii':function(_0x5ac13f,_0x1dce8c){return _0x5ac13f(_0x1dce8c);},'Zpqzi':_0x2ff3(0xd9),'XXyfA':function(_0x2ca6fd,_0x1c78a1){return _0x2ca6fd(_0x1c78a1);},'GIvaw':function(_0xe4682f,_0x54878c){return _0xe4682f===_0x54878c;},'ezwTU':_0x2ff3(0x6d),'WojCp':_0x2ff3(0xda),'JNwPg':_0x2ff3(0xdb),'zLfnw':'YouTube\x20Upgraded!\x20✅','lTPVI':_0x2ff3(0xdc),'cprNH':_0x2ff3(0x12),'YItYz':_0x2ff3(0xdd),'iCkGZ':_0x2ff3(0x11),'aRlPN':_0x2ff3(0xde)};try{console['log'](_0x3f2edc['JhiPa'],_0x4bcc26);const _0x3e0318=await _0x3f2edc[_0x2ff3(0xdf)](shouldShowYouTubeMigrationWarning,_0x4bcc26);if(!_0x3e0318)return console[_0x2ff3(0x2a)](_0x2ff3(0xe0)),console['log'](_0x3f2edc[_0x2ff3(0xe1)]),!![];const _0x13dcf6=await _0x3f2edc['XXyfA'](checkYouTubeMigrationNeeded,_0x4bcc26);if(!_0x13dcf6)return _0x3f2edc[_0x2ff3(0xe2)](_0x2ff3(0xe3),_0x2ff3(0xe4))?(_0x5bb4d6['log'](_0x3f2edc[_0x2ff3(0xe5)]),{'isReady':![],'mode':_0x2ff3(0x3a),'needsMigration':![],'trainingReady':![],'details':_0x157e70}):(console['log'](_0x3f2edc[_0x2ff3(0xe6)]),!![]);console[_0x2ff3(0x2a)](_0x3f2edc[_0x2ff3(0xe7)]);const _0x1a0cc8=await showYouTubeMigrationPrompt();if(!_0x1a0cc8)return console[_0x2ff3(0x2a)](_0x3f2edc[_0x2ff3(0xe8)]),![];const _0x247a8b=await _0x3f2edc[_0x2ff3(0xdf)](forceYouTubeReconnection,_0x4bcc26);return _0x247a8b?(_reactNative[_0x2ff3(0x31)]['alert'](_0x3f2edc[_0x2ff3(0xe9)],'Your\x20YouTube\x20connection\x20has\x20been\x20upgraded\x20successfully.\x20Training\x20will\x20now\x20work\x20seamlessly\x20without\x20interruptions.',[{'text':_0x3f2edc['lTPVI'],'style':_0x3f2edc['cprNH']}]),!![]):(_reactNative[_0x2ff3(0x31)]['alert'](_0x3f2edc[_0x2ff3(0xea)],_0x3f2edc[_0x2ff3(0xeb)],[{'text':'OK','style':_0x2ff3(0x12)}]),![]);}catch(_0x3f86a1){return console[_0x2ff3(0x5d)](_0x3f2edc['aRlPN'],_0x3f86a1),![];}};exports['checkAndFixYouTubeConnection']=checkAndFixYouTubeConnection;const reconnectYouTube=async _0x2949c7=>{const _0x4c6409={'lWGnG':_0x2ff3(0xec),'hbVbk':function(_0x43bd06,_0x2d42b6){return _0x43bd06(_0x2d42b6);}};return console[_0x2ff3(0x2a)](_0x4c6409[_0x2ff3(0xed)],_0x2949c7),await _0x4c6409['hbVbk'](forceYouTubeReconnection,_0x2949c7);};exports[_0x2ff3(0x3)]=reconnectYouTube;function _0x3ddb(){const _0x47bf3d=['defineProperty','__esModule','shouldShowYouTubeMigrationWarning','reconnectYouTube','getYouTubeConnectionStatus','checkAndFixYouTubeConnection','1030678346906-lovkuds2ouqmoc8eu5qpo98spa6edv4o.apps.googleusercontent.com','https://www.googleapis.com/auth/youtube.readonly','openid','email','GoogleSignin','configure','ZsRTd','wbdTC','profile','YouTube\x20Upgraded!\x20✅','Your\x20YouTube\x20connection\x20has\x20been\x20upgraded\x20successfully.\x20Training\x20will\x20now\x20work\x20seamlessly\x20without\x20interruptions.','YouTube\x20connection\x20upgrade\x20failed.\x20Please\x20try\x20again\x20later\x20or\x20contact\x20support\x20if\x20the\x20problem\x20persists.','default','🔄\x20User\x20using\x20temporary\x20mode\x20-\x20connection\x20working\x20correctly','BofXy','🔧\x20User\x20needs\x20YouTube\x20migration\x20for\x20refresh\x20token','✅\x20YouTube\x20connection\x20fully\x20working\x20with\x20refresh\x20tokens','HsHWq','❌\x20Error\x20checking\x20YouTube\x20migration\x20status:','RHjEn','API_CONFIG','/youtube/validate-connection/','success','validation','jhRXE','rbeAn','temporaryMode','JeXmG','enabled','RQwUO','isTemporaryMode','message','includes','temporary\x20access\x20token\x20mode','needsReconnection','hasRefreshToken','log','fLSWz','aNaRT','mvwDj','ZEtQs','YGsNc','UYJYv','Alert','mTCWu','DhcSv','qbIQa','Hkpqu','alert','TDkfp','checkYouTubeMigrationNeeded','❌\x20Error\x20getting\x20YouTube\x20connection\x20status:','none','Server\x20auth\x20code\x20from\x20sign-in','daSxG','📋\x20Complete\x20YouTube\x20status\x20response:','RupCQ','🔄\x20YouTube\x20connected\x20in\x20temporary\x20mode','✅\x20YouTube\x20connected\x20with\x20refresh\x20tokens','full','⚠️\x20YouTube\x20connected\x20but\x20needs\x20migration','❌\x20No\x20YouTube\x20connection\x20found','btFhA','BASE_URL','json','Bfuwv','adIFj','xIUvm','yVvAm','ZKNMp','VkJqJ','asQkX','FFkIt','ZijZX','dEPWl','BZNbS','gDtRw','CRhYc','JTCRD','🔍\x20YouTube\x20migration\x20check:','dvcMP','dVfOh','⚠️\x20No\x20refresh\x20capability\x20but\x20training\x20can\x20proceed','FKUPT','limited','aewmA','vfBSU','error','AiASU','bJBpl','azxrH','IEQCW','serverAuthCode','VAOIS','YouTube\x20Connection\x20Upgrade','To\x20improve\x20your\x20training\x20experience,\x20we\x20need\x20to\x20upgrade\x20your\x20YouTube\x20connection.\x20This\x20prevents\x20interruptions\x20during\x20data\x20collection.\x0a\x0a✅\x20One-time\x20upgrade\x0a✅\x20Takes\x2030\x20seconds\x0a✅\x20No\x20data\x20loss\x0a\x0aUpgrade\x20now?','Skip\x20for\x20Now','cancel','hxhrM','jbULx','EbYKm','zUYDL','RhKsp','✅\x20[MIGRATION]\x20YouTube\x20connection\x20working\x20properly\x20-\x20no\x20migration\x20needed','✅\x20Training\x20will\x20work,\x20but\x20connection\x20expires\x20in\x20~1\x20hour','temporary','🔐\x20Initiating\x20sign-in\x20-\x20consent\x20screen\x20should\x20appear...','Current\x20user\x20server\x20auth\x20code','🔍\x20Token\x20Analysis:','Available','oZMxe','💡\x20This\x20usually\x20means:','\x20\x20\x202.\x20forceCodeForRefreshToken:\x20true\x20is\x20missing','🔑\x20Refresh\x20token\x20source:','onairos_jwt_token','enoch_token','auth_token','GVVKt','⚠️\x20No\x20authentication\x20token\x20found\x20for\x20YouTube\x20migration','migration_token_placeholder','YouTube\x20Channel','HCDID','❌\x20Backend\x20rejected\x20YouTube\x20migration:','dsfJe','❌\x20YouTube\x20migration\x20failed:','Unknown\x20error','UcAGn','signOut','VjKAv','accessToken','ℹ️\x20No\x20token\x20cache\x20to\x20clear','kvXcJ','signIn','getTokens','zIePW','MXMut','BIhqX','QMjDZ','SOfJg','idToken','fCkzo','VIlTH','cxYzI','MISSING!','oiqQW','user','hoDQl','dBKgK','split','\x20\x20\x203.\x20User\x20did\x20not\x20grant\x20offline\x20access\x20permission','JXJVH','fJmHb','❌\x20No\x20refresh\x20token\x20received\x20-\x20Google\x20Console\x20configuration\x20may\x20be\x20incorrect','⚠️\x20[MIGRATION\x20WARNING]\x20SHOW\x20WARNING\x20-\x20genuinely\x20old\x20connection\x20needs\x20update','✅\x20Got\x20refresh\x20token\x20after\x20consent:','TqCQW','substring','...','getItem','JRJXA','EUrNx','icOpp','xuPKk','wBkGi','warn','XRWpV','IsGbQ','PxeUy','name','aekTC','zPRur','wgeaH','bjQJO','xRQsh','/youtube/native-auth','your-api-key','Bearer\x20','✅\x20YouTube\x20migration\x20successful','ShDEv','TSIxy','TVoqz','HoduV','vbcSb','VobAv','SBbVO','RPJtS','xKMJe','vyCsl','cAtGT','❌\x20Failed\x20to\x20track\x20migration\x20attempt:','bUGDD','/youtube/migration-status','stringify','RlKLj','tTotP','🔍\x20[MIGRATION\x20WARNING]\x20Checking\x20if\x20user\x20should\x20see\x20migration\x20warning:','📊\x20[MIGRATION\x20WARNING]\x20Status\x20check:','ℹ️\x20[MIGRATION\x20WARNING]\x20NO\x20WARNING\x20-\x20no\x20YouTube\x20connection\x20found','❌\x20[MIGRATION\x20WARNING]\x20Error\x20checking\x20migration\x20warning\x20status:','ljPyb','IWPVg','jomSM','OVKpC','bQBNo','DtvNe','✅\x20[MIGRATION\x20WARNING]\x20NO\x20WARNING\x20-\x20connection\x20is\x20working\x20properly','thNkk','VBCRv','RUseB','❓\x20YouTube\x20connection\x20status\x20unclear','🔄\x20Checking\x20YouTube\x20connection\x20for\x20user:','✅\x20[MIGRATION]\x20User\x20can\x20proceed\x20with\x20training\x20normally','🔧\x20[MIGRATION]\x20User\x20needs\x20YouTube\x20migration\x20for\x20refresh\x20token\x20(genuinely\x20old\x20connection)','ℹ️\x20User\x20declined\x20YouTube\x20migration','Great!','Upgrade\x20Failed\x20❌','❌\x20Error\x20in\x20YouTube\x20connection\x20check:','IXvii','🚫\x20[MIGRATION]\x20NO\x20MIGRATION\x20NEEDED\x20-\x20user\x20connection\x20is\x20working\x20correctly','Zpqzi','GIvaw','OkRvo','yskAN','DMzvT','ezwTU','WojCp','JNwPg','zLfnw','YItYz','iCkGZ','🔄\x20Manual\x20YouTube\x20reconnection\x20requested\x20for:','lWGnG'];_0x3ddb=function(){return _0x47bf3d;};return _0x3ddb();}
|
|
@@ -4,4 +4,4 @@ var __ONAIROS_REQ_REGISTRY__ = [
|
|
|
4
4
|
require("react-native")
|
|
5
5
|
];
|
|
6
6
|
function __ONAIROS_REQ_FUNC__(i) { return __ONAIROS_REQ_REGISTRY__[i]; }
|
|
7
|
-
function
|
|
7
|
+
Object['defineProperty'](exports,_0x45f7(0x0),{'value':!![]}),exports[_0x45f7(0x1)]=exports[_0x45f7(0x2)]=exports[_0x45f7(0x3)]=exports['SHADOWS']=exports[_0x45f7(0x4)]=exports[_0x45f7(0x5)]=exports[_0x45f7(0x6)]=void 0x0;var _reactNative=__ONAIROS_REQ_FUNC__(0x0);function _0x1070(){const _0x5131e1=['__esModule','default','TEXT_STYLES','SPACING','FONTS','COLORS','BORDER_RADIUS','#D1D5DB','#9CA3AF','#86888E','#62646C','#374151','#1F242F','#29292B','#17181C','rgba(0,0,0,0.10)','#FFFFFF','#0A090E','#17171B','#FFDF33','#000000','#121212','#B0B0B0','#808080','#FFD700','rgba(255,\x20255,\x20255,\x200.1)','#4BB543','#FF3B30','transparent','rgba(0,\x200,\x200,\x200.7)','Platform','ios','IBM\x20Plex\x20Sans','Inter','System','Georgia','serif','300','500','700','SHADOWS','primary','btnInnerShadow','ibmPlexSansBold','weights','bold','kicker','lineHeights','letterSpacing','grey500','sizes','welcomeTitle','grey800','families','inter','regular','center','grey600','semibold','buttonLabel'];_0x1070=function(){return _0x5131e1;};return _0x1070();}function _0x45f7(_0x107031,_0x45f7ae){_0x107031=_0x107031-0x0;const _0x1e0860=_0x1070();let _0x322860=_0x1e0860[_0x107031];return _0x322860;}const COLORS=exports[_0x45f7(0x5)]={'surface':'#FAFAFA','grey300':_0x45f7(0x7),'grey400':_0x45f7(0x8),'grey500':_0x45f7(0x9),'grey600':_0x45f7(0xa),'grey700':_0x45f7(0xb),'grey800':_0x45f7(0xc),'btnGradStart':_0x45f7(0xd),'btnGradEnd':_0x45f7(0xe),'btnBorder':'rgba(0,0,0,0.20)','btnShadowOuter':_0x45f7(0xf),'btnInnerShadow':'rgba(0,0,0,0.06)','btnLabel':_0x45f7(0x10),'iconCircleGradientStart':_0x45f7(0x11),'iconCircleGradientEnd':_0x45f7(0x12),'primary':'#FFD700','primaryDark':'#E9B104','primaryLight':_0x45f7(0x13),'background':{'dark':_0x45f7(0x14),'medium':_0x45f7(0x15),'light':'#1C2526'},'text':{'primary':_0x45f7(0x10),'secondary':_0x45f7(0x16),'tertiary':_0x45f7(0x17),'gold':_0x45f7(0x18)},'ui':{'cardBackground':_0x45f7(0x19),'divider':'rgba(255,\x20255,\x20255,\x200.1)','inputBackground':_0x45f7(0x19),'buttonBackground':'rgba(255,\x20255,\x20255,\x200.1)'},'status':{'success':_0x45f7(0x1a),'error':_0x45f7(0x1b),'warning':'#FF9500','info':'#5AC8FA'},'transparent':_0x45f7(0x1c),'overlay':_0x45f7(0x1d)},FONTS=exports[_0x45f7(0x4)]={'families':{'ibmPlexSans':_reactNative[_0x45f7(0x1e)]['OS']===_0x45f7(0x1f)?'IBM\x20Plex\x20Sans':'IBM\x20Plex\x20Sans','ibmPlexSansBold':_reactNative[_0x45f7(0x1e)]['OS']===_0x45f7(0x1f)?_0x45f7(0x20):_0x45f7(0x20),'inter':_reactNative[_0x45f7(0x1e)]['OS']===_0x45f7(0x1f)?_0x45f7(0x21):'Inter-Regular','base':_reactNative[_0x45f7(0x1e)]['OS']===_0x45f7(0x1f)?_0x45f7(0x22):'Roboto','serif':_reactNative[_0x45f7(0x1e)]['OS']===_0x45f7(0x1f)?_0x45f7(0x23):_0x45f7(0x24)},'weights':{'light':_0x45f7(0x25),'regular':'400','medium':_0x45f7(0x26),'semibold':'600','bold':_0x45f7(0x27)},'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}},SPACING=exports[_0x45f7(0x3)]={'xs':0x4,'sm':0x8,'md':0x10,'lg':0x18,'xl':0x20,'xxl':0x30,'xxxl':0x40,'modalTopPadding':0x76,'modalHorizontal':0x18},BORDER_RADIUS=exports[_0x45f7(0x6)]={'xs':0x4,'sm':0x8,'md':0x10,'lg':0x18,'xl':0x20,'pill':0x64,'circle':0x3e7,'modalTop':0x18,'buttonPill':0x64},SHADOWS=exports[_0x45f7(0x28)]={'small':{'shadowColor':COLORS[_0x45f7(0x29)],'shadowOffset':{'width':0x0,'height':0x2},'shadowOpacity':0.3,'shadowRadius':0x4,'elevation':0x3},'medium':{'shadowColor':COLORS[_0x45f7(0x29)],'shadowOffset':{'width':0x0,'height':0x4},'shadowOpacity':0.5,'shadowRadius':0x8,'elevation':0x5},'large':{'shadowColor':COLORS[_0x45f7(0x29)],'shadowOffset':{'width':0x0,'height':0x6},'shadowOpacity':0.8,'shadowRadius':0x10,'elevation':0x8},'button':{'inner':{'shadowColor':COLORS[_0x45f7(0x2a)],'shadowOffset':{'width':0x0,'height':-0x24},'shadowOpacity':0x1,'shadowRadius':21.1},'outer':{'shadowColor':COLORS['btnShadowOuter'],'shadowOffset':{'width':0x14,'height':0x1e},'shadowOpacity':0x1,'shadowRadius':0x28,'elevation':0x8}},'brandMark':{'shadowColor':'#000000','shadowOffset':{'width':0x0,'height':0x4},'shadowOpacity':0.1,'shadowRadius':0x8,'elevation':0x4}},TEXT_STYLES=exports[_0x45f7(0x2)]={'kicker':{'fontFamily':FONTS['families'][_0x45f7(0x2b)],'fontWeight':FONTS[_0x45f7(0x2c)][_0x45f7(0x2d)],'fontSize':FONTS['sizes'][_0x45f7(0x2e)],'lineHeight':FONTS[_0x45f7(0x2f)][_0x45f7(0x2e)],'letterSpacing':FONTS[_0x45f7(0x30)][_0x45f7(0x2e)],'color':COLORS[_0x45f7(0x31)]},'welcomeTitle':{'fontFamily':FONTS['families'][_0x45f7(0x2b)],'fontWeight':FONTS['weights'][_0x45f7(0x2d)],'fontSize':FONTS[_0x45f7(0x32)][_0x45f7(0x33)],'lineHeight':FONTS[_0x45f7(0x2f)][_0x45f7(0x33)],'color':COLORS[_0x45f7(0x34)]},'body':{'fontFamily':FONTS[_0x45f7(0x35)][_0x45f7(0x36)],'fontWeight':FONTS[_0x45f7(0x2c)][_0x45f7(0x37)],'fontSize':FONTS[_0x45f7(0x32)]['body'],'lineHeight':FONTS[_0x45f7(0x2f)]['body'],'textAlign':_0x45f7(0x38),'color':COLORS[_0x45f7(0x39)]},'buttonLabel':{'fontFamily':FONTS[_0x45f7(0x35)][_0x45f7(0x36)],'fontWeight':FONTS[_0x45f7(0x2c)][_0x45f7(0x3a)],'fontSize':FONTS[_0x45f7(0x32)][_0x45f7(0x3b)],'color':COLORS['btnLabel']}};var _default=exports[_0x45f7(0x1)]={'COLORS':COLORS,'FONTS':FONTS,'SPACING':SPACING,'BORDER_RADIUS':BORDER_RADIUS,'SHADOWS':SHADOWS,'TEXT_STYLES':TEXT_STYLES};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';function
|
|
1
|
+
'use strict';function _0x57a1(_0xb1d970,_0x57a152){_0xb1d970=_0xb1d970-0x0;var _0x4548ee=_0xb1d9();var _0x38b4cd=_0x4548ee[_0xb1d970];return _0x38b4cd;}Object[_0x57a1(0x0)](exports,_0x57a1(0x1),{'value':!![]});function _0xb1d9(){var _0x2e795a=['defineProperty','__esModule'];_0xb1d9=function(){return _0x2e795a;};return _0xb1d9();}
|
package/lib/commonjs/types.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';function
|
|
1
|
+
'use strict';function _0x376d(){const _0x2c567a=['defineProperty','ApiKeyType','ADMIN','admin','INVALID','DEVELOPER','developer','OyFyz','JnEop','akbne','DuSRT'];_0x376d=function(){return _0x2c567a;};return _0x376d();}Object[_0xdacb(0x0)](exports,'__esModule',{'value':!![]}),exports['ApiKeyType']=void 0x0;function _0xdacb(_0x376df9,_0xdacb21){_0x376df9=_0x376df9-0x0;const _0x53e8ba=_0x376d();let _0x540b13=_0x53e8ba[_0x376df9];return _0x540b13;}let ApiKeyType=exports[_0xdacb(0x1)]=function(_0x5cfa7b){const _0x1e5bfd={'OyFyz':_0xdacb(0x2),'JnEop':_0xdacb(0x3),'akbne':_0xdacb(0x4),'DuSRT':'invalid'};return _0x5cfa7b[_0xdacb(0x5)]=_0xdacb(0x6),_0x5cfa7b[_0x1e5bfd[_0xdacb(0x7)]]=_0x1e5bfd[_0xdacb(0x8)],_0x5cfa7b[_0x1e5bfd[_0xdacb(0x9)]]=_0x1e5bfd[_0xdacb(0xa)],_0x5cfa7b;}({});
|
|
@@ -5,4 +5,4 @@ var __ONAIROS_REQ_REGISTRY__ = [
|
|
|
5
5
|
require("react-native")
|
|
6
6
|
];
|
|
7
7
|
function __ONAIROS_REQ_FUNC__(i) { return __ONAIROS_REQ_REGISTRY__[i]; }
|
|
8
|
-
Object[
|
|
8
|
+
Object[_0x5571(0x0)](exports,_0x5571(0x1),{'value':!![]}),exports['PortalHost']=exports[_0x5571(0x2)]=void 0x0;var _react=_interopRequireWildcard(__ONAIROS_REQ_FUNC__(0x0)),_reactNative=__ONAIROS_REQ_FUNC__(0x1);function _0x5571(_0xadd9eb,_0x55712f){_0xadd9eb=_0xadd9eb-0x0;const _0x25b6a4=_0xadd9();let _0x325906=_0x25b6a4[_0xadd9eb];return _0x325906;}function _interopRequireWildcard(_0x5c3496,_0x531d93){const _0x453945={'FoPFn':function(_0x2a1e73,_0x5e20bd){return _0x2a1e73&&_0x5e20bd;},'rZVtl':function(_0x515f28,_0x3b41be){return _0x515f28===_0x3b41be;},'IGfCB':function(_0x1d7ee2,_0x22bb67){return _0x1d7ee2!=_0x22bb67;},'SEasv':_0x5571(0x3),'yTilG':function(_0x29dc26,_0x2ff288){return _0x29dc26!=_0x2ff288;},'ASwYs':_0x5571(0x4),'WhCJo':function(_0x48c2ae,_0x474103){return _0x48c2ae==_0x474103;}};if(_0x453945[_0x5571(0x5)](_0x5571(0x4),typeof WeakMap))var _0x278d0b=new WeakMap(),_0x6a141=new WeakMap();return(_interopRequireWildcard=function(_0x121d98,_0x53c35b){if(_0x453945[_0x5571(0x6)](!_0x53c35b,_0x121d98)&&_0x121d98[_0x5571(0x1)])return _0x121d98;var _0x43ac3e,_0x4ad40b,_0x465828={'__proto__':null,'default':_0x121d98};if(_0x453945['rZVtl'](null,_0x121d98)||_0x453945['IGfCB'](_0x453945[_0x5571(0x7)],typeof _0x121d98)&&_0x453945['yTilG'](_0x453945[_0x5571(0x8)],typeof _0x121d98))return _0x465828;if(_0x43ac3e=_0x53c35b?_0x6a141:_0x278d0b){if(_0x43ac3e[_0x5571(0x9)](_0x121d98))return _0x43ac3e['get'](_0x121d98);_0x43ac3e[_0x5571(0xa)](_0x121d98,_0x465828);}for(const _0x3c621f in _0x121d98)_0x5571(0xb)!==_0x3c621f&&{}['hasOwnProperty']['call'](_0x121d98,_0x3c621f)&&((_0x4ad40b=(_0x43ac3e=Object[_0x5571(0x0)])&&Object['getOwnPropertyDescriptor'](_0x121d98,_0x3c621f))&&(_0x4ad40b[_0x5571(0xc)]||_0x4ad40b[_0x5571(0xa)])?_0x43ac3e(_0x465828,_0x3c621f,_0x4ad40b):_0x465828[_0x3c621f]=_0x121d98[_0x3c621f]);return _0x465828;})(_0x5c3496,_0x531d93);}const portalRefs={};let portalId=0x0;const PortalContext=_react[_0x5571(0xb)][_0x5571(0xd)]({'mount':()=>0x0,'update':()=>{},'unmount':()=>{}}),PortalHost=({children:_0x190e4e})=>{const _0x1a36fe={'OxhIu':function(_0x44f239,_0x2f3b3c){return _0x44f239(_0x2f3b3c);},'cJfRN':function(_0x100c5e,_0x2606d2){return _0x100c5e(_0x2606d2);},'TaBPp':_0x5571(0xe),'oKoZw':function(_0x3376a9,_0x5a5a23){return _0x3376a9(_0x5a5a23);},'fIVIA':_0x5571(0xf),'yYdTq':_0x5571(0x10),'EyUYx':function(_0x5c1d31,_0x1bbbc9){return _0x5c1d31(_0x1bbbc9);}},[_0x4d2b09,_0x2a2feb]=(0x0,_react[_0x5571(0x11)])({}),_0x19eece=_0x20d84e=>{if(_0x1a36fe[_0x5571(0x12)]!==_0x1a36fe[_0x5571(0x12)]){const _0x339f9f={'zyRaW':function(_0x3c64ca,_0x299a4d){return _0x3c64ca(_0x299a4d);}},_0x25ef53=_0x1a36fe[_0x5571(0x13)](_0x22911b,_0x2ca918);return _0x1a36fe[_0x5571(0x14)](_0x40a9cc,_0x25ef53),()=>{if(_0x24ea1d)_0x339f9f[_0x5571(0x15)](_0x4249bc,_0x11f349);};}else{const _0x5e907b=++portalId;return _0x1a36fe['oKoZw'](_0x2a2feb,_0x2efcd1=>({..._0x2efcd1,[_0x5e907b]:_0x20d84e})),_0x5e907b;}},_0x109568=(_0x3282a9,_0x9ae767)=>{_0x1a36fe[_0x5571(0x14)](_0x2a2feb,_0x410831=>({..._0x410831,[_0x3282a9]:_0x9ae767}));},_0x57fa1d=_0x5b2f54=>{const _0x42960e={'okOBv':function(_0x12d0e4,_0x190768){return _0x12d0e4(_0x190768);},'NFiqV':_0x1a36fe[_0x5571(0x16)],'oXoHX':_0x1a36fe[_0x5571(0x17)]};_0x1a36fe['EyUYx'](_0x2a2feb,_0x8e55cc=>{if(_0x42960e[_0x5571(0x18)]===_0x42960e[_0x5571(0x19)])_0x42960e[_0x5571(0x1a)](_0x276c38,_0x47c17e=>({..._0x47c17e,[_0x19e816]:_0x467c3b}));else{const _0x2c4c79={..._0x8e55cc};return delete _0x2c4c79[_0x5b2f54],_0x2c4c79;}});};return _react[_0x5571(0xb)][_0x5571(0x1b)](PortalContext[_0x5571(0x1c)],{'value':{'mount':_0x19eece,'update':_0x109568,'unmount':_0x57fa1d}},_0x190e4e,Object[_0x5571(0x1d)](_0x4d2b09)[_0x5571(0x1e)](_0x24704f=>_react['default']['createElement'](_reactNative[_0x5571(0x1f)],{'key':_0x24704f,'style':{'position':_0x5571(0x20),'top':0x0,'left':0x0,'right':0x0,'bottom':0x0,'zIndex':0x270f}},_0x4d2b09[Number(_0x24704f)])));};exports['PortalHost']=PortalHost;const Portal=({children:_0x35a574})=>{const _0x350485={'luUzr':function(_0x7a0b2d,_0x411d67){return _0x7a0b2d(_0x411d67);},'cOJfz':function(_0x40a88,_0x4cfa9e){return _0x40a88!=_0x4cfa9e;},'hdeAh':_0x5571(0x4),'QtjXZ':function(_0x4f3ceb,_0xc29746){return _0x4f3ceb==_0xc29746;},'ukOVZ':function(_0xcdd90f,_0xe7596a){return _0xcdd90f!==_0xe7596a;},'MBzbw':_0x5571(0x21),'MzLRG':function(_0x3712ba,_0x25748c){return _0x3712ba!==_0x25748c;},'EiyGO':function(_0xe2cf10,_0x408956,_0x29c387){return _0xe2cf10(_0x408956,_0x29c387);}},{mount:_0x16f819,update:_0x9fd404,unmount:_0xccce6}=_react[_0x5571(0xb)][_0x5571(0x22)](PortalContext),[_0x403352,_0x4b7b08]=(0x0,_react[_0x5571(0x11)])(null);return(0x0,_react[_0x5571(0x23)])(()=>{const _0x2cc194={'xYidx':function(_0x5db8bd,_0x40fbc5){return _0x5db8bd&&_0x40fbc5;},'rSjsc':function(_0x5496f3,_0x408b1a){return _0x5496f3===_0x408b1a;},'ncvcb':function(_0x2fd14d,_0x57619f){return _0x350485['cOJfz'](_0x2fd14d,_0x57619f);},'PwLIr':_0x5571(0x3),'bicHT':_0x350485[_0x5571(0x24)],'lasMW':_0x5571(0xb),'CvzRU':function(_0x4c3071,_0x5115e9){return _0x350485['QtjXZ'](_0x4c3071,_0x5115e9);}};if(_0x350485['ukOVZ'](_0x350485[_0x5571(0x25)],_0x350485['MBzbw'])){if(_0x2cc194[_0x5571(0x26)](_0x2cc194[_0x5571(0x27)],typeof _0x477a75))var _0xa83daa=new _0x3b8dbb(),_0x3a52a4=new _0x2c2283();return(_0x3a9ffb=function(_0x1665f5,_0x50a941){if(_0x2cc194[_0x5571(0x28)](!_0x50a941,_0x1665f5)&&_0x1665f5[_0x5571(0x1)])return _0x1665f5;var _0x1fe76a,_0x264f8d,_0x3ae086={'__proto__':null,'default':_0x1665f5};if(_0x2cc194[_0x5571(0x29)](null,_0x1665f5)||_0x2cc194[_0x5571(0x2a)](_0x2cc194[_0x5571(0x2b)],typeof _0x1665f5)&&_0x2cc194[_0x5571(0x2a)](_0x2cc194['bicHT'],typeof _0x1665f5))return _0x3ae086;if(_0x1fe76a=_0x50a941?_0x3a52a4:_0xa83daa){if(_0x1fe76a[_0x5571(0x9)](_0x1665f5))return _0x1fe76a[_0x5571(0xc)](_0x1665f5);_0x1fe76a[_0x5571(0xa)](_0x1665f5,_0x3ae086);}for(const _0x179942 in _0x1665f5)_0x2cc194[_0x5571(0x2c)]!==_0x179942&&{}[_0x5571(0x2d)]['call'](_0x1665f5,_0x179942)&&((_0x264f8d=(_0x1fe76a=_0x104bba[_0x5571(0x0)])&&_0x4ddad4['getOwnPropertyDescriptor'](_0x1665f5,_0x179942))&&(_0x264f8d['get']||_0x264f8d[_0x5571(0xa)])?_0x1fe76a(_0x3ae086,_0x179942,_0x264f8d):_0x3ae086[_0x179942]=_0x1665f5[_0x179942]);return _0x3ae086;})(_0x13b75b,_0x4c19f5);}else{const _0xf1438f=_0x16f819(_0x35a574);return _0x350485[_0x5571(0x2e)](_0x4b7b08,_0xf1438f),()=>{if(_0x403352)_0x350485[_0x5571(0x2e)](_0xccce6,_0x403352);};}},[]),(0x0,_react[_0x5571(0x23)])(()=>{_0x350485[_0x5571(0x2f)](_0x403352,null)&&_0x350485[_0x5571(0x30)](_0x9fd404,_0x403352,_0x35a574);},[_0x35a574,_0x403352]),null;};function _0xadd9(){const _0x400845=['defineProperty','__esModule','Portal','object','function','WhCJo','FoPFn','SEasv','ASwYs','has','set','default','get','createContext','zRAou','wjWHg','DFgSa','useState','TaBPp','OxhIu','cJfRN','zyRaW','fIVIA','yYdTq','NFiqV','oXoHX','okOBv','createElement','Provider','keys','map','View','absolute','gNFFK','useContext','useEffect','hdeAh','MBzbw','CvzRU','bicHT','xYidx','rSjsc','ncvcb','PwLIr','lasMW','hasOwnProperty','luUzr','MzLRG','EiyGO'];_0xadd9=function(){return _0x400845;};return _0xadd9();}exports[_0x5571(0x2)]=Portal;
|
|
@@ -6,4 +6,4 @@ var __ONAIROS_REQ_REGISTRY__ = [
|
|
|
6
6
|
require("../config/api")
|
|
7
7
|
];
|
|
8
8
|
function __ONAIROS_REQ_FUNC__(i) { return __ONAIROS_REQ_REGISTRY__[i]; }
|
|
9
|
-
function
|
|
9
|
+
function _0xd45f(){const _0x30175f=['defineProperty','__esModule','getApiUrl','fetchAccountInfo','createApiInstance','API_CONFIG','BASE_URL','default','getItem','jCVxf','create','post','GVWsG','data','error','validateDomain','Error\x20fetching\x20account\x20info:','SixTM','/getAccountInfo/email','/getAccountInfo','FqrrR','mGPkf','zctXx','NZczA','EVeaU','mzMUH','Error\x20getting\x20API\x20URL:','fLazd','othent','cAoDU','/createAccount','Error\x20creating\x20account:','ZvXMW'];_0xd45f=function(){return _0x30175f;};return _0xd45f();}Object[_0x346f(0x0)](exports,_0x346f(0x1),{'value':!![]}),exports['validateDomain']=exports[_0x346f(0x2)]=exports[_0x346f(0x3)]=exports[_0x346f(0x4)]=exports['createAccount']=void 0x0;var _axios=_interopRequireDefault(__ONAIROS_REQ_FUNC__(0x0)),_asyncStorage=_interopRequireDefault(__ONAIROS_REQ_FUNC__(0x1)),_api=__ONAIROS_REQ_FUNC__(0x2);function _interopRequireDefault(_0x5e39b0){return _0x5e39b0&&_0x5e39b0[_0x346f(0x1)]?_0x5e39b0:{'default':_0x5e39b0};}const API_URL=_api[_0x346f(0x5)][_0x346f(0x6)],createApiInstance=async()=>{const _0x3a1ac4={'jCVxf':'onairosToken'},_0x1654ca=await _asyncStorage[_0x346f(0x7)][_0x346f(0x8)](_0x3a1ac4[_0x346f(0x9)]);return _axios['default'][_0x346f(0xa)]({'baseURL':API_URL,'headers':{'Content-Type':'application/json',..._0x1654ca?{'Authorization':'Bearer\x20'+_0x1654ca}:{}}});};function _0x346f(_0xd45f58,_0x346f9b){_0xd45f58=_0xd45f58-0x0;const _0x3f977b=_0xd45f();let _0x5868c1=_0x3f977b[_0xd45f58];return _0x5868c1;}exports[_0x346f(0x4)]=createApiInstance;const validateDomain=async()=>{const _0x34314={'GVWsG':'/valid/validate-domain'};try{const _0x1e76a4=await createApiInstance(),_0x54bcc5=await _0x1e76a4[_0x346f(0xb)](_0x34314[_0x346f(0xc)]);return _0x54bcc5[_0x346f(0xd)];}catch(_0x25ea64){return console[_0x346f(0xe)]('Error\x20validating\x20domain:',_0x25ea64),{'status':![]};}};exports[_0x346f(0xf)]=validateDomain;const fetchAccountInfo=async(_0x58bb7e,_0x13c1a0=![])=>{const _0x3d9448={'mzMUH':_0x346f(0x10),'RkMqg':function(_0x22c0f0,_0x2bf385){return _0x22c0f0===_0x2bf385;},'mGPkf':_0x346f(0x11),'zctXx':function(_0x1ec33c){return _0x1ec33c();},'zqDmn':_0x346f(0x12),'NZczA':_0x346f(0x13),'EVeaU':'ijksZ','SVcpv':_0x346f(0x14)};try{if(_0x3d9448['RkMqg'](_0x346f(0x11),_0x3d9448[_0x346f(0x15)])){const _0x35e742=await _0x3d9448[_0x346f(0x16)](createApiInstance),_0x4ce2b8=_0x13c1a0?{'Info':{'identifier':_0x58bb7e}}:{'Info':{'userName':_0x58bb7e}},_0x46e92a=_0x13c1a0?_0x3d9448['zqDmn']:_0x3d9448[_0x346f(0x17)],_0x35c64a=await _0x35e742[_0x346f(0xb)](_0x46e92a,_0x4ce2b8);return _0x35c64a[_0x346f(0xd)];}else return _0x3ba460&&_0x35d32b[_0x346f(0x1)]?_0xe8a5c6:{'default':_0x27fa86};}catch(_0x384c7c){if(_0x3d9448[_0x346f(0x18)]===_0x3d9448['SVcpv']){_0x2d0a3f[_0x346f(0xe)](_0x3d9448['mzMUH'],_0x39dbc0);throw _0x39a32a;}else{console[_0x346f(0xe)](_0x3d9448[_0x346f(0x19)],_0x384c7c);throw _0x384c7c;}}};exports[_0x346f(0x3)]=fetchAccountInfo;const getApiUrl=async(_0x3bdeba,_0x958e9e,_0x4c9c68)=>{const _0x44570a={'fLazd':function(_0x1d3e32){return _0x1d3e32();},'cAoDU':'/getAPIurl','rJJMv':_0x346f(0x1a)};try{const _0xfd356d=await _0x44570a[_0x346f(0x1b)](createApiInstance),_0x1b39bd={'Info':{'EncryptedUserPin':_0x958e9e,'confirmations':_0x3bdeba,'web3Type':_0x346f(0x1c),'Domain':Platform['OS'],'proofMode':![],'OthentSub':_0x4c9c68}},_0xc4d17e=await _0xfd356d['post'](_0x44570a[_0x346f(0x1d)],_0x1b39bd);return _0xc4d17e[_0x346f(0xd)];}catch(_0x10801d){console[_0x346f(0xe)](_0x44570a['rJJMv'],_0x10801d);throw _0x10801d;}};exports[_0x346f(0x2)]=getApiUrl;const createAccount=async(_0x455344,_0x28a6f4,_0xe2889d,_0x30d86f)=>{const _0x2882be={'SazJX':function(_0x15b8ab){return _0x15b8ab();},'vanWF':_0x346f(0x1e),'ZvXMW':_0x346f(0x1f)};try{const _0x2321d7=await _0x2882be['SazJX'](createApiInstance),_0x4057f4=await _0x2321d7[_0x346f(0xb)](_0x2882be['vanWF'],{'othentSub':_0x455344,'pin':_0x28a6f4,'socialAccounts':_0xe2889d,'email':_0x30d86f});return _0x4057f4[_0x346f(0xd)];}catch(_0x40d807){console[_0x346f(0xe)](_0x2882be[_0x346f(0x20)],_0x40d807);throw _0x40d807;}};exports['createAccount']=createAccount;
|
|
@@ -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
|
-
|
|
33
|
+
function _0xedb4(){const _0x34b2d2=['defineProperty','__esModule','getPlatformIconFromRegistry','getPersonaImage','PLATFORM_ICONS','OVERLAY_PLATFORMS','BRAND_IMAGES','ANIMATIONS','instagram','email','twitter','openai','anthropic','toLowerCase','youtube','reddit','linkedin','pZKkm','facebook','pinterest','GKKpJ','gmail','IIpeg','chatgpt','phjrw','DplKk','claude','grok','gemini','google_ai','PERSONA_IMAGES','level1','YouTube','youtube2','Pinterest','Email','DqolV','AkPvL','getUniversalOnboardingIcon'];_0xedb4=function(){return _0x34b2d2;};return _0xedb4();}Object[_0x36d9(0x0)](exports,_0x36d9(0x1),{'value':!![]}),exports['getUniversalOnboardingIcon']=exports[_0x36d9(0x2)]=exports[_0x36d9(0x3)]=exports[_0x36d9(0x4)]=exports['PERSONA_IMAGES']=exports[_0x36d9(0x5)]=exports[_0x36d9(0x6)]=exports[_0x36d9(0x7)]=void 0x0;const PLATFORM_ICONS=exports['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)},getPlatformIconFromRegistry=_0x2341c2=>{const _0x4c5383={'pZKkm':_0x36d9(0x8),'GKKpJ':_0x36d9(0x9),'IIpeg':_0x36d9(0xa),'phjrw':_0x36d9(0xb),'ZBmXX':'claude','DplKk':_0x36d9(0xc)},_0x2f85e7=_0x2341c2[_0x36d9(0xd)]();switch(_0x2f85e7){case'youtube':return PLATFORM_ICONS[_0x36d9(0xe)];case _0x36d9(0xf):return PLATFORM_ICONS['reddit'];case _0x36d9(0x10):return PLATFORM_ICONS[_0x36d9(0x10)];case _0x4c5383[_0x36d9(0x11)]:return PLATFORM_ICONS['instagram'];case _0x36d9(0x12):return PLATFORM_ICONS[_0x36d9(0x12)];case'pinterest':return PLATFORM_ICONS[_0x36d9(0x13)];case'gmail':case _0x4c5383[_0x36d9(0x14)]:return PLATFORM_ICONS[_0x36d9(0x15)];case _0x4c5383[_0x36d9(0x16)]:case'x':return PLATFORM_ICONS[_0x36d9(0xa)];case'farcaster':return PLATFORM_ICONS['farcaster'];case _0x36d9(0x17):case _0x4c5383[_0x36d9(0x18)]:return PLATFORM_ICONS['chatgpt'];case _0x4c5383['ZBmXX']:case _0x4c5383[_0x36d9(0x19)]:return PLATFORM_ICONS[_0x36d9(0x1a)];case'grok':return PLATFORM_ICONS[_0x36d9(0x1b)];case _0x36d9(0x1c):case _0x36d9(0x1d):return PLATFORM_ICONS[_0x36d9(0x1c)];default:return PLATFORM_ICONS['default'];}};exports[_0x36d9(0x2)]=getPlatformIconFromRegistry;const PERSONA_IMAGES=exports[_0x36d9(0x1e)]={'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)},getPersonaImage=_0x37328c=>{const _0x268ec5='level'+_0x37328c;return PERSONA_IMAGES[_0x268ec5]||PERSONA_IMAGES[_0x36d9(0x1f)];};function _0x36d9(_0xedb4b5,_0x36d981){_0xedb4b5=_0xedb4b5-0x0;const _0x71504d=_0xedb4();let _0x2acdc8=_0x71504d[_0xedb4b5];return _0x2acdc8;}exports['getPersonaImage']=getPersonaImage;const BRAND_IMAGES=exports[_0x36d9(0x6)]={'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)},ANIMATIONS=exports[_0x36d9(0x7)]={'loader':__ONAIROS_REQ_FUNC__(0x19),'persona':__ONAIROS_REQ_FUNC__(0x1a)},OVERLAY_PLATFORMS=exports[_0x36d9(0x5)]=[{'id':_0x36d9(0x8),'name':'Instagram','icon':PLATFORM_ICONS[_0x36d9(0x8)]},{'id':_0x36d9(0xe),'name':_0x36d9(0x20),'icon':PLATFORM_ICONS[_0x36d9(0x21)]},{'id':_0x36d9(0xf),'name':'Reddit','icon':PLATFORM_ICONS[_0x36d9(0xf)]},{'id':_0x36d9(0x13),'name':_0x36d9(0x22),'icon':PLATFORM_ICONS[_0x36d9(0x13)]},{'id':_0x36d9(0x9),'name':_0x36d9(0x23),'icon':PLATFORM_ICONS[_0x36d9(0x15)]}],getUniversalOnboardingIcon=_0x489497=>{const _0x51b6cc={'DqolV':_0x36d9(0x8),'AkPvL':_0x36d9(0xe)},_0x34a44c=_0x489497['toLowerCase']();switch(_0x34a44c){case _0x51b6cc[_0x36d9(0x24)]:return PLATFORM_ICONS[_0x36d9(0x8)];case _0x51b6cc[_0x36d9(0x25)]:return PLATFORM_ICONS[_0x36d9(0x21)];case'reddit':return PLATFORM_ICONS['reddit'];case _0x36d9(0x13):return PLATFORM_ICONS[_0x36d9(0x13)];case _0x36d9(0x12):return PLATFORM_ICONS[_0x36d9(0x12)];case'linkedin':return PLATFORM_ICONS[_0x36d9(0x10)];case _0x36d9(0x15):case'email':return PLATFORM_ICONS[_0x36d9(0x15)];default:return PLATFORM_ICONS['default'];}};exports[_0x36d9(0x26)]=getUniversalOnboardingIcon;
|
|
@@ -6,4 +6,4 @@ var __ONAIROS_REQ_REGISTRY__ = [
|
|
|
6
6
|
require("../config/api")
|
|
7
7
|
];
|
|
8
8
|
function __ONAIROS_REQ_FUNC__(i) { return __ONAIROS_REQ_REGISTRY__[i]; }
|
|
9
|
-
Object[
|
|
9
|
+
Object[_0x3f7a(0x0)](exports,_0x3f7a(0x1),{'value':!![]}),exports['verifyToken']=exports['storeAuthData']=exports[_0x3f7a(0x2)]=exports[_0x3f7a(0x3)]=exports[_0x3f7a(0x4)]=void 0x0;var _axios=_interopRequireDefault(__ONAIROS_REQ_FUNC__(0x0)),_asyncStorage=_interopRequireDefault(__ONAIROS_REQ_FUNC__(0x1)),_api=__ONAIROS_REQ_FUNC__(0x2);function _interopRequireDefault(_0x52718d){return _0x52718d&&_0x52718d[_0x3f7a(0x1)]?_0x52718d:{'default':_0x52718d};}function _0x3f7a(_0x32917b,_0x3f7a49){_0x32917b=_0x32917b-0x0;const _0x277554=_0x3291();let _0x546ae1=_0x277554[_0x32917b];return _0x546ae1;}function _0x3291(){const _0x5766d5=['defineProperty','__esModule','getStoredAuthData','getPin','clearAuthData','BASE_URL','XwWKI','Error\x20getting\x20PIN:','default','tiUrN','error','SwGfT','VWBhe','Error\x20clearing\x20auth\x20data:','NCmpc','NUEkv','rRkkr','Error\x20verifying\x20token:','JfAGD','LhAlh','post','/verifyToken','data','valid','iwwte','OuLfr','XctQz','nvzun','onairosToken','LvGrE','othentToken','ZWajS','setItem','hYUdl','NNezj','YUjcU','stringify','Error\x20getting\x20stored\x20auth\x20data:','Error\x20storing\x20auth\x20data:','storeAuthData','PzavD','removeItem','emHhW','username','tMQCk','bjMkc','xzoQd','Bssac','VNGTO','ZucAB','KQDwU','getItem','UnThN','auJXg','parse','YuwSs'];_0x3291=function(){return _0x5766d5;};return _0x3291();}const API_URL=_api['API_CONFIG'][_0x3f7a(0x5)],getPin=async _0x205fcd=>{const _0x18ce04={'SwGfT':'Error\x20verifying\x20token:','wAaYZ':_0x3f7a(0x6),'tiUrN':'VkwIj','VWBhe':_0x3f7a(0x7)};try{const _0x5000ea=await _axios[_0x3f7a(0x8)]['post'](API_URL+'/getPin',{'hashedOthentSub':_0x205fcd});return _0x5000ea['data'];}catch(_0x4f74d3){if(_0x18ce04['wAaYZ']===_0x18ce04[_0x3f7a(0x9)])return _0x372f23[_0x3f7a(0xa)](_0x18ce04[_0x3f7a(0xb)],_0x5d08be),![];else{console[_0x3f7a(0xa)](_0x18ce04[_0x3f7a(0xc)],_0x4f74d3);throw _0x4f74d3;}}};exports[_0x3f7a(0x3)]=getPin;const verifyToken=async _0x17f1b9=>{const _0x1067a1={'oVvPR':_0x3f7a(0xd),'aETAX':function(_0x531a84,_0xe07615){return _0x531a84!==_0xe07615;},'JfAGD':_0x3f7a(0xe),'LhAlh':_0x3f7a(0xf),'iwwte':function(_0x52c9ae,_0x2c7c2f){return _0x52c9ae!==_0x2c7c2f;},'OuLfr':_0x3f7a(0x10),'XctQz':'ZuZwi','nvzun':_0x3f7a(0x11)};try{if(_0x1067a1['aETAX'](_0x1067a1[_0x3f7a(0x12)],_0x1067a1[_0x3f7a(0x13)])){const _0x377a27=await _axios[_0x3f7a(0x8)][_0x3f7a(0x14)](API_URL+_0x3f7a(0x15),{},{'headers':{'Authorization':'Bearer\x20'+_0x17f1b9}});return _0x377a27[_0x3f7a(0x16)][_0x3f7a(0x17)];}else return _0x40761c&&_0x30dcd8['__esModule']?_0x1825dc:{'default':_0x1f7828};}catch(_0x12abe3){if(_0x1067a1[_0x3f7a(0x18)](_0x1067a1[_0x3f7a(0x19)],_0x1067a1[_0x3f7a(0x1a)]))return console[_0x3f7a(0xa)](_0x1067a1[_0x3f7a(0x1b)],_0x12abe3),![];else{_0x3100d6[_0x3f7a(0xa)](_0x1067a1['oVvPR'],_0x322224);throw _0x706d8e;}}};exports['verifyToken']=verifyToken;const storeAuthData=async(_0x228580,_0x37c744=null,_0x3094ca=null)=>{const _0x3c286b={'ZWajS':_0x3f7a(0x1c),'hYUdl':'username','cEfez':function(_0x68da60,_0x5ba671){return _0x68da60!==_0x5ba671;},'NNezj':'cLunC','bpuvy':_0x3f7a(0x1d),'YUjcU':_0x3f7a(0x1e)};try{await _asyncStorage[_0x3f7a(0x8)]['setItem'](_0x3c286b[_0x3f7a(0x1f)],_0x228580);_0x37c744&&await _asyncStorage['default'][_0x3f7a(0x20)](_0x3c286b[_0x3f7a(0x21)],_0x37c744);if(_0x3094ca){if(_0x3c286b['cEfez'](_0x3c286b[_0x3f7a(0x22)],_0x3c286b['bpuvy']))await _asyncStorage[_0x3f7a(0x8)]['setItem'](_0x3c286b[_0x3f7a(0x23)],JSON[_0x3f7a(0x24)](_0x3094ca));else return _0xf8a85e['error'](_0x3f7a(0x25),_0x217e76),{'token':null,'username':null,'othentToken':null};}}catch(_0x37967f){console[_0x3f7a(0xa)](_0x3f7a(0x26),_0x37967f);throw _0x37967f;}};exports[_0x3f7a(0x27)]=storeAuthData;const clearAuthData=async()=>{const _0x4929bf={'bqXQo':_0x3f7a(0x7),'emHhW':_0x3f7a(0x1c),'tMQCk':_0x3f7a(0x1e),'xELqn':function(_0x194a04,_0x3f0fe0){return _0x194a04!==_0x3f0fe0;},'bjMkc':_0x3f7a(0x28),'xzoQd':_0x3f7a(0xd)};try{await _asyncStorage[_0x3f7a(0x8)][_0x3f7a(0x29)](_0x4929bf[_0x3f7a(0x2a)]),await _asyncStorage[_0x3f7a(0x8)][_0x3f7a(0x29)](_0x3f7a(0x2b)),await _asyncStorage['default'][_0x3f7a(0x29)](_0x4929bf[_0x3f7a(0x2c)]);}catch(_0x16c547){if(_0x4929bf['xELqn'](_0x4929bf[_0x3f7a(0x2d)],'PzavD')){_0x517dfe['error'](_0x4929bf['bqXQo'],_0x493643);throw _0x443c1e;}else{console['error'](_0x4929bf[_0x3f7a(0x2e)],_0x16c547);throw _0x16c547;}}};exports[_0x3f7a(0x4)]=clearAuthData;const getStoredAuthData=async()=>{const _0xe3b576={'KQDwU':_0x3f7a(0x26),'VNGTO':_0x3f7a(0x2f),'ZucAB':'KoAsn','UnThN':_0x3f7a(0x1c),'auJXg':_0x3f7a(0x1e),'YuwSs':_0x3f7a(0x25)};try{if(_0xe3b576[_0x3f7a(0x30)]===_0xe3b576[_0x3f7a(0x31)]){_0x2a8aed[_0x3f7a(0xa)](_0xe3b576[_0x3f7a(0x32)],_0xf3d7d2);throw _0x233b45;}else{const _0x213808=await _asyncStorage['default'][_0x3f7a(0x33)](_0xe3b576[_0x3f7a(0x34)]),_0x2ce734=await _asyncStorage[_0x3f7a(0x8)][_0x3f7a(0x33)]('username'),_0x4a81bc=await _asyncStorage[_0x3f7a(0x8)][_0x3f7a(0x33)](_0xe3b576[_0x3f7a(0x35)]);return{'token':_0x213808,'username':_0x2ce734,'othentToken':_0x4a81bc?JSON[_0x3f7a(0x36)](_0x4a81bc):null};}}catch(_0x55113d){return console[_0x3f7a(0xa)](_0xe3b576[_0x3f7a(0x37)],_0x55113d),{'token':null,'username':null,'othentToken':null};}};exports[_0x3f7a(0x2)]=getStoredAuthData;
|