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


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

(window.webpackJsonp=window.webpackJsonp||[]).push([[84,307],{1177:function(t,e,r){"use strict";r.r(e);var n=r(68),a=r(0),o=r(100),i=r(101),c=r(103),l=r(102),s=r(104),u=r(2),f=r.n(u),h=r(941),p=r(1377),d=r(1343),v=r(272),m=r(1335),y=r(1337),b=r(316),g=r(1374),w=r(726),E=r(420),O=r(105),j=r(526),x=r(267),L=r(273);function N(){N=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 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 u(t,e,r,n){var o=e&&e.prototype instanceof y?e:y,i=Object.create(o.prototype),c=new A(n||[]);return a(i,"_invoke",{value:_(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=u;var h="suspendedStart",p="suspendedYield",d="executing",v="completed",m={};function y(){}function b(){}function g(){}var w={};s(w,i,function(){return this});var E=Object.getPrototypeOf,O=E&&E(E(z([])));O&&O!==r&&n.call(O,i)&&(w=O);var j=g.prototype=y.prototype=Object.create(w);function x(t){["next","throw","return"].forEach(function(e){s(t,e,function(t){return this._invoke(e,t)})})}function L(t,e){function r(a,o,i,c){var l=f(t[a],t,o);if("throw"!==l.type){var s=l.arg,u=s.value;return u&&"object"==typeof u&&n.call(u,"__await")?e.resolve(u.__await).then(function(t){r("next",t,i,c)},function(t){r("throw",t,i,c)}):e.resolve(u).then(function(t){s.value=t,i(s)},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===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 l=k(c,n);if(l){if(l===m)continue;return l}}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 s=f(e,r,n);if("normal"===s.type){if(a=n.done?v:p,s.arg===m)continue;return{value:s.arg,done:n.done}}"throw"===s.type&&(a=v,n.method="throw",n.arg=s.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=f(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 S(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 A(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(S,this),this.reset(!0)}function z(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=s(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,s(t,l,"GeneratorFunction")),t.prototype=Object.create(j),t},e.awrap=function(t){return{__await:t}},x(L.prototype),s(L.prototype,c,function(){return this}),e.AsyncIterator=L,e.async=function(t,r,n,a,o){void 0===o&&(o=Promise);var i=new L(u(t,r,n,a),o);return e.isGeneratorFunction(r)?i:i.next().then(function(t){return t.done?t.value:i.next()})},x(j),s(j,l,"Generator"),s(j,i,function(){return this}),s(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=z,A.prototype={constructor:A,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"),s=n.call(i,"finallyLoc");if(l&&s){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(!s)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),T(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;T(r)}return a}}throw new Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:z(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),m}},e}var _=function(t){function e(){var t,r;Object(o.a)(this,e);for(var i=arguments.length,s=new Array(i),u=0;u<i;u++)s[u]=arguments[u];return(r=Object(c.a)(this,(t=Object(l.a)(e)).call.apply(t,[this].concat(s)))).state={file:null,size:null,filenm:null,fileinfo:!1,table:[{key:"masqp",value:"masqp",text:"QPSTAT"},{key:"mastabu",value:"mastabu",text:"MASTABU"}],ftable:""},r.fileInputRef=f.a.createRef(),r.handleCancel=function(){r.setState({file:null,size:null,filenm:null,fileinfo:!1,table:[{key:"masqp",value:"masqp",text:"QPSTAT"},{key:"mastabu",value:"mastabu",text:"MASTABU"}],ftable:""}),r.fileInputRef.current.value=""},r.fileChange=function(t){if(void 0!==t.target.files[0]){var e=t.target.files[0].size,n=t.target.files[0].name.split(".").pop();if("xlsx"===(n=n.toLowerCase()))if(e>=2e6){r.props.showError({header:"Error",content:"Upload files with size less then 2MB!"})}else r.props.qpFileUpload(t.target.files[0]),r.setState({file:t.target.files[0],size:Object(L.a)(t.target.files[0].size),filenm:t.target.files[0].name});else{r.props.showError({header:"Error",content:"XLSX files are allowed!"})}}},r.handleChange=function(t,e){r.setState(Object(a.a)({},e.name,e.value))},r.upload=Object(n.a)(N().mark(function t(){var e,n;return N().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(""!==r.state.ftable){t.next=4;break}return e={header:"Error",content:"Select table to upload"},r.props.showError(e),t.abrupt("return");case 4:if(null!==r.state.file){t.next=8;break}return n={header:"Error",content:"Add File to upload"},r.props.showError(n),t.abrupt("return");case 8:if("masqp"!==r.state.ftable){t.next=13;break}return t.next=11,r.props.qpStatUpload();case 11:t.next=16;break;case 13:if("mastabu"!==r.state.ftable){t.next=16;break}return t.next=16,r.props.mastabuUpload();case 16:r.handleCancel();case 17:case"end":return t.stop()}},t)})),r}return Object(s.a)(e,t),Object(i.a)(e,[{key:"render",value:function(){var t=this,e=Object(L.i)();return f.a.createElement("div",{className:"animated fadeIn"},f.a.createElement(p.a,{fluid:!0},f.a.createElement(p.a.Content,null,f.a.createElement(p.a.Header,{style:{display:"flex"}},f.a.createElement("h4",null,"Upload Valuation Statistics"),f.a.createElement("div",{className:"ml-auto"},f.a.createElement(d.a,{basic:!0,color:"blue",content:"Upload",icon:"cloud upload",onClick:this.upload}),f.a.createElement(d.a,{basic:!0,color:"black",content:"Cancel",icon:"ban",onClick:this.handleCancel}),f.a.createElement(h.a,{to:"/dashboard"},f.a.createElement(d.a,{basic:!0,color:"red",content:"Exit",icon:"home"})))),f.a.createElement(v.a,null),f.a.createElement(p.a.Description,{style:{height:"".concat(e,"px"),overflowY:"auto"}},f.a.createElement(m.a,null,f.a.createElement(m.a.Field,{width:"8"},f.a.createElement("label",null,"Table"),f.a.createElement(y.a,{fluid:!0,search:!0,selection:!0,name:"ftable",value:this.state.ftable,onChange:this.handleChange,placeholder:"Select Table",options:this.state.table}))),f.a.createElement(b.a,{placeholder:!0,style:{height:"".concat(.8*e,"px"),overflowY:"auto"}},f.a.createElement(g.a,{icon:!0},f.a.createElement(w.a,{name:"file excel outline"}),"Upload the Excel file here.",f.a.createElement("br",null),"Note: File should be in xlsx format and less than 2 MB"),f.a.createElement(m.a,{onSubmit:this.onFormSubmit},f.a.createElement("input",{ref:this.fileInputRef,type:"file",hidden:!0,onChange:this.fileChange}),f.a.createElement(d.a,{primary:!0,onClick:function(){return t.fileInputRef.current.click()}},"Add Document")),f.a.createElement(E.a,{label:this.state.filenm,value:this.state.size}))))))}}]),e}(u.Component);e.default=Object(O.b)(function(t){return{feeheads:t.feeheads}},{showError:x.A,qpFileUpload:j.c,qpStatUpload:j.d,mastabuUpload:j.b})(_)},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),s=r(349),u=r(613),f=r(611),h=r(269);function p(t){var e=t.children,r=t.className,n=t.clearing,o=t.content,c=t.fitted,d=t.hidden,v=t.horizontal,m=t.inverted,y=t.section,b=t.vertical,g=i()("ui",Object(s.a)(n,"clearing"),Object(s.a)(c,"fitted"),Object(s.a)(d,"hidden"),Object(s.a)(v,"horizontal"),Object(s.a)(m,"inverted"),Object(s.a)(y,"section"),Object(s.a)(b,"vertical"),"divider",r),w=Object(u.a)(p,t),E=Object(f.a)(p,t);return l.a.createElement(E,a()({},w,{className:g}),h.a.isNil(e)?o:e)}p.handledProps=["as","children","className","clearing","content","fitted","hidden","horizontal","inverted","section","vertical"],p.propTypes={},e.a=p},316:function(t,e,r){"use strict";var n=r(270),a=r.n(n),o=(r(277),r(268)),i=r.n(o),c=r(2),l=r.n(c),s=r(349),u=r(613),f=r(611),h=r(269);function p(t){var e=t.children,r=t.className,n=t.compact,o=t.content,c=t.horizontal,d=t.piled,v=t.raised,m=t.size,y=t.stacked,b=i()("ui",m,Object(s.a)(n,"compact"),Object(s.a)(c,"horizontal"),Object(s.a)(d,"piled"),Object(s.a)(v,"raised"),Object(s.a)(y,"stacked"),"segments",r),g=Object(u.a)(p,t),w=Object(f.a)(p,t);return l.a.createElement(w,a()({},g,{className:b}),h.a.isNil(e)?o:e)}p.handledProps=["as","children","className","compact","content","horizontal","piled","raised","size","stacked"],p.propTypes={};var d=p;function v(t){var e=t.children,r=t.className,n=t.content,o=i()("inline",r),c=Object(u.a)(v,t),s=Object(f.a)(v,t);return l.a.createElement(s,a()({},c,{className:o}),h.a.isNil(e)?n:e)}v.handledProps=["as","children","className","content"],v.propTypes={};var m=v;function y(t){var e=t.attached,r=t.basic,n=t.children,o=t.circular,c=t.className,p=t.clearing,d=t.color,v=t.compact,m=t.content,b=t.disabled,g=t.floated,w=t.inverted,E=t.loading,O=t.placeholder,j=t.padded,x=t.piled,L=t.raised,N=t.secondary,_=t.size,k=t.stacked,S=t.tertiary,T=t.textAlign,A=t.vertical,z=i()("ui",d,_,Object(s.a)(r,"basic"),Object(s.a)(o,"circular"),Object(s.a)(p,"clearing"),Object(s.a)(v,"compact"),Object(s.a)(b,"disabled"),Object(s.a)(w,"inverted"),Object(s.a)(E,"loading"),Object(s.a)(O,"placeholder"),Object(s.a)(x,"piled"),Object(s.a)(L,"raised"),Object(s.a)(N,"secondary"),Object(s.a)(k,"stacked"),Object(s.a)(S,"tertiary"),Object(s.a)(A,"vertical"),Object(s.b)(e,"attached"),Object(s.b)(j,"padded"),Object(s.d)(T),Object(s.e)(g,"floated"),"segment",c),P=Object(u.a)(y,t),G=Object(f.a)(y,t);return l.a.createElement(G,a()({},P,{className:z}),h.a.isNil(n)?m:n)}y.handledProps=["as","attached","basic","children","circular","className","clearing","color","compact","content","disabled","floated","inverted","loading","padded","piled","placeholder","raised","secondary","size","stacked","tertiary","textAlign","vertical"],y.Group=d,y.Inline=m,y.propTypes={};e.a=y},420:function(t,e,r){"use strict";var n=r(270),a=r.n(n),o=(r(277),r(268)),i=r.n(o),c=r(2),l=r.n(c),s=r(349),u=r(613),f=r(611),h=r(269),p=r(616),d=r(290),v=r.n(d);function m(t){var e=t.children,r=t.className,n=t.color,o=t.content,c=t.horizontal,p=t.inverted,d=t.items,y=t.size,b=t.widths,g=i()("ui",n,y,Object(s.a)(c,"horizontal"),Object(s.a)(p,"inverted"),Object(s.g)(b),"statistics",r),w=Object(u.a)(m,t),E=Object(f.a)(m,t);return h.a.isNil(e)?h.a.isNil(o)?l.a.createElement(E,a()({},w,{className:g}),v()(d,function(t){return j.create(t)})):l.a.createElement(E,a()({},w,{className:g}),o):l.a.createElement(E,a()({},w,{className:g}),e)}m.handledProps=["as","children","className","color","content","horizontal","inverted","items","size","widths"],m.propTypes={};var y=m;function b(t){var e=t.children,r=t.className,n=t.content,o=i()("label",r),c=Object(u.a)(b,t),s=Object(f.a)(b,t);return l.a.createElement(s,a()({},c,{className:o}),h.a.isNil(e)?n:e)}b.handledProps=["as","children","className","content"],b.propTypes={},b.create=Object(p.e)(b,function(t){return{content:t}});var g=b;function w(t){var e=t.children,r=t.className,n=t.content,o=t.text,c=i()(Object(s.a)(o,"text"),"value",r),p=Object(u.a)(w,t),d=Object(f.a)(w,t);return l.a.createElement(d,a()({},p,{className:c}),h.a.isNil(e)?n:e)}w.handledProps=["as","children","className","content","text"],w.propTypes={},w.create=Object(p.e)(w,function(t){return{content:t}});var E=w;function O(t){var e=t.children,r=t.className,n=t.color,o=t.content,c=t.floated,p=t.horizontal,d=t.inverted,v=t.label,m=t.size,y=t.text,b=t.value,w=i()("ui",n,m,Object(s.e)(c,"floated"),Object(s.a)(p,"horizontal"),Object(s.a)(d,"inverted"),"statistic",r),j=Object(u.a)(O,t),x=Object(f.a)(O,t);return h.a.isNil(e)?h.a.isNil(o)?l.a.createElement(x,a()({},j,{className:w}),E.create(b,{defaultProps:{text:y},autoGenerateKey:!1}),g.create(v,{autoGenerateKey:!1})):l.a.createElement(x,a()({},j,{className:w}),o):l.a.createElement(x,a()({},j,{className:w}),e)}O.handledProps=["as","children","className","color","content","floated","horizontal","inverted","label","size","text","value"],O.propTypes={},O.Group=y,O.Label=g,O.Value=E,O.create=Object(p.e)(O,function(t){return{content:t}});var j=e.a=O},526:function(t,e,r){"use strict";r.d(e,"c",function(){return c}),r.d(e,"d",function(){return l}),r.d(e,"b",function(){return s}),r.d(e,"a",function(){return u}),r.d(e,"e",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",l=o.asyncIterator||"@@asyncIterator",s=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 f(t,e,r,n){var o=e&&e.prototype instanceof b?e:b,i=Object.create(o.prototype),c=new A(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",m="completed",y={};function b(){}function g(){}function w(){}var E={};u(E,c,function(){return this});var O=Object.getPrototypeOf,j=O&&O(O(z([])));j&&j!==r&&n.call(j,c)&&(E=j);var x=w.prototype=b.prototype=Object.create(E);function L(t){["next","throw","return"].forEach(function(e){u(t,e,function(t){return this._invoke(e,t)})})}function N(t,e){function r(a,o,i,c){var l=h(t[a],t,o);if("throw"!==l.type){var s=l.arg,u=s.value;return u&&"object"==typeof u&&n.call(u,"__await")?e.resolve(u.__await).then(function(t){r("next",t,i,c)},function(t){r("throw",t,i,c)}):e.resolve(u).then(function(t){s.value=t,i(s)},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=p;return function(o,i){if(a===v)throw new Error("Generator is already running");if(a===m){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=k(c,n);if(l){if(l===y)continue;return l}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(a===p)throw a=m,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);a=v;var s=h(e,r,n);if("normal"===s.type){if(a=n.done?m:d,s.arg===y)continue;return{value:s.arg,done:n.done}}"throw"===s.type&&(a=m,n.method="throw",n.arg=s.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")),y;var o=h(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 S(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 A(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(S,this),this.reset(!0)}function z(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 g.prototype=w,a(x,"constructor",{value:w,configurable:!0}),a(w,"constructor",{value:g,configurable:!0}),g.displayName=u(w,s,"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,w):(t.__proto__=w,u(t,s,"GeneratorFunction")),t.prototype=Object.create(x),t},e.awrap=function(t){return{__await:t}},L(N.prototype),u(N.prototype,l,function(){return this}),e.AsyncIterator=N,e.async=function(t,r,n,a,o){void 0===o&&(o=Promise);var i=new N(f(t,r,n,a),o);return e.isGeneratorFunction(r)?i:i.next().then(function(t){return t.done?t.value:i.next()})},L(x),u(x,s,"Generator"),u(x,c,function(){return this}),u(x,"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=z,A.prototype={constructor:A,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"),s=n.call(i,"finallyLoc");if(l&&s){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(!s)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),T(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;T(r)}return a}}throw new Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:z(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),y}},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 n(),r({type:"SET_LOADER"}),(o=new FormData).set("file",t,t.name),e.next=6,a.a.post("upload_file.php",o,{headers:{"Content-type":"multipart/form-data"}});case 6:c=e.sent,r({type:"UNSET_LOADER"}),r({type:"SET_QPNAME",payload:c.data});case 9:case"end":return e.stop()}},e)}));return function(t,r){return e.apply(this,arguments)}}()},l=function(){return function(){var t=Object(n.a)(i().mark(function t(e,r){var n,c,l,s,u;return i().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return n=r(),e({type:"SET_LOADER"}),t.next=4,a.a.get("/app.php",{params:{a:"uploadScriptStats",gfilename:n.upload.fqpfilenm,univcode:n.univ.funivcode}});case 4:c=t.sent,e({type:"UNSET_LOADER"}),"object"!==typeof c.data?(l={header:"Error",content:"Something went wrong"},e(Object(o.A)(l))):0===c.data.error_code?(s={header:"Success",content:c.data.data.msg},e(Object(o.A)(s))):(u={header:"Error",content:c.data.data.msg},e(Object(o.A)(u)));case 7:case"end":return t.stop()}},t)}));return function(e,r){return t.apply(this,arguments)}}()},s=function(){return function(){var t=Object(n.a)(i().mark(function t(e,r){var n,c,l,s,u;return i().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return n=r(),e({type:"SET_LOADER"}),t.next=4,a.a.get("/app.php",{params:{a:"mastabuUpload",gfilename:n.upload.fqpfilenm,univcode:n.univ.funivcode}});case 4:c=t.sent,e({type:"UNSET_LOADER"}),"object"!==typeof c.data?(l={header:"Error",content:"Something went wrong"},e(Object(o.A)(l))):0===c.data.error_code?(s={header:"Success",content:c.data.data.msg},e(Object(o.A)(s))):(u={header:"Error",content:c.data.data.msg},e(Object(o.A)(u)));case 7:case"end":return t.stop()}},t)}));return function(e,r){return t.apply(this,arguments)}}()},u=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 n(),r({type:"SET_LOADER"}),(o=new FormData).set("file",t,t.name),e.next=6,a.a.post("upload_file_backup.php",o,{headers:{"Content-type":"multipart/form-data"}});case 6:c=e.sent,r({type:"UNSET_LOADER"}),r({type:"SET_QPNAME",payload:c.data});case 9:case"end":return e.stop()}},e)}));return function(t,r){return e.apply(this,arguments)}}()},f=function(t,e,r,c){return function(){var l=Object(n.a)(i().mark(function n(l,s){var u,f,h,p,d;return i().wrap(function(n){for(;;)switch(n.prev=n.next){case 0:return u=s(),l({type:"SET_LOADER"}),n.next=4,a.a.get("/app.php",{params:{a:"uploadbackup",date:t,type:e,title:c,desc:r,gfilename:u.upload.fqpfilenm,univcode:u.univ.funivcode,user:u.user.fmobileno+" - "+u.user.fuserid}});case 4:f=n.sent,l({type:"UNSET_LOADER"}),"object"!==typeof f.data?(h={header:"Error",content:"Something went wrong"},l(Object(o.A)(h))):0===f.data.error_code?(p={header:"Success",content:f.data.data.msg},l(Object(o.A)(p))):(d={header:"Error",content:f.data.data.msg},l(Object(o.A)(d)));case 7:case"end":return n.stop()}},n)}));return function(t,e){return l.apply(this,arguments)}}()}}}]);
//# sourceMappingURL=84.18427478.chunk.js.map