import o from"@babel/runtime/helpers/slicedToArray";import{ArchiveFileIcon as i}from"./icons/ArchiveFileIcon.js";import{CSVFileIcon as r}from"./icons/CSVFileIcon.js";import{DocFileIcon as n}from"./icons/DocFileIcon.js";import{EDMFileIcon as m}from"./icons/EDMFileIcon.js";import{ExcelFileIcon as s}from"./icons/ExcelFileIcon.js";import{ImageFileIcon as c}from"./icons/ImageFileIcon.js";import{JsonFileIcon as e}from"./icons/JsonFileIcon.js";import{LasFileIcon as t}from"./icons/LasFileIcon.js";import{OtherFileIcon as p}from"./icons/OtherFileIcon.js";import{PdfFileIcon as l}from"./icons/PdfFileIcon.js";import{PowerPointFileIcon as f}from"./icons/PowerPointFileIcon.js";import{TxtFileIcon as j}from"./icons/TxtFileIcon.js";import{UnknownFileIcon as v}from"./icons/UnknownFileIcon.js";import{VideoFileIcon as I}from"./icons/VideoFileIcon.js";import{XmlFileIcon as F}from"./icons/XmlFileIcon.js";var d=[[".pdf",l],[".csv",r],[".json",e],[".edm.xml",m],[".xml",F],[".las",t],[".txt",j],[".pptx",f],[".ppt",f],[".xlsx",s],[".xls",s],[".docx",n],[".doc",n],[".jpg",c],[".png",c],[".jpeg",c],[".gif",c],[".bmp",c],[".svg",c],[".webp",c],[".rar",i],[".zip",i],[".7z",i],[".mp4",I],[".avi",I],[".mkv",I],[".mov",I],[".wmv",I],[".flv",I],[".webm",I],[".mpg",I],[".mpeg",I],[".m4v",I]],a=function(){var i,r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",n=null==r?void 0:r.toLowerCase().trim(),m=null===(i=d.find((function(i){var r=o(i,1)[0];return n.endsWith(r)})))||void 0===i?void 0:i[1];return m||(/\.\w{1,4}$/.test(n)?p:v)};export{d as ExtensionsToIconArray,a as getComponent};
//# sourceMappingURL=constants.js.map
