1"use strict";(self.webpackChunksmart_test=self.webpackChunksmart_test||[]).push([[489],{300855:(e,t,o)=>{o.d(t,{A:()=>s});var r=o(525371),n=o(244414);function s(e){let{children:t,type:o="scale",onClick:s=null}=e;const i={scale:{whileHover:{scale:1.05},whileTap:{scale:.9}},slide:{whileHover:{x:10},whileTap:{x:5}},rotate:{whileHover:{rotate:10},whileTap:{rotate:0}}},a=i[o]||i.scale;return(0,n.jsx)(r.P.div,{whileHover:a.whileHover,whileTap:a.whileTap,onClick:s,children:t})}},297466:(e,t,o)=>{o.d(t,{A:()=>A});var r=o(716491),n=o(914857),s=o(46589),i=o(260899),a=o(182053),l=o(489379),d=o(180045),c=o(763664),x=o(244414);const h=["children"],m=e=>{let{children:t}=e,o=(0,d.A)(e,h);return(0,x.jsx)(c.A,(0,l.A)((0,l.A)({sx:{maxWidth:{xs:420,lg:475},width:"100%",margin:{xs:1.5,sm:2,md:3},overflow:"hidden",borderRadius:3,backgroundImage:"linear-gradient(180deg, rgba(77, 187, 192, 0.18) 0%, rgba(77, 187, 192, 0.08) 50%, rgba(255, 255, 255, 1) 100%)",backgroundSize:"cover",backgroundRepeat:"no-repeat",backgroundPosition:"center",boxShadow:"0 10px 40px rgba(77, 187, 192, 0.15), 0 2px 8px rgba(0, 0, 0, 0.04)","& > *":{flexGrow:1,flexBasis:"50%"}},content:!1},o),{},{border:!1,boxShadow:!0,children:(0,x.jsx)(r.A,{sx:{p:{xs:2.5,sm:3,md:4,xl:5}},children:t})}))};var g=o(632300);const u=()=>(0,x.jsx)(r.A,{sx:{minHeight:"100vh",width:"100%",backgroundImage:"url(".concat(g,")"),backgroundSize:{xs:"85% auto",sm:"78% auto",md:"105% auto",lg:"112% auto",xl:"108% auto"},backgroundRepeat:"no-repeat",backgroundPosition:"center",maskImage:"linear-gradient(to right, black 0%, black 65%, transparent 100%)",WebkitMaskImage:"linear-gradient(to right, black 0%, black 65%, transparent 100%)"}}),p="#5BD3F1",b="#3AAFA9",f=()=>(0,x.jsxs)(r.A,{"aria-hidden":!0,sx:{position:"absolute",inset:0,zIndex:0,pointerEvents:"none",overflow:"hidden",background:"linear-gradient(135deg,\n #dff4fb 0%,\n #edfafe 35%,\n #f5fbfe 60%,\n #e8f8f5 100%\n )"},children:[(0,x.jsx)(r.A,{sx:{position:"absolute",top:"-12%",left:"-15%",width:320,height:320,borderRadius:"50%",background:"radial-gradient(circle, ".concat(p,"30 0%, ").concat(p,"00 65%)"),filter:"blur(28px)"}}),(0,x.jsx)(r.A,{sx:{position:"absolute",bottom:"-15%",right:"-12%",width:300,height:300,borderRadius:"50%",background:"radial-gradient(circle, ".concat(b,"28 0%, ").concat(b,"00 65%)"),filter:"blur(24px)"}}),[{top:"15%",width:130,opacity:.42},{top:"23%",width:95,opacity:.32},{top:"30%",width:70,opacity:.24}].map(((e,t)=>(0,x.jsx)(r.A,{sx:{position:"absolute",left:14,top:e.top,width:e.width,height:12,borderRadius:8,bgcolor:p,opacity:e.opacity}},"l".concat(t)))),(0,x.jsx)(r.A,{sx:{position:"absolute",right:14,bottom:"20%",width:90,height:10,borderRadius:6,bgcolor:"#72D3EB",opacity:.28}}),(0,x.jsx)(r.A,{sx:{position:"absolute",top:"8%",right:"12%",width:22,height:22,bgcolor:p,opacity:.42,clipPath:"polygon(50% 0%,55% 40%,100% 50%,55% 60%,50% 100%,45% 60%,0% 50%,45% 40%)"}}),(0,x.jsx)(r.A,{sx:{position:"absolute",bottom:"12%",left:"18%",width:16,height:16,bgcolor:b,opacity:.35,clipPath:"polygon(50% 0%,55% 40%,100% 50%,55% 60%,50% 100%,45% 60%,0% 50%,45% 40%)"}}),(0,x.jsx)(r.A,{sx:{position:"absolute",inset:0,backgroundImage:"radial-gradient(circle, ".concat(b,"18 1px, transparent 1px)"),backgroundSize:"36px 36px",opacity:.15}})]}),A=e=>{let{children:t}=e;const o=(0,n.A)(),l=(0,s.A)(o.breakpoints.down("md"));return(0,x.jsxs)(r.A,{sx:{minHeight:"100vh",width:"100%",bgcolor:{xs:"white",md:"rgba(77, 187, 192, 0.04)"},position:"relative"},children:[(0,x.jsxs)(i.Ay,{container:!0,columns:{xs:100,md:100},sx:{minHeight:"100vh"},children:[!l&&(0,x.jsx)(i.Ay,{item:!0,xs:0,md:65,children:(0,x.jsx)(r.A,{sx:{height:"100%",width:"100%"},children:(0,x.jsx)(u,{})})}),(0,x.jsxs)(i.Ay,{item:!0,xs:100,md:35,sx:{display:"flex",alignItems:"center",justifyContent:"center",p:{xs:2,sm:3,md:4},minHeight:l?"100vh":"auto",position:"relative",backgroundImage:"none",backgroundSize:"cover",backgroundRepeat:"no-repeat",backgroundPosition:"center"},children:[l&&(0,x.jsx)(f,{}),(0,x.jsx)(r.A,{sx:{position:"relative",zIndex:1,width:"100%",display:"flex",justifyContent:"center"},children:(0,x.jsx)(m,{children:t})})]})]}),(0,x.jsx)(r.A,{sx:{position:{xs:"static",md:"absolute"},left:0,right:0,bottom:0,m:{xs:0,md:3},mt:{xs:0,md:1},py:{xs:2.5,md:0},px:2,display:"flex",justifyContent:"center",pointerEvents:"none",zIndex:1},children:(0,x.jsxs)(a.A,{variant:"subtitle2",component:"span",sx:{color:"#3AAFA9",fontSize:{xs:"0.72rem",sm:"0.78rem"},fontWeight:600,opacity:.9,textAlign:"center",letterSpacing:"0.01em"},children:["\xa9 ",(new Date).getFullYear()," Selenity Technology. All rights reserved."]})})]})}},808489:(e,t,o)=>{o.r(t),o.d(t,{default:()=>Ee});var r=o(842074),n=o(914857),s=o(46589),i=o(260899),a=o(716491),l=o(493230),d=o(182053),c=o(580478),x=o(489379),h=o(409950);const m={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M942.2 486.2C847.4 286.5 704.1 186 512 186c-192.2 0-335.4 100.5-430.2 300.3a60.3 60.3 0 000 51.5C176.6 737.5 319.9 838 512 838c192.2 0 335.4-100.5 430.2
1-300.3 7.7-16.2 7.7-35 0-51.5zM512 766c-161.3 0-279.4-81.8-362.7-254C232.6 339.8 350.7 258 512 258c161.3 0 279.4 81.8 362.7 254C791.5 684.2 673.4 766 512 766zm-4-430c-97.2 0-176 78.8-176 176s78.8 176 176 176 176-78.8 176-176-78.8-176-176-176zm0 288c-61.9 0-112-50.1-112-112s50.1-112 112-112 112 50.1 112 112-50.1 112-112 112z"}}]},name:"eye",theme:"outlined"};var g=o(780518),u=function(e,t){return h.createElement(g.A,(0,x.A)((0,x.A)({},e),{},{ref:t,icon:m}))};const p=h.forwardRef(u);const b={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M942.2 486.2Q889.47 375.11 816.7 305l-50.88 50.88C807.31 395.53 843.45 447.4 874.7 512 791.5 684.2 673.4 766 512 766q-72.67 0-133.87-22.38L323 798.75Q408 838 512 838q288.3 0 430.2-300.3a60.29 60.29 0 000-51.5zm-63.57-320.64L836 122.88a8 8 0 00-11.32 0L715.31 232.2Q624.86 186 512 186q-288.3 0-430.2 300.3a60.3 60.3 0 000 51.5q56.69 119.4 136.5 191.41L112.48 835a8 8 0 000 11.31L155.17 889a8 8 0 0011.31 0l712.15-712.12a8 8 0 000-11.32zM149.3 512C232.6 339.8 350.7 258 512 258c54.54 0 104.13 9.36 149.12 28.39l-70.3 70.3a176 176 0 00-238.13 238.13l-83.42 83.42C223.1 637.49 183.3 582.28 149.3 512zm246.7 0a112.11 112.11 0 01146.2-106.69L401.31 546.2A112 112 0 01396 512z"}},{tag:"path",attrs:{d:"M508 624c-3.46 0-6.87-.16-10.25-.47l-52.82 52.82a176.09 176.09 0 00227.42-227.42l-52.82 52.82c.31 3.38.47 6.79.47 10.25a111.94 111.94 0 01-112 112z"}}]},name:"eye-invisible",theme:"outlined"};var f=function(e,t){return h.createElement(g.A,(0,x.A)((0,x.A)({},e),{},{ref:t,icon:b}))};const A=h.forwardRef(f);var v=o(19647),w=o(102660),j=o(124516),y=o(702046),C=o(325333),k=o(616497),S=o(93038),z=o(236080),T=o(18216),R=o(274745),E=o(446639),M=o(300855),W=o(965471),I=o(244414);const B=(0,W.A)((0,I.jsx)("path",{d:"M19 3a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h14m-.5 15.5v-5.3a3.26 3.26 0 0 0-3.26-3.26c-.85 0-1.84.52-2.32 1.3v-1.11h-2.79v8.37h2.79v-4.93c0-.77.62-1.4 1.39-1.4a1.4 1.4 0 0 1 1.4 1.4v4.93h2.79M6.88 8.56a1.68 1.68 0 0 0 1.68-1.68c0-.93-.75-1.69-1.68-1.69a1.69 1.69 0 0 0-1.69 1.69c0 .93.76 1.68 1.69 1.68m1.39 9.94v-8.37H5.5v8.37h2.77z"}),"LinkedIn"),P=(0,W.A)((0,I.jsx)("path",{d:"M11.99 2C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2m6.93 6h-2.95c-.32-1.25-.78-2.45-1.38-3.56 1.84.63 3.37 1.91 4.33 3.56M12 4.04c.83 1.2 1.48 2.53 1.91 3.96h-3.82c.43-1.43 1.08-2.76 1.91-3.96M4.26 14C4.1 13.36 4 12.69 4 12s.1-1.36.26-2h3.38c-.08.66-.14 1.32-.14 2 0 .68.06 1.34.14 2zm.82 2h2.95c.32 1.25.78 2.45 1.38 3.56-1.84-.63-3.37-1.9-4.33-3.56m2.95-8H5.08c.96-1.66 2.49-2.93 4.33-3.56C8.81 5.55 8.35 6.75 8.03 8M12 19.96c-.83-1.2-1.48-2.53-1.91-3.96h3.82c-.43 1.43-1.08 2.76-1.91 3.96M14.34 14H9.66c-.09-.66-.16-1.32-.16-2 0-.68.07-1.35.16-2h4.68c.09.65.16 1.32.16 2 0 .68-.07 1.34-.16 2m.25 5.56c.6-1.11 1.06-2.31 1.38-3.56h2.95c-.96 1.65-2.49 2.93-4.33 3.56M16.36 14c.08-.66.14-1.32.14-2 0-.68-.06-1.34-.14-2h3.38c.16.64.26 1.31.26 2s-.1 1.36-.26 2z"}),"Language");var D=o(198587),F=o(58168),H=o(672004),L=o(600423),N=o(988465),_=o(735501),O=o(762161),G=o(195955),V=o(912860);const q=["className","component","disableGutters","fixed","maxWidth","classes"],U=(0,V.A)(),Y=(0,G.A)("div",{name:"MuiContainer",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[t.root,t["maxWidth".concat((0,_.A)(String(o.maxWidth)))],o.fixed&&t.fixed,o.disableGutters&&t.disableGutters]}}),Q=e=>(0,O.A)({props:e,name:"MuiContainer",defaultTheme:U});var K=o(461676),Z=o(559254),$=o(818463);const J=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const{createStyledComponent:t=Y,useThemeProps:o=Q,componentName:r="MuiContainer"}=e,n=t((e=>{let{theme:t,ownerState:o}=e;return(0,F.A)({width:"100%",marginLeft:"auto",boxSizing:"border-box",marginRight:"auto",display:"block"},!o.disableGutters&&{paddingLeft:t.spacing(2),paddingRight:t.spacing(2),[t.breakpoints.up("sm")]:{paddingLeft:t.spacing(3),paddingRight:t.spacing(3)}})}),(e=>{let{theme:t,ownerState:o}=e;return o.fixed&&Object.keys(t.breakpoints.values).reduce(((e,o)=>{const r=o,n=t.breakpoints.values[r];return 0!==n&&(e[t.breakpoints.up(r)]={maxWidth:"".concat(n).concat(t.breakpoints.unit)}),e}),{})}),(e=>{let{theme:t,ownerState:o}=e;return(0,F.A)({},"xs"===o.maxWidth&&{[t.breakpoints.up("xs")]:{maxWidth:Math.max(t.breakpoints.values.xs,444)}},o.maxWidth&&"xs"!==o.maxWidth&&{[t.breakpoints.up(o.maxWidth)]:{maxWidth:"".concat(t.breakpoints.values[o.maxWidth]).concat(t.breakpoints.unit)}})})),s=h.forwardRef((function(e,t){const s=o(e),{className:i,component:a="div",disableGutters:l=!1,fixed:d=!1,maxWidth:c="lg"}=s,x=(0,D.A)(s,q),h=(0,F.A)({},s,{component:a,disableGutters:l,fixed:d,maxWidth:c}),m=((e,t)=>{const{classes:o,fixed:r,disableGutters:n,maxWidth:s}=e,i={root:["root",s&&"maxWidth".concat((0,_.A)(String(s))),r&&"fixed",n&&"disableGutters"]};return(0,N.A)(i,(e=>(0,L.Ay)(t,e)),o)})(h,r);return(0,I.jsx)(n,(0,F.A)({as:a,ownerState:h,className:(0,H.A)(m.root,i),ref:t},x))}));return s}({createStyledComponent:(0,Z.Ay)("div",{name:"MuiContainer",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[t.root,t["maxWidth".concat((0,K.A)(String(o.maxWidth)))],o.fixed&&t.fixed,o.disableGutters&&t.disableGutters]}}),useThemeProps:e=>(0,$.b)({props:e,name:"MuiContainer"})}),X=J,ee=()=>{const e=(0,n.A)(),t=(0,s.A)(e.breakpoints.down("sm"));return(0,I.jsx)(X,{maxWidth:"xl",children:(0,I.jsxs)(l.A,{direction:"row",justifyContent:"center",alignItems:"center",spacing:t?1:2.5,sx:{py:1,flexWrap:"nowrap"},children:[(0,I.jsx)(C.A,{href:"https://www.linkedin.com/company/selenity-tech/",target:"_blank",rel:"noopener noreferrer",size:t?"small":"medium",children:(0,I.jsx)(B,{fontSize:t?"small":"medium"})}),(0,I.jsx)(C.A,{href:"https://www.selenitytech.com",target:"_blank",rel:"noopener noreferrer",size:t?"small":"medium",children:(0,I.jsx)(P,{fontSize:t?"small":"medium"})})]})})};var te=o(243939),oe=o(157339),re=o(228429),ne=o(193152),se=o(394118);const ie={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M928 160H96c-17.7 0-32 14.3-32 32v640c0 17.7 14.3 32 32 32h832c17.7 0 32-14.3 32-32V192c0-17.7-14.3-32-32-32zm-40 110.8V792H136V270.8l-27.6-21.5 39.3-50.5 42.8 33.3h643.1l42.8-33.3 39.3 50.5-27.7 21.5zM833.6 232L512 482 190.4 232l-42.8-33.3-39.3 50.5 27.6 21.5 341.6 265.6a55.99 55.99 0 0068.7 0L888 270.8l27.6-21.5-39.3-50.5-42.7 33.2z"}}]},name:"mail",theme:"outlined"};var ae=function(e,t){return h.createElement(g.A,(0,x.A)((0,x.A)({},e),{},{ref:t,icon:ie}))};const le=h.forwardRef(ae);const de={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm193.5 301.7l-210.6 292a31.8 31.8 0 01-51.7 0L318.5 484.9c-3.8-5.3 0-12.7 6.5-12.7h46.9c10.2 0 19.9 4.9 25.9 13.3l71.2 98.8 157.2-218c6-8.3 15.6-13.3 25.9-13.3H699c6.5 0 10.3 7.4 6.5 12.7z"}}]},name:"check-circle",theme:"filled"};var ce=function(e,t){return h.createElement(g.A,(0,x.A)((0,x.A)({},e),{},{ref:t,icon:de}))};const xe=h.forwardRef(ce);const he={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm32 664c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V456c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v272zm-32-344a48.01 48.01 0 010-96 48.01 48.01 0 010 96z"}}]},name:"info-circle",theme:"filled"};var me=function(e,t){return h.createElement(g.A,(0,x.A)((0,x.A)({},e),{},{ref:t,icon:he}))};const ge=h.forwardRef(me);const ue={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm-32 232c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v272c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V296zm32 440a48.01 48.01 0 010-96 48.01 48.01 0 010 96z"}}]},name:"exclamation-circle",theme:"filled"};var pe=function(e,t){return h.createElement(g.A,(0,x.A)((0,x.A)({},e),{},{ref:t,icon:ue}))};const be=h.forwardRef(pe);var fe=o(796583),Ae=o(428170),ve=o(8145),we=o(279739);const je={ERR_USER_NOT_FOUND:{key:"forgotPasswordNoUserFound",severity:"error"},ERR_USER_NOT_ACTIVE:{key:"forgotPasswordNoUserFound",severity:"error"},REQUEST_LIMIT_REACHED:{key:"forgotPasswordTooManyAttempts",severity:"info"},PASSWORD_RESET_TOKEN_ALREADY_SENT:{key:"forgotPasswordAlreadySe
1nt",severity:"info"}},ye=e=>{let{open:t,onClose:o}=e;const[r,n]=(0,h.useState)(""),[s,i]=(0,h.useState)(""),[l,x]=(0,h.useState)("success"),[m,g]=(0,h.useState)(!1),u=localStorage.getItem("language"),p=()=>{m||o()},b=async()=>{try{g(!0),i(""),await(0,ne.q$)(r,u),i(c.A.getText("forgotPasswordSuccess")),x("success")}catch(e){const t=(e=>{var t;const o=(null===e||void 0===e||null===(t=e.response)||void 0===t?void 0:t.data)||e;if(null!==o&&void 0!==o&&o.errors&&o.errors.length>0)return{text:c.A.getText("forgotPasswordInvalidEmail"),severity:"error"};const r=je[null===o||void 0===o?void 0:o.message];return r?{text:c.A.getText(r.key),severity:r.severity}:{text:c.A.getText("forgotPasswordError"),severity:"error"}})(e)||{};i(t.text||c.A.getText("forgotPasswordError")),x(t.severity||"error")}finally{g(!1)}};return(0,I.jsxs)(fe.A,{open:t,onClose:p,maxWidth:"xs",fullWidth:!0,PaperProps:{sx:{borderRadius:3,overflow:"hidden",mx:{xs:2,sm:"auto"},width:{xs:"calc(100% - 32px)",sm:"100%"}}},children:[(0,I.jsxs)(a.A,{sx:{background:"linear-gradient(135deg, #5ECFEF 0%, #72D3EB 50%, #3AAFA9 100%)",p:{xs:2.5,sm:3},position:"relative"},children:[(0,I.jsx)(C.A,{onClick:p,id:"close-forgot-password-dialog",sx:{position:"absolute",right:8,top:8,color:"white","&:hover":{bgcolor:"rgba(255,255,255,0.2)"}},children:(0,I.jsx)(se.A,{})}),(0,I.jsx)(a.A,{sx:{display:"flex",justifyContent:"center",mb:2},children:(0,I.jsx)(a.A,{sx:{width:{xs:48,sm:56},height:{xs:48,sm:56},borderRadius:"50%",bgcolor:"rgba(255,255,255,0.25)",display:"flex",alignItems:"center",justifyContent:"center"},children:(0,I.jsx)(le,{style:{fontSize:28,color:"white"}})})}),(0,I.jsx)(d.A,{variant:"h6",fontWeight:600,color:"white",textAlign:"center",sx:{fontSize:{xs:"1rem",sm:"1.25rem"}},children:c.A.getText("forgotPassword")}),(0,I.jsx)(d.A,{variant:"body2",color:"rgba(255,255,255,0.9)",textAlign:"center",sx:{mt:.5,fontSize:{xs:"0.8rem",sm:"0.875rem"}},children:c.A.getText("forgotPasswordDescription")})]}),(0,I.jsxs)(Ae.A,{sx:{p:{xs:2.5,sm:3},pb:2},children:[(0,I.jsx)(ve.A,{autoFocus:!0,label:c.A.getText("email"),id:"email-forgot-password",type:"email",fullWidth:!0,size:"small",value:r,onChange:e=>n(e.target.value),required:!0,placeholder:c.A.getText("enterEmail"),onKeyDown:e=>{"Enter"===e.key&&null!==r&&void 0!==r&&r.trim()&&!m&&b()},sx:{"& .MuiOutlinedInput-root":{borderRadius:1.5,"&:hover fieldset":{borderColor:"#72D3EB"},"&.Mui-focused fieldset":{borderColor:"#72D3EB"}},"& .MuiInputLabel-root.Mui-focused":{color:"#3AAFA9"}}}),s&&(()=>{const e={success:{borderColor:"rgba(58, 175, 169, 0.3)",bgcolor:"rgba(58, 175, 169, 0.08)",iconColor:"#3AAFA9",textColor:"#2E938E",icon:(0,I.jsx)(xe,{})},info:{borderColor:"rgba(217, 158, 31, 0.3)",bgcolor:"rgba(245, 180, 50, 0.1)",iconColor:"#E0A21A",textColor:"#9A7415",icon:(0,I.jsx)(ge,{})},error:{borderColor:"rgba(211, 47, 47, 0.25)",bgcolor:"rgba(211, 47, 47, 0.06)",iconColor:"#d32f2f",textColor:"#d32f2f",icon:(0,I.jsx)(be,{})}},t=e[l]||e.error;return(0,I.jsxs)(a.A,{sx:{mt:2,display:"flex",alignItems:"flex-start",gap:1,p:{xs:1.25,sm:1.5},borderRadius:1.5,border:"1px solid",borderColor:t.borderColor,bgcolor:t.bgcolor},children:[(0,I.jsx)(a.A,{component:"span",sx:{display:"inline-flex",mt:"1px",fontSize:16,color:t.iconColor,flexShrink:0},children:t.icon}),(0,I.jsx)(d.A,{variant:"body2",sx:{color:t.textColor,fontSize:{xs:"0.8rem",sm:"0.875rem"},lineHeight:1.4},children:s})]})})()]}),(0,I.jsx)(we.A,{sx:{px:{xs:2.5,sm:3},pb:2.5,justifyContent:"flex-end"},children:(0,I.jsx)(T.A,{variant:"outlined",id:"send-email-forgot-password",onClick:b,disabled:!(null!==r&&void 0!==r&&r.trim())||m,sx:{borderRadius:2,px:{xs:3,sm:4},py:1,textTransform:"none",borderColor:"#72D3EB",color:"#3AAFA9",fontSize:{xs:"0.85rem",sm:"0.875rem"},"&:hover":{borderColor:"#3AAFA9",bgcolor:"rgba(114, 211, 235, 0.08)"},"&:disabled":{borderColor:"#e0e0e0",color:"#bdbdbd"}},children:m?(0,I.jsx)(E.A,{size:20,sx:{color:"#3AAFA9"}}):c.A.getText("send")})})]})};var Ce=o(96319),ke=o(545866);const Se=e=>{let{passwordNotConfirmedEmail:t,setPasswordNotConfirmedEmail:o}=e;return(0,I.jsx)(I.Fragment,{children:(0,I.jsxs)(fe.A,{open:!!t,onClose:()=>o(""),maxWidth:"xs",fullWidth:!0,PaperProps:{sx:{borderRadius:3,overflow:"hidden",boxShadow:"0 8px 40px rgba(58,175,169,0.18)"}},children:[(0,I.jsx)(a.A,{sx:{height:4,background:"linear-gradient(90deg, #5BD3F1 0%, #3AAFA9 100%)"}}),(0,I.jsxs)(Ae.A,{sx:{pt:4,pb:3.5,px:3.5,textAlign:"center",position:"relative"},children:[(0,I.jsx)(C.A,{size:"small",onClick:()=>o(""),sx:{position:"absolute",top:10,right:10,color:"#b0c8ce","&:hover":{color:"#3AAFA9",backgroundColor:"rgba(91,211,241,0.1)"}},children:(0,I.jsx)(Ce.default,{sx:{fontSize:18}})}),(0,I.jsx)(a.A,{sx:{width:68,height:68,borderRadius:"50%",mx:"auto",mb:2.5,background:"linear-gradient(135deg, #5BD3F1 0%, #3AAFA9 100%)",display:"flex",alignItems:"center",justifyContent:"center",boxShadow:"0 4px 18px rgba(91,211,241,0.35)"},children:(0,I.jsx)(ke.default,{sx:{fontSize:32,color:"#fff"}})}),(0,I.jsx)(d.A,{variant:"h6",fontWeight:700,sx:{color:"#1a2e35",mb:1.5,fontSize:"1.05rem"},children:c.A.getText("passwordNotConfirmedTitle")||"Your Password Has Not Been Set Yet"}),(0,I.jsx)(d.A,{variant:"body2",sx:{color:"#5a7a84",lineHeight:1.75,fontSize:"0.855rem",mb:2},children:c.A.getText("passwordNotConfirmedInfo")||"Your identity has been verified, but your password has not yet been confirmed. A password setup link has been sent to the following address:"}),(0,I.jsx)(a.A,{sx:{py:.9,px:1.5,borderRadius:2,mb:2,backgroundColor:"rgba(91,211,241,0.09)",border:"1px solid rgba(91,211,241,0.35)"},children:(0,I.jsx)(d.A,{variant:"body2",sx:{fontWeight:600,color:"#2a8a96",fontSize:"0.85rem",wordBreak:"break-word"},children:t})}),(0,I.jsx)(d.A,{variant:"caption",sx:{color:"#94b0b8",display:"block"},children:c.A.getText("checkYourInbox")||"Please check your inbox."})]})]})})},ze=()=>{const e={minHeight:{xs:"auto",md:500},alignContent:"center"},t={"& .MuiOutlinedInput-input":{py:{xs:1.6,md:2},fontSize:{xs:"0.85rem",md:"0.875rem"}},"& .MuiOutlinedInput-notchedOutline":{borderColor:"#d4dae0",borderRadius:1.5},"&:hover .MuiOutlinedInput-notchedOutline":{borderColor:"#4DBBC0"},"&.Mui-focused .MuiOutlinedInput-notchedOutline":{borderColor:"#4DBBC0",borderWidth:"1.5px"},borderRadius:1.5,backgroundColor:"#f5f8f9","&:hover":{backgroundColor:"#fafcfc"},"&.Mui-focused":{backgroundColor:"#ffffff"},transition:"all 0.2s ease"},o={py:{xs:1.1,md:1.2},borderRadius:1.5,backgroundColor:"#4DBBC0",fontWeight:600,boxShadow:"0 4px 12px rgba(77, 187, 192, 0.3)","&:hover":{backgroundColor:"#3a9ca0",boxShadow:"0 6px 16px rgba(77, 187, 192, 0.4)"},"&.Mui-disabled":{backgroundColor:"#a8d8da",color:"#ffffff"}},[r,n]=(0,h.useState)(!1),[s,m]=(0,h.useState)(""),[g,u]=(0,h.useState)(""),[b,f]=(0,h.useState)(!1),[W,B]=(0,h.useState)(""),[P,D]=(0,h.useState)(!1),[F,H]=(0,h.useState)(!1),L=(0,re.Zp)(),N=()=>H(!F),_=e=>e.preventDefault(),O=async e=>{if(e.preventDefault(),s.trim()&&g.trim()){D(!0);try{const e=await(0,ne.Lx)(s,g,r),{token:t,passwordConfirm:o}=e.data;if(!o)return void B(s);if(!t||"null"===t||"undefined"===t||""===t.trim())return console.error("Ge\xe7ersiz token al\u0131nd\u0131:",t),void(0,oe.M8)(c.A.getText("loginFailedInvalidToken"),{variant:"error"});localStorage.setItem("jwtToken",t),L("../dashboard/default",{replace:!0}),L(0)}catch(t){console.error("Login failed:",t.response?t.response.data:t),(0,oe.M8)(c.A.getText("usernameOrPasswordErrormsg"),{variant:"error"})}finally{D(!1)}}};return(0,I.jsxs)(I.Fragment,{children:[(0,I.jsx)(te.l1,{initialValues:{email:"",password:"",submit:null},children:h=>{let{errors:b,handleBlur:W,touched:B}=h;return(0,I.jsx)("form",{noValidate:!0,onSubmit:O,children:(0,I.jsxs)(i.Ay,{container:!0,spacing:3,sx:e,children:[(0,I.jsx)(i.Ay,{item:!0,xs:12,children:(0,I.jsxs)(l.A,{spacing:1,children:[(0,I.jsx)(v.A,{htmlFor:"email-login",children:c.A.getText("email")}),(0,I.jsx)(w.A,{id:"email-login",type:"text",value:s,name:"email",onBlur:W,onChange:e=>m(e.target.value),placeholder:c.A.getText("enterEmail"),fullWidth:!0,error:Boolean(B.email&&b.email),sx:t}),B.email&&b.email&&(0,I.jsx)(j.A,{error:!0,id:"standard-weight-helper-text-email-login",children:b.email})]})}),(0,I.jsx)(i.Ay,{item:!0,xs:12,children:(0,I.jsxs)(l.A,{spacing:1,children:[(0,I.jsx)(v.A,{htmlFor:"password-login",children:c.A.getText("password")}),(0,I.jsx)(w.A,{fullWidth:!0,error:Boolean(B.password&&b.password),id:"password-login",type:F?"text":"password",value:g,name:"password",onBlur:W,onChange:e=>u(e.target.value),endAdornment:(0,I.jsx)(y.A,{position:"end",children:(0,I.jsx)(C.A,{"aria-label":"toggle password visibility",onClick:N,onMouseDown:_,edge:"end",size:"large",children:F?(0,I.jsx)(p,{}):(0,I.jsx)(A,{})})}),placeholder:c.A.getText("enterPassword"),sx:t}),B.password&&b.password&&(0,I.jsx)(j.A,{error:!0,id:"standard-weight-helper-text-password-login",children:b.password})]})}),(0,I.jsx)(i.Ay,{item:!0,xs:12,sx:{mt:-1},children:(0,I.jsxs)(l.A,{direction:"row",justifyContent:"space-between",alignItems:"center",spacing:2,children:[(0,I.jsx)(k.A,{control:(0,I.jsx)(S.A,{checked:r,onChange:e=>n(e.target.checked),id:"login-checkbox",name:"checked",color:"primary",size:"small"}),label:(0,I.jsx)(d.A,{variant:"h6",sx:{fontSize:{xs:"0.8rem",sm:"0.875rem"}},children:c.A.getText("keepMeSignedIn")})}),(0,I.jsx)(z.A,{id:"forgot-password-link",component:"button",type:"button",variant:"h6",onClick:()=>f(!0),sx:{textDecoration:"none",fontSize:{xs:"0.8rem",sm:"0.875rem"},fontWeight:500,color:"#4DBBC0",transition:"color 0.2s","&:hover":{color:"#3a9ca0",textDecoration:"underline"}},children:c.A.getText("forgotPassword")})]})}),b.submit&&(0,I.jsx)(i.Ay,{item:!0,xs:12,children:(0,I.jsx)(j.A,{error:!0,children:b.submit})}),(0,I.jsx)(i.Ay,{item:!0,xs:12,children:(0,I.jsx)(M.A,{children:(0,I.jsx)(T.A,{id:"button-login",disableElevation:!0,disabled:P,fullWidth:!0,size:"large",type:"submit",variant:"contained",sx:(0,x.A)((0,x.A)({},o),{},{fontSize:{xs:"0.9rem",md:"1rem"},py:{xs:1.2,md:1.5},textTransform:"none"}),children:P?(0,I.jsxs)(a.A,{sx:{display:"flex",alignItems:"center",justifyContent:"center",gap:1},children:[(0,I.jsx)(E.A,{size:18,color:"inherit"}),(0,I.jsx)("span",{children:c.A.getText("loading")||"Loading..."})]}):c.A.getText("login")})})}),(0,I.jsx)(i.Ay,{item:!0,xs:12,children:(0,I.jsx)(R.A,{children:(0,I.jsx)(d.A,{variant:"caption",children:" "})})}
1),(0,I.jsx)(i.Ay,{item:!0,xs:12,sx:{display:{xs:"none",md:"block"}},children:(0,I.jsx)(a.A,{sx:{mt:1.5,display:"flex",justifyContent:"center"},children:(0,I.jsx)(ee,{})})})]})})}}),(0,I.jsx)(ye,{open:b,onClose:()=>f(!1)}),(0,I.jsx)(Se,{passwordNotConfirmedEmail:W,setPasswordNotConfirmedEmail:B})]})};var Te=o(297466),Re=o(632300);const Ee=()=>{const e=(0,n.A)(),t=(0,s.A)(e.breakpoints.down("md"));return(0,I.jsx)(Te.A,{children:(0,I.jsxs)(i.Ay,{container:!0,spacing:t?2:3,children:[t&&(0,I.jsx)(i.Ay,{item:!0,xs:12,sx:{textAlign:"center",mb:0,mt:-.5},children:(0,I.jsx)(a.A,{component:"img",src:Re,alt:"Smartest Logo",sx:{width:{xs:220,sm:255},maxWidth:"85%",height:"auto",mb:.25,display:"block",mx:"auto",filter:"drop-shadow(0 2px 6px rgba(77, 187, 192, 0.18))"}})}),(0,I.jsx)(i.Ay,{item:!0,xs:12,children:(0,I.jsxs)(l.A,{direction:t?"column":"row",justifyContent:"space-between",alignItems:t?"center":"baseline",spacing:t?1.5:0,sx:{mb:{xs:1,sm:.5}},children:[(0,I.jsx)(d.A,{variant:"h3",sx:{fontSize:{xs:"1.4rem",md:"1.625rem"},fontWeight:700,color:"#1a1a1a",letterSpacing:"-0.02em"},children:c.A.getText("login")}),(0,I.jsx)(d.A,{component:r.N_,to:"/sign-up",variant:"body1",sx:{textDecoration:"none",fontSize:{xs:"0.8rem",md:"0.875rem"},fontWeight:500,color:"#4DBBC0",px:1.5,py:.6,borderRadius:1.5,border:"1px solid transparent",transition:"all 0.2s ease","&:hover":{backgroundColor:"rgba(77, 187, 192, 0.08)",borderColor:"rgba(77, 187, 192, 0.25)",color:"#3a9ca0"}},children:c.A.getText("dontHaveAnAccount")})]})}),(0,I.jsx)(i.Ay,{item:!0,xs:12,children:(0,I.jsx)(ze,{})})]})})}},632300:(e,t,o)=>{e.exports=o.p+"static/media/loginbackground.baad93d9df3b99a159e9.png"}}]);
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.