@onairos/react-native 3.6.3 → 3.6.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (222) hide show
  1. package/lib/commonjs/api/index.js +1 -1
  2. package/lib/commonjs/components/BodyText.js +1 -1
  3. package/lib/commonjs/components/BrandMark.js +1 -1
  4. package/lib/commonjs/components/CodeInput.js +1 -1
  5. package/lib/commonjs/components/EmailInput.js +1 -1
  6. package/lib/commonjs/components/GoogleButton.js +1 -1
  7. package/lib/commonjs/components/HeadingGroup.js +1 -1
  8. package/lib/commonjs/components/LLMDataInputModal.js +1 -1
  9. package/lib/commonjs/components/ModalHeader.js +1 -1
  10. package/lib/commonjs/components/ModalSheet.js +1 -1
  11. package/lib/commonjs/components/Onairos.js +1 -1
  12. package/lib/commonjs/components/OnairosButton.js +1 -1
  13. package/lib/commonjs/components/OnairosSignInButton.js +1 -1
  14. package/lib/commonjs/components/Overlay.js +1 -1
  15. package/lib/commonjs/components/PersonaImage.js +1 -1
  16. package/lib/commonjs/components/PersonaLoadingScreen.js +1 -1
  17. package/lib/commonjs/components/PersonalizationConsentScreen.js +1 -1
  18. package/lib/commonjs/components/PinCreationScreen.js +1 -1
  19. package/lib/commonjs/components/PinInput.js +1 -1
  20. package/lib/commonjs/components/PlatformConnectorsStep.js +1 -1
  21. package/lib/commonjs/components/PlatformList.js +1 -1
  22. package/lib/commonjs/components/PlatformToggle.js +1 -1
  23. package/lib/commonjs/components/PrimaryButton.js +1 -1
  24. package/lib/commonjs/components/SignInMatchAnimation.js +1 -1
  25. package/lib/commonjs/components/SignInStep.js +1 -1
  26. package/lib/commonjs/components/UniversalOnboarding.js +1 -1
  27. package/lib/commonjs/components/VerificationStep.js +1 -1
  28. package/lib/commonjs/components/WelcomeScreen.js +1 -1
  29. package/lib/commonjs/components/icons/Basicproficon.js +1 -1
  30. package/lib/commonjs/components/icons/Basicprofile.js +1 -1
  31. package/lib/commonjs/components/icons/Checkbox.js +1 -1
  32. package/lib/commonjs/components/icons/Checkmark.js +1 -1
  33. package/lib/commonjs/components/icons/Contentanalysis.js +1 -1
  34. package/lib/commonjs/components/icons/Contenticon.js +1 -1
  35. package/lib/commonjs/components/icons/EnochE.js +1 -1
  36. package/lib/commonjs/components/icons/Personalityicon.js +1 -1
  37. package/lib/commonjs/components/icons/Personalityprofile.js +1 -1
  38. package/lib/commonjs/components/icons/Personalitytraits.js +1 -1
  39. package/lib/commonjs/components/icons/Userpreferences.js +1 -1
  40. package/lib/commonjs/components/icons/index.js +1 -1
  41. package/lib/commonjs/components/onboarding/OAuthWebView.js +1 -1
  42. package/lib/commonjs/components/onboarding/OnboardingHeader.js +1 -1
  43. package/lib/commonjs/components/onboarding/PinInput.js +1 -1
  44. package/lib/commonjs/components/onboarding/PlatformConnector.js +1 -1
  45. package/lib/commonjs/config/api.js +1 -1
  46. package/lib/commonjs/constants/index.js +1 -1
  47. package/lib/commonjs/context/AuthContext.js +1 -1
  48. package/lib/commonjs/hooks/useConnectedAccounts.js +1 -1
  49. package/lib/commonjs/hooks/useConnections.js +1 -1
  50. package/lib/commonjs/hooks/useCredentials.js +1 -1
  51. package/lib/commonjs/hooks/useUserConnections.js +1 -1
  52. package/lib/commonjs/index.js +1 -1
  53. package/lib/commonjs/services/apiClient.js +1 -1
  54. package/lib/commonjs/services/apiKeyService.js +924 -9
  55. package/lib/commonjs/services/authService.js +627 -10
  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/oauthService.js +391 -11
  75. package/lib/commonjs/services/pinEncryptionService.js +1 -1
  76. package/lib/commonjs/services/pinStorageUtils.js +1 -1
  77. package/lib/commonjs/services/platformAuthService.js +1 -1
  78. package/lib/commonjs/services/sephoraDataExtractor.js +1 -1
  79. package/lib/commonjs/services/sephoraDataService.js +1 -1
  80. package/lib/commonjs/services/storageService.js +1 -1
  81. package/lib/commonjs/services/telegramDataExtractor.js +1 -1
  82. package/lib/commonjs/services/telegramDataService.js +1 -1
  83. package/lib/commonjs/services/trainingApiHelpers.js +1 -1
  84. package/lib/commonjs/services/userConnectionsService.js +1 -1
  85. package/lib/commonjs/services/youtubeMigrationService.js +1 -1
  86. package/lib/commonjs/theme/index.js +1 -1
  87. package/lib/commonjs/types/index.js +1 -1
  88. package/lib/commonjs/types.js +1 -1
  89. package/lib/commonjs/utils/Portal.js +1 -1
  90. package/lib/commonjs/utils/api.js +1 -1
  91. package/lib/commonjs/utils/assetRegistry.js +1 -1
  92. package/lib/commonjs/utils/auth.js +1 -1
  93. package/lib/commonjs/utils/connectorTests.js +1 -1
  94. package/lib/commonjs/utils/crypto.js +1 -1
  95. package/lib/commonjs/utils/debugHelper.js +1 -1
  96. package/lib/commonjs/utils/encryption.js +1 -1
  97. package/lib/commonjs/utils/eventUtils.js +1 -1
  98. package/lib/commonjs/utils/haptics.js +1 -1
  99. package/lib/commonjs/utils/imagePreloader.js +1 -1
  100. package/lib/commonjs/utils/networkDiagnostics.js +1 -1
  101. package/lib/commonjs/utils/onairosApi.js +1 -1
  102. package/lib/commonjs/utils/programmaticFlow.js +1 -1
  103. package/lib/commonjs/utils/retryHelper.js +1 -1
  104. package/lib/commonjs/utils/secureStorage.js +1 -1
  105. package/lib/commonjs/utils/webviewScripts/chatgpt.js +1 -1
  106. package/lib/commonjs/utils/webviewScripts/claude.js +1 -1
  107. package/lib/commonjs/utils/webviewScripts/hinge.js +1 -1
  108. package/lib/commonjs/utils/webviewScripts/index.js +1 -1
  109. package/lib/commonjs/utils/webviewScripts/instagram.js +1 -1
  110. package/lib/commonjs/utils/webviewScripts/linkedin.js +1 -1
  111. package/lib/commonjs/utils/webviewScripts/sephora.js +1 -1
  112. package/lib/commonjs/utils/webviewScripts/telegram.js +1 -1
  113. package/lib/module/api/index.js +1 -1
  114. package/lib/module/components/BodyText.js +1 -1
  115. package/lib/module/components/BrandMark.js +1 -1
  116. package/lib/module/components/CodeInput.js +1 -1
  117. package/lib/module/components/EmailInput.js +1 -1
  118. package/lib/module/components/GoogleButton.js +1 -1
  119. package/lib/module/components/HeadingGroup.js +1 -1
  120. package/lib/module/components/LLMDataInputModal.js +1 -1
  121. package/lib/module/components/ModalHeader.js +1 -1
  122. package/lib/module/components/ModalSheet.js +1 -1
  123. package/lib/module/components/Onairos.js +1 -1
  124. package/lib/module/components/OnairosButton.js +1 -1
  125. package/lib/module/components/OnairosSignInButton.js +1 -1
  126. package/lib/module/components/Overlay.js +1 -1
  127. package/lib/module/components/PersonaImage.js +1 -1
  128. package/lib/module/components/PersonaLoadingScreen.js +1 -1
  129. package/lib/module/components/PersonalizationConsentScreen.js +1 -1
  130. package/lib/module/components/PinCreationScreen.js +1 -1
  131. package/lib/module/components/PinInput.js +1 -1
  132. package/lib/module/components/PlatformConnectorsStep.js +1 -1
  133. package/lib/module/components/PlatformList.js +1 -1
  134. package/lib/module/components/PlatformToggle.js +1 -1
  135. package/lib/module/components/PrimaryButton.js +1 -1
  136. package/lib/module/components/SignInMatchAnimation.js +1 -1
  137. package/lib/module/components/SignInStep.js +1 -1
  138. package/lib/module/components/UniversalOnboarding.js +1 -1
  139. package/lib/module/components/VerificationStep.js +1 -1
  140. package/lib/module/components/WelcomeScreen.js +1 -1
  141. package/lib/module/components/icons/Basicproficon.js +1 -1
  142. package/lib/module/components/icons/Basicprofile.js +1 -1
  143. package/lib/module/components/icons/Checkbox.js +1 -1
  144. package/lib/module/components/icons/Checkmark.js +1 -1
  145. package/lib/module/components/icons/Contentanalysis.js +1 -1
  146. package/lib/module/components/icons/Contenticon.js +1 -1
  147. package/lib/module/components/icons/EnochE.js +1 -1
  148. package/lib/module/components/icons/Personalityicon.js +1 -1
  149. package/lib/module/components/icons/Personalityprofile.js +1 -1
  150. package/lib/module/components/icons/Personalitytraits.js +1 -1
  151. package/lib/module/components/icons/Userpreferences.js +1 -1
  152. package/lib/module/components/onboarding/OAuthWebView.js +1 -1
  153. package/lib/module/components/onboarding/OnboardingHeader.js +1 -1
  154. package/lib/module/components/onboarding/PinInput.js +1 -1
  155. package/lib/module/components/onboarding/PlatformConnector.js +1 -1
  156. package/lib/module/config/api.js +1 -1
  157. package/lib/module/constants/index.js +1 -1
  158. package/lib/module/context/AuthContext.js +1 -1
  159. package/lib/module/hooks/useConnectedAccounts.js +1 -1
  160. package/lib/module/hooks/useConnections.js +1 -1
  161. package/lib/module/hooks/useCredentials.js +1 -1
  162. package/lib/module/hooks/useUserConnections.js +1 -1
  163. package/lib/module/index.js +1 -1
  164. package/lib/module/services/apiClient.js +1 -1
  165. package/lib/module/services/apiKeyService.js +898 -1
  166. package/lib/module/services/authService.js +602 -1
  167. package/lib/module/services/biometricPinService.js +1 -1
  168. package/lib/module/services/chatGPTConversationExtractor.js +1 -1
  169. package/lib/module/services/chatGPTConversationService.js +1 -1
  170. package/lib/module/services/claudeConversationExtractor.js +1 -1
  171. package/lib/module/services/claudeConversationService.js +1 -1
  172. package/lib/module/services/connectedAccountsService.js +1 -1
  173. package/lib/module/services/googleAuthService.js +1 -1
  174. package/lib/module/services/hingeDataExtractor.js +1 -1
  175. package/lib/module/services/hingeDataService.js +1 -1
  176. package/lib/module/services/imageCompressionService.js +1 -1
  177. package/lib/module/services/instagramDataExtractor.js +1 -1
  178. package/lib/module/services/instagramDataService.js +1 -1
  179. package/lib/module/services/jwtStorageService.js +1 -1
  180. package/lib/module/services/linkedinDOMExtractor.js +1 -1
  181. package/lib/module/services/linkedinProfileService.js +1 -1
  182. package/lib/module/services/linkedinScrapingService.js +1 -1
  183. package/lib/module/services/llmDataStorage.js +1 -1
  184. package/lib/module/services/mobileTrainingService.js +1 -1
  185. package/lib/module/services/oauthService.js +381 -1
  186. package/lib/module/services/pinEncryptionService.js +1 -1
  187. package/lib/module/services/pinStorageUtils.js +1 -1
  188. package/lib/module/services/platformAuthService.js +1 -1
  189. package/lib/module/services/sephoraDataExtractor.js +1 -1
  190. package/lib/module/services/sephoraDataService.js +1 -1
  191. package/lib/module/services/storageService.js +1 -1
  192. package/lib/module/services/telegramDataExtractor.js +1 -1
  193. package/lib/module/services/telegramDataService.js +1 -1
  194. package/lib/module/services/trainingApiHelpers.js +1 -1
  195. package/lib/module/services/userConnectionsService.js +1 -1
  196. package/lib/module/services/youtubeMigrationService.js +1 -1
  197. package/lib/module/theme/index.js +1 -1
  198. package/lib/module/types.js +1 -1
  199. package/lib/module/utils/Portal.js +1 -1
  200. package/lib/module/utils/api.js +1 -1
  201. package/lib/module/utils/assetRegistry.js +1 -1
  202. package/lib/module/utils/auth.js +1 -1
  203. package/lib/module/utils/connectorTests.js +1 -1
  204. package/lib/module/utils/crypto.js +1 -1
  205. package/lib/module/utils/debugHelper.js +1 -1
  206. package/lib/module/utils/encryption.js +1 -1
  207. package/lib/module/utils/eventUtils.js +1 -1
  208. package/lib/module/utils/haptics.js +1 -1
  209. package/lib/module/utils/networkDiagnostics.js +1 -1
  210. package/lib/module/utils/onairosApi.js +1 -1
  211. package/lib/module/utils/programmaticFlow.js +1 -1
  212. package/lib/module/utils/retryHelper.js +1 -1
  213. package/lib/module/utils/secureStorage.js +1 -1
  214. package/lib/module/utils/webviewScripts/chatgpt.js +1 -1
  215. package/lib/module/utils/webviewScripts/claude.js +1 -1
  216. package/lib/module/utils/webviewScripts/hinge.js +1 -1
  217. package/lib/module/utils/webviewScripts/index.js +1 -1
  218. package/lib/module/utils/webviewScripts/instagram.js +1 -1
  219. package/lib/module/utils/webviewScripts/linkedin.js +1 -1
  220. package/lib/module/utils/webviewScripts/sephora.js +1 -1
  221. package/lib/module/utils/webviewScripts/telegram.js +1 -1
  222. package/package.json +1 -1
@@ -7,4 +7,4 @@ var __ONAIROS_REQ_REGISTRY__ = [
7
7
  require("../config/api")
8
8
  ];
9
9
  function __ONAIROS_REQ_FUNC__(i) { return __ONAIROS_REQ_REGISTRY__[i]; }
