@onairos/react-native 3.6.8 → 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';import{TouchableOpacity,Text,StyleSheet,View,ActivityIndicator,Dimensions,Image,Alert}from'react-native';import _0x3be7c3 from'react-native-linear-gradient';import{UniversalOnboarding}from'./UniversalOnboarding';function _0x47d2(_0x118b2a,_0x47d24f){_0x118b2a=_0x118b2a-0x0;const _0x5cc113=_0x118b();let _0x4b5716=_0x5cc113[_0x118b2a];return _0x4b5716;}import _0x23098b from'./WelcomeScreen';import{isApiKeyInitialized,getApiConfig}from'../services/apiKeyService';import{BRAND_IMAGES}from'../utils/assetRegistry';const {width}=Dimensions[_0x47d2(0x0)](_0x47d2(0x1));export const OnairosButton=forwardRef(({AppName:_0x484915,buttonType:buttonType=_0x47d2(0x2),buttonWidth:buttonWidth=0xb4,buttonHeight:buttonHeight=0x30,hasStroke:hasStroke=![],enabled:enabled=!![],buttonForm:buttonForm=_0x47d2(0x3),onResolved:_0x470fee,onRejection:_0x315be6,preCheck:_0x5010bd,color:color=_0x47d2(0x4),swerv:swerv=![],darkMode:darkMode=![],returnLink:_0x5cb6d7,preferredPlatform:_0x2da11d,autoFetch:autoFetch=![],inferenceData:_0x7fa4cf,textLayout:textLayout='right',textColor:textColor=_0x47d2(0x5),proofMode:proofMode=![],webpageName:_0xeff03c,debug:debug=![],testMode:testMode=![],requestData:_0x47994b,onPress:_0x51ea6a,primaryAuthOnly:primaryAuthOnly=![],useNewWelcomeFlow:useNewWelcomeFlow=![]},_0xccc287)=>{const _0x4f70ba={'VvQFb':_0x47d2(0x6),'UtUfz':_0x47d2(0x7),'xqLXr':function(_0x3d4405,_0x2a53b8){return _0x3d4405(_0x2a53b8);},'sfZuU':function(_0x54f145,_0xf12ffb,_0x1a45a8){return _0x54f145(_0xf12ffb,_0x1a45a8);},'FCYLE':function(_0x5ef722){return _0x5ef722();},'IsmUR':function(_0x538778,_0x34e1ac){return _0x538778!==_0x34e1ac;},'UWQrC':'QhyUJ','JbUhr':function(_0x1c6e1f,_0x294e71){return _0x1c6e1f===_0x294e71;},'VxAWH':'QiQvV','aXukj':_0x47d2(0x8),'bXzTv':function(_0x594310,_0xeed96){return _0x594310===_0xeed96;},'yeOtm':function(_0x5f47e6,_0x2019b7){return _0x5f47e6===_0x2019b7;},'szGKg':_0x47d2(0x9),'HkRer':function(_0x353f0a,_0x49f6b3){return _0x353f0a(_0x49f6b3);},'kPQdM':'The\x20Onairos\x20SDK\x20requires\x20initialization\x20with\x20a\x20valid\x20API\x20key.\x0a\x0aDevelopers:\x20Please\x20call\x20initializeApiKey()\x20before\x20using\x20OnairosButton.','XEdct':'[OnairosButton]\x20SDK\x20initialized\x20with\x20API\x20key:','jFCCY':_0x47d2(0xa),'Tjicm':_0x47d2(0xb),'NNhXF':'Connect\x20Onairos','lkzWD':_0x47d2(0xc),'uNOqP':'Sign\x20in\x20with\x20Onairos','VgdQu':_0x47d2(0xd),'kNsDV':'Sign\x20up\x20with\x20Onairos','fPUFZ':_0x47d2(0xe),'CxKBr':function(_0x21e1a1,_0x189d3e){return _0x21e1a1||_0x189d3e;},'zvqJY':function(_0x4499fc,_0x248ff9){return _0x4499fc(_0x248ff9);},'jVqrV':function(_0x16ee9d){return _0x16ee9d();},'DXxnM':_0x47d2(0xf),'rScnk':_0x47d2(0x10),'EkAkZ':function(_0x455c69,_0x5b1481){return _0x455c69===_0x5b1481;},'jgcMd':_0x47d2(0x11),'McdUH':_0x47d2(0x12),'zwIkh':function(_0x40fa00){return _0x40fa00();},'VjFwl':function(_0x59c996,_0x1727d3){return _0x59c996===_0x1727d3;},'kMRvX':function(_0x3db700,_0x4f082d){return _0x3db700!==_0x4f082d;},'tDmYC':_0x47d2(0x13),'JxAWe':_0x47d2(0x14),'aGyrF':_0x47d2(0x15),'BbKhj':function(_0x1e29d0,_0x376d8c){return _0x1e29d0(_0x376d8c);},'oSVYK':_0x47d2(0x16),'fySOm':_0x47d2(0x17),'EMzrt':function(_0x486a47,_0x4bb177){return _0x486a47===_0x4bb177;},'wkZbF':function(_0x1478bf,_0x1d3a36){return _0x1478bf instanceof _0x1d3a36;},'WdXIB':function(_0x19f4d3,_0xe07bf6){return _0x19f4d3!==_0xe07bf6;},'vLUlL':'hdYOB','GTrbv':function(_0x893e6,_0x413f61){return _0x893e6(_0x413f61);},'jPyvS':_0x47d2(0x18),'essoM':'[OnairosButton]\x20Initializing.\x20Initial\x20showOnboarding:','deUKC':function(_0x53d79c,_0x3f199e,_0x1e69ac){return _0x53d79c(_0x3f199e,_0x1e69ac);},'VEHjo':_0x47d2(0x19),'YEbtx':_0x47d2(0x1a),'RmaHP':_0x47d2(0x1b),'wBtav':_0x47d2(0x1c),'kJWvq':'absolute','kJfPH':_0x47d2(0x1d),'CwKBF':_0x47d2(0x1e),'saXYr':_0x47d2(0x1f),'rHkxt':function(_0x4b2200,_0x5ee4b3){return _0x4b2200||_0x5ee4b3;},'DFIsA':_0x47d2(0x20),'OAVEy':_0x47d2(0x21),'UynKS':_0x47d2(0x22),'hzejC':_0x47d2(0x23),'OIORf':_0x47d2(0x24),'KybAG':'Full\x20personalization','WtpOU':_0x47d2(0x25)},[_0xafba76,_0x2bc3a8]=_0x4f70ba[_0x47d2(0x26)](useState,![]),[_0x1d93e7,_0x45f62d]=useState(![]),[_0x5d9910,_0x2ff38e]=useState(![]);console[_0x47d2(0x27)](_0x4f70ba[_0x47d2(0x28)],_0x5d9910),useEffect(()=>{console['log'](_0x4f70ba['VvQFb'],_0x5d9910);},[_0x5d9910]),_0x4f70ba['sfZuU'](useImperativeHandle,_0xccc287,()=>({'trigger':async()=>{const _0x23968f={'fEIar':_0x4f70ba[_0x47d2(0x29)],'rinld':function(_0x2bd72e,_0x4056f1){return _0x4f70ba[_0x47d2(0x2a)](_0x2bd72e,_0x4056f1);},'VxqRu':function(_0x28676c,_0x5725f0,_0x3eb924){return _0x4f70ba[_0x47d2(0x2b)](_0x28676c,_0x5725f0,_0x3eb924);},'GAZua':function(_0x4cdda4){return _0x4f70ba[_0x47d2(0x2c)](_0x4cdda4);}};if(_0x4f70ba[_0x47d2(0x2d)](_0x4f70ba[_0x47d2(0x2e)],_0x47d2(0x2f)))_0x329fe2[_0x47d2(0x27)](_0x23968f[_0x47d2(0x30)]),_0x23968f[_0x47d2(0x31)](_0x2b2dbd,![]),_0x172e6e&&_0x23968f[_0x47d2(0x32)](_0x4d99d2,_0xda3a64,_0x3041ac),_0x57093f&&_0x23968f[_0x47d2(0x33)](_0x450813);else return await _0x12946f(),Promise['resolve']();},'reset':async()=>{if(_0x4f70ba[_0x47d2(0x34)](_0x47d2(0x35),_0x4f70ba[_0x47d2(0x36)]))_0x2c2735();else return Promise['resolve']();}}));const _0x12946f=async()=>{const _0x266931={'LoMPQ':_0x47d2(0x12),'THEDF':_0x4f70ba[_0x47d2(0x37)],'GNncd':_0x4f70ba[_0x47d2(0x38)],'ohRpa':function(_0x2c8544,_0x3c1691){return _0x4f70ba[_0x47d2(0x39)](_0x2c8544,_0x3c1691);},'sSfAR':_0x4f70ba[_0x47d2(0x3a)],'uFHYV':_0x4f70ba[_0x47d2(0x3b)],'VHvKi':_0x4f70ba['NNhXF'],'SLtFt':_0x4f70ba[_0x47d2(0x3c)],'pheka':_0x4f70ba[_0x47d2(0x3d)],'fMiWy':_0x4f70ba['VgdQu'],'hYWWO':_0x4f70ba[_0x47d2(0x3e)]};if(_0x4f70ba[_0x47d2(0x2d)](_0x4f70ba['fPUFZ'],_0x4f70ba[_0x47d2(0x3f)]))Alert[_0x47d2(0x40)](_0x266931[_0x47d2(0x41)],_0x266931[_0x47d2(0x42)],[{'text':'OK'}]);else{console[_0x47d2(0x27)](_0x47d2(0x43));if(_0x4f70ba[_0x47d2(0x44)](!enabled,_0xafba76))return;_0x4f70ba['zvqJY'](_0x2bc3a8,!![]);try{if(!_0x4f70ba[_0x47d2(0x45)](isApiKeyInitialized)){if(_0x4f70ba[_0x47d2(0x46)]===_0x4f70ba['DXxnM']){const _0x32aaa0=_0x47d2(0x47);console['error'](_0x4f70ba['rScnk'],_0x32aaa0);if(_0x315be6){if('CfwPd'===_0x47d2(0x48)){_0xb4b459[_0x47d2(0x27)](_0x4f70ba['aXukj']),_0x4f70ba[_0x47d2(0x39)](_0x3f942b,null)||_0x4f70ba[_0x47d2(0x49)](_0x46999f,void 0x0)||_0x3b649f(_0x4f70ba['szGKg']),_0x4f70ba[_0x47d2(0x4a)](_0x2bf9d5,![]);return;}else _0x4f70ba[_0x47d2(0x2a)](_0x315be6,_0x32aaa0);}else{if(_0x4f70ba[_0x47d2(0x4b)]('DeWwb',_0x4f70ba[_0x47d2(0x4c)])){var _0x51ba00;_0xdd23c9['log'](_0x266931[_0x47d2(0x4d)],(_0x266931[_0x47d2(0x4e)](_0x365ce2,null)||_0x26f255===void 0x0||(_0x51ba00=_0x545f75[_0x47d2(0x4f)])===null||_0x51ba00===void 0x0?void 0x0:_0x51ba00[_0x47d2(0x50)](0x0,0x8))+_0x266931[_0x47d2(0x51)]);}else Alert[_0x47d2(0x40)](_0x4f70ba['McdUH'],_0x4f70ba[_0x47d2(0x37)],[{'text':'OK'}]);}_0x4f70ba[_0x47d2(0x2a)](_0x2bc3a8,![]);return;}else _0x1a7f6d(_0x20afe6,_0x434f2b);}const _0x45091c=_0x4f70ba['zwIkh'](getApiConfig);if(debug){var _0x2a8f22;console[_0x47d2(0x27)](_0x4f70ba[_0x47d2(0x38)],(_0x45091c===null||_0x4f70ba[_0x47d2(0x4b)](_0x45091c,void 0x0)||(_0x2a8f22=_0x45091c[_0x47d2(0x4f)])===null||_0x4f70ba['VjFwl'](_0x2a8f22,void 0x0)?void 0x0:_0x2a8f22[_0x47d2(0x50)](0x0,0x8))+_0x4f70ba[_0x47d2(0x3a)]);}if(_0x5010bd){const _0x236cc8=await _0x4f70ba['FCYLE'](_0x5010bd);if(!_0x236cc8){if(_0x4f70ba[_0x47d2(0x52)](_0x4f70ba['tDmYC'],_0x4f70ba[_0x47d2(0x53)])){console['log'](_0x4f70ba['aXukj']),_0x315be6===null||_0x315be6===void 0x0||_0x315be6(_0x47d2(0x9)),_0x4f70ba[_0x47d2(0x4a)](_0x2bc3a8,![]);return;}else _0xe63d9f[_0x47d2(0x27)](_0x4f70ba[_0x47d2(0x54)],_0x39056b);}}console['log'](_0x4f70ba[_0x47d2(0x55)]),_0x4f70ba['BbKhj'](_0x2ff38e,!![]),_0x4f70ba[_0x47d2(0x56)](_0x2bc3a8,![]);}catch(_0x4cbf9b){if(_0x4f70ba[_0x47d2(0x57)]!==_0x4f70ba[_0x47d2(0x57)])switch(_0x4c3506){case _0x266931['uFHYV']:return _0x266931[_0x47d2(0x58)];case _0x266931[_0x47d2(0x59)]:return _0x266931['pheka'];case _0x266931[_0x47d2(0x5a)]:return _0x266931[_0x47d2(0x5b)];default:return _0x266931[_0x47d2(0x58)];}else console['error'](_0x4f70ba[_0x47d2(0x5c)],_0x4cbf9b),_0x4f70ba[_0x47d2(0x5d)](_0x315be6,null)||_0x4f70ba[_0x47d2(0x4b)](_0x315be6,void 0x0)||_0x315be6(_0x4f70ba[_0x47d2(0x5e)](_0x4cbf9b,Error)?_0x4cbf9b[_0x47d2(0x5f)]:'Unknown\x20error'),_0x4f70ba[_0x47d2(0x4a)](_0x2bc3a8,![]);}}},_0x5c9180=()=>{switch(buttonForm){case _0x4f70ba[_0x47d2(0x3b)]:return _0x4f70ba['NNhXF'];case _0x4f70ba[_0x47d2(0x3c)]:return _0x4f70ba[_0x47d2(0x3d)];case _0x4f70ba[_0x47d2(0x60)]:return _0x4f70ba[_0x47d2(0x3e)];default:return _0x47d2(0x61);}},_0x3befc1=useCallback((_0xb28088,_0x47802d)=>{console[_0x47d2(0x27)](_0x47d2(0x7)),_0x4f70ba[_0x47d2(0x2a)](_0x2ff38e,![]),_0x470fee&&_0x470fee(_0xb28088,_0x47802d),_0x51ea6a&&(_0x4f70ba[_0x47d2(0x62)](_0x4f70ba['vLUlL'],_0x4f70ba['vLUlL'])?_0x2452dd(_0xff730d):_0x4f70ba['jVqrV'](_0x51ea6a));},[_0x470fee,_0x51ea6a]),_0x4a34b9=_0x4f70ba['deUKC'](useCallback,()=>{console[_0x47d2(0x27)](_0x47d2(0x63)),_0x4f70ba[_0x47d2(0x26)](_0x2ff38e,![]),_0x315be6&&_0x4f70ba['xqLXr'](_0x315be6,_0x4f70ba[_0x47d2(0x64)]);},[_0x315be6]);return console[_0x47d2(0x27)](_0x47d2(0x65),{'AppName':_0x484915,'buttonType':buttonType,'buttonWidth':buttonWidth,'buttonHeight':buttonHeight,'hasStroke':hasStroke,'enabled':enabled,'buttonForm':buttonForm,'onResolved':_0x470fee,'onRejection':_0x315be6,'preCheck':_0x5010bd,'color':color,'swerv':swerv,'darkMode':darkMode,'returnLink':_0x5cb6d7,'preferredPlatform':_0x2da11d,'autoFetch':autoFetch,'inferenceData':_0x7fa4cf,'textLayout':textLayout,'textColor':textColor,'proofMode':proofMode,'webpageName':_0xeff03c,'debug':debug,'testMode':testMode,'requestData':_0x47994b,'onPress':_0x51ea6a,'primaryAuthOnly':primaryAuthOnly,'useNewWelcomeFlow':useNewWelcomeFlow}),React['createElement'](React[_0x47d2(0x66)],null,React['createElement'](View,null,React['createElement'](TouchableOpacity,{'style':[styles[_0x47d2(0x67)],buttonType===_0x4f70ba[_0x47d2(0x68)]&&styles[_0x47d2(0x69)],hasStroke&&styles[_0x47d2(0x6a)],{'width':buttonWidth,'height':buttonHeight},swerv&&styles[_0x47d2(0x6b)],!enabled&&styles['disabledButton']],'onPress':_0x12946f,'disabled':!enabled||_0xafba76,'onPressIn':()=>_0x45f62d(!![]),'onPressOut':()=>_0x45f62d(![])},React[_0x47d2(0x6c)](_0x3be7c3,{'colors':[_0x4f70ba[_0x47d2(0x6d)],_0x4f70ba[_0x47d2(0x6e)],_0x4f70ba[_0x47d2(0x6f)]],'start':{'x':0x0,'y':0x0},'end':{'x':0x1,'y':0x0},'style':{'position':_0x4f70ba[_0x47d2(0x70)],'left':0x0,'right':0x0,'top':0x0,'bottom':0x0,'borderRadius':_0x4f70ba[_0x47d2(0x5d)](buttonType,_0x4f70ba['VEHjo'])?0x18:0x8}}),_0xafba76?React['createElement'](ActivityIndicator,{'size':_0x4f70ba['kJfPH'],'color':_0x47d2(0x1f)}):React[_0x47d2(0x6c)](View,{'style':styles[_0x47d2(0x71)]},React[_0x47d2(0x6c)](View,{'style':styles[_0x47d2(0x72)]},React[_0x47d2(0x6c)](Image,{'source':BRAND_IMAGES['onairosLogoAlt'],'style':styles['logoImage'],'resizeMode':_0x4f70ba[_0x47d2(0x73)]})),React[_0x47d2(0x6c)](Text,{'style':[styles[_0x47d2(0x74)],{'color':_0x4f70ba[_0x47d2(0x75)]}]},_0x5c9180())))),useNewWelcomeFlow?React[_0x47d2(0x6c)](_0x23098b,{'visible':_0x5d9910,'onClose':_0x4a34b9,'onComplete':_0x3befc1}):React[_0x47d2(0x6c)](UniversalOnboarding,{'visible':_0x5d9910,'onClose':_0x4a34b9,'AppName':_0x484915,'requestData':_0x4f70ba[_0x47d2(0x76)](_0x47994b,{'Small':{'type':_0x4f70ba[_0x47d2(0x77)],'descriptions':_0x4f70ba[_0x47d2(0x78)],'reward':_0x4f70ba['UynKS']},'Medium':{'type':'Medium','descriptions':_0x4f70ba[_0x47d2(0x79)],'reward':_0x4f70ba['OIORf']},'Large':{'type':_0x47d2(0x7a),'descriptions':_0x47d2(0x7b),'reward':_0x4f70ba[_0x47d2(0x7c)]}}),'returnLink':_0x5cb6d7||_0x4f70ba['WtpOU'],'onComplete':_0x3befc1,'debug':debug,'test':testMode,'preferredPlatform':_0x2da11d,'primaryAuthOnly':primaryAuthOnly}));});const styles=StyleSheet[_0x47d2(0x7d)]({'button':{'flexDirection':_0x47d2(0x7e),'alignItems':_0x47d2(0x7f),'justifyContent':_0x47d2(0x7f),'paddingVertical':0xc,'paddingHorizontal':0x10,'borderRadius':0x8,'shadowColor':_0x47d2(0x80),'shadowOffset':{'width':0x0,'height':0x2},'shadowOpacity':0.2,'shadowRadius':0x4,'elevation':0x3,'overflow':_0x47d2(0x81)},'buttonContent':{'flexDirection':'row','alignItems':'center','justifyContent':'center'},'logoContainer':{'width':0x18,'height':0x18,'alignItems':_0x47d2(0x7f),'justifyContent':_0x47d2(0x7f),'marginRight':0x4},'logoText':{'color':'#C7A047','fontWeight':_0x47d2(0x82),'fontSize':0xe},'logoImage':{'width':0x14,'height':0x14},'pillButton':{'borderRadius':0x18},'strokedButton':{'backgroundColor':_0x47d2(0x83),'borderWidth':0x1},'swervButton':{'transform':[{'rotate':'-2deg'}]},'disabledButton':{'opacity':0.6},'buttonText':{'fontSize':0x10,'fontWeight':_0x47d2(0x84),'textAlign':'center'}});function _0x118b(){const _0x5706b1=['get','window','normal','default','#1BA9D4','black','[OnairosButton]\x20LogEffect:\x20showOnboarding\x20state\x20changed\x20to:','[OnairosButton]\x20handleOnboardingComplete:\x20Setting\x20showOnboarding\x20to\x20false.','[OnairosButton]\x20Precheck\x20failed.\x20Setting\x20showOnboarding\x20to\x20false\x20(indirectly,\x20by\x20not\x20setting\x20to\x20true).','Precheck\x20validation\x20failed','...','connect','login','signup','WMxUH','JCVjQ','❌\x20[OnairosButton]\x20SDK\x20NOT\x20INITIALIZED:','aOOaV','SDK\x20Not\x20Initialized','ODDhU','kvmJD','[OnairosButton]\x20handlePress:\x20Setting\x20showOnboarding\x20to\x20true.','mYKCI','[OnairosButton]\x20Error\x20in\x20handlePress:','User\x20closed\x20onboarding','pill','#f5e7c1','#C7A047','#8B6914','small','contain','#FFFFFF','Small','Basic\x20tier','Free\x20access','Standard\x20tier','Premium\x20features','onairosevents://auth/callback','GTrbv','log','essoM','UtUfz','xqLXr','sfZuU','FCYLE','IsmUR','UWQrC','QhyUJ','fEIar','rinld','VxqRu','GAZua','JbUhr','KyQVG','VxAWH','kPQdM','XEdct','bXzTv','jFCCY','Tjicm','lkzWD','uNOqP','kNsDV','fPUFZ','alert','LoMPQ','THEDF','[OnairosButton]\x20handlePress\x20called.','CxKBr','jVqrV','DXxnM','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','SNCuZ','yeOtm','HkRer','EkAkZ','jgcMd','GNncd','ohRpa','apiKey','substring','sSfAR','kMRvX','JxAWe','VvQFb','aGyrF','BbKhj','oSVYK','VHvKi','SLtFt','fMiWy','hYWWO','fySOm','EMzrt','wkZbF','message','VgdQu','Connect\x20Onairos','WdXIB','[OnairosButton]\x20handleOnboardingClose:\x20Setting\x20showOnboarding\x20to\x20false.','jPyvS','[OnairosButton]\x20Rendering\x20JSX\x20with\x20props:','Fragment','button','VEHjo','pillButton','strokedButton','swervButton','createElement','YEbtx','RmaHP','wBtav','kJWvq','buttonContent','logoContainer','CwKBF','buttonText','saXYr','rHkxt','DFIsA','OAVEy','hzejC','Large','Premium\x20tier','KybAG','create','row','center','#000','hidden','bold','transparent','600'];_0x118b=function(){return _0x5706b1;};return _0x118b();}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
- import React,{useState,useCallback}from'react';import{TouchableOpacity,Text,StyleSheet,View,Image}from'react-native';function _0x5446(_0x397cb5,_0x5446e2){_0x397cb5=_0x397cb5-0x0;const _0x5a73fb=_0x397c();let _0x416ac5=_0x5a73fb[_0x397cb5];return _0x416ac5;}import AsyncStorage from'@react-native-async-storage/async-storage';import _0x3e57ec from'./WelcomeScreen';import{triggerHaptic,HapticType}from'../utils/haptics';import{BRAND_IMAGES}from'../utils/assetRegistry';export const OnairosSignInButton=({AppName:_0x425a38,buttonWidth:buttonWidth=0x118,buttonHeight:buttonHeight=0x2c,color:color=_0x5446(0x0),textColor:textColor='#000',onResolved:_0xa1d51c,onRejection:_0x295a7a,autoFocusEmailInput:autoFocusEmailInput=!![]})=>{const _0x145df0={'vrcNw':function(_0x26fe47,_0x1f8f11){return _0x26fe47(_0x1f8f11);},'LPTek':_0x5446(0x1),'xGAru':'🔑\x20OnairosSignInButton:\x20Returning\x20JWT\x20token\x20with\x20email:','yadmP':_0x5446(0x2),'uYbGE':_0x5446(0x3),'rvuBz':function(_0x35567a,_0x3ae95f){return _0x35567a(_0x3ae95f);},'gHmCD':function(_0x5dbdf1,_0x3ef009){return _0x5dbdf1!==_0x3ef009;},'PDIoO':'zpkSR','tBIiF':_0x5446(0x4),'YpLxg':_0x5446(0x5),'tsoTN':'🔑\x20Received\x20placeholder\x20token\x20from\x20WelcomeScreen,\x20completing\x20sign-in','YCFAO':_0x5446(0x6),'aGxHn':function(_0x4ce22d,_0x455ce4,_0x3d2db8){return _0x4ce22d(_0x455ce4,_0x3d2db8);},'mUGVu':_0x5446(0x7),'IaIWi':_0x5446(0x8),'uPTqu':_0x5446(0x9),'cwodp':function(_0x715820,_0x17498d){return _0x715820(_0x17498d);},'DCcud':function(_0x112df3,_0x550e50){return _0x112df3(_0x550e50);},'QVhNi':_0x5446(0xa),'lFRIT':function(_0x56d47c,_0x180650){return _0x56d47c(_0x180650);},'hcGQS':function(_0x518f6c,_0x4453ec,_0xc2a8b6){return _0x518f6c(_0x4453ec,_0xc2a8b6);},'cTSGS':_0x5446(0xb),'YJKdk':_0x5446(0xc),'ISBWr':'Sign\x20in\x20with\x20Onairos'},[_0x3bc74a,_0x321edf]=_0x145df0[_0x5446(0xd)](useState,![]),[_0x14e62b,_0x9137c]=_0x145df0[_0x5446(0xe)](useState,''),_0x10c910=_0x145df0[_0x5446(0xf)](useCallback,(_0x1660b7,_0x4552fb)=>{const _0x38fc17={'ivGXO':function(_0x3d6f66,_0x2944ae){return _0x3d6f66||_0x2944ae;},'gixRo':_0x145df0[_0x5446(0x10)]};console[_0x5446(0x11)](_0x145df0[_0x5446(0x12)],{'token':_0x1660b7,'email':_0x4552fb});const _0xbb4500=_0x1660b7&&_0x1660b7[_0x5446(0x13)]('.')&&_0x1660b7['split']('.')['length']===0x3;console[_0x5446(0x11)](_0x145df0[_0x5446(0x14)],_0xbb4500),_0x145df0[_0x5446(0x15)](_0x321edf,![]);if(_0xa1d51c){if(_0x145df0[_0x5446(0x16)](_0x145df0[_0x5446(0x17)],_0x5446(0x18))){if(_0xbb4500)console['log'](_0x145df0[_0x5446(0x19)]),AsyncStorage['getItem'](_0x145df0[_0x5446(0x1a)])['then'](_0x5a34ff=>{const _0x1942d0=_0x38fc17[_0x5446(0x1b)](_0x4552fb,_0x5a34ff)||_0x14e62b;console['log'](_0x38fc17[_0x5446(0x1c)],_0x1942d0),_0xa1d51c(_0x1660b7,_0x1942d0);});else{console[_0x5446(0x11)](_0x145df0[_0x5446(0x1d)]);const _0x5564f7=_0x4552fb||_0x14e62b;console[_0x5446(0x11)](_0x145df0[_0x5446(0x1e)],_0x5564f7),_0x145df0[_0x5446(0xf)](_0xa1d51c,_0x1660b7,_0x5564f7);}}else _0x145df0['vrcNw'](_0x5019be,![]),_0x418108&&_0x145df0[_0x5446(0x1f)](_0x5383a0,_0x145df0[_0x5446(0x20)]);}},[_0xa1d51c,_0x14e62b]),_0x11f8f4=_0x145df0[_0x5446(0x21)](useCallback,()=>{const _0x1c92ff={'sfvEJ':_0x5446(0x6)};if(_0x145df0[_0x5446(0x22)]===_0x145df0['mUGVu'])_0x321edf(![]),_0x295a7a&&_0x145df0[_0x5446(0x15)](_0x295a7a,_0x145df0[_0x5446(0x20)]);else{_0x5cda51[_0x5446(0x11)]('🔑\x20Received\x20placeholder\x20token\x20from\x20WelcomeScreen,\x20completing\x20sign-in');const _0x1b20b5=_0x367f02||_0x10a108;_0x585d39[_0x5446(0x11)](_0x1c92ff['sfvEJ'],_0x1b20b5),_0x5d8a4b(_0x5655e1,_0x1b20b5);}},[_0x295a7a]);return React['createElement'](View,{'style':styles['container']},React['createElement'](TouchableOpacity,{'style':[styles[_0x5446(0x23)],{'width':buttonWidth,'height':buttonHeight,'backgroundColor':color}],'onPress':()=>{const _0x1ff1f7={'GcdtZ':function(_0x40896f,_0xef210f){return _0x40896f||_0xef210f;},'AJgUH':function(_0x3f30e7,_0x386157,_0x502d1a){return _0x145df0[_0x5446(0xf)](_0x3f30e7,_0x386157,_0x502d1a);},'OuUPv':_0x145df0[_0x5446(0x19)]};_0x145df0[_0x5446(0x24)]===_0x5446(0x25)?(_0x39ed14[_0x5446(0x11)](_0x1ff1f7['OuUPv']),AsyncStorage[_0x5446(0x26)]('user_email')[_0x5446(0x27)](_0x34b09b=>{const _0x32dd52=_0x1ff1f7[_0x5446(0x28)](_0x17b89c,_0x34b09b)||_0x59a84a;_0x8cc3f2[_0x5446(0x11)](_0x5446(0x29),_0x32dd52),_0x1ff1f7[_0x5446(0x2a)](_0x3e1b18,_0x28debb,_0x32dd52);})):(console['log'](_0x145df0['uPTqu']),_0x145df0['cwodp'](triggerHaptic,HapticType['BUTTON_PRESS']),_0x145df0[_0x5446(0x2b)](_0x321edf,!![]),console['log'](_0x145df0[_0x5446(0x2c)]));},'activeOpacity':0.85},React[_0x5446(0x2d)](View,{'style':styles['contentRow']},React[_0x5446(0x2d)](Image,{'source':BRAND_IMAGES[_0x5446(0x2e)],'style':styles['logo'],'resizeMode':_0x145df0[_0x5446(0x2f)],'accessibilityLabel':_0x145df0[_0x5446(0x30)]}),React[_0x5446(0x2d)](Text,{'style':[styles['buttonText'],{'color':textColor}]},_0x145df0[_0x5446(0x31)]))),React[_0x5446(0x2d)](_0x3e57ec,{'visible':_0x3bc74a,'onClose':_0x11f8f4,'onComplete':_0x10c910}));};function _0x397c(){const _0x4cacfd=['#D4A536','User\x20closed\x20welcome\x20screen','🔍\x20OnairosSignInButton:\x20handleWelcomeComplete\x20called\x20with:','🔍\x20OnairosSignInButton:\x20Is\x20JWT\x20token?','🔑\x20Received\x20JWT\x20token\x20from\x20WelcomeScreen,\x20completing\x20sign-in','user_email','🔑\x20OnairosSignInButton:\x20Returning\x20token\x20with\x20email:','wDSqV','HgfVL','🔘\x20OnairosSignInButton\x20pressed,\x20showing\x20WelcomeScreen','🔘\x20showWelcomeScreen\x20state\x20set\x20to\x20true','contain','Onairos\x20logo','lFRIT','cwodp','aGxHn','xGAru','log','yadmP','includes','uYbGE','rvuBz','gHmCD','PDIoO','eEKuu','tBIiF','YpLxg','ivGXO','gixRo','tsoTN','YCFAO','vrcNw','LPTek','hcGQS','mUGVu','button','IaIWi','xPkAY','getItem','then','GcdtZ','🔑\x20OnairosSignInButton:\x20Returning\x20JWT\x20token\x20with\x20email:','AJgUH','DCcud','QVhNi','createElement','onairosLogoAlt','cTSGS','YJKdk','ISBWr','create','center','#000','600'];_0x397c=function(){return _0x4cacfd;};return _0x397c();}const styles=StyleSheet[_0x5446(0x32)]({'button':{'borderRadius':0x18,'justifyContent':_0x5446(0x33),'alignItems':_0x5446(0x33),'shadowColor':_0x5446(0x34),'shadowOffset':{'width':0x0,'height':0x2},'shadowOpacity':0.1,'shadowRadius':0x4,'elevation':0x2,'marginVertical':0x8},'contentRow':{'flexDirection':'row','alignItems':_0x5446(0x33),'justifyContent':'center'},'logo':{'width':0x1a,'height':0x1a,'marginRight':0xa},'buttonText':{'fontSize':0x10,'fontWeight':_0x5446(0x35),'textAlign':_0x5446(0x33)},'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';function _0x211d(){const _0xd1275c=['get','window','Your\x20App','Development\x20mode\x20-\x20mock\x20account\x20info','bgZYj','error-fallback-token','JfyWL','getAccountInfo','NIpnC','pdtSq','mtEXy','Error\x20getting\x20account\x20info:','Error\x20encrypting\x20model\x20key:','BnqqX','bdfrN','uJlEO','com.onairos.mock','unknown','mock-key','FQFiu','bqYcD','public/key','LVhXR','yyHLx','KkZrO','devURL','Failed\x20to\x20confirm\x20selection.\x20Please\x20try\x20again.','hpZeh','none','arrow_forward','#999','#666','Connect','OenHd','nWoUI','xdyQK','Value','current','Emnfu','NAbXI','yTtsd','csCva','keys','VsGqS','forEach','NFWpM','HfGIk','PwUOf','MfDCb','uKgaP','spring','start','GmrWn','WuGft','post','jxqnP','zgXSU','kImtP','data','uIDwG','AccountInfo','User:\x20','ZyoFa','BASE_URL','RnccG','qDiAL','mock-token','LBvXd','FCrzH','CgRjP','NfbWf','ebsep','error','FPtbM','timing','bwJDM','AWmtV','VlfyB','CZRBU','gxdpy','CeFEg','wxIMQ','select','aZusS','UbRbg','dCvzg','bXAqz','object','LkaKr','publicKey','EYmKz','sZphE','YbMcp','vTTvQ','LfzDp','APIUrl','DjQZV','BJtLX','token','jQMlQ','Whivf','kjPle','Error\x20confirming\x20selection:','BlkZV','vZvBk','BRVHo','FXbYi','alert','iHWFX','createElement','kzcLv','modalOverlay','View','bottomSheet','darkContainer','interpolate','handleContainer','handle','darkHandle','header','darkHeader','headerContent','appIcon','darkAppIcon','appIconText','darkText','charAt','Mycqb','rPWNt','aJhaP','arrow','onairosIcon','darkOnairosIcon','onairosIconText','content','mainTitle','privacyMessage','darkSubText','None\x20of\x20your\x20app\x20data\x20is\x20shared\x20with\x20ANYONE','platformsContainer','platformItem','darkPlatformItem','platformInfo','platformIcon','contain','name','#767577','#81b0ff','#f4f3f4','footer','darkFooter','footerButtonCancel','footerButtonText','Cancel','footerButtonConfirm','darkFooterButtonConfirm','footerButtonTextConfirm','IaIKH','create','rgba(0,\x200,\x200,\x200.5)','flex-end','#fff','hidden','100%','center','#E0E0E0','#1A1A1A','row','#F5F5F5','#2A2A2A','#000','600','space-between','#eee','500','#333'];_0x211d=function(){return _0xd1275c;};return _0x211d();}import{View,Text,StyleSheet,TouchableOpacity,ScrollView,Alert,Platform,Dimensions,Modal,Animated,TouchableWithoutFeedback,SafeAreaView,Image,Switch}from'react-native';import _0x4142d6 from'react-native-vector-icons/MaterialIcons';import{onairosApi}from'../api';import{encryptModelKey}from'../utils/encryption';function _0x4ee7(_0x211de5,_0x4ee776){_0x211de5=_0x211de5-0x0;const _0x445ff4=_0x211d();let _0x335ba6=_0x445ff4[_0x211de5];return _0x335ba6;}import{OVERLAY_PLATFORMS}from'../utils/assetRegistry';const {width:SCREEN_WIDTH,height:SCREEN_HEIGHT}=Dimensions[_0x4ee7(0x0)](_0x4ee7(0x1));import{API_CONFIG}from'../config/api';export const Overlay=({data:_0x15da6b,username:_0x42f18b,modelKey:_0x1e8614,onResolved:_0x3c2db5,appName:appName=_0x4ee7(0x2),darkMode:darkMode=![],platforms:platforms=OVERLAY_PLATFORMS})=>{const _0x5ee1d7={'xdyQK':function(_0x1fec2d,_0x5749c6){return _0x1fec2d(_0x5749c6);},'NAbXI':_0x4ee7(0x3),'yTtsd':function(_0x7ff399,_0xb0355e){return _0x7ff399!==_0xb0355e;},'TAyby':_0x4ee7(0x4),'VsGqS':function(_0x54e019,_0x2aa71b){return _0x54e019(_0x2aa71b);},'qDiAL':function(_0x229ac8){return _0x229ac8();},'ZyoFa':function(_0x430bba,_0x131dd0,_0x5e2857,_0x2c85c7){return _0x430bba(_0x131dd0,_0x5e2857,_0x2c85c7);},'RnccG':_0x4ee7(0x5),'GmrWn':_0x4ee7(0x6),'WuGft':function(_0x295bcd,_0x4f54f8){return _0x295bcd(_0x4f54f8);},'nLTyG':_0x4ee7(0x7),'LBvXd':function(_0x491b1b,_0x200b29){return _0x491b1b!==_0x200b29;},'jxqnP':_0x4ee7(0x8),'zgXSU':_0x4ee7(0x9),'kImtP':function(_0x2269e8,_0x532b8f){return _0x2269e8===_0x532b8f;},'uIDwG':'object','FCrzH':_0x4ee7(0xa),'CgRjP':_0x4ee7(0xb),'BJtLX':_0x4ee7(0xc),'NfbWf':function(_0x3d669c,_0xfba810){return _0x3d669c===_0xfba810;},'sYeII':_0x4ee7(0xd),'CZRBU':function(_0x32cd81,_0x411a8a){return _0x32cd81(_0x411a8a);},'AWmtV':function(_0x534ae4,_0x20f9af){return _0x534ae4!==_0x20f9af;},'lIqYC':'eVumW','EYmKz':function(_0x59c5d8,_0x393211,_0x4a0c1b){return _0x59c5d8(_0x393211,_0x4a0c1b);},'LfzDp':function(_0x43de01,_0x5baeff,_0x34d0d0,_0x5960ef){return _0x43de01(_0x5baeff,_0x34d0d0,_0x5960ef);},'DjQZV':function(_0x16d28d){return _0x16d28d();},'gxdpy':function(_0x28c475,_0x547887){return _0x28c475===_0x547887;},'CeFEg':_0x4ee7(0xe),'wxIMQ':_0x4ee7(0xf),'aZusS':_0x4ee7(0x10),'xthPH':_0x4ee7(0x11),'BlkZV':function(_0x386be1){return _0x386be1();},'UbRbg':_0x4ee7(0x12),'Ouxvd':_0x4ee7(0x13),'dCvzg':_0x4ee7(0x14),'bXAqz':_0x4ee7(0x15),'vWsvz':function(_0x5b45a2,_0xf2763d){return _0x5b45a2!==_0xf2763d;},'LkaKr':_0x4ee7(0x16),'JAfbE':_0x4ee7(0x17),'sZphE':'Error\x20getting\x20server\x20public\x20key:','YbMcp':'function','vTTvQ':_0x4ee7(0x18),'Emnfu':function(_0x60ce28,_0x2f0407,_0x25ee47){return _0x60ce28(_0x2f0407,_0x25ee47);},'lSSnr':'getAPIUrlMobile','ojgWc':'local','CgwFJ':_0x4ee7(0x19),'jQMlQ':function(_0x59aaee,_0x13827b,_0x284ab3,_0x1e87a6){return _0x59aaee(_0x13827b,_0x284ab3,_0x1e87a6);},'Whivf':'fallback-token','kjPle':function(_0x3142d2){return _0x3142d2();},'vZvBk':_0x4ee7(0x1a),'BRVHo':_0x4ee7(0x1b),'iHWFX':'Error','OenHd':function(_0x393b5f,_0xd46c4d){return _0x393b5f(_0xd46c4d);},'nWoUI':function(_0x415763,_0xb1c21c){return _0x415763(_0xb1c21c);},'poiKu':function(_0x5070ec,_0x3d47e2,_0x8f56df){return _0x5070ec(_0x3d47e2,_0x8f56df);},'kzcLv':_0x4ee7(0x1c),'Mycqb':_0x4ee7(0x1d),'rPWNt':_0x4ee7(0x1e),'aJhaP':_0x4ee7(0x1f),'ZQCyD':function(_0x4370a8,_0x168f07){return _0x4370a8&&_0x168f07;},'YclcH':'#000','IaIKH':_0x4ee7(0x20)},[_0x5e4176,_0xacc7c2]=_0x5ee1d7[_0x4ee7(0x21)](useState,{}),[_0x561905,_0x1ff19b]=_0x5ee1d7[_0x4ee7(0x21)](useState,''),[_0x2e78e3,_0x1a7b8c]=_0x5ee1d7[_0x4ee7(0x22)](useState,!![]),[_0xd1ba1c,_0x408dcc]=_0x5ee1d7['OenHd'](useState,{}),_0x36a3e2=_0x5ee1d7[_0x4ee7(0x23)](useRef,new Animated[(_0x4ee7(0x24))](0x0))[_0x4ee7(0x25)];_0x5ee1d7[_0x4ee7(0x26)](useEffect,()=>{const _0xbb1434={'NFWpM':function(_0x505230,_0x5e2b14){return _0x5ee1d7[_0x4ee7(0x23)](_0x505230,_0x5e2b14);},'HfGIk':_0x5ee1d7[_0x4ee7(0x27)],'PwUOf':function(_0x1e2330,_0x30d34f){return _0x5ee1d7[_0x4ee7(0x28)](_0x1e2330,_0x30d34f);},'MfDCb':_0x4ee7(0x29),'uKgaP':_0x5ee1d7['TAyby']},_0x4ecc69={};Object[_0x4ee7(0x2a)](_0x15da6b)['forEach'](_0x4ec5ba=>{_0x4ecc69[_0x4ec5ba]=![];}),_0x5ee1d7[_0x4ee7(0x2b)](_0xacc7c2,_0x4ecc69);const _0x2679b6={};platforms[_0x4ee7(0x2c)](_0x589e88=>{const _0x5d4804={'RVsWC':function(_0x3be262,_0x594d45){return _0xbb1434[_0x4ee7(0x2d)](_0x3be262,_0x594d45);},'vJPyF':_0xbb1434[_0x4ee7(0x2e)]};if(_0xbb1434[_0x4ee7(0x2f)](_0xbb1434[_0x4ee7(0x30)],_0xbb1434[_0x4ee7(0x31)]))_0x2679b6[_0x589e88['id']]=![];else{_0x5d4804['RVsWC'](_0x236318,_0x5d4804['vJPyF']);return;}}),_0x408dcc(_0x2679b6),_0x5ee1d7['qDiAL'](_0x39f189),Animated[_0x4ee7(0x32)](_0x36a3e2,{'toValue':0x1,'useNativeDriver':!![],'bounciness':0x0})[_0x4ee7(0x33)]();},[]);const _0x39f189=async()=>{try{if(_0x5ee1d7[_0x4ee7(0x34)]!=='wieUe'){if(__DEV__){_0x5ee1d7[_0x4ee7(0x35)](_0x1ff19b,_0x5ee1d7[_0x4ee7(0x27)]);return;}const _0x572dad=await onairosApi[_0x4ee7(0x36)](_0x5ee1d7['nLTyG'],{'Info':{'username':_0x42f18b}});if(_0x572dad&&_0x572dad['data']){if(_0x5ee1d7['LBvXd'](_0x5ee1d7[_0x4ee7(0x37)],_0x5ee1d7[_0x4ee7(0x38)])){const _0x2a49e3=_0x5ee1d7[_0x4ee7(0x39)](typeof _0x572dad[_0x4ee7(0x3a)],_0x5ee1d7[_0x4ee7(0x3b)])&&_0x572dad[_0x4ee7(0x3a)][_0x4ee7(0x3c)]?_0x572dad[_0x4ee7(0x3a)][_0x4ee7(0x3c)]:_0x4ee7(0x3d)+_0x42f18b;_0x5ee1d7[_0x4ee7(0x2b)](_0x1ff19b,_0x2a49e3);}else _0x5ee1d7[_0x4ee7(0x3e)](_0x3e3bf6,''+_0x55b84[_0x4ee7(0x3f)],_0x5ee1d7[_0x4ee7(0x40)],{'username':_0x5e93b4,'selections':_0x28ed9e,'platforms':_0x462b59,'error':!![]}),_0x5ee1d7[_0x4ee7(0x41)](_0xe3ecce);}else _0x5ee1d7['VsGqS'](_0x1ff19b,'User:\x20'+_0x42f18b);}else{_0x2b73e(''+_0x5d8755['BASE_URL'],_0x4ee7(0x42),{'username':_0x3c5fb7,'selections':_0x3c892e,'platforms':_0x51470e}),_0x5ee1d7['qDiAL'](_0x2b5b89);return;}}catch(_0x2bdc61){_0x5ee1d7[_0x4ee7(0x43)](_0x4ee7(0xa),_0x5ee1d7[_0x4ee7(0x44)])?_0x25ecc1[_0xcddbe3]=![]:(console['error'](_0x5ee1d7[_0x4ee7(0x45)],_0x2bdc61),_0x1ff19b('User:\x20'+_0x42f18b));}},_0x3ee7d9=_0x5ee1d7['poiKu'](useCallback,()=>{const _0x3b97da={'FPtbM':_0x5ee1d7['BJtLX'],'bwJDM':function(_0x4a2dc9,_0x41b1fc){return _0x5ee1d7[_0x4ee7(0x2b)](_0x4a2dc9,_0x41b1fc);}};_0x5ee1d7[_0x4ee7(0x46)](_0x4ee7(0x47),_0x5ee1d7['sYeII'])?_0x4d54ca[_0x4ee7(0x48)](_0x3b97da[_0x4ee7(0x49)],_0x517764):Animated[_0x4ee7(0x4a)](_0x36a3e2,{'toValue':0x0,'duration':0xfa,'useNativeDriver':!![]})[_0x4ee7(0x33)](()=>{_0x3b97da[_0x4ee7(0x4b)](_0x1a7b8c,![]);});},[_0x36a3e2]),_0x2f256a=useCallback(_0x4aa290=>{if(_0x5ee1d7[_0x4ee7(0x4c)](_0x5ee1d7['lIqYC'],_0x4ee7(0x4d)))_0x5ee1d7['VsGqS'](_0x408dcc,_0x2585b1=>({..._0x2585b1,[_0x4aa290]:!_0x2585b1[_0x4aa290]}));else{const _0x3bea95={};_0x586e38[_0x4ee7(0x2a)](_0x4c03c6)[_0x4ee7(0x2c)](_0x172ad7=>{_0x3bea95[_0x172ad7]=![];}),_0x5ee1d7[_0x4ee7(0x35)](_0x3985b8,_0x3bea95);const _0x3f75a0={};_0x8f8fdf['forEach'](_0x86df5f=>{_0x3f75a0[_0x86df5f['id']]=![];}),_0x5ee1d7[_0x4ee7(0x4e)](_0x5913c7,_0x3f75a0),_0x5ee1d7[_0x4ee7(0x41)](_0x3c6b63),Animated[_0x4ee7(0x32)](_0x222512,{'toValue':0x1,'useNativeDriver':!![],'bounciness':0x0})[_0x4ee7(0x33)]();}},[]),_0x131f27=_0x5ee1d7['EYmKz'](useCallback,async()=>{try{if(_0x5ee1d7[_0x4ee7(0x4f)](_0x5ee1d7[_0x4ee7(0x50)],_0x5ee1d7[_0x4ee7(0x51)]))Animated[_0x4ee7(0x4a)](_0x43876b,{'toValue':0x0,'duration':0xfa,'useNativeDriver':!![]})['start'](()=>{_0x2e6ce2(![]);});else{const _0x47c634=Platform[_0x4ee7(0x52)]({'ios':_0x4ee7(0x10),'android':_0x5ee1d7[_0x4ee7(0x53)],'default':_0x5ee1d7['xthPH']});if(__DEV__){_0x5ee1d7[_0x4ee7(0x3e)](_0x3c2db5,''+API_CONFIG['BASE_URL'],_0x4ee7(0x42),{'username':_0x42f18b,'selections':_0x5e4176,'platforms':_0xd1ba1c}),_0x5ee1d7['BlkZV'](_0x3ee7d9);return;}let _0xd124d1=_0x5ee1d7[_0x4ee7(0x54)];try{if(_0x5ee1d7['Ouxvd']!==_0x5ee1d7[_0x4ee7(0x55)]){const _0x302f15=await onairosApi['get'](_0x5ee1d7[_0x4ee7(0x56)]);_0x302f15&&_0x302f15[_0x4ee7(0x3a)]&&typeof _0x302f15[_0x4ee7(0x3a)]===_0x4ee7(0x57)&&(_0x5ee1d7['vWsvz'](_0x5ee1d7[_0x4ee7(0x58)],_0x5ee1d7['JAfbE'])?_0xd124d1=_0x302f15[_0x4ee7(0x3a)][_0x4ee7(0x59)]||_0x5ee1d7['UbRbg']:_0x5ee1d7[_0x4ee7(0x2b)](_0x1a5f1f,_0x499f37=>({..._0x499f37,[_0x4b25f2]:!_0x499f37[_0xc52753]})));}else _0x4e0c67=_0x5ee1d7[_0x4ee7(0x5a)](_0x99defe,_0x4bf4bc,_0x3b4ef2);}catch(_0x4934b2){console[_0x4ee7(0x48)](_0x5ee1d7[_0x4ee7(0x5b)],_0x4934b2);}let _0x4e5724=_0x1e8614;if(_0x5ee1d7[_0x4ee7(0x39)](typeof encryptModelKey,_0x5ee1d7[_0x4ee7(0x5c)])&&_0xd124d1)try{_0x5ee1d7[_0x4ee7(0x5d)]===_0x4ee7(0x18)?_0x4e5724=_0x5ee1d7[_0x4ee7(0x26)](encryptModelKey,_0xd124d1,_0x1e8614):(_0x5ee1d7[_0x4ee7(0x5e)](_0x551d0f,_0x3a7113[_0x4ee7(0x3a)][_0x4ee7(0x5f)],_0x454fcc['data']['token'],{'username':_0x15f857,'selections':_0x5c856f,'platforms':_0x56734b}),_0x5ee1d7[_0x4ee7(0x60)](_0x49c7a8));}catch(_0x17f7b0){console['error'](_0x5ee1d7[_0x4ee7(0x61)],_0x17f7b0);}const _0x3d78f7=await onairosApi['post'](_0x5ee1d7['lSSnr'],{'Info':{'storage':_0x5ee1d7['ojgWc'],'appId':_0x47c634,'confirmations':_0x5e4176,'developerURL':_0x5ee1d7['CgwFJ'],'EncryptedUserPin':_0x4e5724,'username':_0x42f18b,'platforms':_0xd1ba1c}});_0x3d78f7&&_0x3d78f7['data']&&_0x3d78f7[_0x4ee7(0x3a)]['APIUrl']&&_0x3d78f7[_0x4ee7(0x3a)][_0x4ee7(0x62)]?(_0x5ee1d7[_0x4ee7(0x63)](_0x3c2db5,_0x3d78f7['data']['APIUrl'],_0x3d78f7['data'][_0x4ee7(0x62)],{'username':_0x42f18b,'selections':_0x5e4176,'platforms':_0xd1ba1c}),_0x3ee7d9()):(_0x5ee1d7[_0x4ee7(0x5e)](_0x3c2db5,''+API_CONFIG[_0x4ee7(0x3f)],_0x5ee1d7[_0x4ee7(0x64)],{'username':_0x42f18b,'selections':_0x5e4176,'platforms':_0xd1ba1c}),_0x5ee1d7[_0x4ee7(0x65)](_0x3ee7d9));}}catch(_0x41bd9a){console[_0x4ee7(0x48)](_0x4ee7(0x66),_0x41bd9a),__DEV__?(_0x3c2db5(''+API_CONFIG['BASE_URL'],_0x5ee1d7[_0x4ee7(0x40)],{'username':_0x42f18b,'selections':_0x5e4176,'platforms':_0xd1ba1c,'error':!![]}),_0x5ee1d7[_0x4ee7(0x67)](_0x3ee7d9)):_0x5ee1d7[_0x4ee7(0x35)](_0x281c91,_0x5ee1d7[_0x4ee7(0x68)]);}},[_0x5e4176,_0x42f18b,_0x1e8614,_0x3c2db5,_0x3ee7d9,_0xd1ba1c]),_0x281c91=_0x257cde=>{const _0x3b7da8={'FXbYi':_0x5ee1d7[_0x4ee7(0x5b)]};_0x5ee1d7[_0x4ee7(0x43)](_0x4ee7(0x1b),_0x5ee1d7[_0x4ee7(0x69)])?_0x38a292[_0x4ee7(0x48)](_0x3b7da8[_0x4ee7(0x6a)],_0x22da10):Alert[_0x4ee7(0x6b)](_0x5ee1d7[_0x4ee7(0x6c)],_0x257cde,[{'text':'OK'}]);};return React[_0x4ee7(0x6d)](Modal,{'visible':_0x2e78e3,'transparent':!![],'animationType':_0x5ee1d7[_0x4ee7(0x6e)],'statusBarTranslucent':!![],'onRequestClose':_0x3ee7d9},React['createElement'](TouchableOpacity,{'style':styles[_0x4ee7(0x6f)],'activeOpacity':0x1,'onPress':_0x3ee7d9},React[_0x4ee7(0x6d)](TouchableWithoutFeedback,{'onPress':_0x10f7b7=>_0x10f7b7['stopPropagation']()},React[_0x4ee7(0x6d)](Animated[_0x4ee7(0x70)],{'style':[styles[_0x4ee7(0x71)],darkMode&&styles[_0x4ee7(0x72)],{'transform':[{'translateY':_0x36a3e2[_0x4ee7(0x73)]({'inputRange':[0x0,0x1],'outputRange':[SCREEN_HEIGHT,0x0]})}]}]},React['createElement'](View,{'style':styles[_0x4ee7(0x74)]},React['createElement'](View,{'style':[styles[_0x4ee7(0x75)],darkMode&&styles[_0x4ee7(0x76)]]})),React[_0x4ee7(0x6d)](SafeAreaView,{'style':[styles['container'],darkMode&&styles[_0x4ee7(0x72)]]},React[_0x4ee7(0x6d)](View,{'style':[styles[_0x4ee7(0x77)],darkMode&&styles[_0x4ee7(0x78)]]},React['createElement'](View,{'style':styles[_0x4ee7(0x79)]},React['createElement'](View,{'style':[styles[_0x4ee7(0x7a)],darkMode&&styles[_0x4ee7(0x7b)]]},React[_0x4ee7(0x6d)](Text,{'style':[styles[_0x4ee7(0x7c)],darkMode&&styles[_0x4ee7(0x7d)]]},appName[_0x4ee7(0x7e)](0x0))),React[_0x4ee7(0x6d)](_0x4142d6,{'name':_0x5ee1d7[_0x4ee7(0x7f)],'size':0x18,'color':darkMode?_0x5ee1d7[_0x4ee7(0x80)]:_0x5ee1d7[_0x4ee7(0x81)],'style':styles[_0x4ee7(0x82)]}),React['createElement'](View,{'style':[styles[_0x4ee7(0x83)],darkMode&&styles[_0x4ee7(0x84)]]},React['createElement'](Text,{'style':[styles[_0x4ee7(0x85)],darkMode&&styles[_0x4ee7(0x7d)]]},'O')))),React[_0x4ee7(0x6d)](ScrollView,{'style':styles[_0x4ee7(0x86)]},React['createElement'](View,{'style':styles['titleContainer']},React[_0x4ee7(0x6d)](Text,{'style':[styles[_0x4ee7(0x87)],darkMode&&styles['darkText']]},'Connect\x20your\x20data\x20to\x20create\x20a\x20Persona\x20of\x20you,\x20to\x20connect\x20to\x20Cosmos'),React[_0x4ee7(0x6d)](Text,{'style':[styles[_0x4ee7(0x88)],darkMode&&styles[_0x4ee7(0x89)]]},_0x4ee7(0x8a))),React[_0x4ee7(0x6d)](View,{'style':styles[_0x4ee7(0x8b)]},platforms['map'](_0x5cedf4=>React[_0x4ee7(0x6d)](View,{'key':_0x5cedf4['id'],'style':[styles[_0x4ee7(0x8c)],darkMode&&styles[_0x4ee7(0x8d)]]},React[_0x4ee7(0x6d)](View,{'style':styles[_0x4ee7(0x8e)]},React['createElement'](Image,{'source':_0x5cedf4['icon'],'style':styles[_0x4ee7(0x8f)],'resizeMode':_0x4ee7(0x90)}),React[_0x4ee7(0x6d)](Text,{'style':[styles['platformName'],darkMode&&styles[_0x4ee7(0x7d)]]},_0x5cedf4[_0x4ee7(0x91)])),React['createElement'](Switch,{'value':_0xd1ba1c[_0x5cedf4['id']],'onValueChange':()=>_0x2f256a(_0x5cedf4['id']),'trackColor':{'false':_0x4ee7(0x92),'true':_0x4ee7(0x93)},'thumbColor':_0xd1ba1c[_0x5cedf4['id']]?'#2196F3':_0x4ee7(0x94)}))))),React[_0x4ee7(0x6d)](View,{'style':[styles[_0x4ee7(0x95)],darkMode&&styles[_0x4ee7(0x96)]]},React[_0x4ee7(0x6d)](TouchableOpacity,{'style':styles[_0x4ee7(0x97)],'onPress':_0x3ee7d9},React[_0x4ee7(0x6d)](Text,{'style':[styles[_0x4ee7(0x98)],darkMode&&styles[_0x4ee7(0x89)]]},_0x4ee7(0x99))),React[_0x4ee7(0x6d)](TouchableOpacity,{'style':[styles[_0x4ee7(0x9a)],darkMode&&styles[_0x4ee7(0x9b)]],'onPress':_0x131f27},React[_0x4ee7(0x6d)](Text,{'style':[styles[_0x4ee7(0x9c)],_0x5ee1d7['ZQCyD'](darkMode,{'color':_0x5ee1d7['YclcH']})]},_0x5ee1d7[_0x4ee7(0x9d)]))))))));};const styles=StyleSheet[_0x4ee7(0x9e)]({'modalOverlay':{'flex':0x1,'backgroundColor':_0x4ee7(0x9f),'justifyContent':_0x4ee7(0xa0)},'bottomSheet':{'backgroundColor':_0x4ee7(0xa1),'borderTopLeftRadius':0x18,'borderTopRightRadius':0x18,'width':SCREEN_WIDTH,'height':SCREEN_HEIGHT*0.8,'overflow':_0x4ee7(0xa2)},'handleContainer':{'width':_0x4ee7(0xa3),'alignItems':_0x4ee7(0xa4),'paddingTop':0xc,'paddingBottom':0x8},'handle':{'width':0x28,'height':0x5,'borderRadius':0x3,'backgroundColor':_0x4ee7(0xa5)},'darkHandle':{'backgroundColor':'#666'},'container':{'flex':0x1,'backgroundColor':_0x4ee7(0xa1)},'darkContainer':{'backgroundColor':_0x4ee7(0xa6)},'header':{'padding':0x18,'alignItems':_0x4ee7(0xa4)},'darkHeader':{'backgroundColor':_0x4ee7(0xa6)},'headerContent':{'flexDirection':_0x4ee7(0xa7),'alignItems':_0x4ee7(0xa4),'justifyContent':_0x4ee7(0xa4),'marginBottom':0x10},'appIcon':{'width':0x30,'height':0x30,'borderRadius':0x10,'backgroundColor':_0x4ee7(0xa8),'alignItems':_0x4ee7(0xa4),'justifyContent':'center'},'darkAppIcon':{'backgroundColor':_0x4ee7(0xa9)},'appIconText':{'fontSize':0x18,'color':_0x4ee7(0xaa)},'darkText':{'color':_0x4ee7(0xa1)},'arrow':{'marginHorizontal':0x10},'onairosIcon':{'width':0x30,'height':0x30,'borderRadius':0x10,'backgroundColor':_0x4ee7(0xa8),'alignItems':_0x4ee7(0xa4),'justifyContent':_0x4ee7(0xa4)},'darkOnairosIcon':{'backgroundColor':_0x4ee7(0xa9)},'onairosIconText':{'fontSize':0x18,'color':_0x4ee7(0xaa)},'darkSubText':{'color':_0x4ee7(0x1e)},'titleContainer':{'marginBottom':0x1e},'mainTitle':{'fontSize':0x16,'fontWeight':_0x4ee7(0xab),'color':'#000','textAlign':_0x4ee7(0xa4),'marginBottom':0x10},'privacyMessage':{'fontSize':0xe,'color':_0x4ee7(0x1f),'textAlign':_0x4ee7(0xa4),'marginBottom':0x10},'content':{'flex':0x1,'paddingHorizontal':0x18},'platformsContainer':{'marginTop':0x10},'platformItem':{'flexDirection':_0x4ee7(0xa7),'justifyContent':_0x4ee7(0xac),'alignItems':_0x4ee7(0xa4),'padding':0x10,'backgroundColor':'#fff','borderRadius':0x10,'marginBottom':0x10,'borderWidth':0x1,'borderColor':_0x4ee7(0xad)},'darkPlatformItem':{'backgroundColor':_0x4ee7(0xa9),'borderColor':'#333'},'platformInfo':{'flexDirection':_0x4ee7(0xa7),'alignItems':'center'},'platformIcon':{'width':0x20,'height':0x20,'marginRight':0xc},'platformName':{'fontSize':0x10,'fontWeight':_0x4ee7(0xae),'color':'#000'},'footer':{'flexDirection':_0x4ee7(0xa7),'alignItems':_0x4ee7(0xa4),'justifyContent':_0x4ee7(0xac),'padding':0x18,'borderTopWidth':0x1,'borderTopColor':_0x4ee7(0xad),'backgroundColor':'#fff'},'darkFooter':{'backgroundColor':'#2A2A2A','borderTopColor':_0x4ee7(0xaf)},'footerButtonCancel':{'paddingVertical':0x8,'paddingHorizontal':0x10},'darkFooterButton':{'backgroundColor':'transparent'},'footerButtonConfirm':{'paddingVertical':0x10,'paddingHorizontal':0x20,'borderRadius':0x10,'backgroundColor':_0x4ee7(0xa1),'borderWidth':0x1,'borderColor':_0x4ee7(0xaa)},'darkFooterButtonConfirm':{'backgroundColor':_0x4ee7(0xa1),'borderColor':_0x4ee7(0xa1)},'footerButtonText':{'color':_0x4ee7(0x1f),'fontSize':0x10},'footerButtonTextConfirm':{'color':_0x4ee7(0xaa),'fontSize':0x10,'fontWeight':_0x4ee7(0xab)},'lightBackground':{'backgroundColor':_0x4ee7(0xa1)},'darkBackground':{'backgroundColor':_0x4ee7(0xa6)}});
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';import _0x43a4f0 from'lottie-react-native';function _0x1d6e(_0x4736a0,_0x1d6e13){_0x4736a0=_0x4736a0-0x0;const _0x20b3a1=_0x4736();let _0x4a84a6=_0x20b3a1[_0x4736a0];return _0x4a84a6;}import{ANIMATIONS}from'../utils/assetRegistry';function _0x4736(){const _0x1238f3=['znnIR','xFoWp','Uxmxo','UHVMO','0|4|3|2|1','ThBws','QTRZV','dLWYg','GcEXK','AOZal','lNMMb','XDwbL','LFuGQ','KGAut','current','split','gSREo','iJUVg','qgvfX','OlZvj','rwEIW','evvfH','CFVdv','DImXm','QBEnt','GZsdQ','now','yeTFx','kaMGO','ybisd','PCJXM','sKeqM','BgntR','NXFMi','RySwd','bQbtK','TRQBE','rtXMr','BEThm','min','NmaVG','ZoCza','hkySJ','fURet','LHIJR','YaPvF','htNCU','Czlyv','zjtwB','jWAyS','QGPCB','BVYiX','kYqnP','yUcML','kbAJH','bpGjE','XGwse','JBKXt','createElement','container','persona','pkubB','create','center','100%'];_0x4736=function(){return _0x1238f3;};return _0x4736();}const PersonaImage=({level:_0x5864f3,style:_0x2bae5f,disableAnimation:disableAnimation=![]})=>{const _0x4e2287={'ThBws':function(_0x529cfb,_0x1ba99e){return _0x529cfb(_0x1ba99e);},'iavFe':function(_0x5757c6,_0x47dbc8){return _0x5757c6-_0x47dbc8;},'XDwbL':function(_0x4d7ded,_0x1828b3){return _0x4d7ded===_0x1828b3;},'eDbQa':_0x1d6e(0x0),'GWQgY':_0x1d6e(0x1),'rwEIW':function(_0xee1e00,_0xc9e804){return _0xee1e00-_0xc9e804;},'zsCAR':function(_0x56ebcd,_0x5a48c8){return _0x56ebcd/_0x5a48c8;},'evvfH':function(_0x288aac,_0x499666){return _0x288aac*_0x499666;},'CFVdv':function(_0xcf3e07,_0x27b992){return _0xcf3e07+_0x27b992;},'DImXm':function(_0x533726,_0x123067){return _0x533726!==_0x123067;},'QBEnt':_0x1d6e(0x2),'GZsdQ':_0x1d6e(0x3),'AOZal':function(_0x52cd83,_0x113795){return _0x52cd83/_0x113795;},'MPjwp':function(_0x4eed0b,_0x18a686){return _0x4eed0b<_0x18a686;},'lNMMb':function(_0x5358ee,_0x460c80){return _0x5358ee*_0x460c80;},'szRqq':function(_0x4e0a84,_0x2717d3){return _0x4e0a84-_0x2717d3;},'FGPrC':_0x1d6e(0x4),'gSREo':function(_0x5327c0,_0x3cf9ac){return _0x5327c0!==_0x3cf9ac;},'iJUVg':function(_0x541bf4,_0x245092){return _0x541bf4(_0x245092);},'WkZyw':function(_0x1ff925,_0x5a9be4){return _0x1ff925===_0x5a9be4;},'OlZvj':'qgvfX','GcEXK':function(_0x5c8e4f,_0x3d63dd){return _0x5c8e4f(_0x3d63dd);},'QTRZV':function(_0x4e5922,_0x252d44){return _0x4e5922(_0x252d44);},'dLWYg':function(_0x289245,_0x19ae17){return _0x289245(_0x19ae17);},'pkubB':'contain'},_0x19a47b=useRef(null),_0x53f127=[0x0,0.2,0.35,0.52,0.8],_0x29a9f8=_0x39e470=>_0x53f127[_0x39e470-0x1]||0x0,[_0x1db4aa,_0x4b3e9b]=_0x4e2287['ThBws'](useState,_0x29a9f8(_0x5864f3)),_0x288ce4=_0x4e2287[_0x1d6e(0x5)](useRef,_0x4e2287['GcEXK'](_0x29a9f8,_0x5864f3)),_0x408fd2=_0x4e2287[_0x1d6e(0x6)](useRef,_0x5864f3),_0xf1be72=_0x4e2287[_0x1d6e(0x7)](useRef,null),_0x3cb84c=_0x4e2287[_0x1d6e(0x8)](useRef,null),_0x50a9e6=_0x4e2287[_0x1d6e(0x8)](useRef,!![]);return useEffect(()=>{const _0x51472c={'yUcML':function(_0x4e664e,_0x43b31f){return _0x4e2287[_0x1d6e(0x9)](_0x4e664e,_0x43b31f);},'kbAJH':function(_0x2aeb03,_0x2e8895){return _0x4e2287['MPjwp'](_0x2aeb03,_0x2e8895);},'xNKrA':function(_0x52faa4,_0x3222fc){return _0x4e2287[_0x1d6e(0xa)](_0x52faa4,_0x3222fc);},'bpGjE':function(_0x10fcd3,_0x22b897){return _0x4e2287[_0x1d6e(0xa)](_0x10fcd3,_0x22b897);},'JAHUq':function(_0x5617ec,_0x3f6dda){return _0x4e2287['CFVdv'](_0x5617ec,_0x3f6dda);},'OwaZM':function(_0x308535,_0x574d9e){return _0x308535*_0x574d9e;},'XGwse':function(_0xbf9a29,_0x540429){return _0x4e2287['szRqq'](_0xbf9a29,_0x540429);},'JBKXt':function(_0x185377,_0x152e08){return _0x185377!==_0x152e08;}};if(_0x4e2287[_0x1d6e(0xb)](_0x1d6e(0xc),_0x1d6e(0xd))){_0x863f6f[_0x1d6e(0xe)]=_0x55b54f,_0x4e2287[_0x1d6e(0x5)](_0x4d0eef,_0x39b21a),_0x3b5f9e['current']=_0x1d056c,_0x784839['current']=![];return;}else{const _0x5f1abd=_0x4e2287[_0x1d6e(0x5)](_0x29a9f8,_0x5864f3);if(_0x50a9e6[_0x1d6e(0xe)]){const _0x1d5085=_0x4e2287['FGPrC'][_0x1d6e(0xf)]('|');let _0x24f2d1=0x0;while(!![]){switch(_0x1d5085[_0x24f2d1++]){case'0':_0x288ce4['current']=_0x5f1abd;continue;case'1':return;case'2':_0x50a9e6[_0x1d6e(0xe)]=![];continue;case'3':_0x408fd2[_0x1d6e(0xe)]=_0x5864f3;continue;case'4':_0x4b3e9b(_0x5f1abd);continue;}break;}}if(disableAnimation){_0x288ce4[_0x1d6e(0xe)]=_0x5f1abd,_0x4e2287['ThBws'](_0x4b3e9b,_0x5f1abd),_0x408fd2[_0x1d6e(0xe)]=_0x5864f3;return;}if(_0x408fd2[_0x1d6e(0xe)]===_0x5864f3)return;_0x4e2287[_0x1d6e(0x10)](_0xf1be72[_0x1d6e(0xe)],null)&&(_0x4e2287[_0x1d6e(0x11)](cancelAnimationFrame,_0xf1be72[_0x1d6e(0xe)]),_0xf1be72[_0x1d6e(0xe)]=null);_0x3cb84c[_0x1d6e(0xe)]!==null&&(_0x4e2287['WkZyw'](_0x1d6e(0x12),_0x4e2287[_0x1d6e(0x13)])?(_0x4e2287[_0x1d6e(0x5)](clearTimeout,_0x3cb84c[_0x1d6e(0xe)]),_0x3cb84c[_0x1d6e(0xe)]=null):(_0x62cfd2(_0x2693cf['current']),_0x1f9708[_0x1d6e(0xe)]=null));const _0xd9f1d4=0x96,_0xeb6fcd=0xc80;return _0x3cb84c['current']=setTimeout(()=>{const _0xc7137={'yeTFx':function(_0x219fa3,_0x5445f2){return _0x219fa3-_0x5445f2;},'kaMGO':function(_0x39692a,_0x5df18e){return _0x39692a<_0x5df18e;},'ybisd':function(_0x21f550,_0x50a2a7){return _0x21f550*_0x50a2a7;},'PCJXM':function(_0x55bb0d,_0xc6dbf3){return _0x4e2287['iavFe'](_0x55bb0d,_0xc6dbf3);},'sKeqM':function(_0x34297e,_0x362eab){return _0x4e2287[_0x1d6e(0xb)](_0x34297e,_0x362eab);},'BgntR':_0x4e2287['eDbQa'],'NXFMi':_0x4e2287['GWQgY'],'Czlyv':function(_0x5c6f07,_0x315427){return _0x4e2287[_0x1d6e(0x14)](_0x5c6f07,_0x315427);},'zjtwB':function(_0x2ad0b2,_0x3d0dbf){return _0x4e2287['zsCAR'](_0x2ad0b2,_0x3d0dbf);},'jWAyS':function(_0x507377,_0x286d4d){return _0x4e2287['evvfH'](_0x507377,_0x286d4d);},'QGPCB':function(_0x391431,_0x8914b7){return _0x4e2287[_0x1d6e(0x15)](_0x391431,_0x8914b7);},'BVYiX':function(_0x28ac09,_0x4fdeb5){return _0x4e2287[_0x1d6e(0x16)](_0x28ac09,_0x4fdeb5);},'wdXth':function(_0x1ec48e,_0x180fc5){return _0x4e2287['iavFe'](_0x1ec48e,_0x180fc5);},'erIdL':function(_0x432819,_0xae4987){return _0x432819(_0xae4987);},'kYqnP':function(_0x2e06c2,_0x4f2a9c){return _0x4e2287['ThBws'](_0x2e06c2,_0x4f2a9c);}};if(_0x4e2287[_0x1d6e(0x17)](_0x4e2287[_0x1d6e(0x18)],_0x4e2287[_0x1d6e(0x19)])){const _0x9ef080=_0x288ce4[_0x1d6e(0xe)],_0x24a747=Date[_0x1d6e(0x1a)](),_0x228a02=()=>{const _0xd6622={'AjJGD':function(_0x2d3fda,_0x34852e){return _0xc7137[_0x1d6e(0x1b)](_0x2d3fda,_0x34852e);},'rtXMr':function(_0xf9e147,_0x3a8575){return _0xc7137[_0x1d6e(0x1c)](_0xf9e147,_0x3a8575);},'RySwd':function(_0x349087,_0x2146d6){return _0xc7137[_0x1d6e(0x1d)](_0x349087,_0x2146d6);},'bQbtK':function(_0x514e4b,_0x2d341b){return _0x514e4b+_0x2d341b;},'TRQBE':function(_0xc427b0,_0xf62249){return _0xc7137[_0x1d6e(0x1e)](_0xc427b0,_0xf62249);},'htNCU':function(_0x368b30,_0x1a9844){return _0x368b30(_0x1a9844);}};if(_0xc7137[_0x1d6e(0x1f)](_0xc7137[_0x1d6e(0x20)],_0xc7137[_0x1d6e(0x21)])){const _0x349018={'BEThm':function(_0xed259a,_0x2d6930){return _0xd6622['AjJGD'](_0xed259a,_0x2d6930);},'NmaVG':function(_0x80b1a8,_0x3fff0d){return _0xd6622['rtXMr'](_0x80b1a8,_0x3fff0d);},'ZoCza':function(_0x19511d,_0x51923f){return _0x19511d*_0x51923f;},'hkySJ':function(_0x39a47f,_0x86c76b){return _0xd6622[_0x1d6e(0x22)](_0x39a47f,_0x86c76b);},'pxUhn':function(_0x17bb60,_0x123527){return _0xd6622[_0x1d6e(0x23)](_0x17bb60,_0x123527);},'fURet':function(_0x355165,_0x2e27e7){return _0xd6622[_0x1d6e(0x24)](_0x355165,_0x2e27e7);},'LHIJR':function(_0x47b4f0,_0x3661bc){return _0xd6622[_0x1d6e(0x22)](_0x47b4f0,_0x3661bc);},'iUJkY':function(_0x124420,_0x2c7e13){return _0xd6622[_0x1d6e(0x23)](_0x124420,_0x2c7e13);},'EJerW':function(_0x1cf32e,_0x4b87f2){return _0x1cf32e*_0x4b87f2;},'YaPvF':function(_0x21585f,_0x2dbb35){return _0xd6622[_0x1d6e(0x25)](_0x21585f,_0x2dbb35);}},_0x5637b7=_0x50e11e[_0x1d6e(0xe)],_0x4c60db=_0x1bd2b4[_0x1d6e(0x1a)](),_0x94fae7=()=>{const _0xade46e=_0x349018[_0x1d6e(0x26)](_0x26e556[_0x1d6e(0x1a)](),_0x4c60db),_0x47e19d=_0x330078[_0x1d6e(0x27)](_0xade46e/_0x50a394,0x1),_0x3306f1=_0x349018[_0x1d6e(0x28)](_0x47e19d,0.5)?_0x349018[_0x1d6e(0x29)](_0x349018[_0x1d6e(0x2a)](0x2,_0x47e19d),_0x47e19d):_0x349018['pxUhn'](-0x1,_0x349018[_0x1d6e(0x2b)](0x4,_0x349018[_0x1d6e(0x2c)](0x2,_0x47e19d))*_0x47e19d),_0x4c2f39=_0x349018['iUJkY'](_0x5637b7,_0x349018['EJerW'](_0x349018[_0x1d6e(0x2b)](_0x3889ef,_0x5637b7),_0x3306f1));_0x534c20[_0x1d6e(0xe)]=_0x4c2f39,_0xced268(_0x4c2f39),_0x349018[_0x1d6e(0x2d)](_0x47e19d,0x1)?_0x30d7d2[_0x1d6e(0xe)]=_0x4eb871(_0x94fae7):_0x2ed4c3['current']=null;};_0x5acd3a['current']=_0xd6622[_0x1d6e(0x2e)](_0x40fa73,_0x94fae7);}else{const _0x3d7e8c=_0xc7137[_0x1d6e(0x2f)](Date[_0x1d6e(0x1a)](),_0x24a747),_0x844a97=Math['min'](_0xc7137[_0x1d6e(0x30)](_0x3d7e8c,_0xeb6fcd),0x1),_0x1c415d=_0xc7137[_0x1d6e(0x1c)](_0x844a97,0.5)?_0xc7137[_0x1d6e(0x31)](_0xc7137[_0x1d6e(0x32)](0x2,_0x844a97),_0x844a97):_0xc7137[_0x1d6e(0x33)](-0x1,_0xc7137['jWAyS'](_0xc7137['wdXth'](0x4,_0xc7137['QGPCB'](0x2,_0x844a97)),_0x844a97)),_0x27546a=_0x9ef080+(_0x5f1abd-_0x9ef080)*_0x1c415d;_0x288ce4[_0x1d6e(0xe)]=_0x27546a,_0xc7137['erIdL'](_0x4b3e9b,_0x27546a),_0x844a97<0x1?_0xf1be72['current']=_0xc7137[_0x1d6e(0x34)](requestAnimationFrame,_0x228a02):_0xf1be72[_0x1d6e(0xe)]=null;}};_0xf1be72['current']=_0x4e2287[_0x1d6e(0x5)](requestAnimationFrame,_0x228a02);}else{const _0x2c5fa1=_0x480cfc['now']()-_0x289402,_0x48aea1=_0x2d4a8c[_0x1d6e(0x27)](_0x51472c[_0x1d6e(0x35)](_0x2c5fa1,_0x5332bc),0x1),_0x55b0d4=_0x51472c[_0x1d6e(0x36)](_0x48aea1,0.5)?_0x51472c['xNKrA'](_0x51472c[_0x1d6e(0x37)](0x2,_0x48aea1),_0x48aea1):_0x51472c['JAHUq'](-0x1,_0x51472c['OwaZM'](_0x51472c[_0x1d6e(0x38)](0x4,0x2*_0x48aea1),_0x48aea1)),_0x32542b=_0x2ef6f4+_0x51472c['bpGjE'](_0x51472c[_0x1d6e(0x38)](_0x430612,_0xcc5410),_0x55b0d4);_0x537dee[_0x1d6e(0xe)]=_0x32542b,_0x1135b9(_0x32542b),_0x48aea1<0x1?_0x34ddd6[_0x1d6e(0xe)]=_0x3583fe(_0x4f220c):_0xdd3791[_0x1d6e(0xe)]=null;}},_0xd9f1d4),_0x408fd2['current']=_0x5864f3,()=>{_0x51472c[_0x1d6e(0x39)](_0xf1be72[_0x1d6e(0xe)],null)&&(cancelAnimationFrame(_0xf1be72[_0x1d6e(0xe)]),_0xf1be72[_0x1d6e(0xe)]=null),_0x51472c[_0x1d6e(0x39)](_0x3cb84c[_0x1d6e(0xe)],null)&&(clearTimeout(_0x3cb84c[_0x1d6e(0xe)]),_0x3cb84c['current']=null);};}},[_0x5864f3,disableAnimation]),React[_0x1d6e(0x3a)](View,{'style':[styles[_0x1d6e(0x3b)],_0x2bae5f]},React['createElement'](_0x43a4f0,{'ref':_0x19a47b,'source':ANIMATIONS[_0x1d6e(0x3c)],'progress':_0x1db4aa,'loop':![],'autoPlay':![],'style':styles['animation'],'resizeMode':_0x4e2287[_0x1d6e(0x3d)]}));},styles=StyleSheet[_0x1d6e(0x3e)]({'container':{'width':0xc8,'height':0xc8,'alignItems':_0x1d6e(0x3f),'justifyContent':_0x1d6e(0x3f)},'animation':{'width':_0x1d6e(0x40),'height':_0x1d6e(0x40)}});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 _0x5a5dee from'lottie-react-native';import{COLORS}from'../theme';function _0x2681(_0x7e85e0,_0x26810e){_0x7e85e0=_0x7e85e0-0x0;const _0x4ae865=_0x7e85();let _0x456d2a=_0x4ae865[_0x7e85e0];return _0x456d2a;}import{triggerHaptic,HapticType}from'../utils/haptics';function _0x7e85(){const _0x4f71d6=['Trying\x20to\x20understand\x20your\x20mind','You\x27re\x20more\x20interesting\x20than\x20I\x20expected','Finalizing\x20your\x20unique\x20persona','Almost\x20done','Complete!','random','floor','ELzjQ','HdhTW','Xitso','FObqS','LJztr','kuVzm','UGEtU','riDbp','medium','WgDtA','wxrTX','FYKnC','paFha','contain','100%','NToVV','Value','pgkBc','YhOXh','current','hsZcZ','YsSwq','nhmNl','sequence','timing','start','aqgDT','SLVnr','qRhpD','uqQfm','pShix','gTsFO','LrngV','CghOp','JSttY','uzWYU','aWpCT','lkxtR','MHdYk','SZHEq','forEach','FXDVh','ImIgt','DjAhC','HFCRK','fZHEw','uYmXm','push','max','OiEeu','long','XqeKb','LKgAL','oaOYb','YMfPh','CJuhs','wcExO','UraHs','pTNNL','FQQAs','NjxWV','LntAq','wpLjT','SUCCESS','OrbSL','ilPQj','map','IJbTO','minProgress','text','iJmyT','lkjuF','sort','progress','loEhc','pQvUD','QzTsw','length','pnKjq','DyZrU','GgJsE','jdPVR','TFThB','xXbeF','KeWVr','VZvgz','maxProgress','createElement','container','lottieContainer','loader','lottieAnimation','vAWIF','loadingText','dot','Text','progressContainer','progressTrack','View','progressFill','interpolate','BZbpz','create','surface','center','row','IBM\x20Plex\x20Sans','600','grey800','#E5E5E5'];_0x7e85=function(){return _0x4f71d6;};return _0x7e85();}import{ANIMATIONS}from'../utils/assetRegistry';const STATUS_MESSAGES=[{'text':'Keeping\x20your\x20data\x20private','minProgress':0x0,'maxProgress':0x19},{'text':_0x2681(0x0),'minProgress':0x14,'maxProgress':0x2d},{'text':_0x2681(0x1),'minProgress':0x28,'maxProgress':0x41},{'text':_0x2681(0x2),'minProgress':0x3c,'maxProgress':0x55},{'text':_0x2681(0x3),'minProgress':0x50,'maxProgress':0x5f},{'text':_0x2681(0x4),'minProgress':0x64,'maxProgress':0x64}],randomInRange=(_0x3c7a47,_0x806ba3)=>{return Math[_0x2681(0x5)]()*(_0x806ba3-_0x3c7a47)+_0x3c7a47;},randomIntInRange=(_0x2d9e25,_0x1df74f)=>{const _0x15491d={'ELzjQ':function(_0x436a1b,_0x4cd47c,_0x18cd2f){return _0x436a1b(_0x4cd47c,_0x18cd2f);}};return Math[_0x2681(0x6)](_0x15491d[_0x2681(0x7)](randomInRange,_0x2d9e25,_0x1df74f+0x1));},PersonaLoadingScreen=({visible:_0x400287,onComplete:_0x570dd3})=>{const _0x9d0c53={'KvnGO':function(_0x343bb7,_0x5016e7){return _0x343bb7!==_0x5016e7;},'YsSwq':function(_0x6d3606,_0x90561a,_0x4dda99){return _0x6d3606(_0x90561a,_0x4dda99);},'BcVwS':_0x2681(0x8),'nhmNl':_0x2681(0x9),'aqgDT':function(_0x518c1f,_0x10e66e,_0x314d55){return _0x518c1f(_0x10e66e,_0x314d55);},'qRhpD':function(_0x395b75,_0x488446,_0x537b10){return _0x395b75(_0x488446,_0x537b10);},'HFCRK':function(_0x22b685,_0x133b2b){return _0x22b685+_0x133b2b;},'fZHEw':function(_0x1526d0,_0x1a6c95){return _0x1526d0/_0x1a6c95;},'XqeKb':function(_0x162b39,_0x43b638){return _0x162b39<_0x43b638;},'NToVV':function(_0x3998a3,_0x1177a9){return _0x3998a3(_0x1177a9);},'CghOp':function(_0x1f1b9e,_0x3a8490,_0x479fab){return _0x1f1b9e(_0x3a8490,_0x479fab);},'KeWVr':_0x2681(0xa),'gTsFO':function(_0x578eff,_0xb85535,_0x30a443){return _0x578eff(_0xb85535,_0x30a443);},'LrngV':function(_0x433ba2){return _0x433ba2();},'dpniq':'ATEuz','JSttY':_0x2681(0xb),'uzWYU':function(_0x2035f4,_0x5dba2f){return _0x2035f4(_0x5dba2f);},'aWpCT':function(_0x55ae49,_0x89eb14){return _0x55ae49>=_0x89eb14;},'lkxtR':function(_0x471611,_0x4d511b){return _0x471611(_0x4d511b);},'MHdYk':function(_0xb7cab4,_0x4f93c8){return _0xb7cab4===_0x4f93c8;},'SZHEq':_0x2681(0xc),'FXDVh':function(_0x178a81,_0x46be81){return _0x178a81<_0x46be81;},'ImIgt':function(_0x517557,_0x3bb4cd){return _0x517557-_0x3bb4cd;},'DjAhC':function(_0x3770c7,_0x2b36d4){return _0x3770c7-_0x2b36d4;},'HoCbk':function(_0x80f68b,_0x44ad5d){return _0x80f68b*_0x44ad5d;},'uYmXm':function(_0x1958d1,_0x4fc017){return _0x1958d1*_0x4fc017;},'OiEeu':'short','LKgAL':'acGsM','QkTid':function(_0x1f3199,_0x3f3ded){return _0x1f3199===_0x3f3ded;},'ImJGj':function(_0x2a5439,_0x699b11){return _0x2a5439!==_0x699b11;},'oaOYb':_0x2681(0xd),'YMfPh':_0x2681(0xe),'CJuhs':function(_0x308b63,_0x5edad9){return _0x308b63===_0x5edad9;},'wcExO':_0x2681(0xf),'ztQbP':function(_0x3a2955,_0x3d2e67){return _0x3a2955!==_0x3d2e67;},'UraHs':_0x2681(0x10),'pTNNL':_0x2681(0x11),'FQQAs':function(_0x2f141d,_0x1a41ff,_0x1a653a){return _0x2f141d(_0x1a41ff,_0x1a653a);},'ilPQj':function(_0x207a04,_0x3b1d80){return _0x207a04/_0x3b1d80;},'loEhc':function(_0x5c0b4e,_0x4ae41f){return _0x5c0b4e===_0x4ae41f;},'pQvUD':_0x2681(0x12),'QzTsw':_0x2681(0x13),'DyZrU':function(_0x206fd8,_0x585de5,_0xc8b65){return _0x206fd8(_0x585de5,_0xc8b65);},'pgkBc':function(_0x2cba9b,_0x417547){return _0x2cba9b(_0x417547);},'YhOXh':function(_0x39ec43,_0x8ca864){return _0x39ec43(_0x8ca864);},'hsZcZ':'Keeping\x20your\x20data\x20private','vAWIF':_0x2681(0x14),'BZbpz':_0x2681(0x15)},_0x2c6631=_0x9d0c53[_0x2681(0x16)](useRef,new Animated[(_0x2681(0x17))](0x0))['current'],_0x19afcf=_0x9d0c53[_0x2681(0x18)](useRef,new Animated[(_0x2681(0x17))](0.3))['current'],_0x5ce93d=_0x9d0c53[_0x2681(0x19)](useRef,new Animated[(_0x2681(0x17))](0.3))[_0x2681(0x1a)],_0x1b16f4=useRef(new Animated[(_0x2681(0x17))](0.3))['current'],[_0x57d637,_0x2319fb]=useState(0x0),[_0x26b9cc,_0x16ca27]=useState(_0x9d0c53[_0x2681(0x1b)]),_0x1d6f5b=_0x9d0c53[_0x2681(0x18)](useRef,[]);useEffect(()=>{const _0x1415c1={'SLVnr':function(_0x431e06,_0x4f3d7e,_0x1f0162){return _0x9d0c53[_0x2681(0x1c)](_0x431e06,_0x4f3d7e,_0x1f0162);},'uqQfm':function(_0x3f7c93,_0x4421c4){return _0x3f7c93!==_0x4421c4;},'pShix':_0x9d0c53['BcVwS'],'QaaDo':_0x9d0c53[_0x2681(0x1d)],'GLqba':function(_0x45854f,_0x523fc1,_0xff81){return _0x45854f(_0x523fc1,_0xff81);}};if(!_0x400287)return;const _0x14e013=(_0xd87830,_0x56981a)=>{if(_0x9d0c53['KvnGO']('lCfXM','pMCOk'))return Animated['loop'](Animated[_0x2681(0x1e)]([Animated[_0x2681(0x1f)](_0xd87830,{'toValue':0x1,'duration':0x258,'useNativeDriver':!![]}),Animated[_0x2681(0x1f)](_0xd87830,{'toValue':0.3,'duration':0x258,'useNativeDriver':!![]})]),{'iterations':-0x1});else _0x326d38(_0x1e81eb,0x0)[_0x2681(0x20)]();};_0x9d0c53[_0x2681(0x21)](setTimeout,()=>{_0x1415c1[_0x2681(0x22)](_0x14e013,_0x19afcf,0x0)['start']();},0x12c),setTimeout(()=>{_0x9d0c53[_0x2681(0x1c)](_0x14e013,_0x5ce93d,0xc8)[_0x2681(0x20)]();},0x1f4),_0x9d0c53[_0x2681(0x23)](setTimeout,()=>{_0x1415c1[_0x2681(0x24)](_0x1415c1[_0x2681(0x25)],_0x1415c1['QaaDo'])?_0x1415c1['GLqba'](_0x14e013,_0x1b16f4,0x190)['start']():(_0x17cd54[_0x2681(0x1a)]['forEach'](_0x2a8a05=>_0x3ef7a8(_0x2a8a05)),_0x32dad0[_0x2681(0x1a)]=[]);},0x2bc);},[_0x400287,_0x19afcf,_0x5ce93d,_0x1b16f4]),useEffect(()=>{const _0x1db69f={'zugYs':function(_0x308eac,_0x3c5fec,_0x358bd8){return _0x9d0c53[_0x2681(0x26)](_0x308eac,_0x3c5fec,_0x358bd8);},'NjxWV':function(_0x151646,_0x3a20aa){return _0x151646(_0x3a20aa);},'hhFlS':function(_0x6a0fe0){return _0x9d0c53[_0x2681(0x27)](_0x6a0fe0);},'LntAq':function(_0xc18b87,_0xdba7fc,_0x26a8c3){return _0x9d0c53[_0x2681(0x28)](_0xc18b87,_0xdba7fc,_0x26a8c3);},'IJbTO':function(_0x214169,_0x578879){return _0x214169===_0x578879;},'iJmyT':_0x9d0c53['dpniq'],'RTSib':_0x9d0c53[_0x2681(0x29)],'cmTAq':function(_0x4fe9b5,_0x437c9a,_0x5eebb7){return _0x9d0c53['CghOp'](_0x4fe9b5,_0x437c9a,_0x5eebb7);},'pnKjq':function(_0x10754e){return _0x10754e();},'LgWHk':function(_0x5a1381,_0x2bcef2){return _0x9d0c53[_0x2681(0x2a)](_0x5a1381,_0x2bcef2);},'GgJsE':function(_0x28f1ad,_0x3752f8){return _0x28f1ad<_0x3752f8;},'sIzYf':function(_0x1cb398,_0x9cc65c){return _0x9d0c53[_0x2681(0x2b)](_0x1cb398,_0x9cc65c);},'jdPVR':function(_0x55f268,_0x379888){return _0x9d0c53[_0x2681(0x2c)](_0x55f268,_0x379888);},'TFThB':function(_0x2b73db,_0x2f3314){return _0x2b73db/_0x2f3314;}};if(!_0x400287){if(_0x9d0c53[_0x2681(0x2d)](_0x9d0c53[_0x2681(0x2e)],_0x9d0c53[_0x2681(0x2e)])){_0x1d6f5b[_0x2681(0x1a)][_0x2681(0x2f)](_0x4c2d74=>clearTimeout(_0x4c2d74)),_0x1d6f5b['current']=[];return;}else _0x26fb2e=_0x1db69f['zugYs'](_0x19b88d,0xfa,0x1f4);}_0x2319fb(0x0),_0x16ca27('Keeping\x20your\x20data\x20private'),_0x2c6631['setValue'](0x0);const _0x147141=_0x9d0c53[_0x2681(0x1c)](randomInRange,0x1b58,0x2ee0),_0x5675c6=randomIntInRange(0x5,0x8),_0x4296c4=[0x0];for(let _0x36d88a=0x0;_0x9d0c53[_0x2681(0x30)](_0x36d88a,_0x9d0c53[_0x2681(0x31)](_0x5675c6,0x1));_0x36d88a++){const _0x50c5f9=_0x9d0c53[_0x2681(0x32)](_0x9d0c53['HoCbk'](_0x9d0c53[_0x2681(0x33)](_0x36d88a,0x1),_0x9d0c53[_0x2681(0x34)](0x64,_0x5675c6)),0xa),_0x5a65e9=_0x9d0c53[_0x2681(0x33)](_0x9d0c53[_0x2681(0x35)](_0x36d88a+0x1,_0x9d0c53[_0x2681(0x34)](0x64,_0x5675c6)),0xa);_0x4296c4[_0x2681(0x36)](randomIntInRange(Math[_0x2681(0x37)](0xa,_0x50c5f9),Math['min'](0x5a,_0x5a65e9)));}_0x4296c4['push'](0x64),_0x4296c4['sort']((_0x415f0d,_0x338e6a)=>_0x415f0d-_0x338e6a);const _0x400f75=[_0x9d0c53[_0x2681(0x38)],_0x2681(0xf),_0x2681(0x39)],_0x5c4868=[];let _0x26b19d=0x0;for(let _0x22e8ad=0x0;_0x9d0c53[_0x2681(0x3a)](_0x22e8ad,_0x5675c6);_0x22e8ad++){if(_0x9d0c53[_0x2681(0x2d)]('acGsM',_0x9d0c53[_0x2681(0x3b)])){const _0x1eed40=_0x400f75[_0x9d0c53['qRhpD'](randomIntInRange,0x0,0x2)];let _0x42973a;if(_0x9d0c53['QkTid'](_0x1eed40,_0x9d0c53[_0x2681(0x38)])){if(_0x9d0c53['ImJGj'](_0x9d0c53[_0x2681(0x3c)],_0x9d0c53[_0x2681(0x3d)]))_0x42973a=_0x9d0c53[_0x2681(0x23)](randomInRange,0xfa,0x1f4);else{const _0x352818=_0x9d0c53['HFCRK'](_0x4fd0e6,0x1)*_0x9d0c53[_0x2681(0x34)](0x64,_0x2d90a3)-0xa,_0x501649=(_0x27b54f+0x1)*_0x9d0c53[_0x2681(0x34)](0x64,_0x469720)+0xa;_0x3bc88d[_0x2681(0x36)](_0x9d0c53['qRhpD'](_0x55e4fe,_0x35ab44[_0x2681(0x37)](0xa,_0x352818),_0x790293['min'](0x5a,_0x501649)));}}else{if(_0x9d0c53[_0x2681(0x3e)](_0x1eed40,_0x9d0c53[_0x2681(0x3f)])){if(_0x9d0c53['ztQbP'](_0x9d0c53[_0x2681(0x40)],_0x9d0c53[_0x2681(0x41)]))_0x42973a=_0x9d0c53[_0x2681(0x42)](randomInRange,0x1f4,0x320);else{const _0x34e326={'wpLjT':function(_0x561f63,_0x73f5d5){return _0x1db69f[_0x2681(0x43)](_0x561f63,_0x73f5d5);},'OrbSL':function(_0x29f2da){return _0x1db69f['hhFlS'](_0x29f2da);}};_0x1db69f[_0x2681(0x44)](_0x4f5468,()=>{_0x34e326[_0x2681(0x45)](_0x39834a,_0x24bde2[_0x2681(0x46)]),_0x34e326[_0x2681(0x47)](_0x5d23f6);},0x1f4);}}else _0x42973a=_0x9d0c53[_0x2681(0x28)](randomInRange,0x320,0x4b0);}_0x5c4868[_0x2681(0x36)](_0x42973a),_0x26b19d+=_0x42973a;}else _0x9d0c53['qRhpD'](_0x31e6ed,_0x119592,0x190)[_0x2681(0x20)]();}const _0x3b531c=0x190,_0x4ee43f=_0x9d0c53[_0x2681(0x35)](_0x5675c6,_0x3b531c),_0x2629ee=_0x9d0c53[_0x2681(0x32)](_0x147141,_0x4ee43f),_0xb2421a=_0x9d0c53[_0x2681(0x48)](_0x2629ee,_0x26b19d),_0x3e63ad=_0x5c4868[_0x2681(0x49)](_0x51e8b9=>_0x51e8b9*_0xb2421a),_0x2d85ef=[];STATUS_MESSAGES[_0x2681(0x2f)](_0x5ee94d=>{const _0x3e24c6={'lkjuF':function(_0x5567b3,_0x1b8bbe,_0x125d03){return _0x1db69f[_0x2681(0x44)](_0x5567b3,_0x1b8bbe,_0x125d03);}};if(_0x1db69f[_0x2681(0x4a)](_0x5ee94d[_0x2681(0x4b)],0x64))_0x2d85ef[_0x2681(0x36)]({'progress':0x64,'message':_0x5ee94d[_0x2681(0x4c)]});else{if(_0x1db69f[_0x2681(0x4a)](_0x1db69f[_0x2681(0x4d)],_0x1db69f['RTSib']))_0x305607=_0x3e24c6[_0x2681(0x4e)](_0x52ca45,0x320,0x4b0);else{const _0x3ce2b6=_0x1db69f['cmTAq'](randomInRange,_0x5ee94d[_0x2681(0x4b)],_0x5ee94d['maxProgress']);_0x2d85ef['push']({'progress':_0x3ce2b6,'message':_0x5ee94d[_0x2681(0x4c)]});}}}),_0x2d85ef[_0x2681(0x4f)]((_0x3b1604,_0x5d4257)=>_0x3b1604[_0x2681(0x50)]-_0x5d4257[_0x2681(0x50)]);let _0x20ec13=0x0,_0x390b64=0x0;for(let _0x3ba185=0x1;_0x3ba185<=_0x5675c6;_0x3ba185++){if(_0x9d0c53[_0x2681(0x51)](_0x9d0c53[_0x2681(0x52)],_0x9d0c53[_0x2681(0x53)])){while(_0x9d0c53['XqeKb'](_0x4a5ef4,_0x36b260[_0x2681(0x54)])&&_0x52d02c>=_0x140ad3[_0x18e688]['progress']){_0x9d0c53[_0x2681(0x16)](_0x188d0a,_0x43ff99[_0x4adcb0]['message']),_0x131edf++;}_0x9d0c53[_0x2681(0x16)](_0x221cc5,_0x7d53da),Animated[_0x2681(0x1f)](_0x4210f3,{'toValue':_0x3bda53/0x64,'duration':_0x3c99ec,'useNativeDriver':![]})[_0x2681(0x20)](),_0x5b3358>=0x64&&_0x9d0c53[_0x2681(0x28)](_0x5c0bc4,()=>{_0xca9710(_0x30f2d8[_0x2681(0x46)]),_0x1db69f[_0x2681(0x55)](_0x1adfb5);},0x1f4);}else{const _0x43bfc0=_0x4296c4[_0x3ba185],_0x6d1203=_0x3e63ad[_0x9d0c53[_0x2681(0x31)](_0x3ba185,0x1)];_0x20ec13+=_0x6d1203;const _0x20dc1f=_0x9d0c53[_0x2681(0x56)](setTimeout,()=>{const _0x76d22={'xXbeF':function(_0x5217f3,_0x36f345){return _0x1db69f['LgWHk'](_0x5217f3,_0x36f345);}};while(_0x1db69f[_0x2681(0x57)](_0x390b64,_0x2d85ef[_0x2681(0x54)])&&_0x1db69f['sIzYf'](_0x43bfc0,_0x2d85ef[_0x390b64][_0x2681(0x50)])){_0x1db69f['LgWHk'](_0x16ca27,_0x2d85ef[_0x390b64]['message']),_0x390b64++;}_0x1db69f[_0x2681(0x58)](_0x2319fb,_0x43bfc0),Animated[_0x2681(0x1f)](_0x2c6631,{'toValue':_0x1db69f[_0x2681(0x59)](_0x43bfc0,0x64),'duration':_0x3b531c,'useNativeDriver':![]})[_0x2681(0x20)](),_0x43bfc0>=0x64&&_0x1db69f[_0x2681(0x44)](setTimeout,()=>{_0x76d22[_0x2681(0x5a)](triggerHaptic,HapticType[_0x2681(0x46)]),_0x570dd3();},0x1f4);},_0x20ec13);_0x1d6f5b[_0x2681(0x1a)][_0x2681(0x36)](_0x20dc1f),_0x20ec13+=_0x3b531c;}}return()=>{const _0x8cec77={'VZvgz':function(_0x15e7d4,_0xea375a,_0xbd2550){return _0x9d0c53[_0x2681(0x28)](_0x15e7d4,_0xea375a,_0xbd2550);}};if(_0x9d0c53[_0x2681(0x5b)]!==_0x9d0c53[_0x2681(0x5b)]){const _0x33ec2e=_0x8cec77[_0x2681(0x5c)](_0x3853e0,_0x2515ad[_0x2681(0x4b)],_0x53ab57[_0x2681(0x5d)]);_0x19f6df[_0x2681(0x36)]({'progress':_0x33ec2e,'message':_0x4734c2[_0x2681(0x4c)]});}else _0x1d6f5b[_0x2681(0x1a)][_0x2681(0x2f)](_0x5b5916=>clearTimeout(_0x5b5916)),_0x1d6f5b[_0x2681(0x1a)]=[];};},[_0x400287,_0x570dd3,_0x2c6631]);if(!_0x400287)return null;return React[_0x2681(0x5e)](View,{'style':styles[_0x2681(0x5f)]},React['createElement'](View,{'style':styles['content']},React[_0x2681(0x5e)](View,{'style':styles[_0x2681(0x60)]},React[_0x2681(0x5e)](_0x5a5dee,{'source':ANIMATIONS[_0x2681(0x61)],'autoPlay':!![],'loop':!![],'style':styles[_0x2681(0x62)],'resizeMode':_0x9d0c53[_0x2681(0x63)]})),React[_0x2681(0x5e)](View,{'style':styles['textContainer']},React['createElement'](Text,{'style':styles[_0x2681(0x64)]},_0x26b9cc),React[_0x2681(0x5e)](View,{'style':styles['dotsContainer']},React[_0x2681(0x5e)](Animated['Text'],{'style':[styles[_0x2681(0x65)],{'opacity':_0x19afcf}]},'.'),React[_0x2681(0x5e)](Animated[_0x2681(0x66)],{'style':[styles[_0x2681(0x65)],{'opacity':_0x5ce93d}]},'.'),React[_0x2681(0x5e)](Animated[_0x2681(0x66)],{'style':[styles[_0x2681(0x65)],{'opacity':_0x1b16f4}]},'.'))),React[_0x2681(0x5e)](View,{'style':styles[_0x2681(0x67)]},React[_0x2681(0x5e)](View,{'style':styles[_0x2681(0x68)]},React[_0x2681(0x5e)](Animated[_0x2681(0x69)],{'style':[styles[_0x2681(0x6a)],{'width':_0x2c6631[_0x2681(0x6b)]({'inputRange':[0x0,0x1],'outputRange':['0%',_0x9d0c53[_0x2681(0x6c)]]})}]})))));},styles=StyleSheet[_0x2681(0x6d)]({'container':{'flex':0x1,'backgroundColor':COLORS[_0x2681(0x6e)]},'content':{'flex':0x1,'justifyContent':_0x2681(0x6f),'alignItems':_0x2681(0x6f),'paddingHorizontal':0x18,'marginTop':-0x50},'lottieContainer':{'width':0x168,'height':0x168,'marginBottom':0x20,'alignItems':'center','justifyContent':'center'},'lottieAnimation':{'width':_0x2681(0x15),'height':_0x2681(0x15)},'textContainer':{'flexDirection':_0x2681(0x70),'alignItems':_0x2681(0x6f),'marginBottom':0x30},'loadingText':{'fontSize':0x18,'fontFamily':_0x2681(0x71),'fontWeight':_0x2681(0x72),'color':COLORS[_0x2681(0x73)]},'dotsContainer':{'flexDirection':_0x2681(0x70),'marginLeft':0x4},'dot':{'fontSize':0x18,'fontFamily':_0x2681(0x71),'fontWeight':_0x2681(0x72),'color':COLORS[_0x2681(0x73)],'marginLeft':0x2},'progressContainer':{'width':_0x2681(0x15),'maxWidth':0x118},'progressTrack':{'height':0x6,'backgroundColor':_0x2681(0x74),'borderRadius':0x3,'overflow':'hidden'},'progressFill':{'height':_0x2681(0x15),'backgroundColor':COLORS[_0x2681(0x73)],'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
- import React,{useState}from'react';import{View,Text,StyleSheet,TouchableOpacity,Image,ScrollView,ActivityIndicator}from'react-native';import{COLORS}from'../theme';import{triggerHaptic,HapticType}from'../utils/haptics';function _0x4709(){const _0x2c0409=['Enoch','ZOBWL','jrskd','Choose\x20what\x20to\x20share:','#4CD964','Connect\x20more','Decline','UAnwn','EPTlh','xNOVs','feTdg','values','some','container','createElement','headerContainer','iconContainer','onairosLogo','headerIcon','contain','arrow','cLdVM','titleContainer','welcomeBackText','Welcome\x20back!','title','AKzrW','subtitle','EHCuv','optionsContainer','basicProfile','grey700','grey800','optionText','checkboxContainer','grey400','optionRow','contentAnalysis','optionIcon','YnGBD','checkbox','personalityProfile','Connected\x20Platforms','mSIyz','length','connectedPlatformsIcons','map','connectedPlatformIconContainer','connectedPlatformIcon','connectMoreButton','BUTTON_PRESS','connectMoreText','connectMorePlusCircle','connectMorePlus','buttonContainer','acceptButton','acceptButtonActive','SOGvR','JSnCz','XsLrL','pyxjM','idyHF','LzYHb','small','#FFFFFF','buttonArrow','buttonArrowActive','declineButton','bRbYh','declineButtonText','frWYR','create','surface','row','center','700','grey600','IBM\x20Plex\x20Sans','600','Inter','400','space-between','#E5E5E5','#2D3436','#999999','grey500','#F8F9FA','wrap','#000','500'];_0x4709=function(){return _0x2c0409;};return _0x4709();}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:_0x242601,onAccept:_0x13025a,onDecline:_0x413ab0,loading:loading=![],connectedPlatforms:connectedPlatforms=[],onConnectMore:_0x3c9a2e,isReturningUser:isReturningUser=![],appName:appName=_0x27f8(0x0),onLogout:_0x15b528})=>{const _0x2ebfd4={'EPTlh':function(_0x34472a,_0x39cc9d){return _0x34472a===_0x39cc9d;},'xNOVs':'basicProfile','feTdg':function(_0x4cce8d,_0x1251e6){return _0x4cce8d(_0x1251e6);},'UAnwn':function(_0x263460,_0x5b504f){return _0x263460(_0x5b504f);},'SOGvR':function(_0x470996,_0x5a7762){return _0x470996(_0x5a7762);},'JSnCz':function(_0x25ef67){return _0x25ef67();},'XsLrL':function(_0xb46a7a,_0x56980c){return _0xb46a7a===_0x56980c;},'KkwdC':_0x27f8(0x1),'pyxjM':_0x27f8(0x2),'bRbYh':function(_0x1d28c8,_0x4123bd){return _0x1d28c8(_0x4123bd);},'cLdVM':'contain','AKzrW':'\x20wants\x20to\x20personalize\x20your\x20experience','EHCuv':_0x27f8(0x3),'YnGBD':_0x27f8(0x4),'mSIyz':function(_0x4fa210,_0x3fe3e1){return _0x4fa210>_0x3fe3e1;},'SZBRJ':_0x27f8(0x5),'frWYR':_0x27f8(0x6)},[_0x50447b,_0x12ecf8]=_0x2ebfd4[_0x27f8(0x7)](useState,{'basicProfile':!![],'contentAnalysis':![],'personalityProfile':![]}),_0x43aa8e=_0x5ef9cc=>{if(_0x2ebfd4[_0x27f8(0x8)](_0x5ef9cc,_0x2ebfd4[_0x27f8(0x9)]))return;_0x2ebfd4[_0x27f8(0xa)](triggerHaptic,HapticType['BUTTON_PRESS']),_0x2ebfd4[_0x27f8(0x7)](_0x12ecf8,_0x538274=>({..._0x538274,[_0x5ef9cc]:!_0x538274[_0x5ef9cc]}));},_0xbf1c88=Object[_0x27f8(0xb)](_0x50447b)[_0x27f8(0xc)](_0x36673c=>_0x36673c);if(!_0x242601)return null;return React['createElement'](View,{'style':styles[_0x27f8(0xd)]},React[_0x27f8(0xe)](ScrollView,{'style':styles['scrollView'],'contentContainerStyle':styles['scrollContent'],'showsVerticalScrollIndicator':![]},React[_0x27f8(0xe)](View,{'style':styles[_0x27f8(0xf)]},React[_0x27f8(0xe)](View,{'style':styles[_0x27f8(0x10)]},React[_0x27f8(0xe)](Image,{'source':BRAND_IMAGES[_0x27f8(0x11)],'style':styles[_0x27f8(0x12)],'resizeMode':_0x27f8(0x13)})),React[_0x27f8(0xe)](Text,{'style':styles[_0x27f8(0x14)]},'→'),React['createElement'](Image,{'source':BRAND_IMAGES['enochIcon'],'style':styles['enochAppIcon'],'resizeMode':_0x2ebfd4[_0x27f8(0x15)]})),React[_0x27f8(0xe)](View,{'style':styles[_0x27f8(0x16)]},isReturningUser&&React[_0x27f8(0xe)](Text,{'style':styles[_0x27f8(0x17)]},_0x27f8(0x18)),React['createElement'](Text,{'style':styles[_0x27f8(0x19)]},appName,_0x2ebfd4[_0x27f8(0x1a)]),React[_0x27f8(0xe)](Text,{'style':styles[_0x27f8(0x1b)]},_0x2ebfd4[_0x27f8(0x1c)])),React[_0x27f8(0xe)](View,{'style':styles[_0x27f8(0x1d)]},React['createElement'](TouchableOpacity,{'style':styles['optionRow'],'onPress':()=>_0x43aa8e(_0x27f8(0x1e))},React[_0x27f8(0xe)](View,{'style':styles['optionLeft']},React[_0x27f8(0xe)](Basicproficon,{'width':0x20,'height':0x20,'fill':COLORS[_0x27f8(0x1f)],'style':styles['optionIcon']}),React[_0x27f8(0xe)](Basicprofile,{'height':0x18,'fill':COLORS[_0x27f8(0x20)],'style':styles[_0x27f8(0x21)]})),React['createElement'](View,{'style':styles[_0x27f8(0x22)]},_0x50447b[_0x27f8(0x1e)]?React[_0x27f8(0xe)](Checkmark,{'width':0x18,'height':0x18,'fill':'#4CD964','style':styles['checkbox']}):React[_0x27f8(0xe)](Checkbox,{'width':0x18,'height':0x18,'stroke':COLORS[_0x27f8(0x23)],'style':styles['checkbox']}))),React[_0x27f8(0xe)](TouchableOpacity,{'style':styles[_0x27f8(0x24)],'onPress':()=>_0x43aa8e(_0x27f8(0x25))},React[_0x27f8(0xe)](View,{'style':styles['optionLeft']},React['createElement'](Contenticon,{'width':0x20,'height':0x20,'fill':COLORS[_0x27f8(0x1f)],'style':styles[_0x27f8(0x26)]}),React['createElement'](Userpreferences,{'height':0x18,'fill':COLORS['grey800'],'style':styles[_0x27f8(0x21)]})),React['createElement'](View,{'style':styles['checkboxContainer']},_0x50447b['contentAnalysis']?React[_0x27f8(0xe)](Checkmark,{'width':0x18,'height':0x18,'fill':_0x2ebfd4[_0x27f8(0x27)],'style':styles[_0x27f8(0x28)]}):React['createElement'](Checkbox,{'width':0x18,'height':0x18,'stroke':COLORS[_0x27f8(0x23)],'style':styles['checkbox']}))),React[_0x27f8(0xe)](TouchableOpacity,{'style':styles[_0x27f8(0x24)],'onPress':()=>_0x43aa8e(_0x27f8(0x29))},React[_0x27f8(0xe)](View,{'style':styles['optionLeft']},React[_0x27f8(0xe)](Personalityicon,{'width':0x20,'height':0x20,'fill':COLORS[_0x27f8(0x1f)],'style':styles[_0x27f8(0x26)]}),React[_0x27f8(0xe)](Personalitytraits,{'height':0x18,'fill':COLORS[_0x27f8(0x20)],'style':styles[_0x27f8(0x21)]})),React[_0x27f8(0xe)](View,{'style':styles['checkboxContainer']},_0x50447b[_0x27f8(0x29)]?React[_0x27f8(0xe)](Checkmark,{'width':0x18,'height':0x18,'fill':_0x2ebfd4['YnGBD'],'style':styles[_0x27f8(0x28)]}):React['createElement'](Checkbox,{'width':0x18,'height':0x18,'stroke':COLORS[_0x27f8(0x23)],'style':styles['checkbox']})))),React['createElement'](View,{'style':styles['connectedPlatformsSection']},React[_0x27f8(0xe)](Text,{'style':styles['connectedPlatformsTitle']},_0x27f8(0x2a)),_0x2ebfd4[_0x27f8(0x2b)](connectedPlatforms[_0x27f8(0x2c)],0x0)&&React[_0x27f8(0xe)](View,{'style':styles[_0x27f8(0x2d)]},connectedPlatforms[_0x27f8(0x2e)](_0x47f482=>React['createElement'](View,{'key':_0x47f482,'style':styles[_0x27f8(0x2f)]},React[_0x27f8(0xe)](Image,{'source':getPlatformIcon(_0x47f482),'style':styles[_0x27f8(0x30)],'resizeMode':_0x27f8(0x13)})))),_0x3c9a2e&&React[_0x27f8(0xe)](TouchableOpacity,{'style':styles[_0x27f8(0x31)],'onPress':()=>{_0x2ebfd4[_0x27f8(0x7)](triggerHaptic,HapticType[_0x27f8(0x32)]),_0x3c9a2e();}},React[_0x27f8(0xe)](Text,{'style':styles[_0x27f8(0x33)]},_0x2ebfd4['SZBRJ']),React[_0x27f8(0xe)](View,{'style':styles[_0x27f8(0x34)]},React[_0x27f8(0xe)](Text,{'style':styles[_0x27f8(0x35)]},'+')))),React[_0x27f8(0xe)](View,{'style':styles[_0x27f8(0x36)]},React[_0x27f8(0xe)](TouchableOpacity,{'style':[styles[_0x27f8(0x37)],_0xbf1c88&&styles[_0x27f8(0x38)],loading&&styles['acceptButtonLoading']],'onPress':()=>{const _0x1212f2={'idyHF':function(_0x486ff9,_0x19678c){return _0x2ebfd4[_0x27f8(0x39)](_0x486ff9,_0x19678c);},'LzYHb':function(_0x726a4f){return _0x2ebfd4[_0x27f8(0x3a)](_0x726a4f);}};_0x2ebfd4[_0x27f8(0x3b)](_0x2ebfd4['KkwdC'],_0x2ebfd4[_0x27f8(0x3c)])?(_0x1212f2[_0x27f8(0x3d)](_0x5ea674,_0x19eda1[_0x27f8(0x32)]),_0x1212f2[_0x27f8(0x3e)](_0x174ff8)):!loading&&(_0x2ebfd4[_0x27f8(0x7)](triggerHaptic,HapticType[_0x27f8(0x32)]),_0x2ebfd4[_0x27f8(0x3a)](_0x13025a));},'disabled':loading,'activeOpacity':loading?0x1:0.7},loading?React[_0x27f8(0xe)](ActivityIndicator,{'size':_0x27f8(0x3f),'color':_0x27f8(0x40)}):React[_0x27f8(0xe)](React['Fragment'],null,React[_0x27f8(0xe)](Text,{'style':[styles['acceptButtonText'],_0xbf1c88&&styles['acceptButtonTextActive']]},'Accept\x20&\x20Continue'),React['createElement'](Text,{'style':[styles[_0x27f8(0x41)],_0xbf1c88&&styles[_0x27f8(0x42)]]},'→'))),React[_0x27f8(0xe)](TouchableOpacity,{'style':styles[_0x27f8(0x43)],'onPress':()=>{_0x2ebfd4[_0x27f8(0x44)](triggerHaptic,HapticType['BUTTON_PRESS']),_0x2ebfd4[_0x27f8(0x3a)](_0x413ab0);}},React[_0x27f8(0xe)](Text,{'style':styles[_0x27f8(0x45)]},_0x2ebfd4[_0x27f8(0x46)])))));},styles=StyleSheet[_0x27f8(0x47)]({'container':{'flex':0x1,'backgroundColor':COLORS[_0x27f8(0x48)],'paddingHorizontal':0x18,'paddingTop':0x28,'paddingBottom':0x8},'headerContainer':{'flexDirection':_0x27f8(0x49),'alignItems':'center','justifyContent':_0x27f8(0x4a),'marginBottom':0xc,'marginTop':0x0},'iconContainer':{'width':0x40,'height':0x40,'backgroundColor':_0x27f8(0x40),'borderRadius':0xc,'alignItems':'center','justifyContent':_0x27f8(0x4a),'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':'IBM\x20Plex\x20Sans','fontWeight':_0x27f8(0x4b),'color':COLORS[_0x27f8(0x20)]},'arrow':{'fontSize':0x18,'color':COLORS[_0x27f8(0x4c)],'marginHorizontal':0x10},'titleContainer':{'alignItems':_0x27f8(0x4a),'marginBottom':0x8},'welcomeBackText':{'fontSize':0x18,'fontFamily':_0x27f8(0x4d),'fontWeight':'700','color':COLORS[_0x27f8(0x20)],'textAlign':_0x27f8(0x4a),'marginBottom':0x2},'title':{'fontSize':0x14,'fontFamily':_0x27f8(0x4d),'fontWeight':_0x27f8(0x4e),'color':COLORS['grey800'],'textAlign':_0x27f8(0x4a),'marginBottom':0xa},'subtitle':{'fontSize':0x10,'fontFamily':_0x27f8(0x4f),'fontWeight':_0x27f8(0x50),'color':COLORS['grey600'],'textAlign':'center'},'scrollView':{'flex':0x1},'scrollContent':{'flexGrow':0x1},'optionsContainer':{'marginBottom':0x8},'optionRow':{'flexDirection':'row','alignItems':_0x27f8(0x4a),'justifyContent':_0x27f8(0x51),'paddingVertical':0xc,'paddingHorizontal':0x2,'backgroundColor':'#F8F9FA','borderRadius':0xc,'marginBottom':0x6,'marginHorizontal':0x0},'optionLeft':{'flexDirection':_0x27f8(0x49),'alignItems':_0x27f8(0x4a),'flex':0x1},'optionIcon':{'marginRight':0xc,'marginLeft':0x2,'marginTop':-0x4},'optionText':{'flex':0x1,'marginLeft':0x2},'checkboxContainer':{'paddingLeft':0x4,'paddingRight':0x2,'alignItems':_0x27f8(0x4a),'justifyContent':_0x27f8(0x4a)},'checkbox':{},'buttonContainer':{'gap':0x8,'paddingHorizontal':0x0,'paddingBottom':0x10,'marginTop':0x10},'acceptButton':{'backgroundColor':_0x27f8(0x52),'borderRadius':0x19,'paddingVertical':0xa,'paddingHorizontal':0x18,'flexDirection':_0x27f8(0x49),'alignItems':_0x27f8(0x4a),'justifyContent':_0x27f8(0x4a)},'acceptButtonActive':{'backgroundColor':_0x27f8(0x53)},'acceptButtonLoading':{'backgroundColor':'#2D3436','opacity':0.8},'acceptButtonText':{'color':_0x27f8(0x54),'fontSize':0x10,'fontFamily':_0x27f8(0x4f),'fontWeight':_0x27f8(0x4e),'marginRight':0x8},'acceptButtonTextActive':{'color':'#FFFFFF'},'buttonArrow':{'color':_0x27f8(0x54),'fontSize':0x10},'buttonArrowActive':{'color':_0x27f8(0x40)},'declineButton':{'backgroundColor':'#E5E5E5','borderRadius':0x19,'paddingVertical':0xa,'paddingHorizontal':0x18,'alignItems':'center','justifyContent':'center'},'declineButtonText':{'color':COLORS[_0x27f8(0x4c)],'fontSize':0x10,'fontFamily':'Inter','fontWeight':'500'},'logoutButton':{'alignItems':'center','paddingVertical':0xc,'marginTop':0x8},'logoutButtonText':{'fontSize':0xe,'fontFamily':_0x27f8(0x4f),'fontWeight':'400','color':COLORS[_0x27f8(0x55)],'textDecorationLine':'underline'},'connectedPlatformsSection':{'alignItems':_0x27f8(0x4a),'paddingVertical':0xa,'paddingHorizontal':0x10,'backgroundColor':_0x27f8(0x56),'borderRadius':0x10,'marginBottom':0xa,'marginTop':0x10},'connectedPlatformsTitle':{'fontSize':0xf,'fontFamily':_0x27f8(0x4f),'fontWeight':'500','color':COLORS[_0x27f8(0x55)],'marginBottom':0xa},'connectedPlatformsIcons':{'flexDirection':_0x27f8(0x49),'justifyContent':'center','alignItems':_0x27f8(0x4a),'flexWrap':_0x27f8(0x57),'gap':0xa,'marginBottom':0xa},'connectedPlatformIconContainer':{'width':0x30,'height':0x30,'borderRadius':0xa,'backgroundColor':_0x27f8(0x40),'justifyContent':_0x27f8(0x4a),'alignItems':_0x27f8(0x4a),'shadowColor':_0x27f8(0x58),'shadowOffset':{'width':0x0,'height':0x2},'shadowOpacity':0.1,'shadowRadius':0x4,'elevation':0x2},'connectedPlatformIcon':{'width':0x20,'height':0x20},'connectMoreButton':{'flexDirection':'row','alignItems':_0x27f8(0x4a),'justifyContent':_0x27f8(0x4a),'gap':0x8},'connectMoreText':{'fontSize':0x10,'fontFamily':_0x27f8(0x4f),'fontWeight':_0x27f8(0x59),'color':COLORS[_0x27f8(0x55)]},'connectMorePlusCircle':{'width':0x1c,'height':0x1c,'borderRadius':0xe,'borderWidth':0x2,'borderColor':COLORS['grey400'],'justifyContent':_0x27f8(0x4a),'alignItems':_0x27f8(0x4a)},'connectMorePlus':{'fontSize':0x12,'fontWeight':_0x27f8(0x59),'color':COLORS[_0x27f8(0x55)],'marginTop':-0x2}});export{PersonalizationConsentScreen};function _0x27f8(_0x4709d7,_0x27f8b1){_0x4709d7=_0x4709d7-0x0;const _0xec80ee=_0x4709();let _0x5ee88a=_0xec80ee[_0x4709d7];return _0x5ee88a;}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;