[
MAINHACK
]
Mail Test
BC
Config Scan
HOME
Create...
New File
New Folder
Viewing / Editing File: 5723.js
"use strict";(self.webpackChunk=self.webpackChunk||[]).push([[5723],{5723:(e,t,o)=>{o.r(t),o.d(t,{default:()=>y});var r=o(9726),s={class:"w-full max-w-3xl mx-auto rounded-2xl flex overflow-hidden gap-y-6 bg-white shadow-card mb-24 sm:mb-0"},n=["src"],i={class:"text-center relative mb-8"},a={class:"capitalize text-2xl mb-2 font-bold text-primary"},l={key:0,class:"bg-red-100 border border-red-400 text-red-700 px-4 py-3 mb-5 rounded relative",role:"alert"},c={class:"block sm:inline"},d={class:"mb-6"},p={class:"text-sm font-medium capitalize mb-1 field-title required"},m={key:0,class:"db-field-alert"},u={class:"block mt-3 text-center text-sm font-medium"},h={type:"submit",class:"font-bold text-center w-full h-12 leading-12 rounded-full bg-primary text-white mb-6"};var f=o(1811),g=o(9856),b=o(8536);const v={name:"ForgotPasswordVerifyComponent",components:{LoadingComponent:f.A},data:function(){return{loading:{isActive:!1},props:{form:{email:"",phone:"",token:"",country_code:""}},APP_URL:b.A.API_URL,errors:"",message:null}},mounted:function(){this.phoneOrEmailChecking()},methods:{phoneOrEmailChecking:function(){this.loading.isActive=!0;var e=this.$store.getters.phone,t=this.$store.getters.email;Object.keys(e).length>0&&""!==e.otp.phone?(this.props.form.phone=e.otp.phone,this.props.form.country_code=e.otp.country_code,this.props.form.email="",this.loading.isActive=!1):Object.keys(t).length>0&&""!==e.otp.email?(this.props.form.email=e.otp.email,this.props.form.phone="",this.props.form.country_code="",this.loading.isActive=!1):this.$router.push({name:"auth.login"}),this.loading.isActive=!1},resendCodeToPhone:function(){var e=this;try{this.loading.isActive=!0,this.$store.dispatch("otpPhone",this.props.form).then(function(t){e.loading.isActive=!1,e.errors="",g.A.success(t.data.message,"bottom-center")}).catch(function(t){e.loading.isActive=!1,e.errors=t.response.data.message})}catch(e){this.loading.isActive=!1,g.A.error(e)}},resendCodeToEmail:function(){var e=this;try{this.loading.isActive=!0,this.$store.dispatch("otpEmail",this.props.form).then(function(t){e.loading.isActive=!1,e.errors="",g.A.success(t.data.message,"bottom-center")}).catch(function(t){e.loading.isActive=!1,e.errors=t.response.data.message})}catch(e){this.loading.isActive=!1,g.A.error(e)}},save:function(){var e=this;try{this.loading.isActive=!0,""!==this.props.form.country_code&&""!==this.props.form.phone?this.$store.dispatch("forgotPasswordVerifyPhone",this.props.form).then(function(t){e.loading.isActive=!1,g.A.success(t.data.message,"bottom-center"),e.props.form={email:"",phone:"",token:"",country_code:""},e.errors="",e.$router.push({name:"auth.resetPassword"})}).catch(function(t){e.loading.isActive=!1,e.errors=t.response.data.message}):this.$store.dispatch("forgotPasswordVerifyEmail",this.props.form).then(function(t){e.loading.isActive=!1,g.A.success(t.data.message,"bottom-center"),e.props.form={email:"",phone:"",token:"",country_code:""},e.errors="",e.$router.push({name:"auth.resetPassword"})}).catch(function(t){e.loading.isActive=!1,e.errors=t.response.data.message})}catch(e){this.loading.isActive=!1,g.A.error(e)}}}};const y=(0,o(6262).A)(v,[["render",function(e,t,o,f,g,b){var v=(0,r.resolveComponent)("LoadingComponent"),y=(0,r.resolveComponent)("router-link");return(0,r.openBlock)(),(0,r.createElementBlock)(r.Fragment,null,[(0,r.createVNode)(v,{props:g.loading},null,8,["props"]),(0,r.createElementVNode)("div",s,[(0,r.createElementVNode)("img",{src:g.APP_URL+"/images/required/auth.jpg",alt:"banners",class:"w-full hidden sm:block sm:max-w-xs md:max-w-sm flex-shrink-0"},null,8,n),(0,r.createElementVNode)("form",{class:"w-full p-6",onSubmit:t[4]||(t[4]=(0,r.withModifiers)(function(){return b.save&&b.save.apply(b,arguments)},["prevent"]))},[(0,r.createElementVNode)("div",i,[(0,r.createVNode)(y,{to:{name:"auth.forgotPassword"},class:"absolute top-1/2 ltr:left-0 rtl:right-0 -translate-y-1/2"},{default:(0,r.withCtx)(function(){return t[5]||(t[5]=[(0,r.createElementVNode)("i",{class:"lab-line-long-arrow-left text-2xl !font-semibold text-primary"},null,-1)])}),_:1,__:[5]}),(0,r.createElementVNode)("h3",a,(0,r.toDisplayString)(e.$t("label.verification")),1),g.errors.validation?((0,r.openBlock)(),(0,r.createElementBlock)("div",l,[(0,r.createElementVNode)("span",c,(0,r.toDisplayString)(g.errors.validation),1),(0,r.createElementVNode)("span",{class:"absolute top-0 bottom-0 right-0 px-4 py-3 cursor-pointer",onClick:t[0]||(t[0]=function(){return e.close&&e.close.apply(e,arguments)})},t[6]||(t[6]=[(0,r.createElementVNode)("i",{class:"lab lab-close-circle-line margin-top-5-px"},null,-1)]))])):(0,r.createCommentVNode)("",!0)]),(0,r.createElementVNode)("div",d,[(0,r.createElementVNode)("label",p,(0,r.toDisplayString)(e.$t("label.enter_code")),1),(0,r.withDirectives)((0,r.createElementVNode)("input",{type:"text","onUpdate:modelValue":t[1]||(t[1]=function(e){return g.props.form.token=e}),class:"w-full h-12 px-4 rounded-lg text-base border border-[#D9DBE9] hover:border-primary/30 focus-within:border-primary/30 transition-all duration-500"},null,512),[[r.vModelText,g.props.form.token]]),g.errors?((0,r.openBlock)(),(0,r.createElementBlock)("small",m,(0,r.toDisplayString)(g.errors),1)):(0,r.createCommentVNode)("",!0),(0,r.createElementVNode)("small",u,[(0,r.createTextVNode)((0,r.toDisplayString)(e.$t("label.not_receive_code"))+" ",1),g.props.form.phone?((0,r.openBlock)(),(0,r.createElementBlock)("button",{key:0,onClick:t[2]||(t[2]=(0,r.withModifiers)(function(){return b.resendCodeToPhone&&b.resendCodeToPhone.apply(b,arguments)},["prevent"])),type:"button",class:"font-bold text-primary"},(0,r.toDisplayString)(e.$t("button.resend_code")),1)):((0,r.openBlock)(),(0,r.createElementBlock)("button",{key:1,onClick:t[3]||(t[3]=(0,r.withModifiers)(function(){return b.resendCodeToEmail&&b.resendCodeToEmail.apply(b,arguments)},["prevent"])),type:"button",class:"font-bold text-primary"},(0,r.toDisplayString)(e.$t("button.resend_code")),1))])]),(0,r.createElementVNode)("button",h,(0,r.toDisplayString)(e.$t("button.verify")),1),(0,r.createVNode)(y,{class:"block text-center font-bold text-primary",to:{name:"auth.login"}},{default:(0,r.withCtx)(function(){return[(0,r.createTextVNode)((0,r.toDisplayString)(e.$t("label.back_to_sign_in")),1)]}),_:1})],32)])],64)}]])}}]);
Save Changes
Cancel / Back
Close ×
Server Info
Hostname: premium320.web-hosting.com
Server IP: 66.29.153.54
PHP Version: 8.2.29
Server Software: LiteSpeed
System: Linux premium320.web-hosting.com 4.18.0-553.50.1.lve.el8.x86_64 #1 SMP Thu Apr 17 19:10:24 UTC 2025 x86_64
HDD Total: 97.87 GB
HDD Free: 76.87 GB
Domains on IP: N/A (Requires external lookup)
System Features
Safe Mode:
Off
disable_functions:
None
allow_url_fopen:
On
allow_url_include:
Off
magic_quotes_gpc:
Off
register_globals:
Off
open_basedir:
None
cURL:
Enabled
ZipArchive:
Enabled
MySQLi:
Enabled
PDO:
Enabled
wget:
Yes
curl (cmd):
Yes
perl:
Yes
python:
Yes (py3)
gcc:
Yes
pkexec:
No
git:
Yes
User Info
Username: aoneqssk
User ID (UID): 1285
Group ID (GID): 1290
Script Owner UID: 1285
Current Dir Owner: 1285