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


Current Path : /var/www/egov/build/static/js/
Upload File :
Current File : /var/www/egov/build/static/js/249.55ced74a.chunk.js.map

{"version":3,"sources":["pages/after-exam/uploadMarksCard/index.js","../node_modules/semantic-ui-react/dist/es/elements/Divider/Divider.js"],"names":["_regeneratorRuntime","e","t","r","Object","prototype","n","hasOwnProperty","o","defineProperty","value","i","Symbol","a","iterator","c","asyncIterator","u","toStringTag","define","enumerable","configurable","writable","wrap","Generator","create","Context","makeInvokeMethod","tryCatch","type","arg","call","h","l","f","s","y","GeneratorFunction","GeneratorFunctionPrototype","p","this","d","getPrototypeOf","v","values","g","defineIteratorMethods","forEach","_invoke","AsyncIterator","invoke","resolve","__await","then","callInvokeWithMethodAndArg","Error","done","method","delegate","maybeInvokeDelegate","sent","_sent","dispatchException","abrupt","return","TypeError","resultName","next","nextLoc","pushTryEntry","tryLoc","catchLoc","finallyLoc","afterLoc","tryEntries","push","resetTryEntry","completion","reset","isNaN","length","displayName","isGeneratorFunction","constructor","name","mark","setPrototypeOf","__proto__","awrap","async","Promise","keys","reverse","pop","prev","charAt","slice","stop","rval","handle","complete","finish","catch","delegateYield","connect","state","user","showError","props","handleSubmit","_ref3","_asyncToGenerator","_callee","_context","window","location","reload","_x","apply","arguments","wheight","innerHeight","React","createElement","Form","Card","fluid","Content","Header","style","display","className","Link","to","Button","basic","color","content","icon","Divider","Description","height","concat","overflowY","Dropzone","getUploadParams","_ref","file","meta","url","API","onChangeStatus","_ref2","status","remove","onSubmit","validate","_ref4","split_name","split","fexamtype","fcuruniv","accept","maxFiles","styles","dropzone","minHeight","maxHeight","_babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_0__","__webpack_require__","_babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_0___default","classnames__WEBPACK_IMPORTED_MODULE_1__","classnames__WEBPACK_IMPORTED_MODULE_1___default","react__WEBPACK_IMPORTED_MODULE_2__","react__WEBPACK_IMPORTED_MODULE_2___default","_lib__WEBPACK_IMPORTED_MODULE_3__","_lib__WEBPACK_IMPORTED_MODULE_4__","_lib__WEBPACK_IMPORTED_MODULE_5__","_lib__WEBPACK_IMPORTED_MODULE_6__","children","clearing","fitted","hidden","horizontal","inverted","section","vertical","classes","rest","ElementType","isNil","handledProps","propTypes","__webpack_exports__"],"mappings":"uPACAA,EAAA,kBAAAC,GAAA,IAAAC,EAAAD,EAAA,GAAAE,EAAAC,OAAAC,UAAAC,EAAAH,EAAAI,eAAAC,EAAAJ,OAAAK,gBAAA,SAAAP,EAAAD,EAAAE,GAAAD,EAAAD,GAAAE,EAAAO,OAAAC,EAAA,mBAAAC,cAAA,GAAAC,EAAAF,EAAAG,UAAA,aAAAC,EAAAJ,EAAAK,eAAA,kBAAAC,EAAAN,EAAAO,aAAA,yBAAAC,EAAAjB,EAAAD,EAAAE,GAAA,OAAAC,OAAAK,eAAAP,EAAAD,EAAA,CAAAS,MAAAP,EAAAiB,YAAA,EAAAC,cAAA,EAAAC,UAAA,IAAApB,EAAAD,GAAA,IAAAkB,EAAA,aAAAjB,GAAAiB,EAAA,SAAAjB,EAAAD,EAAAE,GAAA,OAAAD,EAAAD,GAAAE,GAAA,SAAAoB,EAAArB,EAAAD,EAAAE,EAAAG,GAAA,IAAAK,EAAAV,KAAAI,qBAAAmB,EAAAvB,EAAAuB,EAAAX,EAAAT,OAAAqB,OAAAd,EAAAN,WAAAU,EAAA,IAAAW,EAAApB,GAAA,WAAAE,EAAAK,EAAA,WAAAH,MAAAiB,EAAAzB,EAAAC,EAAAY,KAAAF,EAAA,SAAAe,EAAA1B,EAAAD,EAAAE,GAAA,WAAA0B,KAAA,SAAAC,IAAA5B,EAAA6B,KAAA9B,EAAAE,IAAA,MAAAD,GAAA,OAAA2B,KAAA,QAAAC,IAAA5B,IAAAD,EAAAsB,OAAA,IAAAS,EAAA,iBAAAC,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L,EAAAnK,EAAAuK,GAAAE,EAAAN,EAAA,KAAAO,EAAAP,EAAA,KAAAQ,EAAAR,EAAA,KAAAS,EAAAT,EAAA,KASA,SAAA9B,EAAA/B,GACA,IAAAuE,EAAAvE,EAAAuE,SACAhD,EAAAvB,EAAAuB,UACAiD,EAAAxE,EAAAwE,SACA3C,EAAA7B,EAAA6B,QACA4C,EAAAzE,EAAAyE,OACAC,EAAA1E,EAAA0E,OACAC,EAAA3E,EAAA2E,WACAC,EAAA5E,EAAA4E,SACAC,EAAA7E,EAAA6E,QACAC,EAAA9E,EAAA8E,SACAC,EAAgBf,IAAE,KAAOxK,OAAA2K,EAAA,EAAA3K,CAAUgL,EAAA,YAAwBhL,OAAA2K,EAAA,EAAA3K,CAAUiL,EAAA,UAAoBjL,OAAA2K,EAAA,EAAA3K,CAAUkL,EAAA,UAAoBlL,OAAA2K,EAAA,EAAA3K,CAAUmL,EAAA,cAA4BnL,OAAA2K,EAAA,EAAA3K,CAAUoL,EAAA,YAAwBpL,OAAA2K,EAAA,EAAA3K,CAAUqL,EAAA,WAAsBrL,OAAA2K,EAAA,EAAA3K,CAAUsL,EAAA,sBAAAvD,GACzOyD,EAAaxL,OAAA4K,EAAA,EAAA5K,CAAiBuI,EAAA/B,GAC9BiF,EAAoBzL,OAAA6K,EAAA,EAAA7K,CAAcuI,EAAA/B,GAClC,OAASkE,EAAAjK,EAAK8G,cAAAkE,EAA4BnB,IAAQ,GAAGkB,EAAA,CACrDzD,UAAAwD,IACMT,EAAA,EAAaY,MAAAX,GAAA1C,EAAA0C,GAEnBxC,EAAAoD,aAAA,kHACApD,EAAAqD,UAuBC,GACcC,EAAA","file":"static/js/249.55ced74a.chunk.js","sourcesContent":["import React from \"react\";\r\nimport { Card, Divider, Button, Form } from \"semantic-ui-react\";\r\nimport { connect } from \"react-redux\";\r\nimport { showError } from \"../../../actions\";\r\nimport Dropzone from \"react-dropzone-uploader\";\r\nimport \"react-dropzone-uploader/dist/styles.css\";\r\nimport { Link } from \"react-router-dom\";\r\nimport { SPAPI, ReportAPI, API } from \"../../../apis/consts\";\r\n\r\nconst uploadMarksCard = (props) => {\r\n  const getUploadParams = ({ file, meta }) => {\r\n    return { url: API + \"/upload_mc.php\" };\r\n  };\r\n\r\n  const handleChangeStatus = ({ meta, remove }, status) => {};\r\n\r\n  const handleSubmit = async (e) => {\r\n    window.location.reload();\r\n  };\r\n\r\n  const validatefile = ({ file, meta }) => {\r\n    const name = meta.name;\r\n    const split_name = name.split(\"_\");\r\n    const fexamtype = split_name[5].split(\".\");\r\n    if (\r\n      split_name[0] !== \"MC\" ||\r\n      split_name[1] !== props.user.fcuruniv ||\r\n      split_name[2].length != 8 ||\r\n      split_name[3].length != 1 ||\r\n      split_name[4].length != 4 ||\r\n      fexamtype[0].length != 1\r\n    ) {\r\n      return \"INVALID FILE NAMING FORMAT (eg:MC_041_A18XXXX1_A_2018_2.pdf)\";\r\n    }\r\n    return false;\r\n  };\r\n\r\n  const renderHeader = () => {\r\n    return (\r\n      <Card.Header style={{ display: \"flex\" }}>\r\n        <h4>Upload Marks Cards</h4>\r\n        <div className=\"ml-auto\">\r\n          <Link to=\"/dashboard\">\r\n            <Button basic color=\"red\" content=\"Exit\" icon=\"home\" />\r\n          </Link>\r\n        </div>\r\n      </Card.Header>\r\n    );\r\n  };\r\n  var wheight = (window.innerHeight * 70) / 100;\r\n  return (\r\n    <Form>\r\n      <Card fluid>\r\n        <Card.Content>\r\n          {renderHeader()}\r\n          <Divider />\r\n          <Card.Description\r\n            style={{ height: `${wheight}px`, overflowY: \"auto\" }}\r\n          >\r\n            <Dropzone\r\n              getUploadParams={getUploadParams}\r\n              onChangeStatus={handleChangeStatus}\r\n              onSubmit={handleSubmit}\r\n              validate={validatefile}\r\n              accept=\"application/pdf\"\r\n              maxFiles={50}\r\n              styles={{ dropzone: { minHeight: 200, maxHeight: wheight - 10 } }}\r\n            />\r\n          </Card.Description>\r\n        </Card.Content>\r\n      </Card>\r\n    </Form>\r\n  );\r\n};\r\n\r\nconst mapStateToProps = (state) => {\r\n  return {\r\n    user: state.user,\r\n  };\r\n};\r\nexport default connect(mapStateToProps, {\r\n  showError,\r\n})(uploadMarksCard);\r\n","import _extends from \"@babel/runtime/helpers/extends\";\nimport cx from 'classnames';\nimport PropTypes from 'prop-types';\nimport React from 'react';\nimport { childrenUtils, customPropTypes, getElementType, getUnhandledProps, useKeyOnly } from '../../lib';\n/**\n * A divider visually segments content into groups.\n */\n\nfunction Divider(props) {\n  var children = props.children,\n    className = props.className,\n    clearing = props.clearing,\n    content = props.content,\n    fitted = props.fitted,\n    hidden = props.hidden,\n    horizontal = props.horizontal,\n    inverted = props.inverted,\n    section = props.section,\n    vertical = props.vertical;\n  var classes = cx('ui', useKeyOnly(clearing, 'clearing'), useKeyOnly(fitted, 'fitted'), useKeyOnly(hidden, 'hidden'), useKeyOnly(horizontal, 'horizontal'), useKeyOnly(inverted, 'inverted'), useKeyOnly(section, 'section'), useKeyOnly(vertical, 'vertical'), 'divider', className);\n  var rest = getUnhandledProps(Divider, props);\n  var ElementType = getElementType(Divider, props);\n  return React.createElement(ElementType, _extends({}, rest, {\n    className: classes\n  }), childrenUtils.isNil(children) ? content : children);\n}\nDivider.handledProps = [\"as\", \"children\", \"className\", \"clearing\", \"content\", \"fitted\", \"hidden\", \"horizontal\", \"inverted\", \"section\", \"vertical\"];\nDivider.propTypes = process.env.NODE_ENV !== \"production\" ? {\n  /** An element type to render as (string or function). */\n  as: customPropTypes.as,\n  /** Primary content. */\n  children: PropTypes.node,\n  /** Additional classes. */\n  className: PropTypes.string,\n  /** Divider can clear the content above it. */\n  clearing: PropTypes.bool,\n  /** Shorthand for primary content. */\n  content: customPropTypes.contentShorthand,\n  /** Divider can be fitted without any space above or below it. */\n  fitted: PropTypes.bool,\n  /** Divider can divide content without creating a dividing line. */\n  hidden: PropTypes.bool,\n  /** Divider can segment content horizontally. */\n  horizontal: PropTypes.bool,\n  /** Divider can have its colours inverted. */\n  inverted: PropTypes.bool,\n  /** Divider can provide greater margins to divide sections of content. */\n  section: PropTypes.bool,\n  /** Divider can segment content vertically. */\n  vertical: PropTypes.bool\n} : {};\nexport default Divider;"],"sourceRoot":""}