10
- function _0x208c(_0x8d1da4,_0x208c2d){_0x8d1da4=_0x8d1da4-0x0;const _0x535637=_0x8d1d();let _0x4afdd7=_0x535637[_0x8d1da4];return _0x4afdd7;}Object[_0x208c(0x0)](exports,_0x208c(0x1),{'value':!![]}),exports[_0x208c(0x2)]=exports[_0x208c(0x3)]=exports[_0x208c(0x4)]=exports[_0x208c(0x5)]=exports[_0x208c(0x6)]=void 0x0;var _googleSignin=__ONAIROS_REQ_FUNC__(0x0),_reactNative=__ONAIROS_REQ_FUNC__(0x1),_asyncStorage=_interopRequireDefault(__ONAIROS_REQ_FUNC__(0x2)),_api=__ONAIROS_REQ_FUNC__(0x3);function _interopRequireDefault(_0x418bae){return _0x418bae&&_0x418bae[_0x208c(0x1)]?_0x418bae:{'default':_0x418bae};}const WEB_CLIENT_ID='1030678346906-lovkuds2ouqmoc8eu5qpo98spa6edv4o.apps.googleusercontent.com',IOS_CLIENT_ID=_0x208c(0x7),configureGoogleSignInForRefreshTokens=()=>{const _0xfc6dca={'GcTGK':_0x208c(0x8)};_googleSignin[_0x208c(0x9)]['configure']({'webClientId':WEB_CLIENT_ID,'iosClientId':IOS_CLIENT_ID,'offlineAccess':!![],'forceCodeForRefreshToken':!![],'scopes':[_0xfc6dca[_0x208c(0xa)],_0x208c(0xb),'profile',_0x208c(0xc)],'hostedDomain':'','accountName':''});},checkYouTubeMigrationNeeded=async _0x580b0f=>{const _0x2abf63={'uqxop':_0x208c(0xd),'aUCrX':_0x208c(0xe),'UaVdg':function(_0x5c1ebb,_0x882112){return _0x5c1ebb===_0x882112;},'KLWlA':function(_0x2761a8,_0x301555){return _0x2761a8===_0x301555;},'rWhvi':function(_0x276729,_0x40a9eb){return _0x276729===_0x40a9eb;},'MfvvA':function(_0x1abcec,_0x2f5e28){return _0x1abcec===_0x2f5e28;},'qORbu':function(_0x15c99e,_0x14cbb8){return _0x15c99e===_0x14cbb8;},'tbyuW':_0x208c(0xf),'jlUfp':'🔍\x20YouTube\x20migration\x20check:','QHwpc':function(_0x22e658,_0x40921a){return _0x22e658===_0x40921a;},'hMuLU':function(_0x12480c,_0x2b559f){return _0x12480c===_0x2b559f;},'VLuHG':_0x208c(0x10),'fJQcX':_0x208c(0x11),'BIyRj':_0x208c(0x12),'eyXoO':function(_0x1a7e26,_0x9a648){return _0x1a7e26===_0x9a648;},'qcCSw':'UBoAQ','nqPnF':_0x208c(0x13),'RTgaq':_0x208c(0x14)};try{const _0x5f40a9=await fetch(_api[_0x208c(0x15)][_0x208c(0x16)]+_0x208c(0x17)+_0x580b0f),_0x595e63=await _0x5f40a9[_0x208c(0x18)]();if(_0x595e63[_0x208c(0x19)]&&_0x595e63[_0x208c(0x1a)]){var _0x38979f,_0x5712aa,_0x556dc4;const _0x24272a=_0x2abf63['UaVdg'](_0x2abf63[_0x208c(0x1b)](_0x38979f=_0x595e63[_0x208c(0x1a)],null)||_0x2abf63[_0x208c(0x1c)](_0x38979f,void 0x0)?void 0x0:_0x38979f[_0x208c(0x1d)],!![])||_0x2abf63[_0x208c(0x1e)](_0x2abf63['MfvvA'](_0x5712aa=_0x595e63[_0x208c(0x1f)],null)||_0x2abf63['rWhvi'](_0x5712aa,void 0x0)?void 0x0:_0x5712aa['enabled'],!![])||_0x2abf63[_0x208c(0x20)](_0x595e63['isTemporaryMode'],!![])||_0x595e63[_0x208c(0x21)]&&_0x595e63['message'][_0x208c(0x22)](_0x2abf63[_0x208c(0x23)]),_0x44c610=_0x595e63[_0x208c(0x1a)]['needsReconnection'],_0x2f60c1=_0x595e63[_0x208c(0x1a)][_0x208c(0x24)];console[_0x208c(0x25)](_0x2abf63[_0x208c(0x26)],{'username':_0x580b0f,'needsReconnection':_0x44c610,'hasRefreshToken':_0x2f60c1,'isTemporaryMode':_0x24272a,'temporaryModeEnabled':_0x2abf63[_0x208c(0x27)](_0x556dc4=_0x595e63[_0x208c(0x1f)],null)||_0x2abf63['hMuLU'](_0x556dc4,void 0x0)?void 0x0:_0x556dc4[_0x208c(0x28)],'message':_0x595e63[_0x208c(0x21)]});if(_0x24272a)return _0x2abf63[_0x208c(0x29)]!==_0x2abf63[_0x208c(0x2a)]?(console['log'](_0x2abf63['BIyRj']),console['log'](_0x208c(0x2b)),![]):(_0x2c41d3[_0x208c(0x25)](_0x2abf63[_0x208c(0x2c)]),![]);else return _0x44c610?_0x2abf63[_0x208c(0x2d)](_0x208c(0x2e),_0x2abf63[_0x208c(0x2f)])?(_0x19813a[_0x208c(0x25)](_0x2abf63['aUCrX']),{'isReady':![],'mode':_0x208c(0x30),'needsMigration':![],'trainingReady':![],'details':_0x7875f0}):(console['log'](_0x2abf63[_0x208c(0x31)]),!![]):(console['log'](_0x2abf63[_0x208c(0x2c)]),![]);}return![];}catch(_0x3b311d){return console[_0x208c(0x32)](_0x2abf63[_0x208c(0x33)],_0x3b311d),![];}};exports[_0x208c(0x5)]=checkYouTubeMigrationNeeded;const getYouTubeConnectionStatus=async _0x26811e=>{const _0x4fbe5f={'xmawM':_0x208c(0x34),'UhevO':_0x208c(0x35),'riWwu':function(_0x3de939,_0x339ce9){return _0x3de939(_0x339ce9);},'flydf':_0x208c(0x36),'rMxAh':function(_0x165184,_0x5d3cb4){return _0x165184===_0x5d3cb4;},'farVo':function(_0x439ba8,_0x55ded7){return _0x439ba8===_0x55ded7;},'SSutS':function(_0x4ffcd6,_0x2d0b2a){return _0x4ffcd6===_0x2d0b2a;},'fAdza':_0x208c(0xf),'bCdDZ':function(_0x249092,_0x2f73f3){return _0x249092===_0x2f73f3;},'LDgvc':'🔄\x20YouTube\x20connected\x20in\x20temporary\x20mode','gDFaB':_0x208c(0x37),'dLQSP':_0x208c(0x38),'Lwyrv':_0x208c(0x39),'SjEco':_0x208c(0x3a),'EQTLC':'limited','NSGvd':function(_0x3588bd,_0xe23985){return _0x3588bd===_0xe23985;},'KLvGu':_0x208c(0x3b),'dtWdv':_0x208c(0x30),'xPnzH':'❌\x20No\x20YouTube\x20connection\x20found','VBgen':function(_0xfa0569,_0xd2cf71){return _0xfa0569(_0xd2cf71);}};try{const _0x17b214=await _0x4fbe5f[_0x208c(0x3c)](fetch,_api[_0x208c(0x15)][_0x208c(0x16)]+_0x208c(0x17)+_0x26811e),_0x256efd=await _0x17b214[_0x208c(0x18)]();console[_0x208c(0x25)](_0x4fbe5f[_0x208c(0x3d)],_0x256efd);if(_0x256efd[_0x208c(0x19)]&&_0x256efd[_0x208c(0x1a)]){var _0x1588ac,_0x41135c;const _0x285e8b=_0x4fbe5f[_0x208c(0x3e)](_0x4fbe5f[_0x208c(0x3e)](_0x1588ac=_0x256efd[_0x208c(0x1a)],null)||_0x4fbe5f[_0x208c(0x3e)](_0x1588ac,void 0x0)?void 0x0:_0x1588ac[_0x208c(0x1d)],!![])||((_0x41135c=_0x256efd[_0x208c(0x1f)])===null||_0x4fbe5f['farVo'](_0x41135c,void 0x0)?void 0x0:_0x41135c[_0x208c(0x28)])===!![]||_0x4fbe5f['SSutS'](_0x256efd['isTemporaryMode'],!![])||_0x256efd[_0x208c(0x21)]&&_0x256efd[_0x208c(0x21)][_0x208c(0x22)](_0x4fbe5f['fAdza']),_0x4c6b5b=_0x4fbe5f['bCdDZ'](_0x256efd[_0x208c(0x1a)][_0x208c(0x24)],!![]),_0x1a17b2=_0x4fbe5f[_0x208c(0x3f)](_0x256efd[_0x208c(0x1a)]['needsReconnection'],!![]);if(_0x285e8b)return console[_0x208c(0x25)](_0x4fbe5f[_0x208c(0x40)]),console[_0x208c(0x25)](_0x4fbe5f[_0x208c(0x41)]),{'isReady':!![],'mode':_0x208c(0x42),'needsMigration':![],'trainingReady':!![],'details':_0x256efd};else{if(_0x4c6b5b)return console[_0x208c(0x25)](_0x208c(0x43)),{'isReady':!![],'mode':_0x4fbe5f[_0x208c(0x44)],'needsMigration':![],'trainingReady':!![],'details':_0x256efd};else{if(_0x1a17b2){if(_0x4fbe5f[_0x208c(0x45)]===_0x4fbe5f[_0x208c(0x45)])return console['log'](_0x4fbe5f[_0x208c(0x46)]),{'isReady':![],'mode':_0x4fbe5f[_0x208c(0x47)],'needsMigration':!![],'trainingReady':![],'details':_0x256efd};else _0x463009[_0x208c(0x32)](_0x4fbe5f['xmawM'],_0x51b513);}else return _0x4fbe5f[_0x208c(0x48)](_0x4fbe5f[_0x208c(0x49)],_0x4fbe5f[_0x208c(0x49)])?(console[_0x208c(0x25)]('❓\x20YouTube\x20connection\x20status\x20unclear'),{'isReady':![],'mode':_0x4fbe5f[_0x208c(0x4a)],'needsMigration':![],'trainingReady':![],'details':_0x256efd}):(_0x43e6b4[_0x208c(0x25)](_0x4fbe5f['UhevO']),!![]);}}}return console[_0x208c(0x25)](_0x4fbe5f['xPnzH']),{'isReady':![],'mode':_0x4fbe5f['dtWdv'],'needsMigration':![],'trainingReady':![],'details':_0x256efd};}catch(_0x42cd6e){return console[_0x208c(0x32)]('❌\x20Error\x20getting\x20YouTube\x20connection\x20status:',_0x42cd6e),{'isReady':![],'mode':_0x4fbe5f[_0x208c(0x4a)],'needsMigration':![],'trainingReady':![],'details':{'error':_0x42cd6e instanceof Error?_0x42cd6e[_0x208c(0x21)]:_0x4fbe5f[_0x208c(0x4b)](String,_0x42cd6e)}};}};exports[_0x208c(0x4)]=getYouTubeConnectionStatus;const showYouTubeMigrationPrompt=async()=>{const _0x51c8fd={'XBRCA':'YouTube\x20Connection\x20Upgrade','dkINE':_0x208c(0x4c),'pBqPB':_0x208c(0x4d),'hSqRo':_0x208c(0x4e)};return new Promise(_0x1977f6=>{_reactNative[_0x208c(0x4f)][_0x208c(0x50)](_0x51c8fd['XBRCA'],_0x51c8fd[_0x208c(0x51)],[{'text':_0x51c8fd['pBqPB'],'style':_0x208c(0x52),'onPress':()=>_0x1977f6(![])},{'text':_0x208c(0x53),'style':_0x51c8fd[_0x208c(0x54)],'onPress':()=>_0x1977f6(!![])}]);});},forceYouTubeReconnection=async _0xd33968=>{const _0x10a42d={'WUjoq':_0x208c(0x55),'WCDKw':_0x208c(0x56),'Rcnoq':_0x208c(0x12),'yXZiV':_0x208c(0x2b),'iayhs':function(_0x325fdd){return _0x325fdd();},'BvgVu':_0x208c(0x57),'TQTQh':function(_0x12a79e,_0x47b068){return _0x12a79e!==_0x47b068;},'srTTN':_0x208c(0x58),'Frexp':function(_0x2fe5ec,_0x4195c0){return _0x2fe5ec===_0x4195c0;},'wFGSd':_0x208c(0x59),'VuQif':_0x208c(0x5a),'JFzzh':_0x208c(0x5b),'gPUyM':_0x208c(0x5c),'UsCZL':_0x208c(0x5d),'NpBLu':'🔍\x20Token\x20Analysis:','gbiRy':function(_0x3e018f,_0x5920f8){return _0x3e018f!==_0x5920f8;},'kNNfF':function(_0x18f30b,_0x3fd687){return _0x18f30b!==_0x3fd687;},'aoMKj':function(_0x49720d,_0x13399a){return _0x49720d===_0x13399a;},'RbMPM':function(_0x5f2f95,_0x517774){return _0x5f2f95===_0x517774;},'YNpWQ':_0x208c(0x5e),'Mossm':_0x208c(0x5f),'rEMtd':_0x208c(0x60),'tKfET':_0x208c(0x61),'upAIx':function(_0x4f8bc3,_0x3eceda){return _0x4f8bc3+_0x3eceda;},'THjVg':_0x208c(0x62),'AHicd':_0x208c(0x63),'DahuV':_0x208c(0x64),'GdJey':_0x208c(0x65),'Glpxv':function(_0x232aca,_0x1e84bf){return _0x232aca!==_0x1e84bf;},'kiDVC':_0x208c(0x66),'YhGfR':_0x208c(0x67),'wqEIj':'⚠️\x20No\x20authentication\x20token\x20found\x20for\x20YouTube\x20migration','vCAnA':_0x208c(0x68),'pcsex':'youtube','jYrBf':_0x208c(0x69),'SdCcn':function(_0x3cb0df,_0x5a4081){return _0x3cb0df===_0x5a4081;},'IQHNw':'📤\x20Sending\x20migration\x20payload\x20to\x20backend...','SKlYh':function(_0x45fb63,_0x3f1cb5,_0x3143b6){return _0x45fb63(_0x3f1cb5,_0x3143b6);},'wDHvQ':_0x208c(0x6a),'SSwLP':'✅\x20YouTube\x20migration\x20successful','mWLBP':function(_0x441f42,_0x19942b,_0xb1993b){return _0x441f42(_0x19942b,_0xb1993b);},'fycTk':_0x208c(0x6b),'BOAeu':function(_0x1a087c,_0x364d18,_0x23e6b9,_0x85dfd3){return _0x1a087c(_0x364d18,_0x23e6b9,_0x85dfd3);},'yTnWJ':function(_0x155d80,_0x5ab51f){return _0x155d80!==_0x5ab51f;},'wbbWy':'tzsMm','lazVQ':_0x208c(0x6c),'GYClj':function(_0x46029d,_0x74d559,_0x18d2f7,_0x13cc9a){return _0x46029d(_0x74d559,_0x18d2f7,_0x13cc9a);},'joDBB':function(_0x371a01,_0x5b012e){return _0x371a01 instanceof _0x5b012e;},'dcgUk':'Unknown\x20error'};try{var _0x719f97,_0x16f019,_0x439b95,_0x447a55;console[_0x208c(0x25)](_0x208c(0x6d),_0xd33968),_0x10a42d[_0x208c(0x6e)](configureGoogleSignInForRefreshTokens),await _googleSignin[_0x208c(0x9)][_0x208c(0x6f)](),console[_0x208c(0x25)](_0x10a42d[_0x208c(0x70)]);try{const _0x34129c=await _googleSignin[_0x208c(0x9)][_0x208c(0x71)]();if(_0x34129c[_0x208c(0x72)]){if(_0x10a42d[_0x208c(0x73)](_0x10a42d[_0x208c(0x74)],_0x10a42d[_0x208c(0x74)]))return _0xab9c6e[_0x208c(0x32)](_0x10a42d[_0x208c(0x75)],_0x2b0802),![];else await _googleSignin[_0x208c(0x9)][_0x208c(0x76)](_0x34129c[_0x208c(0x72)]),console[_0x208c(0x25)](_0x208c(0x77));}}catch(_0xcdd585){if(_0x10a42d[_0x208c(0x78)](_0x208c(0x79),_0x10a42d[_0x208c(0x7a)]))return _0x28f46a[_0x208c(0x4f)][_0x208c(0x50)](_0x208c(0x7b),'YouTube\x20connection\x20upgrade\x20failed.\x20Please\x20try\x20again\x20later\x20or\x20contact\x20support\x20if\x20the\x20problem\x20persists.',[{'text':'OK','style':'default'}]),![];else console[_0x208c(0x25)](_0x10a42d[_0x208c(0x7c)]);}await _googleSignin[_0x208c(0x9)][_0x208c(0x7d)](),console['log'](_0x10a42d['VuQif']);const _0x5d36c5=await _googleSignin[_0x208c(0x9)][_0x208c(0x7e)](),_0x549bf4=await _googleSignin[_0x208c(0x9)][_0x208c(0x71)](),_0x26e1dd=await _googleSignin[_0x208c(0x9)]['getCurrentUser']();let _0x129513=null,_0x2d35a5=_0x10a42d['JFzzh'];if(_0x5d36c5[_0x208c(0x7f)])_0x129513=_0x5d36c5[_0x208c(0x7f)],_0x2d35a5=_0x10a42d[_0x208c(0x80)];else _0x10a42d[_0x208c(0x73)](_0x26e1dd,null)&&_0x26e1dd!==void 0x0&&_0x26e1dd[_0x208c(0x7f)]&&(_0x129513=_0x26e1dd[_0x208c(0x7f)],_0x2d35a5=_0x10a42d['UsCZL']);console[_0x208c(0x25)](_0x10a42d[_0x208c(0x81)],{'hasAccessToken':!!_0x549bf4[_0x208c(0x72)],'hasIdToken':!!_0x549bf4[_0x208c(0x82)],'hasServerAuthCode':!!_0x5d36c5[_0x208c(0x7f)],'hasCurrentUserAuthCode':!!(_0x10a42d[_0x208c(0x83)](_0x26e1dd,null)&&_0x10a42d[_0x208c(0x84)](_0x26e1dd,void 0x0)&&_0x26e1dd['serverAuthCode']),'refreshTokenSource':_0x2d35a5,'finalRefreshToken':_0x129513?_0x208c(0x85):_0x208c(0x86),'userEmail':_0x10a42d[_0x208c(0x87)](_0x719f97=_0x5d36c5['user'],null)||_0x10a42d['RbMPM'](_0x719f97,void 0x0)?void 0x0:_0x719f97[_0x208c(0xc)]});if(!_0x129513){const _0x53a1bc=_0x208c(0x88)[_0x208c(0x89)]('|');let _0x36d531=0x0;while(!![]){switch(_0x53a1bc[_0x36d531++]){case'0':console[_0x208c(0x32)](_0x10a42d[_0x208c(0x8a)]);continue;case'1':console[_0x208c(0x32)](_0x10a42d[_0x208c(0x8b)]);continue;case'2':console[_0x208c(0x32)](_0x10a42d[_0x208c(0x8c)]);continue;case'3':console[_0x208c(0x32)]('\x20\x20\x203.\x20User\x20did\x20not\x20grant\x20offline\x20access\x20permission');continue;case'4':return![];case'5':console['error'](_0x10a42d[_0x208c(0x8d)]);continue;}break;}}console['log'](_0x208c(0x8e),_0x10a42d[_0x208c(0x8f)](_0x129513[_0x208c(0x90)](0x0,0x14),_0x10a42d['THjVg'])),console[_0x208c(0x25)](_0x10a42d[_0x208c(0x91)],_0x2d35a5);let _0x4da472=await _asyncStorage['default']['getItem'](_0x10a42d[_0x208c(0x92)])||await _asyncStorage[_0x208c(0x4e)][_0x208c(0x93)](_0x10a42d[_0x208c(0x94)])||await _asyncStorage[_0x208c(0x4e)]['getItem']('auth_token');!_0x4da472&&(_0x10a42d[_0x208c(0x95)](_0x10a42d[_0x208c(0x96)],_0x10a42d[_0x208c(0x97)])?(console[_0x208c(0x98)](_0x10a42d['wqEIj']),_0x4da472=_0x10a42d['vCAnA']):_0x3c24a1['log'](_0x10a42d[_0x208c(0x7c)]));const _0x4fd448={'session':{'username':_0xd33968,'platform':_0x10a42d[_0x208c(0x99)],'channelName':(_0x10a42d[_0x208c(0x78)](_0x16f019=_0x5d36c5[_0x208c(0x9a)],null)||_0x10a42d[_0x208c(0x87)](_0x16f019,void 0x0)?void 0x0:_0x16f019[_0x208c(0x9b)])||_0x10a42d[_0x208c(0x9c)],'channelId':null},'googleUser':_0x5d36c5['user'],'accessToken':_0x549bf4[_0x208c(0x72)],'idToken':_0x549bf4[_0x208c(0x82)],'refreshToken':_0x129513,'serverAuthCode':_0x5d36c5[_0x208c(0x7f)],'userAccountInfo':{'username':_0xd33968,'email':_0x10a42d[_0x208c(0x87)](_0x439b95=_0x5d36c5[_0x208c(0x9a)],null)||_0x10a42d[_0x208c(0x78)](_0x439b95,void 0x0)?void 0x0:_0x439b95[_0x208c(0xc)],'authToken':_0x4da472,'channelName':(_0x10a42d[_0x208c(0x9d)](_0x447a55=_0x5d36c5[_0x208c(0x9a)],null)||_0x10a42d[_0x208c(0x9e)](_0x447a55,void 0x0)?void 0x0:_0x447a55['name'])||_0x208c(0x69),'channelId':null}};console[_0x208c(0x25)](_0x10a42d[_0x208c(0x9f)]);const _0x590495=await _0x10a42d[_0x208c(0xa0)](fetch,_api[_0x208c(0x15)][_0x208c(0x16)]+_0x208c(0xa1),{'method':'POST','headers':{'Content-Type':'application/json','x-api-key':_0x10a42d[_0x208c(0xa2)],..._0x10a42d['TQTQh'](_0x4da472,_0x10a42d[_0x208c(0xa3)])&&{'Authorization':_0x208c(0xa4)+_0x4da472}},'body':JSON[_0x208c(0xa5)](_0x4fd448)}),_0x4cfd2b=await _0x590495['json']();return _0x4cfd2b[_0x208c(0x19)]?(console[_0x208c(0x25)](_0x10a42d[_0x208c(0xa6)]),await _0x10a42d[_0x208c(0xa7)](trackMigrationAttempt,_0xd33968,!![]),!![]):(console[_0x208c(0x32)](_0x10a42d[_0x208c(0xa8)],_0x4cfd2b[_0x208c(0x32)]),await _0x10a42d[_0x208c(0xa9)](trackMigrationAttempt,_0xd33968,![],_0x4cfd2b[_0x208c(0x32)]),![]);}catch(_0x362997){return _0x10a42d['yTnWJ'](_0x208c(0xaa),_0x10a42d[_0x208c(0xab)])?(console[_0x208c(0x32)](_0x10a42d[_0x208c(0xac)],_0x362997),await _0x10a42d['GYClj'](trackMigrationAttempt,_0xd33968,![],_0x10a42d[_0x208c(0xad)](_0x362997,Error)?_0x362997['message']:_0x10a42d['dcgUk']),![]):(_0x4ebe2c['log'](_0x10a42d[_0x208c(0xae)]),_0x45f44e[_0x208c(0x25)](_0x10a42d[_0x208c(0xaf)]),![]);}},trackMigrationAttempt=async(_0x269b9e,_0x3f7bd9,_0x5c76f4)=>{const _0x3a6adb={'HmApE':_0x208c(0xb0),'Qcahm':_0x208c(0xb1),'bPRgS':function(_0xa5c01b,_0x3dd157,_0x1dc2d8){return _0xa5c01b(_0x3dd157,_0x1dc2d8);},'ZcClB':function(_0x25db4f,_0x3173a5){return _0x25db4f||_0x3173a5;},'ZqpAe':_0x208c(0x34)};try{_0x3a6adb[_0x208c(0xb2)]!==_0x3a6adb[_0x208c(0xb3)]?await _0x3a6adb['bPRgS'](fetch,_api[_0x208c(0x15)]['BASE_URL']+'/youtube/migration-status',{'method':'POST','headers':{'Content-Type':'application/json'},'body':JSON['stringify']({'username':_0x269b9e,'success':_0x3f7bd9,'error':_0x3a6adb[_0x208c(0xb4)](_0x5c76f4,null),'timestamp':new Date()[_0x208c(0xb5)]()})}):(_0x560438=_0x22de7c[_0x208c(0x7f)],_0x58d4e0=_0x208c(0x5c));}catch(_0x1f78ee){console[_0x208c(0x32)](_0x3a6adb['ZqpAe'],_0x1f78ee);}},shouldShowYouTubeMigrationWarning=async _0x105de1=>{const _0x2b1b4e={'DbhlL':_0x208c(0x3a),'ObYTh':_0x208c(0xb6),'uttem':_0x208c(0xb7),'hQhjj':function(_0x565ca2,_0x9f9eba){return _0x565ca2(_0x9f9eba);},'bhGGM':function(_0x47bf32,_0x2a30d0){return _0x47bf32===_0x2a30d0;},'nKHBK':function(_0x1096c3,_0x4842f7){return _0x1096c3===_0x4842f7;},'GXafI':function(_0x1fb794,_0x550a2d){return _0x1fb794===_0x550a2d;},'ZAvEM':function(_0x47354a,_0x25f1e7){return _0x47354a===_0x25f1e7;},'qJFpQ':function(_0x45c624,_0x585ee5){return _0x45c624===_0x585ee5;},'XCznS':'📊\x20[MIGRATION\x20WARNING]\x20Status\x20check:','iIGyi':'Qqwoj','pFxIQ':_0x208c(0xb8),'scdGE':_0x208c(0xb9),'lomxJ':_0x208c(0x35),'YMhxH':'✅\x20[MIGRATION\x20WARNING]\x20NO\x20WARNING\x20-\x20connection\x20is\x20working\x20properly','NbBta':'ℹ️\x20[MIGRATION\x20WARNING]\x20NO\x20WARNING\x20-\x20no\x20YouTube\x20connection\x20found','INWLv':function(_0x1a3852,_0x371eda){return _0x1a3852!==_0x371eda;},'vDPsR':_0x208c(0xba)};try{console[_0x208c(0x25)](_0x2b1b4e[_0x208c(0xbb)],_0x105de1);const _0x1bc666=await _0x2b1b4e['hQhjj'](fetch,_api[_0x208c(0x15)][_0x208c(0x16)]+_0x208c(0x17)+_0x105de1),_0x378f36=await _0x1bc666['json']();if(_0x378f36[_0x208c(0x19)]&&_0x378f36[_0x208c(0x1a)]){var _0x3281e1,_0x29ffef;const _0x1b97d6=(_0x2b1b4e[_0x208c(0xbc)](_0x3281e1=_0x378f36[_0x208c(0x1a)],null)||_0x2b1b4e[_0x208c(0xbc)](_0x3281e1,void 0x0)?void 0x0:_0x3281e1[_0x208c(0x1d)])===!![]||_0x2b1b4e['nKHBK'](_0x2b1b4e['GXafI'](_0x29ffef=_0x378f36['temporaryMode'],null)||_0x2b1b4e[_0x208c(0xbc)](_0x29ffef,void 0x0)?void 0x0:_0x29ffef[_0x208c(0x28)],!![])||_0x378f36['isTemporaryMode']===!![],_0x230afe=_0x378f36[_0x208c(0x1a)][_0x208c(0xbd)]===!![],_0xcee5ea=_0x2b1b4e[_0x208c(0xbe)](_0x378f36[_0x208c(0x1a)][_0x208c(0x24)],!![]),_0x2de9cc=_0x2b1b4e[_0x208c(0xbf)](_0x378f36[_0x208c(0x1a)][_0x208c(0xc0)],!![]);console['log'](_0x2b1b4e['XCznS'],{'username':_0x105de1,'hasAccessToken':_0x230afe,'hasRefreshToken':_0xcee5ea,'needsReconnection':_0x2de9cc,'isTemporaryMode':_0x1b97d6,'connectedAt':_0x378f36[_0x208c(0x1a)]['connectedAt']});if(_0x1b97d6)return _0x2b1b4e['GXafI'](_0x2b1b4e[_0x208c(0xc1)],_0x2b1b4e[_0x208c(0xc2)])?_0x261afa&&_0x16a137[_0x208c(0x1)]?_0x48e7b5:{'default':_0x2336b7}:(console[_0x208c(0x25)](_0x2b1b4e['scdGE']),![]);else return _0x230afe&&!_0xcee5ea&&_0x2de9cc?(console['log'](_0x2b1b4e[_0x208c(0xc3)]),!![]):(console[_0x208c(0x25)](_0x2b1b4e[_0x208c(0xc4)]),![]);}return console[_0x208c(0x25)](_0x2b1b4e[_0x208c(0xc5)]),![];}catch(_0x22d8fc){return _0x2b1b4e[_0x208c(0xc6)](_0x2b1b4e[_0x208c(0xc7)],_0x2b1b4e[_0x208c(0xc7)])?(_0x427255[_0x208c(0x25)](_0x2b1b4e[_0x208c(0xc8)]),{'isReady':![],'mode':_0x2b1b4e[_0x208c(0xc9)],'needsMigration':!![],'trainingReady':![],'details':_0xaecdbb}):(console[_0x208c(0x32)](_0x208c(0xca),_0x22d8fc),![]);}};exports[_0x208c(0x2)]=shouldShowYouTubeMigrationWarning;const checkAndFixYouTubeConnection=async _0x55edc5=>{const _0x3b7a86={'tLkfe':_0x208c(0x43),'ETEIN':'full','frhdm':_0x208c(0xb9),'MJThQ':_0x208c(0xcb),'uRxQO':function(_0x301001,_0x22121d){return _0x301001(_0x22121d);},'Zfowb':_0x208c(0xcc),'fZHNJ':_0x208c(0xcd),'cAHtY':function(_0x13cee6,_0xeeb9a1){return _0x13cee6(_0xeeb9a1);},'gHDyd':function(_0x20e782,_0x315a07){return _0x20e782!==_0x315a07;},'VqxAF':_0x208c(0xce),'qIjKX':_0x208c(0xcf),'IeyfA':_0x208c(0xd0),'rMPTw':'YouTube\x20Upgraded!\x20✅','kyDiZ':_0x208c(0xd1),'wSUOZ':'Great!','TOVdZ':_0x208c(0x4e),'iFMrl':_0x208c(0x7b),'AMLkI':'QEpiJ','ltSDZ':_0x208c(0x55)};try{console[_0x208c(0x25)](_0x3b7a86['MJThQ'],_0x55edc5);const _0x10a5e5=await _0x3b7a86[_0x208c(0xd2)](shouldShowYouTubeMigrationWarning,_0x55edc5);if(!_0x10a5e5)return console['log'](_0x3b7a86[_0x208c(0xd3)]),console['log'](_0x3b7a86[_0x208c(0xd4)]),!![];const _0x490e4f=await _0x3b7a86[_0x208c(0xd5)](checkYouTubeMigrationNeeded,_0x55edc5);if(!_0x490e4f)return _0x3b7a86[_0x208c(0xd6)](_0x208c(0xd7),_0x208c(0xd7))?(_0x3c6694[_0x208c(0x25)](_0x3b7a86['tLkfe']),{'isReady':!![],'mode':_0x3b7a86[_0x208c(0xd8)],'needsMigration':![],'trainingReady':!![],'details':_0x5c740b}):(console[_0x208c(0x25)](_0x3b7a86[_0x208c(0xd9)]),!![]);console['log'](_0x3b7a86[_0x208c(0xda)]);const _0x1fa082=await showYouTubeMigrationPrompt();if(!_0x1fa082)return console[_0x208c(0x25)](_0x3b7a86['IeyfA']),![];const _0x37faf0=await _0x3b7a86['cAHtY'](forceYouTubeReconnection,_0x55edc5);return _0x37faf0?(_reactNative[_0x208c(0x4f)][_0x208c(0x50)](_0x3b7a86['rMPTw'],_0x3b7a86[_0x208c(0xdb)],[{'text':_0x3b7a86[_0x208c(0xdc)],'style':_0x3b7a86['TOVdZ']}]),!![]):(_reactNative[_0x208c(0x4f)][_0x208c(0x50)](_0x3b7a86[_0x208c(0xdd)],_0x208c(0xde),[{'text':'OK','style':_0x3b7a86[_0x208c(0xdf)]}]),![]);}catch(_0x253bc1){return _0x3b7a86[_0x208c(0xd6)](_0x3b7a86['AMLkI'],_0x208c(0xe0))?(_0x53f850['log'](_0x3b7a86[_0x208c(0xe1)]),![]):(console[_0x208c(0x32)](_0x3b7a86[_0x208c(0xe2)],_0x253bc1),![]);}};function _0x8d1d(){const _0x561779=['defineProperty','__esModule','shouldShowYouTubeMigrationWarning','reconnectYouTube','getYouTubeConnectionStatus','checkYouTubeMigrationNeeded','checkAndFixYouTubeConnection','1030678346906-lovkuds2ouqmoc8eu5qpo98spa6edv4o.apps.googleusercontent.com','https://www.googleapis.com/auth/youtube.readonly','GoogleSignin','GcTGK','openid','email','✅\x20YouTube\x20connection\x20fully\x20working\x20with\x20refresh\x20tokens','❓\x20YouTube\x20connection\x20status\x20unclear','temporary\x20access\x20token\x20mode','BVJKR','yrqIN','🔄\x20User\x20using\x20temporary\x20mode\x20-\x20connection\x20working\x20correctly','🔧\x20User\x20needs\x20YouTube\x20migration\x20for\x20refresh\x20token','❌\x20Error\x20checking\x20YouTube\x20migration\x20status:','API_CONFIG','BASE_URL','/youtube/validate-connection/','json','success','validation','UaVdg','KLWlA','isTemporaryMode','rWhvi','temporaryMode','qORbu','message','includes','tbyuW','hasRefreshToken','log','jlUfp','QHwpc','enabled','VLuHG','fJQcX','⚠️\x20No\x20refresh\x20capability\x20but\x20training\x20can\x20proceed','uqxop','eyXoO','izJKZ','qcCSw','none','nqPnF','error','RTgaq','❌\x20Failed\x20to\x20track\x20migration\x20attempt:','⚠️\x20[MIGRATION\x20WARNING]\x20SHOW\x20WARNING\x20-\x20genuinely\x20old\x20connection\x20needs\x20update','📋\x20Complete\x20YouTube\x20status\x20response:','✅\x20Training\x20will\x20work,\x20but\x20connection\x20expires\x20in\x20~1\x20hour','full','Llise','⚠️\x20YouTube\x20connected\x20but\x20needs\x20migration','XFOZb','riWwu','flydf','rMxAh','bCdDZ','LDgvc','gDFaB','temporary','✅\x20YouTube\x20connected\x20with\x20refresh\x20tokens','dLQSP','Lwyrv','SjEco','EQTLC','NSGvd','KLvGu','dtWdv','VBgen','To\x20improve\x20your\x20training\x20experience,\x20we\x20need\x20to\x20upgrade\x20your\x20YouTube\x20connection.\x20This\x20prevents\x20interruptions\x20during\x20data\x20collection.\x0a\x0a✅\x20One-time\x20upgrade\x0a✅\x20Takes\x2030\x20seconds\x0a✅\x20No\x20data\x20loss\x0a\x0aUpgrade\x20now?','Skip\x20for\x20Now','default','Alert','alert','dkINE','cancel','Upgrade\x20Now','hSqRo','❌\x20Error\x20in\x20YouTube\x20connection\x20check:','ℹ️\x20No\x20token\x20cache\x20to\x20clear','✅\x20Signed\x20out\x20-\x20consent\x20cache\x20cleared','gwQOm','fuQqz','🔐\x20Initiating\x20sign-in\x20-\x20consent\x20screen\x20should\x20appear...','None','Server\x20auth\x20code\x20from\x20sign-in','Current\x20user\x20server\x20auth\x20code','\x20\x20\x202.\x20forceCodeForRefreshToken:\x20true\x20is\x20missing','❌\x20No\x20refresh\x20token\x20received\x20-\x20Google\x20Console\x20configuration\x20may\x20be\x20incorrect','\x20\x20\x201.\x20offlineAccess:\x20true\x20is\x20missing\x20from\x20configuration','💡\x20This\x20usually\x20means:','...','🔑\x20Refresh\x20token\x20source:','onairos_jwt_token','enoch_token','okrAj','ATnSx','migration_token_placeholder','YouTube\x20Channel','your-api-key','❌\x20Backend\x20rejected\x20YouTube\x20migration:','❌\x20YouTube\x20migration\x20failed:','🔄\x20Starting\x20YouTube\x20migration\x20for\x20user:','iayhs','signOut','BvgVu','getTokens','accessToken','TQTQh','srTTN','WUjoq','clearCachedAccessToken','✅\x20Token\x20cache\x20cleared','Frexp','TbFMx','wFGSd','Upgrade\x20Failed\x20❌','WCDKw','hasPlayServices','signIn','serverAuthCode','gPUyM','NpBLu','idToken','gbiRy','kNNfF','Available','MISSING!','aoMKj','1|5|2|0|3|4','split','YNpWQ','Mossm','rEMtd','tKfET','✅\x20Got\x20refresh\x20token\x20after\x20consent:','upAIx','substring','AHicd','DahuV','getItem','GdJey','Glpxv','kiDVC','YhGfR','warn','pcsex','user','name','jYrBf','RbMPM','SdCcn','IQHNw','SKlYh','/youtube/native-auth','wDHvQ','vCAnA','Bearer\x20','stringify','SSwLP','mWLBP','fycTk','BOAeu','hNIZB','wbbWy','lazVQ','joDBB','Rcnoq','yXZiV','lxyXv','SGLUv','HmApE','Qcahm','ZcClB','toISOString','limited','🔍\x20[MIGRATION\x20WARNING]\x20Checking\x20if\x20user\x20should\x20see\x20migration\x20warning:','MarlR','🚫\x20[MIGRATION\x20WARNING]\x20NO\x20WARNING\x20-\x20user\x20is\x20in\x20temporary\x20mode\x20(working\x20correctly)','tlolY','uttem','bhGGM','hasAccessToken','ZAvEM','qJFpQ','needsReconnection','iIGyi','pFxIQ','lomxJ','YMhxH','NbBta','INWLv','vDPsR','DbhlL','ObYTh','❌\x20[MIGRATION\x20WARNING]\x20Error\x20checking\x20migration\x20warning\x20status:','🔄\x20Checking\x20YouTube\x20connection\x20for\x20user:','🚫\x20[MIGRATION]\x20NO\x20MIGRATION\x20NEEDED\x20-\x20user\x20connection\x20is\x20working\x20correctly','✅\x20[MIGRATION]\x20User\x20can\x20proceed\x20with\x20training\x20normally','✅\x20[MIGRATION]\x20YouTube\x20connection\x20working\x20properly\x20-\x20no\x20migration\x20needed','🔧\x20[MIGRATION]\x20User\x20needs\x20YouTube\x20migration\x20for\x20refresh\x20token\x20(genuinely\x20old\x20connection)','ℹ️\x20User\x20declined\x20YouTube\x20migration','Your\x20YouTube\x20connection\x20has\x20been\x20upgraded\x20successfully.\x20Training\x20will\x20now\x20work\x20seamlessly\x20without\x20interruptions.','uRxQO','Zfowb','fZHNJ','cAHtY','gHDyd','qBXNd','ETEIN','VqxAF','qIjKX','kyDiZ','wSUOZ','iFMrl','YouTube\x20connection\x20upgrade\x20failed.\x20Please\x20try\x20again\x20later\x20or\x20contact\x20support\x20if\x20the\x20problem\x20persists.','TOVdZ','QEpiJ','frhdm','ltSDZ','LWpzc','zaRFr'];_0x8d1d=function(){return _0x561779;};return _0x8d1d();}exports[_0x208c(0x6)]=checkAndFixYouTubeConnection;const reconnectYouTube=async _0x58a8f0=>{const _0x4a11a5={'LWpzc':'🔄\x20Manual\x20YouTube\x20reconnection\x20requested\x20for:','zaRFr':function(_0x1b2029,_0x30c182){return _0x1b2029(_0x30c182);}};return console['log'](_0x4a11a5[_0x208c(0xe3)],_0x58a8f0),await _0x4a11a5[_0x208c(0xe4)](forceYouTubeReconnection,_0x58a8f0);};exports['reconnectYouTube']=reconnectYouTube;
10
+ Object[_0x26a3(0x0)](exports,_0x26a3(0x1),{'value':!![]}),exports[_0x26a3(0x2)]=exports['reconnectYouTube']=exports['getYouTubeConnectionStatus']=exports[_0x26a3(0x3)]=exports[_0x26a3(0x4)]=void 0x0;var _googleSignin=__ONAIROS_REQ_FUNC__(0x0),_reactNative=__ONAIROS_REQ_FUNC__(0x1),_asyncStorage=_interopRequireDefault(__ONAIROS_REQ_FUNC__(0x2)),_api=__ONAIROS_REQ_FUNC__(0x3);function _interopRequireDefault(_0x7375a3){return _0x7375a3&&_0x7375a3[_0x26a3(0x1)]?_0x7375a3:{'default':_0x7375a3};}function _0x5b33(){const _0x310257=['defineProperty','__esModule','shouldShowYouTubeMigrationWarning','checkYouTubeMigrationNeeded','checkAndFixYouTubeConnection','1030678346906-lovkuds2ouqmoc8eu5qpo98spa6edv4o.apps.googleusercontent.com','https://www.googleapis.com/auth/youtube.readonly','openid','email','GoogleSignin','configure','kYnzj','dsuYg','profile','Fouke','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','🚫\x20[MIGRATION\x20WARNING]\x20NO\x20WARNING\x20-\x20user\x20is\x20in\x20temporary\x20mode\x20(working\x20correctly)','✅\x20[MIGRATION\x20WARNING]\x20NO\x20WARNING\x20-\x20connection\x20is\x20working\x20properly','none','vVrVU','kVfGh','temporary\x20access\x20token\x20mode','🔄\x20User\x20using\x20temporary\x20mode\x20-\x20connection\x20working\x20correctly','✅\x20YouTube\x20connection\x20fully\x20working\x20with\x20refresh\x20tokens','xOduE','❌\x20Error\x20checking\x20YouTube\x20migration\x20status:','ybZEg','Yqnir','API_CONFIG','json','success','validation','MUadQ','VlbsJ','rkpZO','Alert','alert','YouTube\x20Connection\x20Upgrade','QHNDn','Skip\x20for\x20Now','bUBrh','Upgrade\x20Now','WSvlt','isTemporaryMode','idaMW','temporaryMode','pwgfl','dRhse','message','includes','needsReconnection','hasRefreshToken','log','arHor','enabled','iOdcP','vSYOL','KDgYK','CwHdu','lipZz','MysMH','hasAccessToken','TqEqk','📊\x20[MIGRATION\x20WARNING]\x20Status\x20check:','connectedAt','KlhHy','cjeLE','❓\x20YouTube\x20connection\x20status\x20unclear','ZBeBR','QlaMU','LfRWG','error','✅\x20YouTube\x20connected\x20with\x20refresh\x20tokens','❌\x20Error\x20getting\x20YouTube\x20connection\x20status:','okyLf','🔄\x20YouTube\x20connected\x20in\x20temporary\x20mode','temporary','kaTnj','full','OVVSi','shKZv','⚠️\x20YouTube\x20connected\x20but\x20needs\x20migration','FzaBO','sAPbS','zGvgN','tDJJX','HEvul','qeQBI','CxhJc','BASE_URL','/youtube/validate-connection/','izEYA','OAZNs','RSFqI','CFquO','JOwvo','DSkQu','wpLtu','RENSI','limited','ToJDc','RMSbj','TqJyU','EKBJq','aRHWa','BnIwS','❌\x20No\x20YouTube\x20connection\x20found','getYouTubeConnectionStatus','QbTxs','Your\x20YouTube\x20connection\x20has\x20been\x20upgraded\x20successfully.\x20Training\x20will\x20now\x20work\x20seamlessly\x20without\x20interruptions.','Great!','❌\x20Failed\x20to\x20track\x20migration\x20attempt:','🔄\x20Starting\x20YouTube\x20migration\x20for\x20user:','✅\x20Signed\x20out\x20-\x20consent\x20cache\x20cleared','jAnRB','🔐\x20Initiating\x20sign-in\x20-\x20consent\x20screen\x20should\x20appear...','DdgAP','🔍\x20Token\x20Analysis:','Available','3|4|2|0|1|5','\x20\x20\x203.\x20User\x20did\x20not\x20grant\x20offline\x20access\x20permission','\x20\x20\x201.\x20offlineAccess:\x20true\x20is\x20missing\x20from\x20configuration','💡\x20This\x20usually\x20means:','✅\x20Got\x20refresh\x20token\x20after\x20consent:','🔑\x20Refresh\x20token\x20source:','onairos_jwt_token','auth_token','⚠️\x20No\x20authentication\x20token\x20found\x20for\x20YouTube\x20migration','migration_token_placeholder','youtube','YouTube\x20Channel','your-api-key','✅\x20YouTube\x20migration\x20successful','❌\x20YouTube\x20migration\x20failed:','oVpck','HLUzK','signOut','FexFn','qpGkP','YouTube\x20Upgraded!\x20✅','TsgCH','bBMDS','mNyJL','accessToken','✅\x20Token\x20cache\x20cleared','sbvrx','vgFrv','ℹ️\x20No\x20token\x20cache\x20to\x20clear','signIn','getTokens','getCurrentUser','PfPTw','serverAuthCode','Server\x20auth\x20code\x20from\x20sign-in','qmLLP','okRRl','lmBuv','awzZX','idToken','MKQoi','mzETy','YGNjh','user','czeuL','KTKEx','dnFTI','piOxL','kHuqF','substring','ltEtN','eTssM','getItem','fneTX','default','ymChO','warn','wpMVF','WtzzD','name','📤\x20Sending\x20migration\x20payload\x20to\x20backend...','/youtube/native-auth','EytEh','xhHdY','Bearer\x20','stringify','svWwc','Unknown\x20error','Viczl','iqcnm','oFsSN','/youtube/migration-status','mSxbS','toISOString','ddvyv','uCkId','⚠️\x20No\x20refresh\x20capability\x20but\x20training\x20can\x20proceed','lSRTJ','🔍\x20[MIGRATION\x20WARNING]\x20Checking\x20if\x20user\x20should\x20see\x20migration\x20warning:','VjDqc','⚠️\x20[MIGRATION\x20WARNING]\x20SHOW\x20WARNING\x20-\x20genuinely\x20old\x20connection\x20needs\x20update','❌\x20[MIGRATION\x20WARNING]\x20Error\x20checking\x20migration\x20warning\x20status:','vqDhw','cpING','KfydV','aHafY','YvOdm','RjrvD','ZyiAr','KRAtT','GKvuP','zmjqS','kHeoQ','djwNu','PEWHK','YEOpb','VNPqa','GPQgI','nhlNg','xXSeP','🔄\x20Checking\x20YouTube\x20connection\x20for\x20user:','🚫\x20[MIGRATION]\x20NO\x20MIGRATION\x20NEEDED\x20-\x20user\x20connection\x20is\x20working\x20correctly','wujtm','🔧\x20[MIGRATION]\x20User\x20needs\x20YouTube\x20migration\x20for\x20refresh\x20token\x20(genuinely\x20old\x20connection)','YouTube\x20connection\x20upgrade\x20failed.\x20Please\x20try\x20again\x20later\x20or\x20contact\x20support\x20if\x20the\x20problem\x20persists.','❌\x20Error\x20in\x20YouTube\x20connection\x20check:','ZJxjc','NoWfZ','✅\x20[MIGRATION]\x20User\x20can\x20proceed\x20with\x20training\x20normally','uMvVT','GaNWl','vqxhl','✅\x20[MIGRATION]\x20YouTube\x20connection\x20working\x20properly\x20-\x20no\x20migration\x20needed','VJbxe','wfUuN','ℹ️\x20User\x20declined\x20YouTube\x20migration','HUMWK','SFtBV','JQpGR','FwSKR','Upgrade\x20Failed\x20❌','XlLZr','LpQtB','AiMRF','GawSQ','JgyUt','reconnectYouTube'];_0x5b33=function(){return _0x310257;};return _0x5b33();}const WEB_CLIENT_ID='1030678346906-lovkuds2ouqmoc8eu5qpo98spa6edv4o.apps.googleusercontent.com',IOS_CLIENT_ID=_0x26a3(0x5),configureGoogleSignInForRefreshTokens=()=>{const _0x24176a={'kYnzj':_0x26a3(0x6),'dsuYg':_0x26a3(0x7),'Fouke':_0x26a3(0x8)};_googleSignin[_0x26a3(0x9)][_0x26a3(0xa)]({'webClientId':WEB_CLIENT_ID,'iosClientId':IOS_CLIENT_ID,'offlineAccess':!![],'forceCodeForRefreshToken':!![],'scopes':[_0x24176a[_0x26a3(0xb)],_0x24176a[_0x26a3(0xc)],_0x26a3(0xd),_0x24176a[_0x26a3(0xe)]],'hostedDomain':'','accountName':''});},checkYouTubeMigrationNeeded=async _0x3b14dd=>{const _0x14f680={'VlbsJ':_0x26a3(0xf),'rkpZO':_0x26a3(0x10),'dRhse':function(_0x5e0ac2,_0x53ab2b){return _0x5e0ac2===_0x53ab2b;},'CwHdu':function(_0x3940ca,_0xecaeee){return _0x3940ca===_0xecaeee;},'vSYOL':function(_0x57e193,_0x3fbe12){return _0x57e193===_0x3fbe12;},'lipZz':function(_0x4f3a87,_0x5d1a79){return _0x4f3a87===_0x5d1a79;},'MysMH':function(_0x5ba751,_0x3e97f1){return _0x5ba751===_0x3e97f1;},'TqEqk':function(_0x3c2e59,_0x437e09){return _0x3c2e59===_0x437e09;},'KlhHy':_0x26a3(0x11),'xcCjt':_0x26a3(0x12),'ZBeBR':_0x26a3(0x13),'Yqnir':function(_0x43e305,_0x31ffb7){return _0x43e305(_0x31ffb7);},'qZaEt':_0x26a3(0x14),'MUadQ':_0x26a3(0x15),'xDmVl':function(_0x1d4097,_0x3a51b5){return _0x1d4097===_0x3a51b5;},'idaMW':function(_0x24f920,_0x35e32a){return _0x24f920===_0x35e32a;},'pwgfl':function(_0x23573f,_0x2038e3){return _0x23573f===_0x2038e3;},'uLNuv':_0x26a3(0x16),'arHor':'🔍\x20YouTube\x20migration\x20check:','OAxdk':function(_0x6518ff,_0x3e565c){return _0x6518ff===_0x3e565c;},'iOdcP':_0x26a3(0x17),'slSLB':'⚠️\x20No\x20refresh\x20capability\x20but\x20training\x20can\x20proceed','KDgYK':'keimA','zYcJW':'🔧\x20User\x20needs\x20YouTube\x20migration\x20for\x20refresh\x20token','cjeLE':_0x26a3(0x18),'QlaMU':'bHfCO','LfRWG':_0x26a3(0x19),'aaUrj':_0x26a3(0x1a)};try{if(_0x14f680['dRhse'](_0x26a3(0x1b),_0x26a3(0x1b))){const _0x4a1235=await _0x14f680[_0x26a3(0x1c)](fetch,_api[_0x26a3(0x1d)]['BASE_URL']+'/youtube/validate-connection/'+_0x3b14dd),_0x52d4d1=await _0x4a1235[_0x26a3(0x1e)]();if(_0x52d4d1[_0x26a3(0x1f)]&&_0x52d4d1[_0x26a3(0x20)]){if(_0x14f680['qZaEt']===_0x14f680[_0x26a3(0x21)]){const _0x37b632={'QHNDn':_0x14f680[_0x26a3(0x22)],'bUBrh':_0x14f680[_0x26a3(0x23)],'WSvlt':'default'};return new _0x4fafe3(_0x1d5a17=>{_0x1bf2dd[_0x26a3(0x24)][_0x26a3(0x25)](_0x26a3(0x26),_0x37b632[_0x26a3(0x27)],[{'text':_0x26a3(0x28),'style':_0x37b632[_0x26a3(0x29)],'onPress':()=>_0x1d5a17(![])},{'text':_0x26a3(0x2a),'style':_0x37b632[_0x26a3(0x2b)],'onPress':()=>_0x1d5a17(!![])}]);});}else{var _0x46f200,_0x2696a0,_0x50cea3;const _0x3f74c0=_0x14f680['xDmVl'](_0x14f680['idaMW'](_0x46f200=_0x52d4d1[_0x26a3(0x20)],null)||_0x46f200===void 0x0?void 0x0:_0x46f200[_0x26a3(0x2c)],!![])||_0x14f680[_0x26a3(0x2d)](_0x14f680['dRhse'](_0x2696a0=_0x52d4d1[_0x26a3(0x2e)],null)||_0x14f680[_0x26a3(0x2f)](_0x2696a0,void 0x0)?void 0x0:_0x2696a0['enabled'],!![])||_0x14f680[_0x26a3(0x30)](_0x52d4d1['isTemporaryMode'],!![])||_0x52d4d1[_0x26a3(0x31)]&&_0x52d4d1[_0x26a3(0x31)][_0x26a3(0x32)](_0x14f680['uLNuv']),_0x38dc29=_0x52d4d1[_0x26a3(0x20)][_0x26a3(0x33)],_0x15abec=_0x52d4d1[_0x26a3(0x20)][_0x26a3(0x34)];console[_0x26a3(0x35)](_0x14f680[_0x26a3(0x36)],{'username':_0x3b14dd,'needsReconnection':_0x38dc29,'hasRefreshToken':_0x15abec,'isTemporaryMode':_0x3f74c0,'temporaryModeEnabled':_0x14f680['OAxdk'](_0x50cea3=_0x52d4d1[_0x26a3(0x2e)],null)||_0x14f680['dRhse'](_0x50cea3,void 0x0)?void 0x0:_0x50cea3[_0x26a3(0x37)],'message':_0x52d4d1['message']});if(_0x3f74c0)return console[_0x26a3(0x35)](_0x14f680[_0x26a3(0x38)]),console[_0x26a3(0x35)](_0x14f680['slSLB']),![];else{if(_0x38dc29){if(_0x14f680[_0x26a3(0x39)](_0x14f680[_0x26a3(0x3a)],_0x14f680[_0x26a3(0x3a)]))return console[_0x26a3(0x35)](_0x14f680['zYcJW']),!![];else{var _0xcda2b5,_0x246c56;const _0xa893bc=_0x14f680[_0x26a3(0x30)]((_0xcda2b5=_0x2d4608['validation'])===null||_0x14f680[_0x26a3(0x30)](_0xcda2b5,void 0x0)?void 0x0:_0xcda2b5[_0x26a3(0x2c)],!![])||(_0x14f680[_0x26a3(0x3b)](_0x246c56=_0x5dc18a['temporaryMode'],null)||_0x14f680[_0x26a3(0x39)](_0x246c56,void 0x0)?void 0x0:_0x246c56[_0x26a3(0x37)])===!![]||_0x14f680[_0x26a3(0x3c)](_0x4dab5f[_0x26a3(0x2c)],!![]),_0x2a2002=_0x14f680[_0x26a3(0x3d)](_0x4a6dd8[_0x26a3(0x20)][_0x26a3(0x3e)],!![]),_0x564693=_0x116621[_0x26a3(0x20)]['hasRefreshToken']===!![],_0x1ce1f0=_0x14f680[_0x26a3(0x3f)](_0x8ec843['validation'][_0x26a3(0x33)],!![]);_0x564f44[_0x26a3(0x35)](_0x26a3(0x40),{'username':_0x10991f,'hasAccessToken':_0x2a2002,'hasRefreshToken':_0x564693,'needsReconnection':_0x1ce1f0,'isTemporaryMode':_0xa893bc,'connectedAt':_0x2930b3[_0x26a3(0x20)][_0x26a3(0x41)]});if(_0xa893bc)return _0x16be95['log'](_0x14f680[_0x26a3(0x42)]),![];else return _0x2a2002&&!_0x564693&&_0x1ce1f0?(_0x49342c[_0x26a3(0x35)]('⚠️\x20[MIGRATION\x20WARNING]\x20SHOW\x20WARNING\x20-\x20genuinely\x20old\x20connection\x20needs\x20update'),!![]):(_0x41a4f5['log'](_0x14f680['xcCjt']),![]);}}else return console['log'](_0x14f680[_0x26a3(0x43)]),![];}}}return![];}else return _0x47ce53[_0x26a3(0x35)](_0x26a3(0x44)),{'isReady':![],'mode':_0x14f680[_0x26a3(0x45)],'needsMigration':![],'trainingReady':![],'details':_0x4fc379};}catch(_0x1a08a8){return _0x14f680[_0x26a3(0x3b)](_0x14f680[_0x26a3(0x46)],_0x14f680[_0x26a3(0x47)])?(_0x5f3276['error']('❌\x20[MIGRATION\x20WARNING]\x20Error\x20checking\x20migration\x20warning\x20status:',_0x137780),![]):(console[_0x26a3(0x48)](_0x14f680['aaUrj'],_0x1a08a8),![]);}};exports['checkYouTubeMigrationNeeded']=checkYouTubeMigrationNeeded;const getYouTubeConnectionStatus=async _0x4f8a86=>{const _0x24ea44={'tDJJX':_0x26a3(0x6),'HEvul':_0x26a3(0x7),'qeQBI':_0x26a3(0xd),'CxhJc':_0x26a3(0x8),'DSkQu':_0x26a3(0x49),'ToJDc':_0x26a3(0x4a),'aRHWa':_0x26a3(0x13),'RMSbj':function(_0x1ecefa,_0x25d7f5){return _0x1ecefa instanceof _0x25d7f5;},'TqJyU':function(_0x28c1cd,_0x44f54c){return _0x28c1cd(_0x44f54c);},'BnIwS':'ℹ️\x20No\x20token\x20cache\x20to\x20clear','QqsNg':function(_0x4d8dc2,_0x2660b9){return _0x4d8dc2===_0x2660b9;},'EPfFL':_0x26a3(0x4b),'zGvgN':'KYtJe','izEYA':function(_0x30b81c,_0x4af55d){return _0x30b81c===_0x4af55d;},'OAZNs':function(_0x55ed49,_0x1d02ac){return _0x55ed49===_0x1d02ac;},'LCeGQ':function(_0x1210fc,_0x943d27){return _0x1210fc===_0x943d27;},'RSFqI':function(_0x35a61d,_0x35577c){return _0x35a61d===_0x35577c;},'CFquO':_0x26a3(0x4c),'OfTFm':_0x26a3(0x4d),'JOwvo':_0x26a3(0x4e),'cyetm':_0x26a3(0x4f),'wpLtu':_0x26a3(0x50),'RENSI':_0x26a3(0x51),'SbArU':_0x26a3(0x52),'rAgFF':_0x26a3(0x53),'EKBJq':_0x26a3(0x54),'RwWyz':function(_0x2db3f6,_0x50daf1){return _0x2db3f6(_0x50daf1);}};try{if(_0x24ea44['QqsNg'](_0x24ea44['EPfFL'],_0x24ea44[_0x26a3(0x55)]))_0x5a234d['GoogleSignin'][_0x26a3(0xa)]({'webClientId':_0x3ae059,'iosClientId':_0xedd5ab,'offlineAccess':!![],'forceCodeForRefreshToken':!![],'scopes':[_0x24ea44[_0x26a3(0x56)],_0x24ea44[_0x26a3(0x57)],_0x24ea44[_0x26a3(0x58)],_0x24ea44[_0x26a3(0x59)]],'hostedDomain':'','accountName':''});else{const _0x95f2b5=await _0x24ea44['TqJyU'](fetch,_api['API_CONFIG'][_0x26a3(0x5a)]+_0x26a3(0x5b)+_0x4f8a86),_0x128ef3=await _0x95f2b5[_0x26a3(0x1e)]();console[_0x26a3(0x35)]('📋\x20Complete\x20YouTube\x20status\x20response:',_0x128ef3);if(_0x128ef3[_0x26a3(0x1f)]&&_0x128ef3[_0x26a3(0x20)]){var _0x5aa2e2,_0x355e9b;const _0x41cdb9=(_0x24ea44['izEYA'](_0x5aa2e2=_0x128ef3[_0x26a3(0x20)],null)||_0x5aa2e2===void 0x0?void 0x0:_0x5aa2e2['isTemporaryMode'])===!![]||_0x24ea44[_0x26a3(0x5c)](_0x24ea44[_0x26a3(0x5d)](_0x355e9b=_0x128ef3[_0x26a3(0x2e)],null)||_0x355e9b===void 0x0?void 0x0:_0x355e9b[_0x26a3(0x37)],!![])||_0x24ea44['LCeGQ'](_0x128ef3[_0x26a3(0x2c)],!![])||_0x128ef3[_0x26a3(0x31)]&&_0x128ef3[_0x26a3(0x31)][_0x26a3(0x32)](_0x26a3(0x16)),_0x5b73ea=_0x24ea44[_0x26a3(0x5e)](_0x128ef3['validation'][_0x26a3(0x34)],!![]),_0x3da26b=_0x24ea44['LCeGQ'](_0x128ef3[_0x26a3(0x20)][_0x26a3(0x33)],!![]);if(_0x41cdb9)return console['log'](_0x24ea44[_0x26a3(0x5f)]),console[_0x26a3(0x35)]('✅\x20Training\x20will\x20work,\x20but\x20connection\x20expires\x20in\x20~1\x20hour'),{'isReady':!![],'mode':_0x24ea44['OfTFm'],'needsMigration':![],'trainingReady':!![],'details':_0x128ef3};else{if(_0x5b73ea)return _0x24ea44[_0x26a3(0x5d)](_0x24ea44[_0x26a3(0x60)],_0x24ea44[_0x26a3(0x60)])?(console[_0x26a3(0x35)](_0x26a3(0x49)),{'isReady':!![],'mode':_0x24ea44['cyetm'],'needsMigration':![],'trainingReady':!![],'details':_0x128ef3}):(_0x152316['log'](_0x24ea44[_0x26a3(0x61)]),{'isReady':!![],'mode':_0x26a3(0x4f),'needsMigration':![],'trainingReady':!![],'details':_0x546ffd});else{if(_0x3da26b)return _0x24ea44[_0x26a3(0x62)]!==_0x24ea44[_0x26a3(0x63)]?(console[_0x26a3(0x35)](_0x24ea44['SbArU']),{'isReady':![],'mode':_0x26a3(0x64),'needsMigration':!![],'trainingReady':![],'details':_0x128ef3}):(_0x57afe9[_0x26a3(0x48)](_0x24ea44[_0x26a3(0x65)],_0x53a5eb),{'isReady':![],'mode':_0x24ea44['aRHWa'],'needsMigration':![],'trainingReady':![],'details':{'error':_0x24ea44[_0x26a3(0x66)](_0x5d4d05,_0x5b87b1)?_0x30ca64['message']:_0x24ea44[_0x26a3(0x67)](_0x20af75,_0x3f078c)}});else{if(_0x24ea44['rAgFF']!==_0x24ea44[_0x26a3(0x68)])return console[_0x26a3(0x35)](_0x26a3(0x44)),{'isReady':![],'mode':_0x24ea44[_0x26a3(0x69)],'needsMigration':![],'trainingReady':![],'details':_0x128ef3};else _0x53d31c['log'](_0x24ea44[_0x26a3(0x6a)]);}}}}return console['log'](_0x26a3(0x6b)),{'isReady':![],'mode':_0x24ea44[_0x26a3(0x69)],'needsMigration':![],'trainingReady':![],'details':_0x128ef3};}}catch(_0x1dd9f5){return console[_0x26a3(0x48)](_0x26a3(0x4a),_0x1dd9f5),{'isReady':![],'mode':_0x26a3(0x13),'needsMigration':![],'trainingReady':![],'details':{'error':_0x24ea44['RMSbj'](_0x1dd9f5,Error)?_0x1dd9f5[_0x26a3(0x31)]:_0x24ea44['RwWyz'](String,_0x1dd9f5)}};}};exports[_0x26a3(0x6c)]=getYouTubeConnectionStatus;const showYouTubeMigrationPrompt=async()=>{const _0x169832={'Odkqz':'YouTube\x20Connection\x20Upgrade','lrJeo':'cancel','QbTxs':'Upgrade\x20Now','ZHXjo':'default'};return new Promise(_0x139f08=>{_reactNative[_0x26a3(0x24)]['alert'](_0x169832['Odkqz'],_0x26a3(0xf),[{'text':'Skip\x20for\x20Now','style':_0x169832['lrJeo'],'onPress':()=>_0x139f08(![])},{'text':_0x169832[_0x26a3(0x6d)],'style':_0x169832['ZHXjo'],'onPress':()=>_0x139f08(!![])}]);});},forceYouTubeReconnection=async _0x15a886=>{const _0x64c354={'TsgCH':_0x26a3(0x6e),'bBMDS':_0x26a3(0x6f),'mNyJL':'default','awzZX':_0x26a3(0x70),'oVpck':_0x26a3(0x71),'HLUzK':function(_0x4f8872){return _0x4f8872();},'FexFn':_0x26a3(0x72),'qpGkP':'wAutA','sbvrx':function(_0x329220,_0x39e59e){return _0x329220===_0x39e59e;},'vgFrv':_0x26a3(0x73),'RUzES':_0x26a3(0x74),'PfPTw':'None','qmLLP':function(_0x553aa5,_0x40c392){return _0x553aa5!==_0x40c392;},'okRRl':_0x26a3(0x75),'lmBuv':'Current\x20user\x20server\x20auth\x20code','irvhw':_0x26a3(0x76),'MKQoi':_0x26a3(0x77),'mzETy':'MISSING!','YGNjh':function(_0x39b61f,_0x160ca0){return _0x39b61f===_0x160ca0;},'czeuL':_0x26a3(0x78),'KTKEx':_0x26a3(0x79),'dnFTI':_0x26a3(0x7a),'SIVFQ':'❌\x20No\x20refresh\x20token\x20received\x20-\x20Google\x20Console\x20configuration\x20may\x20be\x20incorrect','piOxL':_0x26a3(0x7b),'kHuqF':_0x26a3(0x7c),'UhLfc':function(_0x4835a6,_0x34c9c3){return _0x4835a6+_0x34c9c3;},'ltEtN':'...','eTssM':_0x26a3(0x7d),'fneTX':_0x26a3(0x7e),'wlABb':'enoch_token','ymChO':_0x26a3(0x7f),'wpMVF':_0x26a3(0x80),'xhHdY':_0x26a3(0x81),'WtzzD':_0x26a3(0x82),'PeIfG':_0x26a3(0x83),'Trysi':function(_0x3acfb7,_0x4ae65e,_0x599e30){return _0x3acfb7(_0x4ae65e,_0x599e30);},'EytEh':_0x26a3(0x84),'mHzLn':_0x26a3(0x85),'dNkfm':'❌\x20Backend\x20rejected\x20YouTube\x20migration:','svWwc':_0x26a3(0x86),'bpADg':function(_0x45896d,_0x43576c,_0x21463f,_0x3b726a){return _0x45896d(_0x43576c,_0x21463f,_0x3b726a);}};try{var _0x1248ef,_0x14cd88,_0x26453f,_0x5f0df1;console[_0x26a3(0x35)](_0x64c354[_0x26a3(0x87)],_0x15a886),_0x64c354[_0x26a3(0x88)](configureGoogleSignInForRefreshTokens),await _googleSignin['GoogleSignin'][_0x26a3(0x89)](),console['log'](_0x64c354[_0x26a3(0x8a)]);try{const _0x14f726=await _googleSignin[_0x26a3(0x9)]['getTokens']();if(_0x14f726['accessToken']){if(_0x64c354['qpGkP']!==_0x64c354[_0x26a3(0x8b)])return _0x5f261f['Alert'][_0x26a3(0x25)](_0x26a3(0x8c),_0x64c354[_0x26a3(0x8d)],[{'text':_0x64c354[_0x26a3(0x8e)],'style':_0x64c354[_0x26a3(0x8f)]}]),!![];else await _googleSignin['GoogleSignin']['clearCachedAccessToken'](_0x14f726[_0x26a3(0x90)]),console[_0x26a3(0x35)](_0x26a3(0x91));}}catch(_0x15b0de){if(_0x64c354[_0x26a3(0x92)](_0x26a3(0x73),_0x64c354[_0x26a3(0x93)]))console[_0x26a3(0x35)](_0x26a3(0x94));else return _0x13e5a3[_0x26a3(0x48)]('❌\x20Error\x20checking\x20YouTube\x20migration\x20status:',_0x39f2e7),![];}await _googleSignin['GoogleSignin']['hasPlayServices'](),console[_0x26a3(0x35)](_0x64c354['RUzES']);const _0x3353d2=await _googleSignin['GoogleSignin'][_0x26a3(0x95)](),_0x241af6=await _googleSignin[_0x26a3(0x9)][_0x26a3(0x96)](),_0x44e47d=await _googleSignin['GoogleSignin'][_0x26a3(0x97)]();let _0x196bab=null,_0x1c1166=_0x64c354[_0x26a3(0x98)];if(_0x3353d2[_0x26a3(0x99)])_0x196bab=_0x3353d2['serverAuthCode'],_0x1c1166=_0x26a3(0x9a);else _0x64c354['qmLLP'](_0x44e47d,null)&&_0x64c354[_0x26a3(0x9b)](_0x44e47d,void 0x0)&&_0x44e47d[_0x26a3(0x99)]&&(_0x64c354[_0x26a3(0x92)](_0x64c354[_0x26a3(0x9c)],_0x64c354[_0x26a3(0x9c)])?(_0x196bab=_0x44e47d[_0x26a3(0x99)],_0x1c1166=_0x64c354[_0x26a3(0x9d)]):_0x1241e2['error'](_0x64c354[_0x26a3(0x9e)],_0x1057b9));console[_0x26a3(0x35)](_0x64c354['irvhw'],{'hasAccessToken':!!_0x241af6['accessToken'],'hasIdToken':!!_0x241af6[_0x26a3(0x9f)],'hasServerAuthCode':!!_0x3353d2['serverAuthCode'],'hasCurrentUserAuthCode':!!(_0x64c354['qmLLP'](_0x44e47d,null)&&_0x64c354[_0x26a3(0x9b)](_0x44e47d,void 0x0)&&_0x44e47d[_0x26a3(0x99)]),'refreshTokenSource':_0x1c1166,'finalRefreshToken':_0x196bab?_0x64c354[_0x26a3(0xa0)]:_0x64c354[_0x26a3(0xa1)],'userEmail':_0x64c354[_0x26a3(0xa2)](_0x1248ef=_0x3353d2[_0x26a3(0xa3)],null)||_0x64c354[_0x26a3(0x92)](_0x1248ef,void 0x0)?void 0x0:_0x1248ef['email']});if(!_0x196bab){const _0x18f493=_0x64c354[_0x26a3(0xa4)]['split']('|');let _0x2f0128=0x0;while(!![]){switch(_0x18f493[_0x2f0128++]){case'0':console[_0x26a3(0x48)]('\x20\x20\x202.\x20forceCodeForRefreshToken:\x20true\x20is\x20missing');continue;case'1':console[_0x26a3(0x48)](_0x64c354[_0x26a3(0xa5)]);continue;case'2':console[_0x26a3(0x48)](_0x64c354[_0x26a3(0xa6)]);continue;case'3':console['error'](_0x64c354['SIVFQ']);continue;case'4':console['error'](_0x64c354[_0x26a3(0xa7)]);continue;case'5':return![];}break;}}console[_0x26a3(0x35)](_0x64c354[_0x26a3(0xa8)],_0x64c354['UhLfc'](_0x196bab[_0x26a3(0xa9)](0x0,0x14),_0x64c354[_0x26a3(0xaa)])),console[_0x26a3(0x35)](_0x64c354[_0x26a3(0xab)],_0x1c1166);let _0x295faa=await _asyncStorage['default'][_0x26a3(0xac)](_0x64c354[_0x26a3(0xad)])||await _asyncStorage['default'][_0x26a3(0xac)](_0x64c354['wlABb'])||await _asyncStorage[_0x26a3(0xae)][_0x26a3(0xac)](_0x64c354[_0x26a3(0xaf)]);!_0x295faa&&(console[_0x26a3(0xb0)](_0x64c354[_0x26a3(0xb1)]),_0x295faa=_0x64c354['xhHdY']);const _0xd42581={'session':{'username':_0x15a886,'platform':_0x64c354[_0x26a3(0xb2)],'channelName':((_0x14cd88=_0x3353d2['user'])===null||_0x64c354[_0x26a3(0x92)](_0x14cd88,void 0x0)?void 0x0:_0x14cd88[_0x26a3(0xb3)])||_0x64c354['PeIfG'],'channelId':null},'googleUser':_0x3353d2['user'],'accessToken':_0x241af6['accessToken'],'idToken':_0x241af6[_0x26a3(0x9f)],'refreshToken':_0x196bab,'serverAuthCode':_0x3353d2[_0x26a3(0x99)],'userAccountInfo':{'username':_0x15a886,'email':(_0x26453f=_0x3353d2[_0x26a3(0xa3)])===null||_0x64c354[_0x26a3(0xa2)](_0x26453f,void 0x0)?void 0x0:_0x26453f[_0x26a3(0x8)],'authToken':_0x295faa,'channelName':((_0x5f0df1=_0x3353d2['user'])===null||_0x64c354[_0x26a3(0x92)](_0x5f0df1,void 0x0)?void 0x0:_0x5f0df1[_0x26a3(0xb3)])||_0x26a3(0x83),'channelId':null}};console['log'](_0x26a3(0xb4));const _0xee95b4=await _0x64c354['Trysi'](fetch,_api[_0x26a3(0x1d)][_0x26a3(0x5a)]+_0x26a3(0xb5),{'method':'POST','headers':{'Content-Type':'application/json','x-api-key':_0x64c354[_0x26a3(0xb6)],..._0x64c354[_0x26a3(0x9b)](_0x295faa,_0x64c354[_0x26a3(0xb7)])&&{'Authorization':_0x26a3(0xb8)+_0x295faa}},'body':JSON[_0x26a3(0xb9)](_0xd42581)}),_0x3719a4=await _0xee95b4[_0x26a3(0x1e)]();return _0x3719a4[_0x26a3(0x1f)]?(console[_0x26a3(0x35)](_0x64c354['mHzLn']),await trackMigrationAttempt(_0x15a886,!![]),!![]):(console[_0x26a3(0x48)](_0x64c354['dNkfm'],_0x3719a4['error']),await trackMigrationAttempt(_0x15a886,![],_0x3719a4[_0x26a3(0x48)]),![]);}catch(_0x5a502c){return console[_0x26a3(0x48)](_0x64c354[_0x26a3(0xba)],_0x5a502c),await _0x64c354['bpADg'](trackMigrationAttempt,_0x15a886,![],_0x5a502c instanceof Error?_0x5a502c[_0x26a3(0x31)]:_0x26a3(0xbb)),![];}},trackMigrationAttempt=async(_0x568027,_0x33a9f5,_0x1c634d)=>{const _0x41e6df={'oFsSN':function(_0x1079f1,_0x3da301,_0x51bcf2){return _0x1079f1(_0x3da301,_0x51bcf2);},'mSxbS':function(_0x3606e9,_0xaf1c){return _0x3606e9||_0xaf1c;},'ddvyv':function(_0x4e9502,_0x3ba03d){return _0x4e9502===_0x3ba03d;},'CjNYa':_0x26a3(0xbc),'uCkId':_0x26a3(0xbd)};try{await _0x41e6df[_0x26a3(0xbe)](fetch,_api[_0x26a3(0x1d)]['BASE_URL']+_0x26a3(0xbf),{'method':'POST','headers':{'Content-Type':'application/json'},'body':JSON['stringify']({'username':_0x568027,'success':_0x33a9f5,'error':_0x41e6df[_0x26a3(0xc0)](_0x1c634d,null),'timestamp':new Date()[_0x26a3(0xc1)]()})});}catch(_0x3bc301){if(_0x41e6df[_0x26a3(0xc2)](_0x41e6df['CjNYa'],_0x41e6df[_0x26a3(0xc3)]))return _0x544a51&&_0x38d0f9['__esModule']?_0x53c585:{'default':_0x570a9e};else console[_0x26a3(0x48)](_0x26a3(0x70),_0x3bc301);}},shouldShowYouTubeMigrationWarning=async _0x543412=>{const _0x397baf={'YEOpb':_0x26a3(0xc4),'lLBAM':'YouTube\x20Connection\x20Upgrade','GPQgI':_0x26a3(0xf),'ZCUrp':_0x26a3(0x2a),'nhlNg':_0x26a3(0xae),'RjrvD':function(_0x191636,_0xce8b3){return _0x191636===_0xce8b3;},'vqDhw':_0x26a3(0xc5),'cpING':_0x26a3(0xc6),'XDzJd':function(_0x191c1f,_0x2ff69d){return _0x191c1f(_0x2ff69d);},'KfydV':function(_0x46429f,_0x5a0d7a){return _0x46429f===_0x5a0d7a;},'aHafY':function(_0x5651ae,_0x26e24b){return _0x5651ae===_0x26e24b;},'YvOdm':function(_0x2dc61c,_0x3ed1e7){return _0x2dc61c===_0x3ed1e7;},'ZyiAr':function(_0x5cff67,_0x17a02f){return _0x5cff67===_0x17a02f;},'KRAtT':_0x26a3(0x40),'GKvuP':'🚫\x20[MIGRATION\x20WARNING]\x20NO\x20WARNING\x20-\x20user\x20is\x20in\x20temporary\x20mode\x20(working\x20correctly)','CKTGo':function(_0x1612e8,_0x3b2282){return _0x1612e8&&_0x3b2282;},'zmjqS':function(_0x433a33,_0x305db3){return _0x433a33!==_0x305db3;},'kHeoQ':_0x26a3(0xc7),'djwNu':'NlVpR','PEWHK':_0x26a3(0xc8),'VNPqa':'ℹ️\x20[MIGRATION\x20WARNING]\x20NO\x20WARNING\x20-\x20no\x20YouTube\x20connection\x20found','xXSeP':_0x26a3(0xc9)};try{if(_0x397baf['RjrvD'](_0x397baf[_0x26a3(0xca)],_0x26a3(0xc5))){console['log'](_0x397baf[_0x26a3(0xcb)],_0x543412);const _0x5b042d=await _0x397baf['XDzJd'](fetch,_api[_0x26a3(0x1d)]['BASE_URL']+_0x26a3(0x5b)+_0x543412),_0x36898f=await _0x5b042d[_0x26a3(0x1e)]();if(_0x36898f[_0x26a3(0x1f)]&&_0x36898f['validation']){var _0x32caf5,_0x586347;const _0x435623=(_0x397baf[_0x26a3(0xcc)](_0x32caf5=_0x36898f['validation'],null)||_0x397baf[_0x26a3(0xcc)](_0x32caf5,void 0x0)?void 0x0:_0x32caf5['isTemporaryMode'])===!![]||_0x397baf[_0x26a3(0xcd)](_0x397baf[_0x26a3(0xce)](_0x586347=_0x36898f[_0x26a3(0x2e)],null)||_0x397baf[_0x26a3(0xcf)](_0x586347,void 0x0)?void 0x0:_0x586347[_0x26a3(0x37)],!![])||_0x397baf[_0x26a3(0xcf)](_0x36898f[_0x26a3(0x2c)],!![]),_0xfebc2b=_0x397baf[_0x26a3(0xd0)](_0x36898f['validation'][_0x26a3(0x3e)],!![]),_0x1bb85c=_0x397baf['ZyiAr'](_0x36898f[_0x26a3(0x20)][_0x26a3(0x34)],!![]),_0x4dd33a=_0x397baf[_0x26a3(0xd0)](_0x36898f[_0x26a3(0x20)][_0x26a3(0x33)],!![]);console[_0x26a3(0x35)](_0x397baf[_0x26a3(0xd1)],{'username':_0x543412,'hasAccessToken':_0xfebc2b,'hasRefreshToken':_0x1bb85c,'needsReconnection':_0x4dd33a,'isTemporaryMode':_0x435623,'connectedAt':_0x36898f['validation']['connectedAt']});if(_0x435623)return console['log'](_0x397baf[_0x26a3(0xd2)]),![];else return _0x397baf['CKTGo'](_0xfebc2b,!_0x1bb85c)&&_0x4dd33a?_0x397baf[_0x26a3(0xd3)](_0x397baf[_0x26a3(0xd4)],_0x397baf[_0x26a3(0xd5)])?(console[_0x26a3(0x35)](_0x397baf[_0x26a3(0xd6)]),!![]):(_0x871879[_0x26a3(0x35)](_0x26a3(0x17)),_0xafee40['log'](_0x397baf[_0x26a3(0xd7)]),![]):(console['log']('✅\x20[MIGRATION\x20WARNING]\x20NO\x20WARNING\x20-\x20connection\x20is\x20working\x20properly'),![]);}return console['log'](_0x397baf[_0x26a3(0xd8)]),![];}else _0x14fbc1['Alert'][_0x26a3(0x25)](_0x397baf['lLBAM'],_0x397baf[_0x26a3(0xd9)],[{'text':_0x26a3(0x28),'style':'cancel','onPress':()=>_0x27bb1f(![])},{'text':_0x397baf['ZCUrp'],'style':_0x397baf[_0x26a3(0xda)],'onPress':()=>_0x501b9c(!![])}]);}catch(_0x4189c9){return console['error'](_0x397baf[_0x26a3(0xdb)],_0x4189c9),![];}};exports[_0x26a3(0x2)]=shouldShowYouTubeMigrationWarning;const checkAndFixYouTubeConnection=async _0x583615=>{const _0x241247={'TmGfq':_0x26a3(0x12),'vqxhl':_0x26a3(0x11),'JQpGR':'⚠️\x20No\x20authentication\x20token\x20found\x20for\x20YouTube\x20migration','FwSKR':_0x26a3(0x81),'lzgKa':_0x26a3(0xdc),'scdgX':function(_0x107ec6,_0x3cc8c8){return _0x107ec6(_0x3cc8c8);},'kgnkA':function(_0x22caf1,_0x4a4ee3){return _0x22caf1!==_0x4a4ee3;},'ZJxjc':'WpxEd','NoWfZ':_0x26a3(0xdd),'uMvVT':function(_0x3d549b,_0x4769da){return _0x3d549b!==_0x4769da;},'GaNWl':_0x26a3(0xde),'VJbxe':_0x26a3(0xdf),'wfUuN':function(_0x5619bd){return _0x5619bd();},'ijNwW':function(_0x9b7b11,_0xc8d872){return _0x9b7b11(_0xc8d872);},'HUMWK':_0x26a3(0x8c),'SFtBV':'yvHtG','XlLZr':_0x26a3(0xe0),'LpQtB':'default','AiMRF':_0x26a3(0xe1)};try{console['log'](_0x241247['lzgKa'],_0x583615);const _0x33511e=await _0x241247['scdgX'](shouldShowYouTubeMigrationWarning,_0x583615);if(!_0x33511e)return _0x241247['kgnkA'](_0x241247[_0x26a3(0xe2)],_0x241247[_0x26a3(0xe2)])?(_0x4b6ad1['log'](_0x241247['TmGfq']),![]):(console['log'](_0x241247[_0x26a3(0xe3)]),console[_0x26a3(0x35)](_0x26a3(0xe4)),!![]);const _0x41c62e=await _0x241247['scdgX'](checkYouTubeMigrationNeeded,_0x583615);if(!_0x41c62e)return _0x241247[_0x26a3(0xe5)](_0x241247[_0x26a3(0xe6)],_0x241247[_0x26a3(0xe6)])?(_0x189e79[_0x26a3(0x35)](_0x241247[_0x26a3(0xe7)]),![]):(console[_0x26a3(0x35)](_0x26a3(0xe8)),!![]);console[_0x26a3(0x35)](_0x241247[_0x26a3(0xe9)]);const _0x2df0ae=await _0x241247[_0x26a3(0xea)](showYouTubeMigrationPrompt);if(!_0x2df0ae)return console['log'](_0x26a3(0xeb)),![];const _0x5264cc=await _0x241247['ijNwW'](forceYouTubeReconnection,_0x583615);if(_0x5264cc)return _reactNative[_0x26a3(0x24)][_0x26a3(0x25)](_0x241247[_0x26a3(0xec)],_0x26a3(0x6e),[{'text':'Great!','style':'default'}]),!![];else{if(_0x241247['kgnkA'](_0x241247['SFtBV'],_0x241247[_0x26a3(0xed)]))_0xa85a56[_0x26a3(0xb0)](_0x241247[_0x26a3(0xee)]),_0x1583e5=_0x241247[_0x26a3(0xef)];else return _reactNative[_0x26a3(0x24)][_0x26a3(0x25)](_0x26a3(0xf0),_0x241247[_0x26a3(0xf1)],[{'text':'OK','style':_0x241247[_0x26a3(0xf2)]}]),![];}}catch(_0x26985c){return console[_0x26a3(0x48)](_0x241247[_0x26a3(0xf3)],_0x26985c),![];}};exports[_0x26a3(0x4)]=checkAndFixYouTubeConnection;const reconnectYouTube=async _0x1d9954=>{const _0x303f12={'GawSQ':'🔄\x20Manual\x20YouTube\x20reconnection\x20requested\x20for:','JgyUt':function(_0x468aa8,_0x5a7652){return _0x468aa8(_0x5a7652);}};return console[_0x26a3(0x35)](_0x303f12[_0x26a3(0xf4)],_0x1d9954),await _0x303f12[_0x26a3(0xf5)](forceYouTubeReconnection,_0x1d9954);};function _0x26a3(_0x5b33c4,_0x26a342){_0x5b33c4=_0x5b33c4-0x0;const _0x132695=_0x5b33();let _0x2dac94=_0x132695[_0x5b33c4];return _0x2dac94;}exports[_0x26a3(0xf6)]=reconnectYouTube;
@@ -4,4 +4,4 @@ var __ONAIROS_REQ_REGISTRY__ = [
4
4
  require("react-native")
5
5
  ];
