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


Current Path : /var/www/egov/build/static/js/
Upload File :
Current File : /var/www/egov/build/static/js/234.f0f6b5b4.chunk.js

(window.webpackJsonp=window.webpackJsonp||[]).push([[234],{1365:function(t,e,r){"use strict";r.r(e);var n=r(100),a=r(101),o=r(103),i=r(102),c=r(104),u=r(2),l=r.n(u),s=r(941),f=r(1377),h=r(1343),p=r(272),d=r(316),v=r(1374),y=r(724),m=r(381),g=r(511),E=r.n(g),w=r(105),b=r(1338),x=(r(171),function(t){function e(){var t,r;Object(n.a)(this,e);for(var a=arguments.length,c=new Array(a),u=0;u<a;u++)c[u]=arguments[u];return(r=Object(o.a)(this,(t=Object(i.a)(e)).call.apply(t,[this].concat(c)))).state={reply:"",msgsnt:!1,fclose:!1,qryclsd:!1,file:null,editor:""},r.replyTxt=function(t){r.setState({reply:t.target.value})},r}return Object(c.a)(e,t),Object(a.a)(e,[{key:"componentDidMount",value:function(){return this.state.msgsnt}},{key:"render",value:function(){var t=this.props.txns,e=this.props.header,r=this.state;r.fclose,r.msgsnt,r.qryclsd;return l.a.createElement("div",null,l.a.createElement("div",{style:{position:"sticky",top:"0",zIndex:"2",backgroundColor:"white"}},l.a.createElement(b.a,{basic:"very",celled:!0,collapsing:!0,columns:"16",padded:!0,singleLine:!0},l.a.createElement(b.a.Body,null,l.a.createElement(b.a.Row,null,l.a.createElement(b.a.Cell,null,"ID"),l.a.createElement(b.a.Cell,null,l.a.createElement("b",null,e.fgrvid)),l.a.createElement(b.a.Cell,null,"Date of Submission"),l.a.createElement(b.a.Cell,null,l.a.createElement("b",null,e.fgrvdate))),l.a.createElement(b.a.Row,null,l.a.createElement(b.a.Cell,null,"Subject"),l.a.createElement(b.a.Cell,{colspan:"3"},l.a.createElement("b",null,this.props.grv.header.fgrvsub))))),l.a.createElement(p.a,null)),l.a.createElement(f.a,{fluid:!0,color:"green"},l.a.createElement(f.a.Content,{style:{textAlign:"left"}},l.a.createElement(f.a.Header,{as:"h5"},this.props.user.fname),l.a.createElement(f.a.Meta,{as:"h6"},e.fgrvdate),l.a.createElement(f.a.Description,null,l.a.createElement("div",{dangerouslySetInnerHTML:{__html:this.props.grv.header.fgrvmsg}})))),l.a.createElement("div",{style:{overflowY:"hidden",paddingBottom:"1em"}},t.map(function(t,e){if("STUDENT"==t.ffromuser||"COLLEGE"==t.ffromuser)return l.a.createElement(f.a,{fluid:!0,key:e,color:"green"},l.a.createElement(f.a.Content,{style:{textAlign:"left"}},l.a.createElement(f.a.Header,{as:"h5"},t.ffromuser),l.a.createElement(f.a.Meta,{as:"h6"},t.fgrvtrandate),l.a.createElement(f.a.Description,null,l.a.createElement("div",{dangerouslySetInnerHTML:{__html:t.fgrvtranmsg}}),l.a.createElement("div",null,""!==t.fgrvtranfile?l.a.createElement("div",null,l.a.createElement("a",{href:"http://studentportal/universitysolutions.in/grv Query Files/".concat(t.fgrvtranfile),download:!0})):null))))})))}}]),e}(u.Component)),j=Object(w.b)(function(t){return{grv:t.grv,grvSnt:t.grvSnt,user:t.user}},{getGrv:m.b,grvSend:m.d,clrGrv:m.a})(x),L=(r(460),r(273)),O=r(68),S=r(1155),_=r(400),k=r(522),C=r(523),N=r.n(C),T=r(267);function G(){G=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",u=o.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 o=e&&e.prototype instanceof m?e:m,i=Object.create(o.prototype),c=new N(n||[]);return a(i,"_invoke",{value:S(t,r,c)}),i}function f(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",p="suspendedYield",d="executing",v="completed",y={};function m(){}function g(){}function E(){}var w={};l(w,i,function(){return this});var b=Object.getPrototypeOf,x=b&&b(b(T([])));x&&x!==r&&n.call(x,i)&&(w=x);var j=E.prototype=m.prototype=Object.create(w);function L(t){["next","throw","return"].forEach(function(e){l(t,e,function(t){return this._invoke(e,t)})})}function O(t,e){function r(a,o,i,c){var u=f(t[a],t,o);if("throw"!==u.type){var l=u.arg,s=l.value;return s&&"object"==typeof s&&n.call(s,"__await")?e.resolve(s.__await).then(function(t){r("next",t,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 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 S(e,r,n){var a=h;return function(o,i){if(a===d)throw new Error("Generator is already running");if(a===v){if("throw"===o)throw i;return{value:t,done:!0}}for(n.method=o,n.arg=i;;){var c=n.delegate;if(c){var u=_(c,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===h)throw a=v,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);a=d;var l=f(e,r,n);if("normal"===l.type){if(a=n.done?v:p,l.arg===y)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(a=v,n.method="throw",n.arg=l.arg)}}}function _(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,_(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),y;var o=f(a,e.iterator,r.arg);if("throw"===o.type)return r.method="throw",r.arg=o.arg,r.delegate=null,y;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,y):i:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,y)}function k(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 C(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function N(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(k,this),this.reset(!0)}function T(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 g.prototype=E,a(j,"constructor",{value:E,configurable:!0}),a(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(j),t},e.awrap=function(t){return{__await:t}},L(O.prototype),l(O.prototype,c,function(){return this}),e.AsyncIterator=O,e.async=function(t,r,n,a,o){void 0===o&&(o=Promise);var i=new O(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),l(j,u,"Generator"),l(j,i,function(){return this}),l(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=T,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(C),!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 u=n.call(i,"catchLoc"),l=n.call(i,"finallyLoc");if(u&&l){if(this.prev<i.catchLoc)return a(i.catchLoc,!0);if(this.prev<i.finallyLoc)return a(i.finallyLoc)}else if(u){if(this.prev<i.catchLoc)return a(i.catchLoc,!0)}else{if(!l)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,y):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),y},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),C(r),y}},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;C(r)}return a}}throw new Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:T(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),y}},e}var R=function(t){function e(){var t,r;Object(n.a)(this,e);for(var a=arguments.length,c=new Array(a),u=0;u<a;u++)c[u]=arguments[u];return(r=Object(o.a)(this,(t=Object(i.a)(e)).call.apply(t,[this].concat(c)))).state={editorState:_.EditorState.createEmpty(),subject:""},r.handleCancel=function(){r.setState({editorState:_.EditorState.createEmpty(),subject:""})},r.handleChange=function(t,e){r.setState({subject:e.value})},r.handleSend=Object(O.a)(G().mark(function t(){var e,n,a,o;return G().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(e=N()(Object(_.convertToRaw)(r.state.editorState.getCurrentContent())),n=r.state.subject,a={subject:n,body:e},""!=n){t.next=7;break}return o={header:"Error",content:"Enter the subject"},r.props.showError(o),t.abrupt("return");case 7:return t.next=9,r.props.submitquery(a);case 9:0==t.sent&&r.handleCancel();case 11:case"end":return t.stop()}},t)})),r.onEditorStateChange=function(t){r.setState({editorState:t})},r}return Object(c.a)(e,t),Object(a.a)(e,[{key:"render",value:function(){var t=this.state,e=t.editorState,r=t.subject;return l.a.createElement("div",null,l.a.createElement("div",{className:"ml-auto"},l.a.createElement(h.a,{onClick:this.handleSend,basic:!0,color:"blue",icon:"send",content:"Send"}),l.a.createElement(h.a,{basic:!0,color:"black",icon:"ban",content:"Cancel",onClick:this.handleCancel})),l.a.createElement(p.a,null),l.a.createElement(S.a,{fluid:!0,label:"Subject",placeholder:"Subject...",onChange:this.handleChange,value:r}),l.a.createElement("div",{style:{border:"1px solid grey",minHeight:"40vh",marginTop:"20px"}},l.a.createElement(k.Editor,{editorState:e,toolbarClassName:"toolbarClassName",wrapperClassName:"wrapperClassName",editorClassName:"editorClassName",toolbar:{options:["inline","blockType","fontSize","fontFamily","colorPicker","list","textAlign","remove","history"]},onEditorStateChange:this.onEditorStateChange})))}}]),e}(u.Component),A={submitquery:m.e,showError:T.A},P=Object(w.b)(function(t){return{}},A)(R),F=function(t){function e(){var t,r;Object(n.a)(this,e);for(var a=arguments.length,c=new Array(a),u=0;u<a;u++)c[u]=arguments[u];return(r=Object(o.a)(this,(t=Object(i.a)(e)).call.apply(t,[this].concat(c)))).state={new:!1},r.grvForm=function(t){r.props.getGrv(t),r.setState({grvdet:!0,curgrv:t})},r.setNewQuery=function(){r.setState({new:!0})},r.setviewQuery=function(){r.setState({new:!1})},r}return Object(c.a)(e,t),Object(a.a)(e,[{key:"componentDidMount",value:function(){this.props.getGrvList("ineedhelp")}},{key:"render",value:function(){var t=this,e=this.props.grvlst,r=Object(L.i)();return l.a.createElement("div",{className:"animated fadeIn"},l.a.createElement(f.a,{fluid:!0},l.a.createElement(f.a.Content,{style:{height:"".concat(1.15*r,"px"),overflowY:"auto"}},l.a.createElement(f.a.Header,{style:{display:"flex"}},l.a.createElement("h3",null,"Grievances"),l.a.createElement("div",{className:"ml-auto"},l.a.createElement(h.a,{basic:!0,color:"blue",onClick:this.setNewQuery,icon:"add square",content:"New"}),l.a.createElement(h.a,{basic:!0,color:"blue",onClick:this.setviewQuery,icon:"unordered list",content:"View All"}),l.a.createElement(s.a,{to:"/dashboard"},l.a.createElement(h.a,{basic:!0,color:"red",content:"Exit",icon:"home"})))),l.a.createElement(p.a,null),this.state.new?null:l.a.createElement("div",{className:"row clearfix",style:{marginRight:"0px"}},l.a.createElement("div",{className:"col-md-3"},l.a.createElement(d.a,{size:"small",position:"left",style:{overflowY:"scroll",height:"".concat(r,"px")}},l.a.createElement(v.a,{as:"h3",dividing:!0,color:"brown"},"Previous Grievances"),l.a.createElement(y.a.Group,{divided:!0},e.map(function(e,r){return l.a.createElement(y.a,{key:r},l.a.createElement(y.a.Content,null,l.a.createElement(y.a.Header,{as:"a",onClick:function(){return t.grvForm(e.fgrvid)}},e.fgrvid," - ",e.fgrvsub),l.a.createElement(y.a.Meta,null,l.a.createElement(E.a,{date:"".concat(e.fgrvdate)}))))})))),l.a.createElement("div",{className:"col-md-9"},this.state.grvdet?l.a.createElement(d.a,{style:{maxHeight:"".concat(r,"px"),overflowY:"scroll",position:"initial",paddingTop:"0em"}},l.a.createElement(j,{txns:this.props.grv.txns,header:this.props.grv.header})):null)),this.state.new?l.a.createElement(P,null):null)))}}]),e}(u.Component),I={getGrvList:m.c,getGrv:m.b};e.default=Object(w.b)(function(t){return{grvlst:t.grvlst,grv:t.grv,grv_det:t.grv_det}},I)(F)},381:function(t,e,r){"use strict";r.d(e,"c",function(){return c}),r.d(e,"b",function(){return u}),r.d(e,"e",function(){return l}),r.d(e,"d",function(){return s}),r.d(e,"a",function(){return f});var n=r(68),a=r(271),o=r(267);function i(){i=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,a=Object.defineProperty||function(t,e,r){t[e]=r.value},o="function"==typeof Symbol?Symbol:{},c=o.iterator||"@@iterator",u=o.asyncIterator||"@@asyncIterator",l=o.toStringTag||"@@toStringTag";function s(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{s({},"")}catch(t){s=function(t,e,r){return t[e]=r}}function f(t,e,r,n){var o=e&&e.prototype instanceof g?e:g,i=Object.create(o.prototype),c=new T(n||[]);return a(i,"_invoke",{value:_(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=f;var p="suspendedStart",d="suspendedYield",v="executing",y="completed",m={};function g(){}function E(){}function w(){}var b={};s(b,c,function(){return this});var x=Object.getPrototypeOf,j=x&&x(x(G([])));j&&j!==r&&n.call(j,c)&&(b=j);var L=w.prototype=g.prototype=Object.create(b);function O(t){["next","throw","return"].forEach(function(e){s(t,e,function(t){return this._invoke(e,t)})})}function S(t,e){function r(a,o,i,c){var u=h(t[a],t,o);if("throw"!==u.type){var l=u.arg,s=l.value;return s&&"object"==typeof s&&n.call(s,"__await")?e.resolve(s.__await).then(function(t){r("next",t,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 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=p;return function(o,i){if(a===v)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 u=k(c,n);if(u){if(u===m)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=v;var l=h(e,r,n);if("normal"===l.type){if(a=n.done?y:d,l.arg===m)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(a=y,n.method="throw",n.arg=l.arg)}}}function k(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,k(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),m;var o=h(a,e.iterator,r.arg);if("throw"===o.type)return r.method="throw",r.arg=o.arg,r.delegate=null,m;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,m):i:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,m)}function C(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 N(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function T(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(C,this),this.reset(!0)}function G(e){if(e||""===e){var r=e[c];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var a=-1,o=function r(){for(;++a<e.length;)if(n.call(e,a))return r.value=e[a],r.done=!1,r;return r.value=t,r.done=!0,r};return o.next=o}}throw new TypeError(typeof e+" is not iterable")}return E.prototype=w,a(L,"constructor",{value:w,configurable:!0}),a(w,"constructor",{value:E,configurable:!0}),E.displayName=s(w,l,"GeneratorFunction"),e.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===E||"GeneratorFunction"===(e.displayName||e.name))},e.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,w):(t.__proto__=w,s(t,l,"GeneratorFunction")),t.prototype=Object.create(L),t},e.awrap=function(t){return{__await:t}},O(S.prototype),s(S.prototype,u,function(){return this}),e.AsyncIterator=S,e.async=function(t,r,n,a,o){void 0===o&&(o=Promise);var i=new S(f(t,r,n,a),o);return e.isGeneratorFunction(r)?i:i.next().then(function(t){return t.done?t.value:i.next()})},O(L),s(L,l,"Generator"),s(L,c,function(){return this}),s(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=G,T.prototype={constructor:T,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(N),!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 u=n.call(i,"catchLoc"),l=n.call(i,"finallyLoc");if(u&&l){if(this.prev<i.catchLoc)return a(i.catchLoc,!0);if(this.prev<i.finallyLoc)return a(i.finallyLoc)}else if(u){if(this.prev<i.catchLoc)return a(i.catchLoc,!0)}else{if(!l)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,m):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),m},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),N(r),m}},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;N(r)}return a}}throw new Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:G(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),m}},e}var c=function(t){return function(){var e=Object(n.a)(i().mark(function e(r,n){var o,c;return i().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return o=n(),e.next=3,a.a.get("/app.php",{params:{a:"getgrvlst",type:t,fuserid:o.user.fuserid}});case 3:"object"!==typeof(c=e.sent).data?r({type:"SET_ERROR",payload:{error_code:-1,data:{msg:"Something went wrong"},status:"failure"}}):0===c.data.error_code?r({type:"GET_GRV_LIST",payload:c.data}):r({type:"SET_ERROR",payload:c.data});case 5:case"end":return e.stop()}},e)}));return function(t,r){return e.apply(this,arguments)}}()},u=function(t){return function(){var e=Object(n.a)(i().mark(function e(r,n){var c,u,l,s,f;return i().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return c=n(),u="","object"==typeof t?(u=t.paramgrvid,t=""):u="",r({type:"SET_LOADER"}),e.next=6,a.a.get("/app.php",{params:{a:"getgrv",univcode:c.user.fcuruniv,userid:c.user.fuserid,username:c.user.fname,fgrvid:t,fparamgrvid:u}});case 6:l=e.sent,r({type:"UNSET_LOADER"}),"object"!==typeof l.data?(s={header:"Error",content:"Something went wrong"},r(Object(o.A)(s))):0===l.data.error_code?r({type:"GET_GRV",payload:l.data}):(f={header:"Error",content:l.data.data.msg},r(Object(o.A)(f)));case 9:case"end":return e.stop()}},e)}));return function(t,r){return e.apply(this,arguments)}}()},l=function(t){return function(){var e=Object(n.a)(i().mark(function e(r,n){var c,u,l,s;return i().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return c=n(),r({type:"SET_LOADER"}),e.next=4,a.a.post("/app.php?a=submitquery",{data:{user:c.user,query:t}});case 4:if(u=e.sent,r({type:"UNSET_LOADER"}),"object"===typeof u.data){e.next=12;break}return l={header:"Error",content:"Something went wrong"},r(Object(o.A)(l)),e.abrupt("return");case 12:return s={header:"Success",content:"Query submitted successfully. Your reference No. : "+u.data.data.msg},r(Object(o.A)(s)),e.abrupt("return",0);case 15:case"end":return e.stop()}},e)}));return function(t,r){return e.apply(this,arguments)}}()},s=function(t,e,r){return function(){var o=Object(n.a)(i().mark(function n(o,c){var u,l;return i().wrap(function(n){for(;;)switch(n.prev=n.next){case 0:return u=c(),u.grv.header,n.next=4,a.a.post("/app.php?a=grvSend",{data:{fusername:u.user.fname,frply:e,grvid:t,stt:r}});case 4:"object"!==typeof(l=n.sent).data?o({type:"SET_ERROR",payload:{error_code:-1,data:{msg:"Something went wrong"},status:"failure"}}):0===l.data.error_code?(o({type:"GRV_SENT",payload:l.data}),o({type:"GET_LIST_GRV",payload:u.grv.header.fgrvid}),o({type:"GRV_DET",payload:u.grv.header.fgrvid})):o({type:"SET_ERROR",payload:l.data});case 6:case"end":return n.stop()}},n)}));return function(t,e){return o.apply(this,arguments)}}()},f=function(t,e){return function(){var r=Object(n.a)(i().mark(function r(n,o){var c;return i().wrap(function(r){for(;;)switch(r.prev=r.next){case 0:return c=o(),r.next=3,a.a.post("/app.php?a=grvClr",{data:{fgrvstatus:e,fgrvid:t,univcode:c.user.fcuruniv}});case 3:r.sent;case 4:case"end":return r.stop()}},r)}));return function(t,e){return r.apply(this,arguments)}}()}}}]);
//# sourceMappingURL=234.f0f6b5b4.chunk.js.map