@onairos/react-native 3.6.8 → 3.6.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (257) hide show
  1. package/README.md +423 -423
  2. package/lib/commonjs/api/index.js +1 -1
  3. package/lib/commonjs/assets/images/Checkbox.svg +3 -3
  4. package/lib/commonjs/assets/images/EnochE.svg +19 -19
  5. package/lib/commonjs/assets/images/Personalityprofile.svg +3 -3
  6. package/lib/commonjs/assets/images/Personalitytraits.svg +3 -3
  7. package/lib/commonjs/assets/images/Userpreferences.svg +3 -3
  8. package/lib/commonjs/assets/images/arrow.svg +20 -20
  9. package/lib/commonjs/assets/images/basicproficon.svg +43 -43
  10. package/lib/commonjs/assets/images/basicprofile.svg +3 -3
  11. package/lib/commonjs/assets/images/checkmark.svg +4 -4
  12. package/lib/commonjs/assets/images/contentanalysis.svg +3 -3
  13. package/lib/commonjs/assets/images/contenticon.svg +23 -23
  14. package/lib/commonjs/assets/images/personalityicon.svg +18 -18
  15. package/lib/commonjs/assets/images/x-close.svg +3 -3
  16. package/lib/commonjs/components/BodyText.js +1 -1
  17. package/lib/commonjs/components/BrandMark.js +1 -1
  18. package/lib/commonjs/components/CodeInput.js +1 -1
  19. package/lib/commonjs/components/EmailInput.js +1 -1
  20. package/lib/commonjs/components/GoogleButton.js +1 -1
  21. package/lib/commonjs/components/HeadingGroup.js +1 -1
  22. package/lib/commonjs/components/LLMDataInputModal.js +1 -1
  23. package/lib/commonjs/components/ModalHeader.js +1 -1
  24. package/lib/commonjs/components/ModalSheet.js +1 -1
  25. package/lib/commonjs/components/Onairos.js +1 -1
  26. package/lib/commonjs/components/OnairosButton.js +1 -1
  27. package/lib/commonjs/components/OnairosSignInButton.js +1 -1
  28. package/lib/commonjs/components/Overlay.js +1 -1
  29. package/lib/commonjs/components/PersonaImage.js +1 -1
  30. package/lib/commonjs/components/PersonaLoadingScreen.js +1 -1
  31. package/lib/commonjs/components/PersonalizationConsentScreen.js +1 -1
  32. package/lib/commonjs/components/PinCreationScreen.js +1 -1
  33. package/lib/commonjs/components/PinInput.js +1 -1
  34. package/lib/commonjs/components/PlatformConnectorsStep.js +1 -1
  35. package/lib/commonjs/components/PlatformList.js +1 -1
  36. package/lib/commonjs/components/PlatformToggle.js +1 -1
  37. package/lib/commonjs/components/PrimaryButton.js +1 -1
  38. package/lib/commonjs/components/SignInMatchAnimation.js +1 -1
  39. package/lib/commonjs/components/SignInStep.js +1 -1
  40. package/lib/commonjs/components/UniversalOnboarding.js +1 -1
  41. package/lib/commonjs/components/VerificationStep.js +1 -1
  42. package/lib/commonjs/components/WelcomeScreen.js +1 -1
  43. package/lib/commonjs/components/icons/Basicproficon.js +1 -1
  44. package/lib/commonjs/components/icons/Basicprofile.js +1 -1
  45. package/lib/commonjs/components/icons/Checkbox.js +1 -1
  46. package/lib/commonjs/components/icons/Checkmark.js +1 -1
  47. package/lib/commonjs/components/icons/Contentanalysis.js +1 -1
  48. package/lib/commonjs/components/icons/Contenticon.js +1 -1
  49. package/lib/commonjs/components/icons/EnochE.js +1 -1
  50. package/lib/commonjs/components/icons/Personalityicon.js +1 -1
  51. package/lib/commonjs/components/icons/Personalityprofile.js +1 -1
  52. package/lib/commonjs/components/icons/Personalitytraits.js +1 -1
  53. package/lib/commonjs/components/icons/Userpreferences.js +1 -1
  54. package/lib/commonjs/components/icons/index.js +1 -1
  55. package/lib/commonjs/components/onboarding/OAuthWebView.js +1 -1
  56. package/lib/commonjs/components/onboarding/OnboardingHeader.js +1 -1
  57. package/lib/commonjs/components/onboarding/PinInput.js +1 -1
  58. package/lib/commonjs/components/onboarding/PlatformConnector.js +1 -1
  59. package/lib/commonjs/config/PLATFORM_APIS.md +559 -0
  60. package/lib/commonjs/config/api.js +1 -1
  61. package/lib/commonjs/config/telegramConfig.js +8 -0
  62. package/lib/commonjs/config/webchangelog/md +607 -0
  63. package/lib/commonjs/constants/index.js +1 -1
  64. package/lib/commonjs/context/AuthContext.js +1 -1
  65. package/lib/commonjs/hooks/useConnectedAccounts.js +1 -1
  66. package/lib/commonjs/hooks/useConnections.js +1 -1
  67. package/lib/commonjs/hooks/useCredentials.js +1 -1
  68. package/lib/commonjs/hooks/useUserConnections.js +1 -1
  69. package/lib/commonjs/index.js +1 -1
  70. package/lib/commonjs/services/SDK_API_KEY_VALIDATION.md +421 -421
  71. package/lib/commonjs/services/apiClient.js +1 -1
  72. package/lib/commonjs/services/apiKeyService.js +99 -99
  73. package/lib/commonjs/services/authService.js +72 -72
  74. package/lib/commonjs/services/biometricPinService.js +1 -1
  75. package/lib/commonjs/services/chatGPTConversationExtractor.js +1 -1
  76. package/lib/commonjs/services/chatGPTConversationService.js +1 -1
  77. package/lib/commonjs/services/claudeConversationExtractor.js +1 -1
  78. package/lib/commonjs/services/claudeConversationService.js +1 -1
  79. package/lib/commonjs/services/connectedAccountsService.js +1 -1
  80. package/lib/commonjs/services/googleAuthService.js +1 -1
  81. package/lib/commonjs/services/hingeDataExtractor.js +1 -1
  82. package/lib/commonjs/services/hingeDataService.js +1 -1
  83. package/lib/commonjs/services/imageCompressionService.js +1 -1
  84. package/lib/commonjs/services/instagramDataExtractor.js +1 -1
  85. package/lib/commonjs/services/instagramDataService.js +1 -1
  86. package/lib/commonjs/services/jwtStorageService.js +1 -1
  87. package/lib/commonjs/services/linkedinDOMExtractor.js +1 -1
  88. package/lib/commonjs/services/linkedinProfileService.js +1 -1
  89. package/lib/commonjs/services/linkedinScrapingService.js +1 -1
  90. package/lib/commonjs/services/llmDataStorage.js +1 -1
  91. package/lib/commonjs/services/mobileTrainingService.js +1 -1
  92. package/lib/commonjs/services/oauthService.js +20 -20
  93. package/lib/commonjs/services/pinEncryptionService.js +1 -1
  94. package/lib/commonjs/services/pinStorageUtils.js +1 -1
  95. package/lib/commonjs/services/platformAuthService.js +1 -1
  96. package/lib/commonjs/services/sephoraDataExtractor.js +1 -1
  97. package/lib/commonjs/services/sephoraDataService.js +1 -1
  98. package/lib/commonjs/services/storageService.js +1 -1
  99. package/lib/commonjs/services/telegramDataExtractor.js +1 -1
  100. package/lib/commonjs/services/telegramDataService.js +1 -1
  101. package/lib/commonjs/services/trainingApiHelpers.js +1 -1
  102. package/lib/commonjs/services/userConnectionsService.js +1 -1
  103. package/lib/commonjs/services/youtubeMigrationService.js +1 -1
  104. package/lib/commonjs/theme/index.js +1 -1
  105. package/lib/commonjs/types/index.js +1 -1
  106. package/lib/commonjs/types.js +1 -1
  107. package/lib/commonjs/utils/Portal.js +1 -1
  108. package/lib/commonjs/utils/api.js +1 -1
  109. package/lib/commonjs/utils/assetRegistry.js +1 -1
  110. package/lib/commonjs/utils/auth.js +1 -1
  111. package/lib/commonjs/utils/connectorTests.js +1 -1
  112. package/lib/commonjs/utils/crypto.js +1 -1
  113. package/lib/commonjs/utils/debugHelper.js +1 -1
  114. package/lib/commonjs/utils/encryption.js +1 -1
  115. package/lib/commonjs/utils/eventUtils.js +1 -1
  116. package/lib/commonjs/utils/haptics.js +1 -1
  117. package/lib/commonjs/utils/imagePreloader.js +1 -1
  118. package/lib/commonjs/utils/networkDiagnostics.js +1 -1
  119. package/lib/commonjs/utils/onairosApi.js +1 -1
  120. package/lib/commonjs/utils/programmaticFlow.js +1 -1
  121. package/lib/commonjs/utils/retryHelper.js +1 -1
  122. package/lib/commonjs/utils/secureStorage.js +1 -1
  123. package/lib/commonjs/utils/webviewScripts/chatgpt.js +1 -1
  124. package/lib/commonjs/utils/webviewScripts/claude.js +1 -1
  125. package/lib/commonjs/utils/webviewScripts/hinge.js +1 -1
  126. package/lib/commonjs/utils/webviewScripts/index.js +1 -1
  127. package/lib/commonjs/utils/webviewScripts/instagram.js +1 -1
  128. package/lib/commonjs/utils/webviewScripts/linkedin.js +1 -1
  129. package/lib/commonjs/utils/webviewScripts/sephora.js +1 -1
  130. package/lib/commonjs/utils/webviewScripts/telegram.js +1 -1
  131. package/lib/module/api/index.js +1 -1
  132. package/lib/module/assets/images/Checkbox.svg +3 -3
  133. package/lib/module/assets/images/EnochE.svg +19 -19
  134. package/lib/module/assets/images/Personalityprofile.svg +3 -3
  135. package/lib/module/assets/images/Personalitytraits.svg +3 -3
  136. package/lib/module/assets/images/Userpreferences.svg +3 -3
  137. package/lib/module/assets/images/arrow.svg +20 -20
  138. package/lib/module/assets/images/basicproficon.svg +43 -43
  139. package/lib/module/assets/images/basicprofile.svg +3 -3
  140. package/lib/module/assets/images/checkmark.svg +4 -4
  141. package/lib/module/assets/images/contentanalysis.svg +3 -3
  142. package/lib/module/assets/images/contenticon.svg +23 -23
  143. package/lib/module/assets/images/personalityicon.svg +18 -18
  144. package/lib/module/assets/images/x-close.svg +3 -3
  145. package/lib/module/components/BodyText.js +1 -1
  146. package/lib/module/components/BrandMark.js +1 -1
  147. package/lib/module/components/CodeInput.js +1 -1
  148. package/lib/module/components/EmailInput.js +1 -1
  149. package/lib/module/components/GoogleButton.js +1 -1
  150. package/lib/module/components/HeadingGroup.js +1 -1
  151. package/lib/module/components/LLMDataInputModal.js +1 -1
  152. package/lib/module/components/ModalHeader.js +1 -1
  153. package/lib/module/components/ModalSheet.js +1 -1
  154. package/lib/module/components/Onairos.js +1 -1
  155. package/lib/module/components/OnairosButton.js +1 -1
  156. package/lib/module/components/OnairosSignInButton.js +1 -1
  157. package/lib/module/components/Overlay.js +1 -1
  158. package/lib/module/components/PersonaImage.js +1 -1
  159. package/lib/module/components/PersonaLoadingScreen.js +1 -1
  160. package/lib/module/components/PersonalizationConsentScreen.js +1 -1
  161. package/lib/module/components/PinCreationScreen.js +1 -1
  162. package/lib/module/components/PinInput.js +1 -1
  163. package/lib/module/components/PlatformConnectorsStep.js +1 -1
  164. package/lib/module/components/PlatformList.js +1 -1
  165. package/lib/module/components/PlatformToggle.js +1 -1
  166. package/lib/module/components/PrimaryButton.js +1 -1
  167. package/lib/module/components/SignInMatchAnimation.js +1 -1
  168. package/lib/module/components/SignInStep.js +1 -1
  169. package/lib/module/components/UniversalOnboarding.js +1 -1
  170. package/lib/module/components/VerificationStep.js +1 -1
  171. package/lib/module/components/WelcomeScreen.js +1 -1
  172. package/lib/module/components/icons/Basicproficon.js +1 -1
  173. package/lib/module/components/icons/Basicprofile.js +1 -1
  174. package/lib/module/components/icons/Checkbox.js +1 -1
  175. package/lib/module/components/icons/Checkmark.js +1 -1
  176. package/lib/module/components/icons/Contentanalysis.js +1 -1
  177. package/lib/module/components/icons/Contenticon.js +1 -1
  178. package/lib/module/components/icons/EnochE.js +1 -1
  179. package/lib/module/components/icons/Personalityicon.js +1 -1
  180. package/lib/module/components/icons/Personalityprofile.js +1 -1
  181. package/lib/module/components/icons/Personalitytraits.js +1 -1
  182. package/lib/module/components/icons/Userpreferences.js +1 -1
  183. package/lib/module/components/onboarding/OAuthWebView.js +1 -1
  184. package/lib/module/components/onboarding/OnboardingHeader.js +1 -1
  185. package/lib/module/components/onboarding/PinInput.js +1 -1
  186. package/lib/module/components/onboarding/PlatformConnector.js +1 -1
  187. package/lib/module/config/PLATFORM_APIS.md +559 -0
  188. package/lib/module/config/api.js +1 -1
  189. package/lib/module/config/telegramConfig.js +8 -0
  190. package/lib/module/config/webchangelog/md +607 -0
  191. package/lib/module/constants/index.js +1 -1
  192. package/lib/module/context/AuthContext.js +1 -1
  193. package/lib/module/hooks/useConnectedAccounts.js +1 -1
  194. package/lib/module/hooks/useConnections.js +1 -1
  195. package/lib/module/hooks/useCredentials.js +1 -1
  196. package/lib/module/hooks/useUserConnections.js +1 -1
  197. package/lib/module/index.js +1 -1
  198. package/lib/module/services/SDK_API_KEY_VALIDATION.md +421 -421
  199. package/lib/module/services/apiClient.js +1 -1
  200. package/lib/module/services/apiKeyService.js +99 -99
  201. package/lib/module/services/authService.js +72 -72
  202. package/lib/module/services/biometricPinService.js +1 -1
  203. package/lib/module/services/chatGPTConversationExtractor.js +1 -1
  204. package/lib/module/services/chatGPTConversationService.js +1 -1
  205. package/lib/module/services/claudeConversationExtractor.js +1 -1
  206. package/lib/module/services/claudeConversationService.js +1 -1
  207. package/lib/module/services/connectedAccountsService.js +1 -1
  208. package/lib/module/services/googleAuthService.js +1 -1
  209. package/lib/module/services/hingeDataExtractor.js +1 -1
  210. package/lib/module/services/hingeDataService.js +1 -1
  211. package/lib/module/services/imageCompressionService.js +1 -1
  212. package/lib/module/services/instagramDataExtractor.js +1 -1
  213. package/lib/module/services/instagramDataService.js +1 -1
  214. package/lib/module/services/jwtStorageService.js +1 -1
  215. package/lib/module/services/linkedinDOMExtractor.js +1 -1
  216. package/lib/module/services/linkedinProfileService.js +1 -1
  217. package/lib/module/services/linkedinScrapingService.js +1 -1
  218. package/lib/module/services/llmDataStorage.js +1 -1
  219. package/lib/module/services/mobileTrainingService.js +1 -1
  220. package/lib/module/services/oauthService.js +20 -20
  221. package/lib/module/services/pinEncryptionService.js +1 -1
  222. package/lib/module/services/pinStorageUtils.js +1 -1
  223. package/lib/module/services/platformAuthService.js +1 -1
  224. package/lib/module/services/sephoraDataExtractor.js +1 -1
  225. package/lib/module/services/sephoraDataService.js +1 -1
  226. package/lib/module/services/storageService.js +1 -1
  227. package/lib/module/services/telegramDataExtractor.js +1 -1
  228. package/lib/module/services/telegramDataService.js +1 -1
  229. package/lib/module/services/trainingApiHelpers.js +1 -1
  230. package/lib/module/services/userConnectionsService.js +1 -1
  231. package/lib/module/services/youtubeMigrationService.js +1 -1
  232. package/lib/module/theme/index.js +1 -1
  233. package/lib/module/types.js +1 -1
  234. package/lib/module/utils/Portal.js +1 -1
  235. package/lib/module/utils/api.js +1 -1
  236. package/lib/module/utils/assetRegistry.js +1 -1
  237. package/lib/module/utils/auth.js +1 -1
  238. package/lib/module/utils/connectorTests.js +1 -1
  239. package/lib/module/utils/crypto.js +1 -1
  240. package/lib/module/utils/debugHelper.js +1 -1
  241. package/lib/module/utils/encryption.js +1 -1
  242. package/lib/module/utils/eventUtils.js +1 -1
  243. package/lib/module/utils/haptics.js +1 -1
  244. package/lib/module/utils/networkDiagnostics.js +1 -1
  245. package/lib/module/utils/onairosApi.js +1 -1
  246. package/lib/module/utils/programmaticFlow.js +1 -1
  247. package/lib/module/utils/retryHelper.js +1 -1
  248. package/lib/module/utils/secureStorage.js +1 -1
  249. package/lib/module/utils/webviewScripts/chatgpt.js +1 -1
  250. package/lib/module/utils/webviewScripts/claude.js +1 -1
  251. package/lib/module/utils/webviewScripts/hinge.js +1 -1
  252. package/lib/module/utils/webviewScripts/index.js +1 -1
  253. package/lib/module/utils/webviewScripts/instagram.js +1 -1
  254. package/lib/module/utils/webviewScripts/linkedin.js +1 -1
  255. package/lib/module/utils/webviewScripts/sephora.js +1 -1
  256. package/lib/module/utils/webviewScripts/telegram.js +1 -1
  257. package/package.json +172 -172
