1import{l as c,R as l,A as t,S as f}from"./index.40d342e9.1791468131499.js";import{r as i}from"./agentation.5bb278ab.1791468131499.js";import{S as d}from"./scrollAnimation.min.3575b312.1791468131499.js";import{m}from"./selector.4b536653.1791468131499.js";import h from"./text.8a5578a3.1791468131499.js";import{c as s}from"./contactUs.controller.b1502eb8.1791468131499.js";import{w as u}from"./withTranslation.a6818040.1791468131499.js";import{T as p}from"./Translation.47eeeadc.1791468131499.js";class x extends l.Component{constructor(){super(),s.init(this)}async componentDidMount(){this.props.location.pathname==="/contact"&&this.props.history.push("/contact-us"),s.getContactUsContent(),await s.initCompSettings(),s.getContactUsList()}render(){const{contactUsContent:n,contactUsList:o}=this.state;return t.jsx(p,{children:e=>t.jsx(d,{animateIn:"fadeIn",duration:2,children:t.jsx("div",{className:"aff-contact-us-wrapper",children:t.jsxs("section",{className:"contact-us-container",children:[t.jsx("header",{children:t.jsx("p",{children:e("global:footer.contact-us")})}),n&&n!==""?t.jsx("article",{dangerouslySetInnerHTML:{__html:this.state.contactUsContent}}):t.jsxs("article",{children:[t.jsx(h,{textKey:"affiliate:affiliate.contactus.desc1",children:e("affiliate:affiliate.contactus.desc1","Thank you for reaching out to Affiliate. Have you tried our")}),t.jsx(i.Link,{to:"/faq",children:e("affiliate:affiliate.contactus.faq","FAQ")}),e("affiliate:affiliate.contactus.desc2","to see if there's an answer you might be looking for? We've provided some of our top areas of inquiries.")+e("affiliate:affiliate.contactus.desc3","If you haven't found what you're looking for, listed below is a variety of convenient ways for you to contact us.")]}),o&&o.length>0&&t.jsx("div",{className:"contact-us-list",children:o.map((a,r)=>t.jsxs("div",{className:"contact-list-warpper",onClick:()=>{s.handleContactClicked(a)},children:[t.jsx("div",{className:"contact-svg-container",children:t.jsx(f,{category:"SVGContact",name:a.name.toLowerCase()})}),t.jsxs("div",{className:"contact-content-container standard-normal-font-size",children:[t.jsx("div",{children:e(a.apptranslate,a.name)}),a.isHtml?t.jsx("div",{dangerouslySetInnerHTML:{__html:a.desc}}):t.jsx("div",{children:a.desc}),a.name==="Phone"&&t.jsx("div",{children:e("contactus:contactus.mobile.internationalCharge")})]})]},r))})]})})})})}}const b=c.connect(m)(u(["affiliate","global","contactus"])(i.withRouter(x)));export{b as default};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.