var _interopRequireDefault=require("@babel/runtime/helpers/interopRequireDefault");Object.defineProperty(exports,"__esModule",{value:true});exports.CompleteSplashScreen=void 0;var _react=_interopRequireDefault(require("react"));var _reactNative=require("react-native");var _IconSplash=require("../components/IconSplash");var _FormattedText=require("../components/FormattedText");var _reactNativePaper=require("react-native-paper");var _reactNativeComponents=require("@brightlayer-ui/react-native-components");var _jsxFileName="/home/circleci/login-workflow/login-workflow/src/subScreens/CompleteSplash.tsx";var makeContainerStyles=function makeContainerStyles(){return _reactNative.StyleSheet.create({safeContainer:{height:'100%',backgroundColor:'transparent'},backgroundAndContentWrapper:{width:'100%',height:'100%',zIndex:2},mainContainer:{flex:1,justifyContent:'center',alignContent:'center'},containerMargins:{marginHorizontal:16},textContainer:{flex:2,width:'100%',flexDirection:'row',justifyContent:'center'},iconContainer:{flex:1,justifyContent:'center'}});};var makeStyles=function makeStyles(theme){return _reactNative.StyleSheet.create({headerText:{},bodyText:{},textSpacing:{marginVertical:8},backgroundImage:{position:'absolute',top:0,left:0,right:0,width:'100%',height:150},circleIconBackground:{width:100,height:100,borderRadius:50,backgroundColor:theme.colors.primary,justifyContent:'center',alignSelf:'center'}});};var CompleteSplashScreen=function CompleteSplashScreen(props){var _props$icon;var theme=(0,_reactNativePaper.useTheme)(props.theme);var containerStyles=makeContainerStyles();var styles=makeStyles(theme);return _react.default.createElement(_reactNative.View,{style:containerStyles.backgroundAndContentWrapper,__source:{fileName:_jsxFileName,lineNumber:105,columnNumber:9}},_react.default.createElement(_reactNative.Image,{resizeMethod:'resize',resizeMode:'cover',style:[styles.backgroundImage],source:require('../assets/images/waves.png'),__source:{fileName:_jsxFileName,lineNumber:106,columnNumber:13}}),_react.default.createElement(_reactNative.ScrollView,{style:[containerStyles.safeContainer],__source:{fileName:_jsxFileName,lineNumber:112,columnNumber:13}},_react.default.createElement(_reactNative.SafeAreaView,{style:[containerStyles.safeContainer],__source:{fileName:_jsxFileName,lineNumber:113,columnNumber:17}},_react.default.createElement(_reactNative.View,{style:[containerStyles.containerMargins,containerStyles.mainContainer],__source:{fileName:_jsxFileName,lineNumber:114,columnNumber:21}},_react.default.createElement(_IconSplash.IconSplash,{style:{height:150},icon:(_props$icon=props.icon)!==null&&_props$icon!==void 0?_props$icon:'person',__source:{fileName:_jsxFileName,lineNumber:115,columnNumber:25}}),_react.default.createElement(_reactNative.View,{style:containerStyles.textContainer,__source:{fileName:_jsxFileName,lineNumber:117,columnNumber:25}},_react.default.createElement(_reactNative.View,{style:{width:'100%',maxWidth:600},__source:{fileName:_jsxFileName,lineNumber:118,columnNumber:29}},_react.default.createElement(_reactNativeComponents.H6,{style:[styles.headerText,styles.textSpacing],__source:{fileName:_jsxFileName,lineNumber:119,columnNumber:33}},props.boldTitle),_react.default.createElement(_reactNativeComponents.Body1,{style:[styles.bodyText,styles.textSpacing],__source:{fileName:_jsxFileName,lineNumber:120,columnNumber:33}},_react.default.createElement(_FormattedText.FormattedText,{parseableText:props.bodyText,__source:{fileName:_jsxFileName,lineNumber:121,columnNumber:37}}))))))));};exports.CompleteSplashScreen=CompleteSplashScreen;
//# sourceMappingURL=CompleteSplash.js.map