PageSourceSearch

https://ramblefix.com/chunk-2YFPE7YB.js

js ramblefix.com collected 2026-10-04 05:02:12 UTC 5,030 bytes, 1 lines download raw bytes

1import{a as W}from"./chunk-U64ONAGY.js";import{a as G,b as x,c as R,d as V,g as D,h as B,i as q,o as I,q as j}from"./chunk-6HD6EQFO.js";import{l as F}from"./chunk-5JWU52HN.js";import"./chunk-EVIZIQ5V.js";import"./chunk-X7NRWKZT.js";import"./chunk-OZQXZYN5.js";import{F as P}from"./chunk-HMSTZCTR.js";import{A as L,F as M,a as E,b as k,ia as N,j as A,ja as T,k as z}from"./chunk-ISVXNFVV.js";import{Bb as h,Eb as y,Fb as c,Nb as r,Ob as S,Sa as n,W as f,_b as w,ab as _,ca as v,da as C,fb as p,ob as l,ra as g,rb as b,sb as u,xb as i,yb as o,zb as m}from"./chunk-6TFHNCXV.js";import"./chunk-DAQOROHW.js";var J=e=>({"border-red-500 focus:border-red-500":e});function K(e,s){if(e&1&&(i(0,"div",12)(1,"div",17),m(2,"lucide-icon",18),i(3,"span"),r(4,"We sent you an email with a link to reset your password."),o()(),i(5,"div",19)(6,"p",20),r(7,"If you don't see the email, check your spam folder."),o()()()),e&2){let t=c();n(2),l("img",t.CheckCircle)("size",16)}}function O(e,s){if(e&1&&(i(0,"div",24),m(1,"lucide-icon",18),i(2,"span"),r(3,"Valid email is required"),o()()),e&2){let t=c(2);n(),l("img",t.AlertCircle)("size",14)}}function Q(e,s){if(e&1&&(i(0,"div",25),m(1,"lucide-icon",28),i(2,"span"),r(3),o()()),e&2){let t=c(2);n(),l("img",t.AlertCircle)("size",16),n(2),S(t.error())}}function U(e,s){if(e&1&&(i(0,"div",29),m(1,"lucide-icon",16),o(),i(2,"span"),r(3,"Sending..."),o()),e&2){let t=c(2);n(),l("img",t.Loader2)("size",16)}}function X(e,s){if(e&1&&(i(0,"span"),r(1,"Send reset link"),o(),m(2,"lucide-icon",16)),e&2){let t=c(2);n(2),l("img",t.ArrowRight)("size",16)}}function Y(e,s){if(e&1){let t=h();i(0,"form",21),y("ngSubmit",function(){v(t);let a=c();return C(a.onSubmit())}),i(1,"div")(2,"label",22),r(3,"Email Address"),o(),m(4,"input",23),p(5,O,4,2,"div",24),o(),p(6,Q,4,3,"div",25),i(7,"div",26)(8,"button",27),p(9,U,4,2)(10,X,3,2),o()()()}if(e&2){let t,d,a=c();l("formGroup",a.form),n(4),b(w(7,J,((t=a.form.get("email"))==null?null:t.invalid)&&((t=a.form.get("email"))==null?null:t.touched))
1),n(),u((d=a.form.get("email"))!=null&&d.invalid&&((d=a.form.get("email"))!=null&&d.touched)?5:-1),n(),u(a.error()?6:-1),n(2),l("disabled",a.form.invalid||a.form.disabled),n(),u(a.form.disabled?9:10)}}var H=class e{appState=f(F);formBuilder=f(I);error=g(void 0);submitted=g(!1);Mail=M;ArrowRight=k;ArrowLeft=E;AlertCircle=A;Loader2=L;CheckCircle=z;form=this.formBuilder.group({email:["",[x.required,x.email]]});async onSubmit(){if(!(this.form.disabled||this.form.invalid)){this.form.disable(),this.error.set(void 0);try{await this.appState.forgotPasswordRequest(this.form.value.email),this.submitted.set(!0)}catch{this.form.enable(),this.error.set("Failed to send reset email. Please try again later.")}}}static \u0275fac=function(t){return new(t||e)};static \u0275cmp=_({type:e,selectors:[["app-forgot-password-page"]],decls:22,vars:6,consts:[[1,"bg-background","min-h-screen","p-3","pb-30","lg:p-10"],["aria-hidden","true",1,"fixed","inset-0","bg-background"],[1,"relative","max-w-[500px]","mx-auto"],[1,"mb-6","text-center"],[1,"text-2xl","font-bold","tracking-tight","text-foreground","mb-2"],[1,"text-muted-foreground","text-sm"],["variant","none",1,"flex-col",3,"light"],[1,"card-header"],[1,"flex","items-center"],[1,"text-muted-foreground","mr-2",3,"img","size"],[1,"card-title"],[1,"p-6"],[1,"space-y-4"],[1,"space-y-6",3,"formGroup"],[1,"mt-6","text-center"],["routerLink","/login",1,"inline-flex","items-center","justify-center","gap-1","text-sm","text-foreground","hover:text-muted-foreground","transition-colors","font-medium","underline"],[3,"img","size"],[1,"flex","items-center","gap-2","p-3","rounded-lg","text-sm","bg-emerald-500/10","text-emerald-400","border","border-emerald-500/30"],[1,"flex-shrink-0",3,"img","size"],[1,"text-sm","text-muted-foreground","text-center"],[1,"mb-2"],[1,"space-y-6",3,"ngSubmit","formGroup"],["for","email",1,"field-label","mb-2"],["type","email","id","email","formControlName","email","placeholder","Enter your email address",1,"input-field"],[1,"flex","items-center","gap-2","mt-2","text-sm","text-red-400"],[1,"flex","items-center","gap-2","p-3","rounded-lg","text-sm","bg-destructive/10","text-red-400","border","border-destructive/30"],[1,"pt-2"],["type","submit",1,"btn-primary","w-full",3,"disabled"],[1,"text-red-400","flex-shrink-0",3,"img","size"],[1,"animate-spin","mr-2"]],template:function(t,d){t&1&&(i(0,"div",0),m(1,"div",1),i(2,"div",2)(3,"div",3)(4,"h1",4),r(5,"Forgot your password?"),o(),i(6,"p",5),r(7,"Enter your email and we'll send you a reset link"),o()(),i(8,"a
1pp-card",6)(9,"div",7)(10,"div",8),m(11,"lucide-icon",9),i(12,"h2",10),r(13,"Reset Password"),o()()(),i(14,"div",11),p(15,K,8,2,"div",12)(16,Y,11,9,"form",13),o()(),i(17,"div",14)(18,"a",15),m(19,"lucide-icon",16),i(20,"span"),r(21,"Back to login"),o()()()()()),t&2&&(n(8),l("light",!1),n(3),l("img",d.Mail)("size",14),n(4),u(d.submitted()?15:16),n(4),l("img",d.ArrowLeft)("size",14))},dependencies:[j,D,G,R,V,B,q,P,T,N,W],encapsulation:2})};export{H as ForgotPasswordPageComponent};

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.