PageSourceSearch

https://cdn.businessdraft.com/build/assets/AuthPasswordForgot-B_ErLp9g.js

js businessdraft.com collected 2026-09-24 13:19:14 UTC 2,627 bytes, 2 lines download raw bytes

1import{D as p,M as c,r as g,a3 as y,b,o as w,c as x,J as o,a9 as v,aa as k,d,w as l,L as n,T as D}from"./SetupSentry-DE6y2Ajh.js";import{F as I}from"./FormButton-CCi9BtWO.js";import"./_commonjsHelpers-DKZAErUA.js";import"./_sentry-release-injection-file-DmW9TZFH.js";import"./preload-helper-nkV39p5t.js";import"./GoogleAnalytics-kF7mJAxL.js";(function(){try{var s=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},a=new s.Error().stack;a&&(s._sentryDebugIds=s._sentryDebugIds||{},s._sentryDebugIds[a]="3cdb05d7-4a65-437b-8c25-87a384351842",s._sentryDebugIdIdentifier="sentry-dbid-3cdb05d7-4a65-437b-8c25-87a384351842")}catch{}})();{var r=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};r._sentryModuleMetadata=r._sentryModuleMetadata||{},r._sentryModuleMetadata[new r.Error().stack]=Object.assign({},r._sentryModuleMetadata[new r.Error().stack],{"_sentryBundlerPluginAppKey:business-draft-crm":!0})}const B={class:"mt-1"},E={class:"-mx-4 mt-12 -mb-8 flex items-center justify-between rounded-b-lg bg-slate-50 px-4 py-6 text-sm font-medium text-slate-800 sm:-mx-10 sm:px-6"},V={__name:"AuthPasswordForgot",setup(s){const a=p(),i=c(),t=g({email:"",loading:!1}),f=()=>{t.loading||(t.loading=!0,a.forgotPassword(t.email).then(()=>{toast.success("Password reset link sent to your email address."),i.push({path:"/login"})}).finally(()=>t.loading=!1))};return y(i),(L,e)=>{const u=b("RouterLink");return w(),x("div",null,[o("form",{class:"space-y-6",onSubmit:e[1]||(e[1]=D(m=>f(),["prevent"]))},[o("div",null,[e[2]||(e[2]=o("label",{for:"email",class:"block text-sm font-medium text-gray-700"}," Email address ",-1)),o("div",B,[v(o("input",{"onUpdate:modelValue":e[0]||(e[0]=m=>t.email=m),id:"email",name:"email",type:"email",autocomplete:"email",required:"",inputmode:"email",class:"appearance-none block w-full px-3 py-2 border border-gray-300 rounded-md shadow-sm placeholder-gray-400 focus:outline-none focus:ring-cerulean-500 focus:border-cerulean-500 sm:text-sm"},null,512),[[k,t.email]])])]),d(I,{size:"full",color:"gradient",type:"submit",loading:t.loading},{default:l(()=>e[3]||(e[3]=[n("Send Reset Link")])),_:1},8,["loading"])],32),o("div",E,[o("span",null,[e[6]||(e[6]=n(" You can also ")),d(u,{to:"/login",class:"text-primary-600 hover:text-primary-700 hover:underline"},{default:l(()=>e[4]||(e[4]=[n("Log In")])),_:1}),e[7]||(e[7]=n(" or ")),d(u,{to:"/create-account",class:"text-primary-600 hover:text-primary-700 hover:underline"},{default:l(()=>e[5]||(e[5]=[n("Sign Up")])),_:1})])])])}}};export{V as default};
2//# sourceMappingURL=AuthPasswordForgot-B_ErLp9g.js.map

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.