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.143.237.54


Current Path : /var/www/egov/build/static/js/
Upload File :
Current File : /var/www/egov/build/static/js/96.761368f3.chunk.js

(window.webpackJsonp=window.webpackJsonp||[]).push([[96],{1396:function(t,e,r){"use strict";r.r(e);var n=r(100),a=r(101),o=r(103),c=r(102),i=r(104),u=r(2),l=r.n(u),s=r(941),p=r(105),f=r(1377),d=r(1343),h=r(272),y=r(1338),v=r(267),g=r(310),m=r(410),E=r(274),b=r(273),w=(r(327),r(707)),_=function(t){function e(){var t,r;Object(n.a)(this,e);for(var a=arguments.length,i=new Array(a),u=0;u<a;u++)i[u]=arguments[u];return(r=Object(o.a)(this,(t=Object(c.a)(e)).call.apply(t,[this].concat(i)))).state={},r.handleprint=function(t){window.open(E.c+"createboeReport&fboard="+t.fboard+"&fgrpname="+t.fgrpname+"&univcode="+r.props.user.fcuruniv+"&format=PDF","_blank")},r}return Object(i.a)(e,t),Object(a.a)(e,[{key:"componentDidMount",value:function(){this.props.getcreateBOEtable(this.props.user.fdeggrp)}},{key:"componentDidUpdate",value:function(t){this.props.user.fdeggrp!==t.user.fdeggrp&&this.props.fetchQpBoard(this.props.user.fdeggrp)}},{key:"render",value:function(){var t=this,e=Object(b.i)();return function(t){if(null==t)throw new TypeError("Cannot destructure undefined")}(this.state),l.a.createElement("div",{className:"animated fadeIn"},l.a.createElement(f.a,{fluid:!0},l.a.createElement(f.a.Content,null,l.a.createElement(f.a.Header,{style:{display:"flex"}},l.a.createElement("h4",null,"Create BOE"),l.a.createElement("div",{className:"ml-auto"},l.a.createElement(s.a,{to:{pathname:"/addcreateboe/addboe/create/''/''",query:{screen:"create"}}},l.a.createElement(d.a,{basic:!0,color:"blue",content:"ADD",icon:"plus"})),l.a.createElement(s.a,{to:"/dashboard"},l.a.createElement(d.a,{basic:!0,color:"red",content:"Exit",icon:"home"})))),l.a.createElement(h.a,null),l.a.createElement(f.a.Description,{style:{height:"".concat(e,"px"),overflowY:"auto"}},l.a.createElement("div",{className:"animated fadeIn"},l.a.createElement("div",{className:"ui mini form"},l.a.createElement(y.a,{celled:!0,padded:!0,selectable:!0,structured:!0,size:"small",color:"olive",style:{marginTop:"25px"}},l.a.createElement(y.a.Header,{style:{fontSize:"1.2em"}},l.a.createElement(y.a.Row,null,l.a.createElement(y.a.HeaderCell,{style:{width:"5%"},singleLine:!0,textAlign:"center"},l.a.createElement("label",null,"Sl. No.")),l.a.createElement(y.a.HeaderCell,{style:{width:"7%"},textAlign:"center"},l.a.createElement("label",null,"Board")),l.a.createElement(y.a.HeaderCell,{style:{width:"20%"},textAlign:"center"},l.a.createElement("label",null,"Group Name")),l.a.createElement(y.a.HeaderCell,{style:{width:"7%"},textAlign:"center"},l.a.createElement("label",null,"Action")))),l.a.createElement(y.a.Body,null,this.props.loadboetable.map(function(e,r){return l.a.createElement(y.a.Row,{key:r},l.a.createElement(y.a.Cell,{textAlign:"center",style:{fontSize:"1.2em"}},r+1),l.a.createElement(y.a.Cell,{textAlign:"left",style:{fontSize:"1.2em"}},e.fboardname),l.a.createElement(y.a.Cell,{textAlign:"left",style:{fontSize:"1.2em"}},e.fgrpname),l.a.createElement(y.a.Cell,{style:{display:"flex",justifyContent:"space-evenly"}},l.a.createElement(s.a,{to:{pathname:"/addcreateboe/addboe/edit/".concat(e.fboard,"/").concat(e.fgrpname),query:{fgrpname:e.fgrpname,fboard:e.fboard}}},l.a.createElement(d.a,{content:"Edit",basic:!0,size:"small",style:{display:"flex"},color:"blue",icon:"edit"})),l.a.createElement(d.a,{content:"Print",basic:!0,style:{display:"flex"},size:"small",color:"green",icon:"print",onClick:function(){return t.handleprint(e)}})))})))))))))}}]),e}(u.Component);e.default=Object(p.b)(function(t){return{user:t.user,board:t.board,deggrp:t.deggrp,loadboetable:t.boeCreate}},{showError:v.A,fetchTeachBoard:g.f,fetchQpStatistics:g.d,getRVtable:m.d,getcreateBOEtable:w.g})(_)},308:function(t,e,r){"use strict";r.d(e,"b",function(){return u}),r.d(e,"c",function(){return l}),r.d(e,"d",function(){return s}),r.d(e,"a",function(){return p}),r.d(e,"f",function(){return f}),r.d(e,"g",function(){return d}),r.d(e,"i",function(){return h}),r.d(e,"h",function(){return y}),r.d(e,"e",function(){return v}),r.d(e,"j",function(){return g});var n=r(68),a=r(271),o=r(24),c=r(267);function i(){i=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,a=Object.defineProperty||function(t,e,r){t[e]=r.value},o="function"==typeof Symbol?Symbol:{},c=o.iterator||"@@iterator",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 p(t,e,r,n){var o=e&&e.prototype instanceof m?e:m,c=Object.create(o.prototype),i=new k(n||[]);return a(c,"_invoke",{value:R(t,r,i)}),c}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=p;var d="suspendedStart",h="suspendedYield",y="executing",v="completed",g={};function m(){}function E(){}function b(){}var w={};s(w,c,function(){return this});var _=Object.getPrototypeOf,O=_&&_(_(D([])));O&&O!==r&&n.call(O,c)&&(w=O);var j=b.prototype=m.prototype=Object.create(w);function x(t){["next","throw","return"].forEach(function(e){s(t,e,function(t){return this._invoke(e,t)})})}function L(t,e){function r(a,o,c,i){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,c,i)},function(t){r("throw",t,c,i)}):e.resolve(s).then(function(t){l.value=t,c(l)},function(t){return r("throw",t,c,i)})}i(u.arg)}var o;a(this,"_invoke",{value:function(t,n){function a(){return new e(function(e,a){r(t,n,e,a)})}return o=o?o.then(a,a):a()}})}function R(e,r,n){var a=d;return function(o,c){if(a===y)throw new Error("Generator is already running");if(a===v){if("throw"===o)throw c;return{value:t,done:!0}}for(n.method=o,n.arg=c;;){var i=n.delegate;if(i){var u=S(i,n);if(u){if(u===g)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(a===d)throw a=v,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);a=y;var l=f(e,r,n);if("normal"===l.type){if(a=n.done?v:h,l.arg===g)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(a=v,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")),g;var o=f(a,e.iterator,r.arg);if("throw"===o.type)return r.method="throw",r.arg=o.arg,r.delegate=null,g;var c=o.arg;return c?c.done?(r[e.resultName]=c.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,g):c:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,g)}function A(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function T(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function k(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(A,this),this.reset(!0)}function D(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 E.prototype=b,a(j,"constructor",{value:b,configurable:!0}),a(b,"constructor",{value:E,configurable:!0}),E.displayName=s(b,l,"GeneratorFunction"),e.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===E||"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(j),t},e.awrap=function(t){return{__await:t}},x(L.prototype),s(L.prototype,u,function(){return this}),e.AsyncIterator=L,e.async=function(t,r,n,a,o){void 0===o&&(o=Promise);var c=new L(p(t,r,n,a),o);return e.isGeneratorFunction(r)?c:c.next().then(function(t){return t.done?t.value:c.next()})},x(j),s(j,l,"Generator"),s(j,c,function(){return this}),s(j,"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=D,k.prototype={constructor:k,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(T),!e)for(var r in this)"t"===r.charAt(0)&&n.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=t)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var r=this;function a(n,a){return i.type="throw",i.arg=e,r.next=n,a&&(r.method="next",r.arg=t),!!a}for(var o=this.tryEntries.length-1;o>=0;--o){var c=this.tryEntries[o],i=c.completion;if("root"===c.tryLoc)return a("end");if(c.tryLoc<=this.prev){var u=n.call(c,"catchLoc"),l=n.call(c,"finallyLoc");if(u&&l){if(this.prev<c.catchLoc)return a(c.catchLoc,!0);if(this.prev<c.finallyLoc)return a(c.finallyLoc)}else if(u){if(this.prev<c.catchLoc)return a(c.catchLoc,!0)}else{if(!l)throw new Error("try statement without catch or finally");if(this.prev<c.finallyLoc)return a(c.finallyLoc)}}}},abrupt:function(t,e){for(var r=this.tryEntries.length-1;r>=0;--r){var a=this.tryEntries[r];if(a.tryLoc<=this.prev&&n.call(a,"finallyLoc")&&this.prev<a.finallyLoc){var o=a;break}}o&&("break"===t||"continue"===t)&&o.tryLoc<=e&&e<=o.finallyLoc&&(o=null);var c=o?o.completion:{};return c.type=t,c.arg=e,o?(this.method="next",this.next=o.finallyLoc,g):this.complete(c)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),g},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),T(r),g}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var a=n.arg;T(r)}return a}}throw new Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:D(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),g}},e}var u=function(t,e,r){return function(){var t=Object(n.a)(i().mark(function t(n,c){var u,l;return i().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return u=c(),t.next=3,a.a.get("/app.php",{params:{a:"getDegrees",modtype:r,fboard:e,deggrp:u.user.fdeggrp,univcode:u.univ.funivcode}});case 3:"object"!==typeof(l=t.sent).data?n({type:"SET_ERROR",payload:{error_code:-1,data:{msg:"Something went wrong wile fetching Practical Degrees"},status:"failure"}}):-1===l.data.error_code?n({type:"SET_ERROR",payload:l.data}):n({type:o.g,payload:l.data});case 5:case"end":return t.stop()}},t)}));return function(e,r){return t.apply(this,arguments)}}()},l=function(t,e){return function(){var r=Object(n.a)(i().mark(function r(n,o){var c,u;return i().wrap(function(r){for(;;)switch(r.prev=r.next){case 0:return c=o(),r.next=3,a.a.get("/app.php",{params:{a:"getPracticalSubjects",fdegree:t,fboard:e,univcode:c.univ.funivcode}});case 3:"object"!==typeof(u=r.sent).data?n({type:"SET_ERROR",payload:{error_code:-1,data:{msg:"Something went wrong wile fetching Practical Subjects"},status:"failure"}}):-1===u.data.error_code?n({type:"SET_ERROR",payload:u.data}):n({type:"FETCH_PRSUB",payload:u.data});case 5:case"end":return r.stop()}},r)}));return function(t,e){return r.apply(this,arguments)}}()},s=function(t){return function(){var e=Object(n.a)(i().mark(function e(r,n){var o,c;return i().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return o=n(),e.next=3,a.a.get("/app.php",{params:{a:"getPracticalBoards",fdeggrp:t,univcode:o.user.fcuruniv}});case 3:"object"!==typeof(c=e.sent).data?r({type:"SET_ERROR",payload:{error_code:-1,data:{msg:"Something went wrong wile fetching Practical Boards"},status:"failure"}}):-1===c.data.error_code?r({type:"SET_ERROR",payload:c.data}):r({type:"FETCH_BOARDS",payload:c.data});case 5:case"end":return e.stop()}},e)}));return function(t,r){return e.apply(this,arguments)}}()},p=function(t,e,r,o){return function(){var c=Object(n.a)(i().mark(function n(c,u){var l,s;return i().wrap(function(n){for(;;)switch(n.prev=n.next){case 0:return l=u(),c({type:"SET_LOADER"}),n.next=4,a.a.get("/app.php",{params:{a:"getPracticalBatchDet",fdeggrp:t,fdegree:r,fboard:e,fsubcode:o,univcode:l.univ.funivcode}});case 4:s=n.sent,c({type:"UNSET_LOADER"}),"object"!==typeof s.data?c({type:"SET_ERROR",payload:{error_code:-1,data:{msg:"Something went wrong wile fetching Practical Batch Details"},status:"failure"}}):-1===s.data.error_code?c({type:"SET_ERROR",payload:s.data}):c({type:"FETCH_PRBATCHDET",payload:s.data});case 7:case"end":return n.stop()}},n)}));return function(t,e){return c.apply(this,arguments)}}()},f=function(){return function(){var t=Object(n.a)(i().mark(function t(e,r){var n,o,u,l;return i().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return n=r(),e({type:"SET_LOADER"}),t.next=4,a.a.post("/app.php?a=getCollegeDet&univcode="+n.univ.funivcode);case 4:o=t.sent,e({type:"UNSET_LOADER"}),"object"!==typeof o.data?(u={header:"Error",content:"Something went wrong"},e(Object(c.A)(u))):-1===o.data.error_code?(l={header:"Error",content:o.data.data.msg},e(Object(c.A)(l)),e({type:"CLEAR_PR_COLLEGE",payload:o.data})):e({type:"GET_PR_COLLEGE",payload:o.data});case 7:case"end":return t.stop()}},t)}));return function(e,r){return t.apply(this,arguments)}}()},d=function(t){return function(){var e=Object(n.a)(i().mark(function e(r,n){var o,u,l,s;return i().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return o=n(),r({type:"SET_LOADER"}),e.next=4,a.a.post("/app.php?a=getDegreeColl&univcode="+o.univ.funivcode+"&college="+t);case 4:u=e.sent,r({type:"UNSET_LOADER"}),"object"!==typeof u.data?(l={header:"Error",content:"Something went wrong"},r(Object(c.A)(l))):-1===u.data.error_code?(s={header:"Error",content:u.data.data.msg},r(Object(c.A)(s)),r({type:"CLEAR_PR_DEGREE",payload:u.data})):r({type:"GET_PR_DEGREE",payload:u.data});case 7:case"end":return e.stop()}},e)}));return function(t,r){return e.apply(this,arguments)}}()},h=function(t,e,r){return function(){var o=Object(n.a)(i().mark(function n(o,u){var l,s,p,f;return i().wrap(function(n){for(;;)switch(n.prev=n.next){case 0:return l=u(),o({type:"SET_LOADER"}),n.next=4,a.a.post("/app.php?a=getSubjDeg&univcode="+l.univ.funivcode+"&college="+t+"&degree="+e+"&sem="+r);case 4:s=n.sent,o({type:"UNSET_LOADER"}),"object"!==typeof s.data?(p={header:"Error",content:"Something went wrong"},o(Object(c.A)(p))):-1===s.data.error_code?(f={header:"Error",content:s.data.data.msg},o(Object(c.A)(f)),o({type:"CLEAR_PR_SUBJ",payload:s.data})):o({type:"GET_PR_SUBJ",payload:s.data});case 7:case"end":return n.stop()}},n)}));return function(t,e){return o.apply(this,arguments)}}()},y=function(t,e){return function(){var r=Object(n.a)(i().mark(function r(n,o){var u,l,s,p;return i().wrap(function(r){for(;;)switch(r.prev=r.next){case 0:return u=o(),n({type:"SET_LOADER"}),r.next=4,a.a.post("/app.php?a=getSemDeg&univcode="+u.univ.funivcode+"&college="+t+"&degree="+e);case 4:l=r.sent,n({type:"UNSET_LOADER"}),"object"!==typeof l.data?(s={header:"Error",content:"Something went wrong"},n(Object(c.A)(s))):-1===l.data.error_code?(p={header:"Error",content:l.data.data.msg},n(Object(c.A)(p)),n({type:"CLEAR_PR_SEM",payload:l.data})):n({type:"GET_PR_SEM",payload:l.data});case 7:case"end":return r.stop()}},r)}));return function(t,e){return r.apply(this,arguments)}}()},v=function(t,e,r,o){return function(){var u=Object(n.a)(i().mark(function n(u,l){var s,p,f,d;return i().wrap(function(n){for(;;)switch(n.prev=n.next){case 0:return s=l(),u({type:"SET_LOADER"}),n.next=4,a.a.post("/app.php?a=getBatchSub&univcode="+s.univ.funivcode+"&college="+t+"&degree="+e+"&sem="+r+"&subject="+o);case 4:p=n.sent,u({type:"UNSET_LOADER"}),"object"!==typeof p.data?(f={header:"Error",content:"Something went wrong"},u(Object(c.A)(f))):-1===p.data.error_code?(d={header:"Error",content:p.data.data.msg},u(Object(c.A)(d)),u({type:"CLEAR_PR_BATCH",payload:p.data})):u({type:"GET_PR_BATCH",payload:p.data});case 7:case"end":return n.stop()}},n)}));return function(t,e){return u.apply(this,arguments)}}()},g=function(t,e,r,o,u,l,s){return function(){var p=Object(n.a)(i().mark(function n(p,f){var d,h,y,v;return i().wrap(function(n){for(;;)switch(n.prev=n.next){case 0:return d=f(),p({type:"SET_LOADER"}),n.next=4,a.a.post("/app.php?a=viewPracticalMarks&univcode="+d.univ.funivcode+"&usertype="+d.user.fcurtype+"&college="+t+"&degree="+e+"&sem="+r+"&subject="+o+"&regfrm="+u+"&regto="+l+"&batch="+s);case 4:h=n.sent,p({type:"UNSET_LOADER"}),"object"!==typeof h.data?(y={header:"Error",content:"Something went wrong"},p(Object(c.A)(y))):-1===h.data.error_code?(v={header:"Error",content:h.data.data.msg},p(Object(c.A)(v)),p({type:"CLEAR_PR_VIEW",payload:h.data})):p({type:"GET_PR_VIEW",payload:h.data});case 7:case"end":return n.stop()}},n)}));return function(t,e){return p.apply(this,arguments)}}()}},327:function(t,e,r){"use strict";var n=r(100),a=r(101),o=r(103),c=r(102),i=r(104),u=r(2),l=r.n(u),s=r(105),p=r(1335),f=r(1337),d=r(308),h=function(t){function e(){return Object(n.a)(this,e),Object(o.a)(this,Object(c.a)(e).apply(this,arguments))}return Object(i.a)(e,t),Object(a.a)(e,[{key:"render",value:function(){var t=this.props.board.map(function(t,e){return{key:e,value:t.fboardcode,text:"".concat(t.fboardcode," - ").concat(t.fboardname)}});return l.a.createElement(p.a.Field,null,l.a.createElement("label",null,"Board"),l.a.createElement(f.a,{fluid:!0,search:!0,selection:!0,value:this.props.fboard,onChange:this.props.onBoardChange,placeholder:"Select Board",options:t}))}}]),e}(u.Component);e.a=Object(s.b)(function(t){return{board:t.boards,user:t.user}},{fetchSubPrBoard:d.d})(h)},410:function(t,e,r){"use strict";r.d(e,"d",function(){return u}),r.d(e,"e",function(){return l}),r.d(e,"a",function(){return s}),r.d(e,"c",function(){return p}),r.d(e,"b",function(){return f}),r.d(e,"f",function(){return d});var n=r(68),a=r(271),o=r(267),c=r(286);function i(){i=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,a=Object.defineProperty||function(t,e,r){t[e]=r.value},o="function"==typeof Symbol?Symbol:{},c=o.iterator||"@@iterator",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 p(t,e,r,n){var o=e&&e.prototype instanceof m?e:m,c=Object.create(o.prototype),i=new k(n||[]);return a(c,"_invoke",{value:R(t,r,i)}),c}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=p;var d="suspendedStart",h="suspendedYield",y="executing",v="completed",g={};function m(){}function E(){}function b(){}var w={};s(w,c,function(){return this});var _=Object.getPrototypeOf,O=_&&_(_(D([])));O&&O!==r&&n.call(O,c)&&(w=O);var j=b.prototype=m.prototype=Object.create(w);function x(t){["next","throw","return"].forEach(function(e){s(t,e,function(t){return this._invoke(e,t)})})}function L(t,e){function r(a,o,c,i){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,c,i)},function(t){r("throw",t,c,i)}):e.resolve(s).then(function(t){l.value=t,c(l)},function(t){return r("throw",t,c,i)})}i(u.arg)}var o;a(this,"_invoke",{value:function(t,n){function a(){return new e(function(e,a){r(t,n,e,a)})}return o=o?o.then(a,a):a()}})}function R(e,r,n){var a=d;return function(o,c){if(a===y)throw new Error("Generator is already running");if(a===v){if("throw"===o)throw c;return{value:t,done:!0}}for(n.method=o,n.arg=c;;){var i=n.delegate;if(i){var u=S(i,n);if(u){if(u===g)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(a===d)throw a=v,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);a=y;var l=f(e,r,n);if("normal"===l.type){if(a=n.done?v:h,l.arg===g)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(a=v,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")),g;var o=f(a,e.iterator,r.arg);if("throw"===o.type)return r.method="throw",r.arg=o.arg,r.delegate=null,g;var c=o.arg;return c?c.done?(r[e.resultName]=c.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,g):c:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,g)}function A(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function T(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function k(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(A,this),this.reset(!0)}function D(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 E.prototype=b,a(j,"constructor",{value:b,configurable:!0}),a(b,"constructor",{value:E,configurable:!0}),E.displayName=s(b,l,"GeneratorFunction"),e.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===E||"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(j),t},e.awrap=function(t){return{__await:t}},x(L.prototype),s(L.prototype,u,function(){return this}),e.AsyncIterator=L,e.async=function(t,r,n,a,o){void 0===o&&(o=Promise);var c=new L(p(t,r,n,a),o);return e.isGeneratorFunction(r)?c:c.next().then(function(t){return t.done?t.value:c.next()})},x(j),s(j,l,"Generator"),s(j,c,function(){return this}),s(j,"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=D,k.prototype={constructor:k,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(T),!e)for(var r in this)"t"===r.charAt(0)&&n.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=t)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var r=this;function a(n,a){return i.type="throw",i.arg=e,r.next=n,a&&(r.method="next",r.arg=t),!!a}for(var o=this.tryEntries.length-1;o>=0;--o){var c=this.tryEntries[o],i=c.completion;if("root"===c.tryLoc)return a("end");if(c.tryLoc<=this.prev){var u=n.call(c,"catchLoc"),l=n.call(c,"finallyLoc");if(u&&l){if(this.prev<c.catchLoc)return a(c.catchLoc,!0);if(this.prev<c.finallyLoc)return a(c.finallyLoc)}else if(u){if(this.prev<c.catchLoc)return a(c.catchLoc,!0)}else{if(!l)throw new Error("try statement without catch or finally");if(this.prev<c.finallyLoc)return a(c.finallyLoc)}}}},abrupt:function(t,e){for(var r=this.tryEntries.length-1;r>=0;--r){var a=this.tryEntries[r];if(a.tryLoc<=this.prev&&n.call(a,"finallyLoc")&&this.prev<a.finallyLoc){var o=a;break}}o&&("break"===t||"continue"===t)&&o.tryLoc<=e&&e<=o.finallyLoc&&(o=null);var c=o?o.completion:{};return c.type=t,c.arg=e,o?(this.method="next",this.next=o.finallyLoc,g):this.complete(c)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),g},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),T(r),g}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var a=n.arg;T(r)}return a}}throw new Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:D(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),g}},e}var u=function(t){return function(){var e=Object(n.a)(i().mark(function e(r,n){var c,u,l,s;return i().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return c=n(),e.next=3,a.a.get("/app.php",{params:{a:"loadrvmarksentrytable",deggrp:t,univcode:c.user.fcuruniv}});case 3:"object"!==typeof(u=e.sent).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:"RV_ENTRY",payload:u.data});case 5:case"end":return e.stop()}},e)}));return function(t,r){return e.apply(this,arguments)}}()},l=function(t){return function(){var e=Object(n.a)(i().mark(function e(r,n){var c,u,l,s;return i().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return c=n(),r({type:"SET_LOADER"}),e.next=4,a.a.get("/app.php",{params:{a:"getdocdetRV",univcode:c.user.fcuruniv,docno:t}});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:"GET_DOC_DET_RV",payload:u.data});case 7:case"end":return e.stop()}},e)}));return function(t,r){return e.apply(this,arguments)}}()},s=function(t,e,r){return{type:"RV_MARKS_CHANGE",payload:{data:t,el:e,i:r}}},p=function(t){return{type:"RV_MARKS_QPCODE_CHANGE",payload:{data:t}}},f=function(t){return{type:"RV_MARKS_PACKET_CHANGE",payload:{data:t}}},d=function(t){return function(){var e=Object(n.a)(i().mark(function e(r,n){var u,l,s,p,f;return i().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return u=n(),e.next=3,a.a.post("/app.php?a=saveRVMarks&univcode="+u.univ.funivcode,{data:{docno:t,table:u.rvDocDet.table,pktno:u.rvDocDet.fpacket,qpcode:u.rvDocDet.fqpcode,user:u.user}});case 3:"object"!==typeof(l=e.sent).data?(s={header:"Error",content:"Something went wrong"},r(Object(o.A)(s))):-1===l.data.error_code?(p={header:"Error",content:l.data.data.msg},r(Object(o.A)(p))):(f={header:"Success",content:l.data.data.msg},r(Object(o.A)(f)),c.l.push("/after-exam/rvMarksEntry"));case 5:case"end":return e.stop()}},e)}));return function(t,r){return e.apply(this,arguments)}}()}}}]);
//# sourceMappingURL=96.761368f3.chunk.js.map