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


Current Path : /var/www/egov/build/static/js/
Upload File :
Current File : /var/www/egov/build/static/js/265.3a63a14d.chunk.js

(window.webpackJsonp=window.webpackJsonp||[]).push([[265,307],{1424:function(t,e,r){"use strict";r.r(e);var n=r(68),o=r(100),a=r(101),i=r(103),c=r(102),u=r(104),l=r(2),s=r.n(l),h=r(105),f=r(941),p=r(267),d=r(1377),y=r(949),v=r(1343),m=r(272),g=r(1335),E=r(1337),w=r(271);function b(){b=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},a="function"==typeof Symbol?Symbol:{},i=a.iterator||"@@iterator",c=a.asyncIterator||"@@asyncIterator",u=a.toStringTag||"@@toStringTag";function l(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,r){return t[e]=r}}function s(t,e,r,n){var a=e&&e.prototype instanceof m?e:m,i=Object.create(a.prototype),c=new N(n||[]);return o(i,"_invoke",{value:k(t,r,c)}),i}function h(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=s;var f="suspendedStart",p="suspendedYield",d="executing",y="completed",v={};function m(){}function g(){}function E(){}var w={};l(w,i,function(){return this});var x=Object.getPrototypeOf,O=x&&x(x(P([])));O&&O!==r&&n.call(O,i)&&(w=O);var L=E.prototype=m.prototype=Object.create(w);function j(t){["next","throw","return"].forEach(function(e){l(t,e,function(t){return this._invoke(e,t)})})}function _(t,e){function r(o,a,i,c){var u=h(t[o],t,a);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,i,c)},function(t){r("throw",t,i,c)}):e.resolve(s).then(function(t){l.value=t,i(l)},function(t){return r("throw",t,i,c)})}c(u.arg)}var a;o(this,"_invoke",{value:function(t,n){function o(){return new e(function(e,o){r(t,n,e,o)})}return a=a?a.then(o,o):o()}})}function k(e,r,n){var o=f;return function(a,i){if(o===d)throw new Error("Generator is already running");if(o===y){if("throw"===a)throw i;return{value:t,done:!0}}for(n.method=a,n.arg=i;;){var c=n.delegate;if(c){var u=S(c,n);if(u){if(u===v)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===f)throw o=y,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=d;var l=h(e,r,n);if("normal"===l.type){if(o=n.done?y:p,l.arg===v)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(o=y,n.method="throw",n.arg=l.arg)}}}function S(e,r){var n=r.method,o=e.iterator[n];if(o===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")),v;var a=h(o,e.iterator,r.arg);if("throw"===a.type)return r.method="throw",r.arg=a.arg,r.delegate=null,v;var i=a.arg;return i?i.done?(r[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 D(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 A(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function N(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(D,this),this.reset(!0)}function P(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 o=-1,a=function r(){for(;++o<e.length;)if(n.call(e,o))return r.value=e[o],r.done=!1,r;return r.value=t,r.done=!0,r};return a.next=a}}throw new TypeError(typeof e+" is not iterable")}return g.prototype=E,o(L,"constructor",{value:E,configurable:!0}),o(E,"constructor",{value:g,configurable:!0}),g.displayName=l(E,u,"GeneratorFunction"),e.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===g||"GeneratorFunction"===(e.displayName||e.name))},e.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,E):(t.__proto__=E,l(t,u,"GeneratorFunction")),t.prototype=Object.create(L),t},e.awrap=function(t){return{__await:t}},j(_.prototype),l(_.prototype,c,function(){return this}),e.AsyncIterator=_,e.async=function(t,r,n,o,a){void 0===a&&(a=Promise);var i=new _(s(t,r,n,o),a);return e.isGeneratorFunction(r)?i:i.next().then(function(t){return t.done?t.value:i.next()})},j(L),l(L,u,"Generator"),l(L,i,function(){return this}),l(L,"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=P,N.prototype={constructor:N,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(A),!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 o(n,o){return c.type="throw",c.arg=e,r.next=n,o&&(r.method="next",r.arg=t),!!o}for(var a=this.tryEntries.length-1;a>=0;--a){var i=this.tryEntries[a],c=i.completion;if("root"===i.tryLoc)return o("end");if(i.tryLoc<=this.prev){var u=n.call(i,"catchLoc"),l=n.call(i,"finallyLoc");if(u&&l){if(this.prev<i.catchLoc)return o(i.catchLoc,!0);if(this.prev<i.finallyLoc)return o(i.finallyLoc)}else if(u){if(this.prev<i.catchLoc)return o(i.catchLoc,!0)}else{if(!l)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return o(i.finallyLoc)}}}},abrupt:function(t,e){for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var a=o;break}}a&&("break"===t||"continue"===t)&&a.tryLoc<=e&&e<=a.finallyLoc&&(a=null);var i=a?a.completion:{};return i.type=t,i.arg=e,a?(this.method="next",this.next=a.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),A(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 o=n.arg;A(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:P(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),v}},e}function x(){x=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},a="function"==typeof Symbol?Symbol:{},i=a.iterator||"@@iterator",c=a.asyncIterator||"@@asyncIterator",u=a.toStringTag||"@@toStringTag";function l(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,r){return t[e]=r}}function s(t,e,r,n){var a=e&&e.prototype instanceof m?e:m,i=Object.create(a.prototype),c=new N(n||[]);return o(i,"_invoke",{value:k(t,r,c)}),i}function h(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=s;var f="suspendedStart",p="suspendedYield",d="executing",y="completed",v={};function m(){}function g(){}function E(){}var w={};l(w,i,function(){return this});var b=Object.getPrototypeOf,O=b&&b(b(P([])));O&&O!==r&&n.call(O,i)&&(w=O);var L=E.prototype=m.prototype=Object.create(w);function j(t){["next","throw","return"].forEach(function(e){l(t,e,function(t){return this._invoke(e,t)})})}function _(t,e){function r(o,a,i,c){var u=h(t[o],t,a);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,i,c)},function(t){r("throw",t,i,c)}):e.resolve(s).then(function(t){l.value=t,i(l)},function(t){return r("throw",t,i,c)})}c(u.arg)}var a;o(this,"_invoke",{value:function(t,n){function o(){return new e(function(e,o){r(t,n,e,o)})}return a=a?a.then(o,o):o()}})}function k(e,r,n){var o=f;return function(a,i){if(o===d)throw new Error("Generator is already running");if(o===y){if("throw"===a)throw i;return{value:t,done:!0}}for(n.method=a,n.arg=i;;){var c=n.delegate;if(c){var u=S(c,n);if(u){if(u===v)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===f)throw o=y,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=d;var l=h(e,r,n);if("normal"===l.type){if(o=n.done?y:p,l.arg===v)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(o=y,n.method="throw",n.arg=l.arg)}}}function S(e,r){var n=r.method,o=e.iterator[n];if(o===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")),v;var a=h(o,e.iterator,r.arg);if("throw"===a.type)return r.method="throw",r.arg=a.arg,r.delegate=null,v;var i=a.arg;return i?i.done?(r[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 D(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 A(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function N(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(D,this),this.reset(!0)}function P(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 o=-1,a=function r(){for(;++o<e.length;)if(n.call(e,o))return r.value=e[o],r.done=!1,r;return r.value=t,r.done=!0,r};return a.next=a}}throw new TypeError(typeof e+" is not iterable")}return g.prototype=E,o(L,"constructor",{value:E,configurable:!0}),o(E,"constructor",{value:g,configurable:!0}),g.displayName=l(E,u,"GeneratorFunction"),e.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===g||"GeneratorFunction"===(e.displayName||e.name))},e.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,E):(t.__proto__=E,l(t,u,"GeneratorFunction")),t.prototype=Object.create(L),t},e.awrap=function(t){return{__await:t}},j(_.prototype),l(_.prototype,c,function(){return this}),e.AsyncIterator=_,e.async=function(t,r,n,o,a){void 0===a&&(a=Promise);var i=new _(s(t,r,n,o),a);return e.isGeneratorFunction(r)?i:i.next().then(function(t){return t.done?t.value:i.next()})},j(L),l(L,u,"Generator"),l(L,i,function(){return this}),l(L,"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=P,N.prototype={constructor:N,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(A),!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 o(n,o){return c.type="throw",c.arg=e,r.next=n,o&&(r.method="next",r.arg=t),!!o}for(var a=this.tryEntries.length-1;a>=0;--a){var i=this.tryEntries[a],c=i.completion;if("root"===i.tryLoc)return o("end");if(i.tryLoc<=this.prev){var u=n.call(i,"catchLoc"),l=n.call(i,"finallyLoc");if(u&&l){if(this.prev<i.catchLoc)return o(i.catchLoc,!0);if(this.prev<i.finallyLoc)return o(i.finallyLoc)}else if(u){if(this.prev<i.catchLoc)return o(i.catchLoc,!0)}else{if(!l)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return o(i.finallyLoc)}}}},abrupt:function(t,e){for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var a=o;break}}a&&("break"===t||"continue"===t)&&a.tryLoc<=e&&e<=a.finallyLoc&&(a=null);var i=a?a.completion:{};return i.type=t,i.arg=e,a?(this.method="next",this.next=a.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),A(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 o=n.arg;A(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:P(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),v}},e}var O=function(t){function e(){var t,r;Object(o.a)(this,e);for(var a=arguments.length,u=new Array(a),l=0;l<a;l++)u[l]=arguments[l];return(r=Object(i.a)(this,(t=Object(c.a)(e)).call.apply(t,[this].concat(u)))).state={degree:"",sem:"",examdate:"",formsubmit:!1},r.getOldQuestionPaper=Object(n.a)(x().mark(function t(){var e,n,o,a,i;return x().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(e=r.state,n=e.degree,o=e.sem,a=e.examdate,""!==n&&""!==o&&""!==a){t.next=5;break}return i={header:"Error",content:"select all the fileds"},r.props.showError(i),t.abrupt("return");case 5:return t.next=7,r.props.getOldQuestionPaper(n,o,a);case 7:r.setState({formsubmit:!0});case 8:case"end":return t.stop()}},t)})),r.downloadContent=function(){var t=Object(n.a)(x().mark(function t(e){return x().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:window.open(e);case 1:case"end":return t.stop()}},t)}));return function(e){return t.apply(this,arguments)}}(),r}return Object(u.a)(e,t),Object(a.a)(e,[{key:"componentDidMount",value:function(){this.props.StudyDegreeList()}},{key:"render",value:function(){var t=this,e=this.props.degreeList.map(function(t,e){return{key:e,value:t.fdegree,text:t.fdegree+" - "+t.fdescpn}}),r=this.props.examno.map(function(t,e){return{key:e,value:t.fexamno,text:t.fexamno+" - "+t.fexamname}}),n=this.props.examDate.map(function(t,e){return{key:e,value:t.fexamdate,text:t.fexamdate}}),o={border:"1px solid grey",borderCollapse:"collapse"};return s.a.createElement(d.a,{fluid:!0},s.a.createElement(y.a,null,s.a.createElement(d.a.Header,{style:{display:"flex"}},s.a.createElement("h4",null,"Old Question Papers"),s.a.createElement("div",{className:"ml-auto"},s.a.createElement(v.a,{basic:!0,color:"blue",icon:"ban",content:"Cancel",onClick:this.handleCancel}),s.a.createElement(f.a,{to:"/dashboard"},s.a.createElement(v.a,{basic:!0,color:"red",content:"Exit",icon:"home"})))),s.a.createElement(m.a,null),s.a.createElement(d.a.Description,{style:{height:"630px",overflowY:"auto"}},s.a.createElement(g.a,null,s.a.createElement(g.a.Group,null,s.a.createElement(g.a.Field,{width:4},s.a.createElement("label",null," Degree"),s.a.createElement(E.a,{fluid:!0,selection:!0,search:!0,value:this.state.degree,options:e,name:"deggrp",placeholder:"select degree group",onChange:function(e,r){t.setState({degree:r.value}),t.props.getOldQpExamno(r.value)}})),s.a.createElement(g.a.Field,{width:4},s.a.createElement("label",null,"Sem"),s.a.createElement(E.a,{fluid:!0,selection:!0,search:!0,value:this.state.sem,options:r,name:"sem",placeholder:"select sem",onChange:function(e,r){t.setState({sem:r.value}),t.props.getOldQpExamDate(t.state.degree,r.value)}})),s.a.createElement(g.a.Field,{width:4},s.a.createElement("label",null,"Year"),s.a.createElement(E.a,{fluid:!0,selection:!0,search:!0,value:this.state.examdate,options:n,name:"year",placeholder:"select year",onChange:function(e,r){return t.setState({examdate:r.value})}})),s.a.createElement(g.a.Field,{width:4},s.a.createElement(v.a,{basic:!0,color:"blue",style:{position:"relative",top:"23px"},onClick:function(){return t.getOldQuestionPaper()}},"Submit")))),this.state.formsubmit&&s.a.createElement("table",{width:"100%"},s.a.createElement("thead",{style:{backgroundColor:"tan",border:"1px solid grey",height:"40px",position:"sticky",top:0,zIndex:2,textAlign:"center"}},s.a.createElement("tr",{style:{height:"40px",textAlign:"center"}},s.a.createElement("th",{style:o},"Sl. No."),s.a.createElement("th",{style:o},"Subject Name"),s.a.createElement("th",{style:o},"Exam Date"),s.a.createElement("th",{style:o},"Download"))),s.a.createElement("tbody",null,this.props.getOldQPDet.length>0?this.props.getOldQPDet.map(function(e,r){return s.a.createElement("tr",{key:r,style:{height:"40px",textAlign:"center"}},s.a.createElement("td",{style:o},r+1),s.a.createElement("td",{style:{border:"1px solid grey",textAlign:"initial",paddingLeft:"10px"}},e.fsubname),s.a.createElement("td",{style:{border:"1px solid grey",textAlign:"initial",paddingLeft:"10px"}},e.fexamdate),s.a.createElement("td",{style:o},s.a.createElement(v.a,{basic:!0,icon:"download",color:"blue",onClick:function(){return t.downloadContent(e.ffilename)}},"Download")))}):s.a.createElement("tr",null,s.a.createElement("td",{colSpan:4,style:{textAlign:"center"}},"No data found")))))))}}]),e}(l.Component);e.default=Object(h.b)(function(t){return{univcode:t.univ.funivcode,collcode:t.user.fuserid,degreeList:t.oldQpDegree,examno:t.oldQpExamno,examDate:t.oldQpExamDate,getOldQPDet:t.getOldQP}},{showError:p.A,StudyDegreeList:function(){return function(){var t=Object(n.a)(b().mark(function t(e,r){var n,o,a,i,c;return b().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return n=r(),e({type:"SET_LOADER"}),o=n.user.fcollcode?n.user.fcollcode:"",t.next=5,w.a.get("/app.php?a=oldquestionpaperdegree&univcode="+n.univ.funivcode+"&fcurcollcode="+o);case 5:a=t.sent,e({type:"UNSET_LOADER"}),"object"!==typeof a.data?(i={header:"Error",content:"Something went wrong"},e(Object(p.A)(i))):-1==a.data.error_code?(c={header:"Error",content:a.data.data.msg},e(Object(p.A)(c))):e({type:"GET_OLD_QP_DEGREE",payload:a.data});case 8:case"end":return t.stop()}},t)}));return function(e,r){return t.apply(this,arguments)}}()},getOldQpExamno:function(t){return function(){var e=Object(n.a)(b().mark(function e(r,n){var o,a,i,c;return b().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return o=n(),r({type:"SET_LOADER"}),e.next=4,w.a.get("/app.php?a=getOldQpExamno&univcode="+o.univ.funivcode+"&degree="+t);case 4:a=e.sent,r({type:"UNSET_LOADER"}),"object"!==typeof a.data?(i={header:"Error",content:"Something went wrong"},r(Object(p.A)(i))):-1==a.data.error_code?(c={header:"Error",content:a.data.data.msg},r(Object(p.A)(c))):r({type:"GET_OLD_QP_EXAMNO",payload:a.data});case 7:case"end":return e.stop()}},e)}));return function(t,r){return e.apply(this,arguments)}}()},getOldQpExamDate:function(t,e){return function(){var r=Object(n.a)(b().mark(function r(n,o){var a,i,c,u;return b().wrap(function(r){for(;;)switch(r.prev=r.next){case 0:return a=o(),n({type:"SET_LOADER"}),r.next=4,w.a.get("/app.php?a=getOldQpExamDate&univcode="+a.univ.funivcode+"&degree="+t+"&sem="+e);case 4:i=r.sent,n({type:"UNSET_LOADER"}),"object"!==typeof i.data?(c={header:"Error",content:"Something went wrong"},n(Object(p.A)(c))):-1==i.data.error_code?(u={header:"Error",content:i.data.data.msg},n(Object(p.A)(u))):n({type:"GET_OLD_QP_EXAMDATE",payload:i.data});case 7:case"end":return r.stop()}},r)}));return function(t,e){return r.apply(this,arguments)}}()},getOldQuestionPaper:function(t,e,r){return function(){var o=Object(n.a)(b().mark(function n(o,a){var i,c,u,l;return b().wrap(function(n){for(;;)switch(n.prev=n.next){case 0:return i=a(),o({type:"SET_LOADER"}),n.next=4,w.a.get("/app.php?a=getOldQuestionPaper&univcode="+i.univ.funivcode+"&degree="+t+"&sem="+e+"&examdate="+r);case 4:c=n.sent,o({type:"UNSET_LOADER"}),"object"!==typeof c.data?(u={header:"Error",content:"Something went wrong"},o(Object(p.A)(u))):-1==c.data.error_code?(l={header:"Error",content:c.data.data.msg},o(Object(p.A)(l))):o({type:"GET_OLD_QP_DET",payload:c.data});case 7:case"end":return n.stop()}},n)}));return function(t,e){return o.apply(this,arguments)}}()}})(O)},272:function(t,e,r){"use strict";var n=r(270),o=r.n(n),a=r(268),i=r.n(a),c=r(2),u=r.n(c),l=r(349),s=r(613),h=r(611),f=r(269);function p(t){var e=t.children,r=t.className,n=t.clearing,a=t.content,c=t.fitted,d=t.hidden,y=t.horizontal,v=t.inverted,m=t.section,g=t.vertical,E=i()("ui",Object(l.a)(n,"clearing"),Object(l.a)(c,"fitted"),Object(l.a)(d,"hidden"),Object(l.a)(y,"horizontal"),Object(l.a)(v,"inverted"),Object(l.a)(m,"section"),Object(l.a)(g,"vertical"),"divider",r),w=Object(s.a)(p,t),b=Object(h.a)(p,t);return u.a.createElement(b,o()({},w,{className:E}),f.a.isNil(e)?a:e)}p.handledProps=["as","children","className","clearing","content","fitted","hidden","horizontal","inverted","section","vertical"],p.propTypes={},e.a=p}}]);
//# sourceMappingURL=265.3a63a14d.chunk.js.map