@onairos/react-native 3.6.9 → 3.7.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (273) hide show
  1. package/README.md +423 -423
  2. package/lib/commonjs/api/index.js +1 -1
  3. package/lib/commonjs/assets/icons/netflix.png +0 -0
  4. package/lib/commonjs/assets/images/Checkbox.svg +3 -3
  5. package/lib/commonjs/assets/images/EnochE.svg +19 -19
  6. package/lib/commonjs/assets/images/Personalityprofile.svg +3 -3
  7. package/lib/commonjs/assets/images/Personalitytraits.svg +3 -3
  8. package/lib/commonjs/assets/images/Userpreferences.svg +3 -3
  9. package/lib/commonjs/assets/images/arrow.svg +20 -20
  10. package/lib/commonjs/assets/images/basicproficon.svg +43 -43
  11. package/lib/commonjs/assets/images/basicprofile.svg +3 -3
  12. package/lib/commonjs/assets/images/checkmark.svg +4 -4
  13. package/lib/commonjs/assets/images/contentanalysis.svg +3 -3
  14. package/lib/commonjs/assets/images/contenticon.svg +23 -23
  15. package/lib/commonjs/assets/images/netflix.png +0 -0
  16. package/lib/commonjs/assets/images/personalityicon.svg +18 -18
  17. package/lib/commonjs/assets/images/x-close.svg +3 -3
  18. package/lib/commonjs/components/BodyText.js +1 -1
  19. package/lib/commonjs/components/BrandMark.js +1 -1
  20. package/lib/commonjs/components/CodeInput.js +1 -1
  21. package/lib/commonjs/components/EmailInput.js +1 -1
  22. package/lib/commonjs/components/GoogleButton.js +1 -1
  23. package/lib/commonjs/components/HeadingGroup.js +1 -1
  24. package/lib/commonjs/components/LLMDataInputModal.js +1 -1
  25. package/lib/commonjs/components/ModalHeader.js +1 -1
  26. package/lib/commonjs/components/ModalSheet.js +1 -1
  27. package/lib/commonjs/components/Onairos.js +1 -1
  28. package/lib/commonjs/components/OnairosButton.js +1 -1
  29. package/lib/commonjs/components/OnairosSignInButton.js +1 -1
  30. package/lib/commonjs/components/Overlay.js +1 -1
  31. package/lib/commonjs/components/PersonaImage.js +1 -1
  32. package/lib/commonjs/components/PersonaLoadingScreen.js +1 -1
  33. package/lib/commonjs/components/PersonalizationConsentScreen.js +1 -1
  34. package/lib/commonjs/components/PinCreationScreen.js +1 -1
  35. package/lib/commonjs/components/PinInput.js +1 -1
  36. package/lib/commonjs/components/PlatformConnectorsStep.js +1 -1
  37. package/lib/commonjs/components/PlatformList.js +1 -1
  38. package/lib/commonjs/components/PlatformToggle.js +1 -1
  39. package/lib/commonjs/components/PrimaryButton.js +1 -1
  40. package/lib/commonjs/components/SignInMatchAnimation.js +1 -1
  41. package/lib/commonjs/components/SignInStep.js +1 -1
  42. package/lib/commonjs/components/UniversalOnboarding.js +1 -1
  43. package/lib/commonjs/components/VerificationStep.js +1 -1
  44. package/lib/commonjs/components/WelcomeScreen.js +1 -1
  45. package/lib/commonjs/components/icons/Basicproficon.js +1 -1
  46. package/lib/commonjs/components/icons/Basicprofile.js +1 -1
  47. package/lib/commonjs/components/icons/Checkbox.js +1 -1
  48. package/lib/commonjs/components/icons/Checkmark.js +1 -1
  49. package/lib/commonjs/components/icons/Contentanalysis.js +1 -1
  50. package/lib/commonjs/components/icons/Contenticon.js +1 -1
  51. package/lib/commonjs/components/icons/EnochE.js +1 -1
  52. package/lib/commonjs/components/icons/Personalityicon.js +1 -1
  53. package/lib/commonjs/components/icons/Personalityprofile.js +1 -1
  54. package/lib/commonjs/components/icons/Personalitytraits.js +1 -1
  55. package/lib/commonjs/components/icons/Userpreferences.js +1 -1
  56. package/lib/commonjs/components/icons/index.js +1 -1
  57. package/lib/commonjs/components/onboarding/OAuthWebView.js +1 -1
  58. package/lib/commonjs/components/onboarding/OnboardingHeader.js +1 -1
  59. package/lib/commonjs/components/onboarding/PinInput.js +1 -1
  60. package/lib/commonjs/components/onboarding/PlatformConnector.js +1 -1
  61. package/lib/commonjs/config/api.js +1 -1
  62. package/lib/commonjs/constants/index.js +1 -1
  63. package/lib/commonjs/context/AuthContext.js +1 -1
  64. package/lib/commonjs/hooks/useConnectedAccounts.js +1 -1
  65. package/lib/commonjs/hooks/useConnections.js +1 -1
  66. package/lib/commonjs/hooks/useCredentials.js +1 -1
  67. package/lib/commonjs/hooks/useUserConnections.js +1 -1
  68. package/lib/commonjs/index.js +1 -1
  69. package/lib/commonjs/services/SDK_API_KEY_VALIDATION.md +421 -421
  70. package/lib/commonjs/services/apiClient.js +1 -1
  71. package/lib/commonjs/services/apiKeyService.js +99 -99
  72. package/lib/commonjs/services/authService.js +72 -72
  73. package/lib/commonjs/services/biometricPinService.js +1 -1
  74. package/lib/commonjs/services/chatGPTConversationExtractor.js +1 -1
  75. package/lib/commonjs/services/chatGPTConversationService.js +1 -1
  76. package/lib/commonjs/services/claudeConversationExtractor.js +1 -1
  77. package/lib/commonjs/services/claudeConversationService.js +1 -1
  78. package/lib/commonjs/services/connectedAccountsService.js +1 -1
  79. package/lib/commonjs/services/googleAuthService.js +1 -1
  80. package/lib/commonjs/services/hingeDataExtractor.js +1 -1
  81. package/lib/commonjs/services/hingeDataService.js +1 -1
  82. package/lib/commonjs/services/imageCompressionService.js +1 -1
  83. package/lib/commonjs/services/instagramDataExtractor.js +1 -1
  84. package/lib/commonjs/services/instagramDataService.js +1 -1
  85. package/lib/commonjs/services/jwtStorageService.js +1 -1
  86. package/lib/commonjs/services/linkedinDOMExtractor.js +1 -1
  87. package/lib/commonjs/services/linkedinProfileService.js +1 -1
  88. package/lib/commonjs/services/linkedinScrapingService.js +1 -1
  89. package/lib/commonjs/services/llmDataStorage.js +1 -1
  90. package/lib/commonjs/services/mobileTrainingService.js +1 -1
  91. package/lib/commonjs/services/netflixDataExtractor.js +8 -0
  92. package/lib/commonjs/services/netflixDataService.js +9 -0
  93. package/lib/commonjs/services/oauthService.js +20 -20
  94. package/lib/commonjs/services/pinEncryptionService.js +1 -1
  95. package/lib/commonjs/services/pinStorageUtils.js +1 -1
  96. package/lib/commonjs/services/platformAuthService.js +1 -1
  97. package/lib/commonjs/services/sephoraDataExtractor.js +1 -1
  98. package/lib/commonjs/services/sephoraDataService.js +1 -1
  99. package/lib/commonjs/services/spotifyDataExtractor.js +8 -0
  100. package/lib/commonjs/services/spotifyDataService.js +9 -0
  101. package/lib/commonjs/services/storageService.js +1 -1
  102. package/lib/commonjs/services/telegramDataExtractor.js +1 -1
  103. package/lib/commonjs/services/telegramDataService.js +1 -1
  104. package/lib/commonjs/services/trainingApiHelpers.js +1 -1
  105. package/lib/commonjs/services/userConnectionsService.js +1 -1
  106. package/lib/commonjs/services/youtubeMigrationService.js +1 -1
  107. package/lib/commonjs/theme/index.js +1 -1
  108. package/lib/commonjs/types/index.js +1 -1
  109. package/lib/commonjs/types.js +1 -1
  110. package/lib/commonjs/utils/Portal.js +1 -1
  111. package/lib/commonjs/utils/api.js +1 -1
  112. package/lib/commonjs/utils/assetRegistry.js +3 -1
  113. package/lib/commonjs/utils/auth.js +1 -1
  114. package/lib/commonjs/utils/connectorTests.js +1 -1
  115. package/lib/commonjs/utils/crypto.js +1 -1
  116. package/lib/commonjs/utils/debugHelper.js +1 -1
  117. package/lib/commonjs/utils/encryption.js +1 -1
  118. package/lib/commonjs/utils/eventUtils.js +1 -1
  119. package/lib/commonjs/utils/haptics.js +1 -1
  120. package/lib/commonjs/utils/imagePreloader.js +1 -1
  121. package/lib/commonjs/utils/networkDiagnostics.js +1 -1
  122. package/lib/commonjs/utils/onairosApi.js +1 -1
  123. package/lib/commonjs/utils/programmaticFlow.js +1 -1
  124. package/lib/commonjs/utils/retryHelper.js +1 -1
  125. package/lib/commonjs/utils/secureStorage.js +1 -1
  126. package/lib/commonjs/utils/webviewScripts/chatgpt.js +1 -1
  127. package/lib/commonjs/utils/webviewScripts/claude.js +1 -1
  128. package/lib/commonjs/utils/webviewScripts/hinge.js +1 -1
  129. package/lib/commonjs/utils/webviewScripts/index.js +4 -2
  130. package/lib/commonjs/utils/webviewScripts/instagram.js +1 -1
  131. package/lib/commonjs/utils/webviewScripts/linkedin.js +1 -1
  132. package/lib/commonjs/utils/webviewScripts/netflix.js +1 -0
  133. package/lib/commonjs/utils/webviewScripts/sephora.js +1 -1
  134. package/lib/commonjs/utils/webviewScripts/spotify.js +1 -0
  135. package/lib/commonjs/utils/webviewScripts/telegram.js +1 -1
  136. package/lib/module/api/index.js +1 -1
  137. package/lib/module/assets/icons/netflix.png +0 -0
  138. package/lib/module/assets/images/Checkbox.svg +3 -3
  139. package/lib/module/assets/images/EnochE.svg +19 -19
  140. package/lib/module/assets/images/Personalityprofile.svg +3 -3
  141. package/lib/module/assets/images/Personalitytraits.svg +3 -3
  142. package/lib/module/assets/images/Userpreferences.svg +3 -3
  143. package/lib/module/assets/images/arrow.svg +20 -20
  144. package/lib/module/assets/images/basicproficon.svg +43 -43
  145. package/lib/module/assets/images/basicprofile.svg +3 -3
  146. package/lib/module/assets/images/checkmark.svg +4 -4
  147. package/lib/module/assets/images/contentanalysis.svg +3 -3
  148. package/lib/module/assets/images/contenticon.svg +23 -23
  149. package/lib/module/assets/images/netflix.png +0 -0
  150. package/lib/module/assets/images/personalityicon.svg +18 -18
  151. package/lib/module/assets/images/x-close.svg +3 -3
  152. package/lib/module/components/BodyText.js +1 -1
  153. package/lib/module/components/BrandMark.js +1 -1
  154. package/lib/module/components/CodeInput.js +1 -1
  155. package/lib/module/components/EmailInput.js +1 -1
  156. package/lib/module/components/GoogleButton.js +1 -1
  157. package/lib/module/components/HeadingGroup.js +1 -1
  158. package/lib/module/components/LLMDataInputModal.js +1 -1
  159. package/lib/module/components/ModalHeader.js +1 -1
  160. package/lib/module/components/ModalSheet.js +1 -1
  161. package/lib/module/components/Onairos.js +1 -1
  162. package/lib/module/components/OnairosButton.js +1 -1
  163. package/lib/module/components/OnairosSignInButton.js +1 -1
  164. package/lib/module/components/Overlay.js +1 -1
  165. package/lib/module/components/PersonaImage.js +1 -1
  166. package/lib/module/components/PersonaLoadingScreen.js +1 -1
  167. package/lib/module/components/PersonalizationConsentScreen.js +1 -1
  168. package/lib/module/components/PinCreationScreen.js +1 -1
  169. package/lib/module/components/PinInput.js +1 -1
  170. package/lib/module/components/PlatformConnectorsStep.js +1 -1
  171. package/lib/module/components/PlatformList.js +1 -1
  172. package/lib/module/components/PlatformToggle.js +1 -1
  173. package/lib/module/components/PrimaryButton.js +1 -1
  174. package/lib/module/components/SignInMatchAnimation.js +1 -1
  175. package/lib/module/components/SignInStep.js +1 -1
  176. package/lib/module/components/UniversalOnboarding.js +1 -1
  177. package/lib/module/components/VerificationStep.js +1 -1
  178. package/lib/module/components/WelcomeScreen.js +1 -1
  179. package/lib/module/components/icons/Basicproficon.js +1 -1
  180. package/lib/module/components/icons/Basicprofile.js +1 -1
  181. package/lib/module/components/icons/Checkbox.js +1 -1
  182. package/lib/module/components/icons/Checkmark.js +1 -1
  183. package/lib/module/components/icons/Contentanalysis.js +1 -1
  184. package/lib/module/components/icons/Contenticon.js +1 -1
  185. package/lib/module/components/icons/EnochE.js +1 -1
  186. package/lib/module/components/icons/Personalityicon.js +1 -1
  187. package/lib/module/components/icons/Personalityprofile.js +1 -1
  188. package/lib/module/components/icons/Personalitytraits.js +1 -1
  189. package/lib/module/components/icons/Userpreferences.js +1 -1
  190. package/lib/module/components/onboarding/OAuthWebView.js +1 -1
  191. package/lib/module/components/onboarding/OnboardingHeader.js +1 -1
  192. package/lib/module/components/onboarding/PinInput.js +1 -1
  193. package/lib/module/components/onboarding/PlatformConnector.js +1 -1
  194. package/lib/module/config/api.js +1 -1
  195. package/lib/module/constants/index.js +1 -1
  196. package/lib/module/context/AuthContext.js +1 -1
  197. package/lib/module/hooks/useConnectedAccounts.js +1 -1
  198. package/lib/module/hooks/useConnections.js +1 -1
  199. package/lib/module/hooks/useCredentials.js +1 -1
  200. package/lib/module/hooks/useUserConnections.js +1 -1
  201. package/lib/module/index.js +1 -1
  202. package/lib/module/services/SDK_API_KEY_VALIDATION.md +421 -421
  203. package/lib/module/services/apiClient.js +1 -1
  204. package/lib/module/services/apiKeyService.js +99 -99
  205. package/lib/module/services/authService.js +72 -72
  206. package/lib/module/services/biometricPinService.js +1 -1
  207. package/lib/module/services/chatGPTConversationExtractor.js +1 -1
  208. package/lib/module/services/chatGPTConversationService.js +1 -1
  209. package/lib/module/services/claudeConversationExtractor.js +1 -1
  210. package/lib/module/services/claudeConversationService.js +1 -1
  211. package/lib/module/services/connectedAccountsService.js +1 -1
  212. package/lib/module/services/googleAuthService.js +1 -1
  213. package/lib/module/services/hingeDataExtractor.js +1 -1
  214. package/lib/module/services/hingeDataService.js +1 -1
  215. package/lib/module/services/imageCompressionService.js +1 -1
  216. package/lib/module/services/instagramDataExtractor.js +1 -1
  217. package/lib/module/services/instagramDataService.js +1 -1
  218. package/lib/module/services/jwtStorageService.js +1 -1
  219. package/lib/module/services/linkedinDOMExtractor.js +1 -1
  220. package/lib/module/services/linkedinProfileService.js +1 -1
  221. package/lib/module/services/linkedinScrapingService.js +1 -1
  222. package/lib/module/services/llmDataStorage.js +1 -1
  223. package/lib/module/services/mobileTrainingService.js +1 -1
  224. package/lib/module/services/netflixDataExtractor.js +1 -0
  225. package/lib/module/services/netflixDataService.js +1 -0
  226. package/lib/module/services/oauthService.js +20 -20
  227. package/lib/module/services/pinEncryptionService.js +1 -1
  228. package/lib/module/services/pinStorageUtils.js +1 -1
  229. package/lib/module/services/platformAuthService.js +1 -1
  230. package/lib/module/services/sephoraDataExtractor.js +1 -1
  231. package/lib/module/services/sephoraDataService.js +1 -1
  232. package/lib/module/services/spotifyDataExtractor.js +1 -0
  233. package/lib/module/services/spotifyDataService.js +1 -0
  234. package/lib/module/services/storageService.js +1 -1
  235. package/lib/module/services/telegramDataExtractor.js +1 -1
  236. package/lib/module/services/telegramDataService.js +1 -1
  237. package/lib/module/services/trainingApiHelpers.js +1 -1
  238. package/lib/module/services/userConnectionsService.js +1 -1
  239. package/lib/module/services/youtubeMigrationService.js +1 -1
  240. package/lib/module/theme/index.js +1 -1
  241. package/lib/module/types.js +1 -1
  242. package/lib/module/utils/Portal.js +1 -1
  243. package/lib/module/utils/api.js +1 -1
  244. package/lib/module/utils/assetRegistry.js +3 -1
  245. package/lib/module/utils/auth.js +1 -1
  246. package/lib/module/utils/connectorTests.js +1 -1
  247. package/lib/module/utils/crypto.js +1 -1
  248. package/lib/module/utils/debugHelper.js +1 -1
  249. package/lib/module/utils/encryption.js +1 -1
  250. package/lib/module/utils/eventUtils.js +1 -1
  251. package/lib/module/utils/haptics.js +1 -1
  252. package/lib/module/utils/networkDiagnostics.js +1 -1
  253. package/lib/module/utils/onairosApi.js +1 -1
  254. package/lib/module/utils/programmaticFlow.js +1 -1
  255. package/lib/module/utils/retryHelper.js +1 -1
  256. package/lib/module/utils/secureStorage.js +1 -1
  257. package/lib/module/utils/webviewScripts/chatgpt.js +1 -1
  258. package/lib/module/utils/webviewScripts/claude.js +1 -1
  259. package/lib/module/utils/webviewScripts/hinge.js +1 -1
  260. package/lib/module/utils/webviewScripts/index.js +1 -1
  261. package/lib/module/utils/webviewScripts/instagram.js +1 -1
  262. package/lib/module/utils/webviewScripts/linkedin.js +1 -1
  263. package/lib/module/utils/webviewScripts/netflix.js +1 -0
  264. package/lib/module/utils/webviewScripts/sephora.js +1 -1
  265. package/lib/module/utils/webviewScripts/spotify.js +1 -0
  266. package/lib/module/utils/webviewScripts/telegram.js +1 -1
  267. package/package.json +172 -172
  268. package/lib/commonjs/config/PLATFORM_APIS.md +0 -559
  269. package/lib/commonjs/config/telegramConfig.js +0 -8
  270. package/lib/commonjs/config/webchangelog/md +0 -607
  271. package/lib/module/config/PLATFORM_APIS.md +0 -559
  272. package/lib/module/config/telegramConfig.js +0 -8
  273. package/lib/module/config/webchangelog/md +0 -607
