@onairos/react-native 3.7.0 → 3.7.1

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.
Files changed (232) hide show
  1. package/lib/commonjs/api/index.js +1 -1
  2. package/lib/commonjs/assets/icons/netflix.png +0 -0
  3. package/lib/commonjs/assets/images/netflix.png +0 -0
  4. package/lib/commonjs/components/BodyText.js +1 -1
  5. package/lib/commonjs/components/BrandMark.js +1 -1
  6. package/lib/commonjs/components/CodeInput.js +1 -1
  7. package/lib/commonjs/components/EmailInput.js +1 -1
  8. package/lib/commonjs/components/GoogleButton.js +1 -1
  9. package/lib/commonjs/components/HeadingGroup.js +1 -1
  10. package/lib/commonjs/components/LLMDataInputModal.js +1 -1
  11. package/lib/commonjs/components/ModalHeader.js +1 -1
  12. package/lib/commonjs/components/ModalSheet.js +1 -1
  13. package/lib/commonjs/components/Onairos.js +1 -1
  14. package/lib/commonjs/components/OnairosButton.js +1 -1
  15. package/lib/commonjs/components/OnairosSignInButton.js +1 -1
  16. package/lib/commonjs/components/Overlay.js +1 -1
  17. package/lib/commonjs/components/PersonaImage.js +1 -1
  18. package/lib/commonjs/components/PersonaLoadingScreen.js +1 -1
  19. package/lib/commonjs/components/PersonalizationConsentScreen.js +1 -1
  20. package/lib/commonjs/components/PinCreationScreen.js +1 -1
  21. package/lib/commonjs/components/PinInput.js +1 -1
  22. package/lib/commonjs/components/PlatformConnectorsStep.js +1 -1
  23. package/lib/commonjs/components/PlatformList.js +1 -1
  24. package/lib/commonjs/components/PlatformToggle.js +1 -1
  25. package/lib/commonjs/components/PrimaryButton.js +1 -1
  26. package/lib/commonjs/components/SignInMatchAnimation.js +1 -1
  27. package/lib/commonjs/components/SignInStep.js +1 -1
  28. package/lib/commonjs/components/UniversalOnboarding.js +1 -1
  29. package/lib/commonjs/components/VerificationStep.js +1 -1
  30. package/lib/commonjs/components/WelcomeScreen.js +1 -1
  31. package/lib/commonjs/components/icons/Basicproficon.js +1 -1
  32. package/lib/commonjs/components/icons/Basicprofile.js +1 -1
  33. package/lib/commonjs/components/icons/Checkbox.js +1 -1
  34. package/lib/commonjs/components/icons/Checkmark.js +1 -1
  35. package/lib/commonjs/components/icons/Contentanalysis.js +1 -1
  36. package/lib/commonjs/components/icons/Contenticon.js +1 -1
  37. package/lib/commonjs/components/icons/EnochE.js +1 -1
  38. package/lib/commonjs/components/icons/Personalityicon.js +1 -1
  39. package/lib/commonjs/components/icons/Personalityprofile.js +1 -1
  40. package/lib/commonjs/components/icons/Personalitytraits.js +1 -1
  41. package/lib/commonjs/components/icons/Userpreferences.js +1 -1
  42. package/lib/commonjs/components/icons/index.js +1 -1
  43. package/lib/commonjs/components/onboarding/OAuthWebView.js +1 -1
  44. package/lib/commonjs/components/onboarding/OnboardingHeader.js +1 -1
  45. package/lib/commonjs/components/onboarding/PinInput.js +1 -1
  46. package/lib/commonjs/components/onboarding/PlatformConnector.js +1 -1
  47. package/lib/commonjs/config/api.js +1 -1
  48. package/lib/commonjs/constants/index.js +1 -1
  49. package/lib/commonjs/context/AuthContext.js +1 -1
  50. package/lib/commonjs/hooks/useConnectedAccounts.js +1 -1
  51. package/lib/commonjs/hooks/useConnections.js +1 -1
  52. package/lib/commonjs/hooks/useCredentials.js +1 -1
  53. package/lib/commonjs/hooks/useUserConnections.js +1 -1
  54. package/lib/commonjs/index.js +1 -1
  55. package/lib/commonjs/services/apiClient.js +1 -1
  56. package/lib/commonjs/services/biometricPinService.js +1 -1
  57. package/lib/commonjs/services/chatGPTConversationExtractor.js +1 -1
  58. package/lib/commonjs/services/chatGPTConversationService.js +1 -1
  59. package/lib/commonjs/services/claudeConversationExtractor.js +1 -1
  60. package/lib/commonjs/services/claudeConversationService.js +1 -1
  61. package/lib/commonjs/services/connectedAccountsService.js +1 -1
  62. package/lib/commonjs/services/googleAuthService.js +1 -1
  63. package/lib/commonjs/services/hingeDataExtractor.js +1 -1
  64. package/lib/commonjs/services/hingeDataService.js +1 -1
  65. package/lib/commonjs/services/imageCompressionService.js +1 -1
  66. package/lib/commonjs/services/instagramDataExtractor.js +1 -1
  67. package/lib/commonjs/services/instagramDataService.js +1 -1
  68. package/lib/commonjs/services/jwtStorageService.js +1 -1
  69. package/lib/commonjs/services/linkedinDOMExtractor.js +1 -1
  70. package/lib/commonjs/services/linkedinProfileService.js +1 -1
  71. package/lib/commonjs/services/linkedinScrapingService.js +1 -1
  72. package/lib/commonjs/services/llmDataStorage.js +1 -1
  73. package/lib/commonjs/services/mobileTrainingService.js +1 -1
  74. package/lib/commonjs/services/netflixDataExtractor.js +1 -1
  75. package/lib/commonjs/services/netflixDataService.js +1 -1
  76. package/lib/commonjs/services/pinEncryptionService.js +1 -1
  77. package/lib/commonjs/services/pinStorageUtils.js +1 -1
  78. package/lib/commonjs/services/platformAuthService.js +1 -1
  79. package/lib/commonjs/services/sephoraDataExtractor.js +1 -1
  80. package/lib/commonjs/services/sephoraDataService.js +1 -1
  81. package/lib/commonjs/services/spotifyDataExtractor.js +1 -1
  82. package/lib/commonjs/services/spotifyDataService.js +1 -1
  83. package/lib/commonjs/services/storageService.js +1 -1
  84. package/lib/commonjs/services/telegramDataExtractor.js +1 -1
  85. package/lib/commonjs/services/telegramDataService.js +1 -1
  86. package/lib/commonjs/services/trainingApiHelpers.js +1 -1
  87. package/lib/commonjs/services/userConnectionsService.js +1 -1
  88. package/lib/commonjs/services/youtubeMigrationService.js +1 -1
  89. package/lib/commonjs/theme/index.js +1 -1
  90. package/lib/commonjs/types/index.js +1 -1
  91. package/lib/commonjs/types.js +1 -1
  92. package/lib/commonjs/utils/Portal.js +1 -1
  93. package/lib/commonjs/utils/api.js +1 -1
  94. package/lib/commonjs/utils/assetRegistry.js +1 -1
  95. package/lib/commonjs/utils/auth.js +1 -1
  96. package/lib/commonjs/utils/connectorTests.js +1 -1
  97. package/lib/commonjs/utils/crypto.js +1 -1
  98. package/lib/commonjs/utils/debugHelper.js +1 -1
  99. package/lib/commonjs/utils/encryption.js +1 -1
  100. package/lib/commonjs/utils/eventUtils.js +1 -1
  101. package/lib/commonjs/utils/haptics.js +1 -1
  102. package/lib/commonjs/utils/imagePreloader.js +1 -1
  103. package/lib/commonjs/utils/networkDiagnostics.js +1 -1
  104. package/lib/commonjs/utils/onairosApi.js +1 -1
  105. package/lib/commonjs/utils/programmaticFlow.js +1 -1
  106. package/lib/commonjs/utils/retryHelper.js +1 -1
  107. package/lib/commonjs/utils/secureStorage.js +1 -1
  108. package/lib/commonjs/utils/webviewScripts/chatgpt.js +1 -1
  109. package/lib/commonjs/utils/webviewScripts/claude.js +1 -1
  110. package/lib/commonjs/utils/webviewScripts/hinge.js +1 -1
  111. package/lib/commonjs/utils/webviewScripts/index.js +1 -1
  112. package/lib/commonjs/utils/webviewScripts/instagram.js +1 -1
  113. package/lib/commonjs/utils/webviewScripts/linkedin.js +1 -1
  114. package/lib/commonjs/utils/webviewScripts/netflix.js +1 -1
  115. package/lib/commonjs/utils/webviewScripts/sephora.js +1 -1
  116. package/lib/commonjs/utils/webviewScripts/spotify.js +1 -1
  117. package/lib/commonjs/utils/webviewScripts/telegram.js +1 -1
  118. package/lib/module/api/index.js +1 -1
  119. package/lib/module/assets/icons/netflix.png +0 -0
  120. package/lib/module/assets/images/netflix.png +0 -0
  121. package/lib/module/components/BodyText.js +1 -1
  122. package/lib/module/components/BrandMark.js +1 -1
  123. package/lib/module/components/CodeInput.js +1 -1
  124. package/lib/module/components/EmailInput.js +1 -1
  125. package/lib/module/components/GoogleButton.js +1 -1
  126. package/lib/module/components/HeadingGroup.js +1 -1
  127. package/lib/module/components/LLMDataInputModal.js +1 -1
  128. package/lib/module/components/ModalHeader.js +1 -1
  129. package/lib/module/components/ModalSheet.js +1 -1
  130. package/lib/module/components/Onairos.js +1 -1
  131. package/lib/module/components/OnairosButton.js +1 -1
  132. package/lib/module/components/OnairosSignInButton.js +1 -1
  133. package/lib/module/components/Overlay.js +1 -1
  134. package/lib/module/components/PersonaImage.js +1 -1
  135. package/lib/module/components/PersonaLoadingScreen.js +1 -1
  136. package/lib/module/components/PersonalizationConsentScreen.js +1 -1
  137. package/lib/module/components/PinCreationScreen.js +1 -1
  138. package/lib/module/components/PinInput.js +1 -1
  139. package/lib/module/components/PlatformConnectorsStep.js +1 -1
  140. package/lib/module/components/PlatformList.js +1 -1
  141. package/lib/module/components/PlatformToggle.js +1 -1
  142. package/lib/module/components/PrimaryButton.js +1 -1
  143. package/lib/module/components/SignInMatchAnimation.js +1 -1
  144. package/lib/module/components/SignInStep.js +1 -1
  145. package/lib/module/components/UniversalOnboarding.js +1 -1
  146. package/lib/module/components/VerificationStep.js +1 -1
  147. package/lib/module/components/WelcomeScreen.js +1 -1
  148. package/lib/module/components/icons/Basicproficon.js +1 -1
  149. package/lib/module/components/icons/Basicprofile.js +1 -1
  150. package/lib/module/components/icons/Checkbox.js +1 -1
  151. package/lib/module/components/icons/Checkmark.js +1 -1
  152. package/lib/module/components/icons/Contentanalysis.js +1 -1
  153. package/lib/module/components/icons/Contenticon.js +1 -1
  154. package/lib/module/components/icons/EnochE.js +1 -1
  155. package/lib/module/components/icons/Personalityicon.js +1 -1
  156. package/lib/module/components/icons/Personalityprofile.js +1 -1
  157. package/lib/module/components/icons/Personalitytraits.js +1 -1
  158. package/lib/module/components/icons/Userpreferences.js +1 -1
  159. package/lib/module/components/onboarding/OAuthWebView.js +1 -1
  160. package/lib/module/components/onboarding/OnboardingHeader.js +1 -1
  161. package/lib/module/components/onboarding/PinInput.js +1 -1
  162. package/lib/module/components/onboarding/PlatformConnector.js +1 -1
  163. package/lib/module/config/api.js +1 -1
  164. package/lib/module/constants/index.js +1 -1
  165. package/lib/module/context/AuthContext.js +1 -1
  166. package/lib/module/hooks/useConnectedAccounts.js +1 -1
  167. package/lib/module/hooks/useConnections.js +1 -1
  168. package/lib/module/hooks/useCredentials.js +1 -1
  169. package/lib/module/hooks/useUserConnections.js +1 -1
  170. package/lib/module/index.js +1 -1
  171. package/lib/module/services/apiClient.js +1 -1
  172. package/lib/module/services/biometricPinService.js +1 -1
  173. package/lib/module/services/chatGPTConversationExtractor.js +1 -1
  174. package/lib/module/services/chatGPTConversationService.js +1 -1
  175. package/lib/module/services/claudeConversationExtractor.js +1 -1
  176. package/lib/module/services/claudeConversationService.js +1 -1
  177. package/lib/module/services/connectedAccountsService.js +1 -1
  178. package/lib/module/services/googleAuthService.js +1 -1
  179. package/lib/module/services/hingeDataExtractor.js +1 -1
  180. package/lib/module/services/hingeDataService.js +1 -1
  181. package/lib/module/services/imageCompressionService.js +1 -1
  182. package/lib/module/services/instagramDataExtractor.js +1 -1
  183. package/lib/module/services/instagramDataService.js +1 -1
  184. package/lib/module/services/jwtStorageService.js +1 -1
  185. package/lib/module/services/linkedinDOMExtractor.js +1 -1
  186. package/lib/module/services/linkedinProfileService.js +1 -1
  187. package/lib/module/services/linkedinScrapingService.js +1 -1
  188. package/lib/module/services/llmDataStorage.js +1 -1
  189. package/lib/module/services/mobileTrainingService.js +1 -1
  190. package/lib/module/services/netflixDataExtractor.js +1 -1
  191. package/lib/module/services/netflixDataService.js +1 -1
  192. package/lib/module/services/pinEncryptionService.js +1 -1
  193. package/lib/module/services/pinStorageUtils.js +1 -1
  194. package/lib/module/services/platformAuthService.js +1 -1
  195. package/lib/module/services/sephoraDataExtractor.js +1 -1
  196. package/lib/module/services/sephoraDataService.js +1 -1
  197. package/lib/module/services/spotifyDataExtractor.js +1 -1
  198. package/lib/module/services/spotifyDataService.js +1 -1
  199. package/lib/module/services/storageService.js +1 -1
  200. package/lib/module/services/telegramDataExtractor.js +1 -1
  201. package/lib/module/services/telegramDataService.js +1 -1
  202. package/lib/module/services/trainingApiHelpers.js +1 -1
  203. package/lib/module/services/userConnectionsService.js +1 -1
  204. package/lib/module/services/youtubeMigrationService.js +1 -1
  205. package/lib/module/theme/index.js +1 -1
  206. package/lib/module/types.js +1 -1
  207. package/lib/module/utils/Portal.js +1 -1
  208. package/lib/module/utils/api.js +1 -1
  209. package/lib/module/utils/assetRegistry.js +1 -1
  210. package/lib/module/utils/auth.js +1 -1
  211. package/lib/module/utils/connectorTests.js +1 -1
  212. package/lib/module/utils/crypto.js +1 -1
  213. package/lib/module/utils/debugHelper.js +1 -1
  214. package/lib/module/utils/encryption.js +1 -1
  215. package/lib/module/utils/eventUtils.js +1 -1
  216. package/lib/module/utils/haptics.js +1 -1
  217. package/lib/module/utils/networkDiagnostics.js +1 -1
  218. package/lib/module/utils/onairosApi.js +1 -1
  219. package/lib/module/utils/programmaticFlow.js +1 -1
  220. package/lib/module/utils/retryHelper.js +1 -1
  221. package/lib/module/utils/secureStorage.js +1 -1
  222. package/lib/module/utils/webviewScripts/chatgpt.js +1 -1
  223. package/lib/module/utils/webviewScripts/claude.js +1 -1
  224. package/lib/module/utils/webviewScripts/hinge.js +1 -1
  225. package/lib/module/utils/webviewScripts/index.js +1 -1
  226. package/lib/module/utils/webviewScripts/instagram.js +1 -1
  227. package/lib/module/utils/webviewScripts/linkedin.js +1 -1
  228. package/lib/module/utils/webviewScripts/netflix.js +1 -1
  229. package/lib/module/utils/webviewScripts/sephora.js +1 -1
  230. package/lib/module/utils/webviewScripts/spotify.js +1 -1
  231. package/lib/module/utils/webviewScripts/telegram.js +1 -1
  232. package/package.json +1 -1
