1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2176],{26436:function(t,e,n){"use strict";var i=n(71600);e.Z=void 0;var r=i(n(68671)),o=n(52322),a=(0,r.default)((0,o.jsx)("path",{d:"M12 4.5C7 4.5 2.73 7.61 1 12c1.73 4.39 6 7.5 11 7.5s9.27-3.11 11-7.5c-1.73-4.39-6-7.5-11-7.5zM12 17c-2.76 0-5-2.24-5-5s2.24-5 5-5 5 2.24 5 5-2.24 5-5 5zm0-8c-1.66 0-3 1.34-3 3s1.34 3 3 3 3-1.34 3-3-1.34-3-3-3z"}),"Visibility");e.Z=a},38203:function(t,e,n){"use strict";var i=n(71600);e.Z=void 0;var r=i(n(68671)),o=n(52322),a=(0,r.default)((0,o.jsx)("path",{d:"M12 7c2.76 0 5 2.24 5 5 0 .65-.13 1.26-.36 1.83l2.92 2.92c1.51-1.26 2.7-2.89 3.43-4.75-1.73-4.39-6-7.5-11-7.5-1.4 0-2.74.25-3.98.7l2.16 2.16C10.74 7.13 11.35 7 12 7zM2 4.27l2.28 2.28.46.46C3.08 8.3 1.78 10.02 1 12c1.73 4.39 6 7.5 11 7.5 1.55 0 3.03-.3 4.38-.84l.42.42L19.73 22 21 20.73 3.27 3 2 4.27zM7.53 9.8l1.55 1.55c-.05.21-.08.43-.08.65 0 1.66 1.34 3 3 3 .22 0 .44-.03.65-.08l1.55 1.55c-.67.33-1.41.53-2.2.53-2.76 0-5-2.24-5-5 0-.79.2-1.53.53-2.2zm4.31-.78 3.15 3.15.02-.16c0-1.66-1.34-3-3-3l-.17.01z"}),"VisibilityOff");e.Z=a},52638:function(t,e,n){"use strict";function i(){return(i=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i])}return t}).apply(this,arguments)}n.d(e,{Z:function(){return Z}});var r=n(2784),o=n(7342),a=n(85954),s=n(69075),l=n(65992),d=n(43853),c=n(62048),u=n(72841),h=n(51538),R=n(20411);function g(t){return(0,h.Z)("MuiLoadingButton",t)}let m=(0,R.Z)("MuiLoadingButton",["root","loading","loadingIndicator","loadingIndicatorCenter","loadingIndicatorStart","loadingIndicatorEnd","endIconLoadingEnd","startIconLoadingStart"]);var O=n(52322);let f=["children","disabled","id","loading","loadingIndicator","loadingPosition","variant"],x=t=>{let{loading:e,loadingPosition:n,classes:r}=t,a={root:["root",e&&"loading"],startIcon:[e&&`startIconLoading${(0,o.Z)(n)}`],endIcon:[e&&`endIconLoading${(0,o.Z)(n)}`],loadingIndicator:["loadingIndicator",e&&`loadingIndicator${(0,o.Z)(n)}`]},l=(0,s.Z)(a,g,r);return i({},r,l)},b=t=>"ownerState"!==t&&"theme"!==t&&"sx"!==t&&"as"!==t&&"classes"!==t,p=(0,l.ZP)(c.Z,{shouldForwardProp:t=>b(t)||"classes"===t,name:"MuiLoadingButton",slot:"Root",overridesResolver:(t,e)=>[e.root,e.startIconLoadingStart&&{[`& .${m.startIconLoadingStart}`]:e.startIconLoadingStart},e.endIconLoadingEnd&&{[`& .${m.endIconLoadingEnd}`]:e.endIconLoadingEnd}]})(({ownerState:t,theme:e})=>i({[`& .${m.startIconLoadingStart}, & .${m.endIconLoadingEnd}`]:{transition:e.transitions.create(["opacity"],{duration:e.transitions.duration.short}),opacity:0}},"center"===t.loadingPosition&&{transition:e.transitions.create(["background-color","box-shadow","border-color"],{duration:e.transitions.duration.short}),[`&.${m.loading}`]:{color:"transparent"}},"start"===t.loadingPosition&&t.fullWidth&&{[`& .${m.startIconLoadingStart}, & .${m.endIconLoadingEnd}`]:{transition:e.transitions.create(["opacity"],{duration:e.transitions.duration.short}),opacity:0,marginRight:-8}},"end"===t.loadingPosition&&t.fullWidth&&{[`& .${m.startIconLoadingStart}, & .${m.endIconLoadingEnd}`]:{transition:e.transitions.create(["opacity"],{duration:e.transitions.duration.short}),opacity:0,marginLeft:-8}})),w=(0,l.ZP)("div",{name:"MuiLoadingButton",slot:"LoadingIndicator",overridesResolver:(t,e)=>{let{ownerState:n}=t;return[e.loadingIndicator,e[`loadingIndicator${(0,o.Z)(n.loadingPosition)}`]]}})(({theme:t,ownerState:e})=>i({position:"absolute",visibility:"visible",display:"flex"},"start"===e.loadingPosition&&("outlined"===e.variant||"contained"===e.variant)&&{left:"small"===e.size?10:14},"start"===e.loadingPosition&&"text"===e.variant&&{left:6},"center"===e.loadingPosition&&{left:"50%",transform:"translate(-50%)",color:(t.vars||t).palette.action.disabled},"end"===e.loadingPosition&&("outlined"===e.variant||"contained"===e.variant)&&{right:"small"===e.size?10:14},"end"===e.loadingPosition&&"text"===e.variant&&{right:6},"start"===e.loadingPosition&&e.fullWidth&&{position:"relative",left:-10},"end"===e.loadingPosition&&e.fullWidth&&{position:"relative",right:-10})),E=r.forwardRef(function(t,e){let n=(0,d.Z)({props:t,name:"MuiLoadingButton"}),{children:r,disabled:o=!1,id:s,loading:l=!1,loadingIndicator:c,loadingPosition:h="center",variant:R="text"}=n,g=function(t,e){if(null==t)return{};var n,i,r={},o=Object.keys(t);for(i=0;i<o.length;i++)n=o[i],e.indexOf(n)>=0||(r[n]=t[n]);return r}(n,f),m=(0,a.Z)(s),b=null!=c?c:(0,O.jsx)(u.Z,{"aria-labelledby":m,color:"inherit",size:16}),E=i({},n,{disabled:o,loading:l,loadingIndicator:b,loadingPosition:h,variant:R}),Z=x(E),v=l?(0,O.jsx)(w,{className:Z.loadingIndicator,ownerState:E,children:b}):null;return(0,O.jsxs)(p,i({disabled:o||l,id:m,ref:e},g,{variant:R,classes:Z,ownerState:E,children:["end"===E.loadingPosition?r:v,"end"===E.loadingPosition?v:r]}))});var Z=E},69075:function(t,e,n){"use strict";function i(t,e,n){let i={};return Object.keys(t).forEach(r=>{i[r]=t[r].reduce((t,i)=>(i&&(t.push(e(i)),n&&n[i]&&t.push(n[i])),t),[]).join(" ")}),i}n.d(e,{Z:function(){return i}})},36783:function(t,e,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/signin",function(){return n(93494)}])},73413:function(t,e,n){"use strict";var i=n(52322),r=n(30609);let o=t=>
1(0,i.jsx)(r.Z,{...t,sx:{"& input:-webkit-autofill,input:-webkit-autofill:hover,input:-webkit-autofill:focus,input:-webkit-autofill:active,":{transition:"background-color 5000s ease-in-out 0s, color 5000s ease-in-out 0s",transitionDelay:"background-color 5000s, color 5000s"},...t.sx}});e.Z=o},69766:function(t,e,n){"use strict";var i=n(52322),r=n(2784),o=n(85801),a=n(26436),s=n(38203),l=n(73413);let d=t=>{let[e,n]=r.useState(!1),d=()=>{n(!e)};return(0,i.jsx)(l.Z,{id:"password",variant:"outlined",type:e?"text":"password",InputProps:{endAdornment:(0,i.jsx)(o.Z,{disabled:!t.value,onMouseDown:d,onMouseUp:d,onTouchStart:d,onTouchEnd:d,onMouseOut:()=>e?n(!1):void 0,children:e?(0,i.jsx)(a.Z,{}):(0,i.jsx)(s.Z,{})})},...t})};e.Z=d},93494:function(t,e,n){"use strict";n.r(e),n.d(e,{__N_SSG:function(){return _},default:function(){return L}});var i=n(52322),r=n(52081),o=n(92412),a=n(2784),s=n(47746),l=n(42453),d=n(41075),c=n(54361),u=n(43358),h=n(63397),R=n(30609),g=n(52638),m=n(62197),O=n(23119),f=n(68909),x=n(17662),b=n(69766),p=n(63198),w=n(17473),E=n(31474);let Z=t=>{let{t:e,i18n:n}=(0,o.$G)(),r=(0,s.Z)(),{enqueueSnackbar:c}=(0,p.Ds)(),[u,Z]=(0,a.useState)(!1),v=(0,f.T)(),{executeRecaptcha:I}=(0,w.xX)(),j={email:"",currentPassword:""},M=(0,a.useCallback)((n,i)=>{I&&(Z(!0),setTimeout(()=>I("verificationCode").then(i=>{v((0,E.zB)({gReCaptchaToken:i,email:n.email,password:n.currentPassword})).then(n=>{Z(!1),n.type.endsWith("/rejected")?c(e("web:NOTIFICATIONS.REQUEST_FAILED"),{variant:"custom"}):n.type.endsWith("/fulfilled")&&t.onSuccess(),setTimeout(()=>Z(!1),300)}).catch(t=>{console.error(t),Z(!1),c(e("web:NOTIFICATIONS.REQUEST_FAILED"),{variant:"custom"})})}),200))},[I,v,c,t,e]),P=(0,h.TA)({initialValues:j,validationSchema:(0,x.Z)({t:e,fields:Object.keys(j)}),onSubmit:M});return(0,i.jsxs)(l.Z,{children:[(0,i.jsxs)(l.Z,{marginBottom:4,children:[(0,i.jsx)(m.Z,{sx:{textTransform:"uppercase",fontWeight:"medium"},gutterBottom:!0,color:"text.secondary",children:e("web:FORM.SIGNIN.CAPTION")}),(0,i.jsx)(m.Z,{variant:"h4",sx:{fontWeight:700},children:e("web:FORM.SIGNIN.TITLE")}),(0,i.jsx)(m.Z,{color:"text.secondary",children:e("web:FORM.SIGNIN.SUBTITLE")})]}),(0,i.jsx)("form",{onSubmit:P.handleSubmit,children:(0,i.jsxs)(d.ZP,{container:!0,spacing:4,children:[(0,i.jsxs)(d.ZP,{item:!0,xs:12,children:[(0,i.jsx)(m.Z,{variant:"subtitle2",sx:{marginBottom:2},children:e("web:FORM.EMAIL_LABEL")}),(0,i.jsx)(R.Z,{label:e("web:FORM.EMAIL_PLACEHOLDER"),variant:"outlined",name:"email",fullWidth:!0,value:P.values.email,onChange:P.handleChange,error:P.touched.email&&Boolean(P.errors.email),helperText:P.touched.email&&P.errors.email})]}),(0,i.jsxs)(d.ZP,{item:!0,xs:12,children:[(0,i.jsxs)(l.Z,{display:"flex",flexDirection:{xs:"column",sm:"row"},alignItems:{xs:"stretched",sm:"center"},justifyContent:"space-between",width:1,marginBottom:2,children:[(0,i.jsx)(l.Z,{marginBottom:{xs:1,sm:0},children:(0,i.jsx)(m.Z,{variant:"subtitle2",children:e("web:FORM.PASSWORD_LABEL")})}),(0,i.jsx)(m.Z,{variant:"subtitle2",children:(0,i.jsx)(O.Z,{component:"a",color:"primary",href:`/${n.language}/reset`,children:e("web:FORM.FORGOT_PASSWORD")})})]}),(0,i.jsx)(b.Z,{label:e("web:FORM.PASSWORD_PLACEHOLDER"),variant:"outlined",name:"currentPassword",autoComplete:"current-password",fullWidth:!0,value:P.values.currentPassword,onChange:P.handleChange,error:P.touched.currentPassword&&Boolean(P.errors.currentPassword),helperText:P.touched.currentPassword&&P.errors.currentPassword})]}),(0,i.jsx)(d.ZP,{item:!0,container:!0,xs:12,children:(0,i.jsxs)(l.Z,{display:"flex",flexDirection:{xs:"column"},alignItems:{xs:"end"},justifyContent:"space-between",width:1,maxWidth:600,margin:"0 auto",children:[(0,i.jsx)(g.Z,{size:"large",variant:"contained",type:"submit",loading:u,fullWidth:!0,sx:{backgroundColor:r.palette.secondary.main,color:"black","&:hover":{backgroundColor:r.palette.secondary.main,opacity:.9}},children:e("web:FORM.BTN_LABEL")}),(0,i.jsx)(l.Z,{mt:1,children:(0,i.jsx)(m.Z,{variant:"subtitle2",children:(0,i.jsx)(o.cC,{i18nKey:"web:FORM.NO_ACCOUNT",components:{signup:(0,i.jsx)(O.Z,{component:"a",color:"primary",href:`/${n.language}/signup`})}})})})]})})]})})]})};var v=n(5632),I=n(86432),j=n(61950),M=n(61848),P=n(48790);let S=()=>{let t=(0,s.Z)(),{t:e,i18n:n}=(0,o.$G)();(0,I.Z)(t.breakpoints.up("md"),{defaultMatches:!0});let r=(0,v.useRouter)(),h=(0,f.T)(),[R,g]=(0,a.useState)(!1),m=(0,f.C)(t=>null==t?void 0:t.web.redirectContext),O=(0,M.Z)(),x=(0,a.useCallback)(()=>{var t;(0,P.sendGAEvent)("event","signIn",{}),r.query.redirect?(r.replace({pathname:r.query.redirect}),h((0,E.WP)({src:"logout",data:void 0}))):(null==m?void 0:null===(t=m.logout)||void 0===t?void 0:t.redirect)?(r.replace(j.Z5[j.FL].href(n.language)),h((0,E.WP)({src:"logout",data:void 0}))):r.replace(j.Z5[j.FL].href(n.language))},[r,h,n,m]);return(0,a.useEffect)(()=>{"IN"===O&&x()},[O,x]),(0,a.useEffect)(()=>{setTimeout(()=>g(!0),100)},[]),(0,i.jsx)(c.Z,{loading:Boolean(!R||"IN"===O),isInside:!0,children:(0,i.jsx)(l.Z,{position:"relative",minHeight:"calc(100vh - 247px)",display:"flex",alignItems:"center",justifyContent:"center",height:1,children:(0,i.jsx)(u.Z,{maxWidth:600,children:(0,i.jsx)(d.ZP,{container:!0,spacing:6,children:(0,i.jsx)(d.ZP,{item:!0,container:!0,alignItems:"center",justifyContent:"center",children:(0,i.jsx)(Z,{onSuccess:x})})})})})})};var _=!0;function L(){let{t}=(0,o.$G)();return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(r.Z,{title:t("web:PAGE.SIGNIN")}),(0,i.jsx)("main",{children:(0,i.jsx)(S,{})})]})}},17662:function(t,e,n){"use strict";var i=n(16310);let r=t=>!!(t&&!(t.length<8)&&t.match(/[a-z]/)&&t.match(/[A-Z]/)&&t.match(/[0-9]/)&&t.match(/[^A-Za-z0-9]/)),o=t=>({source:i.Z_().trim().test("source",t("web:FORM.SOURCE_ERROR"),t=>!!t&&t.replace("Other: ","").length>=3).min(3,t("web:FORM.SOURCE_ERROR")).max(64,t("web:FORM.SOURCE_ERROR")).required(t("web:FORM.SOURCE_ERROR")),name:i.Z_().trim().min(2,t("web:FORM.NAME_ERROR")).max(36,t("web:FORM.NAME_ERROR")).required(t("web:FORM.NAME_ERROR")),company:i.Z_().trim().min(2,t("web:FORM.COMPANY_ERROR")).max(36,t("web:FORM.COMPANY_ERROR")).required(t("web:FORM.COMPANY_ERROR")),email:i.Z_().trim().email(t("web:FORM.EMAIL_ERROR")).required(t("web:FORM.EMAIL_ERROR")),phone:i.Z_().trim().required(t("web:FORM.PHONE_ERROR")).matches(/^\+?\d{8,14}$/,t("web:FORM.PHONE_ERROR")),currentPassword:i.Z_().trim().required(t("web:FORM.PASSWORD_ERROR")).test("password",t("web:FORM.PASSWORD_ERROR"),r),newPassword:i.Z_().trim().required(t("web:FORM.PASSWORD_ERROR")).test("password",t("web:FORM.NEW_PASSWORD_ERROR"),r),message:i.Z_().trim().min(8,t("web:FORM.MESSAGE_ERROR")).required(t("web:FORM.MESSAGE_ERROR"))}),a=t=>{let{t:e,fields:n}=t,r=o(e);return i.Ry(n.reduce((t,e)=>(t[e]=r[e],t),{}))};e.Z=a}},function(t){t.O(0,[3661,4574,1846,3255,3937,609,5549,3212,9774,2888,179],function(){return t(t.s=36783)}),_N_E=t.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.