@onairos/react-native 3.4.0 → 3.5.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (546) hide show
  1. package/README.md +62 -13
  2. package/lib/commonjs/api/index.js +9 -145
  3. package/lib/commonjs/assets/animations/loaderani.json +1 -0
  4. package/lib/commonjs/assets/animations/persona-animation.json +1 -0
  5. package/lib/commonjs/assets/fonts/EBGaramond-VariableFont_wght.ttf +0 -0
  6. package/lib/commonjs/assets/fonts/IBMPlexSans-VariableFont_wdth,wght.ttf +0 -0
  7. package/lib/commonjs/assets/icons/Facebookicon.png +0 -0
  8. package/lib/commonjs/assets/icons/Gmail.png +0 -0
  9. package/lib/commonjs/assets/icons/Linkedinicon.png +0 -0
  10. package/lib/commonjs/assets/icons/Redditicon.png +0 -0
  11. package/lib/commonjs/assets/icons/YouTubeicon2.png +0 -0
  12. package/lib/commonjs/assets/icons/YouTubeicon3.png +0 -0
  13. package/lib/commonjs/assets/icons/chatgpt.png +0 -0
  14. package/lib/commonjs/assets/icons/claude.png +0 -0
  15. package/lib/commonjs/assets/icons/gemini.png +0 -0
  16. package/lib/commonjs/assets/icons/grok.png +0 -0
  17. package/lib/commonjs/assets/images/Checkbox.svg +3 -0
  18. package/lib/commonjs/assets/images/EnochE.svg +19 -0
  19. package/lib/commonjs/assets/images/Enochicon1.png +0 -0
  20. package/lib/commonjs/assets/images/Face_ID_logo.png +0 -0
  21. package/lib/commonjs/assets/images/Facebookicon.png +0 -0
  22. package/lib/commonjs/assets/images/Gmail.png +0 -0
  23. package/lib/commonjs/assets/images/Googlelogo.png +0 -0
  24. package/lib/commonjs/assets/images/Linkedinicon.png +0 -0
  25. package/lib/commonjs/assets/images/Onairoslogo.png +0 -0
  26. package/lib/commonjs/assets/images/Personalityprofile.svg +3 -0
  27. package/lib/commonjs/assets/images/Personalitytraits.svg +3 -0
  28. package/lib/commonjs/assets/images/Redditicon.png +0 -0
  29. package/lib/commonjs/assets/images/Userpreferences.svg +3 -0
  30. package/lib/commonjs/assets/images/YouTubeicon3.png +0 -0
  31. package/lib/commonjs/assets/images/arrow.svg +20 -0
  32. package/lib/commonjs/assets/images/basicproficon.svg +43 -0
  33. package/lib/commonjs/assets/images/basicprofile.svg +3 -0
  34. package/lib/commonjs/assets/images/chatgpt.png +0 -0
  35. package/lib/commonjs/assets/images/checkmark.svg +4 -0
  36. package/lib/commonjs/assets/images/claude.png +0 -0
  37. package/lib/commonjs/assets/images/contentanalysis.svg +3 -0
  38. package/lib/commonjs/assets/images/contenticon.svg +23 -0
  39. package/lib/commonjs/assets/images/gemini.png +0 -0
  40. package/lib/commonjs/assets/images/grok.png +0 -0
  41. package/lib/commonjs/assets/images/persona1.png +0 -0
  42. package/lib/commonjs/assets/images/persona2.png +0 -0
  43. package/lib/commonjs/assets/images/persona3.png +0 -0
  44. package/lib/commonjs/assets/images/persona4.png +0 -0
  45. package/lib/commonjs/assets/images/persona5.png +0 -0
  46. package/lib/commonjs/assets/images/personalityicon.svg +18 -0
  47. package/lib/commonjs/assets/images/x-close.svg +3 -0
  48. package/lib/commonjs/components/BodyText.js +9 -0
  49. package/lib/commonjs/components/BrandMark.js +10 -0
  50. package/lib/commonjs/components/CodeInput.js +9 -0
  51. package/lib/commonjs/components/EmailInput.js +8 -0
  52. package/lib/commonjs/components/GoogleButton.js +9 -0
  53. package/lib/commonjs/components/HeadingGroup.js +9 -0
  54. package/lib/commonjs/components/LLMDataInputModal.js +14 -0
  55. package/lib/commonjs/components/ModalHeader.js +9 -0
  56. package/lib/commonjs/components/ModalSheet.js +9 -0
  57. package/lib/commonjs/components/Onairos.js +14 -374
  58. package/lib/commonjs/components/OnairosButton.js +13 -309
  59. package/lib/commonjs/components/OnairosSignInButton.js +12 -0
  60. package/lib/commonjs/components/Overlay.js +13 -483
  61. package/lib/commonjs/components/PersonaImage.js +10 -0
  62. package/lib/commonjs/components/PersonaLoadingScreen.js +12 -0
  63. package/lib/commonjs/components/PersonalizationConsentScreen.js +13 -0
  64. package/lib/commonjs/components/PinCreationScreen.js +12 -0
  65. package/lib/commonjs/components/PinInput.js +9 -302
  66. package/lib/commonjs/components/PlatformConnectorsStep.js +22 -0
  67. package/lib/commonjs/components/PlatformList.js +10 -137
  68. package/lib/commonjs/components/PlatformToggle.js +9 -0
  69. package/lib/commonjs/components/PrimaryButton.js +10 -0
  70. package/lib/commonjs/components/SignInMatchAnimation.js +9 -0
  71. package/lib/commonjs/components/SignInStep.js +12 -0
  72. package/lib/commonjs/components/UniversalOnboarding.js +29 -1702
  73. package/lib/commonjs/components/VerificationStep.js +11 -0
  74. package/lib/commonjs/components/WelcomeScreen.js +21 -0
  75. package/lib/commonjs/components/icons/Basicproficon.js +8 -0
  76. package/lib/commonjs/components/icons/Basicprofile.js +8 -0
  77. package/lib/commonjs/components/icons/Checkbox.js +8 -0
  78. package/lib/commonjs/components/icons/Checkmark.js +8 -0
  79. package/lib/commonjs/components/icons/Contentanalysis.js +8 -0
  80. package/lib/commonjs/components/icons/Contenticon.js +8 -0
  81. package/lib/commonjs/components/icons/EnochE.js +8 -0
  82. package/lib/commonjs/components/icons/Personalityicon.js +8 -0
  83. package/lib/commonjs/components/icons/Personalityprofile.js +8 -0
  84. package/lib/commonjs/components/icons/Personalitytraits.js +8 -0
  85. package/lib/commonjs/components/icons/Userpreferences.js +8 -0
  86. package/lib/commonjs/components/icons/index.js +17 -0
  87. package/lib/commonjs/components/onboarding/OAuthWebView.js +14 -827
  88. package/lib/commonjs/components/onboarding/OnboardingHeader.js +10 -74
  89. package/lib/commonjs/components/onboarding/PinInput.js +10 -283
  90. package/lib/commonjs/components/onboarding/PlatformConnector.js +11 -249
  91. package/lib/commonjs/config/api.js +7 -0
  92. package/lib/commonjs/constants/index.js +7 -83
  93. package/lib/commonjs/context/AuthContext.js +10 -0
  94. package/lib/commonjs/hooks/useConnectedAccounts.js +9 -0
  95. package/lib/commonjs/hooks/useConnections.js +8 -159
  96. package/lib/commonjs/hooks/useCredentials.js +10 -177
  97. package/lib/commonjs/hooks/useUserConnections.js +10 -0
  98. package/lib/commonjs/index.js +35 -106
  99. package/lib/commonjs/services/SDK_API_KEY_VALIDATION.md +31 -38
  100. package/lib/commonjs/services/apiClient.js +8 -0
  101. package/lib/commonjs/services/apiKeyService.js +9 -946
  102. package/lib/commonjs/services/authService.js +10 -0
  103. package/lib/commonjs/services/biometricPinService.js +8 -0
  104. package/lib/commonjs/services/chatGPTConversationExtractor.js +8 -0
  105. package/lib/commonjs/services/chatGPTConversationService.js +9 -0
  106. package/lib/commonjs/services/claudeConversationExtractor.js +8 -0
  107. package/lib/commonjs/services/claudeConversationService.js +9 -0
  108. package/lib/commonjs/services/connectedAccountsService.js +10 -0
  109. package/lib/commonjs/services/googleAuthService.js +11 -0
  110. package/lib/commonjs/services/imageCompressionService.js +7 -0
  111. package/lib/commonjs/services/jwtStorageService.js +7 -0
  112. package/lib/commonjs/services/linkedinDOMExtractor.js +7 -0
  113. package/lib/commonjs/services/linkedinProfileService.js +9 -0
  114. package/lib/commonjs/services/linkedinScrapingService.js +8 -0
  115. package/lib/commonjs/services/llmDataStorage.js +8 -0
  116. package/lib/commonjs/services/mobileTrainingService.js +8 -0
  117. package/lib/commonjs/services/oauthService.js +11 -390
  118. package/lib/commonjs/services/pinEncryptionService.js +8 -0
  119. package/lib/commonjs/services/pinStorageUtils.js +7 -0
  120. package/lib/commonjs/services/platformAuthService.js +12 -1067
  121. package/lib/commonjs/services/storageService.js +8 -0
  122. package/lib/commonjs/services/trainingApiHelpers.js +7 -0
  123. package/lib/commonjs/services/userConnectionsService.js +10 -0
  124. package/lib/commonjs/services/youtubeMigrationService.js +10 -0
  125. package/lib/commonjs/theme/index.js +7 -0
  126. package/lib/commonjs/types/ambient.d.js +1 -2
  127. package/lib/commonjs/types/declarations.d.js +1 -2
  128. package/lib/commonjs/types/index.js +1 -6
  129. package/lib/commonjs/types/node-fix.d.js +1 -2
  130. package/lib/commonjs/types/node-override.d.js +1 -2
  131. package/lib/commonjs/types/opacity.d.js +1 -2
  132. package/lib/commonjs/types.js +1 -14
  133. package/lib/commonjs/utils/Portal.js +8 -98
  134. package/lib/commonjs/utils/api.js +9 -129
  135. package/lib/commonjs/utils/assetRegistry.js +33 -0
  136. package/lib/commonjs/utils/auth.js +9 -111
  137. package/lib/commonjs/utils/crypto.js +8 -62
  138. package/lib/commonjs/utils/debugHelper.js +1 -64
  139. package/lib/commonjs/utils/encryption.js +7 -76
  140. package/lib/commonjs/utils/eventUtils.js +1 -0
  141. package/lib/commonjs/utils/haptics.js +9 -0
  142. package/lib/commonjs/utils/imagePreloader.js +1 -0
  143. package/lib/commonjs/utils/networkDiagnostics.js +8 -0
  144. package/lib/commonjs/utils/onairosApi.js +9 -350
  145. package/lib/commonjs/utils/programmaticFlow.js +9 -117
  146. package/lib/commonjs/utils/retryHelper.js +1 -220
  147. package/lib/commonjs/utils/secureStorage.js +10 -349
  148. package/lib/commonjs/utils/webviewScripts/chatgpt.js +1 -0
  149. package/lib/commonjs/utils/webviewScripts/claude.js +1 -0
  150. package/lib/commonjs/utils/webviewScripts/index.js +9 -0
  151. package/lib/commonjs/utils/webviewScripts/linkedin.js +1 -0
  152. package/lib/module/api/index.js +1 -139
  153. package/lib/module/assets/animations/loaderani.json +1 -0
  154. package/lib/module/assets/animations/persona-animation.json +1 -0
  155. package/lib/module/assets/fonts/EBGaramond-VariableFont_wght.ttf +0 -0
  156. package/lib/module/assets/fonts/IBMPlexSans-VariableFont_wdth,wght.ttf +0 -0
  157. package/lib/module/assets/icons/Facebookicon.png +0 -0
  158. package/lib/module/assets/icons/Gmail.png +0 -0
  159. package/lib/module/assets/icons/Linkedinicon.png +0 -0
  160. package/lib/module/assets/icons/Redditicon.png +0 -0
  161. package/lib/module/assets/icons/YouTubeicon2.png +0 -0
  162. package/lib/module/assets/icons/YouTubeicon3.png +0 -0
  163. package/lib/module/assets/icons/chatgpt.png +0 -0
  164. package/lib/module/assets/icons/claude.png +0 -0
  165. package/lib/module/assets/icons/farcaster.png +0 -0
  166. package/lib/module/assets/icons/gemini.png +0 -0
  167. package/lib/module/assets/icons/grok.png +0 -0
  168. package/lib/module/assets/icons/instagram.png +0 -0
  169. package/lib/module/assets/icons/pinterest.png +0 -0
  170. package/lib/module/assets/icons/swerv_logo.png +0 -0
  171. package/lib/module/assets/icons/twitter.jpg +0 -0
  172. package/lib/module/assets/images/Checkbox.svg +3 -0
  173. package/lib/module/assets/images/EnochE.svg +19 -0
  174. package/lib/module/assets/images/Enochicon1.png +0 -0
  175. package/lib/module/assets/images/Face_ID_logo.png +0 -0
  176. package/lib/module/assets/images/Facebookicon.png +0 -0
  177. package/lib/module/assets/images/Gmail.png +0 -0
  178. package/lib/module/assets/images/Googlelogo.png +0 -0
  179. package/lib/module/assets/images/Linkedinicon.png +0 -0
  180. package/lib/module/assets/images/Onairoslogo.png +0 -0
  181. package/lib/module/assets/images/Personalityprofile.svg +3 -0
  182. package/lib/module/assets/images/Personalitytraits.svg +3 -0
  183. package/lib/module/assets/images/Redditicon.png +0 -0
  184. package/lib/module/assets/images/Userpreferences.svg +3 -0
  185. package/lib/module/assets/images/YouTubeicon3.png +0 -0
  186. package/lib/module/assets/images/arrow.svg +20 -0
  187. package/lib/module/assets/images/basicproficon.svg +43 -0
  188. package/lib/module/assets/images/basicprofile.svg +3 -0
  189. package/lib/module/assets/images/chatgpt.png +0 -0
  190. package/lib/module/assets/images/checkmark.svg +4 -0
  191. package/lib/module/assets/images/claude.png +0 -0
  192. package/lib/module/assets/images/contentanalysis.svg +3 -0
  193. package/lib/module/assets/images/contenticon.svg +23 -0
  194. package/lib/module/assets/images/gemini.png +0 -0
  195. package/lib/module/assets/images/grok.png +0 -0
  196. package/lib/module/assets/images/persona1.png +0 -0
  197. package/lib/module/assets/images/persona2.png +0 -0
  198. package/lib/module/assets/images/persona3.png +0 -0
  199. package/lib/module/assets/images/persona4.png +0 -0
  200. package/lib/module/assets/images/persona5.png +0 -0
  201. package/lib/module/assets/images/personalityicon.svg +18 -0
  202. package/lib/module/assets/images/x-close.svg +3 -0
  203. package/lib/module/components/BodyText.js +1 -0
  204. package/lib/module/components/BrandMark.js +1 -0
  205. package/lib/module/components/CodeInput.js +1 -0
  206. package/lib/module/components/EmailInput.js +1 -0
  207. package/lib/module/components/GoogleButton.js +1 -0
  208. package/lib/module/components/HeadingGroup.js +1 -0
  209. package/lib/module/components/LLMDataInputModal.js +8 -0
  210. package/lib/module/components/ModalHeader.js +1 -0
  211. package/lib/module/components/ModalSheet.js +1 -0
  212. package/lib/module/components/Onairos.js +1 -367
  213. package/lib/module/components/OnairosButton.js +1 -302
  214. package/lib/module/components/OnairosSignInButton.js +1 -0
  215. package/lib/module/components/Overlay.js +1 -474
  216. package/lib/module/components/PersonaImage.js +1 -0
  217. package/lib/module/components/PersonaLoadingScreen.js +1 -0
  218. package/lib/module/components/PersonalizationConsentScreen.js +1 -0
  219. package/lib/module/components/PinCreationScreen.js +1 -0
  220. package/lib/module/components/PinInput.js +1 -293
  221. package/lib/module/components/PlatformConnectorsStep.js +1 -0
  222. package/lib/module/components/PlatformList.js +1 -129
  223. package/lib/module/components/PlatformToggle.js +1 -0
  224. package/lib/module/components/PrimaryButton.js +1 -0
  225. package/lib/module/components/SignInMatchAnimation.js +1 -0
  226. package/lib/module/components/SignInStep.js +1 -0
  227. package/lib/module/components/UniversalOnboarding.js +1 -1693
  228. package/lib/module/components/VerificationStep.js +1 -0
  229. package/lib/module/components/WelcomeScreen.js +1 -0
  230. package/lib/module/components/icons/Basicproficon.js +1 -0
  231. package/lib/module/components/icons/Basicprofile.js +1 -0
  232. package/lib/module/components/icons/Checkbox.js +1 -0
  233. package/lib/module/components/icons/Checkmark.js +1 -0
  234. package/lib/module/components/icons/Contentanalysis.js +1 -0
  235. package/lib/module/components/icons/Contenticon.js +1 -0
  236. package/lib/module/components/icons/EnochE.js +1 -0
  237. package/lib/module/components/icons/Personalityicon.js +1 -0
  238. package/lib/module/components/icons/Personalityprofile.js +1 -0
  239. package/lib/module/components/icons/Personalitytraits.js +1 -0
  240. package/lib/module/components/icons/Userpreferences.js +1 -0
  241. package/lib/module/components/icons/index.js +1 -0
  242. package/lib/module/components/onboarding/OAuthWebView.js +1 -818
  243. package/lib/module/components/onboarding/OnboardingHeader.js +1 -66
  244. package/lib/module/components/onboarding/PinInput.js +1 -274
  245. package/lib/module/components/onboarding/PlatformConnector.js +1 -240
  246. package/lib/module/config/api.js +1 -0
  247. package/lib/module/constants/index.js +1 -77
  248. package/lib/module/context/AuthContext.js +1 -0
  249. package/lib/module/hooks/useConnectedAccounts.js +1 -0
  250. package/lib/module/hooks/useConnections.js +1 -152
  251. package/lib/module/hooks/useCredentials.js +6 -169
  252. package/lib/module/hooks/useUserConnections.js +1 -0
  253. package/lib/module/index.js +1 -32
  254. package/lib/module/services/SDK_API_KEY_VALIDATION.md +31 -38
  255. package/lib/module/services/apiClient.js +1 -0
  256. package/lib/module/services/apiKeyService.js +1 -919
  257. package/lib/module/services/authService.js +1 -0
  258. package/lib/module/services/biometricPinService.js +1 -0
  259. package/lib/module/services/chatGPTConversationExtractor.js +1 -0
  260. package/lib/module/services/chatGPTConversationService.js +1 -0
  261. package/lib/module/services/claudeConversationExtractor.js +1 -0
  262. package/lib/module/services/claudeConversationService.js +1 -0
  263. package/lib/module/services/connectedAccountsService.js +1 -0
  264. package/lib/module/services/googleAuthService.js +1 -0
  265. package/lib/module/services/imageCompressionService.js +1 -0
  266. package/lib/module/services/jwtStorageService.js +1 -0
  267. package/lib/module/services/linkedinDOMExtractor.js +1 -0
  268. package/lib/module/services/linkedinProfileService.js +1 -0
  269. package/lib/module/services/linkedinScrapingService.js +1 -0
  270. package/lib/module/services/llmDataStorage.js +1 -0
  271. package/lib/module/services/mobileTrainingService.js +1 -0
  272. package/lib/module/services/oauthService.js +1 -380
  273. package/lib/module/services/pinEncryptionService.js +7 -0
  274. package/lib/module/services/pinStorageUtils.js +1 -0
  275. package/lib/module/services/platformAuthService.js +1 -1041
  276. package/lib/module/services/storageService.js +1 -0
  277. package/lib/module/services/trainingApiHelpers.js +1 -0
  278. package/lib/module/services/userConnectionsService.js +1 -0
  279. package/lib/module/services/youtubeMigrationService.js +1 -0
  280. package/lib/module/theme/index.js +1 -0
  281. package/lib/module/types.js +1 -10
  282. package/lib/module/utils/Portal.js +1 -90
  283. package/lib/module/utils/api.js +1 -117
  284. package/lib/module/utils/assetRegistry.js +33 -0
  285. package/lib/module/utils/auth.js +1 -99
  286. package/lib/module/utils/crypto.js +1 -54
  287. package/lib/module/utils/debugHelper.js +1 -54
  288. package/lib/module/utils/encryption.js +1 -67
  289. package/lib/module/utils/eventUtils.js +1 -0
  290. package/lib/module/utils/haptics.js +8 -0
  291. package/lib/module/utils/imagePreloader.js +1 -0
  292. package/lib/module/utils/networkDiagnostics.js +1 -0
  293. package/lib/module/utils/onairosApi.js +1 -333
  294. package/lib/module/utils/programmaticFlow.js +1 -111
  295. package/lib/module/utils/retryHelper.js +1 -211
  296. package/lib/module/utils/secureStorage.js +6 -330
  297. package/lib/module/utils/webviewScripts/chatgpt.js +1 -0
  298. package/lib/module/utils/webviewScripts/claude.js +1 -0
  299. package/lib/module/utils/webviewScripts/index.js +1 -0
  300. package/lib/module/utils/webviewScripts/linkedin.js +1 -0
  301. package/package.json +62 -39
  302. package/lib/commonjs/api/index.js.map +0 -1
  303. package/lib/commonjs/assets/images/email.png +0 -0
  304. package/lib/commonjs/assets/images/linkedin.png +0 -0
  305. package/lib/commonjs/assets/images/reddit.png +0 -0
  306. package/lib/commonjs/assets/images/youtube.png +0 -0
  307. package/lib/commonjs/components/DataRequestModal.js +0 -228
  308. package/lib/commonjs/components/DataRequestModal.js.map +0 -1
  309. package/lib/commonjs/components/DataRequestScreen.js +0 -329
  310. package/lib/commonjs/components/DataRequestScreen.js.map +0 -1
  311. package/lib/commonjs/components/EmailVerificationModal.js +0 -320
  312. package/lib/commonjs/components/EmailVerificationModal.js.map +0 -1
  313. package/lib/commonjs/components/Onairos.js.map +0 -1
  314. package/lib/commonjs/components/OnairosButton.js.map +0 -1
  315. package/lib/commonjs/components/Overlay.js.map +0 -1
  316. package/lib/commonjs/components/PinInput.js.map +0 -1
  317. package/lib/commonjs/components/PlatformList.js.map +0 -1
  318. package/lib/commonjs/components/TrainingModal.js +0 -717
  319. package/lib/commonjs/components/TrainingModal.js.map +0 -1
  320. package/lib/commonjs/components/UniversalOnboarding.js.map +0 -1
  321. package/lib/commonjs/components/UniversalOnboarding.tsx.new +0 -455
  322. package/lib/commonjs/components/onboarding/OAuthWebView.js.map +0 -1
  323. package/lib/commonjs/components/onboarding/OnboardingHeader.js.map +0 -1
  324. package/lib/commonjs/components/onboarding/PinInput.js.map +0 -1
  325. package/lib/commonjs/components/onboarding/PlatformConnector.js.map +0 -1
  326. package/lib/commonjs/components/screens/ConnectorScreen.js +0 -146
  327. package/lib/commonjs/components/screens/ConnectorScreen.js.map +0 -1
  328. package/lib/commonjs/components/screens/LoadingScreen.js +0 -91
  329. package/lib/commonjs/components/screens/LoadingScreen.js.map +0 -1
  330. package/lib/commonjs/components/screens/PinCreationScreen.js +0 -61
  331. package/lib/commonjs/components/screens/PinCreationScreen.js.map +0 -1
  332. package/lib/commonjs/constants/index.js.map +0 -1
  333. package/lib/commonjs/hooks/useConnections.js.map +0 -1
  334. package/lib/commonjs/hooks/useCredentials.js.map +0 -1
  335. package/lib/commonjs/index.js.map +0 -1
  336. package/lib/commonjs/services/apiKeyService.js.map +0 -1
  337. package/lib/commonjs/services/oauthService.js.map +0 -1
  338. package/lib/commonjs/services/platformAuthService.js.map +0 -1
  339. package/lib/commonjs/types/ambient.d.js.map +0 -1
  340. package/lib/commonjs/types/declarations.d.js.map +0 -1
  341. package/lib/commonjs/types/index.d.js.map +0 -1
  342. package/lib/commonjs/types/index.js.map +0 -1
  343. package/lib/commonjs/types/node-fix.d.js.map +0 -1
  344. package/lib/commonjs/types/node-override.d.js.map +0 -1
  345. package/lib/commonjs/types/opacity.d.js.map +0 -1
  346. package/lib/commonjs/types/types.d.js.map +0 -1
  347. package/lib/commonjs/types.js.map +0 -1
  348. package/lib/commonjs/utils/Portal.js.map +0 -1
  349. package/lib/commonjs/utils/api.js.map +0 -1
  350. package/lib/commonjs/utils/auth.js.map +0 -1
  351. package/lib/commonjs/utils/crypto.js.map +0 -1
  352. package/lib/commonjs/utils/debugHelper.js.map +0 -1
  353. package/lib/commonjs/utils/encryption.js.map +0 -1
  354. package/lib/commonjs/utils/onairosApi.js.map +0 -1
  355. package/lib/commonjs/utils/programmaticFlow.js.map +0 -1
  356. package/lib/commonjs/utils/retryHelper.js.map +0 -1
  357. package/lib/commonjs/utils/secureStorage.js.map +0 -1
  358. package/lib/module/api/index.js.map +0 -1
  359. package/lib/module/assets/images/email.png +0 -0
  360. package/lib/module/assets/images/linkedin.png +0 -0
  361. package/lib/module/assets/images/reddit.png +0 -0
  362. package/lib/module/assets/images/youtube.png +0 -0
  363. package/lib/module/components/DataRequestModal.js +0 -220
  364. package/lib/module/components/DataRequestModal.js.map +0 -1
  365. package/lib/module/components/DataRequestScreen.js +0 -321
  366. package/lib/module/components/DataRequestScreen.js.map +0 -1
  367. package/lib/module/components/EmailVerificationModal.js +0 -311
  368. package/lib/module/components/EmailVerificationModal.js.map +0 -1
  369. package/lib/module/components/Onairos.js.map +0 -1
  370. package/lib/module/components/OnairosButton.js.map +0 -1
  371. package/lib/module/components/Overlay.js.map +0 -1
  372. package/lib/module/components/PinInput.js.map +0 -1
  373. package/lib/module/components/PlatformList.js.map +0 -1
  374. package/lib/module/components/TrainingModal.js +0 -708
  375. package/lib/module/components/TrainingModal.js.map +0 -1
  376. package/lib/module/components/UniversalOnboarding.js.map +0 -1
  377. package/lib/module/components/UniversalOnboarding.tsx.new +0 -455
  378. package/lib/module/components/onboarding/OAuthWebView.js.map +0 -1
  379. package/lib/module/components/onboarding/OnboardingHeader.js.map +0 -1
  380. package/lib/module/components/onboarding/PinInput.js.map +0 -1
  381. package/lib/module/components/onboarding/PlatformConnector.js.map +0 -1
  382. package/lib/module/components/screens/ConnectorScreen.js +0 -138
  383. package/lib/module/components/screens/ConnectorScreen.js.map +0 -1
  384. package/lib/module/components/screens/LoadingScreen.js +0 -83
  385. package/lib/module/components/screens/LoadingScreen.js.map +0 -1
  386. package/lib/module/components/screens/PinCreationScreen.js +0 -53
  387. package/lib/module/components/screens/PinCreationScreen.js.map +0 -1
  388. package/lib/module/constants/index.js.map +0 -1
  389. package/lib/module/hooks/useConnections.js.map +0 -1
  390. package/lib/module/hooks/useCredentials.js.map +0 -1
  391. package/lib/module/index.js.map +0 -1
  392. package/lib/module/services/apiKeyService.js.map +0 -1
  393. package/lib/module/services/oauthService.js.map +0 -1
  394. package/lib/module/services/platformAuthService.js.map +0 -1
  395. package/lib/module/types/ambient.d.js.map +0 -1
  396. package/lib/module/types/declarations.d.js.map +0 -1
  397. package/lib/module/types/index.d.js.map +0 -1
  398. package/lib/module/types/index.js.map +0 -1
  399. package/lib/module/types/node-fix.d.js.map +0 -1
  400. package/lib/module/types/node-override.d.js.map +0 -1
  401. package/lib/module/types/opacity.d.js.map +0 -1
  402. package/lib/module/types/types.d.js.map +0 -1
  403. package/lib/module/types.js.map +0 -1
  404. package/lib/module/utils/Portal.js.map +0 -1
  405. package/lib/module/utils/api.js.map +0 -1
  406. package/lib/module/utils/auth.js.map +0 -1
  407. package/lib/module/utils/crypto.js.map +0 -1
  408. package/lib/module/utils/debugHelper.js.map +0 -1
  409. package/lib/module/utils/encryption.js.map +0 -1
  410. package/lib/module/utils/onairosApi.js.map +0 -1
  411. package/lib/module/utils/programmaticFlow.js.map +0 -1
  412. package/lib/module/utils/retryHelper.js.map +0 -1
  413. package/lib/module/utils/secureStorage.js.map +0 -1
  414. package/lib/typescript/api/index.d.ts +0 -8
  415. package/lib/typescript/api/index.d.ts.map +0 -1
  416. package/lib/typescript/components/DataRequestModal.d.ts +0 -11
  417. package/lib/typescript/components/DataRequestModal.d.ts.map +0 -1
  418. package/lib/typescript/components/DataRequestScreen.d.ts +0 -11
  419. package/lib/typescript/components/DataRequestScreen.d.ts.map +0 -1
  420. package/lib/typescript/components/EmailVerificationModal.d.ts +0 -11
  421. package/lib/typescript/components/EmailVerificationModal.d.ts.map +0 -1
  422. package/lib/typescript/components/Onairos.d.ts +0 -4
  423. package/lib/typescript/components/Onairos.d.ts.map +0 -1
  424. package/lib/typescript/components/OnairosButton.d.ts +0 -12
  425. package/lib/typescript/components/OnairosButton.d.ts.map +0 -1
  426. package/lib/typescript/components/Overlay.d.ts +0 -4
  427. package/lib/typescript/components/Overlay.d.ts.map +0 -1
  428. package/lib/typescript/components/PinInput.d.ts +0 -4
  429. package/lib/typescript/components/PinInput.d.ts.map +0 -1
  430. package/lib/typescript/components/PlatformList.d.ts +0 -4
  431. package/lib/typescript/components/PlatformList.d.ts.map +0 -1
  432. package/lib/typescript/components/TrainingModal.d.ts +0 -4
  433. package/lib/typescript/components/TrainingModal.d.ts.map +0 -1
  434. package/lib/typescript/components/UniversalOnboarding.d.ts +0 -4
  435. package/lib/typescript/components/UniversalOnboarding.d.ts.map +0 -1
  436. package/lib/typescript/components/onboarding/OAuthWebView.d.ts +0 -10
  437. package/lib/typescript/components/onboarding/OAuthWebView.d.ts.map +0 -1
  438. package/lib/typescript/components/onboarding/OnboardingHeader.d.ts +0 -11
  439. package/lib/typescript/components/onboarding/OnboardingHeader.d.ts.map +0 -1
  440. package/lib/typescript/components/onboarding/PinInput.d.ts +0 -4
  441. package/lib/typescript/components/onboarding/PinInput.d.ts.map +0 -1
  442. package/lib/typescript/components/onboarding/PlatformConnector.d.ts +0 -13
  443. package/lib/typescript/components/onboarding/PlatformConnector.d.ts.map +0 -1
  444. package/lib/typescript/components/screens/ConnectorScreen.d.ts +0 -9
  445. package/lib/typescript/components/screens/ConnectorScreen.d.ts.map +0 -1
  446. package/lib/typescript/components/screens/LoadingScreen.d.ts +0 -9
  447. package/lib/typescript/components/screens/LoadingScreen.d.ts.map +0 -1
  448. package/lib/typescript/components/screens/PinCreationScreen.d.ts +0 -10
  449. package/lib/typescript/components/screens/PinCreationScreen.d.ts.map +0 -1
  450. package/lib/typescript/constants/index.d.ts +0 -53
  451. package/lib/typescript/constants/index.d.ts.map +0 -1
  452. package/lib/typescript/hooks/useConnections.d.ts +0 -9
  453. package/lib/typescript/hooks/useConnections.d.ts.map +0 -1
  454. package/lib/typescript/hooks/useCredentials.d.ts +0 -9
  455. package/lib/typescript/hooks/useCredentials.d.ts.map +0 -1
  456. package/lib/typescript/index.d.ts +0 -18
  457. package/lib/typescript/index.d.ts.map +0 -1
  458. package/lib/typescript/services/apiKeyService.d.ts +0 -132
  459. package/lib/typescript/services/apiKeyService.d.ts.map +0 -1
  460. package/lib/typescript/services/oauthService.d.ts +0 -50
  461. package/lib/typescript/services/oauthService.d.ts.map +0 -1
  462. package/lib/typescript/services/platformAuthService.d.ts +0 -144
  463. package/lib/typescript/services/platformAuthService.d.ts.map +0 -1
  464. package/lib/typescript/types/index.d.ts +0 -231
  465. package/lib/typescript/types/index.d.ts.map +0 -1
  466. package/lib/typescript/types.d.ts +0 -270
  467. package/lib/typescript/types.d.ts.map +0 -1
  468. package/lib/typescript/utils/Portal.d.ts +0 -14
  469. package/lib/typescript/utils/Portal.d.ts.map +0 -1
  470. package/lib/typescript/utils/api.d.ts +0 -6
  471. package/lib/typescript/utils/api.d.ts.map +0 -1
  472. package/lib/typescript/utils/auth.d.ts +0 -6
  473. package/lib/typescript/utils/auth.d.ts.map +0 -1
  474. package/lib/typescript/utils/crypto.d.ts +0 -4
  475. package/lib/typescript/utils/crypto.d.ts.map +0 -1
  476. package/lib/typescript/utils/debugHelper.d.ts +0 -29
  477. package/lib/typescript/utils/debugHelper.d.ts.map +0 -1
  478. package/lib/typescript/utils/encryption.d.ts +0 -19
  479. package/lib/typescript/utils/encryption.d.ts.map +0 -1
  480. package/lib/typescript/utils/onairosApi.d.ts +0 -87
  481. package/lib/typescript/utils/onairosApi.d.ts.map +0 -1
  482. package/lib/typescript/utils/programmaticFlow.d.ts +0 -23
  483. package/lib/typescript/utils/programmaticFlow.d.ts.map +0 -1
  484. package/lib/typescript/utils/retryHelper.d.ts +0 -69
  485. package/lib/typescript/utils/retryHelper.d.ts.map +0 -1
  486. package/lib/typescript/utils/secureStorage.d.ts +0 -94
  487. package/lib/typescript/utils/secureStorage.d.ts.map +0 -1
  488. package/src/api/index.ts +0 -111
  489. package/src/assets/images/email.png +0 -0
  490. package/src/assets/images/linkedin.png +0 -0
  491. package/src/assets/images/onairos_logo.png +0 -0
  492. package/src/assets/images/reddit.png +0 -0
  493. package/src/assets/images/youtube.png +0 -0
  494. package/src/components/DataRequestModal.tsx +0 -227
  495. package/src/components/DataRequestScreen.tsx +0 -356
  496. package/src/components/EmailVerificationModal.tsx +0 -364
  497. package/src/components/Onairos.tsx +0 -425
  498. package/src/components/OnairosButton.tsx +0 -359
  499. package/src/components/Overlay.tsx +0 -506
  500. package/src/components/PinInput.tsx +0 -343
  501. package/src/components/PlatformList.tsx +0 -145
  502. package/src/components/TrainingModal.tsx +0 -737
  503. package/src/components/UniversalOnboarding.tsx +0 -1839
  504. package/src/components/UniversalOnboarding.tsx.new +0 -455
  505. package/src/components/onboarding/OAuthWebView.tsx +0 -838
  506. package/src/components/onboarding/OnboardingHeader.tsx +0 -70
  507. package/src/components/onboarding/PinInput.tsx +0 -356
  508. package/src/components/onboarding/PlatformConnector.tsx +0 -302
  509. package/src/components/screens/ConnectorScreen.tsx +0 -153
  510. package/src/components/screens/LoadingScreen.tsx +0 -100
  511. package/src/components/screens/PinCreationScreen.tsx +0 -67
  512. package/src/constants/index.ts +0 -83
  513. package/src/hooks/useConnections.ts +0 -163
  514. package/src/hooks/useCredentials.ts +0 -175
  515. package/src/index.js +0 -14
  516. package/src/index.ts +0 -50
  517. package/src/services/SDK_API_KEY_VALIDATION.md +0 -428
  518. package/src/services/apiKeyService.ts +0 -979
  519. package/src/services/oauthService.ts +0 -412
  520. package/src/services/platformAuthService.ts +0 -1113
  521. package/src/types/ambient.d.ts +0 -29
  522. package/src/types/declarations.d.ts +0 -26
  523. package/src/types/index.d.ts +0 -274
  524. package/src/types/index.ts +0 -244
  525. package/src/types/node-fix.d.ts +0 -19
  526. package/src/types/node-override.d.ts +0 -24
  527. package/src/types/opacity.d.ts +0 -16
  528. package/src/types/types.d.ts +0 -18
  529. package/src/types.ts +0 -298
  530. package/src/utils/Portal.tsx +0 -83
  531. package/src/utils/api.js +0 -112
  532. package/src/utils/auth.js +0 -104
  533. package/src/utils/crypto.js +0 -60
  534. package/src/utils/debugHelper.ts +0 -53
  535. package/src/utils/encryption.ts +0 -69
  536. package/src/utils/onairosApi.ts +0 -391
  537. package/src/utils/programmaticFlow.ts +0 -113
  538. package/src/utils/retryHelper.ts +0 -275
  539. package/src/utils/secureStorage.ts +0 -361
  540. package/types/index.d.ts +0 -218
  541. package/types/node-env.d.ts +0 -15
  542. /package/{src/assets/images → lib/commonjs/assets/icons}/farcaster.png +0 -0
  543. /package/{src/assets/images → lib/commonjs/assets/icons}/instagram.png +0 -0
  544. /package/{src/assets/images → lib/commonjs/assets/icons}/pinterest.png +0 -0
  545. /package/{src/assets/images → lib/commonjs/assets/icons}/swerv_logo.png +0 -0
  546. /package/{src/assets/images → lib/commonjs/assets/icons}/twitter.jpg +0 -0
