@onairos/react-native 3.7.2 → 3.7.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- 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 +120 -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 +113 -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,10 +1,137 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
function _0x859f(){const _0x18c582=['defineProperty','__esModule','default','object','function','SAAMI','has','get','set','hasOwnProperty','call','getOwnPropertyDescriptor','uEYQv','mXjuY','hjLLM','wbsbB','HIPGJ','cVFLe','lfrTa','useRef','useState','rVYtd','AjhSq','useEffect','current','EdfVH','zPqNf','biVcU','fMwhr','zsIMl','kdNPM','tHbjS','YgrAF','dAEox','KbEFE','nKoFG','ndOHf','NmxuV','UUAUj','dTjlU','PdGKk','JtRIZ','auPzS','rQcTh','fsdZd','now','yUhPC','THqjP','jIOMy','min','ocgqX','OOJiD','SoBmv','BLMUz','ltVOP','GQlTD','DnMGj','jiMSu','RcHLX','bcDNp','NxSvf','ImrPI','FHnbn','MCoII','Vlaon','TCIwQ','aMkcz','BrSiR','HhGby','fpFQw','uIQAz','flDSS','KvrRQ','dJPim','UMzTA','RXMrO','gqcoB','FcBAN','YOerW','DNhjQ','NRylz','OShkd','lCCwI','createElement','ANIMATIONS','persona','animation','contain','create','center','100%'];_0x859f=function(){return _0x18c582;};return _0x859f();}Object[_0x5b26(0x0)](exports,_0x5b26(0x1),{'value':!![]}),exports[_0x5b26(0x2)]=void 0x0;var _react=_interopRequireWildcard(__ONAIROS_REQ_FUNC__(0x0)),_reactNative=__ONAIROS_REQ_FUNC__(0x1),_lottieReactNative=_interopRequireDefault(__ONAIROS_REQ_FUNC__(0x2)),_assetRegistry=__ONAIROS_REQ_FUNC__(0x3);function _interopRequireDefault(_0x56bc0c){return _0x56bc0c&&_0x56bc0c[_0x5b26(0x1)]?_0x56bc0c:{'default':_0x56bc0c};}function _interopRequireWildcard(_0x1d95d3,_0x1448a3){const _0x32d50f={'VKKMz':function(_0x5084a8,_0x396fb9){return _0x5084a8&&_0x396fb9;},'SAAMI':function(_0xa921f6,_0x17a7b9){return _0xa921f6===_0x17a7b9;},'ywpIR':_0x5b26(0x3),'uEYQv':function(_0x2e4f1c,_0x24c393,_0x297b00,_0x1a77d5){return _0x2e4f1c(_0x24c393,_0x297b00,_0x1a77d5);},'dPmpy':function(_0x29e9b4,_0x48db70){return _0x29e9b4==_0x48db70;}};if(_0x32d50f['dPmpy'](_0x5b26(0x4),typeof WeakMap))var _0x10ae7a=new WeakMap(),_0x3fc8bc=new WeakMap();return(_interopRequireWildcard=function(_0x13899a,_0x443e31){if(_0x32d50f['VKKMz'](!_0x443e31,_0x13899a)&&_0x13899a[_0x5b26(0x1)])return _0x13899a;var _0x2061cc,_0x1160af,_0xafb9a8={'__proto__':null,'default':_0x13899a};if(_0x32d50f[_0x5b26(0x5)](null,_0x13899a)||_0x32d50f['ywpIR']!=typeof _0x13899a&&_0x5b26(0x4)!=typeof _0x13899a)return _0xafb9a8;if(_0x2061cc=_0x443e31?_0x3fc8bc:_0x10ae7a){if(_0x2061cc[_0x5b26(0x6)](_0x13899a))return _0x2061cc[_0x5b26(0x7)](_0x13899a);_0x2061cc[_0x5b26(0x8)](_0x13899a,_0xafb9a8);}for(const _0x1aea20 in _0x13899a)_0x5b26(0x2)!==_0x1aea20&&{}[_0x5b26(0x9)][_0x5b26(0xa)](_0x13899a,_0x1aea20)&&((_0x1160af=(_0x2061cc=Object[_0x5b26(0x0)])&&Object[_0x5b26(0xb)](_0x13899a,_0x1aea20))&&(_0x1160af[_0x5b26(0x7)]||_0x1160af[_0x5b26(0x8)])?_0x32d50f[_0x5b26(0xc)](_0x2061cc,_0xafb9a8,_0x1aea20,_0x1160af):_0xafb9a8[_0x1aea20]=_0x13899a[_0x1aea20]);return _0xafb9a8;})(_0x1d95d3,_0x1448a3);}function _0x5b26(_0x859f85,_0x5b26f6){_0x859f85=_0x859f85-0x0;const _0x1e7692=_0x859f();let _0x4243d4=_0x1e7692[_0x859f85];return _0x4243d4;}const PersonaImage=({level:_0x326665,style:_0x3e0bb4,disableAnimation:disableAnimation=![]})=>{const _0x33e632={'zsIMl':function(_0x4188db,_0xaeb06a){return _0x4188db!==_0xaeb06a;},'zPqNf':function(_0x556616,_0x4d6e43){return _0x556616(_0x4d6e43);},'kdNPM':function(_0x3ed6a1,_0x6df381){return _0x3ed6a1-_0x6df381;},'tHbjS':function(_0x82ad9,_0x28c50f){return _0x82ad9<_0x28c50f;},'YgrAF':function(_0x13b1c9,_0x1aa01b){return _0x13b1c9(_0x1aa01b);},'rVYtd':function(_0x57a4ac,_0x10065a){return _0x57a4ac(_0x10065a);},'dAEox':function(_0x37cf42,_0x53e4ae){return _0x37cf42!==_0x53e4ae;},'KbEFE':_0x5b26(0xd),'nKoFG':function(_0x5ca4d5,_0x299618){return _0x5ca4d5*_0x299618;},'IsCFx':function(_0xdb3f1e,_0x51a394){return _0xdb3f1e+_0x51a394;},'ndOHf':function(_0x18e6ce,_0x56cd51){return _0x18e6ce-_0x56cd51;},'UUAUj':_0x5b26(0xe),'NCGss':function(_0x31c246,_0x3ce183){return _0x31c246&&_0x3ce183;},'UwkrI':_0x5b26(0x3),'dTjlU':_0x5b26(0x4),'PdGKk':_0x5b26(0x2),'JtRIZ':function(_0x1cb922,_0x3ed505){return _0x1cb922==_0x3ed505;},'auPzS':function(_0x2adf30,_0x150e59){return _0x2adf30!==_0x150e59;},'rQcTh':'NpShv','fsdZd':_0x5b26(0xf),'HhGby':function(_0x1216ea,_0x487c04){return _0x1216ea(_0x487c04);},'DNhjQ':function(_0x264571,_0x20e446){return _0x264571!==_0x20e446;},'NRylz':_0x5b26(0x10),'jeYGn':'xJNhN','OShkd':function(_0x3a0cb3,_0x555ea9){return _0x3a0cb3(_0x555ea9);},'onAmd':function(_0x4b15b6,_0x410bb2){return _0x4b15b6===_0x410bb2;},'lCCwI':'wBrrm','EdfVH':'2|4|1|0|3','biVcU':function(_0x3f93a5,_0x32979a){return _0x3f93a5===_0x32979a;},'Wdnaa':function(_0x23c2bb,_0x19c9ae){return _0x23c2bb!==_0x19c9ae;},'azMWa':_0x5b26(0x11),'fMwhr':_0x5b26(0x12),'YMcOR':function(_0x27748c,_0x553e4a){return _0x27748c(_0x553e4a);},'TYyXg':function(_0x3c8c94,_0x3d6a5f){return _0x3c8c94!==_0x3d6a5f;},'AjhSq':function(_0x43af3d,_0x33965d){return _0x43af3d(_0x33965d);}},_0x193193=(0x0,_react[_0x5b26(0x13)])(null),_0x207938=[0x0,0.2,0.35,0.52,0.8],_0x20ccf0=_0x4ace44=>_0x207938[_0x4ace44-0x1]||0x0,[_0xe20eae,_0x137656]=(0x0,_react[_0x5b26(0x14)])(_0x33e632[_0x5b26(0x15)](_0x20ccf0,_0x326665)),_0x98917f=(0x0,_react[_0x5b26(0x13)])(_0x33e632[_0x5b26(0x16)](_0x20ccf0,_0x326665)),_0x1adf55=(0x0,_react[_0x5b26(0x13)])(_0x326665),_0xbba037=(0x0,_react[_0x5b26(0x13)])(null),_0x790a84=(0x0,_react[_0x5b26(0x13)])(null),_0x2c3707=(0x0,_react[_0x5b26(0x13)])(!![]);return(0x0,_react[_0x5b26(0x17)])(()=>{const _0x389208=_0x20ccf0(_0x326665);if(_0x2c3707[_0x5b26(0x18)]){const _0x4df188=_0x33e632[_0x5b26(0x19)]['split']('|');let _0x543dd6=0x0;while(!![]){switch(_0x4df188[_0x543dd6++]){case'0':_0x2c3707[_0x5b26(0x18)]=![];continue;case'1':_0x1adf55[_0x5b26(0x18)]=_0x326665;continue;case'2':_0x98917f[_0x5b26(0x18)]=_0x389208;continue;case'3':return;case'4':_0x33e632[_0x5b26(0x1a)](_0x137656,_0x389208);continue;}break;}}if(disableAnimation){_0x98917f[_0x5b26(0x18)]=_0x389208,_0x33e632['HhGby'](_0x137656,_0x389208),_0x1adf55[_0x5b26(0x18)]=_0x326665;return;}if(_0x33e632[_0x5b26(0x1b)](_0x1adf55[_0x5b26(0x18)],_0x326665))return;_0xbba037[_0x5b26(0x18)]!==null&&(_0x33e632['Wdnaa'](_0x33e632['azMWa'],_0x33e632[_0x5b26(0x1c)])?(_0x33e632['YMcOR'](cancelAnimationFrame,_0xbba037[_0x5b26(0x18)]),_0xbba037[_0x5b26(0x18)]=null):(_0x33e632[_0x5b26(0x1d)](_0x1b3788[_0x5b26(0x18)],null)&&(_0x33e632[_0x5b26(0x1a)](_0x211d9a,_0x437d63[_0x5b26(0x18)]),_0x4e507b[_0x5b26(0x18)]=null),_0x33e632[_0x5b26(0x1d)](_0x1bfa9b[_0x5b26(0x18)],null)&&(_0x33e632[_0x5b26(0x1a)](_0x13c2fd,_0x5a75ce[_0x5b26(0x18)]),_0x12773b[_0x5b26(0x18)]=null)));_0x33e632['TYyXg'](_0x790a84[_0x5b26(0x18)],null)&&(clearTimeout(_0x790a84[_0x5b26(0x18)]),_0x790a84[_0x5b26(0x18)]=null);const _0x6b4d92=0x96,_0x3dc908=0xc80;return _0x790a84[_0x5b26(0x18)]=setTimeout(()=>{const _0x18cb45={'jIOMy':function(_0x48a31c,_0x4f295a){return _0x48a31c(_0x4f295a);},'jiMSu':function(_0x1fc0d1,_0x1eabd3){return _0x33e632[_0x5b26(0x1e)](_0x1fc0d1,_0x1eabd3);},'RcHLX':function(_0x3bbe97,_0x4f297f){return _0x33e632[_0x5b26(0x1f)](_0x3bbe97,_0x4f297f);},'SoBmv':function(_0x566252,_0x521d89){return _0x566252*_0x521d89;},'ocgqX':function(_0x260ec7,_0x52f271){return _0x260ec7*_0x52f271;},'bcDNp':function(_0xa2b57d,_0x34bab4){return _0xa2b57d+_0x34bab4;},'bveBI':function(_0x3f7ed6,_0x1f4651){return _0x33e632[_0x5b26(0x20)](_0x3f7ed6,_0x1f4651);},'NxSvf':function(_0x49c900,_0x4d261d){return _0x49c900(_0x4d261d);},'DnMGj':function(_0x4f152a,_0x45c4bf){return _0x33e632[_0x5b26(0x15)](_0x4f152a,_0x45c4bf);},'yUhPC':function(_0x436167,_0x489841){return _0x33e632[_0x5b26(0x21)](_0x436167,_0x489841);},'THqjP':_0x33e632[_0x5b26(0x22)],'atHQg':function(_0x266573,_0x2d4867){return _0x266573/_0x2d4867;},'OOJiD':function(_0x6790bd,_0x347f3){return _0x33e632[_0x5b26(0x23)](_0x6790bd,_0x347f3);},'klPyI':function(_0x3543e4,_0x64b05c){return _0x33e632['IsCFx'](_0x3543e4,_0x64b05c);},'BLMUz':function(_0xf81487,_0x51a614){return _0x33e632[_0x5b26(0x23)](_0xf81487,_0x51a614);},'ltVOP':function(_0x973005,_0x16a6f4){return _0x33e632[_0x5b26(0x24)](_0x973005,_0x16a6f4);},'GQlTD':_0x5b26(0x25),'ytzGx':_0x33e632[_0x5b26(0x26)],'fpFQw':function(_0x203838,_0x179612){return _0x33e632['NCGss'](_0x203838,_0x179612);},'JDsDU':_0x33e632['UwkrI'],'uIQAz':_0x33e632[_0x5b26(0x27)],'flDSS':_0x33e632[_0x5b26(0x28)],'KvrRQ':function(_0xf1ccd,_0x1deb2c){return _0x33e632[_0x5b26(0x29)](_0xf1ccd,_0x1deb2c);}};if(_0x33e632[_0x5b26(0x2a)](_0x33e632[_0x5b26(0x2b)],_0x33e632[_0x5b26(0x2c)])){const _0x4b5bce=_0x98917f[_0x5b26(0x18)],_0x190e24=Date[_0x5b26(0x2d)](),_0x14597b=()=>{if(_0x18cb45[_0x5b26(0x2e)](_0x18cb45[_0x5b26(0x2f)],_0x18cb45[_0x5b26(0x2f)]))_0x5e992f['current']=_0x18cb45[_0x5b26(0x30)](_0x25c206,_0x55df0b);else{const _0x51303d=Date[_0x5b26(0x2d)]()-_0x190e24,_0x1bba1a=Math[_0x5b26(0x31)](_0x18cb45['atHQg'](_0x51303d,_0x3dc908),0x1),_0x1fd56e=_0x18cb45['RcHLX'](_0x1bba1a,0.5)?_0x18cb45[_0x5b26(0x32)](_0x18cb45[_0x5b26(0x33)](0x2,_0x1bba1a),_0x1bba1a):_0x18cb45['bcDNp'](-0x1,_0x18cb45['OOJiD'](0x4-_0x18cb45[_0x5b26(0x34)](0x2,_0x1bba1a),_0x1bba1a)),_0x5928a8=_0x18cb45['klPyI'](_0x4b5bce,_0x18cb45[_0x5b26(0x35)](_0x18cb45[_0x5b26(0x36)](_0x389208,_0x4b5bce),_0x1fd56e));_0x98917f[_0x5b26(0x18)]=_0x5928a8,_0x137656(_0x5928a8);if(_0x1bba1a<0x1){if(_0x18cb45['yUhPC'](_0x18cb45[_0x5b26(0x37)],_0x18cb45['ytzGx']))_0xbba037[_0x5b26(0x18)]=_0x18cb45[_0x5b26(0x38)](requestAnimationFrame,_0x14597b);else{const _0x3dc1ae={'ImrPI':function(_0x43c3a9,_0x5b6355){return _0x18cb45[_0x5b26(0x39)](_0x43c3a9,_0x5b6355);},'FHnbn':function(_0x17e47f,_0x1088dc){return _0x18cb45[_0x5b26(0x3a)](_0x17e47f,_0x1088dc);},'TCIwQ':function(_0x37aa02,_0xdbd493){return _0x18cb45['SoBmv'](_0x37aa02,_0xdbd493);},'MCoII':function(_0x290312,_0x1388b5){return _0x290312-_0x1388b5;},'Vlaon':function(_0x2e9493,_0x5a4d32){return _0x18cb45[_0x5b26(0x32)](_0x2e9493,_0x5a4d32);},'xDofV':function(_0x2276f3,_0x499163){return _0x18cb45[_0x5b26(0x3b)](_0x2276f3,_0x499163);},'aMkcz':function(_0x36b4c8,_0x452503){return _0x18cb45['bveBI'](_0x36b4c8,_0x452503);},'BrSiR':function(_0x4d3e57,_0x5f5b17){return _0x18cb45[_0x5b26(0x3c)](_0x4d3e57,_0x5f5b17);}},_0x3108be=_0xd66f4e[_0x5b26(0x18)],_0x21baa5=_0x2c29ec[_0x5b26(0x2d)](),_0x37b89e=()=>{const _0x4403f9=_0x3dc1ae[_0x5b26(0x3d)](_0x59fdac[_0x5b26(0x2d)](),_0x21baa5),_0x20bd6a=_0x17356b[_0x5b26(0x31)](_0x4403f9/_0x19e02d,0x1),_0x4fd4d1=_0x3dc1ae[_0x5b26(0x3e)](_0x20bd6a,0.5)?_0x3dc1ae['TCIwQ'](0x2*_0x20bd6a,_0x20bd6a):-0x1+_0x3dc1ae['TCIwQ'](_0x3dc1ae[_0x5b26(0x3f)](0x4,_0x3dc1ae[_0x5b26(0x40)](0x2,_0x20bd6a)),_0x20bd6a),_0x439fcc=_0x3dc1ae['xDofV'](_0x3108be,_0x3dc1ae[_0x5b26(0x41)](_0x3dc1ae['ImrPI'](_0x2fbefc,_0x3108be),_0x4fd4d1));_0x4fd4ff['current']=_0x439fcc,_0x3dc1ae[_0x5b26(0x42)](_0x1b591f,_0x439fcc),_0x20bd6a<0x1?_0x55430f[_0x5b26(0x18)]=_0x3dc1ae[_0x5b26(0x43)](_0x3dff78,_0x37b89e):_0x1071c6[_0x5b26(0x18)]=null;};_0x1fdaa1[_0x5b26(0x18)]=_0x18cb45[_0x5b26(0x38)](_0x2c8432,_0x37b89e);}}else _0xbba037['current']=null;}};_0xbba037[_0x5b26(0x18)]=_0x33e632[_0x5b26(0x44)](requestAnimationFrame,_0x14597b);}else{const _0x33271f={'dJPim':function(_0x5252c9,_0x425613){return _0x18cb45[_0x5b26(0x45)](_0x5252c9,_0x425613);},'UMzTA':function(_0x330adf,_0x3a13ce){return _0x330adf===_0x3a13ce;},'RXMrO':_0x18cb45['JDsDU'],'gqcoB':_0x18cb45[_0x5b26(0x46)],'LTxNq':function(_0x938a83,_0x20574b){return _0x938a83!==_0x20574b;},'FcBAN':_0x18cb45[_0x5b26(0x47)],'YOerW':function(_0x452ac3,_0x162816,_0x1cc13a,_0x21a523){return _0x452ac3(_0x162816,_0x1cc13a,_0x21a523);}};if(_0x18cb45[_0x5b26(0x48)](_0x5b26(0x4),typeof _0xd29aec))var _0x14642a=new _0x579026(),_0x144f66=new _0x472428();return(_0x11b301=function(_0x359b1b,_0x553deb){if(_0x33271f[_0x5b26(0x49)](!_0x553deb,_0x359b1b)&&_0x359b1b[_0x5b26(0x1)])return _0x359b1b;var _0x10d2ed,_0x5bfc34,_0x3ac219={'__proto__':null,'default':_0x359b1b};if(_0x33271f[_0x5b26(0x4a)](null,_0x359b1b)||_0x33271f[_0x5b26(0x4b)]!=typeof _0x359b1b&&_0x33271f[_0x5b26(0x4c)]!=typeof _0x359b1b)return _0x3ac219;if(_0x10d2ed=_0x553deb?_0x144f66:_0x14642a){if(_0x10d2ed[_0x5b26(0x6)](_0x359b1b))return _0x10d2ed[_0x5b26(0x7)](_0x359b1b);_0x10d2ed[_0x5b26(0x8)](_0x359b1b,_0x3ac219);}for(const _0x377a78 in _0x359b1b)_0x33271f['LTxNq'](_0x33271f[_0x5b26(0x4d)],_0x377a78)&&{}[_0x5b26(0x9)][_0x5b26(0xa)](_0x359b1b,_0x377a78)&&((_0x5bfc34=(_0x10d2ed=_0x1ffcbd[_0x5b26(0x0)])&&_0x219ef9['getOwnPropertyDescriptor'](_0x359b1b,_0x377a78))&&(_0x5bfc34[_0x5b26(0x7)]||_0x5bfc34[_0x5b26(0x8)])?_0x33271f[_0x5b26(0x4e)](_0x10d2ed,_0x3ac219,_0x377a78,_0x5bfc34):_0x3ac219[_0x377a78]=_0x359b1b[_0x377a78]);return _0x3ac219;})(_0x41c0ba,_0x502696);}},_0x6b4d92),_0x1adf55[_0x5b26(0x18)]=_0x326665,()=>{if(_0x33e632[_0x5b26(0x4f)](_0xbba037[_0x5b26(0x18)],null)){if(_0x33e632[_0x5b26(0x50)]===_0x33e632['jeYGn']){_0x1876ad[_0x5b26(0x18)]=_0x44ebd7,_0x357e08(_0x48589b),_0x8bfcb[_0x5b26(0x18)]=_0x1eb377,_0x512331[_0x5b26(0x18)]=![];return;}else _0x33e632[_0x5b26(0x51)](cancelAnimationFrame,_0xbba037[_0x5b26(0x18)]),_0xbba037['current']=null;}_0x790a84[_0x5b26(0x18)]!==null&&(_0x33e632['onAmd'](_0x33e632[_0x5b26(0x52)],_0x33e632[_0x5b26(0x52)])?(_0x33e632[_0x5b26(0x15)](clearTimeout,_0x790a84['current']),_0x790a84[_0x5b26(0x18)]=null):_0x8fb4f2['current']=null);};},[_0x326665,disableAnimation]),_react[_0x5b26(0x2)][_0x5b26(0x53)](_reactNative['View'],{'style':[styles['container'],_0x3e0bb4]},_react[_0x5b26(0x2)]['createElement'](_lottieReactNative['default'],{'ref':_0x193193,'source':_assetRegistry[_0x5b26(0x54)][_0x5b26(0x55)],'progress':_0xe20eae,'loop':![],'autoPlay':![],'style':styles[_0x5b26(0x56)],'resizeMode':_0x5b26(0x57)}));},styles=_reactNative['StyleSheet'][_0x5b26(0x58)]({'container':{'width':0xc8,'height':0xc8,'alignItems':'center','justifyContent':_0x5b26(0x59)},'animation':{'width':_0x5b26(0x5a),'height':_0x5b26(0x5a)}});var _default=exports[_0x5b26(0x2)]=PersonaImage;
|
|
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 _lottieReactNative = _interopRequireDefault(require("lottie-react-native"));
|
|
10
|
+
var _assetRegistry = require("../utils/assetRegistry");
|
|
11
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
12
|
+
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); }
|
|
13
|
+
const PersonaImage = ({
|
|
14
|
+
level,
|
|
15
|
+
style,
|
|
16
|
+
disableAnimation = false
|
|
17
|
+
}) => {
|
|
18
|
+
const animationRef = (0, _react.useRef)(null);
|
|
19
|
+
|
|
20
|
+
// Map level to progress immediately on first render (no initial animation)
|
|
21
|
+
// Smaller, more noticeable increments: keep 1st perfect (20%), then smaller steps
|
|
22
|
+
const progressMap = [0, 0.20, 0.35, 0.52, 0.80];
|
|
23
|
+
const getTargetProgress = lvl => progressMap[lvl - 1] || 0;
|
|
24
|
+
const [progress, setProgress] = (0, _react.useState)(getTargetProgress(level)); // Initialize to target progress
|
|
25
|
+
const progressRef = (0, _react.useRef)(getTargetProgress(level)); // Initialize ref to target progress
|
|
26
|
+
const previousLevelRef = (0, _react.useRef)(level); // Initialize to current level (prevents first animation)
|
|
27
|
+
const animationFrameRef = (0, _react.useRef)(null);
|
|
28
|
+
const animationTimeoutRef = (0, _react.useRef)(null); // Track animation delay timeout
|
|
29
|
+
const isFirstRenderRef = (0, _react.useRef)(true); // Track first render
|
|
30
|
+
|
|
31
|
+
(0, _react.useEffect)(() => {
|
|
32
|
+
const targetProgress = getTargetProgress(level);
|
|
33
|
+
|
|
34
|
+
// On first render, set progress immediately without animation
|
|
35
|
+
if (isFirstRenderRef.current) {
|
|
36
|
+
progressRef.current = targetProgress;
|
|
37
|
+
setProgress(targetProgress);
|
|
38
|
+
previousLevelRef.current = level;
|
|
39
|
+
isFirstRenderRef.current = false;
|
|
40
|
+
return;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
// If animations are disabled, set progress immediately
|
|
44
|
+
if (disableAnimation) {
|
|
45
|
+
progressRef.current = targetProgress;
|
|
46
|
+
setProgress(targetProgress);
|
|
47
|
+
previousLevelRef.current = level;
|
|
48
|
+
return;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
// Only animate if the level has actually changed from previous
|
|
52
|
+
if (previousLevelRef.current === level) {
|
|
53
|
+
return;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
// Cancel any existing animation and timeout
|
|
57
|
+
if (animationFrameRef.current !== null) {
|
|
58
|
+
cancelAnimationFrame(animationFrameRef.current);
|
|
59
|
+
animationFrameRef.current = null;
|
|
60
|
+
}
|
|
61
|
+
if (animationTimeoutRef.current !== null) {
|
|
62
|
+
clearTimeout(animationTimeoutRef.current);
|
|
63
|
+
animationTimeoutRef.current = null;
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
// Add a delay before starting the animation so user can see it happen
|
|
67
|
+
// Fast delay so animation starts almost immediately after connection
|
|
68
|
+
const animationDelay = 150; // 150ms delay before animation starts (very fast!)
|
|
69
|
+
const duration = 3200; // 3200ms transition (slower, more visible animation)
|
|
70
|
+
|
|
71
|
+
// Wait before starting the animation
|
|
72
|
+
animationTimeoutRef.current = setTimeout(() => {
|
|
73
|
+
const startProgress = progressRef.current; // Use ref for current progress
|
|
74
|
+
const startTime = Date.now();
|
|
75
|
+
const animate = () => {
|
|
76
|
+
const elapsed = Date.now() - startTime;
|
|
77
|
+
const t = Math.min(elapsed / duration, 1);
|
|
78
|
+
|
|
79
|
+
// Ease-in-out function for smooth animation
|
|
80
|
+
const eased = t < 0.5 ? 2 * t * t : -1 + (4 - 2 * t) * t;
|
|
81
|
+
const currentProgress = startProgress + (targetProgress - startProgress) * eased;
|
|
82
|
+
progressRef.current = currentProgress; // Update ref
|
|
83
|
+
setProgress(currentProgress); // Update state for rendering
|
|
84
|
+
|
|
85
|
+
if (t < 1) {
|
|
86
|
+
animationFrameRef.current = requestAnimationFrame(animate);
|
|
87
|
+
} else {
|
|
88
|
+
animationFrameRef.current = null;
|
|
89
|
+
}
|
|
90
|
+
};
|
|
91
|
+
animationFrameRef.current = requestAnimationFrame(animate);
|
|
92
|
+
}, animationDelay);
|
|
93
|
+
|
|
94
|
+
// Update the previous level AFTER starting the animation
|
|
95
|
+
previousLevelRef.current = level;
|
|
96
|
+
|
|
97
|
+
// Cleanup function to cancel animation and timeout on unmount or level change
|
|
98
|
+
return () => {
|
|
99
|
+
if (animationFrameRef.current !== null) {
|
|
100
|
+
cancelAnimationFrame(animationFrameRef.current);
|
|
101
|
+
animationFrameRef.current = null;
|
|
102
|
+
}
|
|
103
|
+
if (animationTimeoutRef.current !== null) {
|
|
104
|
+
clearTimeout(animationTimeoutRef.current);
|
|
105
|
+
animationTimeoutRef.current = null;
|
|
106
|
+
}
|
|
107
|
+
};
|
|
108
|
+
}, [level, disableAnimation]); // Re-run when level or disableAnimation changes
|
|
109
|
+
|
|
110
|
+
return /*#__PURE__*/_react.default.createElement(_reactNative.View, {
|
|
111
|
+
style: [styles.container, style]
|
|
112
|
+
}, /*#__PURE__*/_react.default.createElement(_lottieReactNative.default, {
|
|
113
|
+
ref: animationRef,
|
|
114
|
+
source: _assetRegistry.ANIMATIONS.persona,
|
|
115
|
+
progress: progress,
|
|
116
|
+
loop: false // Ensure animation never loops
|
|
117
|
+
,
|
|
118
|
+
autoPlay: false // Ensure animation never auto-plays
|
|
119
|
+
,
|
|
120
|
+
style: styles.animation,
|
|
121
|
+
resizeMode: "contain"
|
|
122
|
+
}));
|
|
123
|
+
};
|
|
124
|
+
const styles = _reactNative.StyleSheet.create({
|
|
125
|
+
container: {
|
|
126
|
+
width: 200,
|
|
127
|
+
height: 200,
|
|
128
|
+
alignItems: 'center',
|
|
129
|
+
justifyContent: 'center'
|
|
130
|
+
},
|
|
131
|
+
animation: {
|
|
132
|
+
width: '100%',
|
|
133
|
+
height: '100%'
|
|
134
|
+
}
|
|
135
|
+
});
|
|
136
|
+
var _default = exports.default = PersonaImage;
|
|
137
|
+
//# sourceMappingURL=PersonaImage.js.map
|
|
@@ -1,12 +1,318 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
Object[_0x25af(0x0)](exports,_0x25af(0x1),{'value':!![]}),exports[_0x25af(0x2)]=void 0x0;var _react=_interopRequireWildcard(__ONAIROS_REQ_FUNC__(0x0)),_reactNative=__ONAIROS_REQ_FUNC__(0x1),_lottieReactNative=_interopRequireDefault(__ONAIROS_REQ_FUNC__(0x2)),_theme=__ONAIROS_REQ_FUNC__(0x3),_haptics=__ONAIROS_REQ_FUNC__(0x4),_assetRegistry=__ONAIROS_REQ_FUNC__(0x5);function _interopRequireDefault(_0x3aec2d){return _0x3aec2d&&_0x3aec2d[_0x25af(0x1)]?_0x3aec2d:{'default':_0x3aec2d};}function _0x25af(_0x405865,_0x25af54){_0x405865=_0x405865-0x0;const _0x2fa40b=_0x4058();let _0x54cda1=_0x2fa40b[_0x405865];return _0x54cda1;}function _0x4058(){const _0xc2e926=['defineProperty','__esModule','default','function','AjsAv','puzuo','HjYOT','object','cvSAW','zVDZW','floor','fNoXH','XUptp','has','get','SlvPu','irGId','hasOwnProperty','call','set','current','forEach','You\x27re\x20more\x20interesting\x20than\x20I\x20expected','Finalizing\x20your\x20unique\x20persona','Almost\x20done','Complete!','bqfoi','XYIBX','random','qcenL','sUymA','short','IHgda','UbDJB','DcKDJ','bbWuC','IlIVB','Keeping\x20your\x20data\x20private','long','uMEIB','QLUsk','pgXeM','contain','100%','useRef','Value','Animated','useState','BBQqb','useEffect','AzCVs','KEaUP','qaUiK','YuaQY','KTISn','loop','timing','kGsaU','UnNAy','Bhdkn','xCqZv','start','sNrXI','VVAgx','ybtAJ','kGBWX','lIkWk','FTwsJ','tBeVF','WRVrl','LcqpU','pzPkw','QdpKH','DkBtu','POjHM','rYJrN','xKdTs','oLiDG','YxbMY','vZIkA','EsfYd','mExuQ','ZdsJc','gnzuC','epHuF','eqJHQ','Ltipy','KqwOL','FFRlg','push','max','cbREc','bFxfi','PxIhT','EYpWK','UxkaA','medium','PCvEN','XLloC','zxxmK','iLoIK','yqBJb','hiPke','VfseH','vBCpD','zeAaX','xYStz','getOwnPropertyDescriptor','bZjJs','mYbzb','wmkiA','NRthD','map','ySQgD','minProgress','text','maxProgress','sort','progress','emSiQ','uVidp','GPgCE','length','xLthK','SHGgt','alKBJ','ooKys','doaQe','BkikJ','FhfWO','qAtnn','NCywR','HapticType','SUCCESS','FdYew','zJzLC','vzFNc','createElement','View','container','content','lottieContainer','ANIMATIONS','loader','lottieAnimation','gkUFy','textContainer','Text','loadingText','dotsContainer','dot','progressContainer','interpolate','SQmgv','StyleSheet','create','COLORS','surface','center','row','IBM\x20Plex\x20Sans','600','grey800','hidden'];_0x4058=function(){return _0xc2e926;};return _0x4058();}function _interopRequireWildcard(_0x577b4e,_0x17641a){const _0x168e33={'fNoXH':function(_0x420334,_0x1c00d8,_0x56e9f1){return _0x420334(_0x1c00d8,_0x56e9f1);},'XUptp':function(_0x40dd9f,_0x3fd260){return _0x40dd9f+_0x3fd260;},'AjsAv':'syUPU','nmOri':function(_0x5a51cd,_0x3f66fb){return _0x5a51cd&&_0x3f66fb;},'puzuo':function(_0x14bfdd,_0x559d74){return _0x14bfdd===_0x559d74;},'HjYOT':function(_0x1c7a98,_0x3678e4){return _0x1c7a98!=_0x3678e4;},'zSlzh':function(_0x5ca71a,_0xbc3b10){return _0x5ca71a!=_0xbc3b10;},'cvSAW':_0x25af(0x3),'rukiI':'JJXFm','SlvPu':function(_0x3d4496,_0x3870bf){return _0x3d4496!==_0x3870bf;},'irGId':_0x25af(0x2),'jIYJi':function(_0x573e2b,_0x490ad8,_0x58e148,_0x2822ec){return _0x573e2b(_0x490ad8,_0x58e148,_0x2822ec);},'jkKdg':function(_0x8555f9,_0x41d5f7){return _0x8555f9==_0x41d5f7;}};if(_0x168e33['jkKdg'](_0x168e33['cvSAW'],typeof WeakMap))var _0x500a70=new WeakMap(),_0x173634=new WeakMap();return(_interopRequireWildcard=function(_0x4ca8e9,_0x1e0c74){if(_0x168e33[_0x25af(0x4)]===_0x168e33[_0x25af(0x4)]){if(_0x168e33['nmOri'](!_0x1e0c74,_0x4ca8e9)&&_0x4ca8e9[_0x25af(0x1)])return _0x4ca8e9;var _0x573cc1,_0xa72f8d,_0x3cee67={'__proto__':null,'default':_0x4ca8e9};if(_0x168e33[_0x25af(0x5)](null,_0x4ca8e9)||_0x168e33[_0x25af(0x6)](_0x25af(0x7),typeof _0x4ca8e9)&&_0x168e33['zSlzh'](_0x168e33[_0x25af(0x8)],typeof _0x4ca8e9))return _0x3cee67;if(_0x573cc1=_0x1e0c74?_0x173634:_0x500a70){if(_0x168e33['rukiI']===_0x25af(0x9))return _0x19fef5[_0x25af(0xa)](_0x168e33[_0x25af(0xb)](_0x2db61b,_0x31544e,_0x168e33[_0x25af(0xc)](_0x5f5704,0x1)));else{if(_0x573cc1[_0x25af(0xd)](_0x4ca8e9))return _0x573cc1[_0x25af(0xe)](_0x4ca8e9);_0x573cc1['set'](_0x4ca8e9,_0x3cee67);}}for(const _0xff3620 in _0x4ca8e9)_0x168e33[_0x25af(0xf)](_0x168e33[_0x25af(0x10)],_0xff3620)&&{}[_0x25af(0x11)][_0x25af(0x12)](_0x4ca8e9,_0xff3620)&&((_0xa72f8d=(_0x573cc1=Object['defineProperty'])&&Object['getOwnPropertyDescriptor'](_0x4ca8e9,_0xff3620))&&(_0xa72f8d['get']||_0xa72f8d[_0x25af(0x13)])?_0x168e33['jIYJi'](_0x573cc1,_0x3cee67,_0xff3620,_0xa72f8d):_0x3cee67[_0xff3620]=_0x4ca8e9[_0xff3620]);return _0x3cee67;}else _0x4cfb91[_0x25af(0x14)][_0x25af(0x15)](_0xe8a4f4=>_0x1d4789(_0xe8a4f4)),_0xd75937[_0x25af(0x14)]=[];})(_0x577b4e,_0x17641a);}const STATUS_MESSAGES=[{'text':'Keeping\x20your\x20data\x20private','minProgress':0x0,'maxProgress':0x19},{'text':'Trying\x20to\x20understand\x20your\x20mind','minProgress':0x14,'maxProgress':0x2d},{'text':_0x25af(0x16),'minProgress':0x28,'maxProgress':0x41},{'text':_0x25af(0x17),'minProgress':0x3c,'maxProgress':0x55},{'text':_0x25af(0x18),'minProgress':0x50,'maxProgress':0x5f},{'text':_0x25af(0x19),'minProgress':0x64,'maxProgress':0x64}],randomInRange=(_0x461a71,_0x4f48a5)=>{const _0x19149b={'bqfoi':function(_0x56a989,_0x44c3f1){return _0x56a989+_0x44c3f1;},'XYIBX':function(_0x280307,_0x1dc709){return _0x280307*_0x1dc709;}};return _0x19149b[_0x25af(0x1a)](_0x19149b[_0x25af(0x1b)](Math[_0x25af(0x1c)](),_0x4f48a5-_0x461a71),_0x461a71);},randomIntInRange=(_0x13b3d3,_0x5e7bf7)=>{const _0x198d0f={'qcenL':function(_0x4683c8,_0x171162,_0x557024){return _0x4683c8(_0x171162,_0x557024);},'pjnUw':function(_0x30dc20,_0x289675){return _0x30dc20+_0x289675;}};return Math['floor'](_0x198d0f[_0x25af(0x1d)](randomInRange,_0x13b3d3,_0x198d0f['pjnUw'](_0x5e7bf7,0x1)));},PersonaLoadingScreen=({visible:_0x12cd5e,onComplete:_0x578ef4})=>{const _0x40359f={'KEaUP':function(_0x1af1e5,_0x1e82c5){return _0x1af1e5===_0x1e82c5;},'FcfUb':_0x25af(0x1e),'POjHM':function(_0x19f8e2,_0x35ac62){return _0x19f8e2!==_0x35ac62;},'UnNAy':'KicTO','xCqZv':function(_0x3c0c95,_0x26d84d,_0x5030ab){return _0x3c0c95(_0x26d84d,_0x5030ab);},'AzCVs':function(_0x3f456c,_0x5a1b92,_0x4d83d9){return _0x3f456c(_0x5a1b92,_0x4d83d9);},'qaUiK':_0x25af(0x1f),'YuaQY':function(_0xf27b8,_0x3120f2){return _0xf27b8===_0x3120f2;},'cbREc':'medium','sRNDg':function(_0x5f1aa4,_0x261dcb,_0x46dba4){return _0x5f1aa4(_0x261dcb,_0x46dba4);},'kGsaU':function(_0x364b1b,_0x39d4b4,_0x16231d){return _0x364b1b(_0x39d4b4,_0x16231d);},'PCvEN':function(_0x4e7f9a,_0x2e3412){return _0x4e7f9a===_0x2e3412;},'ySQgD':_0x25af(0x20),'zcOHX':function(_0x524e36,_0x50b813){return _0x524e36===_0x50b813;},'zJzLC':_0x25af(0x21),'vzFNc':_0x25af(0x22),'WRVrl':function(_0x4ce6c1,_0x3602ae){return _0x4ce6c1===_0x3602ae;},'LcqpU':'object','pzPkw':function(_0x2dafe2,_0x150aa3){return _0x2dafe2!==_0x150aa3;},'QdpKH':function(_0x3f93f8,_0x15983e,_0x21fc79,_0x21e669){return _0x3f93f8(_0x15983e,_0x21fc79,_0x21e669);},'xrtuY':function(_0x3a4efa,_0x471672){return _0x3a4efa!=_0x471672;},'DkBtu':_0x25af(0x2),'WIlXS':_0x25af(0x23),'rYJrN':function(_0xe6b01c,_0x2cc576){return _0xe6b01c<_0x2cc576;},'UpgtL':function(_0x22f263,_0x5a4150){return _0x22f263(_0x5a4150);},'xKdTs':function(_0x3dc4d6,_0x29b39a){return _0x3dc4d6/_0x29b39a;},'oLiDG':function(_0x5d7672,_0x156916){return _0x5d7672>=_0x156916;},'YxbMY':_0x25af(0x24),'BBQqb':_0x25af(0x25),'vZIkA':function(_0x3198ae,_0x5eb2d4){return _0x3198ae<_0x5eb2d4;},'wmkiA':function(_0x17451e,_0x367b92){return _0x17451e-_0x367b92;},'EsfYd':'FzQcn','KqwOL':function(_0x41cc48,_0x1609ba){return _0x41cc48*_0x1609ba;},'FFRlg':function(_0x5e17df,_0x9cb78b){return _0x5e17df/_0x9cb78b;},'NNGHr':function(_0x5666c0,_0x333340){return _0x5666c0+_0x333340;},'KoksD':function(_0x159005,_0x3b5c56,_0x311cc5){return _0x159005(_0x3b5c56,_0x311cc5);},'bFxfi':_0x25af(0x26),'PxIhT':function(_0x5c3458,_0xf4ad19){return _0x5c3458!==_0xf4ad19;},'EYpWK':_0x25af(0x27),'UxkaA':function(_0x127602,_0x49b1b5){return _0x127602===_0x49b1b5;},'XLloC':_0x25af(0x28),'laRvw':function(_0x34744d,_0x2eb679,_0x4fff6a){return _0x34744d(_0x2eb679,_0x4fff6a);},'bZjJs':function(_0x48fc5b,_0xf9b057,_0x536d4f){return _0x48fc5b(_0xf9b057,_0x536d4f);},'mYbzb':function(_0x114d45,_0x7a1396){return _0x114d45*_0x7a1396;},'NRthD':function(_0x327b4e,_0x5915d5){return _0x327b4e/_0x5915d5;},'emSiQ':function(_0x16c4f1,_0x4ae686){return _0x16c4f1<=_0x4ae686;},'uVidp':_0x25af(0x29),'Yvghw':function(_0x5e15d7,_0x118f8a){return _0x5e15d7-_0x118f8a;},'gkUFy':_0x25af(0x2a),'SQmgv':_0x25af(0x2b)},_0x561f38=(0x0,_react[_0x25af(0x2c)])(new _reactNative['Animated'][(_0x25af(0x2d))](0x0))[_0x25af(0x14)],_0x53c275=(0x0,_react['useRef'])(new _reactNative['Animated']['Value'](0.3))[_0x25af(0x14)],_0x4bc586=(0x0,_react['useRef'])(new _reactNative[(_0x25af(0x2e))][(_0x25af(0x2d))](0.3))[_0x25af(0x14)],_0x2d2f7e=(0x0,_react[_0x25af(0x2c)])(new _reactNative[(_0x25af(0x2e))]['Value'](0.3))[_0x25af(0x14)],[_0x4b3682,_0x34064a]=(0x0,_react[_0x25af(0x2f)])(0x0),[_0x33ca09,_0x52f535]=(0x0,_react['useState'])(_0x40359f[_0x25af(0x30)]),_0x44175d=(0x0,_react['useRef'])([]);(0x0,_react[_0x25af(0x31)])(()=>{const _0x3a810d={'kGBWX':function(_0x31876e,_0x203f87,_0x206171){return _0x40359f[_0x25af(0x32)](_0x31876e,_0x203f87,_0x206171);},'lIkWk':function(_0x43c006,_0x2c9eb3){return _0x40359f[_0x25af(0x33)](_0x43c006,_0x2c9eb3);},'FTwsJ':_0x40359f[_0x25af(0x34)],'yAtWv':function(_0x23760c,_0xe40cdf){return _0x40359f[_0x25af(0x35)](_0x23760c,_0xe40cdf);},'kOlSu':_0x40359f['cbREc'],'tBeVF':function(_0x14af08,_0x3eb8a9,_0x4cfba8){return _0x14af08(_0x3eb8a9,_0x4cfba8);},'sNrXI':_0x25af(0x36),'ybtAJ':function(_0x3e6aac,_0x2f209a,_0x561b8e){return _0x40359f['sRNDg'](_0x3e6aac,_0x2f209a,_0x561b8e);}};if(!_0x12cd5e)return;const _0x1d91cc=(_0x429b63,_0x4af933)=>{if(_0x40359f[_0x25af(0x33)](_0x40359f['FcfUb'],_0x40359f['FcfUb']))return _reactNative['Animated'][_0x25af(0x37)](_reactNative['Animated']['sequence']([_reactNative[_0x25af(0x2e)][_0x25af(0x38)](_0x429b63,{'toValue':0x1,'duration':0x258,'useNativeDriver':!![]}),_reactNative[_0x25af(0x2e)][_0x25af(0x38)](_0x429b63,{'toValue':0.3,'duration':0x258,'useNativeDriver':!![]})]),{'iterations':-0x1});else{_0xfc8160[_0x25af(0x14)][_0x25af(0x15)](_0x204c24=>_0x3f4a6f(_0x204c24)),_0x356f41[_0x25af(0x14)]=[];return;}};_0x40359f[_0x25af(0x39)](setTimeout,()=>{_0x40359f['POjHM'](_0x40359f[_0x25af(0x3a)],_0x25af(0x3b))?_0x40359f[_0x25af(0x3c)](_0x1d91cc,_0x53c275,0x0)[_0x25af(0x3d)]():_0x4429a0=_0x3a810d['kGBWX'](_0x1aaa8d,0xfa,0x1f4);},0x12c),_0x40359f['AzCVs'](setTimeout,()=>{if(_0x3a810d[_0x25af(0x3e)]!==_0x25af(0x3f))_0x3a810d[_0x25af(0x40)](_0x1d91cc,_0x4bc586,0xc8)[_0x25af(0x3d)]();else{const _0x1c6e1a=_0x1a89f9[_0x3a810d[_0x25af(0x41)](_0x2cb07e,0x0,0x2)];let _0x7c005d;if(_0x3a810d[_0x25af(0x42)](_0x1c6e1a,_0x3a810d[_0x25af(0x43)]))_0x7c005d=_0x3a810d[_0x25af(0x41)](_0x229945,0xfa,0x1f4);else _0x3a810d['yAtWv'](_0x1c6e1a,_0x3a810d['kOlSu'])?_0x7c005d=_0x3a810d[_0x25af(0x41)](_0x4d1b1e,0x1f4,0x320):_0x7c005d=_0x3a810d[_0x25af(0x44)](_0x1b8054,0x320,0x4b0);_0x44c202['push'](_0x7c005d),_0xf25d09+=_0x7c005d;}},0x1f4),_0x40359f['sRNDg'](setTimeout,()=>{_0x40359f[_0x25af(0x3c)](_0x1d91cc,_0x2d2f7e,0x190)[_0x25af(0x3d)]();},0x2bc);},[_0x12cd5e,_0x53c275,_0x4bc586,_0x2d2f7e]),(0x0,_react[_0x25af(0x31)])(()=>{const _0x57ba3c={'mExuQ':function(_0x425335,_0xbef6ea){return _0x40359f[_0x25af(0x45)](_0x425335,_0xbef6ea);},'ZdsJc':_0x40359f[_0x25af(0x46)],'gnzuC':function(_0x1df5e3,_0x557ceb){return _0x1df5e3!=_0x557ceb;},'epHuF':_0x25af(0x3),'eqJHQ':function(_0x3efbeb,_0x12f800){return _0x40359f[_0x25af(0x47)](_0x3efbeb,_0x12f800);},'Ltipy':function(_0x24f25d,_0x5f28a6,_0x2e2708,_0x2fb3a2){return _0x40359f[_0x25af(0x48)](_0x24f25d,_0x5f28a6,_0x2e2708,_0x2fb3a2);},'iLoIK':function(_0x5a3ec6,_0x3f6bd1){return _0x40359f['xrtuY'](_0x5a3ec6,_0x3f6bd1);},'yqBJb':function(_0x75b57b,_0x4c660d){return _0x40359f[_0x25af(0x47)](_0x75b57b,_0x4c660d);},'hiPke':_0x40359f[_0x25af(0x49)],'qAtnn':function(_0x15ec88,_0x230d99){return _0x40359f[_0x25af(0x4a)](_0x15ec88,_0x230d99);},'JPaBX':_0x40359f['WIlXS'],'FdYew':function(_0x590de7){return _0x590de7();},'GPgCE':function(_0x53a01b,_0x51cc1d){return _0x40359f[_0x25af(0x4b)](_0x53a01b,_0x51cc1d);},'xLthK':function(_0x6f2cf0,_0x9c5e3d){return _0x6f2cf0>=_0x9c5e3d;},'SHGgt':function(_0x4167fe,_0x34bb89){return _0x40359f['UpgtL'](_0x4167fe,_0x34bb89);},'alKBJ':function(_0x2d149b,_0x4df219){return _0x40359f[_0x25af(0x4c)](_0x2d149b,_0x4df219);},'ooKys':function(_0x22d2d4,_0x27d6ae){return _0x40359f[_0x25af(0x4d)](_0x22d2d4,_0x27d6ae);},'doaQe':_0x40359f[_0x25af(0x4e)]};if(!_0x12cd5e){_0x44175d[_0x25af(0x14)]['forEach'](_0x339046=>clearTimeout(_0x339046)),_0x44175d[_0x25af(0x14)]=[];return;}_0x34064a(0x0),_0x40359f['UpgtL'](_0x52f535,_0x40359f['BBQqb']),_0x561f38['setValue'](0x0);const _0x59104f=_0x40359f[_0x25af(0x32)](randomInRange,0x1b58,0x2ee0),_0x49a614=_0x40359f[_0x25af(0x32)](randomIntInRange,0x5,0x8),_0x1c7e50=[0x0];for(let _0x2d2e2e=0x0;_0x40359f[_0x25af(0x4f)](_0x2d2e2e,_0x40359f['wmkiA'](_0x49a614,0x1));_0x2d2e2e++){if('GRKQg'===_0x40359f[_0x25af(0x50)]){if(!_0x5f302a&&_0x26dbef&&_0x5f4c41[_0x25af(0x1)])return _0x367d05;var _0x1f0bee,_0x4f2bad,_0xae33e2={'__proto__':null,'default':_0xff4a98};if(_0x57ba3c[_0x25af(0x51)](null,_0x3b6e02)||_0x57ba3c[_0x25af(0x52)]!=typeof _0x337127&&_0x57ba3c[_0x25af(0x53)](_0x57ba3c[_0x25af(0x54)],typeof _0x133573))return _0xae33e2;if(_0x1f0bee=_0x38ce7b?_0x29cd3d:_0x9f9644){if(_0x1f0bee['has'](_0x196640))return _0x1f0bee[_0x25af(0xe)](_0xef12af);_0x1f0bee[_0x25af(0x13)](_0x6d1e74,_0xae33e2);}for(const _0x16e79c in _0xc0727d)_0x57ba3c[_0x25af(0x55)](_0x25af(0x2),_0x16e79c)&&{}[_0x25af(0x11)][_0x25af(0x12)](_0x1d6f8b,_0x16e79c)&&((_0x4f2bad=(_0x1f0bee=_0x4acbc7[_0x25af(0x0)])&&_0x3b1ea1['getOwnPropertyDescriptor'](_0x26839c,_0x16e79c))&&(_0x4f2bad[_0x25af(0xe)]||_0x4f2bad[_0x25af(0x13)])?_0x57ba3c[_0x25af(0x56)](_0x1f0bee,_0xae33e2,_0x16e79c,_0x4f2bad):_0xae33e2[_0x16e79c]=_0xabd62e[_0x16e79c]);return _0xae33e2;}else{const _0x324efd=_0x40359f[_0x25af(0x57)](_0x2d2e2e+0x1,_0x40359f[_0x25af(0x58)](0x64,_0x49a614))-0xa,_0x237f3d=_0x40359f['NNGHr'](_0x40359f[_0x25af(0x57)](_0x2d2e2e+0x1,0x64/_0x49a614),0xa);_0x1c7e50[_0x25af(0x59)](_0x40359f['KoksD'](randomIntInRange,Math[_0x25af(0x5a)](0xa,_0x324efd),Math['min'](0x5a,_0x237f3d)));}}_0x1c7e50[_0x25af(0x59)](0x64),_0x1c7e50['sort']((_0x17c9e6,_0xb585fc)=>_0x17c9e6-_0xb585fc);const _0x21f933=[_0x40359f[_0x25af(0x34)],_0x40359f[_0x25af(0x5b)],_0x40359f[_0x25af(0x5c)]],_0x59feb2=[];let _0x5d34d1=0x0;for(let _0x282da7=0x0;_0x282da7<_0x49a614;_0x282da7++){const _0x33f476=_0x21f933[randomIntInRange(0x0,0x2)];let _0x5bc486;if(_0x40359f[_0x25af(0x45)](_0x33f476,_0x40359f[_0x25af(0x34)]))_0x40359f[_0x25af(0x5d)](_0x25af(0x27),_0x40359f[_0x25af(0x5e)])?_0x34eb5c(_0xf91bc5,0xc8)[_0x25af(0x3d)]():_0x5bc486=randomInRange(0xfa,0x1f4);else{if(_0x40359f[_0x25af(0x5f)](_0x33f476,_0x25af(0x60))){if(_0x40359f[_0x25af(0x61)](_0x40359f[_0x25af(0x62)],_0x25af(0x63))){const _0x28c3d8={'VfseH':function(_0x4e6d83,_0xdc9218){return _0x57ba3c[_0x25af(0x51)](_0x4e6d83,_0xdc9218);},'vBCpD':function(_0x4dc501,_0x44ffa0){return _0x57ba3c[_0x25af(0x64)](_0x4dc501,_0x44ffa0);},'zeAaX':_0x57ba3c['epHuF'],'guWoV':function(_0x1d6c7a,_0x3c4996){return _0x57ba3c[_0x25af(0x65)](_0x1d6c7a,_0x3c4996);},'xYStz':_0x57ba3c[_0x25af(0x66)]};if(_0x25af(0x3)==typeof _0xf78dd)var _0xe84418=new _0x5cddd9(),_0x1df23a=new _0x4e9f2f();return(_0x49a760=function(_0x16c6c3,_0xfa9726){if(!_0xfa9726&&_0x16c6c3&&_0x16c6c3['__esModule'])return _0x16c6c3;var _0x1e332c,_0x365893,_0x47b6a2={'__proto__':null,'default':_0x16c6c3};if(_0x28c3d8[_0x25af(0x67)](null,_0x16c6c3)||_0x25af(0x7)!=typeof _0x16c6c3&&_0x28c3d8[_0x25af(0x68)](_0x28c3d8[_0x25af(0x69)],typeof _0x16c6c3))return _0x47b6a2;if(_0x1e332c=_0xfa9726?_0x1df23a:_0xe84418){if(_0x1e332c[_0x25af(0xd)](_0x16c6c3))return _0x1e332c['get'](_0x16c6c3);_0x1e332c[_0x25af(0x13)](_0x16c6c3,_0x47b6a2);}for(const _0x3870aa in _0x16c6c3)_0x28c3d8['guWoV'](_0x28c3d8[_0x25af(0x6a)],_0x3870aa)&&{}[_0x25af(0x11)][_0x25af(0x12)](_0x16c6c3,_0x3870aa)&&((_0x365893=(_0x1e332c=_0x1c5cd1['defineProperty'])&&_0xddc95b[_0x25af(0x6b)](_0x16c6c3,_0x3870aa))&&(_0x365893[_0x25af(0xe)]||_0x365893[_0x25af(0x13)])?_0x1e332c(_0x47b6a2,_0x3870aa,_0x365893):_0x47b6a2[_0x3870aa]=_0x16c6c3[_0x3870aa]);return _0x47b6a2;})(_0x2c1b63,_0xac00f2);}else _0x5bc486=_0x40359f['laRvw'](randomInRange,0x1f4,0x320);}else _0x5bc486=_0x40359f[_0x25af(0x6c)](randomInRange,0x320,0x4b0);}_0x59feb2[_0x25af(0x59)](_0x5bc486),_0x5d34d1+=_0x5bc486;}const _0x225487=0x190,_0x17d4df=_0x40359f[_0x25af(0x6d)](_0x49a614,_0x225487),_0x4c7546=_0x40359f[_0x25af(0x6e)](_0x59104f,_0x17d4df),_0x27803c=_0x40359f[_0x25af(0x6f)](_0x4c7546,_0x5d34d1),_0x101a31=_0x59feb2[_0x25af(0x70)](_0x241f4c=>_0x241f4c*_0x27803c),_0x5de83e=[];STATUS_MESSAGES[_0x25af(0x15)](_0x417c6e=>{if(_0x40359f[_0x25af(0x61)](_0x40359f[_0x25af(0x71)],_0x40359f[_0x25af(0x71)])){if(_0x40359f['zcOHX'](_0x417c6e[_0x25af(0x72)],0x64))_0x5de83e[_0x25af(0x59)]({'progress':0x64,'message':_0x417c6e[_0x25af(0x73)]});else{const _0x1e9f4b=_0x40359f[_0x25af(0x39)](randomInRange,_0x417c6e[_0x25af(0x72)],_0x417c6e[_0x25af(0x74)]);_0x5de83e['push']({'progress':_0x1e9f4b,'message':_0x417c6e[_0x25af(0x73)]});}}else{const _0x40ab8b=_0x54a0e5(_0x9cc945[_0x25af(0x72)],_0x55d928[_0x25af(0x74)]);_0x32bb7a['push']({'progress':_0x40ab8b,'message':_0x25f8e[_0x25af(0x73)]});}}),_0x5de83e[_0x25af(0x75)]((_0xa0db4d,_0x229295)=>_0xa0db4d[_0x25af(0x76)]-_0x229295[_0x25af(0x76)]);let _0x5ba4af=0x0,_0x1f6ef5=0x0;for(let _0x3437c2=0x1;_0x40359f[_0x25af(0x77)](_0x3437c2,_0x49a614);_0x3437c2++){if(_0x40359f[_0x25af(0x5d)](_0x25af(0x29),_0x40359f[_0x25af(0x78)])){if(_0x2031c7[_0x25af(0xd)](_0x53ea50))return _0x14d60c['get'](_0x376b60);_0x8295c8[_0x25af(0x13)](_0x2b84bb,_0x3a30e4);}else{const _0x35e785=_0x1c7e50[_0x3437c2],_0x115976=_0x101a31[_0x40359f['Yvghw'](_0x3437c2,0x1)];_0x5ba4af+=_0x115976;const _0x8340bd=setTimeout(()=>{const _0x4bbacd={'BkikJ':function(_0x23760d,_0x5ef55b){return _0x57ba3c['mExuQ'](_0x23760d,_0x5ef55b);},'FhfWO':function(_0x128371,_0x5bda56,_0x53d31e){return _0x128371(_0x5bda56,_0x53d31e);}};while(_0x57ba3c[_0x25af(0x79)](_0x1f6ef5,_0x5de83e[_0x25af(0x7a)])&&_0x57ba3c[_0x25af(0x7b)](_0x35e785,_0x5de83e[_0x1f6ef5][_0x25af(0x76)])){_0x52f535(_0x5de83e[_0x1f6ef5]['message']),_0x1f6ef5++;}_0x57ba3c[_0x25af(0x7c)](_0x34064a,_0x35e785),_reactNative['Animated'][_0x25af(0x38)](_0x561f38,{'toValue':_0x57ba3c[_0x25af(0x7d)](_0x35e785,0x64),'duration':_0x225487,'useNativeDriver':![]})[_0x25af(0x3d)]();if(_0x57ba3c[_0x25af(0x7e)](_0x35e785,0x64)){if(_0x57ba3c[_0x25af(0x65)](_0x57ba3c[_0x25af(0x7f)],_0x57ba3c[_0x25af(0x7f)])){if(_0x4bbacd[_0x25af(0x80)](_0x710a0a[_0x25af(0x72)],0x64))_0x269587[_0x25af(0x59)]({'progress':0x64,'message':_0x108ab4[_0x25af(0x73)]});else{const _0xd8e44e=_0x4bbacd[_0x25af(0x81)](_0x2d628c,_0x1f0708['minProgress'],_0x41134e[_0x25af(0x74)]);_0x1da57b[_0x25af(0x59)]({'progress':_0xd8e44e,'message':_0x54183b['text']});}}else setTimeout(()=>{_0x57ba3c[_0x25af(0x82)](_0x57ba3c['JPaBX'],_0x25af(0x83))?((0x0,_haptics['triggerHaptic'])(_haptics[_0x25af(0x84)][_0x25af(0x85)]),_0x57ba3c[_0x25af(0x86)](_0x578ef4)):_0x3b605b(_0x39e23b,0x190)[_0x25af(0x3d)]();},0x1f4);}},_0x5ba4af);_0x44175d[_0x25af(0x14)][_0x25af(0x59)](_0x8340bd),_0x5ba4af+=_0x225487;}}return()=>{_0x40359f[_0x25af(0x4a)](_0x40359f[_0x25af(0x87)],_0x40359f[_0x25af(0x88)])?(_0x44175d[_0x25af(0x14)]['forEach'](_0x5d4cf4=>clearTimeout(_0x5d4cf4)),_0x44175d[_0x25af(0x14)]=[]):_0x3db0ac(_0x1a1b7f,0x0)['start']();};},[_0x12cd5e,_0x578ef4,_0x561f38]);if(!_0x12cd5e)return null;return _react[_0x25af(0x2)][_0x25af(0x89)](_reactNative[_0x25af(0x8a)],{'style':styles[_0x25af(0x8b)]},_react['default']['createElement'](_reactNative[_0x25af(0x8a)],{'style':styles[_0x25af(0x8c)]},_react[_0x25af(0x2)][_0x25af(0x89)](_reactNative['View'],{'style':styles[_0x25af(0x8d)]},_react['default']['createElement'](_lottieReactNative[_0x25af(0x2)],{'source':_assetRegistry[_0x25af(0x8e)][_0x25af(0x8f)],'autoPlay':!![],'loop':!![],'style':styles[_0x25af(0x90)],'resizeMode':_0x40359f[_0x25af(0x91)]})),_react[_0x25af(0x2)][_0x25af(0x89)](_reactNative['View'],{'style':styles[_0x25af(0x92)]},_react['default'][_0x25af(0x89)](_reactNative[_0x25af(0x93)],{'style':styles[_0x25af(0x94)]},_0x33ca09),_react[_0x25af(0x2)][_0x25af(0x89)](_reactNative[_0x25af(0x8a)],{'style':styles[_0x25af(0x95)]},_react[_0x25af(0x2)][_0x25af(0x89)](_reactNative[_0x25af(0x2e)][_0x25af(0x93)],{'style':[styles['dot'],{'opacity':_0x53c275}]},'.'),_react[_0x25af(0x2)][_0x25af(0x89)](_reactNative[_0x25af(0x2e)][_0x25af(0x93)],{'style':[styles[_0x25af(0x96)],{'opacity':_0x4bc586}]},'.'),_react[_0x25af(0x2)]['createElement'](_reactNative[_0x25af(0x2e)][_0x25af(0x93)],{'style':[styles[_0x25af(0x96)],{'opacity':_0x2d2f7e}]},'.'))),_react[_0x25af(0x2)][_0x25af(0x89)](_reactNative['View'],{'style':styles[_0x25af(0x97)]},_react[_0x25af(0x2)][_0x25af(0x89)](_reactNative[_0x25af(0x8a)],{'style':styles['progressTrack']},_react['default'][_0x25af(0x89)](_reactNative[_0x25af(0x2e)]['View'],{'style':[styles['progressFill'],{'width':_0x561f38[_0x25af(0x98)]({'inputRange':[0x0,0x1],'outputRange':['0%',_0x40359f[_0x25af(0x99)]]})}]})))));},styles=_reactNative[_0x25af(0x9a)][_0x25af(0x9b)]({'container':{'flex':0x1,'backgroundColor':_theme[_0x25af(0x9c)][_0x25af(0x9d)]},'content':{'flex':0x1,'justifyContent':_0x25af(0x9e),'alignItems':'center','paddingHorizontal':0x18,'marginTop':-0x50},'lottieContainer':{'width':0x168,'height':0x168,'marginBottom':0x20,'alignItems':_0x25af(0x9e),'justifyContent':_0x25af(0x9e)},'lottieAnimation':{'width':_0x25af(0x2b),'height':_0x25af(0x2b)},'textContainer':{'flexDirection':_0x25af(0x9f),'alignItems':_0x25af(0x9e),'marginBottom':0x30},'loadingText':{'fontSize':0x18,'fontFamily':_0x25af(0xa0),'fontWeight':_0x25af(0xa1),'color':_theme[_0x25af(0x9c)][_0x25af(0xa2)]},'dotsContainer':{'flexDirection':_0x25af(0x9f),'marginLeft':0x4},'dot':{'fontSize':0x18,'fontFamily':_0x25af(0xa0),'fontWeight':_0x25af(0xa1),'color':_theme[_0x25af(0x9c)]['grey800'],'marginLeft':0x2},'progressContainer':{'width':_0x25af(0x2b),'maxWidth':0x118},'progressTrack':{'height':0x6,'backgroundColor':'#E5E5E5','borderRadius':0x3,'overflow':_0x25af(0xa3)},'progressFill':{'height':_0x25af(0x2b),'backgroundColor':_theme['COLORS'][_0x25af(0xa2)],'borderRadius':0x3}});var _default=exports[_0x25af(0x2)]=PersonaLoadingScreen;
|
|
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 _lottieReactNative = _interopRequireDefault(require("lottie-react-native"));
|
|
10
|
+
var _theme = require("../theme");
|
|
11
|
+
var _haptics = require("../utils/haptics");
|
|
12
|
+
var _assetRegistry = require("../utils/assetRegistry");
|
|
13
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
14
|
+
function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function (e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != typeof e && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (const t in e) "default" !== t && {}.hasOwnProperty.call(e, t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, t)) && (i.get || i.set) ? o(f, t, i) : f[t] = e[t]); return f; })(e, t); }
|
|
15
|
+
// Status messages with their progress ranges
|
|
16
|
+
const STATUS_MESSAGES = [{
|
|
17
|
+
text: 'Keeping your data private',
|
|
18
|
+
minProgress: 0,
|
|
19
|
+
maxProgress: 25
|
|
20
|
+
}, {
|
|
21
|
+
text: 'Trying to understand your mind',
|
|
22
|
+
minProgress: 20,
|
|
23
|
+
maxProgress: 45
|
|
24
|
+
}, {
|
|
25
|
+
text: "You're more interesting than I expected",
|
|
26
|
+
minProgress: 40,
|
|
27
|
+
maxProgress: 65
|
|
28
|
+
}, {
|
|
29
|
+
text: 'Finalizing your unique persona',
|
|
30
|
+
minProgress: 60,
|
|
31
|
+
maxProgress: 85
|
|
32
|
+
}, {
|
|
33
|
+
text: 'Almost done',
|
|
34
|
+
minProgress: 80,
|
|
35
|
+
maxProgress: 95
|
|
36
|
+
}, {
|
|
37
|
+
text: 'Complete!',
|
|
38
|
+
minProgress: 100,
|
|
39
|
+
maxProgress: 100
|
|
40
|
+
}];
|
|
41
|
+
|
|
42
|
+
// Helper function to get random number in range
|
|
43
|
+
const randomInRange = (min, max) => {
|
|
44
|
+
return Math.random() * (max - min) + min;
|
|
45
|
+
};
|
|
46
|
+
|
|
47
|
+
// Helper function to get random integer in range
|
|
48
|
+
const randomIntInRange = (min, max) => {
|
|
49
|
+
return Math.floor(randomInRange(min, max + 1));
|
|
50
|
+
};
|
|
51
|
+
const PersonaLoadingScreen = ({
|
|
52
|
+
visible,
|
|
53
|
+
onComplete
|
|
54
|
+
}) => {
|
|
55
|
+
const progressValue = (0, _react.useRef)(new _reactNative.Animated.Value(0)).current;
|
|
56
|
+
const dotOpacity1 = (0, _react.useRef)(new _reactNative.Animated.Value(0.3)).current;
|
|
57
|
+
const dotOpacity2 = (0, _react.useRef)(new _reactNative.Animated.Value(0.3)).current;
|
|
58
|
+
const dotOpacity3 = (0, _react.useRef)(new _reactNative.Animated.Value(0.3)).current;
|
|
59
|
+
|
|
60
|
+
// Loading state
|
|
61
|
+
const [currentProgress, setCurrentProgress] = (0, _react.useState)(0);
|
|
62
|
+
const [currentStatus, setCurrentStatus] = (0, _react.useState)('Keeping your data private');
|
|
63
|
+
const loadingTimeoutsRef = (0, _react.useRef)([]);
|
|
64
|
+
|
|
65
|
+
// Pulsing dots animation
|
|
66
|
+
(0, _react.useEffect)(() => {
|
|
67
|
+
if (!visible) return;
|
|
68
|
+
const createDotAnimation = (opacity, delay) => {
|
|
69
|
+
return _reactNative.Animated.loop(_reactNative.Animated.sequence([_reactNative.Animated.timing(opacity, {
|
|
70
|
+
toValue: 1,
|
|
71
|
+
duration: 600,
|
|
72
|
+
useNativeDriver: true
|
|
73
|
+
}), _reactNative.Animated.timing(opacity, {
|
|
74
|
+
toValue: 0.3,
|
|
75
|
+
duration: 600,
|
|
76
|
+
useNativeDriver: true
|
|
77
|
+
})]), {
|
|
78
|
+
iterations: -1
|
|
79
|
+
});
|
|
80
|
+
};
|
|
81
|
+
|
|
82
|
+
// Start dot animations with staggered delays
|
|
83
|
+
setTimeout(() => {
|
|
84
|
+
createDotAnimation(dotOpacity1, 0).start();
|
|
85
|
+
}, 300);
|
|
86
|
+
setTimeout(() => {
|
|
87
|
+
createDotAnimation(dotOpacity2, 200).start();
|
|
88
|
+
}, 500);
|
|
89
|
+
setTimeout(() => {
|
|
90
|
+
createDotAnimation(dotOpacity3, 400).start();
|
|
91
|
+
}, 700);
|
|
92
|
+
}, [visible, dotOpacity1, dotOpacity2, dotOpacity3]);
|
|
93
|
+
|
|
94
|
+
// Variable loading sequence effect
|
|
95
|
+
(0, _react.useEffect)(() => {
|
|
96
|
+
if (!visible) {
|
|
97
|
+
// Clear any existing timeouts
|
|
98
|
+
loadingTimeoutsRef.current.forEach(timeout => clearTimeout(timeout));
|
|
99
|
+
loadingTimeoutsRef.current = [];
|
|
100
|
+
return;
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
// Reset state
|
|
104
|
+
setCurrentProgress(0);
|
|
105
|
+
setCurrentStatus('Keeping your data private');
|
|
106
|
+
progressValue.setValue(0);
|
|
107
|
+
|
|
108
|
+
// Generate random loading sequence
|
|
109
|
+
const totalDuration = randomInRange(7000, 12000); // 7-12 seconds
|
|
110
|
+
const numStages = randomIntInRange(5, 8); // 5-8 progress stages
|
|
111
|
+
|
|
112
|
+
// Generate random progress points (excluding 0 and 100)
|
|
113
|
+
const progressPoints = [0];
|
|
114
|
+
for (let i = 0; i < numStages - 1; i++) {
|
|
115
|
+
// Distribute progress points somewhat evenly but with randomness
|
|
116
|
+
const minProgress = (i + 1) * (100 / numStages) - 10;
|
|
117
|
+
const maxProgress = (i + 1) * (100 / numStages) + 10;
|
|
118
|
+
progressPoints.push(randomIntInRange(Math.max(10, minProgress), Math.min(90, maxProgress)));
|
|
119
|
+
}
|
|
120
|
+
progressPoints.push(100);
|
|
121
|
+
progressPoints.sort((a, b) => a - b);
|
|
122
|
+
|
|
123
|
+
// Generate pause durations
|
|
124
|
+
const pauseTypes = ['short', 'medium', 'long'];
|
|
125
|
+
const pauseDurations = [];
|
|
126
|
+
let totalPauseDuration = 0;
|
|
127
|
+
for (let i = 0; i < numStages; i++) {
|
|
128
|
+
const pauseType = pauseTypes[randomIntInRange(0, 2)];
|
|
129
|
+
let duration;
|
|
130
|
+
if (pauseType === 'short') {
|
|
131
|
+
duration = randomInRange(250, 500);
|
|
132
|
+
} else if (pauseType === 'medium') {
|
|
133
|
+
duration = randomInRange(500, 800);
|
|
134
|
+
} else {
|
|
135
|
+
duration = randomInRange(800, 1200);
|
|
136
|
+
}
|
|
137
|
+
pauseDurations.push(duration);
|
|
138
|
+
totalPauseDuration += duration;
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
// Adjust animation durations to fit total time budget
|
|
142
|
+
const animationDuration = 400; // Duration for each progress bar animation
|
|
143
|
+
const totalAnimationTime = numStages * animationDuration;
|
|
144
|
+
const availableTime = totalDuration - totalAnimationTime;
|
|
145
|
+
const scaleFactor = availableTime / totalPauseDuration;
|
|
146
|
+
|
|
147
|
+
// Scale all pauses proportionally
|
|
148
|
+
const scaledPauseDurations = pauseDurations.map(d => d * scaleFactor);
|
|
149
|
+
|
|
150
|
+
// Generate status message change points
|
|
151
|
+
const statusChangePoints = [];
|
|
152
|
+
STATUS_MESSAGES.forEach(msg => {
|
|
153
|
+
if (msg.minProgress === 100) {
|
|
154
|
+
statusChangePoints.push({
|
|
155
|
+
progress: 100,
|
|
156
|
+
message: msg.text
|
|
157
|
+
});
|
|
158
|
+
} else {
|
|
159
|
+
const randomProgress = randomInRange(msg.minProgress, msg.maxProgress);
|
|
160
|
+
statusChangePoints.push({
|
|
161
|
+
progress: randomProgress,
|
|
162
|
+
message: msg.text
|
|
163
|
+
});
|
|
164
|
+
}
|
|
165
|
+
});
|
|
166
|
+
statusChangePoints.sort((a, b) => a.progress - b.progress);
|
|
167
|
+
|
|
168
|
+
// Execute loading sequence
|
|
169
|
+
let cumulativeTime = 0;
|
|
170
|
+
let currentStatusIndex = 0;
|
|
171
|
+
for (let i = 1; i <= numStages; i++) {
|
|
172
|
+
const targetProgress = progressPoints[i];
|
|
173
|
+
const pauseDuration = scaledPauseDurations[i - 1];
|
|
174
|
+
cumulativeTime += pauseDuration;
|
|
175
|
+
|
|
176
|
+
// Schedule progress update
|
|
177
|
+
const timeout = setTimeout(() => {
|
|
178
|
+
// Update status if we've crossed a threshold
|
|
179
|
+
while (currentStatusIndex < statusChangePoints.length && targetProgress >= statusChangePoints[currentStatusIndex].progress) {
|
|
180
|
+
setCurrentStatus(statusChangePoints[currentStatusIndex].message);
|
|
181
|
+
currentStatusIndex++;
|
|
182
|
+
}
|
|
183
|
+
|
|
184
|
+
// Update progress
|
|
185
|
+
setCurrentProgress(targetProgress);
|
|
186
|
+
|
|
187
|
+
// Animate progress bar
|
|
188
|
+
_reactNative.Animated.timing(progressValue, {
|
|
189
|
+
toValue: targetProgress / 100,
|
|
190
|
+
duration: animationDuration,
|
|
191
|
+
useNativeDriver: false
|
|
192
|
+
}).start();
|
|
193
|
+
|
|
194
|
+
// Complete when reaching 100%
|
|
195
|
+
if (targetProgress >= 100) {
|
|
196
|
+
setTimeout(() => {
|
|
197
|
+
(0, _haptics.triggerHaptic)(_haptics.HapticType.SUCCESS);
|
|
198
|
+
onComplete();
|
|
199
|
+
}, 500);
|
|
200
|
+
}
|
|
201
|
+
}, cumulativeTime);
|
|
202
|
+
loadingTimeoutsRef.current.push(timeout);
|
|
203
|
+
cumulativeTime += animationDuration;
|
|
204
|
+
}
|
|
205
|
+
|
|
206
|
+
// Cleanup function
|
|
207
|
+
return () => {
|
|
208
|
+
loadingTimeoutsRef.current.forEach(timeout => clearTimeout(timeout));
|
|
209
|
+
loadingTimeoutsRef.current = [];
|
|
210
|
+
};
|
|
211
|
+
}, [visible, onComplete, progressValue]);
|
|
212
|
+
if (!visible) return null;
|
|
213
|
+
return /*#__PURE__*/_react.default.createElement(_reactNative.View, {
|
|
214
|
+
style: styles.container
|
|
215
|
+
}, /*#__PURE__*/_react.default.createElement(_reactNative.View, {
|
|
216
|
+
style: styles.content
|
|
217
|
+
}, /*#__PURE__*/_react.default.createElement(_reactNative.View, {
|
|
218
|
+
style: styles.lottieContainer
|
|
219
|
+
}, /*#__PURE__*/_react.default.createElement(_lottieReactNative.default, {
|
|
220
|
+
source: _assetRegistry.ANIMATIONS.loader,
|
|
221
|
+
autoPlay: true,
|
|
222
|
+
loop: true,
|
|
223
|
+
style: styles.lottieAnimation,
|
|
224
|
+
resizeMode: "contain"
|
|
225
|
+
})), /*#__PURE__*/_react.default.createElement(_reactNative.View, {
|
|
226
|
+
style: styles.textContainer
|
|
227
|
+
}, /*#__PURE__*/_react.default.createElement(_reactNative.Text, {
|
|
228
|
+
style: styles.loadingText
|
|
229
|
+
}, currentStatus), /*#__PURE__*/_react.default.createElement(_reactNative.View, {
|
|
230
|
+
style: styles.dotsContainer
|
|
231
|
+
}, /*#__PURE__*/_react.default.createElement(_reactNative.Animated.Text, {
|
|
232
|
+
style: [styles.dot, {
|
|
233
|
+
opacity: dotOpacity1
|
|
234
|
+
}]
|
|
235
|
+
}, "."), /*#__PURE__*/_react.default.createElement(_reactNative.Animated.Text, {
|
|
236
|
+
style: [styles.dot, {
|
|
237
|
+
opacity: dotOpacity2
|
|
238
|
+
}]
|
|
239
|
+
}, "."), /*#__PURE__*/_react.default.createElement(_reactNative.Animated.Text, {
|
|
240
|
+
style: [styles.dot, {
|
|
241
|
+
opacity: dotOpacity3
|
|
242
|
+
}]
|
|
243
|
+
}, "."))), /*#__PURE__*/_react.default.createElement(_reactNative.View, {
|
|
244
|
+
style: styles.progressContainer
|
|
245
|
+
}, /*#__PURE__*/_react.default.createElement(_reactNative.View, {
|
|
246
|
+
style: styles.progressTrack
|
|
247
|
+
}, /*#__PURE__*/_react.default.createElement(_reactNative.Animated.View, {
|
|
248
|
+
style: [styles.progressFill, {
|
|
249
|
+
width: progressValue.interpolate({
|
|
250
|
+
inputRange: [0, 1],
|
|
251
|
+
outputRange: ['0%', '100%']
|
|
252
|
+
})
|
|
253
|
+
}]
|
|
254
|
+
})))));
|
|
255
|
+
};
|
|
256
|
+
const styles = _reactNative.StyleSheet.create({
|
|
257
|
+
container: {
|
|
258
|
+
flex: 1,
|
|
259
|
+
backgroundColor: _theme.COLORS.surface
|
|
260
|
+
},
|
|
261
|
+
content: {
|
|
262
|
+
flex: 1,
|
|
263
|
+
justifyContent: 'center',
|
|
264
|
+
alignItems: 'center',
|
|
265
|
+
paddingHorizontal: 24,
|
|
266
|
+
marginTop: -80 // Raise the content up
|
|
267
|
+
},
|
|
268
|
+
lottieContainer: {
|
|
269
|
+
width: 360,
|
|
270
|
+
height: 360,
|
|
271
|
+
marginBottom: 32,
|
|
272
|
+
alignItems: 'center',
|
|
273
|
+
justifyContent: 'center'
|
|
274
|
+
},
|
|
275
|
+
lottieAnimation: {
|
|
276
|
+
width: '100%',
|
|
277
|
+
height: '100%'
|
|
278
|
+
},
|
|
279
|
+
textContainer: {
|
|
280
|
+
flexDirection: 'row',
|
|
281
|
+
alignItems: 'center',
|
|
282
|
+
marginBottom: 48
|
|
283
|
+
},
|
|
284
|
+
loadingText: {
|
|
285
|
+
fontSize: 24,
|
|
286
|
+
fontFamily: 'IBM Plex Sans',
|
|
287
|
+
fontWeight: '600',
|
|
288
|
+
color: _theme.COLORS.grey800
|
|
289
|
+
},
|
|
290
|
+
dotsContainer: {
|
|
291
|
+
flexDirection: 'row',
|
|
292
|
+
marginLeft: 4
|
|
293
|
+
},
|
|
294
|
+
dot: {
|
|
295
|
+
fontSize: 24,
|
|
296
|
+
fontFamily: 'IBM Plex Sans',
|
|
297
|
+
fontWeight: '600',
|
|
298
|
+
color: _theme.COLORS.grey800,
|
|
299
|
+
marginLeft: 2
|
|
300
|
+
},
|
|
301
|
+
progressContainer: {
|
|
302
|
+
width: '100%',
|
|
303
|
+
maxWidth: 280
|
|
304
|
+
},
|
|
305
|
+
progressTrack: {
|
|
306
|
+
height: 6,
|
|
307
|
+
backgroundColor: '#E5E5E5',
|
|
308
|
+
borderRadius: 3,
|
|
309
|
+
overflow: 'hidden'
|
|
310
|
+
},
|
|
311
|
+
progressFill: {
|
|
312
|
+
height: '100%',
|
|
313
|
+
backgroundColor: _theme.COLORS.grey800,
|
|
314
|
+
borderRadius: 3
|
|
315
|
+
}
|
|
316
|
+
});
|
|
317
|
+
var _default = exports.default = PersonaLoadingScreen;
|
|
318
|
+
//# sourceMappingURL=PersonaLoadingScreen.js.map
|