PageSourceSearch

https://www.smarty.com/_next/static/chunks/pages/change-password-b94375c7bba68f0e.js

js smarty.com collected 2026-09-24 09:55:23 UTC 9,067 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[59058],{8827:e=>{e.exports={smartyModal:"smartyModal_smartyModal__ZEwn5",smartyModalLightBackground:"smartyModal_smartyModalLightBackground__TdZ6A",smartyModalCloseIcon:"smartyModal_smartyModalCloseIcon__owE8B",smartyModalIcon:"smartyModal_smartyModalIcon__omI9W",smartyModalContainer:"smartyModal_smartyModalContainer___Khri"}},11338:e=>{e.exports={changePasswordFormWrapper:"changePasswordForm_changePasswordFormWrapper__s96e1",changePasswordFormSubmitButton:"changePasswordForm_changePasswordFormSubmitButton__Ff8Ki",subtext:"changePasswordForm_subtext__sbJHG"}},28398:e=>{e.exports={avatarContainer:"accountAvatar_avatarContainer__sF7B_",circleMain:"accountAvatar_circleMain__2jI2X",circleLarge:"accountAvatar_circleLarge__taUCS",circleSmall:"accountAvatar_circleSmall__w_VkJ"}},47185:(e,t,a)=>{"use strict";a.d(t,{A:()=>c});var s=a(37876),r=a(14232),o=a(16379),i=a(51786),n=a(76507),l=a(8827),d=a.n(l);let c=({children:e,action:t,className:a="",useLightBackground:l=!1,containerClass:c="",hideCloseButton:h=!1,outerContainerAction:u=!0,isAnimating:m=!1,ariaLabelledby:g,ariaLabel:y})=>{let w=(0,n.Ay)({onEscape:t});(0,r.useEffect)(()=>(document.body.classList.add("body--smarty-modal-open"),()=>{document.body.classList.remove("body--smarty-modal-open")}),[]);
1let p=l?d().smartyModalLightBackground:"";return(0,s.jsx)(o.P.div,{className:`${d().smartyModal} ${a} ${p}`,onClick:u?t:void 0,animate:{backgroundColor:m?"rgba(0,0,0,0)":"rgba(0,0,0,0.77)"},transition:{duration:.6,ease:"easeInOut"},children:(0,s.jsxs)("div",{ref:w,className:`${d().smartyModalContainer} ${c}`,role:"dialog","aria-modal":"true","aria-labelledby":g,"aria-label":y,tabIndex:-1,onClick:e=>e.stopPropagation(),children:[!h&&(0,s.jsx)("button",{type:"button",onClick:t,className:d().smartyModalCloseIcon,"aria-label":"Close modal",children:(0,s.jsx)(i.I,{className:d().smartyModalIcon,icon:"iconXMark-24","aria-hidden":"true"})}),e]})})}},47256:(e,t,a)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/change-password",function(){return a(66610)}])},48592:(e,t,a)=>{"use strict";a.d(t,{k:()=>s,z:()=>r});let s={contactInfoSaved:"Contact info saved.",changeUsernameEmailSent:"Request to change login email address has been received. Please check your new email address to confirm the change.",switchedAccount:"Successfully switched accounts.",secretKeyRestored:"Secret key restored successfully!",secretKeyDeleted:"Secret key successfully deleted!",embeddedKeyDeleted:"Embedded key successfully deleted!",keySaved:"Key saved successfully!",keyCreated:"Key successfully created!",embeddedKeyRestored:"Embedded key restored successfully!"},r={unableToLoadPrimaryContact:"Unable to load Primary Contact",unknownErrorMessage:"\uD83D\uDE2E Whoops! Something went wrong. Please try again. If the problem persists, contact support.",formHasFieldErrors:"Please correct the errors and resubmit the form.",networkError:"Network error",unhandledFieldError:"Unhandled field error",switchAccountError:"Unable to switch accounts.",permissionsFailedToLoadError:"Some features might be temporarily unavailable. Please try refreshing the page."}},49754:(e,t,a)=>{"use strict";a.d(t,{A:()=>c});var s=a(37876),r=a(14232),o=a(75799),i=a(28398),n=a.n(i);let l=[0,1],d={c1:"",c2:""},c=({accountId:e})=>{let t=[{c1:"hsl(226, 100%, 24%)",c2:"hsl(216, 100%, 50%)"},{c1:"hsl(216, 100%, 50%)",c2:"hsl(213, 100%, 78%)"},{c1:"hsl(216, 100%, 50%)",c2:"hsl(257, 100%, 84%)"},{c1:"hsl(216, 100%, 50%)",c2:"hsl(182, 80%, 74%)"},{c1:"hsl(183, 62%, 53%)",c2:"hsl(132, 73%, 71%)"},{c1:"hsl(135, 57%, 54%)",c2:"hsl(56, 95%, 77%)"},{c1:"hsl(338, 89%, 65%)",c2:"hsl(21, 100%, 80%)"},{c1:"hsl(260, 100%, 69%)",c2:"hsl(341, 100%, 84%)"}],a=[[0,1],[2,3],[4,5],[6,7],[1,0],[3,2],[5,4],[7,6],[7,6],[3,4],[4,3],[6,7],[1,2],[2,1],[1,3],[0,3]],[i,c]=(0,r.useState)(0),[h,u]=(0,r.useState)(0),[m,g]=(0,r.useState)(0),[y,w]=(0,r.useState)(0),[p,_]=(0,r.useState)(0),[b,x]=(0,r.useState)(l),[f,S]=(0,r.useState)(0),[C,k]=(0,r.useState)(0),[v,j]=(0,r.useState)(0),[P,A]=(0,r.useState)(20);(0,r.useEffect)(()=>{(async()=>{let t=String(e),s=await (0,o.t)(t,a.length-1),r=a[s];r&&x(r),c(await (0,o.t)(t,360)),u(await (0,o.t)(t+"A",360)),g(await (0,o.t)(t+"B",360)),w(await (0,o.t)(t+"C",360)),_(await (0,o.t)(t+"D",360)),A(await (0,o.t)(t,20)+10),S(await (0,o.t)(t,1)),k(await (0,o.t)(t+"E",1)),j(await (0,o.t)(t+"F",1))})()},[e]);let N=(e=0)=>t[b[e]??0]??d;return(0,s.jsxs)("div",{className:n().avatarContainer,style:{transform:`rotate(${i}deg)`}
1,children:[(0,s.jsx)("div",{className:n().circleMain,style:{background:`linear-gradient(${h}deg, ${N(f).c1} 0%, ${N(f).c2} 100%`}}),(0,s.jsx)("div",{className:n().circleLarge,style:{background:`linear-gradient(${m}deg, ${N(C).c1} 0%, ${N(C).c2} 100%)`,left:`${P}px`}}),(0,s.jsx)("div",{className:n().circleSmall,style:{background:`linear-gradient(${y}deg, ${N(v).c1} 0%, ${N(v).c2} 100%)`,left:`${P-37}px`,transform:`rotate(${p}deg)`}})]})}},57687:(e,t,a)=>{"use strict";a.d(t,{A:()=>i});var s=a(37876),r=a(92473),o=a.n(r);let i=({tabletImage:e,tabletWidth:t,tabletHeight:a,desktopImage:r,desktopWidth:i,desktopHeight:n,title:l,subtext:d,altText:c})=>(0,s.jsxs)("div",{className:o().rightSideContainer,children:[(0,s.jsxs)("picture",{children:[(0,s.jsx)("source",{media:"1439px",srcSet:e,width:t,height:a}),(0,s.jsx)("img",{src:r,alt:c,width:i,height:n,className:o().graphic})]}),(0,s.jsxs)("div",{className:o().textContainer,children:[(0,s.jsx)("p",{className:o().titleText,children:l}),(0,s.jsx)("p",{className:o().subtextStyle,children:d})]})]})},58806:e=>{e.exports={title:"changePassword_title__i4WWj",bodyWrapper:"changePassword_bodyWrapper__ACR32",changePasswordSubtext:"changePassword_changePasswordSubtext__JofSe"}},66610:(e,t,a)=>{"use strict";a.r(t),a.d(t,{default:()=>P});var s=a(37876),r=a(82659),o=a(14232),i=a(89099),n=a(87860),l=a(15348),d=a(88992),c=a(24728),h=a(86955),u=a(8715),m=a(69457),g=a(19243),y=a(57777),w=a(53835),p=a(11827),_=a(5467),b=a(80858),x=a(11338),f=a.n(x);let S=()=>{let[e,t]=(0,o.useState)(!1),[a,r]=(0,o.useState)(""),[x,S]=(0,o.useState)(""),C=(0,i.useRouter)(),k=(0,d.mN)({mode:"onBlur"});(0,o.useEffect)(()=>{if(!C.isReady)return;let e=C.query.username,t=C.query["recovery-token"];"string"==typeof e&&"string"==typeof t&&e&&t?(r(e),S(t)):C.push("/forgot-password")},[C.isReady,C.query]);let v=async()=>{try{await m.A.sendChangePasswordEmail(a),(0,y.tP)("Change password email resent")}catch(e){(0,w.zP)(e)}},j=async e=>{let{password:s}=e;t(!0);try{if(await m.A.changeForgottenPassword(a,s,x),await m.A.authenticate(a,s),(0,b.Ze)())return;C.push("/account")}catch(e){(0,w.zP)(e)}finally{t(!1)}};return(0,s.jsxs)(u.A,{isLoading:e,children:[(0,s.jsxs)("form",{onSubmit:e=>void k.handleSubmit(j,n.Kk)(e),className:f().changePasswordFormWrapper,children:[(0,s.jsx)(l.A,{hookForm:k,name:"password",label:`New password (At least ${g.e} characters)`,isRequired:!0,attributes:{type:"password"},validationConfig:[new c.A("password",h.A.password.tooShort,n.sl)]}),(0,s.jsx)(l.A,{hookForm:k,name:"confirmPassword",label:"Confirm new password",isRequired:!0,attributes:{type:"password"},validationConfig:[new c.A("confirmPassword",h.A.confirmPassword.doesNotMatch,()=>{let{password:e,confirmPassword:t}=k.getValues();return(0,n.wG)(e,t)})]}),(0,s.jsx)(p.A,{type:"submit",className:f().changePasswordFormSubmitButton,children:"Change Password"})]}),(0,s.jsxs)("div",{children:[(0,s.jsx)("span",{className:f().subtext,children:"Didn't receive a recovery token? "}),(0,s.jsx)(_.A,{onClick:()=>{v()},children:"Resend password reset"}),(0,s.jsx)("span",{children:"."})]})]})};var C=a(66680),k=a(57687),v=a(58806),j=a.n(v);let P=()=>{let e=(0,s.jsx)(k.A,{tabletImage:"img/clay/Hero-City-Block-9-HighlightPin-tablet.webp",tabletHeight:168,tabletWidth:212,desktopImage:"img/clay/Hero-City-Block-9-HighlightPin-510.webp",desktopHeight:510,desktopWidth:404,altText:"city block",title:'Have you tried typing "password"? "pa55w0rd"?',subtext:"Didn't work? Let's fix that."});return(0,s.jsxs)(C.A,{hasSupportBar:!0,rightSideChildren:e,children:[(0,s.jsxs)(r.A,{children:[(0,s.jsx)("title",{children:"Change Password - Smarty"}),(0,s.jsx)("meta",{name:"robots",content:"noindex"})]}),(0,s.jsx)("h1",{className:j().title,children:"Change your password"}),(0,s.jsxs)("div",{className:j().bodyWrapper,children:[(0,s.jsx)(S,{}),(0,s.jsxs)("p",{className:j().changePasswordSubtext,children:["You should have received an email with a recovery token. If you didn't get it, go"," ",(0,s.jsx)(_.A,{href:"/forgot-password","aria-label":"Go to forgot password to enter your email address",children:"here"})," ","to enter your email address."]})]})]})}}
1,77328:(e,t,a)=>{e.exports=a(88022)},92473:e=>{e.exports={rightSideContainer:"rightSideContent_rightSideContainer__fDo0L",textContainer:"rightSideContent_textContainer__C6nFh",graphic:"rightSideContent_graphic__K_uDu",titleText:"rightSideContent_titleText__D_7Sj",subtextStyle:"rightSideContent_subtextStyle__rcdtF"}}},e=>{e.O(0,[66680,90636,46593,38792],()=>e(e.s=47256)),_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.