PageSourceSearch

https://www.ipas.org.sg/_next/static/chunks/pages/updatePassword/[memberId]-fbeffa62dee9c0e3.js

js ipas.org.sg collected 2026-10-06 10:48:02 UTC 3,865 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2032],{6755:()=>{},20220:(e,s,a)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/updatePassword/[memberId]",function(){return a(22757)}])},22757:(e,s,a)=>{"use strict";a.r(s),a.d(s,{default:()=>d});var l=a(37876),t=a(73355);a(14232),a(6755);let d=e=>(0,l.jsx)("div",{children:(0,l.jsx)(t.A,{})})},25047:(e,s,a)=>{"use strict";a.d(s,{A:()=>t});var l=a(37876);a(14232),a(28068);let t=()=>(0,l.jsx)("div",{className:"loader-section",children:(0,l.jsxs)("section",{className:"dots-container",children:[(0,l.jsx)("div",{className:"dot"}),(0,l.jsx)("div",{className:"dot"}),(0,l.jsx)("div",{className:"dot"}),(0,l.jsx)("div",{className:"dot"}),(0,l.jsx)("div",{className:"dot"})]})})},28068:()=>{},47532:(e,s,a)=>{"use strict";a.d(s,{J:()=>r,p:()=>d});var l=a(90913),t=a(61707);let d={name:"User Form",initialState:{emailAddress:""},section:[{title:"User Information Section",row:{},style:{sectionStyle:"mb-3 reset-form login-form"},fields:[{id:"emailAddress",label:"Email Address",Field_Name:"Email Address",fieldType:l.Q.INPUT,dataField:"emailAddress",fieldSetting:{placeholder:"Please Enter User Name",allowSpace:!0,textareaRows:4,isDisable:!1},validation:[{type:t.h.REQUIRE}],style:{containerCss:"col-lg-12 col-md-12 validation-left-0 "}}]}]},r={name:"User Form",initialState:{password:"",confirmPassword:""},section:[{title:"User Information Section",row:{},style:{sectionStyle:"row mb-3 login-form"},fields:[{id:"password",label:"Password",Field_Name:"Password",fieldType:l.Q.PASSWORD,dataField:"password",fieldSetting:{placeholder:"Please Enter Password",allowSpace:!0,textareaRows:4},validation:[{type:t.h.REQUIRE}],style:{containerCss:"col-lg-12 col-md-12 validation-left-0 "}},{id:"confirmPassword",label:"Confirm Password",Field_Name:"Confirm Password",fieldType:l.Q.PASSWORD,dataField:"confirmPassword",fieldSetting:{placeholder:"Please Enter Password",allowSpace:!0,textareaRows:4},validation:[{type:t.h.REQUIRE}],style:{containerCss:"col-lg-12 col-md-12 validation-left-0 "}}]}]}},73355:(e,s,a)=>{"use strict";a.d(s,{A:()=>w});var l=a(37876),t=a(14232),d=a(47532),r=a(89099),o=a(9734),i=a(27704),n=a(48845);a(25047);var c=a(85958),m=a(72497);let w=e=>{let s=(0,r.useRouter)(),{params:a}=s.query,w=(0,t.useRef)(),[u,p]=(0,t.useState)(d.J),{error:f,success:h}=(0,c.A)(),[P,{isLoading:v,isSuccess:x,data:N}]=(0,n.iS)();return(0,t.useEffect)(()=>{!v&&x&&N&&(h("Your password has been changed successfully. Use your new password to log in."),s.push("/"))},[v,x,N]),(0,l.jsx)("div",{className:"container resetPasswordForm",children:(0,l.jsx)("div",{className:"row d-flex justify-content-center",children:(0,l.jsxs)("div",{className:"col-lg-6 resetPasswordCard py-4 my-5",children:[(0,l.jsx)("h1",{className:"text-center",children:"Update Password"}),(0,l.jsx)("h6",{className:"text-center",children:"Enter new password to retrieve your account"}),(0,l.jsx)("hr",{}),(0,l.jsxs)("div",{className:"p-4",children:[(0,l.jsx)("p",{class:"lead",children:"Password must be at least 6 alphanumeric characters and contain at least one uppercase, one special character such as @#$%"}),(0,l.jsx)(o.A,{ref:w,config:u}),(0,l.jsx)("div",{className:"col-lg-12 mt-3",children:(0,l.jsx)(i.A,{buttonTypeClassName:"btn success-btn",buttonText:"Reset Your Password",onClick:()=>{var e;let s=null==(e=w.current)?void 0:e.getFormData();s&&((null==s?void 0:s.password)===(null==s?void 0:s.confirmPassword)?"member"===a[0]?P({IPASMemberId:(0,m.E9)(a[1]),Password:s.password||null,EmailAddress:null,AdminId:0,RoleId:0}):"committee"===a[0]&&P({IPASMemberId:0,Password:s.password||null,EmailAddress:(0,m.E9)(a[3]),AdminId:(0,m.E9)(a[1]),RoleId:(0,m.E9)(a[2]),Name:(0,m.E9)(a[4])}):f("The passwords do not match. Please try again.",""))},isLoading:v})})]})]})})})}}},e=>{e.O(0,[1321,1148,636,6593,8792],()=>e(e.s=20220)),_N_E=e.O()}]);

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.