@onairos/react-native 3.7.1 → 3.7.3
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.
- package/lib/commonjs/api/index.js +219 -9
- package/lib/commonjs/assets/icons/spotify.png +0 -0
- package/lib/commonjs/assets/images/spotify.png +0 -0
- package/lib/commonjs/components/BodyText.js +27 -9
- package/lib/commonjs/components/BrandMark.js +111 -10
- package/lib/commonjs/components/CodeInput.js +116 -9
- package/lib/commonjs/components/EmailInput.js +30 -8
- package/lib/commonjs/components/GoogleButton.js +56 -9
- package/lib/commonjs/components/HeadingGroup.js +43 -9
- package/lib/commonjs/components/LLMDataInputModal.js +664 -14
- package/lib/commonjs/components/ModalHeader.js +99 -9
- package/lib/commonjs/components/ModalSheet.js +47 -9
- package/lib/commonjs/components/Onairos.js +380 -14
- package/lib/commonjs/components/OnairosButton.js +313 -13
- package/lib/commonjs/components/OnairosSignInButton.js +130 -12
- package/lib/commonjs/components/Overlay.js +465 -13
- package/lib/commonjs/components/PersonaImage.js +137 -10
- package/lib/commonjs/components/PersonaLoadingScreen.js +318 -12
- package/lib/commonjs/components/PersonalizationConsentScreen.js +467 -13
- package/lib/commonjs/components/PinCreationScreen.js +403 -12
- package/lib/commonjs/components/PinInput.js +464 -9
- package/lib/commonjs/components/PlatformConnectorsStep.js +1311 -23
- package/lib/commonjs/components/PlatformList.js +137 -10
- package/lib/commonjs/components/PlatformToggle.js +180 -9
- package/lib/commonjs/components/PrimaryButton.js +180 -10
- package/lib/commonjs/components/SignInMatchAnimation.js +197 -9
- package/lib/commonjs/components/SignInStep.js +345 -12
- package/lib/commonjs/components/UniversalOnboarding.js +2780 -30
- package/lib/commonjs/components/VerificationStep.js +176 -11
- package/lib/commonjs/components/WelcomeScreen.js +461 -22
- package/lib/commonjs/components/icons/Basicproficon.js +37 -8
- package/lib/commonjs/components/icons/Basicprofile.js +21 -8
- package/lib/commonjs/components/icons/Checkbox.js +21 -8
- package/lib/commonjs/components/icons/Checkmark.js +27 -8
- package/lib/commonjs/components/icons/Contentanalysis.js +21 -8
- package/lib/commonjs/components/icons/Contenticon.js +39 -8
- package/lib/commonjs/components/icons/EnochE.js +41 -8
- package/lib/commonjs/components/icons/Personalityicon.js +30 -8
- package/lib/commonjs/components/icons/Personalityprofile.js +21 -8
- package/lib/commonjs/components/icons/Personalitytraits.js +21 -8
- package/lib/commonjs/components/icons/Userpreferences.js +21 -8
- package/lib/commonjs/components/icons/index.js +84 -17
- package/lib/commonjs/components/onboarding/OAuthWebView.js +1754 -18
- package/lib/commonjs/components/onboarding/OnboardingHeader.js +74 -10
- package/lib/commonjs/components/onboarding/PinInput.js +283 -10
- package/lib/commonjs/components/onboarding/PlatformConnector.js +249 -11
- package/lib/commonjs/config/PLATFORM_APIS.md +849 -0
- package/lib/commonjs/config/api.js +56 -7
- package/lib/commonjs/constants/index.js +120 -7
- package/lib/commonjs/context/AuthContext.js +345 -10
- package/lib/commonjs/hooks/useConnectedAccounts.js +111 -9
- package/lib/commonjs/hooks/useConnections.js +102 -8
- package/lib/commonjs/hooks/useCredentials.js +178 -10
- package/lib/commonjs/hooks/useUserConnections.js +148 -10
- package/lib/commonjs/index.js +439 -34
- package/lib/commonjs/services/apiClient.js +298 -8
- package/lib/commonjs/services/biometricPinService.js +180 -8
- package/lib/commonjs/services/chatGPTConversationExtractor.js +155 -8
- package/lib/commonjs/services/chatGPTConversationService.js +275 -9
- package/lib/commonjs/services/claudeConversationExtractor.js +103 -8
- package/lib/commonjs/services/claudeConversationService.js +158 -9
- package/lib/commonjs/services/connectedAccountsService.js +310 -10
- package/lib/commonjs/services/googleAuthService.js +252 -11
- package/lib/commonjs/services/hingeDataExtractor.js +105 -8
- package/lib/commonjs/services/hingeDataService.js +150 -9
- package/lib/commonjs/services/imageCompressionService.js +260 -7
- package/lib/commonjs/services/instagramDataExtractor.js +126 -8
- package/lib/commonjs/services/instagramDataService.js +163 -9
- package/lib/commonjs/services/jwtStorageService.js +276 -7
- package/lib/commonjs/services/linkedinDOMExtractor.js +245 -7
- package/lib/commonjs/services/linkedinProfileService.js +222 -9
- package/lib/commonjs/services/linkedinScrapingService.js +230 -8
- package/lib/commonjs/services/llmDataStorage.js +294 -8
- package/lib/commonjs/services/mobileTrainingService.js +186 -8
- package/lib/commonjs/services/netflixDataExtractor.js +120 -8
- package/lib/commonjs/services/netflixDataService.js +198 -9
- package/lib/commonjs/services/pinEncryptionService.js +84 -8
- package/lib/commonjs/services/pinStorageUtils.js +105 -7
- package/lib/commonjs/services/platformAuthService.js +1484 -12
- package/lib/commonjs/services/sephoraDataExtractor.js +140 -8
- package/lib/commonjs/services/sephoraDataService.js +200 -9
- package/lib/commonjs/services/spotifyDataExtractor.js +148 -8
- package/lib/commonjs/services/spotifyDataService.js +241 -9
- package/lib/commonjs/services/storageService.js +404 -8
- package/lib/commonjs/services/telegramDataExtractor.js +115 -8
- package/lib/commonjs/services/telegramDataService.js +499 -9
- package/lib/commonjs/services/trainingApiHelpers.js +73 -7
- package/lib/commonjs/services/userConnectionsService.js +340 -10
- package/lib/commonjs/services/youtubeMigrationService.js +416 -10
- package/lib/commonjs/theme/index.js +250 -7
- package/lib/commonjs/types/ambient.d.js +2 -1
- package/lib/commonjs/types/declarations.d.js +2 -1
- package/lib/commonjs/types/index.js +6 -1
- package/lib/commonjs/types/node-fix.d.js +2 -1
- package/lib/commonjs/types/node-override.d.js +2 -1
- package/lib/commonjs/types/opacity.d.js +2 -1
- package/lib/commonjs/types.js +14 -1
- package/lib/commonjs/utils/Portal.js +98 -8
- package/lib/commonjs/utils/api.js +130 -9
- package/lib/commonjs/utils/assetRegistry.js +210 -35
- package/lib/commonjs/utils/auth.js +112 -9
- package/lib/commonjs/utils/connectorTests.js +613 -29
- package/lib/commonjs/utils/crypto.js +62 -8
- package/lib/commonjs/utils/debugHelper.js +64 -1
- package/lib/commonjs/utils/encryption.js +76 -7
- package/lib/commonjs/utils/eventUtils.js +288 -1
- package/lib/commonjs/utils/haptics.js +66 -9
- package/lib/commonjs/utils/imagePreloader.js +6 -1
- package/lib/commonjs/utils/networkDiagnostics.js +226 -8
- package/lib/commonjs/utils/onairosApi.js +350 -9
- package/lib/commonjs/utils/programmaticFlow.js +117 -9
- package/lib/commonjs/utils/retryHelper.js +220 -1
- package/lib/commonjs/utils/secureStorage.js +349 -10
- package/lib/commonjs/utils/webviewScripts/chatgpt.js +551 -1
- package/lib/commonjs/utils/webviewScripts/claude.js +376 -1
- package/lib/commonjs/utils/webviewScripts/hinge.js +411 -1
- package/lib/commonjs/utils/webviewScripts/index.js +698 -15
- package/lib/commonjs/utils/webviewScripts/instagram.js +454 -1
- package/lib/commonjs/utils/webviewScripts/linkedin.js +880 -1
- package/lib/commonjs/utils/webviewScripts/netflix.js +382 -1
- package/lib/commonjs/utils/webviewScripts/sephora.js +516 -1
- package/lib/commonjs/utils/webviewScripts/spotify.js +419 -1
- package/lib/commonjs/utils/webviewScripts/telegram.js +678 -1
- package/lib/module/api/index.js +211 -1
- package/lib/module/assets/icons/spotify.png +0 -0
- package/lib/module/assets/images/spotify.png +0 -0
- package/lib/module/components/BodyText.js +20 -1
- package/lib/module/components/BrandMark.js +104 -1
- package/lib/module/components/CodeInput.js +109 -1
- package/lib/module/components/EmailInput.js +23 -1
- package/lib/module/components/GoogleButton.js +49 -1
- package/lib/module/components/HeadingGroup.js +36 -1
- package/lib/module/components/LLMDataInputModal.js +656 -7
- package/lib/module/components/ModalHeader.js +92 -1
- package/lib/module/components/ModalSheet.js +39 -1
- package/lib/module/components/Onairos.js +373 -1
- package/lib/module/components/OnairosButton.js +305 -1
- package/lib/module/components/OnairosSignInButton.js +121 -1
- package/lib/module/components/Overlay.js +456 -1
- package/lib/module/components/PersonaImage.js +129 -1
- package/lib/module/components/PersonaLoadingScreen.js +310 -1
- package/lib/module/components/PersonalizationConsentScreen.js +460 -1
- package/lib/module/components/PinCreationScreen.js +396 -1
- package/lib/module/components/PinInput.js +456 -1
- package/lib/module/components/PlatformConnectorsStep.js +1302 -6
- package/lib/module/components/PlatformList.js +129 -1
- package/lib/module/components/PlatformToggle.js +173 -1
- package/lib/module/components/PrimaryButton.js +172 -1
- package/lib/module/components/SignInMatchAnimation.js +189 -1
- package/lib/module/components/SignInStep.js +338 -1
- package/lib/module/components/UniversalOnboarding.js +2770 -1
- package/lib/module/components/VerificationStep.js +168 -1
- package/lib/module/components/WelcomeScreen.js +453 -1
- package/lib/module/components/icons/Basicproficon.js +30 -1
- package/lib/module/components/icons/Basicprofile.js +14 -1
- package/lib/module/components/icons/Checkbox.js +14 -1
- package/lib/module/components/icons/Checkmark.js +20 -1
- package/lib/module/components/icons/Contentanalysis.js +14 -1
- package/lib/module/components/icons/Contenticon.js +32 -1
- package/lib/module/components/icons/EnochE.js +34 -1
- package/lib/module/components/icons/Personalityicon.js +23 -1
- package/lib/module/components/icons/Personalityprofile.js +14 -1
- package/lib/module/components/icons/Personalitytraits.js +14 -1
- package/lib/module/components/icons/Userpreferences.js +14 -1
- package/lib/module/components/icons/index.js +13 -1
- package/lib/module/components/onboarding/OAuthWebView.js +1746 -1
- package/lib/module/components/onboarding/OnboardingHeader.js +66 -1
- package/lib/module/components/onboarding/PinInput.js +274 -1
- package/lib/module/components/onboarding/PlatformConnector.js +240 -1
- package/lib/module/config/PLATFORM_APIS.md +849 -0
- package/lib/module/config/api.js +47 -1
- package/lib/module/constants/index.js +114 -1
- package/lib/module/context/AuthContext.js +335 -1
- package/lib/module/hooks/useConnectedAccounts.js +106 -1
- package/lib/module/hooks/useConnections.js +95 -1
- package/lib/module/hooks/useCredentials.js +171 -6
- package/lib/module/hooks/useUserConnections.js +140 -1
- package/lib/module/index.js +172 -1
- package/lib/module/services/apiClient.js +295 -1
- package/lib/module/services/biometricPinService.js +169 -1
- package/lib/module/services/chatGPTConversationExtractor.js +149 -1
- package/lib/module/services/chatGPTConversationService.js +268 -1
- package/lib/module/services/claudeConversationExtractor.js +97 -1
- package/lib/module/services/claudeConversationService.js +151 -1
- package/lib/module/services/connectedAccountsService.js +293 -1
- package/lib/module/services/googleAuthService.js +241 -1
- package/lib/module/services/hingeDataExtractor.js +99 -1
- package/lib/module/services/hingeDataService.js +143 -1
- package/lib/module/services/imageCompressionService.js +250 -1
- package/lib/module/services/instagramDataExtractor.js +120 -1
- package/lib/module/services/instagramDataService.js +156 -1
- package/lib/module/services/jwtStorageService.js +257 -1
- package/lib/module/services/linkedinDOMExtractor.js +234 -1
- package/lib/module/services/linkedinProfileService.js +210 -1
- package/lib/module/services/linkedinScrapingService.js +219 -1
- package/lib/module/services/llmDataStorage.js +277 -1
- package/lib/module/services/mobileTrainingService.js +173 -1
- package/lib/module/services/netflixDataExtractor.js +114 -1
- package/lib/module/services/netflixDataService.js +191 -1
- package/lib/module/services/pinEncryptionService.js +74 -6
- package/lib/module/services/pinStorageUtils.js +93 -1
- package/lib/module/services/platformAuthService.js +1461 -1
- package/lib/module/services/sephoraDataExtractor.js +134 -1
- package/lib/module/services/sephoraDataService.js +193 -1
- package/lib/module/services/spotifyDataExtractor.js +142 -1
- package/lib/module/services/spotifyDataService.js +234 -1
- package/lib/module/services/storageService.js +383 -1
- package/lib/module/services/telegramDataExtractor.js +109 -1
- package/lib/module/services/telegramDataService.js +493 -1
- package/lib/module/services/trainingApiHelpers.js +67 -1
- package/lib/module/services/userConnectionsService.js +329 -1
- package/lib/module/services/youtubeMigrationService.js +405 -1
- package/lib/module/theme/index.js +245 -1
- package/lib/module/types.js +10 -1
- package/lib/module/utils/Portal.js +90 -1
- package/lib/module/utils/api.js +118 -1
- package/lib/module/utils/assetRegistry.js +200 -34
- package/lib/module/utils/auth.js +100 -1
- package/lib/module/utils/connectorTests.js +600 -27
- package/lib/module/utils/crypto.js +54 -1
- package/lib/module/utils/debugHelper.js +54 -1
- package/lib/module/utils/encryption.js +67 -1
- package/lib/module/utils/eventUtils.js +270 -1
- package/lib/module/utils/haptics.js +59 -8
- package/lib/module/utils/imagePreloader.js +3 -1
- package/lib/module/utils/networkDiagnostics.js +217 -1
- package/lib/module/utils/onairosApi.js +333 -1
- package/lib/module/utils/programmaticFlow.js +111 -1
- package/lib/module/utils/retryHelper.js +211 -1
- package/lib/module/utils/secureStorage.js +330 -6
- package/lib/module/utils/webviewScripts/chatgpt.js +545 -1
- package/lib/module/utils/webviewScripts/claude.js +370 -1
- package/lib/module/utils/webviewScripts/hinge.js +405 -1
- package/lib/module/utils/webviewScripts/index.js +434 -1
- package/lib/module/utils/webviewScripts/instagram.js +448 -1
- package/lib/module/utils/webviewScripts/linkedin.js +874 -1
- package/lib/module/utils/webviewScripts/netflix.js +376 -1
- package/lib/module/utils/webviewScripts/sephora.js +510 -1
- package/lib/module/utils/webviewScripts/spotify.js +413 -1
- package/lib/module/utils/webviewScripts/telegram.js +672 -1
- package/package.json +2 -2
|
@@ -1,22 +1,461 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
function _0x3037(){const _0x54b3a8=['__esModule','default','object','function','YWguk','snOfr','mNdMX','TWZAG','kVjLk','VASiW','TtfPm','get','UVOmC','gbfMv','hasOwnProperty','call','defineProperty','getOwnPropertyDescriptor','hukUR','Onairos\x20SDK\x20not\x20initialized.\x20Developers\x20must\x20call\x20initializeApiKey()\x20with\x20a\x20valid\x20API\x20key\x20before\x20using\x20SDK\x20components.','The\x20Onairos\x20SDK\x20requires\x20initialization\x20with\x20a\x20valid\x20API\x20key.\x0a\x0aDevelopers:\x20Please\x20call\x20initializeApiKey()\x20before\x20using\x20Onairos\x20components.\x0a\x0aGet\x20your\x20API\x20key\x20from\x20https://dashboard.onairos.uk','✅\x20[WelcomeScreen]\x20SDK\x20initialized\x20with\x20API\x20key:','❌\x20Error\x20resending\x20verification\x20code:','Network\x20error.\x20Please\x20check\x20your\x20connection\x20and\x20try\x20again.','HfafQ','🔍\x20WelcomeScreen\x20visibility\x20changed:','cfBMe','🔄\x20Resetting\x20WelcomeScreen\x20animations','lGwaj','zZOEJ','signin','❌\x20Failed\x20to\x20store\x20reviewer\x20bypass\x20markers:','platforms','❌\x20[WelcomeScreen]\x20SDK\x20NOT\x20INITIALIZED:','OgZYy','cxGso','VTbIO','FRMFj','DInHE','onairos_user','true','onairos_jwt_token','✅\x20Stored\x20reviewer\x20bypass\x20markers\x20for\x20email\x20bypass','📧\x20Sending\x20verification\x20code\x20to:','❌\x20Failed\x20to\x20send\x20verification\x20code:','onboarding-complete-token','❌\x20Failed\x20to\x20resend\x20verification\x20code:','🔗\x20Initiating\x20Google\x20Sign-In','sIGfk','✅\x20Google\x20Sign-In\x20successful:','ErpDX','returning-user-token','YafjV','zzupK','ℹ️\x20No\x20existing\x20connections\x20found\x20-\x20proceeding\x20to\x20platforms\x20step','rdQaB','ℹ️\x20Google\x20Sign-In\x20cancelled\x20by\x20user','ARoGx','Google\x20Sign-In\x20failed.\x20Please\x20try\x20again.','ecWyN','NrAxE','🎬\x20Starting\x20WelcomeScreen\x20animations','UAzes','✅\x20Email\x20verification\x20successful','Vgsqs','🔍\x20Verifying\x20email\x20code:','Invalid\x20verification\x20code.\x20Please\x20try\x20again.','❌\x20Error\x20verifying\x20email\x20code:','sXbwQ','lEaqw','✅\x20Verification\x20code\x20resent\x20successfully','LVfRx','Failed\x20to\x20resend\x20verification\x20code.\x20Please\x20try\x20again.','wVtYo','rvwxY','kfQuA','Connected\x20platforms:','HMeuQ','reviewer-bypass-token','✅\x20Stored\x20reviewer\x20bypass\x20markers\x20for\x20new\x20UI','LFOGZ','welcome','rgba(0,0,0,0.5)','light-content','Get\x20Started','welcome-get-started-button','Complete\x20Setup','complete-setup-button','mHEIY','useState','useRef','Animated','current','Value','useEffect','isApiKeyInitialized','louCA','error','SDK\x20Not\x20Initialized','CXAgM','getApiConfig','log','cWOBC','XHxjg','rKzIL','apiKey','vdhDV','substring','...','yQGtA','CHrVQ','YEUDM','triggerHaptic','HapticType','Fqujx','verification','bbQGA','uUhOg','❌\x20Email\x20verification\x20failed:','message','fCgAl','timing','Easing','✅\x20WelcomeScreen\x20animations\x20completed','HLuTD','BSfTa','ydMrA','setValue','pTBOf','nsJDY','zJHcR','akHwW','BUTTON_PRESS','parallel','cubic','start','WHIiZ','vxGRK','RvWhK','tAzoy','SHCoX','XXmjw','Mwull','reviewer@apple.com','LwOjq','KDFvz','uGkoP','hTcaz','lXgFb','reviewer@bypass.com','SeNAp','LYZbH','HODQq','🔍\x20Reviewer\x20bypass\x20detected\x20in\x20WelcomeScreen','setItem','iMNhy','wNFHa','jLgUz','jJgsW','JlTTg','kcBuu','cMAoa','UWLWq','YfOiP','sendEmailVerificationCode','success','mFQGC','duvIi','xfJNK','Failed\x20to\x20send\x20verification\x20code.\x20Please\x20try\x20again.','uSMGW','❌\x20Error\x20sending\x20verification\x20code:','Mztbz','JivVb','QfQIu','wRkmx','Alert','alert','cTRDJ','HWLWx','RUoaW','QLxnD','CtcHs','VoSyb','signInWithGoogle','qdplf','PIzzc','GhQAq','has','set','scnBa','OZeNk','user','email','🔍\x20Is\x20new\x20user?','isNewUser','NvynO','LiVmr','username','getConnectedAccountsSmart','length','rDZdG','✅\x20Found\x20','getItem','iJLoC','oHUGd','iVtYe','wLQDM','MiVOq','uypOB','WPFTp','pccrc','VdahW','SLwUY','xWAdw','uWBMT','TGcZa','BocJW','iWdfZ','QSKdG','wzudC','nKkLk','QqXqc','fEJtp','mEnui','UvBul','RnRaL','sXuaJ','LtQVm','VQOdk','aCUew','IcCtc','BLJCd','NtXci','uevKT','CiSOA','nPDYU','zFjpw','DxWQl','YduBS','pgrti','oMogB','loHyo','confirmEmailVerificationCode','enlkC','arzmO','iVHmo','TiiNF','SSPvR','jRFsJ','Verification\x20failed.\x20Please\x20try\x20again.','JWQvo','nbNFl','dERBt','DwlTa','cNJJS','hutVo','XTtLW','PuqDO','vAbnO','YnRbK','vUGkK','VyhQM','lHWnp','lWDmE','GHtix','pZqoX','geZmL','ngWuF','gpGsh','PxQYy','YQYWC','cUuRl','LDWOo','GiRBs','UlJAF','oaPpS','waKxy','SSiuq','WgFRD','XFbHt','eQPdk','pUirp','FsCfw','zBKLn','LSrUR','VZRQo','BDrqd','NKWmT','Jmjwm','fyqvv','kiezS','createElement','Modal','HoOvf','doPJq','Cjqfw','View','backdrop','TouchableWithoutFeedback','backdropTouchable','modalContainer','brandMarkContainer','headingContainer','buttonContainer','jYLiL','XtAax','whYrK','content','bodyContainer','spacer','WgamO','create','StyleSheet','transparent','85%','100%'];_0x3037=function(){return _0x54b3a8;};return _0x3037();}Object['defineProperty'](exports,_0x5cbf(0x0),{'value':!![]}),exports[_0x5cbf(0x1)]=void 0x0;var _react=_interopRequireWildcard(__ONAIROS_REQ_FUNC__(0x0)),_reactNative=__ONAIROS_REQ_FUNC__(0x1),_haptics=__ONAIROS_REQ_FUNC__(0x2),_authService=__ONAIROS_REQ_FUNC__(0x3),_googleAuthService=__ONAIROS_REQ_FUNC__(0x4),_asyncStorage=_interopRequireDefault(__ONAIROS_REQ_FUNC__(0x5)),_apiKeyService=__ONAIROS_REQ_FUNC__(0x6),_connectedAccountsService=__ONAIROS_REQ_FUNC__(0x7),_ModalSheet=_interopRequireDefault(__ONAIROS_REQ_FUNC__(0x8)),_ModalHeader=_interopRequireDefault(__ONAIROS_REQ_FUNC__(0x9)),_BrandMark=_interopRequireDefault(__ONAIROS_REQ_FUNC__(0xa)),_HeadingGroup=_interopRequireDefault(__ONAIROS_REQ_FUNC__(0xb)),_BodyText=_interopRequireDefault(__ONAIROS_REQ_FUNC__(0xc)),_PrimaryButton=_interopRequireDefault(__ONAIROS_REQ_FUNC__(0xd)),_SignInStep=_interopRequireDefault(__ONAIROS_REQ_FUNC__(0xe)),_VerificationStep=_interopRequireDefault(__ONAIROS_REQ_FUNC__(0xf));function _interopRequireDefault(_0x3b6363){return _0x3b6363&&_0x3b6363[_0x5cbf(0x0)]?_0x3b6363:{'default':_0x3b6363};}function _interopRequireWildcard(_0x2178f8,_0x2bad0a){const _0x5864c6={'mNdMX':function(_0x49ee39,_0xf396f5){return _0x49ee39&&_0xf396f5;},'TWZAG':function(_0x45af6f,_0x41a559){return _0x45af6f===_0x41a559;},'JwCHy':function(_0x16eeed,_0x52de06){return _0x16eeed!=_0x52de06;},'kVjLk':_0x5cbf(0x2),'VASiW':function(_0x4554c0,_0xbf2d28){return _0x4554c0!=_0xbf2d28;},'snOfr':_0x5cbf(0x3),'UVOmC':function(_0x4927dd,_0x11ae61){return _0x4927dd!==_0x11ae61;},'gbfMv':_0x5cbf(0x1),'hukUR':function(_0x414503,_0x4457a6,_0x3914ce,_0x36bd1a){return _0x414503(_0x4457a6,_0x3914ce,_0x36bd1a);},'YWguk':function(_0x5a228b,_0x37f29b){return _0x5a228b==_0x37f29b;}};if(_0x5864c6[_0x5cbf(0x4)](_0x5864c6[_0x5cbf(0x5)],typeof WeakMap))var _0x16a720=new WeakMap(),_0x28fe37=new WeakMap();return(_interopRequireWildcard=function(_0x477cdc,_0x4a3963){if(_0x5864c6[_0x5cbf(0x6)](!_0x4a3963,_0x477cdc)&&_0x477cdc[_0x5cbf(0x0)])return _0x477cdc;var _0x6af92,_0x254b22,_0x4ab154={'__proto__':null,'default':_0x477cdc};if(_0x5864c6[_0x5cbf(0x7)](null,_0x477cdc)||_0x5864c6['JwCHy'](_0x5864c6[_0x5cbf(0x8)],typeof _0x477cdc)&&_0x5864c6[_0x5cbf(0x9)](_0x5864c6[_0x5cbf(0x5)],typeof _0x477cdc))return _0x4ab154;if(_0x6af92=_0x4a3963?_0x28fe37:_0x16a720){if(_0x5cbf(0xa)!==_0x5cbf(0xa))return _0x2df8d4&&_0x66e641[_0x5cbf(0x0)]?_0x2dd5f3:{'default':_0x5ca671};else{if(_0x6af92['has'](_0x477cdc))return _0x6af92[_0x5cbf(0xb)](_0x477cdc);_0x6af92['set'](_0x477cdc,_0x4ab154);}}for(const _0x476f33 in _0x477cdc)_0x5864c6[_0x5cbf(0xc)](_0x5864c6[_0x5cbf(0xd)],_0x476f33)&&{}[_0x5cbf(0xe)][_0x5cbf(0xf)](_0x477cdc,_0x476f33)&&((_0x254b22=(_0x6af92=Object[_0x5cbf(0x10)])&&Object[_0x5cbf(0x11)](_0x477cdc,_0x476f33))&&(_0x254b22[_0x5cbf(0xb)]||_0x254b22['set'])?_0x5864c6[_0x5cbf(0x12)](_0x6af92,_0x4ab154,_0x476f33,_0x254b22):_0x4ab154[_0x476f33]=_0x477cdc[_0x476f33]);return _0x4ab154;})(_0x2178f8,_0x2bad0a);}function _0x5cbf(_0x3037c0,_0x5cbf1f){_0x3037c0=_0x3037c0-0x0;const _0x3701ba=_0x3037();let _0x53ff8d=_0x3701ba[_0x3037c0];return _0x53ff8d;}const WelcomeScreen=({visible:_0xf9853f,onClose:_0x28b832,onComplete:_0x3cc98d})=>{const _0x45c364={'aCUew':function(_0x3c1355,_0x41dcdf){return _0x3c1355(_0x41dcdf);},'louCA':_0x5cbf(0x13),'CXAgM':_0x5cbf(0x14),'brHUO':_0x5cbf(0x15),'cWOBC':function(_0x15d885,_0x13953d){return _0x15d885+_0x13953d;},'XHxjg':function(_0x1bd874,_0x586adc){return _0x1bd874===_0x586adc;},'bImyE':function(_0x2776b9,_0x2d3ffe){return _0x2776b9===_0x2d3ffe;},'rKzIL':function(_0x418548,_0x364e7c){return _0x418548===_0x364e7c;},'vdhDV':function(_0x1c074b,_0x3e041b){return _0x1c074b===_0x3e041b;},'pTBOf':_0x5cbf(0x16),'nsJDY':function(_0x5f039c,_0x209984){return _0x5f039c(_0x209984);},'qOQVb':_0x5cbf(0x17),'YgvTR':function(_0xefc66e,_0x12445e){return _0xefc66e(_0x12445e);},'yQGtA':function(_0x579008,_0x32e967){return _0x579008(_0x32e967);},'CHrVQ':_0x5cbf(0x18),'IcCtc':_0x5cbf(0x19),'bbQGA':function(_0x3abcdb,_0x6d0fd8){return _0x3abcdb&&_0x6d0fd8;},'UvBul':function(_0x550fcb,_0x5264df){return _0x550fcb!==_0x5264df;},'uUhOg':_0x5cbf(0x1a),'HLuTD':function(_0x31c6aa,_0xe2a039){return _0x31c6aa===_0xe2a039;},'ydMrA':_0x5cbf(0x1b),'WHIiZ':function(_0x2d706e){return _0x2d706e();},'zJHcR':_0x5cbf(0x1c),'akHwW':_0x5cbf(0x1d),'CtcHs':function(_0x1261b2,_0x30c303){return _0x1261b2(_0x30c303);},'whYrK':_0x5cbf(0x1e),'vxGRK':_0x5cbf(0x1f),'Mwull':function(_0x1f2c7f,_0x49edf3,_0x3204d6){return _0x1f2c7f(_0x49edf3,_0x3204d6);},'LwOjq':function(_0x9e9d3){return _0x9e9d3();},'iruWm':function(_0x3f8643){return _0x3f8643();},'RvWhK':_0x5cbf(0x20),'tAzoy':_0x5cbf(0x21),'SHCoX':'zRWiR','XXmjw':_0x5cbf(0x22),'KDFvz':function(_0x30a01e,_0x5371a6){return _0x30a01e(_0x5371a6);},'uGkoP':function(_0x208b2c,_0x6d6f3c){return _0x208b2c!==_0x6d6f3c;},'hTcaz':_0x5cbf(0x23),'flZKz':_0x5cbf(0x24),'lXgFb':function(_0x5eed14,_0x1f4322){return _0x5eed14===_0x1f4322;},'SeNAp':function(_0x1a39b6,_0x5c12d1){return _0x1a39b6!==_0x5c12d1;},'LYZbH':_0x5cbf(0x25),'HODQq':_0x5cbf(0x26),'iMNhy':_0x5cbf(0x27),'wNFHa':_0x5cbf(0x28),'jLgUz':_0x5cbf(0x29),'jJgsW':_0x5cbf(0x2a),'JlTTg':function(_0x48cd61,_0x31c637){return _0x48cd61(_0x31c637);},'kcBuu':function(_0x26cb73,_0x47a1c4){return _0x26cb73(_0x47a1c4);},'NeFLq':function(_0x5c5442,_0x268f5d){return _0x5c5442(_0x268f5d);},'cMAoa':function(_0x18645b,_0x3f2725){return _0x18645b(_0x3f2725);},'YfOiP':_0x5cbf(0x2b),'mFQGC':'✅\x20Verification\x20code\x20sent\x20successfully','duvIi':'verification','xfJNK':_0x5cbf(0x2c),'Mztbz':function(_0x3b962e,_0xdbcb58){return _0x3b962e===_0xdbcb58;},'JivVb':'DEZIn','fEJtp':_0x5cbf(0x2d),'HWLWx':_0x5cbf(0x2),'lmRyl':_0x5cbf(0x1),'RUoaW':_0x5cbf(0x2e),'QLxnD':function(_0x1162f5){return _0x1162f5();},'VoSyb':function(_0x3d1a2a,_0xef1eeb){return _0x3d1a2a(_0xef1eeb);},'CKvpV':_0x5cbf(0x2f),'qdplf':_0x5cbf(0x30),'WwMWM':_0x5cbf(0x31),'NvynO':function(_0x509a7c,_0x4667c8){return _0x509a7c(_0x4667c8);},'LiVmr':'👤\x20Returning\x20user\x20detected\x20via\x20Google\x20Sign-In','rDZdG':_0x5cbf(0x32),'pmeIx':function(_0x152851,_0x22bd2d,_0x1f7309){return _0x152851(_0x22bd2d,_0x1f7309);},'iJLoC':function(_0x717dc8,_0x8fc356){return _0x717dc8||_0x8fc356;},'oHUGd':_0x5cbf(0x33),'QZYOD':_0x5cbf(0x34),'wLQDM':function(_0x400103){return _0x400103();},'pccrc':function(_0x376d00,_0x2d6c7f){return _0x376d00!==_0x2d6c7f;},'VdahW':_0x5cbf(0x35),'SLwUY':_0x5cbf(0x36),'xWAdw':'⚠️\x20Could\x20not\x20fetch\x20existing\x20connections,\x20proceeding\x20to\x20platforms:','uWBMT':function(_0x22ebbd,_0xd2ad03){return _0x22ebbd(_0xd2ad03);},'TGcZa':_0x5cbf(0x37),'BocJW':'EsBKm','iWdfZ':_0x5cbf(0x38),'QSKdG':_0x5cbf(0x39),'nKkLk':'❌\x20Google\x20Sign-In\x20failed:','QqXqc':_0x5cbf(0x3a),'UteEi':_0x5cbf(0x3b),'RnRaL':_0x5cbf(0x3c),'sXuaJ':'❌\x20Unexpected\x20Google\x20Sign-In\x20error:','HoOvf':function(_0x22bfec,_0x2e4c20){return _0x22bfec&&_0x2e4c20;},'BLJCd':_0x5cbf(0x3d),'VQOdk':_0x5cbf(0x3e),'NtXci':_0x5cbf(0x3f),'uevKT':function(_0x1e05f0,_0x4d21cc,_0x4cf9a){return _0x1e05f0(_0x4d21cc,_0x4cf9a);},'CiSOA':function(_0x25c717,_0x287d0b){return _0x25c717===_0x287d0b;},'nPDYU':function(_0x377a0f,_0x2d2e6b){return _0x377a0f!=_0x2d2e6b;},'zFjpw':_0x5cbf(0x3),'DxWQl':function(_0x502898,_0x23fb34,_0x2f5e62,_0x54ac37){return _0x502898(_0x23fb34,_0x2f5e62,_0x54ac37);},'YduBS':function(_0x1bdb01,_0x19b181){return _0x1bdb01==_0x19b181;},'NGiVV':function(_0x2a8b7e,_0x1d24cc){return _0x2a8b7e!==_0x1d24cc;},'uIOww':_0x5cbf(0x40),'loHyo':_0x5cbf(0x41),'ngWuF':function(_0x26ab48,_0x47bd60){return _0x26ab48(_0x47bd60);},'enlkC':'❌\x20Email\x20verification\x20failed:','arzmO':function(_0x31ea5f,_0x228514){return _0x31ea5f(_0x228514);},'iVHmo':_0x5cbf(0x42),'jRFsJ':_0x5cbf(0x43),'GHtix':function(_0xe1e50e){return _0xe1e50e();},'oIiin':_0x5cbf(0x44),'geZmL':_0x5cbf(0x45),'yZHlM':function(_0x38326c,_0x5e5930){return _0x38326c(_0x5e5930);},'gpGsh':'🔄\x20Resending\x20verification\x20code\x20to:','PxQYy':_0x5cbf(0x46),'xgXJD':_0x5cbf(0x47),'cUuRl':_0x5cbf(0x48),'GiRBs':_0x5cbf(0x49),'UlJAF':'GfScE','waKxy':_0x5cbf(0x4a),'AeUvv':function(_0x3e1908){return _0x3e1908();},'NBeSw':_0x5cbf(0x4b),'oaPpS':_0x5cbf(0x4c),'LDJFq':function(_0x2eb97b,_0x5eb2da,_0x454fff){return _0x2eb97b(_0x5eb2da,_0x454fff);},'XFbHt':_0x5cbf(0x4d),'eQPdk':function(_0x6c54af,_0x462146,_0x30dd8d){return _0x6c54af(_0x462146,_0x30dd8d);},'pUirp':function(_0x1efa3c){return _0x1efa3c();},'zBKLn':_0x5cbf(0x4e),'FsCfw':_0x5cbf(0x4f),'HWozf':'reviewer@apple.com','LSrUR':'XxKPo','VZRQo':'NbNrq','BDrqd':function(_0x288b9b){return _0x288b9b();},'kiezS':function(_0x371a93){return _0x371a93();},'NKWmT':function(_0x264026,_0x569201){return _0x264026!==_0x569201;},'Jmjwm':_0x5cbf(0x50),'mHEIY':_0x5cbf(0x51),'KGieL':'slide','doPJq':_0x5cbf(0x52),'Cjqfw':_0x5cbf(0x53),'jYLiL':_0x5cbf(0x54),'XtAax':_0x5cbf(0x55),'MlhsL':function(_0x30d2e9,_0x2f2d9c){return _0x30d2e9===_0x2f2d9c;},'WgamO':_0x5cbf(0x56),'CaEaS':_0x5cbf(0x57)},[_0x4f57cc,_0x5c121f]=(0x0,_react['useState'])(_0x45c364[_0x5cbf(0x58)]),[_0x2fff59,_0xf37ac1]=(0x0,_react[_0x5cbf(0x59)])(''),[_0x57457a,_0x5e07cd]=(0x0,_react[_0x5cbf(0x59)])(![]),[_0x594d4f,_0x514a05]=(0x0,_react[_0x5cbf(0x59)])(''),[_0x3e0579,_0x595720]=(0x0,_react[_0x5cbf(0x59)])(![]),_0x351896=(0x0,_react[_0x5cbf(0x5a)])(new _reactNative[(_0x5cbf(0x5b))]['Value'](0x1))[_0x5cbf(0x5c)],_0x45cb4c=(0x0,_react[_0x5cbf(0x5a)])(new _reactNative[(_0x5cbf(0x5b))][(_0x5cbf(0x5d))](0x0))[_0x5cbf(0x5c)];(0x0,_react[_0x5cbf(0x5e)])(()=>{if(_0xf9853f){const _0x1764e4=(0x0,_apiKeyService[_0x5cbf(0x5f)])();_0x45c364['aCUew'](_0x595720,_0x1764e4);if(!_0x1764e4){const _0x50a2d6=_0x45c364[_0x5cbf(0x60)];console[_0x5cbf(0x61)](_0x5cbf(0x21),_0x50a2d6),_reactNative['Alert']['alert'](_0x5cbf(0x62),_0x45c364[_0x5cbf(0x63)],[{'text':'OK','onPress':()=>{_0x28b832();}}]);}else{var _0x568da8;const _0x404d58=(0x0,_apiKeyService[_0x5cbf(0x64)])();console[_0x5cbf(0x65)](_0x45c364['brHUO'],_0x45c364[_0x5cbf(0x66)](_0x45c364[_0x5cbf(0x67)](_0x404d58,null)||_0x45c364['bImyE'](_0x404d58,void 0x0)||_0x45c364[_0x5cbf(0x68)](_0x568da8=_0x404d58[_0x5cbf(0x69)],null)||_0x45c364[_0x5cbf(0x6a)](_0x568da8,void 0x0)?void 0x0:_0x568da8[_0x5cbf(0x6b)](0x0,0x8),_0x5cbf(0x6c)));}}},[_0xf9853f,_0x28b832]),(0x0,_react['useEffect'])(()=>{const _0x2a5bb5={'Fqujx':function(_0x3cadb3,_0x15d822){return _0x45c364['YgvTR'](_0x3cadb3,_0x15d822);},'fCgAl':function(_0x44f224,_0x21d3e8){return _0x45c364[_0x5cbf(0x6d)](_0x44f224,_0x21d3e8);}};_0x45c364[_0x5cbf(0x6e)]===_0x5cbf(0x6f)?((0x0,_0x3335b4[_0x5cbf(0x70)])(_0x22a391[_0x5cbf(0x71)]['BUTTON_PRESS']),_0x2a5bb5[_0x5cbf(0x72)](_0x13edbf,_0x5cbf(0x73))):(console[_0x5cbf(0x65)](_0x45c364['IcCtc'],_0xf9853f),_0x45c364[_0x5cbf(0x74)](_0xf9853f,_0x3e0579)?_0x45c364['UvBul'](_0x45c364[_0x5cbf(0x75)],_0x5cbf(0x1a))?(_0x3fa0c9['log'](_0x5cbf(0x76),_0x4e1a58[_0x5cbf(0x77)]),_0x2a5bb5[_0x5cbf(0x78)](_0x3fac24,_0x44eef4[_0x5cbf(0x77)]||_0x5cbf(0x42))):(console[_0x5cbf(0x65)]('🎬\x20Starting\x20WelcomeScreen\x20animations'),_reactNative[_0x5cbf(0x5b)]['parallel']([_reactNative[_0x5cbf(0x5b)][_0x5cbf(0x79)](_0x351896,{'toValue':0x0,'duration':0x190,'easing':_reactNative[_0x5cbf(0x7a)]['out'](_reactNative[_0x5cbf(0x7a)]['cubic']),'useNativeDriver':!![]}),_reactNative[_0x5cbf(0x5b)][_0x5cbf(0x79)](_0x45cb4c,{'toValue':0x1,'duration':0x12c,'useNativeDriver':!![]})])['start'](()=>{console[_0x5cbf(0x65)](_0x5cbf(0x7b));})):_0x45c364[_0x5cbf(0x7c)](_0x5cbf(0x7d),_0x5cbf(0x7d))?(console[_0x5cbf(0x65)](_0x45c364[_0x5cbf(0x7e)]),_0x351896[_0x5cbf(0x7f)](0x1),_0x45cb4c[_0x5cbf(0x7f)](0x0)):(_0x139df5[_0x5cbf(0x61)](_0x45c364[_0x5cbf(0x80)],_0x2a88bb),_0x45c364[_0x5cbf(0x81)](_0x47ee19,_0x45c364['qOQVb'])));},[_0xf9853f,_0x3e0579]);const _0x190285=()=>{_0x45c364[_0x5cbf(0x82)]!==_0x45c364[_0x5cbf(0x83)]?((0x0,_haptics[_0x5cbf(0x70)])(_haptics['HapticType'][_0x5cbf(0x84)]),_0x5c121f(_0x5cbf(0x51)),_reactNative[_0x5cbf(0x5b)][_0x5cbf(0x85)]([_reactNative[_0x5cbf(0x5b)][_0x5cbf(0x79)](_0x351896,{'toValue':0x1,'duration':0x12c,'easing':_reactNative['Easing']['in'](_reactNative[_0x5cbf(0x7a)][_0x5cbf(0x86)]),'useNativeDriver':!![]}),_reactNative[_0x5cbf(0x5b)][_0x5cbf(0x79)](_0x45cb4c,{'toValue':0x0,'duration':0xfa,'useNativeDriver':!![]})])[_0x5cbf(0x87)](()=>{_0x45c364[_0x5cbf(0x88)](_0x28b832);})):((0x0,_0xf31cf9['triggerHaptic'])(_0x4d3ce3[_0x5cbf(0x71)][_0x5cbf(0x84)]),_0x4b57a3(_0x5cbf(0x1e)));},_0x196764=()=>{(0x0,_haptics['triggerHaptic'])(_haptics[_0x5cbf(0x71)][_0x5cbf(0x84)]),_0x45c364['CtcHs'](_0x5c121f,_0x45c364['whYrK']);},_0x562982=async _0x122b36=>{const _0x63126={'UWLWq':function(_0x33bcaa){return _0x45c364['iruWm'](_0x33bcaa);},'XNeTi':_0x45c364[_0x5cbf(0x89)],'uSMGW':_0x45c364[_0x5cbf(0x8a)],'MAuUy':_0x45c364[_0x5cbf(0x60)],'wRkmx':_0x45c364[_0x5cbf(0x8b)],'cTRDJ':_0x5cbf(0x62),'nHGXF':_0x5cbf(0x14)};if(_0x45c364[_0x5cbf(0x8c)]===_0x45c364[_0x5cbf(0x8d)])_0x210516['error'](_0x45c364[_0x5cbf(0x89)],_0x3785d8),_0x1b1d9b?_0x45c364[_0x5cbf(0x8e)](_0x494458,_0x5cbf(0x4e),_0x5cbf(0x8f)):_0x45c364[_0x5cbf(0x90)](_0x102e06);else{(0x0,_haptics[_0x5cbf(0x70)])(_haptics['HapticType'][_0x5cbf(0x84)]),_0x45c364[_0x5cbf(0x91)](_0x5e07cd,!![]),_0x514a05('');try{if(_0x45c364[_0x5cbf(0x92)](_0x45c364[_0x5cbf(0x93)],_0x45c364['flZKz'])){if(_0x45c364[_0x5cbf(0x94)](_0x122b36,_0x5cbf(0x95))){if(_0x45c364[_0x5cbf(0x96)](_0x45c364[_0x5cbf(0x97)],_0x45c364[_0x5cbf(0x98)])){console[_0x5cbf(0x65)](_0x5cbf(0x99));try{await _asyncStorage[_0x5cbf(0x1)][_0x5cbf(0x9a)](_0x45c364[_0x5cbf(0x9b)],_0x45c364[_0x5cbf(0x9c)]),await _asyncStorage['default'][_0x5cbf(0x9a)](_0x45c364[_0x5cbf(0x9d)],_0x5cbf(0x4e)),console['log'](_0x45c364[_0x5cbf(0x9e)]),_0x45c364[_0x5cbf(0x9f)](_0xf37ac1,_0x122b36),_0x45c364[_0x5cbf(0xa0)](_0x5c121f,_0x5cbf(0x20));}catch(_0x30f83a){console[_0x5cbf(0x61)](_0x45c364[_0x5cbf(0x89)],_0x30f83a),_0x45c364['NeFLq'](_0xf37ac1,_0x122b36),_0x45c364[_0x5cbf(0x9f)](_0x5c121f,_0x45c364[_0x5cbf(0x8a)]);}_0x45c364[_0x5cbf(0xa1)](_0x5e07cd,![]);return;}else _0x63126[_0x5cbf(0xa2)](_0x5a44e6);}console['log'](_0x45c364[_0x5cbf(0xa3)],_0x122b36);const _0x3aa7fd=await(0x0,_authService[_0x5cbf(0xa4)])(_0x122b36);_0x3aa7fd[_0x5cbf(0xa5)]?(console['log'](_0x45c364[_0x5cbf(0xa6)]),_0x45c364['aCUew'](_0xf37ac1,_0x122b36),_0x45c364[_0x5cbf(0x81)](_0x5c121f,_0x45c364[_0x5cbf(0xa7)])):(console[_0x5cbf(0x65)](_0x45c364[_0x5cbf(0xa8)],_0x3aa7fd[_0x5cbf(0x77)]),_0x45c364[_0x5cbf(0xa0)](_0x514a05,_0x3aa7fd[_0x5cbf(0x77)]||_0x5cbf(0xa9)));}else _0x14af66[_0x5cbf(0x61)](_0x63126['XNeTi'],_0x5c1a47),_0x43bdf9(_0x1c315a),_0x3a6890(_0x63126[_0x5cbf(0xaa)]);}catch(_0x22eeaa){console[_0x5cbf(0x61)](_0x5cbf(0xab),_0x22eeaa),_0x514a05(_0x5cbf(0x17));}finally{if(_0x45c364[_0x5cbf(0xac)](_0x45c364[_0x5cbf(0xad)],_0x5cbf(0xae))){const _0x47a3f7=_0x63126['MAuUy'];_0x59baf6[_0x5cbf(0x61)](_0x63126[_0x5cbf(0xaf)],_0x47a3f7),_0x126837[_0x5cbf(0xb0)][_0x5cbf(0xb1)](_0x63126[_0x5cbf(0xb2)],_0x63126['nHGXF'],[{'text':'OK','onPress':()=>{_0x2d3cbd();}}]);}else _0x5e07cd(![]);}}},_0x292d7d=async()=>{const _0x467cbb={'PIzzc':function(_0x5034dd,_0x5e40f1){return _0x5034dd!=_0x5e40f1;},'vocEQ':_0x45c364[_0x5cbf(0xb3)],'GhQAq':_0x5cbf(0x3),'xcjHG':function(_0x32e7df,_0x2aca29){return _0x45c364[_0x5cbf(0x96)](_0x32e7df,_0x2aca29);},'scnBa':_0x45c364['lmRyl'],'OZeNk':function(_0x4c678c,_0x2f8b38,_0xdd9f8f,_0x39186d){return _0x4c678c(_0x2f8b38,_0xdd9f8f,_0x39186d);},'iVtYe':_0x45c364[_0x5cbf(0x7e)],'MiVOq':_0x45c364[_0x5cbf(0xb4)],'uypOB':function(_0x422696,_0x353c24){return _0x45c364['CtcHs'](_0x422696,_0x353c24);},'WPFTp':_0x5cbf(0x48),'LtQVm':function(_0x1bdcad){return _0x45c364[_0x5cbf(0xb5)](_0x1bdcad);}};(0x0,_haptics[_0x5cbf(0x70)])(_haptics['HapticType'][_0x5cbf(0x84)]),_0x45c364[_0x5cbf(0xb6)](_0x5e07cd,!![]),_0x45c364[_0x5cbf(0xb7)](_0x514a05,'');try{console[_0x5cbf(0x65)](_0x45c364['CKvpV']);const _0x53e89d=await(0x0,_googleAuthService[_0x5cbf(0xb8)])();if(_0x53e89d[_0x5cbf(0xa5)]&&_0x53e89d['user']){if(_0x45c364[_0x5cbf(0x96)](_0x45c364[_0x5cbf(0xb9)],_0x5cbf(0x30))){if(!_0x2871f7&&_0x55f3dd&&_0x58615d[_0x5cbf(0x0)])return _0x1ee173;var _0x5560d7,_0x1e1abc,_0x2e93fd={'__proto__':null,'default':_0x4aa5b8};if(null===_0x46097c||_0x467cbb['PIzzc'](_0x467cbb['vocEQ'],typeof _0x4945ca)&&_0x467cbb[_0x5cbf(0xba)](_0x467cbb[_0x5cbf(0xbb)],typeof _0x21c144))return _0x2e93fd;if(_0x5560d7=_0x234c25?_0x195476:_0x40b00c){if(_0x5560d7[_0x5cbf(0xbc)](_0x5225e7))return _0x5560d7[_0x5cbf(0xb)](_0x172eba);_0x5560d7[_0x5cbf(0xbd)](_0x498cb7,_0x2e93fd);}for(const _0x9e2382 in _0x5555a5)_0x467cbb['xcjHG'](_0x467cbb[_0x5cbf(0xbe)],_0x9e2382)&&{}['hasOwnProperty'][_0x5cbf(0xf)](_0x329960,_0x9e2382)&&((_0x1e1abc=(_0x5560d7=_0x181430[_0x5cbf(0x10)])&&_0x34a7f2[_0x5cbf(0x11)](_0x450961,_0x9e2382))&&(_0x1e1abc[_0x5cbf(0xb)]||_0x1e1abc[_0x5cbf(0xbd)])?_0x467cbb[_0x5cbf(0xbf)](_0x5560d7,_0x2e93fd,_0x9e2382,_0x1e1abc):_0x2e93fd[_0x9e2382]=_0x20489e[_0x9e2382]);return _0x2e93fd;}else{console['log'](_0x45c364['WwMWM'],_0x53e89d[_0x5cbf(0xc0)][_0x5cbf(0xc1)]),console[_0x5cbf(0x65)](_0x5cbf(0xc2),_0x53e89d[_0x5cbf(0xc3)]),_0x45c364[_0x5cbf(0xc4)](_0xf37ac1,_0x53e89d[_0x5cbf(0xc0)]['email']);if(_0x53e89d['isNewUser']===![]){console[_0x5cbf(0x65)](_0x45c364[_0x5cbf(0xc5)]);try{const _0x1c6ab1=_0x53e89d[_0x5cbf(0xc0)][_0x5cbf(0xc6)]||_0x53e89d[_0x5cbf(0xc0)][_0x5cbf(0xc1)]['split']('@')[0x0],_0x4e1cc4=await(0x0,_connectedAccountsService[_0x5cbf(0xc7)])(_0x53e89d['user'][_0x5cbf(0xc1)],_0x53e89d[_0x5cbf(0xc0)]['id'],_0x1c6ab1);if(_0x4e1cc4&&_0x4e1cc4[_0x5cbf(0xc8)]>0x0){if(_0x45c364['vdhDV'](_0x45c364[_0x5cbf(0xc9)],_0x45c364[_0x5cbf(0xc9)])){console[_0x5cbf(0x65)](_0x5cbf(0xca)+_0x4e1cc4['length']+'\x20existing\x20connections\x20-\x20completing\x20directly');const _0x4f5d87=await _asyncStorage[_0x5cbf(0x1)][_0x5cbf(0xcb)](_0x45c364[_0x5cbf(0x9d)]);_0x3cc98d?_0x45c364['pmeIx'](_0x3cc98d,_0x45c364[_0x5cbf(0xcc)](_0x4f5d87,_0x45c364[_0x5cbf(0xcd)]),_0x53e89d[_0x5cbf(0xc0)]['email']):_0x45c364['SeNAp']('YafjV',_0x45c364['QZYOD'])?(_0x2f7215[_0x5cbf(0x65)](_0x467cbb[_0x5cbf(0xce)]),_0x34ddd2[_0x5cbf(0x7f)](0x1),_0x2b5642[_0x5cbf(0x7f)](0x0)):_0x45c364[_0x5cbf(0xcf)](_0x28b832);return;}else _0x38118f[_0x5cbf(0x65)](_0x467cbb[_0x5cbf(0xd0)],_0x247340['message']),_0x467cbb[_0x5cbf(0xd1)](_0x27bd30,_0x3d1421[_0x5cbf(0x77)]||_0x467cbb[_0x5cbf(0xd2)]);}else _0x45c364[_0x5cbf(0xd3)](_0x45c364[_0x5cbf(0xd4)],_0x45c364[_0x5cbf(0xd4)])?_0x128ab6():console[_0x5cbf(0x65)](_0x45c364[_0x5cbf(0xd5)]);}catch(_0x46392b){console[_0x5cbf(0x65)](_0x45c364[_0x5cbf(0xd6)],_0x46392b);}}_0x45c364[_0x5cbf(0xd7)](_0x5c121f,_0x45c364['RvWhK']);}}else{if(_0x53e89d['cancelled'])_0x45c364[_0x5cbf(0xd8)]===_0x45c364[_0x5cbf(0xd9)]?_0x198969(![]):console[_0x5cbf(0x65)](_0x45c364[_0x5cbf(0xda)]);else{if(_0x45c364['uGkoP'](_0x45c364[_0x5cbf(0xdb)],_0x5cbf(0xdc)))console[_0x5cbf(0x65)](_0x45c364[_0x5cbf(0xdd)],_0x53e89d[_0x5cbf(0x77)]),_0x45c364['kcBuu'](_0x514a05,_0x53e89d[_0x5cbf(0x77)]||_0x45c364[_0x5cbf(0xde)]);else{const _0x595396={'mEnui':function(_0x2fa17a,_0x52de1a,_0x2e8e08){return _0x2fa17a(_0x52de1a,_0x2e8e08);},'fcivj':_0x45c364[_0x5cbf(0xdf)]};_0x177d9e[_0x5cbf(0x1)][_0x5cbf(0xcb)](_0x45c364['jLgUz'])['then'](_0x4eb5ea=>{_0x595396[_0x5cbf(0xe0)](_0x16bbb3,_0x4eb5ea||_0x595396['fcivj'],_0x1d1879);});}}}}catch(_0xdc8864){_0x45c364[_0x5cbf(0xe1)](_0x45c364['UteEi'],_0x45c364[_0x5cbf(0xe2)])?(console['error'](_0x45c364[_0x5cbf(0xe3)],_0xdc8864),_0x45c364[_0x5cbf(0xb7)](_0x514a05,_0x45c364[_0x5cbf(0xde)])):_0x467cbb[_0x5cbf(0xe4)](_0x109de8);}finally{_0x45c364['nsJDY'](_0x5e07cd,![]);}},_0x3076dc=()=>{_0x45c364['VQOdk']===_0x45c364[_0x5cbf(0xe5)]?((0x0,_haptics[_0x5cbf(0x70)])(_haptics[_0x5cbf(0x71)]['BUTTON_PRESS']),_0x45c364[_0x5cbf(0xe6)](_0x5c121f,_0x5cbf(0x73))):(_0x15a09b[_0x5cbf(0x65)](_0x45c364[_0x5cbf(0xe7)],_0x2e6d11),_0x45c364['HoOvf'](_0xdf8120,_0x18551a)?(_0x1d3f16[_0x5cbf(0x65)](_0x45c364[_0x5cbf(0xe8)]),_0x3c234d[_0x5cbf(0x5b)][_0x5cbf(0x85)]([_0x1fa8d3[_0x5cbf(0x5b)][_0x5cbf(0x79)](_0xbcd99c,{'toValue':0x0,'duration':0x190,'easing':_0x4860b1['Easing']['out'](_0x15718c[_0x5cbf(0x7a)]['cubic']),'useNativeDriver':!![]}),_0xc22853['Animated'][_0x5cbf(0x79)](_0x37d32e,{'toValue':0x1,'duration':0x12c,'useNativeDriver':!![]})])[_0x5cbf(0x87)](()=>{_0x281efe[_0x5cbf(0x65)](_0x5cbf(0x7b));})):(_0x42abfb[_0x5cbf(0x65)](_0x45c364['ydMrA']),_0x6872dd['setValue'](0x1),_0x17d873[_0x5cbf(0x7f)](0x0)));},_0x55ffaf=async _0x58b3ea=>{const _0x4a1cd6={'wdggy':_0x45c364[_0x5cbf(0xe9)],'oMogB':function(_0x26e01b,_0x1f98fe){return _0x26e01b(_0x1f98fe);},'BrNlm':_0x5cbf(0x20),'tYsno':function(_0x4c5866,_0x394a29,_0x1b6400){return _0x45c364[_0x5cbf(0xea)](_0x4c5866,_0x394a29,_0x1b6400);},'JdxpW':function(_0x4eec60,_0x5cad8a){return _0x45c364['iJLoC'](_0x4eec60,_0x5cad8a);},'SSPvR':_0x5cbf(0x33),'JWQvo':function(_0x10ba5e,_0x22e30f){return _0x45c364[_0x5cbf(0xeb)](_0x10ba5e,_0x22e30f);},'nbNFl':function(_0x4b8bc5,_0x560b5e){return _0x45c364[_0x5cbf(0xec)](_0x4b8bc5,_0x560b5e);},'dERBt':_0x45c364[_0x5cbf(0xed)],'DwlTa':function(_0x134288,_0x54de2c){return _0x134288!==_0x54de2c;},'cNJJS':_0x5cbf(0x1),'hutVo':function(_0x4f0425,_0x582d6c,_0x1ad0b3,_0x27aeef){return _0x45c364[_0x5cbf(0xee)](_0x4f0425,_0x582d6c,_0x1ad0b3,_0x27aeef);},'XTtLW':function(_0x282235,_0x4b4ba1){return _0x45c364[_0x5cbf(0xef)](_0x282235,_0x4b4ba1);}};if(_0x45c364['HLuTD']('pgrti',_0x5cbf(0xf0))){(0x0,_haptics[_0x5cbf(0x70)])(_haptics[_0x5cbf(0x71)][_0x5cbf(0x84)]),_0x45c364['CtcHs'](_0x5e07cd,!![]),_0x514a05('');try{if(_0x45c364['NGiVV'](_0x45c364['uIOww'],'Vgsqs'))_0x442fb6[_0x5cbf(0x65)](_0x4a1cd6['wdggy']),_0x4a1cd6[_0x5cbf(0xf1)](_0x1a2718,_0x4a1cd6['BrNlm']);else{console[_0x5cbf(0x65)](_0x45c364[_0x5cbf(0xf2)],_0x2fff59,_0x58b3ea);const _0x1dfed0=await(0x0,_authService[_0x5cbf(0xf3)])(_0x2fff59,_0x58b3ea);_0x1dfed0['success']?(console[_0x5cbf(0x65)](_0x45c364['NtXci']),_0x45c364['ngWuF'](_0x5c121f,_0x45c364[_0x5cbf(0x8a)])):(console['log'](_0x45c364[_0x5cbf(0xf4)],_0x1dfed0[_0x5cbf(0x77)]),_0x45c364[_0x5cbf(0xf5)](_0x514a05,_0x1dfed0[_0x5cbf(0x77)]||_0x45c364[_0x5cbf(0xf6)]));}}catch(_0x16a741){_0x5cbf(0xf7)==='Dgifb'?_0x4a1cd6['tYsno'](_0x27a7fe,_0x4a1cd6['JdxpW'](_0x3865c1,_0x4a1cd6[_0x5cbf(0xf8)]),_0x3045b0[_0x5cbf(0xc0)]['email']):(console['error'](_0x45c364[_0x5cbf(0xf9)],_0x16a741),_0x514a05(_0x5cbf(0xfa)));}finally{_0x5e07cd(![]);}}else{const _0x4494cc={'PuqDO':function(_0x23ad5a,_0x241b2f){return _0x23ad5a&&_0x241b2f;},'vAbnO':function(_0x512841,_0x269b43){return _0x4a1cd6[_0x5cbf(0xfb)](_0x512841,_0x269b43);},'YnRbK':_0x5cbf(0x2),'wOPEJ':function(_0x37ed98,_0xe229f1){return _0x4a1cd6[_0x5cbf(0xfc)](_0x37ed98,_0xe229f1);},'vUGkK':_0x4a1cd6[_0x5cbf(0xfd)],'VyhQM':function(_0x282abb,_0x5de124){return _0x4a1cd6[_0x5cbf(0xfe)](_0x282abb,_0x5de124);},'lHWnp':_0x4a1cd6[_0x5cbf(0xff)],'lWDmE':function(_0x574393,_0x3429ec,_0x175747,_0x51bdae){return _0x4a1cd6[_0x5cbf(0x100)](_0x574393,_0x3429ec,_0x175747,_0x51bdae);}};if(_0x4a1cd6[_0x5cbf(0x101)](_0x4a1cd6['dERBt'],typeof _0x31be5c))var _0x13c5d7=new _0x5846d6(),_0x1f97f2=new _0x1672d1();return(_0x19abc5=function(_0x4287b4,_0x5ddd7f){if(_0x4494cc[_0x5cbf(0x102)](!_0x5ddd7f,_0x4287b4)&&_0x4287b4[_0x5cbf(0x0)])return _0x4287b4;var _0x23f43a,_0x41cc88,_0x50f195={'__proto__':null,'default':_0x4287b4};if(_0x4494cc[_0x5cbf(0x103)](null,_0x4287b4)||_0x4494cc[_0x5cbf(0x104)]!=typeof _0x4287b4&&_0x4494cc['wOPEJ'](_0x4494cc[_0x5cbf(0x105)],typeof _0x4287b4))return _0x50f195;if(_0x23f43a=_0x5ddd7f?_0x1f97f2:_0x13c5d7){if(_0x23f43a[_0x5cbf(0xbc)](_0x4287b4))return _0x23f43a['get'](_0x4287b4);_0x23f43a[_0x5cbf(0xbd)](_0x4287b4,_0x50f195);}for(const _0x3b9bd1 in _0x4287b4)_0x4494cc[_0x5cbf(0x106)](_0x4494cc[_0x5cbf(0x107)],_0x3b9bd1)&&{}[_0x5cbf(0xe)]['call'](_0x4287b4,_0x3b9bd1)&&((_0x41cc88=(_0x23f43a=_0x5afeeb[_0x5cbf(0x10)])&&_0x15646c['getOwnPropertyDescriptor'](_0x4287b4,_0x3b9bd1))&&(_0x41cc88[_0x5cbf(0xb)]||_0x41cc88[_0x5cbf(0xbd)])?_0x4494cc[_0x5cbf(0x108)](_0x23f43a,_0x50f195,_0x3b9bd1,_0x41cc88):_0x50f195[_0x3b9bd1]=_0x4287b4[_0x3b9bd1]);return _0x50f195;})(_0x88930d,_0x16cd8a);}},_0x3e01df=()=>{const _0x4585ef={'pZqoX':function(_0x299fd7){return _0x45c364[_0x5cbf(0x109)](_0x299fd7);}};_0x45c364['oIiin']===_0x5cbf(0x44)?((0x0,_haptics[_0x5cbf(0x70)])(_haptics[_0x5cbf(0x71)][_0x5cbf(0x84)]),_0x45c364[_0x5cbf(0xc4)](_0x514a05,''),_0x45c364[_0x5cbf(0x6d)](_0x5c121f,_0x45c364['whYrK'])):_0x4585ef[_0x5cbf(0x10a)](_0x93de7f);},_0x1f3713=()=>{if(_0x45c364[_0x5cbf(0x94)](_0x45c364[_0x5cbf(0x10b)],_0x5cbf(0x45)))(0x0,_haptics[_0x5cbf(0x70)])(_haptics['HapticType'][_0x5cbf(0x84)]),_0x45c364[_0x5cbf(0x10c)](_0x5c121f,_0x45c364[_0x5cbf(0xa7)]);else return null;},_0x29e55f=async()=>{const _0x10c50f={'LDWOo':function(_0x2f841f){return _0x45c364['wLQDM'](_0x2f841f);}};(0x0,_haptics[_0x5cbf(0x70)])(_haptics[_0x5cbf(0x71)]['BUTTON_PRESS']),_0x5e07cd(!![]),_0x45c364['yZHlM'](_0x514a05,'');try{console[_0x5cbf(0x65)](_0x45c364[_0x5cbf(0x10d)],_0x2fff59);const _0x40c31c=await(0x0,_authService['sendEmailVerificationCode'])(_0x2fff59);_0x40c31c[_0x5cbf(0xa5)]?console['log'](_0x45c364[_0x5cbf(0x10e)]):_0x5cbf(0x10f)!==_0x45c364['xgXJD']?(console['log'](_0x45c364['RUoaW'],_0x40c31c['message']),_0x45c364[_0x5cbf(0xc4)](_0x514a05,_0x40c31c[_0x5cbf(0x77)]||_0x45c364[_0x5cbf(0x110)])):_0x10c50f[_0x5cbf(0x111)](_0x272f70);}catch(_0x32826a){_0x45c364[_0x5cbf(0x94)](_0x45c364[_0x5cbf(0x112)],_0x45c364[_0x5cbf(0x113)])?_0x466f4b[_0x5cbf(0x65)](_0x45c364[_0x5cbf(0xda)]):(console['error'](_0x45c364[_0x5cbf(0x80)],_0x32826a),_0x45c364[_0x5cbf(0xb6)](_0x514a05,_0x45c364['qOQVb']));}finally{_0x5e07cd(![]);}},_0x4d60ce=_0x43cce9=>{const _0x194804={'SSiuq':function(_0x2bd842){return _0x45c364['AeUvv'](_0x2bd842);},'WgFRD':function(_0x3a6cd1,_0x4eb6ef){return _0x45c364['yZHlM'](_0x3a6cd1,_0x4eb6ef);}};_0x45c364['XHxjg'](_0x45c364['NBeSw'],_0x5cbf(0x4b))?((0x0,_haptics['triggerHaptic'])(_haptics[_0x5cbf(0x71)]['BUTTON_PRESS']),console[_0x5cbf(0x65)](_0x45c364[_0x5cbf(0x114)],_0x43cce9),_0x3cc98d?_asyncStorage['default'][_0x5cbf(0xcb)](_0x5cbf(0x29))['then'](_0x4ce8ce=>{_0x45c364['NGiVV'](_0x45c364[_0x5cbf(0x115)],_0x5cbf(0x4a))?_0x194804[_0x5cbf(0x116)](_0x28db0c):_0x45c364[_0x5cbf(0xea)](_0x3cc98d,_0x45c364[_0x5cbf(0xcc)](_0x4ce8ce,_0x45c364[_0x5cbf(0xdf)]),_0x2fff59);}):_0x45c364[_0x5cbf(0x88)](_0x28b832)):_0x194804[_0x5cbf(0x117)](_0x32ce15,![]);},_0x1edc92=()=>{_0x45c364[_0x5cbf(0x118)]!==_0x45c364[_0x5cbf(0x118)]?_0x45c364['LDJFq'](_0x3a15da,_0x5cbf(0x4e),_0x5cbf(0x8f)):((0x0,_haptics[_0x5cbf(0x70)])(_haptics[_0x5cbf(0x71)][_0x5cbf(0x84)]),_0x3cc98d?_0x45c364[_0x5cbf(0x119)](_0x3cc98d,'onboarding-skipped-token',_0x2fff59):_0x45c364[_0x5cbf(0x11a)](_0x28b832));},_0x1e2a46=async()=>{console[_0x5cbf(0x65)]('🔍\x20Reviewer\x20bypass\x20triggered\x20from\x20platforms\x20screen'),(0x0,_haptics['triggerHaptic'])(_haptics[_0x5cbf(0x71)][_0x5cbf(0x84)]);try{await _asyncStorage['default'][_0x5cbf(0x9a)](_0x45c364[_0x5cbf(0x9b)],_0x45c364[_0x5cbf(0x9c)]),await _asyncStorage[_0x5cbf(0x1)][_0x5cbf(0x9a)](_0x45c364[_0x5cbf(0x9d)],_0x45c364['zBKLn']),console['log'](_0x45c364[_0x5cbf(0x11b)]),_0x3cc98d?_0x3cc98d(_0x45c364['zBKLn'],_0x45c364['HWozf']):_0x45c364['GHtix'](_0x28b832);}catch(_0x3407c0){console[_0x5cbf(0x61)](_0x45c364[_0x5cbf(0x89)],_0x3407c0),_0x3cc98d?_0x45c364['uevKT'](_0x3cc98d,_0x45c364[_0x5cbf(0x11c)],_0x5cbf(0x8f)):_0x45c364[_0x5cbf(0x11d)]===_0x45c364[_0x5cbf(0x11e)]?_0x11ed13['log'](_0x5cbf(0x46)):_0x45c364[_0x5cbf(0x11f)](_0x28b832);}},_0x408dce=()=>{_0x45c364[_0x5cbf(0x120)](_0x45c364[_0x5cbf(0x121)],_0x5cbf(0x122))?_0x190285():_0x45c364[_0x5cbf(0x123)](_0x48ea1d);};if(_0x45c364[_0x5cbf(0xcc)](!_0xf9853f,!_0x3e0579))return null;return _react[_0x5cbf(0x1)][_0x5cbf(0x124)](_reactNative[_0x5cbf(0x125)],{'visible':_0x45c364[_0x5cbf(0x126)](_0xf9853f,_0x3e0579),'transparent':!![],'animationType':_0x45c364['KGieL'],'onRequestClose':_0x190285,'statusBarTranslucent':!![]},_react[_0x5cbf(0x1)][_0x5cbf(0x124)](_reactNative['StatusBar'],{'backgroundColor':_0x45c364[_0x5cbf(0x127)],'barStyle':_0x45c364[_0x5cbf(0x128)]}),_react['default'][_0x5cbf(0x124)](_reactNative[_0x5cbf(0x5b)][_0x5cbf(0x129)],{'style':[styles[_0x5cbf(0x12a)],{'opacity':_0x45cb4c}]},_react['default'][_0x5cbf(0x124)](_reactNative[_0x5cbf(0x12b)],{'onPress':_0x408dce},_react['default'][_0x5cbf(0x124)](_reactNative[_0x5cbf(0x129)],{'style':styles[_0x5cbf(0x12c)]}))),_react[_0x5cbf(0x1)][_0x5cbf(0x124)](_reactNative[_0x5cbf(0x5b)][_0x5cbf(0x129)],{'style':[styles[_0x5cbf(0x12d)],{'transform':[{'translateY':_0x351896['interpolate']({'inputRange':[0x0,0x1],'outputRange':[0x0,0x258]})}]}]},_react['default']['createElement'](_ModalSheet[_0x5cbf(0x1)],{'topPadding':0x0},_react['default'][_0x5cbf(0x124)](_ModalHeader['default'],{'onClose':_0x190285,'onBack':_0x45c364[_0x5cbf(0x7c)](_0x4f57cc,_0x45c364[_0x5cbf(0xa7)])?_0x3e01df:_0x1f3713,'showBackButton':_0x4f57cc===_0x45c364[_0x5cbf(0xa7)]||_0x45c364[_0x5cbf(0xac)](_0x4f57cc,_0x45c364['RvWhK'])}),_0x4f57cc===_0x45c364['mHEIY']&&_react[_0x5cbf(0x1)][_0x5cbf(0x124)](_reactNative[_0x5cbf(0x129)],{'style':styles['content']},_react[_0x5cbf(0x1)]['createElement'](_reactNative[_0x5cbf(0x129)],{'style':styles[_0x5cbf(0x12e)]},_react[_0x5cbf(0x1)][_0x5cbf(0x124)](_BrandMark[_0x5cbf(0x1)],null)),_react[_0x5cbf(0x1)]['createElement'](_reactNative[_0x5cbf(0x129)],{'style':styles[_0x5cbf(0x12f)]},_react[_0x5cbf(0x1)][_0x5cbf(0x124)](_HeadingGroup[_0x5cbf(0x1)],null)),_react[_0x5cbf(0x1)][_0x5cbf(0x124)](_reactNative['View'],{'style':styles['bodyContainer']},_react[_0x5cbf(0x1)]['createElement'](_BodyText['default'],null)),_react['default'][_0x5cbf(0x124)](_reactNative[_0x5cbf(0x129)],{'style':styles['spacer']}),_react[_0x5cbf(0x1)][_0x5cbf(0x124)](_reactNative['View'],{'style':styles[_0x5cbf(0x130)]},_react[_0x5cbf(0x1)]['createElement'](_PrimaryButton[_0x5cbf(0x1)],{'label':_0x45c364[_0x5cbf(0x131)],'onPress':_0x196764,'testID':_0x45c364[_0x5cbf(0x132)]}))),_0x45c364[_0x5cbf(0xac)](_0x4f57cc,_0x45c364[_0x5cbf(0x133)])&&_react[_0x5cbf(0x1)][_0x5cbf(0x124)](_SignInStep['default'],{'onEmailSubmit':_0x562982,'onGoogleSignIn':_0x292d7d,'onContinue':_0x3076dc,'loading':_0x57457a,'error':_0x594d4f}),_0x45c364[_0x5cbf(0x67)](_0x4f57cc,_0x5cbf(0x73))&&_react[_0x5cbf(0x1)][_0x5cbf(0x124)](_VerificationStep['default'],{'email':_0x2fff59,'onCodeSubmit':_0x55ffaf,'onBack':_0x3e01df,'loading':_0x57457a,'error':_0x594d4f,'onResendCode':_0x29e55f}),_0x45c364['MlhsL'](_0x4f57cc,'platforms')&&_react[_0x5cbf(0x1)]['createElement'](_reactNative[_0x5cbf(0x129)],{'style':styles[_0x5cbf(0x134)]},_react[_0x5cbf(0x1)][_0x5cbf(0x124)](_reactNative['View'],{'style':styles[_0x5cbf(0x12f)]},_react[_0x5cbf(0x1)][_0x5cbf(0x124)](_HeadingGroup[_0x5cbf(0x1)],null)),_react[_0x5cbf(0x1)]['createElement'](_reactNative['View'],{'style':styles[_0x5cbf(0x135)]},_react[_0x5cbf(0x1)][_0x5cbf(0x124)](_BodyText[_0x5cbf(0x1)],null)),_react[_0x5cbf(0x1)][_0x5cbf(0x124)](_reactNative['View'],{'style':styles[_0x5cbf(0x136)]}),_react['default'][_0x5cbf(0x124)](_reactNative[_0x5cbf(0x129)],{'style':styles[_0x5cbf(0x130)]},_react[_0x5cbf(0x1)]['createElement'](_PrimaryButton[_0x5cbf(0x1)],{'label':_0x45c364[_0x5cbf(0x137)],'onPress':()=>_0x4d60ce([]),'testID':_0x45c364['CaEaS']}))))));},styles=_reactNative['StyleSheet'][_0x5cbf(0x138)]({'backdrop':{..._reactNative[_0x5cbf(0x139)]['absoluteFillObject'],'backgroundColor':_0x5cbf(0x13a)},'backdropTouchable':{'flex':0x1},'modalContainer':{'position':'absolute','bottom':0x0,'left':0x0,'right':0x0,'height':_0x5cbf(0x13b)},'content':{'flex':0x1,'alignItems':'center','paddingTop':0x14},'brandMarkContainer':{'marginBottom':0x20},'headingContainer':{'marginBottom':0x18},'bodyContainer':{'marginBottom':0x20,'width':_0x5cbf(0x13c)},'spacer':{'flex':0x1,'minHeight':0x14},'buttonContainer':{'width':_0x5cbf(0x13c),'paddingHorizontal':0x18,'paddingBottom':0x14}});var _default=exports[_0x5cbf(0x1)]=WelcomeScreen;
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.default = void 0;
|
|
7
|
+
var _react = _interopRequireWildcard(require("react"));
|
|
8
|
+
var _reactNative = require("react-native");
|
|
9
|
+
var _haptics = require("../utils/haptics");
|
|
10
|
+
var _authService = require("../services/authService");
|
|
11
|
+
var _googleAuthService = require("../services/googleAuthService");
|
|
12
|
+
var _asyncStorage = _interopRequireDefault(require("@react-native-async-storage/async-storage"));
|
|
13
|
+
var _apiKeyService = require("../services/apiKeyService");
|
|
14
|
+
var _connectedAccountsService = require("../services/connectedAccountsService");
|
|
15
|
+
var _ModalSheet = _interopRequireDefault(require("./ModalSheet"));
|
|
16
|
+
var _ModalHeader = _interopRequireDefault(require("./ModalHeader"));
|
|
17
|
+
var _BrandMark = _interopRequireDefault(require("./BrandMark"));
|
|
18
|
+
var _HeadingGroup = _interopRequireDefault(require("./HeadingGroup"));
|
|
19
|
+
var _BodyText = _interopRequireDefault(require("./BodyText"));
|
|
20
|
+
var _PrimaryButton = _interopRequireDefault(require("./PrimaryButton"));
|
|
21
|
+
var _SignInStep = _interopRequireDefault(require("./SignInStep"));
|
|
22
|
+
var _VerificationStep = _interopRequireDefault(require("./VerificationStep"));
|
|
23
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
24
|
+
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); }
|
|
25
|
+
// Import our new components
|
|
26
|
+
|
|
27
|
+
// Temporarily remove PlatformConnectorsStep to avoid context dependency issues
|
|
28
|
+
// import PlatformConnectorsStep from './PlatformConnectorsStep';
|
|
29
|
+
|
|
30
|
+
// Type definitions for navigation
|
|
31
|
+
|
|
32
|
+
const WelcomeScreen = ({
|
|
33
|
+
visible,
|
|
34
|
+
onClose,
|
|
35
|
+
onComplete
|
|
36
|
+
}) => {
|
|
37
|
+
const [currentStep, setCurrentStep] = (0, _react.useState)('welcome');
|
|
38
|
+
const [userEmail, setUserEmail] = (0, _react.useState)('');
|
|
39
|
+
const [loading, setLoading] = (0, _react.useState)(false);
|
|
40
|
+
const [error, setError] = (0, _react.useState)('');
|
|
41
|
+
|
|
42
|
+
// 🔒 SDK Initialization check state
|
|
43
|
+
const [sdkInitialized, setSdkInitialized] = (0, _react.useState)(false);
|
|
44
|
+
|
|
45
|
+
// Animation values
|
|
46
|
+
const slideAnim = (0, _react.useRef)(new _reactNative.Animated.Value(1)).current; // Start from bottom
|
|
47
|
+
const fadeAnim = (0, _react.useRef)(new _reactNative.Animated.Value(0)).current;
|
|
48
|
+
|
|
49
|
+
// 🔒 CRITICAL: Check SDK initialization when component becomes visible
|
|
50
|
+
(0, _react.useEffect)(() => {
|
|
51
|
+
if (visible) {
|
|
52
|
+
const initialized = (0, _apiKeyService.isApiKeyInitialized)();
|
|
53
|
+
setSdkInitialized(initialized);
|
|
54
|
+
if (!initialized) {
|
|
55
|
+
const errorMsg = 'Onairos SDK not initialized. Developers must call initializeApiKey() with a valid API key before using SDK components.';
|
|
56
|
+
console.error('❌ [WelcomeScreen] SDK NOT INITIALIZED:', errorMsg);
|
|
57
|
+
|
|
58
|
+
// Show alert and close the modal
|
|
59
|
+
_reactNative.Alert.alert('SDK Not Initialized', 'The Onairos SDK requires initialization with a valid API key.\n\nDevelopers: Please call initializeApiKey() before using Onairos components.\n\nGet your API key from https://dashboard.onairos.uk', [{
|
|
60
|
+
text: 'OK',
|
|
61
|
+
onPress: () => {
|
|
62
|
+
onClose();
|
|
63
|
+
}
|
|
64
|
+
}]);
|
|
65
|
+
} else {
|
|
66
|
+
var _config$apiKey;
|
|
67
|
+
const config = (0, _apiKeyService.getApiConfig)();
|
|
68
|
+
console.log('✅ [WelcomeScreen] SDK initialized with API key:', (config === null || config === void 0 || (_config$apiKey = config.apiKey) === null || _config$apiKey === void 0 ? void 0 : _config$apiKey.substring(0, 8)) + '...');
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
}, [visible, onClose]);
|
|
72
|
+
|
|
73
|
+
// Animate in when visible (matching existing modal style)
|
|
74
|
+
(0, _react.useEffect)(() => {
|
|
75
|
+
console.log('🔍 WelcomeScreen visibility changed:', visible);
|
|
76
|
+
if (visible && sdkInitialized) {
|
|
77
|
+
console.log('🎬 Starting WelcomeScreen animations');
|
|
78
|
+
_reactNative.Animated.parallel([_reactNative.Animated.timing(slideAnim, {
|
|
79
|
+
toValue: 0,
|
|
80
|
+
duration: 400,
|
|
81
|
+
easing: _reactNative.Easing.out(_reactNative.Easing.cubic),
|
|
82
|
+
useNativeDriver: true
|
|
83
|
+
}), _reactNative.Animated.timing(fadeAnim, {
|
|
84
|
+
toValue: 1,
|
|
85
|
+
duration: 300,
|
|
86
|
+
useNativeDriver: true
|
|
87
|
+
})]).start(() => {
|
|
88
|
+
console.log('✅ WelcomeScreen animations completed');
|
|
89
|
+
});
|
|
90
|
+
} else {
|
|
91
|
+
console.log('🔄 Resetting WelcomeScreen animations');
|
|
92
|
+
slideAnim.setValue(1);
|
|
93
|
+
fadeAnim.setValue(0);
|
|
94
|
+
}
|
|
95
|
+
}, [visible, sdkInitialized]);
|
|
96
|
+
const handleClose = () => {
|
|
97
|
+
(0, _haptics.triggerHaptic)(_haptics.HapticType.BUTTON_PRESS);
|
|
98
|
+
|
|
99
|
+
// Reset to welcome step
|
|
100
|
+
setCurrentStep('welcome');
|
|
101
|
+
_reactNative.Animated.parallel([_reactNative.Animated.timing(slideAnim, {
|
|
102
|
+
toValue: 1,
|
|
103
|
+
duration: 300,
|
|
104
|
+
easing: _reactNative.Easing.in(_reactNative.Easing.cubic),
|
|
105
|
+
useNativeDriver: true
|
|
106
|
+
}), _reactNative.Animated.timing(fadeAnim, {
|
|
107
|
+
toValue: 0,
|
|
108
|
+
duration: 250,
|
|
109
|
+
useNativeDriver: true
|
|
110
|
+
})]).start(() => {
|
|
111
|
+
onClose();
|
|
112
|
+
});
|
|
113
|
+
};
|
|
114
|
+
const handleGetStarted = () => {
|
|
115
|
+
(0, _haptics.triggerHaptic)(_haptics.HapticType.BUTTON_PRESS);
|
|
116
|
+
// Move to sign-in step instead of closing modal
|
|
117
|
+
setCurrentStep('signin');
|
|
118
|
+
};
|
|
119
|
+
const handleEmailSubmit = async email => {
|
|
120
|
+
(0, _haptics.triggerHaptic)(_haptics.HapticType.BUTTON_PRESS);
|
|
121
|
+
setLoading(true);
|
|
122
|
+
setError('');
|
|
123
|
+
try {
|
|
124
|
+
// Check for reviewer bypass
|
|
125
|
+
if (email === 'reviewer@bypass.com') {
|
|
126
|
+
console.log('🔍 Reviewer bypass detected in WelcomeScreen');
|
|
127
|
+
try {
|
|
128
|
+
// Store the same markers as the old UI
|
|
129
|
+
await _asyncStorage.default.setItem('onairos_user', 'true');
|
|
130
|
+
await _asyncStorage.default.setItem('onairos_jwt_token', 'reviewer-bypass-token');
|
|
131
|
+
console.log('✅ Stored reviewer bypass markers for email bypass');
|
|
132
|
+
|
|
133
|
+
// Store the reviewer email and skip directly to platforms
|
|
134
|
+
setUserEmail(email);
|
|
135
|
+
setCurrentStep('platforms');
|
|
136
|
+
} catch (error) {
|
|
137
|
+
console.error('❌ Failed to store reviewer bypass markers:', error);
|
|
138
|
+
// Continue to platforms even if storage fails
|
|
139
|
+
setUserEmail(email);
|
|
140
|
+
setCurrentStep('platforms');
|
|
141
|
+
}
|
|
142
|
+
setLoading(false);
|
|
143
|
+
return;
|
|
144
|
+
}
|
|
145
|
+
console.log('📧 Sending verification code to:', email);
|
|
146
|
+
|
|
147
|
+
// Send verification code using the existing API
|
|
148
|
+
const result = await (0, _authService.sendEmailVerificationCode)(email);
|
|
149
|
+
if (result.success) {
|
|
150
|
+
console.log('✅ Verification code sent successfully');
|
|
151
|
+
// Store the email and move to verification
|
|
152
|
+
setUserEmail(email);
|
|
153
|
+
setCurrentStep('verification');
|
|
154
|
+
} else {
|
|
155
|
+
console.log('❌ Failed to send verification code:', result.message);
|
|
156
|
+
setError(result.message || 'Failed to send verification code. Please try again.');
|
|
157
|
+
}
|
|
158
|
+
} catch (error) {
|
|
159
|
+
console.error('❌ Error sending verification code:', error);
|
|
160
|
+
setError('Network error. Please check your connection and try again.');
|
|
161
|
+
} finally {
|
|
162
|
+
setLoading(false);
|
|
163
|
+
}
|
|
164
|
+
};
|
|
165
|
+
const handleGoogleSignIn = async () => {
|
|
166
|
+
(0, _haptics.triggerHaptic)(_haptics.HapticType.BUTTON_PRESS);
|
|
167
|
+
setLoading(true);
|
|
168
|
+
setError('');
|
|
169
|
+
try {
|
|
170
|
+
console.log('🔗 Initiating Google Sign-In');
|
|
171
|
+
const result = await (0, _googleAuthService.signInWithGoogle)();
|
|
172
|
+
if (result.success && result.user) {
|
|
173
|
+
console.log('✅ Google Sign-In successful:', result.user.email);
|
|
174
|
+
console.log('🔍 Is new user?', result.isNewUser);
|
|
175
|
+
|
|
176
|
+
// Store user information
|
|
177
|
+
setUserEmail(result.user.email);
|
|
178
|
+
|
|
179
|
+
// ✅ FIX: Check if user is returning (already has an account)
|
|
180
|
+
if (result.isNewUser === false) {
|
|
181
|
+
console.log('👤 Returning user detected via Google Sign-In');
|
|
182
|
+
try {
|
|
183
|
+
// Try to fetch existing connected accounts
|
|
184
|
+
const derivedUsername = result.user.username || result.user.email.split('@')[0];
|
|
185
|
+
const existingConnections = await (0, _connectedAccountsService.getConnectedAccountsSmart)(result.user.email, result.user.id, derivedUsername);
|
|
186
|
+
if (existingConnections && existingConnections.length > 0) {
|
|
187
|
+
console.log(`✅ Found ${existingConnections.length} existing connections - completing directly`);
|
|
188
|
+
|
|
189
|
+
// Get the auth token
|
|
190
|
+
const token = await _asyncStorage.default.getItem('onairos_jwt_token');
|
|
191
|
+
|
|
192
|
+
// Complete directly for returning users
|
|
193
|
+
if (onComplete) {
|
|
194
|
+
onComplete(token || 'returning-user-token', result.user.email);
|
|
195
|
+
} else {
|
|
196
|
+
onClose();
|
|
197
|
+
}
|
|
198
|
+
return;
|
|
199
|
+
} else {
|
|
200
|
+
console.log('ℹ️ No existing connections found - proceeding to platforms step');
|
|
201
|
+
}
|
|
202
|
+
} catch (connError) {
|
|
203
|
+
console.log('⚠️ Could not fetch existing connections, proceeding to platforms:', connError);
|
|
204
|
+
}
|
|
205
|
+
}
|
|
206
|
+
|
|
207
|
+
// New user or no existing connections - proceed to platforms step
|
|
208
|
+
setCurrentStep('platforms');
|
|
209
|
+
} else if (result.cancelled) {
|
|
210
|
+
console.log('ℹ️ Google Sign-In cancelled by user');
|
|
211
|
+
// Don't show error for cancellation, just reset loading
|
|
212
|
+
} else {
|
|
213
|
+
console.log('❌ Google Sign-In failed:', result.message);
|
|
214
|
+
setError(result.message || 'Google Sign-In failed. Please try again.');
|
|
215
|
+
}
|
|
216
|
+
} catch (error) {
|
|
217
|
+
console.error('❌ Unexpected Google Sign-In error:', error);
|
|
218
|
+
setError('Google Sign-In failed. Please try again.');
|
|
219
|
+
} finally {
|
|
220
|
+
setLoading(false);
|
|
221
|
+
}
|
|
222
|
+
};
|
|
223
|
+
const handleContinue = () => {
|
|
224
|
+
(0, _haptics.triggerHaptic)(_haptics.HapticType.BUTTON_PRESS);
|
|
225
|
+
// Move to verification step
|
|
226
|
+
setCurrentStep('verification');
|
|
227
|
+
};
|
|
228
|
+
const handleCodeSubmit = async code => {
|
|
229
|
+
(0, _haptics.triggerHaptic)(_haptics.HapticType.BUTTON_PRESS);
|
|
230
|
+
setLoading(true);
|
|
231
|
+
setError('');
|
|
232
|
+
try {
|
|
233
|
+
console.log('🔍 Verifying email code:', userEmail, code);
|
|
234
|
+
|
|
235
|
+
// Verify the email code using the existing API
|
|
236
|
+
const result = await (0, _authService.confirmEmailVerificationCode)(userEmail, code);
|
|
237
|
+
if (result.success) {
|
|
238
|
+
console.log('✅ Email verification successful');
|
|
239
|
+
// Move to platform connectors step
|
|
240
|
+
setCurrentStep('platforms');
|
|
241
|
+
} else {
|
|
242
|
+
console.log('❌ Email verification failed:', result.message);
|
|
243
|
+
setError(result.message || 'Invalid verification code. Please try again.');
|
|
244
|
+
}
|
|
245
|
+
} catch (error) {
|
|
246
|
+
console.error('❌ Error verifying email code:', error);
|
|
247
|
+
setError('Verification failed. Please try again.');
|
|
248
|
+
} finally {
|
|
249
|
+
setLoading(false);
|
|
250
|
+
}
|
|
251
|
+
};
|
|
252
|
+
const handleBackToSignIn = () => {
|
|
253
|
+
(0, _haptics.triggerHaptic)(_haptics.HapticType.BUTTON_PRESS);
|
|
254
|
+
setError(''); // Clear any errors when going back
|
|
255
|
+
setCurrentStep('signin');
|
|
256
|
+
};
|
|
257
|
+
const handleBackToVerification = () => {
|
|
258
|
+
(0, _haptics.triggerHaptic)(_haptics.HapticType.BUTTON_PRESS);
|
|
259
|
+
setCurrentStep('verification');
|
|
260
|
+
};
|
|
261
|
+
const handleResendCode = async () => {
|
|
262
|
+
(0, _haptics.triggerHaptic)(_haptics.HapticType.BUTTON_PRESS);
|
|
263
|
+
setLoading(true);
|
|
264
|
+
setError('');
|
|
265
|
+
try {
|
|
266
|
+
console.log('🔄 Resending verification code to:', userEmail);
|
|
267
|
+
|
|
268
|
+
// Resend verification code using the existing API
|
|
269
|
+
const result = await (0, _authService.sendEmailVerificationCode)(userEmail);
|
|
270
|
+
if (result.success) {
|
|
271
|
+
console.log('✅ Verification code resent successfully');
|
|
272
|
+
// Could show a success message here if needed
|
|
273
|
+
} else {
|
|
274
|
+
console.log('❌ Failed to resend verification code:', result.message);
|
|
275
|
+
setError(result.message || 'Failed to resend verification code. Please try again.');
|
|
276
|
+
}
|
|
277
|
+
} catch (error) {
|
|
278
|
+
console.error('❌ Error resending verification code:', error);
|
|
279
|
+
setError('Network error. Please check your connection and try again.');
|
|
280
|
+
} finally {
|
|
281
|
+
setLoading(false);
|
|
282
|
+
}
|
|
283
|
+
};
|
|
284
|
+
const handlePlatformUpdate = connectedPlatforms => {
|
|
285
|
+
(0, _haptics.triggerHaptic)(_haptics.HapticType.BUTTON_PRESS);
|
|
286
|
+
console.log('Connected platforms:', connectedPlatforms);
|
|
287
|
+
|
|
288
|
+
// Complete the onboarding flow
|
|
289
|
+
if (onComplete) {
|
|
290
|
+
// Return the stored token and email
|
|
291
|
+
_asyncStorage.default.getItem('onairos_jwt_token').then(token => {
|
|
292
|
+
onComplete(token || 'onboarding-complete-token', userEmail);
|
|
293
|
+
});
|
|
294
|
+
} else {
|
|
295
|
+
onClose();
|
|
296
|
+
}
|
|
297
|
+
};
|
|
298
|
+
const handlePlatformSkip = () => {
|
|
299
|
+
(0, _haptics.triggerHaptic)(_haptics.HapticType.BUTTON_PRESS);
|
|
300
|
+
// Skip platform connections and complete onboarding
|
|
301
|
+
if (onComplete) {
|
|
302
|
+
// Return a skip token
|
|
303
|
+
onComplete('onboarding-skipped-token', userEmail);
|
|
304
|
+
} else {
|
|
305
|
+
onClose();
|
|
306
|
+
}
|
|
307
|
+
};
|
|
308
|
+
const handleReviewerBypass = async () => {
|
|
309
|
+
console.log('🔍 Reviewer bypass triggered from platforms screen');
|
|
310
|
+
(0, _haptics.triggerHaptic)(_haptics.HapticType.BUTTON_PRESS);
|
|
311
|
+
try {
|
|
312
|
+
// Store the same markers as the old UI
|
|
313
|
+
await _asyncStorage.default.setItem('onairos_user', 'true');
|
|
314
|
+
await _asyncStorage.default.setItem('onairos_jwt_token', 'reviewer-bypass-token');
|
|
315
|
+
console.log('✅ Stored reviewer bypass markers for new UI');
|
|
316
|
+
|
|
317
|
+
// Complete the onboarding with bypass token
|
|
318
|
+
if (onComplete) {
|
|
319
|
+
onComplete('reviewer-bypass-token', 'reviewer@apple.com');
|
|
320
|
+
} else {
|
|
321
|
+
onClose();
|
|
322
|
+
}
|
|
323
|
+
} catch (error) {
|
|
324
|
+
console.error('❌ Failed to store reviewer bypass markers:', error);
|
|
325
|
+
// Still complete the onboarding even if storage fails
|
|
326
|
+
if (onComplete) {
|
|
327
|
+
onComplete('reviewer-bypass-token', 'reviewer@apple.com');
|
|
328
|
+
} else {
|
|
329
|
+
onClose();
|
|
330
|
+
}
|
|
331
|
+
}
|
|
332
|
+
};
|
|
333
|
+
const handleBackdropPress = () => {
|
|
334
|
+
// Optional: allow closing by tapping backdrop
|
|
335
|
+
handleClose();
|
|
336
|
+
};
|
|
337
|
+
|
|
338
|
+
// 🔒 CRITICAL: Block rendering if SDK is not initialized or not visible
|
|
339
|
+
if (!visible || !sdkInitialized) {
|
|
340
|
+
return null;
|
|
341
|
+
}
|
|
342
|
+
return /*#__PURE__*/_react.default.createElement(_reactNative.Modal, {
|
|
343
|
+
visible: visible && sdkInitialized,
|
|
344
|
+
transparent: true,
|
|
345
|
+
animationType: "slide" // Use built-in slide animation like existing modal
|
|
346
|
+
,
|
|
347
|
+
onRequestClose: handleClose,
|
|
348
|
+
statusBarTranslucent: true
|
|
349
|
+
}, /*#__PURE__*/_react.default.createElement(_reactNative.StatusBar, {
|
|
350
|
+
backgroundColor: "rgba(0,0,0,0.5)",
|
|
351
|
+
barStyle: "light-content"
|
|
352
|
+
}), /*#__PURE__*/_react.default.createElement(_reactNative.Animated.View, {
|
|
353
|
+
style: [styles.backdrop, {
|
|
354
|
+
opacity: fadeAnim
|
|
355
|
+
}]
|
|
356
|
+
}, /*#__PURE__*/_react.default.createElement(_reactNative.TouchableWithoutFeedback, {
|
|
357
|
+
onPress: handleBackdropPress
|
|
358
|
+
}, /*#__PURE__*/_react.default.createElement(_reactNative.View, {
|
|
359
|
+
style: styles.backdropTouchable
|
|
360
|
+
}))), /*#__PURE__*/_react.default.createElement(_reactNative.Animated.View, {
|
|
361
|
+
style: [styles.modalContainer, {
|
|
362
|
+
transform: [{
|
|
363
|
+
translateY: slideAnim.interpolate({
|
|
364
|
+
inputRange: [0, 1],
|
|
365
|
+
outputRange: [0, 600] // Slide from bottom
|
|
366
|
+
})
|
|
367
|
+
}]
|
|
368
|
+
}]
|
|
369
|
+
}, /*#__PURE__*/_react.default.createElement(_ModalSheet.default, {
|
|
370
|
+
topPadding: 0
|
|
371
|
+
}, /*#__PURE__*/_react.default.createElement(_ModalHeader.default, {
|
|
372
|
+
onClose: handleClose,
|
|
373
|
+
onBack: currentStep === 'verification' ? handleBackToSignIn : handleBackToVerification,
|
|
374
|
+
showBackButton: currentStep === 'verification' || currentStep === 'platforms'
|
|
375
|
+
}), currentStep === 'welcome' && /*#__PURE__*/_react.default.createElement(_reactNative.View, {
|
|
376
|
+
style: styles.content
|
|
377
|
+
}, /*#__PURE__*/_react.default.createElement(_reactNative.View, {
|
|
378
|
+
style: styles.brandMarkContainer
|
|
379
|
+
}, /*#__PURE__*/_react.default.createElement(_BrandMark.default, null)), /*#__PURE__*/_react.default.createElement(_reactNative.View, {
|
|
380
|
+
style: styles.headingContainer
|
|
381
|
+
}, /*#__PURE__*/_react.default.createElement(_HeadingGroup.default, null)), /*#__PURE__*/_react.default.createElement(_reactNative.View, {
|
|
382
|
+
style: styles.bodyContainer
|
|
383
|
+
}, /*#__PURE__*/_react.default.createElement(_BodyText.default, null)), /*#__PURE__*/_react.default.createElement(_reactNative.View, {
|
|
384
|
+
style: styles.spacer
|
|
385
|
+
}), /*#__PURE__*/_react.default.createElement(_reactNative.View, {
|
|
386
|
+
style: styles.buttonContainer
|
|
387
|
+
}, /*#__PURE__*/_react.default.createElement(_PrimaryButton.default, {
|
|
388
|
+
label: "Get Started",
|
|
389
|
+
onPress: handleGetStarted,
|
|
390
|
+
testID: "welcome-get-started-button"
|
|
391
|
+
}))), currentStep === 'signin' && /*#__PURE__*/_react.default.createElement(_SignInStep.default, {
|
|
392
|
+
onEmailSubmit: handleEmailSubmit,
|
|
393
|
+
onGoogleSignIn: handleGoogleSignIn,
|
|
394
|
+
onContinue: handleContinue,
|
|
395
|
+
loading: loading,
|
|
396
|
+
error: error
|
|
397
|
+
}), currentStep === 'verification' && /*#__PURE__*/_react.default.createElement(_VerificationStep.default, {
|
|
398
|
+
email: userEmail,
|
|
399
|
+
onCodeSubmit: handleCodeSubmit,
|
|
400
|
+
onBack: handleBackToSignIn,
|
|
401
|
+
loading: loading,
|
|
402
|
+
error: error,
|
|
403
|
+
onResendCode: handleResendCode
|
|
404
|
+
}), currentStep === 'platforms' && /*#__PURE__*/_react.default.createElement(_reactNative.View, {
|
|
405
|
+
style: styles.content
|
|
406
|
+
}, /*#__PURE__*/_react.default.createElement(_reactNative.View, {
|
|
407
|
+
style: styles.headingContainer
|
|
408
|
+
}, /*#__PURE__*/_react.default.createElement(_HeadingGroup.default, null)), /*#__PURE__*/_react.default.createElement(_reactNative.View, {
|
|
409
|
+
style: styles.bodyContainer
|
|
410
|
+
}, /*#__PURE__*/_react.default.createElement(_BodyText.default, null)), /*#__PURE__*/_react.default.createElement(_reactNative.View, {
|
|
411
|
+
style: styles.spacer
|
|
412
|
+
}), /*#__PURE__*/_react.default.createElement(_reactNative.View, {
|
|
413
|
+
style: styles.buttonContainer
|
|
414
|
+
}, /*#__PURE__*/_react.default.createElement(_PrimaryButton.default, {
|
|
415
|
+
label: "Complete Setup",
|
|
416
|
+
onPress: () => handlePlatformUpdate([]),
|
|
417
|
+
testID: "complete-setup-button"
|
|
418
|
+
}))))));
|
|
419
|
+
};
|
|
420
|
+
const styles = _reactNative.StyleSheet.create({
|
|
421
|
+
backdrop: {
|
|
422
|
+
..._reactNative.StyleSheet.absoluteFillObject,
|
|
423
|
+
backgroundColor: 'transparent' // Remove grey overlay
|
|
424
|
+
},
|
|
425
|
+
backdropTouchable: {
|
|
426
|
+
flex: 1
|
|
427
|
+
},
|
|
428
|
+
modalContainer: {
|
|
429
|
+
position: 'absolute',
|
|
430
|
+
bottom: 0,
|
|
431
|
+
left: 0,
|
|
432
|
+
right: 0,
|
|
433
|
+
height: '85%' // Take most of the screen
|
|
434
|
+
},
|
|
435
|
+
content: {
|
|
436
|
+
flex: 1,
|
|
437
|
+
alignItems: 'center',
|
|
438
|
+
paddingTop: 20
|
|
439
|
+
},
|
|
440
|
+
brandMarkContainer: {
|
|
441
|
+
marginBottom: 32
|
|
442
|
+
},
|
|
443
|
+
headingContainer: {
|
|
444
|
+
marginBottom: 24
|
|
445
|
+
},
|
|
446
|
+
bodyContainer: {
|
|
447
|
+
marginBottom: 32,
|
|
448
|
+
width: '100%'
|
|
449
|
+
},
|
|
450
|
+
spacer: {
|
|
451
|
+
flex: 1,
|
|
452
|
+
minHeight: 20 // Ensure some minimum space
|
|
453
|
+
},
|
|
454
|
+
buttonContainer: {
|
|
455
|
+
width: '100%',
|
|
456
|
+
paddingHorizontal: 24,
|
|
457
|
+
paddingBottom: 20
|
|
458
|
+
}
|
|
459
|
+
});
|
|
460
|
+
var _default = exports.default = WelcomeScreen;
|
|
461
|
+
//# sourceMappingURL=WelcomeScreen.js.map
|
|
@@ -1,8 +1,37 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.default = void 0;
|
|
7
|
+
var React = _interopRequireWildcard(require("react"));
|
|
8
|
+
var _reactNativeSvg = _interopRequireWildcard(require("react-native-svg"));
|
|
9
|
+
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); }
|
|
10
|
+
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
|
|
11
|
+
/* SVGR has dropped some elements not supported by react-native-svg: filter */
|
|
12
|
+
|
|
13
|
+
const SvgBasicproficon = props => /*#__PURE__*/React.createElement(_reactNativeSvg.default, _extends({
|
|
14
|
+
width: 32,
|
|
15
|
+
height: 32,
|
|
16
|
+
fill: "none",
|
|
17
|
+
viewBox: "0 0 32 32"
|
|
18
|
+
}, props), /*#__PURE__*/React.createElement(_reactNativeSvg.G, {
|
|
19
|
+
filter: "url(#basicproficon_svg__a)"
|
|
20
|
+
}, /*#__PURE__*/React.createElement(_reactNativeSvg.Rect, {
|
|
21
|
+
width: 32,
|
|
22
|
+
height: 32,
|
|
23
|
+
fill: "#ECECED",
|
|
24
|
+
rx: 16
|
|
25
|
+
}), /*#__PURE__*/React.createElement(_reactNativeSvg.G, {
|
|
26
|
+
filter: "url(#basicproficon_svg__b)"
|
|
27
|
+
}, /*#__PURE__*/React.createElement(_reactNativeSvg.Path, {
|
|
28
|
+
fill: "#1F242F",
|
|
29
|
+
d: "M16 15.746c.952 0 1.776-.341 2.45-1.015a3.35 3.35 0 0 0 1.014-2.449c0-.952-.341-1.776-1.015-2.45A3.35 3.35 0 0 0 16 8.819c-.952 0-1.776.341-2.45 1.015a3.35 3.35 0 0 0-1.014 2.449c0 .952.341 1.776 1.015 2.45A3.35 3.35 0 0 0 16 15.745"
|
|
30
|
+
})), /*#__PURE__*/React.createElement(_reactNativeSvg.G, {
|
|
31
|
+
filter: "url(#basicproficon_svg__c)"
|
|
32
|
+
}, /*#__PURE__*/React.createElement(_reactNativeSvg.Path, {
|
|
33
|
+
fill: "#1F242F",
|
|
34
|
+
d: "M21.97 19.859a9 9 0 0 0-.116-.909 7 7 0 0 0-.223-.914 4.5 4.5 0 0 0-.376-.852 3.2 3.2 0 0 0-.566-.738 2.5 2.5 0 0 0-.814-.511 2.8 2.8 0 0 0-1.039-.188c-.147 0-.289.06-.563.239l-.586.378q-.285.18-.76.334c-.307.1-.62.15-.927.15q-.464 0-.929-.15a3.4 3.4 0 0 1-.758-.334q-.329-.21-.587-.379c-.274-.178-.416-.238-.563-.238q-.563 0-1.039.188c-.316.125-.59.297-.813.511a3.2 3.2 0 0 0-.567.738 4.5 4.5 0 0 0-.375.852c-.09.281-.165.589-.224.914a9 9 0 0 0-.116.91c-.02.274-.029.56-.029.849 0 .75.239 1.358.71 1.806.464.443 1.08.667 1.827.667h6.926c.748 0 1.363-.224 1.827-.667.471-.448.71-1.055.71-1.807q0-.436-.03-.85"
|
|
35
|
+
}))), /*#__PURE__*/React.createElement(_reactNativeSvg.Defs, null));
|
|
36
|
+
var _default = exports.default = SvgBasicproficon;
|
|
37
|
+
//# sourceMappingURL=Basicproficon.js.map
|