@@ -1 +1 @@
1
- function _0x3be1(_0x2259d8,_0x3be1dc){_0x2259d8=_0x2259d8-0x0;const _0x1c6279=_0x2259();let _0xb0582=_0x1c6279[_0x2259d8];return _0xb0582;}import React from'react';import{View,Text,StyleSheet,TouchableOpacity}from'react-native';import _0x113899 from'react-native-vector-icons/MaterialIcons';import{COLORS}from'../../constants';function _0x2259(){const _0x1c4f37=['arrow-back','#000','header','createElement','HbjNz','subtitle','closeButton','XEpLT','row','center','headerBg','600'];_0x2259=function(){return _0x1c4f37;};return _0x2259();}export const OnboardingHeader=({title:_0x4ce2f2,subtitle:_0x477683,showBackButton:showBackButton=![],onBack:_0xb4defe,onClose:_0x11bbf2})=>{const _0x337c6c={'HbjNz':_0x3be1(0x0),'XEpLT':_0x3be1(0x1)};return React['createElement'](View,{'style':styles[_0x3be1(0x2)]},showBackButton&&React['createElement'](TouchableOpacity,{'style':styles['backButton'],'onPress':_0xb4defe},React[_0x3be1(0x3)](_0x113899,{'name':_0x337c6c[_0x3be1(0x4)],'size':0x18,'color':_0x337c6c['XEpLT']})),React['createElement'](View,{'style':styles['titleContainer']},React[_0x3be1(0x3)](Text,{'style':styles['title']},_0x4ce2f2),_0x477683&&React['createElement'](Text,{'style':styles[_0x3be1(0x5)]},_0x477683)),React[_0x3be1(0x3)](TouchableOpacity,{'style':styles[_0x3be1(0x6)],'onPress':_0x11bbf2},React[_0x3be1(0x3)](_0x113899,{'name':'close','size':0x18,'color':_0x337c6c[_0x3be1(0x7)]})));};const styles=StyleSheet['create']({'header':{'flexDirection':_0x3be1(0x8),'alignItems':_0x3be1(0x9),'padding':0x10,'backgroundColor':COLORS[_0x3be1(0xa)],'borderTopLeftRadius':0x10,'borderTopRightRadius':0x10},'backButton':{'padding':0x8,'marginRight':0x8},'titleContainer':{'flex':0x1},'title':{'fontSize':0x12,'fontWeight':_0x3be1(0xb),'color':'#000'},'subtitle':{'fontSize':0xe,'color':'#666','marginTop':0x4},'closeButton':{'padding':0x8}});
1
+ import React from'react';import{View,Text,StyleSheet,TouchableOpacity}from'react-native';function _0x502d(_0x5cf86e,_0x502d77){_0x5cf86e=_0x5cf86e-0x0;const _0x472a0d=_0x5cf8();let _0x52c161=_0x472a0d[_0x5cf86e];return _0x52c161;}import _0x47cb5e from'react-native-vector-icons/MaterialIcons';import{COLORS}from'../../constants';export const OnboardingHeader=({title:_0x36dd10,subtitle:_0x5688aa,showBackButton:showBackButton=![],onBack:_0x414811,onClose:_0xab101f})=>{const _0x4ce016={'fKEbm':_0x502d(0x0),'lkNws':'#000','SZAeP':'close'};return React[_0x502d(0x1)](View,{'style':styles[_0x502d(0x2)]},showBackButton&&React['createElement'](TouchableOpacity,{'style':styles[_0x502d(0x3)],'onPress':_0x414811},React[_0x502d(0x1)](_0x47cb5e,{'name':_0x4ce016[_0x502d(0x4)],'size':0x18,'color':_0x4ce016[_0x502d(0x5)]})),React[_0x502d(0x1)](View,{'style':styles['titleContainer']},React[_0x502d(0x1)](Text,{'style':styles[_0x502d(0x6)]},_0x36dd10),_0x5688aa&&React['createElement'](Text,{'style':styles['subtitle']},_0x5688aa)),React[_0x502d(0x1)](TouchableOpacity,{'style':styles[_0x502d(0x7)],'onPress':_0xab101f},React[_0x502d(0x1)](_0x47cb5e,{'name':_0x4ce016[_0x502d(0x8)],'size':0x18,'color':_0x4ce016[_0x502d(0x5)]})));};function _0x5cf8(){const _0x2d0991=['arrow-back','createElement','header','backButton','fKEbm','lkNws','title','closeButton','SZAeP','row','600','#000','#666'];_0x5cf8=function(){return _0x2d0991;};return _0x5cf8();}const styles=StyleSheet['create']({'header':{'flexDirection':_0x502d(0x9),'alignItems':'center','padding':0x10,'backgroundColor':COLORS['headerBg'],'borderTopLeftRadius':0x10,'borderTopRightRadius':0x10},'backButton':{'padding':0x8,'marginRight':0x8},'titleContainer':{'flex':0x1},'title':{'fontSize':0x12,'fontWeight':_0x502d(0xa),'color':_0x502d(0xb)},'subtitle':{'fontSize':0xe,'color':_0x502d(0xc),'marginTop':0x4},'closeButton':{'padding':0x8}});
@@ -1 +1 @@
1
- import React,{useState,useCallback,useEffect}from'react';import{View,Text,StyleSheet,TextInput,TouchableOpacity,Keyboard,KeyboardAvoidingView,Platform}from'react-native';import _0x4761fc from'react-native-vector-icons/MaterialIcons';import{COLORS}from'../../constants';export const PinInput=({onSubmit:_0x1b9ee1,minLength:minLength=0x6,requireSpecialChar:requireSpecialChar=!![],requireNumber:requireNumber=!![]})=>{const _0x1f79eb={'hSItM':function(_0x12596e,_0x22a3bc){return _0x12596e(_0x22a3bc);},'dgWpI':_0x4e31(0x0),'sRBtx':function(_0xfe5fbe,_0x16341b){return _0xfe5fbe(_0x16341b);},'zMaNf':function(_0x342a03,_0x2b111f){return _0x342a03!==_0x2b111f;},'ZdehO':_0x4e31(0x1),'vjOKY':function(_0x2ae3af,_0x968e2a){return _0x2ae3af===_0x968e2a;},'kOyYG':_0x4e31(0x2),'Twbzy':function(_0x45a594,_0x4061d4){return _0x45a594(_0x4061d4);},'NGRHX':function(_0x2fa057,_0x201910){return _0x2fa057<_0x201910;},'OaLpT':'PIN\x20must\x20include\x20at\x20least\x20one\x20number','pWvTC':function(_0x2593a0,_0x199cad){return _0x2593a0(_0x199cad);},'bMmpp':_0x4e31(0x3),'yoENY':function(_0x318571,_0xf13f9e){return _0x318571(_0xf13f9e);},'vypLe':function(_0x382dea,_0x48e79a){return _0x382dea===_0x48e79a;},'wKGVH':_0x4e31(0x4),'AQXMv':function(_0x674189,_0x47c468){return _0x674189(_0x47c468);},'ZXarj':_0x4e31(0x5),'RZCQP':function(_0x1f933c,_0x4b44ec){return _0x1f933c===_0x4b44ec;},'DPtoA':_0x4e31(0x6),'JjSdR':function(_0x1b5330,_0x38d88a){return _0x1b5330(_0x38d88a);},'MFrvd':function(_0x4a1d6b,_0x3c08f2){return _0x4a1d6b(_0x3c08f2);},'YaIyv':function(_0x4ea441,_0x289635){return _0x4ea441(_0x289635);},'xECyS':function(_0x323b5f,_0x135dbb){return _0x323b5f(_0x135dbb);},'wgNhd':'UdvJw','cGrxV':function(_0x57226f,_0x1536f8,_0x26b6be){return _0x57226f(_0x1536f8,_0x26b6be);},'Aktdb':function(_0x338063,_0x29e55d,_0x2d8b92){return _0x338063(_0x29e55d,_0x2d8b92);},'rlzQR':_0x4e31(0x7),'jJSVw':_0x4e31(0x8),'tUfzd':_0x4e31(0x9),'NEhut':function(_0x4f3d98,_0x50f004){return _0x4f3d98===_0x50f004;},'eviAj':_0x4e31(0xa),'sBRKF':_0x4e31(0xb),'OhBlP':function(_0x544454,_0x4519bc){return _0x544454===_0x4519bc;},'KWMfp':_0x4e31(0xc),'Bpvxf':_0x4e31(0xd),'cfIVe':_0x4e31(0xe),'NOHEf':_0x4e31(0xf),'fAqrl':'visibility-off','Cajzm':'visibility','uZBNJ':function(_0x57fe5e,_0x1e9570){return _0x57fe5e>_0x1e9570;},'DwbVn':_0x4e31(0x10),'dMOcP':function(_0x19398c,_0x1cc4bc){return _0x19398c>=_0x1cc4bc;},'tVJsx':_0x4e31(0x11),'WAtLm':_0x4e31(0x12),'HuOPi':'#4caf50','ZbbkG':_0x4e31(0x13),'UVzlu':_0x4e31(0x14),'LVMGd':_0x4e31(0x15),'JnWOH':_0x4e31(0x16),'fntIc':'Back','nRDMh':_0x4e31(0x17),'CBigC':'Submit','CYvOV':_0x4e31(0x18),'bMHrG':_0x4e31(0x19)},[_0x129595,_0x13a60f]=_0x1f79eb[_0x4e31(0x1a)](useState,''),[_0x3d7911,_0x3388ef]=useState(''),[_0xcf9932,_0x2da9ef]=_0x1f79eb['AQXMv'](useState,![]),[_0x5298a6,_0x2adb93]=useState([]),[_0x223e1f,_0x108831]=useState(_0x1f79eb[_0x4e31(0x1b)]);_0x1f79eb['cGrxV'](useEffect,()=>{const _0x43e96b={'vHFBJ':function(_0x41f8e3,_0x5ca8bf){return _0x1f79eb[_0x4e31(0x1c)](_0x41f8e3,_0x5ca8bf);},'npqev':_0x1f79eb[_0x4e31(0x1b)],'melul':function(_0x52aeb5,_0x2e76f2){return _0x1f79eb[_0x4e31(0x1c)](_0x52aeb5,_0x2e76f2);},'vqOJk':function(_0x240638,_0x360e7b){return _0x1f79eb[_0x4e31(0x1d)](_0x240638,_0x360e7b);}};_0x1f79eb[_0x4e31(0x1e)](_0x1f79eb[_0x4e31(0x1f)],_0x1f79eb[_0x4e31(0x1f)])?(_0x43e96b[_0x4e31(0x20)](_0x217fb9,_0x43e96b[_0x4e31(0x21)]),_0x43e96b[_0x4e31(0x22)](_0x48954a,''),_0x43e96b[_0x4e31(0x23)](_0x494606,[])):_0x1f79eb[_0x4e31(0x24)](_0x223e1f,'create')&&(_0x1f79eb[_0x4e31(0x24)](_0x1f79eb[_0x4e31(0x25)],_0x1f79eb['kOyYG'])?_0x1f79eb[_0x4e31(0x26)](_0x201937,_0x129595):_0x271ca2[_0x4e31(0x27)]('PIN\x20must\x20include\x20at\x20least\x20one\x20special\x20character'));},[_0x129595,_0x223e1f]);const _0x201937=_0x1f79eb[_0x4e31(0x28)](useCallback,_0x22003d=>{const _0x4e0335=[];return _0x1f79eb['NGRHX'](_0x22003d[_0x4e31(0x29)],minLength)&&_0x4e0335[_0x4e31(0x27)](_0x4e31(0x2a)+minLength+_0x4e31(0x14)),requireNumber&&!/\d/[_0x4e31(0x2b)](_0x22003d)&&_0x4e0335[_0x4e31(0x27)](_0x1f79eb[_0x4e31(0x2c)]),requireSpecialChar&&!/[!@#$%^&*(),.?":{}|<>]/['test'](_0x22003d)&&_0x4e0335[_0x4e31(0x27)](_0x4e31(0x2d)),_0x1f79eb[_0x4e31(0x1d)](_0x2adb93,_0x4e0335),_0x4e0335['length']===0x0;},[minLength,requireNumber,requireSpecialChar]),_0x2e983e=_0x1f79eb['Aktdb'](useCallback,()=>{_0x1f79eb[_0x4e31(0x2e)](_0x223e1f,_0x1f79eb['dgWpI'])?_0x1f79eb[_0x4e31(0x1e)](_0x1f79eb['wKGVH'],_0x1f79eb['wKGVH'])?_0x258ced('confirm'):_0x1f79eb[_0x4e31(0x1d)](_0x201937,_0x129595)&&_0x1f79eb[_0x4e31(0x2f)](_0x108831,_0x1f79eb['ZXarj']):_0x1f79eb[_0x4e31(0x30)](_0x1f79eb[_0x4e31(0x31)],_0x1f79eb[_0x4e31(0x31)])?_0x1f79eb[_0x4e31(0x2e)](_0x129595,_0x3d7911)?(Keyboard[_0x4e31(0x32)](),_0x1f79eb['JjSdR'](_0x1b9ee1,_0x129595)):(_0x1f79eb['Twbzy'](_0x2adb93,[_0x1f79eb[_0x4e31(0x33)]]),_0x1f79eb['MFrvd'](_0x3388ef,'')):_0x1f79eb[_0x4e31(0x24)](_0x599dac,_0x4f7558)?(_0x2dbe5d['dismiss'](),_0x1f79eb[_0x4e31(0x26)](_0x5b09b1,_0x1768c6)):(_0x1f79eb[_0x4e31(0x34)](_0x2a7591,[_0x1f79eb['bMmpp']]),_0x1f79eb[_0x4e31(0x35)](_0x38c456,''));},[_0x129595,_0x3d7911,_0x223e1f,_0x201937,_0x1b9ee1]),_0x3e8467=_0x1f79eb[_0x4e31(0x36)](useCallback,()=>{_0x1f79eb[_0x4e31(0x37)](_0x108831,_0x4e31(0x0)),_0x1f79eb[_0x4e31(0x1d)](_0x3388ef,''),_0x1f79eb[_0x4e31(0x38)](_0x2adb93,[]);},[]),_0x617501=useCallback(()=>{const _0x415fcc={'htkso':_0x1f79eb[_0x4e31(0x2c)]};'UdvJw'!==_0x1f79eb[_0x4e31(0x39)]?_0x18ae6d['push'](_0x415fcc[_0x4e31(0x3a)]):_0x2da9ef(!_0xcf9932);},[_0xcf9932]);return React['createElement'](KeyboardAvoidingView,{'behavior':Platform['OS']===_0x4e31(0x3b)?_0x1f79eb[_0x4e31(0x3c)]:_0x1f79eb[_0x4e31(0x3d)],'style':styles[_0x4e31(0x3e)]},React[_0x4e31(0x3f)](View,{'style':styles[_0x4e31(0x40)]},React[_0x4e31(0x3f)](Text,{'style':styles[_0x4e31(0x41)]},_0x1f79eb[_0x4e31(0x30)](_0x223e1f,_0x1f79eb['dgWpI'])?_0x1f79eb[_0x4e31(0x42)]:_0x4e31(0x43)),React['createElement'](Text,{'style':styles['subtitle']},_0x1f79eb['NEhut'](_0x223e1f,_0x1f79eb[_0x4e31(0x1b)])?_0x1f79eb[_0x4e31(0x44)]:_0x1f79eb[_0x4e31(0x45)]),React[_0x4e31(0x3f)](View,{'style':styles[_0x4e31(0x46)]},React['createElement'](TextInput,{'style':styles[_0x4e31(0x47)],'value':_0x1f79eb[_0x4e31(0x48)](_0x223e1f,_0x1f79eb[_0x4e31(0x1b)])?_0x129595:_0x3d7911,'onChangeText':_0x1f79eb[_0x4e31(0x48)](_0x223e1f,_0x1f79eb['dgWpI'])?_0x13a60f:_0x3388ef,'secureTextEntry':!_0xcf9932,'keyboardType':_0x1f79eb[_0x4e31(0x49)],'autoCapitalize':_0x4e31(0x4a),'autoCorrect':![],'placeholder':_0x1f79eb['OhBlP'](_0x223e1f,_0x1f79eb['dgWpI'])?_0x1f79eb[_0x4e31(0x4b)]:_0x4e31(0x4c),'placeholderTextColor':_0x1f79eb[_0x4e31(0x4d)],'returnKeyType':_0x1f79eb['NOHEf'],'onSubmitEditing':_0x2e983e}),React[_0x4e31(0x3f)](TouchableOpacity,{'style':styles[_0x4e31(0x4e)],'onPress':_0x617501},React[_0x4e31(0x3f)](_0x4761fc,{'name':_0xcf9932?_0x1f79eb[_0x4e31(0x4f)]:_0x1f79eb[_0x4e31(0x50)],'size':0x18,'color':_0x1f79eb[_0x4e31(0x4d)]}))),_0x1f79eb[_0x4e31(0x51)](_0x5298a6['length'],0x0)&&React[_0x4e31(0x3f)](View,{'style':styles[_0x4e31(0x52)]},_0x5298a6[_0x4e31(0x53)]((_0x172ca0,_0x3d6592)=>React[_0x4e31(0x3f)](View,{'key':_0x3d6592,'style':styles[_0x4e31(0x54)]},React[_0x4e31(0x3f)](_0x4761fc,{'name':_0x4e31(0x55),'size':0x10,'color':_0x4e31(0x56)}),React[_0x4e31(0x3f)](Text,{'style':styles['errorText']},_0x172ca0)))),_0x1f79eb[_0x4e31(0x57)](_0x223e1f,_0x4e31(0x0))&&React[_0x4e31(0x3f)](View,{'style':styles[_0x4e31(0x58)]},React['createElement'](Text,{'style':styles['requirementsTitle']},_0x1f79eb['DwbVn']),React[_0x4e31(0x3f)](View,{'style':styles['requirement']},React[_0x4e31(0x3f)](_0x4761fc,{'name':_0x1f79eb[_0x4e31(0x59)](_0x129595[_0x4e31(0x29)],minLength)?_0x1f79eb[_0x4e31(0x5a)]:_0x1f79eb['WAtLm'],'size':0x10,'color':_0x129595[_0x4e31(0x29)]>=minLength?_0x1f79eb[_0x4e31(0x5b)]:_0x1f79eb[_0x4e31(0x4d)]}),React[_0x4e31(0x3f)](Text,{'style':[styles[_0x4e31(0x5c)],{'color':_0x1f79eb['dMOcP'](_0x129595[_0x4e31(0x29)],minLength)?_0x1f79eb[_0x4e31(0x5b)]:_0x1f79eb[_0x4e31(0x4d)]}]},_0x1f79eb['ZbbkG'],minLength,_0x1f79eb[_0x4e31(0x5d)])),requireNumber&&React[_0x4e31(0x3f)](View,{'style':styles['requirement']},React[_0x4e31(0x3f)](_0x4761fc,{'name':/\d/[_0x4e31(0x2b)](_0x129595)?_0x1f79eb[_0x4e31(0x5a)]:_0x1f79eb[_0x4e31(0x5e)],'size':0x10,'color':/\d/['test'](_0x129595)?_0x1f79eb[_0x4e31(0x5b)]:_0x1f79eb[_0x4e31(0x4d)]}),React['createElement'](Text,{'style':[styles[_0x4e31(0x5c)],{'color':/\d/[_0x4e31(0x2b)](_0x129595)?_0x1f79eb[_0x4e31(0x5b)]:_0x1f79eb[_0x4e31(0x4d)]}]},'Include\x20at\x20least\x20one\x20number')),requireSpecialChar&&React[_0x4e31(0x3f)](View,{'style':styles[_0x4e31(0x5f)]},React[_0x4e31(0x3f)](_0x4761fc,{'name':/[!@#$%^&*(),.?":{}|<>]/['test'](_0x129595)?_0x1f79eb['tVJsx']:_0x1f79eb[_0x4e31(0x5e)],'size':0x10,'color':/[!@#$%^&*(),.?":{}|<>]/[_0x4e31(0x2b)](_0x129595)?_0x1f79eb[_0x4e31(0x5b)]:_0x4e31(0xe)}),React[_0x4e31(0x3f)](Text,{'style':[styles['requirementText'],{'color':/[!@#$%^&*(),.?":{}|<>]/['test'](_0x129595)?_0x1f79eb[_0x4e31(0x5b)]:_0x1f79eb['cfIVe']}]},_0x1f79eb[_0x4e31(0x60)]))),React[_0x4e31(0x3f)](View,{'style':styles[_0x4e31(0x61)]},_0x1f79eb['RZCQP'](_0x223e1f,_0x1f79eb[_0x4e31(0x62)])&&React[_0x4e31(0x3f)](TouchableOpacity,{'style':[styles['button'],styles[_0x4e31(0x63)]],'onPress':_0x3e8467},React['createElement'](_0x4761fc,{'name':_0x1f79eb[_0x4e31(0x64)],'size':0x14,'color':COLORS[_0x4e31(0x65)]}),React['createElement'](Text,{'style':[styles[_0x4e31(0x66)],styles[_0x4e31(0x67)]]},_0x1f79eb[_0x4e31(0x68)])),React[_0x4e31(0x3f)](TouchableOpacity,{'style':[styles[_0x4e31(0x69)],styles[_0x4e31(0x6a)],_0x223e1f===_0x1f79eb['dgWpI']&&_0x1f79eb[_0x4e31(0x51)](_0x5298a6[_0x4e31(0x29)],0x0)||_0x1f79eb[_0x4e31(0x48)](_0x223e1f,_0x1f79eb[_0x4e31(0x62)])&&!_0x3d7911?styles[_0x4e31(0x6b)]:null],'onPress':_0x2e983e,'disabled':_0x223e1f===_0x4e31(0x0)&&_0x1f79eb[_0x4e31(0x51)](_0x5298a6[_0x4e31(0x29)],0x0)||_0x1f79eb[_0x4e31(0x2e)](_0x223e1f,_0x4e31(0x5))&&!_0x3d7911},React[_0x4e31(0x3f)](Text,{'style':[styles[_0x4e31(0x66)],styles[_0x4e31(0x6c)]]},_0x223e1f===_0x1f79eb[_0x4e31(0x1b)]?_0x1f79eb[_0x4e31(0x6d)]:_0x1f79eb[_0x4e31(0x6e)]),React['createElement'](_0x4761fc,{'name':_0x1f79eb[_0x4e31(0x6f)],'size':0x14,'color':_0x1f79eb['bMHrG']})))));};const styles=StyleSheet[_0x4e31(0x0)]({'container':{'flex':0x1},'content':{'padding':0x18},'title':{'fontSize':0x18,'fontWeight':_0x4e31(0x70),'marginBottom':0x8,'color':'#000'},'subtitle':{'fontSize':0x10,'color':_0x4e31(0x71),'marginBottom':0x18},'inputContainer':{'flexDirection':_0x4e31(0x72),'alignItems':_0x4e31(0x73),'borderWidth':0x1,'borderColor':_0x4e31(0x74),'borderRadius':0x8,'backgroundColor':_0x4e31(0x75),'marginBottom':0x10},'input':{'flex':0x1,'paddingHorizontal':0x10,'paddingVertical':0xc,'fontSize':0x10,'color':_0x4e31(0x76)},'visibilityToggle':{'padding':0xc},'errorContainer':{'marginBottom':0x10},'errorItem':{'flexDirection':_0x4e31(0x72),'alignItems':'center','marginBottom':0x4},'errorText':{'color':_0x4e31(0x56),'marginLeft':0x6},'requirementsContainer':{'backgroundColor':_0x4e31(0x77),'padding':0x10,'borderRadius':0x8,'marginBottom':0x18},'requirementsTitle':{'fontSize':0xe,'fontWeight':_0x4e31(0x78),'marginBottom':0x8,'color':_0x4e31(0x76)},'requirement':{'flexDirection':_0x4e31(0x72),'alignItems':_0x4e31(0x73),'marginBottom':0x8},'requirementText':{'marginLeft':0x8,'fontSize':0xe},'buttonContainer':{'flexDirection':_0x4e31(0x72),'justifyContent':_0x4e31(0x79)},'button':{'flexDirection':'row','alignItems':_0x4e31(0x73),'paddingVertical':0xc,'paddingHorizontal':0x14,'borderRadius':0x19},'backButton':{'backgroundColor':_0x4e31(0x7a),'borderWidth':0x1,'borderColor':COLORS[_0x4e31(0x65)]},'nextButton':{'backgroundColor':COLORS[_0x4e31(0x65)],'minWidth':0x78,'justifyContent':_0x4e31(0x73)},'disabledButton':{'backgroundColor':_0x4e31(0x7b)},'buttonText':{'fontSize':0x10,'fontWeight':_0x4e31(0x78)},'backButtonText':{'color':COLORS['primary'],'marginLeft':0x8},'nextButtonText':{'color':_0x4e31(0x19),'marginRight':0x8}});function _0x4e31(_0x1d2f1e,_0x4e3138){_0x1d2f1e=_0x1d2f1e-0x0;const _0x5ecf45=_0x1d2f();let _0x35b6f0=_0x5ecf45[_0x1d2f1e];return _0x35b6f0;}function _0x1d2f(){const _0x36c042=['create','GEHGK','llkaX','PINs\x20do\x20not\x20match','IqADi','confirm','SLRZb','padding','height','Create\x20a\x20PIN','This\x20PIN\x20will\x20protect\x20your\x20Onairos\x20account','Please\x20re-enter\x20your\x20PIN\x20to\x20confirm','default','Enter\x20PIN','#999','done','PIN\x20Requirements:','check-circle','radio-button-unchecked','At\x20least\x20','\x20characters','Include\x20at\x20least\x20one\x20special\x20character','arrow-back','Next','arrow-forward','#fff','MFrvd','dgWpI','hSItM','sRBtx','zMaNf','ZdehO','vHFBJ','npqev','melul','vqOJk','vjOKY','kOyYG','Twbzy','push','cGrxV','length','PIN\x20must\x20be\x20at\x20least\x20','test','OaLpT','PIN\x20must\x20include\x20at\x20least\x20one\x20special\x20character','vypLe','AQXMv','RZCQP','DPtoA','dismiss','bMmpp','pWvTC','yoENY','Aktdb','YaIyv','xECyS','wgNhd','htkso','ios','rlzQR','jJSVw','container','createElement','content','title','tUfzd','Confirm\x20your\x20PIN','eviAj','sBRKF','inputContainer','input','OhBlP','KWMfp','none','Bpvxf','Confirm\x20PIN','cfIVe','visibilityToggle','fAqrl','Cajzm','uZBNJ','errorContainer','map','errorItem','error-outline','#f44336','NEhut','requirementsContainer','dMOcP','tVJsx','HuOPi','requirementText','UVzlu','WAtLm','requirement','LVMGd','buttonContainer','ZXarj','backButton','JnWOH','primary','buttonText','backButtonText','fntIc','button','nextButton','disabledButton','nextButtonText','nRDMh','CBigC','CYvOV','bold','#666','row','center','#ddd','#f9f9f9','#000','#f5f5f5','600','space-between','transparent','#ccc'];_0x1d2f=function(){return _0x36c042;};return _0x1d2f();}
1
+ import React,{useState,useCallback,useEffect}from'react';function _0x1f61(){const _0x4315be=['create','PIN\x20must\x20include\x20at\x20least\x20one\x20number','confirm','vdXJp','RBcau','tmDmg','SHSBT','PINs\x20do\x20not\x20match','Please\x20re-enter\x20your\x20PIN\x20to\x20confirm','none','#999','visibility-off','radio-button-unchecked','#4caf50','\x20characters','check-circle','Include\x20at\x20least\x20one\x20number','arrow-back','Back','arrow-forward','EfZPw','heJkS','bCVkG','pFFYX','WBwDz','hEySi','fnuDg','wNhWC','length','push','PIN\x20must\x20be\x20at\x20least\x20','test','StgrX','JQKWa','ktVyT','VDqym','kPRAu','KwCaI','TwguN','ZgfHF','vUmtV','EdSEA','dismiss','yfPHe','uErLx','createElement','ZXzff','padding','WOmmd','container','title','Create\x20a\x20PIN','subtitle','aWKMU','inputContainer','input','default','nRkee','IaxOz','Confirm\x20PIN','WfOVB','wikmc','visibilityToggle','vZHQy','VZZZR','JWycH','errorContainer','map','error-outline','#f44336','errorText','requirementsContainer','PIN\x20Requirements:','requirement','ahLZa','CFzJH','nlfmh','requirementText','MTdVQ','At\x20least\x20','zDTfH','yWnmI','Djhze','QABlz','KUwOH','button','backButton','FDtaV','primary','backButtonText','xdJZh','nextButton','ADVDH','disabledButton','tVUqC','NughH','buttonText','nextButtonText','oHBbE','uUBXV','bold','#000','#666','row','#ddd','#f9f9f9','center','600','space-between','transparent','#ccc','#fff'];_0x1f61=function(){return _0x4315be;};return _0x1f61();}function _0x39cf(_0x1f6161,_0x39cfd7){_0x1f6161=_0x1f6161-0x0;const _0xffd27=_0x1f61();let _0x403b0d=_0xffd27[_0x1f6161];return _0x403b0d;}import{View,Text,StyleSheet,TextInput,TouchableOpacity,Keyboard,KeyboardAvoidingView,Platform}from'react-native';import _0x4791a8 from'react-native-vector-icons/MaterialIcons';import{COLORS}from'../../constants';export const PinInput=({onSubmit:_0x29812a,minLength:minLength=0x6,requireSpecialChar:requireSpecialChar=!![],requireNumber:requireNumber=!![]})=>{const _0x4a5540={'hEySi':function(_0x1b99d5,_0x453b9f){return _0x1b99d5===_0x453b9f;},'pFFYX':_0x39cf(0x0),'fnuDg':function(_0x42b46f,_0x1384c4){return _0x42b46f(_0x1384c4);},'StgrX':_0x39cf(0x1),'ktVyT':'PIN\x20must\x20include\x20at\x20least\x20one\x20special\x20character','JQKWa':function(_0x127a39,_0x4fa3ff){return _0x127a39(_0x4fa3ff);},'ZgfHF':function(_0x210835,_0x39fbdc){return _0x210835(_0x39fbdc);},'EdSEA':_0x39cf(0x2),'VDqym':function(_0x17a83b,_0x23be3f){return _0x17a83b!==_0x23be3f;},'kPRAu':_0x39cf(0x3),'NughH':function(_0x415303,_0xc508ad){return _0x415303===_0xc508ad;},'TwguN':_0x39cf(0x4),'WHuvJ':function(_0x4110b1,_0x2a434c){return _0x4110b1===_0x2a434c;},'vUmtV':_0x39cf(0x5),'yfPHe':_0x39cf(0x6),'mqGZc':_0x39cf(0x7),'EfZPw':function(_0x5d72ce,_0x28f6c1){return _0x5d72ce(_0x28f6c1);},'uErLx':function(_0x13812d,_0x17d88c){return _0x13812d(_0x17d88c);},'heJkS':function(_0x5355de,_0x4621c8){return _0x5355de(_0x4621c8);},'bCVkG':function(_0x33c0c1,_0x35d60e){return _0x33c0c1(_0x35d60e);},'pDkBu':function(_0x5f36c3,_0x140c97){return _0x5f36c3(_0x140c97);},'WBwDz':function(_0x5dff71,_0x38534a,_0x2fbb13){return _0x5dff71(_0x38534a,_0x2fbb13);},'wNhWC':function(_0x54b09f,_0x4aa292,_0x47fe9c){return _0x54b09f(_0x4aa292,_0x47fe9c);},'ZXzff':function(_0x53ced6,_0x286db0){return _0x53ced6===_0x286db0;},'WOmmd':'height','pIBMj':'This\x20PIN\x20will\x20protect\x20your\x20Onairos\x20account','aWKMU':_0x39cf(0x8),'nRkee':_0x39cf(0x9),'IaxOz':'Enter\x20PIN','WfOVB':_0x39cf(0xa),'wikmc':'done','vZHQy':_0x39cf(0xb),'VZZZR':'visibility','JWycH':function(_0x13bd1f,_0x4aaef4){return _0x13bd1f>_0x4aaef4;},'ahLZa':function(_0x9db89e,_0x51852c){return _0x9db89e>=_0x51852c;},'CFzJH':_0x39cf(0xc),'nlfmh':_0x39cf(0xd),'MTdVQ':function(_0x5f141d,_0xab3f73){return _0x5f141d>=_0xab3f73;},'zDTfH':_0x39cf(0xe),'yWnmI':_0x39cf(0xf),'Djhze':_0x39cf(0x10),'QABlz':'Include\x20at\x20least\x20one\x20special\x20character','KUwOH':function(_0x3851b9,_0xbbc2ba){return _0x3851b9===_0xbbc2ba;},'FDtaV':_0x39cf(0x11),'xdJZh':_0x39cf(0x12),'ADVDH':function(_0x1f0b1f,_0x2e30ad){return _0x1f0b1f>_0x2e30ad;},'tVUqC':function(_0x2efb43,_0x5b17cb){return _0x2efb43===_0x5b17cb;},'vQvmN':function(_0x118059,_0x5006c2){return _0x118059>_0x5006c2;},'oHBbE':_0x39cf(0x13),'uUBXV':'#fff'},[_0xbab347,_0x2ee311]=_0x4a5540[_0x39cf(0x14)](useState,''),[_0x37c136,_0x43a551]=_0x4a5540['ZgfHF'](useState,''),[_0x549949,_0x560dbe]=_0x4a5540[_0x39cf(0x15)](useState,![]),[_0x10d392,_0x506b50]=_0x4a5540[_0x39cf(0x16)](useState,[]),[_0x2d62a0,_0x2f0df3]=_0x4a5540['pDkBu'](useState,_0x4a5540[_0x39cf(0x17)]);_0x4a5540[_0x39cf(0x18)](useEffect,()=>{_0x4a5540[_0x39cf(0x19)](_0x2d62a0,_0x4a5540['pFFYX'])&&_0x4a5540[_0x39cf(0x1a)](_0x5da6bb,_0xbab347);},[_0xbab347,_0x2d62a0]);const _0x5da6bb=_0x4a5540[_0x39cf(0x1b)](useCallback,_0x53d859=>{const _0x2fe91d=[];return _0x53d859[_0x39cf(0x1c)]<minLength&&_0x2fe91d[_0x39cf(0x1d)](_0x39cf(0x1e)+minLength+'\x20characters'),requireNumber&&!/\d/[_0x39cf(0x1f)](_0x53d859)&&_0x2fe91d[_0x39cf(0x1d)](_0x4a5540[_0x39cf(0x20)]),requireSpecialChar&&!/[!@#$%^&*(),.?":{}|<>]/['test'](_0x53d859)&&_0x2fe91d['push'](_0x4a5540['ktVyT']),_0x4a5540[_0x39cf(0x21)](_0x506b50,_0x2fe91d),_0x4a5540[_0x39cf(0x19)](_0x2fe91d[_0x39cf(0x1c)],0x0);},[minLength,requireNumber,requireSpecialChar]),_0x6d2b38=useCallback(()=>{const _0x5cc14b={'KwCaI':_0x4a5540[_0x39cf(0x22)]};_0x4a5540[_0x39cf(0x23)](_0x4a5540[_0x39cf(0x24)],_0x39cf(0x3))?_0x91bbf4[_0x39cf(0x1d)](_0x5cc14b[_0x39cf(0x25)]):_0x2d62a0===_0x39cf(0x0)?_0x4a5540['NughH'](_0x4a5540[_0x39cf(0x26)],_0x4a5540[_0x39cf(0x26)])?_0x4a5540[_0x39cf(0x27)](_0x5da6bb,_0xbab347)&&(_0x4a5540['WHuvJ'](_0x4a5540[_0x39cf(0x28)],_0x4a5540[_0x39cf(0x28)])?_0x2f0df3(_0x4a5540[_0x39cf(0x29)]):_0x309322(_0x548277)&&_0x4a5540[_0x39cf(0x27)](_0x338582,_0x4a5540[_0x39cf(0x29)])):(_0x28a039[_0x39cf(0x2a)](),_0x31c309(_0x25fe7f)):_0xbab347===_0x37c136?_0x4a5540[_0x39cf(0x2b)]!==_0x4a5540['yfPHe']?_0x4a5540[_0x39cf(0x27)](_0x202183,_0x4a5540['EdSEA']):(Keyboard[_0x39cf(0x2a)](),_0x29812a(_0xbab347)):(_0x4a5540[_0x39cf(0x27)](_0x506b50,[_0x4a5540['mqGZc']]),_0x43a551(''));},[_0xbab347,_0x37c136,_0x2d62a0,_0x5da6bb,_0x29812a]),_0x3e11bb=_0x4a5540[_0x39cf(0x18)](useCallback,()=>{_0x4a5540['ZgfHF'](_0x2f0df3,_0x4a5540[_0x39cf(0x17)]),_0x4a5540[_0x39cf(0x14)](_0x43a551,''),_0x4a5540[_0x39cf(0x14)](_0x506b50,[]);},[]),_0x1ccf48=_0x4a5540[_0x39cf(0x18)](useCallback,()=>{_0x4a5540[_0x39cf(0x2c)](_0x560dbe,!_0x549949);},[_0x549949]);return React[_0x39cf(0x2d)](KeyboardAvoidingView,{'behavior':_0x4a5540[_0x39cf(0x2e)](Platform['OS'],'ios')?_0x39cf(0x2f):_0x4a5540[_0x39cf(0x30)],'style':styles[_0x39cf(0x31)]},React[_0x39cf(0x2d)](View,{'style':styles['content']},React[_0x39cf(0x2d)](Text,{'style':styles[_0x39cf(0x32)]},_0x2d62a0===_0x39cf(0x0)?_0x39cf(0x33):'Confirm\x20your\x20PIN'),React[_0x39cf(0x2d)](Text,{'style':styles[_0x39cf(0x34)]},_0x2d62a0===_0x4a5540[_0x39cf(0x17)]?_0x4a5540['pIBMj']:_0x4a5540[_0x39cf(0x35)]),React['createElement'](View,{'style':styles[_0x39cf(0x36)]},React['createElement'](TextInput,{'style':styles[_0x39cf(0x37)],'value':_0x2d62a0===_0x4a5540[_0x39cf(0x17)]?_0xbab347:_0x37c136,'onChangeText':_0x2d62a0===_0x4a5540[_0x39cf(0x17)]?_0x2ee311:_0x43a551,'secureTextEntry':!_0x549949,'keyboardType':_0x39cf(0x38),'autoCapitalize':_0x4a5540[_0x39cf(0x39)],'autoCorrect':![],'placeholder':_0x4a5540[_0x39cf(0x2e)](_0x2d62a0,_0x4a5540[_0x39cf(0x17)])?_0x4a5540[_0x39cf(0x3a)]:_0x39cf(0x3b),'placeholderTextColor':_0x4a5540[_0x39cf(0x3c)],'returnKeyType':_0x4a5540[_0x39cf(0x3d)],'onSubmitEditing':_0x6d2b38}),React[_0x39cf(0x2d)](TouchableOpacity,{'style':styles[_0x39cf(0x3e)],'onPress':_0x1ccf48},React[_0x39cf(0x2d)](_0x4791a8,{'name':_0x549949?_0x4a5540[_0x39cf(0x3f)]:_0x4a5540[_0x39cf(0x40)],'size':0x18,'color':_0x4a5540['WfOVB']}))),_0x4a5540[_0x39cf(0x41)](_0x10d392[_0x39cf(0x1c)],0x0)&&React[_0x39cf(0x2d)](View,{'style':styles[_0x39cf(0x42)]},_0x10d392[_0x39cf(0x43)]((_0x130d9a,_0xb128de)=>React['createElement'](View,{'key':_0xb128de,'style':styles['errorItem']},React['createElement'](_0x4791a8,{'name':_0x39cf(0x44),'size':0x10,'color':_0x39cf(0x45)}),React[_0x39cf(0x2d)](Text,{'style':styles[_0x39cf(0x46)]},_0x130d9a)))),_0x4a5540[_0x39cf(0x2e)](_0x2d62a0,_0x4a5540['pFFYX'])&&React[_0x39cf(0x2d)](View,{'style':styles[_0x39cf(0x47)]},React[_0x39cf(0x2d)](Text,{'style':styles['requirementsTitle']},_0x39cf(0x48)),React[_0x39cf(0x2d)](View,{'style':styles[_0x39cf(0x49)]},React['createElement'](_0x4791a8,{'name':_0x4a5540[_0x39cf(0x4a)](_0xbab347['length'],minLength)?_0x39cf(0xf):_0x4a5540[_0x39cf(0x4b)],'size':0x10,'color':_0xbab347[_0x39cf(0x1c)]>=minLength?_0x4a5540[_0x39cf(0x4c)]:_0x4a5540[_0x39cf(0x3c)]}),React[_0x39cf(0x2d)](Text,{'style':[styles[_0x39cf(0x4d)],{'color':_0x4a5540[_0x39cf(0x4e)](_0xbab347['length'],minLength)?_0x39cf(0xd):_0x39cf(0xa)}]},_0x39cf(0x4f),minLength,_0x4a5540[_0x39cf(0x50)])),requireNumber&&React[_0x39cf(0x2d)](View,{'style':styles[_0x39cf(0x49)]},React[_0x39cf(0x2d)](_0x4791a8,{'name':/\d/[_0x39cf(0x1f)](_0xbab347)?_0x4a5540[_0x39cf(0x51)]:_0x4a5540[_0x39cf(0x4b)],'size':0x10,'color':/\d/[_0x39cf(0x1f)](_0xbab347)?_0x4a5540[_0x39cf(0x4c)]:'#999'}),React['createElement'](Text,{'style':[styles[_0x39cf(0x4d)],{'color':/\d/[_0x39cf(0x1f)](_0xbab347)?_0x4a5540[_0x39cf(0x4c)]:_0x4a5540[_0x39cf(0x3c)]}]},_0x4a5540[_0x39cf(0x52)])),requireSpecialChar&&React['createElement'](View,{'style':styles[_0x39cf(0x49)]},React[_0x39cf(0x2d)](_0x4791a8,{'name':/[!@#$%^&*(),.?":{}|<>]/[_0x39cf(0x1f)](_0xbab347)?_0x4a5540[_0x39cf(0x51)]:_0x4a5540[_0x39cf(0x4b)],'size':0x10,'color':/[!@#$%^&*(),.?":{}|<>]/[_0x39cf(0x1f)](_0xbab347)?_0x39cf(0xd):_0x4a5540[_0x39cf(0x3c)]}),React['createElement'](Text,{'style':[styles[_0x39cf(0x4d)],{'color':/[!@#$%^&*(),.?":{}|<>]/[_0x39cf(0x1f)](_0xbab347)?_0x4a5540['nlfmh']:_0x39cf(0xa)}]},_0x4a5540[_0x39cf(0x53)]))),React['createElement'](View,{'style':styles['buttonContainer']},_0x4a5540[_0x39cf(0x54)](_0x2d62a0,_0x4a5540['EdSEA'])&&React[_0x39cf(0x2d)](TouchableOpacity,{'style':[styles[_0x39cf(0x55)],styles[_0x39cf(0x56)]],'onPress':_0x3e11bb},React[_0x39cf(0x2d)](_0x4791a8,{'name':_0x4a5540[_0x39cf(0x57)],'size':0x14,'color':COLORS[_0x39cf(0x58)]}),React[_0x39cf(0x2d)](Text,{'style':[styles['buttonText'],styles[_0x39cf(0x59)]]},_0x4a5540[_0x39cf(0x5a)])),React['createElement'](TouchableOpacity,{'style':[styles['button'],styles[_0x39cf(0x5b)],_0x4a5540[_0x39cf(0x54)](_0x2d62a0,_0x4a5540[_0x39cf(0x17)])&&_0x4a5540[_0x39cf(0x5c)](_0x10d392[_0x39cf(0x1c)],0x0)||_0x4a5540[_0x39cf(0x54)](_0x2d62a0,_0x4a5540[_0x39cf(0x29)])&&!_0x37c136?styles[_0x39cf(0x5d)]:null],'onPress':_0x6d2b38,'disabled':_0x4a5540[_0x39cf(0x5e)](_0x2d62a0,_0x4a5540[_0x39cf(0x17)])&&_0x4a5540['vQvmN'](_0x10d392[_0x39cf(0x1c)],0x0)||_0x4a5540[_0x39cf(0x5f)](_0x2d62a0,_0x4a5540[_0x39cf(0x29)])&&!_0x37c136},React[_0x39cf(0x2d)](Text,{'style':[styles[_0x39cf(0x60)],styles[_0x39cf(0x61)]]},_0x4a5540[_0x39cf(0x5e)](_0x2d62a0,_0x4a5540[_0x39cf(0x17)])?'Next':'Submit'),React['createElement'](_0x4791a8,{'name':_0x4a5540[_0x39cf(0x62)],'size':0x14,'color':_0x4a5540[_0x39cf(0x63)]})))));};const styles=StyleSheet[_0x39cf(0x0)]({'container':{'flex':0x1},'content':{'padding':0x18},'title':{'fontSize':0x18,'fontWeight':_0x39cf(0x64),'marginBottom':0x8,'color':_0x39cf(0x65)},'subtitle':{'fontSize':0x10,'color':_0x39cf(0x66),'marginBottom':0x18},'inputContainer':{'flexDirection':_0x39cf(0x67),'alignItems':'center','borderWidth':0x1,'borderColor':_0x39cf(0x68),'borderRadius':0x8,'backgroundColor':_0x39cf(0x69),'marginBottom':0x10},'input':{'flex':0x1,'paddingHorizontal':0x10,'paddingVertical':0xc,'fontSize':0x10,'color':_0x39cf(0x65)},'visibilityToggle':{'padding':0xc},'errorContainer':{'marginBottom':0x10},'errorItem':{'flexDirection':_0x39cf(0x67),'alignItems':_0x39cf(0x6a),'marginBottom':0x4},'errorText':{'color':'#f44336','marginLeft':0x6},'requirementsContainer':{'backgroundColor':'#f5f5f5','padding':0x10,'borderRadius':0x8,'marginBottom':0x18},'requirementsTitle':{'fontSize':0xe,'fontWeight':_0x39cf(0x6b),'marginBottom':0x8,'color':'#000'},'requirement':{'flexDirection':_0x39cf(0x67),'alignItems':_0x39cf(0x6a),'marginBottom':0x8},'requirementText':{'marginLeft':0x8,'fontSize':0xe},'buttonContainer':{'flexDirection':'row','justifyContent':_0x39cf(0x6c)},'button':{'flexDirection':_0x39cf(0x67),'alignItems':_0x39cf(0x6a),'paddingVertical':0xc,'paddingHorizontal':0x14,'borderRadius':0x19},'backButton':{'backgroundColor':_0x39cf(0x6d),'borderWidth':0x1,'borderColor':COLORS[_0x39cf(0x58)]},'nextButton':{'backgroundColor':COLORS['primary'],'minWidth':0x78,'justifyContent':_0x39cf(0x6a)},'disabledButton':{'backgroundColor':_0x39cf(0x6e)},'buttonText':{'fontSize':0x10,'fontWeight':'600'},'backButtonText':{'color':COLORS[_0x39cf(0x58)],'marginLeft':0x8},'nextButtonText':{'color':_0x39cf(0x6f),'marginRight':0x8}});
@@ -1 +1 @@
1
- import React,{useState}from'react';import{View,Text,StyleSheet,TouchableOpacity,ActivityIndicator,ScrollView}from'react-native';function _0x30c7(_0x134aa5,_0x30c7b4){_0x134aa5=_0x134aa5-0x0;const _0x3b77c7=_0x134a();let _0x110c83=_0x3b77c7[_0x134aa5];return _0x110c83;}import _0x20eafa from'react-native-vector-icons/MaterialIcons';function _0x134a(){const _0x63b599=['photo-camera','#E1306C','YouTube','smart-display','Connect\x20for\x20YouTube\x20video\x20recommendations\x20and\x20analysis','Pinterest','push-pin','#E60023','Reddit','forum','#FF4500','Connect\x20to\x20personalize\x20Reddit\x20content\x20insights','#fff','small','Disconnect','Connect','Urufk','Connect\x20Your\x20Platforms','\x20of\x20','\x20platforms\x20connected','Continue','arrow-forward','#999','iPinu','zbGba','uekbp','CmdEF','XqHob','LwrZr','QlqLF','JdJwM','createElement','platformInfo','platformIcon','color','icon','tBmuD','platformText','name','platformDescription','Connected\x20as\x20','description','platformButton','disconnectButton','connectButton','buttonText','Hubbt','nUpUe','xVwxc','gkIkm','URAsg','qjNbD','values','filter','length','container','title','FucBS','subtitle','yTaSL','platformList','keys','platformItem','footer','connectionStatus','iYZhZ','qltLz','proceedButton','proceedInactive','proceedTextActive','proceedTextInactive','hHpkQ','ZuEqz','https://oauth.example.com/','log','#000','#666','row','center','#f8f8f8','#f44336','600','space-between','primary','#eee'];_0x134a=function(){return _0x63b599;};return _0x134a();}import{COLORS}from'../../constants';import{OAuthWebView}from'./OAuthWebView';const PLATFORMS={'instagram':{'name':'Instagram','icon':_0x30c7(0x0),'color':_0x30c7(0x1),'description':'Connect\x20to\x20share\x20and\x20analyze\x20your\x20Instagram\x20content'},'youtube':{'name':_0x30c7(0x2),'icon':_0x30c7(0x3),'color':'#FF0000','description':_0x30c7(0x4)},'pinterest':{'name':_0x30c7(0x5),'icon':_0x30c7(0x6),'color':_0x30c7(0x7),'description':'Connect\x20to\x20enhance\x20Pinterest\x20board\x20recommendations'},'reddit':{'name':_0x30c7(0x8),'icon':_0x30c7(0x9),'color':_0x30c7(0xa),'description':_0x30c7(0xb)}};export const PlatformConnector=({connections:_0x428353,onConnect:_0x2b9f01,onDisconnect:_0x444e31,isLoading:_0x1b5b21,canProceed:_0x363091,onProceed:_0x113ffe})=>{const _0x3d503f={'zbGba':function(_0x3a2e1d,_0x417e4d){return _0x3a2e1d===_0x417e4d;},'uekbp':_0x30c7(0xc),'CmdEF':_0x30c7(0xd),'XqHob':_0x30c7(0xe),'LwrZr':_0x30c7(0xf),'sqxAJ':function(_0x48530d,_0x5f0718){return _0x48530d!==_0x5f0718;},'QlqLF':'wrzEx','xVwxc':function(_0x459188,_0x215df8){return _0x459188(_0x215df8);},'gkIkm':_0x30c7(0x10),'qjNbD':function(_0x354b93,_0x8b2045){return _0x354b93(_0x8b2045);},'FubPi':function(_0x25f546){return _0x25f546();},'iPinu':function(_0x14d5b8,_0x7e53f3){return _0x14d5b8(_0x7e53f3);},'FucBS':_0x30c7(0x11),'yTaSL':'Connect\x20at\x20least\x202\x20platforms\x20to\x20create\x20your\x20Onairos\x20account','iYZhZ':function(_0x5887da){return _0x5887da();},'TcoYM':_0x30c7(0x12),'qltLz':_0x30c7(0x13),'hHpkQ':_0x30c7(0x14),'HwqNX':_0x30c7(0x15),'ZuEqz':_0x30c7(0x16)},[_0x18e82b,_0x2fc984]=_0x3d503f[_0x30c7(0x17)](useState,null),_0x2d0cf1=async _0x164a7d=>{const _0xfb12c7={'JdJwM':function(_0x1019ac,_0x1d627a){return _0x3d503f[_0x30c7(0x18)](_0x1019ac,_0x1d627a);},'tBmuD':_0x3d503f[_0x30c7(0x19)],'fnVad':_0x3d503f[_0x30c7(0x1a)],'Hubbt':_0x3d503f[_0x30c7(0x1b)],'nUpUe':_0x3d503f[_0x30c7(0x1c)]};if(_0x3d503f['sqxAJ'](_0x3d503f[_0x30c7(0x1d)],_0x3d503f[_0x30c7(0x1d)])){var _0x6ffffa;const _0x5a6b32=_0x25f41d[_0x23ee79],_0x8191f9=_0x53decb(_0x36943e),_0x17286a=_0x8191f9?(_0x6ffffa=_0x3b85a5[_0x177852])===null||_0xfb12c7[_0x30c7(0x1e)](_0x6ffffa,void 0x0)?void 0x0:_0x6ffffa['userName']:null;return React[_0x30c7(0x1f)](View,{'key':_0x2f6a7d,'style':_0x5d6469['platformItem']},React['createElement'](View,{'style':_0x174789[_0x30c7(0x20)]},React['createElement'](View,{'style':[_0x4e96de[_0x30c7(0x21)],{'backgroundColor':_0x5a6b32[_0x30c7(0x22)]}]},React[_0x30c7(0x1f)](_0x45040e,{'name':_0x5a6b32[_0x30c7(0x23)],'size':0x18,'color':_0xfb12c7[_0x30c7(0x24)]})),React['createElement'](View,{'style':_0xd36b8f[_0x30c7(0x25)]},React[_0x30c7(0x1f)](Text,{'style':_0x32a7fa['platformName']},_0x5a6b32[_0x30c7(0x26)]),React[_0x30c7(0x1f)](Text,{'style':_0x4cf53f[_0x30c7(0x27)]},_0x8191f9?_0x30c7(0x28)+_0x17286a:_0x5a6b32[_0x30c7(0x29)]))),React[_0x30c7(0x1f)](TouchableOpacity,{'style':[_0x1a1ef1[_0x30c7(0x2a)],_0x8191f9?_0x1ed86a[_0x30c7(0x2b)]:_0x5a85f6[_0x30c7(0x2c)]],'onPress':()=>_0x8191f9?_0x5d48e2(_0x35cae3):_0x52754d(_0x1a29d1),'disabled':_0x25244c},_0x41161b?React[_0x30c7(0x1f)](ActivityIndicator,{'size':_0xfb12c7['fnVad'],'color':_0xfb12c7['tBmuD']}):React[_0x30c7(0x1f)](Text,{'style':_0x5c9fe3[_0x30c7(0x2d)]},_0x8191f9?_0xfb12c7[_0x30c7(0x2e)]:_0xfb12c7[_0x30c7(0x2f)])));}else _0x3d503f[_0x30c7(0x30)](_0x2fc984,_0x164a7d);},_0x3879f4=()=>{_0x3d503f['zbGba'](_0x3d503f[_0x30c7(0x31)],_0x30c7(0x32))?_0x54a236(null):_0x3d503f[_0x30c7(0x30)](_0x2fc984,null);},_0x14ec08=()=>{_0x3d503f[_0x30c7(0x30)](_0x2fc984,null);},_0x31cf93=async _0x243320=>{await _0x3d503f[_0x30c7(0x33)](_0x444e31,_0x243320);},_0x32ba0d=_0x533b28=>{const _0x12f094=_0x533b28;return _0x428353[_0x12f094]?!![]:![];},_0x511be4=()=>{return Object[_0x30c7(0x34)](_0x428353)[_0x30c7(0x35)](Boolean)[_0x30c7(0x36)];};return React[_0x30c7(0x1f)](View,{'style':styles[_0x30c7(0x37)]},React[_0x30c7(0x1f)](Text,{'style':styles[_0x30c7(0x38)]},_0x3d503f[_0x30c7(0x39)]),React['createElement'](Text,{'style':styles[_0x30c7(0x3a)]},_0x3d503f[_0x30c7(0x3b)]),React[_0x30c7(0x1f)](ScrollView,{'style':styles[_0x30c7(0x3c)]},Object[_0x30c7(0x3d)](PLATFORMS)['map'](_0x46c3b2=>{var _0x2506de;const _0x2bf96a=PLATFORMS[_0x46c3b2],_0x510e22=_0x32ba0d(_0x46c3b2),_0x2aaf13=_0x510e22?_0x3d503f['zbGba'](_0x2506de=_0x428353[_0x46c3b2],null)||_0x2506de===void 0x0?void 0x0:_0x2506de['userName']:null;return React['createElement'](View,{'key':_0x46c3b2,'style':styles[_0x30c7(0x3e)]},React['createElement'](View,{'style':styles[_0x30c7(0x20)]},React[_0x30c7(0x1f)](View,{'style':[styles[_0x30c7(0x21)],{'backgroundColor':_0x2bf96a['color']}]},React['createElement'](_0x20eafa,{'name':_0x2bf96a['icon'],'size':0x18,'color':_0x3d503f[_0x30c7(0x19)]})),React[_0x30c7(0x1f)](View,{'style':styles[_0x30c7(0x25)]},React['createElement'](Text,{'style':styles['platformName']},_0x2bf96a[_0x30c7(0x26)]),React[_0x30c7(0x1f)](Text,{'style':styles[_0x30c7(0x27)]},_0x510e22?'Connected\x20as\x20'+_0x2aaf13:_0x2bf96a['description']))),React['createElement'](TouchableOpacity,{'style':[styles[_0x30c7(0x2a)],_0x510e22?styles[_0x30c7(0x2b)]:styles[_0x30c7(0x2c)]],'onPress':()=>_0x510e22?_0x31cf93(_0x46c3b2):_0x2d0cf1(_0x46c3b2),'disabled':_0x1b5b21},_0x1b5b21?React[_0x30c7(0x1f)](ActivityIndicator,{'size':_0x30c7(0xd),'color':_0x3d503f[_0x30c7(0x19)]}):React[_0x30c7(0x1f)](Text,{'style':styles[_0x30c7(0x2d)]},_0x510e22?_0x30c7(0xe):_0x3d503f['LwrZr'])));})),React[_0x30c7(0x1f)](View,{'style':styles[_0x30c7(0x3f)]},React[_0x30c7(0x1f)](Text,{'style':styles[_0x30c7(0x40)]},_0x3d503f[_0x30c7(0x41)](_0x511be4),_0x3d503f['TcoYM'],Object[_0x30c7(0x3d)](PLATFORMS)[_0x30c7(0x36)],_0x3d503f[_0x30c7(0x42)]),React[_0x30c7(0x1f)](TouchableOpacity,{'style':[styles[_0x30c7(0x43)],_0x363091?styles['proceedActive']:styles[_0x30c7(0x44)]],'onPress':_0x113ffe,'disabled':!_0x363091},React['createElement'](Text,{'style':[styles['proceedText'],_0x363091?styles[_0x30c7(0x45)]:styles[_0x30c7(0x46)]]},_0x3d503f[_0x30c7(0x47)]),React['createElement'](_0x20eafa,{'name':_0x3d503f['HwqNX'],'size':0x14,'color':_0x363091?_0x3d503f[_0x30c7(0x19)]:_0x3d503f[_0x30c7(0x48)]}))),_0x18e82b&&React[_0x30c7(0x1f)](OAuthWebView,{'url':_0x30c7(0x49)+_0x18e82b,'platform':_0x18e82b,'onComplete':_0x3879f4,'onClose':_0x14ec08,'onSuccess':_0x5257e0=>{console[_0x30c7(0x4a)]('Received\x20authorization\x20code\x20for\x20'+_0x18e82b+':\x20'+_0x5257e0),_0x3d503f['FubPi'](_0x3879f4);}}));};const styles=StyleSheet['create']({'container':{'flex':0x1,'padding':0x10},'title':{'fontSize':0x18,'fontWeight':'bold','marginBottom':0x8,'color':_0x30c7(0x4b)},'subtitle':{'fontSize':0x10,'color':_0x30c7(0x4c),'marginBottom':0x18},'platformList':{'flex':0x1},'platformItem':{'flexDirection':_0x30c7(0x4d),'alignItems':_0x30c7(0x4e),'marginBottom':0x10,'padding':0xc,'backgroundColor':_0x30c7(0x4f),'borderRadius':0xc,'borderWidth':0x1,'borderColor':'#eee'},'platformInfo':{'flex':0x1,'flexDirection':'row','alignItems':_0x30c7(0x4e)},'platformIcon':{'width':0x28,'height':0x28,'borderRadius':0x14,'justifyContent':_0x30c7(0x4e),'alignItems':_0x30c7(0x4e),'marginRight':0xc},'platformText':{'flex':0x1},'platformName':{'fontSize':0x10,'fontWeight':'600','marginBottom':0x4,'color':'#000'},'platformDescription':{'fontSize':0xe,'color':'#666'},'platformButton':{'paddingHorizontal':0x10,'paddingVertical':0x8,'borderRadius':0x14,'justifyContent':_0x30c7(0x4e),'alignItems':_0x30c7(0x4e),'minWidth':0x64},'connectButton':{'backgroundColor':COLORS['primary']},'disconnectButton':{'backgroundColor':_0x30c7(0x50)},'buttonText':{'color':'#fff','fontWeight':_0x30c7(0x51)},'footer':{'flexDirection':_0x30c7(0x4d),'alignItems':_0x30c7(0x4e),'justifyContent':_0x30c7(0x52),'paddingTop':0x10,'borderTopWidth':0x1,'borderTopColor':'#eee','marginTop':0x10},'connectionStatus':{'fontSize':0xe,'color':'#666'},'proceedButton':{'flexDirection':_0x30c7(0x4d),'alignItems':_0x30c7(0x4e),'paddingHorizontal':0x10,'paddingVertical':0xa,'borderRadius':0x18},'proceedActive':{'backgroundColor':COLORS[_0x30c7(0x53)]},'proceedInactive':{'backgroundColor':_0x30c7(0x54)},'proceedText':{'fontWeight':_0x30c7(0x51),'marginRight':0x8},'proceedTextActive':{'color':_0x30c7(0xc)},'proceedTextInactive':{'color':'#999'}});
1
+ import React,{useState}from'react';import{View,Text,StyleSheet,TouchableOpacity,ActivityIndicator,ScrollView}from'react-native';function _0x2452(_0x26ab71,_0x2452d7){_0x26ab71=_0x26ab71-0x0;const _0x37183c=_0x26ab();let _0x1df314=_0x37183c[_0x26ab71];return _0x1df314;}import _0x2cf53c from'react-native-vector-icons/MaterialIcons';function _0x26ab(){const _0x266774=['Instagram','photo-camera','#E1306C','Connect\x20to\x20share\x20and\x20analyze\x20your\x20Instagram\x20content','smart-display','#FF0000','Connect\x20for\x20YouTube\x20video\x20recommendations\x20and\x20analysis','Pinterest','push-pin','#E60023','Connect\x20to\x20enhance\x20Pinterest\x20board\x20recommendations','Reddit','#FF4500','Connect\x20to\x20personalize\x20Reddit\x20content\x20insights','lVxvE','#fff','eypxp','ZXnYT','Connect\x20Your\x20Platforms','Connect\x20at\x20least\x202\x20platforms\x20to\x20create\x20your\x20Onairos\x20account','\x20of\x20','arrow-forward','#999','BZRuj','yrmIy','GGSZG','tvdiA','RxftH','xrTJK','values','createElement','title','TUvDl','subtitle','platformList','keys','map','PQMYq','xifXV','YbWod','userName','platformItem','platformIcon','color','icon','platformText','platformName','name','platformDescription','Connected\x20as\x20','platformButton','connectButton','small','PUkFV','Connect','filter','length','connectionStatus','MdYrg','RYNPR','\x20platforms\x20connected','proceedButton','proceedActive','proceedInactive','proceedText','proceedTextActive','proceedTextInactive','BbFXx','UNqXt','iIbmb','https://oauth.example.com/','bSIuO','DoseF','zxVjX','log','Received\x20authorization\x20code\x20for\x20','fQbqX','create','bold','#000','#666','row','center','#f8f8f8','#eee','primary','#f44336','space-between','600'];_0x26ab=function(){return _0x266774;};return _0x26ab();}import{COLORS}from'../../constants';import{OAuthWebView}from'./OAuthWebView';const PLATFORMS={'instagram':{'name':_0x2452(0x0),'icon':_0x2452(0x1),'color':_0x2452(0x2),'description':_0x2452(0x3)},'youtube':{'name':'YouTube','icon':_0x2452(0x4),'color':_0x2452(0x5),'description':_0x2452(0x6)},'pinterest':{'name':_0x2452(0x7),'icon':_0x2452(0x8),'color':_0x2452(0x9),'description':_0x2452(0xa)},'reddit':{'name':_0x2452(0xb),'icon':'forum','color':_0x2452(0xc),'description':_0x2452(0xd)}};export const PlatformConnector=({connections:_0x14f2aa,onConnect:_0x24fcce,onDisconnect:_0x2bf935,isLoading:_0x25d479,canProceed:_0x747ce7,onProceed:_0x4900b9})=>{const _0x3b3404={'yrmIy':function(_0x25ebb1,_0x1b2f03){return _0x25ebb1(_0x1b2f03);},'GGSZG':function(_0x52d789,_0x4de243){return _0x52d789===_0x4de243;},'UapXj':'VWDZz','tvdiA':function(_0x1f4d24,_0x55a04c){return _0x1f4d24===_0x55a04c;},'RxftH':'bJQxZ','xrTJK':_0x2452(0xe),'xifXV':function(_0x2f3db3,_0x1b62fb){return _0x2f3db3(_0x1b62fb);},'YbWod':function(_0x1e57d3,_0x59d8ee){return _0x1e57d3===_0x59d8ee;},'UNqXt':_0x2452(0xf),'PUkFV':'Disconnect','bSIuO':function(_0x54156c,_0x120ef4){return _0x54156c!==_0x120ef4;},'DoseF':_0x2452(0x10),'zxVjX':_0x2452(0x11),'tEYLC':function(_0x552c54){return _0x552c54();},'BZRuj':function(_0x4ff820,_0x5616e7){return _0x4ff820(_0x5616e7);},'TUvDl':_0x2452(0x12),'kStfF':_0x2452(0x13),'MdYrg':function(_0x34a3f2){return _0x34a3f2();},'RYNPR':_0x2452(0x14),'BbFXx':'Continue','Fbyjw':_0x2452(0x15),'iIbmb':_0x2452(0x16)},[_0x1a42c7,_0xad8f65]=_0x3b3404[_0x2452(0x17)](useState,null),_0x154c92=async _0x515add=>{_0x3b3404[_0x2452(0x18)](_0xad8f65,_0x515add);},_0x2b5fff=()=>{_0x3b3404[_0x2452(0x19)](_0x3b3404['UapXj'],_0x3b3404['UapXj'])?_0xad8f65(null):_0x18c542(null);},_0x32387a=()=>{_0x3b3404[_0x2452(0x18)](_0xad8f65,null);},_0x644dd7=async _0x8692f6=>{await _0x2bf935(_0x8692f6);},_0x396db4=_0x36e442=>{const _0x151fa3=_0x36e442;return _0x14f2aa[_0x151fa3]?!![]:![];},_0x4bd179=()=>{if(_0x3b3404[_0x2452(0x1a)](_0x3b3404[_0x2452(0x1b)],_0x3b3404[_0x2452(0x1c)])){const _0x36f880=_0x4396b7;return _0x382c0a[_0x36f880]?!![]:![];}else return Object[_0x2452(0x1d)](_0x14f2aa)['filter'](Boolean)['length'];};return React[_0x2452(0x1e)](View,{'style':styles['container']},React['createElement'](Text,{'style':styles[_0x2452(0x1f)]},_0x3b3404[_0x2452(0x20)]),React[_0x2452(0x1e)](Text,{'style':styles[_0x2452(0x21)]},_0x3b3404['kStfF']),React[_0x2452(0x1e)](ScrollView,{'style':styles[_0x2452(0x22)]},Object[_0x2452(0x23)](PLATFORMS)[_0x2452(0x24)](_0x24b866=>{if(_0x2452(0x25)==='PQMYq'){var _0x2eaf41;const _0x63c991=PLATFORMS[_0x24b866],_0xbe41e1=_0x3b3404[_0x2452(0x26)](_0x396db4,_0x24b866),_0x456adc=_0xbe41e1?_0x3b3404[_0x2452(0x27)](_0x2eaf41=_0x14f2aa[_0x24b866],null)||_0x2eaf41===void 0x0?void 0x0:_0x2eaf41[_0x2452(0x28)]:null;return React[_0x2452(0x1e)](View,{'key':_0x24b866,'style':styles[_0x2452(0x29)]},React[_0x2452(0x1e)](View,{'style':styles['platformInfo']},React[_0x2452(0x1e)](View,{'style':[styles[_0x2452(0x2a)],{'backgroundColor':_0x63c991[_0x2452(0x2b)]}]},React[_0x2452(0x1e)](_0x2cf53c,{'name':_0x63c991[_0x2452(0x2c)],'size':0x18,'color':_0x3b3404['UNqXt']})),React['createElement'](View,{'style':styles[_0x2452(0x2d)]},React[_0x2452(0x1e)](Text,{'style':styles[_0x2452(0x2e)]},_0x63c991[_0x2452(0x2f)]),React[_0x2452(0x1e)](Text,{'style':styles[_0x2452(0x30)]},_0xbe41e1?_0x2452(0x31)+_0x456adc:_0x63c991['description']))),React[_0x2452(0x1e)](TouchableOpacity,{'style':[styles[_0x2452(0x32)],_0xbe41e1?styles['disconnectButton']:styles[_0x2452(0x33)]],'onPress':()=>_0xbe41e1?_0x644dd7(_0x24b866):_0x154c92(_0x24b866),'disabled':_0x25d479},_0x25d479?React['createElement'](ActivityIndicator,{'size':_0x2452(0x34),'color':_0x2452(0xf)}):React[_0x2452(0x1e)](Text,{'style':styles['buttonText']},_0xbe41e1?_0x3b3404[_0x2452(0x35)]:_0x2452(0x36))));}else return _0x46860c[_0x2452(0x1d)](_0x332019)[_0x2452(0x37)](_0x41737e)[_0x2452(0x38)];})),React[_0x2452(0x1e)](View,{'style':styles['footer']},React[_0x2452(0x1e)](Text,{'style':styles[_0x2452(0x39)]},_0x3b3404[_0x2452(0x3a)](_0x4bd179),_0x3b3404[_0x2452(0x3b)],Object[_0x2452(0x23)](PLATFORMS)[_0x2452(0x38)],_0x2452(0x3c)),React['createElement'](TouchableOpacity,{'style':[styles[_0x2452(0x3d)],_0x747ce7?styles[_0x2452(0x3e)]:styles[_0x2452(0x3f)]],'onPress':_0x4900b9,'disabled':!_0x747ce7},React[_0x2452(0x1e)](Text,{'style':[styles[_0x2452(0x40)],_0x747ce7?styles[_0x2452(0x41)]:styles[_0x2452(0x42)]]},_0x3b3404[_0x2452(0x43)]),React[_0x2452(0x1e)](_0x2cf53c,{'name':_0x3b3404['Fbyjw'],'size':0x14,'color':_0x747ce7?_0x3b3404[_0x2452(0x44)]:_0x3b3404[_0x2452(0x45)]}))),_0x1a42c7&&React[_0x2452(0x1e)](OAuthWebView,{'url':_0x2452(0x46)+_0x1a42c7,'platform':_0x1a42c7,'onComplete':_0x2b5fff,'onClose':_0x32387a,'onSuccess':_0x2f66a5=>{const _0x41cf67={'fQbqX':function(_0x102ad,_0x5aaf39){return _0x102ad(_0x5aaf39);}};_0x3b3404[_0x2452(0x47)](_0x3b3404[_0x2452(0x48)],_0x3b3404[_0x2452(0x49)])?(console[_0x2452(0x4a)](_0x2452(0x4b)+_0x1a42c7+':\x20'+_0x2f66a5),_0x3b3404['tEYLC'](_0x2b5fff)):_0x41cf67[_0x2452(0x4c)](_0x5448c5,null);}}));};const styles=StyleSheet[_0x2452(0x4d)]({'container':{'flex':0x1,'padding':0x10},'title':{'fontSize':0x18,'fontWeight':_0x2452(0x4e),'marginBottom':0x8,'color':_0x2452(0x4f)},'subtitle':{'fontSize':0x10,'color':_0x2452(0x50),'marginBottom':0x18},'platformList':{'flex':0x1},'platformItem':{'flexDirection':_0x2452(0x51),'alignItems':_0x2452(0x52),'marginBottom':0x10,'padding':0xc,'backgroundColor':_0x2452(0x53),'borderRadius':0xc,'borderWidth':0x1,'borderColor':_0x2452(0x54)},'platformInfo':{'flex':0x1,'flexDirection':'row','alignItems':_0x2452(0x52)},'platformIcon':{'width':0x28,'height':0x28,'borderRadius':0x14,'justifyContent':'center','alignItems':_0x2452(0x52),'marginRight':0xc},'platformText':{'flex':0x1},'platformName':{'fontSize':0x10,'fontWeight':'600','marginBottom':0x4,'color':_0x2452(0x4f)},'platformDescription':{'fontSize':0xe,'color':_0x2452(0x50)},'platformButton':{'paddingHorizontal':0x10,'paddingVertical':0x8,'borderRadius':0x14,'justifyContent':_0x2452(0x52),'alignItems':_0x2452(0x52),'minWidth':0x64},'connectButton':{'backgroundColor':COLORS[_0x2452(0x55)]},'disconnectButton':{'backgroundColor':_0x2452(0x56)},'buttonText':{'color':_0x2452(0xf),'fontWeight':'600'},'footer':{'flexDirection':_0x2452(0x51),'alignItems':_0x2452(0x52),'justifyContent':_0x2452(0x57),'paddingTop':0x10,'borderTopWidth':0x1,'borderTopColor':_0x2452(0x54),'marginTop':0x10},'connectionStatus':{'fontSize':0xe,'color':_0x2452(0x50)},'proceedButton':{'flexDirection':_0x2452(0x51),'alignItems':_0x2452(0x52),'paddingHorizontal':0x10,'paddingVertical':0xa,'borderRadius':0x18},'proceedActive':{'backgroundColor':COLORS[_0x2452(0x55)]},'proceedInactive':{'backgroundColor':'#eee'},'proceedText':{'fontWeight':_0x2452(0x58),'marginRight':0x8},'proceedTextActive':{'color':_0x2452(0xf)},'proceedTextInactive':{'color':_0x2452(0x16)}});