@onairos/react-native 3.4.1 → 3.6.0

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 (574) hide show
  1. package/README.md +423 -374
  2. package/lib/commonjs/api/index.js +9 -145
  3. package/lib/commonjs/assets/animations/loaderani.json +1 -0
  4. package/lib/commonjs/assets/animations/persona-animation.json +1 -0
  5. package/lib/commonjs/assets/fonts/EBGaramond-VariableFont_wght.ttf +0 -0
  6. package/lib/commonjs/assets/fonts/IBMPlexSans-VariableFont_wdth,wght.ttf +0 -0
  7. package/lib/commonjs/assets/icons/Facebookicon.png +0 -0
  8. package/lib/commonjs/assets/icons/Gmail.png +0 -0
  9. package/lib/commonjs/assets/icons/Linkedinicon.png +0 -0
  10. package/lib/commonjs/assets/icons/Redditicon.png +0 -0
  11. package/lib/commonjs/assets/icons/YouTubeicon2.png +0 -0
  12. package/lib/commonjs/assets/icons/YouTubeicon3.png +0 -0
  13. package/lib/commonjs/assets/icons/chatgpt.png +0 -0
  14. package/lib/commonjs/assets/icons/claude.png +0 -0
  15. package/lib/commonjs/assets/icons/gemini.png +0 -0
  16. package/lib/commonjs/assets/icons/grok.png +0 -0
  17. package/lib/commonjs/assets/images/Checkbox.svg +3 -0
  18. package/lib/commonjs/assets/images/EnochE.svg +19 -0
  19. package/lib/commonjs/assets/images/Enochicon1.png +0 -0
  20. package/lib/commonjs/assets/images/Face_ID_logo.png +0 -0
  21. package/lib/commonjs/assets/images/Facebookicon.png +0 -0
  22. package/lib/commonjs/assets/images/Gmail.png +0 -0
  23. package/lib/commonjs/assets/images/Googlelogo.png +0 -0
  24. package/lib/commonjs/assets/images/Linkedinicon.png +0 -0
  25. package/lib/commonjs/assets/images/OnairosNewLogo.png +0 -0
  26. package/lib/commonjs/assets/images/Onairoslogo.png +0 -0
  27. package/lib/commonjs/assets/images/Personalityprofile.svg +3 -0
  28. package/lib/commonjs/assets/images/Personalitytraits.svg +3 -0
  29. package/lib/commonjs/assets/images/Redditicon.png +0 -0
  30. package/lib/commonjs/assets/images/Userpreferences.svg +3 -0
  31. package/lib/commonjs/assets/images/YouTubeicon3.png +0 -0
  32. package/lib/commonjs/assets/images/arrow.svg +20 -0
  33. package/lib/commonjs/assets/images/basicproficon.svg +43 -0
  34. package/lib/commonjs/assets/images/basicprofile.svg +3 -0
  35. package/lib/commonjs/assets/images/chatgpt.png +0 -0
  36. package/lib/commonjs/assets/images/checkmark.svg +4 -0
  37. package/lib/commonjs/assets/images/claude.png +0 -0
  38. package/lib/commonjs/assets/images/contentanalysis.svg +3 -0
  39. package/lib/commonjs/assets/images/contenticon.svg +23 -0
  40. package/lib/commonjs/assets/images/gemini.png +0 -0
  41. package/lib/commonjs/assets/images/grok.png +0 -0
  42. package/lib/commonjs/assets/images/persona1.png +0 -0
  43. package/lib/commonjs/assets/images/persona2.png +0 -0
  44. package/lib/commonjs/assets/images/persona3.png +0 -0
  45. package/lib/commonjs/assets/images/persona4.png +0 -0
  46. package/lib/commonjs/assets/images/persona5.png +0 -0
  47. package/lib/commonjs/assets/images/personalityicon.svg +18 -0
  48. package/lib/commonjs/assets/images/x-close.svg +3 -0
  49. package/lib/commonjs/components/BodyText.js +9 -0
  50. package/lib/commonjs/components/BrandMark.js +10 -0
  51. package/lib/commonjs/components/CodeInput.js +9 -0
  52. package/lib/commonjs/components/EmailInput.js +8 -0
  53. package/lib/commonjs/components/GoogleButton.js +9 -0
  54. package/lib/commonjs/components/HeadingGroup.js +9 -0
  55. package/lib/commonjs/components/LLMDataInputModal.js +14 -0
  56. package/lib/commonjs/components/ModalHeader.js +9 -0
  57. package/lib/commonjs/components/ModalSheet.js +9 -0
  58. package/lib/commonjs/components/Onairos.js +14 -374
  59. package/lib/commonjs/components/OnairosButton.js +13 -309
  60. package/lib/commonjs/components/OnairosSignInButton.js +12 -0
  61. package/lib/commonjs/components/Overlay.js +13 -483
  62. package/lib/commonjs/components/PersonaImage.js +10 -0
  63. package/lib/commonjs/components/PersonaLoadingScreen.js +12 -0
  64. package/lib/commonjs/components/PersonalizationConsentScreen.js +13 -0
  65. package/lib/commonjs/components/PinCreationScreen.js +12 -0
  66. package/lib/commonjs/components/PinInput.js +9 -302
  67. package/lib/commonjs/components/PlatformConnectorsStep.js +23 -0
  68. package/lib/commonjs/components/PlatformList.js +10 -137
  69. package/lib/commonjs/components/PlatformToggle.js +9 -0
  70. package/lib/commonjs/components/PrimaryButton.js +10 -0
  71. package/lib/commonjs/components/SignInMatchAnimation.js +9 -0
  72. package/lib/commonjs/components/SignInStep.js +12 -0
  73. package/lib/commonjs/components/UniversalOnboarding.js +30 -1702
  74. package/lib/commonjs/components/VerificationStep.js +11 -0
  75. package/lib/commonjs/components/WelcomeScreen.js +22 -0
  76. package/lib/commonjs/components/icons/Basicproficon.js +8 -0
  77. package/lib/commonjs/components/icons/Basicprofile.js +8 -0
  78. package/lib/commonjs/components/icons/Checkbox.js +8 -0
  79. package/lib/commonjs/components/icons/Checkmark.js +8 -0
  80. package/lib/commonjs/components/icons/Contentanalysis.js +8 -0
  81. package/lib/commonjs/components/icons/Contenticon.js +8 -0
  82. package/lib/commonjs/components/icons/EnochE.js +8 -0
  83. package/lib/commonjs/components/icons/Personalityicon.js +8 -0
  84. package/lib/commonjs/components/icons/Personalityprofile.js +8 -0
  85. package/lib/commonjs/components/icons/Personalitytraits.js +8 -0
  86. package/lib/commonjs/components/icons/Userpreferences.js +8 -0
  87. package/lib/commonjs/components/icons/index.js +17 -0
  88. package/lib/commonjs/components/onboarding/OAuthWebView.js +18 -827
  89. package/lib/commonjs/components/onboarding/OnboardingHeader.js +10 -74
  90. package/lib/commonjs/components/onboarding/PinInput.js +10 -283
  91. package/lib/commonjs/components/onboarding/PlatformConnector.js +11 -249
  92. package/lib/commonjs/config/api.js +7 -0
  93. package/lib/commonjs/constants/index.js +7 -83
  94. package/lib/commonjs/context/AuthContext.js +10 -0
  95. package/lib/commonjs/hooks/useConnectedAccounts.js +9 -0
  96. package/lib/commonjs/hooks/useConnections.js +8 -159
  97. package/lib/commonjs/hooks/useCredentials.js +10 -177
  98. package/lib/commonjs/hooks/useUserConnections.js +10 -0
  99. package/lib/commonjs/index.js +34 -106
  100. package/lib/commonjs/services/SDK_API_KEY_VALIDATION.md +421 -421
  101. package/lib/commonjs/services/apiClient.js +8 -0
  102. package/lib/commonjs/services/apiKeyService.js +9 -952
  103. package/lib/commonjs/services/authService.js +10 -0
  104. package/lib/commonjs/services/biometricPinService.js +8 -0
  105. package/lib/commonjs/services/chatGPTConversationExtractor.js +8 -0
  106. package/lib/commonjs/services/chatGPTConversationService.js +9 -0
  107. package/lib/commonjs/services/claudeConversationExtractor.js +8 -0
  108. package/lib/commonjs/services/claudeConversationService.js +9 -0
  109. package/lib/commonjs/services/connectedAccountsService.js +10 -0
  110. package/lib/commonjs/services/googleAuthService.js +11 -0
  111. package/lib/commonjs/services/hingeDataExtractor.js +8 -0
  112. package/lib/commonjs/services/hingeDataService.js +9 -0
  113. package/lib/commonjs/services/imageCompressionService.js +7 -0
  114. package/lib/commonjs/services/instagramDataExtractor.js +8 -0
  115. package/lib/commonjs/services/instagramDataService.js +9 -0
  116. package/lib/commonjs/services/jwtStorageService.js +7 -0
  117. package/lib/commonjs/services/linkedinDOMExtractor.js +7 -0
  118. package/lib/commonjs/services/linkedinProfileService.js +9 -0
  119. package/lib/commonjs/services/linkedinScrapingService.js +8 -0
  120. package/lib/commonjs/services/llmDataStorage.js +8 -0
  121. package/lib/commonjs/services/mobileTrainingService.js +8 -0
  122. package/lib/commonjs/services/oauthService.js +11 -390
  123. package/lib/commonjs/services/pinEncryptionService.js +8 -0
  124. package/lib/commonjs/services/pinStorageUtils.js +7 -0
  125. package/lib/commonjs/services/platformAuthService.js +12 -1067
  126. package/lib/commonjs/services/sephoraDataExtractor.js +8 -0
  127. package/lib/commonjs/services/sephoraDataService.js +9 -0
  128. package/lib/commonjs/services/storageService.js +8 -0
  129. package/lib/commonjs/services/telegramDataExtractor.js +8 -0
  130. package/lib/commonjs/services/telegramDataService.js +11 -0
  131. package/lib/commonjs/services/trainingApiHelpers.js +7 -0
  132. package/lib/commonjs/services/userConnectionsService.js +10 -0
  133. package/lib/commonjs/services/youtubeMigrationService.js +10 -0
  134. package/lib/commonjs/theme/index.js +7 -0
  135. package/lib/commonjs/types/ambient.d.js +1 -2
  136. package/lib/commonjs/types/declarations.d.js +1 -2
  137. package/lib/commonjs/types/index.js +1 -6
  138. package/lib/commonjs/types/node-fix.d.js +1 -2
  139. package/lib/commonjs/types/node-override.d.js +1 -2
  140. package/lib/commonjs/types/opacity.d.js +1 -2
  141. package/lib/commonjs/types.js +1 -14
  142. package/lib/commonjs/utils/Portal.js +8 -98
  143. package/lib/commonjs/utils/api.js +9 -129
  144. package/lib/commonjs/utils/assetRegistry.js +33 -0
  145. package/lib/commonjs/utils/auth.js +9 -111
  146. package/lib/commonjs/utils/connectorTests.js +29 -0
  147. package/lib/commonjs/utils/crypto.js +8 -62
  148. package/lib/commonjs/utils/debugHelper.js +1 -64
  149. package/lib/commonjs/utils/encryption.js +7 -76
  150. package/lib/commonjs/utils/eventUtils.js +1 -0
  151. package/lib/commonjs/utils/haptics.js +9 -0
  152. package/lib/commonjs/utils/imagePreloader.js +1 -0
  153. package/lib/commonjs/utils/networkDiagnostics.js +8 -0
  154. package/lib/commonjs/utils/onairosApi.js +9 -350
  155. package/lib/commonjs/utils/programmaticFlow.js +9 -117
  156. package/lib/commonjs/utils/retryHelper.js +1 -220
  157. package/lib/commonjs/utils/secureStorage.js +10 -349
  158. package/lib/commonjs/utils/webviewScripts/chatgpt.js +1 -0
  159. package/lib/commonjs/utils/webviewScripts/claude.js +1 -0
  160. package/lib/commonjs/utils/webviewScripts/hinge.js +1 -0
  161. package/lib/commonjs/utils/webviewScripts/index.js +13 -0
  162. package/lib/commonjs/utils/webviewScripts/instagram.js +1 -0
  163. package/lib/commonjs/utils/webviewScripts/linkedin.js +1 -0
  164. package/lib/commonjs/utils/webviewScripts/sephora.js +1 -0
  165. package/lib/commonjs/utils/webviewScripts/telegram.js +1 -0
  166. package/lib/module/api/index.js +1 -139
  167. package/lib/module/assets/animations/loaderani.json +1 -0
  168. package/lib/module/assets/animations/persona-animation.json +1 -0
  169. package/lib/module/assets/fonts/EBGaramond-VariableFont_wght.ttf +0 -0
  170. package/lib/module/assets/fonts/IBMPlexSans-VariableFont_wdth,wght.ttf +0 -0
  171. package/lib/module/assets/icons/Facebookicon.png +0 -0
  172. package/lib/module/assets/icons/Gmail.png +0 -0
  173. package/lib/module/assets/icons/Linkedinicon.png +0 -0
  174. package/lib/module/assets/icons/Redditicon.png +0 -0
  175. package/lib/module/assets/icons/YouTubeicon2.png +0 -0
  176. package/lib/module/assets/icons/YouTubeicon3.png +0 -0
  177. package/lib/module/assets/icons/chatgpt.png +0 -0
  178. package/lib/module/assets/icons/claude.png +0 -0
  179. package/lib/module/assets/icons/farcaster.png +0 -0
  180. package/lib/module/assets/icons/gemini.png +0 -0
  181. package/lib/module/assets/icons/grok.png +0 -0
  182. package/lib/module/assets/icons/instagram.png +0 -0
  183. package/lib/module/assets/icons/pinterest.png +0 -0
  184. package/lib/module/assets/icons/swerv_logo.png +0 -0
  185. package/lib/module/assets/icons/twitter.jpg +0 -0
  186. package/lib/module/assets/images/Checkbox.svg +3 -0
  187. package/lib/module/assets/images/EnochE.svg +19 -0
  188. package/lib/module/assets/images/Enochicon1.png +0 -0
  189. package/lib/module/assets/images/Face_ID_logo.png +0 -0
  190. package/lib/module/assets/images/Facebookicon.png +0 -0
  191. package/lib/module/assets/images/Gmail.png +0 -0
  192. package/lib/module/assets/images/Googlelogo.png +0 -0
  193. package/lib/module/assets/images/Linkedinicon.png +0 -0
  194. package/lib/module/assets/images/OnairosNewLogo.png +0 -0
  195. package/lib/module/assets/images/Onairoslogo.png +0 -0
  196. package/lib/module/assets/images/Personalityprofile.svg +3 -0
  197. package/lib/module/assets/images/Personalitytraits.svg +3 -0
  198. package/lib/module/assets/images/Redditicon.png +0 -0
  199. package/lib/module/assets/images/Userpreferences.svg +3 -0
  200. package/lib/module/assets/images/YouTubeicon3.png +0 -0
  201. package/lib/module/assets/images/arrow.svg +20 -0
  202. package/lib/module/assets/images/basicproficon.svg +43 -0
  203. package/lib/module/assets/images/basicprofile.svg +3 -0
  204. package/lib/module/assets/images/chatgpt.png +0 -0
  205. package/lib/module/assets/images/checkmark.svg +4 -0
  206. package/lib/module/assets/images/claude.png +0 -0
  207. package/lib/module/assets/images/contentanalysis.svg +3 -0
  208. package/lib/module/assets/images/contenticon.svg +23 -0
  209. package/lib/module/assets/images/gemini.png +0 -0
  210. package/lib/module/assets/images/grok.png +0 -0
  211. package/lib/module/assets/images/persona1.png +0 -0
  212. package/lib/module/assets/images/persona2.png +0 -0
  213. package/lib/module/assets/images/persona3.png +0 -0
  214. package/lib/module/assets/images/persona4.png +0 -0
  215. package/lib/module/assets/images/persona5.png +0 -0
  216. package/lib/module/assets/images/personalityicon.svg +18 -0
  217. package/lib/module/assets/images/x-close.svg +3 -0
  218. package/lib/module/components/BodyText.js +1 -0
  219. package/lib/module/components/BrandMark.js +1 -0
  220. package/lib/module/components/CodeInput.js +1 -0
  221. package/lib/module/components/EmailInput.js +1 -0
  222. package/lib/module/components/GoogleButton.js +1 -0
  223. package/lib/module/components/HeadingGroup.js +1 -0
  224. package/lib/module/components/LLMDataInputModal.js +8 -0
  225. package/lib/module/components/ModalHeader.js +1 -0
  226. package/lib/module/components/ModalSheet.js +1 -0
  227. package/lib/module/components/Onairos.js +1 -367
  228. package/lib/module/components/OnairosButton.js +1 -302
  229. package/lib/module/components/OnairosSignInButton.js +1 -0
  230. package/lib/module/components/Overlay.js +1 -474
  231. package/lib/module/components/PersonaImage.js +1 -0
  232. package/lib/module/components/PersonaLoadingScreen.js +1 -0
  233. package/lib/module/components/PersonalizationConsentScreen.js +1 -0
  234. package/lib/module/components/PinCreationScreen.js +1 -0
  235. package/lib/module/components/PinInput.js +1 -293
  236. package/lib/module/components/PlatformConnectorsStep.js +7 -0
  237. package/lib/module/components/PlatformList.js +1 -129
  238. package/lib/module/components/PlatformToggle.js +1 -0
  239. package/lib/module/components/PrimaryButton.js +1 -0
  240. package/lib/module/components/SignInMatchAnimation.js +1 -0
  241. package/lib/module/components/SignInStep.js +1 -0
  242. package/lib/module/components/UniversalOnboarding.js +1 -1693
  243. package/lib/module/components/VerificationStep.js +1 -0
  244. package/lib/module/components/WelcomeScreen.js +1 -0
  245. package/lib/module/components/icons/Basicproficon.js +1 -0
  246. package/lib/module/components/icons/Basicprofile.js +1 -0
  247. package/lib/module/components/icons/Checkbox.js +1 -0
  248. package/lib/module/components/icons/Checkmark.js +1 -0
  249. package/lib/module/components/icons/Contentanalysis.js +1 -0
  250. package/lib/module/components/icons/Contenticon.js +1 -0
  251. package/lib/module/components/icons/EnochE.js +1 -0
  252. package/lib/module/components/icons/Personalityicon.js +1 -0
  253. package/lib/module/components/icons/Personalityprofile.js +1 -0
  254. package/lib/module/components/icons/Personalitytraits.js +1 -0
  255. package/lib/module/components/icons/Userpreferences.js +1 -0
  256. package/lib/module/components/icons/index.js +1 -0
  257. package/lib/module/components/onboarding/OAuthWebView.js +1 -818
  258. package/lib/module/components/onboarding/OnboardingHeader.js +1 -66
  259. package/lib/module/components/onboarding/PinInput.js +1 -274
  260. package/lib/module/components/onboarding/PlatformConnector.js +1 -240
  261. package/lib/module/config/api.js +1 -0
  262. package/lib/module/constants/index.js +1 -77
  263. package/lib/module/context/AuthContext.js +1 -0
  264. package/lib/module/hooks/useConnectedAccounts.js +1 -0
  265. package/lib/module/hooks/useConnections.js +1 -152
  266. package/lib/module/hooks/useCredentials.js +6 -169
  267. package/lib/module/hooks/useUserConnections.js +1 -0
  268. package/lib/module/index.js +1 -32
  269. package/lib/module/services/SDK_API_KEY_VALIDATION.md +421 -421
  270. package/lib/module/services/apiClient.js +1 -0
  271. package/lib/module/services/apiKeyService.js +1 -925
  272. package/lib/module/services/authService.js +1 -0
  273. package/lib/module/services/biometricPinService.js +1 -0
  274. package/lib/module/services/chatGPTConversationExtractor.js +1 -0
  275. package/lib/module/services/chatGPTConversationService.js +1 -0
  276. package/lib/module/services/claudeConversationExtractor.js +1 -0
  277. package/lib/module/services/claudeConversationService.js +1 -0
  278. package/lib/module/services/connectedAccountsService.js +1 -0
  279. package/lib/module/services/googleAuthService.js +1 -0
  280. package/lib/module/services/hingeDataExtractor.js +1 -0
  281. package/lib/module/services/hingeDataService.js +1 -0
  282. package/lib/module/services/imageCompressionService.js +1 -0
  283. package/lib/module/services/instagramDataExtractor.js +1 -0
  284. package/lib/module/services/instagramDataService.js +1 -0
  285. package/lib/module/services/jwtStorageService.js +1 -0
  286. package/lib/module/services/linkedinDOMExtractor.js +1 -0
  287. package/lib/module/services/linkedinProfileService.js +1 -0
  288. package/lib/module/services/linkedinScrapingService.js +1 -0
  289. package/lib/module/services/llmDataStorage.js +1 -0
  290. package/lib/module/services/mobileTrainingService.js +1 -0
  291. package/lib/module/services/oauthService.js +1 -380
  292. package/lib/module/services/pinEncryptionService.js +7 -0
  293. package/lib/module/services/pinStorageUtils.js +1 -0
  294. package/lib/module/services/platformAuthService.js +1 -1041
  295. package/lib/module/services/sephoraDataExtractor.js +1 -0
  296. package/lib/module/services/sephoraDataService.js +1 -0
  297. package/lib/module/services/storageService.js +1 -0
  298. package/lib/module/services/telegramDataExtractor.js +1 -0
  299. package/lib/module/services/telegramDataService.js +8 -0
  300. package/lib/module/services/trainingApiHelpers.js +1 -0
  301. package/lib/module/services/userConnectionsService.js +1 -0
  302. package/lib/module/services/youtubeMigrationService.js +1 -0
  303. package/lib/module/theme/index.js +1 -0
  304. package/lib/module/types.js +1 -10
  305. package/lib/module/utils/Portal.js +1 -90
  306. package/lib/module/utils/api.js +1 -117
  307. package/lib/module/utils/assetRegistry.js +33 -0
  308. package/lib/module/utils/auth.js +1 -99
  309. package/lib/module/utils/connectorTests.js +28 -0
  310. package/lib/module/utils/crypto.js +1 -54
  311. package/lib/module/utils/debugHelper.js +1 -54
  312. package/lib/module/utils/encryption.js +1 -67
  313. package/lib/module/utils/eventUtils.js +1 -0
  314. package/lib/module/utils/haptics.js +8 -0
  315. package/lib/module/utils/imagePreloader.js +1 -0
  316. package/lib/module/utils/networkDiagnostics.js +1 -0
  317. package/lib/module/utils/onairosApi.js +1 -333
  318. package/lib/module/utils/programmaticFlow.js +1 -111
  319. package/lib/module/utils/retryHelper.js +1 -211
  320. package/lib/module/utils/secureStorage.js +6 -330
  321. package/lib/module/utils/webviewScripts/chatgpt.js +1 -0
  322. package/lib/module/utils/webviewScripts/claude.js +1 -0
  323. package/lib/module/utils/webviewScripts/hinge.js +1 -0
  324. package/lib/module/utils/webviewScripts/index.js +1 -0
  325. package/lib/module/utils/webviewScripts/instagram.js +1 -0
  326. package/lib/module/utils/webviewScripts/linkedin.js +1 -0
  327. package/lib/module/utils/webviewScripts/sephora.js +1 -0
  328. package/lib/module/utils/webviewScripts/telegram.js +1 -0
  329. package/package.json +62 -39
  330. package/lib/commonjs/api/index.js.map +0 -1
  331. package/lib/commonjs/assets/images/email.png +0 -0
  332. package/lib/commonjs/assets/images/linkedin.png +0 -0
  333. package/lib/commonjs/assets/images/reddit.png +0 -0
  334. package/lib/commonjs/assets/images/youtube.png +0 -0
  335. package/lib/commonjs/components/DataRequestModal.js +0 -228
  336. package/lib/commonjs/components/DataRequestModal.js.map +0 -1
  337. package/lib/commonjs/components/DataRequestScreen.js +0 -329
  338. package/lib/commonjs/components/DataRequestScreen.js.map +0 -1
  339. package/lib/commonjs/components/EmailVerificationModal.js +0 -320
  340. package/lib/commonjs/components/EmailVerificationModal.js.map +0 -1
  341. package/lib/commonjs/components/Onairos.js.map +0 -1
  342. package/lib/commonjs/components/OnairosButton.js.map +0 -1
  343. package/lib/commonjs/components/Overlay.js.map +0 -1
  344. package/lib/commonjs/components/PinInput.js.map +0 -1
  345. package/lib/commonjs/components/PlatformList.js.map +0 -1
  346. package/lib/commonjs/components/TrainingModal.js +0 -717
  347. package/lib/commonjs/components/TrainingModal.js.map +0 -1
  348. package/lib/commonjs/components/UniversalOnboarding.js.map +0 -1
  349. package/lib/commonjs/components/UniversalOnboarding.tsx.new +0 -455
  350. package/lib/commonjs/components/onboarding/OAuthWebView.js.map +0 -1
  351. package/lib/commonjs/components/onboarding/OnboardingHeader.js.map +0 -1
  352. package/lib/commonjs/components/onboarding/PinInput.js.map +0 -1
  353. package/lib/commonjs/components/onboarding/PlatformConnector.js.map +0 -1
  354. package/lib/commonjs/components/screens/ConnectorScreen.js +0 -146
  355. package/lib/commonjs/components/screens/ConnectorScreen.js.map +0 -1
  356. package/lib/commonjs/components/screens/LoadingScreen.js +0 -91
  357. package/lib/commonjs/components/screens/LoadingScreen.js.map +0 -1
  358. package/lib/commonjs/components/screens/PinCreationScreen.js +0 -61
  359. package/lib/commonjs/components/screens/PinCreationScreen.js.map +0 -1
  360. package/lib/commonjs/constants/index.js.map +0 -1
  361. package/lib/commonjs/hooks/useConnections.js.map +0 -1
  362. package/lib/commonjs/hooks/useCredentials.js.map +0 -1
  363. package/lib/commonjs/index.js.map +0 -1
  364. package/lib/commonjs/services/apiKeyService.js.map +0 -1
  365. package/lib/commonjs/services/oauthService.js.map +0 -1
  366. package/lib/commonjs/services/platformAuthService.js.map +0 -1
  367. package/lib/commonjs/types/ambient.d.js.map +0 -1
  368. package/lib/commonjs/types/declarations.d.js.map +0 -1
  369. package/lib/commonjs/types/index.d.js.map +0 -1
  370. package/lib/commonjs/types/index.js.map +0 -1
  371. package/lib/commonjs/types/node-fix.d.js.map +0 -1
  372. package/lib/commonjs/types/node-override.d.js.map +0 -1
  373. package/lib/commonjs/types/opacity.d.js.map +0 -1
  374. package/lib/commonjs/types/types.d.js.map +0 -1
  375. package/lib/commonjs/types.js.map +0 -1
  376. package/lib/commonjs/utils/Portal.js.map +0 -1
  377. package/lib/commonjs/utils/api.js.map +0 -1
  378. package/lib/commonjs/utils/auth.js.map +0 -1
  379. package/lib/commonjs/utils/crypto.js.map +0 -1
  380. package/lib/commonjs/utils/debugHelper.js.map +0 -1
  381. package/lib/commonjs/utils/encryption.js.map +0 -1
  382. package/lib/commonjs/utils/onairosApi.js.map +0 -1
  383. package/lib/commonjs/utils/programmaticFlow.js.map +0 -1
  384. package/lib/commonjs/utils/retryHelper.js.map +0 -1
  385. package/lib/commonjs/utils/secureStorage.js.map +0 -1
  386. package/lib/module/api/index.js.map +0 -1
  387. package/lib/module/assets/images/email.png +0 -0
  388. package/lib/module/assets/images/linkedin.png +0 -0
  389. package/lib/module/assets/images/reddit.png +0 -0
  390. package/lib/module/assets/images/youtube.png +0 -0
  391. package/lib/module/components/DataRequestModal.js +0 -220
  392. package/lib/module/components/DataRequestModal.js.map +0 -1
  393. package/lib/module/components/DataRequestScreen.js +0 -321
  394. package/lib/module/components/DataRequestScreen.js.map +0 -1
  395. package/lib/module/components/EmailVerificationModal.js +0 -311
  396. package/lib/module/components/EmailVerificationModal.js.map +0 -1
  397. package/lib/module/components/Onairos.js.map +0 -1
  398. package/lib/module/components/OnairosButton.js.map +0 -1
  399. package/lib/module/components/Overlay.js.map +0 -1
  400. package/lib/module/components/PinInput.js.map +0 -1
  401. package/lib/module/components/PlatformList.js.map +0 -1
  402. package/lib/module/components/TrainingModal.js +0 -708
  403. package/lib/module/components/TrainingModal.js.map +0 -1
  404. package/lib/module/components/UniversalOnboarding.js.map +0 -1
  405. package/lib/module/components/UniversalOnboarding.tsx.new +0 -455
  406. package/lib/module/components/onboarding/OAuthWebView.js.map +0 -1
  407. package/lib/module/components/onboarding/OnboardingHeader.js.map +0 -1
  408. package/lib/module/components/onboarding/PinInput.js.map +0 -1
  409. package/lib/module/components/onboarding/PlatformConnector.js.map +0 -1
  410. package/lib/module/components/screens/ConnectorScreen.js +0 -138
  411. package/lib/module/components/screens/ConnectorScreen.js.map +0 -1
  412. package/lib/module/components/screens/LoadingScreen.js +0 -83
  413. package/lib/module/components/screens/LoadingScreen.js.map +0 -1
  414. package/lib/module/components/screens/PinCreationScreen.js +0 -53
  415. package/lib/module/components/screens/PinCreationScreen.js.map +0 -1
  416. package/lib/module/constants/index.js.map +0 -1
  417. package/lib/module/hooks/useConnections.js.map +0 -1
  418. package/lib/module/hooks/useCredentials.js.map +0 -1
  419. package/lib/module/index.js.map +0 -1
  420. package/lib/module/services/apiKeyService.js.map +0 -1
  421. package/lib/module/services/oauthService.js.map +0 -1
  422. package/lib/module/services/platformAuthService.js.map +0 -1
  423. package/lib/module/types/ambient.d.js.map +0 -1
  424. package/lib/module/types/declarations.d.js.map +0 -1
  425. package/lib/module/types/index.d.js.map +0 -1
  426. package/lib/module/types/index.js.map +0 -1
  427. package/lib/module/types/node-fix.d.js.map +0 -1
  428. package/lib/module/types/node-override.d.js.map +0 -1
  429. package/lib/module/types/opacity.d.js.map +0 -1
  430. package/lib/module/types/types.d.js.map +0 -1
  431. package/lib/module/types.js.map +0 -1
  432. package/lib/module/utils/Portal.js.map +0 -1
  433. package/lib/module/utils/api.js.map +0 -1
  434. package/lib/module/utils/auth.js.map +0 -1
  435. package/lib/module/utils/crypto.js.map +0 -1
  436. package/lib/module/utils/debugHelper.js.map +0 -1
  437. package/lib/module/utils/encryption.js.map +0 -1
  438. package/lib/module/utils/onairosApi.js.map +0 -1
  439. package/lib/module/utils/programmaticFlow.js.map +0 -1
  440. package/lib/module/utils/retryHelper.js.map +0 -1
  441. package/lib/module/utils/secureStorage.js.map +0 -1
  442. package/lib/typescript/api/index.d.ts +0 -8
  443. package/lib/typescript/api/index.d.ts.map +0 -1
  444. package/lib/typescript/components/DataRequestModal.d.ts +0 -11
  445. package/lib/typescript/components/DataRequestModal.d.ts.map +0 -1
  446. package/lib/typescript/components/DataRequestScreen.d.ts +0 -11
  447. package/lib/typescript/components/DataRequestScreen.d.ts.map +0 -1
  448. package/lib/typescript/components/EmailVerificationModal.d.ts +0 -11
  449. package/lib/typescript/components/EmailVerificationModal.d.ts.map +0 -1
  450. package/lib/typescript/components/Onairos.d.ts +0 -4
  451. package/lib/typescript/components/Onairos.d.ts.map +0 -1
  452. package/lib/typescript/components/OnairosButton.d.ts +0 -12
  453. package/lib/typescript/components/OnairosButton.d.ts.map +0 -1
  454. package/lib/typescript/components/Overlay.d.ts +0 -4
  455. package/lib/typescript/components/Overlay.d.ts.map +0 -1
  456. package/lib/typescript/components/PinInput.d.ts +0 -4
  457. package/lib/typescript/components/PinInput.d.ts.map +0 -1
  458. package/lib/typescript/components/PlatformList.d.ts +0 -4
  459. package/lib/typescript/components/PlatformList.d.ts.map +0 -1
  460. package/lib/typescript/components/TrainingModal.d.ts +0 -4
  461. package/lib/typescript/components/TrainingModal.d.ts.map +0 -1
  462. package/lib/typescript/components/UniversalOnboarding.d.ts +0 -4
  463. package/lib/typescript/components/UniversalOnboarding.d.ts.map +0 -1
  464. package/lib/typescript/components/onboarding/OAuthWebView.d.ts +0 -10
  465. package/lib/typescript/components/onboarding/OAuthWebView.d.ts.map +0 -1
  466. package/lib/typescript/components/onboarding/OnboardingHeader.d.ts +0 -11
  467. package/lib/typescript/components/onboarding/OnboardingHeader.d.ts.map +0 -1
  468. package/lib/typescript/components/onboarding/PinInput.d.ts +0 -4
  469. package/lib/typescript/components/onboarding/PinInput.d.ts.map +0 -1
  470. package/lib/typescript/components/onboarding/PlatformConnector.d.ts +0 -13
  471. package/lib/typescript/components/onboarding/PlatformConnector.d.ts.map +0 -1
  472. package/lib/typescript/components/screens/ConnectorScreen.d.ts +0 -9
  473. package/lib/typescript/components/screens/ConnectorScreen.d.ts.map +0 -1
  474. package/lib/typescript/components/screens/LoadingScreen.d.ts +0 -9
  475. package/lib/typescript/components/screens/LoadingScreen.d.ts.map +0 -1
  476. package/lib/typescript/components/screens/PinCreationScreen.d.ts +0 -10
  477. package/lib/typescript/components/screens/PinCreationScreen.d.ts.map +0 -1
  478. package/lib/typescript/constants/index.d.ts +0 -53
  479. package/lib/typescript/constants/index.d.ts.map +0 -1
  480. package/lib/typescript/hooks/useConnections.d.ts +0 -9
  481. package/lib/typescript/hooks/useConnections.d.ts.map +0 -1
  482. package/lib/typescript/hooks/useCredentials.d.ts +0 -9
  483. package/lib/typescript/hooks/useCredentials.d.ts.map +0 -1
  484. package/lib/typescript/index.d.ts +0 -18
  485. package/lib/typescript/index.d.ts.map +0 -1
  486. package/lib/typescript/services/apiKeyService.d.ts +0 -132
  487. package/lib/typescript/services/apiKeyService.d.ts.map +0 -1
  488. package/lib/typescript/services/oauthService.d.ts +0 -50
  489. package/lib/typescript/services/oauthService.d.ts.map +0 -1
  490. package/lib/typescript/services/platformAuthService.d.ts +0 -144
  491. package/lib/typescript/services/platformAuthService.d.ts.map +0 -1
  492. package/lib/typescript/types/index.d.ts +0 -231
  493. package/lib/typescript/types/index.d.ts.map +0 -1
  494. package/lib/typescript/types.d.ts +0 -270
  495. package/lib/typescript/types.d.ts.map +0 -1
  496. package/lib/typescript/utils/Portal.d.ts +0 -14
  497. package/lib/typescript/utils/Portal.d.ts.map +0 -1
  498. package/lib/typescript/utils/api.d.ts +0 -6
  499. package/lib/typescript/utils/api.d.ts.map +0 -1
  500. package/lib/typescript/utils/auth.d.ts +0 -6
  501. package/lib/typescript/utils/auth.d.ts.map +0 -1
  502. package/lib/typescript/utils/crypto.d.ts +0 -4
  503. package/lib/typescript/utils/crypto.d.ts.map +0 -1
  504. package/lib/typescript/utils/debugHelper.d.ts +0 -29
  505. package/lib/typescript/utils/debugHelper.d.ts.map +0 -1
  506. package/lib/typescript/utils/encryption.d.ts +0 -19
  507. package/lib/typescript/utils/encryption.d.ts.map +0 -1
  508. package/lib/typescript/utils/onairosApi.d.ts +0 -87
  509. package/lib/typescript/utils/onairosApi.d.ts.map +0 -1
  510. package/lib/typescript/utils/programmaticFlow.d.ts +0 -23
  511. package/lib/typescript/utils/programmaticFlow.d.ts.map +0 -1
  512. package/lib/typescript/utils/retryHelper.d.ts +0 -69
  513. package/lib/typescript/utils/retryHelper.d.ts.map +0 -1
  514. package/lib/typescript/utils/secureStorage.d.ts +0 -94
  515. package/lib/typescript/utils/secureStorage.d.ts.map +0 -1
  516. package/src/api/index.ts +0 -111
  517. package/src/assets/images/email.png +0 -0
  518. package/src/assets/images/linkedin.png +0 -0
  519. package/src/assets/images/onairos_logo.png +0 -0
  520. package/src/assets/images/reddit.png +0 -0
  521. package/src/assets/images/youtube.png +0 -0
  522. package/src/components/DataRequestModal.tsx +0 -227
  523. package/src/components/DataRequestScreen.tsx +0 -356
  524. package/src/components/EmailVerificationModal.tsx +0 -364
  525. package/src/components/Onairos.tsx +0 -425
  526. package/src/components/OnairosButton.tsx +0 -359
  527. package/src/components/Overlay.tsx +0 -506
  528. package/src/components/PinInput.tsx +0 -343
  529. package/src/components/PlatformList.tsx +0 -145
  530. package/src/components/TrainingModal.tsx +0 -737
  531. package/src/components/UniversalOnboarding.tsx +0 -1839
  532. package/src/components/UniversalOnboarding.tsx.new +0 -455
  533. package/src/components/onboarding/OAuthWebView.tsx +0 -838
  534. package/src/components/onboarding/OnboardingHeader.tsx +0 -70
  535. package/src/components/onboarding/PinInput.tsx +0 -356
  536. package/src/components/onboarding/PlatformConnector.tsx +0 -302
  537. package/src/components/screens/ConnectorScreen.tsx +0 -153
  538. package/src/components/screens/LoadingScreen.tsx +0 -100
  539. package/src/components/screens/PinCreationScreen.tsx +0 -67
  540. package/src/constants/index.ts +0 -83
  541. package/src/hooks/useConnections.ts +0 -163
  542. package/src/hooks/useCredentials.ts +0 -175
  543. package/src/index.js +0 -14
  544. package/src/index.ts +0 -50
  545. package/src/services/SDK_API_KEY_VALIDATION.md +0 -421
  546. package/src/services/apiKeyService.ts +0 -984
  547. package/src/services/oauthService.ts +0 -412
  548. package/src/services/platformAuthService.ts +0 -1113
  549. package/src/types/ambient.d.ts +0 -29
  550. package/src/types/declarations.d.ts +0 -26
  551. package/src/types/index.d.ts +0 -274
  552. package/src/types/index.ts +0 -244
  553. package/src/types/node-fix.d.ts +0 -19
  554. package/src/types/node-override.d.ts +0 -24
  555. package/src/types/opacity.d.ts +0 -16
  556. package/src/types/types.d.ts +0 -18
  557. package/src/types.ts +0 -298
  558. package/src/utils/Portal.tsx +0 -83
  559. package/src/utils/api.js +0 -112
  560. package/src/utils/auth.js +0 -104
  561. package/src/utils/crypto.js +0 -60
  562. package/src/utils/debugHelper.ts +0 -53
  563. package/src/utils/encryption.ts +0 -69
  564. package/src/utils/onairosApi.ts +0 -391
  565. package/src/utils/programmaticFlow.ts +0 -113
  566. package/src/utils/retryHelper.ts +0 -275
  567. package/src/utils/secureStorage.ts +0 -361
  568. package/types/index.d.ts +0 -218
  569. package/types/node-env.d.ts +0 -15
  570. /package/{src/assets/images → lib/commonjs/assets/icons}/farcaster.png +0 -0
  571. /package/{src/assets/images → lib/commonjs/assets/icons}/instagram.png +0 -0
  572. /package/{src/assets/images → lib/commonjs/assets/icons}/pinterest.png +0 -0
  573. /package/{src/assets/images → lib/commonjs/assets/icons}/swerv_logo.png +0 -0
  574. /package/{src/assets/images → lib/commonjs/assets/icons}/twitter.jpg +0 -0