@@ -1,474 +1 @@
1
- import React, { useState, useEffect, useCallback, useRef } from 'react';
2
- import { View, Text, StyleSheet, TouchableOpacity, ScrollView, Alert, Platform, Dimensions, Modal, Animated, TouchableWithoutFeedback, SafeAreaView, Image, Switch } from 'react-native';
3
- import Icon from 'react-native-vector-icons/MaterialIcons';
4
- import { onairosApi } from '../api';
5
- import { encryptModelKey } from '../utils/encryption';
6
- const {
7
- width: SCREEN_WIDTH,
8
- height: SCREEN_HEIGHT
9
- } = Dimensions.get('window');
10
- export const Overlay = ({
11
- data,
12
- username,
13
- modelKey,
14
- onResolved,
15
- appName = 'Your App',
16
- darkMode = false,
17
- platforms = [{
18
- id: 'instagram',
19
- name: 'Instagram',
20
- icon: require('../assets/images/instagram.png')
21
- }, {
22
- id: 'youtube',
23
- name: 'YouTube',
24
- icon: require('../assets/images/youtube.png')
25
- }, {
26
- id: 'reddit',
27
- name: 'Reddit',
28
- icon: require('../assets/images/reddit.png')
29
- }, {
30
- id: 'pinterest',
31
- name: 'Pinterest',
32
- icon: require('../assets/images/pinterest.png')
33
- }, {
34
- id: 'email',
35
- name: 'Email',
36
- icon: require('../assets/images/email.png')
37
- }]
38
- }) => {
39
- const [selections, setSelections] = useState({});
40
- const [details, setDetails] = useState('');
41
- const [visible, setVisible] = useState(true);
42
- const [platformToggles, setPlatformToggles] = useState({});
43
- const bottomSheetAnim = useRef(new Animated.Value(0)).current;
44
-
45
- // Initialize selection state on mount
46
- useEffect(() => {
47
- // Initialize selection state
48
- const initialSelections = {};
49
- Object.keys(data).forEach(key => {
50
- initialSelections[key] = false;
51
- });
52
- setSelections(initialSelections);
53
-
54
- // Initialize platform toggles
55
- const initialToggles = {};
56
- platforms.forEach(platform => {
57
- initialToggles[platform.id] = false;
58
- });
59
- setPlatformToggles(initialToggles);
60
- getDetails();
61
-
62
- // Animate the bottom sheet sliding up
63
- Animated.spring(bottomSheetAnim, {
64
- toValue: 1,
65
- useNativeDriver: true,
66
- bounciness: 0
67
- }).start();
68
- }, []);
69
- const getDetails = async () => {
70
- try {
71
- // In Expo or development, use mock data
72
- if (__DEV__) {
73
- setDetails('Development mode - mock account info');
74
- return;
75
- }
76
- const response = await onairosApi.post('getAccountInfo', {
77
- Info: {
78
- username: username
79
- }
80
- });
81
- // Handle response data properly based on API structure
82
- if (response && response.data) {
83
- const accountInfo = typeof response.data === 'object' && response.data.AccountInfo ? response.data.AccountInfo : `User: ${username}`;
84
- setDetails(accountInfo);
85
- } else {
86
- setDetails(`User: ${username}`);
87
- }
88
- } catch (e) {
89
- console.error('Error getting account info:', e);
90
- setDetails(`User: ${username}`);
91
- }
92
- };
93
- const closeOverlay = useCallback(() => {
94
- // Animate the overlay sliding down
95
- Animated.timing(bottomSheetAnim, {
96
- toValue: 0,
97
- duration: 250,
98
- useNativeDriver: true
99
- }).start(() => {
100
- setVisible(false);
101
- });
102
- }, [bottomSheetAnim]);
103
- const togglePlatform = useCallback(platformId => {
104
- setPlatformToggles(prev => ({
105
- ...prev,
106
- [platformId]: !prev[platformId]
107
- }));
108
- }, []);
109
- const confirmSelection = useCallback(async () => {
110
- try {
111
- // Mock app identifier
112
- const appId = Platform.select({
113
- ios: 'com.onairos.mock',
114
- android: 'com.onairos.mock',
115
- default: 'unknown'
116
- });
117
-
118
- // In development mode, use mock data
119
- if (__DEV__) {
120
- onResolved('https://api2.onairos.uk', 'mock-token', {
121
- username,
122
- selections,
123
- platforms: platformToggles
124
- });
125
- closeOverlay();
126
- return;
127
- }
128
-
129
- // Get server public key for encryption
130
- let serverPublicKey = 'mock-key';
131
- try {
132
- const keyResponse = await onairosApi.get('public/key');
133
- if (keyResponse && keyResponse.data && typeof keyResponse.data === 'object') {
134
- serverPublicKey = keyResponse.data.publicKey || 'mock-key';
135
- }
136
- } catch (e) {
137
- console.error('Error getting server public key:', e);
138
- }
139
-
140
- // Encrypt the model key - only if the function exists and server key is valid
141
- let encryptedModelKey = modelKey;
142
- if (typeof encryptModelKey === 'function' && serverPublicKey) {
143
- try {
144
- encryptedModelKey = encryptModelKey(serverPublicKey, modelKey);
145
- } catch (e) {
146
- console.error('Error encrypting model key:', e);
147
- }
148
- }
149
- const response = await onairosApi.post('getAPIUrlMobile', {
150
- Info: {
151
- storage: 'local',
152
- appId: appId,
153
- confirmations: selections,
154
- developerURL: 'devURL',
155
- EncryptedUserPin: encryptedModelKey,
156
- username: username,
157
- platforms: platformToggles
158
- }
159
- });
160
- if (response && response.data && response.data.APIUrl && response.data.token) {
161
- onResolved(response.data.APIUrl, response.data.token, {
162
- username,
163
- selections,
164
- platforms: platformToggles
165
- });
166
- closeOverlay();
167
- } else {
168
- // If response doesn't have expected format, use fallbacks
169
- onResolved('https://api2.onairos.uk', 'fallback-token', {
170
- username,
171
- selections,
172
- platforms: platformToggles
173
- });
174
- closeOverlay();
175
- }
176
- } catch (e) {
177
- console.error('Error confirming selection:', e);
178
- // In case of error, provide fallback (development mode)
179
- if (__DEV__) {
180
- onResolved('https://api2.onairos.uk', 'error-fallback-token', {
181
- username,
182
- selections,
183
- platforms: platformToggles,
184
- error: true
185
- });
186
- closeOverlay();
187
- } else {
188
- showErrorModal('Failed to confirm selection. Please try again.');
189
- }
190
- }
191
- }, [selections, username, modelKey, onResolved, closeOverlay, platformToggles]);
192
- const showErrorModal = errorMessage => {
193
- Alert.alert('Error', errorMessage, [{
194
- text: 'OK'
195
- }]);
196
- };
197
- return /*#__PURE__*/React.createElement(Modal, {
198
- visible: visible,
199
- transparent: true,
200
- animationType: "none",
201
- statusBarTranslucent: true,
202
- onRequestClose: closeOverlay
203
- }, /*#__PURE__*/React.createElement(TouchableOpacity, {
204
- style: styles.modalOverlay,
205
- activeOpacity: 1,
206
- onPress: closeOverlay
207
- }, /*#__PURE__*/React.createElement(TouchableWithoutFeedback, {
208
- onPress: e => e.stopPropagation()
209
- }, /*#__PURE__*/React.createElement(Animated.View, {
210
- style: [styles.bottomSheet, darkMode && styles.darkContainer, {
211
- transform: [{
212
- translateY: bottomSheetAnim.interpolate({
213
- inputRange: [0, 1],
214
- outputRange: [SCREEN_HEIGHT, 0]
215
- })
216
- }]
217
- }]
218
- }, /*#__PURE__*/React.createElement(View, {
219
- style: styles.handleContainer
220
- }, /*#__PURE__*/React.createElement(View, {
221
- style: [styles.handle, darkMode && styles.darkHandle]
222
- })), /*#__PURE__*/React.createElement(SafeAreaView, {
223
- style: [styles.container, darkMode && styles.darkContainer]
224
- }, /*#__PURE__*/React.createElement(View, {
225
- style: [styles.header, darkMode && styles.darkHeader]
226
- }, /*#__PURE__*/React.createElement(View, {
227
- style: styles.headerContent
228
- }, /*#__PURE__*/React.createElement(View, {
229
- style: [styles.appIcon, darkMode && styles.darkAppIcon]
230
- }, /*#__PURE__*/React.createElement(Text, {
231
- style: [styles.appIconText, darkMode && styles.darkText]
232
- }, appName.charAt(0))), /*#__PURE__*/React.createElement(Icon, {
233
- name: "arrow_forward",
234
- size: 24,
235
- color: darkMode ? '#999' : '#666',
236
- style: styles.arrow
237
- }), /*#__PURE__*/React.createElement(View, {
238
- style: [styles.onairosIcon, darkMode && styles.darkOnairosIcon]
239
- }, /*#__PURE__*/React.createElement(Text, {
240
- style: [styles.onairosIconText, darkMode && styles.darkText]
241
- }, "O")))), /*#__PURE__*/React.createElement(ScrollView, {
242
- style: styles.content
243
- }, /*#__PURE__*/React.createElement(View, {
244
- style: styles.titleContainer
245
- }, /*#__PURE__*/React.createElement(Text, {
246
- style: [styles.mainTitle, darkMode && styles.darkText]
247
- }, "Connect your data to create a Persona of you, to connect to Cosmos"), /*#__PURE__*/React.createElement(Text, {
248
- style: [styles.privacyMessage, darkMode && styles.darkSubText]
249
- }, "None of your app data is shared with ANYONE")), /*#__PURE__*/React.createElement(View, {
250
- style: styles.platformsContainer
251
- }, platforms.map(platform => /*#__PURE__*/React.createElement(View, {
252
- key: platform.id,
253
- style: [styles.platformItem, darkMode && styles.darkPlatformItem]
254
- }, /*#__PURE__*/React.createElement(View, {
255
- style: styles.platformInfo
256
- }, /*#__PURE__*/React.createElement(Image, {
257
- source: platform.icon,
258
- style: styles.platformIcon,
259
- resizeMode: "contain"
260
- }), /*#__PURE__*/React.createElement(Text, {
261
- style: [styles.platformName, darkMode && styles.darkText]
262
- }, platform.name)), /*#__PURE__*/React.createElement(Switch, {
263
- value: platformToggles[platform.id],
264
- onValueChange: () => togglePlatform(platform.id),
265
- trackColor: {
266
- false: '#767577',
267
- true: '#81b0ff'
268
- },
269
- thumbColor: platformToggles[platform.id] ? '#2196F3' : '#f4f3f4'
270
- }))))), /*#__PURE__*/React.createElement(View, {
271
- style: [styles.footer, darkMode && styles.darkFooter]
272
- }, /*#__PURE__*/React.createElement(TouchableOpacity, {
273
- style: styles.footerButtonCancel,
274
- onPress: closeOverlay
275
- }, /*#__PURE__*/React.createElement(Text, {
276
- style: [styles.footerButtonText, darkMode && styles.darkSubText]
277
- }, "Cancel")), /*#__PURE__*/React.createElement(TouchableOpacity, {
278
- style: [styles.footerButtonConfirm, darkMode && styles.darkFooterButtonConfirm],
279
- onPress: confirmSelection
280
- }, /*#__PURE__*/React.createElement(Text, {
281
- style: [styles.footerButtonTextConfirm, darkMode && {
282
- color: '#000'
283
- }]
284
- }, "Connect"))))))));
285
- };
286
- const styles = StyleSheet.create({
287
- modalOverlay: {
288
- flex: 1,
289
- backgroundColor: 'rgba(0, 0, 0, 0.5)',
290
- justifyContent: 'flex-end'
291
- },
292
- bottomSheet: {
293
- backgroundColor: '#fff',
294
- borderTopLeftRadius: 24,
295
- borderTopRightRadius: 24,
296
- width: SCREEN_WIDTH,
297
- height: SCREEN_HEIGHT * 0.8,
298
- overflow: 'hidden'
299
- },
300
- handleContainer: {
301
- width: '100%',
302
- alignItems: 'center',
303
- paddingTop: 12,
304
- paddingBottom: 8
305
- },
306
- handle: {
307
- width: 40,
308
- height: 5,
309
- borderRadius: 3,
310
- backgroundColor: '#E0E0E0'
311
- },
312
- darkHandle: {
313
- backgroundColor: '#666'
314
- },
315
- container: {
316
- flex: 1,
317
- backgroundColor: '#fff'
318
- },
319
- darkContainer: {
320
- backgroundColor: '#1A1A1A'
321
- },
322
- header: {
323
- padding: 24,
324
- alignItems: 'center'
325
- },
326
- darkHeader: {
327
- backgroundColor: '#1A1A1A'
328
- },
329
- headerContent: {
330
- flexDirection: 'row',
331
- alignItems: 'center',
332
- justifyContent: 'center',
333
- marginBottom: 16
334
- },
335
- appIcon: {
336
- width: 48,
337
- height: 48,
338
- borderRadius: 16,
339
- backgroundColor: '#F5F5F5',
340
- alignItems: 'center',
341
- justifyContent: 'center'
342
- },
343
- darkAppIcon: {
344
- backgroundColor: '#2A2A2A'
345
- },
346
- appIconText: {
347
- fontSize: 24,
348
- color: '#000'
349
- },
350
- darkText: {
351
- color: '#fff'
352
- },
353
- arrow: {
354
- marginHorizontal: 16
355
- },
356
- onairosIcon: {
357
- width: 48,
358
- height: 48,
359
- borderRadius: 16,
360
- backgroundColor: '#F5F5F5',
361
- alignItems: 'center',
362
- justifyContent: 'center'
363
- },
364
- darkOnairosIcon: {
365
- backgroundColor: '#2A2A2A'
366
- },
367
- onairosIconText: {
368
- fontSize: 24,
369
- color: '#000'
370
- },
371
- darkSubText: {
372
- color: '#999'
373
- },
374
- titleContainer: {
375
- marginBottom: 30
376
- },
377
- mainTitle: {
378
- fontSize: 22,
379
- fontWeight: '600',
380
- color: '#000',
381
- textAlign: 'center',
382
- marginBottom: 16
383
- },
384
- privacyMessage: {
385
- fontSize: 14,
386
- color: '#666',
387
- textAlign: 'center',
388
- marginBottom: 16
389
- },
390
- content: {
391
- flex: 1,
392
- paddingHorizontal: 24
393
- },
394
- platformsContainer: {
395
- marginTop: 16
396
- },
397
- platformItem: {
398
- flexDirection: 'row',
399
- justifyContent: 'space-between',
400
- alignItems: 'center',
401
- padding: 16,
402
- backgroundColor: '#fff',
403
- borderRadius: 16,
404
- marginBottom: 16,
405
- borderWidth: 1,
406
- borderColor: '#eee'
407
- },
408
- darkPlatformItem: {
409
- backgroundColor: '#2A2A2A',
410
- borderColor: '#333'
411
- },
412
- platformInfo: {
413
- flexDirection: 'row',
414
- alignItems: 'center'
415
- },
416
- platformIcon: {
417
- width: 32,
418
- height: 32,
419
- marginRight: 12
420
- },
421
- platformName: {
422
- fontSize: 16,
423
- fontWeight: '500',
424
- color: '#000'
425
- },
426
- footer: {
427
- flexDirection: 'row',
428
- alignItems: 'center',
429
- justifyContent: 'space-between',
430
- padding: 24,
431
- borderTopWidth: 1,
432
- borderTopColor: '#eee',
433
- backgroundColor: '#fff'
434
- },
435
- darkFooter: {
436
- backgroundColor: '#2A2A2A',
437
- borderTopColor: '#333'
438
- },
439
- footerButtonCancel: {
440
- paddingVertical: 8,
441
- paddingHorizontal: 16
442
- },
443
- darkFooterButton: {
444
- backgroundColor: 'transparent'
445
- },
446
- footerButtonConfirm: {
447
- paddingVertical: 16,
448
- paddingHorizontal: 32,
449
- borderRadius: 16,
450
- backgroundColor: '#fff',
451
- borderWidth: 1,
452
- borderColor: '#000'
453
- },
454
- darkFooterButtonConfirm: {
455
- backgroundColor: '#fff',
456
- borderColor: '#fff'
457
- },
458
- footerButtonText: {
459
- color: '#666',
460
- fontSize: 16
461
- },
462
- footerButtonTextConfirm: {
463
- color: '#000',
464
- fontSize: 16,
465
- fontWeight: '600'
466
- },
467
- lightBackground: {
468
- backgroundColor: '#fff'
469
- },
470
- darkBackground: {
471
- backgroundColor: '#1A1A1A'
472
- }
473
- });
474
- //# sourceMappingURL=Overlay.js.map
1
+ import React,{useState,useEffect,useCallback,useRef}from'react';import{View,Text,StyleSheet,TouchableOpacity,ScrollView,Alert,Platform,Dimensions,Modal,Animated,TouchableWithoutFeedback,SafeAreaView,Image,Switch}from'react-native';import _0x126595 from'react-native-vector-icons/MaterialIcons';function _0x23d9(){const _0x1e9d1c=['window','Error\x20confirming\x20selection:','jqXog','object','error-fallback-token','BXXlC','VHrvx','PIiCM','Development\x20mode\x20-\x20mock\x20account\x20info','hVbld','MwQdy','zxhyX','Qkdkj','Error\x20getting\x20server\x20public\x20key:','uNHVc','Error\x20encrypting\x20model\x20key:','com.onairos.mock','mock-key','public/key','gHmjI','FKDey','YgDQx','pGthW','sqCfx','Failed\x20to\x20confirm\x20selection.\x20Please\x20try\x20again.','qDwLX','Error','none','arrow_forward','#666','Connect\x20your\x20data\x20to\x20create\x20a\x20Persona\x20of\x20you,\x20to\x20connect\x20to\x20Cosmos','None\x20of\x20your\x20app\x20data\x20is\x20shared\x20with\x20ANYONE','#000','Connect','XHtZy','IMDJo','current','WLOqj','pRfuw','XxAdS','keys','WSdss','AUszl','fwvgZ','mEtkL','Ptzva','forEach','bfELL','spring','start','npoUp','gtlQc','BASE_URL','mXJsk','HlcQW','GUdpb','ELQqs','bIoaz','HqfRh','KohQG','timing','KmeXl','pLqLv','SZbSI','mGKXv','FGlIy','uuBlF','LLBTP','post','data','QrTUk','zPWDX','AccountInfo','User:\x20','NtUMn','cNvcz','NpMqo','ATmRy','JPpgN','jZlEW','HIHLc','dmQHv','wWVIZ','GBvPR','gViYD','klSVW','KFSwt','QEGpr','error','oNPtq','PTSLh','kBZRI','wLlRz','ApnIZ','BBcJY','WZfYC','mxxvK','UqSfS','select','qbnXA','Xtlfo','rwEaG','SuaRp','mock-token','get','nqbmK','publicKey','ESDdB','function','SbtpV','devURL','bPGqD','pgmsd','APIUrl','token','OYBxl','AIcpZ','iQIXQ','VnaNp','aduPs','vqhnf','alert','lyXrz','createElement','npoRY','stopPropagation','View','bottomSheet','darkContainer','interpolate','handleContainer','handle','darkHandle','container','header','darkHeader','appIcon','darkAppIcon','appIconText','darkText','charAt','efvan','aZXMc','TzxxO','darkOnairosIcon','titleContainer','mainTitle','privacyMessage','darkSubText','platformsContainer','map','platformItem','darkPlatformItem','platformInfo','icon','platformIcon','platformName','name','#767577','#81b0ff','#2196F3','#f4f3f4','footer','darkFooter','footerButtonText','Cancel','footerButtonConfirm','darkFooterButtonConfirm','footerButtonTextConfirm','wUmDC','rkXQB','create','rgba(0,\x200,\x200,\x200.5)','flex-end','#fff','hidden','100%','#E0E0E0','#1A1A1A','center','row','#F5F5F5','#2A2A2A','#999','600','space-between','#333','500','#eee','transparent'];_0x23d9=function(){return _0x1e9d1c;};return _0x23d9();}import{onairosApi}from'../api';import{encryptModelKey}from'../utils/encryption';import{OVERLAY_PLATFORMS}from'../utils/assetRegistry';const {width:SCREEN_WIDTH,height:SCREEN_HEIGHT}=Dimensions['get'](_0x4b15(0x0));function _0x4b15(_0x23d9ee,_0x4b1581){_0x23d9ee=_0x23d9ee-0x0;const _0x44c8f8=_0x23d9();let _0x356a37=_0x44c8f8[_0x23d9ee];return _0x356a37;}import{API_CONFIG}from'../config/api';export const Overlay=({data:_0x278b72,username:_0x28bd96,modelKey:_0x94f6bc,onResolved:_0x138c3e,appName:appName='Your\x20App',darkMode:darkMode=![],platforms:platforms=OVERLAY_PLATFORMS})=>{const _0x1a34ff={'npoUp':_0x4b15(0x1),'gtlQc':function(_0x504492,_0x2abd77,_0x4b0fd7,_0x4e2f3f){return _0x504492(_0x2abd77,_0x4b0fd7,_0x4e2f3f);},'mXJsk':function(_0x1f4c1b){return _0x1f4c1b();},'HlcQW':function(_0x3f5dcb,_0x46a41f){return _0x3f5dcb(_0x46a41f);},'WLOqj':function(_0x4bb5ac,_0x3f54b7){return _0x4bb5ac===_0x3f54b7;},'pRfuw':function(_0x2156e7,_0x5a5449){return _0x2156e7!==_0x5a5449;},'YQNSK':_0x4b15(0x2),'Ptzva':function(_0x4cb8cc,_0x492dd6){return _0x4cb8cc(_0x492dd6);},'bfELL':function(_0x438a36){return _0x438a36();},'JPpgN':_0x4b15(0x3),'NtUMn':function(_0x2993d5,_0x4b5854){return _0x2993d5(_0x4b5854);},'XHtZy':function(_0x5c0038,_0x34bfd9){return _0x5c0038(_0x34bfd9);},'GUdpb':'fallback-token','ELQqs':function(_0x20be56){return _0x20be56();},'bIoaz':_0x4b15(0x4),'HqfRh':_0x4b15(0x5),'pLqLv':function(_0x1c6282,_0x1c800f){return _0x1c6282!==_0x1c800f;},'zDWmp':_0x4b15(0x6),'SZbSI':_0x4b15(0x7),'flmif':function(_0x591135,_0x21da88){return _0x591135(_0x21da88);},'mGKXv':_0x4b15(0x8),'zPWDX':_0x4b15(0x9),'cNvcz':function(_0x135d38,_0x58560f){return _0x135d38!==_0x58560f;},'Wnrwc':_0x4b15(0xa),'NpMqo':_0x4b15(0xb),'ATmRy':function(_0x13eb5b,_0xa2ec32){return _0x13eb5b(_0xa2ec32);},'jZlEW':'Error\x20getting\x20account\x20info:','BBcJY':function(_0x12b501,_0x1a97e4){return _0x12b501(_0x1a97e4);},'HIHLc':function(_0x5ba4b3,_0x29ea1b){return _0x5ba4b3===_0x29ea1b;},'dmQHv':_0x4b15(0xc),'ljYnc':function(_0x572c9d,_0x32a507){return _0x572c9d(_0x32a507);},'wWVIZ':_0x4b15(0xd),'IRzJq':'dUchH','GBvPR':'TSAtQ','kBZRI':function(_0x56a6be,_0x53e94c){return _0x56a6be===_0x53e94c;},'wLlRz':_0x4b15(0xe),'ApnIZ':function(_0x235616,_0x344d11){return _0x235616(_0x344d11);},'WZfYC':function(_0x1f73b1,_0xd2996c,_0x3119f0){return _0x1f73b1(_0xd2996c,_0x3119f0);},'VnaNp':function(_0x54f13d){return _0x54f13d();},'mxxvK':function(_0x2a9e22,_0x111e1e){return _0x2a9e22(_0x111e1e);},'PTSLh':function(_0x3dc984,_0x2c2436,_0x49db36){return _0x3dc984(_0x2c2436,_0x49db36);},'UqSfS':_0x4b15(0xf),'qbnXA':_0x4b15(0x10),'Xtlfo':'unknown','RDqzT':'rwEaG','SuaRp':function(_0x2a9576,_0x1f25d9,_0x1b5bb7,_0x1aa085){return _0x2a9576(_0x1f25d9,_0x1b5bb7,_0x1aa085);},'ESDdB':_0x4b15(0x11),'nqbmK':_0x4b15(0x12),'kKyDg':function(_0x1cd2b6,_0xc450db){return _0x1cd2b6===_0xc450db;},'SbtpV':_0x4b15(0x13),'pgmsd':'bPGqD','WKKVk':_0x4b15(0x14),'kgRkp':_0x4b15(0x15),'iQIXQ':function(_0x3ee37a){return _0x3ee37a();},'sIHDM':_0x4b15(0x16),'TbGkf':_0x4b15(0x17),'aduPs':_0x4b15(0x18),'vqhnf':_0x4b15(0x19),'lyXrz':_0x4b15(0x1a),'PFuJZ':function(_0x3430ed,_0x57e087){return _0x3430ed(_0x57e087);},'IMDJo':function(_0x586d00,_0x6915ec){return _0x586d00(_0x6915ec);},'npoRY':_0x4b15(0x1b),'efvan':_0x4b15(0x1c),'aZXMc':'#999','TzxxO':_0x4b15(0x1d),'pLHrg':_0x4b15(0x1e),'sSkFm':_0x4b15(0x1f),'wUmDC':function(_0xacdcce,_0x4936c3){return _0xacdcce&&_0x4936c3;},'rkXQB':_0x4b15(0x20),'oYEVk':_0x4b15(0x21)},[_0x2d3ef4,_0x2a5a3b]=useState({}),[_0x1b852a,_0x48d68b]=_0x1a34ff[_0x4b15(0x22)](useState,''),[_0x4c9a64,_0x2f817b]=useState(!![]),[_0x269bfc,_0x1cbf76]=_0x1a34ff['PFuJZ'](useState,{}),_0xb7d988=_0x1a34ff[_0x4b15(0x23)](useRef,new Animated['Value'](0x0))[_0x4b15(0x24)];_0x1a34ff['WZfYC'](useEffect,()=>{const _0xe93ea7={'WSdss':_0x4b15(0x8),'VrXHO':function(_0x1fdfa6,_0x265013){return _0x1a34ff[_0x4b15(0x25)](_0x1fdfa6,_0x265013);},'AUszl':'GMraZ'};if(_0x1a34ff[_0x4b15(0x26)](_0x1a34ff['YQNSK'],_0x4b15(0x27))){const _0x47d3b0={};Object[_0x4b15(0x28)](_0x278b72)['forEach'](_0x2acc14=>{const _0x428a38={'fwvgZ':function(_0x1fb052,_0x12bdce){return _0x1fb052(_0x12bdce);},'mEtkL':_0xe93ea7[_0x4b15(0x29)]};if(_0xe93ea7['VrXHO'](_0xe93ea7[_0x4b15(0x2a)],_0xe93ea7[_0x4b15(0x2a)]))_0x47d3b0[_0x2acc14]=![];else{_0x428a38[_0x4b15(0x2b)](_0x457c57,_0x428a38[_0x4b15(0x2c)]);return;}}),_0x1a34ff[_0x4b15(0x2d)](_0x2a5a3b,_0x47d3b0);const _0x35e93a={};platforms[_0x4b15(0x2e)](_0x4e449b=>{_0x35e93a[_0x4e449b['id']]=![];}),_0x1cbf76(_0x35e93a),_0x1a34ff[_0x4b15(0x2f)](_0x437fb2),Animated[_0x4b15(0x30)](_0xb7d988,{'toValue':0x1,'useNativeDriver':!![],'bounciness':0x0})[_0x4b15(0x31)]();}else _0x2be232['error'](_0x1a34ff[_0x4b15(0x32)],_0x180c35),_0x50fba6?(_0x1a34ff[_0x4b15(0x33)](_0x587181,''+_0x29df25[_0x4b15(0x34)],'error-fallback-token',{'username':_0x866ef7,'selections':_0xd3d4a7,'platforms':_0x1eeae3,'error':!![]}),_0x1a34ff[_0x4b15(0x35)](_0x5797c0)):_0x1a34ff[_0x4b15(0x36)](_0x551667,_0x4b15(0x18));},[]);const _0x437fb2=async()=>{const _0x45c4a0={'KohQG':function(_0x216701,_0x2cbac4){return _0x1a34ff[_0x4b15(0x22)](_0x216701,_0x2cbac4);},'FGlIy':function(_0x5d3f4d,_0x5e5960,_0x2f6edf,_0x5abf3f){return _0x1a34ff[_0x4b15(0x33)](_0x5d3f4d,_0x5e5960,_0x2f6edf,_0x5abf3f);},'uuBlF':_0x1a34ff[_0x4b15(0x37)],'LLBTP':function(_0x30bbdb){return _0x1a34ff[_0x4b15(0x38)](_0x30bbdb);},'CzRCm':function(_0x5381c7,_0x280e8c,_0x21932e,_0x39fef6){return _0x5381c7(_0x280e8c,_0x21932e,_0x39fef6);},'FrrbJ':_0x1a34ff[_0x4b15(0x39)]};if(_0x1a34ff[_0x4b15(0x3a)]!==_0x1a34ff[_0x4b15(0x3a)]){const _0xfe3c2e={'KmeXl':function(_0x598577,_0x463cbd){return _0x45c4a0[_0x4b15(0x3b)](_0x598577,_0x463cbd);}};Animated[_0x4b15(0x3c)](_0x5347af,{'toValue':0x0,'duration':0xfa,'useNativeDriver':!![]})[_0x4b15(0x31)](()=>{_0xfe3c2e[_0x4b15(0x3d)](_0x2ccec9,![]);});}else try{if(__DEV__){if(_0x1a34ff[_0x4b15(0x3e)](_0x1a34ff['zDWmp'],_0x1a34ff[_0x4b15(0x3f)])){_0x1a34ff['flmif'](_0x48d68b,_0x1a34ff[_0x4b15(0x40)]);return;}else _0x45c4a0[_0x4b15(0x41)](_0x525281,''+_0x149ec3[_0x4b15(0x34)],_0x45c4a0[_0x4b15(0x42)],{'username':_0x10edd8,'selections':_0x38b8f2,'platforms':_0x2504e6}),_0x45c4a0[_0x4b15(0x43)](_0x138f7e);}const _0x1996e9=await onairosApi[_0x4b15(0x44)]('getAccountInfo',{'Info':{'username':_0x28bd96}});if(_0x1996e9&&_0x1996e9[_0x4b15(0x45)]){if(_0x1a34ff[_0x4b15(0x3e)](_0x4b15(0x46),_0x1a34ff[_0x4b15(0x47)])){const _0xbd151a=typeof _0x1996e9[_0x4b15(0x45)]===_0x1a34ff['JPpgN']&&_0x1996e9[_0x4b15(0x45)][_0x4b15(0x48)]?_0x1996e9[_0x4b15(0x45)][_0x4b15(0x48)]:_0x4b15(0x49)+_0x28bd96;_0x1a34ff[_0x4b15(0x4a)](_0x48d68b,_0xbd151a);}else _0x45c4a0['CzRCm'](_0x1b295e,''+_0x3c89a5[_0x4b15(0x34)],_0x45c4a0['FrrbJ'],{'username':_0x59e843,'selections':_0x2bdfed,'platforms':_0x48f6a4,'error':!![]}),_0x43f3e3();}else{if(_0x1a34ff[_0x4b15(0x4b)](_0x1a34ff['Wnrwc'],_0x1a34ff[_0x4b15(0x4c)]))_0x1a34ff[_0x4b15(0x4d)](_0x48d68b,'User:\x20'+_0x28bd96);else{const _0x17c6d=_0x1a34ff[_0x4b15(0x25)](typeof _0x4eccc9[_0x4b15(0x45)],_0x1a34ff[_0x4b15(0x4e)])&&_0x4b3af7[_0x4b15(0x45)]['AccountInfo']?_0x2897bc[_0x4b15(0x45)][_0x4b15(0x48)]:'User:\x20'+_0x40985c;_0x1a34ff['NtUMn'](_0x44fc44,_0x17c6d);}}}catch(_0x5990e0){console['error'](_0x1a34ff[_0x4b15(0x4f)],_0x5990e0),_0x1a34ff['BBcJY'](_0x48d68b,_0x4b15(0x49)+_0x28bd96);}},_0x39878e=_0x1a34ff['WZfYC'](useCallback,()=>{const _0x298aa5={'gViYD':function(_0x3fb46c,_0x58dc59){return _0x1a34ff[_0x4b15(0x50)](_0x3fb46c,_0x58dc59);},'klSVW':_0x1a34ff[_0x4b15(0x51)],'QEGpr':function(_0x55228e,_0x7a0a88){return _0x1a34ff['ljYnc'](_0x55228e,_0x7a0a88);},'oNPtq':_0x1a34ff[_0x4b15(0x52)]};_0x1a34ff['IRzJq']!==_0x1a34ff[_0x4b15(0x53)]?Animated[_0x4b15(0x3c)](_0xb7d988,{'toValue':0x0,'duration':0xfa,'useNativeDriver':!![]})[_0x4b15(0x31)](()=>{_0x298aa5[_0x4b15(0x54)](_0x298aa5[_0x4b15(0x55)],_0x4b15(0x56))?_0xa96ec8[_0xdbcb50['id']]=![]:_0x298aa5[_0x4b15(0x57)](_0x2f817b,![]);}):_0x20363b[_0x4b15(0x58)](_0x298aa5[_0x4b15(0x59)],_0x1fb402);},[_0xb7d988]),_0x5b4728=_0x1a34ff[_0x4b15(0x5a)](useCallback,_0x5504f4=>{_0x1a34ff[_0x4b15(0x5b)](_0x1a34ff[_0x4b15(0x5c)],_0x1a34ff[_0x4b15(0x5c)])?_0x1a34ff[_0x4b15(0x5d)](_0x1cbf76,_0x105af2=>({..._0x105af2,[_0x5504f4]:!_0x105af2[_0x5504f4]})):_0x1a34ff[_0x4b15(0x5e)](_0x2fe5ff,![]);},[]),_0x1c4725=_0x1a34ff[_0x4b15(0x5f)](useCallback,async()=>{const _0x2eeee3={'OYBxl':function(_0x15cb57,_0x2fad44){return _0x1a34ff[_0x4b15(0x60)](_0x15cb57,_0x2fad44);},'CzHue':function(_0x2877cc,_0x34f4b,_0x2d6685){return _0x1a34ff['PTSLh'](_0x2877cc,_0x34f4b,_0x2d6685);},'AIcpZ':_0x1a34ff[_0x4b15(0x61)]};try{const _0x47c07b=Platform[_0x4b15(0x62)]({'ios':_0x1a34ff[_0x4b15(0x63)],'android':_0x1a34ff[_0x4b15(0x63)],'default':_0x1a34ff[_0x4b15(0x64)]});if(__DEV__){if(_0x1a34ff[_0x4b15(0x3e)](_0x4b15(0x65),_0x1a34ff['RDqzT']))_0x336d72[_0x461805]=![];else{_0x1a34ff[_0x4b15(0x66)](_0x138c3e,''+API_CONFIG[_0x4b15(0x34)],_0x4b15(0x67),{'username':_0x28bd96,'selections':_0x2d3ef4,'platforms':_0x269bfc}),_0x1a34ff[_0x4b15(0x38)](_0x39878e);return;}}let _0x33b418=_0x1a34ff['ESDdB'];try{const _0x3c8442=await onairosApi[_0x4b15(0x68)](_0x1a34ff[_0x4b15(0x69)]);_0x3c8442&&_0x3c8442[_0x4b15(0x45)]&&_0x1a34ff['kKyDg'](typeof _0x3c8442[_0x4b15(0x45)],_0x1a34ff[_0x4b15(0x4e)])&&(_0x33b418=_0x3c8442[_0x4b15(0x45)][_0x4b15(0x6a)]||_0x1a34ff[_0x4b15(0x6b)]);}catch(_0xa45e73){console[_0x4b15(0x58)]('Error\x20getting\x20server\x20public\x20key:',_0xa45e73);}let _0x15dff9=_0x94f6bc;if(typeof encryptModelKey===_0x4b15(0x6c)&&_0x33b418)try{_0x15dff9=_0x1a34ff['WZfYC'](encryptModelKey,_0x33b418,_0x94f6bc);}catch(_0x1bcb41){_0x1a34ff[_0x4b15(0x5b)](_0x1a34ff[_0x4b15(0x6d)],_0x1a34ff[_0x4b15(0x6d)])?console[_0x4b15(0x58)](_0x1a34ff[_0x4b15(0x61)],_0x1bcb41):_0x2c7ead=_0x1a34ff['WZfYC'](_0x53f7db,_0x3dbd59,_0x164823);}const _0xb879fc=await onairosApi['post']('getAPIUrlMobile',{'Info':{'storage':'local','appId':_0x47c07b,'confirmations':_0x2d3ef4,'developerURL':_0x4b15(0x6e),'EncryptedUserPin':_0x15dff9,'username':_0x28bd96,'platforms':_0x269bfc}});if(_0xb879fc&&_0xb879fc[_0x4b15(0x45)]&&_0xb879fc['data']['APIUrl']&&_0xb879fc['data']['token']){if(_0x1a34ff['kKyDg'](_0x4b15(0x6f),_0x1a34ff[_0x4b15(0x70)]))_0x138c3e(_0xb879fc[_0x4b15(0x45)][_0x4b15(0x71)],_0xb879fc[_0x4b15(0x45)][_0x4b15(0x72)],{'username':_0x28bd96,'selections':_0x2d3ef4,'platforms':_0x269bfc}),_0x39878e();else{const _0x43d7db={};_0x3b38cb[_0x4b15(0x28)](_0x6e6141)[_0x4b15(0x2e)](_0x3c1a30=>{_0x43d7db[_0x3c1a30]=![];}),_0x2924a5(_0x43d7db);const _0x1c012a={};_0x148939['forEach'](_0x207e20=>{_0x1c012a[_0x207e20['id']]=![];}),_0x2eeee3[_0x4b15(0x73)](_0x1f9f42,_0x1c012a),_0x534300(),Animated['spring'](_0x436aa3,{'toValue':0x1,'useNativeDriver':!![],'bounciness':0x0})[_0x4b15(0x31)]();}}else{if(_0x1a34ff[_0x4b15(0x50)](_0x1a34ff['WKKVk'],_0x1a34ff['kgRkp']))try{_0x3aee37=_0x2eeee3['CzHue'](_0x30acfa,_0xe46dc2,_0xce70dd);}catch(_0x1c3b08){_0x504582[_0x4b15(0x58)](_0x2eeee3[_0x4b15(0x74)],_0x1c3b08);}else _0x1a34ff['gtlQc'](_0x138c3e,''+API_CONFIG['BASE_URL'],_0x1a34ff[_0x4b15(0x37)],{'username':_0x28bd96,'selections':_0x2d3ef4,'platforms':_0x269bfc}),_0x1a34ff[_0x4b15(0x75)](_0x39878e);}}catch(_0x1aa8f0){console[_0x4b15(0x58)](_0x1a34ff['npoUp'],_0x1aa8f0),__DEV__?_0x1a34ff[_0x4b15(0x3e)](_0x1a34ff['sIHDM'],_0x1a34ff['TbGkf'])?(_0x1a34ff[_0x4b15(0x66)](_0x138c3e,''+API_CONFIG[_0x4b15(0x34)],_0x1a34ff[_0x4b15(0x39)],{'username':_0x28bd96,'selections':_0x2d3ef4,'platforms':_0x269bfc,'error':!![]}),_0x39878e()):(_0x1a34ff[_0x4b15(0x33)](_0xe19ac,_0x17fa7e[_0x4b15(0x45)][_0x4b15(0x71)],_0x483445['data'][_0x4b15(0x72)],{'username':_0xac141a,'selections':_0x34e52e,'platforms':_0x5dc5bb}),_0x1a34ff[_0x4b15(0x76)](_0x1a66af)):_0x3b9239(_0x1a34ff[_0x4b15(0x77)]);}},[_0x2d3ef4,_0x28bd96,_0x94f6bc,_0x138c3e,_0x39878e,_0x269bfc]),_0x3b9239=_0x42f1c5=>{_0x1a34ff['pRfuw']('aLLmJ',_0x1a34ff[_0x4b15(0x78)])?Alert[_0x4b15(0x79)](_0x1a34ff[_0x4b15(0x7a)],_0x42f1c5,[{'text':'OK'}]):Alert[_0x4b15(0x79)](_0x4b15(0x1a),_0x2008a0,[{'text':'OK'}]);};return React[_0x4b15(0x7b)](Modal,{'visible':_0x4c9a64,'transparent':!![],'animationType':_0x1a34ff[_0x4b15(0x7c)],'statusBarTranslucent':!![],'onRequestClose':_0x39878e},React[_0x4b15(0x7b)](TouchableOpacity,{'style':styles['modalOverlay'],'activeOpacity':0x1,'onPress':_0x39878e},React[_0x4b15(0x7b)](TouchableWithoutFeedback,{'onPress':_0x529351=>_0x529351[_0x4b15(0x7d)]()},React[_0x4b15(0x7b)](Animated[_0x4b15(0x7e)],{'style':[styles[_0x4b15(0x7f)],darkMode&&styles[_0x4b15(0x80)],{'transform':[{'translateY':_0xb7d988[_0x4b15(0x81)]({'inputRange':[0x0,0x1],'outputRange':[SCREEN_HEIGHT,0x0]})}]}]},React[_0x4b15(0x7b)](View,{'style':styles[_0x4b15(0x82)]},React[_0x4b15(0x7b)](View,{'style':[styles[_0x4b15(0x83)],darkMode&&styles[_0x4b15(0x84)]]})),React[_0x4b15(0x7b)](SafeAreaView,{'style':[styles[_0x4b15(0x85)],darkMode&&styles[_0x4b15(0x80)]]},React[_0x4b15(0x7b)](View,{'style':[styles[_0x4b15(0x86)],darkMode&&styles[_0x4b15(0x87)]]},React[_0x4b15(0x7b)](View,{'style':styles['headerContent']},React[_0x4b15(0x7b)](View,{'style':[styles[_0x4b15(0x88)],darkMode&&styles[_0x4b15(0x89)]]},React[_0x4b15(0x7b)](Text,{'style':[styles[_0x4b15(0x8a)],darkMode&&styles[_0x4b15(0x8b)]]},appName[_0x4b15(0x8c)](0x0))),React[_0x4b15(0x7b)](_0x126595,{'name':_0x1a34ff[_0x4b15(0x8d)],'size':0x18,'color':darkMode?_0x1a34ff[_0x4b15(0x8e)]:_0x1a34ff[_0x4b15(0x8f)],'style':styles['arrow']}),React[_0x4b15(0x7b)](View,{'style':[styles['onairosIcon'],darkMode&&styles[_0x4b15(0x90)]]},React[_0x4b15(0x7b)](Text,{'style':[styles['onairosIconText'],darkMode&&styles[_0x4b15(0x8b)]]},'O')))),React[_0x4b15(0x7b)](ScrollView,{'style':styles['content']},React[_0x4b15(0x7b)](View,{'style':styles[_0x4b15(0x91)]},React[_0x4b15(0x7b)](Text,{'style':[styles[_0x4b15(0x92)],darkMode&&styles[_0x4b15(0x8b)]]},_0x1a34ff['pLHrg']),React[_0x4b15(0x7b)](Text,{'style':[styles[_0x4b15(0x93)],darkMode&&styles[_0x4b15(0x94)]]},_0x1a34ff['sSkFm'])),React[_0x4b15(0x7b)](View,{'style':styles[_0x4b15(0x95)]},platforms[_0x4b15(0x96)](_0xcace3e=>React[_0x4b15(0x7b)](View,{'key':_0xcace3e['id'],'style':[styles[_0x4b15(0x97)],darkMode&&styles[_0x4b15(0x98)]]},React[_0x4b15(0x7b)](View,{'style':styles[_0x4b15(0x99)]},React[_0x4b15(0x7b)](Image,{'source':_0xcace3e[_0x4b15(0x9a)],'style':styles[_0x4b15(0x9b)],'resizeMode':'contain'}),React[_0x4b15(0x7b)](Text,{'style':[styles[_0x4b15(0x9c)],darkMode&&styles[_0x4b15(0x8b)]]},_0xcace3e[_0x4b15(0x9d)])),React[_0x4b15(0x7b)](Switch,{'value':_0x269bfc[_0xcace3e['id']],'onValueChange':()=>_0x5b4728(_0xcace3e['id']),'trackColor':{'false':_0x4b15(0x9e),'true':_0x4b15(0x9f)},'thumbColor':_0x269bfc[_0xcace3e['id']]?_0x4b15(0xa0):_0x4b15(0xa1)}))))),React[_0x4b15(0x7b)](View,{'style':[styles[_0x4b15(0xa2)],darkMode&&styles[_0x4b15(0xa3)]]},React[_0x4b15(0x7b)](TouchableOpacity,{'style':styles['footerButtonCancel'],'onPress':_0x39878e},React['createElement'](Text,{'style':[styles[_0x4b15(0xa4)],darkMode&&styles[_0x4b15(0x94)]]},_0x4b15(0xa5))),React['createElement'](TouchableOpacity,{'style':[styles[_0x4b15(0xa6)],darkMode&&styles[_0x4b15(0xa7)]],'onPress':_0x1c4725},React[_0x4b15(0x7b)](Text,{'style':[styles[_0x4b15(0xa8)],_0x1a34ff[_0x4b15(0xa9)](darkMode,{'color':_0x1a34ff[_0x4b15(0xaa)]})]},_0x1a34ff['oYEVk']))))))));};const styles=StyleSheet[_0x4b15(0xab)]({'modalOverlay':{'flex':0x1,'backgroundColor':_0x4b15(0xac),'justifyContent':_0x4b15(0xad)},'bottomSheet':{'backgroundColor':_0x4b15(0xae),'borderTopLeftRadius':0x18,'borderTopRightRadius':0x18,'width':SCREEN_WIDTH,'height':SCREEN_HEIGHT*0.8,'overflow':_0x4b15(0xaf)},'handleContainer':{'width':_0x4b15(0xb0),'alignItems':'center','paddingTop':0xc,'paddingBottom':0x8},'handle':{'width':0x28,'height':0x5,'borderRadius':0x3,'backgroundColor':_0x4b15(0xb1)},'darkHandle':{'backgroundColor':_0x4b15(0x1d)},'container':{'flex':0x1,'backgroundColor':_0x4b15(0xae)},'darkContainer':{'backgroundColor':_0x4b15(0xb2)},'header':{'padding':0x18,'alignItems':_0x4b15(0xb3)},'darkHeader':{'backgroundColor':_0x4b15(0xb2)},'headerContent':{'flexDirection':_0x4b15(0xb4),'alignItems':_0x4b15(0xb3),'justifyContent':_0x4b15(0xb3),'marginBottom':0x10},'appIcon':{'width':0x30,'height':0x30,'borderRadius':0x10,'backgroundColor':_0x4b15(0xb5),'alignItems':_0x4b15(0xb3),'justifyContent':'center'},'darkAppIcon':{'backgroundColor':_0x4b15(0xb6)},'appIconText':{'fontSize':0x18,'color':_0x4b15(0x20)},'darkText':{'color':_0x4b15(0xae)},'arrow':{'marginHorizontal':0x10},'onairosIcon':{'width':0x30,'height':0x30,'borderRadius':0x10,'backgroundColor':_0x4b15(0xb5),'alignItems':_0x4b15(0xb3),'justifyContent':_0x4b15(0xb3)},'darkOnairosIcon':{'backgroundColor':'#2A2A2A'},'onairosIconText':{'fontSize':0x18,'color':'#000'},'darkSubText':{'color':_0x4b15(0xb7)},'titleContainer':{'marginBottom':0x1e},'mainTitle':{'fontSize':0x16,'fontWeight':_0x4b15(0xb8),'color':_0x4b15(0x20),'textAlign':_0x4b15(0xb3),'marginBottom':0x10},'privacyMessage':{'fontSize':0xe,'color':_0x4b15(0x1d),'textAlign':_0x4b15(0xb3),'marginBottom':0x10},'content':{'flex':0x1,'paddingHorizontal':0x18},'platformsContainer':{'marginTop':0x10},'platformItem':{'flexDirection':_0x4b15(0xb4),'justifyContent':_0x4b15(0xb9),'alignItems':_0x4b15(0xb3),'padding':0x10,'backgroundColor':_0x4b15(0xae),'borderRadius':0x10,'marginBottom':0x10,'borderWidth':0x1,'borderColor':'#eee'},'darkPlatformItem':{'backgroundColor':_0x4b15(0xb6),'borderColor':_0x4b15(0xba)},'platformInfo':{'flexDirection':_0x4b15(0xb4),'alignItems':_0x4b15(0xb3)},'platformIcon':{'width':0x20,'height':0x20,'marginRight':0xc},'platformName':{'fontSize':0x10,'fontWeight':_0x4b15(0xbb),'color':_0x4b15(0x20)},'footer':{'flexDirection':_0x4b15(0xb4),'alignItems':_0x4b15(0xb3),'justifyContent':_0x4b15(0xb9),'padding':0x18,'borderTopWidth':0x1,'borderTopColor':_0x4b15(0xbc),'backgroundColor':_0x4b15(0xae)},'darkFooter':{'backgroundColor':_0x4b15(0xb6),'borderTopColor':'#333'},'footerButtonCancel':{'paddingVertical':0x8,'paddingHorizontal':0x10},'darkFooterButton':{'backgroundColor':_0x4b15(0xbd)},'footerButtonConfirm':{'paddingVertical':0x10,'paddingHorizontal':0x20,'borderRadius':0x10,'backgroundColor':_0x4b15(0xae),'borderWidth':0x1,'borderColor':_0x4b15(0x20)},'darkFooterButtonConfirm':{'backgroundColor':_0x4b15(0xae),'borderColor':_0x4b15(0xae)},'footerButtonText':{'color':'#666','fontSize':0x10},'footerButtonTextConfirm':{'color':_0x4b15(0x20),'fontSize':0x10,'fontWeight':_0x4b15(0xb8)},'lightBackground':{'backgroundColor':_0x4b15(0xae)},'darkBackground':{'backgroundColor':_0x4b15(0xb2)}});
@@ -0,0 +1 @@
1
+ import React,{useEffect,useRef,useState}from'react';function _0x1584(_0x1cea31,_0x158407){_0x1cea31=_0x1cea31-0x0;const _0x4dd220=_0x1cea();let _0x3be7f3=_0x4dd220[_0x1cea31];return _0x3be7f3;}function _0x1cea(){const _0xb26c92=['VjuUl','YvZDL','xTVYh','roItr','pwhhO','LvfKy','XvqNw','SBYQP','ttsHX','OCqyI','current','oRGDi','1|3|0|2|4','split','wZHxE','wRIqC','Psaby','YIzgf','qaOnM','AEXcQ','FMHdL','ymOMD','CUBcv','bxRhx','vMaRM','HwiFM','csWGf','ElaJn','EIgkl','OSiXO','rJgac','now','hbViY','SMjfR','PfCeP','tUXnI','IhVnB','qTHsR','clMaq','min','euXhD','Kpdac','GvnYr','jQEkN','YqqCg','WorRn','WuliU','jzFYb','ETsUg','wlYyh','uARlL','cRlGz','cCwXp','gQnJX','tyqfH','DfSxY','fBgIk','ANyWy','uphQM','JBvqm','qudcx','TBlOK','createElement','container','persona','create','center','100%'];_0x1cea=function(){return _0xb26c92;};return _0x1cea();}import{View,StyleSheet}from'react-native';import _0x4375c9 from'lottie-react-native';import{ANIMATIONS}from'../utils/assetRegistry';const PersonaImage=({level:_0x365291,style:_0x4ceeb1,disableAnimation:disableAnimation=![]})=>{const _0x580ccc={'oRGDi':function(_0x4f87c4,_0x5669fb){return _0x4f87c4(_0x5669fb);},'EIgkl':function(_0x5edc9b,_0x191a74){return _0x5edc9b!==_0x191a74;},'AEXcQ':function(_0x6e709a,_0x505467){return _0x6e709a-_0x505467;},'FMHdL':function(_0x356a4c,_0x27891c){return _0x356a4c/_0x27891c;},'ymOMD':function(_0x1af0ed,_0x5eaef6){return _0x1af0ed*_0x5eaef6;},'CUBcv':function(_0x20a97b,_0x2be65f){return _0x20a97b+_0x2be65f;},'bxRhx':function(_0x4486b4,_0x35431a){return _0x4486b4===_0x35431a;},'vMaRM':_0x1584(0x0),'HwiFM':function(_0x5c7b8c,_0x347701){return _0x5c7b8c-_0x347701;},'csWGf':function(_0x51c13a,_0x346eb5){return _0x51c13a!==_0x346eb5;},'ElaJn':_0x1584(0x1),'rJgac':'uhUcF','VWtmi':_0x1584(0x2),'qudcx':function(_0x5576a9,_0x41f482){return _0x5576a9(_0x41f482);},'TBlOK':function(_0x30ad4c,_0x40180b){return _0x30ad4c!==_0x40180b;},'SBYQP':function(_0x3ecebb,_0x3f3280){return _0x3ecebb===_0x3f3280;},'OCqyI':'lXEyE','pwhhO':function(_0x4e9cdf,_0x10d1e2){return _0x4e9cdf(_0x10d1e2);},'wZHxE':function(_0x478eb6,_0x1097bf){return _0x478eb6(_0x1097bf);},'wRIqC':function(_0x499499,_0x2b56d5){return _0x499499!==_0x2b56d5;},'YIzgf':function(_0x595a0d,_0x3c1905){return _0x595a0d(_0x3c1905);},'oAtSU':function(_0x443154,_0x26e5b0){return _0x443154!==_0x26e5b0;},'qaOnM':function(_0x32d88f,_0x1b6d80,_0x5b5660){return _0x32d88f(_0x1b6d80,_0x5b5660);},'roItr':function(_0x42dee7,_0x416dc1){return _0x42dee7(_0x416dc1);},'LvfKy':function(_0x2e3ce3,_0x89fd1d){return _0x2e3ce3(_0x89fd1d);},'XvqNw':function(_0xabe2f0,_0x498e2b){return _0xabe2f0(_0x498e2b);}},_0x140cfc=_0x580ccc[_0x1584(0x3)](useRef,null),_0xdb0663=[0x0,0.2,0.35,0.52,0.8],_0x54ce15=_0x32e939=>_0xdb0663[_0x32e939-0x1]||0x0,[_0x310974,_0x1af57c]=_0x580ccc[_0x1584(0x4)](useState,_0x580ccc[_0x1584(0x5)](_0x54ce15,_0x365291)),_0x44327d=useRef(_0x54ce15(_0x365291)),_0x17dd84=useRef(_0x365291),_0xfec18e=_0x580ccc['pwhhO'](useRef,null),_0x334e34=_0x580ccc[_0x1584(0x5)](useRef,null),_0x53c34b=_0x580ccc[_0x1584(0x6)](useRef,!![]);return useEffect(()=>{if(_0x580ccc[_0x1584(0x7)](_0x1584(0x8),_0x580ccc[_0x1584(0x9)])){_0x4e613d[_0x1584(0xa)]=_0x3ed811,_0x580ccc[_0x1584(0xb)](_0x15578f,_0x24e1be),_0x169508[_0x1584(0xa)]=_0x1c73c0;return;}else{const _0x362c9a=_0x580ccc[_0x1584(0x4)](_0x54ce15,_0x365291);if(_0x53c34b[_0x1584(0xa)]){const _0x519156=_0x1584(0xc)[_0x1584(0xd)]('|');let _0x1c317c=0x0;while(!![]){switch(_0x519156[_0x1c317c++]){case'0':_0x17dd84[_0x1584(0xa)]=_0x365291;continue;case'1':_0x44327d[_0x1584(0xa)]=_0x362c9a;continue;case'2':_0x53c34b[_0x1584(0xa)]=![];continue;case'3':_0x580ccc[_0x1584(0xe)](_0x1af57c,_0x362c9a);continue;case'4':return;}break;}}if(disableAnimation){if(_0x580ccc[_0x1584(0xf)](_0x1584(0x10),_0x1584(0x10)))_0x580ccc['EIgkl'](_0x330dd2[_0x1584(0xa)],null)&&(_0x580ccc[_0x1584(0xb)](_0x441866,_0x25b3e5[_0x1584(0xa)]),_0xa1d7a5[_0x1584(0xa)]=null),_0x580ccc['EIgkl'](_0x351298['current'],null)&&(_0x580ccc[_0x1584(0xb)](_0x46a80c,_0x4332d9[_0x1584(0xa)]),_0x3acbf1[_0x1584(0xa)]=null);else{_0x44327d['current']=_0x362c9a,_0x580ccc[_0x1584(0xb)](_0x1af57c,_0x362c9a),_0x17dd84[_0x1584(0xa)]=_0x365291;return;}}if(_0x580ccc['SBYQP'](_0x17dd84['current'],_0x365291))return;_0xfec18e[_0x1584(0xa)]!==null&&(_0x580ccc[_0x1584(0x11)](cancelAnimationFrame,_0xfec18e[_0x1584(0xa)]),_0xfec18e[_0x1584(0xa)]=null);_0x580ccc['oAtSU'](_0x334e34['current'],null)&&(_0x580ccc[_0x1584(0x11)](clearTimeout,_0x334e34[_0x1584(0xa)]),_0x334e34['current']=null);const _0x5c9020=0x96,_0xa9bf0=0xc80;return _0x334e34[_0x1584(0xa)]=_0x580ccc[_0x1584(0x12)](setTimeout,()=>{const _0x5c0ec5={'euXhD':function(_0x271c3e,_0x13c2e9){return _0x271c3e(_0x13c2e9);},'LuUIK':function(_0x30ddf5,_0x472ce5){return _0x580ccc[_0x1584(0x13)](_0x30ddf5,_0x472ce5);},'hbViY':function(_0x2ecf6a,_0x1424a0){return _0x580ccc[_0x1584(0x14)](_0x2ecf6a,_0x1424a0);},'SMjfR':function(_0x30f3b9,_0x25a9f5){return _0x580ccc[_0x1584(0x15)](_0x30f3b9,_0x25a9f5);},'PfCeP':function(_0x3f9ed8,_0xa2c515){return _0x580ccc[_0x1584(0x16)](_0x3f9ed8,_0xa2c515);},'tUXnI':function(_0x145f26,_0x49623a){return _0x580ccc['oRGDi'](_0x145f26,_0x49623a);},'IhVnB':function(_0x43d1cf,_0x4d8d7d){return _0x580ccc[_0x1584(0x17)](_0x43d1cf,_0x4d8d7d);},'qTHsR':_0x580ccc[_0x1584(0x18)],'clMaq':function(_0x2abebf,_0x3aab72){return _0x2abebf-_0x3aab72;},'oROHQ':function(_0x4b6407,_0x57c159){return _0x4b6407<_0x57c159;},'Cjyzh':function(_0x47bf4c,_0x4d3931){return _0x580ccc[_0x1584(0x16)](_0x47bf4c,_0x4d3931);},'OJUbA':function(_0x20d0c9,_0x3abbbc){return _0x580ccc[_0x1584(0x19)](_0x20d0c9,_0x3abbbc);},'Kpdac':function(_0xe132da,_0x4516d7){return _0x580ccc[_0x1584(0x1a)](_0xe132da,_0x4516d7);},'GvnYr':_0x580ccc[_0x1584(0x1b)],'fBgIk':function(_0x5ba0f5,_0xbfce49){return _0x5ba0f5(_0xbfce49);},'ANyWy':function(_0x168cb2,_0x19ffb2){return _0x580ccc[_0x1584(0x1c)](_0x168cb2,_0x19ffb2);},'uphQM':_0x1584(0x1d)};if(_0x580ccc[_0x1584(0x1e)]===_0x580ccc['VWtmi'])_0x3d45ed[_0x1584(0xa)]=null;else{const _0x15df7e=_0x44327d[_0x1584(0xa)],_0x13fce7=Date[_0x1584(0x1f)](),_0x50f726=()=>{const _0x18d506={'jQEkN':function(_0x23e821,_0x5601ab){return _0x5c0ec5['LuUIK'](_0x23e821,_0x5601ab);},'YqqCg':function(_0x48ed34,_0x228c6a){return _0x5c0ec5[_0x1584(0x20)](_0x48ed34,_0x228c6a);},'WorRn':function(_0x544b2a,_0xbe0f70){return _0x544b2a*_0xbe0f70;},'WuliU':function(_0x40a0b4,_0x4f9e50){return _0x5c0ec5[_0x1584(0x21)](_0x40a0b4,_0x4f9e50);},'jzFYb':function(_0x285171,_0x188acc){return _0x5c0ec5[_0x1584(0x22)](_0x285171,_0x188acc);},'ETsUg':function(_0x38f9c2,_0x49f656){return _0x5c0ec5[_0x1584(0x23)](_0x38f9c2,_0x49f656);},'JBvqm':function(_0x250906,_0x42a3ed){return _0x5c0ec5[_0x1584(0x23)](_0x250906,_0x42a3ed);}};if(_0x5c0ec5[_0x1584(0x24)](_0x5c0ec5[_0x1584(0x25)],_0x5c0ec5[_0x1584(0x25)])){const _0x23259b=_0x5c0ec5[_0x1584(0x26)](Date[_0x1584(0x1f)](),_0x13fce7),_0x102064=Math[_0x1584(0x27)](_0x5c0ec5[_0x1584(0x20)](_0x23259b,_0xa9bf0),0x1),_0x467b4c=_0x5c0ec5['oROHQ'](_0x102064,0.5)?_0x5c0ec5[_0x1584(0x21)](_0x5c0ec5[_0x1584(0x21)](0x2,_0x102064),_0x102064):-0x1+_0x5c0ec5['SMjfR'](0x4-0x2*_0x102064,_0x102064),_0x490503=_0x5c0ec5['Cjyzh'](_0x15df7e,_0x5c0ec5[_0x1584(0x21)](_0x5c0ec5['OJUbA'](_0x362c9a,_0x15df7e),_0x467b4c));_0x44327d['current']=_0x490503,_0x5c0ec5[_0x1584(0x28)](_0x1af57c,_0x490503);if(_0x5c0ec5['oROHQ'](_0x102064,0x1)){if(_0x5c0ec5[_0x1584(0x29)](_0x5c0ec5[_0x1584(0x2a)],_0x1584(0x1))){const _0x5f18d0={'wlYyh':function(_0x4f01dd,_0x291271){return _0x18d506[_0x1584(0x2b)](_0x4f01dd,_0x291271);},'uARlL':function(_0xb94728,_0x1708bb){return _0x18d506[_0x1584(0x2c)](_0xb94728,_0x1708bb);},'cRlGz':function(_0x3f17db,_0x5af9e5){return _0x3f17db<_0x5af9e5;},'cCwXp':function(_0x194482,_0xd2cb53){return _0x18d506[_0x1584(0x2d)](_0x194482,_0xd2cb53);},'gQnJX':function(_0x9ef956,_0x3595e4){return _0x18d506[_0x1584(0x2e)](_0x9ef956,_0x3595e4);},'tyqfH':function(_0x4a847a,_0x3d2ec8){return _0x18d506[_0x1584(0x2f)](_0x4a847a,_0x3d2ec8);},'sCrgB':function(_0x3a9140,_0x5e2dc6){return _0x18d506[_0x1584(0x2b)](_0x3a9140,_0x5e2dc6);},'DfSxY':function(_0x5e8891,_0x514893){return _0x18d506[_0x1584(0x30)](_0x5e8891,_0x514893);}},_0x5b9d4b=_0x4c9322['current'],_0x3ca49b=_0x12af67[_0x1584(0x1f)](),_0x4bf74d=()=>{const _0x477b16=_0x5f18d0[_0x1584(0x31)](_0x41e4db[_0x1584(0x1f)](),_0x3ca49b),_0x485c2c=_0x1e6834[_0x1584(0x27)](_0x5f18d0[_0x1584(0x32)](_0x477b16,_0x45cf2e),0x1),_0x5cbf5e=_0x5f18d0[_0x1584(0x33)](_0x485c2c,0.5)?_0x5f18d0[_0x1584(0x34)](_0x5f18d0[_0x1584(0x35)](0x2,_0x485c2c),_0x485c2c):_0x5f18d0[_0x1584(0x36)](-0x1,_0x5f18d0[_0x1584(0x34)](_0x5f18d0['sCrgB'](0x4,0x2*_0x485c2c),_0x485c2c)),_0x2134fd=_0x5b9d4b+_0x5f18d0[_0x1584(0x34)](_0x410c73-_0x5b9d4b,_0x5cbf5e);_0x5431de[_0x1584(0xa)]=_0x2134fd,_0x5f18d0[_0x1584(0x37)](_0x4ca316,_0x2134fd),_0x5f18d0[_0x1584(0x33)](_0x485c2c,0x1)?_0x3f5a4f[_0x1584(0xa)]=_0x2c9a6a(_0x4bf74d):_0x269196[_0x1584(0xa)]=null;};_0x478326[_0x1584(0xa)]=_0x437f86(_0x4bf74d);}else _0xfec18e['current']=_0x5c0ec5[_0x1584(0x38)](requestAnimationFrame,_0x50f726);}else _0x5c0ec5[_0x1584(0x39)]('OSiXO',_0x5c0ec5[_0x1584(0x3a)])?(_0x18d506[_0x1584(0x3b)](_0x26402b,_0x252af7['current']),_0x385031[_0x1584(0xa)]=null):_0xfec18e[_0x1584(0xa)]=null;}else _0x567b76[_0x1584(0xa)]=_0x5c0ec5[_0x1584(0x28)](_0xacea55,_0x3207ea);};_0xfec18e[_0x1584(0xa)]=requestAnimationFrame(_0x50f726);}},_0x5c9020),_0x17dd84[_0x1584(0xa)]=_0x365291,()=>{_0xfec18e[_0x1584(0xa)]!==null&&(_0x580ccc[_0x1584(0x3c)](cancelAnimationFrame,_0xfec18e[_0x1584(0xa)]),_0xfec18e[_0x1584(0xa)]=null),_0x580ccc[_0x1584(0x3d)](_0x334e34[_0x1584(0xa)],null)&&(_0x580ccc[_0x1584(0x3c)](clearTimeout,_0x334e34['current']),_0x334e34[_0x1584(0xa)]=null);};}},[_0x365291,disableAnimation]),React[_0x1584(0x3e)](View,{'style':[styles[_0x1584(0x3f)],_0x4ceeb1]},React[_0x1584(0x3e)](_0x4375c9,{'ref':_0x140cfc,'source':ANIMATIONS[_0x1584(0x40)],'progress':_0x310974,'loop':![],'autoPlay':![],'style':styles['animation'],'resizeMode':'contain'}));},styles=StyleSheet[_0x1584(0x41)]({'container':{'width':0xc8,'height':0xc8,'alignItems':_0x1584(0x42),'justifyContent':_0x1584(0x42)},'animation':{'width':_0x1584(0x43),'height':_0x1584(0x43)}});export default PersonaImage;
@@ -0,0 +1 @@
1
+ import React,{useEffect,useRef,useState}from'react';import{View,Text,StyleSheet,Animated}from'react-native';import _0x1bc43a from'lottie-react-native';import{COLORS}from'../theme';import{triggerHaptic,HapticType}from'../utils/haptics';import{ANIMATIONS}from'../utils/assetRegistry';function _0x4904(_0x276c12,_0x490474){_0x276c12=_0x276c12-0x0;const _0x4b60b9=_0x276c();let _0x88641f=_0x4b60b9[_0x276c12];return _0x88641f;}const STATUS_MESSAGES=[{'text':_0x4904(0x0),'minProgress':0x0,'maxProgress':0x19},{'text':_0x4904(0x1),'minProgress':0x14,'maxProgress':0x2d},{'text':_0x4904(0x2),'minProgress':0x28,'maxProgress':0x41},{'text':_0x4904(0x3),'minProgress':0x3c,'maxProgress':0x55},{'text':_0x4904(0x4),'minProgress':0x50,'maxProgress':0x5f},{'text':_0x4904(0x5),'minProgress':0x64,'maxProgress':0x64}],randomInRange=(_0x2eb0a2,_0x297613)=>{const _0x2dd13b={'DEXJm':function(_0x409775,_0x34f4d1){return _0x409775+_0x34f4d1;},'TzFJr':function(_0x52c32e,_0x518f3a){return _0x52c32e-_0x518f3a;}};return _0x2dd13b['DEXJm'](Math[_0x4904(0x6)]()*_0x2dd13b[_0x4904(0x7)](_0x297613,_0x2eb0a2),_0x2eb0a2);},randomIntInRange=(_0x359655,_0x2c56ec)=>{const _0xc47a3f={'eLEpY':function(_0x57edeb,_0x581773,_0x43b6b9){return _0x57edeb(_0x581773,_0x43b6b9);},'QtpqW':function(_0x36f845,_0x24b24c){return _0x36f845+_0x24b24c;}};return Math[_0x4904(0x8)](_0xc47a3f[_0x4904(0x9)](randomInRange,_0x359655,_0xc47a3f['QtpqW'](_0x2c56ec,0x1)));},PersonaLoadingScreen=({visible:_0x520362,onComplete:_0x20fc6e})=>{const _0x1a49dd={'qPrpn':function(_0x41e7e6,_0x12b2c4,_0x12217f){return _0x41e7e6(_0x12b2c4,_0x12217f);},'yLmvO':function(_0x393ee1,_0x3cbf32){return _0x393ee1!==_0x3cbf32;},'WYPJP':_0x4904(0xa),'qjJYg':'dcNzG','MVeNF':function(_0x2c0d91,_0x1969c3,_0x2d04ce){return _0x2c0d91(_0x1969c3,_0x2d04ce);},'RfvQT':function(_0x41022a,_0x51ad4b){return _0x41022a-_0x51ad4b;},'huVhi':function(_0x240209,_0x1b2ad0){return _0x240209*_0x1b2ad0;},'tdYxg':function(_0x1312b1,_0x4e0bfd){return _0x1312b1+_0x4e0bfd;},'SSHff':function(_0x209c49,_0x5cf94f){return _0x209c49/_0x5cf94f;},'VuPbG':function(_0x29c9d9,_0x1dc730){return _0x29c9d9*_0x1dc730;},'guAEQ':function(_0x5a5ad3,_0x4fc635){return _0x5a5ad3/_0x4fc635;},'mALNN':function(_0x4eeed3,_0x17f241,_0xcc36d){return _0x4eeed3(_0x17f241,_0xcc36d);},'rrGVr':function(_0xdfe122,_0x2a09f9){return _0xdfe122===_0x2a09f9;},'cvauv':_0x4904(0xb),'gLtiu':_0x4904(0xc),'fnxOm':function(_0x33b21a,_0x4dfd41){return _0x33b21a===_0x4dfd41;},'geTsi':'kMadx','CEIFl':function(_0x21a5b9,_0x492e1c,_0x362c8f){return _0x21a5b9(_0x492e1c,_0x362c8f);},'NFCHM':function(_0x5d3ea7,_0x3d6def,_0x1022a0){return _0x5d3ea7(_0x3d6def,_0x1022a0);},'bpdFa':function(_0xf9d41b,_0x35a6a5){return _0xf9d41b*_0x35a6a5;},'YWbwj':function(_0x1b4220,_0x10d458){return _0x1b4220-_0x10d458;},'imkxc':function(_0x369710){return _0x369710();},'CFYOw':function(_0x40114f,_0x47e00c){return _0x40114f<_0x47e00c;},'JYqQW':function(_0x16ca92,_0x59561e){return _0x16ca92>=_0x59561e;},'StVqH':function(_0x52ce3b,_0x51f32d){return _0x52ce3b(_0x51f32d);},'GcBeP':function(_0x5d7d91,_0x552bf1){return _0x5d7d91(_0x552bf1);},'nRqPq':function(_0x46e497,_0x214b2a){return _0x46e497(_0x214b2a);},'UKhAT':function(_0x54dedd,_0x1d553b){return _0x54dedd<_0x1d553b;},'IYKXS':function(_0x2b17de,_0x3c745d){return _0x2b17de-_0x3c745d;},'fLpbc':function(_0x2c1c1c,_0x3135bd){return _0x2c1c1c===_0x3135bd;},'tVyCv':'TqshB','lxEwE':function(_0x123ebc,_0x371cfc){return _0x123ebc*_0x371cfc;},'WCXAT':function(_0x559d59,_0x1d8cf2){return _0x559d59+_0x1d8cf2;},'yhTUT':function(_0x592fa0,_0x240f4f){return _0x592fa0/_0x240f4f;},'cWtVk':function(_0x5944ea,_0x47790c){return _0x5944ea+_0x47790c;},'AEbyr':function(_0x3a51dd,_0x1603ad){return _0x3a51dd/_0x1603ad;},'oIcKH':_0x4904(0xd),'pwKGx':function(_0x10108b,_0x24696){return _0x10108b<_0x24696;},'BdFhG':function(_0x1c3ebd,_0x32d2f9,_0xde10b6){return _0x1c3ebd(_0x32d2f9,_0xde10b6);},'eCjKN':function(_0x4d2d45,_0x21db82,_0x448160){return _0x4d2d45(_0x21db82,_0x448160);},'pEUdP':function(_0x1b4935,_0x1b304b){return _0x1b4935===_0x1b304b;},'eBrKL':'bCNeZ','opvRh':'hxvYz','CpRIS':function(_0x1f5516,_0x20e1ba){return _0x1f5516-_0x20e1ba;},'BSKFq':function(_0x46757f,_0x3b1747){return _0x46757f<=_0x3b1747;},'QDKOK':function(_0x225798,_0x5aa56f){return _0x225798===_0x5aa56f;},'dmxPO':'laVbh','jUBNu':function(_0x1a515e,_0xd72c72,_0x96e303){return _0x1a515e(_0xd72c72,_0x96e303);},'JLWuA':function(_0x45c472,_0x2f083d){return _0x45c472(_0x2f083d);},'aIHEd':function(_0x37f77d,_0x410882){return _0x37f77d(_0x410882);},'ewdGf':'Keeping\x20your\x20data\x20private','JkbJh':function(_0x1a0d3b,_0xd5cd07,_0x4cef4e){return _0x1a0d3b(_0xd5cd07,_0x4cef4e);},'kVncr':_0x4904(0xe)},_0x371ac8=_0x1a49dd['nRqPq'](useRef,new Animated['Value'](0x0))[_0x4904(0xf)],_0x5977c8=_0x1a49dd['nRqPq'](useRef,new Animated['Value'](0.3))[_0x4904(0xf)],_0x3d15ac=_0x1a49dd[_0x4904(0x10)](useRef,new Animated['Value'](0.3))['current'],_0x3936d1=_0x1a49dd[_0x4904(0x11)](useRef,new Animated[(_0x4904(0x12))](0.3))[_0x4904(0xf)],[_0x5abcf2,_0x5513e0]=_0x1a49dd[_0x4904(0x13)](useState,0x0),[_0x42084a,_0x3eb980]=_0x1a49dd[_0x4904(0x14)](useState,_0x1a49dd[_0x4904(0x15)]),_0x585d9c=_0x1a49dd[_0x4904(0x10)](useRef,[]);_0x1a49dd[_0x4904(0x16)](useEffect,()=>{const _0xc328b2={'bAJFv':function(_0x2f2c44,_0x354105,_0x140c55){return _0x1a49dd['qPrpn'](_0x2f2c44,_0x354105,_0x140c55);},'fUBfj':function(_0x435b1f,_0x5e5a93,_0x6d335b){return _0x1a49dd[_0x4904(0x17)](_0x435b1f,_0x5e5a93,_0x6d335b);}};if(_0x1a49dd[_0x4904(0x18)](_0x1a49dd['WYPJP'],_0x1a49dd[_0x4904(0x19)])){if(!_0x520362)return;const _0x465999=(_0x29b93c,_0x453f46)=>{return Animated[_0x4904(0x1a)](Animated[_0x4904(0x1b)]([Animated[_0x4904(0x1c)](_0x29b93c,{'toValue':0x1,'duration':0x258,'useNativeDriver':!![]}),Animated[_0x4904(0x1c)](_0x29b93c,{'toValue':0.3,'duration':0x258,'useNativeDriver':!![]})]),{'iterations':-0x1});};setTimeout(()=>{_0xc328b2['bAJFv'](_0x465999,_0x5977c8,0x0)['start']();},0x12c),_0x1a49dd[_0x4904(0x1d)](setTimeout,()=>{_0xc328b2[_0x4904(0x1e)](_0x465999,_0x3d15ac,0xc8)[_0x4904(0x1f)]();},0x1f4),_0x1a49dd['qPrpn'](setTimeout,()=>{_0xc328b2[_0x4904(0x1e)](_0x465999,_0x3936d1,0x190)[_0x4904(0x1f)]();},0x2bc);}else return _0x4f8d81[_0x4904(0x8)](_0xc328b2['fUBfj'](_0x38fc0c,_0x47c906,_0x2c93a8+0x1));},[_0x520362,_0x5977c8,_0x3d15ac,_0x3936d1]),useEffect(()=>{const _0x314eb2={'isPQZ':function(_0x2f4820,_0x16cf78,_0x83ce63){return _0x1a49dd[_0x4904(0x20)](_0x2f4820,_0x16cf78,_0x83ce63);},'dUkQU':function(_0x253c59,_0x2a7011){return _0x1a49dd[_0x4904(0x21)](_0x253c59,_0x2a7011);},'adhYQ':function(_0x29628d,_0x5798ad){return _0x1a49dd[_0x4904(0x22)](_0x29628d,_0x5798ad);},'yAhnl':function(_0x3bc72b,_0x15f187){return _0x1a49dd[_0x4904(0x23)](_0x3bc72b,_0x15f187);},'EJZBA':function(_0x4f82fe){return _0x1a49dd['imkxc'](_0x4f82fe);},'BQdQU':function(_0x133588,_0x2ef039){return _0x1a49dd[_0x4904(0x24)](_0x133588,_0x2ef039);},'GrKID':function(_0x1b79f5,_0x23d579){return _0x1a49dd[_0x4904(0x25)](_0x1b79f5,_0x23d579);},'QUbQF':function(_0xb43d2d,_0x4e7bbf){return _0x1a49dd['StVqH'](_0xb43d2d,_0x4e7bbf);},'zgVmS':function(_0x491bbd,_0x51a737){return _0x1a49dd[_0x4904(0x10)](_0x491bbd,_0x51a737);},'jbqmu':function(_0x1f7856,_0x350d87,_0x26e227){return _0x1f7856(_0x350d87,_0x26e227);}};if(!_0x520362){_0x585d9c[_0x4904(0xf)][_0x4904(0x26)](_0x5eb7c1=>clearTimeout(_0x5eb7c1)),_0x585d9c['current']=[];return;}_0x1a49dd[_0x4904(0x11)](_0x5513e0,0x0),_0x3eb980('Keeping\x20your\x20data\x20private'),_0x371ac8[_0x4904(0x27)](0x0);const _0x4df9b8=_0x1a49dd[_0x4904(0x20)](randomInRange,0x1b58,0x2ee0),_0x508983=randomIntInRange(0x5,0x8),_0x90086b=[0x0];for(let _0x4f6a07=0x0;_0x1a49dd['UKhAT'](_0x4f6a07,_0x1a49dd[_0x4904(0x28)](_0x508983,0x1));_0x4f6a07++){if(_0x1a49dd[_0x4904(0x29)](_0x1a49dd[_0x4904(0x2a)],_0x1a49dd[_0x4904(0x2a)])){const _0x2d9be8=_0x1a49dd[_0x4904(0x2b)](_0x1a49dd[_0x4904(0x2c)](_0x4f6a07,0x1),_0x1a49dd[_0x4904(0x2d)](0x64,_0x508983))-0xa,_0x272a01=_0x1a49dd[_0x4904(0x21)](_0x1a49dd[_0x4904(0x2b)](_0x1a49dd['cWtVk'](_0x4f6a07,0x1),_0x1a49dd['AEbyr'](0x64,_0x508983)),0xa);_0x90086b[_0x4904(0x2e)](_0x1a49dd['MVeNF'](randomIntInRange,Math[_0x4904(0x2f)](0xa,_0x2d9be8),Math[_0x4904(0x30)](0x5a,_0x272a01)));}else _0x1a49dd[_0x4904(0x1d)](_0x1ac49b,_0x7156ad,0x0)['start']();}_0x90086b[_0x4904(0x2e)](0x64),_0x90086b['sort']((_0x11ca69,_0x49e18b)=>_0x11ca69-_0x49e18b);const _0x5713f9=[_0x1a49dd['cvauv'],_0x1a49dd[_0x4904(0x31)],_0x1a49dd[_0x4904(0x32)]],_0x4a6216=[];let _0x3c0013=0x0;for(let _0x5e01b7=0x0;_0x1a49dd['pwKGx'](_0x5e01b7,_0x508983);_0x5e01b7++){const _0x13c441=_0x5713f9[_0x1a49dd[_0x4904(0x33)](randomIntInRange,0x0,0x2)];let _0x241e7f;if(_0x1a49dd[_0x4904(0x29)](_0x13c441,_0x1a49dd[_0x4904(0x34)])){if(_0x1a49dd[_0x4904(0x18)](_0x4904(0x35),_0x4904(0x36)))_0x241e7f=_0x1a49dd[_0x4904(0x37)](randomInRange,0xfa,0x1f4);else{const _0x102a2e=_0x1a49dd[_0x4904(0x38)](_0x1a49dd[_0x4904(0x39)](_0x1a49dd[_0x4904(0x21)](_0x2397c2,0x1),_0x1a49dd['SSHff'](0x64,_0x78cc3d)),0xa),_0x58ba8=_0x1a49dd[_0x4904(0x3a)](_0x459193+0x1,_0x1a49dd['guAEQ'](0x64,_0xc747a7))+0xa;_0x410fdd[_0x4904(0x2e)](_0x1a49dd['mALNN'](_0x52277d,_0x416435[_0x4904(0x2f)](0xa,_0x102a2e),_0x3a4dc6['min'](0x5a,_0x58ba8)));}}else{if(_0x1a49dd[_0x4904(0x29)](_0x13c441,_0x1a49dd[_0x4904(0x31)]))_0x1a49dd[_0x4904(0x3b)](_0x4904(0x3c),_0x1a49dd[_0x4904(0x3d)])?_0x25db66=_0x314eb2[_0x4904(0x3e)](_0x114654,0x320,0x4b0):_0x241e7f=randomInRange(0x1f4,0x320);else{if(_0x1a49dd[_0x4904(0x3f)](_0x1a49dd[_0x4904(0x40)],_0x1a49dd[_0x4904(0x40)]))_0x241e7f=randomInRange(0x320,0x4b0);else return _0x314eb2[_0x4904(0x41)](_0x314eb2[_0x4904(0x42)](_0x13031f[_0x4904(0x6)](),_0x314eb2[_0x4904(0x43)](_0x4b4f1a,_0x568b00)),_0x522718);}}_0x4a6216[_0x4904(0x2e)](_0x241e7f),_0x3c0013+=_0x241e7f;}const _0x40e8c0=0x190,_0x41b93c=_0x1a49dd[_0x4904(0x2b)](_0x508983,_0x40e8c0),_0x6c78bf=_0x1a49dd[_0x4904(0x44)](_0x4df9b8,_0x41b93c),_0x56f745=_0x1a49dd[_0x4904(0x45)](_0x6c78bf,_0x3c0013),_0x58ce05=_0x4a6216[_0x4904(0x46)](_0x68f57=>_0x68f57*_0x56f745),_0x2ec62f=[];STATUS_MESSAGES[_0x4904(0x26)](_0x96202e=>{const _0x379de5={'stLgN':function(_0x5dac6e,_0x13c4b7,_0x17974a){return _0x5dac6e(_0x13c4b7,_0x17974a);},'RMmaE':function(_0x45420a,_0x4e3a1c){return _0x1a49dd['rrGVr'](_0x45420a,_0x4e3a1c);},'qIaXi':_0x1a49dd[_0x4904(0x34)],'Upwue':function(_0x29cdde,_0x3d8532,_0x479c4e){return _0x29cdde(_0x3d8532,_0x479c4e);},'hkFtY':_0x1a49dd[_0x4904(0x31)],'UtsuM':function(_0x4ecb6a,_0x2e653b,_0xf7d174){return _0x1a49dd[_0x4904(0x17)](_0x4ecb6a,_0x2e653b,_0xf7d174);}};if(_0x1a49dd[_0x4904(0x47)](_0x96202e[_0x4904(0x48)],0x64)){if(_0x1a49dd[_0x4904(0x49)]!==_0x1a49dd[_0x4904(0x49)]){const _0x4c1b31=_0x5960cc[_0x379de5[_0x4904(0x4a)](_0x30227c,0x0,0x2)];let _0x5b8211;if(_0x379de5[_0x4904(0x4b)](_0x4c1b31,_0x379de5[_0x4904(0x4c)]))_0x5b8211=_0x379de5[_0x4904(0x4d)](_0x3a568e,0xfa,0x1f4);else _0x4c1b31===_0x379de5[_0x4904(0x4e)]?_0x5b8211=_0x39092c(0x1f4,0x320):_0x5b8211=_0x379de5['UtsuM'](_0x5e195a,0x320,0x4b0);_0x2f8f9f[_0x4904(0x2e)](_0x5b8211),_0xda33f8+=_0x5b8211;}else _0x2ec62f[_0x4904(0x2e)]({'progress':0x64,'message':_0x96202e['text']});}else{const _0x4dc165=_0x1a49dd[_0x4904(0x4f)](randomInRange,_0x96202e[_0x4904(0x48)],_0x96202e[_0x4904(0x50)]);_0x2ec62f[_0x4904(0x2e)]({'progress':_0x4dc165,'message':_0x96202e[_0x4904(0x51)]});}}),_0x2ec62f['sort']((_0x1ad74d,_0x29ecb5)=>_0x1ad74d['progress']-_0x29ecb5[_0x4904(0x52)]);let _0x57d6ae=0x0,_0x27260e=0x0;for(let _0x3d910c=0x1;_0x1a49dd[_0x4904(0x53)](_0x3d910c,_0x508983);_0x3d910c++){if(_0x1a49dd[_0x4904(0x54)](_0x1a49dd[_0x4904(0x55)],'laVbh')){const _0x35fe10=_0x90086b[_0x3d910c],_0x31fa3b=_0x58ce05[_0x1a49dd[_0x4904(0x23)](_0x3d910c,0x1)];_0x57d6ae+=_0x31fa3b;const _0x2fc757=_0x1a49dd[_0x4904(0x56)](setTimeout,()=>{const _0x313857={'TQgJG':function(_0x26889c,_0x10eebe){return _0x26889c(_0x10eebe);},'nzBDK':function(_0x18c19e){return _0x314eb2[_0x4904(0x57)](_0x18c19e);}};while(_0x314eb2[_0x4904(0x58)](_0x27260e,_0x2ec62f[_0x4904(0x59)])&&_0x314eb2[_0x4904(0x5a)](_0x35fe10,_0x2ec62f[_0x27260e]['progress'])){_0x314eb2[_0x4904(0x5b)](_0x3eb980,_0x2ec62f[_0x27260e]['message']),_0x27260e++;}_0x314eb2['zgVmS'](_0x5513e0,_0x35fe10),Animated[_0x4904(0x1c)](_0x371ac8,{'toValue':_0x35fe10/0x64,'duration':_0x40e8c0,'useNativeDriver':![]})[_0x4904(0x1f)](),_0x314eb2[_0x4904(0x5a)](_0x35fe10,0x64)&&_0x314eb2[_0x4904(0x5c)](setTimeout,()=>{_0x313857[_0x4904(0x5d)](triggerHaptic,HapticType[_0x4904(0x5e)]),_0x313857[_0x4904(0x5f)](_0x20fc6e);},0x1f4);},_0x57d6ae);_0x585d9c[_0x4904(0xf)][_0x4904(0x2e)](_0x2fc757),_0x57d6ae+=_0x40e8c0;}else _0x17d4a2=_0x1a49dd['mALNN'](_0x17560f,0xfa,0x1f4);}return()=>{_0x585d9c[_0x4904(0xf)][_0x4904(0x26)](_0x335b1d=>clearTimeout(_0x335b1d)),_0x585d9c['current']=[];};},[_0x520362,_0x20fc6e,_0x371ac8]);if(!_0x520362)return null;return React['createElement'](View,{'style':styles['container']},React['createElement'](View,{'style':styles[_0x4904(0x60)]},React['createElement'](View,{'style':styles[_0x4904(0x61)]},React[_0x4904(0x62)](_0x1bc43a,{'source':ANIMATIONS[_0x4904(0x63)],'autoPlay':!![],'loop':!![],'style':styles[_0x4904(0x64)],'resizeMode':_0x4904(0x65)})),React['createElement'](View,{'style':styles[_0x4904(0x66)]},React[_0x4904(0x62)](Text,{'style':styles[_0x4904(0x67)]},_0x42084a),React['createElement'](View,{'style':styles['dotsContainer']},React[_0x4904(0x62)](Animated[_0x4904(0x68)],{'style':[styles[_0x4904(0x69)],{'opacity':_0x5977c8}]},'.'),React['createElement'](Animated['Text'],{'style':[styles['dot'],{'opacity':_0x3d15ac}]},'.'),React['createElement'](Animated[_0x4904(0x68)],{'style':[styles[_0x4904(0x69)],{'opacity':_0x3936d1}]},'.'))),React[_0x4904(0x62)](View,{'style':styles[_0x4904(0x6a)]},React[_0x4904(0x62)](View,{'style':styles[_0x4904(0x6b)]},React[_0x4904(0x62)](Animated[_0x4904(0x6c)],{'style':[styles[_0x4904(0x6d)],{'width':_0x371ac8['interpolate']({'inputRange':[0x0,0x1],'outputRange':['0%',_0x1a49dd['kVncr']]})}]})))));},styles=StyleSheet[_0x4904(0x6e)]({'container':{'flex':0x1,'backgroundColor':COLORS['surface']},'content':{'flex':0x1,'justifyContent':_0x4904(0x6f),'alignItems':_0x4904(0x6f),'paddingHorizontal':0x18,'marginTop':-0x50},'lottieContainer':{'width':0x168,'height':0x168,'marginBottom':0x20,'alignItems':'center','justifyContent':_0x4904(0x6f)},'lottieAnimation':{'width':_0x4904(0xe),'height':'100%'},'textContainer':{'flexDirection':'row','alignItems':'center','marginBottom':0x30},'loadingText':{'fontSize':0x18,'fontFamily':_0x4904(0x70),'fontWeight':'600','color':COLORS['grey800']},'dotsContainer':{'flexDirection':'row','marginLeft':0x4},'dot':{'fontSize':0x18,'fontFamily':_0x4904(0x70),'fontWeight':_0x4904(0x71),'color':COLORS[_0x4904(0x72)],'marginLeft':0x2},'progressContainer':{'width':_0x4904(0xe),'maxWidth':0x118},'progressTrack':{'height':0x6,'backgroundColor':'#E5E5E5','borderRadius':0x3,'overflow':'hidden'},'progressFill':{'height':'100%','backgroundColor':COLORS[_0x4904(0x72)],'borderRadius':0x3}});function _0x276c(){const _0x63df2d=['Keeping\x20your\x20data\x20private','Trying\x20to\x20understand\x20your\x20mind','You\x27re\x20more\x20interesting\x20than\x20I\x20expected','Finalizing\x20your\x20unique\x20persona','Almost\x20done','Complete!','random','TzFJr','floor','eLEpY','loReK','short','medium','long','100%','current','GcBeP','nRqPq','Value','JLWuA','aIHEd','ewdGf','JkbJh','qPrpn','yLmvO','qjJYg','loop','sequence','timing','MVeNF','bAJFv','start','NFCHM','tdYxg','bpdFa','YWbwj','CFYOw','JYqQW','forEach','setValue','IYKXS','fLpbc','tVyCv','lxEwE','WCXAT','yhTUT','push','max','min','gLtiu','oIcKH','BdFhG','cvauv','TQcEB','tqLNo','eCjKN','RfvQT','huVhi','VuPbG','pEUdP','cuwQn','eBrKL','isPQZ','rrGVr','opvRh','dUkQU','adhYQ','yAhnl','CpRIS','guAEQ','map','fnxOm','minProgress','geTsi','stLgN','RMmaE','qIaXi','Upwue','hkFtY','CEIFl','maxProgress','text','progress','BSKFq','QDKOK','dmxPO','jUBNu','EJZBA','BQdQU','length','GrKID','QUbQF','jbqmu','TQgJG','SUCCESS','nzBDK','content','lottieContainer','createElement','loader','lottieAnimation','contain','textContainer','loadingText','Text','dot','progressContainer','progressTrack','View','progressFill','create','center','IBM\x20Plex\x20Sans','600','grey800'];_0x276c=function(){return _0x63df2d;};return _0x276c();}export default PersonaLoadingScreen;
@@ -0,0 +1 @@
1
+ import React,{useState}from'react';import{View,Text,StyleSheet,TouchableOpacity,Image,ScrollView,ActivityIndicator}from'react-native';import{COLORS}from'../theme';import{triggerHaptic,HapticType}from'../utils/haptics';function _0x480f(){const _0x3b1d32=['vKDhs','UFXSF','WcfpX','\x20wants\x20to\x20personalize\x20your\x20experience','Choose\x20what\x20to\x20share:','#4CD964','Connected\x20Platforms','small','Accept\x20&\x20Continue','Nkvpd','bsDNI','ySEgT','XQDNr','BUTTON_PRESS','createElement','container','scrollView','scrollContent','iconContainer','onairosLogo','headerIcon','EjVQZ','enochIcon','enochAppIcon','titleContainer','welcomeBackText','Welcome\x20back!','title','cjKCW','subtitle','vdQsD','optionsContainer','optionRow','basicProfile','optionLeft','optionIcon','grey800','optionText','XsJdp','checkbox','grey700','checkboxContainer','grey400','personalityProfile','connectedPlatformsSection','connectedPlatformsTitle','NekwU','seoWt','length','connectedPlatformsIcons','connectedPlatformIconContainer','connectedPlatformIcon','contain','connectMoreButton','KvKLZ','connectMoreText','ZXCjT','connectMorePlusCircle','connectMorePlus','buttonContainer','acceptButton','acceptButtonActive','acceptButtonLoading','qNOtl','ibmnq','mFAcz','wstPE','Fragment','acceptButtonText','acceptButtonTextActive','buttonArrow','buttonArrowActive','xzTNd','EYDPn','AFlWl','Shwit','declineButtonText','aZJuZ','create','surface','center','#FFFFFF','#000','IBM\x20Plex\x20Sans','700','grey600','600','400','row','#F8F9FA','#E5E5E5','#2D3436','#999999','Inter','500','grey500','wrap'];_0x480f=function(){return _0x3b1d32;};return _0x480f();}import{getPlatformIcon}from'../services/connectedAccountsService';function _0x2faa(_0x480f40,_0x2faadc){_0x480f40=_0x480f40-0x0;const _0x3d7359=_0x480f();let _0x47b61d=_0x3d7359[_0x480f40];return _0x47b61d;}import{BRAND_IMAGES}from'../utils/assetRegistry';import{Basicproficon,Basicprofile,Contenticon,Personalityicon,Personalitytraits,Userpreferences,Checkbox,Checkmark}from'./icons';const PersonalizationConsentScreen=({visible:_0x6bbe6b,onAccept:_0x4dae95,onDecline:_0x28f10e,loading:loading=![],connectedPlatforms:connectedPlatforms=[],onConnectMore:_0x2eb2dc,isReturningUser:isReturningUser=![],appName:appName='Enoch'})=>{const _0x400d00={'XQDNr':function(_0x105c45,_0x58d970){return _0x105c45(_0x58d970);},'ySEgT':function(_0x36c8e0,_0x51107e){return _0x36c8e0(_0x51107e);},'QIsDB':function(_0x1cacfe,_0x16b609){return _0x1cacfe===_0x16b609;},'bsDNI':_0x2faa(0x0),'KvKLZ':function(_0x234af5){return _0x234af5();},'EYDPn':function(_0x36e011,_0x43f555){return _0x36e011!==_0x43f555;},'qNOtl':_0x2faa(0x1),'wstPE':function(_0x3eeab6,_0x13e3b5){return _0x3eeab6(_0x13e3b5);},'xzTNd':function(_0x420733){return _0x420733();},'OcHDV':_0x2faa(0x2),'EjVQZ':'contain','cjKCW':_0x2faa(0x3),'vdQsD':_0x2faa(0x4),'XsJdp':_0x2faa(0x5),'NekwU':_0x2faa(0x6),'seoWt':function(_0x54f5db,_0x2f0f2f){return _0x54f5db>_0x2f0f2f;},'ZXCjT':'Connect\x20more','FJbIs':_0x2faa(0x7),'PpQii':_0x2faa(0x8),'aZJuZ':'Decline'},[_0x3671b9,_0x44f9d8]=useState({'basicProfile':![],'contentAnalysis':![],'personalityProfile':![]}),_0xd98241=_0x19bac5=>{_0x400d00['QIsDB'](_0x2faa(0x9),_0x400d00[_0x2faa(0xa)])?(_0x400d00['XQDNr'](_0x4351e7,_0x348c33['BUTTON_PRESS']),_0x400d00[_0x2faa(0xb)](_0x44b5f2,_0x4371e7=>({..._0x4371e7,[_0x5bae21]:!_0x4371e7[_0x3f12e5]}))):(_0x400d00[_0x2faa(0xc)](triggerHaptic,HapticType[_0x2faa(0xd)]),_0x44f9d8(_0x577f0d=>({..._0x577f0d,[_0x19bac5]:!_0x577f0d[_0x19bac5]})));},_0x51199a=Object['values'](_0x3671b9)['some'](_0x16d256=>_0x16d256);if(!_0x6bbe6b)return null;return React[_0x2faa(0xe)](View,{'style':styles[_0x2faa(0xf)]},React[_0x2faa(0xe)](ScrollView,{'style':styles[_0x2faa(0x10)],'contentContainerStyle':styles[_0x2faa(0x11)],'showsVerticalScrollIndicator':![]},React[_0x2faa(0xe)](View,{'style':styles['headerContainer']},React[_0x2faa(0xe)](View,{'style':styles[_0x2faa(0x12)]},React[_0x2faa(0xe)](Image,{'source':BRAND_IMAGES[_0x2faa(0x13)],'style':styles[_0x2faa(0x14)],'resizeMode':_0x400d00[_0x2faa(0x15)]})),React[_0x2faa(0xe)](Text,{'style':styles['arrow']},'→'),React[_0x2faa(0xe)](Image,{'source':BRAND_IMAGES[_0x2faa(0x16)],'style':styles[_0x2faa(0x17)],'resizeMode':_0x400d00[_0x2faa(0x15)]})),React['createElement'](View,{'style':styles[_0x2faa(0x18)]},isReturningUser&&React[_0x2faa(0xe)](Text,{'style':styles[_0x2faa(0x19)]},_0x2faa(0x1a)),React['createElement'](Text,{'style':styles[_0x2faa(0x1b)]},appName,_0x400d00[_0x2faa(0x1c)]),React[_0x2faa(0xe)](Text,{'style':styles[_0x2faa(0x1d)]},_0x400d00[_0x2faa(0x1e)])),React[_0x2faa(0xe)](View,{'style':styles[_0x2faa(0x1f)]},React[_0x2faa(0xe)](TouchableOpacity,{'style':styles[_0x2faa(0x20)],'onPress':()=>_0xd98241(_0x2faa(0x21))},React[_0x2faa(0xe)](View,{'style':styles[_0x2faa(0x22)]},React[_0x2faa(0xe)](Basicproficon,{'width':0x20,'height':0x20,'fill':COLORS['grey700'],'style':styles[_0x2faa(0x23)]}),React['createElement'](Basicprofile,{'height':0x18,'fill':COLORS[_0x2faa(0x24)],'style':styles[_0x2faa(0x25)]})),React['createElement'](View,{'style':styles['checkboxContainer']},_0x3671b9[_0x2faa(0x21)]?React[_0x2faa(0xe)](Checkmark,{'width':0x18,'height':0x18,'fill':_0x400d00[_0x2faa(0x26)],'style':styles[_0x2faa(0x27)]}):React[_0x2faa(0xe)](Checkbox,{'width':0x18,'height':0x18,'stroke':COLORS['grey400'],'style':styles[_0x2faa(0x27)]}))),React[_0x2faa(0xe)](TouchableOpacity,{'style':styles[_0x2faa(0x20)],'onPress':()=>_0xd98241('contentAnalysis')},React[_0x2faa(0xe)](View,{'style':styles['optionLeft']},React['createElement'](Contenticon,{'width':0x20,'height':0x20,'fill':COLORS[_0x2faa(0x28)],'style':styles[_0x2faa(0x23)]}),React[_0x2faa(0xe)](Userpreferences,{'height':0x18,'fill':COLORS[_0x2faa(0x24)],'style':styles['optionText']})),React['createElement'](View,{'style':styles[_0x2faa(0x29)]},_0x3671b9['contentAnalysis']?React[_0x2faa(0xe)](Checkmark,{'width':0x18,'height':0x18,'fill':_0x400d00[_0x2faa(0x26)],'style':styles['checkbox']}):React[_0x2faa(0xe)](Checkbox,{'width':0x18,'height':0x18,'stroke':COLORS[_0x2faa(0x2a)],'style':styles[_0x2faa(0x27)]}))),React[_0x2faa(0xe)](TouchableOpacity,{'style':styles['optionRow'],'onPress':()=>_0xd98241('personalityProfile')},React[_0x2faa(0xe)](View,{'style':styles[_0x2faa(0x22)]},React[_0x2faa(0xe)](Personalityicon,{'width':0x20,'height':0x20,'fill':COLORS[_0x2faa(0x28)],'style':styles[_0x2faa(0x23)]}),React[_0x2faa(0xe)](Personalitytraits,{'height':0x18,'fill':COLORS[_0x2faa(0x24)],'style':styles['optionText']})),React[_0x2faa(0xe)](View,{'style':styles['checkboxContainer']},_0x3671b9[_0x2faa(0x2b)]?React['createElement'](Checkmark,{'width':0x18,'height':0x18,'fill':_0x400d00[_0x2faa(0x26)],'style':styles[_0x2faa(0x27)]}):React['createElement'](Checkbox,{'width':0x18,'height':0x18,'stroke':COLORS[_0x2faa(0x2a)],'style':styles[_0x2faa(0x27)]})))),React[_0x2faa(0xe)](View,{'style':styles[_0x2faa(0x2c)]},React['createElement'](Text,{'style':styles[_0x2faa(0x2d)]},_0x400d00[_0x2faa(0x2e)]),_0x400d00[_0x2faa(0x2f)](connectedPlatforms[_0x2faa(0x30)],0x0)&&React[_0x2faa(0xe)](View,{'style':styles[_0x2faa(0x31)]},connectedPlatforms['map'](_0x59523c=>React[_0x2faa(0xe)](View,{'key':_0x59523c,'style':styles[_0x2faa(0x32)]},React[_0x2faa(0xe)](Image,{'source':getPlatformIcon(_0x59523c),'style':styles[_0x2faa(0x33)],'resizeMode':_0x2faa(0x34)})))),_0x2eb2dc&&React[_0x2faa(0xe)](TouchableOpacity,{'style':styles[_0x2faa(0x35)],'onPress':()=>{_0x400d00['ySEgT'](triggerHaptic,HapticType[_0x2faa(0xd)]),_0x400d00[_0x2faa(0x36)](_0x2eb2dc);}},React[_0x2faa(0xe)](Text,{'style':styles[_0x2faa(0x37)]},_0x400d00[_0x2faa(0x38)]),React[_0x2faa(0xe)](View,{'style':styles[_0x2faa(0x39)]},React[_0x2faa(0xe)](Text,{'style':styles[_0x2faa(0x3a)]},'+'))))),React[_0x2faa(0xe)](View,{'style':styles[_0x2faa(0x3b)]},React['createElement'](TouchableOpacity,{'style':[styles[_0x2faa(0x3c)],_0x51199a&&styles[_0x2faa(0x3d)],loading&&styles[_0x2faa(0x3e)]],'onPress':()=>{const _0x401217={'ibmnq':function(_0xc505a6,_0x5bff1d){return _0x400d00[_0x2faa(0xc)](_0xc505a6,_0x5bff1d);},'mFAcz':function(_0x2b95aa){return _0x2b95aa();}};_0x400d00['EYDPn'](_0x400d00[_0x2faa(0x3f)],_0x400d00[_0x2faa(0x3f)])?(_0x401217[_0x2faa(0x40)](_0x4ec23e,_0x555e74[_0x2faa(0xd)]),_0x401217[_0x2faa(0x41)](_0x5b5933)):!loading&&(_0x400d00[_0x2faa(0x42)](triggerHaptic,HapticType['BUTTON_PRESS']),_0x400d00['KvKLZ'](_0x4dae95));},'disabled':loading,'activeOpacity':loading?0x1:0.7},loading?React[_0x2faa(0xe)](ActivityIndicator,{'size':_0x400d00['FJbIs'],'color':'#FFFFFF'}):React[_0x2faa(0xe)](React[_0x2faa(0x43)],null,React[_0x2faa(0xe)](Text,{'style':[styles[_0x2faa(0x44)],_0x51199a&&styles[_0x2faa(0x45)]]},_0x400d00['PpQii']),React[_0x2faa(0xe)](Text,{'style':[styles[_0x2faa(0x46)],_0x51199a&&styles[_0x2faa(0x47)]]},'→'))),React[_0x2faa(0xe)](TouchableOpacity,{'style':styles['declineButton'],'onPress':()=>{const _0x90aa05={'Shwit':function(_0x5b4d73){return _0x400d00[_0x2faa(0x48)](_0x5b4d73);}};_0x400d00[_0x2faa(0x49)](_0x400d00['OcHDV'],_0x2faa(0x4a))?(_0x400d00['wstPE'](triggerHaptic,HapticType[_0x2faa(0xd)]),_0x28f10e()):(_0x4360bf(_0x5642d3[_0x2faa(0xd)]),_0x90aa05[_0x2faa(0x4b)](_0x4704ce));}},React[_0x2faa(0xe)](Text,{'style':styles[_0x2faa(0x4c)]},_0x400d00[_0x2faa(0x4d)]))));},styles=StyleSheet[_0x2faa(0x4e)]({'container':{'flex':0x1,'backgroundColor':COLORS[_0x2faa(0x4f)],'paddingHorizontal':0x18,'paddingTop':0x28,'paddingBottom':0x8},'headerContainer':{'flexDirection':'row','alignItems':_0x2faa(0x50),'justifyContent':_0x2faa(0x50),'marginBottom':0xc,'marginTop':0x0},'iconContainer':{'width':0x40,'height':0x40,'backgroundColor':_0x2faa(0x51),'borderRadius':0xc,'alignItems':'center','justifyContent':_0x2faa(0x50),'marginHorizontal':0x8,'shadowColor':_0x2faa(0x52),'shadowOffset':{'width':0x0,'height':0x2},'shadowOpacity':0.1,'shadowRadius':0x4,'elevation':0x2},'headerIcon':{'width':0x2a,'height':0x2a},'enochAppIcon':{'width':0x48,'height':0x48,'marginHorizontal':0x8},'enochLetter':{'fontSize':0x1c,'fontFamily':_0x2faa(0x53),'fontWeight':_0x2faa(0x54),'color':COLORS[_0x2faa(0x24)]},'arrow':{'fontSize':0x18,'color':COLORS[_0x2faa(0x55)],'marginHorizontal':0x10},'titleContainer':{'alignItems':_0x2faa(0x50),'marginBottom':0x8},'welcomeBackText':{'fontSize':0x18,'fontFamily':_0x2faa(0x53),'fontWeight':_0x2faa(0x54),'color':COLORS[_0x2faa(0x24)],'textAlign':'center','marginBottom':0x2},'title':{'fontSize':0x14,'fontFamily':'IBM\x20Plex\x20Sans','fontWeight':_0x2faa(0x56),'color':COLORS[_0x2faa(0x24)],'textAlign':_0x2faa(0x50),'marginBottom':0xa},'subtitle':{'fontSize':0x10,'fontFamily':'Inter','fontWeight':_0x2faa(0x57),'color':COLORS[_0x2faa(0x55)],'textAlign':_0x2faa(0x50)},'scrollView':{'flex':0x1},'scrollContent':{'flexGrow':0x1},'optionsContainer':{'marginBottom':0x8},'optionRow':{'flexDirection':_0x2faa(0x58),'alignItems':_0x2faa(0x50),'justifyContent':'space-between','paddingVertical':0xc,'paddingHorizontal':0x2,'backgroundColor':_0x2faa(0x59),'borderRadius':0xc,'marginBottom':0x6,'marginHorizontal':0x0},'optionLeft':{'flexDirection':'row','alignItems':_0x2faa(0x50),'flex':0x1},'optionIcon':{'marginRight':0xc,'marginLeft':0x2,'marginTop':-0x4},'optionText':{'flex':0x1,'marginLeft':0x2},'checkboxContainer':{'paddingLeft':0x4,'paddingRight':0x2,'alignItems':_0x2faa(0x50),'justifyContent':_0x2faa(0x50)},'checkbox':{},'buttonContainer':{'gap':0x8,'paddingHorizontal':0x0,'paddingBottom':0x10,'marginTop':0x10},'acceptButton':{'backgroundColor':_0x2faa(0x5a),'borderRadius':0x19,'paddingVertical':0xa,'paddingHorizontal':0x18,'flexDirection':_0x2faa(0x58),'alignItems':_0x2faa(0x50),'justifyContent':_0x2faa(0x50)},'acceptButtonActive':{'backgroundColor':'#2D3436'},'acceptButtonLoading':{'backgroundColor':_0x2faa(0x5b),'opacity':0.8},'acceptButtonText':{'color':_0x2faa(0x5c),'fontSize':0x10,'fontFamily':'Inter','fontWeight':'600','marginRight':0x8},'acceptButtonTextActive':{'color':_0x2faa(0x51)},'buttonArrow':{'color':'#999999','fontSize':0x10},'buttonArrowActive':{'color':_0x2faa(0x51)},'declineButton':{'backgroundColor':'#E5E5E5','borderRadius':0x19,'paddingVertical':0xa,'paddingHorizontal':0x18,'alignItems':_0x2faa(0x50),'justifyContent':_0x2faa(0x50)},'declineButtonText':{'color':COLORS[_0x2faa(0x55)],'fontSize':0x10,'fontFamily':_0x2faa(0x5d),'fontWeight':_0x2faa(0x5e)},'connectedPlatformsSection':{'alignItems':_0x2faa(0x50),'paddingVertical':0xa,'paddingHorizontal':0x10,'backgroundColor':_0x2faa(0x59),'borderRadius':0x10,'marginBottom':0xa,'marginTop':0x10},'connectedPlatformsTitle':{'fontSize':0xf,'fontFamily':_0x2faa(0x5d),'fontWeight':_0x2faa(0x5e),'color':COLORS[_0x2faa(0x5f)],'marginBottom':0xa},'connectedPlatformsIcons':{'flexDirection':_0x2faa(0x58),'justifyContent':_0x2faa(0x50),'alignItems':_0x2faa(0x50),'flexWrap':_0x2faa(0x60),'gap':0xa,'marginBottom':0xa},'connectedPlatformIconContainer':{'width':0x30,'height':0x30,'borderRadius':0xa,'backgroundColor':_0x2faa(0x51),'justifyContent':_0x2faa(0x50),'alignItems':_0x2faa(0x50),'shadowColor':_0x2faa(0x52),'shadowOffset':{'width':0x0,'height':0x2},'shadowOpacity':0.1,'shadowRadius':0x4,'elevation':0x2},'connectedPlatformIcon':{'width':0x20,'height':0x20},'connectMoreButton':{'flexDirection':'row','alignItems':_0x2faa(0x50),'justifyContent':_0x2faa(0x50),'gap':0x8},'connectMoreText':{'fontSize':0x10,'fontFamily':_0x2faa(0x5d),'fontWeight':_0x2faa(0x5e),'color':COLORS[_0x2faa(0x5f)]},'connectMorePlusCircle':{'width':0x1c,'height':0x1c,'borderRadius':0xe,'borderWidth':0x2,'borderColor':COLORS[_0x2faa(0x2a)],'justifyContent':_0x2faa(0x50),'alignItems':_0x2faa(0x50)},'connectMorePlus':{'fontSize':0x12,'fontWeight':'500','color':COLORS[_0x2faa(0x5f)],'marginTop':-0x2}});export{PersonalizationConsentScreen};export default PersonalizationConsentScreen;