1import{l as r,R as a,A as i}from"./index.cb24fa47.1790666596239.js";import{r as s}from"./agentation.3e8ef65e.1790666596239.js";import{m as n}from"./selector.4b536653.1790666596239.js";import{c as m}from"./home.controller.0c80c5c5.1790666596239.js";import{w as p}from"./withTranslation.7dc5340f.1790666596239.js";import{T as l}from"./Translation.04e10701.1790666596239.js";import"./affiliate-service.a37d4182.1790666596239.js";import"./HomeBannerSlider.selector.5979e6e7.1790666596239.js";import"./image-helper.332d33e6.1790666596239.js";import"./text.1a8ba13b.1790666596239.js";import"./store.b019d147.1790666596239.js";import"./floatingNotification.constant.27687fe7.1790666596239.js";import"./dayjs.min.2527fb14.1790666596239.js";import"./matchPredictionModules.5077a1fd.1790666596239.js";import"./oddsFeedModules.feb27095.1790666596239.js";import"./promotionModules.b56c876e.1790666596239.js";import"./index.bcdbaaf5.1790666596239.js";import"./accordion_beta.10e53a1a.1790666596239.js";import"./D_testimonials_beta.a88243ac.1790666596239.js";import"./index.56f81e6f.1790666596239.js";import"./index.a8804be1.1790666596239.js";import"./index.9bdd72e5.1790666596239.js";import"./index.cde3986f.1790666596239.js";import"./ceremory-banner.3b1ed53e.1790666596239.js";import"./staticContentModules.96d36cc3.1790666596239.js";class c extends a.Component{constructor(t){super(t),this.state={content:""},m.init(this)}componentDidMount(){window.addEventListener("message",this.handleIframeMessage),this.readAffiliatePage()}componentWillUnmount(){window.removeEventListener("message",this.handleIframeMessage),this.setState=()=>{}}handleIframeMessage=t=>{if(!t.origin.includes(window.location.origin))return;const{action:e}=t.data,o={navigate_to_register:"/register",navigate_to_contact:"/contact-us"}[e];o&&this.props.history.push(o)};async readAffiliatePage(){const t=`/public/html/affiliate/index.html?${new Date().getTime()}`;await window.SPL_JsonSettings.getTextFile(t,e=>{e?.data&&this.setState({content:e.data})})}render(){const{language:t}=this.props;return i.jsx(l,{children:()=>i.jsx("main",{className:"aff-home",children:i.jsx("iframe",{className:"iframe-container",src:`/public/html/affiliate/index-${t?.key}.html`,style:{width:"100%",height:"100vh",border:0,overflow:"hidden",msOverflowStyle:"none",scrollbarWidth:"none"}})})})}}const F=r.connect(n)(p("affiliate")(s.withRouter(c)));export{F 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.