6
6
  function __ONAIROS_REQ_FUNC__(i) { return __ONAIROS_REQ_REGISTRY__[i]; }
7
- function _0x1085(){const _0x4e5528=['__esModule','default','TEXT_STYLES','SHADOWS','FONTS','COLORS','BORDER_RADIUS','#FAFAFA','#D1D5DB','#86888E','#62646C','#374151','#29292B','#17181C','rgba(0,0,0,0.20)','rgba(0,0,0,0.10)','#FFFFFF','#0A090E','#17171B','#FFD700','#FFDF33','#000000','#121212','#1C2526','#B0B0B0','#808080','rgba(255,\x20255,\x20255,\x200.1)','#FF3B30','rgba(0,\x200,\x200,\x200.7)','ios','IBM\x20Plex\x20Sans','Inter','Platform','System','Roboto','Georgia','serif','400','500','600','700','SPACING','btnInnerShadow','btnShadowOuter','families','weights','bold','sizes','lineHeights','letterSpacing','kicker','ibmPlexSansBold','welcomeTitle','grey800','inter','body','center','grey600','semibold','buttonLabel','btnLabel'];_0x1085=function(){return _0x4e5528;};return _0x1085();}Object['defineProperty'](exports,_0x5dbd(0x0),{'value':!![]}),exports[_0x5dbd(0x1)]=exports[_0x5dbd(0x2)]=exports['SPACING']=exports[_0x5dbd(0x3)]=exports[_0x5dbd(0x4)]=exports[_0x5dbd(0x5)]=exports[_0x5dbd(0x6)]=void 0x0;var _reactNative=__ONAIROS_REQ_FUNC__(0x0);const COLORS=exports[_0x5dbd(0x5)]={'surface':_0x5dbd(0x7),'grey300':_0x5dbd(0x8),'grey400':'#9CA3AF','grey500':_0x5dbd(0x9),'grey600':_0x5dbd(0xa),'grey700':_0x5dbd(0xb),'grey800':'#1F242F','btnGradStart':_0x5dbd(0xc),'btnGradEnd':_0x5dbd(0xd),'btnBorder':_0x5dbd(0xe),'btnShadowOuter':_0x5dbd(0xf),'btnInnerShadow':'rgba(0,0,0,0.06)','btnLabel':_0x5dbd(0x10),'iconCircleGradientStart':_0x5dbd(0x11),'iconCircleGradientEnd':_0x5dbd(0x12),'primary':_0x5dbd(0x13),'primaryDark':'#E9B104','primaryLight':_0x5dbd(0x14),'background':{'dark':_0x5dbd(0x15),'medium':_0x5dbd(0x16),'light':_0x5dbd(0x17)},'text':{'primary':_0x5dbd(0x10),'secondary':_0x5dbd(0x18),'tertiary':_0x5dbd(0x19),'gold':'#FFD700'},'ui':{'cardBackground':_0x5dbd(0x1a),'divider':_0x5dbd(0x1a),'inputBackground':'rgba(255,\x20255,\x20255,\x200.1)','buttonBackground':_0x5dbd(0x1a)},'status':{'success':'#4BB543','error':_0x5dbd(0x1b),'warning':'#FF9500','info':'#5AC8FA'},'transparent':'transparent','overlay':_0x5dbd(0x1c)},FONTS=exports[_0x5dbd(0x4)]={'families':{'ibmPlexSans':_reactNative['Platform']['OS']===_0x5dbd(0x1d)?'IBM\x20Plex\x20Sans':_0x5dbd(0x1e),'ibmPlexSansBold':_reactNative['Platform']['OS']==='ios'?_0x5dbd(0x1e):_0x5dbd(0x1e),'inter':_reactNative['Platform']['OS']===_0x5dbd(0x1d)?_0x5dbd(0x1f):'Inter-Regular','base':_reactNative[_0x5dbd(0x20)]['OS']===_0x5dbd(0x1d)?_0x5dbd(0x21):_0x5dbd(0x22),'serif':_reactNative['Platform']['OS']==='ios'?_0x5dbd(0x23):_0x5dbd(0x24)},'weights':{'light':'300','regular':_0x5dbd(0x25),'medium':_0x5dbd(0x26),'semibold':_0x5dbd(0x27),'bold':_0x5dbd(0x28)},'sizes':{'xs':0xc,'sm':0xe,'md':0x10,'lg':0x12,'xl':0x14,'xxl':0x18,'xxxl':0x1c,'title':0x20,'large':0x2a,'kicker':0x12,'welcomeTitle':0x30,'body':0x10,'buttonLabel':0x10},'lineHeights':{'kicker':0x14,'welcomeTitle':0x36,'body':0x18,'sm':0x10,'md':0x14,'lg':0x18,'xl':0x1c},'letterSpacing':{'kicker':-0.24,'tight':-0.5,'normal':0x0,'wide':0.5}},SPACING=exports[_0x5dbd(0x29)]={'xs':0x4,'sm':0x8,'md':0x10,'lg':0x18,'xl':0x20,'xxl':0x30,'xxxl':0x40,'modalTopPadding':0x76,'modalHorizontal':0x18},BORDER_RADIUS=exports[_0x5dbd(0x6)]={'xs':0x4,'sm':0x8,'md':0x10,'lg':0x18,'xl':0x20,'pill':0x64,'circle':0x3e7,'modalTop':0x18,'buttonPill':0x64},SHADOWS=exports[_0x5dbd(0x3)]={'small':{'shadowColor':COLORS['primary'],'shadowOffset':{'width':0x0,'height':0x2},'shadowOpacity':0.3,'shadowRadius':0x4,'elevation':0x3},'medium':{'shadowColor':COLORS['primary'],'shadowOffset':{'width':0x0,'height':0x4},'shadowOpacity':0.5,'shadowRadius':0x8,'elevation':0x5},'large':{'shadowColor':COLORS['primary'],'shadowOffset':{'width':0x0,'height':0x6},'shadowOpacity':0.8,'shadowRadius':0x10,'elevation':0x8},'button':{'inner':{'shadowColor':COLORS[_0x5dbd(0x2a)],'shadowOffset':{'width':0x0,'height':-0x24},'shadowOpacity':0x1,'shadowRadius':21.1},'outer':{'shadowColor':COLORS[_0x5dbd(0x2b)],'shadowOffset':{'width':0x14,'height':0x1e},'shadowOpacity':0x1,'shadowRadius':0x28,'elevation':0x8}},'brandMark':{'shadowColor':_0x5dbd(0x15),'shadowOffset':{'width':0x0,'height':0x4},'shadowOpacity':0.1,'shadowRadius':0x8,'elevation':0x4}},TEXT_STYLES=exports[_0x5dbd(0x2)]={'kicker':{'fontFamily':FONTS[_0x5dbd(0x2c)]['ibmPlexSansBold'],'fontWeight':FONTS[_0x5dbd(0x2d)][_0x5dbd(0x2e)],'fontSize':FONTS[_0x5dbd(0x2f)]['kicker'],'lineHeight':FONTS[_0x5dbd(0x30)]['kicker'],'letterSpacing':FONTS[_0x5dbd(0x31)][_0x5dbd(0x32)],'color':COLORS['grey500']},'welcomeTitle':{'fontFamily':FONTS[_0x5dbd(0x2c)][_0x5dbd(0x33)],'fontWeight':FONTS['weights'][_0x5dbd(0x2e)],'fontSize':FONTS[_0x5dbd(0x2f)][_0x5dbd(0x34)],'lineHeight':FONTS['lineHeights'][_0x5dbd(0x34)],'color':COLORS[_0x5dbd(0x35)]},'body':{'fontFamily':FONTS[_0x5dbd(0x2c)][_0x5dbd(0x36)],'fontWeight':FONTS[_0x5dbd(0x2d)]['regular'],'fontSize':FONTS['sizes'][_0x5dbd(0x37)],'lineHeight':FONTS[_0x5dbd(0x30)][_0x5dbd(0x37)],'textAlign':_0x5dbd(0x38),'color':COLORS[_0x5dbd(0x39)]},'buttonLabel':{'fontFamily':FONTS[_0x5dbd(0x2c)][_0x5dbd(0x36)],'fontWeight':FONTS[_0x5dbd(0x2d)][_0x5dbd(0x3a)],'fontSize':FONTS[_0x5dbd(0x2f)][_0x5dbd(0x3b)],'color':COLORS[_0x5dbd(0x3c)]}};function _0x5dbd(_0x10857f,_0x5dbd88){_0x10857f=_0x10857f-0x0;const _0x35e200=_0x1085();let _0x20bbac=_0x35e200[_0x10857f];return _0x20bbac;}var _default=exports[_0x5dbd(0x1)]={'COLORS':COLORS,'FONTS':FONTS,'SPACING':SPACING,'BORDER_RADIUS':BORDER_RADIUS,'SHADOWS':SHADOWS,'TEXT_STYLES':TEXT_STYLES};
7
+ Object[_0x44ac(0x0)](exports,'__esModule',{'value':!![]}),exports[_0x44ac(0x1)]=exports[_0x44ac(0x2)]=exports[_0x44ac(0x3)]=exports[_0x44ac(0x4)]=exports[_0x44ac(0x5)]=exports[_0x44ac(0x6)]=exports[_0x44ac(0x7)]=void 0x0;function _0x4285(){const _0xd38999=['defineProperty','default','TEXT_STYLES','SPACING','SHADOWS','FONTS','COLORS','BORDER_RADIUS','#D1D5DB','#9CA3AF','#62646C','#374151','#17181C','rgba(0,0,0,0.20)','rgba(0,0,0,0.10)','rgba(0,0,0,0.06)','#0A090E','#17171B','#FFD700','#E9B104','#FFDF33','#000000','#121212','#1C2526','#FFFFFF','#B0B0B0','#808080','rgba(255,\x20255,\x20255,\x200.1)','#4BB543','#5AC8FA','ios','IBM\x20Plex\x20Sans','Platform','Inter','System','Roboto','Georgia','serif','300','primary','btnInnerShadow','btnShadowOuter','families','ibmPlexSansBold','weights','bold','sizes','kicker','lineHeights','letterSpacing','grey500','welcomeTitle','grey800','inter','body','center','grey600','semibold','buttonLabel','btnLabel'];_0x4285=function(){return _0xd38999;};return _0x4285();}function _0x44ac(_0x42857e,_0x44acfd){_0x42857e=_0x42857e-0x0;const _0x26eddc=_0x4285();let _0x53129d=_0x26eddc[_0x42857e];return _0x53129d;}var _reactNative=__ONAIROS_REQ_FUNC__(0x0);const COLORS=exports[_0x44ac(0x6)]={'surface':'#FAFAFA','grey300':_0x44ac(0x8),'grey400':_0x44ac(0x9),'grey500':'#86888E','grey600':_0x44ac(0xa),'grey700':_0x44ac(0xb),'grey800':'#1F242F','btnGradStart':'#29292B','btnGradEnd':_0x44ac(0xc),'btnBorder':_0x44ac(0xd),'btnShadowOuter':_0x44ac(0xe),'btnInnerShadow':_0x44ac(0xf),'btnLabel':'#FFFFFF','iconCircleGradientStart':_0x44ac(0x10),'iconCircleGradientEnd':_0x44ac(0x11),'primary':_0x44ac(0x12),'primaryDark':_0x44ac(0x13),'primaryLight':_0x44ac(0x14),'background':{'dark':_0x44ac(0x15),'medium':_0x44ac(0x16),'light':_0x44ac(0x17)},'text':{'primary':_0x44ac(0x18),'secondary':_0x44ac(0x19),'tertiary':_0x44ac(0x1a),'gold':'#FFD700'},'ui':{'cardBackground':_0x44ac(0x1b),'divider':_0x44ac(0x1b),'inputBackground':_0x44ac(0x1b),'buttonBackground':_0x44ac(0x1b)},'status':{'success':_0x44ac(0x1c),'error':'#FF3B30','warning':'#FF9500','info':_0x44ac(0x1d)},'transparent':'transparent','overlay':'rgba(0,\x200,\x200,\x200.7)'},FONTS=exports[_0x44ac(0x5)]={'families':{'ibmPlexSans':_reactNative['Platform']['OS']===_0x44ac(0x1e)?_0x44ac(0x1f):'IBM\x20Plex\x20Sans','ibmPlexSansBold':_reactNative[_0x44ac(0x20)]['OS']===_0x44ac(0x1e)?_0x44ac(0x1f):_0x44ac(0x1f),'inter':_reactNative['Platform']['OS']===_0x44ac(0x1e)?_0x44ac(0x21):'Inter-Regular','base':_reactNative[_0x44ac(0x20)]['OS']===_0x44ac(0x1e)?_0x44ac(0x22):_0x44ac(0x23),'serif':_reactNative[_0x44ac(0x20)]['OS']===_0x44ac(0x1e)?_0x44ac(0x24):_0x44ac(0x25)},'weights':{'light':_0x44ac(0x26),'regular':'400','medium':'500','semibold':'600','bold':'700'},'sizes':{'xs':0xc,'sm':0xe,'md':0x10,'lg':0x12,'xl':0x14,'xxl':0x18,'xxxl':0x1c,'title':0x20,'large':0x2a,'kicker':0x12,'welcomeTitle':0x30,'body':0x10,'buttonLabel':0x10},'lineHeights':{'kicker':0x14,'welcomeTitle':0x36,'body':0x18,'sm':0x10,'md':0x14,'lg':0x18,'xl':0x1c},'letterSpacing':{'kicker':-0.24,'tight':-0.5,'normal':0x0,'wide':0.5}},SPACING=exports[_0x44ac(0x3)]={'xs':0x4,'sm':0x8,'md':0x10,'lg':0x18,'xl':0x20,'xxl':0x30,'xxxl':0x40,'modalTopPadding':0x76,'modalHorizontal':0x18},BORDER_RADIUS=exports[_0x44ac(0x7)]={'xs':0x4,'sm':0x8,'md':0x10,'lg':0x18,'xl':0x20,'pill':0x64,'circle':0x3e7,'modalTop':0x18,'buttonPill':0x64},SHADOWS=exports[_0x44ac(0x4)]={'small':{'shadowColor':COLORS['primary'],'shadowOffset':{'width':0x0,'height':0x2},'shadowOpacity':0.3,'shadowRadius':0x4,'elevation':0x3},'medium':{'shadowColor':COLORS[_0x44ac(0x27)],'shadowOffset':{'width':0x0,'height':0x4},'shadowOpacity':0.5,'shadowRadius':0x8,'elevation':0x5},'large':{'shadowColor':COLORS[_0x44ac(0x27)],'shadowOffset':{'width':0x0,'height':0x6},'shadowOpacity':0.8,'shadowRadius':0x10,'elevation':0x8},'button':{'inner':{'shadowColor':COLORS[_0x44ac(0x28)],'shadowOffset':{'width':0x0,'height':-0x24},'shadowOpacity':0x1,'shadowRadius':21.1},'outer':{'shadowColor':COLORS[_0x44ac(0x29)],'shadowOffset':{'width':0x14,'height':0x1e},'shadowOpacity':0x1,'shadowRadius':0x28,'elevation':0x8}},'brandMark':{'shadowColor':_0x44ac(0x15),'shadowOffset':{'width':0x0,'height':0x4},'shadowOpacity':0.1,'shadowRadius':0x8,'elevation':0x4}},TEXT_STYLES=exports[_0x44ac(0x2)]={'kicker':{'fontFamily':FONTS[_0x44ac(0x2a)][_0x44ac(0x2b)],'fontWeight':FONTS[_0x44ac(0x2c)][_0x44ac(0x2d)],'fontSize':FONTS[_0x44ac(0x2e)][_0x44ac(0x2f)],'lineHeight':FONTS[_0x44ac(0x30)][_0x44ac(0x2f)],'letterSpacing':FONTS[_0x44ac(0x31)]['kicker'],'color':COLORS[_0x44ac(0x32)]},'welcomeTitle':{'fontFamily':FONTS['families'][_0x44ac(0x2b)],'fontWeight':FONTS[_0x44ac(0x2c)][_0x44ac(0x2d)],'fontSize':FONTS[_0x44ac(0x2e)][_0x44ac(0x33)],'lineHeight':FONTS['lineHeights'][_0x44ac(0x33)],'color':COLORS[_0x44ac(0x34)]},'body':{'fontFamily':FONTS['families'][_0x44ac(0x35)],'fontWeight':FONTS['weights']['regular'],'fontSize':FONTS[_0x44ac(0x2e)][_0x44ac(0x36)],'lineHeight':FONTS[_0x44ac(0x30)][_0x44ac(0x36)],'textAlign':_0x44ac(0x37),'color':COLORS[_0x44ac(0x38)]},'buttonLabel':{'fontFamily':FONTS[_0x44ac(0x2a)][_0x44ac(0x35)],'fontWeight':FONTS[_0x44ac(0x2c)][_0x44ac(0x39)],'fontSize':FONTS[_0x44ac(0x2e)][_0x44ac(0x3a)],'color':COLORS[_0x44ac(0x3b)]}};var _default=exports['default']={'COLORS':COLORS,'FONTS':FONTS,'SPACING':SPACING,'BORDER_RADIUS':BORDER_RADIUS,'SHADOWS':SHADOWS,'TEXT_STYLES':TEXT_STYLES};
@@ -1 +1 @@
1
- 'use strict';function _0x59c6(){var _0x35b927=['defineProperty','__esModule'];_0x59c6=function(){return _0x35b927;};return _0x59c6();}function _0x4216(_0x59c6de,_0x421616){_0x59c6de=_0x59c6de-0x0;var _0xc877a0=_0x59c6();var _0x42f480=_0xc877a0[_0x59c6de];return _0x42f480;}Object[_0x4216(0x0)](exports,_0x4216(0x1),{'value':!![]});
1
+ 'use strict';function _0x36cf(){var _0x53d84c=['__esModule'];_0x36cf=function(){return _0x53d84c;};return _0x36cf();}function _0x25b9(_0x36cfe9,_0x25b940){_0x36cfe9=_0x36cfe9-0x0;var _0x44e3cb=_0x36cf();var _0xb6f5ee=_0x44e3cb[_0x36cfe9];return _0xb6f5ee;}Object['defineProperty'](exports,_0x25b9(0x0),{'value':!![]});
@@ -1 +1 @@
1
- 'use strict';function _0x1887(_0x475b50,_0x1887f5){_0x475b50=_0x475b50-0x0;const _0x28ab48=_0x475b();let _0xda913d=_0x28ab48[_0x475b50];return _0xda913d;}Object['defineProperty'](exports,_0x1887(0x0),{'value':!![]}),exports[_0x1887(0x1)]=void 0x0;function _0x475b(){const _0x59807b=['__esModule','ApiKeyType','developer','INVALID','invalid','DEVELOPER','dRGXQ','XCHoH','qdvAB','HBDnJ'];_0x475b=function(){return _0x59807b;};return _0x475b();}let ApiKeyType=exports[_0x1887(0x1)]=function(_0x473a3f){const _0x3fa22b={'dRGXQ':_0x1887(0x2),'XCHoH':'ADMIN','qdvAB':'admin','AWTRo':_0x1887(0x3),'HBDnJ':_0x1887(0x4)};return _0x473a3f[_0x1887(0x5)]=_0x3fa22b[_0x1887(0x6)],_0x473a3f[_0x3fa22b[_0x1887(0x7)]]=_0x3fa22b[_0x1887(0x8)],_0x473a3f[_0x3fa22b['AWTRo']]=_0x3fa22b[_0x1887(0x9)],_0x473a3f;}({});
1
+ 'use strict';Object[_0x1dda(0x0)](exports,_0x1dda(0x1),{'value':!![]}),exports['ApiKeyType']=void 0x0;function _0x1dda(_0x441bc1,_0x1ddaea){_0x441bc1=_0x441bc1-0x0;const _0xa15ca3=_0x441b();let _0x38f466=_0xa15ca3[_0x441bc1];return _0x38f466;}let ApiKeyType=exports[_0x1dda(0x2)]=function(_0x23c610){const _0x10624d={'PmZbd':_0x1dda(0x3),'vkLVc':'ADMIN','hRQsP':_0x1dda(0x4)};return _0x23c610[_0x10624d['PmZbd']]=_0x1dda(0x5),_0x23c610[_0x10624d[_0x1dda(0x6)]]='admin',_0x23c610[_0x10624d[_0x1dda(0x7)]]=_0x1dda(0x8),_0x23c610;}({});function _0x441b(){const _0x16f699=['defineProperty','__esModule','ApiKeyType','DEVELOPER','INVALID','developer','vkLVc','hRQsP','invalid'];_0x441b=function(){return _0x16f699;};return _0x441b();}
@@ -5,4 +5,4 @@ var __ONAIROS_REQ_REGISTRY__ = [
5
5
  require("react-native")
6
6
  ];
