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