@dropzone-ui/react
Version:
The best and most complete React library for managing file uploads. Multilanguage support. Server side support. Material design styles. Code generator on webpage.
15 lines (13 loc) • 109 kB
JavaScript
function e(e){if(!e||"undefined"==typeof window)return;const t=document.createElement("style");return t.setAttribute("type","text/css"),t.innerHTML=e,document.head.appendChild(t),e}import t,{useState as n,useEffect as a,Fragment as r,useRef as i}from"react";import o from"axios";var c=function(){function e(){}return e.createFile=function(e,t,n){var a=new File([],e,{type:n});return Object.defineProperty(a,"size",{get:function(){return t}}),a},e.create_aac=function(t){return e.createFile("acc_audio-file-with-large-name.aac",t||3516516,"audio/aac")},e.create_abw=function(t){return e.createFile("abiword-file-with-large-name.abw",t||3516516,"application/x-abiword")},e.create_freearc=function(t){return e.createFile("freearc-file-with-large-name.arc",t||3516516,"application/x-freearc")},e.create_avi=function(t){return e.createFile("avi-file-with-large-name.avi",t||3516516,"video/x-msvideo")},e.create_azw=function(t){return e.createFile("amazon_kindle_ebook-file-with-large-name.azw",t||3516516,"application/vnd.amazon.ebook")},e.create_octet=function(t){return e.createFile("binary_octet_stream-file-with-large-name.bin",t||3516516,"application/octet-stream")},e.create_bmp=function(t){return e.createFile("bit_map-file-with-large-name.bmp",t||3516516,"image/bmp")},e.create_bz=function(t){return e.createFile("x_bzip-file-with-large-name.bz",t||3516516,"application/x-bzip")},e.create_bz2=function(t){return e.createFile("x_bzip_2-file-with-large-name.bz2",t||3516516,"application/x-bzip2")},e.create_cda=function(t){return e.createFile("cd_audio-file-with-large-name.cda",t||3516516,"application/x-cdf")},e.create_csh=function(t){return e.createFile("test-file-with-large-name.csh",t||3516516,"application/x-csh")},e.create_css=function(t){return e.createFile("test-file-with-large-name.css",t||3516516,"text/css")},e.create_csv=function(t){return e.createFile("test-file-with-large-name.csv",t||3516516,"text/csv")},e.create_doc=function(t){return e.createFile("test-file-with-large-name.doc",t||3516516,"application/msword")},e.create_docx=function(t){return e.createFile("test-file-with-large-name.docx",t||3516516,"application/vnd.openxmlformats-officedocument.wordprocessingml.document")},e.create_eot=function(t){return e.createFile("test-file-with-large-name.eot",t||3516516,"application/vnd.ms-fontobject")},e.create_epub=function(t){return e.createFile("test-file-with-large-name.epub",t||3516516,"application/epub+zip")},e.create_gzip=function(t){return e.createFile("test-file-with-large-name.gz",t||3516516,"application/gzip")},e.create_gif=function(t){return e.createFile("test-file-with-large-name.gif",t||3516516,"image/gif")},e.create_htm=function(t){return e.createFile("test-file-with-large-name.htm",t||3516516,"text/html")},e.create_html=function(t){return e.createFile("test-file-with-large-name.html",t||3516516,"text/html")},e.create_ico=function(t){return e.createFile("test-file-with-large-name.ico",t||3516516,"image/vnd.microsoft.icon")},e.create_icalendar=function(t){return e.createFile("test-file-with-large-name.ics",t||3516516,"text/calendar")},e.create_jar=function(t){return e.createFile("test-file-with-large-name.jar",t||3516516,"application/java-archive")},e.create_jpeg=function(t){return e.createFile("test-file-with-large-name.jpeg",t||3516516,"image/jpeg")},e.create_jpg=function(t){return e.createFile("test-file-with-large-name.jpg",t||3516516,"image/jpeg")},e.create_js=function(t){return e.createFile("test-file-with-large-name.js",t||3516516,"text/javascript")},e.create_json=function(t){return e.createFile("test-file-with-large-name.json",t||3516516,"application/json")},e.create_jsonld=function(t){return e.createFile("test-file-with-large-name.jsonld",t||3516516,"application/ld+json")},e.create_mid=function(t){return e.createFile("test-file-with-large-name.mid",t||3516516,"audio/midi")},e.create_x_mid=function(t){return e.createFile("test-file-with-large-name.mid",t||3516516,"audio/x-midi")},e.create_midi=function(t){return e.createFile("test-file-with-large-name.midi",t||3516516,"audio/x-midi")},e.create_x_midi=function(t){return e.createFile("test-file-with-large-name.midi",t||3516516,"audio/x-midi")},e.create_mjs=function(t){return e.createFile("test-file-with-large-name.mjs",t||3516516,"text/javascript")},e.create_mp3=function(t){return e.createFile("test-file-with-large-name.mp3",t||3516516,"audio/mpeg")},e.create_mp4=function(t){return e.createFile("test-file-with-large-name.mp4",t||3516516,"video/mp4")},e.create_mpeg=function(t){return e.createFile("test-file-with-large-name.mpeg",t||3516516,"video/mpeg")},e.create_mpkg=function(t){return e.createFile("test-file-with-large-name.mpkg",t||3516516,"application/vnd.apple.installer+xml")},e.create_odp=function(t){return e.createFile("test-file-with-large-name.odp",t||3516516,"application/vnd.oasis.opendocument.presentation")},e.create_ods=function(t){return e.createFile("test-file-with-large-name.ods",t||3516516,"application/vnd.oasis.opendocument.spreadsheet")},e.create_odt=function(t){return e.createFile("test-file-with-large-name.odt",t||3516516,"application/vnd.oasis.opendocument.text")},e.create_oga=function(t){return e.createFile("test-file-with-large-name.oga",t||3516516,"audio/ogg")},e.create_ogv=function(t){return e.createFile("test-file-with-large-name.ogv",t||3516516,"video/ogg")},e.create_ogx=function(t){return e.createFile("test-file-with-large-name.ogx",t||3516516,"application/ogg")},e.create_opus=function(t){return e.createFile("test-file-with-large-name.opus",t||3516516,"audio/opus")},e.create_otf=function(t){return e.createFile("test-file-with-large-name.otf",t||3516516,"font/otf")},e.create_png=function(t){return e.createFile("test-file-with-large-name.png",t||3516516,"image/png")},e.create_pdf=function(t){return e.createFile("test-file-with-large-name.pdf",t||3516516,"application/pdf")},e.create_php=function(t){return e.createFile("test-file-with-large-name.php",t||3516516,"application/x-httpd-php")},e.create_ppt=function(t){return e.createFile("test-file-with-large-name.ppt",t||3516516,"application/vnd.ms-powerpoint")},e.create_pptx=function(t){return e.createFile("test-file-with-large-name.pptx",t||3516516,"application/vnd.openxmlformats-officedocument.presentationml.presentation")},e.create_rar=function(t){return e.createFile("test-file-with-large-name.rar",t||3516516,"application/vnd.rar")},e.create_rtf=function(t){return e.createFile("test-file-with-large-name.rtf",t||3516516,"application/rtf")},e.create_sh=function(t){return e.createFile("test-file-with-large-name.sh",t||3516516,"application/x-sh")},e.create_svg=function(t){return e.createFile("test-file-with-large-name.svg",t||3516516,"image/svg+xml")},e.create_swf=function(t){return e.createFile("test-file-with-large-name.swf",t||3516516,"application/x-shockwave-flash")},e.create_tar=function(t){return e.createFile("test-file-with-large-name.tar",t||3516516,"application/x-tar")},e.create_tif=function(t){return e.createFile("test-file-with-large-name.tif",t||3516516,"image/tiff")},e.create_tiff=function(t){return e.createFile("test-file-with-large-name.tiff",t||3516516,"image/tiff")},e.create_ts=function(t){return e.createFile("mp2t_video-file-with-large-name.ts",t||3516516,"video/mp2t")},e.create_ttf=function(t){return e.createFile("test-file-with-large-name.ttf",t||3516516,"font/ttf")},e.create_text=function(t){return e.createFile("test-file-with-large-name.txt",t||3516516,"text/plain")},e.create_typescript=function(t){return e.createFile("typescript-file-with-large-name.ts",t||3516516,"text/plain")},e.create_vsd=function(t){return e.createFile("ms_visio-file-with-large-name.vsd",t||3516516,"application/vnd.visio")},e.create_wav=function(t){return e.createFile("wav_audio-file-with-large-name.wav",t||3516516,"audio/wav")},e.create_weba=function(t){return e.createFile("web_audio-file-with-large-name.weba",t||3516516,"audio/webm")},e.create_webm=function(t){return e.createFile("web_video-file-with-large-name.webm",t||3516516,"video/webm")},e.create_webp=function(t){return e.createFile("web_image-file-with-large-name.webp",t||3516516,"image/webp")},e.create_woff=function(t){return e.createFile("test-file-with-large-name.woff",t||3516516,"font/woff")},e.create_woff2=function(t){return e.createFile("test-file-with-large-name.woff2",t||3516516,"font/woff2")},e.create_xhtml=function(t){return e.createFile("test-file-with-large-name.xhtml",t||3516516,"application/xhtml+xml")},e.create_xlsx=function(t){return e.createFile("test-file-with-large-name.xls",t||3516516,"application/vnd.ms-excel")},e.create_xls=function(t){return e.createFile("test-file-with-large-name.xlsx",t||3516516,"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet")},e.create_xml=function(t){return e.createFile("xml-file-with-large-name.xml",t||3516516,"application/xml")},e.create_xml_txt=function(t){return e.createFile("xml_plain_text-file-with-large-name.xml",t||3516516,"application/xml")},e.create_xul=function(t){return e.createFile("test-file-with-large-name.xul",t||3516516,"application/vnd.mozilla.xul+xml")},e.create_zip=function(t){return e.createFile("zip-file-with-large-name.zip",t||3516516,"application/zip")},e.create_3gp=function(t){return e.createFile("3gp_video-file-with-large-name.3gp",t||3516516,"video/3gpp")},e.create_3gp2=function(t){return e.createFile("3gp2_video-file-with-large-name.3g2",t||3516516,"video/3gpp2")},e.create_3gp_a=function(t){return e.createFile("3gp_audio-file-with-large-name.3gp",t||3516516,"audio/3gpp")},e.create_3gp_v=function(t){return e.createFile("3gp_audio-file-with-large-name.3gp2",t||3516516,"audio/3gpp2")},e.create_7z=function(t){return e.createFile("seven_zip-file-with-large-name.7z",t||3516516,"application/x-7z-compressed")},e.create_python=function(t){return e.createFile("python-file-with-large-name.py",t||3516516,"text/plain")},e.create_java=function(t){return e.createFile("java-file-with-large-name.java",t||3516516,"text/plain")},e.create_react=function(t){return e.createFile("react_jsx-file-with-large-name.jsx",t||3516516,"text/plain")},e.create_vue=function(t){return e.createFile("vue-file-with-large-name.vue",t||3516516,"text/plain")},e.createFileListMiscelanious=function(t){var n=[];return n.push(e.create_aac(t)),n.push(e.create_abw(t)),n.push(e.create_freearc(t)),n.push(e.create_avi(t)),n.push(e.create_azw(t)),n.push(e.create_octet(t)),n.push(e.create_bmp(t)),n.push(e.create_bz(t)),n.push(e.create_bz2(t)),n.push(e.create_cda(t)),n.push(e.create_csh(t)),n.push(e.create_css(t)),n.push(e.create_csv(t)),n.push(e.create_doc(t)),n.push(e.create_docx(t)),n.push(e.create_eot(t)),n.push(e.create_epub(t)),n.push(e.create_gzip(t)),n.push(e.create_gif(t)),n.push(e.create_htm(t)),n.push(e.create_html(t)),n.push(e.create_ico(t)),n.push(e.create_icalendar(t)),n.push(e.create_jar(t)),n.push(e.create_jpeg(t)),n.push(e.create_jpg(t)),n.push(e.create_js(t)),n.push(e.create_json(t)),n.push(e.create_jsonld(t)),n.push(e.create_mid(t)),n.push(e.create_midi(t)),n.push(e.create_x_mid(t)),n.push(e.create_x_midi(t)),n.push(e.create_mjs(t)),n.push(e.create_mp3(t)),n.push(e.create_mp4(t)),n.push(e.create_mpeg(t)),n.push(e.create_mpkg(t)),n.push(e.create_odp(t)),n.push(e.create_ods(t)),n.push(e.create_odt(t)),n.push(e.create_oga(t)),n.push(e.create_ogv(t)),n.push(e.create_ogx(t)),n.push(e.create_opus(t)),n.push(e.create_otf(t)),n.push(e.create_png(t)),n.push(e.create_pdf(t)),n.push(e.create_php(t)),n.push(e.create_ppt(t)),n.push(e.create_pptx(t)),n.push(e.create_rar(t)),n.push(e.create_rtf(t)),n.push(e.create_sh(t)),n.push(e.create_svg(t)),n.push(e.create_swf(t)),n.push(e.create_tar(t)),n.push(e.create_tif(t)),n.push(e.create_tiff(t)),n.push(e.create_ts(t)),n.push(e.create_ttf(t)),n.push(e.create_text(t)),n.push(e.create_typescript(t)),n.push(e.create_vsd(t)),n.push(e.create_wav(t)),n.push(e.create_weba(t)),n.push(e.create_webm(t)),n.push(e.create_webp(t)),n.push(e.create_woff(t)),n.push(e.create_woff2(t)),n.push(e.create_xhtml(t)),n.push(e.create_xlsx(t)),n.push(e.create_xls(t)),n.push(e.create_xml(t)),n.push(e.create_xml_txt(t)),n.push(e.create_xul(t)),n.push(e.create_zip(t)),n.push(e.create_python(t)),n.push(e.create_java(t)),n.push(e.create_react(t)),n.push(e.create_vue(t)),n},e}(),l=function(e,t,n){return void 0===e&&(e="pdf-file-with-large-name.pdf"),void 0===t&&(t=455005),void 0===n&&(n="application/pdf"),c.createFile(e,t,n)},s=function(e,t,n){return void 0===e&&(e="word-file-with-large-name.docx"),void 0===t&&(t=4555),void 0===n&&(n="application/vnd.openxmlformats-officedocument.wordprocessingml.document"),c.createFile(e,t,n)},u=function(e){return c.createFileListMiscelanious(e)},d=function(e,t,n){return void 0===e&&(e="png-image-file-with-large-name.png"),void 0===t&&(t=455555),void 0===n&&(n="image/png"),c.createFile(e,t,n)},p=function(e){return e?e<1024?e+" Bytes":e<1048576?(e/1024).toFixed(2)+" KB":e<1073741824?(e/1024/1024).toFixed(2)+" MB":e<1099511627776?(e/1024/1024/1024).toFixed(2)+" GB":(e/1024/1024/1024/1024).toFixed(2)+" TB":"0 Bytes"},f=function(e){var t=/(?:\.([^.]+))?$/.exec(e);return t?t[1]:""},m="https://user-images.githubusercontent.com/43678736/132086625-1b8f2652-1de0-4475-8c12-7da4a9973ffb.png",h="https://user-images.githubusercontent.com/43678736/132086666-ab3c505d-b2c0-4177-9a06-aed5d9c39ee4.png",g={img:"https://ssl.gstatic.com/docs/doclist/images/mediatype/icon_1_image_x16.png",video:"https://ssl.gstatic.com/docs/doclist/images/mediatype/icon_1_video_x16.png",audio:"https://ssl.gstatic.com/docs/doclist/images/mediatype/icon_1_audio_x16.png",aac:"https://user-images.githubusercontent.com/43678736/132086518-7026d4f1-ea16-4ed0-89fd-37c1aa8ac3ed.png",accdb:"https://user-images.githubusercontent.com/43678736/132086520-9bc6aa3b-51c9-4da2-9ef7-349162b86d0b.png",abw:"https://user-images.githubusercontent.com/43678736/132086519-863c63b4-917e-4471-94ff-7e15651cc14b.png",arc:"https://user-images.githubusercontent.com/43678736/132086621-3b95fb64-2533-4ccc-abcd-bd2beba572e9.png",avi:"https://user-images.githubusercontent.com/43678736/132086521-dbd6cf0d-d4d7-4b92-bb26-17e8a51a9383.png",azw:"https://user-images.githubusercontent.com/43678736/132086522-070f48e8-78a8-4294-8dbb-aab81525e164.png",octet:h,bmp:"https://user-images.githubusercontent.com/43678736/132086595-90ab7f90-f87e-4900-94d9-d0b26745df48.png",bz:"https://user-images.githubusercontent.com/43678736/132086597-e285ad5c-613a-4679-a270-493e5be4ffd9.png",bz2:"https://user-images.githubusercontent.com/43678736/132086598-623c410a-084a-4395-a448-211b2ff61cfe.png",cda:"https://user-images.githubusercontent.com/43678736/132086600-8b70a007-512d-4252-9c66-eabd3ddd6573.png",csh:"https://user-images.githubusercontent.com/43678736/132086601-e62e5d1a-d8a2-4475-a14f-85922cec9272.png",css:"https://user-images.githubusercontent.com/43678736/132086602-4c772934-f608-4f01-8459-c4622cee8ad5.png",csv:"https://user-images.githubusercontent.com/43678736/132086604-b5b019fe-572e-477e-92c2-3769a48a1304.png",docx:"https://user-images.githubusercontent.com/43678736/132086606-715ccb66-4702-4f7d-9b09-ac93ba17b643.png",drawio:"https://user-images.githubusercontent.com/43678736/132086608-bcae9d57-8e54-488c-90c4-4952ae530b5e.png",eot:"https://user-images.githubusercontent.com/43678736/132086618-397d6bd2-9fda-43ed-a135-cb40388c35af.png",epub:"https://user-images.githubusercontent.com/43678736/132086620-2586ba40-c583-4589-b1a4-8bb5b258b44d.png",gzip:"https://user-images.githubusercontent.com/43678736/132086624-89141a46-64e4-4fa0-bf69-54a0eb4d48c9.png",gif:"https://user-images.githubusercontent.com/43678736/132086622-af705a0c-2b25-4ba7-8ab6-bd69ec97f7e2.png",html:m,icalendar:"https://user-images.githubusercontent.com/43678736/132086626-38699705-1e6f-4bca-984b-03167b236faa.png",jar:"https://user-images.githubusercontent.com/43678736/132086650-f1166246-b361-4c30-a04e-9781c555d14a.png",jpeg:"https://user-images.githubusercontent.com/43678736/132086653-0487e7e2-1ee3-49e2-8cfe-3e20f1f7490a.png",javascript:"https://user-images.githubusercontent.com/43678736/132086652-4562942e-aaea-466c-968f-380fffabf3f9.png",json:"https://user-images.githubusercontent.com/43678736/132086656-6e96c815-e4e2-4ffd-9d71-57e9cc2450bc.png",jsonld:"https://user-images.githubusercontent.com/43678736/132086658-5d27d3c2-394f-43fb-b512-9b414a257875.png",midi:"https://user-images.githubusercontent.com/43678736/132086659-98f3ef6e-b9f3-4b6d-b18f-469b5334ba27.png",mp3:"https://user-images.githubusercontent.com/43678736/132086661-a5484553-06c7-4ffa-a8f9-96b57b1b0344.png",mp4:"https://user-images.githubusercontent.com/43678736/132086662-05ad1597-d5e5-4efa-833e-2876e966a745.png",mpeg:"https://user-images.githubusercontent.com/43678736/132086663-90c58955-f7fb-4bdb-ac53-92667d16d4a3.png",mpkg:"https://user-images.githubusercontent.com/43678736/132086664-9a7530e7-6d78-4ef3-a176-20cf7f57b555.png",mp2t:h,odp:"https://user-images.githubusercontent.com/43678736/132086667-6c7dcbcc-8d83-41a2-8e0a-85b09e2791ae.png",ods:"https://user-images.githubusercontent.com/43678736/132086668-9f246e91-cf2e-49cf-9617-e1fbb71abbbb.png",odt:"https://user-images.githubusercontent.com/43678736/132086669-46113762-84d1-4b32-9441-b0138ce17a5d.png",oga:"https://user-images.githubusercontent.com/43678736/145835364-2054509d-3448-4d34-921f-73dd6e297fc7.png",ogv:"https://user-images.githubusercontent.com/43678736/145835367-19172bf8-cd5a-4cbe-b512-d0de1d91f269.png",ogx:"https://user-images.githubusercontent.com/43678736/145835373-a57ef0f5-3968-483b-9f55-6d67e7f1dcea.png",opus:"https://user-images.githubusercontent.com/43678736/132086670-0f96e770-cedc-4635-a5f9-cf97894c1d7a.png",otf:"https://user-images.githubusercontent.com/43678736/132086671-02ad35ef-ec3a-4a65-abd5-5bf794dfcf7b.png",png:"https://user-images.githubusercontent.com/43678736/132086674-fdb56d02-5845-49b7-8462-6357bc963464.png",pdf:"https://user-images.githubusercontent.com/43678736/132086672-3a856fda-823d-4997-b802-c7c640e6ef44.png",php:"https://user-images.githubusercontent.com/43678736/132086673-0c4409ab-754e-4619-8cfa-179d0ccf1bd9.png",pptx:"https://user-images.githubusercontent.com/43678736/132086675-c879645d-acb4-41a6-ab3c-4e6c2048badb.png",psd:"https://user-images.githubusercontent.com/43678736/132086685-4e327c4c-a409-4b83-b36a-8d88936b314b.png",rar:"https://user-images.githubusercontent.com/43678736/132086689-fe1fef9f-d2db-455b-8f4b-09acd095f571.png",rtf:"https://user-images.githubusercontent.com/43678736/132086693-9d43571e-0c86-438f-b247-e2cb42e19e06.png",sass:"https://user-images.githubusercontent.com/43678736/132086694-4e661d6a-1118-441e-8bc3-c52fcb2133b6.png",sh:"https://user-images.githubusercontent.com/43678736/132086697-1d82d724-35b6-4f06-847a-3c59a5deda6e.png",swf:"https://user-images.githubusercontent.com/43678736/132086698-19384230-dbd7-4e05-bc69-ef4537b6aae3.png",tar:"https://user-images.githubusercontent.com/43678736/132086689-fe1fef9f-d2db-455b-8f4b-09acd095f571.png",tiff:"https://user-images.githubusercontent.com/43678736/132086700-c23461c8-6819-46e1-aecd-0a1f8d3507bb.png",ttf:"https://user-images.githubusercontent.com/43678736/132086701-c8044c09-8d95-4af1-9410-66761001d7da.png",typescript:"https://user-images.githubusercontent.com/43678736/132086702-59294337-ed99-4302-badd-316b2c1ff62f.png",text:"https://user-images.githubusercontent.com/43678736/132086699-5993a482-04f4-4915-b105-9037f527cf61.png",vsd:"https://user-images.githubusercontent.com/43678736/132086704-8fd51e7c-afa2-47a3-ab2f-d0bcd0ecae9f.png",wav:"https://user-images.githubusercontent.com/43678736/132086706-22f805d0-39d4-494b-824e-47dc75d05eb7.png",weba:"https://user-images.githubusercontent.com/43678736/132086707-e61a84de-d396-4dbf-8d1b-1d6ee19e1ac8.png",webm:"https://user-images.githubusercontent.com/43678736/132086707-e61a84de-d396-4dbf-8d1b-1d6ee19e1ac8.png",webp:"https://user-images.githubusercontent.com/43678736/132086708-21d096dd-7148-40aa-97f1-cbb099339740.png",woff:"https://user-images.githubusercontent.com/43678736/132086711-1524a3e7-3e33-4822-a34f-ff3235404045.png",wma:"https://user-images.githubusercontent.com/43678736/132086709-811d4e90-3cfa-4044-a956-aeda9c67fc92.png",wmv:"https://user-images.githubusercontent.com/43678736/132086710-c5479c6c-0249-4542-adad-48b0ef40b775.png",xhtml:m,xlsx:"https://user-images.githubusercontent.com/43678736/132086712-17e2c491-f6e4-4586-aef6-06bcc5f4b0e5.png",xml:"https://user-images.githubusercontent.com/43678736/132086715-204b5a8b-9c5a-4bac-8294-9237ebc16089.png",xul:"https://user-images.githubusercontent.com/43678736/132086716-64511d20-58cb-45a8-85df-f4d9408b469d.png",zip:"https://user-images.githubusercontent.com/43678736/132086718-a8499333-6282-4820-aa1f-4d133eb54648.png",sevenzip:"https://user-images.githubusercontent.com/43678736/132086517-72a51a12-e403-4675-bfd7-22c23affa730.png",python:"https://user-images.githubusercontent.com/43678736/132086688-8e82fae4-3a9b-49c0-bf99-77189525514c.png",java:"https://user-images.githubusercontent.com/43678736/132086650-f1166246-b361-4c30-a04e-9781c555d14a.png",react:"https://user-images.githubusercontent.com/43678736/132086691-d472576b-ec6a-4332-acd2-dd6a00b72952.png",vue:"https://user-images.githubusercontent.com/43678736/132086705-33294da1-5c0f-49f7-b890-e4857cec0a6d.png"};var v,b=function(e){return new Promise((function(t,n){try{var a=new FileReader;a.onload=function(){t(a.result)},a.readAsDataURL(e)}catch(e){n(void 0)}}))};!function(e){e.uploading="uploading",e.success="success",e.error="error"}(v||(v={}));var x=function(e,t,n){var a=F.getNextId(),r=[],i=t.maxFileSize,o=t.accept;if(i&&e.size>i){var c=n.maxSizeError;r.push(c(i))}return o&&!function(e,t){for(var n=t.name,a=t.type,r=0;r<e.length;r++){var i=e[r];if(0!==i.length){if("."===i.charAt(0)&&i.includes(f(n)))return!0;if(a&&a.length>0&&i.includes("/")&&a.includes("/")){var o=i.split("/")[0],c=i.split("/")[1],l=a.split("/")[0],s=a.split("/")[1];if(o===l){if("*"===c)return!0;if(c===s)return!0}}}}return!1}(function(e){return e&&0!==e.length?e.split(",").map((function(e){return e.trim()})):[]}(o),e)&&r.push(n.acceptError),{id:a,file:e,valid:0===r.length,errors:r}},w=function(e,t){var n=F.getNextId(),a=t(e);return{id:n,file:e,valid:a.valid,errors:a.errors}},F=function(){function e(){}return e.getNextId=function(){return e.nextId++,e.nextId},e.nextId=0,e}();function y(e,t){return Math.floor(Math.random()*(t-e))+e}var E=function(e,t,n,a){void 0===t&&(t=Math.ceil(28*Math.random())%2==0);var r=[],i=n||function(){switch(y(0,4)){case 0:return v.error;case 1:return v.uploading;case 2:return v.success;default:return}}(),o=a||"";if(t){if(!a)switch(i){case v.error:o="Upload failed. There was an error";break;case v.success:o="File was successfully upload";break;default:a=void 0}r=void 0}else{var c=y(0,3);r.push(z[c]),i=void 0,o=void 0}return{id:F.getNextId(),valid:t,file:e,uploadStatus:i,uploadMessage:o,errors:r}},z=["File is too big. Max file size allowed is 80mb.","File's type is not allowed","Max amount of files (28) has been reached"],k={defaultLabel:"Trascina qui i tuoi file",uploadingMessage:function(e){return"Caricamento di ".concat(e," file")},uploadFinished:function(e,t){return"File caricati: ".concat(e,", File rifiutati: ").concat(t)},noFilesMessage:"Nessun file valido in attesa di essere caricato",footer:{acceptAll:"Tutti i tipi di file sono accettati",acceptCustom:function(e){return"Tipi di file consentiti: ".concat(e)}},header:{uploadFilesMessage:"Caricamento",maxSizeMessage:function(e){return"Dimensione massima ".concat(e)},validFilesMessage:function(e,t){return"File ".concat(e,"/").concat(t)}},fakeuploadsuccess:"Il file è stato caricato con successo ",fakeUploadError:"Errore di caricamento del file"},C={fullInfoLayer:{name:"Nome: ",size:"Dimensione: ",type:"Tipo: "},status:{uploading:"In corso",success:"Successo",valid:"Valido",denied:"Non válido",error:"Errore"}},_={maxSizeError:function(e){return"Il file è molto grande. Il tam. il massimo è ".concat(p(e))},acceptError:"Tipo di file illegale",maxFileCount:function(e){return"Numero massimo di file (".concat(e,") raggiunto")}},A={defaultLabel:"Déposez vos fichiers ici",uploadingMessage:function(e){return"Envoi de ".concat(e," fichiers")},uploadFinished:function(e,t){return"Fichiers téléchargés : ".concat(e,", Fichiers rejetés: ").concat(t)},noFilesMessage:"Aucun fichier valide ne manque",footer:{acceptAll:"Tous types de fichiers acceptés ",acceptCustom:function(e){return"Types de fichier: ".concat(e)}},header:{uploadFilesMessage:"Envoyer",maxSizeMessage:function(e){return"Taille maximale ".concat(e)},validFilesMessage:function(e,t){return"Fichiers ".concat(e,"/").concat(t)}},fakeuploadsuccess:"Le fichier a été téléchargé avec succès",fakeUploadError:"Erreur lors du téléchargement "},N={fullInfoLayer:{name:"Le nom: ",size:"Le taille: ",type:"Le type: "},status:{uploading:"En cours",success:"Succès",valid:"Valide",denied:"Refusé",error:"Erreur"}},B={maxSizeError:function(e){return"Le fichier est très volumineux. Le tam. le maximum est de ".concat(p(e))},acceptError:"Type de fichier illégal ",maxFileCount:function(e){return"Limite de fichiers atteinte (".concat(e,")")}},D={defaultLabel:"Drop your files here",uploadingMessage:function(e){return"Uploading ".concat(e," files")},uploadFinished:function(e,t){return"Uploaded files: ".concat(e,", Rejected files: ").concat(t)},noFilesMessage:"There is no missing valid file to upload",footer:{acceptAll:"All file types accepted",acceptCustom:function(e){return"Allowed types: ".concat(e)}},header:{uploadFilesMessage:"Upload files",maxSizeMessage:function(e){return"Max file size: ".concat(e)},validFilesMessage:function(e,t){return"Files ".concat(e,"/").concat(t)}},fakeuploadsuccess:"File was successfuly uploaded",fakeUploadError:"Error on uploading. Please try again later."},M={fullInfoLayer:{name:"Name: ",size:"Size: ",type:"Type: "},status:{uploading:"Uploading",success:"Success",valid:"Valid",denied:"Not valid",error:"Error"}},S={maxSizeError:function(e){return"File is too big. Max file size allowed is ".concat(p(e))},acceptError:"File type is not allowed",maxFileCount:function(e){return"Max amount of files (".concat(e,") has been reached")}},j={defaultLabel:"Suelta tus archivos aquí",uploadingMessage:function(e){return"Subiendo ".concat(e," archivos")},uploadFinished:function(e,t){return"Archivos subidos: ".concat(e,", Archivos rechazados: ").concat(t)},noFilesMessage:"No hay archivos válidos pendientes por subir",footer:{acceptAll:"Todos los tipos de archivo aceptados",acceptCustom:function(e){return"Tipo(s) de archivo permitidos: ".concat(e)}},header:{uploadFilesMessage:"Subir",maxSizeMessage:function(e){return"Tam. máximo ".concat(e)},validFilesMessage:function(e,t){return"Archivos ".concat(e,"/").concat(t)}},fakeuploadsuccess:"El archivo se subió correctamente",fakeUploadError:"Error al subir el archivo"},L={fullInfoLayer:{name:"Nombre: ",size:"Tamaño: ",type:"Tipo: "},status:{uploading:"Subiendo",success:"Éxito",valid:"Válido",denied:"No válido",error:"Error"}},T={maxSizeError:function(e){return"El archivo es muy grande. El tam. máximo es ".concat(p(e))},acceptError:"Tipo de archivo no permitido",maxFileCount:function(e){return"Cantidad máxima de archivos (".concat(e,") alcanzada")}},R={defaultLabel:"Перетащите сюда свои файлы.",uploadingMessage:function(e){return"Выгрузка ".concat(e," файлов")},uploadFinished:function(e,t){return"Загружено файлов: ".concat(e,", отклоненных файлов: ").concat(t)},noFilesMessage:"Действительный файл не отсутствует для загрузки",footer:{acceptAll:"Принимаются все типы файлов ",acceptCustom:function(e){return"Допустимые типы: ".concat(e)}},header:{uploadFilesMessage:"Отправить",maxSizeMessage:function(e){return"макс размер: ".concat(e)},validFilesMessage:function(e,t){return"Файлы ".concat(e,"/").concat(t)}},fakeuploadsuccess:"Файл был успешно загружен",fakeUploadError:"Ошибка при загрузке"},I={fullInfoLayer:{name:"Имя: ",size:"Размер: ",type:"Tип: "},status:{uploading:"Загрузка",success:"успех",valid:"годный",denied:"выкинутый",error:"ошибка"}},H={maxSizeError:function(e){return"Файл слишком большой. Максимально допустимый размер файла - ".concat(p(e))},acceptError:"Тип файла не разрешен",maxFileCount:function(e){return"Достигнуто максимальное количество файлов (".concat(e,")")}},V={defaultLabel:"Solte seus arquivos aqui ",uploadingMessage:function(e){return"Enviando ".concat(e," arquivos")},uploadFinished:function(e,t){return"Arquivos enviados: ".concat(e,", Arquivos rejeitados: ").concat(t)},noFilesMessage:"Nenhum arquivo válido está faltando para enviar",footer:{acceptAll:"Todos os tipos de arquivo são aceitos",acceptCustom:function(e){return"Tipos permitidos: ".concat(e)}},header:{uploadFilesMessage:"Enviar",maxSizeMessage:function(e){return"Tamanho máximo: ".concat(e)},validFilesMessage:function(e,t){return"Arquivos ".concat(e,"/").concat(t)}},fakeuploadsuccess:"O arquivo foi enviado com sucesso",fakeUploadError:"Erro ao enviar"},P={fullInfoLayer:{name:"Nome: ",size:"Tamanho: ",type:"Tipo: "},status:{uploading:"Enviando",success:"Êxito",valid:"válido",denied:"Negado",error:"Erro"}},U={maxSizeError:function(e){return"O arquivo é muito grande. O tamanho máximo de arquivo permitido é ".concat(p(e))},acceptError:"O tipo de arquivo não é permitido ",maxFileCount:function(e){return"Quantidade máxima de arquivos (".concat(e,") alcançada")}},O={defaultLabel:"将您的文件放在这里",uploadingMessage:function(e){return"上传 ".concat(e," 个文件")},uploadFinished:function(e,t){return"上传文件:".concat(e,",拒绝文件:").concat(t)},noFilesMessage:"没有缺少要加载的有效文件",footer:{acceptAll:"接受所有文件类型",acceptCustom:function(e){return"允许的类型: ".concat(e)}},header:{uploadFilesMessage:"上传文件",maxSizeMessage:function(e){return"最大文件大小:".concat(e)},validFilesMessage:function(e,t){return"文档 ".concat(e,"/").concat(t)}},fakeuploadsuccess:"文件已成功上传",fakeUploadError:"上传时出错"},q={fullInfoLayer:{name:"文档名称: ",size:"尺寸: ",type:"文件类型: "},status:{uploading:"上传",success:"成功",valid:"接受的文件",denied:"被拒绝的文件",error:"错误"}},Z={maxSizeError:function(e){return"文件太大。 允许的最大文件大小为 ".concat(p(e))},acceptError:"文件类型不允许",maxFileCount:function(e){return"已达到最大文件数 (".concat(e,")")}},G={defaultLabel:"把你的文件放在這裡 ",uploadingMessage:function(e){return"上傳".concat(e,"個文件")},uploadFinished:function(e,t){return"上傳文件: ".concat(e,", 拒絕的文件:").concat(t)},noFilesMessage:"沒有缺少要上傳的有效文件",footer:{acceptAll:"接受所有文件類型",acceptCustom:function(e){return"允許的類型:".concat(e)}},header:{uploadFilesMessage:"上傳文件",maxSizeMessage:function(e){return"最大文件大小:".concat(e)},validFilesMessage:function(e,t){return" 文件 ".concat(e,"/").concat(t)}},fakeuploadsuccess:"文件已成功上傳",fakeUploadError:"上傳時出錯"},W={fullInfoLayer:{name:"文檔名稱: ",size:"文件大小: ",type:"文件類型: "},status:{uploading:"上傳",success:"成功",valid:"有效文件",denied:"無效文件",error:"錯誤"}},Y={maxSizeError:function(e){return"文件太大。 允許的最大文件大小為 ".concat(p(e))},acceptError:"文件類型不允許",maxFileCount:function(e){return"已達到最大文件數 (".concat(e,")")}},K={"ES-es":L,"EN-en":M,"FR-fr":N,"IT-it":C,"PT-pt":P,"RU-ru":I,"ZH-cn":q,"ZH-hk":W},X=function(e){switch(e){case"ES-es":return K["ES-es"];case"EN-en":default:return K["EN-en"];case"FR-fr":return K["FR-fr"];case"IT-it":return K["IT-it"];case"PT-pt":return K["PT-pt"];case"RU-ru":return K["RU-ru"];case"ZH-cn":return K["ZH-cn"];case"ZH-hk":return K["ZH-hk"]}},Q={"ES-es":j,"EN-en":D,"FR-fr":A,"IT-it":k,"PT-pt":V,"RU-ru":R,"ZH-cn":O,"ZH-hk":G},$=function(e){switch(e){case"ES-es":return Q["ES-es"];case"EN-en":default:return Q["EN-en"];case"FR-fr":return Q["FR-fr"];case"IT-it":return Q["IT-it"];case"PT-pt":return Q["PT-pt"];case"RU-ru":return Q["RU-ru"];case"ZH-cn":return Q["ZH-cn"];case"ZH-hk":return Q["ZH-hk"]}},J={"ES-es":T,"EN-en":S,"FR-fr":B,"IT-it":_,"PT-pt":U,"RU-ru":H,"ZH-cn":Z,"ZH-hk":Y},ee=function(e){switch(e){case"ES-es":return J["ES-es"];case"EN-en":default:return J["EN-en"];case"FR-fr":return J["FR-fr"];case"IT-it":return J["IT-it"];case"PT-pt":return J["PT-pt"];case"RU-ru":return J["RU-ru"];case"ZH-cn":return J["ZH-cn"];case"ZH-hk":return J["ZH-hk"]}},te=function(){return te=Object.assign||function(e){for(var t,n=1,a=arguments.length;n<a;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e},te.apply(this,arguments)};function ne(e,t,n,a){return new(n||(n=Promise))((function(r,i){function o(e){try{l(a.next(e))}catch(e){i(e)}}function c(e){try{l(a.throw(e))}catch(e){i(e)}}function l(e){var t;e.done?r(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(o,c)}l((a=a.apply(e,t||[])).next())}))}function ae(e,t){var n,a,r,i,o={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return i={next:c(0),throw:c(1),return:c(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function c(i){return function(c){return function(i){if(n)throw new TypeError("Generator is already executing.");for(;o;)try{if(n=1,a&&(r=2&i[0]?a.return:i[0]?a.throw||((r=a.return)&&r.call(a),0):a.next)&&!(r=r.call(a,i[1])).done)return r;switch(a=0,r&&(i=[2&i[0],r.value]),i[0]){case 0:case 1:r=i;break;case 4:return o.label++,{value:i[1],done:!1};case 5:o.label++,a=i[1],i=[0];continue;case 7:i=o.ops.pop(),o.trys.pop();continue;default:if(!(r=o.trys,(r=r.length>0&&r[r.length-1])||6!==i[0]&&2!==i[0])){o=0;continue}if(3===i[0]&&(!r||i[1]>r[0]&&i[1]<r[3])){o.label=i[1];break}if(6===i[0]&&o.label<r[1]){o.label=r[1],r=i;break}if(r&&o.label<r[2]){o.label=r[2],o.ops.push(i);break}r[2]&&o.ops.pop(),o.trys.pop();continue}i=t.call(e,o)}catch(e){i=[6,e],a=0}finally{n=r=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,c])}}}function re(e,t,n){if(n||2===arguments.length)for(var a,r=0,i=t.length;r<i;r++)!a&&r in t||(a||(a=Array.prototype.slice.call(t,0,r)),a[r]=t[r]);return e.concat(a||Array.prototype.slice.call(t))}
/*! *****************************************************************************
Copyright (c) Microsoft Corporation.
Permission to use, copy, modify, and/or distribute this software for any
purpose with or without fee is hereby granted.
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
PERFORMANCE OF THIS SOFTWARE.
***************************************************************************** */var ie=function(){return ie=Object.assign||function(e){for(var t,n=1,a=arguments.length;n<a;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e},ie.apply(this,arguments)},oe=["0","1","2","3","4","5","6","7","8","9","A","B","C","D","E","F"],ce=[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15],le=function(e){return oe.includes(e)?ce[oe.indexOf(e)]:0},se=function(e,t,n){void 0===t&&(t=0);var a=n||"rgba(255, 255, 255, 0.6)";if(!e)return a;var r=e.toUpperCase();if(r.includes("RGBA"))return r;if(r.includes("RGB"))return r.replace("RGB","rgba").replace(")",", "+t+")");if(!function(e){if("#"!==e.charAt(0))return!1;if(7!==e.length)return!1;for(var t=1;t<e.length;t++)if(!oe.includes(e.charAt(t)))return!1;return!0}(pe(r)))return a;return"rgba("+(16*le(r.charAt(1))+le(r.charAt(2)))+", "+(16*le(r.charAt(3))+le(r.charAt(4)))+","+(16*le(r.charAt(5))+le(r.charAt(6)))+" , "+t+")"};function ue(e,t){return e?ie(ie({},t),e):t}var de=function(e){return void 0!==e&&""!==e?e:"#5d6475"};function pe(e){return e?void 0!==me[e.toLocaleLowerCase()]?me[e.toLocaleLowerCase()]:e:""}var fe,me={indianred:"#CD5C5C",lightcoral:"#F08080",salmon:"#FA8072",darksalmon:"#E9967A",lightsalmon:"#FFA07A",crimson:"#DC143C",red:"#FF0000",firebrick:"#B22222",darkred:"#8B0000",pink:"#FFC0CB",lightpink:"#FFB6C1",hotpink:"#FF69B4",deeppink:"#FF1493",mediumvioletred:"#C71585",palevioletred:"#DB7093",coral:"#FF7F50",tomato:"#FF6347",orangered:"#FF4500",darkorange:"#FF8C00",orange:"#FFA500",gold:"#FFD700",yellow:"#FFFF00",lightyellow:"#FFFFE0",lemonchiffon:"#FFFACD",lightgoldenrodyellow:"#FAFAD2",papayawhip:"#FFEFD5",moccasin:"#FFE4B5",peachpuff:"#FFDAB9",palegoldenrod:"#EEE8AA",khaki:"#F0E68C",darkkhaki:"#BDB76B",lavender:"#E6E6FA",thistle:"#D8BFD8",plum:"#DDA0DD",violet:"#EE82EE",orchid:"#DA70D6",fuchsia:"#FF00FF",magenta:"#FF00FF",mediumorchid:"#BA55D3",mediumpurple:"#9370DB",rebeccapurple:"#663399",blueviolet:"#8A2BE2",darkviolet:"#9400D3",darkorchid:"#9932CC",darkmagenta:"#8B008B",purple:"#800080",indigo:"#4B0082",slateblue:"#6A5ACD",darkslateblue:"#483D8B",mediumslateblue:"#7B68EE",greenyellow:"#ADFF2F",chartreuse:"#7FFF00",lawngreen:"#7CFC00",lime:"#00FF00",limegreen:"#32CD32",palegreen:"#98FB98",lightgreen:"#90EE90",mediumspringgreen:"#00FA9A",springgreen:"#00FF7F",mediumseagreen:"#3CB371",seagreen:"#2E8B57",forestgreen:"#228B22",green:"#008000",darkgreen:"#006400",yellowgreen:"#9ACD32",olivedrab:"#6B8E23",olive:"#808000",darkolivegreen:"#556B2F",mediumaquamarine:"#66CDAA",darkseagreen:"#8FBC8B",lightseagreen:"#20B2AA",darkcyan:"#008B8B",teal:"#008080",aqua:"#00FFFF",cyan:"#00FFFF",lightcyan:"#E0FFFF",paleturquoise:"#AFEEEE",aquamarine:"#7FFFD4",turquoise:"#40E0D0",mediumturquoise:"#48D1CC",darkturquoise:"#00CED1",cadetblue:"#5F9EA0",steelblue:"#4682B4",lightsteelblue:"#B0C4DE",powderblue:"#B0E0E6",lightblue:"#ADD8E6",skyblue:"#87CEEB",lightskyblue:"#87CEFA",deepskyblue:"#00BFFF",dodgerblue:"#1E90FF",cornflowerblue:"#6495ED",royalblue:"#4169E1",blue:"#0000FF",mediumblue:"#0000CD",darkblue:"#00008B",navy:"#000080",midnightblue:"#191970",cornsilk:"#FFF8DC",blanchedalmond:"#FFEBCD",bisque:"#FFE4C4",navajowhite:"#FFDEAD",wheat:"#F5DEB3",burlywood:"#DEB887",tan:"#D2B48C",rosybrown:"#BC8F8F",sandybrown:"#F4A460",goldenrod:"#DAA520",darkgoldenrod:"#B8860B",peru:"#CD853F",chocolate:"#D2691E",saddlebrown:"#8B4513",sienna:"#A0522D",brown:"#A52A2A",maroon:"#800000",white:"#FFFFFF",snow:"#FFFAFA",honeydew:"#F0FFF0",mintcream:"#F5FFFA",azure:"#F0FFFF",aliceblue:"#F0F8FF",ghostwhite:"#F8F8FF",whitesmoke:"#F5F5F5",seashell:"#FFF5EE",beige:"#F5F5DC",oldlace:"#FDF5E6",floralwhite:"#FFFAF0",ivory:"#FFFFF0",antiquewhite:"#FAEBD7",linen:"#FAF0E6",lavenderblush:"#FFF0F5",mistyrose:"#FFE4E1",gainsboro:"#DCDCDC",lightgray:"#D3D3D3",silver:"#C0C0C0",darkgray:"#A9A9A9",gray:"#808080",dimgray:"#696969",lightslategray:"#778899",slategray:"#708090",darkslategray:"#2F4F4F",black:"#000000"};function he(e){for(var t,n="",a=" ",r=!1,i=0;i<e.length;i++){var o=e[i];if((t=o)&&!/[a-z]/.test(t)&&/[A-Z]/.test(t)){a=o,r=!0;break}}if(r){var c=e.split(a);n=c[0]+"-"+a.toLowerCase()+c[1]}else n=e;return n}function ge(e){var t="",n=e.trim().split(" ");if(n.length>1){for(var a=0;a<n.length;a++)t+="."+n[a];t+="{\n"}else t+="."+e+"{\n";return t}function ve(e){if(!e)return"";for(var t,n="",a=[],r=0;r<e.length;r++){var i="";i+=ge((d=e[r]).className);for(var o=Object.keys(d.rules),c=0;c<o.length;c++){var l=he(p=o[c]);if((t=l)&&t.includes(":")){var s=d.className+l;a.push({className:s,rules:d.rules[l]})}else{i+="\t"+l+" : "+d.rules[p]+";\n"}}n+=i+="}\n"}for(var u=0;u<a.length;u++){i="";var d=a[u];o=Object.keys(d.rules);i+="."+d.className+"{\n";for(c=0;c<o.length;c++){var p;i+="\t"+(l=he(p=o[c]))+" : "+d.rules[p]+";\n"}n+=i+="}\n"}return n}e('@import url("https://fonts.googleapis.com/css2?family=Roboto&display=swap");\n@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@200&display=swap");\n@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400&display=swap");\n.dropzone-ui {\n color: #646c7f;\n position: relative;\n min-height: 280px;\n border-radius: 4px;\n width: calc(100% - 2px);\n background-color: white;\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n /* span.ripple {\n // width: 100%;\n //height: 100%;\n // overflow: hidden;\n position: absolute;\n border-radius: 50%;\n transform: scale(0);\n animation: ripple 500ms linear;\n background-color: rgba(255, 255, 255, 0.7);\n }\n\n @keyframes ripple {\n to {\n transform: scale(4);\n opacity: 0;\n }\n } */\n}\n.dropzone-ui .dropzone-ui-ripple {\n position: absolute;\n width: 0%;\n height: 0%;\n top: 0;\n left: 0;\n overflow: hidden;\n}\n.dropzone-ui .dropzone-ui-ripple span.ripple {\n position: absolute;\n border-radius: 50%;\n transform: scale(0);\n animation: ripple 500ms linear;\n background-color: rgba(255, 255, 255, 0.7);\n}\n@keyframes ripple {\n to {\n transform: scale(4);\n opacity: 0;\n }\n}\n.dropzone-ui.drag {\n border: none;\n}\n.dropzone-ui.clickable {\n cursor: pointer;\n}\n.dropzone-ui .dz-ui-header {\n height: 22px;\n position: absolute;\n cursor: text;\n top: 0;\n display: flex;\n width: calc(100% - 10px);\n flex-direction: row;\n align-items: center;\n justify-content: flex-end;\n font-family: "Poppins", sans-serif;\n padding-right: 10px;\n font-size: 0.9em;\n}\n.dropzone-ui .dz-ui-footer {\n height: 23px;\n position: absolute;\n cursor: text;\n bottom: 0;\n width: calc(100% - 10px);\n display: flex;\n flex-direction: column;\n align-items: flex-start;\n justify-content: center;\n border-top: 1px dotted grey;\n background-color: #80808021;\n font-family: "Poppins", sans-serif;\n padding-left: 10px;\n font-size: 1em;\n}\n\n.dropzone-ui-layer {\n width: 0%;\n height: 0%;\n z-index: 20;\n}\n.dropzone-ui-layer.drag {\n position: absolute;\n left: 0;\n top: 0;\n width: 100%;\n height: 100%;\n}\n\n.dz-ui-label {\n text-rendering: optimizeLegibility;\n font-size: 1.5em;\n font-family: "Poppins", sans-serif;\n text-align: center;\n font-weight: 500;\n letter-spacing: 0.02857em;\n word-break: normal;\n}\n@media (max-width: 600px) {\n .dz-ui-label {\n font-size: 1.3em;\n }\n}'),function(e){e.insertStyleSheet=function(e){var t;if("undefined"==typeof window)return"";if(!e)return"";if(document.getElementById(e.id))return e.id;t=e.id;var n=document.createElement("style");n.id=t,n.setAttribute("type","text/css");var a=ve(e.sheetRules||[])+e.raw||"";return n.textContent=a,document.head.appendChild(n)?t:""},e.editStyleSheet=function(e,t){if("undefined"==typeof window)return"";if(!e||!t)return"";var n=document.getElementById(e);return n?(n.textContent=ve(t),""):""},e.removeStyleSheet=function(e){var t="";if(!e)return"";var n=document.getElementById(e);return n&&(document.head.removeChild(n),t=e),t},e.existStyleSheet=function(e){return!!e&&!!document.getElementById(e)},e.makeStyleSheet=function(e){return e||null}}(fe||(fe={}));var be={children:void 0,uploadOnDrop:!1,maxFiles:void 0,style:{},disableRipple:!1,clickable:!0,view:void 0,maxHeight:"450px",minHeight:"280px",footer:!0,header:!0,config:{headers:{"content-type":"multipart/form-data"}},value:void 0,onUploadFinish:void 0,uploadingMessage:void 0,onClean:void 0,behaviour:"add",label:void 0,localization:"EN-en",disableScroll:void 0};function xe(e,t,n){if(e){var a=e;a.style.height="100%",a.style.width="100%";var r=document.createElement("span"),i=Math.max(a.clientWidth,a.clientHeight),o=i/2;r.style.width=r.style.height="".concat(i,"px"),r.style.left="".concat(t.clientX-a.offsetLeft-o,"px"),r.style.top="".concat(t.clientY-a.offsetTop-o,"px"),r.classList.add("ripple"),r.style.backgroundColor=se(de(pe(n)),.4);var c=a.getElementsByClassName("ripple")[0];c&&c.remove(),a.appendChild(r),setTimeout((function(){a.style.height="0%",a.style.width="0%"}),500)}}var we=function(e){switch(e){case"micro":return 8;case"small":return 15;case"semi-medium":return 18;case"medium":return 25;case"large":return 28;default:return 24}},Fe=function(e){var n=e.size,a=e.color,r=e.colorFill,i=e.onClick,o=we(n);return t.createElement("svg",{style:i?{cursor:"pointer"}:{},xmlns:"http://www.w3.org/2000/svg",height:"".concat(o,"px"),viewBox:"0 0 24 24",width:"".concat(o,"px"),fill:a||"#000000",onClick:function(){return null==i?void 0:i()}},t.createElement("path",{d:"M0 0h24v24H0V0z",fill:"none"}),t.createElement("path",{d:"M12 4c-4.41 0-8 3.59-8 8s3.59 8 8 8 8-3.59 8-8-3.59-8-8-8zm1 13h-2v-6h2v6zm0-8h-2V7h2v2z",fill:r||"none",opacity:".7"}),t.createElement("path",{d:"M11 7h2v2h-2zm0 4h2v6h-2zm1-9C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8z"}))},ye=function(e){var n=e.size,a=e.color,r=e.colorFill,i=e.onClick,o=e.style,c=e.className,l=we(n),s=o||{};return t.createElement("svg",{className:c||"",style:i?te({},te({cursor:"pointer"},s)):s,onClick:function(){return null==i?void 0:i()},xmlns:"http://www.w3.org/2000/svg",height:"".concat(l,"px"),viewBox:"0 0 24 24",width:"".concat(l,"px"),fill:a||"#000000"},t.createElement("path",{d:"M0 0h24v24H0z",fill:r||"none"}),t.createElement("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm-2 15l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z"}))},Ee=function(e){var n=e.size,a=e.color,r=e.onClick,i=e.style,o=e.className,c=we(n),l=i||{};return t.createElement("svg",{className:o||"",style:r?te({},te({cursor:"pointer"},l)):l,onClick:function(){return null==r?void 0:r()},xmlns:"http://www.w3.org/2000/svg",height:c?"".concat(c,"px"):"24px",viewBox:"0 0 24 24",width:c?"".concat(c,"px"):"24px",fill:a||"#000000"},t.createElement("path",{d:"M0 0h24v24H0V0z",fill:"none"}),t.createElement("path",{d:"M12 4c-4.41 0-8 3.59-8 8s3.59 8 8 8 8-3.59 8-8-3.59-8-8-8z",opacity:".4"}),t.createElement("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.42 0-8-3.58-8-8 0-1.85.63-3.55 1.69-4.9L16.9 18.31C15.55 19.37 13.85 20 12 20zm6.31-3.1L7.1 5.69C8.45 4.63 10.15 4 12 4c4.42 0 8 3.58 8 8 0 1.85-.63 3.55-1.69 4.9z"}))},ze=function(e){var n=e.size,a=e.color,r=e.colorFill,i=e.onClick,o=e.style,c=e.className,l=we(n),s=o||{};return t.createElement("svg",{style:i?te({},te({cursor:"pointer"},s)):s,onClick:function(e){return null==i?void 0:i(e)},xmlns:"http://www.w3.org/2000/svg",height:"".concat(l,"px"),viewBox:"0 0 24 24",width:"".concat(l,"px"),fill:a||"#000000",className:c||""},t.createElement("path",{d:"M0 0h24v24H0V0z",fill:"none",opacity:".87"}),t.createElement("path",{d:"M12 4c-4.41 0-8 3.59-8 8s3.59 8 8 8 8-3.59 8-8-3.59-8-8-8zm5 11.59L15.59 17 12 13.41 8.41 17 7 15.59 10.59 12 7 8.41 8.41 7 12 10.59 15.59 7 17 8.41 13.41 12 17 15.59z",fill:r||"none",opacity:".5"}),t.createElement("path",{d:"M12 2C6.47 2 2 6.47 2 12s4.47 10 10 10 10-4.47 10-10S17.53 2 12 2zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8zm3.59-13L12 10.59 8.41 7 7 8.41 10.59 12 7 15.59 8.41 17 12 13.41 15.59 17 17 15.59 13.41 12 17 8.41z"}))},ke=function(e){var n=e.size,a=e.color,r=e.colorFill,i=e.onClick,o=e.style,c=e.className,l=we(n),s=o||{};return t.createElement("svg",{className:c||"",style:i?te({cursor:"pointer"},s):s,xmlns:"http://www.w3.org/2000/svg",height:"".concat(l,"px"),viewBox:"0 0 24 24",width:"".concat(l,"px"),fill:a||"#000000",onClick:function(e){return null==i?void 0:i(e)}},t.createElement("path",{d:"M0 0h24v24H0V0z",fill:"none"}),t.createElement("path",{d:"M12 4c-4.41 0-8 3.59-8 8s3.59 8 8 8 8-3.59 8-8-3.59-8-8-8z",opacity:".9",fill:r||"none"}),t.createElement("path",{d:"M12 4C7 4 2.73 7.11 1 11.5 2.73 15.89 7 19 12 19s9.27-3.11 11-7.5C21.27 7.11 17 4 12 4zm0 12.5c-2.76 0-5-2.24-5-5s2.24-5 5-5 5 2.24 5 5-2.24 5-5 5zm0-8c-1.66 0-3 1.34-3 3s1.34 3 3 3 3-1.34 3-3-1.34-3-3-3z"}))},Ce=function(e){var n=e.size,a=e.color,r=e.colorFill,i=e.onClick,o=e.style,c=e.className,l=we(n),s=o||{};return t.createElement("svg",{style:i?te({},te({cursor:"pointer"},s)):s,onClick:function(){return null==i?void 0:i()},xmlns:"http://www.w3.org/2000/svg",enableBackground:"new 0 0 24 24",height:"".concat(l,"px"),viewBox:"0 0 24 24",width:"".concat(l,"px"),fill:a||"#000000",className:c||""},t.createElement("rect",{fill:r||"none",height:n||"24",width:n||"24"}),t.createElement("path",{d:"M20,4H4C2.9,4,2,4.9,2,6v12c0,1.1,0.9,2,2,2h16c1.1,0,2-0.9,2-2V6C22,4.9,21.1,4,20,4z M8,18H4V6h4V18z M14,18h-4V6h4V18z M20,18h-4V6h4V18z"}))},_e=function(e){var n=e.size,a=e.color,r=e.onClick,i=e.style,o=e.className,c=we(n),l=i||{};return t.createElement("svg",{style:r?te({},te({cursor:"pointer"},l)):l,onClick:function(){return null==r?void 0:r()},xmlns:"http://www.w3.org/2000/svg",enableBackground:"new 0 0 24 24",height:"".concat(c,"px"),viewBox:"0 0 24 24",width:"".concat(c,"px"),fill:a||"#000000",className:o||""},t.createElement("g",null,t.createElement("path",{d:"M0,0h24v24H0V0z",fill:"none"})),t.createElement("g",null,t.createElement("path",{d:"M20,4H4C2.9,4,2,4.9,2,6v12c0,1.1,0.9,2,2,2h16c1.1,0,2-0.9,2-2V6C22,4.9,21.1,4,20,4z M8,11H4V6h4V11z M14,11h-4V6h4V11z M20,11h-4V6h4V11z M8,18H4v-5h4V18z M14,18h-4v-5h4V18z M20,18h-4v-5h4V18z"})))},Ae=function(e){var n=e.size,a=e.color,r=e.colorFill,i=e.onClick,o=e.style,c=e.className,l=we(n),s=o||{};return t.createElement("svg",{className:c||"",style:i?te({},te({cursor:"pointer"},s)):s,onClick:function(){return null==i?void 0:i()},xmlns:"http://www.w3.org/2000/svg",enableBackground:"new 0 0 24 24",height:"".concat(l,"px"),viewBox:"0 0 24 24",width:"".concat(l,"px"),fill:a||"#000000"},t.createElement("g",null,t.createElement("rect",{fill:r||"none",height:l,width:l})),t.createElement("g",null,t.createElement("g",null,t.createElement("polygon",{points:"20.13,5.41 18.72,4 9.53,13.19 5.28,8.95 3.87,10.36 9.53,16.02"}),t.createElement("rect",{height:"2",width:"14",x:"5",y:"18"}))))},Ne=function(e){var n=e.size,a=e.color,r=e.colorFill,i=e.onClick,o=e.style,c=e.className,l=we(n),s=o||{};return t.createElement("svg",{className:c||"",style:i?te({},te({cursor:"pointer"},s)):s,onClick:function(){return null==i?void 0:i()},xmlns:"http://www.w3.org/2000/svg",height:"".concat(l,"px"),viewBox:"0 0 24 24",width:"".concat(l,"px"),fill:a||"#000000"},t.createElement("rect",{fill:r||"none",height:l,width:l}),t.createElement("path",{d:"M18,15.17V15h2v2.17L18,15.17z M15.41,12.59L17,11l-1.41-1.41L14,11.17L15.41,12.59z M13,10.17V4h-2v4.17L13,10.17z M21.19,21.19l-1.78-1.78L2.8