0xV3NOMx
Linux ip-172-26-7-228 5.4.0-1103-aws #111~18.04.1-Ubuntu SMP Tue May 23 20:04:10 UTC 2023 x86_64



Your IP : 18.116.118.214


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

(window.webpackJsonp=window.webpackJsonp||[]).push([[153],{1056:function(e,t,a){"use strict";a.r(t);var n=a(41),r=a.n(n),c=a(68),i=a(1),l=a.n(i),o=a(1139),s=a(1106),u=a(1098),d=a(272),m=a(104),p=a(266),h=a(379),f=a.n(h),v=(a(380),a(858)),b=a(271);t.default=Object(m.b)(function(e){return{user:e.user}},{showError:p.w})(function(e){var t=function(){var e=Object(c.a)(r.a.mark(function e(t){return r.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:window.location.reload();case 1:case"end":return e.stop()}},e)}));return function(t){return e.apply(this,arguments)}}(),a=70*window.innerHeight/100;return l.a.createElement(u.a,null,l.a.createElement(o.a,{fluid:!0},l.a.createElement(o.a.Content,null,l.a.createElement(o.a.Header,{style:{display:"flex"}},l.a.createElement("h4",null,"Upload Marks Cards"),l.a.createElement("div",{className:"ml-auto"},l.a.createElement(v.a,{to:"/dashboard"},l.a.createElement(s.a,{basic:!0,color:"red",content:"Exit",icon:"home"})))),l.a.createElement(d.a,null),l.a.createElement(o.a.Description,{style:{height:"".concat(a,"px"),overflowY:"auto"}},l.a.createElement(f.a,{getUploadParams:function(e){return e.file,e.meta,{url:b.a+"/upload_mc.php"}},onChangeStatus:function(e,t){var a=e.meta;e.remove,console.log(t,a)},onSubmit:t,validate:function(t){t.file;var a=t.meta.name.split("_"),n=a[5].split(".");return("MC"!==a[0]||a[1]!==e.user.fcuruniv||8!=a[2].length||1!=a[3].length||4!=a[4].length||1!=n[0].length)&&"INVALID FILE NAMING FORMAT (eg:MC_041_A18XXXX1_A_2018_2.pdf)"},accept:"application/pdf",maxFiles:50,styles:{dropzone:{minHeight:200,maxHeight:a-10}}})))))})},272:function(e,t,a){"use strict";var n=a(268),r=a.n(n),c=a(265),i=a.n(c),l=a(1),o=a.n(l),s=a(333),u=a(551),d=a(549),m=a(267);function p(e){var t=e.children,a=e.className,n=e.clearing,c=e.content,l=e.fitted,h=e.hidden,f=e.horizontal,v=e.inverted,b=e.section,g=e.vertical,w=i()("ui",Object(s.a)(n,"clearing"),Object(s.a)(l,"fitted"),Object(s.a)(h,"hidden"),Object(s.a)(f,"horizontal"),Object(s.a)(v,"inverted"),Object(s.a)(b,"section"),Object(s.a)(g,"vertical"),"divider",a),E=Object(u.a)(p,e),O=Object(d.a)(p,e);return o.a.createElement(O,r()({},E,{className:w}),m.a.isNil(t)?c:t)}p.handledProps=["as","children","className","clearing","content","fitted","hidden","horizontal","inverted","section","vertical"],p.propTypes={},t.a=p}}]);
//# sourceMappingURL=153.42f2bbc9.chunk.js.map