import { __exports as t } from "../../../../../../../_virtual/index15.js";
var o;
function _() {
  return o ? t : (o = 1, t.__esModule = !0, t.default = function(u, e) {
    if (u && e) {
      var n = Array.isArray(e) ? e : e.split(",");
      if (n.length === 0)
        return !0;
      var s = u.name || "", a = (u.type || "").toLowerCase(), i = a.replace(/\/.*$/, "");
      return n.some(function(f) {
        var r = f.trim().toLowerCase();
        return r.charAt(0) === "." ? s.toLowerCase().endsWith(r) : r.endsWith("/*") ? i === r.replace(/\/.*$/, "") : a === r;
      });
    }
    return !0;
  }, t);
}
export {
  _ as __require
};
//# sourceMappingURL=index.js.map
