PageSourceSearch

https://antenne-wiesbaden.de/assets/ForgotPassword-DB7IvSFq.js

js antenne-wiesbaden.de collected 2026-10-08 00:08:41 UTC 1,635 bytes, 1 lines download raw bytes

1import{h as s,l as e,z as c,L as d,m as h}from"./index-BGrBqgX3.js";import{B as p}from"./button-XeUhVBlA.js";import{I as f}from"./index-BBgxKv9W.js";import{L as x}from"./label-CVeynv0S.js";import{A as j}from"./AuthLayout-DNQPuLJK.js";import{M as o}from"./mail-BBwNyJpy.js";import{A as y}from"./arrow-left-lu-JzwZ9.js";function k(){const[a,i]=s.useState(""),[r,l]=s.useState(!1),[n,m]=s.useState(!1),u=async t=>{t.preventDefault(),l(!0);try{await h.auth.resetPasswordRequest(a)}catch{}finally{l(!1),m(!0)}};return e.jsx(j,{icon:o,title:"Reset password",subtitle:"We'll send you a link to reset it",footer:e.jsxs(d,{to:"/login",className:"text-primary font-medium hover:underline",children:[e.jsx(y,{className:"w-3 h-3 inline mr-1"}),"Back to log in"]}),children:n?e.jsx("p",{className:"text-sm text-foreground text-center",children:"If an account exists with that email, you'll receive a password reset link shortly."}):e.jsxs("form",{onSubmit:u,className:"space-y-4",children:[e.jsxs("div",{className:"space-y-2",children:[e.jsx(x,{htmlFor:"email",children:"Email address"}),e.jsxs("div",{className:"relative",children:[e.jsx(o,{className:"absolute left-3 top-1/2 -translate-y-1/2 w-4 h-4 text-muted-foreground","aria-hidden":"true"}),e.jsx(f,{id:"email",type:"email",autoComplete:"email",autoFocus:!0,placeholder:"[email protected]",value:a,onChange:t=>i(t.target.value),className:"pl-10 h-12",required:!0})]})]}),e.jsx(p,{type:"submit",className:"w-full h-12 font-medium",disabled:r,children:r?e.jsxs(e.Fragment,{children:[e.jsx(c,{className:"w-4 h-4 mr-2 animate-spin"}),"Sending..."]}):"Send reset link"})]})})}export{k 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.