0xV3NOMx
Linux ip-172-26-7-228 5.4.0-1103-aws #111~18.04.1-Ubuntu SMP Tue May 23 20:04:10 UTC 2023 x86_64



Your IP : 13.59.250.115


Current Path : /var/www/egov/build/static/js/
Upload File :
Current File : /var/www/egov/build/static/js/85.77fd69bf.chunk.js

(window.webpackJsonp=window.webpackJsonp||[]).push([[85],{1138:function(e,a,t){"use strict";t.r(a);var n=t(3),r=t(41),o=t.n(r),l=t(68),s=t(99),c=t(100),i=t(102),u=t(101),b=t(103),d=t(1),m=t.n(d),p=t(858),f=t(1098),g=t(867),h=t(8),v=t(35),E=t(4),w=t.n(E),N=t(265),j=t.n(N),y=t(286),k={tag:y.e,className:w.a.string,cssModule:w.a.object},O=function(e){var a=e.className,t=e.cssModule,n=e.tag,r=Object(v.a)(e,["className","cssModule","tag"]),o=Object(y.c)(j()(a,"card-group"),t);return m.a.createElement(n,Object(h.a)({},r,{className:o}))};O.propTypes=k,O.defaultProps={tag:"div"};var C=O,x=t(586),M=t(587),R=t(461),P=t(104),S=t(290),T=t(266),I=t(384),L=function(e){function a(){var e,t;Object(s.a)(this,a);for(var r=arguments.length,c=new Array(r),b=0;b<r;b++)c[b]=arguments[b];return(t=Object(i.a)(this,(e=Object(u.a)(a)).call.apply(e,[this].concat(c)))).state={fmobileno:"",fpasswd:"",fmobileerror:!1,fpasswderror:!1},t.login=function(){var e=Object(l.a)(o.a.mark(function e(a,n){var r,l,s,c,i,u,b;return o.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(a.preventDefault(),r=t.state,l=r.fmobileno,s=r.fpasswd,""!==l){e.next=7;break}return c={header:"Error",content:"Enter Mobile No."},t.props.showError(c),t.setState({fmobileerror:!0}),e.abrupt("return");case 7:if(!(l.length<10)){e.next=12;break}return i={header:"Error",content:"Enter 10 digits for Mobile No."},t.props.showError(i),t.setState({fmobileerror:!0}),e.abrupt("return");case 12:if(""!==s){e.next=17;break}return u={header:"Error",content:"Enter Your password"},t.props.showError(u),t.setState({fpasswderror:!0}),e.abrupt("return");case 17:return b={fmobileno:l,fpasswd:s},e.next=20,t.props.login(b);case 20:case"end":return e.stop()}},e)}));return function(a,t){return e.apply(this,arguments)}}(),t.handleChange=function(e,a){t.setState({fmobileerror:!1,fpasswderror:!1}),(/^\d*$/.test(a.value)||"fmobileno"!=a.name)&&t.setState(Object(n.a)({},a.name,a.value))},t}return Object(b.a)(a,e),Object(c.a)(a,[{key:"render",value:function(){return m.a.createElement("div",{className:"app flex-row align-items-center"},m.a.createElement(g.a,null,m.a.createElement("div",{className:"row justify-content-center"},m.a.createElement(I.a,null),m.a.createElement("div",{className:"col-md-8"},m.a.createElement(C,null,m.a.createElement(x.a,{className:"text-white bg-blue py-5 d-md-down-none",style:{width:"44%"}},m.a.createElement(M.a,{className:"text-center"},m.a.createElement("div",{style:{height:"100%",display:"flex",alignItems:"center",alignContent:"center"}},m.a.createElement("h2",{style:{width:"100%"}},"E-Governance Portal")))),m.a.createElement(x.a,{className:"p-4"},m.a.createElement(M.a,null,m.a.createElement(f.a,{onSubmit:this.login},m.a.createElement("h1",null,"Login"),m.a.createElement("p",{className:"text-muted"},"Sign In to your account"),m.a.createElement(f.a.Field,null,m.a.createElement(f.a.Input,{error:this.state.fmobileerror,maxLength:"10",minLength:"10",name:"fmobileno",autoFocus:!0,icon:"mobile alternate",iconPosition:"left",placeholder:"Mobile No.",value:this.state.fmobileno,onChange:this.handleChange,autoComplete:"off"})),m.a.createElement(f.a.Field,null,m.a.createElement(f.a.Input,{error:this.state.fpasswderror,name:"fpasswd",type:"password",icon:"lock",iconPosition:"left",placeholder:"Password....",maxLength:"25",value:this.state.fpasswd,onChange:this.handleChange})),m.a.createElement("div",{className:"row"},m.a.createElement("div",{className:"col-md-6"},m.a.createElement(R.a,{color:"primary",className:"px-4"},"Login")),m.a.createElement("div",{className:"col-md-6",style:{textAlign:"right"}},m.a.createElement(p.a,{to:"/forgot-passwd"},m.a.createElement(R.a,{color:"link",className:"px-0"},m.a.createElement("b",null,"Forgot password?"))))),m.a.createElement("div",{className:"row"},m.a.createElement("div",{style:{margin:"0 auto"}},m.a.createElement(p.a,{to:"/register"},m.a.createElement(R.a,{color:"link",className:"mt-3",active:!0,tabIndex:-1},m.a.createElement("b",null,"Click here to Register")))))))))))))}}]),a}(d.Component);a.default=Object(P.b)(function(e){return{logindet:e.login}},{login:S.m,showError:T.w})(L)},461:function(e,a,t){"use strict";var n=t(8),r=t(35),o=t(50),l=t(107),s=t(1),c=t.n(s),i=t(4),u=t.n(i),b=t(265),d=t.n(b),m=t(286),p={active:u.a.bool,"aria-label":u.a.string,block:u.a.bool,color:u.a.string,disabled:u.a.bool,outline:u.a.bool,tag:m.e,innerRef:u.a.oneOfType([u.a.object,u.a.func,u.a.string]),onClick:u.a.func,size:u.a.string,children:u.a.node,className:u.a.string,cssModule:u.a.object,close:u.a.bool},f=function(e){function a(a){var t;return(t=e.call(this,a)||this).onClick=t.onClick.bind(Object(l.a)(Object(l.a)(t))),t}Object(o.a)(a,e);var t=a.prototype;return t.onClick=function(e){this.props.disabled?e.preventDefault():this.props.onClick&&this.props.onClick(e)},t.render=function(){var e=this.props,a=e.active,t=e["aria-label"],o=e.block,l=e.className,s=e.close,i=e.cssModule,u=e.color,b=e.outline,p=e.size,f=e.tag,g=e.innerRef,h=Object(r.a)(e,["active","aria-label","block","className","close","cssModule","color","outline","size","tag","innerRef"]);s&&"undefined"===typeof h.children&&(h.children=c.a.createElement("span",{"aria-hidden":!0},"\xd7"));var v="btn"+(b?"-outline":"")+"-"+u,E=Object(m.c)(d()(l,{close:s},s||"btn",s||v,!!p&&"btn-"+p,!!o&&"btn-block",{active:a,disabled:this.props.disabled}),i);h.href&&"button"===f&&(f="a");var w=s?"Close":null;return c.a.createElement(f,Object(n.a)({type:"button"===f&&h.onClick?"button":void 0},h,{className:E,ref:g,onClick:this.onClick,"aria-label":t||w}))},a}(c.a.Component);f.propTypes=p,f.defaultProps={color:"secondary",tag:"button"},a.a=f},586:function(e,a,t){"use strict";var n=t(8),r=t(35),o=t(1),l=t.n(o),s=t(4),c=t.n(s),i=t(265),u=t.n(i),b=t(286),d={tag:b.e,inverse:c.a.bool,color:c.a.string,block:Object(b.a)(c.a.bool,'Please use the props "body"'),body:c.a.bool,outline:c.a.bool,className:c.a.string,cssModule:c.a.object,innerRef:c.a.oneOfType([c.a.object,c.a.string,c.a.func])},m=function(e){var a=e.className,t=e.cssModule,o=e.color,s=e.block,c=e.body,i=e.inverse,d=e.outline,m=e.tag,p=e.innerRef,f=Object(r.a)(e,["className","cssModule","color","block","body","inverse","outline","tag","innerRef"]),g=Object(b.c)(u()(a,"card",!!i&&"text-white",!(!s&&!c)&&"card-body",!!o&&(d?"border":"bg")+"-"+o),t);return l.a.createElement(m,Object(n.a)({},f,{className:g,ref:p}))};m.propTypes=d,m.defaultProps={tag:"div"},a.a=m},587:function(e,a,t){"use strict";var n=t(8),r=t(35),o=t(1),l=t.n(o),s=t(4),c=t.n(s),i=t(265),u=t.n(i),b=t(286),d={tag:b.e,className:c.a.string,cssModule:c.a.object,innerRef:c.a.oneOfType([c.a.object,c.a.string,c.a.func])},m=function(e){var a=e.className,t=e.cssModule,o=e.innerRef,s=e.tag,c=Object(r.a)(e,["className","cssModule","innerRef","tag"]),i=Object(b.c)(u()(a,"card-body"),t);return l.a.createElement(s,Object(n.a)({},c,{className:i,ref:o}))};m.propTypes=d,m.defaultProps={tag:"div"},a.a=m}}]);
//# sourceMappingURL=85.77fd69bf.chunk.js.map