PageSourceSearch

https://jsol.net/chunk-5RZL4S4H.js

js jsol.net collected 2026-09-28 06:43:34 UTC 3,479 bytes, 1 lines download raw bytes

1import{a as M}from"./chunk-WH22GQDU.js";import{t as h,x as c}from"./chunk-2RZNBXEW.js";import{k as m,sa as g}from"./chunk-LKIBVTZY.js";import{e as n,j as a}from"./chunk-LZGEQQYD.js";var F=(()=>{let r=class r{constructor(e,t,o){this.httpService=e,this.globalData=t,this.langService=o,this.countryCode=0,this.resetByPhoneForm={memId:"",mobileNo:"",errorMemId:!1,errorMemIdMessage:"",errorMobileNo:!1,errorMobileNoMessage:""},this.resetByMailForm={email:"",error:!1,errorMessage:""}}loadIndex(){this.globalData.loading=!0,this.httpService.forgotPassword({}).subscribe(e=>{e.code===0&&(this.pageData=e.data,this.setDefaultCountryCode()),this.globalData.loading=!1})}setDefaultCountryCode(){let e=M();this.countryCode=e.get(this.langService.language)||"60",this.pageData.contactCountryList.length===0&&(this.countryCode="0")}resetByPhone(){let e=this.resetByPhoneForm.memId.trim(),t=this.countryCode,o=this.resetByPhoneForm.mobileNo;if(this.resetByPhoneForm.errorMemId=!1,this.resetByPhoneForm.errorMobileNo=!1,this.resetByPhoneForm.errorMobileNoMessage="",this.resetByPhoneForm.errorMemIdMessage="",e||(this.resetByPhoneForm.errorMemIdMessage=this.globalData.translateString("Code_userNameBlank"),this.resetByPhoneForm.errorMemId=!0),t===0&&(this.resetByPhoneForm.errorMobileNoMessage=this.globalData.translateString("codeMessage.40126"),this.resetByPhoneForm.errorMobileNo=!0),o||(this.resetByPhoneForm.errorMobileNoMessage=this.globalData.translateString("codeMessage.40127"),this.resetByPhoneForm.errorMobileNo=!0),this.resetByPhoneForm.errorMobileNoMessage||this.resetByPhoneForm.errorMemIdMessage)return;this.globalData.loading=!0;let s={memId:e,mobileNo:t+o};this.httpService.phoneResetPwd(s).subscribe(i=>{if(i.code===0)this.globalData.showDirectAlert("pwdToPhone",1),this.resetByPhoneForm.memId="",this.countryCode=0,this.resetByPhoneForm.mobileNo="";else if(h(i.code)==13)switch(i.code.toString().substring(2)){case"40001":this.resetByPhoneForm.errorMemIdMessage=this.globalData.translateString("codeMessage.40001"),this.resetByPhoneForm.errorMemId=!0;break;case"40126":this.resetByPhoneForm.errorMobileNoMessage=this.globalData.translateString("codeMessage.40126"),this.resetByPhoneForm.errorMobileNo=!0;break;case"40127":this.resetByPhoneForm.errorMobileNoMessage=this.globalData.translateString("codeMessage.40127"),this.resetByPhoneForm.errorMobileNo=!0;break;default:this.globalData.showAlert(i.code);break}this.globalData.loading=!1})}resetByMail(){let e=this.resetByMailForm.email.trim();if(this.resetByMailForm.error=!1,!e){this.resetByMailForm.errorMessage=this.globalData.translateString("Code_emailBlank"),this.resetByMailForm.error=!0;return}if(!new RegExp("^[-_A-Za-z0-9.]+@[_A-Za-z0-9]+\\.[A-Za-z0-9]{2,3}$").test(e)){this.resetByMailForm.errorMessage=this.globalData.translateString("codeMessage.40100"),this.resetByMailForm.error=!0;return}this.globalData.loading=!0;let o={email:e};this.httpService.emailResetPwd(o).subscribe(s=>{if(s.code===0)this.globalData.showDirectAlert("pwdToMail",1),this.resetByMailForm.email="";else if(h(s.code)==13)switch(s.code.toString().substring(2)){case"40000":this.resetByMailForm.errorMessage=this.globalData.translateString("codeMessage.40000"),this.resetByMailForm.error=!0;break;default:this.globalData.showAlert(s.code,2);break}this.globalData.loading=!1})}};r.\u0275fac=function(t){return new(t||r)(a(c),a(g),a(m))},r.\u0275prov=n({token:r,factory:r.\u0275fac,providedIn:"root"});let l=r;return l})();export{F as a};

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.