PageSourceSearch

https://www.dynastyquant.xyz/_nuxt/Cbcm9t0m.js

js dynastyquant.xyz collected 2026-10-02 02:11:50 UTC 2,713 bytes, 1 lines download raw bytes

1import{_ as B}from"./65LfPbK7.js";import{_ as F}from"./Ca5Oxhz_.js";import{_ as N}from"./Czt5IdbS.js";import{_ as C}from"./CfukPiIa.js";import{e as S,i as E,c as i,a as e,t as u,g as o,F as g,d as n,b as r,w as m,h as I,j as R,r as d,o as p,k as U,n as H}from"./BXusZVZn.js";import{b as w}from"./PGyHAQyl.js";import{u as L}from"./DXp15Gqw.js";import{u as M}from"./3Ew5nSyt.js";import{_ as P}from"./DlAUqK2U.js";import"./DCADjnpI.js";import"./CbCDlcF3.js";const T={class:"auth-card"},Z={class:"auth-brand"},$={class:"auth-subtitle"},j={key:0,class:"auth-error"},q={class:"auth-footer"},A=S({__name:"forgot-password",setup(D){M({title:`Forgot password · ${w.name}`});const{resetPasswordForEmail:b,isLoggedIn:k}=L(),s=d(""),a=d(!1),f=d(null),_=d(!1);E(k,l=>{l&&H("/")},{immediate:!0});async function h(){if(!(!s.value||a.value)){a.value=!0,f.value=null;try{await b(s.value)}catch(l){console.warn("[auth/forgot-password] Reset request error (showing success to prevent enumeration):",l)}finally{_.value=!0,a.value=!1}}}return(l,t)=>{const c=B,v=F,x=N,y=C;return p(),i("div",T,[e("div",Z,[t[1]||(t[1]=e("span",{class:"auth-brand-mark"},[e("svg",{viewBox:"0 0 28 28","aria-hidden":"true"},[e("path",{d:"M4 4h8.8c6.4 0 10.5 3.9 10.5 10s-4.1 10-10.5 10H4V4Zm5.2 4.5v11h3.2c3.4 0 5.5-2 5.5-5.5s-2.1-5.5-5.5-5.5H9.2Z"}),e("path",{d:"M7 21 21 7",fill:"none",stroke:"currentColor","stroke-width":"1.7","stroke-linecap":"round"})])],-1)),e("strong",null,u(o(w).name),1)]),o(_)?(p(),i(g,{key:0},[t[5]||(t[5]=e("h1",null,"Check your email",-1)),e("p",$,[t[2]||(t[2]=n("If an account exists with ",-1)),e("strong",null,u(o(s)),1),t[3]||(t[3]=n(", we sent a password reset link.",-1))]),r(c,{class:"auth-submit",as:"NuxtLink",to:"/auth/login",block:""},{default:m(()=>[...t[4]||(t[4]=[n("Back to sign in",-1)])]),_:1})],64)):(p(),i(g,{key:1},[t[6]||(t[6]=e("h1",null,"Forgot password",-1)),t[7]||(t[7]=e("p",{class:"auth-subtitle"},"Enter your email and we'll send you a reset link.",-1)),e("form",{class:"auth-form",onSubmit:R(h,["prevent"])},[r(x,{label:"Email",for:"reset-email"},{default:m(()=>[r(v,{id:"reset-email",modelValue:o(s),"onUpdate:modelValue":t[0]||(t[0]=V=>U(s)?s.value=V:null),type:"email",placeholder:"[email protected]",autocomplete:"email",disabled:o(a)},null,8,["modelValue","disabled"])]),_:1}),r(c,{class:"auth-submit",type:"submit",block:"",disabled:o(a)||!o(s)},{default:m(()=>[n(u(o(a)?"Sending…":"Send reset link"),1)]),_:1},8,["disabled"]),o(f)?(p(),i("p",j,u(o(f)),1)):I("",!0)],32)],64)),e("p",q,[t[9]||(t[9]=n(" Remember your password? ",-1)),r(y,{to:"/auth/login"},{default:m(()=>[...t[8]||(t[8]=[n("Sign in",-1)])]),_:1})])])}}}),ot=P(A,[["__scopeId","data-v-605812d1"]]);export{ot 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.