PageSourceSearch

https://cccc-mobile-portal.firebaseapp.com/chunk-TKU35VWG.js

js cccc-mobile-portal.firebaseapp.com collected 2026-10-03 14:05:22 UTC 6,100 bytes, 1 lines download raw bytes

1import{J as Q,N as J}from"./chunk-CB2ES4ID.js";import{$a as X,Ba as k,Ea as q,Ga as G,Ha as z,L as N,Ma as K,S as F,T as W,Ta as j,_ as U,ab as Y,bb as Z,d as E,e as I,ea as H,f as A,h as O,i as x,ia as L,j as C,m as D,o as B,pa as V,q as y}from"./chunk-GKK7I2HG.js";import{Da as a,Mb as b,N as m,Oa as n,Pa as s,Qa as u,Tb as P,Va as v,Wa as M,db as c,dc as _,eb as S,fb as R,fc as T,ka as i,n as h,qb as d,ra as w,rb as p,xa as f}from"./chunk-Y5LJR3O3.js";import"./chunk-Y6RRHSU5.js";import"./chunk-7KGURMOZ.js";import"./chunk-6FHAKEBC.js";import"./chunk-XCWWZPNY.js";import"./chunk-YKDYFRO7.js";import"./chunk-G3CV3VGG.js";import"./chunk-7JEWJNYV.js";import"./chunk-LZRXDEP2.js";import"./chunk-6RNTMJIT.js";import"./chunk-4U6PRYVA.js";import"./chunk-IL4VJRLA.js";import"./chunk-JWIEPCRG.js";import"./chunk-QPVVTFFW.js";import"./chunk-J6ICYO4L.js";import"./chunk-LF5XB4YN.js";import{o as g}from"./chunk-2ULHPW3F.js";function ee(o,l){o&1&&(n(0,"ion-text",14)(1,"small"),c(2),d(3,"translate"),s()()),o&2&&(i(2),S(p(3,1,"MEMBERS.AUTH.RESET_PASSWORD.PASSWORD_LENGTH")))}function te(o,l){o&1&&(n(0,"ion-text",14)(1,"small"),c(2),d(3,"translate"),s()()),o&2&&(i(2),S(p(3,1,"MEMBERS.AUTH.RESET_PASSWORD.CONFIRM_PASSWORD_REQUIRED")))}function ie(o,l){o&1&&(n(0,"ion-text",14)(1,"small"),c(2),d(3,"translate"),s()()),o&2&&(i(2),S(p(3,1,"MEMBERS.AUTH.RESET_PASSWORD.PASSWORDS_DO_NOT_MATCH")))}
1function oe(o,l){o&1&&(n(0,"div",15),u(1,"ion-spinner"),s())}function re(o,l){if(o&1&&(n(0,"div",15)(1,"ion-text",16),c(2),d(3,"translate"),s()()),o&2){let $=M();i(2),R(" ",p(3,1,"MEMBERS.AUTH.RESET_PASSWORD."+$.errorMessage)," ")}}var Re=(()=>{let l=class l{constructor(){this.isLoading=!1,this.errorMessage="",this.oobCode=null,this.auth=m(Q),this.router=m(T),this.route=m(_),this.alertController=m(K),this.translateService=m(X),this.fb=m(B),this.resetForm=this.fb.group({password:["",[E.required,E.minLength(6)]],confirmPassword:["",[E.required]]},{validators:this.passwordMatchValidator})}ngOnInit(){if(this.oobCode=this.route.snapshot.queryParamMap.get("oobCode"),!this.oobCode){let e=new URLSearchParams(window.location.search);this.oobCode=e.get("oobCode")}this.oobCode?console.log("Reset password page initialized with oobCode"):(this.errorMessage="INVALID_RESET_CODE",console.error("No oobCode found in URL parameters"))}get password(){return this.resetForm.get("password")}get confirmPassword(){return this.resetForm.get("confirmPassword")}passwordMatchValidator(e){var r,t;return((r=e.get("password"))==null?void 0:r.value)===((t=e.get("confirmPassword"))==null?void 0:t.value)?null:{passwordMismatch:!0}}get showPasswordMismatchError(){let e=this.resetForm.get("password"),r=this.resetForm.get("confirmPassword");return(e==null?void 0:e.value)&&(r==null?void 0:r.value)&&(e==null?void 0:e.touched)&&(r==null?void 0:r.touched)&&this.resetForm.hasError("passwordMismatch")}showSuccess(e){return g(this,null,function*(){let r=yield this.alertController.create({header:yield h(this.translateService.get("COMMON.HEADERS.SUCCESS")),message:yield h(this.translateService.get(e)),buttons:[yield h(this.translateService.get("COMMON.BUTTONS.OK"))]});yield r.present(),yield r.onDidDismiss()})}onSubmit(){return g(this,null,function*(){if(!(this.resetForm.invali
1d||!this.oobCode)){this.isLoading=!0,this.errorMessage="";try{yield J(this.auth,this.oobCode,this.resetForm.value.password),yield this.showSuccess("MEMBERS.AUTH.RESET_PASSWORD.SUCCESS"),yield this.router.navigate(["/members/login"])}catch(e){console.error("Password reset error:",e),e.code==="auth/invalid-action-code"?this.errorMessage="INVALID_RESET_CODE":e.code==="auth/weak-password"?this.errorMessage="WEAK_PASSWORD":this.errorMessage="ERROR"}finally{this.isLoading=!1}}})}};l.\u0275fac=function(r){return new(r||l)},l.\u0275cmp=w({type:l,selectors:[["app-reset-password"]],decls:26,vars:23,consts:[["color","dark"],["slot","start"],["defaultHref","/members/login",3,"text"],["color","primary",3,"fullscreen"],[1,"ion-padding"],[3,"ngSubmit","formGroup"],[1,"mb-6","bg-white","dark:bg-zinc-900","rounded-2xl","mt-2","py-0"],["lines","none",1,"border-b","border-zinc-200","dark:border-zinc-800"],["labelPlacement","floating","type","password","formControlName","password","required","",3,"label"],["color","danger","class","text-xs px-2",4,"ngIf"],["lines","none"],["labelPlacement","floating","type","password","formControlName","confirmPassword","required","",3,"label"],["color","secondary","expand","block","type","submit",3,"disabled"],["class","ion-text-center mt-4",4,"ngIf"],["color","danger",1,"text-xs","px-2"],[1,"ion-text-center","mt-4"],["color","danger",1,"text-white"]],template:function(r,t){r&1&&(n(0,"ion-header")(1,"ion-toolbar",0)(2,"ion-buttons",1),u(3,"ion-back-button",2),d(4,"translate"),s(),n(5,"ion-title"),c(6),d(7,"translate"),s()()(),n(8,"ion-content",3)(9,"div",4)(10,"form",5),v("ngSubmit",function(){return t.onSubmit()}),n(11,"ion-list",6)(12,"ion-item",7),u(13,"ion-input",8),d(14,"translate"),f(15,ee,4,3,"ion-text",9),s(),n(16,"ion-item",10),u(17,"ion-input",11),d(18,"translate"),f(19,te,4,3,"ion-text",9)(20,ie,4,3,"ion-text",9),s()(),n(21,"ion-button",12),c(22),d(23,"translate"),s()(),f(24,oe,2,0,"div",13)(25,re,4,3,"div",13),s()()),r&2&&(i(3),a("text",p(4,13,"COMMON.BUTTONS.BACK")),i(3),S(p(7,15,"MEMBERS.AUTH.RESET_PASSWORD.TITLE")),i(2),a("fullscreen",!0),i(2),a("formGroup",t.resetForm),i(3),a("label",p(14,17,"MEMBERS.AUTH.RESET_PASSWORD.NEW_PASSWORD")),i(2),a("ngIf",(t.password==null?null:t.password.invalid)&&(t.password==null?null:t.password.touched)),i(2),a("label",p(18,19,"MEMBERS.AUTH.RESET_PASSWORD.CONFIRM_PASSWORD")),i(2),a("ngIf",(t.confirmPassword==null?null:t.confirmPassword.invalid)&&(t.confirmPassword==null?null:t.confirmPassword.touched)),i(),a("ngIf",t.showPasswordMismatchError),i(),a("disabled",t.resetForm.invali
1d||t.isLoading),i(),R(" ",p(23,21,"MEMBERS.AUTH.RESET_PASSWORD.SAVE")," "),i(2),a("ngIf",t.isLoading),i(),a("ngIf",t.errorMessage))},dependencies:[P,b,y,O,I,A,D,x,C,Z,Y,U,H,z,G,W,F,L,j,q,k,V,N],encapsulation:2});let o=l;return o})();export{Re as ResetPasswordPage};

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.