Linux ip-172-26-7-228 5.4.0-1103-aws #111~18.04.1-Ubuntu SMP Tue May 23 20:04:10 UTC 2023 x86_64
Your IP : 18.223.108.134
(window.webpackJsonp=window.webpackJsonp||[]).push([[53,307],{1297:function(e,t,r){"use strict";r.r(t);var n=r(68),a=r(100),o=r(101),c=r(103),i=r(102),u=r(104),s=r(2),d=r.n(s),l=r(941),p=r(105),f=r(1377),h=r(1343),v=r(272),y=r(305),b=r(1335),g=r(1337),m=r(316),E=r(267),w=r(271),O=r(303);function j(){j=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:{},c=o.iterator||"@@iterator",i=o.asyncIterator||"@@asyncIterator",u=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 d(e,t,r,n){var o=t&&t.prototype instanceof b?t:b,c=Object.create(o.prototype),i=new N(n||[]);return a(c,"_invoke",{value:S(e,r,i)}),c}function l(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}t.wrap=d;var p="suspendedStart",f="suspendedYield",h="executing",v="completed",y={};function b(){}function g(){}function m(){}var E={};s(E,c,function(){return this});var w=Object.getPrototypeOf,O=w&&w(w(T([])));O&&O!==r&&n.call(O,c)&&(E=O);var x=m.prototype=b.prototype=Object.create(E);function _(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,c,i){var u=l(e[a],e,o);if("throw"!==u.type){var s=u.arg,d=s.value;return d&&"object"==typeof d&&n.call(d,"__await")?t.resolve(d.__await).then(function(e){r("next",e,c,i)},function(e){r("throw",e,c,i)}):t.resolve(d).then(function(e){s.value=e,c(s)},function(e){return r("throw",e,c,i)})}i(u.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 S(t,r,n){var a=p;return function(o,c){if(a===h)throw new Error("Generator is already running");if(a===v){if("throw"===o)throw c;return{value:e,done:!0}}for(n.method=o,n.arg=c;;){var i=n.delegate;if(i){var u=D(i,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===p)throw a=v,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);a=h;var s=l(t,r,n);if("normal"===s.type){if(a=n.done?v:f,s.arg===y)continue;return{value:s.arg,done:n.done}}"throw"===s.type&&(a=v,n.method="throw",n.arg=s.arg)}}}function D(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,D(t,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),y;var o=l(a,t.iterator,r.arg);if("throw"===o.type)return r.method="throw",r.arg=o.arg,r.delegate=null,y;var c=o.arg;return c?c.done?(r[t.resultName]=c.value,r.next=t.nextLoc,"return"!==r.method&&(r.method="next",r.arg=e),r.delegate=null,y):c:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,y)}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 A(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function N(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(L,this),this.reset(!0)}function T(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 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 g.prototype=m,a(x,"constructor",{value:m,configurable:!0}),a(m,"constructor",{value:g,configurable:!0}),g.displayName=s(m,u,"GeneratorFunction"),t.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===g||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,m):(e.__proto__=m,s(e,u,"GeneratorFunction")),e.prototype=Object.create(x),e},t.awrap=function(e){return{__await:e}},_(k.prototype),s(k.prototype,i,function(){return this}),t.AsyncIterator=k,t.async=function(e,r,n,a,o){void 0===o&&(o=Promise);var c=new k(d(e,r,n,a),o);return t.isGeneratorFunction(r)?c:c.next().then(function(e){return e.done?e.value:c.next()})},_(x),s(x,u,"Generator"),s(x,c,function(){return this}),s(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=T,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(A),!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 i.type="throw",i.arg=t,r.next=n,a&&(r.method="next",r.arg=e),!!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"),s=n.call(c,"finallyLoc");if(u&&s){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(!s)throw new Error("try statement without catch or finally");if(this.prev<c.finallyLoc)return a(c.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 c=o?o.completion:{};return c.type=e,c.arg=t,o?(this.method="next",this.next=o.finallyLoc,y):this.complete(c)},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),A(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 a=n.arg;A(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),y}},t}var x=function(e){function t(e){var r;return Object(a.a)(this,t),(r=Object(c.a)(this,Object(i.a)(t).call(this,e))).handleCancel=Object(n.a)(j().mark(function e(){return j().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,r.setState({regcode:"",ansbook:"",regno:"",name:"",qpcode:"",filepath:"",newansbook:"",newregno:"",studid:"",serv:"F"});case 2:case"end":return e.stop()}},e)})),r.handleBlur=function(){var e=Object(n.a)(j().mark(function e(t){var n,a;return j().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,w.a.get("app.php?a=getNameRegNo&univcode="+r.props.univ.funivcode+"®no="+t);case 2:-1===(n=e.sent).data.error_code&&(a={header:"Error",content:n.data.data.msg},r.props.showError(a)),r.setState({name:n.data.data.fname,studid:n.data.data.fstudid});case 5:case"end":return e.stop()}},e)}));return function(t){return e.apply(this,arguments)}}(),r.handleBlurRegcode=function(){var e=Object(n.a)(j().mark(function e(t){var n,a;return j().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(""!=r.state.regcode){e.next=2;break}return e.abrupt("return");case 2:return e.next=4,w.a.get("app.php?a=updateRegCode&univcode="+r.props.univ.funivcode+"®code="+t);case 4:-1===(n=e.sent).data.error_code&&(a={header:"Error",content:n.data.data.msg},r.props.showError(a)),0===n.data.error_code&&(r.setState({filepath:n.data.data.ffilepath}),r.setState({qpcode:n.data.data.fqpcode}),r.setState({regno:n.data.data.FREGNO}),r.setState({ansbook:n.data.data.fansbook,serv:n.data.data.FFILFRMSER}));case 7:case"end":return e.stop()}},e)}));return function(t){return e.apply(this,arguments)}}(),r.setEntrytyp=function(){var e=Object(n.a)(j().mark(function e(t,n){return j().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:r.setState({entry:n.value});case 1:case"end":return e.stop()}},e)}));return function(t,r){return e.apply(this,arguments)}}(),r.handleClickSave=Object(n.a)(j().mark(function e(){var t,n,a,o,c,i,u,s;return j().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if("Rejected"==r.state.rejected){e.next=21;break}if(""!==r.state.regcode){e.next=6;break}return t={header:"Error",content:"Enter Reg Code"},r.props.showError(t),r.inputRef.current.focus(),e.abrupt("return");case 6:if(""!==r.state.entry){e.next=11;break}return n={header:"Error",content:"Select Decoding Entry"},r.props.showError(n),r.inputRef.current.focus(),e.abrupt("return");case 11:if(""!==r.state.newansbook){e.next=16;break}return a={header:"Error",content:"Enter Answer Booklet Code"},r.props.showError(a),r.inputRef.current.focus(),e.abrupt("return");case 16:if(""!==r.state.newregno){e.next=21;break}return o={header:"Error",content:"Enter Register Number"},r.props.showError(o),r.inputRef.current.focus(),e.abrupt("return");case 21:return e.next=23,w.a.post("app.php?a=saveUpdatedRegNo&univcode="+r.props.univ.funivcode+"®code="+r.state.regcode+"&ansbook="+r.state.newansbook+"&qpcode="+r.state.qpcode+"®no="+r.state.newregno+"&user="+r.state.fuser+"&entrytyp="+r.state.entry+"&studid="+r.state.studid);case 23:if(0!==(c=e.sent).data.error_code){e.next=30;break}return i={header:"success",content:c.data.data.msg},r.props.showError(i),r.setState({regcode:"",ansbook:"",regno:"",name:"",qpcode:"",filepath:"",newansbook:"",newregno:"",entry:""}),r.inputRef.current.focus(),e.abrupt("return");case 30:if(-1!==c.data.error_code){e.next=36;break}return u={header:"Error",content:c.data.data.msg},r.props.showError(u),r.setState({regcode:"",ansbook:"",regno:"",name:"",qpcode:"",filepath:"",newansbook:"",newregno:"",entry:""}),r.inputRef.current.focus(),e.abrupt("return");case 36:if(-2!==c.data.error_code){e.next=42;break}return s={header:"success",content:c.data.data.msg},r.props.showError(s),r.setState({regcode:"",ansbook:"",regno:"",name:"",qpcode:"",filepath:"",newansbook:"",newregno:"",entry:""}),r.inputRef.current.focus(),e.abrupt("return");case 42:case"end":return e.stop()}},e)})),r.inputRef=d.a.createRef(),r.state={regcode:"",ansbook:"",regno:"",name:"",qpcode:"",filepath:"",fuser:r.props.user.fuserid,remarks:"",newregno:"",newansbook:"",entry:"",studid:"",serv:"F"},r}return Object(u.a)(t,e),Object(o.a)(t,[{key:"render",value:function(){var e=this,t="";t="051"==this.props.univ.funivcode?"#zoom=100":"#view=fitH,320";var r="T"===this.state.serv?"https://app.universitysolutions.in/eval-img/"+this.state.filepath+this.state.regcode+"_0.webp"+t:"https://answer-booklets.s3.ap-south-1.amazonaws.com/"+this.state.filepath+t;return d.a.createElement("div",null,d.a.createElement(f.a,{fluid:!0},d.a.createElement(f.a.Content,{style:{height:"720px"}},d.a.createElement(f.a.Header,{style:{display:"flex"}},d.a.createElement("h4",null,"Decode Correction"),d.a.createElement("div",{className:"ml-auto"},d.a.createElement(h.a,{basic:!0,color:"black",icon:"ban",onClick:this.handleCancel,content:"Cancel"}),d.a.createElement(l.a,{to:"/dashboard"},d.a.createElement(h.a,{basic:!0,color:"red",content:"Exit",icon:"home"})))),d.a.createElement(v.a,null),d.a.createElement(f.a.Description,{style:{overflowY:"auto",height:"700px"}},d.a.createElement(y.a,{columns:2,divided:!0},d.a.createElement(y.a.Column,null,d.a.createElement(b.a,null,d.a.createElement(b.a.Group,null,d.a.createElement(b.a.Field,{width:16},d.a.createElement("label",null,"Reg. Code"),d.a.createElement("input",{autoFocus:!0,style:{borderColor:"#bebfc0",borderWidth:"1px",width:"100%",borderRadius:"4px"},placeholder:"Reg Code",name:"regcode",ref:this.inputRef,value:this.state.regcode,onChange:function(t){return e.setState({regcode:t.target.value.toUpperCase()})},onBlur:function(t){return e.handleBlurRegcode(t.target.value)}}))),d.a.createElement(b.a.Group,null,d.a.createElement(b.a.Field,{width:16},d.a.createElement("label",null,"QP Code"),d.a.createElement(b.a.Input,{placeholder:"Qp Code",name:"qpcode",value:this.state.qpcode,disabled:!0}))),d.a.createElement(b.a.Group,null,d.a.createElement(b.a.Field,{width:16},d.a.createElement("label",null,"Decoding Entry"),d.a.createElement(g.a,{fluid:!0,search:!0,selection:!0,value:this.state.entry,options:[{key:"1",value:"1",text:"1"},{key:"2",value:"2",text:"2"}],allowAdditions:!0,placeholder:"Select Decoding Entry",onChange:this.setEntrytyp}))),d.a.createElement(b.a.Group,null,d.a.createElement(b.a.Field,{width:16},d.a.createElement("label",null,"Answer Booklet No."),d.a.createElement(b.a.Input,{placeholder:"Answer Booklet No.",name:"ansbook",value:this.state.ansbook,disabled:!0}))),d.a.createElement(b.a.Group,null,d.a.createElement(b.a.Field,{width:16},d.a.createElement("label",null,"New Answer Booklet No."),d.a.createElement(b.a.Input,{placeholder:"New Answer Booklet No.",name:"ansbook",value:this.state.newansbook,onChange:function(t,r){return e.setState({newansbook:r.value.toUpperCase()})}}))),d.a.createElement(b.a.Group,null,d.a.createElement(b.a.Field,{width:16},d.a.createElement("label",null,"Register Number"),d.a.createElement(b.a.Input,{placeholder:"Register Number",name:"regno",value:this.state.regno,disabled:!0}))),d.a.createElement(b.a.Group,null,d.a.createElement(b.a.Field,{width:16},d.a.createElement("label",null,"New Register Number"),d.a.createElement(b.a.Input,{placeholder:"New Register Number",name:"regno",value:this.state.newregno,onChange:function(t,r){return e.setState({newregno:r.value.toUpperCase()})},onBlur:function(t){return e.handleBlur(t.target.value)}}))),d.a.createElement(b.a.Group,null,d.a.createElement(b.a.Field,{width:8},d.a.createElement("label",null,"Name"),d.a.createElement(b.a.Input,{placeholder:"Name",name:"name",value:this.state.name,disabled:!0})),d.a.createElement(b.a.Field,{width:8},d.a.createElement("label",null,"Stud. ID"),d.a.createElement(b.a.Input,{placeholder:"Stud. ID",name:"studid",value:this.state.studid,disabled:!0}))),d.a.createElement(b.a.Group,null,d.a.createElement(b.a.Field,{width:16},d.a.createElement(h.a,{color:"blue",onClick:this.handleClickSave},"Save"))))),d.a.createElement(y.a.Column,null,d.a.createElement(m.a,{style:{overflow:"auto !important"}},"T"===this.state.serv?d.a.createElement("img",{src:r,width:"500px",height:"1000px"}):d.a.createElement("iframe",{src:r,width:"500px",height:"1000px"}))))))))}}]),t}(s.Component);t.default=Object(p.b)(function(e){return{univ:e.univ,user:e.user,student:e.tdvstud}},{showError:E.A,saveTDVSDecoding:O.j})(x)},272:function(e,t,r){"use strict";var n=r(270),a=r.n(n),o=r(268),c=r.n(o),i=r(2),u=r.n(i),s=r(349),d=r(613),l=r(611),p=r(269);function f(e){var t=e.children,r=e.className,n=e.clearing,o=e.content,i=e.fitted,h=e.hidden,v=e.horizontal,y=e.inverted,b=e.section,g=e.vertical,m=c()("ui",Object(s.a)(n,"clearing"),Object(s.a)(i,"fitted"),Object(s.a)(h,"hidden"),Object(s.a)(v,"horizontal"),Object(s.a)(y,"inverted"),Object(s.a)(b,"section"),Object(s.a)(g,"vertical"),"divider",r),E=Object(d.a)(f,e),w=Object(l.a)(f,e);return u.a.createElement(w,a()({},E,{className:m}),p.a.isNil(t)?o:t)}f.handledProps=["as","children","className","clearing","content","fitted","hidden","horizontal","inverted","section","vertical"],f.propTypes={},t.a=f},289:function(e,t,r){"use strict";var n=r(270),a=r.n(n),o=r(268),c=r.n(o),i=r(2),u=r.n(i),s=r(349),d=r(613),l=r(611),p=r(616);function f(e){var t=e.children,r=e.className,n=e.computer,o=e.color,i=e.floated,p=e.largeScreen,h=e.mobile,v=e.only,y=e.stretched,b=e.tablet,g=e.textAlign,m=e.verticalAlign,E=e.widescreen,w=e.width,O=c()(o,Object(s.a)(y,"stretched"),Object(s.c)(v,"only"),Object(s.d)(g),Object(s.e)(i,"floated"),Object(s.f)(m),Object(s.g)(n,"wide computer"),Object(s.g)(p,"wide large screen"),Object(s.g)(h,"wide mobile"),Object(s.g)(b,"wide tablet"),Object(s.g)(E,"wide widescreen"),Object(s.g)(w,"wide"),"column",r),j=Object(d.a)(f,e),x=Object(l.a)(f,e);return u.a.createElement(x,a()({},j,{className:O}),t)}f.handledProps=["as","children","className","color","computer","floated","largeScreen","mobile","only","stretched","tablet","textAlign","verticalAlign","widescreen","width"],f.propTypes={},f.create=Object(p.e)(f,function(e){return{children:e}}),t.a=f},303:function(e,t,r){"use strict";r.d(t,"d",function(){return u}),r.d(t,"h",function(){return s}),r.d(t,"e",function(){return d}),r.d(t,"f",function(){return l}),r.d(t,"j",function(){return p}),r.d(t,"n",function(){return f}),r.d(t,"c",function(){return h}),r.d(t,"m",function(){return v}),r.d(t,"b",function(){return y}),r.d(t,"l",function(){return b}),r.d(t,"a",function(){return g}),r.d(t,"k",function(){return m}),r.d(t,"g",function(){return E}),r.d(t,"i",function(){return w});var n=r(68),a=r(271),o=r(267),c=r(286);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:{},c=o.iterator||"@@iterator",u=o.asyncIterator||"@@asyncIterator",s=o.toStringTag||"@@toStringTag";function d(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{d({},"")}catch(e){d=function(e,t,r){return e[t]=r}}function l(e,t,r,n){var o=t&&t.prototype instanceof g?t:g,c=Object.create(o.prototype),i=new N(n||[]);return a(c,"_invoke",{value:S(e,r,i)}),c}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",v="executing",y="completed",b={};function g(){}function m(){}function E(){}var w={};d(w,c,function(){return this});var O=Object.getPrototypeOf,j=O&&O(O(T([])));j&&j!==r&&n.call(j,c)&&(w=j);var x=E.prototype=g.prototype=Object.create(w);function _(e){["next","throw","return"].forEach(function(t){d(e,t,function(e){return this._invoke(t,e)})})}function k(e,t){function r(a,o,c,i){var u=p(e[a],e,o);if("throw"!==u.type){var s=u.arg,d=s.value;return d&&"object"==typeof d&&n.call(d,"__await")?t.resolve(d.__await).then(function(e){r("next",e,c,i)},function(e){r("throw",e,c,i)}):t.resolve(d).then(function(e){s.value=e,c(s)},function(e){return r("throw",e,c,i)})}i(u.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 S(t,r,n){var a=f;return function(o,c){if(a===v)throw new Error("Generator is already running");if(a===y){if("throw"===o)throw c;return{value:e,done:!0}}for(n.method=o,n.arg=c;;){var i=n.delegate;if(i){var u=D(i,n);if(u){if(u===b)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(a===f)throw a=y,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);a=v;var s=p(t,r,n);if("normal"===s.type){if(a=n.done?y:h,s.arg===b)continue;return{value:s.arg,done:n.done}}"throw"===s.type&&(a=y,n.method="throw",n.arg=s.arg)}}}function D(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,D(t,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),b;var o=p(a,t.iterator,r.arg);if("throw"===o.type)return r.method="throw",r.arg=o.arg,r.delegate=null,b;var c=o.arg;return c?c.done?(r[t.resultName]=c.value,r.next=t.nextLoc,"return"!==r.method&&(r.method="next",r.arg=e),r.delegate=null,b):c:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,b)}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 A(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function N(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(L,this),this.reset(!0)}function T(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 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 m.prototype=E,a(x,"constructor",{value:E,configurable:!0}),a(E,"constructor",{value:m,configurable:!0}),m.displayName=d(E,s,"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,d(e,s,"GeneratorFunction")),e.prototype=Object.create(x),e},t.awrap=function(e){return{__await:e}},_(k.prototype),d(k.prototype,u,function(){return this}),t.AsyncIterator=k,t.async=function(e,r,n,a,o){void 0===o&&(o=Promise);var c=new k(l(e,r,n,a),o);return t.isGeneratorFunction(r)?c:c.next().then(function(e){return e.done?e.value:c.next()})},_(x),d(x,s,"Generator"),d(x,c,function(){return this}),d(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=T,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(A),!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 i.type="throw",i.arg=t,r.next=n,a&&(r.method="next",r.arg=e),!!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"),s=n.call(c,"finallyLoc");if(u&&s){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(!s)throw new Error("try statement without catch or finally");if(this.prev<c.finallyLoc)return a(c.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 c=o?o.completion:{};return c.type=e,c.arg=t,o?(this.method="next",this.next=o.finallyLoc,b):this.complete(c)},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),b},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),A(r),b}},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;A(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),b}},t}var u=function(e){return function(){var t=Object(n.a)(i().mark(function t(r,n){var c,u,s,d;return i().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return c=n(),r({type:"SET_LOADER"}),t.next=4,a.a.get("app.php?a=getTDVSBoardDetails&univcode="+c.univ.funivcode+"°grp="+e);case 4:u=t.sent,r({type:"UNSET_LOADER"}),"object"!==typeof u.data?(s={header:"Error",content:"Something went wrong"},r(Object(o.A)(s))):-1===u.data.error_code?(d={header:"Error",content:u.data.data.msg},r(Object(o.A)(d))):r({type:"TDVS_BOARD_DETAILS",payload:u.data});case 7:case"end":return t.stop()}},t)}));return function(e,r){return t.apply(this,arguments)}}()},s=function(e,t){return function(){var r=Object(n.a)(i().mark(function r(n,c){var u,s,d,l;return i().wrap(function(r){for(;;)switch(r.prev=r.next){case 0:return u=c(),n({type:"SET_LOADER"}),r.next=4,a.a.get("app.php?a=getTdvsQPDetails&univcode="+u.univ.funivcode+"&board="+e+"°grp="+t);case 4:s=r.sent,n({type:"UNSET_LOADER"}),"object"!==typeof s.data?(d={header:"Error",content:"Something went wrong"},n(Object(o.A)(d))):-1===s.data.error_code?(l={header:"Error",content:s.data.data.msg},n(Object(o.A)(l))):n({type:"TDVS_QP_DETAILS",payload:s.data});case 7:case"end":return r.stop()}},r)}));return function(e,t){return r.apply(this,arguments)}}()},d=function(e,t,r,u){return function(){var s=Object(n.a)(i().mark(function n(s,d){var l,p,f;return i().wrap(function(n){for(;;)switch(n.prev=n.next){case 0:return l=d(),s({type:"SET_LOADER"}),n.next=4,a.a.get("app.php?a=getTDVSQpPdfDet&univcode="+l.univ.funivcode+"&board="+e+"&qpcode="+t+"&userid="+u+"&enter="+r);case 4:p=n.sent,s({type:"UNSET_LOADER"}),0===p.data.error_code?s({type:"TDVS_PDF_DETAILS",payload:p.data}):-1===p.data.error_code&&(f={header:"Error",content:p.data.data.msg},s({type:"TDVS_PDF_DETAILS",payload:p.data}),s(Object(o.A)(f)),1==r?c.l.push("/tdvsdecoding"):2==r&&c.l.push("/tdvsdecoding2"));case 7:case"end":return n.stop()}},n)}));return function(e,t){return s.apply(this,arguments)}}()},l=function(e){return function(){var t=Object(n.a)(i().mark(function t(r,n){var c,u,s,d;return i().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return c=n(),r({type:"SET_LOADER"}),t.next=4,a.a.get("app.php?a=getTDVSStudentDeatils&univcode="+c.univ.funivcode+"®no="+e);case 4:u=t.sent,r({type:"UNSET_LOADER"}),"object"!==typeof u.data?(s={header:"Error",content:"Something went wrong"},r(Object(o.A)(s))):-1===u.data.error_code?(d={header:"Error",content:u.data.data.msg},r(Object(o.A)(d))):0===u.data.error_code&&r({type:"TDVS_STUDENT_DETAILS",payload:u.data});case 7:case"end":return t.stop()}},t)}));return function(e,r){return t.apply(this,arguments)}}()},p=function(e,t,r,c,u,s,d,l,p,f){return function(){var h=Object(n.a)(i().mark(function n(h,v){var y,b,g,m;return i().wrap(function(n){for(;;)switch(n.prev=n.next){case 0:return y=v(),h({type:"SET_LOADER"}),n.next=4,a.a.post("app.php?a=saveTDVSDecoding&univcode="+y.univ.funivcode+"®code="+e+"&ansbook="+t+"&qpcode="+r+"®no="+c+"&user="+u+"&rejected="+s+"&remarks="+d+"&enter="+l+"&fstudid="+p+"&fregno="+f);case 4:b=n.sent,h({type:"UNSET_LOADER"}),-1===b.data.error_code&&(g={header:"Error",content:b.data.data.msg},h(Object(o.A)(g))),0===b.data.error_code&&(m={header:"Success",content:b.data.data.msg},h(Object(o.A)(m)));case 8:case"end":return n.stop()}},n)}));return function(e,t){return h.apply(this,arguments)}}()},f=function(e,t,r,c,u){return function(){var s=Object(n.a)(i().mark(function n(s,d){var l,p,f;return i().wrap(function(n){for(;;)switch(n.prev=n.next){case 0:return l=d(),s({type:"SET_LOADER"}),p="",n.next=5,a.a.post("app.php?a=viewTdvsBoard&univcode="+l.univ.funivcode+"&board="+e+"&qpcodefrm="+t+"&qpcodeto="+r+"&status="+c+"&report="+u);case 5:p=n.sent,s({type:"UNSET_LOADER"}),-1===p.data.error_code&&(f={header:"Error",content:p.data.data.msg},s(Object(o.A)(f))),0===p.data.error_code&&({header:"Success",content:p.data.data.msg},s({type:"VIEW_TDVS_REPORT_DETAILS",payload:p.data}));case 9:case"end":return n.stop()}},n)}));return function(e,t){return s.apply(this,arguments)}}()},h=function(e,t,r,c,u){return function(){var s=Object(n.a)(i().mark(function n(s,d){var l,p,f,h;return i().wrap(function(n){for(;;)switch(n.prev=n.next){case 0:return l=d(),s({type:"SET_LOADER"}),n.next=4,a.a.get("app.php?a=getQPVerificationDet&univcode="+l.univ.funivcode+"°grp="+e+"&board="+t+"&qpcode="+r+"&type="+c+"&limit="+u);case 4:p=n.sent,s({type:"UNSET_LOADER"}),"object"!==typeof p.data?(f={header:"Error",content:"Something went wrong"},s(Object(o.A)(f))):-1===p.data.error_code?(h={header:"Error",content:p.data.data.msg},s(Object(o.A)(h)),s({type:"CLEAR_REGCODE_VERIFICATION",payload:p.data})):0===p.data.error_code&&s({type:"REGCODE_VERIFICATION",payload:p.data});case 7:case"end":return n.stop()}},n)}));return function(e,t){return s.apply(this,arguments)}}()},v=function(e){return function(){var t=Object(n.a)(i().mark(function t(r,n){var c,u,s,d;return i().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return c=n(),r({type:"SET_LOADER"}),t.next=4,a.a.post("app.php?a=verifyRegcode&univcode="+c.univ.funivcode+"&data="+JSON.stringify(e));case 4:u=t.sent,r({type:"UNSET_LOADER"}),-1===u.data.error_code&&(s={header:"Error",content:u.data.data.msg},r(Object(o.A)(s))),0===u.data.error_code&&(d={header:"Success",content:u.data.data.msg},r(Object(o.A)(d)));case 8:case"end":return t.stop()}},t)}));return function(e,r){return t.apply(this,arguments)}}()},y=function(e,t,r,c){return function(){var u=Object(n.a)(i().mark(function n(u,s){var d,l,p;return i().wrap(function(n){for(;;)switch(n.prev=n.next){case 0:return d=s(),u({type:"SET_LOADER"}),n.next=4,a.a.post("app.php?a=decodingData&univcode="+d.univ.funivcode+"&qpcode="+e+"&typ="+t+"&from="+r+"&to="+c);case 4:if(l=n.sent,u({type:"UNSET_LOADER"}),-1!==l.data.error_code){n.next=13;break}return p={header:"Error",content:l.data.data.msg},u({type:"CLEAR_DECODE_DATA",payload:l.data}),u(Object(o.A)(p)),n.abrupt("return");case 13:u({type:"GET_DECODE_DATA",payload:l.data});case 14:case"end":return n.stop()}},n)}));return function(e,t){return u.apply(this,arguments)}}()},b=function(e,t,r){return function(){var c=Object(n.a)(i().mark(function n(c,u){var s,d,l,p;return i().wrap(function(n){for(;;)switch(n.prev=n.next){case 0:return s=u(),c({type:"SET_LOADER"}),n.next=4,a.a.post("app.php?a=saveVerifyDecode&univcode="+s.univ.funivcode+"&mob="+s.user.fmobileno,{data:{qpcode:e,userid:r,table:t}});case 4:d=n.sent,c({type:"UNSET_LOADER"}),-1===d.data.error_code&&(l={header:"Error",content:d.data.data.msg},c(Object(o.A)(l))),0===d.data.error_code&&(p={header:"Success",content:d.data.data.msg},c(Object(o.A)(p)));case 8:case"end":return n.stop()}},n)}));return function(e,t){return c.apply(this,arguments)}}()},g=function(e,t,r){return function(){var c=Object(n.a)(i().mark(function n(c,u){var s,d,l;return i().wrap(function(n){for(;;)switch(n.prev=n.next){case 0:return s=u(),c({type:"SET_LOADER"}),n.next=4,a.a.post("app.php?a=getDecodeDiff&univcode="+s.univ.funivcode+"&board="+e+"&qpcode="+t+"&type="+r);case 4:if(d=n.sent,c({type:"UNSET_LOADER"}),-1!==d.data.error_code){n.next=13;break}return l={header:"Error",content:d.data.data.msg},c({type:"CLEAR_DECODE_DIFF",payload:d.data}),c(Object(o.A)(l)),n.abrupt("return");case 13:c({type:"GET_DECODE_DIFF",payload:d.data});case 14:case"end":return n.stop()}},n)}));return function(e,t){return c.apply(this,arguments)}}()},m=function(e,t,r,c,u,s,d,l){return function(){var p=Object(n.a)(i().mark(function n(p,f){var h,v,y;return i().wrap(function(n){for(;;)switch(n.prev=n.next){case 0:return h=f(),p({type:"SET_LOADER"}),n.next=4,a.a.post("app.php?a=saveUpdatedRegAnsNo&univcode="+h.univ.funivcode+"®code="+e+"&qpcode="+t+"®1="+r+"&ans1="+c+"®2="+u+"&ans2="+s+"&user="+d+"&type="+l);case 4:if(v=n.sent,p({type:"UNSET_LOADER"}),-1!==v.data.error_code){n.next=13;break}return y={header:"Error",content:v.data.data.msg},p({type:"CLEAR_SAVE_DECODE_DIFF",payload:v.data}),p(Object(o.A)(y)),n.abrupt("return");case 13:p({type:"SAVE_DECODE_DIFF",payload:v.data});case 14:case"end":return n.stop()}},n)}));return function(e,t){return p.apply(this,arguments)}}()},E=function(e,t,r,o){return function(){var c=Object(n.a)(i().mark(function n(c,u){var s,d;return i().wrap(function(n){for(;;)switch(n.prev=n.next){case 0:return s=u(),c({type:"SET_LOADER"}),n.next=4,a.a.post("app.php?a=getTdvsCountData&univcode="+s.univ.funivcode+"&entry="+e+"&status="+t+"&board="+r+"&qpcode="+o);case 4:if(d=n.sent,c({type:"UNSET_LOADER"}),-1!==d.data.error_code){n.next=12;break}return{header:"Error",content:d.data.data.msg},c({type:"CLEAR_TDVS_DECODING_COUNT",payload:d.data}),n.abrupt("return");case 12:c({type:"TDVS_DECODING_COUNT",payload:d.data});case 13:case"end":return n.stop()}},n)}));return function(e,t){return c.apply(this,arguments)}}()},w=function(e,t,r){return function(){var c=Object(n.a)(i().mark(function n(c,u){var s,d,l,p;return i().wrap(function(n){for(;;)switch(n.prev=n.next){case 0:return s=u(),c({type:"SET_LOADER"}),n.next=4,a.a.post("app.php?a=releaseDecodeData&univcode="+s.univ.funivcode+"&entry="+r+"&board="+e+"&qpcode="+t);case 4:if(d=n.sent,c({type:"UNSET_LOADER"}),0!==d.data.error_code){n.next=12;break}return l={header:"Success",content:"Released Successfully"},c(Object(o.A)(l)),n.abrupt("return");case 12:return p={header:"Error",content:"Released Failed"},c(Object(o.A)(p)),n.abrupt("return");case 15:case"end":return n.stop()}},n)}));return function(e,t){return c.apply(this,arguments)}}()}},305:function(e,t,r){"use strict";r(288);var n=r(270),a=r.n(n),o=r(268),c=r.n(o),i=r(2),u=r.n(i),s=r(349),d=r(613),l=r(611),p=r(289);function f(e){var t=e.centered,r=e.children,n=e.className,o=e.color,i=e.columns,p=e.divided,h=e.only,v=e.reversed,y=e.stretched,b=e.textAlign,g=e.verticalAlign,m=c()(o,Object(s.a)(t,"centered"),Object(s.a)(p,"divided"),Object(s.a)(y,"stretched"),Object(s.c)(h,"only"),Object(s.c)(v,"reversed"),Object(s.d)(b),Object(s.f)(g),Object(s.g)(i,"column",!0),"row",n),E=Object(d.a)(f,e),w=Object(l.a)(f,e);return u.a.createElement(w,a()({},E,{className:m}),r)}f.handledProps=["as","centered","children","className","color","columns","divided","only","reversed","stretched","textAlign","verticalAlign"],f.propTypes={};var h=f;function v(e){var t=e.celled,r=e.centered,n=e.children,o=e.className,i=e.columns,p=e.container,f=e.divided,h=e.doubling,y=e.inverted,b=e.padded,g=e.relaxed,m=e.reversed,E=e.stackable,w=e.stretched,O=e.textAlign,j=e.verticalAlign,x=c()("ui",Object(s.a)(r,"centered"),Object(s.a)(p,"container"),Object(s.a)(h,"doubling"),Object(s.a)(y,"inverted"),Object(s.a)(E,"stackable"),Object(s.a)(w,"stretched"),Object(s.b)(t,"celled"),Object(s.b)(f,"divided"),Object(s.b)(b,"padded"),Object(s.b)(g,"relaxed"),Object(s.c)(m,"reversed"),Object(s.d)(O),Object(s.f)(j),Object(s.g)(i,"column",!0),"grid",o),_=Object(d.a)(v,e),k=Object(l.a)(v,e);return u.a.createElement(k,a()({},_,{className:x}),n)}v.handledProps=["as","celled","centered","children","className","columns","container","divided","doubling","inverted","padded","relaxed","reversed","stackable","stretched","textAlign","verticalAlign"],v.Column=p.a,v.Row=h,v.propTypes={};t.a=v},316:function(e,t,r){"use strict";var n=r(270),a=r.n(n),o=(r(277),r(268)),c=r.n(o),i=r(2),u=r.n(i),s=r(349),d=r(613),l=r(611),p=r(269);function f(e){var t=e.children,r=e.className,n=e.compact,o=e.content,i=e.horizontal,h=e.piled,v=e.raised,y=e.size,b=e.stacked,g=c()("ui",y,Object(s.a)(n,"compact"),Object(s.a)(i,"horizontal"),Object(s.a)(h,"piled"),Object(s.a)(v,"raised"),Object(s.a)(b,"stacked"),"segments",r),m=Object(d.a)(f,e),E=Object(l.a)(f,e);return u.a.createElement(E,a()({},m,{className:g}),p.a.isNil(t)?o:t)}f.handledProps=["as","children","className","compact","content","horizontal","piled","raised","size","stacked"],f.propTypes={};var h=f;function v(e){var t=e.children,r=e.className,n=e.content,o=c()("inline",r),i=Object(d.a)(v,e),s=Object(l.a)(v,e);return u.a.createElement(s,a()({},i,{className:o}),p.a.isNil(t)?n:t)}v.handledProps=["as","children","className","content"],v.propTypes={};var y=v;function b(e){var t=e.attached,r=e.basic,n=e.children,o=e.circular,i=e.className,f=e.clearing,h=e.color,v=e.compact,y=e.content,g=e.disabled,m=e.floated,E=e.inverted,w=e.loading,O=e.placeholder,j=e.padded,x=e.piled,_=e.raised,k=e.secondary,S=e.size,D=e.stacked,L=e.tertiary,A=e.textAlign,N=e.vertical,T=c()("ui",h,S,Object(s.a)(r,"basic"),Object(s.a)(o,"circular"),Object(s.a)(f,"clearing"),Object(s.a)(v,"compact"),Object(s.a)(g,"disabled"),Object(s.a)(E,"inverted"),Object(s.a)(w,"loading"),Object(s.a)(O,"placeholder"),Object(s.a)(x,"piled"),Object(s.a)(_,"raised"),Object(s.a)(k,"secondary"),Object(s.a)(D,"stacked"),Object(s.a)(L,"tertiary"),Object(s.a)(N,"vertical"),Object(s.b)(t,"attached"),Object(s.b)(j,"padded"),Object(s.d)(A),Object(s.e)(m,"floated"),"segment",i),R=Object(d.a)(b,e),C=Object(l.a)(b,e);return u.a.createElement(C,a()({},R,{className:T}),p.a.isNil(n)?y:n)}b.handledProps=["as","attached","basic","children","circular","className","clearing","color","compact","content","disabled","floated","inverted","loading","padded","piled","placeholder","raised","secondary","size","stacked","tertiary","textAlign","vertical"],b.Group=h,b.Inline=y,b.propTypes={};t.a=b}}]);
//# sourceMappingURL=53.2d8bfb90.chunk.js.map
|