@onairos/react-native 3.6.9 → 3.7.1
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/README.md +423 -423
- package/lib/commonjs/api/index.js +1 -1
- package/lib/commonjs/assets/icons/netflix.png +0 -0
- package/lib/commonjs/assets/images/Checkbox.svg +3 -3
- package/lib/commonjs/assets/images/EnochE.svg +19 -19
- package/lib/commonjs/assets/images/Personalityprofile.svg +3 -3
- package/lib/commonjs/assets/images/Personalitytraits.svg +3 -3
- package/lib/commonjs/assets/images/Userpreferences.svg +3 -3
- package/lib/commonjs/assets/images/arrow.svg +20 -20
- package/lib/commonjs/assets/images/basicproficon.svg +43 -43
- package/lib/commonjs/assets/images/basicprofile.svg +3 -3
- package/lib/commonjs/assets/images/checkmark.svg +4 -4
- package/lib/commonjs/assets/images/contentanalysis.svg +3 -3
- package/lib/commonjs/assets/images/contenticon.svg +23 -23
- package/lib/commonjs/assets/images/netflix.png +0 -0
- package/lib/commonjs/assets/images/personalityicon.svg +18 -18
- package/lib/commonjs/assets/images/x-close.svg +3 -3
- 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/SDK_API_KEY_VALIDATION.md +421 -421
- package/lib/commonjs/services/apiClient.js +1 -1
- package/lib/commonjs/services/apiKeyService.js +99 -99
- package/lib/commonjs/services/authService.js +72 -72
- 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/netflixDataExtractor.js +8 -0
- package/lib/commonjs/services/netflixDataService.js +9 -0
- package/lib/commonjs/services/oauthService.js +20 -20
- 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/spotifyDataExtractor.js +8 -0
- package/lib/commonjs/services/spotifyDataService.js +9 -0
- 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 +3 -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 +4 -2
- package/lib/commonjs/utils/webviewScripts/instagram.js +1 -1
- package/lib/commonjs/utils/webviewScripts/linkedin.js +1 -1
- package/lib/commonjs/utils/webviewScripts/netflix.js +1 -0
- package/lib/commonjs/utils/webviewScripts/sephora.js +1 -1
- package/lib/commonjs/utils/webviewScripts/spotify.js +1 -0
- package/lib/commonjs/utils/webviewScripts/telegram.js +1 -1
- package/lib/module/api/index.js +1 -1
- package/lib/module/assets/icons/netflix.png +0 -0
- package/lib/module/assets/images/Checkbox.svg +3 -3
- package/lib/module/assets/images/EnochE.svg +19 -19
- package/lib/module/assets/images/Personalityprofile.svg +3 -3
- package/lib/module/assets/images/Personalitytraits.svg +3 -3
- package/lib/module/assets/images/Userpreferences.svg +3 -3
- package/lib/module/assets/images/arrow.svg +20 -20
- package/lib/module/assets/images/basicproficon.svg +43 -43
- package/lib/module/assets/images/basicprofile.svg +3 -3
- package/lib/module/assets/images/checkmark.svg +4 -4
- package/lib/module/assets/images/contentanalysis.svg +3 -3
- package/lib/module/assets/images/contenticon.svg +23 -23
- package/lib/module/assets/images/netflix.png +0 -0
- package/lib/module/assets/images/personalityicon.svg +18 -18
- package/lib/module/assets/images/x-close.svg +3 -3
- 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/SDK_API_KEY_VALIDATION.md +421 -421
- package/lib/module/services/apiClient.js +1 -1
- package/lib/module/services/apiKeyService.js +99 -99
- package/lib/module/services/authService.js +72 -72
- 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/netflixDataExtractor.js +1 -0
- package/lib/module/services/netflixDataService.js +1 -0
- package/lib/module/services/oauthService.js +20 -20
- 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/spotifyDataExtractor.js +1 -0
- package/lib/module/services/spotifyDataService.js +1 -0
- 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 +3 -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/netflix.js +1 -0
- package/lib/module/utils/webviewScripts/sephora.js +1 -1
- package/lib/module/utils/webviewScripts/spotify.js +1 -0
- package/lib/module/utils/webviewScripts/telegram.js +1 -1
- package/package.json +172 -172
- package/lib/commonjs/config/PLATFORM_APIS.md +0 -559
- package/lib/commonjs/config/telegramConfig.js +0 -8
- package/lib/commonjs/config/webchangelog/md +0 -607
- package/lib/module/config/PLATFORM_APIS.md +0 -559
- package/lib/module/config/telegramConfig.js +0 -8
- package/lib/module/config/webchangelog/md +0 -607
|
@@ -1 +1 @@
|
|
|
1
|
-
import React,{useState,useEffect}from'react';import{View,Text,StyleSheet,TouchableOpacity,TextInput,Alert,ActivityIndicator}from'react-native';function _0x45e3(_0xccf9f7,_0x45e35d){_0xccf9f7=_0xccf9f7-0x0;const _0x2abc4c=_0xccf9();let _0x10f2f3=_0x2abc4c[_0xccf9f7];return _0x10f2f3;}import{COLORS}from'../theme';import{triggerHaptic,HapticType}from'../utils/haptics';function _0xccf9(){const _0x349c31=['available','MRWZP','YMUpf','Invalid\x20PIN','Please\x20ensure\x20your\x20PIN\x20meets\x20all\x20requirements.','🔐\x20Starting\x20PIN\x20creation\x20process...','storing','📱\x20[PIN\x20CREATION]\x20Biometric\x20available\x20before\x20storage:','❌\x20[PIN\x20CREATION]\x20Face\x20ID\x20not\x20available\x20on\x20this\x20device','🔐\x20[PIN\x20CREATION]\x20Triggering\x20biometric\x20authentication\x20for\x20PIN\x20storage...','✅\x20PIN\x20stored\x20successfully\x20with\x20Face\x20ID','YkTKo','error','Face\x20ID\x20authentication\x20was\x20cancelled\x20or\x20failed.\x20Your\x20PIN\x20is\x20still\x20saved\x20securely.','Continue\x20Without\x20Face\x20ID','❌\x20Error\x20in\x20PIN\x20creation\x20process:','There\x20was\x20an\x20issue\x20creating\x20your\x20PIN.\x20Please\x20try\x20again.','JkWHk','checking','A\x20PIN\x20so\x20only\x20you\x20have\x20access\x20to\x20your\x20data.','Be\x20at\x20least\x208\x20characters\x20in\x20length.','Contain\x20an\x20uppercase\x20letter.','Contain\x20a\x20symbol\x20(e.g.\x20!@#$%^&*).','#D4A536','Checking\x20Face\x20ID...','Enhanced\x20Security','PIN\x20Secured\x20with\x20Face\x20ID','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.','Your\x20PIN\x20is\x20now\x20protected\x20with\x20Face\x20ID\x20authentication.','Continue','lqILK','SEIML','iFGAc','length','test','jMIpg','values','every','Omisx','ppoyE','lwTFG','nABEZ','eAzxz','bhOjA','IGkjn','alert','zdJwV','BUTTON_PRESS','log','yiIpZ','📝\x20PIN\x20stored\x20temporarily\x20for\x20onboarding','QNoBW','sgtVB','isBiometricAvailable','XDwFw','hzQeP','LxSvW','storePinWithBiometric','lYqHn','isPinStored','mKgzx','LtyAd','SUCCESS','AxybF','ZqenW','mjTfy','gzeEO','LSshz','szmjg','❌\x20PIN\x20storage\x20verification\x20failed','hcKmJ','hhVdt','ERROR','PIN\x20Storage\x20Error','PIN\x20storage\x20verification\x20failed.\x20Please\x20try\x20again.','zWWBO','RjDGn','DYIOp','Try\x20Again','taBRM','SrYRZ','ANHqs','COSHh','XiGjt','yhVNN','iacbv','WhWmp','ElGmA','unavailable','📱\x20Biometric\x20availability\x20check:','wjuLy','RvXvz','lEJml','qDuCB','wtbWX','LkeEP','TqoCY','createElement','container','titleContainer','title','Create\x20a\x20PIN','MqNQm','pinContainer','pinInput','UgGlO','GROFq','requirementItem','checkbox','checkmark','requirementText','requirementTextMet','QBRHi','uppercase','number','Contain\x20a\x20number.','symbol','checkboxChecked','securityCard','securityCardSuccess','securityCardError','securityIconContainer','zqdbi','small','grey600','ZBzBI','nHHFA','WYdMM','securityIcon','NzqVm','securityTextContainer','securityTitle','WoxZo','OIWYF','bkUsv','EZPSd','UgImM','zRHME','AwukW','fXMnX','bAtBy','WfPoy','lTKnF','rpTsa','UiyvR','CTgyN','rsOZs','buttonContainer','continueButton','continueButtonActive','BtTYB','VxkKe','create','surface','700','grey800','IBM\x20Plex\x20Sans','Inter','#F8F9FA','600','row','center','#E5E5E5','#4CD964','#FFFFFF','bold','#F0FDF4','#22C55E','#FEF2F2','auto','#999999'];_0xccf9=function(){return _0x349c31;};return _0xccf9();}import{biometricPinService}from'../services/biometricPinService';import{setTemporaryPin}from'../services/pinStorageUtils';const PinCreationScreen=({visible:_0x37739e,onComplete:_0x4f09e6,onBack:_0x33d5a0})=>{const _0x2c687c={'iFGAc':function(_0x2fc180,_0x110098){return _0x2fc180>=_0x110098;},'jMIpg':function(_0x510639,_0x542a39){return _0x510639(_0x542a39);},'lwTFG':function(_0x805a05,_0x203c7b){return _0x805a05(_0x203c7b);},'nABEZ':function(_0x19580a,_0x427dc6){return _0x19580a(_0x427dc6);},'eAzxz':_0x45e3(0x0),'Omisx':function(_0x442e9d,_0x1c851f){return _0x442e9d===_0x1c851f;},'RMYgx':'ppoyE','LSshz':function(_0x40b127,_0x175c6c){return _0x40b127(_0x175c6c);},'LdhLp':function(_0x57ef3d,_0x5ad44a){return _0x57ef3d>=_0x5ad44a;},'ZqenW':function(_0x354dda,_0x9a8b78){return _0x354dda!==_0x9a8b78;},'mjTfy':_0x45e3(0x1),'SrYRZ':function(_0x348f6f,_0x2d1060){return _0x348f6f(_0x2d1060);},'zWWBO':function(_0x2f7ead,_0x15d886){return _0x2f7ead(_0x15d886);},'WEmJw':function(_0x22ebf1,_0x2380e3){return _0x22ebf1(_0x2380e3);},'YvLAK':function(_0x394746,_0x4941f3){return _0x394746(_0x4941f3);},'bhOjA':_0x45e3(0x2),'IGkjn':function(_0x50e401,_0x538255){return _0x50e401(_0x538255);},'TqoCY':_0x45e3(0x3),'zdJwV':_0x45e3(0x4),'yiIpZ':_0x45e3(0x5),'QNoBW':function(_0x2274b9,_0x328497){return _0x2274b9(_0x328497);},'zRHME':_0x45e3(0x6),'sgtVB':'🔐\x20[PIN\x20CREATION]\x20Biometric\x20storage\x20enabled,\x20starting\x20biometric\x20flow...','XDwFw':_0x45e3(0x7),'FKcKA':_0x45e3(0x8),'hzQeP':'unavailable','SEIML':function(_0x597ff1,_0xfdf7ac){return _0x597ff1(_0xfdf7ac);},'LxSvW':_0x45e3(0x9),'lYqHn':_0x45e3(0xa),'pGMJF':_0x45e3(0xb),'mKgzx':'success','LtyAd':function(_0x270536,_0x2433fa){return _0x270536(_0x2433fa);},'AxybF':function(_0x4860ed,_0x7e2d51,_0x1759e5){return _0x4860ed(_0x7e2d51,_0x1759e5);},'hcKmJ':function(_0x4e5221,_0x10e3e0){return _0x4e5221(_0x10e3e0);},'XiGjt':_0x45e3(0xc),'hhVdt':function(_0x34b71d,_0x28ffc3){return _0x34b71d(_0x28ffc3);},'UybJb':function(_0x45a94e,_0x58b887){return _0x45a94e(_0x58b887);},'RjDGn':'Face\x20ID\x20Setup','DYIOp':_0x45e3(0xd),'sDtJY':_0x45e3(0xe),'ANHqs':'📱\x20Biometric\x20not\x20available,\x20continuing\x20without\x20Face\x20ID','ZfmLQ':function(_0x2d90f6,_0x417e73){return _0x2d90f6(_0x417e73);},'COSHh':_0x45e3(0xf),'yhVNN':function(_0x3a624d,_0x5b23ce){return _0x3a624d(_0x5b23ce);},'iacbv':_0x45e3(0x10),'WhWmp':function(_0x594411,_0x16d746){return _0x594411(_0x16d746);},'LkeEP':function(_0x39e08c){return _0x39e08c();},'ElGmA':function(_0x208e2c,_0x2d3330){return _0x208e2c(_0x2d3330);},'KeslB':function(_0x49cacf,_0x4b8b6f){return _0x49cacf(_0x4b8b6f);},'UgImM':function(_0x4abe71,_0x21b87e){return _0x4abe71===_0x21b87e;},'wjuLy':_0x45e3(0x11),'RvXvz':'FPPRB','fgmcn':function(_0x18705d,_0x5f2199){return _0x18705d(_0x5f2199);},'wtbWX':'MGBjQ','lqILK':function(_0x7bb7f9,_0x129460){return _0x7bb7f9(_0x129460);},'zqdbi':_0x45e3(0x12),'MqNQm':_0x45e3(0x13),'UgGlO':'Enter\x20your\x20PIN','GROFq':'Your\x20PIN\x20must:','QBRHi':_0x45e3(0x14),'mYzfW':_0x45e3(0x15),'WSZPp':_0x45e3(0x16),'ZBzBI':function(_0x460c55,_0x1dcdb0){return _0x460c55===_0x1dcdb0;},'nHHFA':'small','WYdMM':_0x45e3(0x17),'NzqVm':function(_0x48c159,_0x4b7a75){return _0x48c159===_0x4b7a75;},'WoxZo':_0x45e3(0x18),'OIWYF':_0x45e3(0x19),'bkUsv':function(_0x52c440,_0x62a13b){return _0x52c440===_0x62a13b;},'EZPSd':'Face\x20ID\x20Unavailable','AwukW':'Securing\x20with\x20Face\x20ID...','fXMnX':function(_0x4a54fc,_0x59315e){return _0x4a54fc===_0x59315e;},'bAtBy':_0x45e3(0x1a),'WfPoy':'Face\x20ID\x20Setup\x20Failed','lTKnF':_0x45e3(0x1b),'rpTsa':_0x45e3(0x1c),'sBdpi':_0x45e3(0x1d),'UiyvR':_0x45e3(0x1e),'CTgyN':function(_0x30405d,_0x55f62f){return _0x30405d===_0x55f62f;},'rsOZs':'Face\x20ID\x20setup\x20failed,\x20but\x20your\x20PIN\x20is\x20stored\x20securely.','BtTYB':function(_0x4bdeb6,_0x4c1ce5){return _0x4bdeb6||_0x4c1ce5;},'VxkKe':'#FFFFFF','DSTBd':_0x45e3(0x1f)},[_0x4db3b7,_0x1e7acf]=_0x2c687c[_0x45e3(0x20)](useState,''),[_0x2e8e51,_0x23e750]=_0x2c687c['LtyAd'](useState,{'length':![],'uppercase':![],'number':![],'symbol':![]}),[_0x4db090,_0x28b3e9]=_0x2c687c[_0x45e3(0x21)](useState,![]),[_0x1f871f,_0x4e8299]=useState(![]),[_0x311807,_0x5af98b]=useState(_0x2c687c['zqdbi']),_0x428dc7=_0x55bc7a=>{const _0x103947={'length':_0x2c687c[_0x45e3(0x22)](_0x55bc7a[_0x45e3(0x23)],0x8),'uppercase':/[A-Z]/['test'](_0x55bc7a),'number':/[0-9]/[_0x45e3(0x24)](_0x55bc7a),'symbol':/[!@#$%^&*(),.?":{}|<>]/[_0x45e3(0x24)](_0x55bc7a)};return _0x2c687c[_0x45e3(0x25)](_0x23e750,_0x103947),Object[_0x45e3(0x26)](_0x103947)[_0x45e3(0x27)](_0x32ec2c=>_0x32ec2c);},_0x55f67c=_0x304223=>{_0x2c687c[_0x45e3(0x28)](_0x2c687c['RMYgx'],_0x45e3(0x29))?(_0x2c687c['LSshz'](_0x1e7acf,_0x304223),_0x428dc7(_0x304223)):(_0x2c687c[_0x45e3(0x2a)](_0x1e09df,![]),_0x2c687c[_0x45e3(0x2b)](_0x422a69,_0x2c687c['eAzxz']));},_0x159298=async()=>{const _0x2c784e={'szmjg':function(_0x4cda66,_0x1c0dce){return _0x2c687c['WEmJw'](_0x4cda66,_0x1c0dce);},'TGYAa':function(_0x2544ea,_0x88bb13){return _0x2c687c['YvLAK'](_0x2544ea,_0x88bb13);},'taBRM':_0x2c687c[_0x45e3(0x2c)]};if(_0x2c687c[_0x45e3(0x28)](_0x2c687c[_0x45e3(0x2d)],_0x2c687c[_0x45e3(0x2d)])){if(!_0x2c687c[_0x45e3(0x2a)](_0x428dc7,_0x4db3b7)){_0x2c687c[_0x45e3(0x2e)](triggerHaptic,HapticType['ERROR']),Alert[_0x45e3(0x2f)](_0x2c687c['TqoCY'],_0x2c687c[_0x45e3(0x30)]);return;}_0x2c687c[_0x45e3(0x2a)](triggerHaptic,HapticType[_0x45e3(0x31)]),_0x2c687c['zWWBO'](_0x28b3e9,!![]);try{console[_0x45e3(0x32)](_0x2c687c[_0x45e3(0x33)]),_0x2c687c['jMIpg'](setTemporaryPin,_0x4db3b7),console[_0x45e3(0x32)](_0x45e3(0x34));if(_0x1f871f){_0x2c687c[_0x45e3(0x35)](_0x5af98b,_0x2c687c['zRHME']),console[_0x45e3(0x32)](_0x2c687c[_0x45e3(0x36)]);const _0x102e7c=await biometricPinService[_0x45e3(0x37)]();console[_0x45e3(0x32)](_0x2c687c[_0x45e3(0x38)],_0x102e7c);if(!_0x102e7c){console['error'](_0x2c687c['FKcKA']),_0x2c687c['SrYRZ'](_0x5af98b,_0x2c687c[_0x45e3(0x39)]),_0x2c687c[_0x45e3(0x21)](_0x28b3e9,![]);return;}console[_0x45e3(0x32)](_0x2c687c[_0x45e3(0x3a)]);const _0x3444b3=await biometricPinService[_0x45e3(0x3b)](_0x4db3b7);if(_0x3444b3){console[_0x45e3(0x32)](_0x2c687c[_0x45e3(0x3c)]);const _0x30f1d7=await biometricPinService[_0x45e3(0x3d)]();_0x30f1d7?_0x2c687c[_0x45e3(0x28)](_0x2c687c['pGMJF'],'YkTKo')?(console[_0x45e3(0x32)]('✅\x20PIN\x20storage\x20verified\x20-\x20proceeding\x20with\x20onboarding'),_0x5af98b(_0x2c687c[_0x45e3(0x3e)]),_0x2c687c[_0x45e3(0x3f)](triggerHaptic,HapticType[_0x45e3(0x40)]),_0x2c687c[_0x45e3(0x41)](setTimeout,()=>{const _0x93c42={'SYkqy':function(_0x1acd63,_0x5183ba){return _0x2c687c['LdhLp'](_0x1acd63,_0x5183ba);},'gzeEO':function(_0x552b82,_0x41b860){return _0x2c687c[_0x45e3(0x2b)](_0x552b82,_0x41b860);}};if(_0x2c687c[_0x45e3(0x42)](_0x2c687c[_0x45e3(0x43)],_0x2c687c[_0x45e3(0x43)])){const _0x4f7301={'length':_0x93c42['SYkqy'](_0x5ac1be[_0x45e3(0x23)],0x8),'uppercase':/[A-Z]/[_0x45e3(0x24)](_0x3786fd),'number':/[0-9]/['test'](_0x18af6e),'symbol':/[!@#$%^&*(),.?":{}|<>]/[_0x45e3(0x24)](_0x5a73c4)};return _0x93c42[_0x45e3(0x44)](_0xb0023e,_0x4f7301),_0x5a17a7[_0x45e3(0x26)](_0x4f7301)['every'](_0x2c085b=>_0x2c085b);}else _0x28b3e9(![]),_0x2c687c[_0x45e3(0x45)](_0x4f09e6,_0x4db3b7);},0x320)):(_0x2c784e[_0x45e3(0x46)](_0x246cca,![]),_0x2c784e[_0x45e3(0x46)](_0x2660ff,_0xcb70ca)):(console['error'](_0x45e3(0x47)),_0x2c687c[_0x45e3(0x48)](_0x5af98b,_0x2c687c['XiGjt']),_0x2c687c[_0x45e3(0x49)](_0x28b3e9,![]),_0x2c687c[_0x45e3(0x2a)](triggerHaptic,HapticType[_0x45e3(0x4a)]),Alert[_0x45e3(0x2f)](_0x45e3(0x4b),_0x45e3(0x4c),[{'text':'OK'}]));}else console['log']('⚠️\x20Face\x20ID\x20authentication\x20was\x20cancelled\x20or\x20failed'),_0x2c687c[_0x45e3(0x4d)](_0x5af98b,_0x2c687c['XiGjt']),_0x2c687c['UybJb'](triggerHaptic,HapticType[_0x45e3(0x4a)]),Alert[_0x45e3(0x2f)](_0x2c687c[_0x45e3(0x4e)],_0x2c687c[_0x45e3(0x4f)],[{'text':_0x45e3(0x50),'onPress':()=>{_0x2c784e['TGYAa'](_0x28b3e9,![]),_0x2c784e[_0x45e3(0x46)](_0x5af98b,_0x2c784e[_0x45e3(0x51)]);}},{'text':_0x2c687c['sDtJY'],'onPress':()=>{_0x2c687c[_0x45e3(0x25)](_0x28b3e9,![]),_0x2c687c[_0x45e3(0x52)](_0x4f09e6,_0x4db3b7);}}]);}else console[_0x45e3(0x32)](_0x2c687c[_0x45e3(0x53)]),_0x2c687c[_0x45e3(0x48)](_0x5af98b,_0x2c687c[_0x45e3(0x39)]),_0x2c687c[_0x45e3(0x25)](_0x28b3e9,![]),_0x2c687c['ZfmLQ'](_0x4f09e6,_0x4db3b7);}catch(_0x2a2593){console[_0x45e3(0xc)](_0x2c687c[_0x45e3(0x54)],_0x2a2593),_0x5af98b(_0x2c687c[_0x45e3(0x55)]),_0x2c687c[_0x45e3(0x56)](_0x28b3e9,![]),_0x2c687c[_0x45e3(0x45)](triggerHaptic,HapticType['ERROR']),Alert[_0x45e3(0x2f)]('PIN\x20Creation\x20Error',_0x2c687c[_0x45e3(0x57)],[{'text':'OK'}]);}}else _0x2c687c[_0x45e3(0x4d)](_0x3005bd,_0x4f2aa9[_0x45e3(0x31)]),_0x2554dc();},_0x4ed6c3=()=>{_0x2c687c[_0x45e3(0x58)](triggerHaptic,HapticType[_0x45e3(0x31)]),_0x2c687c['LkeEP'](_0x33d5a0);};useEffect(()=>{const _0x3e68a1={'lEJml':function(_0x1240aa,_0x332f78){return _0x2c687c['fgmcn'](_0x1240aa,_0x332f78);}},_0x56e915=async()=>{try{_0x2c687c[_0x45e3(0x59)](_0x5af98b,'checking');const _0x265413=await biometricPinService[_0x45e3(0x37)]();_0x2c687c['KeslB'](_0x4e8299,_0x265413),_0x2c687c[_0x45e3(0x58)](_0x5af98b,_0x265413?_0x2c687c[_0x45e3(0x2c)]:_0x45e3(0x5a)),console[_0x45e3(0x32)](_0x45e3(0x5b),_0x265413);}catch(_0x2e8e66){_0x2c687c['UgImM'](_0x2c687c[_0x45e3(0x5c)],_0x2c687c[_0x45e3(0x5d)])?(_0x45710d(_0x4fa30b),_0x3e68a1[_0x45e3(0x5e)](_0xeae755,_0x59c0b7)):(console[_0x45e3(0xc)]('❌\x20Error\x20checking\x20biometric\x20availability:',_0x2e8e66),_0x2c687c[_0x45e3(0x2e)](_0x4e8299,![]),_0x2c687c[_0x45e3(0x59)](_0x5af98b,_0x2c687c[_0x45e3(0x39)]));}};if(_0x37739e){if(_0x45e3(0x5f)!==_0x2c687c[_0x45e3(0x60)])_0x2c687c[_0x45e3(0x61)](_0x56e915);else{_0x2c687c[_0x45e3(0x56)](_0xe63dff,_0x5c66d5[_0x45e3(0x4a)]),Alert[_0x45e3(0x2f)](_0x2c687c[_0x45e3(0x62)],_0x2c687c['zdJwV']);return;}}},[_0x37739e]);const _0x22b6a1=Object[_0x45e3(0x26)](_0x2e8e51)['every'](_0x4c15f1=>_0x4c15f1);if(!_0x37739e)return null;return React[_0x45e3(0x63)](View,{'style':styles[_0x45e3(0x64)]},React[_0x45e3(0x63)](View,{'style':styles[_0x45e3(0x65)]},React['createElement'](Text,{'style':styles[_0x45e3(0x66)]},_0x45e3(0x67)),React[_0x45e3(0x63)](Text,{'style':styles['subtitle']},_0x2c687c[_0x45e3(0x68)])),React[_0x45e3(0x63)](View,{'style':styles[_0x45e3(0x69)]},React[_0x45e3(0x63)](TextInput,{'style':styles[_0x45e3(0x6a)],'value':_0x4db3b7,'onChangeText':_0x55f67c,'placeholder':_0x2c687c[_0x45e3(0x6b)],'secureTextEntry':!![],'autoFocus':!![],'maxLength':0x14})),React[_0x45e3(0x63)](View,{'style':styles['requirementsContainer']},React[_0x45e3(0x63)](Text,{'style':styles['requirementsTitle']},_0x2c687c[_0x45e3(0x6c)]),React['createElement'](View,{'style':styles[_0x45e3(0x6d)]},React[_0x45e3(0x63)](View,{'style':[styles[_0x45e3(0x6e)],_0x2e8e51[_0x45e3(0x23)]&&styles['checkboxChecked']]},_0x2e8e51[_0x45e3(0x23)]&&React[_0x45e3(0x63)](Text,{'style':styles[_0x45e3(0x6f)]},'✓')),React[_0x45e3(0x63)](Text,{'style':[styles[_0x45e3(0x70)],_0x2e8e51[_0x45e3(0x23)]&&styles[_0x45e3(0x71)]]},_0x2c687c[_0x45e3(0x72)])),React['createElement'](View,{'style':styles[_0x45e3(0x6d)]},React[_0x45e3(0x63)](View,{'style':[styles['checkbox'],_0x2e8e51[_0x45e3(0x73)]&&styles['checkboxChecked']]},_0x2e8e51[_0x45e3(0x73)]&&React[_0x45e3(0x63)](Text,{'style':styles['checkmark']},'✓')),React['createElement'](Text,{'style':[styles[_0x45e3(0x70)],_0x2e8e51[_0x45e3(0x73)]&&styles['requirementTextMet']]},_0x2c687c['mYzfW'])),React[_0x45e3(0x63)](View,{'style':styles[_0x45e3(0x6d)]},React[_0x45e3(0x63)](View,{'style':[styles[_0x45e3(0x6e)],_0x2e8e51[_0x45e3(0x74)]&&styles['checkboxChecked']]},_0x2e8e51['number']&&React[_0x45e3(0x63)](Text,{'style':styles[_0x45e3(0x6f)]},'✓')),React[_0x45e3(0x63)](Text,{'style':[styles['requirementText'],_0x2e8e51[_0x45e3(0x74)]&&styles['requirementTextMet']]},_0x45e3(0x75))),React[_0x45e3(0x63)](View,{'style':styles[_0x45e3(0x6d)]},React['createElement'](View,{'style':[styles['checkbox'],_0x2e8e51[_0x45e3(0x76)]&&styles[_0x45e3(0x77)]]},_0x2e8e51[_0x45e3(0x76)]&&React[_0x45e3(0x63)](Text,{'style':styles[_0x45e3(0x6f)]},'✓')),React['createElement'](Text,{'style':[styles[_0x45e3(0x70)],_0x2e8e51['symbol']&&styles[_0x45e3(0x71)]]},_0x2c687c['WSZPp']))),React[_0x45e3(0x63)](View,{'style':[styles[_0x45e3(0x78)],_0x2c687c['Omisx'](_0x311807,_0x2c687c[_0x45e3(0x3e)])&&styles[_0x45e3(0x79)],_0x2c687c[_0x45e3(0x28)](_0x311807,_0x2c687c['XiGjt'])&&styles[_0x45e3(0x7a)]]},React[_0x45e3(0x63)](View,{'style':styles[_0x45e3(0x7b)]},_0x311807===_0x2c687c[_0x45e3(0x7c)]&&React[_0x45e3(0x63)](ActivityIndicator,{'size':_0x45e3(0x7d),'color':COLORS[_0x45e3(0x7e)]}),_0x2c687c[_0x45e3(0x7f)](_0x311807,_0x2c687c['zRHME'])&&React[_0x45e3(0x63)](ActivityIndicator,{'size':_0x2c687c[_0x45e3(0x80)],'color':_0x2c687c[_0x45e3(0x81)]}),_0x311807==='available'&&React[_0x45e3(0x63)](Text,{'style':styles[_0x45e3(0x82)]},'🔐'),_0x311807===_0x2c687c[_0x45e3(0x39)]&&React[_0x45e3(0x63)](Text,{'style':styles[_0x45e3(0x82)]},'⚠️'),_0x2c687c[_0x45e3(0x83)](_0x311807,_0x2c687c['mKgzx'])&&React['createElement'](Text,{'style':styles[_0x45e3(0x82)]},'✅'),_0x2c687c[_0x45e3(0x7f)](_0x311807,_0x2c687c['XiGjt'])&&React[_0x45e3(0x63)](Text,{'style':styles['securityIcon']},'❌')),React[_0x45e3(0x63)](View,{'style':styles[_0x45e3(0x84)]},React[_0x45e3(0x63)](Text,{'style':styles[_0x45e3(0x85)]},_0x2c687c[_0x45e3(0x28)](_0x311807,_0x2c687c[_0x45e3(0x7c)])&&_0x2c687c[_0x45e3(0x86)],_0x2c687c['UgImM'](_0x311807,_0x2c687c['eAzxz'])&&_0x2c687c[_0x45e3(0x87)],_0x2c687c[_0x45e3(0x88)](_0x311807,_0x2c687c['hzQeP'])&&_0x2c687c[_0x45e3(0x89)],_0x2c687c[_0x45e3(0x8a)](_0x311807,_0x2c687c[_0x45e3(0x8b)])&&_0x2c687c[_0x45e3(0x8c)],_0x2c687c[_0x45e3(0x8d)](_0x311807,_0x2c687c['mKgzx'])&&_0x2c687c[_0x45e3(0x8e)],_0x2c687c[_0x45e3(0x8a)](_0x311807,_0x45e3(0xc))&&_0x2c687c[_0x45e3(0x8f)]),React[_0x45e3(0x63)](Text,{'style':styles['securityDescription']},_0x311807===_0x2c687c[_0x45e3(0x7c)]&&'Verifying\x20Face\x20ID\x20availability\x20on\x20your\x20device.',_0x2c687c['NzqVm'](_0x311807,_0x2c687c[_0x45e3(0x2c)])&&_0x2c687c[_0x45e3(0x90)],_0x2c687c[_0x45e3(0x83)](_0x311807,_0x2c687c[_0x45e3(0x39)])&&_0x2c687c[_0x45e3(0x91)],_0x2c687c[_0x45e3(0x88)](_0x311807,_0x45e3(0x6))&&_0x2c687c['sBdpi'],_0x2c687c[_0x45e3(0x83)](_0x311807,_0x2c687c[_0x45e3(0x3e)])&&_0x2c687c[_0x45e3(0x92)],_0x2c687c[_0x45e3(0x93)](_0x311807,_0x2c687c[_0x45e3(0x55)])&&_0x2c687c[_0x45e3(0x94)]))),React[_0x45e3(0x63)](View,{'style':styles[_0x45e3(0x95)]},React[_0x45e3(0x63)](TouchableOpacity,{'style':[styles[_0x45e3(0x96)],_0x22b6a1&&styles[_0x45e3(0x97)]],'onPress':_0x159298,'disabled':_0x2c687c[_0x45e3(0x98)](!_0x22b6a1,_0x4db090)},_0x4db090?React['createElement'](ActivityIndicator,{'size':_0x45e3(0x7d),'color':_0x2c687c[_0x45e3(0x99)]}):React[_0x45e3(0x63)](Text,{'style':[styles['continueButtonText'],_0x22b6a1&&styles['continueButtonTextActive']]},_0x2c687c['DSTBd']))));},styles=StyleSheet[_0x45e3(0x9a)]({'container':{'flex':0x1,'backgroundColor':COLORS[_0x45e3(0x9b)],'paddingHorizontal':0x18,'paddingTop':0x28},'titleContainer':{'alignItems':'center','marginBottom':0x18,'paddingTop':0x0,'marginTop':0x0},'title':{'fontSize':0x18,'fontWeight':_0x45e3(0x9c),'color':COLORS[_0x45e3(0x9d)],'marginBottom':0x8,'fontFamily':_0x45e3(0x9e)},'subtitle':{'fontSize':0x10,'color':COLORS[_0x45e3(0x7e)],'lineHeight':0x18,'fontFamily':_0x45e3(0x9f)},'pinContainer':{'marginBottom':0x20},'pinInput':{'backgroundColor':_0x45e3(0xa0),'borderRadius':0xc,'paddingVertical':0x10,'paddingHorizontal':0x10,'fontSize':0x10,'fontFamily':'Inter','borderWidth':0x1,'borderColor':'#E5E5E5'},'requirementsContainer':{'marginBottom':0x20},'requirementsTitle':{'fontSize':0x10,'fontWeight':_0x45e3(0xa1),'color':COLORS['grey800'],'marginBottom':0x10,'fontFamily':_0x45e3(0x9f)},'requirementItem':{'flexDirection':_0x45e3(0xa2),'alignItems':_0x45e3(0xa3),'marginBottom':0xc},'checkbox':{'width':0x14,'height':0x14,'borderRadius':0xa,'borderWidth':0x2,'borderColor':_0x45e3(0xa4),'marginRight':0xc,'alignItems':_0x45e3(0xa3),'justifyContent':'center'},'checkboxChecked':{'borderColor':_0x45e3(0xa5),'backgroundColor':_0x45e3(0xa5)},'checkmark':{'color':_0x45e3(0xa6),'fontSize':0xc,'fontWeight':_0x45e3(0xa7)},'requirementText':{'fontSize':0xe,'color':COLORS[_0x45e3(0x7e)],'fontFamily':_0x45e3(0x9f),'flex':0x1},'requirementTextMet':{'color':COLORS[_0x45e3(0x9d)]},'securityCard':{'backgroundColor':_0x45e3(0xa0),'borderRadius':0xc,'padding':0x10,'flexDirection':_0x45e3(0xa2),'alignItems':_0x45e3(0xa3),'marginBottom':0x18,'borderWidth':0x1,'borderColor':'#E5E5E5'},'securityCardSuccess':{'backgroundColor':_0x45e3(0xa8),'borderColor':_0x45e3(0xa9)},'securityCardError':{'backgroundColor':_0x45e3(0xaa),'borderColor':'#EF4444'},'securityIconContainer':{'marginRight':0xc},'securityIcon':{'fontSize':0x18},'securityTextContainer':{'flex':0x1},'securityTitle':{'fontSize':0xe,'fontWeight':_0x45e3(0xa1),'color':COLORS[_0x45e3(0x9d)],'marginBottom':0x4,'fontFamily':_0x45e3(0x9f)},'securityDescription':{'fontSize':0xd,'color':COLORS[_0x45e3(0x7e)],'lineHeight':0x12,'fontFamily':_0x45e3(0x9f)},'buttonContainer':{'marginTop':_0x45e3(0xab),'paddingBottom':0x22},'continueButton':{'backgroundColor':_0x45e3(0xa4),'borderRadius':0x19,'paddingVertical':0x10,'alignItems':_0x45e3(0xa3),'justifyContent':_0x45e3(0xa3)},'continueButtonActive':{'backgroundColor':'#2D3436'},'continueButtonText':{'fontSize':0x10,'fontWeight':_0x45e3(0xa1),'color':_0x45e3(0xac),'fontFamily':_0x45e3(0x9f)},'continueButtonTextActive':{'color':'#FFFFFF'}});export{PinCreationScreen};export default PinCreationScreen;
|
|
1
|
+
import React,{useState,useEffect}from'react';function _0x2d38(){const _0x4e0393=['AhAcw','❌\x20Error\x20in\x20PIN\x20creation\x20process:','⚠️\x20Face\x20ID\x20authentication\x20was\x20cancelled\x20or\x20failed','Face\x20ID\x20Setup','GWZQe','Please\x20ensure\x20your\x20PIN\x20meets\x20all\x20requirements.','MdFNR','gQhAe','Invalid\x20PIN','🔐\x20Starting\x20PIN\x20creation\x20process...','storing','📱\x20[PIN\x20CREATION]\x20Biometric\x20available\x20before\x20storage:','❌\x20[PIN\x20CREATION]\x20Face\x20ID\x20not\x20available\x20on\x20this\x20device','🔐\x20[PIN\x20CREATION]\x20Triggering\x20biometric\x20authentication\x20for\x20PIN\x20storage...','✅\x20PIN\x20stored\x20successfully\x20with\x20Face\x20ID','dqvJS','error','PIN\x20Storage\x20Error','PIN\x20storage\x20verification\x20failed.\x20Please\x20try\x20again.','Face\x20ID\x20authentication\x20was\x20cancelled\x20or\x20failed.\x20Your\x20PIN\x20is\x20still\x20saved\x20securely.','Try\x20Again','1|0|2|4|3','❌\x20Error\x20checking\x20biometric\x20availability:','TzBLZ','lHhQQ','yRnKg','checking','Enter\x20your\x20PIN','Your\x20PIN\x20must:','Contain\x20an\x20uppercase\x20letter.','Contain\x20a\x20symbol\x20(e.g.\x20!@#$%^&*).','small','#D4A536','available','Checking\x20Face\x20ID...','Face\x20ID\x20Unavailable','Securing\x20with\x20Face\x20ID...','PIN\x20Secured\x20with\x20Face\x20ID','Face\x20ID\x20Setup\x20Failed','Verifying\x20Face\x20ID\x20availability\x20on\x20your\x20device.','We\x20use\x20Face\x20ID\x20to\x20ensure\x20only\x20you\x20can\x20access\x20your\x20data.','Please\x20authenticate\x20with\x20Face\x20ID\x20to\x20secure\x20your\x20PIN.','Face\x20ID\x20setup\x20failed,\x20but\x20your\x20PIN\x20is\x20stored\x20securely.','#FFFFFF','Continue','ZYPrG','bAkST','rIcHn','yawSh','length','test','values','NhKwd','WOgCX','JnzBP','djeEa','DZvYQ','HifHh','OmZUy','abakA','LToqb','ERROR','alert','nYdgx','AVquV','log','ITigq','MRKYe','oitDX','tmfZS','isBiometricAvailable','IJLJi','yRToF','storePinWithBiometric','SzJFF','isPinStored','chiuB','QvLuh','YkJWs','napSa','myJpR','ERFpW','AEKBq','rjDUH','TllJX','xfXms','IjwLa','pszIu','thWKP','egzpw','RaPpn','Continue\x20Without\x20Face\x20ID','KRfUD','OpLtZ','split','yWOht','EhPWj','WeoOT','rUPaU','❌\x20PIN\x20storage\x20verification\x20failed','ksZTD','taqpo','LZtZH','NLFxo','XEYeP','xCSyE','lZDoe','tyGQE','eTokI','GPmMa','📱\x20Biometric\x20not\x20available,\x20continuing\x20without\x20Face\x20ID','rihDv','AlQWF','IWjUS','AnToQ','MurcN','LXsPj','Iscgd','Nazsh','NyoEk','Lbpqx','NTuCi','kLnqz','ivazq','ejWzL','GQDlu','CqhTm','success','MbigO','sPoHd','uLBne','📱\x20Biometric\x20availability\x20check:','pTCyX','HzPdN','hDMQX','BClQO','fGHCA','kOZYr','HFziO','ZqBzf','SUCCESS','NXuXA','Xbtwk','AKDYK','CnEWx','zLGPB','every','createElement','container','titleContainer','A\x20PIN\x20so\x20only\x20you\x20have\x20access\x20to\x20your\x20data.','pinContainer','pinInput','GaqIB','requirementItem','checkboxChecked','checkmark','requirementText','requirementTextMet','idQgP','uppercase','checkbox','number','LbFTg','symbol','deBtF','securityCardSuccess','securityCardError','securityIconContainer','uPscT','YLOIp','grey600','fBbmV','MdUjU','unavailable','securityIcon','BfnIJ','securityTextContainer','securityTitle','kxjrJ','dxwpO','hbFSF','ahVsT','iAXzH','Wqykd','eugqS','eiTbr','securityDescription','cbBWa','JSmpb','QMpYU','wOQDc','Face\x20ID\x20is\x20not\x20available\x20on\x20this\x20device.\x20Your\x20PIN\x20will\x20be\x20stored\x20securely.','JEkVO','TxhhK','dsKPr','Your\x20PIN\x20is\x20now\x20protected\x20with\x20Face\x20ID\x20authentication.','lPYxF','buttonContainer','continueButton','continueButtonActive','oMtBY','continueButtonText','EYmWm','create','surface','center','700','Inter','#F8F9FA','600','grey800','#E5E5E5','#4CD964','row','#22C55E','#FEF2F2','#EF4444','auto','#2D3436'];_0x2d38=function(){return _0x4e0393;};return _0x2d38();}function _0x1faf(_0x2d38e8,_0x1faf51){_0x2d38e8=_0x2d38e8-0x0;const _0x1d78e4=_0x2d38();let _0x472b8f=_0x1d78e4[_0x2d38e8];return _0x472b8f;}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:_0x371b12,onComplete:_0x444c28,onBack:_0x3a4447})=>{const _0x306a10={'yawSh':function(_0x1d20b0,_0x42adda){return _0x1d20b0>=_0x42adda;},'NhKwd':function(_0xbf8788,_0xa5db2c){return _0xbf8788(_0xa5db2c);},'BfnIJ':function(_0x54b258,_0x5604e4){return _0x54b258===_0x5604e4;},'gZwZX':_0x1faf(0x0),'ZYPrG':function(_0x20e4c4,_0x3e21f0){return _0x20e4c4(_0x3e21f0);},'AnToQ':'4|1|3|0|2','MurcN':function(_0x269ec4,_0x3b84b6){return _0x269ec4(_0x3b84b6);},'LXsPj':'There\x20was\x20an\x20issue\x20creating\x20your\x20PIN.\x20Please\x20try\x20again.','Iscgd':_0x1faf(0x1),'WeoOT':function(_0x49164f,_0x22c0e2){return _0x49164f(_0x22c0e2);},'JnzBP':function(_0x5413db,_0x3ae2e5){return _0x5413db(_0x3ae2e5);},'djeEa':function(_0xf83eb5,_0x1d9280){return _0xf83eb5(_0x1d9280);},'DZvYQ':_0x1faf(0x2),'HifHh':_0x1faf(0x3),'HDCAr':function(_0x3f851d,_0x2acccb){return _0x3f851d===_0x2acccb;},'BexsF':_0x1faf(0x4),'OmZUy':_0x1faf(0x5),'abakA':_0x1faf(0x6),'hHUKo':_0x1faf(0x7),'LToqb':'eOOuo','nYdgx':_0x1faf(0x8),'ksZTD':function(_0xc2146,_0x12c240){return _0xc2146(_0x12c240);},'GtyUF':function(_0x18a746,_0x52a040){return _0x18a746===_0x52a040;},'AVquV':'xlnFk','ITigq':_0x1faf(0x9),'MRKYe':'📝\x20PIN\x20stored\x20temporarily\x20for\x20onboarding','oitDX':function(_0x469fed,_0x34d375){return _0x469fed(_0x34d375);},'JEkVO':_0x1faf(0xa),'tmfZS':'🔐\x20[PIN\x20CREATION]\x20Biometric\x20storage\x20enabled,\x20starting\x20biometric\x20flow...','GexPj':_0x1faf(0xb),'IJLJi':_0x1faf(0xc),'ZmlcL':function(_0x3bd5e8,_0x4eb98a){return _0x3bd5e8(_0x4eb98a);},'yRToF':_0x1faf(0xd),'SzJFF':_0x1faf(0xe),'chiuB':function(_0x1af8e2,_0x241b4e){return _0x1af8e2!==_0x241b4e;},'QvLuh':_0x1faf(0xf),'napSa':'✅\x20PIN\x20storage\x20verified\x20-\x20proceeding\x20with\x20onboarding','myJpR':function(_0x559da6,_0x570ec6){return _0x559da6(_0x570ec6);},'ERFpW':function(_0x9a053d,_0x339160,_0x3563dd){return _0x9a053d(_0x339160,_0x3563dd);},'OpLtZ':'3|0|1|4|2','yWOht':function(_0xd4fd7e,_0x27b803){return _0xd4fd7e(_0x27b803);},'EhPWj':_0x1faf(0x10),'cByPe':_0x1faf(0x11),'rUPaU':_0x1faf(0x12),'taqpo':_0x1faf(0x13),'LZtZH':_0x1faf(0x14),'GPmMa':'Continue\x20Without\x20Face\x20ID','rihDv':function(_0x262a05,_0x457429){return _0x262a05(_0x457429);},'AlQWF':'unavailable','IWjUS':function(_0x3fa629,_0x413d33){return _0x3fa629(_0x413d33);},'Nazsh':_0x1faf(0x15),'PpTiG':function(_0x40ad5c,_0x463467){return _0x40ad5c(_0x463467);},'NyoEk':'PIN\x20Creation\x20Error','Lbpqx':_0x1faf(0x16),'NTuCi':_0x1faf(0x17),'qmBUi':function(_0x309730){return _0x309730();},'uLBne':function(_0x54e08b,_0x104258){return _0x54e08b(_0x104258);},'CqhTm':function(_0xec46f6,_0x5895f7){return _0xec46f6(_0x5895f7);},'MbigO':function(_0x20ab2b,_0x39fadf){return _0x20ab2b(_0x39fadf);},'sPoHd':_0x1faf(0x18),'pTCyX':function(_0x1f2144,_0x2b06d2){return _0x1f2144(_0x2b06d2);},'HzPdN':function(_0x23ff23,_0x58334f){return _0x23ff23===_0x58334f;},'hDMQX':_0x1faf(0x19),'IAsHG':function(_0x137c0e,_0x57c8de){return _0x137c0e(_0x57c8de);},'bAkST':function(_0x4080ac,_0x878163){return _0x4080ac(_0x878163);},'rIcHn':function(_0x3529a3,_0x1c0c93){return _0x3529a3(_0x1c0c93);},'cbBWa':_0x1faf(0x1a),'GQDlu':function(_0xfd25a5,_0x3307de,_0x33c664){return _0xfd25a5(_0x3307de,_0x33c664);},'fvdaW':'Create\x20a\x20PIN','zoFwg':_0x1faf(0x1b),'GaqIB':_0x1faf(0x1c),'idQgP':'Be\x20at\x20least\x208\x20characters\x20in\x20length.','wIold':_0x1faf(0x1d),'LbFTg':'Contain\x20a\x20number.','HFZFE':_0x1faf(0x1e),'deBtF':function(_0x14558a,_0x1173a6){return _0x14558a===_0x1173a6;},'dsKPr':'success','uPscT':function(_0x429a7a,_0x422cfb){return _0x429a7a===_0x422cfb;},'YLOIp':_0x1faf(0x1f),'fBbmV':function(_0x2d5124,_0x18e21d){return _0x2d5124===_0x18e21d;},'gKkWR':_0x1faf(0x20),'wOQDc':function(_0x3a21f0,_0x20d743){return _0x3a21f0===_0x20d743;},'MdUjU':_0x1faf(0x21),'advbp':function(_0x5c20e6,_0x4d24c0){return _0x5c20e6===_0x4d24c0;},'CdXOr':_0x1faf(0x22),'kxjrJ':'Enhanced\x20Security','eugqS':function(_0x159523,_0x574122){return _0x159523===_0x574122;},'dxwpO':_0x1faf(0x23),'hbFSF':function(_0x4d5d45,_0x45e0bd){return _0x4d5d45===_0x45e0bd;},'ahVsT':_0x1faf(0x24),'iAXzH':function(_0x3c0351,_0x504181){return _0x3c0351===_0x504181;},'Wqykd':_0x1faf(0x25),'eiTbr':_0x1faf(0x26),'JSmpb':_0x1faf(0x27),'QMpYU':_0x1faf(0x28),'TxhhK':_0x1faf(0x29),'jlFfD':function(_0x436e5e,_0x8a2ca3){return _0x436e5e===_0x8a2ca3;},'lPYxF':_0x1faf(0x2a),'oMtBY':function(_0x129748,_0x263e7f){return _0x129748||_0x263e7f;},'fuXsy':_0x1faf(0x2b),'EYmWm':_0x1faf(0x2c)},[_0x5dc6ec,_0x442f67]=_0x306a10[_0x1faf(0x2d)](useState,''),[_0x2a92c9,_0x1805ae]=_0x306a10['IAsHG'](useState,{'length':![],'uppercase':![],'number':![],'symbol':![]}),[_0x752d0f,_0x128df9]=_0x306a10[_0x1faf(0x2e)](useState,![]),[_0x2d445a,_0x5e624c]=_0x306a10[_0x1faf(0x2f)](useState,![]),[_0xc37ce7,_0x5708bc]=useState(_0x306a10['cbBWa']),_0x587c23=_0x1da3b4=>{const _0x2568d9={'length':_0x306a10[_0x1faf(0x30)](_0x1da3b4[_0x1faf(0x31)],0x8),'uppercase':/[A-Z]/[_0x1faf(0x32)](_0x1da3b4),'number':/[0-9]/[_0x1faf(0x32)](_0x1da3b4),'symbol':/[!@#$%^&*(),.?":{}|<>]/['test'](_0x1da3b4)};return _0x1805ae(_0x2568d9),Object[_0x1faf(0x33)](_0x2568d9)['every'](_0x299a9a=>_0x299a9a);},_0x30c014=_0x50ced4=>{const _0x47ee39={'UTKEV':function(_0x2b9cb2,_0x32b2f7){return _0x306a10[_0x1faf(0x34)](_0x2b9cb2,_0x32b2f7);}};_0x306a10['BfnIJ'](_0x306a10['gZwZX'],_0x1faf(0x35))?(_0x47ee39['UTKEV'](_0x491a0c,_0x170ce2),_0x47ee39['UTKEV'](_0x43264e,_0x5542e4)):(_0x306a10[_0x1faf(0x2d)](_0x442f67,_0x50ced4),_0x306a10[_0x1faf(0x2d)](_0x587c23,_0x50ced4));},_0x574190=async()=>{const _0x1d113c={'OeNkK':function(_0x2cd213,_0x4c9257){return _0x2cd213(_0x4c9257);},'YkJWs':function(_0x34b75c){return _0x34b75c();},'AEKBq':function(_0x2bbeaa,_0x1ba1f4){return _0x306a10[_0x1faf(0x36)](_0x2bbeaa,_0x1ba1f4);},'rjDUH':function(_0x23ef12,_0x454fc0){return _0x306a10[_0x1faf(0x37)](_0x23ef12,_0x454fc0);},'TllJX':_0x306a10[_0x1faf(0x38)],'zokrF':'error','xfXms':_0x306a10[_0x1faf(0x39)],'IjwLa':function(_0x18ef1c,_0x21d667){return _0x306a10['HDCAr'](_0x18ef1c,_0x21d667);},'pszIu':_0x306a10['BexsF'],'imPPV':_0x306a10[_0x1faf(0x3a)],'NLFxo':function(_0x566aaa,_0x3dd6c3){return _0x566aaa===_0x3dd6c3;},'EXLsh':_0x306a10[_0x1faf(0x3b)],'XEYeP':'XlgpU','eTokI':_0x1faf(0x21)};if(_0x306a10['hHUKo']!==_0x306a10[_0x1faf(0x3c)]){if(!_0x306a10['JnzBP'](_0x587c23,_0x5dc6ec)){triggerHaptic(HapticType[_0x1faf(0x3d)]),Alert[_0x1faf(0x3e)](_0x306a10[_0x1faf(0x3f)],_0x306a10[_0x1faf(0x3a)]);return;}triggerHaptic(HapticType['BUTTON_PRESS']),_0x306a10['ksZTD'](_0x128df9,!![]);try{if(_0x306a10['GtyUF'](_0x306a10['AVquV'],_0x306a10[_0x1faf(0x40)])){console[_0x1faf(0x41)](_0x306a10[_0x1faf(0x42)]),_0x306a10[_0x1faf(0x2d)](setTemporaryPin,_0x5dc6ec),console[_0x1faf(0x41)](_0x306a10[_0x1faf(0x43)]);if(_0x2d445a){_0x306a10[_0x1faf(0x44)](_0x5708bc,_0x306a10['JEkVO']),console[_0x1faf(0x41)](_0x306a10[_0x1faf(0x45)]);const _0x2645f4=await biometricPinService[_0x1faf(0x46)]();console[_0x1faf(0x41)](_0x306a10['GexPj'],_0x2645f4);if(!_0x2645f4){console[_0x1faf(0x10)](_0x306a10[_0x1faf(0x47)]),_0x306a10['ZmlcL'](_0x5708bc,'unavailable'),_0x306a10['ZmlcL'](_0x128df9,![]);return;}console[_0x1faf(0x41)](_0x306a10[_0x1faf(0x48)]);const _0x20dd1c=await biometricPinService[_0x1faf(0x49)](_0x5dc6ec);if(_0x20dd1c){console['log'](_0x306a10[_0x1faf(0x4a)]);const _0x52ddbe=await biometricPinService[_0x1faf(0x4b)]();if(_0x52ddbe)_0x306a10[_0x1faf(0x4c)](_0x306a10[_0x1faf(0x4d)],_0x306a10['QvLuh'])?(_0x1d113c['OeNkK'](_0x2a99ed,_0x6ce29b['BUTTON_PRESS']),_0x1d113c[_0x1faf(0x4e)](_0x1604cb)):(console['log'](_0x306a10[_0x1faf(0x4f)]),_0x5708bc('success'),_0x306a10[_0x1faf(0x50)](triggerHaptic,HapticType['SUCCESS']),_0x306a10[_0x1faf(0x51)](setTimeout,()=>{const _0x87968d={'KRfUD':function(_0x1ce416,_0x4c3076){return _0x1ce416(_0x4c3076);},'TnquH':function(_0x2c12c1,_0x4bfa5a){return _0x1d113c[_0x1faf(0x52)](_0x2c12c1,_0x4bfa5a);},'egfnn':function(_0x15dc4e,_0x4a8d31){return _0x1d113c[_0x1faf(0x53)](_0x15dc4e,_0x4a8d31);},'thWKP':_0x1faf(0x21),'bKxXz':_0x1d113c[_0x1faf(0x54)],'egzpw':_0x1d113c['zokrF'],'RaPpn':_0x1d113c[_0x1faf(0x55)]};if(_0x1d113c[_0x1faf(0x56)](_0x1d113c[_0x1faf(0x57)],'GWZQe'))_0x128df9(![]),_0x444c28(_0x5dc6ec);else{const _0x57a131={'Eldzb':function(_0x1ae203,_0x2c1d3c){return _0x87968d['egfnn'](_0x1ae203,_0x2c1d3c);},'aXKMq':_0x87968d[_0x1faf(0x58)]};_0x5087b9['log'](_0x87968d['bKxXz']),_0x9e59e8(_0x87968d[_0x1faf(0x59)]),_0x268856(_0x3aa546['ERROR']),Alert[_0x1faf(0x3e)](_0x87968d[_0x1faf(0x5a)],'Face\x20ID\x20authentication\x20was\x20cancelled\x20or\x20failed.\x20Your\x20PIN\x20is\x20still\x20saved\x20securely.',[{'text':'Try\x20Again','onPress':()=>{_0x57a131['Eldzb'](_0x44bf23,![]),_0x4f8c73(_0x57a131['aXKMq']);}},{'text':_0x1faf(0x5b),'onPress':()=>{_0x87968d[_0x1faf(0x5c)](_0x2d1b60,![]),_0x87968d['TnquH'](_0x5d9bb4,_0x10a7c3);}}]);}},0x320));else{const _0x3e3100=_0x306a10[_0x1faf(0x5d)][_0x1faf(0x5e)]('|');let _0x2eb2ae=0x0;while(!![]){switch(_0x3e3100[_0x2eb2ae++]){case'0':_0x306a10[_0x1faf(0x5f)](_0x5708bc,_0x306a10[_0x1faf(0x60)]);continue;case'1':_0x306a10[_0x1faf(0x61)](_0x128df9,![]);continue;case'2':Alert['alert'](_0x306a10['cByPe'],_0x306a10[_0x1faf(0x62)],[{'text':'OK'}]);continue;case'3':console[_0x1faf(0x10)](_0x1faf(0x63));continue;case'4':_0x306a10[_0x1faf(0x2d)](triggerHaptic,HapticType[_0x1faf(0x3d)]);continue;}break;}}}else console[_0x1faf(0x41)](_0x306a10['DZvYQ']),_0x306a10[_0x1faf(0x2d)](_0x5708bc,_0x306a10[_0x1faf(0x60)]),_0x306a10[_0x1faf(0x64)](triggerHaptic,HapticType['ERROR']),Alert[_0x1faf(0x3e)](_0x306a10[_0x1faf(0x39)],_0x306a10[_0x1faf(0x65)],[{'text':_0x306a10[_0x1faf(0x66)],'onPress':()=>{const _0x2802af={'xCSyE':function(_0x3ec802,_0x253821){return _0x3ec802(_0x253821);},'lZDoe':'Invalid\x20PIN','tyGQE':_0x1d113c['imPPV']};if(_0x1d113c[_0x1faf(0x67)](_0x1d113c['EXLsh'],_0x1d113c[_0x1faf(0x68)])){_0x2802af[_0x1faf(0x69)](_0x39e9db,_0xf4d25e[_0x1faf(0x3d)]),Alert[_0x1faf(0x3e)](_0x2802af[_0x1faf(0x6a)],_0x2802af[_0x1faf(0x6b)]);return;}else _0x1d113c[_0x1faf(0x53)](_0x128df9,![]),_0x5708bc(_0x1d113c[_0x1faf(0x6c)]);}},{'text':_0x306a10[_0x1faf(0x6d)],'onPress':()=>{_0x306a10[_0x1faf(0x34)](_0x128df9,![]),_0x444c28(_0x5dc6ec);}}]);}else console[_0x1faf(0x41)](_0x1faf(0x6e)),_0x306a10[_0x1faf(0x6f)](_0x5708bc,_0x306a10[_0x1faf(0x70)]),_0x306a10[_0x1faf(0x71)](_0x128df9,![]),_0x306a10['ZYPrG'](_0x444c28,_0x5dc6ec);}else{const _0x2bb352=_0x306a10[_0x1faf(0x72)][_0x1faf(0x5e)]('|');let _0x16f197=0x0;while(!![]){switch(_0x2bb352[_0x16f197++]){case'0':_0x306a10['MurcN'](_0x221ff9,_0x81c4b1[_0x1faf(0x3d)]);continue;case'1':_0x306a10[_0x1faf(0x73)](_0x3f8755,'error');continue;case'2':Alert['alert']('PIN\x20Creation\x20Error',_0x306a10[_0x1faf(0x74)],[{'text':'OK'}]);continue;case'3':_0x306a10[_0x1faf(0x73)](_0x3d14f1,![]);continue;case'4':_0x809536[_0x1faf(0x10)](_0x306a10[_0x1faf(0x75)],_0x1f829f);continue;}break;}}}catch(_0x1adedb){const _0x52a3de=_0x306a10[_0x1faf(0x76)][_0x1faf(0x5e)]('|');let _0x1a59b0=0x0;while(!![]){switch(_0x52a3de[_0x1a59b0++]){case'0':_0x306a10['PpTiG'](_0x5708bc,_0x306a10[_0x1faf(0x60)]);continue;case'1':console[_0x1faf(0x10)]('❌\x20Error\x20in\x20PIN\x20creation\x20process:',_0x1adedb);continue;case'2':_0x128df9(![]);continue;case'3':Alert[_0x1faf(0x3e)](_0x306a10[_0x1faf(0x77)],_0x306a10[_0x1faf(0x74)],[{'text':'OK'}]);continue;case'4':_0x306a10[_0x1faf(0x2d)](triggerHaptic,HapticType[_0x1faf(0x3d)]);continue;}break;}}}else _0x306a10['ZYPrG'](_0x1c7862,![]),_0x306a10[_0x1faf(0x61)](_0x552b02,_0x208080);},_0x5db768=()=>{const _0x4a1caa={'kLnqz':_0x306a10[_0x1faf(0x78)],'ivazq':function(_0x42e7c1,_0xc028dd){return _0x306a10[_0x1faf(0x36)](_0x42e7c1,_0xc028dd);},'ejWzL':_0x306a10['AlQWF']};'TzBLZ'===_0x306a10[_0x1faf(0x79)]?(_0x306a10[_0x1faf(0x50)](triggerHaptic,HapticType['BUTTON_PRESS']),_0x306a10['qmBUi'](_0x3a4447)):(_0x5a7368[_0x1faf(0x10)](_0x4a1caa[_0x1faf(0x7a)],_0x23187d),_0x4a1caa[_0x1faf(0x7b)](_0x1177b8,![]),_0xe0e17a(_0x4a1caa[_0x1faf(0x7c)]));};_0x306a10[_0x1faf(0x7d)](useEffect,()=>{const _0x5127f5={'xdaTk':_0x306a10['napSa'],'kOZYr':function(_0x21133a,_0x32042d){return _0x306a10[_0x1faf(0x7e)](_0x21133a,_0x32042d);},'HFziO':_0x1faf(0x7f),'ZqBzf':function(_0x5e86b8,_0x149da6){return _0x306a10[_0x1faf(0x80)](_0x5e86b8,_0x149da6);},'BClQO':function(_0x3eb3aa,_0x486a1d){return _0x306a10[_0x1faf(0x4c)](_0x3eb3aa,_0x486a1d);},'fGHCA':_0x306a10[_0x1faf(0x81)],'NXuXA':function(_0x5c54d5,_0x2431a4){return _0x306a10[_0x1faf(0x82)](_0x5c54d5,_0x2431a4);},'KuGDz':_0x1faf(0x1a),'Xbtwk':_0x306a10[_0x1faf(0x70)],'AKDYK':_0x1faf(0x83),'cjkWH':function(_0x218a5e,_0x1b7ea4){return _0x306a10[_0x1faf(0x82)](_0x218a5e,_0x1b7ea4);},'CnEWx':function(_0x72acd0,_0x3ff1d4){return _0x306a10[_0x1faf(0x84)](_0x72acd0,_0x3ff1d4);}};if(_0x306a10[_0x1faf(0x85)](_0x306a10[_0x1faf(0x86)],_0x306a10[_0x1faf(0x86)])){const _0xa860f7=async()=>{try{if(_0x5127f5[_0x1faf(0x87)](_0x5127f5[_0x1faf(0x88)],_0x5127f5['fGHCA'])){const _0x168a56={'UQEsj':function(_0x457094,_0x46a561){return _0x457094(_0x46a561);}};_0x5c0b8b[_0x1faf(0x41)](_0x5127f5['xdaTk']),_0x5127f5[_0x1faf(0x89)](_0xb9e810,_0x5127f5[_0x1faf(0x8a)]),_0x5127f5[_0x1faf(0x8b)](_0xd1eda9,_0x46eb8e[_0x1faf(0x8c)]),_0x1c13aa(()=>{_0x168a56['UQEsj'](_0x12e2f8,![]),_0x1b17ed(_0x259005);},0x320);}else{_0x5127f5['NXuXA'](_0x5708bc,_0x5127f5['KuGDz']);const _0x1693bf=await biometricPinService['isBiometricAvailable']();_0x5e624c(_0x1693bf),_0x5127f5[_0x1faf(0x8d)](_0x5708bc,_0x1693bf?_0x1faf(0x21):_0x5127f5[_0x1faf(0x8e)]),console['log'](_0x5127f5[_0x1faf(0x8f)],_0x1693bf);}}catch(_0x1d1492){console[_0x1faf(0x10)](_0x1faf(0x16),_0x1d1492),_0x5127f5['cjkWH'](_0x5e624c,![]),_0x5127f5[_0x1faf(0x90)](_0x5708bc,_0x5127f5[_0x1faf(0x8e)]);}};if(_0x371b12){if(_0x306a10['chiuB'](_0x1faf(0x91),'zLGPB')){_0x1b61e6[_0x1faf(0x10)](_0x306a10[_0x1faf(0x47)]),_0x306a10['uLBne'](_0x4eb3d3,_0x306a10[_0x1faf(0x70)]),_0x306a10['JnzBP'](_0xbc8e0a,![]);return;}else _0x306a10['qmBUi'](_0xa860f7);}}else _0x1d54fd(![]),_0x5127f5[_0x1faf(0x8b)](_0x522ff8,_0x15effc);},[_0x371b12]);const _0x4f8a12=Object[_0x1faf(0x33)](_0x2a92c9)[_0x1faf(0x92)](_0x58d777=>_0x58d777);if(!_0x371b12)return null;return React[_0x1faf(0x93)](View,{'style':styles[_0x1faf(0x94)]},React[_0x1faf(0x93)](View,{'style':styles[_0x1faf(0x95)]},React['createElement'](Text,{'style':styles['title']},_0x306a10['fvdaW']),React['createElement'](Text,{'style':styles['subtitle']},_0x1faf(0x96))),React[_0x1faf(0x93)](View,{'style':styles[_0x1faf(0x97)]},React[_0x1faf(0x93)](TextInput,{'style':styles[_0x1faf(0x98)],'value':_0x5dc6ec,'onChangeText':_0x30c014,'placeholder':_0x306a10['zoFwg'],'secureTextEntry':!![],'autoFocus':!![],'maxLength':0x14})),React[_0x1faf(0x93)](View,{'style':styles['requirementsContainer']},React[_0x1faf(0x93)](Text,{'style':styles['requirementsTitle']},_0x306a10[_0x1faf(0x99)]),React['createElement'](View,{'style':styles[_0x1faf(0x9a)]},React[_0x1faf(0x93)](View,{'style':[styles['checkbox'],_0x2a92c9[_0x1faf(0x31)]&&styles[_0x1faf(0x9b)]]},_0x2a92c9['length']&&React[_0x1faf(0x93)](Text,{'style':styles[_0x1faf(0x9c)]},'✓')),React['createElement'](Text,{'style':[styles[_0x1faf(0x9d)],_0x2a92c9[_0x1faf(0x31)]&&styles[_0x1faf(0x9e)]]},_0x306a10[_0x1faf(0x9f)])),React[_0x1faf(0x93)](View,{'style':styles[_0x1faf(0x9a)]},React[_0x1faf(0x93)](View,{'style':[styles['checkbox'],_0x2a92c9[_0x1faf(0xa0)]&&styles[_0x1faf(0x9b)]]},_0x2a92c9[_0x1faf(0xa0)]&&React[_0x1faf(0x93)](Text,{'style':styles[_0x1faf(0x9c)]},'✓')),React[_0x1faf(0x93)](Text,{'style':[styles[_0x1faf(0x9d)],_0x2a92c9[_0x1faf(0xa0)]&&styles[_0x1faf(0x9e)]]},_0x306a10['wIold'])),React[_0x1faf(0x93)](View,{'style':styles[_0x1faf(0x9a)]},React['createElement'](View,{'style':[styles[_0x1faf(0xa1)],_0x2a92c9[_0x1faf(0xa2)]&&styles['checkboxChecked']]},_0x2a92c9[_0x1faf(0xa2)]&&React[_0x1faf(0x93)](Text,{'style':styles[_0x1faf(0x9c)]},'✓')),React['createElement'](Text,{'style':[styles['requirementText'],_0x2a92c9[_0x1faf(0xa2)]&&styles[_0x1faf(0x9e)]]},_0x306a10[_0x1faf(0xa3)])),React[_0x1faf(0x93)](View,{'style':styles[_0x1faf(0x9a)]},React[_0x1faf(0x93)](View,{'style':[styles[_0x1faf(0xa1)],_0x2a92c9['symbol']&&styles[_0x1faf(0x9b)]]},_0x2a92c9[_0x1faf(0xa4)]&&React[_0x1faf(0x93)](Text,{'style':styles[_0x1faf(0x9c)]},'✓')),React[_0x1faf(0x93)](Text,{'style':[styles[_0x1faf(0x9d)],_0x2a92c9[_0x1faf(0xa4)]&&styles[_0x1faf(0x9e)]]},_0x306a10['HFZFE']))),React['createElement'](View,{'style':[styles['securityCard'],_0x306a10[_0x1faf(0xa5)](_0xc37ce7,_0x306a10['dsKPr'])&&styles[_0x1faf(0xa6)],_0xc37ce7==='error'&&styles[_0x1faf(0xa7)]]},React[_0x1faf(0x93)](View,{'style':styles[_0x1faf(0xa8)]},_0x306a10[_0x1faf(0xa9)](_0xc37ce7,_0x306a10['cbBWa'])&&React[_0x1faf(0x93)](ActivityIndicator,{'size':_0x306a10[_0x1faf(0xaa)],'color':COLORS[_0x1faf(0xab)]}),_0x306a10[_0x1faf(0xac)](_0xc37ce7,'storing')&&React['createElement'](ActivityIndicator,{'size':_0x306a10[_0x1faf(0xaa)],'color':_0x306a10['gKkWR']}),_0x306a10['wOQDc'](_0xc37ce7,_0x306a10[_0x1faf(0xad)])&&React[_0x1faf(0x93)](Text,{'style':styles['securityIcon']},'🔐'),_0x306a10[_0x1faf(0xa5)](_0xc37ce7,_0x1faf(0xae))&&React['createElement'](Text,{'style':styles[_0x1faf(0xaf)]},'⚠️'),_0x306a10['advbp'](_0xc37ce7,_0x1faf(0x7f))&&React[_0x1faf(0x93)](Text,{'style':styles[_0x1faf(0xaf)]},'✅'),_0x306a10[_0x1faf(0xb0)](_0xc37ce7,_0x306a10[_0x1faf(0x60)])&&React['createElement'](Text,{'style':styles['securityIcon']},'❌')),React[_0x1faf(0x93)](View,{'style':styles[_0x1faf(0xb1)]},React[_0x1faf(0x93)](Text,{'style':styles[_0x1faf(0xb2)]},_0xc37ce7===_0x306a10['cbBWa']&&_0x306a10['CdXOr'],_0x306a10['fBbmV'](_0xc37ce7,_0x1faf(0x21))&&_0x306a10[_0x1faf(0xb3)],_0x306a10['eugqS'](_0xc37ce7,_0x1faf(0xae))&&_0x306a10[_0x1faf(0xb4)],_0x306a10[_0x1faf(0xb5)](_0xc37ce7,_0x1faf(0xa))&&_0x306a10[_0x1faf(0xb6)],_0x306a10[_0x1faf(0xb7)](_0xc37ce7,_0x1faf(0x7f))&&_0x306a10[_0x1faf(0xb8)],_0x306a10[_0x1faf(0xb9)](_0xc37ce7,_0x306a10[_0x1faf(0x60)])&&_0x306a10[_0x1faf(0xba)]),React[_0x1faf(0x93)](Text,{'style':styles[_0x1faf(0xbb)]},_0xc37ce7===_0x306a10[_0x1faf(0xbc)]&&_0x306a10[_0x1faf(0xbd)],_0xc37ce7==='available'&&_0x306a10[_0x1faf(0xbe)],_0x306a10[_0x1faf(0xbf)](_0xc37ce7,_0x1faf(0xae))&&_0x1faf(0xc0),_0x306a10[_0x1faf(0x85)](_0xc37ce7,_0x306a10[_0x1faf(0xc1)])&&_0x306a10[_0x1faf(0xc2)],_0xc37ce7===_0x306a10[_0x1faf(0xc3)]&&_0x1faf(0xc4),_0x306a10['jlFfD'](_0xc37ce7,_0x306a10['EhPWj'])&&_0x306a10[_0x1faf(0xc5)]))),React[_0x1faf(0x93)](View,{'style':styles[_0x1faf(0xc6)]},React['createElement'](TouchableOpacity,{'style':[styles[_0x1faf(0xc7)],_0x4f8a12&&styles[_0x1faf(0xc8)]],'onPress':_0x574190,'disabled':_0x306a10[_0x1faf(0xc9)](!_0x4f8a12,_0x752d0f)},_0x752d0f?React[_0x1faf(0x93)](ActivityIndicator,{'size':_0x306a10[_0x1faf(0xaa)],'color':_0x306a10['fuXsy']}):React['createElement'](Text,{'style':[styles[_0x1faf(0xca)],_0x4f8a12&&styles['continueButtonTextActive']]},_0x306a10[_0x1faf(0xcb)]))));},styles=StyleSheet[_0x1faf(0xcc)]({'container':{'flex':0x1,'backgroundColor':COLORS[_0x1faf(0xcd)],'paddingHorizontal':0x18,'paddingTop':0x28},'titleContainer':{'alignItems':_0x1faf(0xce),'marginBottom':0x18,'paddingTop':0x0,'marginTop':0x0},'title':{'fontSize':0x18,'fontWeight':_0x1faf(0xcf),'color':COLORS['grey800'],'marginBottom':0x8,'fontFamily':'IBM\x20Plex\x20Sans'},'subtitle':{'fontSize':0x10,'color':COLORS[_0x1faf(0xab)],'lineHeight':0x18,'fontFamily':_0x1faf(0xd0)},'pinContainer':{'marginBottom':0x20},'pinInput':{'backgroundColor':_0x1faf(0xd1),'borderRadius':0xc,'paddingVertical':0x10,'paddingHorizontal':0x10,'fontSize':0x10,'fontFamily':_0x1faf(0xd0),'borderWidth':0x1,'borderColor':'#E5E5E5'},'requirementsContainer':{'marginBottom':0x20},'requirementsTitle':{'fontSize':0x10,'fontWeight':_0x1faf(0xd2),'color':COLORS[_0x1faf(0xd3)],'marginBottom':0x10,'fontFamily':_0x1faf(0xd0)},'requirementItem':{'flexDirection':'row','alignItems':_0x1faf(0xce),'marginBottom':0xc},'checkbox':{'width':0x14,'height':0x14,'borderRadius':0xa,'borderWidth':0x2,'borderColor':_0x1faf(0xd4),'marginRight':0xc,'alignItems':_0x1faf(0xce),'justifyContent':_0x1faf(0xce)},'checkboxChecked':{'borderColor':_0x1faf(0xd5),'backgroundColor':_0x1faf(0xd5)},'checkmark':{'color':_0x1faf(0x2b),'fontSize':0xc,'fontWeight':'bold'},'requirementText':{'fontSize':0xe,'color':COLORS[_0x1faf(0xab)],'fontFamily':_0x1faf(0xd0),'flex':0x1},'requirementTextMet':{'color':COLORS[_0x1faf(0xd3)]},'securityCard':{'backgroundColor':_0x1faf(0xd1),'borderRadius':0xc,'padding':0x10,'flexDirection':_0x1faf(0xd6),'alignItems':_0x1faf(0xce),'marginBottom':0x18,'borderWidth':0x1,'borderColor':_0x1faf(0xd4)},'securityCardSuccess':{'backgroundColor':'#F0FDF4','borderColor':_0x1faf(0xd7)},'securityCardError':{'backgroundColor':_0x1faf(0xd8),'borderColor':_0x1faf(0xd9)},'securityIconContainer':{'marginRight':0xc},'securityIcon':{'fontSize':0x18},'securityTextContainer':{'flex':0x1},'securityTitle':{'fontSize':0xe,'fontWeight':'600','color':COLORS['grey800'],'marginBottom':0x4,'fontFamily':_0x1faf(0xd0)},'securityDescription':{'fontSize':0xd,'color':COLORS[_0x1faf(0xab)],'lineHeight':0x12,'fontFamily':_0x1faf(0xd0)},'buttonContainer':{'marginTop':_0x1faf(0xda),'paddingBottom':0x22},'continueButton':{'backgroundColor':'#E5E5E5','borderRadius':0x19,'paddingVertical':0x10,'alignItems':_0x1faf(0xce),'justifyContent':'center'},'continueButtonActive':{'backgroundColor':_0x1faf(0xdb)},'continueButtonText':{'fontSize':0x10,'fontWeight':_0x1faf(0xd2),'color':'#999999','fontFamily':_0x1faf(0xd0)},'continueButtonTextActive':{'color':_0x1faf(0x2b)}});export{PinCreationScreen};export default PinCreationScreen;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import React,{useState,useCallback}from'react';import{View,Text,StyleSheet,TextInput,TouchableOpacity,Dimensions,Keyboard,ActivityIndicator}from'react-native';import{biometricPinService}from'../services/biometricPinService';const {width}=Dimensions[_0x56ea(0x0)](_0x56ea(0x1));export const PinInput=({onSubmit:_0x544be6,minLength:minLength=0x8,requireSpecialChar:requireSpecialChar=!![],requireNumber:requireNumber=!![],onBack:_0x590744,enableBiometricStorage:enableBiometricStorage=!![],onBackgroundTrainingStart:_0x5195a8,showBackgroundProgress:showBackgroundProgress=![],backgroundProgressText:backgroundProgressText='Training\x20is\x20starting\x20in\x20the\x20background...'})=>{const _0x266ee7={'OtlsW':function(_0x2c5df1,_0x158e99){return _0x2c5df1(_0x158e99);},'LKXcR':function(_0x4787ed){return _0x4787ed();},'MEeYR':function(_0x35d01c,_0x468c70){return _0x35d01c&&_0x468c70;},'MmFax':function(_0x784e34,_0x452889){return _0x784e34===_0x452889;},'pXifr':_0x56ea(0x2),'zXKth':'IWgZk','bgqGr':_0x56ea(0x3),'PfOwZ':function(_0x290382,_0x553bfd){return _0x290382(_0x553bfd);},'mQVTi':function(_0x5749c1,_0x3c621f){return _0x5749c1!==_0x3c621f;},'EFKAN':_0x56ea(0x4),'qdHri':_0x56ea(0x5),'PIZwn':function(_0x108c50,_0x41a983){return _0x108c50<_0x41a983;},'LQfPd':'eatLV','nrrCV':'qOuTy','YfzMQ':_0x56ea(0x6),'hfYfn':function(_0x3f1743,_0x1eb9e4){return _0x3f1743(_0x1eb9e4);},'QYWJC':'biometric-unavailable','HbwPT':_0x56ea(0x7),'JuGNl':_0x56ea(0x8),'WYueb':_0x56ea(0x9),'xFTox':function(_0x1091c5,_0x444c4a){return _0x1091c5(_0x444c4a);},'DRAYh':_0x56ea(0xa),'yhfyk':function(_0x5a26eb,_0x2b097f){return _0x5a26eb(_0x2b097f);},'muTMw':function(_0x56ec8c,_0xc56af1){return _0x56ec8c!==_0xc56af1;},'zgvCo':_0x56ea(0xb),'eLmZr':_0x56ea(0xc),'OkVQy':function(_0xd0e1a9,_0x31f3c0){return _0xd0e1a9(_0x31f3c0);},'sSpxd':_0x56ea(0xd),'cPGzs':function(_0x4820aa,_0x5df260){return _0x4820aa(_0x5df260);},'qIrcW':function(_0xe5a4cf,_0x3206c3){return _0xe5a4cf!==_0x3206c3;},'oXePF':_0x56ea(0xe),'julNT':_0x56ea(0xf),'ScnNr':function(_0x53fab1,_0x4e0131){return _0x53fab1(_0x4e0131);},'oTSAB':function(_0x3310cf){return _0x3310cf();},'pcOZk':function(_0x24fda8,_0x3cd162){return _0x24fda8(_0x3cd162);},'WMXxc':function(_0x797c4,_0x5cd4dd){return _0x797c4!==_0x5cd4dd;},'gCJOX':_0x56ea(0x10),'LbMBs':_0x56ea(0x11),'WfFEw':_0x56ea(0x12),'aSsye':_0x56ea(0x13),'UnGCC':_0x56ea(0x14),'iaRYh':_0x56ea(0x15),'qKWSI':'Storage\x20Error','byUwn':'An\x20error\x20occurred\x20while\x20securing\x20your\x20PIN.\x20Would\x20you\x20like\x20to\x20try\x20again?','kcsfP':_0x56ea(0x16),'aVamw':_0x56ea(0x17),'UYIev':_0x56ea(0x18),'hbIpj':_0x56ea(0x19),'YBmQL':_0x56ea(0x1a),'LAsEd':function(_0x8faa1d,_0x4739c9){return _0x8faa1d(_0x4739c9);},'CNoTg':function(_0x584c42,_0x2053fb){return _0x584c42(_0x2053fb);},'uHOvF':function(_0x3a543f,_0x168e83){return _0x3a543f(_0x168e83);},'tNlXV':function(_0x12d309,_0xabf802){return _0x12d309(_0xabf802);},'rHDTB':function(_0x1ed364,_0x2534d3,_0x104897){return _0x1ed364(_0x2534d3,_0x104897);},'PSgTS':function(_0x270f75,_0xb20775,_0x3a967a){return _0x270f75(_0xb20775,_0x3a967a);},'TogCG':_0x56ea(0x1b),'oYrUu':_0x56ea(0x1c),'hpZwW':_0x56ea(0x1d),'aArmv':_0x56ea(0x1e),'VaICj':_0x56ea(0x1f),'tokcq':_0x56ea(0x20),'HTNOP':function(_0x5eafb1,_0x3ff88a){return _0x5eafb1>=_0x3ff88a;},'gsMqe':_0x56ea(0x21),'ATIZM':_0x56ea(0x22),'RGvdE':_0x56ea(0x23),'GTQFs':function(_0x4ae1ee,_0x1b7c19){return _0x4ae1ee===_0x1b7c19;},'EzYzD':function(_0x381fd1,_0x3c7302){return _0x381fd1===_0x3c7302;},'dLmCc':function(_0x5696d4,_0x141b6f){return _0x5696d4===_0x141b6f;},'oTGFl':function(_0x1736ac,_0x50e04f){return _0x1736ac===_0x50e04f;},'GetDh':function(_0x123e28,_0x23eb1d){return _0x123e28===_0x23eb1d;},'VoVmK':_0x56ea(0x24),'TfzeZ':_0x56ea(0x25),'NPqgG':function(_0xc451a2,_0x5d6504){return _0xc451a2||_0x5d6504;},'esWEI':_0x56ea(0x26)},[_0x2ccf55,_0x208786]=_0x266ee7[_0x56ea(0x27)](useState,''),[_0x156a5e,_0x574f5c]=_0x266ee7['LAsEd'](useState,null),[_0x274dfa,_0x202a70]=_0x266ee7[_0x56ea(0x28)](useState,![]),[_0x5440fe,_0x4cdbd6]=_0x266ee7[_0x56ea(0x29)](useState,![]),[_0x552f06,_0x4d55ae]=useState(_0x266ee7[_0x56ea(0x2a)]),[_0x2ea012,_0x1a1568]=_0x266ee7['tNlXV'](useState,![]);React['useEffect'](()=>{_0x266ee7[_0x56ea(0x2b)](_0x5195a8,!_0x2ea012)&&showBackgroundProgress&&(_0x266ee7[_0x56ea(0x2c)](_0x266ee7['pXifr'],_0x266ee7[_0x56ea(0x2d)])?(_0x266ee7[_0x56ea(0x2e)](_0x33a07b,_0x56ea(0xf)),_0x266ee7['LKXcR'](_0x349316)):(console[_0x56ea(0x2f)]('\uD83D\uDE80 [PIN INPUT] Background training explicitly requested...'),_0x266ee7[_0x56ea(0x2e)](_0x1a1568,!![]),_0x5195a8()['catch'](_0x1dadbd=>{console[_0x56ea(0x16)]('\u274C [PIN INPUT] Background training failed:',_0x1dadbd),_0x266ee7[_0x56ea(0x2e)](_0x1a1568,![]);})));},[_0x5195a8,_0x2ea012,showBackgroundProgress]);const _0x3f8664=_0x266ee7['rHDTB'](useCallback,_0xc9203e=>{const _0x4e8448={'UeIqv':_0x266ee7['bgqGr'],'hLFKw':function(_0x4ae3dd,_0x4f7181){return _0x266ee7[_0x56ea(0x30)](_0x4ae3dd,_0x4f7181);}};if(_0x266ee7['mQVTi'](_0x266ee7[_0x56ea(0x31)],_0x266ee7[_0x56ea(0x32)])){if(_0x266ee7[_0x56ea(0x33)](_0xc9203e[_0x56ea(0x34)],minLength))return _0x266ee7[_0x56ea(0x35)](_0x266ee7[_0x56ea(0x36)],_0x266ee7[_0x56ea(0x37)])?_0x56ea(0x38)+minLength+_0x56ea(0x39):_0x4e8448[_0x56ea(0x3a)];if(requireSpecialChar&&!/[!@#$%^&*(),.?":{}|<>]/[_0x56ea(0x3b)](_0xc9203e))return _0x266ee7[_0x56ea(0x3c)];if(requireNumber&&!/\d/[_0x56ea(0x3b)](_0xc9203e))return _0x266ee7[_0x56ea(0x3d)];return null;}else _0x3b3ea8[_0x56ea(0x3e)]('\u26A0️ [PIN INPUT] User chose to continue without biometric security'),_0x4e8448[_0x56ea(0x3f)](_0x48e77d,_0x7cc822);},[minLength,requireSpecialChar,requireNumber]),_0x5b520d=_0x266ee7['rHDTB'](useCallback,async()=>{const _0x294f24={'esmwU':function(_0x5d5975,_0x38aef6){return _0x266ee7[_0x56ea(0x40)](_0x5d5975,_0x38aef6);},'EoBZN':function(_0x190baf){return _0x266ee7[_0x56ea(0x41)](_0x190baf);},'mBarl':_0x266ee7['QYWJC']};console[_0x56ea(0x2f)]('\uD83D\uDD0D [PIN INPUT] handleSubmit called with PIN length:',_0x2ccf55[_0x56ea(0x34)]);const _0xd48e78=_0x266ee7[_0x56ea(0x2e)](_0x3f8664,_0x2ccf55);if(_0xd48e78){console[_0x56ea(0x2f)]('\u274C [PIN INPUT] Validation failed:',_0xd48e78),_0x266ee7['OtlsW'](_0x574f5c,_0xd48e78);return;}console[_0x56ea(0x2f)]('\u2705 [PIN INPUT] PIN validation passed');if(enableBiometricStorage){console[_0x56ea(0x2f)]('\uD83D\uDD10 [PIN INPUT] Biometric storage enabled, starting biometric flow...'),_0x4cdbd6(!![]),_0x4d55ae(_0x266ee7['HbwPT']);try{if(_0x266ee7[_0x56ea(0x42)]===_0x266ee7[_0x56ea(0x42)]){const _0x2b176b=await biometricPinService[_0x56ea(0x43)]();console[_0x56ea(0x2f)]('\uD83D\uDCF1 [PIN INPUT] Biometric available:',_0x2b176b);if(!_0x2b176b){if(_0x266ee7[_0x56ea(0x2c)](_0x266ee7['WYueb'],_0x56ea(0x44))){const _0x315a54={'QHNPL':function(_0x3e7807,_0x217168){return _0x294f24[_0x56ea(0x45)](_0x3e7807,_0x217168);}};_0x1fdc35[_0x56ea(0x2f)]('\uD83D\uDE80 [PIN INPUT] Background training explicitly requested...'),_0x294f24[_0x56ea(0x45)](_0x51bc2c,!![]),_0x294f24[_0x56ea(0x46)](_0x139eb4)[_0x56ea(0x47)](_0x2116cc=>{_0x47bc5e[_0x56ea(0x16)]('\u274C [PIN INPUT] Background training failed:',_0x2116cc),_0x315a54[_0x56ea(0x48)](_0x1456ac,![]);});}else{console[_0x56ea(0x16)]('\u274C [PIN INPUT] Face ID not available on this device'),_0x266ee7[_0x56ea(0x49)](_0x4d55ae,_0x266ee7[_0x56ea(0x4a)]),_0x266ee7['OtlsW'](_0x4cdbd6,![]);return;}}console[_0x56ea(0x2f)]('\uD83D\uDD10 [PIN INPUT] Triggering biometric authentication for PIN storage...');const _0x21507d=await biometricPinService[_0x56ea(0x4b)](_0x2ccf55);if(_0x21507d){if(_0x266ee7[_0x56ea(0x35)](_0x266ee7[_0x56ea(0x4c)],_0x266ee7[_0x56ea(0x4c)]))return _0x266ee7[_0x56ea(0x3d)];else{console['log']('\u2705 [PIN INPUT] PIN stored successfully with biometric protection');const _0x513eb9=await biometricPinService[_0x56ea(0x4d)]();_0x513eb9?(console['log']('\u2705 [PIN INPUT] PIN storage verified - proceeding with onboarding'),_0x266ee7[_0x56ea(0x4e)](_0x544be6,_0x2ccf55)):_0x266ee7[_0x56ea(0x4f)](_0x266ee7['zgvCo'],_0x266ee7[_0x56ea(0x50)])?(_0x5d18dd[_0x56ea(0x3e)]('\u26A0️ [PIN INPUT] Biometric authentication failed or was cancelled'),_0x266ee7[_0x56ea(0x2e)](_0x50766b,_0x56ea(0xd)),_0x266ee7[_0x56ea(0x2e)](_0x556feb,![])):(console['error']('\u274C [PIN INPUT] PIN storage verification failed'),_0x4d55ae(_0x266ee7[_0x56ea(0x51)]),_0x266ee7[_0x56ea(0x52)](_0x4cdbd6,![]));}}else console[_0x56ea(0x3e)]('\u26A0️ [PIN INPUT] Biometric authentication failed or was cancelled'),_0x266ee7[_0x56ea(0x40)](_0x4d55ae,_0x266ee7[_0x56ea(0x53)]),_0x4cdbd6(![]);}else{_0x5049c8[_0x56ea(0x16)]('\u274C [PIN INPUT] Face ID not available on this device'),_0x294f24[_0x56ea(0x45)](_0x581fda,_0x294f24[_0x56ea(0x54)]),_0x294f24['esmwU'](_0x15d6b8,![]);return;}}catch(_0x4fbca4){console['error']('\u274C [PIN INPUT] Error handling biometric PIN storage:',_0x4fbca4),_0x4d55ae(_0x56ea(0xc)),_0x4cdbd6(![]);}}else console[_0x56ea(0x2f)]('\uD83D\uDD10 [PIN INPUT] Biometric storage disabled, proceeding normally'),_0x266ee7['cPGzs'](_0x544be6,_0x2ccf55);},[_0x2ccf55,_0x3f8664,_0x544be6,enableBiometricStorage]),_0x4e1135=useCallback(_0xdf757a=>{if(_0x266ee7[_0x56ea(0x55)](_0x266ee7[_0x56ea(0x56)],_0x56ea(0x57)))_0x266ee7['OtlsW'](_0x208786,_0xdf757a),_0x266ee7[_0x56ea(0x40)](_0x574f5c,null),_0x266ee7['PfOwZ'](_0x4d55ae,_0x266ee7['julNT']),console[_0x56ea(0x2f)]('\uD83D\uDD0D [PIN INPUT] PIN changed:',{'length':_0xdf757a[_0x56ea(0x34)],'hasSpecialChar':/[!@#$%^&*(),.?":{}|<>]/[_0x56ea(0x3b)](_0xdf757a),'hasNumber':/\d/['test'](_0xdf757a),'isValid':!_0x3f8664(_0xdf757a)});else return'PIN\x20must\x20be\x20at\x20least\x20'+_0x1147aa+_0x56ea(0x39);},[_0x3f8664]),_0x2b62c5=_0x266ee7['PSgTS'](useCallback,()=>{console[_0x56ea(0x3e)]('\u26A0️ [PIN INPUT] User chose to continue without biometric security'),_0x266ee7['OkVQy'](_0x544be6,_0x2ccf55);},[_0x2ccf55,_0x544be6]),_0x2b2279=_0x266ee7[_0x56ea(0x58)](useCallback,()=>{_0x266ee7[_0x56ea(0x59)](_0x4d55ae,'default'),_0x266ee7[_0x56ea(0x5a)](_0x5b520d);},[_0x5b520d]),_0x494466=()=>{const _0x335f8f={'RaCAx':function(_0x4da642,_0x58d011){return _0x266ee7['pcOZk'](_0x4da642,_0x58d011);},'vHZWL':function(_0x24abaf,_0x1a353f){return _0x24abaf(_0x1a353f);},'qeHgK':function(_0x357815,_0x32bc12){return _0x266ee7[_0x56ea(0x27)](_0x357815,_0x32bc12);}};if(_0x266ee7[_0x56ea(0x5b)](_0x266ee7[_0x56ea(0x5c)],_0x266ee7[_0x56ea(0x5d)]))switch(_0x552f06){case _0x56ea(0x5e):return{'title':_0x266ee7[_0x56ea(0x5f)],'message':_0x56ea(0x60),'type':_0x266ee7[_0x56ea(0x61)],'showActions':!![]};case _0x266ee7[_0x56ea(0x53)]:return{'title':_0x266ee7[_0x56ea(0x62)],'message':_0x266ee7[_0x56ea(0x63)],'type':_0x266ee7[_0x56ea(0x61)],'showActions':!![]};case _0x266ee7[_0x56ea(0x51)]:return{'title':_0x266ee7[_0x56ea(0x64)],'message':_0x266ee7['byUwn'],'type':_0x266ee7[_0x56ea(0x65)],'showActions':!![]};case _0x266ee7[_0x56ea(0x66)]:return{'title':_0x266ee7[_0x56ea(0x67)],'message':_0x266ee7[_0x56ea(0x68)],'type':_0x56ea(0x1a),'showActions':![]};default:return{'title':_0x266ee7[_0x56ea(0x69)],'message':_0x56ea(0x6a),'type':_0x266ee7[_0x56ea(0x6b)],'showActions':![]};}else _0x335f8f[_0x56ea(0x6c)](_0x44ee74,_0x54aa10),_0x335f8f['RaCAx'](_0x5a1d15,null),_0x335f8f['vHZWL'](_0x3c78ce,_0x56ea(0xf)),_0x47ad99[_0x56ea(0x2f)]('\uD83D\uDD0D [PIN INPUT] PIN changed:',{'length':_0x56a68d[_0x56ea(0x34)],'hasSpecialChar':/[!@#$%^&*(),.?":{}|<>]/[_0x56ea(0x3b)](_0x3fda05),'hasNumber':/\d/[_0x56ea(0x3b)](_0x502cc8),'isValid':!_0x335f8f[_0x56ea(0x6d)](_0x55a676,_0x4d52b1)});},_0x48a217=_0x494466();return React[_0x56ea(0x6e)](View,{'style':styles[_0x56ea(0x6f)]},React[_0x56ea(0x6e)](View,{'style':styles[_0x56ea(0x70)]},React['createElement'](View,{'style':styles[_0x56ea(0x71)]},_0x590744&&React[_0x56ea(0x6e)](TouchableOpacity,{'style':styles[_0x56ea(0x72)],'onPress':_0x590744},React[_0x56ea(0x6e)](Text,{'style':{'fontSize':0x18}},'←')),React[_0x56ea(0x6e)](Text,{'style':styles[_0x56ea(0x73)]},_0x266ee7[_0x56ea(0x74)])),React['createElement'](Text,{'style':styles[_0x56ea(0x75)]},_0x266ee7['oYrUu']),_0x266ee7[_0x56ea(0x2b)](showBackgroundProgress,_0x2ea012)&&React[_0x56ea(0x6e)](View,{'style':styles['backgroundProgressContainer']},React[_0x56ea(0x6e)](Text,{'style':styles[_0x56ea(0x76)]},backgroundProgressText),React[_0x56ea(0x6e)](View,{'style':styles[_0x56ea(0x77)]},React[_0x56ea(0x6e)](ActivityIndicator,{'size':_0x266ee7[_0x56ea(0x78)],'color':_0x56ea(0x79)}))),React[_0x56ea(0x6e)](View,{'style':styles['inputContainer']},React['createElement'](TextInput,{'style':styles[_0x56ea(0x7a)],'value':_0x2ccf55,'onChangeText':_0x4e1135,'secureTextEntry':!_0x274dfa,'placeholder':_0x266ee7[_0x56ea(0x7b)],'keyboardType':_0x56ea(0xf),'maxLength':0x14,'autoCapitalize':_0x266ee7[_0x56ea(0x7c)],'autoCorrect':![],'returnKeyType':'done','onSubmitEditing':()=>Keyboard[_0x56ea(0x7d)]()}),React[_0x56ea(0x6e)](TouchableOpacity,{'style':styles['visibilityButton'],'onPress':()=>_0x202a70(!_0x274dfa)},React['createElement'](Text,null,_0x274dfa?_0x266ee7[_0x56ea(0x7e)]:_0x56ea(0x7f))))),_0x156a5e&&React[_0x56ea(0x6e)](Text,{'style':styles[_0x56ea(0x16)]},_0x156a5e),React[_0x56ea(0x6e)](View,{'style':styles[_0x56ea(0x80)]},React['createElement'](Text,{'style':styles['requirementTitle']},_0x56ea(0x81)),React[_0x56ea(0x6e)](Text,{'style':[styles[_0x56ea(0x82)],_0x266ee7[_0x56ea(0x83)](_0x2ccf55[_0x56ea(0x34)],minLength)&&styles[_0x56ea(0x84)]]},_0x266ee7[_0x56ea(0x85)],minLength,_0x56ea(0x39)),requireSpecialChar&&React[_0x56ea(0x6e)](Text,{'style':[styles[_0x56ea(0x82)],/[!@#$%^&*(),.?":{}|<>]/['test'](_0x2ccf55)&&styles[_0x56ea(0x84)]]},_0x266ee7[_0x56ea(0x86)]),requireNumber&&React[_0x56ea(0x6e)](Text,{'style':[styles[_0x56ea(0x82)],/\d/['test'](_0x2ccf55)&&styles[_0x56ea(0x84)]]},_0x266ee7[_0x56ea(0x87)])),React[_0x56ea(0x6e)](View,{'style':[styles[_0x56ea(0x88)],_0x266ee7[_0x56ea(0x89)](_0x48a217[_0x56ea(0x8a)],_0x266ee7[_0x56ea(0x6b)])&&styles[_0x56ea(0x8b)],_0x266ee7['GTQFs'](_0x48a217[_0x56ea(0x8a)],_0x266ee7[_0x56ea(0x61)])&&styles[_0x56ea(0x8c)],_0x266ee7[_0x56ea(0x8d)](_0x48a217['type'],_0x266ee7[_0x56ea(0x65)])&&styles[_0x56ea(0x8e)]]},React[_0x56ea(0x6e)](Text,{'style':[styles[_0x56ea(0x8f)],_0x48a217[_0x56ea(0x8a)]===_0x266ee7[_0x56ea(0x6b)]&&styles[_0x56ea(0x90)],_0x266ee7['dLmCc'](_0x48a217[_0x56ea(0x8a)],_0x266ee7['aSsye'])&&styles['infoTitleWarning'],_0x266ee7[_0x56ea(0x91)](_0x48a217['type'],_0x266ee7[_0x56ea(0x65)])&&styles[_0x56ea(0x92)]]},_0x48a217[_0x56ea(0x73)]),React[_0x56ea(0x6e)](Text,{'style':[styles[_0x56ea(0x93)],_0x266ee7['GetDh'](_0x48a217[_0x56ea(0x8a)],_0x266ee7[_0x56ea(0x6b)])&&styles[_0x56ea(0x94)],_0x266ee7['EzYzD'](_0x48a217[_0x56ea(0x8a)],_0x56ea(0x13))&&styles[_0x56ea(0x95)],_0x266ee7[_0x56ea(0x96)](_0x48a217[_0x56ea(0x8a)],_0x56ea(0x16))&&styles[_0x56ea(0x97)]]},_0x48a217[_0x56ea(0x98)]),_0x48a217[_0x56ea(0x99)]&&React[_0x56ea(0x6e)](View,{'style':styles[_0x56ea(0x9a)]},React[_0x56ea(0x6e)](TouchableOpacity,{'style':styles[_0x56ea(0x9b)],'onPress':_0x2b2279},React[_0x56ea(0x6e)](Text,{'style':styles['infoActionButtonText']},_0x266ee7['VoVmK'])),React[_0x56ea(0x6e)](TouchableOpacity,{'style':[styles[_0x56ea(0x9b)],styles[_0x56ea(0x9c)]],'onPress':_0x2b62c5},React[_0x56ea(0x6e)](Text,{'style':[styles['infoActionButtonText'],styles[_0x56ea(0x9d)]]},'Continue\x20Without\x20Biometric')))),React['createElement'](View,{'style':styles[_0x56ea(0x9e)]},_0x590744&&React['createElement'](TouchableOpacity,{'style':styles[_0x56ea(0x9f)],'onPress':_0x590744},React[_0x56ea(0x6e)](Text,{'style':styles[_0x56ea(0xa0)]},_0x266ee7['TfzeZ'])),React[_0x56ea(0x6e)](TouchableOpacity,{'style':[styles[_0x56ea(0xa1)],(_0x266ee7[_0x56ea(0xa2)](!_0x2ccf55,_0x5440fe)||_0x266ee7['OtlsW'](_0x3f8664,_0x2ccf55))&&styles['submitButtonDisabled']],'onPress':_0x5b520d,'disabled':_0x266ee7[_0x56ea(0xa2)](!_0x2ccf55,_0x5440fe)||!!_0x3f8664(_0x2ccf55)},React['createElement'](Text,{'style':styles[_0x56ea(0xa3)]},_0x5440fe?_0x56ea(0x17):_0x266ee7[_0x56ea(0xa4)]))));};function _0x2ddc(){const _0x28b3bb=['get','window','RFmoT','PIN\x20must\x20include\x20a\x20special\x20character','hjmsR','jYlhU','PIN\x20must\x20include\x20a\x20number','authenticating','DlPHI','YRBeV','dqCxm','IpPKy','storage-error','biometric-failed','pWkRr','default','XeVej','xSLmB','Biometric\x20Authentication\x20Not\x20Available','warning','Biometric\x20Authentication\x20Failed','Biometric\x20authentication\x20was\x20cancelled\x20or\x20failed.\x20Your\x20PIN\x20needs\x20to\x20be\x20secured\x20with\x20biometric\x20authentication\x20to\x20proceed.','error','Authenticating...','Please\x20complete\x20biometric\x20authentication\x20to\x20secure\x20your\x20PIN.','Secure\x20PIN\x20Storage','info','Create\x20a\x20PIN','A\x20PIN\x20so\x20only\x20you\x20have\x20access\x20to\x20your\x20data','small','e.g.\x20MyPin123!','none','👁️','•\x20At\x20least\x20','•\x20Include\x20a\x20special\x20character','•\x20Include\x20a\x20number','Try\x20Again','Back','Continue','cPGzs','CNoTg','uHOvF','julNT','MEeYR','MmFax','zXKth','OtlsW','log','PfOwZ','EFKAN','qdHri','PIZwn','length','mQVTi','LQfPd','nrrCV','PIN\x20must\x20be\x20at\x20least\x20','\x20characters','UeIqv','test','bgqGr','YfzMQ','warn','hLFKw','hfYfn','LKXcR','JuGNl','isBiometricAvailable','HPnDB','esmwU','EoBZN','catch','QHNPL','xFTox','QYWJC','storePinWithBiometric','DRAYh','isPinStored','yhfyk','muTMw','zgvCo','eLmZr','OkVQy','sSpxd','mBarl','qIrcW','oXePF','mWtWm','rHDTB','ScnNr','oTSAB','WMXxc','gCJOX','LbMBs','biometric-unavailable','WfFEw','This\x20device\x20does\x20not\x20support\x20Face\x20ID\x20or\x20Touch\x20ID.\x20Please\x20enable\x20biometric\x20authentication\x20in\x20your\x20device\x20settings\x20to\x20secure\x20your\x20PIN.','aSsye','UnGCC','iaRYh','qKWSI','kcsfP','HbwPT','aVamw','UYIev','hbIpj','Your\x20PIN\x20will\x20be\x20securely\x20stored\x20locally\x20on\x20your\x20device\x20using\x20biometric\x20authentication\x20(Face\x20ID\x20or\x20Touch\x20ID)\x20for\x20enhanced\x20security.','YBmQL','RaCAx','qeHgK','createElement','container','inputSection','header','backButton','title','TogCG','subtitle','backgroundProgressText','backgroundProgressIndicator','hpZwW','#007AFF','input','aArmv','VaICj','dismiss','tokcq','👁️🗨️','requirements','PIN\x20Requirements:','requirement','HTNOP','requirementMet','gsMqe','ATIZM','RGvdE','infoContainer','GTQFs','type','infoContainerInfo','infoContainerWarning','EzYzD','infoContainerError','infoTitle','infoTitleInfo','oTGFl','infoTitleError','infoMessage','infoMessageInfo','infoMessageWarning','dLmCc','infoMessageError','message','showActions','infoActions','infoActionButton','infoActionButtonSecondary','infoActionButtonSecondaryText','footer','cancelButton','cancelButtonText','submitButton','NPqgG','submitButtonText','esWEI','create','#fff','flex-start','100%','row','center','space-between','#333','#666','#CCCCCC','#E3F2FD','#2196F3','#FFF3E0','#FF9800','#F44336','600','#F57C00','#D32F2F','#1565C0','#C62828','transparent','#FF3B30','#34C759','#eee','#000000'];_0x2ddc=function(){return _0x28b3bb;};return _0x2ddc();}function _0x56ea(_0x2ddc0c,_0x56eaba){_0x2ddc0c=_0x2ddc0c-0x0;const _0x378c1e=_0x2ddc();let _0xe5d28d=_0x378c1e[_0x2ddc0c];return _0xe5d28d;}const styles=StyleSheet[_0x56ea(0xa5)]({'container':{'flex':0x1,'padding':0x10,'width':width,'backgroundColor':_0x56ea(0xa6),'justifyContent':_0x56ea(0xa7)},'inputSection':{'width':_0x56ea(0xa8),'marginTop':0x0,'paddingTop':0x0},'header':{'flexDirection':_0x56ea(0xa9),'alignItems':_0x56ea(0xaa),'justifyContent':_0x56ea(0xab),'marginBottom':0x10,'paddingVertical':0x8},'backButton':{'padding':0x8},'title':{'fontSize':0x14,'fontWeight':'600','color':_0x56ea(0xac),'textAlign':_0x56ea(0xaa),'flex':0x1,'marginBottom':0x8},'subtitle':{'fontSize':0xe,'color':_0x56ea(0xad),'marginBottom':0x18,'textAlign':_0x56ea(0xaa)},'inputContainer':{'flexDirection':_0x56ea(0xa9),'alignItems':_0x56ea(0xaa),'borderWidth':0x1,'borderColor':_0x56ea(0xae),'borderRadius':0x8,'marginBottom':0x10},'input':{'flex':0x1,'padding':0xc,'fontSize':0x10},'visibilityButton':{'padding':0xc},'infoContainer':{'padding':0x10,'borderRadius':0xc,'marginBottom':0x10,'borderWidth':0x1},'infoContainerInfo':{'backgroundColor':_0x56ea(0xaf),'borderColor':_0x56ea(0xb0)},'infoContainerWarning':{'backgroundColor':_0x56ea(0xb1),'borderColor':_0x56ea(0xb2)},'infoContainerError':{'backgroundColor':'#FFEBEE','borderColor':_0x56ea(0xb3)},'infoTitle':{'fontSize':0x10,'fontWeight':_0x56ea(0xb4),'marginBottom':0x8},'infoTitleInfo':{'color':'#1976D2'},'infoTitleWarning':{'color':_0x56ea(0xb5)},'infoTitleError':{'color':_0x56ea(0xb6)},'infoMessage':{'fontSize':0xe,'lineHeight':0x14,'marginBottom':0xc},'infoMessageInfo':{'color':_0x56ea(0xb7)},'infoMessageWarning':{'color':'#E65100'},'infoMessageError':{'color':_0x56ea(0xb8)},'infoActions':{'flexDirection':_0x56ea(0xa9),'justifyContent':_0x56ea(0xab),'marginTop':0x8},'infoActionButton':{'flex':0x1,'paddingVertical':0xa,'paddingHorizontal':0x10,'borderRadius':0x8,'backgroundColor':_0x56ea(0x79),'marginHorizontal':0x4,'alignItems':_0x56ea(0xaa)},'infoActionButtonSecondary':{'backgroundColor':_0x56ea(0xb9),'borderWidth':0x1,'borderColor':_0x56ea(0x79)},'infoActionButtonText':{'color':_0x56ea(0xa6),'fontSize':0xe,'fontWeight':'600'},'infoActionButtonSecondaryText':{'color':_0x56ea(0x79)},'error':{'color':_0x56ea(0xba),'marginBottom':0x10},'requirements':{'marginBottom':0x18},'requirementTitle':{'fontSize':0xe,'fontWeight':_0x56ea(0xb4),'marginBottom':0x8,'color':_0x56ea(0xac)},'requirement':{'fontSize':0xe,'color':_0x56ea(0xad),'marginBottom':0x4},'requirementMet':{'color':_0x56ea(0xbb)},'footer':{'flexDirection':_0x56ea(0xa9),'alignItems':_0x56ea(0xaa),'justifyContent':'space-between','marginTop':0x18,'borderTopWidth':0x1,'borderTopColor':_0x56ea(0xbc),'paddingTop':0x10},'cancelButton':{'paddingVertical':0x8,'paddingHorizontal':0x10},'cancelButtonText':{'color':'#666','fontSize':0x10},'submitButton':{'paddingVertical':0x10,'paddingHorizontal':0x20,'borderRadius':0x10,'backgroundColor':_0x56ea(0xbd),'alignItems':_0x56ea(0xaa)},'submitButtonDisabled':{'opacity':0.5},'submitButtonText':{'color':_0x56ea(0xa6),'fontSize':0x10,'fontWeight':'600'},'backgroundProgressContainer':{'flexDirection':'row','alignItems':'center','justifyContent':_0x56ea(0xaa),'marginBottom':0x10},'backgroundProgressText':{'fontSize':0xe,'color':_0x56ea(0xad),'marginRight':0xa},'backgroundProgressIndicator':{'padding':0x5}});
|
|
1
|
+
import React,{useState,useCallback}from'react';import{View,Text,StyleSheet,TextInput,TouchableOpacity,Dimensions,Keyboard,ActivityIndicator}from'react-native';import{biometricPinService}from'../services/biometricPinService';const {width}=Dimensions[_0x2072(0x0)](_0x2072(0x1));export const PinInput=({onSubmit:_0x52761e,minLength:minLength=0x8,requireSpecialChar:requireSpecialChar=!![],requireNumber:requireNumber=!![],onBack:_0x24e093,enableBiometricStorage:enableBiometricStorage=!![],onBackgroundTrainingStart:_0x3efd82,showBackgroundProgress:showBackgroundProgress=![],backgroundProgressText:backgroundProgressText='Training\x20is\x20starting\x20in\x20the\x20background...'})=>{const _0x25a7a1={'JUIUq':function(_0x164793,_0x1ca9f4){return _0x164793(_0x1ca9f4);},'sYfRs':function(_0x896e45,_0x4638b5){return _0x896e45(_0x4638b5);},'LEPCx':function(_0x25fd97){return _0x25fd97();},'twxQH':_0x2072(0x2),'CGBgH':_0x2072(0x3),'gOWOk':_0x2072(0x4),'lULiY':_0x2072(0x5),'dwJze':_0x2072(0x6),'jZssE':_0x2072(0x7),'qMcgi':_0x2072(0x8),'lLbGU':_0x2072(0x9),'brbMV':_0x2072(0xa),'qEkQw':_0x2072(0xb),'WBpfo':'info','ZEGax':function(_0x139b0d,_0x303274){return _0x139b0d<_0x303274;},'NKEXD':_0x2072(0xc),'JqAzG':function(_0x3f2a43,_0x14991e){return _0x3f2a43===_0x14991e;},'nNjuN':_0x2072(0xd),'bkkah':_0x2072(0xe),'fooZl':'PIN\x20must\x20include\x20a\x20number','fPTCz':function(_0xf222ed,_0x40285f){return _0xf222ed(_0x40285f);},'cIbeL':_0x2072(0xf),'psRqq':function(_0x35653f,_0x46498a){return _0x35653f(_0x46498a);},'LfNnP':function(_0x587f9f,_0x10a88d){return _0x587f9f(_0x10a88d);},'pvMXq':function(_0x244a20,_0xa8cec4){return _0x244a20(_0xa8cec4);},'nRpaq':function(_0x204259,_0x408fd3){return _0x204259(_0x408fd3);},'anpvU':function(_0x221ada,_0x33b824){return _0x221ada!==_0x33b824;},'NQKKn':_0x2072(0x10),'KCyuM':function(_0x26609e,_0x15045b){return _0x26609e(_0x15045b);},'gzSjr':function(_0x3e8c0a,_0x2b18d9){return _0x3e8c0a(_0x2b18d9);},'nsibH':function(_0x4340e5,_0x55f0b0){return _0x4340e5(_0x55f0b0);},'iexNF':_0x2072(0x11),'oLsie':_0x2072(0x12),'GJKBi':_0x2072(0x13),'lpgrv':function(_0x39387c,_0x2897b7){return _0x39387c(_0x2897b7);},'izJjp':function(_0xb5837d,_0x55d150){return _0xb5837d(_0x55d150);},'NDZKh':function(_0x2c5ad3,_0x37ad25){return _0x2c5ad3(_0x37ad25);},'gLdkA':_0x2072(0x14),'DSgXt':function(_0x223ff6,_0x4d015e){return _0x223ff6(_0x4d015e);},'wttXy':_0x2072(0x15),'YmGFC':function(_0x3fae82,_0x3ebf19){return _0x3fae82(_0x3ebf19);},'Wcyxr':function(_0x4f6965,_0x3b9297){return _0x4f6965!==_0x3b9297;},'xxkfD':'XAAkI','sInwC':function(_0x5e50c3){return _0x5e50c3();},'IHzvt':'Secure\x20PIN\x20Storage','OWfeY':function(_0x339833,_0x442669){return _0x339833(_0x442669);},'XsdLL':function(_0x1e5bb8,_0x1acd01){return _0x1e5bb8(_0x1acd01);},'IJSzJ':function(_0x31e300,_0x799d99){return _0x31e300(_0x799d99);},'Xcibz':function(_0x14ec65,_0x1c239f){return _0x14ec65(_0x1c239f);},'LoUEY':function(_0x5a6593,_0x11f62d,_0x3e5159){return _0x5a6593(_0x11f62d,_0x3e5159);},'HdDle':function(_0x35023a,_0x240033,_0x53c872){return _0x35023a(_0x240033,_0x53c872);},'HeMWt':function(_0xabb31){return _0xabb31();},'DBTtA':_0x2072(0x16),'qmCPU':function(_0x4a1883,_0x35f1a3){return _0x4a1883&&_0x35f1a3;},'xAQSL':_0x2072(0x17),'WvMHJ':_0x2072(0x18),'iwOhN':'none','dJgKu':_0x2072(0x19),'JQCGo':_0x2072(0x1a),'pRyrK':_0x2072(0x1b),'emTqu':function(_0x2316ed,_0x13266a){return _0x2316ed>=_0x13266a;},'sPvFL':_0x2072(0x1c),'zXuBx':'\x20characters','StITU':_0x2072(0x1d),'jsZoT':_0x2072(0x1e),'meHii':function(_0x3d402c,_0x35a808){return _0x3d402c===_0x35a808;},'hSdWQ':function(_0x5874c6,_0x4581ea){return _0x5874c6===_0x4581ea;},'rDkfd':'Try\x20Again','lhZUC':function(_0x508dda,_0x73c370){return _0x508dda||_0x73c370;},'sMFaR':function(_0x24a669,_0x4c35ef){return _0x24a669(_0x4c35ef);},'BfGpd':_0x2072(0x1f)},[_0x14b38c,_0x17f4cf]=_0x25a7a1['OWfeY'](useState,''),[_0x12d6b0,_0x323106]=_0x25a7a1[_0x2072(0x20)](useState,null),[_0x1e7ab6,_0x339c3c]=_0x25a7a1[_0x2072(0x21)](useState,![]),[_0x4f689b,_0xca3e8e]=_0x25a7a1[_0x2072(0x22)](useState,![]),[_0x5679e4,_0x19057b]=_0x25a7a1[_0x2072(0x23)](useState,_0x25a7a1['wttXy']),[_0x2d291e,_0x5810a1]=_0x25a7a1[_0x2072(0x24)](useState,![]);React[_0x2072(0x25)](()=>{_0x3efd82&&!_0x2d291e&&showBackgroundProgress&&(console[_0x2072(0x26)]('\uD83D\uDE80 [PIN INPUT] Background training explicitly requested...'),_0x25a7a1[_0x2072(0x22)](_0x5810a1,!![]),_0x25a7a1['LEPCx'](_0x3efd82)['catch'](_0x349c41=>{console[_0x2072(0x9)]('\u274C [PIN INPUT] Background training failed:',_0x349c41),_0x25a7a1[_0x2072(0x27)](_0x5810a1,![]);}));},[_0x3efd82,_0x2d291e,showBackgroundProgress]);const _0x1d6205=_0x25a7a1['LoUEY'](useCallback,_0x3d9495=>{if(_0x25a7a1[_0x2072(0x28)](_0x3d9495['length'],minLength))return _0x2072(0x29)+minLength+_0x2072(0x2a);if(requireSpecialChar&&!/[!@#$%^&*(),.?":{}|<>]/[_0x2072(0x2b)](_0x3d9495))return _0x25a7a1[_0x2072(0x2c)];if(requireNumber&&!/\d/[_0x2072(0x2b)](_0x3d9495)){if(_0x25a7a1[_0x2072(0x2d)](_0x25a7a1['nNjuN'],_0x25a7a1[_0x2072(0x2e)]))switch(_0x590315){case _0x2072(0xf):return{'title':_0x25a7a1[_0x2072(0x2f)],'message':_0x25a7a1['CGBgH'],'type':_0x25a7a1[_0x2072(0x30)],'showActions':!![]};case _0x25a7a1[_0x2072(0x31)]:return{'title':_0x2072(0x32),'message':_0x25a7a1[_0x2072(0x33)],'type':_0x25a7a1[_0x2072(0x30)],'showActions':!![]};case _0x2072(0x13):return{'title':_0x25a7a1[_0x2072(0x34)],'message':_0x25a7a1[_0x2072(0x35)],'type':_0x25a7a1[_0x2072(0x36)],'showActions':!![]};case _0x2072(0x37):return{'title':_0x25a7a1[_0x2072(0x38)],'message':_0x25a7a1[_0x2072(0x39)],'type':_0x25a7a1[_0x2072(0x3a)],'showActions':![]};default:return{'title':_0x2072(0x3b),'message':_0x2072(0x3c),'type':_0x2072(0x3d),'showActions':![]};}else return _0x25a7a1[_0x2072(0x3e)];}return null;},[minLength,requireSpecialChar,requireNumber]),_0x31ba94=_0x25a7a1[_0x2072(0x3f)](useCallback,async()=>{const _0x153256={'kbsIw':function(_0x4b0dce,_0x496a15){return _0x25a7a1[_0x2072(0x40)](_0x4b0dce,_0x496a15);}};console[_0x2072(0x26)]('\uD83D\uDD0D [PIN INPUT] handleSubmit called with PIN length:',_0x14b38c[_0x2072(0x41)]);const _0x4ab1e5=_0x25a7a1[_0x2072(0x42)](_0x1d6205,_0x14b38c);if(_0x4ab1e5){if(_0x25a7a1['anpvU'](_0x2072(0x43),_0x25a7a1[_0x2072(0x44)])){console[_0x2072(0x26)]('\u274C [PIN INPUT] Validation failed:',_0x4ab1e5),_0x25a7a1['KCyuM'](_0x323106,_0x4ab1e5);return;}else{_0xea572a['error']('\u274C [PIN INPUT] Face ID not available on this device'),_0x25a7a1[_0x2072(0x42)](_0x11abce,_0x25a7a1[_0x2072(0x45)]),_0x25a7a1[_0x2072(0x46)](_0x48ac12,![]);return;}}console[_0x2072(0x26)]('\u2705 [PIN INPUT] PIN validation passed');if(enableBiometricStorage){console[_0x2072(0x26)]('\uD83D\uDD10 [PIN INPUT] Biometric storage enabled, starting biometric flow...'),_0x25a7a1[_0x2072(0x47)](_0xca3e8e,!![]),_0x25a7a1[_0x2072(0x48)](_0x19057b,_0x2072(0x37));try{if(_0x25a7a1[_0x2072(0x2d)]('SgqNk',_0x25a7a1[_0x2072(0x49)]))_0x2c4ac6[_0x2072(0x26)]('\uD83D\uDD10 [PIN INPUT] Biometric storage disabled, proceeding normally'),_0x25a7a1[_0x2072(0x4a)](_0x43bf95,_0x2343c7);else{const _0x19a662=await biometricPinService[_0x2072(0x4b)]();console['log']('\uD83D\uDCF1 [PIN INPUT] Biometric available:',_0x19a662);if(!_0x19a662){if(_0x25a7a1[_0x2072(0x4c)](_0x25a7a1[_0x2072(0x4d)],_0x25a7a1['oLsie']))_0x2be5d1[_0x2072(0x26)]('\u2705 [PIN INPUT] PIN storage verified - proceeding with onboarding'),_0x25a7a1[_0x2072(0x4e)](_0x1f0331,_0x7b8009);else{console['error']('\u274C [PIN INPUT] Face ID not available on this device'),_0x19057b(_0x25a7a1['cIbeL']),_0x25a7a1['sYfRs'](_0xca3e8e,![]);return;}}console['log']('\uD83D\uDD10 [PIN INPUT] Triggering biometric authentication for PIN storage...');const _0x3b4122=await biometricPinService['storePinWithBiometric'](_0x14b38c);if(_0x3b4122){console[_0x2072(0x26)]('\u2705 [PIN INPUT] PIN stored successfully with biometric protection');const _0x3a6c24=await biometricPinService[_0x2072(0x4f)]();_0x3a6c24?_0x2072(0x50)!=='SiiIj'?(console['log']('\u2705 [PIN INPUT] PIN storage verified - proceeding with onboarding'),_0x52761e(_0x14b38c)):(_0x100b7e[_0x2072(0x51)]('\u26A0️ [PIN INPUT] User chose to continue without biometric security'),_0x153256[_0x2072(0x52)](_0x11f467,_0x1c6d01)):(console['error']('\u274C [PIN INPUT] PIN storage verification failed'),_0x25a7a1[_0x2072(0x4e)](_0x19057b,_0x25a7a1['GJKBi']),_0xca3e8e(![]));}else console['warn']('\u26A0️ [PIN INPUT] Biometric authentication failed or was cancelled'),_0x25a7a1[_0x2072(0x53)](_0x19057b,_0x25a7a1['lULiY']),_0xca3e8e(![]);}}catch(_0x314b61){console['error']('\u274C [PIN INPUT] Error handling biometric PIN storage:',_0x314b61),_0x19057b(_0x25a7a1[_0x2072(0x54)]),_0xca3e8e(![]);}}else console[_0x2072(0x26)]('\uD83D\uDD10 [PIN INPUT] Biometric storage disabled, proceeding normally'),_0x52761e(_0x14b38c);},[_0x14b38c,_0x1d6205,_0x52761e,enableBiometricStorage]),_0x153692=_0x25a7a1[_0x2072(0x3f)](useCallback,_0x497ddd=>{_0x25a7a1[_0x2072(0x55)]===_0x25a7a1[_0x2072(0x55)]?(_0x17f4cf(_0x497ddd),_0x25a7a1[_0x2072(0x56)](_0x323106,null),_0x25a7a1[_0x2072(0x47)](_0x19057b,_0x25a7a1[_0x2072(0x57)]),console[_0x2072(0x26)]('\uD83D\uDD0D [PIN INPUT] PIN changed:',{'length':_0x497ddd[_0x2072(0x41)],'hasSpecialChar':/[!@#$%^&*(),.?":{}|<>]/[_0x2072(0x2b)](_0x497ddd),'hasNumber':/\d/[_0x2072(0x2b)](_0x497ddd),'isValid':!_0x25a7a1[_0x2072(0x56)](_0x1d6205,_0x497ddd)})):(_0x31a8a2[_0x2072(0x9)]('\u274C [PIN INPUT] Error handling biometric PIN storage:',_0xa33305),_0x25a7a1['izJjp'](_0x14030e,_0x25a7a1[_0x2072(0x54)]),_0x25a7a1[_0x2072(0x20)](_0x4d7a1d,![]));},[_0x1d6205]),_0x2ff4db=_0x25a7a1[_0x2072(0x58)](useCallback,()=>{console[_0x2072(0x51)]('\u26A0️ [PIN INPUT] User chose to continue without biometric security'),_0x25a7a1[_0x2072(0x59)](_0x52761e,_0x14b38c);},[_0x14b38c,_0x52761e]),_0x169b7e=_0x25a7a1[_0x2072(0x3f)](useCallback,()=>{if(_0x25a7a1[_0x2072(0x5a)](_0x25a7a1[_0x2072(0x5b)],_0x25a7a1[_0x2072(0x5b)])){_0xa6cb75[_0x2072(0x26)]('\u274C [PIN INPUT] Validation failed:',_0x1f9a7c),_0x25a7a1[_0x2072(0x59)](_0x3460ae,_0x5b0f64);return;}else _0x25a7a1[_0x2072(0x27)](_0x19057b,_0x2072(0x15)),_0x25a7a1[_0x2072(0x5c)](_0x31ba94);},[_0x31ba94]),_0x47c107=()=>{switch(_0x5679e4){case _0x25a7a1[_0x2072(0x45)]:return{'title':_0x25a7a1['twxQH'],'message':_0x25a7a1['CGBgH'],'type':_0x25a7a1['gOWOk'],'showActions':!![]};case _0x2072(0x5):return{'title':_0x2072(0x32),'message':_0x25a7a1[_0x2072(0x33)],'type':_0x25a7a1[_0x2072(0x30)],'showActions':!![]};case'storage-error':return{'title':_0x25a7a1['jZssE'],'message':_0x25a7a1[_0x2072(0x35)],'type':_0x25a7a1['lLbGU'],'showActions':!![]};case _0x2072(0x37):return{'title':_0x25a7a1['brbMV'],'message':_0x25a7a1[_0x2072(0x39)],'type':_0x25a7a1[_0x2072(0x3a)],'showActions':![]};default:return{'title':_0x25a7a1[_0x2072(0x5d)],'message':'Your\x20PIN\x20will\x20be\x20securely\x20stored\x20locally\x20on\x20your\x20device\x20using\x20biometric\x20authentication\x20(Face\x20ID\x20or\x20Touch\x20ID)\x20for\x20enhanced\x20security.','type':_0x25a7a1[_0x2072(0x3a)],'showActions':![]};}},_0x5ce55b=_0x25a7a1[_0x2072(0x5e)](_0x47c107);return React[_0x2072(0x5f)](View,{'style':styles['container']},React[_0x2072(0x5f)](View,{'style':styles[_0x2072(0x60)]},React[_0x2072(0x5f)](View,{'style':styles[_0x2072(0x61)]},_0x24e093&&React[_0x2072(0x5f)](TouchableOpacity,{'style':styles[_0x2072(0x62)],'onPress':_0x24e093},React[_0x2072(0x5f)](Text,{'style':{'fontSize':0x18}},'←')),React[_0x2072(0x5f)](Text,{'style':styles[_0x2072(0x63)]},_0x2072(0x64))),React[_0x2072(0x5f)](Text,{'style':styles[_0x2072(0x65)]},_0x25a7a1[_0x2072(0x66)]),_0x25a7a1[_0x2072(0x67)](showBackgroundProgress,_0x2d291e)&&React['createElement'](View,{'style':styles['backgroundProgressContainer']},React['createElement'](Text,{'style':styles[_0x2072(0x68)]},backgroundProgressText),React[_0x2072(0x5f)](View,{'style':styles[_0x2072(0x69)]},React[_0x2072(0x5f)](ActivityIndicator,{'size':_0x25a7a1['xAQSL'],'color':_0x25a7a1[_0x2072(0x6a)]}))),React[_0x2072(0x5f)](View,{'style':styles['inputContainer']},React[_0x2072(0x5f)](TextInput,{'style':styles[_0x2072(0x6b)],'value':_0x14b38c,'onChangeText':_0x153692,'secureTextEntry':!_0x1e7ab6,'placeholder':'e.g.\x20MyPin123!','keyboardType':_0x25a7a1[_0x2072(0x57)],'maxLength':0x14,'autoCapitalize':_0x25a7a1[_0x2072(0x6c)],'autoCorrect':![],'returnKeyType':_0x25a7a1[_0x2072(0x6d)],'onSubmitEditing':()=>Keyboard[_0x2072(0x6e)]()}),React['createElement'](TouchableOpacity,{'style':styles[_0x2072(0x6f)],'onPress':()=>_0x339c3c(!_0x1e7ab6)},React['createElement'](Text,null,_0x1e7ab6?_0x25a7a1[_0x2072(0x70)]:_0x2072(0x71))))),_0x12d6b0&&React['createElement'](Text,{'style':styles['error']},_0x12d6b0),React[_0x2072(0x5f)](View,{'style':styles[_0x2072(0x72)]},React[_0x2072(0x5f)](Text,{'style':styles[_0x2072(0x73)]},_0x25a7a1[_0x2072(0x74)]),React[_0x2072(0x5f)](Text,{'style':[styles[_0x2072(0x75)],_0x25a7a1['emTqu'](_0x14b38c[_0x2072(0x41)],minLength)&&styles['requirementMet']]},_0x25a7a1[_0x2072(0x76)],minLength,_0x25a7a1[_0x2072(0x77)]),requireSpecialChar&&React[_0x2072(0x5f)](Text,{'style':[styles[_0x2072(0x75)],/[!@#$%^&*(),.?":{}|<>]/[_0x2072(0x2b)](_0x14b38c)&&styles[_0x2072(0x78)]]},_0x25a7a1['StITU']),requireNumber&&React[_0x2072(0x5f)](Text,{'style':[styles[_0x2072(0x75)],/\d/['test'](_0x14b38c)&&styles['requirementMet']]},_0x25a7a1['jsZoT'])),React[_0x2072(0x5f)](View,{'style':[styles[_0x2072(0x79)],_0x25a7a1[_0x2072(0x2d)](_0x5ce55b['type'],_0x2072(0x3d))&&styles['infoContainerInfo'],_0x5ce55b[_0x2072(0x7a)]===_0x25a7a1[_0x2072(0x30)]&&styles['infoContainerWarning'],_0x25a7a1['JqAzG'](_0x5ce55b[_0x2072(0x7a)],_0x25a7a1['lLbGU'])&&styles[_0x2072(0x7b)]]},React[_0x2072(0x5f)](Text,{'style':[styles['infoTitle'],_0x25a7a1[_0x2072(0x2d)](_0x5ce55b[_0x2072(0x7a)],_0x2072(0x3d))&&styles[_0x2072(0x7c)],_0x25a7a1['meHii'](_0x5ce55b[_0x2072(0x7a)],_0x25a7a1[_0x2072(0x30)])&&styles[_0x2072(0x7d)],_0x25a7a1[_0x2072(0x7e)](_0x5ce55b['type'],_0x25a7a1[_0x2072(0x36)])&&styles['infoTitleError']]},_0x5ce55b[_0x2072(0x63)]),React[_0x2072(0x5f)](Text,{'style':[styles[_0x2072(0x7f)],_0x5ce55b[_0x2072(0x7a)]==='info'&&styles['infoMessageInfo'],_0x25a7a1[_0x2072(0x80)](_0x5ce55b[_0x2072(0x7a)],_0x25a7a1[_0x2072(0x30)])&&styles[_0x2072(0x81)],_0x5ce55b[_0x2072(0x7a)]===_0x25a7a1[_0x2072(0x36)]&&styles[_0x2072(0x82)]]},_0x5ce55b[_0x2072(0x83)]),_0x5ce55b['showActions']&&React['createElement'](View,{'style':styles[_0x2072(0x84)]},React[_0x2072(0x5f)](TouchableOpacity,{'style':styles[_0x2072(0x85)],'onPress':_0x169b7e},React[_0x2072(0x5f)](Text,{'style':styles[_0x2072(0x86)]},_0x25a7a1[_0x2072(0x87)])),React['createElement'](TouchableOpacity,{'style':[styles[_0x2072(0x85)],styles[_0x2072(0x88)]],'onPress':_0x2ff4db},React[_0x2072(0x5f)](Text,{'style':[styles['infoActionButtonText'],styles[_0x2072(0x89)]]},_0x2072(0x8a))))),React[_0x2072(0x5f)](View,{'style':styles[_0x2072(0x8b)]},_0x24e093&&React[_0x2072(0x5f)](TouchableOpacity,{'style':styles[_0x2072(0x8c)],'onPress':_0x24e093},React[_0x2072(0x5f)](Text,{'style':styles['cancelButtonText']},'Back')),React[_0x2072(0x5f)](TouchableOpacity,{'style':[styles[_0x2072(0x8d)],(!_0x14b38c||_0x4f689b||_0x1d6205(_0x14b38c))&&styles['submitButtonDisabled']],'onPress':_0x31ba94,'disabled':_0x25a7a1[_0x2072(0x8e)](!_0x14b38c,_0x4f689b)||!!_0x25a7a1['sMFaR'](_0x1d6205,_0x14b38c)},React[_0x2072(0x5f)](Text,{'style':styles[_0x2072(0x8f)]},_0x4f689b?_0x25a7a1[_0x2072(0x38)]:_0x25a7a1[_0x2072(0x90)]))));};function _0x40d2(){const _0x3c537d=['get','window','Biometric\x20Authentication\x20Not\x20Available','This\x20device\x20does\x20not\x20support\x20Face\x20ID\x20or\x20Touch\x20ID.\x20Please\x20enable\x20biometric\x20authentication\x20in\x20your\x20device\x20settings\x20to\x20secure\x20your\x20PIN.','warning','biometric-failed','Biometric\x20authentication\x20was\x20cancelled\x20or\x20failed.\x20Your\x20PIN\x20needs\x20to\x20be\x20secured\x20with\x20biometric\x20authentication\x20to\x20proceed.','Storage\x20Error','An\x20error\x20occurred\x20while\x20securing\x20your\x20PIN.\x20Would\x20you\x20like\x20to\x20try\x20again?','error','Authenticating...','Please\x20complete\x20biometric\x20authentication\x20to\x20secure\x20your\x20PIN.','PIN\x20must\x20include\x20a\x20special\x20character','UrvQe','pgoNg','biometric-unavailable','wOFUc','VTlwU','gtfZI','storage-error','uBpwv','default','A\x20PIN\x20so\x20only\x20you\x20have\x20access\x20to\x20your\x20data','small','#007AFF','done','👁️','PIN\x20Requirements:','•\x20At\x20least\x20','•\x20Include\x20a\x20special\x20character','•\x20Include\x20a\x20number','Continue','NDZKh','XsdLL','sYfRs','IJSzJ','Xcibz','useEffect','log','JUIUq','ZEGax','PIN\x20must\x20be\x20at\x20least\x20','\x20characters','test','NKEXD','JqAzG','bkkah','twxQH','gOWOk','lULiY','Biometric\x20Authentication\x20Failed','dwJze','jZssE','qMcgi','lLbGU','authenticating','brbMV','qEkQw','WBpfo','Secure\x20PIN\x20Storage','Your\x20PIN\x20will\x20be\x20securely\x20stored\x20locally\x20on\x20your\x20device\x20using\x20biometric\x20authentication\x20(Face\x20ID\x20or\x20Touch\x20ID)\x20for\x20enhanced\x20security.','info','fooZl','LoUEY','nRpaq','length','fPTCz','fqqip','NQKKn','cIbeL','psRqq','gzSjr','nsibH','iexNF','LfNnP','isBiometricAvailable','anpvU','oLsie','pvMXq','isPinStored','hasOJ','warn','kbsIw','lpgrv','GJKBi','gLdkA','DSgXt','wttXy','HdDle','YmGFC','Wcyxr','xxkfD','sInwC','IHzvt','HeMWt','createElement','inputSection','header','backButton','title','Create\x20a\x20PIN','subtitle','DBTtA','qmCPU','backgroundProgressText','backgroundProgressIndicator','WvMHJ','input','iwOhN','dJgKu','dismiss','visibilityButton','JQCGo','👁️🗨️','requirements','requirementTitle','pRyrK','requirement','sPvFL','zXuBx','requirementMet','infoContainer','type','infoContainerError','infoTitleInfo','infoTitleWarning','meHii','infoMessage','hSdWQ','infoMessageWarning','infoMessageError','message','infoActions','infoActionButton','infoActionButtonText','rDkfd','infoActionButtonSecondary','infoActionButtonSecondaryText','Continue\x20Without\x20Biometric','footer','cancelButton','submitButton','lhZUC','submitButtonText','BfGpd','row','center','space-between','600','#333','#666','#CCCCCC','#FFEBEE','#F44336','#F57C00','#D32F2F','#1565C0','#C62828','#fff','#FF3B30','#eee'];_0x40d2=function(){return _0x3c537d;};return _0x40d2();}function _0x2072(_0x40d272,_0x2072f6){_0x40d272=_0x40d272-0x0;const _0x434219=_0x40d2();let _0x5f056a=_0x434219[_0x40d272];return _0x5f056a;}const styles=StyleSheet['create']({'container':{'flex':0x1,'padding':0x10,'width':width,'backgroundColor':'#fff','justifyContent':'flex-start'},'inputSection':{'width':'100%','marginTop':0x0,'paddingTop':0x0},'header':{'flexDirection':_0x2072(0x91),'alignItems':_0x2072(0x92),'justifyContent':_0x2072(0x93),'marginBottom':0x10,'paddingVertical':0x8},'backButton':{'padding':0x8},'title':{'fontSize':0x14,'fontWeight':_0x2072(0x94),'color':_0x2072(0x95),'textAlign':_0x2072(0x92),'flex':0x1,'marginBottom':0x8},'subtitle':{'fontSize':0xe,'color':_0x2072(0x96),'marginBottom':0x18,'textAlign':_0x2072(0x92)},'inputContainer':{'flexDirection':_0x2072(0x91),'alignItems':'center','borderWidth':0x1,'borderColor':_0x2072(0x97),'borderRadius':0x8,'marginBottom':0x10},'input':{'flex':0x1,'padding':0xc,'fontSize':0x10},'visibilityButton':{'padding':0xc},'infoContainer':{'padding':0x10,'borderRadius':0xc,'marginBottom':0x10,'borderWidth':0x1},'infoContainerInfo':{'backgroundColor':'#E3F2FD','borderColor':'#2196F3'},'infoContainerWarning':{'backgroundColor':'#FFF3E0','borderColor':'#FF9800'},'infoContainerError':{'backgroundColor':_0x2072(0x98),'borderColor':_0x2072(0x99)},'infoTitle':{'fontSize':0x10,'fontWeight':_0x2072(0x94),'marginBottom':0x8},'infoTitleInfo':{'color':'#1976D2'},'infoTitleWarning':{'color':_0x2072(0x9a)},'infoTitleError':{'color':_0x2072(0x9b)},'infoMessage':{'fontSize':0xe,'lineHeight':0x14,'marginBottom':0xc},'infoMessageInfo':{'color':_0x2072(0x9c)},'infoMessageWarning':{'color':'#E65100'},'infoMessageError':{'color':_0x2072(0x9d)},'infoActions':{'flexDirection':_0x2072(0x91),'justifyContent':_0x2072(0x93),'marginTop':0x8},'infoActionButton':{'flex':0x1,'paddingVertical':0xa,'paddingHorizontal':0x10,'borderRadius':0x8,'backgroundColor':_0x2072(0x18),'marginHorizontal':0x4,'alignItems':'center'},'infoActionButtonSecondary':{'backgroundColor':'transparent','borderWidth':0x1,'borderColor':_0x2072(0x18)},'infoActionButtonText':{'color':_0x2072(0x9e),'fontSize':0xe,'fontWeight':_0x2072(0x94)},'infoActionButtonSecondaryText':{'color':_0x2072(0x18)},'error':{'color':_0x2072(0x9f),'marginBottom':0x10},'requirements':{'marginBottom':0x18},'requirementTitle':{'fontSize':0xe,'fontWeight':_0x2072(0x94),'marginBottom':0x8,'color':'#333'},'requirement':{'fontSize':0xe,'color':'#666','marginBottom':0x4},'requirementMet':{'color':'#34C759'},'footer':{'flexDirection':_0x2072(0x91),'alignItems':_0x2072(0x92),'justifyContent':_0x2072(0x93),'marginTop':0x18,'borderTopWidth':0x1,'borderTopColor':_0x2072(0xa0),'paddingTop':0x10},'cancelButton':{'paddingVertical':0x8,'paddingHorizontal':0x10},'cancelButtonText':{'color':_0x2072(0x96),'fontSize':0x10},'submitButton':{'paddingVertical':0x10,'paddingHorizontal':0x20,'borderRadius':0x10,'backgroundColor':'#000000','alignItems':'center'},'submitButtonDisabled':{'opacity':0.5},'submitButtonText':{'color':'#fff','fontSize':0x10,'fontWeight':_0x2072(0x94)},'backgroundProgressContainer':{'flexDirection':_0x2072(0x91),'alignItems':_0x2072(0x92),'justifyContent':_0x2072(0x92),'marginBottom':0x10},'backgroundProgressText':{'fontSize':0xe,'color':_0x2072(0x96),'marginRight':0xa},'backgroundProgressIndicator':{'padding':0x5}});
|