@onairos/react-native 3.7.1 → 3.7.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/commonjs/api/index.js +219 -9
- package/lib/commonjs/assets/icons/spotify.png +0 -0
- package/lib/commonjs/assets/images/spotify.png +0 -0
- package/lib/commonjs/components/BodyText.js +27 -9
- package/lib/commonjs/components/BrandMark.js +111 -10
- package/lib/commonjs/components/CodeInput.js +116 -9
- package/lib/commonjs/components/EmailInput.js +30 -8
- package/lib/commonjs/components/GoogleButton.js +56 -9
- package/lib/commonjs/components/HeadingGroup.js +43 -9
- package/lib/commonjs/components/LLMDataInputModal.js +664 -14
- package/lib/commonjs/components/ModalHeader.js +99 -9
- package/lib/commonjs/components/ModalSheet.js +47 -9
- package/lib/commonjs/components/Onairos.js +380 -14
- package/lib/commonjs/components/OnairosButton.js +313 -13
- package/lib/commonjs/components/OnairosSignInButton.js +130 -12
- package/lib/commonjs/components/Overlay.js +465 -13
- package/lib/commonjs/components/PersonaImage.js +137 -10
- package/lib/commonjs/components/PersonaLoadingScreen.js +318 -12
- package/lib/commonjs/components/PersonalizationConsentScreen.js +467 -13
- package/lib/commonjs/components/PinCreationScreen.js +403 -12
- package/lib/commonjs/components/PinInput.js +464 -9
- package/lib/commonjs/components/PlatformConnectorsStep.js +1311 -23
- package/lib/commonjs/components/PlatformList.js +137 -10
- package/lib/commonjs/components/PlatformToggle.js +180 -9
- package/lib/commonjs/components/PrimaryButton.js +180 -10
- package/lib/commonjs/components/SignInMatchAnimation.js +197 -9
- package/lib/commonjs/components/SignInStep.js +345 -12
- package/lib/commonjs/components/UniversalOnboarding.js +2780 -30
- package/lib/commonjs/components/VerificationStep.js +176 -11
- package/lib/commonjs/components/WelcomeScreen.js +461 -22
- package/lib/commonjs/components/icons/Basicproficon.js +37 -8
- package/lib/commonjs/components/icons/Basicprofile.js +21 -8
- package/lib/commonjs/components/icons/Checkbox.js +21 -8
- package/lib/commonjs/components/icons/Checkmark.js +27 -8
- package/lib/commonjs/components/icons/Contentanalysis.js +21 -8
- package/lib/commonjs/components/icons/Contenticon.js +39 -8
- package/lib/commonjs/components/icons/EnochE.js +41 -8
- package/lib/commonjs/components/icons/Personalityicon.js +30 -8
- package/lib/commonjs/components/icons/Personalityprofile.js +21 -8
- package/lib/commonjs/components/icons/Personalitytraits.js +21 -8
- package/lib/commonjs/components/icons/Userpreferences.js +21 -8
- package/lib/commonjs/components/icons/index.js +84 -17
- package/lib/commonjs/components/onboarding/OAuthWebView.js +1754 -18
- package/lib/commonjs/components/onboarding/OnboardingHeader.js +74 -10
- package/lib/commonjs/components/onboarding/PinInput.js +283 -10
- package/lib/commonjs/components/onboarding/PlatformConnector.js +249 -11
- package/lib/commonjs/config/PLATFORM_APIS.md +849 -0
- package/lib/commonjs/config/api.js +56 -7
- package/lib/commonjs/constants/index.js +120 -7
- package/lib/commonjs/context/AuthContext.js +345 -10
- package/lib/commonjs/hooks/useConnectedAccounts.js +111 -9
- package/lib/commonjs/hooks/useConnections.js +102 -8
- package/lib/commonjs/hooks/useCredentials.js +178 -10
- package/lib/commonjs/hooks/useUserConnections.js +148 -10
- package/lib/commonjs/index.js +439 -34
- package/lib/commonjs/services/apiClient.js +298 -8
- package/lib/commonjs/services/biometricPinService.js +180 -8
- package/lib/commonjs/services/chatGPTConversationExtractor.js +155 -8
- package/lib/commonjs/services/chatGPTConversationService.js +275 -9
- package/lib/commonjs/services/claudeConversationExtractor.js +103 -8
- package/lib/commonjs/services/claudeConversationService.js +158 -9
- package/lib/commonjs/services/connectedAccountsService.js +310 -10
- package/lib/commonjs/services/googleAuthService.js +252 -11
- package/lib/commonjs/services/hingeDataExtractor.js +105 -8
- package/lib/commonjs/services/hingeDataService.js +150 -9
- package/lib/commonjs/services/imageCompressionService.js +260 -7
- package/lib/commonjs/services/instagramDataExtractor.js +126 -8
- package/lib/commonjs/services/instagramDataService.js +163 -9
- package/lib/commonjs/services/jwtStorageService.js +276 -7
- package/lib/commonjs/services/linkedinDOMExtractor.js +245 -7
- package/lib/commonjs/services/linkedinProfileService.js +222 -9
- package/lib/commonjs/services/linkedinScrapingService.js +230 -8
- package/lib/commonjs/services/llmDataStorage.js +294 -8
- package/lib/commonjs/services/mobileTrainingService.js +186 -8
- package/lib/commonjs/services/netflixDataExtractor.js +120 -8
- package/lib/commonjs/services/netflixDataService.js +198 -9
- package/lib/commonjs/services/pinEncryptionService.js +84 -8
- package/lib/commonjs/services/pinStorageUtils.js +105 -7
- package/lib/commonjs/services/platformAuthService.js +1484 -12
- package/lib/commonjs/services/sephoraDataExtractor.js +140 -8
- package/lib/commonjs/services/sephoraDataService.js +200 -9
- package/lib/commonjs/services/spotifyDataExtractor.js +148 -8
- package/lib/commonjs/services/spotifyDataService.js +241 -9
- package/lib/commonjs/services/storageService.js +404 -8
- package/lib/commonjs/services/telegramDataExtractor.js +115 -8
- package/lib/commonjs/services/telegramDataService.js +499 -9
- package/lib/commonjs/services/trainingApiHelpers.js +73 -7
- package/lib/commonjs/services/userConnectionsService.js +340 -10
- package/lib/commonjs/services/youtubeMigrationService.js +416 -10
- package/lib/commonjs/theme/index.js +250 -7
- package/lib/commonjs/types/ambient.d.js +2 -1
- package/lib/commonjs/types/declarations.d.js +2 -1
- package/lib/commonjs/types/index.js +6 -1
- package/lib/commonjs/types/node-fix.d.js +2 -1
- package/lib/commonjs/types/node-override.d.js +2 -1
- package/lib/commonjs/types/opacity.d.js +2 -1
- package/lib/commonjs/types.js +14 -1
- package/lib/commonjs/utils/Portal.js +98 -8
- package/lib/commonjs/utils/api.js +130 -9
- package/lib/commonjs/utils/assetRegistry.js +210 -35
- package/lib/commonjs/utils/auth.js +112 -9
- package/lib/commonjs/utils/connectorTests.js +613 -29
- package/lib/commonjs/utils/crypto.js +62 -8
- package/lib/commonjs/utils/debugHelper.js +64 -1
- package/lib/commonjs/utils/encryption.js +76 -7
- package/lib/commonjs/utils/eventUtils.js +288 -1
- package/lib/commonjs/utils/haptics.js +66 -9
- package/lib/commonjs/utils/imagePreloader.js +6 -1
- package/lib/commonjs/utils/networkDiagnostics.js +226 -8
- package/lib/commonjs/utils/onairosApi.js +350 -9
- package/lib/commonjs/utils/programmaticFlow.js +117 -9
- package/lib/commonjs/utils/retryHelper.js +220 -1
- package/lib/commonjs/utils/secureStorage.js +349 -10
- package/lib/commonjs/utils/webviewScripts/chatgpt.js +551 -1
- package/lib/commonjs/utils/webviewScripts/claude.js +376 -1
- package/lib/commonjs/utils/webviewScripts/hinge.js +411 -1
- package/lib/commonjs/utils/webviewScripts/index.js +698 -15
- package/lib/commonjs/utils/webviewScripts/instagram.js +454 -1
- package/lib/commonjs/utils/webviewScripts/linkedin.js +880 -1
- package/lib/commonjs/utils/webviewScripts/netflix.js +382 -1
- package/lib/commonjs/utils/webviewScripts/sephora.js +516 -1
- package/lib/commonjs/utils/webviewScripts/spotify.js +419 -1
- package/lib/commonjs/utils/webviewScripts/telegram.js +678 -1
- package/lib/module/api/index.js +211 -1
- package/lib/module/assets/icons/spotify.png +0 -0
- package/lib/module/assets/images/spotify.png +0 -0
- package/lib/module/components/BodyText.js +20 -1
- package/lib/module/components/BrandMark.js +104 -1
- package/lib/module/components/CodeInput.js +109 -1
- package/lib/module/components/EmailInput.js +23 -1
- package/lib/module/components/GoogleButton.js +49 -1
- package/lib/module/components/HeadingGroup.js +36 -1
- package/lib/module/components/LLMDataInputModal.js +656 -7
- package/lib/module/components/ModalHeader.js +92 -1
- package/lib/module/components/ModalSheet.js +39 -1
- package/lib/module/components/Onairos.js +373 -1
- package/lib/module/components/OnairosButton.js +305 -1
- package/lib/module/components/OnairosSignInButton.js +121 -1
- package/lib/module/components/Overlay.js +456 -1
- package/lib/module/components/PersonaImage.js +129 -1
- package/lib/module/components/PersonaLoadingScreen.js +310 -1
- package/lib/module/components/PersonalizationConsentScreen.js +460 -1
- package/lib/module/components/PinCreationScreen.js +396 -1
- package/lib/module/components/PinInput.js +456 -1
- package/lib/module/components/PlatformConnectorsStep.js +1302 -6
- package/lib/module/components/PlatformList.js +129 -1
- package/lib/module/components/PlatformToggle.js +173 -1
- package/lib/module/components/PrimaryButton.js +172 -1
- package/lib/module/components/SignInMatchAnimation.js +189 -1
- package/lib/module/components/SignInStep.js +338 -1
- package/lib/module/components/UniversalOnboarding.js +2770 -1
- package/lib/module/components/VerificationStep.js +168 -1
- package/lib/module/components/WelcomeScreen.js +453 -1
- package/lib/module/components/icons/Basicproficon.js +30 -1
- package/lib/module/components/icons/Basicprofile.js +14 -1
- package/lib/module/components/icons/Checkbox.js +14 -1
- package/lib/module/components/icons/Checkmark.js +20 -1
- package/lib/module/components/icons/Contentanalysis.js +14 -1
- package/lib/module/components/icons/Contenticon.js +32 -1
- package/lib/module/components/icons/EnochE.js +34 -1
- package/lib/module/components/icons/Personalityicon.js +23 -1
- package/lib/module/components/icons/Personalityprofile.js +14 -1
- package/lib/module/components/icons/Personalitytraits.js +14 -1
- package/lib/module/components/icons/Userpreferences.js +14 -1
- package/lib/module/components/icons/index.js +13 -1
- package/lib/module/components/onboarding/OAuthWebView.js +1746 -1
- package/lib/module/components/onboarding/OnboardingHeader.js +66 -1
- package/lib/module/components/onboarding/PinInput.js +274 -1
- package/lib/module/components/onboarding/PlatformConnector.js +240 -1
- package/lib/module/config/PLATFORM_APIS.md +849 -0
- package/lib/module/config/api.js +47 -1
- package/lib/module/constants/index.js +114 -1
- package/lib/module/context/AuthContext.js +335 -1
- package/lib/module/hooks/useConnectedAccounts.js +106 -1
- package/lib/module/hooks/useConnections.js +95 -1
- package/lib/module/hooks/useCredentials.js +171 -6
- package/lib/module/hooks/useUserConnections.js +140 -1
- package/lib/module/index.js +172 -1
- package/lib/module/services/apiClient.js +295 -1
- package/lib/module/services/biometricPinService.js +169 -1
- package/lib/module/services/chatGPTConversationExtractor.js +149 -1
- package/lib/module/services/chatGPTConversationService.js +268 -1
- package/lib/module/services/claudeConversationExtractor.js +97 -1
- package/lib/module/services/claudeConversationService.js +151 -1
- package/lib/module/services/connectedAccountsService.js +293 -1
- package/lib/module/services/googleAuthService.js +241 -1
- package/lib/module/services/hingeDataExtractor.js +99 -1
- package/lib/module/services/hingeDataService.js +143 -1
- package/lib/module/services/imageCompressionService.js +250 -1
- package/lib/module/services/instagramDataExtractor.js +120 -1
- package/lib/module/services/instagramDataService.js +156 -1
- package/lib/module/services/jwtStorageService.js +257 -1
- package/lib/module/services/linkedinDOMExtractor.js +234 -1
- package/lib/module/services/linkedinProfileService.js +210 -1
- package/lib/module/services/linkedinScrapingService.js +219 -1
- package/lib/module/services/llmDataStorage.js +277 -1
- package/lib/module/services/mobileTrainingService.js +173 -1
- package/lib/module/services/netflixDataExtractor.js +114 -1
- package/lib/module/services/netflixDataService.js +191 -1
- package/lib/module/services/pinEncryptionService.js +74 -6
- package/lib/module/services/pinStorageUtils.js +93 -1
- package/lib/module/services/platformAuthService.js +1461 -1
- package/lib/module/services/sephoraDataExtractor.js +134 -1
- package/lib/module/services/sephoraDataService.js +193 -1
- package/lib/module/services/spotifyDataExtractor.js +142 -1
- package/lib/module/services/spotifyDataService.js +234 -1
- package/lib/module/services/storageService.js +383 -1
- package/lib/module/services/telegramDataExtractor.js +109 -1
- package/lib/module/services/telegramDataService.js +493 -1
- package/lib/module/services/trainingApiHelpers.js +67 -1
- package/lib/module/services/userConnectionsService.js +329 -1
- package/lib/module/services/youtubeMigrationService.js +405 -1
- package/lib/module/theme/index.js +245 -1
- package/lib/module/types.js +10 -1
- package/lib/module/utils/Portal.js +90 -1
- package/lib/module/utils/api.js +118 -1
- package/lib/module/utils/assetRegistry.js +200 -34
- package/lib/module/utils/auth.js +100 -1
- package/lib/module/utils/connectorTests.js +600 -27
- package/lib/module/utils/crypto.js +54 -1
- package/lib/module/utils/debugHelper.js +54 -1
- package/lib/module/utils/encryption.js +67 -1
- package/lib/module/utils/eventUtils.js +270 -1
- package/lib/module/utils/haptics.js +59 -8
- package/lib/module/utils/imagePreloader.js +3 -1
- package/lib/module/utils/networkDiagnostics.js +217 -1
- package/lib/module/utils/onairosApi.js +333 -1
- package/lib/module/utils/programmaticFlow.js +111 -1
- package/lib/module/utils/retryHelper.js +211 -1
- package/lib/module/utils/secureStorage.js +330 -6
- package/lib/module/utils/webviewScripts/chatgpt.js +545 -1
- package/lib/module/utils/webviewScripts/claude.js +370 -1
- package/lib/module/utils/webviewScripts/hinge.js +405 -1
- package/lib/module/utils/webviewScripts/index.js +434 -1
- package/lib/module/utils/webviewScripts/instagram.js +448 -1
- package/lib/module/utils/webviewScripts/linkedin.js +874 -1
- package/lib/module/utils/webviewScripts/netflix.js +376 -1
- package/lib/module/utils/webviewScripts/sephora.js +510 -1
- package/lib/module/utils/webviewScripts/spotify.js +413 -1
- package/lib/module/utils/webviewScripts/telegram.js +672 -1
- package/package.json +2 -2
|
@@ -1 +1,396 @@
|
|
|
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
|
+
import React, { useState, useEffect } from 'react';
|
|
2
|
+
import { View, Text, StyleSheet, TouchableOpacity, TextInput, Alert, ActivityIndicator } from 'react-native';
|
|
3
|
+
import { COLORS } from '../theme';
|
|
4
|
+
import { triggerHaptic, HapticType } from '../utils/haptics';
|
|
5
|
+
import { biometricPinService } from '../services/biometricPinService';
|
|
6
|
+
import { setTemporaryPin } from '../services/pinStorageUtils';
|
|
7
|
+
const PinCreationScreen = ({
|
|
8
|
+
visible,
|
|
9
|
+
onComplete,
|
|
10
|
+
onBack
|
|
11
|
+
}) => {
|
|
12
|
+
const [pin, setPin] = useState('');
|
|
13
|
+
const [requirements, setRequirements] = useState({
|
|
14
|
+
length: false,
|
|
15
|
+
uppercase: false,
|
|
16
|
+
number: false,
|
|
17
|
+
symbol: false
|
|
18
|
+
});
|
|
19
|
+
const [isLoading, setIsLoading] = useState(false);
|
|
20
|
+
const [biometricAvailable, setBiometricAvailable] = useState(false);
|
|
21
|
+
const [biometricStatus, setBiometricStatus] = useState('checking');
|
|
22
|
+
const validatePin = pinText => {
|
|
23
|
+
const newRequirements = {
|
|
24
|
+
length: pinText.length >= 8,
|
|
25
|
+
uppercase: /[A-Z]/.test(pinText),
|
|
26
|
+
number: /[0-9]/.test(pinText),
|
|
27
|
+
symbol: /[!@#$%^&*(),.?":{}|<>]/.test(pinText)
|
|
28
|
+
};
|
|
29
|
+
setRequirements(newRequirements);
|
|
30
|
+
return Object.values(newRequirements).every(req => req);
|
|
31
|
+
};
|
|
32
|
+
const handlePinChange = text => {
|
|
33
|
+
setPin(text);
|
|
34
|
+
validatePin(text);
|
|
35
|
+
};
|
|
36
|
+
const handleContinue = async () => {
|
|
37
|
+
if (!validatePin(pin)) {
|
|
38
|
+
triggerHaptic(HapticType.ERROR);
|
|
39
|
+
Alert.alert('Invalid PIN', 'Please ensure your PIN meets all requirements.');
|
|
40
|
+
return;
|
|
41
|
+
}
|
|
42
|
+
triggerHaptic(HapticType.BUTTON_PRESS);
|
|
43
|
+
setIsLoading(true);
|
|
44
|
+
try {
|
|
45
|
+
console.log('🔐 Starting PIN creation process...');
|
|
46
|
+
|
|
47
|
+
// Store PIN temporarily for the onboarding flow first
|
|
48
|
+
setTemporaryPin(pin);
|
|
49
|
+
console.log('📝 PIN stored temporarily for onboarding');
|
|
50
|
+
|
|
51
|
+
// If biometric is available, immediately trigger Face ID authentication
|
|
52
|
+
if (biometricAvailable) {
|
|
53
|
+
setBiometricStatus('storing');
|
|
54
|
+
console.log('🔐 [PIN CREATION] Biometric storage enabled, starting biometric flow...');
|
|
55
|
+
|
|
56
|
+
// Double-check biometric availability right before triggering
|
|
57
|
+
const biometricStillAvailable = await biometricPinService.isBiometricAvailable();
|
|
58
|
+
console.log('📱 [PIN CREATION] Biometric available before storage:', biometricStillAvailable);
|
|
59
|
+
if (!biometricStillAvailable) {
|
|
60
|
+
console.error('❌ [PIN CREATION] Face ID not available on this device');
|
|
61
|
+
setBiometricStatus('unavailable');
|
|
62
|
+
setIsLoading(false);
|
|
63
|
+
return;
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
// Immediately attempt to store PIN with biometric authentication
|
|
67
|
+
console.log('🔐 [PIN CREATION] Triggering biometric authentication for PIN storage...');
|
|
68
|
+
|
|
69
|
+
// This will immediately show the Face ID prompt
|
|
70
|
+
const stored = await biometricPinService.storePinWithBiometric(pin);
|
|
71
|
+
if (stored) {
|
|
72
|
+
console.log('✅ PIN stored successfully with Face ID');
|
|
73
|
+
|
|
74
|
+
// Verify the PIN was actually stored by checking if it can be retrieved
|
|
75
|
+
const isStored = await biometricPinService.isPinStored();
|
|
76
|
+
if (isStored) {
|
|
77
|
+
console.log('✅ PIN storage verified - proceeding with onboarding');
|
|
78
|
+
setBiometricStatus('success');
|
|
79
|
+
triggerHaptic(HapticType.SUCCESS);
|
|
80
|
+
|
|
81
|
+
// Brief success state, then continue
|
|
82
|
+
setTimeout(() => {
|
|
83
|
+
setIsLoading(false);
|
|
84
|
+
onComplete(pin);
|
|
85
|
+
}, 800);
|
|
86
|
+
} else {
|
|
87
|
+
console.error('❌ PIN storage verification failed');
|
|
88
|
+
setBiometricStatus('error');
|
|
89
|
+
setIsLoading(false);
|
|
90
|
+
triggerHaptic(HapticType.ERROR);
|
|
91
|
+
Alert.alert('PIN Storage Error', 'PIN storage verification failed. Please try again.', [{
|
|
92
|
+
text: 'OK'
|
|
93
|
+
}]);
|
|
94
|
+
}
|
|
95
|
+
} else {
|
|
96
|
+
console.log('⚠️ Face ID authentication was cancelled or failed');
|
|
97
|
+
setBiometricStatus('error');
|
|
98
|
+
triggerHaptic(HapticType.ERROR);
|
|
99
|
+
|
|
100
|
+
// Show error but still allow continuation
|
|
101
|
+
Alert.alert('Face ID Setup', 'Face ID authentication was cancelled or failed. Your PIN is still saved securely.', [{
|
|
102
|
+
text: 'Try Again',
|
|
103
|
+
onPress: () => {
|
|
104
|
+
setIsLoading(false);
|
|
105
|
+
setBiometricStatus('available');
|
|
106
|
+
}
|
|
107
|
+
}, {
|
|
108
|
+
text: 'Continue Without Face ID',
|
|
109
|
+
onPress: () => {
|
|
110
|
+
setIsLoading(false);
|
|
111
|
+
onComplete(pin);
|
|
112
|
+
}
|
|
113
|
+
}]);
|
|
114
|
+
}
|
|
115
|
+
} else {
|
|
116
|
+
console.log('📱 Biometric not available, continuing without Face ID');
|
|
117
|
+
setBiometricStatus('unavailable');
|
|
118
|
+
setIsLoading(false);
|
|
119
|
+
onComplete(pin);
|
|
120
|
+
}
|
|
121
|
+
} catch (error) {
|
|
122
|
+
console.error('❌ Error in PIN creation process:', error);
|
|
123
|
+
setBiometricStatus('error');
|
|
124
|
+
setIsLoading(false);
|
|
125
|
+
triggerHaptic(HapticType.ERROR);
|
|
126
|
+
Alert.alert('PIN Creation Error', 'There was an issue creating your PIN. Please try again.', [{
|
|
127
|
+
text: 'OK'
|
|
128
|
+
}]);
|
|
129
|
+
}
|
|
130
|
+
};
|
|
131
|
+
const handleBack = () => {
|
|
132
|
+
triggerHaptic(HapticType.BUTTON_PRESS);
|
|
133
|
+
onBack();
|
|
134
|
+
};
|
|
135
|
+
|
|
136
|
+
// Check biometric availability on component mount
|
|
137
|
+
useEffect(() => {
|
|
138
|
+
const checkBiometric = async () => {
|
|
139
|
+
try {
|
|
140
|
+
setBiometricStatus('checking');
|
|
141
|
+
const available = await biometricPinService.isBiometricAvailable();
|
|
142
|
+
setBiometricAvailable(available);
|
|
143
|
+
setBiometricStatus(available ? 'available' : 'unavailable');
|
|
144
|
+
console.log('📱 Biometric availability check:', available);
|
|
145
|
+
} catch (error) {
|
|
146
|
+
console.error('❌ Error checking biometric availability:', error);
|
|
147
|
+
setBiometricAvailable(false);
|
|
148
|
+
setBiometricStatus('unavailable');
|
|
149
|
+
}
|
|
150
|
+
};
|
|
151
|
+
if (visible) {
|
|
152
|
+
checkBiometric();
|
|
153
|
+
}
|
|
154
|
+
}, [visible]);
|
|
155
|
+
const allRequirementsMet = Object.values(requirements).every(req => req);
|
|
156
|
+
if (!visible) return null;
|
|
157
|
+
return /*#__PURE__*/React.createElement(View, {
|
|
158
|
+
style: styles.container
|
|
159
|
+
}, /*#__PURE__*/React.createElement(View, {
|
|
160
|
+
style: styles.titleContainer
|
|
161
|
+
}, /*#__PURE__*/React.createElement(Text, {
|
|
162
|
+
style: styles.title
|
|
163
|
+
}, "Create a PIN"), /*#__PURE__*/React.createElement(Text, {
|
|
164
|
+
style: styles.subtitle
|
|
165
|
+
}, "A PIN so only you have access to your data.")), /*#__PURE__*/React.createElement(View, {
|
|
166
|
+
style: styles.pinContainer
|
|
167
|
+
}, /*#__PURE__*/React.createElement(TextInput, {
|
|
168
|
+
style: styles.pinInput,
|
|
169
|
+
value: pin,
|
|
170
|
+
onChangeText: handlePinChange,
|
|
171
|
+
placeholder: "Enter your PIN",
|
|
172
|
+
secureTextEntry: true,
|
|
173
|
+
autoFocus: true,
|
|
174
|
+
maxLength: 20
|
|
175
|
+
})), /*#__PURE__*/React.createElement(View, {
|
|
176
|
+
style: styles.requirementsContainer
|
|
177
|
+
}, /*#__PURE__*/React.createElement(Text, {
|
|
178
|
+
style: styles.requirementsTitle
|
|
179
|
+
}, "Your PIN must:"), /*#__PURE__*/React.createElement(View, {
|
|
180
|
+
style: styles.requirementItem
|
|
181
|
+
}, /*#__PURE__*/React.createElement(View, {
|
|
182
|
+
style: [styles.checkbox, requirements.length && styles.checkboxChecked]
|
|
183
|
+
}, requirements.length && /*#__PURE__*/React.createElement(Text, {
|
|
184
|
+
style: styles.checkmark
|
|
185
|
+
}, "\u2713")), /*#__PURE__*/React.createElement(Text, {
|
|
186
|
+
style: [styles.requirementText, requirements.length && styles.requirementTextMet]
|
|
187
|
+
}, "Be at least 8 characters in length.")), /*#__PURE__*/React.createElement(View, {
|
|
188
|
+
style: styles.requirementItem
|
|
189
|
+
}, /*#__PURE__*/React.createElement(View, {
|
|
190
|
+
style: [styles.checkbox, requirements.uppercase && styles.checkboxChecked]
|
|
191
|
+
}, requirements.uppercase && /*#__PURE__*/React.createElement(Text, {
|
|
192
|
+
style: styles.checkmark
|
|
193
|
+
}, "\u2713")), /*#__PURE__*/React.createElement(Text, {
|
|
194
|
+
style: [styles.requirementText, requirements.uppercase && styles.requirementTextMet]
|
|
195
|
+
}, "Contain an uppercase letter.")), /*#__PURE__*/React.createElement(View, {
|
|
196
|
+
style: styles.requirementItem
|
|
197
|
+
}, /*#__PURE__*/React.createElement(View, {
|
|
198
|
+
style: [styles.checkbox, requirements.number && styles.checkboxChecked]
|
|
199
|
+
}, requirements.number && /*#__PURE__*/React.createElement(Text, {
|
|
200
|
+
style: styles.checkmark
|
|
201
|
+
}, "\u2713")), /*#__PURE__*/React.createElement(Text, {
|
|
202
|
+
style: [styles.requirementText, requirements.number && styles.requirementTextMet]
|
|
203
|
+
}, "Contain a number.")), /*#__PURE__*/React.createElement(View, {
|
|
204
|
+
style: styles.requirementItem
|
|
205
|
+
}, /*#__PURE__*/React.createElement(View, {
|
|
206
|
+
style: [styles.checkbox, requirements.symbol && styles.checkboxChecked]
|
|
207
|
+
}, requirements.symbol && /*#__PURE__*/React.createElement(Text, {
|
|
208
|
+
style: styles.checkmark
|
|
209
|
+
}, "\u2713")), /*#__PURE__*/React.createElement(Text, {
|
|
210
|
+
style: [styles.requirementText, requirements.symbol && styles.requirementTextMet]
|
|
211
|
+
}, "Contain a symbol (e.g. !@#$%^&*)."))), /*#__PURE__*/React.createElement(View, {
|
|
212
|
+
style: [styles.securityCard, biometricStatus === 'success' && styles.securityCardSuccess, biometricStatus === 'error' && styles.securityCardError]
|
|
213
|
+
}, /*#__PURE__*/React.createElement(View, {
|
|
214
|
+
style: styles.securityIconContainer
|
|
215
|
+
}, biometricStatus === 'checking' && /*#__PURE__*/React.createElement(ActivityIndicator, {
|
|
216
|
+
size: "small",
|
|
217
|
+
color: COLORS.grey600
|
|
218
|
+
}), biometricStatus === 'storing' && /*#__PURE__*/React.createElement(ActivityIndicator, {
|
|
219
|
+
size: "small",
|
|
220
|
+
color: "#D4A536"
|
|
221
|
+
}), biometricStatus === 'available' && /*#__PURE__*/React.createElement(Text, {
|
|
222
|
+
style: styles.securityIcon
|
|
223
|
+
}, "\uD83D\uDD10"), biometricStatus === 'unavailable' && /*#__PURE__*/React.createElement(Text, {
|
|
224
|
+
style: styles.securityIcon
|
|
225
|
+
}, "\u26A0\uFE0F"), biometricStatus === 'success' && /*#__PURE__*/React.createElement(Text, {
|
|
226
|
+
style: styles.securityIcon
|
|
227
|
+
}, "\u2705"), biometricStatus === 'error' && /*#__PURE__*/React.createElement(Text, {
|
|
228
|
+
style: styles.securityIcon
|
|
229
|
+
}, "\u274C")), /*#__PURE__*/React.createElement(View, {
|
|
230
|
+
style: styles.securityTextContainer
|
|
231
|
+
}, /*#__PURE__*/React.createElement(Text, {
|
|
232
|
+
style: styles.securityTitle
|
|
233
|
+
}, biometricStatus === 'checking' && 'Checking Face ID...', biometricStatus === 'available' && 'Enhanced Security', biometricStatus === 'unavailable' && 'Face ID Unavailable', biometricStatus === 'storing' && 'Securing with Face ID...', biometricStatus === 'success' && 'PIN Secured with Face ID', biometricStatus === 'error' && 'Face ID Setup Failed'), /*#__PURE__*/React.createElement(Text, {
|
|
234
|
+
style: styles.securityDescription
|
|
235
|
+
}, biometricStatus === 'checking' && 'Verifying Face ID availability on your device.', biometricStatus === 'available' && 'We use Face ID to ensure only you can access your data.', biometricStatus === 'unavailable' && 'Face ID is not available on this device. Your PIN will be stored securely.', biometricStatus === 'storing' && 'Please authenticate with Face ID to secure your PIN.', biometricStatus === 'success' && 'Your PIN is now protected with Face ID authentication.', biometricStatus === 'error' && 'Face ID setup failed, but your PIN is stored securely.'))), /*#__PURE__*/React.createElement(View, {
|
|
236
|
+
style: styles.buttonContainer
|
|
237
|
+
}, /*#__PURE__*/React.createElement(TouchableOpacity, {
|
|
238
|
+
style: [styles.continueButton, allRequirementsMet && styles.continueButtonActive],
|
|
239
|
+
onPress: handleContinue,
|
|
240
|
+
disabled: !allRequirementsMet || isLoading
|
|
241
|
+
}, isLoading ? /*#__PURE__*/React.createElement(ActivityIndicator, {
|
|
242
|
+
size: "small",
|
|
243
|
+
color: "#FFFFFF"
|
|
244
|
+
}) : /*#__PURE__*/React.createElement(Text, {
|
|
245
|
+
style: [styles.continueButtonText, allRequirementsMet && styles.continueButtonTextActive]
|
|
246
|
+
}, "Continue"))));
|
|
247
|
+
};
|
|
248
|
+
const styles = StyleSheet.create({
|
|
249
|
+
container: {
|
|
250
|
+
flex: 1,
|
|
251
|
+
backgroundColor: COLORS.surface,
|
|
252
|
+
paddingHorizontal: 24,
|
|
253
|
+
paddingTop: 40
|
|
254
|
+
},
|
|
255
|
+
titleContainer: {
|
|
256
|
+
alignItems: 'center',
|
|
257
|
+
marginBottom: 24,
|
|
258
|
+
paddingTop: 0,
|
|
259
|
+
marginTop: 0
|
|
260
|
+
},
|
|
261
|
+
title: {
|
|
262
|
+
fontSize: 24,
|
|
263
|
+
fontWeight: '700',
|
|
264
|
+
color: COLORS.grey800,
|
|
265
|
+
marginBottom: 8,
|
|
266
|
+
fontFamily: 'IBM Plex Sans'
|
|
267
|
+
},
|
|
268
|
+
subtitle: {
|
|
269
|
+
fontSize: 16,
|
|
270
|
+
color: COLORS.grey600,
|
|
271
|
+
lineHeight: 24,
|
|
272
|
+
fontFamily: 'Inter'
|
|
273
|
+
},
|
|
274
|
+
pinContainer: {
|
|
275
|
+
marginBottom: 32
|
|
276
|
+
},
|
|
277
|
+
pinInput: {
|
|
278
|
+
backgroundColor: '#F8F9FA',
|
|
279
|
+
borderRadius: 12,
|
|
280
|
+
paddingVertical: 16,
|
|
281
|
+
paddingHorizontal: 16,
|
|
282
|
+
fontSize: 16,
|
|
283
|
+
fontFamily: 'Inter',
|
|
284
|
+
borderWidth: 1,
|
|
285
|
+
borderColor: '#E5E5E5'
|
|
286
|
+
},
|
|
287
|
+
requirementsContainer: {
|
|
288
|
+
marginBottom: 32
|
|
289
|
+
},
|
|
290
|
+
requirementsTitle: {
|
|
291
|
+
fontSize: 16,
|
|
292
|
+
fontWeight: '600',
|
|
293
|
+
color: COLORS.grey800,
|
|
294
|
+
marginBottom: 16,
|
|
295
|
+
fontFamily: 'Inter'
|
|
296
|
+
},
|
|
297
|
+
requirementItem: {
|
|
298
|
+
flexDirection: 'row',
|
|
299
|
+
alignItems: 'center',
|
|
300
|
+
marginBottom: 12
|
|
301
|
+
},
|
|
302
|
+
checkbox: {
|
|
303
|
+
width: 20,
|
|
304
|
+
height: 20,
|
|
305
|
+
borderRadius: 10,
|
|
306
|
+
borderWidth: 2,
|
|
307
|
+
borderColor: '#E5E5E5',
|
|
308
|
+
marginRight: 12,
|
|
309
|
+
alignItems: 'center',
|
|
310
|
+
justifyContent: 'center'
|
|
311
|
+
},
|
|
312
|
+
checkboxChecked: {
|
|
313
|
+
borderColor: '#4CD964',
|
|
314
|
+
backgroundColor: '#4CD964'
|
|
315
|
+
},
|
|
316
|
+
checkmark: {
|
|
317
|
+
color: '#FFFFFF',
|
|
318
|
+
fontSize: 12,
|
|
319
|
+
fontWeight: 'bold'
|
|
320
|
+
},
|
|
321
|
+
requirementText: {
|
|
322
|
+
fontSize: 14,
|
|
323
|
+
color: COLORS.grey600,
|
|
324
|
+
fontFamily: 'Inter',
|
|
325
|
+
flex: 1
|
|
326
|
+
},
|
|
327
|
+
requirementTextMet: {
|
|
328
|
+
color: COLORS.grey800
|
|
329
|
+
},
|
|
330
|
+
securityCard: {
|
|
331
|
+
backgroundColor: '#F8F9FA',
|
|
332
|
+
borderRadius: 12,
|
|
333
|
+
padding: 16,
|
|
334
|
+
flexDirection: 'row',
|
|
335
|
+
alignItems: 'center',
|
|
336
|
+
marginBottom: 24,
|
|
337
|
+
borderWidth: 1,
|
|
338
|
+
borderColor: '#E5E5E5'
|
|
339
|
+
},
|
|
340
|
+
securityCardSuccess: {
|
|
341
|
+
backgroundColor: '#F0FDF4',
|
|
342
|
+
borderColor: '#22C55E'
|
|
343
|
+
},
|
|
344
|
+
securityCardError: {
|
|
345
|
+
backgroundColor: '#FEF2F2',
|
|
346
|
+
borderColor: '#EF4444'
|
|
347
|
+
},
|
|
348
|
+
securityIconContainer: {
|
|
349
|
+
marginRight: 12
|
|
350
|
+
},
|
|
351
|
+
securityIcon: {
|
|
352
|
+
fontSize: 24
|
|
353
|
+
},
|
|
354
|
+
securityTextContainer: {
|
|
355
|
+
flex: 1
|
|
356
|
+
},
|
|
357
|
+
securityTitle: {
|
|
358
|
+
fontSize: 14,
|
|
359
|
+
fontWeight: '600',
|
|
360
|
+
color: COLORS.grey800,
|
|
361
|
+
marginBottom: 4,
|
|
362
|
+
fontFamily: 'Inter'
|
|
363
|
+
},
|
|
364
|
+
securityDescription: {
|
|
365
|
+
fontSize: 13,
|
|
366
|
+
color: COLORS.grey600,
|
|
367
|
+
lineHeight: 18,
|
|
368
|
+
fontFamily: 'Inter'
|
|
369
|
+
},
|
|
370
|
+
buttonContainer: {
|
|
371
|
+
marginTop: 'auto',
|
|
372
|
+
paddingBottom: 34
|
|
373
|
+
},
|
|
374
|
+
continueButton: {
|
|
375
|
+
backgroundColor: '#E5E5E5',
|
|
376
|
+
borderRadius: 25,
|
|
377
|
+
paddingVertical: 16,
|
|
378
|
+
alignItems: 'center',
|
|
379
|
+
justifyContent: 'center'
|
|
380
|
+
},
|
|
381
|
+
continueButtonActive: {
|
|
382
|
+
backgroundColor: '#2D3436'
|
|
383
|
+
},
|
|
384
|
+
continueButtonText: {
|
|
385
|
+
fontSize: 16,
|
|
386
|
+
fontWeight: '600',
|
|
387
|
+
color: '#999999',
|
|
388
|
+
fontFamily: 'Inter'
|
|
389
|
+
},
|
|
390
|
+
continueButtonTextActive: {
|
|
391
|
+
color: '#FFFFFF'
|
|
392
|
+
}
|
|
393
|
+
});
|
|
394
|
+
export { PinCreationScreen };
|
|
395
|
+
export default PinCreationScreen;
|
|
396
|
+
//# sourceMappingURL=PinCreationScreen.js.map
|