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 : 18.223.108.134


Current Path : /var/www/egov/build/static/js/
Upload File :
Current File : /var/www/egov/build/static/js/177.470de0fe.chunk.js

(window.webpackJsonp=window.webpackJsonp||[]).push([[177,307],{1299:function(e,t,r){"use strict";r.r(t);var n=r(3),a=r(68),o=r(100),c=r(101),i=r(103),u=r(102),s=r(104),d=r(2),l=r.n(d),p=r(941),f=r(105),h=r(1377),y=r(1343),v=r(272),g=r(1335),m=r(1337),b=r(1155),E=r(303),w=r(267);r(271);function x(){x=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 g?t:g,c=Object.create(o.prototype),i=new k(n||[]);return a(c,"_invoke",{value:L(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",y="completed",v={};function g(){}function m(){}function b(){}var E={};s(E,c,function(){return this});var w=Object.getPrototypeOf,O=w&&w(w(C([])));O&&O!==r&&n.call(O,c)&&(E=O);var D=b.prototype=g.prototype=Object.create(E);function S(e){["next","throw","return"].forEach(function(t){s(e,t,function(e){return this._invoke(t,e)})})}function _(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 L(t,r,n){var a=p;return function(o,c){if(a===h)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=A(i,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=h;var s=l(t,r,n);if("normal"===s.type){if(a=n.done?y:f,s.arg===v)continue;return{value:s.arg,done:n.done}}"throw"===s.type&&(a=y,n.method="throw",n.arg=s.arg)}}}function A(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,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 o=l(a,t.iterator,r.arg);if("throw"===o.type)return r.method="throw",r.arg=o.arg,r.delegate=null,v;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,v):c:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,v)}function j(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 k(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(j,this),this.reset(!0)}function C(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=b,a(D,"constructor",{value:b,configurable:!0}),a(b,"constructor",{value:m,configurable:!0}),m.displayName=s(b,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,b):(e.__proto__=b,s(e,u,"GeneratorFunction")),e.prototype=Object.create(D),e},t.awrap=function(e){return{__await:e}},S(_.prototype),s(_.prototype,i,function(){return this}),t.AsyncIterator=_,t.async=function(e,r,n,a,o){void 0===o&&(o=Promise);var c=new _(d(e,r,n,a),o);return t.isGeneratorFunction(r)?c:c.next().then(function(e){return e.done?e.value:c.next()})},S(D),s(D,u,"Generator"),s(D,c,function(){return this}),s(D,"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=C,k.prototype={constructor:k,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 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,v):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),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 a=n.arg;T(r)}return a}}throw new Error("illegal catch attempt")},delegateYield:function(t,r,n){return this.delegate={iterator:C(t),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=e),v}},t}var O=function(e){function t(){var e,r;Object(o.a)(this,t);for(var c=arguments.length,s=new Array(c),d=0;d<c;d++)s[d]=arguments[d];return(r=Object(i.a)(this,(e=Object(u.a)(t)).call.apply(e,[this].concat(s)))).state={board:"",qpCode:"",frmsubmit:!1,table:[],decodeVerify:"",typeDecode:"All",rangfrm:"0",rangto:"500"},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.getTDVSBoardDetails();case 2:case"end":return e.stop()}},e)})),r.boardDropDownChange=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 r.setState({board:n.value}),e.next=3,r.props.getTdvsQPDetails(n.value);case 3:r.setState({qpCode:""}),r.setState({table:[]}),r.setState({typeDecode:"All"}),r.setState({rangfrm:"0"}),r.setState({rangto:"500"}),r.setState({frmsubmit:!1});case 9:case"end":return e.stop()}},e)}));return function(t,r){return e.apply(this,arguments)}}(),r.qpDropDownChange=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({qpCode:n.value}),r.setState({table:[]}),r.setState({typeDecode:"All"}),r.setState({rangfrm:"0"}),r.setState({rangto:"500"}),r.setState({frmsubmit:!1});case 6:case"end":return e.stop()}},e)}));return function(t,r){return e.apply(this,arguments)}}(),r.typOfDecode=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({typeDecode:n.value}),r.setState({rangfrm:"0"}),r.setState({rangto:"500"}),r.setState({frmsubmit:!1});case 4:case"end":return e.stop()}},e)}));return function(t,r){return e.apply(this,arguments)}}(),r.verifyDecoding=Object(a.a)(x().mark(function e(){var t,n,a,o,c;return x().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(t=r.state,n=t.qpCode,a=t.typeDecode,o=t.rangfrm,c=t.rangto,""!=n){e.next=4;break}return alert("Select QP Code"),e.abrupt("return");case 4:if(""!=a){e.next=7;break}return alert("Select Type Of Decoding"),e.abrupt("return");case 7:if(""!=o){e.next=10;break}return alert("Enter Range From"),e.abrupt("return");case 10:if(""!=c){e.next=13;break}return alert("Enter Range to"),e.abrupt("return");case 13:return e.next=15,r.props.getDecodingData(n,a,o,c);case 15:r.setState({frmsubmit:!0}),r.setState({table:r.props.decode});case 17:case"end":return e.stop()}},e)})),r.handleCheckBox=function(e,t){var a=r.state.table.map(function(r,n){return r.fregcode===t.fregcode?(e.target.checked?r.fverifystatus="T":r.fverifystatus="F",r):r});r.setState({table:Object(n.a)(a)})},r.verifyedDecode=Object(a.a)(x().mark(function e(){var t,n,a,o,c,i;return x().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(t=r.state,n=t.qpCode,a=t.typeDecode,o=t.rangfrm,c=t.rangto,t.table,""!=n){e.next=4;break}return alert("Select QP Code"),e.abrupt("return");case 4:if(""!=a){e.next=7;break}return alert("Select Type Of Decoding"),e.abrupt("return");case 7:if(""!=o){e.next=10;break}return alert("Enter Range From"),e.abrupt("return");case 10:if(""!=c){e.next=13;break}return alert("Enter Range to"),e.abrupt("return");case 13:return i=[],r.state.table.map(function(e,t){"T"!==e.fverifystatus&&"F"!==e.fverifystatus||i.push(e)}),e.next=17,r.props.saveVerifyDecode(n,i,r.props.user);case 17:case"end":return e.stop()}},e)})),r.handleCancel=Object(a.a)(x().mark(function e(){return x().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:r.setState({board:""}),r.setState({qpCode:""}),r.setState({typeDecode:"All"}),r.setState({frmsubmit:!1}),r.setState({rangfrm:"0"}),r.setState({rangto:"500"});case 6:case"end":return e.stop()}},e)})),r}return Object(s.a)(t,e),Object(c.a)(t,[{key:"render",value:function(){var e=this,t=this.state,r=t.board,n=t.qpCode,a=t.frmsubmit,o=t.typeDecode,c=t.rangfrm,i=t.rangto,u=this.props.tdvsBoardDet.map(function(e,t){return{key:t,value:"".concat(e.fboard),text:"".concat(e.fboard," - ").concat(e.fboardname)}}),s=this.props.qpcode.map(function(e,t){return{key:t,value:"".concat(e.fqpcode),text:"".concat(e.fqpcode," - ").concat(e.fsubname)}});return l.a.createElement("div",{className:"animated fadeIn"},l.a.createElement(h.a,{fluid:!0},l.a.createElement(h.a.Content,null,l.a.createElement(h.a.Header,{style:{display:"flex"}},l.a.createElement("h4",null,"TDVS Decoding Verification"),l.a.createElement("div",{className:"ml-auto"},l.a.createElement(y.a,{basic:!0,color:"green",icon:"save",onClick:this.verifyedDecode,content:"Save"}),l.a.createElement(y.a,{basic:!0,color:"black",icon:"ban",onClick:this.handleCancel,content:"Cancel"}),l.a.createElement(p.a,{to:"/dashboard"},l.a.createElement(y.a,{basic:!0,color:"red",content:"Exit",icon:"home"})))),l.a.createElement(v.a,null),l.a.createElement(h.a.Description,{style:{overflowY:"auto",height:"700px"}},l.a.createElement(g.a,null,l.a.createElement(g.a.Group,null,l.a.createElement(g.a.Field,{width:6},l.a.createElement("label",null,"Board"),l.a.createElement(m.a,{openOnFocus:!0,fluid:!0,search:!0,selection:!0,value:r,options:u,allowAdditions:!0,placeholder:"Select Board",onChange:this.boardDropDownChange,autoFocus:!0}))),l.a.createElement(g.a.Group,null,l.a.createElement(g.a.Field,{width:6},l.a.createElement("label",null,"QP Code"),l.a.createElement(m.a,{fluid:!0,search:!0,selection:!0,value:n,options:s,allowAdditions:!0,placeholder:"Select QP Code",onChange:this.qpDropDownChange}))),l.a.createElement(g.a.Group,null,l.a.createElement(g.a.Field,{width:6},l.a.createElement("label",null,"Type"),l.a.createElement(m.a,{fluid:!0,search:!0,selection:!0,value:o,options:[{key:"All",value:"All",text:"All"},{key:"Completed",value:"C",text:"Completed"},{key:"Pending",value:"P",text:"Pending"}],allowAdditions:!0,onChange:this.typOfDecode}))),l.a.createElement(g.a.Group,null,l.a.createElement(g.a.Field,null,l.a.createElement("label",null,"Limit of Reg. Code"),l.a.createElement("div",null,l.a.createElement(b.a,{style:{width:"14.4rem"},placeholder:"Range From",value:c,onChange:function(t,r){return e.setState({rangfrm:r.value})}}),l.a.createElement(b.a,{width:2,style:{width:"14.4rem",marginLeft:"1rem"},placeholder:"Range To",value:i,onChange:function(t,r){return e.setState({rangto:r.value})}})))),l.a.createElement(y.a,{color:"blue",onClick:this.verifyDecoding},"Submit")),a?l.a.createElement("div",{style:{width:"100%",height:"550px",overflowY:"auto",marginTop:"4px"}},l.a.createElement("table",{style:{width:"100%",border:"1px solid"}},l.a.createElement("thead",{style:{backgroundColor:"#1e7f91",color:"white",height:"40px",position:"sticky",top:0}},l.a.createElement("tr",null,l.a.createElement("td",{colSpan:6},l.a.createElement("input",{placeholder:"Search...",onChange:function(t){e.setState({decodeVerify:t.target.value})},value:this.state.decodeVerify,style:{width:"100%",padding:"5px",margin:"10px 0",borderRadius:"15px"}}))),l.a.createElement("tr",null,l.a.createElement("th",{style:{border:"1px solid",textAlign:"center",width:"5%",borderTop:"1px solid"}},"Sl. No."),l.a.createElement("th",{style:{borderBottom:"1px solid",borderRight:"1px solid",textAlign:"center",width:"15%"}},"Reg. Code."),l.a.createElement("th",{style:{borderBottom:"1px solid",borderRight:"1px solid",textAlign:"center",width:"15%"}},"Reg. No."),l.a.createElement("th",{style:{borderBottom:"1px solid",borderRight:"1px solid",textAlign:"center",width:"15%"}},"Answer Booklet No."),l.a.createElement("th",{style:{borderBottom:"1px solid",borderRight:"1px solid",width:"40%"}},"Student Name"),l.a.createElement("th",{style:{borderBottom:"1px solid",borderRight:"1px solid",textAlign:"center",width:"10%"}},"Verifiy"))),l.a.createElement("tbody",null,this.state.table.filter(function(t){return t.fregcode.toLowerCase().includes(e.state.decodeVerify.toLowerCase())||t.fansbook.toLowerCase().includes(e.state.decodeVerify.toLowerCase())||t.fregno.toLowerCase().includes(e.state.decodeVerify.toLowerCase())}).map(function(t,r){var n="https://answer-booklets.s3.ap-south-1.amazonaws.com/"+t.ffilepath;return l.a.createElement("tr",{key:r},l.a.createElement("td",{style:{border:"1px solid",textAlign:"center",width:"5%",height:"30px"}},r+1),l.a.createElement("td",{style:{borderBottom:"1px solid",borderRight:"1px solid",textAlign:"center",width:"15%",height:"30px"}},l.a.createElement("a",{href:n,target:"_blank",rel:"noopener noreferrer"},t.fregcode)),l.a.createElement("td",{style:{borderBottom:"1px solid",borderRight:"1px solid",textAlign:"center",width:"15%",height:"30px"}},t.fregno),l.a.createElement("td",{style:{borderBottom:"1px solid",borderRight:"1px solid",textAlign:"center",width:"15%",height:"30px",paddingLeft:"10px"}},t.fansbook),l.a.createElement("td",{style:{borderBottom:"1px solid",borderRight:"1px solid",paddingLeft:"10px",width:"35%",height:"40px"}},t.fname),l.a.createElement("td",{style:{borderBottom:"1px solid",borderRight:"1px solid",textAlign:"center",width:"10%",height:"30px"}},l.a.createElement("input",{type:"checkbox",name:"status",checked:"T"==t.fverifystatus,onChange:function(r){return e.handleCheckBox(r,t)}})))})))):null))))}}]),t}(d.Component);t.default=Object(f.b)(function(e){return{univ:e.univ,user:e.user.fuserid,tdvsBoardDet:e.tdvsBoard,qpcode:e.qpDet,decode:e.decodedata}},{showError:w.A,getTDVSBoardDetails:E.d,getTdvsQPDetails:E.h,getDecodingData:E.b,saveVerifyDecode:E.l})(O)},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,y=e.horizontal,v=e.inverted,g=e.section,m=e.vertical,b=c()("ui",Object(s.a)(n,"clearing"),Object(s.a)(i,"fitted"),Object(s.a)(h,"hidden"),Object(s.a)(y,"horizontal"),Object(s.a)(v,"inverted"),Object(s.a)(g,"section"),Object(s.a)(m,"vertical"),"divider",r),E=Object(d.a)(f,e),w=Object(l.a)(f,e);return u.a.createElement(w,a()({},E,{className:b}),p.a.isNil(t)?o:t)}f.handledProps=["as","children","className","clearing","content","fitted","hidden","horizontal","inverted","section","vertical"],f.propTypes={},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 y}),r.d(t,"b",function(){return v}),r.d(t,"l",function(){return g}),r.d(t,"a",function(){return m}),r.d(t,"k",function(){return b}),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 m?t:m,c=Object.create(o.prototype),i=new k(n||[]);return a(c,"_invoke",{value:L(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",y="executing",v="completed",g={};function m(){}function b(){}function E(){}var w={};d(w,c,function(){return this});var x=Object.getPrototypeOf,O=x&&x(x(C([])));O&&O!==r&&n.call(O,c)&&(w=O);var D=E.prototype=m.prototype=Object.create(w);function S(e){["next","throw","return"].forEach(function(t){d(e,t,function(e){return this._invoke(t,e)})})}function _(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 L(t,r,n){var a=f;return function(o,c){if(a===y)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=A(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===f)throw a=v,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);a=y;var s=p(t,r,n);if("normal"===s.type){if(a=n.done?v:h,s.arg===g)continue;return{value:s.arg,done:n.done}}"throw"===s.type&&(a=v,n.method="throw",n.arg=s.arg)}}}function A(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,A(t,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),g;var o=p(a,t.iterator,r.arg);if("throw"===o.type)return r.method="throw",r.arg=o.arg,r.delegate=null,g;var 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,g):c:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,g)}function j(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 k(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(j,this),this.reset(!0)}function C(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 b.prototype=E,a(D,"constructor",{value:E,configurable:!0}),a(E,"constructor",{value:b,configurable:!0}),b.displayName=d(E,s,"GeneratorFunction"),t.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===b||"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(D),e},t.awrap=function(e){return{__await:e}},S(_.prototype),d(_.prototype,u,function(){return this}),t.AsyncIterator=_,t.async=function(e,r,n,a,o){void 0===o&&(o=Promise);var c=new _(l(e,r,n,a),o);return t.isGeneratorFunction(r)?c:c.next().then(function(e){return e.done?e.value:c.next()})},S(D),d(D,s,"Generator"),d(D,c,function(){return this}),d(D,"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=C,k.prototype={constructor:k,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 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,g):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),g},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),T(r),g}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var a=n.arg;T(r)}return a}}throw new Error("illegal catch attempt")},delegateYield:function(t,r,n){return this.delegate={iterator:C(t),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=e),g}},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+"&deggrp="+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+"&deggrp="+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+"&regno="+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,y){var v,g,m,b;return i().wrap(function(n){for(;;)switch(n.prev=n.next){case 0:return v=y(),h({type:"SET_LOADER"}),n.next=4,a.a.post("app.php?a=saveTDVSDecoding&univcode="+v.univ.funivcode+"&regcode="+e+"&ansbook="+t+"&qpcode="+r+"&regno="+c+"&user="+u+"&rejected="+s+"&remarks="+d+"&enter="+l+"&fstudid="+p+"&fregno="+f);case 4:g=n.sent,h({type:"UNSET_LOADER"}),-1===g.data.error_code&&(m={header:"Error",content:g.data.data.msg},h(Object(o.A)(m))),0===g.data.error_code&&(b={header:"Success",content:g.data.data.msg},h(Object(o.A)(b)));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+"&deggrp="+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)}}()},y=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)}}()},v=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)}}()},g=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)}}()},m=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)}}()},b=function(e,t,r,c,u,s,d,l){return function(){var p=Object(n.a)(i().mark(function n(p,f){var h,y,v;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+"&regcode="+e+"&qpcode="+t+"&reg1="+r+"&ans1="+c+"&reg2="+u+"&ans2="+s+"&user="+d+"&type="+l);case 4:if(y=n.sent,p({type:"UNSET_LOADER"}),-1!==y.data.error_code){n.next=13;break}return v={header:"Error",content:y.data.data.msg},p({type:"CLEAR_SAVE_DECODE_DIFF",payload:y.data}),p(Object(o.A)(v)),n.abrupt("return");case 13:p({type:"SAVE_DECODE_DIFF",payload:y.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)}}()}}}]);
//# sourceMappingURL=177.470de0fe.chunk.js.map