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.23.138
(window.webpackJsonp=window.webpackJsonp||[]).push([[194,307],{1178:function(e,t,r){"use strict";r.r(t);var n=r(3),o=r(0),a=r(68),i=r(100),c=r(101),u=r(103),s=r(102),l=r(104),p=r(2),f=r.n(p),h=r(941),d=r(1377),g=r(1343),v=r(272),y=r(1335),m=r(1337),E=r(105),w=r(267),b=r(274),O=r(273),L=r(284);function x(){x=function(){return t};var e,t={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(e,t,r){e[t]=r.value},a="function"==typeof Symbol?Symbol:{},i=a.iterator||"@@iterator",c=a.asyncIterator||"@@asyncIterator",u=a.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 l(e,t,r,n){var a=t&&t.prototype instanceof y?t:y,i=Object.create(a.prototype),c=new N(n||[]);return o(i,"_invoke",{value:S(e,r,c)}),i}function p(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}t.wrap=l;var f="suspendedStart",h="suspendedYield",d="executing",g="completed",v={};function y(){}function m(){}function E(){}var w={};s(w,i,function(){return this});var b=Object.getPrototypeOf,O=b&&b(b(k([])));O&&O!==r&&n.call(O,i)&&(w=O);var L=E.prototype=y.prototype=Object.create(w);function j(e){["next","throw","return"].forEach(function(t){s(e,t,function(e){return this._invoke(t,e)})})}function _(e,t){function r(o,a,i,c){var u=p(e[o],e,a);if("throw"!==u.type){var s=u.arg,l=s.value;return l&&"object"==typeof l&&n.call(l,"__await")?t.resolve(l.__await).then(function(e){r("next",e,i,c)},function(e){r("throw",e,i,c)}):t.resolve(l).then(function(e){s.value=e,i(s)},function(e){return r("throw",e,i,c)})}c(u.arg)}var a;o(this,"_invoke",{value:function(e,n){function o(){return new t(function(t,o){r(e,n,t,o)})}return a=a?a.then(o,o):o()}})}function S(t,r,n){var o=f;return function(a,i){if(o===d)throw new Error("Generator is already running");if(o===g){if("throw"===a)throw i;return{value:e,done:!0}}for(n.method=a,n.arg=i;;){var c=n.delegate;if(c){var u=A(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(o===f)throw o=g,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=d;var s=p(t,r,n);if("normal"===s.type){if(o=n.done?g:h,s.arg===v)continue;return{value:s.arg,done:n.done}}"throw"===s.type&&(o=g,n.method="throw",n.arg=s.arg)}}}function A(t,r){var n=r.method,o=t.iterator[n];if(o===e)return r.delegate=null,"throw"===n&&t.iterator.return&&(r.method="return",r.arg=e,A(t,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),v;var a=p(o,t.iterator,r.arg);if("throw"===a.type)return r.method="throw",r.arg=a.arg,r.delegate=null,v;var i=a.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 D(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function T(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function N(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(D,this),this.reset(!0)}function k(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 o=-1,a=function r(){for(;++o<t.length;)if(n.call(t,o))return r.value=t[o],r.done=!1,r;return r.value=e,r.done=!0,r};return a.next=a}}throw new TypeError(typeof t+" is not iterable")}return m.prototype=E,o(L,"constructor",{value:E,configurable:!0}),o(E,"constructor",{value:m,configurable:!0}),m.displayName=s(E,u,"GeneratorFunction"),t.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===m||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,E):(e.__proto__=E,s(e,u,"GeneratorFunction")),e.prototype=Object.create(L),e},t.awrap=function(e){return{__await:e}},j(_.prototype),s(_.prototype,c,function(){return this}),t.AsyncIterator=_,t.async=function(e,r,n,o,a){void 0===a&&(a=Promise);var i=new _(l(e,r,n,o),a);return t.isGeneratorFunction(r)?i:i.next().then(function(e){return e.done?e.value:i.next()})},j(L),s(L,u,"Generator"),s(L,i,function(){return this}),s(L,"toString",function(){return"[object Generator]"}),t.keys=function(e){var t=Object(e),r=[];for(var n in t)r.push(n);return r.reverse(),function e(){for(;r.length;){var n=r.pop();if(n in t)return e.value=n,e.done=!1,e}return e.done=!0,e}},t.values=k,N.prototype={constructor:N,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(T),!t)for(var r in this)"t"===r.charAt(0)&&n.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=e)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var r=this;function o(n,o){return c.type="throw",c.arg=t,r.next=n,o&&(r.method="next",r.arg=e),!!o}for(var a=this.tryEntries.length-1;a>=0;--a){var i=this.tryEntries[a],c=i.completion;if("root"===i.tryLoc)return o("end");if(i.tryLoc<=this.prev){var u=n.call(i,"catchLoc"),s=n.call(i,"finallyLoc");if(u&&s){if(this.prev<i.catchLoc)return o(i.catchLoc,!0);if(this.prev<i.finallyLoc)return o(i.finallyLoc)}else if(u){if(this.prev<i.catchLoc)return o(i.catchLoc,!0)}else{if(!s)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return o(i.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var a=o;break}}a&&("break"===e||"continue"===e)&&a.tryLoc<=t&&t<=a.finallyLoc&&(a=null);var i=a?a.completion:{};return i.type=e,i.arg=t,a?(this.method="next",this.next=a.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),T(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 o=n.arg;T(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,r,n){return this.delegate={iterator:k(t),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=e),v}},t}var j=function(e){function t(){var e,r;Object(i.a)(this,t);for(var n=arguments.length,c=new Array(n),l=0;l<n;l++)c[l]=arguments[l];return(r=Object(u.a)(this,(e=Object(s.a)(t)).call.apply(e,[this].concat(c)))).state={deggrp:"",degree:[],reportType:"degreeListSummary",frmSubmit:!1,title:""},r.componentDidMount=Object(a.a)(x().mark(function e(){return x().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,r.props.loaddegreegroup();case 2:"021"==r.props.univcode||"052"==r.props.univcode?r.setState({title:"Degree Configuration Report",deggrp:"All",degree:["All"]}):r.setState({title:"Degree Report"});case 3:case"end":return e.stop()}},e)})),r.searchObject=function(e,t){var r=[];e.filter(function(e){if(e.url!==t){if(e.hasOwnProperty("children")){var n=e.children.filter(function(e){return e.url===t});if(0!==n.length)return void(r=n)}}else r=e});return r[0]},r.getDegrees=function(e,t){r.setState({frmDeggrp:t.value})},r.handleChange=function(e,t){switch(t.type){case"text":r.setState(Object(o.a)({},t.name,t.value));default:r.setState(Object(o.a)({},t.name,t.value))}r.setState({frmSubmit:!1})},r.handleChangeDeggrp=function(){var e=Object(a.a)(x().mark(function e(t,n){return x().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,r.setState({deggrp:n.value});case 2:return e.next=4,r.props.loadmastersdeg(r.state.deggrp);case 4:case"end":return e.stop()}},e)}));return function(t,r){return e.apply(this,arguments)}}(),r.handleChangeDegree=function(){var e=Object(a.a)(x().mark(function e(t,n){return x().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:r.setState({degree:n.value});case 1:case"end":return e.stop()}},e)}));return function(t,r){return e.apply(this,arguments)}}(),r.handleSubmit=function(){var e=r.props.user.fdeggrp,t=r.state.reportType;if(""!==e)r.props.getReport(t,"tables",e),r.setState({frmSubmit:!0});else{r.props.showError({header:"Error",content:"Select Degree Group"})}},r.handleReport=function(){r.props.user.fdeggrp;var e=r.state,t=e.deggrp,n=e.degree,o=e.reportType;if(""!==t)if(""!==n)if(""!==o){if(null!==r.props.fcollcode)var a=r.props.fcollcode;else a="";window.open(b.c+o+"&univcode="+r.props.univcode+"&fcollcode="+a+"°grp="+t+"°ree="+JSON.stringify(n)+"&val="+o+"&format=PDF","_blank")}else{r.props.showError({header:"Error",content:"Select Report Type"})}else{r.props.showError({header:"Error",content:"Select Degree"})}else{r.props.showError({header:"Error",content:"Select Degree Group"})}},r.handleCancel=function(){r.setState({deggrp:"",reportType:"",reportFormat:"",frmDeggrp:""})},r.renderHeader=function(){return f.a.createElement(d.a.Header,{style:{display:"flex"}},f.a.createElement("h3",null,r.state.title),f.a.createElement("div",{className:"ml-auto"},f.a.createElement(g.a,{basic:!0,color:"blue",onClick:r.handleReport,content:"Report",icon:"file"}),f.a.createElement(g.a,{basic:!0,color:"black",icon:"ban",onClick:r.handleCancel,content:"Cancel"}),f.a.createElement(h.a,{to:"/dashboard"},f.a.createElement(g.a,{basic:!0,color:"red",content:"Exit",icon:"home"}))))},r}return Object(l.a)(t,e),Object(c.a)(t,[{key:"render",value:function(){var e=this.state,t=e.deggrp,r=e.degree,o=e.reportType,a=[];a="021"==this.props.univcode?[{value:"degreeListSummary",text:"Degree List (Summary)"}]:[{value:"degreeListSummary",text:"Degree List (Summary)"},{value:"degreeListDetailed",text:"Degree List (Detailed)"},{value:"univAdmDegList",text:"Degree List (For Admission)"}];var i=[{key:1,value:"All",text:"All"}],c=this.props.degcentre.map(function(e){return{key:e.fdeggrp,value:e.fdeggrp,text:e.fdescpn}});if("021"==this.props.univcode||"052"==this.props.univcode)var u=[].concat(i,Object(n.a)(c));else u=Object(n.a)(c);var s=this.props.degree.map(function(e){return{key:e.fdegree,value:e.fdegree,text:e.fdegree+" - "+e.fdescpn}}),l=[].concat(i,Object(n.a)(s)),p=Object(O.i)();return f.a.createElement("div",{className:"animated fadeIn"},f.a.createElement(d.a,{fluid:!0},f.a.createElement(d.a.Content,null,this.renderHeader(),f.a.createElement(v.a,null),f.a.createElement(d.a.Description,{style:{overflowY:"auto",height:"".concat(p,"px")}},f.a.createElement("div",{className:"col-md-6"},f.a.createElement(y.a,null,"500"!=this.props.fcurtype&&"501"!=this.props.fcurtype&&f.a.createElement(y.a.Group,null,f.a.createElement(y.a.Field,{width:16},f.a.createElement("label",null,"Degree Group"),f.a.createElement(m.a,{fluid:!0,search:!0,selection:!0,onChange:this.handleChangeDeggrp,value:t,name:"deggrp",placeholder:"Degree Group",options:u}))),"500"!==this.props.fcurtype&&"501"!==this.props.fcurtype&&f.a.createElement(y.a.Group,null,f.a.createElement(y.a.Field,{width:16},f.a.createElement("label",null,"Degree"),f.a.createElement(m.a,{fluid:!0,search:!0,multiple:!0,selection:!0,onChange:this.handleChangeDegree,value:r,name:"degree",placeholder:"Degree",options:l}))),f.a.createElement(y.a.Group,null,f.a.createElement(y.a.Field,{width:16},f.a.createElement("label",null,"Report Type"),f.a.createElement(m.a,{placeholder:"Select Report Type",name:"reportType",value:o,selection:!0,search:!0,options:a,onChange:this.handleChange})))))))))}}]),t}(p.Component);t.default=Object(E.b)(function(e){return{degcentre:e.deggrpexamcentre,degree:e.loadmastersdeg,collegeReport:e.collegeReport,univcode:e.univ.funivcode,user:e.user,menu:e.menu,fcollcode:e.user.fcollcode,fcurtype:e.user.fcurtype}},{getReport:w.t,showError:w.A,loaddegreegroup:L.c,loadmastersdeg:L.d})(j)},272:function(e,t,r){"use strict";var n=r(270),o=r.n(n),a=r(268),i=r.n(a),c=r(2),u=r.n(c),s=r(349),l=r(613),p=r(611),f=r(269);function h(e){var t=e.children,r=e.className,n=e.clearing,a=e.content,c=e.fitted,d=e.hidden,g=e.horizontal,v=e.inverted,y=e.section,m=e.vertical,E=i()("ui",Object(s.a)(n,"clearing"),Object(s.a)(c,"fitted"),Object(s.a)(d,"hidden"),Object(s.a)(g,"horizontal"),Object(s.a)(v,"inverted"),Object(s.a)(y,"section"),Object(s.a)(m,"vertical"),"divider",r),w=Object(l.a)(h,e),b=Object(p.a)(h,e);return u.a.createElement(b,o()({},w,{className:E}),f.a.isNil(t)?a:t)}h.handledProps=["as","children","className","clearing","content","fitted","hidden","horizontal","inverted","section","vertical"],h.propTypes={},t.a=h},284:function(e,t,r){"use strict";r.d(t,"c",function(){return c}),r.d(t,"d",function(){return u}),r.d(t,"e",function(){return s}),r.d(t,"b",function(){return l}),r.d(t,"f",function(){return p}),r.d(t,"a",function(){return f}),r.d(t,"g",function(){return h});var n=r(68),o=r(271),a=r(267);function i(){i=function(){return t};var e,t={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(e,t,r){e[t]=r.value},a="function"==typeof Symbol?Symbol:{},c=a.iterator||"@@iterator",u=a.asyncIterator||"@@asyncIterator",s=a.toStringTag||"@@toStringTag";function l(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{l({},"")}catch(e){l=function(e,t,r){return e[t]=r}}function p(e,t,r,n){var a=t&&t.prototype instanceof m?t:m,i=Object.create(a.prototype),c=new N(n||[]);return o(i,"_invoke",{value:S(e,r,c)}),i}function f(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}t.wrap=p;var h="suspendedStart",d="suspendedYield",g="executing",v="completed",y={};function m(){}function E(){}function w(){}var b={};l(b,c,function(){return this});var O=Object.getPrototypeOf,L=O&&O(O(k([])));L&&L!==r&&n.call(L,c)&&(b=L);var x=w.prototype=m.prototype=Object.create(b);function j(e){["next","throw","return"].forEach(function(t){l(e,t,function(e){return this._invoke(t,e)})})}function _(e,t){function r(o,a,i,c){var u=f(e[o],e,a);if("throw"!==u.type){var s=u.arg,l=s.value;return l&&"object"==typeof l&&n.call(l,"__await")?t.resolve(l.__await).then(function(e){r("next",e,i,c)},function(e){r("throw",e,i,c)}):t.resolve(l).then(function(e){s.value=e,i(s)},function(e){return r("throw",e,i,c)})}c(u.arg)}var a;o(this,"_invoke",{value:function(e,n){function o(){return new t(function(t,o){r(e,n,t,o)})}return a=a?a.then(o,o):o()}})}function S(t,r,n){var o=h;return function(a,i){if(o===g)throw new Error("Generator is already running");if(o===v){if("throw"===a)throw i;return{value:e,done:!0}}for(n.method=a,n.arg=i;;){var c=n.delegate;if(c){var u=A(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(o===h)throw o=v,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=g;var s=f(t,r,n);if("normal"===s.type){if(o=n.done?v:d,s.arg===y)continue;return{value:s.arg,done:n.done}}"throw"===s.type&&(o=v,n.method="throw",n.arg=s.arg)}}}function A(t,r){var n=r.method,o=t.iterator[n];if(o===e)return r.delegate=null,"throw"===n&&t.iterator.return&&(r.method="return",r.arg=e,A(t,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),y;var a=f(o,t.iterator,r.arg);if("throw"===a.type)return r.method="throw",r.arg=a.arg,r.delegate=null,y;var i=a.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,y):i:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,y)}function D(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function T(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function N(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(D,this),this.reset(!0)}function k(t){if(t||""===t){var r=t[c];if(r)return r.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var o=-1,a=function r(){for(;++o<t.length;)if(n.call(t,o))return r.value=t[o],r.done=!1,r;return r.value=e,r.done=!0,r};return a.next=a}}throw new TypeError(typeof t+" is not iterable")}return E.prototype=w,o(x,"constructor",{value:w,configurable:!0}),o(w,"constructor",{value:E,configurable:!0}),E.displayName=l(w,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,w):(e.__proto__=w,l(e,s,"GeneratorFunction")),e.prototype=Object.create(x),e},t.awrap=function(e){return{__await:e}},j(_.prototype),l(_.prototype,u,function(){return this}),t.AsyncIterator=_,t.async=function(e,r,n,o,a){void 0===a&&(a=Promise);var i=new _(p(e,r,n,o),a);return t.isGeneratorFunction(r)?i:i.next().then(function(e){return e.done?e.value:i.next()})},j(x),l(x,s,"Generator"),l(x,c,function(){return this}),l(x,"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=k,N.prototype={constructor:N,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(T),!t)for(var r in this)"t"===r.charAt(0)&&n.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=e)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var r=this;function o(n,o){return c.type="throw",c.arg=t,r.next=n,o&&(r.method="next",r.arg=e),!!o}for(var a=this.tryEntries.length-1;a>=0;--a){var i=this.tryEntries[a],c=i.completion;if("root"===i.tryLoc)return o("end");if(i.tryLoc<=this.prev){var u=n.call(i,"catchLoc"),s=n.call(i,"finallyLoc");if(u&&s){if(this.prev<i.catchLoc)return o(i.catchLoc,!0);if(this.prev<i.finallyLoc)return o(i.finallyLoc)}else if(u){if(this.prev<i.catchLoc)return o(i.catchLoc,!0)}else{if(!s)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return o(i.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var a=o;break}}a&&("break"===e||"continue"===e)&&a.tryLoc<=t&&t<=a.finallyLoc&&(a=null);var i=a?a.completion:{};return i.type=e,i.arg=t,a?(this.method="next",this.next=a.finallyLoc,y):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),y},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),T(r),y}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var o=n.arg;T(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,r,n){return this.delegate={iterator:k(t),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=e),y}},t}var c=function(){return function(){var e=Object(n.a)(i().mark(function e(t,r){var n,c,u,s,l,p;return i().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return n=r(),t({type:"SET_LOADER"}),c=n.user.fcollcode?n.user.fcollcode:"",u="",u="051"==n.user.fcuruniv?"loaddeggrpnotif":"loaddeggrpexamcentre",e.next=7,o.a.get("/app.php",{params:{a:u,univcode:n.user.fcuruniv,fcollcode:c}});case 7:s=e.sent,t({type:"UNSET_LOADER"}),"object"!==typeof s.data?(l={header:"Error",content:"Something went wrong"},t(Object(a.A)(l))):-1===s.data.error_code?(p={header:"Error",content:s.data.data.msg},t(Object(a.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)}}()},u=function(e){return function(){var t=Object(n.a)(i().mark(function t(r,n){var c,u,s,l;return i().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return c=n(),r({type:"SET_LOADER"}),t.next=4,o.a.get("/app.php",{params:{a:"loadmastersdeg",deggrp:e,univcode:c.user.fcuruniv}});case 4:u=t.sent,r({type:"UNSET_LOADER"}),"object"!==typeof u.data?(s={header:"Error",content:"Something went wrong"},r(Object(a.A)(s))):-1===u.data.error_code?(l={header:"Error",content:u.data.data.msg},r(Object(a.A)(l))):r({type:"LOAD_MASTERS_DEGREE",payload:u.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 c,u,s,l;return i().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return c=n(),r({type:"SET_LOADER"}),t.next=4,o.a.get("/app.php",{params:{a:"loadsubrptsem",degree:e,univcode:c.user.fcuruniv}});case 4:u=t.sent,r({type:"UNSET_LOADER"}),"object"!==typeof u.data?(s={header:"Error",content:"Something went wrong"},r(Object(a.A)(s))):-1===u.data.error_code?(l={header:"Error",content:u.data.data.msg},r(Object(a.A)(l))):r({type:"LOAD_SUB_SEMESTER",payload:u.data});case 7:case"end":return t.stop()}},t)}));return function(e,r){return t.apply(this,arguments)}}()},l=function(e){return function(){var t=Object(n.a)(i().mark(function t(r,n){var c,u,s,l;return i().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return c=n(),r({type:"SET_LOADER"}),t.next=4,o.a.post("/app.php?a=loadallexamcentre&univcode="+c.univ.funivcode+"°grp="+e.deggrp,{data:e});case 4:u=t.sent,r({type:"UNSET_LOADER"}),"object"!==typeof u.data?(s={header:"Error",content:"Something went wrong"},r(Object(a.A)(s))):-1===u.data.error_code?(l={header:"Error",content:u.data.data.msg},r(Object(a.A)(l))):r({type:"LOAD_ALL_EXAMCENTRE",payload:u.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 c,u,s,l;return i().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return c=n(),r({type:"SET_LOADER"}),t.next=4,o.a.post("/app.php?a=loadtableexamcentre&univcode="+c.univ.funivcode+"°grp="+e.deggrp+"&reportorder="+e.reportorder,{data:e});case 4:u=t.sent,r({type:"UNSET_LOADER"}),"object"!==typeof u.data?(s={header:"Error",content:"Something went wrong"},r(Object(a.A)(s))):-1===u.data.error_code?(l={header:"Error",content:u.data.data.msg},r(Object(a.A)(l))):r({type:"LOAD_TABLE_EXAMCENTRE",payload:u.data});case 7:case"end":return t.stop()}},t)}));return function(e,r){return t.apply(this,arguments)}}()},f=function(e,t){return function(){var r=Object(n.a)(i().mark(function r(n,a){var c,u;return i().wrap(function(r){for(;;)switch(r.prev=r.next){case 0:return c=a(),n({type:"SET_LOADER"}),r.next=4,o.a.post("/app.php?a=getVerfyData&univcode="+c.univ.funivcode+"°gp="+e+"&fstatus="+t);case 4:u=r.sent,n({type:"UNSET_LOADER"}),-1===u.data.error_code?n({type:"CLEAR_GET_VERF_NOTI"}):n({type:"GET_VERF_NOTI",payload:u.data});case 7:case"end":return r.stop()}},r)}));return function(e,t){return r.apply(this,arguments)}}()},h=function(e,t,r){return function(){var c=Object(n.a)(i().mark(function n(c,u){var s,l,p,f;return i().wrap(function(n){for(;;)switch(n.prev=n.next){case 0:return s=u(),c({type:"SET_LOADER"}),n.next=4,o.a.post("/app.php?a=saveVerifyNotifi&univcode="+s.univ.funivcode+"&findata="+e+"&userid="+t+"&usertype="+r);case 4:l=n.sent,c({type:"UNSET_LOADER"}),0===l.data.error_code?(p={header:"Success",content:l.data.data.msg},c(Object(a.A)(p))):(f={header:"Error",content:l.data.data.msg},c(Object(a.A)(f)));case 7:case"end":return n.stop()}},n)}));return function(e,t){return c.apply(this,arguments)}}()}}}]);
//# sourceMappingURL=194.cb81464f.chunk.js.map
|