PageSourceSearch

https://www.aiara.ch/build/assets/ForgotPassword-BAEvnNR_.js

js aiara.ch collected 2026-10-01 10:38:54 UTC 1,944 bytes, 1 lines download raw bytes

1import{j as f,c as p,w as u,a as t,t as s,u as e,o as r,b as d,d as m,h as b,k as g,v as h,f as _,l as x,e as y}from"./app-BVorPlIM.js";import{G as w}from"./GuestLayout-XL50yqsz.js";import{u as k}from"./useTranslations-Y5761FWH.js";/* empty css            */import"./_plugin-vue_export-helper-DlAUqK2U.js";const v={class:"text-xl font-semibold text-gray-900 mb-2"},V={class:"text-sm text-gray-600 mb-6"},B={key:0,class:"mb-4 rounded-md border border-green-300 bg-green-50 p-4"},N={class:"text-sm text-green-700"},T={for:"email",class:"block text-sm font-medium text-gray-700"},C={key:0,class:"mt-1 text-sm text-red-600"},D=["disabled"],F={class:"mt-4 text-center text-sm text-gray-600"},E={__name:"ForgotPassword",setup(G){const{t:a}=k(),o=f({email:""}),n=()=>{o.post("/forgot-password")};return(l,i)=>(r(),p(w,null,{default:u(()=>[t("h2",v,s(e(a)("auth.forgot.title")),1),t("p",V,s(e(a)("auth.forgot.description")),1),l.$page.props.flash?.success?(r(),d("div",B,[t("p",N,s(l.$page.props.flash.success),1)])):m("",!0),t("form",{onSubmit:b(n,["prevent"]),class:"space-y-4"},[t("div",null,[t("label",T,s(e(a)("auth.forgot.email")),1),g(t("input",{id:"email","onUpdate:modelValue":i[0]||(i[0]=c=>e(o).email=c),type:"email",required:"",autofocus:"",class:"mt-1 block w-full rounded-md border border-gray-300 px-3 py-2 shadow-sm focus:border-blue-500 focus:ring-blue-500 sm:text-sm"},null,512),[[h,e(o).email]]),e(o).errors.email?(r(),d("p",C,s(e(o).errors.email),1)):m("",!0)]),t("button",{type:"submit",disabled:e(o).processing,class:"w-full rounded-md bg-blue-600 px-4 py-2 text-sm font-semibold text-white shadow-sm hover:bg-blue-500 focus:outline-2 focus:outline-offset-2 focus:outline-blue-600 disabled:opacity-50"},s(e(a)("auth.forgot.submit")),9,D)],32),t("p",F,[_(e(x),{href:"/login",class:"font-medium text-blue-600 hover:text-blue-500"},{default:u(()=>[y(s(e(a)("auth.forgot.back_to_login")),1)]),_:1})])]),_:1}))}};export{E as default};

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.