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


Current Path : /var/www/tdvsapp/static/js/
Upload File :
Current File : /var/www/tdvsapp/static/js/15.12754be9.chunk.js.map

{"version":3,"sources":["views/barcode/dropZone.js"],"names":["_regeneratorRuntime","exports","Op","Object","prototype","hasOwn","hasOwnProperty","defineProperty","obj","key","desc","value","$Symbol","Symbol","iteratorSymbol","iterator","asyncIteratorSymbol","asyncIterator","toStringTagSymbol","toStringTag","define","enumerable","configurable","writable","err","wrap","innerFn","outerFn","self","tryLocsList","protoGenerator","Generator","generator","create","context","Context","makeInvokeMethod","tryCatch","fn","arg","type","call","ContinueSentinel","GeneratorFunction","GeneratorFunctionPrototype","IteratorPrototype","this","getProto","getPrototypeOf","NativeIteratorPrototype","values","Gp","defineIteratorMethods","forEach","method","_invoke","AsyncIterator","PromiseImpl","previousPromise","callInvokeWithMethodAndArg","resolve","reject","invoke","record","result","__await","then","unwrapped","error","state","Error","doneResult","delegate","delegateResult","maybeInvokeDelegate","sent","_sent","dispatchException","abrupt","done","methodName","undefined","return","TypeError","info","resultName","next","nextLoc","pushTryEntry","locs","entry","tryLoc","catchLoc","finallyLoc","afterLoc","tryEntries","push","resetTryEntry","completion","reset","iterable","iteratorMethod","isNaN","length","i","displayName","isGeneratorFunction","genFun","ctor","constructor","name","mark","setPrototypeOf","__proto__","awrap","async","Promise","iter","keys","val","object","reverse","pop","skipTempReset","prev","charAt","slice","stop","rootRecord","rval","exception","handle","loc","caught","hasCatch","hasFinally","finallyEntry","complete","finish","catch","thrown","delegateYield","BarcodeDropZone","props","getUploadParams","_ref2","_Users_shivu_Documents_work_tdvs_react_node_modules_babel_preset_react_app_node_modules_babel_runtime_helpers_esm_asyncToGenerator__WEBPACK_IMPORTED_MODULE_0__","_callee","_ref","_context","file","meta","url","_x","apply","arguments","handleSubmit","_ref4","_callee2","files","allFiles","_context2","f","remove","_x2","_x3","wheight","window","innerHeight","react__WEBPACK_IMPORTED_MODULE_1___default","a","createElement","style","width","margin","semantic_ui_react__WEBPACK_IMPORTED_MODULE_2__","fluid","Content","Header","display","semantic_ui_react__WEBPACK_IMPORTED_MODULE_3__","Description","height","concat","overflowY","react_dropzone_uploader__WEBPACK_IMPORTED_MODULE_4___default","onChangeStatus","_ref3","status","onSubmit","maxFiles","styles","dropzone","minHeight","maxHeight"],"mappings":"qMACAA,EAAA,kBAAAC,GAAA,IAAAA,EAAA,GAAAC,EAAAC,OAAAC,UAAAC,EAAAH,EAAAI,eAAAC,EAAAJ,OAAAI,gBAAA,SAAAC,EAAAC,EAAAC,GAAAF,EAAAC,GAAAC,EAAAC,OAAAC,EAAA,mBAAAC,cAAA,GAAAC,EAAAF,EAAAG,UAAA,aAAAC,EAAAJ,EAAAK,eAAA,kBAAAC,EAAAN,EAAAO,aAAA,yBAAAC,EAAAZ,EAAAC,EAAAE,GAAA,OAAAR,OAAAI,eAAAC,EAAAC,EAAA,CAAAE,QAAAU,YAAA,EAAAC,cAAA,EAAAC,UAAA,IAAAf,EAAAC,GAAA,IAAAW,EAAA,aAAAI,GAAAJ,EAAA,SAAAZ,EAAAC,EAAAE,GAAA,OAAAH,EAAAC,GAAAE,GAAA,SAAAc,EAAAC,EAAAC,EAAAC,EAAAC,GAAA,IAAAC,EAAAH,KAAAvB,qBAAA2B,EAAAJ,EAAAI,EAAAC,EAAA7B,OAAA8B,OAAAH,EAAA1B,WAAA8B,EAAA,IAAAC,EAAAN,GAAA,WAAAtB,EAAAyB,EAAA,WAAArB,MAAAyB,EAAAV,EAAAE,EAAAM,KAAAF,EAAA,SAAAK,EAAAC,EAAA9B,EAAA+B,GAAA,WAAAC,KAAA,SAAAD,IAAAD,EAAAG,KAAAjC,EAAA+B,IAAA,MAAAf,GAAA,OAAAgB,KAAA,QAAAD,IAAAf,IAAAvB,EAAAwB,OAAA,IAAAiB,EAAA,YAAAX,KAAA,SAAAY,KAAA,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AKA,EAAEC,WAAU,wBAAAF,EAAAlC,SAAA+B,MACrC,gBAHiBM,EAAAC,GAAA,OAAAR,EAAAH,MAAA5G,KAAA6G,YAAA,GAwBdW,EAAgC,GAArBC,OAAOC,YAAoB,IAC1C,OACEC,EAAAC,EAAAC,cAAA,OAAKC,MAAO,CAAEC,MAAO,MAAOC,OAAQ,YAClCL,EAAAC,EAAAC,cAACI,EAAA,EAAI,CAACC,OAAK,GACTP,EAAAC,EAAAC,cAACI,EAAA,EAAKE,QAAO,KATfR,EAAAC,EAAAC,cAACI,EAAA,EAAKG,OAAM,CAACN,MAAO,CAAEO,QAAS,SAC7BV,EAAAC,EAAAC,cAAA,UAAI,mBAUFF,EAAAC,EAAAC,cAACS,EAAA,EAAO,MACRX,EAAAC,EAAAC,cAACI,EAAA,EAAKM,YAAW,CACfT,MAAO,CAAEU,OAAM,GAAAC,OAAKjB,EAAO,MAAMkB,UAAW,SAE5Cf,EAAAC,EAAAC,cAACc,EAAAf,EAAQ,CACP1B,gBAAiBA,EACjB0C,eAtCe,SAAHC,EAAsBC,GAAZD,EAAJpC,KAAYoC,EAANxB,QAuCxB0B,SAAUjC,EAEVkC,SAAU,KACVC,OAAQ,CACNC,SAAU,CAAEC,UAAW,MAAOC,UAAW5B,EAAU","file":"static/js/15.12754be9.chunk.js","sourcesContent":["import React from \"react\";\nimport { Card, Divider, Button } from \"semantic-ui-react\";\nimport Dropzone from \"react-dropzone-uploader\";\nimport \"react-dropzone-uploader/dist/styles.css\";\nimport Compress from \"compress.js\";\n\nconst BarcodeDropZone = (props) => {\n  const getUploadParams = async ({ file, meta }) => {\n    return {\n      url: \"http://app.universitysolutions.in/upload/async-page?univcode=000\",\n    };\n  };\n\n  const handleChangeStatus = ({ meta, remove }, status) => {};\n\n  const handleSubmit = async (files, allFiles) => {\n    // await props.saveUploadedPhotocopy(files.map(f => f.meta));\n    allFiles.forEach((f) => f.remove());\n  };\n\n  const validatefile = ({ file, meta }) => {\n    const name = meta.name;\n    const split_name = name.split(\"_\");\n    if (\n      split_name[0] !== props.user.fcuruniv ||\n      split_name[1] != props.user.fyear ||\n      split_name[2] != props.user.fexamtype\n    ) {\n    }\n    return false;\n  };\n\n  const renderHeader = () => {\n    return (\n      <Card.Header style={{ display: \"flex\" }}>\n        <h4>Upload Leadger</h4>\n      </Card.Header>\n    );\n  };\n  var wheight = (window.innerHeight * 80) / 100;\n  return (\n    <div style={{ width: \"90%\", margin: \"2% auto\" }}>\n      <Card fluid>\n        <Card.Content>\n          {renderHeader()}\n          <Divider />\n          <Card.Description\n            style={{ height: `${wheight}px`, overflowY: \"auto\" }}\n          >\n            <Dropzone\n              getUploadParams={getUploadParams}\n              onChangeStatus={handleChangeStatus}\n              onSubmit={handleSubmit}\n              // validate={validatefile}\n              maxFiles={1050}\n              styles={{\n                dropzone: { minHeight: \"90%\", maxHeight: wheight - 10 },\n              }}\n            />\n          </Card.Description>\n        </Card.Content>\n      </Card>\n    </div>\n  );\n};\n\nexport default BarcodeDropZone;\n"],"sourceRoot":""}