var _interopRequireDefault=require("@babel/runtime/helpers/interopRequireDefault");Object.defineProperty(exports,"__esModule",{value:true});exports.default=CIMBLoading;var _react=_interopRequireDefault(require("react"));var _reactNative=require("react-native");var _icons=require("../assets/icons");var _CommonStyles=require("../screens/CommonStyles");var _MText=require("./MText");var _lottieReactNative=_interopRequireDefault(require("lottie-react-native"));var _reactNativeLinearGradient=_interopRequireDefault(require("react-native-linear-gradient"));var _jsxFileName="/Users/tima/Tima/react-native-timacare/src/components/CIMBLoading.tsx";function CIMBLoading(_ref){var isLoading=_ref.isLoading;return _react.default.createElement(_reactNative.Modal,{transparent:true,animationType:'none',visible:isLoading,__self:this,__source:{fileName:_jsxFileName,lineNumber:15,columnNumber:5}},_react.default.createElement(_reactNative.View,{style:styles.modalBackground,__self:this,__source:{fileName:_jsxFileName,lineNumber:16,columnNumber:7}},_react.default.createElement(_reactNative.View,{style:styles.activityIndicatorWrapper,__self:this,__source:{fileName:_jsxFileName,lineNumber:17,columnNumber:9}},_react.default.createElement(_reactNativeLinearGradient.default,{colors:['#FDFDFD','#FDFDFD'],style:{width:_reactNative.Dimensions.get('window').width-50,borderRadius:6,paddingVertical:24,alignItems:'center'},__self:this,__source:{fileName:_jsxFileName,lineNumber:18,columnNumber:11}},_react.default.createElement(_reactNative.View,{style:{width:'50%',flexDirection:'row',marginBottom:24,justifyContent:'space-between'},__self:this,__source:{fileName:_jsxFileName,lineNumber:27,columnNumber:13}},_react.default.createElement(_reactNative.View,{__self:this,__source:{fileName:_jsxFileName,lineNumber:35,columnNumber:15}},_react.default.createElement(_icons.LoadingTima,{__self:this,__source:{fileName:_jsxFileName,lineNumber:36,columnNumber:17}})),_react.default.createElement(_lottieReactNative.default,{source:require('./loading.json'),autoPlay:true,loop:true,__self:this,__source:{fileName:_jsxFileName,lineNumber:38,columnNumber:15}}),_react.default.createElement(_icons.LoadingCimb,{__self:this,__source:{fileName:_jsxFileName,lineNumber:39,columnNumber:15}})),_react.default.createElement(_MText.MText,{style:[_CommonStyles.commonStyles.textNormalBold,{textAlign:'center'}],__self:this,__source:{fileName:_jsxFileName,lineNumber:41,columnNumber:13}},"\u0110ang chuy\u1EC3n t\u1EDBi",'\n',"n\u1EC1n t\u1EA3ng ng\xE2n h\xE0ng CIMB")))));}var styles=_reactNative.StyleSheet.create({modalBackground:{flex:1,alignItems:'center',flexDirection:'column',justifyContent:'space-around',backgroundColor:'#00000040'},activityIndicatorWrapper:{display:'flex',alignItems:'center',justifyContent:'space-around'}});
//# sourceMappingURL=CIMBLoading.js.map