@onairos/react-native 3.6.2 → 3.6.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (222) hide show
  1. package/lib/commonjs/api/index.js +1 -1
  2. package/lib/commonjs/components/BodyText.js +1 -1
  3. package/lib/commonjs/components/BrandMark.js +1 -1
  4. package/lib/commonjs/components/CodeInput.js +1 -1
  5. package/lib/commonjs/components/EmailInput.js +1 -1
  6. package/lib/commonjs/components/GoogleButton.js +1 -1
  7. package/lib/commonjs/components/HeadingGroup.js +1 -1
  8. package/lib/commonjs/components/LLMDataInputModal.js +1 -1
  9. package/lib/commonjs/components/ModalHeader.js +1 -1
  10. package/lib/commonjs/components/ModalSheet.js +1 -1
  11. package/lib/commonjs/components/Onairos.js +1 -1
  12. package/lib/commonjs/components/OnairosButton.js +1 -1
  13. package/lib/commonjs/components/OnairosSignInButton.js +1 -1
  14. package/lib/commonjs/components/Overlay.js +1 -1
  15. package/lib/commonjs/components/PersonaImage.js +1 -1
  16. package/lib/commonjs/components/PersonaLoadingScreen.js +1 -1
  17. package/lib/commonjs/components/PersonalizationConsentScreen.js +1 -1
  18. package/lib/commonjs/components/PinCreationScreen.js +1 -1
  19. package/lib/commonjs/components/PinInput.js +1 -1
  20. package/lib/commonjs/components/PlatformConnectorsStep.js +1 -1
  21. package/lib/commonjs/components/PlatformList.js +1 -1
  22. package/lib/commonjs/components/PlatformToggle.js +1 -1
  23. package/lib/commonjs/components/PrimaryButton.js +1 -1
  24. package/lib/commonjs/components/SignInMatchAnimation.js +1 -1
  25. package/lib/commonjs/components/SignInStep.js +1 -1
  26. package/lib/commonjs/components/UniversalOnboarding.js +1 -1
  27. package/lib/commonjs/components/VerificationStep.js +1 -1
  28. package/lib/commonjs/components/WelcomeScreen.js +1 -1
  29. package/lib/commonjs/components/icons/Basicproficon.js +1 -1
  30. package/lib/commonjs/components/icons/Basicprofile.js +1 -1
  31. package/lib/commonjs/components/icons/Checkbox.js +1 -1
  32. package/lib/commonjs/components/icons/Checkmark.js +1 -1
  33. package/lib/commonjs/components/icons/Contentanalysis.js +1 -1
  34. package/lib/commonjs/components/icons/Contenticon.js +1 -1
  35. package/lib/commonjs/components/icons/EnochE.js +1 -1
  36. package/lib/commonjs/components/icons/Personalityicon.js +1 -1
  37. package/lib/commonjs/components/icons/Personalityprofile.js +1 -1
  38. package/lib/commonjs/components/icons/Personalitytraits.js +1 -1
  39. package/lib/commonjs/components/icons/Userpreferences.js +1 -1
  40. package/lib/commonjs/components/icons/index.js +1 -1
  41. package/lib/commonjs/components/onboarding/OAuthWebView.js +1 -1
  42. package/lib/commonjs/components/onboarding/OnboardingHeader.js +1 -1
  43. package/lib/commonjs/components/onboarding/PinInput.js +1 -1
  44. package/lib/commonjs/components/onboarding/PlatformConnector.js +1 -1
  45. package/lib/commonjs/config/api.js +1 -1
  46. package/lib/commonjs/constants/index.js +1 -1
  47. package/lib/commonjs/context/AuthContext.js +1 -1
  48. package/lib/commonjs/hooks/useConnectedAccounts.js +1 -1
  49. package/lib/commonjs/hooks/useConnections.js +1 -1
  50. package/lib/commonjs/hooks/useCredentials.js +1 -1
  51. package/lib/commonjs/hooks/useUserConnections.js +1 -1
  52. package/lib/commonjs/index.js +1 -1
  53. package/lib/commonjs/services/apiClient.js +1 -1
  54. package/lib/commonjs/services/apiKeyService.js +1 -1
  55. package/lib/commonjs/services/authService.js +1 -1
  56. package/lib/commonjs/services/biometricPinService.js +1 -1
  57. package/lib/commonjs/services/chatGPTConversationExtractor.js +1 -1
  58. package/lib/commonjs/services/chatGPTConversationService.js +1 -1
  59. package/lib/commonjs/services/claudeConversationExtractor.js +1 -1
  60. package/lib/commonjs/services/claudeConversationService.js +1 -1
  61. package/lib/commonjs/services/connectedAccountsService.js +1 -1
  62. package/lib/commonjs/services/googleAuthService.js +1 -1
  63. package/lib/commonjs/services/hingeDataExtractor.js +1 -1
  64. package/lib/commonjs/services/hingeDataService.js +1 -1
  65. package/lib/commonjs/services/imageCompressionService.js +1 -1
  66. package/lib/commonjs/services/instagramDataExtractor.js +1 -1
  67. package/lib/commonjs/services/instagramDataService.js +1 -1
  68. package/lib/commonjs/services/jwtStorageService.js +1 -1
  69. package/lib/commonjs/services/linkedinDOMExtractor.js +1 -1
  70. package/lib/commonjs/services/linkedinProfileService.js +1 -1
  71. package/lib/commonjs/services/linkedinScrapingService.js +1 -1
  72. package/lib/commonjs/services/llmDataStorage.js +1 -1
  73. package/lib/commonjs/services/mobileTrainingService.js +1 -1
  74. package/lib/commonjs/services/oauthService.js +1 -1
  75. package/lib/commonjs/services/pinEncryptionService.js +1 -1
  76. package/lib/commonjs/services/pinStorageUtils.js +1 -1
  77. package/lib/commonjs/services/platformAuthService.js +1 -1
  78. package/lib/commonjs/services/sephoraDataExtractor.js +1 -1
  79. package/lib/commonjs/services/sephoraDataService.js +1 -1
  80. package/lib/commonjs/services/storageService.js +1 -1
  81. package/lib/commonjs/services/telegramDataExtractor.js +1 -1
  82. package/lib/commonjs/services/telegramDataService.js +1 -1
  83. package/lib/commonjs/services/trainingApiHelpers.js +1 -1
  84. package/lib/commonjs/services/userConnectionsService.js +1 -1
  85. package/lib/commonjs/services/youtubeMigrationService.js +1 -1
  86. package/lib/commonjs/theme/index.js +1 -1
  87. package/lib/commonjs/types/index.js +1 -1
  88. package/lib/commonjs/types.js +1 -1
  89. package/lib/commonjs/utils/Portal.js +1 -1
  90. package/lib/commonjs/utils/api.js +1 -1
  91. package/lib/commonjs/utils/assetRegistry.js +1 -1
  92. package/lib/commonjs/utils/auth.js +1 -1
  93. package/lib/commonjs/utils/connectorTests.js +1 -1
  94. package/lib/commonjs/utils/crypto.js +1 -1
  95. package/lib/commonjs/utils/debugHelper.js +1 -1
  96. package/lib/commonjs/utils/encryption.js +1 -1
  97. package/lib/commonjs/utils/eventUtils.js +1 -1
  98. package/lib/commonjs/utils/haptics.js +1 -1
  99. package/lib/commonjs/utils/imagePreloader.js +1 -1
  100. package/lib/commonjs/utils/networkDiagnostics.js +1 -1
  101. package/lib/commonjs/utils/onairosApi.js +1 -1
  102. package/lib/commonjs/utils/programmaticFlow.js +1 -1
  103. package/lib/commonjs/utils/retryHelper.js +1 -1
  104. package/lib/commonjs/utils/secureStorage.js +1 -1
  105. package/lib/commonjs/utils/webviewScripts/chatgpt.js +1 -1
  106. package/lib/commonjs/utils/webviewScripts/claude.js +1 -1
  107. package/lib/commonjs/utils/webviewScripts/hinge.js +1 -1
  108. package/lib/commonjs/utils/webviewScripts/index.js +1 -1
  109. package/lib/commonjs/utils/webviewScripts/instagram.js +1 -1
  110. package/lib/commonjs/utils/webviewScripts/linkedin.js +1 -1
  111. package/lib/commonjs/utils/webviewScripts/sephora.js +1 -1
  112. package/lib/commonjs/utils/webviewScripts/telegram.js +1 -1
  113. package/lib/module/api/index.js +1 -1
  114. package/lib/module/components/BodyText.js +1 -1
  115. package/lib/module/components/BrandMark.js +1 -1
  116. package/lib/module/components/CodeInput.js +1 -1
  117. package/lib/module/components/EmailInput.js +1 -1
  118. package/lib/module/components/GoogleButton.js +1 -1
  119. package/lib/module/components/HeadingGroup.js +1 -1
  120. package/lib/module/components/LLMDataInputModal.js +1 -1
  121. package/lib/module/components/ModalHeader.js +1 -1
  122. package/lib/module/components/ModalSheet.js +1 -1
  123. package/lib/module/components/Onairos.js +1 -1
  124. package/lib/module/components/OnairosButton.js +1 -1
  125. package/lib/module/components/OnairosSignInButton.js +1 -1
  126. package/lib/module/components/Overlay.js +1 -1
  127. package/lib/module/components/PersonaImage.js +1 -1
  128. package/lib/module/components/PersonaLoadingScreen.js +1 -1
  129. package/lib/module/components/PersonalizationConsentScreen.js +1 -1
  130. package/lib/module/components/PinCreationScreen.js +1 -1
  131. package/lib/module/components/PinInput.js +1 -1
  132. package/lib/module/components/PlatformConnectorsStep.js +1 -1
  133. package/lib/module/components/PlatformList.js +1 -1
  134. package/lib/module/components/PlatformToggle.js +1 -1
  135. package/lib/module/components/PrimaryButton.js +1 -1
  136. package/lib/module/components/SignInMatchAnimation.js +1 -1
  137. package/lib/module/components/SignInStep.js +1 -1
  138. package/lib/module/components/UniversalOnboarding.js +1 -1
  139. package/lib/module/components/VerificationStep.js +1 -1
  140. package/lib/module/components/WelcomeScreen.js +1 -1
  141. package/lib/module/components/icons/Basicproficon.js +1 -1
  142. package/lib/module/components/icons/Basicprofile.js +1 -1
  143. package/lib/module/components/icons/Checkbox.js +1 -1
  144. package/lib/module/components/icons/Checkmark.js +1 -1
  145. package/lib/module/components/icons/Contentanalysis.js +1 -1
  146. package/lib/module/components/icons/Contenticon.js +1 -1
  147. package/lib/module/components/icons/EnochE.js +1 -1
  148. package/lib/module/components/icons/Personalityicon.js +1 -1
  149. package/lib/module/components/icons/Personalityprofile.js +1 -1
  150. package/lib/module/components/icons/Personalitytraits.js +1 -1
  151. package/lib/module/components/icons/Userpreferences.js +1 -1
  152. package/lib/module/components/onboarding/OAuthWebView.js +1 -1
  153. package/lib/module/components/onboarding/OnboardingHeader.js +1 -1
  154. package/lib/module/components/onboarding/PinInput.js +1 -1
  155. package/lib/module/components/onboarding/PlatformConnector.js +1 -1
  156. package/lib/module/config/api.js +1 -1
  157. package/lib/module/constants/index.js +1 -1
  158. package/lib/module/context/AuthContext.js +1 -1
  159. package/lib/module/hooks/useConnectedAccounts.js +1 -1
  160. package/lib/module/hooks/useConnections.js +1 -1
  161. package/lib/module/hooks/useCredentials.js +1 -1
  162. package/lib/module/hooks/useUserConnections.js +1 -1
  163. package/lib/module/index.js +1 -1
  164. package/lib/module/services/apiClient.js +1 -1
  165. package/lib/module/services/apiKeyService.js +1 -1
  166. package/lib/module/services/authService.js +1 -1
  167. package/lib/module/services/biometricPinService.js +1 -1
  168. package/lib/module/services/chatGPTConversationExtractor.js +1 -1
  169. package/lib/module/services/chatGPTConversationService.js +1 -1
  170. package/lib/module/services/claudeConversationExtractor.js +1 -1
  171. package/lib/module/services/claudeConversationService.js +1 -1
  172. package/lib/module/services/connectedAccountsService.js +1 -1
  173. package/lib/module/services/googleAuthService.js +1 -1
  174. package/lib/module/services/hingeDataExtractor.js +1 -1
  175. package/lib/module/services/hingeDataService.js +1 -1
  176. package/lib/module/services/imageCompressionService.js +1 -1
  177. package/lib/module/services/instagramDataExtractor.js +1 -1
  178. package/lib/module/services/instagramDataService.js +1 -1
  179. package/lib/module/services/jwtStorageService.js +1 -1
  180. package/lib/module/services/linkedinDOMExtractor.js +1 -1
  181. package/lib/module/services/linkedinProfileService.js +1 -1
  182. package/lib/module/services/linkedinScrapingService.js +1 -1
  183. package/lib/module/services/llmDataStorage.js +1 -1
  184. package/lib/module/services/mobileTrainingService.js +1 -1
  185. package/lib/module/services/oauthService.js +1 -1
  186. package/lib/module/services/pinEncryptionService.js +1 -1
  187. package/lib/module/services/pinStorageUtils.js +1 -1
  188. package/lib/module/services/platformAuthService.js +1 -1
  189. package/lib/module/services/sephoraDataExtractor.js +1 -1
  190. package/lib/module/services/sephoraDataService.js +1 -1
  191. package/lib/module/services/storageService.js +1 -1
  192. package/lib/module/services/telegramDataExtractor.js +1 -1
  193. package/lib/module/services/telegramDataService.js +1 -1
  194. package/lib/module/services/trainingApiHelpers.js +1 -1
  195. package/lib/module/services/userConnectionsService.js +1 -1
  196. package/lib/module/services/youtubeMigrationService.js +1 -1
  197. package/lib/module/theme/index.js +1 -1
  198. package/lib/module/types.js +1 -1
  199. package/lib/module/utils/Portal.js +1 -1
  200. package/lib/module/utils/api.js +1 -1
  201. package/lib/module/utils/assetRegistry.js +1 -1
  202. package/lib/module/utils/auth.js +1 -1
  203. package/lib/module/utils/connectorTests.js +1 -1
  204. package/lib/module/utils/crypto.js +1 -1
  205. package/lib/module/utils/debugHelper.js +1 -1
  206. package/lib/module/utils/encryption.js +1 -1
  207. package/lib/module/utils/eventUtils.js +1 -1
  208. package/lib/module/utils/haptics.js +1 -1
  209. package/lib/module/utils/networkDiagnostics.js +1 -1
  210. package/lib/module/utils/onairosApi.js +1 -1
  211. package/lib/module/utils/programmaticFlow.js +1 -1
  212. package/lib/module/utils/retryHelper.js +1 -1
  213. package/lib/module/utils/secureStorage.js +1 -1
  214. package/lib/module/utils/webviewScripts/chatgpt.js +1 -1
  215. package/lib/module/utils/webviewScripts/claude.js +1 -1
  216. package/lib/module/utils/webviewScripts/hinge.js +1 -1
  217. package/lib/module/utils/webviewScripts/index.js +1 -1
  218. package/lib/module/utils/webviewScripts/instagram.js +1 -1
  219. package/lib/module/utils/webviewScripts/linkedin.js +1 -1
  220. package/lib/module/utils/webviewScripts/sephora.js +1 -1
  221. package/lib/module/utils/webviewScripts/telegram.js +1 -1
  222. package/package.json +1 -1
