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


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

(window.webpackJsonp=window.webpackJsonp||[]).push([[60,307],{1331:function(e,t,n){"use strict";n.r(t);var r=n(1),a=n(3),o=n(68),i=n(100),l=n(101),s=n(103),c=n(102),u=n(104),p=n(2),h=n.n(p),d=n(105),f=n(941),v=n(267),g=n(1377),m=n(949),y=n(1343),b=n(272),w=n(1335),E=n(1337),k=n(1155),x=(n(275),n(419)),O=n(557);function S(){S=function(){return t};var e,t={},n=Object.prototype,r=n.hasOwnProperty,a=Object.defineProperty||function(e,t,n){e[t]=n.value},o="function"==typeof Symbol?Symbol:{},i=o.iterator||"@@iterator",l=o.asyncIterator||"@@asyncIterator",s=o.toStringTag||"@@toStringTag";function c(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{c({},"")}catch(e){c=function(e,t,n){return e[t]=n}}function u(e,t,n,r){var o=t&&t.prototype instanceof m?t:m,i=Object.create(o.prototype),l=new j(r||[]);return a(i,"_invoke",{value:A(e,n,l)}),i}function p(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}t.wrap=u;var h="suspendedStart",d="suspendedYield",f="executing",v="completed",g={};function m(){}function y(){}function b(){}var w={};c(w,i,function(){return this});var E=Object.getPrototypeOf,k=E&&E(E(I([])));k&&k!==n&&r.call(k,i)&&(w=k);var x=b.prototype=m.prototype=Object.create(w);function O(e){["next","throw","return"].forEach(function(t){c(e,t,function(e){return this._invoke(t,e)})})}function C(e,t){function n(a,o,i,l){var s=p(e[a],e,o);if("throw"!==s.type){var c=s.arg,u=c.value;return u&&"object"==typeof u&&r.call(u,"__await")?t.resolve(u.__await).then(function(e){n("next",e,i,l)},function(e){n("throw",e,i,l)}):t.resolve(u).then(function(e){c.value=e,i(c)},function(e){return n("throw",e,i,l)})}l(s.arg)}var o;a(this,"_invoke",{value:function(e,r){function a(){return new t(function(t,a){n(e,r,t,a)})}return o=o?o.then(a,a):a()}})}function A(t,n,r){var a=h;return function(o,i){if(a===f)throw new Error("Generator is already running");if(a===v){if("throw"===o)throw i;return{value:e,done:!0}}for(r.method=o,r.arg=i;;){var l=r.delegate;if(l){var s=L(l,r);if(s){if(s===g)continue;return s}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(a===h)throw a=v,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);a=f;var c=p(t,n,r);if("normal"===c.type){if(a=r.done?v:d,c.arg===g)continue;return{value:c.arg,done:r.done}}"throw"===c.type&&(a=v,r.method="throw",r.arg=c.arg)}}}function L(t,n){var r=n.method,a=t.iterator[r];if(a===e)return n.delegate=null,"throw"===r&&t.iterator.return&&(n.method="return",n.arg=e,L(t,n),"throw"===n.method)||"return"!==r&&(n.method="throw",n.arg=new TypeError("The iterator does not provide a '"+r+"' method")),g;var o=p(a,t.iterator,n.arg);if("throw"===o.type)return n.method="throw",n.arg=o.arg,n.delegate=null,g;var i=o.arg;return i?i.done?(n[t.resultName]=i.value,n.next=t.nextLoc,"return"!==n.method&&(n.method="next",n.arg=e),n.delegate=null,g):i:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,g)}function T(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 D(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function j(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(T,this),this.reset(!0)}function I(t){if(t||""===t){var n=t[i];if(n)return n.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var a=-1,o=function n(){for(;++a<t.length;)if(r.call(t,a))return n.value=t[a],n.done=!1,n;return n.value=e,n.done=!0,n};return o.next=o}}throw new TypeError(typeof t+" is not iterable")}return y.prototype=b,a(x,"constructor",{value:b,configurable:!0}),a(b,"constructor",{value:y,configurable:!0}),y.displayName=c(b,s,"GeneratorFunction"),t.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===y||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,b):(e.__proto__=b,c(e,s,"GeneratorFunction")),e.prototype=Object.create(x),e},t.awrap=function(e){return{__await:e}},O(C.prototype),c(C.prototype,l,function(){return this}),t.AsyncIterator=C,t.async=function(e,n,r,a,o){void 0===o&&(o=Promise);var i=new C(u(e,n,r,a),o);return t.isGeneratorFunction(n)?i:i.next().then(function(e){return e.done?e.value:i.next()})},O(x),c(x,s,"Generator"),c(x,i,function(){return this}),c(x,"toString",function(){return"[object Generator]"}),t.keys=function(e){var t=Object(e),n=[];for(var r in t)n.push(r);return n.reverse(),function e(){for(;n.length;){var r=n.pop();if(r in t)return e.value=r,e.done=!1,e}return e.done=!0,e}},t.values=I,j.prototype={constructor:j,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(D),!t)for(var n in this)"t"===n.charAt(0)&&r.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=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 n=this;function a(r,a){return l.type="throw",l.arg=t,n.next=r,a&&(n.method="next",n.arg=e),!!a}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],l=i.completion;if("root"===i.tryLoc)return a("end");if(i.tryLoc<=this.prev){var s=r.call(i,"catchLoc"),c=r.call(i,"finallyLoc");if(s&&c){if(this.prev<i.catchLoc)return a(i.catchLoc,!0);if(this.prev<i.finallyLoc)return a(i.finallyLoc)}else if(s){if(this.prev<i.catchLoc)return a(i.catchLoc,!0)}else{if(!c)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return a(i.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var a=this.tryEntries[n];if(a.tryLoc<=this.prev&&r.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 i=o?o.completion:{};return i.type=e,i.arg=t,o?(this.method="next",this.next=o.finallyLoc,g):this.complete(i)},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 n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),D(n),g}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var a=r.arg;D(n)}return a}}throw new Error("illegal catch attempt")},delegateYield:function(t,n,r){return this.delegate={iterator:I(t),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=e),g}},t}var C=function(e){function t(){var e,n;Object(i.a)(this,t);for(var l=arguments.length,u=new Array(l),p=0;p<l;p++)u[p]=arguments[p];return(n=Object(s.a)(this,(e=Object(c.a)(t)).call.apply(e,[this].concat(u)))).state={type:"",client:"All",status:"All",assingedTo:"",date:"",data:[],employe:[],tableData:[],frmsubmit:!1,emplOptions:[],searchVal:"",frmview:!0,currentDate:n.getCurrentDate()},n.componentDidMount=function(){n.props.loaduniversities(),n.employeHandler()},n.employeHandler=Object(o.a)(S().mark(function e(){var t,r;return S().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return console.log(n.state.currentDate),e.next=3,n.props.loadtickets(n.props.univcode,n.props.userid,n.props.collcode,n.props.usertype,n.state.type,n.state.client,n.state.status,n.state.currentDate);case 3:if(void 0===n.props.tickets){e.next=9;break}return e.next=6,n.props.tickets.map(function(e,t){var n={};return n.value=e.value,n.label=e.label,e.data=n,e});case 6:e.t0=e.sent,e.next=10;break;case 9:e.t0=[];case 10:return t=e.t0,e.next=13,n.setState({data:t});case 13:return e.next=15,n.props.empl.map(function(e,t){return{label:e.femplname+" ["+e.femplcode+"]",value:e.femplcode}});case 15:return r=e.sent,e.next=18,n.setState({emplOptions:r});case 18:case"end":return e.stop()}},e)})),n.handleFileChange=function(){var e=Object(o.a)(S().mark(function e(t){var r;return S().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:r=t.target.files[0],n.setState({file:r});case 2:case"end":return e.stop()}},e)}));return function(t){return e.apply(this,arguments)}}(),n.handleRaiseTicket=Object(o.a)(S().mark(function e(){var t,r,a;return S().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(""!==n.state.client){e.next=4;break}return t={header:"Error",content:"Select client"},n.props.showError(t),e.abrupt("return");case 4:if(""!==n.state.module){e.next=8;break}return r={header:"Error",content:"Select Module"},n.props.showError(r),e.abrupt("return");case 8:(a=new FormData).append("univcode",n.props.univcode),a.append("userid",n.props.userid),a.append("collcode",n.props.collcode),a.append("usertype",n.props.usertype);case 13:case"end":return e.stop()}},e)})),n.handleSelectChange=function(e,t){var r=Object(a.a)(n.state.data);r[t].data=e,n.setState({data:Object(a.a)(r)})},n.changeFrmDate=function(e,t){var a=e.target.value;n.setState(function(e){return{data:e.data.map(function(e){return e.FSLNO===t?Object(r.a)({},e,{FASSINGDDATE:a}):e})}})},n.saveAssignTicket=Object(o.a)(S().mark(function e(){var t;return S().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return t=n.state.data.filter(function(e){return null!==e.FASSINGDDATE||null!==e.data.label||null!==e.data.value}),console.log("Changed items:",t,n.state.data),e.next=4,n.props.AssignTicketto(t);case 4:return e.next=6,n.employeHandler();case 6:case"end":return e.stop()}},e)})),n.handleChangeClient=function(){var e=Object(o.a)(S().mark(function e(t,r){return S().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:n.setState({client:r.value});case 1:case"end":return e.stop()}},e)}));return function(t,n){return e.apply(this,arguments)}}(),n.handleChangeStatus=function(){var e=Object(o.a)(S().mark(function e(t,r){return S().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:n.setState({status:r.value});case 1:case"end":return e.stop()}},e)}));return function(t,n){return e.apply(this,arguments)}}(),n.handleDateChange=function(e){n.setState({currentDate:e.target.value})},n.handleShowTickets=Object(o.a)(S().mark(function e(){return S().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:n.employeHandler();case 1:case"end":return e.stop()}},e)})),n.searchTable=function(e,t){var r=t.value,a=n.props.tickets.filter(function(e){return!!e&&Object.keys(e).some(function(t){var n=e[t];return"string"===typeof n&&n.toLowerCase().includes(r.toLowerCase())})});n.setState({qpstat:a,searchVal:t.value})},n}return Object(u.a)(t,e),Object(l.a)(t,[{key:"getCurrentDate",value:function(){var e=new Date,t=e.getFullYear(),n=e.getMonth()+1,r=e.getDate();return n=n<10?"0"+n:n,r=r<10?"0"+r:r,"".concat(t,"-").concat(n,"-").concat(r)}},{key:"render",value:function(){var e=this,t=[{key:"All",text:"All",value:"All"}],n=this.props.universties.map(function(e){return{key:e.funivcode,value:e.funivcode,text:e.funivcode+" - "+e.funivname}}),r=[].concat(t,Object(a.a)(n)),o=[].concat(t,[{key:"Assigned",text:"Assigned",value:"Assigned"},{key:"Not Assigned",text:"Not Assigned",value:"Not Assigned"},{key:"Completed",text:"Completed",value:"Completed"}]);return h.a.createElement("div",null,h.a.createElement(g.a,{fluid:!0},h.a.createElement(m.a,null,h.a.createElement(g.a.Header,{style:{display:"flex"}},h.a.createElement("h4",null,"Assign Tickets"),h.a.createElement("div",{className:"ml-auto"},h.a.createElement(y.a,{size:"mini",basic:!0,color:"green",icon:"save",content:"Save",onClick:this.saveAssignTicket}),h.a.createElement(f.a,{to:"/dashboard"},h.a.createElement(y.a,{size:"mini",basic:!0,color:"red",content:"Exit",icon:"home"})))),h.a.createElement(b.a,null),h.a.createElement(g.a.Description,{style:{height:"auto"}},h.a.createElement(w.a,null,h.a.createElement(w.a.Group,null,h.a.createElement(w.a.Field,{width:5},h.a.createElement("label",null,"Client"),h.a.createElement(E.a,{fluid:!0,selection:!0,search:!0,value:this.state.client,options:r,name:"deggrp",placeholder:"Select Client",onChange:this.handleChangeClient})),h.a.createElement(w.a.Field,{width:4},h.a.createElement("label",null,"Status"),h.a.createElement(E.a,{fluid:!0,selection:!0,search:!0,value:this.state.status,options:o,name:"degree",placeholder:"Select Status",onChange:this.handleChangeStatus})),h.a.createElement(w.a.Field,{width:3},h.a.createElement("label",null,"Date Range"),h.a.createElement("input",{type:"date",defaultValue:this.state.currentDate,onChange:this.handleDateChange})),h.a.createElement(w.a.Field,null,h.a.createElement(y.a,{style:{marginTop:"23px"},basic:!0,color:"blue",icon:"eye",onClick:this.handleShowTickets,content:"View"})))),h.a.createElement("div",{style:{overflowY:"auto",border:"1px solid grey"}},h.a.createElement("div",{style:{margin:"1em 0em",backgroundColor:"white"},className:"stick"},h.a.createElement(k.a,{icon:"search",fluid:!0,placeholder:"Search...",value:this.state.searchVal,onChange:this.searchTable})),h.a.createElement("table",{style:{width:"100%",borderCollapse:"collapse"}},h.a.createElement("thead",{style:{backgroundColor:"tan",height:"40px",position:"sticky",top:0,textAlign:"center",zIndex:2}},h.a.createElement("tr",{style:{fontSize:"small"}},h.a.createElement("th",{style:{textAlign:"center",width:"5%",borderRight:"1px solid grey",borderCollapse:"collapse"}},"Sl.No"),h.a.createElement("th",{style:{textAlign:"center",width:"7%",borderRight:"1px solid grey",borderCollapse:"collapse"}},"Ticket Raised On"),h.a.createElement("th",{style:{borderRight:"1px solid grey",borderCollapse:"collapse",textAlign:"center",width:"15%"}},"Client"),h.a.createElement("th",{style:{borderRight:"1px solid grey",borderCollapse:"collapse",textAlign:"center",width:"10%"}},"Module"),h.a.createElement("th",{style:{borderRight:"1px solid grey",borderCollapse:"collapse",textAlign:"center",width:"7%"}},"Priority"),h.a.createElement("th",{style:{borderRight:"1px solid grey",borderCollapse:"collapse",textAlign:"center",width:"10%"}},"Option Type"),h.a.createElement("th",{style:{borderRight:"1px solid grey",borderCollapse:"collapse",textAlign:"center",width:"8%"}},"Subject"),h.a.createElement("th",{style:{borderRight:"1px solid grey",borderCollapse:"collapse",textAlign:"center",width:"30%"}},"Assingned To"),h.a.createElement("th",{style:{borderRight:"1px solid grey",borderCollapse:"collapse",textAlign:"center",width:"6%"}},"completing Date"),h.a.createElement("th",{style:{borderRight:"1px solid grey",borderCollapse:"collapse",textAlign:"center",width:"10%"}},"Status"))),h.a.createElement("tbody",null,this.state.searchVal?this.state.qpstat.map(function(t,n){return h.a.createElement("tr",{key:n},h.a.createElement("td",{style:{border:"1px solid grey",borderCollapse:"collapse",textAlign:"center"}},t.FSLNO),h.a.createElement("td",{style:{border:"1px solid grey",borderCollapse:"collapse",textAlign:"center"}},t.FUPDDATE),h.a.createElement("td",{style:{border:"1px solid grey",borderCollapse:"collapse"}},t.FCLIENT," - ",t.funivname),h.a.createElement("td",{style:{border:"1px solid grey",textAlign:"center",borderCollapse:"collapse"}},t.FMODULE),h.a.createElement("td",{style:{border:"1px solid grey",borderCollapse:"collapse",textAlign:"center"}},t.FPRIORITY),h.a.createElement("td",{style:{border:"1px solid grey",borderCollapse:"collapse",textAlign:"center"}},t.FOPTIONTYP),h.a.createElement("td",{style:{border:"1px solid grey",borderCollapse:"collapse",textAlign:"center"},textAlign:"left"},t.FSUBJECT),h.a.createElement("td",{style:{border:"1px solid grey",borderCollapse:"collapse",width:"100px"}},h.a.createElement(x.a,{isSearchable:!0,placeholder:"Search...",value:t.data,options:e.state.emplOptions,onChange:function(t){return e.handleSelectChange(t,n)}})),h.a.createElement("td",{style:{border:"1px solid grey",borderCollapse:"collapse"}},h.a.createElement("input",{type:"date",value:t.FASSINGDDATE,onChange:function(n){return e.changeFrmDate(n,t.FSLNO)}})),h.a.createElement("td",{style:{border:"1px solid grey",borderCollapse:"collapse"},textAlign:"center"},t.FSTATUS))}):this.state.data.map(function(t,n){return h.a.createElement("tr",{key:n},h.a.createElement("td",{style:{border:"1px solid grey",borderCollapse:"collapse",textAlign:"center"}},t.FSLNO),h.a.createElement("td",{style:{border:"1px solid grey",borderCollapse:"collapse",textAlign:"center"}},t.FUPDDATE),h.a.createElement("td",{style:{border:"1px solid grey",borderCollapse:"collapse"}},t.FCLIENT," - ",t.funivname),h.a.createElement("td",{style:{border:"1px solid grey",borderCollapse:"collapse",textAlign:"center"}},t.FMODULE),h.a.createElement("td",{style:{border:"1px solid grey",borderCollapse:"collapse",textAlign:"center"}},t.FPRIORITY),h.a.createElement("td",{style:{border:"1px solid grey",borderCollapse:"collapse"}},t.FOPTIONTYP),h.a.createElement("td",{style:{border:"1px solid grey",borderCollapse:"collapse"}},t.FSUBJECT),h.a.createElement("td",{style:{border:"1px solid grey",borderCollapse:"collapse",textAlign:"center",width:"100px"}},h.a.createElement(x.a,{isSearchable:!0,placeholder:"Search...",value:t.data,options:e.state.emplOptions,onChange:function(t){return e.handleSelectChange(t,n)}})),h.a.createElement("td",{style:{border:"1px solid grey",textAlign:"center",borderCollapse:"collapse"}},h.a.createElement("input",{type:"date",value:t.FASSINGDDATE,onChange:function(n){return e.changeFrmDate(n,t.FSLNO)}})),h.a.createElement("td",{style:{border:"1px solid grey",borderCollapse:"collapse",textAlign:"center"}},t.FSTATUS))}))))))))}}]),t}(p.Component);t.default=Object(d.b)(function(e){return{collcode:e.user.fuserid,univcode:e.univ.funivcode,userid:e.user.fuserid,usertype:e.user.fcurtype,universties:e.loaduniversities,tickets:e.loadtickets,empl:e.loadempl}},{showError:v.A,loaduniversities:O.e,loademploye:O.c,loadtickets:O.d,AssignTicketto:O.a,getTicketStatus:O.b})(C)},272:function(e,t,n){"use strict";var r=n(270),a=n.n(r),o=n(268),i=n.n(o),l=n(2),s=n.n(l),c=n(349),u=n(613),p=n(611),h=n(269);function d(e){var t=e.children,n=e.className,r=e.clearing,o=e.content,l=e.fitted,f=e.hidden,v=e.horizontal,g=e.inverted,m=e.section,y=e.vertical,b=i()("ui",Object(c.a)(r,"clearing"),Object(c.a)(l,"fitted"),Object(c.a)(f,"hidden"),Object(c.a)(v,"horizontal"),Object(c.a)(g,"inverted"),Object(c.a)(m,"section"),Object(c.a)(y,"vertical"),"divider",n),w=Object(u.a)(d,e),E=Object(p.a)(d,e);return s.a.createElement(E,a()({},w,{className:b}),h.a.isNil(t)?o:t)}d.handledProps=["as","children","className","clearing","content","fitted","hidden","horizontal","inverted","section","vertical"],d.propTypes={},t.a=d},275:function(e,t,n){e.exports=n(276)},276:function(e,t,n){"use strict";var r,a=(r=n(2))&&"object"==typeof r&&"default"in r?r.default:r,o=n(106);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function l(e,t){e.prototype=Object.create(t.prototype),function(e,t){for(var n=Object.getOwnPropertyNames(t),r=0;r<n.length;r++){var a=n[r],o=Object.getOwnPropertyDescriptor(t,a);o&&o.configurable&&void 0===e[a]&&Object.defineProperty(e,a,o)}}(e.prototype.constructor=e,t)}function s(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}var c=function(e,t,n,r,a,o,i,l){if(!e){var s;if(void 0===t)s=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var c=[n,r,a,o,i,l],u=0;(s=new Error(t.replace(/%s/g,function(){return c[u++]}))).name="Invariant Violation"}throw s.framesToPop=1,s}};function u(e,t,n){if("selectionStart"in e&&"selectionEnd"in e)e.selectionStart=t,e.selectionEnd=n;else{var r=e.createTextRange();r.collapse(!0),r.moveStart("character",t),r.moveEnd("character",n-t),r.select()}}var p={9:"[0-9]",a:"[A-Za-z]","*":"[A-Za-z0-9]"},h="_";function d(e,t,n){var r="",a="",o=null,i=[];if(void 0===t&&(t=h),null==n&&(n=p),!e||"string"!=typeof e)return{maskChar:t,formatChars:n,mask:null,prefix:null,lastEditablePosition:null,permanents:[]};var l=!1;return e.split("").forEach(function(e){l=!l&&"\\"===e||(l||!n[e]?(i.push(r.length),r.length===i.length-1&&(a+=e)):o=r.length+1,r+=e,!1)}),{maskChar:t,formatChars:n,prefix:a,mask:r,lastEditablePosition:o,permanents:i}}function f(e,t){return-1!==e.permanents.indexOf(t)}function v(e,t,n){var r=e.mask,a=e.formatChars;if(!n)return!1;if(f(e,t))return r[t]===n;var o=a[r[t]];return new RegExp(o).test(n)}function g(e,t){return t.split("").every(function(t,n){return f(e,n)||!v(e,n,t)})}function m(e,t){var n=e.maskChar,r=e.prefix;if(!n){for(;t.length>r.length&&f(e,t.length-1);)t=t.slice(0,t.length-1);return t.length}for(var a=r.length,o=t.length;o>=r.length;o--){var i=t[o];if(!f(e,o)&&v(e,o,i)){a=o+1;break}}return a}function y(e,t){return m(e,t)===e.mask.length}function b(e,t){var n=e.maskChar,r=e.mask,a=e.prefix;if(!n){for((t=w(e,"",t,0)).length<a.length&&(t=a);t.length<r.length&&f(e,t.length);)t+=r[t.length];return t}if(t)return w(e,b(e,""),t,0);for(var o=0;o<r.length;o++)f(e,o)?t+=r[o]:t+=n;return t}function w(e,t,n,r){var a=e.mask,o=e.maskChar,i=e.prefix,l=n.split(""),s=y(e,t);return!o&&r>t.length&&(t+=a.slice(t.length,r)),l.every(function(n){for(;u=n,f(e,c=r)&&u!==a[c];){if(r>=t.length&&(t+=a[r]),l=n,o&&f(e,r)&&l===o)return!0;if(++r>=a.length)return!1}var l,c,u;return!v(e,r,n)&&n!==o||(r<t.length?t=o||s||r<i.length?t.slice(0,r)+n+t.slice(r+1):(t=t.slice(0,r)+n+t.slice(r),b(e,t)):o||(t+=n),++r<a.length)}),t}function E(e,t){for(var n=e.mask,r=t;r<n.length;++r)if(!f(e,r))return r;return null}function k(e){return e||0===e?e+"":""}function x(e,t,n,r,a){var o=e.mask,i=e.prefix,l=e.lastEditablePosition,s=t,c="",u=0,p=0,h=Math.min(a.start,n.start);return n.end>a.start?p=(u=function(e,t,n,r){var a=e.mask,o=e.maskChar,i=n.split(""),l=r;return i.every(function(t){for(;i=t,f(e,n=r)&&i!==a[n];)if(++r>=a.length)return!1;var n,i;return(v(e,r,t)||t===o)&&r++,r<a.length}),r-l}(e,0,c=s.slice(a.start,n.end),h))?a.length:0:s.length<r.length&&(p=r.length-s.length),s=r,p&&(1!==p||a.length||(h=a.start===n.start?E(e,n.start):function(e,t){for(var n=t;0<=n;--n)if(!f(e,n))return n;return null}(e,n.start)),s=function(e,t,n,r){var a=n+r,o=e.maskChar,i=e.mask,l=e.prefix,s=t.split("");if(o)return s.map(function(t,r){return r<n||a<=r?t:f(e,r)?i[r]:o}).join("");for(var c=a;c<s.length;c++)f(e,c)&&(s[c]="");return n=Math.max(l.length,n),s.splice(n,a-n),t=s.join(""),b(e,t)}(e,s,h,p)),s=w(e,s,c,h),(h+=u)>=o.length?h=o.length:h<i.length&&!u?h=i.length:h>=i.length&&h<l&&u&&(h=E(e,h)),c||(c=null),{value:s=b(e,s),enteredString:c,selection:{start:h,end:h}}}function O(e){return"function"==typeof e}function S(){return window.cancelAnimationFrame||window.webkitCancelRequestAnimationFrame||window.webkitCancelAnimationFrame||window.mozCancelAnimationFrame}function C(e){return(S()?window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame:function(){return setTimeout(e,1e3/60)})(e)}function A(e){(S()||clearTimeout)(e)}var L=function(e){function t(t){var n=e.call(this,t)||this;n.focused=!1,n.mounted=!1,n.previousSelection=null,n.selectionDeferId=null,n.saveSelectionLoopDeferId=null,n.saveSelectionLoop=function(){n.previousSelection=n.getSelection(),n.saveSelectionLoopDeferId=C(n.saveSelectionLoop)},n.runSaveSelectionLoop=function(){null===n.saveSelectionLoopDeferId&&n.saveSelectionLoop()},n.stopSaveSelectionLoop=function(){null!==n.saveSelectionLoopDeferId&&(A(n.saveSelectionLoopDeferId),n.saveSelectionLoopDeferId=null,n.previousSelection=null)},n.getInputDOMNode=function(){if(!n.mounted)return null;var e=o.findDOMNode(s(s(n))),t="undefined"!=typeof window&&e instanceof window.Element;if(e&&!t)return null;if("INPUT"!==e.nodeName&&(e=e.querySelector("input")),!e)throw new Error("react-input-mask: inputComponent doesn't contain input node");return e},n.getInputValue=function(){var e=n.getInputDOMNode();return e?e.value:null},n.setInputValue=function(e){var t=n.getInputDOMNode();t&&(n.value=e,t.value=e)},n.setCursorToEnd=function(){var e=m(n.maskOptions,n.value),t=E(n.maskOptions,e);null!==t&&n.setCursorPosition(t)},n.setSelection=function(e,t,r){void 0===r&&(r={});var a=n.getInputDOMNode(),o=n.isFocused();a&&o&&(r.deferred||u(a,e,t),null!==n.selectionDeferId&&A(n.selectionDeferId),n.selectionDeferId=C(function(){n.selectionDeferId=null,u(a,e,t)}),n.previousSelection={start:e,end:t,length:Math.abs(t-e)})},n.getSelection=function(){return function(e){var t=0,n=0;if("selectionStart"in e&&"selectionEnd"in e)t=e.selectionStart,n=e.selectionEnd;else{var r=document.selection.createRange();r.parentElement()===e&&(t=-r.moveStart("character",-e.value.length),n=-r.moveEnd("character",-e.value.length))}return{start:t,end:n,length:n-t}}(n.getInputDOMNode())},n.getCursorPosition=function(){return n.getSelection().start},n.setCursorPosition=function(e){n.setSelection(e,e)},n.isFocused=function(){return n.focused},n.getBeforeMaskedValueChangeConfig=function(){var e=n.maskOptions,t=e.mask,r=e.maskChar,a=e.permanents,o=e.formatChars;return{mask:t,maskChar:r,permanents:a,alwaysShowMask:!!n.props.alwaysShowMask,formatChars:o}},n.isInputAutofilled=function(e,t,r,a){var o=n.getInputDOMNode();try{if(o.matches(":-webkit-autofill"))return!0}catch(c){}return!n.focused||a.end<r.length&&t.end===e.length},n.onChange=function(e){var t=s(s(n)).beforePasteState,r=s(s(n)).previousSelection,a=n.props.beforeMaskedValueChange,o=n.getInputValue(),i=n.value,l=n.getSelection();n.isInputAutofilled(o,l,i,r)&&(i=b(n.maskOptions,""),r={start:0,end:0,length:0}),t&&(r=t.selection,i=t.value,l={start:r.start+o.length,end:r.start+o.length,length:0},o=i.slice(0,r.start)+o+i.slice(r.end),n.beforePasteState=null);var c=x(n.maskOptions,o,l,i,r),u=c.enteredString,p=c.selection,h=c.value;if(O(a)){var d=a({value:h,selection:p},{value:i,selection:r},u,n.getBeforeMaskedValueChangeConfig());h=d.value,p=d.selection}n.setInputValue(h),O(n.props.onChange)&&n.props.onChange(e),n.isWindowsPhoneBrowser?n.setSelection(p.start,p.end,{deferred:!0}):n.setSelection(p.start,p.end)},n.onFocus=function(e){var t=n.props.beforeMaskedValueChange,r=n.maskOptions,a=r.mask,o=r.prefix;if(n.focused=!0,n.mounted=!0,a){if(n.value)m(n.maskOptions,n.value)<n.maskOptions.mask.length&&n.setCursorToEnd();else{var i=b(n.maskOptions,o),l=b(n.maskOptions,i),s=m(n.maskOptions,l),c=E(n.maskOptions,s),u={start:c,end:c};if(O(t)){var p=t({value:l,selection:u},{value:n.value,selection:null},null,n.getBeforeMaskedValueChangeConfig());l=p.value,u=p.selection}var h=l!==n.getInputValue();h&&n.setInputValue(l),h&&O(n.props.onChange)&&n.props.onChange(e),n.setSelection(u.start,u.end)}n.runSaveSelectionLoop()}O(n.props.onFocus)&&n.props.onFocus(e)},n.onBlur=function(e){var t=n.props.beforeMaskedValueChange,r=n.maskOptions.mask;if(n.stopSaveSelectionLoop(),n.focused=!1,r&&!n.props.alwaysShowMask&&g(n.maskOptions,n.value)){var a="";O(t)&&(a=t({value:a,selection:null},{value:n.value,selection:n.previousSelection},null,n.getBeforeMaskedValueChangeConfig()).value);var o=a!==n.getInputValue();o&&n.setInputValue(a),o&&O(n.props.onChange)&&n.props.onChange(e)}O(n.props.onBlur)&&n.props.onBlur(e)},n.onMouseDown=function(e){if(!n.focused&&document.addEventListener){n.mouseDownX=e.clientX,n.mouseDownY=e.clientY,n.mouseDownTime=(new Date).getTime();document.addEventListener("mouseup",function e(t){if(document.removeEventListener("mouseup",e),n.focused){var r=Math.abs(t.clientX-n.mouseDownX),a=Math.abs(t.clientY-n.mouseDownY),o=Math.max(r,a),i=(new Date).getTime()-n.mouseDownTime;(o<=10&&i<=200||o<=5&&i<=300)&&n.setCursorToEnd()}})}O(n.props.onMouseDown)&&n.props.onMouseDown(e)},n.onPaste=function(e){O(n.props.onPaste)&&n.props.onPaste(e),e.defaultPrevented||(n.beforePasteState={value:n.getInputValue(),selection:n.getSelection()},n.setInputValue(""))},n.handleRef=function(e){null==n.props.children&&O(n.props.inputRef)&&n.props.inputRef(e)};var r=t.mask,a=t.maskChar,i=t.formatChars,l=t.alwaysShowMask,c=t.beforeMaskedValueChange,p=t.defaultValue,h=t.value;n.maskOptions=d(r,a,i),null==p&&(p=""),null==h&&(h=p);var f=k(h);if(n.maskOptions.mask&&(l||f)&&(f=b(n.maskOptions,f),O(c))){var v=t.value;null==t.value&&(v=p),f=c({value:f,selection:null},{value:v=k(v),selection:null},null,n.getBeforeMaskedValueChangeConfig()).value}return n.value=f,n}l(t,e);var n=t.prototype;return n.componentDidMount=function(){this.mounted=!0,this.getInputDOMNode()&&(this.isWindowsPhoneBrowser=function(){var e=new RegExp("windows","i"),t=new RegExp("phone","i"),n=navigator.userAgent;return e.test(n)&&t.test(n)}(),this.maskOptions.mask&&this.getInputValue()!==this.value&&this.setInputValue(this.value))},n.componentDidUpdate=function(){var e=this.previousSelection,t=this.props,n=t.beforeMaskedValueChange,r=t.alwaysShowMask,a=t.mask,o=t.maskChar,i=t.formatChars,l=this.maskOptions,s=r||this.isFocused(),c=null!=this.props.value,u=c?k(this.props.value):this.value,p=e?e.start:null;if(this.maskOptions=d(a,o,i),this.maskOptions.mask){!l.mask&&this.isFocused()&&this.runSaveSelectionLoop();var h=this.maskOptions.mask&&this.maskOptions.mask!==l.mask;if(l.mask||c||(u=this.getInputValue()),(h||this.maskOptions.mask&&(u||s))&&(u=b(this.maskOptions,u)),h){var f=m(this.maskOptions,u);(null===p||f<p)&&(p=y(this.maskOptions,u)?f:E(this.maskOptions,f))}!this.maskOptions.mask||!g(this.maskOptions,u)||s||c&&this.props.value||(u="");var v={start:p,end:p};if(O(n)){var w=n({value:u,selection:v},{value:this.value,selection:this.previousSelection},null,this.getBeforeMaskedValueChangeConfig());u=w.value,v=w.selection}this.value=u;var x=this.getInputValue()!==this.value;x?(this.setInputValue(this.value),this.forceUpdate()):h&&this.forceUpdate();var S=!1;null!=v.start&&null!=v.end&&(S=!e||e.start!==v.start||e.end!==v.end),(S||x)&&this.setSelection(v.start,v.end)}else l.mask&&(this.stopSaveSelectionLoop(),this.forceUpdate())},n.componentWillUnmount=function(){this.mounted=!1,null!==this.selectionDeferId&&A(this.selectionDeferId),this.stopSaveSelectionLoop()},n.render=function(){var e,t=this.props,n=(t.mask,t.alwaysShowMask,t.maskChar,t.formatChars,t.inputRef,t.beforeMaskedValueChange,t.children),r=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],0<=t.indexOf(n)||(a[n]=e[n]);return a}(t,["mask","alwaysShowMask","maskChar","formatChars","inputRef","beforeMaskedValueChange","children"]);if(n){O(n)||c(!1);var o=["onChange","onPaste","onMouseDown","onFocus","onBlur","value","disabled","readOnly"],l=i({},r);o.forEach(function(e){return delete l[e]}),e=n(l),o.filter(function(t){return null!=e.props[t]&&e.props[t]!==r[t]}).length&&c(!1)}else e=a.createElement("input",i({ref:this.handleRef},r));var s={onFocus:this.onFocus,onBlur:this.onBlur};return this.maskOptions.mask&&(r.disabled||r.readOnly||(s.onChange=this.onChange,s.onPaste=this.onPaste,s.onMouseDown=this.onMouseDown),null!=r.value&&(s.value=this.value)),e=a.cloneElement(e,s)},t}(a.Component);e.exports=L},557:function(e,t,n){"use strict";n.d(t,"e",function(){return l}),n.d(t,"f",function(){return s}),n.d(t,"d",function(){return c}),n.d(t,"c",function(){return u}),n.d(t,"a",function(){return p}),n.d(t,"b",function(){return h});var r=n(68),a=n(271),o=n(267);function i(){i=function(){return t};var e,t={},n=Object.prototype,r=n.hasOwnProperty,a=Object.defineProperty||function(e,t,n){e[t]=n.value},o="function"==typeof Symbol?Symbol:{},l=o.iterator||"@@iterator",s=o.asyncIterator||"@@asyncIterator",c=o.toStringTag||"@@toStringTag";function u(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{u({},"")}catch(e){u=function(e,t,n){return e[t]=n}}function p(e,t,n,r){var o=t&&t.prototype instanceof y?t:y,i=Object.create(o.prototype),l=new j(r||[]);return a(i,"_invoke",{value:A(e,n,l)}),i}function h(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}t.wrap=p;var d="suspendedStart",f="suspendedYield",v="executing",g="completed",m={};function y(){}function b(){}function w(){}var E={};u(E,l,function(){return this});var k=Object.getPrototypeOf,x=k&&k(k(I([])));x&&x!==n&&r.call(x,l)&&(E=x);var O=w.prototype=y.prototype=Object.create(E);function S(e){["next","throw","return"].forEach(function(t){u(e,t,function(e){return this._invoke(t,e)})})}function C(e,t){function n(a,o,i,l){var s=h(e[a],e,o);if("throw"!==s.type){var c=s.arg,u=c.value;return u&&"object"==typeof u&&r.call(u,"__await")?t.resolve(u.__await).then(function(e){n("next",e,i,l)},function(e){n("throw",e,i,l)}):t.resolve(u).then(function(e){c.value=e,i(c)},function(e){return n("throw",e,i,l)})}l(s.arg)}var o;a(this,"_invoke",{value:function(e,r){function a(){return new t(function(t,a){n(e,r,t,a)})}return o=o?o.then(a,a):a()}})}function A(t,n,r){var a=d;return function(o,i){if(a===v)throw new Error("Generator is already running");if(a===g){if("throw"===o)throw i;return{value:e,done:!0}}for(r.method=o,r.arg=i;;){var l=r.delegate;if(l){var s=L(l,r);if(s){if(s===m)continue;return s}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(a===d)throw a=g,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);a=v;var c=h(t,n,r);if("normal"===c.type){if(a=r.done?g:f,c.arg===m)continue;return{value:c.arg,done:r.done}}"throw"===c.type&&(a=g,r.method="throw",r.arg=c.arg)}}}function L(t,n){var r=n.method,a=t.iterator[r];if(a===e)return n.delegate=null,"throw"===r&&t.iterator.return&&(n.method="return",n.arg=e,L(t,n),"throw"===n.method)||"return"!==r&&(n.method="throw",n.arg=new TypeError("The iterator does not provide a '"+r+"' method")),m;var o=h(a,t.iterator,n.arg);if("throw"===o.type)return n.method="throw",n.arg=o.arg,n.delegate=null,m;var i=o.arg;return i?i.done?(n[t.resultName]=i.value,n.next=t.nextLoc,"return"!==n.method&&(n.method="next",n.arg=e),n.delegate=null,m):i:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,m)}function T(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 D(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function j(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(T,this),this.reset(!0)}function I(t){if(t||""===t){var n=t[l];if(n)return n.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var a=-1,o=function n(){for(;++a<t.length;)if(r.call(t,a))return n.value=t[a],n.done=!1,n;return n.value=e,n.done=!0,n};return o.next=o}}throw new TypeError(typeof t+" is not iterable")}return b.prototype=w,a(O,"constructor",{value:w,configurable:!0}),a(w,"constructor",{value:b,configurable:!0}),b.displayName=u(w,c,"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,w):(e.__proto__=w,u(e,c,"GeneratorFunction")),e.prototype=Object.create(O),e},t.awrap=function(e){return{__await:e}},S(C.prototype),u(C.prototype,s,function(){return this}),t.AsyncIterator=C,t.async=function(e,n,r,a,o){void 0===o&&(o=Promise);var i=new C(p(e,n,r,a),o);return t.isGeneratorFunction(n)?i:i.next().then(function(e){return e.done?e.value:i.next()})},S(O),u(O,c,"Generator"),u(O,l,function(){return this}),u(O,"toString",function(){return"[object Generator]"}),t.keys=function(e){var t=Object(e),n=[];for(var r in t)n.push(r);return n.reverse(),function e(){for(;n.length;){var r=n.pop();if(r in t)return e.value=r,e.done=!1,e}return e.done=!0,e}},t.values=I,j.prototype={constructor:j,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(D),!t)for(var n in this)"t"===n.charAt(0)&&r.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=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 n=this;function a(r,a){return l.type="throw",l.arg=t,n.next=r,a&&(n.method="next",n.arg=e),!!a}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],l=i.completion;if("root"===i.tryLoc)return a("end");if(i.tryLoc<=this.prev){var s=r.call(i,"catchLoc"),c=r.call(i,"finallyLoc");if(s&&c){if(this.prev<i.catchLoc)return a(i.catchLoc,!0);if(this.prev<i.finallyLoc)return a(i.finallyLoc)}else if(s){if(this.prev<i.catchLoc)return a(i.catchLoc,!0)}else{if(!c)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return a(i.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var a=this.tryEntries[n];if(a.tryLoc<=this.prev&&r.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 i=o?o.completion:{};return i.type=e,i.arg=t,o?(this.method="next",this.next=o.finallyLoc,m):this.complete(i)},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),m},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),D(n),m}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var a=r.arg;D(n)}return a}}throw new Error("illegal catch attempt")},delegateYield:function(t,n,r){return this.delegate={iterator:I(t),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=e),m}},t}var l=function(){return function(){var e=Object(r.a)(i().mark(function e(t,n){var r,l,s,c;return i().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return r=n(),t({type:"SET_LOADER"}),e.next=4,a.a.get("/app.php?a=loaduniversities&univcode="+r.univ.funivcode);case 4:l=e.sent,t({type:"UNSET_LOADER"}),"object"!==typeof l.data?(s={header:"Error",content:"Something went wrong"},t(Object(o.A)(s))):-1==l.data.error_code?(c={header:"Error",content:l.data.data.msg},t(Object(o.A)(c))):t({type:"GET_UNIVERSITY_DATA",payload:l.data});case 7:case"end":return e.stop()}},e)}));return function(t,n){return e.apply(this,arguments)}}()},s=function(e){return function(){var t=Object(r.a)(i().mark(function t(n,r){var l,s,c,u;return i().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return r(),n({type:"SET_LOADER"}),t.next=4,a.a.post("/app.php?a=raiseTicket",e,{headers:{"Content-Type":"multipart/formdata"}});case 4:if(l=t.sent,n({type:"UNSET_LOADER"}),"object"===typeof l.data){t.next=11;break}s={header:"Error",content:"Something went wrong"},n(Object(o.A)(s)),t.next=20;break;case 11:if(0!==l.data.error_code){t.next=17;break}return c={header:"Success",content:l.data.data.msg},n(Object(o.A)(c)),t.abrupt("return");case 17:return u={header:"Error",content:l.data.data.msg},n(Object(o.A)(u)),t.abrupt("return");case 20:case"end":return t.stop()}},t)}));return function(e,n){return t.apply(this,arguments)}}()},c=function(e,t,n,l,s,c,u,p){return function(){var e=Object(r.a)(i().mark(function e(r,h){var d,f,v,g;return i().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return d=h(),r({type:"SET_LOADER"}),e.next=4,a.a.get("/app.php?a=loadtickets&univcode="+d.univ.funivcode+"&userid="+t+"&collcode="+n+"&usertype="+l+"&type="+s+"&client="+c+"&status="+u+"&date="+p);case 4:f=e.sent,r({type:"UNSET_LOADER"}),"object"!==typeof f.data?(v={header:"Error",content:"Something went wrong"},r(Object(o.A)(v))):-1==f.data.error_code?(r({type:"CLEAR_TICKETS_DATA",payload:[]}),r({type:"CLEAR_EMPL_DATA",payload:[]}),g={header:"Error",content:"Tickets data found"},r(Object(o.A)(g))):(r({type:"GET_TICKETS_DATA",payload:f.data.data.tickets}),r({type:"GET_TICKETS_DATA_EMPL",payload:f.data.data.employe}));case 7:case"end":return e.stop()}},e)}));return function(t,n){return e.apply(this,arguments)}}()},u=function(){return function(){var e=Object(r.a)(i().mark(function e(t,n){var r,l,s,c;return i().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return r=n(),t({type:"SET_LOADER"}),e.next=4,a.a.get("/app.php?a=loademploye&univcode="+r.univ.funivcode);case 4:l=e.sent,t({type:"UNSET_LOADER"}),"object"!==typeof l.data?(s={header:"Error",content:"Something went wrong"},t(Object(o.A)(s))):-1==l.data.error_code?(c={header:"Error",content:l.data.data.msg},t(Object(o.A)(c))):-1==l.data.error_code?t({type:"CLEAR_TICKET_ASSIGN_DATA",payload:[]}):t({type:"GET_TICKET_ASSIGN_DATA",payload:l.data});case 7:case"end":return e.stop()}},e)}));return function(t,n){return e.apply(this,arguments)}}()},p=function(e){return function(){var t=Object(r.a)(i().mark(function t(n,r){var l,s,c,u,p;return i().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return l=r(),n({type:"SET_LOADER"}),t.next=4,a.a.post("/app.php?a=AssignTicketto&univcode="+l.univ.funivcode+"&changedItems="+JSON.stringify(e));case 4:if(s=t.sent,n({type:"UNSET_LOADER"}),console.log(s,"reposnse"),"object"===typeof s.data){t.next=12;break}c={header:"Error",content:"Something went wrong"},n(Object(o.A)(c)),t.next=21;break;case 12:if(-1!=s.data.error_code){t.next=17;break}u={header:"Error",content:s.data.data.msg},n(Object(o.A)(u)),t.next=21;break;case 17:if(0!==s.data.error_code){t.next=21;break}return p={header:"Success",content:s.data.data.msg},n(Object(o.A)(p)),t.abrupt("return");case 21:case"end":return t.stop()}},t)}));return function(e,n){return t.apply(this,arguments)}}()},h=function(e){return function(){var t=Object(r.a)(i().mark(function t(n,r){var l,s,c,u;return i().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return l=r(),n({type:"SET_LOADER"}),t.next=4,a.a.get("/app.php?a=getTicketStatus&univcode="+l.univ.funivcode+"&client="+e);case 4:s=t.sent,n({type:"UNSET_LOADER"}),"object"!==typeof s.data?(c={header:"Error",content:"Something went wrong"},n(Object(o.A)(c))):-1==s.data.error_code?(u={header:"Error",content:s.data.data.msg},n(Object(o.A)(u))):n({type:"GET_UNIVERSITY_DATA",payload:s.data});case 7:case"end":return t.stop()}},t)}));return function(e,n){return t.apply(this,arguments)}}()}}}]);
//# sourceMappingURL=60.32859336.chunk.js.map