7
7
  function __ONAIROS_REQ_FUNC__(i) { return __ONAIROS_REQ_REGISTRY__[i]; }
8
- Object['defineProperty'](exports,'__esModule',{'value':!![]}),exports[_0x4edd(0x0)]=exports[_0x4edd(0x1)]=void 0x0;var _react=_interopRequireWildcard(__ONAIROS_REQ_FUNC__(0x0)),_reactNative=__ONAIROS_REQ_FUNC__(0x1);function _interopRequireWildcard(_0x1d04c8,_0x3d1ee1){const _0x3fa01b={'pqblO':function(_0xcccce2,_0x525562){return _0xcccce2&&_0x525562;},'PgeoL':_0x4edd(0x2),'VVxRW':function(_0x1b870d,_0x24fbe9){return _0x1b870d!=_0x24fbe9;},'dpIJE':function(_0x9b1892,_0x41e3a6){return _0x9b1892!==_0x41e3a6;},'RdzoY':function(_0x455dd8,_0x2ee18d){return _0x455dd8==_0x2ee18d;},'bkDfs':_0x4edd(0x3)};if(_0x3fa01b[_0x4edd(0x4)](_0x3fa01b[_0x4edd(0x5)],typeof WeakMap))var _0x2a7b0b=new WeakMap(),_0x202fa6=new WeakMap();return(_interopRequireWildcard=function(_0x962c69,_0x1c01c6){if(_0x3fa01b['pqblO'](!_0x1c01c6,_0x962c69)&&_0x962c69['__esModule'])return _0x962c69;var _0x1bd6cf,_0x6ff6a4,_0x2680b5={'__proto__':null,'default':_0x962c69};if(null===_0x962c69||_0x3fa01b[_0x4edd(0x6)]!=typeof _0x962c69&&_0x3fa01b['VVxRW'](_0x4edd(0x3),typeof _0x962c69))return _0x2680b5;if(_0x1bd6cf=_0x1c01c6?_0x202fa6:_0x2a7b0b){if(_0x1bd6cf[_0x4edd(0x7)](_0x962c69))return _0x1bd6cf['get'](_0x962c69);_0x1bd6cf[_0x4edd(0x8)](_0x962c69,_0x2680b5);}for(const _0x43f3a0 in _0x962c69)_0x3fa01b['dpIJE'](_0x4edd(0x9),_0x43f3a0)&&{}[_0x4edd(0xa)][_0x4edd(0xb)](_0x962c69,_0x43f3a0)&&((_0x6ff6a4=(_0x1bd6cf=Object[_0x4edd(0xc)])&&Object[_0x4edd(0xd)](_0x962c69,_0x43f3a0))&&(_0x6ff6a4[_0x4edd(0xe)]||_0x6ff6a4[_0x4edd(0x8)])?_0x1bd6cf(_0x2680b5,_0x43f3a0,_0x6ff6a4):_0x2680b5[_0x43f3a0]=_0x962c69[_0x43f3a0]);return _0x2680b5;})(_0x1d04c8,_0x3d1ee1);}function _0x4f9d(){const _0x338e42=['PortalHost','Portal','object','function','RdzoY','bkDfs','PgeoL','has','set','default','hasOwnProperty','call','defineProperty','getOwnPropertyDescriptor','get','createContext','useState','TVOld','createElement','Provider','keys','map','View','useContext','useEffect','dFFWs','yAhbA','nKvgT','vHxpr','HdcRA'];_0x4f9d=function(){return _0x338e42;};return _0x4f9d();}const portalRefs={};let portalId=0x0;function _0x4edd(_0x4f9d14,_0x4eddf1){_0x4f9d14=_0x4f9d14-0x0;const _0xc01a3d=_0x4f9d();let _0x1d94ad=_0xc01a3d[_0x4f9d14];return _0x1d94ad;}const PortalContext=_react[_0x4edd(0x9)][_0x4edd(0xf)]({'mount':()=>0x0,'update':()=>{},'unmount':()=>{}}),PortalHost=({children:_0x4ef8f5})=>{const _0x43c007={'TVOld':function(_0x4ec127,_0x240c6f){return _0x4ec127(_0x240c6f);},'Xozod':function(_0x1167db,_0x43b903){return _0x1167db(_0x43b903);}},[_0x429315,_0x92a817]=(0x0,_react[_0x4edd(0x10)])({}),_0x5a844b=_0x1adf62=>{const _0x5d17b7=++portalId;return _0x43c007[_0x4edd(0x11)](_0x92a817,_0x4d147b=>({..._0x4d147b,[_0x5d17b7]:_0x1adf62})),_0x5d17b7;},_0x3c7a8a=(_0x54a602,_0x1bc3cc)=>{_0x43c007['Xozod'](_0x92a817,_0xcd5ce6=>({..._0xcd5ce6,[_0x54a602]:_0x1bc3cc}));},_0x13c89d=_0x263f86=>{_0x43c007[_0x4edd(0x11)](_0x92a817,_0x4761db=>{const _0x284c26={..._0x4761db};return delete _0x284c26[_0x263f86],_0x284c26;});};return _react['default'][_0x4edd(0x12)](PortalContext[_0x4edd(0x13)],{'value':{'mount':_0x5a844b,'update':_0x3c7a8a,'unmount':_0x13c89d}},_0x4ef8f5,Object[_0x4edd(0x14)](_0x429315)[_0x4edd(0x15)](_0x104c17=>_react[_0x4edd(0x9)][_0x4edd(0x12)](_reactNative[_0x4edd(0x16)],{'key':_0x104c17,'style':{'position':'absolute','top':0x0,'left':0x0,'right':0x0,'bottom':0x0,'zIndex':0x270f}},_0x429315[Number(_0x104c17)])));};exports[_0x4edd(0x0)]=PortalHost;const Portal=({children:_0xa6a4a9})=>{const _0x1cd4e4={'dFFWs':function(_0xd7b18e,_0x2abfe6){return _0xd7b18e(_0x2abfe6);},'yAhbA':function(_0x590d32,_0x27db1f){return _0x590d32(_0x27db1f);},'esZTX':function(_0x59a6a1,_0x3cc105){return _0x59a6a1!==_0x3cc105;},'nKvgT':function(_0x460730,_0x24544b){return _0x460730===_0x24544b;}},{mount:_0x188ee6,update:_0x166458,unmount:_0x47beb8}=_react[_0x4edd(0x9)][_0x4edd(0x17)](PortalContext),[_0x12dbaa,_0x54559f]=(0x0,_react[_0x4edd(0x10)])(null);return(0x0,_react[_0x4edd(0x18)])(()=>{const _0x3fecf3={'jaQwA':function(_0x1df14c,_0x1e12c1){return _0x1df14c(_0x1e12c1);}},_0x53f670=_0x1cd4e4[_0x4edd(0x19)](_0x188ee6,_0xa6a4a9);return _0x54559f(_0x53f670),()=>{if(_0x12dbaa)_0x3fecf3['jaQwA'](_0x47beb8,_0x12dbaa);};},[]),(0x0,_react['useEffect'])(()=>{const _0x3fddef={'HdcRA':function(_0x3e3716,_0x425900){return _0x1cd4e4[_0x4edd(0x1a)](_0x3e3716,_0x425900);}};_0x1cd4e4['esZTX'](_0x12dbaa,null)&&(_0x1cd4e4[_0x4edd(0x1b)](_0x4edd(0x1c),_0x4edd(0x1c))?_0x166458(_0x12dbaa,_0xa6a4a9):_0x3fddef[_0x4edd(0x1d)](_0x346656,_0x589bb5=>{const _0x594836={..._0x589bb5};return delete _0x594836[_0x5c602f],_0x594836;}));},[_0xa6a4a9,_0x12dbaa]),null;};exports[_0x4edd(0x1)]=Portal;
8
+ Object['defineProperty'](exports,_0x48a6(0x0),{'value':!![]}),exports['PortalHost']=exports[_0x48a6(0x1)]=void 0x0;function _0x48bd(){const _0x5ee6f1=['__esModule','Portal','tVBrd','object','function','cbYdm','azkHQ','zCMCp','sgaNj','PMfbf','ylHqF','tWlQK','tjOfv','QPFcS','xvILt','PmZXz','uwgip','has','get','set','dCKgu','YUVJV','UPgZt','default','call','defineProperty','getOwnPropertyDescriptor','createContext','nSFEq','useState','XmNJz','lxlEA','JnYyv','uGZld','AnynG','uJqwF','createElement','Provider','keys','absolute','PortalHost','useContext','useEffect','RFTFN','Patih'];_0x48bd=function(){return _0x5ee6f1;};return _0x48bd();}var _react=_interopRequireWildcard(__ONAIROS_REQ_FUNC__(0x0)),_reactNative=__ONAIROS_REQ_FUNC__(0x1);function _0x48a6(_0x48bd9c,_0x48a621){_0x48bd9c=_0x48bd9c-0x0;const _0x3feada=_0x48bd();let _0x1e1e84=_0x3feada[_0x48bd9c];return _0x1e1e84;}function _interopRequireWildcard(_0x56f227,_0x100a82){const _0x17bb4a={'ylHqF':function(_0x20b43e,_0x41b5db,_0x2f772b){return _0x20b43e(_0x41b5db,_0x2f772b);},'dCKgu':function(_0x46acaa,_0x267455){return _0x46acaa(_0x267455);},'YUVJV':function(_0x2ce839,_0x498c1b){return _0x2ce839(_0x498c1b);},'zCMCp':function(_0x33f001,_0xa0cb6f){return _0x33f001(_0xa0cb6f);},'sgaNj':_0x48a6(0x2),'PMfbf':'lkpVG','tWlQK':function(_0x4de0a8,_0x33e7dd){return _0x4de0a8&&_0x33e7dd;},'qKOJb':function(_0x5a7f64,_0x2c1ead){return _0x5a7f64===_0x2c1ead;},'tjOfv':function(_0x515d38,_0x37d1e2){return _0x515d38!=_0x37d1e2;},'QPFcS':_0x48a6(0x3),'azkHQ':_0x48a6(0x4),'xvILt':function(_0x52522a,_0x506d3b){return _0x52522a!==_0x506d3b;},'PmZXz':_0x48a6(0x5),'FXlFZ':function(_0x57a246,_0x199619){return _0x57a246==_0x199619;}};if(_0x17bb4a['FXlFZ'](_0x17bb4a[_0x48a6(0x6)],typeof WeakMap))var _0x285335=new WeakMap(),_0x100216=new WeakMap();return(_interopRequireWildcard=function(_0x29f74f,_0x137996){const _0x684d49={'UPgZt':function(_0x26642b,_0x205f83){return _0x17bb4a[_0x48a6(0x7)](_0x26642b,_0x205f83);}};if(_0x17bb4a[_0x48a6(0x8)]===_0x17bb4a[_0x48a6(0x9)])_0x17bb4a[_0x48a6(0xa)](_0x3028d4,_0x51f647,_0x2183a4);else{if(_0x17bb4a[_0x48a6(0xb)](!_0x137996,_0x29f74f)&&_0x29f74f[_0x48a6(0x0)])return _0x29f74f;var _0x1585e2,_0x255e60,_0x11ad32={'__proto__':null,'default':_0x29f74f};if(_0x17bb4a['qKOJb'](null,_0x29f74f)||_0x17bb4a[_0x48a6(0xc)](_0x17bb4a[_0x48a6(0xd)],typeof _0x29f74f)&&_0x17bb4a['tjOfv'](_0x17bb4a[_0x48a6(0x6)],typeof _0x29f74f))return _0x11ad32;if(_0x1585e2=_0x137996?_0x100216:_0x285335){if(_0x17bb4a[_0x48a6(0xe)](_0x17bb4a[_0x48a6(0xf)],_0x48a6(0x10))){if(_0x1585e2[_0x48a6(0x11)](_0x29f74f))return _0x1585e2[_0x48a6(0x12)](_0x29f74f);_0x1585e2[_0x48a6(0x13)](_0x29f74f,_0x11ad32);}else{const _0x2db311=_0x17bb4a[_0x48a6(0x14)](_0x4946e0,_0x4fc83);return _0x17bb4a[_0x48a6(0x15)](_0x183673,_0x2db311),()=>{if(_0x14979b)_0x684d49[_0x48a6(0x16)](_0x37f019,_0x109225);};}}for(const _0x133f39 in _0x29f74f)_0x48a6(0x17)!==_0x133f39&&{}['hasOwnProperty'][_0x48a6(0x18)](_0x29f74f,_0x133f39)&&((_0x255e60=(_0x1585e2=Object[_0x48a6(0x19)])&&Object[_0x48a6(0x1a)](_0x29f74f,_0x133f39))&&(_0x255e60['get']||_0x255e60['set'])?_0x1585e2(_0x11ad32,_0x133f39,_0x255e60):_0x11ad32[_0x133f39]=_0x29f74f[_0x133f39]);return _0x11ad32;}})(_0x56f227,_0x100a82);}const portalRefs={};let portalId=0x0;const PortalContext=_react['default'][_0x48a6(0x1b)]({'mount':()=>0x0,'update':()=>{},'unmount':()=>{}}),PortalHost=({children:_0x4eb713})=>{const _0x2d15e8={'XmNJz':function(_0x18a9cc,_0x312efc){return _0x18a9cc(_0x312efc);},'AnynG':function(_0x3add97,_0x345984){return _0x3add97(_0x345984);},'lxlEA':function(_0x21fa97,_0x637fb8){return _0x21fa97!==_0x637fb8;},'JnYyv':_0x48a6(0x1c),'uGZld':'SloXf'},[_0x1a3a42,_0x5ac8f1]=(0x0,_react[_0x48a6(0x1d)])({}),_0x48f341=_0x530c76=>{const _0x4afd09=++portalId;return _0x5ac8f1(_0x468c4d=>({..._0x468c4d,[_0x4afd09]:_0x530c76})),_0x4afd09;},_0x154470=(_0x523057,_0x302771)=>{_0x2d15e8[_0x48a6(0x1e)](_0x5ac8f1,_0x30190f=>({..._0x30190f,[_0x523057]:_0x302771}));},_0x3ccf81=_0x1fccd8=>{const _0x4655ef={'uJqwF':function(_0x56e005,_0xc25db3){return _0x2d15e8['AnynG'](_0x56e005,_0xc25db3);}};_0x2d15e8[_0x48a6(0x1f)](_0x2d15e8[_0x48a6(0x20)],_0x2d15e8[_0x48a6(0x21)])?_0x2d15e8[_0x48a6(0x22)](_0x5ac8f1,_0x532359=>{const _0x182182={..._0x532359};return delete _0x182182[_0x1fccd8],_0x182182;}):_0x4655ef[_0x48a6(0x23)](_0x2403e0,_0xf189ef=>{const _0x1a1b2a={..._0xf189ef};return delete _0x1a1b2a[_0x57344d],_0x1a1b2a;});};return _react[_0x48a6(0x17)][_0x48a6(0x24)](PortalContext[_0x48a6(0x25)],{'value':{'mount':_0x48f341,'update':_0x154470,'unmount':_0x3ccf81}},_0x4eb713,Object[_0x48a6(0x26)](_0x1a3a42)['map'](_0xbcda2e=>_react[_0x48a6(0x17)][_0x48a6(0x24)](_reactNative['View'],{'key':_0xbcda2e,'style':{'position':_0x48a6(0x27),'top':0x0,'left':0x0,'right':0x0,'bottom':0x0,'zIndex':0x270f}},_0x1a3a42[Number(_0xbcda2e)])));};exports[_0x48a6(0x28)]=PortalHost;const Portal=({children:_0x3ee99a})=>{const _0x33dedc={'RFTFN':function(_0x3f9341,_0x2023e2){return _0x3f9341(_0x2023e2);},'GlARz':function(_0xab4112,_0x2b34a2){return _0xab4112!==_0x2b34a2;},'Patih':function(_0x43948c,_0x4243a0,_0x4a3a15){return _0x43948c(_0x4243a0,_0x4a3a15);}},{mount:_0x349538,update:_0x21592b,unmount:_0x80a8e3}=_react[_0x48a6(0x17)][_0x48a6(0x29)](PortalContext),[_0x244ac3,_0x5a4ed9]=(0x0,_react[_0x48a6(0x1d)])(null);return(0x0,_react[_0x48a6(0x2a)])(()=>{const _0x41395c={'JohqV':function(_0x577b4c,_0x224bcf){return _0x33dedc[_0x48a6(0x2b)](_0x577b4c,_0x224bcf);}},_0x44034d=_0x33dedc['RFTFN'](_0x349538,_0x3ee99a);return _0x33dedc[_0x48a6(0x2b)](_0x5a4ed9,_0x44034d),()=>{if(_0x244ac3)_0x41395c['JohqV'](_0x80a8e3,_0x244ac3);};},[]),(0x0,_react['useEffect'])(()=>{_0x33dedc['GlARz'](_0x244ac3,null)&&_0x33dedc[_0x48a6(0x2c)](_0x21592b,_0x244ac3,_0x3ee99a);},[_0x3ee99a,_0x244ac3]),null;};exports[_0x48a6(0x1)]=Portal;
@@ -6,4 +6,4 @@ var __ONAIROS_REQ_REGISTRY__ = [
6
6
  require("../config/api")
7
7
  ];
