react-native-timacare 3.3.65 → 3.3.67

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.
Files changed (64) hide show
  1. package/lib/commonjs/components/AlertLoan.js +1 -1
  2. package/lib/commonjs/components/AlertLoan.js.flow +1 -19
  3. package/lib/commonjs/components/AlertLoan.js.map +1 -1
  4. package/lib/commonjs/screens/motobike/InfoLoanMotobike.js +1 -1
  5. package/lib/commonjs/screens/motobike/InfoLoanMotobike.js.flow +3 -2
  6. package/lib/commonjs/screens/motobike/InfoLoanMotobike.js.map +1 -1
  7. package/lib/commonjs/screens/motobike/ReviewLoanMotobike.js +1 -1
  8. package/lib/commonjs/screens/motobike/ReviewLoanMotobike.js.flow +1 -0
  9. package/lib/commonjs/screens/motobike/ReviewLoanMotobike.js.map +1 -1
  10. package/lib/commonjs/screens/toan-trinh-so/ReviewInformation.js +1 -1
  11. package/lib/commonjs/screens/toan-trinh-so/ReviewInformation.js.flow +1 -0
  12. package/lib/commonjs/screens/toan-trinh-so/ReviewInformation.js.map +1 -1
  13. package/lib/commonjs/screens/toan-trinh-so/ReviewInformationOther.js +1 -1
  14. package/lib/commonjs/screens/toan-trinh-so/ReviewInformationOther.js.flow +1 -0
  15. package/lib/commonjs/screens/toan-trinh-so/ReviewInformationOther.js.map +1 -1
  16. package/lib/commonjs/screens/toan-trinh-so/ReviewLoan.js +1 -1
  17. package/lib/commonjs/screens/toan-trinh-so/ReviewLoan.js.flow +1 -0
  18. package/lib/commonjs/screens/toan-trinh-so/ReviewLoan.js.map +1 -1
  19. package/lib/commonjs/screens/toan-trinh-so/TTSSelfie.js +1 -1
  20. package/lib/commonjs/screens/toan-trinh-so/TTSSelfie.js.flow +189 -138
  21. package/lib/commonjs/screens/toan-trinh-so/TTSSelfie.js.map +1 -1
  22. package/lib/commonjs/screens/toan-trinh-so/TopupLoanInfo.js +1 -1
  23. package/lib/commonjs/screens/toan-trinh-so/TopupLoanInfo.js.flow +8 -5
  24. package/lib/commonjs/screens/toan-trinh-so/TopupLoanInfo.js.map +1 -1
  25. package/lib/commonjs/screens/v3/AssetInformation.js +1 -1
  26. package/lib/commonjs/screens/v3/AssetInformation.js.flow +1 -0
  27. package/lib/commonjs/screens/v3/AssetInformation.js.map +1 -1
  28. package/lib/commonjs/screens/v3/ReviewInfoLoanBuyCar.js +1 -1
  29. package/lib/commonjs/screens/v3/ReviewInfoLoanBuyCar.js.flow +1 -0
  30. package/lib/commonjs/screens/v3/ReviewInfoLoanBuyCar.js.map +1 -1
  31. package/lib/module/components/AlertLoan.js +1 -1
  32. package/lib/module/components/AlertLoan.js.map +1 -1
  33. package/lib/module/screens/motobike/InfoLoanMotobike.js +1 -1
  34. package/lib/module/screens/motobike/InfoLoanMotobike.js.map +1 -1
  35. package/lib/module/screens/motobike/ReviewLoanMotobike.js +1 -1
  36. package/lib/module/screens/motobike/ReviewLoanMotobike.js.map +1 -1
  37. package/lib/module/screens/toan-trinh-so/ReviewInformation.js +1 -1
  38. package/lib/module/screens/toan-trinh-so/ReviewInformation.js.map +1 -1
  39. package/lib/module/screens/toan-trinh-so/ReviewInformationOther.js +1 -1
  40. package/lib/module/screens/toan-trinh-so/ReviewInformationOther.js.map +1 -1
  41. package/lib/module/screens/toan-trinh-so/ReviewLoan.js +1 -1
  42. package/lib/module/screens/toan-trinh-so/ReviewLoan.js.map +1 -1
  43. package/lib/module/screens/toan-trinh-so/TTSSelfie.js +1 -1
  44. package/lib/module/screens/toan-trinh-so/TTSSelfie.js.map +1 -1
  45. package/lib/module/screens/toan-trinh-so/TopupLoanInfo.js +1 -1
  46. package/lib/module/screens/toan-trinh-so/TopupLoanInfo.js.map +1 -1
  47. package/lib/module/screens/v3/AssetInformation.js +1 -1
  48. package/lib/module/screens/v3/AssetInformation.js.map +1 -1
  49. package/lib/module/screens/v3/ReviewInfoLoanBuyCar.js +1 -1
  50. package/lib/module/screens/v3/ReviewInfoLoanBuyCar.js.map +1 -1
  51. package/lib/typescript/components/AlertLoan.d.ts.map +1 -1
  52. package/lib/typescript/screens/toan-trinh-so/TTSSelfie.d.ts.map +1 -1
  53. package/lib/typescript/screens/toan-trinh-so/TopupLoanInfo.d.ts.map +1 -1
  54. package/package.json +1 -1
  55. package/src/components/AlertLoan.tsx +1 -19
  56. package/src/screens/motobike/InfoLoanMotobike.tsx +3 -2
  57. package/src/screens/motobike/ReviewLoanMotobike.tsx +1 -0
  58. package/src/screens/toan-trinh-so/ReviewInformation.tsx +1 -0
  59. package/src/screens/toan-trinh-so/ReviewInformationOther.tsx +1 -0
  60. package/src/screens/toan-trinh-so/ReviewLoan.tsx +1 -0
  61. package/src/screens/toan-trinh-so/TTSSelfie.tsx +189 -138
  62. package/src/screens/toan-trinh-so/TopupLoanInfo.tsx +8 -5
  63. package/src/screens/v3/AssetInformation.tsx +1 -0
  64. package/src/screens/v3/ReviewInfoLoanBuyCar.tsx +1 -0
