@onairos/react-native 3.6.7 → 3.6.8
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 +1 -1
- package/lib/commonjs/components/BodyText.js +1 -1
- package/lib/commonjs/components/BrandMark.js +1 -1
- package/lib/commonjs/components/CodeInput.js +1 -1
- package/lib/commonjs/components/EmailInput.js +1 -1
- package/lib/commonjs/components/GoogleButton.js +1 -1
- package/lib/commonjs/components/HeadingGroup.js +1 -1
- package/lib/commonjs/components/LLMDataInputModal.js +1 -1
- package/lib/commonjs/components/ModalHeader.js +1 -1
- package/lib/commonjs/components/ModalSheet.js +1 -1
- package/lib/commonjs/components/Onairos.js +1 -1
- package/lib/commonjs/components/OnairosButton.js +1 -1
- package/lib/commonjs/components/OnairosSignInButton.js +1 -1
- package/lib/commonjs/components/Overlay.js +1 -1
- package/lib/commonjs/components/PersonaImage.js +1 -1
- package/lib/commonjs/components/PersonaLoadingScreen.js +1 -1
- package/lib/commonjs/components/PersonalizationConsentScreen.js +1 -1
- package/lib/commonjs/components/PinCreationScreen.js +1 -1
- package/lib/commonjs/components/PinInput.js +1 -1
- package/lib/commonjs/components/PlatformConnectorsStep.js +1 -1
- package/lib/commonjs/components/PlatformList.js +1 -1
- package/lib/commonjs/components/PlatformToggle.js +1 -1
- package/lib/commonjs/components/PrimaryButton.js +1 -1
- package/lib/commonjs/components/SignInMatchAnimation.js +1 -1
- package/lib/commonjs/components/SignInStep.js +1 -1
- package/lib/commonjs/components/UniversalOnboarding.js +1 -1
- package/lib/commonjs/components/VerificationStep.js +1 -1
- package/lib/commonjs/components/WelcomeScreen.js +1 -1
- package/lib/commonjs/components/icons/Basicproficon.js +1 -1
- package/lib/commonjs/components/icons/Basicprofile.js +1 -1
- package/lib/commonjs/components/icons/Checkbox.js +1 -1
- package/lib/commonjs/components/icons/Checkmark.js +1 -1
- package/lib/commonjs/components/icons/Contentanalysis.js +1 -1
- package/lib/commonjs/components/icons/Contenticon.js +1 -1
- package/lib/commonjs/components/icons/EnochE.js +1 -1
- package/lib/commonjs/components/icons/Personalityicon.js +1 -1
- package/lib/commonjs/components/icons/Personalityprofile.js +1 -1
- package/lib/commonjs/components/icons/Personalitytraits.js +1 -1
- package/lib/commonjs/components/icons/Userpreferences.js +1 -1
- package/lib/commonjs/components/icons/index.js +1 -1
- package/lib/commonjs/components/onboarding/OAuthWebView.js +1 -1
- package/lib/commonjs/components/onboarding/OnboardingHeader.js +1 -1
- package/lib/commonjs/components/onboarding/PinInput.js +1 -1
- package/lib/commonjs/components/onboarding/PlatformConnector.js +1 -1
- package/lib/commonjs/config/api.js +1 -1
- package/lib/commonjs/constants/index.js +1 -1
- package/lib/commonjs/context/AuthContext.js +1 -1
- package/lib/commonjs/hooks/useConnectedAccounts.js +1 -1
- package/lib/commonjs/hooks/useConnections.js +1 -1
- package/lib/commonjs/hooks/useCredentials.js +1 -1
- package/lib/commonjs/hooks/useUserConnections.js +1 -1
- package/lib/commonjs/index.js +1 -1
- package/lib/commonjs/services/apiClient.js +1 -1
- package/lib/commonjs/services/biometricPinService.js +1 -1
- package/lib/commonjs/services/chatGPTConversationExtractor.js +1 -1
- package/lib/commonjs/services/chatGPTConversationService.js +1 -1
- package/lib/commonjs/services/claudeConversationExtractor.js +1 -1
- package/lib/commonjs/services/claudeConversationService.js +1 -1
- package/lib/commonjs/services/connectedAccountsService.js +1 -1
- package/lib/commonjs/services/googleAuthService.js +1 -1
- package/lib/commonjs/services/hingeDataExtractor.js +1 -1
- package/lib/commonjs/services/hingeDataService.js +1 -1
- package/lib/commonjs/services/imageCompressionService.js +1 -1
- package/lib/commonjs/services/instagramDataExtractor.js +1 -1
- package/lib/commonjs/services/instagramDataService.js +1 -1
- package/lib/commonjs/services/jwtStorageService.js +1 -1
- package/lib/commonjs/services/linkedinDOMExtractor.js +1 -1
- package/lib/commonjs/services/linkedinProfileService.js +1 -1
- package/lib/commonjs/services/linkedinScrapingService.js +1 -1
- package/lib/commonjs/services/llmDataStorage.js +1 -1
- package/lib/commonjs/services/mobileTrainingService.js +1 -1
- package/lib/commonjs/services/pinEncryptionService.js +1 -1
- package/lib/commonjs/services/pinStorageUtils.js +1 -1
- package/lib/commonjs/services/platformAuthService.js +1 -1
- package/lib/commonjs/services/sephoraDataExtractor.js +1 -1
- package/lib/commonjs/services/sephoraDataService.js +1 -1
- package/lib/commonjs/services/storageService.js +1 -1
- package/lib/commonjs/services/telegramDataExtractor.js +1 -1
- package/lib/commonjs/services/telegramDataService.js +1 -1
- package/lib/commonjs/services/trainingApiHelpers.js +1 -1
- package/lib/commonjs/services/userConnectionsService.js +1 -1
- package/lib/commonjs/services/youtubeMigrationService.js +1 -1
- package/lib/commonjs/theme/index.js +1 -1
- package/lib/commonjs/types/index.js +1 -1
- package/lib/commonjs/types.js +1 -1
- package/lib/commonjs/utils/Portal.js +1 -1
- package/lib/commonjs/utils/api.js +1 -1
- package/lib/commonjs/utils/assetRegistry.js +1 -1
- package/lib/commonjs/utils/auth.js +1 -1
- package/lib/commonjs/utils/connectorTests.js +1 -1
- package/lib/commonjs/utils/crypto.js +1 -1
- package/lib/commonjs/utils/debugHelper.js +1 -1
- package/lib/commonjs/utils/encryption.js +1 -1
- package/lib/commonjs/utils/eventUtils.js +1 -1
- package/lib/commonjs/utils/haptics.js +1 -1
- package/lib/commonjs/utils/imagePreloader.js +1 -1
- package/lib/commonjs/utils/networkDiagnostics.js +1 -1
- package/lib/commonjs/utils/onairosApi.js +1 -1
- package/lib/commonjs/utils/programmaticFlow.js +1 -1
- package/lib/commonjs/utils/retryHelper.js +1 -1
- package/lib/commonjs/utils/secureStorage.js +1 -1
- package/lib/commonjs/utils/webviewScripts/chatgpt.js +1 -1
- package/lib/commonjs/utils/webviewScripts/claude.js +1 -1
- package/lib/commonjs/utils/webviewScripts/hinge.js +1 -1
- package/lib/commonjs/utils/webviewScripts/index.js +1 -1
- package/lib/commonjs/utils/webviewScripts/instagram.js +1 -1
- package/lib/commonjs/utils/webviewScripts/linkedin.js +1 -1
- package/lib/commonjs/utils/webviewScripts/sephora.js +1 -1
- package/lib/commonjs/utils/webviewScripts/telegram.js +1 -1
- package/lib/module/api/index.js +1 -1
- package/lib/module/components/BodyText.js +1 -1
- package/lib/module/components/BrandMark.js +1 -1
- package/lib/module/components/CodeInput.js +1 -1
- package/lib/module/components/EmailInput.js +1 -1
- package/lib/module/components/GoogleButton.js +1 -1
- package/lib/module/components/HeadingGroup.js +1 -1
- package/lib/module/components/LLMDataInputModal.js +1 -1
- package/lib/module/components/ModalHeader.js +1 -1
- package/lib/module/components/ModalSheet.js +1 -1
- package/lib/module/components/Onairos.js +1 -1
- package/lib/module/components/OnairosButton.js +1 -1
- package/lib/module/components/OnairosSignInButton.js +1 -1
- package/lib/module/components/Overlay.js +1 -1
- package/lib/module/components/PersonaImage.js +1 -1
- package/lib/module/components/PersonaLoadingScreen.js +1 -1
- package/lib/module/components/PersonalizationConsentScreen.js +1 -1
- package/lib/module/components/PinCreationScreen.js +1 -1
- package/lib/module/components/PinInput.js +1 -1
- package/lib/module/components/PlatformConnectorsStep.js +1 -1
- package/lib/module/components/PlatformList.js +1 -1
- package/lib/module/components/PlatformToggle.js +1 -1
- package/lib/module/components/PrimaryButton.js +1 -1
- package/lib/module/components/SignInMatchAnimation.js +1 -1
- package/lib/module/components/SignInStep.js +1 -1
- package/lib/module/components/UniversalOnboarding.js +1 -1
- package/lib/module/components/VerificationStep.js +1 -1
- package/lib/module/components/WelcomeScreen.js +1 -1
- package/lib/module/components/icons/Basicproficon.js +1 -1
- package/lib/module/components/icons/Basicprofile.js +1 -1
- package/lib/module/components/icons/Checkbox.js +1 -1
- package/lib/module/components/icons/Checkmark.js +1 -1
- package/lib/module/components/icons/Contentanalysis.js +1 -1
- package/lib/module/components/icons/Contenticon.js +1 -1
- package/lib/module/components/icons/EnochE.js +1 -1
- package/lib/module/components/icons/Personalityicon.js +1 -1
- package/lib/module/components/icons/Personalityprofile.js +1 -1
- package/lib/module/components/icons/Personalitytraits.js +1 -1
- package/lib/module/components/icons/Userpreferences.js +1 -1
- package/lib/module/components/onboarding/OAuthWebView.js +1 -1
- package/lib/module/components/onboarding/OnboardingHeader.js +1 -1
- package/lib/module/components/onboarding/PinInput.js +1 -1
- package/lib/module/components/onboarding/PlatformConnector.js +1 -1
- package/lib/module/config/api.js +1 -1
- package/lib/module/constants/index.js +1 -1
- package/lib/module/context/AuthContext.js +1 -1
- package/lib/module/hooks/useConnectedAccounts.js +1 -1
- package/lib/module/hooks/useConnections.js +1 -1
- package/lib/module/hooks/useCredentials.js +1 -1
- package/lib/module/hooks/useUserConnections.js +1 -1
- package/lib/module/index.js +1 -1
- package/lib/module/services/apiClient.js +1 -1
- package/lib/module/services/biometricPinService.js +1 -1
- package/lib/module/services/chatGPTConversationExtractor.js +1 -1
- package/lib/module/services/chatGPTConversationService.js +1 -1
- package/lib/module/services/claudeConversationExtractor.js +1 -1
- package/lib/module/services/claudeConversationService.js +1 -1
- package/lib/module/services/connectedAccountsService.js +1 -1
- package/lib/module/services/googleAuthService.js +1 -1
- package/lib/module/services/hingeDataExtractor.js +1 -1
- package/lib/module/services/hingeDataService.js +1 -1
- package/lib/module/services/imageCompressionService.js +1 -1
- package/lib/module/services/instagramDataExtractor.js +1 -1
- package/lib/module/services/instagramDataService.js +1 -1
- package/lib/module/services/jwtStorageService.js +1 -1
- package/lib/module/services/linkedinDOMExtractor.js +1 -1
- package/lib/module/services/linkedinProfileService.js +1 -1
- package/lib/module/services/linkedinScrapingService.js +1 -1
- package/lib/module/services/llmDataStorage.js +1 -1
- package/lib/module/services/mobileTrainingService.js +1 -1
- package/lib/module/services/pinEncryptionService.js +1 -1
- package/lib/module/services/pinStorageUtils.js +1 -1
- package/lib/module/services/platformAuthService.js +1 -1
- package/lib/module/services/sephoraDataExtractor.js +1 -1
- package/lib/module/services/sephoraDataService.js +1 -1
- package/lib/module/services/storageService.js +1 -1
- package/lib/module/services/telegramDataExtractor.js +1 -1
- package/lib/module/services/telegramDataService.js +1 -1
- package/lib/module/services/trainingApiHelpers.js +1 -1
- package/lib/module/services/userConnectionsService.js +1 -1
- package/lib/module/services/youtubeMigrationService.js +1 -1
- package/lib/module/theme/index.js +1 -1
- package/lib/module/types.js +1 -1
- package/lib/module/utils/Portal.js +1 -1
- package/lib/module/utils/api.js +1 -1
- package/lib/module/utils/assetRegistry.js +1 -1
- package/lib/module/utils/auth.js +1 -1
- package/lib/module/utils/connectorTests.js +1 -1
- package/lib/module/utils/crypto.js +1 -1
- package/lib/module/utils/debugHelper.js +1 -1
- package/lib/module/utils/encryption.js +1 -1
- package/lib/module/utils/eventUtils.js +1 -1
- package/lib/module/utils/haptics.js +1 -1
- package/lib/module/utils/networkDiagnostics.js +1 -1
- package/lib/module/utils/onairosApi.js +1 -1
- package/lib/module/utils/programmaticFlow.js +1 -1
- package/lib/module/utils/retryHelper.js +1 -1
- package/lib/module/utils/secureStorage.js +1 -1
- package/lib/module/utils/webviewScripts/chatgpt.js +1 -1
- package/lib/module/utils/webviewScripts/claude.js +1 -1
- package/lib/module/utils/webviewScripts/hinge.js +1 -1
- package/lib/module/utils/webviewScripts/index.js +1 -1
- package/lib/module/utils/webviewScripts/instagram.js +1 -1
- package/lib/module/utils/webviewScripts/linkedin.js +1 -1
- package/lib/module/utils/webviewScripts/sephora.js +1 -1
- package/lib/module/utils/webviewScripts/telegram.js +1 -1
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
import React,{useState,useEffect,useCallback,useRef}from'react';import{View,Text,StyleSheet,TouchableOpacity,ScrollView,Alert,Platform,Dimensions,Modal,Animated,TouchableWithoutFeedback,SafeAreaView,Image,Switch}from'react-native';function _0x51aa(_0xd16ad5,_0x51aa3c){_0xd16ad5=_0xd16ad5-0x0;const _0x77cd88=_0xd16a();let _0x38bb53=_0x77cd88[_0xd16ad5];return _0x38bb53;}import _0x5ee916 from'react-native-vector-icons/MaterialIcons';import{onairosApi}from'../api';import{encryptModelKey}from'../utils/encryption';import{OVERLAY_PLATFORMS}from'../utils/assetRegistry';const {width:SCREEN_WIDTH,height:SCREEN_HEIGHT}=Dimensions[_0x51aa(0x0)](_0x51aa(0x1));function _0xd16a(){const _0x155b4e=['get','window','SZXOz','Error\x20encrypting\x20model\x20key:','ivPPK','Development\x20mode\x20-\x20mock\x20account\x20info','object','QrcbV','eGFmB','mZWEp','TQQzB','com.onairos.mock','unknown','mock-token','mock-key','function','hXABn','getAPIUrlMobile','Error\x20confirming\x20selection:','error-fallback-token','Error','arrow_forward','#666','Connect\x20your\x20data\x20to\x20create\x20a\x20Persona\x20of\x20you,\x20to\x20connect\x20to\x20Cosmos','Cancel','kqgoZ','zNuAi','IyyNE','current','kZCCc','CQIoG','RnVcb','HLQPR','FxMyh','keys','forEach','EDEJu','aWWjL','BlghG','error','fallback-token','wlTbT','UNkvp','nHasK','asmgK','HCQfT','start','jHkYu','PgkwL','AHTJr','alert','data','xQnFO','AccountInfo','User:\x20','Error\x20getting\x20account\x20info:','ufYsG','idmMA','VMNhc','tJcUc','timing','ixEna','ChPvx','ziAQR','FbeDt','IJlMh','rDgYO','select','dqRUY','NCeQy','qWkeT','BASE_URL','PkhPb','uAMnq','public/key','publicKey','vLZTS','iUClg','SDJTU','oRmsh','rmXcV','jdcxr','sSFiD','HxHQO','AblUk','dWphG','local','APIUrl','token','StCdj','RlrMF','uTxDs','Failed\x20to\x20confirm\x20selection.\x20Please\x20try\x20again.','TXLsn','PHhhF','createElement','modalOverlay','stopPropagation','View','bottomSheet','darkContainer','interpolate','handle','darkHandle','container','header','headerContent','darkAppIcon','appIconText','charAt','#999','vjbGt','onairosIcon','darkOnairosIcon','darkText','content','mainTitle','sowsN','privacyMessage','platformsContainer','map','platformItem','darkPlatformItem','platformInfo','icon','platformIcon','contain','platformName','name','#767577','#81b0ff','#2196F3','#f4f3f4','footer','footerButtonCancel','footerButtonText','darkSubText','vTKms','footerButtonConfirm','darkFooterButtonConfirm','footerButtonTextConfirm','jdORz','zjzZq','Connect','create','#fff','100%','center','#E0E0E0','#1A1A1A','row','#2A2A2A','#000','#F5F5F5','600','space-between','#eee','500','#333','transparent'];_0xd16a=function(){return _0x155b4e;};return _0xd16a();}import{API_CONFIG}from'../config/api';export const Overlay=({data:_0x518618,username:_0x306198,modelKey:_0x54ab78,onResolved:_0x4a80ca,appName:appName='Your\x20App',darkMode:darkMode=![],platforms:platforms=OVERLAY_PLATFORMS})=>{const _0x36c3bc={'EDEJu':function(_0x5568ef,_0x4a057f){return _0x5568ef!==_0x4a057f;},'aWWjL':'BlghG','qWkeT':function(_0xb53afd,_0x1378f7,_0x390194,_0x1c674f){return _0xb53afd(_0x1378f7,_0x390194,_0x1c674f);},'wlTbT':function(_0x80c024,_0x1635aa){return _0x80c024===_0x1635aa;},'hEfNH':_0x51aa(0x2),'UNkvp':'ODNkJ','zNuAi':function(_0x2819d1,_0x2f33d1){return _0x2819d1(_0x2f33d1);},'jHkYu':'Failed\x20to\x20confirm\x20selection.\x20Please\x20try\x20again.','CQIoG':_0x51aa(0x3),'RnVcb':function(_0x3c98e0,_0x22477d){return _0x3c98e0!==_0x22477d;},'kqgoZ':function(_0x78be0a,_0x20b69c){return _0x78be0a(_0x20b69c);},'HCQfT':function(_0x323b3b){return _0x323b3b();},'DpQUP':function(_0x4ca59c,_0xce7ceb){return _0x4ca59c!==_0xce7ceb;},'PgkwL':'FMNqQ','AHTJr':_0x51aa(0x4),'GoluB':_0x51aa(0x5),'xQnFO':_0x51aa(0x6),'vLZTS':'Error\x20getting\x20server\x20public\x20key:','ixEna':_0x51aa(0x7),'IyyNE':function(_0x49f3a3,_0x453d54){return _0x49f3a3(_0x453d54);},'ufYsG':function(_0x4ac941,_0x2a0baa){return _0x4ac941!==_0x2a0baa;},'idmMA':'VMNhc','FbeDt':function(_0x59d583,_0x542b97,_0x3ba874){return _0x59d583(_0x542b97,_0x3ba874);},'WYEZY':_0x51aa(0x8),'EcsCQ':_0x51aa(0x9),'AblUk':function(_0x355a1e){return _0x355a1e();},'pYPTZ':function(_0x2dd4c4,_0x1e5c32){return _0x2dd4c4(_0x1e5c32);},'IJlMh':function(_0x56212c,_0x141e2e){return _0x56212c===_0x141e2e;},'rDgYO':_0x51aa(0xa),'dqRUY':_0x51aa(0xb),'NCeQy':_0x51aa(0xc),'PkhPb':_0x51aa(0xd),'uAMnq':_0x51aa(0xe),'iUClg':_0x51aa(0xf),'SDJTU':function(_0x488bb8,_0x1ed829){return _0x488bb8!==_0x1ed829;},'jdcxr':function(_0x4f408f,_0x34bb5b){return _0x4f408f===_0x34bb5b;},'sSFiD':'OxcBS','HxHQO':_0x51aa(0x10),'dWphG':_0x51aa(0x11),'tvpZa':'devURL','StCdj':function(_0x13a07c,_0x28a47a,_0x577ecb,_0x11752f){return _0x13a07c(_0x28a47a,_0x577ecb,_0x11752f);},'RlrMF':function(_0x25e041){return _0x25e041();},'mEZuo':_0x51aa(0x12),'uTxDs':_0x51aa(0x13),'rmpYq':_0x51aa(0x14),'kZCCc':function(_0x5ed734,_0x1ee90d,_0x350e9f){return _0x5ed734(_0x1ee90d,_0x350e9f);},'seCfD':'none','wyDOi':_0x51aa(0x15),'vjbGt':_0x51aa(0x16),'sowsN':_0x51aa(0x17),'vTKms':_0x51aa(0x18),'jdORz':function(_0x59799b,_0x284f6d){return _0x59799b&&_0x284f6d;},'zjzZq':'#000'},[_0x2f1af2,_0x14c60f]=_0x36c3bc[_0x51aa(0x19)](useState,{}),[_0x174ad4,_0xfc2b92]=_0x36c3bc[_0x51aa(0x1a)](useState,''),[_0x498cf6,_0x5ed57a]=_0x36c3bc[_0x51aa(0x1b)](useState,!![]),[_0x57e63d,_0x44d5c5]=_0x36c3bc[_0x51aa(0x1b)](useState,{}),_0x5422a3=_0x36c3bc[_0x51aa(0x1b)](useRef,new Animated['Value'](0x0))[_0x51aa(0x1c)];_0x36c3bc[_0x51aa(0x1d)](useEffect,()=>{const _0x40e0ba={'xrZGm':_0x36c3bc[_0x51aa(0x1e)]};if(_0x36c3bc[_0x51aa(0x1f)](_0x51aa(0x20),_0x51aa(0x21))){const _0x3957b4={};Object[_0x51aa(0x22)](_0x518618)[_0x51aa(0x23)](_0x1eb5c7=>{_0x36c3bc[_0x51aa(0x24)](_0x36c3bc[_0x51aa(0x25)],_0x51aa(0x26))?_0x1a79db[_0x51aa(0x27)](_0x40e0ba['xrZGm'],_0x2c9529):_0x3957b4[_0x1eb5c7]=![];}),_0x14c60f(_0x3957b4);const _0x1fa62e={};platforms['forEach'](_0x5d22f7=>{const _0x1199fb={'nHasK':function(_0x12a38c,_0x165d40,_0x76712e,_0xdbb36c){return _0x36c3bc['qWkeT'](_0x12a38c,_0x165d40,_0x76712e,_0xdbb36c);},'asmgK':_0x51aa(0x28),'XWzpX':function(_0x5370b6){return _0x5370b6();}};_0x36c3bc[_0x51aa(0x29)](_0x36c3bc['hEfNH'],_0x36c3bc[_0x51aa(0x2a)])?(_0x1199fb[_0x51aa(0x2b)](_0x42b80f,''+_0x35554c['BASE_URL'],_0x1199fb[_0x51aa(0x2c)],{'username':_0x3835b8,'selections':_0x4dab98,'platforms':_0x333195}),_0x1199fb['XWzpX'](_0x4b50bc)):_0x1fa62e[_0x5d22f7['id']]=![];}),_0x36c3bc[_0x51aa(0x19)](_0x44d5c5,_0x1fa62e),_0x36c3bc[_0x51aa(0x2d)](_0x4ee21f),Animated['spring'](_0x5422a3,{'toValue':0x1,'useNativeDriver':!![],'bounciness':0x0})[_0x51aa(0x2e)]();}else _0x36c3bc['zNuAi'](_0x32c953,_0x36c3bc[_0x51aa(0x2f)]);},[]);const _0x4ee21f=async()=>{try{if(__DEV__){if(_0x36c3bc['DpQUP'](_0x36c3bc[_0x51aa(0x30)],_0x36c3bc[_0x51aa(0x31)])){_0xfc2b92(_0x36c3bc['GoluB']);return;}else Alert[_0x51aa(0x32)](_0x51aa(0x14),_0x469712,[{'text':'OK'}]);}const _0x1ffaa3=await onairosApi['post']('getAccountInfo',{'Info':{'username':_0x306198}});if(_0x1ffaa3&&_0x1ffaa3[_0x51aa(0x33)]){const _0x2cab74=_0x36c3bc[_0x51aa(0x29)](typeof _0x1ffaa3[_0x51aa(0x33)],_0x36c3bc[_0x51aa(0x34)])&&_0x1ffaa3[_0x51aa(0x33)][_0x51aa(0x35)]?_0x1ffaa3[_0x51aa(0x33)][_0x51aa(0x35)]:_0x51aa(0x36)+_0x306198;_0xfc2b92(_0x2cab74);}else _0xfc2b92('User:\x20'+_0x306198);}catch(_0x5f049b){console[_0x51aa(0x27)](_0x51aa(0x37),_0x5f049b),_0x36c3bc['kqgoZ'](_0xfc2b92,_0x51aa(0x36)+_0x306198);}},_0x57495a=useCallback(()=>{const _0x1e41fa={'tJcUc':function(_0xbc1d75,_0x266e50){return _0x36c3bc[_0x51aa(0x1b)](_0xbc1d75,_0x266e50);}};_0x36c3bc[_0x51aa(0x38)](_0x36c3bc[_0x51aa(0x39)],_0x51aa(0x3a))?_0x1e41fa[_0x51aa(0x3b)](_0x5d239e,![]):Animated[_0x51aa(0x3c)](_0x5422a3,{'toValue':0x0,'duration':0xfa,'useNativeDriver':!![]})[_0x51aa(0x2e)](()=>{const _0x12c5df={'ziAQR':_0x36c3bc['vLZTS']};_0x36c3bc[_0x51aa(0x1f)](_0x36c3bc[_0x51aa(0x3d)],_0x51aa(0x3e))?_0x36c3bc['kqgoZ'](_0x5ed57a,![]):_0x2c4e92[_0x51aa(0x27)](_0x12c5df[_0x51aa(0x3f)],_0x2cfc11);});},[_0x5422a3]),_0x3738e4=_0x36c3bc[_0x51aa(0x1d)](useCallback,_0x1b26e4=>{if(_0x36c3bc['WYEZY']!==_0x36c3bc['EcsCQ'])_0x44d5c5(_0x59d999=>({..._0x59d999,[_0x1b26e4]:!_0x59d999[_0x1b26e4]}));else try{_0x212725=_0x36c3bc[_0x51aa(0x40)](_0x5436e3,_0x5aa3d7,_0x4cfd91);}catch(_0x1ad735){_0x8dee44['error'](_0x36c3bc[_0x51aa(0x1e)],_0x1ad735);}},[]),_0x3a8ed2=_0x36c3bc[_0x51aa(0x1d)](useCallback,async()=>{const _0x2d8ce3={'QQFLr':function(_0x1cd604,_0x4b74b0){return _0x1cd604===_0x4b74b0;},'TXLsn':_0x36c3bc[_0x51aa(0x34)],'PHhhF':function(_0x3d6327,_0x5c1cba){return _0x36c3bc['pYPTZ'](_0x3d6327,_0x5c1cba);}};if(_0x36c3bc[_0x51aa(0x41)](_0x36c3bc['rDgYO'],_0x36c3bc[_0x51aa(0x42)]))try{const _0x45801d=Platform[_0x51aa(0x43)]({'ios':_0x36c3bc[_0x51aa(0x44)],'android':_0x36c3bc[_0x51aa(0x44)],'default':_0x36c3bc[_0x51aa(0x45)]});if(__DEV__){_0x36c3bc[_0x51aa(0x46)](_0x4a80ca,''+API_CONFIG[_0x51aa(0x47)],_0x36c3bc[_0x51aa(0x48)],{'username':_0x306198,'selections':_0x2f1af2,'platforms':_0x57e63d}),_0x36c3bc[_0x51aa(0x2d)](_0x57495a);return;}let _0x3368a4=_0x36c3bc[_0x51aa(0x49)];try{const _0x1eec1b=await onairosApi[_0x51aa(0x0)](_0x51aa(0x4a));_0x1eec1b&&_0x1eec1b[_0x51aa(0x33)]&&_0x36c3bc[_0x51aa(0x41)](typeof _0x1eec1b[_0x51aa(0x33)],_0x36c3bc[_0x51aa(0x34)])&&(_0x3368a4=_0x1eec1b['data'][_0x51aa(0x4b)]||_0x36c3bc[_0x51aa(0x49)]);}catch(_0x30ca71){console[_0x51aa(0x27)](_0x36c3bc[_0x51aa(0x4c)],_0x30ca71);}let _0x4392f7=_0x54ab78;if(_0x36c3bc[_0x51aa(0x29)](typeof encryptModelKey,_0x36c3bc[_0x51aa(0x4d)])&&_0x3368a4){if(_0x36c3bc[_0x51aa(0x4e)](_0x51aa(0x4f),_0x51aa(0x50)))try{_0x36c3bc[_0x51aa(0x51)](_0x36c3bc[_0x51aa(0x52)],_0x36c3bc[_0x51aa(0x53)])?(_0x2b045d['error'](_0x51aa(0x37),_0xa11958),_0x36c3bc[_0x51aa(0x1a)](_0x13bb4c,_0x51aa(0x36)+_0x112acd)):_0x4392f7=_0x36c3bc[_0x51aa(0x40)](encryptModelKey,_0x3368a4,_0x54ab78);}catch(_0xe4f19e){console[_0x51aa(0x27)](_0x36c3bc['CQIoG'],_0xe4f19e);}else _0x36c3bc[_0x51aa(0x46)](_0x2e7039,''+_0x424b2e[_0x51aa(0x47)],_0x51aa(0x13),{'username':_0x2a2a44,'selections':_0x59a0f2,'platforms':_0x579581,'error':!![]}),_0x36c3bc[_0x51aa(0x54)](_0x5db909);}const _0x3fd481=await onairosApi['post'](_0x36c3bc[_0x51aa(0x55)],{'Info':{'storage':_0x51aa(0x56),'appId':_0x45801d,'confirmations':_0x2f1af2,'developerURL':_0x36c3bc['tvpZa'],'EncryptedUserPin':_0x4392f7,'username':_0x306198,'platforms':_0x57e63d}});_0x3fd481&&_0x3fd481[_0x51aa(0x33)]&&_0x3fd481[_0x51aa(0x33)][_0x51aa(0x57)]&&_0x3fd481['data'][_0x51aa(0x58)]?(_0x36c3bc[_0x51aa(0x46)](_0x4a80ca,_0x3fd481[_0x51aa(0x33)][_0x51aa(0x57)],_0x3fd481[_0x51aa(0x33)][_0x51aa(0x58)],{'username':_0x306198,'selections':_0x2f1af2,'platforms':_0x57e63d}),_0x57495a()):(_0x36c3bc[_0x51aa(0x59)](_0x4a80ca,''+API_CONFIG['BASE_URL'],'fallback-token',{'username':_0x306198,'selections':_0x2f1af2,'platforms':_0x57e63d}),_0x36c3bc[_0x51aa(0x5a)](_0x57495a));}catch(_0x173890){console['error'](_0x36c3bc['mEZuo'],_0x173890),__DEV__?(_0x36c3bc['StCdj'](_0x4a80ca,''+API_CONFIG[_0x51aa(0x47)],_0x36c3bc[_0x51aa(0x5b)],{'username':_0x306198,'selections':_0x2f1af2,'platforms':_0x57e63d,'error':!![]}),_0x36c3bc[_0x51aa(0x2d)](_0x57495a)):_0x5f25(_0x51aa(0x5c));}else{const _0x82e2be=_0x2d8ce3['QQFLr'](typeof _0x55bb61[_0x51aa(0x33)],_0x2d8ce3[_0x51aa(0x5d)])&&_0x18a284[_0x51aa(0x33)][_0x51aa(0x35)]?_0x567116[_0x51aa(0x33)][_0x51aa(0x35)]:'User:\x20'+_0x144fa4;_0x2d8ce3[_0x51aa(0x5e)](_0x5bef0d,_0x82e2be);}},[_0x2f1af2,_0x306198,_0x54ab78,_0x4a80ca,_0x57495a,_0x57e63d]),_0x5f25=_0x24dfdd=>{Alert[_0x51aa(0x32)](_0x36c3bc['rmpYq'],_0x24dfdd,[{'text':'OK'}]);};return React['createElement'](Modal,{'visible':_0x498cf6,'transparent':!![],'animationType':_0x36c3bc['seCfD'],'statusBarTranslucent':!![],'onRequestClose':_0x57495a},React[_0x51aa(0x5f)](TouchableOpacity,{'style':styles[_0x51aa(0x60)],'activeOpacity':0x1,'onPress':_0x57495a},React[_0x51aa(0x5f)](TouchableWithoutFeedback,{'onPress':_0x208a29=>_0x208a29[_0x51aa(0x61)]()},React[_0x51aa(0x5f)](Animated[_0x51aa(0x62)],{'style':[styles[_0x51aa(0x63)],darkMode&&styles[_0x51aa(0x64)],{'transform':[{'translateY':_0x5422a3[_0x51aa(0x65)]({'inputRange':[0x0,0x1],'outputRange':[SCREEN_HEIGHT,0x0]})}]}]},React[_0x51aa(0x5f)](View,{'style':styles['handleContainer']},React[_0x51aa(0x5f)](View,{'style':[styles[_0x51aa(0x66)],darkMode&&styles[_0x51aa(0x67)]]})),React[_0x51aa(0x5f)](SafeAreaView,{'style':[styles[_0x51aa(0x68)],darkMode&&styles[_0x51aa(0x64)]]},React[_0x51aa(0x5f)](View,{'style':[styles[_0x51aa(0x69)],darkMode&&styles['darkHeader']]},React[_0x51aa(0x5f)](View,{'style':styles[_0x51aa(0x6a)]},React[_0x51aa(0x5f)](View,{'style':[styles['appIcon'],darkMode&&styles[_0x51aa(0x6b)]]},React[_0x51aa(0x5f)](Text,{'style':[styles[_0x51aa(0x6c)],darkMode&&styles['darkText']]},appName[_0x51aa(0x6d)](0x0))),React[_0x51aa(0x5f)](_0x5ee916,{'name':_0x36c3bc['wyDOi'],'size':0x18,'color':darkMode?_0x51aa(0x6e):_0x36c3bc[_0x51aa(0x6f)],'style':styles['arrow']}),React['createElement'](View,{'style':[styles[_0x51aa(0x70)],darkMode&&styles[_0x51aa(0x71)]]},React[_0x51aa(0x5f)](Text,{'style':[styles['onairosIconText'],darkMode&&styles[_0x51aa(0x72)]]},'O')))),React[_0x51aa(0x5f)](ScrollView,{'style':styles[_0x51aa(0x73)]},React[_0x51aa(0x5f)](View,{'style':styles['titleContainer']},React[_0x51aa(0x5f)](Text,{'style':[styles[_0x51aa(0x74)],darkMode&&styles['darkText']]},_0x36c3bc[_0x51aa(0x75)]),React['createElement'](Text,{'style':[styles[_0x51aa(0x76)],darkMode&&styles['darkSubText']]},'None\x20of\x20your\x20app\x20data\x20is\x20shared\x20with\x20ANYONE')),React[_0x51aa(0x5f)](View,{'style':styles[_0x51aa(0x77)]},platforms[_0x51aa(0x78)](_0x21d5e4=>React['createElement'](View,{'key':_0x21d5e4['id'],'style':[styles[_0x51aa(0x79)],darkMode&&styles[_0x51aa(0x7a)]]},React['createElement'](View,{'style':styles[_0x51aa(0x7b)]},React[_0x51aa(0x5f)](Image,{'source':_0x21d5e4[_0x51aa(0x7c)],'style':styles[_0x51aa(0x7d)],'resizeMode':_0x51aa(0x7e)}),React[_0x51aa(0x5f)](Text,{'style':[styles[_0x51aa(0x7f)],darkMode&&styles[_0x51aa(0x72)]]},_0x21d5e4[_0x51aa(0x80)])),React[_0x51aa(0x5f)](Switch,{'value':_0x57e63d[_0x21d5e4['id']],'onValueChange':()=>_0x3738e4(_0x21d5e4['id']),'trackColor':{'false':_0x51aa(0x81),'true':_0x51aa(0x82)},'thumbColor':_0x57e63d[_0x21d5e4['id']]?_0x51aa(0x83):_0x51aa(0x84)}))))),React['createElement'](View,{'style':[styles[_0x51aa(0x85)],darkMode&&styles['darkFooter']]},React[_0x51aa(0x5f)](TouchableOpacity,{'style':styles[_0x51aa(0x86)],'onPress':_0x57495a},React[_0x51aa(0x5f)](Text,{'style':[styles[_0x51aa(0x87)],darkMode&&styles[_0x51aa(0x88)]]},_0x36c3bc[_0x51aa(0x89)])),React[_0x51aa(0x5f)](TouchableOpacity,{'style':[styles[_0x51aa(0x8a)],darkMode&&styles[_0x51aa(0x8b)]],'onPress':_0x3a8ed2},React[_0x51aa(0x5f)](Text,{'style':[styles[_0x51aa(0x8c)],_0x36c3bc[_0x51aa(0x8d)](darkMode,{'color':_0x36c3bc[_0x51aa(0x8e)]})]},_0x51aa(0x8f)))))))));};const styles=StyleSheet[_0x51aa(0x90)]({'modalOverlay':{'flex':0x1,'backgroundColor':'rgba(0,\x200,\x200,\x200.5)','justifyContent':'flex-end'},'bottomSheet':{'backgroundColor':_0x51aa(0x91),'borderTopLeftRadius':0x18,'borderTopRightRadius':0x18,'width':SCREEN_WIDTH,'height':SCREEN_HEIGHT*0.8,'overflow':'hidden'},'handleContainer':{'width':_0x51aa(0x92),'alignItems':_0x51aa(0x93),'paddingTop':0xc,'paddingBottom':0x8},'handle':{'width':0x28,'height':0x5,'borderRadius':0x3,'backgroundColor':_0x51aa(0x94)},'darkHandle':{'backgroundColor':_0x51aa(0x16)},'container':{'flex':0x1,'backgroundColor':_0x51aa(0x91)},'darkContainer':{'backgroundColor':_0x51aa(0x95)},'header':{'padding':0x18,'alignItems':_0x51aa(0x93)},'darkHeader':{'backgroundColor':'#1A1A1A'},'headerContent':{'flexDirection':_0x51aa(0x96),'alignItems':_0x51aa(0x93),'justifyContent':_0x51aa(0x93),'marginBottom':0x10},'appIcon':{'width':0x30,'height':0x30,'borderRadius':0x10,'backgroundColor':'#F5F5F5','alignItems':_0x51aa(0x93),'justifyContent':_0x51aa(0x93)},'darkAppIcon':{'backgroundColor':_0x51aa(0x97)},'appIconText':{'fontSize':0x18,'color':_0x51aa(0x98)},'darkText':{'color':'#fff'},'arrow':{'marginHorizontal':0x10},'onairosIcon':{'width':0x30,'height':0x30,'borderRadius':0x10,'backgroundColor':_0x51aa(0x99),'alignItems':_0x51aa(0x93),'justifyContent':_0x51aa(0x93)},'darkOnairosIcon':{'backgroundColor':_0x51aa(0x97)},'onairosIconText':{'fontSize':0x18,'color':_0x51aa(0x98)},'darkSubText':{'color':_0x51aa(0x6e)},'titleContainer':{'marginBottom':0x1e},'mainTitle':{'fontSize':0x16,'fontWeight':_0x51aa(0x9a),'color':_0x51aa(0x98),'textAlign':_0x51aa(0x93),'marginBottom':0x10},'privacyMessage':{'fontSize':0xe,'color':_0x51aa(0x16),'textAlign':_0x51aa(0x93),'marginBottom':0x10},'content':{'flex':0x1,'paddingHorizontal':0x18},'platformsContainer':{'marginTop':0x10},'platformItem':{'flexDirection':'row','justifyContent':_0x51aa(0x9b),'alignItems':'center','padding':0x10,'backgroundColor':_0x51aa(0x91),'borderRadius':0x10,'marginBottom':0x10,'borderWidth':0x1,'borderColor':_0x51aa(0x9c)},'darkPlatformItem':{'backgroundColor':_0x51aa(0x97),'borderColor':'#333'},'platformInfo':{'flexDirection':_0x51aa(0x96),'alignItems':_0x51aa(0x93)},'platformIcon':{'width':0x20,'height':0x20,'marginRight':0xc},'platformName':{'fontSize':0x10,'fontWeight':_0x51aa(0x9d),'color':_0x51aa(0x98)},'footer':{'flexDirection':'row','alignItems':_0x51aa(0x93),'justifyContent':'space-between','padding':0x18,'borderTopWidth':0x1,'borderTopColor':'#eee','backgroundColor':'#fff'},'darkFooter':{'backgroundColor':'#2A2A2A','borderTopColor':_0x51aa(0x9e)},'footerButtonCancel':{'paddingVertical':0x8,'paddingHorizontal':0x10},'darkFooterButton':{'backgroundColor':_0x51aa(0x9f)},'footerButtonConfirm':{'paddingVertical':0x10,'paddingHorizontal':0x20,'borderRadius':0x10,'backgroundColor':_0x51aa(0x91),'borderWidth':0x1,'borderColor':'#000'},'darkFooterButtonConfirm':{'backgroundColor':_0x51aa(0x91),'borderColor':_0x51aa(0x91)},'footerButtonText':{'color':_0x51aa(0x16),'fontSize':0x10},'footerButtonTextConfirm':{'color':'#000','fontSize':0x10,'fontWeight':_0x51aa(0x9a)},'lightBackground':{'backgroundColor':'#fff'},'darkBackground':{'backgroundColor':'#1A1A1A'}});
|
|
1
|
+
import React,{useState,useEffect,useCallback,useRef}from'react';function _0x211d(){const _0xd1275c=['get','window','Your\x20App','Development\x20mode\x20-\x20mock\x20account\x20info','bgZYj','error-fallback-token','JfyWL','getAccountInfo','NIpnC','pdtSq','mtEXy','Error\x20getting\x20account\x20info:','Error\x20encrypting\x20model\x20key:','BnqqX','bdfrN','uJlEO','com.onairos.mock','unknown','mock-key','FQFiu','bqYcD','public/key','LVhXR','yyHLx','KkZrO','devURL','Failed\x20to\x20confirm\x20selection.\x20Please\x20try\x20again.','hpZeh','none','arrow_forward','#999','#666','Connect','OenHd','nWoUI','xdyQK','Value','current','Emnfu','NAbXI','yTtsd','csCva','keys','VsGqS','forEach','NFWpM','HfGIk','PwUOf','MfDCb','uKgaP','spring','start','GmrWn','WuGft','post','jxqnP','zgXSU','kImtP','data','uIDwG','AccountInfo','User:\x20','ZyoFa','BASE_URL','RnccG','qDiAL','mock-token','LBvXd','FCrzH','CgRjP','NfbWf','ebsep','error','FPtbM','timing','bwJDM','AWmtV','VlfyB','CZRBU','gxdpy','CeFEg','wxIMQ','select','aZusS','UbRbg','dCvzg','bXAqz','object','LkaKr','publicKey','EYmKz','sZphE','YbMcp','vTTvQ','LfzDp','APIUrl','DjQZV','BJtLX','token','jQMlQ','Whivf','kjPle','Error\x20confirming\x20selection:','BlkZV','vZvBk','BRVHo','FXbYi','alert','iHWFX','createElement','kzcLv','modalOverlay','View','bottomSheet','darkContainer','interpolate','handleContainer','handle','darkHandle','header','darkHeader','headerContent','appIcon','darkAppIcon','appIconText','darkText','charAt','Mycqb','rPWNt','aJhaP','arrow','onairosIcon','darkOnairosIcon','onairosIconText','content','mainTitle','privacyMessage','darkSubText','None\x20of\x20your\x20app\x20data\x20is\x20shared\x20with\x20ANYONE','platformsContainer','platformItem','darkPlatformItem','platformInfo','platformIcon','contain','name','#767577','#81b0ff','#f4f3f4','footer','darkFooter','footerButtonCancel','footerButtonText','Cancel','footerButtonConfirm','darkFooterButtonConfirm','footerButtonTextConfirm','IaIKH','create','rgba(0,\x200,\x200,\x200.5)','flex-end','#fff','hidden','100%','center','#E0E0E0','#1A1A1A','row','#F5F5F5','#2A2A2A','#000','600','space-between','#eee','500','#333'];_0x211d=function(){return _0xd1275c;};return _0x211d();}import{View,Text,StyleSheet,TouchableOpacity,ScrollView,Alert,Platform,Dimensions,Modal,Animated,TouchableWithoutFeedback,SafeAreaView,Image,Switch}from'react-native';import _0x4142d6 from'react-native-vector-icons/MaterialIcons';import{onairosApi}from'../api';import{encryptModelKey}from'../utils/encryption';function _0x4ee7(_0x211de5,_0x4ee776){_0x211de5=_0x211de5-0x0;const _0x445ff4=_0x211d();let _0x335ba6=_0x445ff4[_0x211de5];return _0x335ba6;}import{OVERLAY_PLATFORMS}from'../utils/assetRegistry';const {width:SCREEN_WIDTH,height:SCREEN_HEIGHT}=Dimensions[_0x4ee7(0x0)](_0x4ee7(0x1));import{API_CONFIG}from'../config/api';export const Overlay=({data:_0x15da6b,username:_0x42f18b,modelKey:_0x1e8614,onResolved:_0x3c2db5,appName:appName=_0x4ee7(0x2),darkMode:darkMode=![],platforms:platforms=OVERLAY_PLATFORMS})=>{const _0x5ee1d7={'xdyQK':function(_0x1fec2d,_0x5749c6){return _0x1fec2d(_0x5749c6);},'NAbXI':_0x4ee7(0x3),'yTtsd':function(_0x7ff399,_0xb0355e){return _0x7ff399!==_0xb0355e;},'TAyby':_0x4ee7(0x4),'VsGqS':function(_0x54e019,_0x2aa71b){return _0x54e019(_0x2aa71b);},'qDiAL':function(_0x229ac8){return _0x229ac8();},'ZyoFa':function(_0x430bba,_0x131dd0,_0x5e2857,_0x2c85c7){return _0x430bba(_0x131dd0,_0x5e2857,_0x2c85c7);},'RnccG':_0x4ee7(0x5),'GmrWn':_0x4ee7(0x6),'WuGft':function(_0x295bcd,_0x4f54f8){return _0x295bcd(_0x4f54f8);},'nLTyG':_0x4ee7(0x7),'LBvXd':function(_0x491b1b,_0x200b29){return _0x491b1b!==_0x200b29;},'jxqnP':_0x4ee7(0x8),'zgXSU':_0x4ee7(0x9),'kImtP':function(_0x2269e8,_0x532b8f){return _0x2269e8===_0x532b8f;},'uIDwG':'object','FCrzH':_0x4ee7(0xa),'CgRjP':_0x4ee7(0xb),'BJtLX':_0x4ee7(0xc),'NfbWf':function(_0x3d669c,_0xfba810){return _0x3d669c===_0xfba810;},'sYeII':_0x4ee7(0xd),'CZRBU':function(_0x32cd81,_0x411a8a){return _0x32cd81(_0x411a8a);},'AWmtV':function(_0x534ae4,_0x20f9af){return _0x534ae4!==_0x20f9af;},'lIqYC':'eVumW','EYmKz':function(_0x59c5d8,_0x393211,_0x4a0c1b){return _0x59c5d8(_0x393211,_0x4a0c1b);},'LfzDp':function(_0x43de01,_0x5baeff,_0x34d0d0,_0x5960ef){return _0x43de01(_0x5baeff,_0x34d0d0,_0x5960ef);},'DjQZV':function(_0x16d28d){return _0x16d28d();},'gxdpy':function(_0x28c475,_0x547887){return _0x28c475===_0x547887;},'CeFEg':_0x4ee7(0xe),'wxIMQ':_0x4ee7(0xf),'aZusS':_0x4ee7(0x10),'xthPH':_0x4ee7(0x11),'BlkZV':function(_0x386be1){return _0x386be1();},'UbRbg':_0x4ee7(0x12),'Ouxvd':_0x4ee7(0x13),'dCvzg':_0x4ee7(0x14),'bXAqz':_0x4ee7(0x15),'vWsvz':function(_0x5b45a2,_0xf2763d){return _0x5b45a2!==_0xf2763d;},'LkaKr':_0x4ee7(0x16),'JAfbE':_0x4ee7(0x17),'sZphE':'Error\x20getting\x20server\x20public\x20key:','YbMcp':'function','vTTvQ':_0x4ee7(0x18),'Emnfu':function(_0x60ce28,_0x2f0407,_0x25ee47){return _0x60ce28(_0x2f0407,_0x25ee47);},'lSSnr':'getAPIUrlMobile','ojgWc':'local','CgwFJ':_0x4ee7(0x19),'jQMlQ':function(_0x59aaee,_0x13827b,_0x284ab3,_0x1e87a6){return _0x59aaee(_0x13827b,_0x284ab3,_0x1e87a6);},'Whivf':'fallback-token','kjPle':function(_0x3142d2){return _0x3142d2();},'vZvBk':_0x4ee7(0x1a),'BRVHo':_0x4ee7(0x1b),'iHWFX':'Error','OenHd':function(_0x393b5f,_0xd46c4d){return _0x393b5f(_0xd46c4d);},'nWoUI':function(_0x415763,_0xb1c21c){return _0x415763(_0xb1c21c);},'poiKu':function(_0x5070ec,_0x3d47e2,_0x8f56df){return _0x5070ec(_0x3d47e2,_0x8f56df);},'kzcLv':_0x4ee7(0x1c),'Mycqb':_0x4ee7(0x1d),'rPWNt':_0x4ee7(0x1e),'aJhaP':_0x4ee7(0x1f),'ZQCyD':function(_0x4370a8,_0x168f07){return _0x4370a8&&_0x168f07;},'YclcH':'#000','IaIKH':_0x4ee7(0x20)},[_0x5e4176,_0xacc7c2]=_0x5ee1d7[_0x4ee7(0x21)](useState,{}),[_0x561905,_0x1ff19b]=_0x5ee1d7[_0x4ee7(0x21)](useState,''),[_0x2e78e3,_0x1a7b8c]=_0x5ee1d7[_0x4ee7(0x22)](useState,!![]),[_0xd1ba1c,_0x408dcc]=_0x5ee1d7['OenHd'](useState,{}),_0x36a3e2=_0x5ee1d7[_0x4ee7(0x23)](useRef,new Animated[(_0x4ee7(0x24))](0x0))[_0x4ee7(0x25)];_0x5ee1d7[_0x4ee7(0x26)](useEffect,()=>{const _0xbb1434={'NFWpM':function(_0x505230,_0x5e2b14){return _0x5ee1d7[_0x4ee7(0x23)](_0x505230,_0x5e2b14);},'HfGIk':_0x5ee1d7[_0x4ee7(0x27)],'PwUOf':function(_0x1e2330,_0x30d34f){return _0x5ee1d7[_0x4ee7(0x28)](_0x1e2330,_0x30d34f);},'MfDCb':_0x4ee7(0x29),'uKgaP':_0x5ee1d7['TAyby']},_0x4ecc69={};Object[_0x4ee7(0x2a)](_0x15da6b)['forEach'](_0x4ec5ba=>{_0x4ecc69[_0x4ec5ba]=![];}),_0x5ee1d7[_0x4ee7(0x2b)](_0xacc7c2,_0x4ecc69);const _0x2679b6={};platforms[_0x4ee7(0x2c)](_0x589e88=>{const _0x5d4804={'RVsWC':function(_0x3be262,_0x594d45){return _0xbb1434[_0x4ee7(0x2d)](_0x3be262,_0x594d45);},'vJPyF':_0xbb1434[_0x4ee7(0x2e)]};if(_0xbb1434[_0x4ee7(0x2f)](_0xbb1434[_0x4ee7(0x30)],_0xbb1434[_0x4ee7(0x31)]))_0x2679b6[_0x589e88['id']]=![];else{_0x5d4804['RVsWC'](_0x236318,_0x5d4804['vJPyF']);return;}}),_0x408dcc(_0x2679b6),_0x5ee1d7['qDiAL'](_0x39f189),Animated[_0x4ee7(0x32)](_0x36a3e2,{'toValue':0x1,'useNativeDriver':!![],'bounciness':0x0})[_0x4ee7(0x33)]();},[]);const _0x39f189=async()=>{try{if(_0x5ee1d7[_0x4ee7(0x34)]!=='wieUe'){if(__DEV__){_0x5ee1d7[_0x4ee7(0x35)](_0x1ff19b,_0x5ee1d7[_0x4ee7(0x27)]);return;}const _0x572dad=await onairosApi[_0x4ee7(0x36)](_0x5ee1d7['nLTyG'],{'Info':{'username':_0x42f18b}});if(_0x572dad&&_0x572dad['data']){if(_0x5ee1d7['LBvXd'](_0x5ee1d7[_0x4ee7(0x37)],_0x5ee1d7[_0x4ee7(0x38)])){const _0x2a49e3=_0x5ee1d7[_0x4ee7(0x39)](typeof _0x572dad[_0x4ee7(0x3a)],_0x5ee1d7[_0x4ee7(0x3b)])&&_0x572dad[_0x4ee7(0x3a)][_0x4ee7(0x3c)]?_0x572dad[_0x4ee7(0x3a)][_0x4ee7(0x3c)]:_0x4ee7(0x3d)+_0x42f18b;_0x5ee1d7[_0x4ee7(0x2b)](_0x1ff19b,_0x2a49e3);}else _0x5ee1d7[_0x4ee7(0x3e)](_0x3e3bf6,''+_0x55b84[_0x4ee7(0x3f)],_0x5ee1d7[_0x4ee7(0x40)],{'username':_0x5e93b4,'selections':_0x28ed9e,'platforms':_0x462b59,'error':!![]}),_0x5ee1d7[_0x4ee7(0x41)](_0xe3ecce);}else _0x5ee1d7['VsGqS'](_0x1ff19b,'User:\x20'+_0x42f18b);}else{_0x2b73e(''+_0x5d8755['BASE_URL'],_0x4ee7(0x42),{'username':_0x3c5fb7,'selections':_0x3c892e,'platforms':_0x51470e}),_0x5ee1d7['qDiAL'](_0x2b5b89);return;}}catch(_0x2bdc61){_0x5ee1d7[_0x4ee7(0x43)](_0x4ee7(0xa),_0x5ee1d7[_0x4ee7(0x44)])?_0x25ecc1[_0xcddbe3]=![]:(console['error'](_0x5ee1d7[_0x4ee7(0x45)],_0x2bdc61),_0x1ff19b('User:\x20'+_0x42f18b));}},_0x3ee7d9=_0x5ee1d7['poiKu'](useCallback,()=>{const _0x3b97da={'FPtbM':_0x5ee1d7['BJtLX'],'bwJDM':function(_0x4a2dc9,_0x41b1fc){return _0x5ee1d7[_0x4ee7(0x2b)](_0x4a2dc9,_0x41b1fc);}};_0x5ee1d7[_0x4ee7(0x46)](_0x4ee7(0x47),_0x5ee1d7['sYeII'])?_0x4d54ca[_0x4ee7(0x48)](_0x3b97da[_0x4ee7(0x49)],_0x517764):Animated[_0x4ee7(0x4a)](_0x36a3e2,{'toValue':0x0,'duration':0xfa,'useNativeDriver':!![]})[_0x4ee7(0x33)](()=>{_0x3b97da[_0x4ee7(0x4b)](_0x1a7b8c,![]);});},[_0x36a3e2]),_0x2f256a=useCallback(_0x4aa290=>{if(_0x5ee1d7[_0x4ee7(0x4c)](_0x5ee1d7['lIqYC'],_0x4ee7(0x4d)))_0x5ee1d7['VsGqS'](_0x408dcc,_0x2585b1=>({..._0x2585b1,[_0x4aa290]:!_0x2585b1[_0x4aa290]}));else{const _0x3bea95={};_0x586e38[_0x4ee7(0x2a)](_0x4c03c6)[_0x4ee7(0x2c)](_0x172ad7=>{_0x3bea95[_0x172ad7]=![];}),_0x5ee1d7[_0x4ee7(0x35)](_0x3985b8,_0x3bea95);const _0x3f75a0={};_0x8f8fdf['forEach'](_0x86df5f=>{_0x3f75a0[_0x86df5f['id']]=![];}),_0x5ee1d7[_0x4ee7(0x4e)](_0x5913c7,_0x3f75a0),_0x5ee1d7[_0x4ee7(0x41)](_0x3c6b63),Animated[_0x4ee7(0x32)](_0x222512,{'toValue':0x1,'useNativeDriver':!![],'bounciness':0x0})[_0x4ee7(0x33)]();}},[]),_0x131f27=_0x5ee1d7['EYmKz'](useCallback,async()=>{try{if(_0x5ee1d7[_0x4ee7(0x4f)](_0x5ee1d7[_0x4ee7(0x50)],_0x5ee1d7[_0x4ee7(0x51)]))Animated[_0x4ee7(0x4a)](_0x43876b,{'toValue':0x0,'duration':0xfa,'useNativeDriver':!![]})['start'](()=>{_0x2e6ce2(![]);});else{const _0x47c634=Platform[_0x4ee7(0x52)]({'ios':_0x4ee7(0x10),'android':_0x5ee1d7[_0x4ee7(0x53)],'default':_0x5ee1d7['xthPH']});if(__DEV__){_0x5ee1d7[_0x4ee7(0x3e)](_0x3c2db5,''+API_CONFIG['BASE_URL'],_0x4ee7(0x42),{'username':_0x42f18b,'selections':_0x5e4176,'platforms':_0xd1ba1c}),_0x5ee1d7['BlkZV'](_0x3ee7d9);return;}let _0xd124d1=_0x5ee1d7[_0x4ee7(0x54)];try{if(_0x5ee1d7['Ouxvd']!==_0x5ee1d7[_0x4ee7(0x55)]){const _0x302f15=await onairosApi['get'](_0x5ee1d7[_0x4ee7(0x56)]);_0x302f15&&_0x302f15[_0x4ee7(0x3a)]&&typeof _0x302f15[_0x4ee7(0x3a)]===_0x4ee7(0x57)&&(_0x5ee1d7['vWsvz'](_0x5ee1d7[_0x4ee7(0x58)],_0x5ee1d7['JAfbE'])?_0xd124d1=_0x302f15[_0x4ee7(0x3a)][_0x4ee7(0x59)]||_0x5ee1d7['UbRbg']:_0x5ee1d7[_0x4ee7(0x2b)](_0x1a5f1f,_0x499f37=>({..._0x499f37,[_0x4b25f2]:!_0x499f37[_0xc52753]})));}else _0x4e0c67=_0x5ee1d7[_0x4ee7(0x5a)](_0x99defe,_0x4bf4bc,_0x3b4ef2);}catch(_0x4934b2){console[_0x4ee7(0x48)](_0x5ee1d7[_0x4ee7(0x5b)],_0x4934b2);}let _0x4e5724=_0x1e8614;if(_0x5ee1d7[_0x4ee7(0x39)](typeof encryptModelKey,_0x5ee1d7[_0x4ee7(0x5c)])&&_0xd124d1)try{_0x5ee1d7[_0x4ee7(0x5d)]===_0x4ee7(0x18)?_0x4e5724=_0x5ee1d7[_0x4ee7(0x26)](encryptModelKey,_0xd124d1,_0x1e8614):(_0x5ee1d7[_0x4ee7(0x5e)](_0x551d0f,_0x3a7113[_0x4ee7(0x3a)][_0x4ee7(0x5f)],_0x454fcc['data']['token'],{'username':_0x15f857,'selections':_0x5c856f,'platforms':_0x56734b}),_0x5ee1d7[_0x4ee7(0x60)](_0x49c7a8));}catch(_0x17f7b0){console['error'](_0x5ee1d7[_0x4ee7(0x61)],_0x17f7b0);}const _0x3d78f7=await onairosApi['post'](_0x5ee1d7['lSSnr'],{'Info':{'storage':_0x5ee1d7['ojgWc'],'appId':_0x47c634,'confirmations':_0x5e4176,'developerURL':_0x5ee1d7['CgwFJ'],'EncryptedUserPin':_0x4e5724,'username':_0x42f18b,'platforms':_0xd1ba1c}});_0x3d78f7&&_0x3d78f7['data']&&_0x3d78f7[_0x4ee7(0x3a)]['APIUrl']&&_0x3d78f7[_0x4ee7(0x3a)][_0x4ee7(0x62)]?(_0x5ee1d7[_0x4ee7(0x63)](_0x3c2db5,_0x3d78f7['data']['APIUrl'],_0x3d78f7['data'][_0x4ee7(0x62)],{'username':_0x42f18b,'selections':_0x5e4176,'platforms':_0xd1ba1c}),_0x3ee7d9()):(_0x5ee1d7[_0x4ee7(0x5e)](_0x3c2db5,''+API_CONFIG[_0x4ee7(0x3f)],_0x5ee1d7[_0x4ee7(0x64)],{'username':_0x42f18b,'selections':_0x5e4176,'platforms':_0xd1ba1c}),_0x5ee1d7[_0x4ee7(0x65)](_0x3ee7d9));}}catch(_0x41bd9a){console[_0x4ee7(0x48)](_0x4ee7(0x66),_0x41bd9a),__DEV__?(_0x3c2db5(''+API_CONFIG['BASE_URL'],_0x5ee1d7[_0x4ee7(0x40)],{'username':_0x42f18b,'selections':_0x5e4176,'platforms':_0xd1ba1c,'error':!![]}),_0x5ee1d7[_0x4ee7(0x67)](_0x3ee7d9)):_0x5ee1d7[_0x4ee7(0x35)](_0x281c91,_0x5ee1d7[_0x4ee7(0x68)]);}},[_0x5e4176,_0x42f18b,_0x1e8614,_0x3c2db5,_0x3ee7d9,_0xd1ba1c]),_0x281c91=_0x257cde=>{const _0x3b7da8={'FXbYi':_0x5ee1d7[_0x4ee7(0x5b)]};_0x5ee1d7[_0x4ee7(0x43)](_0x4ee7(0x1b),_0x5ee1d7[_0x4ee7(0x69)])?_0x38a292[_0x4ee7(0x48)](_0x3b7da8[_0x4ee7(0x6a)],_0x22da10):Alert[_0x4ee7(0x6b)](_0x5ee1d7[_0x4ee7(0x6c)],_0x257cde,[{'text':'OK'}]);};return React[_0x4ee7(0x6d)](Modal,{'visible':_0x2e78e3,'transparent':!![],'animationType':_0x5ee1d7[_0x4ee7(0x6e)],'statusBarTranslucent':!![],'onRequestClose':_0x3ee7d9},React['createElement'](TouchableOpacity,{'style':styles[_0x4ee7(0x6f)],'activeOpacity':0x1,'onPress':_0x3ee7d9},React[_0x4ee7(0x6d)](TouchableWithoutFeedback,{'onPress':_0x10f7b7=>_0x10f7b7['stopPropagation']()},React[_0x4ee7(0x6d)](Animated[_0x4ee7(0x70)],{'style':[styles[_0x4ee7(0x71)],darkMode&&styles[_0x4ee7(0x72)],{'transform':[{'translateY':_0x36a3e2[_0x4ee7(0x73)]({'inputRange':[0x0,0x1],'outputRange':[SCREEN_HEIGHT,0x0]})}]}]},React['createElement'](View,{'style':styles[_0x4ee7(0x74)]},React['createElement'](View,{'style':[styles[_0x4ee7(0x75)],darkMode&&styles[_0x4ee7(0x76)]]})),React[_0x4ee7(0x6d)](SafeAreaView,{'style':[styles['container'],darkMode&&styles[_0x4ee7(0x72)]]},React[_0x4ee7(0x6d)](View,{'style':[styles[_0x4ee7(0x77)],darkMode&&styles[_0x4ee7(0x78)]]},React['createElement'](View,{'style':styles[_0x4ee7(0x79)]},React['createElement'](View,{'style':[styles[_0x4ee7(0x7a)],darkMode&&styles[_0x4ee7(0x7b)]]},React[_0x4ee7(0x6d)](Text,{'style':[styles[_0x4ee7(0x7c)],darkMode&&styles[_0x4ee7(0x7d)]]},appName[_0x4ee7(0x7e)](0x0))),React[_0x4ee7(0x6d)](_0x4142d6,{'name':_0x5ee1d7[_0x4ee7(0x7f)],'size':0x18,'color':darkMode?_0x5ee1d7[_0x4ee7(0x80)]:_0x5ee1d7[_0x4ee7(0x81)],'style':styles[_0x4ee7(0x82)]}),React['createElement'](View,{'style':[styles[_0x4ee7(0x83)],darkMode&&styles[_0x4ee7(0x84)]]},React['createElement'](Text,{'style':[styles[_0x4ee7(0x85)],darkMode&&styles[_0x4ee7(0x7d)]]},'O')))),React[_0x4ee7(0x6d)](ScrollView,{'style':styles[_0x4ee7(0x86)]},React['createElement'](View,{'style':styles['titleContainer']},React[_0x4ee7(0x6d)](Text,{'style':[styles[_0x4ee7(0x87)],darkMode&&styles['darkText']]},'Connect\x20your\x20data\x20to\x20create\x20a\x20Persona\x20of\x20you,\x20to\x20connect\x20to\x20Cosmos'),React[_0x4ee7(0x6d)](Text,{'style':[styles[_0x4ee7(0x88)],darkMode&&styles[_0x4ee7(0x89)]]},_0x4ee7(0x8a))),React[_0x4ee7(0x6d)](View,{'style':styles[_0x4ee7(0x8b)]},platforms['map'](_0x5cedf4=>React[_0x4ee7(0x6d)](View,{'key':_0x5cedf4['id'],'style':[styles[_0x4ee7(0x8c)],darkMode&&styles[_0x4ee7(0x8d)]]},React[_0x4ee7(0x6d)](View,{'style':styles[_0x4ee7(0x8e)]},React['createElement'](Image,{'source':_0x5cedf4['icon'],'style':styles[_0x4ee7(0x8f)],'resizeMode':_0x4ee7(0x90)}),React[_0x4ee7(0x6d)](Text,{'style':[styles['platformName'],darkMode&&styles[_0x4ee7(0x7d)]]},_0x5cedf4[_0x4ee7(0x91)])),React['createElement'](Switch,{'value':_0xd1ba1c[_0x5cedf4['id']],'onValueChange':()=>_0x2f256a(_0x5cedf4['id']),'trackColor':{'false':_0x4ee7(0x92),'true':_0x4ee7(0x93)},'thumbColor':_0xd1ba1c[_0x5cedf4['id']]?'#2196F3':_0x4ee7(0x94)}))))),React[_0x4ee7(0x6d)](View,{'style':[styles[_0x4ee7(0x95)],darkMode&&styles[_0x4ee7(0x96)]]},React[_0x4ee7(0x6d)](TouchableOpacity,{'style':styles[_0x4ee7(0x97)],'onPress':_0x3ee7d9},React[_0x4ee7(0x6d)](Text,{'style':[styles[_0x4ee7(0x98)],darkMode&&styles[_0x4ee7(0x89)]]},_0x4ee7(0x99))),React[_0x4ee7(0x6d)](TouchableOpacity,{'style':[styles[_0x4ee7(0x9a)],darkMode&&styles[_0x4ee7(0x9b)]],'onPress':_0x131f27},React[_0x4ee7(0x6d)](Text,{'style':[styles[_0x4ee7(0x9c)],_0x5ee1d7['ZQCyD'](darkMode,{'color':_0x5ee1d7['YclcH']})]},_0x5ee1d7[_0x4ee7(0x9d)]))))))));};const styles=StyleSheet[_0x4ee7(0x9e)]({'modalOverlay':{'flex':0x1,'backgroundColor':_0x4ee7(0x9f),'justifyContent':_0x4ee7(0xa0)},'bottomSheet':{'backgroundColor':_0x4ee7(0xa1),'borderTopLeftRadius':0x18,'borderTopRightRadius':0x18,'width':SCREEN_WIDTH,'height':SCREEN_HEIGHT*0.8,'overflow':_0x4ee7(0xa2)},'handleContainer':{'width':_0x4ee7(0xa3),'alignItems':_0x4ee7(0xa4),'paddingTop':0xc,'paddingBottom':0x8},'handle':{'width':0x28,'height':0x5,'borderRadius':0x3,'backgroundColor':_0x4ee7(0xa5)},'darkHandle':{'backgroundColor':'#666'},'container':{'flex':0x1,'backgroundColor':_0x4ee7(0xa1)},'darkContainer':{'backgroundColor':_0x4ee7(0xa6)},'header':{'padding':0x18,'alignItems':_0x4ee7(0xa4)},'darkHeader':{'backgroundColor':_0x4ee7(0xa6)},'headerContent':{'flexDirection':_0x4ee7(0xa7),'alignItems':_0x4ee7(0xa4),'justifyContent':_0x4ee7(0xa4),'marginBottom':0x10},'appIcon':{'width':0x30,'height':0x30,'borderRadius':0x10,'backgroundColor':_0x4ee7(0xa8),'alignItems':_0x4ee7(0xa4),'justifyContent':'center'},'darkAppIcon':{'backgroundColor':_0x4ee7(0xa9)},'appIconText':{'fontSize':0x18,'color':_0x4ee7(0xaa)},'darkText':{'color':_0x4ee7(0xa1)},'arrow':{'marginHorizontal':0x10},'onairosIcon':{'width':0x30,'height':0x30,'borderRadius':0x10,'backgroundColor':_0x4ee7(0xa8),'alignItems':_0x4ee7(0xa4),'justifyContent':_0x4ee7(0xa4)},'darkOnairosIcon':{'backgroundColor':_0x4ee7(0xa9)},'onairosIconText':{'fontSize':0x18,'color':_0x4ee7(0xaa)},'darkSubText':{'color':_0x4ee7(0x1e)},'titleContainer':{'marginBottom':0x1e},'mainTitle':{'fontSize':0x16,'fontWeight':_0x4ee7(0xab),'color':'#000','textAlign':_0x4ee7(0xa4),'marginBottom':0x10},'privacyMessage':{'fontSize':0xe,'color':_0x4ee7(0x1f),'textAlign':_0x4ee7(0xa4),'marginBottom':0x10},'content':{'flex':0x1,'paddingHorizontal':0x18},'platformsContainer':{'marginTop':0x10},'platformItem':{'flexDirection':_0x4ee7(0xa7),'justifyContent':_0x4ee7(0xac),'alignItems':_0x4ee7(0xa4),'padding':0x10,'backgroundColor':'#fff','borderRadius':0x10,'marginBottom':0x10,'borderWidth':0x1,'borderColor':_0x4ee7(0xad)},'darkPlatformItem':{'backgroundColor':_0x4ee7(0xa9),'borderColor':'#333'},'platformInfo':{'flexDirection':_0x4ee7(0xa7),'alignItems':'center'},'platformIcon':{'width':0x20,'height':0x20,'marginRight':0xc},'platformName':{'fontSize':0x10,'fontWeight':_0x4ee7(0xae),'color':'#000'},'footer':{'flexDirection':_0x4ee7(0xa7),'alignItems':_0x4ee7(0xa4),'justifyContent':_0x4ee7(0xac),'padding':0x18,'borderTopWidth':0x1,'borderTopColor':_0x4ee7(0xad),'backgroundColor':'#fff'},'darkFooter':{'backgroundColor':'#2A2A2A','borderTopColor':_0x4ee7(0xaf)},'footerButtonCancel':{'paddingVertical':0x8,'paddingHorizontal':0x10},'darkFooterButton':{'backgroundColor':'transparent'},'footerButtonConfirm':{'paddingVertical':0x10,'paddingHorizontal':0x20,'borderRadius':0x10,'backgroundColor':_0x4ee7(0xa1),'borderWidth':0x1,'borderColor':_0x4ee7(0xaa)},'darkFooterButtonConfirm':{'backgroundColor':_0x4ee7(0xa1),'borderColor':_0x4ee7(0xa1)},'footerButtonText':{'color':_0x4ee7(0x1f),'fontSize':0x10},'footerButtonTextConfirm':{'color':_0x4ee7(0xaa),'fontSize':0x10,'fontWeight':_0x4ee7(0xab)},'lightBackground':{'backgroundColor':_0x4ee7(0xa1)},'darkBackground':{'backgroundColor':_0x4ee7(0xa6)}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import React,{useEffect,useRef,useState}from'react';import{View,StyleSheet}from'react-native';function _0x3353(_0x21578d,_0x335305){_0x21578d=_0x21578d-0x0;const _0x37f7c8=_0x2157();let _0x34b62e=_0x37f7c8[_0x21578d];return _0x34b62e;}function _0x2157(){const _0x4d4928=['contain','EBvAE','RdAsS','mktXo','mMTwU','CNpvP','lCjHr','shGto','SNmzs','SpGHh','pFaeA','OWKVK','GYoGG','split','current','Caqqt','NyVuy','ZbNPJ','now','Pzomq','sPLHg','ohjXU','GuqdW','VPjJu','CXsYw','sQadv','createElement','container','persona','animation','center'];_0x2157=function(){return _0x4d4928;};return _0x2157();}import _0x1109c4 from'lottie-react-native';import{ANIMATIONS}from'../utils/assetRegistry';const PersonaImage=({level:_0x1635c3,style:_0x54b077,disableAnimation:disableAnimation=![]})=>{const _0x42818f={'sQadv':function(_0x1cadd9,_0x1d35f6){return _0x1cadd9!==_0x1d35f6;},'EBvAE':function(_0xf942be,_0x23e8f6){return _0xf942be(_0x23e8f6);},'lCjHr':function(_0x5a646a,_0x5cf5b0){return _0x5a646a-_0x5cf5b0;},'shGto':function(_0x5b354e,_0x3948ae){return _0x5b354e/_0x3948ae;},'SNmzs':function(_0x21ad5e,_0x2cf8a4){return _0x21ad5e*_0x2cf8a4;},'nRdaG':function(_0x8f449c,_0x39490f){return _0x8f449c+_0x39490f;},'SpGHh':function(_0x1ddb52,_0x523f4d){return _0x1ddb52-_0x523f4d;},'pFaeA':function(_0x30141a,_0x12533b){return _0x30141a(_0x12533b);},'OWKVK':function(_0x50e56c,_0x4e71f4){return _0x50e56c<_0x4e71f4;},'GYoGG':'1|3|4|2|0','Caqqt':function(_0xd9ee85,_0x4d9c31){return _0xd9ee85(_0x4d9c31);},'NyVuy':function(_0x1cd05b,_0x207105){return _0x1cd05b===_0x207105;},'ZbNPJ':function(_0x403326,_0x4e529d){return _0x403326!==_0x4e529d;},'RdAsS':function(_0x497bfd,_0x2d42d0){return _0x497bfd(_0x2d42d0);},'CUBdI':function(_0x282986,_0x1a03c5,_0x3f766e){return _0x282986(_0x1a03c5,_0x3f766e);},'mktXo':function(_0x50612d,_0x5cb2ff){return _0x50612d(_0x5cb2ff);},'mMTwU':function(_0x481472,_0x1fcf10){return _0x481472(_0x1fcf10);},'CNpvP':function(_0x220b03,_0x37f79b){return _0x220b03(_0x37f79b);},'MsXCx':_0x3353(0x0)},_0x1fe451=_0x42818f[_0x3353(0x1)](useRef,null),_0x477911=[0x0,0.2,0.35,0.52,0.8],_0x4acebe=_0x13cdcc=>_0x477911[_0x13cdcc-0x1]||0x0,[_0x64b056,_0x1a7467]=_0x42818f[_0x3353(0x2)](useState,_0x42818f[_0x3353(0x1)](_0x4acebe,_0x1635c3)),_0x23cdcb=useRef(_0x42818f[_0x3353(0x2)](_0x4acebe,_0x1635c3)),_0x58b2d2=_0x42818f[_0x3353(0x3)](useRef,_0x1635c3),_0x495f47=_0x42818f[_0x3353(0x3)](useRef,null),_0x27d6b2=_0x42818f[_0x3353(0x4)](useRef,null),_0x451605=_0x42818f[_0x3353(0x5)](useRef,!![]);return useEffect(()=>{const _0x7e9778={'rRLoz':function(_0x491622,_0x63e834){return _0x42818f[_0x3353(0x6)](_0x491622,_0x63e834);},'lYOmd':function(_0x47ff96,_0x290161){return _0x42818f[_0x3353(0x7)](_0x47ff96,_0x290161);},'Pzomq':function(_0x6d3213,_0xbeb38c){return _0x6d3213<_0xbeb38c;},'sPLHg':function(_0x4956f2,_0x4d0261){return _0x42818f[_0x3353(0x8)](_0x4956f2,_0x4d0261);},'ohjXU':function(_0x4f0046,_0x5f4e19){return _0x42818f['nRdaG'](_0x4f0046,_0x5f4e19);},'GuqdW':function(_0x3727f5,_0x53772a){return _0x42818f[_0x3353(0x8)](_0x3727f5,_0x53772a);},'exXFZ':function(_0x343919,_0x2ad001){return _0x42818f[_0x3353(0x9)](_0x343919,_0x2ad001);},'VPjJu':function(_0x3c2a01,_0x4b8734){return _0x42818f[_0x3353(0xa)](_0x3c2a01,_0x4b8734);},'CXsYw':function(_0x1977b5,_0x328cee){return _0x42818f[_0x3353(0xb)](_0x1977b5,_0x328cee);}},_0x1c5ae0=_0x4acebe(_0x1635c3);if(_0x451605['current']){const _0x2bfd07=_0x42818f[_0x3353(0xc)][_0x3353(0xd)]('|');let _0x2bcdf9=0x0;while(!![]){switch(_0x2bfd07[_0x2bcdf9++]){case'0':return;case'1':_0x23cdcb[_0x3353(0xe)]=_0x1c5ae0;continue;case'2':_0x451605[_0x3353(0xe)]=![];continue;case'3':_0x42818f[_0x3353(0xf)](_0x1a7467,_0x1c5ae0);continue;case'4':_0x58b2d2[_0x3353(0xe)]=_0x1635c3;continue;}break;}}if(disableAnimation){_0x23cdcb[_0x3353(0xe)]=_0x1c5ae0,_0x42818f['Caqqt'](_0x1a7467,_0x1c5ae0),_0x58b2d2[_0x3353(0xe)]=_0x1635c3;return;}if(_0x42818f[_0x3353(0x10)](_0x58b2d2[_0x3353(0xe)],_0x1635c3))return;_0x42818f[_0x3353(0x11)](_0x495f47['current'],null)&&(_0x42818f[_0x3353(0xf)](cancelAnimationFrame,_0x495f47['current']),_0x495f47[_0x3353(0xe)]=null);_0x27d6b2['current']!==null&&(_0x42818f['RdAsS'](clearTimeout,_0x27d6b2['current']),_0x27d6b2[_0x3353(0xe)]=null);const _0x220725=0x96,_0x119f5a=0xc80;return _0x27d6b2[_0x3353(0xe)]=_0x42818f['CUBdI'](setTimeout,()=>{const _0x4ffc4b=_0x23cdcb[_0x3353(0xe)],_0xf90629=Date[_0x3353(0x12)](),_0x298df8=()=>{const _0x134675=_0x7e9778['rRLoz'](Date['now'](),_0xf90629),_0x42e2fc=Math['min'](_0x7e9778['lYOmd'](_0x134675,_0x119f5a),0x1),_0x243984=_0x7e9778[_0x3353(0x13)](_0x42e2fc,0.5)?_0x7e9778[_0x3353(0x14)](_0x7e9778[_0x3353(0x14)](0x2,_0x42e2fc),_0x42e2fc):_0x7e9778[_0x3353(0x15)](-0x1,_0x7e9778['rRLoz'](0x4,0x2*_0x42e2fc)*_0x42e2fc),_0x38de4b=_0x7e9778[_0x3353(0x15)](_0x4ffc4b,_0x7e9778[_0x3353(0x16)](_0x7e9778['exXFZ'](_0x1c5ae0,_0x4ffc4b),_0x243984));_0x23cdcb[_0x3353(0xe)]=_0x38de4b,_0x7e9778[_0x3353(0x17)](_0x1a7467,_0x38de4b),_0x7e9778[_0x3353(0x18)](_0x42e2fc,0x1)?_0x495f47['current']=_0x7e9778['VPjJu'](requestAnimationFrame,_0x298df8):_0x495f47[_0x3353(0xe)]=null;};_0x495f47['current']=_0x7e9778[_0x3353(0x17)](requestAnimationFrame,_0x298df8);},_0x220725),_0x58b2d2[_0x3353(0xe)]=_0x1635c3,()=>{_0x42818f[_0x3353(0x19)](_0x495f47['current'],null)&&(_0x42818f[_0x3353(0x1)](cancelAnimationFrame,_0x495f47[_0x3353(0xe)]),_0x495f47[_0x3353(0xe)]=null),_0x42818f[_0x3353(0x19)](_0x27d6b2[_0x3353(0xe)],null)&&(clearTimeout(_0x27d6b2[_0x3353(0xe)]),_0x27d6b2[_0x3353(0xe)]=null);};},[_0x1635c3,disableAnimation]),React[_0x3353(0x1a)](View,{'style':[styles[_0x3353(0x1b)],_0x54b077]},React['createElement'](_0x1109c4,{'ref':_0x1fe451,'source':ANIMATIONS[_0x3353(0x1c)],'progress':_0x64b056,'loop':![],'autoPlay':![],'style':styles[_0x3353(0x1d)],'resizeMode':_0x42818f['MsXCx']}));},styles=StyleSheet['create']({'container':{'width':0xc8,'height':0xc8,'alignItems':_0x3353(0x1e),'justifyContent':'center'},'animation':{'width':'100%','height':'100%'}});export default PersonaImage;
|
|
1
|
+
import React,{useEffect,useRef,useState}from'react';import{View,StyleSheet}from'react-native';import _0x43a4f0 from'lottie-react-native';function _0x1d6e(_0x4736a0,_0x1d6e13){_0x4736a0=_0x4736a0-0x0;const _0x20b3a1=_0x4736();let _0x4a84a6=_0x20b3a1[_0x4736a0];return _0x4a84a6;}import{ANIMATIONS}from'../utils/assetRegistry';function _0x4736(){const _0x1238f3=['znnIR','xFoWp','Uxmxo','UHVMO','0|4|3|2|1','ThBws','QTRZV','dLWYg','GcEXK','AOZal','lNMMb','XDwbL','LFuGQ','KGAut','current','split','gSREo','iJUVg','qgvfX','OlZvj','rwEIW','evvfH','CFVdv','DImXm','QBEnt','GZsdQ','now','yeTFx','kaMGO','ybisd','PCJXM','sKeqM','BgntR','NXFMi','RySwd','bQbtK','TRQBE','rtXMr','BEThm','min','NmaVG','ZoCza','hkySJ','fURet','LHIJR','YaPvF','htNCU','Czlyv','zjtwB','jWAyS','QGPCB','BVYiX','kYqnP','yUcML','kbAJH','bpGjE','XGwse','JBKXt','createElement','container','persona','pkubB','create','center','100%'];_0x4736=function(){return _0x1238f3;};return _0x4736();}const PersonaImage=({level:_0x5864f3,style:_0x2bae5f,disableAnimation:disableAnimation=![]})=>{const _0x4e2287={'ThBws':function(_0x529cfb,_0x1ba99e){return _0x529cfb(_0x1ba99e);},'iavFe':function(_0x5757c6,_0x47dbc8){return _0x5757c6-_0x47dbc8;},'XDwbL':function(_0x4d7ded,_0x1828b3){return _0x4d7ded===_0x1828b3;},'eDbQa':_0x1d6e(0x0),'GWQgY':_0x1d6e(0x1),'rwEIW':function(_0xee1e00,_0xc9e804){return _0xee1e00-_0xc9e804;},'zsCAR':function(_0x56ebcd,_0x5a48c8){return _0x56ebcd/_0x5a48c8;},'evvfH':function(_0x288aac,_0x499666){return _0x288aac*_0x499666;},'CFVdv':function(_0xcf3e07,_0x27b992){return _0xcf3e07+_0x27b992;},'DImXm':function(_0x533726,_0x123067){return _0x533726!==_0x123067;},'QBEnt':_0x1d6e(0x2),'GZsdQ':_0x1d6e(0x3),'AOZal':function(_0x52cd83,_0x113795){return _0x52cd83/_0x113795;},'MPjwp':function(_0x4eed0b,_0x18a686){return _0x4eed0b<_0x18a686;},'lNMMb':function(_0x5358ee,_0x460c80){return _0x5358ee*_0x460c80;},'szRqq':function(_0x4e0a84,_0x2717d3){return _0x4e0a84-_0x2717d3;},'FGPrC':_0x1d6e(0x4),'gSREo':function(_0x5327c0,_0x3cf9ac){return _0x5327c0!==_0x3cf9ac;},'iJUVg':function(_0x541bf4,_0x245092){return _0x541bf4(_0x245092);},'WkZyw':function(_0x1ff925,_0x5a9be4){return _0x1ff925===_0x5a9be4;},'OlZvj':'qgvfX','GcEXK':function(_0x5c8e4f,_0x3d63dd){return _0x5c8e4f(_0x3d63dd);},'QTRZV':function(_0x4e5922,_0x252d44){return _0x4e5922(_0x252d44);},'dLWYg':function(_0x289245,_0x19ae17){return _0x289245(_0x19ae17);},'pkubB':'contain'},_0x19a47b=useRef(null),_0x53f127=[0x0,0.2,0.35,0.52,0.8],_0x29a9f8=_0x39e470=>_0x53f127[_0x39e470-0x1]||0x0,[_0x1db4aa,_0x4b3e9b]=_0x4e2287['ThBws'](useState,_0x29a9f8(_0x5864f3)),_0x288ce4=_0x4e2287[_0x1d6e(0x5)](useRef,_0x4e2287['GcEXK'](_0x29a9f8,_0x5864f3)),_0x408fd2=_0x4e2287[_0x1d6e(0x6)](useRef,_0x5864f3),_0xf1be72=_0x4e2287[_0x1d6e(0x7)](useRef,null),_0x3cb84c=_0x4e2287[_0x1d6e(0x8)](useRef,null),_0x50a9e6=_0x4e2287[_0x1d6e(0x8)](useRef,!![]);return useEffect(()=>{const _0x51472c={'yUcML':function(_0x4e664e,_0x43b31f){return _0x4e2287[_0x1d6e(0x9)](_0x4e664e,_0x43b31f);},'kbAJH':function(_0x2aeb03,_0x2e8895){return _0x4e2287['MPjwp'](_0x2aeb03,_0x2e8895);},'xNKrA':function(_0x52faa4,_0x3222fc){return _0x4e2287[_0x1d6e(0xa)](_0x52faa4,_0x3222fc);},'bpGjE':function(_0x10fcd3,_0x22b897){return _0x4e2287[_0x1d6e(0xa)](_0x10fcd3,_0x22b897);},'JAHUq':function(_0x5617ec,_0x3f6dda){return _0x4e2287['CFVdv'](_0x5617ec,_0x3f6dda);},'OwaZM':function(_0x308535,_0x574d9e){return _0x308535*_0x574d9e;},'XGwse':function(_0xbf9a29,_0x540429){return _0x4e2287['szRqq'](_0xbf9a29,_0x540429);},'JBKXt':function(_0x185377,_0x152e08){return _0x185377!==_0x152e08;}};if(_0x4e2287[_0x1d6e(0xb)](_0x1d6e(0xc),_0x1d6e(0xd))){_0x863f6f[_0x1d6e(0xe)]=_0x55b54f,_0x4e2287[_0x1d6e(0x5)](_0x4d0eef,_0x39b21a),_0x3b5f9e['current']=_0x1d056c,_0x784839['current']=![];return;}else{const _0x5f1abd=_0x4e2287[_0x1d6e(0x5)](_0x29a9f8,_0x5864f3);if(_0x50a9e6[_0x1d6e(0xe)]){const _0x1d5085=_0x4e2287['FGPrC'][_0x1d6e(0xf)]('|');let _0x24f2d1=0x0;while(!![]){switch(_0x1d5085[_0x24f2d1++]){case'0':_0x288ce4['current']=_0x5f1abd;continue;case'1':return;case'2':_0x50a9e6[_0x1d6e(0xe)]=![];continue;case'3':_0x408fd2[_0x1d6e(0xe)]=_0x5864f3;continue;case'4':_0x4b3e9b(_0x5f1abd);continue;}break;}}if(disableAnimation){_0x288ce4[_0x1d6e(0xe)]=_0x5f1abd,_0x4e2287['ThBws'](_0x4b3e9b,_0x5f1abd),_0x408fd2[_0x1d6e(0xe)]=_0x5864f3;return;}if(_0x408fd2[_0x1d6e(0xe)]===_0x5864f3)return;_0x4e2287[_0x1d6e(0x10)](_0xf1be72[_0x1d6e(0xe)],null)&&(_0x4e2287[_0x1d6e(0x11)](cancelAnimationFrame,_0xf1be72[_0x1d6e(0xe)]),_0xf1be72[_0x1d6e(0xe)]=null);_0x3cb84c[_0x1d6e(0xe)]!==null&&(_0x4e2287['WkZyw'](_0x1d6e(0x12),_0x4e2287[_0x1d6e(0x13)])?(_0x4e2287[_0x1d6e(0x5)](clearTimeout,_0x3cb84c[_0x1d6e(0xe)]),_0x3cb84c[_0x1d6e(0xe)]=null):(_0x62cfd2(_0x2693cf['current']),_0x1f9708[_0x1d6e(0xe)]=null));const _0xd9f1d4=0x96,_0xeb6fcd=0xc80;return _0x3cb84c['current']=setTimeout(()=>{const _0xc7137={'yeTFx':function(_0x219fa3,_0x5445f2){return _0x219fa3-_0x5445f2;},'kaMGO':function(_0x39692a,_0x5df18e){return _0x39692a<_0x5df18e;},'ybisd':function(_0x21f550,_0x50a2a7){return _0x21f550*_0x50a2a7;},'PCJXM':function(_0x55bb0d,_0xc6dbf3){return _0x4e2287['iavFe'](_0x55bb0d,_0xc6dbf3);},'sKeqM':function(_0x34297e,_0x362eab){return _0x4e2287[_0x1d6e(0xb)](_0x34297e,_0x362eab);},'BgntR':_0x4e2287['eDbQa'],'NXFMi':_0x4e2287['GWQgY'],'Czlyv':function(_0x5c6f07,_0x315427){return _0x4e2287[_0x1d6e(0x14)](_0x5c6f07,_0x315427);},'zjtwB':function(_0x2ad0b2,_0x3d0dbf){return _0x4e2287['zsCAR'](_0x2ad0b2,_0x3d0dbf);},'jWAyS':function(_0x507377,_0x286d4d){return _0x4e2287['evvfH'](_0x507377,_0x286d4d);},'QGPCB':function(_0x391431,_0x8914b7){return _0x4e2287[_0x1d6e(0x15)](_0x391431,_0x8914b7);},'BVYiX':function(_0x28ac09,_0x4fdeb5){return _0x4e2287[_0x1d6e(0x16)](_0x28ac09,_0x4fdeb5);},'wdXth':function(_0x1ec48e,_0x180fc5){return _0x4e2287['iavFe'](_0x1ec48e,_0x180fc5);},'erIdL':function(_0x432819,_0xae4987){return _0x432819(_0xae4987);},'kYqnP':function(_0x2e06c2,_0x4f2a9c){return _0x4e2287['ThBws'](_0x2e06c2,_0x4f2a9c);}};if(_0x4e2287[_0x1d6e(0x17)](_0x4e2287[_0x1d6e(0x18)],_0x4e2287[_0x1d6e(0x19)])){const _0x9ef080=_0x288ce4[_0x1d6e(0xe)],_0x24a747=Date[_0x1d6e(0x1a)](),_0x228a02=()=>{const _0xd6622={'AjJGD':function(_0x2d3fda,_0x34852e){return _0xc7137[_0x1d6e(0x1b)](_0x2d3fda,_0x34852e);},'rtXMr':function(_0xf9e147,_0x3a8575){return _0xc7137[_0x1d6e(0x1c)](_0xf9e147,_0x3a8575);},'RySwd':function(_0x349087,_0x2146d6){return _0xc7137[_0x1d6e(0x1d)](_0x349087,_0x2146d6);},'bQbtK':function(_0x514e4b,_0x2d341b){return _0x514e4b+_0x2d341b;},'TRQBE':function(_0xc427b0,_0xf62249){return _0xc7137[_0x1d6e(0x1e)](_0xc427b0,_0xf62249);},'htNCU':function(_0x368b30,_0x1a9844){return _0x368b30(_0x1a9844);}};if(_0xc7137[_0x1d6e(0x1f)](_0xc7137[_0x1d6e(0x20)],_0xc7137[_0x1d6e(0x21)])){const _0x349018={'BEThm':function(_0xed259a,_0x2d6930){return _0xd6622['AjJGD'](_0xed259a,_0x2d6930);},'NmaVG':function(_0x80b1a8,_0x3fff0d){return _0xd6622['rtXMr'](_0x80b1a8,_0x3fff0d);},'ZoCza':function(_0x19511d,_0x51923f){return _0x19511d*_0x51923f;},'hkySJ':function(_0x39a47f,_0x86c76b){return _0xd6622[_0x1d6e(0x22)](_0x39a47f,_0x86c76b);},'pxUhn':function(_0x17bb60,_0x123527){return _0xd6622[_0x1d6e(0x23)](_0x17bb60,_0x123527);},'fURet':function(_0x355165,_0x2e27e7){return _0xd6622[_0x1d6e(0x24)](_0x355165,_0x2e27e7);},'LHIJR':function(_0x47b4f0,_0x3661bc){return _0xd6622[_0x1d6e(0x22)](_0x47b4f0,_0x3661bc);},'iUJkY':function(_0x124420,_0x2c7e13){return _0xd6622[_0x1d6e(0x23)](_0x124420,_0x2c7e13);},'EJerW':function(_0x1cf32e,_0x4b87f2){return _0x1cf32e*_0x4b87f2;},'YaPvF':function(_0x21585f,_0x2dbb35){return _0xd6622[_0x1d6e(0x25)](_0x21585f,_0x2dbb35);}},_0x5637b7=_0x50e11e[_0x1d6e(0xe)],_0x4c60db=_0x1bd2b4[_0x1d6e(0x1a)](),_0x94fae7=()=>{const _0xade46e=_0x349018[_0x1d6e(0x26)](_0x26e556[_0x1d6e(0x1a)](),_0x4c60db),_0x47e19d=_0x330078[_0x1d6e(0x27)](_0xade46e/_0x50a394,0x1),_0x3306f1=_0x349018[_0x1d6e(0x28)](_0x47e19d,0.5)?_0x349018[_0x1d6e(0x29)](_0x349018[_0x1d6e(0x2a)](0x2,_0x47e19d),_0x47e19d):_0x349018['pxUhn'](-0x1,_0x349018[_0x1d6e(0x2b)](0x4,_0x349018[_0x1d6e(0x2c)](0x2,_0x47e19d))*_0x47e19d),_0x4c2f39=_0x349018['iUJkY'](_0x5637b7,_0x349018['EJerW'](_0x349018[_0x1d6e(0x2b)](_0x3889ef,_0x5637b7),_0x3306f1));_0x534c20[_0x1d6e(0xe)]=_0x4c2f39,_0xced268(_0x4c2f39),_0x349018[_0x1d6e(0x2d)](_0x47e19d,0x1)?_0x30d7d2[_0x1d6e(0xe)]=_0x4eb871(_0x94fae7):_0x2ed4c3['current']=null;};_0x5acd3a['current']=_0xd6622[_0x1d6e(0x2e)](_0x40fa73,_0x94fae7);}else{const _0x3d7e8c=_0xc7137[_0x1d6e(0x2f)](Date[_0x1d6e(0x1a)](),_0x24a747),_0x844a97=Math['min'](_0xc7137[_0x1d6e(0x30)](_0x3d7e8c,_0xeb6fcd),0x1),_0x1c415d=_0xc7137[_0x1d6e(0x1c)](_0x844a97,0.5)?_0xc7137[_0x1d6e(0x31)](_0xc7137[_0x1d6e(0x32)](0x2,_0x844a97),_0x844a97):_0xc7137[_0x1d6e(0x33)](-0x1,_0xc7137['jWAyS'](_0xc7137['wdXth'](0x4,_0xc7137['QGPCB'](0x2,_0x844a97)),_0x844a97)),_0x27546a=_0x9ef080+(_0x5f1abd-_0x9ef080)*_0x1c415d;_0x288ce4[_0x1d6e(0xe)]=_0x27546a,_0xc7137['erIdL'](_0x4b3e9b,_0x27546a),_0x844a97<0x1?_0xf1be72['current']=_0xc7137[_0x1d6e(0x34)](requestAnimationFrame,_0x228a02):_0xf1be72[_0x1d6e(0xe)]=null;}};_0xf1be72['current']=_0x4e2287[_0x1d6e(0x5)](requestAnimationFrame,_0x228a02);}else{const _0x2c5fa1=_0x480cfc['now']()-_0x289402,_0x48aea1=_0x2d4a8c[_0x1d6e(0x27)](_0x51472c[_0x1d6e(0x35)](_0x2c5fa1,_0x5332bc),0x1),_0x55b0d4=_0x51472c[_0x1d6e(0x36)](_0x48aea1,0.5)?_0x51472c['xNKrA'](_0x51472c[_0x1d6e(0x37)](0x2,_0x48aea1),_0x48aea1):_0x51472c['JAHUq'](-0x1,_0x51472c['OwaZM'](_0x51472c[_0x1d6e(0x38)](0x4,0x2*_0x48aea1),_0x48aea1)),_0x32542b=_0x2ef6f4+_0x51472c['bpGjE'](_0x51472c[_0x1d6e(0x38)](_0x430612,_0xcc5410),_0x55b0d4);_0x537dee[_0x1d6e(0xe)]=_0x32542b,_0x1135b9(_0x32542b),_0x48aea1<0x1?_0x34ddd6[_0x1d6e(0xe)]=_0x3583fe(_0x4f220c):_0xdd3791[_0x1d6e(0xe)]=null;}},_0xd9f1d4),_0x408fd2['current']=_0x5864f3,()=>{_0x51472c[_0x1d6e(0x39)](_0xf1be72[_0x1d6e(0xe)],null)&&(cancelAnimationFrame(_0xf1be72[_0x1d6e(0xe)]),_0xf1be72[_0x1d6e(0xe)]=null),_0x51472c[_0x1d6e(0x39)](_0x3cb84c[_0x1d6e(0xe)],null)&&(clearTimeout(_0x3cb84c[_0x1d6e(0xe)]),_0x3cb84c['current']=null);};}},[_0x5864f3,disableAnimation]),React[_0x1d6e(0x3a)](View,{'style':[styles[_0x1d6e(0x3b)],_0x2bae5f]},React['createElement'](_0x43a4f0,{'ref':_0x19a47b,'source':ANIMATIONS[_0x1d6e(0x3c)],'progress':_0x1db4aa,'loop':![],'autoPlay':![],'style':styles['animation'],'resizeMode':_0x4e2287[_0x1d6e(0x3d)]}));},styles=StyleSheet[_0x1d6e(0x3e)]({'container':{'width':0xc8,'height':0xc8,'alignItems':_0x1d6e(0x3f),'justifyContent':_0x1d6e(0x3f)},'animation':{'width':_0x1d6e(0x40),'height':_0x1d6e(0x40)}});export default PersonaImage;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import React,{useEffect,useRef,useState}from'react';import{View,Text,StyleSheet,Animated}from'react-native';import _0x5df13c from'lottie-react-native';import{COLORS}from'../theme';import{triggerHaptic,HapticType}from'../utils/haptics';import{ANIMATIONS}from'../utils/assetRegistry';function _0x4649(_0x3ebef3,_0x464957){_0x3ebef3=_0x3ebef3-0x0;const _0x4ff5bd=_0x3ebe();let _0x5c4c30=_0x4ff5bd[_0x3ebef3];return _0x5c4c30;}function _0x3ebe(){const _0x2c4e3f=['Keeping\x20your\x20data\x20private','Trying\x20to\x20understand\x20your\x20mind','Almost\x20done','Complete!','PgeFZ','CheEP','random','floor','MOawr','Gtkvc','PgHTx','AuFzL','esyOp','uTXRG','enxAp','short','medium','long','bONDt','jPNcT','Value','current','pMKWB','tDEbL','qaKQy','AWBdZ','vPhwb','lwSUG','nyxlE','uOhdf','ItMQr','timing','start','SUVsK','xdXyd','yPSgt','ssrBg','hACKd','forEach','IiyOa','setValue','BLbXE','AKGje','uOysH','Pvqlf','max','push','WsVdz','VVSZz','FMNxU','rPaGi','BKRBp','gPSbR','SlkdY','eMgRx','jotLm','map','minProgress','maxProgress','text','sort','progress','edsQn','iijVJ','KdnEU','xMIRl','NDlUh','length','ohVks','bGeaN','ACXrL','message','faxvO','OAHVz','SUCCESS','MfKWz','bmyWL','bhxcf','XrpLg','KDnni','container','createElement','content','loader','lottieAnimation','contain','loadingText','dot','Text','progressContainer','View','progressFill','interpolate','zNvJz','surface','center','IBM\x20Plex\x20Sans','600','grey800','100%','#E5E5E5','hidden'];_0x3ebe=function(){return _0x2c4e3f;};return _0x3ebe();}const STATUS_MESSAGES=[{'text':_0x4649(0x0),'minProgress':0x0,'maxProgress':0x19},{'text':_0x4649(0x1),'minProgress':0x14,'maxProgress':0x2d},{'text':'You\x27re\x20more\x20interesting\x20than\x20I\x20expected','minProgress':0x28,'maxProgress':0x41},{'text':'Finalizing\x20your\x20unique\x20persona','minProgress':0x3c,'maxProgress':0x55},{'text':_0x4649(0x2),'minProgress':0x50,'maxProgress':0x5f},{'text':_0x4649(0x3),'minProgress':0x64,'maxProgress':0x64}],randomInRange=(_0x2f2e1b,_0x266b92)=>{const _0x1ee9fe={'PgeFZ':function(_0x5f8855,_0x157498){return _0x5f8855+_0x157498;},'CheEP':function(_0xb388e7,_0x2c99f4){return _0xb388e7*_0x2c99f4;}};return _0x1ee9fe[_0x4649(0x4)](_0x1ee9fe[_0x4649(0x5)](Math[_0x4649(0x6)](),_0x266b92-_0x2f2e1b),_0x2f2e1b);},randomIntInRange=(_0x56f48a,_0x1388d6)=>{const _0x4b058c={'MOawr':function(_0x363e75,_0x4b944d,_0x5f29e2){return _0x363e75(_0x4b944d,_0x5f29e2);},'Gtkvc':function(_0x466358,_0x58abf8){return _0x466358+_0x58abf8;}};return Math[_0x4649(0x7)](_0x4b058c[_0x4649(0x8)](randomInRange,_0x56f48a,_0x4b058c[_0x4649(0x9)](_0x1388d6,0x1)));},PersonaLoadingScreen=({visible:_0x2d912d,onComplete:_0x2bc99b})=>{const _0x3c921c={'uOhdf':function(_0x507e0c,_0x3c43c0,_0x1cb293){return _0x507e0c(_0x3c43c0,_0x1cb293);},'nMJTB':_0x4649(0xa),'nyxlE':_0x4649(0xb),'xdXyd':function(_0x34344c,_0x197a0e,_0xb4fd26){return _0x34344c(_0x197a0e,_0xb4fd26);},'ssrBg':function(_0x4c83d7,_0x789621){return _0x4c83d7===_0x789621;},'ACXrL':function(_0x16322a,_0x311301){return _0x16322a(_0x311301);},'KdnEU':function(_0x4efe2c,_0x11ab24){return _0x4efe2c!==_0x11ab24;},'xMIRl':_0x4649(0xc),'rPaGi':function(_0x270521,_0x33b278){return _0x270521<_0x33b278;},'ohVks':function(_0x315cb0,_0x4353df){return _0x315cb0>=_0x4353df;},'htPpy':_0x4649(0xd),'bGeaN':_0x4649(0xe),'qaKQy':function(_0x12b723,_0x3946ff){return _0x12b723(_0x3946ff);},'faxvO':function(_0x597437,_0x1feda1){return _0x597437/_0x1feda1;},'OAHVz':'DnqHP','MfKWz':function(_0x405571,_0xc41487,_0x898e44){return _0x405571(_0xc41487,_0x898e44);},'yPSgt':function(_0x2cd62c,_0x2cffa2,_0x3bac4d){return _0x2cd62c(_0x2cffa2,_0x3bac4d);},'vPhwb':function(_0x565dbf,_0x5b6a6a){return _0x565dbf(_0x5b6a6a);},'BrhOI':function(_0x4d4b88){return _0x4d4b88();},'hACKd':function(_0x243fdb,_0x1ad38e,_0x13da87){return _0x243fdb(_0x1ad38e,_0x13da87);},'IiyOa':function(_0xe6115e,_0x4daaed){return _0xe6115e(_0x4daaed);},'BLbXE':function(_0x16d97f,_0x5893af){return _0x16d97f-_0x5893af;},'eJtfX':function(_0x158ed9,_0x4b39cb){return _0x158ed9-_0x4b39cb;},'Pvqlf':function(_0x4ed787,_0x2d203e){return _0x4ed787*_0x2d203e;},'AKGje':function(_0x477e43,_0x49179f){return _0x477e43+_0x49179f;},'uOysH':function(_0x5d908e,_0x26db74){return _0x5d908e/_0x26db74;},'WsVdz':_0x4649(0xf),'VVSZz':_0x4649(0x10),'FMNxU':_0x4649(0x11),'aSvxB':function(_0x1086a0,_0x231f39){return _0x1086a0===_0x231f39;},'gPSbR':function(_0x21a9f5,_0x449137,_0x34a666){return _0x21a9f5(_0x449137,_0x34a666);},'SlkdY':function(_0x40cba3,_0x2abbaf){return _0x40cba3===_0x2abbaf;},'GMQGS':function(_0x26ab81,_0x107dd4,_0x10df25){return _0x26ab81(_0x107dd4,_0x10df25);},'eMgRx':function(_0x1dca3f,_0x508b93,_0x424b4d){return _0x1dca3f(_0x508b93,_0x424b4d);},'jotLm':function(_0x42fd0f,_0x2b5d7f){return _0x42fd0f/_0x2b5d7f;},'edsQn':function(_0x2d6128,_0x4d9c60){return _0x2d6128<=_0x4d9c60;},'Phbrz':function(_0x101e2a,_0x34b5c0){return _0x101e2a!==_0x34b5c0;},'znOTr':_0x4649(0x12),'iijVJ':_0x4649(0x13),'pMKWB':function(_0x525f7f,_0x343bde){return _0x525f7f(_0x343bde);},'tDEbL':function(_0x54033d,_0x2b0ad8){return _0x54033d(_0x2b0ad8);},'AWBdZ':_0x4649(0x0),'lwSUG':function(_0x396d4c,_0x16065d,_0x2e004e){return _0x396d4c(_0x16065d,_0x2e004e);},'IrgAw':function(_0x5d698f,_0x264905,_0x2c5e85){return _0x5d698f(_0x264905,_0x2c5e85);},'zNvJz':'100%'},_0x22360d=useRef(new Animated[(_0x4649(0x14))](0x0))[_0x4649(0x15)],_0x16904d=useRef(new Animated['Value'](0.3))[_0x4649(0x15)],_0x464312=_0x3c921c[_0x4649(0x16)](useRef,new Animated[(_0x4649(0x14))](0.3))['current'],_0x40905f=_0x3c921c[_0x4649(0x17)](useRef,new Animated[(_0x4649(0x14))](0.3))[_0x4649(0x15)],[_0x1e7b26,_0x566ce8]=_0x3c921c[_0x4649(0x18)](useState,0x0),[_0x58edb5,_0x403064]=useState(_0x3c921c[_0x4649(0x19)]),_0x20d301=_0x3c921c[_0x4649(0x1a)](useRef,[]);_0x3c921c[_0x4649(0x1b)](useEffect,()=>{const _0x310225={'ItMQr':_0x3c921c['nMJTB'],'QHYXI':_0x3c921c[_0x4649(0x1c)],'SUVsK':function(_0xf8b2a0,_0x22b823,_0x13bfba){return _0x3c921c[_0x4649(0x1d)](_0xf8b2a0,_0x22b823,_0x13bfba);}};if(!_0x2d912d)return;const _0x1b1d12=(_0xc4b3a0,_0x25c688)=>{if(_0x310225[_0x4649(0x1e)]!==_0x310225['QHYXI'])return Animated['loop'](Animated['sequence']([Animated[_0x4649(0x1f)](_0xc4b3a0,{'toValue':0x1,'duration':0x258,'useNativeDriver':!![]}),Animated['timing'](_0xc4b3a0,{'toValue':0.3,'duration':0x258,'useNativeDriver':!![]})]),{'iterations':-0x1});else _0x1ce1b8(_0x2477ad,0x190)[_0x4649(0x20)]();};_0x3c921c[_0x4649(0x1d)](setTimeout,()=>{_0x310225[_0x4649(0x21)](_0x1b1d12,_0x16904d,0x0)[_0x4649(0x20)]();},0x12c),_0x3c921c['uOhdf'](setTimeout,()=>{_0x310225[_0x4649(0x21)](_0x1b1d12,_0x464312,0xc8)[_0x4649(0x20)]();},0x1f4),_0x3c921c[_0x4649(0x22)](setTimeout,()=>{_0x3c921c[_0x4649(0x1d)](_0x1b1d12,_0x40905f,0x190)[_0x4649(0x20)]();},0x2bc);},[_0x2d912d,_0x16904d,_0x464312,_0x40905f]),_0x3c921c['IrgAw'](useEffect,()=>{const _0x37d6b2={'BKRBp':function(_0x55a98a,_0x6fe192,_0x449dc3){return _0x3c921c[_0x4649(0x23)](_0x55a98a,_0x6fe192,_0x449dc3);},'bmyWL':function(_0x1de7e6,_0x117ffc){return _0x3c921c['vPhwb'](_0x1de7e6,_0x117ffc);},'bhxcf':function(_0x171a3e){return _0x3c921c['BrhOI'](_0x171a3e);},'XrpLg':function(_0x5cb606,_0x1636cc){return _0x3c921c[_0x4649(0x24)](_0x5cb606,_0x1636cc);},'KDnni':function(_0x4d390e,_0x237b41,_0x47fc77){return _0x3c921c[_0x4649(0x25)](_0x4d390e,_0x237b41,_0x47fc77);}};if(!_0x2d912d){_0x20d301['current'][_0x4649(0x26)](_0x135a36=>clearTimeout(_0x135a36)),_0x20d301['current']=[];return;}_0x3c921c[_0x4649(0x27)](_0x566ce8,0x0),_0x3c921c[_0x4649(0x18)](_0x403064,'Keeping\x20your\x20data\x20private'),_0x22360d[_0x4649(0x28)](0x0);const _0x64dc9c=_0x3c921c[_0x4649(0x25)](randomInRange,0x1b58,0x2ee0),_0x3f9b15=randomIntInRange(0x5,0x8),_0x20daa6=[0x0];for(let _0x3acc13=0x0;_0x3acc13<_0x3c921c[_0x4649(0x29)](_0x3f9b15,0x1);_0x3acc13++){const _0x405e16=_0x3c921c['eJtfX'](_0x3c921c['Pvqlf'](_0x3c921c[_0x4649(0x2a)](_0x3acc13,0x1),_0x3c921c[_0x4649(0x2b)](0x64,_0x3f9b15)),0xa),_0x420792=_0x3c921c[_0x4649(0x2c)](_0x3c921c['AKGje'](_0x3acc13,0x1),_0x3c921c['faxvO'](0x64,_0x3f9b15))+0xa;_0x20daa6['push'](_0x3c921c[_0x4649(0x22)](randomIntInRange,Math[_0x4649(0x2d)](0xa,_0x405e16),Math['min'](0x5a,_0x420792)));}_0x20daa6[_0x4649(0x2e)](0x64),_0x20daa6['sort']((_0xce663a,_0x4a5ed5)=>_0xce663a-_0x4a5ed5);const _0x42b4c5=[_0x3c921c[_0x4649(0x2f)],_0x3c921c[_0x4649(0x30)],_0x3c921c[_0x4649(0x31)]],_0x427704=[];let _0x3900de=0x0;for(let _0x52993f=0x0;_0x3c921c[_0x4649(0x32)](_0x52993f,_0x3f9b15);_0x52993f++){if(_0x3c921c['aSvxB']('PfuJQ','XnjXv'))_0x37d6b2[_0x4649(0x33)](_0x7f5bed,_0x4f933b,0xc8)[_0x4649(0x20)]();else{const _0x2ef0c8=_0x42b4c5[_0x3c921c[_0x4649(0x34)](randomIntInRange,0x0,0x2)];let _0x5bd246;if(_0x3c921c[_0x4649(0x35)](_0x2ef0c8,_0x3c921c[_0x4649(0x2f)]))_0x5bd246=_0x3c921c['GMQGS'](randomInRange,0xfa,0x1f4);else _0x3c921c['SlkdY'](_0x2ef0c8,_0x3c921c[_0x4649(0x30)])?_0x5bd246=_0x3c921c[_0x4649(0x36)](randomInRange,0x1f4,0x320):_0x5bd246=randomInRange(0x320,0x4b0);_0x427704[_0x4649(0x2e)](_0x5bd246),_0x3900de+=_0x5bd246;}}const _0x5931d5=0x190,_0x13d176=_0x3c921c[_0x4649(0x2c)](_0x3f9b15,_0x5931d5),_0x53421c=_0x64dc9c-_0x13d176,_0x1eae84=_0x3c921c[_0x4649(0x37)](_0x53421c,_0x3900de),_0x40181a=_0x427704[_0x4649(0x38)](_0x34b0b8=>_0x34b0b8*_0x1eae84),_0x1ce7b7=[];STATUS_MESSAGES[_0x4649(0x26)](_0x53af1b=>{if(_0x3c921c[_0x4649(0x24)](_0x53af1b[_0x4649(0x39)],0x64))_0x1ce7b7[_0x4649(0x2e)]({'progress':0x64,'message':_0x53af1b['text']});else{const _0x2a21b9=randomInRange(_0x53af1b[_0x4649(0x39)],_0x53af1b[_0x4649(0x3a)]);_0x1ce7b7[_0x4649(0x2e)]({'progress':_0x2a21b9,'message':_0x53af1b[_0x4649(0x3b)]});}}),_0x1ce7b7[_0x4649(0x3c)]((_0x3001c1,_0x205a82)=>_0x3001c1[_0x4649(0x3d)]-_0x205a82['progress']);let _0x47df4e=0x0,_0x116677=0x0;for(let _0x45f824=0x1;_0x3c921c[_0x4649(0x3e)](_0x45f824,_0x3f9b15);_0x45f824++){if(_0x3c921c['Phbrz'](_0x3c921c['znOTr'],_0x3c921c[_0x4649(0x3f)])){const _0x44a3df=_0x20daa6[_0x45f824],_0x484af6=_0x40181a[_0x45f824-0x1];_0x47df4e+=_0x484af6;const _0x309ec1=setTimeout(()=>{const _0x311979={'pRsyZ':function(_0x5f03b3,_0x537a6c){return _0x3c921c['ACXrL'](_0x5f03b3,_0x537a6c);}};if(_0x3c921c[_0x4649(0x40)](_0x3c921c[_0x4649(0x41)],_0x4649(0x42))){while(_0x3c921c[_0x4649(0x32)](_0x116677,_0x1ce7b7[_0x4649(0x43)])&&_0x3c921c[_0x4649(0x44)](_0x44a3df,_0x1ce7b7[_0x116677]['progress'])){_0x3c921c[_0x4649(0x40)](_0x3c921c['htPpy'],_0x3c921c[_0x4649(0x45)])?(_0x3c921c[_0x4649(0x46)](_0x403064,_0x1ce7b7[_0x116677][_0x4649(0x47)]),_0x116677++):(_0x3a46dd[_0x4649(0x15)][_0x4649(0x26)](_0x57d041=>_0x45943f(_0x57d041)),_0x5180ec[_0x4649(0x15)]=[]);}_0x3c921c[_0x4649(0x18)](_0x566ce8,_0x44a3df),Animated[_0x4649(0x1f)](_0x22360d,{'toValue':_0x3c921c[_0x4649(0x48)](_0x44a3df,0x64),'duration':_0x5931d5,'useNativeDriver':![]})[_0x4649(0x20)]();if(_0x3c921c['ohVks'](_0x44a3df,0x64)){if(_0x3c921c['KdnEU'](_0x3c921c[_0x4649(0x49)],_0x3c921c[_0x4649(0x49)])){const _0xd4eaa9={'dhmyk':function(_0x43404b,_0x333939){return _0x311979['pRsyZ'](_0x43404b,_0x333939);}};_0x120111(()=>{_0xd4eaa9['dhmyk'](_0x2dce37,_0xdff9f4[_0x4649(0x4a)]),_0x55ae7d();},0x1f4);}else _0x3c921c[_0x4649(0x4b)](setTimeout,()=>{_0x37d6b2[_0x4649(0x4c)](triggerHaptic,HapticType[_0x4649(0x4a)]),_0x37d6b2[_0x4649(0x4d)](_0x2bc99b);},0x1f4);}}else _0x2c0959[_0x4649(0x2e)]({'progress':0x64,'message':_0x39e8db[_0x4649(0x3b)]});},_0x47df4e);_0x20d301[_0x4649(0x15)][_0x4649(0x2e)](_0x309ec1),_0x47df4e+=_0x5931d5;}else{if(_0x37d6b2[_0x4649(0x4e)](_0x4f6acd[_0x4649(0x39)],0x64))_0x10c22d['push']({'progress':0x64,'message':_0x42fc7e[_0x4649(0x3b)]});else{const _0x505f86=_0x37d6b2[_0x4649(0x4f)](_0xb72d39,_0x13ebbf[_0x4649(0x39)],_0x5a47ee['maxProgress']);_0x21fe37[_0x4649(0x2e)]({'progress':_0x505f86,'message':_0x1de778[_0x4649(0x3b)]});}}}return()=>{_0x20d301['current'][_0x4649(0x26)](_0x1ba6cf=>clearTimeout(_0x1ba6cf)),_0x20d301[_0x4649(0x15)]=[];};},[_0x2d912d,_0x2bc99b,_0x22360d]);if(!_0x2d912d)return null;return React['createElement'](View,{'style':styles[_0x4649(0x50)]},React[_0x4649(0x51)](View,{'style':styles[_0x4649(0x52)]},React['createElement'](View,{'style':styles['lottieContainer']},React[_0x4649(0x51)](_0x5df13c,{'source':ANIMATIONS[_0x4649(0x53)],'autoPlay':!![],'loop':!![],'style':styles[_0x4649(0x54)],'resizeMode':_0x4649(0x55)})),React[_0x4649(0x51)](View,{'style':styles['textContainer']},React[_0x4649(0x51)](Text,{'style':styles[_0x4649(0x56)]},_0x58edb5),React['createElement'](View,{'style':styles['dotsContainer']},React[_0x4649(0x51)](Animated['Text'],{'style':[styles[_0x4649(0x57)],{'opacity':_0x16904d}]},'.'),React[_0x4649(0x51)](Animated[_0x4649(0x58)],{'style':[styles['dot'],{'opacity':_0x464312}]},'.'),React[_0x4649(0x51)](Animated[_0x4649(0x58)],{'style':[styles[_0x4649(0x57)],{'opacity':_0x40905f}]},'.'))),React['createElement'](View,{'style':styles[_0x4649(0x59)]},React[_0x4649(0x51)](View,{'style':styles['progressTrack']},React['createElement'](Animated[_0x4649(0x5a)],{'style':[styles[_0x4649(0x5b)],{'width':_0x22360d[_0x4649(0x5c)]({'inputRange':[0x0,0x1],'outputRange':['0%',_0x3c921c[_0x4649(0x5d)]]})}]})))));},styles=StyleSheet['create']({'container':{'flex':0x1,'backgroundColor':COLORS[_0x4649(0x5e)]},'content':{'flex':0x1,'justifyContent':'center','alignItems':'center','paddingHorizontal':0x18,'marginTop':-0x50},'lottieContainer':{'width':0x168,'height':0x168,'marginBottom':0x20,'alignItems':_0x4649(0x5f),'justifyContent':_0x4649(0x5f)},'lottieAnimation':{'width':'100%','height':'100%'},'textContainer':{'flexDirection':'row','alignItems':_0x4649(0x5f),'marginBottom':0x30},'loadingText':{'fontSize':0x18,'fontFamily':_0x4649(0x60),'fontWeight':_0x4649(0x61),'color':COLORS[_0x4649(0x62)]},'dotsContainer':{'flexDirection':'row','marginLeft':0x4},'dot':{'fontSize':0x18,'fontFamily':'IBM\x20Plex\x20Sans','fontWeight':'600','color':COLORS[_0x4649(0x62)],'marginLeft':0x2},'progressContainer':{'width':_0x4649(0x63),'maxWidth':0x118},'progressTrack':{'height':0x6,'backgroundColor':_0x4649(0x64),'borderRadius':0x3,'overflow':_0x4649(0x65)},'progressFill':{'height':_0x4649(0x63),'backgroundColor':COLORS['grey800'],'borderRadius':0x3}});export default PersonaLoadingScreen;
|
|
1
|
+
import React,{useEffect,useRef,useState}from'react';import{View,Text,StyleSheet,Animated}from'react-native';import _0x5a5dee from'lottie-react-native';import{COLORS}from'../theme';function _0x2681(_0x7e85e0,_0x26810e){_0x7e85e0=_0x7e85e0-0x0;const _0x4ae865=_0x7e85();let _0x456d2a=_0x4ae865[_0x7e85e0];return _0x456d2a;}import{triggerHaptic,HapticType}from'../utils/haptics';function _0x7e85(){const _0x4f71d6=['Trying\x20to\x20understand\x20your\x20mind','You\x27re\x20more\x20interesting\x20than\x20I\x20expected','Finalizing\x20your\x20unique\x20persona','Almost\x20done','Complete!','random','floor','ELzjQ','HdhTW','Xitso','FObqS','LJztr','kuVzm','UGEtU','riDbp','medium','WgDtA','wxrTX','FYKnC','paFha','contain','100%','NToVV','Value','pgkBc','YhOXh','current','hsZcZ','YsSwq','nhmNl','sequence','timing','start','aqgDT','SLVnr','qRhpD','uqQfm','pShix','gTsFO','LrngV','CghOp','JSttY','uzWYU','aWpCT','lkxtR','MHdYk','SZHEq','forEach','FXDVh','ImIgt','DjAhC','HFCRK','fZHEw','uYmXm','push','max','OiEeu','long','XqeKb','LKgAL','oaOYb','YMfPh','CJuhs','wcExO','UraHs','pTNNL','FQQAs','NjxWV','LntAq','wpLjT','SUCCESS','OrbSL','ilPQj','map','IJbTO','minProgress','text','iJmyT','lkjuF','sort','progress','loEhc','pQvUD','QzTsw','length','pnKjq','DyZrU','GgJsE','jdPVR','TFThB','xXbeF','KeWVr','VZvgz','maxProgress','createElement','container','lottieContainer','loader','lottieAnimation','vAWIF','loadingText','dot','Text','progressContainer','progressTrack','View','progressFill','interpolate','BZbpz','create','surface','center','row','IBM\x20Plex\x20Sans','600','grey800','#E5E5E5'];_0x7e85=function(){return _0x4f71d6;};return _0x7e85();}import{ANIMATIONS}from'../utils/assetRegistry';const STATUS_MESSAGES=[{'text':'Keeping\x20your\x20data\x20private','minProgress':0x0,'maxProgress':0x19},{'text':_0x2681(0x0),'minProgress':0x14,'maxProgress':0x2d},{'text':_0x2681(0x1),'minProgress':0x28,'maxProgress':0x41},{'text':_0x2681(0x2),'minProgress':0x3c,'maxProgress':0x55},{'text':_0x2681(0x3),'minProgress':0x50,'maxProgress':0x5f},{'text':_0x2681(0x4),'minProgress':0x64,'maxProgress':0x64}],randomInRange=(_0x3c7a47,_0x806ba3)=>{return Math[_0x2681(0x5)]()*(_0x806ba3-_0x3c7a47)+_0x3c7a47;},randomIntInRange=(_0x2d9e25,_0x1df74f)=>{const _0x15491d={'ELzjQ':function(_0x436a1b,_0x4cd47c,_0x18cd2f){return _0x436a1b(_0x4cd47c,_0x18cd2f);}};return Math[_0x2681(0x6)](_0x15491d[_0x2681(0x7)](randomInRange,_0x2d9e25,_0x1df74f+0x1));},PersonaLoadingScreen=({visible:_0x400287,onComplete:_0x570dd3})=>{const _0x9d0c53={'KvnGO':function(_0x343bb7,_0x5016e7){return _0x343bb7!==_0x5016e7;},'YsSwq':function(_0x6d3606,_0x90561a,_0x4dda99){return _0x6d3606(_0x90561a,_0x4dda99);},'BcVwS':_0x2681(0x8),'nhmNl':_0x2681(0x9),'aqgDT':function(_0x518c1f,_0x10e66e,_0x314d55){return _0x518c1f(_0x10e66e,_0x314d55);},'qRhpD':function(_0x395b75,_0x488446,_0x537b10){return _0x395b75(_0x488446,_0x537b10);},'HFCRK':function(_0x22b685,_0x133b2b){return _0x22b685+_0x133b2b;},'fZHEw':function(_0x1526d0,_0x1a6c95){return _0x1526d0/_0x1a6c95;},'XqeKb':function(_0x162b39,_0x43b638){return _0x162b39<_0x43b638;},'NToVV':function(_0x3998a3,_0x1177a9){return _0x3998a3(_0x1177a9);},'CghOp':function(_0x1f1b9e,_0x3a8490,_0x479fab){return _0x1f1b9e(_0x3a8490,_0x479fab);},'KeWVr':_0x2681(0xa),'gTsFO':function(_0x578eff,_0xb85535,_0x30a443){return _0x578eff(_0xb85535,_0x30a443);},'LrngV':function(_0x433ba2){return _0x433ba2();},'dpniq':'ATEuz','JSttY':_0x2681(0xb),'uzWYU':function(_0x2035f4,_0x5dba2f){return _0x2035f4(_0x5dba2f);},'aWpCT':function(_0x55ae49,_0x89eb14){return _0x55ae49>=_0x89eb14;},'lkxtR':function(_0x471611,_0x4d511b){return _0x471611(_0x4d511b);},'MHdYk':function(_0xb7cab4,_0x4f93c8){return _0xb7cab4===_0x4f93c8;},'SZHEq':_0x2681(0xc),'FXDVh':function(_0x178a81,_0x46be81){return _0x178a81<_0x46be81;},'ImIgt':function(_0x517557,_0x3bb4cd){return _0x517557-_0x3bb4cd;},'DjAhC':function(_0x3770c7,_0x2b36d4){return _0x3770c7-_0x2b36d4;},'HoCbk':function(_0x80f68b,_0x44ad5d){return _0x80f68b*_0x44ad5d;},'uYmXm':function(_0x1958d1,_0x4fc017){return _0x1958d1*_0x4fc017;},'OiEeu':'short','LKgAL':'acGsM','QkTid':function(_0x1f3199,_0x3f3ded){return _0x1f3199===_0x3f3ded;},'ImJGj':function(_0x2a5439,_0x699b11){return _0x2a5439!==_0x699b11;},'oaOYb':_0x2681(0xd),'YMfPh':_0x2681(0xe),'CJuhs':function(_0x308b63,_0x5edad9){return _0x308b63===_0x5edad9;},'wcExO':_0x2681(0xf),'ztQbP':function(_0x3a2955,_0x3d2e67){return _0x3a2955!==_0x3d2e67;},'UraHs':_0x2681(0x10),'pTNNL':_0x2681(0x11),'FQQAs':function(_0x2f141d,_0x1a41ff,_0x1a653a){return _0x2f141d(_0x1a41ff,_0x1a653a);},'ilPQj':function(_0x207a04,_0x3b1d80){return _0x207a04/_0x3b1d80;},'loEhc':function(_0x5c0b4e,_0x4ae41f){return _0x5c0b4e===_0x4ae41f;},'pQvUD':_0x2681(0x12),'QzTsw':_0x2681(0x13),'DyZrU':function(_0x206fd8,_0x585de5,_0xc8b65){return _0x206fd8(_0x585de5,_0xc8b65);},'pgkBc':function(_0x2cba9b,_0x417547){return _0x2cba9b(_0x417547);},'YhOXh':function(_0x39ec43,_0x8ca864){return _0x39ec43(_0x8ca864);},'hsZcZ':'Keeping\x20your\x20data\x20private','vAWIF':_0x2681(0x14),'BZbpz':_0x2681(0x15)},_0x2c6631=_0x9d0c53[_0x2681(0x16)](useRef,new Animated[(_0x2681(0x17))](0x0))['current'],_0x19afcf=_0x9d0c53[_0x2681(0x18)](useRef,new Animated[(_0x2681(0x17))](0.3))['current'],_0x5ce93d=_0x9d0c53[_0x2681(0x19)](useRef,new Animated[(_0x2681(0x17))](0.3))[_0x2681(0x1a)],_0x1b16f4=useRef(new Animated[(_0x2681(0x17))](0.3))['current'],[_0x57d637,_0x2319fb]=useState(0x0),[_0x26b9cc,_0x16ca27]=useState(_0x9d0c53[_0x2681(0x1b)]),_0x1d6f5b=_0x9d0c53[_0x2681(0x18)](useRef,[]);useEffect(()=>{const _0x1415c1={'SLVnr':function(_0x431e06,_0x4f3d7e,_0x1f0162){return _0x9d0c53[_0x2681(0x1c)](_0x431e06,_0x4f3d7e,_0x1f0162);},'uqQfm':function(_0x3f7c93,_0x4421c4){return _0x3f7c93!==_0x4421c4;},'pShix':_0x9d0c53['BcVwS'],'QaaDo':_0x9d0c53[_0x2681(0x1d)],'GLqba':function(_0x45854f,_0x523fc1,_0xff81){return _0x45854f(_0x523fc1,_0xff81);}};if(!_0x400287)return;const _0x14e013=(_0xd87830,_0x56981a)=>{if(_0x9d0c53['KvnGO']('lCfXM','pMCOk'))return Animated['loop'](Animated[_0x2681(0x1e)]([Animated[_0x2681(0x1f)](_0xd87830,{'toValue':0x1,'duration':0x258,'useNativeDriver':!![]}),Animated[_0x2681(0x1f)](_0xd87830,{'toValue':0.3,'duration':0x258,'useNativeDriver':!![]})]),{'iterations':-0x1});else _0x326d38(_0x1e81eb,0x0)[_0x2681(0x20)]();};_0x9d0c53[_0x2681(0x21)](setTimeout,()=>{_0x1415c1[_0x2681(0x22)](_0x14e013,_0x19afcf,0x0)['start']();},0x12c),setTimeout(()=>{_0x9d0c53[_0x2681(0x1c)](_0x14e013,_0x5ce93d,0xc8)[_0x2681(0x20)]();},0x1f4),_0x9d0c53[_0x2681(0x23)](setTimeout,()=>{_0x1415c1[_0x2681(0x24)](_0x1415c1[_0x2681(0x25)],_0x1415c1['QaaDo'])?_0x1415c1['GLqba'](_0x14e013,_0x1b16f4,0x190)['start']():(_0x17cd54[_0x2681(0x1a)]['forEach'](_0x2a8a05=>_0x3ef7a8(_0x2a8a05)),_0x32dad0[_0x2681(0x1a)]=[]);},0x2bc);},[_0x400287,_0x19afcf,_0x5ce93d,_0x1b16f4]),useEffect(()=>{const _0x1db69f={'zugYs':function(_0x308eac,_0x3c5fec,_0x358bd8){return _0x9d0c53[_0x2681(0x26)](_0x308eac,_0x3c5fec,_0x358bd8);},'NjxWV':function(_0x151646,_0x3a20aa){return _0x151646(_0x3a20aa);},'hhFlS':function(_0x6a0fe0){return _0x9d0c53[_0x2681(0x27)](_0x6a0fe0);},'LntAq':function(_0xc18b87,_0xdba7fc,_0x26a8c3){return _0x9d0c53[_0x2681(0x28)](_0xc18b87,_0xdba7fc,_0x26a8c3);},'IJbTO':function(_0x214169,_0x578879){return _0x214169===_0x578879;},'iJmyT':_0x9d0c53['dpniq'],'RTSib':_0x9d0c53[_0x2681(0x29)],'cmTAq':function(_0x4fe9b5,_0x437c9a,_0x5eebb7){return _0x9d0c53['CghOp'](_0x4fe9b5,_0x437c9a,_0x5eebb7);},'pnKjq':function(_0x10754e){return _0x10754e();},'LgWHk':function(_0x5a1381,_0x2bcef2){return _0x9d0c53[_0x2681(0x2a)](_0x5a1381,_0x2bcef2);},'GgJsE':function(_0x28f1ad,_0x3752f8){return _0x28f1ad<_0x3752f8;},'sIzYf':function(_0x1cb398,_0x9cc65c){return _0x9d0c53[_0x2681(0x2b)](_0x1cb398,_0x9cc65c);},'jdPVR':function(_0x55f268,_0x379888){return _0x9d0c53[_0x2681(0x2c)](_0x55f268,_0x379888);},'TFThB':function(_0x2b73db,_0x2f3314){return _0x2b73db/_0x2f3314;}};if(!_0x400287){if(_0x9d0c53[_0x2681(0x2d)](_0x9d0c53[_0x2681(0x2e)],_0x9d0c53[_0x2681(0x2e)])){_0x1d6f5b[_0x2681(0x1a)][_0x2681(0x2f)](_0x4c2d74=>clearTimeout(_0x4c2d74)),_0x1d6f5b['current']=[];return;}else _0x26fb2e=_0x1db69f['zugYs'](_0x19b88d,0xfa,0x1f4);}_0x2319fb(0x0),_0x16ca27('Keeping\x20your\x20data\x20private'),_0x2c6631['setValue'](0x0);const _0x147141=_0x9d0c53[_0x2681(0x1c)](randomInRange,0x1b58,0x2ee0),_0x5675c6=randomIntInRange(0x5,0x8),_0x4296c4=[0x0];for(let _0x36d88a=0x0;_0x9d0c53[_0x2681(0x30)](_0x36d88a,_0x9d0c53[_0x2681(0x31)](_0x5675c6,0x1));_0x36d88a++){const _0x50c5f9=_0x9d0c53[_0x2681(0x32)](_0x9d0c53['HoCbk'](_0x9d0c53[_0x2681(0x33)](_0x36d88a,0x1),_0x9d0c53[_0x2681(0x34)](0x64,_0x5675c6)),0xa),_0x5a65e9=_0x9d0c53[_0x2681(0x33)](_0x9d0c53[_0x2681(0x35)](_0x36d88a+0x1,_0x9d0c53[_0x2681(0x34)](0x64,_0x5675c6)),0xa);_0x4296c4[_0x2681(0x36)](randomIntInRange(Math[_0x2681(0x37)](0xa,_0x50c5f9),Math['min'](0x5a,_0x5a65e9)));}_0x4296c4['push'](0x64),_0x4296c4['sort']((_0x415f0d,_0x338e6a)=>_0x415f0d-_0x338e6a);const _0x400f75=[_0x9d0c53[_0x2681(0x38)],_0x2681(0xf),_0x2681(0x39)],_0x5c4868=[];let _0x26b19d=0x0;for(let _0x22e8ad=0x0;_0x9d0c53[_0x2681(0x3a)](_0x22e8ad,_0x5675c6);_0x22e8ad++){if(_0x9d0c53[_0x2681(0x2d)]('acGsM',_0x9d0c53[_0x2681(0x3b)])){const _0x1eed40=_0x400f75[_0x9d0c53['qRhpD'](randomIntInRange,0x0,0x2)];let _0x42973a;if(_0x9d0c53['QkTid'](_0x1eed40,_0x9d0c53[_0x2681(0x38)])){if(_0x9d0c53['ImJGj'](_0x9d0c53[_0x2681(0x3c)],_0x9d0c53[_0x2681(0x3d)]))_0x42973a=_0x9d0c53[_0x2681(0x23)](randomInRange,0xfa,0x1f4);else{const _0x352818=_0x9d0c53['HFCRK'](_0x4fd0e6,0x1)*_0x9d0c53[_0x2681(0x34)](0x64,_0x2d90a3)-0xa,_0x501649=(_0x27b54f+0x1)*_0x9d0c53[_0x2681(0x34)](0x64,_0x469720)+0xa;_0x3bc88d[_0x2681(0x36)](_0x9d0c53['qRhpD'](_0x55e4fe,_0x35ab44[_0x2681(0x37)](0xa,_0x352818),_0x790293['min'](0x5a,_0x501649)));}}else{if(_0x9d0c53[_0x2681(0x3e)](_0x1eed40,_0x9d0c53[_0x2681(0x3f)])){if(_0x9d0c53['ztQbP'](_0x9d0c53[_0x2681(0x40)],_0x9d0c53[_0x2681(0x41)]))_0x42973a=_0x9d0c53[_0x2681(0x42)](randomInRange,0x1f4,0x320);else{const _0x34e326={'wpLjT':function(_0x561f63,_0x73f5d5){return _0x1db69f[_0x2681(0x43)](_0x561f63,_0x73f5d5);},'OrbSL':function(_0x29f2da){return _0x1db69f['hhFlS'](_0x29f2da);}};_0x1db69f[_0x2681(0x44)](_0x4f5468,()=>{_0x34e326[_0x2681(0x45)](_0x39834a,_0x24bde2[_0x2681(0x46)]),_0x34e326[_0x2681(0x47)](_0x5d23f6);},0x1f4);}}else _0x42973a=_0x9d0c53[_0x2681(0x28)](randomInRange,0x320,0x4b0);}_0x5c4868[_0x2681(0x36)](_0x42973a),_0x26b19d+=_0x42973a;}else _0x9d0c53['qRhpD'](_0x31e6ed,_0x119592,0x190)[_0x2681(0x20)]();}const _0x3b531c=0x190,_0x4ee43f=_0x9d0c53[_0x2681(0x35)](_0x5675c6,_0x3b531c),_0x2629ee=_0x9d0c53[_0x2681(0x32)](_0x147141,_0x4ee43f),_0xb2421a=_0x9d0c53[_0x2681(0x48)](_0x2629ee,_0x26b19d),_0x3e63ad=_0x5c4868[_0x2681(0x49)](_0x51e8b9=>_0x51e8b9*_0xb2421a),_0x2d85ef=[];STATUS_MESSAGES[_0x2681(0x2f)](_0x5ee94d=>{const _0x3e24c6={'lkjuF':function(_0x5567b3,_0x1b8bbe,_0x125d03){return _0x1db69f[_0x2681(0x44)](_0x5567b3,_0x1b8bbe,_0x125d03);}};if(_0x1db69f[_0x2681(0x4a)](_0x5ee94d[_0x2681(0x4b)],0x64))_0x2d85ef[_0x2681(0x36)]({'progress':0x64,'message':_0x5ee94d[_0x2681(0x4c)]});else{if(_0x1db69f[_0x2681(0x4a)](_0x1db69f[_0x2681(0x4d)],_0x1db69f['RTSib']))_0x305607=_0x3e24c6[_0x2681(0x4e)](_0x52ca45,0x320,0x4b0);else{const _0x3ce2b6=_0x1db69f['cmTAq'](randomInRange,_0x5ee94d[_0x2681(0x4b)],_0x5ee94d['maxProgress']);_0x2d85ef['push']({'progress':_0x3ce2b6,'message':_0x5ee94d[_0x2681(0x4c)]});}}}),_0x2d85ef[_0x2681(0x4f)]((_0x3b1604,_0x5d4257)=>_0x3b1604[_0x2681(0x50)]-_0x5d4257[_0x2681(0x50)]);let _0x20ec13=0x0,_0x390b64=0x0;for(let _0x3ba185=0x1;_0x3ba185<=_0x5675c6;_0x3ba185++){if(_0x9d0c53[_0x2681(0x51)](_0x9d0c53[_0x2681(0x52)],_0x9d0c53[_0x2681(0x53)])){while(_0x9d0c53['XqeKb'](_0x4a5ef4,_0x36b260[_0x2681(0x54)])&&_0x52d02c>=_0x140ad3[_0x18e688]['progress']){_0x9d0c53[_0x2681(0x16)](_0x188d0a,_0x43ff99[_0x4adcb0]['message']),_0x131edf++;}_0x9d0c53[_0x2681(0x16)](_0x221cc5,_0x7d53da),Animated[_0x2681(0x1f)](_0x4210f3,{'toValue':_0x3bda53/0x64,'duration':_0x3c99ec,'useNativeDriver':![]})[_0x2681(0x20)](),_0x5b3358>=0x64&&_0x9d0c53[_0x2681(0x28)](_0x5c0bc4,()=>{_0xca9710(_0x30f2d8[_0x2681(0x46)]),_0x1db69f[_0x2681(0x55)](_0x1adfb5);},0x1f4);}else{const _0x43bfc0=_0x4296c4[_0x3ba185],_0x6d1203=_0x3e63ad[_0x9d0c53[_0x2681(0x31)](_0x3ba185,0x1)];_0x20ec13+=_0x6d1203;const _0x20dc1f=_0x9d0c53[_0x2681(0x56)](setTimeout,()=>{const _0x76d22={'xXbeF':function(_0x5217f3,_0x36f345){return _0x1db69f['LgWHk'](_0x5217f3,_0x36f345);}};while(_0x1db69f[_0x2681(0x57)](_0x390b64,_0x2d85ef[_0x2681(0x54)])&&_0x1db69f['sIzYf'](_0x43bfc0,_0x2d85ef[_0x390b64][_0x2681(0x50)])){_0x1db69f['LgWHk'](_0x16ca27,_0x2d85ef[_0x390b64]['message']),_0x390b64++;}_0x1db69f[_0x2681(0x58)](_0x2319fb,_0x43bfc0),Animated[_0x2681(0x1f)](_0x2c6631,{'toValue':_0x1db69f[_0x2681(0x59)](_0x43bfc0,0x64),'duration':_0x3b531c,'useNativeDriver':![]})[_0x2681(0x20)](),_0x43bfc0>=0x64&&_0x1db69f[_0x2681(0x44)](setTimeout,()=>{_0x76d22[_0x2681(0x5a)](triggerHaptic,HapticType[_0x2681(0x46)]),_0x570dd3();},0x1f4);},_0x20ec13);_0x1d6f5b[_0x2681(0x1a)][_0x2681(0x36)](_0x20dc1f),_0x20ec13+=_0x3b531c;}}return()=>{const _0x8cec77={'VZvgz':function(_0x15e7d4,_0xea375a,_0xbd2550){return _0x9d0c53[_0x2681(0x28)](_0x15e7d4,_0xea375a,_0xbd2550);}};if(_0x9d0c53[_0x2681(0x5b)]!==_0x9d0c53[_0x2681(0x5b)]){const _0x33ec2e=_0x8cec77[_0x2681(0x5c)](_0x3853e0,_0x2515ad[_0x2681(0x4b)],_0x53ab57[_0x2681(0x5d)]);_0x19f6df[_0x2681(0x36)]({'progress':_0x33ec2e,'message':_0x4734c2[_0x2681(0x4c)]});}else _0x1d6f5b[_0x2681(0x1a)][_0x2681(0x2f)](_0x5b5916=>clearTimeout(_0x5b5916)),_0x1d6f5b[_0x2681(0x1a)]=[];};},[_0x400287,_0x570dd3,_0x2c6631]);if(!_0x400287)return null;return React[_0x2681(0x5e)](View,{'style':styles[_0x2681(0x5f)]},React['createElement'](View,{'style':styles['content']},React[_0x2681(0x5e)](View,{'style':styles[_0x2681(0x60)]},React[_0x2681(0x5e)](_0x5a5dee,{'source':ANIMATIONS[_0x2681(0x61)],'autoPlay':!![],'loop':!![],'style':styles[_0x2681(0x62)],'resizeMode':_0x9d0c53[_0x2681(0x63)]})),React[_0x2681(0x5e)](View,{'style':styles['textContainer']},React['createElement'](Text,{'style':styles[_0x2681(0x64)]},_0x26b9cc),React[_0x2681(0x5e)](View,{'style':styles['dotsContainer']},React[_0x2681(0x5e)](Animated['Text'],{'style':[styles[_0x2681(0x65)],{'opacity':_0x19afcf}]},'.'),React[_0x2681(0x5e)](Animated[_0x2681(0x66)],{'style':[styles[_0x2681(0x65)],{'opacity':_0x5ce93d}]},'.'),React[_0x2681(0x5e)](Animated[_0x2681(0x66)],{'style':[styles[_0x2681(0x65)],{'opacity':_0x1b16f4}]},'.'))),React[_0x2681(0x5e)](View,{'style':styles[_0x2681(0x67)]},React[_0x2681(0x5e)](View,{'style':styles[_0x2681(0x68)]},React[_0x2681(0x5e)](Animated[_0x2681(0x69)],{'style':[styles[_0x2681(0x6a)],{'width':_0x2c6631[_0x2681(0x6b)]({'inputRange':[0x0,0x1],'outputRange':['0%',_0x9d0c53[_0x2681(0x6c)]]})}]})))));},styles=StyleSheet[_0x2681(0x6d)]({'container':{'flex':0x1,'backgroundColor':COLORS[_0x2681(0x6e)]},'content':{'flex':0x1,'justifyContent':_0x2681(0x6f),'alignItems':_0x2681(0x6f),'paddingHorizontal':0x18,'marginTop':-0x50},'lottieContainer':{'width':0x168,'height':0x168,'marginBottom':0x20,'alignItems':'center','justifyContent':'center'},'lottieAnimation':{'width':_0x2681(0x15),'height':_0x2681(0x15)},'textContainer':{'flexDirection':_0x2681(0x70),'alignItems':_0x2681(0x6f),'marginBottom':0x30},'loadingText':{'fontSize':0x18,'fontFamily':_0x2681(0x71),'fontWeight':_0x2681(0x72),'color':COLORS[_0x2681(0x73)]},'dotsContainer':{'flexDirection':_0x2681(0x70),'marginLeft':0x4},'dot':{'fontSize':0x18,'fontFamily':_0x2681(0x71),'fontWeight':_0x2681(0x72),'color':COLORS[_0x2681(0x73)],'marginLeft':0x2},'progressContainer':{'width':_0x2681(0x15),'maxWidth':0x118},'progressTrack':{'height':0x6,'backgroundColor':_0x2681(0x74),'borderRadius':0x3,'overflow':'hidden'},'progressFill':{'height':_0x2681(0x15),'backgroundColor':COLORS[_0x2681(0x73)],'borderRadius':0x3}});export default PersonaLoadingScreen;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function _0x4567(){const _0x4e441b=['RRrQk','NnHbl','basicProfile','tLLYH','jgFsJ','contain','Welcome\x20back!','Choose\x20what\x20to\x20share:','#4CD964','Connected\x20Platforms','Decline','cXGpt','eiUHm','uPtEC','BUTTON_PRESS','wChdD','MqBaV','values','createElement','container','scrollContent','headerContainer','iconContainer','headerIcon','arrow','enochAppIcon','yUtYG','titleContainer','welcomeBackText','uJPJw','title','\x20wants\x20to\x20personalize\x20your\x20experience','UQOkw','optionRow','grey700','optionIcon','grey800','optionText','checkboxContainer','iRgtM','checkbox','grey400','contentAnalysis','optionLeft','personalityProfile','connectedPlatformsSection','connectedPlatformsTitle','vhaXX','connectedPlatformsIcons','connectedPlatformIcon','connectMoreButton','CIRlA','connectMoreText','connectMorePlusCircle','connectMorePlus','buttonContainer','acceptButtonActive','acceptButtonLoading','PuUAw','UCzCA','xIIjx','acceptButtonText','acceptButtonTextActive','Accept\x20&\x20Continue','buttonArrow','buttonArrowActive','Sfgfp','IaZYm','LZmmO','yCZNy','declineButtonText','create','surface','row','center','#FFFFFF','#000','700','IBM\x20Plex\x20Sans','600','Inter','grey600','#F8F9FA','#2D3436','#999999','#E5E5E5','500','400','grey500','underline'];_0x4567=function(){return _0x4e441b;};return _0x4567();}import React,{useState}from'react';import{View,Text,StyleSheet,TouchableOpacity,Image,ScrollView,ActivityIndicator}from'react-native';import{COLORS}from'../theme';import{triggerHaptic,HapticType}from'../utils/haptics';import{getPlatformIcon}from'../services/connectedAccountsService';import{BRAND_IMAGES}from'../utils/assetRegistry';import{Basicproficon,Basicprofile,Contenticon,Personalityicon,Personalitytraits,Userpreferences,Checkbox,Checkmark}from'./icons';const PersonalizationConsentScreen=({visible:_0x8b1eb6,onAccept:_0x11a2aa,onDecline:_0x441f1c,loading:loading=![],connectedPlatforms:connectedPlatforms=[],onConnectMore:_0x34b3ee,isReturningUser:isReturningUser=![],appName:appName='Enoch',onLogout:_0x2c188d})=>{const _0x417c37={'uPtEC':function(_0x3c8ad9,_0x4b9e58){return _0x3c8ad9(_0x4b9e58);},'gYSqB':function(_0x51fab1,_0x44412e){return _0x51fab1===_0x44412e;},'cXGpt':_0xa86f(0x0),'eiUHm':_0xa86f(0x1),'wChdD':function(_0x2de893,_0x43227b){return _0x2de893===_0x43227b;},'MqBaV':_0xa86f(0x2),'CIRlA':function(_0x15076c,_0x5c27be){return _0x15076c(_0x5c27be);},'PuUAw':function(_0x22a926,_0x5dcab7){return _0x22a926===_0x5dcab7;},'UCzCA':_0xa86f(0x3),'LZmmO':function(_0x4b7f68,_0x2977d5){return _0x4b7f68(_0x2977d5);},'yCZNy':function(_0x119d76){return _0x119d76();},'Sfgfp':function(_0x2c6768,_0x3ab8f6){return _0x2c6768!==_0x3ab8f6;},'IaZYm':_0xa86f(0x4),'sALye':function(_0x16d219,_0x54d449){return _0x16d219(_0x54d449);},'yUtYG':_0xa86f(0x5),'uJPJw':_0xa86f(0x6),'UQOkw':_0xa86f(0x7),'iRgtM':_0xa86f(0x8),'vhaXX':_0xa86f(0x9),'xIIjx':'#FFFFFF','xTVDP':_0xa86f(0xa)},[_0x4a1c83,_0x447d1a]=_0x417c37['sALye'](useState,{'basicProfile':!![],'contentAnalysis':![],'personalityProfile':![]}),_0x55b4aa=_0x338093=>{if(_0x417c37['gYSqB'](_0x417c37[_0xa86f(0xb)],_0x417c37[_0xa86f(0xc)]))!_0x5c54eb&&(_0x417c37[_0xa86f(0xd)](_0x56fdcf,_0x5d1043[_0xa86f(0xe)]),_0x5992e7());else{if(_0x417c37[_0xa86f(0xf)](_0x338093,_0x417c37[_0xa86f(0x10)]))return;_0x417c37[_0xa86f(0xd)](triggerHaptic,HapticType['BUTTON_PRESS']),_0x417c37[_0xa86f(0xd)](_0x447d1a,_0x18da23=>({..._0x18da23,[_0x338093]:!_0x18da23[_0x338093]}));}},_0x356f52=Object[_0xa86f(0x11)](_0x4a1c83)['some'](_0x894722=>_0x894722);if(!_0x8b1eb6)return null;return React[_0xa86f(0x12)](View,{'style':styles[_0xa86f(0x13)]},React['createElement'](ScrollView,{'style':styles['scrollView'],'contentContainerStyle':styles[_0xa86f(0x14)],'showsVerticalScrollIndicator':![]},React[_0xa86f(0x12)](View,{'style':styles[_0xa86f(0x15)]},React[_0xa86f(0x12)](View,{'style':styles[_0xa86f(0x16)]},React[_0xa86f(0x12)](Image,{'source':BRAND_IMAGES['onairosLogo'],'style':styles[_0xa86f(0x17)],'resizeMode':_0x417c37['yUtYG']})),React[_0xa86f(0x12)](Text,{'style':styles[_0xa86f(0x18)]},'→'),React[_0xa86f(0x12)](Image,{'source':BRAND_IMAGES['enochIcon'],'style':styles[_0xa86f(0x19)],'resizeMode':_0x417c37[_0xa86f(0x1a)]})),React[_0xa86f(0x12)](View,{'style':styles[_0xa86f(0x1b)]},isReturningUser&&React[_0xa86f(0x12)](Text,{'style':styles[_0xa86f(0x1c)]},_0x417c37[_0xa86f(0x1d)]),React[_0xa86f(0x12)](Text,{'style':styles[_0xa86f(0x1e)]},appName,_0xa86f(0x1f)),React[_0xa86f(0x12)](Text,{'style':styles['subtitle']},_0x417c37[_0xa86f(0x20)])),React['createElement'](View,{'style':styles['optionsContainer']},React[_0xa86f(0x12)](TouchableOpacity,{'style':styles[_0xa86f(0x21)],'onPress':()=>_0x55b4aa(_0xa86f(0x2))},React[_0xa86f(0x12)](View,{'style':styles['optionLeft']},React[_0xa86f(0x12)](Basicproficon,{'width':0x20,'height':0x20,'fill':COLORS[_0xa86f(0x22)],'style':styles[_0xa86f(0x23)]}),React[_0xa86f(0x12)](Basicprofile,{'height':0x18,'fill':COLORS[_0xa86f(0x24)],'style':styles[_0xa86f(0x25)]})),React['createElement'](View,{'style':styles[_0xa86f(0x26)]},_0x4a1c83[_0xa86f(0x2)]?React[_0xa86f(0x12)](Checkmark,{'width':0x18,'height':0x18,'fill':_0x417c37[_0xa86f(0x27)],'style':styles[_0xa86f(0x28)]}):React['createElement'](Checkbox,{'width':0x18,'height':0x18,'stroke':COLORS[_0xa86f(0x29)],'style':styles['checkbox']}))),React['createElement'](TouchableOpacity,{'style':styles[_0xa86f(0x21)],'onPress':()=>_0x55b4aa(_0xa86f(0x2a))},React[_0xa86f(0x12)](View,{'style':styles[_0xa86f(0x2b)]},React['createElement'](Contenticon,{'width':0x20,'height':0x20,'fill':COLORS[_0xa86f(0x22)],'style':styles[_0xa86f(0x23)]}),React[_0xa86f(0x12)](Userpreferences,{'height':0x18,'fill':COLORS['grey800'],'style':styles[_0xa86f(0x25)]})),React[_0xa86f(0x12)](View,{'style':styles['checkboxContainer']},_0x4a1c83[_0xa86f(0x2a)]?React['createElement'](Checkmark,{'width':0x18,'height':0x18,'fill':_0xa86f(0x8),'style':styles[_0xa86f(0x28)]}):React['createElement'](Checkbox,{'width':0x18,'height':0x18,'stroke':COLORS[_0xa86f(0x29)],'style':styles[_0xa86f(0x28)]}))),React[_0xa86f(0x12)](TouchableOpacity,{'style':styles[_0xa86f(0x21)],'onPress':()=>_0x55b4aa(_0xa86f(0x2c))},React['createElement'](View,{'style':styles[_0xa86f(0x2b)]},React['createElement'](Personalityicon,{'width':0x20,'height':0x20,'fill':COLORS[_0xa86f(0x22)],'style':styles[_0xa86f(0x23)]}),React[_0xa86f(0x12)](Personalitytraits,{'height':0x18,'fill':COLORS['grey800'],'style':styles['optionText']})),React[_0xa86f(0x12)](View,{'style':styles[_0xa86f(0x26)]},_0x4a1c83[_0xa86f(0x2c)]?React[_0xa86f(0x12)](Checkmark,{'width':0x18,'height':0x18,'fill':_0x417c37[_0xa86f(0x27)],'style':styles[_0xa86f(0x28)]}):React[_0xa86f(0x12)](Checkbox,{'width':0x18,'height':0x18,'stroke':COLORS[_0xa86f(0x29)],'style':styles[_0xa86f(0x28)]})))),React[_0xa86f(0x12)](View,{'style':styles[_0xa86f(0x2d)]},React[_0xa86f(0x12)](Text,{'style':styles[_0xa86f(0x2e)]},_0x417c37[_0xa86f(0x2f)]),connectedPlatforms['length']>0x0&&React[_0xa86f(0x12)](View,{'style':styles[_0xa86f(0x30)]},connectedPlatforms['map'](_0x5b6dfc=>React[_0xa86f(0x12)](View,{'key':_0x5b6dfc,'style':styles['connectedPlatformIconContainer']},React[_0xa86f(0x12)](Image,{'source':getPlatformIcon(_0x5b6dfc),'style':styles[_0xa86f(0x31)],'resizeMode':'contain'})))),_0x34b3ee&&React[_0xa86f(0x12)](TouchableOpacity,{'style':styles[_0xa86f(0x32)],'onPress':()=>{_0x417c37[_0xa86f(0x33)](triggerHaptic,HapticType[_0xa86f(0xe)]),_0x34b3ee();}},React[_0xa86f(0x12)](Text,{'style':styles[_0xa86f(0x34)]},'Connect\x20more'),React[_0xa86f(0x12)](View,{'style':styles[_0xa86f(0x35)]},React[_0xa86f(0x12)](Text,{'style':styles[_0xa86f(0x36)]},'+')))),React[_0xa86f(0x12)](View,{'style':styles[_0xa86f(0x37)]},React[_0xa86f(0x12)](TouchableOpacity,{'style':[styles['acceptButton'],_0x356f52&&styles[_0xa86f(0x38)],loading&&styles[_0xa86f(0x39)]],'onPress':()=>{const _0x2d96c1={'DRIPr':function(_0x1363d5,_0x2d018f){return _0x417c37[_0xa86f(0x33)](_0x1363d5,_0x2d018f);}};!loading&&(_0x417c37[_0xa86f(0x3a)](_0x417c37['UCzCA'],_0x417c37[_0xa86f(0x3b)])?(_0x417c37[_0xa86f(0x33)](triggerHaptic,HapticType[_0xa86f(0xe)]),_0x11a2aa()):(_0x2d96c1['DRIPr'](_0x193d65,_0x4275f5[_0xa86f(0xe)]),_0x35798d()));},'disabled':loading,'activeOpacity':loading?0x1:0.7},loading?React[_0xa86f(0x12)](ActivityIndicator,{'size':'small','color':_0x417c37[_0xa86f(0x3c)]}):React[_0xa86f(0x12)](React['Fragment'],null,React[_0xa86f(0x12)](Text,{'style':[styles[_0xa86f(0x3d)],_0x356f52&&styles[_0xa86f(0x3e)]]},_0xa86f(0x3f)),React['createElement'](Text,{'style':[styles[_0xa86f(0x40)],_0x356f52&&styles[_0xa86f(0x41)]]},'→'))),React[_0xa86f(0x12)](TouchableOpacity,{'style':styles['declineButton'],'onPress':()=>{_0x417c37[_0xa86f(0x42)](_0x417c37[_0xa86f(0x43)],_0xa86f(0x4))?(_0x417c37[_0xa86f(0x44)](_0xdd5105,_0x4be94c[_0xa86f(0xe)]),_0x417c37[_0xa86f(0x45)](_0x4b57c2)):(_0x417c37[_0xa86f(0x44)](triggerHaptic,HapticType[_0xa86f(0xe)]),_0x441f1c());}},React[_0xa86f(0x12)](Text,{'style':styles[_0xa86f(0x46)]},_0x417c37['xTVDP'])))));},styles=StyleSheet[_0xa86f(0x47)]({'container':{'flex':0x1,'backgroundColor':COLORS[_0xa86f(0x48)],'paddingHorizontal':0x18,'paddingTop':0x28,'paddingBottom':0x8},'headerContainer':{'flexDirection':_0xa86f(0x49),'alignItems':_0xa86f(0x4a),'justifyContent':_0xa86f(0x4a),'marginBottom':0xc,'marginTop':0x0},'iconContainer':{'width':0x40,'height':0x40,'backgroundColor':_0xa86f(0x4b),'borderRadius':0xc,'alignItems':'center','justifyContent':'center','marginHorizontal':0x8,'shadowColor':_0xa86f(0x4c),'shadowOffset':{'width':0x0,'height':0x2},'shadowOpacity':0.1,'shadowRadius':0x4,'elevation':0x2},'headerIcon':{'width':0x2a,'height':0x2a},'enochAppIcon':{'width':0x48,'height':0x48,'marginHorizontal':0x8},'enochLetter':{'fontSize':0x1c,'fontFamily':'IBM\x20Plex\x20Sans','fontWeight':_0xa86f(0x4d),'color':COLORS['grey800']},'arrow':{'fontSize':0x18,'color':COLORS['grey600'],'marginHorizontal':0x10},'titleContainer':{'alignItems':_0xa86f(0x4a),'marginBottom':0x8},'welcomeBackText':{'fontSize':0x18,'fontFamily':_0xa86f(0x4e),'fontWeight':_0xa86f(0x4d),'color':COLORS['grey800'],'textAlign':_0xa86f(0x4a),'marginBottom':0x2},'title':{'fontSize':0x14,'fontFamily':_0xa86f(0x4e),'fontWeight':_0xa86f(0x4f),'color':COLORS[_0xa86f(0x24)],'textAlign':_0xa86f(0x4a),'marginBottom':0xa},'subtitle':{'fontSize':0x10,'fontFamily':_0xa86f(0x50),'fontWeight':'400','color':COLORS[_0xa86f(0x51)],'textAlign':_0xa86f(0x4a)},'scrollView':{'flex':0x1},'scrollContent':{'flexGrow':0x1},'optionsContainer':{'marginBottom':0x8},'optionRow':{'flexDirection':_0xa86f(0x49),'alignItems':'center','justifyContent':'space-between','paddingVertical':0xc,'paddingHorizontal':0x2,'backgroundColor':_0xa86f(0x52),'borderRadius':0xc,'marginBottom':0x6,'marginHorizontal':0x0},'optionLeft':{'flexDirection':_0xa86f(0x49),'alignItems':_0xa86f(0x4a),'flex':0x1},'optionIcon':{'marginRight':0xc,'marginLeft':0x2,'marginTop':-0x4},'optionText':{'flex':0x1,'marginLeft':0x2},'checkboxContainer':{'paddingLeft':0x4,'paddingRight':0x2,'alignItems':_0xa86f(0x4a),'justifyContent':_0xa86f(0x4a)},'checkbox':{},'buttonContainer':{'gap':0x8,'paddingHorizontal':0x0,'paddingBottom':0x10,'marginTop':0x10},'acceptButton':{'backgroundColor':'#E5E5E5','borderRadius':0x19,'paddingVertical':0xa,'paddingHorizontal':0x18,'flexDirection':_0xa86f(0x49),'alignItems':_0xa86f(0x4a),'justifyContent':_0xa86f(0x4a)},'acceptButtonActive':{'backgroundColor':_0xa86f(0x53)},'acceptButtonLoading':{'backgroundColor':_0xa86f(0x53),'opacity':0.8},'acceptButtonText':{'color':_0xa86f(0x54),'fontSize':0x10,'fontFamily':_0xa86f(0x50),'fontWeight':_0xa86f(0x4f),'marginRight':0x8},'acceptButtonTextActive':{'color':_0xa86f(0x4b)},'buttonArrow':{'color':'#999999','fontSize':0x10},'buttonArrowActive':{'color':_0xa86f(0x4b)},'declineButton':{'backgroundColor':_0xa86f(0x55),'borderRadius':0x19,'paddingVertical':0xa,'paddingHorizontal':0x18,'alignItems':_0xa86f(0x4a),'justifyContent':_0xa86f(0x4a)},'declineButtonText':{'color':COLORS[_0xa86f(0x51)],'fontSize':0x10,'fontFamily':'Inter','fontWeight':_0xa86f(0x56)},'logoutButton':{'alignItems':_0xa86f(0x4a),'paddingVertical':0xc,'marginTop':0x8},'logoutButtonText':{'fontSize':0xe,'fontFamily':'Inter','fontWeight':_0xa86f(0x57),'color':COLORS[_0xa86f(0x58)],'textDecorationLine':_0xa86f(0x59)},'connectedPlatformsSection':{'alignItems':_0xa86f(0x4a),'paddingVertical':0xa,'paddingHorizontal':0x10,'backgroundColor':_0xa86f(0x52),'borderRadius':0x10,'marginBottom':0xa,'marginTop':0x10},'connectedPlatformsTitle':{'fontSize':0xf,'fontFamily':_0xa86f(0x50),'fontWeight':'500','color':COLORS['grey500'],'marginBottom':0xa},'connectedPlatformsIcons':{'flexDirection':_0xa86f(0x49),'justifyContent':_0xa86f(0x4a),'alignItems':_0xa86f(0x4a),'flexWrap':'wrap','gap':0xa,'marginBottom':0xa},'connectedPlatformIconContainer':{'width':0x30,'height':0x30,'borderRadius':0xa,'backgroundColor':'#FFFFFF','justifyContent':_0xa86f(0x4a),'alignItems':_0xa86f(0x4a),'shadowColor':_0xa86f(0x4c),'shadowOffset':{'width':0x0,'height':0x2},'shadowOpacity':0.1,'shadowRadius':0x4,'elevation':0x2},'connectedPlatformIcon':{'width':0x20,'height':0x20},'connectMoreButton':{'flexDirection':_0xa86f(0x49),'alignItems':_0xa86f(0x4a),'justifyContent':_0xa86f(0x4a),'gap':0x8},'connectMoreText':{'fontSize':0x10,'fontFamily':_0xa86f(0x50),'fontWeight':_0xa86f(0x56),'color':COLORS[_0xa86f(0x58)]},'connectMorePlusCircle':{'width':0x1c,'height':0x1c,'borderRadius':0xe,'borderWidth':0x2,'borderColor':COLORS[_0xa86f(0x29)],'justifyContent':_0xa86f(0x4a),'alignItems':_0xa86f(0x4a)},'connectMorePlus':{'fontSize':0x12,'fontWeight':_0xa86f(0x56),'color':COLORS[_0xa86f(0x58)],'marginTop':-0x2}});export{PersonalizationConsentScreen};function _0xa86f(_0x4567fd,_0xa86f21){_0x4567fd=_0x4567fd-0x0;const _0x240bef=_0x4567();let _0x58214e=_0x240bef[_0x4567fd];return _0x58214e;}export default PersonalizationConsentScreen;
|
|
1
|
+
import React,{useState}from'react';import{View,Text,StyleSheet,TouchableOpacity,Image,ScrollView,ActivityIndicator}from'react-native';import{COLORS}from'../theme';import{triggerHaptic,HapticType}from'../utils/haptics';function _0x4709(){const _0x2c0409=['Enoch','ZOBWL','jrskd','Choose\x20what\x20to\x20share:','#4CD964','Connect\x20more','Decline','UAnwn','EPTlh','xNOVs','feTdg','values','some','container','createElement','headerContainer','iconContainer','onairosLogo','headerIcon','contain','arrow','cLdVM','titleContainer','welcomeBackText','Welcome\x20back!','title','AKzrW','subtitle','EHCuv','optionsContainer','basicProfile','grey700','grey800','optionText','checkboxContainer','grey400','optionRow','contentAnalysis','optionIcon','YnGBD','checkbox','personalityProfile','Connected\x20Platforms','mSIyz','length','connectedPlatformsIcons','map','connectedPlatformIconContainer','connectedPlatformIcon','connectMoreButton','BUTTON_PRESS','connectMoreText','connectMorePlusCircle','connectMorePlus','buttonContainer','acceptButton','acceptButtonActive','SOGvR','JSnCz','XsLrL','pyxjM','idyHF','LzYHb','small','#FFFFFF','buttonArrow','buttonArrowActive','declineButton','bRbYh','declineButtonText','frWYR','create','surface','row','center','700','grey600','IBM\x20Plex\x20Sans','600','Inter','400','space-between','#E5E5E5','#2D3436','#999999','grey500','#F8F9FA','wrap','#000','500'];_0x4709=function(){return _0x2c0409;};return _0x4709();}import{getPlatformIcon}from'../services/connectedAccountsService';import{BRAND_IMAGES}from'../utils/assetRegistry';import{Basicproficon,Basicprofile,Contenticon,Personalityicon,Personalitytraits,Userpreferences,Checkbox,Checkmark}from'./icons';const PersonalizationConsentScreen=({visible:_0x242601,onAccept:_0x13025a,onDecline:_0x413ab0,loading:loading=![],connectedPlatforms:connectedPlatforms=[],onConnectMore:_0x3c9a2e,isReturningUser:isReturningUser=![],appName:appName=_0x27f8(0x0),onLogout:_0x15b528})=>{const _0x2ebfd4={'EPTlh':function(_0x34472a,_0x39cc9d){return _0x34472a===_0x39cc9d;},'xNOVs':'basicProfile','feTdg':function(_0x4cce8d,_0x1251e6){return _0x4cce8d(_0x1251e6);},'UAnwn':function(_0x263460,_0x5b504f){return _0x263460(_0x5b504f);},'SOGvR':function(_0x470996,_0x5a7762){return _0x470996(_0x5a7762);},'JSnCz':function(_0x25ef67){return _0x25ef67();},'XsLrL':function(_0xb46a7a,_0x56980c){return _0xb46a7a===_0x56980c;},'KkwdC':_0x27f8(0x1),'pyxjM':_0x27f8(0x2),'bRbYh':function(_0x1d28c8,_0x4123bd){return _0x1d28c8(_0x4123bd);},'cLdVM':'contain','AKzrW':'\x20wants\x20to\x20personalize\x20your\x20experience','EHCuv':_0x27f8(0x3),'YnGBD':_0x27f8(0x4),'mSIyz':function(_0x4fa210,_0x3fe3e1){return _0x4fa210>_0x3fe3e1;},'SZBRJ':_0x27f8(0x5),'frWYR':_0x27f8(0x6)},[_0x50447b,_0x12ecf8]=_0x2ebfd4[_0x27f8(0x7)](useState,{'basicProfile':!![],'contentAnalysis':![],'personalityProfile':![]}),_0x43aa8e=_0x5ef9cc=>{if(_0x2ebfd4[_0x27f8(0x8)](_0x5ef9cc,_0x2ebfd4[_0x27f8(0x9)]))return;_0x2ebfd4[_0x27f8(0xa)](triggerHaptic,HapticType['BUTTON_PRESS']),_0x2ebfd4[_0x27f8(0x7)](_0x12ecf8,_0x538274=>({..._0x538274,[_0x5ef9cc]:!_0x538274[_0x5ef9cc]}));},_0xbf1c88=Object[_0x27f8(0xb)](_0x50447b)[_0x27f8(0xc)](_0x36673c=>_0x36673c);if(!_0x242601)return null;return React['createElement'](View,{'style':styles[_0x27f8(0xd)]},React[_0x27f8(0xe)](ScrollView,{'style':styles['scrollView'],'contentContainerStyle':styles['scrollContent'],'showsVerticalScrollIndicator':![]},React[_0x27f8(0xe)](View,{'style':styles[_0x27f8(0xf)]},React[_0x27f8(0xe)](View,{'style':styles[_0x27f8(0x10)]},React[_0x27f8(0xe)](Image,{'source':BRAND_IMAGES[_0x27f8(0x11)],'style':styles[_0x27f8(0x12)],'resizeMode':_0x27f8(0x13)})),React[_0x27f8(0xe)](Text,{'style':styles[_0x27f8(0x14)]},'→'),React['createElement'](Image,{'source':BRAND_IMAGES['enochIcon'],'style':styles['enochAppIcon'],'resizeMode':_0x2ebfd4[_0x27f8(0x15)]})),React[_0x27f8(0xe)](View,{'style':styles[_0x27f8(0x16)]},isReturningUser&&React[_0x27f8(0xe)](Text,{'style':styles[_0x27f8(0x17)]},_0x27f8(0x18)),React['createElement'](Text,{'style':styles[_0x27f8(0x19)]},appName,_0x2ebfd4[_0x27f8(0x1a)]),React[_0x27f8(0xe)](Text,{'style':styles[_0x27f8(0x1b)]},_0x2ebfd4[_0x27f8(0x1c)])),React[_0x27f8(0xe)](View,{'style':styles[_0x27f8(0x1d)]},React['createElement'](TouchableOpacity,{'style':styles['optionRow'],'onPress':()=>_0x43aa8e(_0x27f8(0x1e))},React[_0x27f8(0xe)](View,{'style':styles['optionLeft']},React[_0x27f8(0xe)](Basicproficon,{'width':0x20,'height':0x20,'fill':COLORS[_0x27f8(0x1f)],'style':styles['optionIcon']}),React[_0x27f8(0xe)](Basicprofile,{'height':0x18,'fill':COLORS[_0x27f8(0x20)],'style':styles[_0x27f8(0x21)]})),React['createElement'](View,{'style':styles[_0x27f8(0x22)]},_0x50447b[_0x27f8(0x1e)]?React[_0x27f8(0xe)](Checkmark,{'width':0x18,'height':0x18,'fill':'#4CD964','style':styles['checkbox']}):React[_0x27f8(0xe)](Checkbox,{'width':0x18,'height':0x18,'stroke':COLORS[_0x27f8(0x23)],'style':styles['checkbox']}))),React[_0x27f8(0xe)](TouchableOpacity,{'style':styles[_0x27f8(0x24)],'onPress':()=>_0x43aa8e(_0x27f8(0x25))},React[_0x27f8(0xe)](View,{'style':styles['optionLeft']},React['createElement'](Contenticon,{'width':0x20,'height':0x20,'fill':COLORS[_0x27f8(0x1f)],'style':styles[_0x27f8(0x26)]}),React['createElement'](Userpreferences,{'height':0x18,'fill':COLORS['grey800'],'style':styles[_0x27f8(0x21)]})),React['createElement'](View,{'style':styles['checkboxContainer']},_0x50447b['contentAnalysis']?React[_0x27f8(0xe)](Checkmark,{'width':0x18,'height':0x18,'fill':_0x2ebfd4[_0x27f8(0x27)],'style':styles[_0x27f8(0x28)]}):React['createElement'](Checkbox,{'width':0x18,'height':0x18,'stroke':COLORS[_0x27f8(0x23)],'style':styles['checkbox']}))),React[_0x27f8(0xe)](TouchableOpacity,{'style':styles[_0x27f8(0x24)],'onPress':()=>_0x43aa8e(_0x27f8(0x29))},React[_0x27f8(0xe)](View,{'style':styles['optionLeft']},React[_0x27f8(0xe)](Personalityicon,{'width':0x20,'height':0x20,'fill':COLORS[_0x27f8(0x1f)],'style':styles[_0x27f8(0x26)]}),React[_0x27f8(0xe)](Personalitytraits,{'height':0x18,'fill':COLORS[_0x27f8(0x20)],'style':styles[_0x27f8(0x21)]})),React[_0x27f8(0xe)](View,{'style':styles['checkboxContainer']},_0x50447b[_0x27f8(0x29)]?React[_0x27f8(0xe)](Checkmark,{'width':0x18,'height':0x18,'fill':_0x2ebfd4['YnGBD'],'style':styles[_0x27f8(0x28)]}):React['createElement'](Checkbox,{'width':0x18,'height':0x18,'stroke':COLORS[_0x27f8(0x23)],'style':styles['checkbox']})))),React['createElement'](View,{'style':styles['connectedPlatformsSection']},React[_0x27f8(0xe)](Text,{'style':styles['connectedPlatformsTitle']},_0x27f8(0x2a)),_0x2ebfd4[_0x27f8(0x2b)](connectedPlatforms[_0x27f8(0x2c)],0x0)&&React[_0x27f8(0xe)](View,{'style':styles[_0x27f8(0x2d)]},connectedPlatforms[_0x27f8(0x2e)](_0x47f482=>React['createElement'](View,{'key':_0x47f482,'style':styles[_0x27f8(0x2f)]},React[_0x27f8(0xe)](Image,{'source':getPlatformIcon(_0x47f482),'style':styles[_0x27f8(0x30)],'resizeMode':_0x27f8(0x13)})))),_0x3c9a2e&&React[_0x27f8(0xe)](TouchableOpacity,{'style':styles[_0x27f8(0x31)],'onPress':()=>{_0x2ebfd4[_0x27f8(0x7)](triggerHaptic,HapticType[_0x27f8(0x32)]),_0x3c9a2e();}},React[_0x27f8(0xe)](Text,{'style':styles[_0x27f8(0x33)]},_0x2ebfd4['SZBRJ']),React[_0x27f8(0xe)](View,{'style':styles[_0x27f8(0x34)]},React[_0x27f8(0xe)](Text,{'style':styles[_0x27f8(0x35)]},'+')))),React[_0x27f8(0xe)](View,{'style':styles[_0x27f8(0x36)]},React[_0x27f8(0xe)](TouchableOpacity,{'style':[styles[_0x27f8(0x37)],_0xbf1c88&&styles[_0x27f8(0x38)],loading&&styles['acceptButtonLoading']],'onPress':()=>{const _0x1212f2={'idyHF':function(_0x486ff9,_0x19678c){return _0x2ebfd4[_0x27f8(0x39)](_0x486ff9,_0x19678c);},'LzYHb':function(_0x726a4f){return _0x2ebfd4[_0x27f8(0x3a)](_0x726a4f);}};_0x2ebfd4[_0x27f8(0x3b)](_0x2ebfd4['KkwdC'],_0x2ebfd4[_0x27f8(0x3c)])?(_0x1212f2[_0x27f8(0x3d)](_0x5ea674,_0x19eda1[_0x27f8(0x32)]),_0x1212f2[_0x27f8(0x3e)](_0x174ff8)):!loading&&(_0x2ebfd4[_0x27f8(0x7)](triggerHaptic,HapticType[_0x27f8(0x32)]),_0x2ebfd4[_0x27f8(0x3a)](_0x13025a));},'disabled':loading,'activeOpacity':loading?0x1:0.7},loading?React[_0x27f8(0xe)](ActivityIndicator,{'size':_0x27f8(0x3f),'color':_0x27f8(0x40)}):React[_0x27f8(0xe)](React['Fragment'],null,React[_0x27f8(0xe)](Text,{'style':[styles['acceptButtonText'],_0xbf1c88&&styles['acceptButtonTextActive']]},'Accept\x20&\x20Continue'),React['createElement'](Text,{'style':[styles[_0x27f8(0x41)],_0xbf1c88&&styles[_0x27f8(0x42)]]},'→'))),React[_0x27f8(0xe)](TouchableOpacity,{'style':styles[_0x27f8(0x43)],'onPress':()=>{_0x2ebfd4[_0x27f8(0x44)](triggerHaptic,HapticType['BUTTON_PRESS']),_0x2ebfd4[_0x27f8(0x3a)](_0x413ab0);}},React[_0x27f8(0xe)](Text,{'style':styles[_0x27f8(0x45)]},_0x2ebfd4[_0x27f8(0x46)])))));},styles=StyleSheet[_0x27f8(0x47)]({'container':{'flex':0x1,'backgroundColor':COLORS[_0x27f8(0x48)],'paddingHorizontal':0x18,'paddingTop':0x28,'paddingBottom':0x8},'headerContainer':{'flexDirection':_0x27f8(0x49),'alignItems':'center','justifyContent':_0x27f8(0x4a),'marginBottom':0xc,'marginTop':0x0},'iconContainer':{'width':0x40,'height':0x40,'backgroundColor':_0x27f8(0x40),'borderRadius':0xc,'alignItems':'center','justifyContent':_0x27f8(0x4a),'marginHorizontal':0x8,'shadowColor':'#000','shadowOffset':{'width':0x0,'height':0x2},'shadowOpacity':0.1,'shadowRadius':0x4,'elevation':0x2},'headerIcon':{'width':0x2a,'height':0x2a},'enochAppIcon':{'width':0x48,'height':0x48,'marginHorizontal':0x8},'enochLetter':{'fontSize':0x1c,'fontFamily':'IBM\x20Plex\x20Sans','fontWeight':_0x27f8(0x4b),'color':COLORS[_0x27f8(0x20)]},'arrow':{'fontSize':0x18,'color':COLORS[_0x27f8(0x4c)],'marginHorizontal':0x10},'titleContainer':{'alignItems':_0x27f8(0x4a),'marginBottom':0x8},'welcomeBackText':{'fontSize':0x18,'fontFamily':_0x27f8(0x4d),'fontWeight':'700','color':COLORS[_0x27f8(0x20)],'textAlign':_0x27f8(0x4a),'marginBottom':0x2},'title':{'fontSize':0x14,'fontFamily':_0x27f8(0x4d),'fontWeight':_0x27f8(0x4e),'color':COLORS['grey800'],'textAlign':_0x27f8(0x4a),'marginBottom':0xa},'subtitle':{'fontSize':0x10,'fontFamily':_0x27f8(0x4f),'fontWeight':_0x27f8(0x50),'color':COLORS['grey600'],'textAlign':'center'},'scrollView':{'flex':0x1},'scrollContent':{'flexGrow':0x1},'optionsContainer':{'marginBottom':0x8},'optionRow':{'flexDirection':'row','alignItems':_0x27f8(0x4a),'justifyContent':_0x27f8(0x51),'paddingVertical':0xc,'paddingHorizontal':0x2,'backgroundColor':'#F8F9FA','borderRadius':0xc,'marginBottom':0x6,'marginHorizontal':0x0},'optionLeft':{'flexDirection':_0x27f8(0x49),'alignItems':_0x27f8(0x4a),'flex':0x1},'optionIcon':{'marginRight':0xc,'marginLeft':0x2,'marginTop':-0x4},'optionText':{'flex':0x1,'marginLeft':0x2},'checkboxContainer':{'paddingLeft':0x4,'paddingRight':0x2,'alignItems':_0x27f8(0x4a),'justifyContent':_0x27f8(0x4a)},'checkbox':{},'buttonContainer':{'gap':0x8,'paddingHorizontal':0x0,'paddingBottom':0x10,'marginTop':0x10},'acceptButton':{'backgroundColor':_0x27f8(0x52),'borderRadius':0x19,'paddingVertical':0xa,'paddingHorizontal':0x18,'flexDirection':_0x27f8(0x49),'alignItems':_0x27f8(0x4a),'justifyContent':_0x27f8(0x4a)},'acceptButtonActive':{'backgroundColor':_0x27f8(0x53)},'acceptButtonLoading':{'backgroundColor':'#2D3436','opacity':0.8},'acceptButtonText':{'color':_0x27f8(0x54),'fontSize':0x10,'fontFamily':_0x27f8(0x4f),'fontWeight':_0x27f8(0x4e),'marginRight':0x8},'acceptButtonTextActive':{'color':'#FFFFFF'},'buttonArrow':{'color':_0x27f8(0x54),'fontSize':0x10},'buttonArrowActive':{'color':_0x27f8(0x40)},'declineButton':{'backgroundColor':'#E5E5E5','borderRadius':0x19,'paddingVertical':0xa,'paddingHorizontal':0x18,'alignItems':'center','justifyContent':'center'},'declineButtonText':{'color':COLORS[_0x27f8(0x4c)],'fontSize':0x10,'fontFamily':'Inter','fontWeight':'500'},'logoutButton':{'alignItems':'center','paddingVertical':0xc,'marginTop':0x8},'logoutButtonText':{'fontSize':0xe,'fontFamily':_0x27f8(0x4f),'fontWeight':'400','color':COLORS[_0x27f8(0x55)],'textDecorationLine':'underline'},'connectedPlatformsSection':{'alignItems':_0x27f8(0x4a),'paddingVertical':0xa,'paddingHorizontal':0x10,'backgroundColor':_0x27f8(0x56),'borderRadius':0x10,'marginBottom':0xa,'marginTop':0x10},'connectedPlatformsTitle':{'fontSize':0xf,'fontFamily':_0x27f8(0x4f),'fontWeight':'500','color':COLORS[_0x27f8(0x55)],'marginBottom':0xa},'connectedPlatformsIcons':{'flexDirection':_0x27f8(0x49),'justifyContent':'center','alignItems':_0x27f8(0x4a),'flexWrap':_0x27f8(0x57),'gap':0xa,'marginBottom':0xa},'connectedPlatformIconContainer':{'width':0x30,'height':0x30,'borderRadius':0xa,'backgroundColor':_0x27f8(0x40),'justifyContent':_0x27f8(0x4a),'alignItems':_0x27f8(0x4a),'shadowColor':_0x27f8(0x58),'shadowOffset':{'width':0x0,'height':0x2},'shadowOpacity':0.1,'shadowRadius':0x4,'elevation':0x2},'connectedPlatformIcon':{'width':0x20,'height':0x20},'connectMoreButton':{'flexDirection':'row','alignItems':_0x27f8(0x4a),'justifyContent':_0x27f8(0x4a),'gap':0x8},'connectMoreText':{'fontSize':0x10,'fontFamily':_0x27f8(0x4f),'fontWeight':_0x27f8(0x59),'color':COLORS[_0x27f8(0x55)]},'connectMorePlusCircle':{'width':0x1c,'height':0x1c,'borderRadius':0xe,'borderWidth':0x2,'borderColor':COLORS['grey400'],'justifyContent':_0x27f8(0x4a),'alignItems':_0x27f8(0x4a)},'connectMorePlus':{'fontSize':0x12,'fontWeight':_0x27f8(0x59),'color':COLORS[_0x27f8(0x55)],'marginTop':-0x2}});export{PersonalizationConsentScreen};function _0x27f8(_0x4709d7,_0x27f8b1){_0x4709d7=_0x4709d7-0x0;const _0xec80ee=_0x4709();let _0x5ee88a=_0xec80ee[_0x4709d7];return _0x5ee88a;}export default PersonalizationConsentScreen;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function _0x500b(_0x881054,_0x500b8b){_0x881054=_0x881054-0x0;const _0x6a406e=_0x8810();let _0x3ba35a=_0x6a406e[_0x881054];return _0x3ba35a;}import React,{useState,useEffect}from'react';import{View,Text,StyleSheet,TouchableOpacity,TextInput,Alert,ActivityIndicator}from'react-native';import{COLORS}from'../theme';import{triggerHaptic,HapticType}from'../utils/haptics';import{biometricPinService}from'../services/biometricPinService';import{setTemporaryPin}from'../services/pinStorageUtils';const PinCreationScreen=({visible:_0x4f0242,onComplete:_0x29e971,onBack:_0x365cfa})=>{const _0x10fdf5={'LemFi':function(_0x29d77f,_0x3ce16f){return _0x29d77f(_0x3ce16f);},'dAddF':function(_0xc52a01,_0xc822cd){return _0xc52a01===_0xc822cd;},'tISGh':'dEDIV','UKYRN':_0x500b(0x0),'pOCRY':function(_0x53f45e,_0x1b315b){return _0x53f45e>=_0x1b315b;},'TRNyx':'Please\x20ensure\x20your\x20PIN\x20meets\x20all\x20requirements.','QzOKa':_0x500b(0x1),'uymlf':function(_0x1bba77){return _0x1bba77();},'bnnjG':function(_0x2e7c70,_0x6409e6){return _0x2e7c70(_0x6409e6);},'PGeay':function(_0x2e2167,_0x29c85b){return _0x2e2167(_0x29c85b);},'WWPfH':_0x500b(0x2),'WFgBS':function(_0x318a46,_0x2e4451){return _0x318a46(_0x2e4451);},'DZNlc':_0x500b(0x3),'SSVjN':function(_0x1c4541,_0x3e37e4){return _0x1c4541(_0x3e37e4);},'NNWfd':function(_0x2fb1fc,_0x27a486){return _0x2fb1fc(_0x27a486);},'BBTaa':function(_0x3aff39,_0x38ea9f){return _0x3aff39(_0x38ea9f);},'lPESI':_0x500b(0x4),'aeXyJ':'📝\x20PIN\x20stored\x20temporarily\x20for\x20onboarding','uwknR':function(_0x108c48,_0x1a8ddb){return _0x108c48===_0x1a8ddb;},'qqMVE':_0x500b(0x5),'YuRFo':_0x500b(0x6),'EZnVa':function(_0x527569,_0x2d0952){return _0x527569(_0x2d0952);},'ZkMZC':_0x500b(0x7),'JcoCo':_0x500b(0x8),'Mxfso':_0x500b(0x9),'fEfoq':function(_0x3aa324,_0x877f98){return _0x3aa324!==_0x877f98;},'NObVO':_0x500b(0xa),'EQjjg':_0x500b(0xb),'QZFsU':'✅\x20PIN\x20stored\x20successfully\x20with\x20Face\x20ID','VMtRe':_0x500b(0xc),'wgZoC':_0x500b(0xd),'PGSXy':function(_0xa161ac,_0x18e9a8,_0x3a625e){return _0xa161ac(_0x18e9a8,_0x3a625e);},'mkKhd':'PIN\x20Storage\x20Error','ONRBa':_0x500b(0xe),'EFMXj':_0x500b(0xf),'NnQnD':_0x500b(0x10),'VhUEp':'error','TaKbz':_0x500b(0x11),'TmGSM':_0x500b(0x12),'MVIEq':_0x500b(0x13),'lQBrC':_0x500b(0x14),'whKIq':function(_0x5c30cb,_0x9dde0a){return _0x5c30cb!==_0x9dde0a;},'ctYBJ':_0x500b(0x15),'uVMVd':_0x500b(0x16),'nNgen':'1|3|2|0|4','xnNwa':_0x500b(0x17),'bKOTz':function(_0x3bdb16,_0x2b20b0){return _0x3bdb16(_0x2b20b0);},'aLVWt':function(_0x39245f,_0x2cc2ae){return _0x39245f(_0x2cc2ae);},'ngfMV':_0x500b(0x18),'stmjD':_0x500b(0x19),'gqgxo':function(_0x1106de,_0x471f9e){return _0x1106de(_0x471f9e);},'NjHMC':_0x500b(0x1a),'oeNAB':_0x500b(0x1b),'HjfCr':_0x500b(0x1c),'SwVNb':function(_0x5e3b81,_0x440dee){return _0x5e3b81(_0x440dee);},'zJWDv':function(_0x32f05b,_0x4d60d9,_0x4d5d32){return _0x32f05b(_0x4d60d9,_0x4d5d32);},'GUoNJ':_0x500b(0x1d),'ScGXm':_0x500b(0x1e),'kWgew':_0x500b(0x1f),'QMObJ':_0x500b(0x20),'Muodn':_0x500b(0x21),'qcCdk':_0x500b(0x22),'cpfRA':function(_0x4fa498,_0x51c76e){return _0x4fa498===_0x51c76e;},'HOtUQ':_0x500b(0x23),'ELYwV':function(_0x4b1f5b,_0x1d6554){return _0x4b1f5b===_0x1d6554;},'vsBZe':_0x500b(0x24),'LqigK':'#D4A536','lsTlA':function(_0x1160d3,_0x1f2c16){return _0x1160d3===_0x1f2c16;},'SYexk':'Securing\x20with\x20Face\x20ID...','kDhws':_0x500b(0x25),'ULCEQ':function(_0x31b72b,_0x4b7c61){return _0x31b72b===_0x4b7c61;},'WLFom':_0x500b(0x26),'XDOkF':function(_0x15b44a,_0x5610f9){return _0x15b44a===_0x5610f9;},'ZzVEE':'Verifying\x20Face\x20ID\x20availability\x20on\x20your\x20device.','NYPTd':function(_0x1b2c7d,_0x3986cc){return _0x1b2c7d===_0x3986cc;},'wVYeX':_0x500b(0x27),'FtATU':_0x500b(0x28),'izRFY':_0x500b(0x29),'ShbDq':function(_0x359074,_0x30c9c7){return _0x359074===_0x30c9c7;},'sdxKm':'Face\x20ID\x20setup\x20failed,\x20but\x20your\x20PIN\x20is\x20stored\x20securely.','ZBxQP':function(_0x37343a,_0x36b229){return _0x37343a||_0x36b229;},'CENwv':_0x500b(0x2a)},[_0x5e1f4f,_0x47907b]=_0x10fdf5['WFgBS'](useState,''),[_0x30c1ff,_0xec2463]=useState({'length':![],'uppercase':![],'number':![],'symbol':![]}),[_0x4a916f,_0x587706]=_0x10fdf5[_0x500b(0x2b)](useState,![]),[_0x22f7b2,_0x6a761f]=_0x10fdf5[_0x500b(0x2c)](useState,![]),[_0x2e2af2,_0x310718]=_0x10fdf5[_0x500b(0x2d)](useState,'checking'),_0x13ccb1=_0x17b839=>{const _0x1e87b5={'aFsTd':function(_0x395b5e,_0x3c1621){return _0x10fdf5[_0x500b(0x2e)](_0x395b5e,_0x3c1621);}};if(_0x10fdf5['dAddF'](_0x10fdf5[_0x500b(0x2f)],_0x10fdf5[_0x500b(0x30)]))_0x1e87b5[_0x500b(0x31)](_0x57072f,![]),_0x243751(_0x2a8996);else{const _0x27fa60={'length':_0x10fdf5[_0x500b(0x32)](_0x17b839[_0x500b(0x33)],0x8),'uppercase':/[A-Z]/[_0x500b(0x34)](_0x17b839),'number':/[0-9]/[_0x500b(0x34)](_0x17b839),'symbol':/[!@#$%^&*(),.?":{}|<>]/[_0x500b(0x34)](_0x17b839)};return _0xec2463(_0x27fa60),Object[_0x500b(0x35)](_0x27fa60)[_0x500b(0x36)](_0x13c978=>_0x13c978);}},_0x2eb886=_0x1a2563=>{if(_0x10fdf5[_0x500b(0x37)](_0x10fdf5[_0x500b(0x38)],_0x10fdf5[_0x500b(0x38)]))_0x10fdf5[_0x500b(0x2e)](_0x47907b,_0x1a2563),_0x10fdf5['LemFi'](_0x13ccb1,_0x1a2563);else{_0x429018(_0x5a3f2b[_0x500b(0x39)]),Alert[_0x500b(0x3a)](_0x500b(0x3b),_0x10fdf5[_0x500b(0x3c)]);return;}},_0x52c7b5=async()=>{const _0x46a359={'TXOQN':_0x10fdf5[_0x500b(0x3d)],'UnBZc':function(_0x4bafc4){return _0x10fdf5[_0x500b(0x3e)](_0x4bafc4);},'TtMrL':_0x500b(0x3f),'zxxFT':function(_0x141bd1,_0x265310){return _0x10fdf5[_0x500b(0x2e)](_0x141bd1,_0x265310);}};if(!_0x10fdf5[_0x500b(0x40)](_0x13ccb1,_0x5e1f4f)){_0x10fdf5['WFgBS'](triggerHaptic,HapticType[_0x500b(0x39)]),Alert['alert'](_0x500b(0x3b),_0x10fdf5[_0x500b(0x3c)]);return;}_0x10fdf5[_0x500b(0x2d)](triggerHaptic,HapticType[_0x500b(0x41)]),_0x10fdf5['BBTaa'](_0x587706,!![]);try{console[_0x500b(0x42)](_0x10fdf5[_0x500b(0x43)]),_0x10fdf5[_0x500b(0x2e)](setTemporaryPin,_0x5e1f4f),console['log'](_0x10fdf5['aeXyJ']);if(_0x22f7b2){if(_0x10fdf5[_0x500b(0x44)](_0x10fdf5['qqMVE'],_0x10fdf5['YuRFo']))_0x10fdf5[_0x500b(0x3e)](_0x2ec7c4);else{_0x10fdf5['EZnVa'](_0x310718,_0x10fdf5[_0x500b(0x45)]),console['log'](_0x10fdf5[_0x500b(0x46)]);const _0x1ce9fa=await biometricPinService[_0x500b(0x47)]();console['log'](_0x500b(0x48),_0x1ce9fa);if(!_0x1ce9fa){console['error'](_0x10fdf5[_0x500b(0x49)]),_0x10fdf5[_0x500b(0x4a)](_0x310718,_0x10fdf5[_0x500b(0x3d)]),_0x10fdf5[_0x500b(0x4b)](_0x587706,![]);return;}console[_0x500b(0x42)]('🔐\x20[PIN\x20CREATION]\x20Triggering\x20biometric\x20authentication\x20for\x20PIN\x20storage...');const _0x50c9b1=await biometricPinService['storePinWithBiometric'](_0x5e1f4f);if(_0x50c9b1){if(_0x10fdf5[_0x500b(0x4c)](_0x10fdf5['NObVO'],_0x10fdf5[_0x500b(0x4d)])){console['log'](_0x10fdf5[_0x500b(0x4e)]);const _0x52dbd1=await biometricPinService[_0x500b(0x4f)]();if(_0x52dbd1)console[_0x500b(0x42)](_0x10fdf5['VMtRe']),_0x10fdf5['SSVjN'](_0x310718,_0x10fdf5[_0x500b(0x50)]),triggerHaptic(HapticType[_0x500b(0x51)]),_0x10fdf5[_0x500b(0x52)](setTimeout,()=>{_0x587706(![]),_0x10fdf5[_0x500b(0x53)](_0x29e971,_0x5e1f4f);},0x320);else{const _0x2d98b=_0x500b(0x54)[_0x500b(0x55)]('|');let _0xc27a95=0x0;while(!![]){switch(_0x2d98b[_0xc27a95++]){case'0':_0x10fdf5[_0x500b(0x4b)](triggerHaptic,HapticType[_0x500b(0x39)]);continue;case'1':_0x10fdf5[_0x500b(0x56)](_0x310718,_0x500b(0x57));continue;case'2':Alert[_0x500b(0x3a)](_0x10fdf5[_0x500b(0x58)],_0x10fdf5['ONRBa'],[{'text':'OK'}]);continue;case'3':console[_0x500b(0x57)](_0x10fdf5[_0x500b(0x59)]);continue;case'4':_0x10fdf5[_0x500b(0x56)](_0x587706,![]);continue;}break;}}}else _0x46c24b[_0x500b(0x42)]('📱\x20Biometric\x20not\x20available,\x20continuing\x20without\x20Face\x20ID'),_0x3ac526(_0x46a359[_0x500b(0x5a)]),_0x1d2abb(![]),_0x35f241(_0x588bd9);}else console['log'](_0x10fdf5[_0x500b(0x5b)]),_0x10fdf5[_0x500b(0x4a)](_0x310718,_0x10fdf5[_0x500b(0x5c)]),_0x10fdf5[_0x500b(0x53)](triggerHaptic,HapticType[_0x500b(0x39)]),Alert[_0x500b(0x3a)](_0x10fdf5[_0x500b(0x5d)],_0x500b(0x5e),[{'text':_0x10fdf5[_0x500b(0x5f)],'onPress':()=>{_0x10fdf5[_0x500b(0x53)](_0x587706,![]),_0x10fdf5[_0x500b(0x60)](_0x310718,_0x10fdf5['WWPfH']);}},{'text':_0x10fdf5[_0x500b(0x61)],'onPress':()=>{_0x46a359['TtMrL']===_0x46a359[_0x500b(0x62)]?(_0x46a359[_0x500b(0x63)](_0x587706,![]),_0x46a359['zxxFT'](_0x29e971,_0x5e1f4f)):(_0x2bb03b(_0xa2f3db['BUTTON_PRESS']),_0x46a359['UnBZc'](_0xe3f288));}}]);}}else console[_0x500b(0x42)](_0x10fdf5[_0x500b(0x64)]),_0x10fdf5[_0x500b(0x2d)](_0x310718,_0x10fdf5[_0x500b(0x3d)]),_0x10fdf5[_0x500b(0x56)](_0x587706,![]),_0x29e971(_0x5e1f4f);}catch(_0x596800){if(_0x10fdf5['whKIq'](_0x10fdf5[_0x500b(0x65)],_0x10fdf5['uVMVd'])){const _0x16aa5c=_0x10fdf5[_0x500b(0x66)]['split']('|');let _0x396cf4=0x0;while(!![]){switch(_0x16aa5c[_0x396cf4++]){case'0':triggerHaptic(HapticType[_0x500b(0x39)]);continue;case'1':console['error'](_0x10fdf5[_0x500b(0x67)],_0x596800);continue;case'2':_0x10fdf5[_0x500b(0x68)](_0x587706,![]);continue;case'3':_0x10fdf5[_0x500b(0x69)](_0x310718,_0x10fdf5['VhUEp']);continue;case'4':Alert[_0x500b(0x3a)](_0x10fdf5[_0x500b(0x6a)],_0x10fdf5[_0x500b(0x6b)],[{'text':'OK'}]);continue;}break;}}else{_0x35bfc2[_0x500b(0x57)]('❌\x20[PIN\x20CREATION]\x20Face\x20ID\x20not\x20available\x20on\x20this\x20device'),_0x10fdf5['WFgBS'](_0x592043,_0x10fdf5['DZNlc']),_0x10fdf5[_0x500b(0x4b)](_0x529c57,![]);return;}}},_0x536139=()=>{_0x10fdf5['PGeay'](triggerHaptic,HapticType[_0x500b(0x41)]),_0x365cfa();};_0x10fdf5[_0x500b(0x6c)](useEffect,()=>{const _0x57164f={'hNPgq':_0x500b(0x2),'RAzGV':function(_0x33bbad,_0x55699e){return _0x10fdf5[_0x500b(0x2b)](_0x33bbad,_0x55699e);},'TuPtT':_0x10fdf5['DZNlc'],'ThAuT':_0x10fdf5['NjHMC'],'JQink':function(_0x458b1d,_0x44569f){return _0x458b1d===_0x44569f;},'hpjNs':_0x10fdf5['oeNAB'],'tLPkr':'wjxzr','pOvob':_0x10fdf5[_0x500b(0x6d)]},_0x21e793=async()=>{const _0x42cb4c={'XNyKu':_0x57164f[_0x500b(0x6e)]};try{_0x57164f[_0x500b(0x6f)](_0x310718,_0x500b(0x23));const _0x2dd4fe=await biometricPinService[_0x500b(0x47)]();_0x57164f[_0x500b(0x6f)](_0x6a761f,_0x2dd4fe),_0x57164f[_0x500b(0x6f)](_0x310718,_0x2dd4fe?_0x57164f[_0x500b(0x6e)]:_0x57164f[_0x500b(0x70)]),console[_0x500b(0x42)](_0x57164f[_0x500b(0x71)],_0x2dd4fe);}catch(_0xf93ae){_0x57164f['JQink'](_0x57164f[_0x500b(0x72)],_0x57164f[_0x500b(0x73)])?(_0x15176a(![]),_0x31701a(_0x42cb4c[_0x500b(0x74)])):(console['error'](_0x57164f[_0x500b(0x75)],_0xf93ae),_0x6a761f(![]),_0x57164f[_0x500b(0x6f)](_0x310718,_0x57164f[_0x500b(0x70)]));}};_0x4f0242&&_0x21e793();},[_0x4f0242]);const _0x3314f3=Object['values'](_0x30c1ff)['every'](_0x26c74b=>_0x26c74b);if(!_0x4f0242)return null;return React[_0x500b(0x76)](View,{'style':styles[_0x500b(0x77)]},React[_0x500b(0x76)](View,{'style':styles[_0x500b(0x78)]},React[_0x500b(0x76)](Text,{'style':styles[_0x500b(0x79)]},_0x10fdf5['GUoNJ']),React[_0x500b(0x76)](Text,{'style':styles[_0x500b(0x7a)]},_0x10fdf5['ScGXm'])),React[_0x500b(0x76)](View,{'style':styles['pinContainer']},React['createElement'](TextInput,{'style':styles[_0x500b(0x7b)],'value':_0x5e1f4f,'onChangeText':_0x2eb886,'placeholder':_0x10fdf5[_0x500b(0x7c)],'secureTextEntry':!![],'autoFocus':!![],'maxLength':0x14})),React['createElement'](View,{'style':styles['requirementsContainer']},React[_0x500b(0x76)](Text,{'style':styles[_0x500b(0x7d)]},_0x10fdf5[_0x500b(0x7e)]),React[_0x500b(0x76)](View,{'style':styles[_0x500b(0x7f)]},React['createElement'](View,{'style':[styles[_0x500b(0x80)],_0x30c1ff[_0x500b(0x33)]&&styles[_0x500b(0x81)]]},_0x30c1ff['length']&&React['createElement'](Text,{'style':styles[_0x500b(0x82)]},'✓')),React[_0x500b(0x76)](Text,{'style':[styles[_0x500b(0x83)],_0x30c1ff['length']&&styles[_0x500b(0x84)]]},_0x10fdf5[_0x500b(0x85)])),React['createElement'](View,{'style':styles[_0x500b(0x7f)]},React[_0x500b(0x76)](View,{'style':[styles[_0x500b(0x80)],_0x30c1ff[_0x500b(0x86)]&&styles['checkboxChecked']]},_0x30c1ff[_0x500b(0x86)]&&React[_0x500b(0x76)](Text,{'style':styles['checkmark']},'✓')),React[_0x500b(0x76)](Text,{'style':[styles[_0x500b(0x83)],_0x30c1ff['uppercase']&&styles[_0x500b(0x84)]]},_0x500b(0x87))),React[_0x500b(0x76)](View,{'style':styles[_0x500b(0x7f)]},React[_0x500b(0x76)](View,{'style':[styles[_0x500b(0x80)],_0x30c1ff[_0x500b(0x88)]&&styles[_0x500b(0x81)]]},_0x30c1ff[_0x500b(0x88)]&&React[_0x500b(0x76)](Text,{'style':styles[_0x500b(0x82)]},'✓')),React[_0x500b(0x76)](Text,{'style':[styles[_0x500b(0x83)],_0x30c1ff[_0x500b(0x88)]&&styles[_0x500b(0x84)]]},_0x500b(0x89))),React['createElement'](View,{'style':styles['requirementItem']},React[_0x500b(0x76)](View,{'style':[styles['checkbox'],_0x30c1ff[_0x500b(0x8a)]&&styles[_0x500b(0x81)]]},_0x30c1ff[_0x500b(0x8a)]&&React[_0x500b(0x76)](Text,{'style':styles[_0x500b(0x82)]},'✓')),React[_0x500b(0x76)](Text,{'style':[styles[_0x500b(0x83)],_0x30c1ff[_0x500b(0x8a)]&&styles[_0x500b(0x84)]]},_0x10fdf5['qcCdk']))),React[_0x500b(0x76)](View,{'style':[styles[_0x500b(0x8b)],_0x10fdf5[_0x500b(0x8c)](_0x2e2af2,_0x500b(0xd))&&styles[_0x500b(0x8d)],_0x10fdf5[_0x500b(0x8c)](_0x2e2af2,_0x10fdf5[_0x500b(0x5c)])&&styles[_0x500b(0x8e)]]},React['createElement'](View,{'style':styles[_0x500b(0x8f)]},_0x10fdf5[_0x500b(0x8c)](_0x2e2af2,_0x10fdf5['HOtUQ'])&&React[_0x500b(0x76)](ActivityIndicator,{'size':_0x500b(0x24),'color':COLORS[_0x500b(0x90)]}),_0x10fdf5[_0x500b(0x91)](_0x2e2af2,_0x500b(0x7))&&React[_0x500b(0x76)](ActivityIndicator,{'size':_0x10fdf5[_0x500b(0x92)],'color':_0x10fdf5['LqigK']}),_0x10fdf5[_0x500b(0x37)](_0x2e2af2,_0x10fdf5[_0x500b(0x93)])&&React[_0x500b(0x76)](Text,{'style':styles['securityIcon']},'🔐'),_0x2e2af2===_0x10fdf5[_0x500b(0x3d)]&&React[_0x500b(0x76)](Text,{'style':styles['securityIcon']},'⚠️'),_0x2e2af2===_0x10fdf5[_0x500b(0x50)]&&React['createElement'](Text,{'style':styles[_0x500b(0x94)]},'✅'),_0x10fdf5['cpfRA'](_0x2e2af2,_0x10fdf5[_0x500b(0x5c)])&&React[_0x500b(0x76)](Text,{'style':styles[_0x500b(0x94)]},'❌')),React[_0x500b(0x76)](View,{'style':styles[_0x500b(0x95)]},React['createElement'](Text,{'style':styles[_0x500b(0x96)]},_0x2e2af2===_0x10fdf5[_0x500b(0x97)]&&_0x500b(0x98),_0x10fdf5[_0x500b(0x99)](_0x2e2af2,_0x10fdf5['WWPfH'])&&_0x500b(0x9a),_0x2e2af2===_0x10fdf5['DZNlc']&&_0x500b(0x9b),_0x10fdf5[_0x500b(0x91)](_0x2e2af2,_0x10fdf5[_0x500b(0x45)])&&_0x10fdf5[_0x500b(0x9c)],_0x2e2af2===_0x10fdf5[_0x500b(0x50)]&&_0x10fdf5['kDhws'],_0x10fdf5['ULCEQ'](_0x2e2af2,_0x10fdf5[_0x500b(0x5c)])&&_0x10fdf5[_0x500b(0x9d)]),React[_0x500b(0x76)](Text,{'style':styles[_0x500b(0x9e)]},_0x10fdf5['XDOkF'](_0x2e2af2,_0x10fdf5[_0x500b(0x97)])&&_0x10fdf5['ZzVEE'],_0x10fdf5[_0x500b(0x9f)](_0x2e2af2,_0x10fdf5['WWPfH'])&&_0x10fdf5['wVYeX'],_0x2e2af2===_0x500b(0x3)&&_0x10fdf5['FtATU'],_0x2e2af2==='storing'&&_0x10fdf5[_0x500b(0xa0)],_0x10fdf5['NYPTd'](_0x2e2af2,_0x10fdf5[_0x500b(0x50)])&&_0x500b(0xa1),_0x10fdf5[_0x500b(0xa2)](_0x2e2af2,_0x10fdf5['VhUEp'])&&_0x10fdf5[_0x500b(0xa3)]))),React[_0x500b(0x76)](View,{'style':styles[_0x500b(0xa4)]},React['createElement'](TouchableOpacity,{'style':[styles[_0x500b(0xa5)],_0x3314f3&&styles[_0x500b(0xa6)]],'onPress':_0x52c7b5,'disabled':_0x10fdf5[_0x500b(0xa7)](!_0x3314f3,_0x4a916f)},_0x4a916f?React[_0x500b(0x76)](ActivityIndicator,{'size':_0x10fdf5[_0x500b(0x92)],'color':_0x10fdf5[_0x500b(0xa8)]}):React[_0x500b(0x76)](Text,{'style':[styles[_0x500b(0xa9)],_0x3314f3&&styles[_0x500b(0xaa)]]},'Continue'))));},styles=StyleSheet[_0x500b(0xab)]({'container':{'flex':0x1,'backgroundColor':COLORS[_0x500b(0xac)],'paddingHorizontal':0x18,'paddingTop':0x28},'titleContainer':{'alignItems':'center','marginBottom':0x18,'paddingTop':0x0,'marginTop':0x0},'title':{'fontSize':0x18,'fontWeight':'700','color':COLORS[_0x500b(0xad)],'marginBottom':0x8,'fontFamily':_0x500b(0xae)},'subtitle':{'fontSize':0x10,'color':COLORS['grey600'],'lineHeight':0x18,'fontFamily':_0x500b(0xaf)},'pinContainer':{'marginBottom':0x20},'pinInput':{'backgroundColor':_0x500b(0xb0),'borderRadius':0xc,'paddingVertical':0x10,'paddingHorizontal':0x10,'fontSize':0x10,'fontFamily':_0x500b(0xaf),'borderWidth':0x1,'borderColor':_0x500b(0xb1)},'requirementsContainer':{'marginBottom':0x20},'requirementsTitle':{'fontSize':0x10,'fontWeight':_0x500b(0xb2),'color':COLORS[_0x500b(0xad)],'marginBottom':0x10,'fontFamily':_0x500b(0xaf)},'requirementItem':{'flexDirection':_0x500b(0xb3),'alignItems':'center','marginBottom':0xc},'checkbox':{'width':0x14,'height':0x14,'borderRadius':0xa,'borderWidth':0x2,'borderColor':_0x500b(0xb1),'marginRight':0xc,'alignItems':_0x500b(0xb4),'justifyContent':_0x500b(0xb4)},'checkboxChecked':{'borderColor':'#4CD964','backgroundColor':'#4CD964'},'checkmark':{'color':_0x500b(0x2a),'fontSize':0xc,'fontWeight':_0x500b(0xb5)},'requirementText':{'fontSize':0xe,'color':COLORS[_0x500b(0x90)],'fontFamily':_0x500b(0xaf),'flex':0x1},'requirementTextMet':{'color':COLORS[_0x500b(0xad)]},'securityCard':{'backgroundColor':_0x500b(0xb0),'borderRadius':0xc,'padding':0x10,'flexDirection':_0x500b(0xb3),'alignItems':_0x500b(0xb4),'marginBottom':0x18,'borderWidth':0x1,'borderColor':_0x500b(0xb1)},'securityCardSuccess':{'backgroundColor':_0x500b(0xb6),'borderColor':_0x500b(0xb7)},'securityCardError':{'backgroundColor':_0x500b(0xb8),'borderColor':_0x500b(0xb9)},'securityIconContainer':{'marginRight':0xc},'securityIcon':{'fontSize':0x18},'securityTextContainer':{'flex':0x1},'securityTitle':{'fontSize':0xe,'fontWeight':'600','color':COLORS[_0x500b(0xad)],'marginBottom':0x4,'fontFamily':'Inter'},'securityDescription':{'fontSize':0xd,'color':COLORS[_0x500b(0x90)],'lineHeight':0x12,'fontFamily':'Inter'},'buttonContainer':{'marginTop':'auto','paddingBottom':0x22},'continueButton':{'backgroundColor':_0x500b(0xb1),'borderRadius':0x19,'paddingVertical':0x10,'alignItems':'center','justifyContent':_0x500b(0xb4)},'continueButtonActive':{'backgroundColor':'#2D3436'},'continueButtonText':{'fontSize':0x10,'fontWeight':_0x500b(0xb2),'color':_0x500b(0xba),'fontFamily':_0x500b(0xaf)},'continueButtonTextActive':{'color':_0x500b(0x2a)}});export{PinCreationScreen};function _0x8810(){const _0x5f470e=['krZeN','KVnUJ','available','unavailable','🔐\x20Starting\x20PIN\x20creation\x20process...','KtQnz','NDsrx','storing','🔐\x20[PIN\x20CREATION]\x20Biometric\x20storage\x20enabled,\x20starting\x20biometric\x20flow...','❌\x20[PIN\x20CREATION]\x20Face\x20ID\x20not\x20available\x20on\x20this\x20device','VKfbD','wXYpO','✅\x20PIN\x20storage\x20verified\x20-\x20proceeding\x20with\x20onboarding','success','PIN\x20storage\x20verification\x20failed.\x20Please\x20try\x20again.','❌\x20PIN\x20storage\x20verification\x20failed','⚠️\x20Face\x20ID\x20authentication\x20was\x20cancelled\x20or\x20failed','Face\x20ID\x20Setup','Try\x20Again','Continue\x20Without\x20Face\x20ID','📱\x20Biometric\x20not\x20available,\x20continuing\x20without\x20Face\x20ID','kkxQa','JqSHq','❌\x20Error\x20in\x20PIN\x20creation\x20process:','PIN\x20Creation\x20Error','There\x20was\x20an\x20issue\x20creating\x20your\x20PIN.\x20Please\x20try\x20again.','📱\x20Biometric\x20availability\x20check:','fCuFJ','❌\x20Error\x20checking\x20biometric\x20availability:','Create\x20a\x20PIN','A\x20PIN\x20so\x20only\x20you\x20have\x20access\x20to\x20your\x20data.','Enter\x20your\x20PIN','Your\x20PIN\x20must:','Be\x20at\x20least\x208\x20characters\x20in\x20length.','Contain\x20a\x20symbol\x20(e.g.\x20!@#$%^&*).','checking','small','PIN\x20Secured\x20with\x20Face\x20ID','Face\x20ID\x20Setup\x20Failed','We\x20use\x20Face\x20ID\x20to\x20ensure\x20only\x20you\x20can\x20access\x20your\x20data.','Face\x20ID\x20is\x20not\x20available\x20on\x20this\x20device.\x20Your\x20PIN\x20will\x20be\x20stored\x20securely.','Please\x20authenticate\x20with\x20Face\x20ID\x20to\x20secure\x20your\x20PIN.','#FFFFFF','gqgxo','SwVNb','BBTaa','LemFi','tISGh','UKYRN','aFsTd','pOCRY','length','test','values','every','dAddF','QzOKa','ERROR','alert','Invalid\x20PIN','TRNyx','DZNlc','uymlf','jYJCh','NNWfd','BUTTON_PRESS','log','lPESI','uwknR','ZkMZC','JcoCo','isBiometricAvailable','📱\x20[PIN\x20CREATION]\x20Biometric\x20available\x20before\x20storage:','Mxfso','WFgBS','SSVjN','fEfoq','EQjjg','QZFsU','isPinStored','wgZoC','SUCCESS','PGSXy','bnnjG','3|1|4|0|2','split','EZnVa','error','mkKhd','EFMXj','TXOQN','NnQnD','VhUEp','TaKbz','Face\x20ID\x20authentication\x20was\x20cancelled\x20or\x20failed.\x20Your\x20PIN\x20is\x20still\x20saved\x20securely.','TmGSM','PGeay','MVIEq','TtMrL','zxxFT','lQBrC','ctYBJ','nNgen','xnNwa','bKOTz','aLVWt','ngfMV','stmjD','zJWDv','HjfCr','hNPgq','RAzGV','TuPtT','ThAuT','hpjNs','tLPkr','XNyKu','pOvob','createElement','container','titleContainer','title','subtitle','pinInput','kWgew','requirementsTitle','QMObJ','requirementItem','checkbox','checkboxChecked','checkmark','requirementText','requirementTextMet','Muodn','uppercase','Contain\x20an\x20uppercase\x20letter.','number','Contain\x20a\x20number.','symbol','securityCard','cpfRA','securityCardSuccess','securityCardError','securityIconContainer','grey600','ELYwV','vsBZe','WWPfH','securityIcon','securityTextContainer','securityTitle','HOtUQ','Checking\x20Face\x20ID...','lsTlA','Enhanced\x20Security','Face\x20ID\x20Unavailable','SYexk','WLFom','securityDescription','NYPTd','izRFY','Your\x20PIN\x20is\x20now\x20protected\x20with\x20Face\x20ID\x20authentication.','ShbDq','sdxKm','buttonContainer','continueButton','continueButtonActive','ZBxQP','CENwv','continueButtonText','continueButtonTextActive','create','surface','grey800','IBM\x20Plex\x20Sans','Inter','#F8F9FA','#E5E5E5','600','row','center','bold','#F0FDF4','#22C55E','#FEF2F2','#EF4444','#999999'];_0x8810=function(){return _0x5f470e;};return _0x8810();}export default PinCreationScreen;
|
|
1
|
+
import React,{useState,useEffect}from'react';import{View,Text,StyleSheet,TouchableOpacity,TextInput,Alert,ActivityIndicator}from'react-native';function _0x1467(_0x209652,_0x1467fd){_0x209652=_0x209652-0x0;const _0x5d8e63=_0x2096();let _0x331ed1=_0x5d8e63[_0x209652];return _0x331ed1;}import{COLORS}from'../theme';function _0x2096(){const _0x12bbca=['Parqe','success','📱\x20Biometric\x20not\x20available,\x20continuing\x20without\x20Face\x20ID','unavailable','IyvhE','❌\x20[PIN\x20CREATION]\x20Face\x20ID\x20not\x20available\x20on\x20this\x20device','Face\x20ID\x20Setup','Try\x20Again','Continue\x20Without\x20Face\x20ID','nHiAn','Please\x20ensure\x20your\x20PIN\x20meets\x20all\x20requirements.','📝\x20PIN\x20stored\x20temporarily\x20for\x20onboarding','storing','🔐\x20[PIN\x20CREATION]\x20Biometric\x20storage\x20enabled,\x20starting\x20biometric\x20flow...','📱\x20[PIN\x20CREATION]\x20Biometric\x20available\x20before\x20storage:','zNPHC','✅\x20PIN\x20stored\x20successfully\x20with\x20Face\x20ID','PIN\x20Storage\x20Error','❌\x20PIN\x20storage\x20verification\x20failed','pHXQL','❌\x20Error\x20in\x20PIN\x20creation\x20process:','DygQH','YxnCw','2|3|1|4|0','checking','❌\x20Error\x20checking\x20biometric\x20availability:','Create\x20a\x20PIN','A\x20PIN\x20so\x20only\x20you\x20have\x20access\x20to\x20your\x20data.','Enter\x20your\x20PIN','Your\x20PIN\x20must:','Be\x20at\x20least\x208\x20characters\x20in\x20length.','Contain\x20a\x20number.','small','#D4A536','Enhanced\x20Security','Securing\x20with\x20Face\x20ID...','Face\x20ID\x20Setup\x20Failed','Verifying\x20Face\x20ID\x20availability\x20on\x20your\x20device.','Face\x20ID\x20is\x20not\x20available\x20on\x20this\x20device.\x20Your\x20PIN\x20will\x20be\x20stored\x20securely.','Please\x20authenticate\x20with\x20Face\x20ID\x20to\x20secure\x20your\x20PIN.','Your\x20PIN\x20is\x20now\x20protected\x20with\x20Face\x20ID\x20authentication.','Face\x20ID\x20setup\x20failed,\x20but\x20your\x20PIN\x20is\x20stored\x20securely.','xsqCP','ngpFX','MFNUs','bEbtP','zrcmS','length','test','every','ctjLm','dxJrX','cegXT','baEOz','HNeLM','ugwPY','plXbt','txegV','kBwiJ','Hxgcw','ERROR','alert','Invalid\x20PIN','lSiPM','nQUqu','aOcyu','wPudC','log','vfmZP','isBiometricAvailable','UhEFJ','AzDXt','vFzBt','TiAqB','TZiVp','PWbbT','SUCCESS','Bnorc','VTUSG','lzwnm','isPinStored','ofrQg','EXyUN','yAUGi','split','kjSJO','MnRQI','PIN\x20storage\x20verification\x20failed.\x20Please\x20try\x20again.','error','bqhSq','MYtDj','tcoMe','xUCtE','GnoFW','gDRua','SqyIr','lTRoY','zlvkq','azRQf','hotNl','pIKky','⚠️\x20Face\x20ID\x20authentication\x20was\x20cancelled\x20or\x20failed','qlVvB','WHGTt','CxupF','bLorQ','eReqP','kcjAv','uxtDx','cgGUq','HQoCF','JZfFq','eNHau','EndOp','QhcHZ','PxydA','SxLqR','RlKJr','EiVXi','DczMY','KjVID','lYQAV','AIYyo','kSRrb','RavKH','Ixojc','DZFeK','ZMsfI','UalSB','QyIig','RpNRI','ojBFW','KXpLC','apRIz','gScbU','kSfmZ','KcRNi','AtNKM','ISrDS','zVWSZ','BUTTON_PRESS','QJIto','QYqdO','yICkP','jWcEo','KDKJD','xKdUh','values','createElement','container','title','pfIQb','subtitle','IIhxW','pinContainer','pinInput','tiXKY','KXEIi','requirementItem','checkbox','checkmark','requirementText','requirementTextMet','rCLjY','uppercase','Contain\x20an\x20uppercase\x20letter.','number','checkboxChecked','symbol','SjVZZ','securityCard','rzkFX','securityCardSuccess','securityCardError','securityIconContainer','OhnmY','grey600','ZRvDC','YmNWp','available','securityIcon','deFyV','securityTextContainer','securityTitle','NZLqS','Checking\x20Face\x20ID...','tEFwf','Face\x20ID\x20Unavailable','EngNl','VFkwy','RXvax','securityDescription','Hqpsq','BAbaH','fXpky','We\x20use\x20Face\x20ID\x20to\x20ensure\x20only\x20you\x20can\x20access\x20your\x20data.','dwqHO','OuQoE','ZiQmy','BJJYj','HltvI','buttonContainer','continueButton','continueButtonActive','ZQgGQ','continueButtonText','continueButtonTextActive','FnDMR','create','center','700','grey800','IBM\x20Plex\x20Sans','Inter','#F8F9FA','row','#4CD964','#FFFFFF','bold','#F0FDF4','#22C55E','#FEF2F2','#EF4444','600','#999999'];_0x2096=function(){return _0x12bbca;};return _0x2096();}import{triggerHaptic,HapticType}from'../utils/haptics';import{biometricPinService}from'../services/biometricPinService';import{setTemporaryPin}from'../services/pinStorageUtils';const PinCreationScreen=({visible:_0x24571d,onComplete:_0x5cf48d,onBack:_0x5307c4})=>{const _0x19b56a={'zrcmS':function(_0x49307a,_0x46eb12){return _0x49307a>=_0x46eb12;},'cegXT':function(_0x1c1122,_0x56a22e){return _0x1c1122(_0x56a22e);},'aOcyu':function(_0x383ce6,_0x206011){return _0x383ce6(_0x206011);},'rzkFX':function(_0x7cab64,_0x201888){return _0x7cab64===_0x201888;},'ctjLm':_0x1467(0x0),'DczMY':function(_0x277fea){return _0x277fea();},'TZiVp':'✅\x20PIN\x20storage\x20verified\x20-\x20proceeding\x20with\x20onboarding','PWbbT':_0x1467(0x1),'nQUqu':function(_0x39d207,_0x26742d){return _0x39d207(_0x26742d);},'Bnorc':function(_0x1a0b38,_0x23f576,_0x9a6468){return _0x1a0b38(_0x23f576,_0x9a6468);},'YpgRi':_0x1467(0x2),'TiAqB':_0x1467(0x3),'EXyUN':function(_0x52ee6f,_0x23baa8){return _0x52ee6f(_0x23baa8);},'nOHaq':_0x1467(0x4),'xUCtE':'eCCRK','GnoFW':function(_0x52a493,_0x40362e){return _0x52a493(_0x40362e);},'EndOp':'available','xsqCP':function(_0x4b4901,_0x404c61){return _0x4b4901(_0x404c61);},'vFzBt':function(_0x30f924,_0x59ee73){return _0x30f924(_0x59ee73);},'AzDXt':_0x1467(0x5),'baEOz':function(_0x228e11,_0x1cae8f){return _0x228e11(_0x1cae8f);},'HNeLM':'error','IHxdQ':_0x1467(0x6),'ugwPY':'Face\x20ID\x20authentication\x20was\x20cancelled\x20or\x20failed.\x20Your\x20PIN\x20is\x20still\x20saved\x20securely.','tcoMe':_0x1467(0x7),'zlvkq':_0x1467(0x8),'txegV':_0x1467(0x9),'lSplt':function(_0x15b440,_0x37951d){return _0x15b440(_0x37951d);},'kBwiJ':function(_0x232bd4,_0x394feb){return _0x232bd4!==_0x394feb;},'Hxgcw':'YBipM','lSiPM':_0x1467(0xa),'FRONH':'🔐\x20Starting\x20PIN\x20creation\x20process...','rHyjF':_0x1467(0xb),'wPudC':_0x1467(0xc),'vfmZP':_0x1467(0xd),'Hdnqz':_0x1467(0xe),'UhEFJ':function(_0x1eb011,_0x281959){return _0x1eb011===_0x281959;},'HJMvD':_0x1467(0xf),'VTUSG':'🔐\x20[PIN\x20CREATION]\x20Triggering\x20biometric\x20authentication\x20for\x20PIN\x20storage...','lzwnm':_0x1467(0x10),'ofrQg':'cxBAR','bEbtP':function(_0x2c3a13,_0x3fe2f6){return _0x2c3a13(_0x3fe2f6);},'yAUGi':'4|2|0|3|1','kjSJO':function(_0x424d4d,_0x3420ad){return _0x424d4d(_0x3420ad);},'MnRQI':_0x1467(0x11),'bqhSq':function(_0x449734,_0x38e306){return _0x449734(_0x38e306);},'LUxUX':_0x1467(0x12),'MYtDj':'⚠️\x20Face\x20ID\x20authentication\x20was\x20cancelled\x20or\x20failed','MFNUs':function(_0x4ed15f,_0x2b7632){return _0x4ed15f(_0x2b7632);},'JZfFq':function(_0x4e48de,_0xcd0f2f){return _0x4e48de(_0xcd0f2f);},'eNHau':_0x1467(0x13),'HTaQo':_0x1467(0x14),'QhcHZ':'PIN\x20Creation\x20Error','PxydA':'There\x20was\x20an\x20issue\x20creating\x20your\x20PIN.\x20Please\x20try\x20again.','EiVXi':function(_0x7f121d,_0x6c74ad){return _0x7f121d(_0x6c74ad);},'SxLqR':_0x1467(0x15),'RlKJr':_0x1467(0x16),'lYQAV':function(_0x28549f,_0x33abc7){return _0x28549f(_0x33abc7);},'AIYyo':function(_0x4d22a3){return _0x4d22a3();},'kSRrb':_0x1467(0x17),'RavKH':'HwukO','ZMsfI':_0x1467(0x18),'UalSB':'📱\x20Biometric\x20availability\x20check:','QyIig':_0x1467(0x19),'ngpFX':function(_0x575b4e,_0x867f01){return _0x575b4e(_0x867f01);},'KjVID':function(_0x16b352,_0x7501ed,_0x170a0c){return _0x16b352(_0x7501ed,_0x170a0c);},'pfIQb':_0x1467(0x1a),'IIhxW':_0x1467(0x1b),'tiXKY':_0x1467(0x1c),'KXEIi':_0x1467(0x1d),'rCLjY':_0x1467(0x1e),'VKQmc':_0x1467(0x1f),'SjVZZ':'Contain\x20a\x20symbol\x20(e.g.\x20!@#$%^&*).','figrD':function(_0x5c379d,_0x39b7f0){return _0x5c379d===_0x39b7f0;},'OhnmY':_0x1467(0x20),'ZRvDC':function(_0x1c099f,_0x265c01){return _0x1c099f===_0x265c01;},'YmNWp':_0x1467(0x21),'deFyV':function(_0x301e00,_0x4eb82d){return _0x301e00===_0x4eb82d;},'NZLqS':function(_0x31754b,_0x477dd0){return _0x31754b===_0x477dd0;},'sAnVw':_0x1467(0x22),'tEFwf':function(_0x77550f,_0x1059fc){return _0x77550f===_0x1059fc;},'fXpky':function(_0x1277c6,_0x58865d){return _0x1277c6===_0x58865d;},'EngNl':_0x1467(0x23),'mxUKC':'PIN\x20Secured\x20with\x20Face\x20ID','VFkwy':function(_0x3619a2,_0x540af2){return _0x3619a2===_0x540af2;},'RXvax':_0x1467(0x24),'Hqpsq':function(_0x77be95,_0x514ae5){return _0x77be95===_0x514ae5;},'BAbaH':_0x1467(0x25),'dwqHO':function(_0x9471f6,_0x2cb909){return _0x9471f6===_0x2cb909;},'xAwTC':_0x1467(0x26),'OuQoE':_0x1467(0x27),'pIZys':function(_0x38ef28,_0x238a7e){return _0x38ef28===_0x238a7e;},'ZiQmy':_0x1467(0x28),'BJJYj':function(_0x5cff0c,_0x2b87e0){return _0x5cff0c===_0x2b87e0;},'HltvI':_0x1467(0x29),'ZQgGQ':function(_0x2cf4a1,_0x15454e){return _0x2cf4a1||_0x15454e;},'jeaVA':'#FFFFFF','FnDMR':'Continue'},[_0x3dacb9,_0xd220e4]=_0x19b56a[_0x1467(0x2a)](useState,''),[_0x3adbe5,_0x265fb4]=_0x19b56a[_0x1467(0x2b)](useState,{'length':![],'uppercase':![],'number':![],'symbol':![]}),[_0x34bf66,_0x4a2861]=useState(![]),[_0x23f97c,_0x477ee2]=_0x19b56a[_0x1467(0x2c)](useState,![]),[_0x229040,_0x4a6fc4]=_0x19b56a[_0x1467(0x2d)](useState,_0x19b56a['ZMsfI']),_0x5ed33c=_0xcf453d=>{const _0x17123d={'length':_0x19b56a[_0x1467(0x2e)](_0xcf453d[_0x1467(0x2f)],0x8),'uppercase':/[A-Z]/[_0x1467(0x30)](_0xcf453d),'number':/[0-9]/[_0x1467(0x30)](_0xcf453d),'symbol':/[!@#$%^&*(),.?":{}|<>]/['test'](_0xcf453d)};return _0x19b56a['cegXT'](_0x265fb4,_0x17123d),Object['values'](_0x17123d)[_0x1467(0x31)](_0x531eb1=>_0x531eb1);},_0x3d43c4=_0x52b7c5=>{_0x19b56a['rzkFX'](_0x19b56a[_0x1467(0x32)],_0x1467(0x33))?(_0x19b56a['aOcyu'](_0x4986cb,![]),_0x24daa6(_0x5d3170)):(_0x19b56a['aOcyu'](_0xd220e4,_0x52b7c5),_0x19b56a[_0x1467(0x34)](_0x5ed33c,_0x52b7c5));},_0x2f28f2=async()=>{const _0x1aaf07={'SqyIr':function(_0xd53ddb,_0x4f7148){return _0xd53ddb(_0x4f7148);},'gDRua':_0x19b56a['AzDXt'],'lTRoY':function(_0x34e7c3,_0x326c5a){return _0x19b56a[_0x1467(0x35)](_0x34e7c3,_0x326c5a);},'qlVvB':_0x19b56a[_0x1467(0x36)],'WHGTt':function(_0x63cdff,_0x4aa3d7){return _0x63cdff(_0x4aa3d7);},'PiOof':_0x19b56a['IHxdQ'],'CxupF':_0x19b56a[_0x1467(0x37)],'bLorQ':_0x19b56a['tcoMe'],'Fhuxk':_0x19b56a['zlvkq'],'azRQf':function(_0x423a5c,_0x186e99){return _0x423a5c===_0x186e99;},'hotNl':_0x1467(0x38),'pIKky':_0x19b56a[_0x1467(0x39)],'cgGUq':function(_0xb56a1b,_0x28d8b1){return _0x19b56a['lSplt'](_0xb56a1b,_0x28d8b1);},'HQoCF':function(_0x1b0a70,_0x2196e9){return _0x1b0a70(_0x2196e9);}};if(_0x19b56a[_0x1467(0x3a)](_0x19b56a[_0x1467(0x3b)],_0x19b56a[_0x1467(0x3b)]))_0x19b56a['DczMY'](_0x1d634a);else{if(!_0x19b56a['nQUqu'](_0x5ed33c,_0x3dacb9)){triggerHaptic(HapticType[_0x1467(0x3c)]),Alert[_0x1467(0x3d)](_0x1467(0x3e),_0x19b56a[_0x1467(0x3f)]);return;}triggerHaptic(HapticType['BUTTON_PRESS']),_0x19b56a[_0x1467(0x40)](_0x4a2861,!![]);try{console['log'](_0x19b56a['FRONH']),_0x19b56a[_0x1467(0x41)](setTemporaryPin,_0x3dacb9),console['log'](_0x19b56a['rHyjF']);if(_0x23f97c){_0x4a6fc4(_0x19b56a[_0x1467(0x42)]),console[_0x1467(0x43)](_0x19b56a[_0x1467(0x44)]);const _0x4ba591=await biometricPinService[_0x1467(0x45)]();console[_0x1467(0x43)](_0x19b56a['Hdnqz'],_0x4ba591);if(!_0x4ba591){if(_0x19b56a[_0x1467(0x46)](_0x19b56a['HJMvD'],_0x19b56a['HJMvD'])){console['error'](_0x19b56a[_0x1467(0x47)]),_0x19b56a[_0x1467(0x48)](_0x4a6fc4,_0x19b56a[_0x1467(0x49)]),_0x4a2861(![]);return;}else _0x5108bf[_0x1467(0x43)](_0x19b56a[_0x1467(0x4a)]),_0x1fbf2e(_0x19b56a[_0x1467(0x4b)]),_0x19b56a['nQUqu'](_0xb4ed4,_0x5a003e[_0x1467(0x4c)]),_0x19b56a[_0x1467(0x4d)](_0x273c89,()=>{_0x1aaf07['SqyIr'](_0x876eb5,![]),_0x56859f(_0x4799fa);},0x320);}console[_0x1467(0x43)](_0x19b56a[_0x1467(0x4e)]);const _0x47945d=await biometricPinService['storePinWithBiometric'](_0x3dacb9);if(_0x47945d){console['log'](_0x19b56a[_0x1467(0x4f)]);const _0x291f7e=await biometricPinService[_0x1467(0x50)]();if(_0x291f7e)_0x19b56a['rzkFX'](_0x19b56a[_0x1467(0x51)],_0x19b56a[_0x1467(0x51)])?(console[_0x1467(0x43)](_0x19b56a[_0x1467(0x4a)]),_0x19b56a['bEbtP'](_0x4a6fc4,_0x19b56a['PWbbT']),_0x19b56a[_0x1467(0x52)](triggerHaptic,HapticType[_0x1467(0x4c)]),setTimeout(()=>{_0x4a2861(![]),_0x5cf48d(_0x3dacb9);},0x320)):(_0x5c891f[_0x1467(0x43)](_0x19b56a['YpgRi']),_0x19b56a[_0x1467(0x34)](_0x4a148d,_0x19b56a['TiAqB']),_0x19b56a[_0x1467(0x41)](_0x29bcd0,![]),_0x19b56a[_0x1467(0x52)](_0x1854fb,_0x47b39e));else{const _0x3a5c22=_0x19b56a[_0x1467(0x53)][_0x1467(0x54)]('|');let _0x19222e=0x0;while(!![]){switch(_0x3a5c22[_0x19222e++]){case'0':_0x19b56a[_0x1467(0x55)](_0x4a2861,![]);continue;case'1':Alert[_0x1467(0x3d)](_0x19b56a[_0x1467(0x56)],_0x1467(0x57),[{'text':'OK'}]);continue;case'2':_0x19b56a['vFzBt'](_0x4a6fc4,_0x1467(0x58));continue;case'3':_0x19b56a[_0x1467(0x59)](triggerHaptic,HapticType[_0x1467(0x3c)]);continue;case'4':console[_0x1467(0x58)](_0x19b56a['LUxUX']);continue;}break;}}}else console['log'](_0x19b56a[_0x1467(0x5a)]),_0x19b56a['kjSJO'](_0x4a6fc4,_0x19b56a[_0x1467(0x36)]),_0x19b56a['EXyUN'](triggerHaptic,HapticType[_0x1467(0x3c)]),Alert[_0x1467(0x3d)](_0x1467(0x6),_0x19b56a['ugwPY'],[{'text':_0x19b56a[_0x1467(0x5b)],'onPress':()=>{if(_0x19b56a['nOHaq']!==_0x19b56a[_0x1467(0x5c)])_0x19b56a[_0x1467(0x5d)](_0x4a2861,![]),_0x4a6fc4(_0x19b56a['EndOp']);else{_0x58bcb7[_0x1467(0x58)](_0x1aaf07[_0x1467(0x5e)]),_0x1aaf07[_0x1467(0x5f)](_0x547335,_0x1467(0x3)),_0x1aaf07[_0x1467(0x60)](_0x3d40fc,![]);return;}}},{'text':_0x19b56a[_0x1467(0x61)],'onPress':()=>{const _0x31f12a={'kcjAv':function(_0x308677,_0x5508d1){return _0x1aaf07['WHGTt'](_0x308677,_0x5508d1);},'uxtDx':function(_0x212d0d,_0x37778f){return _0x1aaf07[_0x1467(0x5f)](_0x212d0d,_0x37778f);}};if(_0x1aaf07[_0x1467(0x62)](_0x1aaf07[_0x1467(0x63)],_0x1aaf07[_0x1467(0x64)])){const _0x45c959={'eReqP':function(_0x22084a,_0x342890){return _0x1aaf07[_0x1467(0x60)](_0x22084a,_0x342890);}};_0x2a2b2d[_0x1467(0x43)](_0x1467(0x65)),_0xce6b9(_0x1aaf07[_0x1467(0x66)]),_0x1aaf07[_0x1467(0x67)](_0x27d514,_0x5d78bc[_0x1467(0x3c)]),Alert[_0x1467(0x3d)](_0x1aaf07['PiOof'],_0x1aaf07[_0x1467(0x68)],[{'text':_0x1aaf07[_0x1467(0x69)],'onPress':()=>{_0x45c959[_0x1467(0x6a)](_0x5e0aea,![]),_0x45c959[_0x1467(0x6a)](_0x4920b5,'available');}},{'text':_0x1aaf07['Fhuxk'],'onPress':()=>{_0x31f12a[_0x1467(0x6b)](_0xfa6102,![]),_0x31f12a[_0x1467(0x6c)](_0x9c32b2,_0x43c91e);}}]);}else _0x1aaf07[_0x1467(0x6d)](_0x4a2861,![]),_0x1aaf07[_0x1467(0x6e)](_0x5cf48d,_0x3dacb9);}}]);}else console[_0x1467(0x43)]('📱\x20Biometric\x20not\x20available,\x20continuing\x20without\x20Face\x20ID'),_0x4a6fc4(_0x19b56a[_0x1467(0x49)]),_0x19b56a[_0x1467(0x2c)](_0x4a2861,![]),_0x19b56a[_0x1467(0x6f)](_0x5cf48d,_0x3dacb9);}catch(_0x39cd7c){_0x19b56a['rzkFX']('jDjsC',_0x19b56a[_0x1467(0x70)])?(_0x19b56a[_0x1467(0x2a)](_0x176499,![]),_0x19b56a['vFzBt'](_0x4f1c78,_0x19b56a[_0x1467(0x71)])):(console[_0x1467(0x58)](_0x19b56a['HTaQo'],_0x39cd7c),_0x19b56a[_0x1467(0x52)](_0x4a6fc4,_0x19b56a['HNeLM']),_0x19b56a['GnoFW'](_0x4a2861,![]),triggerHaptic(HapticType['ERROR']),Alert[_0x1467(0x3d)](_0x19b56a[_0x1467(0x72)],_0x19b56a[_0x1467(0x73)],[{'text':'OK'}]));}}},_0x3d6fae=()=>{_0x19b56a['UhEFJ'](_0x19b56a[_0x1467(0x74)],_0x19b56a[_0x1467(0x75)])?(_0x51e2f4[_0x1467(0x58)](_0x1467(0x19),_0x572d0e),_0x19b56a[_0x1467(0x76)](_0x2df547,![]),_0x51b9d8(_0x19b56a[_0x1467(0x49)])):(_0x19b56a[_0x1467(0x6f)](triggerHaptic,HapticType['BUTTON_PRESS']),_0x19b56a[_0x1467(0x77)](_0x5307c4));};_0x19b56a[_0x1467(0x78)](useEffect,()=>{const _0x209b62={'KcRNi':function(_0x2c206e,_0x5d1143){return _0x19b56a[_0x1467(0x79)](_0x2c206e,_0x5d1143);},'IdcgS':function(_0x4e0d09){return _0x19b56a[_0x1467(0x7a)](_0x4e0d09);},'yICkP':_0x19b56a[_0x1467(0x7b)],'jWcEo':_0x19b56a[_0x1467(0x72)],'KDKJD':'There\x20was\x20an\x20issue\x20creating\x20your\x20PIN.\x20Please\x20try\x20again.','swRuw':function(_0x45152e,_0x4b14bf){return _0x45152e(_0x4b14bf);},'xKdUh':_0x19b56a['HTaQo'],'UaBKt':_0x19b56a[_0x1467(0x36)],'RpNRI':function(_0x3fe63b,_0x381064){return _0x19b56a[_0x1467(0x3a)](_0x3fe63b,_0x381064);},'ojBFW':_0x19b56a[_0x1467(0x7c)],'KXpLC':_0x1467(0x7d),'pHtIh':function(_0x30fcc8,_0x3f3827){return _0x30fcc8!==_0x3f3827;},'jKAlm':_0x1467(0x7e),'gScbU':function(_0x15871b,_0x5e41e8){return _0x15871b(_0x5e41e8);},'kSfmZ':_0x19b56a[_0x1467(0x7f)],'AtNKM':_0x19b56a[_0x1467(0x71)],'ISrDS':_0x19b56a[_0x1467(0x49)],'zVWSZ':_0x19b56a[_0x1467(0x80)],'QJIto':_0x19b56a[_0x1467(0x81)],'QYqdO':function(_0x2f66f3,_0x2e5f8d){return _0x2f66f3(_0x2e5f8d);}},_0x3c9d3c=async()=>{if(_0x209b62[_0x1467(0x82)](_0x209b62[_0x1467(0x83)],_0x209b62[_0x1467(0x84)]))try{if(_0x209b62['pHtIh'](_0x209b62['jKAlm'],_0x1467(0x85))){_0x209b62[_0x1467(0x86)](_0x4a6fc4,_0x209b62[_0x1467(0x87)]);const _0x4968e9=await biometricPinService[_0x1467(0x45)]();_0x209b62[_0x1467(0x86)](_0x477ee2,_0x4968e9),_0x209b62[_0x1467(0x88)](_0x4a6fc4,_0x4968e9?_0x209b62[_0x1467(0x89)]:_0x209b62[_0x1467(0x8a)]),console['log'](_0x209b62[_0x1467(0x8b)],_0x4968e9);}else _0x209b62['KcRNi'](_0x1d091b,_0x3f4806[_0x1467(0x8c)]),_0x209b62['IdcgS'](_0x47500e);}catch(_0x57600a){console[_0x1467(0x58)](_0x209b62[_0x1467(0x8d)],_0x57600a),_0x209b62[_0x1467(0x8e)](_0x477ee2,![]),_0x209b62['QYqdO'](_0x4a6fc4,_0x209b62[_0x1467(0x8a)]);}else{const _0x50c4c2=_0x209b62[_0x1467(0x8f)][_0x1467(0x54)]('|');let _0x539fcd=0x0;while(!![]){switch(_0x50c4c2[_0x539fcd++]){case'0':Alert[_0x1467(0x3d)](_0x209b62[_0x1467(0x90)],_0x209b62[_0x1467(0x91)],[{'text':'OK'}]);continue;case'1':_0x209b62['swRuw'](_0x213051,![]);continue;case'2':_0x3c14ce[_0x1467(0x58)](_0x209b62[_0x1467(0x92)],_0x341312);continue;case'3':_0x51f7d6(_0x209b62['UaBKt']);continue;case'4':_0xd087fa(_0xda80ce['ERROR']);continue;}break;}}};_0x24571d&&_0x3c9d3c();},[_0x24571d]);const _0x3b666e=Object[_0x1467(0x93)](_0x3adbe5)[_0x1467(0x31)](_0x301390=>_0x301390);if(!_0x24571d)return null;return React[_0x1467(0x94)](View,{'style':styles[_0x1467(0x95)]},React['createElement'](View,{'style':styles['titleContainer']},React[_0x1467(0x94)](Text,{'style':styles[_0x1467(0x96)]},_0x19b56a[_0x1467(0x97)]),React['createElement'](Text,{'style':styles[_0x1467(0x98)]},_0x19b56a[_0x1467(0x99)])),React[_0x1467(0x94)](View,{'style':styles[_0x1467(0x9a)]},React[_0x1467(0x94)](TextInput,{'style':styles[_0x1467(0x9b)],'value':_0x3dacb9,'onChangeText':_0x3d43c4,'placeholder':_0x19b56a[_0x1467(0x9c)],'secureTextEntry':!![],'autoFocus':!![],'maxLength':0x14})),React['createElement'](View,{'style':styles['requirementsContainer']},React[_0x1467(0x94)](Text,{'style':styles['requirementsTitle']},_0x19b56a[_0x1467(0x9d)]),React[_0x1467(0x94)](View,{'style':styles[_0x1467(0x9e)]},React[_0x1467(0x94)](View,{'style':[styles[_0x1467(0x9f)],_0x3adbe5[_0x1467(0x2f)]&&styles['checkboxChecked']]},_0x3adbe5[_0x1467(0x2f)]&&React[_0x1467(0x94)](Text,{'style':styles[_0x1467(0xa0)]},'✓')),React['createElement'](Text,{'style':[styles[_0x1467(0xa1)],_0x3adbe5['length']&&styles[_0x1467(0xa2)]]},_0x19b56a[_0x1467(0xa3)])),React[_0x1467(0x94)](View,{'style':styles[_0x1467(0x9e)]},React[_0x1467(0x94)](View,{'style':[styles[_0x1467(0x9f)],_0x3adbe5[_0x1467(0xa4)]&&styles['checkboxChecked']]},_0x3adbe5[_0x1467(0xa4)]&&React['createElement'](Text,{'style':styles[_0x1467(0xa0)]},'✓')),React['createElement'](Text,{'style':[styles[_0x1467(0xa1)],_0x3adbe5[_0x1467(0xa4)]&&styles['requirementTextMet']]},_0x1467(0xa5))),React[_0x1467(0x94)](View,{'style':styles[_0x1467(0x9e)]},React[_0x1467(0x94)](View,{'style':[styles['checkbox'],_0x3adbe5[_0x1467(0xa6)]&&styles[_0x1467(0xa7)]]},_0x3adbe5[_0x1467(0xa6)]&&React['createElement'](Text,{'style':styles[_0x1467(0xa0)]},'✓')),React[_0x1467(0x94)](Text,{'style':[styles[_0x1467(0xa1)],_0x3adbe5[_0x1467(0xa6)]&&styles[_0x1467(0xa2)]]},_0x19b56a['VKQmc'])),React[_0x1467(0x94)](View,{'style':styles[_0x1467(0x9e)]},React[_0x1467(0x94)](View,{'style':[styles[_0x1467(0x9f)],_0x3adbe5[_0x1467(0xa8)]&&styles[_0x1467(0xa7)]]},_0x3adbe5[_0x1467(0xa8)]&&React[_0x1467(0x94)](Text,{'style':styles['checkmark']},'✓')),React[_0x1467(0x94)](Text,{'style':[styles[_0x1467(0xa1)],_0x3adbe5['symbol']&&styles['requirementTextMet']]},_0x19b56a[_0x1467(0xa9)]))),React[_0x1467(0x94)](View,{'style':[styles[_0x1467(0xaa)],_0x19b56a[_0x1467(0xab)](_0x229040,_0x19b56a[_0x1467(0x4b)])&&styles[_0x1467(0xac)],_0x19b56a['figrD'](_0x229040,_0x19b56a[_0x1467(0x36)])&&styles[_0x1467(0xad)]]},React[_0x1467(0x94)](View,{'style':styles[_0x1467(0xae)]},_0x229040===_0x19b56a[_0x1467(0x7f)]&&React[_0x1467(0x94)](ActivityIndicator,{'size':_0x19b56a[_0x1467(0xaf)],'color':COLORS[_0x1467(0xb0)]}),_0x19b56a[_0x1467(0xb1)](_0x229040,_0x19b56a[_0x1467(0x42)])&&React[_0x1467(0x94)](ActivityIndicator,{'size':_0x1467(0x20),'color':_0x19b56a[_0x1467(0xb2)]}),_0x19b56a['figrD'](_0x229040,_0x1467(0xb3))&&React[_0x1467(0x94)](Text,{'style':styles['securityIcon']},'🔐'),_0x19b56a[_0x1467(0xb1)](_0x229040,_0x19b56a[_0x1467(0x49)])&&React['createElement'](Text,{'style':styles[_0x1467(0xb4)]},'⚠️'),_0x229040===_0x19b56a[_0x1467(0x4b)]&&React[_0x1467(0x94)](Text,{'style':styles[_0x1467(0xb4)]},'✅'),_0x19b56a[_0x1467(0xb5)](_0x229040,_0x19b56a[_0x1467(0x36)])&&React[_0x1467(0x94)](Text,{'style':styles[_0x1467(0xb4)]},'❌')),React[_0x1467(0x94)](View,{'style':styles[_0x1467(0xb6)]},React['createElement'](Text,{'style':styles[_0x1467(0xb7)]},_0x19b56a[_0x1467(0xb8)](_0x229040,_0x1467(0x18))&&_0x1467(0xb9),_0x229040===_0x19b56a['EndOp']&&_0x19b56a['sAnVw'],_0x19b56a[_0x1467(0xba)](_0x229040,_0x19b56a[_0x1467(0x49)])&&_0x1467(0xbb),_0x19b56a['fXpky'](_0x229040,_0x19b56a[_0x1467(0x42)])&&_0x19b56a[_0x1467(0xbc)],_0x229040===_0x19b56a['PWbbT']&&_0x19b56a['mxUKC'],_0x19b56a[_0x1467(0xbd)](_0x229040,_0x19b56a[_0x1467(0x36)])&&_0x19b56a[_0x1467(0xbe)]),React[_0x1467(0x94)](Text,{'style':styles[_0x1467(0xbf)]},_0x19b56a[_0x1467(0xc0)](_0x229040,_0x19b56a[_0x1467(0x7f)])&&_0x19b56a[_0x1467(0xc1)],_0x19b56a[_0x1467(0xc2)](_0x229040,_0x19b56a[_0x1467(0x71)])&&_0x1467(0xc3),_0x19b56a[_0x1467(0xc4)](_0x229040,'unavailable')&&_0x19b56a['xAwTC'],_0x19b56a[_0x1467(0xc2)](_0x229040,_0x19b56a['wPudC'])&&_0x19b56a[_0x1467(0xc5)],_0x19b56a['pIZys'](_0x229040,_0x19b56a[_0x1467(0x4b)])&&_0x19b56a[_0x1467(0xc6)],_0x19b56a[_0x1467(0xc7)](_0x229040,_0x19b56a[_0x1467(0x36)])&&_0x19b56a[_0x1467(0xc8)]))),React[_0x1467(0x94)](View,{'style':styles[_0x1467(0xc9)]},React[_0x1467(0x94)](TouchableOpacity,{'style':[styles[_0x1467(0xca)],_0x3b666e&&styles[_0x1467(0xcb)]],'onPress':_0x2f28f2,'disabled':_0x19b56a[_0x1467(0xcc)](!_0x3b666e,_0x34bf66)},_0x34bf66?React['createElement'](ActivityIndicator,{'size':_0x19b56a[_0x1467(0xaf)],'color':_0x19b56a['jeaVA']}):React[_0x1467(0x94)](Text,{'style':[styles[_0x1467(0xcd)],_0x3b666e&&styles[_0x1467(0xce)]]},_0x19b56a[_0x1467(0xcf)]))));},styles=StyleSheet[_0x1467(0xd0)]({'container':{'flex':0x1,'backgroundColor':COLORS['surface'],'paddingHorizontal':0x18,'paddingTop':0x28},'titleContainer':{'alignItems':_0x1467(0xd1),'marginBottom':0x18,'paddingTop':0x0,'marginTop':0x0},'title':{'fontSize':0x18,'fontWeight':_0x1467(0xd2),'color':COLORS[_0x1467(0xd3)],'marginBottom':0x8,'fontFamily':_0x1467(0xd4)},'subtitle':{'fontSize':0x10,'color':COLORS[_0x1467(0xb0)],'lineHeight':0x18,'fontFamily':_0x1467(0xd5)},'pinContainer':{'marginBottom':0x20},'pinInput':{'backgroundColor':_0x1467(0xd6),'borderRadius':0xc,'paddingVertical':0x10,'paddingHorizontal':0x10,'fontSize':0x10,'fontFamily':_0x1467(0xd5),'borderWidth':0x1,'borderColor':'#E5E5E5'},'requirementsContainer':{'marginBottom':0x20},'requirementsTitle':{'fontSize':0x10,'fontWeight':'600','color':COLORS[_0x1467(0xd3)],'marginBottom':0x10,'fontFamily':_0x1467(0xd5)},'requirementItem':{'flexDirection':_0x1467(0xd7),'alignItems':'center','marginBottom':0xc},'checkbox':{'width':0x14,'height':0x14,'borderRadius':0xa,'borderWidth':0x2,'borderColor':'#E5E5E5','marginRight':0xc,'alignItems':_0x1467(0xd1),'justifyContent':_0x1467(0xd1)},'checkboxChecked':{'borderColor':'#4CD964','backgroundColor':_0x1467(0xd8)},'checkmark':{'color':_0x1467(0xd9),'fontSize':0xc,'fontWeight':_0x1467(0xda)},'requirementText':{'fontSize':0xe,'color':COLORS[_0x1467(0xb0)],'fontFamily':'Inter','flex':0x1},'requirementTextMet':{'color':COLORS[_0x1467(0xd3)]},'securityCard':{'backgroundColor':_0x1467(0xd6),'borderRadius':0xc,'padding':0x10,'flexDirection':'row','alignItems':_0x1467(0xd1),'marginBottom':0x18,'borderWidth':0x1,'borderColor':'#E5E5E5'},'securityCardSuccess':{'backgroundColor':_0x1467(0xdb),'borderColor':_0x1467(0xdc)},'securityCardError':{'backgroundColor':_0x1467(0xdd),'borderColor':_0x1467(0xde)},'securityIconContainer':{'marginRight':0xc},'securityIcon':{'fontSize':0x18},'securityTextContainer':{'flex':0x1},'securityTitle':{'fontSize':0xe,'fontWeight':_0x1467(0xdf),'color':COLORS[_0x1467(0xd3)],'marginBottom':0x4,'fontFamily':'Inter'},'securityDescription':{'fontSize':0xd,'color':COLORS['grey600'],'lineHeight':0x12,'fontFamily':'Inter'},'buttonContainer':{'marginTop':'auto','paddingBottom':0x22},'continueButton':{'backgroundColor':'#E5E5E5','borderRadius':0x19,'paddingVertical':0x10,'alignItems':'center','justifyContent':_0x1467(0xd1)},'continueButtonActive':{'backgroundColor':'#2D3436'},'continueButtonText':{'fontSize':0x10,'fontWeight':_0x1467(0xdf),'color':_0x1467(0xe0),'fontFamily':_0x1467(0xd5)},'continueButtonTextActive':{'color':_0x1467(0xd9)}});export{PinCreationScreen};export default PinCreationScreen;
|