8
8
  function __ONAIROS_REQ_FUNC__(i) { return __ONAIROS_REQ_REGISTRY__[i]; }
9
- function _0x59dc(){const _0x325c59=['defineProperty','getApiUrl','fetchAccountInfo','createApiInstance','createAccount','__esModule','API_CONFIG','onairosToken','default','create','Bearer\x20','post','data','Error\x20validating\x20domain:','validateDomain','rLDjG','/getAccountInfo','Error\x20fetching\x20account\x20info:','nFRWu','hWdzg','TqwOP','othent','/getAPIurl','iPNRw','xxdbz','IEKsf','Error\x20getting\x20API\x20URL:','ACpVz','Error\x20creating\x20account:','Tixwp','BtNUo','aZoCO','dDIOq','error','NWpkp','DRXgM','igkEN','XTrFe','MKiuF'];_0x59dc=function(){return _0x325c59;};return _0x59dc();}Object[_0x5aa7(0x0)](exports,'__esModule',{'value':!![]}),exports['validateDomain']=exports[_0x5aa7(0x1)]=exports[_0x5aa7(0x2)]=exports[_0x5aa7(0x3)]=exports[_0x5aa7(0x4)]=void 0x0;var _axios=_interopRequireDefault(__ONAIROS_REQ_FUNC__(0x0)),_asyncStorage=_interopRequireDefault(__ONAIROS_REQ_FUNC__(0x1)),_api=__ONAIROS_REQ_FUNC__(0x2);function _interopRequireDefault(_0x75996a){return _0x75996a&&_0x75996a[_0x5aa7(0x5)]?_0x75996a:{'default':_0x75996a};}const API_URL=_api[_0x5aa7(0x6)]['BASE_URL'],createApiInstance=async()=>{const _0x48b286={'PKKED':_0x5aa7(0x7)},_0x4ee103=await _asyncStorage[_0x5aa7(0x8)]['getItem'](_0x48b286['PKKED']);return _axios['default'][_0x5aa7(0x9)]({'baseURL':API_URL,'headers':{'Content-Type':'application/json',..._0x4ee103?{'Authorization':_0x5aa7(0xa)+_0x4ee103}:{}}});};exports['createApiInstance']=createApiInstance;const validateDomain=async()=>{const _0x29100e={'GWUfT':'/valid/validate-domain'};try{const _0x1cf611=await createApiInstance(),_0x47541e=await _0x1cf611[_0x5aa7(0xb)](_0x29100e['GWUfT']);return _0x47541e[_0x5aa7(0xc)];}catch(_0x280da6){return console['error'](_0x5aa7(0xd),_0x280da6),{'status':![]};}};exports[_0x5aa7(0xe)]=validateDomain;const fetchAccountInfo=async(_0x4c8486,_0x40981c=![])=>{const _0x404691={'hWdzg':_0x5aa7(0xf),'dEagX':_0x5aa7(0x10),'TqwOP':_0x5aa7(0x11)};try{if(_0x5aa7(0x12)===_0x404691[_0x5aa7(0x13)])return _0x3c14c8&&_0x400ce4[_0x5aa7(0x5)]?_0x5ed75f:{'default':_0xcef572};else{const _0x3bd834=await createApiInstance(),_0x1b5f4c=_0x40981c?{'Info':{'identifier':_0x4c8486}}:{'Info':{'userName':_0x4c8486}},_0x15843d=_0x40981c?'/getAccountInfo/email':_0x404691['dEagX'],_0x4bef8b=await _0x3bd834[_0x5aa7(0xb)](_0x15843d,_0x1b5f4c);return _0x4bef8b[_0x5aa7(0xc)];}}catch(_0x457ec0){console['error'](_0x404691[_0x5aa7(0x14)],_0x457ec0);throw _0x457ec0;}};exports[_0x5aa7(0x2)]=fetchAccountInfo;const getApiUrl=async(_0x4db913,_0x4bd0ac,_0x4baff5)=>{const _0x322594={'LbrmF':function(_0x26225a){return _0x26225a();},'iPNRw':_0x5aa7(0x15),'xxdbz':_0x5aa7(0x16),'IEKsf':'Error\x20getting\x20API\x20URL:'};try{const _0x2ce80e=await _0x322594['LbrmF'](createApiInstance),_0x1f5b5d={'Info':{'EncryptedUserPin':_0x4bd0ac,'confirmations':_0x4db913,'web3Type':_0x322594[_0x5aa7(0x17)],'Domain':Platform['OS'],'proofMode':![],'OthentSub':_0x4baff5}},_0x31ba91=await _0x2ce80e['post'](_0x322594[_0x5aa7(0x18)],_0x1f5b5d);return _0x31ba91[_0x5aa7(0xc)];}catch(_0x38c63a){console['error'](_0x322594[_0x5aa7(0x19)],_0x38c63a);throw _0x38c63a;}};exports[_0x5aa7(0x1)]=getApiUrl;const createAccount=async(_0x51f5b5,_0x35e62c,_0xf8d296,_0x261499)=>{const _0x178420={'NWpkp':_0x5aa7(0x11),'XTrFe':_0x5aa7(0x1a),'BtNUo':'ctAWo','aZoCO':function(_0x3aed3e){return _0x3aed3e();},'dDIOq':'/createAccount','DRXgM':function(_0xca62f4,_0x40502e){return _0xca62f4!==_0x40502e;},'igkEN':_0x5aa7(0x1b),'MKiuF':_0x5aa7(0x1c)};try{if(_0x5aa7(0x1d)!==_0x178420[_0x5aa7(0x1e)]){const _0x1fbc1f=await _0x178420[_0x5aa7(0x1f)](createApiInstance),_0x3fb114=await _0x1fbc1f['post'](_0x178420[_0x5aa7(0x20)],{'othentSub':_0x51f5b5,'pin':_0x35e62c,'socialAccounts':_0xf8d296,'email':_0x261499});return _0x3fb114[_0x5aa7(0xc)];}else{_0x162fe3[_0x5aa7(0x21)](_0x178420[_0x5aa7(0x22)],_0x269797);throw _0x1fc27d;}}catch(_0x3f0384){if(_0x178420[_0x5aa7(0x23)](_0x178420[_0x5aa7(0x24)],_0x178420[_0x5aa7(0x24)])){_0x387d7c[_0x5aa7(0x21)](_0x178420[_0x5aa7(0x25)],_0x370970);throw _0x4f4557;}else{console['error'](_0x178420[_0x5aa7(0x26)],_0x3f0384);throw _0x3f0384;}}};function _0x5aa7(_0x59dc33,_0x5aa794){_0x59dc33=_0x59dc33-0x0;const _0x26fdaf=_0x59dc();let _0x31df0f=_0x26fdaf[_0x59dc33];return _0x31df0f;}exports['createAccount']=createAccount;
9
+ Object[_0x1860(0x0)](exports,'__esModule',{'value':!![]}),exports[_0x1860(0x1)]=exports[_0x1860(0x2)]=exports[_0x1860(0x3)]=exports['createApiInstance']=exports['createAccount']=void 0x0;var _axios=_interopRequireDefault(__ONAIROS_REQ_FUNC__(0x0)),_asyncStorage=_interopRequireDefault(__ONAIROS_REQ_FUNC__(0x1)),_api=__ONAIROS_REQ_FUNC__(0x2);function _interopRequireDefault(_0x1a35a2){return _0x1a35a2&&_0x1a35a2['__esModule']?_0x1a35a2:{'default':_0x1a35a2};}const API_URL=_api['API_CONFIG'][_0x1860(0x4)],createApiInstance=async()=>{const _0x58a998={'eiuqH':_0x1860(0x5)},_0x3b0a5f=await _asyncStorage[_0x1860(0x6)][_0x1860(0x7)](_0x58a998['eiuqH']);return _axios[_0x1860(0x6)][_0x1860(0x8)]({'baseURL':API_URL,'headers':{'Content-Type':'application/json',..._0x3b0a5f?{'Authorization':_0x1860(0x9)+_0x3b0a5f}:{}}});};exports[_0x1860(0xa)]=createApiInstance;const validateDomain=async()=>{const _0x14ea4d={'oHYBO':_0x1860(0xb),'qhFoM':function(_0x5cc469,_0x2038b5){return _0x5cc469===_0x2038b5;},'xvkKK':_0x1860(0xc),'sPEPw':'/valid/validate-domain','GXvSZ':function(_0x50df0e,_0x1f6052){return _0x50df0e!==_0x1f6052;},'AqQGD':_0x1860(0xd)};try{if(_0x14ea4d[_0x1860(0xe)](_0x14ea4d[_0x1860(0xf)],_0x1860(0xc))){const _0xc53513=await createApiInstance(),_0x2b4cb6=await _0xc53513[_0x1860(0x10)](_0x14ea4d['sPEPw']);return _0x2b4cb6[_0x1860(0x11)];}else return _0xcf2d1&&_0x43bf80[_0x1860(0x12)]?_0x6238e1:{'default':_0x76cbd6};}catch(_0xad9a4c){return _0x14ea4d['GXvSZ'](_0x14ea4d['AqQGD'],_0x1860(0xd))?(_0x551c3d[_0x1860(0x13)](_0x14ea4d[_0x1860(0x14)],_0x5bcb35),{'status':![]}):(console[_0x1860(0x13)](_0x14ea4d[_0x1860(0x14)],_0xad9a4c),{'status':![]});}};exports[_0x1860(0x1)]=validateDomain;function _0x1860(_0x11a350,_0x186031){_0x11a350=_0x11a350-0x0;const _0x53652f=_0x11a3();let _0x43963f=_0x53652f[_0x11a350];return _0x43963f;}const fetchAccountInfo=async(_0x1622ee,_0x4320be=![])=>{const _0x53c8b3={'xVIUb':function(_0x1f25b7,_0x2d714f){return _0x1f25b7!==_0x2d714f;},'WzFEN':_0x1860(0x15),'rRzFu':function(_0x4d637a){return _0x4d637a();},'zAHeA':'/getAccountInfo/email','EXfKv':'/getAccountInfo'};try{if(_0x53c8b3['xVIUb'](_0x53c8b3['WzFEN'],_0x1860(0x16))){const _0x533d29=await _0x53c8b3[_0x1860(0x17)](createApiInstance),_0xd1966=_0x4320be?{'Info':{'identifier':_0x1622ee}}:{'Info':{'userName':_0x1622ee}},_0x2bd206=_0x4320be?_0x53c8b3[_0x1860(0x18)]:_0x53c8b3[_0x1860(0x19)],_0xea7816=await _0x533d29[_0x1860(0x10)](_0x2bd206,_0xd1966);return _0xea7816[_0x1860(0x11)];}else{_0x1b31f5['error']('Error\x20creating\x20account:',_0x12a3a1);throw _0x3ea966;}}catch(_0x1f145e){console['error'](_0x1860(0x1a),_0x1f145e);throw _0x1f145e;}};function _0x11a3(){const _0x4290f4=['defineProperty','validateDomain','getApiUrl','fetchAccountInfo','BASE_URL','onairosToken','default','getItem','create','Bearer\x20','createApiInstance','Error\x20validating\x20domain:','nxYEQ','ialYV','qhFoM','xvkKK','post','data','__esModule','error','oHYBO','jGooU','Adchw','rRzFu','zAHeA','EXfKv','Error\x20fetching\x20account\x20info:','Error\x20getting\x20API\x20URL:','GPvmK','obzUa','gAeLW','htqSU','AkxSV','DUQoY','VVLUd','JiryT','UUgAi','XjLco','hOBwu','HROcN','/createAccount','FiHiG'];_0x11a3=function(){return _0x4290f4;};return _0x11a3();}exports['fetchAccountInfo']=fetchAccountInfo;const getApiUrl=async(_0x2b5ee8,_0x4ba8f8,_0x16dd8d)=>{const _0x37cfa2={'UUgAi':_0x1860(0x1a),'HROcN':_0x1860(0x1b),'htqSU':function(_0x393d06,_0x21d643){return _0x393d06!==_0x21d643;},'SxeIJ':_0x1860(0x1c),'AkxSV':'rTYVw','DUQoY':function(_0x209895){return _0x209895();},'VVLUd':'othent','JiryT':'/getAPIurl','XjLco':_0x1860(0x1d),'hOBwu':_0x1860(0x1e)};try{if(_0x37cfa2[_0x1860(0x1f)](_0x37cfa2['SxeIJ'],_0x37cfa2[_0x1860(0x20)])){const _0x3dc519=await _0x37cfa2[_0x1860(0x21)](createApiInstance),_0x4a2a89={'Info':{'EncryptedUserPin':_0x4ba8f8,'confirmations':_0x2b5ee8,'web3Type':_0x37cfa2[_0x1860(0x22)],'Domain':Platform['OS'],'proofMode':![],'OthentSub':_0x16dd8d}},_0x467f7f=await _0x3dc519[_0x1860(0x10)](_0x37cfa2[_0x1860(0x23)],_0x4a2a89);return _0x467f7f[_0x1860(0x11)];}else{_0x31bba4['error'](_0x37cfa2[_0x1860(0x24)],_0x13ea3c);throw _0x2b87cc;}}catch(_0x522374){if(_0x37cfa2[_0x1860(0x1f)](_0x37cfa2[_0x1860(0x25)],_0x37cfa2[_0x1860(0x26)])){console[_0x1860(0x13)](_0x37cfa2[_0x1860(0x27)],_0x522374);throw _0x522374;}else{_0x5ad13f[_0x1860(0x13)](_0x37cfa2[_0x1860(0x27)],_0x42ede6);throw _0x50df52;}}};exports['getApiUrl']=getApiUrl;const createAccount=async(_0x1103ba,_0x24b6f8,_0x258ee5,_0x5a6078)=>{const _0x40b9f4={'FiHiG':_0x1860(0x28)};try{const _0x4ae59b=await createApiInstance(),_0x3353be=await _0x4ae59b[_0x1860(0x10)](_0x40b9f4[_0x1860(0x29)],{'othentSub':_0x1103ba,'pin':_0x24b6f8,'socialAccounts':_0x258ee5,'email':_0x5a6078});return _0x3353be[_0x1860(0x11)];}catch(_0x45f979){console[_0x1860(0x13)]('Error\x20creating\x20account:',_0x45f979);throw _0x45f979;}};exports['createAccount']=createAccount;
@@ -30,4 +30,4 @@ var __ONAIROS_REQ_REGISTRY__ = [
30
30
  require('../assets/animations/persona-animation.json')
31
31
  ];
