1"use strict";(self.webpackChunkuar_web=self.webpackChunkuar_web||[]).push([["4636"],{65778:function(e,n,t){t.d(n,{w:function(){return r}});var a=t(38444),i=t(96317),r=function(e){return a.Yj().email(e.formatMessage(i.D.emailPattern))}},64281:function(e,n,t){t.r(n),t.d(n,{default:function(){return P}}),t(39813),t(3504);var a=t(69736),i=t.n(a),r=t(44301),o=t.n(r),s=t(82731),l=t.n(s),d=t(59614),u=t.n(d),c=t(969),p=t.n(c),f=t(66681),h=t.n(f),m=t(134),y=t(76249),g=t(22092);t(68583),t(17482),t(66517),t(95165),t(35890),t(70489);var x=t(96540),v=t(80971),b=t(35230),j=t(67438),w=t(3279),k=t(52956),R=t(42453),A=t(34138),T=t(69606),C=t(60305),_=t(15650),N=t(4874),L=(0,t(28119).YK)({reset:{id:"auth.forgot_password.reset",defaultMessage:"Reset Password"},description:{id:"auth.forgot_password.description",defaultMessage:"Forgot your password? No problem. Enter in your email address and weâll send you a link to reset it."},linkSent:{id:"auth.forgot_password.link_sent",defaultMessage:"An email with a link to reset your {site} account password has been sent to {email}."},noReceive:{id:"auth.forgot_password.if_dont_receieve",defaultMessage:"If you do not receive an email from us in the next few minutes, please make sure you entered your address correctly and check your junk mail folder."},furtherAssistance:{id:"auth.forgot_password.further_assistance",defaultMessage:"If you need further assistance, please contact our <a>support team.</a>"},backToLogin:{id:"auth.forgot_password.back_to_log_in",defaultMessage:"Back to Log In"}}),S=t(38444),M=t(65778),E=function(e){var n=(0,M.w)(e);return S.Ik().shape({email:n})},I=(0,t(60448).n9)()(function(e){return{container:(0,m.A)({display:"flex",flexDirection:"column",marginLeft:"auto",marginRight:"auto",position:"relative",maxWidth:e.typography.pxToRem(544),paddingTop:e.typography.pxToRem(44),paddingBottom:e.typography.pxToRem(88),paddingLeft:e.typography.pxToRem(56),paddingRight:e.typography.pxToRem(56)},e.breakpoints.down("sm"),{paddingLeft:e.typography.pxToRem(16),paddingRight:e.typography.pxToRem(16)}),header:{width:"100%",display:"flex",justifyContent:"center",marginBottom:e.typography.pxToRem(44)},description:{width:"100%",display:"flex",justifyContent:"center",textAlign:"center",marginBottom:e.typography.pxToRem(32)},infoContainer:{display:"flex",flexDirection:"column",width:"100%","& > :not(:first-child)":{marginTop:e.typography.pxToRem(16)}},buttonContainer:{width:"100%",display:"flex",justifyContent:"center",marginTop:e.typography.pxToRem(32)},button:{flexBasis:e.typography.pxToRem(280),flexShrink:1,flexGrow:0},inline:{"&&":{display:"inline-flex"}},backToLogin:{"&&":{width:"100%"},display:"flex",justifyContent:"center",marginTop:e.typography.pxToRem(32)}}}),B=t(74848),D=["intl","onClickLogin"];function V(e,n){var t=i()(e);if(o()){var a=o()(e);n&&(a=a.filter(function(n){return l()(e,n).enumerable})),t.push.apply(t,a)}return t}function Y(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?V(Object(t),!0).forEach(function(n){(0,m.A)(e,n,t[n])}):u()?p()(e,u()(t)):V(Object(t)).forEach(function(n){h()(e,n,l()(t,n))})}return e}var G=Y({push:v.VC},N),P=(0,k.Ng)(function(e){return{redirectURI:(0,_.pG)(e),siteName:(0,_.Gd)(e).name}},G)((0,w.Ay)(function(e){var n=e.intl,t=e.onClickLogin,a=(0,g.A)(e,D),i=I().classes,r=(0,x.useState)(!1),o=(0,y.A)(r,2),s=o[0],l=o[1],d=(0,x.useState)(!1),u=(0,y.A)(d,2),c=u[0],p=u[1],f=(0,b.Wx)({initialValues:{email:""},enableReinitialize:!0,onSubmit:function(e){var n=e.email;l(!0),a.requestPasswordReset(n,a.redirectURI).then(function(){p(!0)}).catch(function(){p(!1)}).finally(function(){l(!1)})},validationSchema:E(n)});return(0,B.jsxs)("div",{className:i.container,children:[(0,B.jsx)(C.A,{variant:"h1",component:"h1",color:"primary",className:i.header,children:(0,B.jsx)(j.A,Y({},L.reset))}),c?(0,B.jsxs)("div",{className:i.infoContainer,children:[(0,B.jsx)(C.A,{variant:"body2",color:"primary",children:(0,B.jsx)(j.A,Y(Y({},L.linkSent),{},{values:{site:a.siteName,email:(0,B.jsx)("b",{children:f.values.email})}}))}),(0,B.jsx)(C.A,{variant:"body2",color:"primary",children:(0,B.jsx)(j.A,Y({},L.noReceive))}),(0,B.jsx)(C.A,{variant:"body2",color:"primary",children:(0,B.jsx)(j.A,Y(Y({},L.furtherAssistance),{},{values:{a:function(e){return(0,B.jsx)(T.Y,{external:!0,underline:!0,formattedValue:e,typography:"body2",component:"span",className:i.inline,href:"https://help.mapmyfitness.com/"})}}}))})]}):(0,B.jsx)("form",{onSubmit:f.handleSubmit,children:(0,B.jsxs)("div",{children:[(0,B.jsx)(C.A,{variant:"body2",color:"primary",className:i.description,children:(0,B.jsx)(j.A,Y({},L.description))}),(0,B.jsx)(A.j,{label:"Email",placeholder:"Enter Email",value:f.values.email,errorText:f.errors.email,onChange:f.handleChange}),(0,B.jsx)("div",{className:i.buttonContainer,children:(0,B.jsx)(R.A,{type:"submit",color:"primary",loading:s,disabled:s,className:i.button,children:(0,B.jsx)(j.A,Y({},L.reset))})})]})}),(0,B.jsx)("div",{className:i.backToLogin,children:(0,B.jsx)(T.Y,{href:"/auth/login",underline:!0,formattedValue:L.backToLogin,onClick:function(e){e.preventDefault(),t?t(e):a.push("/auth/login")}})})]})}))}}]);
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.