PageSourceSearch

https://volumo.com/_next/static/chunks/pages/profile/change-password-58bfcef6a6814a74.js

js volumo.com collected 2026-09-25 18:42:01 UTC 4,082 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2456],{12703:(e,s,r)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/profile/change-password",function(){return r(49495)}])},32081:e=>{e.exports={copyButton:"CopyTextInputBase_copyButton__GOcjn",copied:"CopyTextInputBase_copied__rqVVo"}},49495:(e,s,r)=>{"use strict";r.r(s),r.d(s,{default:()=>y});var a=r(80263),o=r(5781),t=r(94386),n=r(97930),l=r(64011),d=r(77665),i=r(136),u=r(61528),c=r(78852),p=r(13463),w=r(84001),x=r(53239),m=r(82762),h=r(50005),j=r(42173),P=r(51143),f=r(54923),C=r(7060),g=r(59486);let v=()=>{let{t:e}=(0,p.c3)(),s=(0,x.useRef)(null),r=(0,x.useRef)(null),C=(0,P.lZ)(),v=(0,x.useCallback)(e=>{let{oldPassword:a,newPassword:o}=e;r.current?.focus(),C.mutate({oldPassword:a,newPassword:o},{onSuccess:()=>s.current?.resetForm()})},[C,s.current]),y=e("Change password"),b=(0,x.useMemo)(()=>({title:y}),[y]),_=(0,f.UV)(e),S=(0,x.useMemo)(()=>[_.Root,_.UserProfile,{text:y}],[_,y]);return(0,a.jsxs)(g.u,{topLine:(0,a.jsx)(h.I,{pageName:"changePassword",values:S}),children:[(0,a.jsx)(j.t,{fields:b,microdata:(0,u.Oq)(S),pageName:"changePassword"}),C.isSuccess&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(c.K,{mt:1}),(0,a.jsx)(i.p,{type:"success",children:e("Your password has been successfully changed.")}),(0,a.jsx)(c.K,{mt:3})]}),(0,a.jsx)(w.l1,{enableReinitialize:!0,initialStatus:(0,l.iE)(C.error),initialValues:{oldPassword:"",newPassword:""},innerRef:s,validationSchema:m.Ik().shape({oldPassword:m.Yj().required(e("Required")),newPassword:m.Yj().test(...o.m2).test(...o.Ed).required(e("Required"))}),onSubmit:v,children:s=>{let{errors:o,handleChange:l,handleBlur:i,status:u,touched:p,values:x}=s;return(0,a.jsxs)(w.lV,{children:[(0,a.jsxs)(n.f6,{alignItems:"flex-start",children:[(0,a.jsx)(d.y,{autoComplete:"current-password",error:p.oldPassword&&(o.oldPassword||u?.oldPassword),id:"oldPassword",label:e("Old password"),name:"oldPassword",required:!0,value:x.oldPassword,onBlur:i,onChange:l}),(0,a.jsx)(d.y,{autoComplete:"new-password",error:p.newPassword&&(o.newPassword||u?.newPassword),id:"newPassword",label:e("New password"),name:"newPassword",required:!0,value:x.newPassword,onBlur:i,onChange:l})]}),(0,a.jsx)(c.K,{mt:4}),(0,a.jsx)(n.W3,{children:(0,a.jsx)(t.$,{disabled:!x.newPassword||!x.oldPassword,innerRef:r,loading:C.isPending,type:"submit",children:e("Save changes")})})]})}})]})};v.getConfig=()=>({isAuthenticationRequired:!0}),v.renderInLayout=C.P;let y=v},67921:(e,s,r)=>{"use strict";r.d(s,{W:()=>w});var a=r(80263),o=r(92839),t=r(31322),n=r(36316),l=r(13463),d=r(27129),i=r(3638),u=r(53239),c=r(32081),p=r.n(c);let w=e=>{let{canCopy:s=!0,copiedDelay:r=3e3,postfix:c,...w}=e,{t:x}=(0,l.c3)(),[m,h]=(0,u.useState)(!1),j=(0,u.useRef)(),P=(0,u.useCallback)(()=>{void 0!==w.value&&((0,d.lW)(`${w.value}`),h(!0),clearTimeout(j.current),j.current=setTimeout(()=>h(!1),r))},[w.value]);return(0,a.jsx)(n.l,{readOnly:!0,...w,postfix:(0,a.jsxs)(a.Fragment,{children:[c,s&&(0,a.jsx)(t.n,{className:(0,i.A)(p().copyButton,m&&p().copied),iconComponent:o.bzS,onClick:P,children:x(m?"Copied!":"Copy")})]}),validationState:m?"success":w.validationState})}},77665:(e,s,r)=>{"use strict";r.d(s,{y:()=>c});var a=r(80263),o=r(67921),t=r(904),n=r(53239);let l=e=>{let{className:s,error:r,footnote:n,inputContainerClassName:l,label:d,labelOption:i,mini:u,required:c,reserveErrorSpace:p,tooltip:w,...x}=e;return(0,a.jsx)(t.v,{className:s,disabled:x.disabled,error:r,footnote:n,forId:x.id,label:d,labelOption:i,mini:u,required:c,reserveErrorSpace:p,tooltip:w,children:(0,a.jsx)(o.W,{className:l,validationState:r?"error":"normal",...x})})};var d=r(92839),i=r(31322);let u=e=>{let{onClick:s}=e;return(0,a.jsx)(i.n,{"aria-label":"Toggle password visibility",iconComponent:d.r9M,onClick:s})},c=e=>{let[s,r]=(0,n.useState)(!1);return(0,a.jsx)(l,{readOnly:!1,...e,canCopy:e.canCopy??!1,postfix:(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(u,{onClick:()=>r(e=>!e)}),e.postfix]}),type:s?"text":"password"})}}},e=>{e.O(0,[4001,7236,2762,8288,5720,7874,4802,5599,7095,1488,636,6593,8792],()=>e(e.s=12703)),_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.