<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["fgtpwd"],{"30d0":function(t,e,a){},"3f8f":function(t,e,a){"use strict";a("30d0")},"8b80":function(t,e,a){"use strict";a.r(e);var n=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("Popup",{attrs:{width:t.width,margin:t.margin,radiusType:t.radiusType,closePopupEvent:t.closePopup}},[t.isCaptchaEnabledForgotPassword?a("div",{staticClass:"forgot-password",attrs:{slot:"component"},slot:"component"},[t.confirmation?t._e():a("p",{staticClass:"forgot-password-title"},[t._v(" "+t._s(t.$t("Please verify Captcha to change password"))+" ")]),a("br"),t.resendLink?a("div",{staticClass:"login-form-resendLink"},[a("p",{staticClass:"login-form-resendLink-text"},[t._v(" "+t._s(t.resendLink)+" "),a("span",{on:{click:t.handleResendLink}},[t._v(t._s(t.resendText))])])]):t._e(),a("br"),t.captchaImage&amp;&amp;t.appConfig.featureEnabled.isCaptchaEnabled?a("div",[a("label",{staticClass:"login-label",staticStyle:{color:"white",fontWeight:"bold"}},[t._v(t._s(t.$t("Please enter the numbers you see in the image")))]),t.captchaImage?a("div",{staticClass:"captcha-image",style:{backgroundImage:"url("+t.captchaImage+")","background-repeat":"no-repeat","background-color":"white",width:"150px"}}):t._e()]):t._e(),t.appConfig.featureEnabled.isCaptchaEnabled?a("div",[a("button",{staticClass:"button-link color-primary-hover",attrs:{type:"button"},on:{click:t.getAnotherCaptcha}},[t._v(" "+t._s(t.$t("Click to refresh if you can not read"))+" ")])]):t._e(),t.appConfig.featureEnabled.isCaptchaEnabled?a("JhakaasInput",{attrs:{inputType:"text",label:""+this.$t("Enter captcha"),inputId:"captcha",reference:"captcha",helperText:t.formError,dir:"ara"===t.localDisplayLang?"rtl":"ltr",autocomplete:"false",required:"",value:t.enteredCaptcha},on:{keydown:function(e){if(!e.type.indexOf("key")&amp;&amp;t._k(e.keyCode,"space",32,e.key,[" ","Spacebar"]))return null;e.preventDefault()},onChange:function(e){return t.enteredCaptcha=e}}}):t._e(),a("button",{staticClass:"button-primary submit",attrs:{type:"button"},on:{click:t.verifyCaptchaForgotPassword}},[t._v(" "+t._s(t.$t("verify"))+" ")])],1):a("div",{staticClass:"forgot-password",attrs:{slot:"component"},slot:"component"},[t.confirmation?a("p",{staticClass:"forgot-password-title"},[t._v(t._s(t.$t("forgot password")))]):a("p",{staticClass:"forgot-password-title"},[t._v(" "+t._s(t.$t("Please enter the OTP"))+" ")]),a("form",{staticClass:"forgot-password-form",on:{submit:function(e){return e.preventDefault(),t.forgotPasswordConfirmation(e)}}},[a("div",{staticClass:"form-group"},[a("br"),a("JhakaasInput",{attrs:{inputType:"text",label:t.i18nEmailIdLabel+" / "+t.i18nMobilenumberLabel,inputId:"userinput",reference:"userinput",helperText:"",autocomplete:"false",required:"",value:t.userInput,disabled:""},on:{onChange:function(e){return t.userinput=e}}}),a("div",{staticClass:"form-control"},[a("label",{staticStyle:{color:"#adadad"},attrs:{for:"password"}},[t._v(t._s(t.$t("OTP")))]),a("div",{staticClass:"pin-inputs",attrs:{id:"pininputs",dir:"ltr"}},t._l(6,(function(e,n){return a("input",{directives:[{name:"model",rawName:"v-model",value:t.userPin[e-1],expression:"userPin[item - 1]"}],key:n,staticClass:"pin",attrs:{type:"text",maxlength:"1",autocomplete:"off"},domProps:{value:t.userPin[e-1]},on:{input:[function(a){a.target.composing||t.$set(t.userPin,e-1,a.target.value)},t.grabPin]}})})),0)]),a("JhakaasInput",{attrs:{inputType:"password",label:t.$t("enter new password"),inputId:"newPassword",reference:"newPassword",helperText:t.formError,autocomplete:"false",required:"",value:t.newPassword},on:{onChange:function(e){return t.newPassword=e}},scopedSlots:t._u([{key:"endIcon",fn:function(){return[a("span",{staticClass:"eye"},[a("img",{staticStyle:{width:"20px"},attrs:{src:t.eyeopen,alt:""},on:{click:function(e){return t.toggleEye(e)}}})])]},proxy:!0}])})],1),a("button",{staticClass:"button-primary submit",attrs:{type:"submit"}},[t._v(" "+t._s(t.$t("submit"))+" ")])])])])},o=[],s=a("5530"),r=(a("159b"),a("d3b7"),a("3ca3"),a("ddb0"),a("e5cf")),i=a("0c12"),l=a("1ee7"),p=a("2f62"),u={props:{closePopup:{type:Function},input:{type:String},inputtype:{type:String}},data:function(){return{i18nEmailIdLabel:"",i18nMobilenumberLabel:"",enternewPasswordPlaceholder:"",width:"32%",margin:"",radiusType:"full",loader:!1,userInput:null,otp:null,newPassword:null,formError:null,confirmation:!1,activeTitle:"",userPin:[],profilePin:"",eyeopen:a("7364"),eyeClose:a("30ef"),providerUniqueId:l["f"],localDisplayLang:null,captchaImage:null,enteredCaptcha:null,captchaReferenceId:null,resendLink:null,isCaptchaEnabledForgotPassword:!0,resendText:this.$t("Resend Link")}},computed:Object(s["a"])({},Object(p["c"])(["getRtl","appConfig"])),watch:{formError:function(t){var e=this;t&amp;&amp;setTimeout((function(){e.formError=null}),5e3)}},created:function(){var t=this;this.localDisplayLang=localStorage.getItem("setDisplayLanguageCode"),this.isCaptchaEnabledForgotPassword=this.appConfig.featureEnabled.isCaptchaEnabled,i["a"].$on("check-local-storage",(function(e){t.localDisplayLang=e})),screen.width&lt;576?(this.margin="35% auto",this.width="85%"):(this.margin="10% auto",this.width="32%")},mounted:function(){var t=this,e=document.getElementsByTagName("meta");document.title="Forgot Password: Ultra Play";for(var a=0;a&lt;e.length;a++)"description"==e[a].getAttribute("name")&amp;&amp;e[a].setAttribute("content","Please enter your valid registered email address or mobile number to initiate forgot password request at Ultra Play website."),"keyword"==e[a].getAttribute("name")&amp;&amp;e[a].setAttribute("content","Ultra Play account registration, register your account,"),"og:title"==e[a].getAttribute("property")&amp;&amp;e[a].setAttribute("content","Forgot Password: Ultra Play"),"twitter:title"==e[a].getAttribute("name")&amp;&amp;e[a].setAttribute("content","Forgot Password: Ultra Play");this.i18nEmailIdLabel=this.$t("email id"),this.i18nMobilenumberLabel=this.$t("mobilenumber"),this.enternewPasswordPlaceholder=this.$t("enter new password"),this.isCaptchaEnabledForgotPassword?this.getCaptchaDetails():(setTimeout((function(){t.setupForm()}),100),this.setupPin()),i["a"].$on("forgotPasswordConfirmation-response",(function(e){e.reason?t.formError=t.$t(e.reason):e.reason||(console.log("forgot-password-success",e),t.triggerSnackbarEvent(),t.triggerAuthPopup(),t.closePopup())})),i["a"].$on("forgotpassword-response",(function(e){console.log("THE RESPONSE HAS COME --- &gt; ",e),e.reason?6110===e.errorcode?t.resendLink=e.reason:t.formError=e.reason:(i["a"].$emit("auth-close"),t.triggerSnackbarEventNew(),t.isCaptchaEnabledForgotPassword=!1,setTimeout((function(){t.setupForm()}),100),t.setupPin())}))},methods:Object(s["a"])(Object(s["a"])({},Object(p["b"])(["getCaptcha"])),{},{getCaptchaDetails:function(){var t=this;this.getCaptcha().then((function(e){e.reason?t.formError=t.$t(e.reason):(t.captchaImage=e.payload,t.captchaReferenceId=e.referenceid)}))},triggerSnackbarEventNew:function(){var t={state:!0,message:"Email"===this.inputtype?"OTP has been sent to your mail id":"OTP has been sent your mobile number",color:"#ff9600"};i["a"].$emit("snackBarMessage",t)},verifyCaptchaForgotPassword:function(){if(this.validateCaptcha()){var t={};"Email"===this.inputtype?t.email=this.input:t.mobileno=this.input,this.appConfig.featureEnabled.isCaptchaEnabled&amp;&amp;this.validateCaptcha()&amp;&amp;(t.captcha=JSON.stringify({text:this.enteredCaptcha,referenceid:this.captchaReferenceId})),i["a"].$emit("forgotPasswordRequest",t)}else this.formError=this.$t("Please enter the Captcha")},getAnotherCaptcha:function(){this.getCaptchaDetails()},setupForm:function(){this.input&amp;&amp;(this.userInput=this.input,console.log(this.userInput))},setupPin:function(){var t=this;setTimeout((function(){t.getId=document.getElementById("pininputs"),t.pinFunctionality(t.getId)}),1e3)},grabPin:function(){if(this.userPin.length&gt;3){var t="";this.userPin.forEach((function(e){t+=e})),this.profilePin=t}},forgotPasswordConfirmation:function(){if(this.validateEmailOrMobile(this.userInput)&amp;&amp;this.validatePassword(this.newPassword)){var t={};"Email"===this.inputtype?t.email=this.userInput:t.mobileno=this.userInput,t.otp=this.profilePin,t.password=this.newPassword,console.log("THE CONTROL REACHED HERE -- &gt; Forgot password submit!",t),i["a"].$emit("forgotPasswordConfirmation",t)}},validateCaptcha:function(){return console.log("THE CAPTCHA ENTERED -&gt; ",this.enteredCaptcha),!!this.enteredCaptcha||(this.formError=this.$t("Please Enter the given Captcha"),!1)},verifyOtp:function(t){return!t||t.length&lt;6},handleResendLink:function(){var t={state:!0,input:"Email"===this.inputtype?"email":"mobile",formType:"verifyResendCaptcha"};"Email"===this.inputtype?t.email=this.input:t.mobileno=this.input,i["a"].$emit("close-forgot-password-popup"),i["a"].$emit("authPopup",t)},triggerSnackbarEvent:function(){var t={state:!0,message:"New Password has been updated.",color:"green"};i["a"].$emit("snackBarMessage",t)},triggerAuthPopup:function(){var t={state:!0,formType:"lookup",inputtype:this.inputtype};i["a"].$emit("authPopup",t)}}),beforeDestroy:function(){i["a"].$off("forgotpassword-response"),i["a"].$off("forgotPasswordConfirmation-response")},components:{Popup:function(){return a.e("Popup").then(a.bind(null,"a8ba"))},JhakaasInput:function(){return a.e("chunk-2d22464b").then(a.bind(null,"0336"))}},mixins:[r["a"]]},c=u,d=(a("3f8f"),a("0c7c")),h=Object(d["a"])(c,n,o,!1,null,null,null);e["default"]=h.exports}}]);
//# sourceMappingURL=fgtpwd.ebeb838f.js.map</pre></body></html>