@@ -1 +1 @@
1
- function _0x3171(_0x2d86ea,_0x31712e){_0x2d86ea=_0x2d86ea-0x0;const _0x218e8b=_0x2d86();let _0x3b712b=_0x218e8b[_0x2d86ea];return _0x3b712b;}import React,{useState,useCallback,forwardRef,useImperativeHandle,useEffect}from'react';import{TouchableOpacity,Text,StyleSheet,View,ActivityIndicator,Dimensions,Image,Alert}from'react-native';import _0xc11574 from'react-native-linear-gradient';import{UniversalOnboarding}from'./UniversalOnboarding';import _0x540321 from'./WelcomeScreen';import{isApiKeyInitialized,getApiConfig}from'../services/apiKeyService';import{BRAND_IMAGES}from'../utils/assetRegistry';function _0x2d86(){const _0x18ebf2=['normal','default','#1BA9D4','right','black','[OnairosButton]\x20Error\x20in\x20handlePress:','ctrJX','[OnairosButton]\x20Precheck\x20failed.\x20Setting\x20showOnboarding\x20to\x20false\x20(indirectly,\x20by\x20not\x20setting\x20to\x20true).','[OnairosButton]\x20handlePress\x20called.','❌\x20[OnairosButton]\x20SDK\x20NOT\x20INITIALIZED:','SDK\x20Not\x20Initialized','sjOcm','kXgvP','[OnairosButton]\x20SDK\x20initialized\x20with\x20API\x20key:','yjNMJ','User\x20closed\x20onboarding','connect','Sign\x20in\x20with\x20Onairos','Sign\x20up\x20with\x20Onairos','[OnairosButton]\x20handleOnboardingComplete:\x20Setting\x20showOnboarding\x20to\x20false.','[OnairosButton]\x20Rendering\x20JSX\x20with\x20props:','pill','#f5e7c1','#C7A047','absolute','#FFFFFF','Small','Premium\x20tier','onairosevents://auth/callback','AOyiy','juCmn','HsIKD','log','[OnairosButton]\x20LogEffect:\x20showOnboarding\x20state\x20changed\x20to:','error','UnSbF','NsVFH','xvCNU','message','iiyHV','HcDNP','JXiiT','resolve','EATTf','GUAOl','qeXpD','Precheck\x20validation\x20failed','eYbDu','fTbsY','MCVJt','wvRzL','Onairos\x20SDK\x20not\x20initialized.\x20Developers\x20must\x20call\x20initializeApiKey()\x20with\x20a\x20valid\x20API\x20key\x20before\x20using\x20SDK\x20components.\x20Get\x20your\x20API\x20key\x20from\x20https://dashboard.onairos.uk','KadeX','SilsP','LIRcN','alert','HDziV','EtaYZ','cMoma','vwjjK','MFsEW','ukNhB','UIdqt','UpGGv','YRpxY','tUOmb','apiKey','substring','...','yQtki','NbQfH','buYZL','PFpFD','GLSoB','KCHlO','gwzzK','CPlMw','mIiZh','tgmAn','Connect\x20Onairos','login','PKJHo','yljTt','cvidA','xIxAB','zvdNi','[OnairosButton]\x20handleOnboardingClose:\x20Setting\x20showOnboarding\x20to\x20false.','OwIHY','gdxTj','createElement','Fragment','button','RSgJf','eMllD','pillButton','strokedButton','swervButton','ppfnm','jkQvb','vhTeU','#8B6914','rBrzB','jahyf','buttonContent','logoContainer','buttonText','Basic\x20tier','Free\x20access','NrlwV','hcRYl','Large','fRsxY','Full\x20personalization','WxYGb','qbfGm','create','row','center','#000','hidden','bold','-2deg','600'];_0x2d86=function(){return _0x18ebf2;};return _0x2d86();}const {width}=Dimensions['get']('window');export const OnairosButton=forwardRef(({AppName:_0x57256b,buttonType:buttonType=_0x3171(0x0),buttonWidth:buttonWidth=0xb4,buttonHeight:buttonHeight=0x30,hasStroke:hasStroke=![],enabled:enabled=!![],buttonForm:buttonForm=_0x3171(0x1),onResolved:_0x2f80b6,onRejection:_0x2458d4,preCheck:_0x5b6a31,color:color=_0x3171(0x2),swerv:swerv=![],darkMode:darkMode=![],returnLink:_0x19848c,preferredPlatform:_0x2eca7e,autoFetch:autoFetch=![],inferenceData:_0x5634dd,textLayout:textLayout=_0x3171(0x3),textColor:textColor=_0x3171(0x4),proofMode:proofMode=![],webpageName:_0x4e5d7e,debug:debug=![],testMode:testMode=![],requestData:_0x129192,onPress:_0x17f315,primaryAuthOnly:primaryAuthOnly=![],useNewWelcomeFlow:useNewWelcomeFlow=![]},_0x379946)=>{const _0x277592={'UnSbF':_0x3171(0x5),'NsVFH':function(_0x521ce3,_0x276d2f){return _0x521ce3===_0x276d2f;},'xvCNU':function(_0x490d79,_0x4b6abe){return _0x490d79===_0x4b6abe;},'IGxkJ':function(_0x3778f5,_0x9a43f7){return _0x3778f5 instanceof _0x9a43f7;},'iiyHV':'Unknown\x20error','HcDNP':function(_0x564a4e,_0x34c6f6){return _0x564a4e(_0x34c6f6);},'oyDTO':'IoXno','JXiiT':function(_0x38a67b){return _0x38a67b();},'EATTf':_0x3171(0x6),'GUAOl':_0x3171(0x7),'qeXpD':function(_0x24684b,_0x49a2ba){return _0x24684b===_0x49a2ba;},'eYbDu':function(_0xa6d408,_0x19a39b){return _0xa6d408(_0x19a39b);},'fTbsY':function(_0xebcc4a,_0x497915){return _0xebcc4a(_0x497915);},'HsIKD':function(_0x5f1372,_0x51d36f,_0x44c9e1){return _0x5f1372(_0x51d36f,_0x44c9e1);},'MCVJt':_0x3171(0x8),'wvRzL':function(_0x198da9){return _0x198da9();},'KadeX':_0x3171(0x9),'SilsP':function(_0x19fe2e,_0x80e399){return _0x19fe2e!==_0x80e399;},'IQdPb':'GKGOs','LIRcN':'Pbnip','HDziV':_0x3171(0xa),'ukNhB':function(_0x16d1f2,_0x13e02f){return _0x16d1f2(_0x13e02f);},'UIdqt':_0x3171(0xb),'HrLSf':_0x3171(0xc),'UpGGv':_0x3171(0xd),'YRpxY':function(_0x1f0e68,_0x14a1f0){return _0x1f0e68+_0x14a1f0;},'tUOmb':function(_0x25cdad,_0x4eb54e){return _0x25cdad===_0x4eb54e;},'NbQfH':_0x3171(0xe),'LUNNu':'Precheck\x20validation\x20failed','PFpFD':function(_0x51a434,_0x3c7de0){return _0x51a434(_0x3c7de0);},'GLSoB':'ORoeI','CPlMw':function(_0x1407f8,_0x2baca1){return _0x1407f8===_0x2baca1;},'EFduu':function(_0x399c71,_0x4ee4e3){return _0x399c71(_0x4ee4e3);},'cvidA':_0x3171(0xf),'mIiZh':'tgmAn','fLNQW':_0x3171(0x10),'RpdNP':_0x3171(0x11),'PKJHo':'signup','yljTt':_0x3171(0x12),'xIxAB':_0x3171(0x13),'zvdNi':function(_0x1dc504,_0x1e0230){return _0x1dc504(_0x1e0230);},'Fibfw':function(_0x5198f2){return _0x5198f2();},'sKYAC':function(_0x4f369f,_0x3c9a89){return _0x4f369f(_0x3c9a89);},'OwIHY':function(_0x236016,_0x30e005){return _0x236016(_0x30e005);},'AOyiy':function(_0x421ec3,_0x3806f8){return _0x421ec3(_0x3806f8);},'COjQb':function(_0x2ccf5d,_0x117bf5){return _0x2ccf5d(_0x117bf5);},'juCmn':'[OnairosButton]\x20Initializing.\x20Initial\x20showOnboarding:','gdxTj':_0x3171(0x14),'RSgJf':function(_0x22cd0d,_0x2d7905){return _0x22cd0d===_0x2d7905;},'eMllD':_0x3171(0x15),'ppfnm':function(_0x576b41,_0x44f324){return _0x576b41||_0x44f324;},'jkQvb':_0x3171(0x16),'vhTeU':_0x3171(0x17),'JqQXY':_0x3171(0x18),'rBrzB':'small','jahyf':_0x3171(0x19),'GBQlz':function(_0xc1b5d8){return _0xc1b5d8();},'CxPWm':_0x3171(0x1a),'NrlwV':'Medium','hcRYl':'Standard\x20tier','fRsxY':_0x3171(0x1b),'WxYGb':function(_0x3e6671,_0x1c4799){return _0x3e6671||_0x1c4799;},'qbfGm':_0x3171(0x1c)},[_0x38a3f2,_0x3ee61e]=useState(![]),[_0x23ad15,_0x3561da]=_0x277592[_0x3171(0x1d)](useState,![]),[_0x418106,_0x80776a]=_0x277592['COjQb'](useState,![]);console['log'](_0x277592[_0x3171(0x1e)],_0x418106),_0x277592[_0x3171(0x1f)](useEffect,()=>{_0x277592['oyDTO']!=='byLmR'?console[_0x3171(0x20)](_0x3171(0x21),_0x418106):(_0x4f0a79[_0x3171(0x22)](_0x277592[_0x3171(0x23)],_0x3d684b),_0x277592[_0x3171(0x24)](_0xa9b82c,null)||_0x277592[_0x3171(0x25)](_0x25efb5,void 0x0)||_0x10141d(_0x277592['IGxkJ'](_0x1dd090,_0x3c967d)?_0x5b200e[_0x3171(0x26)]:_0x277592[_0x3171(0x27)]),_0x277592[_0x3171(0x28)](_0x5696c1,![]));},[_0x418106]),useImperativeHandle(_0x379946,()=>({'trigger':async()=>{return await _0x277592[_0x3171(0x29)](_0x326aaf),Promise[_0x3171(0x2a)]();},'reset':async()=>{const _0x5ac604={'JTNcX':function(_0x5536f5,_0x3fd632,_0x2b6ad8){return _0x5536f5(_0x3fd632,_0x2b6ad8);}};if(_0x277592[_0x3171(0x2b)]==='ctrJX')return Promise[_0x3171(0x2a)]();else _0x7e7644[_0x3171(0x20)]('[OnairosButton]\x20handleOnboardingComplete:\x20Setting\x20showOnboarding\x20to\x20false.'),_0x544ada(![]),_0x1a70c2&&_0x5ac604['JTNcX'](_0x3c71f2,_0xad2de6,_0x164217),_0x21c7f6&&_0x1ae8b8();}}));const _0x326aaf=async()=>{const _0x5239a7={'EtaYZ':_0x277592[_0x3171(0x2c)],'cEplb':function(_0x26ac76,_0x402068){return _0x277592[_0x3171(0x2d)](_0x26ac76,_0x402068);},'cMoma':function(_0x59443d,_0x3da1a5){return _0x59443d(_0x3da1a5);},'vwjjK':_0x3171(0x2e),'MFsEW':function(_0x21212c,_0x1356ee){return _0x277592[_0x3171(0x2f)](_0x21212c,_0x1356ee);},'yQtki':function(_0x2b5a70){return _0x2b5a70();},'buYZL':function(_0x2ca8e1,_0x3c6c2f){return _0x277592[_0x3171(0x30)](_0x2ca8e1,_0x3c6c2f);},'gwzzK':function(_0x1e1bc4,_0x21be6e,_0xb603c3){return _0x277592[_0x3171(0x1f)](_0x1e1bc4,_0x21be6e,_0xb603c3);}};console['log'](_0x277592[_0x3171(0x31)]);if(!enabled||_0x38a3f2)return;_0x3ee61e(!![]);try{if(!_0x277592[_0x3171(0x32)](isApiKeyInitialized)){const _0x75a69c=_0x3171(0x33);console[_0x3171(0x22)](_0x277592[_0x3171(0x34)],_0x75a69c);if(_0x2458d4)_0x2458d4(_0x75a69c);else{if(_0x277592[_0x3171(0x35)](_0x277592['IQdPb'],_0x277592[_0x3171(0x36)]))Alert[_0x3171(0x37)](_0x277592[_0x3171(0x38)],'The\x20Onairos\x20SDK\x20requires\x20initialization\x20with\x20a\x20valid\x20API\x20key.\x0a\x0aDevelopers:\x20Please\x20call\x20initializeApiKey()\x20before\x20using\x20OnairosButton.',[{'text':'OK'}]);else{_0x1ce8f4[_0x3171(0x20)](_0x5239a7[_0x3171(0x39)]),_0x5239a7['cEplb'](_0x37a366,null)||_0x5a86df===void 0x0||_0x5239a7[_0x3171(0x3a)](_0x39c3ad,_0x5239a7[_0x3171(0x3b)]),_0x5239a7[_0x3171(0x3c)](_0x961d92,![]);return;}}_0x277592[_0x3171(0x3d)](_0x3ee61e,![]);return;}const _0x5ae308=getApiConfig();if(debug){if(_0x277592[_0x3171(0x35)](_0x277592[_0x3171(0x3e)],_0x277592['HrLSf'])){var _0x561da6;console[_0x3171(0x20)](_0x277592[_0x3171(0x3f)],_0x277592[_0x3171(0x40)](_0x277592['xvCNU'](_0x5ae308,null)||_0x277592[_0x3171(0x41)](_0x5ae308,void 0x0)||_0x277592[_0x3171(0x41)](_0x561da6=_0x5ae308[_0x3171(0x42)],null)||_0x561da6===void 0x0?void 0x0:_0x561da6[_0x3171(0x43)](0x0,0x8),_0x3171(0x44)));}else _0x5239a7[_0x3171(0x45)](_0x2e54d3);}if(_0x5b6a31){if(_0x277592[_0x3171(0x35)](_0x277592[_0x3171(0x46)],_0x277592[_0x3171(0x46)]))_0x5239a7[_0x3171(0x47)](_0x8b8a0b,_0x377c27);else{const _0x38f7b7=await _0x5b6a31();if(!_0x38f7b7){console[_0x3171(0x20)]('[OnairosButton]\x20Precheck\x20failed.\x20Setting\x20showOnboarding\x20to\x20false\x20(indirectly,\x20by\x20not\x20setting\x20to\x20true).'),_0x277592['NsVFH'](_0x2458d4,null)||_0x277592[_0x3171(0x25)](_0x2458d4,void 0x0)||_0x2458d4(_0x277592['LUNNu']),_0x277592[_0x3171(0x48)](_0x3ee61e,![]);return;}}}console[_0x3171(0x20)]('[OnairosButton]\x20handlePress:\x20Setting\x20showOnboarding\x20to\x20true.'),_0x80776a(!![]),_0x3ee61e(![]);}catch(_0x3ba59b){_0x277592[_0x3171(0x2d)](_0x277592[_0x3171(0x49)],_0x3171(0x4a))?_0x5239a7[_0x3171(0x4b)](_0xb04fb5,_0x33ce2c,_0x566452):(console[_0x3171(0x22)](_0x277592[_0x3171(0x23)],_0x3ba59b),_0x277592['NsVFH'](_0x2458d4,null)||_0x277592[_0x3171(0x4c)](_0x2458d4,void 0x0)||_0x277592['EFduu'](_0x2458d4,_0x277592['IGxkJ'](_0x3ba59b,Error)?_0x3ba59b['message']:_0x277592['iiyHV']),_0x277592[_0x3171(0x30)](_0x3ee61e,![]));}},_0x201950=()=>{if(_0x277592[_0x3171(0x4d)]===_0x3171(0x4e))switch(buttonForm){case _0x277592['fLNQW']:return _0x3171(0x4f);case _0x3171(0x50):return _0x277592['RpdNP'];case _0x277592[_0x3171(0x51)]:return _0x277592[_0x3171(0x52)];default:return _0x3171(0x4f);}else _0x277592[_0x3171(0x3d)](_0x3a8007,_0x277592[_0x3171(0x53)]);},_0x1cc0e9=_0x277592['HsIKD'](useCallback,(_0x5ab24,_0x2ad034)=>{console[_0x3171(0x20)](_0x277592[_0x3171(0x54)]),_0x277592[_0x3171(0x55)](_0x80776a,![]),_0x2f80b6&&_0x2f80b6(_0x5ab24,_0x2ad034),_0x17f315&&_0x277592['Fibfw'](_0x17f315);},[_0x2f80b6,_0x17f315]),_0x4332e8=_0x277592['HsIKD'](useCallback,()=>{console[_0x3171(0x20)](_0x3171(0x56)),_0x277592['sKYAC'](_0x80776a,![]),_0x2458d4&&_0x277592[_0x3171(0x57)](_0x2458d4,_0x277592[_0x3171(0x53)]);},[_0x2458d4]);return console[_0x3171(0x20)](_0x277592[_0x3171(0x58)],{'AppName':_0x57256b,'buttonType':buttonType,'buttonWidth':buttonWidth,'buttonHeight':buttonHeight,'hasStroke':hasStroke,'enabled':enabled,'buttonForm':buttonForm,'onResolved':_0x2f80b6,'onRejection':_0x2458d4,'preCheck':_0x5b6a31,'color':color,'swerv':swerv,'darkMode':darkMode,'returnLink':_0x19848c,'preferredPlatform':_0x2eca7e,'autoFetch':autoFetch,'inferenceData':_0x5634dd,'textLayout':textLayout,'textColor':textColor,'proofMode':proofMode,'webpageName':_0x4e5d7e,'debug':debug,'testMode':testMode,'requestData':_0x129192,'onPress':_0x17f315,'primaryAuthOnly':primaryAuthOnly,'useNewWelcomeFlow':useNewWelcomeFlow}),React[_0x3171(0x59)](React[_0x3171(0x5a)],null,React[_0x3171(0x59)](View,null,React[_0x3171(0x59)](TouchableOpacity,{'style':[styles[_0x3171(0x5b)],_0x277592[_0x3171(0x5c)](buttonType,_0x277592[_0x3171(0x5d)])&&styles[_0x3171(0x5e)],hasStroke&&styles[_0x3171(0x5f)],{'width':buttonWidth,'height':buttonHeight},swerv&&styles[_0x3171(0x60)],!enabled&&styles['disabledButton']],'onPress':_0x326aaf,'disabled':_0x277592[_0x3171(0x61)](!enabled,_0x38a3f2),'onPressIn':()=>_0x3561da(!![]),'onPressOut':()=>_0x3561da(![])},React[_0x3171(0x59)](_0xc11574,{'colors':[_0x277592[_0x3171(0x62)],_0x277592[_0x3171(0x63)],_0x3171(0x64)],'start':{'x':0x0,'y':0x0},'end':{'x':0x1,'y':0x0},'style':{'position':_0x277592['JqQXY'],'left':0x0,'right':0x0,'top':0x0,'bottom':0x0,'borderRadius':buttonType===_0x3171(0x15)?0x18:0x8}}),_0x38a3f2?React[_0x3171(0x59)](ActivityIndicator,{'size':_0x277592[_0x3171(0x65)],'color':_0x277592[_0x3171(0x66)]}):React[_0x3171(0x59)](View,{'style':styles[_0x3171(0x67)]},React['createElement'](View,{'style':styles[_0x3171(0x68)]},React['createElement'](Image,{'source':BRAND_IMAGES['onairosLogoAlt'],'style':styles['logoImage'],'resizeMode':'contain'})),React[_0x3171(0x59)](Text,{'style':[styles[_0x3171(0x69)],{'color':_0x3171(0x19)}]},_0x277592['GBQlz'](_0x201950))))),useNewWelcomeFlow?React[_0x3171(0x59)](_0x540321,{'visible':_0x418106,'onClose':_0x4332e8,'onComplete':_0x1cc0e9}):React[_0x3171(0x59)](UniversalOnboarding,{'visible':_0x418106,'onClose':_0x4332e8,'AppName':_0x57256b,'requestData':_0x129192||{'Small':{'type':_0x277592['CxPWm'],'descriptions':_0x3171(0x6a),'reward':_0x3171(0x6b)},'Medium':{'type':_0x277592[_0x3171(0x6c)],'descriptions':_0x277592[_0x3171(0x6d)],'reward':'Premium\x20features'},'Large':{'type':_0x3171(0x6e),'descriptions':_0x277592[_0x3171(0x6f)],'reward':_0x3171(0x70)}},'returnLink':_0x277592[_0x3171(0x71)](_0x19848c,_0x277592[_0x3171(0x72)]),'onComplete':_0x1cc0e9,'debug':debug,'test':testMode,'preferredPlatform':_0x2eca7e,'primaryAuthOnly':primaryAuthOnly}));});const styles=StyleSheet[_0x3171(0x73)]({'button':{'flexDirection':_0x3171(0x74),'alignItems':_0x3171(0x75),'justifyContent':_0x3171(0x75),'paddingVertical':0xc,'paddingHorizontal':0x10,'borderRadius':0x8,'shadowColor':_0x3171(0x76),'shadowOffset':{'width':0x0,'height':0x2},'shadowOpacity':0.2,'shadowRadius':0x4,'elevation':0x3,'overflow':_0x3171(0x77)},'buttonContent':{'flexDirection':'row','alignItems':'center','justifyContent':'center'},'logoContainer':{'width':0x18,'height':0x18,'alignItems':_0x3171(0x75),'justifyContent':_0x3171(0x75),'marginRight':0x4},'logoText':{'color':_0x3171(0x17),'fontWeight':_0x3171(0x78),'fontSize':0xe},'logoImage':{'width':0x14,'height':0x14},'pillButton':{'borderRadius':0x18},'strokedButton':{'backgroundColor':'transparent','borderWidth':0x1},'swervButton':{'transform':[{'rotate':_0x3171(0x79)}]},'disabledButton':{'opacity':0.6},'buttonText':{'fontSize':0x10,'fontWeight':_0x3171(0x7a),'textAlign':_0x3171(0x75)}});export default OnairosButton;
1
+ import React,{useState,useCallback,forwardRef,useImperativeHandle,useEffect}from'react';function _0x4633(_0x5ad732,_0x4633e7){_0x5ad732=_0x5ad732-0x0;const _0x471f09=_0x5ad7();let _0x19e67b=_0x471f09[_0x5ad732];return _0x19e67b;}import{TouchableOpacity,Text,StyleSheet,View,ActivityIndicator,Dimensions,Image,Alert}from'react-native';import _0x503cde from'react-native-linear-gradient';import{UniversalOnboarding}from'./UniversalOnboarding';import _0x46acfd from'./WelcomeScreen';import{isApiKeyInitialized,getApiConfig}from'../services/apiKeyService';import{BRAND_IMAGES}from'../utils/assetRegistry';const {width}=Dimensions['get'](_0x4633(0x0));export const OnairosButton=forwardRef(({AppName:_0x818f5a,buttonType:buttonType=_0x4633(0x1),buttonWidth:buttonWidth=0xb4,buttonHeight:buttonHeight=0x30,hasStroke:hasStroke=![],enabled:enabled=!![],buttonForm:buttonForm=_0x4633(0x2),onResolved:_0x54c364,onRejection:_0x56941d,preCheck:_0x5724a1,color:color=_0x4633(0x3),swerv:swerv=![],darkMode:darkMode=![],returnLink:_0x209755,preferredPlatform:_0x177ec3,autoFetch:autoFetch=![],inferenceData:_0x5d16a7,textLayout:textLayout=_0x4633(0x4),textColor:textColor='black',proofMode:proofMode=![],webpageName:_0x339370,debug:debug=![],testMode:testMode=![],requestData:_0x5b5406,onPress:_0x3a18a0,primaryAuthOnly:primaryAuthOnly=![],useNewWelcomeFlow:useNewWelcomeFlow=![]},_0x49b2fb)=>{const _0x2734cb={'dUfeK':_0x4633(0x5),'hhuzO':function(_0x5e0ceb){return _0x5e0ceb();},'hNHOk':function(_0x4ea3db,_0x14a2c2){return _0x4ea3db!==_0x14a2c2;},'opZnc':'opgig','UWyJC':function(_0x1d2221){return _0x1d2221();},'ofZDi':'Connect\x20Onairos','rcPgj':_0x4633(0x6),'HJUkv':function(_0x553513,_0x493303){return _0x553513===_0x493303;},'Ebgde':_0x4633(0x7),'CMrsT':_0x4633(0x8),'LOIkB':function(_0xc20478,_0x6796d7){return _0xc20478||_0x6796d7;},'tbHWm':function(_0xe97d2c,_0x56de85){return _0xe97d2c(_0x56de85);},'mXvfW':_0x4633(0x9),'jGaej':'UaFNb','iEXjJ':_0x4633(0xa),'eBQAJ':'The\x20Onairos\x20SDK\x20requires\x20initialization\x20with\x20a\x20valid\x20API\x20key.\x0a\x0aDevelopers:\x20Please\x20call\x20initializeApiKey()\x20before\x20using\x20OnairosButton.','tAFbu':function(_0x22808a){return _0x22808a();},'dzFWJ':function(_0x3c7f1d,_0x554290){return _0x3c7f1d!==_0x554290;},'SfCIJ':_0x4633(0xb),'mekTD':_0x4633(0xc),'cDqpM':function(_0x1165bd,_0x41aa05){return _0x1165bd+_0x41aa05;},'HrWIt':function(_0x423ff5,_0x1cc61f){return _0x423ff5===_0x1cc61f;},'dgsiW':function(_0x3ae2f8,_0x219c8c){return _0x3ae2f8===_0x219c8c;},'oZVbN':function(_0x29cbe8){return _0x29cbe8();},'PUUTq':_0x4633(0xd),'dtOeQ':function(_0x12dcd2,_0x6c3f62){return _0x12dcd2===_0x6c3f62;},'zkKNo':function(_0x247a83,_0xd2f825){return _0x247a83(_0xd2f825);},'IreuO':_0x4633(0xe),'ZpSbH':_0x4633(0xf),'zcDrr':_0x4633(0x10),'RtAaL':function(_0x203924,_0x44ccea){return _0x203924===_0x44ccea;},'xysNJ':function(_0x4af902,_0x1fb670){return _0x4af902(_0x1fb670);},'RGSyb':function(_0x7fd202,_0x4fd713){return _0x7fd202 instanceof _0x4fd713;},'OdLGF':_0x4633(0x11),'jqeYz':function(_0x57d51c,_0x185945){return _0x57d51c(_0x185945);},'PiMhW':_0x4633(0x12),'tZFsu':'Sign\x20up\x20with\x20Onairos','IflkD':function(_0x5a2522,_0x8c2d6a,_0x317225){return _0x5a2522(_0x8c2d6a,_0x317225);},'zjGuI':function(_0x5dfca1){return _0x5dfca1();},'MpJfW':'[OnairosButton]\x20handleOnboardingClose:\x20Setting\x20showOnboarding\x20to\x20false.','qxnPc':function(_0x529dff,_0xf3f6cd){return _0x529dff(_0xf3f6cd);},'CeYuH':_0x4633(0x13),'peccS':_0x4633(0x14),'gRAha':function(_0x4fabd4,_0x1c15e8,_0xaeeee2){return _0x4fabd4(_0x1c15e8,_0xaeeee2);},'VNQkR':function(_0x2afddd,_0x4d3dea,_0xb3a01b){return _0x2afddd(_0x4d3dea,_0xb3a01b);},'ADoHG':'[OnairosButton]\x20Rendering\x20JSX\x20with\x20props:','zxeyg':function(_0x29ed0a,_0x5c713e){return _0x29ed0a===_0x5c713e;},'egzGa':_0x4633(0x15),'kOyBM':'#f5e7c1','fWvWM':_0x4633(0x16),'Icxpj':_0x4633(0x17),'hqQcp':_0x4633(0x18),'Qxqfr':_0x4633(0x19),'LobDK':_0x4633(0x1a),'swOGo':function(_0x5ac087,_0x11e6da){return _0x5ac087||_0x11e6da;},'fDATd':_0x4633(0x1b),'RbLQL':_0x4633(0x1c),'SWRnj':_0x4633(0x1d),'UZDpR':_0x4633(0x1e),'WuSGe':_0x4633(0x1f),'tsuOR':_0x4633(0x20),'hlyWg':'Premium\x20tier','rynAp':_0x4633(0x21),'nzdnZ':_0x4633(0x22)},[_0x44383a,_0x184bc7]=_0x2734cb[_0x4633(0x23)](useState,![]),[_0x2983fe,_0x4a27e0]=useState(![]),[_0x35d235,_0x4da649]=useState(![]);console[_0x4633(0x24)](_0x2734cb[_0x4633(0x25)],_0x35d235),_0x2734cb[_0x4633(0x26)](useEffect,()=>{console['log'](_0x2734cb[_0x4633(0x27)],_0x35d235);},[_0x35d235]),_0x2734cb[_0x4633(0x26)](useImperativeHandle,_0x49b2fb,()=>({'trigger':async()=>{return await _0x2734cb[_0x4633(0x28)](_0x355f0e),Promise['resolve']();},'reset':async()=>{const _0x10e05c={'REVFT':_0x4633(0x5)};if(_0x2734cb['hNHOk'](_0x2734cb[_0x4633(0x29)],_0x2734cb[_0x4633(0x29)]))_0x221822[_0x4633(0x24)](_0x10e05c[_0x4633(0x2a)],_0x3e8c63);else return Promise['resolve']();}}));const _0x355f0e=async()=>{const _0x12777c={'yehFE':_0x2734cb[_0x4633(0x2b)],'fDkZk':_0x2734cb[_0x4633(0x2c)],'jtAvD':_0x4633(0x2d),'YOeNf':_0x4633(0x2e)};if(_0x2734cb['HJUkv'](_0x2734cb[_0x4633(0x2f)],_0x2734cb[_0x4633(0x2f)])){console['log'](_0x2734cb[_0x4633(0x30)]);if(_0x2734cb[_0x4633(0x31)](!enabled,_0x44383a))return;_0x2734cb[_0x4633(0x32)](_0x184bc7,!![]);try{if(_0x2734cb['hNHOk']('qhzCn',_0x2734cb[_0x4633(0x33)])){if(!_0x2734cb[_0x4633(0x34)](isApiKeyInitialized)){const _0x272306=_0x4633(0x35);console[_0x4633(0x36)](_0x4633(0x37),_0x272306);if(_0x56941d){if(_0x2734cb[_0x4633(0x38)](_0x2734cb[_0x4633(0x39)],_0x2734cb[_0x4633(0x39)]))_0x56941d(_0x272306);else return _0x12ba62[_0x4633(0x3a)]();}else Alert[_0x4633(0x3b)](_0x2734cb['iEXjJ'],_0x2734cb['eBQAJ'],[{'text':'OK'}]);_0x2734cb[_0x4633(0x32)](_0x184bc7,![]);return;}const _0x4b131f=_0x2734cb[_0x4633(0x3c)](getApiConfig);if(debug){if(_0x2734cb['dzFWJ'](_0x2734cb[_0x4633(0x3d)],_0x2734cb[_0x4633(0x3d)]))switch(_0x47baed){case _0x4633(0x12):return _0x12777c['yehFE'];case _0x12777c[_0x4633(0x3e)]:return _0x12777c[_0x4633(0x3f)];case _0x4633(0x40):return _0x12777c[_0x4633(0x41)];default:return _0x4633(0x42);}else{var _0x303c71;console[_0x4633(0x24)](_0x2734cb[_0x4633(0x43)],_0x2734cb[_0x4633(0x44)](_0x2734cb[_0x4633(0x45)](_0x4b131f,null)||_0x4b131f===void 0x0||(_0x303c71=_0x4b131f[_0x4633(0x46)])===null||_0x2734cb[_0x4633(0x47)](_0x303c71,void 0x0)?void 0x0:_0x303c71[_0x4633(0x48)](0x0,0x8),'...'));}}if(_0x5724a1){const _0x3addc3=await _0x2734cb[_0x4633(0x49)](_0x5724a1);if(!_0x3addc3){console['log'](_0x2734cb[_0x4633(0x4a)]),_0x2734cb['dtOeQ'](_0x56941d,null)||_0x2734cb[_0x4633(0x47)](_0x56941d,void 0x0)||_0x2734cb[_0x4633(0x23)](_0x56941d,_0x2734cb[_0x4633(0x4b)]),_0x2734cb[_0x4633(0x32)](_0x184bc7,![]);return;}}console[_0x4633(0x24)](_0x2734cb[_0x4633(0x4c)]),_0x2734cb[_0x4633(0x23)](_0x4da649,!![]),_0x2734cb['zkKNo'](_0x184bc7,![]);}else _0x36867b(_0x108007,_0x38363c);}catch(_0x385613){console[_0x4633(0x36)](_0x2734cb[_0x4633(0x4d)],_0x385613),_0x56941d===null||_0x2734cb['RtAaL'](_0x56941d,void 0x0)||_0x2734cb['xysNJ'](_0x56941d,_0x2734cb[_0x4633(0x4e)](_0x385613,Error)?_0x385613['message']:_0x2734cb[_0x4633(0x4f)]),_0x2734cb[_0x4633(0x50)](_0x184bc7,![]);}}else _0x2734cb[_0x4633(0x34)](_0x1bbf39);},_0x416366=()=>{switch(buttonForm){case _0x2734cb[_0x4633(0x51)]:return _0x4633(0x42);case _0x2734cb[_0x4633(0x2c)]:return'Sign\x20in\x20with\x20Onairos';case'signup':return _0x2734cb[_0x4633(0x52)];default:return'Connect\x20Onairos';}},_0x26208f=_0x2734cb[_0x4633(0x53)](useCallback,(_0x7a3edb,_0x4ff85a)=>{console[_0x4633(0x24)](_0x4633(0x54)),_0x2734cb[_0x4633(0x23)](_0x4da649,![]),_0x54c364&&_0x2734cb[_0x4633(0x55)](_0x54c364,_0x7a3edb,_0x4ff85a),_0x3a18a0&&_0x2734cb[_0x4633(0x56)](_0x3a18a0);},[_0x54c364,_0x3a18a0]),_0x41ae5c=useCallback(()=>{console[_0x4633(0x24)](_0x2734cb[_0x4633(0x57)]),_0x2734cb[_0x4633(0x23)](_0x4da649,![]),_0x56941d&&_0x2734cb[_0x4633(0x58)](_0x56941d,_0x2734cb[_0x4633(0x59)]);},[_0x56941d]);return console[_0x4633(0x24)](_0x2734cb[_0x4633(0x5a)],{'AppName':_0x818f5a,'buttonType':buttonType,'buttonWidth':buttonWidth,'buttonHeight':buttonHeight,'hasStroke':hasStroke,'enabled':enabled,'buttonForm':buttonForm,'onResolved':_0x54c364,'onRejection':_0x56941d,'preCheck':_0x5724a1,'color':color,'swerv':swerv,'darkMode':darkMode,'returnLink':_0x209755,'preferredPlatform':_0x177ec3,'autoFetch':autoFetch,'inferenceData':_0x5d16a7,'textLayout':textLayout,'textColor':textColor,'proofMode':proofMode,'webpageName':_0x339370,'debug':debug,'testMode':testMode,'requestData':_0x5b5406,'onPress':_0x3a18a0,'primaryAuthOnly':primaryAuthOnly,'useNewWelcomeFlow':useNewWelcomeFlow}),React[_0x4633(0x5b)](React[_0x4633(0x5c)],null,React['createElement'](View,null,React['createElement'](TouchableOpacity,{'style':[styles['button'],_0x2734cb[_0x4633(0x5d)](buttonType,_0x2734cb[_0x4633(0x5e)])&&styles[_0x4633(0x5f)],hasStroke&&styles['strokedButton'],{'width':buttonWidth,'height':buttonHeight},swerv&&styles[_0x4633(0x60)],!enabled&&styles['disabledButton']],'onPress':_0x355f0e,'disabled':!enabled||_0x44383a,'onPressIn':()=>_0x4a27e0(!![]),'onPressOut':()=>_0x4a27e0(![])},React[_0x4633(0x5b)](_0x503cde,{'colors':[_0x2734cb[_0x4633(0x61)],_0x4633(0x62),_0x2734cb[_0x4633(0x63)]],'start':{'x':0x0,'y':0x0},'end':{'x':0x1,'y':0x0},'style':{'position':_0x2734cb[_0x4633(0x64)],'left':0x0,'right':0x0,'top':0x0,'bottom':0x0,'borderRadius':_0x2734cb[_0x4633(0x47)](buttonType,_0x2734cb['egzGa'])?0x18:0x8}}),_0x44383a?React[_0x4633(0x5b)](ActivityIndicator,{'size':_0x2734cb[_0x4633(0x65)],'color':_0x2734cb[_0x4633(0x66)]}):React[_0x4633(0x5b)](View,{'style':styles[_0x4633(0x67)]},React[_0x4633(0x5b)](View,{'style':styles['logoContainer']},React['createElement'](Image,{'source':BRAND_IMAGES[_0x4633(0x68)],'style':styles[_0x4633(0x69)],'resizeMode':_0x2734cb[_0x4633(0x6a)]})),React[_0x4633(0x5b)](Text,{'style':[styles[_0x4633(0x6b)],{'color':_0x2734cb[_0x4633(0x66)]}]},_0x416366())))),useNewWelcomeFlow?React['createElement'](_0x46acfd,{'visible':_0x35d235,'onClose':_0x41ae5c,'onComplete':_0x26208f}):React[_0x4633(0x5b)](UniversalOnboarding,{'visible':_0x35d235,'onClose':_0x41ae5c,'AppName':_0x818f5a,'requestData':_0x2734cb[_0x4633(0x6c)](_0x5b5406,{'Small':{'type':_0x4633(0x6d),'descriptions':_0x2734cb['fDATd'],'reward':_0x2734cb[_0x4633(0x6e)]},'Medium':{'type':_0x2734cb[_0x4633(0x6f)],'descriptions':_0x2734cb[_0x4633(0x70)],'reward':_0x2734cb[_0x4633(0x71)]},'Large':{'type':_0x2734cb[_0x4633(0x72)],'descriptions':_0x2734cb[_0x4633(0x73)],'reward':_0x2734cb[_0x4633(0x74)]}}),'returnLink':_0x2734cb['LOIkB'](_0x209755,_0x2734cb[_0x4633(0x75)]),'onComplete':_0x26208f,'debug':debug,'test':testMode,'preferredPlatform':_0x177ec3,'primaryAuthOnly':primaryAuthOnly}));});const styles=StyleSheet[_0x4633(0x76)]({'button':{'flexDirection':_0x4633(0x77),'alignItems':_0x4633(0x78),'justifyContent':_0x4633(0x78),'paddingVertical':0xc,'paddingHorizontal':0x10,'borderRadius':0x8,'shadowColor':'#000','shadowOffset':{'width':0x0,'height':0x2},'shadowOpacity':0.2,'shadowRadius':0x4,'elevation':0x3,'overflow':_0x4633(0x79)},'buttonContent':{'flexDirection':_0x4633(0x77),'alignItems':'center','justifyContent':'center'},'logoContainer':{'width':0x18,'height':0x18,'alignItems':_0x4633(0x78),'justifyContent':_0x4633(0x78),'marginRight':0x4},'logoText':{'color':_0x4633(0x62),'fontWeight':_0x4633(0x7a),'fontSize':0xe},'logoImage':{'width':0x14,'height':0x14},'pillButton':{'borderRadius':0x18},'strokedButton':{'backgroundColor':_0x4633(0x7b),'borderWidth':0x1},'swervButton':{'transform':[{'rotate':_0x4633(0x7c)}]},'disabledButton':{'opacity':0.6},'buttonText':{'fontSize':0x10,'fontWeight':_0x4633(0x7d),'textAlign':'center'}});function _0x5ad7(){const _0x318617=['window','normal','default','#1BA9D4','right','[OnairosButton]\x20LogEffect:\x20showOnboarding\x20state\x20changed\x20to:','login','yopNS','[OnairosButton]\x20handlePress\x20called.','bTIrj','SDK\x20Not\x20Initialized','txFnm','[OnairosButton]\x20SDK\x20initialized\x20with\x20API\x20key:','[OnairosButton]\x20Precheck\x20failed.\x20Setting\x20showOnboarding\x20to\x20false\x20(indirectly,\x20by\x20not\x20setting\x20to\x20true).','Precheck\x20validation\x20failed','[OnairosButton]\x20handlePress:\x20Setting\x20showOnboarding\x20to\x20true.','[OnairosButton]\x20Error\x20in\x20handlePress:','Unknown\x20error','connect','User\x20closed\x20onboarding','[OnairosButton]\x20Initializing.\x20Initial\x20showOnboarding:','pill','#8B6914','absolute','small','#FFFFFF','contain','Basic\x20tier','Free\x20access','Medium','Standard\x20tier','Premium\x20features','Large','Full\x20personalization','onairosevents://auth/callback','zkKNo','log','peccS','gRAha','dUfeK','hhuzO','opZnc','REVFT','ofZDi','rcPgj','Sign\x20in\x20with\x20Onairos','Sign\x20up\x20with\x20Onairos','Ebgde','CMrsT','LOIkB','tbHWm','mXvfW','UWyJC','Onairos\x20SDK\x20not\x20initialized.\x20Developers\x20must\x20call\x20initializeApiKey()\x20with\x20a\x20valid\x20API\x20key\x20before\x20using\x20SDK\x20components.\x20Get\x20your\x20API\x20key\x20from\x20https://dashboard.onairos.uk','error','❌\x20[OnairosButton]\x20SDK\x20NOT\x20INITIALIZED:','HJUkv','jGaej','resolve','alert','tAFbu','SfCIJ','fDkZk','jtAvD','signup','YOeNf','Connect\x20Onairos','mekTD','cDqpM','HrWIt','apiKey','dgsiW','substring','oZVbN','PUUTq','IreuO','ZpSbH','zcDrr','RGSyb','OdLGF','jqeYz','PiMhW','tZFsu','VNQkR','[OnairosButton]\x20handleOnboardingComplete:\x20Setting\x20showOnboarding\x20to\x20false.','IflkD','zjGuI','MpJfW','qxnPc','CeYuH','ADoHG','createElement','Fragment','zxeyg','egzGa','pillButton','swervButton','kOyBM','#C7A047','fWvWM','Icxpj','hqQcp','Qxqfr','buttonContent','onairosLogoAlt','logoImage','LobDK','buttonText','swOGo','Small','RbLQL','SWRnj','UZDpR','WuSGe','tsuOR','hlyWg','rynAp','nzdnZ','create','row','center','hidden','bold','transparent','-2deg','600'];_0x5ad7=function(){return _0x318617;};return _0x5ad7();}export default OnairosButton;
@@ -1 +1 @@
1
- import React,{useState,useCallback}from'react';import{TouchableOpacity,Text,StyleSheet,View,Image}from'react-native';import AsyncStorage from'@react-native-async-storage/async-storage';import _0x520cc9 from'./WelcomeScreen';function _0x528e(){const _0x2a867d=['#D4A536','#000','🔑\x20OnairosSignInButton:\x20Returning\x20JWT\x20token\x20with\x20email:','🔑\x20Received\x20placeholder\x20token\x20from\x20WelcomeScreen,\x20completing\x20sign-in','🔑\x20OnairosSignInButton:\x20Returning\x20token\x20with\x20email:','user_email','AQzDn','rjUxX','TOyMr','User\x20closed\x20welcome\x20screen','Onairos\x20logo','Sign\x20in\x20with\x20Onairos','RvDoT','TKbdG','🔑\x20Received\x20JWT\x20token\x20from\x20WelcomeScreen,\x20completing\x20sign-in','KQqaT','FYAuR','omIyX','includes','IanEI','split','length','log','🔍\x20OnairosSignInButton:\x20Is\x20JWT\x20token?','KmcNS','hcDoM','getItem','ISPPa','dSESK','hnyaJ','NoeEh','bhPZV','nSiuG','alXdc','MWELF','yWAUB','then','STInD','nVsME','yesjs','ACGwN','Mqtus','rInyL','vvIfy','QDFjm','container','createElement','LqIYl','🔘\x20showWelcomeScreen\x20state\x20set\x20to\x20true','contentRow','onairosLogoAlt','logo','contain','lwihX','buttonText','BMqdF','center','row','600'];_0x528e=function(){return _0x2a867d;};return _0x528e();}import{triggerHaptic,HapticType}from'../utils/haptics';import{BRAND_IMAGES}from'../utils/assetRegistry';export const OnairosSignInButton=({AppName:_0x4fa431,buttonWidth:buttonWidth=0x118,buttonHeight:buttonHeight=0x2c,color:color=_0x2974(0x0),textColor:textColor=_0x2974(0x1),onResolved:_0x56a05b,onRejection:_0x1d1679,autoFocusEmailInput:autoFocusEmailInput=!![]})=>{const _0x83475b={'dSESK':function(_0x1abf97,_0x1f5992){return _0x1abf97||_0x1f5992;},'TKbdG':_0x2974(0x2),'hnyaJ':function(_0xf45f75,_0x33f635,_0x415c82){return _0xf45f75(_0x33f635,_0x415c82);},'KQqaT':_0x2974(0x3),'NoeEh':function(_0x2158da,_0x3d2f62){return _0x2158da||_0x3d2f62;},'FYAuR':_0x2974(0x4),'bhPZV':function(_0x142677,_0x323d93,_0x497253){return _0x142677(_0x323d93,_0x497253);},'ISPPa':_0x2974(0x5),'omIyX':'🔍\x20OnairosSignInButton:\x20handleWelcomeComplete\x20called\x20with:','IanEI':function(_0x398786,_0x5882e3){return _0x398786===_0x5882e3;},'KmcNS':function(_0x2eb3c5,_0x16c378){return _0x2eb3c5(_0x16c378);},'ASYVW':'WBbzG','hcDoM':'🔑\x20Received\x20JWT\x20token\x20from\x20WelcomeScreen,\x20completing\x20sign-in','nSiuG':function(_0x4af850,_0x5049d5){return _0x4af850!==_0x5049d5;},'alXdc':_0x2974(0x6),'Cislh':_0x2974(0x7),'MWELF':function(_0xe1686f,_0xefbe95,_0xd2b0a2){return _0xe1686f(_0xefbe95,_0xd2b0a2);},'rInyL':function(_0x34a43f,_0x3f5fc3){return _0x34a43f===_0x3f5fc3;},'vvIfy':_0x2974(0x8),'QDFjm':_0x2974(0x9),'LqIYl':'🔘\x20OnairosSignInButton\x20pressed,\x20showing\x20WelcomeScreen','RvDoT':function(_0x317930,_0x515bd8){return _0x317930(_0x515bd8);},'Mqtus':function(_0x129a8d,_0x12fbe0,_0x18bd8d){return _0x129a8d(_0x12fbe0,_0x18bd8d);},'lwihX':_0x2974(0xa),'BMqdF':_0x2974(0xb)},[_0x8845c2,_0x594237]=useState(![]),[_0x25ede8,_0x2faafb]=_0x83475b[_0x2974(0xc)](useState,''),_0x24e37d=useCallback((_0x7fd731,_0x2321f6)=>{const _0x285385={'RpcnH':_0x83475b[_0x2974(0xd)],'yWAUB':function(_0x43fbd0,_0x1b0f6d,_0x59c3f5){return _0x43fbd0(_0x1b0f6d,_0x59c3f5);},'aXWSx':_0x2974(0xe),'rLIMZ':_0x83475b['ISPPa'],'nVsME':_0x83475b[_0x2974(0xf)],'yesjs':function(_0x33c368,_0x2941e0){return _0x83475b['NoeEh'](_0x33c368,_0x2941e0);},'ACGwN':_0x83475b[_0x2974(0x10)]};console['log'](_0x83475b[_0x2974(0x11)],{'token':_0x7fd731,'email':_0x2321f6});const _0x44f002=_0x7fd731&&_0x7fd731[_0x2974(0x12)]('.')&&_0x83475b[_0x2974(0x13)](_0x7fd731[_0x2974(0x14)]('.')[_0x2974(0x15)],0x3);console[_0x2974(0x16)](_0x2974(0x17),_0x44f002),_0x83475b[_0x2974(0x18)](_0x594237,![]);if(_0x56a05b){if(_0x44f002){if(_0x83475b[_0x2974(0x13)]('WBbzG',_0x83475b['ASYVW']))console[_0x2974(0x16)](_0x83475b[_0x2974(0x19)]),AsyncStorage[_0x2974(0x1a)](_0x83475b[_0x2974(0x1b)])['then'](_0x68b42b=>{const _0x52ed3b=_0x83475b[_0x2974(0x1c)](_0x2321f6,_0x68b42b)||_0x25ede8;console[_0x2974(0x16)](_0x83475b[_0x2974(0xd)],_0x52ed3b),_0x83475b[_0x2974(0x1d)](_0x56a05b,_0x7fd731,_0x52ed3b);});else{_0x1d8b3a[_0x2974(0x16)](_0x83475b['KQqaT']);const _0x13b194=_0x83475b[_0x2974(0x1e)](_0x53756d,_0x468f6b);_0x33c41c[_0x2974(0x16)](_0x83475b[_0x2974(0x10)],_0x13b194),_0x83475b[_0x2974(0x1f)](_0x53c045,_0x4cf3e9,_0x13b194);}}else{if(_0x83475b[_0x2974(0x20)](_0x83475b[_0x2974(0x21)],_0x83475b['Cislh'])){console['log']('🔑\x20Received\x20placeholder\x20token\x20from\x20WelcomeScreen,\x20completing\x20sign-in');const _0x5a802f=_0x83475b[_0x2974(0x1e)](_0x2321f6,_0x25ede8);console[_0x2974(0x16)](_0x83475b[_0x2974(0x10)],_0x5a802f),_0x83475b[_0x2974(0x22)](_0x56a05b,_0x7fd731,_0x5a802f);}else{const _0x407041={'peBYN':_0x285385['RpcnH'],'STInD':function(_0x46fa35,_0x548941,_0x122fd3){return _0x285385[_0x2974(0x23)](_0x46fa35,_0x548941,_0x122fd3);}};if(_0x2c7baa)_0x66e707[_0x2974(0x16)](_0x285385['aXWSx']),AsyncStorage[_0x2974(0x1a)](_0x285385['rLIMZ'])[_0x2974(0x24)](_0x103146=>{const _0x5a9e27=_0x2c22ca||_0x103146||_0x3065ad;_0x3ae8f7[_0x2974(0x16)](_0x407041['peBYN'],_0x5a9e27),_0x407041[_0x2974(0x25)](_0x33fa45,_0x409f65,_0x5a9e27);});else{_0x5057d4[_0x2974(0x16)](_0x285385[_0x2974(0x26)]);const _0x11f356=_0x285385[_0x2974(0x27)](_0x509a20,_0x13fd2a);_0x1c7e66['log'](_0x285385[_0x2974(0x28)],_0x11f356),_0xb519bf(_0x58a24b,_0x11f356);}}}}},[_0x56a05b,_0x25ede8]),_0x2a2680=_0x83475b[_0x2974(0x29)](useCallback,()=>{_0x83475b[_0x2974(0x18)](_0x594237,![]);if(_0x1d1679){if(_0x83475b[_0x2974(0x2a)](_0x2974(0x8),_0x83475b[_0x2974(0x2b)]))_0x83475b[_0x2974(0x18)](_0x1d1679,_0x83475b[_0x2974(0x2c)]);else{const _0x5c44e8=_0x45f7cc||_0x5d56e8||_0x1a2bbb;_0x520d22[_0x2974(0x16)](_0x83475b[_0x2974(0xd)],_0x5c44e8),_0x83475b[_0x2974(0x22)](_0x556c48,_0x18067b,_0x5c44e8);}}},[_0x1d1679]);return React['createElement'](View,{'style':styles[_0x2974(0x2d)]},React[_0x2974(0x2e)](TouchableOpacity,{'style':[styles['button'],{'width':buttonWidth,'height':buttonHeight,'backgroundColor':color}],'onPress':()=>{console[_0x2974(0x16)](_0x83475b[_0x2974(0x2f)]),_0x83475b[_0x2974(0x18)](triggerHaptic,HapticType['BUTTON_PRESS']),_0x83475b[_0x2974(0x18)](_0x594237,!![]),console[_0x2974(0x16)](_0x2974(0x30));},'activeOpacity':0.85},React[_0x2974(0x2e)](View,{'style':styles[_0x2974(0x31)]},React[_0x2974(0x2e)](Image,{'source':BRAND_IMAGES[_0x2974(0x32)],'style':styles[_0x2974(0x33)],'resizeMode':_0x2974(0x34),'accessibilityLabel':_0x83475b[_0x2974(0x35)]}),React[_0x2974(0x2e)](Text,{'style':[styles[_0x2974(0x36)],{'color':textColor}]},_0x83475b[_0x2974(0x37)]))),React[_0x2974(0x2e)](_0x520cc9,{'visible':_0x8845c2,'onClose':_0x2a2680,'onComplete':_0x24e37d}));};function _0x2974(_0x528ed8,_0x29745e){_0x528ed8=_0x528ed8-0x0;const _0x101645=_0x528e();let _0x389645=_0x101645[_0x528ed8];return _0x389645;}const styles=StyleSheet['create']({'button':{'borderRadius':0x18,'justifyContent':_0x2974(0x38),'alignItems':_0x2974(0x38),'shadowColor':_0x2974(0x1),'shadowOffset':{'width':0x0,'height':0x2},'shadowOpacity':0.1,'shadowRadius':0x4,'elevation':0x2,'marginVertical':0x8},'contentRow':{'flexDirection':_0x2974(0x39),'alignItems':_0x2974(0x38),'justifyContent':_0x2974(0x38)},'logo':{'width':0x1a,'height':0x1a,'marginRight':0xa},'buttonText':{'fontSize':0x10,'fontWeight':_0x2974(0x3a),'textAlign':_0x2974(0x38)},'container':{}});
1
+ import React,{useState,useCallback}from'react';import{TouchableOpacity,Text,StyleSheet,View,Image}from'react-native';import AsyncStorage from'@react-native-async-storage/async-storage';import _0x8a2da0 from'./WelcomeScreen';function _0x4975(_0x4efd29,_0x4975e6){_0x4efd29=_0x4efd29-0x0;const _0x5e0b79=_0x4efd();let _0x22cabd=_0x5e0b79[_0x4efd29];return _0x22cabd;}import{triggerHaptic,HapticType}from'../utils/haptics';import{BRAND_IMAGES}from'../utils/assetRegistry';function _0x4efd(){const _0x455547=['#D4A536','#000','🔑\x20Received\x20JWT\x20token\x20from\x20WelcomeScreen,\x20completing\x20sign-in','user_email','🔑\x20OnairosSignInButton:\x20Returning\x20token\x20with\x20email:','TtPbF','🔍\x20OnairosSignInButton:\x20Is\x20JWT\x20token?','lDhdU','HvOay','🔘\x20OnairosSignInButton\x20pressed,\x20showing\x20WelcomeScreen','contain','Sign\x20in\x20with\x20Onairos','ZGamn','RHWdw','gsnty','WEhcG','getItem','upVlh','log','🔑\x20OnairosSignInButton:\x20Returning\x20JWT\x20token\x20with\x20email:','VBrTP','aCmRn','kZrMb','🔍\x20OnairosSignInButton:\x20handleWelcomeComplete\x20called\x20with:','includes','split','cINFt','wCgJO','User\x20closed\x20welcome\x20screen','then','QjIXB','CHLSj','rSzcM','DJeps','container','createElement','button','sNGMO','DDcYP','xxVtO','wirOM','rxdNE','BUTTON_PRESS','zgOwJ','contentRow','onairosLogoAlt','logo','fprLy','Onairos\x20logo','eTcxT','create','center','600'];_0x4efd=function(){return _0x455547;};return _0x4efd();}export const OnairosSignInButton=({AppName:_0x10bedb,buttonWidth:buttonWidth=0x118,buttonHeight:buttonHeight=0x2c,color:color=_0x4975(0x0),textColor:textColor=_0x4975(0x1),onResolved:_0x3f89ea,onRejection:_0x4fe94b,autoFocusEmailInput:autoFocusEmailInput=!![]})=>{const _0x59ccf1={'unTjF':_0x4975(0x2),'upVlh':_0x4975(0x3),'aCmRn':'🔑\x20Received\x20placeholder\x20token\x20from\x20WelcomeScreen,\x20completing\x20sign-in','rSzcM':_0x4975(0x4),'kZrMb':function(_0x33cd79,_0x3cb872,_0x58eb96){return _0x33cd79(_0x3cb872,_0x58eb96);},'QjIXB':function(_0x4168b8,_0x279f47){return _0x4168b8||_0x279f47;},'gsnty':function(_0x5b9557,_0x34a45f){return _0x5b9557(_0x34a45f);},'WEhcG':function(_0x207082,_0x3b929c){return _0x207082===_0x3b929c;},'jtnsL':'OiPIv','Venln':_0x4975(0x5),'ncqqy':_0x4975(0x6),'cINFt':function(_0x580c4f,_0x560d35){return _0x580c4f(_0x560d35);},'ikWnf':'HPEML','wCgJO':_0x4975(0x7),'CHLSj':function(_0x53f26f,_0x3787ff){return _0x53f26f||_0x3787ff;},'TfYMT':function(_0x30b90d,_0x3c19d9,_0x4cde95){return _0x30b90d(_0x3c19d9,_0x4cde95);},'EqTDU':function(_0x4fd14d,_0x539749){return _0x4fd14d(_0x539749);},'DJeps':'User\x20closed\x20welcome\x20screen','sNGMO':function(_0x3a76de,_0x1261ff){return _0x3a76de||_0x1261ff;},'DDcYP':function(_0x32a7f4,_0x4213b5){return _0x32a7f4!==_0x4213b5;},'xxVtO':_0x4975(0x8),'wirOM':_0x4975(0x9),'rxdNE':function(_0xdb80d5,_0x2dd5a1){return _0xdb80d5(_0x2dd5a1);},'zgOwJ':'🔘\x20showWelcomeScreen\x20state\x20set\x20to\x20true','ZGamn':function(_0x47a7b8,_0x26a58a){return _0x47a7b8(_0x26a58a);},'RHWdw':function(_0x4d0300,_0x3517bb){return _0x4d0300(_0x3517bb);},'fLFNl':function(_0x2a2da7,_0x4bb9d2,_0x1f1edf){return _0x2a2da7(_0x4bb9d2,_0x1f1edf);},'fprLy':_0x4975(0xa),'eTcxT':_0x4975(0xb)},[_0x44cee3,_0x585a3d]=_0x59ccf1[_0x4975(0xc)](useState,![]),[_0x25c7d8,_0x330342]=_0x59ccf1[_0x4975(0xd)](useState,''),_0x3332e5=useCallback((_0x55b080,_0x2f6040)=>{const _0x6d94ab={'jRsxd':function(_0x2bf137,_0x360fca){return _0x59ccf1[_0x4975(0xe)](_0x2bf137,_0x360fca);}};if(_0x59ccf1[_0x4975(0xf)](_0x59ccf1['jtnsL'],_0x59ccf1['Venln'])){const _0x39aab5={'VBrTP':function(_0x53e99c,_0x113f3a,_0x13b83d){return _0x53e99c(_0x113f3a,_0x13b83d);}};if(_0x3e89eb)_0x1b836e['log'](_0x59ccf1['unTjF']),AsyncStorage[_0x4975(0x10)](_0x59ccf1[_0x4975(0x11)])['then'](_0x2887d0=>{const _0x57cea9=_0x3a4a19||_0x2887d0||_0x21443d;_0x2be3fb[_0x4975(0x12)](_0x4975(0x13),_0x57cea9),_0x39aab5[_0x4975(0x14)](_0x101c79,_0x1b3974,_0x57cea9);});else{_0x1a91a5['log'](_0x59ccf1[_0x4975(0x15)]);const _0x3594c0=_0xfad3cf||_0x2eb8cd;_0x59a4cf[_0x4975(0x12)](_0x59ccf1['rSzcM'],_0x3594c0),_0x59ccf1[_0x4975(0x16)](_0x5e36e1,_0x571777,_0x3594c0);}}else{console[_0x4975(0x12)](_0x4975(0x17),{'token':_0x55b080,'email':_0x2f6040});const _0x27d048=_0x55b080&&_0x55b080[_0x4975(0x18)]('.')&&_0x55b080[_0x4975(0x19)]('.')['length']===0x3;console[_0x4975(0x12)](_0x59ccf1['ncqqy'],_0x27d048),_0x59ccf1[_0x4975(0x1a)](_0x585a3d,![]);if(_0x3f89ea){if(_0x59ccf1[_0x4975(0xf)](_0x59ccf1['ikWnf'],_0x59ccf1[_0x4975(0x1b)]))_0x5140ff(![]),_0x89eedc&&_0x6d94ab['jRsxd'](_0x26431c,_0x4975(0x1c));else{if(_0x27d048)console[_0x4975(0x12)](_0x4975(0x2)),AsyncStorage[_0x4975(0x10)](_0x59ccf1['upVlh'])[_0x4975(0x1d)](_0xc4f241=>{const _0x4ed297=_0x59ccf1[_0x4975(0x1e)](_0x2f6040,_0xc4f241)||_0x25c7d8;console[_0x4975(0x12)]('🔑\x20OnairosSignInButton:\x20Returning\x20JWT\x20token\x20with\x20email:',_0x4ed297),_0x59ccf1['kZrMb'](_0x3f89ea,_0x55b080,_0x4ed297);});else{console[_0x4975(0x12)](_0x59ccf1[_0x4975(0x15)]);const _0x52d8b1=_0x59ccf1[_0x4975(0x1f)](_0x2f6040,_0x25c7d8);console[_0x4975(0x12)](_0x59ccf1[_0x4975(0x20)],_0x52d8b1),_0x59ccf1['TfYMT'](_0x3f89ea,_0x55b080,_0x52d8b1);}}}}},[_0x3f89ea,_0x25c7d8]),_0x549273=_0x59ccf1['fLFNl'](useCallback,()=>{_0x59ccf1['EqTDU'](_0x585a3d,![]),_0x4fe94b&&_0x4fe94b(_0x59ccf1[_0x4975(0x21)]);},[_0x4fe94b]);return React['createElement'](View,{'style':styles[_0x4975(0x22)]},React[_0x4975(0x23)](TouchableOpacity,{'style':[styles[_0x4975(0x24)],{'width':buttonWidth,'height':buttonHeight,'backgroundColor':color}],'onPress':()=>{const _0xe56afd={'ZLtin':'🔑\x20Received\x20placeholder\x20token\x20from\x20WelcomeScreen,\x20completing\x20sign-in','GSWuo':function(_0x90ee95,_0x321eb0){return _0x59ccf1[_0x4975(0x25)](_0x90ee95,_0x321eb0);},'MFynW':_0x59ccf1[_0x4975(0x20)]};if(_0x59ccf1[_0x4975(0x26)](_0x59ccf1[_0x4975(0x27)],_0x59ccf1[_0x4975(0x27)])){_0x3752d2[_0x4975(0x12)](_0xe56afd['ZLtin']);const _0x567316=_0xe56afd['GSWuo'](_0x309852,_0xd7e9bb);_0x50ad92[_0x4975(0x12)](_0xe56afd['MFynW'],_0x567316),_0x4038a4(_0x50ad64,_0x567316);}else console[_0x4975(0x12)](_0x59ccf1[_0x4975(0x28)]),_0x59ccf1[_0x4975(0x29)](triggerHaptic,HapticType[_0x4975(0x2a)]),_0x585a3d(!![]),console[_0x4975(0x12)](_0x59ccf1[_0x4975(0x2b)]);},'activeOpacity':0.85},React['createElement'](View,{'style':styles[_0x4975(0x2c)]},React[_0x4975(0x23)](Image,{'source':BRAND_IMAGES[_0x4975(0x2d)],'style':styles[_0x4975(0x2e)],'resizeMode':_0x59ccf1[_0x4975(0x2f)],'accessibilityLabel':_0x4975(0x30)}),React[_0x4975(0x23)](Text,{'style':[styles['buttonText'],{'color':textColor}]},_0x59ccf1[_0x4975(0x31)]))),React['createElement'](_0x8a2da0,{'visible':_0x44cee3,'onClose':_0x549273,'onComplete':_0x3332e5}));};const styles=StyleSheet[_0x4975(0x32)]({'button':{'borderRadius':0x18,'justifyContent':_0x4975(0x33),'alignItems':'center','shadowColor':'#000','shadowOffset':{'width':0x0,'height':0x2},'shadowOpacity':0.1,'shadowRadius':0x4,'elevation':0x2,'marginVertical':0x8},'contentRow':{'flexDirection':'row','alignItems':_0x4975(0x33),'justifyContent':_0x4975(0x33)},'logo':{'width':0x1a,'height':0x1a,'marginRight':0xa},'buttonText':{'fontSize':0x10,'fontWeight':_0x4975(0x34),'textAlign':_0x4975(0x33)},'container':{}});
@@ -1 +1 @@
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 _0x22a7b1 from'react-native-vector-icons/MaterialIcons';import{onairosApi}from'../api';import{encryptModelKey}from'../utils/encryption';import{OVERLAY_PLATFORMS}from'../utils/assetRegistry';const {width:SCREEN_WIDTH,height:SCREEN_HEIGHT}=Dimensions[_0x1898(0x0)](_0x1898(0x1));import{API_CONFIG}from'../config/api';export const Overlay=({data:_0x536f0b,username:_0x3e1f86,modelKey:_0x15d020,onResolved:_0xbfb566,appName:appName='Your\x20App',darkMode:darkMode=![],platforms:platforms=OVERLAY_PLATFORMS})=>{const _0xf4d47b={'qwJDM':function(_0x3513b6,_0x4b648e){return _0x3513b6(_0x4b648e);},'NZefI':function(_0x5eec46,_0x36a3ff){return _0x5eec46(_0x36a3ff);},'eEoSQ':function(_0x24d1ef,_0x55d1e4,_0x150592,_0x58169b){return _0x24d1ef(_0x55d1e4,_0x150592,_0x58169b);},'fpJox':_0x1898(0x2),'xrVaA':_0x1898(0x3),'oznxe':_0x1898(0x4),'YAZla':function(_0xb0eb66,_0x44a4c8){return _0xb0eb66===_0x44a4c8;},'xQoQn':function(_0x5528b3,_0x5f0a9e){return _0x5528b3(_0x5f0a9e);},'MKYFI':_0x1898(0x5),'lozXh':function(_0x53c68e,_0x2c8c82){return _0x53c68e(_0x2c8c82);},'rqdOY':function(_0x594049,_0x1d3aea){return _0x594049!==_0x1d3aea;},'pmsbl':_0x1898(0x6),'Nvjcw':_0x1898(0x7),'BHswC':function(_0xc51992){return _0xc51992();},'DwmRO':_0x1898(0x8),'JkjRb':'Failed\x20to\x20confirm\x20selection.\x20Please\x20try\x20again.','HVzEg':_0x1898(0x9),'TAzkg':_0x1898(0xa),'NIUcN':_0x1898(0xb),'MnKnz':_0x1898(0xc),'UxBKF':function(_0x5f4472,_0x3d1aa0){return _0x5f4472!==_0x3d1aa0;},'qXpnR':_0x1898(0xd),'zLtSz':'public/key','nJDwt':_0x1898(0xe),'YGmyZ':'Error\x20getting\x20server\x20public\x20key:','ifehy':function(_0x21a7a4,_0x58e1f5){return _0x21a7a4===_0x58e1f5;},'ZDFZj':function(_0x5d434b,_0x529446,_0x23562f){return _0x5d434b(_0x529446,_0x23562f);},'fBetQ':_0x1898(0xf),'PutVP':_0x1898(0x10),'PwgRe':_0x1898(0x11),'xbnbW':_0x1898(0x12),'ULJZj':_0x1898(0x13),'FKHAL':'error-fallback-token','gXVNI':'QumLg','oJEaY':function(_0x671334,_0x4ce05d){return _0x671334(_0x4ce05d);},'eMMRX':function(_0x3e74e0,_0x4e0e0f){return _0x3e74e0===_0x4e0e0f;},'wtZkN':_0x1898(0x14),'wAXBM':_0x1898(0x15),'xvppw':_0x1898(0x16),'Lpyxq':function(_0x53e086,_0x5e3ddf){return _0x53e086(_0x5e3ddf);},'euklt':function(_0x431d8d,_0x1e206b){return _0x431d8d(_0x1e206b);},'CZCkF':function(_0xaaf3fa,_0x4563e3,_0x471de8){return _0xaaf3fa(_0x4563e3,_0x471de8);},'mwhSp':function(_0x53702e,_0x3ecb9e,_0xfcd312){return _0x53702e(_0x3ecb9e,_0xfcd312);},'IUatD':_0x1898(0x17),'eSyKD':_0x1898(0x18),'gJLQS':'Connect\x20your\x20data\x20to\x20create\x20a\x20Persona\x20of\x20you,\x20to\x20connect\x20to\x20Cosmos','ZrrUr':_0x1898(0x19),'QkjEH':_0x1898(0x1a),'qiQxd':function(_0x3d3a1b,_0x7f919b){return _0x3d3a1b&&_0x7f919b;},'ECsPy':_0x1898(0x1b),'eSUBs':_0x1898(0x1c)},[_0x12acc4,_0x53d73e]=_0xf4d47b[_0x1898(0x1d)](useState,{}),[_0x2792ff,_0x4b6126]=_0xf4d47b[_0x1898(0x1e)](useState,''),[_0x30d6d1,_0x2fbe68]=_0xf4d47b[_0x1898(0x1f)](useState,!![]),[_0x2dd416,_0x3dab6f]=_0xf4d47b[_0x1898(0x1e)](useState,{}),_0x163dd4=_0xf4d47b[_0x1898(0x1f)](useRef,new Animated[(_0x1898(0x20))](0x0))[_0x1898(0x21)];_0xf4d47b[_0x1898(0x22)](useEffect,()=>{const _0x494900={};Object[_0x1898(0x23)](_0x536f0b)[_0x1898(0x24)](_0x10d7da=>{_0x494900[_0x10d7da]=![];}),_0xf4d47b[_0x1898(0x25)](_0x53d73e,_0x494900);const _0x5aaea6={};platforms[_0x1898(0x24)](_0x45d662=>{_0x5aaea6[_0x45d662['id']]=![];}),_0xf4d47b[_0x1898(0x26)](_0x3dab6f,_0x5aaea6),_0x510880(),Animated['spring'](_0x163dd4,{'toValue':0x1,'useNativeDriver':!![],'bounciness':0x0})[_0x1898(0x27)]();},[]);const _0x510880=async()=>{if(_0xf4d47b[_0x1898(0x28)]!==_0xf4d47b[_0x1898(0x29)])try{if(__DEV__){_0xf4d47b['NZefI'](_0x4b6126,_0xf4d47b[_0x1898(0x2a)]);return;}const _0xb37cad=await onairosApi[_0x1898(0x2b)](_0x1898(0x2c),{'Info':{'username':_0x3e1f86}});if(_0xb37cad&&_0xb37cad[_0x1898(0x2d)]){const _0xf83372=_0xf4d47b[_0x1898(0x2e)](typeof _0xb37cad['data'],_0x1898(0x2f))&&_0xb37cad['data'][_0x1898(0x30)]?_0xb37cad[_0x1898(0x2d)][_0x1898(0x30)]:_0x1898(0x31)+_0x3e1f86;_0xf4d47b['xQoQn'](_0x4b6126,_0xf83372);}else _0xf4d47b[_0x1898(0x25)](_0x4b6126,_0x1898(0x31)+_0x3e1f86);}catch(_0x92d963){console[_0x1898(0x32)](_0xf4d47b[_0x1898(0x33)],_0x92d963),_0xf4d47b[_0x1898(0x34)](_0x4b6126,_0x1898(0x31)+_0x3e1f86);}else _0xf4d47b[_0x1898(0x35)](_0x5bd3d7,_0x8a88be['data']['APIUrl'],_0x3eeb39[_0x1898(0x2d)][_0x1898(0x36)],{'username':_0xe142d0,'selections':_0x3b6551,'platforms':_0x52a421}),_0x509bf9();},_0x16da61=_0xf4d47b[_0x1898(0x37)](useCallback,()=>{const _0x49144f={'nSTtP':function(_0x1dea99,_0xc527c3){return _0xf4d47b['qwJDM'](_0x1dea99,_0xc527c3);},'NlrAS':function(_0x2e1fa0,_0x25c11d){return _0xf4d47b[_0x1898(0x25)](_0x2e1fa0,_0x25c11d);}};if(_0xf4d47b['rqdOY'](_0xf4d47b['pmsbl'],_0x1898(0x38)))Animated[_0x1898(0x39)](_0x163dd4,{'toValue':0x0,'duration':0xfa,'useNativeDriver':!![]})[_0x1898(0x27)](()=>{_0x49144f[_0x1898(0x3a)](_0x2fbe68,![]);});else{const _0x553632={};_0x35c11e[_0x1898(0x23)](_0x129b57)[_0x1898(0x24)](_0x124273=>{_0x553632[_0x124273]=![];}),_0x49144f[_0x1898(0x3b)](_0xe0f82f,_0x553632);const _0x211fbf={};_0x44f045[_0x1898(0x24)](_0xbdf3d1=>{_0x211fbf[_0xbdf3d1['id']]=![];}),_0x49144f[_0x1898(0x3b)](_0x186491,_0x211fbf),_0x4f07e9(),Animated[_0x1898(0x3c)](_0x2a941f,{'toValue':0x1,'useNativeDriver':!![],'bounciness':0x0})[_0x1898(0x27)]();}},[_0x163dd4]),_0x2c8519=_0xf4d47b[_0x1898(0x22)](useCallback,_0x549cff=>{_0xf4d47b['rqdOY'](_0x1898(0x3d),_0xf4d47b[_0x1898(0x3e)])?_0xf4d47b[_0x1898(0x26)](_0x3dab6f,_0x319642=>({..._0x319642,[_0x549cff]:!_0x319642[_0x549cff]})):(_0xf4d47b[_0x1898(0x35)](_0x5c34ee,''+_0x4903b4[_0x1898(0x3f)],_0xf4d47b['Nvjcw'],{'username':_0x341c6a,'selections':_0x50aba6,'platforms':_0x44678c}),_0xf4d47b[_0x1898(0x40)](_0x3174e2));},[]),_0x4939e0=_0xf4d47b[_0x1898(0x41)](useCallback,async()=>{const _0x3e8bff={'oWagF':'object','JxobX':function(_0x52ff02,_0x38409b){return _0x52ff02(_0x38409b);}};try{const _0x7b492=Platform['select']({'ios':'com.onairos.mock','android':_0xf4d47b[_0x1898(0x42)],'default':_0xf4d47b[_0x1898(0x43)]});if(__DEV__){_0xf4d47b[_0x1898(0x35)](_0xbfb566,''+API_CONFIG[_0x1898(0x3f)],_0xf4d47b[_0x1898(0x44)],{'username':_0x3e1f86,'selections':_0x12acc4,'platforms':_0x2dd416}),_0x16da61();return;}let _0x300447=_0xf4d47b[_0x1898(0x45)];try{if(_0xf4d47b[_0x1898(0x46)](_0xf4d47b[_0x1898(0x47)],_0xf4d47b['qXpnR'])){const _0x2b77b2=typeof _0x292a64[_0x1898(0x2d)]===_0x3e8bff[_0x1898(0x48)]&&_0x497166[_0x1898(0x2d)]['AccountInfo']?_0x494272[_0x1898(0x2d)][_0x1898(0x30)]:_0x1898(0x31)+_0x51c7be;_0x3e8bff[_0x1898(0x49)](_0x2c2099,_0x2b77b2);}else{const _0x3107e1=await onairosApi[_0x1898(0x0)](_0xf4d47b['zLtSz']);_0x3107e1&&_0x3107e1[_0x1898(0x2d)]&&_0xf4d47b[_0x1898(0x2e)](typeof _0x3107e1['data'],_0x1898(0x2f))&&(_0x300447=_0x3107e1[_0x1898(0x2d)][_0x1898(0x4a)]||'mock-key');}}catch(_0x44677a){_0xf4d47b[_0x1898(0x2e)](_0xf4d47b[_0x1898(0x4b)],_0x1898(0xe))?console[_0x1898(0x32)](_0xf4d47b[_0x1898(0x4c)],_0x44677a):_0x2c9c7c(![]);}let _0x3735d5=_0x15d020;if(_0xf4d47b['ifehy'](typeof encryptModelKey,'function')&&_0x300447)try{_0x3735d5=_0xf4d47b[_0x1898(0x22)](encryptModelKey,_0x300447,_0x15d020);}catch(_0x459b7b){console[_0x1898(0x32)](_0xf4d47b[_0x1898(0x4d)],_0x459b7b);}const _0x53808e=await onairosApi[_0x1898(0x2b)](_0xf4d47b[_0x1898(0x4e)],{'Info':{'storage':_0xf4d47b[_0x1898(0x4f)],'appId':_0x7b492,'confirmations':_0x12acc4,'developerURL':_0xf4d47b[_0x1898(0x50)],'EncryptedUserPin':_0x3735d5,'username':_0x3e1f86,'platforms':_0x2dd416}});_0x53808e&&_0x53808e[_0x1898(0x2d)]&&_0x53808e['data'][_0x1898(0x51)]&&_0x53808e['data'][_0x1898(0x36)]?(_0xbfb566(_0x53808e[_0x1898(0x2d)][_0x1898(0x51)],_0x53808e['data'][_0x1898(0x36)],{'username':_0x3e1f86,'selections':_0x12acc4,'platforms':_0x2dd416}),_0x16da61()):(_0xf4d47b[_0x1898(0x35)](_0xbfb566,''+API_CONFIG[_0x1898(0x3f)],_0x1898(0x7),{'username':_0x3e1f86,'selections':_0x12acc4,'platforms':_0x2dd416}),_0x16da61());}catch(_0x56e5d2){console[_0x1898(0x32)](_0x1898(0x52),_0x56e5d2),__DEV__?'pBGJT'===_0xf4d47b[_0x1898(0x53)]?_0x58307f[_0xde80dc['id']]=![]:(_0xf4d47b[_0x1898(0x35)](_0xbfb566,''+API_CONFIG['BASE_URL'],_0xf4d47b[_0x1898(0x54)],{'username':_0x3e1f86,'selections':_0x12acc4,'platforms':_0x2dd416,'error':!![]}),_0x16da61()):_0xf4d47b[_0x1898(0x46)](_0xf4d47b[_0x1898(0x55)],_0xf4d47b[_0x1898(0x55)])?_0xf4d47b['xQoQn'](_0x744f9f,_0xf4d47b[_0x1898(0x56)]):_0xf4d47b[_0x1898(0x34)](_0x2eb484,_0xf4d47b[_0x1898(0x56)]);}},[_0x12acc4,_0x3e1f86,_0x15d020,_0xbfb566,_0x16da61,_0x2dd416]),_0x2eb484=_0x5143e3=>{_0xf4d47b[_0x1898(0x57)](_0xf4d47b[_0x1898(0x58)],_0xf4d47b[_0x1898(0x59)])?_0xf4d47b[_0x1898(0x5a)](_0x979181,_0xa27e70=>({..._0xa27e70,[_0x4b0fe6]:!_0xa27e70[_0x177b05]})):Alert[_0x1898(0x5b)](_0xf4d47b[_0x1898(0x5c)],_0x5143e3,[{'text':'OK'}]);};return React[_0x1898(0x5d)](Modal,{'visible':_0x30d6d1,'transparent':!![],'animationType':_0x1898(0x5e),'statusBarTranslucent':!![],'onRequestClose':_0x16da61},React['createElement'](TouchableOpacity,{'style':styles[_0x1898(0x5f)],'activeOpacity':0x1,'onPress':_0x16da61},React[_0x1898(0x5d)](TouchableWithoutFeedback,{'onPress':_0x2c0d17=>_0x2c0d17['stopPropagation']()},React[_0x1898(0x5d)](Animated[_0x1898(0x60)],{'style':[styles[_0x1898(0x61)],darkMode&&styles['darkContainer'],{'transform':[{'translateY':_0x163dd4['interpolate']({'inputRange':[0x0,0x1],'outputRange':[SCREEN_HEIGHT,0x0]})}]}]},React[_0x1898(0x5d)](View,{'style':styles[_0x1898(0x62)]},React[_0x1898(0x5d)](View,{'style':[styles[_0x1898(0x63)],darkMode&&styles[_0x1898(0x64)]]})),React[_0x1898(0x5d)](SafeAreaView,{'style':[styles[_0x1898(0x65)],darkMode&&styles['darkContainer']]},React[_0x1898(0x5d)](View,{'style':[styles[_0x1898(0x66)],darkMode&&styles[_0x1898(0x67)]]},React[_0x1898(0x5d)](View,{'style':styles['headerContent']},React[_0x1898(0x5d)](View,{'style':[styles[_0x1898(0x68)],darkMode&&styles[_0x1898(0x69)]]},React['createElement'](Text,{'style':[styles[_0x1898(0x6a)],darkMode&&styles['darkText']]},appName[_0x1898(0x6b)](0x0))),React[_0x1898(0x5d)](_0x22a7b1,{'name':_0x1898(0x6c),'size':0x18,'color':darkMode?_0xf4d47b[_0x1898(0x6d)]:_0xf4d47b[_0x1898(0x6e)],'style':styles[_0x1898(0x6f)]}),React[_0x1898(0x5d)](View,{'style':[styles[_0x1898(0x70)],darkMode&&styles[_0x1898(0x71)]]},React[_0x1898(0x5d)](Text,{'style':[styles[_0x1898(0x72)],darkMode&&styles['darkText']]},'O')))),React[_0x1898(0x5d)](ScrollView,{'style':styles[_0x1898(0x73)]},React[_0x1898(0x5d)](View,{'style':styles[_0x1898(0x74)]},React['createElement'](Text,{'style':[styles[_0x1898(0x75)],darkMode&&styles['darkText']]},_0xf4d47b[_0x1898(0x76)]),React['createElement'](Text,{'style':[styles['privacyMessage'],darkMode&&styles[_0x1898(0x77)]]},_0xf4d47b[_0x1898(0x78)])),React['createElement'](View,{'style':styles[_0x1898(0x79)]},platforms[_0x1898(0x7a)](_0xcca2dc=>React[_0x1898(0x5d)](View,{'key':_0xcca2dc['id'],'style':[styles[_0x1898(0x7b)],darkMode&&styles['darkPlatformItem']]},React[_0x1898(0x5d)](View,{'style':styles[_0x1898(0x7c)]},React[_0x1898(0x5d)](Image,{'source':_0xcca2dc[_0x1898(0x7d)],'style':styles[_0x1898(0x7e)],'resizeMode':_0x1898(0x7f)}),React[_0x1898(0x5d)](Text,{'style':[styles[_0x1898(0x80)],darkMode&&styles[_0x1898(0x81)]]},_0xcca2dc[_0x1898(0x82)])),React[_0x1898(0x5d)](Switch,{'value':_0x2dd416[_0xcca2dc['id']],'onValueChange':()=>_0x2c8519(_0xcca2dc['id']),'trackColor':{'false':'#767577','true':_0x1898(0x83)},'thumbColor':_0x2dd416[_0xcca2dc['id']]?'#2196F3':_0x1898(0x84)}))))),React[_0x1898(0x5d)](View,{'style':[styles[_0x1898(0x85)],darkMode&&styles['darkFooter']]},React[_0x1898(0x5d)](TouchableOpacity,{'style':styles['footerButtonCancel'],'onPress':_0x16da61},React[_0x1898(0x5d)](Text,{'style':[styles['footerButtonText'],darkMode&&styles[_0x1898(0x77)]]},_0xf4d47b[_0x1898(0x86)])),React[_0x1898(0x5d)](TouchableOpacity,{'style':[styles[_0x1898(0x87)],darkMode&&styles[_0x1898(0x88)]],'onPress':_0x4939e0},React[_0x1898(0x5d)](Text,{'style':[styles[_0x1898(0x89)],_0xf4d47b[_0x1898(0x8a)](darkMode,{'color':_0xf4d47b[_0x1898(0x8b)]})]},_0xf4d47b[_0x1898(0x8c)]))))))));};function _0x23be(){const _0xbbf91=['get','window','hcQoa','qnVQD','Development\x20mode\x20-\x20mock\x20account\x20info','Error\x20getting\x20account\x20info:','uGsEs','fallback-token','KuBHd','com.onairos.mock','unknown','mock-token','mock-key','UJkPV','qGuZU','Error\x20encrypting\x20model\x20key:','getAPIUrlMobile','local','devURL','pvQoG','cVDjn','WKUbj','Error','#999','#666','None\x20of\x20your\x20app\x20data\x20is\x20shared\x20with\x20ANYONE','Cancel','#000','Connect','Lpyxq','xQoQn','euklt','Value','current','ZDFZj','keys','forEach','qwJDM','NZefI','start','fpJox','xrVaA','oznxe','post','getAccountInfo','data','YAZla','object','AccountInfo','User:\x20','error','MKYFI','lozXh','eEoSQ','token','CZCkF','RzHGV','timing','nSTtP','NlrAS','spring','TxnHV','DwmRO','BASE_URL','BHswC','mwhSp','HVzEg','TAzkg','NIUcN','MnKnz','UxBKF','qXpnR','oWagF','JxobX','publicKey','nJDwt','YGmyZ','fBetQ','PutVP','PwgRe','xbnbW','APIUrl','Error\x20confirming\x20selection:','ULJZj','FKHAL','gXVNI','JkjRb','eMMRX','wtZkN','wAXBM','oJEaY','alert','xvppw','createElement','none','modalOverlay','View','bottomSheet','handleContainer','handle','darkHandle','container','header','darkHeader','appIcon','darkAppIcon','appIconText','charAt','arrow_forward','IUatD','eSyKD','arrow','onairosIcon','darkOnairosIcon','onairosIconText','content','titleContainer','mainTitle','gJLQS','darkSubText','ZrrUr','platformsContainer','map','platformItem','platformInfo','icon','platformIcon','contain','platformName','darkText','name','#81b0ff','#f4f3f4','footer','QkjEH','footerButtonConfirm','darkFooterButtonConfirm','footerButtonTextConfirm','qiQxd','ECsPy','eSUBs','rgba(0,\x200,\x200,\x200.5)','#fff','center','#E0E0E0','#1A1A1A','row','#F5F5F5','#2A2A2A','600','space-between','#eee','500','#333'];_0x23be=function(){return _0xbbf91;};return _0x23be();}function _0x1898(_0x23bef4,_0x1898af){_0x23bef4=_0x23bef4-0x0;const _0x28c90d=_0x23be();let _0x3b271d=_0x28c90d[_0x23bef4];return _0x3b271d;}const styles=StyleSheet['create']({'modalOverlay':{'flex':0x1,'backgroundColor':_0x1898(0x8d),'justifyContent':'flex-end'},'bottomSheet':{'backgroundColor':_0x1898(0x8e),'borderTopLeftRadius':0x18,'borderTopRightRadius':0x18,'width':SCREEN_WIDTH,'height':SCREEN_HEIGHT*0.8,'overflow':'hidden'},'handleContainer':{'width':'100%','alignItems':_0x1898(0x8f),'paddingTop':0xc,'paddingBottom':0x8},'handle':{'width':0x28,'height':0x5,'borderRadius':0x3,'backgroundColor':_0x1898(0x90)},'darkHandle':{'backgroundColor':_0x1898(0x18)},'container':{'flex':0x1,'backgroundColor':_0x1898(0x8e)},'darkContainer':{'backgroundColor':'#1A1A1A'},'header':{'padding':0x18,'alignItems':_0x1898(0x8f)},'darkHeader':{'backgroundColor':_0x1898(0x91)},'headerContent':{'flexDirection':_0x1898(0x92),'alignItems':_0x1898(0x8f),'justifyContent':_0x1898(0x8f),'marginBottom':0x10},'appIcon':{'width':0x30,'height':0x30,'borderRadius':0x10,'backgroundColor':_0x1898(0x93),'alignItems':_0x1898(0x8f),'justifyContent':_0x1898(0x8f)},'darkAppIcon':{'backgroundColor':_0x1898(0x94)},'appIconText':{'fontSize':0x18,'color':_0x1898(0x1b)},'darkText':{'color':'#fff'},'arrow':{'marginHorizontal':0x10},'onairosIcon':{'width':0x30,'height':0x30,'borderRadius':0x10,'backgroundColor':_0x1898(0x93),'alignItems':_0x1898(0x8f),'justifyContent':_0x1898(0x8f)},'darkOnairosIcon':{'backgroundColor':'#2A2A2A'},'onairosIconText':{'fontSize':0x18,'color':'#000'},'darkSubText':{'color':_0x1898(0x17)},'titleContainer':{'marginBottom':0x1e},'mainTitle':{'fontSize':0x16,'fontWeight':_0x1898(0x95),'color':_0x1898(0x1b),'textAlign':_0x1898(0x8f),'marginBottom':0x10},'privacyMessage':{'fontSize':0xe,'color':_0x1898(0x18),'textAlign':'center','marginBottom':0x10},'content':{'flex':0x1,'paddingHorizontal':0x18},'platformsContainer':{'marginTop':0x10},'platformItem':{'flexDirection':_0x1898(0x92),'justifyContent':_0x1898(0x96),'alignItems':_0x1898(0x8f),'padding':0x10,'backgroundColor':_0x1898(0x8e),'borderRadius':0x10,'marginBottom':0x10,'borderWidth':0x1,'borderColor':_0x1898(0x97)},'darkPlatformItem':{'backgroundColor':_0x1898(0x94),'borderColor':'#333'},'platformInfo':{'flexDirection':_0x1898(0x92),'alignItems':_0x1898(0x8f)},'platformIcon':{'width':0x20,'height':0x20,'marginRight':0xc},'platformName':{'fontSize':0x10,'fontWeight':_0x1898(0x98),'color':_0x1898(0x1b)},'footer':{'flexDirection':_0x1898(0x92),'alignItems':'center','justifyContent':'space-between','padding':0x18,'borderTopWidth':0x1,'borderTopColor':_0x1898(0x97),'backgroundColor':_0x1898(0x8e)},'darkFooter':{'backgroundColor':_0x1898(0x94),'borderTopColor':_0x1898(0x99)},'footerButtonCancel':{'paddingVertical':0x8,'paddingHorizontal':0x10},'darkFooterButton':{'backgroundColor':'transparent'},'footerButtonConfirm':{'paddingVertical':0x10,'paddingHorizontal':0x20,'borderRadius':0x10,'backgroundColor':_0x1898(0x8e),'borderWidth':0x1,'borderColor':'#000'},'darkFooterButtonConfirm':{'backgroundColor':_0x1898(0x8e),'borderColor':_0x1898(0x8e)},'footerButtonText':{'color':'#666','fontSize':0x10},'footerButtonTextConfirm':{'color':_0x1898(0x1b),'fontSize':0x10,'fontWeight':_0x1898(0x95)},'lightBackground':{'backgroundColor':'#fff'},'darkBackground':{'backgroundColor':'#1A1A1A'}});
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 _0xc6f31a from'react-native-vector-icons/MaterialIcons';function _0xa6e6(_0x15606b,_0xa6e64a){_0x15606b=_0x15606b-0x0;const _0x2dc19a=_0x1560();let _0x2e9313=_0x2dc19a[_0x15606b];return _0x2e9313;}import{onairosApi}from'../api';import{encryptModelKey}from'../utils/encryption';import{OVERLAY_PLATFORMS}from'../utils/assetRegistry';const {width:SCREEN_WIDTH,height:SCREEN_HEIGHT}=Dimensions['get'](_0xa6e6(0x0));import{API_CONFIG}from'../config/api';export const Overlay=({data:_0xea0b94,username:_0xeaa29e,modelKey:_0x3fe198,onResolved:_0x27d20f,appName:appName=_0xa6e6(0x1),darkMode:darkMode=![],platforms:platforms=OVERLAY_PLATFORMS})=>{const _0x110357={'mdKqw':function(_0x1a5fb2,_0x352a0b){return _0x1a5fb2===_0x352a0b;},'gBZgJ':_0xa6e6(0x2),'ydxnl':_0xa6e6(0x3),'sgyhy':function(_0x3198e0,_0x5ef560,_0x3cd991,_0x23f529){return _0x3198e0(_0x5ef560,_0x3cd991,_0x23f529);},'gMhzy':_0xa6e6(0x4),'Xgzbk':function(_0x101ead){return _0x101ead();},'sjZTY':function(_0x10583f,_0x1b648e){return _0x10583f===_0x1b648e;},'VWaqA':_0xa6e6(0x5),'rxgKI':function(_0x4c3acb,_0x4a5035){return _0x4c3acb(_0x4a5035);},'Fpbyj':function(_0x5da1df,_0x334a22){return _0x5da1df(_0x334a22);},'fvSVB':function(_0x3d0a57,_0xc8fb04){return _0x3d0a57(_0xc8fb04);},'VrcIu':function(_0x3d28c9,_0x92aaea){return _0x3d28c9(_0x92aaea);},'lflMZ':_0xa6e6(0x6),'IgbZC':'getAccountInfo','idwaC':_0xa6e6(0x7),'cGIhz':function(_0x24f50f,_0x1c706f){return _0x24f50f(_0x1c706f);},'zdSJk':function(_0x19277a,_0x59ec9f){return _0x19277a!==_0x59ec9f;},'LSJMo':_0xa6e6(0x8),'SVRVN':'giUrA','NkXlm':'Error\x20getting\x20account\x20info:','wwMMb':function(_0x125aed,_0x48256b){return _0x125aed(_0x48256b);},'EPenM':'pBKji','CxbiV':_0xa6e6(0x9),'Npqil':_0xa6e6(0xa),'AYQMG':function(_0x28660c,_0x45824a,_0xeffe2a){return _0x28660c(_0x45824a,_0xeffe2a);},'Efvtd':function(_0x4333dc,_0x28e062){return _0x4333dc(_0x28e062);},'crerg':function(_0x56c626){return _0x56c626();},'xearK':_0xa6e6(0xb),'rgydY':function(_0x22d06e,_0x211b5){return _0x22d06e===_0x211b5;},'Uyiqt':_0xa6e6(0xc),'hrsLb':'riFKs','ZJiaV':function(_0x486eaf,_0x2503f8,_0x3e15ef,_0x47696c){return _0x486eaf(_0x2503f8,_0x3e15ef,_0x47696c);},'WriRr':_0xa6e6(0xd),'dMOJi':_0xa6e6(0xe),'tCZgi':_0xa6e6(0xf),'dDVtn':_0xa6e6(0x10),'zHKkc':_0xa6e6(0x11),'RgUAC':function(_0x58dfb6,_0x2e82c9){return _0x58dfb6===_0x2e82c9;},'Htmdw':_0xa6e6(0x12),'xvfof':_0xa6e6(0x13),'EVVla':function(_0x54cf0d,_0x4bb905){return _0x54cf0d!==_0x4bb905;},'zxbud':_0xa6e6(0x14),'CABAM':_0xa6e6(0x15),'ZikbJ':_0xa6e6(0x16),'jeavj':_0xa6e6(0x17),'kEoyq':function(_0x4b7b5d,_0x69621e){return _0x4b7b5d===_0x69621e;},'wHlIQ':'ukOPn','HmhpE':_0xa6e6(0x18),'HuGIr':function(_0x3eca6d){return _0x3eca6d();},'IQPrh':_0xa6e6(0x19),'rAZKu':function(_0x3c496d){return _0x3c496d();},'gZrgZ':_0xa6e6(0x1a),'mRlwK':_0xa6e6(0x1b),'Vkgfw':'czPlu','sngBm':function(_0x4ece7d,_0x46b23a){return _0x4ece7d(_0x46b23a);},'RaESt':'Failed\x20to\x20confirm\x20selection.\x20Please\x20try\x20again.','OzjxD':function(_0x57413b,_0x20b451){return _0x57413b===_0x20b451;},'TiRuA':_0xa6e6(0x1c),'AAnkS':_0xa6e6(0x1d),'hitYR':function(_0x3b5bb0,_0x328974){return _0x3b5bb0(_0x328974);},'WURQE':function(_0x4d8adb,_0x1d9def){return _0x4d8adb(_0x1d9def);},'wTAkh':function(_0x524283,_0x29ad9d,_0x391953){return _0x524283(_0x29ad9d,_0x391953);},'piUXz':_0xa6e6(0x1e),'ondPB':_0xa6e6(0x1f),'PqAEm':_0xa6e6(0x20),'iaUOo':'Connect\x20your\x20data\x20to\x20create\x20a\x20Persona\x20of\x20you,\x20to\x20connect\x20to\x20Cosmos','AGRqd':_0xa6e6(0x21),'ApCnv':_0xa6e6(0x22),'qtjqn':function(_0xf6d5a,_0x149be5){return _0xf6d5a&&_0x149be5;},'Ergay':_0xa6e6(0x23),'eiQqm':_0xa6e6(0x24)},[_0x18b267,_0x3da77b]=useState({}),[_0x57ebf8,_0x5b22de]=_0x110357['hitYR'](useState,''),[_0x9f1ae6,_0x3e9035]=useState(!![]),[_0x430f25,_0x55847a]=useState({}),_0x29855a=_0x110357[_0xa6e6(0x25)](useRef,new Animated[(_0xa6e6(0x26))](0x0))[_0xa6e6(0x27)];_0x110357[_0xa6e6(0x28)](useEffect,()=>{const _0x187399={'pEedU':function(_0x10b8ab,_0x34aefb){return _0x110357[_0xa6e6(0x29)](_0x10b8ab,_0x34aefb);},'AUIUw':_0x110357[_0xa6e6(0x2a)],'xrOdC':_0xa6e6(0x2b),'BFOWr':function(_0x21272d,_0x20e19f,_0x28f543,_0x258db8){return _0x110357[_0xa6e6(0x2c)](_0x21272d,_0x20e19f,_0x28f543,_0x258db8);},'jcrFq':_0x110357[_0xa6e6(0x2d)],'pVPOV':function(_0x55b82a){return _0x110357[_0xa6e6(0x2e)](_0x55b82a);}};if(_0x110357[_0xa6e6(0x2f)](_0x110357['VWaqA'],_0x110357[_0xa6e6(0x30)])){const _0xa76859={};Object[_0xa6e6(0x31)](_0xea0b94)[_0xa6e6(0x32)](_0x196e80=>{_0x187399[_0xa6e6(0x33)](_0x187399[_0xa6e6(0x34)],_0x187399['xrOdC'])?_0x26ebdb[_0x85a412]=![]:_0xa76859[_0x196e80]=![];}),_0x110357['rxgKI'](_0x3da77b,_0xa76859);const _0x45a96a={};platforms[_0xa6e6(0x32)](_0x4dfb67=>{_0x110357['mdKqw'](_0x110357['gBZgJ'],_0x110357[_0xa6e6(0x35)])?_0x45a96a[_0x4dfb67['id']]=![]:(_0x187399[_0xa6e6(0x36)](_0x1dd30c,''+_0x4cd943[_0xa6e6(0x37)],_0x187399[_0xa6e6(0x38)],{'username':_0x541c5a,'selections':_0x326ba4,'platforms':_0x5e1a12,'error':!![]}),_0x187399['pVPOV'](_0x35be6c));}),_0x110357[_0xa6e6(0x39)](_0x55847a,_0x45a96a),_0x110357[_0xa6e6(0x2e)](_0x3b90aa),Animated['spring'](_0x29855a,{'toValue':0x1,'useNativeDriver':!![],'bounciness':0x0})['start']();}else _0x541734(_0xa6e6(0x3a)+_0x27c615);},[]);const _0x3b90aa=async()=>{try{if(__DEV__){_0x110357['VrcIu'](_0x5b22de,_0x110357[_0xa6e6(0x3b)]);return;}const _0x47a54e=await onairosApi[_0xa6e6(0x3c)](_0x110357[_0xa6e6(0x3d)],{'Info':{'username':_0xeaa29e}});if(_0x47a54e&&_0x47a54e[_0xa6e6(0x3e)]){const _0x37ad7a=_0x110357[_0xa6e6(0x29)](typeof _0x47a54e[_0xa6e6(0x3e)],_0x110357[_0xa6e6(0x3f)])&&_0x47a54e[_0xa6e6(0x3e)][_0xa6e6(0x40)]?_0x47a54e[_0xa6e6(0x3e)][_0xa6e6(0x40)]:'User:\x20'+_0xeaa29e;_0x5b22de(_0x37ad7a);}else _0x110357[_0xa6e6(0x41)](_0x5b22de,_0xa6e6(0x3a)+_0xeaa29e);}catch(_0x43db85){_0x110357[_0xa6e6(0x42)](_0x110357[_0xa6e6(0x43)],_0x110357[_0xa6e6(0x44)])?(console[_0xa6e6(0x45)](_0x110357[_0xa6e6(0x46)],_0x43db85),_0x110357[_0xa6e6(0x47)](_0x5b22de,_0xa6e6(0x3a)+_0xeaa29e)):_0x110357[_0xa6e6(0x48)](_0x599db6,_0x459354=>({..._0x459354,[_0x498938]:!_0x459354[_0x3088d9]}));}},_0x209205=useCallback(()=>{Animated[_0xa6e6(0x49)](_0x29855a,{'toValue':0x0,'duration':0xfa,'useNativeDriver':!![]})[_0xa6e6(0x4a)](()=>{const _0xdcf2d5={'Xtjnz':function(_0x88a292,_0x1f0f21){return _0x88a292(_0x1f0f21);}};_0x110357[_0xa6e6(0x2f)](_0x110357['EPenM'],_0x110357[_0xa6e6(0x4b)])?_0x110357['cGIhz'](_0x3e9035,![]):_0xdcf2d5[_0xa6e6(0x4c)](_0x4868f2,![]);});},[_0x29855a]),_0x3490ef=_0x110357['wTAkh'](useCallback,_0x3852fa=>{_0x110357[_0xa6e6(0x4d)]!==_0x110357[_0xa6e6(0x4d)]?Alert['alert'](_0x110357['CxbiV'],_0x4731ee,[{'text':'OK'}]):_0x55847a(_0x374825=>({..._0x374825,[_0x3852fa]:!_0x374825[_0x3852fa]}));},[]),_0xa2c838=useCallback(async()=>{const _0x53f2c3={'rRicL':function(_0x31d2e8,_0xfe9ed3){return _0x110357[_0xa6e6(0x4e)](_0x31d2e8,_0xfe9ed3);},'jroWA':_0xa6e6(0x6),'MtCpP':function(_0x3e0249,_0x24484e,_0x2ceee5,_0x43c846){return _0x110357[_0xa6e6(0x2c)](_0x3e0249,_0x24484e,_0x2ceee5,_0x43c846);},'aUEwv':function(_0x321b7c,_0x263378,_0xd3e605){return _0x110357[_0xa6e6(0x28)](_0x321b7c,_0x263378,_0xd3e605);}};try{const _0x53a08e=Platform[_0xa6e6(0x4f)]({'ios':_0x110357[_0xa6e6(0x50)],'android':_0x110357[_0xa6e6(0x50)],'default':_0xa6e6(0x51)});if(__DEV__){if(_0x110357['rgydY'](_0x110357['Uyiqt'],_0x110357[_0xa6e6(0x52)]))_0x3b6b71['error'](_0xa6e6(0x1a),_0xef670a),_0x32ca3d?(_0x110357[_0xa6e6(0x2c)](_0x416220,''+_0x14f9f4[_0xa6e6(0x37)],_0x110357[_0xa6e6(0x2d)],{'username':_0x24f2d1,'selections':_0x1edb7d,'platforms':_0x375411,'error':!![]}),_0x110357[_0xa6e6(0x2e)](_0x4ac02e)):_0x279f10('Failed\x20to\x20confirm\x20selection.\x20Please\x20try\x20again.');else{_0x110357[_0xa6e6(0x53)](_0x27d20f,''+API_CONFIG[_0xa6e6(0x37)],_0x110357['WriRr'],{'username':_0xeaa29e,'selections':_0x18b267,'platforms':_0x430f25}),_0x110357[_0xa6e6(0x54)](_0x209205);return;}}let _0x18c07f=_0x110357[_0xa6e6(0x55)];try{const _0x257891=await onairosApi[_0xa6e6(0x56)](_0xa6e6(0x57));_0x257891&&_0x257891[_0xa6e6(0x3e)]&&_0x110357[_0xa6e6(0x29)](typeof _0x257891[_0xa6e6(0x3e)],_0x110357[_0xa6e6(0x3f)])&&(_0x110357[_0xa6e6(0x58)](_0x110357[_0xa6e6(0x59)],_0x110357[_0xa6e6(0x5a)])?_0x5282c2=_0x110357['AYQMG'](_0x25b2fb,_0x3e1211,_0x3084fa):_0x18c07f=_0x257891[_0xa6e6(0x3e)][_0xa6e6(0x5b)]||_0xa6e6(0xe));}catch(_0xcb4a42){console['error'](_0x110357[_0xa6e6(0x5c)],_0xcb4a42);}let _0x4ea4fe=_0x3fe198;if(_0x110357['RgUAC'](typeof encryptModelKey,_0x110357[_0xa6e6(0x5d)])&&_0x18c07f)try{if(_0x110357['RgUAC'](_0x110357[_0xa6e6(0x5e)],_0xa6e6(0x5f))){_0x53f2c3['rRicL'](_0x1e6a77,_0x53f2c3[_0xa6e6(0x60)]);return;}else _0x4ea4fe=_0x110357[_0xa6e6(0x28)](encryptModelKey,_0x18c07f,_0x3fe198);}catch(_0x56f742){if(_0x110357[_0xa6e6(0x61)](_0x110357[_0xa6e6(0x62)],_0x110357[_0xa6e6(0x63)]))console[_0xa6e6(0x45)](_0x110357[_0xa6e6(0x64)],_0x56f742);else{const _0x3eb9de={};_0x12d32b[_0xa6e6(0x31)](_0x3d16cc)[_0xa6e6(0x32)](_0x45f816=>{_0x3eb9de[_0x45f816]=![];}),_0x110357[_0xa6e6(0x47)](_0x28d13b,_0x3eb9de);const _0x4ebb05={};_0x46ab54[_0xa6e6(0x32)](_0x57bd37=>{_0x4ebb05[_0x57bd37['id']]=![];}),_0x110357[_0xa6e6(0x65)](_0x247f42,_0x4ebb05),_0x110357['crerg'](_0x109c16),Animated[_0xa6e6(0x66)](_0x3eb6a7,{'toValue':0x1,'useNativeDriver':!![],'bounciness':0x0})[_0xa6e6(0x4a)]();}}const _0x13a3d8=await onairosApi[_0xa6e6(0x3c)]('getAPIUrlMobile',{'Info':{'storage':_0x110357[_0xa6e6(0x67)],'appId':_0x53a08e,'confirmations':_0x18b267,'developerURL':_0xa6e6(0x68),'EncryptedUserPin':_0x4ea4fe,'username':_0xeaa29e,'platforms':_0x430f25}});if(_0x13a3d8&&_0x13a3d8[_0xa6e6(0x3e)]&&_0x13a3d8[_0xa6e6(0x3e)][_0xa6e6(0x69)]&&_0x13a3d8[_0xa6e6(0x3e)]['token']){if(_0x110357['kEoyq'](_0x110357[_0xa6e6(0x6a)],_0x110357['HmhpE'])){_0x53f2c3[_0xa6e6(0x6b)](_0x36cede,''+_0x49e592['BASE_URL'],'mock-token',{'username':_0x574036,'selections':_0x94d2d8,'platforms':_0x40b809}),_0x5ce22a();return;}else _0x110357[_0xa6e6(0x53)](_0x27d20f,_0x13a3d8[_0xa6e6(0x3e)][_0xa6e6(0x69)],_0x13a3d8[_0xa6e6(0x3e)]['token'],{'username':_0xeaa29e,'selections':_0x18b267,'platforms':_0x430f25}),_0x110357['HuGIr'](_0x209205);}else _0x110357[_0xa6e6(0x2c)](_0x27d20f,''+API_CONFIG[_0xa6e6(0x37)],_0x110357[_0xa6e6(0x6c)],{'username':_0xeaa29e,'selections':_0x18b267,'platforms':_0x430f25}),_0x110357[_0xa6e6(0x6d)](_0x209205);}catch(_0x489b18){console[_0xa6e6(0x45)](_0x110357[_0xa6e6(0x6e)],_0x489b18);if(__DEV__)_0x27d20f(''+API_CONFIG['BASE_URL'],_0x110357[_0xa6e6(0x2d)],{'username':_0xeaa29e,'selections':_0x18b267,'platforms':_0x430f25,'error':!![]}),_0x110357[_0xa6e6(0x2e)](_0x209205);else{if(_0x110357[_0xa6e6(0x29)](_0x110357[_0xa6e6(0x6f)],_0x110357[_0xa6e6(0x70)]))try{_0x248289=_0x53f2c3[_0xa6e6(0x71)](_0x5f179e,_0x127b84,_0x42022c);}catch(_0x5c7452){_0x471cb1[_0xa6e6(0x45)](_0xa6e6(0x16),_0x5c7452);}else _0x110357['sngBm'](_0x48f631,_0x110357[_0xa6e6(0x72)]);}}},[_0x18b267,_0xeaa29e,_0x3fe198,_0x27d20f,_0x209205,_0x430f25]),_0x48f631=_0x79eefd=>{if(_0x110357[_0xa6e6(0x73)](_0x110357[_0xa6e6(0x74)],_0x110357[_0xa6e6(0x75)])){const _0x1b1b90=_0x110357[_0xa6e6(0x76)](typeof _0x162998[_0xa6e6(0x3e)],_0x110357[_0xa6e6(0x3f)])&&_0x353f90[_0xa6e6(0x3e)][_0xa6e6(0x40)]?_0x2edb82[_0xa6e6(0x3e)][_0xa6e6(0x40)]:_0xa6e6(0x3a)+_0x205f78;_0x110357['rxgKI'](_0xd3b609,_0x1b1b90);}else Alert['alert'](_0x110357[_0xa6e6(0x77)],_0x79eefd,[{'text':'OK'}]);};return React[_0xa6e6(0x78)](Modal,{'visible':_0x9f1ae6,'transparent':!![],'animationType':_0x110357['piUXz'],'statusBarTranslucent':!![],'onRequestClose':_0x209205},React['createElement'](TouchableOpacity,{'style':styles['modalOverlay'],'activeOpacity':0x1,'onPress':_0x209205},React[_0xa6e6(0x78)](TouchableWithoutFeedback,{'onPress':_0x308b4d=>_0x308b4d[_0xa6e6(0x79)]()},React[_0xa6e6(0x78)](Animated['View'],{'style':[styles['bottomSheet'],darkMode&&styles[_0xa6e6(0x7a)],{'transform':[{'translateY':_0x29855a[_0xa6e6(0x7b)]({'inputRange':[0x0,0x1],'outputRange':[SCREEN_HEIGHT,0x0]})}]}]},React[_0xa6e6(0x78)](View,{'style':styles[_0xa6e6(0x7c)]},React[_0xa6e6(0x78)](View,{'style':[styles['handle'],darkMode&&styles[_0xa6e6(0x7d)]]})),React[_0xa6e6(0x78)](SafeAreaView,{'style':[styles[_0xa6e6(0x7e)],darkMode&&styles['darkContainer']]},React[_0xa6e6(0x78)](View,{'style':[styles['header'],darkMode&&styles[_0xa6e6(0x7f)]]},React[_0xa6e6(0x78)](View,{'style':styles[_0xa6e6(0x80)]},React['createElement'](View,{'style':[styles[_0xa6e6(0x81)],darkMode&&styles[_0xa6e6(0x82)]]},React['createElement'](Text,{'style':[styles[_0xa6e6(0x83)],darkMode&&styles[_0xa6e6(0x84)]]},appName[_0xa6e6(0x85)](0x0))),React['createElement'](_0xc6f31a,{'name':_0x110357[_0xa6e6(0x86)],'size':0x18,'color':darkMode?_0xa6e6(0x87):_0x110357[_0xa6e6(0x88)],'style':styles['arrow']}),React[_0xa6e6(0x78)](View,{'style':[styles[_0xa6e6(0x89)],darkMode&&styles['darkOnairosIcon']]},React[_0xa6e6(0x78)](Text,{'style':[styles[_0xa6e6(0x8a)],darkMode&&styles[_0xa6e6(0x84)]]},'O')))),React[_0xa6e6(0x78)](ScrollView,{'style':styles[_0xa6e6(0x8b)]},React[_0xa6e6(0x78)](View,{'style':styles[_0xa6e6(0x8c)]},React[_0xa6e6(0x78)](Text,{'style':[styles[_0xa6e6(0x8d)],darkMode&&styles[_0xa6e6(0x84)]]},_0x110357['iaUOo']),React[_0xa6e6(0x78)](Text,{'style':[styles[_0xa6e6(0x8e)],darkMode&&styles[_0xa6e6(0x8f)]]},_0x110357[_0xa6e6(0x90)])),React[_0xa6e6(0x78)](View,{'style':styles[_0xa6e6(0x91)]},platforms[_0xa6e6(0x92)](_0x28a67e=>React[_0xa6e6(0x78)](View,{'key':_0x28a67e['id'],'style':[styles[_0xa6e6(0x93)],darkMode&&styles[_0xa6e6(0x94)]]},React[_0xa6e6(0x78)](View,{'style':styles[_0xa6e6(0x95)]},React['createElement'](Image,{'source':_0x28a67e[_0xa6e6(0x96)],'style':styles[_0xa6e6(0x97)],'resizeMode':_0xa6e6(0x98)}),React[_0xa6e6(0x78)](Text,{'style':[styles[_0xa6e6(0x99)],darkMode&&styles[_0xa6e6(0x84)]]},_0x28a67e[_0xa6e6(0x9a)])),React[_0xa6e6(0x78)](Switch,{'value':_0x430f25[_0x28a67e['id']],'onValueChange':()=>_0x3490ef(_0x28a67e['id']),'trackColor':{'false':_0xa6e6(0x9b),'true':_0xa6e6(0x9c)},'thumbColor':_0x430f25[_0x28a67e['id']]?_0xa6e6(0x9d):_0xa6e6(0x9e)}))))),React['createElement'](View,{'style':[styles[_0xa6e6(0x9f)],darkMode&&styles[_0xa6e6(0xa0)]]},React['createElement'](TouchableOpacity,{'style':styles[_0xa6e6(0xa1)],'onPress':_0x209205},React[_0xa6e6(0x78)](Text,{'style':[styles[_0xa6e6(0xa2)],darkMode&&styles['darkSubText']]},_0x110357[_0xa6e6(0xa3)])),React[_0xa6e6(0x78)](TouchableOpacity,{'style':[styles[_0xa6e6(0xa4)],darkMode&&styles[_0xa6e6(0xa5)]],'onPress':_0xa2c838},React[_0xa6e6(0x78)](Text,{'style':[styles[_0xa6e6(0xa6)],_0x110357['qtjqn'](darkMode,{'color':_0x110357['Ergay']})]},_0x110357['eiQqm']))))))));};const styles=StyleSheet[_0xa6e6(0xa7)]({'modalOverlay':{'flex':0x1,'backgroundColor':'rgba(0,\x200,\x200,\x200.5)','justifyContent':_0xa6e6(0xa8)},'bottomSheet':{'backgroundColor':_0xa6e6(0xa9),'borderTopLeftRadius':0x18,'borderTopRightRadius':0x18,'width':SCREEN_WIDTH,'height':SCREEN_HEIGHT*0.8,'overflow':'hidden'},'handleContainer':{'width':_0xa6e6(0xaa),'alignItems':_0xa6e6(0xab),'paddingTop':0xc,'paddingBottom':0x8},'handle':{'width':0x28,'height':0x5,'borderRadius':0x3,'backgroundColor':'#E0E0E0'},'darkHandle':{'backgroundColor':'#666'},'container':{'flex':0x1,'backgroundColor':_0xa6e6(0xa9)},'darkContainer':{'backgroundColor':_0xa6e6(0xac)},'header':{'padding':0x18,'alignItems':'center'},'darkHeader':{'backgroundColor':_0xa6e6(0xac)},'headerContent':{'flexDirection':_0xa6e6(0xad),'alignItems':_0xa6e6(0xab),'justifyContent':_0xa6e6(0xab),'marginBottom':0x10},'appIcon':{'width':0x30,'height':0x30,'borderRadius':0x10,'backgroundColor':'#F5F5F5','alignItems':_0xa6e6(0xab),'justifyContent':_0xa6e6(0xab)},'darkAppIcon':{'backgroundColor':_0xa6e6(0xae)},'appIconText':{'fontSize':0x18,'color':_0xa6e6(0x23)},'darkText':{'color':_0xa6e6(0xa9)},'arrow':{'marginHorizontal':0x10},'onairosIcon':{'width':0x30,'height':0x30,'borderRadius':0x10,'backgroundColor':'#F5F5F5','alignItems':_0xa6e6(0xab),'justifyContent':_0xa6e6(0xab)},'darkOnairosIcon':{'backgroundColor':_0xa6e6(0xae)},'onairosIconText':{'fontSize':0x18,'color':_0xa6e6(0x23)},'darkSubText':{'color':'#999'},'titleContainer':{'marginBottom':0x1e},'mainTitle':{'fontSize':0x16,'fontWeight':_0xa6e6(0xaf),'color':_0xa6e6(0x23),'textAlign':_0xa6e6(0xab),'marginBottom':0x10},'privacyMessage':{'fontSize':0xe,'color':_0xa6e6(0x20),'textAlign':_0xa6e6(0xab),'marginBottom':0x10},'content':{'flex':0x1,'paddingHorizontal':0x18},'platformsContainer':{'marginTop':0x10},'platformItem':{'flexDirection':_0xa6e6(0xad),'justifyContent':_0xa6e6(0xb0),'alignItems':'center','padding':0x10,'backgroundColor':_0xa6e6(0xa9),'borderRadius':0x10,'marginBottom':0x10,'borderWidth':0x1,'borderColor':_0xa6e6(0xb1)},'darkPlatformItem':{'backgroundColor':_0xa6e6(0xae),'borderColor':_0xa6e6(0xb2)},'platformInfo':{'flexDirection':_0xa6e6(0xad),'alignItems':'center'},'platformIcon':{'width':0x20,'height':0x20,'marginRight':0xc},'platformName':{'fontSize':0x10,'fontWeight':_0xa6e6(0xb3),'color':'#000'},'footer':{'flexDirection':_0xa6e6(0xad),'alignItems':_0xa6e6(0xab),'justifyContent':'space-between','padding':0x18,'borderTopWidth':0x1,'borderTopColor':'#eee','backgroundColor':'#fff'},'darkFooter':{'backgroundColor':_0xa6e6(0xae),'borderTopColor':_0xa6e6(0xb2)},'footerButtonCancel':{'paddingVertical':0x8,'paddingHorizontal':0x10},'darkFooterButton':{'backgroundColor':_0xa6e6(0xb4)},'footerButtonConfirm':{'paddingVertical':0x10,'paddingHorizontal':0x20,'borderRadius':0x10,'backgroundColor':'#fff','borderWidth':0x1,'borderColor':_0xa6e6(0x23)},'darkFooterButtonConfirm':{'backgroundColor':'#fff','borderColor':_0xa6e6(0xa9)},'footerButtonText':{'color':_0xa6e6(0x20),'fontSize':0x10},'footerButtonTextConfirm':{'color':'#000','fontSize':0x10,'fontWeight':'600'},'lightBackground':{'backgroundColor':_0xa6e6(0xa9)},'darkBackground':{'backgroundColor':_0xa6e6(0xac)}});function _0x1560(){const _0x4c0c84=['window','Your\x20App','YNrPP','NnbiH','error-fallback-token','qBSld','Development\x20mode\x20-\x20mock\x20account\x20info','object','SLjEb','Error','sgwdT','com.onairos.mock','pJmML','mock-token','mock-key','leCKy','QzOYy','Error\x20getting\x20server\x20public\x20key:','function','BYMtl','JAoWe','fMCMV','Error\x20encrypting\x20model\x20key:','local','NKgqE','fallback-token','Error\x20confirming\x20selection:','fRHkM','eVKEK','uKuJs','none','arrow_forward','#666','None\x20of\x20your\x20app\x20data\x20is\x20shared\x20with\x20ANYONE','Cancel','#000','Connect','WURQE','Value','current','AYQMG','mdKqw','ydxnl','ERaVA','sgyhy','gMhzy','Xgzbk','sjZTY','VWaqA','keys','forEach','pEedU','AUIUw','gBZgJ','BFOWr','BASE_URL','jcrFq','Fpbyj','User:\x20','lflMZ','post','IgbZC','data','idwaC','AccountInfo','cGIhz','zdSJk','LSJMo','SVRVN','error','NkXlm','wwMMb','fvSVB','timing','start','EPenM','Xtjnz','Npqil','VrcIu','select','xearK','unknown','hrsLb','ZJiaV','crerg','dMOJi','get','public/key','rgydY','tCZgi','dDVtn','publicKey','zHKkc','Htmdw','xvfof','fJNGF','jroWA','EVVla','zxbud','CABAM','ZikbJ','Efvtd','spring','jeavj','devURL','APIUrl','wHlIQ','MtCpP','IQPrh','rAZKu','gZrgZ','mRlwK','Vkgfw','aUEwv','RaESt','OzjxD','TiRuA','AAnkS','kEoyq','CxbiV','createElement','stopPropagation','darkContainer','interpolate','handleContainer','darkHandle','container','darkHeader','headerContent','appIcon','darkAppIcon','appIconText','darkText','charAt','ondPB','#999','PqAEm','onairosIcon','onairosIconText','content','titleContainer','mainTitle','privacyMessage','darkSubText','AGRqd','platformsContainer','map','platformItem','darkPlatformItem','platformInfo','icon','platformIcon','contain','platformName','name','#767577','#81b0ff','#2196F3','#f4f3f4','footer','darkFooter','footerButtonCancel','footerButtonText','ApCnv','footerButtonConfirm','darkFooterButtonConfirm','footerButtonTextConfirm','create','flex-end','#fff','100%','center','#1A1A1A','row','#2A2A2A','600','space-between','#eee','#333','500','transparent'];_0x1560=function(){return _0x4c0c84;};return _0x1560();}
@@ -1 +1 @@
1
- import React,{useEffect,useRef,useState}from'react';import{View,StyleSheet}from'react-native';function _0x5e97(_0x455426,_0x5e9720){_0x455426=_0x455426-0x0;const _0xdfaead=_0x4554();let _0x4cf9ed=_0xdfaead[_0x455426];return _0x4cf9ed;}import _0x157b3c from'lottie-react-native';import{ANIMATIONS}from'../utils/assetRegistry';function _0x4554(){const _0x9ef2d6=['AcGFG','lmgKH','2|1|0|3|4','4|1|3|0|2','twnfG','IEaSH','TxkGb','VQQfw','kFyqt','mxgPC','RwedL','LtLYS','current','fdbvx','split','ByeVb','QYvFy','fhdUi','OWPRL','kzwcn','VJHAb','now','min','ekZjS','ljZgh','Nkxju','GJEVV','CJCNT','WIgmD','EEBFK','BpzvZ','qJJMH','ivxfZ','KAHId','ZzdAo','FxkGA','cgMot','Eftce','FGtoW','GKUZu','QivHU','dVMqL','IJrWA','lzHYN','XIZmi','muNHT','qoBQR','tEMBH','createElement','persona','animation','contain','create','center','100%'];_0x4554=function(){return _0x9ef2d6;};return _0x4554();}const PersonaImage=({level:_0x5a8fb5,style:_0x127a4e,disableAnimation:disableAnimation=![]})=>{const _0x228dba={'BpzvZ':function(_0x108453,_0xe6f343){return _0x108453/_0xe6f343;},'qlSgk':function(_0x40d065,_0x269022){return _0x40d065<_0x269022;},'gLtKY':function(_0xe60a70,_0x223c16){return _0xe60a70*_0x223c16;},'kzwcn':function(_0x3c8c0f,_0x5ce693){return _0x3c8c0f*_0x5ce693;},'ivxfZ':function(_0x378edb,_0x13e5be){return _0x378edb+_0x13e5be;},'VJHAb':function(_0x567d0d,_0x5f1bd8){return _0x567d0d-_0x5f1bd8;},'qJJMH':function(_0x428756,_0x3aa70e){return _0x428756*_0x3aa70e;},'TxkGb':function(_0x564287,_0x301c2d){return _0x564287(_0x301c2d);},'KAHId':function(_0x1fda75,_0x13d35a){return _0x1fda75<_0x13d35a;},'FxkGA':'qKSFV','cgMot':_0x5e97(0x0),'muNHT':function(_0x41bd97,_0x2cbb68){return _0x41bd97!==_0x2cbb68;},'qoBQR':function(_0x4a4952,_0x26e89){return _0x4a4952!==_0x26e89;},'uLFTo':_0x5e97(0x1),'tEMBH':'CkirD','ytLGv':_0x5e97(0x2),'LtLYS':'snVXe','fdbvx':_0x5e97(0x3),'ByeVb':function(_0xe48405,_0x35f0ff){return _0xe48405!==_0x35f0ff;},'QYvFy':_0x5e97(0x4),'uRHgL':'mthtQ','OWPRL':'vpBiD','VQQfw':function(_0x5b20d2,_0x36be35){return _0x5b20d2(_0x36be35);},'ffAjP':function(_0x127ad3,_0x10856f,_0x42b8aa){return _0x127ad3(_0x10856f,_0x42b8aa);},'IEaSH':function(_0x6240d9,_0x2f94ee){return _0x6240d9(_0x2f94ee);},'kFyqt':function(_0x24e022,_0x2e8136){return _0x24e022(_0x2e8136);},'mxgPC':function(_0x38815d,_0x37bb1a){return _0x38815d(_0x37bb1a);},'RwedL':function(_0x3ffd14,_0x3728f1){return _0x3ffd14(_0x3728f1);}},_0x576387=_0x228dba[_0x5e97(0x5)](useRef,null),_0x3240ce=[0x0,0.2,0.35,0.52,0.8],_0x1285b7=_0x91664f=>_0x3240ce[_0x91664f-0x1]||0x0,[_0x59c882,_0x339a6b]=_0x228dba[_0x5e97(0x6)](useState,_0x228dba[_0x5e97(0x7)](_0x1285b7,_0x5a8fb5)),_0x3db8b1=_0x228dba[_0x5e97(0x8)](useRef,_0x1285b7(_0x5a8fb5)),_0x1ee4a8=_0x228dba[_0x5e97(0x9)](useRef,_0x5a8fb5),_0x1ad5cf=_0x228dba[_0x5e97(0x5)](useRef,null),_0x3f2ba5=_0x228dba[_0x5e97(0xa)](useRef,null),_0x12cef9=_0x228dba['mxgPC'](useRef,!![]);return useEffect(()=>{const _0x22bfac={'fhdUi':_0x228dba['ytLGv'],'LVSyh':function(_0x4bd255,_0x3c9dcc){return _0x228dba[_0x5e97(0x6)](_0x4bd255,_0x3c9dcc);}};if(_0x228dba[_0x5e97(0xb)]==='snVXe'){const _0x2f6678=_0x228dba['TxkGb'](_0x1285b7,_0x5a8fb5);if(_0x12cef9[_0x5e97(0xc)]){const _0x2d8768=_0x228dba[_0x5e97(0xd)][_0x5e97(0xe)]('|');let _0x33e473=0x0;while(!![]){switch(_0x2d8768[_0x33e473++]){case'0':_0x12cef9[_0x5e97(0xc)]=![];continue;case'1':_0x228dba[_0x5e97(0x6)](_0x339a6b,_0x2f6678);continue;case'2':return;case'3':_0x1ee4a8['current']=_0x5a8fb5;continue;case'4':_0x3db8b1[_0x5e97(0xc)]=_0x2f6678;continue;}break;}}if(disableAnimation){_0x3db8b1[_0x5e97(0xc)]=_0x2f6678,_0x339a6b(_0x2f6678),_0x1ee4a8[_0x5e97(0xc)]=_0x5a8fb5;return;}if(_0x1ee4a8[_0x5e97(0xc)]===_0x5a8fb5){if(_0x228dba[_0x5e97(0xf)](_0x228dba[_0x5e97(0x10)],'Miydy'))return;else{const _0xe4f303=_0x22bfac[_0x5e97(0x11)][_0x5e97(0xe)]('|');let _0x5083a9=0x0;while(!![]){switch(_0xe4f303[_0x5083a9++]){case'0':_0x5c2576[_0x5e97(0xc)]=_0x5d9b30;continue;case'1':_0x4dae6b(_0x681027);continue;case'2':_0x3e8ecd['current']=_0x547042;continue;case'3':_0x2e70b8['current']=![];continue;case'4':return;}break;}}}if(_0x1ad5cf[_0x5e97(0xc)]!==null){if(_0x228dba['uRHgL']===_0x228dba[_0x5e97(0x12)]){const _0x596b71={'ekZjS':function(_0x59a822,_0x313180){return _0x228dba['BpzvZ'](_0x59a822,_0x313180);},'ljZgh':function(_0x557029,_0x473ecb){return _0x228dba['qlSgk'](_0x557029,_0x473ecb);},'Nkxju':function(_0x42ec07,_0x5f5d99){return _0x228dba['gLtKY'](_0x42ec07,_0x5f5d99);},'CJCNT':function(_0x45347a,_0xb05420){return _0x228dba[_0x5e97(0x13)](_0x45347a,_0xb05420);},'GJEVV':function(_0x1bf494,_0x4be8ac){return _0x228dba['ivxfZ'](_0x1bf494,_0x4be8ac);},'WIgmD':function(_0x3a413e,_0x527054){return _0x228dba[_0x5e97(0x14)](_0x3a413e,_0x527054);},'EEBFK':function(_0x2a969d,_0x1b90a5){return _0x2a969d(_0x1b90a5);}},_0x8d7a4=_0x1bc034[_0x5e97(0xc)],_0x2a19e4=_0x36ed8e[_0x5e97(0x15)](),_0x29d4a3=()=>{const _0x1044ac=_0x4ceffc[_0x5e97(0x15)]()-_0x2a19e4,_0x44b771=_0x2c7cec[_0x5e97(0x16)](_0x596b71[_0x5e97(0x17)](_0x1044ac,_0x20d698),0x1),_0x1005fc=_0x596b71[_0x5e97(0x18)](_0x44b771,0.5)?_0x596b71[_0x5e97(0x19)](_0x596b71['CJCNT'](0x2,_0x44b771),_0x44b771):_0x596b71[_0x5e97(0x1a)](-0x1,_0x596b71[_0x5e97(0x1b)](_0x596b71[_0x5e97(0x1c)](0x4,0x2*_0x44b771),_0x44b771)),_0x39fc8f=_0x596b71[_0x5e97(0x1a)](_0x8d7a4,_0x596b71[_0x5e97(0x1c)](_0x46f1d6,_0x8d7a4)*_0x1005fc);_0x30d378[_0x5e97(0xc)]=_0x39fc8f,_0x596b71[_0x5e97(0x1d)](_0x34a846,_0x39fc8f),_0x44b771<0x1?_0x3e517f[_0x5e97(0xc)]=_0x596b71['EEBFK'](_0x3d8c1f,_0x29d4a3):_0x5a1b74[_0x5e97(0xc)]=null;};_0x4e2272['current']=_0xc6c528(_0x29d4a3);}else _0x228dba[_0x5e97(0x7)](cancelAnimationFrame,_0x1ad5cf[_0x5e97(0xc)]),_0x1ad5cf[_0x5e97(0xc)]=null;}_0x3f2ba5[_0x5e97(0xc)]!==null&&(_0x228dba[_0x5e97(0x7)](clearTimeout,_0x3f2ba5[_0x5e97(0xc)]),_0x3f2ba5[_0x5e97(0xc)]=null);const _0x2f0315=0x96,_0x2c52cc=0xc80;return _0x3f2ba5[_0x5e97(0xc)]=_0x228dba['ffAjP'](setTimeout,()=>{const _0x3b84e2={'Eftce':function(_0x272d76,_0x44ab89){return _0x228dba['VJHAb'](_0x272d76,_0x44ab89);},'FGtoW':function(_0x4f1358,_0x583fd2){return _0x228dba[_0x5e97(0x1e)](_0x4f1358,_0x583fd2);},'AKyIe':function(_0xfdcfe8,_0x15edac){return _0x228dba['qlSgk'](_0xfdcfe8,_0x15edac);},'GKUZu':function(_0x4338dc,_0x470f48){return _0x228dba[_0x5e97(0x1f)](_0x4338dc,_0x470f48);},'QivHU':function(_0x4e3d32,_0x3d4e44){return _0x228dba[_0x5e97(0x20)](_0x4e3d32,_0x3d4e44);},'sbXBd':function(_0x645d7f,_0x29eed3){return _0x228dba['VJHAb'](_0x645d7f,_0x29eed3);},'dVMqL':function(_0x3e14a7,_0x2d696e){return _0x228dba[_0x5e97(0x6)](_0x3e14a7,_0x2d696e);},'CFxmv':function(_0x9de076,_0x1d2910){return _0x228dba[_0x5e97(0x21)](_0x9de076,_0x1d2910);},'IJrWA':function(_0x44b4c0,_0x5617fe){return _0x44b4c0!==_0x5617fe;},'zhgus':_0x5e97(0x22),'XIZmi':function(_0x912fe7,_0x1724cc){return _0x228dba[_0x5e97(0x6)](_0x912fe7,_0x1724cc);}};if(_0x228dba[_0x5e97(0x23)]!==_0x228dba[_0x5e97(0x24)]){const _0x9057ed=_0x3db8b1[_0x5e97(0xc)],_0x100f65=Date['now'](),_0x48c843=()=>{const _0x12400a=_0x3b84e2[_0x5e97(0x25)](Date[_0x5e97(0x15)](),_0x100f65),_0x50f908=Math[_0x5e97(0x16)](_0x3b84e2[_0x5e97(0x26)](_0x12400a,_0x2c52cc),0x1),_0x8bd5c0=_0x3b84e2['AKyIe'](_0x50f908,0.5)?_0x3b84e2[_0x5e97(0x27)](0x2*_0x50f908,_0x50f908):_0x3b84e2[_0x5e97(0x28)](-0x1,_0x3b84e2[_0x5e97(0x27)](_0x3b84e2['sbXBd'](0x4,0x2*_0x50f908),_0x50f908)),_0x8d1a8a=_0x9057ed+_0x3b84e2[_0x5e97(0x27)](_0x2f6678-_0x9057ed,_0x8bd5c0);_0x3db8b1['current']=_0x8d1a8a,_0x3b84e2[_0x5e97(0x29)](_0x339a6b,_0x8d1a8a);if(_0x3b84e2['CFxmv'](_0x50f908,0x1)){if(_0x3b84e2[_0x5e97(0x2a)](_0x3b84e2['zhgus'],_0x5e97(0x2b)))_0x1ad5cf[_0x5e97(0xc)]=_0x3b84e2[_0x5e97(0x2c)](requestAnimationFrame,_0x48c843);else return;}else _0x1ad5cf[_0x5e97(0xc)]=null;};_0x1ad5cf[_0x5e97(0xc)]=_0x228dba[_0x5e97(0x6)](requestAnimationFrame,_0x48c843);}else _0x22bfac['LVSyh'](_0x391d79,_0x4932e0['current']),_0x89469d[_0x5e97(0xc)]=null;},_0x2f0315),_0x1ee4a8[_0x5e97(0xc)]=_0x5a8fb5,()=>{const _0x33e2c3={'iIsAj':function(_0x8b3e10,_0x342411){return _0x228dba[_0x5e97(0x6)](_0x8b3e10,_0x342411);}};_0x228dba[_0x5e97(0x2d)](_0x1ad5cf[_0x5e97(0xc)],null)&&(_0x228dba[_0x5e97(0x6)](cancelAnimationFrame,_0x1ad5cf[_0x5e97(0xc)]),_0x1ad5cf[_0x5e97(0xc)]=null),_0x3f2ba5[_0x5e97(0xc)]!==null&&(_0x228dba[_0x5e97(0x2e)](_0x228dba['uLFTo'],_0x228dba[_0x5e97(0x2f)])?(_0x228dba['TxkGb'](clearTimeout,_0x3f2ba5['current']),_0x3f2ba5[_0x5e97(0xc)]=null):(_0x33e2c3['iIsAj'](_0x45e589,_0x449aa0[_0x5e97(0xc)]),_0x129189[_0x5e97(0xc)]=null));};}else{_0x5262c4[_0x5e97(0xc)]=_0x25401d,_0x228dba[_0x5e97(0x6)](_0x238288,_0x4248ed),_0x435702['current']=_0x14a3f8;return;}},[_0x5a8fb5,disableAnimation]),React[_0x5e97(0x30)](View,{'style':[styles['container'],_0x127a4e]},React[_0x5e97(0x30)](_0x157b3c,{'ref':_0x576387,'source':ANIMATIONS[_0x5e97(0x31)],'progress':_0x59c882,'loop':![],'autoPlay':![],'style':styles[_0x5e97(0x32)],'resizeMode':_0x5e97(0x33)}));},styles=StyleSheet[_0x5e97(0x34)]({'container':{'width':0xc8,'height':0xc8,'alignItems':'center','justifyContent':_0x5e97(0x35)},'animation':{'width':_0x5e97(0x36),'height':_0x5e97(0x36)}});export default PersonaImage;
1
+ function _0x3f1c(){const _0x1c06dd=['ztXaD','SHhpp','uEEHk','contain','eizYJ','fGBjD','YLjAy','ApvZX','jZtcx','CKZfX','UDRSS','fHfcA','yEgye','Nzirw','nUscf','FXrPX','jIAkL','priwi','mtxUj','OqhvG','current','WnwEp','Istyr','1|2|3|4|0','split','RnBEs','NDLYF','elFJY','now','ZXCGe','min','mNeNA','fgnBW','TKXNJ','boyoo','sUHQm','QDqBi','WZaOQ','bEXNh','wqDQT','NwDge','gQvIM','createElement','persona','animation','dVfxm','center','100%'];_0x3f1c=function(){return _0x1c06dd;};return _0x3f1c();}import React,{useEffect,useRef,useState}from'react';function _0x3ccc(_0x3f1cc5,_0x3ccc69){_0x3f1cc5=_0x3f1cc5-0x0;const _0x1507cd=_0x3f1c();let _0x2664b1=_0x1507cd[_0x3f1cc5];return _0x2664b1;}import{View,StyleSheet}from'react-native';import _0x4aa3b3 from'lottie-react-native';import{ANIMATIONS}from'../utils/assetRegistry';const PersonaImage=({level:_0xd07b30,style:_0xab6ee6,disableAnimation:disableAnimation=![]})=>{const _0x469fc7={'jIAkL':function(_0x371b8c,_0x55811a){return _0x371b8c!==_0x55811a;},'WnwEp':function(_0xf1dcbf,_0x1f5dc4){return _0xf1dcbf!==_0x1f5dc4;},'UDRSS':function(_0x138439,_0x40db53){return _0x138439(_0x40db53);},'fHfcA':function(_0x252f36,_0x68b021){return _0x252f36-_0x68b021;},'sTcMU':function(_0x4857ef,_0x43ff2f){return _0x4857ef/_0x43ff2f;},'yEgye':function(_0x4bf9b1,_0x3e280a){return _0x4bf9b1<_0x3e280a;},'Nzirw':function(_0x5df683,_0x125859){return _0x5df683+_0x125859;},'OGJuK':function(_0x1c724a,_0x28fb38){return _0x1c724a-_0x28fb38;},'nUscf':function(_0x4ee68d,_0x103227){return _0x4ee68d===_0x103227;},'FXrPX':_0x3ccc(0x0),'eizYJ':function(_0x52f49f,_0x4476c0){return _0x52f49f(_0x4476c0);},'priwi':_0x3ccc(0x1),'mtxUj':_0x3ccc(0x2),'Istyr':function(_0x3d717e,_0x17d514){return _0x3d717e(_0x17d514);},'Nhwfg':function(_0x5601ea,_0x47aeda){return _0x5601ea(_0x47aeda);},'RnBEs':function(_0x51d504,_0x57d92b){return _0x51d504===_0x57d92b;},'NDLYF':function(_0x957ad5,_0x1a0a34){return _0x957ad5(_0x1a0a34);},'elFJY':function(_0x5e20ed,_0x349d37,_0x5070a8){return _0x5e20ed(_0x349d37,_0x5070a8);},'fGBjD':function(_0x2b3083,_0x512350){return _0x2b3083(_0x512350);},'YLjAy':function(_0x3a8a07,_0x55d6e5){return _0x3a8a07(_0x55d6e5);},'ApvZX':function(_0x41ee5d,_0x5948c7){return _0x41ee5d(_0x5948c7);},'jZtcx':function(_0xb7a581,_0x46e9e5){return _0xb7a581(_0x46e9e5);},'iENft':function(_0x4318ff,_0x445443){return _0x4318ff(_0x445443);},'CKZfX':function(_0xb7eea2,_0x169ded,_0x55c067){return _0xb7eea2(_0x169ded,_0x55c067);},'dVfxm':_0x3ccc(0x3)},_0x102262=useRef(null),_0x5cf77a=[0x0,0.2,0.35,0.52,0.8],_0x403bbc=_0x29c94d=>_0x5cf77a[_0x29c94d-0x1]||0x0,[_0x6eabf5,_0x49a63b]=_0x469fc7[_0x3ccc(0x4)](useState,_0x469fc7[_0x3ccc(0x5)](_0x403bbc,_0xd07b30)),_0x4896fa=_0x469fc7[_0x3ccc(0x6)](useRef,_0x469fc7[_0x3ccc(0x7)](_0x403bbc,_0xd07b30)),_0x3a375f=_0x469fc7[_0x3ccc(0x7)](useRef,_0xd07b30),_0x110229=_0x469fc7[_0x3ccc(0x8)](useRef,null),_0x31b9d4=_0x469fc7['iENft'](useRef,null),_0x1cffd2=_0x469fc7['eizYJ'](useRef,!![]);return _0x469fc7[_0x3ccc(0x9)](useEffect,()=>{const _0x4ba384={'gQvIM':function(_0x40aa09,_0x42a9c0){return _0x469fc7[_0x3ccc(0xa)](_0x40aa09,_0x42a9c0);},'ZXCGe':function(_0x1d65ef,_0x168d4a){return _0x469fc7[_0x3ccc(0xb)](_0x1d65ef,_0x168d4a);},'ecmDL':function(_0x1ff9e0,_0x556bd2){return _0x469fc7['sTcMU'](_0x1ff9e0,_0x556bd2);},'mNeNA':function(_0x59ef29,_0x37fee1){return _0x469fc7[_0x3ccc(0xc)](_0x59ef29,_0x37fee1);},'AvgZJ':function(_0x213dd1,_0x4dcaeb){return _0x213dd1*_0x4dcaeb;},'fgnBW':function(_0x3a77fc,_0x45303a){return _0x469fc7[_0x3ccc(0xd)](_0x3a77fc,_0x45303a);},'TKXNJ':function(_0x49a0dd,_0x4fdbd6){return _0x469fc7['OGJuK'](_0x49a0dd,_0x4fdbd6);},'boyoo':function(_0x486e8b,_0x4d68c1){return _0x469fc7[_0x3ccc(0xe)](_0x486e8b,_0x4d68c1);},'sUHQm':_0x469fc7[_0x3ccc(0xf)],'QDqBi':function(_0x29c8c2,_0x131881){return _0x469fc7['UDRSS'](_0x29c8c2,_0x131881);},'bEXNh':function(_0x320657,_0x506c2a){return _0x469fc7[_0x3ccc(0x4)](_0x320657,_0x506c2a);},'wqDQT':function(_0x37fc98,_0x4a7af8){return _0x469fc7[_0x3ccc(0x10)](_0x37fc98,_0x4a7af8);},'NwDge':_0x469fc7[_0x3ccc(0x11)]};if(_0x469fc7[_0x3ccc(0x12)]===_0x3ccc(0x13))_0x469fc7['jIAkL'](_0x31710b[_0x3ccc(0x14)],null)&&(_0x188367(_0x38221d[_0x3ccc(0x14)]),_0x253832[_0x3ccc(0x14)]=null),_0x469fc7[_0x3ccc(0x15)](_0x2935fe[_0x3ccc(0x14)],null)&&(_0x469fc7[_0x3ccc(0xa)](_0x56b3d2,_0x32aed0['current']),_0x237878[_0x3ccc(0x14)]=null);else{const _0x468189=_0x469fc7[_0x3ccc(0x16)](_0x403bbc,_0xd07b30);if(_0x1cffd2[_0x3ccc(0x14)]){const _0x41a3b2=_0x3ccc(0x17)[_0x3ccc(0x18)]('|');let _0x29feaa=0x0;while(!![]){switch(_0x41a3b2[_0x29feaa++]){case'0':return;case'1':_0x4896fa[_0x3ccc(0x14)]=_0x468189;continue;case'2':_0x469fc7[_0x3ccc(0x4)](_0x49a63b,_0x468189);continue;case'3':_0x3a375f['current']=_0xd07b30;continue;case'4':_0x1cffd2[_0x3ccc(0x14)]=![];continue;}break;}}if(disableAnimation){_0x4896fa[_0x3ccc(0x14)]=_0x468189,_0x469fc7['Nhwfg'](_0x49a63b,_0x468189),_0x3a375f['current']=_0xd07b30;return;}if(_0x469fc7[_0x3ccc(0x19)](_0x3a375f[_0x3ccc(0x14)],_0xd07b30))return;_0x469fc7[_0x3ccc(0x15)](_0x110229['current'],null)&&(_0x469fc7[_0x3ccc(0x1a)](cancelAnimationFrame,_0x110229['current']),_0x110229[_0x3ccc(0x14)]=null);_0x469fc7[_0x3ccc(0x15)](_0x31b9d4[_0x3ccc(0x14)],null)&&(clearTimeout(_0x31b9d4[_0x3ccc(0x14)]),_0x31b9d4['current']=null);const _0x341408=0x96,_0x21a0de=0xc80;return _0x31b9d4[_0x3ccc(0x14)]=_0x469fc7[_0x3ccc(0x1b)](setTimeout,()=>{const _0x595dff=_0x4896fa[_0x3ccc(0x14)],_0x56b39c=Date[_0x3ccc(0x1c)](),_0x698148=()=>{const _0x55191a={'WZaOQ':function(_0x11b18e,_0x4c252e){return _0x4ba384['gQvIM'](_0x11b18e,_0x4c252e);}},_0x3bd3a7=_0x4ba384[_0x3ccc(0x1d)](Date['now'](),_0x56b39c),_0x4482dc=Math[_0x3ccc(0x1e)](_0x4ba384['ecmDL'](_0x3bd3a7,_0x21a0de),0x1),_0x237e21=_0x4ba384[_0x3ccc(0x1f)](_0x4482dc,0.5)?_0x4ba384['AvgZJ'](0x2,_0x4482dc)*_0x4482dc:_0x4ba384[_0x3ccc(0x20)](-0x1,_0x4ba384['AvgZJ'](_0x4ba384[_0x3ccc(0x1d)](0x4,0x2*_0x4482dc),_0x4482dc)),_0x1c38cb=_0x595dff+_0x4ba384[_0x3ccc(0x21)](_0x468189,_0x595dff)*_0x237e21;_0x4896fa['current']=_0x1c38cb,_0x4ba384['gQvIM'](_0x49a63b,_0x1c38cb),_0x4482dc<0x1?_0x4ba384[_0x3ccc(0x22)](_0x4ba384[_0x3ccc(0x23)],_0x4ba384[_0x3ccc(0x23)])?_0x110229[_0x3ccc(0x14)]=_0x4ba384[_0x3ccc(0x24)](requestAnimationFrame,_0x698148):(_0x55191a[_0x3ccc(0x25)](_0x1bca19,_0x259681[_0x3ccc(0x14)]),_0x292ab4[_0x3ccc(0x14)]=null):_0x110229[_0x3ccc(0x14)]=null;};_0x110229['current']=_0x4ba384['QDqBi'](requestAnimationFrame,_0x698148);},_0x341408),_0x3a375f[_0x3ccc(0x14)]=_0xd07b30,()=>{const _0x3a0d88={'hezao':function(_0x30e435,_0x1a5aab){return _0x4ba384[_0x3ccc(0x26)](_0x30e435,_0x1a5aab);}};_0x4ba384[_0x3ccc(0x27)](_0x4ba384[_0x3ccc(0x28)],_0x4ba384[_0x3ccc(0x28)])?_0x551bce[_0x3ccc(0x14)]=_0x3a0d88['hezao'](_0x1e7a86,_0x435eae):(_0x110229[_0x3ccc(0x14)]!==null&&(cancelAnimationFrame(_0x110229[_0x3ccc(0x14)]),_0x110229[_0x3ccc(0x14)]=null),_0x31b9d4[_0x3ccc(0x14)]!==null&&(_0x4ba384[_0x3ccc(0x29)](clearTimeout,_0x31b9d4[_0x3ccc(0x14)]),_0x31b9d4[_0x3ccc(0x14)]=null));};}},[_0xd07b30,disableAnimation]),React[_0x3ccc(0x2a)](View,{'style':[styles['container'],_0xab6ee6]},React[_0x3ccc(0x2a)](_0x4aa3b3,{'ref':_0x102262,'source':ANIMATIONS[_0x3ccc(0x2b)],'progress':_0x6eabf5,'loop':![],'autoPlay':![],'style':styles[_0x3ccc(0x2c)],'resizeMode':_0x469fc7[_0x3ccc(0x2d)]}));},styles=StyleSheet['create']({'container':{'width':0xc8,'height':0xc8,'alignItems':_0x3ccc(0x2e),'justifyContent':_0x3ccc(0x2e)},'animation':{'width':_0x3ccc(0x2f),'height':'100%'}});export default PersonaImage;
@@ -1 +1 @@
1
- import React,{useEffect,useRef,useState}from'react';import{View,Text,StyleSheet,Animated}from'react-native';import _0x58aa10 from'lottie-react-native';import{COLORS}from'../theme';function _0x1918(){const _0x684648=['Keeping\x20your\x20data\x20private','Trying\x20to\x20understand\x20your\x20mind','You\x27re\x20more\x20interesting\x20than\x20I\x20expected','Complete!','stQEu','random','floor','oWSHy','gnmfe','oZcVM','ZHwXL','btBKk','dgCif','GwKgf','YvTSE','uehxY','sAani','short','zfvhp','MNcrR','medium','vlqyt','AUqnV','contain','Value','current','Avhrf','jtrFo','cMsEh','zKPAY','fApzB','nOrFp','BcgTa','edzYl','kIvGZ','kNZDu','eccQa','AXomM','start','loop','sequence','timing','oVsyI','NPqPC','lJowZ','jwLFj','hqOap','SUCCESS','VYaRv','Tecee','XFcHj','sRDZm','ejYpZ','etZyo','tOpuc','AcQjT','LuuzY','dbXOS','WcBxa','bdxYb','lYGHK','YmRZt','NcTUH','forEach','Mfsoi','setValue','DZvmm','FWEun','xyiZk','ltUqB','SZCdp','TuVFk','UhzSU','oqGKP','tvOjT','aoRNB','push','XyGde','min','bFkaw','max','sort','NoPMS','JQMLw','ovrRw','nXWGr','YLUKv','YfmiL','NIMfu','text','wekuz','tWHKp','mDJrZ','jwARJ','wcJcF','oTryw','map','minProgress','maxProgress','progress','yNEJw','JbypY','wgLAH','kaUfk','SZcbQ','rnZny','nsKLX','kRsce','MREmf','foXUy','createElement','container','content','lottieContainer','loader','lottieAnimation','loadingText','dotsContainer','Text','dot','progressContainer','progressTrack','View','progressFill','interpolate','100%','create','surface','center','600','row','IBM\x20Plex\x20Sans','#E5E5E5','hidden','grey800'];_0x1918=function(){return _0x684648;};return _0x1918();}function _0x75a4(_0x191840,_0x75a45c){_0x191840=_0x191840-0x0;const _0x386236=_0x1918();let _0x4cbe08=_0x386236[_0x191840];return _0x4cbe08;}import{triggerHaptic,HapticType}from'../utils/haptics';import{ANIMATIONS}from'../utils/assetRegistry';const STATUS_MESSAGES=[{'text':_0x75a4(0x0),'minProgress':0x0,'maxProgress':0x19},{'text':_0x75a4(0x1),'minProgress':0x14,'maxProgress':0x2d},{'text':_0x75a4(0x2),'minProgress':0x28,'maxProgress':0x41},{'text':'Finalizing\x20your\x20unique\x20persona','minProgress':0x3c,'maxProgress':0x55},{'text':'Almost\x20done','minProgress':0x50,'maxProgress':0x5f},{'text':_0x75a4(0x3),'minProgress':0x64,'maxProgress':0x64}],randomInRange=(_0x1c7912,_0x137956)=>{const _0x2a340d={'stQEu':function(_0x467898,_0x11915d){return _0x467898*_0x11915d;},'LfMrY':function(_0x55f4fb,_0x45d98c){return _0x55f4fb-_0x45d98c;}};return _0x2a340d[_0x75a4(0x4)](Math[_0x75a4(0x5)](),_0x2a340d['LfMrY'](_0x137956,_0x1c7912))+_0x1c7912;},randomIntInRange=(_0x29e20d,_0x29b843)=>{const _0xe0a947={'oWSHy':function(_0x102237,_0x2fe0e1,_0x43c453){return _0x102237(_0x2fe0e1,_0x43c453);},'gnmfe':function(_0x4af5a5,_0x253c0d){return _0x4af5a5+_0x253c0d;}};return Math[_0x75a4(0x6)](_0xe0a947[_0x75a4(0x7)](randomInRange,_0x29e20d,_0xe0a947[_0x75a4(0x8)](_0x29b843,0x1)));},PersonaLoadingScreen=({visible:_0x593b5d,onComplete:_0x100db8})=>{const _0x13895b={'sRDZm':function(_0x18a7a5,_0x1645f0){return _0x18a7a5!==_0x1645f0;},'ljmQJ':_0x75a4(0x9),'ejYpZ':_0x75a4(0xa),'etZyo':function(_0x11f457,_0x1d106e,_0x46d7b4){return _0x11f457(_0x1d106e,_0x46d7b4);},'nOrFp':function(_0x234c7c,_0x2887e1){return _0x234c7c(_0x2887e1);},'BcgTa':function(_0x52da27,_0x2a0f82){return _0x52da27===_0x2a0f82;},'edzYl':_0x75a4(0xb),'aQwLM':'Tecee','kIvGZ':function(_0x180069,_0x22e52e,_0x406da9){return _0x180069(_0x22e52e,_0x406da9);},'issfU':_0x75a4(0xc),'kNZDu':_0x75a4(0xd),'zKPAY':function(_0x4dca96,_0x78625,_0x1d3ba6){return _0x4dca96(_0x78625,_0x1d3ba6);},'LuuzY':function(_0x5d0fbe,_0x173ab7){return _0x5d0fbe*_0x173ab7;},'xyiZk':function(_0x24f465,_0x47d81f){return _0x24f465-_0x47d81f;},'wgLAH':function(_0x35e007,_0x211600){return _0x35e007(_0x211600);},'wekuz':function(_0x26d04a,_0x223d79){return _0x26d04a===_0x223d79;},'kaUfk':_0x75a4(0xe),'SZcbQ':function(_0x2068c9,_0x59e5d6){return _0x2068c9>=_0x59e5d6;},'rnZny':_0x75a4(0xf),'nsKLX':function(_0x4d643b,_0x4f1df9){return _0x4d643b(_0x4f1df9);},'tBgql':function(_0x55a074,_0x189546){return _0x55a074(_0x189546);},'oTryw':function(_0x24491b,_0x177b50){return _0x24491b/_0x177b50;},'kRsce':function(_0x65843c,_0x257666){return _0x65843c>=_0x257666;},'ltUqB':function(_0xbbcfee,_0x1d8378){return _0xbbcfee!==_0x1d8378;},'MREmf':_0x75a4(0x10),'DZvmm':function(_0x127644,_0x1180f2,_0x1ef48a){return _0x127644(_0x1180f2,_0x1ef48a);},'dbXOS':function(_0x1c018f,_0x1e626d){return _0x1c018f+_0x1e626d;},'svLGi':function(_0x260e9e,_0x11b743){return _0x260e9e+_0x11b743;},'CWUmM':function(_0x6fdf89,_0x4f7c6f){return _0x6fdf89(_0x4f7c6f);},'bYXjU':function(_0x35e0fd){return _0x35e0fd();},'WcBxa':function(_0x143e81,_0x244596,_0x1d8351){return _0x143e81(_0x244596,_0x1d8351);},'bdxYb':function(_0x2463c2,_0x2a9764){return _0x2463c2===_0x2a9764;},'ovrRw':_0x75a4(0x11),'lYGHK':function(_0x31226c,_0x5625fd){return _0x31226c===_0x5625fd;},'YmRZt':_0x75a4(0x12),'NcTUH':_0x75a4(0x13),'Mfsoi':_0x75a4(0x0),'FWEun':function(_0x531ceb,_0x1b0865){return _0x531ceb<_0x1b0865;},'JXxku':function(_0x868e92,_0x2f96da){return _0x868e92*_0x2f96da;},'CxxDn':function(_0x190f8a,_0x27e83a){return _0x190f8a+_0x27e83a;},'bFkaw':function(_0x1eb55d,_0x2b0296){return _0x1eb55d*_0x2b0296;},'EnilW':function(_0x370fb8,_0x5d0c76,_0x1b338b){return _0x370fb8(_0x5d0c76,_0x1b338b);},'NoPMS':_0x75a4(0x14),'JQMLw':'long','nXWGr':_0x75a4(0x15),'eJPlw':function(_0x2c649d,_0x31025b,_0x41862f){return _0x2c649d(_0x31025b,_0x41862f);},'YfmiL':function(_0x5104ca,_0x3653bd){return _0x5104ca!==_0x3653bd;},'NIMfu':'qiOCq','zBjCv':_0x75a4(0x16),'wcJcF':function(_0x35fe36,_0x1eeadb){return _0x35fe36-_0x1eeadb;},'VKyCk':function(_0x404cf6,_0x4d928a){return _0x404cf6!==_0x4d928a;},'JbypY':function(_0x79d66e,_0x4091b7,_0x59981b){return _0x79d66e(_0x4091b7,_0x59981b);},'Avhrf':function(_0x477573,_0x16d1d3){return _0x477573(_0x16d1d3);},'jtrFo':function(_0x151939,_0x441966){return _0x151939(_0x441966);},'cMsEh':function(_0x4cfe38,_0x5682b7){return _0x4cfe38(_0x5682b7);},'AcQjT':function(_0x2b680c,_0x2c56ad,_0x5a436e){return _0x2b680c(_0x2c56ad,_0x5a436e);},'CeiZR':_0x75a4(0x17)},_0x4d6ea8=useRef(new Animated[(_0x75a4(0x18))](0x0))[_0x75a4(0x19)],_0x1d2fed=_0x13895b[_0x75a4(0x1a)](useRef,new Animated[(_0x75a4(0x18))](0.3))['current'],_0xda4d17=useRef(new Animated[(_0x75a4(0x18))](0.3))[_0x75a4(0x19)],_0x2678ce=useRef(new Animated[(_0x75a4(0x18))](0.3))['current'],[_0x1bf0df,_0x6bab2a]=_0x13895b[_0x75a4(0x1a)](useState,0x0),[_0x1d8547,_0x15ea9e]=_0x13895b[_0x75a4(0x1b)](useState,_0x13895b['Mfsoi']),_0x5bdfd7=_0x13895b[_0x75a4(0x1c)](useRef,[]);_0x13895b[_0x75a4(0x1d)](useEffect,()=>{const _0x232f23={'pofhR':function(_0x4b028,_0x4a1e05,_0x128b26){return _0x4b028(_0x4a1e05,_0x128b26);},'fBxLm':function(_0xe755ab,_0x3e0625){return _0x13895b['sRDZm'](_0xe755ab,_0x3e0625);},'eccQa':_0x75a4(0x1e),'jwLFj':function(_0x24961b,_0x138724,_0x15530c){return _0x24961b(_0x138724,_0x15530c);},'oVsyI':function(_0x20c884,_0x4a416){return _0x13895b[_0x75a4(0x1f)](_0x20c884,_0x4a416);},'NPqPC':function(_0x222ffe,_0x45e371){return _0x13895b[_0x75a4(0x20)](_0x222ffe,_0x45e371);},'lJowZ':_0x13895b[_0x75a4(0x21)],'VYaRv':function(_0x53f9eb,_0x287c11){return _0x53f9eb===_0x287c11;},'XFcHj':_0x13895b['aQwLM'],'tOpuc':function(_0x5ae5e9,_0x1eebee,_0x5209e7){return _0x13895b[_0x75a4(0x22)](_0x5ae5e9,_0x1eebee,_0x5209e7);}};if(_0x13895b['issfU']!==_0x13895b[_0x75a4(0x23)]){if(!_0x593b5d)return;const _0x189cc9=(_0x3b11c8,_0x306f74)=>{const _0x18dc29={'AXomM':function(_0x474e14,_0x6a09dc,_0x40ed86){return _0x232f23['pofhR'](_0x474e14,_0x6a09dc,_0x40ed86);}};if(_0x232f23['fBxLm'](_0x75a4(0x1e),_0x232f23[_0x75a4(0x24)]))_0x18dc29[_0x75a4(0x25)](_0x48cfa9,_0x2b7995,0x0)[_0x75a4(0x26)]();else return Animated[_0x75a4(0x27)](Animated[_0x75a4(0x28)]([Animated[_0x75a4(0x29)](_0x3b11c8,{'toValue':0x1,'duration':0x258,'useNativeDriver':!![]}),Animated[_0x75a4(0x29)](_0x3b11c8,{'toValue':0.3,'duration':0x258,'useNativeDriver':!![]})]),{'iterations':-0x1});};setTimeout(()=>{const _0x3628e8={'hqOap':function(_0x15fffe,_0x3f625e){return _0x232f23[_0x75a4(0x2a)](_0x15fffe,_0x3f625e);}};_0x232f23[_0x75a4(0x2b)](_0x75a4(0xb),_0x232f23[_0x75a4(0x2c)])?_0x189cc9(_0x1d2fed,0x0)[_0x75a4(0x26)]():_0x232f23[_0x75a4(0x2d)](_0x16e090,()=>{_0x3628e8[_0x75a4(0x2e)](_0x3ec290,_0x5d61ba[_0x75a4(0x2f)]),_0x252dc6();},0x1f4);},0x12c),setTimeout(()=>{if(_0x232f23[_0x75a4(0x30)](_0x75a4(0x31),_0x232f23[_0x75a4(0x32)]))_0x189cc9(_0xda4d17,0xc8)[_0x75a4(0x26)]();else{_0xe16a44['current']['forEach'](_0x464f1a=>_0x7985de(_0x464f1a)),_0x36731d[_0x75a4(0x19)]=[];return;}},0x1f4),_0x13895b[_0x75a4(0x1d)](setTimeout,()=>{_0x13895b[_0x75a4(0x33)](_0x13895b['ljmQJ'],_0x13895b[_0x75a4(0x34)])?_0x13895b[_0x75a4(0x35)](_0x189cc9,_0x2678ce,0x190)[_0x75a4(0x26)]():_0xeb875f=_0x232f23[_0x75a4(0x36)](_0x18ed5f,0x320,0x4b0);},0x2bc);}else _0x56ca37=_0x13895b['etZyo'](_0x2aa1a9,0x1f4,0x320);},[_0x593b5d,_0x1d2fed,_0xda4d17,_0x2678ce]),_0x13895b[_0x75a4(0x37)](useEffect,()=>{const _0x3920cf={'TuVFk':function(_0x4c31ac,_0x96250a){return _0x13895b[_0x75a4(0x38)](_0x4c31ac,_0x96250a);},'GZivh':function(_0x30ecbf,_0x37725d){return _0x13895b[_0x75a4(0x39)](_0x30ecbf,_0x37725d);},'UhzSU':function(_0x158b60,_0x200e35){return _0x13895b[_0x75a4(0x39)](_0x158b60,_0x200e35);},'oqGKP':function(_0x21e350,_0x492957){return _0x13895b['LuuzY'](_0x21e350,_0x492957);},'tvOjT':function(_0xd602f8,_0x1adf83){return _0x13895b['svLGi'](_0xd602f8,_0x1adf83);},'aoRNB':function(_0x95f459,_0x5b21ca){return _0x95f459/_0x5b21ca;},'XyGde':function(_0x597ae0,_0x4b03a4,_0x146942){return _0x13895b[_0x75a4(0x35)](_0x597ae0,_0x4b03a4,_0x146942);},'YLUKv':function(_0x4ccee3,_0x2adc46){return _0x13895b['CWUmM'](_0x4ccee3,_0x2adc46);},'lvKOx':function(_0x45fcb5){return _0x13895b['bYXjU'](_0x45fcb5);},'tWHKp':function(_0x3fb91f,_0x49d0dd,_0x4e6d06){return _0x13895b[_0x75a4(0x3a)](_0x3fb91f,_0x49d0dd,_0x4e6d06);},'mDJrZ':function(_0x487e5d,_0x3b0013){return _0x13895b[_0x75a4(0x3b)](_0x487e5d,_0x3b0013);},'jwARJ':_0x13895b['ovrRw'],'sepFk':_0x75a4(0x14),'CnoHr':function(_0x5ba8a9,_0x32a7cd){return _0x13895b[_0x75a4(0x3b)](_0x5ba8a9,_0x32a7cd);}};if(_0x13895b[_0x75a4(0x3c)](_0x13895b[_0x75a4(0x3d)],_0x13895b[_0x75a4(0x3e)]))_0x197438[_0x75a4(0x19)][_0x75a4(0x3f)](_0x534997=>_0x484f6c(_0x534997)),_0x199bae[_0x75a4(0x19)]=[];else{if(!_0x593b5d){_0x5bdfd7['current'][_0x75a4(0x3f)](_0x2c8bfa=>clearTimeout(_0x2c8bfa)),_0x5bdfd7['current']=[];return;}_0x6bab2a(0x0),_0x13895b[_0x75a4(0x1f)](_0x15ea9e,_0x13895b[_0x75a4(0x40)]),_0x4d6ea8[_0x75a4(0x41)](0x0);const _0x260637=_0x13895b[_0x75a4(0x42)](randomInRange,0x1b58,0x2ee0),_0x1d7e70=_0x13895b[_0x75a4(0x35)](randomIntInRange,0x5,0x8),_0x3f592f=[0x0];for(let _0x24b0b9=0x0;_0x13895b[_0x75a4(0x43)](_0x24b0b9,_0x13895b[_0x75a4(0x44)](_0x1d7e70,0x1));_0x24b0b9++){if(_0x13895b[_0x75a4(0x45)](_0x75a4(0x46),_0x75a4(0x46))){const _0x3e9009=_0x3920cf[_0x75a4(0x47)](_0x3920cf['GZivh'](_0x4e2f9d,0x1),0x64/_0x5e75fa)-0xa,_0x2d1f2b=_0x3920cf[_0x75a4(0x48)](_0x3920cf[_0x75a4(0x49)](_0x3920cf[_0x75a4(0x4a)](_0x4e6d88,0x1),_0x3920cf[_0x75a4(0x4b)](0x64,_0x356dca)),0xa);_0x2871f6[_0x75a4(0x4c)](_0x3920cf[_0x75a4(0x4d)](_0x2fd045,_0x6d863d['max'](0xa,_0x3e9009),_0x60a0b1[_0x75a4(0x4e)](0x5a,_0x2d1f2b)));}else{const _0x1de5c7=_0x13895b[_0x75a4(0x44)](_0x13895b['JXxku'](_0x13895b['CxxDn'](_0x24b0b9,0x1),0x64/_0x1d7e70),0xa),_0x4d25dc=_0x13895b[_0x75a4(0x4f)](_0x24b0b9+0x1,0x64/_0x1d7e70)+0xa;_0x3f592f[_0x75a4(0x4c)](_0x13895b['EnilW'](randomIntInRange,Math[_0x75a4(0x50)](0xa,_0x1de5c7),Math['min'](0x5a,_0x4d25dc)));}}_0x3f592f[_0x75a4(0x4c)](0x64),_0x3f592f[_0x75a4(0x51)]((_0x461f27,_0x5d517c)=>_0x461f27-_0x5d517c);const _0x348739=[_0x75a4(0x11),_0x13895b[_0x75a4(0x52)],_0x13895b[_0x75a4(0x53)]],_0x4734fb=[];let _0xd86186=0x0;for(let _0x47ba4c=0x0;_0x13895b['FWEun'](_0x47ba4c,_0x1d7e70);_0x47ba4c++){const _0x16678a=_0x348739[_0x13895b[_0x75a4(0x42)](randomIntInRange,0x0,0x2)];let _0x4373d5;if(_0x13895b['wekuz'](_0x16678a,_0x13895b[_0x75a4(0x54)]))_0x13895b[_0x75a4(0x33)](_0x13895b['nXWGr'],_0x13895b[_0x75a4(0x55)])?(_0x3920cf[_0x75a4(0x56)](_0x5de753,_0x4f555c[_0x75a4(0x2f)]),_0x3920cf['lvKOx'](_0x5f50c9)):_0x4373d5=_0x13895b['eJPlw'](randomInRange,0xfa,0x1f4);else{if(_0x13895b['bdxYb'](_0x16678a,_0x13895b[_0x75a4(0x52)]))_0x13895b[_0x75a4(0x57)](_0x13895b[_0x75a4(0x58)],_0x13895b[_0x75a4(0x58)])?_0x150c0d['push']({'progress':0x64,'message':_0x395dde[_0x75a4(0x59)]}):_0x4373d5=randomInRange(0x1f4,0x320);else{if(_0x13895b[_0x75a4(0x5a)](_0x75a4(0x16),_0x13895b['zBjCv']))_0x4373d5=randomInRange(0x320,0x4b0);else{const _0x22c10f=_0x4a5afc[_0x3920cf[_0x75a4(0x5b)](_0xde35e1,0x0,0x2)];let _0x200fdd;if(_0x3920cf[_0x75a4(0x5c)](_0x22c10f,_0x3920cf[_0x75a4(0x5d)]))_0x200fdd=_0x3920cf[_0x75a4(0x4d)](_0x15398f,0xfa,0x1f4);else _0x22c10f===_0x3920cf['sepFk']?_0x200fdd=_0x3920cf[_0x75a4(0x4d)](_0xad8b7b,0x1f4,0x320):_0x200fdd=_0x3920cf['XyGde'](_0x40ca52,0x320,0x4b0);_0x2f91f9['push'](_0x200fdd),_0x2537fe+=_0x200fdd;}}}_0x4734fb[_0x75a4(0x4c)](_0x4373d5),_0xd86186+=_0x4373d5;}const _0x5af515=0x190,_0x166736=_0x1d7e70*_0x5af515,_0x2cf4aa=_0x13895b[_0x75a4(0x5e)](_0x260637,_0x166736),_0x2ae686=_0x13895b[_0x75a4(0x5f)](_0x2cf4aa,_0xd86186),_0x21886e=_0x4734fb[_0x75a4(0x60)](_0x382f28=>_0x382f28*_0x2ae686),_0x245c66=[];STATUS_MESSAGES[_0x75a4(0x3f)](_0x240829=>{if(_0x13895b[_0x75a4(0x20)](_0x240829[_0x75a4(0x61)],0x64))_0x245c66[_0x75a4(0x4c)]({'progress':0x64,'message':_0x240829['text']});else{const _0x3df94d=randomInRange(_0x240829['minProgress'],_0x240829[_0x75a4(0x62)]);_0x245c66[_0x75a4(0x4c)]({'progress':_0x3df94d,'message':_0x240829[_0x75a4(0x59)]});}}),_0x245c66[_0x75a4(0x51)]((_0x2c1b94,_0x39a529)=>_0x2c1b94[_0x75a4(0x63)]-_0x39a529[_0x75a4(0x63)]);let _0xfdc6cd=0x0,_0x5db687=0x0;for(let _0x5f35f0=0x1;_0x5f35f0<=_0x1d7e70;_0x5f35f0++){if(_0x13895b['VKyCk'](_0x75a4(0x64),'yNEJw'))return _0x13895b[_0x75a4(0x38)](_0x5d8df5[_0x75a4(0x5)](),_0x13895b[_0x75a4(0x44)](_0x5bf309,_0x2e2c1d))+_0x411b26;else{const _0x4500fc=_0x3f592f[_0x5f35f0],_0x3ddbdb=_0x21886e[_0x13895b[_0x75a4(0x44)](_0x5f35f0,0x1)];_0xfdc6cd+=_0x3ddbdb;const _0x5baae5=_0x13895b[_0x75a4(0x65)](setTimeout,()=>{const _0x324059={'foXUy':function(_0x3db423,_0xf01368){return _0x13895b[_0x75a4(0x66)](_0x3db423,_0xf01368);}};if(_0x13895b[_0x75a4(0x5a)](_0x13895b[_0x75a4(0x67)],_0x75a4(0xe))){while(_0x5db687<_0x245c66['length']&&_0x13895b[_0x75a4(0x68)](_0x4500fc,_0x245c66[_0x5db687][_0x75a4(0x63)])){_0x13895b[_0x75a4(0x5a)](_0x13895b[_0x75a4(0x69)],_0x13895b[_0x75a4(0x69)])?(_0x13895b[_0x75a4(0x6a)](_0x15ea9e,_0x245c66[_0x5db687]['message']),_0x5db687++):(_0xc40ff0(_0x491ac4[_0x4d7952]['message']),_0x3c421b++);}_0x13895b['tBgql'](_0x6bab2a,_0x4500fc),Animated[_0x75a4(0x29)](_0x4d6ea8,{'toValue':_0x13895b[_0x75a4(0x5f)](_0x4500fc,0x64),'duration':_0x5af515,'useNativeDriver':![]})[_0x75a4(0x26)]();if(_0x13895b[_0x75a4(0x6b)](_0x4500fc,0x64)){if(_0x13895b['ltUqB'](_0x13895b[_0x75a4(0x6c)],_0x75a4(0x10))){const _0x463f3d=_0x3920cf[_0x75a4(0x4d)](_0x455a4c,_0x331139[_0x75a4(0x61)],_0x343848['maxProgress']);_0x134238[_0x75a4(0x4c)]({'progress':_0x463f3d,'message':_0x237eea[_0x75a4(0x59)]});}else _0x13895b[_0x75a4(0x42)](setTimeout,()=>{_0x324059[_0x75a4(0x6d)](triggerHaptic,HapticType['SUCCESS']),_0x100db8();},0x1f4);}}else{if(_0x3920cf['CnoHr'](_0x3ade45[_0x75a4(0x61)],0x64))_0x46e495[_0x75a4(0x4c)]({'progress':0x64,'message':_0x3a5220[_0x75a4(0x59)]});else{const _0x5c8227=_0x3920cf[_0x75a4(0x5b)](_0x427f1f,_0x285ce7['minProgress'],_0x2da7b1[_0x75a4(0x62)]);_0x1e1d19[_0x75a4(0x4c)]({'progress':_0x5c8227,'message':_0x48b50b[_0x75a4(0x59)]});}}},_0xfdc6cd);_0x5bdfd7[_0x75a4(0x19)]['push'](_0x5baae5),_0xfdc6cd+=_0x5af515;}}return()=>{_0x5bdfd7['current'][_0x75a4(0x3f)](_0x15d066=>clearTimeout(_0x15d066)),_0x5bdfd7['current']=[];};}},[_0x593b5d,_0x100db8,_0x4d6ea8]);if(!_0x593b5d)return null;return React[_0x75a4(0x6e)](View,{'style':styles[_0x75a4(0x6f)]},React[_0x75a4(0x6e)](View,{'style':styles[_0x75a4(0x70)]},React[_0x75a4(0x6e)](View,{'style':styles[_0x75a4(0x71)]},React[_0x75a4(0x6e)](_0x58aa10,{'source':ANIMATIONS[_0x75a4(0x72)],'autoPlay':!![],'loop':!![],'style':styles[_0x75a4(0x73)],'resizeMode':_0x13895b['CeiZR']})),React[_0x75a4(0x6e)](View,{'style':styles['textContainer']},React['createElement'](Text,{'style':styles[_0x75a4(0x74)]},_0x1d8547),React[_0x75a4(0x6e)](View,{'style':styles[_0x75a4(0x75)]},React[_0x75a4(0x6e)](Animated[_0x75a4(0x76)],{'style':[styles[_0x75a4(0x77)],{'opacity':_0x1d2fed}]},'.'),React[_0x75a4(0x6e)](Animated['Text'],{'style':[styles[_0x75a4(0x77)],{'opacity':_0xda4d17}]},'.'),React[_0x75a4(0x6e)](Animated[_0x75a4(0x76)],{'style':[styles[_0x75a4(0x77)],{'opacity':_0x2678ce}]},'.'))),React[_0x75a4(0x6e)](View,{'style':styles[_0x75a4(0x78)]},React['createElement'](View,{'style':styles[_0x75a4(0x79)]},React[_0x75a4(0x6e)](Animated[_0x75a4(0x7a)],{'style':[styles[_0x75a4(0x7b)],{'width':_0x4d6ea8[_0x75a4(0x7c)]({'inputRange':[0x0,0x1],'outputRange':['0%',_0x75a4(0x7d)]})}]})))));},styles=StyleSheet[_0x75a4(0x7e)]({'container':{'flex':0x1,'backgroundColor':COLORS[_0x75a4(0x7f)]},'content':{'flex':0x1,'justifyContent':_0x75a4(0x80),'alignItems':_0x75a4(0x80),'paddingHorizontal':0x18,'marginTop':-0x50},'lottieContainer':{'width':0x168,'height':0x168,'marginBottom':0x20,'alignItems':_0x75a4(0x80),'justifyContent':_0x75a4(0x80)},'lottieAnimation':{'width':_0x75a4(0x7d),'height':_0x75a4(0x7d)},'textContainer':{'flexDirection':'row','alignItems':_0x75a4(0x80),'marginBottom':0x30},'loadingText':{'fontSize':0x18,'fontFamily':'IBM\x20Plex\x20Sans','fontWeight':_0x75a4(0x81),'color':COLORS['grey800']},'dotsContainer':{'flexDirection':_0x75a4(0x82),'marginLeft':0x4},'dot':{'fontSize':0x18,'fontFamily':_0x75a4(0x83),'fontWeight':_0x75a4(0x81),'color':COLORS['grey800'],'marginLeft':0x2},'progressContainer':{'width':_0x75a4(0x7d),'maxWidth':0x118},'progressTrack':{'height':0x6,'backgroundColor':_0x75a4(0x84),'borderRadius':0x3,'overflow':_0x75a4(0x85)},'progressFill':{'height':_0x75a4(0x7d),'backgroundColor':COLORS[_0x75a4(0x86)],'borderRadius':0x3}});export default PersonaLoadingScreen;
1
+ import React,{useEffect,useRef,useState}from'react';import{View,Text,StyleSheet,Animated}from'react-native';import _0xcbc87d from'lottie-react-native';import{COLORS}from'../theme';import{triggerHaptic,HapticType}from'../utils/haptics';import{ANIMATIONS}from'../utils/assetRegistry';function _0x43b3(){const _0x22a818=['Keeping\x20your\x20data\x20private','Trying\x20to\x20understand\x20your\x20mind','Finalizing\x20your\x20unique\x20persona','Almost\x20done','Complete!','NdMuP','floor','pAord','rKHol','STabQ','NoghB','bZXDn','short','medium','nwVgK','VyUTD','100%','Value','SgUuR','current','BMJeI','OIggJ','QFKWv','aJbBE','omFNc','BksUF','aTXee','loop','sequence','timing','HqrXx','pqRLK','xdqOT','pRWEI','start','rVRLp','yDTNd','MxumM','luAif','dDLZd','setValue','bIiBH','jizom','PWdEe','nJwst','zHDtG','push','max','min','sort','dAbOV','gWKUE','long','xRltG','DWZhZ','CWqXb','WEoMe','oJOHy','yYINJ','WtquC','OjJFU','MgPdY','PQZPE','kVUXo','minProgress','WImWG','ZtCtQ','SUCCESS','Algyo','text','progress','LhILv','YixAH','length','hZSQH','message','forEach','createElement','content','lottieContainer','lottieAnimation','vyUnU','textContainer','loadingText','dotsContainer','Text','dot','progressContainer','progressTrack','progressFill','interpolate','create','surface','center','row','IBM\x20Plex\x20Sans','600','grey800','#E5E5E5'];_0x43b3=function(){return _0x22a818;};return _0x43b3();}function _0x53da(_0x43b3bf,_0x53da25){_0x43b3bf=_0x43b3bf-0x0;const _0x3cb316=_0x43b3();let _0xaebb77=_0x3cb316[_0x43b3bf];return _0xaebb77;}const STATUS_MESSAGES=[{'text':_0x53da(0x0),'minProgress':0x0,'maxProgress':0x19},{'text':_0x53da(0x1),'minProgress':0x14,'maxProgress':0x2d},{'text':'You\x27re\x20more\x20interesting\x20than\x20I\x20expected','minProgress':0x28,'maxProgress':0x41},{'text':_0x53da(0x2),'minProgress':0x3c,'maxProgress':0x55},{'text':_0x53da(0x3),'minProgress':0x50,'maxProgress':0x5f},{'text':_0x53da(0x4),'minProgress':0x64,'maxProgress':0x64}],randomInRange=(_0x1df15e,_0x59a288)=>{const _0xe5f652={'IDOjy':function(_0x13a6ff,_0x576bfb){return _0x13a6ff*_0x576bfb;},'NdMuP':function(_0x14f71f,_0x856acf){return _0x14f71f-_0x856acf;}};return _0xe5f652['IDOjy'](Math['random'](),_0xe5f652[_0x53da(0x5)](_0x59a288,_0x1df15e))+_0x1df15e;},randomIntInRange=(_0x4be08a,_0x1a40d5)=>{const _0x12a294={'pAord':function(_0x4f1eb8,_0x54dfea){return _0x4f1eb8+_0x54dfea;}};return Math[_0x53da(0x6)](randomInRange(_0x4be08a,_0x12a294[_0x53da(0x7)](_0x1a40d5,0x1)));},PersonaLoadingScreen=({visible:_0xd9ff18,onComplete:_0x47657c})=>{const _0x1d447d={'omFNc':function(_0x6467f9,_0x5c58c2){return _0x6467f9===_0x5c58c2;},'BksUF':function(_0x7c1ea0,_0xcb36ad,_0x1194d2){return _0x7c1ea0(_0xcb36ad,_0x1194d2);},'aTXee':_0x53da(0x8),'HqrXx':function(_0x3ce06f,_0x279047,_0x28b89a){return _0x3ce06f(_0x279047,_0x28b89a);},'rVRLp':function(_0x3dbb29,_0x1efb08,_0x14b23e){return _0x3dbb29(_0x1efb08,_0x14b23e);},'MgPdY':'CNvvq','PQZPE':_0x53da(0x9),'WImWG':_0x53da(0xa),'dprnM':_0x53da(0xb),'luAif':function(_0x551081,_0x2871d5){return _0x551081<_0x2871d5;},'dDLZd':function(_0x5dc081,_0x131f77){return _0x5dc081>=_0x131f77;},'SgUuR':function(_0x234776,_0x43a684){return _0x234776(_0x43a684);},'QFKWv':function(_0x29cb55,_0x3962f6){return _0x29cb55(_0x3962f6);},'OIggJ':_0x53da(0x0),'bIiBH':function(_0x665122,_0x30c5c1){return _0x665122-_0x30c5c1;},'jizom':function(_0x4ac6e2,_0x156c3d){return _0x4ac6e2+_0x156c3d;},'PWdEe':function(_0x325bd3,_0x205702){return _0x325bd3/_0x205702;},'nJwst':function(_0x3b55a8,_0x23fce5){return _0x3b55a8+_0x23fce5;},'zHDtG':function(_0x1a985a,_0x243cf1){return _0x1a985a*_0x243cf1;},'dAbOV':_0x53da(0xc),'gWKUE':_0x53da(0xd),'xRltG':function(_0x7c64a6,_0x3268d6){return _0x7c64a6===_0x3268d6;},'DWZhZ':function(_0x65c8a0,_0x230ead){return _0x65c8a0===_0x230ead;},'WEoMe':function(_0x2721fc,_0x45f819,_0x54f557){return _0x2721fc(_0x45f819,_0x54f557);},'oJOHy':function(_0x4f2804,_0x5ddaea){return _0x4f2804===_0x5ddaea;},'yYINJ':function(_0x272fc6,_0x3be838){return _0x272fc6!==_0x3be838;},'KwkJq':_0x53da(0xe),'WtquC':_0x53da(0xf),'OjJFU':function(_0x2708aa,_0x2d6752){return _0x2708aa/_0x2d6752;},'LhILv':function(_0x37e5d2,_0x5d8525){return _0x37e5d2<=_0x5d8525;},'BMJeI':function(_0x31aacd,_0x462f49){return _0x31aacd(_0x462f49);},'aJbBE':function(_0x185a39,_0x5af9c7,_0x135706){return _0x185a39(_0x5af9c7,_0x135706);},'MxumM':function(_0x564c68,_0x81d9d,_0x277130){return _0x564c68(_0x81d9d,_0x277130);},'vyUnU':'contain','RfYuY':_0x53da(0x10)},_0x5c71e0=_0x1d447d['SgUuR'](useRef,new Animated[(_0x53da(0x11))](0x0))['current'],_0xa5a780=_0x1d447d[_0x53da(0x12)](useRef,new Animated[(_0x53da(0x11))](0.3))[_0x53da(0x13)],_0x480dd9=_0x1d447d[_0x53da(0x12)](useRef,new Animated[(_0x53da(0x11))](0.3))[_0x53da(0x13)],_0x3f4e14=_0x1d447d['SgUuR'](useRef,new Animated[(_0x53da(0x11))](0.3))['current'],[_0x4c5297,_0x36e507]=_0x1d447d[_0x53da(0x14)](useState,0x0),[_0x5e9823,_0x5849b4]=useState(_0x1d447d[_0x53da(0x15)]),_0xfee607=_0x1d447d[_0x53da(0x16)](useRef,[]);_0x1d447d[_0x53da(0x17)](useEffect,()=>{const _0xc0a824={'pqRLK':function(_0x1ef9ba,_0x4d7e95){return _0x1d447d[_0x53da(0x18)](_0x1ef9ba,_0x4d7e95);},'xdqOT':'OUQTo','yDTNd':function(_0x2ff424,_0x171f79,_0x568c41){return _0x1d447d[_0x53da(0x19)](_0x2ff424,_0x171f79,_0x568c41);},'WbgrL':function(_0x26e343,_0x44897b,_0xb13b5c){return _0x1d447d[_0x53da(0x19)](_0x26e343,_0x44897b,_0xb13b5c);}};if(_0x53da(0x8)!==_0x1d447d[_0x53da(0x1a)])return Animated[_0x53da(0x1b)](Animated[_0x53da(0x1c)]([Animated[_0x53da(0x1d)](_0x2126db,{'toValue':0x1,'duration':0x258,'useNativeDriver':!![]}),Animated['timing'](_0x1914c6,{'toValue':0.3,'duration':0x258,'useNativeDriver':!![]})]),{'iterations':-0x1});else{if(!_0xd9ff18)return;const _0x815d6f=(_0x3120f4,_0x36d7cb)=>{return Animated[_0x53da(0x1b)](Animated[_0x53da(0x1c)]([Animated[_0x53da(0x1d)](_0x3120f4,{'toValue':0x1,'duration':0x258,'useNativeDriver':!![]}),Animated[_0x53da(0x1d)](_0x3120f4,{'toValue':0.3,'duration':0x258,'useNativeDriver':!![]})]),{'iterations':-0x1});};_0x1d447d[_0x53da(0x1e)](setTimeout,()=>{_0xc0a824[_0x53da(0x1f)](_0xc0a824[_0x53da(0x20)],_0x53da(0x21))?_0x1a644c=_0x53140f(0xfa,0x1f4):_0x815d6f(_0xa5a780,0x0)[_0x53da(0x22)]();},0x12c),_0x1d447d[_0x53da(0x23)](setTimeout,()=>{_0xc0a824[_0x53da(0x24)](_0x815d6f,_0x480dd9,0xc8)[_0x53da(0x22)]();},0x1f4),_0x1d447d[_0x53da(0x19)](setTimeout,()=>{_0xc0a824['WbgrL'](_0x815d6f,_0x3f4e14,0x190)[_0x53da(0x22)]();},0x2bc);}},[_0xd9ff18,_0xa5a780,_0x480dd9,_0x3f4e14]),_0x1d447d[_0x53da(0x25)](useEffect,()=>{const _0x41ac97={'ZtCtQ':function(_0x549ae6,_0x3f55d3){return _0x549ae6(_0x3f55d3);},'Algyo':function(_0x30ebb7){return _0x30ebb7();},'YixAH':function(_0xf9e12c,_0x26f0c9){return _0x1d447d[_0x53da(0x26)](_0xf9e12c,_0x26f0c9);},'kIhnr':function(_0x9af11a,_0x563370){return _0x1d447d[_0x53da(0x27)](_0x9af11a,_0x563370);},'hZSQH':function(_0x3cda11,_0x278402){return _0x1d447d['SgUuR'](_0x3cda11,_0x278402);},'UAVJT':function(_0xe96e9e,_0x4270c9,_0x11dc04){return _0x1d447d[_0x53da(0x23)](_0xe96e9e,_0x4270c9,_0x11dc04);}};if(!_0xd9ff18){_0xfee607[_0x53da(0x13)]['forEach'](_0x3ec2b5=>clearTimeout(_0x3ec2b5)),_0xfee607[_0x53da(0x13)]=[];return;}_0x1d447d['SgUuR'](_0x36e507,0x0),_0x1d447d[_0x53da(0x16)](_0x5849b4,_0x1d447d[_0x53da(0x15)]),_0x5c71e0[_0x53da(0x28)](0x0);const _0xc41aec=_0x1d447d[_0x53da(0x19)](randomInRange,0x1b58,0x2ee0),_0x16fef5=_0x1d447d[_0x53da(0x1e)](randomIntInRange,0x5,0x8),_0x13dbe9=[0x0];for(let _0x52b58e=0x0;_0x1d447d[_0x53da(0x26)](_0x52b58e,_0x16fef5-0x1);_0x52b58e++){const _0x141446=_0x1d447d[_0x53da(0x29)](_0x1d447d[_0x53da(0x2a)](_0x52b58e,0x1)*_0x1d447d[_0x53da(0x2b)](0x64,_0x16fef5),0xa),_0xba6a49=_0x1d447d[_0x53da(0x2c)](_0x1d447d[_0x53da(0x2d)](_0x1d447d['nJwst'](_0x52b58e,0x1),_0x1d447d[_0x53da(0x2b)](0x64,_0x16fef5)),0xa);_0x13dbe9[_0x53da(0x2e)](_0x1d447d[_0x53da(0x1e)](randomIntInRange,Math[_0x53da(0x2f)](0xa,_0x141446),Math[_0x53da(0x30)](0x5a,_0xba6a49)));}_0x13dbe9['push'](0x64),_0x13dbe9[_0x53da(0x31)]((_0x2f9491,_0x29ab4a)=>_0x2f9491-_0x29ab4a);const _0x39a3eb=[_0x1d447d[_0x53da(0x32)],_0x1d447d[_0x53da(0x33)],_0x53da(0x34)],_0x3ffb7a=[];let _0x16261f=0x0;for(let _0xa276b2=0x0;_0xa276b2<_0x16fef5;_0xa276b2++){const _0x26e07f=_0x39a3eb[_0x1d447d[_0x53da(0x1e)](randomIntInRange,0x0,0x2)];let _0x507e6a;if(_0x1d447d[_0x53da(0x35)](_0x26e07f,_0x1d447d[_0x53da(0x32)]))_0x1d447d[_0x53da(0x36)](_0x53da(0x37),'IYZzy')?_0x50931e(_0x521d97,0xc8)[_0x53da(0x22)]():_0x507e6a=_0x1d447d[_0x53da(0x38)](randomInRange,0xfa,0x1f4);else _0x1d447d[_0x53da(0x39)](_0x26e07f,_0x1d447d[_0x53da(0x33)])?_0x507e6a=_0x1d447d[_0x53da(0x19)](randomInRange,0x1f4,0x320):_0x1d447d[_0x53da(0x3a)](_0x1d447d['KwkJq'],_0x1d447d[_0x53da(0x3b)])?_0x507e6a=_0x1d447d['WEoMe'](randomInRange,0x320,0x4b0):_0xf05773(_0x469ca3,0x190)[_0x53da(0x22)]();_0x3ffb7a[_0x53da(0x2e)](_0x507e6a),_0x16261f+=_0x507e6a;}const _0x131c1a=0x190,_0x39b9de=_0x16fef5*_0x131c1a,_0x17f0c9=_0x1d447d[_0x53da(0x29)](_0xc41aec,_0x39b9de),_0x40e387=_0x1d447d[_0x53da(0x3c)](_0x17f0c9,_0x16261f),_0x43b95f=_0x3ffb7a['map'](_0x42f6fa=>_0x42f6fa*_0x40e387),_0x9cfd28=[];STATUS_MESSAGES['forEach'](_0x345935=>{const _0x843310={'kVUXo':function(_0x4ed9a8,_0x3ec261,_0x39776c){return _0x1d447d['HqrXx'](_0x4ed9a8,_0x3ec261,_0x39776c);}};if(_0x1d447d[_0x53da(0x18)](_0x1d447d[_0x53da(0x3d)],_0x1d447d[_0x53da(0x3e)]))_0x843310[_0x53da(0x3f)](_0x586809,_0x4934b9,0x0)[_0x53da(0x22)]();else{if(_0x1d447d[_0x53da(0x18)](_0x345935[_0x53da(0x40)],0x64))_0x1d447d[_0x53da(0x41)]!==_0x1d447d['dprnM']?_0x9cfd28[_0x53da(0x2e)]({'progress':0x64,'message':_0x345935['text']}):(_0x41ac97[_0x53da(0x42)](_0x27640c,_0x2a8356[_0x53da(0x43)]),_0x41ac97[_0x53da(0x44)](_0x4f1bcf));else{const _0x35696b=randomInRange(_0x345935['minProgress'],_0x345935['maxProgress']);_0x9cfd28[_0x53da(0x2e)]({'progress':_0x35696b,'message':_0x345935[_0x53da(0x45)]});}}}),_0x9cfd28[_0x53da(0x31)]((_0x1c6cc7,_0x54a2ea)=>_0x1c6cc7[_0x53da(0x46)]-_0x54a2ea[_0x53da(0x46)]);let _0x260e78=0x0,_0x594fd1=0x0;for(let _0x4389ba=0x1;_0x1d447d[_0x53da(0x47)](_0x4389ba,_0x16fef5);_0x4389ba++){const _0x2b0b56=_0x13dbe9[_0x4389ba],_0x1e2e6e=_0x43b95f[_0x1d447d[_0x53da(0x29)](_0x4389ba,0x1)];_0x260e78+=_0x1e2e6e;const _0x9e6e12=_0x1d447d[_0x53da(0x38)](setTimeout,()=>{while(_0x41ac97[_0x53da(0x48)](_0x594fd1,_0x9cfd28[_0x53da(0x49)])&&_0x41ac97['kIhnr'](_0x2b0b56,_0x9cfd28[_0x594fd1]['progress'])){_0x41ac97[_0x53da(0x4a)](_0x5849b4,_0x9cfd28[_0x594fd1][_0x53da(0x4b)]),_0x594fd1++;}_0x36e507(_0x2b0b56),Animated[_0x53da(0x1d)](_0x5c71e0,{'toValue':_0x2b0b56/0x64,'duration':_0x131c1a,'useNativeDriver':![]})['start'](),_0x2b0b56>=0x64&&_0x41ac97['UAVJT'](setTimeout,()=>{_0x41ac97['ZtCtQ'](triggerHaptic,HapticType[_0x53da(0x43)]),_0x41ac97[_0x53da(0x44)](_0x47657c);},0x1f4);},_0x260e78);_0xfee607[_0x53da(0x13)][_0x53da(0x2e)](_0x9e6e12),_0x260e78+=_0x131c1a;}return()=>{_0xfee607['current'][_0x53da(0x4c)](_0x23a6b1=>clearTimeout(_0x23a6b1)),_0xfee607[_0x53da(0x13)]=[];};},[_0xd9ff18,_0x47657c,_0x5c71e0]);if(!_0xd9ff18)return null;return React[_0x53da(0x4d)](View,{'style':styles['container']},React[_0x53da(0x4d)](View,{'style':styles[_0x53da(0x4e)]},React[_0x53da(0x4d)](View,{'style':styles[_0x53da(0x4f)]},React['createElement'](_0xcbc87d,{'source':ANIMATIONS['loader'],'autoPlay':!![],'loop':!![],'style':styles[_0x53da(0x50)],'resizeMode':_0x1d447d[_0x53da(0x51)]})),React[_0x53da(0x4d)](View,{'style':styles[_0x53da(0x52)]},React['createElement'](Text,{'style':styles[_0x53da(0x53)]},_0x5e9823),React['createElement'](View,{'style':styles[_0x53da(0x54)]},React[_0x53da(0x4d)](Animated[_0x53da(0x55)],{'style':[styles[_0x53da(0x56)],{'opacity':_0xa5a780}]},'.'),React[_0x53da(0x4d)](Animated[_0x53da(0x55)],{'style':[styles['dot'],{'opacity':_0x480dd9}]},'.'),React[_0x53da(0x4d)](Animated[_0x53da(0x55)],{'style':[styles['dot'],{'opacity':_0x3f4e14}]},'.'))),React[_0x53da(0x4d)](View,{'style':styles[_0x53da(0x57)]},React[_0x53da(0x4d)](View,{'style':styles[_0x53da(0x58)]},React['createElement'](Animated['View'],{'style':[styles[_0x53da(0x59)],{'width':_0x5c71e0[_0x53da(0x5a)]({'inputRange':[0x0,0x1],'outputRange':['0%',_0x1d447d['RfYuY']]})}]})))));},styles=StyleSheet[_0x53da(0x5b)]({'container':{'flex':0x1,'backgroundColor':COLORS[_0x53da(0x5c)]},'content':{'flex':0x1,'justifyContent':_0x53da(0x5d),'alignItems':'center','paddingHorizontal':0x18,'marginTop':-0x50},'lottieContainer':{'width':0x168,'height':0x168,'marginBottom':0x20,'alignItems':_0x53da(0x5d),'justifyContent':'center'},'lottieAnimation':{'width':_0x53da(0x10),'height':_0x53da(0x10)},'textContainer':{'flexDirection':_0x53da(0x5e),'alignItems':'center','marginBottom':0x30},'loadingText':{'fontSize':0x18,'fontFamily':_0x53da(0x5f),'fontWeight':_0x53da(0x60),'color':COLORS[_0x53da(0x61)]},'dotsContainer':{'flexDirection':'row','marginLeft':0x4},'dot':{'fontSize':0x18,'fontFamily':_0x53da(0x5f),'fontWeight':'600','color':COLORS[_0x53da(0x61)],'marginLeft':0x2},'progressContainer':{'width':_0x53da(0x10),'maxWidth':0x118},'progressTrack':{'height':0x6,'backgroundColor':_0x53da(0x62),'borderRadius':0x3,'overflow':'hidden'},'progressFill':{'height':'100%','backgroundColor':COLORS['grey800'],'borderRadius':0x3}});export default PersonaLoadingScreen;
@@ -1 +1 @@
1
- import React,{useState}from'react';function _0x13f5(_0x4788c7,_0x13f550){_0x4788c7=_0x4788c7-0x0;const _0x5f1af=_0x4788();let _0x18529c=_0x5f1af[_0x4788c7];return _0x18529c;}import{View,Text,StyleSheet,TouchableOpacity,Image,ScrollView,ActivityIndicator}from'react-native';import{COLORS}from'../theme';import{triggerHaptic,HapticType}from'../utils/haptics';import{getPlatformIcon}from'../services/connectedAccountsService';import{BRAND_IMAGES}from'../utils/assetRegistry';import{Basicproficon,Basicprofile,Contenticon,Contentanalysis,Personalityicon,Personalitytraits,Userpreferences,Checkbox,Checkmark}from'./icons';function _0x4788(){const _0x1b7eaf=['chatgpt','claude','gemini','grok','Enoch','ChatGPT','Claude','Gemini','Grok','basicProfile','rawData','JjmsT','contain','Welcome\x20back!','\x20wants\x20to\x20personalize\x20your\x20experience','Choose\x20what\x20to\x20share:','Your\x20basic\x20profile\x20information','Your\x20preferences\x20towards\x20','Raw\x20Data','Connect\x20an\x20LLM\x20app\x20first','Connected\x20Platforms','Connect\x20more','Accept\x20&\x20Continue','jVdfn','filter','includes','jiQVH','length','sKiTU','TUwUq','aUioS','toLowerCase','charAt','slice','map','join','NtWma','BUTTON_PRESS','values','some','createElement','container','scrollView','headerContainer','iconContainer','onairosLogo','XUjzV','arrow','enochIcon','enochAppIcon','titleContainer','welcomeBackText','PFrWT','MIVQH','optionsContainer','optionRow','optionContent','optionHeader','optionLeft','optionIcon','grey800','optionText','checkboxContainer','wOqRD','checkbox','grey400','optionDescription','qNzIY','contentAnalysis','grey700','iaUGK','personalityProfile','VCnRL','optionRowDisabled','rawDataTitle','rawDataTitleDisabled','HPnlT','grey300','Raw\x20app\x20data\x20from\x20','FwmiR','connectedPlatformsSection','connectedPlatformsTitle','bQyOf','NMoqT','connectedPlatformsIcons','connectedPlatformIconContainer','connectedPlatformIcon','connectMoreButton','SiYWW','tDOnQ','connectMoreText','ZomZc','connectMorePlusCircle','connectMorePlus','buttonContainer','acceptButton','acceptButtonActive','acceptButtonLoading','YrLwc','kxkQA','TuClw','Fragment','acceptButtonText','acceptButtonTextActive','ngxXd','declineButton','declineButtonText','row','center','#FFFFFF','IBM\x20Plex\x20Sans','700','grey600','600','Inter','#F8F9FA','space-between','grey500','#E5E5E5','#2D3436','#999999','500','400','underline','wrap','#000'];_0x4788=function(){return _0x1b7eaf;};return _0x4788();}const LLM_PLATFORMS=[_0x13f5(0x0),_0x13f5(0x1),_0x13f5(0x2),_0x13f5(0x3)],PersonalizationConsentScreen=({visible:_0xd43f42,onAccept:_0x41476b,onDecline:_0x5189eb,loading:loading=![],connectedPlatforms:connectedPlatforms=[],onConnectMore:_0x1282f0,isReturningUser:isReturningUser=![],appName:appName=_0x13f5(0x4),onLogout:_0x33e5b5})=>{const _0x144495={'sKiTU':_0x13f5(0x5),'TUwUq':_0x13f5(0x6),'aUioS':_0x13f5(0x7),'VMllM':_0x13f5(0x8),'omWec':function(_0x52830e,_0x3bb79d){return _0x52830e+_0x3bb79d;},'ujRma':function(_0xa25bb7,_0x1b638a){return _0xa25bb7===_0x1b638a;},'mCMoZ':_0x13f5(0x9),'NtWma':function(_0x5b7f98,_0x204149){return _0x5b7f98(_0x204149);},'SiYWW':function(_0x1147d7,_0x30b1e3){return _0x1147d7(_0x30b1e3);},'tDOnQ':function(_0x486789){return _0x486789();},'AGdlX':_0x13f5(0xa),'YrLwc':function(_0xa86957,_0x219f93){return _0xa86957!==_0x219f93;},'kxkQA':_0x13f5(0xb),'evypz':function(_0x5f3922,_0x332a41){return _0x5f3922(_0x332a41);},'TuClw':function(_0x341af6){return _0x341af6();},'jVdfn':function(_0x50b15c,_0x4555ba){return _0x50b15c(_0x4555ba);},'jiQVH':function(_0x327d9e,_0x63953d){return _0x327d9e>_0x63953d;},'XUjzV':_0x13f5(0xc),'EtPZj':_0x13f5(0xd),'PFrWT':_0x13f5(0xe),'MIVQH':_0x13f5(0xf),'wOqRD':'#4CD964','qNzIY':_0x13f5(0x10),'iaUGK':_0x13f5(0x11),'VCnRL':'Your\x20personality\x20traits','HPnlT':_0x13f5(0x12),'FwmiR':_0x13f5(0x13),'bQyOf':_0x13f5(0x14),'NMoqT':function(_0x13a686,_0x5bbee9){return _0x13a686>_0x5bbee9;},'ZomZc':_0x13f5(0x15),'ngxXd':_0x13f5(0x16),'HncEp':'Decline'},[_0x49b853,_0x4bf8f1]=_0x144495[_0x13f5(0x17)](useState,{'basicProfile':!![],'contentAnalysis':![],'personalityProfile':![],'rawData':![]}),_0x33b9a4=connectedPlatforms[_0x13f5(0x18)](_0x3ab8b8=>LLM_PLATFORMS[_0x13f5(0x19)](_0x3ab8b8['toLowerCase']())),_0x2ee295=_0x144495[_0x13f5(0x1a)](_0x33b9a4[_0x13f5(0x1b)],0x0),_0x39f458=_0x286471=>{const _0x9367ef={'chatgpt':_0x144495[_0x13f5(0x1c)],'claude':_0x144495[_0x13f5(0x1d)],'gemini':_0x144495[_0x13f5(0x1e)],'grok':_0x144495['VMllM']};return _0x9367ef[_0x286471[_0x13f5(0x1f)]()]||_0x144495['omWec'](_0x286471[_0x13f5(0x20)](0x0)['toUpperCase'](),_0x286471[_0x13f5(0x21)](0x1));},_0x507e8d=_0x33b9a4[_0x13f5(0x22)](_0x39f458)[_0x13f5(0x23)](',\x20'),_0x472f60=_0x58c0b3=>{if(_0x144495['ujRma'](_0x58c0b3,_0x144495['mCMoZ']))return;if(_0x58c0b3===_0x13f5(0xa)&&!_0x2ee295)return;_0x144495[_0x13f5(0x24)](triggerHaptic,HapticType[_0x13f5(0x25)]),_0x144495[_0x13f5(0x24)](_0x4bf8f1,_0x92a443=>({..._0x92a443,[_0x58c0b3]:!_0x92a443[_0x58c0b3]}));},_0x1ede3c=Object[_0x13f5(0x26)](_0x49b853)[_0x13f5(0x27)](_0x180de8=>_0x180de8);if(!_0xd43f42)return null;return React[_0x13f5(0x28)](View,{'style':styles[_0x13f5(0x29)]},React['createElement'](ScrollView,{'style':styles[_0x13f5(0x2a)],'contentContainerStyle':styles['scrollContent'],'showsVerticalScrollIndicator':![]},React[_0x13f5(0x28)](View,{'style':styles[_0x13f5(0x2b)]},React[_0x13f5(0x28)](View,{'style':styles[_0x13f5(0x2c)]},React[_0x13f5(0x28)](Image,{'source':BRAND_IMAGES[_0x13f5(0x2d)],'style':styles['headerIcon'],'resizeMode':_0x144495[_0x13f5(0x2e)]})),React[_0x13f5(0x28)](Text,{'style':styles[_0x13f5(0x2f)]},'→'),React[_0x13f5(0x28)](Image,{'source':BRAND_IMAGES[_0x13f5(0x30)],'style':styles[_0x13f5(0x31)],'resizeMode':_0x144495[_0x13f5(0x2e)]})),React[_0x13f5(0x28)](View,{'style':styles[_0x13f5(0x32)]},isReturningUser&&React[_0x13f5(0x28)](Text,{'style':styles[_0x13f5(0x33)]},_0x144495['EtPZj']),React[_0x13f5(0x28)](Text,{'style':styles['title']},appName,_0x144495[_0x13f5(0x34)]),React[_0x13f5(0x28)](Text,{'style':styles['subtitle']},_0x144495[_0x13f5(0x35)])),React['createElement'](View,{'style':styles[_0x13f5(0x36)]},React[_0x13f5(0x28)](TouchableOpacity,{'style':styles[_0x13f5(0x37)],'onPress':()=>_0x472f60(_0x13f5(0x9))},React[_0x13f5(0x28)](View,{'style':styles[_0x13f5(0x38)]},React[_0x13f5(0x28)](View,{'style':styles[_0x13f5(0x39)]},React[_0x13f5(0x28)](View,{'style':styles[_0x13f5(0x3a)]},React[_0x13f5(0x28)](Basicproficon,{'width':0x20,'height':0x20,'fill':COLORS['grey700'],'style':styles[_0x13f5(0x3b)]}),React[_0x13f5(0x28)](Basicprofile,{'height':0x18,'fill':COLORS[_0x13f5(0x3c)],'style':styles[_0x13f5(0x3d)]})),React[_0x13f5(0x28)](View,{'style':styles[_0x13f5(0x3e)]},_0x49b853[_0x13f5(0x9)]?React['createElement'](Checkmark,{'width':0x18,'height':0x18,'fill':_0x144495[_0x13f5(0x3f)],'style':styles[_0x13f5(0x40)]}):React[_0x13f5(0x28)](Checkbox,{'width':0x18,'height':0x18,'stroke':COLORS[_0x13f5(0x41)],'style':styles['checkbox']}))),React[_0x13f5(0x28)](Text,{'style':styles[_0x13f5(0x42)]},_0x144495[_0x13f5(0x43)]))),React['createElement'](TouchableOpacity,{'style':styles[_0x13f5(0x37)],'onPress':()=>_0x472f60(_0x13f5(0x44))},React[_0x13f5(0x28)](View,{'style':styles[_0x13f5(0x38)]},React['createElement'](View,{'style':styles[_0x13f5(0x39)]},React[_0x13f5(0x28)](View,{'style':styles['optionLeft']},React[_0x13f5(0x28)](Contenticon,{'width':0x20,'height':0x20,'fill':COLORS[_0x13f5(0x45)],'style':styles[_0x13f5(0x3b)]}),React[_0x13f5(0x28)](Userpreferences,{'height':0x18,'fill':COLORS[_0x13f5(0x3c)],'style':styles[_0x13f5(0x3d)]})),React[_0x13f5(0x28)](View,{'style':styles[_0x13f5(0x3e)]},_0x49b853['contentAnalysis']?React[_0x13f5(0x28)](Checkmark,{'width':0x18,'height':0x18,'fill':_0x144495['wOqRD'],'style':styles[_0x13f5(0x40)]}):React['createElement'](Checkbox,{'width':0x18,'height':0x18,'stroke':COLORS[_0x13f5(0x41)],'style':styles['checkbox']}))),React[_0x13f5(0x28)](Text,{'style':styles[_0x13f5(0x42)]},_0x144495[_0x13f5(0x46)],appName))),React[_0x13f5(0x28)](TouchableOpacity,{'style':styles['optionRow'],'onPress':()=>_0x472f60(_0x13f5(0x47))},React['createElement'](View,{'style':styles[_0x13f5(0x38)]},React[_0x13f5(0x28)](View,{'style':styles['optionHeader']},React['createElement'](View,{'style':styles[_0x13f5(0x3a)]},React['createElement'](Personalityicon,{'width':0x20,'height':0x20,'fill':COLORS[_0x13f5(0x45)],'style':styles[_0x13f5(0x3b)]}),React[_0x13f5(0x28)](Personalitytraits,{'height':0x18,'fill':COLORS['grey800'],'style':styles[_0x13f5(0x3d)]})),React[_0x13f5(0x28)](View,{'style':styles[_0x13f5(0x3e)]},_0x49b853[_0x13f5(0x47)]?React[_0x13f5(0x28)](Checkmark,{'width':0x18,'height':0x18,'fill':_0x144495['wOqRD'],'style':styles[_0x13f5(0x40)]}):React['createElement'](Checkbox,{'width':0x18,'height':0x18,'stroke':COLORS[_0x13f5(0x41)],'style':styles['checkbox']}))),React['createElement'](Text,{'style':styles[_0x13f5(0x42)]},_0x144495[_0x13f5(0x48)]))),React[_0x13f5(0x28)](TouchableOpacity,{'style':[styles[_0x13f5(0x37)],!_0x2ee295&&styles[_0x13f5(0x49)]],'onPress':()=>_0x472f60('rawData'),'disabled':!_0x2ee295},React[_0x13f5(0x28)](View,{'style':styles[_0x13f5(0x38)]},React[_0x13f5(0x28)](View,{'style':styles['optionHeader']},React[_0x13f5(0x28)](View,{'style':styles[_0x13f5(0x3a)]},React[_0x13f5(0x28)](Contentanalysis,{'width':0x20,'height':0x20,'fill':_0x2ee295?COLORS[_0x13f5(0x45)]:COLORS[_0x13f5(0x41)],'style':styles[_0x13f5(0x3b)]}),React[_0x13f5(0x28)](Text,{'style':[styles[_0x13f5(0x4a)],!_0x2ee295&&styles[_0x13f5(0x4b)]]},_0x144495[_0x13f5(0x4c)])),React[_0x13f5(0x28)](View,{'style':styles[_0x13f5(0x3e)]},_0x49b853['rawData']&&_0x2ee295?React[_0x13f5(0x28)](Checkmark,{'width':0x18,'height':0x18,'fill':_0x144495[_0x13f5(0x3f)],'style':styles[_0x13f5(0x40)]}):React[_0x13f5(0x28)](Checkbox,{'width':0x18,'height':0x18,'stroke':_0x2ee295?COLORS[_0x13f5(0x41)]:COLORS[_0x13f5(0x4d)],'style':styles[_0x13f5(0x40)]}))),React['createElement'](Text,{'style':[styles[_0x13f5(0x42)],!_0x2ee295&&styles['optionDescriptionDisabled']]},_0x2ee295?_0x13f5(0x4e)+_0x507e8d:_0x144495[_0x13f5(0x4f)])))),React[_0x13f5(0x28)](View,{'style':styles[_0x13f5(0x50)]},React[_0x13f5(0x28)](Text,{'style':styles[_0x13f5(0x51)]},_0x144495[_0x13f5(0x52)]),_0x144495[_0x13f5(0x53)](connectedPlatforms[_0x13f5(0x1b)],0x0)&&React['createElement'](View,{'style':styles[_0x13f5(0x54)]},connectedPlatforms[_0x13f5(0x22)](_0xbdd85=>React[_0x13f5(0x28)](View,{'key':_0xbdd85,'style':styles[_0x13f5(0x55)]},React[_0x13f5(0x28)](Image,{'source':getPlatformIcon(_0xbdd85),'style':styles[_0x13f5(0x56)],'resizeMode':_0x13f5(0xc)})))),_0x1282f0&&React['createElement'](TouchableOpacity,{'style':styles[_0x13f5(0x57)],'onPress':()=>{_0x144495[_0x13f5(0x58)](triggerHaptic,HapticType['BUTTON_PRESS']),_0x144495[_0x13f5(0x59)](_0x1282f0);}},React[_0x13f5(0x28)](Text,{'style':styles[_0x13f5(0x5a)]},_0x144495[_0x13f5(0x5b)]),React[_0x13f5(0x28)](View,{'style':styles[_0x13f5(0x5c)]},React[_0x13f5(0x28)](Text,{'style':styles[_0x13f5(0x5d)]},'+')))),React[_0x13f5(0x28)](View,{'style':styles[_0x13f5(0x5e)]},React['createElement'](TouchableOpacity,{'style':[styles[_0x13f5(0x5f)],_0x1ede3c&&styles[_0x13f5(0x60)],loading&&styles[_0x13f5(0x61)]],'onPress':()=>{if(_0x144495[_0x13f5(0x62)](_0x144495[_0x13f5(0x63)],_0x144495[_0x13f5(0x63)])){if(_0x144495['ujRma'](_0x4c00c4,_0x144495['mCMoZ']))return;if(_0x433450===_0x144495['AGdlX']&&!_0x18f807)return;_0x144495['SiYWW'](_0x3325b8,_0x2ddc89[_0x13f5(0x25)]),_0x2cfd03(_0x4232aa=>({..._0x4232aa,[_0x3b52a4]:!_0x4232aa[_0x5f2037]}));}else!loading&&(_0x144495['evypz'](triggerHaptic,HapticType[_0x13f5(0x25)]),_0x144495[_0x13f5(0x64)](_0x41476b));},'disabled':loading,'activeOpacity':loading?0x1:0.7},loading?React['createElement'](ActivityIndicator,{'size':'small','color':'#FFFFFF'}):React[_0x13f5(0x28)](React[_0x13f5(0x65)],null,React['createElement'](Text,{'style':[styles[_0x13f5(0x66)],_0x1ede3c&&styles[_0x13f5(0x67)]]},_0x144495[_0x13f5(0x68)]),React[_0x13f5(0x28)](Text,{'style':[styles['buttonArrow'],_0x1ede3c&&styles['buttonArrowActive']]},'→'))),React[_0x13f5(0x28)](TouchableOpacity,{'style':styles[_0x13f5(0x69)],'onPress':()=>{triggerHaptic(HapticType[_0x13f5(0x25)]),_0x144495[_0x13f5(0x64)](_0x5189eb);}},React['createElement'](Text,{'style':styles[_0x13f5(0x6a)]},_0x144495['HncEp'])))));},styles=StyleSheet['create']({'container':{'flex':0x1,'backgroundColor':COLORS['surface'],'paddingHorizontal':0x18,'paddingTop':0x28,'paddingBottom':0x8},'headerContainer':{'flexDirection':_0x13f5(0x6b),'alignItems':_0x13f5(0x6c),'justifyContent':_0x13f5(0x6c),'marginBottom':0xc,'marginTop':0x0},'iconContainer':{'width':0x40,'height':0x40,'backgroundColor':_0x13f5(0x6d),'borderRadius':0xc,'alignItems':_0x13f5(0x6c),'justifyContent':_0x13f5(0x6c),'marginHorizontal':0x8,'shadowColor':'#000','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':_0x13f5(0x6e),'fontWeight':_0x13f5(0x6f),'color':COLORS['grey800']},'arrow':{'fontSize':0x18,'color':COLORS[_0x13f5(0x70)],'marginHorizontal':0x10},'titleContainer':{'alignItems':_0x13f5(0x6c),'marginBottom':0x8},'welcomeBackText':{'fontSize':0x18,'fontFamily':_0x13f5(0x6e),'fontWeight':_0x13f5(0x6f),'color':COLORS['grey800'],'textAlign':_0x13f5(0x6c),'marginBottom':0x2},'title':{'fontSize':0x14,'fontFamily':_0x13f5(0x6e),'fontWeight':_0x13f5(0x71),'color':COLORS[_0x13f5(0x3c)],'textAlign':_0x13f5(0x6c),'marginBottom':0xa},'subtitle':{'fontSize':0x10,'fontFamily':_0x13f5(0x72),'fontWeight':'400','color':COLORS['grey600'],'textAlign':_0x13f5(0x6c)},'scrollView':{'flex':0x1},'scrollContent':{'flexGrow':0x1},'optionsContainer':{'marginBottom':0x8},'optionRow':{'paddingVertical':0xc,'paddingHorizontal':0xc,'backgroundColor':_0x13f5(0x73),'borderRadius':0xc,'marginBottom':0x6,'marginHorizontal':0x0},'optionContent':{'flex':0x1},'optionHeader':{'flexDirection':_0x13f5(0x6b),'alignItems':'center','justifyContent':_0x13f5(0x74)},'optionLeft':{'flexDirection':_0x13f5(0x6b),'alignItems':_0x13f5(0x6c),'flex':0x1},'optionIcon':{'marginRight':0xc,'marginLeft':0x2,'marginTop':-0x4},'optionText':{'flex':0x1,'marginLeft':0x2},'optionDescription':{'fontSize':0xd,'lineHeight':0x12,'color':COLORS[_0x13f5(0x75)],'fontFamily':_0x13f5(0x72),'marginTop':0x4,'marginLeft':0x2e},'optionDescriptionDisabled':{'color':COLORS[_0x13f5(0x41)]},'optionRowDisabled':{'opacity':0.6},'rawDataTitle':{'fontSize':0x10,'fontWeight':_0x13f5(0x71),'color':COLORS['grey800'],'fontFamily':_0x13f5(0x6e)},'rawDataTitleDisabled':{'color':COLORS[_0x13f5(0x41)]},'checkboxContainer':{'paddingLeft':0x4,'paddingRight':0x2,'alignItems':_0x13f5(0x6c),'justifyContent':_0x13f5(0x6c)},'checkbox':{},'buttonContainer':{'gap':0x8,'paddingHorizontal':0x0,'paddingBottom':0x10,'marginTop':0x10},'acceptButton':{'backgroundColor':_0x13f5(0x76),'borderRadius':0x19,'paddingVertical':0xa,'paddingHorizontal':0x18,'flexDirection':_0x13f5(0x6b),'alignItems':_0x13f5(0x6c),'justifyContent':_0x13f5(0x6c)},'acceptButtonActive':{'backgroundColor':_0x13f5(0x77)},'acceptButtonLoading':{'backgroundColor':_0x13f5(0x77),'opacity':0.8},'acceptButtonText':{'color':_0x13f5(0x78),'fontSize':0x10,'fontFamily':_0x13f5(0x72),'fontWeight':'600','marginRight':0x8},'acceptButtonTextActive':{'color':'#FFFFFF'},'buttonArrow':{'color':_0x13f5(0x78),'fontSize':0x10},'buttonArrowActive':{'color':_0x13f5(0x6d)},'declineButton':{'backgroundColor':_0x13f5(0x76),'borderRadius':0x19,'paddingVertical':0xa,'paddingHorizontal':0x18,'alignItems':_0x13f5(0x6c),'justifyContent':_0x13f5(0x6c)},'declineButtonText':{'color':COLORS[_0x13f5(0x70)],'fontSize':0x10,'fontFamily':_0x13f5(0x72),'fontWeight':_0x13f5(0x79)},'logoutButton':{'alignItems':_0x13f5(0x6c),'paddingVertical':0xc,'marginTop':0x8},'logoutButtonText':{'fontSize':0xe,'fontFamily':_0x13f5(0x72),'fontWeight':_0x13f5(0x7a),'color':COLORS[_0x13f5(0x75)],'textDecorationLine':_0x13f5(0x7b)},'connectedPlatformsSection':{'alignItems':_0x13f5(0x6c),'paddingVertical':0xa,'paddingHorizontal':0x10,'backgroundColor':_0x13f5(0x73),'borderRadius':0x10,'marginBottom':0xa,'marginTop':0x10},'connectedPlatformsTitle':{'fontSize':0xf,'fontFamily':_0x13f5(0x72),'fontWeight':_0x13f5(0x79),'color':COLORS['grey500'],'marginBottom':0xa},'connectedPlatformsIcons':{'flexDirection':_0x13f5(0x6b),'justifyContent':_0x13f5(0x6c),'alignItems':'center','flexWrap':_0x13f5(0x7c),'gap':0xa,'marginBottom':0xa},'connectedPlatformIconContainer':{'width':0x30,'height':0x30,'borderRadius':0xa,'backgroundColor':_0x13f5(0x6d),'justifyContent':_0x13f5(0x6c),'alignItems':_0x13f5(0x6c),'shadowColor':_0x13f5(0x7d),'shadowOffset':{'width':0x0,'height':0x2},'shadowOpacity':0.1,'shadowRadius':0x4,'elevation':0x2},'connectedPlatformIcon':{'width':0x20,'height':0x20},'connectMoreButton':{'flexDirection':_0x13f5(0x6b),'alignItems':_0x13f5(0x6c),'justifyContent':_0x13f5(0x6c),'gap':0x8},'connectMoreText':{'fontSize':0x10,'fontFamily':_0x13f5(0x72),'fontWeight':_0x13f5(0x79),'color':COLORS['grey500']},'connectMorePlusCircle':{'width':0x1c,'height':0x1c,'borderRadius':0xe,'borderWidth':0x2,'borderColor':COLORS[_0x13f5(0x41)],'justifyContent':_0x13f5(0x6c),'alignItems':_0x13f5(0x6c)},'connectMorePlus':{'fontSize':0x12,'fontWeight':_0x13f5(0x79),'color':COLORS[_0x13f5(0x75)],'marginTop':-0x2}});export{PersonalizationConsentScreen};export default PersonalizationConsentScreen;
1
+ function _0x237d(){const _0x219c28=['Enoch','EDiaP','basicProfile','OLUJM','HHJjp','gjmtF','contain','\x20wants\x20to\x20personalize\x20your\x20experience','Connected\x20Platforms','#FFFFFF','xEHLE','ZdABX','wNPZL','yvMAP','mfwQZ','LFbdY','BUTTON_PRESS','mxjWL','TGsnU','lzKIh','some','createElement','container','scrollView','scrollContent','iconContainer','onairosLogo','XgMxf','arrow','enochIcon','enochAppIcon','titleContainer','welcomeBackText','Welcome\x20back!','VBIdR','subtitle','Choose\x20what\x20to\x20share:','optionRow','optionLeft','grey700','optionIcon','grey800','checkboxContainer','joGsJ','checkbox','grey400','contentAnalysis','optionText','personalityProfile','connectedPlatformsSection','connectedPlatformsTitle','length','connectedPlatformsIcons','connectedPlatformIconContainer','connectedPlatformIcon','connectMoreButton','JjmWZ','IcLIV','UnUOt','connectMoreText','connectMorePlusCircle','connectMorePlus','acceptButton','acceptButtonActive','acceptButtonLoading','hPBzr','Fragment','acceptButtonText','acceptButtonTextActive','buttonArrow','buttonArrowActive','declineButton','QzRyQ','YCFwm','Decline','create','surface','row','center','#000','IBM\x20Plex\x20Sans','grey600','700','600','Inter','space-between','#F8F9FA','#E5E5E5','#2D3436','#999999','500','400','grey500','wrap'];_0x237d=function(){return _0x219c28;};return _0x237d();}import React,{useState}from'react';import{View,Text,StyleSheet,TouchableOpacity,Image,ScrollView,ActivityIndicator}from'react-native';import{COLORS}from'../theme';function _0xc046(_0x237d2c,_0xc046a9){_0x237d2c=_0x237d2c-0x0;const _0x59ba3a=_0x237d();let _0x4ce25b=_0x59ba3a[_0x237d2c];return _0x4ce25b;}import{triggerHaptic,HapticType}from'../utils/haptics';import{getPlatformIcon}from'../services/connectedAccountsService';import{BRAND_IMAGES}from'../utils/assetRegistry';import{Basicproficon,Basicprofile,Contenticon,Personalityicon,Personalitytraits,Userpreferences,Checkbox,Checkmark}from'./icons';const PersonalizationConsentScreen=({visible:_0x1d42bf,onAccept:_0x580970,onDecline:_0xbfe699,loading:loading=![],connectedPlatforms:connectedPlatforms=[],onConnectMore:_0x53f4c7,isReturningUser:isReturningUser=![],appName:appName=_0xc046(0x0),onLogout:_0x4de12})=>{const _0x25b379={'ZdABX':function(_0x2d9f3a,_0x5f13ba){return _0x2d9f3a(_0x5f13ba);},'wNPZL':function(_0x317125){return _0x317125();},'yvMAP':function(_0x4820a1,_0x2f1cd7){return _0x4820a1===_0x2f1cd7;},'mfwQZ':_0xc046(0x1),'TGsnU':function(_0xc9ddad,_0x49f01d){return _0xc9ddad===_0x49f01d;},'cGfKl':_0xc046(0x2),'YCFwm':function(_0x1c4d84,_0x2d5aaf){return _0x1c4d84(_0x2d5aaf);},'lzKIh':function(_0x3589ad,_0x2cf98e){return _0x3589ad(_0x2cf98e);},'JjmWZ':function(_0x40ce4d,_0x1c166a){return _0x40ce4d!==_0x1c166a;},'IcLIV':_0xc046(0x3),'UnUOt':function(_0x3be670){return _0x3be670();},'hPBzr':function(_0xb85ce3,_0x49f22d){return _0xb85ce3(_0x49f22d);},'snZXh':_0xc046(0x4),'QzRyQ':_0xc046(0x5),'xEHLE':function(_0x2f7f24,_0x10ba65){return _0x2f7f24(_0x10ba65);},'XgMxf':_0xc046(0x6),'VBIdR':_0xc046(0x7),'joGsJ':'#4CD964','ZznTs':_0xc046(0x8),'KBXxq':function(_0x344cc9,_0x328dc5){return _0x344cc9>_0x328dc5;},'lvtBw':_0xc046(0x9)},[_0x5d3d9e,_0x358e7e]=_0x25b379[_0xc046(0xa)](useState,{'basicProfile':!![],'contentAnalysis':![],'personalityProfile':![]}),_0x4de056=_0x558526=>{const _0x3e3a9e={'LFbdY':function(_0x4c7ee0,_0x387d52){return _0x25b379[_0xc046(0xb)](_0x4c7ee0,_0x387d52);},'mxjWL':function(_0x7e62ac){return _0x25b379[_0xc046(0xc)](_0x7e62ac);}};if(_0x25b379[_0xc046(0xd)](_0x25b379[_0xc046(0xe)],'owBFG'))_0x3e3a9e[_0xc046(0xf)](_0x1e231e,_0x588aea[_0xc046(0x10)]),_0x3e3a9e[_0xc046(0x11)](_0x135a88);else{if(_0x25b379[_0xc046(0x12)](_0x558526,_0x25b379['cGfKl']))return;_0x25b379['YCFwm'](triggerHaptic,HapticType['BUTTON_PRESS']),_0x25b379[_0xc046(0x13)](_0x358e7e,_0x1857a4=>({..._0x1857a4,[_0x558526]:!_0x1857a4[_0x558526]}));}},_0x2c534b=Object['values'](_0x5d3d9e)[_0xc046(0x14)](_0x373df0=>_0x373df0);if(!_0x1d42bf)return null;return React[_0xc046(0x15)](View,{'style':styles[_0xc046(0x16)]},React['createElement'](ScrollView,{'style':styles[_0xc046(0x17)],'contentContainerStyle':styles[_0xc046(0x18)],'showsVerticalScrollIndicator':![]},React[_0xc046(0x15)](View,{'style':styles['headerContainer']},React['createElement'](View,{'style':styles[_0xc046(0x19)]},React[_0xc046(0x15)](Image,{'source':BRAND_IMAGES[_0xc046(0x1a)],'style':styles['headerIcon'],'resizeMode':_0x25b379[_0xc046(0x1b)]})),React[_0xc046(0x15)](Text,{'style':styles[_0xc046(0x1c)]},'→'),React['createElement'](Image,{'source':BRAND_IMAGES[_0xc046(0x1d)],'style':styles[_0xc046(0x1e)],'resizeMode':_0x25b379[_0xc046(0x1b)]})),React[_0xc046(0x15)](View,{'style':styles[_0xc046(0x1f)]},isReturningUser&&React[_0xc046(0x15)](Text,{'style':styles[_0xc046(0x20)]},_0xc046(0x21)),React[_0xc046(0x15)](Text,{'style':styles['title']},appName,_0x25b379[_0xc046(0x22)]),React['createElement'](Text,{'style':styles[_0xc046(0x23)]},_0xc046(0x24))),React[_0xc046(0x15)](View,{'style':styles['optionsContainer']},React[_0xc046(0x15)](TouchableOpacity,{'style':styles[_0xc046(0x25)],'onPress':()=>_0x4de056(_0xc046(0x2))},React[_0xc046(0x15)](View,{'style':styles[_0xc046(0x26)]},React[_0xc046(0x15)](Basicproficon,{'width':0x20,'height':0x20,'fill':COLORS[_0xc046(0x27)],'style':styles[_0xc046(0x28)]}),React[_0xc046(0x15)](Basicprofile,{'height':0x18,'fill':COLORS[_0xc046(0x29)],'style':styles['optionText']})),React['createElement'](View,{'style':styles[_0xc046(0x2a)]},_0x5d3d9e[_0xc046(0x2)]?React[_0xc046(0x15)](Checkmark,{'width':0x18,'height':0x18,'fill':_0x25b379[_0xc046(0x2b)],'style':styles[_0xc046(0x2c)]}):React[_0xc046(0x15)](Checkbox,{'width':0x18,'height':0x18,'stroke':COLORS[_0xc046(0x2d)],'style':styles['checkbox']}))),React[_0xc046(0x15)](TouchableOpacity,{'style':styles[_0xc046(0x25)],'onPress':()=>_0x4de056(_0xc046(0x2e))},React[_0xc046(0x15)](View,{'style':styles[_0xc046(0x26)]},React['createElement'](Contenticon,{'width':0x20,'height':0x20,'fill':COLORS[_0xc046(0x27)],'style':styles['optionIcon']}),React[_0xc046(0x15)](Userpreferences,{'height':0x18,'fill':COLORS['grey800'],'style':styles[_0xc046(0x2f)]})),React[_0xc046(0x15)](View,{'style':styles[_0xc046(0x2a)]},_0x5d3d9e[_0xc046(0x2e)]?React[_0xc046(0x15)](Checkmark,{'width':0x18,'height':0x18,'fill':_0x25b379['joGsJ'],'style':styles[_0xc046(0x2c)]}):React[_0xc046(0x15)](Checkbox,{'width':0x18,'height':0x18,'stroke':COLORS[_0xc046(0x2d)],'style':styles[_0xc046(0x2c)]}))),React['createElement'](TouchableOpacity,{'style':styles['optionRow'],'onPress':()=>_0x4de056('personalityProfile')},React[_0xc046(0x15)](View,{'style':styles[_0xc046(0x26)]},React[_0xc046(0x15)](Personalityicon,{'width':0x20,'height':0x20,'fill':COLORS[_0xc046(0x27)],'style':styles['optionIcon']}),React[_0xc046(0x15)](Personalitytraits,{'height':0x18,'fill':COLORS['grey800'],'style':styles['optionText']})),React['createElement'](View,{'style':styles[_0xc046(0x2a)]},_0x5d3d9e[_0xc046(0x30)]?React[_0xc046(0x15)](Checkmark,{'width':0x18,'height':0x18,'fill':_0x25b379[_0xc046(0x2b)],'style':styles['checkbox']}):React[_0xc046(0x15)](Checkbox,{'width':0x18,'height':0x18,'stroke':COLORS[_0xc046(0x2d)],'style':styles[_0xc046(0x2c)]})))),React[_0xc046(0x15)](View,{'style':styles[_0xc046(0x31)]},React['createElement'](Text,{'style':styles[_0xc046(0x32)]},_0x25b379['ZznTs']),_0x25b379['KBXxq'](connectedPlatforms[_0xc046(0x33)],0x0)&&React[_0xc046(0x15)](View,{'style':styles[_0xc046(0x34)]},connectedPlatforms['map'](_0x35cd64=>React[_0xc046(0x15)](View,{'key':_0x35cd64,'style':styles[_0xc046(0x35)]},React['createElement'](Image,{'source':getPlatformIcon(_0x35cd64),'style':styles[_0xc046(0x36)],'resizeMode':_0xc046(0x6)})))),_0x53f4c7&&React[_0xc046(0x15)](TouchableOpacity,{'style':styles[_0xc046(0x37)],'onPress':()=>{_0x25b379[_0xc046(0x38)](_0x25b379[_0xc046(0x39)],_0x25b379[_0xc046(0x39)])?(_0x31be76(_0x1ec199[_0xc046(0x10)]),_0x1881cb()):(triggerHaptic(HapticType[_0xc046(0x10)]),_0x25b379[_0xc046(0x3a)](_0x53f4c7));}},React[_0xc046(0x15)](Text,{'style':styles[_0xc046(0x3b)]},'Connect\x20more'),React[_0xc046(0x15)](View,{'style':styles[_0xc046(0x3c)]},React[_0xc046(0x15)](Text,{'style':styles[_0xc046(0x3d)]},'+')))),React[_0xc046(0x15)](View,{'style':styles['buttonContainer']},React[_0xc046(0x15)](TouchableOpacity,{'style':[styles[_0xc046(0x3e)],_0x2c534b&&styles[_0xc046(0x3f)],loading&&styles[_0xc046(0x40)]],'onPress':()=>{!loading&&(_0x25b379[_0xc046(0x41)](triggerHaptic,HapticType[_0xc046(0x10)]),_0x25b379[_0xc046(0xc)](_0x580970));},'disabled':loading,'activeOpacity':loading?0x1:0.7},loading?React[_0xc046(0x15)](ActivityIndicator,{'size':'small','color':_0x25b379['lvtBw']}):React[_0xc046(0x15)](React[_0xc046(0x42)],null,React[_0xc046(0x15)](Text,{'style':[styles[_0xc046(0x43)],_0x2c534b&&styles[_0xc046(0x44)]]},'Accept\x20&\x20Continue'),React[_0xc046(0x15)](Text,{'style':[styles[_0xc046(0x45)],_0x2c534b&&styles[_0xc046(0x46)]]},'→'))),React[_0xc046(0x15)](TouchableOpacity,{'style':styles[_0xc046(0x47)],'onPress':()=>{_0x25b379['snZXh']!==_0x25b379[_0xc046(0x48)]?(triggerHaptic(HapticType['BUTTON_PRESS']),_0x25b379[_0xc046(0x3a)](_0xbfe699)):(_0x25b379[_0xc046(0x49)](_0x4459c6,_0x55eede[_0xc046(0x10)]),_0x25b379[_0xc046(0x3a)](_0x5c7568));}},React[_0xc046(0x15)](Text,{'style':styles['declineButtonText']},_0xc046(0x4a))))));},styles=StyleSheet[_0xc046(0x4b)]({'container':{'flex':0x1,'backgroundColor':COLORS[_0xc046(0x4c)],'paddingHorizontal':0x18,'paddingTop':0x28,'paddingBottom':0x8},'headerContainer':{'flexDirection':_0xc046(0x4d),'alignItems':_0xc046(0x4e),'justifyContent':_0xc046(0x4e),'marginBottom':0xc,'marginTop':0x0},'iconContainer':{'width':0x40,'height':0x40,'backgroundColor':_0xc046(0x9),'borderRadius':0xc,'alignItems':_0xc046(0x4e),'justifyContent':'center','marginHorizontal':0x8,'shadowColor':_0xc046(0x4f),'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':_0xc046(0x50),'fontWeight':'700','color':COLORS[_0xc046(0x29)]},'arrow':{'fontSize':0x18,'color':COLORS[_0xc046(0x51)],'marginHorizontal':0x10},'titleContainer':{'alignItems':_0xc046(0x4e),'marginBottom':0x8},'welcomeBackText':{'fontSize':0x18,'fontFamily':_0xc046(0x50),'fontWeight':_0xc046(0x52),'color':COLORS[_0xc046(0x29)],'textAlign':'center','marginBottom':0x2},'title':{'fontSize':0x14,'fontFamily':_0xc046(0x50),'fontWeight':_0xc046(0x53),'color':COLORS[_0xc046(0x29)],'textAlign':_0xc046(0x4e),'marginBottom':0xa},'subtitle':{'fontSize':0x10,'fontFamily':_0xc046(0x54),'fontWeight':'400','color':COLORS[_0xc046(0x51)],'textAlign':_0xc046(0x4e)},'scrollView':{'flex':0x1},'scrollContent':{'flexGrow':0x1},'optionsContainer':{'marginBottom':0x8},'optionRow':{'flexDirection':_0xc046(0x4d),'alignItems':_0xc046(0x4e),'justifyContent':_0xc046(0x55),'paddingVertical':0xc,'paddingHorizontal':0x2,'backgroundColor':_0xc046(0x56),'borderRadius':0xc,'marginBottom':0x6,'marginHorizontal':0x0},'optionLeft':{'flexDirection':_0xc046(0x4d),'alignItems':_0xc046(0x4e),'flex':0x1},'optionIcon':{'marginRight':0xc,'marginLeft':0x2,'marginTop':-0x4},'optionText':{'flex':0x1,'marginLeft':0x2},'checkboxContainer':{'paddingLeft':0x4,'paddingRight':0x2,'alignItems':_0xc046(0x4e),'justifyContent':'center'},'checkbox':{},'buttonContainer':{'gap':0x8,'paddingHorizontal':0x0,'paddingBottom':0x10,'marginTop':0x10},'acceptButton':{'backgroundColor':_0xc046(0x57),'borderRadius':0x19,'paddingVertical':0xa,'paddingHorizontal':0x18,'flexDirection':_0xc046(0x4d),'alignItems':'center','justifyContent':'center'},'acceptButtonActive':{'backgroundColor':_0xc046(0x58)},'acceptButtonLoading':{'backgroundColor':'#2D3436','opacity':0.8},'acceptButtonText':{'color':'#999999','fontSize':0x10,'fontFamily':'Inter','fontWeight':_0xc046(0x53),'marginRight':0x8},'acceptButtonTextActive':{'color':_0xc046(0x9)},'buttonArrow':{'color':_0xc046(0x59),'fontSize':0x10},'buttonArrowActive':{'color':_0xc046(0x9)},'declineButton':{'backgroundColor':_0xc046(0x57),'borderRadius':0x19,'paddingVertical':0xa,'paddingHorizontal':0x18,'alignItems':_0xc046(0x4e),'justifyContent':_0xc046(0x4e)},'declineButtonText':{'color':COLORS[_0xc046(0x51)],'fontSize':0x10,'fontFamily':_0xc046(0x54),'fontWeight':_0xc046(0x5a)},'logoutButton':{'alignItems':_0xc046(0x4e),'paddingVertical':0xc,'marginTop':0x8},'logoutButtonText':{'fontSize':0xe,'fontFamily':_0xc046(0x54),'fontWeight':_0xc046(0x5b),'color':COLORS[_0xc046(0x5c)],'textDecorationLine':'underline'},'connectedPlatformsSection':{'alignItems':_0xc046(0x4e),'paddingVertical':0xa,'paddingHorizontal':0x10,'backgroundColor':_0xc046(0x56),'borderRadius':0x10,'marginBottom':0xa,'marginTop':0x10},'connectedPlatformsTitle':{'fontSize':0xf,'fontFamily':_0xc046(0x54),'fontWeight':_0xc046(0x5a),'color':COLORS[_0xc046(0x5c)],'marginBottom':0xa},'connectedPlatformsIcons':{'flexDirection':_0xc046(0x4d),'justifyContent':_0xc046(0x4e),'alignItems':_0xc046(0x4e),'flexWrap':_0xc046(0x5d),'gap':0xa,'marginBottom':0xa},'connectedPlatformIconContainer':{'width':0x30,'height':0x30,'borderRadius':0xa,'backgroundColor':_0xc046(0x9),'justifyContent':'center','alignItems':'center','shadowColor':_0xc046(0x4f),'shadowOffset':{'width':0x0,'height':0x2},'shadowOpacity':0.1,'shadowRadius':0x4,'elevation':0x2},'connectedPlatformIcon':{'width':0x20,'height':0x20},'connectMoreButton':{'flexDirection':_0xc046(0x4d),'alignItems':_0xc046(0x4e),'justifyContent':_0xc046(0x4e),'gap':0x8},'connectMoreText':{'fontSize':0x10,'fontFamily':'Inter','fontWeight':_0xc046(0x5a),'color':COLORS[_0xc046(0x5c)]},'connectMorePlusCircle':{'width':0x1c,'height':0x1c,'borderRadius':0xe,'borderWidth':0x2,'borderColor':COLORS[_0xc046(0x2d)],'justifyContent':'center','alignItems':'center'},'connectMorePlus':{'fontSize':0x12,'fontWeight':'500','color':COLORS['grey500'],'marginTop':-0x2}});export{PersonalizationConsentScreen};export default PersonalizationConsentScreen;