@@ -1 +1 @@
1
- {"version":3,"names":["_react","_interopRequireWildcard","require","_reactNative","_MHeader","_interopRequireDefault","_AlertGlobal","_CommonStyles","_icons","_MText","_native","_navigation","_api","_AppStore","_formik","yup","_utils","_theme","_MButton","_keyboardspace","_reactNativeLinearGradient","_Loading","_jsxFileName","e","t","WeakMap","r","n","__esModule","o","i","f","__proto__","default","has","get","set","_t3","hasOwnProperty","call","Object","defineProperty","getOwnPropertyDescriptor","ReviewLoanMotobike","props","_props$route","_props$route$params","_this","navigation","useNavigation","loan","route","params","formRef","useRef","_useState","useState","_useState2","_slicedToArray2","isLoading","setIsLoading","onSubmit","_callee","values","body","response","_response$data","_response$data$meta","_response$data2","_response$data2$meta","_t","_regenerator","async","_context","prev","next","loanBriefId","id","loanAmount","Number","rateTypeId","loanTime","awrap","Api","getInstance","updateInfoMotobikeLoan2","sent","kind","data","meta","errorCode","dispatch","CommonActions","reset","index","routes","name","ScreenNames","Main","AlertGlobal","show","type","title","message","errorMessage","primaryText","console","log","stop","Promise","getData","_callee2","_response$data3","_response$data$data$l","_response$data4","_response$data4$data","_response$data$data$r","_response$data5","_response$data5$data","_response$data6","_response$data6$data","_response$data$data$l2","_response$data8","_response$data8$data","_response$data7","_response$data7$data","_props$route$params$l","_props$route2","_props$route2$params","_props$route2$params$","_t2","_context2","getInfoMotobikeLoan2","current","setFieldValue","appStore","getLoanTimeByType","typeLoan","useEffect","getRateTypeAll","createElement","View","style","flex","__self","__source","fileName","lineNumber","columnNumber","commonStyles","fill","$h","$bg","paddingVertical","flexDirection","alignItems","paddingHorizontal","TouchableOpacity","zIndex","onPress","IconBack","MText","$title","Formik","validateOnBlur","validateOnChange","innerRef","initialValues","isCheck","validationSchema","object","shape","string","required","number","nullable","_ref","_appStore$listRateTyp","_appStore$listRateTyp2","errors","handleSubmit","handleChange","ScrollView","$title2","$row","$label","TextInput","numberOfLines","$textInput","color","fontWeight","fontFamily","value","formatMoney","onChangeText","text","replaceAll","$error","$select","push","MSelect","listRateType","callback","_props$route$params$l2","_props$route3","_props$route3$params","_props$route3$params$","find","x","DropDown2","listLoanTimeByType","backgroundColor","borderLeftWidth","borderRadius","padding","borderColor","primary","marginTop","gap","CheckBoxActive","CheckBox","fontSize","height","marginVertical","Tick2","_formRef$current","marginHorizontal","start","y","end","justifyContent","colors","marginBottom","borderWidth","paddingBottom","position","left","right","textAlign","width","borderTopLeftRadius","borderTopRightRadius","fontStyle"],"sourceRoot":"../../../../src","sources":["screens/motobike/ReviewLoanMotobike.tsx"],"mappings":"0VACA,IAAAA,MAAA,CAAAC,uBAAA,CAAAC,OAAA,WACA,IAAAC,YAAA,CAAAD,OAAA,iBAQA,IAAAE,QAAA,CAAAC,sBAAA,CAAAH,OAAA,8BACA,IAAAI,YAAA,CAAAJ,OAAA,mDACA,IAAAK,aAAA,CAAAL,OAAA,oBACA,IAAAM,MAAA,CAAAN,OAAA,uBAOA,IAAAO,MAAA,CAAAP,OAAA,2BACA,IAAAQ,OAAA,CAAAR,OAAA,6BACA,IAAAS,WAAA,CAAAT,OAAA,qBACA,IAAAU,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ACRC,SAAS,CAAE,QACb,CAAC,CACD,GAAM,CAAAvF,EAAa,CAAG,CACpB4D,eAAe,CAAE,SAAS,CAC1BwB,QAAQ,CAAE,UAAU,CACpBb,MAAM,CAAE,EAAE,CACViB,KAAK,CAAE,MACT,CAAC,CAED,GAAM,CAAAvF,GAAc,CAAG,CACrBwF,mBAAmB,CAAE,EAAE,CACvBC,oBAAoB,CAAE,EAAE,CACxB9B,eAAe,CAAE,OAAO,CACxBpE,IAAI,CAAE,CACR,CAAC,CAED,GAAM,CAAAuD,OAAkB,CAAG,CACzB5C,aAAa,CAAE,KAAK,CACpBoE,MAAM,CAAE,EAAE,CACVnE,UAAU,CAAE,QAAQ,CACpBC,iBAAiB,CAAE,CAAC,CACpB6E,WAAW,CAAE,CAAC,CACdpB,YAAY,CAAE,CAAC,CACfE,WAAW,CAAE,SACf,CAAC,CAED,GAAM,CAAAlB,MAAiB,CAAG,CACxBR,KAAK,CAAE,SAAS,CAChBgC,QAAQ,CAAE,EAAE,CACZqB,SAAS,CAAE,QAAQ,CACnBnD,UAAU,CAAE,mBAAmB,CAC/BD,UAAU,CAAE,KAAK,CACjB2B,SAAS,CAAE,CACb,CAAC","ignoreList":[]}
1
+ {"version":3,"names":["_react","_interopRequireWildcard","require","_reactNative","_MHeader","_interopRequireDefault","_AlertGlobal","_CommonStyles","_icons","_MText","_native","_navigation","_api","_AppStore","_formik","yup","_utils","_theme","_MButton","_keyboardspace","_reactNativeLinearGradient","_Loading","_jsxFileName","e","t","WeakMap","r","n","__esModule","o","i","f","__proto__","default","has","get","set","_t3","hasOwnProperty","call","Object","defineProperty","getOwnPropertyDescriptor","ReviewLoanMotobike","props","_props$route","_props$route$params","_this","navigation","useNavigation","loan","route","params","formRef","useRef","_useState","useState","_useState2","_slicedToArray2","isLoading","setIsLoading","onSubmit","_callee","values","body","response","_response$data","_response$data$meta","_response$data2","_response$data2$meta","_t","_regenerator","async","_context","prev","next","loanBriefId","id","loanAmount","Number","rateTypeId","loanTime","awrap","Api","getInstance","updateInfoMotobikeLoan2","sent","kind","data","meta","errorCode","dispatch","CommonActions","reset","index","routes","name","ScreenNames","Main","AlertGlobal","show","type","title","message","errorMessage","primaryText","console","log","stop","Promise","getData","_callee2","_response$data3","_response$data$data$l","_response$data4","_response$data4$data","_response$data$data$r","_response$data5","_response$data5$data","_response$data6","_response$data6$data","_response$data$data$l2","_response$data8","_response$data8$data","_response$data7","_response$data7$data","_props$route$params$l","_props$route2","_props$route2$params","_props$route2$params$","_t2","_context2","getInfoMotobikeLoan2","current","setFieldValue","appStore","getLoanTimeByType","typeLoan","useEffect","getRateTypeAll","createElement","View","style","flex","__self","__source","fileName","lineNumber","columnNumber","commonStyles","fill","$h","$bg","paddingVertical","flexDirection","alignItems","paddingHorizontal","TouchableOpacity","zIndex","onPress","IconBack","MText","$title","Formik","validateOnBlur","validateOnChange","innerRef","initialValues","isCheck","validationSchema","object","shape","string","required","number","nullable","_ref","_appStore$listRateTyp","_appStore$listRateTyp2","errors","handleSubmit","handleChange","ScrollView","$title2","$row","$label","TextInput","numberOfLines","$textInput","color","fontWeight","fontFamily","value","formatMoney","onChangeText","text","replaceAll","$error","$select","push","MSelect","listRateType","callback","_props$route$params$l2","_props$route3","_props$route3$params","_props$route3$params$","find","x","DropDown2","listLoanTimeByType","backgroundColor","borderLeftWidth","borderRadius","padding","borderColor","primary","marginTop","gap","CheckBoxActive","CheckBox","fontSize","height","marginVertical","Tick2","_formRef$current","marginHorizontal","start","y","end","justifyContent","colors","marginBottom","borderWidth","paddingBottom","position","left","right","textAlign","width","borderTopLeftRadius","borderTopRightRadius","fontStyle"],"sourceRoot":"../../../../src","sources":["screens/motobike/ReviewLoanMotobike.tsx"],"mappings":"0VACA,IAAAA,MAAA,CAAAC,uBAAA,CAAAC,OAAA,WACA,IAAAC,YAAA,CAAAD,OAAA,iBAQA,IAAAE,QAAA,CAAAC,sBAAA,CAAAH,OAAA,8BACA,IAAAI,YAAA,CAAAJ,OAAA,mDACA,IAAAK,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AAC,CAED,GAAM,CAAAvD,MAAiB,CAAG,CACxB2D,QAAQ,CAAE,EAAE,CACZ/B,UAAU,CAAE,MAAM,CAClBD,KAAK,CAAE,SAAS,CAChB8C,QAAQ,CAAE,UAAU,CACpBC,IAAI,CAAE,CAAC,CACPC,KAAK,CAAE,CAAC,CACRC,SAAS,CAAE,QACb,CAAC,CACD,GAAM,CAAAvF,EAAa,CAAG,CACpB4D,eAAe,CAAE,SAAS,CAC1BwB,QAAQ,CAAE,UAAU,CACpBb,MAAM,CAAE,EAAE,CACViB,KAAK,CAAE,MACT,CAAC,CAED,GAAM,CAAAvF,GAAc,CAAG,CACrBwF,mBAAmB,CAAE,EAAE,CACvBC,oBAAoB,CAAE,EAAE,CACxB9B,eAAe,CAAE,OAAO,CACxBpE,IAAI,CAAE,CACR,CAAC,CAED,GAAM,CAAAuD,OAAkB,CAAG,CACzB5C,aAAa,CAAE,KAAK,CACpBoE,MAAM,CAAE,EAAE,CACVnE,UAAU,CAAE,QAAQ,CACpBC,iBAAiB,CAAE,CAAC,CACpB6E,WAAW,CAAE,CAAC,CACdpB,YAAY,CAAE,CAAC,CACfE,WAAW,CAAE,SACf,CAAC,CAED,GAAM,CAAAlB,MAAiB,CAAG,CACxBR,KAAK,CAAE,SAAS,CAChBgC,QAAQ,CAAE,EAAE,CACZqB,SAAS,CAAE,QAAQ,CACnBnD,UAAU,CAAE,mBAAmB,CAC/BD,UAAU,CAAE,KAAK,CACjB2B,SAAS,CAAE,CACb,CAAC","ignoreList":[]}
@@ -1,2 +1,2 @@
1
- var _interopRequireDefault=require("@babel/runtime/helpers/interopRequireDefault");Object.defineProperty(exports,"__esModule",{value:true});exports.default=ReviewInformation;var _regenerator=_interopRequireDefault(require("@babel/runtime/regenerator"));var _slicedToArray2=_interopRequireDefault(require("@babel/runtime/helpers/slicedToArray"));var _react=_interopRequireWildcard(require("react"));var _reactNative=require("react-native");var _MHeader=_interopRequireDefault(require("../../components/MHeader"));var _CommonStyles=require("../CommonStyles");var _MText=require("../../components/MText");var _svgs=require("../../assets/svgs");var _native=require("@react-navigation/native");var _navigation=require("../../navigation");var _formik=require("formik");var _icons=require("../../assets/icons");var _reactNativeLinearGradient=_interopRequireDefault(require("react-native-linear-gradient"));var _MButton=_interopRequireDefault(require("../../components/MButton"));var _keyboardspace=_interopRequireDefault(require("../../components/keyboardspace"));var yup=_interopRequireWildcard(require("yup"));var _utils=require("../../utils");var _store=_interopRequireDefault(require("./store"));var _reactNativeDatePicker=_interopRequireDefault(require("react-native-date-picker"));var _api=require("../../services/api");var _Loading=_interopRequireDefault(require("../../components/Loading"));var _moment=_interopRequireDefault(require("moment"));var _AppStore=_interopRequireDefault(require("../../AppStore"));var _AlertGlobal=require("../../components/ModalNotification/AlertGlobal");var _jsxFileName="/Users/tima/Tima/react-native-timacare/src/screens/toan-trinh-so/ReviewInformation.tsx";function _interopRequireWildcard(e,t){if("function"==typeof WeakMap)var r=new WeakMap(),n=new WeakMap();return(_interopRequireWildcard=function _interopRequireWildcard(e,t){if(!t&&e&&e.__esModule)return e;var o,i,f={__proto__:null,default:e};if(null===e||"object"!=typeof e&&"function"!=typeof e)return f;if(o=t?n:r){if(o.has(e))return o.get(e);o.set(e,f);}for(var _t3 in e)"default"!==_t3&&{}.hasOwnProperty.call(e,_t3)&&((i=(o=Object.defineProperty)&&Object.getOwnPropertyDescriptor(e,_t3))&&(i.get||i.set)?o(f,_t3,i):f[_t3]=e[_t3]);return f;})(e,t);}function ReviewInformation(props){var _this=this;var navigation=(0,_native.useNavigation)();var formRef=(0,_react.useRef)(null);var _useState=(0,_react.useState)(false),_useState2=(0,_slicedToArray2.default)(_useState,2),showDate=_useState2[0],setShowDate=_useState2[1];var _useState3=(0,_react.useState)(1),_useState4=(0,_slicedToArray2.default)(_useState3,2),typeDate=_useState4[0],setTypeDate=_useState4[1];var _useState5=(0,_react.useState)(false),_useState6=(0,_slicedToArray2.default)(_useState5,2),isLoading=_useState6[0],setIsLoading=_useState6[1];var onSubmit=function _callee(values){var _props$route,_props$route$params,_props$route$params$l;var body,response,_response$data,_response$data$meta,_props$route2,_props$route2$params,_response$data2,_response$data2$meta,_t;return _regenerator.default.async(function(_context){while(1)switch(_context.prev=_context.next){case 0:body={LoanBriefId:props==null?void 0:(_props$route=props.route)==null?void 0:(_props$route$params=_props$route.params)==null?void 0:(_props$route$params$l=_props$route$params.loan)==null?void 0:_props$route$params$l.id,FullName:values.fullName,Dob:(0,_moment.default)(values.dob,'DD/MM/YYYY').format('YYYY-MM-DD'),Gender:values.gender,NationalCard:values.nationalCard,DateNationalId:(0,_moment.default)(values.dateNationalId,'DD/MM/YYYY').format('YYYY-MM-DD'),Phone:values.phone,Passport:values.passport,ProvinceId:values.provinceId,DistrictId:values.districtId,WardId:values.wardId,Address:values.address,IsMerried:values.isMerried,ResidentType:values.residentType,HouseHoldProvinceId:values.houseHoldProvinceId,HouseHoldDistrictId:values.houseHoldDistrictId,HouseHoldWardId:values.houseHoldWardId,HouseHoldAddress:values.houseHoldAddress,bankId:values.bankId,bankAccountName:values==null?void 0:values.bankAccountName,bankAccountNumber:values==null?void 0:values.bankAccountNumber};_context.prev=1;setIsLoading(true);_context.next=2;return _regenerator.default.awrap(_api.Api.getInstance().updateInfoCustomerV2(body));case 2:response=_context.sent;setIsLoading(false);if(response.kind==='ok'){if(((_response$data=response.data)==null?void 0:(_response$data$meta=_response$data.meta)==null?void 0:_response$data$meta.errorCode)===200){navigation.push(_navigation.ScreenNames.ReviewInformationOther,{loan:(_props$route2=props.route)==null?void 0:(_props$route2$params=_props$route2.params)==null?void 0:_props$route2$params.loan});}else{_AlertGlobal.AlertGlobal.show({type:'warning',title:'Thông báo',message:(_response$data2=response.data)==null?void 0:(_response$data2$meta=_response$data2.meta)==null?void 0:_response$data2$meta.errorMessage,primaryText:'Đóng'});}}else{_AlertGlobal.AlertGlobal.show({type:'warning',title:'Thông báo',message:'Có lỗi xảy ra. Vui lòng thử lại sau',primaryText:'Đóng'});}_context.next=4;break;case 3:_context.prev=3;_t=_context["catch"](1);setIsLoading(false);case 4:case"end":return _context.stop();}},null,null,[[1,3]],Promise);};var getData=function _callee2(){var _props$route3,_props$route3$params,_props$route3$params$,response,_response$data3,_response$data4,_response$data4$data,_response$data5,_response$data5$data,_response$data6,_response$data6$data,_response$data$data$g,_response$data7,_response$data7$data,_response$data8,_response$data8$data,_response$data9,_response$data9$data,_response$data0,_response$data0$data,_response$data1,_response$data1$data,_response$data10,_response$data10$data,_response$data11,_response$data11$data,_response$data12,_response$data12$data,_response$data13,_response$data13$data,_response$data14,_response$data14$data,_response$data15,_response$data15$data,_response$data16,_response$data16$data,_response$data17,_response$data17$data,_response$data18,_response$data18$data,_response$data20,_response$data20$data,_response$data21,_response$data21$data,_response$data22,_response$data22$data,_response$data23,_response$data23$data,_response$data24,_response$data24$data,_response$data26,_response$data26$data,_response$data27,_response$data27$data,_response$data28,_response$data28$data,_response$data29,_response$data29$data,_response$data30,_response$data30$data,_response$data31,_response$data31$data,_response$data$data$i,_response$data32,_response$data32$data,_response$data33,_response$data33$data,_response$data34,_response$data34$data,_response$data35,_response$data35$data,_response$data36,_response$data36$data,_response$data37,_response$data37$data,_response$data38,_response$data38$data,_response$data39,_response$data39$data,_response$data41,_response$data41$data,_response$data42,_response$data42$data,_response$data43,_response$data43$data,_response$data44,_response$data44$data,_response$data45,_response$data45$data,_response$data47,_response$data47$data,_response$data48,_response$data48$data,_response$data49,_response$data49$data,_response$data50,_response$data50$data,_response$data51,_response$data51$data,_response$data52,_response$data52$data,_response$data$data$b,_response$data53,_response$data53$data,_response$data$data$b2,_response$data54,_response$data54$data,_response$data$data$b3,_response$data55,_response$data55$data,_response$data$data$b4,_response$data56,_response$data56$data,_response$data19,_response$data19$data,_response$data25,_response$data25$data,_response$data40,_response$data40$data,_response$data46,_response$data46$data,_t2;return _regenerator.default.async(function(_context2){while(1)switch(_context2.prev=_context2.next){case 0:_context2.prev=0;setIsLoading(true);_context2.next=1;return _regenerator.default.awrap(_api.Api.getInstance().getInfoCustomerV2((_props$route3=props.route)==null?void 0:(_props$route3$params=_props$route3.params)==null?void 0:(_props$route3$params$=_props$route3$params.loan)==null?void 0:_props$route3$params$.id));case 1:response=_context2.sent;setIsLoading(false);if(response.kind==='ok'){if(((_response$data3=response.data)==null?void 0:_response$data3.meta.errorCode)===200){formRef.current.setFieldValue('fullName',response==null?void 0:(_response$data4=response.data)==null?void 0:(_response$data4$data=_response$data4.data)==null?void 0:_response$data4$data.fullName);formRef.current.setFieldValue('dob',response!=null&&(_response$data5=response.data)!=null&&(_response$data5$data=_response$data5.data)!=null&&_response$data5$data.dob?(0,_utils.formatDDMMYYY)(response==null?void 0:(_response$data6=response.data)==null?void 0:(_response$data6$data=_response$data6.data)==null?void 0:_response$data6$data.dob):'');formRef.current.setFieldValue('gender',(_response$data$data$g=response==null?void 0:(_response$data7=response.data)==null?void 0:(_response$data7$data=_response$data7.data)==null?void 0:_response$data7$data.gender)!=null?_response$data$data$g:null);formRef.current.setFieldValue('nationalCard',response!=null&&(_response$data8=response.data)!=null&&(_response$data8$data=_response$data8.data)!=null&&_response$data8$data.nationalCard?response==null?void 0:(_response$data9=response.data)==null?void 0:(_response$data9$data=_response$data9.data)==null?void 0:_response$data9$data.nationalCard:'');formRef.current.setFieldValue('dateNationalId',response!=null&&(_response$data0=response.data)!=null&&(_response$data0$data=_response$data0.data)!=null&&_response$data0$data.dateNationalId?(0,_utils.formatDDMMYYY)(response==null?void 0:(_response$data1=response.data)==null?void 0:(_response$data1$data=_response$data1.data)==null?void 0:_response$data1$data.dateNationalId):'');formRef.current.setFieldValue('phone',response!=null&&(_response$data10=response.data)!=null&&(_response$data10$data=_response$data10.data)!=null&&_response$data10$data.phone?response==null?void 0:(_response$data11=response.data)==null?void 0:(_response$data11$data=_response$data11.data)==null?void 0:_response$data11$data.phone:'');formRef.current.setFieldValue('passport',response!=null&&(_response$data12=response.data)!=null&&(_response$data12$data=_response$data12.data)!=null&&_response$data12$data.passport?response==null?void 0:(_response$data13=response.data)==null?void 0:(_response$data13$data=_response$data13.data)==null?void 0:_response$data13$data.passport:'');formRef.current.setFieldValue('provinceId',response!=null&&(_response$data14=response.data)!=null&&(_response$data14$data=_response$data14.data)!=null&&_response$data14$data.provinceId?response==null?void 0:(_response$data15=response.data)==null?void 0:(_response$data15$data=_response$data15.data)==null?void 0:_response$data15$data.provinceId:null);formRef.current.setFieldValue('provinceName',response!=null&&(_response$data16=response.data)!=null&&(_response$data16$data=_response$data16.data)!=null&&_response$data16$data.provinceName?response==null?void 0:(_response$data17=response.data)==null?void 0:(_response$data17$data=_response$data17.data)==null?void 0:_response$data17$data.provinceName:'');if(response!=null&&(_response$data18=response.data)!=null&&(_response$data18$data=_response$data18.data)!=null&&_response$data18$data.provinceId){_store.default.getDistrict(response==null?void 0:(_response$data19=response.data)==null?void 0:(_response$data19$data=_response$data19.data)==null?void 0:_response$data19$data.provinceId);}formRef.current.setFieldValue('districtId',response!=null&&(_response$data20=response.data)!=null&&(_response$data20$data=_response$data20.data)!=null&&_response$data20$data.districtId?response==null?void 0:(_response$data21=response.data)==null?void 0:(_response$data21$data=_response$data21.data)==null?void 0:_response$data21$data.districtId:null);formRef.current.setFieldValue('districtName',response!=null&&(_response$data22=response.data)!=null&&(_response$data22$data=_response$data22.data)!=null&&_response$data22$data.districtName?response==null?void 0:(_response$data23=response.data)==null?void 0:(_response$data23$data=_response$data23.data)==null?void 0:_response$data23$data.districtName:'');if(response!=null&&(_response$data24=response.data)!=null&&(_response$data24$data=_response$data24.data)!=null&&_response$data24$data.districtId){_store.default.getWard(response==null?void 0:(_response$data25=response.data)==null?void 0:(_response$data25$data=_response$data25.data)==null?void 0:_response$data25$data.districtId);}formRef.current.setFieldValue('wardId',response!=null&&(_response$data26=response.data)!=null&&(_response$data26$data=_response$data26.data)!=null&&_response$data26$data.wardId?response==null?void 0:(_response$data27=response.data)==null?void 0:(_response$data27$data=_response$data27.data)==null?void 0:_response$data27$data.wardId:null);formRef.current.setFieldValue('wardName',response!=null&&(_response$data28=response.data)!=null&&(_response$data28$data=_response$data28.data)!=null&&_response$data28$data.wardName?response==null?void 0:(_response$data29=response.data)==null?void 0:(_response$data29$data=_response$data29.data)==null?void 0:_response$data29$data.wardName:'');formRef.current.setFieldValue('address',response!=null&&(_response$data30=response.data)!=null&&(_response$data30$data=_response$data30.data)!=null&&_response$data30$data.address?response==null?void 0:(_response$data31=response.data)==null?void 0:(_response$data31$data=_response$data31.data)==null?void 0:_response$data31$data.address:'');formRef.current.setFieldValue('isMerried',(_response$data$data$i=response==null?void 0:(_response$data32=response.data)==null?void 0:(_response$data32$data=_response$data32.data)==null?void 0:_response$data32$data.isMerried)!=null?_response$data$data$i:0);formRef.current.setFieldValue('residentType',response!=null&&(_response$data33=response.data)!=null&&(_response$data33$data=_response$data33.data)!=null&&_response$data33$data.residentType?response==null?void 0:(_response$data34=response.data)==null?void 0:(_response$data34$data=_response$data34.data)==null?void 0:_response$data34$data.residentType:null);formRef.current.setFieldValue('houseHoldProvinceId',response!=null&&(_response$data35=response.data)!=null&&(_response$data35$data=_response$data35.data)!=null&&_response$data35$data.houseHoldProvinceId?response==null?void 0:(_response$data36=response.data)==null?void 0:(_response$data36$data=_response$data36.data)==null?void 0:_response$data36$data.houseHoldProvinceId:null);formRef.current.setFieldValue('houseHoldProvinceName',response!=null&&(_response$data37=response.data)!=null&&(_response$data37$data=_response$data37.data)!=null&&_response$data37$data.houseHoldProvinceName?response==null?void 0:(_response$data38=response.data)==null?void 0:(_response$data38$data=_response$data38.data)==null?void 0:_response$data38$data.houseHoldProvinceName:'');if(response!=null&&(_response$data39=response.data)!=null&&(_response$data39$data=_response$data39.data)!=null&&_response$data39$data.houseHoldProvinceId){_store.default.getDistrict2(response==null?void 0:(_response$data40=response.data)==null?void 0:(_response$data40$data=_response$data40.data)==null?void 0:_response$data40$data.houseHoldProvinceId);}formRef.current.setFieldValue('houseHoldDistrictId',response!=null&&(_response$data41=response.data)!=null&&(_response$data41$data=_response$data41.data)!=null&&_response$data41$data.houseHoldDistrictId?response==null?void 0:(_response$data42=response.data)==null?void 0:(_response$data42$data=_response$data42.data)==null?void 0:_response$data42$data.houseHoldDistrictId:null);formRef.current.setFieldValue('houseHoldDistrictName',response!=null&&(_response$data43=response.data)!=null&&(_response$data43$data=_response$data43.data)!=null&&_response$data43$data.houseHoldDistrictName?response==null?void 0:(_response$data44=response.data)==null?void 0:(_response$data44$data=_response$data44.data)==null?void 0:_response$data44$data.houseHoldDistrictName:'');if(response!=null&&(_response$data45=response.data)!=null&&(_response$data45$data=_response$data45.data)!=null&&_response$data45$data.houseHoldDistrictId){_store.default.getWard2(response==null?void 0:(_response$data46=response.data)==null?void 0:(_response$data46$data=_response$data46.data)==null?void 0:_response$data46$data.houseHoldDistrictId);}formRef.current.setFieldValue('houseHoldWardId',response!=null&&(_response$data47=response.data)!=null&&(_response$data47$data=_response$data47.data)!=null&&_response$data47$data.houseHoldWardId?response==null?void 0:(_response$data48=response.data)==null?void 0:(_response$data48$data=_response$data48.data)==null?void 0:_response$data48$data.houseHoldWardId:null);formRef.current.setFieldValue('houseHoldWardName',response!=null&&(_response$data49=response.data)!=null&&(_response$data49$data=_response$data49.data)!=null&&_response$data49$data.houseHoldWardName?response==null?void 0:(_response$data50=response.data)==null?void 0:(_response$data50$data=_response$data50.data)==null?void 0:_response$data50$data.houseHoldWardName:'');formRef.current.setFieldValue('houseHoldAddress',response!=null&&(_response$data51=response.data)!=null&&(_response$data51$data=_response$data51.data)!=null&&_response$data51$data.houseHoldAddress?response==null?void 0:(_response$data52=response.data)==null?void 0:(_response$data52$data=_response$data52.data)==null?void 0:_response$data52$data.houseHoldAddress:'');formRef.current.setFieldValue('bankAccountName',(_response$data$data$b=response==null?void 0:(_response$data53=response.data)==null?void 0:(_response$data53$data=_response$data53.data)==null?void 0:_response$data53$data.bankAccountName)!=null?_response$data$data$b:'');formRef.current.setFieldValue('bankAccountNumber',(_response$data$data$b2=response==null?void 0:(_response$data54=response.data)==null?void 0:(_response$data54$data=_response$data54.data)==null?void 0:_response$data54$data.bankAccountNumber)!=null?_response$data$data$b2:'');formRef.current.setFieldValue('bankId',(_response$data$data$b3=response==null?void 0:(_response$data55=response.data)==null?void 0:(_response$data55$data=_response$data55.data)==null?void 0:_response$data55$data.bankId)!=null?_response$data$data$b3:null);formRef.current.setFieldValue('bankName',(_response$data$data$b4=response==null?void 0:(_response$data56=response.data)==null?void 0:(_response$data56$data=_response$data56.data)==null?void 0:_response$data56$data.bankName)!=null?_response$data$data$b4:'');}else{}}_context2.next=3;break;case 2:_context2.prev=2;_t2=_context2["catch"](0);setIsLoading(false);console.log(_t2);case 3:case"end":return _context2.stop();}},null,null,[[0,2]],Promise);};(0,_react.useEffect)(function(){getData();_store.default.getListBank();_store.default.getRelationship();var trackEvent=function _callee3(){var _props$route4,_props$route4$params,_props$route4$params$,_props$route5,_props$route5$params,_props$route5$params$;return _regenerator.default.async(function(_context3){while(1)switch(_context3.prev=_context3.next){case 0:_context3.next=1;return _regenerator.default.awrap((0,_utils.logEvent)('thongtinvay_started',{event:'thongtinvay_started',createdAt:new Date(),deviceId:_AppStore.default.deviceId,loanId:String((_props$route4=props.route)==null?void 0:(_props$route4$params=_props$route4.params)==null?void 0:(_props$route4$params$=_props$route4$params.loan)==null?void 0:_props$route4$params$.id),utmSource:(_props$route5=props.route)==null?void 0:(_props$route5$params=_props$route5.params)==null?void 0:(_props$route5$params$=_props$route5$params.loan)==null?void 0:_props$route5$params$.utmSource}));case 1:(0,_utils.logEventFb)('thongtinvay_started');case 2:case"end":return _context3.stop();}},null,null,null,Promise);};trackEvent();},[]);return _react.default.createElement(_reactNative.View,{style:{flex:1},__self:this,__source:{fileName:_jsxFileName,lineNumber:294,columnNumber:5}},_react.default.createElement(_MHeader.default,{title:"Vay tr\u1EF1c tuy\u1EBFn 24/7",__self:this,__source:{fileName:_jsxFileName,lineNumber:295,columnNumber:7}}),_react.default.createElement(_reactNative.View,{style:_CommonStyles.commonStyles.fill,__self:this,__source:{fileName:_jsxFileName,lineNumber:296,columnNumber:7}},_react.default.createElement(_reactNative.View,{style:$h,__self:this,__source:{fileName:_jsxFileName,lineNumber:297,columnNumber:9}}),_react.default.createElement(_reactNative.View,{style:$bg,__self:this,__source:{fileName:_jsxFileName,lineNumber:298,columnNumber:9}},_react.default.createElement(_reactNative.View,{style:{paddingVertical:10,flexDirection:'row',alignItems:'center',paddingHorizontal:16},__self:this,__source:{fileName:_jsxFileName,lineNumber:299,columnNumber:11}},_react.default.createElement(_reactNative.TouchableOpacity,{style:{zIndex:1000},onPress:function onPress(){_AlertGlobal.AlertGlobal.show({type:'confirm',title:'Thoát cập nhật thông tin',message:'Bạn có chắc chắn muốn thoát cập nhật thông tin không?',primaryText:'Có',onPrimaryPress:function onPrimaryPress(){navigation.dispatch(_native.CommonActions.reset({index:1,routes:[{name:_navigation.ScreenNames.Main}]}));},secondaryText:'Không'});},__self:this,__source:{fileName:_jsxFileName,lineNumber:307,columnNumber:13}},_react.default.createElement(_svgs.IconBack,{__self:this,__source:{fileName:_jsxFileName,lineNumber:330,columnNumber:15}})),_react.default.createElement(_MText.MText,{style:$title,__self:this,__source:{fileName:_jsxFileName,lineNumber:332,columnNumber:13}},"Th\xF4ng tin c\xE1 nh\xE2n")),_react.default.createElement(_formik.Formik,{innerRef:formRef,onSubmit:onSubmit,initialValues:{fullName:'',dob:'',gender:null,nationalCard:'',dateNationalId:'',phone:'',passport:'',provinceId:null,provinceName:'',districtId:null,districtName:'',wardId:null,wardName:'',address:'',isMerried:1,residentType:14,houseHoldProvinceId:null,houseHoldProvinceName:'',houseHoldDistrictId:null,houseHoldDistrictName:'',houseHoldWardId:null,houseHoldWardName:'',houseHoldAddress:'',bankId:null,bankName:'',bankAccountName:'',bankAccountNumber:''},validationSchema:yup.object().shape({fullName:yup.string().required('Vui lòng nhập họ tên'),dob:yup.string().required('Vui lòng nhập ngày sinh').nullable(),gender:yup.number().required('Vui lòng chọn giới tính').nullable(),nationalCard:yup.string().required('Vui lòng nhập CCCD/CMND'),dateNationalId:yup.string().required('Vui lòng nhập ngày cấp').nullable(),phone:yup.string().required('Vui lòng nhập số điện thoại').nullable(),provinceName:yup.string().required('Thành phố là bắt buộc'),districtName:yup.string().required('Quận huyện là bắt buộc'),wardName:yup.string().required('Phường xã là bắt buộc'),address:yup.string().required('Địa chỉ là bắt buộc'),houseHoldProvinceName:yup.string().required('Thành phố là bắt buộc'),houseHoldDistrictName:yup.string().required('Quận huyện là bắt buộc'),houseHoldWardName:yup.string().required('Phường xã là bắt buộc'),houseHoldAddress:yup.string().required('Địa chỉ là bắt buộc'),bankName:yup.string().required('Vui lòng chọn ngân hàng'),bankAccountName:yup.string().required('Vui lòng nhập chủ thẻ'),bankAccountNumber:yup.string().required('Vui lòng nhập số tài khoản')}),__self:this,__source:{fileName:_jsxFileName,lineNumber:335,columnNumber:11}},function(_ref){var values=_ref.values,errors=_ref.errors,handleChange=_ref.handleChange,handleSubmit=_ref.handleSubmit,setFieldValue=_ref.setFieldValue;var renderView=(0,_react.useMemo)(function(){return _react.default.createElement(_reactNative.ScrollView,{style:[_CommonStyles.commonStyles.fill,{paddingHorizontal:16}],__self:_this,__source:{fileName:_jsxFileName,lineNumber:411,columnNumber:19}},_react.default.createElement(_MText.MText,{style:$title2,__self:_this,__source:{fileName:_jsxFileName,lineNumber:414,columnNumber:21}},"1.1 Th\xF4ng tin c\xE1 nh\xE2n"),_react.default.createElement(_MText.MText,{style:$label,__self:_this,__source:{fileName:_jsxFileName,lineNumber:415,columnNumber:21}},"H\u1ECD v\xE0 t\xEAn"),_react.default.createElement(_reactNative.TextInput,{style:[$textInput,{color:'#333333',fontWeight:'500',fontFamily:'BeVietnamPro-Medium'}],value:values.fullName,onChangeText:handleChange('fullName'),__self:_this,__source:{fileName:_jsxFileName,lineNumber:416,columnNumber:21}}),errors&&errors.fullName&&_react.default.createElement(_MText.MText,{style:$error,__self:_this,__source:{fileName:_jsxFileName,lineNumber:429,columnNumber:23}},errors.fullName),_react.default.createElement(_reactNative.View,{style:[$row,{marginTop:16}],__self:_this,__source:{fileName:_jsxFileName,lineNumber:431,columnNumber:21}},_react.default.createElement(_reactNative.View,{style:[_CommonStyles.commonStyles.fill],__self:_this,__source:{fileName:_jsxFileName,lineNumber:432,columnNumber:23}},_react.default.createElement(_MText.MText,{style:$label,__self:_this,__source:{fileName:_jsxFileName,lineNumber:433,columnNumber:25}},"Sinh ng\xE0y"),_react.default.createElement(_reactNative.TouchableOpacity,{style:$select,onPress:function onPress(){setTypeDate(1);setShowDate(true);},__self:_this,__source:{fileName:_jsxFileName,lineNumber:434,columnNumber:25}},_react.default.createElement(_MText.MText,{style:{color:'#333333',fontWeight:'500',fontFamily:'BeVietnamPro-Medium'},__self:_this,__source:{fileName:_jsxFileName,lineNumber:441,columnNumber:27}},values.dob)),errors&&errors.dob&&_react.default.createElement(_MText.MText,{style:$error,__self:_this,__source:{fileName:_jsxFileName,lineNumber:452,columnNumber:27}},errors.dob)),_react.default.createElement(_reactNative.View,{style:[_CommonStyles.commonStyles.fill],__self:_this,__source:{fileName:_jsxFileName,lineNumber:455,columnNumber:23}},_react.default.createElement(_MText.MText,{style:$label,__self:_this,__source:{fileName:_jsxFileName,lineNumber:456,columnNumber:25}},"Gi\u1EDBi t\xEDnh"),_react.default.createElement(_reactNative.TouchableOpacity,{style:$select,onPress:function onPress(){navigation.push(_navigation.ScreenNames.MSelect,{title:'Chọn giới tính',data:_utils.EnumGender,callback:function callback(item){setFieldValue('gender',item.id);}});},__self:_this,__source:{fileName:_jsxFileName,lineNumber:457,columnNumber:25}},_react.default.createElement(_MText.MText,{style:{color:'#333333',fontSize:16,fontWeight:'500',flex:1},__self:_this,__source:{fileName:_jsxFileName,lineNumber:469,columnNumber:27}},values.gender===0?'Nam':values.gender===1?'Nữ':''),_react.default.createElement(_icons.DropDown2,{__self:_this,__source:{fileName:_jsxFileName,lineNumber:483,columnNumber:27}})),errors&&errors.gender&&_react.default.createElement(_MText.MText,{style:$error,__self:_this,__source:{fileName:_jsxFileName,lineNumber:486,columnNumber:27}},errors.gender))),_react.default.createElement(_reactNative.View,{style:[$row],__self:_this,__source:{fileName:_jsxFileName,lineNumber:491,columnNumber:21}},_react.default.createElement(_reactNative.View,{style:[_CommonStyles.commonStyles.fill],__self:_this,__source:{fileName:_jsxFileName,lineNumber:492,columnNumber:23}},_react.default.createElement(_MText.MText,{style:$label,__self:_this,__source:{fileName:_jsxFileName,lineNumber:493,columnNumber:25}},"S\u1ED1 CCCD/CMND"),_react.default.createElement(_reactNative.TextInput,{keyboardType:"number-pad",style:[$textInput,{color:'#333333',fontWeight:'500',fontFamily:'BeVietnamPro-Medium'}],value:values.nationalCard,onChangeText:handleChange('nationalCard'),__self:_this,__source:{fileName:_jsxFileName,lineNumber:494,columnNumber:25}}),errors&&errors.nationalCard&&_react.default.createElement(_MText.MText,{style:$error,__self:_this,__source:{fileName:_jsxFileName,lineNumber:508,columnNumber:27}},errors.nationalCard)),_react.default.createElement(_reactNative.View,{style:[_CommonStyles.commonStyles.fill],__self:_this,__source:{fileName:_jsxFileName,lineNumber:511,columnNumber:23}},_react.default.createElement(_MText.MText,{style:$label,__self:_this,__source:{fileName:_jsxFileName,lineNumber:512,columnNumber:25}},"Ng\xE0y c\u1EA5p"),_react.default.createElement(_reactNative.TouchableOpacity,{style:$select,onPress:function onPress(){setTypeDate(2);setShowDate(true);},__self:_this,__source:{fileName:_jsxFileName,lineNumber:513,columnNumber:25}},_react.default.createElement(_MText.MText,{numberOfLines:1,style:{color:values.dateNationalId!==''?'#333333':'#BDBDBD',fontWeight:'500',flex:1,fontFamily:'BeVietnamPro-Medium'},__self:_this,__source:{fileName:_jsxFileName,lineNumber:520,columnNumber:27}},values.dateNationalId!==''?values.dateNationalId:'DD/MM/YYYY')),errors&&errors.dateNationalId&&_react.default.createElement(_MText.MText,{style:$error,__self:_this,__source:{fileName:_jsxFileName,lineNumber:538,columnNumber:27}},errors.dateNationalId))),_react.default.createElement(_MText.MText,{style:$label,__self:_this,__source:{fileName:_jsxFileName,lineNumber:542,columnNumber:21}},"S\u1ED1 \u0111i\u1EC7n tho\u1EA1i"),_react.default.createElement(_reactNative.TextInput,{editable:false,keyboardType:"number-pad",style:[$textInput,{color:'#333333',fontWeight:'500',fontFamily:'BeVietnamPro-Medium'}],value:values.phone,onChangeText:handleChange('phone'),__self:_this,__source:{fileName:_jsxFileName,lineNumber:543,columnNumber:21}}),errors&&errors.phone&&_react.default.createElement(_MText.MText,{style:$error,__self:_this,__source:{fileName:_jsxFileName,lineNumber:558,columnNumber:23}},errors.phone),_react.default.createElement(_MText.MText,{style:[$title2,{marginTop:16}],__self:_this,__source:{fileName:_jsxFileName,lineNumber:577,columnNumber:21}},"1.2 Th\xF4ng tin gi\u1EA3i ng\xE2n"),_react.default.createElement(_MText.MText,{style:$label,__self:_this,__source:{fileName:_jsxFileName,lineNumber:580,columnNumber:21}},"Ng\xE2n h\xE0ng"),_react.default.createElement(_reactNative.TouchableOpacity,{style:$select,onPress:function onPress(){navigation.push(_navigation.ScreenNames.CommonSelect,{title:'Chọn ngân hàng',data:_store.default.listBank,callback:function callback(value){setFieldValue('bankName',value.name);setFieldValue('bankId',value.id);}});},__self:_this,__source:{fileName:_jsxFileName,lineNumber:581,columnNumber:21}},_react.default.createElement(_MText.MText,{numberOfLines:1,style:{color:'#333333',fontWeight:'500',flex:1,fontFamily:'BeVietnamPro-Medium'},__self:_this,__source:{fileName:_jsxFileName,lineNumber:594,columnNumber:23}},values.bankName),_react.default.createElement(_icons.DropDown2,{__self:_this,__source:{fileName:_jsxFileName,lineNumber:605,columnNumber:23}})),errors&&errors.bankName&&_react.default.createElement(_MText.MText,{style:$error,__self:_this,__source:{fileName:_jsxFileName,lineNumber:608,columnNumber:23}},errors.bankName),_react.default.createElement(_MText.MText,{style:[$label,{marginTop:16}],__self:_this,__source:{fileName:_jsxFileName,lineNumber:610,columnNumber:21}},"T\xEAn s\u1ED1 t\xE0i kho\u1EA3n"),_react.default.createElement(_reactNative.TextInput,{numberOfLines:1,style:[$textInput,{color:'#333333',fontWeight:'500',fontFamily:'BeVietnamPro-Medium'}],value:values.bankAccountName,onChangeText:handleChange('bankAccountName'),__self:_this,__source:{fileName:_jsxFileName,lineNumber:613,columnNumber:21}}),errors&&errors.bankAccountName&&_react.default.createElement(_MText.MText,{style:$error,__self:_this,__source:{fileName:_jsxFileName,lineNumber:627,columnNumber:23}},errors.bankAccountName),_react.default.createElement(_MText.MText,{style:[$label,{marginTop:16}],__self:_this,__source:{fileName:_jsxFileName,lineNumber:629,columnNumber:21}},"S\u1ED1 t\xE0i kho\u1EA3n"),_react.default.createElement(_reactNative.TextInput,{keyboardType:"number-pad",numberOfLines:1,style:[$textInput,{color:'#333333',fontWeight:'500',fontFamily:'BeVietnamPro-Medium'}],value:values.bankAccountNumber,onChangeText:handleChange('bankAccountNumber'),__self:_this,__source:{fileName:_jsxFileName,lineNumber:632,columnNumber:21}}),errors&&errors.bankAccountNumber&&_react.default.createElement(_MText.MText,{style:$error,__self:_this,__source:{fileName:_jsxFileName,lineNumber:647,columnNumber:23}},errors.bankAccountNumber),_react.default.createElement(_MText.MText,{style:[$title2,{marginTop:16}],__self:_this,__source:{fileName:_jsxFileName,lineNumber:650,columnNumber:21}},"1.3 S\u1ED5 h\u1ED9 kh\u1EA9u"),_react.default.createElement(_reactNative.View,{style:[$row],__self:_this,__source:{fileName:_jsxFileName,lineNumber:653,columnNumber:21}},_react.default.createElement(_reactNative.View,{style:[_CommonStyles.commonStyles.fill],__self:_this,__source:{fileName:_jsxFileName,lineNumber:654,columnNumber:23}},_react.default.createElement(_MText.MText,{style:$label,__self:_this,__source:{fileName:_jsxFileName,lineNumber:655,columnNumber:25}},"T\u1EC9nh/ Th\xE0nh ph\u1ED1"),_react.default.createElement(_reactNative.TouchableOpacity,{style:$select,onPress:function onPress(){navigation.push(_navigation.ScreenNames.CommonSelect,{title:'Tỉnh/ Thành phố',data:_store.default.listProvince,callback:function callback(item){setFieldValue('houseHoldProvinceId',item.id);setFieldValue('houseHoldProvinceName',item.name);setFieldValue('houseHoldDistrictId',null);setFieldValue('houseHoldDistrictName','');setFieldValue('houseHoldWardId',null);setFieldValue('houseHoldWardName','');_store.default.getDistrict2(item.id);}});},__self:_this,__source:{fileName:_jsxFileName,lineNumber:656,columnNumber:25}},_react.default.createElement(_MText.MText,{numberOfLines:1,style:{color:'#333333',fontWeight:'500',flex:1,fontFamily:'BeVietnamPro-Medium'},__self:_this,__source:{fileName:_jsxFileName,lineNumber:677,columnNumber:27}},values.houseHoldProvinceName),_react.default.createElement(_icons.DropDown2,{__self:_this,__source:{fileName:_jsxFileName,lineNumber:688,columnNumber:27}})),errors&&errors.houseHoldProvinceName&&_react.default.createElement(_MText.MText,{style:$error,__self:_this,__source:{fileName:_jsxFileName,lineNumber:691,columnNumber:27}},errors.houseHoldProvinceName)),_react.default.createElement(_reactNative.View,{style:[_CommonStyles.commonStyles.fill],__self:_this,__source:{fileName:_jsxFileName,lineNumber:696,columnNumber:23}},_react.default.createElement(_MText.MText,{style:$label,__self:_this,__source:{fileName:_jsxFileName,lineNumber:697,columnNumber:25}},"Qu\u1EADn/ Huy\u1EC7n"),_react.default.createElement(_reactNative.TouchableOpacity,{style:$select,onPress:function onPress(){navigation.push(_navigation.ScreenNames.CommonSelect,{title:'Phường/ Xã',data:_store.default.listDistrict2,callback:function callback(item){setFieldValue('houseHoldDistrictId',item.id);setFieldValue('houseHoldDistrictName',item.name);setFieldValue('houseHoldWardId',null);setFieldValue('houseHoldWardName','');_store.default.getWard2(item.id);}});},__self:_this,__source:{fileName:_jsxFileName,lineNumber:698,columnNumber:25}},_react.default.createElement(_MText.MText,{numberOfLines:1,style:{color:'#333333',fontWeight:'500',flex:1,fontFamily:'BeVietnamPro-Medium'},__self:_this,__source:{fileName:_jsxFileName,lineNumber:717,columnNumber:27}},values.houseHoldDistrictName),_react.default.createElement(_icons.DropDown2,{__self:_this,__source:{fileName:_jsxFileName,lineNumber:728,columnNumber:27}})),errors&&errors.houseHoldDistrictName&&_react.default.createElement(_MText.MText,{style:$error,__self:_this,__source:{fileName:_jsxFileName,lineNumber:731,columnNumber:27}},errors.houseHoldDistrictName))),_react.default.createElement(_MText.MText,{style:[$label],__self:_this,__source:{fileName:_jsxFileName,lineNumber:737,columnNumber:21}},"Ph\u01B0\u1EDDng/ X\xE3"),_react.default.createElement(_reactNative.TouchableOpacity,{style:$select,onPress:function onPress(){navigation.push(_navigation.ScreenNames.CommonSelect,{title:'Phường/ Xã',data:_store.default.listWard2,callback:function callback(item){setFieldValue('houseHoldWardId',item==null?void 0:item.id);setFieldValue('houseHoldWardName',item==null?void 0:item.name);}});},__self:_this,__source:{fileName:_jsxFileName,lineNumber:738,columnNumber:21}},_react.default.createElement(_MText.MText,{numberOfLines:1,style:{color:'#333333',fontWeight:'500',flex:1,fontFamily:'BeVietnamPro-Medium'},__self:_this,__source:{fileName:_jsxFileName,lineNumber:751,columnNumber:23}},values.houseHoldWardName),_react.default.createElement(_icons.DropDown2,{__self:_this,__source:{fileName:_jsxFileName,lineNumber:762,columnNumber:23}})),errors&&errors.houseHoldWardName&&_react.default.createElement(_MText.MText,{style:$error,__self:_this,__source:{fileName:_jsxFileName,lineNumber:765,columnNumber:23}},errors.houseHoldWardName),_react.default.createElement(_MText.MText,{style:[$label,{marginTop:16}],__self:_this,__source:{fileName:_jsxFileName,lineNumber:767,columnNumber:21}},"\u0110\u1ECBa ch\u1EC9 chi ti\u1EBFt"),_react.default.createElement(_reactNative.TextInput,{numberOfLines:1,style:[$textInput,{color:'#333333',fontWeight:'500',fontFamily:'BeVietnamPro-Medium'}],value:values.houseHoldAddress,onChangeText:handleChange('houseHoldAddress'),__self:_this,__source:{fileName:_jsxFileName,lineNumber:770,columnNumber:21}}),errors&&errors.houseHoldAddress&&_react.default.createElement(_MText.MText,{style:$error,__self:_this,__source:{fileName:_jsxFileName,lineNumber:784,columnNumber:23}},errors.houseHoldAddress),_react.default.createElement(_reactNative.View,{style:[$row,{marginTop:16}],__self:_this,__source:{fileName:_jsxFileName,lineNumber:786,columnNumber:21}},_react.default.createElement(_MText.MText,{style:{fontSize:14,color:'#333333'},__self:_this,__source:{fileName:_jsxFileName,lineNumber:787,columnNumber:23}},"A/C \u0111\xE3 c\xF3 gia \u0111\xECnh ch\u01B0a"),_react.default.createElement(_reactNative.View,{style:{flex:1,flexDirection:'row',gap:16,justifyContent:'space-between',marginLeft:16},__self:_this,__source:{fileName:_jsxFileName,lineNumber:795,columnNumber:23}},_react.default.createElement(_reactNative.TouchableOpacity,{onPress:function onPress(){return setFieldValue('isMerried',1);},style:{flexDirection:'row',gap:5,alignItems:'center'},__self:_this,__source:{fileName:_jsxFileName,lineNumber:804,columnNumber:25}},values.isMerried===1?_react.default.createElement(_icons.RadioCheckIcon,{__self:_this,__source:{fileName:_jsxFileName,lineNumber:813,columnNumber:29}}):_react.default.createElement(_icons.RadioIcon,{__self:_this,__source:{fileName:_jsxFileName,lineNumber:815,columnNumber:29}}),_react.default.createElement(_MText.MText,{__self:_this,__source:{fileName:_jsxFileName,lineNumber:817,columnNumber:27}},"\u0110\xE3 c\xF3")),_react.default.createElement(_reactNative.TouchableOpacity,{onPress:function onPress(){return setFieldValue('isMerried',0);},style:{flexDirection:'row',gap:5,alignItems:'center'},__self:_this,__source:{fileName:_jsxFileName,lineNumber:819,columnNumber:25}},values.isMerried===0?_react.default.createElement(_icons.RadioCheckIcon,{__self:_this,__source:{fileName:_jsxFileName,lineNumber:828,columnNumber:29}}):_react.default.createElement(_icons.RadioIcon,{__self:_this,__source:{fileName:_jsxFileName,lineNumber:830,columnNumber:29}}),_react.default.createElement(_MText.MText,{__self:_this,__source:{fileName:_jsxFileName,lineNumber:832,columnNumber:27}},"Ch\u01B0a c\xF3")))),_react.default.createElement(_MText.MText,{style:[$title2],__self:_this,__source:{fileName:_jsxFileName,lineNumber:836,columnNumber:21}},"1.4 N\u01A1i \u1EDF hi\u1EC7n t\u1EA1i"),_react.default.createElement(_MText.MText,{style:{fontSize:14,color:'#333333'},__self:_this,__source:{fileName:_jsxFileName,lineNumber:837,columnNumber:21}},"N\u01A1i \u1EDF c\xF3 tr\xF9ng v\u1EDBi \u0111\u1ECBa ch\u1EC9 h\u1ED9 kh\u1EA9u kh\xF4ng?"),_react.default.createElement(_reactNative.View,{style:{flex:1,flexDirection:'row',gap:16,marginTop:5},__self:_this,__source:{fileName:_jsxFileName,lineNumber:845,columnNumber:21}},_react.default.createElement(_reactNative.TouchableOpacity,{onPress:function onPress(){setFieldValue('residentType',14);setFieldValue('provinceId',values.houseHoldProvinceId);setFieldValue('provinceName',values.houseHoldProvinceName);setFieldValue('districtId',values.houseHoldDistrictId);setFieldValue('districtName',values.houseHoldDistrictName);setFieldValue('wardId',values.houseHoldWardId);setFieldValue('wardName',values.houseHoldWardName);if(values.houseHoldDistrictId){_store.default.getWard(values.houseHoldDistrictId);}if(values.houseHoldProvinceId){_store.default.getDistrict(values.houseHoldProvinceId);}setFieldValue('address',values.houseHoldAddress);},style:{flexDirection:'row',gap:5,alignItems:'center',flex:1},__self:_this,__source:{fileName:_jsxFileName,lineNumber:853,columnNumber:23}},values.residentType===14?_react.default.createElement(_icons.RadioCheckIcon,{__self:_this,__source:{fileName:_jsxFileName,lineNumber:890,columnNumber:27}}):_react.default.createElement(_icons.RadioIcon,{__self:_this,__source:{fileName:_jsxFileName,lineNumber:892,columnNumber:27}}),_react.default.createElement(_MText.MText,{__self:_this,__source:{fileName:_jsxFileName,lineNumber:894,columnNumber:25}},"C\xF3 tr\xF9ng")),_react.default.createElement(_reactNative.TouchableOpacity,{onPress:function onPress(){setFieldValue('residentType',15);setFieldValue('provinceId',null);setFieldValue('provinceName','');setFieldValue('districtId',null);setFieldValue('districtName','');setFieldValue('wardId',null);setFieldValue('wardName','');setFieldValue('address','');},style:{flexDirection:'row',gap:5,alignItems:'center',flex:1},__self:_this,__source:{fileName:_jsxFileName,lineNumber:896,columnNumber:23}},values.residentType===15?_react.default.createElement(_icons.RadioCheckIcon,{__self:_this,__source:{fileName:_jsxFileName,lineNumber:915,columnNumber:27}}):_react.default.createElement(_icons.RadioIcon,{__self:_this,__source:{fileName:_jsxFileName,lineNumber:917,columnNumber:27}}),_react.default.createElement(_MText.MText,{__self:_this,__source:{fileName:_jsxFileName,lineNumber:919,columnNumber:25}},"Kh\xF4ng tr\xF9ng"))),_react.default.createElement(_reactNative.View,{style:[$row,{marginTop:16}],__self:_this,__source:{fileName:_jsxFileName,lineNumber:923,columnNumber:21}},_react.default.createElement(_reactNative.View,{style:[_CommonStyles.commonStyles.fill],__self:_this,__source:{fileName:_jsxFileName,lineNumber:924,columnNumber:23}},_react.default.createElement(_MText.MText,{style:$label,__self:_this,__source:{fileName:_jsxFileName,lineNumber:925,columnNumber:25}},"T\u1EC9nh/ Th\xE0nh ph\u1ED1"),_react.default.createElement(_reactNative.TouchableOpacity,{style:$select,onPress:function onPress(){navigation.push(_navigation.ScreenNames.CommonSelect,{title:'Tỉnh/ Thành phố',data:_store.default.listProvince,callback:function callback(item){setFieldValue('provinceId',item.id);setFieldValue('provinceName',item==null?void 0:item.name);setFieldValue('districtId',null);setFieldValue('districtName','');setFieldValue('wardId',null);setFieldValue('wardName','');_store.default.getDistrict(item.id);}});},__self:_this,__source:{fileName:_jsxFileName,lineNumber:926,columnNumber:25}},_react.default.createElement(_MText.MText,{numberOfLines:1,style:{color:'#333333',fontWeight:'500',flex:1,fontFamily:'BeVietnamPro-Medium'},__self:_this,__source:{fileName:_jsxFileName,lineNumber:944,columnNumber:27}},values.provinceName),_react.default.createElement(_icons.DropDown2,{__self:_this,__source:{fileName:_jsxFileName,lineNumber:955,columnNumber:27}})),errors&&errors.provinceName&&_react.default.createElement(_MText.MText,{style:$error,__self:_this,__source:{fileName:_jsxFileName,lineNumber:958,columnNumber:27}},errors.provinceName)),_react.default.createElement(_reactNative.View,{style:[_CommonStyles.commonStyles.fill],__self:_this,__source:{fileName:_jsxFileName,lineNumber:961,columnNumber:23}},_react.default.createElement(_MText.MText,{style:$label,__self:_this,__source:{fileName:_jsxFileName,lineNumber:962,columnNumber:25}},"Qu\u1EADn/ Huy\u1EC7n"),_react.default.createElement(_reactNative.TouchableOpacity,{style:$select,onPress:function onPress(){navigation.push(_navigation.ScreenNames.CommonSelect,{title:'Quận/ Huyện',data:_store.default.listDistrict,callback:function callback(item){setFieldValue('districtId',item==null?void 0:item.id);setFieldValue('districtName',item==null?void 0:item.name);setFieldValue('wardId',null);setFieldValue('wardName','');_store.default.getWard(item.id);}});},__self:_this,__source:{fileName:_jsxFileName,lineNumber:963,columnNumber:25}},_react.default.createElement(_MText.MText,{numberOfLines:1,style:{color:'#333333',fontSize:16,fontWeight:'500',flex:1},__self:_this,__source:{fileName:_jsxFileName,lineNumber:979,columnNumber:27}},values.districtName),_react.default.createElement(_icons.DropDown2,{__self:_this,__source:{fileName:_jsxFileName,lineNumber:990,columnNumber:27}})),errors&&errors.districtName&&_react.default.createElement(_MText.MText,{style:$error,__self:_this,__source:{fileName:_jsxFileName,lineNumber:993,columnNumber:27}},errors.districtName))),_react.default.createElement(_MText.MText,{style:[$label],__self:_this,__source:{fileName:_jsxFileName,lineNumber:997,columnNumber:21}},"Ph\u01B0\u1EDDng/ X\xE3"),_react.default.createElement(_reactNative.TouchableOpacity,{style:$select,onPress:function onPress(){navigation.push(_navigation.ScreenNames.CommonSelect,{title:'Phường/ Xã',data:_store.default.listWard,callback:function callback(item){setFieldValue('wardId',item.id);setFieldValue('wardName',item==null?void 0:item.name);}});},__self:_this,__source:{fileName:_jsxFileName,lineNumber:998,columnNumber:21}},_react.default.createElement(_MText.MText,{numberOfLines:1,style:{color:'#333333',fontWeight:'500',flex:1,fontFamily:'BeVietnamPro-Medium'},__self:_this,__source:{fileName:_jsxFileName,lineNumber:1011,columnNumber:23}},values.wardName),_react.default.createElement(_icons.DropDown2,{__self:_this,__source:{fileName:_jsxFileName,lineNumber:1022,columnNumber:23}})),errors&&errors.wardName&&_react.default.createElement(_MText.MText,{style:$error,__self:_this,__source:{fileName:_jsxFileName,lineNumber:1025,columnNumber:23}},errors.wardName),_react.default.createElement(_MText.MText,{style:[$label,{marginTop:16}],__self:_this,__source:{fileName:_jsxFileName,lineNumber:1027,columnNumber:21}},"\u0110\u1ECBa ch\u1EC9 chi ti\u1EBFt"),_react.default.createElement(_reactNative.TextInput,{style:[$textInput,{color:'#333333',fontWeight:'500'}],value:values.address,onChangeText:handleChange('address'),__self:_this,__source:{fileName:_jsxFileName,lineNumber:1030,columnNumber:21}}),errors&&errors.address&&_react.default.createElement(_MText.MText,{style:$error,__self:_this,__source:{fileName:_jsxFileName,lineNumber:1042,columnNumber:23}},errors.address),_react.default.createElement(_MButton.default,{onPress:function onPress(){handleSubmit();},style:{marginVertical:24},__self:_this,__source:{fileName:_jsxFileName,lineNumber:1044,columnNumber:21}},_react.default.createElement(_reactNativeLinearGradient.default,{start:{x:1,y:0},end:{x:0,y:1},style:{height:40,marginVertical:16,borderRadius:30,alignItems:'center',justifyContent:'center'},colors:['#FF7A00','#EF4123'],__self:_this,__source:{fileName:_jsxFileName,lineNumber:1052,columnNumber:23}},_react.default.createElement(_MText.MText,{style:{color:'white',fontSize:16},__self:_this,__source:{fileName:_jsxFileName,lineNumber:1064,columnNumber:25}},"Ti\u1EBFp t\u1EE5c"))));},[values,errors]);return _react.default.createElement(_react.default.Fragment,null,renderView,_react.default.createElement(_reactNativeDatePicker.default,{mode:"date",open:showDate,modal:true,title:"Ch\u1ECDn th\u1EDDi gian",locale:"vi",date:new Date(),onCancel:function onCancel(){setShowDate(false);},onConfirm:function onConfirm(date){setShowDate(false);if(typeDate===1){setFieldValue('dob',(0,_utils.formatDDMMYYY)(date));}if(typeDate===2){setFieldValue('dateNationalId',(0,_utils.formatDDMMYYY)(date));}},__self:_this,__source:{fileName:_jsxFileName,lineNumber:1081,columnNumber:19}}));}),_react.default.createElement(_keyboardspace.default,{__self:this,__source:{fileName:_jsxFileName,lineNumber:1105,columnNumber:11}}))),_react.default.createElement(_Loading.default,{isLoading:isLoading,__self:this,__source:{fileName:_jsxFileName,lineNumber:1108,columnNumber:7}}));}var $row={flexDirection:'row',marginBottom:16,gap:16};var $textInput={borderWidth:1,borderRadius:4,borderColor:'#E0E0E0',height:40,paddingHorizontal:8,fontFamily:'BeVietnamPro-Medium'};var $label={fontSize:14,color:'#333333',paddingBottom:5};var $title2={fontSize:16,fontWeight:'bold',color:'#333333',paddingBottom:10,marginTop:6};var $title={fontSize:16,fontWeight:'bold',color:'#333333',position:'absolute',left:0,right:0,textAlign:'center'};var $h={backgroundColor:'#EF592E',position:'absolute',height:30,width:'100%'};var $bg={borderTopLeftRadius:30,borderTopRightRadius:30,backgroundColor:'white',flex:1};var $select={flexDirection:'row',height:40,alignItems:'center',paddingHorizontal:8,borderWidth:1,borderRadius:4,borderColor:'#E0E0E0'};var $error={color:'#EB5757',fontSize:14,fontStyle:'italic',fontFamily:'BeVietnamPro-Thin',fontWeight:'300',marginTop:5};
1
+ var _interopRequireDefault=require("@babel/runtime/helpers/interopRequireDefault");Object.defineProperty(exports,"__esModule",{value:true});exports.default=ReviewInformation;var _regenerator=_interopRequireDefault(require("@babel/runtime/regenerator"));var _slicedToArray2=_interopRequireDefault(require("@babel/runtime/helpers/slicedToArray"));var _react=_interopRequireWildcard(require("react"));var _reactNative=require("react-native");var _MHeader=_interopRequireDefault(require("../../components/MHeader"));var _CommonStyles=require("../CommonStyles");var _MText=require("../../components/MText");var _svgs=require("../../assets/svgs");var _native=require("@react-navigation/native");var _navigation=require("../../navigation");var _formik=require("formik");var _icons=require("../../assets/icons");var _reactNativeLinearGradient=_interopRequireDefault(require("react-native-linear-gradient"));var _MButton=_interopRequireDefault(require("../../components/MButton"));var _keyboardspace=_interopRequireDefault(require("../../components/keyboardspace"));var yup=_interopRequireWildcard(require("yup"));var _utils=require("../../utils");var _store=_interopRequireDefault(require("./store"));var _reactNativeDatePicker=_interopRequireDefault(require("react-native-date-picker"));var _api=require("../../services/api");var _Loading=_interopRequireDefault(require("../../components/Loading"));var _moment=_interopRequireDefault(require("moment"));var _AppStore=_interopRequireDefault(require("../../AppStore"));var _AlertGlobal=require("../../components/ModalNotification/AlertGlobal");var _jsxFileName="/Users/tima/Tima/react-native-timacare/src/screens/toan-trinh-so/ReviewInformation.tsx";function _interopRequireWildcard(e,t){if("function"==typeof WeakMap)var r=new WeakMap(),n=new WeakMap();return(_interopRequireWildcard=function _interopRequireWildcard(e,t){if(!t&&e&&e.__esModule)return e;var o,i,f={__proto__:null,default:e};if(null===e||"object"!=typeof e&&"function"!=typeof e)return f;if(o=t?n:r){if(o.has(e))return o.get(e);o.set(e,f);}for(var _t3 in e)"default"!==_t3&&{}.hasOwnProperty.call(e,_t3)&&((i=(o=Object.defineProperty)&&Object.getOwnPropertyDescriptor(e,_t3))&&(i.get||i.set)?o(f,_t3,i):f[_t3]=e[_t3]);return f;})(e,t);}function ReviewInformation(props){var _this=this;var navigation=(0,_native.useNavigation)();var formRef=(0,_react.useRef)(null);var _useState=(0,_react.useState)(false),_useState2=(0,_slicedToArray2.default)(_useState,2),showDate=_useState2[0],setShowDate=_useState2[1];var _useState3=(0,_react.useState)(1),_useState4=(0,_slicedToArray2.default)(_useState3,2),typeDate=_useState4[0],setTypeDate=_useState4[1];var _useState5=(0,_react.useState)(false),_useState6=(0,_slicedToArray2.default)(_useState5,2),isLoading=_useState6[0],setIsLoading=_useState6[1];var onSubmit=function _callee(values){var _props$route,_props$route$params,_props$route$params$l;var body,response,_response$data,_response$data$meta,_props$route2,_props$route2$params,_response$data2,_response$data2$meta,_t;return _regenerator.default.async(function(_context){while(1)switch(_context.prev=_context.next){case 0:body={LoanBriefId:props==null?void 0:(_props$route=props.route)==null?void 0:(_props$route$params=_props$route.params)==null?void 0:(_props$route$params$l=_props$route$params.loan)==null?void 0:_props$route$params$l.id,FullName:values.fullName,Dob:(0,_moment.default)(values.dob,'DD/MM/YYYY').format('YYYY-MM-DD'),Gender:values.gender,NationalCard:values.nationalCard,DateNationalId:(0,_moment.default)(values.dateNationalId,'DD/MM/YYYY').format('YYYY-MM-DD'),Phone:values.phone,Passport:values.passport,ProvinceId:values.provinceId,DistrictId:values.districtId,WardId:values.wardId,Address:values.address,IsMerried:values.isMerried,ResidentType:values.residentType,HouseHoldProvinceId:values.houseHoldProvinceId,HouseHoldDistrictId:values.houseHoldDistrictId,HouseHoldWardId:values.houseHoldWardId,HouseHoldAddress:values.houseHoldAddress,bankId:values.bankId,bankAccountName:values==null?void 0:values.bankAccountName,bankAccountNumber:values==null?void 0:values.bankAccountNumber};_context.prev=1;setIsLoading(true);_context.next=2;return _regenerator.default.awrap(_api.Api.getInstance().updateInfoCustomerV2(body));case 2:response=_context.sent;setIsLoading(false);if(response.kind==='ok'){if(((_response$data=response.data)==null?void 0:(_response$data$meta=_response$data.meta)==null?void 0:_response$data$meta.errorCode)===200){navigation.push(_navigation.ScreenNames.ReviewInformationOther,{loan:(_props$route2=props.route)==null?void 0:(_props$route2$params=_props$route2.params)==null?void 0:_props$route2$params.loan});}else{_AlertGlobal.AlertGlobal.show({type:'warning',title:'Thông báo',message:(_response$data2=response.data)==null?void 0:(_response$data2$meta=_response$data2.meta)==null?void 0:_response$data2$meta.errorMessage,primaryText:'Đóng'});}}else{_AlertGlobal.AlertGlobal.show({type:'warning',title:'Thông báo',message:'Có lỗi xảy ra. Vui lòng thử lại sau',primaryText:'Đóng'});}_context.next=4;break;case 3:_context.prev=3;_t=_context["catch"](1);setIsLoading(false);case 4:case"end":return _context.stop();}},null,null,[[1,3]],Promise);};var getData=function _callee2(){var _props$route3,_props$route3$params,_props$route3$params$,response,_response$data3,_response$data4,_response$data4$data,_response$data5,_response$data5$data,_response$data6,_response$data6$data,_response$data$data$g,_response$data7,_response$data7$data,_response$data8,_response$data8$data,_response$data9,_response$data9$data,_response$data0,_response$data0$data,_response$data1,_response$data1$data,_response$data10,_response$data10$data,_response$data11,_response$data11$data,_response$data12,_response$data12$data,_response$data13,_response$data13$data,_response$data14,_response$data14$data,_response$data15,_response$data15$data,_response$data16,_response$data16$data,_response$data17,_response$data17$data,_response$data18,_response$data18$data,_response$data20,_response$data20$data,_response$data21,_response$data21$data,_response$data22,_response$data22$data,_response$data23,_response$data23$data,_response$data24,_response$data24$data,_response$data26,_response$data26$data,_response$data27,_response$data27$data,_response$data28,_response$data28$data,_response$data29,_response$data29$data,_response$data30,_response$data30$data,_response$data31,_response$data31$data,_response$data$data$i,_response$data32,_response$data32$data,_response$data33,_response$data33$data,_response$data34,_response$data34$data,_response$data35,_response$data35$data,_response$data36,_response$data36$data,_response$data37,_response$data37$data,_response$data38,_response$data38$data,_response$data39,_response$data39$data,_response$data41,_response$data41$data,_response$data42,_response$data42$data,_response$data43,_response$data43$data,_response$data44,_response$data44$data,_response$data45,_response$data45$data,_response$data47,_response$data47$data,_response$data48,_response$data48$data,_response$data49,_response$data49$data,_response$data50,_response$data50$data,_response$data51,_response$data51$data,_response$data52,_response$data52$data,_response$data$data$b,_response$data53,_response$data53$data,_response$data$data$b2,_response$data54,_response$data54$data,_response$data$data$b3,_response$data55,_response$data55$data,_response$data$data$b4,_response$data56,_response$data56$data,_response$data19,_response$data19$data,_response$data25,_response$data25$data,_response$data40,_response$data40$data,_response$data46,_response$data46$data,_t2;return _regenerator.default.async(function(_context2){while(1)switch(_context2.prev=_context2.next){case 0:_context2.prev=0;setIsLoading(true);_context2.next=1;return _regenerator.default.awrap(_api.Api.getInstance().getInfoCustomerV2((_props$route3=props.route)==null?void 0:(_props$route3$params=_props$route3.params)==null?void 0:(_props$route3$params$=_props$route3$params.loan)==null?void 0:_props$route3$params$.id));case 1:response=_context2.sent;setIsLoading(false);if(response.kind==='ok'){if(((_response$data3=response.data)==null?void 0:_response$data3.meta.errorCode)===200){formRef.current.setFieldValue('fullName',response==null?void 0:(_response$data4=response.data)==null?void 0:(_response$data4$data=_response$data4.data)==null?void 0:_response$data4$data.fullName);formRef.current.setFieldValue('dob',response!=null&&(_response$data5=response.data)!=null&&(_response$data5$data=_response$data5.data)!=null&&_response$data5$data.dob?(0,_utils.formatDDMMYYY)(response==null?void 0:(_response$data6=response.data)==null?void 0:(_response$data6$data=_response$data6.data)==null?void 0:_response$data6$data.dob):'');formRef.current.setFieldValue('gender',(_response$data$data$g=response==null?void 0:(_response$data7=response.data)==null?void 0:(_response$data7$data=_response$data7.data)==null?void 0:_response$data7$data.gender)!=null?_response$data$data$g:null);formRef.current.setFieldValue('nationalCard',response!=null&&(_response$data8=response.data)!=null&&(_response$data8$data=_response$data8.data)!=null&&_response$data8$data.nationalCard?response==null?void 0:(_response$data9=response.data)==null?void 0:(_response$data9$data=_response$data9.data)==null?void 0:_response$data9$data.nationalCard:'');formRef.current.setFieldValue('dateNationalId',response!=null&&(_response$data0=response.data)!=null&&(_response$data0$data=_response$data0.data)!=null&&_response$data0$data.dateNationalId?(0,_utils.formatDDMMYYY)(response==null?void 0:(_response$data1=response.data)==null?void 0:(_response$data1$data=_response$data1.data)==null?void 0:_response$data1$data.dateNationalId):'');formRef.current.setFieldValue('phone',response!=null&&(_response$data10=response.data)!=null&&(_response$data10$data=_response$data10.data)!=null&&_response$data10$data.phone?response==null?void 0:(_response$data11=response.data)==null?void 0:(_response$data11$data=_response$data11.data)==null?void 0:_response$data11$data.phone:'');formRef.current.setFieldValue('passport',response!=null&&(_response$data12=response.data)!=null&&(_response$data12$data=_response$data12.data)!=null&&_response$data12$data.passport?response==null?void 0:(_response$data13=response.data)==null?void 0:(_response$data13$data=_response$data13.data)==null?void 0:_response$data13$data.passport:'');formRef.current.setFieldValue('provinceId',response!=null&&(_response$data14=response.data)!=null&&(_response$data14$data=_response$data14.data)!=null&&_response$data14$data.provinceId?response==null?void 0:(_response$data15=response.data)==null?void 0:(_response$data15$data=_response$data15.data)==null?void 0:_response$data15$data.provinceId:null);formRef.current.setFieldValue('provinceName',response!=null&&(_response$data16=response.data)!=null&&(_response$data16$data=_response$data16.data)!=null&&_response$data16$data.provinceName?response==null?void 0:(_response$data17=response.data)==null?void 0:(_response$data17$data=_response$data17.data)==null?void 0:_response$data17$data.provinceName:'');if(response!=null&&(_response$data18=response.data)!=null&&(_response$data18$data=_response$data18.data)!=null&&_response$data18$data.provinceId){_store.default.getDistrict(response==null?void 0:(_response$data19=response.data)==null?void 0:(_response$data19$data=_response$data19.data)==null?void 0:_response$data19$data.provinceId);}formRef.current.setFieldValue('districtId',response!=null&&(_response$data20=response.data)!=null&&(_response$data20$data=_response$data20.data)!=null&&_response$data20$data.districtId?response==null?void 0:(_response$data21=response.data)==null?void 0:(_response$data21$data=_response$data21.data)==null?void 0:_response$data21$data.districtId:null);formRef.current.setFieldValue('districtName',response!=null&&(_response$data22=response.data)!=null&&(_response$data22$data=_response$data22.data)!=null&&_response$data22$data.districtName?response==null?void 0:(_response$data23=response.data)==null?void 0:(_response$data23$data=_response$data23.data)==null?void 0:_response$data23$data.districtName:'');if(response!=null&&(_response$data24=response.data)!=null&&(_response$data24$data=_response$data24.data)!=null&&_response$data24$data.districtId){_store.default.getWard(response==null?void 0:(_response$data25=response.data)==null?void 0:(_response$data25$data=_response$data25.data)==null?void 0:_response$data25$data.districtId);}formRef.current.setFieldValue('wardId',response!=null&&(_response$data26=response.data)!=null&&(_response$data26$data=_response$data26.data)!=null&&_response$data26$data.wardId?response==null?void 0:(_response$data27=response.data)==null?void 0:(_response$data27$data=_response$data27.data)==null?void 0:_response$data27$data.wardId:null);formRef.current.setFieldValue('wardName',response!=null&&(_response$data28=response.data)!=null&&(_response$data28$data=_response$data28.data)!=null&&_response$data28$data.wardName?response==null?void 0:(_response$data29=response.data)==null?void 0:(_response$data29$data=_response$data29.data)==null?void 0:_response$data29$data.wardName:'');formRef.current.setFieldValue('address',response!=null&&(_response$data30=response.data)!=null&&(_response$data30$data=_response$data30.data)!=null&&_response$data30$data.address?response==null?void 0:(_response$data31=response.data)==null?void 0:(_response$data31$data=_response$data31.data)==null?void 0:_response$data31$data.address:'');formRef.current.setFieldValue('isMerried',(_response$data$data$i=response==null?void 0:(_response$data32=response.data)==null?void 0:(_response$data32$data=_response$data32.data)==null?void 0:_response$data32$data.isMerried)!=null?_response$data$data$i:0);formRef.current.setFieldValue('residentType',response!=null&&(_response$data33=response.data)!=null&&(_response$data33$data=_response$data33.data)!=null&&_response$data33$data.residentType?response==null?void 0:(_response$data34=response.data)==null?void 0:(_response$data34$data=_response$data34.data)==null?void 0:_response$data34$data.residentType:null);formRef.current.setFieldValue('houseHoldProvinceId',response!=null&&(_response$data35=response.data)!=null&&(_response$data35$data=_response$data35.data)!=null&&_response$data35$data.houseHoldProvinceId?response==null?void 0:(_response$data36=response.data)==null?void 0:(_response$data36$data=_response$data36.data)==null?void 0:_response$data36$data.houseHoldProvinceId:null);formRef.current.setFieldValue('houseHoldProvinceName',response!=null&&(_response$data37=response.data)!=null&&(_response$data37$data=_response$data37.data)!=null&&_response$data37$data.houseHoldProvinceName?response==null?void 0:(_response$data38=response.data)==null?void 0:(_response$data38$data=_response$data38.data)==null?void 0:_response$data38$data.houseHoldProvinceName:'');if(response!=null&&(_response$data39=response.data)!=null&&(_response$data39$data=_response$data39.data)!=null&&_response$data39$data.houseHoldProvinceId){_store.default.getDistrict2(response==null?void 0:(_response$data40=response.data)==null?void 0:(_response$data40$data=_response$data40.data)==null?void 0:_response$data40$data.houseHoldProvinceId);}formRef.current.setFieldValue('houseHoldDistrictId',response!=null&&(_response$data41=response.data)!=null&&(_response$data41$data=_response$data41.data)!=null&&_response$data41$data.houseHoldDistrictId?response==null?void 0:(_response$data42=response.data)==null?void 0:(_response$data42$data=_response$data42.data)==null?void 0:_response$data42$data.houseHoldDistrictId:null);formRef.current.setFieldValue('houseHoldDistrictName',response!=null&&(_response$data43=response.data)!=null&&(_response$data43$data=_response$data43.data)!=null&&_response$data43$data.houseHoldDistrictName?response==null?void 0:(_response$data44=response.data)==null?void 0:(_response$data44$data=_response$data44.data)==null?void 0:_response$data44$data.houseHoldDistrictName:'');if(response!=null&&(_response$data45=response.data)!=null&&(_response$data45$data=_response$data45.data)!=null&&_response$data45$data.houseHoldDistrictId){_store.default.getWard2(response==null?void 0:(_response$data46=response.data)==null?void 0:(_response$data46$data=_response$data46.data)==null?void 0:_response$data46$data.houseHoldDistrictId);}formRef.current.setFieldValue('houseHoldWardId',response!=null&&(_response$data47=response.data)!=null&&(_response$data47$data=_response$data47.data)!=null&&_response$data47$data.houseHoldWardId?response==null?void 0:(_response$data48=response.data)==null?void 0:(_response$data48$data=_response$data48.data)==null?void 0:_response$data48$data.houseHoldWardId:null);formRef.current.setFieldValue('houseHoldWardName',response!=null&&(_response$data49=response.data)!=null&&(_response$data49$data=_response$data49.data)!=null&&_response$data49$data.houseHoldWardName?response==null?void 0:(_response$data50=response.data)==null?void 0:(_response$data50$data=_response$data50.data)==null?void 0:_response$data50$data.houseHoldWardName:'');formRef.current.setFieldValue('houseHoldAddress',response!=null&&(_response$data51=response.data)!=null&&(_response$data51$data=_response$data51.data)!=null&&_response$data51$data.houseHoldAddress?response==null?void 0:(_response$data52=response.data)==null?void 0:(_response$data52$data=_response$data52.data)==null?void 0:_response$data52$data.houseHoldAddress:'');formRef.current.setFieldValue('bankAccountName',(_response$data$data$b=response==null?void 0:(_response$data53=response.data)==null?void 0:(_response$data53$data=_response$data53.data)==null?void 0:_response$data53$data.bankAccountName)!=null?_response$data$data$b:'');formRef.current.setFieldValue('bankAccountNumber',(_response$data$data$b2=response==null?void 0:(_response$data54=response.data)==null?void 0:(_response$data54$data=_response$data54.data)==null?void 0:_response$data54$data.bankAccountNumber)!=null?_response$data$data$b2:'');formRef.current.setFieldValue('bankId',(_response$data$data$b3=response==null?void 0:(_response$data55=response.data)==null?void 0:(_response$data55$data=_response$data55.data)==null?void 0:_response$data55$data.bankId)!=null?_response$data$data$b3:null);formRef.current.setFieldValue('bankName',(_response$data$data$b4=response==null?void 0:(_response$data56=response.data)==null?void 0:(_response$data56$data=_response$data56.data)==null?void 0:_response$data56$data.bankName)!=null?_response$data$data$b4:'');}else{}}_context2.next=3;break;case 2:_context2.prev=2;_t2=_context2["catch"](0);setIsLoading(false);console.log(_t2);case 3:case"end":return _context2.stop();}},null,null,[[0,2]],Promise);};(0,_react.useEffect)(function(){getData();_store.default.getListBank();_store.default.getRelationship();var trackEvent=function _callee3(){var _props$route4,_props$route4$params,_props$route4$params$,_props$route5,_props$route5$params,_props$route5$params$;return _regenerator.default.async(function(_context3){while(1)switch(_context3.prev=_context3.next){case 0:_context3.next=1;return _regenerator.default.awrap((0,_utils.logEvent)('thongtinvay_started',{event:'thongtinvay_started',createdAt:new Date(),deviceId:_AppStore.default.deviceId,loanId:String((_props$route4=props.route)==null?void 0:(_props$route4$params=_props$route4.params)==null?void 0:(_props$route4$params$=_props$route4$params.loan)==null?void 0:_props$route4$params$.id),utmSource:(_props$route5=props.route)==null?void 0:(_props$route5$params=_props$route5.params)==null?void 0:(_props$route5$params$=_props$route5$params.loan)==null?void 0:_props$route5$params$.utmSource}));case 1:(0,_utils.logEventFb)('thongtinvay_started');case 2:case"end":return _context3.stop();}},null,null,null,Promise);};trackEvent();},[]);return _react.default.createElement(_reactNative.View,{style:{flex:1},__self:this,__source:{fileName:_jsxFileName,lineNumber:294,columnNumber:5}},_react.default.createElement(_MHeader.default,{title:"Vay tr\u1EF1c tuy\u1EBFn 24/7",__self:this,__source:{fileName:_jsxFileName,lineNumber:295,columnNumber:7}}),_react.default.createElement(_reactNative.View,{style:_CommonStyles.commonStyles.fill,__self:this,__source:{fileName:_jsxFileName,lineNumber:296,columnNumber:7}},_react.default.createElement(_reactNative.View,{style:$h,__self:this,__source:{fileName:_jsxFileName,lineNumber:297,columnNumber:9}}),_react.default.createElement(_reactNative.View,{style:$bg,__self:this,__source:{fileName:_jsxFileName,lineNumber:298,columnNumber:9}},_react.default.createElement(_reactNative.View,{style:{paddingVertical:10,flexDirection:'row',alignItems:'center',paddingHorizontal:16},__self:this,__source:{fileName:_jsxFileName,lineNumber:299,columnNumber:11}},_react.default.createElement(_reactNative.TouchableOpacity,{style:{zIndex:1000},onPress:function onPress(){_AlertGlobal.AlertGlobal.show({type:'confirm',title:'Thoát cập nhật thông tin',message:'Bạn có chắc chắn muốn thoát cập nhật thông tin không?',primaryText:'Có',onPrimaryPress:function onPrimaryPress(){navigation.dispatch(_native.CommonActions.reset({index:1,routes:[{name:_navigation.ScreenNames.Main}]}));},secondaryText:'Không'});},__self:this,__source:{fileName:_jsxFileName,lineNumber:307,columnNumber:13}},_react.default.createElement(_svgs.IconBack,{__self:this,__source:{fileName:_jsxFileName,lineNumber:330,columnNumber:15}})),_react.default.createElement(_MText.MText,{style:$title,__self:this,__source:{fileName:_jsxFileName,lineNumber:332,columnNumber:13}},"Th\xF4ng tin c\xE1 nh\xE2n")),_react.default.createElement(_formik.Formik,{innerRef:formRef,onSubmit:onSubmit,initialValues:{fullName:'',dob:'',gender:null,nationalCard:'',dateNationalId:'',phone:'',passport:'',provinceId:null,provinceName:'',districtId:null,districtName:'',wardId:null,wardName:'',address:'',isMerried:1,residentType:14,houseHoldProvinceId:null,houseHoldProvinceName:'',houseHoldDistrictId:null,houseHoldDistrictName:'',houseHoldWardId:null,houseHoldWardName:'',houseHoldAddress:'',bankId:null,bankName:'',bankAccountName:'',bankAccountNumber:''},validationSchema:yup.object().shape({fullName:yup.string().required('Vui lòng nhập họ tên'),dob:yup.string().required('Vui lòng nhập ngày sinh').nullable(),gender:yup.number().required('Vui lòng chọn giới tính').nullable(),nationalCard:yup.string().required('Vui lòng nhập CCCD/CMND'),dateNationalId:yup.string().required('Vui lòng nhập ngày cấp').nullable(),phone:yup.string().required('Vui lòng nhập số điện thoại').nullable(),provinceName:yup.string().required('Thành phố là bắt buộc'),districtName:yup.string().required('Quận huyện là bắt buộc'),wardName:yup.string().required('Phường xã là bắt buộc'),address:yup.string().required('Địa chỉ là bắt buộc'),houseHoldProvinceName:yup.string().required('Thành phố là bắt buộc'),houseHoldDistrictName:yup.string().required('Quận huyện là bắt buộc'),houseHoldWardName:yup.string().required('Phường xã là bắt buộc'),houseHoldAddress:yup.string().required('Địa chỉ là bắt buộc'),bankName:yup.string().required('Vui lòng chọn ngân hàng'),bankAccountName:yup.string().required('Vui lòng nhập chủ thẻ'),bankAccountNumber:yup.string().required('Vui lòng nhập số tài khoản')}),__self:this,__source:{fileName:_jsxFileName,lineNumber:335,columnNumber:11}},function(_ref){var values=_ref.values,errors=_ref.errors,handleChange=_ref.handleChange,handleSubmit=_ref.handleSubmit,setFieldValue=_ref.setFieldValue;var renderView=(0,_react.useMemo)(function(){return _react.default.createElement(_reactNative.ScrollView,{style:[_CommonStyles.commonStyles.fill,{paddingHorizontal:16}],__self:_this,__source:{fileName:_jsxFileName,lineNumber:411,columnNumber:19}},_react.default.createElement(_MText.MText,{style:$title2,__self:_this,__source:{fileName:_jsxFileName,lineNumber:414,columnNumber:21}},"1.1 Th\xF4ng tin c\xE1 nh\xE2n"),_react.default.createElement(_MText.MText,{style:$label,__self:_this,__source:{fileName:_jsxFileName,lineNumber:415,columnNumber:21}},"H\u1ECD v\xE0 t\xEAn"),_react.default.createElement(_reactNative.TextInput,{style:[$textInput,{color:'#333333',fontWeight:'500',fontFamily:'BeVietnamPro-Medium'}],value:values.fullName,onChangeText:handleChange('fullName'),__self:_this,__source:{fileName:_jsxFileName,lineNumber:416,columnNumber:21}}),errors&&errors.fullName&&_react.default.createElement(_MText.MText,{style:$error,__self:_this,__source:{fileName:_jsxFileName,lineNumber:429,columnNumber:23}},errors.fullName),_react.default.createElement(_reactNative.View,{style:[$row,{marginTop:16}],__self:_this,__source:{fileName:_jsxFileName,lineNumber:431,columnNumber:21}},_react.default.createElement(_reactNative.View,{style:[_CommonStyles.commonStyles.fill],__self:_this,__source:{fileName:_jsxFileName,lineNumber:432,columnNumber:23}},_react.default.createElement(_MText.MText,{style:$label,__self:_this,__source:{fileName:_jsxFileName,lineNumber:433,columnNumber:25}},"Sinh ng\xE0y"),_react.default.createElement(_reactNative.TouchableOpacity,{style:$select,onPress:function onPress(){setTypeDate(1);setShowDate(true);},__self:_this,__source:{fileName:_jsxFileName,lineNumber:434,columnNumber:25}},_react.default.createElement(_MText.MText,{style:{color:'#333333',fontWeight:'500',fontFamily:'BeVietnamPro-Medium'},__self:_this,__source:{fileName:_jsxFileName,lineNumber:441,columnNumber:27}},values.dob)),errors&&errors.dob&&_react.default.createElement(_MText.MText,{style:$error,__self:_this,__source:{fileName:_jsxFileName,lineNumber:452,columnNumber:27}},errors.dob)),_react.default.createElement(_reactNative.View,{style:[_CommonStyles.commonStyles.fill],__self:_this,__source:{fileName:_jsxFileName,lineNumber:455,columnNumber:23}},_react.default.createElement(_MText.MText,{style:$label,__self:_this,__source:{fileName:_jsxFileName,lineNumber:456,columnNumber:25}},"Gi\u1EDBi t\xEDnh"),_react.default.createElement(_reactNative.TouchableOpacity,{style:$select,onPress:function onPress(){navigation.push(_navigation.ScreenNames.MSelect,{title:'Chọn giới tính',data:_utils.EnumGender,callback:function callback(item){setFieldValue('gender',item.id);}});},__self:_this,__source:{fileName:_jsxFileName,lineNumber:457,columnNumber:25}},_react.default.createElement(_MText.MText,{style:{color:'#333333',fontSize:16,fontWeight:'500',flex:1},__self:_this,__source:{fileName:_jsxFileName,lineNumber:469,columnNumber:27}},values.gender===0?'Nam':values.gender===1?'Nữ':''),_react.default.createElement(_icons.DropDown2,{__self:_this,__source:{fileName:_jsxFileName,lineNumber:483,columnNumber:27}})),errors&&errors.gender&&_react.default.createElement(_MText.MText,{style:$error,__self:_this,__source:{fileName:_jsxFileName,lineNumber:486,columnNumber:27}},errors.gender))),_react.default.createElement(_reactNative.View,{style:[$row],__self:_this,__source:{fileName:_jsxFileName,lineNumber:491,columnNumber:21}},_react.default.createElement(_reactNative.View,{style:[_CommonStyles.commonStyles.fill],__self:_this,__source:{fileName:_jsxFileName,lineNumber:492,columnNumber:23}},_react.default.createElement(_MText.MText,{style:$label,__self:_this,__source:{fileName:_jsxFileName,lineNumber:493,columnNumber:25}},"S\u1ED1 CCCD/CMND"),_react.default.createElement(_reactNative.TextInput,{keyboardType:"number-pad",style:[$textInput,{color:'#333333',fontWeight:'500',fontFamily:'BeVietnamPro-Medium'}],value:values.nationalCard,onChangeText:handleChange('nationalCard'),__self:_this,__source:{fileName:_jsxFileName,lineNumber:494,columnNumber:25}}),errors&&errors.nationalCard&&_react.default.createElement(_MText.MText,{style:$error,__self:_this,__source:{fileName:_jsxFileName,lineNumber:508,columnNumber:27}},errors.nationalCard)),_react.default.createElement(_reactNative.View,{style:[_CommonStyles.commonStyles.fill],__self:_this,__source:{fileName:_jsxFileName,lineNumber:511,columnNumber:23}},_react.default.createElement(_MText.MText,{style:$label,__self:_this,__source:{fileName:_jsxFileName,lineNumber:512,columnNumber:25}},"Ng\xE0y c\u1EA5p"),_react.default.createElement(_reactNative.TouchableOpacity,{style:$select,onPress:function onPress(){setTypeDate(2);setShowDate(true);},__self:_this,__source:{fileName:_jsxFileName,lineNumber:513,columnNumber:25}},_react.default.createElement(_MText.MText,{numberOfLines:1,style:{color:values.dateNationalId!==''?'#333333':'#BDBDBD',fontWeight:'500',flex:1,fontFamily:'BeVietnamPro-Medium'},__self:_this,__source:{fileName:_jsxFileName,lineNumber:520,columnNumber:27}},values.dateNationalId!==''?values.dateNationalId:'DD/MM/YYYY')),errors&&errors.dateNationalId&&_react.default.createElement(_MText.MText,{style:$error,__self:_this,__source:{fileName:_jsxFileName,lineNumber:538,columnNumber:27}},errors.dateNationalId))),_react.default.createElement(_MText.MText,{style:$label,__self:_this,__source:{fileName:_jsxFileName,lineNumber:542,columnNumber:21}},"S\u1ED1 \u0111i\u1EC7n tho\u1EA1i"),_react.default.createElement(_reactNative.TextInput,{editable:false,keyboardType:"number-pad",style:[$textInput,{color:'#333333',fontWeight:'500',fontFamily:'BeVietnamPro-Medium'}],value:values.phone,onChangeText:handleChange('phone'),__self:_this,__source:{fileName:_jsxFileName,lineNumber:543,columnNumber:21}}),errors&&errors.phone&&_react.default.createElement(_MText.MText,{style:$error,__self:_this,__source:{fileName:_jsxFileName,lineNumber:558,columnNumber:23}},errors.phone),_react.default.createElement(_MText.MText,{style:[$title2,{marginTop:16}],__self:_this,__source:{fileName:_jsxFileName,lineNumber:577,columnNumber:21}},"1.2 Th\xF4ng tin gi\u1EA3i ng\xE2n"),_react.default.createElement(_MText.MText,{style:$label,__self:_this,__source:{fileName:_jsxFileName,lineNumber:580,columnNumber:21}},"Ng\xE2n h\xE0ng"),_react.default.createElement(_reactNative.TouchableOpacity,{style:$select,onPress:function onPress(){navigation.push(_navigation.ScreenNames.CommonSelect,{title:'Chọn ngân hàng',data:_store.default.listBank,callback:function callback(value){setFieldValue('bankName',value.name);setFieldValue('bankId',value.id);}});},__self:_this,__source:{fileName:_jsxFileName,lineNumber:581,columnNumber:21}},_react.default.createElement(_MText.MText,{numberOfLines:1,style:{color:'#333333',fontWeight:'500',flex:1,fontFamily:'BeVietnamPro-Medium'},__self:_this,__source:{fileName:_jsxFileName,lineNumber:594,columnNumber:23}},values.bankName),_react.default.createElement(_icons.DropDown2,{__self:_this,__source:{fileName:_jsxFileName,lineNumber:605,columnNumber:23}})),errors&&errors.bankName&&_react.default.createElement(_MText.MText,{style:$error,__self:_this,__source:{fileName:_jsxFileName,lineNumber:608,columnNumber:23}},errors.bankName),_react.default.createElement(_MText.MText,{style:[$label,{marginTop:16}],__self:_this,__source:{fileName:_jsxFileName,lineNumber:610,columnNumber:21}},"T\xEAn s\u1ED1 t\xE0i kho\u1EA3n"),_react.default.createElement(_reactNative.TextInput,{numberOfLines:1,style:[$textInput,{color:'#333333',fontWeight:'500',fontFamily:'BeVietnamPro-Medium'}],value:values.bankAccountName,onChangeText:handleChange('bankAccountName'),__self:_this,__source:{fileName:_jsxFileName,lineNumber:613,columnNumber:21}}),errors&&errors.bankAccountName&&_react.default.createElement(_MText.MText,{style:$error,__self:_this,__source:{fileName:_jsxFileName,lineNumber:627,columnNumber:23}},errors.bankAccountName),_react.default.createElement(_MText.MText,{style:[$label,{marginTop:16}],__self:_this,__source:{fileName:_jsxFileName,lineNumber:629,columnNumber:21}},"S\u1ED1 t\xE0i kho\u1EA3n"),_react.default.createElement(_reactNative.TextInput,{keyboardType:"number-pad",numberOfLines:1,style:[$textInput,{color:'#333333',fontWeight:'500',fontFamily:'BeVietnamPro-Medium'}],value:values.bankAccountNumber,onChangeText:handleChange('bankAccountNumber'),__self:_this,__source:{fileName:_jsxFileName,lineNumber:632,columnNumber:21}}),errors&&errors.bankAccountNumber&&_react.default.createElement(_MText.MText,{style:$error,__self:_this,__source:{fileName:_jsxFileName,lineNumber:647,columnNumber:23}},errors.bankAccountNumber),_react.default.createElement(_MText.MText,{style:[$title2,{marginTop:16}],__self:_this,__source:{fileName:_jsxFileName,lineNumber:650,columnNumber:21}},"1.3 S\u1ED5 h\u1ED9 kh\u1EA9u"),_react.default.createElement(_reactNative.View,{style:[$row],__self:_this,__source:{fileName:_jsxFileName,lineNumber:653,columnNumber:21}},_react.default.createElement(_reactNative.View,{style:[_CommonStyles.commonStyles.fill],__self:_this,__source:{fileName:_jsxFileName,lineNumber:654,columnNumber:23}},_react.default.createElement(_MText.MText,{style:$label,__self:_this,__source:{fileName:_jsxFileName,lineNumber:655,columnNumber:25}},"T\u1EC9nh/ Th\xE0nh ph\u1ED1"),_react.default.createElement(_reactNative.TouchableOpacity,{style:$select,onPress:function onPress(){navigation.push(_navigation.ScreenNames.CommonSelect,{title:'Tỉnh/ Thành phố',data:_store.default.listProvince,callback:function callback(item){setFieldValue('houseHoldProvinceId',item.id);setFieldValue('houseHoldProvinceName',item.name);setFieldValue('houseHoldDistrictId',null);setFieldValue('houseHoldDistrictName','');setFieldValue('houseHoldWardId',null);setFieldValue('houseHoldWardName','');_store.default.getDistrict2(item.id);}});},__self:_this,__source:{fileName:_jsxFileName,lineNumber:656,columnNumber:25}},_react.default.createElement(_MText.MText,{numberOfLines:1,style:{color:'#333333',fontWeight:'500',flex:1,fontFamily:'BeVietnamPro-Medium'},__self:_this,__source:{fileName:_jsxFileName,lineNumber:677,columnNumber:27}},values.houseHoldProvinceName),_react.default.createElement(_icons.DropDown2,{__self:_this,__source:{fileName:_jsxFileName,lineNumber:688,columnNumber:27}})),errors&&errors.houseHoldProvinceName&&_react.default.createElement(_MText.MText,{style:$error,__self:_this,__source:{fileName:_jsxFileName,lineNumber:691,columnNumber:27}},errors.houseHoldProvinceName)),_react.default.createElement(_reactNative.View,{style:[_CommonStyles.commonStyles.fill],__self:_this,__source:{fileName:_jsxFileName,lineNumber:696,columnNumber:23}},_react.default.createElement(_MText.MText,{style:$label,__self:_this,__source:{fileName:_jsxFileName,lineNumber:697,columnNumber:25}},"Qu\u1EADn/ Huy\u1EC7n"),_react.default.createElement(_reactNative.TouchableOpacity,{style:$select,onPress:function onPress(){navigation.push(_navigation.ScreenNames.CommonSelect,{title:'Phường/ Xã',data:_store.default.listDistrict2,callback:function callback(item){setFieldValue('houseHoldDistrictId',item.id);setFieldValue('houseHoldDistrictName',item.name);setFieldValue('houseHoldWardId',null);setFieldValue('houseHoldWardName','');_store.default.getWard2(item.id);}});},__self:_this,__source:{fileName:_jsxFileName,lineNumber:698,columnNumber:25}},_react.default.createElement(_MText.MText,{numberOfLines:1,style:{color:'#333333',fontWeight:'500',flex:1,fontFamily:'BeVietnamPro-Medium'},__self:_this,__source:{fileName:_jsxFileName,lineNumber:717,columnNumber:27}},values.houseHoldDistrictName),_react.default.createElement(_icons.DropDown2,{__self:_this,__source:{fileName:_jsxFileName,lineNumber:728,columnNumber:27}})),errors&&errors.houseHoldDistrictName&&_react.default.createElement(_MText.MText,{style:$error,__self:_this,__source:{fileName:_jsxFileName,lineNumber:731,columnNumber:27}},errors.houseHoldDistrictName))),_react.default.createElement(_MText.MText,{style:[$label],__self:_this,__source:{fileName:_jsxFileName,lineNumber:737,columnNumber:21}},"Ph\u01B0\u1EDDng/ X\xE3"),_react.default.createElement(_reactNative.TouchableOpacity,{style:$select,onPress:function onPress(){navigation.push(_navigation.ScreenNames.CommonSelect,{title:'Phường/ Xã',data:_store.default.listWard2,callback:function callback(item){setFieldValue('houseHoldWardId',item==null?void 0:item.id);setFieldValue('houseHoldWardName',item==null?void 0:item.name);}});},__self:_this,__source:{fileName:_jsxFileName,lineNumber:738,columnNumber:21}},_react.default.createElement(_MText.MText,{numberOfLines:1,style:{color:'#333333',fontWeight:'500',flex:1,fontFamily:'BeVietnamPro-Medium'},__self:_this,__source:{fileName:_jsxFileName,lineNumber:751,columnNumber:23}},values.houseHoldWardName),_react.default.createElement(_icons.DropDown2,{__self:_this,__source:{fileName:_jsxFileName,lineNumber:762,columnNumber:23}})),errors&&errors.houseHoldWardName&&_react.default.createElement(_MText.MText,{style:$error,__self:_this,__source:{fileName:_jsxFileName,lineNumber:765,columnNumber:23}},errors.houseHoldWardName),_react.default.createElement(_MText.MText,{style:[$label,{marginTop:16}],__self:_this,__source:{fileName:_jsxFileName,lineNumber:767,columnNumber:21}},"\u0110\u1ECBa ch\u1EC9 chi ti\u1EBFt"),_react.default.createElement(_reactNative.TextInput,{numberOfLines:1,style:[$textInput,{color:'#333333',fontWeight:'500',fontFamily:'BeVietnamPro-Medium'}],value:values.houseHoldAddress,onChangeText:handleChange('houseHoldAddress'),__self:_this,__source:{fileName:_jsxFileName,lineNumber:770,columnNumber:21}}),errors&&errors.houseHoldAddress&&_react.default.createElement(_MText.MText,{style:$error,__self:_this,__source:{fileName:_jsxFileName,lineNumber:784,columnNumber:23}},errors.houseHoldAddress),_react.default.createElement(_reactNative.View,{style:[$row,{marginTop:16}],__self:_this,__source:{fileName:_jsxFileName,lineNumber:786,columnNumber:21}},_react.default.createElement(_MText.MText,{style:{fontSize:14,color:'#333333'},__self:_this,__source:{fileName:_jsxFileName,lineNumber:787,columnNumber:23}},"A/C \u0111\xE3 c\xF3 gia \u0111\xECnh ch\u01B0a"),_react.default.createElement(_reactNative.View,{style:{flex:1,flexDirection:'row',gap:16,justifyContent:'space-between',marginLeft:16},__self:_this,__source:{fileName:_jsxFileName,lineNumber:795,columnNumber:23}},_react.default.createElement(_reactNative.TouchableOpacity,{onPress:function onPress(){return setFieldValue('isMerried',1);},style:{flexDirection:'row',gap:5,alignItems:'center'},__self:_this,__source:{fileName:_jsxFileName,lineNumber:804,columnNumber:25}},values.isMerried===1?_react.default.createElement(_icons.RadioCheckIcon,{__self:_this,__source:{fileName:_jsxFileName,lineNumber:813,columnNumber:29}}):_react.default.createElement(_icons.RadioIcon,{__self:_this,__source:{fileName:_jsxFileName,lineNumber:815,columnNumber:29}}),_react.default.createElement(_MText.MText,{__self:_this,__source:{fileName:_jsxFileName,lineNumber:817,columnNumber:27}},"\u0110\xE3 c\xF3")),_react.default.createElement(_reactNative.TouchableOpacity,{onPress:function onPress(){return setFieldValue('isMerried',0);},style:{flexDirection:'row',gap:5,alignItems:'center'},__self:_this,__source:{fileName:_jsxFileName,lineNumber:819,columnNumber:25}},values.isMerried===0?_react.default.createElement(_icons.RadioCheckIcon,{__self:_this,__source:{fileName:_jsxFileName,lineNumber:828,columnNumber:29}}):_react.default.createElement(_icons.RadioIcon,{__self:_this,__source:{fileName:_jsxFileName,lineNumber:830,columnNumber:29}}),_react.default.createElement(_MText.MText,{__self:_this,__source:{fileName:_jsxFileName,lineNumber:832,columnNumber:27}},"Ch\u01B0a c\xF3")))),_react.default.createElement(_MText.MText,{style:[$title2],__self:_this,__source:{fileName:_jsxFileName,lineNumber:836,columnNumber:21}},"1.4 N\u01A1i \u1EDF hi\u1EC7n t\u1EA1i"),_react.default.createElement(_MText.MText,{style:{fontSize:14,color:'#333333'},__self:_this,__source:{fileName:_jsxFileName,lineNumber:837,columnNumber:21}},"N\u01A1i \u1EDF c\xF3 tr\xF9ng v\u1EDBi \u0111\u1ECBa ch\u1EC9 h\u1ED9 kh\u1EA9u kh\xF4ng?"),_react.default.createElement(_reactNative.View,{style:{flex:1,flexDirection:'row',gap:16,marginTop:5},__self:_this,__source:{fileName:_jsxFileName,lineNumber:845,columnNumber:21}},_react.default.createElement(_reactNative.TouchableOpacity,{onPress:function onPress(){setFieldValue('residentType',14);setFieldValue('provinceId',values.houseHoldProvinceId);setFieldValue('provinceName',values.houseHoldProvinceName);setFieldValue('districtId',values.houseHoldDistrictId);setFieldValue('districtName',values.houseHoldDistrictName);setFieldValue('wardId',values.houseHoldWardId);setFieldValue('wardName',values.houseHoldWardName);if(values.houseHoldDistrictId){_store.default.getWard(values.houseHoldDistrictId);}if(values.houseHoldProvinceId){_store.default.getDistrict(values.houseHoldProvinceId);}setFieldValue('address',values.houseHoldAddress);},style:{flexDirection:'row',gap:5,alignItems:'center',flex:1},__self:_this,__source:{fileName:_jsxFileName,lineNumber:853,columnNumber:23}},values.residentType===14?_react.default.createElement(_icons.RadioCheckIcon,{__self:_this,__source:{fileName:_jsxFileName,lineNumber:890,columnNumber:27}}):_react.default.createElement(_icons.RadioIcon,{__self:_this,__source:{fileName:_jsxFileName,lineNumber:892,columnNumber:27}}),_react.default.createElement(_MText.MText,{__self:_this,__source:{fileName:_jsxFileName,lineNumber:894,columnNumber:25}},"C\xF3 tr\xF9ng")),_react.default.createElement(_reactNative.TouchableOpacity,{onPress:function onPress(){setFieldValue('residentType',15);setFieldValue('provinceId',null);setFieldValue('provinceName','');setFieldValue('districtId',null);setFieldValue('districtName','');setFieldValue('wardId',null);setFieldValue('wardName','');setFieldValue('address','');},style:{flexDirection:'row',gap:5,alignItems:'center',flex:1},__self:_this,__source:{fileName:_jsxFileName,lineNumber:896,columnNumber:23}},values.residentType===15?_react.default.createElement(_icons.RadioCheckIcon,{__self:_this,__source:{fileName:_jsxFileName,lineNumber:915,columnNumber:27}}):_react.default.createElement(_icons.RadioIcon,{__self:_this,__source:{fileName:_jsxFileName,lineNumber:917,columnNumber:27}}),_react.default.createElement(_MText.MText,{__self:_this,__source:{fileName:_jsxFileName,lineNumber:919,columnNumber:25}},"Kh\xF4ng tr\xF9ng"))),_react.default.createElement(_reactNative.View,{style:[$row,{marginTop:16}],__self:_this,__source:{fileName:_jsxFileName,lineNumber:923,columnNumber:21}},_react.default.createElement(_reactNative.View,{style:[_CommonStyles.commonStyles.fill],__self:_this,__source:{fileName:_jsxFileName,lineNumber:924,columnNumber:23}},_react.default.createElement(_MText.MText,{style:$label,__self:_this,__source:{fileName:_jsxFileName,lineNumber:925,columnNumber:25}},"T\u1EC9nh/ Th\xE0nh ph\u1ED1"),_react.default.createElement(_reactNative.TouchableOpacity,{style:$select,onPress:function onPress(){navigation.push(_navigation.ScreenNames.CommonSelect,{title:'Tỉnh/ Thành phố',data:_store.default.listProvince,callback:function callback(item){setFieldValue('provinceId',item.id);setFieldValue('provinceName',item==null?void 0:item.name);setFieldValue('districtId',null);setFieldValue('districtName','');setFieldValue('wardId',null);setFieldValue('wardName','');_store.default.getDistrict(item.id);}});},__self:_this,__source:{fileName:_jsxFileName,lineNumber:926,columnNumber:25}},_react.default.createElement(_MText.MText,{numberOfLines:1,style:{color:'#333333',fontWeight:'500',flex:1,fontFamily:'BeVietnamPro-Medium'},__self:_this,__source:{fileName:_jsxFileName,lineNumber:944,columnNumber:27}},values.provinceName),_react.default.createElement(_icons.DropDown2,{__self:_this,__source:{fileName:_jsxFileName,lineNumber:955,columnNumber:27}})),errors&&errors.provinceName&&_react.default.createElement(_MText.MText,{style:$error,__self:_this,__source:{fileName:_jsxFileName,lineNumber:958,columnNumber:27}},errors.provinceName)),_react.default.createElement(_reactNative.View,{style:[_CommonStyles.commonStyles.fill],__self:_this,__source:{fileName:_jsxFileName,lineNumber:961,columnNumber:23}},_react.default.createElement(_MText.MText,{style:$label,__self:_this,__source:{fileName:_jsxFileName,lineNumber:962,columnNumber:25}},"Qu\u1EADn/ Huy\u1EC7n"),_react.default.createElement(_reactNative.TouchableOpacity,{style:$select,onPress:function onPress(){navigation.push(_navigation.ScreenNames.CommonSelect,{title:'Quận/ Huyện',data:_store.default.listDistrict,callback:function callback(item){setFieldValue('districtId',item==null?void 0:item.id);setFieldValue('districtName',item==null?void 0:item.name);setFieldValue('wardId',null);setFieldValue('wardName','');_store.default.getWard(item.id);}});},__self:_this,__source:{fileName:_jsxFileName,lineNumber:963,columnNumber:25}},_react.default.createElement(_MText.MText,{numberOfLines:1,style:{color:'#333333',fontSize:16,fontWeight:'500',flex:1},__self:_this,__source:{fileName:_jsxFileName,lineNumber:979,columnNumber:27}},values.districtName),_react.default.createElement(_icons.DropDown2,{__self:_this,__source:{fileName:_jsxFileName,lineNumber:990,columnNumber:27}})),errors&&errors.districtName&&_react.default.createElement(_MText.MText,{style:$error,__self:_this,__source:{fileName:_jsxFileName,lineNumber:993,columnNumber:27}},errors.districtName))),_react.default.createElement(_MText.MText,{style:[$label],__self:_this,__source:{fileName:_jsxFileName,lineNumber:997,columnNumber:21}},"Ph\u01B0\u1EDDng/ X\xE3"),_react.default.createElement(_reactNative.TouchableOpacity,{style:$select,onPress:function onPress(){navigation.push(_navigation.ScreenNames.CommonSelect,{title:'Phường/ Xã',data:_store.default.listWard,callback:function callback(item){setFieldValue('wardId',item.id);setFieldValue('wardName',item==null?void 0:item.name);}});},__self:_this,__source:{fileName:_jsxFileName,lineNumber:998,columnNumber:21}},_react.default.createElement(_MText.MText,{numberOfLines:1,style:{color:'#333333',fontWeight:'500',flex:1,fontFamily:'BeVietnamPro-Medium'},__self:_this,__source:{fileName:_jsxFileName,lineNumber:1011,columnNumber:23}},values.wardName),_react.default.createElement(_icons.DropDown2,{__self:_this,__source:{fileName:_jsxFileName,lineNumber:1022,columnNumber:23}})),errors&&errors.wardName&&_react.default.createElement(_MText.MText,{style:$error,__self:_this,__source:{fileName:_jsxFileName,lineNumber:1025,columnNumber:23}},errors.wardName),_react.default.createElement(_MText.MText,{style:[$label,{marginTop:16}],__self:_this,__source:{fileName:_jsxFileName,lineNumber:1027,columnNumber:21}},"\u0110\u1ECBa ch\u1EC9 chi ti\u1EBFt"),_react.default.createElement(_reactNative.TextInput,{style:[$textInput,{color:'#333333',fontWeight:'500'}],value:values.address,onChangeText:handleChange('address'),__self:_this,__source:{fileName:_jsxFileName,lineNumber:1030,columnNumber:21}}),errors&&errors.address&&_react.default.createElement(_MText.MText,{style:$error,__self:_this,__source:{fileName:_jsxFileName,lineNumber:1042,columnNumber:23}},errors.address),_react.default.createElement(_MButton.default,{onPress:function onPress(){handleSubmit();},style:{marginVertical:24},__self:_this,__source:{fileName:_jsxFileName,lineNumber:1044,columnNumber:21}},_react.default.createElement(_reactNativeLinearGradient.default,{start:{x:1,y:0},end:{x:0,y:1},style:{height:40,marginVertical:16,borderRadius:30,alignItems:'center',justifyContent:'center'},colors:['#FF7A00','#EF4123'],__self:_this,__source:{fileName:_jsxFileName,lineNumber:1052,columnNumber:23}},_react.default.createElement(_MText.MText,{style:{color:'white',fontSize:16},__self:_this,__source:{fileName:_jsxFileName,lineNumber:1064,columnNumber:25}},"Ti\u1EBFp t\u1EE5c"))));},[values,errors]);return _react.default.createElement(_react.default.Fragment,null,renderView,_react.default.createElement(_reactNativeDatePicker.default,{mode:"date",open:showDate,modal:true,title:"Ch\u1ECDn th\u1EDDi gian",locale:"vi",date:new Date(),onCancel:function onCancel(){setShowDate(false);},onConfirm:function onConfirm(date){setShowDate(false);if(typeDate===1){setFieldValue('dob',(0,_utils.formatDDMMYYY)(date));}if(typeDate===2){setFieldValue('dateNationalId',(0,_utils.formatDDMMYYY)(date));}},__self:_this,__source:{fileName:_jsxFileName,lineNumber:1081,columnNumber:19}}));}),_react.default.createElement(_keyboardspace.default,{__self:this,__source:{fileName:_jsxFileName,lineNumber:1105,columnNumber:11}}))),_react.default.createElement(_Loading.default,{isLoading:isLoading,__self:this,__source:{fileName:_jsxFileName,lineNumber:1108,columnNumber:7}}));}var $row={flexDirection:'row',marginBottom:16,gap:16};var $textInput={borderWidth:1,borderRadius:4,borderColor:'#E0E0E0',height:40,paddingHorizontal:8,fontFamily:'BeVietnamPro-Medium',fontSize:14};var $label={fontSize:14,color:'#333333',paddingBottom:5};var $title2={fontSize:16,fontWeight:'bold',color:'#333333',paddingBottom:10,marginTop:6};var $title={fontSize:16,fontWeight:'bold',color:'#333333',position:'absolute',left:0,right:0,textAlign:'center'};var $h={backgroundColor:'#EF592E',position:'absolute',height:30,width:'100%'};var $bg={borderTopLeftRadius:30,borderTopRightRadius:30,backgroundColor:'white',flex:1};var $select={flexDirection:'row',height:40,alignItems:'center',paddingHorizontal:8,borderWidth:1,borderRadius:4,borderColor:'#E0E0E0'};var $error={color:'#EB5757',fontSize:14,fontStyle:'italic',fontFamily:'BeVietnamPro-Thin',fontWeight:'300',marginTop:5};
2
2
  //# sourceMappingURL=ReviewInformation.js.map
@@ -1124,6 +1124,7 @@ const $textInput: ViewStyle = {
1124
1124
  height: 40,
1125
1125
  paddingHorizontal: 8,
1126
1126
  fontFamily: 'BeVietnamPro-Medium',
1127
+ fontSize: 14,
1127
1128
  };
1128
1129
 
1129
1130
  const $label: TextStyle = {