@onairos/react-native 3.6.7 → 3.6.9

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 (257) hide show
  1. package/README.md +423 -423
  2. package/lib/commonjs/api/index.js +1 -1
  3. package/lib/commonjs/assets/images/Checkbox.svg +3 -3
  4. package/lib/commonjs/assets/images/EnochE.svg +19 -19
  5. package/lib/commonjs/assets/images/Personalityprofile.svg +3 -3
  6. package/lib/commonjs/assets/images/Personalitytraits.svg +3 -3
  7. package/lib/commonjs/assets/images/Userpreferences.svg +3 -3
  8. package/lib/commonjs/assets/images/arrow.svg +20 -20
  9. package/lib/commonjs/assets/images/basicproficon.svg +43 -43
  10. package/lib/commonjs/assets/images/basicprofile.svg +3 -3
  11. package/lib/commonjs/assets/images/checkmark.svg +4 -4
  12. package/lib/commonjs/assets/images/contentanalysis.svg +3 -3
  13. package/lib/commonjs/assets/images/contenticon.svg +23 -23
  14. package/lib/commonjs/assets/images/personalityicon.svg +18 -18
  15. package/lib/commonjs/assets/images/x-close.svg +3 -3
  16. package/lib/commonjs/components/BodyText.js +1 -1
  17. package/lib/commonjs/components/BrandMark.js +1 -1
  18. package/lib/commonjs/components/CodeInput.js +1 -1
  19. package/lib/commonjs/components/EmailInput.js +1 -1
  20. package/lib/commonjs/components/GoogleButton.js +1 -1
  21. package/lib/commonjs/components/HeadingGroup.js +1 -1
  22. package/lib/commonjs/components/LLMDataInputModal.js +1 -1
  23. package/lib/commonjs/components/ModalHeader.js +1 -1
  24. package/lib/commonjs/components/ModalSheet.js +1 -1
  25. package/lib/commonjs/components/Onairos.js +1 -1
  26. package/lib/commonjs/components/OnairosButton.js +1 -1
  27. package/lib/commonjs/components/OnairosSignInButton.js +1 -1
  28. package/lib/commonjs/components/Overlay.js +1 -1
  29. package/lib/commonjs/components/PersonaImage.js +1 -1
  30. package/lib/commonjs/components/PersonaLoadingScreen.js +1 -1
  31. package/lib/commonjs/components/PersonalizationConsentScreen.js +1 -1
  32. package/lib/commonjs/components/PinCreationScreen.js +1 -1
  33. package/lib/commonjs/components/PinInput.js +1 -1
  34. package/lib/commonjs/components/PlatformConnectorsStep.js +1 -1
  35. package/lib/commonjs/components/PlatformList.js +1 -1
  36. package/lib/commonjs/components/PlatformToggle.js +1 -1
  37. package/lib/commonjs/components/PrimaryButton.js +1 -1
  38. package/lib/commonjs/components/SignInMatchAnimation.js +1 -1
  39. package/lib/commonjs/components/SignInStep.js +1 -1
  40. package/lib/commonjs/components/UniversalOnboarding.js +1 -1
  41. package/lib/commonjs/components/VerificationStep.js +1 -1
  42. package/lib/commonjs/components/WelcomeScreen.js +1 -1
  43. package/lib/commonjs/components/icons/Basicproficon.js +1 -1
  44. package/lib/commonjs/components/icons/Basicprofile.js +1 -1
  45. package/lib/commonjs/components/icons/Checkbox.js +1 -1
  46. package/lib/commonjs/components/icons/Checkmark.js +1 -1
  47. package/lib/commonjs/components/icons/Contentanalysis.js +1 -1
  48. package/lib/commonjs/components/icons/Contenticon.js +1 -1
  49. package/lib/commonjs/components/icons/EnochE.js +1 -1
  50. package/lib/commonjs/components/icons/Personalityicon.js +1 -1
  51. package/lib/commonjs/components/icons/Personalityprofile.js +1 -1
  52. package/lib/commonjs/components/icons/Personalitytraits.js +1 -1
  53. package/lib/commonjs/components/icons/Userpreferences.js +1 -1
  54. package/lib/commonjs/components/icons/index.js +1 -1
  55. package/lib/commonjs/components/onboarding/OAuthWebView.js +1 -1
  56. package/lib/commonjs/components/onboarding/OnboardingHeader.js +1 -1
  57. package/lib/commonjs/components/onboarding/PinInput.js +1 -1
  58. package/lib/commonjs/components/onboarding/PlatformConnector.js +1 -1
  59. package/lib/commonjs/config/PLATFORM_APIS.md +559 -0
  60. package/lib/commonjs/config/api.js +1 -1
  61. package/lib/commonjs/config/telegramConfig.js +8 -0
  62. package/lib/commonjs/config/webchangelog/md +607 -0
  63. package/lib/commonjs/constants/index.js +1 -1
  64. package/lib/commonjs/context/AuthContext.js +1 -1
  65. package/lib/commonjs/hooks/useConnectedAccounts.js +1 -1
  66. package/lib/commonjs/hooks/useConnections.js +1 -1
  67. package/lib/commonjs/hooks/useCredentials.js +1 -1
  68. package/lib/commonjs/hooks/useUserConnections.js +1 -1
  69. package/lib/commonjs/index.js +1 -1
  70. package/lib/commonjs/services/SDK_API_KEY_VALIDATION.md +421 -421
  71. package/lib/commonjs/services/apiClient.js +1 -1
  72. package/lib/commonjs/services/apiKeyService.js +99 -99
  73. package/lib/commonjs/services/authService.js +72 -72
  74. package/lib/commonjs/services/biometricPinService.js +1 -1
  75. package/lib/commonjs/services/chatGPTConversationExtractor.js +1 -1
  76. package/lib/commonjs/services/chatGPTConversationService.js +1 -1
  77. package/lib/commonjs/services/claudeConversationExtractor.js +1 -1
  78. package/lib/commonjs/services/claudeConversationService.js +1 -1
  79. package/lib/commonjs/services/connectedAccountsService.js +1 -1
  80. package/lib/commonjs/services/googleAuthService.js +1 -1
  81. package/lib/commonjs/services/hingeDataExtractor.js +1 -1
  82. package/lib/commonjs/services/hingeDataService.js +1 -1
  83. package/lib/commonjs/services/imageCompressionService.js +1 -1
  84. package/lib/commonjs/services/instagramDataExtractor.js +1 -1
  85. package/lib/commonjs/services/instagramDataService.js +1 -1
  86. package/lib/commonjs/services/jwtStorageService.js +1 -1
  87. package/lib/commonjs/services/linkedinDOMExtractor.js +1 -1
  88. package/lib/commonjs/services/linkedinProfileService.js +1 -1
  89. package/lib/commonjs/services/linkedinScrapingService.js +1 -1
  90. package/lib/commonjs/services/llmDataStorage.js +1 -1
  91. package/lib/commonjs/services/mobileTrainingService.js +1 -1
  92. package/lib/commonjs/services/oauthService.js +20 -20
  93. package/lib/commonjs/services/pinEncryptionService.js +1 -1
  94. package/lib/commonjs/services/pinStorageUtils.js +1 -1
  95. package/lib/commonjs/services/platformAuthService.js +1 -1
  96. package/lib/commonjs/services/sephoraDataExtractor.js +1 -1
  97. package/lib/commonjs/services/sephoraDataService.js +1 -1
  98. package/lib/commonjs/services/storageService.js +1 -1
  99. package/lib/commonjs/services/telegramDataExtractor.js +1 -1
  100. package/lib/commonjs/services/telegramDataService.js +1 -1
  101. package/lib/commonjs/services/trainingApiHelpers.js +1 -1
  102. package/lib/commonjs/services/userConnectionsService.js +1 -1
  103. package/lib/commonjs/services/youtubeMigrationService.js +1 -1
  104. package/lib/commonjs/theme/index.js +1 -1
  105. package/lib/commonjs/types/index.js +1 -1
  106. package/lib/commonjs/types.js +1 -1
  107. package/lib/commonjs/utils/Portal.js +1 -1
  108. package/lib/commonjs/utils/api.js +1 -1
  109. package/lib/commonjs/utils/assetRegistry.js +1 -1
  110. package/lib/commonjs/utils/auth.js +1 -1
  111. package/lib/commonjs/utils/connectorTests.js +1 -1
  112. package/lib/commonjs/utils/crypto.js +1 -1
  113. package/lib/commonjs/utils/debugHelper.js +1 -1
  114. package/lib/commonjs/utils/encryption.js +1 -1
  115. package/lib/commonjs/utils/eventUtils.js +1 -1
  116. package/lib/commonjs/utils/haptics.js +1 -1
  117. package/lib/commonjs/utils/imagePreloader.js +1 -1
  118. package/lib/commonjs/utils/networkDiagnostics.js +1 -1
  119. package/lib/commonjs/utils/onairosApi.js +1 -1
  120. package/lib/commonjs/utils/programmaticFlow.js +1 -1
  121. package/lib/commonjs/utils/retryHelper.js +1 -1
  122. package/lib/commonjs/utils/secureStorage.js +1 -1
  123. package/lib/commonjs/utils/webviewScripts/chatgpt.js +1 -1
  124. package/lib/commonjs/utils/webviewScripts/claude.js +1 -1
  125. package/lib/commonjs/utils/webviewScripts/hinge.js +1 -1
  126. package/lib/commonjs/utils/webviewScripts/index.js +1 -1
  127. package/lib/commonjs/utils/webviewScripts/instagram.js +1 -1
  128. package/lib/commonjs/utils/webviewScripts/linkedin.js +1 -1
  129. package/lib/commonjs/utils/webviewScripts/sephora.js +1 -1
  130. package/lib/commonjs/utils/webviewScripts/telegram.js +1 -1
  131. package/lib/module/api/index.js +1 -1
  132. package/lib/module/assets/images/Checkbox.svg +3 -3
  133. package/lib/module/assets/images/EnochE.svg +19 -19
  134. package/lib/module/assets/images/Personalityprofile.svg +3 -3
  135. package/lib/module/assets/images/Personalitytraits.svg +3 -3
  136. package/lib/module/assets/images/Userpreferences.svg +3 -3
  137. package/lib/module/assets/images/arrow.svg +20 -20
  138. package/lib/module/assets/images/basicproficon.svg +43 -43
  139. package/lib/module/assets/images/basicprofile.svg +3 -3
  140. package/lib/module/assets/images/checkmark.svg +4 -4
  141. package/lib/module/assets/images/contentanalysis.svg +3 -3
  142. package/lib/module/assets/images/contenticon.svg +23 -23
  143. package/lib/module/assets/images/personalityicon.svg +18 -18
  144. package/lib/module/assets/images/x-close.svg +3 -3
  145. package/lib/module/components/BodyText.js +1 -1
  146. package/lib/module/components/BrandMark.js +1 -1
  147. package/lib/module/components/CodeInput.js +1 -1
  148. package/lib/module/components/EmailInput.js +1 -1
  149. package/lib/module/components/GoogleButton.js +1 -1
  150. package/lib/module/components/HeadingGroup.js +1 -1
  151. package/lib/module/components/LLMDataInputModal.js +1 -1
  152. package/lib/module/components/ModalHeader.js +1 -1
  153. package/lib/module/components/ModalSheet.js +1 -1
  154. package/lib/module/components/Onairos.js +1 -1
  155. package/lib/module/components/OnairosButton.js +1 -1
  156. package/lib/module/components/OnairosSignInButton.js +1 -1
  157. package/lib/module/components/Overlay.js +1 -1
  158. package/lib/module/components/PersonaImage.js +1 -1
  159. package/lib/module/components/PersonaLoadingScreen.js +1 -1
  160. package/lib/module/components/PersonalizationConsentScreen.js +1 -1
  161. package/lib/module/components/PinCreationScreen.js +1 -1
  162. package/lib/module/components/PinInput.js +1 -1
  163. package/lib/module/components/PlatformConnectorsStep.js +1 -1
  164. package/lib/module/components/PlatformList.js +1 -1
  165. package/lib/module/components/PlatformToggle.js +1 -1
  166. package/lib/module/components/PrimaryButton.js +1 -1
  167. package/lib/module/components/SignInMatchAnimation.js +1 -1
  168. package/lib/module/components/SignInStep.js +1 -1
  169. package/lib/module/components/UniversalOnboarding.js +1 -1
  170. package/lib/module/components/VerificationStep.js +1 -1
  171. package/lib/module/components/WelcomeScreen.js +1 -1
  172. package/lib/module/components/icons/Basicproficon.js +1 -1
  173. package/lib/module/components/icons/Basicprofile.js +1 -1
  174. package/lib/module/components/icons/Checkbox.js +1 -1
  175. package/lib/module/components/icons/Checkmark.js +1 -1
  176. package/lib/module/components/icons/Contentanalysis.js +1 -1
  177. package/lib/module/components/icons/Contenticon.js +1 -1
  178. package/lib/module/components/icons/EnochE.js +1 -1
  179. package/lib/module/components/icons/Personalityicon.js +1 -1
  180. package/lib/module/components/icons/Personalityprofile.js +1 -1
  181. package/lib/module/components/icons/Personalitytraits.js +1 -1
  182. package/lib/module/components/icons/Userpreferences.js +1 -1
  183. package/lib/module/components/onboarding/OAuthWebView.js +1 -1
  184. package/lib/module/components/onboarding/OnboardingHeader.js +1 -1
  185. package/lib/module/components/onboarding/PinInput.js +1 -1
  186. package/lib/module/components/onboarding/PlatformConnector.js +1 -1
  187. package/lib/module/config/PLATFORM_APIS.md +559 -0
  188. package/lib/module/config/api.js +1 -1
  189. package/lib/module/config/telegramConfig.js +8 -0
  190. package/lib/module/config/webchangelog/md +607 -0
  191. package/lib/module/constants/index.js +1 -1
  192. package/lib/module/context/AuthContext.js +1 -1
  193. package/lib/module/hooks/useConnectedAccounts.js +1 -1
  194. package/lib/module/hooks/useConnections.js +1 -1
  195. package/lib/module/hooks/useCredentials.js +1 -1
  196. package/lib/module/hooks/useUserConnections.js +1 -1
  197. package/lib/module/index.js +1 -1
  198. package/lib/module/services/SDK_API_KEY_VALIDATION.md +421 -421
  199. package/lib/module/services/apiClient.js +1 -1
  200. package/lib/module/services/apiKeyService.js +99 -99
  201. package/lib/module/services/authService.js +72 -72
  202. package/lib/module/services/biometricPinService.js +1 -1
  203. package/lib/module/services/chatGPTConversationExtractor.js +1 -1
  204. package/lib/module/services/chatGPTConversationService.js +1 -1
  205. package/lib/module/services/claudeConversationExtractor.js +1 -1
  206. package/lib/module/services/claudeConversationService.js +1 -1
  207. package/lib/module/services/connectedAccountsService.js +1 -1
  208. package/lib/module/services/googleAuthService.js +1 -1
  209. package/lib/module/services/hingeDataExtractor.js +1 -1
  210. package/lib/module/services/hingeDataService.js +1 -1
  211. package/lib/module/services/imageCompressionService.js +1 -1
  212. package/lib/module/services/instagramDataExtractor.js +1 -1
  213. package/lib/module/services/instagramDataService.js +1 -1
  214. package/lib/module/services/jwtStorageService.js +1 -1
  215. package/lib/module/services/linkedinDOMExtractor.js +1 -1
  216. package/lib/module/services/linkedinProfileService.js +1 -1
  217. package/lib/module/services/linkedinScrapingService.js +1 -1
  218. package/lib/module/services/llmDataStorage.js +1 -1
  219. package/lib/module/services/mobileTrainingService.js +1 -1
  220. package/lib/module/services/oauthService.js +20 -20
  221. package/lib/module/services/pinEncryptionService.js +1 -1
  222. package/lib/module/services/pinStorageUtils.js +1 -1
  223. package/lib/module/services/platformAuthService.js +1 -1
  224. package/lib/module/services/sephoraDataExtractor.js +1 -1
  225. package/lib/module/services/sephoraDataService.js +1 -1
  226. package/lib/module/services/storageService.js +1 -1
  227. package/lib/module/services/telegramDataExtractor.js +1 -1
  228. package/lib/module/services/telegramDataService.js +1 -1
  229. package/lib/module/services/trainingApiHelpers.js +1 -1
  230. package/lib/module/services/userConnectionsService.js +1 -1
  231. package/lib/module/services/youtubeMigrationService.js +1 -1
  232. package/lib/module/theme/index.js +1 -1
  233. package/lib/module/types.js +1 -1
  234. package/lib/module/utils/Portal.js +1 -1
  235. package/lib/module/utils/api.js +1 -1
  236. package/lib/module/utils/assetRegistry.js +1 -1
  237. package/lib/module/utils/auth.js +1 -1
  238. package/lib/module/utils/connectorTests.js +1 -1
  239. package/lib/module/utils/crypto.js +1 -1
  240. package/lib/module/utils/debugHelper.js +1 -1
  241. package/lib/module/utils/encryption.js +1 -1
  242. package/lib/module/utils/eventUtils.js +1 -1
  243. package/lib/module/utils/haptics.js +1 -1
  244. package/lib/module/utils/networkDiagnostics.js +1 -1
  245. package/lib/module/utils/onairosApi.js +1 -1
  246. package/lib/module/utils/programmaticFlow.js +1 -1
  247. package/lib/module/utils/retryHelper.js +1 -1
  248. package/lib/module/utils/secureStorage.js +1 -1
  249. package/lib/module/utils/webviewScripts/chatgpt.js +1 -1
  250. package/lib/module/utils/webviewScripts/claude.js +1 -1
  251. package/lib/module/utils/webviewScripts/hinge.js +1 -1
  252. package/lib/module/utils/webviewScripts/index.js +1 -1
  253. package/lib/module/utils/webviewScripts/instagram.js +1 -1
  254. package/lib/module/utils/webviewScripts/linkedin.js +1 -1
  255. package/lib/module/utils/webviewScripts/sephora.js +1 -1
  256. package/lib/module/utils/webviewScripts/telegram.js +1 -1
  257. package/package.json +172 -172
