@onairos/react-native 3.7.2 → 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/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/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
|
-
Object[_0x4a35(0x0)](exports,_0x4a35(0x1),{'value':!![]}),exports[_0x4a35(0x2)]=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 _0x4a35(_0x1a568c,_0x4a3536){_0x1a568c=_0x1a568c-0x0;const _0x5d2148=_0x1a56();let _0xc62c2=_0x5d2148[_0x1a568c];return _0xc62c2;}function _interopRequireDefault(_0xefac21){return _0xefac21&&_0xefac21[_0x4a35(0x1)]?_0xefac21:{'default':_0xefac21};}function _interopRequireWildcard(_0x5ca470,_0xc9db24){const _0x1cbc6b={'tqBfl':_0x4a35(0x3),'NKopw':function(_0x3f9cd1,_0xa7d0c9){return _0x3f9cd1(_0xa7d0c9);},'VeQDK':function(_0x25dcc6,_0x28795b){return _0x25dcc6===_0x28795b;},'dzrJG':'LIgiI','kXUpP':function(_0x4b2351,_0x30ae80){return _0x4b2351&&_0x30ae80;},'kwEKu':function(_0x378964,_0x5b1462){return _0x378964!=_0x5b1462;},'sTqzh':_0x4a35(0x4),'YGBtI':function(_0x56a1c9,_0x42848d){return _0x56a1c9!==_0x42848d;},'KhYQK':_0x4a35(0x2),'KRwVd':function(_0x69bc4e,_0x25530b,_0x3ad4ee,_0x231d84){return _0x69bc4e(_0x25530b,_0x3ad4ee,_0x231d84);}};if(_0x1cbc6b[_0x4a35(0x5)]==typeof WeakMap)var _0x426263=new WeakMap(),_0x564698=new WeakMap();return(_interopRequireWildcard=function(_0x231aff,_0x4d5ab0){if(_0x1cbc6b['VeQDK'](_0x1cbc6b['dzrJG'],_0x1cbc6b[_0x4a35(0x6)])){if(_0x1cbc6b[_0x4a35(0x7)](!_0x4d5ab0,_0x231aff)&&_0x231aff[_0x4a35(0x1)])return _0x231aff;var _0x293c12,_0x2290e7,_0x1091d8={'__proto__':null,'default':_0x231aff};if(_0x1cbc6b['VeQDK'](null,_0x231aff)||_0x4a35(0x8)!=typeof _0x231aff&&_0x1cbc6b['kwEKu'](_0x1cbc6b[_0x4a35(0x5)],typeof _0x231aff))return _0x1091d8;if(_0x293c12=_0x4d5ab0?_0x564698:_0x426263){if(_0x293c12[_0x4a35(0x9)](_0x231aff))return _0x293c12['get'](_0x231aff);_0x293c12[_0x4a35(0xa)](_0x231aff,_0x1091d8);}for(const _0x1796a7 in _0x231aff)_0x1cbc6b[_0x4a35(0xb)](_0x1cbc6b['KhYQK'],_0x1796a7)&&{}[_0x4a35(0xc)][_0x4a35(0xd)](_0x231aff,_0x1796a7)&&((_0x2290e7=(_0x293c12=Object['defineProperty'])&&Object[_0x4a35(0xe)](_0x231aff,_0x1796a7))&&(_0x2290e7[_0x4a35(0xf)]||_0x2290e7[_0x4a35(0xa)])?_0x1cbc6b['KRwVd'](_0x293c12,_0x1091d8,_0x1796a7,_0x2290e7):_0x1091d8[_0x1796a7]=_0x231aff[_0x1796a7]);return _0x1091d8;}else _0x5d58f2[_0x4a35(0x10)](_0x1cbc6b['tqBfl'],_0x506aa0[_0x4a35(0x11)]),_0x1cbc6b['NKopw'](_0x20d4ca,_0x1eed97[_0x4a35(0x11)]||_0x4a35(0x12));})(_0x5ca470,_0xc9db24);}const WelcomeScreen=({visible:_0x420f04,onClose:_0x36eca7,onComplete:_0x9f9a44})=>{const _0x292c47={'WFhAx':function(_0x5ef7f5){return _0x5ef7f5();},'QFjJi':_0x4a35(0x13),'Jwooc':function(_0x3d7fca,_0x1f03cd){return _0x3d7fca(_0x1f03cd);},'OgUqB':_0x4a35(0x14),'kchSG':function(_0x3e6f19,_0x21a420,_0x46ebc8){return _0x3e6f19(_0x21a420,_0x46ebc8);},'PjKJU':'reviewer@apple.com','pKfKu':function(_0x5cf070,_0x26ef5c){return _0x5cf070===_0x26ef5c;},'rzdpw':function(_0x26e9e3,_0x4faa7b){return _0x26e9e3!=_0x4faa7b;},'Larvt':_0x4a35(0x8),'ruQos':function(_0x42abd6,_0x416f54){return _0x42abd6!==_0x416f54;},'NyBUL':_0x4a35(0x2),'oNuXm':function(_0x459b7c,_0x58ceac,_0x33b900,_0x527055){return _0x459b7c(_0x58ceac,_0x33b900,_0x527055);},'lHwqo':function(_0x4ef523,_0x533768){return _0x4ef523!==_0x533768;},'ffwBX':_0x4a35(0x15),'AJdwJ':_0x4a35(0x16),'kudho':_0x4a35(0x17),'JJtnb':_0x4a35(0x18),'kOTKs':function(_0x4e277d,_0x24c71e){return _0x4e277d===_0x24c71e;},'YpJBw':'ForUs','LMGtl':_0x4a35(0x19),'lacXk':function(_0x99d4da,_0x593d85){return _0x99d4da(_0x593d85);},'dtnSM':_0x4a35(0x1a),'whplZ':'✅\x20WelcomeScreen\x20animations\x20completed','jKOqe':function(_0x3580ab,_0x1ecb54){return _0x3580ab(_0x1ecb54);},'SMdDI':_0x4a35(0x1b),'BlHqm':function(_0x2d0736,_0x105e23){return _0x2d0736&&_0x105e23;},'DfojG':_0x4a35(0x1c),'NcZTv':_0x4a35(0x1d),'frdxU':function(_0x5264a4,_0x298f37){return _0x5264a4===_0x298f37;},'NaAkK':'YrlqL','zjfPN':'🔄\x20Resetting\x20WelcomeScreen\x20animations','WJbXB':_0x4a35(0x1e),'zvtKC':function(_0x54b030){return _0x54b030();},'UQnbZ':_0x4a35(0x1f),'Axqhi':_0x4a35(0x20),'ZZsTq':_0x4a35(0x21),'tQFjN':function(_0x508db3,_0x3cb36c){return _0x508db3!==_0x3cb36c;},'JsqwC':_0x4a35(0x22),'wOYLd':_0x4a35(0x23),'qKrYq':_0x4a35(0x24),'mPKak':function(_0x2700e9,_0x4246d7){return _0x2700e9===_0x4246d7;},'FIgQE':_0x4a35(0x25),'YQilS':function(_0x558938,_0x49daf8){return _0x558938(_0x49daf8);},'mgOPh':_0x4a35(0x26),'afNBq':function(_0x51e64f,_0x421adb){return _0x51e64f(_0x421adb);},'nOHyX':function(_0x3f5608,_0x4a5f94){return _0x3f5608===_0x4a5f94;},'WaRrk':'reviewer@bypass.com','JRHLw':_0x4a35(0x27),'YItCe':_0x4a35(0x28),'BQTjO':_0x4a35(0x29),'fNYoY':_0x4a35(0x2a),'cJEIh':_0x4a35(0x2b),'CVPUt':_0x4a35(0x2c),'BQIsR':'❌\x20Failed\x20to\x20store\x20reviewer\x20bypass\x20markers:','OdLsZ':function(_0x145b92,_0x33c949){return _0x145b92(_0x33c949);},'YTPFi':_0x4a35(0x2d),'RUHVi':_0x4a35(0x2e),'myVbK':function(_0xb597aa,_0x5a4a66){return _0xb597aa(_0x5a4a66);},'oIESC':function(_0x59406e,_0x6d4df9){return _0x59406e(_0x6d4df9);},'wkpRS':_0x4a35(0x2f),'LyeUk':_0x4a35(0x30),'zTNwb':function(_0x1a7701,_0x446fbd){return _0x1a7701!==_0x446fbd;},'XXQVT':_0x4a35(0x31),'tVLAI':'kjagO','INqdf':'ℹ️\x20No\x20existing\x20connections\x20found\x20-\x20proceeding\x20to\x20platforms\x20step','YAlwO':_0x4a35(0x32),'OvqmM':function(_0x4c86ad,_0x4a2ff4){return _0x4c86ad(_0x4a2ff4);},'Dlraf':'❌\x20Error\x20verifying\x20email\x20code:','tNrPk':'Verification\x20failed.\x20Please\x20try\x20again.','lsyxw':function(_0x16587f,_0x37cd21){return _0x16587f||_0x37cd21;},'OGxUq':function(_0x9d1b9){return _0x9d1b9();},'zmeSN':function(_0x1b3783,_0x4fa5ca){return _0x1b3783(_0x4fa5ca);},'mnLmM':function(_0x2ec294,_0xe20094){return _0x2ec294(_0xe20094);},'RgImM':_0x4a35(0x33),'xiyYz':'qBoXj','xQTKI':_0x4a35(0x34),'cBxDE':_0x4a35(0x35),'CHroW':_0x4a35(0x36),'JrkIS':function(_0x2c34ef,_0x22ce27){return _0x2c34ef(_0x22ce27);},'UpsaV':function(_0x1d5a4a,_0x3919cf){return _0x1d5a4a===_0x3919cf;},'sZgvS':_0x4a35(0x37),'YRgCO':_0x4a35(0x38),'nPIHp':function(_0x4a5f23,_0xdab7ef){return _0x4a5f23>_0xdab7ef;},'dnpyf':'NhJrd','NgyIh':_0x4a35(0x39),'FlmwZ':function(_0x56efee,_0x61af6a,_0x1beda3){return _0x56efee(_0x61af6a,_0x1beda3);},'nNBgo':function(_0x14aef4,_0x97adc0){return _0x14aef4||_0x97adc0;},'EthWU':'cJtkI','dMQso':_0x4a35(0x3a),'NqqvT':function(_0x312430,_0x51226c){return _0x312430(_0x51226c);},'pHZPz':function(_0x469235,_0x52e4a4){return _0x469235!==_0x52e4a4;},'gozXU':_0x4a35(0x3b),'zTxhU':'xBGrG','oDBNL':_0x4a35(0x3c),'QWEAu':function(_0x37d766,_0x4c2a7e){return _0x37d766(_0x4c2a7e);},'YVmmp':'Google\x20Sign-In\x20failed.\x20Please\x20try\x20again.','arhcy':_0x4a35(0x3d),'hNyOk':'❌\x20Unexpected\x20Google\x20Sign-In\x20error:','dVNGx':function(_0x50489f,_0x1539c1){return _0x50489f(_0x1539c1);},'MXtmX':function(_0x51afdb,_0x18e453){return _0x51afdb(_0x18e453);},'POoJD':function(_0x54e8ab,_0x50a7e0){return _0x54e8ab(_0x50a7e0);},'Ajzro':_0x4a35(0x3e),'csRoA':function(_0x585747,_0x2e41f5){return _0x585747!==_0x2e41f5;},'sILAq':_0x4a35(0x3f),'fNmIp':'✅\x20Email\x20verification\x20successful','UmMGz':function(_0x1a2df1,_0x26c136){return _0x1a2df1(_0x26c136);},'XMdzL':_0x4a35(0x3),'TvYzV':function(_0x5a2daa,_0x1df4bd){return _0x5a2daa(_0x1df4bd);},'fwgcl':_0x4a35(0x40),'ckpNt':_0x4a35(0x41),'tKqiG':function(_0x106892,_0x2dc6ff){return _0x106892(_0x2dc6ff);},'qcASG':function(_0x5ab634,_0x493f32){return _0x5ab634(_0x493f32);},'MnKQW':function(_0x43b75a,_0x4c5a80){return _0x43b75a(_0x4c5a80);},'Mqnge':_0x4a35(0x42),'FyZIA':_0x4a35(0x43),'MMQDM':'hCQhJ','GICei':function(_0x234762,_0x1f6a94){return _0x234762(_0x1f6a94);},'ioqEg':function(_0xd2934a,_0x5d048d){return _0xd2934a(_0x5d048d);},'sJCmn':function(_0x50e13e,_0x193ae9){return _0x50e13e!==_0x193ae9;},'cHJAt':_0x4a35(0x44),'QJILZ':_0x4a35(0x45),'YGUYn':_0x4a35(0x46),'JHZJi':_0x4a35(0x47),'FJciE':_0x4a35(0x48),'HDSOl':_0x4a35(0x49),'DwQkf':function(_0x4ed743,_0x170d31){return _0x4ed743(_0x170d31);},'YMaxz':function(_0x4dc3fc,_0x1b72d5){return _0x4dc3fc(_0x1b72d5);},'irMdw':_0x4a35(0x4a),'emSkz':function(_0x2ba5b8,_0x4852e){return _0x2ba5b8||_0x4852e;},'edkPj':function(_0x430582,_0x58b5c3){return _0x430582(_0x58b5c3);},'DdcTl':'eixTV','gmYNN':function(_0x2ef0,_0x279a58){return _0x2ef0(_0x279a58);},'jZVbP':_0x4a35(0x4b),'ZqOLt':_0x4a35(0x4c),'IpZeu':function(_0x436417){return _0x436417();},'asgCl':function(_0x23bbd0){return _0x23bbd0();},'fXZYd':'slide','mNOVT':function(_0x186b6c,_0x428680){return _0x186b6c===_0x428680;},'tQmfG':_0x4a35(0x4d),'NpjDn':_0x4a35(0x4e),'kyeFr':function(_0x3aa567,_0x28de89){return _0x3aa567===_0x28de89;},'lvNLa':function(_0x460be0,_0x5ccca2){return _0x460be0===_0x5ccca2;},'TSstt':_0x4a35(0x4f)},[_0x31b935,_0x20e97e]=(0x0,_react[_0x4a35(0x50)])(_0x292c47[_0x4a35(0x51)]),[_0x5079fe,_0x47486]=(0x0,_react[_0x4a35(0x50)])(''),[_0xd8487e,_0x6a7175]=(0x0,_react[_0x4a35(0x50)])(![]),[_0x45f402,_0x9c6fd9]=(0x0,_react[_0x4a35(0x50)])(''),[_0x4801ba,_0x24bd97]=(0x0,_react[_0x4a35(0x50)])(![]),_0x22cf3b=(0x0,_react[_0x4a35(0x52)])(new _reactNative[(_0x4a35(0x53))][(_0x4a35(0x54))](0x1))['current'],_0x4d2fc4=(0x0,_react[_0x4a35(0x52)])(new _reactNative[(_0x4a35(0x53))][(_0x4a35(0x54))](0x0))[_0x4a35(0x55)];(0x0,_react[_0x4a35(0x56)])(()=>{const _0x51d4d4={'WrqZj':_0x292c47[_0x4a35(0x57)],'DSIwb':function(_0x274f52,_0xc2806b){return _0x292c47[_0x4a35(0x58)](_0x274f52,_0xc2806b);},'idJOY':_0x292c47[_0x4a35(0x59)],'VEbJy':function(_0x137934,_0x198e8f,_0x138db7){return _0x292c47[_0x4a35(0x5a)](_0x137934,_0x198e8f,_0x138db7);},'MkcOb':_0x292c47[_0x4a35(0x5b)],'ktWPF':function(_0x40516e,_0x1cdd23){return _0x292c47[_0x4a35(0x5c)](_0x40516e,_0x1cdd23);},'lpWjo':function(_0xca2850,_0x55fc38){return _0x292c47[_0x4a35(0x5d)](_0xca2850,_0x55fc38);},'reVMZ':_0x292c47[_0x4a35(0x5e)],'GiTRH':function(_0x3f9c2e,_0x59b7b2){return _0x292c47[_0x4a35(0x5f)](_0x3f9c2e,_0x59b7b2);},'BQJcI':_0x292c47[_0x4a35(0x60)],'oxhQI':function(_0x1268c1,_0x3cf40d,_0x4de589,_0x5330c9){return _0x292c47[_0x4a35(0x61)](_0x1268c1,_0x3cf40d,_0x4de589,_0x5330c9);}};if(_0x292c47[_0x4a35(0x62)](_0x4a35(0x63),_0x4a35(0x63)))_0x1739cc[_0x4a35(0x64)](_0x51d4d4[_0x4a35(0x65)],_0x398305),_0x51d4d4[_0x4a35(0x66)](_0x364132,_0x51d4d4[_0x4a35(0x67)]);else{if(_0x420f04){if(_0x292c47[_0x4a35(0x68)]===_0x292c47['ffwBX']){const _0x3c72ae=(0x0,_apiKeyService['isApiKeyInitialized'])();_0x292c47[_0x4a35(0x58)](_0x24bd97,_0x3c72ae);if(!_0x3c72ae){const _0x12803e=_0x292c47[_0x4a35(0x69)];console[_0x4a35(0x64)](_0x292c47['kudho'],_0x12803e),_reactNative[_0x4a35(0x6a)][_0x4a35(0x6b)](_0x292c47['JJtnb'],_0x4a35(0x6c),[{'text':'OK','onPress':()=>{_0x292c47[_0x4a35(0x6d)](_0x36eca7);}}]);}else{if(_0x292c47[_0x4a35(0x6e)](_0x292c47['YpJBw'],_0x4a35(0x6f))){var _0x1123a4;const _0x192250=(0x0,_apiKeyService[_0x4a35(0x70)])();console[_0x4a35(0x10)]('✅\x20[WelcomeScreen]\x20SDK\x20initialized\x20with\x20API\x20key:',(_0x192250===null||_0x292c47[_0x4a35(0x6e)](_0x192250,void 0x0)||_0x292c47['kOTKs'](_0x1123a4=_0x192250[_0x4a35(0x71)],null)||_0x1123a4===void 0x0?void 0x0:_0x1123a4[_0x4a35(0x72)](0x0,0x8))+_0x292c47[_0x4a35(0x73)]);}else _0x51d4d4['VEbJy'](_0xed5645,_0x4a35(0x29),_0x51d4d4[_0x4a35(0x74)]);}}else{if(!_0x4f2e7a&&_0x5ac4dd&&_0x279adc['__esModule'])return _0xcf8aa;var _0x56007f,_0xc37d4f,_0x21950b={'__proto__':null,'default':_0x363e8f};if(_0x51d4d4[_0x4a35(0x75)](null,_0xcf2e12)||_0x51d4d4[_0x4a35(0x76)](_0x51d4d4[_0x4a35(0x77)],typeof _0xacc1a6)&&_0x4a35(0x4)!=typeof _0x3f2ac7)return _0x21950b;if(_0x56007f=_0x43b859?_0x16e6cc:_0x436717){if(_0x56007f[_0x4a35(0x9)](_0x260345))return _0x56007f[_0x4a35(0xf)](_0x1d960e);_0x56007f[_0x4a35(0xa)](_0x339dad,_0x21950b);}for(const _0x595454 in _0x5d8f89)_0x51d4d4[_0x4a35(0x78)](_0x51d4d4[_0x4a35(0x79)],_0x595454)&&{}[_0x4a35(0xc)][_0x4a35(0xd)](_0x4107f1,_0x595454)&&((_0xc37d4f=(_0x56007f=_0x190dc7['defineProperty'])&&_0x1321f5[_0x4a35(0xe)](_0x59fac3,_0x595454))&&(_0xc37d4f[_0x4a35(0xf)]||_0xc37d4f['set'])?_0x51d4d4[_0x4a35(0x7a)](_0x56007f,_0x21950b,_0x595454,_0xc37d4f):_0x21950b[_0x595454]=_0x56d64e[_0x595454]);return _0x21950b;}}}},[_0x420f04,_0x36eca7]),(0x0,_react[_0x4a35(0x56)])(()=>{const _0x54d527={'yVmKf':_0x292c47['whplZ'],'kWvfl':function(_0x45c1af,_0xb30283){return _0x292c47[_0x4a35(0x7b)](_0x45c1af,_0xb30283);}};console['log'](_0x292c47['SMdDI'],_0x420f04),_0x292c47[_0x4a35(0x7c)](_0x420f04,_0x4801ba)?_0x292c47[_0x4a35(0x7d)]!=='uccmo'?(console['log'](_0x292c47[_0x4a35(0x7e)]),_reactNative[_0x4a35(0x53)][_0x4a35(0x7f)]([_reactNative['Animated'][_0x4a35(0x80)](_0x22cf3b,{'toValue':0x0,'duration':0x190,'easing':_reactNative[_0x4a35(0x81)]['out'](_reactNative[_0x4a35(0x81)][_0x4a35(0x82)]),'useNativeDriver':!![]}),_reactNative[_0x4a35(0x53)][_0x4a35(0x80)](_0x4d2fc4,{'toValue':0x1,'duration':0x12c,'useNativeDriver':!![]})])[_0x4a35(0x83)](()=>{console[_0x4a35(0x10)](_0x54d527[_0x4a35(0x84)]);})):_0x54d527[_0x4a35(0x85)](_0x2dd173,![]):_0x292c47[_0x4a35(0x86)](_0x292c47[_0x4a35(0x87)],_0x292c47[_0x4a35(0x87)])?(console['log'](_0x292c47[_0x4a35(0x88)]),_0x22cf3b[_0x4a35(0x89)](0x1),_0x4d2fc4[_0x4a35(0x89)](0x0)):((0x0,_0x541784[_0x4a35(0x8a)])(_0x26d20d[_0x4a35(0x8b)]['BUTTON_PRESS']),_0x292c47[_0x4a35(0x8c)](_0x31adeb,_0x292c47[_0x4a35(0x8d)]));},[_0x420f04,_0x4801ba]);const _0x5e2b8b=()=>{const _0x25b17d={'ftNIZ':function(_0x47ea87){return _0x292c47[_0x4a35(0x8e)](_0x47ea87);},'zbhwX':function(_0x67d269,_0x21e7e1){return _0x67d269||_0x21e7e1;},'cdtwM':_0x292c47[_0x4a35(0x8f)],'uHAqi':_0x292c47[_0x4a35(0x90)],'QoUnk':_0x292c47[_0x4a35(0x91)],'VKXVo':function(_0x16608c){return _0x292c47[_0x4a35(0x6d)](_0x16608c);}};_0x292c47[_0x4a35(0x92)](_0x292c47['JsqwC'],_0x4a35(0x93))?((0x0,_haptics[_0x4a35(0x8a)])(_haptics[_0x4a35(0x8b)][_0x4a35(0x94)]),_0x292c47[_0x4a35(0x58)](_0x20e97e,_0x292c47[_0x4a35(0x51)]),_reactNative[_0x4a35(0x53)]['parallel']([_reactNative['Animated'][_0x4a35(0x80)](_0x22cf3b,{'toValue':0x1,'duration':0x12c,'easing':_reactNative['Easing']['in'](_reactNative[_0x4a35(0x81)][_0x4a35(0x82)]),'useNativeDriver':!![]}),_reactNative[_0x4a35(0x53)][_0x4a35(0x80)](_0x4d2fc4,{'toValue':0x0,'duration':0xfa,'useNativeDriver':!![]})])[_0x4a35(0x83)](()=>{_0x292c47[_0x4a35(0x5f)](_0x292c47['WJbXB'],_0x292c47['WJbXB'])?_0x25b17d[_0x4a35(0x95)](_0x5ea981):_0x292c47[_0x4a35(0x6d)](_0x36eca7);})):((0x0,_0x3d5455[_0x4a35(0x8a)])(_0x53f6a5[_0x4a35(0x8b)][_0x4a35(0x94)]),_0x1ce0ac[_0x4a35(0x10)](_0x25b17d[_0x4a35(0x96)],_0xb95371),_0x26e725?_0x184633[_0x4a35(0x2)][_0x4a35(0x97)](_0x25b17d['QoUnk'])['then'](_0x35742f=>{_0x43086a(_0x25b17d[_0x4a35(0x98)](_0x35742f,_0x25b17d[_0x4a35(0x99)]),_0x4b0e81);}):_0x25b17d[_0x4a35(0x9a)](_0x52dcef));},_0xe0fc7=()=>{const _0x3e6e04={'OpwEi':_0x292c47[_0x4a35(0x9b)]};_0x292c47[_0x4a35(0x9c)](_0x292c47['FIgQE'],_0x4a35(0x25))?((0x0,_haptics[_0x4a35(0x8a)])(_haptics[_0x4a35(0x8b)][_0x4a35(0x94)]),_0x292c47[_0x4a35(0x9d)](_0x20e97e,_0x292c47['mgOPh'])):_0x1bcbf1[_0x4a35(0x10)](_0x3e6e04[_0x4a35(0x9e)]);},_0x5823ac=async _0x41f987=>{(0x0,_haptics[_0x4a35(0x8a)])(_haptics[_0x4a35(0x8b)][_0x4a35(0x94)]),_0x292c47[_0x4a35(0x9d)](_0x6a7175,!![]),_0x292c47[_0x4a35(0x9f)](_0x9c6fd9,'');try{if(_0x292c47[_0x4a35(0xa0)](_0x41f987,_0x292c47[_0x4a35(0xa1)])){console['log'](_0x292c47['JRHLw']);try{await _asyncStorage[_0x4a35(0x2)][_0x4a35(0xa2)](_0x292c47['YItCe'],_0x4a35(0xa3)),await _asyncStorage['default'][_0x4a35(0xa2)](_0x4a35(0x21),_0x292c47['BQTjO']),console[_0x4a35(0x10)](_0x292c47[_0x4a35(0xa4)]),_0x47486(_0x41f987),_0x292c47[_0x4a35(0x8c)](_0x20e97e,_0x292c47['cJEIh']);}catch(_0x46e5e2){_0x4a35(0xa5)!==_0x292c47[_0x4a35(0xa6)]?(console[_0x4a35(0x64)](_0x292c47['BQIsR'],_0x46e5e2),_0x47486(_0x41f987),_0x20e97e(_0x292c47['cJEIh'])):_0x111616();}_0x292c47[_0x4a35(0xa7)](_0x6a7175,![]);return;}console['log'](_0x292c47[_0x4a35(0xa8)],_0x41f987);const _0x3e1452=await(0x0,_authService['sendEmailVerificationCode'])(_0x41f987);_0x3e1452[_0x4a35(0xa9)]?(console[_0x4a35(0x10)](_0x292c47[_0x4a35(0xaa)]),_0x292c47[_0x4a35(0xab)](_0x47486,_0x41f987),_0x292c47[_0x4a35(0xac)](_0x20e97e,_0x292c47[_0x4a35(0x8d)])):(console[_0x4a35(0x10)](_0x292c47[_0x4a35(0xad)],_0x3e1452[_0x4a35(0x11)]),_0x292c47[_0x4a35(0xa7)](_0x9c6fd9,_0x3e1452[_0x4a35(0x11)]||_0x292c47[_0x4a35(0xae)]));}catch(_0x32a565){if(_0x292c47[_0x4a35(0xaf)](_0x292c47[_0x4a35(0xb0)],_0x292c47['tVLAI']))console[_0x4a35(0x64)](_0x292c47[_0x4a35(0x57)],_0x32a565),_0x9c6fd9(_0x292c47[_0x4a35(0x59)]);else return null;}finally{_0x6a7175(![]);}},_0x5a4911=async()=>{const _0x3e9a2a={'wBeuq':_0x292c47['Dlraf'],'zpXOK':function(_0x577892,_0x43090e){return _0x577892(_0x43090e);},'OcBfp':_0x292c47[_0x4a35(0xb1)],'hHWiT':function(_0x2da4ac,_0x45202b){return _0x292c47[_0x4a35(0xb2)](_0x2da4ac,_0x45202b);},'LYRab':_0x4a35(0x1f),'Dxghu':function(_0x31f441,_0x157079,_0xf7830){return _0x292c47[_0x4a35(0x5a)](_0x31f441,_0x157079,_0xf7830);},'edhnS':function(_0x32b4a1){return _0x292c47[_0x4a35(0xb3)](_0x32b4a1);}};(0x0,_haptics['triggerHaptic'])(_haptics[_0x4a35(0x8b)][_0x4a35(0x94)]),_0x292c47['zmeSN'](_0x6a7175,!![]),_0x292c47[_0x4a35(0xb4)](_0x9c6fd9,'');try{console[_0x4a35(0x10)](_0x292c47[_0x4a35(0xb5)]);const _0x575ac1=await(0x0,_googleAuthService[_0x4a35(0xb6)])();if(_0x575ac1[_0x4a35(0xa9)]&&_0x575ac1[_0x4a35(0xb7)]){if(_0x292c47[_0x4a35(0xa0)](_0x292c47[_0x4a35(0xb8)],_0x292c47[_0x4a35(0xb9)]))_0x3128f2[_0x4a35(0x10)](_0x292c47[_0x4a35(0xba)]);else{console[_0x4a35(0x10)](_0x292c47[_0x4a35(0xbb)],_0x575ac1[_0x4a35(0xb7)]['email']),console[_0x4a35(0x10)](_0x292c47[_0x4a35(0xbc)],_0x575ac1[_0x4a35(0xbd)]),_0x292c47['JrkIS'](_0x47486,_0x575ac1[_0x4a35(0xb7)]['email']);if(_0x292c47['UpsaV'](_0x575ac1['isNewUser'],![])){if(_0x292c47[_0x4a35(0xbe)]===_0x292c47['sZgvS']){console[_0x4a35(0x10)](_0x4a35(0xbf));try{if(_0x292c47[_0x4a35(0xc0)]===_0x292c47['YRgCO']){const _0x4981ce=_0x575ac1['user'][_0x4a35(0xc1)]||_0x575ac1['user'][_0x4a35(0xc2)][_0x4a35(0xc3)]('@')[0x0],_0x5737a1=await(0x0,_connectedAccountsService['getConnectedAccountsSmart'])(_0x575ac1[_0x4a35(0xb7)][_0x4a35(0xc2)],_0x575ac1[_0x4a35(0xb7)]['id'],_0x4981ce);if(_0x5737a1&&_0x292c47[_0x4a35(0xc4)](_0x5737a1[_0x4a35(0xc5)],0x0)){console[_0x4a35(0x10)](_0x4a35(0xc6)+_0x5737a1[_0x4a35(0xc5)]+_0x4a35(0xc7));const _0x520f0a=await _asyncStorage[_0x4a35(0x2)][_0x4a35(0x97)](_0x292c47[_0x4a35(0x91)]);_0x9f9a44?_0x292c47[_0x4a35(0xc8)]===_0x292c47[_0x4a35(0xc9)]?(_0x334325[_0x4a35(0x64)](_0x292c47[_0x4a35(0xca)],_0x7a17aa),_0x292c47['OvqmM'](_0x2fc6d9,_0x292c47['OgUqB'])):_0x292c47[_0x4a35(0xcb)](_0x9f9a44,_0x292c47['nNBgo'](_0x520f0a,_0x4a35(0xcc)),_0x575ac1[_0x4a35(0xb7)][_0x4a35(0xc2)]):_0x36eca7();return;}else _0x292c47[_0x4a35(0xcd)]===_0x292c47[_0x4a35(0xcd)]?console[_0x4a35(0x10)](_0x292c47[_0x4a35(0xba)]):(_0x556d44[_0x4a35(0x64)](_0x3e9a2a[_0x4a35(0xce)],_0x5a765f),_0x3e9a2a[_0x4a35(0xcf)](_0x2677b5,_0x3e9a2a[_0x4a35(0xd0)]));}else{if(_0x45292a[_0x4a35(0x9)](_0x17d61e))return _0x5471ef[_0x4a35(0xf)](_0x5e6015);_0x306bf2[_0x4a35(0xa)](_0x484e61,_0x505dba);}}catch(_0x412e9d){_0x292c47[_0x4a35(0x62)](_0x292c47['dMQso'],_0x292c47['dMQso'])?_0x3ea25c(_0x3e9a2a[_0x4a35(0xd1)](_0x24f2b5,_0x3e9a2a[_0x4a35(0xd2)]),_0x4e21bd):console[_0x4a35(0x10)]('⚠️\x20Could\x20not\x20fetch\x20existing\x20connections,\x20proceeding\x20to\x20platforms:',_0x412e9d);}}else _0x2c075d[_0x4a35(0x2)]['getItem'](_0x292c47[_0x4a35(0x91)])[_0x4a35(0xd3)](_0x218bda=>{_0x3e9a2a[_0x4a35(0xd4)](_0x3a2eae,_0x218bda||_0x3e9a2a[_0x4a35(0xd2)],_0x5885ff);});}_0x292c47[_0x4a35(0xd5)](_0x20e97e,_0x292c47['cJEIh']);}}else _0x575ac1[_0x4a35(0xd6)]?_0x292c47['pHZPz'](_0x292c47[_0x4a35(0xd7)],_0x292c47['zTxhU'])?console['log'](_0x292c47[_0x4a35(0x9b)]):_0x3e9a2a[_0x4a35(0xd8)](_0x34fdde):(console[_0x4a35(0x10)](_0x292c47[_0x4a35(0xd9)],_0x575ac1[_0x4a35(0x11)]),_0x292c47[_0x4a35(0xda)](_0x9c6fd9,_0x575ac1[_0x4a35(0x11)]||_0x292c47['YVmmp']));}catch(_0x3c5097){if(_0x292c47['UpsaV'](_0x4a35(0xdb),_0x292c47[_0x4a35(0xdc)]))return _0x5a300c&&_0x4f50b1[_0x4a35(0x1)]?_0x1105f6:{'default':_0x4b496f};else console[_0x4a35(0x64)](_0x292c47[_0x4a35(0xdd)],_0x3c5097),_0x9c6fd9(_0x292c47['YVmmp']);}finally{_0x292c47['mPKak'](_0x4a35(0xde),'YXuNP')?_0x1dda9d[_0x4a35(0x10)](_0x4a35(0xdf),_0x187635):_0x292c47[_0x4a35(0xe0)](_0x6a7175,![]);}},_0x54ec02=()=>{(0x0,_haptics[_0x4a35(0x8a)])(_haptics[_0x4a35(0x8b)][_0x4a35(0x94)]),_0x20e97e(_0x292c47['dtnSM']);},_0x3c74f3=async _0x2f6fe2=>{const _0x16916d={'bpchN':_0x292c47[_0x4a35(0xd9)],'AefYB':function(_0x5dcbde,_0x5e3f9d){return _0x292c47[_0x4a35(0xe1)](_0x5dcbde,_0x5e3f9d);}};(0x0,_haptics[_0x4a35(0x8a)])(_haptics['HapticType'][_0x4a35(0x94)]),_0x292c47[_0x4a35(0xe2)](_0x6a7175,!![]),_0x292c47[_0x4a35(0x9d)](_0x9c6fd9,'');try{console[_0x4a35(0x10)](_0x292c47['Ajzro'],_0x5079fe,_0x2f6fe2);const _0x500d6b=await(0x0,_authService[_0x4a35(0xe3)])(_0x5079fe,_0x2f6fe2);_0x500d6b[_0x4a35(0xa9)]?_0x292c47[_0x4a35(0xe4)](_0x292c47[_0x4a35(0xe5)],_0x4a35(0xe6))?(console['log'](_0x292c47[_0x4a35(0xe7)]),_0x292c47[_0x4a35(0xe8)](_0x20e97e,'platforms')):((0x0,_0x3effcd[_0x4a35(0x8a)])(_0x2f76c9[_0x4a35(0x8b)]['BUTTON_PRESS']),_0x292c47[_0x4a35(0xe9)](_0x133b3d,_0x292c47[_0x4a35(0x8d)])):(console[_0x4a35(0x10)](_0x292c47[_0x4a35(0xea)],_0x500d6b[_0x4a35(0x11)]),_0x9c6fd9(_0x500d6b[_0x4a35(0x11)]||'Invalid\x20verification\x20code.\x20Please\x20try\x20again.'));}catch(_0x339ecf){console[_0x4a35(0x64)]('❌\x20Error\x20verifying\x20email\x20code:',_0x339ecf),_0x292c47[_0x4a35(0xeb)](_0x9c6fd9,_0x292c47[_0x4a35(0xb1)]);}finally{_0x292c47['fwgcl']===_0x292c47['ckpNt']?(_0x55de08[_0x4a35(0x10)](_0x16916d[_0x4a35(0xec)],_0x2471ca[_0x4a35(0x11)]),_0x16916d[_0x4a35(0xed)](_0x55ac10,_0x28eb2a['message']||_0x4a35(0xee))):_0x292c47[_0x4a35(0xef)](_0x6a7175,![]);}},_0x4ae5cf=()=>{(0x0,_haptics[_0x4a35(0x8a)])(_haptics[_0x4a35(0x8b)][_0x4a35(0x94)]),_0x292c47['qcASG'](_0x9c6fd9,''),_0x292c47[_0x4a35(0xf0)](_0x20e97e,_0x292c47[_0x4a35(0xf1)]);},_0x54bfee=()=>{const _0x471a82={'GcJTc':_0x292c47['Mqnge'],'pTbeb':function(_0x4e3005,_0x56b3de){return _0x4e3005(_0x56b3de);},'KUbsE':_0x292c47['FyZIA']};_0x292c47[_0x4a35(0x86)](_0x4a35(0xf2),_0x292c47['MMQDM'])?((0x0,_haptics[_0x4a35(0x8a)])(_haptics['HapticType'][_0x4a35(0x94)]),_0x20e97e(_0x292c47[_0x4a35(0x8d)])):(_0x5b5710[_0x4a35(0x10)](_0x471a82[_0x4a35(0xf3)],_0x1f83b0[_0x4a35(0x11)]),_0x471a82[_0x4a35(0xf4)](_0x5e9294,_0x4cf7dd[_0x4a35(0x11)]||_0x471a82[_0x4a35(0xf5)]));},_0x37c4e1=async()=>{const _0x3bd9c2={'cHnsQ':_0x292c47[_0x4a35(0xf6)]};(0x0,_haptics[_0x4a35(0x8a)])(_haptics[_0x4a35(0x8b)][_0x4a35(0x94)]),_0x292c47[_0x4a35(0xe9)](_0x6a7175,!![]),_0x292c47[_0x4a35(0xf7)](_0x9c6fd9,'');try{if(_0x292c47['sJCmn'](_0x292c47[_0x4a35(0xf8)],_0x4a35(0xf9))){console[_0x4a35(0x10)](_0x292c47[_0x4a35(0xfa)],_0x5079fe);const _0x2a8215=await(0x0,_authService['sendEmailVerificationCode'])(_0x5079fe);_0x2a8215[_0x4a35(0xa9)]?console['log'](_0x292c47[_0x4a35(0xfb)]):_0x292c47[_0x4a35(0xfc)]===_0x4a35(0xfd)?(_0x1a3f26[_0x4a35(0x10)](_0x4a35(0xfe)),_0x2afa3b[_0x4a35(0x89)](0x1),_0x24e091[_0x4a35(0x89)](0x0)):(console[_0x4a35(0x10)](_0x292c47[_0x4a35(0xff)],_0x2a8215[_0x4a35(0x11)]),_0x9c6fd9(_0x2a8215[_0x4a35(0x11)]||_0x292c47[_0x4a35(0x100)]));}else _0x29f7ba[_0x4a35(0x10)](_0x292c47['NcZTv']),_0x2731e8[_0x4a35(0x53)][_0x4a35(0x7f)]([_0x4b5d2e[_0x4a35(0x53)]['timing'](_0xeb33c2,{'toValue':0x0,'duration':0x190,'easing':_0x1fa57f['Easing'][_0x4a35(0x101)](_0x1a88da[_0x4a35(0x81)][_0x4a35(0x82)]),'useNativeDriver':!![]}),_0x709763[_0x4a35(0x53)][_0x4a35(0x80)](_0x2318fd,{'toValue':0x1,'duration':0x12c,'useNativeDriver':!![]})])[_0x4a35(0x83)](()=>{_0x51d229[_0x4a35(0x10)](_0x3bd9c2[_0x4a35(0x102)]);});}catch(_0x59035c){_0x292c47[_0x4a35(0x103)]!==_0x292c47[_0x4a35(0x104)]?(console[_0x4a35(0x64)](_0x4a35(0x32),_0x59035c),_0x292c47[_0x4a35(0x105)](_0x9c6fd9,_0x4a35(0x14))):(_0x7503b1[_0x4a35(0x10)](_0x292c47[_0x4a35(0xaa)]),_0x292c47['GICei'](_0x453a4f,_0x2263ad),_0x292c47[_0x4a35(0x106)](_0x3d1b79,'verification'));}finally{_0x292c47['YMaxz'](_0x6a7175,![]);}},_0x400068=_0x588adb=>{const _0x56622a={'MjBtp':_0x4a35(0x107),'OILoj':function(_0x40a16c,_0x553477,_0x389b1c){return _0x40a16c(_0x553477,_0x389b1c);},'AsWUF':_0x292c47[_0x4a35(0x108)],'cKWHG':function(_0x5b22fc){return _0x5b22fc();}};(0x0,_haptics[_0x4a35(0x8a)])(_haptics[_0x4a35(0x8b)]['BUTTON_PRESS']),console['log'](_0x292c47[_0x4a35(0x90)],_0x588adb),_0x9f9a44?_asyncStorage[_0x4a35(0x2)]['getItem'](_0x4a35(0x21))['then'](_0x57e304=>{_0x292c47['frdxU'](_0x4a35(0x4a),_0x292c47[_0x4a35(0x109)])?_0x292c47[_0x4a35(0xcb)](_0x9f9a44,_0x292c47[_0x4a35(0x10a)](_0x57e304,_0x292c47[_0x4a35(0x8f)]),_0x5079fe):(_0x3e71a8[_0x4a35(0x64)](_0x56622a[_0x4a35(0x10b)],_0x3674e3),_0x2c3f5b?_0x56622a[_0x4a35(0x10c)](_0x257d99,_0x56622a[_0x4a35(0x10d)],_0x4a35(0x10e)):_0x56622a[_0x4a35(0x10f)](_0xa77217));}):_0x36eca7();},_0x38113b=()=>{(0x0,_haptics['triggerHaptic'])(_haptics[_0x4a35(0x8b)]['BUTTON_PRESS']),_0x9f9a44?_0x292c47['DdcTl']===_0x292c47[_0x4a35(0x110)]?_0x9f9a44(_0x4a35(0x111),_0x5079fe):(_0x510b1a[_0x4a35(0x10)](_0x4a35(0x112)),_0x292c47[_0x4a35(0x113)](_0x25887b,_0x292c47[_0x4a35(0x114)])):_0x292c47[_0x4a35(0xb3)](_0x36eca7);},_0x3e25a6=async()=>{const _0x34dcb1={'xeBLZ':function(_0x2cdd82,_0x5ebe3f){return _0x292c47['gmYNN'](_0x2cdd82,_0x5ebe3f);}};console[_0x4a35(0x10)](_0x292c47[_0x4a35(0x115)]),(0x0,_haptics['triggerHaptic'])(_haptics['HapticType'][_0x4a35(0x94)]);try{_0x292c47[_0x4a35(0x9c)](_0x4a35(0x4c),_0x292c47[_0x4a35(0x116)])?(await _asyncStorage[_0x4a35(0x2)][_0x4a35(0xa2)](_0x4a35(0x28),_0x4a35(0xa3)),await _asyncStorage[_0x4a35(0x2)][_0x4a35(0xa2)](_0x292c47[_0x4a35(0x91)],_0x292c47[_0x4a35(0x108)]),console[_0x4a35(0x10)]('✅\x20Stored\x20reviewer\x20bypass\x20markers\x20for\x20new\x20UI'),_0x9f9a44?_0x9f9a44(_0x292c47[_0x4a35(0x108)],_0x292c47[_0x4a35(0x5b)]):_0x292c47['IpZeu'](_0x36eca7)):((0x0,_0x5445f3[_0x4a35(0x8a)])(_0x232eff['HapticType'][_0x4a35(0x94)]),_0x34dcb1[_0x4a35(0x117)](_0x28c478,_0x4a35(0x26)));}catch(_0x1adae3){console['error'](_0x4a35(0x107),_0x1adae3),_0x9f9a44?_0x292c47[_0x4a35(0xcb)](_0x9f9a44,_0x292c47['BQTjO'],_0x292c47[_0x4a35(0x5b)]):_0x292c47[_0x4a35(0x118)](_0x36eca7);}},_0x3c027d=()=>{_0x292c47[_0x4a35(0x6d)](_0x5e2b8b);};if(!_0x420f04||!_0x4801ba)return null;return _react['default'][_0x4a35(0x119)](_reactNative[_0x4a35(0x11a)],{'visible':_0x292c47[_0x4a35(0x7c)](_0x420f04,_0x4801ba),'transparent':!![],'animationType':_0x292c47[_0x4a35(0x11b)],'onRequestClose':_0x5e2b8b,'statusBarTranslucent':!![]},_react['default'][_0x4a35(0x119)](_reactNative['StatusBar'],{'backgroundColor':_0x4a35(0x11c),'barStyle':_0x4a35(0x11d)}),_react['default'][_0x4a35(0x119)](_reactNative[_0x4a35(0x53)]['View'],{'style':[styles[_0x4a35(0x11e)],{'opacity':_0x4d2fc4}]},_react['default'][_0x4a35(0x119)](_reactNative[_0x4a35(0x11f)],{'onPress':_0x3c027d},_react[_0x4a35(0x2)][_0x4a35(0x119)](_reactNative[_0x4a35(0x120)],{'style':styles[_0x4a35(0x121)]}))),_react['default'][_0x4a35(0x119)](_reactNative[_0x4a35(0x53)]['View'],{'style':[styles[_0x4a35(0x122)],{'transform':[{'translateY':_0x22cf3b[_0x4a35(0x123)]({'inputRange':[0x0,0x1],'outputRange':[0x0,0x258]})}]}]},_react[_0x4a35(0x2)][_0x4a35(0x119)](_ModalSheet[_0x4a35(0x2)],{'topPadding':0x0},_react[_0x4a35(0x2)][_0x4a35(0x119)](_ModalHeader['default'],{'onClose':_0x5e2b8b,'onBack':_0x31b935===_0x292c47[_0x4a35(0x8d)]?_0x4ae5cf:_0x54bfee,'showBackButton':_0x31b935===_0x292c47[_0x4a35(0x8d)]||_0x31b935===_0x292c47[_0x4a35(0x114)]}),_0x292c47[_0x4a35(0x124)](_0x31b935,_0x292c47[_0x4a35(0x51)])&&_react['default'][_0x4a35(0x119)](_reactNative[_0x4a35(0x120)],{'style':styles[_0x4a35(0x125)]},_react[_0x4a35(0x2)][_0x4a35(0x119)](_reactNative['View'],{'style':styles[_0x4a35(0x126)]},_react['default'][_0x4a35(0x119)](_BrandMark[_0x4a35(0x2)],null)),_react['default'][_0x4a35(0x119)](_reactNative[_0x4a35(0x120)],{'style':styles[_0x4a35(0x127)]},_react[_0x4a35(0x2)]['createElement'](_HeadingGroup[_0x4a35(0x2)],null)),_react[_0x4a35(0x2)][_0x4a35(0x119)](_reactNative['View'],{'style':styles['bodyContainer']},_react[_0x4a35(0x2)]['createElement'](_BodyText[_0x4a35(0x2)],null)),_react['default'][_0x4a35(0x119)](_reactNative[_0x4a35(0x120)],{'style':styles[_0x4a35(0x128)]}),_react[_0x4a35(0x2)][_0x4a35(0x119)](_reactNative[_0x4a35(0x120)],{'style':styles[_0x4a35(0x129)]},_react[_0x4a35(0x2)]['createElement'](_PrimaryButton[_0x4a35(0x2)],{'label':_0x292c47[_0x4a35(0x12a)],'onPress':_0xe0fc7,'testID':_0x292c47[_0x4a35(0x12b)]}))),_0x292c47[_0x4a35(0x12c)](_0x31b935,_0x292c47[_0x4a35(0xf1)])&&_react[_0x4a35(0x2)][_0x4a35(0x119)](_SignInStep[_0x4a35(0x2)],{'onEmailSubmit':_0x5823ac,'onGoogleSignIn':_0x5a4911,'onContinue':_0x54ec02,'loading':_0xd8487e,'error':_0x45f402}),_0x31b935===_0x292c47[_0x4a35(0x8d)]&&_react[_0x4a35(0x2)][_0x4a35(0x119)](_VerificationStep[_0x4a35(0x2)],{'email':_0x5079fe,'onCodeSubmit':_0x3c74f3,'onBack':_0x4ae5cf,'loading':_0xd8487e,'error':_0x45f402,'onResendCode':_0x37c4e1}),_0x292c47[_0x4a35(0x12d)](_0x31b935,_0x292c47[_0x4a35(0x114)])&&_react[_0x4a35(0x2)]['createElement'](_reactNative[_0x4a35(0x120)],{'style':styles[_0x4a35(0x125)]},_react[_0x4a35(0x2)][_0x4a35(0x119)](_reactNative[_0x4a35(0x120)],{'style':styles[_0x4a35(0x127)]},_react[_0x4a35(0x2)][_0x4a35(0x119)](_HeadingGroup[_0x4a35(0x2)],null)),_react['default'][_0x4a35(0x119)](_reactNative[_0x4a35(0x120)],{'style':styles[_0x4a35(0x12e)]},_react['default'][_0x4a35(0x119)](_BodyText[_0x4a35(0x2)],null)),_react[_0x4a35(0x2)][_0x4a35(0x119)](_reactNative[_0x4a35(0x120)],{'style':styles['spacer']}),_react[_0x4a35(0x2)]['createElement'](_reactNative[_0x4a35(0x120)],{'style':styles['buttonContainer']},_react['default'][_0x4a35(0x119)](_PrimaryButton[_0x4a35(0x2)],{'label':_0x4a35(0x12f),'onPress':()=>_0x400068([]),'testID':_0x292c47[_0x4a35(0x130)]}))))));},styles=_reactNative[_0x4a35(0x131)][_0x4a35(0x132)]({'backdrop':{..._reactNative[_0x4a35(0x131)][_0x4a35(0x133)],'backgroundColor':'transparent'},'backdropTouchable':{'flex':0x1},'modalContainer':{'position':_0x4a35(0x134),'bottom':0x0,'left':0x0,'right':0x0,'height':_0x4a35(0x135)},'content':{'flex':0x1,'alignItems':'center','paddingTop':0x14},'brandMarkContainer':{'marginBottom':0x20},'headingContainer':{'marginBottom':0x18},'bodyContainer':{'marginBottom':0x20,'width':_0x4a35(0x136)},'spacer':{'flex':0x1,'minHeight':0x14},'buttonContainer':{'width':_0x4a35(0x136),'paddingHorizontal':0x18,'paddingBottom':0x14}});var _default=exports['default']=WelcomeScreen;function _0x1a56(){const _0x524614=['defineProperty','__esModule','default','❌\x20Email\x20verification\x20failed:','function','sTqzh','dzrJG','kXUpP','object','has','set','YGBtI','hasOwnProperty','call','getOwnPropertyDescriptor','get','log','message','Invalid\x20verification\x20code.\x20Please\x20try\x20again.','❌\x20Error\x20sending\x20verification\x20code:','Network\x20error.\x20Please\x20check\x20your\x20connection\x20and\x20try\x20again.','vMhzB','Onairos\x20SDK\x20not\x20initialized.\x20Developers\x20must\x20call\x20initializeApiKey()\x20with\x20a\x20valid\x20API\x20key\x20before\x20using\x20SDK\x20components.','❌\x20[WelcomeScreen]\x20SDK\x20NOT\x20INITIALIZED:','SDK\x20Not\x20Initialized','...','verification','🔍\x20WelcomeScreen\x20visibility\x20changed:','suCdI','🎬\x20Starting\x20WelcomeScreen\x20animations','csBoZ','onboarding-complete-token','Connected\x20platforms:','onairos_jwt_token','FKltl','welcome','ℹ️\x20Google\x20Sign-In\x20cancelled\x20by\x20user','XpPYU','signin','🔍\x20Reviewer\x20bypass\x20detected\x20in\x20WelcomeScreen','onairos_user','reviewer-bypass-token','✅\x20Stored\x20reviewer\x20bypass\x20markers\x20for\x20email\x20bypass','platforms','LkDEN','📧\x20Sending\x20verification\x20code\x20to:','✅\x20Verification\x20code\x20sent\x20successfully','❌\x20Failed\x20to\x20send\x20verification\x20code:','Failed\x20to\x20send\x20verification\x20code.\x20Please\x20try\x20again.','IEHif','❌\x20Error\x20resending\x20verification\x20code:','🔗\x20Initiating\x20Google\x20Sign-In','JSPcE','✅\x20Google\x20Sign-In\x20successful:','🔍\x20Is\x20new\x20user?','ummGW','sTAMA','aJCrm','zqvaU','SDOrh','❌\x20Google\x20Sign-In\x20failed:','FgcUA','🔍\x20Verifying\x20email\x20code:','YCykk','YApLd','toxTy','❌\x20Failed\x20to\x20resend\x20verification\x20code:','Failed\x20to\x20resend\x20verification\x20code.\x20Please\x20try\x20again.','MFgvM','🔄\x20Resending\x20verification\x20code\x20to:','✅\x20Verification\x20code\x20resent\x20successfully','zUfVO','RkggP','Mynxu','IAIEp','🔍\x20Reviewer\x20bypass\x20triggered\x20from\x20platforms\x20screen','LDBEt','Get\x20Started','welcome-get-started-button','complete-setup-button','useState','wOYLd','useRef','Animated','Value','current','useEffect','QFjJi','Jwooc','OgUqB','kchSG','PjKJU','pKfKu','rzdpw','Larvt','ruQos','NyBUL','oNuXm','lHwqo','vTVaT','error','WrqZj','DSIwb','idJOY','ffwBX','AJdwJ','Alert','alert','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','WFhAx','kOTKs','ForUs','getApiConfig','apiKey','substring','LMGtl','MkcOb','ktWPF','lpWjo','reVMZ','GiTRH','BQJcI','oxhQI','jKOqe','BlHqm','DfojG','NcZTv','parallel','timing','Easing','cubic','start','yVmKf','kWvfl','frdxU','NaAkK','zjfPN','setValue','triggerHaptic','HapticType','lacXk','dtnSM','zvtKC','UQnbZ','Axqhi','ZZsTq','tQFjN','JhpAG','BUTTON_PRESS','ftNIZ','uHAqi','getItem','zbhwX','cdtwM','VKXVo','qKrYq','mPKak','YQilS','OpwEi','afNBq','nOHyX','WaRrk','setItem','true','fNYoY','wFaAA','CVPUt','OdLsZ','YTPFi','success','RUHVi','myVbK','oIESC','wkpRS','LyeUk','zTNwb','XXQVT','tNrPk','lsyxw','OGxUq','mnLmM','RgImM','signInWithGoogle','user','xiyYz','xQTKI','INqdf','cBxDE','CHroW','isNewUser','sZgvS','👤\x20Returning\x20user\x20detected\x20via\x20Google\x20Sign-In','YRgCO','username','email','split','nPIHp','length','✅\x20Found\x20','\x20existing\x20connections\x20-\x20completing\x20directly','dnpyf','NgyIh','YAlwO','FlmwZ','returning-user-token','EthWU','wBeuq','zpXOK','OcBfp','hHWiT','LYRab','then','Dxghu','NqqvT','cancelled','gozXU','edhnS','oDBNL','QWEAu','yXFix','arhcy','hNyOk','uwJdf','⚠️\x20Could\x20not\x20fetch\x20existing\x20connections,\x20proceeding\x20to\x20platforms:','dVNGx','JrkIS','POoJD','confirmEmailVerificationCode','csRoA','sILAq','XabPv','fNmIp','UmMGz','MXtmX','XMdzL','TvYzV','bpchN','AefYB','Google\x20Sign-In\x20failed.\x20Please\x20try\x20again.','tKqiG','MnKQW','mgOPh','hCQhJ','GcJTc','pTbeb','KUbsE','whplZ','ioqEg','cHJAt','EqZfP','QJILZ','YGUYn','JHZJi','ofMsP','🔄\x20Resetting\x20WelcomeScreen\x20animations','Mqnge','FyZIA','out','cHnsQ','FJciE','HDSOl','DwQkf','qcASG','❌\x20Failed\x20to\x20store\x20reviewer\x20bypass\x20markers:','BQTjO','irMdw','emSkz','MjBtp','OILoj','AsWUF','reviewer@apple.com','cKWHG','DdcTl','onboarding-skipped-token','✅\x20Email\x20verification\x20successful','edkPj','cJEIh','jZVbP','ZqOLt','xeBLZ','asgCl','createElement','Modal','fXZYd','rgba(0,0,0,0.5)','light-content','backdrop','TouchableWithoutFeedback','View','backdropTouchable','modalContainer','interpolate','mNOVT','content','brandMarkContainer','headingContainer','spacer','buttonContainer','tQmfG','NpjDn','kyeFr','lvNLa','bodyContainer','Complete\x20Setup','TSstt','StyleSheet','create','absoluteFillObject','absolute','85%','100%'];_0x1a56=function(){return _0x524614;};return _0x1a56();}
|
|
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
|