1import{l as v,R as C,n as y,q as n,A as a,bw as S,S as w,L as I}from"./index.a592fd0f.1791468856214.js";import{r as f}from"./agentation.68356e44.1791468856214.js";import{S as L}from"./scrollAnimation.min.5cec2de4.1791468856214.js";import{l as r}from"./index.fd246e85.1791468856214.js";import{m as F}from"./selector.4b536653.1791468856214.js";import _ from"./transaction-button.selector.b9d2ccfa.1791468856214.js";import T from"./text.3a0e29a2.1791468856214.js";import A from"./announcement-bar-1.f9230b06.1791468856214.js";import U from"./image-helper.f0b71afe.1791468856214.js";import{c as i}from"./contactUs.controller.81421730.1791468856214.js";import{w as V}from"./withTranslation.307c35be.1791468856214.js";import{T as D}from"./Translation.d9727a31.1791468856214.js";import"./index.2815c6b3.1791468856214.js";import"./miniLazyComponent.ccbc3aa5.1791468856214.js";import"./emotion-react.browser.esm.203ba25b.1791468856214.js";import"./emotion-memoize.esm.f5713a00.1791468856214.js";import"./ceremony-util.201296bd.1791468856214.js";import"./dynamic-comp-service.292d3ae1.1791468856214.js";import"./ceremory.selector.c62c6926.1791468856214.js";import"./ceremony.3be6686c.1791468856214.js";import"./index.d45b7018.1791468856214.js";import"./staticContentModules.67d7c02e.1791468856214.js";import"./modal.action.7db46723.1791468856214.js";import"./store.c551292d.1791468856214.js";import"./floatingNotification.constant.27687fe7.1791468856214.js";import"./dayjs.min.4438ae62.1791468856214.js";import"./matchPredictionModules.8463f61a.1791468856214.js";import"./oddsFeedModules.2bed76ce.1791468856214.js";import"./promotionModules.e5ad9f13.1791468856214.js";import"./index.d6d38540.1791468856214.js";import"./game-hook.dc3bda4b.1791468856214.js";import"./general-hook.582f544d.1791468856214.js";import"./index.cda596f5.1791468856214.js";import"./warning.883c7a3c.1791468856214.js";class k extends C.Component{constructor(){super(),i.init(this)}async componentDidMount(){this.props.location.pathname==="/contact"&&this.props.history.push("/contact-us"),i.getContactUsContent(),await i.initCompSettings(),i.getContactUsList(),y.loadCustomTranslation("affContact",this)}render(){const{contactUsContent:u,contactUsList:c,customTranslationObj:s,contactUsSpecialList:p,fields:o,isIgnoreFormValid:h,compSettings:d}=this.state,{affContactForm:x}=d,{language:g,portal:m}=this.props,j=g.countryLanguageKey.toLowerCase().replace("_","-"),b={submitProps:{className:"standard-submit-button get-in-touch-submit-btn",buttonText:n(s,"submit")?this.props.t(s.submit):this.props.t("password:password.form.submit","Submit"),disabled:h?this.state.isLoading:!this.state.isFormValid||this.state.isLoading,onClickFunction:i.handleSubmit,hideButtonImg:!0,hideBtnImgLeft:!0}};function N(e,t){switch(e.name){case"QRCode":return a.jsx(a.Fragment,{children:a.jsx(I,{src:e.imgSrc,alt:""})});default:return a.jsxs(a.Fragment,{children:[a.jsxs("div",{children:[t(e.name),": "]}),a.jsx("a",{href:`/${j}/${e.desc}`,children:e.desc})]})}}return a.jsx(D,{children:e=>a.jsx(L,{animateIn:"fadeIn",duration:2,children:a.jsxs("div",{className:"aff-contact-us-wrapper",children:[m?.settings?.affFeatures?.landingAnnouncement?.showAnnouncementBar&&a.jsx("div",{className:"landing-page-announcement",children:a.jsx(A,{tempAnnouncementProps:m?.settings?.affFeatures?.landingAnnouncement?.announcementProps})}),a.jsxs("section",{className:"contact-us-container",children:[a.jsx("header",{children:a.jsx("p",{children:S(e("global:footer.contact-us"))})}),u?a.jsx("article",{dangerouslySetInnerHTML:{__html:this.state.contactUsContent}}):a.jsxs("article",{children:[a.jsx(T,{textKey:"affiliate:affiliate.contactus.desc1",children:e("affiliate:affiliate.contactus.desc1","Thank you for reaching out to Affiliate. Have you tried our")}),a.jsx(f.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.")]}),a.jsx("div",{className:"image-qr-code d-flex justify-content-center",children:p.map((t,l)=>a.jsx("div",{className:"contact-list-wrapper",children:a.jsx("div",{className:"contact-content-container standard-normal-font-size",children:N(t,e)})},l))}),a.jsxs("div",{className:"field-column standard-m-form-col-full",children:[a.jsx("div",{className:"standard-form-col-30 get-in-touch-left-container",children:a.jsxs("div",{className:"wrapper",children:[a.jsx("div",{className:"standard-header-font-size",children:e("affiliate:affiliate.contactus.contact-information","Contact Information")}),c?.length>0&&a.jsx("div",{className:"contact-us-list",children:c.map((t,l)=>a.jsxs("div",{className:"contact-list-wrapper",onClick:()=>{i.handleContactClicked(t)},children:[!t.hideIcon&&a.jsx("div",{className:"contact-svg-container",children:t.displayImg?a.jsx(U,{displayImg:t.displayImg,isSVG:t.isSVG,srcSVG:t.srcSVG}
1):a.jsx(w,{category:"SVGContact",className:"box-svg",name:t.svgName||"96b-"+t.name.toLowerCase()})}),a.jsxs("div",{className:"contact-content-container",children:[t.isHtml?a.jsx("div",{dangerouslySetInnerHTML:{__html:t.desc}}):a.jsx("div",{children:t.desc}),t.name==="Phone"&&!d?.hideInternationalCharge&&a.jsx("div",{children:e("contactus:contactus.mobile.internationalCharge")})]})]},l))})]})}),a.jsx("div",{className:"form-contanier standard-form-col-70",children:x&&a.jsxs(a.Fragment,{children:[a.jsxs("div",{className:"form-group-fname-lname",children:[a.jsxs("div",{className:"standard-form-field",children:[a.jsx("label",{className:"standard-label standard-mandatory",children:n(s,"firstname")?this.props.t(s.firstname):e("affiliate:affiliate.contactus.firstname","First Name")}),a.jsx(r.DebounceInput,{type:"text",className:"form-control standard-input",value:o.firstName,onChange:t=>i.handleFieldChanged(t,"firstName"),placeholder:e("affiliate:affiliate.contactus.yourfirstname","First Name")})]}),a.jsxs("div",{className:"field-box standard-form-field",children:[a.jsx("label",{className:"standard-label standard-form-col-40 ",children:n(s,"lastname")?this.props.t(s.lastname):e("affiliate:affiliate.contactus.lastname","Last Name")}),a.jsx(r.DebounceInput,{type:"text",className:"form-control standard-input",value:o.lastName,onChange:t=>i.handleFieldChanged(t,"lastName"),placeholder:e("affiliate:affiliate.contactus.yourlastname","Last Name")})]})]}),a.jsxs("div",{className:"field-box standard-form-field",children:[a.jsx("label",{className:"standard-label standard-form-col-80 standard-mandatory",children:e("global:global.form.email","Email Address")}),a.jsx(r.DebounceInput,{type:"text",className:"form-control standard-input",value:o.senderEmail,onChange:t=>i.handleFieldChanged(t,"senderEmail"),placeholder:e("affiliate:affiliate.contactus.email","Email")})]}),a.jsxs("div",{className:"field-box standard-form-field",children:[a.jsx("label",{className:"standard-label standard-form-col-40 standard-mandatory",children:n(s,"subject_title")?e(s.subject_title):e("affiliate:affiliate.contactus.subject_title","Subject")}),a.jsx(r.DebounceInput,{type:"text",className:"form-control standard-input",value:o.subject,onChange:t=>i.handleFieldChanged(t,"subject"),placeholder:n(s,"subject_title")?e(s.subject_title):e("affiliate:affiliate.contactus.subject_title","Subject")})]}),a.jsx("div",{className:"field-box standard-form-field",children:a.jsx(r.DebounceInput,{element:"textarea",className:"form-control standard-input",cols:"30",rows:"10",value:o.message,onChange:t=>i.handleFieldChanged(t,"message"),placeholder:n(s,"message")?e(s.message):e("affiliate:affiliate.contactus.message","Message")})}),a.jsx("div",{className:"error-validation",children:e(this.state.errors.senderEmail)}),a.jsx("div",{children:a.jsx(_,{...b})})]})})]})]})]})})})}}const ga=v.connect(F)(V(["affiliate","global","contactus","password"])(f.withRouter(k)));export{ga 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.