"use strict";(self.webpackChunkmattermost_webapp=self.webpackChunkmattermost_webapp||[]).push([[3639],{26452:(e,t,a)=>{a.d(t,{Z:()=>k});var n=a(23615),l=a.n(n),s=a(60042),c=a.n(s),r=a(84390),o=a.n(r),m=a(72060),i=a(9448);const u=e=>{let{url:t,className:a,onClick:n}=e;const{formatMessage:l}=(0,m.useIntl)();return o().createElement("div",{className:c()("signup-header",a)},o().createElement(i.Link,{"data-testid":"back_button",onClick:n,to:t},o().createElement("span",{id:"back_button_icon",className:"fa fa-1x fa-angle-left",title:l({id:"generic_icons.back",defaultMessage:"Back Icon"})}),o().createElement(m.FormattedMessage,{id:"web.header.back",defaultMessage:"Back"})))};u.propTypes={url:l().string,className:l().string,onClick:l().func},u.defaultProps={url:"/"};const k=u},73639:(e,t,a)=>{a.r(t),a.d(t,{default:()=>E});var n=a(23615),l=a.n(n),s=a(60042),c=a.n(s),r=a(84390),o=a.n(r),m=a(70314),i=a(9448),u=a(19601),k=a(26452),d=a(573);const b=e=>{let{alternateLink:t,backButtonURL:a,onBackButtonClick:n}=e;const{SiteName:l}=(0,m.useSelector)(u.iE),s=l||"Mattermost";let r=null;"false"===(0,m.useSelector)(u.lJ).IsLicensed&&(r=o().createElement(o().Fragment,null,o().createElement(d.Z,null),o().createElement("span",{className:"freeBadge"},"FREE EDITION")));let b=l;return"Mattermost"===b&&(b=r?"":o().createElement(d.Z,null)),o().createElement("div",{className:c()("hfroute-header",{"has-free-banner":r,"has-custom-site-name":b})},o().createElement("div",{className:"header-main"},o().createElement("div",null,r&&o().createElement(i.Link,{className:"header-logo-link",to:"/","aria-label":s},r),b&&o().createElement(i.Link,{className:"header-logo-link",to:"/","aria-label":s},b)),t),n&&o().createElement(k.Z,{className:"header-back-button",url:a,onClick:n}))};b.propTypes={alternateLink:l().element,backButtonURL:l().string,onBackButtonClick:l().func};const E=b}}]);
//# sourceMappingURL=3639.38312c3946861c6de68c.js.map