(window.webpackJsonp=window.webpackJsonp||[]).push([[7],{2202:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(285),a=n(96),o=function(e){return e&&e.__esModule?e:{default:e}}(n(2203));t.default=(0,r.connect)(function(e){return{config:(0,a.getConfig)(e)}})(o.default)},2203:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=f(n(281)),a=f(n(280)),o=f(n(284)),l=f(n(282)),i=f(n(283)),s=f(n(1)),c=f(n(3)),u=n(764);function f(e){return e&&e.__esModule?e:{default:e}}var d=function(e){function t(){return(0,a.default)(this,t),(0,l.default)(this,(t.__proto__||(0,r.default)(t)).apply(this,arguments))}return(0,i.default)(t,e),(0,o.default)(t,[{key:"componentDidMount",value:function(){document.body.classList.add("sticky"),document.getElementById("root").classList.add("container-fluid")}},{key:"componentWillUnmount",value:function(){document.body.classList.remove("sticky"),document.getElementById("root").classList.remove("container-fluid")}},{key:"render",value:function(){var e=[];return this.props.config.AboutLink&&e.push(c.default.createElement("a",{key:"about_link",id:"about_link",className:"footer-link",target:"_blank",rel:"noopener noreferrer",href:this.props.config.AboutLink},c.default.createElement(u.FormattedMessage,{id:"web.footer.about"}))),this.props.config.PrivacyPolicyLink&&e.push(c.default.createElement("a",{key:"privacy_link",id:"privacy_link",className:"footer-link",target:"_blank",rel:"noopener noreferrer",href:this.props.config.PrivacyPolicyLink},c.default.createElement(u.FormattedMessage,{id:"web.footer.privacy"}))),this.props.config.TermsOfServiceLink&&e.push(c.default.createElement("a",{key:"terms_link",id:"terms_link",className:"footer-link",target:"_blank",rel:"noopener noreferrer",href:this.props.config.TermsOfServiceLink},c.default.createElement(u.FormattedMessage,{id:"web.footer.terms"}))),this.props.config.HelpLink&&e.push(c.default.createElement("a",{key:"help_link",id:"help_link",className:"footer-link",target:"_blank",rel:"noopener noreferrer",href:this.props.config.HelpLink},c.default.createElement(u.FormattedMessage,{id:"web.footer.help"}))),c.default.createElement("div",{className:"inner-wrap"},c.default.createElement("div",{className:"row content"},this.props.children),c.default.createElement("div",{className:"row footer"},c.default.createElement("div",{className:"footer-pane col-xs-12"},c.default.createElement("div",{className:"col-xs-12"},c.default.createElement("span",{className:"pull-right footer-site-name"},"Mattermost")),c.default.createElement("div",{className:"col-xs-12"},c.default.createElement("span",{className:"pull-right footer-link copyright"},"© 2015-"+(new Date).getFullYear()+" Mattermost, Inc."),c.default.createElement("span",{className:"pull-right"},e)))))}}]),t}(c.default.PureComponent);d.propTypes={children:s.default.object,config:s.default.object},t.default=d}}]);
//# sourceMappingURL=7.2df7fb8d6efab1b881cb.js.map