1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[742],{1023:function(e,t,n){"use strict";var s=n(4836);t.Z=void 0;var r=s(n(4938)),i=n(5893),a=(0,r.default)((0,i.jsx)("path",{d:"M20 11H7.83l5.59-5.59L12 4l-8 8 8 8 1.41-1.41L7.83 13H20v-2z"}),"ArrowBack");t.Z=a},4938:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return s.createSvgIcon}});var s=n(8075)},4288:function(e,t,n){"use strict";n.d(t,{Z:function(){return y}});var s=n(3366),r=n(7462),i=n(7294),a=n(6010),o=n(8320),c=n(4867),l=n(4780),u=n(9628),d=n(3264),m=n(6500),h=n(5893);const f=["className","component","disableGutters","fixed","maxWidth","classes"],x=(0,m.Z)(),p=(0,d.Z)("div",{name:"MuiContainer",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[`maxWidth${(0,o.Z)(String(n.maxWidth))}`],n.fixed&&t.fixed,n.disableGutters&&t.disableGutters]}}),v=e=>(0,u.Z)({props:e,name:"MuiContainer",defaultTheme:x});var g=n(6622),Z=n(1719),b=n(8884);const w=function(e={}){const{createStyledComponent:t=p,useThemeProps:n=v,componentName:u="MuiContainer"}=e,d=t((({theme:e,ownerState:t})=>(0,r.Z)({width:"100%",marginLeft:"auto",boxSizing:"border-box",marginRight:"auto",display:"block"},!t.disableGutters&&{paddingLeft:e.spacing(2),paddingRight:e.spacing(2),[e.breakpoints.up("sm")]:{paddingLeft:e.spacing(3),paddingRight:e.spacing(3)}})),(({theme:e,ownerState:t})=>t.fixed&&Object.keys(e.breakpoints.values).reduce(((t,n)=>{const s=n,r=e.breakpoints.values[s];return 0!==r&&(t[e.breakpoints.up(s)]={maxWidth:`${r}${e.breakpoints.unit}`}),t}),{})),(({theme:e,ownerState:t})=>(0,r.Z)({},"xs"===t.maxWidth&&{[e.breakpoints.up("xs")]:{maxWidth:Math.max(e.breakpoints.values.xs,444)}},t.maxWidth&&"xs"!==t.maxWidth&&{[e.breakpoints.up(t.maxWidth)]:{maxWidth:`${e.breakpoints.values[t.maxWidth]}${e.breakpoints.unit}`}}))),m=i.forwardRef((function(e,t){const i=n(e),{className:m,component:x="div",disableGutters:p=!1,fixed:v=!1,maxWidth:g="lg"}=i,Z=(0,s.Z)(i,f),b=(0,r.Z)({},i,{component:x,disableGutters:p,fixed:v,maxWidth:g}),w=((e,t)=>{const{classes:n,fixed:s,disableGutters:r,maxWidth:i}=e,a={root:["root",i&&`maxWidth${(0,o.Z)(String(i))}`,s&&"fixed",r&&"disableGutters"]};return(0,l.Z)(a,(e=>(0,c.Z)(t,e)),n)})(b,u);return(0,h.jsx)(d,(0,r.Z)({as:x,ownerState:b,className:(0,a.Z)(w.root,m),ref:t},Z))}));return m}({createStyledComponent:(0,Z.ZP)("div",{name:"MuiContainer",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[`maxWidth${(0,g.Z)(String(n.maxWidth))}`],n.fixed&&t.fixed,n.disableGutters&&t.disableGutters]}}),useThemeProps:e=>(0,b.Z)({props:e,name:"MuiContainer"})});var y=w},8075:function(e,t,n){"use strict";n.r(t),n.d(t,{capitalize:function(){return r.Z},createChainedFunction:function(){return i},createSvgIcon:function(){return a.Z},debounce:function(){return o.Z},deprecatedPropType:function(){return c},isMuiElement:function(){return l.Z},ownerDocument:function(){return u.Z},ownerWindow:function(){return d.Z},requirePropFactory:function(){return m},setRef:function(){return h},unstable_ClassNameGenerator:function(){return w},unstable_useEnhancedEffect:function(){return f.Z},unstable_useId:function(){return x.Z},unsupportedProp:function(){return p},useControlled:function(){return v.Z},useEventCallback:function(){return g.Z},useForkRef:function(){return Z.Z},useIsFocusVisible:function(){return b.Z}});var s=n(7078),r=n(6622),i=n(9064).Z,a=n(8175),o=n(5400);var c=function(e,t){return()=>null},l=n(7335),u=n(7505),d=n(7577);n(7462);var m=function(e,t){return()=>null},h=n(7960).Z,f=n(3289),x=n(9669);var p=function(e,t,n,s,r){return null},v=n(4591),g=n(6432),Z=n(4771),b=n(1625);const w={configure:e=>{console.warn(["MUI: `ClassNameGenerator` import from `@mui/material/utils` is outdated and might cause unexpected issues.","","You should use `import { unstable_ClassNameGenerator } from '@mui/material/className'` instead","","The detail of the issue: https://github.com/mui/material-ui/issues/30011#issuecomment-1024993401","","The updated documentation: https://mui.com/guides/classname-generator/"].join("\n")),s.Z.configure(e)}}},9669:function(e,t,n){"use strict";var s=n(7579);t.Z=s.Z},2036:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/forgot-password",function(){return n(7706)}])},8153:function(e,t,n){"use strict";n.d(t,{Z:function(){return r}});var s="/_next/static/media/white-smile.e3603455.svg",r=(0,n(1719).ZP)("div")((function(){return{display:"flex",flexDirection:"column",flex:"1 1 auto",minHeight:"100%",background:"url(".concat(s,") calc(100% + 50px) calc(100% + 20px) no-repeat, linear-gradient(black, black)")}}))},2187:function(e,t){"use strict";t.Z=function(e){console.log("Error text: ",JSON.stringify(e));var t=e;switch("string"!==typeof e&&(e=JSON.stringify(e)),!0){case e.includes("Invalid userId"):return"User not found. Please double-check the email for typos or use a different email.";case e.includes("Invalid credentials"):return"Login failed: Email or password is incorrect. Please verify your login details or reset your password if necessary.";case e.includes("Invalid password: Password must be at least 8 characters"):return"Password too short: It must be at least 8 characters. A strong password helps protect your account.";case e.includes("no available seats"):return"Please add seats to invite more members.";case e.includes("has been exceeded"):return"Request limit exceeded. Please wait 1 hour before retrying. This helps us manage traffic and maintain service quality.";case e.includes("has already been invited"):return"This email is already in use. To add a new user, please use a different email address.";case e.includes("session is prohibited when a session is active."):return"Already logged in! Redirecting...";default:return void 0!==(null===t||void 0===t?void 0:t.message)?t.message:e}}},2469:function(e,t,n){"use strict";var s=n(5893),r=n(1953),i=n(9630);t.Z=function(){return(0,s.jsx)(r.Z,{sx:{p:3,display:"flex",maxHeight:"6.75rem",alignItems:"flex-start",alignContent:"center",flexDirection:"column",justifyContent:"flex-end"},children:(0,s.jsx)(i.Z,{color:"neutral.300",variant:"copyright",children:"\xa9 Copyright"})})}}
1,7453:function(e,t,n){"use strict";var s=n(5893),r=n(1953),i=n(5084),a=n(1664),o=n.n(a),c=n(6788);t.Z=function(){return(0,s.jsx)(r.Z,{children:(0,s.jsxs)(r.Z,{sx:{display:"flex",justifyContent:"space-between",alignItems:"center",p:3},style:{padding:0,textAlign:"left",margin:"36px 23px"},children:[(0,s.jsx)(r.Z,{sx:{flexShrink:0},className:"maxi-login-logo",children:(0,s.jsx)(o(),{href:"/",passHref:!0,children:(0,s.jsx)("a",{children:(0,s.jsx)(c.T,{sx:{height:42,width:42}})})})}),(0,s.jsx)(r.Z,{children:(0,s.jsx)(i.Z,{variant:"contained",className:"maxi-return-button",onClick:function(){window.location.replace("https://maxiblocks.com")},children:"Return to MaxiBlocks.com"})})]})})}},6788:function(e,t,n){"use strict";n.d(t,{T:function(){return l}});var s=n(9534),r=n(7297),i=n(5893),a=n(5697),o=n.n(a);function c(){var e=(0,r.Z)([""]);return c=function(){return e},e}var l=(0,n(1719).ZP)((function(e){e.variant,(0,s.Z)(e,["variant"]);return(0,i.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 281.4 68.3",fill:"#fff",children:(0,i.jsx)("path",{d:"M93.781 38.065h-.29l-6.278-15.31h-7.401v24.727h5.819V32.209h.206l5.94 15.117h3.719l5.941-15.032h.205v15.188h5.819V22.755h-7.401zm32.425-7.746c-.741-.527-1.61-.93-2.608-1.207s-2.089-.416-3.272-.416c-1.658 0-3.077.256-4.256.767s-2.105 1.211-2.777 2.101a6.44 6.44 0 0 0-1.249 3.024l5.445.193a2.23 2.23 0 0 1 .905-1.4c.474-.338 1.103-.507 1.884-.507.724 0 1.3.169 1.727.507s.64.817.64 1.437v.06c0 .378-.147.67-.44.875s-.763.362-1.407.471l-2.547.308a14.67 14.67 0 0 0-2.656.465c-.828.229-1.562.566-2.198 1.009s-1.135 1.019-1.497 1.727-.543 1.577-.543 2.607c0 1.224.264 2.24.791 3.049a4.81 4.81 0 0 0 2.161 1.812c.914.398 1.962.597 3.145.597.861 0 1.636-.108 2.324-.325s1.288-.543 1.799-.978.932-.966 1.262-1.594h.145v2.584h5.554V34.877c0-.982-.203-1.855-.609-2.62s-.98-1.411-1.721-1.938zM122.68 40.89a2.78 2.78 0 0 1-.459 1.588 3.17 3.17 0 0 1-1.226 1.068c-.511.258-1.085.386-1.721.386-.676 0-1.233-.16-1.672-.482s-.658
1-.789-.658-1.4c0-.402.103-.751.308-1.045s.503-.533.893-.718.863-.322 1.419-.411l.857-.133.869-.169.779-.205c.237-.072.44-.153.61-.241v1.763zm27.666-11.953h-5.951l-3.164 6.109-3.055-6.109h-5.988l5.119 9.272-5.385 9.272h5.988l3.32-6.157 3.405 6.157h5.903l-5.372-9.272zm3.724 0h5.904v18.545h-5.904zm2.958-7.8c-.829 0-1.541.276-2.137.827s-.894 1.213-.894 1.986c0 .781.298 1.447.894 1.998a3.05 3.05 0 0 0 2.149.827c.829 0 1.539-.276 2.131-.827s.888-1.213.888-1.986a2.63 2.63 0 0 0-.888-1.998 3.03 3.03 0 0 0-2.144-.827zm24.595 14.283a6.05 6.05 0 0 0-2.772-.809v-.242c.91-.193 1.711-.531 2.403-1.014a5.19 5.19 0 0 0 1.63-1.829c.394-.736.592-1.576.592-2.518 0-1.239-.316-2.33-.948-3.272s-1.573-1.674-2.825-2.197-2.803-.785-4.654-.785h-10.311v24.727h11.097c1.827 0 3.38-.3 4.66-.899s2.258-1.421 2.934-2.463 1.015-2.227 1.015-3.556c0-1.191-.258-2.224-.773-3.097s-1.198-1.556-2.047-2.047zm-10.909-7.92h3.405c.998 0 1.791.238 2.379.712s.881 1.127.881 1.956c0 .58-.143 1.075-.429 1.485s-.682.724-1.19.941-1.086.326-1.738.326h-3.309V27.5zm6.563 14.428c-.616.491-1.571.736-2.867.736h-3.695v-5.892h3.804c.765 0 1.421.127 1.968.38s.97.612 1.268 1.075.447 1.012.447 1.648c0 .878-.308 1.561-.924 2.053zm11.058-19.173h5.904v24.727h-5.904zm24.341 7.142c-1.397-.801-3.068-1.202-5.017-1.202s-3.62.401-5.017 1.202-2.471 1.919-3.224 3.356-1.129 3.108-1.129 5.017c0 1.899.376 3.567 1.129 5.005a8.15 8.15 0 0 0 3.224 3.356c1.397.8 3.068 1.201 5.017 1.201s3.62-.401 5.017-1.201a8.15 8.15 0 0 0 3.224-3.356c.753-1.437 1.129-3.105 1.129-5.005 0-1.908-.376-3.58-1.129-5.017a8.14 8.14 0 0 0-3.224-3.356zm-2.053 11.017c-.262.773-.638 1.377-1.129 1.812s-1.091.652-1.799.652c-.732 0-1.351-.218-1.853-.652s-.885-1.038-1.147-1.812-.393-1.666-.393-2.68c0-1.03.131-1.932.393-2.705s.644-1.376 1.147-1.811 1.121-.652 1.853-.652c.708 0 1.309.217 1.799.652s.867 1.038 1.129 1.811.393 1.674.393 2.705c0 1.014-.131 1.907-.393 2.68zm17.386-7.154c.515-.382 1.115-.573 1.799-.573.846 0 1.531.27 2.059.809s.848 1.284.96 2.233h5.518c-.04-1.52-.42-2.847-1.141-3.977s-1.719-2.006-2.994-2.626-2.772-.93-4.485-.93c-1.94 0-3.608.403-5.005 1.207a8.19 8.19 0 0 0-3.224 3.363c-.753 1.437-1.129 3.105-1.129 5.004 0 1.892.374 3.556 1.123 4.992s1.821 2.558 3.218 3.362 3.072 1.208 5.028 1.208c1.738 0 3.242-.316 4.51-.948s2.254-1.519 2.958-2.662 1.085-2.48 1.141-4.009h-5.518c-.072.652-.245 1.206-.519 1.66s-.622.799-1.045 1.032-.907.351-1.455.351c-.684 0-1.284-.191-1.799-.573s-.916-.95-1.201-1.703-.429-1.676-.429-2.77.143-2.015.429-2.759.687-1.308 1.201-1.691zm32.461-4.823h-6.689l-5.216 6.641h-.266V22.755h-5.904v24.727h5.904v-5.566l1.195-1.447 4.419 7.014h6.822l-6.851-10.462zm18.424 9.345c-.906-.821-2.284-1.408-4.136-1.763l-3.574-.676c-.78-.161-1.321-.374-1.624-.64s-.448-.58-.44-.941c-.008-.467.228-.837.706-1.111s1.06-.411 1.745-.411c.523 0 .984.086 1.383.26s.722.41.972.712.402.645.459 1.032l5.421-.145c-.153-1.835-.954-3.278-2.402-4.329s-3.43-1.576-5.94-1.576c-1.675 0-3.127.234-4.359.701s-2.181 1.141-2.849 2.022-.998 1.942-.99 3.182c-.008 1.416.442 2.581 1.353 3.496s2.294 1.539 4.153 1.877l3.235.616c.772.145 1.34.344 1.702.598s.548.589.556 1.008c-.008.467-.249.841-.725 1.123s-1.091.423-1.847.423c-.838 0-1.525-.178-2.065-.531s-.873-.87-1.002-1.546l-5.831.145c.217 1.836 1.088 3.299 2.613 4.39s3.612 1.636 6.261 1.636c1.658 0 3.131-.26 4.419-.779s2.304-1.249 3.049-2.191 1.121-2.048 1.129-3.32c-.008-1.352-.465-2.439-1.37-3.26zM62.526 33.996l-.442.295-4.779 3.749 2.984-11.597.204-.793 1.177-4.574a2.52 2.52 0 0 0-1.301-2.869c-1.04-.528-2.336-.253-3.085.656l-.906 1.111-.346.425-10.817 13.266 2.924-12.656a2.5 2.5 0 0 0-1.172-2.723 2.52 2.52 0 0 0-2.964.304L23.494 37.23l-.894.812c-.013-.041-.01-.087-.013-.13l-.112.112c-.207-1.147-.316-2.327-.316-3.533 0-8.929 5.801-16.491 13.834-19.158l-2.39-4.219c-9.467 3.546-16.207 12.673-16.207 23.378a24.84 24.84 0 0 0 3.152 12.139l.256-.191 3.318-2.989.106-.097 1.149-1.044L41.44 27.714l-3.548 15.353c-.261 1.15.295 2.312 1.346 2.82 1.06.522 2.317.244 3.057-.672l11.667-14.307-3.336 12.976a2.51 2.51 0 0 0 3.98 2.624l6.241-4.834-.008.021.07-.069.447-.346.05-.039c-.087.267-.206.515-.317.768-2.984 7.428-10.241 12.678-18.735 12.678-4.349 0-8.367-1.388-11.664-3.727l-2.74 3.178-.393.45a24.84 24.84 0 0 0 14.797 4.861c13.625 0 24.692-10.919 24.948-24.482-.389-2.362-2.705-2.258-4.775-.972z"})})}))(c());l.defaultProps={variant:"primary"},l.propTypes={variant:o().oneOf(["light","primary"])}},7706:function(e,t,n){"use strict";n.r(t);var s=n(5893),r=n(9008),i=n.n(r),a=n(7294),o=n(2175),c=n(4231),l=n(1953),u=n(4288),d=n(9630),m=n(5084),h=n(72),f=n(4129),x=n(2187),p=n(8153),v=n(7453),g=n(2469),Z=n(1664),b=n.n(Z),w=n(1023);t.default=function(){var e=(0,a.useState)(!1),t=e[0],n=e[1],r=(0,a.useState)(""),Z=r[0],y=r[1],j=(0,a.useState)(!1),k=j[0],S=j[1],_=(0,a.useState)(""),P=_[0],C=_[1],W=((0,f.mb)("/plugin-welcome"),(0,f.mb)("/login")),z=window.location.search,N=(0,o.TA)({initialValues:{email:(0,f.Eu)()},validationSchema:c.Ry({email:c.Z_().email("Must be a valid email").max(255).required("Email is required")}),onSubmit:function(){var e=N.values.email;(0,f.U_)().account.createRecovery(e,"https://my.maxiblocks.com/restore-password".concat(z)).then((function(e){n(!1),S(!0),C("Password reset email sent successfully. Please check your inbox and follow the instructions to reset your password.")}),(function(e){console.log(e),n(!0),S(!1),y((0,x.Z)(e))}))}});return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(i(),{children:(0,s.jsx)("title",{children:"Forgot Password | Account MaxiBlocks"})}),(0,s.jsxs)(p.Z,{children:[(0,s.jsx)(v.Z,{}),(0,s.jsx)(l.Z,{component:"main",sx:{alignItems:"center",display:"flex",flexGrow:1,minHeight:"100%"},children:(0,s.jsx)(u.Z,{sx:{maxWidth:"1339px",padding:"118px 24px"},className:"my_maxi-login-password-container",children:(0,s.jsx)(l.Z,{sx:{maxWidth:"428px",mx:"auto"},children:(0,s.jsxs)("form",{onSubmit:N.handleSubmit,children:[(0,s.jsxs)(l.Z,{sx:{mt:2},children:[(0,s.jsx)(d.Z,{color:"textPrimary",variant:"h4",children:"Forgot password?"}),(0,s.jsx)(d.Z,{color:"textSecondary",gutterBottom:!0,variant:"body2",children:"Enter your email to reset your password"})]}),(0,s.jsx)(b(),{href:W,passHref:!0,children:(0,s.jsx)(m.Z,{component:"a",startIcon:(0,s.jsx)(w.Z,{fontSize:"small"}),className:"maxi-magic-button",children:"Log in with login and password?"})}),(0,s.jsx)(h.Z,{error:Boolean(N.touched.email&&N.errors.email),fullWidth:!0,helperText:N.touched.email&&N.errors.email,label:"Email Address",margin:"normal",name:"email",onBlur:N.handleBlur,onChange:N.handleChange,type:"email",value:N.values.email,variant:"outlined"}),(0,s.jsxs)(l.Z,{sx:{py:2},children:[(0,s.jsx)(m.Z,{color:"primary",fullWidth:!0,size:"large",type:"submit",variant:"contained",children:"Send reset email"}),t&&(0,s.jsx)("div",{className:"maxi-form-error",children:Z}),k&&(0,s.jsx)("div",{className:"maxi-form-success",children:P})]})]})})})}),(0,s.jsx)(g.Z,{})]})]})}}
1,4836:function(e){e.exports=function(e){return e&&e.__esModule?e:{default:e}},e.exports.__esModule=!0,e.exports.default=e.exports}},function(e){e.O(0,[753,267,92,62,72,774,888,179],(function(){return t=2036,e(e.s=t);var t}));var t=e.O();_N_E=t}]);
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.