var _interopRequireDefault=require("@babel/runtime/helpers/interopRequireDefault");Object.defineProperty(exports,"__esModule",{value:true});exports.Splash=void 0;var _react=_interopRequireDefault(require("react"));var _reactNative=require("react-native");var _LoginHeaderSplash=require("../components/LoginHeaderSplash");var _reactNativePaper=require("react-native-paper");var Colors=_interopRequireWildcard(require("@brightlayer-ui/colors"));var _cybersecurity_certified=_interopRequireDefault(require("../assets/images/cybersecurity_certified.png"));var _jsxFileName="/home/circleci/login-workflow/login-workflow/src/screens/Splash.tsx";function _getRequireWildcardCache(nodeInterop){if(typeof WeakMap!=="function")return null;var cacheBabelInterop=new WeakMap();var cacheNodeInterop=new WeakMap();return(_getRequireWildcardCache=function _getRequireWildcardCache(nodeInterop){return nodeInterop?cacheNodeInterop:cacheBabelInterop;})(nodeInterop);}function _interopRequireWildcard(obj,nodeInterop){if(!nodeInterop&&obj&&obj.__esModule){return obj;}if(obj===null||typeof obj!=="object"&&typeof obj!=="function"){return{default:obj};}var cache=_getRequireWildcardCache(nodeInterop);if(cache&&cache.has(obj)){return cache.get(obj);}var newObj={};var hasPropertyDescriptor=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var key in obj){if(key!=="default"&&Object.prototype.hasOwnProperty.call(obj,key)){var desc=hasPropertyDescriptor?Object.getOwnPropertyDescriptor(obj,key):null;if(desc&&(desc.get||desc.set)){Object.defineProperty(newObj,key,desc);}else{newObj[key]=obj[key];}}}newObj.default=obj;if(cache){cache.set(obj,newObj);}return newObj;}var makeContainerStyles=function makeContainerStyles(theme){return _reactNative.StyleSheet.create({safeContainer:{height:'100%',backgroundColor:theme.colors.surface},mainContainer:{flex:1,marginHorizontal:30,height:'82%'},topArea:{height:'18%'},bottomHalf:{height:'40%',paddingTop:45,flex:1,justifyContent:'space-between'},inputAreas:{marginTop:40,paddingTop:0,paddingBottom:40},checkboxAndButton:{flexDirection:'row',justifyContent:'space-between',alignContent:'flex-start',alignItems:'center',padding:0,margin:0,marginLeft:-10},checkbox:{alignContent:'flex-start',alignSelf:'flex-start',margin:0}});};var makeStyles=function makeStyles(){return _reactNative.StyleSheet.create({logoCyber:{height:85,width:'100%',marginVertical:16},svg:{width:'100%',height:'100%',resizeMode:'contain'},signUpText:{fontSize:20,alignSelf:'center',paddingTop:16,color:Colors.gray['300']},clearButton:{fontSize:16}});};var Splash=function Splash(props){var theme=(0,_reactNativePaper.useTheme)(props.theme);var containerStyles=makeContainerStyles(theme);var styles=makeStyles();return _react.default.createElement(_reactNative.SafeAreaView,{style:containerStyles.safeContainer,__source:{fileName:_jsxFileName,lineNumber:111,columnNumber:9}},_react.default.createElement(_LoginHeaderSplash.LoginHeaderSplash,{style:containerStyles.topArea,mainImage:props.mainImage,__source:{fileName:_jsxFileName,lineNumber:112,columnNumber:13}}),_react.default.createElement(_reactNative.View,{style:containerStyles.mainContainer,__source:{fileName:_jsxFileName,lineNumber:114,columnNumber:13}},_react.default.createElement(_reactNative.View,{style:styles.logoCyber,__source:{fileName:_jsxFileName,lineNumber:115,columnNumber:17}},_react.default.createElement(_reactNative.Image,{resizeMethod:"resize",source:_cybersecurity_certified.default,style:styles.svg,__source:{fileName:_jsxFileName,lineNumber:116,columnNumber:21}}))));};exports.Splash=Splash;
//# sourceMappingURL=Splash.js.map