function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(exports,"__esModule",{value:!0});var _react=require("react"),_react2=_interopRequireDefault(_react),_propTypes=require("prop-types"),_propTypes2=_interopRequireDefault(_propTypes),_Styles=require("./Styles"),defaultProps={bgColor:"#ccc",textColor:"#fff",font:"sans-serif",bgImg:""},FullHeader=function(e){var t=e.title,r=e.subtitle,l=e.bgColor,o=e.textColor,a=e.font,p=e.bgImg,s=e.video,u=Object.assign({},_Styles.headerStyle,{backgroundColor:l,color:o,fontFamily:a,backgroundImage:"url("+String(p)+")"});return _react2.default.createElement("header",{style:u},_react2.default.createElement("div",{style:_Styles.containerStyle},t&&_react2.default.createElement("h1",{style:_Styles.titleStyle},t),r&&_react2.default.createElement("h2",{style:_Styles.subtitleStyle},r)),s&&_react2.default.createElement("video",{style:_Styles.videoStyle,autoPlay:!0,muted:!0,loop:!0,src:s}))},propTypes={title:_propTypes2.default.string,subtitle:_propTypes2.default.string,bgColor:_propTypes2.default.string,textColor:_propTypes2.default.string,font:_propTypes2.default.string,bgImg:_propTypes2.default.string,video:_propTypes2.default.string};FullHeader.prototypes=propTypes,FullHeader.defaultProps=defaultProps,exports.default=FullHeader;