0xV3NOMx
Linux ip-172-26-7-228 5.4.0-1103-aws #111~18.04.1-Ubuntu SMP Tue May 23 20:04:10 UTC 2023 x86_64



Your IP : 3.144.89.197


Current Path : /var/www/egov/build/static/js/
Upload File :
Current File : /var/www/egov/build/static/js/106.58f6bc65.chunk.js

(window.webpackJsonp=window.webpackJsonp||[]).push([[106,307],{1371:function(t,e,r){"use strict";r.r(e);var n=r(68),a=r(0),o=r(100),i=r(101),c=r(103),u=r(102),l=r(104),s=r(2),f=r.n(s),h=r(1377),p=r(1343),d=r(272),g=r(1335),y=r(105),v=r(267),m=r(397),w=r(941),b=r(273),E=r(3),x=r(1),O=r(1337);r(412);function L(){L=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:{},i=o.iterator||"@@iterator",c=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 v?e:v,i=Object.create(o.prototype),c=new N(n||[]);return a(i,"_invoke",{value:S(t,r,c)}),i}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=s;var h="suspendedStart",p="suspendedYield",d="executing",g="completed",y={};function v(){}function m(){}function w(){}var b={};l(b,i,function(){return this});var E=Object.getPrototypeOf,x=E&&E(E(T([])));x&&x!==r&&n.call(x,i)&&(b=x);var O=w.prototype=v.prototype=Object.create(b);function j(t){["next","throw","return"].forEach(function(e){l(t,e,function(t){return this._invoke(e,t)})})}function _(t,e){function r(a,o,i,c){var u=f(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,i,c)},function(t){r("throw",t,i,c)}):e.resolve(s).then(function(t){l.value=t,i(l)},function(t){return r("throw",t,i,c)})}c(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=h;return function(o,i){if(a===d)throw new Error("Generator is already running");if(a===g){if("throw"===o)throw i;return{value:t,done:!0}}for(n.method=o,n.arg=i;;){var c=n.delegate;if(c){var u=k(c,n);if(u){if(u===y)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(a===h)throw a=g,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);a=d;var l=f(e,r,n);if("normal"===l.type){if(a=n.done?g:p,l.arg===y)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(a=g,n.method="throw",n.arg=l.arg)}}}function k(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,k(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),y;var o=f(a,e.iterator,r.arg);if("throw"===o.type)return r.method="throw",r.arg=o.arg,r.delegate=null,y;var i=o.arg;return i?i.done?(r[e.resultName]=i.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,y):i:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,y)}function D(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 G(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function N(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(D,this),this.reset(!0)}function T(e){if(e||""===e){var r=e[i];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 m.prototype=w,a(O,"constructor",{value:w,configurable:!0}),a(w,"constructor",{value:m,configurable:!0}),m.displayName=l(w,u,"GeneratorFunction"),e.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===m||"GeneratorFunction"===(e.displayName||e.name))},e.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,w):(t.__proto__=w,l(t,u,"GeneratorFunction")),t.prototype=Object.create(O),t},e.awrap=function(t){return{__await:t}},j(_.prototype),l(_.prototype,c,function(){return this}),e.AsyncIterator=_,e.async=function(t,r,n,a,o){void 0===o&&(o=Promise);var i=new _(s(t,r,n,a),o);return e.isGeneratorFunction(r)?i:i.next().then(function(t){return t.done?t.value:i.next()})},j(O),l(O,u,"Generator"),l(O,i,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=T,N.prototype={constructor:N,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(G),!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 c.type="throw",c.arg=e,r.next=n,a&&(r.method="next",r.arg=t),!!a}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],c=i.completion;if("root"===i.tryLoc)return a("end");if(i.tryLoc<=this.prev){var u=n.call(i,"catchLoc"),l=n.call(i,"finallyLoc");if(u&&l){if(this.prev<i.catchLoc)return a(i.catchLoc,!0);if(this.prev<i.finallyLoc)return a(i.finallyLoc)}else if(u){if(this.prev<i.catchLoc)return a(i.catchLoc,!0)}else{if(!l)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return a(i.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 i=o?o.completion:{};return i.type=t,i.arg=e,o?(this.method="next",this.next=o.finallyLoc,y):this.complete(i)},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),y},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),G(r),y}},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;G(r)}return a}}throw new Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:T(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),y}},e}var j=function(t){function e(){var t,r;Object(o.a)(this,e);for(var i=arguments.length,l=new Array(i),s=0;s<i;s++)l[s]=arguments[s];return(r=Object(c.a)(this,(t=Object(u.a)(e)).call.apply(t,[this].concat(l)))).state={type:"",deggrp:{ftype:"",fdeggrp:"",fdescpn:"",fyear:"",fexamtype:"",fexamdate:"",fdeleted:!1},degoptions:[],degreeGroup:[]},r.setType=function(){var t=Object(n.a)(L().mark(function t(e,n){return L().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:r.setState({type:n.value});case 1:case"end":return t.stop()}},t)}));return function(e,r){return t.apply(this,arguments)}}(),r.changeDeggrp=function(){var t=Object(n.a)(L().mark(function t(e,n){var a;return L().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return void 0===(a=r.state.degreeGroup.filter(function(t,e){return t.fdeggrp==n.value&&(t.ftype=r.state.type),t.fdeggrp==n.value.toUpperCase()})[0])?r.setState(Object(x.a)({deggrp:{ftype:r.state.type,fdeggrp:n.value,fdescpn:"",fyear:"",fexamtype:"",fexamdate:"",fdeleted:!1}},r.state.degreeGroup)):r.setState({deggrp:a}),t.next=4,r.props.changeDeggrp(n.value);case 4:r.props.getDegrees();case 5:case"end":return t.stop()}},t)}));return function(e,r){return t.apply(this,arguments)}}(),r.handleAddition=function(){var t=Object(n.a)(L().mark(function t(e,n){var o;return L().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return o=n.value,t.next=3,r.setState({degreeGroup:[Object(a.a)({ftype:r.state.type,fdeggrp:o,fdescpn:"",fyear:"",fexamtype:"",fexamdate:"",fdeleted:!1},"ftype",r.state.type)].concat(Object(E.a)(r.state.degreeGroup))});case 3:case"end":return t.stop()}},t)}));return function(e,r){return t.apply(this,arguments)}}(),r.handleChange=function(t,e){r.setState({deggrp:Object(x.a)({},r.state.deggrp,Object(a.a)({},e.name,e.value.toUpperCase()))})},r.handleCancel=function(){r.setState({deggrp:{ftype:"",fdeggrp:"",fdescpn:"",fyear:"",fexamtype:"",fexamdate:"",fdeleted:!1},type:""})},r}return Object(l.a)(e,t),Object(i.a)(e,[{key:"componentDidMount",value:function(){this.props.fetchDegGrp(),this.props.onRef(this)}},{key:"componentDidUpdate",value:function(t){this.props.deggrp!==t.deggrp&&this.setState({degreeGroup:this.props.deggrp})}},{key:"render",value:function(){var t=this.state.degreeGroup.map(function(t,e){return{key:e,value:t.fdeggrp,text:t.fdescpn+" ["+t.fdeggrp+"]"}}),e=this.state.deggrp,r=e.type,n=e.fdeggrp,a=e.fyear,o=e.fdescpn,i=e.fexamtype,c=e.fexamdate;return f.a.createElement("div",null,f.a.createElement(g.a.Group,null,f.a.createElement(g.a.Field,{width:4},f.a.createElement("label",null,"Type"),f.a.createElement(O.a,{size:"mini",fluid:!0,search:!0,selection:!0,value:r,onChange:this.setType,placeholder:"Type",options:[{key:"QPS",value:"QPS",text:"QP Setting"},{key:"Notifi",value:"Notifi",text:"Notification"}],openOnFocus:!1,searchInput:{autoFocus:!0},disabled:this.props.disabled})),f.a.createElement(g.a.Field,{width:8},f.a.createElement("label",null,"Degree Group"),f.a.createElement(O.a,{size:"mini",fluid:!0,search:!0,selection:!0,value:n,onChange:this.changeDeggrp,allowAdditions:!0,onAddItem:this.handleAddition,placeholder:"Deg. Grp.",disabled:this.props.disabled,options:t,selectOnBlur:!1})),f.a.createElement(g.a.Field,{width:10},f.a.createElement(g.a.Input,{placeholder:"Description",value:o,label:"Description",name:"fdescpn",onChange:this.handleChange}))),f.a.createElement(g.a.Group,null,f.a.createElement(g.a.Input,{placeholder:"Year",value:a,width:4,label:"Year",name:"fyear",onChange:this.handleChange,maxLength:4}),f.a.createElement(g.a.Input,{placeholder:"Type",value:i,width:3,label:"Type",name:"fexamtype",onChange:this.handleChange,maxLength:1}),f.a.createElement(g.a.Input,{placeholder:"Exam Date",label:"Exam Date",width:10,name:"fexamdate",value:c,onChange:this.handleChange})))}}]),e}(s.Component),_=Object(y.b)(function(t){return console.log(t.deggrp,"state.deggrp"),{deggrp:t.deggrp,user:t.user}},{fetchDegGrp:v.j})(j),S=r(1338),k=function(t){function e(){var t,r;Object(o.a)(this,e);for(var n=arguments.length,i=new Array(n),l=0;l<n;l++)i[l]=arguments[l];return(r=Object(c.a)(this,(t=Object(u.a)(e)).call.apply(t,[this].concat(i)))).selectDegree=function(t,e,n){var o=Object(x.a)({},e,Object(a.a)({},t.target.name,t.target.checked));r.props.selectDeggrpDegree(o,n)},r}return Object(l.a)(e,t),Object(i.a)(e,[{key:"render",value:function(){var t=this,e=this.props.degrees;return f.a.createElement("div",{className:"ui mini form"},f.a.createElement(S.a,{celled:!0,style:{fontSize:"1.2536em"}},f.a.createElement(S.a.Header,null,f.a.createElement(S.a.Row,null,f.a.createElement(S.a.HeaderCell,{style:{width:"5%"},singleLine:!0,textAlign:"center"},"Sl. No."),f.a.createElement(S.a.HeaderCell,{style:{width:"22%"},textAlign:"center"},"Degree"),f.a.createElement(S.a.HeaderCell,{textAlign:"center"},"Description"),f.a.createElement(S.a.HeaderCell,{style:{width:"10%"},textAlign:"center"},"Select"))),f.a.createElement(S.a.Body,null,e.map(function(e,r){return f.a.createElement(S.a.Row,{key:r},f.a.createElement(S.a.Cell,{textAlign:"center"},r+1),f.a.createElement(S.a.Cell,{textAlign:"center",singleLine:!0},e.fdegree),f.a.createElement(S.a.Cell,null,e.fdescpn),f.a.createElement(S.a.Cell,{textAlign:"center"},f.a.createElement("div",{className:"ui checkbox"},f.a.createElement("input",{type:"checkbox",name:"fselect",value:e.fselect,onChange:function(n){return t.selectDegree(n,e,r)},checked:"true"==e.fselect?"checked":null}),f.a.createElement("label",null," "))))}))))}}]),e}(s.Component),D=Object(y.b)(function(t){return{degrees:t.degGrpDegree}},{selectDeggrpDegree:m.c,showError:v.A})(k),G=r(274);function N(){N=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:{},i=o.iterator||"@@iterator",c=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 v?e:v,i=Object.create(o.prototype),c=new G(n||[]);return a(i,"_invoke",{value:_(t,r,c)}),i}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=s;var h="suspendedStart",p="suspendedYield",d="executing",g="completed",y={};function v(){}function m(){}function w(){}var b={};l(b,i,function(){return this});var E=Object.getPrototypeOf,x=E&&E(E(T([])));x&&x!==r&&n.call(x,i)&&(b=x);var O=w.prototype=v.prototype=Object.create(b);function L(t){["next","throw","return"].forEach(function(e){l(t,e,function(t){return this._invoke(e,t)})})}function j(t,e){function r(a,o,i,c){var u=f(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,i,c)},function(t){r("throw",t,i,c)}):e.resolve(s).then(function(t){l.value=t,i(l)},function(t){return r("throw",t,i,c)})}c(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 _(e,r,n){var a=h;return function(o,i){if(a===d)throw new Error("Generator is already running");if(a===g){if("throw"===o)throw i;return{value:t,done:!0}}for(n.method=o,n.arg=i;;){var c=n.delegate;if(c){var u=S(c,n);if(u){if(u===y)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(a===h)throw a=g,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);a=d;var l=f(e,r,n);if("normal"===l.type){if(a=n.done?g:p,l.arg===y)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(a=g,n.method="throw",n.arg=l.arg)}}}function S(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,S(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),y;var o=f(a,e.iterator,r.arg);if("throw"===o.type)return r.method="throw",r.arg=o.arg,r.delegate=null,y;var i=o.arg;return i?i.done?(r[e.resultName]=i.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,y):i:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,y)}function k(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 D(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function G(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(k,this),this.reset(!0)}function T(e){if(e||""===e){var r=e[i];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 m.prototype=w,a(O,"constructor",{value:w,configurable:!0}),a(w,"constructor",{value:m,configurable:!0}),m.displayName=l(w,u,"GeneratorFunction"),e.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===m||"GeneratorFunction"===(e.displayName||e.name))},e.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,w):(t.__proto__=w,l(t,u,"GeneratorFunction")),t.prototype=Object.create(O),t},e.awrap=function(t){return{__await:t}},L(j.prototype),l(j.prototype,c,function(){return this}),e.AsyncIterator=j,e.async=function(t,r,n,a,o){void 0===o&&(o=Promise);var i=new j(s(t,r,n,a),o);return e.isGeneratorFunction(r)?i:i.next().then(function(t){return t.done?t.value:i.next()})},L(O),l(O,u,"Generator"),l(O,i,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=T,G.prototype={constructor:G,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(D),!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 c.type="throw",c.arg=e,r.next=n,a&&(r.method="next",r.arg=t),!!a}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],c=i.completion;if("root"===i.tryLoc)return a("end");if(i.tryLoc<=this.prev){var u=n.call(i,"catchLoc"),l=n.call(i,"finallyLoc");if(u&&l){if(this.prev<i.catchLoc)return a(i.catchLoc,!0);if(this.prev<i.finallyLoc)return a(i.finallyLoc)}else if(u){if(this.prev<i.catchLoc)return a(i.catchLoc,!0)}else{if(!l)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return a(i.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 i=o?o.completion:{};return i.type=t,i.arg=e,o?(this.method="next",this.next=o.finallyLoc,y):this.complete(i)},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),y},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),D(r),y}},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;D(r)}return a}}throw new Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:T(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),y}},e}var T=function(t){function e(){var t,r;Object(o.a)(this,e);for(var i=arguments.length,l=new Array(i),s=0;s<i;s++)l[s]=arguments[s];return(r=Object(c.a)(this,(t=Object(u.a)(e)).call.apply(t,[this].concat(l)))).state={deggroup:[Object(a.a)(Object(a.a)(Object(a.a)({ftype:"",fdeggrp:"",fdescpn:"",fyear:""},"ftype",""),"fexamdate",""),"fdeleted",!1)],error:!1,errorMessage:"",del_deggrp:[],frmsubmit:!1,fdeggrp:"",ftype:""},r.setDeggrp=function(t){r.setState({fdeggrp:t})},r.handleReport=function(){if(""!==r.state.fdeggrp)window.open(G.c+"degreeGroupReport&univcode="+r.props.univcode+"&fdeggrp="+r.state.fdeggrp,"_blank");else{r.props.showError({header:"Error",content:"Degree Group required"})}},r.handleSave=Object(n.a)(N().mark(function t(){return N().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,r.props.saveDeggrpData(r.dgform.state.deggrp);case 2:case"end":return t.stop()}},t)})),r.handleCancel=function(){r.setState({frmsubmit:!1}),r.dgform.handleCancel()},r.getDegreeSelect=Object(n.a)(N().mark(function t(){var e;return N().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(""!==r.state.fdeggrp){t.next=4;break}return e={header:"Error",content:"Degree Group required"},r.props.showError(e),t.abrupt("return");case 4:return t.next=6,r.props.getDegreeGroupDegree(r.state.fdeggrp);case 6:r.setState({frmsubmit:!0});case 7:case"end":return t.stop()}},t)})),r.renderHeader=function(){return f.a.createElement(h.a.Header,{style:{display:"flex"}},f.a.createElement("h4",null,"Degree Group"),f.a.createElement("div",{className:"ml-auto"},f.a.createElement(p.a,{disabled:!r.state.frmsubmit,basic:!0,color:"green",content:"Save",onClick:r.handleSave,icon:"save"}),f.a.createElement(p.a,{basic:!0,onClick:r.handleCancel,color:"black",icon:"ban",content:"Cancel"}),f.a.createElement(p.a,{basic:!0,color:"blue",content:"Report",icon:"file",onClick:r.handleReport}),f.a.createElement(w.a,{to:"/dashboard"},f.a.createElement(p.a,{basic:!0,color:"red",content:"Exit",icon:"home"}))))},r}return Object(l.a)(e,t),Object(i.a)(e,[{key:"render",value:function(){var t=this,e=this.state.frmsubmit,r=Object(b.i)();return f.a.createElement("div",{className:"animated fadeIn"},f.a.createElement(h.a,{fluid:!0},f.a.createElement(h.a.Content,null,this.renderHeader(),f.a.createElement(d.a,null),f.a.createElement(h.a.Description,{style:{height:"".concat(r,"px"),overflowY:"auto"}},f.a.createElement("div",{className:"col-md-8"},f.a.createElement(g.a,null,f.a.createElement(_,{disabled:e,onRef:function(e){t.dgform=e},changeDeggrp:this.setDeggrp,getDegrees:this.getDegreeSelect}))),f.a.createElement(d.a,null),e?f.a.createElement(D,null):null))))}}]),e}(s.Component);e.default=Object(y.b)(function(t){return{saveDeggrp:t.saveDeggrp,univcode:t.user.fcuruniv}},{saveDeggrpDegrees:m.b,fetchDegGrp:v.j,showError:v.A,getDegreeGroupDegree:m.a,saveDeggrpData:v.w})(T)},272:function(t,e,r){"use strict";var n=r(270),a=r.n(n),o=r(268),i=r.n(o),c=r(2),u=r.n(c),l=r(349),s=r(613),f=r(611),h=r(269);function p(t){var e=t.children,r=t.className,n=t.clearing,o=t.content,c=t.fitted,d=t.hidden,g=t.horizontal,y=t.inverted,v=t.section,m=t.vertical,w=i()("ui",Object(l.a)(n,"clearing"),Object(l.a)(c,"fitted"),Object(l.a)(d,"hidden"),Object(l.a)(g,"horizontal"),Object(l.a)(y,"inverted"),Object(l.a)(v,"section"),Object(l.a)(m,"vertical"),"divider",r),b=Object(s.a)(p,t),E=Object(f.a)(p,t);return u.a.createElement(E,a()({},b,{className:w}),h.a.isNil(e)?o:e)}p.handledProps=["as","children","className","clearing","content","fitted","hidden","horizontal","inverted","section","vertical"],p.propTypes={},e.a=p},397:function(t,e,r){"use strict";r.d(e,"a",function(){return i}),r.d(e,"c",function(){return c}),r.d(e,"b",function(){return u});var n=r(68),a=r(271);function o(){o=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,a=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},c=i.iterator||"@@iterator",u=i.asyncIterator||"@@asyncIterator",l=i.toStringTag||"@@toStringTag";function s(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{s({},"")}catch(t){s=function(t,e,r){return t[e]=r}}function f(t,e,r,n){var o=e&&e.prototype instanceof m?e:m,i=Object.create(o.prototype),c=new N(n||[]);return a(i,"_invoke",{value:S(t,r,c)}),i}function h(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=f;var p="suspendedStart",d="suspendedYield",g="executing",y="completed",v={};function m(){}function w(){}function b(){}var E={};s(E,c,function(){return this});var x=Object.getPrototypeOf,O=x&&x(x(T([])));O&&O!==r&&n.call(O,c)&&(E=O);var L=b.prototype=m.prototype=Object.create(E);function j(t){["next","throw","return"].forEach(function(e){s(t,e,function(t){return this._invoke(e,t)})})}function _(t,e){function r(a,o,i,c){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,i,c)},function(t){r("throw",t,i,c)}):e.resolve(s).then(function(t){l.value=t,i(l)},function(t){return r("throw",t,i,c)})}c(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=p;return function(o,i){if(a===g)throw new Error("Generator is already running");if(a===y){if("throw"===o)throw i;return{value:t,done:!0}}for(n.method=o,n.arg=i;;){var c=n.delegate;if(c){var u=k(c,n);if(u){if(u===v)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(a===p)throw a=y,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);a=g;var l=h(e,r,n);if("normal"===l.type){if(a=n.done?y:d,l.arg===v)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(a=y,n.method="throw",n.arg=l.arg)}}}function k(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,k(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),v;var o=h(a,e.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[e.resultName]=i.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,v):i:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,v)}function D(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 G(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function N(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(D,this),this.reset(!0)}function T(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 w.prototype=b,a(L,"constructor",{value:b,configurable:!0}),a(b,"constructor",{value:w,configurable:!0}),w.displayName=s(b,l,"GeneratorFunction"),e.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===w||"GeneratorFunction"===(e.displayName||e.name))},e.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,b):(t.__proto__=b,s(t,l,"GeneratorFunction")),t.prototype=Object.create(L),t},e.awrap=function(t){return{__await:t}},j(_.prototype),s(_.prototype,u,function(){return this}),e.AsyncIterator=_,e.async=function(t,r,n,a,o){void 0===o&&(o=Promise);var i=new _(f(t,r,n,a),o);return e.isGeneratorFunction(r)?i:i.next().then(function(t){return t.done?t.value:i.next()})},j(L),s(L,l,"Generator"),s(L,c,function(){return this}),s(L,"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=T,N.prototype={constructor:N,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(G),!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 c.type="throw",c.arg=e,r.next=n,a&&(r.method="next",r.arg=t),!!a}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],c=i.completion;if("root"===i.tryLoc)return a("end");if(i.tryLoc<=this.prev){var u=n.call(i,"catchLoc"),l=n.call(i,"finallyLoc");if(u&&l){if(this.prev<i.catchLoc)return a(i.catchLoc,!0);if(this.prev<i.finallyLoc)return a(i.finallyLoc)}else if(u){if(this.prev<i.catchLoc)return a(i.catchLoc,!0)}else{if(!l)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return a(i.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 i=o?o.completion:{};return i.type=t,i.arg=e,o?(this.method="next",this.next=o.finallyLoc,v):this.complete(i)},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),v},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),G(r),v}},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;G(r)}return a}}throw new Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:T(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),v}},e}var i=function(t){return function(){var e=Object(n.a)(o().mark(function e(r,n){var i,c,u;return o().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return i=n(),r({type:"SET_LOADER"}),e.next=4,a.a.get("/app.php",{params:{a:"getDegreeGroupDegree",deggrp:t,univcode:i.univ.funivcode}});case 4:c=e.sent,r({type:"UNSET_LOADER"}),"object"!==typeof c.data?r({type:"SHOW_ERROR",payload:{header:"Error",content:"Something went wrong"}}):0===c.data.error_code?r({type:"FETCH_DEGGRP_DEGREE",payload:c.data}):(u={header:"Error",content:c.data.data.msg},r({type:"SHOW_ERROR",payload:u}));case 7:case"end":return e.stop()}},e)}));return function(t,r){return e.apply(this,arguments)}}()},c=function(t,e){return{type:"SELECT_DEGGRP_DEGREE",payload:{el:t,i:e}}},u=function(t){return function(){var e=Object(n.a)(o().mark(function e(r,n){var i,c,u;return o().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return i=n(),c=i.degGrpDegree,r({type:"SET_LOADER"}),e.next=5,a.a.post("/app.php?a=saveDeggrpDegrees&univcode="+i.univ.funivcode,{data:{deggrp:t,degrees:c}});case 5:u=e.sent,r({type:"UNSET_LOADER"}),"object"!==typeof u.data?r({type:"SET_ERROR",payload:{error_code:-1,data:{msg:"Something went wrong"},status:"failure"}}):r({type:"SET_ERROR",payload:u.data});case 8:case"end":return e.stop()}},e)}));return function(t,r){return e.apply(this,arguments)}}()}},412:function(t,e,r){"use strict";r.d(e,"d",function(){return u}),r.d(e,"b",function(){return l}),r.d(e,"c",function(){return s}),r.d(e,"a",function(){return f}),r.d(e,"e",function(){return h});var n=r(68),a=r(271),o=r(267),i=r(286);function c(){c=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:{},i=o.iterator||"@@iterator",u=o.asyncIterator||"@@asyncIterator",l=o.toStringTag||"@@toStringTag";function s(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{s({},"")}catch(t){s=function(t,e,r){return t[e]=r}}function f(t,e,r,n){var o=e&&e.prototype instanceof m?e:m,i=Object.create(o.prototype),c=new N(n||[]);return a(i,"_invoke",{value:S(t,r,c)}),i}function h(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=f;var p="suspendedStart",d="suspendedYield",g="executing",y="completed",v={};function m(){}function w(){}function b(){}var E={};s(E,i,function(){return this});var x=Object.getPrototypeOf,O=x&&x(x(T([])));O&&O!==r&&n.call(O,i)&&(E=O);var L=b.prototype=m.prototype=Object.create(E);function j(t){["next","throw","return"].forEach(function(e){s(t,e,function(t){return this._invoke(e,t)})})}function _(t,e){function r(a,o,i,c){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,i,c)},function(t){r("throw",t,i,c)}):e.resolve(s).then(function(t){l.value=t,i(l)},function(t){return r("throw",t,i,c)})}c(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=p;return function(o,i){if(a===g)throw new Error("Generator is already running");if(a===y){if("throw"===o)throw i;return{value:t,done:!0}}for(n.method=o,n.arg=i;;){var c=n.delegate;if(c){var u=k(c,n);if(u){if(u===v)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(a===p)throw a=y,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);a=g;var l=h(e,r,n);if("normal"===l.type){if(a=n.done?y:d,l.arg===v)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(a=y,n.method="throw",n.arg=l.arg)}}}function k(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,k(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),v;var o=h(a,e.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[e.resultName]=i.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,v):i:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,v)}function D(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 G(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function N(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(D,this),this.reset(!0)}function T(e){if(e||""===e){var r=e[i];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 w.prototype=b,a(L,"constructor",{value:b,configurable:!0}),a(b,"constructor",{value:w,configurable:!0}),w.displayName=s(b,l,"GeneratorFunction"),e.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===w||"GeneratorFunction"===(e.displayName||e.name))},e.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,b):(t.__proto__=b,s(t,l,"GeneratorFunction")),t.prototype=Object.create(L),t},e.awrap=function(t){return{__await:t}},j(_.prototype),s(_.prototype,u,function(){return this}),e.AsyncIterator=_,e.async=function(t,r,n,a,o){void 0===o&&(o=Promise);var i=new _(f(t,r,n,a),o);return e.isGeneratorFunction(r)?i:i.next().then(function(t){return t.done?t.value:i.next()})},j(L),s(L,l,"Generator"),s(L,i,function(){return this}),s(L,"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=T,N.prototype={constructor:N,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(G),!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 c.type="throw",c.arg=e,r.next=n,a&&(r.method="next",r.arg=t),!!a}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],c=i.completion;if("root"===i.tryLoc)return a("end");if(i.tryLoc<=this.prev){var u=n.call(i,"catchLoc"),l=n.call(i,"finallyLoc");if(u&&l){if(this.prev<i.catchLoc)return a(i.catchLoc,!0);if(this.prev<i.finallyLoc)return a(i.finallyLoc)}else if(u){if(this.prev<i.catchLoc)return a(i.catchLoc,!0)}else{if(!l)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return a(i.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 i=o?o.completion:{};return i.type=t,i.arg=e,o?(this.method="next",this.next=o.finallyLoc,v):this.complete(i)},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),v},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),G(r),v}},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;G(r)}return a}}throw new Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:T(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),v}},e}var u=function(t){return function(){var e=Object(n.a)(c().mark(function e(r,n){var i,u,l,s;return c().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return i=n(),r({type:"SET_LOADER"}),e.next=4,a.a.get("/app.php",{params:{a:"mcfverifynew",date:t.date,univcode:i.user.fcuruniv,user:i.user.fname}});case 4:u=e.sent,r({type:"UNSET_LOADER"}),"object"!==typeof u.data?(l={header:"Error",content:"Something went wrong"},r(Object(o.A)(l))):-1===u.data.error_code?(s={header:"Error",content:u.data.data.msg},r(Object(o.A)(s))):r({type:"MCF_VERIFY_NEW",payload:u.data});case 7:case"end":return e.stop()}},e)}));return function(t,r){return e.apply(this,arguments)}}()},l=function(t,e){return function(){var r=Object(n.a)(c().mark(function r(n,a){return c().wrap(function(r){for(;;)switch(r.prev=r.next){case 0:n({type:"CHECK_STATUS",payload:{cond:t,ind:e}});case 1:case"end":return r.stop()}},r)}));return function(t,e){return r.apply(this,arguments)}}()},s=function(t,e){return function(){var r=Object(n.a)(c().mark(function r(n,a){return c().wrap(function(r){for(;;)switch(r.prev=r.next){case 0:n({type:"CHECK_REMARKS",payload:{cond:t,ind:e}});case 1:case"end":return r.stop()}},r)}));return function(t,e){return r.apply(this,arguments)}}()},f=function(t,e){return function(){var r=Object(n.a)(c().mark(function r(n,i){var u,l,s;return c().wrap(function(r){for(;;)switch(r.prev=r.next){case 0:return i(),n({type:"SET_LOADER"}),n({type:"DELETE_QPSTATS"}),r.next=5,a.a.get("/app.php",{params:{a:"mcfviewdetails",univcode1:t,date:e}});case 5:if(u=r.sent,n({type:"UNSET_LOADER"}),"object"===typeof u.data){r.next=13;break}return l={header:"Error",content:"Something went wrong"},n(Object(o.A)(l)),r.abrupt("return");case 13:if(-1!==u.data.error_code){r.next=19;break}return s={header:"Error",content:u.data.data.msg},n(Object(o.A)(s)),r.abrupt("return");case 19:n({type:"MCF_VIEW",payload:u.data});case 20:case"end":return r.stop()}},r)}));return function(t,e){return r.apply(this,arguments)}}()},h=function(t){return function(){var e=Object(n.a)(c().mark(function e(r,n){var u,l,s,f,h;return c().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return u=n(),r({type:"SET_LOADER"}),e.next=4,a.a.post("/app.php?a=updatestaturemarks&univcode="+u.univ.funivcode+"&user="+u.user.fname,{mcfviewdetailarray:t});case 4:l=e.sent,r({type:"UNSET_LOADER"}),"object"!==typeof l.data?(s={header:"Error",content:"Something went wrong"},r(Object(o.A)(s))):-1===l.data.error_code?(f={header:"Error",content:l.data.data.msg},r(Object(o.A)(f))):(h={header:"Success",content:l.data.data.msg},r(Object(o.A)(h)),i.l.push("/mcfverifynew"));case 7:case"end":return e.stop()}},e)}));return function(t,r){return e.apply(this,arguments)}}()}}}]);
//# sourceMappingURL=106.58f6bc65.chunk.js.map