@@ -1 +1 @@
1
- import React,{useState,useCallback,forwardRef,useImperativeHandle,useEffect}from'react';function _0x2f47(){const _0x18dd3a=['get','window','normal','default','#1BA9D4','right','black','[OnairosButton]\x20LogEffect:\x20showOnboarding\x20state\x20changed\x20to:','Precheck\x20validation\x20failed','RNFtr','connect','login','Sign\x20up\x20with\x20Onairos','[OnairosButton]\x20Error\x20in\x20handlePress:','Unknown\x20error','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','[OnairosButton]\x20handlePress\x20called.','cotWk','nHnYw','The\x20Onairos\x20SDK\x20requires\x20initialization\x20with\x20a\x20valid\x20API\x20key.\x0a\x0aDevelopers:\x20Please\x20call\x20initializeApiKey()\x20before\x20using\x20OnairosButton.','QjrxM','[OnairosButton]\x20SDK\x20initialized\x20with\x20API\x20key:','...','Frtgq','[OnairosButton]\x20handlePress:\x20Setting\x20showOnboarding\x20to\x20true.','scCxC','Sign\x20in\x20with\x20Onairos','User\x20closed\x20onboarding','[OnairosButton]\x20handleOnboardingComplete:\x20Setting\x20showOnboarding\x20to\x20false.','PRgEp','xRNrK','[OnairosButton]\x20Initializing.\x20Initial\x20showOnboarding:','[OnairosButton]\x20Rendering\x20JSX\x20with\x20props:','#f5e7c1','#C7A047','#FFFFFF','Free\x20access','Medium','Standard\x20tier','Premium\x20features','Large','Premium\x20tier','onairosevents://auth/callback','JYuJJ','raqEM','log','OoFYm','uZjpc','bXUGQ','CgLrU','gYXAu','resolve','ZgnCr','wJAkK','EyNYu','aqpGA','GPKLq','vhxPT','hdcHr','uqHsq','skMuj','kJYDI','MFzGk','mTyVT','alert','IkJYn','QYFoQ','YwVks','dkqlm','dzFmq','gEgQr','ceJiR','RtXpS','UPSZB','apiKey','NkWDA','error','WoXoh','hDufn','message','paRDi','OunPY','WutFz','zNeJT','KWmMh','sZrNT','SGBzO','EAErf','SstAo','jaKGB','substring','TTXfG','oMIwI','zsxZY','fEgCx','sHUsp','LUtPY','aTBim','hDpyP','FiAxE','LNGll','tLoqW','WyWUP','pIKVP','rYeco','KdMsc','UPGqU','oCbIk','RXwEa','Fragment','createElement','uTZuY','swervButton','#8B6914','CPgeH','pill','wNNdV','buttonContent','logoContainer','onairosLogoAlt','logoImage','contain','buttonText','iLxVf','PxQpR','Small','Basic\x20tier','OYxOv','nXCXZ','EtQBq','mMqZv','jHhGy','create','row','center','hidden','bold','600'];_0x2f47=function(){return _0x18dd3a;};return _0x2f47();}import{TouchableOpacity,Text,StyleSheet,View,ActivityIndicator,Dimensions,Image,Alert}from'react-native';import _0x38058c from'react-native-linear-gradient';import{UniversalOnboarding}from'./UniversalOnboarding';import _0x2235ab from'./WelcomeScreen';import{isApiKeyInitialized,getApiConfig}from'../services/apiKeyService';import{BRAND_IMAGES}from'../utils/assetRegistry';const {width}=Dimensions[_0x3183(0x0)](_0x3183(0x1));export const OnairosButton=forwardRef(({AppName:_0x1cdc90,buttonType:buttonType=_0x3183(0x2),buttonWidth:buttonWidth=0xb4,buttonHeight:buttonHeight=0x30,hasStroke:hasStroke=![],enabled:enabled=!![],buttonForm:buttonForm=_0x3183(0x3),onResolved:_0x3bd043,onRejection:_0x35b16e,preCheck:_0x47b0b0,color:color=_0x3183(0x4),swerv:swerv=![],darkMode:darkMode=![],returnLink:_0x1c2e7b,preferredPlatform:_0x42a5ec,autoFetch:autoFetch=![],inferenceData:_0x45ded2,textLayout:textLayout=_0x3183(0x5),textColor:textColor=_0x3183(0x6),proofMode:proofMode=![],webpageName:_0xbc78ff,debug:debug=![],testMode:testMode=![],requestData:_0x304425,onPress:_0x113506,primaryAuthOnly:primaryAuthOnly=![],useNewWelcomeFlow:useNewWelcomeFlow=![]},_0x3e40f2)=>{const _0x19e237={'uZjpc':_0x3183(0x7),'OunPY':'[OnairosButton]\x20Precheck\x20failed.\x20Setting\x20showOnboarding\x20to\x20false\x20(indirectly,\x20by\x20not\x20setting\x20to\x20true).','bXUGQ':function(_0x137162,_0x383c26){return _0x137162(_0x383c26);},'CgLrU':_0x3183(0x8),'gYXAu':_0x3183(0x9),'YwVks':_0x3183(0xa),'gEgQr':'Connect\x20Onairos','dkqlm':_0x3183(0xb),'aTBim':'signup','dzFmq':_0x3183(0xc),'WoXoh':_0x3183(0xd),'hDufn':function(_0x4da3b0,_0x547c3b){return _0x4da3b0===_0x547c3b;},'fAnEU':_0x3183(0xe),'KWmMh':function(_0x176743,_0x48eb1f,_0x49f5a7){return _0x176743(_0x48eb1f,_0x49f5a7);},'EAErf':function(_0x27b4cc,_0x45982c){return _0x27b4cc+_0x45982c;},'EyNYu':function(_0x5088e4,_0x5b606d){return _0x5088e4===_0x5b606d;},'SstAo':function(_0x1605b1,_0x26f8da){return _0x1605b1===_0x26f8da;},'jaKGB':function(_0x24a5b9,_0x54b854){return _0x24a5b9===_0x54b854;},'MFzGk':_0x3183(0xf),'fEgCx':'❌\x20[OnairosButton]\x20SDK\x20NOT\x20INITIALIZED:','IkJYn':'SDK\x20Not\x20Initialized','sHUsp':function(_0x37b489,_0x28ac55){return _0x37b489(_0x28ac55);},'dhwVk':'aqpGA','GPKLq':_0x3183(0x10),'PxQpR':function(_0x584311,_0x180bf7){return _0x584311||_0x180bf7;},'vhxPT':function(_0x5e092d,_0x556b40){return _0x5e092d(_0x556b40);},'hdcHr':function(_0x5cf5db,_0x185891){return _0x5cf5db!==_0x185891;},'uqHsq':_0x3183(0x11),'skMuj':_0x3183(0x12),'kJYDI':function(_0x4dd77d){return _0x4dd77d();},'QqEJY':function(_0x2a94a0,_0x4e926f){return _0x2a94a0(_0x4e926f);},'mTyVT':'VwBfb','QYFoQ':_0x3183(0x13),'ceJiR':_0x3183(0x14),'RtXpS':_0x3183(0x15),'UPSZB':function(_0x531d0e,_0x2556c2){return _0x531d0e===_0x2556c2;},'NkWDA':_0x3183(0x16),'paRDi':_0x3183(0x17),'WutFz':function(_0x37caa5,_0xf4f059){return _0x37caa5===_0xf4f059;},'TQIJZ':function(_0x77927a,_0x159a80){return _0x77927a===_0x159a80;},'YBOwV':function(_0x353242,_0x5337aa){return _0x353242(_0x5337aa);},'zNeJT':function(_0x4bb052,_0x3803e9){return _0x4bb052(_0x3803e9);},'sZrNT':_0x3183(0x18),'SGBzO':function(_0x5a0c55,_0x394c1e){return _0x5a0c55(_0x394c1e);},'rWmZv':function(_0x54e7cd,_0x4c2099){return _0x54e7cd!==_0x4c2099;},'oMIwI':_0x3183(0x19),'udURc':function(_0xe123fb,_0x6d580e){return _0xe123fb(_0x6d580e);},'qJlWM':function(_0x47e5aa,_0x473b2d){return _0x47e5aa instanceof _0x473b2d;},'raqEM':function(_0x28442c,_0x1822ea){return _0x28442c(_0x1822ea);},'LUtPY':_0x3183(0x1a),'WyWUP':'[OnairosButton]\x20handleOnboardingClose:\x20Setting\x20showOnboarding\x20to\x20false.','pIKVP':function(_0x112d4b,_0x3bda81){return _0x112d4b(_0x3bda81);},'rYeco':_0x3183(0x1b),'FiAxE':_0x3183(0x1c),'LNGll':function(_0x36c3d7,_0x3f81bc){return _0x36c3d7(_0x3f81bc);},'tLoqW':function(_0xe92237,_0x2a1105,_0x4110bb){return _0xe92237(_0x2a1105,_0x4110bb);},'sUCvq':_0x3183(0x1d),'doCXR':_0x3183(0x1e),'NxnWq':function(_0x26476a){return _0x26476a();},'UPGqU':function(_0x16f1d9,_0x89806){return _0x16f1d9(_0x89806);},'oCbIk':function(_0x52a0f3,_0x548132){return _0x52a0f3(_0x548132);},'JYuJJ':function(_0x4286fc,_0x10391a){return _0x4286fc(_0x10391a);},'OoFYm':_0x3183(0x1f),'hDpyP':function(_0x27a33d,_0x939be2,_0x4ff491){return _0x27a33d(_0x939be2,_0x4ff491);},'KdMsc':function(_0x27b108,_0x2f5ada,_0x26567f){return _0x27b108(_0x2f5ada,_0x26567f);},'RXwEa':_0x3183(0x20),'uTZuY':function(_0x3e080b,_0x2febed){return _0x3e080b===_0x2febed;},'uWDMI':'pill','lfALe':_0x3183(0x21),'DkTUo':_0x3183(0x22),'CPgeH':'absolute','wNNdV':'small','hsfsH':_0x3183(0x23),'iLxVf':function(_0x4bfbc1){return _0x4bfbc1();},'OYxOv':_0x3183(0x24),'nXCXZ':_0x3183(0x25),'EtQBq':_0x3183(0x26),'xFRPF':_0x3183(0x27),'mMqZv':_0x3183(0x28),'GrFlC':_0x3183(0x29),'jATTV':'Full\x20personalization','jHhGy':_0x3183(0x2a)},[_0x2be430,_0x550b52]=_0x19e237[_0x3183(0x2b)](useState,![]),[_0x5dacd9,_0x45fa10]=_0x19e237[_0x3183(0x2c)](useState,![]),[_0x1f86d8,_0x435708]=_0x19e237['sHUsp'](useState,![]);console[_0x3183(0x2d)](_0x19e237[_0x3183(0x2e)],_0x1f86d8),useEffect(()=>{console[_0x3183(0x2d)](_0x19e237[_0x3183(0x2f)],_0x1f86d8);},[_0x1f86d8]),useImperativeHandle(_0x3e40f2,()=>({'trigger':async()=>{const _0x29135d={'UPnFI':_0x19e237['OunPY'],'ZgnCr':function(_0x13cefb,_0x45bace){return _0x19e237[_0x3183(0x30)](_0x13cefb,_0x45bace);},'wJAkK':_0x19e237[_0x3183(0x31)]};if('RNFtr'===_0x19e237[_0x3183(0x32)])return await _0x5daad1(),Promise[_0x3183(0x33)]();else{_0x4d0aed['log'](_0x29135d['UPnFI']),_0xc7b78a===null||_0x2d4db4===void 0x0||_0x29135d[_0x3183(0x34)](_0x17e3a1,_0x29135d[_0x3183(0x35)]),_0x411624(![]);return;}},'reset':async()=>{return Promise[_0x3183(0x33)]();}}));const _0x5daad1=async()=>{const _0x8e9f4e={'zsxZY':_0x19e237[_0x3183(0x2f)]};if(_0x19e237[_0x3183(0x36)](_0x3183(0x37),_0x19e237['dhwVk'])){console[_0x3183(0x2d)](_0x19e237[_0x3183(0x38)]);if(_0x19e237['PxQpR'](!enabled,_0x2be430))return;_0x19e237[_0x3183(0x39)](_0x550b52,!![]);try{if(_0x19e237[_0x3183(0x3a)](_0x19e237[_0x3183(0x3b)],_0x19e237[_0x3183(0x3c)])){if(!_0x19e237[_0x3183(0x3d)](isApiKeyInitialized)){const _0x526b3a=_0x19e237[_0x3183(0x3e)];console['error'](_0x19e237['fEgCx'],_0x526b3a);if(_0x35b16e)_0x19e237['QqEJY'](_0x35b16e,_0x526b3a);else{if(_0x19e237[_0x3183(0x3f)]!=='mlFUb')Alert[_0x3183(0x40)](_0x19e237[_0x3183(0x41)],_0x19e237[_0x3183(0x42)],[{'text':'OK'}]);else switch(_0x3cdb3f){case _0x19e237[_0x3183(0x43)]:return _0x19e237['gEgQr'];case _0x19e237[_0x3183(0x44)]:return _0x3183(0x1a);case _0x19e237['aTBim']:return _0x19e237[_0x3183(0x45)];default:return _0x19e237[_0x3183(0x46)];}}_0x550b52(![]);return;}const _0x5999a8=_0x19e237[_0x3183(0x3d)](getApiConfig);if(debug){if(_0x19e237[_0x3183(0x47)]===_0x3183(0x14)){var _0x3caabb;console['log'](_0x19e237[_0x3183(0x48)],(_0x5999a8===null||_0x19e237[_0x3183(0x49)](_0x5999a8,void 0x0)||(_0x3caabb=_0x5999a8[_0x3183(0x4a)])===null||_0x3caabb===void 0x0?void 0x0:_0x3caabb['substring'](0x0,0x8))+_0x19e237[_0x3183(0x4b)]);}else _0x7b0bc0[_0x3183(0x4c)](_0x19e237[_0x3183(0x4d)],_0x21dfd6),_0x315161===null||_0x19e237[_0x3183(0x4e)](_0x2f0298,void 0x0)||_0x19e237[_0x3183(0x30)](_0x476b9c,_0xb6cbe8 instanceof _0x3040f9?_0x1260dc[_0x3183(0x4f)]:_0x19e237['fAnEU']),_0x566a0f(![]);}if(_0x47b0b0){const _0x38bca8=await _0x47b0b0();if(!_0x38bca8){if(_0x19e237[_0x3183(0x3a)]('tWMbQ',_0x19e237[_0x3183(0x50)])){console[_0x3183(0x2d)](_0x19e237[_0x3183(0x51)]),_0x19e237[_0x3183(0x52)](_0x35b16e,null)||_0x19e237['TQIJZ'](_0x35b16e,void 0x0)||_0x19e237['YBOwV'](_0x35b16e,_0x19e237[_0x3183(0x31)]),_0x19e237[_0x3183(0x53)](_0x550b52,![]);return;}else _0x19e237[_0x3183(0x54)](_0x245351,_0x3edc06,_0x24e47e);}}console[_0x3183(0x2d)](_0x19e237[_0x3183(0x55)]),_0x435708(!![]),_0x19e237[_0x3183(0x56)](_0x550b52,![]);}else{var _0xbbb8ac;_0x821df7[_0x3183(0x2d)](_0x3183(0x15),_0x19e237[_0x3183(0x57)](_0x19e237[_0x3183(0x36)](_0x31c1e5,null)||_0x372a39===void 0x0||_0x19e237[_0x3183(0x58)](_0xbbb8ac=_0x2c7056['apiKey'],null)||_0x19e237[_0x3183(0x59)](_0xbbb8ac,void 0x0)?void 0x0:_0xbbb8ac[_0x3183(0x5a)](0x0,0x8),_0x3183(0x16)));}}catch(_0x28610b){_0x19e237['rWmZv'](_0x3183(0x5b),_0x19e237[_0x3183(0x5c)])?(console['error'](_0x19e237['WoXoh'],_0x28610b),_0x19e237[_0x3183(0x36)](_0x35b16e,null)||_0x19e237[_0x3183(0x4e)](_0x35b16e,void 0x0)||_0x19e237['udURc'](_0x35b16e,_0x19e237['qJlWM'](_0x28610b,Error)?_0x28610b[_0x3183(0x4f)]:_0x19e237['fAnEU']),_0x19e237['raqEM'](_0x550b52,![])):_0x4e38c2[_0x3183(0x2d)](_0x8e9f4e[_0x3183(0x5d)],_0xf9a9d2);}}else{const _0x20d868=_0x19e237[_0x3183(0x3e)];_0x36c304[_0x3183(0x4c)](_0x19e237[_0x3183(0x5e)],_0x20d868);_0x5f2e5c?_0x173098(_0x20d868):Alert[_0x3183(0x40)](_0x19e237[_0x3183(0x41)],'The\x20Onairos\x20SDK\x20requires\x20initialization\x20with\x20a\x20valid\x20API\x20key.\x0a\x0aDevelopers:\x20Please\x20call\x20initializeApiKey()\x20before\x20using\x20OnairosButton.',[{'text':'OK'}]);_0x19e237[_0x3183(0x5f)](_0x3c9fca,![]);return;}},_0x1ea024=()=>{switch(buttonForm){case _0x19e237[_0x3183(0x43)]:return _0x19e237['gEgQr'];case _0x19e237[_0x3183(0x44)]:return _0x19e237[_0x3183(0x60)];case _0x19e237[_0x3183(0x61)]:return _0x19e237[_0x3183(0x45)];default:return _0x19e237[_0x3183(0x46)];}},_0x4ae090=_0x19e237[_0x3183(0x62)](useCallback,(_0x50e56c,_0x28f322)=>{console[_0x3183(0x2d)](_0x19e237[_0x3183(0x63)]),_0x19e237[_0x3183(0x64)](_0x435708,![]),_0x3bd043&&_0x19e237[_0x3183(0x65)](_0x3bd043,_0x50e56c,_0x28f322),_0x113506&&(_0x19e237[_0x3183(0x4e)](_0x19e237['sUCvq'],_0x19e237['doCXR'])?(_0xd9a9a9[_0x3183(0x2d)](_0x19e237[_0x3183(0x66)]),_0x19e237['raqEM'](_0x3352bc,![]),_0x408d20&&_0x19e237[_0x3183(0x67)](_0x4da3ba,_0x19e237[_0x3183(0x68)])):_0x19e237['NxnWq'](_0x113506));},[_0x3bd043,_0x113506]),_0x5d5460=_0x19e237[_0x3183(0x69)](useCallback,()=>{console[_0x3183(0x2d)](_0x19e237[_0x3183(0x66)]),_0x19e237[_0x3183(0x6a)](_0x435708,![]),_0x35b16e&&_0x19e237[_0x3183(0x6b)](_0x35b16e,_0x19e237[_0x3183(0x68)]);},[_0x35b16e]);return console['log'](_0x19e237[_0x3183(0x6c)],{'AppName':_0x1cdc90,'buttonType':buttonType,'buttonWidth':buttonWidth,'buttonHeight':buttonHeight,'hasStroke':hasStroke,'enabled':enabled,'buttonForm':buttonForm,'onResolved':_0x3bd043,'onRejection':_0x35b16e,'preCheck':_0x47b0b0,'color':color,'swerv':swerv,'darkMode':darkMode,'returnLink':_0x1c2e7b,'preferredPlatform':_0x42a5ec,'autoFetch':autoFetch,'inferenceData':_0x45ded2,'textLayout':textLayout,'textColor':textColor,'proofMode':proofMode,'webpageName':_0xbc78ff,'debug':debug,'testMode':testMode,'requestData':_0x304425,'onPress':_0x113506,'primaryAuthOnly':primaryAuthOnly,'useNewWelcomeFlow':useNewWelcomeFlow}),React['createElement'](React[_0x3183(0x6d)],null,React[_0x3183(0x6e)](View,null,React[_0x3183(0x6e)](TouchableOpacity,{'style':[styles['button'],_0x19e237[_0x3183(0x6f)](buttonType,_0x19e237['uWDMI'])&&styles['pillButton'],hasStroke&&styles['strokedButton'],{'width':buttonWidth,'height':buttonHeight},swerv&&styles[_0x3183(0x70)],!enabled&&styles['disabledButton']],'onPress':_0x5daad1,'disabled':!enabled||_0x2be430,'onPressIn':()=>_0x45fa10(!![]),'onPressOut':()=>_0x45fa10(![])},React['createElement'](_0x38058c,{'colors':[_0x19e237['lfALe'],_0x19e237['DkTUo'],_0x3183(0x71)],'start':{'x':0x0,'y':0x0},'end':{'x':0x1,'y':0x0},'style':{'position':_0x19e237[_0x3183(0x72)],'left':0x0,'right':0x0,'top':0x0,'bottom':0x0,'borderRadius':_0x19e237[_0x3183(0x58)](buttonType,_0x3183(0x73))?0x18:0x8}}),_0x2be430?React[_0x3183(0x6e)](ActivityIndicator,{'size':_0x19e237[_0x3183(0x74)],'color':_0x19e237['hsfsH']}):React[_0x3183(0x6e)](View,{'style':styles[_0x3183(0x75)]},React[_0x3183(0x6e)](View,{'style':styles[_0x3183(0x76)]},React[_0x3183(0x6e)](Image,{'source':BRAND_IMAGES[_0x3183(0x77)],'style':styles[_0x3183(0x78)],'resizeMode':_0x3183(0x79)})),React[_0x3183(0x6e)](Text,{'style':[styles[_0x3183(0x7a)],{'color':_0x3183(0x23)}]},_0x19e237[_0x3183(0x7b)](_0x1ea024))))),useNewWelcomeFlow?React[_0x3183(0x6e)](_0x2235ab,{'visible':_0x1f86d8,'onClose':_0x5d5460,'onComplete':_0x4ae090}):React[_0x3183(0x6e)](UniversalOnboarding,{'visible':_0x1f86d8,'onClose':_0x5d5460,'AppName':_0x1cdc90,'requestData':_0x19e237[_0x3183(0x7c)](_0x304425,{'Small':{'type':_0x3183(0x7d),'descriptions':_0x3183(0x7e),'reward':_0x19e237[_0x3183(0x7f)]},'Medium':{'type':_0x19e237[_0x3183(0x80)],'descriptions':_0x19e237[_0x3183(0x81)],'reward':_0x19e237['xFRPF']},'Large':{'type':_0x19e237[_0x3183(0x82)],'descriptions':_0x19e237['GrFlC'],'reward':_0x19e237['jATTV']}}),'returnLink':_0x1c2e7b||_0x19e237[_0x3183(0x83)],'onComplete':_0x4ae090,'debug':debug,'test':testMode,'preferredPlatform':_0x42a5ec,'primaryAuthOnly':primaryAuthOnly}));});function _0x3183(_0x2f47fd,_0x318377){_0x2f47fd=_0x2f47fd-0x0;const _0x12b350=_0x2f47();let _0x162510=_0x12b350[_0x2f47fd];return _0x162510;}const styles=StyleSheet[_0x3183(0x84)]({'button':{'flexDirection':_0x3183(0x85),'alignItems':_0x3183(0x86),'justifyContent':_0x3183(0x86),'paddingVertical':0xc,'paddingHorizontal':0x10,'borderRadius':0x8,'shadowColor':'#000','shadowOffset':{'width':0x0,'height':0x2},'shadowOpacity':0.2,'shadowRadius':0x4,'elevation':0x3,'overflow':_0x3183(0x87)},'buttonContent':{'flexDirection':_0x3183(0x85),'alignItems':_0x3183(0x86),'justifyContent':_0x3183(0x86)},'logoContainer':{'width':0x18,'height':0x18,'alignItems':_0x3183(0x86),'justifyContent':_0x3183(0x86),'marginRight':0x4},'logoText':{'color':'#C7A047','fontWeight':_0x3183(0x88),'fontSize':0xe},'logoImage':{'width':0x14,'height':0x14},'pillButton':{'borderRadius':0x18},'strokedButton':{'backgroundColor':'transparent','borderWidth':0x1},'swervButton':{'transform':[{'rotate':'-2deg'}]},'disabledButton':{'opacity':0.6},'buttonText':{'fontSize':0x10,'fontWeight':_0x3183(0x89),'textAlign':_0x3183(0x86)}});export default OnairosButton;
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 +1 @@
1
- function _0x19af(_0x47e059,_0x19affa){_0x47e059=_0x47e059-0x0;const _0x3e34ca=_0x47e0();let _0x148491=_0x3e34ca[_0x47e059];return _0x148491;}import React,{useState,useCallback}from'react';import{TouchableOpacity,Text,StyleSheet,View,Image}from'react-native';function _0x47e0(){const _0x43449a=['#D4A536','#000','🔑\x20OnairosSignInButton:\x20Returning\x20JWT\x20token\x20with\x20email:','🔘\x20OnairosSignInButton\x20pressed,\x20showing\x20WelcomeScreen','🔘\x20showWelcomeScreen\x20state\x20set\x20to\x20true','VipOt','cSxML','SPccg','icgWH','oKNzy','contain','Onairos\x20logo','Sign\x20in\x20with\x20Onairos','KEfev','BdgTs','WTqJO','OMrBa','RFjnR','ovhyy','log','getItem','user_email','then','cVZtp','🔑\x20Received\x20placeholder\x20token\x20from\x20WelcomeScreen,\x20completing\x20sign-in','bnXwc','🔍\x20OnairosSignInButton:\x20handleWelcomeComplete\x20called\x20with:','includes','Xartx','split','length','🔍\x20OnairosSignInButton:\x20Is\x20JWT\x20token?','RPChg','GnUVc','iHzDJ','TpROu','fqIHu','ymeRU','xbGms','UVaGu','User\x20closed\x20welcome\x20screen','createElement','container','button','IhgiN','sTzan','ayYfD','SOaLP','NwVez','contentRow','onairosLogoAlt','logo','ptNet','buttonText','fUTaE','create','center','row','600'];_0x47e0=function(){return _0x43449a;};return _0x47e0();}import AsyncStorage from'@react-native-async-storage/async-storage';import _0x2ff7c3 from'./WelcomeScreen';import{triggerHaptic,HapticType}from'../utils/haptics';import{BRAND_IMAGES}from'../utils/assetRegistry';export const OnairosSignInButton=({AppName:_0x2d3a23,buttonWidth:buttonWidth=0x118,buttonHeight:buttonHeight=0x2c,color:color=_0x19af(0x0),textColor:textColor=_0x19af(0x1),onResolved:_0x55604d,onRejection:_0x473a5c,autoFocusEmailInput:autoFocusEmailInput=!![]})=>{const _0x4e608e={'bnXwc':'🔑\x20OnairosSignInButton:\x20Returning\x20token\x20with\x20email:','iVddb':function(_0x5db35f,_0x578c54){return _0x5db35f||_0x578c54;},'WTqJO':_0x19af(0x2),'iHzDJ':function(_0x352d04,_0x50ec83,_0xa7e313){return _0x352d04(_0x50ec83,_0xa7e313);},'wapwb':_0x19af(0x3),'KEfev':function(_0x16f08c,_0x231194){return _0x16f08c(_0x231194);},'xbGms':_0x19af(0x4),'OMrBa':function(_0x261be3,_0xdfe8cd){return _0x261be3===_0xdfe8cd;},'RFjnR':'awWYC','ovhyy':_0x19af(0x5),'Xartx':function(_0x11806f,_0x425699){return _0x11806f===_0x425699;},'GnUVc':_0x19af(0x6),'TpROu':'🔑\x20Received\x20JWT\x20token\x20from\x20WelcomeScreen,\x20completing\x20sign-in','LCaTe':'user_email','DCoQm':function(_0x4ab283,_0x3a5239){return _0x4ab283===_0x3a5239;},'fqIHu':_0x19af(0x7),'ymeRU':_0x19af(0x8),'UVaGu':'🔑\x20Received\x20placeholder\x20token\x20from\x20WelcomeScreen,\x20completing\x20sign-in','IhgiN':function(_0x45d436,_0x130ef3){return _0x45d436||_0x130ef3;},'sTzan':function(_0x5b8155,_0x3556db){return _0x5b8155===_0x3556db;},'aoLYq':_0x19af(0x9),'Pxpgi':function(_0x7d231d,_0x49b0e3){return _0x7d231d(_0x49b0e3);},'BdgTs':function(_0x37e037,_0x12649d,_0x3d1dd3){return _0x37e037(_0x12649d,_0x3d1dd3);},'TbnfW':_0x19af(0xa),'ptNet':_0x19af(0xb),'fUTaE':_0x19af(0xc)},[_0x35133c,_0x2451db]=_0x4e608e[_0x19af(0xd)](useState,![]),[_0x3d9e30,_0x57c8a9]=_0x4e608e['Pxpgi'](useState,''),_0x7440e5=_0x4e608e[_0x19af(0xe)](useCallback,(_0x27a85a,_0x39b6ee)=>{const _0x308ab8={'gDTRb':function(_0x1ddf53,_0x1e415e){return _0x1ddf53||_0x1e415e;},'cVZtp':_0x4e608e[_0x19af(0xf)]};if(_0x4e608e[_0x19af(0x10)](_0x4e608e[_0x19af(0x11)],_0x4e608e[_0x19af(0x12)])){if(_0x15bf1c)_0x48d73b[_0x19af(0x13)]('🔑\x20Received\x20JWT\x20token\x20from\x20WelcomeScreen,\x20completing\x20sign-in'),AsyncStorage[_0x19af(0x14)](_0x19af(0x15))[_0x19af(0x16)](_0x298d9c=>{const _0x4f38a0=_0x308ab8['gDTRb'](_0x27e0e4,_0x298d9c)||_0x102ff1;_0x3d2a97[_0x19af(0x13)](_0x308ab8[_0x19af(0x17)],_0x4f38a0),_0x24e54d(_0x3ef9d1,_0x4f38a0);});else{_0x27641e[_0x19af(0x13)](_0x19af(0x18));const _0x1be580=_0x3a1539||_0x2fad38;_0xdaa74e[_0x19af(0x13)](_0x4e608e[_0x19af(0x19)],_0x1be580),_0x34f3d1(_0x4c63b2,_0x1be580);}}else{console[_0x19af(0x13)](_0x19af(0x1a),{'token':_0x27a85a,'email':_0x39b6ee});const _0x5d3b69=_0x27a85a&&_0x27a85a[_0x19af(0x1b)]('.')&&_0x4e608e[_0x19af(0x1c)](_0x27a85a[_0x19af(0x1d)]('.')[_0x19af(0x1e)],0x3);console[_0x19af(0x13)](_0x19af(0x1f),_0x5d3b69),_0x2451db(![]);if(_0x55604d){if(_0x19af(0x20)===_0x4e608e[_0x19af(0x21)]){const _0x5ca108=_0x4e608e['iVddb'](_0x220a12,_0x26a6e9)||_0x44bb63;_0x487c4c[_0x19af(0x13)](_0x4e608e['WTqJO'],_0x5ca108),_0x4e608e[_0x19af(0x22)](_0x412ccc,_0x37a0f7,_0x5ca108);}else{if(_0x5d3b69)console[_0x19af(0x13)](_0x4e608e[_0x19af(0x23)]),AsyncStorage[_0x19af(0x14)](_0x4e608e['LCaTe'])[_0x19af(0x16)](_0x311ac6=>{const _0x587b07=_0x39b6ee||_0x311ac6||_0x3d9e30;console[_0x19af(0x13)](_0x19af(0x2),_0x587b07),_0x55604d(_0x27a85a,_0x587b07);});else{if(_0x4e608e['DCoQm'](_0x4e608e[_0x19af(0x24)],_0x4e608e[_0x19af(0x25)]))_0x2caf3d[_0x19af(0x13)](_0x4e608e['wapwb']),_0x4e608e[_0x19af(0xd)](_0xec8b49,_0xd7b36b['BUTTON_PRESS']),_0x5f59b2(!![]),_0x2c6bfd['log'](_0x4e608e[_0x19af(0x26)]);else{console[_0x19af(0x13)](_0x4e608e[_0x19af(0x27)]);const _0x41c779=_0x39b6ee||_0x3d9e30;console[_0x19af(0x13)]('🔑\x20OnairosSignInButton:\x20Returning\x20token\x20with\x20email:',_0x41c779),_0x55604d(_0x27a85a,_0x41c779);}}}}}},[_0x55604d,_0x3d9e30]),_0x2cd2a5=useCallback(()=>{_0x2451db(![]),_0x473a5c&&_0x473a5c(_0x19af(0x28));},[_0x473a5c]);return React[_0x19af(0x29)](View,{'style':styles[_0x19af(0x2a)]},React[_0x19af(0x29)](TouchableOpacity,{'style':[styles[_0x19af(0x2b)],{'width':buttonWidth,'height':buttonHeight,'backgroundColor':color}],'onPress':()=>{const _0x163bb8={'ayYfD':_0x4e608e[_0x19af(0x27)],'aGLGx':function(_0x25d732,_0x492d14){return _0x4e608e[_0x19af(0x2c)](_0x25d732,_0x492d14);},'SOaLP':_0x4e608e['bnXwc'],'NwVez':function(_0x1ff3ed,_0x203b71,_0x19ff58){return _0x1ff3ed(_0x203b71,_0x19ff58);}};if(_0x4e608e[_0x19af(0x2d)](_0x19af(0x9),_0x4e608e['aoLYq']))console[_0x19af(0x13)](_0x19af(0x3)),triggerHaptic(HapticType['BUTTON_PRESS']),_0x2451db(!![]),console[_0x19af(0x13)](_0x4e608e[_0x19af(0x26)]);else{_0x4a52d9[_0x19af(0x13)](_0x163bb8[_0x19af(0x2e)]);const _0x11be94=_0x163bb8['aGLGx'](_0x59d935,_0x3354fe);_0x4b635b[_0x19af(0x13)](_0x163bb8[_0x19af(0x2f)],_0x11be94),_0x163bb8[_0x19af(0x30)](_0x2dd331,_0x4ff204,_0x11be94);}},'activeOpacity':0.85},React[_0x19af(0x29)](View,{'style':styles[_0x19af(0x31)]},React[_0x19af(0x29)](Image,{'source':BRAND_IMAGES[_0x19af(0x32)],'style':styles[_0x19af(0x33)],'resizeMode':_0x4e608e['TbnfW'],'accessibilityLabel':_0x4e608e[_0x19af(0x34)]}),React[_0x19af(0x29)](Text,{'style':[styles[_0x19af(0x35)],{'color':textColor}]},_0x4e608e[_0x19af(0x36)]))),React[_0x19af(0x29)](_0x2ff7c3,{'visible':_0x35133c,'onClose':_0x2cd2a5,'onComplete':_0x7440e5}));};const styles=StyleSheet[_0x19af(0x37)]({'button':{'borderRadius':0x18,'justifyContent':_0x19af(0x38),'alignItems':_0x19af(0x38),'shadowColor':_0x19af(0x1),'shadowOffset':{'width':0x0,'height':0x2},'shadowOpacity':0.1,'shadowRadius':0x4,'elevation':0x2,'marginVertical':0x8},'contentRow':{'flexDirection':_0x19af(0x39),'alignItems':_0x19af(0x38),'justifyContent':_0x19af(0x38)},'logo':{'width':0x1a,'height':0x1a,'marginRight':0xa},'buttonText':{'fontSize':0x10,'fontWeight':_0x19af(0x3a),'textAlign':_0x19af(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 _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 +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';function _0x51aa(_0xd16ad5,_0x51aa3c){_0xd16ad5=_0xd16ad5-0x0;const _0x77cd88=_0xd16a();let _0x38bb53=_0x77cd88[_0xd16ad5];return _0x38bb53;}import _0x5ee916 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[_0x51aa(0x0)](_0x51aa(0x1));function _0xd16a(){const _0x155b4e=['get','window','SZXOz','Error\x20encrypting\x20model\x20key:','ivPPK','Development\x20mode\x20-\x20mock\x20account\x20info','object','QrcbV','eGFmB','mZWEp','TQQzB','com.onairos.mock','unknown','mock-token','mock-key','function','hXABn','getAPIUrlMobile','Error\x20confirming\x20selection:','error-fallback-token','Error','arrow_forward','#666','Connect\x20your\x20data\x20to\x20create\x20a\x20Persona\x20of\x20you,\x20to\x20connect\x20to\x20Cosmos','Cancel','kqgoZ','zNuAi','IyyNE','current','kZCCc','CQIoG','RnVcb','HLQPR','FxMyh','keys','forEach','EDEJu','aWWjL','BlghG','error','fallback-token','wlTbT','UNkvp','nHasK','asmgK','HCQfT','start','jHkYu','PgkwL','AHTJr','alert','data','xQnFO','AccountInfo','User:\x20','Error\x20getting\x20account\x20info:','ufYsG','idmMA','VMNhc','tJcUc','timing','ixEna','ChPvx','ziAQR','FbeDt','IJlMh','rDgYO','select','dqRUY','NCeQy','qWkeT','BASE_URL','PkhPb','uAMnq','public/key','publicKey','vLZTS','iUClg','SDJTU','oRmsh','rmXcV','jdcxr','sSFiD','HxHQO','AblUk','dWphG','local','APIUrl','token','StCdj','RlrMF','uTxDs','Failed\x20to\x20confirm\x20selection.\x20Please\x20try\x20again.','TXLsn','PHhhF','createElement','modalOverlay','stopPropagation','View','bottomSheet','darkContainer','interpolate','handle','darkHandle','container','header','headerContent','darkAppIcon','appIconText','charAt','#999','vjbGt','onairosIcon','darkOnairosIcon','darkText','content','mainTitle','sowsN','privacyMessage','platformsContainer','map','platformItem','darkPlatformItem','platformInfo','icon','platformIcon','contain','platformName','name','#767577','#81b0ff','#2196F3','#f4f3f4','footer','footerButtonCancel','footerButtonText','darkSubText','vTKms','footerButtonConfirm','darkFooterButtonConfirm','footerButtonTextConfirm','jdORz','zjzZq','Connect','create','#fff','100%','center','#E0E0E0','#1A1A1A','row','#2A2A2A','#000','#F5F5F5','600','space-between','#eee','500','#333','transparent'];_0xd16a=function(){return _0x155b4e;};return _0xd16a();}import{API_CONFIG}from'../config/api';export const Overlay=({data:_0x518618,username:_0x306198,modelKey:_0x54ab78,onResolved:_0x4a80ca,appName:appName='Your\x20App',darkMode:darkMode=![],platforms:platforms=OVERLAY_PLATFORMS})=>{const _0x36c3bc={'EDEJu':function(_0x5568ef,_0x4a057f){return _0x5568ef!==_0x4a057f;},'aWWjL':'BlghG','qWkeT':function(_0xb53afd,_0x1378f7,_0x390194,_0x1c674f){return _0xb53afd(_0x1378f7,_0x390194,_0x1c674f);},'wlTbT':function(_0x80c024,_0x1635aa){return _0x80c024===_0x1635aa;},'hEfNH':_0x51aa(0x2),'UNkvp':'ODNkJ','zNuAi':function(_0x2819d1,_0x2f33d1){return _0x2819d1(_0x2f33d1);},'jHkYu':'Failed\x20to\x20confirm\x20selection.\x20Please\x20try\x20again.','CQIoG':_0x51aa(0x3),'RnVcb':function(_0x3c98e0,_0x22477d){return _0x3c98e0!==_0x22477d;},'kqgoZ':function(_0x78be0a,_0x20b69c){return _0x78be0a(_0x20b69c);},'HCQfT':function(_0x323b3b){return _0x323b3b();},'DpQUP':function(_0x4ca59c,_0xce7ceb){return _0x4ca59c!==_0xce7ceb;},'PgkwL':'FMNqQ','AHTJr':_0x51aa(0x4),'GoluB':_0x51aa(0x5),'xQnFO':_0x51aa(0x6),'vLZTS':'Error\x20getting\x20server\x20public\x20key:','ixEna':_0x51aa(0x7),'IyyNE':function(_0x49f3a3,_0x453d54){return _0x49f3a3(_0x453d54);},'ufYsG':function(_0x4ac941,_0x2a0baa){return _0x4ac941!==_0x2a0baa;},'idmMA':'VMNhc','FbeDt':function(_0x59d583,_0x542b97,_0x3ba874){return _0x59d583(_0x542b97,_0x3ba874);},'WYEZY':_0x51aa(0x8),'EcsCQ':_0x51aa(0x9),'AblUk':function(_0x355a1e){return _0x355a1e();},'pYPTZ':function(_0x2dd4c4,_0x1e5c32){return _0x2dd4c4(_0x1e5c32);},'IJlMh':function(_0x56212c,_0x141e2e){return _0x56212c===_0x141e2e;},'rDgYO':_0x51aa(0xa),'dqRUY':_0x51aa(0xb),'NCeQy':_0x51aa(0xc),'PkhPb':_0x51aa(0xd),'uAMnq':_0x51aa(0xe),'iUClg':_0x51aa(0xf),'SDJTU':function(_0x488bb8,_0x1ed829){return _0x488bb8!==_0x1ed829;},'jdcxr':function(_0x4f408f,_0x34bb5b){return _0x4f408f===_0x34bb5b;},'sSFiD':'OxcBS','HxHQO':_0x51aa(0x10),'dWphG':_0x51aa(0x11),'tvpZa':'devURL','StCdj':function(_0x13a07c,_0x28a47a,_0x577ecb,_0x11752f){return _0x13a07c(_0x28a47a,_0x577ecb,_0x11752f);},'RlrMF':function(_0x25e041){return _0x25e041();},'mEZuo':_0x51aa(0x12),'uTxDs':_0x51aa(0x13),'rmpYq':_0x51aa(0x14),'kZCCc':function(_0x5ed734,_0x1ee90d,_0x350e9f){return _0x5ed734(_0x1ee90d,_0x350e9f);},'seCfD':'none','wyDOi':_0x51aa(0x15),'vjbGt':_0x51aa(0x16),'sowsN':_0x51aa(0x17),'vTKms':_0x51aa(0x18),'jdORz':function(_0x59799b,_0x284f6d){return _0x59799b&&_0x284f6d;},'zjzZq':'#000'},[_0x2f1af2,_0x14c60f]=_0x36c3bc[_0x51aa(0x19)](useState,{}),[_0x174ad4,_0xfc2b92]=_0x36c3bc[_0x51aa(0x1a)](useState,''),[_0x498cf6,_0x5ed57a]=_0x36c3bc[_0x51aa(0x1b)](useState,!![]),[_0x57e63d,_0x44d5c5]=_0x36c3bc[_0x51aa(0x1b)](useState,{}),_0x5422a3=_0x36c3bc[_0x51aa(0x1b)](useRef,new Animated['Value'](0x0))[_0x51aa(0x1c)];_0x36c3bc[_0x51aa(0x1d)](useEffect,()=>{const _0x40e0ba={'xrZGm':_0x36c3bc[_0x51aa(0x1e)]};if(_0x36c3bc[_0x51aa(0x1f)](_0x51aa(0x20),_0x51aa(0x21))){const _0x3957b4={};Object[_0x51aa(0x22)](_0x518618)[_0x51aa(0x23)](_0x1eb5c7=>{_0x36c3bc[_0x51aa(0x24)](_0x36c3bc[_0x51aa(0x25)],_0x51aa(0x26))?_0x1a79db[_0x51aa(0x27)](_0x40e0ba['xrZGm'],_0x2c9529):_0x3957b4[_0x1eb5c7]=![];}),_0x14c60f(_0x3957b4);const _0x1fa62e={};platforms['forEach'](_0x5d22f7=>{const _0x1199fb={'nHasK':function(_0x12a38c,_0x165d40,_0x76712e,_0xdbb36c){return _0x36c3bc['qWkeT'](_0x12a38c,_0x165d40,_0x76712e,_0xdbb36c);},'asmgK':_0x51aa(0x28),'XWzpX':function(_0x5370b6){return _0x5370b6();}};_0x36c3bc[_0x51aa(0x29)](_0x36c3bc['hEfNH'],_0x36c3bc[_0x51aa(0x2a)])?(_0x1199fb[_0x51aa(0x2b)](_0x42b80f,''+_0x35554c['BASE_URL'],_0x1199fb[_0x51aa(0x2c)],{'username':_0x3835b8,'selections':_0x4dab98,'platforms':_0x333195}),_0x1199fb['XWzpX'](_0x4b50bc)):_0x1fa62e[_0x5d22f7['id']]=![];}),_0x36c3bc[_0x51aa(0x19)](_0x44d5c5,_0x1fa62e),_0x36c3bc[_0x51aa(0x2d)](_0x4ee21f),Animated['spring'](_0x5422a3,{'toValue':0x1,'useNativeDriver':!![],'bounciness':0x0})[_0x51aa(0x2e)]();}else _0x36c3bc['zNuAi'](_0x32c953,_0x36c3bc[_0x51aa(0x2f)]);},[]);const _0x4ee21f=async()=>{try{if(__DEV__){if(_0x36c3bc['DpQUP'](_0x36c3bc[_0x51aa(0x30)],_0x36c3bc[_0x51aa(0x31)])){_0xfc2b92(_0x36c3bc['GoluB']);return;}else Alert[_0x51aa(0x32)](_0x51aa(0x14),_0x469712,[{'text':'OK'}]);}const _0x1ffaa3=await onairosApi['post']('getAccountInfo',{'Info':{'username':_0x306198}});if(_0x1ffaa3&&_0x1ffaa3[_0x51aa(0x33)]){const _0x2cab74=_0x36c3bc[_0x51aa(0x29)](typeof _0x1ffaa3[_0x51aa(0x33)],_0x36c3bc[_0x51aa(0x34)])&&_0x1ffaa3[_0x51aa(0x33)][_0x51aa(0x35)]?_0x1ffaa3[_0x51aa(0x33)][_0x51aa(0x35)]:_0x51aa(0x36)+_0x306198;_0xfc2b92(_0x2cab74);}else _0xfc2b92('User:\x20'+_0x306198);}catch(_0x5f049b){console[_0x51aa(0x27)](_0x51aa(0x37),_0x5f049b),_0x36c3bc['kqgoZ'](_0xfc2b92,_0x51aa(0x36)+_0x306198);}},_0x57495a=useCallback(()=>{const _0x1e41fa={'tJcUc':function(_0xbc1d75,_0x266e50){return _0x36c3bc[_0x51aa(0x1b)](_0xbc1d75,_0x266e50);}};_0x36c3bc[_0x51aa(0x38)](_0x36c3bc[_0x51aa(0x39)],_0x51aa(0x3a))?_0x1e41fa[_0x51aa(0x3b)](_0x5d239e,![]):Animated[_0x51aa(0x3c)](_0x5422a3,{'toValue':0x0,'duration':0xfa,'useNativeDriver':!![]})[_0x51aa(0x2e)](()=>{const _0x12c5df={'ziAQR':_0x36c3bc['vLZTS']};_0x36c3bc[_0x51aa(0x1f)](_0x36c3bc[_0x51aa(0x3d)],_0x51aa(0x3e))?_0x36c3bc['kqgoZ'](_0x5ed57a,![]):_0x2c4e92[_0x51aa(0x27)](_0x12c5df[_0x51aa(0x3f)],_0x2cfc11);});},[_0x5422a3]),_0x3738e4=_0x36c3bc[_0x51aa(0x1d)](useCallback,_0x1b26e4=>{if(_0x36c3bc['WYEZY']!==_0x36c3bc['EcsCQ'])_0x44d5c5(_0x59d999=>({..._0x59d999,[_0x1b26e4]:!_0x59d999[_0x1b26e4]}));else try{_0x212725=_0x36c3bc[_0x51aa(0x40)](_0x5436e3,_0x5aa3d7,_0x4cfd91);}catch(_0x1ad735){_0x8dee44['error'](_0x36c3bc[_0x51aa(0x1e)],_0x1ad735);}},[]),_0x3a8ed2=_0x36c3bc[_0x51aa(0x1d)](useCallback,async()=>{const _0x2d8ce3={'QQFLr':function(_0x1cd604,_0x4b74b0){return _0x1cd604===_0x4b74b0;},'TXLsn':_0x36c3bc[_0x51aa(0x34)],'PHhhF':function(_0x3d6327,_0x5c1cba){return _0x36c3bc['pYPTZ'](_0x3d6327,_0x5c1cba);}};if(_0x36c3bc[_0x51aa(0x41)](_0x36c3bc['rDgYO'],_0x36c3bc[_0x51aa(0x42)]))try{const _0x45801d=Platform[_0x51aa(0x43)]({'ios':_0x36c3bc[_0x51aa(0x44)],'android':_0x36c3bc[_0x51aa(0x44)],'default':_0x36c3bc[_0x51aa(0x45)]});if(__DEV__){_0x36c3bc[_0x51aa(0x46)](_0x4a80ca,''+API_CONFIG[_0x51aa(0x47)],_0x36c3bc[_0x51aa(0x48)],{'username':_0x306198,'selections':_0x2f1af2,'platforms':_0x57e63d}),_0x36c3bc[_0x51aa(0x2d)](_0x57495a);return;}let _0x3368a4=_0x36c3bc[_0x51aa(0x49)];try{const _0x1eec1b=await onairosApi[_0x51aa(0x0)](_0x51aa(0x4a));_0x1eec1b&&_0x1eec1b[_0x51aa(0x33)]&&_0x36c3bc[_0x51aa(0x41)](typeof _0x1eec1b[_0x51aa(0x33)],_0x36c3bc[_0x51aa(0x34)])&&(_0x3368a4=_0x1eec1b['data'][_0x51aa(0x4b)]||_0x36c3bc[_0x51aa(0x49)]);}catch(_0x30ca71){console[_0x51aa(0x27)](_0x36c3bc[_0x51aa(0x4c)],_0x30ca71);}let _0x4392f7=_0x54ab78;if(_0x36c3bc[_0x51aa(0x29)](typeof encryptModelKey,_0x36c3bc[_0x51aa(0x4d)])&&_0x3368a4){if(_0x36c3bc[_0x51aa(0x4e)](_0x51aa(0x4f),_0x51aa(0x50)))try{_0x36c3bc[_0x51aa(0x51)](_0x36c3bc[_0x51aa(0x52)],_0x36c3bc[_0x51aa(0x53)])?(_0x2b045d['error'](_0x51aa(0x37),_0xa11958),_0x36c3bc[_0x51aa(0x1a)](_0x13bb4c,_0x51aa(0x36)+_0x112acd)):_0x4392f7=_0x36c3bc[_0x51aa(0x40)](encryptModelKey,_0x3368a4,_0x54ab78);}catch(_0xe4f19e){console[_0x51aa(0x27)](_0x36c3bc['CQIoG'],_0xe4f19e);}else _0x36c3bc[_0x51aa(0x46)](_0x2e7039,''+_0x424b2e[_0x51aa(0x47)],_0x51aa(0x13),{'username':_0x2a2a44,'selections':_0x59a0f2,'platforms':_0x579581,'error':!![]}),_0x36c3bc[_0x51aa(0x54)](_0x5db909);}const _0x3fd481=await onairosApi['post'](_0x36c3bc[_0x51aa(0x55)],{'Info':{'storage':_0x51aa(0x56),'appId':_0x45801d,'confirmations':_0x2f1af2,'developerURL':_0x36c3bc['tvpZa'],'EncryptedUserPin':_0x4392f7,'username':_0x306198,'platforms':_0x57e63d}});_0x3fd481&&_0x3fd481[_0x51aa(0x33)]&&_0x3fd481[_0x51aa(0x33)][_0x51aa(0x57)]&&_0x3fd481['data'][_0x51aa(0x58)]?(_0x36c3bc[_0x51aa(0x46)](_0x4a80ca,_0x3fd481[_0x51aa(0x33)][_0x51aa(0x57)],_0x3fd481[_0x51aa(0x33)][_0x51aa(0x58)],{'username':_0x306198,'selections':_0x2f1af2,'platforms':_0x57e63d}),_0x57495a()):(_0x36c3bc[_0x51aa(0x59)](_0x4a80ca,''+API_CONFIG['BASE_URL'],'fallback-token',{'username':_0x306198,'selections':_0x2f1af2,'platforms':_0x57e63d}),_0x36c3bc[_0x51aa(0x5a)](_0x57495a));}catch(_0x173890){console['error'](_0x36c3bc['mEZuo'],_0x173890),__DEV__?(_0x36c3bc['StCdj'](_0x4a80ca,''+API_CONFIG[_0x51aa(0x47)],_0x36c3bc[_0x51aa(0x5b)],{'username':_0x306198,'selections':_0x2f1af2,'platforms':_0x57e63d,'error':!![]}),_0x36c3bc[_0x51aa(0x2d)](_0x57495a)):_0x5f25(_0x51aa(0x5c));}else{const _0x82e2be=_0x2d8ce3['QQFLr'](typeof _0x55bb61[_0x51aa(0x33)],_0x2d8ce3[_0x51aa(0x5d)])&&_0x18a284[_0x51aa(0x33)][_0x51aa(0x35)]?_0x567116[_0x51aa(0x33)][_0x51aa(0x35)]:'User:\x20'+_0x144fa4;_0x2d8ce3[_0x51aa(0x5e)](_0x5bef0d,_0x82e2be);}},[_0x2f1af2,_0x306198,_0x54ab78,_0x4a80ca,_0x57495a,_0x57e63d]),_0x5f25=_0x24dfdd=>{Alert[_0x51aa(0x32)](_0x36c3bc['rmpYq'],_0x24dfdd,[{'text':'OK'}]);};return React['createElement'](Modal,{'visible':_0x498cf6,'transparent':!![],'animationType':_0x36c3bc['seCfD'],'statusBarTranslucent':!![],'onRequestClose':_0x57495a},React[_0x51aa(0x5f)](TouchableOpacity,{'style':styles[_0x51aa(0x60)],'activeOpacity':0x1,'onPress':_0x57495a},React[_0x51aa(0x5f)](TouchableWithoutFeedback,{'onPress':_0x208a29=>_0x208a29[_0x51aa(0x61)]()},React[_0x51aa(0x5f)](Animated[_0x51aa(0x62)],{'style':[styles[_0x51aa(0x63)],darkMode&&styles[_0x51aa(0x64)],{'transform':[{'translateY':_0x5422a3[_0x51aa(0x65)]({'inputRange':[0x0,0x1],'outputRange':[SCREEN_HEIGHT,0x0]})}]}]},React[_0x51aa(0x5f)](View,{'style':styles['handleContainer']},React[_0x51aa(0x5f)](View,{'style':[styles[_0x51aa(0x66)],darkMode&&styles[_0x51aa(0x67)]]})),React[_0x51aa(0x5f)](SafeAreaView,{'style':[styles[_0x51aa(0x68)],darkMode&&styles[_0x51aa(0x64)]]},React[_0x51aa(0x5f)](View,{'style':[styles[_0x51aa(0x69)],darkMode&&styles['darkHeader']]},React[_0x51aa(0x5f)](View,{'style':styles[_0x51aa(0x6a)]},React[_0x51aa(0x5f)](View,{'style':[styles['appIcon'],darkMode&&styles[_0x51aa(0x6b)]]},React[_0x51aa(0x5f)](Text,{'style':[styles[_0x51aa(0x6c)],darkMode&&styles['darkText']]},appName[_0x51aa(0x6d)](0x0))),React[_0x51aa(0x5f)](_0x5ee916,{'name':_0x36c3bc['wyDOi'],'size':0x18,'color':darkMode?_0x51aa(0x6e):_0x36c3bc[_0x51aa(0x6f)],'style':styles['arrow']}),React['createElement'](View,{'style':[styles[_0x51aa(0x70)],darkMode&&styles[_0x51aa(0x71)]]},React[_0x51aa(0x5f)](Text,{'style':[styles['onairosIconText'],darkMode&&styles[_0x51aa(0x72)]]},'O')))),React[_0x51aa(0x5f)](ScrollView,{'style':styles[_0x51aa(0x73)]},React[_0x51aa(0x5f)](View,{'style':styles['titleContainer']},React[_0x51aa(0x5f)](Text,{'style':[styles[_0x51aa(0x74)],darkMode&&styles['darkText']]},_0x36c3bc[_0x51aa(0x75)]),React['createElement'](Text,{'style':[styles[_0x51aa(0x76)],darkMode&&styles['darkSubText']]},'None\x20of\x20your\x20app\x20data\x20is\x20shared\x20with\x20ANYONE')),React[_0x51aa(0x5f)](View,{'style':styles[_0x51aa(0x77)]},platforms[_0x51aa(0x78)](_0x21d5e4=>React['createElement'](View,{'key':_0x21d5e4['id'],'style':[styles[_0x51aa(0x79)],darkMode&&styles[_0x51aa(0x7a)]]},React['createElement'](View,{'style':styles[_0x51aa(0x7b)]},React[_0x51aa(0x5f)](Image,{'source':_0x21d5e4[_0x51aa(0x7c)],'style':styles[_0x51aa(0x7d)],'resizeMode':_0x51aa(0x7e)}),React[_0x51aa(0x5f)](Text,{'style':[styles[_0x51aa(0x7f)],darkMode&&styles[_0x51aa(0x72)]]},_0x21d5e4[_0x51aa(0x80)])),React[_0x51aa(0x5f)](Switch,{'value':_0x57e63d[_0x21d5e4['id']],'onValueChange':()=>_0x3738e4(_0x21d5e4['id']),'trackColor':{'false':_0x51aa(0x81),'true':_0x51aa(0x82)},'thumbColor':_0x57e63d[_0x21d5e4['id']]?_0x51aa(0x83):_0x51aa(0x84)}))))),React['createElement'](View,{'style':[styles[_0x51aa(0x85)],darkMode&&styles['darkFooter']]},React[_0x51aa(0x5f)](TouchableOpacity,{'style':styles[_0x51aa(0x86)],'onPress':_0x57495a},React[_0x51aa(0x5f)](Text,{'style':[styles[_0x51aa(0x87)],darkMode&&styles[_0x51aa(0x88)]]},_0x36c3bc[_0x51aa(0x89)])),React[_0x51aa(0x5f)](TouchableOpacity,{'style':[styles[_0x51aa(0x8a)],darkMode&&styles[_0x51aa(0x8b)]],'onPress':_0x3a8ed2},React[_0x51aa(0x5f)](Text,{'style':[styles[_0x51aa(0x8c)],_0x36c3bc[_0x51aa(0x8d)](darkMode,{'color':_0x36c3bc[_0x51aa(0x8e)]})]},_0x51aa(0x8f)))))))));};const styles=StyleSheet[_0x51aa(0x90)]({'modalOverlay':{'flex':0x1,'backgroundColor':'rgba(0,\x200,\x200,\x200.5)','justifyContent':'flex-end'},'bottomSheet':{'backgroundColor':_0x51aa(0x91),'borderTopLeftRadius':0x18,'borderTopRightRadius':0x18,'width':SCREEN_WIDTH,'height':SCREEN_HEIGHT*0.8,'overflow':'hidden'},'handleContainer':{'width':_0x51aa(0x92),'alignItems':_0x51aa(0x93),'paddingTop':0xc,'paddingBottom':0x8},'handle':{'width':0x28,'height':0x5,'borderRadius':0x3,'backgroundColor':_0x51aa(0x94)},'darkHandle':{'backgroundColor':_0x51aa(0x16)},'container':{'flex':0x1,'backgroundColor':_0x51aa(0x91)},'darkContainer':{'backgroundColor':_0x51aa(0x95)},'header':{'padding':0x18,'alignItems':_0x51aa(0x93)},'darkHeader':{'backgroundColor':'#1A1A1A'},'headerContent':{'flexDirection':_0x51aa(0x96),'alignItems':_0x51aa(0x93),'justifyContent':_0x51aa(0x93),'marginBottom':0x10},'appIcon':{'width':0x30,'height':0x30,'borderRadius':0x10,'backgroundColor':'#F5F5F5','alignItems':_0x51aa(0x93),'justifyContent':_0x51aa(0x93)},'darkAppIcon':{'backgroundColor':_0x51aa(0x97)},'appIconText':{'fontSize':0x18,'color':_0x51aa(0x98)},'darkText':{'color':'#fff'},'arrow':{'marginHorizontal':0x10},'onairosIcon':{'width':0x30,'height':0x30,'borderRadius':0x10,'backgroundColor':_0x51aa(0x99),'alignItems':_0x51aa(0x93),'justifyContent':_0x51aa(0x93)},'darkOnairosIcon':{'backgroundColor':_0x51aa(0x97)},'onairosIconText':{'fontSize':0x18,'color':_0x51aa(0x98)},'darkSubText':{'color':_0x51aa(0x6e)},'titleContainer':{'marginBottom':0x1e},'mainTitle':{'fontSize':0x16,'fontWeight':_0x51aa(0x9a),'color':_0x51aa(0x98),'textAlign':_0x51aa(0x93),'marginBottom':0x10},'privacyMessage':{'fontSize':0xe,'color':_0x51aa(0x16),'textAlign':_0x51aa(0x93),'marginBottom':0x10},'content':{'flex':0x1,'paddingHorizontal':0x18},'platformsContainer':{'marginTop':0x10},'platformItem':{'flexDirection':'row','justifyContent':_0x51aa(0x9b),'alignItems':'center','padding':0x10,'backgroundColor':_0x51aa(0x91),'borderRadius':0x10,'marginBottom':0x10,'borderWidth':0x1,'borderColor':_0x51aa(0x9c)},'darkPlatformItem':{'backgroundColor':_0x51aa(0x97),'borderColor':'#333'},'platformInfo':{'flexDirection':_0x51aa(0x96),'alignItems':_0x51aa(0x93)},'platformIcon':{'width':0x20,'height':0x20,'marginRight':0xc},'platformName':{'fontSize':0x10,'fontWeight':_0x51aa(0x9d),'color':_0x51aa(0x98)},'footer':{'flexDirection':'row','alignItems':_0x51aa(0x93),'justifyContent':'space-between','padding':0x18,'borderTopWidth':0x1,'borderTopColor':'#eee','backgroundColor':'#fff'},'darkFooter':{'backgroundColor':'#2A2A2A','borderTopColor':_0x51aa(0x9e)},'footerButtonCancel':{'paddingVertical':0x8,'paddingHorizontal':0x10},'darkFooterButton':{'backgroundColor':_0x51aa(0x9f)},'footerButtonConfirm':{'paddingVertical':0x10,'paddingHorizontal':0x20,'borderRadius':0x10,'backgroundColor':_0x51aa(0x91),'borderWidth':0x1,'borderColor':'#000'},'darkFooterButtonConfirm':{'backgroundColor':_0x51aa(0x91),'borderColor':_0x51aa(0x91)},'footerButtonText':{'color':_0x51aa(0x16),'fontSize':0x10},'footerButtonTextConfirm':{'color':'#000','fontSize':0x10,'fontWeight':_0x51aa(0x9a)},'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 _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 +1 @@
1
- import React,{useEffect,useRef,useState}from'react';import{View,StyleSheet}from'react-native';function _0x3353(_0x21578d,_0x335305){_0x21578d=_0x21578d-0x0;const _0x37f7c8=_0x2157();let _0x34b62e=_0x37f7c8[_0x21578d];return _0x34b62e;}function _0x2157(){const _0x4d4928=['contain','EBvAE','RdAsS','mktXo','mMTwU','CNpvP','lCjHr','shGto','SNmzs','SpGHh','pFaeA','OWKVK','GYoGG','split','current','Caqqt','NyVuy','ZbNPJ','now','Pzomq','sPLHg','ohjXU','GuqdW','VPjJu','CXsYw','sQadv','createElement','container','persona','animation','center'];_0x2157=function(){return _0x4d4928;};return _0x2157();}import _0x1109c4 from'lottie-react-native';import{ANIMATIONS}from'../utils/assetRegistry';const PersonaImage=({level:_0x1635c3,style:_0x54b077,disableAnimation:disableAnimation=![]})=>{const _0x42818f={'sQadv':function(_0x1cadd9,_0x1d35f6){return _0x1cadd9!==_0x1d35f6;},'EBvAE':function(_0xf942be,_0x23e8f6){return _0xf942be(_0x23e8f6);},'lCjHr':function(_0x5a646a,_0x5cf5b0){return _0x5a646a-_0x5cf5b0;},'shGto':function(_0x5b354e,_0x3948ae){return _0x5b354e/_0x3948ae;},'SNmzs':function(_0x21ad5e,_0x2cf8a4){return _0x21ad5e*_0x2cf8a4;},'nRdaG':function(_0x8f449c,_0x39490f){return _0x8f449c+_0x39490f;},'SpGHh':function(_0x1ddb52,_0x523f4d){return _0x1ddb52-_0x523f4d;},'pFaeA':function(_0x30141a,_0x12533b){return _0x30141a(_0x12533b);},'OWKVK':function(_0x50e56c,_0x4e71f4){return _0x50e56c<_0x4e71f4;},'GYoGG':'1|3|4|2|0','Caqqt':function(_0xd9ee85,_0x4d9c31){return _0xd9ee85(_0x4d9c31);},'NyVuy':function(_0x1cd05b,_0x207105){return _0x1cd05b===_0x207105;},'ZbNPJ':function(_0x403326,_0x4e529d){return _0x403326!==_0x4e529d;},'RdAsS':function(_0x497bfd,_0x2d42d0){return _0x497bfd(_0x2d42d0);},'CUBdI':function(_0x282986,_0x1a03c5,_0x3f766e){return _0x282986(_0x1a03c5,_0x3f766e);},'mktXo':function(_0x50612d,_0x5cb2ff){return _0x50612d(_0x5cb2ff);},'mMTwU':function(_0x481472,_0x1fcf10){return _0x481472(_0x1fcf10);},'CNpvP':function(_0x220b03,_0x37f79b){return _0x220b03(_0x37f79b);},'MsXCx':_0x3353(0x0)},_0x1fe451=_0x42818f[_0x3353(0x1)](useRef,null),_0x477911=[0x0,0.2,0.35,0.52,0.8],_0x4acebe=_0x13cdcc=>_0x477911[_0x13cdcc-0x1]||0x0,[_0x64b056,_0x1a7467]=_0x42818f[_0x3353(0x2)](useState,_0x42818f[_0x3353(0x1)](_0x4acebe,_0x1635c3)),_0x23cdcb=useRef(_0x42818f[_0x3353(0x2)](_0x4acebe,_0x1635c3)),_0x58b2d2=_0x42818f[_0x3353(0x3)](useRef,_0x1635c3),_0x495f47=_0x42818f[_0x3353(0x3)](useRef,null),_0x27d6b2=_0x42818f[_0x3353(0x4)](useRef,null),_0x451605=_0x42818f[_0x3353(0x5)](useRef,!![]);return useEffect(()=>{const _0x7e9778={'rRLoz':function(_0x491622,_0x63e834){return _0x42818f[_0x3353(0x6)](_0x491622,_0x63e834);},'lYOmd':function(_0x47ff96,_0x290161){return _0x42818f[_0x3353(0x7)](_0x47ff96,_0x290161);},'Pzomq':function(_0x6d3213,_0xbeb38c){return _0x6d3213<_0xbeb38c;},'sPLHg':function(_0x4956f2,_0x4d0261){return _0x42818f[_0x3353(0x8)](_0x4956f2,_0x4d0261);},'ohjXU':function(_0x4f0046,_0x5f4e19){return _0x42818f['nRdaG'](_0x4f0046,_0x5f4e19);},'GuqdW':function(_0x3727f5,_0x53772a){return _0x42818f[_0x3353(0x8)](_0x3727f5,_0x53772a);},'exXFZ':function(_0x343919,_0x2ad001){return _0x42818f[_0x3353(0x9)](_0x343919,_0x2ad001);},'VPjJu':function(_0x3c2a01,_0x4b8734){return _0x42818f[_0x3353(0xa)](_0x3c2a01,_0x4b8734);},'CXsYw':function(_0x1977b5,_0x328cee){return _0x42818f[_0x3353(0xb)](_0x1977b5,_0x328cee);}},_0x1c5ae0=_0x4acebe(_0x1635c3);if(_0x451605['current']){const _0x2bfd07=_0x42818f[_0x3353(0xc)][_0x3353(0xd)]('|');let _0x2bcdf9=0x0;while(!![]){switch(_0x2bfd07[_0x2bcdf9++]){case'0':return;case'1':_0x23cdcb[_0x3353(0xe)]=_0x1c5ae0;continue;case'2':_0x451605[_0x3353(0xe)]=![];continue;case'3':_0x42818f[_0x3353(0xf)](_0x1a7467,_0x1c5ae0);continue;case'4':_0x58b2d2[_0x3353(0xe)]=_0x1635c3;continue;}break;}}if(disableAnimation){_0x23cdcb[_0x3353(0xe)]=_0x1c5ae0,_0x42818f['Caqqt'](_0x1a7467,_0x1c5ae0),_0x58b2d2[_0x3353(0xe)]=_0x1635c3;return;}if(_0x42818f[_0x3353(0x10)](_0x58b2d2[_0x3353(0xe)],_0x1635c3))return;_0x42818f[_0x3353(0x11)](_0x495f47['current'],null)&&(_0x42818f[_0x3353(0xf)](cancelAnimationFrame,_0x495f47['current']),_0x495f47[_0x3353(0xe)]=null);_0x27d6b2['current']!==null&&(_0x42818f['RdAsS'](clearTimeout,_0x27d6b2['current']),_0x27d6b2[_0x3353(0xe)]=null);const _0x220725=0x96,_0x119f5a=0xc80;return _0x27d6b2[_0x3353(0xe)]=_0x42818f['CUBdI'](setTimeout,()=>{const _0x4ffc4b=_0x23cdcb[_0x3353(0xe)],_0xf90629=Date[_0x3353(0x12)](),_0x298df8=()=>{const _0x134675=_0x7e9778['rRLoz'](Date['now'](),_0xf90629),_0x42e2fc=Math['min'](_0x7e9778['lYOmd'](_0x134675,_0x119f5a),0x1),_0x243984=_0x7e9778[_0x3353(0x13)](_0x42e2fc,0.5)?_0x7e9778[_0x3353(0x14)](_0x7e9778[_0x3353(0x14)](0x2,_0x42e2fc),_0x42e2fc):_0x7e9778[_0x3353(0x15)](-0x1,_0x7e9778['rRLoz'](0x4,0x2*_0x42e2fc)*_0x42e2fc),_0x38de4b=_0x7e9778[_0x3353(0x15)](_0x4ffc4b,_0x7e9778[_0x3353(0x16)](_0x7e9778['exXFZ'](_0x1c5ae0,_0x4ffc4b),_0x243984));_0x23cdcb[_0x3353(0xe)]=_0x38de4b,_0x7e9778[_0x3353(0x17)](_0x1a7467,_0x38de4b),_0x7e9778[_0x3353(0x18)](_0x42e2fc,0x1)?_0x495f47['current']=_0x7e9778['VPjJu'](requestAnimationFrame,_0x298df8):_0x495f47[_0x3353(0xe)]=null;};_0x495f47['current']=_0x7e9778[_0x3353(0x17)](requestAnimationFrame,_0x298df8);},_0x220725),_0x58b2d2[_0x3353(0xe)]=_0x1635c3,()=>{_0x42818f[_0x3353(0x19)](_0x495f47['current'],null)&&(_0x42818f[_0x3353(0x1)](cancelAnimationFrame,_0x495f47[_0x3353(0xe)]),_0x495f47[_0x3353(0xe)]=null),_0x42818f[_0x3353(0x19)](_0x27d6b2[_0x3353(0xe)],null)&&(clearTimeout(_0x27d6b2[_0x3353(0xe)]),_0x27d6b2[_0x3353(0xe)]=null);};},[_0x1635c3,disableAnimation]),React[_0x3353(0x1a)](View,{'style':[styles[_0x3353(0x1b)],_0x54b077]},React['createElement'](_0x1109c4,{'ref':_0x1fe451,'source':ANIMATIONS[_0x3353(0x1c)],'progress':_0x64b056,'loop':![],'autoPlay':![],'style':styles[_0x3353(0x1d)],'resizeMode':_0x42818f['MsXCx']}));},styles=StyleSheet['create']({'container':{'width':0xc8,'height':0xc8,'alignItems':_0x3353(0x1e),'justifyContent':'center'},'animation':{'width':'100%','height':'100%'}});export default PersonaImage;
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 +1 @@
1
- import React,{useEffect,useRef,useState}from'react';import{View,Text,StyleSheet,Animated}from'react-native';import _0x5df13c from'lottie-react-native';import{COLORS}from'../theme';import{triggerHaptic,HapticType}from'../utils/haptics';import{ANIMATIONS}from'../utils/assetRegistry';function _0x4649(_0x3ebef3,_0x464957){_0x3ebef3=_0x3ebef3-0x0;const _0x4ff5bd=_0x3ebe();let _0x5c4c30=_0x4ff5bd[_0x3ebef3];return _0x5c4c30;}function _0x3ebe(){const _0x2c4e3f=['Keeping\x20your\x20data\x20private','Trying\x20to\x20understand\x20your\x20mind','Almost\x20done','Complete!','PgeFZ','CheEP','random','floor','MOawr','Gtkvc','PgHTx','AuFzL','esyOp','uTXRG','enxAp','short','medium','long','bONDt','jPNcT','Value','current','pMKWB','tDEbL','qaKQy','AWBdZ','vPhwb','lwSUG','nyxlE','uOhdf','ItMQr','timing','start','SUVsK','xdXyd','yPSgt','ssrBg','hACKd','forEach','IiyOa','setValue','BLbXE','AKGje','uOysH','Pvqlf','max','push','WsVdz','VVSZz','FMNxU','rPaGi','BKRBp','gPSbR','SlkdY','eMgRx','jotLm','map','minProgress','maxProgress','text','sort','progress','edsQn','iijVJ','KdnEU','xMIRl','NDlUh','length','ohVks','bGeaN','ACXrL','message','faxvO','OAHVz','SUCCESS','MfKWz','bmyWL','bhxcf','XrpLg','KDnni','container','createElement','content','loader','lottieAnimation','contain','loadingText','dot','Text','progressContainer','View','progressFill','interpolate','zNvJz','surface','center','IBM\x20Plex\x20Sans','600','grey800','100%','#E5E5E5','hidden'];_0x3ebe=function(){return _0x2c4e3f;};return _0x3ebe();}const STATUS_MESSAGES=[{'text':_0x4649(0x0),'minProgress':0x0,'maxProgress':0x19},{'text':_0x4649(0x1),'minProgress':0x14,'maxProgress':0x2d},{'text':'You\x27re\x20more\x20interesting\x20than\x20I\x20expected','minProgress':0x28,'maxProgress':0x41},{'text':'Finalizing\x20your\x20unique\x20persona','minProgress':0x3c,'maxProgress':0x55},{'text':_0x4649(0x2),'minProgress':0x50,'maxProgress':0x5f},{'text':_0x4649(0x3),'minProgress':0x64,'maxProgress':0x64}],randomInRange=(_0x2f2e1b,_0x266b92)=>{const _0x1ee9fe={'PgeFZ':function(_0x5f8855,_0x157498){return _0x5f8855+_0x157498;},'CheEP':function(_0xb388e7,_0x2c99f4){return _0xb388e7*_0x2c99f4;}};return _0x1ee9fe[_0x4649(0x4)](_0x1ee9fe[_0x4649(0x5)](Math[_0x4649(0x6)](),_0x266b92-_0x2f2e1b),_0x2f2e1b);},randomIntInRange=(_0x56f48a,_0x1388d6)=>{const _0x4b058c={'MOawr':function(_0x363e75,_0x4b944d,_0x5f29e2){return _0x363e75(_0x4b944d,_0x5f29e2);},'Gtkvc':function(_0x466358,_0x58abf8){return _0x466358+_0x58abf8;}};return Math[_0x4649(0x7)](_0x4b058c[_0x4649(0x8)](randomInRange,_0x56f48a,_0x4b058c[_0x4649(0x9)](_0x1388d6,0x1)));},PersonaLoadingScreen=({visible:_0x2d912d,onComplete:_0x2bc99b})=>{const _0x3c921c={'uOhdf':function(_0x507e0c,_0x3c43c0,_0x1cb293){return _0x507e0c(_0x3c43c0,_0x1cb293);},'nMJTB':_0x4649(0xa),'nyxlE':_0x4649(0xb),'xdXyd':function(_0x34344c,_0x197a0e,_0xb4fd26){return _0x34344c(_0x197a0e,_0xb4fd26);},'ssrBg':function(_0x4c83d7,_0x789621){return _0x4c83d7===_0x789621;},'ACXrL':function(_0x16322a,_0x311301){return _0x16322a(_0x311301);},'KdnEU':function(_0x4efe2c,_0x11ab24){return _0x4efe2c!==_0x11ab24;},'xMIRl':_0x4649(0xc),'rPaGi':function(_0x270521,_0x33b278){return _0x270521<_0x33b278;},'ohVks':function(_0x315cb0,_0x4353df){return _0x315cb0>=_0x4353df;},'htPpy':_0x4649(0xd),'bGeaN':_0x4649(0xe),'qaKQy':function(_0x12b723,_0x3946ff){return _0x12b723(_0x3946ff);},'faxvO':function(_0x597437,_0x1feda1){return _0x597437/_0x1feda1;},'OAHVz':'DnqHP','MfKWz':function(_0x405571,_0xc41487,_0x898e44){return _0x405571(_0xc41487,_0x898e44);},'yPSgt':function(_0x2cd62c,_0x2cffa2,_0x3bac4d){return _0x2cd62c(_0x2cffa2,_0x3bac4d);},'vPhwb':function(_0x565dbf,_0x5b6a6a){return _0x565dbf(_0x5b6a6a);},'BrhOI':function(_0x4d4b88){return _0x4d4b88();},'hACKd':function(_0x243fdb,_0x1ad38e,_0x13da87){return _0x243fdb(_0x1ad38e,_0x13da87);},'IiyOa':function(_0xe6115e,_0x4daaed){return _0xe6115e(_0x4daaed);},'BLbXE':function(_0x16d97f,_0x5893af){return _0x16d97f-_0x5893af;},'eJtfX':function(_0x158ed9,_0x4b39cb){return _0x158ed9-_0x4b39cb;},'Pvqlf':function(_0x4ed787,_0x2d203e){return _0x4ed787*_0x2d203e;},'AKGje':function(_0x477e43,_0x49179f){return _0x477e43+_0x49179f;},'uOysH':function(_0x5d908e,_0x26db74){return _0x5d908e/_0x26db74;},'WsVdz':_0x4649(0xf),'VVSZz':_0x4649(0x10),'FMNxU':_0x4649(0x11),'aSvxB':function(_0x1086a0,_0x231f39){return _0x1086a0===_0x231f39;},'gPSbR':function(_0x21a9f5,_0x449137,_0x34a666){return _0x21a9f5(_0x449137,_0x34a666);},'SlkdY':function(_0x40cba3,_0x2abbaf){return _0x40cba3===_0x2abbaf;},'GMQGS':function(_0x26ab81,_0x107dd4,_0x10df25){return _0x26ab81(_0x107dd4,_0x10df25);},'eMgRx':function(_0x1dca3f,_0x508b93,_0x424b4d){return _0x1dca3f(_0x508b93,_0x424b4d);},'jotLm':function(_0x42fd0f,_0x2b5d7f){return _0x42fd0f/_0x2b5d7f;},'edsQn':function(_0x2d6128,_0x4d9c60){return _0x2d6128<=_0x4d9c60;},'Phbrz':function(_0x101e2a,_0x34b5c0){return _0x101e2a!==_0x34b5c0;},'znOTr':_0x4649(0x12),'iijVJ':_0x4649(0x13),'pMKWB':function(_0x525f7f,_0x343bde){return _0x525f7f(_0x343bde);},'tDEbL':function(_0x54033d,_0x2b0ad8){return _0x54033d(_0x2b0ad8);},'AWBdZ':_0x4649(0x0),'lwSUG':function(_0x396d4c,_0x16065d,_0x2e004e){return _0x396d4c(_0x16065d,_0x2e004e);},'IrgAw':function(_0x5d698f,_0x264905,_0x2c5e85){return _0x5d698f(_0x264905,_0x2c5e85);},'zNvJz':'100%'},_0x22360d=useRef(new Animated[(_0x4649(0x14))](0x0))[_0x4649(0x15)],_0x16904d=useRef(new Animated['Value'](0.3))[_0x4649(0x15)],_0x464312=_0x3c921c[_0x4649(0x16)](useRef,new Animated[(_0x4649(0x14))](0.3))['current'],_0x40905f=_0x3c921c[_0x4649(0x17)](useRef,new Animated[(_0x4649(0x14))](0.3))[_0x4649(0x15)],[_0x1e7b26,_0x566ce8]=_0x3c921c[_0x4649(0x18)](useState,0x0),[_0x58edb5,_0x403064]=useState(_0x3c921c[_0x4649(0x19)]),_0x20d301=_0x3c921c[_0x4649(0x1a)](useRef,[]);_0x3c921c[_0x4649(0x1b)](useEffect,()=>{const _0x310225={'ItMQr':_0x3c921c['nMJTB'],'QHYXI':_0x3c921c[_0x4649(0x1c)],'SUVsK':function(_0xf8b2a0,_0x22b823,_0x13bfba){return _0x3c921c[_0x4649(0x1d)](_0xf8b2a0,_0x22b823,_0x13bfba);}};if(!_0x2d912d)return;const _0x1b1d12=(_0xc4b3a0,_0x25c688)=>{if(_0x310225[_0x4649(0x1e)]!==_0x310225['QHYXI'])return Animated['loop'](Animated['sequence']([Animated[_0x4649(0x1f)](_0xc4b3a0,{'toValue':0x1,'duration':0x258,'useNativeDriver':!![]}),Animated['timing'](_0xc4b3a0,{'toValue':0.3,'duration':0x258,'useNativeDriver':!![]})]),{'iterations':-0x1});else _0x1ce1b8(_0x2477ad,0x190)[_0x4649(0x20)]();};_0x3c921c[_0x4649(0x1d)](setTimeout,()=>{_0x310225[_0x4649(0x21)](_0x1b1d12,_0x16904d,0x0)[_0x4649(0x20)]();},0x12c),_0x3c921c['uOhdf'](setTimeout,()=>{_0x310225[_0x4649(0x21)](_0x1b1d12,_0x464312,0xc8)[_0x4649(0x20)]();},0x1f4),_0x3c921c[_0x4649(0x22)](setTimeout,()=>{_0x3c921c[_0x4649(0x1d)](_0x1b1d12,_0x40905f,0x190)[_0x4649(0x20)]();},0x2bc);},[_0x2d912d,_0x16904d,_0x464312,_0x40905f]),_0x3c921c['IrgAw'](useEffect,()=>{const _0x37d6b2={'BKRBp':function(_0x55a98a,_0x6fe192,_0x449dc3){return _0x3c921c[_0x4649(0x23)](_0x55a98a,_0x6fe192,_0x449dc3);},'bmyWL':function(_0x1de7e6,_0x117ffc){return _0x3c921c['vPhwb'](_0x1de7e6,_0x117ffc);},'bhxcf':function(_0x171a3e){return _0x3c921c['BrhOI'](_0x171a3e);},'XrpLg':function(_0x5cb606,_0x1636cc){return _0x3c921c[_0x4649(0x24)](_0x5cb606,_0x1636cc);},'KDnni':function(_0x4d390e,_0x237b41,_0x47fc77){return _0x3c921c[_0x4649(0x25)](_0x4d390e,_0x237b41,_0x47fc77);}};if(!_0x2d912d){_0x20d301['current'][_0x4649(0x26)](_0x135a36=>clearTimeout(_0x135a36)),_0x20d301['current']=[];return;}_0x3c921c[_0x4649(0x27)](_0x566ce8,0x0),_0x3c921c[_0x4649(0x18)](_0x403064,'Keeping\x20your\x20data\x20private'),_0x22360d[_0x4649(0x28)](0x0);const _0x64dc9c=_0x3c921c[_0x4649(0x25)](randomInRange,0x1b58,0x2ee0),_0x3f9b15=randomIntInRange(0x5,0x8),_0x20daa6=[0x0];for(let _0x3acc13=0x0;_0x3acc13<_0x3c921c[_0x4649(0x29)](_0x3f9b15,0x1);_0x3acc13++){const _0x405e16=_0x3c921c['eJtfX'](_0x3c921c['Pvqlf'](_0x3c921c[_0x4649(0x2a)](_0x3acc13,0x1),_0x3c921c[_0x4649(0x2b)](0x64,_0x3f9b15)),0xa),_0x420792=_0x3c921c[_0x4649(0x2c)](_0x3c921c['AKGje'](_0x3acc13,0x1),_0x3c921c['faxvO'](0x64,_0x3f9b15))+0xa;_0x20daa6['push'](_0x3c921c[_0x4649(0x22)](randomIntInRange,Math[_0x4649(0x2d)](0xa,_0x405e16),Math['min'](0x5a,_0x420792)));}_0x20daa6[_0x4649(0x2e)](0x64),_0x20daa6['sort']((_0xce663a,_0x4a5ed5)=>_0xce663a-_0x4a5ed5);const _0x42b4c5=[_0x3c921c[_0x4649(0x2f)],_0x3c921c[_0x4649(0x30)],_0x3c921c[_0x4649(0x31)]],_0x427704=[];let _0x3900de=0x0;for(let _0x52993f=0x0;_0x3c921c[_0x4649(0x32)](_0x52993f,_0x3f9b15);_0x52993f++){if(_0x3c921c['aSvxB']('PfuJQ','XnjXv'))_0x37d6b2[_0x4649(0x33)](_0x7f5bed,_0x4f933b,0xc8)[_0x4649(0x20)]();else{const _0x2ef0c8=_0x42b4c5[_0x3c921c[_0x4649(0x34)](randomIntInRange,0x0,0x2)];let _0x5bd246;if(_0x3c921c[_0x4649(0x35)](_0x2ef0c8,_0x3c921c[_0x4649(0x2f)]))_0x5bd246=_0x3c921c['GMQGS'](randomInRange,0xfa,0x1f4);else _0x3c921c['SlkdY'](_0x2ef0c8,_0x3c921c[_0x4649(0x30)])?_0x5bd246=_0x3c921c[_0x4649(0x36)](randomInRange,0x1f4,0x320):_0x5bd246=randomInRange(0x320,0x4b0);_0x427704[_0x4649(0x2e)](_0x5bd246),_0x3900de+=_0x5bd246;}}const _0x5931d5=0x190,_0x13d176=_0x3c921c[_0x4649(0x2c)](_0x3f9b15,_0x5931d5),_0x53421c=_0x64dc9c-_0x13d176,_0x1eae84=_0x3c921c[_0x4649(0x37)](_0x53421c,_0x3900de),_0x40181a=_0x427704[_0x4649(0x38)](_0x34b0b8=>_0x34b0b8*_0x1eae84),_0x1ce7b7=[];STATUS_MESSAGES[_0x4649(0x26)](_0x53af1b=>{if(_0x3c921c[_0x4649(0x24)](_0x53af1b[_0x4649(0x39)],0x64))_0x1ce7b7[_0x4649(0x2e)]({'progress':0x64,'message':_0x53af1b['text']});else{const _0x2a21b9=randomInRange(_0x53af1b[_0x4649(0x39)],_0x53af1b[_0x4649(0x3a)]);_0x1ce7b7[_0x4649(0x2e)]({'progress':_0x2a21b9,'message':_0x53af1b[_0x4649(0x3b)]});}}),_0x1ce7b7[_0x4649(0x3c)]((_0x3001c1,_0x205a82)=>_0x3001c1[_0x4649(0x3d)]-_0x205a82['progress']);let _0x47df4e=0x0,_0x116677=0x0;for(let _0x45f824=0x1;_0x3c921c[_0x4649(0x3e)](_0x45f824,_0x3f9b15);_0x45f824++){if(_0x3c921c['Phbrz'](_0x3c921c['znOTr'],_0x3c921c[_0x4649(0x3f)])){const _0x44a3df=_0x20daa6[_0x45f824],_0x484af6=_0x40181a[_0x45f824-0x1];_0x47df4e+=_0x484af6;const _0x309ec1=setTimeout(()=>{const _0x311979={'pRsyZ':function(_0x5f03b3,_0x537a6c){return _0x3c921c['ACXrL'](_0x5f03b3,_0x537a6c);}};if(_0x3c921c[_0x4649(0x40)](_0x3c921c[_0x4649(0x41)],_0x4649(0x42))){while(_0x3c921c[_0x4649(0x32)](_0x116677,_0x1ce7b7[_0x4649(0x43)])&&_0x3c921c[_0x4649(0x44)](_0x44a3df,_0x1ce7b7[_0x116677]['progress'])){_0x3c921c[_0x4649(0x40)](_0x3c921c['htPpy'],_0x3c921c[_0x4649(0x45)])?(_0x3c921c[_0x4649(0x46)](_0x403064,_0x1ce7b7[_0x116677][_0x4649(0x47)]),_0x116677++):(_0x3a46dd[_0x4649(0x15)][_0x4649(0x26)](_0x57d041=>_0x45943f(_0x57d041)),_0x5180ec[_0x4649(0x15)]=[]);}_0x3c921c[_0x4649(0x18)](_0x566ce8,_0x44a3df),Animated[_0x4649(0x1f)](_0x22360d,{'toValue':_0x3c921c[_0x4649(0x48)](_0x44a3df,0x64),'duration':_0x5931d5,'useNativeDriver':![]})[_0x4649(0x20)]();if(_0x3c921c['ohVks'](_0x44a3df,0x64)){if(_0x3c921c['KdnEU'](_0x3c921c[_0x4649(0x49)],_0x3c921c[_0x4649(0x49)])){const _0xd4eaa9={'dhmyk':function(_0x43404b,_0x333939){return _0x311979['pRsyZ'](_0x43404b,_0x333939);}};_0x120111(()=>{_0xd4eaa9['dhmyk'](_0x2dce37,_0xdff9f4[_0x4649(0x4a)]),_0x55ae7d();},0x1f4);}else _0x3c921c[_0x4649(0x4b)](setTimeout,()=>{_0x37d6b2[_0x4649(0x4c)](triggerHaptic,HapticType[_0x4649(0x4a)]),_0x37d6b2[_0x4649(0x4d)](_0x2bc99b);},0x1f4);}}else _0x2c0959[_0x4649(0x2e)]({'progress':0x64,'message':_0x39e8db[_0x4649(0x3b)]});},_0x47df4e);_0x20d301[_0x4649(0x15)][_0x4649(0x2e)](_0x309ec1),_0x47df4e+=_0x5931d5;}else{if(_0x37d6b2[_0x4649(0x4e)](_0x4f6acd[_0x4649(0x39)],0x64))_0x10c22d['push']({'progress':0x64,'message':_0x42fc7e[_0x4649(0x3b)]});else{const _0x505f86=_0x37d6b2[_0x4649(0x4f)](_0xb72d39,_0x13ebbf[_0x4649(0x39)],_0x5a47ee['maxProgress']);_0x21fe37[_0x4649(0x2e)]({'progress':_0x505f86,'message':_0x1de778[_0x4649(0x3b)]});}}}return()=>{_0x20d301['current'][_0x4649(0x26)](_0x1ba6cf=>clearTimeout(_0x1ba6cf)),_0x20d301[_0x4649(0x15)]=[];};},[_0x2d912d,_0x2bc99b,_0x22360d]);if(!_0x2d912d)return null;return React['createElement'](View,{'style':styles[_0x4649(0x50)]},React[_0x4649(0x51)](View,{'style':styles[_0x4649(0x52)]},React['createElement'](View,{'style':styles['lottieContainer']},React[_0x4649(0x51)](_0x5df13c,{'source':ANIMATIONS[_0x4649(0x53)],'autoPlay':!![],'loop':!![],'style':styles[_0x4649(0x54)],'resizeMode':_0x4649(0x55)})),React[_0x4649(0x51)](View,{'style':styles['textContainer']},React[_0x4649(0x51)](Text,{'style':styles[_0x4649(0x56)]},_0x58edb5),React['createElement'](View,{'style':styles['dotsContainer']},React[_0x4649(0x51)](Animated['Text'],{'style':[styles[_0x4649(0x57)],{'opacity':_0x16904d}]},'.'),React[_0x4649(0x51)](Animated[_0x4649(0x58)],{'style':[styles['dot'],{'opacity':_0x464312}]},'.'),React[_0x4649(0x51)](Animated[_0x4649(0x58)],{'style':[styles[_0x4649(0x57)],{'opacity':_0x40905f}]},'.'))),React['createElement'](View,{'style':styles[_0x4649(0x59)]},React[_0x4649(0x51)](View,{'style':styles['progressTrack']},React['createElement'](Animated[_0x4649(0x5a)],{'style':[styles[_0x4649(0x5b)],{'width':_0x22360d[_0x4649(0x5c)]({'inputRange':[0x0,0x1],'outputRange':['0%',_0x3c921c[_0x4649(0x5d)]]})}]})))));},styles=StyleSheet['create']({'container':{'flex':0x1,'backgroundColor':COLORS[_0x4649(0x5e)]},'content':{'flex':0x1,'justifyContent':'center','alignItems':'center','paddingHorizontal':0x18,'marginTop':-0x50},'lottieContainer':{'width':0x168,'height':0x168,'marginBottom':0x20,'alignItems':_0x4649(0x5f),'justifyContent':_0x4649(0x5f)},'lottieAnimation':{'width':'100%','height':'100%'},'textContainer':{'flexDirection':'row','alignItems':_0x4649(0x5f),'marginBottom':0x30},'loadingText':{'fontSize':0x18,'fontFamily':_0x4649(0x60),'fontWeight':_0x4649(0x61),'color':COLORS[_0x4649(0x62)]},'dotsContainer':{'flexDirection':'row','marginLeft':0x4},'dot':{'fontSize':0x18,'fontFamily':'IBM\x20Plex\x20Sans','fontWeight':'600','color':COLORS[_0x4649(0x62)],'marginLeft':0x2},'progressContainer':{'width':_0x4649(0x63),'maxWidth':0x118},'progressTrack':{'height':0x6,'backgroundColor':_0x4649(0x64),'borderRadius':0x3,'overflow':_0x4649(0x65)},'progressFill':{'height':_0x4649(0x63),'backgroundColor':COLORS['grey800'],'borderRadius':0x3}});export default PersonaLoadingScreen;
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 +1 @@
1
- function _0x4567(){const _0x4e441b=['RRrQk','NnHbl','basicProfile','tLLYH','jgFsJ','contain','Welcome\x20back!','Choose\x20what\x20to\x20share:','#4CD964','Connected\x20Platforms','Decline','cXGpt','eiUHm','uPtEC','BUTTON_PRESS','wChdD','MqBaV','values','createElement','container','scrollContent','headerContainer','iconContainer','headerIcon','arrow','enochAppIcon','yUtYG','titleContainer','welcomeBackText','uJPJw','title','\x20wants\x20to\x20personalize\x20your\x20experience','UQOkw','optionRow','grey700','optionIcon','grey800','optionText','checkboxContainer','iRgtM','checkbox','grey400','contentAnalysis','optionLeft','personalityProfile','connectedPlatformsSection','connectedPlatformsTitle','vhaXX','connectedPlatformsIcons','connectedPlatformIcon','connectMoreButton','CIRlA','connectMoreText','connectMorePlusCircle','connectMorePlus','buttonContainer','acceptButtonActive','acceptButtonLoading','PuUAw','UCzCA','xIIjx','acceptButtonText','acceptButtonTextActive','Accept\x20&\x20Continue','buttonArrow','buttonArrowActive','Sfgfp','IaZYm','LZmmO','yCZNy','declineButtonText','create','surface','row','center','#FFFFFF','#000','700','IBM\x20Plex\x20Sans','600','Inter','grey600','#F8F9FA','#2D3436','#999999','#E5E5E5','500','400','grey500','underline'];_0x4567=function(){return _0x4e441b;};return _0x4567();}import React,{useState}from'react';import{View,Text,StyleSheet,TouchableOpacity,Image,ScrollView,ActivityIndicator}from'react-native';import{COLORS}from'../theme';import{triggerHaptic,HapticType}from'../utils/haptics';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:_0x8b1eb6,onAccept:_0x11a2aa,onDecline:_0x441f1c,loading:loading=![],connectedPlatforms:connectedPlatforms=[],onConnectMore:_0x34b3ee,isReturningUser:isReturningUser=![],appName:appName='Enoch',onLogout:_0x2c188d})=>{const _0x417c37={'uPtEC':function(_0x3c8ad9,_0x4b9e58){return _0x3c8ad9(_0x4b9e58);},'gYSqB':function(_0x51fab1,_0x44412e){return _0x51fab1===_0x44412e;},'cXGpt':_0xa86f(0x0),'eiUHm':_0xa86f(0x1),'wChdD':function(_0x2de893,_0x43227b){return _0x2de893===_0x43227b;},'MqBaV':_0xa86f(0x2),'CIRlA':function(_0x15076c,_0x5c27be){return _0x15076c(_0x5c27be);},'PuUAw':function(_0x22a926,_0x5dcab7){return _0x22a926===_0x5dcab7;},'UCzCA':_0xa86f(0x3),'LZmmO':function(_0x4b7f68,_0x2977d5){return _0x4b7f68(_0x2977d5);},'yCZNy':function(_0x119d76){return _0x119d76();},'Sfgfp':function(_0x2c6768,_0x3ab8f6){return _0x2c6768!==_0x3ab8f6;},'IaZYm':_0xa86f(0x4),'sALye':function(_0x16d219,_0x54d449){return _0x16d219(_0x54d449);},'yUtYG':_0xa86f(0x5),'uJPJw':_0xa86f(0x6),'UQOkw':_0xa86f(0x7),'iRgtM':_0xa86f(0x8),'vhaXX':_0xa86f(0x9),'xIIjx':'#FFFFFF','xTVDP':_0xa86f(0xa)},[_0x4a1c83,_0x447d1a]=_0x417c37['sALye'](useState,{'basicProfile':!![],'contentAnalysis':![],'personalityProfile':![]}),_0x55b4aa=_0x338093=>{if(_0x417c37['gYSqB'](_0x417c37[_0xa86f(0xb)],_0x417c37[_0xa86f(0xc)]))!_0x5c54eb&&(_0x417c37[_0xa86f(0xd)](_0x56fdcf,_0x5d1043[_0xa86f(0xe)]),_0x5992e7());else{if(_0x417c37[_0xa86f(0xf)](_0x338093,_0x417c37[_0xa86f(0x10)]))return;_0x417c37[_0xa86f(0xd)](triggerHaptic,HapticType['BUTTON_PRESS']),_0x417c37[_0xa86f(0xd)](_0x447d1a,_0x18da23=>({..._0x18da23,[_0x338093]:!_0x18da23[_0x338093]}));}},_0x356f52=Object[_0xa86f(0x11)](_0x4a1c83)['some'](_0x894722=>_0x894722);if(!_0x8b1eb6)return null;return React[_0xa86f(0x12)](View,{'style':styles[_0xa86f(0x13)]},React['createElement'](ScrollView,{'style':styles['scrollView'],'contentContainerStyle':styles[_0xa86f(0x14)],'showsVerticalScrollIndicator':![]},React[_0xa86f(0x12)](View,{'style':styles[_0xa86f(0x15)]},React[_0xa86f(0x12)](View,{'style':styles[_0xa86f(0x16)]},React[_0xa86f(0x12)](Image,{'source':BRAND_IMAGES['onairosLogo'],'style':styles[_0xa86f(0x17)],'resizeMode':_0x417c37['yUtYG']})),React[_0xa86f(0x12)](Text,{'style':styles[_0xa86f(0x18)]},'→'),React[_0xa86f(0x12)](Image,{'source':BRAND_IMAGES['enochIcon'],'style':styles[_0xa86f(0x19)],'resizeMode':_0x417c37[_0xa86f(0x1a)]})),React[_0xa86f(0x12)](View,{'style':styles[_0xa86f(0x1b)]},isReturningUser&&React[_0xa86f(0x12)](Text,{'style':styles[_0xa86f(0x1c)]},_0x417c37[_0xa86f(0x1d)]),React[_0xa86f(0x12)](Text,{'style':styles[_0xa86f(0x1e)]},appName,_0xa86f(0x1f)),React[_0xa86f(0x12)](Text,{'style':styles['subtitle']},_0x417c37[_0xa86f(0x20)])),React['createElement'](View,{'style':styles['optionsContainer']},React[_0xa86f(0x12)](TouchableOpacity,{'style':styles[_0xa86f(0x21)],'onPress':()=>_0x55b4aa(_0xa86f(0x2))},React[_0xa86f(0x12)](View,{'style':styles['optionLeft']},React[_0xa86f(0x12)](Basicproficon,{'width':0x20,'height':0x20,'fill':COLORS[_0xa86f(0x22)],'style':styles[_0xa86f(0x23)]}),React[_0xa86f(0x12)](Basicprofile,{'height':0x18,'fill':COLORS[_0xa86f(0x24)],'style':styles[_0xa86f(0x25)]})),React['createElement'](View,{'style':styles[_0xa86f(0x26)]},_0x4a1c83[_0xa86f(0x2)]?React[_0xa86f(0x12)](Checkmark,{'width':0x18,'height':0x18,'fill':_0x417c37[_0xa86f(0x27)],'style':styles[_0xa86f(0x28)]}):React['createElement'](Checkbox,{'width':0x18,'height':0x18,'stroke':COLORS[_0xa86f(0x29)],'style':styles['checkbox']}))),React['createElement'](TouchableOpacity,{'style':styles[_0xa86f(0x21)],'onPress':()=>_0x55b4aa(_0xa86f(0x2a))},React[_0xa86f(0x12)](View,{'style':styles[_0xa86f(0x2b)]},React['createElement'](Contenticon,{'width':0x20,'height':0x20,'fill':COLORS[_0xa86f(0x22)],'style':styles[_0xa86f(0x23)]}),React[_0xa86f(0x12)](Userpreferences,{'height':0x18,'fill':COLORS['grey800'],'style':styles[_0xa86f(0x25)]})),React[_0xa86f(0x12)](View,{'style':styles['checkboxContainer']},_0x4a1c83[_0xa86f(0x2a)]?React['createElement'](Checkmark,{'width':0x18,'height':0x18,'fill':_0xa86f(0x8),'style':styles[_0xa86f(0x28)]}):React['createElement'](Checkbox,{'width':0x18,'height':0x18,'stroke':COLORS[_0xa86f(0x29)],'style':styles[_0xa86f(0x28)]}))),React[_0xa86f(0x12)](TouchableOpacity,{'style':styles[_0xa86f(0x21)],'onPress':()=>_0x55b4aa(_0xa86f(0x2c))},React['createElement'](View,{'style':styles[_0xa86f(0x2b)]},React['createElement'](Personalityicon,{'width':0x20,'height':0x20,'fill':COLORS[_0xa86f(0x22)],'style':styles[_0xa86f(0x23)]}),React[_0xa86f(0x12)](Personalitytraits,{'height':0x18,'fill':COLORS['grey800'],'style':styles['optionText']})),React[_0xa86f(0x12)](View,{'style':styles[_0xa86f(0x26)]},_0x4a1c83[_0xa86f(0x2c)]?React[_0xa86f(0x12)](Checkmark,{'width':0x18,'height':0x18,'fill':_0x417c37[_0xa86f(0x27)],'style':styles[_0xa86f(0x28)]}):React[_0xa86f(0x12)](Checkbox,{'width':0x18,'height':0x18,'stroke':COLORS[_0xa86f(0x29)],'style':styles[_0xa86f(0x28)]})))),React[_0xa86f(0x12)](View,{'style':styles[_0xa86f(0x2d)]},React[_0xa86f(0x12)](Text,{'style':styles[_0xa86f(0x2e)]},_0x417c37[_0xa86f(0x2f)]),connectedPlatforms['length']>0x0&&React[_0xa86f(0x12)](View,{'style':styles[_0xa86f(0x30)]},connectedPlatforms['map'](_0x5b6dfc=>React[_0xa86f(0x12)](View,{'key':_0x5b6dfc,'style':styles['connectedPlatformIconContainer']},React[_0xa86f(0x12)](Image,{'source':getPlatformIcon(_0x5b6dfc),'style':styles[_0xa86f(0x31)],'resizeMode':'contain'})))),_0x34b3ee&&React[_0xa86f(0x12)](TouchableOpacity,{'style':styles[_0xa86f(0x32)],'onPress':()=>{_0x417c37[_0xa86f(0x33)](triggerHaptic,HapticType[_0xa86f(0xe)]),_0x34b3ee();}},React[_0xa86f(0x12)](Text,{'style':styles[_0xa86f(0x34)]},'Connect\x20more'),React[_0xa86f(0x12)](View,{'style':styles[_0xa86f(0x35)]},React[_0xa86f(0x12)](Text,{'style':styles[_0xa86f(0x36)]},'+')))),React[_0xa86f(0x12)](View,{'style':styles[_0xa86f(0x37)]},React[_0xa86f(0x12)](TouchableOpacity,{'style':[styles['acceptButton'],_0x356f52&&styles[_0xa86f(0x38)],loading&&styles[_0xa86f(0x39)]],'onPress':()=>{const _0x2d96c1={'DRIPr':function(_0x1363d5,_0x2d018f){return _0x417c37[_0xa86f(0x33)](_0x1363d5,_0x2d018f);}};!loading&&(_0x417c37[_0xa86f(0x3a)](_0x417c37['UCzCA'],_0x417c37[_0xa86f(0x3b)])?(_0x417c37[_0xa86f(0x33)](triggerHaptic,HapticType[_0xa86f(0xe)]),_0x11a2aa()):(_0x2d96c1['DRIPr'](_0x193d65,_0x4275f5[_0xa86f(0xe)]),_0x35798d()));},'disabled':loading,'activeOpacity':loading?0x1:0.7},loading?React[_0xa86f(0x12)](ActivityIndicator,{'size':'small','color':_0x417c37[_0xa86f(0x3c)]}):React[_0xa86f(0x12)](React['Fragment'],null,React[_0xa86f(0x12)](Text,{'style':[styles[_0xa86f(0x3d)],_0x356f52&&styles[_0xa86f(0x3e)]]},_0xa86f(0x3f)),React['createElement'](Text,{'style':[styles[_0xa86f(0x40)],_0x356f52&&styles[_0xa86f(0x41)]]},'→'))),React[_0xa86f(0x12)](TouchableOpacity,{'style':styles['declineButton'],'onPress':()=>{_0x417c37[_0xa86f(0x42)](_0x417c37[_0xa86f(0x43)],_0xa86f(0x4))?(_0x417c37[_0xa86f(0x44)](_0xdd5105,_0x4be94c[_0xa86f(0xe)]),_0x417c37[_0xa86f(0x45)](_0x4b57c2)):(_0x417c37[_0xa86f(0x44)](triggerHaptic,HapticType[_0xa86f(0xe)]),_0x441f1c());}},React[_0xa86f(0x12)](Text,{'style':styles[_0xa86f(0x46)]},_0x417c37['xTVDP'])))));},styles=StyleSheet[_0xa86f(0x47)]({'container':{'flex':0x1,'backgroundColor':COLORS[_0xa86f(0x48)],'paddingHorizontal':0x18,'paddingTop':0x28,'paddingBottom':0x8},'headerContainer':{'flexDirection':_0xa86f(0x49),'alignItems':_0xa86f(0x4a),'justifyContent':_0xa86f(0x4a),'marginBottom':0xc,'marginTop':0x0},'iconContainer':{'width':0x40,'height':0x40,'backgroundColor':_0xa86f(0x4b),'borderRadius':0xc,'alignItems':'center','justifyContent':'center','marginHorizontal':0x8,'shadowColor':_0xa86f(0x4c),'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':'IBM\x20Plex\x20Sans','fontWeight':_0xa86f(0x4d),'color':COLORS['grey800']},'arrow':{'fontSize':0x18,'color':COLORS['grey600'],'marginHorizontal':0x10},'titleContainer':{'alignItems':_0xa86f(0x4a),'marginBottom':0x8},'welcomeBackText':{'fontSize':0x18,'fontFamily':_0xa86f(0x4e),'fontWeight':_0xa86f(0x4d),'color':COLORS['grey800'],'textAlign':_0xa86f(0x4a),'marginBottom':0x2},'title':{'fontSize':0x14,'fontFamily':_0xa86f(0x4e),'fontWeight':_0xa86f(0x4f),'color':COLORS[_0xa86f(0x24)],'textAlign':_0xa86f(0x4a),'marginBottom':0xa},'subtitle':{'fontSize':0x10,'fontFamily':_0xa86f(0x50),'fontWeight':'400','color':COLORS[_0xa86f(0x51)],'textAlign':_0xa86f(0x4a)},'scrollView':{'flex':0x1},'scrollContent':{'flexGrow':0x1},'optionsContainer':{'marginBottom':0x8},'optionRow':{'flexDirection':_0xa86f(0x49),'alignItems':'center','justifyContent':'space-between','paddingVertical':0xc,'paddingHorizontal':0x2,'backgroundColor':_0xa86f(0x52),'borderRadius':0xc,'marginBottom':0x6,'marginHorizontal':0x0},'optionLeft':{'flexDirection':_0xa86f(0x49),'alignItems':_0xa86f(0x4a),'flex':0x1},'optionIcon':{'marginRight':0xc,'marginLeft':0x2,'marginTop':-0x4},'optionText':{'flex':0x1,'marginLeft':0x2},'checkboxContainer':{'paddingLeft':0x4,'paddingRight':0x2,'alignItems':_0xa86f(0x4a),'justifyContent':_0xa86f(0x4a)},'checkbox':{},'buttonContainer':{'gap':0x8,'paddingHorizontal':0x0,'paddingBottom':0x10,'marginTop':0x10},'acceptButton':{'backgroundColor':'#E5E5E5','borderRadius':0x19,'paddingVertical':0xa,'paddingHorizontal':0x18,'flexDirection':_0xa86f(0x49),'alignItems':_0xa86f(0x4a),'justifyContent':_0xa86f(0x4a)},'acceptButtonActive':{'backgroundColor':_0xa86f(0x53)},'acceptButtonLoading':{'backgroundColor':_0xa86f(0x53),'opacity':0.8},'acceptButtonText':{'color':_0xa86f(0x54),'fontSize':0x10,'fontFamily':_0xa86f(0x50),'fontWeight':_0xa86f(0x4f),'marginRight':0x8},'acceptButtonTextActive':{'color':_0xa86f(0x4b)},'buttonArrow':{'color':'#999999','fontSize':0x10},'buttonArrowActive':{'color':_0xa86f(0x4b)},'declineButton':{'backgroundColor':_0xa86f(0x55),'borderRadius':0x19,'paddingVertical':0xa,'paddingHorizontal':0x18,'alignItems':_0xa86f(0x4a),'justifyContent':_0xa86f(0x4a)},'declineButtonText':{'color':COLORS[_0xa86f(0x51)],'fontSize':0x10,'fontFamily':'Inter','fontWeight':_0xa86f(0x56)},'logoutButton':{'alignItems':_0xa86f(0x4a),'paddingVertical':0xc,'marginTop':0x8},'logoutButtonText':{'fontSize':0xe,'fontFamily':'Inter','fontWeight':_0xa86f(0x57),'color':COLORS[_0xa86f(0x58)],'textDecorationLine':_0xa86f(0x59)},'connectedPlatformsSection':{'alignItems':_0xa86f(0x4a),'paddingVertical':0xa,'paddingHorizontal':0x10,'backgroundColor':_0xa86f(0x52),'borderRadius':0x10,'marginBottom':0xa,'marginTop':0x10},'connectedPlatformsTitle':{'fontSize':0xf,'fontFamily':_0xa86f(0x50),'fontWeight':'500','color':COLORS['grey500'],'marginBottom':0xa},'connectedPlatformsIcons':{'flexDirection':_0xa86f(0x49),'justifyContent':_0xa86f(0x4a),'alignItems':_0xa86f(0x4a),'flexWrap':'wrap','gap':0xa,'marginBottom':0xa},'connectedPlatformIconContainer':{'width':0x30,'height':0x30,'borderRadius':0xa,'backgroundColor':'#FFFFFF','justifyContent':_0xa86f(0x4a),'alignItems':_0xa86f(0x4a),'shadowColor':_0xa86f(0x4c),'shadowOffset':{'width':0x0,'height':0x2},'shadowOpacity':0.1,'shadowRadius':0x4,'elevation':0x2},'connectedPlatformIcon':{'width':0x20,'height':0x20},'connectMoreButton':{'flexDirection':_0xa86f(0x49),'alignItems':_0xa86f(0x4a),'justifyContent':_0xa86f(0x4a),'gap':0x8},'connectMoreText':{'fontSize':0x10,'fontFamily':_0xa86f(0x50),'fontWeight':_0xa86f(0x56),'color':COLORS[_0xa86f(0x58)]},'connectMorePlusCircle':{'width':0x1c,'height':0x1c,'borderRadius':0xe,'borderWidth':0x2,'borderColor':COLORS[_0xa86f(0x29)],'justifyContent':_0xa86f(0x4a),'alignItems':_0xa86f(0x4a)},'connectMorePlus':{'fontSize':0x12,'fontWeight':_0xa86f(0x56),'color':COLORS[_0xa86f(0x58)],'marginTop':-0x2}});export{PersonalizationConsentScreen};function _0xa86f(_0x4567fd,_0xa86f21){_0x4567fd=_0x4567fd-0x0;const _0x240bef=_0x4567();let _0x58214e=_0x240bef[_0x4567fd];return _0x58214e;}export default PersonalizationConsentScreen;
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;