webpackJsonp([4],{732:function(e,t,a){"use strict";(function(e){function l(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var r=a(6),n=l(r),o=a(4),i=l(o),s=a(5),c=l(s),d=a(7),f=l(d),u=a(8),m=l(u),p=a(0),k=l(p),_=a(18),h=a(2),g=l(h),w=a(1),y=l(w),v=function(t){function a(){return(0,i.default)(this,a),(0,f.default)(this,(a.__proto__||(0,n.default)(a)).apply(this,arguments))}return(0,m.default)(a,t),(0,c.default)(a,[{key:"componentDidMount",value:function(){(0,k.default)("body").addClass("sticky"),(0,k.default)("#root").addClass("container-fluid")}},{key:"componentWillUnmount",value:function(){(0,k.default)("body").removeClass("sticky"),(0,k.default)("#root").removeClass("container-fluid")}},{key:"render",value:function(){var t=[];return e.window.mm_config.HelpLink&&t.push(y.default.createElement("a",{key:"help_link",id:"help_link",className:"pull-right footer-link",target:"_blank",rel:"noopener noreferrer",href:e.window.mm_config.HelpLink},y.default.createElement(_.FormattedMessage,{id:"web.footer.help"}))),t.push(y.default.createElement("a",{key:"terms_link",id:"terms_link",className:"pull-right footer-link",target:"_blank",rel:"noopener noreferrer",href:e.window.mm_config.TermsOfServiceLink},y.default.createElement(_.FormattedMessage,{id:"web.footer.terms"}))),e.window.mm_config.PrivacyPolicyLink&&t.push(y.default.createElement("a",{key:"privacy_link",id:"privacy_link",className:"pull-right footer-link",target:"_blank",rel:"noopener noreferrer",href:e.window.mm_config.PrivacyPolicyLink},y.default.createElement(_.FormattedMessage,{id:"web.footer.privacy"}))),e.window.mm_config.AboutLink&&t.push(y.default.createElement("a",{key:"about_link",id:"about_link",className:"pull-right footer-link",target:"_blank",rel:"noopener noreferrer",href:e.window.mm_config.AboutLink},y.default.createElement(_.FormattedMessage,{id:"web.footer.about"}))),y.default.createElement("div",{className:"inner-wrap"},y.default.createElement("div",{className:"row content"},this.props.children,y.default.createElement("div",{className:"footer-push"})),y.default.createElement("div",{className:"row footer"},y.default.createElement("div",{className:"footer-pane col-xs-12"},y.default.createElement("div",{className:"col-xs-12"},y.default.createElement("span",{className:"pull-right footer-site-name"},"Mattermost")),y.default.createElement("div",{className:"col-xs-12"},y.default.createElement("span",{className:"pull-right footer-link copyright"},"© 2015-"+(new Date).getFullYear()+" Mattermost, Inc."),t))))}}]),a}(y.default.Component);t.default=v,v.defaultProps={},v.propTypes={children:g.default.object}}).call(t,a(22))}});
//# sourceMappingURL=4.a1d01eb59b68f497c166.js.map