1 2!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="c8c80ac3-1bae-57f7-b7b6-28b7230a2f98")}catch(e){}}(); 3import{w as l,a as u,j as s,F as c}from"./chunk-QUQL4437-CJXycNTY.js";import{G as f}from"./error-boundary-CCkyvRQZ.js";import{F as i,E as w}from"./forms-ejSQlPK6.js";import{S as h}from"./status-button-C0vNXoYD.js";import{a as P}from"./misc-jJvMYqbi.js";import{a as x}from"./user-validation-BC4bXJbb.js";import{u as g,g as j,a as d}from"./helpers-CWbNWmMV.js";import{g as y}from"./constraint-BDfher0_.js";import{p as E}from"./parse-ax2mdThB.js";import"./debug-build-C1pjhJTN.js";import"./index-jaHsZeeW.js";import"./index-D50Hb_2H.js";import"./index-BzT3SWb1.js";import"./dom-yVVhpYva.js";import"./button-BHbKnYDA.js";import"./icon-Ceu-AvHt.js";import"./tooltip-ChURs2UP.js";import"./types-CJcq2oeB.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{};e.SENTRY_RELEASE={id:"8473afd804b66dba6a23f317908dc35d1535e90d"}}catch{}})();const W={getSitemapEntries:()=>null},n=x,Y=()=>[{title:"Reset Password | Epic Notes"}],_=l(function({loaderData:t,actionData:m}){const a=P(),[o,r]=g({id:"reset-password",constraint:y(n),lastResult:m?.result,onValidate({formData:p}){return E(p,{schema:n})},shouldRevalidate:"onBlur"});return s.jsxs("div",{className:"container flex flex-col justify-center pt-20 pb-32",children:[s.jsxs("div",{className:"text-center",children:[s.jsx("h1",{className:"text-h1",children:"Password Reset"}),s.jsxs("p",{className:"text-body-md text-muted-foreground mt-3",children:["Hi, ",t.resetPasswordUsername,". No worries. It happens all the time."]})]}),s.jsx("div",{className:"mx-auto mt-16 max-w-sm min-w-full sm:min-w-[368px]",children:s.jsxs(c,{method:"POST",...j(o),children:[s.jsx(i,{labelProps:{htmlFor:r.password.id,children:"New Password"},inputProps:{...d(r.password,{type:"password"}),autoComplete:"new-password",autoFocus:!0},errors:r.password.errors}),s.jsx(i,{labelProps:{htmlFor:r.confirmPassword.id,children:"Confirm Password"},inputProps:{...d(r.confirmPassword,{type:"password"}),autoComplete:"new-password"},errors:r.confirmPassword.errors}),s.jsx(w,{errors:o.errors,id:o.errorId}),s.jsx(h,{className:"w-full",status:a?"pending":o.status??"idle",type:"submit",disabled:a,children:"Reset password"})]})})]})}),k=u(function(){return s.jsx(f,{})});export{k as ErrorBoundary,_ as default,W as handle,Y as meta}; 4 5//# debugId=c8c80ac3-1bae-57f7-b7b6-28b7230a2f98
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.