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


Current Path : /var/www/egov/build/static/js/
Upload File :
Current File : /var/www/egov/build/static/js/49.80c447fe.chunk.js

(window.webpackJsonp=window.webpackJsonp||[]).push([[49,307],{1323:function(e,t,r){"use strict";r.r(t);var n=r(3),a=r(68),o=r(100),c=r(101),i=r(103),l=r(102),u=r(104),s=r(2),h=r.n(s),f=r(941),p=r(1377),d=r(1343),g=r(272),y=r(1335),v=r(1337),m=r(105),E=r(368),b=r(418);r(311);function w(){w=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 C(n||[]);return a(c,"_invoke",{value:_(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",g="completed",y={};function v(){}function m(){}function E(){}var b={};u(b,c,function(){return this});var x=Object.getPrototypeOf,O=x&&x(x(G([])));O&&O!==r&&n.call(O,c)&&(b=O);var L=E.prototype=v.prototype=Object.create(b);function S(e){["next","throw","return"].forEach(function(t){u(e,t,function(e){return this._invoke(t,e)})})}function j(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 _(t,r,n){var a=f;return function(o,c){if(a===d)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=k(i,n);if(l){if(l===y)continue;return l}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(a===f)throw a=g,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?g:p,u.arg===y)continue;return{value:u.arg,done:n.done}}"throw"===u.type&&(a=g,n.method="throw",n.arg=u.arg)}}}function k(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,k(t,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),y;var o=h(a,t.iterator,r.arg);if("throw"===o.type)return r.method="throw",r.arg=o.arg,r.delegate=null,y;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,y):c:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,y)}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 D(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function C(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(A,this),this.reset(!0)}function G(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 m.prototype=E,a(L,"constructor",{value:E,configurable:!0}),a(E,"constructor",{value:m,configurable:!0}),m.displayName=u(E,l,"GeneratorFunction"),t.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===m||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,E):(e.__proto__=E,u(e,l,"GeneratorFunction")),e.prototype=Object.create(L),e},t.awrap=function(e){return{__await:e}},S(j.prototype),u(j.prototype,i,function(){return this}),t.AsyncIterator=j,t.async=function(e,r,n,a,o){void 0===o&&(o=Promise);var c=new j(s(e,r,n,a),o);return t.isGeneratorFunction(r)?c:c.next().then(function(e){return e.done?e.value:c.next()})},S(L),u(L,l,"Generator"),u(L,c,function(){return this}),u(L,"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=G,C.prototype={constructor:C,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(D),!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,y):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),y},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),D(r),y}},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;D(r)}return a}}throw new Error("illegal catch attempt")},delegateYield:function(t,r,n){return this.delegate={iterator:G(t),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=e),y}},t}var x=[{key:"all",text:"All",value:"all"}],O=function(e){function t(){var e,r;Object(o.a)(this,t);for(var c=arguments.length,u=new Array(c),s=0;s<c;s++)u[s]=arguments[s];return(r=Object(i.a)(this,(e=Object(l.a)(t)).call.apply(e,[this].concat(u)))).state={college:"1003",deggrp:"UGBT",degree:"BTBD1",sem:"B",type:"Attendance",tableData:[]},r.componentDidMount=function(){r.props.getCollegeList()},r.getIaShortUpdData=Object(a.a)(w().mark(function e(){return w().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,r.props.getIaShortUpdData(r.state);case 2:return e.next=4,r.setState({tableData:r.props.getIaAttData});case 4:case"end":return e.stop()}},e)})),r.checkHandler=function(e,t,a){var o=Object(n.a)(r.state.tableData);"att"==t?(e.target.checked,o[a].fattcheck=e.target.checked):"ia"==t&&(e.target.checked,o[a].fiacheck=e.target.checked)},r}return Object(u.a)(t,e),Object(c.a)(t,[{key:"render",value:function(){var e=this,t=this.props.collegeList.map(function(e){return{value:e.fcollcode,text:e.fcollcode+" - "+e.fcollname}}),r=this.props.colDeggrp.map(function(e){return{value:e.fdeggrp,text:e.fdeggrp+" - "+e.fdescpn}}),a=this.props.colDegree.map(function(e){return{value:e.fdegree,text:e.fdegree+" - "+e.fdescpn}}),o=[].concat(x,Object(n.a)(a));return h.a.createElement(p.a,{fluid:!0},h.a.createElement(p.a.Content,null,h.a.createElement(p.a.Header,{style:{display:"flex"}},h.a.createElement("h4",null,"IA/Attendance Shortage"),h.a.createElement("div",{className:"ml-auto"},h.a.createElement(d.a,{basic:!0,color:"black",icon:"ban",onClick:this.handleCancel,content:"Cancel"}),h.a.createElement(f.a,{to:"/Dashboard"},h.a.createElement(d.a,{basic:!0,color:"red",content:"Exit",icon:"home"})))),h.a.createElement(g.a,null),h.a.createElement(p.a.Description,null,h.a.createElement(y.a,null,h.a.createElement(y.a.Group,null,h.a.createElement(y.a.Field,{width:8},h.a.createElement("label",null,"College"),h.a.createElement(v.a,{search:!0,selection:!0,value:this.state.college,placeholder:"Select College",options:t,onChange:function(t,r){e.setState({college:r.value}),e.props.getDeggrpOnCol(r.value),e.props.getDegreeOnCol(r.value,""),e.setState({degree:"all"})}})),h.a.createElement(y.a.Field,{width:4},h.a.createElement("label",null,"Degree Group"),h.a.createElement(v.a,{search:!0,selection:!0,value:this.state.deggrp,placeholder:"Select Degree Group",options:r,onChange:function(t,r){e.setState({deggrp:r.value}),e.props.getDegreeOnCol(e.state.college,r.value)}}))),h.a.createElement(y.a.Group,null,h.a.createElement(y.a.Field,{width:4},h.a.createElement("label",null,"Degree "),h.a.createElement(v.a,{search:!0,selection:!0,value:this.state.degree,placeholder:"Select Degree",options:o,onChange:function(t,r){return e.setState({degree:r.value})}})),h.a.createElement(y.a.Field,{width:4},h.a.createElement("label",null,"Sem"),h.a.createElement(v.a,{search:!0,selection:!0,value:this.state.sem,options:b.a,onChange:function(t,r){return e.setState({sem:r.value})}})),h.a.createElement(y.a.Field,{width:4},h.a.createElement("label",null,"Type"),h.a.createElement(v.a,{search:!0,selection:!0,value:this.state.type,placeholder:"Select Type",options:[{key:"IA",value:"IA",text:"IA"},{key:"Attendance",value:"Attendance",text:"Attendance"}],onChange:function(t,r){return e.setState({type:r.value})}})),h.a.createElement(y.a.Field,{width:4},h.a.createElement(d.a,{color:"blue",size:"medium",style:{position:"relative",top:"23px"},onClick:this.getIaShortUpdData},"View")))),h.a.createElement("div",{style:{height:"420px",overflowY:"auto"}},"Attendance"===this.state.type?h.a.createElement("table",null,h.a.createElement("thead",null,h.a.createElement("tr",null,h.a.createElement("th",null,"Sl. No."),h.a.createElement("th",null,"Coll. code"),h.a.createElement("th",null,"Degree"),h.a.createElement("th",null,"Sem"),h.a.createElement("th",null,"Subject"),h.a.createElement("th",null,"Reg. No."),h.a.createElement("th",null,"Remarks"),h.a.createElement("th",null,"Action"))),h.a.createElement("tbody",null,this.state.tableData.length>0?this.state.tableData.map(function(t,r){return h.a.createElement("tr",null,h.a.createElement("td",null,r+1),h.a.createElement("td",null,t.fcollcode),h.a.createElement("td",null,t.fdegree),h.a.createElement("td",null,t.fexamno),h.a.createElement("td",null,t.fsubcode+" - "+t.fsubname),h.a.createElement("td",null,t.fregno),h.a.createElement("td",null,t.fshortage),h.a.createElement("td",null,h.a.createElement("input",{type:"checkbox",checked:t.fattcheck,onChange:function(t){return e.checkHandler(t,"att",r)}})))}):h.a.createElement("tr",null,h.a.createElement("td",{colSpan:7},"No data found")))):h.a.createElement("table",null,h.a.createElement("thead",null,h.a.createElement("tr",null,h.a.createElement("th",null,"Sl. No."),h.a.createElement("th",null,"Coll. code"),h.a.createElement("th",null,"Degree"),h.a.createElement("th",null,"Sem"),h.a.createElement("th",null,"Subject"),h.a.createElement("th",null,"Reg. No."),h.a.createElement("th",null,"Remarks"),h.a.createElement("th",null,"Action"))),h.a.createElement("tbody",null,this.state.tableData.length>0?this.state.tableData.map(function(t,r){return h.a.createElement("tr",null,h.a.createElement("td",null,r+1),h.a.createElement("td",null,t.fcollcode),h.a.createElement("td",null,t.fdegree),h.a.createElement("td",null,t.fexamno),h.a.createElement("td",null,t.fsubcode+" - "+t.fsubname),h.a.createElement("td",null,t.fregno),h.a.createElement("td",null,t.fshortage),h.a.createElement("td",null,h.a.createElement("input",{type:"checkbox",checked:t.fiacheck,onChange:function(t){return e.checkHandler(t,"ia",r)}})))}):h.a.createElement("tr",null,h.a.createElement("td",{colSpan:7},"No data found"))))))))}}]),t}(s.Component);t.default=Object(m.b)(function(e){return{collegeList:e.collegeList,colDeggrp:e.colDeggrp,colDegree:e.colDegree,getIaAttData:e.getIaAttData}},{getCollegeList:E.e,getDeggrpOnCol:E.f,getDegreeOnCol:E.g,getIaShortUpdData:E.h})(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,g=e.horizontal,y=e.inverted,v=e.section,m=e.vertical,E=c()("ui",Object(u.a)(n,"clearing"),Object(u.a)(i,"fitted"),Object(u.a)(d,"hidden"),Object(u.a)(g,"horizontal"),Object(u.a)(y,"inverted"),Object(u.a)(v,"section"),Object(u.a)(m,"vertical"),"divider",r),b=Object(s.a)(p,e),w=Object(h.a)(p,e);return l.a.createElement(w,a()({},b,{className:E}),f.a.isNil(t)?o:t)}p.handledProps=["as","children","className","clearing","content","fitted","hidden","horizontal","inverted","section","vertical"],p.propTypes={},t.a=p},311:function(e,t,r){},368:function(e,t,r){"use strict";r.d(t,"b",function(){return i}),r.d(t,"a",function(){return l}),r.d(t,"e",function(){return u}),r.d(t,"c",function(){return s}),r.d(t,"d",function(){return h}),r.d(t,"f",function(){return f}),r.d(t,"g",function(){return p}),r.d(t,"h",function(){return d});var n=r(68),a=r(271),o=r(267);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 m?t:m,c=Object.create(o.prototype),i=new C(n||[]);return a(c,"_invoke",{value:_(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",g="executing",y="completed",v={};function m(){}function E(){}function b(){}var w={};s(w,i,function(){return this});var x=Object.getPrototypeOf,O=x&&x(x(G([])));O&&O!==r&&n.call(O,i)&&(w=O);var L=b.prototype=m.prototype=Object.create(w);function S(e){["next","throw","return"].forEach(function(t){s(e,t,function(e){return this._invoke(t,e)})})}function j(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 _(t,r,n){var a=p;return function(o,c){if(a===g)throw new Error("Generator is already running");if(a===y){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=k(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=y,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);a=g;var u=f(t,r,n);if("normal"===u.type){if(a=n.done?y:d,u.arg===v)continue;return{value:u.arg,done:n.done}}"throw"===u.type&&(a=y,n.method="throw",n.arg=u.arg)}}}function k(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,k(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 D(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function C(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(A,this),this.reset(!0)}function G(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 E.prototype=b,a(L,"constructor",{value:b,configurable:!0}),a(b,"constructor",{value:E,configurable:!0}),E.displayName=s(b,u,"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,b):(e.__proto__=b,s(e,u,"GeneratorFunction")),e.prototype=Object.create(L),e},t.awrap=function(e){return{__await:e}},S(j.prototype),s(j.prototype,l,function(){return this}),t.AsyncIterator=j,t.async=function(e,r,n,a,o){void 0===o&&(o=Promise);var c=new j(h(e,r,n,a),o);return t.isGeneratorFunction(r)?c:c.next().then(function(e){return e.done?e.value:c.next()})},S(L),s(L,u,"Generator"),s(L,i,function(){return this}),s(L,"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=G,C.prototype={constructor:C,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(D),!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),D(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;D(r)}return a}}throw new Error("illegal catch attempt")},delegateYield:function(t,r,n){return this.delegate={iterator:G(t),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=e),v}},t}var i=function(e,t){return{type:"COLLEGE_FORM",payload:{name:e,value:t}}},l=function(){return{type:"CANCEL_FORM",payload:1}},u=function(){return function(){var e=Object(n.a)(c().mark(function e(t,r){var n,i,l,u,s;return c().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return n=r(),t({type:"SET_LOADER"}),i="","500"!=n.user.fcurtype&&"501"!=n.user.fcurtype||""!=n.user.fcollcode&&(i=n.user.fcollcode),e.next=6,a.a.get("app.php?a=GetAllCollegeList&univcode="+n.univ.funivcode+"&college="+i);case 6:l=e.sent,t({type:"UNSET_LOADER"}),"object"!==typeof l.data?(u={header:"Error",content:"Something went wrong"},t(Object(o.A)(u))):-1===l.data.error_code?(s={header:"Error",content:l.data.data.msg},t(Object(o.A)(s))):t({type:"ALL_COLLEGE_LIST",payload:l.data});case 9:case"end":return e.stop()}},e)}));return function(t,r){return e.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 i=n(),r({type:"SET_LOADER"}),t.next=4,a.a.get("app.php?a=GetSpecificCollege&collcode="+e+"&univcode="+i.univ.funivcode);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:"GET_SPECIFIC_COLLEGE",payload:l.data});case 7:case"end":return t.stop()}},t)}));return function(e,r){return t.apply(this,arguments)}}()},h=function(e){return function(){var t=Object(n.a)(c().mark(function t(r,n){var i,l,u,s,h;return c().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return r({type:"SET_LOADER"}),i=n(),t.next=4,a.a.post("/app.php?a=InsertOrUpdateCollegeDetails&univcode="+i.univ.funivcode,{data:e});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))):(h={header:"Success",content:l.data.msg},r(Object(o.A)(h)));case 7:case"end":return t.stop()}},t)}));return function(e,r){return t.apply(this,arguments)}}()},f=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 r({type:"SET_LOADER"}),i=n(),t.next=4,a.a.get("/app.php?a=getDeggrpOnCol&univcode="+i.univ.funivcode+"&collcode="+e);case 4:if(l=t.sent,r({type:"UNSET_LOADER"}),"object"===typeof l.data){t.next=11;break}u={header:"Error",content:"Something went wrong"},r(Object(o.A)(u)),t.next=20;break;case 11:if(-1!==l.data.error_code){t.next=18;break}return s={header:"Error",content:l.data.data.msg},r(Object(o.A)(s)),r({type:"CLEAR_GET_COLLEGE_DEGGRP",payload:l.data}),t.abrupt("return");case 18:({header:"Success",content:l.data.msg}),r({type:"GET_COLLEGE_DEGGRP",payload:l.data});case 20:case"end":return t.stop()}},t)}));return function(e,r){return t.apply(this,arguments)}}()},p=function(e,t){return function(){var r=Object(n.a)(c().mark(function r(n,i){var l,u,s,h;return c().wrap(function(r){for(;;)switch(r.prev=r.next){case 0:return n({type:"SET_LOADER"}),l=i(),r.next=4,a.a.get("/app.php?a=getDegreeOnCol&univcode="+l.univ.funivcode+"&collcode="+e+"&deggrp="+t);case 4:if(u=r.sent,n({type:"UNSET_LOADER"}),"object"===typeof u.data){r.next=11;break}s={header:"Error",content:"Something went wrong"},n(Object(o.A)(s)),r.next=19;break;case 11:if(-1!==u.data.error_code){r.next=18;break}return h={header:"Error",content:u.data.data.msg},n(Object(o.A)(h)),n({type:"CLEAR_GET_COLLEGE_DEGREE",payload:u.data}),r.abrupt("return");case 18:n({type:"GET_COLLEGE_DEGREE",payload:u.data});case 19:case"end":return r.stop()}},r)}));return function(e,t){return r.apply(this,arguments)}}()},d=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 r({type:"SET_LOADER"}),i=n(),t.next=4,a.a.get("/app.php?a=getIaShortUpdData&univcode="+i.univ.funivcode+"&collcode="+e.college+"&deggrp="+e.deggrp+"&degree="+e.degree+"&sem="+e.sem+"&type="+e.type);case 4:if(l=t.sent,r({type:"UNSET_LOADER"}),"object"===typeof l.data){t.next=11;break}u={header:"Error",content:"Something went wrong"},r(Object(o.A)(u)),t.next=19;break;case 11:if(-1!==l.data.error_code){t.next=18;break}return s={header:"Error",content:l.data.data.msg},r(Object(o.A)(s)),r({type:"CLEAR_GET_ATTENDANCE_IA_SHORTAGE",payload:l.data}),t.abrupt("return");case 18:r({type:"GET_ATTENDANCE_IA_SHORTAGE",payload:l.data});case 19:case"end":return t.stop()}},t)}));return function(e,r){return t.apply(this,arguments)}}()}},418:function(e,t,r){"use strict";r.d(t,"a",function(){return n});var n=[{key:"All",text:"All",value:"All"},{key:"A",value:"A",text:"I Semester"},{key:"B",value:"B",text:"II Semester"},{key:"C",value:"C",text:"III Semester"},{key:"D",value:"D",text:"IV Semester"},{key:"E",value:"E",text:"V Semester"},{key:"F",value:"F",text:"VI Semester"},{key:"G",value:"G",text:"VII Semester"},{key:"H",value:"H",text:"VIII Semester"},{key:"I",value:"I",text:"IX Semester"},{key:"J",value:"J",text:"X Semester"}]}}]);
//# sourceMappingURL=49.80c447fe.chunk.js.map