"use strict";(self.webpackChunkmattermost_webapp=self.webpackChunkmattermost_webapp||[]).push([[5413],{25413:(e,t,a)=>{a.r(t),a.d(t,{default:()=>i}),a(86332);var l=a(84390),o=a.n(l),s=a(72060),r=a(70314),n=a(19601),c=a(35683);const i=e=>{const t=(0,s.useIntl)(),{formatMessage:a}=t,i=(0,r.useSelector)(n.iE);if((0,l.useEffect)((()=>{document.body.classList.add("sticky");const e=document.getElementById("root");return e&&e.classList.add("container-fluid"),()=>{document.body.classList.remove("sticky");const e=document.getElementById("root");e&&e.classList.remove("container-fluid")}}),[]),!i)return null;const m=[];return i.AboutLink&&m.push(o().createElement(c.Z,{key:"about_link",id:"about_link",className:"footer-link",location:"header_footer_template",href:i.AboutLink},a({id:"web.footer.about",defaultMessage:"About"}))),i.PrivacyPolicyLink&&m.push(o().createElement(c.Z,{key:"privacy_link",id:"privacy_link",className:"footer-link",location:"header_footer_template",href:i.PrivacyPolicyLink},a({id:"web.footer.privacy",defaultMessage:"Privacy Policy"}))),i.TermsOfServiceLink&&m.push(o().createElement(c.Z,{key:"terms_link",id:"terms_link",className:"footer-link",location:"header_footer_template",href:i.TermsOfServiceLink},a({id:"web.footer.terms",defaultMessage:"Terms"}))),i.HelpLink&&m.push(o().createElement(c.Z,{key:"help_link",id:"help_link",className:"footer-link",location:"header_footer_template",href:i.HelpLink},a({id:"web.footer.help",defaultMessage:"Help"}))),o().createElement("div",{className:"inner-wrap"},o().createElement("div",{className:"row content"},e.children),o().createElement("div",{className:"row footer"},o().createElement("div",{id:"footer_section",className:"footer-pane col-xs-12"},o().createElement("div",{className:"col-xs-12"},o().createElement("span",{id:"company_name",className:"pull-right footer-site-name"},"Mattermost")),o().createElement("div",{className:"col-xs-12"},o().createElement("span",{id:"copyright",className:"pull-right footer-link copyright"},"© 2015-".concat((new Date).getFullYear()," Mattermost, Inc.")),o().createElement("span",{className:"pull-right"},m)))))}}}]);
//# sourceMappingURL=5413.72f61b7083e4979f7299.js.map