@@ -1 +1 @@
1
- import{getAuthToken,getUserProfile,ensureAuthentication}from'./authService';import AsyncStorage from'@react-native-async-storage/async-storage';import{API_CONFIG}from'../config/api';const getUserIdWithFallbacks=async()=>{const _0x574110={'UuAVK':_0x123d(0x0),'ZGEVj':_0x123d(0x1),'sleIZ':_0x123d(0x2),'XYnya':_0x123d(0x3),'zIsfz':'uploadProfilePicture\x20has\x20been\x20removed\x20from\x20SDK.\x20Consuming\x20apps\x20should\x20call\x20the\x20Enoch\x20API\x20directly.','zncvb':_0x123d(0x4),'BgqsI':_0x123d(0x5),'WbsOW':_0x123d(0x6),'Sdkaj':_0x123d(0x7),'dLCzC':_0x123d(0x8),'YHusq':function(_0x5c4f2b){return _0x5c4f2b();},'yYfgK':function(_0x10aed6,_0x46de88){return _0x10aed6!==_0x46de88;},'Lwbwy':function(_0x561e25,_0x3cce3d){return _0x561e25!==_0x3cce3d;},'kplEW':_0x123d(0x9),'MzoQm':'yuzwz','fyyoZ':'mrpzC','LbcXh':_0x123d(0xa),'tbCOt':function(_0x558084,_0x50416e){return _0x558084===_0x50416e;},'wyTvn':_0x123d(0xb),'NidFk':_0x123d(0xc),'wUTUQ':function(_0x3a3129,_0x4fe03d){return _0x3a3129>_0x4fe03d;},'MgTlA':_0x123d(0xd),'IUcQq':_0x123d(0xe),'DPkjx':_0x123d(0xf),'eDCXb':'✅\x20[USER\x20ID]\x20Got\x20username\x20from\x20AsyncStorage\x20(backend\x20supports\x20usernames):','ZUuzY':'⚠️\x20[USER\x20ID]\x20Invalid\x20stored\x20username\x20found:','MnZvX':function(_0x211604,_0x5ddcea){return _0x211604>_0x5ddcea;},'TFAAE':_0x123d(0x10),'HnZgv':function(_0xbe47a7,_0x61890e){return _0xbe47a7!==_0x61890e;},'VxJMa':_0x123d(0x11),'navft':_0x123d(0x12),'UEMNE':_0x123d(0x13),'OBtPY':_0x123d(0x14)};try{if(_0x123d(0x15)===_0x574110[_0x123d(0x16)])return _0x4d990b[_0x123d(0x17)](_0x574110['UuAVK'],_0x1f841a),_0x2d8981[_0x123d(0x17)](_0x574110[_0x123d(0x18)],_0x320665[_0x123d(0x19)](_0x1eae5c,_0x59c7d8['getOwnPropertyNames'](_0x3f0e99))),[];else{console[_0x123d(0x17)](_0x574110[_0x123d(0x1a)]);try{const _0x1900ed=await _0x574110[_0x123d(0x1b)](getUserProfile);if(_0x574110[_0x123d(0x1c)](_0x1900ed,null)&&_0x574110[_0x123d(0x1d)](_0x1900ed,void 0x0)&&_0x1900ed['id']&&_0x1900ed['id']!==_0x574110['kplEW'])return _0x574110[_0x123d(0x1e)]===_0x574110[_0x123d(0x1e)]?(console[_0x123d(0x17)](_0x574110[_0x123d(0x1f)],_0x1900ed['id']),_0x1900ed['id']):(_0x25d134['warn'](_0x574110[_0x123d(0x20)]),_0x6bef6b['warn'](_0x574110[_0x123d(0x21)]),{'success':![],'error':_0x574110[_0x123d(0x22)]});else{if(_0x574110[_0x123d(0x1c)](_0x574110[_0x123d(0x23)],_0x123d(0x24)))console[_0x123d(0x25)](_0x574110['LbcXh'],_0x574110[_0x123d(0x26)](_0x1900ed,null)||_0x574110[_0x123d(0x26)](_0x1900ed,void 0x0)?void 0x0:_0x1900ed['id']);else{const _0x4255c9=_0x56f389['connections'][_0x123d(0x27)](_0x52db27);return _0x2bb9bb[_0x123d(0x17)](_0x574110[_0x123d(0x28)],_0x4255c9[_0x123d(0x29)]),_0x4255c9;}}}catch(_0x5aaa18){if(_0x574110[_0x123d(0x1d)](_0x574110[_0x123d(0x2a)],_0x123d(0xb)))return _0x4acedd['log'](_0x574110[_0x123d(0x1f)],_0x1c3be0['id']),_0x3ca218['id'];else console['warn'](_0x123d(0x2b),_0x5aaa18);}const _0x59e073=await AsyncStorage['getItem'](_0x574110['NidFk']);if(_0x59e073&&_0x574110[_0x123d(0x1d)](_0x59e073,_0x123d(0x2c))&&_0x59e073!==_0x574110['kplEW']&&_0x574110['wUTUQ'](_0x59e073[_0x123d(0x29)],0xa))return _0x574110[_0x123d(0x2d)]!==_0x574110[_0x123d(0x2d)]?(_0x3ff605[_0x123d(0x2e)]('❌\x20[USER\x20ID]\x20Error\x20getting\x20user\x20identifier:',_0x568019),null):(console[_0x123d(0x17)](_0x574110[_0x123d(0x2f)],_0x59e073),_0x59e073);else _0x59e073&&console[_0x123d(0x25)](_0x574110[_0x123d(0x30)],_0x59e073);const _0x466403=await AsyncStorage[_0x123d(0x31)]('onairos_username');if(_0x466403&&_0x466403[_0x123d(0x29)]>0x2&&_0x574110[_0x123d(0x1c)](_0x466403,_0x123d(0x2c)))return console['log'](_0x574110['eDCXb'],_0x466403),_0x466403;else _0x466403&&console[_0x123d(0x25)](_0x574110[_0x123d(0x32)],_0x466403);const _0x5b0e20=await AsyncStorage[_0x123d(0x31)]('user_email');if(_0x5b0e20&&_0x5b0e20['includes']('@')&&_0x574110[_0x123d(0x33)](_0x5b0e20['length'],0x5))return console['log']('✅\x20[USER\x20ID]\x20Got\x20email\x20from\x20AsyncStorage\x20(backend\x20supports\x20usernames):',_0x5b0e20),_0x5b0e20;else _0x5b0e20&&console[_0x123d(0x25)](_0x574110[_0x123d(0x34)],_0x5b0e20);try{const _0x3bc67b=await _0x574110[_0x123d(0x1b)](getAuthToken);_0x3bc67b&&_0x3bc67b['split']('.')['length']===0x3&&(_0x574110[_0x123d(0x35)](_0x574110[_0x123d(0x36)],_0x574110[_0x123d(0x36)])?_0x23af06['warn'](_0x574110[_0x123d(0x37)],_0x1e0633):console['log'](_0x574110[_0x123d(0x38)]));}catch(_0xb8f6c0){console[_0x123d(0x25)](_0x123d(0x6),_0xb8f6c0);}return console[_0x123d(0x2e)](_0x574110[_0x123d(0x39)]),null;}}catch(_0x483a09){return console[_0x123d(0x2e)](_0x574110['OBtPY'],_0x483a09),null;}};import{PERSONA_IMAGES}from'../utils/assetRegistry';const samImage=PERSONA_IMAGES['level1'],anandImage=PERSONA_IMAGES['level2'],chrisImage=PERSONA_IMAGES[_0x123d(0x3a)],katieImage=PERSONA_IMAGES[_0x123d(0x3b)],yanniImage=PERSONA_IMAGES[_0x123d(0x3c)],API_BASE_URL=API_CONFIG[_0x123d(0x3d)],transformAPIConnection=_0x2b5be9=>{const _0x1099ac={'xwPDz':_0x123d(0x3e),'RokPB':function(_0x43db98,_0x21d899){return _0x43db98===_0x21d899;},'DpkgI':function(_0x48b3e3,_0x54fe6f){return _0x48b3e3(_0x54fe6f);},'RAalI':function(_0x5ad25a,_0x480717){return _0x5ad25a(_0x480717);},'RFIEw':function(_0x32752b,_0xe5ef1f){return _0x32752b*_0xe5ef1f;},'AWTka':_0x123d(0x3f),'mvyZO':_0x123d(0x40),'tkodY':_0x123d(0x41),'DPmTC':function(_0x3d2ff7,_0x236d29){return _0x3d2ff7===_0x236d29;},'bpGVh':function(_0x40604f,_0x40afd2){return _0x40604f===_0x40afd2;}};var _0x3ccb44,_0x395db1;return console[_0x123d(0x17)](_0x1099ac[_0x123d(0x42)],{'id':_0x2b5be9['id'],'name':_0x2b5be9[_0x123d(0x43)],'description':_0x2b5be9[_0x123d(0x44)],'hasPhoto':!!_0x2b5be9[_0x123d(0x45)],'photoLength':(_0x3ccb44=_0x2b5be9['photo'])===null||_0x1099ac['RokPB'](_0x3ccb44,void 0x0)?void 0x0:_0x3ccb44[_0x123d(0x29)],'interests':_0x2b5be9['interests'],'sharedPassions':_0x2b5be9[_0x123d(0x46)],'complementaryQualities':_0x2b5be9[_0x123d(0x47)],'compatibility':_0x2b5be9['compatibility']}),{'id':_0x1099ac[_0x123d(0x48)](parseInt,_0x2b5be9['id'])||_0x1099ac[_0x123d(0x49)](parseInt,_0x2b5be9[_0x123d(0x4a)]||'')||_0x1099ac[_0x123d(0x4b)](Math['random'](),0x3e8),'name':_0x2b5be9[_0x123d(0x43)]||_0x1099ac['AWTka'],'description':_0x2b5be9[_0x123d(0x44)]||_0x1099ac[_0x123d(0x4c)],'photo':_0x2b5be9[_0x123d(0x45)]||'','bio':_0x2b5be9[_0x123d(0x4d)]||'','interests':_0x2b5be9[_0x123d(0x4e)]||[],'mutualConnections':_0x2b5be9['mutualConnections']||0x0,'compatibility':_0x2b5be9[_0x123d(0x4f)]||0x0,'conversationStarters':_0x2b5be9[_0x123d(0x50)]||[_0x1099ac[_0x123d(0x51)]],'sharedPassions':_0x2b5be9[_0x123d(0x46)]||[],'complementaryQualities':_0x2b5be9[_0x123d(0x47)]||[],'meaningfulCoincidences':_0x2b5be9[_0x123d(0x52)]||[],'mutualConnectionsList':(_0x1099ac[_0x123d(0x53)](_0x395db1=_0x2b5be9[_0x123d(0x54)],null)||_0x1099ac['bpGVh'](_0x395db1,void 0x0)?void 0x0:_0x395db1[_0x123d(0x27)](_0x4a87d0=>({'name':_0x4a87d0[_0x123d(0x43)],'photo':_0x4a87d0[_0x123d(0x45)],'context':_0x4a87d0['context']})))||[]};};export const getUserConnectionsByUsername=async _0x41aacf=>{const _0x48e12d={'KBtEL':_0x123d(0x3e),'qYuCb':function(_0xefbf93,_0x225409){return _0xefbf93===_0x225409;},'UpNMY':function(_0x59d836,_0x20deef){return _0x59d836(_0x20deef);},'ZGMkN':function(_0x3e75b6,_0x4401fc){return _0x3e75b6*_0x4401fc;},'cBait':_0x123d(0x3f),'nxCFx':_0x123d(0x41),'mdNxd':_0x123d(0x55),'FOoml':_0x123d(0x56),'dKlWy':_0x123d(0x57),'FpynX':_0x123d(0x58),'YulbV':function(_0x322816){return _0x322816();},'IBKoP':_0x123d(0x59),'XfIJx':_0x123d(0x5a),'brXQq':'✅\x20[CONNECTIONS\x20API]\x20Using\x20authenticated\x20request\x20with\x20token:','LdwyE':_0x123d(0x5b),'bzcrM':_0x123d(0x5c),'JCYVi':'✅\x20API\x20connections\x20fetched\x20by\x20username:','wNtfs':function(_0x488656,_0x1bb535){return _0x488656!==_0x1bb535;},'QfmbF':function(_0x543126,_0x3bc997){return _0x543126!==_0x3bc997;},'cHzeA':function(_0x48a33a,_0x36019f){return _0x48a33a>_0x36019f;},'smaIw':'TJAdm','BvAnD':_0x123d(0x4)};try{if(_0x48e12d[_0x123d(0x5d)](_0x48e12d[_0x123d(0x5e)],_0x123d(0x57))){var _0x2518b5,_0x4751c3;console['log'](_0x48e12d[_0x123d(0x5f)],_0x41aacf);const _0x1a7b52=await _0x48e12d[_0x123d(0x60)](getAuthToken);if(!_0x1a7b52)return console[_0x123d(0x25)](_0x48e12d[_0x123d(0x61)]),console[_0x123d(0x25)](_0x48e12d['XfIJx']),[];console[_0x123d(0x17)](_0x48e12d[_0x123d(0x62)],_0x1a7b52['substring'](0x0,0x14)+_0x123d(0x63));const _0x27f015={'success':![],'message':_0x48e12d['LdwyE'],'connections':[],'source':_0x48e12d[_0x123d(0x64)]};console[_0x123d(0x17)](_0x48e12d[_0x123d(0x65)],{'success':_0x27f015['success'],'connectionsCount':((_0x2518b5=_0x27f015[_0x123d(0x66)])===null||_0x48e12d[_0x123d(0x5d)](_0x2518b5,void 0x0)?void 0x0:_0x2518b5[_0x123d(0x29)])||0x0,'source':_0x27f015[_0x123d(0x67)],'firstConnection':_0x48e12d[_0x123d(0x68)](_0x4751c3=_0x27f015[_0x123d(0x66)],null)&&_0x48e12d[_0x123d(0x69)](_0x4751c3,void 0x0)&&_0x4751c3[0x0]?{'id':_0x27f015[_0x123d(0x66)][0x0]['id'],'name':_0x27f015[_0x123d(0x66)][0x0][_0x123d(0x43)],'description':_0x27f015[_0x123d(0x66)][0x0][_0x123d(0x44)]}:null});if(_0x27f015[_0x123d(0x6a)]&&_0x27f015[_0x123d(0x66)]&&_0x48e12d[_0x123d(0x6b)](_0x27f015[_0x123d(0x66)][_0x123d(0x29)],0x0)){if(_0x48e12d[_0x123d(0x69)](_0x48e12d[_0x123d(0x6c)],_0x48e12d['smaIw'])){var _0xb474ce,_0x29fbc9;return _0x25a672[_0x123d(0x17)](_0x48e12d[_0x123d(0x6d)],{'id':_0x364a42['id'],'name':_0x481380[_0x123d(0x43)],'description':_0xb49f68[_0x123d(0x44)],'hasPhoto':!!_0x313ab9['photo'],'photoLength':_0x48e12d['qYuCb'](_0xb474ce=_0x1ecca0[_0x123d(0x45)],null)||_0xb474ce===void 0x0?void 0x0:_0xb474ce[_0x123d(0x29)],'interests':_0x5ea4ab['interests'],'sharedPassions':_0x583923[_0x123d(0x46)],'complementaryQualities':_0x1dd773[_0x123d(0x47)],'compatibility':_0x458d60[_0x123d(0x4f)]}),{'id':_0x48e12d[_0x123d(0x6e)](_0x3a8353,_0x59a8c4['id'])||_0x51d9f8(_0x292d4c[_0x123d(0x4a)]||'')||_0x48e12d[_0x123d(0x6f)](_0x213b69[_0x123d(0x70)](),0x3e8),'name':_0xab92aa['name']||_0x48e12d[_0x123d(0x71)],'description':_0x5b0e8e[_0x123d(0x44)]||'Looking\x20to\x20connect','photo':_0xb4609[_0x123d(0x45)]||'','bio':_0x247013[_0x123d(0x4d)]||'','interests':_0x1da5d8[_0x123d(0x4e)]||[],'mutualConnections':_0x3382d6[_0x123d(0x72)]||0x0,'compatibility':_0x5848de[_0x123d(0x4f)]||0x0,'conversationStarters':_0x495406[_0x123d(0x50)]||[_0x48e12d['nxCFx']],'sharedPassions':_0x2db63e['sharedPassions']||[],'complementaryQualities':_0x44dc50[_0x123d(0x47)]||[],'meaningfulCoincidences':_0x17acf4[_0x123d(0x52)]||[],'mutualConnectionsList':((_0x29fbc9=_0x10a0c1[_0x123d(0x54)])===null||_0x48e12d[_0x123d(0x5d)](_0x29fbc9,void 0x0)?void 0x0:_0x29fbc9[_0x123d(0x27)](_0x353622=>({'name':_0x353622['name'],'photo':_0x353622[_0x123d(0x45)],'context':_0x353622['context']})))||[]};}else{const _0x114ff0=_0x27f015[_0x123d(0x66)]['map'](transformAPIConnection);return console['log'](_0x48e12d[_0x123d(0x73)],_0x114ff0[_0x123d(0x29)]),_0x114ff0;}}return[];}else return _0x1c340e[_0x123d(0x17)](_0x48e12d[_0x123d(0x74)],_0x42781a),_0x683d10[_0x123d(0x17)](_0x48e12d[_0x123d(0x75)],_0x30bf3c[_0x123d(0x19)](_0x456c9f,_0x434f48[_0x123d(0x76)](_0x113164))),[];}catch(_0x22c239){return console['log'](_0x123d(0x55),_0x22c239),console[_0x123d(0x17)](_0x48e12d[_0x123d(0x75)],JSON[_0x123d(0x19)](_0x22c239,Object['getOwnPropertyNames'](_0x22c239))),[];}};function _0x123d(_0x3b3686,_0x123d00){_0x3b3686=_0x3b3686-0x0;const _0x4eba19=_0x3b36();let _0x25bf44=_0x4eba19[_0x3b3686];return _0x25bf44;}export const getUserConnectionsByUserId=async _0x7a611d=>{const _0x3002f0={'BeMad':_0x123d(0x77),'upTsA':function(_0x1e9b5a,_0x86d3bf){return _0x1e9b5a!==_0x86d3bf;},'wpjMp':_0x123d(0x78),'vFWen':_0x123d(0x79),'AMxwn':function(_0x274f00){return _0x274f00();},'yXrDf':function(_0x33fa51,_0xa0d42){return _0x33fa51===_0xa0d42;},'xkkIi':_0x123d(0x7a),'bRxxL':_0x123d(0x7b),'FcGLd':_0x123d(0x7c),'oczSz':_0x123d(0x5b),'YNLCE':_0x123d(0x5c),'YEVyO':_0x123d(0x7d),'uIoJd':function(_0x3e741f,_0x537774){return _0x3e741f===_0x537774;},'UPOmo':function(_0xcfd594,_0x36cc31){return _0xcfd594>_0x36cc31;},'Nfgyn':'🔄\x20Transformed\x20connections\x20by\x20userId:','KmZde':_0x123d(0x1)};try{if(_0x3002f0['upTsA'](_0x123d(0x7e),_0x3002f0[_0x123d(0x7f)])){var _0x1c5fa0,_0xe21ae6;console[_0x123d(0x17)](_0x3002f0[_0x123d(0x80)],_0x7a611d);const _0x21c1a8=await _0x3002f0[_0x123d(0x81)](getAuthToken);if(!_0x21c1a8)return _0x3002f0[_0x123d(0x82)](_0x3002f0[_0x123d(0x83)],_0x3002f0[_0x123d(0x83)])?(console['warn'](_0x3002f0[_0x123d(0x84)]),[]):(_0x14ea1e[_0x123d(0x17)](_0x3002f0[_0x123d(0x85)],_0x10b6fc[_0x123d(0x29)]),_0x2ce449);console[_0x123d(0x17)](_0x3002f0[_0x123d(0x86)],_0x21c1a8[_0x123d(0x87)](0x0,0x14)+_0x123d(0x63));const _0x3b651d={'success':![],'message':_0x3002f0[_0x123d(0x88)],'connections':[],'source':_0x3002f0[_0x123d(0x89)]};console['log'](_0x3002f0[_0x123d(0x8a)],{'success':_0x3b651d[_0x123d(0x6a)],'connectionsCount':(_0x3002f0[_0x123d(0x8b)](_0x1c5fa0=_0x3b651d[_0x123d(0x66)],null)||_0x1c5fa0===void 0x0?void 0x0:_0x1c5fa0['length'])||0x0,'source':_0x3b651d[_0x123d(0x67)],'firstConnection':(_0xe21ae6=_0x3b651d[_0x123d(0x66)])!==null&&_0xe21ae6!==void 0x0&&_0xe21ae6[0x0]?{'id':_0x3b651d[_0x123d(0x66)][0x0]['id'],'name':_0x3b651d['connections'][0x0][_0x123d(0x43)],'description':_0x3b651d['connections'][0x0][_0x123d(0x44)]}:null});if(_0x3b651d[_0x123d(0x6a)]&&_0x3b651d[_0x123d(0x66)]&&_0x3002f0[_0x123d(0x8c)](_0x3b651d[_0x123d(0x66)]['length'],0x0)){const _0x2ae267=_0x3b651d['connections'][_0x123d(0x27)](transformAPIConnection);return console[_0x123d(0x17)](_0x3002f0[_0x123d(0x8d)],_0x2ae267[_0x123d(0x29)]),_0x2ae267;}return[];}else _0x20c6fa[_0x123d(0x25)](_0x123d(0xf),_0x2d190e);}catch(_0x1681cc){return console['log']('❌\x20Error\x20fetching\x20connections\x20by\x20userId:',_0x1681cc),console[_0x123d(0x17)](_0x3002f0[_0x123d(0x8e)],JSON[_0x123d(0x19)](_0x1681cc,Object['getOwnPropertyNames'](_0x1681cc))),[];}};function _0x3b36(){const _0xd6e5a6=['❌\x20Error\x20fetching\x20connections\x20by\x20userId:','❌\x20[NETWORK\x20ERROR\x20FALLBACK]\x20Full\x20error\x20details:','⚠️\x20[DEPRECATED]\x20uploadProfilePicture\x20has\x20been\x20removed\x20from\x20SDK','ℹ️\x20Consuming\x20apps\x20should\x20call\x20/enoch/users/{id}/profile-picture/base64\x20directly','🔄\x20Transformed\x20connections\x20by\x20username:','✅\x20[USER\x20ID]\x20Got\x20user\x20ID\x20from\x20getUserProfile:','⚠️\x20[USER\x20ID]\x20JWT\x20token\x20access\x20failed:','EnIbn','🔍\x20[USER\x20ID]\x20Attempting\x20to\x20get\x20user\x20identifier\x20with\x20multiple\x20methods...','fallback_user','⚠️\x20[USER\x20ID]\x20getUserProfile\x20returned\x20invalid/fallback\x20ID:','ajnDd','user_id','fOFaK','✅\x20[USER\x20ID]\x20Got\x20user\x20ID\x20from\x20AsyncStorage:','⚠️\x20[USER\x20ID]\x20Invalid\x20stored\x20user\x20ID\x20found:','⚠️\x20[USER\x20ID]\x20Invalid\x20stored\x20email\x20found:','JQCAg','🔍\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','❌\x20[USER\x20ID]\x20Error\x20getting\x20user\x20identifier:','OIFhw','Sdkaj','log','ZGEVj','stringify','dLCzC','YHusq','yYfgK','Lwbwy','MzoQm','BgqsI','sleIZ','XYnya','zIsfz','fyyoZ','uJbev','warn','tbCOt','map','zncvb','length','wyTvn','⚠️\x20[USER\x20ID]\x20getUserProfile\x20failed:','marker','MgTlA','error','IUcQq','DPkjx','getItem','ZUuzY','MnZvX','TFAAE','HnZgv','VxJMa','WbsOW','navft','UEMNE','level3','level4','level5','BASE_URL','🔄\x20Transforming\x20API\x20connection:','Unknown\x20User','Looking\x20to\x20connect','Hi!\x20Nice\x20to\x20meet\x20you.','xwPDz','name','description','photo','sharedPassions','complementaryQualities','DpkgI','RAalI','_id','RFIEw','mvyZO','bio','interests','compatibility','conversationStarters','tkodY','meaningfulCoincidences','DPmTC','mutualConnectionsList','❌\x20Error\x20fetching\x20connections\x20by\x20username:','❌\x20[NETWORK\x20ERROR]\x20Full\x20error\x20details:','WoKhi','🔍\x20Fetching\x20connections\x20for\x20username:','⚠️\x20[CONNECTIONS\x20API]\x20No\x20authentication\x20token\x20available\x20for\x20connections\x20request','⚠️\x20[CONNECTIONS\x20API]\x20This\x20may\x20result\x20in\x20limited\x20or\x20cached\x20data\x20from\x20backend','API\x20function\x20not\x20available','mock','qYuCb','dKlWy','FpynX','YulbV','IBKoP','brXQq','...','bzcrM','JCYVi','connections','source','wNtfs','QfmbF','success','cHzeA','smaIw','KBtEL','UpNMY','ZGMkN','random','cBait','mutualConnections','BvAnD','mdNxd','FOoml','getOwnPropertyNames','✅\x20Successfully\x20got\x20connections\x20by\x20user\x20ID:','ZzTyc','🔍\x20Fetching\x20connections\x20for\x20userId:','ifAtm','⚠️\x20[CONNECTIONS\x20API]\x20No\x20authentication\x20token\x20available\x20for\x20user\x20ID\x20connections\x20request','✅\x20[CONNECTIONS\x20API]\x20Using\x20authenticated\x20request\x20with\x20token:','✅\x20API\x20connections\x20fetched\x20by\x20userId:','Ifdmw','wpjMp','vFWen','AMxwn','yXrDf','xkkIi','bRxxL','BeMad','FcGLd','substring','oczSz','YNLCE','YEVyO','uIoJd','UPOmo','Nfgyn','KmZde','✅\x20Successfully\x20got\x20connections\x20by\x20email:','USER_CONNECTIONS','onairos_username','user_email','auth_token','🎯\x20getUserConnections\x20-\x20User\x20profile:','bDlCL','🔄\x20[USER\x20DEBUG]\x20Using\x20stored\x20username\x20as\x20email\x20fallback:','jxarf','FQwoO','🔄\x20[USER\x20DEBUG]\x20Using\x20stored\x20email\x20as\x20fallback:','🔄\x20[USER\x20DEBUG]\x20Using\x20stored\x20user\x20ID\x20as\x20fallback:','Sktxk','⚠️\x20No\x20connections\x20found\x20by\x20email,\x20trying\x20user\x20ID...','RjqZx','⚠️\x20No\x20connections\x20found\x20by\x20user\x20ID','axxhQ','WODSP','deFXV','paJbE','bCHfj','mwRDU','sUiTB','XAEru','gWPoF','BkaUg','email','VLEtP','kmWAM','cYyOx','klALI','dKvNS','KiRke','pUhvd','xlDbq','NjUWE','WCHEL','pkXeN','KyxTG','Eiyhq','DArMt','🎯\x20PRIORITY:\x20Attempting\x20to\x20fetch\x20connections\x20by\x20email\x20(working\x20endpoint):','pigEk','avBzH','hQmoQ','🎯\x20FALLBACK:\x20Attempting\x20to\x20fetch\x20connections\x20by\x20user\x20ID:','ZTJfw','bKeLX','hhXDR','yAuTh','CEvCL','LLmXN','QtgyR','BIjXk'];_0x3b36=function(){return _0xd6e5a6;};return _0x3b36();}export const getUserConnections=async()=>{const _0x71e968={'WCHEL':'✅\x20[USER\x20ID]\x20Got\x20username\x20from\x20AsyncStorage\x20(backend\x20supports\x20usernames):','DArMt':'⚠️\x20[USER\x20ID]\x20Invalid\x20stored\x20email\x20found:','pigEk':_0x123d(0x8f),'WODSP':function(_0x636409,_0x16ec1f){return _0x636409(_0x16ec1f);},'wfmYn':_0x123d(0x90),'rdDKV':'🔍\x20[USER\x20DEBUG]\x20Checking\x20all\x20available\x20user\x20data\x20sources...','deFXV':_0x123d(0x91),'paJbE':_0x123d(0x92),'bCHfj':'user_id','mwRDU':_0x123d(0x93),'sUiTB':function(_0x27560b){return _0x27560b();},'XAEru':_0x123d(0x94),'BkaUg':function(_0x32d884,_0x6cb462){return _0x32d884!==_0x6cb462;},'gWPoF':function(_0x4a0219,_0xb12f0a){return _0x4a0219!==_0xb12f0a;},'qobHk':function(_0x228a31,_0x5bf575){return _0x228a31!==_0x5bf575;},'VLEtP':function(_0x3e200e,_0x559620){return _0x3e200e===_0x559620;},'Vfldu':function(_0x4e9809,_0x5e5569){return _0x4e9809===_0x5e5569;},'kmWAM':function(_0x50f899,_0x4830d2){return _0x50f899===_0x4830d2;},'cYyOx':function(_0x17e68f,_0x2e8c00){return _0x17e68f===_0x2e8c00;},'klALI':function(_0x37b192,_0x37a9b0){return _0x37b192===_0x37a9b0;},'dKvNS':function(_0x88c860,_0x12d2da){return _0x88c860&&_0x12d2da;},'KiRke':_0x123d(0x95),'xngDP':_0x123d(0x96),'pUhvd':function(_0x48c52c,_0x538c62){return _0x48c52c===_0x538c62;},'xlDbq':_0x123d(0x97),'NjUWE':_0x123d(0x98),'pkXeN':_0x123d(0x99),'KyxTG':_0x123d(0x9a),'SStib':function(_0x421a09,_0x1aa36f){return _0x421a09!==_0x1aa36f;},'Eiyhq':_0x123d(0x9b),'yXMWS':function(_0x20ae58,_0x579a5e){return _0x20ae58>_0x579a5e;},'avBzH':_0x123d(0x9c),'Vzdys':function(_0x53d27c,_0x4f0d10){return _0x53d27c!==_0x4f0d10;},'hQmoQ':_0x123d(0x9d),'ZTJfw':function(_0x3f0db0,_0xc90953){return _0x3f0db0(_0xc90953);},'bKeLX':function(_0x5c6823,_0x52a3fc){return _0x5c6823>_0x52a3fc;},'hhXDR':_0x123d(0x77),'yAuTh':_0x123d(0x9e),'CEvCL':'⚠️\x20No\x20user\x20identifier\x20available\x20or\x20no\x20connections\x20found','LLmXN':_0x123d(0x9f)};try{await _0x71e968[_0x123d(0xa0)](ensureAuthentication,_0x71e968['wfmYn']),console[_0x123d(0x17)](_0x71e968['rdDKV']);const _0x421f4e=await AsyncStorage[_0x123d(0x31)](_0x71e968[_0x123d(0xa1)]),_0x3d841a=await AsyncStorage[_0x123d(0x31)](_0x71e968[_0x123d(0xa2)]),_0x14508e=await AsyncStorage[_0x123d(0x31)](_0x71e968[_0x123d(0xa3)]),_0x4a6370=await AsyncStorage[_0x123d(0x31)](_0x71e968[_0x123d(0xa4)]);console[_0x123d(0x17)]('🔍\x20[USER\x20DEBUG]\x20AsyncStorage\x20data:',{'storedUsername':_0x421f4e,'storedEmail':_0x3d841a,'storedUserId':_0x14508e,'hasAuthToken':!!_0x4a6370,'authTokenPreview':_0x4a6370?_0x4a6370[_0x123d(0x87)](0x0,0x14)+_0x123d(0x63):'none'});const _0x4cf02f=await _0x71e968[_0x123d(0xa5)](getUserProfile);console[_0x123d(0x17)](_0x71e968[_0x123d(0xa6)],{'hasId':!!(_0x71e968['BkaUg'](_0x4cf02f,null)&&_0x71e968[_0x123d(0xa7)](_0x4cf02f,void 0x0)&&_0x4cf02f['id']),'hasEmail':!!(_0x71e968[_0x123d(0xa8)](_0x4cf02f,null)&&_0x71e968['qobHk'](_0x4cf02f,void 0x0)&&_0x4cf02f[_0x123d(0xa9)]),'email':_0x71e968[_0x123d(0xaa)](_0x4cf02f,null)||_0x71e968['Vfldu'](_0x4cf02f,void 0x0)?void 0x0:_0x4cf02f[_0x123d(0xa9)],'id':_0x4cf02f===null||_0x71e968[_0x123d(0xaa)](_0x4cf02f,void 0x0)?void 0x0:_0x4cf02f['id']});let _0x39d1fe=_0x71e968[_0x123d(0xab)](_0x4cf02f,null)||_0x4cf02f===void 0x0?void 0x0:_0x4cf02f[_0x123d(0xa9)],_0x4e5ed7=_0x71e968[_0x123d(0xac)](_0x4cf02f,null)||_0x71e968[_0x123d(0xad)](_0x4cf02f,void 0x0)?void 0x0:_0x4cf02f['id'];if(_0x71e968[_0x123d(0xae)](!_0x39d1fe,_0x421f4e)){if(_0x71e968[_0x123d(0xaf)]!==_0x71e968[_0x123d(0xaf)])return _0x497eb6['warn']('⚠️\x20[CONNECTIONS\x20API]\x20No\x20authentication\x20token\x20available\x20for\x20connections\x20request'),_0x4a6fc8[_0x123d(0x25)]('⚠️\x20[CONNECTIONS\x20API]\x20This\x20may\x20result\x20in\x20limited\x20or\x20cached\x20data\x20from\x20backend'),[];else console[_0x123d(0x17)](_0x71e968['xngDP'],_0x421f4e),_0x39d1fe=_0x421f4e;}if(_0x71e968[_0x123d(0xae)](!_0x39d1fe,_0x3d841a)){if(_0x71e968[_0x123d(0xb0)](_0x71e968[_0x123d(0xb1)],_0x71e968[_0x123d(0xb2)]))return _0x25a92a[_0x123d(0x17)](_0x71e968[_0x123d(0xb3)],_0x302e5b),_0xb84b04;else console[_0x123d(0x17)](_0x71e968[_0x123d(0xb4)],_0x3d841a),_0x39d1fe=_0x3d841a;}_0x71e968['dKvNS'](!_0x4e5ed7,_0x14508e)&&(console[_0x123d(0x17)](_0x71e968[_0x123d(0xb5)],_0x14508e),_0x4e5ed7=_0x14508e);console['log']('🎯\x20[USER\x20DEBUG]\x20Final\x20user\x20identifiers\x20to\x20use:',{'userEmail':_0x39d1fe,'userId':_0x4e5ed7,'willTryEmail':!!_0x39d1fe,'willTryUserId':!!_0x4e5ed7});if(_0x39d1fe){if(_0x71e968['SStib'](_0x71e968[_0x123d(0xb6)],_0x71e968[_0x123d(0xb6)]))_0x265b2b['warn'](_0x71e968[_0x123d(0xb7)],_0x5d7f03);else{console['log'](_0x123d(0xb8),_0x39d1fe);const _0x38f923=await _0x71e968[_0x123d(0xa0)](getUserConnectionsByUsername,_0x39d1fe);if(_0x71e968['yXMWS'](_0x38f923['length'],0x0))return console[_0x123d(0x17)](_0x71e968[_0x123d(0xb9)],_0x38f923[_0x123d(0x29)]),_0x38f923;console[_0x123d(0x17)](_0x71e968[_0x123d(0xba)]);}}if(_0x4e5ed7){if(_0x71e968['Vzdys']('tZQGT',_0x71e968[_0x123d(0xbb)])){console[_0x123d(0x17)](_0x123d(0xbc),_0x4e5ed7);const _0x5037a7=await _0x71e968[_0x123d(0xbd)](getUserConnectionsByUserId,_0x4e5ed7);if(_0x71e968[_0x123d(0xbe)](_0x5037a7['length'],0x0))return console[_0x123d(0x17)](_0x71e968[_0x123d(0xbf)],_0x5037a7[_0x123d(0x29)]),_0x5037a7;console['log'](_0x71e968[_0x123d(0xc0)]);}else return _0x5cf77b[_0x123d(0x17)](_0x71e968[_0x123d(0xb9)],_0x576104[_0x123d(0x29)]),_0x40fc00;}return console[_0x123d(0x17)](_0x71e968[_0x123d(0xc1)]),[];}catch(_0x556462){return _0x71e968['Vzdys'](_0x71e968[_0x123d(0xc2)],_0x71e968[_0x123d(0xc2)])?(_0x595049[_0x123d(0x17)]('✅\x20[USER\x20ID]\x20Got\x20email\x20from\x20AsyncStorage\x20(backend\x20supports\x20usernames):',_0x50a928),_0x59ecb1):(console[_0x123d(0x17)]('❌\x20Error\x20in\x20getUserConnections:',_0x556462),[]);}};export const uploadProfilePicture=async(_0x40f561,_0x2b70bc)=>{const _0x250e6c={'QtgyR':_0x123d(0x2),'BIjXk':'uploadProfilePicture\x20has\x20been\x20removed\x20from\x20SDK.\x20Consuming\x20apps\x20should\x20call\x20the\x20Enoch\x20API\x20directly.'};return console['warn'](_0x250e6c[_0x123d(0xc3)]),console['warn']('ℹ️\x20Consuming\x20apps\x20should\x20call\x20/enoch/users/{id}/profile-picture/base64\x20directly'),{'success':![],'error':_0x250e6c[_0x123d(0xc4)]};};
1
+ import{getAuthToken,getUserProfile,ensureAuthentication}from'./authService';import AsyncStorage from'@react-native-async-storage/async-storage';import{API_CONFIG}from'../config/api';const getUserIdWithFallbacks=async()=>{const _0x7ba18d={'snwAi':_0x26ce(0x0),'SugGA':_0x26ce(0x1),'AKRgl':_0x26ce(0x2),'HwagW':_0x26ce(0x3),'cVPkj':'✅\x20[USER\x20ID]\x20Got\x20user\x20ID\x20from\x20AsyncStorage:','tamvZ':_0x26ce(0x4),'tKDkP':'uploadProfilePicture\x20has\x20been\x20removed\x20from\x20SDK.\x20Consuming\x20apps\x20should\x20call\x20the\x20Enoch\x20API\x20directly.','nHzTu':_0x26ce(0x5),'yQNHc':_0x26ce(0x6),'xTics':function(_0xcefec1){return _0xcefec1();},'kfifG':function(_0x9ed0d3,_0x4a8bb7){return _0x9ed0d3!==_0x4a8bb7;},'Zlezx':_0x26ce(0x7),'aFpbV':_0x26ce(0x8),'yPvgE':function(_0x3c7ca0,_0x2af4aa){return _0x3c7ca0===_0x2af4aa;},'ACmHw':function(_0x11b372,_0x196d8e){return _0x11b372!==_0x196d8e;},'mxUcu':'epssz','NCuls':'⚠️\x20[USER\x20ID]\x20getUserProfile\x20failed:','Etxlz':_0x26ce(0x9),'aJwJX':_0x26ce(0xa),'SLBLJ':function(_0x4ea52b,_0x4e427f){return _0x4ea52b>_0x4e427f;},'ytMYR':function(_0xa62606,_0x3d9a21){return _0xa62606===_0x3d9a21;},'KffXz':_0x26ce(0xb),'bzRFP':'cvZJA','uooCF':'⚠️\x20[USER\x20ID]\x20Invalid\x20stored\x20user\x20ID\x20found:','CJVuH':_0x26ce(0xc),'qtevu':_0x26ce(0xd),'rTpSm':_0x26ce(0xe),'PKrKY':function(_0x48f322,_0x4afd3a){return _0x48f322>_0x4afd3a;},'zitSQ':function(_0x52a30b,_0x24d20c){return _0x52a30b===_0x24d20c;},'umcIZ':'gncCp','KDRbM':'✅\x20[USER\x20ID]\x20Got\x20email\x20from\x20AsyncStorage\x20(backend\x20supports\x20usernames):','qtwXW':'DivsC','KOkDF':_0x26ce(0xf),'lNRwY':_0x26ce(0x10),'oCYJe':_0x26ce(0x11),'CAMwN':'LdEeu','LpPVl':_0x26ce(0x12)};try{console[_0x26ce(0x13)](_0x26ce(0x14));try{if(_0x7ba18d[_0x26ce(0x15)]!==_0x7ba18d[_0x26ce(0x15)])return _0x370f2f[_0x26ce(0x16)](_0x26ce(0x17)),[];else{const _0x47aa01=await _0x7ba18d['xTics'](getUserProfile);if(_0x7ba18d[_0x26ce(0x18)](_0x47aa01,null)&&_0x47aa01!==void 0x0&&_0x47aa01['id']&&_0x7ba18d['kfifG'](_0x47aa01['id'],_0x7ba18d[_0x26ce(0x19)]))return console[_0x26ce(0x13)](_0x7ba18d[_0x26ce(0x1a)],_0x47aa01['id']),_0x47aa01['id'];else console[_0x26ce(0x16)](_0x26ce(0x1b),_0x7ba18d[_0x26ce(0x1c)](_0x47aa01,null)||_0x47aa01===void 0x0?void 0x0:_0x47aa01['id']);}}catch(_0x153bdf){_0x7ba18d['ACmHw'](_0x26ce(0x1d),_0x7ba18d['mxUcu'])?_0x27598f['warn'](_0x7ba18d[_0x26ce(0x1e)],_0x309354):console[_0x26ce(0x16)](_0x7ba18d[_0x26ce(0x1f)],_0x153bdf);}const _0x502cfc=await AsyncStorage[_0x26ce(0x20)](_0x7ba18d[_0x26ce(0x21)]);if(_0x502cfc&&_0x7ba18d['ACmHw'](_0x502cfc,_0x7ba18d[_0x26ce(0x22)])&&_0x7ba18d[_0x26ce(0x18)](_0x502cfc,_0x7ba18d[_0x26ce(0x19)])&&_0x7ba18d['SLBLJ'](_0x502cfc[_0x26ce(0x23)],0xa)){if(_0x7ba18d[_0x26ce(0x24)](_0x7ba18d[_0x26ce(0x25)],'pWtNT'))return console['log'](_0x26ce(0x26),_0x502cfc),_0x502cfc;else _0x2e59e1[_0x26ce(0x13)]('🔍\x20[USER\x20ID]\x20JWT\x20token\x20found\x20but\x20no\x20local\x20user\x20identifier\x20-\x20backend\x20should\x20handle\x20via\x20token');}else{if(_0x502cfc){if(_0x7ba18d[_0x26ce(0x24)](_0x7ba18d[_0x26ce(0x27)],_0x7ba18d[_0x26ce(0x27)]))console[_0x26ce(0x16)](_0x7ba18d[_0x26ce(0x28)],_0x502cfc);else return _0x1aef95[_0x26ce(0x13)](_0x7ba18d[_0x26ce(0x29)],_0x159dd1),_0x41d3f3[_0x26ce(0x13)](_0x7ba18d[_0x26ce(0x2a)],_0x3fbcaf['stringify'](_0x1557e2,_0x593ab7[_0x26ce(0x2b)](_0x392251))),[];}}const _0x703d5=await AsyncStorage[_0x26ce(0x20)](_0x26ce(0x2c));if(_0x703d5&&_0x7ba18d[_0x26ce(0x2d)](_0x703d5[_0x26ce(0x23)],0x2)&&_0x7ba18d[_0x26ce(0x18)](_0x703d5,_0x7ba18d['aJwJX'])){if(_0x7ba18d[_0x26ce(0x2e)]!==_0x7ba18d[_0x26ce(0x2e)])_0x4f5e93[_0x26ce(0x16)](_0x7ba18d[_0x26ce(0x2f)],_0x8306b9);else return console[_0x26ce(0x13)](_0x7ba18d['qtevu'],_0x703d5),_0x703d5;}else _0x703d5&&console['warn'](_0x26ce(0x0),_0x703d5);const _0x1369ab=await AsyncStorage[_0x26ce(0x20)](_0x7ba18d[_0x26ce(0x30)]);if(_0x1369ab&&_0x1369ab[_0x26ce(0x31)]('@')&&_0x7ba18d[_0x26ce(0x32)](_0x1369ab[_0x26ce(0x23)],0x5))return _0x7ba18d[_0x26ce(0x33)](_0x7ba18d[_0x26ce(0x34)],_0x26ce(0x35))?(console[_0x26ce(0x13)](_0x7ba18d[_0x26ce(0x36)],_0x1369ab),_0x1369ab):(_0xfbfeb4['log'](_0x7ba18d[_0x26ce(0x37)],_0x4176db),_0x491975);else _0x1369ab&&console[_0x26ce(0x16)](_0x7ba18d['HwagW'],_0x1369ab);try{const _0x47da82=await _0x7ba18d[_0x26ce(0x38)](getAuthToken);if(_0x47da82&&_0x7ba18d[_0x26ce(0x1c)](_0x47da82[_0x26ce(0x39)]('.')['length'],0x3)){if(_0x7ba18d[_0x26ce(0x1c)](_0x7ba18d[_0x26ce(0x3a)],_0x7ba18d[_0x26ce(0x3b)]))return _0x13e03b['warn'](_0x7ba18d['tamvZ']),_0x16f542[_0x26ce(0x16)](_0x26ce(0x3c)),{'success':![],'error':_0x7ba18d[_0x26ce(0x3d)]};else console['log'](_0x7ba18d['lNRwY']);}}catch(_0x4d36e5){console[_0x26ce(0x16)](_0x7ba18d[_0x26ce(0x3e)],_0x4d36e5);}return console['error'](_0x7ba18d['oCYJe']),null;}catch(_0x1ab030){if(_0x7ba18d[_0x26ce(0x3f)]===_0x26ce(0x40))_0x3ffe1a[_0x26ce(0x16)](_0x7ba18d[_0x26ce(0x3e)],_0x2e2234);else return console[_0x26ce(0x41)](_0x7ba18d[_0x26ce(0x42)],_0x1ab030),null;}};import{PERSONA_IMAGES}from'../utils/assetRegistry';const samImage=PERSONA_IMAGES[_0x26ce(0x43)],anandImage=PERSONA_IMAGES[_0x26ce(0x44)],chrisImage=PERSONA_IMAGES[_0x26ce(0x45)],katieImage=PERSONA_IMAGES['level4'],yanniImage=PERSONA_IMAGES[_0x26ce(0x46)],API_BASE_URL=API_CONFIG['BASE_URL'],transformAPIConnection=_0x1770fc=>{const _0x20566a={'fRZkb':'🔄\x20Transforming\x20API\x20connection:','EPQUh':function(_0x1f8bab,_0x548164){return _0x1f8bab===_0x548164;},'FXijE':function(_0x4041a0,_0x56ad1b){return _0x4041a0(_0x56ad1b);},'hhccG':function(_0x54a0de,_0xf63a14){return _0x54a0de*_0xf63a14;},'TpCCT':_0x26ce(0x47),'MGSRI':'Hi!\x20Nice\x20to\x20meet\x20you.','mkiTm':function(_0x38acc2,_0x4e158d){return _0x38acc2===_0x4e158d;}};var _0x16be72,_0x3bd4dc;return console[_0x26ce(0x13)](_0x20566a[_0x26ce(0x48)],{'id':_0x1770fc['id'],'name':_0x1770fc['name'],'description':_0x1770fc[_0x26ce(0x49)],'hasPhoto':!!_0x1770fc['photo'],'photoLength':_0x20566a[_0x26ce(0x4a)](_0x16be72=_0x1770fc[_0x26ce(0x4b)],null)||_0x20566a['EPQUh'](_0x16be72,void 0x0)?void 0x0:_0x16be72[_0x26ce(0x23)],'interests':_0x1770fc[_0x26ce(0x4c)],'sharedPassions':_0x1770fc[_0x26ce(0x4d)],'complementaryQualities':_0x1770fc[_0x26ce(0x4e)],'compatibility':_0x1770fc['compatibility']}),{'id':_0x20566a['FXijE'](parseInt,_0x1770fc['id'])||parseInt(_0x1770fc[_0x26ce(0x4f)]||'')||_0x20566a[_0x26ce(0x50)](Math[_0x26ce(0x51)](),0x3e8),'name':_0x1770fc[_0x26ce(0x52)]||'Unknown\x20User','description':_0x1770fc['description']||_0x20566a[_0x26ce(0x53)],'photo':_0x1770fc[_0x26ce(0x4b)]||'','bio':_0x1770fc[_0x26ce(0x54)]||'','interests':_0x1770fc[_0x26ce(0x4c)]||[],'mutualConnections':_0x1770fc[_0x26ce(0x55)]||0x0,'compatibility':_0x1770fc[_0x26ce(0x56)]||0x0,'conversationStarters':_0x1770fc[_0x26ce(0x57)]||[_0x20566a[_0x26ce(0x58)]],'sharedPassions':_0x1770fc[_0x26ce(0x4d)]||[],'complementaryQualities':_0x1770fc[_0x26ce(0x4e)]||[],'meaningfulCoincidences':_0x1770fc['meaningfulCoincidences']||[],'mutualConnectionsList':(_0x20566a[_0x26ce(0x59)](_0x3bd4dc=_0x1770fc['mutualConnectionsList'],null)||_0x20566a[_0x26ce(0x59)](_0x3bd4dc,void 0x0)?void 0x0:_0x3bd4dc[_0x26ce(0x5a)](_0x352e90=>({'name':_0x352e90['name'],'photo':_0x352e90[_0x26ce(0x4b)],'context':_0x352e90[_0x26ce(0x5b)]})))||[]};};export const getUserConnectionsByUsername=async _0x59acd1=>{const _0x37d260={'JpRDT':_0x26ce(0x5c),'skKsD':function(_0x505080,_0x1efc69){return _0x505080===_0x1efc69;},'jMZxZ':_0x26ce(0x5d),'wluJN':function(_0x1c32b5){return _0x1c32b5();},'fDgAO':_0x26ce(0x5e),'LYAmS':_0x26ce(0x5f),'mSPDK':_0x26ce(0x60),'dyFHP':_0x26ce(0x61),'KvYOL':_0x26ce(0x62),'xexgn':function(_0xc9a758,_0x2814b0){return _0xc9a758===_0x2814b0;},'bqTKG':function(_0x32ce73,_0x5e7c20){return _0x32ce73!==_0x5e7c20;},'zURMs':function(_0x2d11d3,_0x846793){return _0x2d11d3!==_0x846793;},'jvpoC':function(_0x1ddad3,_0x315808){return _0x1ddad3>_0x315808;},'dpzYL':_0x26ce(0x63),'QSPvd':_0x26ce(0x1),'xNUWS':_0x26ce(0x2)};try{if(_0x37d260[_0x26ce(0x64)](_0x26ce(0x65),_0x37d260[_0x26ce(0x66)])){const _0x105ee5=_0x585baa['connections'][_0x26ce(0x5a)](_0x246dcd);return _0x5499e8[_0x26ce(0x13)](_0x37d260['JpRDT'],_0x105ee5['length']),_0x105ee5;}else{var _0x576755,_0xb3095d;console[_0x26ce(0x13)](_0x26ce(0x67),_0x59acd1);const _0xef1d9=await _0x37d260['wluJN'](getAuthToken);if(!_0xef1d9)return console['warn'](_0x37d260['fDgAO']),console[_0x26ce(0x16)](_0x26ce(0x68)),[];console[_0x26ce(0x13)](_0x37d260[_0x26ce(0x69)],_0xef1d9[_0x26ce(0x6a)](0x0,0x14)+_0x26ce(0x6b));const _0x3e489e={'success':![],'message':_0x37d260[_0x26ce(0x6c)],'connections':[],'source':_0x37d260[_0x26ce(0x6d)]};console[_0x26ce(0x13)](_0x37d260['KvYOL'],{'success':_0x3e489e[_0x26ce(0x6e)],'connectionsCount':((_0x576755=_0x3e489e[_0x26ce(0x6f)])===null||_0x37d260[_0x26ce(0x70)](_0x576755,void 0x0)?void 0x0:_0x576755['length'])||0x0,'source':_0x3e489e[_0x26ce(0x71)],'firstConnection':_0x37d260[_0x26ce(0x72)](_0xb3095d=_0x3e489e[_0x26ce(0x6f)],null)&&_0x37d260[_0x26ce(0x73)](_0xb3095d,void 0x0)&&_0xb3095d[0x0]?{'id':_0x3e489e[_0x26ce(0x6f)][0x0]['id'],'name':_0x3e489e[_0x26ce(0x6f)][0x0][_0x26ce(0x52)],'description':_0x3e489e[_0x26ce(0x6f)][0x0][_0x26ce(0x49)]}:null});if(_0x3e489e[_0x26ce(0x6e)]&&_0x3e489e[_0x26ce(0x6f)]&&_0x37d260[_0x26ce(0x74)](_0x3e489e[_0x26ce(0x6f)][_0x26ce(0x23)],0x0)){const _0x4caf73=_0x3e489e[_0x26ce(0x6f)][_0x26ce(0x5a)](transformAPIConnection);return console[_0x26ce(0x13)](_0x37d260[_0x26ce(0x75)],_0x4caf73['length']),_0x4caf73;}return[];}}catch(_0x611142){return console[_0x26ce(0x13)](_0x37d260[_0x26ce(0x76)],_0x611142),console[_0x26ce(0x13)](_0x37d260[_0x26ce(0x77)],JSON[_0x26ce(0x78)](_0x611142,Object[_0x26ce(0x2b)](_0x611142))),[];}};function _0x163a(){const _0x46ca71=['⚠️\x20[USER\x20ID]\x20Invalid\x20stored\x20username\x20found:','❌\x20Error\x20fetching\x20connections\x20by\x20username:','❌\x20[NETWORK\x20ERROR]\x20Full\x20error\x20details:','⚠️\x20[USER\x20ID]\x20Invalid\x20stored\x20email\x20found:','⚠️\x20[DEPRECATED]\x20uploadProfilePicture\x20has\x20been\x20removed\x20from\x20SDK','⚠️\x20[USER\x20ID]\x20JWT\x20token\x20access\x20failed:','PkInm','fallback_user','✅\x20[USER\x20ID]\x20Got\x20user\x20ID\x20from\x20getUserProfile:','user_id','marker','pWtNT','ArWxz','✅\x20[USER\x20ID]\x20Got\x20username\x20from\x20AsyncStorage\x20(backend\x20supports\x20usernames):','user_email','VWVpe','🔍\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','❌\x20[USER\x20ID]\x20Error\x20getting\x20user\x20identifier:','log','🔍\x20[USER\x20ID]\x20Attempting\x20to\x20get\x20user\x20identifier\x20with\x20multiple\x20methods...','yQNHc','warn','⚠️\x20[CONNECTIONS\x20API]\x20No\x20authentication\x20token\x20available\x20for\x20user\x20ID\x20connections\x20request','kfifG','Zlezx','aFpbV','⚠️\x20[USER\x20ID]\x20getUserProfile\x20returned\x20invalid/fallback\x20ID:','yPvgE','epssz','snwAi','NCuls','getItem','Etxlz','aJwJX','length','ytMYR','KffXz','✅\x20[USER\x20ID]\x20Got\x20user\x20ID\x20from\x20AsyncStorage:','bzRFP','uooCF','SugGA','AKRgl','getOwnPropertyNames','onairos_username','SLBLJ','CJVuH','HwagW','rTpSm','includes','PKrKY','zitSQ','umcIZ','gncCp','KDRbM','cVPkj','xTics','split','qtwXW','KOkDF','ℹ️\x20Consuming\x20apps\x20should\x20call\x20/enoch/users/{id}/profile-picture/base64\x20directly','tKDkP','nHzTu','CAMwN','gxYxC','error','LpPVl','level1','level2','level3','level5','Looking\x20to\x20connect','fRZkb','description','EPQUh','photo','interests','sharedPassions','complementaryQualities','_id','hhccG','random','name','TpCCT','bio','mutualConnections','compatibility','conversationStarters','MGSRI','mkiTm','map','context','🔄\x20Transformed\x20connections\x20by\x20userId:','egTBE','⚠️\x20[CONNECTIONS\x20API]\x20No\x20authentication\x20token\x20available\x20for\x20connections\x20request','✅\x20[CONNECTIONS\x20API]\x20Using\x20authenticated\x20request\x20with\x20token:','API\x20function\x20not\x20available','mock','✅\x20API\x20connections\x20fetched\x20by\x20username:','🔄\x20Transformed\x20connections\x20by\x20username:','skKsD','FHOZx','jMZxZ','🔍\x20Fetching\x20connections\x20for\x20username:','⚠️\x20[CONNECTIONS\x20API]\x20This\x20may\x20result\x20in\x20limited\x20or\x20cached\x20data\x20from\x20backend','LYAmS','substring','...','mSPDK','dyFHP','success','connections','xexgn','source','bqTKG','zURMs','jvpoC','dpzYL','QSPvd','xNUWS','stringify','🔍\x20Fetching\x20connections\x20for\x20userId:','✅\x20API\x20connections\x20fetched\x20by\x20userId:','❌\x20Error\x20fetching\x20connections\x20by\x20userId:','❌\x20[NETWORK\x20ERROR\x20FALLBACK]\x20Full\x20error\x20details:','ygshR','pvTqE','AFEnD','nmyff','iBpcq','Gbnmz','qwrNH','PoZAw','✅\x20[USER\x20ID]\x20Got\x20email\x20from\x20AsyncStorage\x20(backend\x20supports\x20usernames):','✅\x20Successfully\x20got\x20connections\x20by\x20user\x20ID:','USER_CONNECTIONS','🔍\x20[USER\x20DEBUG]\x20AsyncStorage\x20data:','none','🔄\x20[USER\x20DEBUG]\x20Using\x20stored\x20username\x20as\x20email\x20fallback:','🔄\x20[USER\x20DEBUG]\x20Using\x20stored\x20email\x20as\x20fallback:','🎯\x20[USER\x20DEBUG]\x20Final\x20user\x20identifiers\x20to\x20use:','ZlxAT','🎯\x20PRIORITY:\x20Attempting\x20to\x20fetch\x20connections\x20by\x20email\x20(working\x20endpoint):','🎯\x20FALLBACK:\x20Attempting\x20to\x20fetch\x20connections\x20by\x20user\x20ID:','sBKrg','cNtGX','⚠️\x20No\x20user\x20identifier\x20available\x20or\x20no\x20connections\x20found','Rhfxu','DZxCE','❌\x20Error\x20in\x20getUserConnections:','GQvyV','hAjTV','CjKyF','taKUz','ESvMw','UGgDM','Qmjns','DARmE','auth_token','kDgtk','jVoSE','cXjPA','email','nusAK','RdVUA','Cmhbi','xzwMK','PXFeB','hpEyy','xcGjo','PecyH','iTZFN','ljjyg','✅\x20Successfully\x20got\x20connections\x20by\x20email:','⚠️\x20No\x20connections\x20found\x20by\x20email,\x20trying\x20user\x20ID...','HDKdF','XLHCZ','bkdNx','UkfIp','xeuai','⚠️\x20No\x20connections\x20found\x20by\x20user\x20ID','laEvQ','⚠️\x20[USER\x20ID]\x20Invalid\x20stored\x20user\x20ID\x20found:','lueQz','fOkIM','ZNicb','fLQBP','qIode','uploadProfilePicture\x20has\x20been\x20removed\x20from\x20SDK.\x20Consuming\x20apps\x20should\x20call\x20the\x20Enoch\x20API\x20directly.'];_0x163a=function(){return _0x46ca71;};return _0x163a();}function _0x26ce(_0x163a2d,_0x26ce15){_0x163a2d=_0x163a2d-0x0;const _0x19b6c4=_0x163a();let _0x268d21=_0x19b6c4[_0x163a2d];return _0x268d21;}export const getUserConnectionsByUserId=async _0x34065b=>{const _0x9aa629={'ygshR':_0x26ce(0x79),'pvTqE':function(_0x590714){return _0x590714();},'AFEnD':'✅\x20[CONNECTIONS\x20API]\x20Using\x20authenticated\x20request\x20with\x20token:','nmyff':_0x26ce(0x60),'YdDeb':_0x26ce(0x7a),'OfBGj':function(_0x21536e,_0x550318){return _0x21536e===_0x550318;},'iBpcq':function(_0x29a8b9,_0x2072ae){return _0x29a8b9!==_0x2072ae;},'Gbnmz':function(_0x472d4c,_0x3cb02e){return _0x472d4c>_0x3cb02e;},'qwrNH':_0x26ce(0x5c),'PoZAw':_0x26ce(0x7b),'iokXp':_0x26ce(0x7c)};try{var _0x288791,_0x1adaa8;console['log'](_0x9aa629[_0x26ce(0x7d)],_0x34065b);const _0x4e869e=await _0x9aa629[_0x26ce(0x7e)](getAuthToken);if(!_0x4e869e)return console[_0x26ce(0x16)](_0x26ce(0x17)),[];console[_0x26ce(0x13)](_0x9aa629[_0x26ce(0x7f)],_0x4e869e['substring'](0x0,0x14)+_0x26ce(0x6b));const _0x383008={'success':![],'message':_0x9aa629[_0x26ce(0x80)],'connections':[],'source':'mock'};console['log'](_0x9aa629['YdDeb'],{'success':_0x383008[_0x26ce(0x6e)],'connectionsCount':(_0x9aa629['OfBGj'](_0x288791=_0x383008[_0x26ce(0x6f)],null)||_0x288791===void 0x0?void 0x0:_0x288791[_0x26ce(0x23)])||0x0,'source':_0x383008[_0x26ce(0x71)],'firstConnection':_0x9aa629[_0x26ce(0x81)](_0x1adaa8=_0x383008[_0x26ce(0x6f)],null)&&_0x9aa629['iBpcq'](_0x1adaa8,void 0x0)&&_0x1adaa8[0x0]?{'id':_0x383008['connections'][0x0]['id'],'name':_0x383008[_0x26ce(0x6f)][0x0][_0x26ce(0x52)],'description':_0x383008[_0x26ce(0x6f)][0x0][_0x26ce(0x49)]}:null});if(_0x383008[_0x26ce(0x6e)]&&_0x383008[_0x26ce(0x6f)]&&_0x9aa629[_0x26ce(0x82)](_0x383008[_0x26ce(0x6f)][_0x26ce(0x23)],0x0)){const _0x10432c=_0x383008['connections'][_0x26ce(0x5a)](transformAPIConnection);return console[_0x26ce(0x13)](_0x9aa629[_0x26ce(0x83)],_0x10432c['length']),_0x10432c;}return[];}catch(_0xbdc0d8){return console[_0x26ce(0x13)](_0x9aa629[_0x26ce(0x84)],_0xbdc0d8),console[_0x26ce(0x13)](_0x9aa629['iokXp'],JSON['stringify'](_0xbdc0d8,Object[_0x26ce(0x2b)](_0xbdc0d8))),[];}};export const getUserConnections=async()=>{const _0x24f6ed={'iTZFN':'❌\x20Error\x20fetching\x20connections\x20by\x20userId:','ljjyg':'❌\x20[NETWORK\x20ERROR\x20FALLBACK]\x20Full\x20error\x20details:','sZWTt':_0x26ce(0x85),'xeuai':_0x26ce(0x86),'GQvyV':function(_0x332cc1,_0x2082f2){return _0x332cc1===_0x2082f2;},'hAjTV':'CjKyF','taKUz':function(_0x57b811,_0x4af02e){return _0x57b811(_0x4af02e);},'ESvMw':_0x26ce(0x87),'UGgDM':'🔍\x20[USER\x20DEBUG]\x20Checking\x20all\x20available\x20user\x20data\x20sources...','Qmjns':_0x26ce(0x2c),'DARmE':_0x26ce(0x9),'PCkdE':_0x26ce(0x88),'kDgtk':_0x26ce(0x89),'jVoSE':'🎯\x20getUserConnections\x20-\x20User\x20profile:','cXjPA':function(_0x3b6826,_0x58f901){return _0x3b6826!==_0x58f901;},'nusAK':function(_0x1b3536,_0x543815){return _0x1b3536===_0x543815;},'uQdUN':function(_0x22356a,_0x9f4a08){return _0x22356a===_0x9f4a08;},'xzwMK':function(_0x3af3a,_0x47ecd7){return _0x3af3a===_0x47ecd7;},'RdVUA':function(_0x1946fa,_0x3066d5){return _0x1946fa===_0x3066d5;},'Cmhbi':function(_0x505858,_0x2fc7bd){return _0x505858===_0x2fc7bd;},'PXFeB':function(_0x1247d2,_0x472107){return _0x1247d2&&_0x472107;},'hpEyy':_0x26ce(0x8a),'xcGjo':function(_0x259b0e,_0x9085d9){return _0x259b0e&&_0x9085d9;},'ZPAMz':_0x26ce(0x8b),'WvBZN':_0x26ce(0x8c),'PecyH':_0x26ce(0x8d),'fVoOu':_0x26ce(0x8e),'DmzJQ':function(_0x283252,_0x52f5d0){return _0x283252(_0x52f5d0);},'HDKdF':_0x26ce(0x8f),'XLHCZ':function(_0xc6d9af,_0x3ca837){return _0xc6d9af>_0x3ca837;},'bkdNx':_0x26ce(0x90),'UkfIp':_0x26ce(0x91),'laEvQ':_0x26ce(0x92),'lueQz':function(_0x1e6cae,_0x4173ea){return _0x1e6cae!==_0x4173ea;},'fOkIM':_0x26ce(0x93),'hmiSP':_0x26ce(0x94),'ZNicb':_0x26ce(0x95)};try{if(_0x24f6ed[_0x26ce(0x96)](_0x24f6ed[_0x26ce(0x97)],_0x26ce(0x98))){await _0x24f6ed[_0x26ce(0x99)](ensureAuthentication,_0x24f6ed[_0x26ce(0x9a)]),console['log'](_0x24f6ed[_0x26ce(0x9b)]);const _0xce8661=await AsyncStorage[_0x26ce(0x20)](_0x24f6ed[_0x26ce(0x9c)]),_0x59538a=await AsyncStorage[_0x26ce(0x20)](_0x26ce(0xe)),_0x1477be=await AsyncStorage[_0x26ce(0x20)](_0x24f6ed[_0x26ce(0x9d)]),_0x79460c=await AsyncStorage[_0x26ce(0x20)](_0x26ce(0x9e));console[_0x26ce(0x13)](_0x24f6ed['PCkdE'],{'storedUsername':_0xce8661,'storedEmail':_0x59538a,'storedUserId':_0x1477be,'hasAuthToken':!!_0x79460c,'authTokenPreview':_0x79460c?_0x79460c[_0x26ce(0x6a)](0x0,0x14)+_0x26ce(0x6b):_0x24f6ed[_0x26ce(0x9f)]});const _0x1f6fd1=await getUserProfile();console[_0x26ce(0x13)](_0x24f6ed[_0x26ce(0xa0)],{'hasId':!!(_0x1f6fd1!==null&&_0x1f6fd1!==void 0x0&&_0x1f6fd1['id']),'hasEmail':!!(_0x1f6fd1!==null&&_0x24f6ed[_0x26ce(0xa1)](_0x1f6fd1,void 0x0)&&_0x1f6fd1[_0x26ce(0xa2)]),'email':_0x1f6fd1===null||_0x24f6ed[_0x26ce(0xa3)](_0x1f6fd1,void 0x0)?void 0x0:_0x1f6fd1[_0x26ce(0xa2)],'id':_0x24f6ed['uQdUN'](_0x1f6fd1,null)||_0x24f6ed['xzwMK'](_0x1f6fd1,void 0x0)?void 0x0:_0x1f6fd1['id']});let _0x8f1eda=_0x1f6fd1===null||_0x24f6ed[_0x26ce(0xa4)](_0x1f6fd1,void 0x0)?void 0x0:_0x1f6fd1[_0x26ce(0xa2)],_0x73a2fc=_0x24f6ed[_0x26ce(0xa5)](_0x1f6fd1,null)||_0x24f6ed[_0x26ce(0xa6)](_0x1f6fd1,void 0x0)?void 0x0:_0x1f6fd1['id'];_0x24f6ed[_0x26ce(0xa7)](!_0x8f1eda,_0xce8661)&&(console[_0x26ce(0x13)](_0x24f6ed[_0x26ce(0xa8)],_0xce8661),_0x8f1eda=_0xce8661);_0x24f6ed[_0x26ce(0xa9)](!_0x8f1eda,_0x59538a)&&(console['log'](_0x24f6ed['ZPAMz'],_0x59538a),_0x8f1eda=_0x59538a);!_0x73a2fc&&_0x1477be&&(console[_0x26ce(0x13)]('🔄\x20[USER\x20DEBUG]\x20Using\x20stored\x20user\x20ID\x20as\x20fallback:',_0x1477be),_0x73a2fc=_0x1477be);console['log'](_0x24f6ed['WvBZN'],{'userEmail':_0x8f1eda,'userId':_0x73a2fc,'willTryEmail':!!_0x8f1eda,'willTryUserId':!!_0x73a2fc});if(_0x8f1eda){if(_0x24f6ed[_0x26ce(0xa1)](_0x24f6ed[_0x26ce(0xaa)],'ZlxAT'))return _0xe797e9[_0x26ce(0x13)](_0x24f6ed[_0x26ce(0xab)],_0x67b265),_0x5b2751['log'](_0x24f6ed[_0x26ce(0xac)],_0xdf3379['stringify'](_0x5ef298,_0x5cb420[_0x26ce(0x2b)](_0x51d95e))),[];else{console[_0x26ce(0x13)](_0x24f6ed['fVoOu'],_0x8f1eda);const _0x5cbb4a=await _0x24f6ed['DmzJQ'](getUserConnectionsByUsername,_0x8f1eda);if(_0x5cbb4a[_0x26ce(0x23)]>0x0)return console[_0x26ce(0x13)](_0x26ce(0xad),_0x5cbb4a[_0x26ce(0x23)]),_0x5cbb4a;console[_0x26ce(0x13)](_0x26ce(0xae));}}if(_0x73a2fc){console[_0x26ce(0x13)](_0x24f6ed[_0x26ce(0xaf)],_0x73a2fc);const _0x2cc6b9=await _0x24f6ed[_0x26ce(0x99)](getUserConnectionsByUserId,_0x73a2fc);if(_0x24f6ed[_0x26ce(0xb0)](_0x2cc6b9[_0x26ce(0x23)],0x0))return _0x24f6ed[_0x26ce(0xa4)](_0x24f6ed[_0x26ce(0xb1)],_0x24f6ed[_0x26ce(0xb2)])?(_0x4492a8['log'](_0x24f6ed['sZWTt'],_0x2026cb),_0x5466b8):(console[_0x26ce(0x13)](_0x24f6ed[_0x26ce(0xb3)],_0x2cc6b9[_0x26ce(0x23)]),_0x2cc6b9);console[_0x26ce(0x13)](_0x26ce(0xb4));}return console[_0x26ce(0x13)](_0x24f6ed[_0x26ce(0xb5)]),[];}else _0x310b6e[_0x26ce(0x16)](_0x26ce(0xb6),_0x4560e9);}catch(_0x4e2157){return _0x24f6ed[_0x26ce(0xb7)](_0x24f6ed[_0x26ce(0xb8)],_0x24f6ed['hmiSP'])?(console[_0x26ce(0x13)](_0x24f6ed[_0x26ce(0xb9)],_0x4e2157),[]):(_0x4e87f6[_0x26ce(0x13)](_0x24f6ed['xeuai'],_0x6035d1[_0x26ce(0x23)]),_0x6f78c2);}};export const uploadProfilePicture=async(_0x4e13c6,_0x1215b6)=>{const _0x3c3ead={'fLQBP':_0x26ce(0x4),'qIode':_0x26ce(0x3c)};return console['warn'](_0x3c3ead[_0x26ce(0xba)]),console[_0x26ce(0x16)](_0x3c3ead[_0x26ce(0xbb)]),{'success':![],'error':_0x26ce(0xbc)};};
@@ -1 +1 @@
1
- import{GoogleSignin}from'@react-native-google-signin/google-signin';import{Alert}from'react-native';import AsyncStorage from'@react-native-async-storage/async-storage';import{API_CONFIG}from'../config/api';const WEB_CLIENT_ID=_0x27fc(0x0),IOS_CLIENT_ID=_0x27fc(0x0),configureGoogleSignInForRefreshTokens=()=>{const _0x368ffa={'FzBDW':_0x27fc(0x1),'iIGcx':_0x27fc(0x2),'HfuAE':'profile'};GoogleSignin[_0x27fc(0x3)]({'webClientId':WEB_CLIENT_ID,'iosClientId':IOS_CLIENT_ID,'offlineAccess':!![],'forceCodeForRefreshToken':!![],'scopes':[_0x368ffa[_0x27fc(0x4)],_0x368ffa['iIGcx'],_0x368ffa[_0x27fc(0x5)],_0x27fc(0x6)],'hostedDomain':'','accountName':''});};export const checkYouTubeMigrationNeeded=async _0xde80f5=>{const _0x41427e={'vOxTy':_0x27fc(0x7),'HxDJs':_0x27fc(0x8),'hDYKr':_0x27fc(0x9),'CwpFb':function(_0x3d3de2,_0x247e98){return _0x3d3de2(_0x247e98);},'iMvGS':_0x27fc(0xa),'GPmvv':_0x27fc(0xb),'eGYtL':'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?','nVZsQ':_0x27fc(0xc),'WeJAV':'default','ojdFE':function(_0x447e12,_0x6a28ee){return _0x447e12===_0x6a28ee;},'xlMlO':_0x27fc(0xd),'rSwFJ':function(_0x11c651,_0x12cfba){return _0x11c651===_0x12cfba;},'sJvqO':function(_0x4706fc,_0x4d3f5b){return _0x4706fc===_0x4d3f5b;},'FjYln':function(_0x3aea36,_0x54b7db){return _0x3aea36===_0x54b7db;},'uAcHx':'temporary\x20access\x20token\x20mode','pDLza':function(_0x49e721,_0x1d7a54){return _0x49e721===_0x1d7a54;},'gEMEs':function(_0x524dc9,_0x13141c){return _0x524dc9!==_0x13141c;},'jFcwk':_0x27fc(0xe),'jgHAR':_0x27fc(0xf),'DWhwx':_0x27fc(0x10),'EVSey':_0x27fc(0x11),'snekj':function(_0x440be1,_0x5b5a51){return _0x440be1===_0x5b5a51;},'tKcmg':'❌\x20Error\x20checking\x20YouTube\x20migration\x20status:'};try{if(_0x41427e[_0x27fc(0x12)](_0x41427e['xlMlO'],_0x27fc(0x13)))return _0x5a15b5['error'](_0x41427e[_0x27fc(0x14)],_0x22cc66),![];else{const _0x1d7eb2=await _0x41427e[_0x27fc(0x15)](fetch,API_CONFIG[_0x27fc(0x16)]+_0x27fc(0x17)+_0xde80f5),_0x2280c0=await _0x1d7eb2[_0x27fc(0x18)]();if(_0x2280c0['success']&&_0x2280c0['validation']){var _0x56cef5,_0xf86711,_0x211923;const _0x3bf4b0=((_0x56cef5=_0x2280c0[_0x27fc(0x19)])===null||_0x41427e[_0x27fc(0x1a)](_0x56cef5,void 0x0)?void 0x0:_0x56cef5[_0x27fc(0x1b)])===!![]||_0x41427e['sJvqO'](_0x41427e[_0x27fc(0x1a)](_0xf86711=_0x2280c0[_0x27fc(0x1c)],null)||_0xf86711===void 0x0?void 0x0:_0xf86711['enabled'],!![])||_0x41427e[_0x27fc(0x1d)](_0x2280c0[_0x27fc(0x1b)],!![])||_0x2280c0[_0x27fc(0x1e)]&&_0x2280c0['message'][_0x27fc(0x1f)](_0x41427e[_0x27fc(0x20)]),_0x2fa0e7=_0x2280c0[_0x27fc(0x19)][_0x27fc(0x21)],_0x409ef5=_0x2280c0[_0x27fc(0x19)][_0x27fc(0x22)];console[_0x27fc(0x23)]('🔍\x20YouTube\x20migration\x20check:',{'username':_0xde80f5,'needsReconnection':_0x2fa0e7,'hasRefreshToken':_0x409ef5,'isTemporaryMode':_0x3bf4b0,'temporaryModeEnabled':_0x41427e[_0x27fc(0x1d)](_0x211923=_0x2280c0[_0x27fc(0x1c)],null)||_0x41427e['pDLza'](_0x211923,void 0x0)?void 0x0:_0x211923[_0x27fc(0x24)],'message':_0x2280c0[_0x27fc(0x1e)]});if(_0x3bf4b0)return _0x41427e[_0x27fc(0x25)](_0x41427e[_0x27fc(0x26)],_0x27fc(0xe))?(_0x5c5425['error'](_0x41427e['HxDJs'],_0x2f4e88),{'isReady':![],'mode':_0x41427e[_0x27fc(0x27)],'needsMigration':![],'trainingReady':![],'details':{'error':_0x44e664 instanceof _0x3c8ce3?_0x1dcc9e['message']:_0x41427e['CwpFb'](_0x2c5d59,_0x57642d)}}):(console[_0x27fc(0x23)](_0x27fc(0x28)),console[_0x27fc(0x23)](_0x41427e['jgHAR']),![]);else{if(_0x2fa0e7){if(_0x41427e[_0x27fc(0x1a)](_0x41427e['DWhwx'],_0x41427e[_0x27fc(0x29)]))return console[_0x27fc(0x23)](_0x41427e['EVSey']),!![];else _0x43f4be[_0x27fc(0x23)](_0x41427e[_0x27fc(0x2a)]);}else{if(_0x41427e[_0x27fc(0x2b)](_0x27fc(0x2c),_0x27fc(0x2d)))Alert['alert'](_0x41427e[_0x27fc(0x2e)],_0x41427e[_0x27fc(0x2f)],[{'text':_0x27fc(0x30),'style':_0x41427e['nVZsQ'],'onPress':()=>_0x23e39c(![])},{'text':_0x27fc(0x31),'style':_0x41427e[_0x27fc(0x32)],'onPress':()=>_0x232d4b(!![])}]);else return console[_0x27fc(0x23)](_0x27fc(0x33)),![];}}}return![];}}catch(_0x1156c5){return console[_0x27fc(0x34)](_0x41427e[_0x27fc(0x35)],_0x1156c5),![];}};export const getYouTubeConnectionStatus=async _0x39b571=>{const _0xe86961={'AKchg':function(_0x570cb5,_0x13c94c){return _0x570cb5(_0x13c94c);},'UHnME':_0x27fc(0x36),'ovIDu':function(_0x1204d,_0x2b7d7f){return _0x1204d===_0x2b7d7f;},'MTiYg':function(_0x59338a,_0x12a7ff){return _0x59338a===_0x12a7ff;},'VVEJC':function(_0x483b2b,_0x202a4b){return _0x483b2b===_0x202a4b;},'hYoYD':function(_0x2ed2ef,_0x583268){return _0x2ed2ef===_0x583268;},'gkjuU':_0x27fc(0x37),'LSErU':_0x27fc(0x38),'wLZXB':_0x27fc(0x39),'ByZmb':'temporary','QFsiH':_0x27fc(0x3a),'ObDVL':_0x27fc(0x3b),'MInRK':'⚠️\x20YouTube\x20connected\x20but\x20needs\x20migration','bLVvZ':_0x27fc(0x3c),'WDwhf':'❓\x20YouTube\x20connection\x20status\x20unclear','bElkF':_0x27fc(0x3d),'cpRcc':_0x27fc(0x8),'lCbLP':_0x27fc(0x9),'XxsDi':function(_0x402aab,_0x2d883b){return _0x402aab(_0x2d883b);}};try{const _0xb14b34=await _0xe86961[_0x27fc(0x3e)](fetch,API_CONFIG[_0x27fc(0x16)]+_0x27fc(0x17)+_0x39b571),_0x4fa6d4=await _0xb14b34['json']();console['log'](_0xe86961[_0x27fc(0x3f)],_0x4fa6d4);if(_0x4fa6d4[_0x27fc(0x40)]&&_0x4fa6d4[_0x27fc(0x19)]){var _0x34f71c,_0x281a44;const _0x5a0a2c=(_0xe86961['ovIDu'](_0x34f71c=_0x4fa6d4[_0x27fc(0x19)],null)||_0xe86961[_0x27fc(0x41)](_0x34f71c,void 0x0)?void 0x0:_0x34f71c[_0x27fc(0x1b)])===!![]||_0xe86961[_0x27fc(0x41)](_0xe86961[_0x27fc(0x42)](_0x281a44=_0x4fa6d4[_0x27fc(0x1c)],null)||_0xe86961[_0x27fc(0x41)](_0x281a44,void 0x0)?void 0x0:_0x281a44[_0x27fc(0x24)],!![])||_0xe86961['hYoYD'](_0x4fa6d4[_0x27fc(0x1b)],!![])||_0x4fa6d4[_0x27fc(0x1e)]&&_0x4fa6d4[_0x27fc(0x1e)]['includes'](_0xe86961['gkjuU']),_0x48dd0b=_0xe86961[_0x27fc(0x41)](_0x4fa6d4[_0x27fc(0x19)][_0x27fc(0x22)],!![]),_0x315607=_0x4fa6d4[_0x27fc(0x19)][_0x27fc(0x21)]===!![];if(_0x5a0a2c)return console[_0x27fc(0x23)](_0xe86961['LSErU']),console['log'](_0xe86961['wLZXB']),{'isReady':!![],'mode':_0xe86961[_0x27fc(0x43)],'needsMigration':![],'trainingReady':!![],'details':_0x4fa6d4};else{if(_0x48dd0b)return console[_0x27fc(0x23)](_0xe86961[_0x27fc(0x44)]),{'isReady':!![],'mode':_0xe86961[_0x27fc(0x45)],'needsMigration':![],'trainingReady':!![],'details':_0x4fa6d4};else return _0x315607?(console[_0x27fc(0x23)](_0xe86961['MInRK']),{'isReady':![],'mode':_0xe86961[_0x27fc(0x46)],'needsMigration':!![],'trainingReady':![],'details':_0x4fa6d4}):(console[_0x27fc(0x23)](_0xe86961[_0x27fc(0x47)]),{'isReady':![],'mode':_0x27fc(0x9),'needsMigration':![],'trainingReady':![],'details':_0x4fa6d4});}}return console['log'](_0xe86961['bElkF']),{'isReady':![],'mode':_0x27fc(0x9),'needsMigration':![],'trainingReady':![],'details':_0x4fa6d4};}catch(_0x49f306){return console[_0x27fc(0x34)](_0xe86961[_0x27fc(0x48)],_0x49f306),{'isReady':![],'mode':_0xe86961[_0x27fc(0x49)],'needsMigration':![],'trainingReady':![],'details':{'error':_0x49f306 instanceof Error?_0x49f306[_0x27fc(0x1e)]:_0xe86961[_0x27fc(0x4a)](String,_0x49f306)}};}};const showYouTubeMigrationPrompt=async()=>{const _0x1b61f3={'wFeou':_0x27fc(0xb),'mVshJ':'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?','TNkPD':_0x27fc(0x30),'xTpSX':_0x27fc(0xc),'GNXwr':_0x27fc(0x31),'eKVVF':_0x27fc(0x4b)};return new Promise(_0x9ef860=>{Alert[_0x27fc(0x4c)](_0x1b61f3['wFeou'],_0x1b61f3[_0x27fc(0x4d)],[{'text':_0x1b61f3[_0x27fc(0x4e)],'style':_0x1b61f3[_0x27fc(0x4f)],'onPress':()=>_0x9ef860(![])},{'text':_0x1b61f3[_0x27fc(0x50)],'style':_0x1b61f3[_0x27fc(0x51)],'onPress':()=>_0x9ef860(!![])}]);});},forceYouTubeReconnection=async _0x606e7c=>{const _0x5f2816={'ufeID':_0x27fc(0x52),'Vjoli':_0x27fc(0x53),'YXrZQ':'default','FtPCX':_0x27fc(0x38),'NDDxu':_0x27fc(0x54),'UTjZv':function(_0x5cdd29,_0x9b6b9b){return _0x5cdd29===_0x9b6b9b;},'glDma':function(_0x2292fe,_0xf9256a){return _0x2292fe===_0xf9256a;},'kdjlB':function(_0x5c7589,_0x2e7f0d){return _0x5c7589===_0x2e7f0d;},'fnHFo':function(_0x586dc0,_0x4dd2d3){return _0x586dc0===_0x4dd2d3;},'KfUsK':_0x27fc(0x55),'Vjhwy':'⚠️\x20[MIGRATION\x20WARNING]\x20SHOW\x20WARNING\x20-\x20genuinely\x20old\x20connection\x20needs\x20update','xdeOm':'✅\x20[MIGRATION\x20WARNING]\x20NO\x20WARNING\x20-\x20connection\x20is\x20working\x20properly','yLTdp':_0x27fc(0x56),'BGATO':_0x27fc(0x57),'HmfMh':_0x27fc(0xa),'SExLe':'🔐\x20Initiating\x20sign-in\x20-\x20consent\x20screen\x20should\x20appear...','RvgPb':'Server\x20auth\x20code\x20from\x20sign-in','khQtx':function(_0x11a553,_0xfc471a){return _0x11a553!==_0xfc471a;},'jDcHs':_0x27fc(0x58),'AQxVu':'Available','SaSCr':'MISSING!','LbbfT':function(_0x1b4b62,_0x1325dd){return _0x1b4b62===_0x1325dd;},'ptnbO':function(_0x483cce,_0x219382){return _0x483cce!==_0x219382;},'QbPMh':_0x27fc(0x59),'ieemN':_0x27fc(0x5a),'wyUXe':_0x27fc(0x5b),'roijM':_0x27fc(0x5c),'JLcVh':_0x27fc(0x5d),'BDpsD':function(_0x54cce8,_0x2931b8){return _0x54cce8+_0x2931b8;},'ApdCe':_0x27fc(0x5e),'LeDaM':'🔑\x20Refresh\x20token\x20source:','quxdf':_0x27fc(0x5f),'yHVHa':_0x27fc(0x60),'sfRjt':_0x27fc(0x61),'qrKkJ':_0x27fc(0x62),'XVxQs':'youtube','nriMw':_0x27fc(0x63),'YaTWY':function(_0x467a5a,_0x1ef29c){return _0x467a5a===_0x1ef29c;},'GxWAJ':function(_0x4ac6f2,_0x4d91b0){return _0x4ac6f2===_0x4d91b0;},'gmZCF':_0x27fc(0x64),'aqmDp':function(_0x5adf7c,_0x4c0149,_0x2ba843){return _0x5adf7c(_0x4c0149,_0x2ba843);},'cEIHg':_0x27fc(0x65),'Ofkxr':function(_0x341507,_0x183e76){return _0x341507!==_0x183e76;},'JFlnL':'PfVEq','IYQVB':_0x27fc(0x66),'ctjuZ':'✅\x20YouTube\x20migration\x20successful','zkDFo':function(_0x26fe5a,_0x5bc79d,_0x4849b0){return _0x26fe5a(_0x5bc79d,_0x4849b0);},'oebbe':function(_0x4ac19a,_0x1339a3){return _0x4ac19a!==_0x1339a3;},'BsIeL':_0x27fc(0x67),'JHUcQ':_0x27fc(0x68),'ShfbY':_0x27fc(0x69),'TuqOg':function(_0x55f968,_0x52ca81,_0x38ad87,_0x140262){return _0x55f968(_0x52ca81,_0x38ad87,_0x140262);},'IhcNE':'DMYlT','CbcEd':'❌\x20YouTube\x20migration\x20failed:','YKioX':function(_0x2222cd,_0x3dc3dc,_0x300138,_0x7adf72){return _0x2222cd(_0x3dc3dc,_0x300138,_0x7adf72);},'MMMoy':function(_0x14eb55,_0x4c2c7b){return _0x14eb55 instanceof _0x4c2c7b;},'jQrcb':'Unknown\x20error'};try{var _0x157ea0,_0x115c4c,_0x498650,_0xf0d1f9;console[_0x27fc(0x23)](_0x5f2816[_0x27fc(0x6a)],_0x606e7c),configureGoogleSignInForRefreshTokens(),await GoogleSignin[_0x27fc(0x6b)](),console[_0x27fc(0x23)](_0x5f2816[_0x27fc(0x6c)]);try{const _0x54a3b5=await GoogleSignin[_0x27fc(0x6d)]();_0x54a3b5[_0x27fc(0x6e)]&&(await GoogleSignin[_0x27fc(0x6f)](_0x54a3b5[_0x27fc(0x6e)]),console['log'](_0x27fc(0x70)));}catch(_0xb9e11d){_0x27fc(0x71)==='pypup'?(_0x4799fd=_0x29a215['serverAuthCode'],_0x19161a=_0x5f2816[_0x27fc(0x72)]):console['log'](_0x5f2816['HmfMh']);}await GoogleSignin[_0x27fc(0x73)](),console['log'](_0x5f2816[_0x27fc(0x74)]);const _0x3e6e0a=await GoogleSignin[_0x27fc(0x75)](),_0x4be470=await GoogleSignin[_0x27fc(0x6d)](),_0xb33d04=await GoogleSignin[_0x27fc(0x76)]();let _0x1239ea=null,_0x3b9171=_0x27fc(0x77);if(_0x3e6e0a['serverAuthCode'])_0x1239ea=_0x3e6e0a[_0x27fc(0x78)],_0x3b9171=_0x5f2816['RvgPb'];else _0x5f2816[_0x27fc(0x79)](_0xb33d04,null)&&_0x5f2816[_0x27fc(0x79)](_0xb33d04,void 0x0)&&_0xb33d04[_0x27fc(0x78)]&&(_0x1239ea=_0xb33d04['serverAuthCode'],_0x3b9171=_0x5f2816[_0x27fc(0x72)]);console[_0x27fc(0x23)](_0x5f2816[_0x27fc(0x7a)],{'hasAccessToken':!!_0x4be470[_0x27fc(0x6e)],'hasIdToken':!!_0x4be470[_0x27fc(0x7b)],'hasServerAuthCode':!!_0x3e6e0a[_0x27fc(0x78)],'hasCurrentUserAuthCode':!!(_0x5f2816[_0x27fc(0x79)](_0xb33d04,null)&&_0xb33d04!==void 0x0&&_0xb33d04['serverAuthCode']),'refreshTokenSource':_0x3b9171,'finalRefreshToken':_0x1239ea?_0x5f2816[_0x27fc(0x7c)]:_0x5f2816['SaSCr'],'userEmail':_0x5f2816[_0x27fc(0x7d)](_0x157ea0=_0x3e6e0a['user'],null)||_0x157ea0===void 0x0?void 0x0:_0x157ea0[_0x27fc(0x6)]});if(!_0x1239ea){if(_0x5f2816[_0x27fc(0x7e)](_0x5f2816[_0x27fc(0x7f)],_0x5f2816[_0x27fc(0x7f)]))return Alert[_0x27fc(0x4c)](_0x27fc(0x80),_0x27fc(0x81),[{'text':_0x5f2816[_0x27fc(0x82)],'style':_0x5f2816[_0x27fc(0x83)]}]),!![];else{const _0xccc4fd=_0x5f2816['ieemN']['split']('|');let _0x27062b=0x0;while(!![]){switch(_0xccc4fd[_0x27062b++]){case'0':console['error']('❌\x20No\x20refresh\x20token\x20received\x20-\x20Google\x20Console\x20configuration\x20may\x20be\x20incorrect');continue;case'1':console[_0x27fc(0x34)](_0x27fc(0x84));continue;case'2':return![];case'3':console[_0x27fc(0x34)](_0x27fc(0x85));continue;case'4':console[_0x27fc(0x34)](_0x5f2816['wyUXe']);continue;case'5':console['error'](_0x5f2816[_0x27fc(0x86)]);continue;}break;}}}console['log'](_0x5f2816[_0x27fc(0x87)],_0x5f2816[_0x27fc(0x88)](_0x1239ea['substring'](0x0,0x14),_0x5f2816[_0x27fc(0x89)])),console['log'](_0x5f2816[_0x27fc(0x8a)],_0x3b9171);let _0x3321b5=await AsyncStorage['getItem'](_0x5f2816[_0x27fc(0x8b)])||await AsyncStorage['getItem'](_0x5f2816[_0x27fc(0x8c)])||await AsyncStorage['getItem']('auth_token');!_0x3321b5&&(console[_0x27fc(0x8d)](_0x5f2816[_0x27fc(0x8e)]),_0x3321b5=_0x5f2816[_0x27fc(0x8f)]);const _0x5d8f2d={'session':{'username':_0x606e7c,'platform':_0x5f2816[_0x27fc(0x90)],'channelName':(_0x5f2816[_0x27fc(0x7d)](_0x115c4c=_0x3e6e0a['user'],null)||_0x115c4c===void 0x0?void 0x0:_0x115c4c['name'])||_0x5f2816['nriMw'],'channelId':null},'googleUser':_0x3e6e0a[_0x27fc(0x91)],'accessToken':_0x4be470[_0x27fc(0x6e)],'idToken':_0x4be470[_0x27fc(0x7b)],'refreshToken':_0x1239ea,'serverAuthCode':_0x3e6e0a['serverAuthCode'],'userAccountInfo':{'username':_0x606e7c,'email':_0x5f2816[_0x27fc(0x92)](_0x498650=_0x3e6e0a['user'],null)||_0x5f2816[_0x27fc(0x93)](_0x498650,void 0x0)?void 0x0:_0x498650['email'],'authToken':_0x3321b5,'channelName':(_0x5f2816[_0x27fc(0x93)](_0xf0d1f9=_0x3e6e0a[_0x27fc(0x91)],null)||_0x5f2816['GxWAJ'](_0xf0d1f9,void 0x0)?void 0x0:_0xf0d1f9[_0x27fc(0x94)])||_0x5f2816[_0x27fc(0x95)],'channelId':null}};console[_0x27fc(0x23)](_0x5f2816[_0x27fc(0x96)]);const _0x32e347=await _0x5f2816[_0x27fc(0x97)](fetch,API_CONFIG[_0x27fc(0x16)]+_0x27fc(0x98),{'method':'POST','headers':{'Content-Type':'application/json','x-api-key':_0x5f2816[_0x27fc(0x99)],..._0x5f2816[_0x27fc(0x79)](_0x3321b5,_0x5f2816['qrKkJ'])&&{'Authorization':_0x27fc(0x9a)+_0x3321b5}},'body':JSON[_0x27fc(0x9b)](_0x5d8f2d)}),_0xb3c206=await _0x32e347[_0x27fc(0x18)]();return _0xb3c206[_0x27fc(0x40)]?_0x5f2816['Ofkxr'](_0x5f2816['JFlnL'],_0x5f2816[_0x27fc(0x9c)])?(console[_0x27fc(0x23)](_0x5f2816[_0x27fc(0x9d)]),await _0x5f2816[_0x27fc(0x9e)](trackMigrationAttempt,_0x606e7c,!![]),!![]):(_0x30ca85[_0x27fc(0x23)](_0x5f2816['FtPCX']),_0x4bf33f['log'](_0x27fc(0x39)),{'isReady':!![],'mode':'temporary','needsMigration':![],'trainingReady':!![],'details':_0x5c01f3}):_0x5f2816[_0x27fc(0x9f)](_0x5f2816[_0x27fc(0xa0)],_0x5f2816[_0x27fc(0xa1)])?(console[_0x27fc(0x34)](_0x5f2816['ShfbY'],_0xb3c206[_0x27fc(0x34)]),await _0x5f2816[_0x27fc(0xa2)](trackMigrationAttempt,_0x606e7c,![],_0xb3c206[_0x27fc(0x34)]),![]):(Alert[_0x27fc(0x4c)](_0x27fc(0xa3),_0x5f2816[_0x27fc(0xa4)],[{'text':'OK','style':_0x5f2816[_0x27fc(0x83)]}]),![]);}catch(_0x45627b){if(_0x27fc(0xa5)===_0x5f2816['IhcNE'])return console['error'](_0x5f2816[_0x27fc(0xa6)],_0x45627b),await _0x5f2816[_0x27fc(0xa7)](trackMigrationAttempt,_0x606e7c,![],_0x5f2816[_0x27fc(0xa8)](_0x45627b,Error)?_0x45627b[_0x27fc(0x1e)]:_0x5f2816[_0x27fc(0xa9)]),![];else{var _0x3e9a49,_0x33092b;const _0x237081=_0x5f2816[_0x27fc(0xaa)](_0x5f2816[_0x27fc(0x93)](_0x3e9a49=_0x259256[_0x27fc(0x19)],null)||_0x5f2816['glDma'](_0x3e9a49,void 0x0)?void 0x0:_0x3e9a49[_0x27fc(0x1b)],!![])||_0x5f2816['kdjlB'](_0x5f2816[_0x27fc(0xab)](_0x33092b=_0x1cf596[_0x27fc(0x1c)],null)||_0x33092b===void 0x0?void 0x0:_0x33092b['enabled'],!![])||_0x5f2816[_0x27fc(0xaa)](_0x4e3c4c[_0x27fc(0x1b)],!![]),_0x3c60c5=_0x5f2816[_0x27fc(0xac)](_0x10c1d6['validation'][_0x27fc(0xad)],!![]),_0x375271=_0x59116b[_0x27fc(0x19)][_0x27fc(0x22)]===!![],_0x272ca4=_0x5f2816[_0x27fc(0xac)](_0x3eea42[_0x27fc(0x19)][_0x27fc(0x21)],!![]);_0x45f0c3['log'](_0x5f2816[_0x27fc(0xae)],{'username':_0x36791c,'hasAccessToken':_0x3c60c5,'hasRefreshToken':_0x375271,'needsReconnection':_0x272ca4,'isTemporaryMode':_0x237081,'connectedAt':_0x89aae3[_0x27fc(0x19)][_0x27fc(0xaf)]});if(_0x237081)return _0xd8d3f6['log'](_0x27fc(0xb0)),![];else return _0x3c60c5&&!_0x375271&&_0x272ca4?(_0x184bfe['log'](_0x5f2816[_0x27fc(0xb1)]),!![]):(_0x5ab05b[_0x27fc(0x23)](_0x5f2816['xdeOm']),![]);}}},trackMigrationAttempt=async(_0x308eb9,_0x1c0509,_0x3c616e)=>{const _0x131fb6={'iGXYn':function(_0x5d21fd,_0x2a9311){return _0x5d21fd===_0x2a9311;},'VfDlv':function(_0x54f6f7,_0x5b8d1e){return _0x54f6f7===_0x5b8d1e;},'CWTed':_0x27fc(0x37),'iKTtc':function(_0x28ee48,_0x289ecc){return _0x28ee48===_0x289ecc;},'ofibq':_0x27fc(0xf),'pMrQn':'🔧\x20User\x20needs\x20YouTube\x20migration\x20for\x20refresh\x20token','nykcG':'✅\x20YouTube\x20connection\x20fully\x20working\x20with\x20refresh\x20tokens','zKQHI':function(_0x4c0b38,_0x44c320,_0x5cd24c){return _0x4c0b38(_0x44c320,_0x5cd24c);},'PbItx':function(_0xe54fbf,_0x1ccda2){return _0xe54fbf||_0x1ccda2;},'YdNCe':function(_0x5dd7d6,_0x3168f1){return _0x5dd7d6===_0x3168f1;},'eOElD':_0x27fc(0xb2),'CPPar':_0x27fc(0xb3)};try{await _0x131fb6[_0x27fc(0xb4)](fetch,API_CONFIG['BASE_URL']+_0x27fc(0xb5),{'method':'POST','headers':{'Content-Type':'application/json'},'body':JSON[_0x27fc(0x9b)]({'username':_0x308eb9,'success':_0x1c0509,'error':_0x131fb6['PbItx'](_0x3c616e,null),'timestamp':new Date()['toISOString']()})});}catch(_0x3cbdea){if(_0x131fb6[_0x27fc(0xb6)](_0x27fc(0xb2),_0x131fb6['eOElD']))console[_0x27fc(0x34)](_0x131fb6[_0x27fc(0xb7)],_0x3cbdea);else{var _0x2286a1,_0x10f69f,_0x4bfb12;const _0x256456=((_0x2286a1=_0x355e2d['validation'])===null||_0x131fb6[_0x27fc(0xb8)](_0x2286a1,void 0x0)?void 0x0:_0x2286a1['isTemporaryMode'])===!![]||_0x131fb6['VfDlv'](_0x131fb6[_0x27fc(0xb9)](_0x10f69f=_0x4e24b2[_0x27fc(0x1c)],null)||_0x10f69f===void 0x0?void 0x0:_0x10f69f[_0x27fc(0x24)],!![])||_0x2e2e66[_0x27fc(0x1b)]===!![]||_0x527b84[_0x27fc(0x1e)]&&_0x4c500d[_0x27fc(0x1e)][_0x27fc(0x1f)](_0x131fb6[_0x27fc(0xba)]),_0x47f9a6=_0x539687[_0x27fc(0x19)][_0x27fc(0x21)],_0x58f0cd=_0x208f37[_0x27fc(0x19)][_0x27fc(0x22)];_0x363488['log']('🔍\x20YouTube\x20migration\x20check:',{'username':_0x3019e3,'needsReconnection':_0x47f9a6,'hasRefreshToken':_0x58f0cd,'isTemporaryMode':_0x256456,'temporaryModeEnabled':_0x131fb6[_0x27fc(0xb9)](_0x4bfb12=_0x17a817['temporaryMode'],null)||_0x131fb6[_0x27fc(0xbb)](_0x4bfb12,void 0x0)?void 0x0:_0x4bfb12['enabled'],'message':_0x33add0[_0x27fc(0x1e)]});if(_0x256456)return _0x382952[_0x27fc(0x23)]('🔄\x20User\x20using\x20temporary\x20mode\x20-\x20connection\x20working\x20correctly'),_0x48069f[_0x27fc(0x23)](_0x131fb6['ofibq']),![];else return _0x47f9a6?(_0x799566[_0x27fc(0x23)](_0x131fb6[_0x27fc(0xbc)]),!![]):(_0x172397[_0x27fc(0x23)](_0x131fb6[_0x27fc(0xbd)]),![]);}}};export const shouldShowYouTubeMigrationWarning=async _0x460e31=>{const _0x1f6401={'yeokm':_0x27fc(0xbe),'ovadz':_0x27fc(0xb),'mDSIq':_0x27fc(0x30),'HIAcf':_0x27fc(0xc),'NDGuk':_0x27fc(0x31),'SxJbA':_0x27fc(0xbf),'fYUeO':function(_0x13a339,_0x21b69b){return _0x13a339!==_0x21b69b;},'RCVob':'kjfnB','CNcsX':function(_0x5da2e2,_0x2e7b3f){return _0x5da2e2===_0x2e7b3f;},'DpxFc':function(_0x338b74,_0x4151a4){return _0x338b74===_0x4151a4;},'ABCHx':function(_0x8baf44,_0x282c28){return _0x8baf44===_0x282c28;},'SJAty':function(_0x28a0d0,_0x42bb9c){return _0x28a0d0===_0x42bb9c;},'suHBA':function(_0xce2b3f,_0x5a1bb3){return _0xce2b3f===_0x5a1bb3;},'fDHOT':_0x27fc(0xc0),'NxElx':_0x27fc(0xb0),'gcvdr':function(_0x2f54f9,_0x34d3d4){return _0x2f54f9&&_0x34d3d4;},'xJDJD':'⚠️\x20[MIGRATION\x20WARNING]\x20SHOW\x20WARNING\x20-\x20genuinely\x20old\x20connection\x20needs\x20update','LWBnH':'WqNtZ','PonGB':_0x27fc(0xc1),'iVSws':'ℹ️\x20[MIGRATION\x20WARNING]\x20NO\x20WARNING\x20-\x20no\x20YouTube\x20connection\x20found','eMcuG':_0x27fc(0x7)};try{console[_0x27fc(0x23)](_0x1f6401[_0x27fc(0xc2)],_0x460e31);const _0x424d4d=await fetch(API_CONFIG[_0x27fc(0x16)]+_0x27fc(0x17)+_0x460e31),_0x255295=await _0x424d4d[_0x27fc(0x18)]();if(_0x255295['success']&&_0x255295[_0x27fc(0x19)]){if(_0x1f6401[_0x27fc(0xc3)](_0x1f6401['RCVob'],_0x27fc(0xc4)))return _0x2ca935[_0x27fc(0x23)](_0x27fc(0xc1)),![];else{var _0x2e787f,_0x53d342;const _0x14954d=_0x1f6401[_0x27fc(0xc5)](_0x1f6401[_0x27fc(0xc6)](_0x2e787f=_0x255295[_0x27fc(0x19)],null)||_0x1f6401[_0x27fc(0xc7)](_0x2e787f,void 0x0)?void 0x0:_0x2e787f[_0x27fc(0x1b)],!![])||_0x1f6401[_0x27fc(0xc7)]((_0x53d342=_0x255295[_0x27fc(0x1c)])===null||_0x1f6401['ABCHx'](_0x53d342,void 0x0)?void 0x0:_0x53d342[_0x27fc(0x24)],!![])||_0x1f6401[_0x27fc(0xc5)](_0x255295[_0x27fc(0x1b)],!![]),_0x10b492=_0x1f6401['SJAty'](_0x255295[_0x27fc(0x19)][_0x27fc(0xad)],!![]),_0x474c0e=_0x1f6401[_0x27fc(0xc8)](_0x255295[_0x27fc(0x19)]['hasRefreshToken'],!![]),_0x2fda97=_0x1f6401['suHBA'](_0x255295[_0x27fc(0x19)][_0x27fc(0x21)],!![]);console[_0x27fc(0x23)](_0x27fc(0x55),{'username':_0x460e31,'hasAccessToken':_0x10b492,'hasRefreshToken':_0x474c0e,'needsReconnection':_0x2fda97,'isTemporaryMode':_0x14954d,'connectedAt':_0x255295['validation'][_0x27fc(0xaf)]});if(_0x14954d)return _0x1f6401[_0x27fc(0xc3)](_0x27fc(0xc9),_0x1f6401['fDHOT'])?(console[_0x27fc(0x23)](_0x1f6401['NxElx']),![]):(_0x5e4255[_0x27fc(0x34)](_0x1f6401['yeokm'],_0x2e742c),![]);else{if(_0x1f6401[_0x27fc(0xca)](_0x10b492,!_0x474c0e)&&_0x2fda97)return console[_0x27fc(0x23)](_0x1f6401[_0x27fc(0xcb)]),!![];else{if(_0x1f6401['LWBnH']===_0x27fc(0xcc)){const _0x5688d3={'VrFZe':_0x1f6401[_0x27fc(0xcd)],'rqvUn':'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?','fpKWp':_0x1f6401[_0x27fc(0xce)],'VRQGa':_0x1f6401[_0x27fc(0xcf)],'DmkaX':_0x1f6401[_0x27fc(0xd0)]};return new _0x5d2235(_0x5779b2=>{Alert[_0x27fc(0x4c)](_0x5688d3[_0x27fc(0xd1)],_0x5688d3[_0x27fc(0xd2)],[{'text':_0x5688d3[_0x27fc(0xd3)],'style':_0x5688d3[_0x27fc(0xd4)],'onPress':()=>_0x5779b2(![])},{'text':_0x5688d3[_0x27fc(0xd5)],'style':_0x27fc(0x4b),'onPress':()=>_0x5779b2(!![])}]);});}else return console[_0x27fc(0x23)](_0x1f6401[_0x27fc(0xd6)]),![];}}}}return console[_0x27fc(0x23)](_0x1f6401[_0x27fc(0xd7)]),![];}catch(_0x18deac){return console[_0x27fc(0x34)](_0x1f6401[_0x27fc(0xd8)],_0x18deac),![];}};function _0x27fc(_0x51d741,_0x27fcd9){_0x51d741=_0x51d741-0x0;const _0x545e11=_0x51d7();let _0x43afb4=_0x545e11[_0x51d741];return _0x43afb4;}export const checkAndFixYouTubeConnection=async _0x4a0673=>{const _0x31b297={'JfXjW':_0x27fc(0x11),'PRFps':_0x27fc(0xd9),'wtJST':function(_0x1de97a,_0xdddb17){return _0x1de97a(_0xdddb17);},'ZDjtT':_0x27fc(0xda),'xIVNc':_0x27fc(0xdb),'CJmMx':_0x27fc(0xdc),'chREc':function(_0x266fc8){return _0x266fc8();},'BQIgF':_0x27fc(0xdd),'QAtBO':function(_0x66bd58,_0x3a65b4){return _0x66bd58!==_0x3a65b4;},'iFKiH':'Psoiy','nlbKi':_0x27fc(0x81),'qHkdY':_0x27fc(0x53),'DEkLN':_0x27fc(0xa3),'VLzwK':'default','jJShO':_0x27fc(0xbe)};try{console[_0x27fc(0x23)](_0x31b297['PRFps'],_0x4a0673);const _0x3a23c3=await _0x31b297[_0x27fc(0xde)](shouldShowYouTubeMigrationWarning,_0x4a0673);if(!_0x3a23c3)return console[_0x27fc(0x23)](_0x27fc(0xdf)),console[_0x27fc(0x23)](_0x31b297[_0x27fc(0xe0)]),!![];const _0x3b03bb=await _0x31b297[_0x27fc(0xde)](checkYouTubeMigrationNeeded,_0x4a0673);if(!_0x3b03bb)return console[_0x27fc(0x23)](_0x31b297[_0x27fc(0xe1)]),!![];console[_0x27fc(0x23)](_0x31b297[_0x27fc(0xe2)]);const _0x46615a=await _0x31b297[_0x27fc(0xe3)](showYouTubeMigrationPrompt);if(!_0x46615a)return console['log'](_0x31b297[_0x27fc(0xe4)]),![];const _0x32a587=await forceYouTubeReconnection(_0x4a0673);return _0x32a587?_0x31b297['QAtBO'](_0x31b297[_0x27fc(0xe5)],_0x31b297[_0x27fc(0xe5)])?(_0x227128[_0x27fc(0x23)](_0x31b297[_0x27fc(0xe6)]),!![]):(Alert[_0x27fc(0x4c)](_0x27fc(0x80),_0x31b297['nlbKi'],[{'text':_0x31b297[_0x27fc(0xe7)],'style':'default'}]),!![]):(Alert[_0x27fc(0x4c)](_0x31b297[_0x27fc(0xe8)],_0x27fc(0x54),[{'text':'OK','style':_0x31b297[_0x27fc(0xe9)]}]),![]);}catch(_0xfd1d59){return console[_0x27fc(0x34)](_0x31b297[_0x27fc(0xea)],_0xfd1d59),![];}};function _0x51d7(){const _0x994fb0=['1030678346906-lovkuds2ouqmoc8eu5qpo98spa6edv4o.apps.googleusercontent.com','https://www.googleapis.com/auth/youtube.readonly','openid','configure','FzBDW','HfuAE','email','❌\x20[MIGRATION\x20WARNING]\x20Error\x20checking\x20migration\x20warning\x20status:','❌\x20Error\x20getting\x20YouTube\x20connection\x20status:','none','ℹ️\x20No\x20token\x20cache\x20to\x20clear','YouTube\x20Connection\x20Upgrade','cancel','cLsHY','FnHSn','⚠️\x20No\x20refresh\x20capability\x20but\x20training\x20can\x20proceed','QyPWg','🔧\x20User\x20needs\x20YouTube\x20migration\x20for\x20refresh\x20token','ojdFE','LNCEH','vOxTy','CwpFb','BASE_URL','/youtube/validate-connection/','json','validation','rSwFJ','isTemporaryMode','temporaryMode','FjYln','message','includes','uAcHx','needsReconnection','hasRefreshToken','log','enabled','gEMEs','jFcwk','hDYKr','🔄\x20User\x20using\x20temporary\x20mode\x20-\x20connection\x20working\x20correctly','DWhwx','iMvGS','snekj','uDblT','tnwBi','GPmvv','eGYtL','Skip\x20for\x20Now','Upgrade\x20Now','WeJAV','✅\x20YouTube\x20connection\x20fully\x20working\x20with\x20refresh\x20tokens','error','tKcmg','📋\x20Complete\x20YouTube\x20status\x20response:','temporary\x20access\x20token\x20mode','🔄\x20YouTube\x20connected\x20in\x20temporary\x20mode','✅\x20Training\x20will\x20work,\x20but\x20connection\x20expires\x20in\x20~1\x20hour','✅\x20YouTube\x20connected\x20with\x20refresh\x20tokens','full','limited','❌\x20No\x20YouTube\x20connection\x20found','AKchg','UHnME','success','MTiYg','VVEJC','ByZmb','QFsiH','ObDVL','bLVvZ','WDwhf','cpRcc','lCbLP','XxsDi','default','alert','mVshJ','TNkPD','xTpSX','GNXwr','eKVVF','Current\x20user\x20server\x20auth\x20code','Great!','YouTube\x20connection\x20upgrade\x20failed.\x20Please\x20try\x20again\x20later\x20or\x20contact\x20support\x20if\x20the\x20problem\x20persists.','📊\x20[MIGRATION\x20WARNING]\x20Status\x20check:','🔄\x20Starting\x20YouTube\x20migration\x20for\x20user:','✅\x20Signed\x20out\x20-\x20consent\x20cache\x20cleared','🔍\x20Token\x20Analysis:','GsmBJ','0|1|4|5|3|2','\x20\x20\x201.\x20offlineAccess:\x20true\x20is\x20missing\x20from\x20configuration','\x20\x20\x202.\x20forceCodeForRefreshToken:\x20true\x20is\x20missing','✅\x20Got\x20refresh\x20token\x20after\x20consent:','...','onairos_jwt_token','enoch_token','⚠️\x20No\x20authentication\x20token\x20found\x20for\x20YouTube\x20migration','migration_token_placeholder','YouTube\x20Channel','📤\x20Sending\x20migration\x20payload\x20to\x20backend...','your-api-key','tcQpI','VBTMb','BejlR','❌\x20Backend\x20rejected\x20YouTube\x20migration:','yLTdp','signOut','BGATO','getTokens','accessToken','clearCachedAccessToken','✅\x20Token\x20cache\x20cleared','OWsyy','ufeID','hasPlayServices','SExLe','signIn','getCurrentUser','None','serverAuthCode','khQtx','jDcHs','idToken','AQxVu','LbbfT','ptnbO','QbPMh','YouTube\x20Upgraded!\x20✅','Your\x20YouTube\x20connection\x20has\x20been\x20upgraded\x20successfully.\x20Training\x20will\x20now\x20work\x20seamlessly\x20without\x20interruptions.','Vjoli','YXrZQ','💡\x20This\x20usually\x20means:','\x20\x20\x203.\x20User\x20did\x20not\x20grant\x20offline\x20access\x20permission','roijM','JLcVh','BDpsD','ApdCe','LeDaM','quxdf','yHVHa','warn','sfRjt','qrKkJ','XVxQs','user','YaTWY','glDma','name','nriMw','gmZCF','aqmDp','/youtube/native-auth','cEIHg','Bearer\x20','stringify','IYQVB','ctjuZ','zkDFo','oebbe','BsIeL','JHUcQ','TuqOg','Upgrade\x20Failed\x20❌','NDDxu','DMYlT','CbcEd','YKioX','MMMoy','jQrcb','UTjZv','kdjlB','fnHFo','hasAccessToken','KfUsK','connectedAt','🚫\x20[MIGRATION\x20WARNING]\x20NO\x20WARNING\x20-\x20user\x20is\x20in\x20temporary\x20mode\x20(working\x20correctly)','Vjhwy','nqOqZ','❌\x20Failed\x20to\x20track\x20migration\x20attempt:','zKQHI','/youtube/migration-status','YdNCe','CPPar','iGXYn','VfDlv','CWTed','iKTtc','pMrQn','nykcG','❌\x20Error\x20in\x20YouTube\x20connection\x20check:','🔍\x20[MIGRATION\x20WARNING]\x20Checking\x20if\x20user\x20should\x20see\x20migration\x20warning:','CuAoN','✅\x20[MIGRATION\x20WARNING]\x20NO\x20WARNING\x20-\x20connection\x20is\x20working\x20properly','SxJbA','fYUeO','kjfnB','CNcsX','DpxFc','ABCHx','suHBA','TNvEf','gcvdr','xJDJD','bRjLx','ovadz','mDSIq','HIAcf','NDGuk','VrFZe','rqvUn','fpKWp','VRQGa','DmkaX','PonGB','iVSws','eMcuG','🔄\x20Checking\x20YouTube\x20connection\x20for\x20user:','✅\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','wtJST','🚫\x20[MIGRATION]\x20NO\x20MIGRATION\x20NEEDED\x20-\x20user\x20connection\x20is\x20working\x20correctly','ZDjtT','xIVNc','CJmMx','chREc','BQIgF','iFKiH','JfXjW','qHkdY','DEkLN','VLzwK','jJShO','YvEYm','wsZde'];_0x51d7=function(){return _0x994fb0;};return _0x51d7();}export const reconnectYouTube=async _0x57b5d4=>{const _0x1adf08={'YvEYm':'🔄\x20Manual\x20YouTube\x20reconnection\x20requested\x20for:','wsZde':function(_0x10fd63,_0x48ee75){return _0x10fd63(_0x48ee75);}};return console['log'](_0x1adf08[_0x27fc(0xeb)],_0x57b5d4),await _0x1adf08[_0x27fc(0xec)](forceYouTubeReconnection,_0x57b5d4);};
1
+ import{GoogleSignin}from'@react-native-google-signin/google-signin';import{Alert}from'react-native';import AsyncStorage from'@react-native-async-storage/async-storage';import{API_CONFIG}from'../config/api';const WEB_CLIENT_ID=_0x3192(0x0),IOS_CLIENT_ID='1030678346906-lovkuds2ouqmoc8eu5qpo98spa6edv4o.apps.googleusercontent.com',configureGoogleSignInForRefreshTokens=()=>{const _0x228492={'xthhC':_0x3192(0x1),'fOeXb':'openid','KIEsW':_0x3192(0x2),'UrAhP':'email'};GoogleSignin[_0x3192(0x3)]({'webClientId':WEB_CLIENT_ID,'iosClientId':IOS_CLIENT_ID,'offlineAccess':!![],'forceCodeForRefreshToken':!![],'scopes':[_0x228492[_0x3192(0x4)],_0x228492[_0x3192(0x5)],_0x228492[_0x3192(0x6)],_0x228492['UrAhP']],'hostedDomain':'','accountName':''});};export const checkYouTubeMigrationNeeded=async _0x36243=>{const _0x47dfbf={'ccNyS':function(_0x3399d8,_0xef1965){return _0x3399d8===_0xef1965;},'CwTqW':function(_0x42706e,_0x1ae982){return _0x42706e===_0x1ae982;},'crFjJ':function(_0x247e54,_0x1d7d37){return _0x247e54===_0x1d7d37;},'GkYuH':_0x3192(0x7),'INDXI':'⚠️\x20No\x20refresh\x20capability\x20but\x20training\x20can\x20proceed','PkbYO':'🔧\x20User\x20needs\x20YouTube\x20migration\x20for\x20refresh\x20token','UJXDf':_0x3192(0x8),'QBzid':_0x3192(0x9),'mUuRP':_0x3192(0xa),'FASkB':'\x20\x20\x202.\x20forceCodeForRefreshToken:\x20true\x20is\x20missing','upMDN':_0x3192(0xb),'IwuOn':_0x3192(0xc),'TWJUU':'\x20\x20\x203.\x20User\x20did\x20not\x20grant\x20offline\x20access\x20permission','fLPeF':'🚫\x20[MIGRATION]\x20NO\x20MIGRATION\x20NEEDED\x20-\x20user\x20connection\x20is\x20working\x20correctly','CqmEC':'✅\x20[MIGRATION]\x20User\x20can\x20proceed\x20with\x20training\x20normally','YmeVo':function(_0x3ec39f,_0x3092df){return _0x3ec39f!==_0x3092df;},'XkDHq':_0x3192(0xd),'KffSU':_0x3192(0xe),'aeebl':function(_0x3eb51e,_0x16b01e){return _0x3eb51e(_0x16b01e);},'RViRl':function(_0x2ccda0,_0x220050){return _0x2ccda0===_0x220050;},'DmiSY':function(_0x3a2ab1,_0x4be70a){return _0x3a2ab1===_0x4be70a;},'UxAVc':function(_0x21d268,_0x1b21da){return _0x21d268===_0x1b21da;},'ZXVQF':function(_0x20e7e7,_0x363281){return _0x20e7e7===_0x363281;},'MBRwx':'🔄\x20User\x20using\x20temporary\x20mode\x20-\x20connection\x20working\x20correctly','bPIaB':function(_0x4c4c48,_0x31c0a5){return _0x4c4c48!==_0x31c0a5;},'tjtjn':_0x3192(0xf),'satom':_0x3192(0x10),'EShUe':_0x3192(0x11),'ehyea':'wwJad','iAUmJ':'❌\x20Error\x20checking\x20YouTube\x20migration\x20status:'};try{if(_0x47dfbf[_0x3192(0x12)](_0x47dfbf[_0x3192(0x13)],_0x47dfbf['KffSU'])){const _0x16586d=await _0x47dfbf[_0x3192(0x14)](fetch,API_CONFIG['BASE_URL']+_0x3192(0x15)+_0x36243),_0x538ff7=await _0x16586d[_0x3192(0x16)]();if(_0x538ff7['success']&&_0x538ff7[_0x3192(0x17)]){var _0x178567,_0x23e3fc,_0x575cc0;const _0x5da920=_0x47dfbf[_0x3192(0x18)](_0x47dfbf['crFjJ'](_0x178567=_0x538ff7['validation'],null)||_0x47dfbf[_0x3192(0x19)](_0x178567,void 0x0)?void 0x0:_0x178567[_0x3192(0x1a)],!![])||_0x47dfbf[_0x3192(0x1b)]((_0x23e3fc=_0x538ff7[_0x3192(0x1c)])===null||_0x47dfbf['UxAVc'](_0x23e3fc,void 0x0)?void 0x0:_0x23e3fc[_0x3192(0x1d)],!![])||_0x538ff7[_0x3192(0x1a)]===!![]||_0x538ff7[_0x3192(0x1e)]&&_0x538ff7['message']['includes']('temporary\x20access\x20token\x20mode'),_0x177a31=_0x538ff7[_0x3192(0x17)]['needsReconnection'],_0x223433=_0x538ff7[_0x3192(0x17)][_0x3192(0x1f)];console[_0x3192(0x20)](_0x3192(0x21),{'username':_0x36243,'needsReconnection':_0x177a31,'hasRefreshToken':_0x223433,'isTemporaryMode':_0x5da920,'temporaryModeEnabled':_0x47dfbf['ccNyS'](_0x575cc0=_0x538ff7[_0x3192(0x1c)],null)||_0x47dfbf[_0x3192(0x22)](_0x575cc0,void 0x0)?void 0x0:_0x575cc0[_0x3192(0x1d)],'message':_0x538ff7[_0x3192(0x1e)]});if(_0x5da920)return console[_0x3192(0x20)](_0x47dfbf[_0x3192(0x23)]),console[_0x3192(0x20)](_0x47dfbf['INDXI']),![];else{if(_0x177a31){if(_0x47dfbf[_0x3192(0x24)](_0x47dfbf['tjtjn'],_0x47dfbf['satom']))return console['log'](_0x47dfbf['PkbYO']),!![];else{var _0x190292,_0x5aa8ef,_0x126d33;const _0x57b29a=_0x47dfbf[_0x3192(0x18)](_0x47dfbf[_0x3192(0x25)](_0x190292=_0x5715ed['validation'],null)||_0x47dfbf['CwTqW'](_0x190292,void 0x0)?void 0x0:_0x190292[_0x3192(0x1a)],!![])||_0x47dfbf['crFjJ'](_0x47dfbf[_0x3192(0x25)](_0x5aa8ef=_0x496154[_0x3192(0x1c)],null)||_0x47dfbf[_0x3192(0x25)](_0x5aa8ef,void 0x0)?void 0x0:_0x5aa8ef['enabled'],!![])||_0x47dfbf[_0x3192(0x18)](_0x3bc1aa[_0x3192(0x1a)],!![])||_0x805303['message']&&_0x170f73[_0x3192(0x1e)]['includes'](_0x47dfbf['GkYuH']),_0xfd7a8=_0x313159[_0x3192(0x17)][_0x3192(0x26)],_0x48c13d=_0x3a2ce8['validation']['hasRefreshToken'];_0x162f56[_0x3192(0x20)](_0x3192(0x21),{'username':_0x4d6582,'needsReconnection':_0xfd7a8,'hasRefreshToken':_0x48c13d,'isTemporaryMode':_0x57b29a,'temporaryModeEnabled':(_0x126d33=_0x335f46['temporaryMode'])===null||_0x47dfbf['CwTqW'](_0x126d33,void 0x0)?void 0x0:_0x126d33[_0x3192(0x1d)],'message':_0x17f7ee[_0x3192(0x1e)]});if(_0x57b29a)return _0x487e3b[_0x3192(0x20)](_0x3192(0x27)),_0xdb2248['log'](_0x47dfbf['INDXI']),![];else return _0xfd7a8?(_0x15d640[_0x3192(0x20)](_0x47dfbf[_0x3192(0x28)]),!![]):(_0x194396[_0x3192(0x20)](_0x47dfbf[_0x3192(0x29)]),![]);}}else{if(_0x47dfbf[_0x3192(0x2a)]!==_0x3192(0x2b))return console[_0x3192(0x20)](_0x47dfbf['UJXDf']),![];else _0x56b1e6=_0x55b3d9[_0x3192(0x2c)],_0x453526=_0x47dfbf[_0x3192(0x2d)];}}}return![];}else{const _0x3c56ec=_0x47dfbf['mUuRP'][_0x3192(0x2e)]('|');let _0x3cfa39=0x0;while(!![]){switch(_0x3c56ec[_0x3cfa39++]){case'0':_0x30f9df[_0x3192(0x2f)](_0x47dfbf['FASkB']);continue;case'1':_0x27c266[_0x3192(0x2f)](_0x47dfbf[_0x3192(0x30)]);continue;case'2':_0x16fe92['error'](_0x47dfbf[_0x3192(0x31)]);continue;case'3':_0x193523['error']('❌\x20No\x20refresh\x20token\x20received\x20-\x20Google\x20Console\x20configuration\x20may\x20be\x20incorrect');continue;case'4':return![];case'5':_0x103845[_0x3192(0x2f)](_0x47dfbf['TWJUU']);continue;}break;}}}catch(_0x34abf6){return _0x47dfbf[_0x3192(0x24)](_0x47dfbf[_0x3192(0x32)],_0x47dfbf[_0x3192(0x32)])?(_0x21c48f[_0x3192(0x20)](_0x47dfbf[_0x3192(0x33)]),_0x46c343[_0x3192(0x20)](_0x47dfbf[_0x3192(0x34)]),!![]):(console[_0x3192(0x2f)](_0x47dfbf[_0x3192(0x35)],_0x34abf6),![]);}};function _0x465a(){const _0x37008d=['1030678346906-lovkuds2ouqmoc8eu5qpo98spa6edv4o.apps.googleusercontent.com','https://www.googleapis.com/auth/youtube.readonly','profile','configure','xthhC','fOeXb','KIEsW','temporary\x20access\x20token\x20mode','✅\x20YouTube\x20connection\x20fully\x20working\x20with\x20refresh\x20tokens','Current\x20user\x20server\x20auth\x20code','3|2|1|0|5|4','\x20\x20\x201.\x20offlineAccess:\x20true\x20is\x20missing\x20from\x20configuration','💡\x20This\x20usually\x20means:','YjrOl','zymBh','UmgjH','XDAkk','xYpjl','YmeVo','XkDHq','aeebl','/youtube/validate-connection/','json','validation','ccNyS','RViRl','isTemporaryMode','DmiSY','temporaryMode','enabled','message','hasRefreshToken','log','🔍\x20YouTube\x20migration\x20check:','ZXVQF','MBRwx','bPIaB','CwTqW','needsReconnection','🔄\x20User\x20using\x20temporary\x20mode\x20-\x20connection\x20working\x20correctly','PkbYO','UJXDf','EShUe','cATVd','serverAuthCode','QBzid','split','error','upMDN','IwuOn','ehyea','fLPeF','CqmEC','iAUmJ','🚫\x20[MIGRATION\x20WARNING]\x20NO\x20WARNING\x20-\x20user\x20is\x20in\x20temporary\x20mode\x20(working\x20correctly)','⚠️\x20No\x20refresh\x20capability\x20but\x20training\x20can\x20proceed','xZHli','📋\x20Complete\x20YouTube\x20status\x20response:','🔄\x20YouTube\x20connected\x20in\x20temporary\x20mode','✅\x20Training\x20will\x20work,\x20but\x20connection\x20expires\x20in\x20~1\x20hour','full','⚠️\x20YouTube\x20connected\x20but\x20needs\x20migration','limited','none','JLtOU','RnYbs','qqfVR','BASE_URL','tNzim','success','VtUok','QhNEi','FfLys','EeaLh','hDxJt','eKWeL','temporary','xMePX','fyzEj','kmUnz','✅\x20YouTube\x20connected\x20with\x20refresh\x20tokens','❓\x20YouTube\x20connection\x20status\x20unclear','XNwGF','hEwbS','OXcce','DWXDS','oOfUM','ExUJR','FkDXl','YouTube\x20Connection\x20Upgrade','To\x20improve\x20your\x20training\x20experience,\x20we\x20need\x20to\x20upgrade\x20your\x20YouTube\x20connection.\x20This\x20prevents\x20interruptions\x20during\x20data\x20collection.\x0a\x0a✅\x20One-time\x20upgrade\x0a✅\x20Takes\x2030\x20seconds\x0a✅\x20No\x20data\x20loss\x0a\x0aUpgrade\x20now?','cancel','bTeGf','Wkpwj','htEqx','alert','jVUPh','EOquv','HfQHX','default','✅\x20Signed\x20out\x20-\x20consent\x20cache\x20cleared','ℹ️\x20No\x20token\x20cache\x20to\x20clear','None','XmNwC','🔍\x20Token\x20Analysis:','MISSING!','jbXVr','2|3|1|5|0|4','...','onairos_jwt_token','enoch_token','youtube','YouTube\x20Channel','📤\x20Sending\x20migration\x20payload\x20to\x20backend...','ifIRH','❌\x20YouTube\x20migration\x20failed:','Unknown\x20error','psPjc','miQIt','signOut','JZfLA','clearCachedAccessToken','✅\x20Token\x20cache\x20cleared','ZDwvE','hasPlayServices','🔐\x20Initiating\x20sign-in\x20-\x20consent\x20screen\x20should\x20appear...','getTokens','getCurrentUser','FiwAw','Server\x20auth\x20code\x20from\x20sign-in','yjSPV','NxEUe','DHoWn','accessToken','idToken','XbrYS','Ljnkt','vJGmC','user','mLsmN','ZFGpz','pUPCz','YouTube\x20connection\x20upgrade\x20failed.\x20Please\x20try\x20again\x20later\x20or\x20contact\x20support\x20if\x20the\x20problem\x20persists.','VCcDv','jNWKl','dbNxg','PSTvc','zAjHk','getItem','iPyZW','kobnl','warn','⚠️\x20No\x20authentication\x20token\x20found\x20for\x20YouTube\x20migration','OvVul','name','NWSkB','email','CjBhb','zuHua','SXuVn','LAkgJ','CIaql','eyUdJ','Bearer\x20','stringify','tzFHE','✅\x20YouTube\x20migration\x20successful','PnGGS','hllHT','crFzj','📊\x20[MIGRATION\x20WARNING]\x20Status\x20check:','✅\x20[MIGRATION\x20WARNING]\x20NO\x20WARNING\x20-\x20connection\x20is\x20working\x20properly','AzRGz','❌\x20Failed\x20to\x20track\x20migration\x20attempt:','HyAwC','TBbCf','WRpLw','XPbXp','toISOString','usFCQ','cbfyx','nwSaO','connectedAt','PLrKv','TxnWn','ENIYE','agJce','COYPA','✅\x20[MIGRATION]\x20YouTube\x20connection\x20working\x20properly\x20-\x20no\x20migration\x20needed','🔍\x20[MIGRATION\x20WARNING]\x20Checking\x20if\x20user\x20should\x20see\x20migration\x20warning:','⚠️\x20[MIGRATION\x20WARNING]\x20SHOW\x20WARNING\x20-\x20genuinely\x20old\x20connection\x20needs\x20update','ℹ️\x20[MIGRATION\x20WARNING]\x20NO\x20WARNING\x20-\x20no\x20YouTube\x20connection\x20found','❌\x20[MIGRATION\x20WARNING]\x20Error\x20checking\x20migration\x20warning\x20status:','vmMmf','DxCwL','nkYyH','RPKIg','hasAccessToken','cZmpg','AGUvM','GQoyq','LOyqf','ogrYQ','rdPPg','pmZiE','ulOno','gRXmZ','Great!','✅\x20[MIGRATION]\x20User\x20can\x20proceed\x20with\x20training\x20normally','🔧\x20[MIGRATION]\x20User\x20needs\x20YouTube\x20migration\x20for\x20refresh\x20token\x20(genuinely\x20old\x20connection)','IfDGn','ℹ️\x20User\x20declined\x20YouTube\x20migration','Your\x20YouTube\x20connection\x20has\x20been\x20upgraded\x20successfully.\x20Training\x20will\x20now\x20work\x20seamlessly\x20without\x20interruptions.','dhyYV','Upgrade\x20Failed\x20❌','❌\x20Error\x20in\x20YouTube\x20connection\x20check:','RTCLQ','Mppjs','YXvYa','dhfMC','ebkhW','fvpSW','jwyhp','NHWJn','sNRGW','BTiZL','SxZJp','SvPsE','tBYPo','mAstk','rEqBs','xLlsE','uJocc','ezwBe','zIWBu','🔄\x20Manual\x20YouTube\x20reconnection\x20requested\x20for:','pneWU'];_0x465a=function(){return _0x37008d;};return _0x465a();}export const getYouTubeConnectionStatus=async _0x2f8bb2=>{const _0x4a2166={'kmUnz':_0x3192(0x36),'OXcce':_0x3192(0x27),'DWXDS':_0x3192(0x37),'JLtOU':function(_0x548b51,_0xcc27a0){return _0x548b51!==_0xcc27a0;},'RnYbs':'LFRIZ','YqPSI':_0x3192(0x38),'qqfVR':function(_0x3d8bf3,_0x4528c2){return _0x3d8bf3(_0x4528c2);},'tNzim':_0x3192(0x39),'VtUok':function(_0x114db9,_0xa273bb){return _0x114db9===_0xa273bb;},'QhNEi':function(_0x8d40db,_0xa334c7){return _0x8d40db===_0xa334c7;},'FfLys':function(_0x312b9f,_0x1f89bf){return _0x312b9f===_0x1f89bf;},'EeaLh':_0x3192(0x7),'hDxJt':function(_0x56205f,_0x163ce9){return _0x56205f===_0x163ce9;},'eKWeL':_0x3192(0x3a),'Vkpbo':_0x3192(0x3b),'PVHaB':_0x3192(0x3c),'nEVtg':_0x3192(0x3d),'aeBDw':_0x3192(0x3e),'XNwGF':_0x3192(0x3f),'hEwbS':'❌\x20No\x20YouTube\x20connection\x20found','oOfUM':'❌\x20Error\x20getting\x20YouTube\x20connection\x20status:','ezPfc':function(_0x28aa5a,_0x543e89){return _0x28aa5a(_0x543e89);}};try{if(_0x4a2166[_0x3192(0x40)](_0x4a2166[_0x3192(0x41)],_0x4a2166['YqPSI'])){const _0x42185e=await _0x4a2166[_0x3192(0x42)](fetch,API_CONFIG[_0x3192(0x43)]+_0x3192(0x15)+_0x2f8bb2),_0x8dc1ad=await _0x42185e[_0x3192(0x16)]();console[_0x3192(0x20)](_0x4a2166[_0x3192(0x44)],_0x8dc1ad);if(_0x8dc1ad[_0x3192(0x45)]&&_0x8dc1ad[_0x3192(0x17)]){var _0x522821,_0x28725f;const _0x1fd698=_0x4a2166['VtUok'](_0x4a2166['VtUok'](_0x522821=_0x8dc1ad[_0x3192(0x17)],null)||_0x4a2166['VtUok'](_0x522821,void 0x0)?void 0x0:_0x522821[_0x3192(0x1a)],!![])||_0x4a2166[_0x3192(0x46)](_0x4a2166[_0x3192(0x47)](_0x28725f=_0x8dc1ad['temporaryMode'],null)||_0x4a2166[_0x3192(0x48)](_0x28725f,void 0x0)?void 0x0:_0x28725f[_0x3192(0x1d)],!![])||_0x8dc1ad['isTemporaryMode']===!![]||_0x8dc1ad[_0x3192(0x1e)]&&_0x8dc1ad[_0x3192(0x1e)]['includes'](_0x4a2166[_0x3192(0x49)]),_0x547eb0=_0x8dc1ad['validation'][_0x3192(0x1f)]===!![],_0x210a94=_0x4a2166[_0x3192(0x4a)](_0x8dc1ad['validation'][_0x3192(0x26)],!![]);if(_0x1fd698)return console[_0x3192(0x20)](_0x4a2166[_0x3192(0x4b)]),console[_0x3192(0x20)](_0x4a2166['Vkpbo']),{'isReady':!![],'mode':_0x3192(0x4c),'needsMigration':![],'trainingReady':!![],'details':_0x8dc1ad};else{if(_0x547eb0)return _0x4a2166[_0x3192(0x4a)](_0x3192(0x4d),_0x3192(0x4e))?(_0xcccfdb[_0x3192(0x20)](_0x4a2166[_0x3192(0x4f)]),![]):(console['log'](_0x3192(0x50)),{'isReady':!![],'mode':_0x4a2166['PVHaB'],'needsMigration':![],'trainingReady':!![],'details':_0x8dc1ad});else return _0x210a94?(console[_0x3192(0x20)](_0x4a2166['nEVtg']),{'isReady':![],'mode':_0x4a2166['aeBDw'],'needsMigration':!![],'trainingReady':![],'details':_0x8dc1ad}):(console[_0x3192(0x20)](_0x3192(0x51)),{'isReady':![],'mode':_0x4a2166[_0x3192(0x52)],'needsMigration':![],'trainingReady':![],'details':_0x8dc1ad});}}return console[_0x3192(0x20)](_0x4a2166[_0x3192(0x53)]),{'isReady':![],'mode':_0x4a2166[_0x3192(0x52)],'needsMigration':![],'trainingReady':![],'details':_0x8dc1ad};}else return _0x54fc0d[_0x3192(0x20)](_0x4a2166[_0x3192(0x54)]),_0x2ea3dd[_0x3192(0x20)](_0x4a2166[_0x3192(0x55)]),![];}catch(_0x1dab86){return console[_0x3192(0x2f)](_0x4a2166[_0x3192(0x56)],_0x1dab86),{'isReady':![],'mode':_0x4a2166['XNwGF'],'needsMigration':![],'trainingReady':![],'details':{'error':_0x1dab86 instanceof Error?_0x1dab86['message']:_0x4a2166['ezPfc'](String,_0x1dab86)}};}};const showYouTubeMigrationPrompt=async()=>{const _0x40c33b={'bTeGf':function(_0x3a2643,_0x1e97cf){return _0x3a2643===_0x1e97cf;},'Wkpwj':_0x3192(0x57),'htEqx':_0x3192(0x58),'KhldJ':_0x3192(0x59),'AyDgE':_0x3192(0x5a),'jVUPh':'Skip\x20for\x20Now','EOquv':_0x3192(0x5b),'HfQHX':'Upgrade\x20Now'};return new Promise(_0xaeef4b=>{const _0x3bc30a={'OAwJs':_0x3192(0x3f)};if(_0x40c33b[_0x3192(0x5c)](_0x40c33b[_0x3192(0x5d)],_0x40c33b[_0x3192(0x5e)]))return _0x42b696[_0x3192(0x20)](_0x3192(0x51)),{'isReady':![],'mode':_0x3bc30a['OAwJs'],'needsMigration':![],'trainingReady':![],'details':_0x3f2fbf};else Alert[_0x3192(0x5f)](_0x40c33b['KhldJ'],_0x40c33b['AyDgE'],[{'text':_0x40c33b[_0x3192(0x60)],'style':_0x40c33b[_0x3192(0x61)],'onPress':()=>_0xaeef4b(![])},{'text':_0x40c33b[_0x3192(0x62)],'style':_0x3192(0x63),'onPress':()=>_0xaeef4b(!![])}]);});},forceYouTubeReconnection=async _0x51446e=>{const _0x3f3982={'yjSPV':_0x3192(0x3e),'pUPCz':'Upgrade\x20Failed\x20❌','uUMRW':_0x3192(0x63),'psPjc':'🔄\x20Starting\x20YouTube\x20migration\x20for\x20user:','miQIt':function(_0x422e25){return _0x422e25();},'JZfLA':_0x3192(0x64),'ZDwvE':_0x3192(0x65),'XgAQB':_0x3192(0x66),'nWMnh':_0x3192(0x67),'NxEUe':function(_0x28bdaf,_0x2fa98a){return _0x28bdaf!==_0x2fa98a;},'DHoWn':_0x3192(0x68),'XbrYS':function(_0xfda65d,_0x5a4487){return _0xfda65d!==_0x5a4487;},'Ljnkt':'Available','vJGmC':_0x3192(0x69),'mLsmN':function(_0x23b531,_0x463f7f){return _0x23b531===_0x463f7f;},'ZFGpz':_0x3192(0x6a),'QWcaT':_0x3192(0x6b),'evaZc':'\x20\x20\x203.\x20User\x20did\x20not\x20grant\x20offline\x20access\x20permission','VCcDv':'❌\x20No\x20refresh\x20token\x20received\x20-\x20Google\x20Console\x20configuration\x20may\x20be\x20incorrect','jNWKl':_0x3192(0xc),'WHKOy':'\x20\x20\x202.\x20forceCodeForRefreshToken:\x20true\x20is\x20missing','dbNxg':'✅\x20Got\x20refresh\x20token\x20after\x20consent:','PSTvc':function(_0x37a188,_0x2f1a7f){return _0x37a188+_0x2f1a7f;},'zAjHk':_0x3192(0x6c),'qoihp':'🔑\x20Refresh\x20token\x20source:','kIdjh':_0x3192(0x6d),'iPyZW':_0x3192(0x6e),'kobnl':'auth_token','eyUdJ':'migration_token_placeholder','OvVul':_0x3192(0x6f),'NWSkB':_0x3192(0x70),'CjBhb':function(_0x394dcb,_0x412af8){return _0x394dcb===_0x412af8;},'zuHua':function(_0x2f5e17,_0x376f81){return _0x2f5e17===_0x376f81;},'SXuVn':_0x3192(0x71),'LAkgJ':function(_0x4f6362,_0x20f5c3,_0x228f4b){return _0x4f6362(_0x20f5c3,_0x228f4b);},'CIaql':'your-api-key','tzFHE':_0x3192(0x72),'PnGGS':'❌\x20Backend\x20rejected\x20YouTube\x20migration:','ioFJO':function(_0x19d11d,_0x13d7dd,_0x1fefc7,_0x3dabfd){return _0x19d11d(_0x13d7dd,_0x1fefc7,_0x3dabfd);},'FWTjY':_0x3192(0x73),'ZXBNp':function(_0x2c28da,_0x41c9da,_0x5a964e,_0x4c549f){return _0x2c28da(_0x41c9da,_0x5a964e,_0x4c549f);},'hllHT':function(_0x57fe20,_0x3882a2){return _0x57fe20 instanceof _0x3882a2;},'crFzj':_0x3192(0x74)};try{var _0x597d9c,_0x39cbf8,_0x5373a5,_0x23b64f;console[_0x3192(0x20)](_0x3f3982[_0x3192(0x75)],_0x51446e),_0x3f3982[_0x3192(0x76)](configureGoogleSignInForRefreshTokens),await GoogleSignin[_0x3192(0x77)](),console['log'](_0x3f3982[_0x3192(0x78)]);try{const _0x430147=await GoogleSignin['getTokens']();_0x430147['accessToken']&&(await GoogleSignin[_0x3192(0x79)](_0x430147['accessToken']),console[_0x3192(0x20)](_0x3192(0x7a)));}catch(_0x356436){console[_0x3192(0x20)](_0x3f3982[_0x3192(0x7b)]);}await GoogleSignin[_0x3192(0x7c)](),console[_0x3192(0x20)](_0x3192(0x7d));const _0x44999e=await GoogleSignin['signIn'](),_0xce9551=await GoogleSignin[_0x3192(0x7e)](),_0x54c355=await GoogleSignin[_0x3192(0x7f)]();let _0x13b150=null,_0x747afd=_0x3f3982['XgAQB'];if(_0x44999e[_0x3192(0x2c)]){if(_0x3f3982['nWMnh']!==_0x3192(0x80))_0x13b150=_0x44999e[_0x3192(0x2c)],_0x747afd=_0x3192(0x81);else return _0x1a1191[_0x3192(0x20)](_0x3192(0x3d)),{'isReady':![],'mode':_0x3f3982[_0x3192(0x82)],'needsMigration':!![],'trainingReady':![],'details':_0x5a9ca9};}else _0x3f3982[_0x3192(0x83)](_0x54c355,null)&&_0x54c355!==void 0x0&&_0x54c355[_0x3192(0x2c)]&&(_0x13b150=_0x54c355['serverAuthCode'],_0x747afd=_0x3192(0x9));console[_0x3192(0x20)](_0x3f3982[_0x3192(0x84)],{'hasAccessToken':!!_0xce9551[_0x3192(0x85)],'hasIdToken':!!_0xce9551[_0x3192(0x86)],'hasServerAuthCode':!!_0x44999e['serverAuthCode'],'hasCurrentUserAuthCode':!!(_0x54c355!==null&&_0x3f3982[_0x3192(0x87)](_0x54c355,void 0x0)&&_0x54c355[_0x3192(0x2c)]),'refreshTokenSource':_0x747afd,'finalRefreshToken':_0x13b150?_0x3f3982[_0x3192(0x88)]:_0x3f3982[_0x3192(0x89)],'userEmail':(_0x597d9c=_0x44999e[_0x3192(0x8a)])===null||_0x3f3982[_0x3192(0x8b)](_0x597d9c,void 0x0)?void 0x0:_0x597d9c['email']});if(!_0x13b150){if(_0x3f3982[_0x3192(0x8c)]!==_0x3f3982['ZFGpz'])return Alert[_0x3192(0x5f)](_0x3f3982[_0x3192(0x8d)],_0x3192(0x8e),[{'text':'OK','style':_0x3f3982['uUMRW']}]),![];else{const _0x35b3fc=_0x3f3982['QWcaT'][_0x3192(0x2e)]('|');let _0x2a1757=0x0;while(!![]){switch(_0x35b3fc[_0x2a1757++]){case'0':console[_0x3192(0x2f)](_0x3f3982['evaZc']);continue;case'1':console[_0x3192(0x2f)]('\x20\x20\x201.\x20offlineAccess:\x20true\x20is\x20missing\x20from\x20configuration');continue;case'2':console['error'](_0x3f3982[_0x3192(0x8f)]);continue;case'3':console['error'](_0x3f3982[_0x3192(0x90)]);continue;case'4':return![];case'5':console[_0x3192(0x2f)](_0x3f3982['WHKOy']);continue;}break;}}}console[_0x3192(0x20)](_0x3f3982[_0x3192(0x91)],_0x3f3982[_0x3192(0x92)](_0x13b150['substring'](0x0,0x14),_0x3f3982[_0x3192(0x93)])),console[_0x3192(0x20)](_0x3f3982['qoihp'],_0x747afd);let _0x592fe8=await AsyncStorage[_0x3192(0x94)](_0x3f3982['kIdjh'])||await AsyncStorage[_0x3192(0x94)](_0x3f3982[_0x3192(0x95)])||await AsyncStorage[_0x3192(0x94)](_0x3f3982[_0x3192(0x96)]);!_0x592fe8&&(console[_0x3192(0x97)](_0x3192(0x98)),_0x592fe8=_0x3f3982['eyUdJ']);const _0x1655e8={'session':{'username':_0x51446e,'platform':_0x3f3982[_0x3192(0x99)],'channelName':((_0x39cbf8=_0x44999e['user'])===null||_0x3f3982[_0x3192(0x8b)](_0x39cbf8,void 0x0)?void 0x0:_0x39cbf8[_0x3192(0x9a)])||_0x3f3982[_0x3192(0x9b)],'channelId':null},'googleUser':_0x44999e[_0x3192(0x8a)],'accessToken':_0xce9551['accessToken'],'idToken':_0xce9551[_0x3192(0x86)],'refreshToken':_0x13b150,'serverAuthCode':_0x44999e['serverAuthCode'],'userAccountInfo':{'username':_0x51446e,'email':_0x3f3982[_0x3192(0x8b)](_0x5373a5=_0x44999e['user'],null)||_0x3f3982[_0x3192(0x8b)](_0x5373a5,void 0x0)?void 0x0:_0x5373a5[_0x3192(0x9c)],'authToken':_0x592fe8,'channelName':(_0x3f3982[_0x3192(0x9d)](_0x23b64f=_0x44999e['user'],null)||_0x3f3982[_0x3192(0x9e)](_0x23b64f,void 0x0)?void 0x0:_0x23b64f['name'])||'YouTube\x20Channel','channelId':null}};console[_0x3192(0x20)](_0x3f3982[_0x3192(0x9f)]);const _0x268b61=await _0x3f3982[_0x3192(0xa0)](fetch,API_CONFIG[_0x3192(0x43)]+'/youtube/native-auth',{'method':'POST','headers':{'Content-Type':'application/json','x-api-key':_0x3f3982[_0x3192(0xa1)],..._0x3f3982[_0x3192(0x87)](_0x592fe8,_0x3f3982[_0x3192(0xa2)])&&{'Authorization':_0x3192(0xa3)+_0x592fe8}},'body':JSON[_0x3192(0xa4)](_0x1655e8)}),_0x473983=await _0x268b61[_0x3192(0x16)]();return _0x473983[_0x3192(0x45)]?_0x3f3982[_0x3192(0xa5)]!==_0x3f3982[_0x3192(0xa5)]?(_0x24d0d9['log']('✅\x20[MIGRATION\x20WARNING]\x20NO\x20WARNING\x20-\x20connection\x20is\x20working\x20properly'),![]):(console[_0x3192(0x20)](_0x3192(0xa6)),await trackMigrationAttempt(_0x51446e,!![]),!![]):(console['error'](_0x3f3982[_0x3192(0xa7)],_0x473983[_0x3192(0x2f)]),await _0x3f3982['ioFJO'](trackMigrationAttempt,_0x51446e,![],_0x473983[_0x3192(0x2f)]),![]);}catch(_0x3ce877){return console['error'](_0x3f3982['FWTjY'],_0x3ce877),await _0x3f3982['ZXBNp'](trackMigrationAttempt,_0x51446e,![],_0x3f3982[_0x3192(0xa8)](_0x3ce877,Error)?_0x3ce877[_0x3192(0x1e)]:_0x3f3982[_0x3192(0xa9)]),![];}},trackMigrationAttempt=async(_0xdbb515,_0x495bb4,_0x2cabf9)=>{const _0x47627c={'HyAwC':function(_0x1c4333,_0x9d401b){return _0x1c4333===_0x9d401b;},'usFCQ':function(_0x248e0b,_0x17609c){return _0x248e0b===_0x17609c;},'cbfyx':function(_0x3810a0,_0x5d8b81){return _0x3810a0===_0x5d8b81;},'nwSaO':function(_0x2906d2,_0x433096){return _0x2906d2===_0x433096;},'EjsAB':_0x3192(0xaa),'PLrKv':_0x3192(0x36),'TxnWn':function(_0x5594d2,_0x34837f){return _0x5594d2&&_0x34837f;},'ENIYE':'⚠️\x20[MIGRATION\x20WARNING]\x20SHOW\x20WARNING\x20-\x20genuinely\x20old\x20connection\x20needs\x20update','agJce':_0x3192(0xab),'TBbCf':_0x3192(0xac),'WRpLw':function(_0x3e2e3b,_0x47cfa7,_0x12a95e){return _0x3e2e3b(_0x47cfa7,_0x12a95e);},'XPbXp':function(_0x587dd9,_0x5baaa7){return _0x587dd9||_0x5baaa7;},'COYPA':_0x3192(0xad)};try{if(_0x47627c[_0x3192(0xae)](_0x47627c[_0x3192(0xaf)],_0x47627c[_0x3192(0xaf)]))await _0x47627c[_0x3192(0xb0)](fetch,API_CONFIG[_0x3192(0x43)]+'/youtube/migration-status',{'method':'POST','headers':{'Content-Type':'application/json'},'body':JSON[_0x3192(0xa4)]({'username':_0xdbb515,'success':_0x495bb4,'error':_0x47627c[_0x3192(0xb1)](_0x2cabf9,null),'timestamp':new Date()[_0x3192(0xb2)]()})});else{var _0x20326d,_0x36f267;const _0x3cc97c=_0x47627c[_0x3192(0xae)](_0x47627c[_0x3192(0xae)](_0x20326d=_0x5c9fc1[_0x3192(0x17)],null)||_0x47627c['HyAwC'](_0x20326d,void 0x0)?void 0x0:_0x20326d['isTemporaryMode'],!![])||(_0x47627c[_0x3192(0xb3)](_0x36f267=_0xf4e036[_0x3192(0x1c)],null)||_0x36f267===void 0x0?void 0x0:_0x36f267['enabled'])===!![]||_0x47627c[_0x3192(0xb3)](_0x5c8867['isTemporaryMode'],!![]),_0x2339b4=_0x47627c[_0x3192(0xb4)](_0x132e71[_0x3192(0x17)]['hasAccessToken'],!![]),_0x45dc7e=_0x2620c9[_0x3192(0x17)]['hasRefreshToken']===!![],_0x595194=_0x47627c[_0x3192(0xb5)](_0x50246d[_0x3192(0x17)][_0x3192(0x26)],!![]);_0x4b35d6[_0x3192(0x20)](_0x47627c['EjsAB'],{'username':_0x33bbde,'hasAccessToken':_0x2339b4,'hasRefreshToken':_0x45dc7e,'needsReconnection':_0x595194,'isTemporaryMode':_0x3cc97c,'connectedAt':_0x302ec4[_0x3192(0x17)][_0x3192(0xb6)]});if(_0x3cc97c)return _0x24fb44[_0x3192(0x20)](_0x47627c[_0x3192(0xb7)]),![];else return _0x47627c[_0x3192(0xb8)](_0x2339b4,!_0x45dc7e)&&_0x595194?(_0x335a9f['log'](_0x47627c[_0x3192(0xb9)]),!![]):(_0xf06156[_0x3192(0x20)](_0x47627c[_0x3192(0xba)]),![]);}}catch(_0x137072){console['error'](_0x47627c[_0x3192(0xbb)],_0x137072);}};function _0x3192(_0x465ae4,_0x31925c){_0x465ae4=_0x465ae4-0x0;const _0x1658ed=_0x465a();let _0x5c94b4=_0x1658ed[_0x465ae4];return _0x5c94b4;}export const shouldShowYouTubeMigrationWarning=async _0x384ba9=>{const _0x574e43={'ulOno':_0x3192(0xbc),'vmMmf':_0x3192(0xbd),'GWIHY':function(_0x58bae9,_0x1f450d){return _0x58bae9(_0x1f450d);},'DxCwL':function(_0x286dd7,_0x74b11f){return _0x286dd7===_0x74b11f;},'nkYyH':function(_0x2c9dd7,_0x5e9fc0){return _0x2c9dd7===_0x5e9fc0;},'RPKIg':function(_0x3255a2,_0x45f924){return _0x3255a2===_0x45f924;},'cZmpg':function(_0x2fac8d,_0x3dfed8){return _0x2fac8d===_0x3dfed8;},'AGUvM':function(_0x24f702,_0x1bcab6){return _0x24f702===_0x1bcab6;},'GQoyq':_0x3192(0xaa),'LOyqf':function(_0x3fcafd,_0x10d71f){return _0x3fcafd&&_0x10d71f;},'ogrYQ':_0x3192(0xbe),'Oyaju':'✅\x20[MIGRATION\x20WARNING]\x20NO\x20WARNING\x20-\x20connection\x20is\x20working\x20properly','gRXmZ':_0x3192(0xbf),'ISFkc':_0x3192(0xc0)};try{console[_0x3192(0x20)](_0x574e43[_0x3192(0xc1)],_0x384ba9);const _0x3a446a=await _0x574e43['GWIHY'](fetch,API_CONFIG[_0x3192(0x43)]+_0x3192(0x15)+_0x384ba9),_0x9fa81a=await _0x3a446a[_0x3192(0x16)]();if(_0x9fa81a[_0x3192(0x45)]&&_0x9fa81a['validation']){var _0x15002a,_0x49db07;const _0x48a180=_0x574e43[_0x3192(0xc2)]((_0x15002a=_0x9fa81a[_0x3192(0x17)])===null||_0x574e43[_0x3192(0xc3)](_0x15002a,void 0x0)?void 0x0:_0x15002a['isTemporaryMode'],!![])||_0x574e43[_0x3192(0xc2)]((_0x49db07=_0x9fa81a[_0x3192(0x1c)])===null||_0x574e43[_0x3192(0xc4)](_0x49db07,void 0x0)?void 0x0:_0x49db07['enabled'],!![])||_0x574e43[_0x3192(0xc2)](_0x9fa81a['isTemporaryMode'],!![]),_0x2ec602=_0x9fa81a[_0x3192(0x17)][_0x3192(0xc5)]===!![],_0x26a9bc=_0x574e43[_0x3192(0xc6)](_0x9fa81a['validation'][_0x3192(0x1f)],!![]),_0x2668e5=_0x574e43[_0x3192(0xc7)](_0x9fa81a[_0x3192(0x17)][_0x3192(0x26)],!![]);console[_0x3192(0x20)](_0x574e43[_0x3192(0xc8)],{'username':_0x384ba9,'hasAccessToken':_0x2ec602,'hasRefreshToken':_0x26a9bc,'needsReconnection':_0x2668e5,'isTemporaryMode':_0x48a180,'connectedAt':_0x9fa81a['validation'][_0x3192(0xb6)]});if(_0x48a180)return console[_0x3192(0x20)](_0x3192(0x36)),![];else return _0x574e43[_0x3192(0xc9)](_0x2ec602,!_0x26a9bc)&&_0x2668e5?(console['log'](_0x574e43[_0x3192(0xca)]),!![]):_0x3192(0xcb)!==_0x3192(0xcc)?(console[_0x3192(0x20)](_0x574e43['Oyaju']),![]):(_0x166be8['log'](_0x574e43[_0x3192(0xcd)]),!![]);}return console[_0x3192(0x20)](_0x574e43[_0x3192(0xce)]),![];}catch(_0x5c5d98){return console['error'](_0x574e43['ISFkc'],_0x5c5d98),![];}};export const checkAndFixYouTubeConnection=async _0x370ee4=>{const _0x23631f={'rVaUI':_0x3192(0x50),'YXvYa':'full','BTiZL':'🔧\x20User\x20needs\x20YouTube\x20migration\x20for\x20refresh\x20token','ezwBe':'YouTube\x20Upgraded!\x20✅','mAstk':_0x3192(0xcf),'rEqBs':_0x3192(0x63),'RTCLQ':function(_0x379590,_0x48c59c){return _0x379590!==_0x48c59c;},'Mppjs':'pCxQm','gfMAM':'🔄\x20Checking\x20YouTube\x20connection\x20for\x20user:','dhfMC':'🚫\x20[MIGRATION]\x20NO\x20MIGRATION\x20NEEDED\x20-\x20user\x20connection\x20is\x20working\x20correctly','VwJuH':_0x3192(0xd0),'ebkhW':function(_0x48bfb4,_0x2f4cf3){return _0x48bfb4(_0x2f4cf3);},'fvpSW':_0x3192(0xd1),'jwyhp':function(_0x34b751){return _0x34b751();},'NHWJn':function(_0x5cb195,_0xedc577){return _0x5cb195===_0xedc577;},'GdMLa':_0x3192(0xd2),'sNRGW':'KubgX','dRwHl':_0x3192(0xd3),'SxZJp':function(_0x54cdda,_0x5078ca){return _0x54cdda(_0x5078ca);},'nMzRG':'oaZVz','tBYPo':_0x3192(0xd4),'xLlsE':'TgJNy','UtYGK':_0x3192(0xd5),'uJocc':_0x3192(0xd6),'IiLAA':_0x3192(0x8e),'zIWBu':_0x3192(0xd7)};try{if(_0x23631f[_0x3192(0xd8)](_0x23631f[_0x3192(0xd9)],_0x23631f[_0x3192(0xd9)]))return _0x55c34e[_0x3192(0x20)](_0x23631f['rVaUI']),{'isReady':!![],'mode':_0x23631f[_0x3192(0xda)],'needsMigration':![],'trainingReady':!![],'details':_0x3060a6};else{console[_0x3192(0x20)](_0x23631f['gfMAM'],_0x370ee4);const _0x46c6c1=await shouldShowYouTubeMigrationWarning(_0x370ee4);if(!_0x46c6c1)return console[_0x3192(0x20)](_0x23631f[_0x3192(0xdb)]),console[_0x3192(0x20)](_0x23631f['VwJuH']),!![];const _0x5c6a41=await _0x23631f[_0x3192(0xdc)](checkYouTubeMigrationNeeded,_0x370ee4);if(!_0x5c6a41)return console[_0x3192(0x20)](_0x3192(0xbc)),!![];console[_0x3192(0x20)](_0x23631f[_0x3192(0xdd)]);const _0x4cd889=await _0x23631f[_0x3192(0xde)](showYouTubeMigrationPrompt);if(!_0x4cd889)return _0x23631f[_0x3192(0xdf)](_0x23631f['GdMLa'],_0x23631f[_0x3192(0xe0)])?(_0x11c125['log'](_0x23631f[_0x3192(0xe1)]),!![]):(console[_0x3192(0x20)](_0x23631f['dRwHl']),![]);const _0x1c7775=await _0x23631f[_0x3192(0xe2)](forceYouTubeReconnection,_0x370ee4);return _0x1c7775?_0x23631f['NHWJn'](_0x3192(0xe3),_0x23631f['nMzRG'])?(_0x507a1c[_0x3192(0x2f)](_0x3192(0xd7),_0x261a61),![]):(Alert[_0x3192(0x5f)]('YouTube\x20Upgraded!\x20✅',_0x23631f[_0x3192(0xe4)],[{'text':_0x23631f[_0x3192(0xe5)],'style':_0x23631f[_0x3192(0xe6)]}]),!![]):_0x23631f[_0x3192(0xd8)](_0x23631f[_0x3192(0xe7)],_0x23631f['UtYGK'])?(Alert[_0x3192(0x5f)](_0x23631f[_0x3192(0xe8)],_0x23631f['IiLAA'],[{'text':'OK','style':_0x3192(0x63)}]),![]):(Alert[_0x3192(0x5f)](_0x23631f[_0x3192(0xe9)],_0x3192(0xd4),[{'text':_0x23631f[_0x3192(0xe5)],'style':_0x23631f[_0x3192(0xe6)]}]),!![]);}}catch(_0x1ed05b){return console['error'](_0x23631f[_0x3192(0xea)],_0x1ed05b),![];}};export const reconnectYouTube=async _0x432e6c=>{const _0x313e12={'pneWU':_0x3192(0xeb)};return console[_0x3192(0x20)](_0x313e12[_0x3192(0xec)],_0x432e6c),await forceYouTubeReconnection(_0x432e6c);};
@@ -1 +1 @@
1
- import{Platform}from'react-native';export const COLORS={'surface':_0xfb78(0x0),'grey300':_0xfb78(0x1),'grey400':_0xfb78(0x2),'grey500':_0xfb78(0x3),'grey600':_0xfb78(0x4),'grey700':_0xfb78(0x5),'grey800':_0xfb78(0x6),'btnGradStart':_0xfb78(0x7),'btnGradEnd':'#17181C','btnBorder':_0xfb78(0x8),'btnShadowOuter':_0xfb78(0x9),'btnInnerShadow':_0xfb78(0xa),'btnLabel':_0xfb78(0xb),'iconCircleGradientStart':_0xfb78(0xc),'iconCircleGradientEnd':_0xfb78(0xd),'primary':'#FFD700','primaryDark':_0xfb78(0xe),'primaryLight':'#FFDF33','background':{'dark':_0xfb78(0xf),'medium':'#121212','light':_0xfb78(0x10)},'text':{'primary':_0xfb78(0xb),'secondary':'#B0B0B0','tertiary':_0xfb78(0x11),'gold':_0xfb78(0x12)},'ui':{'cardBackground':_0xfb78(0x13),'divider':_0xfb78(0x13),'inputBackground':_0xfb78(0x13),'buttonBackground':'rgba(255,\x20255,\x20255,\x200.1)'},'status':{'success':_0xfb78(0x14),'error':_0xfb78(0x15),'warning':'#FF9500','info':'#5AC8FA'},'transparent':_0xfb78(0x16),'overlay':_0xfb78(0x17)};export const FONTS={'families':{'ibmPlexSans':Platform['OS']===_0xfb78(0x18)?'IBM\x20Plex\x20Sans':'IBM\x20Plex\x20Sans','ibmPlexSansBold':Platform['OS']===_0xfb78(0x18)?_0xfb78(0x19):_0xfb78(0x19),'inter':Platform['OS']==='ios'?_0xfb78(0x1a):_0xfb78(0x1b),'base':Platform['OS']===_0xfb78(0x18)?_0xfb78(0x1c):_0xfb78(0x1d),'serif':Platform['OS']===_0xfb78(0x18)?_0xfb78(0x1e):_0xfb78(0x1f)},'weights':{'light':_0xfb78(0x20),'regular':'400','medium':_0xfb78(0x21),'semibold':_0xfb78(0x22),'bold':_0xfb78(0x23)},'sizes':{'xs':0xc,'sm':0xe,'md':0x10,'lg':0x12,'xl':0x14,'xxl':0x18,'xxxl':0x1c,'title':0x20,'large':0x2a,'kicker':0x12,'welcomeTitle':0x30,'body':0x10,'buttonLabel':0x10},'lineHeights':{'kicker':0x14,'welcomeTitle':0x36,'body':0x18,'sm':0x10,'md':0x14,'lg':0x18,'xl':0x1c},'letterSpacing':{'kicker':-0.24,'tight':-0.5,'normal':0x0,'wide':0.5}};export const SPACING={'xs':0x4,'sm':0x8,'md':0x10,'lg':0x18,'xl':0x20,'xxl':0x30,'xxxl':0x40,'modalTopPadding':0x76,'modalHorizontal':0x18};function _0x21a6(){const _0x378811=['#FAFAFA','#D1D5DB','#9CA3AF','#86888E','#62646C','#374151','#1F242F','#29292B','rgba(0,0,0,0.20)','rgba(0,0,0,0.10)','rgba(0,0,0,0.06)','#FFFFFF','#0A090E','#17171B','#E9B104','#000000','#1C2526','#808080','#FFD700','rgba(255,\x20255,\x20255,\x200.1)','#4BB543','#FF3B30','transparent','rgba(0,\x200,\x200,\x200.7)','ios','IBM\x20Plex\x20Sans','Inter','Inter-Regular','System','Roboto','Georgia','serif','300','500','600','700','primary','btnInnerShadow','btnShadowOuter','ibmPlexSansBold','bold','sizes','kicker','lineHeights','grey500','families','weights','welcomeTitle','grey800','regular','body','center','grey600','inter','semibold','buttonLabel','btnLabel'];_0x21a6=function(){return _0x378811;};return _0x21a6();}export const BORDER_RADIUS={'xs':0x4,'sm':0x8,'md':0x10,'lg':0x18,'xl':0x20,'pill':0x64,'circle':0x3e7,'modalTop':0x18,'buttonPill':0x64};export const SHADOWS={'small':{'shadowColor':COLORS[_0xfb78(0x24)],'shadowOffset':{'width':0x0,'height':0x2},'shadowOpacity':0.3,'shadowRadius':0x4,'elevation':0x3},'medium':{'shadowColor':COLORS[_0xfb78(0x24)],'shadowOffset':{'width':0x0,'height':0x4},'shadowOpacity':0.5,'shadowRadius':0x8,'elevation':0x5},'large':{'shadowColor':COLORS[_0xfb78(0x24)],'shadowOffset':{'width':0x0,'height':0x6},'shadowOpacity':0.8,'shadowRadius':0x10,'elevation':0x8},'button':{'inner':{'shadowColor':COLORS[_0xfb78(0x25)],'shadowOffset':{'width':0x0,'height':-0x24},'shadowOpacity':0x1,'shadowRadius':21.1},'outer':{'shadowColor':COLORS[_0xfb78(0x26)],'shadowOffset':{'width':0x14,'height':0x1e},'shadowOpacity':0x1,'shadowRadius':0x28,'elevation':0x8}},'brandMark':{'shadowColor':'#000000','shadowOffset':{'width':0x0,'height':0x4},'shadowOpacity':0.1,'shadowRadius':0x8,'elevation':0x4}};export const TEXT_STYLES={'kicker':{'fontFamily':FONTS['families'][_0xfb78(0x27)],'fontWeight':FONTS['weights'][_0xfb78(0x28)],'fontSize':FONTS[_0xfb78(0x29)][_0xfb78(0x2a)],'lineHeight':FONTS[_0xfb78(0x2b)][_0xfb78(0x2a)],'letterSpacing':FONTS['letterSpacing']['kicker'],'color':COLORS[_0xfb78(0x2c)]},'welcomeTitle':{'fontFamily':FONTS[_0xfb78(0x2d)][_0xfb78(0x27)],'fontWeight':FONTS[_0xfb78(0x2e)][_0xfb78(0x28)],'fontSize':FONTS['sizes'][_0xfb78(0x2f)],'lineHeight':FONTS[_0xfb78(0x2b)][_0xfb78(0x2f)],'color':COLORS[_0xfb78(0x30)]},'body':{'fontFamily':FONTS[_0xfb78(0x2d)]['inter'],'fontWeight':FONTS[_0xfb78(0x2e)][_0xfb78(0x31)],'fontSize':FONTS['sizes'][_0xfb78(0x32)],'lineHeight':FONTS[_0xfb78(0x2b)][_0xfb78(0x32)],'textAlign':_0xfb78(0x33),'color':COLORS[_0xfb78(0x34)]},'buttonLabel':{'fontFamily':FONTS['families'][_0xfb78(0x35)],'fontWeight':FONTS[_0xfb78(0x2e)][_0xfb78(0x36)],'fontSize':FONTS[_0xfb78(0x29)][_0xfb78(0x37)],'color':COLORS[_0xfb78(0x38)]}};function _0xfb78(_0x21a63f,_0xfb7836){_0x21a63f=_0x21a63f-0x0;const _0x1dbe74=_0x21a6();let _0x2cb8e4=_0x1dbe74[_0x21a63f];return _0x2cb8e4;}export default{'COLORS':COLORS,'FONTS':FONTS,'SPACING':SPACING,'BORDER_RADIUS':BORDER_RADIUS,'SHADOWS':SHADOWS,'TEXT_STYLES':TEXT_STYLES};
1
+ import{Platform}from'react-native';export const COLORS={'surface':_0x484f(0x0),'grey300':_0x484f(0x1),'grey400':_0x484f(0x2),'grey500':_0x484f(0x3),'grey600':'#62646C','grey700':_0x484f(0x4),'grey800':_0x484f(0x5),'btnGradStart':_0x484f(0x6),'btnGradEnd':'#17181C','btnBorder':_0x484f(0x7),'btnShadowOuter':_0x484f(0x8),'btnInnerShadow':_0x484f(0x9),'btnLabel':'#FFFFFF','iconCircleGradientStart':'#0A090E','iconCircleGradientEnd':_0x484f(0xa),'primary':'#FFD700','primaryDark':'#E9B104','primaryLight':_0x484f(0xb),'background':{'dark':'#000000','medium':'#121212','light':_0x484f(0xc)},'text':{'primary':_0x484f(0xd),'secondary':'#B0B0B0','tertiary':_0x484f(0xe),'gold':_0x484f(0xf)},'ui':{'cardBackground':_0x484f(0x10),'divider':'rgba(255,\x20255,\x20255,\x200.1)','inputBackground':'rgba(255,\x20255,\x20255,\x200.1)','buttonBackground':_0x484f(0x10)},'status':{'success':_0x484f(0x11),'error':'#FF3B30','warning':'#FF9500','info':'#5AC8FA'},'transparent':_0x484f(0x12),'overlay':_0x484f(0x13)};function _0x4faa(){const _0x3bd682=['#FAFAFA','#D1D5DB','#9CA3AF','#86888E','#374151','#1F242F','#29292B','rgba(0,0,0,0.20)','rgba(0,0,0,0.10)','rgba(0,0,0,0.06)','#17171B','#FFDF33','#1C2526','#FFFFFF','#808080','#FFD700','rgba(255,\x20255,\x20255,\x200.1)','#4BB543','transparent','rgba(0,\x200,\x200,\x200.7)','IBM\x20Plex\x20Sans','ios','System','Georgia','serif','300','400','500','700','primary','btnInnerShadow','#000000','families','ibmPlexSansBold','weights','sizes','kicker','letterSpacing','grey500','bold','welcomeTitle','lineHeights','grey800','inter','regular','body','center','grey600','semibold','buttonLabel','btnLabel'];_0x4faa=function(){return _0x3bd682;};return _0x4faa();}export const FONTS={'families':{'ibmPlexSans':Platform['OS']==='ios'?_0x484f(0x14):'IBM\x20Plex\x20Sans','ibmPlexSansBold':Platform['OS']==='ios'?_0x484f(0x14):_0x484f(0x14),'inter':Platform['OS']==='ios'?'Inter':'Inter-Regular','base':Platform['OS']===_0x484f(0x15)?_0x484f(0x16):'Roboto','serif':Platform['OS']===_0x484f(0x15)?_0x484f(0x17):_0x484f(0x18)},'weights':{'light':_0x484f(0x19),'regular':_0x484f(0x1a),'medium':_0x484f(0x1b),'semibold':'600','bold':_0x484f(0x1c)},'sizes':{'xs':0xc,'sm':0xe,'md':0x10,'lg':0x12,'xl':0x14,'xxl':0x18,'xxxl':0x1c,'title':0x20,'large':0x2a,'kicker':0x12,'welcomeTitle':0x30,'body':0x10,'buttonLabel':0x10},'lineHeights':{'kicker':0x14,'welcomeTitle':0x36,'body':0x18,'sm':0x10,'md':0x14,'lg':0x18,'xl':0x1c},'letterSpacing':{'kicker':-0.24,'tight':-0.5,'normal':0x0,'wide':0.5}};export const SPACING={'xs':0x4,'sm':0x8,'md':0x10,'lg':0x18,'xl':0x20,'xxl':0x30,'xxxl':0x40,'modalTopPadding':0x76,'modalHorizontal':0x18};export const BORDER_RADIUS={'xs':0x4,'sm':0x8,'md':0x10,'lg':0x18,'xl':0x20,'pill':0x64,'circle':0x3e7,'modalTop':0x18,'buttonPill':0x64};export const SHADOWS={'small':{'shadowColor':COLORS['primary'],'shadowOffset':{'width':0x0,'height':0x2},'shadowOpacity':0.3,'shadowRadius':0x4,'elevation':0x3},'medium':{'shadowColor':COLORS[_0x484f(0x1d)],'shadowOffset':{'width':0x0,'height':0x4},'shadowOpacity':0.5,'shadowRadius':0x8,'elevation':0x5},'large':{'shadowColor':COLORS[_0x484f(0x1d)],'shadowOffset':{'width':0x0,'height':0x6},'shadowOpacity':0.8,'shadowRadius':0x10,'elevation':0x8},'button':{'inner':{'shadowColor':COLORS[_0x484f(0x1e)],'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':_0x484f(0x1f),'shadowOffset':{'width':0x0,'height':0x4},'shadowOpacity':0.1,'shadowRadius':0x8,'elevation':0x4}};export const TEXT_STYLES={'kicker':{'fontFamily':FONTS[_0x484f(0x20)][_0x484f(0x21)],'fontWeight':FONTS[_0x484f(0x22)]['bold'],'fontSize':FONTS[_0x484f(0x23)][_0x484f(0x24)],'lineHeight':FONTS['lineHeights'][_0x484f(0x24)],'letterSpacing':FONTS[_0x484f(0x25)][_0x484f(0x24)],'color':COLORS[_0x484f(0x26)]},'welcomeTitle':{'fontFamily':FONTS[_0x484f(0x20)]['ibmPlexSansBold'],'fontWeight':FONTS['weights'][_0x484f(0x27)],'fontSize':FONTS[_0x484f(0x23)][_0x484f(0x28)],'lineHeight':FONTS[_0x484f(0x29)][_0x484f(0x28)],'color':COLORS[_0x484f(0x2a)]},'body':{'fontFamily':FONTS[_0x484f(0x20)][_0x484f(0x2b)],'fontWeight':FONTS[_0x484f(0x22)][_0x484f(0x2c)],'fontSize':FONTS['sizes'][_0x484f(0x2d)],'lineHeight':FONTS[_0x484f(0x29)][_0x484f(0x2d)],'textAlign':_0x484f(0x2e),'color':COLORS[_0x484f(0x2f)]},'buttonLabel':{'fontFamily':FONTS[_0x484f(0x20)]['inter'],'fontWeight':FONTS[_0x484f(0x22)][_0x484f(0x30)],'fontSize':FONTS[_0x484f(0x23)][_0x484f(0x31)],'color':COLORS[_0x484f(0x32)]}};function _0x484f(_0x4faaba,_0x484f4a){_0x4faaba=_0x4faaba-0x0;const _0xa6026d=_0x4faa();let _0x3366e9=_0xa6026d[_0x4faaba];return _0x3366e9;}export default{'COLORS':COLORS,'FONTS':FONTS,'SPACING':SPACING,'BORDER_RADIUS':BORDER_RADIUS,'SHADOWS':SHADOWS,'TEXT_STYLES':TEXT_STYLES};
@@ -1 +1 @@
1
- export let ApiKeyType=function(_0x5c188e){const _0x545a04={'zvKuT':_0x39eb(0x0),'BabJV':_0x39eb(0x1),'TbNqc':_0x39eb(0x2),'DMGbO':_0x39eb(0x3),'murqS':_0x39eb(0x4)};return _0x5c188e[_0x545a04[_0x39eb(0x5)]]=_0x545a04[_0x39eb(0x6)],_0x5c188e[_0x545a04['TbNqc']]=_0x39eb(0x7),_0x5c188e[_0x545a04[_0x39eb(0x8)]]=_0x545a04[_0x39eb(0x9)],_0x5c188e;}({});function _0x39eb(_0x260245,_0x39eb27){_0x260245=_0x260245-0x0;const _0x8c673e=_0x2602();let _0x392a78=_0x8c673e[_0x260245];return _0x392a78;}function _0x2602(){const _0x164a7f=['DEVELOPER','developer','ADMIN','INVALID','invalid','zvKuT','BabJV','admin','DMGbO','murqS'];_0x2602=function(){return _0x164a7f;};return _0x2602();}
1
+ function _0x1005(_0x3e53e7,_0x1005f4){_0x3e53e7=_0x3e53e7-0x0;const _0x15e82c=_0x3e53();let _0x4a3673=_0x15e82c[_0x3e53e7];return _0x4a3673;}export let ApiKeyType=function(_0x50c644){const _0x208125={'rqrGW':_0x1005(0x0)};return _0x50c644[_0x1005(0x1)]=_0x1005(0x2),_0x50c644[_0x1005(0x3)]=_0x1005(0x4),_0x50c644[_0x1005(0x5)]=_0x208125[_0x1005(0x6)],_0x50c644;}({});function _0x3e53(){const _0x7a852e=['invalid','DEVELOPER','developer','ADMIN','admin','INVALID','rqrGW'];_0x3e53=function(){return _0x7a852e;};return _0x3e53();}
@@ -1 +1 @@
1
- import React,{useEffect,useState}from'react';function _0x58b2(_0x4c2f42,_0x58b210){_0x4c2f42=_0x4c2f42-0x0;const _0x12c29e=_0x4c2f();let _0x3caee6=_0x12c29e[_0x4c2f42];return _0x3caee6;}import{View}from'react-native';function _0x4c2f(){const _0x4ce630=['createContext','SKcQP','rWrzx','ydzGC','buHZV','JwSgm','kEJro','createElement','Provider','map','absolute','useContext','bnfWa','HTRGb','gABsv','UcThx'];_0x4c2f=function(){return _0x4ce630;};return _0x4c2f();}const portalRefs={};let portalId=0x0;const PortalContext=React[_0x58b2(0x0)]({'mount':()=>0x0,'update':()=>{},'unmount':()=>{}});export const PortalHost=({children:_0x46352d})=>{const _0x524161={'buHZV':function(_0x221eac,_0x2e81ed){return _0x221eac(_0x2e81ed);},'JwSgm':function(_0x569e51,_0x2b60a9){return _0x569e51!==_0x2b60a9;},'HudJe':_0x58b2(0x1)},[_0x32df8a,_0x20149e]=useState({}),_0x1cbbb3=_0x52e15a=>{if(_0x58b2(0x2)!==_0x58b2(0x3)){const _0x145f2c=++portalId;return _0x20149e(_0x6e8d24=>({..._0x6e8d24,[_0x145f2c]:_0x52e15a})),_0x145f2c;}else _0x524161[_0x58b2(0x4)](_0x258383,_0x742a9a=>({..._0x742a9a,[_0x53bfcd]:_0x4cec76}));},_0x5f0440=(_0x40781c,_0x22dcb1)=>{_0x20149e(_0x4f3f9a=>({..._0x4f3f9a,[_0x40781c]:_0x22dcb1}));},_0x47049f=_0x335719=>{_0x20149e(_0x33582e=>{if(_0x524161[_0x58b2(0x5)](_0x524161['HudJe'],_0x58b2(0x6))){const _0x4376ee={..._0x33582e};return delete _0x4376ee[_0x335719],_0x4376ee;}else{if(_0x3eeda2)_0x50eb4d(_0x40afcf);}});};return React[_0x58b2(0x7)](PortalContext[_0x58b2(0x8)],{'value':{'mount':_0x1cbbb3,'update':_0x5f0440,'unmount':_0x47049f}},_0x46352d,Object['keys'](_0x32df8a)[_0x58b2(0x9)](_0xc9e6ea=>React[_0x58b2(0x7)](View,{'key':_0xc9e6ea,'style':{'position':_0x58b2(0xa),'top':0x0,'left':0x0,'right':0x0,'bottom':0x0,'zIndex':0x270f}},_0x32df8a[Number(_0xc9e6ea)])));};export const Portal=({children:_0x2b2754})=>{const _0x407bfa={'HTRGb':function(_0x177ba0,_0x658bd6){return _0x177ba0(_0x658bd6);},'gABsv':function(_0x21f6ce,_0x585a02){return _0x21f6ce(_0x585a02);},'UcThx':function(_0x4a14fc,_0x26d794){return _0x4a14fc!==_0x26d794;},'bnfWa':function(_0x1746b1,_0x3f023c,_0x45630f){return _0x1746b1(_0x3f023c,_0x45630f);}},{mount:_0x333756,update:_0x23cd22,unmount:_0x4bf875}=React[_0x58b2(0xb)](PortalContext),[_0x5ab39c,_0x3b1671]=useState(null);return _0x407bfa[_0x58b2(0xc)](useEffect,()=>{const _0x541e43=_0x407bfa[_0x58b2(0xd)](_0x333756,_0x2b2754);return _0x407bfa[_0x58b2(0xe)](_0x3b1671,_0x541e43),()=>{if(_0x5ab39c)_0x4bf875(_0x5ab39c);};},[]),useEffect(()=>{_0x407bfa[_0x58b2(0xf)](_0x5ab39c,null)&&_0x407bfa[_0x58b2(0xc)](_0x23cd22,_0x5ab39c,_0x2b2754);},[_0x2b2754,_0x5ab39c]),null;};
1
+ import React,{useEffect,useState}from'react';function _0x368b(){const _0xd6ace=['BqGfC','FaFTw','SWUpM','FqUUi','xWWYi','UQxDy','MDsxV','AOZRF','eintc','afVzD','Provider','createElement','absolute','CFHFj','UuSlc','avvmA','CYhAs','cgNLF','VSMLf','qrlbq'];_0x368b=function(){return _0xd6ace;};return _0x368b();}function _0x2d84(_0x368bb2,_0x2d8484){_0x368bb2=_0x368bb2-0x0;const _0x40306a=_0x368b();let _0x17c380=_0x40306a[_0x368bb2];return _0x17c380;}import{View}from'react-native';const portalRefs={};let portalId=0x0;const PortalContext=React['createContext']({'mount':()=>0x0,'update':()=>{},'unmount':()=>{}});export const PortalHost=({children:_0x3ddddc})=>{const _0xdeeba4={'xWWYi':function(_0x42fb0b,_0xdae4f3){return _0x42fb0b===_0xdae4f3;},'AwgJG':_0x2d84(0x0),'UQxDy':_0x2d84(0x1),'MDsxV':function(_0x2c38ec,_0x34c22b){return _0x2c38ec(_0x34c22b);},'FqUUi':function(_0x1d206c,_0xb062b9){return _0x1d206c(_0xb062b9);},'AOZRF':function(_0x259386,_0x3314d7){return _0x259386!==_0x3314d7;},'eintc':_0x2d84(0x2),'afVzD':'PDDYN'},[_0x1d6e44,_0x5afd8c]=_0xdeeba4[_0x2d84(0x3)](useState,{}),_0x5ece6c=_0x41dde2=>{if(_0xdeeba4[_0x2d84(0x4)](_0xdeeba4['AwgJG'],_0xdeeba4[_0x2d84(0x5)]))_0x4a2036(_0x473c97=>{const _0x3be27a={..._0x473c97};return delete _0x3be27a[_0xda6685],_0x3be27a;});else{const _0x26fccc=++portalId;return _0xdeeba4[_0x2d84(0x6)](_0x5afd8c,_0x55ba13=>({..._0x55ba13,[_0x26fccc]:_0x41dde2})),_0x26fccc;}},_0x5be3c5=(_0x3b0ff3,_0x4ddfa0)=>{if(_0xdeeba4[_0x2d84(0x7)](_0xdeeba4[_0x2d84(0x8)],_0xdeeba4[_0x2d84(0x9)]))_0xdeeba4[_0x2d84(0x3)](_0x5afd8c,_0x6f06c1=>({..._0x6f06c1,[_0x3b0ff3]:_0x4ddfa0}));else{if(_0x567abe)_0xdeeba4[_0x2d84(0x3)](_0x30a6d9,_0x338ddc);}},_0x3829e0=_0x33c2dd=>{_0xdeeba4['FqUUi'](_0x5afd8c,_0x3e0501=>{const _0x3726d3={..._0x3e0501};return delete _0x3726d3[_0x33c2dd],_0x3726d3;});};return React['createElement'](PortalContext[_0x2d84(0xa)],{'value':{'mount':_0x5ece6c,'update':_0x5be3c5,'unmount':_0x3829e0}},_0x3ddddc,Object['keys'](_0x1d6e44)['map'](_0xa2afce=>React[_0x2d84(0xb)](View,{'key':_0xa2afce,'style':{'position':_0x2d84(0xc),'top':0x0,'left':0x0,'right':0x0,'bottom':0x0,'zIndex':0x270f}},_0x1d6e44[Number(_0xa2afce)])));};export const Portal=({children:_0x5369f0})=>{const _0x1353e8={'UuSlc':function(_0x4bdaea,_0x9753bc){return _0x4bdaea(_0x9753bc);},'CYhAs':_0x2d84(0xd),'cgNLF':'XBBwE','VSMLf':function(_0x34fda5,_0x48bf46){return _0x34fda5!==_0x48bf46;},'avvmA':function(_0x3a94b4,_0xb112f3,_0x22cbc0){return _0x3a94b4(_0xb112f3,_0x22cbc0);}},{mount:_0x2cb670,update:_0x3725f5,unmount:_0x280fb1}=React['useContext'](PortalContext),[_0x32d5f2,_0x39f0e7]=_0x1353e8[_0x2d84(0xe)](useState,null);return _0x1353e8[_0x2d84(0xf)](useEffect,()=>{const _0x41c7b2={'VPmMB':function(_0x5bef15,_0x142382){return _0x1353e8['UuSlc'](_0x5bef15,_0x142382);}},_0x3f84b1=_0x2cb670(_0x5369f0);return _0x1353e8['UuSlc'](_0x39f0e7,_0x3f84b1),()=>{if(_0x32d5f2)_0x41c7b2['VPmMB'](_0x280fb1,_0x32d5f2);};},[]),_0x1353e8[_0x2d84(0xf)](useEffect,()=>{const _0x354b70={'qrlbq':function(_0x353c2b,_0x567b94){return _0x1353e8[_0x2d84(0xe)](_0x353c2b,_0x567b94);}};if(_0x1353e8[_0x2d84(0x10)]!==_0x1353e8[_0x2d84(0x11)])_0x1353e8[_0x2d84(0x12)](_0x32d5f2,null)&&_0x3725f5(_0x32d5f2,_0x5369f0);else{const _0x47e1a8=++_0x3f240e;return _0x354b70[_0x2d84(0x13)](_0x1483fd,_0x42eae4=>({..._0x42eae4,[_0x47e1a8]:_0x515591})),_0x47e1a8;}},[_0x5369f0,_0x32d5f2]),null;};
@@ -1 +1 @@
1
- import axios from'axios';import AsyncStorage from'@react-native-async-storage/async-storage';import{API_CONFIG}from'../config/api';const API_URL=API_CONFIG[_0x2a9b(0x0)];export const createApiInstance=async()=>{const _0x309727={'iUIOw':_0x2a9b(0x1)},_0xcb3194=await AsyncStorage[_0x2a9b(0x2)](_0x309727[_0x2a9b(0x3)]);return axios[_0x2a9b(0x4)]({'baseURL':API_URL,'headers':{'Content-Type':'application/json',..._0xcb3194?{'Authorization':_0x2a9b(0x5)+_0xcb3194}:{}}});};function _0x2a9b(_0x234b83,_0x2a9b22){_0x234b83=_0x234b83-0x0;const _0x34b2b5=_0x234b();let _0x1c922a=_0x34b2b5[_0x234b83];return _0x1c922a;}function _0x234b(){const _0x4a17c0=['BASE_URL','onairosToken','getItem','iUIOw','create','Bearer\x20','UCteC','post','/valid/validate-domain','data','Error\x20validating\x20domain:','Error\x20fetching\x20account\x20info:','vKFPa','IHCQQ','/getAccountInfo','error','othent','/getAPIurl','ofBlx','QHQhC','mdTYL','Error\x20creating\x20account:','uHsMr','/createAccount','kQOUc'];_0x234b=function(){return _0x4a17c0;};return _0x234b();}export const validateDomain=async()=>{const _0x8885b4={'UCteC':function(_0x424c8c){return _0x424c8c();}};try{const _0x5401fa=await _0x8885b4[_0x2a9b(0x6)](createApiInstance),_0x173f0d=await _0x5401fa[_0x2a9b(0x7)](_0x2a9b(0x8));return _0x173f0d[_0x2a9b(0x9)];}catch(_0x77ce7e){return console['error'](_0x2a9b(0xa),_0x77ce7e),{'status':![]};}};export const fetchAccountInfo=async(_0x2c79d5,_0xd8250a=![])=>{const _0x2e2409={'vKFPa':function(_0x5d4ff8){return _0x5d4ff8();},'IHCQQ':'/getAccountInfo/email','IxHYH':_0x2a9b(0xb)};try{const _0x1a3fa3=await _0x2e2409[_0x2a9b(0xc)](createApiInstance),_0x1d4d30=_0xd8250a?{'Info':{'identifier':_0x2c79d5}}:{'Info':{'userName':_0x2c79d5}},_0x3da7bd=_0xd8250a?_0x2e2409[_0x2a9b(0xd)]:_0x2a9b(0xe),_0x5c5695=await _0x1a3fa3[_0x2a9b(0x7)](_0x3da7bd,_0x1d4d30);return _0x5c5695['data'];}catch(_0x479de5){console[_0x2a9b(0xf)](_0x2e2409['IxHYH'],_0x479de5);throw _0x479de5;}};export const getApiUrl=async(_0x340f9c,_0x3d90e2,_0x5b57f0)=>{const _0x31555a={'ofBlx':_0x2a9b(0x10),'QHQhC':_0x2a9b(0x11),'mdTYL':'Error\x20getting\x20API\x20URL:'};try{const _0x53257f=await createApiInstance(),_0x5e7961={'Info':{'EncryptedUserPin':_0x3d90e2,'confirmations':_0x340f9c,'web3Type':_0x31555a[_0x2a9b(0x12)],'Domain':Platform['OS'],'proofMode':![],'OthentSub':_0x5b57f0}},_0x413780=await _0x53257f[_0x2a9b(0x7)](_0x31555a[_0x2a9b(0x13)],_0x5e7961);return _0x413780[_0x2a9b(0x9)];}catch(_0x5c0746){console[_0x2a9b(0xf)](_0x31555a[_0x2a9b(0x14)],_0x5c0746);throw _0x5c0746;}};export const createAccount=async(_0x51fb4c,_0x1e9b39,_0x1e0056,_0x3e9f8e)=>{const _0x2785f5={'uHsMr':function(_0x39a9a0){return _0x39a9a0();},'kQOUc':_0x2a9b(0x15)};try{const _0xf8735e=await _0x2785f5[_0x2a9b(0x16)](createApiInstance),_0x4a2d03=await _0xf8735e['post'](_0x2a9b(0x17),{'othentSub':_0x51fb4c,'pin':_0x1e9b39,'socialAccounts':_0x1e0056,'email':_0x3e9f8e});return _0x4a2d03[_0x2a9b(0x9)];}catch(_0xe04980){console[_0x2a9b(0xf)](_0x2785f5[_0x2a9b(0x18)],_0xe04980);throw _0xe04980;}};
1
+ import axios from'axios';import AsyncStorage from'@react-native-async-storage/async-storage';import{API_CONFIG}from'../config/api';const API_URL=API_CONFIG[_0x101f(0x0)];export const createApiInstance=async()=>{const _0x4177d3=await AsyncStorage[_0x101f(0x1)](_0x101f(0x2));return axios['create']({'baseURL':API_URL,'headers':{'Content-Type':'application/json',..._0x4177d3?{'Authorization':_0x101f(0x3)+_0x4177d3}:{}}});};function _0x2b1f(){const _0x246fa6=['BASE_URL','getItem','onairosToken','Bearer\x20','/valid/validate-domain','post','FWZoe','data','Error\x20validating\x20domain:','/getAccountInfo/email','/getAccountInfo','Error\x20fetching\x20account\x20info:','VhsNk','plJFL','QneGc','error','rfjrX','YDzoj','ZAouZ','Error\x20creating\x20account:','hhSuD','iUZCF'];_0x2b1f=function(){return _0x246fa6;};return _0x2b1f();}export const validateDomain=async()=>{const _0x4a62a5={'FWZoe':_0x101f(0x4)};try{const _0x4de5f8=await createApiInstance(),_0x5d507f=await _0x4de5f8[_0x101f(0x5)](_0x4a62a5[_0x101f(0x6)]);return _0x5d507f[_0x101f(0x7)];}catch(_0x494951){return console['error'](_0x101f(0x8),_0x494951),{'status':![]};}};export const fetchAccountInfo=async(_0x186830,_0x47abdc=![])=>{const _0xe5f0e2={'VhsNk':function(_0x5a71c6){return _0x5a71c6();},'plJFL':_0x101f(0x9),'QneGc':_0x101f(0xa),'rfjrX':_0x101f(0xb)};try{const _0x10540=await _0xe5f0e2[_0x101f(0xc)](createApiInstance),_0x2bff88=_0x47abdc?{'Info':{'identifier':_0x186830}}:{'Info':{'userName':_0x186830}},_0x147959=_0x47abdc?_0xe5f0e2[_0x101f(0xd)]:_0xe5f0e2[_0x101f(0xe)],_0x3ed5e9=await _0x10540[_0x101f(0x5)](_0x147959,_0x2bff88);return _0x3ed5e9[_0x101f(0x7)];}catch(_0x4fa448){console[_0x101f(0xf)](_0xe5f0e2[_0x101f(0x10)],_0x4fa448);throw _0x4fa448;}};function _0x101f(_0x2b1fcd,_0x101f6a){_0x2b1fcd=_0x2b1fcd-0x0;const _0x16ca12=_0x2b1f();let _0x18af6d=_0x16ca12[_0x2b1fcd];return _0x18af6d;}export const getApiUrl=async(_0x483270,_0x5746f5,_0xffc3bc)=>{const _0xc01111={'WNXId':'othent','YDzoj':'/getAPIurl','ZAouZ':'Error\x20getting\x20API\x20URL:'};try{const _0x5643e5=await createApiInstance(),_0x267e25={'Info':{'EncryptedUserPin':_0x5746f5,'confirmations':_0x483270,'web3Type':_0xc01111['WNXId'],'Domain':Platform['OS'],'proofMode':![],'OthentSub':_0xffc3bc}},_0x399097=await _0x5643e5[_0x101f(0x5)](_0xc01111[_0x101f(0x11)],_0x267e25);return _0x399097[_0x101f(0x7)];}catch(_0x43d5fb){console[_0x101f(0xf)](_0xc01111[_0x101f(0x12)],_0x43d5fb);throw _0x43d5fb;}};export const createAccount=async(_0x1903e5,_0x4f2ea4,_0x4b53bb,_0x4cc7e2)=>{const _0x5e2a5a={'hhSuD':'/createAccount','iUZCF':_0x101f(0x13)};try{const _0x150ae4=await createApiInstance(),_0x2c9b25=await _0x150ae4['post'](_0x5e2a5a[_0x101f(0x14)],{'othentSub':_0x1903e5,'pin':_0x4f2ea4,'socialAccounts':_0x4b53bb,'email':_0x4cc7e2});return _0x2c9b25['data'];}catch(_0x583733){console['error'](_0x5e2a5a[_0x101f(0x15)],_0x583733);throw _0x583733;}};
@@ -32,4 +32,4 @@ var __ONAIROS_REQ_REGISTRY__ = [
32
32
  require('../assets/animations/persona-animation.json')
33
33
  ];
34
34
  function __ONAIROS_REQ_FUNC__(i) { return __ONAIROS_REQ_REGISTRY__[i]; }
35
- export const PLATFORM_ICONS={'youtube':__ONAIROS_REQ_FUNC__(0x0),'youtube2':__ONAIROS_REQ_FUNC__(0x1),'reddit':__ONAIROS_REQ_FUNC__(0x2),'linkedin':__ONAIROS_REQ_FUNC__(0x3),'instagram':__ONAIROS_REQ_FUNC__(0x4),'facebook':__ONAIROS_REQ_FUNC__(0x5),'pinterest':__ONAIROS_REQ_FUNC__(0x6),'gmail':__ONAIROS_REQ_FUNC__(0x7),'twitter':__ONAIROS_REQ_FUNC__(0x8),'farcaster':__ONAIROS_REQ_FUNC__(0x9),'chatgpt':__ONAIROS_REQ_FUNC__(0xa),'claude':__ONAIROS_REQ_FUNC__(0xb),'grok':__ONAIROS_REQ_FUNC__(0xc),'gemini':__ONAIROS_REQ_FUNC__(0xd),'default':__ONAIROS_REQ_FUNC__(0x10)};export const getPlatformIconFromRegistry=_0x4f9139=>{const _0x292fa1={'kGRhT':_0x3674(0x0),'eFYWy':_0x3674(0x1),'DQVQp':_0x3674(0x2),'rcvDp':_0x3674(0x3)},_0x232fb8=_0x4f9139[_0x3674(0x4)]();switch(_0x232fb8){case _0x292fa1['kGRhT']:return PLATFORM_ICONS[_0x3674(0x0)];case _0x3674(0x5):return PLATFORM_ICONS[_0x3674(0x5)];case _0x3674(0x6):return PLATFORM_ICONS['linkedin'];case _0x3674(0x7):return PLATFORM_ICONS['instagram'];case _0x3674(0x8):return PLATFORM_ICONS['facebook'];case _0x3674(0x9):return PLATFORM_ICONS[_0x3674(0x9)];case'gmail':case _0x292fa1['eFYWy']:return PLATFORM_ICONS[_0x3674(0xa)];case _0x3674(0xb):case'x':return PLATFORM_ICONS[_0x3674(0xb)];case _0x292fa1[_0x3674(0xc)]:return PLATFORM_ICONS[_0x3674(0x2)];case _0x3674(0xd):case _0x3674(0xe):return PLATFORM_ICONS[_0x3674(0xd)];case _0x3674(0xf):case _0x3674(0x10):return PLATFORM_ICONS[_0x3674(0xf)];case'grok':return PLATFORM_ICONS[_0x3674(0x11)];case _0x3674(0x12):case _0x3674(0x13):return PLATFORM_ICONS['gemini'];case _0x3674(0x14):return PLATFORM_ICONS[_0x3674(0x15)];case _0x292fa1['rcvDp']:return PLATFORM_ICONS[_0x3674(0x15)];default:return PLATFORM_ICONS[_0x3674(0x15)];}};export const PERSONA_IMAGES={'level1':__ONAIROS_REQ_FUNC__(0x11),'level2':__ONAIROS_REQ_FUNC__(0x12),'level3':__ONAIROS_REQ_FUNC__(0x13),'level4':__ONAIROS_REQ_FUNC__(0x14),'level5':__ONAIROS_REQ_FUNC__(0x15)};export const getPersonaImage=_0x2d41cd=>{const _0x39a8c3='level'+_0x2d41cd;return PERSONA_IMAGES[_0x39a8c3]||PERSONA_IMAGES['level1'];};export const BRAND_IMAGES={'onairosLogo':__ONAIROS_REQ_FUNC__(0x16),'onairosLogoAlt':__ONAIROS_REQ_FUNC__(0x17),'googleLogo':__ONAIROS_REQ_FUNC__(0x18),'faceIdLogo':__ONAIROS_REQ_FUNC__(0x19),'enochIcon':__ONAIROS_REQ_FUNC__(0x1a)};export const ANIMATIONS={'loader':__ONAIROS_REQ_FUNC__(0x1b),'persona':__ONAIROS_REQ_FUNC__(0x1c)};function _0x3a7f(){const _0x20e6f6=['youtube','email','farcaster','spotify','toLowerCase','reddit','linkedin','instagram','facebook','pinterest','gmail','twitter','DQVQp','chatgpt','openai','claude','anthropic','grok','gemini','google_ai','netflix','default','Instagram','YouTube','Reddit','Pinterest','Email','vfUFG','youtube2','dssrU'];_0x3a7f=function(){return _0x20e6f6;};return _0x3a7f();}export const OVERLAY_PLATFORMS=[{'id':_0x3674(0x7),'name':_0x3674(0x16),'icon':PLATFORM_ICONS[_0x3674(0x7)]},{'id':_0x3674(0x0),'name':_0x3674(0x17),'icon':PLATFORM_ICONS['youtube2']},{'id':_0x3674(0x5),'name':_0x3674(0x18),'icon':PLATFORM_ICONS[_0x3674(0x5)]},{'id':_0x3674(0x9),'name':_0x3674(0x19),'icon':PLATFORM_ICONS[_0x3674(0x9)]},{'id':'email','name':_0x3674(0x1a),'icon':PLATFORM_ICONS[_0x3674(0xa)]}];function _0x3674(_0x3a7f49,_0x3674e9){_0x3a7f49=_0x3a7f49-0x0;const _0x761e64=_0x3a7f();let _0x520784=_0x761e64[_0x3a7f49];return _0x520784;}export const getUniversalOnboardingIcon=_0x34476a=>{const _0x3682d7={'vfUFG':_0x3674(0x7),'dssrU':_0x3674(0x1)},_0x939007=_0x34476a[_0x3674(0x4)]();switch(_0x939007){case _0x3682d7[_0x3674(0x1b)]:return PLATFORM_ICONS['instagram'];case'youtube':return PLATFORM_ICONS[_0x3674(0x1c)];case _0x3674(0x5):return PLATFORM_ICONS[_0x3674(0x5)];case _0x3674(0x9):return PLATFORM_ICONS[_0x3674(0x9)];case _0x3674(0x8):return PLATFORM_ICONS[_0x3674(0x8)];case _0x3674(0x6):return PLATFORM_ICONS['linkedin'];case'gmail':case _0x3682d7[_0x3674(0x1d)]:return PLATFORM_ICONS['gmail'];default:return PLATFORM_ICONS[_0x3674(0x15)];}};
35
+ export const PLATFORM_ICONS={'youtube':__ONAIROS_REQ_FUNC__(0x0),'youtube2':__ONAIROS_REQ_FUNC__(0x1),'reddit':__ONAIROS_REQ_FUNC__(0x2),'linkedin':__ONAIROS_REQ_FUNC__(0x3),'instagram':__ONAIROS_REQ_FUNC__(0x4),'facebook':__ONAIROS_REQ_FUNC__(0x5),'pinterest':__ONAIROS_REQ_FUNC__(0x6),'gmail':__ONAIROS_REQ_FUNC__(0x7),'twitter':__ONAIROS_REQ_FUNC__(0x8),'farcaster':__ONAIROS_REQ_FUNC__(0x9),'chatgpt':__ONAIROS_REQ_FUNC__(0xa),'claude':__ONAIROS_REQ_FUNC__(0xb),'grok':__ONAIROS_REQ_FUNC__(0xc),'gemini':__ONAIROS_REQ_FUNC__(0xd),'netflix':__ONAIROS_REQ_FUNC__(0xe),'default':__ONAIROS_REQ_FUNC__(0x10)};export const getPlatformIconFromRegistry=_0x441b22=>{const _0x17c47e={'sFZhD':_0x1b1c(0x0),'lnWfX':_0x1b1c(0x1),'koDWI':_0x1b1c(0x2),'alOoc':_0x1b1c(0x3),'IfsXz':'farcaster','WtWOK':_0x1b1c(0x4),'wFBlm':_0x1b1c(0x5),'VdHfU':'google_ai','bDjsJ':_0x1b1c(0x6),'hASHc':'spotify'},_0x2ff342=_0x441b22[_0x1b1c(0x7)]();switch(_0x2ff342){case _0x1b1c(0x8):return PLATFORM_ICONS[_0x1b1c(0x8)];case _0x1b1c(0x9):return PLATFORM_ICONS['reddit'];case _0x17c47e['sFZhD']:return PLATFORM_ICONS[_0x1b1c(0x0)];case _0x17c47e[_0x1b1c(0xa)]:return PLATFORM_ICONS[_0x1b1c(0x1)];case _0x1b1c(0xb):return PLATFORM_ICONS[_0x1b1c(0xb)];case _0x17c47e[_0x1b1c(0xc)]:return PLATFORM_ICONS['pinterest'];case _0x1b1c(0xd):case _0x17c47e[_0x1b1c(0xe)]:return PLATFORM_ICONS[_0x1b1c(0xd)];case _0x1b1c(0xf):case'x':return PLATFORM_ICONS[_0x1b1c(0xf)];case _0x17c47e[_0x1b1c(0x10)]:return PLATFORM_ICONS[_0x1b1c(0x11)];case _0x17c47e[_0x1b1c(0x12)]:case'openai':return PLATFORM_ICONS[_0x1b1c(0x4)];case _0x17c47e['wFBlm']:case _0x1b1c(0x13):return PLATFORM_ICONS[_0x1b1c(0x5)];case _0x1b1c(0x14):return PLATFORM_ICONS['grok'];case'gemini':case _0x17c47e[_0x1b1c(0x15)]:return PLATFORM_ICONS[_0x1b1c(0x16)];case _0x17c47e[_0x1b1c(0x17)]:return PLATFORM_ICONS[_0x1b1c(0x6)];case _0x17c47e[_0x1b1c(0x18)]:return PLATFORM_ICONS['default'];default:return PLATFORM_ICONS['default'];}};function _0x1b1c(_0x207471,_0x1b1c81){_0x207471=_0x207471-0x0;const _0x5cc94e=_0x2074();let _0x27cfac=_0x5cc94e[_0x207471];return _0x27cfac;}export const PERSONA_IMAGES={'level1':__ONAIROS_REQ_FUNC__(0x11),'level2':__ONAIROS_REQ_FUNC__(0x12),'level3':__ONAIROS_REQ_FUNC__(0x13),'level4':__ONAIROS_REQ_FUNC__(0x14),'level5':__ONAIROS_REQ_FUNC__(0x15)};export const getPersonaImage=_0x3a031b=>{const _0xc37666=_0x1b1c(0x19)+_0x3a031b;return PERSONA_IMAGES[_0xc37666]||PERSONA_IMAGES['level1'];};function _0x2074(){const _0x4621ff=['linkedin','instagram','pinterest','email','chatgpt','claude','netflix','toLowerCase','youtube','reddit','lnWfX','facebook','koDWI','gmail','alOoc','twitter','IfsXz','farcaster','WtWOK','anthropic','grok','VdHfU','gemini','bDjsJ','hASHc','level','Instagram','YouTube','youtube2','Reddit','zYFXy','default'];_0x2074=function(){return _0x4621ff;};return _0x2074();}export const BRAND_IMAGES={'onairosLogo':__ONAIROS_REQ_FUNC__(0x16),'onairosLogoAlt':__ONAIROS_REQ_FUNC__(0x17),'googleLogo':__ONAIROS_REQ_FUNC__(0x18),'faceIdLogo':__ONAIROS_REQ_FUNC__(0x19),'enochIcon':__ONAIROS_REQ_FUNC__(0x1a)};export const ANIMATIONS={'loader':__ONAIROS_REQ_FUNC__(0x1b),'persona':__ONAIROS_REQ_FUNC__(0x1c)};export const OVERLAY_PLATFORMS=[{'id':'instagram','name':_0x1b1c(0x1a),'icon':PLATFORM_ICONS['instagram']},{'id':'youtube','name':_0x1b1c(0x1b),'icon':PLATFORM_ICONS[_0x1b1c(0x1c)]},{'id':'reddit','name':_0x1b1c(0x1d),'icon':PLATFORM_ICONS[_0x1b1c(0x9)]},{'id':_0x1b1c(0x2),'name':'Pinterest','icon':PLATFORM_ICONS['pinterest']},{'id':_0x1b1c(0x3),'name':'Email','icon':PLATFORM_ICONS['gmail']}];export const getUniversalOnboardingIcon=_0x3c6d0e=>{const _0x1f9ca1={'zYFXy':'instagram','ycokE':'email'},_0x4a4a79=_0x3c6d0e[_0x1b1c(0x7)]();switch(_0x4a4a79){case _0x1f9ca1[_0x1b1c(0x1e)]:return PLATFORM_ICONS[_0x1b1c(0x1)];case _0x1b1c(0x8):return PLATFORM_ICONS[_0x1b1c(0x1c)];case _0x1b1c(0x9):return PLATFORM_ICONS['reddit'];case _0x1b1c(0x2):return PLATFORM_ICONS[_0x1b1c(0x2)];case'facebook':return PLATFORM_ICONS[_0x1b1c(0xb)];case _0x1b1c(0x0):return PLATFORM_ICONS[_0x1b1c(0x0)];case'gmail':case _0x1f9ca1['ycokE']:return PLATFORM_ICONS[_0x1b1c(0xd)];default:return PLATFORM_ICONS[_0x1b1c(0x1f)];}};
@@ -1 +1 @@
1
- import axios from'axios';function _0x2c0c(_0x488d17,_0x2c0ca3){_0x488d17=_0x488d17-0x0;const _0x83596=_0x488d();let _0x3bf78b=_0x83596[_0x488d17];return _0x3bf78b;}function _0x488d(){const _0x3c8500=['BASE_URL','Error\x20clearing\x20auth\x20data:','lbGzI','vWnIR','PuwgS','error','lIeoj','/getPin','data','Error\x20storing\x20auth\x20data:','Error\x20getting\x20PIN:','Error\x20verifying\x20token:','FqXaw','NOYWY','post','/verifyToken','valid','mWsjo','YFcbR','MdAee','Brxme','AGTEd','goNdR','pGLAw','PMWVs','setItem','onairosToken','username','Pzfgx','QenRO','othentToken','stringify','Error\x20getting\x20stored\x20auth\x20data:','zfOJZ','CDBUy','removeItem','dcxxh','aAjNL','zIETI','getItem','TYtie','GmkLV','parse','smXmh'];_0x488d=function(){return _0x3c8500;};return _0x488d();}import AsyncStorage from'@react-native-async-storage/async-storage';import{API_CONFIG}from'../config/api';const API_URL=API_CONFIG[_0x2c0c(0x0)];export const getPin=async _0x3d740d=>{const _0x4050c0={'lIeoj':_0x2c0c(0x1),'vWnIR':function(_0x563607,_0x4e0faf){return _0x563607===_0x4e0faf;},'PuwgS':_0x2c0c(0x2)};try{if(_0x4050c0[_0x2c0c(0x3)]('EJtBV',_0x4050c0[_0x2c0c(0x4)])){_0x3ec90c[_0x2c0c(0x5)](_0x4050c0[_0x2c0c(0x6)],_0x2665c2);throw _0x56c3cc;}else{const _0x50a74f=await axios['post'](API_URL+_0x2c0c(0x7),{'hashedOthentSub':_0x3d740d});return _0x50a74f[_0x2c0c(0x8)];}}catch(_0x56912e){console['error']('Error\x20getting\x20PIN:',_0x56912e);throw _0x56912e;}};export const verifyToken=async _0x31d69f=>{const _0x97a280={'NOYWY':_0x2c0c(0x9),'MdAee':_0x2c0c(0xa),'FqXaw':'gCDky','mWsjo':function(_0x40c3b9,_0x509f42){return _0x40c3b9!==_0x509f42;},'YFcbR':'tJkHP','Brxme':_0x2c0c(0xb)};try{if(_0x97a280[_0x2c0c(0xc)]!==_0x97a280[_0x2c0c(0xc)]){_0x17d8d2['error'](_0x97a280[_0x2c0c(0xd)],_0x64fadb);throw _0x368b33;}else{const _0x575229=await axios[_0x2c0c(0xe)](API_URL+_0x2c0c(0xf),{},{'headers':{'Authorization':'Bearer\x20'+_0x31d69f}});return _0x575229[_0x2c0c(0x8)][_0x2c0c(0x10)];}}catch(_0x289399){if(_0x97a280[_0x2c0c(0x11)](_0x97a280[_0x2c0c(0x12)],_0x97a280[_0x2c0c(0x12)])){_0x46a794[_0x2c0c(0x5)](_0x97a280[_0x2c0c(0x13)],_0x4a7fed);throw _0xddee3b;}else return console[_0x2c0c(0x5)](_0x97a280[_0x2c0c(0x14)],_0x289399),![];}};export const storeAuthData=async(_0x44d57d,_0x48c9cb=null,_0x405593=null)=>{const _0x5178c6={'Pzfgx':_0x2c0c(0x15),'QenRO':_0x2c0c(0x16),'wzMJe':function(_0x3576d6,_0x4720f0){return _0x3576d6===_0x4720f0;},'zfOJZ':_0x2c0c(0x17),'psQBM':_0x2c0c(0x18)};try{await AsyncStorage[_0x2c0c(0x19)](_0x2c0c(0x1a),_0x44d57d);_0x48c9cb&&await AsyncStorage['setItem'](_0x2c0c(0x1b),_0x48c9cb);if(_0x405593){if(_0x5178c6[_0x2c0c(0x1c)]!==_0x5178c6[_0x2c0c(0x1d)])await AsyncStorage['setItem'](_0x2c0c(0x1e),JSON[_0x2c0c(0x1f)](_0x405593));else return _0x4bef73[_0x2c0c(0x5)](_0x2c0c(0x20),_0x3e1bcb),{'token':null,'username':null,'othentToken':null};}}catch(_0x186cdd){if(_0x5178c6['wzMJe'](_0x5178c6[_0x2c0c(0x21)],_0x5178c6['psQBM']))return _0x334201[_0x2c0c(0x5)](_0x2c0c(0xb),_0x5c891d),![];else{console[_0x2c0c(0x5)](_0x2c0c(0x9),_0x186cdd);throw _0x186cdd;}}};export const clearAuthData=async()=>{const _0x4646b7={'CDBUy':'onairosToken','dcxxh':_0x2c0c(0x1e),'aAjNL':_0x2c0c(0x1)};try{await AsyncStorage['removeItem'](_0x4646b7[_0x2c0c(0x22)]),await AsyncStorage[_0x2c0c(0x23)]('username'),await AsyncStorage['removeItem'](_0x4646b7[_0x2c0c(0x24)]);}catch(_0x3d311e){console[_0x2c0c(0x5)](_0x4646b7[_0x2c0c(0x25)],_0x3d311e);throw _0x3d311e;}};export const getStoredAuthData=async()=>{const _0x4c18ca={'zIETI':'onairosToken','TYtie':_0x2c0c(0x1b),'GmkLV':_0x2c0c(0x1e),'smXmh':_0x2c0c(0x20)};try{const _0x727a3b=await AsyncStorage['getItem'](_0x4c18ca[_0x2c0c(0x26)]),_0xe4a09b=await AsyncStorage[_0x2c0c(0x27)](_0x4c18ca[_0x2c0c(0x28)]),_0x46efd0=await AsyncStorage[_0x2c0c(0x27)](_0x4c18ca[_0x2c0c(0x29)]);return{'token':_0x727a3b,'username':_0xe4a09b,'othentToken':_0x46efd0?JSON[_0x2c0c(0x2a)](_0x46efd0):null};}catch(_0x47486e){return console['error'](_0x4c18ca[_0x2c0c(0x2b)],_0x47486e),{'token':null,'username':null,'othentToken':null};}};
1
+ import axios from'axios';import AsyncStorage from'@react-native-async-storage/async-storage';function _0x2d27(){const _0x1046a0=['BASE_URL','Error\x20storing\x20auth\x20data:','UbnPk','Error\x20getting\x20PIN:','kBcqh','GvVUa','post','data','error','Error\x20verifying\x20token:','/verifyToken','Bearer\x20','valid','CflNN','onairosToken','bGNbf','username','othentToken','MZwPe','ZsOhy','setItem','CpTHj','Kxotu','qzfpB','OCQio','stringify','Error\x20getting\x20stored\x20auth\x20data:','MobCC','removeItem','UGcbw','MVDfv','kQnRf','Error\x20clearing\x20auth\x20data:','LDfyj','NCpWX','IJzNh','getItem','GkTiK','MqJno','RmOvg','RCJnY'];_0x2d27=function(){return _0x1046a0;};return _0x2d27();}import{API_CONFIG}from'../config/api';const API_URL=API_CONFIG[_0x12b7(0x0)];export const getPin=async _0x59bbfd=>{const _0x58fdeb={'gEZZi':_0x12b7(0x1),'GvVUa':_0x12b7(0x2),'NkBxZ':_0x12b7(0x3)};try{if(_0x12b7(0x4)!==_0x58fdeb[_0x12b7(0x5)]){const _0x29e50b=await axios[_0x12b7(0x6)](API_URL+'/getPin',{'hashedOthentSub':_0x59bbfd});return _0x29e50b[_0x12b7(0x7)];}else{_0x3a08c8[_0x12b7(0x8)](_0x58fdeb['gEZZi'],_0x4fc389);throw _0x1333d9;}}catch(_0x4284a7){console[_0x12b7(0x8)](_0x58fdeb['NkBxZ'],_0x4284a7);throw _0x4284a7;}};function _0x12b7(_0x2d2759,_0x12b78e){_0x2d2759=_0x2d2759-0x0;const _0x29265a=_0x2d27();let _0x4b66b6=_0x29265a[_0x2d2759];return _0x4b66b6;}export const verifyToken=async _0x6f3fe9=>{const _0x3dce3a={'CflNN':_0x12b7(0x9)};try{const _0x17cdd1=await axios[_0x12b7(0x6)](API_URL+_0x12b7(0xa),{},{'headers':{'Authorization':_0x12b7(0xb)+_0x6f3fe9}});return _0x17cdd1[_0x12b7(0x7)][_0x12b7(0xc)];}catch(_0x30b1cb){return console[_0x12b7(0x8)](_0x3dce3a[_0x12b7(0xd)],_0x30b1cb),![];}};export const storeAuthData=async(_0x29fc92,_0x59d47f=null,_0x457d65=null)=>{const _0xdb9bc1={'qzfpB':_0x12b7(0x9),'wuwJf':_0x12b7(0x3),'ZsOhy':'MZwPe','CpTHj':_0x12b7(0xe),'vukqb':function(_0x24d5cb,_0x599b7d){return _0x24d5cb===_0x599b7d;},'VoEJP':_0x12b7(0xf),'Kxotu':'xUdCr','OCQio':_0x12b7(0x10),'fVlmp':_0x12b7(0x11)};try{if(_0x12b7(0x12)===_0xdb9bc1[_0x12b7(0x13)]){await AsyncStorage[_0x12b7(0x14)](_0xdb9bc1[_0x12b7(0x15)],_0x29fc92);if(_0x59d47f){if(_0xdb9bc1['vukqb'](_0xdb9bc1['VoEJP'],_0xdb9bc1[_0x12b7(0x16)]))return _0x15e338[_0x12b7(0x8)](_0xdb9bc1[_0x12b7(0x17)],_0x525866),![];else await AsyncStorage[_0x12b7(0x14)](_0xdb9bc1[_0x12b7(0x18)],_0x59d47f);}_0x457d65&&await AsyncStorage[_0x12b7(0x14)](_0xdb9bc1['fVlmp'],JSON[_0x12b7(0x19)](_0x457d65));}else{_0x8fe46d['error'](_0xdb9bc1['wuwJf'],_0x22552b);throw _0x27e740;}}catch(_0x834abb){console[_0x12b7(0x8)](_0x12b7(0x1),_0x834abb);throw _0x834abb;}};export const clearAuthData=async()=>{const _0x36554e={'LDfyj':_0x12b7(0x1a),'UGcbw':_0x12b7(0xe),'MVDfv':function(_0x1a5961,_0x2d588b){return _0x1a5961===_0x2d588b;},'kQnRf':_0x12b7(0x1b)};try{await AsyncStorage[_0x12b7(0x1c)](_0x36554e[_0x12b7(0x1d)]),await AsyncStorage[_0x12b7(0x1c)](_0x12b7(0x10)),await AsyncStorage['removeItem'](_0x12b7(0x11));}catch(_0x1354eb){if(_0x36554e[_0x12b7(0x1e)](_0x36554e[_0x12b7(0x1f)],_0x36554e[_0x12b7(0x1f)])){console['error'](_0x12b7(0x20),_0x1354eb);throw _0x1354eb;}else return _0x25abc2[_0x12b7(0x8)](_0x36554e[_0x12b7(0x21)],_0xc11daf),{'token':null,'username':null,'othentToken':null};}};export const getStoredAuthData=async()=>{const _0x59c729={'RCJnY':_0x12b7(0x20),'IJzNh':_0x12b7(0xe),'WiFas':_0x12b7(0x10),'GkTiK':_0x12b7(0x11),'MqJno':_0x12b7(0x22),'RmOvg':_0x12b7(0x1a)};try{const _0x5b3865=await AsyncStorage['getItem'](_0x59c729[_0x12b7(0x23)]),_0x5506bb=await AsyncStorage[_0x12b7(0x24)](_0x59c729['WiFas']),_0x53b61d=await AsyncStorage[_0x12b7(0x24)](_0x59c729[_0x12b7(0x25)]);return{'token':_0x5b3865,'username':_0x5506bb,'othentToken':_0x53b61d?JSON['parse'](_0x53b61d):null};}catch(_0x1f08e4){if(_0x59c729[_0x12b7(0x26)]===_0x59c729['MqJno'])return console['error'](_0x59c729[_0x12b7(0x27)],_0x1f08e4),{'token':null,'username':null,'othentToken':null};else{_0x5b15b1[_0x12b7(0x8)](_0x59c729[_0x12b7(0x28)],_0x22b393);throw _0x505af3;}}};