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.141.198.113
(window.webpackJsonp=window.webpackJsonp||[]).push([[86,307],{1427:function(e,t,r){"use strict";r.r(t);var n=r(3),a=r(68),o=r(100),i=r(101),l=r(103),c=r(102),s=r(104),u=r(2),p=r.n(u),d=r(105),f=r(941),h=r(267),m=r(1377),g=r(1338),v=r(949),y=r(1343),E=r(272),b=r(1335),w=r(1337),x=r(1155),O=r(284),S=r(271);function k(){k=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",c=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 u(e,t,r,n){var o=t&&t.prototype instanceof v?t:v,i=Object.create(o.prototype),l=new D(n||[]);return a(i,"_invoke",{value:C(e,r,l)}),i}function p(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}t.wrap=u;var d="suspendedStart",f="suspendedYield",h="executing",m="completed",g={};function v(){}function y(){}function E(){}var b={};s(b,i,function(){return this});var w=Object.getPrototypeOf,x=w&&w(w(T([])));x&&x!==r&&n.call(x,i)&&(b=x);var O=E.prototype=v.prototype=Object.create(b);function S(e){["next","throw","return"].forEach(function(t){s(e,t,function(e){return this._invoke(t,e)})})}function A(e,t){function r(a,o,i,l){var c=p(e[a],e,o);if("throw"!==c.type){var s=c.arg,u=s.value;return u&&"object"==typeof u&&n.call(u,"__await")?t.resolve(u.__await).then(function(e){r("next",e,i,l)},function(e){r("throw",e,i,l)}):t.resolve(u).then(function(e){s.value=e,i(s)},function(e){return r("throw",e,i,l)})}l(c.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=d;return function(o,i){if(a===h)throw new Error("Generator is already running");if(a===m){if("throw"===o)throw i;return{value:e,done:!0}}for(n.method=o,n.arg=i;;){var l=n.delegate;if(l){var c=j(l,n);if(c){if(c===g)continue;return c}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(a===d)throw a=m,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);a=h;var s=p(t,r,n);if("normal"===s.type){if(a=n.done?m:f,s.arg===g)continue;return{value:s.arg,done:n.done}}"throw"===s.type&&(a=m,n.method="throw",n.arg=s.arg)}}}function j(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,j(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 i=o.arg;return i?i.done?(r[t.resultName]=i.value,r.next=t.nextLoc,"return"!==r.method&&(r.method="next",r.arg=e),r.delegate=null,g):i:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,g)}function L(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 D(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(L,this),this.reset(!0)}function T(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 y.prototype=E,a(O,"constructor",{value:E,configurable:!0}),a(E,"constructor",{value:y,configurable:!0}),y.displayName=s(E,c,"GeneratorFunction"),t.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===y||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,E):(e.__proto__=E,s(e,c,"GeneratorFunction")),e.prototype=Object.create(O),e},t.awrap=function(e){return{__await:e}},S(A.prototype),s(A.prototype,l,function(){return this}),t.AsyncIterator=A,t.async=function(e,r,n,a,o){void 0===o&&(o=Promise);var i=new A(u(e,r,n,a),o);return t.isGeneratorFunction(r)?i:i.next().then(function(e){return e.done?e.value:i.next()})},S(O),s(O,c,"Generator"),s(O,i,function(){return this}),s(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=T,D.prototype={constructor:D,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 l.type="throw",l.arg=t,r.next=n,a&&(r.method="next",r.arg=e),!!a}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],l=i.completion;if("root"===i.tryLoc)return a("end");if(i.tryLoc<=this.prev){var c=n.call(i,"catchLoc"),s=n.call(i,"finallyLoc");if(c&&s){if(this.prev<i.catchLoc)return a(i.catchLoc,!0);if(this.prev<i.finallyLoc)return a(i.finallyLoc)}else if(c){if(this.prev<i.catchLoc)return a(i.catchLoc,!0)}else{if(!s)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return a(i.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 i=o?o.completion:{};return i.type=e,i.arg=t,o?(this.method="next",this.next=o.finallyLoc,g):this.complete(i)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),g},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var 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:T(t),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=e),g}},t}r(274),r(275);function A(){A=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",c=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 u(e,t,r,n){var o=t&&t.prototype instanceof v?t:v,i=Object.create(o.prototype),l=new D(n||[]);return a(i,"_invoke",{value:C(e,r,l)}),i}function p(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}t.wrap=u;var d="suspendedStart",f="suspendedYield",h="executing",m="completed",g={};function v(){}function y(){}function E(){}var b={};s(b,i,function(){return this});var w=Object.getPrototypeOf,x=w&&w(w(T([])));x&&x!==r&&n.call(x,i)&&(b=x);var O=E.prototype=v.prototype=Object.create(b);function S(e){["next","throw","return"].forEach(function(t){s(e,t,function(e){return this._invoke(t,e)})})}function k(e,t){function r(a,o,i,l){var c=p(e[a],e,o);if("throw"!==c.type){var s=c.arg,u=s.value;return u&&"object"==typeof u&&n.call(u,"__await")?t.resolve(u.__await).then(function(e){r("next",e,i,l)},function(e){r("throw",e,i,l)}):t.resolve(u).then(function(e){s.value=e,i(s)},function(e){return r("throw",e,i,l)})}l(c.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=d;return function(o,i){if(a===h)throw new Error("Generator is already running");if(a===m){if("throw"===o)throw i;return{value:e,done:!0}}for(n.method=o,n.arg=i;;){var l=n.delegate;if(l){var c=j(l,n);if(c){if(c===g)continue;return c}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(a===d)throw a=m,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);a=h;var s=p(t,r,n);if("normal"===s.type){if(a=n.done?m:f,s.arg===g)continue;return{value:s.arg,done:n.done}}"throw"===s.type&&(a=m,n.method="throw",n.arg=s.arg)}}}function j(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,j(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 i=o.arg;return i?i.done?(r[t.resultName]=i.value,r.next=t.nextLoc,"return"!==r.method&&(r.method="next",r.arg=e),r.delegate=null,g):i:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,g)}function L(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 D(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(L,this),this.reset(!0)}function T(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 y.prototype=E,a(O,"constructor",{value:E,configurable:!0}),a(E,"constructor",{value:y,configurable:!0}),y.displayName=s(E,c,"GeneratorFunction"),t.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===y||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,E):(e.__proto__=E,s(e,c,"GeneratorFunction")),e.prototype=Object.create(O),e},t.awrap=function(e){return{__await:e}},S(k.prototype),s(k.prototype,l,function(){return this}),t.AsyncIterator=k,t.async=function(e,r,n,a,o){void 0===o&&(o=Promise);var i=new k(u(e,r,n,a),o);return t.isGeneratorFunction(r)?i:i.next().then(function(e){return e.done?e.value:i.next()})},S(O),s(O,c,"Generator"),s(O,i,function(){return this}),s(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=T,D.prototype={constructor:D,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 l.type="throw",l.arg=t,r.next=n,a&&(r.method="next",r.arg=e),!!a}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],l=i.completion;if("root"===i.tryLoc)return a("end");if(i.tryLoc<=this.prev){var c=n.call(i,"catchLoc"),s=n.call(i,"finallyLoc");if(c&&s){if(this.prev<i.catchLoc)return a(i.catchLoc,!0);if(this.prev<i.finallyLoc)return a(i.finallyLoc)}else if(c){if(this.prev<i.catchLoc)return a(i.catchLoc,!0)}else{if(!s)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return a(i.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 i=o?o.completion:{};return i.type=e,i.arg=t,o?(this.method="next",this.next=o.finallyLoc,g):this.complete(i)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),g},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var 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:T(t),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=e),g}},t}var C=[{key:"All",value:"All",text:"All"}],j=function(e){function t(){var e,r;Object(o.a)(this,t);for(var i=arguments.length,s=new Array(i),u=0;u<i;u++)s[u]=arguments[u];return(r=Object(l.a)(this,(e=Object(c.a)(t)).call.apply(e,[this].concat(s)))).state={deggrp:"All",programee:"All",degree:"All",sem:"All",subject:"All",date:"All",frmsubmit:!1,showValuationCards:!1,selectedQPCode:null,programeOpts:[],degreeOption:[],subjOption:[],dateOption:[],frmdate:"",todate:"",qpfrm:"0",qpto:"Z",qpPtrnStatus:"All",qpStatus:"All",ansKeyStatus:"All"},r.componentDidMount=Object(a.a)(A().mark(function e(){return A().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return r.props.loaddegreegroup(),e.next=3,r.setData();case 3:case"end":return e.stop()}},e)})),r.handleChangeDeggrp=function(){var e=Object(a.a)(A().mark(function e(t,n){return A().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return r.setState({deggrp:n.value,frmsubmit:!1,programee:"All",degree:"All",sem:"All",subject:"All",date:"All",viewdis:!1}),e.next=3,r.setData();case 3:case"end":return e.stop()}},e)}));return function(t,r){return e.apply(this,arguments)}}(),r.setData=Object(a.a)(A().mark(function e(){var t,a,o,i,l,c,s,u,p;return A().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,r.props.loadalldata(r.state.deggrp,"deggrp");case 2:t=r.props.all.program.map(function(e){return{key:e.fprogcode,value:e.fprogcode,text:e.fprogcode}}),a=[].concat(C,Object(n.a)(t)),r.setState({programeOpts:a}),o=r.props.all.degree.map(function(e){return{key:e.fdegree,value:e.fdegree,text:e.fdegree+" - "+e.fdescpn}}),i=[].concat(C,Object(n.a)(o)),r.setState({degreeOption:i}),l=r.props.all.subject.map(function(e){return{key:e.fqpcode,value:e.fqpcode,text:e.fqpcode+" - "+e.fsubname}}),c=[].concat(C,Object(n.a)(l)),r.setState({subjOption:c}),s=r.props.all.dates.map(function(e){return{key:e.fdoe,value:e.fdoe,text:e.fdoe}}),u=[].concat(C,Object(n.a)(s)),r.setState({dateOption:u}),p=[{key:"Uploaded",value:"Uploaded",text:"Uploaded"},{key:"Pending",value:"Pending",text:"Pending"}],r.setState({qpOption:[].concat(C,p)});case 16:case"end":return e.stop()}},e)})),r.handleChangeprogramee=function(){var e=Object(a.a)(A().mark(function e(t,a){var o,i,l,c,s,u;return A().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return r.setState({programee:a.value,frmsubmit:!1,degree:"All",sem:"All",subject:"All",date:"All"}),e.next=3,r.props.loadtdvsdegree(a.value,r.state.deggrp);case 3:o=r.props.degreenall.degree.map(function(e){return{key:e.fdegree,value:e.fdegree,text:e.fdegree+" - "+e.fdescpn}}),i=[].concat(C,Object(n.a)(o)),r.setState({degreeOption:i}),l=r.props.degreenall.subject.map(function(e){return{key:e.fqpcode,value:e.fqpcode,text:e.fqpcode+" - "+e.fsubname}}),c=[].concat(C,Object(n.a)(l)),r.setState({subjOption:c}),s=r.props.degreenall.dates.map(function(e){return{key:e.fdoe,value:e.fdoe,text:e.fdoe}}),u=[].concat(C,Object(n.a)(s)),r.setState({dateOption:u});case 12:case"end":return e.stop()}},e)}));return function(t,r){return e.apply(this,arguments)}}(),r.handleChangeDegree=function(){var e=Object(a.a)(A().mark(function e(t,a){var o,i,l,c;return A().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return r.setState({degree:a.value,sem:"All",subject:"All",date:"All"}),e.next=3,r.props.loadtdvssubject(a.value,r.state.deggrp,r.state.programee);case 3:o=r.props.semnall.subject.map(function(e){return{key:e.fqpcode,value:e.fqpcode,text:e.fqpcode+" - "+e.fsubname}}),i=[].concat(C,Object(n.a)(o)),r.setState({subjOption:i}),l=r.props.semnall.dates.map(function(e){return{key:e.fdoe,value:e.fdoe,text:e.fdoe}}),c=[].concat(C,Object(n.a)(l)),r.setState({dateOption:c,frmsubmit:!1});case 9:case"end":return e.stop()}},e)}));return function(t,r){return e.apply(this,arguments)}}(),r.handleChangeSem=function(){var e=Object(a.a)(A().mark(function e(t,a){var o,i,l,c;return A().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return r.setState({sem:a.value,frmsubmit:!1,subject:"All",date:"All"}),e.next=3,r.props.loadtdvssubj(a.value,r.state.deggrp,r.state.programee,r.state.degree);case 3:o=r.props.subjnall.subject.map(function(e){return{key:e.fqpcode,value:e.fqpcode,text:e.fqpcode+" - "+e.fsubname}}),i=[].concat(C,Object(n.a)(o)),r.setState({subjOption:i}),l=r.props.subjnall.dates.map(function(e){return{key:e.fdoe,value:e.fdoe,text:e.fdoe}}),c=[].concat(C,Object(n.a)(l)),r.setState({dateOption:c});case 9:case"end":return e.stop()}},e)}));return function(t,r){return e.apply(this,arguments)}}(),r.handleChangeSub=function(){var e=Object(a.a)(A().mark(function e(t,a){var o,i;return A().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return r.setState({subject:a.value,date:"All"}),e.next=3,r.props.loadtdvsdate(a.value,r.state.deggrp,r.state.programee,r.state.degree,r.state.sem);case 3:o=r.props.tdvsdate.map(function(e){return{key:e.fdoe,value:e.fdoe,text:e.fdoe}}),i=[].concat(C,Object(n.a)(o)),r.setState({dateOption:i,frmsubmit:!1});case 6:case"end":return e.stop()}},e)}));return function(t,r){return e.apply(this,arguments)}}(),r.handleDateChangeFrom=function(){var e=Object(a.a)(A().mark(function e(t,n){return A().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:"date",r.setState({date:n.value}),r.setState({frmsubmit:!1});case 3:case"end":return e.stop()}},e)}));return function(t,r){return e.apply(this,arguments)}}(),r.getTdvsStats=Object(a.a)(A().mark(function e(){var t,n,a,o,i,l;return A().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(""!==r.state.deggrp){e.next=4;break}return t={header:"Error",content:"Select Degree Group"},r.props.showError(t),e.abrupt("return");case 4:if(""!==r.state.programee){e.next=8;break}return n={header:"Error",content:"Select Programmee"},r.props.showError(n),e.abrupt("return");case 8:if(""!==r.state.degree){e.next=12;break}return a={header:"Error",content:"Select degree"},r.props.showError(a),e.abrupt("return");case 12:if(""!==r.state.sem){e.next=16;break}return o={header:"Error",content:"Select sem"},r.props.showError(o),e.abrupt("return");case 16:if(""!==r.state.subject){e.next=20;break}return i={header:"Error",content:"Select Subject"},r.props.showError(i),e.abrupt("return");case 20:if(""!==r.state.date){e.next=24;break}return l={header:"Error",content:"Select Date"},r.props.showError(l),e.abrupt("return");case 24:return e.next=26,r.props.loadtdvsstats(r.state.deggrp,r.state.programee,r.state.degree,r.state.sem,r.state.subject,r.state.date,r.state.frmdate,r.state.todate,r.state.qpfrm,r.state.qpto,r.state.qpPtrnStatus,r.state.qpStatus,r.state.ansKeyStatus);case 26:r.setState({frmsubmit:!0,showValuationCards:!1});case 27:case"end":return e.stop()}},e)})),r.handleCancel=function(){window.location.reload()},r.onViewClick=function(){var e=Object(a.a)(A().mark(function e(t){return A().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,r.props.loadqpdetails(t);case 2:e.sent,r.setState({showValuationCards:!0,selectedQPCode:t,viewdis:!0});case 4:case"end":return e.stop()}},e)}));return function(t){return e.apply(this,arguments)}}(),r.handleHideValuationCards=function(){r.setState({showValuationCards:!1,selectedQPCode:null,viewdis:!1})},r}return Object(s.a)(t,e),Object(i.a)(t,[{key:"renderValuationTables",value:function(){var e=this.props.valuationData.result1;return e&&0!==e.length?Object(n.a)(new Set(e.map(function(e){return e.fvalno}))).map(function(t){return p.a.createElement(m.a,{key:t,style:{width:"700px"}},p.a.createElement(m.a.Content,null,p.a.createElement(g.a,{celled:!0},p.a.createElement(g.a.Header,null,p.a.createElement(g.a.Row,null,p.a.createElement(g.a.HeaderCell,{colSpan:"5",style:{textAlign:"center",background:"rgb(30, 127, 145)",color:"white"}},"Valuation ",t)),p.a.createElement(g.a.Row,null,p.a.createElement(g.a.HeaderCell,{style:{textAlign:"center",background:"rgb(30, 127, 145)",color:"white"}},"Teacher Code"),p.a.createElement(g.a.HeaderCell,{style:{textAlign:"center",background:"rgb(30, 127, 145)",color:"white"}},"Teacher Name"),p.a.createElement(g.a.HeaderCell,{style:{textAlign:"center",background:"rgb(30, 127, 145)",color:"white"}},"Assigned Scripts"),p.a.createElement(g.a.HeaderCell,{style:{textAlign:"center",background:"rgb(30, 127, 145)",color:"white"}},"Tot. Valued"))),p.a.createElement(g.a.Body,null,e.filter(function(e){return e.fvalno===t}).map(function(e,t){return null===e.teachstatus?p.a.createElement(g.a.Row,{key:t},p.a.createElement(g.a.Cell,{textAlign:"center",colSpan:"4"},"Teacher Not Assigned")):e.teachstatus.split("*").map(function(e,r){var n=e.split(" - ");return p.a.createElement(g.a.Row,{key:"".concat(t,"_").concat(r)},p.a.createElement(g.a.Cell,{textAlign:"center"},n[0]||"Teacher not assigned"),p.a.createElement(g.a.Cell,{textAlign:"center"},n[1]||"Teacher not assigned"),p.a.createElement(g.a.Cell,{textAlign:"center"},n[2]||"Teacher not assigned"),p.a.createElement(g.a.Cell,{textAlign:"center"},n[3]||"Teacher not assigned"))})})))))}):null}},{key:"render",value:function(){var e=this,t=[{key:"All",value:"All",text:"All"}],r=this.props.deggrp.map(function(e){return{key:e.fdeggrp,value:e.fdeggrp,text:e.fdescpn}}),a=[].concat(t,Object(n.a)(r)),o=[].concat(t,[{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"}]);return p.a.createElement("div",null,p.a.createElement(m.a,{fluid:!0},p.a.createElement(v.a,null,p.a.createElement(m.a.Header,{style:{display:"flex"}},p.a.createElement("h4",null,"TDVS Statistics"),p.a.createElement("div",{className:"ml-auto"},p.a.createElement(y.a,{size:"mini",basic:!0,color:"blue",icon:"ban",content:"Clear",onClick:this.handleCancel}),p.a.createElement(f.a,{to:"/dashboard"},p.a.createElement(y.a,{size:"mini",basic:!0,color:"red",content:"Exit",icon:"home"})))),p.a.createElement(E.a,null),p.a.createElement(m.a.Description,{style:{height:"auto"}},p.a.createElement(b.a,null,p.a.createElement(b.a.Group,null,p.a.createElement(b.a.Field,{width:6},p.a.createElement("label",null,"Degree Group"),p.a.createElement(w.a,{fluid:!0,selection:!0,search:!0,value:this.state.deggrp,options:a,name:"deggrp",placeholder:"Select Degree Group",onChange:this.handleChangeDeggrp})),p.a.createElement(b.a.Field,{width:4},p.a.createElement("label",null,"Program"),p.a.createElement(w.a,{fluid:!0,selection:!0,search:!0,value:this.state.programee,options:this.state.programeOpts,name:"programee",placeholder:"Select Programee",onChange:this.handleChangeprogramee})),p.a.createElement(b.a.Field,{width:6},p.a.createElement("label",null,"Degree"),p.a.createElement(w.a,{fluid:!0,selection:!0,search:!0,value:this.state.degree,options:this.state.degreeOption,name:"degree",placeholder:"Select Degree",onChange:this.handleChangeDegree}))),p.a.createElement(b.a.Group,null,p.a.createElement(b.a.Field,{width:6},p.a.createElement("label",null,"QP Code / Course"),p.a.createElement(w.a,{fluid:!0,selection:!0,search:!0,value:this.state.subject,options:this.state.subjOption,name:"subject",placeholder:"Select Subject",onChange:this.handleChangeSub})),p.a.createElement(b.a.Field,{width:4},p.a.createElement("label",null,"Sem/Year"),p.a.createElement(w.a,{fluid:!0,selection:!0,search:!0,value:this.state.sem,options:o,name:"sem",placeholder:"Select Sem",onChange:this.handleChangeSem})),p.a.createElement(b.a.Field,{width:6},p.a.createElement("label",null,"Exam Date"),p.a.createElement(w.a,{fluid:!0,selection:!0,search:!0,value:this.state.date,options:this.state.dateOption,name:"date",placeholder:"Exam Date",onChange:this.handleDateChangeFrom}))),p.a.createElement(b.a.Group,null,p.a.createElement(b.a.Field,{width:3},p.a.createElement("label",null,"From Date"),p.a.createElement("input",{type:"date",onChange:function(t){e.setState({frmdate:t.target.value,frmsubmit:!1})},mask:"ed/nm/zyyy",clearIcon:!1,className:"date",name:"frmdate",value:this.state.frmdate})),p.a.createElement(b.a.Field,{width:3},p.a.createElement("label",null,"To date"),p.a.createElement("input",{type:"date",onChange:function(t){e.setState({todate:t.target.value,frmsubmit:!1})},mask:"ed/nm/zyyy",clearIcon:!1,className:"date",name:"frmdate",value:this.state.todate})),p.a.createElement(b.a.Field,{width:2},p.a.createElement("label",null,"QP From"),p.a.createElement(x.a,{type:"text",value:this.state.qpfrm,name:"qpfrm",placeholder:"QP Range",onChange:function(t,r){return e.setState({qpfrm:r.value,frmsubmit:!1})}})),p.a.createElement(b.a.Field,{width:2},p.a.createElement("label",null,"QP To"),p.a.createElement(x.a,{type:"text",value:this.state.qpto,name:"qpto",placeholder:"QP Range",onChange:function(t,r){return e.setState({qpto:r.value,frmsubmit:!1})}})),p.a.createElement(b.a.Field,{width:2},p.a.createElement("label",null,"QP Pattern Status"),p.a.createElement(w.a,{fluid:!0,selection:!0,search:!0,value:this.state.qpPtrnStatus,options:this.state.qpOption,name:"qpptr",onChange:function(t,r){return e.setState({qpPtrnStatus:r.value,frmsubmit:!1})}})),p.a.createElement(b.a.Field,{width:2},p.a.createElement("label",null,"QP Status"),p.a.createElement(w.a,{fluid:!0,selection:!0,search:!0,value:this.state.qpStatus,options:this.state.qpOption,name:"qpstut",onChange:function(t,r){return e.setState({qpStatus:r.value,frmsubmit:!1})}})),p.a.createElement(b.a.Field,{width:2},p.a.createElement("label",null,"Ans Key Status"),p.a.createElement(w.a,{fluid:!0,selection:!0,search:!0,value:this.state.ansKeyStatus,options:this.state.qpOption,name:"qpstut",onChange:function(t,r){return e.setState({ansKeyStatus:r.value,frmsubmit:!1})}}))),p.a.createElement(b.a.Group,null,p.a.createElement(b.a.Field,null,p.a.createElement(y.a,{basic:!0,color:"blue",onClick:this.getTdvsStats,content:"View",size:"tiny",disabled:this.state.viewdis})))),this.state.frmsubmit&&!this.state.showValuationCards?p.a.createElement("div",{style:{overflowX:"auto"}},p.a.createElement(g.a,{celled:!0},p.a.createElement(g.a.Header,null,p.a.createElement(g.a.Row,null,p.a.createElement(g.a.HeaderCell,{style:{textAlign:"center",background:"rgb(30, 127, 145)",color:"white"}},"Sl.No"),p.a.createElement(g.a.HeaderCell,{style:{textAlign:"center",background:"rgb(30, 127, 145)",color:"white"}},"Course Name"),p.a.createElement(g.a.HeaderCell,{style:{textAlign:"center",background:"rgb(30, 127, 145)",color:"white"}},"Exm Date"),p.a.createElement(g.a.HeaderCell,{style:{textAlign:"center",background:"rgb(30, 127, 145)",color:"white"}},"QP Pattern?"),p.a.createElement(g.a.HeaderCell,{style:{textAlign:"center",background:"rgb(30, 127, 145)",color:"white"}},"QP Uploaded?"),p.a.createElement(g.a.HeaderCell,{style:{textAlign:"center",background:"rgb(30, 127, 145)",color:"white"}},"Ans key Uploaded?"),p.a.createElement(g.a.HeaderCell,{style:{textAlign:"center",background:"rgb(30, 127, 145)",color:"white"}},"Ans. bklt. Upl."),p.a.createElement(g.a.HeaderCell,{style:{textAlign:"center",background:"rgb(30, 127, 145)",color:"white"}},"1st Val Tot."),p.a.createElement(g.a.HeaderCell,{style:{textAlign:"center",background:"rgb(30, 127, 145)",color:"white"}},"1st Val Pend"),p.a.createElement(g.a.HeaderCell,{style:{textAlign:"center",background:"rgb(30, 127, 145)",color:"white"}},"2nd Val Tot."),p.a.createElement(g.a.HeaderCell,{style:{textAlign:"center",background:"rgb(30, 127, 145)",color:"white"}},"2nd Val Pend"),p.a.createElement(g.a.HeaderCell,{style:{textAlign:"center",background:"rgb(30, 127, 145)",color:"white"}},"Devtion Tot."),p.a.createElement(g.a.HeaderCell,{style:{textAlign:"center",background:"rgb(30, 127, 145)",color:"white"}},"Devtion Pend"),p.a.createElement(g.a.HeaderCell,{style:{textAlign:"center",background:"rgb(30, 127, 145)",color:"white"}},"Decoded Count."),p.a.createElement(g.a.HeaderCell,{style:{textAlign:"center",background:"rgb(30, 127, 145)",color:"white"}},"Action"))),p.a.createElement(g.a.Body,null,this.props.table.map(function(t,r){return p.a.createElement(g.a.Row,{key:r},p.a.createElement(g.a.Cell,{style:{textAlign:"center"}},r+1),p.a.createElement(g.a.Cell,null,t.fqpcode,"- ",t.FSUBNAME),p.a.createElement(g.a.Cell,{style:{textAlign:"center"}},t.fdoe),p.a.createElement(g.a.Cell,null,t.ftempcode?"Yes (".concat(t.ftempcode,")"):"No"),p.a.createElement(g.a.Cell,{style:{textAlign:"center"}},t.qpupd),p.a.createElement(g.a.Cell,{style:{textAlign:"center"}},t.ansupd),p.a.createElement(g.a.Cell,{style:{textAlign:"center"}},t.updstatus),p.a.createElement(g.a.Cell,{style:{textAlign:"center"}},t.fvalcnt),p.a.createElement(g.a.Cell,{style:{textAlign:"center"}},t.fpend),p.a.createElement(g.a.Cell,{style:{textAlign:"center"}},t.svalcnt),p.a.createElement(g.a.Cell,{style:{textAlign:"center"}},t.spend),p.a.createElement(g.a.Cell,{style:{textAlign:"center"}},t.dvalcnt),p.a.createElement(g.a.Cell,{style:{textAlign:"center"}},t.dvalc),p.a.createElement(g.a.Cell,{style:{textAlign:"center"}},t.decodestatus),p.a.createElement(g.a.Cell,{style:{textAlign:"center"}},p.a.createElement(y.a,{basic:!0,color:"blue",onClick:function(){return e.onViewClick(t.fqpcode)},icon:"eye",size:"mini"})))})))):null,this.state.showValuationCards&&p.a.createElement("div",{style:{position:"relative"}},p.a.createElement(y.a,{basic:!0,color:"red",onClick:this.handleHideValuationCards,content:"Back",style:{position:"absolute",top:"-50px",right:0}}),p.a.createElement("div",{style:{display:"flex",justifyContent:"center",alignItems:"center",flexDirection:"column"}},p.a.createElement(m.a,{style:{width:"700px"}},p.a.createElement(m.a.Content,null,p.a.createElement(g.a,{celled:!0},p.a.createElement(g.a.Header,null,p.a.createElement(g.a.Row,null,p.a.createElement(g.a.HeaderCell,{colSpan:"5",style:{textAlign:"center",background:"rgb(30, 127, 145)",color:"white"}},this.props.valuationData.result[0].fsubname," -",this.props.valuationData.result[0].fqpcode)),p.a.createElement(g.a.Row,null,p.a.createElement(g.a.HeaderCell,{style:{textAlign:"center",background:"rgb(30, 127, 145)",color:"white"}},"Val. No."),p.a.createElement(g.a.HeaderCell,{style:{textAlign:"center",background:"rgb(30, 127, 145)",color:"white"}},"Tot. Scriptd"),p.a.createElement(g.a.HeaderCell,{style:{textAlign:"center",background:"rgb(30, 127, 145)",color:"white"}},"Tot. Valued"),p.a.createElement(g.a.HeaderCell,{style:{textAlign:"center",background:"rgb(30, 127, 145)",color:"white"}},"Val. Pending"))),p.a.createElement(g.a.Body,null,this.props.valuationData.result.map(function(e,t){return p.a.createElement(g.a.Row,{key:t},p.a.createElement(g.a.Cell,{style:{textAlign:"center"}},e.fvalno),p.a.createElement(g.a.Cell,{style:{textAlign:"center"}},e.cnt),p.a.createElement(g.a.Cell,{style:{textAlign:"center"}},e.fsstatus),p.a.createElement(g.a.Cell,{style:{textAlign:"center"}},e.fpstatus))}))))),this.renderValuationTables()))))))}}]),t}(u.Component);t.default=Object(d.b)(function(e){return{deggrp:e.deggrpexamcentre,all:e.loadalldata,degreenall:e.loadtdvsdegree,semnall:e.loadtdvssubject,subjnall:e.loadtdvssubj,tdvsdate:e.loadtdvsdate,table:e.loadtdvsstats,valuationData:e.loadqpdetails,collcode:e.user.fuserid,univcode:e.univ.funivcode,userid:e.user.fuserid,usertype:e.user.fcurtype}},{showError:h.A,loaddegreegroup:O.c,loadalldata:function(e){return function(){var t=Object(a.a)(k().mark(function t(r,n){var a,o,i,l;return k().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return a=n(),r({type:"SET_LOADER"}),t.next=4,S.a.get("/app.php?a=loadalldata&univcode="+a.univ.funivcode+"&data="+e);case 4:o=t.sent,r({type:"UNSET_LOADER"}),"object"!==typeof o.data?(i={header:"Error",content:"Something went wrong"},r(Object(h.A)(i))):-1==o.data.error_code?(l={header:"Error",content:o.data.data.msg},r({type:"CLEAR_ALL_DATA",payload:o.data}),r(Object(h.A)(l))):r({type:"GET_ALL_DATA",payload:o.data});case 7:case"end":return t.stop()}},t)}));return function(e,r){return t.apply(this,arguments)}}()},loadtdvsdegree:function(e,t){return function(){var r=Object(a.a)(k().mark(function r(n,a){var o,i,l,c;return k().wrap(function(r){for(;;)switch(r.prev=r.next){case 0:return o=a(),n({type:"SET_LOADER"}),r.next=4,S.a.get("/app.php?a=loadtdvsdegree&univcode="+o.univ.funivcode+"&program="+e+"°grp="+t);case 4:i=r.sent,n({type:"UNSET_LOADER"}),"object"!==typeof i.data?(l={header:"Error",content:"Something went wrong"},n(Object(h.A)(l))):-1==i.data.error_code?(c={header:"Error",content:i.data.data.msg},n({type:"CLEAR_TDVS_DEG_DATA",payload:i.data}),n(Object(h.A)(c))):n({type:"GET_TDVS_DEG_DATA",payload:i.data});case 7:case"end":return r.stop()}},r)}));return function(e,t){return r.apply(this,arguments)}}()},loadmastersdeg:O.d,loadtdvssubject:function(e,t,r){return function(){var n=Object(a.a)(k().mark(function n(a,o){var i,l,c,s;return k().wrap(function(n){for(;;)switch(n.prev=n.next){case 0:return i=o(),a({type:"SET_LOADER"}),n.next=4,S.a.get("/app.php?a=loadtdvssubject&univcode="+i.univ.funivcode+"°ree="+e+"°grp="+t+"&program="+r);case 4:l=n.sent,a({type:"UNSET_LOADER"}),"object"!==typeof l.data?(c={header:"Error",content:"Something went wrong"},a(Object(h.A)(c))):-1==l.data.error_code?(s={header:"Error",content:l.data.data.msg},a({type:"CLEAR_TDVS_SUBJECT_DATA",payload:l.data}),a(Object(h.A)(s))):a({type:"GET_TDVS_SUBJECT_DATA",payload:l.data});case 7:case"end":return n.stop()}},n)}));return function(e,t){return n.apply(this,arguments)}}()},loadtdvssubj:function(e,t,r,n){return function(){var o=Object(a.a)(k().mark(function a(o,i){var l,c,s,u;return k().wrap(function(a){for(;;)switch(a.prev=a.next){case 0:return l=i(),o({type:"SET_LOADER"}),a.next=4,S.a.get("/app.php?a=loadtdvssubj&univcode="+l.univ.funivcode+"&sem="+e+"°grp="+t+"&program="+r+"°ree="+n);case 4:c=a.sent,o({type:"UNSET_LOADER"}),"object"!==typeof c.data?(s={header:"Error",content:"Something went wrong"},o(Object(h.A)(s))):-1==c.data.error_code?(u={header:"Error",content:c.data.data.msg},o({type:"CLEAR_TDVS_SUBJ_DATA",payload:c.data}),o(Object(h.A)(u))):o({type:"GET_TDVS_SUBJ_DATA",payload:c.data});case 7:case"end":return a.stop()}},a)}));return function(e,t){return o.apply(this,arguments)}}()},loadtdvsdate:function(e,t,r,n,o){return function(){var i=Object(a.a)(k().mark(function a(i,l){var c,s,u,p;return k().wrap(function(a){for(;;)switch(a.prev=a.next){case 0:return c=l(),i({type:"SET_LOADER"}),a.next=4,S.a.get("/app.php?a=loadtdvsdate&univcode="+c.univ.funivcode+"&subject="+e+"°grp="+t+"&program="+r+"°ree="+n+"&sem="+o);case 4:s=a.sent,i({type:"UNSET_LOADER"}),"object"!==typeof s.data?(u={header:"Error",content:"Something went wrong"},i(Object(h.A)(u))):-1==s.data.error_code?(p={header:"Error",content:s.data.data.msg},i({type:"CLEAR_DATES_DATA",payload:s.data}),i(Object(h.A)(p))):i({type:"GET_DATES_DATA",payload:s.data});case 7:case"end":return a.stop()}},a)}));return function(e,t){return i.apply(this,arguments)}}()},loadtdvsstats:function(e,t,r,n,o,i,l,c,s,u,p,d,f){return function(){var m=Object(a.a)(k().mark(function a(m,g){var v,y,E;return k().wrap(function(a){for(;;)switch(a.prev=a.next){case 0:return v=g(),m({type:"SET_LOADER"}),a.next=4,S.a.get("/app.php?a=loadtdvsstats&univcode="+v.univ.funivcode+"°grp="+e+"&programee="+t+"°ree="+r+"&sem="+n+"&subject="+o+"&date="+i+"&frmdate="+l+"&todate="+c+"&qpfrm="+s+"&qpto="+u+"&qpptrn="+p+"&qpstatus="+d+"&ansstats="+f);case 4:y=a.sent,m({type:"UNSET_LOADER"}),"object"!==typeof y.data?(E={header:"Error",content:"Something went wrong"},m(Object(h.A)(E))):-1==y.data.error_code?(y.data.data.msg,m({type:"CLEAR_TDVS_STATS_DATA",payload:y.data})):m({type:"GET_TDVS_STATS_DATA",payload:y.data});case 7:case"end":return a.stop()}},a)}));return function(e,t){return m.apply(this,arguments)}}()},loadqpdetails:function(e){return function(){var t=Object(a.a)(k().mark(function t(r,n){var a,o,i;return k().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return a=n(),r({type:"SET_LOADER"}),t.next=4,S.a.get("/app.php?a=loadqpdetails&univcode="+a.univ.funivcode+"&fqpcode="+e);case 4:o=t.sent,r({type:"UNSET_LOADER"}),"object"!==typeof o.data?(i={header:"Error",content:"Something went wrong"},r(Object(h.A)(i))):-1==o.data.error_code?(o.data.data.msg,r({type:"CLEAR_QPCODE_DATA",payload:o.data})):r({type:"GET_QPCODE_DATA",payload:o.data});case 7:case"end":return t.stop()}},t)}));return function(e,r){return t.apply(this,arguments)}}()}})(j)},272:function(e,t,r){"use strict";var n=r(270),a=r.n(n),o=r(268),i=r.n(o),l=r(2),c=r.n(l),s=r(349),u=r(613),p=r(611),d=r(269);function f(e){var t=e.children,r=e.className,n=e.clearing,o=e.content,l=e.fitted,h=e.hidden,m=e.horizontal,g=e.inverted,v=e.section,y=e.vertical,E=i()("ui",Object(s.a)(n,"clearing"),Object(s.a)(l,"fitted"),Object(s.a)(h,"hidden"),Object(s.a)(m,"horizontal"),Object(s.a)(g,"inverted"),Object(s.a)(v,"section"),Object(s.a)(y,"vertical"),"divider",r),b=Object(u.a)(f,e),w=Object(p.a)(f,e);return c.a.createElement(w,a()({},b,{className:E}),d.a.isNil(t)?o:t)}f.handledProps=["as","children","className","clearing","content","fitted","hidden","horizontal","inverted","section","vertical"],f.propTypes={},t.a=f},275:function(e,t,r){e.exports=r(276)},276:function(e,t,r){"use strict";var n,a=(n=r(2))&&"object"==typeof n&&"default"in n?n.default:n,o=r(106);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}function l(e,t){e.prototype=Object.create(t.prototype),function(e,t){for(var r=Object.getOwnPropertyNames(t),n=0;n<r.length;n++){var a=r[n],o=Object.getOwnPropertyDescriptor(t,a);o&&o.configurable&&void 0===e[a]&&Object.defineProperty(e,a,o)}}(e.prototype.constructor=e,t)}function c(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}var s=function(e,t,r,n,a,o,i,l){if(!e){var c;if(void 0===t)c=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var s=[r,n,a,o,i,l],u=0;(c=new Error(t.replace(/%s/g,function(){return s[u++]}))).name="Invariant Violation"}throw c.framesToPop=1,c}};function u(e,t,r){if("selectionStart"in e&&"selectionEnd"in e)e.selectionStart=t,e.selectionEnd=r;else{var n=e.createTextRange();n.collapse(!0),n.moveStart("character",t),n.moveEnd("character",r-t),n.select()}}var p={9:"[0-9]",a:"[A-Za-z]","*":"[A-Za-z0-9]"},d="_";function f(e,t,r){var n="",a="",o=null,i=[];if(void 0===t&&(t=d),null==r&&(r=p),!e||"string"!=typeof e)return{maskChar:t,formatChars:r,mask:null,prefix:null,lastEditablePosition:null,permanents:[]};var l=!1;return e.split("").forEach(function(e){l=!l&&"\\"===e||(l||!r[e]?(i.push(n.length),n.length===i.length-1&&(a+=e)):o=n.length+1,n+=e,!1)}),{maskChar:t,formatChars:r,prefix:a,mask:n,lastEditablePosition:o,permanents:i}}function h(e,t){return-1!==e.permanents.indexOf(t)}function m(e,t,r){var n=e.mask,a=e.formatChars;if(!r)return!1;if(h(e,t))return n[t]===r;var o=a[n[t]];return new RegExp(o).test(r)}function g(e,t){return t.split("").every(function(t,r){return h(e,r)||!m(e,r,t)})}function v(e,t){var r=e.maskChar,n=e.prefix;if(!r){for(;t.length>n.length&&h(e,t.length-1);)t=t.slice(0,t.length-1);return t.length}for(var a=n.length,o=t.length;o>=n.length;o--){var i=t[o];if(!h(e,o)&&m(e,o,i)){a=o+1;break}}return a}function y(e,t){return v(e,t)===e.mask.length}function E(e,t){var r=e.maskChar,n=e.mask,a=e.prefix;if(!r){for((t=b(e,"",t,0)).length<a.length&&(t=a);t.length<n.length&&h(e,t.length);)t+=n[t.length];return t}if(t)return b(e,E(e,""),t,0);for(var o=0;o<n.length;o++)h(e,o)?t+=n[o]:t+=r;return t}function b(e,t,r,n){var a=e.mask,o=e.maskChar,i=e.prefix,l=r.split(""),c=y(e,t);return!o&&n>t.length&&(t+=a.slice(t.length,n)),l.every(function(r){for(;u=r,h(e,s=n)&&u!==a[s];){if(n>=t.length&&(t+=a[n]),l=r,o&&h(e,n)&&l===o)return!0;if(++n>=a.length)return!1}var l,s,u;return!m(e,n,r)&&r!==o||(n<t.length?t=o||c||n<i.length?t.slice(0,n)+r+t.slice(n+1):(t=t.slice(0,n)+r+t.slice(n),E(e,t)):o||(t+=r),++n<a.length)}),t}function w(e,t){for(var r=e.mask,n=t;n<r.length;++n)if(!h(e,n))return n;return null}function x(e){return e||0===e?e+"":""}function O(e,t,r,n,a){var o=e.mask,i=e.prefix,l=e.lastEditablePosition,c=t,s="",u=0,p=0,d=Math.min(a.start,r.start);return r.end>a.start?p=(u=function(e,t,r,n){var a=e.mask,o=e.maskChar,i=r.split(""),l=n;return i.every(function(t){for(;i=t,h(e,r=n)&&i!==a[r];)if(++n>=a.length)return!1;var r,i;return(m(e,n,t)||t===o)&&n++,n<a.length}),n-l}(e,0,s=c.slice(a.start,r.end),d))?a.length:0:c.length<n.length&&(p=n.length-c.length),c=n,p&&(1!==p||a.length||(d=a.start===r.start?w(e,r.start):function(e,t){for(var r=t;0<=r;--r)if(!h(e,r))return r;return null}(e,r.start)),c=function(e,t,r,n){var a=r+n,o=e.maskChar,i=e.mask,l=e.prefix,c=t.split("");if(o)return c.map(function(t,n){return n<r||a<=n?t:h(e,n)?i[n]:o}).join("");for(var s=a;s<c.length;s++)h(e,s)&&(c[s]="");return r=Math.max(l.length,r),c.splice(r,a-r),t=c.join(""),E(e,t)}(e,c,d,p)),c=b(e,c,s,d),(d+=u)>=o.length?d=o.length:d<i.length&&!u?d=i.length:d>=i.length&&d<l&&u&&(d=w(e,d)),s||(s=null),{value:c=E(e,c),enteredString:s,selection:{start:d,end:d}}}function S(e){return"function"==typeof e}function k(){return window.cancelAnimationFrame||window.webkitCancelRequestAnimationFrame||window.webkitCancelAnimationFrame||window.mozCancelAnimationFrame}function A(e){return(k()?window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame:function(){return setTimeout(e,1e3/60)})(e)}function C(e){(k()||clearTimeout)(e)}var j=function(e){function t(t){var r=e.call(this,t)||this;r.focused=!1,r.mounted=!1,r.previousSelection=null,r.selectionDeferId=null,r.saveSelectionLoopDeferId=null,r.saveSelectionLoop=function(){r.previousSelection=r.getSelection(),r.saveSelectionLoopDeferId=A(r.saveSelectionLoop)},r.runSaveSelectionLoop=function(){null===r.saveSelectionLoopDeferId&&r.saveSelectionLoop()},r.stopSaveSelectionLoop=function(){null!==r.saveSelectionLoopDeferId&&(C(r.saveSelectionLoopDeferId),r.saveSelectionLoopDeferId=null,r.previousSelection=null)},r.getInputDOMNode=function(){if(!r.mounted)return null;var e=o.findDOMNode(c(c(r))),t="undefined"!=typeof window&&e instanceof window.Element;if(e&&!t)return null;if("INPUT"!==e.nodeName&&(e=e.querySelector("input")),!e)throw new Error("react-input-mask: inputComponent doesn't contain input node");return e},r.getInputValue=function(){var e=r.getInputDOMNode();return e?e.value:null},r.setInputValue=function(e){var t=r.getInputDOMNode();t&&(r.value=e,t.value=e)},r.setCursorToEnd=function(){var e=v(r.maskOptions,r.value),t=w(r.maskOptions,e);null!==t&&r.setCursorPosition(t)},r.setSelection=function(e,t,n){void 0===n&&(n={});var a=r.getInputDOMNode(),o=r.isFocused();a&&o&&(n.deferred||u(a,e,t),null!==r.selectionDeferId&&C(r.selectionDeferId),r.selectionDeferId=A(function(){r.selectionDeferId=null,u(a,e,t)}),r.previousSelection={start:e,end:t,length:Math.abs(t-e)})},r.getSelection=function(){return function(e){var t=0,r=0;if("selectionStart"in e&&"selectionEnd"in e)t=e.selectionStart,r=e.selectionEnd;else{var n=document.selection.createRange();n.parentElement()===e&&(t=-n.moveStart("character",-e.value.length),r=-n.moveEnd("character",-e.value.length))}return{start:t,end:r,length:r-t}}(r.getInputDOMNode())},r.getCursorPosition=function(){return r.getSelection().start},r.setCursorPosition=function(e){r.setSelection(e,e)},r.isFocused=function(){return r.focused},r.getBeforeMaskedValueChangeConfig=function(){var e=r.maskOptions,t=e.mask,n=e.maskChar,a=e.permanents,o=e.formatChars;return{mask:t,maskChar:n,permanents:a,alwaysShowMask:!!r.props.alwaysShowMask,formatChars:o}},r.isInputAutofilled=function(e,t,n,a){var o=r.getInputDOMNode();try{if(o.matches(":-webkit-autofill"))return!0}catch(s){}return!r.focused||a.end<n.length&&t.end===e.length},r.onChange=function(e){var t=c(c(r)).beforePasteState,n=c(c(r)).previousSelection,a=r.props.beforeMaskedValueChange,o=r.getInputValue(),i=r.value,l=r.getSelection();r.isInputAutofilled(o,l,i,n)&&(i=E(r.maskOptions,""),n={start:0,end:0,length:0}),t&&(n=t.selection,i=t.value,l={start:n.start+o.length,end:n.start+o.length,length:0},o=i.slice(0,n.start)+o+i.slice(n.end),r.beforePasteState=null);var s=O(r.maskOptions,o,l,i,n),u=s.enteredString,p=s.selection,d=s.value;if(S(a)){var f=a({value:d,selection:p},{value:i,selection:n},u,r.getBeforeMaskedValueChangeConfig());d=f.value,p=f.selection}r.setInputValue(d),S(r.props.onChange)&&r.props.onChange(e),r.isWindowsPhoneBrowser?r.setSelection(p.start,p.end,{deferred:!0}):r.setSelection(p.start,p.end)},r.onFocus=function(e){var t=r.props.beforeMaskedValueChange,n=r.maskOptions,a=n.mask,o=n.prefix;if(r.focused=!0,r.mounted=!0,a){if(r.value)v(r.maskOptions,r.value)<r.maskOptions.mask.length&&r.setCursorToEnd();else{var i=E(r.maskOptions,o),l=E(r.maskOptions,i),c=v(r.maskOptions,l),s=w(r.maskOptions,c),u={start:s,end:s};if(S(t)){var p=t({value:l,selection:u},{value:r.value,selection:null},null,r.getBeforeMaskedValueChangeConfig());l=p.value,u=p.selection}var d=l!==r.getInputValue();d&&r.setInputValue(l),d&&S(r.props.onChange)&&r.props.onChange(e),r.setSelection(u.start,u.end)}r.runSaveSelectionLoop()}S(r.props.onFocus)&&r.props.onFocus(e)},r.onBlur=function(e){var t=r.props.beforeMaskedValueChange,n=r.maskOptions.mask;if(r.stopSaveSelectionLoop(),r.focused=!1,n&&!r.props.alwaysShowMask&&g(r.maskOptions,r.value)){var a="";S(t)&&(a=t({value:a,selection:null},{value:r.value,selection:r.previousSelection},null,r.getBeforeMaskedValueChangeConfig()).value);var o=a!==r.getInputValue();o&&r.setInputValue(a),o&&S(r.props.onChange)&&r.props.onChange(e)}S(r.props.onBlur)&&r.props.onBlur(e)},r.onMouseDown=function(e){if(!r.focused&&document.addEventListener){r.mouseDownX=e.clientX,r.mouseDownY=e.clientY,r.mouseDownTime=(new Date).getTime();document.addEventListener("mouseup",function e(t){if(document.removeEventListener("mouseup",e),r.focused){var n=Math.abs(t.clientX-r.mouseDownX),a=Math.abs(t.clientY-r.mouseDownY),o=Math.max(n,a),i=(new Date).getTime()-r.mouseDownTime;(o<=10&&i<=200||o<=5&&i<=300)&&r.setCursorToEnd()}})}S(r.props.onMouseDown)&&r.props.onMouseDown(e)},r.onPaste=function(e){S(r.props.onPaste)&&r.props.onPaste(e),e.defaultPrevented||(r.beforePasteState={value:r.getInputValue(),selection:r.getSelection()},r.setInputValue(""))},r.handleRef=function(e){null==r.props.children&&S(r.props.inputRef)&&r.props.inputRef(e)};var n=t.mask,a=t.maskChar,i=t.formatChars,l=t.alwaysShowMask,s=t.beforeMaskedValueChange,p=t.defaultValue,d=t.value;r.maskOptions=f(n,a,i),null==p&&(p=""),null==d&&(d=p);var h=x(d);if(r.maskOptions.mask&&(l||h)&&(h=E(r.maskOptions,h),S(s))){var m=t.value;null==t.value&&(m=p),h=s({value:h,selection:null},{value:m=x(m),selection:null},null,r.getBeforeMaskedValueChangeConfig()).value}return r.value=h,r}l(t,e);var r=t.prototype;return r.componentDidMount=function(){this.mounted=!0,this.getInputDOMNode()&&(this.isWindowsPhoneBrowser=function(){var e=new RegExp("windows","i"),t=new RegExp("phone","i"),r=navigator.userAgent;return e.test(r)&&t.test(r)}(),this.maskOptions.mask&&this.getInputValue()!==this.value&&this.setInputValue(this.value))},r.componentDidUpdate=function(){var e=this.previousSelection,t=this.props,r=t.beforeMaskedValueChange,n=t.alwaysShowMask,a=t.mask,o=t.maskChar,i=t.formatChars,l=this.maskOptions,c=n||this.isFocused(),s=null!=this.props.value,u=s?x(this.props.value):this.value,p=e?e.start:null;if(this.maskOptions=f(a,o,i),this.maskOptions.mask){!l.mask&&this.isFocused()&&this.runSaveSelectionLoop();var d=this.maskOptions.mask&&this.maskOptions.mask!==l.mask;if(l.mask||s||(u=this.getInputValue()),(d||this.maskOptions.mask&&(u||c))&&(u=E(this.maskOptions,u)),d){var h=v(this.maskOptions,u);(null===p||h<p)&&(p=y(this.maskOptions,u)?h:w(this.maskOptions,h))}!this.maskOptions.mask||!g(this.maskOptions,u)||c||s&&this.props.value||(u="");var m={start:p,end:p};if(S(r)){var b=r({value:u,selection:m},{value:this.value,selection:this.previousSelection},null,this.getBeforeMaskedValueChangeConfig());u=b.value,m=b.selection}this.value=u;var O=this.getInputValue()!==this.value;O?(this.setInputValue(this.value),this.forceUpdate()):d&&this.forceUpdate();var k=!1;null!=m.start&&null!=m.end&&(k=!e||e.start!==m.start||e.end!==m.end),(k||O)&&this.setSelection(m.start,m.end)}else l.mask&&(this.stopSaveSelectionLoop(),this.forceUpdate())},r.componentWillUnmount=function(){this.mounted=!1,null!==this.selectionDeferId&&C(this.selectionDeferId),this.stopSaveSelectionLoop()},r.render=function(){var e,t=this.props,r=(t.mask,t.alwaysShowMask,t.maskChar,t.formatChars,t.inputRef,t.beforeMaskedValueChange,t.children),n=function(e,t){if(null==e)return{};var r,n,a={},o=Object.keys(e);for(n=0;n<o.length;n++)r=o[n],0<=t.indexOf(r)||(a[r]=e[r]);return a}(t,["mask","alwaysShowMask","maskChar","formatChars","inputRef","beforeMaskedValueChange","children"]);if(r){S(r)||s(!1);var o=["onChange","onPaste","onMouseDown","onFocus","onBlur","value","disabled","readOnly"],l=i({},n);o.forEach(function(e){return delete l[e]}),e=r(l),o.filter(function(t){return null!=e.props[t]&&e.props[t]!==n[t]}).length&&s(!1)}else e=a.createElement("input",i({ref:this.handleRef},n));var c={onFocus:this.onFocus,onBlur:this.onBlur};return this.maskOptions.mask&&(n.disabled||n.readOnly||(c.onChange=this.onChange,c.onPaste=this.onPaste,c.onMouseDown=this.onMouseDown),null!=n.value&&(c.value=this.value)),e=a.cloneElement(e,c)},t}(a.Component);e.exports=j},284:function(e,t,r){"use strict";r.d(t,"c",function(){return l}),r.d(t,"d",function(){return c}),r.d(t,"e",function(){return s}),r.d(t,"b",function(){return u}),r.d(t,"f",function(){return p}),r.d(t,"a",function(){return d}),r.d(t,"g",function(){return f});var n=r(68),a=r(271),o=r(267);function i(){i=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:{},l=o.iterator||"@@iterator",c=o.asyncIterator||"@@asyncIterator",s=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 p(e,t,r,n){var o=t&&t.prototype instanceof y?t:y,i=Object.create(o.prototype),l=new D(n||[]);return a(i,"_invoke",{value:C(e,r,l)}),i}function d(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}t.wrap=p;var f="suspendedStart",h="suspendedYield",m="executing",g="completed",v={};function y(){}function E(){}function b(){}var w={};u(w,l,function(){return this});var x=Object.getPrototypeOf,O=x&&x(x(T([])));O&&O!==r&&n.call(O,l)&&(w=O);var S=b.prototype=y.prototype=Object.create(w);function k(e){["next","throw","return"].forEach(function(t){u(e,t,function(e){return this._invoke(t,e)})})}function A(e,t){function r(a,o,i,l){var c=d(e[a],e,o);if("throw"!==c.type){var s=c.arg,u=s.value;return u&&"object"==typeof u&&n.call(u,"__await")?t.resolve(u.__await).then(function(e){r("next",e,i,l)},function(e){r("throw",e,i,l)}):t.resolve(u).then(function(e){s.value=e,i(s)},function(e){return r("throw",e,i,l)})}l(c.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,i){if(a===m)throw new Error("Generator is already running");if(a===g){if("throw"===o)throw i;return{value:e,done:!0}}for(n.method=o,n.arg=i;;){var l=n.delegate;if(l){var c=j(l,n);if(c){if(c===v)continue;return c}}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=m;var s=d(t,r,n);if("normal"===s.type){if(a=n.done?g:h,s.arg===v)continue;return{value:s.arg,done:n.done}}"throw"===s.type&&(a=g,n.method="throw",n.arg=s.arg)}}}function j(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,j(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=d(a,t.iterator,r.arg);if("throw"===o.type)return r.method="throw",r.arg=o.arg,r.delegate=null,v;var i=o.arg;return i?i.done?(r[t.resultName]=i.value,r.next=t.nextLoc,"return"!==r.method&&(r.method="next",r.arg=e),r.delegate=null,v):i:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,v)}function L(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 D(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(L,this),this.reset(!0)}function T(t){if(t||""===t){var r=t[l];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(S,"constructor",{value:b,configurable:!0}),a(b,"constructor",{value:E,configurable:!0}),E.displayName=u(b,s,"GeneratorFunction"),t.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===E||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,b):(e.__proto__=b,u(e,s,"GeneratorFunction")),e.prototype=Object.create(S),e},t.awrap=function(e){return{__await:e}},k(A.prototype),u(A.prototype,c,function(){return this}),t.AsyncIterator=A,t.async=function(e,r,n,a,o){void 0===o&&(o=Promise);var i=new A(p(e,r,n,a),o);return t.isGeneratorFunction(r)?i:i.next().then(function(e){return e.done?e.value:i.next()})},k(S),u(S,s,"Generator"),u(S,l,function(){return this}),u(S,"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=T,D.prototype={constructor:D,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 l.type="throw",l.arg=t,r.next=n,a&&(r.method="next",r.arg=e),!!a}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],l=i.completion;if("root"===i.tryLoc)return a("end");if(i.tryLoc<=this.prev){var c=n.call(i,"catchLoc"),s=n.call(i,"finallyLoc");if(c&&s){if(this.prev<i.catchLoc)return a(i.catchLoc,!0);if(this.prev<i.finallyLoc)return a(i.finallyLoc)}else if(c){if(this.prev<i.catchLoc)return a(i.catchLoc,!0)}else{if(!s)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return a(i.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 i=o?o.completion:{};return i.type=e,i.arg=t,o?(this.method="next",this.next=o.finallyLoc,v):this.complete(i)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),v},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var 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:T(t),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=e),v}},t}var l=function(){return function(){var e=Object(n.a)(i().mark(function e(t,r){var n,l,c,s,u,p;return i().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return n=r(),t({type:"SET_LOADER"}),l=n.user.fcollcode?n.user.fcollcode:"",c="",c="051"==n.user.fcuruniv?"loaddeggrpnotif":"loaddeggrpexamcentre",e.next=7,a.a.get("/app.php",{params:{a:c,univcode:n.user.fcuruniv,fcollcode:l}});case 7:s=e.sent,t({type:"UNSET_LOADER"}),"object"!==typeof s.data?(u={header:"Error",content:"Something went wrong"},t(Object(o.A)(u))):-1===s.data.error_code?(p={header:"Error",content:s.data.data.msg},t(Object(o.A)(p))):t({type:"LOAD_DEGGRP_EXAMCENTRE",payload:s.data});case 10:case"end":return e.stop()}},e)}));return function(t,r){return e.apply(this,arguments)}}()},c=function(e){return function(){var t=Object(n.a)(i().mark(function t(r,n){var l,c,s,u;return i().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return l=n(),r({type:"SET_LOADER"}),t.next=4,a.a.get("/app.php",{params:{a:"loadmastersdeg",deggrp:e,univcode:l.user.fcuruniv}});case 4:c=t.sent,r({type:"UNSET_LOADER"}),"object"!==typeof c.data?(s={header:"Error",content:"Something went wrong"},r(Object(o.A)(s))):-1===c.data.error_code?(u={header:"Error",content:c.data.data.msg},r(Object(o.A)(u))):r({type:"LOAD_MASTERS_DEGREE",payload:c.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)(i().mark(function t(r,n){var l,c,s,u;return i().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return l=n(),r({type:"SET_LOADER"}),t.next=4,a.a.get("/app.php",{params:{a:"loadsubrptsem",degree:e,univcode:l.user.fcuruniv}});case 4:c=t.sent,r({type:"UNSET_LOADER"}),"object"!==typeof c.data?(s={header:"Error",content:"Something went wrong"},r(Object(o.A)(s))):-1===c.data.error_code?(u={header:"Error",content:c.data.data.msg},r(Object(o.A)(u))):r({type:"LOAD_SUB_SEMESTER",payload:c.data});case 7:case"end":return t.stop()}},t)}));return function(e,r){return t.apply(this,arguments)}}()},u=function(e){return function(){var t=Object(n.a)(i().mark(function t(r,n){var l,c,s,u;return i().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return l=n(),r({type:"SET_LOADER"}),t.next=4,a.a.post("/app.php?a=loadallexamcentre&univcode="+l.univ.funivcode+"°grp="+e.deggrp,{data:e});case 4:c=t.sent,r({type:"UNSET_LOADER"}),"object"!==typeof c.data?(s={header:"Error",content:"Something went wrong"},r(Object(o.A)(s))):-1===c.data.error_code?(u={header:"Error",content:c.data.data.msg},r(Object(o.A)(u))):r({type:"LOAD_ALL_EXAMCENTRE",payload:c.data});case 7:case"end":return t.stop()}},t)}));return function(e,r){return t.apply(this,arguments)}}()},p=function(e){return function(){var t=Object(n.a)(i().mark(function t(r,n){var l,c,s,u;return i().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return l=n(),r({type:"SET_LOADER"}),t.next=4,a.a.post("/app.php?a=loadtableexamcentre&univcode="+l.univ.funivcode+"°grp="+e.deggrp+"&reportorder="+e.reportorder,{data:e});case 4:c=t.sent,r({type:"UNSET_LOADER"}),"object"!==typeof c.data?(s={header:"Error",content:"Something went wrong"},r(Object(o.A)(s))):-1===c.data.error_code?(u={header:"Error",content:c.data.data.msg},r(Object(o.A)(u))):r({type:"LOAD_TABLE_EXAMCENTRE",payload:c.data});case 7:case"end":return t.stop()}},t)}));return function(e,r){return t.apply(this,arguments)}}()},d=function(e,t){return function(){var r=Object(n.a)(i().mark(function r(n,o){var l,c;return i().wrap(function(r){for(;;)switch(r.prev=r.next){case 0:return l=o(),n({type:"SET_LOADER"}),r.next=4,a.a.post("/app.php?a=getVerfyData&univcode="+l.univ.funivcode+"°gp="+e+"&fstatus="+t);case 4:c=r.sent,n({type:"UNSET_LOADER"}),-1===c.data.error_code?n({type:"CLEAR_GET_VERF_NOTI"}):n({type:"GET_VERF_NOTI",payload:c.data});case 7:case"end":return r.stop()}},r)}));return function(e,t){return r.apply(this,arguments)}}()},f=function(e,t,r){return function(){var l=Object(n.a)(i().mark(function n(l,c){var s,u,p,d;return i().wrap(function(n){for(;;)switch(n.prev=n.next){case 0:return s=c(),l({type:"SET_LOADER"}),n.next=4,a.a.post("/app.php?a=saveVerifyNotifi&univcode="+s.univ.funivcode+"&findata="+e+"&userid="+t+"&usertype="+r);case 4:u=n.sent,l({type:"UNSET_LOADER"}),0===u.data.error_code?(p={header:"Success",content:u.data.data.msg},l(Object(o.A)(p))):(d={header:"Error",content:u.data.data.msg},l(Object(o.A)(d)));case 7:case"end":return n.stop()}},n)}));return function(e,t){return l.apply(this,arguments)}}()}}}]);
//# sourceMappingURL=86.8bc67415.chunk.js.map
|