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.220.110.45
(window.webpackJsonp=window.webpackJsonp||[]).push([[271,307],{1408:function(t,e,r){"use strict";r.r(e);var n=r(68),a=r(100),o=r(101),c=r(103),i=r(102),u=r(104),l=r(2),s=r.n(l),h=r(105),f=r(1377),p=r(1343),d=r(272),v=r(1335),g=r(1337),m=r(1338),y=r(1153),b=r(941),w=r(267),E=r(271);function x(){x=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,a=Object.defineProperty||function(t,e,r){t[e]=r.value},o="function"==typeof Symbol?Symbol:{},c=o.iterator||"@@iterator",i=o.asyncIterator||"@@asyncIterator",u=o.toStringTag||"@@toStringTag";function l(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,r){return t[e]=r}}function s(t,e,r,n){var o=e&&e.prototype instanceof m?e:m,c=Object.create(o.prototype),i=new T(n||[]);return a(c,"_invoke",{value:S(t,r,i)}),c}function h(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=s;var f="suspendedStart",p="suspendedYield",d="executing",v="completed",g={};function m(){}function y(){}function b(){}var w={};l(w,c,function(){return this});var E=Object.getPrototypeOf,j=E&&E(E(C([])));j&&j!==r&&n.call(j,c)&&(w=j);var O=b.prototype=m.prototype=Object.create(w);function L(t){["next","throw","return"].forEach(function(e){l(t,e,function(t){return this._invoke(e,t)})})}function k(t,e){function r(a,o,c,i){var u=h(t[a],t,o);if("throw"!==u.type){var l=u.arg,s=l.value;return s&&"object"==typeof s&&n.call(s,"__await")?e.resolve(s.__await).then(function(t){r("next",t,c,i)},function(t){r("throw",t,c,i)}):e.resolve(s).then(function(t){l.value=t,c(l)},function(t){return r("throw",t,c,i)})}i(u.arg)}var o;a(this,"_invoke",{value:function(t,n){function a(){return new e(function(e,a){r(t,n,e,a)})}return o=o?o.then(a,a):a()}})}function S(e,r,n){var a=f;return function(o,c){if(a===d)throw new Error("Generator is already running");if(a===v){if("throw"===o)throw c;return{value:t,done:!0}}for(n.method=o,n.arg=c;;){var i=n.delegate;if(i){var u=_(i,n);if(u){if(u===g)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(a===f)throw a=v,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);a=d;var l=h(e,r,n);if("normal"===l.type){if(a=n.done?v:p,l.arg===g)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(a=v,n.method="throw",n.arg=l.arg)}}}function _(e,r){var n=r.method,a=e.iterator[n];if(a===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,_(e,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,e.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[e.resultName]=c.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,g):c:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,g)}function A(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function N(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function T(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(A,this),this.reset(!0)}function C(e){if(e||""===e){var r=e[c];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var a=-1,o=function r(){for(;++a<e.length;)if(n.call(e,a))return r.value=e[a],r.done=!1,r;return r.value=t,r.done=!0,r};return o.next=o}}throw new TypeError(typeof e+" is not iterable")}return y.prototype=b,a(O,"constructor",{value:b,configurable:!0}),a(b,"constructor",{value:y,configurable:!0}),y.displayName=l(b,u,"GeneratorFunction"),e.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===y||"GeneratorFunction"===(e.displayName||e.name))},e.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,b):(t.__proto__=b,l(t,u,"GeneratorFunction")),t.prototype=Object.create(O),t},e.awrap=function(t){return{__await:t}},L(k.prototype),l(k.prototype,i,function(){return this}),e.AsyncIterator=k,e.async=function(t,r,n,a,o){void 0===o&&(o=Promise);var c=new k(s(t,r,n,a),o);return e.isGeneratorFunction(r)?c:c.next().then(function(t){return t.done?t.value:c.next()})},L(O),l(O,u,"Generator"),l(O,c,function(){return this}),l(O,"toString",function(){return"[object Generator]"}),e.keys=function(t){var e=Object(t),r=[];for(var n in e)r.push(n);return r.reverse(),function t(){for(;r.length;){var n=r.pop();if(n in e)return t.value=n,t.done=!1,t}return t.done=!0,t}},e.values=C,T.prototype={constructor:T,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(N),!e)for(var r in this)"t"===r.charAt(0)&&n.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=t)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var r=this;function a(n,a){return i.type="throw",i.arg=e,r.next=n,a&&(r.method="next",r.arg=t),!!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 u=n.call(c,"catchLoc"),l=n.call(c,"finallyLoc");if(u&&l){if(this.prev<c.catchLoc)return a(c.catchLoc,!0);if(this.prev<c.finallyLoc)return a(c.finallyLoc)}else if(u){if(this.prev<c.catchLoc)return a(c.catchLoc,!0)}else{if(!l)throw new Error("try statement without catch or finally");if(this.prev<c.finallyLoc)return a(c.finallyLoc)}}}},abrupt:function(t,e){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"===t||"continue"===t)&&o.tryLoc<=e&&e<=o.finallyLoc&&(o=null);var c=o?o.completion:{};return c.type=t,c.arg=e,o?(this.method="next",this.next=o.finallyLoc,g):this.complete(c)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),g},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),N(r),g}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var a=n.arg;N(r)}return a}}throw new Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:C(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),g}},e}function j(){j=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,a=Object.defineProperty||function(t,e,r){t[e]=r.value},o="function"==typeof Symbol?Symbol:{},c=o.iterator||"@@iterator",i=o.asyncIterator||"@@asyncIterator",u=o.toStringTag||"@@toStringTag";function l(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,r){return t[e]=r}}function s(t,e,r,n){var o=e&&e.prototype instanceof m?e:m,c=Object.create(o.prototype),i=new T(n||[]);return a(c,"_invoke",{value:S(t,r,i)}),c}function h(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=s;var f="suspendedStart",p="suspendedYield",d="executing",v="completed",g={};function m(){}function y(){}function b(){}var w={};l(w,c,function(){return this});var E=Object.getPrototypeOf,x=E&&E(E(C([])));x&&x!==r&&n.call(x,c)&&(w=x);var O=b.prototype=m.prototype=Object.create(w);function L(t){["next","throw","return"].forEach(function(e){l(t,e,function(t){return this._invoke(e,t)})})}function k(t,e){function r(a,o,c,i){var u=h(t[a],t,o);if("throw"!==u.type){var l=u.arg,s=l.value;return s&&"object"==typeof s&&n.call(s,"__await")?e.resolve(s.__await).then(function(t){r("next",t,c,i)},function(t){r("throw",t,c,i)}):e.resolve(s).then(function(t){l.value=t,c(l)},function(t){return r("throw",t,c,i)})}i(u.arg)}var o;a(this,"_invoke",{value:function(t,n){function a(){return new e(function(e,a){r(t,n,e,a)})}return o=o?o.then(a,a):a()}})}function S(e,r,n){var a=f;return function(o,c){if(a===d)throw new Error("Generator is already running");if(a===v){if("throw"===o)throw c;return{value:t,done:!0}}for(n.method=o,n.arg=c;;){var i=n.delegate;if(i){var u=_(i,n);if(u){if(u===g)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(a===f)throw a=v,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);a=d;var l=h(e,r,n);if("normal"===l.type){if(a=n.done?v:p,l.arg===g)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(a=v,n.method="throw",n.arg=l.arg)}}}function _(e,r){var n=r.method,a=e.iterator[n];if(a===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,_(e,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,e.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[e.resultName]=c.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,g):c:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,g)}function A(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function N(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function T(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(A,this),this.reset(!0)}function C(e){if(e||""===e){var r=e[c];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var a=-1,o=function r(){for(;++a<e.length;)if(n.call(e,a))return r.value=e[a],r.done=!1,r;return r.value=t,r.done=!0,r};return o.next=o}}throw new TypeError(typeof e+" is not iterable")}return y.prototype=b,a(O,"constructor",{value:b,configurable:!0}),a(b,"constructor",{value:y,configurable:!0}),y.displayName=l(b,u,"GeneratorFunction"),e.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===y||"GeneratorFunction"===(e.displayName||e.name))},e.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,b):(t.__proto__=b,l(t,u,"GeneratorFunction")),t.prototype=Object.create(O),t},e.awrap=function(t){return{__await:t}},L(k.prototype),l(k.prototype,i,function(){return this}),e.AsyncIterator=k,e.async=function(t,r,n,a,o){void 0===o&&(o=Promise);var c=new k(s(t,r,n,a),o);return e.isGeneratorFunction(r)?c:c.next().then(function(t){return t.done?t.value:c.next()})},L(O),l(O,u,"Generator"),l(O,c,function(){return this}),l(O,"toString",function(){return"[object Generator]"}),e.keys=function(t){var e=Object(t),r=[];for(var n in e)r.push(n);return r.reverse(),function t(){for(;r.length;){var n=r.pop();if(n in e)return t.value=n,t.done=!1,t}return t.done=!0,t}},e.values=C,T.prototype={constructor:T,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(N),!e)for(var r in this)"t"===r.charAt(0)&&n.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=t)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var r=this;function a(n,a){return i.type="throw",i.arg=e,r.next=n,a&&(r.method="next",r.arg=t),!!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 u=n.call(c,"catchLoc"),l=n.call(c,"finallyLoc");if(u&&l){if(this.prev<c.catchLoc)return a(c.catchLoc,!0);if(this.prev<c.finallyLoc)return a(c.finallyLoc)}else if(u){if(this.prev<c.catchLoc)return a(c.catchLoc,!0)}else{if(!l)throw new Error("try statement without catch or finally");if(this.prev<c.finallyLoc)return a(c.finallyLoc)}}}},abrupt:function(t,e){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"===t||"continue"===t)&&o.tryLoc<=e&&e<=o.finallyLoc&&(o=null);var c=o?o.completion:{};return c.type=t,c.arg=e,o?(this.method="next",this.next=o.finallyLoc,g):this.complete(c)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),g},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),N(r),g}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var a=n.arg;N(r)}return a}}throw new Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:C(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),g}},e}var O=function(t){function e(){var t,r;Object(a.a)(this,e);for(var o=arguments.length,u=new Array(o),l=0;l<o;l++)u[l]=arguments[l];return(r=Object(c.a)(this,(t=Object(i.a)(e)).call.apply(t,[this].concat(u)))).state={deggrp:"",semester:[],subject:[],frmsubmit:!1,table:r.props.getrvrttable},r.componentDidMount=Object(n.a)(j().mark(function t(){return j().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,r.props.loadrvrtdeggrp();case 2:case"end":return t.stop()}},t)})),r.handleCancel=Object(n.a)(j().mark(function t(){return j().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:r.setState({deggrp:"",semester:[],subject:[],frmsubmit:!1});case 1:case"end":return t.stop()}},t)})),r.handleChangedeggrp=function(){var t=Object(n.a)(j().mark(function t(e,n){return j().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,r.setState({deggrp:n.value});case 2:return t.next=4,r.props.loaddexmno(r.state.deggrp);case 4:case"end":return t.stop()}},t)}));return function(e,r){return t.apply(this,arguments)}}(),r.handleChangeSemester=function(){var t=Object(n.a)(j().mark(function t(e,n){return j().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,r.setState({semester:n.value});case 2:return t.next=4,r.props.loadqpcode(r.state.semester);case 4:case"end":return t.stop()}},t)}));return function(e,r){return t.apply(this,arguments)}}(),r.handleChangeqp=function(){var t=Object(n.a)(j().mark(function t(e,n){return j().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,r.setState({subject:n.value});case 2:case"end":return t.stop()}},t)}));return function(e,r){return t.apply(this,arguments)}}(),r.handlechkboxchange=function(t,e){var n=r.state.table.map(function(r,n){return n===e&&(r.frvblock=t?"T":"F"),r});r.setState({table:n})},r.handleSave=Object(n.a)(j().mark(function t(){return j().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,r.props.savervrtblock(r.state.table);case 2:case"end":return t.stop()}},t)})),r.handleSubmit=Object(n.a)(j().mark(function t(){var e,n,a;return j().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(""!==r.state.deggrp){t.next=4;break}return e={header:"Error",content:"Select Degree Group"},r.props.showError(e),t.abrupt("return");case 4:if(""!==r.state.subject){t.next=8;break}return n={header:"Error",content:"Select Semester"},r.props.showError(n),t.abrupt("return");case 8:if(""!==r.state.subject){t.next=12;break}return a={header:"Error",content:"Select QP Code"},r.props.showError(a),t.abrupt("return");case 12:return t.next=14,r.props.loadrvrttable(r.state);case 14:return r.setState({frmsubmit:!0}),t.next=17,r.setState({table:r.props.getrvrttable});case 17:case"end":return t.stop()}},t)})),r}return Object(u.a)(e,t),Object(o.a)(e,[{key:"render",value:function(){var t=this,e=this.state,r=e.deggrp,n=e.semester,a=e.subject,o=this.props.getrvrtdeggrp.map(function(t){return{key:t.fdeggrp,value:t.fdeggrp,text:t.fdescpn}}),c=this.props.getrvrtexamno.map(function(t,e){return{key:t.fexamno,value:t.fexamno,text:t.fexamname}}),i=this.props.getrvrtqpcode.map(function(t,e){return{key:t.fqpcode,value:t.fqpcode,text:t.fqpcode+" - "+t.fsubname}});return s.a.createElement("div",{className:"animated fadeIn"},s.a.createElement(f.a,{fluid:!0},s.a.createElement(f.a.Content,null,s.a.createElement(f.a.Header,{style:{display:"flex"}},s.a.createElement("h4",null,"RV RT Block"),s.a.createElement("div",{className:"ml-auto"},s.a.createElement(p.a,{basic:!0,color:"blue",onClick:this.handleSave,content:"Save",icon:"file"}),s.a.createElement(p.a,{basic:!0,color:"black",icon:"ban",onClick:this.handleCancel,content:"Cancel"}),s.a.createElement(b.a,{to:"/dashboard"},s.a.createElement(p.a,{basic:!0,color:"red",content:"Exit",icon:"home"})))),s.a.createElement(d.a,null),s.a.createElement(f.a.Description,{style:{overflowY:"auto",height:"800px"}},s.a.createElement("div",{className:"col-md-8 col-lg-8 col-sm-12"},s.a.createElement(v.a,null,s.a.createElement(v.a.Field,{width:12},s.a.createElement("label",null,"Degree Group"),s.a.createElement(g.a,{fluid:!0,search:!0,selection:!0,onChange:this.handleChangedeggrp,value:r,name:"deggrp",placeholder:"Degree Group",options:o})),s.a.createElement(v.a.Field,{width:12},s.a.createElement("label",null,"Semester"),s.a.createElement(g.a,{fluid:!0,search:!0,multiple:!0,selection:!0,onChange:this.handleChangeSemester,value:n,name:"semester",placeholder:"Semester",options:c})),s.a.createElement(v.a.Field,{width:12},s.a.createElement("label",null,"Subject"),s.a.createElement(g.a,{fluid:!0,search:!0,selection:!0,multiple:!0,onChange:this.handleChangeqp,value:a,name:"subject",placeholder:"Subject",options:i})),s.a.createElement(v.a.Field,null,s.a.createElement(p.a,{content:"Submit",color:"blue",onClick:this.handleSubmit}))),this.state.frmsubmit?s.a.createElement(m.a,{celled:!0,padded:!0,style:{width:"1100px"}},s.a.createElement(m.a.Header,null,s.a.createElement(m.a.Row,{className:"sticky"},s.a.createElement(m.a.HeaderCell,{singleLine:!0,style:{textAlign:"center"}},"Sl. No."),s.a.createElement(m.a.HeaderCell,{style:{textAlign:"center"}},"QP Code"),s.a.createElement(m.a.HeaderCell,{style:{textAlign:"center"}},"Subject Name"),s.a.createElement(m.a.HeaderCell,{style:{textAlign:"center"}},"Block"))),s.a.createElement(m.a.Body,null,this.props.getrvrttable.map(function(e,r){return s.a.createElement(m.a.Row,null,s.a.createElement(m.a.Cell,{style:{textAlign:"center"}},r+1),s.a.createElement(m.a.Cell,{style:{textAlign:"center"}},e.fqpcode),s.a.createElement(m.a.Cell,null,e.fsubname),s.a.createElement(m.a.Cell,{style:{textAlign:"center"}},s.a.createElement(y.a,{onChange:function(e,n){return t.handlechkboxchange(n.checked,r)},value:e.frvblock,checked:"T"==e.frvblock})))}))):null)))))}}]),e}(l.Component);e.default=Object(h.b)(function(t){return{univcode:t.univ.funivcode,getrvrtdeggrp:t.getrvrtdeggrp,getrvrtexamno:t.getrvrtexamno,getrvrtqpcode:t.getrvrtqpcode,getrvrttable:t.getrvrttable}},{showError:w.A,loadrvrtdeggrp:function(){return function(){var t=Object(n.a)(x().mark(function t(e,r){var n,a,o,c;return x().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return n=r(),e({type:"SET_LOADER"}),t.next=4,E.a.get("/app.php",{params:{a:"getdeggrprvrt",univcode:n.user.fcuruniv}});case 4:a=t.sent,e({type:"UNSET_LOADER"}),"object"!==typeof a.data?(o={header:"Error",content:"Something went wrong"},e(Object(w.A)(o))):-1===a.data.error_code?(c={header:"Error",content:a.data.data.msg},e(Object(w.A)(c))):e({type:"RVRT_DEGGRP",payload:a.data});case 7:case"end":return t.stop()}},t)}));return function(e,r){return t.apply(this,arguments)}}()},loaddexmno:function(t){return function(){var e=Object(n.a)(x().mark(function e(r,n){var a,o,c,i;return x().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return a=n(),r({type:"SET_LOADER"}),e.next=4,E.a.get("/app.php",{params:{a:"getexamnorvrt",univcode:a.user.fcuruniv,deggrp:t}});case 4:o=e.sent,r({type:"UNSET_LOADER"}),"object"!==typeof o.data?(c={header:"Error",content:"Something went wrong"},r(Object(w.A)(c))):-1===o.data.error_code?(i={header:"Error",content:o.data.data.msg},r(Object(w.A)(i))):r({type:"RVRT_EXAMNO",payload:o.data});case 7:case"end":return e.stop()}},e)}));return function(t,r){return e.apply(this,arguments)}}()},loadqpcode:function(t){return function(){var e=Object(n.a)(x().mark(function e(r,n){var a,o,c,i;return x().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return a=n(),r({type:"SET_LOADER"}),e.next=4,E.a.get("/app.php",{params:{a:"getqpcodervrt",univcode:a.user.fcuruniv,sem:t}});case 4:o=e.sent,r({type:"UNSET_LOADER"}),"object"!==typeof o.data?(c={header:"Error",content:"Something went wrong"},r(Object(w.A)(c))):-1===o.data.error_code?(i={header:"Error",content:o.data.data.msg},r(Object(w.A)(i))):r({type:"RVRT_SEM",payload:o.data});case 7:case"end":return e.stop()}},e)}));return function(t,r){return e.apply(this,arguments)}}()},loadrvrttable:function(t){return function(){var e=Object(n.a)(x().mark(function e(r,n){var a,o,c,i;return x().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return a=n(),r({type:"SET_LOADER"}),e.next=4,E.a.get("/app.php",{params:{a:"getrvrttable",univcode:a.user.fcuruniv,sem:t.semester,sub:t.subject}});case 4:o=e.sent,r({type:"UNSET_LOADER"}),"object"!==typeof o.data?(c={header:"Error",content:"Something went wrong"},r(Object(w.A)(c))):-1===o.data.error_code?(i={header:"Error",content:o.data.data.msg},r(Object(w.A)(i))):r({type:"RVRT_TABLE",payload:o.data});case 7:case"end":return e.stop()}},e)}));return function(t,r){return e.apply(this,arguments)}}()},savervrtblock:function(t){return function(){var e=Object(n.a)(x().mark(function e(r,n){var a,o,c,i,u;return x().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return a=n(),e.next=3,E.a.post("/app.php?a=saveRVRTBlock&univcode="+a.univ.funivcode,{data:t});case 3:o=e.sent,r({type:"UNSET_LOADER"}),"object"!==typeof o.data?(c={header:"Error",content:"Something went wrong"},r(Object(w.A)(c))):-1===o.data.error_code?(i={header:"Error",content:o.data.data.msg},r(Object(w.A)(i))):(u={header:"Success",content:o.data.data.msg},r(Object(w.A)(u)));case 6:case"end":return e.stop()}},e)}));return function(t,r){return e.apply(this,arguments)}}()}})(O)},272:function(t,e,r){"use strict";var n=r(270),a=r.n(n),o=r(268),c=r.n(o),i=r(2),u=r.n(i),l=r(349),s=r(613),h=r(611),f=r(269);function p(t){var e=t.children,r=t.className,n=t.clearing,o=t.content,i=t.fitted,d=t.hidden,v=t.horizontal,g=t.inverted,m=t.section,y=t.vertical,b=c()("ui",Object(l.a)(n,"clearing"),Object(l.a)(i,"fitted"),Object(l.a)(d,"hidden"),Object(l.a)(v,"horizontal"),Object(l.a)(g,"inverted"),Object(l.a)(m,"section"),Object(l.a)(y,"vertical"),"divider",r),w=Object(s.a)(p,t),E=Object(h.a)(p,t);return u.a.createElement(E,a()({},w,{className:b}),f.a.isNil(e)?o:e)}p.handledProps=["as","children","className","clearing","content","fitted","hidden","horizontal","inverted","section","vertical"],p.propTypes={},e.a=p}}]);
//# sourceMappingURL=271.7266f99d.chunk.js.map
|