32
32
  function __ONAIROS_REQ_FUNC__(i) { return __ONAIROS_REQ_REGISTRY__[i]; }
33
- Object['defineProperty'](exports,_0x349a(0x0),{'value':!![]}),exports['getUniversalOnboardingIcon']=exports[_0x349a(0x1)]=exports[_0x349a(0x2)]=exports[_0x349a(0x3)]=exports[_0x349a(0x4)]=exports[_0x349a(0x5)]=exports['BRAND_IMAGES']=exports[_0x349a(0x6)]=void 0x0;function _0x349a(_0x1b3501,_0x349a9a){_0x1b3501=_0x1b3501-0x0;const _0x19712a=_0x1b35();let _0x2556d8=_0x19712a[_0x1b3501];return _0x2556d8;}function _0x1b35(){const _0x2f54e4=['__esModule','getPlatformIconFromRegistry','getPersonaImage','PLATFORM_ICONS','PERSONA_IMAGES','OVERLAY_PLATFORMS','ANIMATIONS','reddit','facebook','twitter','toLowerCase','youtube','pkByj','linkedin','instagram','KcTwU','pinterest','email','gmail','QaDJx','farcaster','chatgpt','openai','claude','anthropic','grok','google_ai','gemini','default','level1','BRAND_IMAGES','Instagram','youtube2','Reddit','Pinterest','KOAYB','SxYbs','nVYAQ','SwfED','qxwTO','getUniversalOnboardingIcon'];_0x1b35=function(){return _0x2f54e4;};return _0x1b35();}const PLATFORM_ICONS=exports['PLATFORM_ICONS']={'youtube':__ONAIROS_REQ_FUNC__(0x0),'youtube2':__ONAIROS_REQ_FUNC__(0x1),'reddit':__ONAIROS_REQ_FUNC__(0x2),'linkedin':__ONAIROS_REQ_FUNC__(0x3),'instagram':__ONAIROS_REQ_FUNC__(0x4),'facebook':__ONAIROS_REQ_FUNC__(0x5),'pinterest':__ONAIROS_REQ_FUNC__(0x6),'gmail':__ONAIROS_REQ_FUNC__(0x7),'twitter':__ONAIROS_REQ_FUNC__(0x8),'farcaster':__ONAIROS_REQ_FUNC__(0x9),'chatgpt':__ONAIROS_REQ_FUNC__(0xa),'claude':__ONAIROS_REQ_FUNC__(0xb),'grok':__ONAIROS_REQ_FUNC__(0xc),'gemini':__ONAIROS_REQ_FUNC__(0xd),'default':__ONAIROS_REQ_FUNC__(0xe)},getPlatformIconFromRegistry=_0x105bb8=>{const _0x1c4ba3={'pkByj':_0x349a(0x7),'KcTwU':_0x349a(0x8),'QaDJx':_0x349a(0x9)},_0x4c995e=_0x105bb8[_0x349a(0xa)]();switch(_0x4c995e){case'youtube':return PLATFORM_ICONS[_0x349a(0xb)];case _0x1c4ba3[_0x349a(0xc)]:return PLATFORM_ICONS[_0x349a(0x7)];case _0x349a(0xd):return PLATFORM_ICONS[_0x349a(0xd)];case _0x349a(0xe):return PLATFORM_ICONS[_0x349a(0xe)];case _0x1c4ba3[_0x349a(0xf)]:return PLATFORM_ICONS[_0x349a(0x8)];case'pinterest':return PLATFORM_ICONS[_0x349a(0x10)];case'gmail':case _0x349a(0x11):return PLATFORM_ICONS[_0x349a(0x12)];case _0x1c4ba3[_0x349a(0x13)]:case'x':return PLATFORM_ICONS[_0x349a(0x9)];case'farcaster':return PLATFORM_ICONS[_0x349a(0x14)];case _0x349a(0x15):case _0x349a(0x16):return PLATFORM_ICONS[_0x349a(0x15)];case _0x349a(0x17):case _0x349a(0x18):return PLATFORM_ICONS[_0x349a(0x17)];case _0x349a(0x19):return PLATFORM_ICONS['grok'];case'gemini':case _0x349a(0x1a):return PLATFORM_ICONS[_0x349a(0x1b)];default:return PLATFORM_ICONS[_0x349a(0x1c)];}};exports[_0x349a(0x1)]=getPlatformIconFromRegistry;const PERSONA_IMAGES=exports[_0x349a(0x4)]={'level1':__ONAIROS_REQ_FUNC__(0xf),'level2':__ONAIROS_REQ_FUNC__(0x10),'level3':__ONAIROS_REQ_FUNC__(0x11),'level4':__ONAIROS_REQ_FUNC__(0x12),'level5':__ONAIROS_REQ_FUNC__(0x13)},getPersonaImage=_0x4b785c=>{const _0x19bac8='level'+_0x4b785c;return PERSONA_IMAGES[_0x19bac8]||PERSONA_IMAGES[_0x349a(0x1d)];};exports[_0x349a(0x2)]=getPersonaImage;const BRAND_IMAGES=exports[_0x349a(0x1e)]={'onairosLogo':__ONAIROS_REQ_FUNC__(0x14),'onairosLogoAlt':__ONAIROS_REQ_FUNC__(0x15),'googleLogo':__ONAIROS_REQ_FUNC__(0x16),'faceIdLogo':__ONAIROS_REQ_FUNC__(0x17),'enochIcon':__ONAIROS_REQ_FUNC__(0x18)},ANIMATIONS=exports['ANIMATIONS']={'loader':__ONAIROS_REQ_FUNC__(0x19),'persona':__ONAIROS_REQ_FUNC__(0x1a)},OVERLAY_PLATFORMS=exports[_0x349a(0x5)]=[{'id':_0x349a(0xe),'name':_0x349a(0x1f),'icon':PLATFORM_ICONS['instagram']},{'id':_0x349a(0xb),'name':'YouTube','icon':PLATFORM_ICONS[_0x349a(0x20)]},{'id':'reddit','name':_0x349a(0x21),'icon':PLATFORM_ICONS[_0x349a(0x7)]},{'id':_0x349a(0x10),'name':_0x349a(0x22),'icon':PLATFORM_ICONS['pinterest']},{'id':'email','name':'Email','icon':PLATFORM_ICONS[_0x349a(0x12)]}],getUniversalOnboardingIcon=_0x148115=>{const _0x3bf0f4={'KOAYB':_0x349a(0x7),'SxYbs':_0x349a(0x10),'nVYAQ':'facebook','SwfED':_0x349a(0xd),'qxwTO':'email'},_0x48b448=_0x148115[_0x349a(0xa)]();switch(_0x48b448){case'instagram':return PLATFORM_ICONS[_0x349a(0xe)];case _0x349a(0xb):return PLATFORM_ICONS['youtube2'];case _0x3bf0f4[_0x349a(0x23)]:return PLATFORM_ICONS[_0x349a(0x7)];case _0x3bf0f4[_0x349a(0x24)]:return PLATFORM_ICONS[_0x349a(0x10)];case _0x3bf0f4[_0x349a(0x25)]:return PLATFORM_ICONS[_0x349a(0x8)];case _0x3bf0f4[_0x349a(0x26)]:return PLATFORM_ICONS[_0x349a(0xd)];case _0x349a(0x12):case _0x3bf0f4[_0x349a(0x27)]:return PLATFORM_ICONS['gmail'];default:return PLATFORM_ICONS[_0x349a(0x1c)];}};exports[_0x349a(0x28)]=getUniversalOnboardingIcon;
33
+ Object[_0x389e(0x0)](exports,_0x389e(0x1),{'value':!![]}),exports['getUniversalOnboardingIcon']=exports[_0x389e(0x2)]=exports[_0x389e(0x3)]=exports[_0x389e(0x4)]=exports[_0x389e(0x5)]=exports[_0x389e(0x6)]=exports[_0x389e(0x7)]=exports['ANIMATIONS']=void 0x0;const PLATFORM_ICONS=exports[_0x389e(0x4)]={'youtube':__ONAIROS_REQ_FUNC__(0x0),'youtube2':__ONAIROS_REQ_FUNC__(0x1),'reddit':__ONAIROS_REQ_FUNC__(0x2),'linkedin':__ONAIROS_REQ_FUNC__(0x3),'instagram':__ONAIROS_REQ_FUNC__(0x4),'facebook':__ONAIROS_REQ_FUNC__(0x5),'pinterest':__ONAIROS_REQ_FUNC__(0x6),'gmail':__ONAIROS_REQ_FUNC__(0x7),'twitter':__ONAIROS_REQ_FUNC__(0x8),'farcaster':__ONAIROS_REQ_FUNC__(0x9),'chatgpt':__ONAIROS_REQ_FUNC__(0xa),'claude':__ONAIROS_REQ_FUNC__(0xb),'grok':__ONAIROS_REQ_FUNC__(0xc),'gemini':__ONAIROS_REQ_FUNC__(0xd),'default':__ONAIROS_REQ_FUNC__(0xe)},getPlatformIconFromRegistry=_0x5cabf9=>{const _0x21f739={'PIgkZ':_0x389e(0x8),'ugnef':_0x389e(0x9),'LRVdi':_0x389e(0xa),'lJQuY':_0x389e(0xb),'azkNB':'gemini'},_0x4b689c=_0x5cabf9['toLowerCase']();switch(_0x4b689c){case _0x21f739[_0x389e(0xc)]:return PLATFORM_ICONS[_0x389e(0x8)];case _0x389e(0xd):return PLATFORM_ICONS[_0x389e(0xd)];case _0x389e(0xe):return PLATFORM_ICONS[_0x389e(0xe)];case _0x389e(0xf):return PLATFORM_ICONS[_0x389e(0xf)];case _0x389e(0x10):return PLATFORM_ICONS[_0x389e(0x10)];case _0x21f739[_0x389e(0x11)]:return PLATFORM_ICONS['pinterest'];case _0x389e(0x12):case _0x21f739[_0x389e(0x13)]:return PLATFORM_ICONS['gmail'];case _0x389e(0x14):case'x':return PLATFORM_ICONS[_0x389e(0x14)];case _0x389e(0x15):return PLATFORM_ICONS['farcaster'];case _0x389e(0x16):case _0x389e(0x17):return PLATFORM_ICONS[_0x389e(0x16)];case _0x389e(0x18):case _0x21f739['lJQuY']:return PLATFORM_ICONS[_0x389e(0x18)];case _0x389e(0x19):return PLATFORM_ICONS[_0x389e(0x19)];case _0x21f739[_0x389e(0x1a)]:case _0x389e(0x1b):return PLATFORM_ICONS[_0x389e(0x1c)];default:return PLATFORM_ICONS[_0x389e(0x1d)];}};exports[_0x389e(0x2)]=getPlatformIconFromRegistry;const PERSONA_IMAGES=exports[_0x389e(0x5)]={'level1':__ONAIROS_REQ_FUNC__(0xf),'level2':__ONAIROS_REQ_FUNC__(0x10),'level3':__ONAIROS_REQ_FUNC__(0x11),'level4':__ONAIROS_REQ_FUNC__(0x12),'level5':__ONAIROS_REQ_FUNC__(0x13)},getPersonaImage=_0x22cecf=>{const _0x141bb1=_0x389e(0x1e)+_0x22cecf;return PERSONA_IMAGES[_0x141bb1]||PERSONA_IMAGES[_0x389e(0x1f)];};exports['getPersonaImage']=getPersonaImage;function _0x389e(_0x24d730,_0x389e41){_0x24d730=_0x24d730-0x0;const _0x1df877=_0x24d7();let _0x541336=_0x1df877[_0x24d730];return _0x541336;}function _0x24d7(){const _0x22d879=['defineProperty','__esModule','getPlatformIconFromRegistry','getPersonaImage','PLATFORM_ICONS','PERSONA_IMAGES','OVERLAY_PLATFORMS','BRAND_IMAGES','youtube','pinterest','email','anthropic','PIgkZ','reddit','linkedin','instagram','facebook','ugnef','gmail','LRVdi','twitter','farcaster','chatgpt','openai','claude','grok','azkNB','google_ai','gemini','default','level','level1','ANIMATIONS','Instagram','YouTube','Pinterest','Email','toLowerCase','youtube2','getUniversalOnboardingIcon'];_0x24d7=function(){return _0x22d879;};return _0x24d7();}const BRAND_IMAGES=exports['BRAND_IMAGES']={'onairosLogo':__ONAIROS_REQ_FUNC__(0x14),'onairosLogoAlt':__ONAIROS_REQ_FUNC__(0x15),'googleLogo':__ONAIROS_REQ_FUNC__(0x16),'faceIdLogo':__ONAIROS_REQ_FUNC__(0x17),'enochIcon':__ONAIROS_REQ_FUNC__(0x18)},ANIMATIONS=exports[_0x389e(0x20)]={'loader':__ONAIROS_REQ_FUNC__(0x19),'persona':__ONAIROS_REQ_FUNC__(0x1a)},OVERLAY_PLATFORMS=exports[_0x389e(0x6)]=[{'id':_0x389e(0xf),'name':_0x389e(0x21),'icon':PLATFORM_ICONS[_0x389e(0xf)]},{'id':_0x389e(0x8),'name':_0x389e(0x22),'icon':PLATFORM_ICONS['youtube2']},{'id':'reddit','name':'Reddit','icon':PLATFORM_ICONS['reddit']},{'id':_0x389e(0x9),'name':_0x389e(0x23),'icon':PLATFORM_ICONS[_0x389e(0x9)]},{'id':_0x389e(0xa),'name':_0x389e(0x24),'icon':PLATFORM_ICONS[_0x389e(0x12)]}],getUniversalOnboardingIcon=_0x429757=>{const _0x428da7={'iIvYl':_0x389e(0x9)},_0xc86e22=_0x429757[_0x389e(0x25)]();switch(_0xc86e22){case _0x389e(0xf):return PLATFORM_ICONS['instagram'];case _0x389e(0x8):return PLATFORM_ICONS[_0x389e(0x26)];case _0x389e(0xd):return PLATFORM_ICONS['reddit'];case _0x428da7['iIvYl']:return PLATFORM_ICONS[_0x389e(0x9)];case'facebook':return PLATFORM_ICONS['facebook'];case _0x389e(0xe):return PLATFORM_ICONS['linkedin'];case _0x389e(0x12):case _0x389e(0xa):return PLATFORM_ICONS['gmail'];default:return PLATFORM_ICONS[_0x389e(0x1d)];}};exports[_0x389e(0x27)]=getUniversalOnboardingIcon;
@@ -6,4 +6,4 @@ var __ONAIROS_REQ_REGISTRY__ = [
6
6
  require("../config/api")
7
7
  ];
