import n from "../icons/icons-file-extension/dmg.svg.js";
import t from "../icons/icons-file-extension/doc.svg.js";
import c from "../icons/icons-file-extension/docx.svg.js";
import l from "../icons/icons-file-extension/file-type-default.svg.js";
import f from "../icons/icons-file-extension/gd.svg.js";
import g from "../icons/icons-file-extension/jpg.svg.js";
import r from "../icons/icons-file-extension/jpge.svg.js";
import m from "../icons/icons-file-extension/ofd.svg.js";
import v from "../icons/icons-file-extension/pdf.svg.js";
import p from "../icons/icons-file-extension/png.svg.js";
import x from "../icons/icons-file-extension/rar.svg.js";
import b from "../icons/icons-file-extension/sep.svg.js";
import a from "../icons/icons-file-extension/txt.svg.js";
import d from "../icons/icons-file-extension/wps.svg.js";
import u from "../icons/icons-file-extension/wpt.svg.js";
import j from "../icons/icons-file-extension/xls.svg.js";
import w from "../icons/icons-file-extension/xlsx.svg.js";
import y from "../icons/icons-file-extension/zip.svg.js";
const _ = /* @__PURE__ */ Object.assign({
  "../icons/icons-file-extension/dmg.svg": n,
  "../icons/icons-file-extension/doc.svg": t,
  "../icons/icons-file-extension/docx.svg": c,
  "../icons/icons-file-extension/file-type-default.svg": l,
  "../icons/icons-file-extension/gd.svg": f,
  "../icons/icons-file-extension/jpg.svg": g,
  "../icons/icons-file-extension/jpge.svg": r,
  "../icons/icons-file-extension/ofd.svg": m,
  "../icons/icons-file-extension/pdf.svg": v,
  "../icons/icons-file-extension/png.svg": p,
  "../icons/icons-file-extension/rar.svg": x,
  "../icons/icons-file-extension/sep.svg": b,
  "../icons/icons-file-extension/txt.svg": a,
  "../icons/icons-file-extension/wps.svg": d,
  "../icons/icons-file-extension/wpt.svg": u,
  "../icons/icons-file-extension/xls.svg": j,
  "../icons/icons-file-extension/xlsx.svg": w,
  "../icons/icons-file-extension/zip.svg": y
}), e = {};
Object.keys(_).forEach((o) => {
  const i = o.split("/").pop().replace(".svg", "");
  e[i] = _[o];
});
const J = (o) => {
  var i;
  const s = ((i = o.split(".").pop()) == null ? void 0 : i.toLowerCase()) || "";
  return e[s] || e["file-type-default"] || "";
};
export {
  J as getFileIconByName
};
