PageSourceSearch

https://mdlnext.mdlive.com/_next/static/chunks/pages/password-recovery-692a63f424510727f743.js

js mdlive.com collected 2026-10-01 13:05:40 UTC 2,971 bytes, 2 lines download raw bytes

1_N_E=(window.webpackJsonp_N_E=window.webpackJsonp_N_E||[]).push([[59],{"1cEK":function(e,t,r){(window.__NEXT_P=window.__NEXT_P||[]).push(["/password-recovery",function(){return r("8trt")}])},"8trt":function(e,t,r){"use strict";r.r(t);var n=r("vJKn"),c=r.n(n),a=r("rg98"),o=r("nKUr"),s=r("q1tI"),u=r("20a2"),i=r.n(u),d=r("dDsW"),j=r("1u41"),b=r("kriW"),l=r("bSPV"),O=r("EOSA"),p=r("LUpu"),w=r("6whX"),f=r("nw5Z"),h=r("o27V"),v=function(e){var t=e.authCode,r=Object(s.useState)(t),n=r[0],c=r[1],a=Object(s.useState)(1),u=a[0],i=a[1],d=Object(s.useState)(null),j=d[0],v=d[1],x=Object(s.useState)(null),k=x[0],E=x[1],_=Object(s.useState)(!1),y=_[0],g=_[1];return Object(o.jsxs)(O.a,{children:[1===u&&Object(o.jsx)(p.a,{headline:Object(o.jsx)(l.Heading,{align:"center",as:"h1",children:Object(o.jsx)(b.a,{id:"passwordRecovery.headline"})}),subHeadline:Object(o.jsxs)(l.Text,{pt:"sm",children:[Object(o.jsx)(b.a,{id:"passwordRecovery.".concat(n.connection),values:{connectionValue:Object(o.jsxs)("strong",{children:["(",n.connection===f.c?n.user.email:n.user.phone,")"]})}})," ",Object(o.jsx)(b.a,{id:"passwordRecovery.codeValidTime"})]}),resendCodeCta:Object(o.jsx)(b.a,{id:"accountRecovery.noAuthenticationCode"}),authCodeRes:n,onSuccess:function(e){var t=e.sso,r=e.jwt,n=e.user,c=e.redirectUrl;window.createPageLoadEvent("/password-recovery#changepassword"),i(2),v({sso:t,jwt:r,userId:n.id,token:n.token}),E(c)},onResendCode:c,trackId:"verify-youraccount-forgotpassword"}),2===u&&(null===j||void 0===j?void 0:j.token)&&Object(o.jsx)(w.a,{token:j.token,userId:j.userId,onSuccess:function(){return g(!0)}}),j&&y&&k&&Object(o.jsx)(h.a,{auth:j,redirectTo:k})]})},x=r("qx1u"),k=r("tljt"),E=r("/MBw"),_=r("KcHk"),y=function(e){var t=e.authCode,r=e.error,n=Object(E.b)().params;if(r){var c=Object(d.a)().formatMessage,a="",u=!0;switch(r.code){case"TOO_MANY_REQUESTS":u=!1,a="login.accountRecovery.failed.tooManyRequests";break;case"INVALID_PHONE":a="login.accountRecovery.failed.invalidPhoneError";break;default:a="error.unexpectedError"}return u?k.a.errorHtml(Object(o.jsx)(O.c,{message:c({id:a})})):k.a.error(c({id:a})),Object(s.useEffect)((function(){i.a.push(Object(_.b)(f.j,n))}),[]),null}return Object(o.jsx)(j.a,{title:"Password Recovery",children:t&&Object(o.jsx)(v,{authCode:t})})};y.getInitialProps=function(){var e=Object(a.a)(c.a.mark((function e(t){var r,n,a,o;return c.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!(r=t.query.token)){e.next=12;break}return e.next=4,Object(x.a)({token:r,connection:"sms"});case 4:if(n=e.sent,a=n.authCode,o=n.error,!a){e.next=9;break}return e.abrupt("return",{authCode:a});case 9:if(!o){e.next=11;break}return e.abrupt("return",{error:o});case 11:case 12:return e.abrupt("return",{});case 13:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}();t.default=y}},[["1cEK",1,2,9,12,0,3,4,5,6,7,8,10,11,13,14,17,24,28]]]);
2//# sourceMappingURL=password-recovery-692a63f424510727f743.js.map

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.