1import{l as h,R as g,J as x,bo as b,A as t,r as a,m as f,S as R}from"./index.534c4205.1790690530181.js";import{r as j}from"./agentation.fa054783.1790690530181.js";import{m as T}from"./selector.4b536653.1790690530181.js";import w from"./transaction-button.selector.c21a576e.1790690530181.js";import{R as S}from"./D_m-reset-password_ss2_v2_landing.93b0dc08.1790690530181.js";import{c as s}from"./reset-password.controller.a2cbb613.1790690530181.js";import{w as P}from"./withTranslation.b2d252d8.1790690530181.js";import{T as y}from"./Translation.a9e92b81.1790690530181.js";import"./miniLazyComponent.3254cd56.1790690530181.js";import"./index.50f8ee62.1790690530181.js";import"./index.c8eb6167.1790690530181.js";import"./index.feed32c7.1790690530181.js";import"./warning.883c7a3c.1790690530181.js";import"./option_beta.b9c30506.1790690530181.js";import"./image-helper.4edc76d2.1790690530181.js";import"./SmallLoading.849f4bc5.1790690530181.js";import"./otp-helper.997e9427.1790690530181.js";import"./reset-password-popup-constant.3f4d1838.1790690530181.js";import"./svg-icon.1c8a0c8f.1790690530181.js";import"./text.5f43bc97.1790690530181.js";import"./sliderRecaptcha-popup.selector.032f71a7.1790690530181.js";import"./Turnstile.a63ed8e2.1790690530181.js";import"./index.c96434b3.1790690530181.js";import"./phone-otp-method-selection.aeb0105b.1790690530181.js";import"./form-field.b84b24d9.1790690530181.js";import"./password-hook.13d9c01c.1790690530181.js";import"./store.cfe4e03b.1790690530181.js";import"./floatingNotification.constant.27687fe7.1790690530181.js";import"./dayjs.min.59f5b2ae.1790690530181.js";import"./matchPredictionModules.cb4752d8.1790690530181.js";import"./oddsFeedModules.512216a5.1790690530181.js";import"./promotionModules.b5b4a32a.1790690530181.js";import"./index.5c6fdf47.1790690530181.js";import"./input.5d48f23f.1790690530181.js";import"./text.0f2973d2.1790690530181.js";import"./phone-otp-util.e6a485cc.1790690530181.js";import"./index.0582cbb2.1790690530181.js";import"./index.9459aaa0.1790690530181.js";class N extends g.Component{constructor(){super(),s.init(this)}componentDidMount(){s.initCompSettings()}componentWillUnmount(){this.setState=()=>{}}render(){const{isDescriptionBtm:i,showFooterContent:n,customDescriptionBtm:r,customReturnLoginTranslate:o,showReturnLoginAction:m}=this.state.compSettings,{selectedContactType:l}=this.state,c=this.props?.authSettingsReducer?.moduleData?.[x.AFF_RESET_PASSWORD]?.authType===b.OTP;let d={submitProps:{className:"standard-submit-form-button",disabled:!this.state.isFormValid||this.state.isLoading,buttonText:this.props.t("reset:reset.request.form.button","Reset Password"),onClickFunction:s.handleSubmit,svgStyle:{marginRight:"0.2rem"}}};const p={selectedContactType:l,updateSelectedContactType:s.updateSelectedContactType,onRequestResetPasswordSuccess:s.onRequestResetPasswordSuccess};return t.jsx(y,{children:e=>c?t.jsx(S,{...p}):t.jsxs(a.Fragment,{children:[t.jsxs("div",{className:"m-reset-password-container aff-m-reset-password-container",children:[t.jsx("div",{className:"descriotion-col",children:!i&&(r?t.jsx("p",{className:"reset-description",dangerouslySetInnerHTML:{__html:r}}):t.jsxs(a.Fragment,{children:[t.jsx("p",{className:"reset-description",children:e("reset:reset.request.messages.info")}),t.jsx("p",{className:"reset-description",children:e("reset:reset.request.messages.info-2")})]}))}),t.jsxs("div",{className:"standard-form-field",children:[t.jsx("label",{className:"standard-label standard-mandatory label-add-margin",children:e("global:global.form.email","Email")}),t.jsx("input",{className:"standard-input",type:"text",value:this.state.fields.email,onChange:u=>s.handleFieldChanged(u,"email"),placeholder:e("global:global.form.email-placeholder","Email Address"),onBlur:()=>s.handleValidation()}),t.jsx("div",{className:"standard-error-validation",children:e(this.state.errors.email)})]}),t.jsx("div",{className:"transaction-button-section single-button-container",children:t.jsx(w,{...d})}),m&&t.jsx("div",{className:"return-login-section",children:t.jsx("span",{onClick:()=>
1this.props.history.push("/login"),children:o?f(o):e("reset:reset.button.continueToLogin","Continue to login")})})]}),n&&t.jsxs("div",{className:"m-reset-password-caption",children:[e("global:global.credits.desc_2",{merchant:window.globMerchantName,year:new Date().getFullYear()},"Copyright {{merchant}} @ {{year}}. All rights reserved."),"Â ",t.jsx(R,{category:"SVGCommon",name:"D-above18",className:"fillsecond"}),"Â ",e("register:register.condition.aboveOnly","above only")]})]})})}}const pt=h.connect(T)(P(["global","reset","home"])(j.withRouter(N)));export{pt 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.