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 : 3.129.253.21


Current Path : /var/www/egov/build/static/js/
Upload File :
Current File : /var/www/egov/build/static/js/16.ab87547c.chunk.js

(window.webpackJsonp=window.webpackJsonp||[]).push([[16],{1271:function(e,t,a){"use strict";a.r(t);var n=a(3),r=a(68),o=a(100),i=a(101),l=a(103),s=a(102),c=a(104),u=a(2),p=a.n(u),d=a(941),h=a(105),f=a(1377),m=a(1343),g=a(272),v=a(1335),E=a(1337),y=a(1157),b=a(267),w=a(275),S=a.n(w),k=a(298),x=a(368),O=a(287),C=a.n(O);function D(){D=function(){return t};var e,t={},a=Object.prototype,n=a.hasOwnProperty,r=Object.defineProperty||function(e,t,a){e[t]=a.value},o="function"==typeof Symbol?Symbol:{},i=o.iterator||"@@iterator",l=o.asyncIterator||"@@asyncIterator",s=o.toStringTag||"@@toStringTag";function c(e,t,a){return Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{c({},"")}catch(e){c=function(e,t,a){return e[t]=a}}function u(e,t,a,n){var o=t&&t.prototype instanceof v?t:v,i=Object.create(o.prototype),l=new A(n||[]);return r(i,"_invoke",{value:C(e,a,l)}),i}function p(e,t,a){try{return{type:"normal",arg:e.call(t,a)}}catch(e){return{type:"throw",arg:e}}}t.wrap=u;var d="suspendedStart",h="suspendedYield",f="executing",m="completed",g={};function v(){}function E(){}function y(){}var b={};c(b,i,function(){return this});var w=Object.getPrototypeOf,S=w&&w(w(N([])));S&&S!==a&&n.call(S,i)&&(b=S);var k=y.prototype=v.prototype=Object.create(b);function x(e){["next","throw","return"].forEach(function(t){c(e,t,function(e){return this._invoke(t,e)})})}function O(e,t){function a(r,o,i,l){var s=p(e[r],e,o);if("throw"!==s.type){var c=s.arg,u=c.value;return u&&"object"==typeof u&&n.call(u,"__await")?t.resolve(u.__await).then(function(e){a("next",e,i,l)},function(e){a("throw",e,i,l)}):t.resolve(u).then(function(e){c.value=e,i(c)},function(e){return a("throw",e,i,l)})}l(s.arg)}var o;r(this,"_invoke",{value:function(e,n){function r(){return new t(function(t,r){a(e,n,t,r)})}return o=o?o.then(r,r):r()}})}function C(t,a,n){var r=d;return function(o,i){if(r===f)throw new Error("Generator is already running");if(r===m){if("throw"===o)throw i;return{value:e,done:!0}}for(n.method=o,n.arg=i;;){var l=n.delegate;if(l){var s=L(l,n);if(s){if(s===g)continue;return s}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(r===d)throw r=m,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r=f;var c=p(t,a,n);if("normal"===c.type){if(r=n.done?m:h,c.arg===g)continue;return{value:c.arg,done:n.done}}"throw"===c.type&&(r=m,n.method="throw",n.arg=c.arg)}}}function L(t,a){var n=a.method,r=t.iterator[n];if(r===e)return a.delegate=null,"throw"===n&&t.iterator.return&&(a.method="return",a.arg=e,L(t,a),"throw"===a.method)||"return"!==n&&(a.method="throw",a.arg=new TypeError("The iterator does not provide a '"+n+"' method")),g;var o=p(r,t.iterator,a.arg);if("throw"===o.type)return a.method="throw",a.arg=o.arg,a.delegate=null,g;var i=o.arg;return i?i.done?(a[t.resultName]=i.value,a.next=t.nextLoc,"return"!==a.method&&(a.method="next",a.arg=e),a.delegate=null,g):i:(a.method="throw",a.arg=new TypeError("iterator result is not an object"),a.delegate=null,g)}function T(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function M(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function A(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(T,this),this.reset(!0)}function N(t){if(t||""===t){var a=t[i];if(a)return a.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var r=-1,o=function a(){for(;++r<t.length;)if(n.call(t,r))return a.value=t[r],a.done=!1,a;return a.value=e,a.done=!0,a};return o.next=o}}throw new TypeError(typeof t+" is not iterable")}return E.prototype=y,r(k,"constructor",{value:y,configurable:!0}),r(y,"constructor",{value:E,configurable:!0}),E.displayName=c(y,s,"GeneratorFunction"),t.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===E||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,y):(e.__proto__=y,c(e,s,"GeneratorFunction")),e.prototype=Object.create(k),e},t.awrap=function(e){return{__await:e}},x(O.prototype),c(O.prototype,l,function(){return this}),t.AsyncIterator=O,t.async=function(e,a,n,r,o){void 0===o&&(o=Promise);var i=new O(u(e,a,n,r),o);return t.isGeneratorFunction(a)?i:i.next().then(function(e){return e.done?e.value:i.next()})},x(k),c(k,s,"Generator"),c(k,i,function(){return this}),c(k,"toString",function(){return"[object Generator]"}),t.keys=function(e){var t=Object(e),a=[];for(var n in t)a.push(n);return a.reverse(),function e(){for(;a.length;){var n=a.pop();if(n in t)return e.value=n,e.done=!1,e}return e.done=!0,e}},t.values=N,A.prototype={constructor:A,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(M),!t)for(var a in this)"t"===a.charAt(0)&&n.call(this,a)&&!isNaN(+a.slice(1))&&(this[a]=e)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var a=this;function r(n,r){return l.type="throw",l.arg=t,a.next=n,r&&(a.method="next",a.arg=e),!!r}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],l=i.completion;if("root"===i.tryLoc)return r("end");if(i.tryLoc<=this.prev){var s=n.call(i,"catchLoc"),c=n.call(i,"finallyLoc");if(s&&c){if(this.prev<i.catchLoc)return r(i.catchLoc,!0);if(this.prev<i.finallyLoc)return r(i.finallyLoc)}else if(s){if(this.prev<i.catchLoc)return r(i.catchLoc,!0)}else{if(!c)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return r(i.finallyLoc)}}}},abrupt:function(e,t){for(var a=this.tryEntries.length-1;a>=0;--a){var r=this.tryEntries[a];if(r.tryLoc<=this.prev&&n.call(r,"finallyLoc")&&this.prev<r.finallyLoc){var o=r;break}}o&&("break"===e||"continue"===e)&&o.tryLoc<=t&&t<=o.finallyLoc&&(o=null);var i=o?o.completion:{};return i.type=e,i.arg=t,o?(this.method="next",this.next=o.finallyLoc,g):this.complete(i)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),g},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var a=this.tryEntries[t];if(a.finallyLoc===e)return this.complete(a.completion,a.afterLoc),M(a),g}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var a=this.tryEntries[t];if(a.tryLoc===e){var n=a.completion;if("throw"===n.type){var r=n.arg;M(a)}return r}}throw new Error("illegal catch attempt")},delegateYield:function(t,a,n){return this.delegate={iterator:N(t),resultName:a,nextLoc:n},"next"===this.method&&(this.arg=e),g}},t}var L=function(e){function t(e){var a;return Object(o.a)(this,t),(a=Object(l.a)(this,Object(s.a)(t).call(this,e))).componentDidMount=Object(r.a)(D().mark(function e(){return D().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(void 0===a.props.match.params.teachcode){e.next=40;break}return e.next=3,a.props.getTeacherData(a.props.match.params.teachcode,a.props.match.params.collcode);case 3:a.setState({showSelectedData:!0}),a.setState({college:a.props.teachdata.FCOLLCODE}),a.setState({staff:a.props.teachdata.FSTAFFTYPE}),a.setState({teachcode:a.props.teachdata.FTEACHCODE}),a.setState({nameTitle:a.props.teachdata.FTITLE}),a.setState({teachname:a.props.teachdata.FTEACHNAME}),a.setState({gender:a.props.teachdata.FGENDER}),a.setState({dob:C()(a.props.teachdata.FDOB).format("DD/MM/YYYY")}),a.setState({mobile:a.props.teachdata.FMOBILE}),a.setState({landline:a.props.teachdata.FPHONE}),a.setState({email:a.props.teachdata.FEMAIL}),a.setState({aadhaar:a.props.teachdata.FAADHARNO}),a.setState({address:a.props.teachdata.FADDR1}),a.setState({designation:a.props.teachdata.FDEGNCODE}),a.setState({desnName:a.props.teachdata.fdesname}),a.setState({qualification:a.props.teachdata.FQUAL}),a.setState({salscale:a.props.teachdata.FSCALE}),a.setState({collegeJoinDate:C()(a.props.teachdata.fdoc).format("DD/MM/YYYY")}),a.setState({teacherJoinDate:C()(a.props.teachdata.FDOA).format("DD/MM/YYYY")}),a.setState({ugcTeachDate:C()(a.props.teachdata.FDOJUGC).format("DD/MM/YYYY")}),a.setState({fullTime:a.props.teachdata.FFULLTIME}),a.setState({permanent:a.props.teachdata.FPERMANENT}),a.setState({anyMember:a.props.teachdata.FMEMBER}),a.setState({eligibleValuation:a.props.teachdata.fvalelig}),a.setState({workStatus:a.props.teachdata.FSTATUS}),a.setState({remarks:a.props.teachdata.FREMARKS}),a.setState({accno:a.props.teachdata.FACCNO}),a.setState({ifsc:a.props.teachdata.FIFSCCODE}),a.setState({bankname:a.props.teachdata.FBANKNAME}),a.setState({pan:a.props.teachdata.FPANNO}),a.setState({deggrp:a.props.teachdata.FDEGGRP}),a.setState({photopath:a.props.teachdata.FPHOTO}),a.setState({baord:a.props.teachdata.FBOARD}),a.setState({experience:a.props.teachdata.FEXP}),a.setState({collname:a.props.teachdata.FCOLLNAME}),a.setState({data:a.props.subdata}),"021"==a.props.univcode&&a.setState({dataval:!0});case 40:void 0===a.props.match.params.teachcode&&("021"!=a.props.univcode&&"030"!=a.props.univcode&&"098"!=a.props.univcode||a.setState({dataval:!1})),a.props.getTeacherDesignation(),a.props.fetchDegGrp(),a.props.getCollegeList();case 44:case"end":return e.stop()}},e)})),a.validateEmail=function(e){return/\S+@\S+\.\S+/.test(e)},a.handleSave=Object(r.a)(D().mark(function e(){var t,n,r,o,i,l,s,c,u,p,d,h;return D().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(null===(t=a.state.address)&&(t=""),n=t.replace(/&/g,"and"),r=n.replace("amp;",""),o=r.replace(/"/g," "),i=o.replace(/'/g," "),l=i.replace(/\\/g," "),s=a.validateEmail(a.state.email),null!==a.state.college&&""!==a.state.college){e.next=14;break}return c={header:"Error",content:"Select College"},a.props.showError(c),e.abrupt("return");case 14:if(null!==a.state.mobile&&10===a.state.mobile.length){e.next=20;break}return u={header:"Error",content:"Mobile Number Length Should be 10 Char"},a.props.showError(u),e.abrupt("return");case 20:if(null!==a.state.teachname&&""!==a.state.teachname){e.next=26;break}return p={header:"Error",content:"Teacher name should not be blank"},a.props.showError(p),e.abrupt("return");case 26:if(s){e.next=30;break}return d={header:"Error",content:"Invalid Email Address"},a.props.showError(d),e.abrupt("return");case 30:return(h=new FormData).append("college",a.state.college),h.append("staff",a.state.staff),h.append("nameTitle",a.state.nameTitle),h.append("teachcode",a.state.teachcode),h.append("teachname",a.state.teachname),h.append("gender",a.state.gender),h.append("dob",a.state.dob),h.append("mobile",a.state.mobile),h.append("landline",a.state.landline),h.append("email",a.state.email),h.append("aadhaar",a.state.aadhaar),h.append("address",l),h.append("designation",a.state.designation),h.append("desnname",a.state.desnName),h.append("desName",a.state.desnName),h.append("qualification",a.state.qualification),h.append("salscale",a.state.salscale),h.append("collegeJoinDate",a.state.collegeJoinDate),h.append("teacherJoinDate",a.state.teacherJoinDate),h.append("ugcTeachDate",a.state.ugcTeachDate),h.append("fullTime",a.state.fullTime),h.append("permanent",a.state.permanent),h.append("anyMember",a.state.anyMember),h.append("eligibleValuation",a.state.eligibleValuation),h.append("workStatus",a.state.workStatus),h.append("remarks",a.state.remarks),h.append("accno",a.state.accno),h.append("ifsc",a.state.ifsc),h.append("bankname",a.state.bankname),h.append("pan",a.state.pan),h.append("deggrp",a.state.deggrp),h.append("sem",a.state.sem),h.append("board",a.state.baord),h.append("data",JSON.stringify(a.state.data)),h.append("univcode",a.props.univcode),h.append("collname",a.state.collname),h.append("experience",a.state.experience),e.next=70,a.props.saveTeacherEntry(h);case 70:a.setState({college:"",collname:"",staff:"Teaching",nameTitle:"Mr.",teachcode:"",teachname:"",gender:"",dob:"",mobile:"",landline:"",email:"",aadhaar:"",address:"",designation:"",desnName:"",qualification:"",salscale:"",collegeJoinDate:"",teacherJoinDate:"",ugcTeachDate:"",fullTime:"",permanent:"",anyMember:"",eligibleValuation:"",workStatus:"",remarks:"",accno:"",ifsc:"",bankname:"",pan:"",deggrp:"",sem:"ALL",baord:"",data:[],file:null,photopath:"",open:!1,showSelectedData:!1,experience:"",dataval:!0});case 71:case"end":return e.stop()}},e)})),a.arr=[],a.obj={},a.getCheckedIteams=function(){var e=Object(r.a)(D().mark(function e(t,n,r){return D().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(a.setState({showSelectedData:!0}),a.arr=a.state.data,!0!==n.target.checked){e.next=11;break}return a.obj=t,a.obj.fdeleted="",e.next=7,a.arr.push(a.obj);case 7:return e.next=9,a.setState({data:a.arr});case 9:e.next=13;break;case 11:a.arr.splice(a.arr.findIndex(function(e){return e.fqpcode===r}),1),a.setState({data:a.arr});case 13:case"end":return e.stop()}},e)}));return function(t,a,n){return e.apply(this,arguments)}}(),a.deleteItems=function(e,t,n){var r=[];a.state.data.map(function(a,n){t.target.checked?e.fqpcode===a.fqpcode&&(a.fdeleted="T"):a.fdeleted="",r.push(a)});a.setState({data:r})},a.handleChangePhoto=function(e){a.setState({file:e.target.files[0]})},a.handleCancel=function(){a.setState({college:"",collname:"",staff:"Teaching",nameTitle:"Mr.",teachcode:"",teachname:"",gender:"",dob:"",mobile:"",landline:"",email:"",aadhaar:"",address:"",designation:"",desnName:"",qualification:"",salscale:"",collegeJoinDate:"",teacherJoinDate:"",ugcTeachDate:"",fullTime:"",permanent:"",anyMember:"",eligibleValuation:"",workStatus:"",remarks:"",accno:"",ifsc:"",bankname:"",pan:"",deggrp:"",sem:"ALL",baord:"",data:[],file:null,photopath:"",open:!1,showSelectedData:!1,experience:"",dataval:!0})},a.checkMobileNo=Object(r.a)(D().mark(function e(){return D().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,a.props.checkTeachMobileNo(a.state.mobile,a.props.univcode);case 2:case"end":return e.stop()}},e)})),a.state={college:"",collname:"",staff:"Teaching",nameTitle:"Mr.",teachcode:"",teachname:"",gender:"",dob:"",mobile:"",landline:"",email:"",aadhaar:"",address:"",designation:"",desnName:"",qualification:"",salscale:"",collegeJoinDate:"",teacherJoinDate:"",ugcTeachDate:"",fullTime:"",permanent:"",anyMember:"",eligibleValuation:"",workStatus:"",remarks:"",accno:"",ifsc:"",bankname:"",pan:"",deggrp:"",sem:"ALL",baord:"",data:[],file:null,photopath:"",open:!1,showSelectedData:!1,experience:"",dataval:!0},a}return Object(c.a)(t,e),Object(i.a)(t,[{key:"render",value:function(){var e=this,t=this.props.teachDesignation.map(function(e,t){return{key:e.FDEGNCODE,text:e.FDEGNDESC,value:e.FDEGNCODE}}),a=this.props.deggrp.map(function(e,t){return{key:e.fdeggrp,text:e.fdeggrp+" - "+e.fdescpn,value:e.fdeggrp}}),r=this.props.teachBoard.map(function(e,t){return{key:e.code,text:e.code+" - "+e.value,value:e.code}}),o=this.props.collegeList.map(function(e){return{value:e.fcollcode,text:"".concat(e.fcollcode," ").concat(e.fcollname)}}),i=Object(n.a)(r);return p.a.createElement("div",null,p.a.createElement(f.a,{fluid:!0},p.a.createElement(f.a.Content,null,p.a.createElement(f.a.Header,{style:{display:"flex"}},p.a.createElement("h3",null,"Teacher Entry"),p.a.createElement("div",{className:"ml-auto"},p.a.createElement(d.a,{to:{pathname:"/masters/viewTeacherEntry/"}},p.a.createElement(m.a,{basic:!0,icon:"eye",content:"View / Edit",color:"blue"})),p.a.createElement(m.a,{basic:!0,color:"green",icon:"save",onClick:this.handleSave,content:"Save"}),p.a.createElement(m.a,{basic:!0,color:"black",icon:"ban",onClick:this.handleCancel,content:"Cancel"}),p.a.createElement(d.a,{to:"/dashboard"},p.a.createElement(m.a,{basic:!0,color:"red",content:"Exit",icon:"home"})))),p.a.createElement(g.a,null),p.a.createElement(f.a.Description,{style:{height:"625px",overflowY:"auto"}},p.a.createElement("h4",{style:{background:"green",color:"#fff",padding:"5px 10px"}},"Personal Details"),p.a.createElement(v.a,null,p.a.createElement("table",null,p.a.createElement("tr",null,p.a.createElement("td",{style:{padding:"5px"}},p.a.createElement("b",null,"Staff Type")),p.a.createElement("td",{style:{padding:"5px"}},p.a.createElement(E.a,{search:!0,selection:!0,value:this.state.staff,options:[{key:"Teaching",text:"Teaching",value:"Teaching"}],onChange:function(t,a){return e.setState({staff:a.value})}}))),p.a.createElement("tr",null,p.a.createElement("td",{style:{padding:"5px"}},p.a.createElement("b",null,"Teacher Code")),p.a.createElement("td",{style:{padding:"5px"}},p.a.createElement(v.a.Input,{disabled:this.state.dataval,width:16,placeholder:"Teacher Code",value:this.state.teachcode,onChange:function(t,a){return e.setState({teachcode:t.target.value})}}))),p.a.createElement("tr",null,p.a.createElement("td",{style:{padding:"5px"}},p.a.createElement("b",null,"Teacher Name")),p.a.createElement("td",{style:{display:"flex",padding:"5px"}},p.a.createElement(E.a,{fluid:!0,search:!0,selection:!0,options:[{key:"Mr.",text:"Mr.",value:"Mr."},{key:"Mrs.",text:"Mrs.",value:"Mrs."},{key:"Miss.",text:"Miss",value:"Miss."},{key:"Dr.",text:"Dr.",value:"Dr."},{key:"Prof.",text:"Prof.",value:"Prof."}],value:this.state.nameTitle,onChange:function(t,a){return e.setState({nameTitle:a.value})}}),p.a.createElement(v.a.Input,{style:{width:"300px",marginLeft:"10px"},placeholder:"Teacher Name",value:this.state.teachname,onChange:function(t,a){return e.setState({teachname:a.value})}}))),p.a.createElement("tr",null,p.a.createElement("td",{style:{padding:"5px"}},p.a.createElement("b",null,"Gender")),p.a.createElement("td",{style:{padding:"5px"}},p.a.createElement("div",{onChange:function(t){return e.setState({gender:t.target.value})},style:{display:"flex",gap:"20px",marginLeft:"5px"}},p.a.createElement("div",null,p.a.createElement("input",{type:"radio",value:"Male",name:"gender",checked:"Male"===this.state.gender&&"Male",style:{marginRight:"5px"}}),"Male"),p.a.createElement("div",null,p.a.createElement("input",{type:"radio",value:"Female",name:"gender",checked:"Female"===this.state.gender&&"Female",style:{marginRight:"5px"}}),"Female"),p.a.createElement("div",null,p.a.createElement("input",{type:"radio",value:"Other",name:"gender",checked:"Other"===this.state.gender&&"Other",style:{marginRight:"5px"}}),"Other")))),p.a.createElement("tr",null,p.a.createElement("td",{style:{padding:"5px"}},p.a.createElement("b",null,"Date Of Birth")),p.a.createElement("td",{style:{padding:"5px"}},p.a.createElement(S.a,{formatChars:{n:"[0-1]",m:"[0-9]",e:"[0-3]",d:"[0-9]",z:"[1-2]",y:"[0-9]"},type:"text",value:this.state.dob,mask:"ed/nm/zyyy",placeholder:"DD/MM/YYYY",name:"dob",onChange:function(t){return e.setState({dob:t.target.value})}}))),p.a.createElement("tr",null,p.a.createElement("td",{style:{padding:"5px"}},p.a.createElement("b",null,"Mobile No.")),p.a.createElement("td",{style:{padding:"5px"}},p.a.createElement(v.a.Input,{placeholder:"Mobile No.",value:this.state.mobile,onBlur:this.checkMobileNo,onChange:function(t,a){(""===t.target.value||/^[0-9\b]+$/.test(t.target.value))&&e.setState({mobile:a.value})},maxLength:"10"}))),p.a.createElement("tr",null,p.a.createElement("td",{style:{padding:"5px"}},p.a.createElement("b",null,"Land Line No.")),p.a.createElement("td",{style:{padding:"5px"}},p.a.createElement(v.a.Input,{placeholder:"Landline No.",value:this.state.landline,onChange:function(t,a){(""===t.target.value||/^[0-9\b]+$/.test(t.target.value))&&e.setState({landline:a.value})},maxLength:"10"}))),p.a.createElement("tr",null,p.a.createElement("td",{style:{padding:"5px"}},p.a.createElement("b",null,"Email ID")),p.a.createElement("td",{style:{padding:"5px"}},p.a.createElement(v.a.Input,{placeholder:"example@gmail.com",value:this.state.email,onChange:function(t,a){return e.setState({email:a.value})}}))),p.a.createElement("tr",null,p.a.createElement("td",{style:{padding:"5px"}},p.a.createElement("b",null,"Aadhaar No.")),p.a.createElement("td",{style:{padding:"5px"}},p.a.createElement(v.a.Input,{placeholder:"Aadhaar No.",value:this.state.aadhaar,onChange:function(t,a){(""===t.target.value||/^[0-9\b]+$/.test(t.target.value))&&e.setState({aadhaar:a.value})},maxLength:"12"}))),p.a.createElement("tr",null,p.a.createElement("td",{style:{padding:"5px"}},p.a.createElement("b",null,"Address")),p.a.createElement("td",{style:{padding:"5px"}},p.a.createElement(y.a,{placeholder:"Address",value:this.state.address,onChange:function(t,a){e.setState({address:a.value})}})))),p.a.createElement(g.a,null),p.a.createElement("h4",{style:{background:"green",color:"#fff",padding:"5px 10px"}},"Academic Details"),p.a.createElement("table",null,p.a.createElement("tr",null,p.a.createElement("td",{style:{padding:"5px"}},p.a.createElement("b",null,"College")),p.a.createElement("td",null,p.a.createElement(E.a,{style:{width:"400px",marginLeft:"4px"},placeholder:"Select College",search:!0,selection:!0,value:this.state.college,options:o,onChange:function(t,a){return e.setState({college:a.value})}}))),"9999"===this.state.college&&p.a.createElement("tr",null,p.a.createElement("td",{style:{padding:"5px"}},p.a.createElement("b",null," Coll. Name")),p.a.createElement("td",{style:{padding:"5px"}},p.a.createElement("input",{placeholder:"College Name",type:"text",value:this.state.collname,onChange:function(t){return e.setState({collname:t.target.value})},style:{width:"100%"}}))),p.a.createElement("tr",null,p.a.createElement("td",{style:{padding:"5px"}},p.a.createElement("b",null,"Designation")),p.a.createElement("td",{style:{padding:"5px"}},p.a.createElement(E.a,{style:{width:"400px"},placeholder:"Select",search:!0,selection:!0,options:t,value:this.state.designation,onChange:function(t,a){return e.setState({designation:a.value})}}))),"10"===this.state.designation&&p.a.createElement("tr",null,p.a.createElement("td",{style:{padding:"5px"}},p.a.createElement("b",null,"Designation")),p.a.createElement("td",{style:{padding:"5px"}},p.a.createElement(v.a.Input,{placeholder:"Enter Designation",value:this.state.desnName,onChange:function(t,a){return e.setState({desnName:a.value})}}))),p.a.createElement("tr",null,p.a.createElement("td",{style:{padding:"5px"}},p.a.createElement("b",null,"Qualification")),p.a.createElement("td",{style:{padding:"5px"}},p.a.createElement(v.a.Input,{placeholder:"Qualification",value:this.state.qualification,onChange:function(t,a){return e.setState({qualification:a.value})}}))),p.a.createElement("tr",null,p.a.createElement("td",{style:{padding:"5px"}},p.a.createElement("b",null,"Total Experience.")),p.a.createElement("td",{style:{padding:"5px"}},p.a.createElement(v.a.Input,{placeholder:"Experience",value:this.state.experience,onChange:function(t,a){return e.setState({experience:a.value})}})))),p.a.createElement(g.a,null),p.a.createElement("h4",{style:{background:"green",color:"#fff",padding:"5px 10px"}},"Bank Details"),p.a.createElement("table",null,p.a.createElement("tr",null,p.a.createElement("td",{style:{padding:"5px"}},p.a.createElement("b",null," Bank Account No. ")),p.a.createElement("td",{style:{padding:"5px"}},p.a.createElement(v.a.Input,{style:{width:"300px"},placeholder:"Bank Account No.",value:this.state.accno,onChange:function(t,a){return e.setState({accno:a.value})}}))),p.a.createElement("tr",null,p.a.createElement("td",{style:{padding:"5px"}},p.a.createElement("b",null," Bank IFSC Code ")),p.a.createElement("td",{style:{padding:"5px"}},p.a.createElement(v.a.Input,{placeholder:"Bank IFSC Code",value:this.state.ifsc,onChange:function(t,a){return e.setState({ifsc:a.value})}}))),p.a.createElement("tr",null,p.a.createElement("td",{style:{padding:"5px"}},p.a.createElement("b",null," Bank Name ")),p.a.createElement("td",{style:{padding:"5px"}},p.a.createElement(v.a.Input,{placeholder:"Bank Name",value:this.state.bankname,onChange:function(t,a){return e.setState({bankname:a.value})}}))),p.a.createElement("tr",null,p.a.createElement("td",{style:{padding:"5px"}},p.a.createElement("b",null," PAN No. ")),p.a.createElement("td",{style:{padding:"5px"}},p.a.createElement(v.a.Input,{placeholder:"PAN No.",value:this.state.pan,onChange:function(t,a){return e.setState({pan:a.value})}})))),p.a.createElement(g.a,null),p.a.createElement("h4",{style:{background:"green",color:"#fff",padding:"5px 10px"}},"Subjects for Valuation"),p.a.createElement("table",null,p.a.createElement("tr",null,p.a.createElement("td",{style:{padding:"5px"}},p.a.createElement("b",null,"Degree Group")),p.a.createElement("td",{style:{padding:"5px"}},p.a.createElement(E.a,{placeholder:"Select",search:!0,selection:!0,value:this.state.deggrp,options:a,onChange:function(t,a){e.setState({deggrp:a.value}),e.props.getTeachBoardDetails(a.value),e.props.getQPSubjects(a.value,e.state.sem,e.state.baord),e.setState({open:!0})}}))),p.a.createElement("tr",null,p.a.createElement("td",{style:{padding:"5px"}},p.a.createElement("b",null,"Board")),p.a.createElement("td",{style:{padding:"5px"}},p.a.createElement(E.a,{placeholder:"Select",search:!0,selection:!0,value:this.state.baord,options:i,onChange:function(t,a){e.setState({baord:a.value}),e.props.getQPSubjects(e.state.deggrp,e.state.sem,a.value)}})))))))))}}]),t}(u.Component);t.default=Object(h.b)(function(e){return{univcode:e.univ.funivcode,teachDesignation:e.teachDesignation,deggrp:e.deggrp,teachBoard:e.teachBoard,collegeList:e.collegeList,teachBoardDet:e.teachBoardDet,teachdata:e.getTeacherData.det,subdata:e.getTeacherData.sub}},{showError:b.A,getTeacherDesignation:k.l,fetchDegGrp:b.j,getTeachBoardDetails:k.j,getCollegeList:x.e,getQPSubjects:k.i,saveTeacherEntry:k.q,getTeacherData:k.k,checkTeachMobileNo:k.c})(L)},275:function(e,t,a){e.exports=a(276)},276:function(e,t,a){"use strict";var n,r=(n=a(2))&&"object"==typeof n&&"default"in n?n.default:n,o=a(106);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var n in a)Object.prototype.hasOwnProperty.call(a,n)&&(e[n]=a[n])}return e}).apply(this,arguments)}function l(e,t){e.prototype=Object.create(t.prototype),function(e,t){for(var a=Object.getOwnPropertyNames(t),n=0;n<a.length;n++){var r=a[n],o=Object.getOwnPropertyDescriptor(t,r);o&&o.configurable&&void 0===e[r]&&Object.defineProperty(e,r,o)}}(e.prototype.constructor=e,t)}function s(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}var c=function(e,t,a,n,r,o,i,l){if(!e){var s;if(void 0===t)s=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var c=[a,n,r,o,i,l],u=0;(s=new Error(t.replace(/%s/g,function(){return c[u++]}))).name="Invariant Violation"}throw s.framesToPop=1,s}};function u(e,t,a){if("selectionStart"in e&&"selectionEnd"in e)e.selectionStart=t,e.selectionEnd=a;else{var n=e.createTextRange();n.collapse(!0),n.moveStart("character",t),n.moveEnd("character",a-t),n.select()}}var p={9:"[0-9]",a:"[A-Za-z]","*":"[A-Za-z0-9]"},d="_";function h(e,t,a){var n="",r="",o=null,i=[];if(void 0===t&&(t=d),null==a&&(a=p),!e||"string"!=typeof e)return{maskChar:t,formatChars:a,mask:null,prefix:null,lastEditablePosition:null,permanents:[]};var l=!1;return e.split("").forEach(function(e){l=!l&&"\\"===e||(l||!a[e]?(i.push(n.length),n.length===i.length-1&&(r+=e)):o=n.length+1,n+=e,!1)}),{maskChar:t,formatChars:a,prefix:r,mask:n,lastEditablePosition:o,permanents:i}}function f(e,t){return-1!==e.permanents.indexOf(t)}function m(e,t,a){var n=e.mask,r=e.formatChars;if(!a)return!1;if(f(e,t))return n[t]===a;var o=r[n[t]];return new RegExp(o).test(a)}function g(e,t){return t.split("").every(function(t,a){return f(e,a)||!m(e,a,t)})}function v(e,t){var a=e.maskChar,n=e.prefix;if(!a){for(;t.length>n.length&&f(e,t.length-1);)t=t.slice(0,t.length-1);return t.length}for(var r=n.length,o=t.length;o>=n.length;o--){var i=t[o];if(!f(e,o)&&m(e,o,i)){r=o+1;break}}return r}function E(e,t){return v(e,t)===e.mask.length}function y(e,t){var a=e.maskChar,n=e.mask,r=e.prefix;if(!a){for((t=b(e,"",t,0)).length<r.length&&(t=r);t.length<n.length&&f(e,t.length);)t+=n[t.length];return t}if(t)return b(e,y(e,""),t,0);for(var o=0;o<n.length;o++)f(e,o)?t+=n[o]:t+=a;return t}function b(e,t,a,n){var r=e.mask,o=e.maskChar,i=e.prefix,l=a.split(""),s=E(e,t);return!o&&n>t.length&&(t+=r.slice(t.length,n)),l.every(function(a){for(;u=a,f(e,c=n)&&u!==r[c];){if(n>=t.length&&(t+=r[n]),l=a,o&&f(e,n)&&l===o)return!0;if(++n>=r.length)return!1}var l,c,u;return!m(e,n,a)&&a!==o||(n<t.length?t=o||s||n<i.length?t.slice(0,n)+a+t.slice(n+1):(t=t.slice(0,n)+a+t.slice(n),y(e,t)):o||(t+=a),++n<r.length)}),t}function w(e,t){for(var a=e.mask,n=t;n<a.length;++n)if(!f(e,n))return n;return null}function S(e){return e||0===e?e+"":""}function k(e,t,a,n,r){var o=e.mask,i=e.prefix,l=e.lastEditablePosition,s=t,c="",u=0,p=0,d=Math.min(r.start,a.start);return a.end>r.start?p=(u=function(e,t,a,n){var r=e.mask,o=e.maskChar,i=a.split(""),l=n;return i.every(function(t){for(;i=t,f(e,a=n)&&i!==r[a];)if(++n>=r.length)return!1;var a,i;return(m(e,n,t)||t===o)&&n++,n<r.length}),n-l}(e,0,c=s.slice(r.start,a.end),d))?r.length:0:s.length<n.length&&(p=n.length-s.length),s=n,p&&(1!==p||r.length||(d=r.start===a.start?w(e,a.start):function(e,t){for(var a=t;0<=a;--a)if(!f(e,a))return a;return null}(e,a.start)),s=function(e,t,a,n){var r=a+n,o=e.maskChar,i=e.mask,l=e.prefix,s=t.split("");if(o)return s.map(function(t,n){return n<a||r<=n?t:f(e,n)?i[n]:o}).join("");for(var c=r;c<s.length;c++)f(e,c)&&(s[c]="");return a=Math.max(l.length,a),s.splice(a,r-a),t=s.join(""),y(e,t)}(e,s,d,p)),s=b(e,s,c,d),(d+=u)>=o.length?d=o.length:d<i.length&&!u?d=i.length:d>=i.length&&d<l&&u&&(d=w(e,d)),c||(c=null),{value:s=y(e,s),enteredString:c,selection:{start:d,end:d}}}function x(e){return"function"==typeof e}function O(){return window.cancelAnimationFrame||window.webkitCancelRequestAnimationFrame||window.webkitCancelAnimationFrame||window.mozCancelAnimationFrame}function C(e){return(O()?window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame:function(){return setTimeout(e,1e3/60)})(e)}function D(e){(O()||clearTimeout)(e)}var L=function(e){function t(t){var a=e.call(this,t)||this;a.focused=!1,a.mounted=!1,a.previousSelection=null,a.selectionDeferId=null,a.saveSelectionLoopDeferId=null,a.saveSelectionLoop=function(){a.previousSelection=a.getSelection(),a.saveSelectionLoopDeferId=C(a.saveSelectionLoop)},a.runSaveSelectionLoop=function(){null===a.saveSelectionLoopDeferId&&a.saveSelectionLoop()},a.stopSaveSelectionLoop=function(){null!==a.saveSelectionLoopDeferId&&(D(a.saveSelectionLoopDeferId),a.saveSelectionLoopDeferId=null,a.previousSelection=null)},a.getInputDOMNode=function(){if(!a.mounted)return null;var e=o.findDOMNode(s(s(a))),t="undefined"!=typeof window&&e instanceof window.Element;if(e&&!t)return null;if("INPUT"!==e.nodeName&&(e=e.querySelector("input")),!e)throw new Error("react-input-mask: inputComponent doesn't contain input node");return e},a.getInputValue=function(){var e=a.getInputDOMNode();return e?e.value:null},a.setInputValue=function(e){var t=a.getInputDOMNode();t&&(a.value=e,t.value=e)},a.setCursorToEnd=function(){var e=v(a.maskOptions,a.value),t=w(a.maskOptions,e);null!==t&&a.setCursorPosition(t)},a.setSelection=function(e,t,n){void 0===n&&(n={});var r=a.getInputDOMNode(),o=a.isFocused();r&&o&&(n.deferred||u(r,e,t),null!==a.selectionDeferId&&D(a.selectionDeferId),a.selectionDeferId=C(function(){a.selectionDeferId=null,u(r,e,t)}),a.previousSelection={start:e,end:t,length:Math.abs(t-e)})},a.getSelection=function(){return function(e){var t=0,a=0;if("selectionStart"in e&&"selectionEnd"in e)t=e.selectionStart,a=e.selectionEnd;else{var n=document.selection.createRange();n.parentElement()===e&&(t=-n.moveStart("character",-e.value.length),a=-n.moveEnd("character",-e.value.length))}return{start:t,end:a,length:a-t}}(a.getInputDOMNode())},a.getCursorPosition=function(){return a.getSelection().start},a.setCursorPosition=function(e){a.setSelection(e,e)},a.isFocused=function(){return a.focused},a.getBeforeMaskedValueChangeConfig=function(){var e=a.maskOptions,t=e.mask,n=e.maskChar,r=e.permanents,o=e.formatChars;return{mask:t,maskChar:n,permanents:r,alwaysShowMask:!!a.props.alwaysShowMask,formatChars:o}},a.isInputAutofilled=function(e,t,n,r){var o=a.getInputDOMNode();try{if(o.matches(":-webkit-autofill"))return!0}catch(c){}return!a.focused||r.end<n.length&&t.end===e.length},a.onChange=function(e){var t=s(s(a)).beforePasteState,n=s(s(a)).previousSelection,r=a.props.beforeMaskedValueChange,o=a.getInputValue(),i=a.value,l=a.getSelection();a.isInputAutofilled(o,l,i,n)&&(i=y(a.maskOptions,""),n={start:0,end:0,length:0}),t&&(n=t.selection,i=t.value,l={start:n.start+o.length,end:n.start+o.length,length:0},o=i.slice(0,n.start)+o+i.slice(n.end),a.beforePasteState=null);var c=k(a.maskOptions,o,l,i,n),u=c.enteredString,p=c.selection,d=c.value;if(x(r)){var h=r({value:d,selection:p},{value:i,selection:n},u,a.getBeforeMaskedValueChangeConfig());d=h.value,p=h.selection}a.setInputValue(d),x(a.props.onChange)&&a.props.onChange(e),a.isWindowsPhoneBrowser?a.setSelection(p.start,p.end,{deferred:!0}):a.setSelection(p.start,p.end)},a.onFocus=function(e){var t=a.props.beforeMaskedValueChange,n=a.maskOptions,r=n.mask,o=n.prefix;if(a.focused=!0,a.mounted=!0,r){if(a.value)v(a.maskOptions,a.value)<a.maskOptions.mask.length&&a.setCursorToEnd();else{var i=y(a.maskOptions,o),l=y(a.maskOptions,i),s=v(a.maskOptions,l),c=w(a.maskOptions,s),u={start:c,end:c};if(x(t)){var p=t({value:l,selection:u},{value:a.value,selection:null},null,a.getBeforeMaskedValueChangeConfig());l=p.value,u=p.selection}var d=l!==a.getInputValue();d&&a.setInputValue(l),d&&x(a.props.onChange)&&a.props.onChange(e),a.setSelection(u.start,u.end)}a.runSaveSelectionLoop()}x(a.props.onFocus)&&a.props.onFocus(e)},a.onBlur=function(e){var t=a.props.beforeMaskedValueChange,n=a.maskOptions.mask;if(a.stopSaveSelectionLoop(),a.focused=!1,n&&!a.props.alwaysShowMask&&g(a.maskOptions,a.value)){var r="";x(t)&&(r=t({value:r,selection:null},{value:a.value,selection:a.previousSelection},null,a.getBeforeMaskedValueChangeConfig()).value);var o=r!==a.getInputValue();o&&a.setInputValue(r),o&&x(a.props.onChange)&&a.props.onChange(e)}x(a.props.onBlur)&&a.props.onBlur(e)},a.onMouseDown=function(e){if(!a.focused&&document.addEventListener){a.mouseDownX=e.clientX,a.mouseDownY=e.clientY,a.mouseDownTime=(new Date).getTime();document.addEventListener("mouseup",function e(t){if(document.removeEventListener("mouseup",e),a.focused){var n=Math.abs(t.clientX-a.mouseDownX),r=Math.abs(t.clientY-a.mouseDownY),o=Math.max(n,r),i=(new Date).getTime()-a.mouseDownTime;(o<=10&&i<=200||o<=5&&i<=300)&&a.setCursorToEnd()}})}x(a.props.onMouseDown)&&a.props.onMouseDown(e)},a.onPaste=function(e){x(a.props.onPaste)&&a.props.onPaste(e),e.defaultPrevented||(a.beforePasteState={value:a.getInputValue(),selection:a.getSelection()},a.setInputValue(""))},a.handleRef=function(e){null==a.props.children&&x(a.props.inputRef)&&a.props.inputRef(e)};var n=t.mask,r=t.maskChar,i=t.formatChars,l=t.alwaysShowMask,c=t.beforeMaskedValueChange,p=t.defaultValue,d=t.value;a.maskOptions=h(n,r,i),null==p&&(p=""),null==d&&(d=p);var f=S(d);if(a.maskOptions.mask&&(l||f)&&(f=y(a.maskOptions,f),x(c))){var m=t.value;null==t.value&&(m=p),f=c({value:f,selection:null},{value:m=S(m),selection:null},null,a.getBeforeMaskedValueChangeConfig()).value}return a.value=f,a}l(t,e);var a=t.prototype;return a.componentDidMount=function(){this.mounted=!0,this.getInputDOMNode()&&(this.isWindowsPhoneBrowser=function(){var e=new RegExp("windows","i"),t=new RegExp("phone","i"),a=navigator.userAgent;return e.test(a)&&t.test(a)}(),this.maskOptions.mask&&this.getInputValue()!==this.value&&this.setInputValue(this.value))},a.componentDidUpdate=function(){var e=this.previousSelection,t=this.props,a=t.beforeMaskedValueChange,n=t.alwaysShowMask,r=t.mask,o=t.maskChar,i=t.formatChars,l=this.maskOptions,s=n||this.isFocused(),c=null!=this.props.value,u=c?S(this.props.value):this.value,p=e?e.start:null;if(this.maskOptions=h(r,o,i),this.maskOptions.mask){!l.mask&&this.isFocused()&&this.runSaveSelectionLoop();var d=this.maskOptions.mask&&this.maskOptions.mask!==l.mask;if(l.mask||c||(u=this.getInputValue()),(d||this.maskOptions.mask&&(u||s))&&(u=y(this.maskOptions,u)),d){var f=v(this.maskOptions,u);(null===p||f<p)&&(p=E(this.maskOptions,u)?f:w(this.maskOptions,f))}!this.maskOptions.mask||!g(this.maskOptions,u)||s||c&&this.props.value||(u="");var m={start:p,end:p};if(x(a)){var b=a({value:u,selection:m},{value:this.value,selection:this.previousSelection},null,this.getBeforeMaskedValueChangeConfig());u=b.value,m=b.selection}this.value=u;var k=this.getInputValue()!==this.value;k?(this.setInputValue(this.value),this.forceUpdate()):d&&this.forceUpdate();var O=!1;null!=m.start&&null!=m.end&&(O=!e||e.start!==m.start||e.end!==m.end),(O||k)&&this.setSelection(m.start,m.end)}else l.mask&&(this.stopSaveSelectionLoop(),this.forceUpdate())},a.componentWillUnmount=function(){this.mounted=!1,null!==this.selectionDeferId&&D(this.selectionDeferId),this.stopSaveSelectionLoop()},a.render=function(){var e,t=this.props,a=(t.mask,t.alwaysShowMask,t.maskChar,t.formatChars,t.inputRef,t.beforeMaskedValueChange,t.children),n=function(e,t){if(null==e)return{};var a,n,r={},o=Object.keys(e);for(n=0;n<o.length;n++)a=o[n],0<=t.indexOf(a)||(r[a]=e[a]);return r}(t,["mask","alwaysShowMask","maskChar","formatChars","inputRef","beforeMaskedValueChange","children"]);if(a){x(a)||c(!1);var o=["onChange","onPaste","onMouseDown","onFocus","onBlur","value","disabled","readOnly"],l=i({},n);o.forEach(function(e){return delete l[e]}),e=a(l),o.filter(function(t){return null!=e.props[t]&&e.props[t]!==n[t]}).length&&c(!1)}else e=r.createElement("input",i({ref:this.handleRef},n));var s={onFocus:this.onFocus,onBlur:this.onBlur};return this.maskOptions.mask&&(n.disabled||n.readOnly||(s.onChange=this.onChange,s.onPaste=this.onPaste,s.onMouseDown=this.onMouseDown),null!=n.value&&(s.value=this.value)),e=r.cloneElement(e,s)},t}(r.Component);e.exports=L},368:function(e,t,a){"use strict";a.d(t,"b",function(){return l}),a.d(t,"a",function(){return s}),a.d(t,"e",function(){return c}),a.d(t,"c",function(){return u}),a.d(t,"d",function(){return p}),a.d(t,"f",function(){return d}),a.d(t,"g",function(){return h}),a.d(t,"h",function(){return f});var n=a(68),r=a(271),o=a(267);function i(){i=function(){return t};var e,t={},a=Object.prototype,n=a.hasOwnProperty,r=Object.defineProperty||function(e,t,a){e[t]=a.value},o="function"==typeof Symbol?Symbol:{},l=o.iterator||"@@iterator",s=o.asyncIterator||"@@asyncIterator",c=o.toStringTag||"@@toStringTag";function u(e,t,a){return Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{u({},"")}catch(e){u=function(e,t,a){return e[t]=a}}function p(e,t,a,n){var o=t&&t.prototype instanceof E?t:E,i=Object.create(o.prototype),l=new A(n||[]);return r(i,"_invoke",{value:D(e,a,l)}),i}function d(e,t,a){try{return{type:"normal",arg:e.call(t,a)}}catch(e){return{type:"throw",arg:e}}}t.wrap=p;var h="suspendedStart",f="suspendedYield",m="executing",g="completed",v={};function E(){}function y(){}function b(){}var w={};u(w,l,function(){return this});var S=Object.getPrototypeOf,k=S&&S(S(N([])));k&&k!==a&&n.call(k,l)&&(w=k);var x=b.prototype=E.prototype=Object.create(w);function O(e){["next","throw","return"].forEach(function(t){u(e,t,function(e){return this._invoke(t,e)})})}function C(e,t){function a(r,o,i,l){var s=d(e[r],e,o);if("throw"!==s.type){var c=s.arg,u=c.value;return u&&"object"==typeof u&&n.call(u,"__await")?t.resolve(u.__await).then(function(e){a("next",e,i,l)},function(e){a("throw",e,i,l)}):t.resolve(u).then(function(e){c.value=e,i(c)},function(e){return a("throw",e,i,l)})}l(s.arg)}var o;r(this,"_invoke",{value:function(e,n){function r(){return new t(function(t,r){a(e,n,t,r)})}return o=o?o.then(r,r):r()}})}function D(t,a,n){var r=h;return function(o,i){if(r===m)throw new Error("Generator is already running");if(r===g){if("throw"===o)throw i;return{value:e,done:!0}}for(n.method=o,n.arg=i;;){var l=n.delegate;if(l){var s=L(l,n);if(s){if(s===v)continue;return s}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(r===h)throw r=g,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r=m;var c=d(t,a,n);if("normal"===c.type){if(r=n.done?g:f,c.arg===v)continue;return{value:c.arg,done:n.done}}"throw"===c.type&&(r=g,n.method="throw",n.arg=c.arg)}}}function L(t,a){var n=a.method,r=t.iterator[n];if(r===e)return a.delegate=null,"throw"===n&&t.iterator.return&&(a.method="return",a.arg=e,L(t,a),"throw"===a.method)||"return"!==n&&(a.method="throw",a.arg=new TypeError("The iterator does not provide a '"+n+"' method")),v;var o=d(r,t.iterator,a.arg);if("throw"===o.type)return a.method="throw",a.arg=o.arg,a.delegate=null,v;var i=o.arg;return i?i.done?(a[t.resultName]=i.value,a.next=t.nextLoc,"return"!==a.method&&(a.method="next",a.arg=e),a.delegate=null,v):i:(a.method="throw",a.arg=new TypeError("iterator result is not an object"),a.delegate=null,v)}function T(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function M(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function A(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(T,this),this.reset(!0)}function N(t){if(t||""===t){var a=t[l];if(a)return a.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var r=-1,o=function a(){for(;++r<t.length;)if(n.call(t,r))return a.value=t[r],a.done=!1,a;return a.value=e,a.done=!0,a};return o.next=o}}throw new TypeError(typeof t+" is not iterable")}return y.prototype=b,r(x,"constructor",{value:b,configurable:!0}),r(b,"constructor",{value:y,configurable:!0}),y.displayName=u(b,c,"GeneratorFunction"),t.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===y||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,b):(e.__proto__=b,u(e,c,"GeneratorFunction")),e.prototype=Object.create(x),e},t.awrap=function(e){return{__await:e}},O(C.prototype),u(C.prototype,s,function(){return this}),t.AsyncIterator=C,t.async=function(e,a,n,r,o){void 0===o&&(o=Promise);var i=new C(p(e,a,n,r),o);return t.isGeneratorFunction(a)?i:i.next().then(function(e){return e.done?e.value:i.next()})},O(x),u(x,c,"Generator"),u(x,l,function(){return this}),u(x,"toString",function(){return"[object Generator]"}),t.keys=function(e){var t=Object(e),a=[];for(var n in t)a.push(n);return a.reverse(),function e(){for(;a.length;){var n=a.pop();if(n in t)return e.value=n,e.done=!1,e}return e.done=!0,e}},t.values=N,A.prototype={constructor:A,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(M),!t)for(var a in this)"t"===a.charAt(0)&&n.call(this,a)&&!isNaN(+a.slice(1))&&(this[a]=e)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var a=this;function r(n,r){return l.type="throw",l.arg=t,a.next=n,r&&(a.method="next",a.arg=e),!!r}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],l=i.completion;if("root"===i.tryLoc)return r("end");if(i.tryLoc<=this.prev){var s=n.call(i,"catchLoc"),c=n.call(i,"finallyLoc");if(s&&c){if(this.prev<i.catchLoc)return r(i.catchLoc,!0);if(this.prev<i.finallyLoc)return r(i.finallyLoc)}else if(s){if(this.prev<i.catchLoc)return r(i.catchLoc,!0)}else{if(!c)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return r(i.finallyLoc)}}}},abrupt:function(e,t){for(var a=this.tryEntries.length-1;a>=0;--a){var r=this.tryEntries[a];if(r.tryLoc<=this.prev&&n.call(r,"finallyLoc")&&this.prev<r.finallyLoc){var o=r;break}}o&&("break"===e||"continue"===e)&&o.tryLoc<=t&&t<=o.finallyLoc&&(o=null);var i=o?o.completion:{};return i.type=e,i.arg=t,o?(this.method="next",this.next=o.finallyLoc,v):this.complete(i)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),v},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var a=this.tryEntries[t];if(a.finallyLoc===e)return this.complete(a.completion,a.afterLoc),M(a),v}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var a=this.tryEntries[t];if(a.tryLoc===e){var n=a.completion;if("throw"===n.type){var r=n.arg;M(a)}return r}}throw new Error("illegal catch attempt")},delegateYield:function(t,a,n){return this.delegate={iterator:N(t),resultName:a,nextLoc:n},"next"===this.method&&(this.arg=e),v}},t}var l=function(e,t){return{type:"COLLEGE_FORM",payload:{name:e,value:t}}},s=function(){return{type:"CANCEL_FORM",payload:1}},c=function(){return function(){var e=Object(n.a)(i().mark(function e(t,a){var n,l,s,c,u;return i().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return n=a(),t({type:"SET_LOADER"}),l="","500"!=n.user.fcurtype&&"501"!=n.user.fcurtype||""!=n.user.fcollcode&&(l=n.user.fcollcode),e.next=6,r.a.get("app.php?a=GetAllCollegeList&univcode="+n.univ.funivcode+"&college="+l);case 6:s=e.sent,t({type:"UNSET_LOADER"}),"object"!==typeof s.data?(c={header:"Error",content:"Something went wrong"},t(Object(o.A)(c))):-1===s.data.error_code?(u={header:"Error",content:s.data.data.msg},t(Object(o.A)(u))):t({type:"ALL_COLLEGE_LIST",payload:s.data});case 9:case"end":return e.stop()}},e)}));return function(t,a){return e.apply(this,arguments)}}()},u=function(e){return function(){var t=Object(n.a)(i().mark(function t(a,n){var l,s,c,u;return i().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return l=n(),a({type:"SET_LOADER"}),t.next=4,r.a.get("app.php?a=GetSpecificCollege&collcode="+e+"&univcode="+l.univ.funivcode);case 4:s=t.sent,a({type:"UNSET_LOADER"}),"object"!==typeof s.data?(c={header:"Error",content:"Something went wrong"},a(Object(o.A)(c))):-1===s.data.error_code?(u={header:"Error",content:s.data.data.msg},a(Object(o.A)(u))):a({type:"GET_SPECIFIC_COLLEGE",payload:s.data});case 7:case"end":return t.stop()}},t)}));return function(e,a){return t.apply(this,arguments)}}()},p=function(e){return function(){var t=Object(n.a)(i().mark(function t(a,n){var l,s,c,u,p;return i().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return a({type:"SET_LOADER"}),l=n(),t.next=4,r.a.post("/app.php?a=InsertOrUpdateCollegeDetails&univcode="+l.univ.funivcode,{data:e});case 4:s=t.sent,a({type:"UNSET_LOADER"}),"object"!==typeof s.data?(c={header:"Error",content:"Something went wrong"},a(Object(o.A)(c))):-1===s.data.error_code?(u={header:"Error",content:s.data.data.msg},a(Object(o.A)(u))):(p={header:"Success",content:s.data.msg},a(Object(o.A)(p)));case 7:case"end":return t.stop()}},t)}));return function(e,a){return t.apply(this,arguments)}}()},d=function(e){return function(){var t=Object(n.a)(i().mark(function t(a,n){var l,s,c,u;return i().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return a({type:"SET_LOADER"}),l=n(),t.next=4,r.a.get("/app.php?a=getDeggrpOnCol&univcode="+l.univ.funivcode+"&collcode="+e);case 4:if(s=t.sent,a({type:"UNSET_LOADER"}),"object"===typeof s.data){t.next=11;break}c={header:"Error",content:"Something went wrong"},a(Object(o.A)(c)),t.next=20;break;case 11:if(-1!==s.data.error_code){t.next=18;break}return u={header:"Error",content:s.data.data.msg},a(Object(o.A)(u)),a({type:"CLEAR_GET_COLLEGE_DEGGRP",payload:s.data}),t.abrupt("return");case 18:({header:"Success",content:s.data.msg}),a({type:"GET_COLLEGE_DEGGRP",payload:s.data});case 20:case"end":return t.stop()}},t)}));return function(e,a){return t.apply(this,arguments)}}()},h=function(e,t){return function(){var a=Object(n.a)(i().mark(function a(n,l){var s,c,u,p;return i().wrap(function(a){for(;;)switch(a.prev=a.next){case 0:return n({type:"SET_LOADER"}),s=l(),a.next=4,r.a.get("/app.php?a=getDegreeOnCol&univcode="+s.univ.funivcode+"&collcode="+e+"&deggrp="+t);case 4:if(c=a.sent,n({type:"UNSET_LOADER"}),"object"===typeof c.data){a.next=11;break}u={header:"Error",content:"Something went wrong"},n(Object(o.A)(u)),a.next=19;break;case 11:if(-1!==c.data.error_code){a.next=18;break}return p={header:"Error",content:c.data.data.msg},n(Object(o.A)(p)),n({type:"CLEAR_GET_COLLEGE_DEGREE",payload:c.data}),a.abrupt("return");case 18:n({type:"GET_COLLEGE_DEGREE",payload:c.data});case 19:case"end":return a.stop()}},a)}));return function(e,t){return a.apply(this,arguments)}}()},f=function(e){return function(){var t=Object(n.a)(i().mark(function t(a,n){var l,s,c,u;return i().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return a({type:"SET_LOADER"}),l=n(),t.next=4,r.a.get("/app.php?a=getIaShortUpdData&univcode="+l.univ.funivcode+"&collcode="+e.college+"&deggrp="+e.deggrp+"&degree="+e.degree+"&sem="+e.sem+"&type="+e.type);case 4:if(s=t.sent,a({type:"UNSET_LOADER"}),"object"===typeof s.data){t.next=11;break}c={header:"Error",content:"Something went wrong"},a(Object(o.A)(c)),t.next=19;break;case 11:if(-1!==s.data.error_code){t.next=18;break}return u={header:"Error",content:s.data.data.msg},a(Object(o.A)(u)),a({type:"CLEAR_GET_ATTENDANCE_IA_SHORTAGE",payload:s.data}),t.abrupt("return");case 18:a({type:"GET_ATTENDANCE_IA_SHORTAGE",payload:s.data});case 19:case"end":return t.stop()}},t)}));return function(e,a){return t.apply(this,arguments)}}()}}}]);
//# sourceMappingURL=16.ab87547c.chunk.js.map