2026-07-27 11:26:19 +00:00
// Module ID: 14701
// Function ID: 112018
2026-07-20 16:05:17 +00:00
// Name: MFAOptionScreen
2026-07-27 11:26:19 +00:00
// Dependencies: [27, 33, 9125, 14702, 5121, 4542, 4127, 14703, 9150, 2]
2026-07-20 16:05:17 +00:00
// Exports: default
2026-07-27 11:26:19 +00:00
// Module 14701 (MFAOptionScreen)
2026-07-23 10:11:24 +00:00
import { ScrollView } from "get ActivityIndicator" ;
import jsxProd from "jsxProd" ;
let closure_4 ;
let closure_5 ;
let closure_6 ;
( { jsx : closure_4 , jsxs : closure_5 , Fragment : closure_6 } = jsxProd ) ;
const result = require ( "useWideAuthView" ) . fileFinishedImporting ( "modules/mfa/native/screens/MfaOptionScreen.tsx" ) ;
2026-07-20 16:05:17 +00:00
export default function MFAOptionScreen ( arg0 ) {
let content ;
let error ;
let headerImage ;
let headerText ;
let input ;
let mfaMethod ;
let screenProps ;
let submit ;
let subtitle ;
( { headerImage , subtitle , screenProps , error } = arg0 ) ;
( { headerText , input , submit , mfaMethod , content } = arg0 ) ;
2026-07-25 08:10:48 +00:00
const tmp = importDefault ( 9125 ) ( ) ;
2026-07-27 11:26:19 +00:00
let obj = importDefault ( 14702 ) ;
2026-07-20 16:05:17 +00:00
const screenStyles = obj . useScreenStyles ( tmp ) ;
const first = screenProps . mfaChallenge . methods [ 0 ] ;
let type ;
if ( null != first ) {
type = first . type ;
}
let tmp5 = type === mfaMethod ;
obj = { bottom : ! tmp , top : ! tmp , style : screenStyles.contentContainer } ;
obj = { } ;
const obj1 = { style : screenStyles.mfaContainerHeader , spacing : 4 } ;
let tmp7 = null != headerImage ;
if ( tmp7 ) {
tmp7 = headerImage ;
}
2026-07-25 08:10:48 +00:00
const items = [ tmp7 , callback ( require ( 4127 ) /* Text */ . Text , { variant : "heading-xl/extrabold" , style : screenStyles.mfaContainerHeaderText , children : headerText } ) , , ] ;
2026-07-20 16:05:17 +00:00
let tmp8 = null != subtitle ;
if ( tmp8 ) {
2026-07-23 10:11:24 +00:00
const obj3 = { variant : "heading-sm/normal" , color : "text-default" , children : subtitle } ;
2026-07-25 08:10:48 +00:00
tmp8 = callback ( require ( 4127 ) /* Text */ . Text , obj3 ) ;
2026-07-20 16:05:17 +00:00
}
items [ 2 ] = tmp8 ;
let tmp12 = null != error ;
if ( tmp12 ) {
2026-07-23 10:11:24 +00:00
const obj4 = { variant : "text-sm/normal" , color : "text-feedback-critical" , children : error } ;
2026-07-25 08:10:48 +00:00
tmp12 = callback ( require ( 4127 ) /* Text */ . Text , obj4 ) ;
2026-07-20 16:05:17 +00:00
}
items [ 3 ] = tmp12 ;
obj1 . children = items ;
2026-07-25 08:10:48 +00:00
const items1 = [ closure_5 ( require ( 4542 ) /* Stack */ . Stack , obj1 ) , input ] ;
2026-07-20 16:05:17 +00:00
obj . children = items1 ;
2026-07-25 08:10:48 +00:00
const items2 = [ closure_5 ( require ( 4542 ) /* Stack */ . Stack , obj ) , content , ] ;
2026-07-20 16:05:17 +00:00
const obj5 = { style : screenStyles.submit } ;
const items3 = [ submit , ] ;
if ( tmp5 ) {
const obj6 = { props : screenProps } ;
2026-07-27 11:26:19 +00:00
tmp5 = callback ( importDefault ( 14703 ) , obj6 ) ;
2026-07-20 16:05:17 +00:00
}
items3 [ 1 ] = tmp5 ;
obj5 . children = items3 ;
2026-07-25 08:10:48 +00:00
items2 [ 2 ] = closure_5 ( require ( 4542 ) /* Stack */ . Stack , obj5 ) ;
2026-07-20 16:05:17 +00:00
obj . children = items2 ;
2026-07-23 10:11:24 +00:00
const tmp6Result = closure_5 ( require ( 5121 ) /* SafeAreaPaddingView */ . SafeAreaPaddingView , obj ) ;
2026-07-20 16:05:17 +00:00
const obj7 = { } ;
2026-07-25 08:10:48 +00:00
const items4 = [ callback ( importDefault ( 9150 ) , { backgroundImageCover : false } ) , ] ;
2026-07-20 16:05:17 +00:00
let tmp23 = tmp6Result ;
if ( tmp ) {
const obj8 = { keyboardShouldPersistTaps : "handled" , children : tmp6Result } ;
tmp23 = callback ( ScrollView , obj8 ) ;
}
items4 [ 1 ] = tmp23 ;
obj7 . children = items4 ;
return closure_5 ( closure_6 , obj7 ) ;
} ;