import{L as g}from"./Logo-DiOikIGZ.js";import{T as h}from"./TextInput-UGcC5hIa.js";import{L as w}from"./LoadingButton-BqD68voa.js";import{B as b,X as x,C as o,j as L,t as k,m as t,k as s,E as l,H as y,y as m,x as v,F as V}from"./vendor-CoimUlS3.js";import{F as B}from"./FlashMessages-D1juQjH6.js";import{_ as F}from"./_plugin-vue_export-helper-DlAUqK2U.js";import"./ui-CI37mw-K.js";import"./utils-CXPYudwi.js";const H={metaInfo:{title:"Login"},components:{LoadingButton:w,Logo:g,TextInput:h,Head:x,Link:b,FlashMessages:B},props:{is_demo:Number},data(){return{form:this.$inertia.form({email:""})}},methods:{sendLink(){this.form.post(this.route("password.reset.email"))}}},N={class:"p-6 min-h-screen flex justify-center items-center light"},P={class:"w-full max-w-md"},j={class:"px-10 py-12"},C={class:"text-center font-bold text-xl"};function E(n,e,R,S,r,i){const d=o("Head"),f=o("flash-messages"),p=o("Logo"),u=o("Link"),c=o("text-input"),_=o("loading-button");return k(),L(V,null,[t(d,{title:"Reset Password"}),s("div",N,[t(f),s("div",P,[t(u,{href:n.route("home")},{default:l(()=>[t(p,{class:"block mx-auto w-full max-w-xs fill-white",height:"50"})]),_:1},8,["href"]),s("form",{class:"mt-8 bg-white dark:bg-slate-900 border border-gray-100 rounded-lg shadow-xl overflow-hidden",onSubmit:e[1]||(e[1]=y((...a)=>i.sendLink&&i.sendLink(...a),["prevent"]))},[s("div",j,[s("h2",C,m(n.$t("Reset Password")),1),e[2]||(e[2]=s("div",{class:"mx-auto mt-3 w-24 border-b"},null,-1)),t(c,{modelValue:r.form.email,"onUpdate:modelValue":e[0]||(e[0]=a=>r.form.email=a),error:r.form.errors.email,class:"mt-10",label:n.$t("Email Address"),type:"email",autofocus:"",autocapitalize:"off"},null,8,["modelValue","error","label"]),t(_,{loading:r.form.processing,class:"ml-auto btn-indigo w-full items-center justify-center mt-8",type:"submit"},{default:l(()=>[v(m(n.$t("Send Password Reset Link")),1)]),_:1},8,["loading"])])],32)])])],64)}const X=F(H,[["render",E]]);export{X as default};