@@ -0,0 +1,14 @@
1
+ 'use strict';
2
+ // Onairos SDK - Asset Registry (auto-generated)
3
+ var __ONAIROS_REQ_REGISTRY__ = [
4
+ require("react"),
5
+ require("react-native"),
6
+ require("../theme"),
7
+ require("../utils/haptics"),
8
+ require("@react-native-async-storage/async-storage"),
9
+ require("../config/api"),
10
+ require('react-native-document-picker'),
11
+ require('react-native-fs')
12
+ ];
13
+ function __ONAIROS_REQ_FUNC__(i) { return __ONAIROS_REQ_REGISTRY__[i]; }
14
+ Object[_0x5b19(0x0)](exports,_0x5b19(0x1),{'value':!![]}),exports[_0x5b19(0x2)]=void 0x0;var _react=_interopRequireWildcard(__ONAIROS_REQ_FUNC__(0x0)),_reactNative=__ONAIROS_REQ_FUNC__(0x1),_theme=__ONAIROS_REQ_FUNC__(0x2),_haptics=__ONAIROS_REQ_FUNC__(0x3),_asyncStorage=_interopRequireDefault(__ONAIROS_REQ_FUNC__(0x4)),_api=__ONAIROS_REQ_FUNC__(0x5);function _0xfc3c(){const _0x4ad32a=['defineProperty','__esModule','default','function','UTypo','object','vokZk','npNjD','ntXKK','nDRBY','EJrwS','has','get','set','vKhpz','hasOwnProperty','call','getOwnPropertyDescriptor','DQBsh','log','chatgpt','Connect\x20ChatGPT','claude','Export\x20your\x20Claude\x20conversations\x20and\x20paste\x20the\x20JSON\x20data\x20below,\x20or\x20upload\x20your\x20exported\x20file.','Paste\x20your\x20Claude\x20conversation\x20JSON\x20here...','grok','Export\x20your\x20Grok\x20conversations\x20from\x20X/Twitter\x20and\x20paste\x20the\x20data\x20below.','Paste\x20your\x20conversation\x20data\x20below\x20or\x20upload\x20a\x20JSON\x20file.','File\x20pick\x20error:','Failed\x20to\x20read\x20file.\x20Please\x20try\x20again\x20or\x20paste\x20data\x20manually.','Imported\x20Conversation','IgeJH','NjJlj','paste','jSuYb','PSXEt','NiNUG','Error\x20parsing\x20conversation\x20data:','Invalid\x20JSON\x20format.\x20Please\x20check\x20your\x20data\x20and\x20try\x20again.','user','unknown','assistant','ceZUg','iiMIu','XWnba','Pbawq','Selected\x20file','EfmcP','file','IwsXZ','upqtK','No\x20valid\x20conversations\x20found\x20in\x20the\x20data.\x20Please\x20check\x20the\x20format.','enoch_token','auth_token','OOkzx','Authentication\x20required.\x20Please\x20sign\x20in\x20first.','1.0.0','conversation','KxFBK','Success!\x20🎉','TShmm','Failed\x20to\x20import\x20any\x20conversations.\x20Please\x20check\x20your\x20data\x20format.','Failed\x20to\x20import\x20data.\x20Please\x20try\x20again.','IBBiS','kcuuE','4|5|2|1|3|0','File\x20upload\x20requires\x20additional\x20dependencies.\x20Please\x20paste\x20data\x20instead.','slide','pageSheet','ios','padding','height','Cancel','Upload\x20File\x20','top','none','\x20characters','#FFFFFF','useState','ISFKl','gLEfV','UWGNV','Connect\x20Claude','gemini','iMAal','Export\x20your\x20Gemini\x20(Google\x20AI)\x20conversations\x20and\x20paste\x20the\x20data\x20below.','Paste\x20your\x20Gemini\x20conversation\x20JSON\x20here...','yTlnK','Connect\x20Grok','EJFSh','rxdaq','Connect\x20','QXUaQ','Paste\x20your\x20conversation\x20JSON\x20here...','fdhZL','kjPka','spbNt','sgkck','ktGKA','oedkQ','MchTg','uFsiK','fcbUk','RWnZO','parse','isArray','forEach','length','push','conversation_id','conv_','now','title','Conversation\x20','IAXbJ','create_time','created_at','updated_at','conversations','vHddi','eERHj','tCzYB','lRJDS','hqTKp','asXbC','text','message','PmFgt','trim','author','timestamp','HWUIv','parts','msg_','role','content','join','OOtSy','update_time','mapping','messages','LuQMp','fhONg','CMmId','HfCsz','error','nqMZK','gWfiH','HapticType','ERROR','bslfd','KZGFw','XEmel','tbryk','QPJio','wnqlA','aUyBY','xTTmp','xPDwY','rQOHm','NFnXK','BUTTON_PRESS','xSBtJ','KHukz','kQngv','string','CDanV','TDemj','XhuqT','GLORp','ZCUQZ','HpIsn','uPvYy','NXuaT','wiSLQ','values','RpUHD','ZQyQC','DmCVd','mGidz','fSFsi','toISOString','IeRtO','DQaLF','yXkFr','AkDLg','chat_messages','iKjJr','rrAAC','uuid','asayO','sender','uAJvW','kPHjg','human','AMVVw','jjuKp','uSzdg','allFiles','name','bcwWM','startsWith','content://','uri','yqvjM','vpzmb','wTjoP','readFile','utf8','ZowwG','psUFb','YiMTE','cCFHp','triggerHaptic','SUCCESS','kQQFP','code','eisgB','zmjwc','zpKYN','IlmOO','WfoDo','yQgZI','CPlnl','Please\x20paste\x20or\x20upload\x20conversation\x20data\x20first.','hOaSo','getItem','pRHqF','vyJdi','HQDJH','TlRyM','qwjSw','Qvwwz','LZpZH','PWntY','fVFII','gzqwu','mobile-','JkFIA','wRkiE','maTHB','WyOdY','API_CONFIG','BASE_URL','/llm-data/store','Bearer\x20','context','FFLgu','Version','CpOhk','VSkMc','XCaIo','pGFkE','YTbnD','setItem','@onairos:llm_connected:','Alert','alert','wiBDc','Successfully\x20imported\x20','\x20conversation','\x20from\x20','dXcyX','lUClr','Submit\x20error:','eInnP','jZDVr','yvojQ','AMnLy','split','uqVca','createElement','Modal','RpfaV','IfgiX','KeyboardAvoidingView','container','rlvcJ','Platform','bjsUm','XHWrX','View','header','TouchableOpacity','closeButton','Text','closeButtonText','XGGnz','headerTitle','ScrollView','contentContainer','handled','instructionsContainer','instructionsText','tabContainer','tab','gfehc','UQyCo','tabTextActive','tabActive','tabDisabled','LRHvt','tabText','tabTextDisabled','pGzRx','YsrWV','inputContainer','textInput','grey400','kuOnu','xtAKP','filePickIcon','filePickText','MvrdQ','wMMQq','errorContainer','errorText','pdGdq','previewTitle','previewText','fPYtz','previewInfo','toLocaleString','CzcXk','submitButtonDisabled','ActivityIndicator','fqctW','small','Import\x20Conversations','StyleSheet','create','COLORS','surface','600','grey800','#3B82F6','Inter','#0369A1','#F3F4F6','center','#000','500','grey500','Menlo','monospace','grey300','dashed','grey600','#F0FDF4','#166534','#FEF2F2','#DC2626','#E5E7EB'];_0xfc3c=function(){return _0x4ad32a;};return _0xfc3c();}function _interopRequireDefault(_0x2dfc2e){return _0x2dfc2e&&_0x2dfc2e[_0x5b19(0x1)]?_0x2dfc2e:{'default':_0x2dfc2e};}function _interopRequireWildcard(_0x72a248,_0x2b11e3){const _0x1140a2={'vKhpz':'Authentication\x20required.\x20Please\x20sign\x20in\x20first.','UTypo':function(_0x89d8bc,_0x36e6ac){return _0x89d8bc===_0x36e6ac;},'vokZk':function(_0x402a80,_0x3da19f){return _0x402a80!=_0x3da19f;},'npNjD':_0x5b19(0x3),'ntXKK':function(_0x1b837c,_0x2ac4b5){return _0x1b837c!==_0x2ac4b5;},'EJrwS':'uWxCk','DQBsh':function(_0x49d976,_0x2c622d,_0x899704,_0x271acd){return _0x49d976(_0x2c622d,_0x899704,_0x271acd);}};if(_0x5b19(0x3)==typeof WeakMap)var _0x1890de=new WeakMap(),_0x3b880b=new WeakMap();return(_interopRequireWildcard=function(_0x7cd64e,_0x5c4782){if(!_0x5c4782&&_0x7cd64e&&_0x7cd64e[_0x5b19(0x1)])return _0x7cd64e;var _0x5ea5f0,_0x1aa1d9,_0x44e6a2={'__proto__':null,'default':_0x7cd64e};if(_0x1140a2[_0x5b19(0x4)](null,_0x7cd64e)||_0x5b19(0x5)!=typeof _0x7cd64e&&_0x1140a2[_0x5b19(0x6)](_0x1140a2[_0x5b19(0x7)],typeof _0x7cd64e))return _0x44e6a2;if(_0x5ea5f0=_0x5c4782?_0x3b880b:_0x1890de){if(_0x1140a2[_0x5b19(0x8)](_0x5b19(0x9),_0x1140a2[_0x5b19(0xa)])){if(_0x5ea5f0[_0x5b19(0xb)](_0x7cd64e))return _0x5ea5f0[_0x5b19(0xc)](_0x7cd64e);_0x5ea5f0[_0x5b19(0xd)](_0x7cd64e,_0x44e6a2);}else throw new _0x16ff58(_0x1140a2[_0x5b19(0xe)]);}for(const _0x2f5052 in _0x7cd64e)_0x5b19(0x2)!==_0x2f5052&&{}[_0x5b19(0xf)][_0x5b19(0x10)](_0x7cd64e,_0x2f5052)&&((_0x1aa1d9=(_0x5ea5f0=Object[_0x5b19(0x0)])&&Object[_0x5b19(0x11)](_0x7cd64e,_0x2f5052))&&(_0x1aa1d9[_0x5b19(0xc)]||_0x1aa1d9[_0x5b19(0xd)])?_0x1140a2[_0x5b19(0x12)](_0x5ea5f0,_0x44e6a2,_0x2f5052,_0x1aa1d9):_0x44e6a2[_0x2f5052]=_0x7cd64e[_0x2f5052]);return _0x44e6a2;})(_0x72a248,_0x2b11e3);}function _0x5b19(_0xfc3c3e,_0x5b1947){_0xfc3c3e=_0xfc3c3e-0x0;const _0x1a1c45=_0xfc3c();let _0x4b37f8=_0x1a1c45[_0xfc3c3e];return _0x4b37f8;}let DocumentPicker=null,RNFS=null;try{DocumentPicker=__ONAIROS_REQ_FUNC__(0x6);}catch(_0x10c5c8){console[_0x5b19(0x13)]('react-native-document-picker not available - file upload disabled');}try{RNFS=__ONAIROS_REQ_FUNC__(0x7);}catch(_0xda6724){console[_0x5b19(0x13)]('react-native-fs not available - file upload disabled');}const FILE_UPLOAD_AVAILABLE=DocumentPicker!==null&&RNFS!==null,LLMDataInputModal=({visible:_0x31e477,platform:_0x297a88,platformName:_0x53aeb3,onClose:_0x4d8a53,onSuccess:_0x1f06b9})=>{const _0x4fcf6b={'ISFKl':_0x5b19(0x14),'jrpOj':_0x5b19(0x15),'NEPWR':'Export\x20your\x20ChatGPT\x20conversations\x20from\x20Settings\x20→\x20Data\x20Controls\x20→\x20Export\x20data.\x20Then\x20upload\x20the\x20JSON\x20file\x20or\x20paste\x20your\x20conversation\x20data.','gLEfV':'Paste\x20your\x20ChatGPT\x20conversation\x20JSON\x20here...','UWGNV':_0x5b19(0x16),'uRQcA':_0x5b19(0x17),'TCEDn':_0x5b19(0x18),'iMAal':'Connect\x20Gemini','yTlnK':_0x5b19(0x19),'EJFSh':_0x5b19(0x1a),'rxdaq':'Paste\x20your\x20Grok\x20conversation\x20JSON\x20here...','QXUaQ':_0x5b19(0x1b),'CMmId':function(_0x3b8803,_0x2f14a7){return _0x3b8803!==_0x2f14a7;},'HfCsz':'DOCUMENT_PICKER_CANCELED','nqMZK':_0x5b19(0x1c),'gWfiH':function(_0x3e344c,_0xdb5c45){return _0x3e344c(_0xdb5c45);},'oWutL':_0x5b19(0x1d),'wnqlA':_0x5b19(0x1e),'kjPka':function(_0x57f655,_0x1c2c9c){return _0x57f655+_0x1c2c9c;},'spbNt':function(_0x45e503,_0x362214){return _0x45e503===_0x362214;},'sgkck':function(_0x227677,_0xba9e6b){return _0x227677!==_0xba9e6b;},'ktGKA':function(_0x1da4f5,_0x31570d){return _0x1da4f5===_0x31570d;},'oedkQ':_0x5b19(0x1f),'lKZoX':_0x5b19(0x20),'MchTg':function(_0x29d8c6,_0x15bf45){return _0x29d8c6(_0x15bf45);},'KZGFw':function(_0x4a0fe5,_0x37b5ea){return _0x4a0fe5>_0x37b5ea;},'uFsiK':_0x5b19(0x21),'fcbUk':function(_0x28acc4,_0x1c08e0){return _0x28acc4===_0x1c08e0;},'CwDKn':_0x5b19(0x22),'mFRzo':function(_0x5b6422,_0x27d5af){return _0x5b6422!==_0x27d5af;},'fhONg':'LuQMp','bslfd':function(_0x4f5a41,_0x550556){return _0x4f5a41(_0x550556);},'XEmel':function(_0x65a93b,_0x38dac4){return _0x65a93b===_0x38dac4;},'tbryk':_0x5b19(0x23),'QPJio':_0x5b19(0x24),'aUyBY':function(_0x4cd25f,_0x2b8afd){return _0x4cd25f>_0x2b8afd;},'aPPFx':'ezNdZ','xSBtJ':_0x5b19(0x25),'Cerds':_0x5b19(0x26),'CDanV':_0x5b19(0x27),'AkDLg':function(_0x3c9274,_0x2bfb52){return _0x3c9274(_0x2bfb52);},'KHukz':function(_0x14b673,_0x3bfbe1){return _0x14b673!==_0x3bfbe1;},'kQngv':_0x5b19(0x28),'TDemj':_0x5b19(0x29),'XhuqT':_0x5b19(0x2a),'GLORp':_0x5b19(0x2b),'ZCUQZ':function(_0x45a47c,_0x3d2122){return _0x45a47c===_0x3d2122;},'HpIsn':_0x5b19(0x2c),'uPvYy':'HyGYI','IeRtO':_0x5b19(0x2d),'AMVVw':function(_0xfbd578,_0x1e513c){return _0xfbd578!==_0x1e513c;},'jjuKp':function(_0x5086ab,_0x4fc0c2){return _0x5086ab===_0x4fc0c2;},'uSzdg':function(_0x19356c,_0x4e1d44){return _0x19356c*_0x4e1d44;},'vnmIL':function(_0x31d1b4,_0x4bdcf3){return _0x31d1b4(_0x4bdcf3);},'bcwWM':_0x5b19(0x2e),'yqvjM':'utf8','PZIdD':function(_0x55ff7e,_0x37a36c){return _0x55ff7e!==_0x37a36c;},'vpzmb':_0x5b19(0x2f),'betIT':function(_0xe1b5a9,_0x1e9604){return _0xe1b5a9(_0x1e9604);},'kQQFP':function(_0x5de01c,_0x29d72e){return _0x5de01c!==_0x29d72e;},'maTHB':_0x5b19(0x30),'phywC':function(_0x2aca66,_0xb69a90){return _0x2aca66===_0xb69a90;},'YTbnD':function(_0x478105,_0x178bea){return _0x478105===_0x178bea;},'YsrWV':function(_0x5e9e2e,_0x4ab73a){return _0x5e9e2e&&_0x4ab73a;},'eisgB':function(_0x1fe4e6,_0x2e141e){return _0x1fe4e6!=_0x2e141e;},'zmjwc':'object','zpKYN':function(_0xb26b25,_0xcd4899,_0xd50c51,_0xc5636){return _0xb26b25(_0xcd4899,_0xd50c51,_0xc5636);},'IlmOO':function(_0x331048,_0x32ab88){return _0x331048===_0x32ab88;},'WfoDo':_0x5b19(0x31),'yQgZI':_0x5b19(0x32),'CPlnl':function(_0x5f4262,_0x43fe72){return _0x5f4262(_0x43fe72);},'hOaSo':function(_0x123bb3,_0x301c3a){return _0x123bb3(_0x301c3a);},'UwSEZ':_0x5b19(0x33),'pRHqF':'onairos_jwt_token','vyJdi':_0x5b19(0x34),'HQDJH':_0x5b19(0x35),'TlRyM':function(_0x373613,_0x1a17ed){return _0x373613!==_0x1a17ed;},'qwjSw':_0x5b19(0x36),'gzqwu':_0x5b19(0x37),'WyOdY':function(_0x3b3df5,_0x59677b,_0x3dd34e){return _0x3b3df5(_0x59677b,_0x3dd34e);},'FFLgu':_0x5b19(0x38),'CpOhk':_0x5b19(0x39),'VSkMc':'mobile_app_import','QuOlu':function(_0x30a5a0,_0xdd7e37){return _0x30a5a0===_0xdd7e37;},'pGFkE':_0x5b19(0x3a),'wiBDc':_0x5b19(0x3b),'UQyCo':function(_0x327ea0,_0x295c37){return _0x327ea0===_0x295c37;},'dXcyX':_0x5b19(0x3c),'lUClr':_0x5b19(0x3d),'eInnP':_0x5b19(0x3e),'jZDVr':_0x5b19(0x3f),'yvojQ':_0x5b19(0x40),'AMnLy':_0x5b19(0x41),'mrmGs':function(_0x3e7c69){return _0x3e7c69();},'nEdWd':function(_0x434779,_0x3b29c5){return _0x434779(_0x3b29c5);},'vJdtd':function(_0xb53f21,_0x4c7f9c){return _0xb53f21(_0x4c7f9c);},'uqVca':function(_0x2fe849,_0x3fde38){return _0x2fe849(_0x3fde38);},'gfehc':function(_0x343ef2,_0x5c883d){return _0x343ef2(_0x5c883d);},'waXLm':function(_0x1628b0,_0x42addb){return _0x1628b0(_0x42addb);},'eaCDW':function(_0x1f2ded,_0x391e49){return _0x1f2ded(_0x391e49);},'LRHvt':_0x5b19(0x42),'fdhZL':function(_0x1c300b){return _0x1c300b();},'RpfaV':_0x5b19(0x43),'IfgiX':_0x5b19(0x44),'rlvcJ':function(_0x37f354,_0x2728b){return _0x37f354===_0x2728b;},'ofImz':_0x5b19(0x45),'bjsUm':_0x5b19(0x46),'XHWrX':_0x5b19(0x47),'XGGnz':_0x5b19(0x48),'pGzRx':_0x5b19(0x49),'gTfSl':'(N/A)','kuOnu':_0x5b19(0x4a),'xtAKP':_0x5b19(0x4b),'MvrdQ':function(_0xfde18a,_0x521525){return _0xfde18a||_0x521525;},'wMMQq':'Tap\x20to\x20select\x20a\x20file','pdGdq':function(_0x818af9,_0x311606){return _0x818af9>_0x311606;},'fPYtz':'...','CzcXk':_0x5b19(0x4c),'fqctW':_0x5b19(0x4d)},[_0x586551,_0x4a8f67]=(0x0,_react['useState'])(_0x4fcf6b['uFsiK']),[_0x17f922,_0x2c9c14]=(0x0,_react[_0x5b19(0x4e)])(''),[_0x292097,_0x2d31a5]=(0x0,_react[_0x5b19(0x4e)])(![]),[_0x492ba8,_0x3098d7]=(0x0,_react[_0x5b19(0x4e)])(null),[_0x180c90,_0x2bea14]=(0x0,_react[_0x5b19(0x4e)])(null),[_0x3b2fd2,_0x5b0600]=(0x0,_react[_0x5b19(0x4e)])(null),_0x4b6cde=()=>{switch(_0x297a88){case _0x4fcf6b[_0x5b19(0x4f)]:return{'title':_0x4fcf6b['jrpOj'],'instructions':_0x4fcf6b['NEPWR'],'placeholder':_0x4fcf6b[_0x5b19(0x50)]};case _0x4fcf6b[_0x5b19(0x51)]:return{'title':_0x5b19(0x52),'instructions':_0x4fcf6b['uRQcA'],'placeholder':_0x4fcf6b['TCEDn']};case _0x5b19(0x53):return{'title':_0x4fcf6b[_0x5b19(0x54)],'instructions':_0x5b19(0x55),'placeholder':_0x5b19(0x56)};case _0x4fcf6b[_0x5b19(0x57)]:return{'title':_0x5b19(0x58),'instructions':_0x4fcf6b[_0x5b19(0x59)],'placeholder':_0x4fcf6b[_0x5b19(0x5a)]};default:return{'title':_0x5b19(0x5b)+_0x53aeb3,'instructions':_0x4fcf6b[_0x5b19(0x5c)],'placeholder':_0x5b19(0x5d)};}},{title:_0x25fe2c,instructions:_0x599193,placeholder:_0x58be5e}=_0x4fcf6b[_0x5b19(0x5e)](_0x4b6cde),_0x42592a=_0x3e4cf3=>{const _0x5bb5ca={'ALyuh':function(_0x382cc8,_0x3b7f29){return _0x382cc8>_0x3b7f29;},'IAXbJ':function(_0x33d54b,_0x5a46ad){return _0x4fcf6b[_0x5b19(0x5f)](_0x33d54b,_0x5a46ad);},'vHddi':function(_0x3bdc9c,_0x123d6a){return _0x4fcf6b[_0x5b19(0x60)](_0x3bdc9c,_0x123d6a);},'eERHj':function(_0x1ed869,_0x2eea54){return _0x4fcf6b[_0x5b19(0x61)](_0x1ed869,_0x2eea54);},'tCzYB':function(_0x11f7b1,_0x27884c){return _0x11f7b1!==_0x27884c;},'lRJDS':function(_0x3ae93f,_0x40cbc3){return _0x4fcf6b[_0x5b19(0x62)](_0x3ae93f,_0x40cbc3);},'hqTKp':_0x4fcf6b[_0x5b19(0x63)],'asXbC':_0x4fcf6b['lKZoX'],'pddos':function(_0x4a6a38,_0x20d69a){return _0x4fcf6b[_0x5b19(0x64)](_0x4a6a38,_0x20d69a);},'OOtSy':function(_0x25d10,_0x4ab2c1){return _0x4fcf6b['KZGFw'](_0x25d10,_0x4ab2c1);},'NFnXK':_0x4fcf6b[_0x5b19(0x65)]};try{if(_0x4fcf6b[_0x5b19(0x66)](_0x5b19(0x67),_0x4fcf6b['CwDKn'])){_0x1fb337('File upload requires react-native-document-picker and react-native-fs. Please paste data instead.');return;}else{const _0x2f53a6=JSON[_0x5b19(0x68)](_0x3e4cf3),_0x43b336=[];if(Array[_0x5b19(0x69)](_0x2f53a6))_0x2f53a6[_0x5b19(0x6a)]((_0x4d3a8a,_0x5c52f6)=>{const _0x5df831=_0xb389da(_0x4d3a8a);_0x5bb5ca['ALyuh'](_0x5df831[_0x5b19(0x6b)],0x0)&&_0x43b336[_0x5b19(0x6c)]({'conversationId':_0x4d3a8a['id']||_0x4d3a8a[_0x5b19(0x6d)]||_0x5b19(0x6e)+_0x5c52f6+'_'+Date[_0x5b19(0x6f)](),'messages':_0x5df831,'context':{'title':_0x4d3a8a[_0x5b19(0x70)]||_0x4d3a8a['name']||_0x5b19(0x71)+_0x5bb5ca[_0x5b19(0x72)](_0x5c52f6,0x1),'create_time':_0x4d3a8a[_0x5b19(0x73)]||_0x4d3a8a[_0x5b19(0x74)],'update_time':_0x4d3a8a['update_time']||_0x4d3a8a[_0x5b19(0x75)]}});});else{if(_0x2f53a6[_0x5b19(0x76)]&&Array[_0x5b19(0x69)](_0x2f53a6[_0x5b19(0x76)]))_0x2f53a6[_0x5b19(0x76)][_0x5b19(0x6a)]((_0x48b0ba,_0x5b3a03)=>{const _0x2c3b54={'Fduux':function(_0x441da5,_0x37de42){return _0x5bb5ca[_0x5b19(0x77)](_0x441da5,_0x37de42);},'PmFgt':'string','HWUIv':function(_0x3eb724,_0x5ef1f0){return _0x5bb5ca[_0x5b19(0x78)](_0x3eb724,_0x5ef1f0);},'gbzdn':function(_0x342e07,_0x55a627){return _0x5bb5ca[_0x5b19(0x79)](_0x342e07,_0x55a627);}};if(_0x5bb5ca[_0x5b19(0x7a)](_0x5bb5ca[_0x5b19(0x7b)],_0x5bb5ca[_0x5b19(0x7c)])){var _0x35f44c;const _0x53996f=_0x1b3a0c['content']||_0x39d782[_0x5b19(0x7d)]||_0x4c782f[_0x5b19(0x7e)]||'';if(_0x2c3b54['Fduux'](typeof _0x53996f,_0x2c3b54[_0x5b19(0x7f)])&&_0x53996f[_0x5b19(0x80)]())_0x5498eb['push']({'id':_0x20d7aa['id']||'msg_'+_0x500a43,'role':_0x1434b3['role']||_0x1cb4f0[_0x5b19(0x81)]||_0x5b19(0x27),'content':_0x53996f,'timestamp':_0x17ac80[_0x5b19(0x82)]||_0x3f85bd['created_at']});else _0x2c3b54[_0x5b19(0x83)](_0x35f44c=_0x29f60a['content'],null)&&_0x2c3b54['gbzdn'](_0x35f44c,void 0x0)&&_0x35f44c[_0x5b19(0x84)]&&_0x365bd4[_0x5b19(0x6c)]({'id':_0x4b2218['id']||_0x5b19(0x85)+_0xcfa378,'role':_0x446bb6[_0x5b19(0x86)]||_0x5b19(0x27),'content':_0x27d80d[_0x5b19(0x87)][_0x5b19(0x84)][_0x5b19(0x88)]('\x0a'),'timestamp':_0x415c45[_0x5b19(0x82)]});}else{const _0x30dbf9=_0x5bb5ca['pddos'](_0xb389da,_0x48b0ba);_0x5bb5ca[_0x5b19(0x89)](_0x30dbf9[_0x5b19(0x6b)],0x0)&&_0x43b336[_0x5b19(0x6c)]({'conversationId':_0x48b0ba['id']||_0x5b19(0x6e)+_0x5b3a03+'_'+Date[_0x5b19(0x6f)](),'messages':_0x30dbf9,'context':{'title':_0x48b0ba[_0x5b19(0x70)]||'Conversation\x20'+_0x5bb5ca[_0x5b19(0x72)](_0x5b3a03,0x1),'create_time':_0x48b0ba[_0x5b19(0x73)],'update_time':_0x48b0ba[_0x5b19(0x8a)]}});}});else{if(_0x2f53a6[_0x5b19(0x8b)]||_0x2f53a6[_0x5b19(0x8c)]){if(_0x4fcf6b['mFRzo'](_0x5b19(0x8d),_0x4fcf6b[_0x5b19(0x8e)]))_0x4fcf6b[_0x5b19(0x8f)](_0x7387ae['code'],_0x4fcf6b[_0x5b19(0x90)])&&(_0x251a15[_0x5b19(0x91)](_0x4fcf6b[_0x5b19(0x92)],_0x57dea3),_0x4fcf6b[_0x5b19(0x93)](_0x24a093,_0x4fcf6b['oWutL']),(0x0,_0xa04d63['triggerHaptic'])(_0x468af6[_0x5b19(0x94)][_0x5b19(0x95)]));else{const _0x4b4e6d=_0x4fcf6b[_0x5b19(0x96)](_0xb389da,_0x2f53a6);_0x4fcf6b[_0x5b19(0x97)](_0x4b4e6d['length'],0x0)&&(_0x4fcf6b[_0x5b19(0x98)](_0x4fcf6b[_0x5b19(0x99)],_0x4fcf6b[_0x5b19(0x9a)])?_0x78bf04[_0x5b19(0x6c)]({'conversationId':_0x1485ed['id']||_0x5b19(0x6e)+_0x938d4a[_0x5b19(0x6f)](),'messages':_0x43f56e,'context':{'title':_0x2fdd70[_0x5b19(0x70)]||_0x4fcf6b[_0x5b19(0x9b)],'create_time':_0x36737f[_0x5b19(0x73)],'update_time':_0x448be4[_0x5b19(0x8a)]}}):_0x43b336[_0x5b19(0x6c)]({'conversationId':_0x2f53a6['id']||_0x5b19(0x6e)+Date[_0x5b19(0x6f)](),'messages':_0x4b4e6d,'context':{'title':_0x2f53a6[_0x5b19(0x70)]||_0x5b19(0x1e),'create_time':_0x2f53a6['create_time'],'update_time':_0x2f53a6[_0x5b19(0x8a)]}}));}}else{const _0x4e6b88=_0xb389da(_0x2f53a6);if(_0x4fcf6b[_0x5b19(0x9c)](_0x4e6b88['length'],0x0)){if(_0x4fcf6b[_0x5b19(0x98)](_0x5b19(0x9d),_0x4fcf6b['aPPFx'])){const _0x4db426={'xPDwY':function(_0x100032,_0x365f17){return _0x4fcf6b[_0x5b19(0x93)](_0x100032,_0x365f17);},'QNUZd':function(_0x1ebefa,_0x1ae575){return _0x1ebefa>_0x1ae575;}};_0x5579ad[_0x5b19(0x76)][_0x5b19(0x6a)]((_0x296659,_0x1f4984)=>{const _0x6df2a2=_0x4db426[_0x5b19(0x9e)](_0xaff85d,_0x296659);_0x4db426['QNUZd'](_0x6df2a2['length'],0x0)&&_0x347469['push']({'conversationId':_0x296659['id']||'conv_'+_0x1f4984+'_'+_0x5c614e['now'](),'messages':_0x6df2a2,'context':{'title':_0x296659[_0x5b19(0x70)]||_0x5b19(0x71)+(_0x1f4984+0x1),'create_time':_0x296659[_0x5b19(0x73)],'update_time':_0x296659[_0x5b19(0x8a)]}});});}else _0x43b336[_0x5b19(0x6c)]({'conversationId':_0x5b19(0x6e)+Date[_0x5b19(0x6f)](),'messages':_0x4e6b88,'context':{'title':_0x2f53a6[_0x5b19(0x70)]||_0x4fcf6b[_0x5b19(0x9b)]}});}}}}return _0x43b336;}}catch(_0x107c6d){if(_0x5b19(0x9f)!=='rQOHm')_0xe2006f(_0x5bb5ca[_0x5b19(0xa0)]),(0x0,_0x24a2ba['triggerHaptic'])(_0x4be261[_0x5b19(0x94)][_0x5b19(0xa1)]);else{console[_0x5b19(0x91)](_0x4fcf6b[_0x5b19(0xa2)],_0x107c6d);throw new Error(_0x4fcf6b['Cerds']);}}},_0xb389da=_0x1db668=>{const _0x404107={'RpUHD':function(_0x389a6e,_0x5ac7db){return _0x4fcf6b[_0x5b19(0xa3)](_0x389a6e,_0x5ac7db);},'ZQyQC':function(_0x372127,_0x281787){return _0x372127!==_0x281787;},'DmCVd':function(_0x1b524c,_0x3ec017){return _0x4fcf6b[_0x5b19(0xa3)](_0x1b524c,_0x3ec017);},'zcSwN':function(_0x287a39,_0x202f21){return _0x4fcf6b[_0x5b19(0x98)](_0x287a39,_0x202f21);},'mGidz':function(_0x2827ab,_0x3c0b78){return _0x4fcf6b['fcbUk'](_0x2827ab,_0x3c0b78);},'fSFsi':_0x4fcf6b[_0x5b19(0xa4)],'ihcUR':function(_0x34b219,_0x37cb10){return _0x34b219*_0x37cb10;},'DQaLF':_0x5b19(0xa5),'yXkFr':_0x4fcf6b[_0x5b19(0xa6)],'joKBq':function(_0x356b61,_0x16c4d9){return _0x356b61!==_0x16c4d9;},'kPHjg':_0x4fcf6b[_0x5b19(0xa7)],'iKjJr':_0x4fcf6b[_0x5b19(0xa8)],'rrAAC':_0x4fcf6b[_0x5b19(0xa9)],'asayO':function(_0x421f32,_0x506145){return _0x421f32===_0x506145;},'uAJvW':'human'},_0x3a3275=[];if(_0x1db668[_0x5b19(0x8b)]){if(_0x4fcf6b[_0x5b19(0xaa)](_0x4fcf6b[_0x5b19(0xab)],_0x4fcf6b[_0x5b19(0xac)])){const _0x27bcf6={'rVOAq':'string','wiSLQ':_0x4fcf6b[_0x5b19(0xa6)],'NXuaT':function(_0x2aa467,_0x59f069){return _0x4fcf6b['mFRzo'](_0x2aa467,_0x59f069);}};_0x43aca2[_0x5b19(0x8c)][_0x5b19(0x6a)]((_0x16586a,_0xf824a6)=>{var _0x3748c5;const _0x58a7fc=_0x16586a[_0x5b19(0x87)]||_0x16586a[_0x5b19(0x7d)]||_0x16586a[_0x5b19(0x7e)]||'';if(typeof _0x58a7fc===_0x27bcf6['rVOAq']&&_0x58a7fc[_0x5b19(0x80)]())_0x5f08bc[_0x5b19(0x6c)]({'id':_0x16586a['id']||_0x5b19(0x85)+_0xf824a6,'role':_0x16586a['role']||_0x16586a[_0x5b19(0x81)]||_0x27bcf6['wiSLQ'],'content':_0x58a7fc,'timestamp':_0x16586a[_0x5b19(0x82)]||_0x16586a[_0x5b19(0x74)]});else _0x27bcf6[_0x5b19(0xad)](_0x3748c5=_0x16586a[_0x5b19(0x87)],null)&&_0x27bcf6[_0x5b19(0xad)](_0x3748c5,void 0x0)&&_0x3748c5[_0x5b19(0x84)]&&_0x3cf83d['push']({'id':_0x16586a['id']||_0x5b19(0x85)+_0xf824a6,'role':_0x16586a[_0x5b19(0x86)]||_0x27bcf6[_0x5b19(0xae)],'content':_0x16586a[_0x5b19(0x87)]['parts'][_0x5b19(0x88)]('\x0a'),'timestamp':_0x16586a[_0x5b19(0x82)]});});}else Object[_0x5b19(0xaf)](_0x1db668['mapping'])[_0x5b19(0x6a)]((_0x47487e,_0x8a00f1)=>{var _0x36776c;if(_0x404107[_0x5b19(0xb0)](_0x47487e,null)&&_0x47487e!==void 0x0&&(_0x36776c=_0x47487e[_0x5b19(0x7e)])!==null&&_0x404107[_0x5b19(0xb1)](_0x36776c,void 0x0)&&_0x404107[_0x5b19(0xb2)](_0x36776c=_0x36776c['content'],null)&&_0x404107[_0x5b19(0xb2)](_0x36776c,void 0x0)&&_0x36776c[_0x5b19(0x84)]){const _0xe11084=_0x47487e[_0x5b19(0x7e)]['content'][_0x5b19(0x84)][_0x5b19(0x88)]('\x0a');if(_0xe11084['trim']()){var _0x4689fe;_0x3a3275[_0x5b19(0x6c)]({'id':_0x47487e[_0x5b19(0x7e)]['id']||_0x5b19(0x85)+_0x8a00f1,'role':(_0x404107['zcSwN'](_0x4689fe=_0x47487e['message'][_0x5b19(0x81)],null)||_0x404107[_0x5b19(0xb3)](_0x4689fe,void 0x0)?void 0x0:_0x4689fe['role'])||_0x404107[_0x5b19(0xb4)],'content':_0xe11084,'timestamp':_0x47487e[_0x5b19(0x7e)][_0x5b19(0x73)]?new Date(_0x404107['ihcUR'](_0x47487e['message'][_0x5b19(0x73)],0x3e8))[_0x5b19(0xb5)]():undefined});}}});}return _0x1db668['messages']&&Array[_0x5b19(0x69)](_0x1db668[_0x5b19(0x8c)])&&(_0x4fcf6b[_0x5b19(0x98)](_0x4fcf6b[_0x5b19(0xb6)],_0x4fcf6b[_0x5b19(0xb6)])?_0x1db668[_0x5b19(0x8c)]['forEach']((_0x51f5ae,_0x4fa3b3)=>{var _0x29f23a;const _0x3e4e4e=_0x51f5ae[_0x5b19(0x87)]||_0x51f5ae[_0x5b19(0x7d)]||_0x51f5ae[_0x5b19(0x7e)]||'';if(typeof _0x3e4e4e===_0x404107[_0x5b19(0xb7)]&&_0x3e4e4e['trim']())_0x3a3275[_0x5b19(0x6c)]({'id':_0x51f5ae['id']||_0x5b19(0x85)+_0x4fa3b3,'role':_0x51f5ae[_0x5b19(0x86)]||_0x51f5ae['author']||_0x404107[_0x5b19(0xb8)],'content':_0x3e4e4e,'timestamp':_0x51f5ae['timestamp']||_0x51f5ae[_0x5b19(0x74)]});else _0x404107[_0x5b19(0xb0)](_0x29f23a=_0x51f5ae[_0x5b19(0x87)],null)&&_0x404107['joKBq'](_0x29f23a,void 0x0)&&_0x29f23a['parts']&&_0x3a3275[_0x5b19(0x6c)]({'id':_0x51f5ae['id']||_0x5b19(0x85)+_0x4fa3b3,'role':_0x51f5ae[_0x5b19(0x86)]||'user','content':_0x51f5ae[_0x5b19(0x87)]['parts'][_0x5b19(0x88)]('\x0a'),'timestamp':_0x51f5ae[_0x5b19(0x82)]});}):_0x4fcf6b[_0x5b19(0xb9)](_0x50eec5,![])),_0x1db668[_0x5b19(0xba)]&&Array[_0x5b19(0x69)](_0x1db668['chat_messages'])&&_0x1db668[_0x5b19(0xba)][_0x5b19(0x6a)]((_0x2f8023,_0x3c86cc)=>{_0x404107[_0x5b19(0xbb)]!==_0x404107[_0x5b19(0xbc)]?(_0x2f8023[_0x5b19(0x7d)]||_0x2f8023['content'])&&_0x3a3275[_0x5b19(0x6c)]({'id':_0x2f8023[_0x5b19(0xbd)]||_0x5b19(0x85)+_0x3c86cc,'role':_0x404107[_0x5b19(0xbe)](_0x2f8023[_0x5b19(0xbf)],_0x404107[_0x5b19(0xc0)])?_0x5b19(0x27):_0x404107[_0x5b19(0xc1)],'content':_0x2f8023[_0x5b19(0x7d)]||_0x2f8023[_0x5b19(0x87)],'timestamp':_0x2f8023[_0x5b19(0x74)]}):(_0x2372d3['text']||_0x3106c[_0x5b19(0x87)])&&_0x4660a9[_0x5b19(0x6c)]({'id':_0x5e9948[_0x5b19(0xbd)]||_0x5b19(0x85)+_0x5a6b81,'role':_0x4fe101[_0x5b19(0xbf)]===_0x5b19(0xc2)?_0x404107[_0x5b19(0xb8)]:_0x404107[_0x5b19(0xc1)],'content':_0x43b133[_0x5b19(0x7d)]||_0x52e49b[_0x5b19(0x87)],'timestamp':_0x20efe2[_0x5b19(0x74)]});}),_0x3a3275;},_0x37f408=async()=>{const _0x390f85={'ZowwG':function(_0x5b38e4,_0x1e7d88){return _0x4fcf6b[_0x5b19(0xc3)](_0x5b38e4,_0x1e7d88);},'psUFb':function(_0x1aa4b8,_0x60406){return _0x4fcf6b[_0x5b19(0xc4)](_0x1aa4b8,_0x60406);},'YiMTE':'unknown','cCFHp':function(_0x583385,_0x40e742){return _0x4fcf6b[_0x5b19(0xc5)](_0x583385,_0x40e742);}};if(!FILE_UPLOAD_AVAILABLE){_0x4fcf6b['vnmIL'](_0x3098d7,'File upload requires react-native-document-picker and react-native-fs. Please paste data instead.');return;}try{_0x4fcf6b['MchTg'](_0x3098d7,null);const {pick:_0x9ef7e,types:_0x47672b}=DocumentPicker,_0x1d2e97=await _0x4fcf6b[_0x5b19(0x93)](_0x9ef7e,{'type':[_0x47672b['json'],_0x47672b['plainText'],_0x47672b[_0x5b19(0xc6)]]});if(_0x1d2e97&&_0x1d2e97[0x0]){const _0x44ca5d=_0x1d2e97[0x0];_0x4fcf6b[_0x5b19(0x96)](_0x2bea14,_0x44ca5d[_0x5b19(0xc7)]||_0x4fcf6b[_0x5b19(0xc8)]);let _0x2257cb;_0x44ca5d['uri'][_0x5b19(0xc9)](_0x5b19(0xca))?_0x2257cb=await RNFS['readFile'](_0x44ca5d[_0x5b19(0xcb)],_0x4fcf6b[_0x5b19(0xcc)]):_0x4fcf6b['PZIdD'](_0x4fcf6b[_0x5b19(0xcd)],_0x5b19(0xce))?_0x2257cb=await RNFS[_0x5b19(0xcf)](_0x44ca5d[_0x5b19(0xcb)],_0x5b19(0xd0)):_0x8b3362[_0x5b19(0xaf)](_0x319dc6[_0x5b19(0x8b)])[_0x5b19(0x6a)]((_0x1b80c7,_0x5bfef5)=>{var _0x44a888;if(_0x390f85['ZowwG'](_0x1b80c7,null)&&_0x1b80c7!==void 0x0&&_0x390f85[_0x5b19(0xd1)](_0x44a888=_0x1b80c7[_0x5b19(0x7e)],null)&&_0x44a888!==void 0x0&&_0x390f85['ZowwG'](_0x44a888=_0x44a888[_0x5b19(0x87)],null)&&_0x44a888!==void 0x0&&_0x44a888[_0x5b19(0x84)]){const _0x5e567d=_0x1b80c7[_0x5b19(0x7e)][_0x5b19(0x87)]['parts'][_0x5b19(0x88)]('\x0a');if(_0x5e567d[_0x5b19(0x80)]()){var _0x4f1d99;_0xd3b04f[_0x5b19(0x6c)]({'id':_0x1b80c7['message']['id']||_0x5b19(0x85)+_0x5bfef5,'role':(_0x390f85[_0x5b19(0xd2)](_0x4f1d99=_0x1b80c7['message'][_0x5b19(0x81)],null)||_0x390f85[_0x5b19(0xd2)](_0x4f1d99,void 0x0)?void 0x0:_0x4f1d99[_0x5b19(0x86)])||_0x390f85[_0x5b19(0xd3)],'content':_0x5e567d,'timestamp':_0x1b80c7[_0x5b19(0x7e)]['create_time']?new _0x3f7ed1(_0x390f85[_0x5b19(0xd4)](_0x1b80c7['message'][_0x5b19(0x73)],0x3e8))['toISOString']():_0x2bd446});}}}),_0x4fcf6b['betIT'](_0x5b0600,_0x2257cb),_0x2c9c14(_0x2257cb),(0x0,_haptics[_0x5b19(0xd5)])(_haptics[_0x5b19(0x94)][_0x5b19(0xd6)]);}}catch(_0x532494){_0x4fcf6b[_0x5b19(0xd7)](_0x532494[_0x5b19(0xd8)],_0x4fcf6b[_0x5b19(0x90)])&&(console[_0x5b19(0x91)](_0x4fcf6b[_0x5b19(0x92)],_0x532494),_0x3098d7(_0x4fcf6b['oWutL']),(0x0,_haptics['triggerHaptic'])(_haptics[_0x5b19(0x94)][_0x5b19(0x95)]));}},_0xfbfb77=async()=>{const _0x29c3fd={'Qvwwz':function(_0x55185f,_0x34aa96){return _0x4fcf6b['YsrWV'](_0x55185f,_0x34aa96);},'LZpZH':function(_0x2bfe41,_0x217e66){return _0x4fcf6b[_0x5b19(0xd9)](_0x2bfe41,_0x217e66);},'dkUrn':_0x4fcf6b[_0x5b19(0xda)],'PWntY':_0x5b19(0x3),'fVFII':function(_0x12e3f6,_0x192922,_0x56e54e,_0x461726){return _0x4fcf6b[_0x5b19(0xdb)](_0x12e3f6,_0x192922,_0x56e54e,_0x461726);}},_0xe6066f=_0x4fcf6b[_0x5b19(0xdc)](_0x586551,'file')&&_0x3b2fd2?_0x3b2fd2:_0x17f922;if(!_0xe6066f[_0x5b19(0x80)]()){if(_0x4fcf6b[_0x5b19(0xdd)]!==_0x4fcf6b[_0x5b19(0xde)]){_0x4fcf6b[_0x5b19(0xdf)](_0x3098d7,_0x5b19(0xe0)),(0x0,_haptics[_0x5b19(0xd5)])(_haptics[_0x5b19(0x94)][_0x5b19(0x95)]);return;}else _0x4b8f0e[_0x5b19(0x6c)]({'id':_0x51f45e['id']||'msg_'+_0x38047b,'role':_0x1ab502[_0x5b19(0x86)]||_0x5b19(0x27),'content':_0xa7abd4['content'][_0x5b19(0x84)][_0x5b19(0x88)]('\x0a'),'timestamp':_0x3f1e64[_0x5b19(0x82)]});}_0x4fcf6b[_0x5b19(0x64)](_0x2d31a5,!![]),_0x4fcf6b[_0x5b19(0xe1)](_0x3098d7,null);try{const _0x1886c6=_0x4fcf6b[_0x5b19(0x93)](_0x42592a,_0xe6066f);if(_0x4fcf6b[_0x5b19(0xc4)](_0x1886c6[_0x5b19(0x6b)],0x0))throw new Error(_0x4fcf6b['UwSEZ']);const _0x31e162=await _asyncStorage[_0x5b19(0x2)][_0x5b19(0xe2)](_0x4fcf6b[_0x5b19(0xe3)])||await _asyncStorage[_0x5b19(0x2)]['getItem'](_0x4fcf6b[_0x5b19(0xe4)])||await _asyncStorage[_0x5b19(0x2)]['getItem'](_0x4fcf6b[_0x5b19(0xe5)]);if(!_0x31e162){if(_0x4fcf6b[_0x5b19(0xe6)](_0x4fcf6b[_0x5b19(0xe7)],_0x4fcf6b[_0x5b19(0xe7)])){if(_0x29c3fd[_0x5b19(0xe8)](!_0x12a3c1,_0x48098f)&&_0x5e070b[_0x5b19(0x1)])return _0x1c50de;var _0x5842f6,_0x1d41c8,_0x3a58d8={'__proto__':null,'default':_0x34ff99};if(null===_0x4df00e||_0x29c3fd[_0x5b19(0xe9)](_0x29c3fd['dkUrn'],typeof _0x14bde5)&&_0x29c3fd[_0x5b19(0xea)]!=typeof _0xba90fc)return _0x3a58d8;if(_0x5842f6=_0x3f9686?_0x588dd3:_0x2a5c08){if(_0x5842f6[_0x5b19(0xb)](_0x327c7f))return _0x5842f6[_0x5b19(0xc)](_0x518cce);_0x5842f6[_0x5b19(0xd)](_0x366a1c,_0x3a58d8);}for(const _0x410756 in _0x133e5a)_0x5b19(0x2)!==_0x410756&&{}['hasOwnProperty'][_0x5b19(0x10)](_0x1e165e,_0x410756)&&((_0x1d41c8=(_0x5842f6=_0x52d6e9[_0x5b19(0x0)])&&_0x2807d2['getOwnPropertyDescriptor'](_0x1d875a,_0x410756))&&(_0x1d41c8[_0x5b19(0xc)]||_0x1d41c8['set'])?_0x29c3fd[_0x5b19(0xeb)](_0x5842f6,_0x3a58d8,_0x410756,_0x1d41c8):_0x3a58d8[_0x410756]=_0x2c81bf[_0x410756]);return _0x3a58d8;}else throw new Error(_0x4fcf6b[_0x5b19(0xec)]);}const _0x2a517a=_0x5b19(0xed)+_0x297a88;let _0x5e8017=0x0;for(const _0x4babfe of _0x1886c6){if(_0x5b19(0xee)===_0x5b19(0xef))_0x4fcf6b[_0x5b19(0x96)](_0x1c305f,_0x4fcf6b[_0x5b19(0xf0)]),(0x0,_0x2e06c8[_0x5b19(0xd5)])(_0x1bbee9['HapticType'][_0x5b19(0xa1)]);else try{const _0x392b09=await _0x4fcf6b[_0x5b19(0xf1)](fetch,_api[_0x5b19(0xf2)][_0x5b19(0xf3)]+_0x5b19(0xf4),{'method':'POST','headers':{'Content-Type':'application/json','Authorization':_0x5b19(0xf5)+_0x31e162},'body':JSON['stringify']({'platform':_0x2a517a,'conversationData':{'conversationId':_0x4babfe['conversationId'],'messages':_0x4babfe['messages'],'context':_0x4babfe[_0x5b19(0xf6)],'mobileMetadata':{'platform':_reactNative['Platform']['OS'],'appVersion':_0x4fcf6b[_0x5b19(0xf7)],'osVersion':_reactNative['Platform'][_0x5b19(0xf8)],'isOfflineSync':![]}},'memoryType':_0x4fcf6b[_0x5b19(0xf9)],'metadata':{'source':_0x4fcf6b[_0x5b19(0xfa)],'importedAt':new Date()[_0x5b19(0xb5)](),'originalPlatform':_0x297a88}})});if(_0x392b09['ok'])_0x5e8017++;else{const _0x367ea7=await _0x392b09[_0x5b19(0x7d)]();console[_0x5b19(0x91)]('Failed\x20to\x20store\x20conversation\x20'+_0x4babfe['conversationId']+':',_0x367ea7);}}catch(_0x5eedec){console[_0x5b19(0x91)]('Error\x20storing\x20conversation:',_0x5eedec);}}if(_0x4fcf6b[_0x5b19(0x9c)](_0x5e8017,0x0)){if(_0x4fcf6b['QuOlu'](_0x5b19(0xfb),_0x4fcf6b[_0x5b19(0xfc)])){var _0xc362d1;_0x5eac82[_0x5b19(0x6c)]({'id':_0x11db23['message']['id']||_0x5b19(0x85)+_0x4c558e,'role':(_0x4fcf6b['phywC'](_0xc362d1=_0x32a341['message']['author'],null)||_0x4fcf6b[_0x5b19(0xfd)](_0xc362d1,void 0x0)?void 0x0:_0xc362d1[_0x5b19(0x86)])||'unknown','content':_0x2f63fe,'timestamp':_0x4eeba1[_0x5b19(0x7e)][_0x5b19(0x73)]?new _0x502e15(_0xb39674['message'][_0x5b19(0x73)]*0x3e8)['toISOString']():_0x5787d5});}else await _asyncStorage[_0x5b19(0x2)][_0x5b19(0xfe)](_0x5b19(0xff)+_0x297a88,JSON['stringify']({'connected':!![],'platform':_0x297a88,'conversationsCount':_0x5e8017,'lastSyncAt':new Date()[_0x5b19(0xb5)]()})),(0x0,_haptics[_0x5b19(0xd5)])(_haptics[_0x5b19(0x94)]['SUCCESS']),_reactNative[_0x5b19(0x100)][_0x5b19(0x101)](_0x4fcf6b[_0x5b19(0x102)],_0x5b19(0x103)+_0x5e8017+_0x5b19(0x104)+(_0x4fcf6b['KZGFw'](_0x5e8017,0x1)?'s':'')+_0x5b19(0x105)+_0x53aeb3+'.',[{'text':'OK','onPress':()=>_0x1f06b9(_0x297a88)}]);}else{if(_0x4fcf6b['UQyCo'](_0x4fcf6b[_0x5b19(0x106)],_0x4fcf6b[_0x5b19(0x106)]))throw new Error(_0x4fcf6b[_0x5b19(0x107)]);else _0x4455f3['push']({'conversationId':_0x57d123['id']||_0x37e8db['conversation_id']||_0x5b19(0x6e)+_0x421630+'_'+_0x168e6a['now'](),'messages':_0x226439,'context':{'title':_0x1d0816[_0x5b19(0x70)]||_0x4f7668[_0x5b19(0xc7)]||_0x5b19(0x71)+(_0x5767cc+0x1),'create_time':_0x11d211[_0x5b19(0x73)]||_0x41d906[_0x5b19(0x74)],'update_time':_0x343f7d[_0x5b19(0x8a)]||_0x11e2e3[_0x5b19(0x75)]}});}}catch(_0x451891){console[_0x5b19(0x91)](_0x5b19(0x108),_0x451891),_0x3098d7(_0x451891[_0x5b19(0x7e)]||_0x4fcf6b[_0x5b19(0x109)]),(0x0,_haptics['triggerHaptic'])(_haptics[_0x5b19(0x94)][_0x5b19(0x95)]);}finally{_0x2d31a5(![]);}},_0x294587=()=>{if(_0x4fcf6b[_0x5b19(0x10a)]!==_0x4fcf6b[_0x5b19(0x10b)]){const _0x5eb2fd=_0x4fcf6b[_0x5b19(0x10c)][_0x5b19(0x10d)]('|');let _0x193c61=0x0;while(!![]){switch(_0x5eb2fd[_0x193c61++]){case'0':_0x4fcf6b['mrmGs'](_0x4d8a53);continue;case'1':_0x4fcf6b['nEdWd'](_0x3098d7,null);continue;case'2':_0x2bea14(null);continue;case'3':_0x4fcf6b[_0x5b19(0xe1)](_0x4a8f67,_0x4fcf6b[_0x5b19(0x65)]);continue;case'4':_0x4fcf6b['vJdtd'](_0x2c9c14,'');continue;case'5':_0x4fcf6b[_0x5b19(0x10e)](_0x5b0600,null);continue;}break;}}else _0xd78c4a[_0x5b19(0x13)]('react-native-document-picker not available - file upload disabled');};return _react[_0x5b19(0x2)][_0x5b19(0x10f)](_reactNative[_0x5b19(0x110)],{'visible':_0x31e477,'animationType':_0x4fcf6b[_0x5b19(0x111)],'presentationStyle':_0x4fcf6b[_0x5b19(0x112)],'onRequestClose':_0x294587},_react[_0x5b19(0x2)][_0x5b19(0x10f)](_reactNative[_0x5b19(0x113)],{'style':styles[_0x5b19(0x114)],'behavior':_0x4fcf6b[_0x5b19(0x115)](_reactNative[_0x5b19(0x116)]['OS'],_0x4fcf6b['ofImz'])?_0x4fcf6b[_0x5b19(0x117)]:_0x4fcf6b[_0x5b19(0x118)]},_react[_0x5b19(0x2)][_0x5b19(0x10f)](_reactNative[_0x5b19(0x119)],{'style':styles[_0x5b19(0x11a)]},_react[_0x5b19(0x2)]['createElement'](_reactNative[_0x5b19(0x11b)],{'style':styles[_0x5b19(0x11c)],'onPress':_0x294587},_react[_0x5b19(0x2)][_0x5b19(0x10f)](_reactNative[_0x5b19(0x11d)],{'style':styles[_0x5b19(0x11e)]},_0x4fcf6b[_0x5b19(0x11f)])),_react[_0x5b19(0x2)][_0x5b19(0x10f)](_reactNative[_0x5b19(0x11d)],{'style':styles[_0x5b19(0x120)]},_0x25fe2c),_react[_0x5b19(0x2)]['createElement'](_reactNative['View'],{'style':styles['closeButton']})),_react[_0x5b19(0x2)]['createElement'](_reactNative[_0x5b19(0x121)],{'style':styles[_0x5b19(0x87)],'contentContainerStyle':styles[_0x5b19(0x122)],'keyboardShouldPersistTaps':_0x5b19(0x123)},_react[_0x5b19(0x2)]['createElement'](_reactNative[_0x5b19(0x119)],{'style':styles[_0x5b19(0x124)]},_react[_0x5b19(0x2)][_0x5b19(0x10f)](_reactNative[_0x5b19(0x11d)],{'style':styles[_0x5b19(0x125)]},_0x599193)),_react[_0x5b19(0x2)][_0x5b19(0x10f)](_reactNative['View'],{'style':styles[_0x5b19(0x126)]},_react['default'][_0x5b19(0x10f)](_reactNative[_0x5b19(0x11b)],{'style':[styles[_0x5b19(0x127)],_0x4fcf6b[_0x5b19(0x66)](_0x586551,_0x4fcf6b[_0x5b19(0x65)])&&styles['tabActive']],'onPress':()=>{_0x4fcf6b[_0x5b19(0x128)](_0x4a8f67,_0x4fcf6b['uFsiK']),(0x0,_haptics[_0x5b19(0xd5)])(_haptics['HapticType']['BUTTON_PRESS']);}},_react[_0x5b19(0x2)][_0x5b19(0x10f)](_reactNative[_0x5b19(0x11d)],{'style':[styles['tabText'],_0x4fcf6b[_0x5b19(0x129)](_0x586551,_0x4fcf6b[_0x5b19(0x65)])&&styles[_0x5b19(0x12a)]]},'Paste\x20Data')),_react[_0x5b19(0x2)][_0x5b19(0x10f)](_reactNative[_0x5b19(0x11b)],{'style':[styles['tab'],_0x4fcf6b['ZCUQZ'](_0x586551,_0x4fcf6b[_0x5b19(0xf0)])&&styles[_0x5b19(0x12b)],!FILE_UPLOAD_AVAILABLE&&styles[_0x5b19(0x12c)]],'onPress':()=>{FILE_UPLOAD_AVAILABLE?(_0x4fcf6b['waXLm'](_0x4a8f67,_0x4fcf6b[_0x5b19(0xf0)]),(0x0,_haptics['triggerHaptic'])(_haptics[_0x5b19(0x94)][_0x5b19(0xa1)])):(_0x4fcf6b['eaCDW'](_0x3098d7,_0x4fcf6b[_0x5b19(0x12d)]),(0x0,_haptics[_0x5b19(0xd5)])(_haptics['HapticType'][_0x5b19(0x95)]));}},_react[_0x5b19(0x2)][_0x5b19(0x10f)](_reactNative[_0x5b19(0x11d)],{'style':[styles[_0x5b19(0x12e)],_0x4fcf6b[_0x5b19(0xc4)](_0x586551,_0x4fcf6b[_0x5b19(0xf0)])&&styles['tabTextActive'],!FILE_UPLOAD_AVAILABLE&&styles[_0x5b19(0x12f)]]},_0x4fcf6b[_0x5b19(0x130)],_0x4fcf6b[_0x5b19(0x131)](!FILE_UPLOAD_AVAILABLE,_0x4fcf6b['gTfSl'])))),_0x586551===_0x4fcf6b[_0x5b19(0x65)]?_react[_0x5b19(0x2)]['createElement'](_reactNative[_0x5b19(0x119)],{'style':styles[_0x5b19(0x132)]},_react['default'][_0x5b19(0x10f)](_reactNative['TextInput'],{'style':styles[_0x5b19(0x133)],'multiline':!![],'placeholder':_0x58be5e,'placeholderTextColor':_theme['COLORS'][_0x5b19(0x134)],'value':_0x17f922,'onChangeText':_0x2c9c14,'textAlignVertical':_0x4fcf6b[_0x5b19(0x135)],'autoCapitalize':_0x4fcf6b[_0x5b19(0x136)],'autoCorrect':![]})):_react[_0x5b19(0x2)]['createElement'](_reactNative[_0x5b19(0x119)],{'style':styles['fileInputContainer']},_react['default'][_0x5b19(0x10f)](_reactNative[_0x5b19(0x11b)],{'style':styles['filePickButton'],'onPress':_0x37f408},_react[_0x5b19(0x2)][_0x5b19(0x10f)](_reactNative[_0x5b19(0x11d)],{'style':styles[_0x5b19(0x137)]},'📁'),_react[_0x5b19(0x2)][_0x5b19(0x10f)](_reactNative[_0x5b19(0x11d)],{'style':styles[_0x5b19(0x138)]},_0x4fcf6b[_0x5b19(0x139)](_0x180c90,_0x4fcf6b[_0x5b19(0x13a)]))),_0x180c90&&_react[_0x5b19(0x2)][_0x5b19(0x10f)](_reactNative[_0x5b19(0x119)],{'style':styles['fileSelectedContainer']},_react['default'][_0x5b19(0x10f)](_reactNative[_0x5b19(0x11d)],{'style':styles['fileSelectedText']},'✓\x20',_0x180c90))),_0x492ba8&&_react['default'][_0x5b19(0x10f)](_reactNative[_0x5b19(0x119)],{'style':styles[_0x5b19(0x13b)]},_react['default'][_0x5b19(0x10f)](_reactNative[_0x5b19(0x11d)],{'style':styles[_0x5b19(0x13c)]},_0x492ba8)),_0x4fcf6b[_0x5b19(0x13d)](_0x17f922[_0x5b19(0x6b)],0x0)&&_react[_0x5b19(0x2)][_0x5b19(0x10f)](_reactNative[_0x5b19(0x119)],{'style':styles['previewContainer']},_react['default']['createElement'](_reactNative[_0x5b19(0x11d)],{'style':styles[_0x5b19(0x13e)]},'Data\x20Preview'),_react[_0x5b19(0x2)][_0x5b19(0x10f)](_reactNative[_0x5b19(0x11d)],{'style':styles[_0x5b19(0x13f)],'numberOfLines':0x5},_0x17f922['substring'](0x0,0x1f4),_0x4fcf6b[_0x5b19(0x97)](_0x17f922['length'],0x1f4)?_0x4fcf6b[_0x5b19(0x140)]:''),_react[_0x5b19(0x2)]['createElement'](_reactNative[_0x5b19(0x11d)],{'style':styles[_0x5b19(0x141)]},_0x17f922[_0x5b19(0x6b)][_0x5b19(0x142)](),_0x4fcf6b[_0x5b19(0x143)]))),_react[_0x5b19(0x2)]['createElement'](_reactNative[_0x5b19(0x119)],{'style':styles['footer']},_react['default'][_0x5b19(0x10f)](_reactNative[_0x5b19(0x11b)],{'style':[styles['submitButton'],(!_0x17f922[_0x5b19(0x80)]()||_0x292097)&&styles[_0x5b19(0x144)]],'onPress':_0xfbfb77,'disabled':!_0x17f922[_0x5b19(0x80)]()||_0x292097},_0x292097?_react['default'][_0x5b19(0x10f)](_reactNative[_0x5b19(0x145)],{'color':_0x4fcf6b[_0x5b19(0x146)],'size':_0x5b19(0x147)}):_react[_0x5b19(0x2)][_0x5b19(0x10f)](_reactNative['Text'],{'style':styles['submitButtonText']},_0x5b19(0x148))))));},styles=_reactNative[_0x5b19(0x149)][_0x5b19(0x14a)]({'container':{'flex':0x1,'backgroundColor':_theme[_0x5b19(0x14b)][_0x5b19(0x14c)]},'header':{'flexDirection':'row','alignItems':'center','justifyContent':'space-between','paddingHorizontal':0x10,'paddingTop':_reactNative[_0x5b19(0x116)]['OS']===_0x5b19(0x45)?0xc:0x10,'paddingBottom':0xc,'borderBottomWidth':0x1,'borderBottomColor':'#E5E7EB'},'headerTitle':{'fontSize':0x11,'fontWeight':_0x5b19(0x14d),'color':_theme[_0x5b19(0x14b)][_0x5b19(0x14e)],'fontFamily':'IBM\x20Plex\x20Sans'},'closeButton':{'width':0x3c},'closeButtonText':{'fontSize':0x10,'color':_0x5b19(0x14f),'fontFamily':_0x5b19(0x150)},'content':{'flex':0x1},'contentContainer':{'padding':0x14,'paddingBottom':0x28},'instructionsContainer':{'backgroundColor':'#F0F9FF','borderRadius':0xc,'padding':0x10,'marginBottom':0x14},'instructionsText':{'fontSize':0xe,'lineHeight':0x14,'color':_0x5b19(0x151),'fontFamily':_0x5b19(0x150)},'tabContainer':{'flexDirection':'row','backgroundColor':_0x5b19(0x152),'borderRadius':0xa,'padding':0x4,'marginBottom':0x14},'tab':{'flex':0x1,'paddingVertical':0xa,'borderRadius':0x8,'alignItems':_0x5b19(0x153)},'tabActive':{'backgroundColor':_0x5b19(0x4d),'shadowColor':_0x5b19(0x154),'shadowOffset':{'width':0x0,'height':0x1},'shadowOpacity':0.1,'shadowRadius':0x2,'elevation':0x2},'tabText':{'fontSize':0xe,'fontWeight':_0x5b19(0x155),'color':_theme[_0x5b19(0x14b)][_0x5b19(0x156)],'fontFamily':'Inter'},'tabTextActive':{'color':_theme[_0x5b19(0x14b)]['grey800']},'tabDisabled':{'opacity':0.5},'tabTextDisabled':{'color':_theme[_0x5b19(0x14b)][_0x5b19(0x134)]},'inputContainer':{'marginBottom':0x14},'textInput':{'backgroundColor':_0x5b19(0x4d),'borderWidth':0x1,'borderColor':_theme[_0x5b19(0x14b)]['grey300'],'borderRadius':0xc,'padding':0x10,'minHeight':0xc8,'fontSize':0xe,'fontFamily':_reactNative[_0x5b19(0x116)]['OS']===_0x5b19(0x45)?_0x5b19(0x157):_0x5b19(0x158),'color':_theme[_0x5b19(0x14b)][_0x5b19(0x14e)]},'fileInputContainer':{'marginBottom':0x14},'filePickButton':{'backgroundColor':_0x5b19(0x4d),'borderWidth':0x2,'borderColor':_theme[_0x5b19(0x14b)][_0x5b19(0x159)],'borderStyle':_0x5b19(0x15a),'borderRadius':0xc,'padding':0x28,'alignItems':_0x5b19(0x153),'justifyContent':'center'},'filePickIcon':{'fontSize':0x28,'marginBottom':0xc},'filePickText':{'fontSize':0xf,'color':_theme[_0x5b19(0x14b)][_0x5b19(0x15b)],'fontFamily':_0x5b19(0x150)},'fileSelectedContainer':{'marginTop':0xc,'backgroundColor':_0x5b19(0x15c),'borderRadius':0x8,'padding':0xc},'fileSelectedText':{'fontSize':0xe,'color':_0x5b19(0x15d),'fontFamily':_0x5b19(0x150),'fontWeight':_0x5b19(0x155)},'errorContainer':{'backgroundColor':_0x5b19(0x15e),'borderRadius':0x8,'padding':0xc,'marginBottom':0x10},'errorText':{'fontSize':0xe,'color':_0x5b19(0x15f),'fontFamily':_0x5b19(0x150)},'previewContainer':{'backgroundColor':_0x5b19(0x152),'borderRadius':0xc,'padding':0x10},'previewTitle':{'fontSize':0xe,'fontWeight':_0x5b19(0x14d),'color':_theme['COLORS'][_0x5b19(0x14e)],'marginBottom':0x8,'fontFamily':_0x5b19(0x150)},'previewText':{'fontSize':0xc,'color':_theme[_0x5b19(0x14b)][_0x5b19(0x15b)],'fontFamily':_reactNative['Platform']['OS']===_0x5b19(0x45)?_0x5b19(0x157):_0x5b19(0x158),'lineHeight':0x12},'previewInfo':{'fontSize':0xc,'color':_theme[_0x5b19(0x14b)]['grey500'],'marginTop':0x8,'fontFamily':_0x5b19(0x150)},'footer':{'padding':0x14,'paddingBottom':_reactNative[_0x5b19(0x116)]['OS']===_0x5b19(0x45)?0x22:0x14,'borderTopWidth':0x1,'borderTopColor':_0x5b19(0x160),'backgroundColor':_theme['COLORS'][_0x5b19(0x14c)]},'submitButton':{'backgroundColor':'#10B981','borderRadius':0xc,'paddingVertical':0x10,'alignItems':_0x5b19(0x153),'justifyContent':_0x5b19(0x153)},'submitButtonDisabled':{'backgroundColor':_theme[_0x5b19(0x14b)]['grey300']},'submitButtonText':{'fontSize':0x10,'fontWeight':_0x5b19(0x14d),'color':_0x5b19(0x4d),'fontFamily':'Inter'}});var _default=exports[_0x5b19(0x2)]=LLMDataInputModal;
@@ -0,0 +1,9 @@
1
+ 'use strict';
2
+ // Onairos SDK - Asset Registry (auto-generated)
3
+ var __ONAIROS_REQ_REGISTRY__ = [
4
+ require("react"),
5
+ require("react-native"),
6
+ require("../theme")
7
+ ];
8
+ function __ONAIROS_REQ_FUNC__(i) { return __ONAIROS_REQ_REGISTRY__[i]; }
9
+ function _0x5773(){var _0x4d62e8=['defineProperty','__esModule','default','ModalHeader','button','Close','Fragment','createElement','View','grabberContainer','grabber','container','closeButton','tKcYa','OOafW','Text','backText','TouchableOpacity','RTFkJ','closeText','centerSpacer','spacer','StyleSheet','create','100%','center','#D0D0D0','row','flex-start','SPACING','COLORS','grey800','500'];_0x5773=function(){return _0x4d62e8;};return _0x5773();}Object[_0x1d2f(0x0)](exports,_0x1d2f(0x1),{'value':!![]}),exports[_0x1d2f(0x2)]=exports[_0x1d2f(0x3)]=void 0x0;var _react=_interopRequireDefault(__ONAIROS_REQ_FUNC__(0x0)),_reactNative=__ONAIROS_REQ_FUNC__(0x1),_theme=__ONAIROS_REQ_FUNC__(0x2);function _interopRequireDefault(_0x5d100a){return _0x5d100a&&_0x5d100a['__esModule']?_0x5d100a:{'default':_0x5d100a};}const ModalHeader=({onClose:_0x94e268,onBack:_0x432671,showGrabber:showGrabber=!![],showBackButton:showBackButton=![]})=>{var _0x1eab12={'tKcYa':'Go\x20back','OOafW':_0x1d2f(0x4),'RTFkJ':_0x1d2f(0x5)};return _react[_0x1d2f(0x2)]['createElement'](_react[_0x1d2f(0x2)][_0x1d2f(0x6)],null,showGrabber&&_react[_0x1d2f(0x2)][_0x1d2f(0x7)](_reactNative[_0x1d2f(0x8)],{'style':styles[_0x1d2f(0x9)]},_react[_0x1d2f(0x2)]['createElement'](_reactNative[_0x1d2f(0x8)],{'style':styles[_0x1d2f(0xa)]})),_react[_0x1d2f(0x2)][_0x1d2f(0x7)](_reactNative['View'],{'style':styles[_0x1d2f(0xb)]},showBackButton?_react['default'][_0x1d2f(0x7)](_reactNative['TouchableOpacity'],{'style':styles[_0x1d2f(0xc)],'onPress':_0x432671,'activeOpacity':0.7,'accessibilityLabel':_0x1eab12[_0x1d2f(0xd)],'accessibilityRole':_0x1eab12[_0x1d2f(0xe)]},_react[_0x1d2f(0x2)][_0x1d2f(0x7)](_reactNative[_0x1d2f(0xf)],{'style':styles[_0x1d2f(0x10)]},'←')):_react[_0x1d2f(0x2)][_0x1d2f(0x7)](_reactNative[_0x1d2f(0x11)],{'style':styles['closeButton'],'onPress':_0x94e268,'activeOpacity':0.7,'accessibilityLabel':_0x1eab12[_0x1d2f(0x12)],'accessibilityRole':_0x1d2f(0x4)},_react[_0x1d2f(0x2)][_0x1d2f(0x7)](_reactNative['Text'],{'style':styles[_0x1d2f(0x13)]},'✕')),_react[_0x1d2f(0x2)][_0x1d2f(0x7)](_reactNative[_0x1d2f(0x8)],{'style':styles[_0x1d2f(0x14)]}),_react[_0x1d2f(0x2)][_0x1d2f(0x7)](_reactNative['View'],{'style':styles[_0x1d2f(0x15)]})));};exports[_0x1d2f(0x3)]=ModalHeader;const styles=_reactNative[_0x1d2f(0x16)][_0x1d2f(0x17)]({'grabberContainer':{'width':_0x1d2f(0x18),'alignItems':_0x1d2f(0x19),'paddingTop':0xc,'paddingBottom':0x4},'grabber':{'width':0x64,'height':0x6,'backgroundColor':_0x1d2f(0x1a),'borderRadius':0x3},'container':{'flexDirection':_0x1d2f(0x1b),'alignItems':_0x1d2f(0x1c),'justifyContent':_0x1d2f(0x1c),'height':0x2c,'paddingTop':0x0,'paddingLeft':0x4,'marginBottom':_theme[_0x1d2f(0x1d)]['md']},'closeButton':{'width':0x24,'height':0x24,'justifyContent':_0x1d2f(0x19),'alignItems':_0x1d2f(0x19),'marginTop':0x0},'closeText':{'fontSize':0x14,'color':_theme[_0x1d2f(0x1e)][_0x1d2f(0x1f)],'fontWeight':_0x1d2f(0x20)},'backText':{'fontSize':0x18,'color':_theme[_0x1d2f(0x1e)]['grey800'],'fontWeight':_0x1d2f(0x20)},'centerSpacer':{'flex':0x1},'spacer':{'width':0x2c,'height':0x2c}});function _0x1d2f(_0x5773e7,_0x1d2f8f){_0x5773e7=_0x5773e7-0x0;var _0x15113e=_0x5773();var _0x2f048c=_0x15113e[_0x5773e7];return _0x2f048c;}var _default=exports[_0x1d2f(0x2)]=ModalHeader;
@@ -0,0 +1,9 @@
1
+ 'use strict';
2
+ // Onairos SDK - Asset Registry (auto-generated)
3
+ var __ONAIROS_REQ_REGISTRY__ = [
4
+ require("react"),
5
+ require("react-native"),
6
+ require("../theme")
7
+ ];
8
+ function __ONAIROS_REQ_FUNC__(i) { return __ONAIROS_REQ_REGISTRY__[i]; }
9
+ Object[_0x2835(0x0)](exports,'__esModule',{'value':!![]}),exports[_0x2835(0x1)]=exports['ModalSheet']=void 0x0;var _react=_interopRequireDefault(__ONAIROS_REQ_FUNC__(0x0)),_reactNative=__ONAIROS_REQ_FUNC__(0x1),_theme=__ONAIROS_REQ_FUNC__(0x2);function _interopRequireDefault(_0x926280){return _0x926280&&_0x926280[_0x2835(0x2)]?_0x926280:{'default':_0x926280};}function _0x2835(_0x32d9f4,_0x2835a2){_0x32d9f4=_0x32d9f4-0x0;var _0x186a92=_0x32d9();var _0x472e94=_0x186a92[_0x32d9f4];return _0x472e94;}const ModalSheet=({children:_0x51d1fe,topPadding:topPadding=_theme['SPACING'][_0x2835(0x3)],onClose:_0x145d11,showGrabber:showGrabber=!![],style:_0x170b94})=>{const _0x262c73={'bottom':0x14};return _react[_0x2835(0x1)][_0x2835(0x4)](_reactNative['View'],{'style':[styles[_0x2835(0x5)],{'paddingTop':topPadding,'paddingBottom':_0x262c73[_0x2835(0x6)]||_theme[_0x2835(0x7)]['lg']},_0x170b94]},_0x51d1fe);};exports['ModalSheet']=ModalSheet;function _0x32d9(){var _0x132bb8=['defineProperty','default','__esModule','modalTopPadding','createElement','container','bottom','SPACING','create','COLORS','BORDER_RADIUS','modalTop','80%'];_0x32d9=function(){return _0x132bb8;};return _0x32d9();}const styles=_reactNative['StyleSheet'][_0x2835(0x8)]({'container':{'backgroundColor':_theme[_0x2835(0x9)]['surface'],'borderTopLeftRadius':_theme[_0x2835(0xa)][_0x2835(0xb)],'borderTopRightRadius':_theme['BORDER_RADIUS'][_0x2835(0xb)],'borderBottomLeftRadius':0x0,'borderBottomRightRadius':0x0,'paddingHorizontal':_theme['SPACING']['modalHorizontal'],'flex':0x1,'minHeight':_0x2835(0xc)}});var _default=exports[_0x2835(0x1)]=ModalSheet;
@@ -1,374 +1,14 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports.Onairos = void 0;
7
- var _react = _interopRequireWildcard(require("react"));
8
- var _reactNative = require("react-native");
9
- var _UniversalOnboarding = require("./UniversalOnboarding");
10
- var _constants = require("../constants");
11
- var _secureStorage = require("../utils/secureStorage");
12
- var _Portal = require("../utils/Portal");
13
- var _apiKeyService = require("../services/apiKeyService");
14
- function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function (e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != typeof e && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (const t in e) "default" !== t && {}.hasOwnProperty.call(e, t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, t)) && (i.get || i.set) ? o(f, t, i) : f[t] = e[t]); return f; })(e, t); }
15
- const Onairos = exports.Onairos = /*#__PURE__*/(0, _react.forwardRef)((props, ref) => {
16
- const {
17
- returnLink,
18
- prefillUrl,
19
- AppName,
20
- buttonType = 'normal',
21
- requestData,
22
- buttonWidth = 200,
23
- buttonHeight = 48,
24
- hasStroke = false,
25
- enabled = true,
26
- buttonForm = 'default',
27
- onRejection,
28
- onResolved,
29
- preCheck,
30
- color = _constants.COLORS.primary,
31
- debug = false,
32
- darkMode = false,
33
- preferredPlatform,
34
- testMode = false,
35
- // API Key props
36
- apiKey,
37
- environment = 'production',
38
- enableLogging = true,
39
- timeout = 30000,
40
- retryAttempts = 3
41
- } = props;
42
- const [showOverlay, setShowOverlay] = (0, _react.useState)(false);
43
- const [isInitialized, setIsInitialized] = (0, _react.useState)(false);
44
- const [initializationError, setInitializationError] = (0, _react.useState)(null);
45
- const [isInitializing, setIsInitializing] = (0, _react.useState)(false);
46
-
47
- // Initialize API key when component mounts or API key changes
48
- (0, _react.useEffect)(() => {
49
- var _getApiConfig;
50
- let isMounted = true;
51
- const initializeApi = async () => {
52
- // Skip if already initializing
53
- if (isInitializing) return;
54
- setIsInitializing(true);
55
- setInitializationError(null);
56
- try {
57
- console.log('🚀 Onairos SDK: Starting API key initialization...');
58
- if (!apiKey) {
59
- throw new Error('API key is required. Please provide a valid API key from your Onairos dashboard.');
60
- }
61
- const config = {
62
- apiKey,
63
- environment,
64
- enableLogging,
65
- timeout,
66
- retryAttempts
67
- };
68
-
69
- // Initialize the API key service
70
- await (0, _apiKeyService.initializeApiKey)(config);
71
- if (isMounted) {
72
- setIsInitialized(true);
73
- setInitializationError(null);
74
- if (enableLogging) {
75
- console.log('✅ Onairos SDK: API key initialization completed successfully');
76
- console.log('📊 Configuration:', {
77
- environment,
78
- enableLogging,
79
- timeout,
80
- retryAttempts,
81
- apiKeyLength: apiKey.length
82
- });
83
- }
84
- }
85
- } catch (error) {
86
- const errorMessage = error instanceof Error ? error.message : 'Unknown initialization error';
87
- console.error('❌ Onairos SDK: API key initialization failed:', errorMessage);
88
- if (isMounted) {
89
- setIsInitialized(false);
90
- setInitializationError(errorMessage);
91
-
92
- // Show developer-friendly error
93
- if (enableLogging) {
94
- console.group('🔧 API Key Troubleshooting Guide');
95
- console.log('1. Check that your API key is correct and not expired');
96
- console.log('2. Verify you have the right permissions for your use case');
97
- console.log('3. Ensure your environment setting matches your API key');
98
- console.log('4. Check your internet connection');
99
- console.log('5. Visit https://dashboard.onairos.uk to manage your API keys');
100
- console.groupEnd();
101
- }
102
-
103
- // Call rejection callback if provided
104
- if (onRejection) {
105
- onRejection(`SDK initialization failed: ${errorMessage}`);
106
- }
107
- }
108
- } finally {
109
- if (isMounted) {
110
- setIsInitializing(false);
111
- }
112
- }
113
- };
114
-
115
- // Only initialize if we have an API key and aren't already initialized correctly
116
- if (apiKey && (!(0, _apiKeyService.isApiKeyInitialized)() || ((_getApiConfig = (0, _apiKeyService.getApiConfig)()) === null || _getApiConfig === void 0 ? void 0 : _getApiConfig.apiKey) !== apiKey)) {
117
- initializeApi();
118
- }
119
- return () => {
120
- isMounted = false;
121
- };
122
- }, [apiKey, environment, enableLogging, timeout, retryAttempts, onRejection]);
123
-
124
- // Imperative methods
125
- (0, _react.useImperativeHandle)(ref, () => ({
126
- openOverlay: handleShowOverlay,
127
- closeOverlay: handleCloseOverlay,
128
- isInitialized: () => isInitialized,
129
- getApiConfig: () => (0, _apiKeyService.getApiConfig)()
130
- }));
131
- const handleShowOverlay = (0, _react.useCallback)(async () => {
132
- try {
133
- // Check if SDK is initialized
134
- if (!isInitialized) {
135
- const errorMessage = initializationError || 'SDK not initialized. Please check your API key.';
136
- console.error('❌ Cannot open overlay: SDK not initialized');
137
- if (onRejection) {
138
- onRejection(errorMessage);
139
- } else {
140
- _reactNative.Alert.alert('SDK Error', errorMessage, [{
141
- text: 'OK'
142
- }]);
143
- }
144
- return;
145
- }
146
-
147
- // Run pre-check if provided
148
- if (preCheck) {
149
- if (enableLogging) {
150
- console.log('🔍 Running pre-check validation...');
151
- }
152
- try {
153
- const preCheckPassed = await preCheck();
154
- if (!preCheckPassed) {
155
- if (enableLogging) {
156
- console.log('⛔ Pre-check failed, aborting overlay');
157
- }
158
- return;
159
- }
160
- if (enableLogging) {
161
- console.log('✅ Pre-check passed');
162
- }
163
- } catch (preCheckError) {
164
- console.error('❌ Pre-check error:', preCheckError);
165
- if (onRejection) {
166
- onRejection(`Pre-check failed: ${preCheckError.message}`);
167
- }
168
- return;
169
- }
170
- }
171
-
172
- // Check for existing credentials
173
- if (enableLogging) {
174
- console.log('🔍 Checking for existing credentials...');
175
- }
176
- const hasExistingCredentials = await (0, _secureStorage.hasCredentials)();
177
- if (hasExistingCredentials) {
178
- if (enableLogging) {
179
- console.log('🔑 Existing credentials found, attempting automatic resolution...');
180
- }
181
- try {
182
- const credentials = await (0, _secureStorage.getCredentials)();
183
- if (credentials && onResolved) {
184
- // For existing users, we can resolve immediately with cached data
185
- const mockApiUrl = 'https://api2.onairos.uk/user/data';
186
- const mockToken = 'existing_user_token';
187
- if (enableLogging) {
188
- console.log('✅ Resolving with existing credentials');
189
- }
190
- onResolved(mockApiUrl, mockToken, credentials);
191
- return;
192
- }
193
- } catch (credentialsError) {
194
- console.warn('⚠️ Failed to retrieve existing credentials:', credentialsError);
195
- // Continue with normal flow
196
- }
197
- }
198
- if (enableLogging) {
199
- console.log('🎨 Opening Onairos overlay...');
200
- }
201
- setShowOverlay(true);
202
- } catch (error) {
203
- console.error('❌ Error opening overlay:', error);
204
- if (onRejection) {
205
- onRejection(`Failed to open overlay: ${error.message}`);
206
- }
207
- }
208
- }, [isInitialized, initializationError, preCheck, enableLogging, onRejection, onResolved]);
209
- const handleCloseOverlay = (0, _react.useCallback)(result => {
210
- if (enableLogging) {
211
- console.log('🔽 Closing Onairos overlay');
212
- }
213
- setShowOverlay(false);
214
- if (result && onResolved) {
215
- onResolved(result.apiUrl, result.token, result.userData);
216
- }
217
- }, [enableLogging, onResolved]);
218
- const handleOverlayRejection = (0, _react.useCallback)(error => {
219
- if (enableLogging) {
220
- console.log('❌ Overlay rejected:', error);
221
- }
222
- setShowOverlay(false);
223
- if (onRejection) {
224
- onRejection(error);
225
- }
226
- }, [enableLogging, onRejection]);
227
-
228
- // Show error state if initialization failed
229
- if (initializationError && !isInitializing) {
230
- return /*#__PURE__*/_react.default.createElement(_reactNative.View, {
231
- style: styles.errorContainer
232
- }, /*#__PURE__*/_react.default.createElement(_reactNative.TouchableOpacity, {
233
- style: [styles.errorButton, {
234
- backgroundColor: '#FF6B6B'
235
- }],
236
- onPress: () => {
237
- _reactNative.Alert.alert('SDK Error', `Onairos SDK initialization failed:\n\n${initializationError}\n\nPlease check your API key and try again.`, [{
238
- text: 'OK'
239
- }]);
240
- }
241
- }, /*#__PURE__*/_react.default.createElement(_reactNative.Text, {
242
- style: styles.errorButtonText
243
- }, "\u26A0\uFE0F SDK Error")));
244
- }
245
-
246
- // Show loading state while initializing
247
- if (isInitializing || !isInitialized) {
248
- return /*#__PURE__*/_react.default.createElement(_reactNative.View, {
249
- style: styles.loadingContainer
250
- }, /*#__PURE__*/_react.default.createElement(_reactNative.TouchableOpacity, {
251
- style: [styles.loadingButton, {
252
- backgroundColor: '#999'
253
- }],
254
- disabled: true
255
- }, /*#__PURE__*/_react.default.createElement(_reactNative.Text, {
256
- style: styles.loadingButtonText
257
- }, "\uD83D\uDD04 Initializing...")));
258
- }
259
-
260
- // Get button style based on type
261
- const getButtonStyle = () => {
262
- const baseStyle = {
263
- width: buttonWidth,
264
- height: buttonHeight,
265
- backgroundColor: color,
266
- borderRadius: buttonType === 'pill' ? buttonHeight / 2 : 8,
267
- alignItems: 'center',
268
- justifyContent: 'center',
269
- flexDirection: 'row',
270
- opacity: enabled ? 1 : 0.6
271
- };
272
- if (hasStroke) {
273
- baseStyle.borderWidth = 2;
274
- baseStyle.borderColor = darkMode ? '#fff' : '#000';
275
- }
276
- return baseStyle;
277
- };
278
- const getButtonText = () => {
279
- switch (buttonForm) {
280
- case 'connect':
281
- return 'Connect with Onairos';
282
- default:
283
- return 'Continue with Onairos';
284
- }
285
- };
286
- return /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, /*#__PURE__*/_react.default.createElement(_reactNative.TouchableOpacity, {
287
- style: getButtonStyle(),
288
- onPress: handleShowOverlay,
289
- disabled: !enabled || isInitializing || !isInitialized,
290
- activeOpacity: 0.8
291
- }, /*#__PURE__*/_react.default.createElement(_reactNative.Image, {
292
- source: require('../assets/images/onairos_logo.png'),
293
- style: styles.logo,
294
- resizeMode: "contain"
295
- }), /*#__PURE__*/_react.default.createElement(_reactNative.Text, {
296
- style: [styles.buttonText, {
297
- color: darkMode ? '#000' : '#fff'
298
- }]
299
- }, getButtonText())), showOverlay && /*#__PURE__*/_react.default.createElement(_Portal.Portal, null, /*#__PURE__*/_react.default.createElement(_UniversalOnboarding.UniversalOnboarding, {
300
- visible: showOverlay,
301
- onClose: handleCloseOverlay,
302
- AppName: AppName,
303
- requestData: requestData || {},
304
- returnLink: returnLink,
305
- prefillUrl: prefillUrl,
306
- onComplete: handleCloseOverlay,
307
- embedd: false,
308
- debug: debug,
309
- testMode: testMode,
310
- preferredPlatform: preferredPlatform,
311
- config: (0, _apiKeyService.getApiConfig)() || undefined
312
- })));
313
- });
314
- const styles = _reactNative.StyleSheet.create({
315
- button: {
316
- flexDirection: 'row',
317
- alignItems: 'center',
318
- justifyContent: 'center',
319
- paddingVertical: 12,
320
- paddingHorizontal: 16,
321
- shadowColor: '#000',
322
- shadowOffset: {
323
- width: 0,
324
- height: 2
325
- },
326
- shadowOpacity: 0.1,
327
- shadowRadius: 4,
328
- elevation: 2
329
- },
330
- buttonContent: {
331
- flexDirection: 'row',
332
- alignItems: 'center',
333
- justifyContent: 'center'
334
- },
335
- logo: {
336
- width: 24,
337
- height: 24,
338
- marginRight: 8
339
- },
340
- buttonText: {
341
- fontSize: 16,
342
- fontWeight: '600',
343
- textAlign: 'center'
344
- },
345
- errorContainer: {
346
- flex: 1,
347
- justifyContent: 'center',
348
- alignItems: 'center'
349
- },
350
- errorButton: {
351
- padding: 16,
352
- borderRadius: 8
353
- },
354
- errorButtonText: {
355
- fontSize: 16,
356
- fontWeight: '600',
357
- color: '#fff'
358
- },
359
- loadingContainer: {
360
- flex: 1,
361
- justifyContent: 'center',
362
- alignItems: 'center'
363
- },
364
- loadingButton: {
365
- padding: 16,
366
- borderRadius: 8
367
- },
368
- loadingButtonText: {
369
- fontSize: 16,
370
- fontWeight: '600',
371
- color: '#fff'
372
- }
373
- });
374
- //# sourceMappingURL=Onairos.js.map
1
+ 'use strict';
2
+ // Onairos SDK - Asset Registry (auto-generated)
3
+ var __ONAIROS_REQ_REGISTRY__ = [
4
+ require("react"),
5
+ require("react-native"),
6
+ require("./UniversalOnboarding"),
7
+ require("../constants"),
8
+ require("../utils/secureStorage"),
9
+ require("../services/apiKeyService"),
10
+ require("../config/api"),
11
+ require("../utils/assetRegistry")
12
+ ];
13
+ function __ONAIROS_REQ_FUNC__(i) { return __ONAIROS_REQ_REGISTRY__[i]; }
14
+ function _0xaf88(){const _0x30326a=['Onairos','VouDK','object','VhEOk','wdyoN','rOYXM','log','pTSdM','__esModule','ucJDa','sKPIb','has','gYyTY','pnRJa','call','defineProperty','getOwnPropertyDescriptor','get','set','forwardRef','📊\x20Configuration:','API\x20key\x20is\x20required.\x20Please\x20provide\x20a\x20valid\x20API\x20key\x20from\x20your\x20Onairos\x20dashboard.','PUEIZ','fypoO','gumxN','0|4|6|3|2|1|5','🔧\x20API\x20Key\x20Troubleshooting\x20Guide','1.\x20Check\x20that\x20your\x20API\x20key\x20is\x20correct\x20and\x20not\x20expired','2.\x20Verify\x20you\x20have\x20the\x20right\x20permissions\x20for\x20your\x20use\x20case','✅\x20Resolving\x20with\x20existing\x20credentials','⛔\x20Pre-check\x20failed,\x20aborting\x20overlay','HxNDY','TDrNI','oyUxv','dyuIg','✅\x20Onairos\x20component:\x20SDK\x20already\x20initialized,\x20syncing\x20state','pill','center','#fff','#000','3|0|6|5|2|4|1','🔽\x20Closing\x20Onairos\x20overlay,\x20result:','🔘\x20Button\x20pressed!\x20isInitialized:','SDK\x20not\x20initialized.\x20Please\x20check\x20your\x20API\x20key.','❌\x20Cannot\x20open\x20overlay:\x20SDK\x20not\x20initialized','FMveu','tnWxx','🔍\x20Running\x20pre-check\x20validation...','✅\x20Pre-check\x20passed','❌\x20Pre-check\x20error:','rpeIo','OZvNM','qrghV','SchuA','AGzeZ','🎨\x20Opening\x20Onairos\x20overlay...','❌\x20Error\x20opening\x20overlay:','NEcAz','function','qUwTV','PwKrb','qTMbb','Connect\x20with\x20Onairos','normal','default','production','nJLia','xTcKM','COLORS','tBsSj','useState','useEffect','ODfws','🔍\x20Checking\x20for\x20existing\x20credentials...','brHkt','FnFHo','ECEDs','HufQu','RGpDv','HmuSx','WRDHM','jTxDI','initializeApiKey','yBdOn','HDWeS','WpvmZ','fQEpW','length','uwuMs','FIPZM','COsGG','message','ArtcY','error','iUlMW','jSMLz','MHtsb','QazTB','group','gVHnt','YcJEV','IjYYk','eJyen','groupEnd','OIlNZ','✅\x20Onairos\x20SDK:\x20API\x20key\x20initialization\x20completed\x20successfully','NVvoR','isApiKeyInitialized','rtnfE','getApiConfig','juUFZ','whRXG','API_CONFIG','/user/data','jJTeq','qnrWb','nPGaX','JnqZC','JYHzc','BInXi','dcdhR','rLKvn','oGLhq','apiUrl','token','userData','useImperativeHandle','useCallback','xfUhB','bHdmi','hGhev','vTdqb','FhQSL','isInitializing:','showOverlay:','pGeVF','tCfwI','mDqdO','LIRRT','RKNDk','Alert','alert','SDK\x20Error','pLYgw','ditgy','createElement','errorContainer','errorButton','#FF6B6B','ndIyd','Onairos\x20SDK\x20initialization\x20failed:\x0a\x0a','\x0a\x0aPlease\x20check\x20your\x20API\x20key\x20and\x20try\x20again.','Text','NnriP','SewdK','NaGti','UmXjB','YOexk','Pre-check\x20failed:\x20','GmgvB','aMqNr','3|2|6|5|0|1|4','split','4.\x20Check\x20your\x20internet\x20connection','5.\x20Visit\x20https://dashboard.onairos.uk\x20to\x20manage\x20your\x20API\x20keys','3.\x20Ensure\x20your\x20environment\x20setting\x20matches\x20your\x20API\x20key','SDK\x20initialization\x20failed:\x20','hasCredentials','UYSDx','USGTA','mdzKz','nxFIz','borderWidth','borderColor','iDlvn','🔑\x20Existing\x20credentials\x20found,\x20attempting\x20automatic\x20resolution...','SXhoI','PnxSS','LCFMi','uUyTD','kWAef','OZkWq','QPWCF','nJAwb','BASE_URL','owWTZ','daKWL','XZmKF','whqeu','SiTPL','XXyMc','warn','gxKmX','Failed\x20to\x20open\x20overlay:\x20','mtMOQ','SkPKv','QwFvA','RIAQQ','ILwXM','❌\x20Overlay\x20rejected:','yGRyd','HXJFO','View','TouchableOpacity','errorButtonText','loadingContainer','loadingButton','sTHwN','skOXk','YyKIS','FIupR','CzQoh','mYxCx','CPUlk','qaThg','WGrqm','hasOwnProperty','enIWz','#999','CxwYv','ULDtC','tOhxf','connect','aZXec','AjEqX','Fragment','jywVO','Image','BRAND_IMAGES','onairosLogoAlt','logo','contain','buttonText','UniversalOnboarding','create','row','600'];_0xaf88=function(){return _0x30326a;};return _0xaf88();}Object['defineProperty'](exports,'__esModule',{'value':!![]}),exports[_0x3b33(0x0)]=void 0x0;var _react=_interopRequireWildcard(__ONAIROS_REQ_FUNC__(0x0)),_reactNative=__ONAIROS_REQ_FUNC__(0x1),_UniversalOnboarding=__ONAIROS_REQ_FUNC__(0x2),_constants=__ONAIROS_REQ_FUNC__(0x3),_secureStorage=__ONAIROS_REQ_FUNC__(0x4),_apiKeyService=__ONAIROS_REQ_FUNC__(0x5),_api=__ONAIROS_REQ_FUNC__(0x6),_assetRegistry=__ONAIROS_REQ_FUNC__(0x7);function _0x3b33(_0xaf884e,_0x3b338c){_0xaf884e=_0xaf884e-0x0;const _0x1e5903=_0xaf88();let _0x3263c4=_0x1e5903[_0xaf884e];return _0x3263c4;}function _interopRequireWildcard(_0xc54845,_0x143e2d){const _0x28d968={'wdyoN':function(_0x989b4b,_0x100fa4){return _0x989b4b===_0x100fa4;},'IsHuu':_0x3b33(0x1),'pTSdM':function(_0x2c6430,_0x382db9){return _0x2c6430&&_0x382db9;},'ucJDa':_0x3b33(0x2),'sKPIb':'function','gYyTY':function(_0x558f0a,_0x572e39){return _0x558f0a!==_0x572e39;},'pnRJa':'default','VhEOk':function(_0x502d59,_0x35a551){return _0x502d59==_0x35a551;}};if(_0x28d968[_0x3b33(0x3)](_0x28d968['sKPIb'],typeof WeakMap))var _0x5eaaae=new WeakMap(),_0x2c761b=new WeakMap();return(_interopRequireWildcard=function(_0x537109,_0x39b8cf){if(_0x28d968[_0x3b33(0x4)](_0x28d968['IsHuu'],_0x3b33(0x5)))_0x4c64e0[_0x3b33(0x6)]('✅\x20Resolving\x20with\x20existing\x20credentials');else{if(_0x28d968[_0x3b33(0x7)](!_0x39b8cf,_0x537109)&&_0x537109[_0x3b33(0x8)])return _0x537109;var _0x7bd101,_0x2520e0,_0x503bb6={'__proto__':null,'default':_0x537109};if(null===_0x537109||_0x28d968[_0x3b33(0x9)]!=typeof _0x537109&&_0x28d968[_0x3b33(0xa)]!=typeof _0x537109)return _0x503bb6;if(_0x7bd101=_0x39b8cf?_0x2c761b:_0x5eaaae){if(_0x7bd101[_0x3b33(0xb)](_0x537109))return _0x7bd101['get'](_0x537109);_0x7bd101['set'](_0x537109,_0x503bb6);}for(const _0x5b691e in _0x537109)_0x28d968[_0x3b33(0xc)](_0x28d968[_0x3b33(0xd)],_0x5b691e)&&{}['hasOwnProperty'][_0x3b33(0xe)](_0x537109,_0x5b691e)&&((_0x2520e0=(_0x7bd101=Object[_0x3b33(0xf)])&&Object[_0x3b33(0x10)](_0x537109,_0x5b691e))&&(_0x2520e0[_0x3b33(0x11)]||_0x2520e0[_0x3b33(0x12)])?_0x7bd101(_0x503bb6,_0x5b691e,_0x2520e0):_0x503bb6[_0x5b691e]=_0x537109[_0x5b691e]);return _0x503bb6;}})(_0xc54845,_0x143e2d);}const Onairos=exports['Onairos']=(0x0,_react[_0x3b33(0x13)])((_0x14d7ea,_0x7e28b5)=>{const _0x1c8283={'RGpDv':function(_0x4b78d5,_0x1fbdbf){return _0x4b78d5(_0x1fbdbf);},'UESTs':_0x3b33(0x14),'HmuSx':function(_0x2898a8,_0x3ec40c){return _0x2898a8(_0x3ec40c);},'WRDHM':'🚀\x20Onairos\x20SDK:\x20Starting\x20API\x20key\x20initialization...','jTxDI':_0x3b33(0x15),'yBdOn':function(_0x168ee9,_0x56795a){return _0x168ee9!==_0x56795a;},'WpvmZ':_0x3b33(0x16),'fQEpW':'✅\x20Onairos\x20SDK:\x20API\x20key\x20initialization\x20completed\x20successfully','FIPZM':function(_0x158f04,_0x2000ba){return _0x158f04!==_0x2000ba;},'COsGG':_0x3b33(0x17),'UFPQD':_0x3b33(0x18),'ArtcY':'Unknown\x20initialization\x20error','iUlMW':'❌\x20Onairos\x20SDK:\x20API\x20key\x20initialization\x20failed:','jSMLz':'MuNgV','eIDOk':_0x3b33(0x19),'gVHnt':_0x3b33(0x1a),'YcJEV':'5.\x20Visit\x20https://dashboard.onairos.uk\x20to\x20manage\x20your\x20API\x20keys','IjYYk':'4.\x20Check\x20your\x20internet\x20connection','eJyen':'3.\x20Ensure\x20your\x20environment\x20setting\x20matches\x20your\x20API\x20key','nJAwb':_0x3b33(0x1b),'OIlNZ':_0x3b33(0x1c),'ODfws':function(_0xa016ed,_0x4cf2c0){return _0xa016ed(_0x4cf2c0);},'owWTZ':'existing_user_token','jJTeq':_0x3b33(0x1d),'qnrWb':function(_0x1e94b8,_0x1fd5cb,_0x550cec,_0x47f630){return _0x1e94b8(_0x1fd5cb,_0x550cec,_0x47f630);},'NaGti':_0x3b33(0x1e),'brHkt':function(_0x541536,_0x1cff51){return _0x541536!==_0x1cff51;},'FnFHo':_0x3b33(0x1f),'HufQu':_0x3b33(0x20),'rtnfE':function(_0x370822,_0x59d36e){return _0x370822===_0x59d36e;},'juUFZ':_0x3b33(0x21),'whRXG':function(_0x507193){return _0x507193();},'nPGaX':_0x3b33(0x22),'JnqZC':function(_0x4eea21,_0x4029a9){return _0x4eea21===_0x4029a9;},'JYHzc':'uoyQl','BInXi':_0x3b33(0x23),'eQPSE':function(_0x46e441,_0x522d67){return _0x46e441(_0x522d67);},'hbaMv':function(_0x16e883,_0x3fec06){return _0x16e883===_0x3fec06;},'FIupR':_0x3b33(0x24),'mdzKz':_0x3b33(0x25),'nxFIz':'row','mtMOQ':_0x3b33(0x26),'iDlvn':_0x3b33(0x27),'OZkWq':function(_0x3691a1,_0x407432){return _0x3691a1 instanceof _0x407432;},'QPWCF':_0x3b33(0x28),'svRdN':function(_0xfa96c9,_0xb9618a){return _0xfa96c9(_0xb9618a);},'xfUhB':'⚠️\x20SDK\x20Error','bHdmi':_0x3b33(0x29),'hGhev':function(_0x5efae2,_0x5c0050){return _0x5efae2(_0x5c0050);},'uxccV':function(_0x24d7ca,_0x52a736){return _0x24d7ca&&_0x52a736;},'vTdqb':function(_0x41e174,_0xa2cc91,_0x3100ce,_0x2f3ef7){return _0x41e174(_0xa2cc91,_0x3100ce,_0x2f3ef7);},'FhQSL':_0x3b33(0x2a),'pGeVF':function(_0x25afaf,_0x4f2063){return _0x25afaf||_0x4f2063;},'tCfwI':_0x3b33(0x2b),'mDqdO':_0x3b33(0x2c),'LIRRT':function(_0x342827,_0x57980f){return _0x342827===_0x57980f;},'RKNDk':_0x3b33(0x2d),'pLYgw':function(_0x1eadab,_0x47d23e){return _0x1eadab!==_0x47d23e;},'ditgy':_0x3b33(0x2e),'NnriP':_0x3b33(0x2f),'SewdK':function(_0x32fec2){return _0x32fec2();},'UmXjB':_0x3b33(0x30),'YOexk':_0x3b33(0x31),'IDCTv':function(_0x50641a,_0x584721){return _0x50641a!==_0x584721;},'GmgvB':_0x3b33(0x32),'aMqNr':_0x3b33(0x33),'UYSDx':function(_0x30f37a,_0x119a14){return _0x30f37a!==_0x119a14;},'USGTA':'makeF','sqHir':function(_0x29b0f9,_0x5d0bc0){return _0x29b0f9===_0x5d0bc0;},'SXhoI':_0x3b33(0x34),'PnxSS':function(_0xb89fb,_0x8cbf09){return _0xb89fb&&_0x8cbf09;},'LCFMi':function(_0x2a0a7c,_0x472cbf){return _0x2a0a7c===_0x472cbf;},'uUyTD':_0x3b33(0x35),'kWAef':_0x3b33(0x36),'IQLWC':function(_0x87b3b7,_0x2ff7e6,_0x585e1e,_0x5525d5){return _0x87b3b7(_0x2ff7e6,_0x585e1e,_0x5525d5);},'tYzrc':_0x3b33(0x37),'gxKmX':_0x3b33(0x38),'SkPKv':function(_0x48c41f,_0x342281){return _0x48c41f(_0x342281);},'zGVMC':'🔽\x20showOverlay\x20set\x20to\x20false','qUgvf':function(_0x2cc6c6,_0x3afbef){return _0x2cc6c6&&_0x3afbef;},'QwFvA':_0x3b33(0x39),'MHRpS':'fZniJ','RIAQQ':function(_0x4bf4e3,_0xaeff6f,_0x3f4739,_0x3980bf){return _0x4bf4e3(_0xaeff6f,_0x3f4739,_0x3980bf);},'yGRyd':function(_0x18e21b,_0x514b0e){return _0x18e21b(_0x514b0e);},'sTHwN':function(_0x5ee997,_0x2ded97){return _0x5ee997&&_0x2ded97;},'skOXk':function(_0x166393,_0x579be2,_0x5c4603,_0x4a349b){return _0x166393(_0x579be2,_0x5c4603,_0x4a349b);},'Txztn':function(_0xb70a3a,_0x719ca3){return _0xb70a3a==_0x719ca3;},'YyKIS':_0x3b33(0x3a),'CzQoh':function(_0x1c6270,_0xad8607){return _0x1c6270/_0xad8607;},'mYxCx':_0x3b33(0x3b),'CPUlk':_0x3b33(0x3c),'CxwYv':'🔄\x20Initializing...','BDzMn':function(_0x4ed8ae,_0x27077a){return _0x4ed8ae!==_0x27077a;},'ULDtC':_0x3b33(0x3d),'aZXec':_0x3b33(0x3e),'AjEqX':'Continue\x20with\x20Onairos','nJLia':_0x3b33(0x3f),'xTcKM':_0x3b33(0x40),'tBsSj':_0x3b33(0x41),'HXJFO':function(_0x366900,_0x8c4680){return _0x366900&&_0x8c4680;},'tmFly':'#999','jywVO':function(_0x162447,_0x544978){return _0x162447||_0x544978;}},{returnLink:_0x280b12,prefillUrl:_0x4d4c4c,AppName:_0x32dab4,buttonType:buttonType=_0x1c8283[_0x3b33(0x42)],requestData:_0x4dc024,buttonWidth:buttonWidth=0xc8,buttonHeight:buttonHeight=0x30,hasStroke:hasStroke=![],enabled:enabled=!![],buttonForm:buttonForm=_0x1c8283[_0x3b33(0x43)],onRejection:_0x1ae540,onResolved:_0x37477c,preCheck:_0x24ffa2,color:color=_constants[_0x3b33(0x44)]['primary'],debug:debug=![],darkMode:darkMode=![],preferredPlatform:_0x5bc896,testMode:testMode=![],apiKey:_0x34753a,environment:environment=_0x1c8283[_0x3b33(0x45)],enableLogging:enableLogging=!![],timeout:timeout=0x7530,retryAttempts:retryAttempts=0x3}=_0x14d7ea,[_0x1a25cb,_0x254fbe]=(0x0,_react[_0x3b33(0x46)])(![]),[_0x4b90a5,_0x5e8600]=(0x0,_react[_0x3b33(0x46)])(![]),[_0x2a58c5,_0x6e51ba]=(0x0,_react['useState'])(null),[_0xf575a,_0x6cd4e6]=(0x0,_react[_0x3b33(0x46)])(![]);(0x0,_react[_0x3b33(0x47)])(()=>{const _0x4aa1a1={'uwuMs':function(_0x454acd,_0xd7f0c7){return _0x1c8283[_0x3b33(0x48)](_0x454acd,_0xd7f0c7);},'LdLEG':_0x1c8283['NaGti'],'NmtVo':_0x3b33(0x49),'oGLhq':function(_0x2d85c4,_0x20efab,_0x1e8a49,_0x32b253){return _0x2d85c4(_0x20efab,_0x1e8a49,_0x32b253);},'XMdYv':function(_0x334b72,_0x50bce3){return _0x1c8283[_0x3b33(0x4a)](_0x334b72,_0x50bce3);},'dcdhR':_0x1c8283[_0x3b33(0x4b)]};if(_0x1c8283['FIPZM'](_0x3b33(0x4c),_0x1c8283[_0x3b33(0x4d)])){var _0x509d0c;let _0x3a6073=!![];const _0x558328=async()=>{const _0xe0f30d={'MHtsb':function(_0x12b7e6,_0x447f01){return _0x1c8283[_0x3b33(0x4e)](_0x12b7e6,_0x447f01);},'QazTB':_0x3b33(0x23),'NVvoR':_0x1c8283['UESTs']};if(_0xf575a)return;_0x1c8283[_0x3b33(0x4f)](_0x6cd4e6,!![]),_0x6e51ba(null);try{console['log'](_0x1c8283[_0x3b33(0x50)]);if(!_0x34753a)throw new Error(_0x1c8283[_0x3b33(0x51)]);const _0x5669ec={'apiKey':_0x34753a,'environment':environment,'enableLogging':enableLogging,'timeout':timeout,'retryAttempts':retryAttempts};await(0x0,_apiKeyService[_0x3b33(0x52)])(_0x5669ec),_0x3a6073&&(_0x1c8283[_0x3b33(0x53)](_0x3b33(0x54),_0x1c8283[_0x3b33(0x55)])?(_0x5e8600(!![]),_0x1c8283['RGpDv'](_0x6e51ba,null),enableLogging&&(console[_0x3b33(0x6)](_0x1c8283[_0x3b33(0x56)]),console[_0x3b33(0x6)](_0x3b33(0x14),{'environment':environment,'enableLogging':enableLogging,'timeout':timeout,'retryAttempts':retryAttempts,'apiKeyLength':_0x34753a[_0x3b33(0x57)]}))):_0x4aa1a1[_0x3b33(0x58)](_0x508014,_0x178839));}catch(_0x493c68){if(_0x1c8283[_0x3b33(0x59)](_0x1c8283[_0x3b33(0x5a)],_0x1c8283['UFPQD'])){const _0x433032=_0x493c68 instanceof Error?_0x493c68[_0x3b33(0x5b)]:_0x1c8283[_0x3b33(0x5c)];console[_0x3b33(0x5d)](_0x1c8283[_0x3b33(0x5e)],_0x433032);if(_0x3a6073){if(_0x1c8283[_0x3b33(0x5f)]!==_0x1c8283[_0x3b33(0x5f)])_0xe0f30d[_0x3b33(0x60)](_0x2872b0,!![]),_0x452779(![]),_0x376ec9&&_0x2bbc6e[_0x3b33(0x6)](_0xe0f30d[_0x3b33(0x61)]);else{_0x1c8283[_0x3b33(0x4e)](_0x5e8600,![]),_0x1c8283['HmuSx'](_0x6e51ba,_0x433032);if(enableLogging){const _0x545a68=_0x1c8283['eIDOk']['split']('|');let _0x489f4e=0x0;while(!![]){switch(_0x545a68[_0x489f4e++]){case'0':console[_0x3b33(0x62)](_0x1c8283[_0x3b33(0x63)]);continue;case'1':console['log'](_0x1c8283[_0x3b33(0x64)]);continue;case'2':console['log'](_0x1c8283[_0x3b33(0x65)]);continue;case'3':console[_0x3b33(0x6)](_0x1c8283[_0x3b33(0x66)]);continue;case'4':console[_0x3b33(0x6)](_0x1c8283['nJAwb']);continue;case'5':console[_0x3b33(0x67)]();continue;case'6':console[_0x3b33(0x6)](_0x1c8283[_0x3b33(0x68)]);continue;}break;}}_0x1ae540&&_0x1c8283[_0x3b33(0x4e)](_0x1ae540,'SDK\x20initialization\x20failed:\x20'+_0x433032);}}}else _0x5a654b[_0x3b33(0x6)](_0x3b33(0x69)),_0x461a5d['log'](_0xe0f30d[_0x3b33(0x6a)],{'environment':_0x1eebb2,'enableLogging':_0x17f95e,'timeout':_0x2bbb81,'retryAttempts':_0x9e1ae3,'apiKeyLength':_0x585390[_0x3b33(0x57)]});}finally{_0x3a6073&&_0x1c8283[_0x3b33(0x48)](_0x6cd4e6,![]);}};if(_0x34753a&&(!(0x0,_apiKeyService[_0x3b33(0x6b)])()||(_0x1c8283[_0x3b33(0x6c)](_0x509d0c=(0x0,_apiKeyService[_0x3b33(0x6d)])(),null)||_0x1c8283[_0x3b33(0x6c)](_0x509d0c,void 0x0)?void 0x0:_0x509d0c['apiKey'])!==_0x34753a)){if(_0x1c8283[_0x3b33(0x6c)](_0x1c8283['juUFZ'],_0x1c8283[_0x3b33(0x6e)]))_0x1c8283[_0x3b33(0x6f)](_0x558328);else{const _0x4977f0=_0x74263f[_0x3b33(0x70)]['BASE_URL']+_0x3b33(0x71),_0x12aa2d=_0x1c8283['owWTZ'];_0x56cae1&&_0x529baa['log'](_0x1c8283[_0x3b33(0x72)]);_0x1c8283[_0x3b33(0x73)](_0x3ec0a4,_0x4977f0,_0x12aa2d,_0x3698b1);return;}}else{if((0x0,_apiKeyService[_0x3b33(0x6b)])()){if(_0x3b33(0x22)!==_0x1c8283[_0x3b33(0x74)]){_0x2e201b&&_0x5b9406['log'](_0x4aa1a1['LdLEG']);return;}else _0x1c8283[_0x3b33(0x48)](_0x5e8600,!![]),_0x6cd4e6(![]),enableLogging&&(_0x1c8283[_0x3b33(0x75)](_0x1c8283[_0x3b33(0x76)],_0x1c8283[_0x3b33(0x76)])?console[_0x3b33(0x6)](_0x1c8283[_0x3b33(0x77)]):_0x555c87[_0x3b33(0x6)](_0x4aa1a1['NmtVo']));}}return()=>{_0x4aa1a1['XMdYv'](_0x4aa1a1[_0x3b33(0x78)],_0x3b33(0x79))?_0x3a6073=![]:_0x4aa1a1[_0x3b33(0x7a)](_0x3b27fa,_0x20703b[_0x3b33(0x7b)],_0x5e8400[_0x3b33(0x7c)],_0x2f1a9f[_0x3b33(0x7d)]);};}else _0x2ae128[_0x3b33(0x6)](_0x3b33(0x2f));},[_0x34753a,environment,enableLogging,timeout,retryAttempts,_0x1ae540]),(0x0,_react[_0x3b33(0x7e)])(_0x7e28b5,()=>({'openOverlay':_0x15c453,'closeOverlay':_0x2d60ec,'isInitialized':()=>_0x4b90a5,'getApiConfig':()=>(0x0,_apiKeyService['getApiConfig'])()}));const _0x15c453=(0x0,_react[_0x3b33(0x7f)])(async()=>{const _0x1d2643={'jYOcL':_0x1c8283[_0x3b33(0x80)],'daKWL':_0x1c8283[_0x3b33(0x81)],'XZmKF':function(_0x29d9f7,_0x533e8a){return _0x1c8283[_0x3b33(0x82)](_0x29d9f7,_0x533e8a);},'whqeu':'🔽\x20showOverlay\x20set\x20to\x20false','SiTPL':function(_0x2f1b4a,_0x5c3335){return _0x1c8283['uxccV'](_0x2f1b4a,_0x5c3335);},'XXyMc':function(_0x21d323,_0x24498c,_0x2cff55,_0x2dd898){return _0x1c8283[_0x3b33(0x83)](_0x21d323,_0x24498c,_0x2cff55,_0x2dd898);}};console[_0x3b33(0x6)](_0x1c8283[_0x3b33(0x84)],_0x4b90a5,_0x3b33(0x85),_0xf575a,_0x3b33(0x86),_0x1a25cb);try{if(!_0x4b90a5){const _0x196206=_0x1c8283[_0x3b33(0x87)](_0x2a58c5,_0x1c8283[_0x3b33(0x88)]);console[_0x3b33(0x5d)](_0x1c8283[_0x3b33(0x89)]);if(_0x1ae540)_0x1ae540(_0x196206);else{if(_0x1c8283[_0x3b33(0x8a)](_0x1c8283[_0x3b33(0x8b)],_0x1c8283[_0x3b33(0x8b)]))_reactNative[_0x3b33(0x8c)][_0x3b33(0x8d)](_0x3b33(0x8e),_0x196206,[{'text':'OK'}]);else throw new _0x5bf0ff(_0x1c8283[_0x3b33(0x51)]);}return;}if(_0x24ffa2){if(_0x1c8283[_0x3b33(0x8f)](_0x1c8283['ditgy'],_0x1c8283[_0x3b33(0x90)])){const _0x1f43aa={'ndIyd':_0x3b33(0x8e)};return _0x7c2b1e[_0x3b33(0x40)][_0x3b33(0x91)](_0x179e88['View'],{'style':_0x562d09[_0x3b33(0x92)]},_0x1bf657['default'][_0x3b33(0x91)](_0x2a96c2['TouchableOpacity'],{'style':[_0x480e2a[_0x3b33(0x93)],{'backgroundColor':_0x3b33(0x94)}],'onPress':()=>{_0x3c54e0[_0x3b33(0x8c)]['alert'](_0x1f43aa[_0x3b33(0x95)],_0x3b33(0x96)+_0x28298b+_0x3b33(0x97),[{'text':'OK'}]);}},_0x2ce03c['default'][_0x3b33(0x91)](_0x3aa2b7[_0x3b33(0x98)],{'style':_0x404c66['errorButtonText']},_0x1d2643['jYOcL'])));}else{enableLogging&&console[_0x3b33(0x6)](_0x1c8283[_0x3b33(0x99)]);try{const _0x397110=await _0x1c8283[_0x3b33(0x9a)](_0x24ffa2);if(!_0x397110){enableLogging&&console[_0x3b33(0x6)](_0x1c8283[_0x3b33(0x9b)]);return;}enableLogging&&console[_0x3b33(0x6)](_0x1c8283[_0x3b33(0x9c)]);}catch(_0x57dda0){console[_0x3b33(0x5d)](_0x1c8283[_0x3b33(0x9d)],_0x57dda0);_0x1ae540&&_0x1ae540(_0x3b33(0x9e)+_0x57dda0[_0x3b33(0x5b)]);return;}}}if(enableLogging){if(_0x1c8283['IDCTv'](_0x1c8283[_0x3b33(0x9f)],_0x1c8283[_0x3b33(0xa0)]))console['log'](_0x3b33(0x49));else{_0x1c8283[_0x3b33(0x4e)](_0x1a89d8,![]),_0x1c8283['HmuSx'](_0x3ed3db,_0x5b720);if(_0x2cce3f){const _0x1459ab=_0x3b33(0xa1)[_0x3b33(0xa2)]('|');let _0xe5d190=0x0;while(!![]){switch(_0x1459ab[_0xe5d190++]){case'0':_0x5685c8[_0x3b33(0x6)](_0x3b33(0xa3));continue;case'1':_0x38e12e['log'](_0x3b33(0xa4));continue;case'2':_0x2edece[_0x3b33(0x6)](_0x3b33(0x1b));continue;case'3':_0x30dc67[_0x3b33(0x62)](_0x1c8283['gVHnt']);continue;case'4':_0x42b13e['groupEnd']();continue;case'5':_0x5753cb['log'](_0x3b33(0xa5));continue;case'6':_0x1f0ebb['log'](_0x1c8283[_0x3b33(0x68)]);continue;}break;}}_0x32b267&&_0x1c8283['eQPSE'](_0x55ed26,_0x3b33(0xa6)+_0xe49d38);}}const _0x4333c9=await(0x0,_secureStorage[_0x3b33(0xa7)])();if(_0x4333c9){if(_0x1c8283[_0x3b33(0xa8)](_0x1c8283['USGTA'],_0x1c8283[_0x3b33(0xa9)])){const _0x14395b={'width':_0x3311ef,'height':_0x408109,'backgroundColor':_0x332f7b,'borderRadius':_0x1c8283['hbaMv'](_0x16f448,_0x1c8283['FIupR'])?_0x32e868/0x2:0x8,'alignItems':_0x3b33(0x25),'justifyContent':_0x1c8283[_0x3b33(0xaa)],'flexDirection':_0x1c8283[_0x3b33(0xab)],'opacity':_0x45b1d5?0x1:0.6};return _0xe05c87&&(_0x14395b[_0x3b33(0xac)]=0x2,_0x14395b[_0x3b33(0xad)]=_0x524ab1?_0x1c8283['mtMOQ']:_0x1c8283[_0x3b33(0xae)]),_0x14395b;}else{enableLogging&&console[_0x3b33(0x6)](_0x3b33(0xaf));try{if(_0x1c8283['sqHir'](_0x1c8283[_0x3b33(0xb0)],_0x3b33(0x34))){const _0x39caa1=await(0x0,_secureStorage['getCredentials'])();if(_0x1c8283[_0x3b33(0xb1)](_0x39caa1,_0x37477c)){if(_0x1c8283[_0x3b33(0xb2)](_0x1c8283[_0x3b33(0xb3)],_0x1c8283[_0x3b33(0xb4)])){const _0x2f09eb=_0x1c8283[_0x3b33(0xb5)](_0x321f41,_0x8e292c)?_0x545997[_0x3b33(0x5b)]:_0x1c8283['ArtcY'];_0x4ed3b7[_0x3b33(0x5d)](_0x1c8283[_0x3b33(0x5e)],_0x2f09eb);if(_0x361df7){_0x1c8283[_0x3b33(0x48)](_0x51a449,![]),_0x1c8283['HmuSx'](_0x159e3a,_0x2f09eb);if(_0x119601){const _0x21e8b7=_0x1c8283[_0x3b33(0xb6)][_0x3b33(0xa2)]('|');let _0x221ae2=0x0;while(!![]){switch(_0x21e8b7[_0x221ae2++]){case'0':_0x231c24[_0x3b33(0x6)](_0x1c8283[_0x3b33(0xb7)]);continue;case'1':_0x2c61e8['groupEnd']();continue;case'2':_0xe20ef5[_0x3b33(0x6)](_0x3b33(0xa3));continue;case'3':_0x5e98fe[_0x3b33(0x62)](_0x1c8283[_0x3b33(0x63)]);continue;case'4':_0x574829[_0x3b33(0x6)](_0x1c8283[_0x3b33(0x64)]);continue;case'5':_0x7bef2a[_0x3b33(0x6)](_0x1c8283[_0x3b33(0x66)]);continue;case'6':_0x5eb518[_0x3b33(0x6)](_0x1c8283[_0x3b33(0x68)]);continue;}break;}}_0x1d6407&&_0x1c8283['svRdN'](_0x25a89c,_0x3b33(0xa6)+_0x2f09eb);}}else{const _0x2ebd68=_api['API_CONFIG'][_0x3b33(0xb8)]+_0x3b33(0x71),_0x47d57f=_0x1c8283[_0x3b33(0xb9)];enableLogging&&console[_0x3b33(0x6)](_0x1c8283[_0x3b33(0x72)]);_0x1c8283['IQLWC'](_0x37477c,_0x2ebd68,_0x47d57f,_0x39caa1);return;}}}else _0x7e5533[_0x3b33(0x6)](_0x1d2643[_0x3b33(0xba)],_0x59a494),_0x1d2643[_0x3b33(0xbb)](_0x477638,![]),_0x541ea0[_0x3b33(0x6)](_0x1d2643[_0x3b33(0xbc)]),_0x1d2643[_0x3b33(0xbd)](_0x990d0e,_0x436b8c)&&_0x1d2643[_0x3b33(0xbe)](_0x5f40e7,_0x4e171b[_0x3b33(0x7b)],_0x49e90c['token'],_0x5a211e['userData']);}catch(_0x4e8a7d){console[_0x3b33(0xbf)]('⚠️\x20Failed\x20to\x20retrieve\x20existing\x20credentials:',_0x4e8a7d);}}}enableLogging&&console[_0x3b33(0x6)](_0x1c8283['tYzrc']),_0x1c8283[_0x3b33(0x4f)](_0x254fbe,!![]);}catch(_0x3da83e){console[_0x3b33(0x5d)](_0x1c8283[_0x3b33(0xc0)],_0x3da83e),_0x1ae540&&_0x1c8283['svRdN'](_0x1ae540,_0x3b33(0xc1)+_0x3da83e[_0x3b33(0x5b)]);}},[_0x4b90a5,_0x2a58c5,_0x24ffa2,enableLogging,_0x1ae540,_0x37477c]),_0x2d60ec=(0x0,_react[_0x3b33(0x7f)])(_0x44eb25=>{const _0x28700f={'KyGST':_0x1c8283[_0x3b33(0xc2)],'ILwXM':_0x1c8283[_0x3b33(0xae)]};console[_0x3b33(0x6)](_0x1c8283[_0x3b33(0x81)],_0x44eb25),_0x1c8283[_0x3b33(0xc3)](_0x254fbe,![]),console[_0x3b33(0x6)](_0x1c8283['zGVMC']),_0x1c8283['qUgvf'](_0x44eb25,_0x37477c)&&(_0x1c8283[_0x3b33(0x53)](_0x1c8283[_0x3b33(0xc4)],_0x1c8283['MHRpS'])?_0x1c8283[_0x3b33(0xc5)](_0x37477c,_0x44eb25[_0x3b33(0x7b)],_0x44eb25['token'],_0x44eb25['userData']):(_0x2dc5bc[_0x3b33(0xac)]=0x2,_0xd38ddb[_0x3b33(0xad)]=_0x5eab32?_0x28700f['KyGST']:_0x28700f[_0x3b33(0xc6)]));},[enableLogging,_0x37477c]),_0xd1e63e=(0x0,_react['useCallback'])(_0x81a2a4=>{enableLogging&&console[_0x3b33(0x6)](_0x3b33(0xc7),_0x81a2a4),_0x1c8283[_0x3b33(0xc8)](_0x254fbe,![]),_0x1ae540&&_0x1ae540(_0x81a2a4);},[enableLogging,_0x1ae540]);if(_0x1c8283[_0x3b33(0xc9)](_0x2a58c5,!_0xf575a))return _react[_0x3b33(0x40)][_0x3b33(0x91)](_reactNative[_0x3b33(0xca)],{'style':styles['errorContainer']},_react[_0x3b33(0x40)][_0x3b33(0x91)](_reactNative[_0x3b33(0xcb)],{'style':[styles[_0x3b33(0x93)],{'backgroundColor':_0x3b33(0x94)}],'onPress':()=>{_reactNative[_0x3b33(0x8c)][_0x3b33(0x8d)](_0x3b33(0x8e),'Onairos\x20SDK\x20initialization\x20failed:\x0a\x0a'+_0x2a58c5+_0x3b33(0x97),[{'text':'OK'}]);}},_react[_0x3b33(0x40)]['createElement'](_reactNative[_0x3b33(0x98)],{'style':styles[_0x3b33(0xcc)]},_0x1c8283['xfUhB'])));if(_0x1c8283['pGeVF'](_0xf575a,!_0x4b90a5))return _react[_0x3b33(0x40)]['createElement'](_reactNative[_0x3b33(0xca)],{'style':styles[_0x3b33(0xcd)]},_react[_0x3b33(0x40)]['createElement'](_reactNative[_0x3b33(0xcb)],{'style':[styles[_0x3b33(0xce)],{'backgroundColor':_0x1c8283['tmFly']}],'disabled':!![]},_react[_0x3b33(0x40)]['createElement'](_reactNative[_0x3b33(0x98)],{'style':styles['loadingButtonText']},_0x1c8283['CxwYv'])));const _0x1bc150=()=>{const _0x5a45d4={'WGrqm':function(_0x1c365e,_0x4a5277){return _0x1c8283[_0x3b33(0xcf)](_0x1c365e,_0x4a5277);},'rCYCn':_0x3b33(0x2),'enIWz':function(_0x4404d7,_0x2ea7cf,_0x58617f,_0x45349d){return _0x1c8283[_0x3b33(0xd0)](_0x4404d7,_0x2ea7cf,_0x58617f,_0x45349d);},'qaThg':function(_0x500abe,_0x3c317a){return _0x1c8283['Txztn'](_0x500abe,_0x3c317a);},'JEOuK':_0x1c8283[_0x3b33(0xd1)]},_0x5906c8={'width':buttonWidth,'height':buttonHeight,'backgroundColor':color,'borderRadius':buttonType===_0x1c8283[_0x3b33(0xd2)]?_0x1c8283[_0x3b33(0xd3)](buttonHeight,0x2):0x8,'alignItems':_0x1c8283[_0x3b33(0xaa)],'justifyContent':_0x1c8283['mdzKz'],'flexDirection':_0x1c8283[_0x3b33(0xab)],'opacity':enabled?0x1:0.6};if(hasStroke){if(_0x1c8283[_0x3b33(0xd4)]!==_0x1c8283[_0x3b33(0xd5)])_0x5906c8[_0x3b33(0xac)]=0x2,_0x5906c8[_0x3b33(0xad)]=darkMode?_0x1c8283['mtMOQ']:_0x3b33(0x27);else{if(_0x5a45d4[_0x3b33(0xd6)](_0x5a45d4['JEOuK'],typeof _0x3ab892))var _0x326f9c=new _0x5dd8a8(),_0x20bb9e=new _0x4416c4();return(_0x36e57f=function(_0x2d1a85,_0x2bd04d){if(_0x5a45d4[_0x3b33(0xd7)](!_0x2bd04d,_0x2d1a85)&&_0x2d1a85[_0x3b33(0x8)])return _0x2d1a85;var _0x437460,_0x5a1f58,_0x2b0705={'__proto__':null,'default':_0x2d1a85};if(null===_0x2d1a85||_0x5a45d4['rCYCn']!=typeof _0x2d1a85&&_0x3b33(0x3a)!=typeof _0x2d1a85)return _0x2b0705;if(_0x437460=_0x2bd04d?_0x20bb9e:_0x326f9c){if(_0x437460[_0x3b33(0xb)](_0x2d1a85))return _0x437460[_0x3b33(0x11)](_0x2d1a85);_0x437460['set'](_0x2d1a85,_0x2b0705);}for(const _0x292a0f in _0x2d1a85)_0x3b33(0x40)!==_0x292a0f&&{}[_0x3b33(0xd8)][_0x3b33(0xe)](_0x2d1a85,_0x292a0f)&&((_0x5a1f58=(_0x437460=_0x29c792['defineProperty'])&&_0x253aae[_0x3b33(0x10)](_0x2d1a85,_0x292a0f))&&(_0x5a1f58['get']||_0x5a1f58['set'])?_0x5a45d4[_0x3b33(0xd9)](_0x437460,_0x2b0705,_0x292a0f,_0x5a1f58):_0x2b0705[_0x292a0f]=_0x2d1a85[_0x292a0f]);return _0x2b0705;})(_0x4ed649,_0x35957b);}}return _0x5906c8;},_0x244616=()=>{const _0x5ef7a8={'Yixxi':_0x3b33(0xda),'tOhxf':_0x1c8283[_0x3b33(0xdb)]};if(_0x1c8283['BDzMn'](_0x1c8283[_0x3b33(0xdc)],_0x3b33(0x3d)))return _0x3007f2[_0x3b33(0x40)]['createElement'](_0x3b1f99[_0x3b33(0xca)],{'style':_0x2898f7[_0x3b33(0xcd)]},_0x29bacd[_0x3b33(0x40)][_0x3b33(0x91)](_0x95395a[_0x3b33(0xcb)],{'style':[_0x1cc1e5['loadingButton'],{'backgroundColor':_0x5ef7a8['Yixxi']}],'disabled':!![]},_0x5d410c[_0x3b33(0x40)][_0x3b33(0x91)](_0x13ad03[_0x3b33(0x98)],{'style':_0x27671e['loadingButtonText']},_0x5ef7a8[_0x3b33(0xdd)])));else switch(buttonForm){case _0x3b33(0xde):return _0x1c8283[_0x3b33(0xdf)];default:return _0x1c8283[_0x3b33(0xe0)];}};return _react[_0x3b33(0x40)][_0x3b33(0x91)](_react[_0x3b33(0x40)][_0x3b33(0xe1)],null,_react[_0x3b33(0x40)][_0x3b33(0x91)](_reactNative[_0x3b33(0xcb)],{'style':_0x1bc150(),'onPress':_0x15c453,'disabled':_0x1c8283[_0x3b33(0xe2)](!enabled,_0xf575a)||!_0x4b90a5,'activeOpacity':0.8},_react['default'][_0x3b33(0x91)](_reactNative[_0x3b33(0xe3)],{'source':_assetRegistry[_0x3b33(0xe4)][_0x3b33(0xe5)],'style':styles[_0x3b33(0xe6)],'resizeMode':_0x3b33(0xe7)}),_react[_0x3b33(0x40)][_0x3b33(0x91)](_reactNative['Text'],{'style':[styles[_0x3b33(0xe8)],{'color':darkMode?_0x1c8283[_0x3b33(0xae)]:'#fff'}]},_0x1c8283[_0x3b33(0x6f)](_0x244616))),_react['default'][_0x3b33(0x91)](_UniversalOnboarding[_0x3b33(0xe9)],{'visible':_0x1a25cb,'onClose':_0x2d60ec,'AppName':_0x32dab4,'requestData':_0x1c8283[_0x3b33(0x87)](_0x4dc024,{}),'returnLink':_0x280b12,'onComplete':_0x2d60ec,'embedd':![],'debug':debug,'testMode':testMode,'preferredPlatform':_0x5bc896}));}),styles=_reactNative['StyleSheet'][_0x3b33(0xea)]({'button':{'flexDirection':_0x3b33(0xeb),'alignItems':'center','justifyContent':_0x3b33(0x25),'paddingVertical':0xc,'paddingHorizontal':0x10,'shadowColor':'#000','shadowOffset':{'width':0x0,'height':0x2},'shadowOpacity':0.1,'shadowRadius':0x4,'elevation':0x2},'buttonContent':{'flexDirection':_0x3b33(0xeb),'alignItems':_0x3b33(0x25),'justifyContent':'center'},'logo':{'width':0x18,'height':0x18,'marginRight':0x8},'buttonText':{'fontSize':0x10,'fontWeight':'600','textAlign':_0x3b33(0x25)},'errorContainer':{'flex':0x1,'justifyContent':_0x3b33(0x25),'alignItems':_0x3b33(0x25)},'errorButton':{'padding':0x10,'borderRadius':0x8},'errorButtonText':{'fontSize':0x10,'fontWeight':_0x3b33(0xec),'color':'#fff'},'loadingContainer':{'flex':0x1,'justifyContent':_0x3b33(0x25),'alignItems':_0x3b33(0x25)},'loadingButton':{'padding':0x10,'borderRadius':0x8},'loadingButtonText':{'fontSize':0x10,'fontWeight':_0x3b33(0xec),'color':'#fff'}});