(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-2d0c0e6f"],{4481:function(e,t,r){"use strict";r.r(t);var a=r("f2bf");const l={class:"mt-2 relative flex justify-center min-h-screen items-center"},o={class:"w-420 flex flex-col bg-white p-8 rounded-lg shadow border"},c={class:"head mb-10"},i={class:"font-bold text-2xl text-start mb-2"},s={class:"text-textHeaderColor text-start"},n={class:"mb-6"},d=["placeholder"],m={class:"flex flex-col items-center space-y-3"},b=["disabled"],u={class:"flex items-center justify-center gap-x-2 mt-4"};function p(e,t,r,p,j,f){const O=Object(a["resolveComponent"])("FieldWrapper"),h=Object(a["resolveComponent"])("router-link");return Object(a["openBlock"])(),Object(a["createElementBlock"])("div",l,[Object(a["createElementVNode"])("div",o,[Object(a["createElementVNode"])("div",c,[Object(a["createElementVNode"])("h1",i,Object(a["toDisplayString"])(e.$t("forgot.title")),1),Object(a["createElementVNode"])("p",s,Object(a["toDisplayString"])(e.$t("forgot.subtitle")),1)]),Object(a["createElementVNode"])("div",n,[Object(a["createVNode"])(O,{label:"auth.email",name:"email",errors:e.v$.email.$errors},{default:Object(a["withCtx"])(()=>[Object(a["withDirectives"])(Object(a["createElementVNode"])("input",{name:"email",type:"email",class:Object(a["normalizeClass"])([{error:e.v$.email.$error},"focus:shadow"]),"onUpdate:modelValue":t[0]||(t[0]=t=>e.email=t),placeholder:e.$t("auth.email_placeholder"),onBlur:t[1]||(t[1]=(...t)=>e.v$.email.$touch&&e.v$.email.$touch(...t))},null,42,d),[[a["vModelText"],e.email]])]),_:1},8,["errors"])]),Object(a["createElementVNode"])("div",m,[Object(a["createElementVNode"])("button",{class:"primary w-355 h-11",onClick:t[2]||(t[2]=(...t)=>e.register&&e.register(...t)),disabled:e.v$.email.invalid},Object(a["toDisplayString"])(e.$t("account.submit")),9,b)]),Object(a["createElementVNode"])("div",u,[Object(a["createElementVNode"])("div",null,Object(a["toDisplayString"])(e.$t("forgot.account")),1),Object(a["createVNode"])(h,{to:"/auth",class:"block text-primary font-bold hover:underline text-left"},{default:Object(a["withCtx"])(()=>[Object(a["createTextVNode"])(Object(a["toDisplayString"])(e.$t("forgot.login")),1)]),_:1})])])])}r("14d9");var j=r("25a0"),f=r("5502"),O=r("633c"),h=r("28dc"),v=Object(a["defineComponent"])({name:"Forgot",setup:()=>{const e=Object(f["b"])();return e.commit("setVuelidateExternalResults",{}),{v$:Object(j["a"])({$externalResults:Object(a["reactive"])(e.state.vuelidateExternalResults),$autoDirty:!0})}},data:function(){return{email:"",isError:!1,errorMessage:""}},validations:function(){return{email:{required:O["f"],email:O["a"]}}},components:{FieldWrapper:h["a"]},methods:{register:async function(){const e=await this.v$.email.$validate();e&&(this.$store.dispatch("forgot",this.email),this.$router.push("/ForgotPasswordSuccess"))}}}),x=r("d959"),$=r.n(x);const g=$()(v,[["render",p]]);t["default"]=g}}]); //# sourceMappingURL=chunk-2d0c0e6f.63fa2a17.js.map