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


Current Path : /var/www/egov/build/static/js/
Upload File :
Current File : /var/www/egov/build/static/js/275.7ff57df6.chunk.js

(window.webpackJsonp=window.webpackJsonp||[]).push([[275,307],{1276:function(t,e,r){"use strict";r.r(e);var n=r(3),a=r(68),o=r(100),i=r(101),c=r(103),l=r(102),u=r(104),s=r(2),p=r.n(s),h=r(1377),f=r(1343),d=r(272),y=r(1335),v=r(1337),m=r(941),b=r(300),g=r(105),w=r(274);function E(){E=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,a=Object.defineProperty||function(t,e,r){t[e]=r.value},o="function"==typeof Symbol?Symbol:{},i=o.iterator||"@@iterator",c=o.asyncIterator||"@@asyncIterator",l=o.toStringTag||"@@toStringTag";function u(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{u({},"")}catch(t){u=function(t,e,r){return t[e]=r}}function s(t,e,r,n){var o=e&&e.prototype instanceof m?e:m,i=Object.create(o.prototype),c=new D(n||[]);return a(i,"_invoke",{value:_(t,r,c)}),i}function p(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=s;var h="suspendedStart",f="suspendedYield",d="executing",y="completed",v={};function m(){}function b(){}function g(){}var w={};u(w,i,function(){return this});var x=Object.getPrototypeOf,O=x&&x(x(S([])));O&&O!==r&&n.call(O,i)&&(w=O);var j=g.prototype=m.prototype=Object.create(w);function L(t){["next","throw","return"].forEach(function(e){u(t,e,function(t){return this._invoke(e,t)})})}function k(t,e){function r(a,o,i,c){var l=p(t[a],t,o);if("throw"!==l.type){var u=l.arg,s=u.value;return s&&"object"==typeof s&&n.call(s,"__await")?e.resolve(s.__await).then(function(t){r("next",t,i,c)},function(t){r("throw",t,i,c)}):e.resolve(s).then(function(t){u.value=t,i(u)},function(t){return r("throw",t,i,c)})}c(l.arg)}var o;a(this,"_invoke",{value:function(t,n){function a(){return new e(function(e,a){r(t,n,e,a)})}return o=o?o.then(a,a):a()}})}function _(e,r,n){var a=h;return function(o,i){if(a===d)throw new Error("Generator is already running");if(a===y){if("throw"===o)throw i;return{value:t,done:!0}}for(n.method=o,n.arg=i;;){var c=n.delegate;if(c){var l=A(c,n);if(l){if(l===v)continue;return l}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(a===h)throw a=y,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);a=d;var u=p(e,r,n);if("normal"===u.type){if(a=n.done?y:f,u.arg===v)continue;return{value:u.arg,done:n.done}}"throw"===u.type&&(a=y,n.method="throw",n.arg=u.arg)}}}function A(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,A(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),v;var o=p(a,e.iterator,r.arg);if("throw"===o.type)return r.method="throw",r.arg=o.arg,r.delegate=null,v;var i=o.arg;return i?i.done?(r[e.resultName]=i.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,v):i:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,v)}function N(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 D(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(N,this),this.reset(!0)}function S(e){if(e||""===e){var r=e[i];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var a=-1,o=function r(){for(;++a<e.length;)if(n.call(e,a))return r.value=e[a],r.done=!1,r;return r.value=t,r.done=!0,r};return o.next=o}}throw new TypeError(typeof e+" is not iterable")}return b.prototype=g,a(j,"constructor",{value:g,configurable:!0}),a(g,"constructor",{value:b,configurable:!0}),b.displayName=u(g,l,"GeneratorFunction"),e.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===b||"GeneratorFunction"===(e.displayName||e.name))},e.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,g):(t.__proto__=g,u(t,l,"GeneratorFunction")),t.prototype=Object.create(j),t},e.awrap=function(t){return{__await:t}},L(k.prototype),u(k.prototype,c,function(){return this}),e.AsyncIterator=k,e.async=function(t,r,n,a,o){void 0===o&&(o=Promise);var i=new k(s(t,r,n,a),o);return e.isGeneratorFunction(r)?i:i.next().then(function(t){return t.done?t.value:i.next()})},L(j),u(j,l,"Generator"),u(j,i,function(){return this}),u(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=S,D.prototype={constructor:D,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 c.type="throw",c.arg=e,r.next=n,a&&(r.method="next",r.arg=t),!!a}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],c=i.completion;if("root"===i.tryLoc)return a("end");if(i.tryLoc<=this.prev){var l=n.call(i,"catchLoc"),u=n.call(i,"finallyLoc");if(l&&u){if(this.prev<i.catchLoc)return a(i.catchLoc,!0);if(this.prev<i.finallyLoc)return a(i.finallyLoc)}else if(l){if(this.prev<i.catchLoc)return a(i.catchLoc,!0)}else{if(!u)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return a(i.finallyLoc)}}}},abrupt:function(t,e){for(var r=this.tryEntries.length-1;r>=0;--r){var a=this.tryEntries[r];if(a.tryLoc<=this.prev&&n.call(a,"finallyLoc")&&this.prev<a.finallyLoc){var o=a;break}}o&&("break"===t||"continue"===t)&&o.tryLoc<=e&&e<=o.finallyLoc&&(o=null);var i=o?o.completion:{};return i.type=t,i.arg=e,o?(this.method="next",this.next=o.finallyLoc,v):this.complete(i)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),v},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),T(r),v}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var a=n.arg;T(r)}return a}}throw new Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:S(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),v}},e}var x=function(t){function e(){var t,r;Object(o.a)(this,e);for(var n=arguments.length,i=new Array(n),u=0;u<n;u++)i[u]=arguments[u];return(r=Object(c.a)(this,(t=Object(l.a)(e)).call.apply(t,[this].concat(i)))).state={board:"All",uptyp:"All",typ:"All"},r.componentDidMount=Object(a.a)(E().mark(function t(){return E().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,r.props.getBoardDet();case 2:case"end":return t.stop()}},t)})),r.apptyp=function(){var t=Object(a.a)(E().mark(function t(e,n){return E().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:r.setState({board:n.value});case 1:case"end":return t.stop()}},t)}));return function(e,r){return t.apply(this,arguments)}}(),r.uploadedDet=function(){var t=Object(a.a)(E().mark(function t(e,n){return E().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:r.setState({uptyp:n.value});case 1:case"end":return t.stop()}},t)}));return function(e,r){return t.apply(this,arguments)}}(),r.qpDettab=function(){var t=Object(a.a)(E().mark(function t(e,n){return E().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:"F"==r.state.uptyp?r.setState({typ:"All"}):r.setState({typ:n.value});case 1:case"end":return t.stop()}},t)}));return function(e,r){return t.apply(this,arguments)}}(),r.uploadedQPD=Object(a.a)(E().mark(function t(){return E().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:window.open(w.c+"uploaded_qp_det&univcode="+r.props.univ+"&board="+r.state.board+"&uptyp="+r.state.uptyp+"&typ="+r.state.typ+"&format=PDF","_blank");case 1:case"end":return t.stop()}},t)})),r.handleCancel=Object(a.a)(E().mark(function t(){return E().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:r.setState({board:"All"}),r.setState({uptyp:"All"}),r.setState({typ:"All"});case 3:case"end":return t.stop()}},t)})),r}return Object(u.a)(e,t),Object(i.a)(e,[{key:"render",value:function(){var t=this.props.boarddet,e=this.state,r=e.board,a=e.uptyp,o=e.typ,i=[{Key:1,value:"All",text:"All"}],c=[].concat(i,[{key:1,value:"T",text:"Approved"},{key:2,value:"F",text:"Not Approved"}]),l=[].concat(i,[{key:1,value:"T",text:"Uploaded"},{key:2,value:"F",text:"Not Uploaded"}]),u=t.map(function(t){return{key:t.fboardcode,value:t.fboardcode,text:t.fboardcode+"-"+t.fboardname}}),s=[].concat(i,Object(n.a)(u));return p.a.createElement("div",null,p.a.createElement(h.a,{fluid:!0},p.a.createElement(h.a.Content,null,p.a.createElement(h.a.Header,{style:{display:"flex"}},p.a.createElement("h4",null,"Question Paper Approved Details"),p.a.createElement("div",{className:"ml-auto"},p.a.createElement(f.a,{basic:!0,color:"blue",icon:"file",onClick:this.uploadedQPD,content:"Report"}),p.a.createElement(f.a,{basic:!0,color:"black",icon:"ban",onClick:this.handleCancel,content:"Cancel"}),p.a.createElement(m.a,{to:"/Dashboard"},p.a.createElement(f.a,{basic:!0,color:"red",content:"Exit",icon:"home"})))),p.a.createElement(d.a,null),p.a.createElement(h.a.Description,null,p.a.createElement(y.a.Group,null,p.a.createElement(y.a.Field,null,p.a.createElement("label",null,p.a.createElement("b",null,"Board")),p.a.createElement("label",{style:{marginLeft:"7.36rem"}},":"),p.a.createElement(v.a,{search:!0,selection:!0,style:{width:"400px"},options:s,value:r,onChange:this.apptyp,placeholder:"Board"})),p.a.createElement(y.a.Field,null,p.a.createElement("label",null,p.a.createElement("b",null,"Uploaded Type")),p.a.createElement("label",{style:{marginLeft:"3.4rem"}},":"),p.a.createElement(v.a,{search:!0,selection:!0,style:{width:"400px",marginTop:"1rem"},options:l,value:a,onChange:this.uploadedDet,placeholder:"Uploaded Type"})),p.a.createElement(y.a.Field,null,p.a.createElement("label",null,p.a.createElement("b",null,"Type")),p.a.createElement("label",{style:{marginLeft:"7.8rem"}},":"),p.a.createElement(v.a,{search:!0,selection:!0,style:{width:"400px",marginTop:"1rem"},options:c,value:o,onChange:this.qpDettab,placeholder:"Type"})))))))}}]),e}(s.Component);e.default=Object(g.b)(function(t){return{userid:t.user.fuserid,univ:t.user.fcuruniv,boarddet:t.boaddet}},{getBoardDet:b.k})(x)},272:function(t,e,r){"use strict";var n=r(270),a=r.n(n),o=r(268),i=r.n(o),c=r(2),l=r.n(c),u=r(349),s=r(613),p=r(611),h=r(269);function f(t){var e=t.children,r=t.className,n=t.clearing,o=t.content,c=t.fitted,d=t.hidden,y=t.horizontal,v=t.inverted,m=t.section,b=t.vertical,g=i()("ui",Object(u.a)(n,"clearing"),Object(u.a)(c,"fitted"),Object(u.a)(d,"hidden"),Object(u.a)(y,"horizontal"),Object(u.a)(v,"inverted"),Object(u.a)(m,"section"),Object(u.a)(b,"vertical"),"divider",r),w=Object(s.a)(f,t),E=Object(p.a)(f,t);return l.a.createElement(E,a()({},w,{className:g}),h.a.isNil(e)?o:e)}f.handledProps=["as","children","className","clearing","content","fitted","hidden","horizontal","inverted","section","vertical"],f.propTypes={},e.a=f}}]);
//# sourceMappingURL=275.7ff57df6.chunk.js.map