@@ -1 +1 @@
1
- import React,{forwardRef,useImperativeHandle,useState,useCallback,useEffect}from'react';function _0x454b(){const _0x3be8fc=['xLtGG','API\x20key\x20is\x20required.\x20Please\x20provide\x20a\x20valid\x20API\x20key\x20from\x20your\x20Onairos\x20dashboard.','📊\x20Configuration:','Unknown\x20initialization\x20error','❌\x20Onairos\x20SDK:\x20API\x20key\x20initialization\x20failed:','1.\x20Check\x20that\x20your\x20API\x20key\x20is\x20correct\x20and\x20not\x20expired','existing_user_token','✅\x20Onairos\x20component:\x20SDK\x20already\x20initialized,\x20syncing\x20state','🔽\x20Closing\x20Onairos\x20overlay,\x20result:','🔽\x20showOverlay\x20set\x20to\x20false','isInitializing:','showOverlay:','SDK\x20not\x20initialized.\x20Please\x20check\x20your\x20API\x20key.','QkzCn','FdODC','UDsMz','NRgeW','SDK\x20Error','RRRsy','✅\x20Pre-check\x20passed','nFrRn','MGJfC','IAugU','oVcQV','✅\x20Resolving\x20with\x20existing\x20credentials','🎨\x20Opening\x20Onairos\x20overlay...','❌\x20Error\x20opening\x20overlay:','rrFCT','4.\x20Check\x20your\x20internet\x20connection','3.\x20Ensure\x20your\x20environment\x20setting\x20matches\x20your\x20API\x20key','5.\x20Visit\x20https://dashboard.onairos.uk\x20to\x20manage\x20your\x20API\x20keys','⚠️\x20SDK\x20Error','RbdOu','aeXKi','❌\x20Overlay\x20rejected:','center','FpwAf','#fff','#000','connect','production','VSHbW','tfWtA','EmbzK','vHreZ','LIOKH','bNREY','JxUzz','hsWpb','MJzmz','FbIMF','PVLPo','TOBiG','pdkJC','🔧\x20API\x20Key\x20Troubleshooting\x20Guide','nukAf','LzFuC','log','sLNdG','GJNKU','LlNbj','MMVMz','length','bxAwi','message','yKKdj','error','UGYmp','EGXsW','6|2|1|0|3|4|5','uGwLc','2.\x20Verify\x20you\x20have\x20the\x20right\x20permissions\x20for\x20your\x20use\x20case','SpPOl','groupEnd','group','Raqbd','SDK\x20initialization\x20failed:\x20','NUCPF','KvrgN','apiKey','LIcdm','JcSkZ','XfYpJ','iEBOS','BASE_URL','/user/data','LVWKR','NPhqk','BjQxY','OqTfh','🔘\x20Button\x20pressed!\x20isInitialized:','tAmMd','MIqoS','ZCBVs','kGMqI','uzzwQ','❌\x20Cannot\x20open\x20overlay:\x20SDK\x20not\x20initialized','oTZaV','Rnqvo','KszRx','NDYUy','ROWxp','alert','APRbD','Pre-check\x20failed:\x20','ITYMZ','osCRy','VTZzv','JFhJJ','AkXET','ZTxfc','PsAiV','token','userData','🔍\x20Checking\x20for\x20existing\x20credentials...','siWGy','tFUWK','KzEWL','RzWSm','NnwZy','gTcYb','SavxZ','RKtbk','iDazE','FNENr','KhDFa','Failed\x20to\x20open\x20overlay:\x20','zmeTh','qRbzH','IpKfh','eXoQR','lgyIi','cGkyn','onHtk','OwSZR','createElement','errorContainer','errorButton','WzbyA','TxKGa','Onairos\x20SDK\x20initialization\x20failed:\x0a\x0a','\x0a\x0aPlease\x20check\x20your\x20API\x20key\x20and\x20try\x20again.','errorButtonText','apiUrl','pCLcb','LjfOC','dmvTB','PsBYl','loadingContainer','#999','loadingButtonText','AcBeJ','BDKnP','row','KcBlO','zIeaN','pill','aFWRO','fZWSk','borderColor','FPAJq','PESuc','mcEvJ','borderWidth','WEezH','Connect\x20with\x20Onairos','Fragment','onairosLogoAlt','logo','GbPqZ','buttonText','etjWV','Fjlhl','create','600'];_0x454b=function(){return _0x3be8fc;};return _0x454b();}import{StyleSheet,View,TouchableOpacity,Text,Image,Alert}from'react-native';import{UniversalOnboarding}from'./UniversalOnboarding';import{COLORS}from'../constants';import{hasCredentials,getCredentials}from'../utils/secureStorage';function _0x553d(_0x454b82,_0x553daf){_0x454b82=_0x454b82-0x0;const _0x5df0f7=_0x454b();let _0x369793=_0x5df0f7[_0x454b82];return _0x369793;}import{initializeApiKey,isApiKeyInitialized,getApiConfig}from'../services/apiKeyService';import{API_CONFIG}from'../config/api';import{BRAND_IMAGES}from'../utils/assetRegistry';export const Onairos=forwardRef((_0x30b10a,_0x457bd0)=>{const _0x121ffd={'XfYpJ':function(_0x15677d,_0x1a2fe0){return _0x15677d!==_0x1a2fe0;},'iEBOS':_0x553d(0x0),'LIOKH':function(_0x26c1f8,_0x1b9c90){return _0x26c1f8(_0x1b9c90);},'bNREY':function(_0x44ed69,_0x176aa5){return _0x44ed69(_0x176aa5);},'JxUzz':'🚀\x20Onairos\x20SDK:\x20Starting\x20API\x20key\x20initialization...','hsWpb':_0x553d(0x1),'zWlkC':function(_0x2ab33c,_0x1d1c68){return _0x2ab33c(_0x1d1c68);},'apViE':'✅\x20Onairos\x20SDK:\x20API\x20key\x20initialization\x20completed\x20successfully','MJzmz':_0x553d(0x2),'FbIMF':function(_0x4bcb0d,_0x207e8d){return _0x4bcb0d instanceof _0x207e8d;},'PVLPo':_0x553d(0x3),'TOBiG':_0x553d(0x4),'pdkJC':_0x553d(0x5),'JCkNJ':_0x553d(0x6),'nukAf':function(_0x45808a,_0x462c77,_0x324263,_0x2bd43f){return _0x45808a(_0x462c77,_0x324263,_0x2bd43f);},'KvrgN':function(_0x3d0958){return _0x3d0958();},'NDYUy':function(_0x337050,_0x1d71ee){return _0x337050===_0x1d71ee;},'LIcdm':function(_0x1bc1bf){return _0x1bc1bf();},'VSHbW':function(_0x1601c3,_0x162c18){return _0x1601c3(_0x162c18);},'JcSkZ':_0x553d(0x7),'tfWtA':function(_0x1e96b6,_0x1723a1){return _0x1e96b6(_0x1723a1);},'NPhqk':'⛔\x20Pre-check\x20failed,\x20aborting\x20overlay','BjQxY':_0x553d(0x8),'OqTfh':_0x553d(0x9),'LFxEg':function(_0xd1b431,_0x4f430a,_0x4a0ac0,_0x3d7411){return _0xd1b431(_0x4f430a,_0x4a0ac0,_0x3d7411);},'tAmMd':_0x553d(0xa),'MIqoS':_0x553d(0xb),'ZCBVs':function(_0x43c6f1,_0x26cba5){return _0x43c6f1!==_0x26cba5;},'kGMqI':'glfcn','uzzwQ':function(_0x4ba5d1,_0x16ca9d){return _0x4ba5d1||_0x16ca9d;},'KiOtk':_0x553d(0xc),'oTZaV':_0x553d(0xd),'Rnqvo':_0x553d(0xe),'ZLHzz':_0x553d(0xf),'ROWxp':_0x553d(0x10),'APRbD':_0x553d(0x11),'AfHyp':_0x553d(0x12),'ITYMZ':'🔍\x20Running\x20pre-check\x20validation...','osCRy':_0x553d(0x13),'VTZzv':_0x553d(0x14),'RYNMx':'sfSnS','siWGy':function(_0x2d0170,_0x1d28e0){return _0x2d0170===_0x1d28e0;},'lyKvo':_0x553d(0x15),'MDHrR':_0x553d(0x16),'KzEWL':_0x553d(0x17),'RzWSm':_0x553d(0x18),'GsqsE':function(_0xe13dec,_0x58dde3){return _0xe13dec!==_0x58dde3;},'gTcYb':'⚠️\x20Failed\x20to\x20retrieve\x20existing\x20credentials:','SavxZ':_0x553d(0x19),'RKtbk':function(_0x152718,_0x3efd14){return _0x152718!==_0x3efd14;},'FNENr':_0x553d(0x1a),'ypOgb':_0x553d(0x1b),'IpKfh':'6|1|0|4|3|5|2','eXoQR':'2.\x20Verify\x20you\x20have\x20the\x20right\x20permissions\x20for\x20your\x20use\x20case','lgyIi':_0x553d(0x1c),'cGkyn':_0x553d(0x1d),'onHtk':_0x553d(0x1e),'yuOck':'🔧\x20API\x20Key\x20Troubleshooting\x20Guide','WzbyA':'#FF6B6B','PsBYl':_0x553d(0x1f),'zmeTh':function(_0x3deb83,_0xfa8a0b){return _0x3deb83!==_0xfa8a0b;},'qRbzH':_0x553d(0x20),'OwSZR':'owYZj','dSrIS':_0x553d(0x21),'dmvTB':_0x553d(0x22),'BDKnP':_0x553d(0x23),'zIeaN':'KcBlO','xbAxV':'row','aFWRO':'BftHs','fZWSk':_0x553d(0x24),'rDtWZ':_0x553d(0x25),'FPAJq':_0x553d(0x26),'QiwQG':_0x553d(0x27),'EmbzK':function(_0x16eff3,_0x27292e){return _0x16eff3(_0x27292e);},'vHreZ':function(_0x1b07a4,_0x3314f4,_0x2f743c){return _0x1b07a4(_0x3314f4,_0x2f743c);},'AcBeJ':'🔄\x20Initializing...','GbPqZ':'contain','etjWV':function(_0x4d41f0){return _0x4d41f0();},'Fjlhl':function(_0x1a7e37,_0x4b09e1){return _0x1a7e37||_0x4b09e1;}},{returnLink:_0x343b53,prefillUrl:_0x188434,AppName:_0x4fddad,buttonType:buttonType='normal',requestData:_0x111c6d,buttonWidth:buttonWidth=0xc8,buttonHeight:buttonHeight=0x30,hasStroke:hasStroke=![],enabled:enabled=!![],buttonForm:buttonForm='default',onRejection:_0x5a3dbe,onResolved:_0x307347,preCheck:_0x51c547,color:color=COLORS['primary'],debug:debug=![],darkMode:darkMode=![],preferredPlatform:_0x5b600e,testMode:testMode=![],apiKey:_0x4c372c,environment:environment=_0x553d(0x28),enableLogging:enableLogging=!![],timeout:timeout=0x7530,retryAttempts:retryAttempts=0x3}=_0x30b10a,[_0x47664c,_0x2d4e96]=useState(![]),[_0x1be8d6,_0x4faf14]=_0x121ffd[_0x553d(0x29)](useState,![]),[_0x2c778f,_0x1f61a3]=_0x121ffd[_0x553d(0x2a)](useState,null),[_0x405b6b,_0x488fb7]=_0x121ffd[_0x553d(0x2b)](useState,![]);_0x121ffd[_0x553d(0x2c)](useEffect,()=>{const _0x293fb5={'LzFuC':function(_0x4e72ef,_0x2bdc96){return _0x121ffd[_0x553d(0x2d)](_0x4e72ef,_0x2bdc96);},'DZjHK':function(_0x1c73b6,_0x4934c5){return _0x121ffd[_0x553d(0x2e)](_0x1c73b6,_0x4934c5);},'sLNdG':_0x121ffd[_0x553d(0x2f)],'GJNKU':_0x121ffd[_0x553d(0x30)],'KnfPq':function(_0x48eb62,_0x138b5e){return _0x48eb62(_0x138b5e);},'LlNbj':function(_0x5784ba,_0xa6a1f8){return _0x121ffd['zWlkC'](_0x5784ba,_0xa6a1f8);},'MMVMz':_0x121ffd['apViE'],'oYosU':_0x121ffd[_0x553d(0x31)],'bxAwi':function(_0x2712a0,_0x44525d){return _0x121ffd[_0x553d(0x32)](_0x2712a0,_0x44525d);},'yKKdj':_0x121ffd[_0x553d(0x33)],'UGYmp':_0x121ffd[_0x553d(0x34)],'EGXsW':function(_0x1967a0,_0x5608a6){return _0x1967a0(_0x5608a6);},'uGwLc':_0x553d(0x1d),'SpPOl':_0x121ffd[_0x553d(0x35)],'Raqbd':_0x553d(0x36),'NUCPF':function(_0x5c2f61,_0x50e265){return _0x121ffd[_0x553d(0x2e)](_0x5c2f61,_0x50e265);},'LVWKR':_0x121ffd['JCkNJ'],'FUvqL':_0x553d(0x18),'eMORK':function(_0x4aa7de,_0x1e120d,_0x535d54,_0x1ba397){return _0x121ffd[_0x553d(0x37)](_0x4aa7de,_0x1e120d,_0x535d54,_0x1ba397);}};var _0x1b297c;let _0xec8df1=!![];const _0x2fa33d=async()=>{if(_0x405b6b)return;_0x293fb5[_0x553d(0x38)](_0x488fb7,!![]),_0x293fb5['DZjHK'](_0x1f61a3,null);try{console[_0x553d(0x39)](_0x293fb5[_0x553d(0x3a)]);if(!_0x4c372c)throw new Error(_0x293fb5[_0x553d(0x3b)]);const _0x250f39={'apiKey':_0x4c372c,'environment':environment,'enableLogging':enableLogging,'timeout':timeout,'retryAttempts':retryAttempts};await initializeApiKey(_0x250f39),_0xec8df1&&(_0x293fb5['KnfPq'](_0x4faf14,!![]),_0x293fb5[_0x553d(0x3c)](_0x1f61a3,null),enableLogging&&(console['log'](_0x293fb5[_0x553d(0x3d)]),console[_0x553d(0x39)](_0x293fb5['oYosU'],{'environment':environment,'enableLogging':enableLogging,'timeout':timeout,'retryAttempts':retryAttempts,'apiKeyLength':_0x4c372c[_0x553d(0x3e)]})));}catch(_0x40402e){const _0x501508=_0x293fb5[_0x553d(0x3f)](_0x40402e,Error)?_0x40402e[_0x553d(0x40)]:_0x293fb5[_0x553d(0x41)];console[_0x553d(0x42)](_0x293fb5[_0x553d(0x43)],_0x501508);if(_0xec8df1){_0x293fb5[_0x553d(0x44)](_0x4faf14,![]),_0x293fb5[_0x553d(0x3c)](_0x1f61a3,_0x501508);if(enableLogging){const _0x1400c6=_0x553d(0x45)['split']('|');let _0x308320=0x0;while(!![]){switch(_0x1400c6[_0x308320++]){case'0':console[_0x553d(0x39)](_0x293fb5[_0x553d(0x46)]);continue;case'1':console[_0x553d(0x39)](_0x553d(0x47));continue;case'2':console[_0x553d(0x39)](_0x293fb5[_0x553d(0x48)]);continue;case'3':console[_0x553d(0x39)](_0x553d(0x1c));continue;case'4':console[_0x553d(0x39)](_0x553d(0x1e));continue;case'5':console[_0x553d(0x49)]();continue;case'6':console[_0x553d(0x4a)](_0x293fb5[_0x553d(0x4b)]);continue;}break;}}_0x5a3dbe&&_0x293fb5['KnfPq'](_0x5a3dbe,_0x553d(0x4c)+_0x501508);}}finally{_0xec8df1&&_0x293fb5[_0x553d(0x4d)](_0x488fb7,![]);}};if(_0x4c372c&&(!_0x121ffd[_0x553d(0x4e)](isApiKeyInitialized)||(_0x121ffd['NDYUy'](_0x1b297c=getApiConfig(),null)||_0x1b297c===void 0x0?void 0x0:_0x1b297c[_0x553d(0x4f)])!==_0x4c372c))_0x2fa33d();else _0x121ffd[_0x553d(0x50)](isApiKeyInitialized)&&(_0x121ffd[_0x553d(0x29)](_0x4faf14,!![]),_0x121ffd[_0x553d(0x2e)](_0x488fb7,![]),enableLogging&&console[_0x553d(0x39)](_0x121ffd[_0x553d(0x51)]));return()=>{if(_0x121ffd[_0x553d(0x52)](_0x121ffd[_0x553d(0x53)],_0x121ffd['iEBOS'])){const _0x515c2c=_0x4fea45[_0x553d(0x54)]+_0x553d(0x55),_0x144cdd=_0x293fb5[_0x553d(0x56)];_0x260244&&_0x3e057b[_0x553d(0x39)](_0x293fb5['FUvqL']);_0x293fb5['eMORK'](_0x193611,_0x515c2c,_0x144cdd,_0x1a6878);return;}else _0xec8df1=![];};},[_0x4c372c,environment,enableLogging,timeout,retryAttempts,_0x5a3dbe]),_0x121ffd[_0x553d(0x2c)](useImperativeHandle,_0x457bd0,()=>({'openOverlay':_0x5db7f5,'closeOverlay':_0x2920a4,'isInitialized':()=>_0x1be8d6,'getApiConfig':()=>getApiConfig()}));const _0x5db7f5=useCallback(async()=>{const _0x5ebefd={'KszRx':_0x121ffd[_0x553d(0x57)],'JFhJJ':_0x121ffd[_0x553d(0x58)],'AkXET':function(_0x4be606,_0xd39bb4){return _0x4be606(_0xd39bb4);},'ZTxfc':_0x121ffd[_0x553d(0x59)],'PsAiV':function(_0x38bdcc,_0x2f1543,_0x4e0751,_0xa67af9){return _0x121ffd['LFxEg'](_0x38bdcc,_0x2f1543,_0x4e0751,_0xa67af9);},'tFUWK':_0x121ffd['JcSkZ'],'mLdeH':function(_0x1404fa,_0x5b071f){return _0x1404fa(_0x5b071f);}};console[_0x553d(0x39)](_0x553d(0x5a),_0x1be8d6,_0x121ffd[_0x553d(0x5b)],_0x405b6b,_0x121ffd[_0x553d(0x5c)],_0x47664c);try{if(_0x121ffd[_0x553d(0x5d)](_0x121ffd[_0x553d(0x5e)],'Hxlpz')){if(!_0x1be8d6){const _0x5be8a5=_0x121ffd[_0x553d(0x5f)](_0x2c778f,_0x121ffd['KiOtk']);console['error'](_0x553d(0x60));_0x5a3dbe?_0x121ffd['NDYUy'](_0x121ffd[_0x553d(0x61)],_0x121ffd[_0x553d(0x62)])?_0x268947[_0x553d(0x39)](_0x5ebefd[_0x553d(0x63)]):_0x5a3dbe(_0x5be8a5):_0x121ffd[_0x553d(0x64)](_0x121ffd['ZLHzz'],_0x121ffd[_0x553d(0x65)])?_0x121ffd['zWlkC'](_0x21923b,_0x347e60):Alert[_0x553d(0x66)](_0x121ffd[_0x553d(0x67)],_0x5be8a5,[{'text':'OK'}]);return;}if(_0x51c547){if(_0x121ffd['AfHyp']!==_0x121ffd['AfHyp'])_0x4abf6a(_0x553d(0x68)+_0x3f8e1c['message']);else{enableLogging&&console[_0x553d(0x39)](_0x121ffd[_0x553d(0x69)]);try{const _0x46f147=await _0x121ffd['LIcdm'](_0x51c547);if(!_0x46f147){enableLogging&&console[_0x553d(0x39)](_0x121ffd[_0x553d(0x57)]);return;}enableLogging&&console[_0x553d(0x39)](_0x121ffd[_0x553d(0x6a)]);}catch(_0xa71259){if(_0x121ffd[_0x553d(0x64)](_0x121ffd[_0x553d(0x6b)],_0x121ffd['RYNMx']))_0x515413['log'](_0x5ebefd[_0x553d(0x6c)],_0x582dc2),_0x5ebefd[_0x553d(0x6d)](_0x43a282,![]),_0x948b66['log'](_0x5ebefd[_0x553d(0x6e)]),_0x189f12&&_0x1c74a6&&_0x5ebefd[_0x553d(0x6f)](_0x23bfa6,_0x3f4e06['apiUrl'],_0x1c30d5[_0x553d(0x70)],_0x5579ed[_0x553d(0x71)]);else{console[_0x553d(0x42)]('❌\x20Pre-check\x20error:',_0xa71259);_0x5a3dbe&&_0x5a3dbe(_0x553d(0x68)+_0xa71259['message']);return;}}}}enableLogging&&console[_0x553d(0x39)](_0x553d(0x72));const _0x53c859=await _0x121ffd[_0x553d(0x4e)](hasCredentials);if(_0x53c859){enableLogging&&(_0x121ffd[_0x553d(0x73)](_0x121ffd['lyKvo'],_0x121ffd['MDHrR'])?_0x3613f0['log'](_0x5ebefd[_0x553d(0x74)]):console[_0x553d(0x39)]('🔑\x20Existing\x20credentials\x20found,\x20attempting\x20automatic\x20resolution...'));try{const _0x17b55f=await getCredentials();if(_0x17b55f&&_0x307347){if(_0x121ffd[_0x553d(0x75)]!==_0x121ffd[_0x553d(0x75)])_0x3596e3[_0x553d(0x39)](_0x553d(0x72));else{const _0x281db0=API_CONFIG['BASE_URL']+_0x553d(0x55),_0x3cae95=_0x553d(0x6);enableLogging&&console[_0x553d(0x39)](_0x121ffd[_0x553d(0x76)]);_0x307347(_0x281db0,_0x3cae95,_0x17b55f);return;}}}catch(_0x1b64b9){_0x121ffd['GsqsE']('NnwZy',_0x553d(0x77))?(_0x5ebefd[_0x553d(0x6d)](_0x4ca1b1,!![]),_0x5ebefd['mLdeH'](_0x1616c8,![]),_0x2c3d17&&_0x3e0326[_0x553d(0x39)](_0x5ebefd[_0x553d(0x74)])):console['warn'](_0x121ffd[_0x553d(0x78)],_0x1b64b9);}}enableLogging&&console[_0x553d(0x39)](_0x121ffd[_0x553d(0x79)]),_0x2d4e96(!![]);}else throw new _0x5599cd(_0x121ffd['hsWpb']);}catch(_0x1df1b6){_0x121ffd[_0x553d(0x7a)](_0x553d(0x7b),_0x553d(0x7b))?_0x121ffd[_0x553d(0x2a)](_0x248874,_0x235cc1):(console[_0x553d(0x42)](_0x121ffd[_0x553d(0x7c)],_0x1df1b6),_0x5a3dbe&&(_0x121ffd['ypOgb']!==_0x553d(0x7d)?_0x121ffd[_0x553d(0x2a)](_0x5a3dbe,_0x553d(0x7e)+_0x1df1b6[_0x553d(0x40)]):_0x59a3e0(![])));}},[_0x1be8d6,_0x2c778f,_0x51c547,enableLogging,_0x5a3dbe,_0x307347]),_0x2920a4=_0x121ffd['vHreZ'](useCallback,_0x4bb45b=>{if(_0x121ffd[_0x553d(0x7f)](_0x553d(0x20),_0x121ffd[_0x553d(0x80)])){const _0x4b59fe=_0x121ffd[_0x553d(0x81)]['split']('|');let _0x35a5b5=0x0;while(!![]){switch(_0x4b59fe[_0x35a5b5++]){case'0':_0x8c8141[_0x553d(0x39)](_0x121ffd[_0x553d(0x82)]);continue;case'1':_0x2a4742['log'](_0x121ffd['pdkJC']);continue;case'2':_0x304a9e[_0x553d(0x49)]();continue;case'3':_0xa8ddb9[_0x553d(0x39)](_0x121ffd[_0x553d(0x83)]);continue;case'4':_0xf5e9bb[_0x553d(0x39)](_0x121ffd[_0x553d(0x84)]);continue;case'5':_0x4792e6[_0x553d(0x39)](_0x121ffd[_0x553d(0x85)]);continue;case'6':_0x4f1d66[_0x553d(0x4a)](_0x121ffd['yuOck']);continue;}break;}}else{console[_0x553d(0x39)]('🔽\x20Closing\x20Onairos\x20overlay,\x20result:',_0x4bb45b),_0x2d4e96(![]),console[_0x553d(0x39)](_0x553d(0x9));if(_0x4bb45b&&_0x307347){if(_0x121ffd[_0x553d(0x7f)](_0x121ffd[_0x553d(0x86)],_0x121ffd[_0x553d(0x86)])){const _0x5946cf={'TxKGa':_0x121ffd[_0x553d(0x67)]};return React[_0x553d(0x87)](View,{'style':_0x4f5406[_0x553d(0x88)]},React[_0x553d(0x87)](TouchableOpacity,{'style':[_0x4a22f4[_0x553d(0x89)],{'backgroundColor':_0x121ffd[_0x553d(0x8a)]}],'onPress':()=>{Alert[_0x553d(0x66)](_0x5946cf[_0x553d(0x8b)],_0x553d(0x8c)+_0x57db39+_0x553d(0x8d),[{'text':'OK'}]);}},React[_0x553d(0x87)](Text,{'style':_0x50eb76[_0x553d(0x8e)]},_0x121ffd['PsBYl'])));}else _0x307347(_0x4bb45b[_0x553d(0x8f)],_0x4bb45b[_0x553d(0x70)],_0x4bb45b[_0x553d(0x71)]);}}},[enableLogging,_0x307347]),_0x47bfc4=useCallback(_0x4e8576=>{const _0x55dd88={'LjfOC':_0x553d(0x22)};enableLogging&&(_0x553d(0x90)===_0x121ffd['dSrIS']?_0x337b70[_0x553d(0x39)](_0x55dd88[_0x553d(0x91)],_0x3d8155):console[_0x553d(0x39)](_0x121ffd[_0x553d(0x92)],_0x4e8576)),_0x121ffd[_0x553d(0x2e)](_0x2d4e96,![]),_0x5a3dbe&&_0x121ffd['tfWtA'](_0x5a3dbe,_0x4e8576);},[enableLogging,_0x5a3dbe]);if(_0x2c778f&&!_0x405b6b)return React[_0x553d(0x87)](View,{'style':styles[_0x553d(0x88)]},React[_0x553d(0x87)](TouchableOpacity,{'style':[styles['errorButton'],{'backgroundColor':_0x121ffd[_0x553d(0x8a)]}],'onPress':()=>{Alert['alert'](_0x553d(0x11),_0x553d(0x8c)+_0x2c778f+'\x0a\x0aPlease\x20check\x20your\x20API\x20key\x20and\x20try\x20again.',[{'text':'OK'}]);}},React[_0x553d(0x87)](Text,{'style':styles[_0x553d(0x8e)]},_0x121ffd[_0x553d(0x93)])));if(_0x121ffd['uzzwQ'](_0x405b6b,!_0x1be8d6))return React[_0x553d(0x87)](View,{'style':styles[_0x553d(0x94)]},React['createElement'](TouchableOpacity,{'style':[styles['loadingButton'],{'backgroundColor':_0x553d(0x95)}],'disabled':!![]},React['createElement'](Text,{'style':styles[_0x553d(0x96)]},_0x121ffd[_0x553d(0x97)])));const _0x9416d0=()=>{const _0x399d0b={'qqDdy':function(_0x5282a6,_0x340117){return _0x5282a6/_0x340117;},'PESuc':_0x121ffd[_0x553d(0x98)],'mcEvJ':_0x553d(0x99),'WEezH':_0x553d(0x25)};if(_0x121ffd[_0x553d(0x73)](_0x553d(0x9a),_0x121ffd[_0x553d(0x9b)])){const _0x3d54c7={'width':buttonWidth,'height':buttonHeight,'backgroundColor':color,'borderRadius':_0x121ffd[_0x553d(0x64)](buttonType,_0x553d(0x9c))?buttonHeight/0x2:0x8,'alignItems':_0x553d(0x23),'justifyContent':_0x121ffd[_0x553d(0x98)],'flexDirection':_0x121ffd['xbAxV'],'opacity':enabled?0x1:0.6};if(hasStroke){if(_0x121ffd[_0x553d(0x52)](_0x121ffd[_0x553d(0x9d)],_0x121ffd[_0x553d(0x9e)]))_0x3d54c7['borderWidth']=0x2,_0x3d54c7[_0x553d(0x9f)]=darkMode?_0x121ffd['rDtWZ']:_0x121ffd[_0x553d(0xa0)];else{const _0xaf0e84={'width':_0x2dcb55,'height':_0x4c019d,'backgroundColor':_0x8b134c,'borderRadius':_0x380da9===_0x553d(0x9c)?_0x399d0b['qqDdy'](_0x2c134b,0x2):0x8,'alignItems':_0x399d0b[_0x553d(0xa1)],'justifyContent':_0x399d0b['PESuc'],'flexDirection':_0x399d0b[_0x553d(0xa2)],'opacity':_0x28eba3?0x1:0.6};return _0x981403&&(_0xaf0e84[_0x553d(0xa3)]=0x2,_0xaf0e84[_0x553d(0x9f)]=_0xfc66c?_0x399d0b[_0x553d(0xa4)]:_0x553d(0x26)),_0xaf0e84;}}return _0x3d54c7;}else _0x5c64b6[_0x553d(0x39)](_0x553d(0x19));},_0x184d44=()=>{switch(buttonForm){case _0x121ffd['QiwQG']:return _0x553d(0xa5);default:return'Continue\x20with\x20Onairos';}};return React[_0x553d(0x87)](React[_0x553d(0xa6)],null,React['createElement'](TouchableOpacity,{'style':_0x121ffd[_0x553d(0x4e)](_0x9416d0),'onPress':_0x5db7f5,'disabled':_0x121ffd[_0x553d(0x5f)](!enabled,_0x405b6b)||!_0x1be8d6,'activeOpacity':0.8},React[_0x553d(0x87)](Image,{'source':BRAND_IMAGES[_0x553d(0xa7)],'style':styles[_0x553d(0xa8)],'resizeMode':_0x121ffd[_0x553d(0xa9)]}),React[_0x553d(0x87)](Text,{'style':[styles[_0x553d(0xaa)],{'color':darkMode?_0x121ffd['FPAJq']:'#fff'}]},_0x121ffd[_0x553d(0xab)](_0x184d44))),React[_0x553d(0x87)](UniversalOnboarding,{'visible':_0x47664c,'onClose':_0x2920a4,'AppName':_0x4fddad,'requestData':_0x121ffd[_0x553d(0xac)](_0x111c6d,{}),'returnLink':_0x343b53,'onComplete':_0x2920a4,'embedd':![],'debug':debug,'testMode':testMode,'preferredPlatform':_0x5b600e}));});const styles=StyleSheet[_0x553d(0xad)]({'button':{'flexDirection':'row','alignItems':_0x553d(0x23),'justifyContent':_0x553d(0x23),'paddingVertical':0xc,'paddingHorizontal':0x10,'shadowColor':'#000','shadowOffset':{'width':0x0,'height':0x2},'shadowOpacity':0.1,'shadowRadius':0x4,'elevation':0x2},'buttonContent':{'flexDirection':'row','alignItems':'center','justifyContent':_0x553d(0x23)},'logo':{'width':0x18,'height':0x18,'marginRight':0x8},'buttonText':{'fontSize':0x10,'fontWeight':_0x553d(0xae),'textAlign':_0x553d(0x23)},'errorContainer':{'flex':0x1,'justifyContent':_0x553d(0x23),'alignItems':_0x553d(0x23)},'errorButton':{'padding':0x10,'borderRadius':0x8},'errorButtonText':{'fontSize':0x10,'fontWeight':'600','color':_0x553d(0x25)},'loadingContainer':{'flex':0x1,'justifyContent':_0x553d(0x23),'alignItems':_0x553d(0x23)},'loadingButton':{'padding':0x10,'borderRadius':0x8},'loadingButtonText':{'fontSize':0x10,'fontWeight':'600','color':_0x553d(0x25)}});
1
+ import React,{forwardRef,useImperativeHandle,useState,useCallback,useEffect}from'react';import{StyleSheet,View,TouchableOpacity,Text,Image,Alert}from'react-native';import{UniversalOnboarding}from'./UniversalOnboarding';import{COLORS}from'../constants';import{hasCredentials,getCredentials}from'../utils/secureStorage';import{initializeApiKey,isApiKeyInitialized,getApiConfig}from'../services/apiKeyService';import{API_CONFIG}from'../config/api';import{BRAND_IMAGES}from'../utils/assetRegistry';export const Onairos=forwardRef((_0x50274f,_0x1d39b9)=>{const _0x96092f={'BeOsw':function(_0x1b9404,_0x229443){return _0x1b9404(_0x229443);},'ZOuti':'✅\x20Onairos\x20SDK:\x20API\x20key\x20initialization\x20completed\x20successfully','kQtbj':function(_0x19908d,_0x14fedc,_0x40fced,_0x362934){return _0x19908d(_0x14fedc,_0x40fced,_0x362934);},'sZmTU':_0x349a(0x0),'orwcc':_0x349a(0x1),'hfgsr':_0x349a(0x2),'tgZoh':function(_0x1b8d8f,_0x364da0){return _0x1b8d8f!==_0x364da0;},'HnMNI':_0x349a(0x3),'efkLb':_0x349a(0x4),'updpJ':function(_0x93939a,_0x1ca7d6){return _0x93939a(_0x1ca7d6);},'rRcdT':function(_0x5ef8b2,_0x126ba1){return _0x5ef8b2(_0x126ba1);},'JkgnQ':_0x349a(0x5),'FYukS':function(_0x1950cc,_0x34f10b){return _0x1950cc instanceof _0x34f10b;},'Vgvfq':_0x349a(0x6),'xGRhm':_0x349a(0x7),'gpiHi':'GlyYt','bbkjK':_0x349a(0x8),'OCrOq':function(_0x58ceb9,_0x290036){return _0x58ceb9(_0x290036);},'ZvyxL':function(_0x4d4ccd,_0x4926c7){return _0x4d4ccd(_0x4926c7);},'oPSTd':_0x349a(0x9),'HiaJQ':_0x349a(0xa),'DmFVu':_0x349a(0xb),'FBYZq':function(_0x25767e,_0x41ce46){return _0x25767e===_0x41ce46;},'NMbvx':'dSOlM','ysqlv':'OCdmT','MzknX':function(_0xef854a,_0x9ca310){return _0xef854a!==_0x9ca310;},'MiMuV':_0x349a(0xc),'lzVmw':'UABxm','OBSQt':function(_0x504897,_0x321b08){return _0x504897(_0x321b08);},'wTtzB':_0x349a(0xd),'jmvna':_0x349a(0xe),'WEUpw':_0x349a(0xf),'xDIWo':_0x349a(0x10),'dOzai':function(_0x1f5aae){return _0x1f5aae();},'kHaMr':function(_0x120aa3,_0x4726d3){return _0x120aa3!==_0x4726d3;},'gLake':function(_0x4ce0aa){return _0x4ce0aa();},'Qlzmh':function(_0x5e9d73,_0x4ce8d6){return _0x5e9d73(_0x4ce8d6);},'ndEIa':function(_0x1825fb,_0x427e1e){return _0x1825fb===_0x427e1e;},'cElid':'rPGko','hqXCt':_0x349a(0x11),'gLxtq':'✅\x20Pre-check\x20passed','KsLmo':_0x349a(0x12),'dyNdp':_0x349a(0x13),'pogJz':_0x349a(0x14),'dTSYy':function(_0x22fbce,_0xf5a992){return _0x22fbce===_0xf5a992;},'IJgZT':_0x349a(0x15),'KGjej':_0x349a(0x16),'SyddS':'🔍\x20Running\x20pre-check\x20validation...','Yapmk':_0x349a(0x17),'VxsxZ':function(_0xde67fd,_0x55325c){return _0xde67fd===_0x55325c;},'HsICC':_0x349a(0x18),'sOWKq':_0x349a(0x19),'BYLIB':function(_0x44bbd8,_0x29984d){return _0x44bbd8(_0x29984d);},'ggWnt':_0x349a(0x1a),'mskuv':'🔍\x20Checking\x20for\x20existing\x20credentials...','xvcqx':'DxgKC','YbbbP':_0x349a(0x1b),'aybEk':function(_0x502f7b){return _0x502f7b();},'WUGnH':function(_0x1db9c5,_0x5d47a8){return _0x1db9c5&&_0x5d47a8;},'Mjdds':_0x349a(0x1c),'lVxHQ':_0x349a(0x1d),'jfkKd':_0x349a(0x1e),'YpWtW':_0x349a(0x1f),'gsGNX':function(_0x304e2b,_0x2a33c2,_0x18e1e9,_0x32e70a){return _0x304e2b(_0x2a33c2,_0x18e1e9,_0x32e70a);},'zUxAy':_0x349a(0x20),'oXUzz':_0x349a(0x21),'Dwlpj':function(_0x3b3eb7,_0x3440c9){return _0x3b3eb7(_0x3440c9);},'DPuDv':'fVXKh','suhTr':'❌\x20Error\x20opening\x20overlay:','fgwUR':_0x349a(0x22),'GgzDg':function(_0x482d4d,_0x236dc2){return _0x482d4d&&_0x236dc2;},'tDPSl':function(_0x5536bd,_0x31eab0){return _0x5536bd===_0x31eab0;},'QLQSl':_0x349a(0x23),'eOwIx':function(_0x317925,_0xe4f309){return _0x317925(_0xe4f309);},'gbFrb':_0x349a(0x24),'EweyY':function(_0x572dd1,_0x1e1c6e){return _0x572dd1!==_0x1e1c6e;},'DaAil':'pill','zKmud':function(_0x5e52fb,_0x59b741){return _0x5e52fb/_0x59b741;},'UalGN':_0x349a(0x25),'RkfEQ':_0x349a(0x26),'DfQNB':_0x349a(0x27),'IpWZx':_0x349a(0x28),'JBQsd':function(_0xa40839,_0x188926){return _0xa40839(_0x188926);},'zUNpw':function(_0x4ae48a,_0x2e8c30){return _0x4ae48a(_0x2e8c30);},'aldEs':function(_0x29c453,_0xb0f708,_0x618cee){return _0x29c453(_0xb0f708,_0x618cee);},'MfJNC':function(_0xeb6a27,_0x4b8944,_0x1417d0){return _0xeb6a27(_0x4b8944,_0x1417d0);},'YmmPE':function(_0x171629,_0x27b847){return _0x171629||_0x27b847;},'yxldx':function(_0x4c37fa){return _0x4c37fa();},'GCSzS':'#fff','HdQlT':function(_0x5c9242,_0x39ec13){return _0x5c9242||_0x39ec13;}},{returnLink:_0x37aae5,prefillUrl:_0x8a8b7b,AppName:_0x923b4f,buttonType:buttonType='normal',requestData:_0x7dd635,buttonWidth:buttonWidth=0xc8,buttonHeight:buttonHeight=0x30,hasStroke:hasStroke=![],enabled:enabled=!![],buttonForm:buttonForm=_0x96092f['IpWZx'],onRejection:_0x97d573,onResolved:_0x227897,preCheck:_0x50e829,color:color=COLORS[_0x349a(0x29)],debug:debug=![],darkMode:darkMode=![],preferredPlatform:_0x54633b,testMode:testMode=![],apiKey:_0x15c330,environment:environment=_0x349a(0x2a),enableLogging:enableLogging=!![],timeout:timeout=0x7530,retryAttempts:retryAttempts=0x3}=_0x50274f,[_0x3bcfef,_0x2b370c]=_0x96092f['BeOsw'](useState,![]),[_0x4d104c,_0x3635d2]=_0x96092f[_0x349a(0x2b)](useState,![]),[_0x6ae781,_0x112db3]=_0x96092f[_0x349a(0x2c)](useState,null),[_0x3ea271,_0x317e6e]=_0x96092f[_0x349a(0x2d)](useState,![]);useEffect(()=>{const _0x3f33bc={'GVoTy':_0x349a(0x2e),'twfYC':_0x96092f[_0x349a(0x2f)],'CeVie':_0x96092f[_0x349a(0x30)],'wtKHY':_0x96092f[_0x349a(0x31)],'eTeaj':_0x349a(0x16),'EtjwD':function(_0x18dfd8,_0x24a843){return _0x96092f['updpJ'](_0x18dfd8,_0x24a843);},'fMhqm':_0x349a(0x24),'rGVJV':function(_0x917a5d,_0x39eaa6){return _0x96092f['MzknX'](_0x917a5d,_0x39eaa6);},'WfoDP':_0x96092f['xDIWo']};var _0x337d4f;let _0x9d71ee=!![];const _0x35df72=async()=>{const _0xb66662={'vaBBK':function(_0x458ad4,_0x2c3e4e){return _0x96092f[_0x349a(0x32)](_0x458ad4,_0x2c3e4e);},'XTkaA':function(_0x398028,_0x4f5327){return _0x398028(_0x4f5327);},'bCdGK':_0x96092f[_0x349a(0x33)],'taxEg':_0x349a(0x34),'rkdSN':function(_0x4fb6be,_0x14b85b){return _0x96092f[_0x349a(0x32)](_0x4fb6be,_0x14b85b);},'Hzflv':function(_0x4c3f44,_0x4c4737,_0x3b93eb,_0x4aa7ae){return _0x96092f[_0x349a(0x35)](_0x4c3f44,_0x4c4737,_0x3b93eb,_0x4aa7ae);},'xTyIv':_0x349a(0x27),'iYXFg':_0x96092f[_0x349a(0x36)],'DmHTp':_0x96092f[_0x349a(0x37)]};if(_0x3ea271)return;_0x96092f[_0x349a(0x32)](_0x317e6e,!![]),_0x112db3(null);try{console[_0x349a(0x38)](_0x96092f[_0x349a(0x39)]);if(!_0x15c330){if(_0x96092f[_0x349a(0x3a)](_0x96092f[_0x349a(0x3b)],_0x96092f[_0x349a(0x3c)]))throw new Error(_0x349a(0x11));else _0x5d00dd[_0x349a(0x38)](_0x3f33bc[_0x349a(0x3d)]);}const _0x45db08={'apiKey':_0x15c330,'environment':environment,'enableLogging':enableLogging,'timeout':timeout,'retryAttempts':retryAttempts};await _0x96092f[_0x349a(0x3e)](initializeApiKey,_0x45db08),_0x9d71ee&&(_0x96092f[_0x349a(0x3f)](_0x3635d2,!![]),_0x96092f[_0x349a(0x32)](_0x112db3,null),enableLogging&&(console[_0x349a(0x38)](_0x349a(0x40)),console[_0x349a(0x38)](_0x96092f[_0x349a(0x41)],{'environment':environment,'enableLogging':enableLogging,'timeout':timeout,'retryAttempts':retryAttempts,'apiKeyLength':_0x15c330[_0x349a(0x42)]})));}catch(_0x551f74){const _0x393955=_0x96092f[_0x349a(0x43)](_0x551f74,Error)?_0x551f74['message']:_0x96092f[_0x349a(0x44)];console[_0x349a(0x45)](_0x96092f['xGRhm'],_0x393955),_0x9d71ee&&(_0x96092f['tgZoh'](_0x96092f['gpiHi'],_0x96092f['bbkjK'])?(_0x96092f[_0x349a(0x46)](_0x3635d2,![]),_0x96092f[_0x349a(0x47)](_0x112db3,_0x393955),enableLogging&&(_0x96092f['oPSTd']===_0x96092f[_0x349a(0x48)]?(console[_0x349a(0x49)](_0x349a(0x4a)),console[_0x349a(0x38)](_0x96092f[_0x349a(0x4b)]),console['log'](_0x349a(0x4c)),console['log'](_0x349a(0x4d)),console[_0x349a(0x38)](_0x96092f['DmFVu']),console[_0x349a(0x38)](_0x349a(0x4e)),console[_0x349a(0x4f)]()):(_0xb66662[_0x349a(0x50)](_0x394ffa,!![]),_0xb66662['XTkaA'](_0x52ce6e,null),_0x388fe5&&(_0x365a9b['log'](_0xb66662[_0x349a(0x51)]),_0x174450['log'](_0x349a(0x5),{'environment':_0xd3fd46,'enableLogging':_0xf70bb8,'timeout':_0x1092a3,'retryAttempts':_0x13af2e,'apiKeyLength':_0x13185e[_0x349a(0x42)]})))),_0x97d573&&(_0x96092f[_0x349a(0x52)](_0x96092f['NMbvx'],_0x96092f['ysqlv'])?(_0x3b8db2[_0x349a(0x38)](_0xb66662[_0x349a(0x53)],_0x47c4ff),_0xb66662[_0x349a(0x54)](_0x2c3c0f,![]),_0x17348['log'](_0x349a(0x22)),_0x615f4d&&_0x116337&&_0xb66662['Hzflv'](_0x4cead8,_0x2bd7ba['apiUrl'],_0x34c577[_0x349a(0x55)],_0x1e2f2b['userData'])):_0x96092f[_0x349a(0x32)](_0x97d573,_0x349a(0x56)+_0x393955))):_0xb66662[_0x349a(0x57)](_0x5162bc,![]));}finally{if(_0x96092f[_0x349a(0x58)](_0x96092f[_0x349a(0x59)],_0x96092f[_0x349a(0x5a)]))_0x9d71ee&&_0x96092f[_0x349a(0x5b)](_0x317e6e,![]);else switch(_0x347c2c){case _0xb66662[_0x349a(0x5c)]:return _0xb66662[_0x349a(0x5d)];default:return _0xb66662[_0x349a(0x5e)];}}};if(_0x15c330&&(!_0x96092f['dOzai'](isApiKeyInitialized)||_0x96092f[_0x349a(0x5f)]((_0x337d4f=_0x96092f[_0x349a(0x60)](getApiConfig))===null||_0x96092f[_0x349a(0x52)](_0x337d4f,void 0x0)?void 0x0:_0x337d4f[_0x349a(0x61)],_0x15c330)))_0x96092f['gLake'](_0x35df72);else{if(_0x96092f['gLake'](isApiKeyInitialized)){_0x96092f[_0x349a(0x3f)](_0x3635d2,!![]),_0x96092f['Qlzmh'](_0x317e6e,![]);if(enableLogging){if(_0x96092f[_0x349a(0x62)](_0x96092f[_0x349a(0x63)],_0x349a(0x64)))console[_0x349a(0x38)](_0x349a(0x2e));else return React[_0x349a(0x65)](View,{'style':_0x363804['loadingContainer']},React[_0x349a(0x65)](TouchableOpacity,{'style':[_0x2a40bb[_0x349a(0x66)],{'backgroundColor':_0x3f33bc['twfYC']}],'disabled':!![]},React[_0x349a(0x65)](Text,{'style':_0x468aa6[_0x349a(0x67)]},_0x3f33bc[_0x349a(0x68)])));}}}return()=>{const _0x2889a1={'ddhrV':_0x3f33bc[_0x349a(0x69)],'yaonQ':_0x3f33bc[_0x349a(0x6a)],'WCmbS':function(_0x3c1811,_0x2c095b){return _0x3f33bc[_0x349a(0x6b)](_0x3c1811,_0x2c095b);},'lkPbH':_0x3f33bc[_0x349a(0x6c)]};if(_0x3f33bc[_0x349a(0x6d)](_0x3f33bc[_0x349a(0x6e)],_0x3f33bc['WfoDP'])){const _0x2f1c7a=_0x3f5ea2||_0x2889a1[_0x349a(0x6f)];_0xea6f25[_0x349a(0x45)](_0x2889a1[_0x349a(0x70)]);_0x53e3df?_0x2889a1[_0x349a(0x71)](_0x47a2e9,_0x2f1c7a):Alert[_0x349a(0x72)](_0x2889a1['lkPbH'],_0x2f1c7a,[{'text':'OK'}]);return;}else _0x9d71ee=![];};},[_0x15c330,environment,enableLogging,timeout,retryAttempts,_0x97d573]),_0x96092f['aldEs'](useImperativeHandle,_0x1d39b9,()=>({'openOverlay':_0x512494,'closeOverlay':_0x29f015,'isInitialized':()=>_0x4d104c,'getApiConfig':()=>getApiConfig()}));const _0x512494=_0x96092f[_0x349a(0x73)](useCallback,async()=>{const _0x185df6={'xjlGy':_0x349a(0x74),'nWgBM':function(_0x257ac0,_0x3cd1b0,_0x11afd3,_0x28db4d){return _0x257ac0(_0x3cd1b0,_0x11afd3,_0x28db4d);},'UAXbJ':function(_0x48d8a6,_0x58803f){return _0x96092f[_0x349a(0x5b)](_0x48d8a6,_0x58803f);}};console[_0x349a(0x38)](_0x96092f[_0x349a(0x75)],_0x4d104c,_0x349a(0x76),_0x3ea271,_0x349a(0x77),_0x3bcfef);try{if(!_0x4d104c){if(_0x96092f[_0x349a(0x78)](_0x349a(0x15),_0x96092f[_0x349a(0x79)])){const _0x50a416=_0x6ae781||_0x96092f[_0x349a(0x31)];console[_0x349a(0x45)](_0x96092f[_0x349a(0x7a)]);_0x97d573?_0x96092f[_0x349a(0x5b)](_0x97d573,_0x50a416):Alert[_0x349a(0x72)](_0x349a(0x24),_0x50a416,[{'text':'OK'}]);return;}else throw new _0x24e267(_0x96092f['hqXCt']);}if(_0x50e829){enableLogging&&console[_0x349a(0x38)](_0x96092f['SyddS']);try{if(_0x96092f[_0x349a(0x52)](_0x96092f[_0x349a(0x7b)],_0x349a(0x7c)))_0x47ed0c['log'](_0x185df6[_0x349a(0x7d)],_0x481bd0);else{const _0x2b7c47=await _0x96092f[_0x349a(0x7e)](_0x50e829);if(!_0x2b7c47){enableLogging&&console[_0x349a(0x38)](_0x96092f[_0x349a(0x7f)]);return;}if(enableLogging){if(_0x96092f[_0x349a(0x80)](_0x96092f[_0x349a(0x81)],_0x96092f['sOWKq'])){_0xecc478&&_0x4a9e61[_0x349a(0x38)](_0x349a(0x13));return;}else console[_0x349a(0x38)](_0x96092f[_0x349a(0x82)]);}}}catch(_0x20ab45){console[_0x349a(0x45)](_0x96092f['KsLmo'],_0x20ab45);_0x97d573&&_0x96092f[_0x349a(0x83)](_0x97d573,_0x349a(0x84)+_0x20ab45['message']);return;}}enableLogging&&(_0x96092f[_0x349a(0x58)](_0x96092f[_0x349a(0x85)],_0x96092f['ggWnt'])?_0x7d9283[_0x349a(0x38)](_0x96092f[_0x349a(0x82)]):console[_0x349a(0x38)](_0x96092f['mskuv']));const _0x10c393=await _0x96092f['gLake'](hasCredentials);if(_0x10c393){enableLogging&&(_0x96092f[_0x349a(0x52)](_0x349a(0x86),_0x96092f[_0x349a(0x87)])?console['log'](_0x96092f[_0x349a(0x88)]):_0x185df6[_0x349a(0x89)](_0x573c89,_0x4e74af['apiUrl'],_0x1057e9['token'],_0x2aaef5[_0x349a(0x8a)]));try{const _0x4c748e=await _0x96092f[_0x349a(0x8b)](getCredentials);if(_0x96092f[_0x349a(0x8c)](_0x4c748e,_0x227897)){if(_0x96092f['tgZoh'](_0x96092f[_0x349a(0x8d)],_0x349a(0x8e))){const _0x271413=API_CONFIG[_0x349a(0x8f)]+_0x349a(0x90),_0x4dbf1f=_0x96092f[_0x349a(0x91)];enableLogging&&(_0x96092f[_0x349a(0x58)](_0x96092f[_0x349a(0x92)],_0x96092f['jfkKd'])?_0x185df6[_0x349a(0x93)](_0x34727e,_0x4f1735):console[_0x349a(0x38)](_0x96092f[_0x349a(0x94)]));_0x96092f[_0x349a(0x95)](_0x227897,_0x271413,_0x4dbf1f,_0x4c748e);return;}else{_0x2a969e[_0x349a(0x45)](_0x96092f[_0x349a(0x96)],_0xe4403d);_0x2f8d46&&_0x5432a6(_0x349a(0x84)+_0x377177[_0x349a(0x97)]);return;}}}catch(_0x231541){console[_0x349a(0x98)](_0x96092f[_0x349a(0x99)],_0x231541);}}enableLogging&&console['log'](_0x96092f['oXUzz']),_0x96092f['Dwlpj'](_0x2b370c,!![]);}catch(_0x506f78){_0x96092f[_0x349a(0x5f)](_0x96092f[_0x349a(0x9a)],_0x96092f[_0x349a(0x9a)])?_0x19bdd1[_0x349a(0x38)](_0x96092f[_0x349a(0x7f)]):(console['error'](_0x96092f[_0x349a(0x9b)],_0x506f78),_0x97d573&&_0x96092f['BeOsw'](_0x97d573,_0x349a(0x9c)+_0x506f78[_0x349a(0x97)]));}},[_0x4d104c,_0x6ae781,_0x50e829,enableLogging,_0x97d573,_0x227897]),_0x29f015=_0x96092f[_0x349a(0x9d)](useCallback,_0x45a0dd=>{console[_0x349a(0x38)](_0x349a(0x34),_0x45a0dd),_0x2b370c(![]),console['log'](_0x96092f[_0x349a(0x9e)]),_0x96092f[_0x349a(0x9f)](_0x45a0dd,_0x227897)&&_0x227897(_0x45a0dd[_0x349a(0xa0)],_0x45a0dd[_0x349a(0x55)],_0x45a0dd['userData']);},[enableLogging,_0x227897]),_0x364531=useCallback(_0x3075fa=>{_0x96092f[_0x349a(0xa1)]('lwYIk','lwYIk')?(enableLogging&&(_0x96092f[_0x349a(0xa2)]===_0x96092f[_0x349a(0xa2)]?console[_0x349a(0x38)](_0x349a(0x74),_0x3075fa):_0x41e636&&_0x96092f[_0x349a(0x46)](_0x4ee88b,![])),_0x96092f[_0x349a(0x2d)](_0x2b370c,![]),_0x97d573&&_0x96092f[_0x349a(0xa3)](_0x97d573,_0x3075fa)):_0x122284[_0x349a(0x38)]('🔑\x20Existing\x20credentials\x20found,\x20attempting\x20automatic\x20resolution...');},[enableLogging,_0x97d573]);if(_0x6ae781&&!_0x3ea271)return React[_0x349a(0x65)](View,{'style':styles[_0x349a(0xa4)]},React[_0x349a(0x65)](TouchableOpacity,{'style':[styles[_0x349a(0xa5)],{'backgroundColor':'#FF6B6B'}],'onPress':()=>{_0x96092f[_0x349a(0xa6)](_0x349a(0xa7),_0x349a(0xa7))?Alert[_0x349a(0x72)](_0x96092f[_0x349a(0xa8)],_0x349a(0xa9)+_0x17bc29+'\x0a\x0aPlease\x20check\x20your\x20API\x20key\x20and\x20try\x20again.',[{'text':'OK'}]):Alert[_0x349a(0x72)](_0x96092f[_0x349a(0xa8)],_0x349a(0xa9)+_0x6ae781+'\x0a\x0aPlease\x20check\x20your\x20API\x20key\x20and\x20try\x20again.',[{'text':'OK'}]);}},React[_0x349a(0x65)](Text,{'style':styles[_0x349a(0xaa)]},'⚠️\x20SDK\x20Error')));if(_0x96092f['YmmPE'](_0x3ea271,!_0x4d104c))return React[_0x349a(0x65)](View,{'style':styles[_0x349a(0xab)]},React[_0x349a(0x65)](TouchableOpacity,{'style':[styles[_0x349a(0x66)],{'backgroundColor':_0x96092f[_0x349a(0x2f)]}],'disabled':!![]},React[_0x349a(0x65)](Text,{'style':styles[_0x349a(0x67)]},_0x96092f[_0x349a(0x30)])));const _0x574b18=()=>{const _0x33d1d4={'width':buttonWidth,'height':buttonHeight,'backgroundColor':color,'borderRadius':_0x96092f[_0x349a(0x52)](buttonType,_0x96092f[_0x349a(0xac)])?_0x96092f[_0x349a(0xad)](buttonHeight,0x2):0x8,'alignItems':_0x349a(0xae),'justifyContent':'center','flexDirection':'row','opacity':enabled?0x1:0.6};return hasStroke&&(_0x33d1d4[_0x349a(0xaf)]=0x2,_0x33d1d4['borderColor']=darkMode?_0x349a(0xb0):_0x96092f[_0x349a(0xb1)]),_0x33d1d4;},_0x621f05=()=>{if(_0x96092f[_0x349a(0x52)](_0x96092f['RkfEQ'],_0x96092f[_0x349a(0xb2)]))switch(buttonForm){case _0x96092f[_0x349a(0xb3)]:return _0x96092f[_0x349a(0x36)];default:return _0x96092f[_0x349a(0x37)];}else _0x3df554('Failed\x20to\x20open\x20overlay:\x20'+_0xa82a6b[_0x349a(0x97)]);};return React[_0x349a(0x65)](React[_0x349a(0xb4)],null,React[_0x349a(0x65)](TouchableOpacity,{'style':_0x96092f[_0x349a(0xb5)](_0x574b18),'onPress':_0x512494,'disabled':!enabled||_0x3ea271||!_0x4d104c,'activeOpacity':0.8},React[_0x349a(0x65)](Image,{'source':BRAND_IMAGES['onairosLogoAlt'],'style':styles[_0x349a(0xb6)],'resizeMode':'contain'}),React[_0x349a(0x65)](Text,{'style':[styles[_0x349a(0xb7)],{'color':darkMode?_0x96092f[_0x349a(0xb1)]:_0x96092f[_0x349a(0xb8)]}]},_0x96092f[_0x349a(0x8b)](_0x621f05))),React[_0x349a(0x65)](UniversalOnboarding,{'visible':_0x3bcfef,'onClose':_0x29f015,'AppName':_0x923b4f,'requestData':_0x96092f[_0x349a(0xb9)](_0x7dd635,{}),'returnLink':_0x37aae5,'onComplete':_0x29f015,'embedd':![],'debug':debug,'testMode':testMode,'preferredPlatform':_0x54633b}));});const styles=StyleSheet[_0x349a(0xba)]({'button':{'flexDirection':'row','alignItems':_0x349a(0xae),'justifyContent':_0x349a(0xae),'paddingVertical':0xc,'paddingHorizontal':0x10,'shadowColor':_0x349a(0x25),'shadowOffset':{'width':0x0,'height':0x2},'shadowOpacity':0.1,'shadowRadius':0x4,'elevation':0x2},'buttonContent':{'flexDirection':_0x349a(0xbb),'alignItems':_0x349a(0xae),'justifyContent':'center'},'logo':{'width':0x18,'height':0x18,'marginRight':0x8},'buttonText':{'fontSize':0x10,'fontWeight':_0x349a(0xbc),'textAlign':_0x349a(0xae)},'errorContainer':{'flex':0x1,'justifyContent':_0x349a(0xae),'alignItems':_0x349a(0xae)},'errorButton':{'padding':0x10,'borderRadius':0x8},'errorButtonText':{'fontSize':0x10,'fontWeight':_0x349a(0xbc),'color':_0x349a(0xb0)},'loadingContainer':{'flex':0x1,'justifyContent':_0x349a(0xae),'alignItems':_0x349a(0xae)},'loadingButton':{'padding':0x10,'borderRadius':0x8},'loadingButtonText':{'fontSize':0x10,'fontWeight':_0x349a(0xbc),'color':_0x349a(0xb0)}});function _0x349a(_0x1c8c5a,_0x349a47){_0x1c8c5a=_0x1c8c5a-0x0;const _0x1a6e85=_0x1c8c();let _0x224a67=_0x1a6e85[_0x1c8c5a];return _0x224a67;}function _0x1c8c(){const _0x220037=['Connect\x20with\x20Onairos','Continue\x20with\x20Onairos','🚀\x20Onairos\x20SDK:\x20Starting\x20API\x20key\x20initialization...','dizBk','CSnNf','📊\x20Configuration:','Unknown\x20initialization\x20error','❌\x20Onairos\x20SDK:\x20API\x20key\x20initialization\x20failed:','Unqay','gGqrX','1.\x20Check\x20that\x20your\x20API\x20key\x20is\x20correct\x20and\x20not\x20expired','4.\x20Check\x20your\x20internet\x20connection','IJKRE','#999','🔄\x20Initializing...','SDK\x20not\x20initialized.\x20Please\x20check\x20your\x20API\x20key.','RygnW','API\x20key\x20is\x20required.\x20Please\x20provide\x20a\x20valid\x20API\x20key\x20from\x20your\x20Onairos\x20dashboard.','❌\x20Pre-check\x20error:','⛔\x20Pre-check\x20failed,\x20aborting\x20overlay','🔘\x20Button\x20pressed!\x20isInitialized:','QqwNq','❌\x20Cannot\x20open\x20overlay:\x20SDK\x20not\x20initialized','mCyNb','avWYK','sPtOp','EzazZ','🔑\x20Existing\x20credentials\x20found,\x20attempting\x20automatic\x20resolution...','iGhSg','existing_user_token','Wlsxn','✅\x20Resolving\x20with\x20existing\x20credentials','⚠️\x20Failed\x20to\x20retrieve\x20existing\x20credentials:','🎨\x20Opening\x20Onairos\x20overlay...','🔽\x20showOverlay\x20set\x20to\x20false','ASTNW','SDK\x20Error','#000','whLAp','connect','default','primary','production','JBQsd','zUNpw','eOwIx','✅\x20Onairos\x20component:\x20SDK\x20already\x20initialized,\x20syncing\x20state','wTtzB','jmvna','WEUpw','BeOsw','ZOuti','🔽\x20Closing\x20Onairos\x20overlay,\x20result:','kQtbj','sZmTU','orwcc','log','hfgsr','tgZoh','HnMNI','efkLb','GVoTy','updpJ','rRcdT','✅\x20Onairos\x20SDK:\x20API\x20key\x20initialization\x20completed\x20successfully','JkgnQ','length','FYukS','Vgvfq','error','OCrOq','ZvyxL','oPSTd','group','🔧\x20API\x20Key\x20Troubleshooting\x20Guide','HiaJQ','2.\x20Verify\x20you\x20have\x20the\x20right\x20permissions\x20for\x20your\x20use\x20case','3.\x20Ensure\x20your\x20environment\x20setting\x20matches\x20your\x20API\x20key','5.\x20Visit\x20https://dashboard.onairos.uk\x20to\x20manage\x20your\x20API\x20keys','groupEnd','vaBBK','bCdGK','FBYZq','taxEg','rkdSN','token','SDK\x20initialization\x20failed:\x20','XTkaA','MzknX','MiMuV','lzVmw','OBSQt','xTyIv','iYXFg','DmHTp','kHaMr','gLake','apiKey','ndEIa','cElid','rPGko','createElement','loadingButton','loadingButtonText','CeVie','wtKHY','eTeaj','EtjwD','fMhqm','rGVJV','WfoDP','ddhrV','yaonQ','WCmbS','alert','aldEs','❌\x20Overlay\x20rejected:','pogJz','isInitializing:','showOverlay:','dTSYy','IJgZT','KGjej','Yapmk','xOKOE','xjlGy','dOzai','dyNdp','VxsxZ','HsICC','gLxtq','BYLIB','Pre-check\x20failed:\x20','ggWnt','DxgKC','xvcqx','YbbbP','nWgBM','userData','aybEk','WUGnH','Mjdds','CtqmJ','BASE_URL','/user/data','lVxHQ','jfkKd','UAXbJ','YpWtW','gsGNX','KsLmo','message','warn','zUxAy','DPuDv','suhTr','Failed\x20to\x20open\x20overlay:\x20','MfJNC','fgwUR','GgzDg','apiUrl','tDPSl','QLQSl','Qlzmh','errorContainer','errorButton','EweyY','dvbcd','gbFrb','Onairos\x20SDK\x20initialization\x20failed:\x0a\x0a','errorButtonText','loadingContainer','DaAil','zKmud','center','borderWidth','#fff','UalGN','RkfEQ','DfQNB','Fragment','yxldx','logo','buttonText','GCSzS','HdQlT','create','row','600'];_0x1c8c=function(){return _0x220037;};return _0x1c8c();}
@@ -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 _0x3a2246 from'react-native-linear-gradient';import{UniversalOnboarding}from'./UniversalOnboarding';import _0x1b0c13 from'./WelcomeScreen';import{isApiKeyInitialized,getApiConfig}from'../services/apiKeyService';import{BRAND_IMAGES}from'../utils/assetRegistry';function _0x2aa4(_0x18eabe,_0x2aa4e1){_0x18eabe=_0x18eabe-0x0;const _0x14398c=_0x18ea();let _0x4559b7=_0x14398c[_0x18eabe];return _0x4559b7;}const {width}=Dimensions['get'](_0x2aa4(0x0));export const OnairosButton=forwardRef(({AppName:_0x5ba7b6,buttonType:buttonType='normal',buttonWidth:buttonWidth=0xb4,buttonHeight:buttonHeight=0x30,hasStroke:hasStroke=![],enabled:enabled=!![],buttonForm:buttonForm=_0x2aa4(0x1),onResolved:_0x595287,onRejection:_0x42c4fc,preCheck:_0x512e17,color:color=_0x2aa4(0x2),swerv:swerv=![],darkMode:darkMode=![],returnLink:_0x42dde4,preferredPlatform:_0x28c87b,autoFetch:autoFetch=![],inferenceData:_0x116e13,textLayout:textLayout=_0x2aa4(0x3),textColor:textColor=_0x2aa4(0x4),proofMode:proofMode=![],webpageName:_0x33c822,debug:debug=![],testMode:testMode=![],requestData:_0x454ff6,onPress:_0x1a3c63,primaryAuthOnly:primaryAuthOnly=![],useNewWelcomeFlow:useNewWelcomeFlow=![]},_0x6a49fb)=>{const _0x3a8dc3={'TnfKP':function(_0x2d940b){return _0x2d940b();},'zMesa':function(_0x334b79,_0xe9a754){return _0x334b79!==_0xe9a754;},'GhIhR':_0x2aa4(0x5),'YyuUJ':_0x2aa4(0x6),'DzXfk':function(_0x2febb3,_0x29fcf6){return _0x2febb3===_0x29fcf6;},'IxQki':_0x2aa4(0x7),'DlLGD':_0x2aa4(0x8),'IlllL':function(_0xbcbb86,_0x3b8e92){return _0xbcbb86===_0x3b8e92;},'yxJKY':function(_0x865f08,_0xca356d){return _0x865f08(_0xca356d);},'yPhnI':_0x2aa4(0x9),'YUlMU':function(_0x3db2ea,_0x91fba7){return _0x3db2ea(_0x91fba7);},'nIiRb':_0x2aa4(0xa),'JunsX':function(_0x6631e6,_0x271389){return _0x6631e6+_0x271389;},'LZmEo':'...','UleCJ':_0x2aa4(0xb),'twQzX':_0x2aa4(0xc),'qmeNI':_0x2aa4(0xd),'HQiMh':_0x2aa4(0xe),'FmdxI':_0x2aa4(0xf),'qMZJU':_0x2aa4(0x10),'wfqve':function(_0x57680e,_0x524fe2,_0x28b9a5){return _0x57680e(_0x524fe2,_0x28b9a5);},'GMbSE':function(_0x3b89df,_0x1e14e3){return _0x3b89df(_0x1e14e3);},'pVMkE':_0x2aa4(0x11),'ouzSh':function(_0x10c8b4,_0x5261f7){return _0x10c8b4!==_0x5261f7;},'fSQok':function(_0x2cd392){return _0x2cd392();},'MjvzP':_0x2aa4(0x12),'zTEBf':_0x2aa4(0x13),'ZiJio':'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','RLVDU':'❌\x20[OnairosButton]\x20SDK\x20NOT\x20INITIALIZED:','exmBo':function(_0x491243,_0x2bd63a){return _0x491243!==_0x2bd63a;},'wNhdF':_0x2aa4(0x14),'hyxss':_0x2aa4(0x15),'lQcsD':'The\x20Onairos\x20SDK\x20requires\x20initialization\x20with\x20a\x20valid\x20API\x20key.\x0a\x0aDevelopers:\x20Please\x20call\x20initializeApiKey()\x20before\x20using\x20OnairosButton.','oUMuv':function(_0x200b72,_0x567545){return _0x200b72(_0x567545);},'XyghI':function(_0x5775ea,_0x1badf9){return _0x5775ea===_0x1badf9;},'eHVXK':function(_0x555164,_0x5f3029){return _0x555164===_0x5f3029;},'gLsyI':function(_0x377688){return _0x377688();},'IMdYV':_0x2aa4(0x16),'RsHVe':function(_0x5d739b,_0x46bf34){return _0x5d739b(_0x46bf34);},'OJZCS':_0x2aa4(0x17),'NrNxJ':function(_0x9b5447,_0x2fd37d){return _0x9b5447(_0x2fd37d);},'BoDAA':function(_0x2a74ae,_0x3a3c23){return _0x2a74ae===_0x3a3c23;},'IeQah':_0x2aa4(0x18),'yYNSR':_0x2aa4(0x19),'zGBKd':function(_0x1186d3,_0x277cdc){return _0x1186d3(_0x277cdc);},'NoHqY':function(_0x396a30,_0x2b4ab1){return _0x396a30 instanceof _0x2b4ab1;},'mVCen':_0x2aa4(0x1a),'rXKEV':function(_0x527c9d,_0x351660){return _0x527c9d===_0x351660;},'HGaAJ':_0x2aa4(0x1b),'JIxeK':function(_0x1eb098,_0x4992b9,_0x18d61d){return _0x1eb098(_0x4992b9,_0x18d61d);},'vRMmC':function(_0x129cce){return _0x129cce();},'OmQXU':function(_0x4253df,_0x31078c){return _0x4253df(_0x31078c);},'fHwBl':function(_0x4fb185,_0x40415d){return _0x4fb185(_0x40415d);},'ujDAN':'User\x20closed\x20onboarding','XeAlq':function(_0x47ae58,_0xf812c3){return _0x47ae58(_0xf812c3);},'uEOVU':function(_0x18e2ec,_0x4c842f){return _0x18e2ec(_0x4c842f);},'DPZvu':_0x2aa4(0x1c),'qSgYZ':function(_0x1d6f44,_0x58dd2b,_0x4b8a08){return _0x1d6f44(_0x58dd2b,_0x4b8a08);},'cLSLC':function(_0x4175f2,_0x3004d2,_0x43675b){return _0x4175f2(_0x3004d2,_0x43675b);},'jTUYI':function(_0x557922,_0x5b4741){return _0x557922===_0x5b4741;},'UjMct':_0x2aa4(0x1d),'MxQSe':_0x2aa4(0x1e),'Wlmba':_0x2aa4(0x1f),'zlXCy':_0x2aa4(0x20),'rTWio':'contain','kBFJN':function(_0x2dd906,_0x32e250){return _0x2dd906||_0x32e250;},'KNDiH':'Small','orZDH':_0x2aa4(0x21),'QdJch':_0x2aa4(0x22),'teMzw':_0x2aa4(0x23),'IZlJT':_0x2aa4(0x24),'LbJsK':_0x2aa4(0x25),'ddXUZ':_0x2aa4(0x26),'KONcY':'Premium\x20tier','gooYh':_0x2aa4(0x27)},[_0x481f51,_0x3a7f94]=_0x3a8dc3['XeAlq'](useState,![]),[_0x19096c,_0x508553]=_0x3a8dc3[_0x2aa4(0x28)](useState,![]),[_0x2762e9,_0x25c750]=_0x3a8dc3[_0x2aa4(0x29)](useState,![]);console['log'](_0x3a8dc3['DPZvu'],_0x2762e9),_0x3a8dc3[_0x2aa4(0x2a)](useEffect,()=>{const _0x2e31cd={'QtNST':function(_0x40800c){return _0x3a8dc3[_0x2aa4(0x2b)](_0x40800c);}};_0x3a8dc3[_0x2aa4(0x2c)](_0x3a8dc3[_0x2aa4(0x2d)],_0x2aa4(0x2e))?console[_0x2aa4(0x2f)](_0x3a8dc3[_0x2aa4(0x30)],_0x2762e9):_0x2e31cd['QtNST'](_0x25c922);},[_0x2762e9]),_0x3a8dc3[_0x2aa4(0x31)](useImperativeHandle,_0x6a49fb,()=>({'trigger':async()=>{return await _0x1af51b(),Promise[_0x2aa4(0x32)]();},'reset':async()=>{const _0x22f21e={'AmZAl':_0x2aa4(0x6)};if(_0x3a8dc3[_0x2aa4(0x33)](_0x3a8dc3['IxQki'],_0x2aa4(0x34)))_0x4b8ae1['log'](_0x22f21e[_0x2aa4(0x35)],_0x1b4037);else return Promise[_0x2aa4(0x32)]();}}));const _0x1af51b=async()=>{const _0xc69ade={'Lmyeo':function(_0x2eec1a,_0x3a344c,_0x2c1189){return _0x3a8dc3[_0x2aa4(0x36)](_0x2eec1a,_0x3a344c,_0x2c1189);},'ujvgq':function(_0x4302a1,_0x452ccc){return _0x3a8dc3[_0x2aa4(0x37)](_0x4302a1,_0x452ccc);}};console[_0x2aa4(0x2f)](_0x3a8dc3[_0x2aa4(0x38)]);if(!enabled||_0x481f51)return;_0x3a8dc3[_0x2aa4(0x37)](_0x3a7f94,!![]);try{if(_0x3a8dc3['ouzSh']('qykyA',_0x2aa4(0x39))){if(!_0x3a8dc3['fSQok'](isApiKeyInitialized)){if(_0x3a8dc3['zMesa'](_0x3a8dc3[_0x2aa4(0x3a)],_0x3a8dc3[_0x2aa4(0x3b)])){const _0xedb48=_0x3a8dc3['ZiJio'];console[_0x2aa4(0x3c)](_0x3a8dc3['RLVDU'],_0xedb48);if(_0x42c4fc){if(_0x3a8dc3['exmBo'](_0x3a8dc3['wNhdF'],_0x3a8dc3[_0x2aa4(0x3d)])){_0x5d5996[_0x2aa4(0x2f)](_0x3a8dc3[_0x2aa4(0x3e)]),_0x48a04b===null||_0x3a8dc3[_0x2aa4(0x3f)](_0x37ff06,void 0x0)||_0x3a8dc3['yxJKY'](_0x410a91,_0x3a8dc3[_0x2aa4(0x40)]),_0x3a8dc3[_0x2aa4(0x41)](_0x1a2a9c,![]);return;}else _0x3a8dc3[_0x2aa4(0x41)](_0x42c4fc,_0xedb48);}else Alert[_0x2aa4(0x42)](_0x3a8dc3[_0x2aa4(0x43)],_0x3a8dc3[_0x2aa4(0x44)],[{'text':'OK'}]);_0x3a8dc3[_0x2aa4(0x45)](_0x3a7f94,![]);return;}else _0xc69ade['Lmyeo'](_0x396657,_0x392329,_0x4d020b);}const _0x246be7=_0x3a8dc3['fSQok'](getApiConfig);if(debug){var _0x283089;console['log'](_0x2aa4(0xa),_0x3a8dc3[_0x2aa4(0x46)](_0x3a8dc3[_0x2aa4(0x47)](_0x246be7,null)||_0x3a8dc3['eHVXK'](_0x246be7,void 0x0)||_0x3a8dc3[_0x2aa4(0x47)](_0x283089=_0x246be7['apiKey'],null)||_0x3a8dc3[_0x2aa4(0x47)](_0x283089,void 0x0)?void 0x0:_0x283089[_0x2aa4(0x48)](0x0,0x8),_0x3a8dc3[_0x2aa4(0x49)]));}if(_0x512e17){const _0x12cd08=await _0x3a8dc3['gLsyI'](_0x512e17);if(!_0x12cd08){if(_0x3a8dc3[_0x2aa4(0x4a)](_0x3a8dc3[_0x2aa4(0x4b)],_0x3a8dc3[_0x2aa4(0x4b)]))_0xc69ade[_0x2aa4(0x4c)](_0x20dcfc,_0x18fcb3);else{console[_0x2aa4(0x2f)](_0x3a8dc3[_0x2aa4(0x3e)]),_0x3a8dc3[_0x2aa4(0x33)](_0x42c4fc,null)||_0x3a8dc3[_0x2aa4(0x3f)](_0x42c4fc,void 0x0)||_0x42c4fc(_0x3a8dc3[_0x2aa4(0x40)]),_0x3a8dc3['RsHVe'](_0x3a7f94,![]);return;}}}console[_0x2aa4(0x2f)](_0x3a8dc3[_0x2aa4(0x4d)]),_0x3a8dc3[_0x2aa4(0x4e)](_0x25c750,!![]),_0x3a8dc3[_0x2aa4(0x4f)](_0x3a7f94,![]);}else{var _0x181f80;_0xf27328[_0x2aa4(0x2f)](_0x3a8dc3[_0x2aa4(0x50)],_0x3a8dc3[_0x2aa4(0x46)](_0x223003===null||_0x3a8dc3['DzXfk'](_0xe5fbbd,void 0x0)||(_0x181f80=_0x923666[_0x2aa4(0x51)])===null||_0x3a8dc3[_0x2aa4(0x3f)](_0x181f80,void 0x0)?void 0x0:_0x181f80[_0x2aa4(0x48)](0x0,0x8),_0x3a8dc3[_0x2aa4(0x49)]));}}catch(_0x4f1000){if(_0x3a8dc3[_0x2aa4(0x52)](_0x3a8dc3['IeQah'],'YFCgr'))switch(_0x1f41f8){case _0x3a8dc3[_0x2aa4(0x53)]:return _0x3a8dc3[_0x2aa4(0x54)];case _0x3a8dc3[_0x2aa4(0x55)]:return _0x3a8dc3[_0x2aa4(0x56)];case _0x3a8dc3[_0x2aa4(0x57)]:return _0x3a8dc3[_0x2aa4(0x58)];default:return _0x3a8dc3['twQzX'];}else console[_0x2aa4(0x3c)](_0x3a8dc3[_0x2aa4(0x59)],_0x4f1000),_0x42c4fc===null||_0x42c4fc===void 0x0||_0x3a8dc3[_0x2aa4(0x28)](_0x42c4fc,_0x3a8dc3[_0x2aa4(0x5a)](_0x4f1000,Error)?_0x4f1000['message']:_0x3a8dc3[_0x2aa4(0x5b)]),_0x3a8dc3[_0x2aa4(0x28)](_0x3a7f94,![]);}},_0x202a74=()=>{switch(buttonForm){case _0x3a8dc3['UleCJ']:return _0x3a8dc3[_0x2aa4(0x54)];case _0x3a8dc3[_0x2aa4(0x55)]:return'Sign\x20in\x20with\x20Onairos';case _0x3a8dc3[_0x2aa4(0x57)]:return _0x3a8dc3[_0x2aa4(0x58)];default:return'Connect\x20Onairos';}},_0x590b5b=useCallback((_0x559703,_0x12dc39)=>{const _0x527b00={'IirvZ':_0x3a8dc3[_0x2aa4(0x43)],'WBSvN':_0x3a8dc3['lQcsD']};console['log']('[OnairosButton]\x20handleOnboardingComplete:\x20Setting\x20showOnboarding\x20to\x20false.'),_0x3a8dc3[_0x2aa4(0x4f)](_0x25c750,![]),_0x595287&&(_0x3a8dc3[_0x2aa4(0x5c)](_0x3a8dc3[_0x2aa4(0x5d)],_0x2aa4(0x1b))?_0x3a8dc3[_0x2aa4(0x5e)](_0x595287,_0x559703,_0x12dc39):Alert[_0x2aa4(0x42)](_0x527b00['IirvZ'],_0x527b00[_0x2aa4(0x5f)],[{'text':'OK'}])),_0x1a3c63&&_0x3a8dc3[_0x2aa4(0x60)](_0x1a3c63);},[_0x595287,_0x1a3c63]),_0x1e4eaf=_0x3a8dc3[_0x2aa4(0x31)](useCallback,()=>{console[_0x2aa4(0x2f)](_0x2aa4(0x61)),_0x3a8dc3[_0x2aa4(0x62)](_0x25c750,![]);if(_0x42c4fc){if(_0x3a8dc3['zMesa']('ctjjm','ctjjm')){const _0x278142=_0x3a8dc3[_0x2aa4(0x63)];_0x3e0418[_0x2aa4(0x3c)](_0x2aa4(0x64),_0x278142);_0xc0f620?_0x3a8dc3[_0x2aa4(0x65)](_0x24ea1b,_0x278142):Alert[_0x2aa4(0x42)](_0x3a8dc3['hyxss'],_0x3a8dc3[_0x2aa4(0x44)],[{'text':'OK'}]);_0x51850f(![]);return;}else _0x3a8dc3['fHwBl'](_0x42c4fc,_0x3a8dc3['ujDAN']);}},[_0x42c4fc]);return console[_0x2aa4(0x2f)](_0x2aa4(0x66),{'AppName':_0x5ba7b6,'buttonType':buttonType,'buttonWidth':buttonWidth,'buttonHeight':buttonHeight,'hasStroke':hasStroke,'enabled':enabled,'buttonForm':buttonForm,'onResolved':_0x595287,'onRejection':_0x42c4fc,'preCheck':_0x512e17,'color':color,'swerv':swerv,'darkMode':darkMode,'returnLink':_0x42dde4,'preferredPlatform':_0x28c87b,'autoFetch':autoFetch,'inferenceData':_0x116e13,'textLayout':textLayout,'textColor':textColor,'proofMode':proofMode,'webpageName':_0x33c822,'debug':debug,'testMode':testMode,'requestData':_0x454ff6,'onPress':_0x1a3c63,'primaryAuthOnly':primaryAuthOnly,'useNewWelcomeFlow':useNewWelcomeFlow}),React[_0x2aa4(0x67)](React[_0x2aa4(0x68)],null,React['createElement'](View,null,React['createElement'](TouchableOpacity,{'style':[styles[_0x2aa4(0x69)],_0x3a8dc3['jTUYI'](buttonType,_0x3a8dc3[_0x2aa4(0x6a)])&&styles[_0x2aa4(0x6b)],hasStroke&&styles[_0x2aa4(0x6c)],{'width':buttonWidth,'height':buttonHeight},swerv&&styles[_0x2aa4(0x6d)],!enabled&&styles[_0x2aa4(0x6e)]],'onPress':_0x1af51b,'disabled':!enabled||_0x481f51,'onPressIn':()=>_0x508553(!![]),'onPressOut':()=>_0x508553(![])},React[_0x2aa4(0x67)](_0x3a2246,{'colors':[_0x2aa4(0x6f),_0x3a8dc3['MxQSe'],_0x3a8dc3[_0x2aa4(0x70)]],'start':{'x':0x0,'y':0x0},'end':{'x':0x1,'y':0x0},'style':{'position':_0x2aa4(0x71),'left':0x0,'right':0x0,'top':0x0,'bottom':0x0,'borderRadius':_0x3a8dc3[_0x2aa4(0x72)](buttonType,_0x3a8dc3[_0x2aa4(0x6a)])?0x18:0x8}}),_0x481f51?React[_0x2aa4(0x67)](ActivityIndicator,{'size':'small','color':_0x3a8dc3[_0x2aa4(0x73)]}):React['createElement'](View,{'style':styles['buttonContent']},React[_0x2aa4(0x67)](View,{'style':styles[_0x2aa4(0x74)]},React[_0x2aa4(0x67)](Image,{'source':BRAND_IMAGES[_0x2aa4(0x75)],'style':styles[_0x2aa4(0x76)],'resizeMode':_0x3a8dc3[_0x2aa4(0x77)]})),React[_0x2aa4(0x67)](Text,{'style':[styles['buttonText'],{'color':_0x3a8dc3['zlXCy']}]},_0x3a8dc3[_0x2aa4(0x60)](_0x202a74))))),useNewWelcomeFlow?React[_0x2aa4(0x67)](_0x1b0c13,{'visible':_0x2762e9,'onClose':_0x1e4eaf,'onComplete':_0x590b5b}):React[_0x2aa4(0x67)](UniversalOnboarding,{'visible':_0x2762e9,'onClose':_0x1e4eaf,'AppName':_0x5ba7b6,'requestData':_0x3a8dc3['kBFJN'](_0x454ff6,{'Small':{'type':_0x3a8dc3[_0x2aa4(0x78)],'descriptions':_0x3a8dc3[_0x2aa4(0x79)],'reward':_0x3a8dc3[_0x2aa4(0x7a)]},'Medium':{'type':_0x3a8dc3['teMzw'],'descriptions':_0x3a8dc3[_0x2aa4(0x7b)],'reward':_0x3a8dc3['LbJsK']},'Large':{'type':_0x3a8dc3['ddXUZ'],'descriptions':_0x3a8dc3[_0x2aa4(0x7c)],'reward':_0x3a8dc3[_0x2aa4(0x7d)]}}),'returnLink':_0x42dde4||_0x2aa4(0x7e),'onComplete':_0x590b5b,'debug':debug,'test':testMode,'preferredPlatform':_0x28c87b,'primaryAuthOnly':primaryAuthOnly}));});const styles=StyleSheet[_0x2aa4(0x7f)]({'button':{'flexDirection':_0x2aa4(0x80),'alignItems':_0x2aa4(0x81),'justifyContent':_0x2aa4(0x81),'paddingVertical':0xc,'paddingHorizontal':0x10,'borderRadius':0x8,'shadowColor':_0x2aa4(0x82),'shadowOffset':{'width':0x0,'height':0x2},'shadowOpacity':0.2,'shadowRadius':0x4,'elevation':0x3,'overflow':_0x2aa4(0x83)},'buttonContent':{'flexDirection':_0x2aa4(0x80),'alignItems':_0x2aa4(0x81),'justifyContent':_0x2aa4(0x81)},'logoContainer':{'width':0x18,'height':0x18,'alignItems':_0x2aa4(0x81),'justifyContent':_0x2aa4(0x81),'marginRight':0x4},'logoText':{'color':_0x2aa4(0x1e),'fontWeight':_0x2aa4(0x84),'fontSize':0xe},'logoImage':{'width':0x14,'height':0x14},'pillButton':{'borderRadius':0x18},'strokedButton':{'backgroundColor':_0x2aa4(0x85),'borderWidth':0x1},'swervButton':{'transform':[{'rotate':_0x2aa4(0x86)}]},'disabledButton':{'opacity':0.6},'buttonText':{'fontSize':0x10,'fontWeight':_0x2aa4(0x87),'textAlign':_0x2aa4(0x81)}});function _0x18ea(){const _0x23b99c=['window','default','#1BA9D4','right','black','rtvmE','[OnairosButton]\x20LogEffect:\x20showOnboarding\x20state\x20changed\x20to:','mKZxs','[OnairosButton]\x20Precheck\x20failed.\x20Setting\x20showOnboarding\x20to\x20false\x20(indirectly,\x20by\x20not\x20setting\x20to\x20true).','Precheck\x20validation\x20failed','[OnairosButton]\x20SDK\x20initialized\x20with\x20API\x20key:','connect','Connect\x20Onairos','login','Sign\x20in\x20with\x20Onairos','signup','Sign\x20up\x20with\x20Onairos','[OnairosButton]\x20handlePress\x20called.','cHtNv','QzEas','IYRXT','SDK\x20Not\x20Initialized','DlItw','[OnairosButton]\x20handlePress:\x20Setting\x20showOnboarding\x20to\x20true.','sSmgl','[OnairosButton]\x20Error\x20in\x20handlePress:','Unknown\x20error','XMmbw','[OnairosButton]\x20Initializing.\x20Initial\x20showOnboarding:','pill','#C7A047','#8B6914','#FFFFFF','Basic\x20tier','Free\x20access','Medium','Standard\x20tier','Premium\x20features','Large','Full\x20personalization','zGBKd','uEOVU','qSgYZ','TnfKP','zMesa','GhIhR','dpUtO','log','YyuUJ','cLSLC','resolve','DzXfk','kkRzn','AmZAl','wfqve','GMbSE','pVMkE','kWejh','MjvzP','zTEBf','error','wNhdF','DlLGD','IlllL','yPhnI','YUlMU','alert','hyxss','lQcsD','oUMuv','JunsX','XyghI','substring','LZmEo','exmBo','IMdYV','ujvgq','OJZCS','NrNxJ','yxJKY','nIiRb','apiKey','BoDAA','UleCJ','twQzX','qmeNI','HQiMh','FmdxI','qMZJU','yYNSR','NoHqY','mVCen','rXKEV','HGaAJ','JIxeK','WBSvN','vRMmC','[OnairosButton]\x20handleOnboardingClose:\x20Setting\x20showOnboarding\x20to\x20false.','OmQXU','ZiJio','❌\x20[OnairosButton]\x20SDK\x20NOT\x20INITIALIZED:','RsHVe','[OnairosButton]\x20Rendering\x20JSX\x20with\x20props:','createElement','Fragment','button','UjMct','pillButton','strokedButton','swervButton','disabledButton','#f5e7c1','Wlmba','absolute','jTUYI','zlXCy','logoContainer','onairosLogoAlt','logoImage','rTWio','KNDiH','orZDH','QdJch','IZlJT','KONcY','gooYh','onairosevents://auth/callback','create','row','center','#000','hidden','bold','transparent','-2deg','600'];_0x18ea=function(){return _0x23b99c;};return _0x18ea();}export default OnairosButton;
1
+ import React,{useState,useCallback,forwardRef,useImperativeHandle,useEffect}from'react';import{TouchableOpacity,Text,StyleSheet,View,ActivityIndicator,Dimensions,Image,Alert}from'react-native';import _0x333c46 from'react-native-linear-gradient';import{UniversalOnboarding}from'./UniversalOnboarding';import _0x56e80c from'./WelcomeScreen';import{isApiKeyInitialized,getApiConfig}from'../services/apiKeyService';import{BRAND_IMAGES}from'../utils/assetRegistry';function _0x502f(){const _0x3c9ba9=['window','normal','right','black','IJPrj','qLLLA','[OnairosButton]\x20handlePress\x20called.','CQWYr','SDK\x20Not\x20Initialized','haQDO','[OnairosButton]\x20SDK\x20initialized\x20with\x20API\x20key:','...','nNATU','DrLXE','[OnairosButton]\x20Error\x20in\x20handlePress:','Unknown\x20error','Connect\x20Onairos','login','signup','Sign\x20up\x20with\x20Onairos','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','dxMSU','lKhEr','User\x20closed\x20onboarding','[OnairosButton]\x20Rendering\x20JSX\x20with\x20props:','pill','#f5e7c1','#C7A047','absolute','small','#FFFFFF','Small','Basic\x20tier','Free\x20access','Medium','Standard\x20tier','Full\x20personalization','onairosevents://auth/callback','MluRn','log','[OnairosButton]\x20Initializing.\x20Initial\x20showOnboarding:','laudH','YfBNT','xytqJ','[OnairosButton]\x20handleOnboardingClose:\x20Setting\x20showOnboarding\x20to\x20false.','OBiGT','pKAau','OWIgL','sPSSQ','resolve','jmtkp','btQmh','gDwdh','hVyZi','AVhxz','xCvOT','DKIqX','xsVQu','error','ZPObb','alert','The\x20Onairos\x20SDK\x20requires\x20initialization\x20with\x20a\x20valid\x20API\x20key.\x0a\x0aDevelopers:\x20Please\x20call\x20initializeApiKey()\x20before\x20using\x20OnairosButton.','bpdLL','cEhRJ','CztIL','DlLUJ','uqZUi','apiKey','substring','iqDXt','vjeto','LQLQw','Precheck\x20validation\x20failed','IpfxJ','PoIVi','BNkWT','NDNYv','iQhOu','GXETN','kBxKx','xaTLm','message','JhEPa','YOaKC','QuHLj','MenWa','szGhw','kwNzI','aOxDc','connect','kJRZI','yNyxr','wnDQC','urtFz','JZOPS','tqYsa','zYPsc','gaHXs','Rybhh','tPRit','oKEZy','Pkxui','Ywjus','cUQtU','UWoHe','QarQb','OeRcg','RZDxx','createElement','button','pillButton','disabledButton','vwdza','ZDdYY','BQzfR','DvUwm','poSbo','buttonContent','onairosLogoAlt','logoImage','LZWAk','buttonText','NTMij','fErzs','XKmYE','cRFRX','lwghr','Large','Premium\x20tier','dNLAY','ZQXDN','wCcib','create','row','center','#000','hidden','bold','transparent'];_0x502f=function(){return _0x3c9ba9;};return _0x502f();}function _0x232e(_0x502fd6,_0x232ec0){_0x502fd6=_0x502fd6-0x0;const _0x3c2dd7=_0x502f();let _0x477321=_0x3c2dd7[_0x502fd6];return _0x477321;}const {width}=Dimensions['get'](_0x232e(0x0));export const OnairosButton=forwardRef(({AppName:_0x50f046,buttonType:buttonType=_0x232e(0x1),buttonWidth:buttonWidth=0xb4,buttonHeight:buttonHeight=0x30,hasStroke:hasStroke=![],enabled:enabled=!![],buttonForm:buttonForm='default',onResolved:_0x21f7ce,onRejection:_0x15332e,preCheck:_0x59e43d,color:color='#1BA9D4',swerv:swerv=![],darkMode:darkMode=![],returnLink:_0xed3f6c,preferredPlatform:_0x57ab7e,autoFetch:autoFetch=![],inferenceData:_0x5c13a1,textLayout:textLayout=_0x232e(0x2),textColor:textColor=_0x232e(0x3),proofMode:proofMode=![],webpageName:_0x259833,debug:debug=![],testMode:testMode=![],requestData:_0x559879,onPress:_0x5b605b,primaryAuthOnly:primaryAuthOnly=![],useNewWelcomeFlow:useNewWelcomeFlow=![]},_0x1b01f5)=>{const _0x2de671={'yLTqD':'[OnairosButton]\x20LogEffect:\x20showOnboarding\x20state\x20changed\x20to:','laudH':function(_0x1d21d9,_0xebaf70){return _0x1d21d9(_0xebaf70);},'YfBNT':function(_0x2157e9,_0x1558a8){return _0x2157e9!==_0x1558a8;},'xytqJ':_0x232e(0x4),'xsVQu':function(_0x19493d){return _0x19493d();},'Ethkb':function(_0x20a414,_0x568c9b){return _0x20a414!==_0x568c9b;},'OWIgL':_0x232e(0x5),'jmtkp':function(_0x5704a3,_0x269adc,_0x2cd276){return _0x5704a3(_0x269adc,_0x2cd276);},'btQmh':function(_0x53ca63,_0xdcc6a6){return _0x53ca63===_0xdcc6a6;},'gDwdh':_0x232e(0x6),'hVyZi':function(_0x1f17c3,_0x1b7ccf){return _0x1f17c3||_0x1b7ccf;},'AVhxz':function(_0x175149,_0x4ee488){return _0x175149(_0x4ee488);},'xCvOT':function(_0x5ad0d8,_0x1fb440){return _0x5ad0d8===_0x1fb440;},'DKIqX':_0x232e(0x7),'ZPObb':'❌\x20[OnairosButton]\x20SDK\x20NOT\x20INITIALIZED:','UWoHe':_0x232e(0x8),'bpdLL':function(_0x5d998c){return _0x5d998c();},'jCnUi':_0x232e(0x9),'Jaocu':_0x232e(0xa),'CztIL':function(_0x5152c5,_0x468b23){return _0x5152c5+_0x468b23;},'DlLUJ':function(_0x530374,_0x51ab88){return _0x530374===_0x51ab88;},'uqZUi':function(_0x346c15,_0x1e1fca){return _0x346c15===_0x1e1fca;},'iqDXt':_0x232e(0xb),'vjeto':_0x232e(0xc),'LQLQw':'[OnairosButton]\x20Precheck\x20failed.\x20Setting\x20showOnboarding\x20to\x20false\x20(indirectly,\x20by\x20not\x20setting\x20to\x20true).','PoIVi':'[OnairosButton]\x20handlePress:\x20Setting\x20showOnboarding\x20to\x20true.','NDNYv':function(_0x5f2f47,_0x64d1fd){return _0x5f2f47!==_0x64d1fd;},'iQhOu':_0x232e(0xd),'QuHLj':_0x232e(0xe),'MenWa':function(_0x592d92,_0x2ad552){return _0x592d92===_0x2ad552;},'szGhw':function(_0x5a2799,_0x2a4b1b){return _0x5a2799(_0x2a4b1b);},'kwNzI':function(_0x409cab,_0x518bdd){return _0x409cab instanceof _0x518bdd;},'aOxDc':_0x232e(0xf),'kJRZI':_0x232e(0x10),'yNyxr':_0x232e(0x11),'wnDQC':'Sign\x20in\x20with\x20Onairos','urtFz':_0x232e(0x12),'JZOPS':_0x232e(0x13),'NWhmh':_0x232e(0x14),'MluRn':function(_0x2fa095,_0x49c57c){return _0x2fa095(_0x49c57c);},'tqYsa':function(_0x5757a9,_0x154e2c){return _0x5757a9+_0x154e2c;},'zYPsc':'[OnairosButton]\x20handleOnboardingComplete:\x20Setting\x20showOnboarding\x20to\x20false.','gaHXs':_0x232e(0x15),'Ywjus':_0x232e(0x16),'cUQtU':function(_0x5b7e18){return _0x5b7e18();},'uZUZK':'[OnairosButton]\x20handleOnboardingClose:\x20Setting\x20showOnboarding\x20to\x20false.','OeRcg':_0x232e(0x17),'QarQb':function(_0x4ca601,_0x2dfcbd,_0xe8b1e5){return _0x4ca601(_0x2dfcbd,_0xe8b1e5);},'RZDxx':_0x232e(0x18),'DvUwm':_0x232e(0x19),'vwdza':_0x232e(0x1a),'ZDdYY':_0x232e(0x1b),'ChNna':'#8B6914','BQzfR':_0x232e(0x1c),'poSbo':_0x232e(0x1d),'LZWAk':'contain','NTMij':_0x232e(0x1e),'fErzs':function(_0x46742f){return _0x46742f();},'XKmYE':_0x232e(0x1f),'cRFRX':_0x232e(0x20),'pNHXY':_0x232e(0x21),'lwghr':_0x232e(0x22),'OVNJf':_0x232e(0x23),'zdtDa':'Premium\x20features','dNLAY':_0x232e(0x24),'ZQXDN':function(_0x58aa38,_0x9872eb){return _0x58aa38||_0x9872eb;},'wCcib':_0x232e(0x25)},[_0x15843c,_0x214a47]=useState(![]),[_0x315a9a,_0x5f2b9d]=_0x2de671[_0x232e(0x26)](useState,![]),[_0x3e5f38,_0x35534e]=useState(![]);console[_0x232e(0x27)](_0x232e(0x28),_0x3e5f38),useEffect(()=>{console[_0x232e(0x27)](_0x2de671['yLTqD'],_0x3e5f38);},[_0x3e5f38]),useImperativeHandle(_0x1b01f5,()=>({'trigger':async()=>{const _0x28e03b={'OBiGT':function(_0x34d799,_0x13999b){return _0x2de671[_0x232e(0x29)](_0x34d799,_0x13999b);},'pKAau':_0x232e(0x17)};if(_0x2de671[_0x232e(0x2a)](_0x2de671[_0x232e(0x2b)],_0x232e(0x4)))_0x1c36c7[_0x232e(0x27)](_0x232e(0x2c)),_0xc6600c(![]),_0x4acf86&&_0x28e03b[_0x232e(0x2d)](_0x4dd4ef,_0x28e03b[_0x232e(0x2e)]);else return await _0x2de671['xsVQu'](_0x951d5c),Promise['resolve']();},'reset':async()=>{const _0x805306={'sPSSQ':function(_0x34a8f0){return _0x2de671['xsVQu'](_0x34a8f0);}};if(_0x2de671['Ethkb'](_0x2de671[_0x232e(0x2f)],_0x2de671[_0x232e(0x2f)]))_0x805306[_0x232e(0x30)](_0x14d927);else return Promise[_0x232e(0x31)]();}}));const _0x951d5c=async()=>{const _0x1ebfe0={'IpfxJ':function(_0x547e85,_0x5604d9,_0x55f2cd){return _0x2de671[_0x232e(0x32)](_0x547e85,_0x5604d9,_0x55f2cd);},'BNkWT':function(_0x309b2b,_0x279075){return _0x2de671[_0x232e(0x29)](_0x309b2b,_0x279075);},'GXETN':_0x232e(0xe),'kBxKx':function(_0x406cc4,_0x3ffd42){return _0x2de671[_0x232e(0x33)](_0x406cc4,_0x3ffd42);},'xaTLm':function(_0x3ebf0e,_0xea3920){return _0x2de671[_0x232e(0x29)](_0x3ebf0e,_0xea3920);},'JhEPa':_0x232e(0xf),'YOaKC':function(_0xa3b113,_0x3ab37f){return _0xa3b113(_0x3ab37f);}};console['log'](_0x2de671[_0x232e(0x34)]);if(_0x2de671[_0x232e(0x35)](!enabled,_0x15843c))return;_0x2de671[_0x232e(0x36)](_0x214a47,!![]);try{if(_0x2de671[_0x232e(0x37)](_0x2de671['DKIqX'],_0x2de671[_0x232e(0x38)])){if(!_0x2de671[_0x232e(0x39)](isApiKeyInitialized)){const _0x133d7e=_0x232e(0x14);console[_0x232e(0x3a)](_0x2de671[_0x232e(0x3b)],_0x133d7e);_0x15332e?_0x15332e(_0x133d7e):Alert[_0x232e(0x3c)](_0x2de671['UWoHe'],_0x232e(0x3d),[{'text':'OK'}]);_0x214a47(![]);return;}const _0x3d9db6=_0x2de671[_0x232e(0x3e)](getApiConfig);if(debug){if(_0x2de671['jCnUi']===_0x232e(0x3f))return _0x595bce[_0x232e(0x31)]();else{var _0x723da0;console[_0x232e(0x27)](_0x2de671['Jaocu'],_0x2de671[_0x232e(0x40)](_0x2de671[_0x232e(0x41)](_0x3d9db6,null)||_0x2de671['xCvOT'](_0x3d9db6,void 0x0)||_0x2de671[_0x232e(0x42)](_0x723da0=_0x3d9db6[_0x232e(0x43)],null)||_0x723da0===void 0x0?void 0x0:_0x723da0[_0x232e(0x44)](0x0,0x8),_0x2de671[_0x232e(0x45)]));}}if(_0x59e43d){const _0x29c75f=await _0x2de671['xsVQu'](_0x59e43d);if(!_0x29c75f){if(_0x2de671[_0x232e(0x46)]===_0x2de671[_0x232e(0x46)]){console[_0x232e(0x27)](_0x2de671[_0x232e(0x47)]),_0x2de671[_0x232e(0x41)](_0x15332e,null)||_0x2de671[_0x232e(0x41)](_0x15332e,void 0x0)||_0x2de671[_0x232e(0x29)](_0x15332e,_0x232e(0x48)),_0x2de671[_0x232e(0x36)](_0x214a47,![]);return;}else _0x1ebfe0[_0x232e(0x49)](_0x2099d7,_0xfb046d,_0xe94a30);}}console[_0x232e(0x27)](_0x2de671[_0x232e(0x4a)]),_0x2de671[_0x232e(0x29)](_0x35534e,!![]),_0x2de671[_0x232e(0x36)](_0x214a47,![]);}else _0x1ebfe0[_0x232e(0x4b)](_0x3a0ff3,_0x56512b);}catch(_0x57bb97){_0x2de671[_0x232e(0x4c)](_0x2de671[_0x232e(0x4d)],_0x232e(0xd))?(_0x576b97[_0x232e(0x3a)](_0x1ebfe0[_0x232e(0x4e)],_0x564307),_0x1ebfe0[_0x232e(0x4f)](_0x548171,null)||_0x1ebfe0[_0x232e(0x4f)](_0x6f61e7,void 0x0)||_0x1ebfe0[_0x232e(0x50)](_0x22842f,_0x57a9b1 instanceof _0x328f1c?_0x3c2fb0[_0x232e(0x51)]:_0x1ebfe0[_0x232e(0x52)]),_0x1ebfe0[_0x232e(0x53)](_0x3dcdeb,![])):(console[_0x232e(0x3a)](_0x2de671[_0x232e(0x54)],_0x57bb97),_0x15332e===null||_0x2de671[_0x232e(0x55)](_0x15332e,void 0x0)||_0x2de671[_0x232e(0x56)](_0x15332e,_0x2de671[_0x232e(0x57)](_0x57bb97,Error)?_0x57bb97['message']:_0x2de671[_0x232e(0x58)]),_0x214a47(![]));}},_0x49f816=()=>{switch(buttonForm){case _0x232e(0x59):return _0x2de671[_0x232e(0x5a)];case _0x2de671[_0x232e(0x5b)]:return _0x2de671[_0x232e(0x5c)];case _0x2de671[_0x232e(0x5d)]:return _0x2de671[_0x232e(0x5e)];default:return _0x232e(0x10);}},_0x47fe3d=_0x2de671[_0x232e(0x32)](useCallback,(_0x19a706,_0x42402d)=>{const _0x20d622={'Rybhh':function(_0x57824f,_0x4b8ca3){return _0x2de671[_0x232e(0x5f)](_0x57824f,_0x4b8ca3);},'tPRit':function(_0x35e727,_0x32dc9e){return _0x2de671[_0x232e(0x33)](_0x35e727,_0x32dc9e);},'oKEZy':function(_0x151bee,_0x241c8b){return _0x151bee===_0x241c8b;},'Pkxui':_0x232e(0xb)};console[_0x232e(0x27)](_0x2de671[_0x232e(0x60)]),_0x2de671[_0x232e(0x36)](_0x35534e,![]);if(_0x21f7ce){if(_0x2de671[_0x232e(0x4c)](_0x2de671[_0x232e(0x61)],_0x2de671[_0x232e(0x61)])){var _0x32d677;_0x3ab8a1[_0x232e(0x27)]('[OnairosButton]\x20SDK\x20initialized\x20with\x20API\x20key:',_0x20d622[_0x232e(0x62)](_0x20d622[_0x232e(0x63)](_0x5d2c8d,null)||_0x20d622[_0x232e(0x63)](_0x1cb5fa,void 0x0)||_0x20d622[_0x232e(0x64)](_0x32d677=_0x35a85c[_0x232e(0x43)],null)||_0x32d677===void 0x0?void 0x0:_0x32d677[_0x232e(0x44)](0x0,0x8),_0x20d622[_0x232e(0x65)]));}else _0x2de671[_0x232e(0x32)](_0x21f7ce,_0x19a706,_0x42402d);}if(_0x5b605b){if(_0x2de671[_0x232e(0x55)](_0x2de671[_0x232e(0x66)],_0x232e(0x16)))_0x2de671[_0x232e(0x67)](_0x5b605b);else{const _0x48a15b=_0x2de671['NWhmh'];_0x425966[_0x232e(0x3a)](_0x2de671[_0x232e(0x3b)],_0x48a15b);_0x295316?_0x2de671[_0x232e(0x26)](_0x51b724,_0x48a15b):Alert[_0x232e(0x3c)](_0x2de671[_0x232e(0x68)],'The\x20Onairos\x20SDK\x20requires\x20initialization\x20with\x20a\x20valid\x20API\x20key.\x0a\x0aDevelopers:\x20Please\x20call\x20initializeApiKey()\x20before\x20using\x20OnairosButton.',[{'text':'OK'}]);_0x37d308(![]);return;}}},[_0x21f7ce,_0x5b605b]),_0xf715d4=_0x2de671[_0x232e(0x69)](useCallback,()=>{console[_0x232e(0x27)](_0x2de671['uZUZK']),_0x35534e(![]),_0x15332e&&_0x2de671[_0x232e(0x29)](_0x15332e,_0x2de671[_0x232e(0x6a)]);},[_0x15332e]);return console[_0x232e(0x27)](_0x2de671[_0x232e(0x6b)],{'AppName':_0x50f046,'buttonType':buttonType,'buttonWidth':buttonWidth,'buttonHeight':buttonHeight,'hasStroke':hasStroke,'enabled':enabled,'buttonForm':buttonForm,'onResolved':_0x21f7ce,'onRejection':_0x15332e,'preCheck':_0x59e43d,'color':color,'swerv':swerv,'darkMode':darkMode,'returnLink':_0xed3f6c,'preferredPlatform':_0x57ab7e,'autoFetch':autoFetch,'inferenceData':_0x5c13a1,'textLayout':textLayout,'textColor':textColor,'proofMode':proofMode,'webpageName':_0x259833,'debug':debug,'testMode':testMode,'requestData':_0x559879,'onPress':_0x5b605b,'primaryAuthOnly':primaryAuthOnly,'useNewWelcomeFlow':useNewWelcomeFlow}),React['createElement'](React['Fragment'],null,React['createElement'](View,null,React[_0x232e(0x6c)](TouchableOpacity,{'style':[styles[_0x232e(0x6d)],buttonType===_0x2de671['DvUwm']&&styles[_0x232e(0x6e)],hasStroke&&styles['strokedButton'],{'width':buttonWidth,'height':buttonHeight},swerv&&styles['swervButton'],!enabled&&styles[_0x232e(0x6f)]],'onPress':_0x951d5c,'disabled':!enabled||_0x15843c,'onPressIn':()=>_0x5f2b9d(!![]),'onPressOut':()=>_0x5f2b9d(![])},React[_0x232e(0x6c)](_0x333c46,{'colors':[_0x2de671[_0x232e(0x70)],_0x2de671[_0x232e(0x71)],_0x2de671['ChNna']],'start':{'x':0x0,'y':0x0},'end':{'x':0x1,'y':0x0},'style':{'position':_0x2de671[_0x232e(0x72)],'left':0x0,'right':0x0,'top':0x0,'bottom':0x0,'borderRadius':_0x2de671[_0x232e(0x41)](buttonType,_0x2de671[_0x232e(0x73)])?0x18:0x8}}),_0x15843c?React['createElement'](ActivityIndicator,{'size':_0x2de671[_0x232e(0x74)],'color':_0x232e(0x1e)}):React[_0x232e(0x6c)](View,{'style':styles[_0x232e(0x75)]},React[_0x232e(0x6c)](View,{'style':styles['logoContainer']},React[_0x232e(0x6c)](Image,{'source':BRAND_IMAGES[_0x232e(0x76)],'style':styles[_0x232e(0x77)],'resizeMode':_0x2de671[_0x232e(0x78)]})),React[_0x232e(0x6c)](Text,{'style':[styles[_0x232e(0x79)],{'color':_0x2de671[_0x232e(0x7a)]}]},_0x2de671[_0x232e(0x7b)](_0x49f816))))),useNewWelcomeFlow?React[_0x232e(0x6c)](_0x56e80c,{'visible':_0x3e5f38,'onClose':_0xf715d4,'onComplete':_0x47fe3d}):React[_0x232e(0x6c)](UniversalOnboarding,{'visible':_0x3e5f38,'onClose':_0xf715d4,'AppName':_0x50f046,'requestData':_0x559879||{'Small':{'type':_0x2de671[_0x232e(0x7c)],'descriptions':_0x2de671[_0x232e(0x7d)],'reward':_0x2de671['pNHXY']},'Medium':{'type':_0x2de671[_0x232e(0x7e)],'descriptions':_0x2de671['OVNJf'],'reward':_0x2de671['zdtDa']},'Large':{'type':_0x232e(0x7f),'descriptions':_0x232e(0x80),'reward':_0x2de671[_0x232e(0x81)]}},'returnLink':_0x2de671[_0x232e(0x82)](_0xed3f6c,_0x2de671[_0x232e(0x83)]),'onComplete':_0x47fe3d,'debug':debug,'test':testMode,'preferredPlatform':_0x57ab7e,'primaryAuthOnly':primaryAuthOnly}));});const styles=StyleSheet[_0x232e(0x84)]({'button':{'flexDirection':_0x232e(0x85),'alignItems':'center','justifyContent':_0x232e(0x86),'paddingVertical':0xc,'paddingHorizontal':0x10,'borderRadius':0x8,'shadowColor':_0x232e(0x87),'shadowOffset':{'width':0x0,'height':0x2},'shadowOpacity':0.2,'shadowRadius':0x4,'elevation':0x3,'overflow':_0x232e(0x88)},'buttonContent':{'flexDirection':_0x232e(0x85),'alignItems':'center','justifyContent':_0x232e(0x86)},'logoContainer':{'width':0x18,'height':0x18,'alignItems':_0x232e(0x86),'justifyContent':_0x232e(0x86),'marginRight':0x4},'logoText':{'color':'#C7A047','fontWeight':_0x232e(0x89),'fontSize':0xe},'logoImage':{'width':0x14,'height':0x14},'pillButton':{'borderRadius':0x18},'strokedButton':{'backgroundColor':_0x232e(0x8a),'borderWidth':0x1},'swervButton':{'transform':[{'rotate':'-2deg'}]},'disabledButton':{'opacity':0.6},'buttonText':{'fontSize':0x10,'fontWeight':'600','textAlign':'center'}});export default OnairosButton;
@@ -1 +1 @@
1
- import React,{useState,useCallback}from'react';import{TouchableOpacity,Text,StyleSheet,View,Image}from'react-native';import AsyncStorage from'@react-native-async-storage/async-storage';import _0x3b50ee from'./WelcomeScreen';function _0x1a65(_0x29723b,_0x1a65d5){_0x29723b=_0x29723b-0x0;const _0x5594e2=_0x2972();let _0x1892e5=_0x5594e2[_0x29723b];return _0x1892e5;}import{triggerHaptic,HapticType}from'../utils/haptics';import{BRAND_IMAGES}from'../utils/assetRegistry';function _0x2972(){const _0x367fec=['#D4A536','#000','🔑\x20OnairosSignInButton:\x20Returning\x20JWT\x20token\x20with\x20email:','🔑\x20Received\x20JWT\x20token\x20from\x20WelcomeScreen,\x20completing\x20sign-in','user_email','🔑\x20Received\x20placeholder\x20token\x20from\x20WelcomeScreen,\x20completing\x20sign-in','🔑\x20OnairosSignInButton:\x20Returning\x20token\x20with\x20email:','TvaOW','YEBqd','User\x20closed\x20welcome\x20screen','YFXSP','🔘\x20showWelcomeScreen\x20state\x20set\x20to\x20true','contain','Onairos\x20logo','kzeTx','🔘\x20OnairosSignInButton\x20pressed,\x20showing\x20WelcomeScreen','bgMDS','mvuwC','uSGxA','ZcqAd','log','fDWuj','sTzCA','length','nPHCX','zBlmM','WAoyn','HBQHk','BUTTON_PRESS','fRPod','getItem','zVqGA','then','DqpbX','iALQy','utofP','AUvpS','Ciwwt','EtaCu','xtvst','QBevu','GjUud','rIsXi','psDax','XGtLb','DPwui','zyubZ','meQlu','kASFA','plpHt','createElement','container','button','xUngD','oiiYk','xLQBd','HfPVJ','dKWag','contentRow','onairosLogoAlt','logo','FxKLP','tYgOo','buttonText','Sign\x20in\x20with\x20Onairos','create','center','600'];_0x2972=function(){return _0x367fec;};return _0x2972();}export const OnairosSignInButton=({AppName:_0xc38d65,buttonWidth:buttonWidth=0x118,buttonHeight:buttonHeight=0x2c,color:color=_0x1a65(0x0),textColor:textColor=_0x1a65(0x1),onResolved:_0x183fb3,onRejection:_0x5e5d7d,autoFocusEmailInput:autoFocusEmailInput=!![]})=>{const _0x25aa78={'bgMDS':function(_0x39a6e3,_0x3c0951){return _0x39a6e3(_0x3c0951);},'TiKoi':function(_0x43872a,_0x30a95e){return _0x43872a===_0x30a95e;},'mvuwC':'HMlrX','rakOV':'ffPqa','EtaCu':function(_0x232992,_0x157618){return _0x232992||_0x157618;},'uSGxA':_0x1a65(0x2),'ZcqAd':function(_0x3b16c9,_0x443891,_0x25fd4a){return _0x3b16c9(_0x443891,_0x25fd4a);},'fDWuj':'🔍\x20OnairosSignInButton:\x20handleWelcomeComplete\x20called\x20with:','sTzCA':function(_0x8566f4,_0x33cb2f){return _0x8566f4===_0x33cb2f;},'kzeTx':function(_0x1c9d29,_0x26e9ad){return _0x1c9d29(_0x26e9ad);},'nPHCX':function(_0x3b4532,_0xf5d5be){return _0x3b4532!==_0xf5d5be;},'zBlmM':'DVPfG','fRPod':_0x1a65(0x3),'zVqGA':_0x1a65(0x4),'Ciwwt':_0x1a65(0x5),'xtvst':_0x1a65(0x6),'QBevu':function(_0x51e41b,_0xd44f8a,_0x1809e7){return _0x51e41b(_0xd44f8a,_0x1809e7);},'rIsXi':function(_0x3edde6,_0x10191c){return _0x3edde6||_0x10191c;},'psDax':function(_0x13b2fa,_0x356b02){return _0x13b2fa(_0x356b02);},'XGtLb':_0x1a65(0x7),'DPwui':_0x1a65(0x8),'zyubZ':function(_0x3991ff,_0x30663a){return _0x3991ff(_0x30663a);},'meQlu':_0x1a65(0x9),'xUngD':function(_0x2be728,_0x11c40f){return _0x2be728(_0x11c40f);},'xLQBd':_0x1a65(0xa),'tddSa':function(_0x273108,_0x341380){return _0x273108(_0x341380);},'AOrVZ':function(_0x248441,_0x5b17f5){return _0x248441(_0x5b17f5);},'dKWag':_0x1a65(0xb),'GjUud':function(_0x2c3bc2,_0xd08a1d,_0x116d79){return _0x2c3bc2(_0xd08a1d,_0x116d79);},'FxKLP':_0x1a65(0xc),'tYgOo':_0x1a65(0xd)},[_0x3d52a0,_0x4e35f1]=_0x25aa78[_0x1a65(0xe)](useState,![]),[_0x306355,_0x199c4a]=useState(''),_0x40c30a=_0x25aa78['ZcqAd'](useCallback,(_0x203b5f,_0x25ee3b)=>{const _0x4613b3={'WAoyn':_0x1a65(0xf),'HBQHk':function(_0x391d16,_0xd623b8){return _0x25aa78[_0x1a65(0x10)](_0x391d16,_0xd623b8);},'eyIMv':_0x1a65(0xb),'DqpbX':function(_0x17adb4,_0x4bc4d8){return _0x25aa78['TiKoi'](_0x17adb4,_0x4bc4d8);},'qNNul':_0x25aa78[_0x1a65(0x11)],'iALQy':_0x25aa78['rakOV'],'utofP':function(_0x3fe21a,_0x1ad991){return _0x25aa78['EtaCu'](_0x3fe21a,_0x1ad991);},'AUvpS':_0x25aa78[_0x1a65(0x12)],'MLocN':function(_0x479817,_0x28ebcc,_0x3fb958){return _0x25aa78[_0x1a65(0x13)](_0x479817,_0x28ebcc,_0x3fb958);}};console[_0x1a65(0x14)](_0x25aa78[_0x1a65(0x15)],{'token':_0x203b5f,'email':_0x25ee3b});const _0x4c8e12=_0x203b5f&&_0x203b5f['includes']('.')&&_0x25aa78[_0x1a65(0x16)](_0x203b5f['split']('.')[_0x1a65(0x17)],0x3);console[_0x1a65(0x14)]('🔍\x20OnairosSignInButton:\x20Is\x20JWT\x20token?',_0x4c8e12),_0x25aa78[_0x1a65(0xe)](_0x4e35f1,![]);if(_0x183fb3){if(_0x4c8e12)_0x25aa78[_0x1a65(0x18)](_0x25aa78['zBlmM'],_0x25aa78[_0x1a65(0x19)])?(_0x4fe5bf[_0x1a65(0x14)](_0x4613b3[_0x1a65(0x1a)]),_0x4613b3[_0x1a65(0x1b)](_0x4d389e,_0x4e741[_0x1a65(0x1c)]),_0x197e1e(!![]),_0x465d05['log'](_0x4613b3['eyIMv'])):(console[_0x1a65(0x14)](_0x25aa78[_0x1a65(0x1d)]),AsyncStorage[_0x1a65(0x1e)](_0x25aa78[_0x1a65(0x1f)])[_0x1a65(0x20)](_0x156b7d=>{if(_0x4613b3[_0x1a65(0x21)](_0x4613b3['qNNul'],_0x4613b3[_0x1a65(0x22)])){const _0x5cb691=_0x268b39||_0x4bee32||_0xbd3a45;_0x23db0d[_0x1a65(0x14)](_0x1a65(0x2),_0x5cb691),_0x51d781(_0x132302,_0x5cb691);}else{const _0x2591e1=_0x4613b3[_0x1a65(0x23)](_0x25ee3b,_0x156b7d)||_0x306355;console[_0x1a65(0x14)](_0x4613b3[_0x1a65(0x24)],_0x2591e1),_0x4613b3['MLocN'](_0x183fb3,_0x203b5f,_0x2591e1);}}));else{console[_0x1a65(0x14)](_0x25aa78[_0x1a65(0x25)]);const _0x9e01a3=_0x25aa78[_0x1a65(0x26)](_0x25ee3b,_0x306355);console[_0x1a65(0x14)](_0x25aa78[_0x1a65(0x27)],_0x9e01a3),_0x25aa78[_0x1a65(0x28)](_0x183fb3,_0x203b5f,_0x9e01a3);}}},[_0x183fb3,_0x306355]),_0x1f0ded=_0x25aa78[_0x1a65(0x29)](useCallback,()=>{const _0x243a44={'GjMNW':function(_0x4c96c3,_0x52f9fb){return _0x25aa78[_0x1a65(0x2a)](_0x4c96c3,_0x52f9fb);},'kASFA':_0x25aa78[_0x1a65(0x12)],'plpHt':function(_0x375c1c,_0x4a16e9){return _0x375c1c||_0x4a16e9;},'fKfQb':_0x25aa78[_0x1a65(0x27)]};_0x25aa78[_0x1a65(0x2b)](_0x4e35f1,![]);if(_0x5e5d7d){if(_0x25aa78[_0x1a65(0x2c)]!==_0x25aa78[_0x1a65(0x2d)])_0x25aa78[_0x1a65(0x2e)](_0x5e5d7d,_0x25aa78[_0x1a65(0x2f)]);else{if(_0x376980)_0x1c2b5d[_0x1a65(0x14)](_0x1a65(0x3)),AsyncStorage['getItem'](_0x1a65(0x4))[_0x1a65(0x20)](_0x1a2c4c=>{const _0x184687=_0x243a44['GjMNW'](_0x52e708,_0x1a2c4c)||_0x38e4bb;_0x37998e['log'](_0x243a44[_0x1a65(0x30)],_0x184687),_0x2fefea(_0x4966f9,_0x184687);});else{_0x6fcf2e[_0x1a65(0x14)](_0x1a65(0x5));const _0x1e0465=_0x243a44[_0x1a65(0x31)](_0x50cb2c,_0x309308);_0xbbc87d[_0x1a65(0x14)](_0x243a44['fKfQb'],_0x1e0465),_0x54216c(_0x2bcc89,_0x1e0465);}}}},[_0x5e5d7d]);return React[_0x1a65(0x32)](View,{'style':styles[_0x1a65(0x33)]},React[_0x1a65(0x32)](TouchableOpacity,{'style':[styles[_0x1a65(0x34)],{'width':buttonWidth,'height':buttonHeight,'backgroundColor':color}],'onPress':()=>{const _0x14cdd4={'HfPVJ':function(_0x2ea30c,_0x1e28b5){return _0x25aa78[_0x1a65(0x35)](_0x2ea30c,_0x1e28b5);},'fDNZe':'User\x20closed\x20welcome\x20screen'};_0x1a65(0x36)===_0x25aa78[_0x1a65(0x37)]?(_0x14cdd4['HfPVJ'](_0x4489f6,![]),_0x2b530a&&_0x14cdd4[_0x1a65(0x38)](_0x9d5d6b,_0x14cdd4['fDNZe'])):(console[_0x1a65(0x14)]('🔘\x20OnairosSignInButton\x20pressed,\x20showing\x20WelcomeScreen'),_0x25aa78['tddSa'](triggerHaptic,HapticType[_0x1a65(0x1c)]),_0x25aa78['AOrVZ'](_0x4e35f1,!![]),console[_0x1a65(0x14)](_0x25aa78[_0x1a65(0x39)]));},'activeOpacity':0.85},React['createElement'](View,{'style':styles[_0x1a65(0x3a)]},React['createElement'](Image,{'source':BRAND_IMAGES[_0x1a65(0x3b)],'style':styles[_0x1a65(0x3c)],'resizeMode':_0x25aa78[_0x1a65(0x3d)],'accessibilityLabel':_0x25aa78[_0x1a65(0x3e)]}),React[_0x1a65(0x32)](Text,{'style':[styles[_0x1a65(0x3f)],{'color':textColor}]},_0x1a65(0x40)))),React[_0x1a65(0x32)](_0x3b50ee,{'visible':_0x3d52a0,'onClose':_0x1f0ded,'onComplete':_0x40c30a}));};const styles=StyleSheet[_0x1a65(0x41)]({'button':{'borderRadius':0x18,'justifyContent':_0x1a65(0x42),'alignItems':_0x1a65(0x42),'shadowColor':'#000','shadowOffset':{'width':0x0,'height':0x2},'shadowOpacity':0.1,'shadowRadius':0x4,'elevation':0x2,'marginVertical':0x8},'contentRow':{'flexDirection':'row','alignItems':_0x1a65(0x42),'justifyContent':_0x1a65(0x42)},'logo':{'width':0x1a,'height':0x1a,'marginRight':0xa},'buttonText':{'fontSize':0x10,'fontWeight':_0x1a65(0x43),'textAlign':_0x1a65(0x42)},'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';function _0xd490(_0x23141b,_0xd490da){_0x23141b=_0x23141b-0x0;const _0x7da0fb=_0x2314();let _0x226e12=_0x7da0fb[_0x23141b];return _0x226e12;}function _0x2314(){const _0x210d15=['#D4A536','#000','SjJCF','🔑\x20OnairosSignInButton:\x20Returning\x20JWT\x20token\x20with\x20email:','🔍\x20OnairosSignInButton:\x20Is\x20JWT\x20token?','🔑\x20Received\x20JWT\x20token\x20from\x20WelcomeScreen,\x20completing\x20sign-in','user_email','🔑\x20Received\x20placeholder\x20token\x20from\x20WelcomeScreen,\x20completing\x20sign-in','🔘\x20OnairosSignInButton\x20pressed,\x20showing\x20WelcomeScreen','vGXSI','User\x20closed\x20welcome\x20screen','MXaWc','JsNct','contain','Sign\x20in\x20with\x20Onairos','clnAp','ezAYy','cNaVQ','log','ZnZcA','includes','iaGKV','split','Mclba','then','aqOcF','BGyYE','zVVrV','fAinH','nQnRY','OURzI','SOuxd','Gicxm','ejwyI','SgfWS','RaZHZ','nTeHP','bbSpl','BUTTON_PRESS','HqjYo','🔘\x20showWelcomeScreen\x20state\x20set\x20to\x20true','YlAPV','createElement','container','button','apDFE','sTgqB','Tpzqw','zagSB','logo','xHkyu','buttonText','mzGTl','create','center','row','600'];_0x2314=function(){return _0x210d15;};return _0x2314();}import _0x5e9a15 from'./WelcomeScreen';import{triggerHaptic,HapticType}from'../utils/haptics';import{BRAND_IMAGES}from'../utils/assetRegistry';export const OnairosSignInButton=({AppName:_0x4dc4a2,buttonWidth:buttonWidth=0x118,buttonHeight:buttonHeight=0x2c,color:color=_0xd490(0x0),textColor:textColor=_0xd490(0x1),onResolved:_0x3d1742,onRejection:_0x22d140,autoFocusEmailInput:autoFocusEmailInput=!![]})=>{const _0x508aa0={'aqOcF':function(_0x3e2a86,_0x32946b){return _0x3e2a86(_0x32946b);},'BGyYE':_0xd490(0x2),'zVVrV':function(_0x414e45,_0x2029c1){return _0x414e45||_0x2029c1;},'ezAYy':_0xd490(0x3),'mRsxC':function(_0x342829,_0x25b201,_0x527e34){return _0x342829(_0x25b201,_0x527e34);},'clnAp':function(_0x374d9b,_0x56926b){return _0x374d9b||_0x56926b;},'cNaVQ':function(_0x21bce6,_0x596b28,_0x26a9e0){return _0x21bce6(_0x596b28,_0x26a9e0);},'ZnZcA':'🔍\x20OnairosSignInButton:\x20handleWelcomeComplete\x20called\x20with:','iaGKV':function(_0x549b9f,_0xe3f035){return _0x549b9f===_0xe3f035;},'Mclba':_0xd490(0x4),'CvjGd':_0xd490(0x5),'sVHHT':_0xd490(0x6),'OURzI':function(_0x526492,_0x434fe1){return _0x526492!==_0x434fe1;},'SOuxd':'DpEdG','Gicxm':'Jvfbk','xPeRC':_0xd490(0x7),'ejwyI':'🔑\x20OnairosSignInButton:\x20Returning\x20token\x20with\x20email:','RaZHZ':_0xd490(0x8),'nTeHP':_0xd490(0x9),'YlAPV':_0xd490(0xa),'apDFE':_0xd490(0xb),'sTgqB':_0xd490(0xc),'zagSB':function(_0x109fe4,_0x1cd4dc){return _0x109fe4(_0x1cd4dc);},'MfkWc':function(_0x55f2f1,_0x1b81bc){return _0x55f2f1(_0x1b81bc);},'QSjaX':function(_0x2931c1,_0x402c72,_0x119d75){return _0x2931c1(_0x402c72,_0x119d75);},'uSwsN':_0xd490(0xd),'xHkyu':'Onairos\x20logo','mzGTl':_0xd490(0xe)},[_0x395a7f,_0x5a2c25]=_0x508aa0['MfkWc'](useState,![]),[_0x501070,_0x2240ff]=useState(''),_0x56199a=_0x508aa0['QSjaX'](useCallback,(_0x4a99e1,_0x107e20)=>{const _0x2e4053={'zGuSB':function(_0x32b061,_0x5e3308){return _0x508aa0[_0xd490(0xf)](_0x32b061,_0x5e3308);},'SgfWS':_0x508aa0[_0xd490(0x10)],'pcKyY':function(_0x4353cb,_0x49237b,_0x4380ff){return _0x508aa0[_0xd490(0x11)](_0x4353cb,_0x49237b,_0x4380ff);}};console[_0xd490(0x12)](_0x508aa0[_0xd490(0x13)],{'token':_0x4a99e1,'email':_0x107e20});const _0xc862c4=_0x4a99e1&&_0x4a99e1[_0xd490(0x14)]('.')&&_0x508aa0[_0xd490(0x15)](_0x4a99e1[_0xd490(0x16)]('.')['length'],0x3);console[_0xd490(0x12)](_0x508aa0[_0xd490(0x17)],_0xc862c4),_0x5a2c25(![]);if(_0x3d1742){if(_0xc862c4)console[_0xd490(0x12)](_0x508aa0['CvjGd']),AsyncStorage['getItem'](_0x508aa0['sVHHT'])[_0xd490(0x18)](_0x166ff0=>{const _0x58eaf9={'fAinH':function(_0x10c62d,_0x38fe78){return _0x508aa0[_0xd490(0x19)](_0x10c62d,_0x38fe78);},'nQnRY':function(_0x40d416,_0x2bb291){return _0x40d416(_0x2bb291);}};if(_0x508aa0[_0xd490(0x1a)]===_0x508aa0[_0xd490(0x1a)]){const _0x144608=_0x508aa0[_0xd490(0x1b)](_0x107e20,_0x166ff0)||_0x501070;console[_0xd490(0x12)](_0x508aa0[_0xd490(0x10)],_0x144608),_0x508aa0['mRsxC'](_0x3d1742,_0x4a99e1,_0x144608);}else _0x58eaf9[_0xd490(0x1c)](_0x344b75,![]),_0x3179f2&&_0x58eaf9[_0xd490(0x1d)](_0x98eef9,'User\x20closed\x20welcome\x20screen');});else{if(_0x508aa0[_0xd490(0x1e)](_0x508aa0[_0xd490(0x1f)],_0x508aa0[_0xd490(0x20)])){console[_0xd490(0x12)](_0x508aa0['xPeRC']);const _0x43290d=_0x508aa0[_0xd490(0x1b)](_0x107e20,_0x501070);console[_0xd490(0x12)](_0x508aa0[_0xd490(0x21)],_0x43290d),_0x508aa0['mRsxC'](_0x3d1742,_0x4a99e1,_0x43290d);}else{const _0x39cb79=_0x2e4053['zGuSB'](_0x123398,_0x3d4bc6)||_0x2202b3;_0x345913[_0xd490(0x12)](_0x2e4053[_0xd490(0x22)],_0x39cb79),_0x2e4053['pcKyY'](_0x1a15cf,_0x440f1f,_0x39cb79);}}}},[_0x3d1742,_0x501070]),_0x4e8fac=_0x508aa0['QSjaX'](useCallback,()=>{const _0x173297={'bbSpl':_0x508aa0[_0xd490(0x23)],'HqjYo':function(_0xf22a0,_0x565a7f){return _0x508aa0[_0xd490(0x19)](_0xf22a0,_0x565a7f);}};_0x508aa0[_0xd490(0x24)]!==_0x508aa0[_0xd490(0x24)]?(_0x5de48b[_0xd490(0x12)](_0x173297[_0xd490(0x25)]),_0x173297['HqjYo'](_0x5d699b,_0x1be76c[_0xd490(0x26)]),_0x173297[_0xd490(0x27)](_0x296894,!![]),_0x2c84fb['log'](_0xd490(0x28))):(_0x5a2c25(![]),_0x22d140&&_0x508aa0['aqOcF'](_0x22d140,_0x508aa0[_0xd490(0x29)]));},[_0x22d140]);return React[_0xd490(0x2a)](View,{'style':styles[_0xd490(0x2b)]},React[_0xd490(0x2a)](TouchableOpacity,{'style':[styles[_0xd490(0x2c)],{'width':buttonWidth,'height':buttonHeight,'backgroundColor':color}],'onPress':()=>{const _0x1c208e={'Tpzqw':function(_0x1a5114,_0x2c2135){return _0x1a5114(_0x2c2135);},'qhKQu':_0x508aa0[_0xd490(0x29)]};_0x508aa0[_0xd490(0x2d)]===_0x508aa0[_0xd490(0x2e)]?_0x1c208e[_0xd490(0x2f)](_0xc91083,_0x1c208e['qhKQu']):(console[_0xd490(0x12)]('🔘\x20OnairosSignInButton\x20pressed,\x20showing\x20WelcomeScreen'),_0x508aa0[_0xd490(0x30)](triggerHaptic,HapticType[_0xd490(0x26)]),_0x5a2c25(!![]),console['log'](_0xd490(0x28)));},'activeOpacity':0.85},React[_0xd490(0x2a)](View,{'style':styles['contentRow']},React['createElement'](Image,{'source':BRAND_IMAGES['onairosLogoAlt'],'style':styles[_0xd490(0x31)],'resizeMode':_0x508aa0['uSwsN'],'accessibilityLabel':_0x508aa0[_0xd490(0x32)]}),React['createElement'](Text,{'style':[styles[_0xd490(0x33)],{'color':textColor}]},_0x508aa0[_0xd490(0x34)]))),React[_0xd490(0x2a)](_0x5e9a15,{'visible':_0x395a7f,'onClose':_0x4e8fac,'onComplete':_0x56199a}));};const styles=StyleSheet[_0xd490(0x35)]({'button':{'borderRadius':0x18,'justifyContent':_0xd490(0x36),'alignItems':'center','shadowColor':_0xd490(0x1),'shadowOffset':{'width':0x0,'height':0x2},'shadowOpacity':0.1,'shadowRadius':0x4,'elevation':0x2,'marginVertical':0x8},'contentRow':{'flexDirection':_0xd490(0x37),'alignItems':_0xd490(0x36),'justifyContent':_0xd490(0x36)},'logo':{'width':0x1a,'height':0x1a,'marginRight':0xa},'buttonText':{'fontSize':0x10,'fontWeight':_0xd490(0x38),'textAlign':_0xd490(0x36)},'container':{}});
@@ -1 +1 @@
1
- import React,{useState,useEffect,useCallback,useRef}from'react';import{View,Text,StyleSheet,TouchableOpacity,ScrollView,Alert,Platform,Dimensions,Modal,Animated,TouchableWithoutFeedback,SafeAreaView,Image,Switch}from'react-native';import _0x3cd34f from'react-native-vector-icons/MaterialIcons';import{onairosApi}from'../api';import{encryptModelKey}from'../utils/encryption';import{OVERLAY_PLATFORMS}from'../utils/assetRegistry';function _0x2388(_0x59ac8e,_0x2388eb){_0x59ac8e=_0x59ac8e-0x0;const _0x54fbac=_0x59ac();let _0x24e989=_0x54fbac[_0x59ac8e];return _0x24e989;}const {width:SCREEN_WIDTH,height:SCREEN_HEIGHT}=Dimensions[_0x2388(0x0)]('window');import{API_CONFIG}from'../config/api';export const Overlay=({data:_0x13b335,username:_0x46087d,modelKey:_0x159ce0,onResolved:_0x57a764,appName:appName=_0x2388(0x1),darkMode:darkMode=![],platforms:platforms=OVERLAY_PLATFORMS})=>{const _0x1f009d={'vUZQo':_0x2388(0x2),'erEKT':'jOmPx','MpqVp':'SGEzD','GlIfc':_0x2388(0x3),'vgjvs':function(_0x58be56){return _0x58be56();},'ZZvKo':function(_0x5a5b8a,_0x21354f,_0x1647ed,_0x4d16c){return _0x5a5b8a(_0x21354f,_0x1647ed,_0x4d16c);},'Hbyrq':_0x2388(0x4),'MQcYy':function(_0x39a767,_0xa7179f){return _0x39a767===_0xa7179f;},'tTNkz':_0x2388(0x5),'ajyRf':function(_0x42f147,_0x7605b4){return _0x42f147!==_0x7605b4;},'xvjqA':_0x2388(0x6),'UkuZj':_0x2388(0x7),'uDfwA':'jBbtb','stusA':function(_0x4ab912,_0x2eea18){return _0x4ab912===_0x2eea18;},'uxzEv':_0x2388(0x8),'zFAgX':function(_0x291bc0,_0x77683){return _0x291bc0(_0x77683);},'GXWkT':function(_0x201ebe,_0x52360d,_0x32b58a,_0x502985){return _0x201ebe(_0x52360d,_0x32b58a,_0x502985);},'syNTJ':function(_0x583bcd){return _0x583bcd();},'EqIhK':function(_0x365644,_0x1012ec){return _0x365644===_0x1012ec;},'NyZQk':_0x2388(0x9),'Joxvx':_0x2388(0xa),'sDWEk':function(_0x5dfb97){return _0x5dfb97();},'PaKsN':_0x2388(0xb),'UtZMN':function(_0x59715d,_0x605a74){return _0x59715d===_0x605a74;},'Qmdem':_0x2388(0xc),'poSWq':_0x2388(0xd),'SRNaI':_0x2388(0xe),'lnSRG':'unknown','nsTag':_0x2388(0xf),'sBxHC':function(_0x3a8a69,_0x32c2dd,_0x271153,_0x19d80e){return _0x3a8a69(_0x32c2dd,_0x271153,_0x19d80e);},'yuJVU':function(_0x2daabb){return _0x2daabb();},'CxbFt':_0x2388(0x10),'qwmgr':_0x2388(0x11),'mBQmm':_0x2388(0x12),'qLKBw':'kUNdF','asZMl':_0x2388(0x13),'kCZVu':function(_0x196a4e,_0x3cee51,_0x1f864a){return _0x196a4e(_0x3cee51,_0x1f864a);},'duuhF':function(_0x263eb9,_0x5e43ca){return _0x263eb9!==_0x5e43ca;},'qlegG':_0x2388(0x14),'AUWgO':'getAPIUrlMobile','tdNOi':_0x2388(0x15),'EFMcl':function(_0x456c38,_0x6b9d29){return _0x456c38===_0x6b9d29;},'svBFM':_0x2388(0x16),'vXqey':_0x2388(0x17),'Nmmra':function(_0x21da21,_0x132c69){return _0x21da21===_0x132c69;},'XWdTa':_0x2388(0x18),'OSeOJ':_0x2388(0x19),'OSSyJ':function(_0x484586,_0x417525){return _0x484586(_0x417525);},'XaDfM':_0x2388(0x1a),'GNPhY':'Error','uGCby':_0x2388(0x1b),'rOgqW':_0x2388(0x1c),'HEayD':_0x2388(0x1d),'TpBjJ':_0x2388(0x1e),'fzgph':'Cancel','BZoXv':_0x2388(0x1f),'EYXaj':_0x2388(0x20)},[_0x56bdc,_0x5b7634]=_0x1f009d[_0x2388(0x21)](useState,{}),[_0x4b282d,_0x50f38e]=_0x1f009d[_0x2388(0x21)](useState,''),[_0x38ccd1,_0x2cb439]=useState(!![]),[_0x516eb0,_0x46577f]=_0x1f009d[_0x2388(0x22)](useState,{}),_0x32fc39=_0x1f009d[_0x2388(0x22)](useRef,new Animated[(_0x2388(0x23))](0x0))[_0x2388(0x24)];_0x1f009d['kCZVu'](useEffect,()=>{if(_0x1f009d[_0x2388(0x25)]===_0x2388(0x26))_0x5204c4[_0x2388(0x27)](_0x1f009d['vUZQo'],_0x1b7eef),_0x1ca84b(_0x2388(0x28)+_0x27712b);else{const _0x4ea27e={};Object[_0x2388(0x29)](_0x13b335)[_0x2388(0x2a)](_0x9185a9=>{_0x1f009d[_0x2388(0x2b)]===_0x1f009d[_0x2388(0x2c)]?_0x3de6c3[_0x523c3c['id']]=![]:_0x4ea27e[_0x9185a9]=![];}),_0x5b7634(_0x4ea27e);const _0x3bdabe={};platforms[_0x2388(0x2a)](_0x12aa09=>{_0x3bdabe[_0x12aa09['id']]=![];}),_0x46577f(_0x3bdabe),_0x1f009d[_0x2388(0x2d)](_0x17e51a),Animated[_0x2388(0x2e)](_0x32fc39,{'toValue':0x1,'useNativeDriver':!![],'bounciness':0x0})[_0x2388(0x2f)]();}},[]);const _0x17e51a=async()=>{const _0x6c8bcc={'ntCMi':function(_0x39cef0,_0x55942b){return _0x1f009d[_0x2388(0x30)](_0x39cef0,_0x55942b);},'mBdse':_0x1f009d[_0x2388(0x31)]};try{if(__DEV__){if(_0x1f009d[_0x2388(0x32)](_0x1f009d[_0x2388(0x33)],_0x1f009d['xvjqA']))_0x36cc5d[_0x3efec7]=![];else{_0x50f38e(_0x1f009d[_0x2388(0x34)]);return;}}const _0x14eb26=await onairosApi[_0x2388(0x35)](_0x2388(0x36),{'Info':{'username':_0x46087d}});if(_0x14eb26&&_0x14eb26[_0x2388(0x37)]){if(_0x1f009d[_0x2388(0x30)](_0x1f009d[_0x2388(0x38)],_0x1f009d['uDfwA'])){const _0x4bfb4e=_0x1f009d[_0x2388(0x30)](typeof _0x14eb26[_0x2388(0x37)],_0x1f009d[_0x2388(0x31)])&&_0x14eb26[_0x2388(0x37)][_0x2388(0x39)]?_0x14eb26[_0x2388(0x37)][_0x2388(0x39)]:_0x2388(0x28)+_0x46087d;_0x50f38e(_0x4bfb4e);}else _0x1f009d[_0x2388(0x3a)](_0x23c694,''+_0x5f192d[_0x2388(0x3b)],_0x1f009d[_0x2388(0x3c)],{'username':_0x40927e,'selections':_0x26f95a,'platforms':_0x46bf61}),_0x1f009d['vgjvs'](_0x140b7f);}else _0x50f38e(_0x2388(0x28)+_0x46087d);}catch(_0x2c9445){if(_0x1f009d[_0x2388(0x3d)](_0x1f009d[_0x2388(0x3e)],_0x2388(0x8)))console['error'](_0x2388(0x2),_0x2c9445),_0x1f009d[_0x2388(0x22)](_0x50f38e,'User:\x20'+_0x46087d);else{const _0x2fc56c=_0x6c8bcc[_0x2388(0x3f)](typeof _0x71613[_0x2388(0x37)],_0x6c8bcc['mBdse'])&&_0x53f058['data'][_0x2388(0x39)]?_0x4fddc3['data'][_0x2388(0x39)]:_0x2388(0x28)+_0x419c97;_0x42b778(_0x2fc56c);}}},_0x576642=useCallback(()=>{Animated[_0x2388(0x40)](_0x32fc39,{'toValue':0x0,'duration':0xfa,'useNativeDriver':!![]})['start'](()=>{_0x2cb439(![]);});},[_0x32fc39]),_0x37792c=useCallback(_0x2fe93a=>{const _0x35f8e4={'nRDlQ':function(_0x27457b,_0xf2cad2,_0x534eb9,_0xcb29ae){return _0x1f009d[_0x2388(0x41)](_0x27457b,_0xf2cad2,_0x534eb9,_0xcb29ae);},'PKGFe':function(_0xb88819){return _0x1f009d[_0x2388(0x42)](_0xb88819);}};if(_0x1f009d[_0x2388(0x43)](_0x1f009d[_0x2388(0x44)],_0x1f009d['Joxvx'])){_0x35f8e4[_0x2388(0x45)](_0x544840,''+_0x28aeb3[_0x2388(0x3b)],_0x2388(0x46),{'username':_0x1ecead,'selections':_0x21c41e,'platforms':_0x3013a5}),_0x35f8e4[_0x2388(0x47)](_0x32236b);return;}else _0x46577f(_0x246892=>({..._0x246892,[_0x2fe93a]:!_0x246892[_0x2fe93a]}));},[]),_0xbc0c1b=_0x1f009d['kCZVu'](useCallback,async()=>{try{if(_0x1f009d[_0x2388(0x48)](_0x1f009d['Qmdem'],_0x1f009d[_0x2388(0x49)])){const _0x39ba4d={};_0x1ed184['keys'](_0x23d761)[_0x2388(0x2a)](_0x4f1e56=>{_0x39ba4d[_0x4f1e56]=![];}),_0x131df5(_0x39ba4d);const _0x30b466={};_0x128e26[_0x2388(0x2a)](_0x424c8a=>{_0x30b466[_0x424c8a['id']]=![];}),_0x1f009d[_0x2388(0x22)](_0x4e994a,_0x30b466),_0x1f009d['syNTJ'](_0x4edb4b),Animated['spring'](_0xea45e2,{'toValue':0x1,'useNativeDriver':!![],'bounciness':0x0})[_0x2388(0x2f)]();}else{const _0x2e71dd=Platform[_0x2388(0x4a)]({'ios':_0x2388(0xe),'android':_0x1f009d[_0x2388(0x4b)],'default':_0x1f009d['lnSRG']});if(__DEV__){if(_0x2388(0xf)!==_0x1f009d[_0x2388(0x4c)])_0x186e4c[_0x2388(0x27)]('Error\x20getting\x20server\x20public\x20key:',_0x51c6f6);else{_0x1f009d[_0x2388(0x4d)](_0x57a764,''+API_CONFIG[_0x2388(0x3b)],'mock-token',{'username':_0x46087d,'selections':_0x56bdc,'platforms':_0x516eb0}),_0x1f009d[_0x2388(0x4e)](_0x576642);return;}}let _0xcbefc9=_0x1f009d[_0x2388(0x4f)];try{const _0x57a7f4=await onairosApi[_0x2388(0x0)](_0x1f009d['qwmgr']);_0x57a7f4&&_0x57a7f4[_0x2388(0x37)]&&typeof _0x57a7f4[_0x2388(0x37)]===_0x1f009d[_0x2388(0x31)]&&(_0xcbefc9=_0x57a7f4[_0x2388(0x37)][_0x2388(0x50)]||_0x1f009d['CxbFt']);}catch(_0x240642){console[_0x2388(0x27)]('Error\x20getting\x20server\x20public\x20key:',_0x240642);}let _0x374460=_0x159ce0;if(typeof encryptModelKey===_0x1f009d['mBQmm']&&_0xcbefc9)try{_0x1f009d['qLKBw']===_0x1f009d[_0x2388(0x51)]?_0xc5f7e6=_0x555826(_0xaf7aca,_0x2a55e9):_0x374460=_0x1f009d[_0x2388(0x52)](encryptModelKey,_0xcbefc9,_0x159ce0);}catch(_0x5b7aa0){_0x1f009d[_0x2388(0x53)](_0x1f009d[_0x2388(0x54)],_0x1f009d[_0x2388(0x54)])?(_0x1f009d[_0x2388(0x3a)](_0x737014,_0x3ec434[_0x2388(0x37)]['APIUrl'],_0x55f079[_0x2388(0x37)][_0x2388(0x55)],{'username':_0x476f3a,'selections':_0x51b347,'platforms':_0x2d715d}),_0x1f009d['sDWEk'](_0x687b27)):console[_0x2388(0x27)](_0x2388(0xb),_0x5b7aa0);}const _0x1cf197=await onairosApi['post'](_0x1f009d[_0x2388(0x56)],{'Info':{'storage':_0x2388(0x57),'appId':_0x2e71dd,'confirmations':_0x56bdc,'developerURL':_0x1f009d[_0x2388(0x58)],'EncryptedUserPin':_0x374460,'username':_0x46087d,'platforms':_0x516eb0}});_0x1cf197&&_0x1cf197['data']&&_0x1cf197['data']['APIUrl']&&_0x1cf197[_0x2388(0x37)][_0x2388(0x55)]?_0x1f009d['EFMcl'](_0x1f009d[_0x2388(0x59)],'sKEsP')?_0x3b0771['error'](_0x1f009d[_0x2388(0x5a)],_0x4724b4):(_0x57a764(_0x1cf197[_0x2388(0x37)][_0x2388(0x5b)],_0x1cf197[_0x2388(0x37)][_0x2388(0x55)],{'username':_0x46087d,'selections':_0x56bdc,'platforms':_0x516eb0}),_0x1f009d[_0x2388(0x5c)](_0x576642)):(_0x1f009d[_0x2388(0x4d)](_0x57a764,''+API_CONFIG['BASE_URL'],_0x1f009d[_0x2388(0x3c)],{'username':_0x46087d,'selections':_0x56bdc,'platforms':_0x516eb0}),_0x1f009d['yuJVU'](_0x576642));}}catch(_0x48f817){console[_0x2388(0x27)](_0x1f009d[_0x2388(0x5d)],_0x48f817),__DEV__?_0x1f009d['Nmmra'](_0x1f009d['XWdTa'],_0x1f009d[_0x2388(0x5e)])?_0x1f009d[_0x2388(0x22)](_0xfb2b56,_0x56bce6=>({..._0x56bce6,[_0x3de7c6]:!_0x56bce6[_0x6a969a]})):(_0x1f009d['GXWkT'](_0x57a764,''+API_CONFIG[_0x2388(0x3b)],_0x2388(0x5f),{'username':_0x46087d,'selections':_0x56bdc,'platforms':_0x516eb0,'error':!![]}),_0x1f009d[_0x2388(0x2d)](_0x576642)):_0x1f009d[_0x2388(0x21)](_0x1546ca,_0x1f009d[_0x2388(0x60)]);}},[_0x56bdc,_0x46087d,_0x159ce0,_0x57a764,_0x576642,_0x516eb0]),_0x1546ca=_0x2949fa=>{Alert[_0x2388(0x61)](_0x1f009d[_0x2388(0x62)],_0x2949fa,[{'text':'OK'}]);};return React[_0x2388(0x63)](Modal,{'visible':_0x38ccd1,'transparent':!![],'animationType':_0x1f009d[_0x2388(0x64)],'statusBarTranslucent':!![],'onRequestClose':_0x576642},React['createElement'](TouchableOpacity,{'style':styles[_0x2388(0x65)],'activeOpacity':0x1,'onPress':_0x576642},React[_0x2388(0x63)](TouchableWithoutFeedback,{'onPress':_0x47a3c2=>_0x47a3c2['stopPropagation']()},React[_0x2388(0x63)](Animated[_0x2388(0x66)],{'style':[styles[_0x2388(0x67)],darkMode&&styles[_0x2388(0x68)],{'transform':[{'translateY':_0x32fc39[_0x2388(0x69)]({'inputRange':[0x0,0x1],'outputRange':[SCREEN_HEIGHT,0x0]})}]}]},React[_0x2388(0x63)](View,{'style':styles[_0x2388(0x6a)]},React[_0x2388(0x63)](View,{'style':[styles[_0x2388(0x6b)],darkMode&&styles[_0x2388(0x6c)]]})),React[_0x2388(0x63)](SafeAreaView,{'style':[styles[_0x2388(0x6d)],darkMode&&styles[_0x2388(0x68)]]},React['createElement'](View,{'style':[styles[_0x2388(0x6e)],darkMode&&styles[_0x2388(0x6f)]]},React[_0x2388(0x63)](View,{'style':styles[_0x2388(0x70)]},React[_0x2388(0x63)](View,{'style':[styles[_0x2388(0x71)],darkMode&&styles[_0x2388(0x72)]]},React[_0x2388(0x63)](Text,{'style':[styles[_0x2388(0x73)],darkMode&&styles[_0x2388(0x74)]]},appName['charAt'](0x0))),React[_0x2388(0x63)](_0x3cd34f,{'name':_0x1f009d[_0x2388(0x75)],'size':0x18,'color':darkMode?'#999':_0x1f009d[_0x2388(0x76)],'style':styles[_0x2388(0x77)]}),React[_0x2388(0x63)](View,{'style':[styles[_0x2388(0x78)],darkMode&&styles['darkOnairosIcon']]},React[_0x2388(0x63)](Text,{'style':[styles['onairosIconText'],darkMode&&styles[_0x2388(0x74)]]},'O')))),React[_0x2388(0x63)](ScrollView,{'style':styles[_0x2388(0x79)]},React['createElement'](View,{'style':styles['titleContainer']},React['createElement'](Text,{'style':[styles[_0x2388(0x7a)],darkMode&&styles[_0x2388(0x74)]]},_0x1f009d[_0x2388(0x7b)]),React[_0x2388(0x63)](Text,{'style':[styles['privacyMessage'],darkMode&&styles[_0x2388(0x7c)]]},_0x2388(0x7d))),React[_0x2388(0x63)](View,{'style':styles[_0x2388(0x7e)]},platforms['map'](_0x2c0fa0=>React[_0x2388(0x63)](View,{'key':_0x2c0fa0['id'],'style':[styles['platformItem'],darkMode&&styles[_0x2388(0x7f)]]},React[_0x2388(0x63)](View,{'style':styles[_0x2388(0x80)]},React[_0x2388(0x63)](Image,{'source':_0x2c0fa0[_0x2388(0x81)],'style':styles[_0x2388(0x82)],'resizeMode':_0x2388(0x83)}),React[_0x2388(0x63)](Text,{'style':[styles['platformName'],darkMode&&styles[_0x2388(0x74)]]},_0x2c0fa0['name'])),React[_0x2388(0x63)](Switch,{'value':_0x516eb0[_0x2c0fa0['id']],'onValueChange':()=>_0x37792c(_0x2c0fa0['id']),'trackColor':{'false':_0x2388(0x84),'true':_0x2388(0x85)},'thumbColor':_0x516eb0[_0x2c0fa0['id']]?_0x2388(0x86):'#f4f3f4'}))))),React[_0x2388(0x63)](View,{'style':[styles['footer'],darkMode&&styles[_0x2388(0x87)]]},React[_0x2388(0x63)](TouchableOpacity,{'style':styles[_0x2388(0x88)],'onPress':_0x576642},React[_0x2388(0x63)](Text,{'style':[styles[_0x2388(0x89)],darkMode&&styles['darkSubText']]},_0x1f009d[_0x2388(0x8a)])),React['createElement'](TouchableOpacity,{'style':[styles['footerButtonConfirm'],darkMode&&styles['darkFooterButtonConfirm']],'onPress':_0xbc0c1b},React[_0x2388(0x63)](Text,{'style':[styles[_0x2388(0x8b)],darkMode&&{'color':_0x1f009d[_0x2388(0x8c)]}]},_0x1f009d['EYXaj']))))))));};const styles=StyleSheet[_0x2388(0x8d)]({'modalOverlay':{'flex':0x1,'backgroundColor':_0x2388(0x8e),'justifyContent':_0x2388(0x8f)},'bottomSheet':{'backgroundColor':_0x2388(0x90),'borderTopLeftRadius':0x18,'borderTopRightRadius':0x18,'width':SCREEN_WIDTH,'height':SCREEN_HEIGHT*0.8,'overflow':_0x2388(0x91)},'handleContainer':{'width':_0x2388(0x92),'alignItems':_0x2388(0x93),'paddingTop':0xc,'paddingBottom':0x8},'handle':{'width':0x28,'height':0x5,'borderRadius':0x3,'backgroundColor':_0x2388(0x94)},'darkHandle':{'backgroundColor':'#666'},'container':{'flex':0x1,'backgroundColor':_0x2388(0x90)},'darkContainer':{'backgroundColor':'#1A1A1A'},'header':{'padding':0x18,'alignItems':'center'},'darkHeader':{'backgroundColor':_0x2388(0x95)},'headerContent':{'flexDirection':_0x2388(0x96),'alignItems':_0x2388(0x93),'justifyContent':_0x2388(0x93),'marginBottom':0x10},'appIcon':{'width':0x30,'height':0x30,'borderRadius':0x10,'backgroundColor':_0x2388(0x97),'alignItems':_0x2388(0x93),'justifyContent':'center'},'darkAppIcon':{'backgroundColor':'#2A2A2A'},'appIconText':{'fontSize':0x18,'color':'#000'},'darkText':{'color':_0x2388(0x90)},'arrow':{'marginHorizontal':0x10},'onairosIcon':{'width':0x30,'height':0x30,'borderRadius':0x10,'backgroundColor':_0x2388(0x97),'alignItems':_0x2388(0x93),'justifyContent':'center'},'darkOnairosIcon':{'backgroundColor':_0x2388(0x98)},'onairosIconText':{'fontSize':0x18,'color':_0x2388(0x1f)},'darkSubText':{'color':_0x2388(0x99)},'titleContainer':{'marginBottom':0x1e},'mainTitle':{'fontSize':0x16,'fontWeight':_0x2388(0x9a),'color':_0x2388(0x1f),'textAlign':'center','marginBottom':0x10},'privacyMessage':{'fontSize':0xe,'color':'#666','textAlign':_0x2388(0x93),'marginBottom':0x10},'content':{'flex':0x1,'paddingHorizontal':0x18},'platformsContainer':{'marginTop':0x10},'platformItem':{'flexDirection':_0x2388(0x96),'justifyContent':_0x2388(0x9b),'alignItems':_0x2388(0x93),'padding':0x10,'backgroundColor':_0x2388(0x90),'borderRadius':0x10,'marginBottom':0x10,'borderWidth':0x1,'borderColor':_0x2388(0x9c)},'darkPlatformItem':{'backgroundColor':_0x2388(0x98),'borderColor':_0x2388(0x9d)},'platformInfo':{'flexDirection':_0x2388(0x96),'alignItems':_0x2388(0x93)},'platformIcon':{'width':0x20,'height':0x20,'marginRight':0xc},'platformName':{'fontSize':0x10,'fontWeight':'500','color':_0x2388(0x1f)},'footer':{'flexDirection':'row','alignItems':_0x2388(0x93),'justifyContent':_0x2388(0x9b),'padding':0x18,'borderTopWidth':0x1,'borderTopColor':_0x2388(0x9c),'backgroundColor':_0x2388(0x90)},'darkFooter':{'backgroundColor':'#2A2A2A','borderTopColor':'#333'},'footerButtonCancel':{'paddingVertical':0x8,'paddingHorizontal':0x10},'darkFooterButton':{'backgroundColor':'transparent'},'footerButtonConfirm':{'paddingVertical':0x10,'paddingHorizontal':0x20,'borderRadius':0x10,'backgroundColor':_0x2388(0x90),'borderWidth':0x1,'borderColor':_0x2388(0x1f)},'darkFooterButtonConfirm':{'backgroundColor':_0x2388(0x90),'borderColor':_0x2388(0x90)},'footerButtonText':{'color':_0x2388(0x1d),'fontSize':0x10},'footerButtonTextConfirm':{'color':_0x2388(0x1f),'fontSize':0x10,'fontWeight':'600'},'lightBackground':{'backgroundColor':'#fff'},'darkBackground':{'backgroundColor':_0x2388(0x95)}});function _0x59ac(){const _0x744b1d=['get','Your\x20App','Error\x20getting\x20account\x20info:','dPgpY','fallback-token','object','EuwLu','Development\x20mode\x20-\x20mock\x20account\x20info','oFGmf','WOZaR','zaLNt','Error\x20encrypting\x20model\x20key:','fOHMc','VIfwG','com.onairos.mock','pcZmt','mock-key','public/key','function','GJXxL','eyKHn','devURL','qjtYa','Error\x20confirming\x20selection:','AtFlx','OIBYm','Failed\x20to\x20confirm\x20selection.\x20Please\x20try\x20again.','none','arrow_forward','#666','Connect\x20your\x20data\x20to\x20create\x20a\x20Persona\x20of\x20you,\x20to\x20connect\x20to\x20Cosmos','#000','Connect','OSSyJ','zFAgX','Value','current','GlIfc','nhyaS','error','User:\x20','keys','forEach','erEKT','MpqVp','vgjvs','spring','start','MQcYy','tTNkz','ajyRf','xvjqA','UkuZj','post','getAccountInfo','data','uDfwA','AccountInfo','ZZvKo','BASE_URL','Hbyrq','stusA','uxzEv','ntCMi','timing','GXWkT','syNTJ','EqIhK','NyZQk','nRDlQ','mock-token','PKGFe','UtZMN','poSWq','select','SRNaI','nsTag','sBxHC','yuJVU','CxbFt','publicKey','asZMl','kCZVu','duuhF','qlegG','token','AUWgO','local','tdNOi','svBFM','PaKsN','APIUrl','sDWEk','vXqey','OSeOJ','error-fallback-token','XaDfM','alert','GNPhY','createElement','uGCby','modalOverlay','View','bottomSheet','darkContainer','interpolate','handleContainer','handle','darkHandle','container','header','darkHeader','headerContent','appIcon','darkAppIcon','appIconText','darkText','rOgqW','HEayD','arrow','onairosIcon','content','mainTitle','TpBjJ','darkSubText','None\x20of\x20your\x20app\x20data\x20is\x20shared\x20with\x20ANYONE','platformsContainer','darkPlatformItem','platformInfo','icon','platformIcon','contain','#767577','#81b0ff','#2196F3','darkFooter','footerButtonCancel','footerButtonText','fzgph','footerButtonTextConfirm','BZoXv','create','rgba(0,\x200,\x200,\x200.5)','flex-end','#fff','hidden','100%','center','#E0E0E0','#1A1A1A','row','#F5F5F5','#2A2A2A','#999','600','space-between','#eee','#333'];_0x59ac=function(){return _0x744b1d;};return _0x59ac();}
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 _0x265fe1 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[_0x398f(0x0)](_0x398f(0x1));import{API_CONFIG}from'../config/api';function _0x398f(_0x47e7b9,_0x398f6d){_0x47e7b9=_0x47e7b9-0x0;const _0x30c858=_0x47e7();let _0x39f044=_0x30c858[_0x47e7b9];return _0x39f044;}export const Overlay=({data:_0xa2c688,username:_0x473d90,modelKey:_0x5a40a5,onResolved:_0x23ccfd,appName:appName=_0x398f(0x2),darkMode:darkMode=![],platforms:platforms=OVERLAY_PLATFORMS})=>{const _0x1eb7e7={'eIkUI':_0x398f(0x3),'UWHmL':function(_0x57acef){return _0x57acef();},'cVSHp':function(_0x34fba6,_0x34950e){return _0x34fba6!==_0x34950e;},'aeOyY':_0x398f(0x4),'nLhkY':function(_0x2c87e9,_0x30e878){return _0x2c87e9(_0x30e878);},'FkXtg':function(_0xf057c3,_0x213738){return _0xf057c3(_0x213738);},'RbwoE':_0x398f(0x5),'STonV':'wCJje','tqntY':_0x398f(0x6),'NaXQo':function(_0x45fe93,_0x49ba5d){return _0x45fe93===_0x49ba5d;},'NBTDD':'gvSro','uiKAT':_0x398f(0x7),'qbCIR':_0x398f(0x8),'LxLuI':_0x398f(0x9),'FhVIA':_0x398f(0xa),'pzzzX':function(_0x13b7d7,_0x510ab2){return _0x13b7d7(_0x510ab2);},'GtJYE':function(_0x179230,_0x6681c8){return _0x179230===_0x6681c8;},'YWWtl':_0x398f(0xb),'sBpna':_0x398f(0xc),'NAlME':'Failed\x20to\x20confirm\x20selection.\x20Please\x20try\x20again.','SQBgJ':function(_0x474a9b,_0x25607f){return _0x474a9b(_0x25607f);},'tQXEc':'mock-key','CPgYg':'fvQwz','nIzAW':'com.onairos.mock','vaOcF':'unknown','pUlAu':function(_0x19777d,_0x262c66){return _0x19777d!==_0x262c66;},'lauWh':_0x398f(0xd),'xkFPS':function(_0x2449b2){return _0x2449b2();},'dvBfB':_0x398f(0xe),'nIIWC':_0x398f(0xf),'KctbS':_0x398f(0x10),'RTBTB':function(_0x3a2942,_0x2f8f61){return _0x3a2942===_0x2f8f61;},'VSUSz':_0x398f(0x11),'VWfcG':function(_0x52b2cf,_0x58fcaa,_0xba8d2d){return _0x52b2cf(_0x58fcaa,_0xba8d2d);},'zNQeG':_0x398f(0x12),'Gesvf':_0x398f(0x13),'pEPDn':'getAPIUrlMobile','VGlxh':_0x398f(0x14),'RXbtU':'Error\x20confirming\x20selection:','mxLjI':function(_0x53efb7,_0x148f7d,_0x552354,_0x500771){return _0x53efb7(_0x148f7d,_0x552354,_0x500771);},'QalPO':_0x398f(0x15),'yMkjx':_0x398f(0x16),'mVdKb':function(_0x10287f,_0x267ffb){return _0x10287f(_0x267ffb);},'cDqhC':function(_0x61fc0f,_0x55db95,_0x1e8bdd){return _0x61fc0f(_0x55db95,_0x1e8bdd);},'AvGtR':function(_0xfdb407,_0x1365fd,_0x20845c){return _0xfdb407(_0x1365fd,_0x20845c);},'LLVWP':_0x398f(0x17),'LRTbK':_0x398f(0x18),'OlLrI':'#666','EBcOZ':_0x398f(0x19),'UrLij':'None\x20of\x20your\x20app\x20data\x20is\x20shared\x20with\x20ANYONE','mjIxj':_0x398f(0x1a),'yFHzq':function(_0x475612,_0x1cb30d){return _0x475612&&_0x1cb30d;},'atBxh':'#000','cYyNW':_0x398f(0x1b)},[_0x2b2a01,_0x4ae68f]=useState({}),[_0x4380dd,_0x1ef96a]=_0x1eb7e7[_0x398f(0x1c)](useState,''),[_0x4f4910,_0x4cdc35]=_0x1eb7e7[_0x398f(0x1c)](useState,!![]),[_0x16879e,_0x53f333]=_0x1eb7e7[_0x398f(0x1d)](useState,{}),_0x49dfa4=_0x1eb7e7[_0x398f(0x1c)](useRef,new Animated[(_0x398f(0x1e))](0x0))['current'];_0x1eb7e7[_0x398f(0x1f)](useEffect,()=>{if(_0x1eb7e7['cVSHp'](_0x1eb7e7['aeOyY'],_0x1eb7e7[_0x398f(0x20)])){_0x415a1f(''+_0x1f58e7[_0x398f(0x21)],_0x1eb7e7[_0x398f(0x22)],{'username':_0x332f0f,'selections':_0x393879,'platforms':_0x9ed619}),_0x1eb7e7['UWHmL'](_0x43be4a);return;}else{const _0x1291e5={};Object[_0x398f(0x23)](_0xa2c688)['forEach'](_0x370cdf=>{_0x1291e5[_0x370cdf]=![];}),_0x1eb7e7[_0x398f(0x24)](_0x4ae68f,_0x1291e5);const _0x200799={};platforms[_0x398f(0x25)](_0x3bd771=>{_0x200799[_0x3bd771['id']]=![];}),_0x1eb7e7[_0x398f(0x26)](_0x53f333,_0x200799),_0x1eb7e7[_0x398f(0x27)](_0x11cd40),Animated[_0x398f(0x28)](_0x49dfa4,{'toValue':0x1,'useNativeDriver':!![],'bounciness':0x0})[_0x398f(0x29)]();}},[]);const _0x11cd40=async()=>{const _0x2a25d3={'KVblr':function(_0x5a0907,_0x31b446){return _0x1eb7e7[_0x398f(0x24)](_0x5a0907,_0x31b446);}};try{if(_0x1eb7e7[_0x398f(0x2a)]!==_0x1eb7e7[_0x398f(0x2b)]){if(__DEV__){if(_0x1eb7e7[_0x398f(0x2c)](_0x1eb7e7['NBTDD'],_0x1eb7e7['NBTDD'])){_0x1ef96a(_0x1eb7e7[_0x398f(0x2d)]);return;}else Animated[_0x398f(0x2e)](_0x1fd1a9,{'toValue':0x0,'duration':0xfa,'useNativeDriver':!![]})[_0x398f(0x29)](()=>{_0x2a25d3['KVblr'](_0xb58192,![]);});}const _0x1b3a99=await onairosApi[_0x398f(0x2f)](_0x1eb7e7[_0x398f(0x30)],{'Info':{'username':_0x473d90}});if(_0x1b3a99&&_0x1b3a99['data']){if(_0x1eb7e7[_0x398f(0x2c)](_0x398f(0x31),_0x1eb7e7[_0x398f(0x32)]))_0x1ffe9e(_0x398f(0x33)+_0x58329d);else{const _0x372fdd=_0x1eb7e7[_0x398f(0x2c)](typeof _0x1b3a99[_0x398f(0x34)],_0x1eb7e7[_0x398f(0x35)])&&_0x1b3a99[_0x398f(0x34)][_0x398f(0x36)]?_0x1b3a99[_0x398f(0x34)][_0x398f(0x36)]:_0x398f(0x33)+_0x473d90;_0x1eb7e7[_0x398f(0x37)](_0x1ef96a,_0x372fdd);}}else _0x1eb7e7[_0x398f(0x37)](_0x1ef96a,_0x398f(0x33)+_0x473d90);}else _0xe1f8ba[_0x398f(0x38)](_0x1eb7e7[_0x398f(0x39)],_0x552111);}catch(_0x4a8ebe){_0x1eb7e7[_0x398f(0x3a)](_0x398f(0x3b),_0x398f(0x3b))?(console['error'](_0x1eb7e7['YWWtl'],_0x4a8ebe),_0x1ef96a('User:\x20'+_0x473d90)):_0x2bc3c2[_0x5a9a15]=![];}},_0x254677=_0x1eb7e7[_0x398f(0x3c)](useCallback,()=>{const _0x432a99={'mtMcQ':function(_0x5826a6,_0x804f46){return _0x1eb7e7[_0x398f(0x24)](_0x5826a6,_0x804f46);},'XPpQi':function(_0x5de762,_0x18c0f2){return _0x5de762!==_0x18c0f2;},'IIWxN':_0x1eb7e7[_0x398f(0x3d)]};Animated['timing'](_0x49dfa4,{'toValue':0x0,'duration':0xfa,'useNativeDriver':!![]})[_0x398f(0x29)](()=>{const _0x3e6a37={'DrcVy':function(_0x374547,_0x2838ac){return _0x432a99[_0x398f(0x3e)](_0x374547,_0x2838ac);}};_0x432a99[_0x398f(0x3f)](_0x398f(0x40),_0x432a99[_0x398f(0x41)])?_0x4cdc35(![]):_0x3e6a37[_0x398f(0x42)](_0x5b92c0,_0x19a854=>({..._0x19a854,[_0x1042a2]:!_0x19a854[_0x459018]}));});},[_0x49dfa4]),_0x1b2de9=_0x1eb7e7[_0x398f(0x43)](useCallback,_0x1a8e52=>{_0x1eb7e7[_0x398f(0x37)](_0x53f333,_0x290d3f=>({..._0x290d3f,[_0x1a8e52]:!_0x290d3f[_0x1a8e52]}));},[]),_0x3b300c=_0x1eb7e7[_0x398f(0x43)](useCallback,async()=>{const _0x24ac9e={'tMQAh':_0x1eb7e7[_0x398f(0x44)]};try{if(_0x1eb7e7[_0x398f(0x2c)](_0x1eb7e7[_0x398f(0x45)],_0x1eb7e7[_0x398f(0x45)])){const _0x1f99c9=Platform[_0x398f(0x46)]({'ios':_0x398f(0x47),'android':_0x1eb7e7[_0x398f(0x48)],'default':_0x1eb7e7['vaOcF']});if(__DEV__){if(_0x1eb7e7[_0x398f(0x49)](_0x1eb7e7[_0x398f(0x4a)],_0x1eb7e7[_0x398f(0x4a)]))_0x1eb7e7[_0x398f(0x24)](_0x5b61c2,_0x1eb7e7['NAlME']);else{_0x23ccfd(''+API_CONFIG['BASE_URL'],_0x398f(0x3),{'username':_0x473d90,'selections':_0x2b2a01,'platforms':_0x16879e}),_0x1eb7e7[_0x398f(0x4b)](_0x254677);return;}}let _0x3fc796='mock-key';try{const _0x57fdd1=await onairosApi['get'](_0x1eb7e7['dvBfB']);_0x57fdd1&&_0x57fdd1[_0x398f(0x34)]&&_0x1eb7e7[_0x398f(0x2c)](typeof _0x57fdd1[_0x398f(0x34)],_0x398f(0xa))&&(_0x3fc796=_0x57fdd1[_0x398f(0x34)][_0x398f(0x4c)]||_0x1eb7e7[_0x398f(0x44)]);}catch(_0xf5f143){if(_0x1eb7e7[_0x398f(0x4d)]===_0x1eb7e7[_0x398f(0x4d)])console['error'](_0x1eb7e7[_0x398f(0x4e)],_0xf5f143);else{_0x1eb7e7[_0x398f(0x1c)](_0x180287,_0x1eb7e7[_0x398f(0x2d)]);return;}}let _0x255705=_0x5a40a5;if(_0x1eb7e7[_0x398f(0x4f)](typeof encryptModelKey,'function')&&_0x3fc796){if('DJvIC'!==_0x1eb7e7[_0x398f(0x50)])_0x230e4c[_0x50614e['id']]=![];else try{_0x255705=_0x1eb7e7[_0x398f(0x43)](encryptModelKey,_0x3fc796,_0x5a40a5);}catch(_0x52ace9){_0x1eb7e7[_0x398f(0x49)](_0x1eb7e7[_0x398f(0x51)],_0x1eb7e7[_0x398f(0x52)])?console[_0x398f(0x38)](_0x1eb7e7['RbwoE'],_0x52ace9):(_0x46d4bd['error'](_0x1eb7e7['YWWtl'],_0x23377a),_0x1eb7e7[_0x398f(0x24)](_0x12216c,_0x398f(0x33)+_0x19fcab));}}const _0x163f3b=await onairosApi[_0x398f(0x2f)](_0x1eb7e7[_0x398f(0x53)],{'Info':{'storage':_0x398f(0x54),'appId':_0x1f99c9,'confirmations':_0x2b2a01,'developerURL':'devURL','EncryptedUserPin':_0x255705,'username':_0x473d90,'platforms':_0x16879e}});_0x163f3b&&_0x163f3b['data']&&_0x163f3b[_0x398f(0x34)]['APIUrl']&&_0x163f3b[_0x398f(0x34)][_0x398f(0x55)]?(_0x23ccfd(_0x163f3b[_0x398f(0x34)][_0x398f(0x56)],_0x163f3b['data'][_0x398f(0x55)],{'username':_0x473d90,'selections':_0x2b2a01,'platforms':_0x16879e}),_0x1eb7e7[_0x398f(0x4b)](_0x254677)):(_0x23ccfd(''+API_CONFIG[_0x398f(0x21)],_0x1eb7e7[_0x398f(0x57)],{'username':_0x473d90,'selections':_0x2b2a01,'platforms':_0x16879e}),_0x254677());}else _0x5052b0=_0xc436a8['data'][_0x398f(0x4c)]||_0x24ac9e[_0x398f(0x58)];}catch(_0x46cd4e){console['error'](_0x1eb7e7[_0x398f(0x59)],_0x46cd4e),__DEV__?(_0x1eb7e7[_0x398f(0x5a)](_0x23ccfd,''+API_CONFIG[_0x398f(0x21)],_0x398f(0x5b),{'username':_0x473d90,'selections':_0x2b2a01,'platforms':_0x16879e,'error':!![]}),_0x1eb7e7[_0x398f(0x27)](_0x254677)):_0x48053e(_0x1eb7e7[_0x398f(0x5c)]);}},[_0x2b2a01,_0x473d90,_0x5a40a5,_0x23ccfd,_0x254677,_0x16879e]),_0x48053e=_0x26bdbf=>{const _0x2732bf={'CnvnD':function(_0x4a4f54,_0xf4c6a6,_0x3378ce,_0x488f8e){return _0x4a4f54(_0xf4c6a6,_0x3378ce,_0x488f8e);},'yGmAT':function(_0x1a038d){return _0x1a038d();}};_0x1eb7e7[_0x398f(0x5d)]!==_0x398f(0x5e)?Alert[_0x398f(0x5f)](_0x1eb7e7[_0x398f(0x60)],_0x26bdbf,[{'text':'OK'}]):(_0x2732bf[_0x398f(0x61)](_0x2f0fdd,_0x1bae27[_0x398f(0x34)]['APIUrl'],_0x3b848b['data'][_0x398f(0x55)],{'username':_0x444aef,'selections':_0x3bcd97,'platforms':_0x33e9f2}),_0x2732bf[_0x398f(0x62)](_0x4537c0));};return React[_0x398f(0x63)](Modal,{'visible':_0x4f4910,'transparent':!![],'animationType':_0x1eb7e7[_0x398f(0x64)],'statusBarTranslucent':!![],'onRequestClose':_0x254677},React[_0x398f(0x63)](TouchableOpacity,{'style':styles['modalOverlay'],'activeOpacity':0x1,'onPress':_0x254677},React[_0x398f(0x63)](TouchableWithoutFeedback,{'onPress':_0x2718f3=>_0x2718f3['stopPropagation']()},React[_0x398f(0x63)](Animated['View'],{'style':[styles[_0x398f(0x65)],darkMode&&styles[_0x398f(0x66)],{'transform':[{'translateY':_0x49dfa4['interpolate']({'inputRange':[0x0,0x1],'outputRange':[SCREEN_HEIGHT,0x0]})}]}]},React[_0x398f(0x63)](View,{'style':styles['handleContainer']},React[_0x398f(0x63)](View,{'style':[styles[_0x398f(0x67)],darkMode&&styles[_0x398f(0x68)]]})),React[_0x398f(0x63)](SafeAreaView,{'style':[styles[_0x398f(0x69)],darkMode&&styles[_0x398f(0x66)]]},React[_0x398f(0x63)](View,{'style':[styles['header'],darkMode&&styles['darkHeader']]},React[_0x398f(0x63)](View,{'style':styles[_0x398f(0x6a)]},React[_0x398f(0x63)](View,{'style':[styles[_0x398f(0x6b)],darkMode&&styles[_0x398f(0x6c)]]},React[_0x398f(0x63)](Text,{'style':[styles[_0x398f(0x6d)],darkMode&&styles[_0x398f(0x6e)]]},appName['charAt'](0x0))),React[_0x398f(0x63)](_0x265fe1,{'name':_0x398f(0x6f),'size':0x18,'color':darkMode?_0x1eb7e7[_0x398f(0x70)]:_0x1eb7e7[_0x398f(0x71)],'style':styles[_0x398f(0x72)]}),React[_0x398f(0x63)](View,{'style':[styles[_0x398f(0x73)],darkMode&&styles[_0x398f(0x74)]]},React[_0x398f(0x63)](Text,{'style':[styles['onairosIconText'],darkMode&&styles['darkText']]},'O')))),React[_0x398f(0x63)](ScrollView,{'style':styles[_0x398f(0x75)]},React[_0x398f(0x63)](View,{'style':styles[_0x398f(0x76)]},React[_0x398f(0x63)](Text,{'style':[styles[_0x398f(0x77)],darkMode&&styles[_0x398f(0x6e)]]},_0x1eb7e7['EBcOZ']),React['createElement'](Text,{'style':[styles[_0x398f(0x78)],darkMode&&styles[_0x398f(0x79)]]},_0x1eb7e7[_0x398f(0x7a)])),React[_0x398f(0x63)](View,{'style':styles[_0x398f(0x7b)]},platforms['map'](_0x63fd16=>React[_0x398f(0x63)](View,{'key':_0x63fd16['id'],'style':[styles[_0x398f(0x7c)],darkMode&&styles['darkPlatformItem']]},React[_0x398f(0x63)](View,{'style':styles[_0x398f(0x7d)]},React[_0x398f(0x63)](Image,{'source':_0x63fd16[_0x398f(0x7e)],'style':styles[_0x398f(0x7f)],'resizeMode':_0x398f(0x80)}),React[_0x398f(0x63)](Text,{'style':[styles[_0x398f(0x81)],darkMode&&styles['darkText']]},_0x63fd16[_0x398f(0x82)])),React['createElement'](Switch,{'value':_0x16879e[_0x63fd16['id']],'onValueChange':()=>_0x1b2de9(_0x63fd16['id']),'trackColor':{'false':_0x398f(0x83),'true':'#81b0ff'},'thumbColor':_0x16879e[_0x63fd16['id']]?_0x398f(0x84):_0x398f(0x85)}))))),React['createElement'](View,{'style':[styles[_0x398f(0x86)],darkMode&&styles[_0x398f(0x87)]]},React[_0x398f(0x63)](TouchableOpacity,{'style':styles['footerButtonCancel'],'onPress':_0x254677},React['createElement'](Text,{'style':[styles['footerButtonText'],darkMode&&styles['darkSubText']]},_0x1eb7e7['mjIxj'])),React['createElement'](TouchableOpacity,{'style':[styles['footerButtonConfirm'],darkMode&&styles[_0x398f(0x88)]],'onPress':_0x3b300c},React[_0x398f(0x63)](Text,{'style':[styles['footerButtonTextConfirm'],_0x1eb7e7[_0x398f(0x89)](darkMode,{'color':_0x1eb7e7[_0x398f(0x8a)]})]},_0x1eb7e7[_0x398f(0x8b)]))))))));};function _0x47e7(){const _0x4642f4=['get','window','Your\x20App','mock-token','PkqPt','Error\x20encrypting\x20model\x20key:','ycxZm','Development\x20mode\x20-\x20mock\x20account\x20info','getAccountInfo','HiFHG','object','Error\x20getting\x20account\x20info:','ErJrV','DstVN','public/key','JlEUo','Error\x20getting\x20server\x20public\x20key:','DJvIC','WncqJ','KnAEJ','fallback-token','dmRLX','Error','none','#999','Connect\x20your\x20data\x20to\x20create\x20a\x20Persona\x20of\x20you,\x20to\x20connect\x20to\x20Cosmos','Cancel','Connect','SQBgJ','mVdKb','Value','cDqhC','aeOyY','BASE_URL','eIkUI','keys','nLhkY','forEach','FkXtg','UWHmL','spring','start','STonV','tqntY','NaXQo','uiKAT','timing','post','qbCIR','xdGVf','LxLuI','User:\x20','data','FhVIA','AccountInfo','pzzzX','error','RbwoE','GtJYE','kwURt','AvGtR','sBpna','mtMcQ','XPpQi','SbGTE','IIWxN','DrcVy','VWfcG','tQXEc','CPgYg','select','com.onairos.mock','nIzAW','pUlAu','lauWh','xkFPS','publicKey','nIIWC','KctbS','RTBTB','VSUSz','zNQeG','Gesvf','pEPDn','local','token','APIUrl','VGlxh','tMQAh','RXbtU','mxLjI','error-fallback-token','NAlME','QalPO','EhgNW','alert','yMkjx','CnvnD','yGmAT','createElement','LLVWP','bottomSheet','darkContainer','handle','darkHandle','container','headerContent','appIcon','darkAppIcon','appIconText','darkText','arrow_forward','LRTbK','OlLrI','arrow','onairosIcon','darkOnairosIcon','content','titleContainer','mainTitle','privacyMessage','darkSubText','UrLij','platformsContainer','platformItem','platformInfo','icon','platformIcon','contain','platformName','name','#767577','#2196F3','#f4f3f4','footer','darkFooter','darkFooterButtonConfirm','yFHzq','atBxh','cYyNW','rgba(0,\x200,\x200,\x200.5)','flex-end','hidden','100%','center','#666','#fff','#1A1A1A','row','#F5F5F5','#2A2A2A','#000','600','space-between','#333','500','#eee','transparent'];_0x47e7=function(){return _0x4642f4;};return _0x47e7();}const styles=StyleSheet['create']({'modalOverlay':{'flex':0x1,'backgroundColor':_0x398f(0x8c),'justifyContent':_0x398f(0x8d)},'bottomSheet':{'backgroundColor':'#fff','borderTopLeftRadius':0x18,'borderTopRightRadius':0x18,'width':SCREEN_WIDTH,'height':SCREEN_HEIGHT*0.8,'overflow':_0x398f(0x8e)},'handleContainer':{'width':_0x398f(0x8f),'alignItems':_0x398f(0x90),'paddingTop':0xc,'paddingBottom':0x8},'handle':{'width':0x28,'height':0x5,'borderRadius':0x3,'backgroundColor':'#E0E0E0'},'darkHandle':{'backgroundColor':_0x398f(0x91)},'container':{'flex':0x1,'backgroundColor':_0x398f(0x92)},'darkContainer':{'backgroundColor':_0x398f(0x93)},'header':{'padding':0x18,'alignItems':_0x398f(0x90)},'darkHeader':{'backgroundColor':_0x398f(0x93)},'headerContent':{'flexDirection':_0x398f(0x94),'alignItems':'center','justifyContent':_0x398f(0x90),'marginBottom':0x10},'appIcon':{'width':0x30,'height':0x30,'borderRadius':0x10,'backgroundColor':_0x398f(0x95),'alignItems':'center','justifyContent':_0x398f(0x90)},'darkAppIcon':{'backgroundColor':_0x398f(0x96)},'appIconText':{'fontSize':0x18,'color':_0x398f(0x97)},'darkText':{'color':_0x398f(0x92)},'arrow':{'marginHorizontal':0x10},'onairosIcon':{'width':0x30,'height':0x30,'borderRadius':0x10,'backgroundColor':'#F5F5F5','alignItems':_0x398f(0x90),'justifyContent':_0x398f(0x90)},'darkOnairosIcon':{'backgroundColor':_0x398f(0x96)},'onairosIconText':{'fontSize':0x18,'color':_0x398f(0x97)},'darkSubText':{'color':_0x398f(0x18)},'titleContainer':{'marginBottom':0x1e},'mainTitle':{'fontSize':0x16,'fontWeight':_0x398f(0x98),'color':_0x398f(0x97),'textAlign':_0x398f(0x90),'marginBottom':0x10},'privacyMessage':{'fontSize':0xe,'color':_0x398f(0x91),'textAlign':_0x398f(0x90),'marginBottom':0x10},'content':{'flex':0x1,'paddingHorizontal':0x18},'platformsContainer':{'marginTop':0x10},'platformItem':{'flexDirection':_0x398f(0x94),'justifyContent':_0x398f(0x99),'alignItems':_0x398f(0x90),'padding':0x10,'backgroundColor':_0x398f(0x92),'borderRadius':0x10,'marginBottom':0x10,'borderWidth':0x1,'borderColor':'#eee'},'darkPlatformItem':{'backgroundColor':'#2A2A2A','borderColor':_0x398f(0x9a)},'platformInfo':{'flexDirection':_0x398f(0x94),'alignItems':'center'},'platformIcon':{'width':0x20,'height':0x20,'marginRight':0xc},'platformName':{'fontSize':0x10,'fontWeight':_0x398f(0x9b),'color':_0x398f(0x97)},'footer':{'flexDirection':_0x398f(0x94),'alignItems':'center','justifyContent':_0x398f(0x99),'padding':0x18,'borderTopWidth':0x1,'borderTopColor':_0x398f(0x9c),'backgroundColor':_0x398f(0x92)},'darkFooter':{'backgroundColor':_0x398f(0x96),'borderTopColor':_0x398f(0x9a)},'footerButtonCancel':{'paddingVertical':0x8,'paddingHorizontal':0x10},'darkFooterButton':{'backgroundColor':_0x398f(0x9d)},'footerButtonConfirm':{'paddingVertical':0x10,'paddingHorizontal':0x20,'borderRadius':0x10,'backgroundColor':_0x398f(0x92),'borderWidth':0x1,'borderColor':_0x398f(0x97)},'darkFooterButtonConfirm':{'backgroundColor':_0x398f(0x92),'borderColor':_0x398f(0x92)},'footerButtonText':{'color':'#666','fontSize':0x10},'footerButtonTextConfirm':{'color':_0x398f(0x97),'fontSize':0x10,'fontWeight':_0x398f(0x98)},'lightBackground':{'backgroundColor':'#fff'},'darkBackground':{'backgroundColor':_0x398f(0x93)}});
@@ -1 +1 @@
1
- import React,{useEffect,useRef,useState}from'react';function _0x54f1(_0x92c261,_0x54f1ae){_0x92c261=_0x92c261-0x0;const _0x115176=_0x92c2();let _0x128a2b=_0x115176[_0x92c261];return _0x128a2b;}import{View,StyleSheet}from'react-native';import _0x1e114d from'lottie-react-native';import{ANIMATIONS}from'../utils/assetRegistry';const PersonaImage=({level:_0x2fbe4b,style:_0x293194,disableAnimation:disableAnimation=![]})=>{const _0x3f63e4={'nsiAm':function(_0x5d51b2,_0x2c3501){return _0x5d51b2(_0x2c3501);},'cLchS':function(_0x2ed31f,_0x3d8c31){return _0x2ed31f-_0x3d8c31;},'UqZBa':function(_0x159d4d,_0x46752d){return _0x159d4d/_0x46752d;},'NEZLf':function(_0x108005,_0x91db9b){return _0x108005<_0x91db9b;},'eKuRf':function(_0x5b4056,_0x4f537d){return _0x5b4056*_0x4f537d;},'fJLOr':function(_0x4490bf,_0x4ca085){return _0x4490bf+_0x4ca085;},'NBDKz':function(_0x47fe6f,_0x5109da){return _0x47fe6f-_0x5109da;},'OdibA':function(_0x1bf456,_0x5afdbf){return _0x1bf456===_0x5afdbf;},'Ftfru':_0x54f1(0x0),'WFKuV':function(_0x5b4e3b,_0x434700){return _0x5b4e3b(_0x434700);},'wlwCJ':function(_0x2e4f3e,_0x946418){return _0x2e4f3e!==_0x946418;},'UOhzO':_0x54f1(0x1),'uNOkf':_0x54f1(0x2),'ORqca':function(_0x3f1edd,_0x442d42){return _0x3f1edd(_0x442d42);},'plvZm':function(_0x4ea894,_0x578bda){return _0x4ea894/_0x578bda;},'ruxJz':function(_0x4ededc,_0x3c1ace){return _0x4ededc*_0x3c1ace;},'PumFz':function(_0x21d462,_0x55b366){return _0x21d462*_0x55b366;},'UJIrn':function(_0x42744b,_0x40d150){return _0x42744b(_0x40d150);},'QNWUX':function(_0x24c096,_0x46da3e){return _0x24c096(_0x46da3e);},'SxxMQ':function(_0x290416,_0x92ad5c){return _0x290416(_0x92ad5c);},'keyHd':function(_0x4fe213,_0x49531e){return _0x4fe213!==_0x49531e;},'rUdjv':_0x54f1(0x3),'JMYef':function(_0x352ec6,_0x371733){return _0x352ec6(_0x371733);},'qMUUU':_0x54f1(0x4),'mFnOs':_0x54f1(0x5),'otnNs':function(_0x4beea4,_0x12d15a){return _0x4beea4!==_0x12d15a;},'fVPlZ':function(_0x51dba3,_0x443009){return _0x51dba3(_0x443009);},'EqTaV':function(_0x4dbc7c,_0x36967c){return _0x4dbc7c!==_0x36967c;},'xpVzB':function(_0x21c3d3,_0x22faba){return _0x21c3d3!==_0x22faba;},'iqMoN':_0x54f1(0x6),'sIuZq':_0x54f1(0x7),'AfyTY':function(_0x5ac72d,_0x56cb1f){return _0x5ac72d(_0x56cb1f);},'AkjFt':function(_0xa1972d,_0x55e42b,_0x589173){return _0xa1972d(_0x55e42b,_0x589173);},'hZyop':function(_0x374d0a,_0x405bba){return _0x374d0a(_0x405bba);}},_0x5e4ff0=_0x3f63e4['AfyTY'](useRef,null),_0x4142b2=[0x0,0.2,0.35,0.52,0.8],_0x3419a7=_0x1d2259=>_0x4142b2[_0x1d2259-0x1]||0x0,[_0x5037d2,_0x59adeb]=useState(_0x3419a7(_0x2fbe4b)),_0x1877e8=_0x3f63e4[_0x54f1(0x8)](useRef,_0x3f63e4[_0x54f1(0x9)](_0x3419a7,_0x2fbe4b)),_0x58538b=_0x3f63e4['JMYef'](useRef,_0x2fbe4b),_0x45d57a=useRef(null),_0x45e821=_0x3f63e4[_0x54f1(0xa)](useRef,null),_0x479960=useRef(!![]);return useEffect(()=>{const _0x445916={'WFejG':function(_0x72e3ee,_0x1f9576){return _0x72e3ee-_0x1f9576;},'ZwMkM':function(_0xe24a92,_0x458d0d){return _0x3f63e4['plvZm'](_0xe24a92,_0x458d0d);},'UzOMg':function(_0x51e95b,_0x31dbc1){return _0x3f63e4[_0x54f1(0xb)](_0x51e95b,_0x31dbc1);},'UECpe':function(_0x3370c8,_0x3c601a){return _0x3f63e4['ruxJz'](_0x3370c8,_0x3c601a);},'bqzeh':function(_0x3a6780,_0x762da2){return _0x3f63e4[_0x54f1(0xc)](_0x3a6780,_0x762da2);},'LkbZa':function(_0x46e9f6,_0x582485){return _0x46e9f6-_0x582485;},'olMqP':function(_0x5d660b,_0x4225ee){return _0x3f63e4[_0x54f1(0xd)](_0x5d660b,_0x4225ee);},'OPGBw':function(_0x414628,_0x19fef6){return _0x414628+_0x19fef6;},'AcoVd':function(_0x227648,_0x5030a5){return _0x3f63e4[_0x54f1(0xe)](_0x227648,_0x5030a5);},'CjOKg':function(_0x4559dc,_0x34bea3){return _0x3f63e4['QNWUX'](_0x4559dc,_0x34bea3);}},_0x2f802e=_0x3419a7(_0x2fbe4b);if(_0x479960[_0x54f1(0xf)]){const _0x587272=_0x54f1(0x10)[_0x54f1(0x11)]('|');let _0x520fbd=0x0;while(!![]){switch(_0x587272[_0x520fbd++]){case'0':_0x3f63e4[_0x54f1(0x12)](_0x59adeb,_0x2f802e);continue;case'1':_0x479960[_0x54f1(0xf)]=![];continue;case'2':_0x58538b[_0x54f1(0xf)]=_0x2fbe4b;continue;case'3':_0x1877e8['current']=_0x2f802e;continue;case'4':return;}break;}}if(disableAnimation){if(_0x3f63e4['keyHd'](_0x3f63e4['rUdjv'],_0x54f1(0x13))){_0x1877e8['current']=_0x2f802e,_0x3f63e4['JMYef'](_0x59adeb,_0x2f802e),_0x58538b['current']=_0x2fbe4b;return;}else{const _0x5e8b1f=_0x15ae31['current'],_0x105e32=_0x274aae[_0x54f1(0x14)](),_0x58f7f8=()=>{const _0x186865=_0x445916[_0x54f1(0x15)](_0x488049['now'](),_0x105e32),_0x36cb2c=_0x2b653d[_0x54f1(0x16)](_0x445916[_0x54f1(0x17)](_0x186865,_0x456529),0x1),_0x23dcab=_0x445916['UzOMg'](_0x36cb2c,0.5)?_0x445916[_0x54f1(0x18)](_0x445916[_0x54f1(0x18)](0x2,_0x36cb2c),_0x36cb2c):-0x1+_0x445916[_0x54f1(0x19)](_0x445916[_0x54f1(0x1a)](0x4,_0x445916[_0x54f1(0x1b)](0x2,_0x36cb2c)),_0x36cb2c),_0x29ed60=_0x445916[_0x54f1(0x1c)](_0x5e8b1f,_0x445916['bqzeh'](_0x445916[_0x54f1(0x15)](_0x501b95,_0x5e8b1f),_0x23dcab));_0x2a4194[_0x54f1(0xf)]=_0x29ed60,_0x445916['AcoVd'](_0x2fd791,_0x29ed60),_0x36cb2c<0x1?_0x160bff['current']=_0x445916[_0x54f1(0x1d)](_0x549756,_0x58f7f8):_0x1c4e36[_0x54f1(0xf)]=null;};_0x5580c7[_0x54f1(0xf)]=_0x1663e8(_0x58f7f8);}}if(_0x3f63e4[_0x54f1(0x1e)](_0x58538b['current'],_0x2fbe4b)){if(_0x3f63e4[_0x54f1(0x1f)]===_0x3f63e4[_0x54f1(0x20)])_0x455436[_0x54f1(0xf)]=_0x3f63e4[_0x54f1(0x9)](_0x2b67df,_0x13a357);else return;}_0x3f63e4['otnNs'](_0x45d57a[_0x54f1(0xf)],null)&&(_0x3f63e4[_0x54f1(0x21)](cancelAnimationFrame,_0x45d57a[_0x54f1(0xf)]),_0x45d57a[_0x54f1(0xf)]=null);_0x3f63e4[_0x54f1(0x22)](_0x45e821[_0x54f1(0xf)],null)&&(_0x3f63e4[_0x54f1(0x23)](_0x3f63e4['iqMoN'],_0x3f63e4[_0x54f1(0x24)])?(_0x3f63e4[_0x54f1(0x25)](clearTimeout,_0x45e821[_0x54f1(0xf)]),_0x45e821[_0x54f1(0xf)]=null):_0x2d1b5b[_0x54f1(0xf)]=null);const _0x42dfd3=0x96,_0x10168b=0xc80;return _0x45e821[_0x54f1(0xf)]=_0x3f63e4[_0x54f1(0x26)](setTimeout,()=>{const _0x9a5565={'RXacl':function(_0x3b3bef,_0x434715){return _0x3f63e4[_0x54f1(0x27)](_0x3b3bef,_0x434715);},'wMVdq':function(_0x48699d,_0x4e1ed9){return _0x3f63e4[_0x54f1(0x28)](_0x48699d,_0x4e1ed9);},'FrKEA':function(_0x49caf1,_0x321779){return _0x3f63e4[_0x54f1(0xb)](_0x49caf1,_0x321779);},'QUWwU':function(_0x99f587,_0x13db9a){return _0x3f63e4[_0x54f1(0x29)](_0x99f587,_0x13db9a);},'dAajt':function(_0x5c095c,_0x139e93){return _0x3f63e4[_0x54f1(0x2a)](_0x5c095c,_0x139e93);},'nvVwg':function(_0x2e4f77,_0x4ce22a){return _0x3f63e4[_0x54f1(0x2b)](_0x2e4f77,_0x4ce22a);},'xTVOW':function(_0x527f64,_0x4dd7df){return _0x3f63e4[_0x54f1(0x9)](_0x527f64,_0x4dd7df);},'QECjO':function(_0x3246c0,_0x964679){return _0x3246c0<_0x964679;},'IxbFA':function(_0x58c9cc,_0x54d0ea){return _0x3f63e4['nsiAm'](_0x58c9cc,_0x54d0ea);}};if(_0x3f63e4[_0x54f1(0x1e)](_0x3f63e4['Ftfru'],_0x3f63e4[_0x54f1(0x2c)])){const _0x3df1cc=_0x1877e8[_0x54f1(0xf)],_0x106db9=Date[_0x54f1(0x14)](),_0x3d7d25=()=>{const _0x623e65=_0x9a5565[_0x54f1(0x2d)](Date['now'](),_0x106db9),_0x3a4df8=Math[_0x54f1(0x16)](_0x9a5565[_0x54f1(0x2e)](_0x623e65,_0x10168b),0x1),_0x142669=_0x9a5565[_0x54f1(0x2f)](_0x3a4df8,0.5)?_0x9a5565[_0x54f1(0x30)](_0x9a5565[_0x54f1(0x30)](0x2,_0x3a4df8),_0x3a4df8):_0x9a5565[_0x54f1(0x31)](-0x1,_0x9a5565[_0x54f1(0x32)](0x4,_0x9a5565[_0x54f1(0x30)](0x2,_0x3a4df8))*_0x3a4df8),_0x40d359=_0x3df1cc+(_0x2f802e-_0x3df1cc)*_0x142669;_0x1877e8[_0x54f1(0xf)]=_0x40d359,_0x9a5565['xTVOW'](_0x59adeb,_0x40d359),_0x9a5565[_0x54f1(0x33)](_0x3a4df8,0x1)?_0x45d57a[_0x54f1(0xf)]=_0x9a5565[_0x54f1(0x34)](requestAnimationFrame,_0x3d7d25):_0x45d57a[_0x54f1(0xf)]=null;};_0x45d57a[_0x54f1(0xf)]=_0x3f63e4['WFKuV'](requestAnimationFrame,_0x3d7d25);}else _0x9a5565[_0x54f1(0x35)](_0x37080c,_0x756d2f[_0x54f1(0xf)]),_0x59a248['current']=null;},_0x42dfd3),_0x58538b[_0x54f1(0xf)]=_0x2fbe4b,()=>{if(_0x3f63e4[_0x54f1(0x36)](_0x45d57a['current'],null)){if(_0x3f63e4['wlwCJ'](_0x3f63e4['UOhzO'],_0x3f63e4['UOhzO'])){_0x400dab[_0x54f1(0xf)]=_0x529874,_0x445916[_0x54f1(0x1d)](_0xe00a4f,_0x28d3e8),_0xa3791d[_0x54f1(0xf)]=_0x10943d;return;}else _0x3f63e4[_0x54f1(0x37)](cancelAnimationFrame,_0x45d57a[_0x54f1(0xf)]),_0x45d57a[_0x54f1(0xf)]=null;}_0x45e821[_0x54f1(0xf)]!==null&&(_0x3f63e4[_0x54f1(0x1e)](_0x3f63e4[_0x54f1(0x38)],_0x54f1(0x39))?(_0x445916[_0x54f1(0x1d)](_0x2c8105,_0x48a2b8[_0x54f1(0xf)]),_0x519476[_0x54f1(0xf)]=null):(_0x3f63e4[_0x54f1(0xa)](clearTimeout,_0x45e821['current']),_0x45e821[_0x54f1(0xf)]=null));};},[_0x2fbe4b,disableAnimation]),React['createElement'](View,{'style':[styles['container'],_0x293194]},React[_0x54f1(0x3a)](_0x1e114d,{'ref':_0x5e4ff0,'source':ANIMATIONS['persona'],'progress':_0x5037d2,'loop':![],'autoPlay':![],'style':styles['animation'],'resizeMode':_0x54f1(0x3b)}));},styles=StyleSheet[_0x54f1(0x3c)]({'container':{'width':0xc8,'height':0xc8,'alignItems':_0x54f1(0x3d),'justifyContent':_0x54f1(0x3d)},'animation':{'width':_0x54f1(0x3e),'height':'100%'}});function _0x92c2(){const _0xd6c23c=['YDmEv','SFBbP','ibBxU','uUmTN','vIXyX','zPKBS','dtbpR','IfMwO','hZyop','nsiAm','ORqca','NEZLf','ruxJz','PumFz','UJIrn','current','3|0|2|1|4','split','SxxMQ','CzlHH','now','WFejG','min','ZwMkM','UECpe','bqzeh','LkbZa','olMqP','OPGBw','CjOKg','OdibA','qMUUU','mFnOs','fVPlZ','EqTaV','xpVzB','sIuZq','AfyTY','AkjFt','cLchS','UqZBa','eKuRf','fJLOr','NBDKz','Ftfru','RXacl','wMVdq','FrKEA','QUWwU','dAajt','nvVwg','QECjO','IxbFA','xTVOW','wlwCJ','WFKuV','uNOkf','EIKWb','createElement','contain','create','center','100%'];_0x92c2=function(){return _0xd6c23c;};return _0x92c2();}export default PersonaImage;
1
+ function _0x1173(_0x515eb1,_0x1173a4){_0x515eb1=_0x515eb1-0x0;const _0x207a9e=_0x515e();let _0x513e59=_0x207a9e[_0x515eb1];return _0x513e59;}import React,{useEffect,useRef,useState}from'react';import{View,StyleSheet}from'react-native';function _0x515e(){const _0x483252=['mBkwV','hXwwG','cuVSj','sDZBt','wDCcv','QARRA','kjMFo','hYHBi','jjtsT','ZEOcI','IoDoq','EocGh','split','current','GRmHe','rsBIK','nVAAD','iBfKc','Xloxz','vbJUw','mosSG','fwkvI','hFLbP','now','xyiyb','min','moJmz','WUqBh','bvLzh','eoKnE','IusEC','gBOoY','Tqkvm','createElement','container','persona','animation','contain','create','center','100%'];_0x515e=function(){return _0x483252;};return _0x515e();}import _0x7cb43f from'lottie-react-native';import{ANIMATIONS}from'../utils/assetRegistry';const PersonaImage=({level:_0x570527,style:_0x44b89c,disableAnimation:disableAnimation=![]})=>{const _0x5bdd0f={'sDZBt':function(_0x5e071b,_0x10a697){return _0x5e071b(_0x10a697);},'nVAAD':function(_0x31dde3,_0x4da49c){return _0x31dde3!==_0x4da49c;},'Tqkvm':function(_0x29d731,_0x528c0){return _0x29d731!==_0x528c0;},'hYHBi':function(_0x128d29,_0x1a54d1){return _0x128d29/_0x1a54d1;},'jjtsT':function(_0x18010d,_0x25ff6f){return _0x18010d*_0x25ff6f;},'hXwwG':function(_0x541f70,_0x5e2ca7){return _0x541f70(_0x5e2ca7);},'ZEOcI':'MXIxn','IoDoq':_0x1173(0x0),'EocGh':'2|0|4|1|3','cuVSj':function(_0x576d9e,_0x1fa4f3){return _0x576d9e(_0x1fa4f3);},'GRmHe':function(_0x85102a,_0x43e896){return _0x85102a===_0x43e896;},'rsBIK':function(_0x3bd969,_0x61ef75){return _0x3bd969(_0x61ef75);},'wDCcv':function(_0x52d137,_0x234c1c){return _0x52d137(_0x234c1c);},'QARRA':function(_0x49a9f8,_0x3599e2){return _0x49a9f8(_0x3599e2);},'kjMFo':function(_0x2fcd5,_0x49c710,_0x1f20d0){return _0x2fcd5(_0x49c710,_0x1f20d0);}},_0x27b271=_0x5bdd0f[_0x1173(0x1)](useRef,null),_0x1030d9=[0x0,0.2,0.35,0.52,0.8],_0x36346e=_0x357e7d=>_0x1030d9[_0x357e7d-0x1]||0x0,[_0x524660,_0x5b0db6]=_0x5bdd0f[_0x1173(0x2)](useState,_0x36346e(_0x570527)),_0x18df36=_0x5bdd0f['wDCcv'](useRef,_0x5bdd0f[_0x1173(0x3)](_0x36346e,_0x570527)),_0x53c834=_0x5bdd0f[_0x1173(0x4)](useRef,_0x570527),_0x99106=_0x5bdd0f['cuVSj'](useRef,null),_0x539a54=useRef(null),_0x14b3cc=_0x5bdd0f[_0x1173(0x5)](useRef,!![]);return _0x5bdd0f[_0x1173(0x6)](useEffect,()=>{const _0x4d623c={'iBfKc':function(_0x3f454d,_0x3b5681){return _0x3f454d-_0x3b5681;},'Xloxz':function(_0x345bf6,_0x5f0567){return _0x5bdd0f[_0x1173(0x7)](_0x345bf6,_0x5f0567);},'vbJUw':function(_0x1e8ed4,_0x2e7d69){return _0x5bdd0f[_0x1173(0x8)](_0x1e8ed4,_0x2e7d69);},'mosSG':function(_0xcb5e6,_0x59e771){return _0x5bdd0f[_0x1173(0x8)](_0xcb5e6,_0x59e771);},'fwkvI':function(_0x37b16b,_0x27830c){return _0x5bdd0f[_0x1173(0x1)](_0x37b16b,_0x27830c);},'hFLbP':function(_0x527473,_0x363e93){return _0x5bdd0f['sDZBt'](_0x527473,_0x363e93);}};if(_0x5bdd0f[_0x1173(0x9)]===_0x5bdd0f[_0x1173(0xa)])_0x26f390['current']=_0x5bdd0f[_0x1173(0x3)](_0x178c5c,_0x205666);else{const _0x3623f1=_0x5bdd0f[_0x1173(0x3)](_0x36346e,_0x570527);if(_0x14b3cc['current']){const _0x39de3f=_0x5bdd0f[_0x1173(0xb)][_0x1173(0xc)]('|');let _0x41ab21=0x0;while(!![]){switch(_0x39de3f[_0x41ab21++]){case'0':_0x5bdd0f[_0x1173(0x3)](_0x5b0db6,_0x3623f1);continue;case'1':_0x14b3cc[_0x1173(0xd)]=![];continue;case'2':_0x18df36['current']=_0x3623f1;continue;case'3':return;case'4':_0x53c834[_0x1173(0xd)]=_0x570527;continue;}break;}}if(disableAnimation){_0x18df36[_0x1173(0xd)]=_0x3623f1,_0x5bdd0f[_0x1173(0x2)](_0x5b0db6,_0x3623f1),_0x53c834[_0x1173(0xd)]=_0x570527;return;}if(_0x5bdd0f[_0x1173(0xe)](_0x53c834['current'],_0x570527))return;_0x5bdd0f['Tqkvm'](_0x99106[_0x1173(0xd)],null)&&(_0x5bdd0f[_0x1173(0xf)](cancelAnimationFrame,_0x99106[_0x1173(0xd)]),_0x99106[_0x1173(0xd)]=null);_0x5bdd0f[_0x1173(0x10)](_0x539a54[_0x1173(0xd)],null)&&(_0x5bdd0f['hXwwG'](clearTimeout,_0x539a54[_0x1173(0xd)]),_0x539a54[_0x1173(0xd)]=null);const _0x244220=0x96,_0x4c2717=0xc80;return _0x539a54[_0x1173(0xd)]=setTimeout(()=>{const _0x22090f={'xyiyb':function(_0x396c3f,_0x4fe3d4){return _0x4d623c[_0x1173(0x11)](_0x396c3f,_0x4fe3d4);},'moJmz':function(_0x7d6bd1,_0x3f4cdb){return _0x4d623c[_0x1173(0x12)](_0x7d6bd1,_0x3f4cdb);},'WUqBh':function(_0x517b11,_0x4d4db9){return _0x517b11<_0x4d4db9;},'bvLzh':function(_0x451f84,_0x227034){return _0x4d623c['vbJUw'](_0x451f84,_0x227034);},'eoKnE':function(_0x5d73d1,_0x129ac8){return _0x4d623c[_0x1173(0x13)](_0x5d73d1,_0x129ac8);},'uceiW':function(_0x5e1da5,_0x30b856){return _0x4d623c[_0x1173(0x11)](_0x5e1da5,_0x30b856);},'IusEC':function(_0x629ca6,_0x526e11){return _0x4d623c[_0x1173(0x14)](_0x629ca6,_0x526e11);},'VHsfQ':function(_0x4e384f,_0x5d9644){return _0x4d623c[_0x1173(0x15)](_0x4e384f,_0x5d9644);},'gBOoY':function(_0x22b1bc,_0x1cb5bf){return _0x4d623c[_0x1173(0x16)](_0x22b1bc,_0x1cb5bf);}},_0x16459a=_0x18df36[_0x1173(0xd)],_0x1df76b=Date[_0x1173(0x17)](),_0x18aec6=()=>{const _0x35f8d0=_0x22090f[_0x1173(0x18)](Date[_0x1173(0x17)](),_0x1df76b),_0x20c0cf=Math[_0x1173(0x19)](_0x22090f[_0x1173(0x1a)](_0x35f8d0,_0x4c2717),0x1),_0x381681=_0x22090f[_0x1173(0x1b)](_0x20c0cf,0.5)?_0x22090f[_0x1173(0x1c)](0x2*_0x20c0cf,_0x20c0cf):-0x1+_0x22090f[_0x1173(0x1d)](_0x22090f['uceiW'](0x4,0x2*_0x20c0cf),_0x20c0cf),_0x2b0ce2=_0x16459a+_0x22090f[_0x1173(0x1e)](_0x22090f[_0x1173(0x18)](_0x3623f1,_0x16459a),_0x381681);_0x18df36[_0x1173(0xd)]=_0x2b0ce2,_0x22090f['VHsfQ'](_0x5b0db6,_0x2b0ce2),_0x20c0cf<0x1?_0x99106[_0x1173(0xd)]=_0x22090f[_0x1173(0x1f)](requestAnimationFrame,_0x18aec6):_0x99106['current']=null;};_0x99106['current']=_0x4d623c[_0x1173(0x16)](requestAnimationFrame,_0x18aec6);},_0x244220),_0x53c834[_0x1173(0xd)]=_0x570527,()=>{_0x5bdd0f[_0x1173(0x10)](_0x99106['current'],null)&&(cancelAnimationFrame(_0x99106[_0x1173(0xd)]),_0x99106[_0x1173(0xd)]=null),_0x5bdd0f[_0x1173(0x20)](_0x539a54[_0x1173(0xd)],null)&&(_0x5bdd0f['sDZBt'](clearTimeout,_0x539a54['current']),_0x539a54['current']=null);};}},[_0x570527,disableAnimation]),React[_0x1173(0x21)](View,{'style':[styles[_0x1173(0x22)],_0x44b89c]},React[_0x1173(0x21)](_0x7cb43f,{'ref':_0x27b271,'source':ANIMATIONS[_0x1173(0x23)],'progress':_0x524660,'loop':![],'autoPlay':![],'style':styles[_0x1173(0x24)],'resizeMode':_0x1173(0x25)}));},styles=StyleSheet[_0x1173(0x26)]({'container':{'width':0xc8,'height':0xc8,'alignItems':_0x1173(0x27),'justifyContent':'center'},'animation':{'width':_0x1173(0x28),'height':_0x1173(0x28)}});export default PersonaImage;
@@ -1 +1 @@
1
- import React,{useEffect,useRef,useState}from'react';import{View,Text,StyleSheet,Animated}from'react-native';import _0x3e7f25 from'lottie-react-native';function _0x467f(_0x105bbc,_0x467f59){_0x105bbc=_0x105bbc-0x0;const _0x55b821=_0x105b();let _0x11f082=_0x55b821[_0x105bbc];return _0x11f082;}function _0x105b(){const _0x434c43=['You\x27re\x20more\x20interesting\x20than\x20I\x20expected','Finalizing\x20your\x20unique\x20persona','Almost\x20done','Complete!','YxYeO','NNBFF','xeDOL','floor','ydfqg','QFdIA','OyBIl','izndN','CgYri','NRimZ','Keeping\x20your\x20data\x20private','short','medium','QjpZP','Mzwdl','contain','100%','current','mvPkB','Value','AcYUz','RWeGT','rrbMB','zWhgt','itNAi','gXrQu','UidyQ','CeWnU','qUnSy','CmJWI','LfQJL','VqBHY','JiblP','start','loop','sequence','timing','vMLEg','VTVsB','iuHIe','minProgress','maxProgress','push','text','lYlhu','dkdWp','LDoSq','bDtOh','TdOnm','CiDKp','UpuJK','forEach','WzTLm','dClMa','uyvxu','bJmLP','WhFcx','rzslw','dOUJc','kuXJG','setValue','oVvGY','NYrPl','RnUPV','dgylP','lzEGT','SANml','max','sort','JCPkl','KdoKc','ySPVj','KDotX','zHWuF','lTaVI','RLQcX','BYhhl','GJcsW','IxaaG','QWgQa','BruLu','PYDLR','map','qOOEc','skOuV','length','BApoh','progress','message','TjeZV','SUCCESS','SFhkF','RdgoD','GTBWD','Mdbag','HrmUR','rqIFB','UAghF','UFmOq','kjGAM','createElement','container','content','lottieContainer','loader','lottieAnimation','ECKBX','textContainer','loadingText','dotsContainer','Text','dot','View','progressFill','interpolate','create','surface','center','row','600','grey800','IBM\x20Plex\x20Sans','hidden'];_0x105b=function(){return _0x434c43;};return _0x105b();}import{COLORS}from'../theme';import{triggerHaptic,HapticType}from'../utils/haptics';import{ANIMATIONS}from'../utils/assetRegistry';const STATUS_MESSAGES=[{'text':'Keeping\x20your\x20data\x20private','minProgress':0x0,'maxProgress':0x19},{'text':'Trying\x20to\x20understand\x20your\x20mind','minProgress':0x14,'maxProgress':0x2d},{'text':_0x467f(0x0),'minProgress':0x28,'maxProgress':0x41},{'text':_0x467f(0x1),'minProgress':0x3c,'maxProgress':0x55},{'text':_0x467f(0x2),'minProgress':0x50,'maxProgress':0x5f},{'text':_0x467f(0x3),'minProgress':0x64,'maxProgress':0x64}],randomInRange=(_0x67d08,_0x49c75b)=>{const _0x28ea40={'YxYeO':function(_0x4622a1,_0x1b44cf){return _0x4622a1+_0x1b44cf;},'NNBFF':function(_0x1c609b,_0x4c0fe6){return _0x1c609b*_0x4c0fe6;},'xeDOL':function(_0x49234c,_0x4ef7a5){return _0x49234c-_0x4ef7a5;}};return _0x28ea40[_0x467f(0x4)](_0x28ea40[_0x467f(0x5)](Math['random'](),_0x28ea40[_0x467f(0x6)](_0x49c75b,_0x67d08)),_0x67d08);},randomIntInRange=(_0x373ccf,_0x202a99)=>{const _0xd62a76={'ydfqg':function(_0x3f8258,_0x437782,_0x38ae43){return _0x3f8258(_0x437782,_0x38ae43);},'QFdIA':function(_0x3a05c7,_0x3081e6){return _0x3a05c7+_0x3081e6;}};return Math[_0x467f(0x7)](_0xd62a76[_0x467f(0x8)](randomInRange,_0x373ccf,_0xd62a76[_0x467f(0x9)](_0x202a99,0x1)));},PersonaLoadingScreen=({visible:_0x51c16a,onComplete:_0x4f7b47})=>{const _0x3fcc3e={'UidyQ':function(_0x2a0a51,_0x451b0a){return _0x2a0a51!==_0x451b0a;},'VqBHY':'DmHia','zWhgt':function(_0x20bd87,_0x3d4c81,_0x132129){return _0x20bd87(_0x3d4c81,_0x132129);},'itNAi':function(_0x23c6a6,_0x346ecf){return _0x23c6a6===_0x346ecf;},'gXrQu':function(_0x50d188,_0x37bd0e,_0x3b36b0){return _0x50d188(_0x37bd0e,_0x3b36b0);},'qUnSy':'FFGkr','CmJWI':'HcpVn','LfQJL':_0x467f(0xa),'dOUJc':function(_0x1eef8d,_0x106393){return _0x1eef8d(_0x106393);},'qOOEc':function(_0x2912f8){return _0x2912f8();},'lTaVI':function(_0x2f7237,_0x4f73ab){return _0x2f7237!==_0x4f73ab;},'skOuV':_0x467f(0xb),'SFhkF':function(_0x2088a7,_0x33a216){return _0x2088a7===_0x33a216;},'RdgoD':_0x467f(0xc),'GTBWD':function(_0x3b9f55,_0x221623,_0x428207){return _0x3b9f55(_0x221623,_0x428207);},'Ertfq':function(_0x428c05,_0x35f4ce){return _0x428c05-_0x35f4ce;},'dClMa':function(_0x46286a,_0x1220fe){return _0x46286a*_0x1220fe;},'uyvxu':function(_0x48b97d,_0x5dc40c){return _0x48b97d+_0x5dc40c;},'bJmLP':function(_0x2931c3,_0x26c6e1){return _0x2931c3<_0x26c6e1;},'nApzU':function(_0x3e51a2){return _0x3e51a2();},'WhFcx':function(_0x39f1ab,_0x925dec){return _0x39f1ab>=_0x925dec;},'rzslw':_0x467f(0xd),'kuXJG':_0x467f(0xe),'oVvGY':function(_0x12e2c0,_0x165d3d,_0x1e38c2){return _0x12e2c0(_0x165d3d,_0x1e38c2);},'NYrPl':function(_0x4c0f3f,_0x109242){return _0x4c0f3f-_0x109242;},'RnUPV':function(_0x249ff7,_0x42d0d9){return _0x249ff7+_0x42d0d9;},'dgylP':function(_0x5b815b,_0x432985){return _0x5b815b/_0x432985;},'lzEGT':function(_0x2b1b2f,_0x4c89c9){return _0x2b1b2f+_0x4c89c9;},'SANml':function(_0x226ca9,_0x429f72){return _0x226ca9*_0x429f72;},'zHWuF':_0x467f(0xf),'JCPkl':_0x467f(0x10),'KdoKc':'long','ySPVj':_0x467f(0x11),'KDotX':function(_0x122af0,_0x3560e6,_0x10a850){return _0x122af0(_0x3560e6,_0x10a850);},'Xzdjr':_0x467f(0x12),'QWgQa':function(_0x50137c,_0x1398a6,_0x3b62af){return _0x50137c(_0x1398a6,_0x3b62af);},'BruLu':function(_0x36bc26,_0x16e3b9){return _0x36bc26===_0x16e3b9;},'PYDLR':function(_0xa55f75,_0x4ae6ed,_0x5e6e26){return _0xa55f75(_0x4ae6ed,_0x5e6e26);},'pamWp':function(_0x3b3484,_0x3440cc){return _0x3b3484<=_0x3440cc;},'HrmUR':function(_0xbf7954,_0x1ed114,_0x5ce168){return _0xbf7954(_0x1ed114,_0x5ce168);},'mvPkB':function(_0x7d66eb,_0xb0717c){return _0x7d66eb(_0xb0717c);},'AcYUz':function(_0x587648,_0x243916){return _0x587648(_0x243916);},'RWeGT':function(_0x219914,_0x501923){return _0x219914(_0x501923);},'BFIGc':function(_0x2f5d42,_0x5e839e){return _0x2f5d42(_0x5e839e);},'rrbMB':function(_0x1c457a,_0x2ef430,_0xefae72){return _0x1c457a(_0x2ef430,_0xefae72);},'WzTLm':function(_0x50ab9f,_0x45d8d0,_0x3a8f9f){return _0x50ab9f(_0x45d8d0,_0x3a8f9f);},'ECKBX':_0x467f(0x13),'LOnhu':_0x467f(0x14)},_0x13c653=useRef(new Animated['Value'](0x0))[_0x467f(0x15)],_0x3bda46=_0x3fcc3e[_0x467f(0x16)](useRef,new Animated[(_0x467f(0x17))](0.3))[_0x467f(0x15)],_0x6c3f35=_0x3fcc3e[_0x467f(0x18)](useRef,new Animated['Value'](0.3))[_0x467f(0x15)],_0x30d637=_0x3fcc3e[_0x467f(0x19)](useRef,new Animated['Value'](0.3))[_0x467f(0x15)],[_0xa25950,_0x501107]=_0x3fcc3e[_0x467f(0x19)](useState,0x0),[_0x4d2c84,_0x45eeb8]=useState('Keeping\x20your\x20data\x20private'),_0x57918a=_0x3fcc3e['BFIGc'](useRef,[]);_0x3fcc3e[_0x467f(0x1a)](useEffect,()=>{const _0x5835a6={'JiblP':function(_0x14cf93,_0x29486c,_0x508bea){return _0x3fcc3e[_0x467f(0x1b)](_0x14cf93,_0x29486c,_0x508bea);},'vMLEg':function(_0x111a08,_0xad01c9){return _0x3fcc3e[_0x467f(0x1c)](_0x111a08,_0xad01c9);},'VTVsB':'fCJcZ','iuHIe':function(_0x162c02,_0x3b0d73,_0x492db){return _0x3fcc3e[_0x467f(0x1d)](_0x162c02,_0x3b0d73,_0x492db);},'lYlhu':function(_0x298e60,_0x446adc,_0x3f4d9b){return _0x3fcc3e[_0x467f(0x1b)](_0x298e60,_0x446adc,_0x3f4d9b);},'dkdWp':function(_0x24b7a8,_0x370e93){return _0x3fcc3e[_0x467f(0x1e)](_0x24b7a8,_0x370e93);},'LDoSq':_0x467f(0x1f),'bDtOh':_0x3fcc3e[_0x467f(0x20)],'UpuJK':_0x3fcc3e[_0x467f(0x21)]};if(_0x3fcc3e['itNAi'](_0x3fcc3e[_0x467f(0x22)],_0x3fcc3e[_0x467f(0x22)])){if(!_0x51c16a)return;const _0x3aa6cc=(_0xaa301e,_0x5c688b)=>{if(_0x3fcc3e[_0x467f(0x1e)](_0x3fcc3e['VqBHY'],_0x3fcc3e[_0x467f(0x23)]))_0x5835a6[_0x467f(0x24)](_0x540a03,_0x52c783,0xc8)[_0x467f(0x25)]();else return Animated[_0x467f(0x26)](Animated[_0x467f(0x27)]([Animated[_0x467f(0x28)](_0xaa301e,{'toValue':0x1,'duration':0x258,'useNativeDriver':!![]}),Animated['timing'](_0xaa301e,{'toValue':0.3,'duration':0x258,'useNativeDriver':!![]})]),{'iterations':-0x1});};setTimeout(()=>{if(_0x5835a6[_0x467f(0x29)](_0x5835a6[_0x467f(0x2a)],_0x5835a6[_0x467f(0x2a)]))_0x5835a6[_0x467f(0x2b)](_0x3aa6cc,_0x3bda46,0x0)[_0x467f(0x25)]();else{const _0x4088fe=_0x5835a6[_0x467f(0x24)](_0x41f4be,_0xde275b[_0x467f(0x2c)],_0x5989e1[_0x467f(0x2d)]);_0x3425d1[_0x467f(0x2e)]({'progress':_0x4088fe,'message':_0x7c06f2[_0x467f(0x2f)]});}},0x12c),setTimeout(()=>{const _0x555747={'TdOnm':function(_0x1a75c6,_0x33c261){return _0x5835a6[_0x467f(0x29)](_0x1a75c6,_0x33c261);},'hicmc':function(_0xb35cc9,_0x360366,_0x56ff75){return _0x5835a6[_0x467f(0x30)](_0xb35cc9,_0x360366,_0x56ff75);}};if(_0x5835a6[_0x467f(0x31)](_0x5835a6[_0x467f(0x32)],_0x5835a6[_0x467f(0x33)]))_0x3aa6cc(_0x6c3f35,0xc8)[_0x467f(0x25)]();else{if(_0x555747[_0x467f(0x34)](_0x2666c9['minProgress'],0x64))_0x48bab2['push']({'progress':0x64,'message':_0x39b2f1[_0x467f(0x2f)]});else{const _0x263f89=_0x555747['hicmc'](_0x55c0a3,_0x3c3ac9[_0x467f(0x2c)],_0x548da8[_0x467f(0x2d)]);_0x58b729[_0x467f(0x2e)]({'progress':_0x263f89,'message':_0x38a7bb[_0x467f(0x2f)]});}}},0x1f4),setTimeout(()=>{_0x467f(0x35)!==_0x5835a6[_0x467f(0x36)]?_0x3aa6cc(_0x30d637,0x190)[_0x467f(0x25)]():(_0x5dfa5e['current'][_0x467f(0x37)](_0x5ad55d=>_0x562d67(_0x5ad55d)),_0x3a1b71[_0x467f(0x15)]=[]);},0x2bc);}else _0x68a428=_0x2ea1a1(0x320,0x4b0);},[_0x51c16a,_0x3bda46,_0x6c3f35,_0x30d637]),_0x3fcc3e[_0x467f(0x38)](useEffect,()=>{const _0x451f38={'QlboR':function(_0x2ebbdc,_0x228db0){return _0x3fcc3e['Ertfq'](_0x2ebbdc,_0x228db0);},'RLQcX':function(_0x22f79d,_0x1a4470){return _0x3fcc3e[_0x467f(0x39)](_0x22f79d,_0x1a4470);},'BYhhl':function(_0x4c692f,_0x4f9997){return _0x3fcc3e[_0x467f(0x3a)](_0x4c692f,_0x4f9997);},'GJcsW':function(_0x7d3c9b,_0x18950d){return _0x7d3c9b/_0x18950d;},'IxaaG':function(_0x18ec2c,_0x5f0abd,_0x1bcf46){return _0x3fcc3e[_0x467f(0x1b)](_0x18ec2c,_0x5f0abd,_0x1bcf46);},'tVDtK':function(_0x36f5cc,_0x4144aa){return _0x3fcc3e[_0x467f(0x3b)](_0x36f5cc,_0x4144aa);},'BApoh':function(_0x9886a1,_0x97d05f){return _0x9886a1>=_0x97d05f;},'rqIFB':function(_0x39a75e,_0x2c5fe4){return _0x39a75e(_0x2c5fe4);},'TjeZV':function(_0x92835a,_0xe94aa,_0x3f9dac){return _0x92835a(_0xe94aa,_0x3f9dac);},'kjGAM':function(_0x4af455){return _0x3fcc3e['nApzU'](_0x4af455);},'UAghF':function(_0xb92fd8,_0xfec1f3){return _0x3fcc3e[_0x467f(0x3c)](_0xb92fd8,_0xfec1f3);},'UFmOq':function(_0x1140ea,_0x78b653,_0x7a77f6){return _0x3fcc3e[_0x467f(0x1b)](_0x1140ea,_0x78b653,_0x7a77f6);}};if(_0x3fcc3e[_0x467f(0x1e)]('NRimZ',_0x3fcc3e[_0x467f(0x3d)]))_0xdd40ed=_0x3fcc3e[_0x467f(0x1d)](_0x37b2d0,0xfa,0x1f4);else{if(!_0x51c16a){_0x57918a[_0x467f(0x15)]['forEach'](_0x5796be=>clearTimeout(_0x5796be)),_0x57918a[_0x467f(0x15)]=[];return;}_0x3fcc3e[_0x467f(0x3e)](_0x501107,0x0),_0x3fcc3e[_0x467f(0x3e)](_0x45eeb8,_0x3fcc3e[_0x467f(0x3f)]),_0x13c653[_0x467f(0x40)](0x0);const _0x24b87b=_0x3fcc3e[_0x467f(0x1b)](randomInRange,0x1b58,0x2ee0),_0x1a13ff=_0x3fcc3e[_0x467f(0x41)](randomIntInRange,0x5,0x8),_0x144bfa=[0x0];for(let _0x1f4dca=0x0;_0x3fcc3e['bJmLP'](_0x1f4dca,_0x3fcc3e['Ertfq'](_0x1a13ff,0x1));_0x1f4dca++){const _0x3b1a58=_0x3fcc3e[_0x467f(0x42)](_0x3fcc3e[_0x467f(0x39)](_0x3fcc3e[_0x467f(0x43)](_0x1f4dca,0x1),_0x3fcc3e[_0x467f(0x44)](0x64,_0x1a13ff)),0xa),_0x5c99f7=_0x3fcc3e[_0x467f(0x45)](_0x3fcc3e[_0x467f(0x46)](_0x1f4dca+0x1,_0x3fcc3e[_0x467f(0x44)](0x64,_0x1a13ff)),0xa);_0x144bfa[_0x467f(0x2e)](_0x3fcc3e[_0x467f(0x41)](randomIntInRange,Math[_0x467f(0x47)](0xa,_0x3b1a58),Math['min'](0x5a,_0x5c99f7)));}_0x144bfa[_0x467f(0x2e)](0x64),_0x144bfa[_0x467f(0x48)]((_0x1e3b54,_0x82a548)=>_0x1e3b54-_0x82a548);const _0x5def71=[_0x3fcc3e['zHWuF'],_0x3fcc3e[_0x467f(0x49)],_0x3fcc3e[_0x467f(0x4a)]],_0x544257=[];let _0x337cc7=0x0;for(let _0x2f6bb0=0x0;_0x2f6bb0<_0x1a13ff;_0x2f6bb0++){if(_0x3fcc3e[_0x467f(0x1c)](_0x3fcc3e[_0x467f(0x4b)],_0x3fcc3e['ySPVj'])){const _0x2566dc=_0x5def71[_0x3fcc3e[_0x467f(0x4c)](randomIntInRange,0x0,0x2)];let _0x247f63;if(_0x3fcc3e[_0x467f(0x1c)](_0x2566dc,_0x3fcc3e[_0x467f(0x4d)])){if(_0x3fcc3e[_0x467f(0x4e)](_0x3fcc3e['Xzdjr'],_0x3fcc3e['Xzdjr'])){const _0x32bc02=_0x451f38['QlboR'](_0x451f38[_0x467f(0x4f)](_0x451f38[_0x467f(0x50)](_0x3f9960,0x1),_0x451f38[_0x467f(0x51)](0x64,_0x1c208b)),0xa),_0x5731e6=_0x451f38['BYhhl'](_0x451f38[_0x467f(0x50)](_0xc086eb,0x1)*_0x451f38[_0x467f(0x51)](0x64,_0x2477a8),0xa);_0x95af09[_0x467f(0x2e)](_0x451f38[_0x467f(0x52)](_0xbe3068,_0x24ec31['max'](0xa,_0x32bc02),_0x2e9be3['min'](0x5a,_0x5731e6)));}else _0x247f63=_0x3fcc3e[_0x467f(0x53)](randomInRange,0xfa,0x1f4);}else _0x3fcc3e[_0x467f(0x54)](_0x2566dc,_0x3fcc3e['JCPkl'])?_0x247f63=_0x3fcc3e[_0x467f(0x55)](randomInRange,0x1f4,0x320):_0x247f63=_0x3fcc3e[_0x467f(0x41)](randomInRange,0x320,0x4b0);_0x544257[_0x467f(0x2e)](_0x247f63),_0x337cc7+=_0x247f63;}else{_0x2ff58e['current']['forEach'](_0x30770e=>_0x4397d0(_0x30770e)),_0x580fef[_0x467f(0x15)]=[];return;}}const _0x3da61d=0x190,_0x31007d=_0x3fcc3e[_0x467f(0x39)](_0x1a13ff,_0x3da61d),_0x36b033=_0x24b87b-_0x31007d,_0x375aa3=_0x36b033/_0x337cc7,_0x52b1ce=_0x544257[_0x467f(0x56)](_0x2cf91e=>_0x2cf91e*_0x375aa3),_0x4f0e30=[];STATUS_MESSAGES[_0x467f(0x37)](_0x27684d=>{const _0x1afd3e={'SeDum':function(_0x22880c,_0x51f353){return _0x3fcc3e[_0x467f(0x3e)](_0x22880c,_0x51f353);},'eXFmd':function(_0x4d12bb,_0x410f17){return _0x3fcc3e[_0x467f(0x3e)](_0x4d12bb,_0x410f17);},'Mdbag':function(_0x2ab7cb){return _0x3fcc3e[_0x467f(0x57)](_0x2ab7cb);}};if(_0x3fcc3e['lTaVI'](_0x3fcc3e[_0x467f(0x58)],_0x3fcc3e[_0x467f(0x58)])){while(_0x451f38['tVDtK'](_0x57d6ad,_0x46d701[_0x467f(0x59)])&&_0x451f38[_0x467f(0x5a)](_0x220066,_0x5dcc21[_0x332d94][_0x467f(0x5b)])){_0x373bb3(_0x49268c[_0x2de6fd][_0x467f(0x5c)]),_0x167701++;}_0x451f38['rqIFB'](_0x38f8ae,_0x252158),Animated[_0x467f(0x28)](_0x4252e1,{'toValue':_0x451f38[_0x467f(0x51)](_0x384c34,0x64),'duration':_0x38e0bc,'useNativeDriver':![]})[_0x467f(0x25)](),_0xb2c101>=0x64&&_0x451f38[_0x467f(0x5d)](_0x4cf7ad,()=>{_0x1afd3e['SeDum'](_0x342bda,_0x3178ce[_0x467f(0x5e)]),_0x24f4e8();},0x1f4);}else{if(_0x3fcc3e[_0x467f(0x1c)](_0x27684d[_0x467f(0x2c)],0x64))_0x4f0e30[_0x467f(0x2e)]({'progress':0x64,'message':_0x27684d[_0x467f(0x2f)]});else{if(_0x3fcc3e[_0x467f(0x5f)](_0x3fcc3e[_0x467f(0x60)],_0x3fcc3e[_0x467f(0x60)])){const _0x140018=_0x3fcc3e[_0x467f(0x61)](randomInRange,_0x27684d[_0x467f(0x2c)],_0x27684d[_0x467f(0x2d)]);_0x4f0e30[_0x467f(0x2e)]({'progress':_0x140018,'message':_0x27684d[_0x467f(0x2f)]});}else _0x1afd3e['eXFmd'](_0x5a59a9,_0x3f2f26['SUCCESS']),_0x1afd3e[_0x467f(0x62)](_0x51d770);}}}),_0x4f0e30[_0x467f(0x48)]((_0x5de6ae,_0x8a412e)=>_0x5de6ae[_0x467f(0x5b)]-_0x8a412e['progress']);let _0x22cd66=0x0,_0x53fecf=0x0;for(let _0x39158e=0x1;_0x3fcc3e['pamWp'](_0x39158e,_0x1a13ff);_0x39158e++){const _0xbb0801=_0x144bfa[_0x39158e],_0x3fc240=_0x52b1ce[_0x3fcc3e['Ertfq'](_0x39158e,0x1)];_0x22cd66+=_0x3fc240;const _0x49bf28=_0x3fcc3e[_0x467f(0x63)](setTimeout,()=>{while(_0x451f38['tVDtK'](_0x53fecf,_0x4f0e30[_0x467f(0x59)])&&_0x451f38['UAghF'](_0xbb0801,_0x4f0e30[_0x53fecf][_0x467f(0x5b)])){_0x451f38[_0x467f(0x64)](_0x45eeb8,_0x4f0e30[_0x53fecf][_0x467f(0x5c)]),_0x53fecf++;}_0x451f38[_0x467f(0x64)](_0x501107,_0xbb0801),Animated['timing'](_0x13c653,{'toValue':_0x451f38[_0x467f(0x51)](_0xbb0801,0x64),'duration':_0x3da61d,'useNativeDriver':![]})['start'](),_0x451f38[_0x467f(0x65)](_0xbb0801,0x64)&&_0x451f38[_0x467f(0x66)](setTimeout,()=>{triggerHaptic(HapticType['SUCCESS']),_0x451f38[_0x467f(0x67)](_0x4f7b47);},0x1f4);},_0x22cd66);_0x57918a['current'][_0x467f(0x2e)](_0x49bf28),_0x22cd66+=_0x3da61d;}return()=>{_0x57918a[_0x467f(0x15)][_0x467f(0x37)](_0xd8e210=>clearTimeout(_0xd8e210)),_0x57918a['current']=[];};}},[_0x51c16a,_0x4f7b47,_0x13c653]);if(!_0x51c16a)return null;return React[_0x467f(0x68)](View,{'style':styles[_0x467f(0x69)]},React[_0x467f(0x68)](View,{'style':styles[_0x467f(0x6a)]},React[_0x467f(0x68)](View,{'style':styles[_0x467f(0x6b)]},React['createElement'](_0x3e7f25,{'source':ANIMATIONS[_0x467f(0x6c)],'autoPlay':!![],'loop':!![],'style':styles[_0x467f(0x6d)],'resizeMode':_0x3fcc3e[_0x467f(0x6e)]})),React[_0x467f(0x68)](View,{'style':styles[_0x467f(0x6f)]},React[_0x467f(0x68)](Text,{'style':styles[_0x467f(0x70)]},_0x4d2c84),React['createElement'](View,{'style':styles[_0x467f(0x71)]},React['createElement'](Animated[_0x467f(0x72)],{'style':[styles[_0x467f(0x73)],{'opacity':_0x3bda46}]},'.'),React[_0x467f(0x68)](Animated[_0x467f(0x72)],{'style':[styles[_0x467f(0x73)],{'opacity':_0x6c3f35}]},'.'),React['createElement'](Animated[_0x467f(0x72)],{'style':[styles[_0x467f(0x73)],{'opacity':_0x30d637}]},'.'))),React[_0x467f(0x68)](View,{'style':styles['progressContainer']},React[_0x467f(0x68)](View,{'style':styles['progressTrack']},React[_0x467f(0x68)](Animated[_0x467f(0x74)],{'style':[styles[_0x467f(0x75)],{'width':_0x13c653[_0x467f(0x76)]({'inputRange':[0x0,0x1],'outputRange':['0%',_0x3fcc3e['LOnhu']]})}]})))));},styles=StyleSheet[_0x467f(0x77)]({'container':{'flex':0x1,'backgroundColor':COLORS[_0x467f(0x78)]},'content':{'flex':0x1,'justifyContent':_0x467f(0x79),'alignItems':_0x467f(0x79),'paddingHorizontal':0x18,'marginTop':-0x50},'lottieContainer':{'width':0x168,'height':0x168,'marginBottom':0x20,'alignItems':_0x467f(0x79),'justifyContent':_0x467f(0x79)},'lottieAnimation':{'width':_0x467f(0x14),'height':_0x467f(0x14)},'textContainer':{'flexDirection':_0x467f(0x7a),'alignItems':_0x467f(0x79),'marginBottom':0x30},'loadingText':{'fontSize':0x18,'fontFamily':'IBM\x20Plex\x20Sans','fontWeight':_0x467f(0x7b),'color':COLORS[_0x467f(0x7c)]},'dotsContainer':{'flexDirection':'row','marginLeft':0x4},'dot':{'fontSize':0x18,'fontFamily':_0x467f(0x7d),'fontWeight':_0x467f(0x7b),'color':COLORS[_0x467f(0x7c)],'marginLeft':0x2},'progressContainer':{'width':_0x467f(0x14),'maxWidth':0x118},'progressTrack':{'height':0x6,'backgroundColor':'#E5E5E5','borderRadius':0x3,'overflow':_0x467f(0x7e)},'progressFill':{'height':_0x467f(0x14),'backgroundColor':COLORS[_0x467f(0x7c)],'borderRadius':0x3}});export default PersonaLoadingScreen;
1
+ import React,{useEffect,useRef,useState}from'react';import{View,Text,StyleSheet,Animated}from'react-native';import _0x51d30e from'lottie-react-native';import{COLORS}from'../theme';import{triggerHaptic,HapticType}from'../utils/haptics';import{ANIMATIONS}from'../utils/assetRegistry';const STATUS_MESSAGES=[{'text':_0x4c7b(0x0),'minProgress':0x0,'maxProgress':0x19},{'text':_0x4c7b(0x1),'minProgress':0x14,'maxProgress':0x2d},{'text':_0x4c7b(0x2),'minProgress':0x28,'maxProgress':0x41},{'text':'Finalizing\x20your\x20unique\x20persona','minProgress':0x3c,'maxProgress':0x55},{'text':_0x4c7b(0x3),'minProgress':0x50,'maxProgress':0x5f},{'text':_0x4c7b(0x4),'minProgress':0x64,'maxProgress':0x64}],randomInRange=(_0xfda387,_0x272a46)=>{const _0x5c2783={'LqLFa':function(_0x2ef501,_0x2c6857){return _0x2ef501+_0x2c6857;},'hxcwB':function(_0x3a2b11,_0x507859){return _0x3a2b11*_0x507859;},'ffhwQ':function(_0x24eaa4,_0x45bccb){return _0x24eaa4-_0x45bccb;}};return _0x5c2783[_0x4c7b(0x5)](_0x5c2783[_0x4c7b(0x6)](Math[_0x4c7b(0x7)](),_0x5c2783[_0x4c7b(0x8)](_0x272a46,_0xfda387)),_0xfda387);},randomIntInRange=(_0x39cbf2,_0x532a3d)=>{const _0xa56b36={'gooxK':function(_0x938ec,_0x232777,_0x422f6d){return _0x938ec(_0x232777,_0x422f6d);},'jkQGv':function(_0x2262ed,_0x55f5c4){return _0x2262ed+_0x55f5c4;}};return Math[_0x4c7b(0x9)](_0xa56b36[_0x4c7b(0xa)](randomInRange,_0x39cbf2,_0xa56b36[_0x4c7b(0xb)](_0x532a3d,0x1)));},PersonaLoadingScreen=({visible:_0xe8e7c2,onComplete:_0x4ca856})=>{const _0x3fc993={'FVyLi':function(_0x21e536,_0x498063,_0x5ba99f){return _0x21e536(_0x498063,_0x5ba99f);},'iiQIC':'JPINw','BOenH':function(_0x59732c,_0x269097,_0x2cf23e){return _0x59732c(_0x269097,_0x2cf23e);},'ZlkjF':function(_0x35e770,_0x2e9187,_0x246e5a){return _0x35e770(_0x2e9187,_0x246e5a);},'CywOm':function(_0x1ce946,_0x1c012b,_0x18e7c0){return _0x1ce946(_0x1c012b,_0x18e7c0);},'OOtmF':function(_0x3bedbf,_0x4ed981,_0x332769){return _0x3bedbf(_0x4ed981,_0x332769);},'WqxZe':function(_0x41bdc7,_0x979851){return _0x41bdc7+_0x979851;},'sjcFc':function(_0x575be4,_0x42ce83){return _0x575be4===_0x42ce83;},'NrOHl':_0x4c7b(0xc),'ySzzo':_0x4c7b(0xd),'uHkUp':function(_0x27e1bf,_0x3cd5d8){return _0x27e1bf<_0x3cd5d8;},'aWFuD':function(_0x2529a0,_0x51f53a){return _0x2529a0(_0x51f53a);},'Qaahe':function(_0x4d8600,_0x22032d){return _0x4d8600(_0x22032d);},'EHEFD':function(_0x1a0c75,_0x2bead3){return _0x1a0c75/_0x2bead3;},'BXCTZ':function(_0x4c8bec,_0x26c74d,_0xa819e6){return _0x4c8bec(_0x26c74d,_0xa819e6);},'zDAYo':_0x4c7b(0xe),'FqBRm':function(_0x488286){return _0x488286();},'xMKfV':_0x4c7b(0xf),'GPioa':function(_0x4bd1aa,_0x45f55c){return _0x4bd1aa!==_0x45f55c;},'lrMvV':_0x4c7b(0x10),'GNMDu':function(_0x463375,_0x289075){return _0x463375!==_0x289075;},'Kujkb':_0x4c7b(0x11),'UcpdX':'tMOzr','BIPdv':function(_0x482ba6,_0x23f2c2){return _0x482ba6(_0x23f2c2);},'LaVUC':_0x4c7b(0x0),'pTIbZ':function(_0x19f4aa,_0x531d15,_0x5dfff3){return _0x19f4aa(_0x531d15,_0x5dfff3);},'MOvZj':function(_0x1c5d16,_0x5a5c98){return _0x1c5d16-_0x5a5c98;},'gMSMy':function(_0x33f382,_0x204bd0){return _0x33f382-_0x204bd0;},'pTgPy':function(_0x487eac,_0x22ac8a){return _0x487eac*_0x22ac8a;},'tILDj':function(_0x5b0359,_0x29007b){return _0x5b0359+_0x29007b;},'KQDTt':_0x4c7b(0x12),'rsrBN':function(_0x5732f1,_0x5b40ad){return _0x5732f1<_0x5b40ad;},'PKCbp':function(_0x71ff2a,_0xa44fba,_0x118094){return _0x71ff2a(_0xa44fba,_0x118094);},'tHEQq':function(_0x1826a8,_0x30f5e1){return _0x1826a8===_0x30f5e1;},'VIsgz':'OUxOx','dGsCN':function(_0x34d8d3,_0x5eb7cb){return _0x34d8d3/_0x5eb7cb;},'xzdtt':function(_0x294a46,_0x323e03){return _0x294a46<=_0x323e03;},'Lsktl':function(_0x34feb4,_0x57f4d7){return _0x34feb4-_0x57f4d7;},'qWYiJ':function(_0x52bf26,_0x14d921){return _0x52bf26(_0x14d921);},'WnVvr':function(_0x44b453,_0x513f26){return _0x44b453(_0x513f26);},'TNPwv':_0x4c7b(0x13)},_0x3a5b9d=_0x3fc993[_0x4c7b(0x14)](useRef,new Animated[(_0x4c7b(0x15))](0x0))[_0x4c7b(0x16)],_0x58888d=useRef(new Animated[(_0x4c7b(0x15))](0.3))[_0x4c7b(0x16)],_0x5ad968=_0x3fc993[_0x4c7b(0x17)](useRef,new Animated[(_0x4c7b(0x15))](0.3))[_0x4c7b(0x16)],_0x2429f1=useRef(new Animated[(_0x4c7b(0x15))](0.3))['current'],[_0x29cac8,_0x103324]=useState(0x0),[_0x13eed2,_0x5aeb9d]=_0x3fc993[_0x4c7b(0x18)](useState,_0x3fc993[_0x4c7b(0x19)]),_0x28d061=_0x3fc993[_0x4c7b(0x14)](useRef,[]);useEffect(()=>{const _0x27b0e7={'tWYNv':_0x3fc993[_0x4c7b(0x1a)],'YJwyo':_0x4c7b(0x1b),'fekcT':function(_0x4d48d0,_0xc79aff,_0x20e1f1){return _0x4d48d0(_0xc79aff,_0x20e1f1);}};if(!_0xe8e7c2)return;const _0x308424=(_0x3aaad2,_0x5f1bc0)=>{return Animated['loop'](Animated[_0x4c7b(0x1c)]([Animated[_0x4c7b(0x1d)](_0x3aaad2,{'toValue':0x1,'duration':0x258,'useNativeDriver':!![]}),Animated[_0x4c7b(0x1d)](_0x3aaad2,{'toValue':0.3,'duration':0x258,'useNativeDriver':!![]})]),{'iterations':-0x1});};_0x3fc993['BOenH'](setTimeout,()=>{_0x27b0e7[_0x4c7b(0x1e)]===_0x27b0e7['YJwyo']?_0x463e21=_0x2abf3e(0xfa,0x1f4):_0x27b0e7[_0x4c7b(0x1f)](_0x308424,_0x58888d,0x0)['start']();},0x12c),_0x3fc993[_0x4c7b(0x20)](setTimeout,()=>{_0x308424(_0x5ad968,0xc8)[_0x4c7b(0x21)]();},0x1f4),_0x3fc993['CywOm'](setTimeout,()=>{_0x3fc993['FVyLi'](_0x308424,_0x2429f1,0x190)['start']();},0x2bc);},[_0xe8e7c2,_0x58888d,_0x5ad968,_0x2429f1]),_0x3fc993[_0x4c7b(0x20)](useEffect,()=>{const _0x3dd36f={'zFvLx':function(_0x353135,_0x15b414){return _0x3fc993[_0x4c7b(0x22)](_0x353135,_0x15b414);},'eTgbS':_0x3fc993['zDAYo'],'mReyY':function(_0x13f01b,_0x6f0466){return _0x13f01b(_0x6f0466);},'TUZdP':function(_0x175f9b){return _0x3fc993['FqBRm'](_0x175f9b);},'pqxxm':function(_0xd5bb25,_0x12663d,_0x431815){return _0xd5bb25(_0x12663d,_0x431815);},'fMMtC':function(_0x2d9610,_0xc3a404){return _0x3fc993[_0x4c7b(0x22)](_0x2d9610,_0xc3a404);},'xUSCy':_0x3fc993[_0x4c7b(0x23)],'pKEpl':function(_0x51012,_0x45a532){return _0x3fc993['GPioa'](_0x51012,_0x45a532);},'dWRBW':_0x3fc993[_0x4c7b(0x24)]};if(_0x3fc993[_0x4c7b(0x25)](_0x3fc993[_0x4c7b(0x26)],_0x3fc993[_0x4c7b(0x27)])){if(!_0xe8e7c2){_0x28d061[_0x4c7b(0x16)][_0x4c7b(0x28)](_0x931464=>clearTimeout(_0x931464)),_0x28d061['current']=[];return;}_0x3fc993[_0x4c7b(0x18)](_0x103324,0x0),_0x3fc993[_0x4c7b(0x29)](_0x5aeb9d,_0x3fc993[_0x4c7b(0x19)]),_0x3a5b9d[_0x4c7b(0x2a)](0x0);const _0x7e841c=_0x3fc993[_0x4c7b(0x2b)](randomInRange,0x1b58,0x2ee0),_0x23797c=_0x3fc993['pTIbZ'](randomIntInRange,0x5,0x8),_0x13a734=[0x0];for(let _0x15014f=0x0;_0x15014f<_0x3fc993[_0x4c7b(0x2c)](_0x23797c,0x1);_0x15014f++){const _0x17a2a1=_0x3fc993[_0x4c7b(0x2d)](_0x3fc993['pTgPy'](_0x3fc993[_0x4c7b(0x2e)](_0x15014f,0x1),0x64/_0x23797c),0xa),_0x2c4659=_0x3fc993[_0x4c7b(0x2f)](_0x15014f,0x1)*_0x3fc993['EHEFD'](0x64,_0x23797c)+0xa;_0x13a734[_0x4c7b(0x30)](randomIntInRange(Math[_0x4c7b(0x31)](0xa,_0x17a2a1),Math['min'](0x5a,_0x2c4659)));}_0x13a734[_0x4c7b(0x30)](0x64),_0x13a734[_0x4c7b(0x32)]((_0x176de1,_0x5ad9f)=>_0x176de1-_0x5ad9f);const _0x648475=[_0x3fc993[_0x4c7b(0x33)],_0x3fc993[_0x4c7b(0x23)],_0x4c7b(0x34)],_0x4a7acf=[];let _0x543658=0x0;for(let _0x33d4df=0x0;_0x3fc993[_0x4c7b(0x35)](_0x33d4df,_0x23797c);_0x33d4df++){const _0x4f836e=_0x648475[_0x3fc993[_0x4c7b(0x36)](randomIntInRange,0x0,0x2)];let _0x15d72a;if(_0x3fc993[_0x4c7b(0x22)](_0x4f836e,_0x3fc993[_0x4c7b(0x33)]))_0x15d72a=_0x3fc993['PKCbp'](randomInRange,0xfa,0x1f4);else{if(_0x4f836e===_0x3fc993[_0x4c7b(0x23)])_0x15d72a=randomInRange(0x1f4,0x320);else{if(_0x3fc993[_0x4c7b(0x37)](_0x4c7b(0x38),_0x3fc993[_0x4c7b(0x39)]))_0x15d72a=_0x3fc993[_0x4c7b(0x3a)](randomInRange,0x320,0x4b0);else return _0xf3c27[_0x4c7b(0x9)](_0x3fc993[_0x4c7b(0x3b)](_0x1aed87,_0x58dde8,_0x3fc993[_0x4c7b(0x2f)](_0x92645e,0x1)));}}_0x4a7acf[_0x4c7b(0x30)](_0x15d72a),_0x543658+=_0x15d72a;}const _0x2e21e8=0x190,_0x411da6=_0x3fc993[_0x4c7b(0x3c)](_0x23797c,_0x2e21e8),_0x14f270=_0x3fc993[_0x4c7b(0x2c)](_0x7e841c,_0x411da6),_0x34fa85=_0x3fc993[_0x4c7b(0x3d)](_0x14f270,_0x543658),_0xaa95b7=_0x4a7acf[_0x4c7b(0x3e)](_0x17577f=>_0x17577f*_0x34fa85),_0x755bae=[];STATUS_MESSAGES[_0x4c7b(0x28)](_0x226979=>{if(_0x3dd36f[_0x4c7b(0x3f)](_0x3dd36f['eTgbS'],'UISaw'))_0x528b56(_0x49a200[_0x4c7b(0x40)]),_0x2945df();else{if(_0x226979[_0x4c7b(0x41)]===0x64)_0x755bae['push']({'progress':0x64,'message':_0x226979[_0x4c7b(0x42)]});else{const _0x31eb99=randomInRange(_0x226979[_0x4c7b(0x41)],_0x226979[_0x4c7b(0x43)]);_0x755bae[_0x4c7b(0x30)]({'progress':_0x31eb99,'message':_0x226979['text']});}}}),_0x755bae[_0x4c7b(0x32)]((_0x14cf29,_0x5c2355)=>_0x14cf29[_0x4c7b(0x44)]-_0x5c2355[_0x4c7b(0x44)]);let _0x253831=0x0,_0x16d68e=0x0;for(let _0x3b12ec=0x1;_0x3fc993[_0x4c7b(0x45)](_0x3b12ec,_0x23797c);_0x3b12ec++){const _0xbbbf6e=_0x13a734[_0x3b12ec],_0x452b52=_0xaa95b7[_0x3fc993['Lsktl'](_0x3b12ec,0x1)];_0x253831+=_0x452b52;const _0x48febb=setTimeout(()=>{if(_0x3fc993[_0x4c7b(0x22)](_0x3fc993['NrOHl'],_0x3fc993['ySzzo']))_0x55c180['push']({'progress':0x64,'message':_0x35c94c['text']});else{while(_0x3fc993[_0x4c7b(0x46)](_0x16d68e,_0x755bae['length'])&&_0xbbbf6e>=_0x755bae[_0x16d68e][_0x4c7b(0x44)]){_0x3fc993[_0x4c7b(0x29)](_0x5aeb9d,_0x755bae[_0x16d68e][_0x4c7b(0x47)]),_0x16d68e++;}_0x3fc993['Qaahe'](_0x103324,_0xbbbf6e),Animated[_0x4c7b(0x1d)](_0x3a5b9d,{'toValue':_0x3fc993[_0x4c7b(0x48)](_0xbbbf6e,0x64),'duration':_0x2e21e8,'useNativeDriver':![]})[_0x4c7b(0x21)](),_0xbbbf6e>=0x64&&_0x3fc993[_0x4c7b(0x3b)](setTimeout,()=>{_0x3dd36f[_0x4c7b(0x49)](triggerHaptic,HapticType[_0x4c7b(0x40)]),_0x3dd36f[_0x4c7b(0x4a)](_0x4ca856);},0x1f4);}},_0x253831);_0x28d061[_0x4c7b(0x16)]['push'](_0x48febb),_0x253831+=_0x2e21e8;}return()=>{const _0x5ca622={'ZfexL':function(_0x445ca7,_0x58da1a,_0x4e2f12){return _0x3dd36f[_0x4c7b(0x4b)](_0x445ca7,_0x58da1a,_0x4e2f12);},'IUszm':function(_0x3d4b53,_0x3c8598){return _0x3dd36f[_0x4c7b(0x4c)](_0x3d4b53,_0x3c8598);},'rTFxX':_0x4c7b(0x12),'XFUMx':function(_0x1a2ecf,_0x1043df){return _0x1a2ecf===_0x1043df;},'SMHtW':_0x3dd36f[_0x4c7b(0x4d)],'ILQmc':function(_0x2d2cca,_0x513618,_0x581030){return _0x2d2cca(_0x513618,_0x581030);},'MWtDQ':function(_0x2cbe99,_0x2d846d,_0x5b897){return _0x3dd36f['pqxxm'](_0x2cbe99,_0x2d846d,_0x5b897);}};if(_0x3dd36f[_0x4c7b(0x4e)](_0x3dd36f[_0x4c7b(0x4f)],_0x3dd36f[_0x4c7b(0x4f)])){const _0x198479=_0x5b4c4b[_0x5ca622[_0x4c7b(0x50)](_0x88bf4f,0x0,0x2)];let _0x416d82;if(_0x5ca622[_0x4c7b(0x51)](_0x198479,_0x5ca622[_0x4c7b(0x52)]))_0x416d82=_0x3ecd45(0xfa,0x1f4);else _0x5ca622[_0x4c7b(0x53)](_0x198479,_0x5ca622['SMHtW'])?_0x416d82=_0x5ca622[_0x4c7b(0x54)](_0x5be054,0x1f4,0x320):_0x416d82=_0x5ca622[_0x4c7b(0x55)](_0x24b867,0x320,0x4b0);_0x2d7104[_0x4c7b(0x30)](_0x416d82),_0x168735+=_0x416d82;}else _0x28d061['current'][_0x4c7b(0x28)](_0x5a3769=>clearTimeout(_0x5a3769)),_0x28d061[_0x4c7b(0x16)]=[];};}else _0x3fc993[_0x4c7b(0x2b)](_0xb66537,_0x1480f1,0x190)['start']();},[_0xe8e7c2,_0x4ca856,_0x3a5b9d]);if(!_0xe8e7c2)return null;return React[_0x4c7b(0x56)](View,{'style':styles[_0x4c7b(0x57)]},React[_0x4c7b(0x56)](View,{'style':styles[_0x4c7b(0x58)]},React[_0x4c7b(0x56)](View,{'style':styles[_0x4c7b(0x59)]},React[_0x4c7b(0x56)](_0x51d30e,{'source':ANIMATIONS[_0x4c7b(0x5a)],'autoPlay':!![],'loop':!![],'style':styles[_0x4c7b(0x5b)],'resizeMode':_0x3fc993['TNPwv']})),React[_0x4c7b(0x56)](View,{'style':styles['textContainer']},React['createElement'](Text,{'style':styles[_0x4c7b(0x5c)]},_0x13eed2),React[_0x4c7b(0x56)](View,{'style':styles[_0x4c7b(0x5d)]},React[_0x4c7b(0x56)](Animated['Text'],{'style':[styles[_0x4c7b(0x5e)],{'opacity':_0x58888d}]},'.'),React[_0x4c7b(0x56)](Animated[_0x4c7b(0x5f)],{'style':[styles[_0x4c7b(0x5e)],{'opacity':_0x5ad968}]},'.'),React[_0x4c7b(0x56)](Animated[_0x4c7b(0x5f)],{'style':[styles[_0x4c7b(0x5e)],{'opacity':_0x2429f1}]},'.'))),React[_0x4c7b(0x56)](View,{'style':styles['progressContainer']},React[_0x4c7b(0x56)](View,{'style':styles[_0x4c7b(0x60)]},React[_0x4c7b(0x56)](Animated[_0x4c7b(0x61)],{'style':[styles[_0x4c7b(0x62)],{'width':_0x3a5b9d[_0x4c7b(0x63)]({'inputRange':[0x0,0x1],'outputRange':['0%',_0x4c7b(0x64)]})}]})))));},styles=StyleSheet[_0x4c7b(0x65)]({'container':{'flex':0x1,'backgroundColor':COLORS[_0x4c7b(0x66)]},'content':{'flex':0x1,'justifyContent':'center','alignItems':_0x4c7b(0x67),'paddingHorizontal':0x18,'marginTop':-0x50},'lottieContainer':{'width':0x168,'height':0x168,'marginBottom':0x20,'alignItems':_0x4c7b(0x67),'justifyContent':_0x4c7b(0x67)},'lottieAnimation':{'width':_0x4c7b(0x64),'height':_0x4c7b(0x64)},'textContainer':{'flexDirection':_0x4c7b(0x68),'alignItems':_0x4c7b(0x67),'marginBottom':0x30},'loadingText':{'fontSize':0x18,'fontFamily':'IBM\x20Plex\x20Sans','fontWeight':_0x4c7b(0x69),'color':COLORS[_0x4c7b(0x6a)]},'dotsContainer':{'flexDirection':_0x4c7b(0x68),'marginLeft':0x4},'dot':{'fontSize':0x18,'fontFamily':_0x4c7b(0x6b),'fontWeight':_0x4c7b(0x69),'color':COLORS[_0x4c7b(0x6a)],'marginLeft':0x2},'progressContainer':{'width':_0x4c7b(0x64),'maxWidth':0x118},'progressTrack':{'height':0x6,'backgroundColor':_0x4c7b(0x6c),'borderRadius':0x3,'overflow':'hidden'},'progressFill':{'height':_0x4c7b(0x64),'backgroundColor':COLORS['grey800'],'borderRadius':0x3}});function _0x4c7b(_0x127c22,_0x4c7be8){_0x127c22=_0x127c22-0x0;const _0x109b81=_0x127c();let _0x4bb3bf=_0x109b81[_0x127c22];return _0x4bb3bf;}export default PersonaLoadingScreen;function _0x127c(){const _0x5ad6bb=['Keeping\x20your\x20data\x20private','Trying\x20to\x20understand\x20your\x20mind','You\x27re\x20more\x20interesting\x20than\x20I\x20expected','Almost\x20done','Complete!','LqLFa','hxcwB','random','ffhwQ','floor','gooxK','jkQGv','iHack','yIQPC','lCOPI','medium','JCRXl','kaNLu','short','contain','qWYiJ','Value','current','WnVvr','BIPdv','LaVUC','iiQIC','tZoHn','sequence','timing','tWYNv','fekcT','ZlkjF','start','sjcFc','xMKfV','lrMvV','GNMDu','Kujkb','UcpdX','forEach','aWFuD','setValue','BXCTZ','MOvZj','gMSMy','tILDj','WqxZe','push','max','sort','KQDTt','long','rsrBN','CywOm','tHEQq','OUxOx','VIsgz','FVyLi','OOtmF','pTgPy','dGsCN','map','zFvLx','SUCCESS','minProgress','text','maxProgress','progress','xzdtt','uHkUp','message','EHEFD','mReyY','TUZdP','pqxxm','fMMtC','xUSCy','pKEpl','dWRBW','ZfexL','IUszm','rTFxX','XFUMx','ILQmc','MWtDQ','createElement','container','content','lottieContainer','loader','lottieAnimation','loadingText','dotsContainer','dot','Text','progressTrack','View','progressFill','interpolate','100%','create','surface','center','row','600','grey800','IBM\x20Plex\x20Sans','#E5E5E5'];_0x127c=function(){return _0x5ad6bb;};return _0x127c();}