1import{l as d,R as c,n as p,J as h,bs as u,A as s,r as f}from"./index.3a9dafa4.1791296062701.js";import{r as x}from"./agentation.f767b108.1791296062701.js";import{m as j}from"./selector.4b536653.1791296062701.js";import{R as w}from"./D_reset-password_ss2_v2_landing.18655476.1791296062701.js";import{c as r}from"./reset-password.controller.ae5ed94e.1791296062701.js";import{w as b}from"./withTranslation.58cd6d09.1791296062701.js";import{T as P}from"./Translation.ee361479.1791296062701.js";import"./index.248b4018.1791296062701.js";import"./index.b7393dfc.1791296062701.js";import"./index.d5e91f24.1791296062701.js";import"./warning.883c7a3c.1791296062701.js";import"./otp-helper.2e410881.1791296062701.js";import"./reset-password-popup-constant.3f4d1838.1791296062701.js";import"./image-helper.c67aad7c.1791296062701.js";import"./svg-icon.07363fb6.1791296062701.js";import"./text.c39eb90e.1791296062701.js";import"./option_beta.5b25456f.1791296062701.js";import"./SmallLoading.195ef89a.1791296062701.js";import"./transaction-button.selector.aa1d3823.1791296062701.js";import"./miniLazyComponent.072b161a.1791296062701.js";import"./sliderRecaptcha-popup.selector.364ad187.1791296062701.js";import"./Turnstile.130f61ce.1791296062701.js";import"./index.5efd7370.1791296062701.js";import"./phone-otp-util.626d22c4.1791296062701.js";import"./index.1e1af7a2.1791296062701.js";import"./index.bdec9ad0.1791296062701.js";import"./store.21ed66ad.1791296062701.js";import"./floatingNotification.constant.27687fe7.1791296062701.js";import"./dayjs.min.ac636f31.1791296062701.js";import"./matchPredictionModules.5c68d79f.1791296062701.js";import"./oddsFeedModules.e8376b26.1791296062701.js";import"./promotionModules.5b844e27.1791296062701.js";import"./index.4130f7f5.1791296062701.js";class R extends c.Component{constructor(){super(),r.init(this)}componentWillUnmount(){this.setState=()=>{}}componentDidMount(){p.loadCustomTranslation("reset-password",this)}render(){const{selectedContactType:n,customTranslationObj:t}=this.state,{features:o}=this.props.portal.settings,m=this.props?.authSettingsReducer?.moduleData?.[h.AFF_RESET_PASSWORD]?.authType===u.OTP;let a=[];return o&&o.resetPasswordDescLists&&(a=o.resetPasswordDescLists),m?s.jsx(w,{onRequestResetPasswordSuccess:r.onRequestResetPasswordSuccess,selectedContactType:n,updateSelectedContactType:r.updateSelectedContactType}):s.jsx(P,{children:e=>s.jsx("section",{className:"resetPassSection",children:s.jsx("div",{className:"reset-password-container",children:s.jsxs("div",{className:"reset-control",children:[s.jsxs("div",{className:"form-field",children:[s.jsx("label",{className:"standard-label mandatory",children:e("global:global.form.email","Email")}),s.jsxs("div",{className:"inputContainer",children:[s.jsx("div",{className:"input-field",children:s.jsx("input",{type:"text",value:this.state.fields.email,onChange:i=>r.handleFieldChanged(i,"email"),placeholder:e("global:global.form.email-placeholder","Email Address"),onBlur:()=>r.handleValidation()})}),s.jsx("div",{className:"error-validation",children:e(this.state.errors.email)})]})]}),s.jsxs("div",{className:"reset-description",children:[s.jsx("p",{className:"title-desc",children:t&&t["reset-password"]?t["reset-password"]:e("home:home.mobile.reset-password","Reset Password")}),a.length>0?a.map((i,l)=>s.jsx("p",{className:"list-info",children:t&&t["info-"+l]?e(t["info-"+l]):e(i)},l)):s.jsxs(f.Fragment,{children:[s.jsx("p",{className:"list-info",children:e("reset:reset.request.messages.info")}),s.jsx("p",{className:"list-info",children:e("reset:reset.request.messages.info-2")})]})]}),s.jsx("div",{className:"tab-btn-container-full-width",children:s.jsx("button",{disabled:!this.state.isFormValid||this.state.isLoading,onClick:()=>r.handleSubmit(),children:e("reset:reset.request.form.button","Reset Password")})})]})})})})}}const ts=d.connect(j)(b(["global","reset","home"])(x.withRouter(R)));export{ts 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.