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


Current Path : /var/www/egov/build/static/js/
Upload File :
Current File : /var/www/egov/build/static/js/258.ea84a63f.chunk.js

(window.webpackJsonp=window.webpackJsonp||[]).push([[258,307],{1416:function(e,t,r){"use strict";r.r(t);var n=r(0),a=r(3),o=r(68),c=r(100),i=r(101),l=r(103),u=r(102),s=r(104),p=r(2),h=r.n(p),d=r(105),f=r(941),m=r(267),g=r(1377),y=r(949),b=r(1343),v=r(272),w=r(1335),x=r(1337),E=r(271);function j(){j=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 y?t:y,c=Object.create(o.prototype),i=new N(n||[]);return a(c,"_invoke",{value:A(e,r,i)}),c}function p(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}t.wrap=s;var h="suspendedStart",d="suspendedYield",f="executing",m="completed",g={};function y(){}function b(){}function v(){}var w={};u(w,c,function(){return this});var x=Object.getPrototypeOf,E=x&&x(x(C([])));E&&E!==r&&n.call(E,c)&&(w=E);var O=v.prototype=y.prototype=Object.create(w);function L(e){["next","throw","return"].forEach(function(t){u(e,t,function(e){return this._invoke(t,e)})})}function k(e,t){function r(a,o,c,i){var l=p(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 A(t,r,n){var a=h;return function(o,c){if(a===f)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=S(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===h)throw a=m,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);a=f;var u=p(t,r,n);if("normal"===u.type){if(a=n.done?m:d,u.arg===g)continue;return{value:u.arg,done:n.done}}"throw"===u.type&&(a=m,n.method="throw",n.arg=u.arg)}}}function S(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,S(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=p(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 _(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 T(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function N(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(_,this),this.reset(!0)}function C(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 b.prototype=v,a(O,"constructor",{value:v,configurable:!0}),a(v,"constructor",{value:b,configurable:!0}),b.displayName=u(v,l,"GeneratorFunction"),t.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===b||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,v):(e.__proto__=v,u(e,l,"GeneratorFunction")),e.prototype=Object.create(O),e},t.awrap=function(e){return{__await:e}},L(k.prototype),u(k.prototype,i,function(){return this}),t.AsyncIterator=k,t.async=function(e,r,n,a,o){void 0===o&&(o=Promise);var c=new k(s(e,r,n,a),o);return t.isGeneratorFunction(r)?c:c.next().then(function(e){return e.done?e.value:c.next()})},L(O),u(O,l,"Generator"),u(O,c,function(){return this}),u(O,"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=C,N.prototype={constructor:N,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),!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),T(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;T(r)}return a}}throw new Error("illegal catch attempt")},delegateYield:function(t,r,n){return this.delegate={iterator:C(t),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=e),g}},t}var O=r(274);function L(){L=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 y?t:y,c=Object.create(o.prototype),i=new N(n||[]);return a(c,"_invoke",{value:A(e,r,i)}),c}function p(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}t.wrap=s;var h="suspendedStart",d="suspendedYield",f="executing",m="completed",g={};function y(){}function b(){}function v(){}var w={};u(w,c,function(){return this});var x=Object.getPrototypeOf,E=x&&x(x(C([])));E&&E!==r&&n.call(E,c)&&(w=E);var j=v.prototype=y.prototype=Object.create(w);function O(e){["next","throw","return"].forEach(function(t){u(e,t,function(e){return this._invoke(t,e)})})}function k(e,t){function r(a,o,c,i){var l=p(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 A(t,r,n){var a=h;return function(o,c){if(a===f)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=S(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===h)throw a=m,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);a=f;var u=p(t,r,n);if("normal"===u.type){if(a=n.done?m:d,u.arg===g)continue;return{value:u.arg,done:n.done}}"throw"===u.type&&(a=m,n.method="throw",n.arg=u.arg)}}}function S(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,S(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=p(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 _(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 T(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function N(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(_,this),this.reset(!0)}function C(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 b.prototype=v,a(j,"constructor",{value:v,configurable:!0}),a(v,"constructor",{value:b,configurable:!0}),b.displayName=u(v,l,"GeneratorFunction"),t.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===b||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,v):(e.__proto__=v,u(e,l,"GeneratorFunction")),e.prototype=Object.create(j),e},t.awrap=function(e){return{__await:e}},O(k.prototype),u(k.prototype,i,function(){return this}),t.AsyncIterator=k,t.async=function(e,r,n,a,o){void 0===o&&(o=Promise);var c=new k(s(e,r,n,a),o);return t.isGeneratorFunction(r)?c:c.next().then(function(e){return e.done?e.value:c.next()})},O(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=C,N.prototype={constructor:N,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),!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),T(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;T(r)}return a}}throw new Error("illegal catch attempt")},delegateYield:function(t,r,n){return this.delegate={iterator:C(t),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=e),g}},t}var k=function(e){function t(e){var r;return Object(c.a)(this,t),(r=Object(l.a)(this,Object(u.a)(t).call(this,e))).componentDidMount=Object(o.a)(L().mark(function e(){return L().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,r.props.getcollegeiamarks(r.props.collcode);case 2:r.setState({frmsubmit:!1});case 3:case"end":return e.stop()}},e)})),r.handleChangeCollege=function(){var e=Object(o.a)(L().mark(function e(t,n){return L().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return r.setState({college:n.value}),e.next=3,r.props.getdegreeia(n.value,r.props.collcode);case 3:r.setState({frmsubmit:!1});case 4:case"end":return e.stop()}},e)}));return function(t,r){return e.apply(this,arguments)}}(),r.handleChangeDegree=function(){var e=Object(o.a)(L().mark(function e(t,n){return L().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return r.setState({degree:n.value}),e.next=3,r.props.getsemia(n.value,r.state.college,r.props.collcode);case 3:r.setState({frmsubmit:!1});case 4:case"end":return e.stop()}},e)}));return function(t,r){return e.apply(this,arguments)}}(),r.handleChangeSem=function(){var e=Object(o.a)(L().mark(function e(t,n){return L().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return r.setState({sem:n.value}),e.next=3,r.props.getsubjectia(r.state.college,r.state.degree,n.value,r.props.collcode);case 3:r.setState({frmsubmit:!1});case 4:case"end":return e.stop()}},e)}));return function(t,r){return e.apply(this,arguments)}}(),r.handleChangesubject=function(){var e=Object(o.a)(L().mark(function e(t,n){return L().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:r.setState({subject:n.value}),r.setState({frmsubmit:!1});case 2:case"end":return e.stop()}},e)}));return function(t,r){return e.apply(this,arguments)}}(),r.getiamarkssum=function(){var e=Object(o.a)(L().mark(function e(t,n){var a,o,c,i;return L().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(""!==r.state.college){e.next=4;break}return a={header:"Error",content:"Select college"},r.props.showError(a),e.abrupt("return");case 4:if(""!==r.state.degree){e.next=8;break}return o={header:"Error",content:"Select degree"},r.props.showError(o),e.abrupt("return");case 8:if(""!==r.state.sem){e.next=12;break}return c={header:"Error",content:"Select sem"},r.props.showError(c),e.abrupt("return");case 12:if(""!==r.state.subject){e.next=16;break}return i={header:"Error",content:"Select subject"},r.props.showError(i),e.abrupt("return");case 16:return e.next=18,r.props.viewiamarkstable(r.state.college,r.state.degree,r.state.sem,r.state.subject,r.props.collcode);case 18:r.setState({frmsubmit:!0});case 19:case"end":return e.stop()}},e)}));return function(t,r){return e.apply(this,arguments)}}(),r.getIaMarksReport=function(){var e=r.state,t=e.college,n=e.degree,a=e.sem,o=e.subject;window.open(O.c+"IAMarksSummryReport&univcode="+r.props.univcode+"&college="+t+"&degree="+n+"&sem="+a+"&subject="+o,"_blank")},r.handleCancel=function(){r.setState({college:"",degree:"",sem:"",subject:"",frmsubmit:!1})},r.state={college:"",degree:"",sem:"",subject:"",frmsubmit:!1},r}return Object(s.a)(t,e),Object(i.a)(t,[{key:"render",value:function(){var e=this.state,t=(e.college,e.degree,e.sem,e.subject,[{key:"All",value:"All",text:"All"}]),r=this.props.iacollege.map(function(e,t){return{key:t,value:e.fcollcode,text:e.fcollcode+" - "+e.fcollname}}),o=this.props.iadegree.map(function(e,t){return{key:t,value:e.fdegree,text:e.fdegree+" - "+e.fdescpn}}),c=this.props.iasem.map(function(e,t){return{key:t,value:e.fexamno,text:e.fexamno+" - "+e.fexamname}}),i=[].concat(t,Object(a.a)(c)),l=this.props.iasub.map(function(e,t){return{key:t,value:e.fsubcode,text:e.fsubcode+" - "+e.fsubname}}),u=[].concat(t,Object(a.a)(l));return h.a.createElement("div",null,h.a.createElement(g.a,{fluid:!0},h.a.createElement(y.a,null,h.a.createElement(g.a.Header,{style:{display:"flex"}},h.a.createElement("h4",null,"IA Marks Summary"),h.a.createElement("div",{className:"ml-auto"},h.a.createElement(b.a,{basic:!0,color:"blue",icon:"ban",content:"Cancel",onClick:this.handleCancel}),h.a.createElement(b.a,{basic:!0,color:"blue",icon:"file",content:"Report",onClick:this.getIaMarksReport}),h.a.createElement(f.a,{to:"/dashboard"},h.a.createElement(b.a,{basic:!0,color:"red",content:"Exit",icon:"home"})))),h.a.createElement(v.a,null),h.a.createElement(g.a.Description,{style:{height:"630px",overflowY:"auto"}},h.a.createElement(w.a,null,h.a.createElement(w.a.Group,null,h.a.createElement(w.a.Field,{width:6},h.a.createElement("label",null," College"),h.a.createElement(x.a,{fluid:!0,selection:!0,search:!0,value:this.state.college,options:r,name:"year",placeholder:"Select College",onChange:this.handleChangeCollege})),h.a.createElement(w.a.Field,{width:6},h.a.createElement("label",null,"Degree"),h.a.createElement(x.a,{fluid:!0,selection:!0,search:!0,value:this.state.degree,options:o,name:"qpcode",placeholder:"Select Degree",onChange:this.handleChangeDegree}))),h.a.createElement(w.a.Group,null,h.a.createElement(w.a.Field,{width:6},h.a.createElement("label",null,"Sem"),h.a.createElement(x.a,{fluid:!0,selection:!0,search:!0,value:this.state.sem,options:i,name:"qppacket",placeholder:"Select Sem",onChange:this.handleChangeSem})),h.a.createElement(w.a.Field,{width:6},h.a.createElement("label",null,"Subject"),h.a.createElement(x.a,{fluid:!0,selection:!0,search:!0,value:this.state.subject,options:u,name:"qppacket",placeholder:"Select Subject",onChange:this.handleChangesubject}))),h.a.createElement(w.a.Group,null,h.a.createElement(w.a.Field,null,h.a.createElement("label",null),h.a.createElement(b.a,{style:{marginTop:"19px"},basic:!0,color:"blue",onClick:this.getiamarkssum,content:"View"})))),this.state.frmsubmit?h.a.createElement("div",null,h.a.createElement("table",{style:{width:"100%"}},h.a.createElement("thead",{style:{position:"sticky",top:0,backgroundColor:"tan",border:"1px solid"}},h.a.createElement("tr",{style:{height:"40px"}},h.a.createElement("th",{style:Object(n.a)(Object(n.a)({border:"1px solid",textAlign:"center"},"border","1px solid"),"width","50px")},"Sl No"),h.a.createElement("th",{style:Object(n.a)(Object(n.a)({border:"1px solid",textAlign:"center"},"border","1px solid"),"width","66px")},"College code"),h.a.createElement("th",{style:Object(n.a)(Object(n.a)({border:"1px solid",textAlign:"center"},"border","1px solid"),"width","150px")},"College Name"),h.a.createElement("th",{style:Object(n.a)(Object(n.a)({border:"1px solid",textAlign:"center"},"border","1px solid"),"width","135px")},"Degree"),h.a.createElement("th",{style:Object(n.a)(Object(n.a)({border:"1px solid",textAlign:"center"},"border","1px solid"),"width","85px")},"Sem"),h.a.createElement("th",{style:Object(n.a)(Object(n.a)({border:"1px solid",textAlign:"center"},"border","1px solid"),"width","75px")},"Subject"),h.a.createElement("th",{style:Object(n.a)(Object(n.a)({border:"1px solid",textAlign:"center"},"border","1px solid"),"width","60px")},"Student count"),h.a.createElement("th",{style:Object(n.a)(Object(n.a)({border:"1px solid",textAlign:"center"},"border","1px solid"),"width","110px")},"Entered"),h.a.createElement("th",{style:Object(n.a)(Object(n.a)({border:"1px solid",textAlign:"center"},"border","1px solid"),"width","111px")},"Not Entered"))),this.props.iatable.map(function(e,t){return h.a.createElement("tr",{key:t},h.a.createElement("td",{style:Object(n.a)(Object(n.a)({border:"1px solid",textAlign:"center"},"border","1px solid"),"width","50px")},t+1),h.a.createElement("td",{style:Object(n.a)(Object(n.a)({border:"1px solid",textAlign:"center"},"border","1px solid"),"width","85px")},e.fcollcode),h.a.createElement("td",{style:Object(n.a)(Object(n.a)({border:"1px solid",textAlign:"center"},"border","1px solid"),"width","135px")},e.fcollname),h.a.createElement("td",{style:Object(n.a)(Object(n.a)({border:"1px solid",textAlign:"center"},"border","1px solid"),"width","85px")},e.fdegree,"-",e.fdescpn),h.a.createElement("td",{style:Object(n.a)(Object(n.a)({border:"1px solid",textAlign:"center"},"border","1px solid"),"width","75px")},e.fexamname),h.a.createElement("td",{style:Object(n.a)(Object(n.a)({border:"1px solid",textAlign:"center"},"border","1px solid"),"width","60px")},e.fsubname),h.a.createElement("td",{style:Object(n.a)(Object(n.a)({border:"1px solid",textAlign:"center"},"border","1px solid"),"width","110px")},e.totlstd),h.a.createElement("td",{style:Object(n.a)(Object(n.a)({border:"1px solid",textAlign:"center"},"border","1px solid"),"width","111px")},e.entred),h.a.createElement("td",{style:Object(n.a)(Object(n.a)({border:"1px solid",textAlign:"center"},"border","1px solid"),"width","165px")},e.not_entred))}))):null))))}}]),t}(p.Component);t.default=Object(d.b)(function(e){return{univcode:e.univ.funivcode,collcode:e.user.fuserid,iacollege:e.getcollegeiamarks,iadegree:e.getdegreeia,iasem:e.getsemia,iasub:e.getsubjectia,iatable:e.viewiamarkstable}},{showError:m.A,getcollegeiamarks:function(e){return function(){var t=Object(o.a)(j().mark(function t(r,n){var a,o,c,i,l;return j().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return a=n(),r({type:"SET_LOADER"}),o=""!=a.user.fcurtype&&a.user.fcurtype>=500?a.user.fcollcode:"",t.next=5,E.a.get("/app.php?a=getcollegeiamarks&univcode="+a.univ.funivcode+"&collcode="+e+"&fcollcode="+o);case 5:c=t.sent,r({type:"UNSET_LOADER"}),"object"!==typeof c.data?(i={header:"Error",content:"Something went wrong"},r(Object(m.A)(i))):-1===c.data.error_code?(l={header:"Error",content:c.data.data.msg},r(Object(m.A)(l))):r({type:"GET_COLLEGE_DATA",payload:c.data});case 8:case"end":return t.stop()}},t)}));return function(e,r){return t.apply(this,arguments)}}()},getdegreeia:function(e,t){return function(){var r=Object(o.a)(j().mark(function r(n,a){var o,c,i,l;return j().wrap(function(r){for(;;)switch(r.prev=r.next){case 0:return o=a(),n({type:"SET_LOADER"}),r.next=4,E.a.get("/app.php?a=getdegreeia&univcode="+o.univ.funivcode+"&collcode="+t+"&college="+e);case 4:c=r.sent,n({type:"UNSET_LOADER"}),"object"!==typeof c.data?(i={header:"Error",content:"Something went wrong"},n(Object(m.A)(i))):-1===c.data.error_code?(l={header:"Error",content:c.data.data.msg},n(Object(m.A)(l))):n({type:"GET_DEGREE_DATA",payload:c.data});case 7:case"end":return r.stop()}},r)}));return function(e,t){return r.apply(this,arguments)}}()},getsemia:function(e,t,r){return function(){var n=Object(o.a)(j().mark(function n(a,o){var c,i,l,u;return j().wrap(function(n){for(;;)switch(n.prev=n.next){case 0:return c=o(),a({type:"SET_LOADER"}),n.next=4,E.a.get("/app.php?a=getsemia&univcode="+c.univ.funivcode+"&collcode="+r+"&degree="+e+"&college="+t);case 4:i=n.sent,a({type:"UNSET_LOADER"}),"object"!==typeof i.data?(l={header:"Error",content:"Something went wrong"},a(Object(m.A)(l))):-1===i.data.error_code?(u={header:"Error",content:i.data.data.msg},a(Object(m.A)(u))):a({type:"GET_SEM_DATA",payload:i.data});case 7:case"end":return n.stop()}},n)}));return function(e,t){return n.apply(this,arguments)}}()},getsubjectia:function(e,t,r,n){return function(){var a=Object(o.a)(j().mark(function a(o,c){var i,l,u,s;return j().wrap(function(a){for(;;)switch(a.prev=a.next){case 0:return i=c(),o({type:"SET_LOADER"}),a.next=4,E.a.get("/app.php?a=getsubjectia&univcode="+i.univ.funivcode+"&collcode="+n+"&sem="+r+"&degree="+t+"&college="+e);case 4:l=a.sent,o({type:"UNSET_LOADER"}),"object"!==typeof l.data?(u={header:"Error",content:"Something went wrong"},o(Object(m.A)(u))):-1===l.data.error_code?(s={header:"Error",content:l.data.data.msg},o(Object(m.A)(s))):o({type:"GET_SUB_DATA",payload:l.data});case 7:case"end":return a.stop()}},a)}));return function(e,t){return a.apply(this,arguments)}}()},viewiamarkstable:function(e,t,r,n,a){return function(){var c=Object(o.a)(j().mark(function o(c,i){var l,u,s,p;return j().wrap(function(o){for(;;)switch(o.prev=o.next){case 0:return l=i(),c({type:"SET_LOADER"}),o.next=4,E.a.get("/app.php?a=viewiamarkstable&univcode="+l.univ.funivcode+"&collcode="+a+"&college="+e+"&degree="+t+"&sem="+r+"&subject="+n);case 4:u=o.sent,c({type:"UNSET_LOADER"}),"object"!==typeof u.data?(s={header:"Error",content:"Something went wrong"},c(Object(m.A)(s))):-1===u.data.error_code?(p={header:"Error",content:u.data.data.msg},c(Object(m.A)(p))):c({type:"GET_IA_TABLE_DATA",payload:u.data});case 7:case"end":return o.stop()}},o)}));return function(e,t){return c.apply(this,arguments)}}()}})(k)},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),p=r(611),h=r(269);function d(e){var t=e.children,r=e.className,n=e.clearing,o=e.content,i=e.fitted,f=e.hidden,m=e.horizontal,g=e.inverted,y=e.section,b=e.vertical,v=c()("ui",Object(u.a)(n,"clearing"),Object(u.a)(i,"fitted"),Object(u.a)(f,"hidden"),Object(u.a)(m,"horizontal"),Object(u.a)(g,"inverted"),Object(u.a)(y,"section"),Object(u.a)(b,"vertical"),"divider",r),w=Object(s.a)(d,e),x=Object(p.a)(d,e);return l.a.createElement(x,a()({},w,{className:v}),h.a.isNil(t)?o:t)}d.handledProps=["as","children","className","clearing","content","fitted","hidden","horizontal","inverted","section","vertical"],d.propTypes={},t.a=d}}]);
//# sourceMappingURL=258.ea84a63f.chunk.js.map