8
8
  function __ONAIROS_REQ_FUNC__(i) { return __ONAIROS_REQ_REGISTRY__[i]; }
9
- Object['defineProperty'](exports,_0x7e4b(0x0),{'value':!![]}),exports['verifyToken']=exports[_0x7e4b(0x1)]=exports[_0x7e4b(0x2)]=exports[_0x7e4b(0x3)]=exports[_0x7e4b(0x4)]=void 0x0;var _axios=_interopRequireDefault(__ONAIROS_REQ_FUNC__(0x0)),_asyncStorage=_interopRequireDefault(__ONAIROS_REQ_FUNC__(0x1)),_api=__ONAIROS_REQ_FUNC__(0x2);function _0x7e4b(_0x1943da,_0x7e4bb4){_0x1943da=_0x1943da-0x0;const _0x160373=_0x1943();let _0x44243f=_0x160373[_0x1943da];return _0x44243f;}function _interopRequireDefault(_0x22ef84){return _0x22ef84&&_0x22ef84[_0x7e4b(0x0)]?_0x22ef84:{'default':_0x22ef84};}const API_URL=_api[_0x7e4b(0x5)][_0x7e4b(0x6)],getPin=async _0x27baaa=>{const _0x564c65={'yLUiU':_0x7e4b(0x7)};try{const _0x39f5ba=await _axios[_0x7e4b(0x8)]['post'](API_URL+_0x7e4b(0x9),{'hashedOthentSub':_0x27baaa});return _0x39f5ba[_0x7e4b(0xa)];}catch(_0x33bf13){console['error'](_0x564c65['yLUiU'],_0x33bf13);throw _0x33bf13;}};exports[_0x7e4b(0x3)]=getPin;const verifyToken=async _0x4f9ea9=>{try{const _0x4e78c1=await _axios[_0x7e4b(0x8)]['post'](API_URL+'/verifyToken',{},{'headers':{'Authorization':_0x7e4b(0xb)+_0x4f9ea9}});return _0x4e78c1['data'][_0x7e4b(0xc)];}catch(_0x42a235){return console[_0x7e4b(0xd)](_0x7e4b(0xe),_0x42a235),![];}};exports[_0x7e4b(0xf)]=verifyToken;const storeAuthData=async(_0x142720,_0x3f07f6=null,_0x4204ac=null)=>{const _0x36e056={'veMFa':_0x7e4b(0x7),'FpYIv':function(_0x452895,_0xb35d12){return _0x452895!==_0xb35d12;},'FPBrp':_0x7e4b(0x10),'OHXrd':_0x7e4b(0x11),'gDBeO':'onairosToken','TsBeU':'username','zBLTz':'NxfEr','MdZZy':_0x7e4b(0x12),'eEtBd':_0x7e4b(0x13)};try{if(_0x36e056[_0x7e4b(0x14)](_0x36e056[_0x7e4b(0x15)],_0x36e056[_0x7e4b(0x16)])){await _asyncStorage[_0x7e4b(0x8)]['setItem'](_0x36e056[_0x7e4b(0x17)],_0x142720);_0x3f07f6&&await _asyncStorage[_0x7e4b(0x8)]['setItem'](_0x36e056['TsBeU'],_0x3f07f6);if(_0x4204ac){if(_0x36e056[_0x7e4b(0x18)]!==_0x36e056[_0x7e4b(0x18)]){_0xe95835[_0x7e4b(0xd)](_0x7e4b(0x19),_0x2f576b);throw _0xdb0907;}else await _asyncStorage[_0x7e4b(0x8)][_0x7e4b(0x1a)](_0x36e056[_0x7e4b(0x1b)],JSON[_0x7e4b(0x1c)](_0x4204ac));}}else{_0x123226['error'](_0x36e056['veMFa'],_0x35b7d4);throw _0x5c6301;}}catch(_0x42e382){console['error'](_0x36e056['eEtBd'],_0x42e382);throw _0x42e382;}};function _0x1943(){const _0x2afd11=['__esModule','storeAuthData','getStoredAuthData','getPin','clearAuthData','API_CONFIG','BASE_URL','Error\x20getting\x20PIN:','default','/getPin','data','Bearer\x20','valid','error','Error\x20verifying\x20token:','verifyToken','RAKyu','adZgO','othentToken','Error\x20storing\x20auth\x20data:','FpYIv','FPBrp','OHXrd','gDBeO','zBLTz','Error\x20clearing\x20auth\x20data:','setItem','MdZZy','stringify','onairosToken','username','removeItem','nHQVe','JSJUq','pWFYP','Error\x20getting\x20stored\x20auth\x20data:','egFLj','aWBIg','AiYvY','getItem','parse','NgVDD','pbhVT','RbHrT','HlexD','xBuWM'];_0x1943=function(){return _0x2afd11;};return _0x1943();}exports[_0x7e4b(0x1)]=storeAuthData;const clearAuthData=async()=>{const _0x26bed4={'fgOrA':_0x7e4b(0x1d),'nHQVe':_0x7e4b(0x1e),'ABKzT':function(_0x525aba,_0x1bcbdc){return _0x525aba!==_0x1bcbdc;},'JSJUq':'UjPJy','pWFYP':_0x7e4b(0x19)};try{await _asyncStorage[_0x7e4b(0x8)]['removeItem'](_0x26bed4['fgOrA']),await _asyncStorage['default'][_0x7e4b(0x1f)](_0x26bed4[_0x7e4b(0x20)]),await _asyncStorage[_0x7e4b(0x8)][_0x7e4b(0x1f)](_0x7e4b(0x12));}catch(_0x5aaea1){if(_0x26bed4['ABKzT'](_0x26bed4[_0x7e4b(0x21)],_0x26bed4[_0x7e4b(0x21)])){_0x1eed44[_0x7e4b(0xd)]('Error\x20storing\x20auth\x20data:',_0x3ad7f5);throw _0x578b11;}else{console['error'](_0x26bed4[_0x7e4b(0x22)],_0x5aaea1);throw _0x5aaea1;}}};exports[_0x7e4b(0x4)]=clearAuthData;const getStoredAuthData=async()=>{const _0x17ffc0={'xBuWM':_0x7e4b(0x23),'HlexD':_0x7e4b(0xe),'aWBIg':function(_0x30b2ce,_0x32d249){return _0x30b2ce===_0x32d249;},'AiYvY':_0x7e4b(0x24),'KSTmR':_0x7e4b(0x1d),'MxHjK':_0x7e4b(0x1e),'NgVDD':function(_0x43a512,_0x446f32){return _0x43a512===_0x446f32;},'pbhVT':'zoirm','RbHrT':'lMcyo'};try{if(_0x17ffc0[_0x7e4b(0x25)](_0x17ffc0[_0x7e4b(0x26)],_0x7e4b(0x24))){const _0x33ac5f=await _asyncStorage['default'][_0x7e4b(0x27)](_0x17ffc0['KSTmR']),_0x2ba538=await _asyncStorage['default'][_0x7e4b(0x27)](_0x17ffc0['MxHjK']),_0x293a80=await _asyncStorage['default'][_0x7e4b(0x27)](_0x7e4b(0x12));return{'token':_0x33ac5f,'username':_0x2ba538,'othentToken':_0x293a80?JSON[_0x7e4b(0x28)](_0x293a80):null};}else return _0x4eac7a[_0x7e4b(0xd)](_0x17ffc0['xBuWM'],_0x5b4f89),{'token':null,'username':null,'othentToken':null};}catch(_0x5a13f8){return _0x17ffc0[_0x7e4b(0x29)](_0x17ffc0[_0x7e4b(0x2a)],_0x17ffc0[_0x7e4b(0x2b)])?(_0x4d4981[_0x7e4b(0xd)](_0x17ffc0[_0x7e4b(0x2c)],_0x525061),![]):(console[_0x7e4b(0xd)](_0x17ffc0[_0x7e4b(0x2d)],_0x5a13f8),{'token':null,'username':null,'othentToken':null});}};exports[_0x7e4b(0x2)]=getStoredAuthData;
9
+ Object[_0x348f(0x0)](exports,_0x348f(0x1),{'value':!![]}),exports[_0x348f(0x2)]=exports['storeAuthData']=exports[_0x348f(0x3)]=exports[_0x348f(0x4)]=exports[_0x348f(0x5)]=void 0x0;var _axios=_interopRequireDefault(__ONAIROS_REQ_FUNC__(0x0)),_asyncStorage=_interopRequireDefault(__ONAIROS_REQ_FUNC__(0x1)),_api=__ONAIROS_REQ_FUNC__(0x2);function _interopRequireDefault(_0x31e699){return _0x31e699&&_0x31e699['__esModule']?_0x31e699:{'default':_0x31e699};}const API_URL=_api['API_CONFIG'][_0x348f(0x6)],getPin=async _0x1af5df=>{try{const _0x3822d3=await _axios[_0x348f(0x7)][_0x348f(0x8)](API_URL+_0x348f(0x9),{'hashedOthentSub':_0x1af5df});return _0x3822d3[_0x348f(0xa)];}catch(_0x56f96e){console[_0x348f(0xb)](_0x348f(0xc),_0x56f96e);throw _0x56f96e;}};exports[_0x348f(0x4)]=getPin;function _0x348f(_0x1a18f2,_0x348f13){_0x1a18f2=_0x1a18f2-0x0;const _0x1676d=_0x1a18();let _0x6bd183=_0x1676d[_0x1a18f2];return _0x6bd183;}const verifyToken=async _0x1de147=>{const _0x536782={'CBfBV':_0x348f(0xd),'dODWI':function(_0xaea9ac,_0x1dda84){return _0xaea9ac===_0x1dda84;},'aHdzM':_0x348f(0xe),'CGxwP':'fncSr'};try{const _0x4ffb91=await _axios[_0x348f(0x7)][_0x348f(0x8)](API_URL+_0x348f(0xf),{},{'headers':{'Authorization':_0x348f(0x10)+_0x1de147}});return _0x4ffb91[_0x348f(0xa)][_0x348f(0x11)];}catch(_0x239043){if(_0x536782[_0x348f(0x12)](_0x536782['aHdzM'],_0x536782['CGxwP'])){_0xa4d28d[_0x348f(0xb)](_0x536782[_0x348f(0x13)],_0x50e35d);throw _0x151396;}else return console[_0x348f(0xb)](_0x348f(0x14),_0x239043),![];}};exports[_0x348f(0x2)]=verifyToken;function _0x1a18(){const _0x4b72a8=['defineProperty','__esModule','verifyToken','getStoredAuthData','getPin','clearAuthData','BASE_URL','default','post','/getPin','data','error','Error\x20getting\x20PIN:','Error\x20storing\x20auth\x20data:','uBGBr','/verifyToken','Bearer\x20','valid','dODWI','CBfBV','Error\x20verifying\x20token:','Error\x20getting\x20stored\x20auth\x20data:','Error\x20clearing\x20auth\x20data:','username','othentToken','lCDJX','jcIIo','onairosToken','zaCZl','setItem','lGzqW','noQwQ','stringify','voLgc','zAPyb','AGTEq','nnwki','storeAuthData','tTCdN','cykgv','removeItem','ehUvA','ZXSAN','getItem','PnpYv','KwZKY'];_0x1a18=function(){return _0x4b72a8;};return _0x1a18();}const storeAuthData=async(_0x4ffcba,_0x4368f2=null,_0x4c23bc=null)=>{const _0x1fe94f={'DcwGl':_0x348f(0x15),'AGTEq':_0x348f(0x16),'ShWzy':function(_0x43c8b8,_0xeaae07){return _0x43c8b8===_0xeaae07;},'zaCZl':'EXQiv','lGzqW':_0x348f(0x17),'noQwQ':_0x348f(0x18),'voLgc':function(_0x109d99,_0xcd8b62){return _0x109d99===_0xcd8b62;},'zAPyb':_0x348f(0x19),'qdhZD':_0x348f(0x1a),'nnwki':_0x348f(0xd)};try{await _asyncStorage['default']['setItem'](_0x348f(0x1b),_0x4ffcba);if(_0x4368f2){if(_0x1fe94f['ShWzy'](_0x1fe94f[_0x348f(0x1c)],_0x1fe94f[_0x348f(0x1c)]))await _asyncStorage[_0x348f(0x7)][_0x348f(0x1d)](_0x1fe94f[_0x348f(0x1e)],_0x4368f2);else return _0x13331d[_0x348f(0xb)](_0x1fe94f['DcwGl'],_0x20221d),{'token':null,'username':null,'othentToken':null};}_0x4c23bc&&await _asyncStorage[_0x348f(0x7)]['setItem'](_0x1fe94f[_0x348f(0x1f)],JSON[_0x348f(0x20)](_0x4c23bc));}catch(_0x1ea77f){if(_0x1fe94f[_0x348f(0x21)](_0x1fe94f[_0x348f(0x22)],_0x1fe94f['qdhZD'])){_0x3ab5a9[_0x348f(0xb)](_0x1fe94f[_0x348f(0x23)],_0x130d2c);throw _0x474ab2;}else{console[_0x348f(0xb)](_0x1fe94f[_0x348f(0x24)],_0x1ea77f);throw _0x1ea77f;}}};exports[_0x348f(0x25)]=storeAuthData;const clearAuthData=async()=>{const _0xbeb886={'tTCdN':'UBbze','cykgv':'JKfih','ehUvA':_0x348f(0x17),'ZXSAN':_0x348f(0x18),'dmVOh':_0x348f(0x16)};try{if(_0xbeb886[_0x348f(0x26)]===_0xbeb886[_0x348f(0x27)]){_0x29072d['error']('Error\x20getting\x20PIN:',_0x232d40);throw _0x2a4a82;}else await _asyncStorage[_0x348f(0x7)]['removeItem'](_0x348f(0x1b)),await _asyncStorage[_0x348f(0x7)][_0x348f(0x28)](_0xbeb886[_0x348f(0x29)]),await _asyncStorage[_0x348f(0x7)][_0x348f(0x28)](_0xbeb886[_0x348f(0x2a)]);}catch(_0x315824){console[_0x348f(0xb)](_0xbeb886['dmVOh'],_0x315824);throw _0x315824;}};exports['clearAuthData']=clearAuthData;const getStoredAuthData=async()=>{const _0x3c3ebd={'PnpYv':_0x348f(0x17),'KwZKY':_0x348f(0x18)};try{const _0x490227=await _asyncStorage[_0x348f(0x7)][_0x348f(0x2b)](_0x348f(0x1b)),_0x1ccc37=await _asyncStorage[_0x348f(0x7)][_0x348f(0x2b)](_0x3c3ebd[_0x348f(0x2c)]),_0x3a3372=await _asyncStorage[_0x348f(0x7)][_0x348f(0x2b)](_0x3c3ebd[_0x348f(0x2d)]);return{'token':_0x490227,'username':_0x1ccc37,'othentToken':_0x3a3372?JSON['parse'](_0x3a3372):null};}catch(_0x1b9aae){return console[_0x348f(0xb)](_0x348f(0x15),_0x1b9aae),{'token':null,'username':null,'othentToken':null};}};exports[_0x348f(0x3)]=getStoredAuthData;