import {
  a as g,
  c as i
} from "./chunk-IO47FP3U.js";

// ../node_modules/refractor/lang/ignore.js
var t = i((r, a) => {
  a.exports = e;
  e.displayName = "ignore";
  e.aliases = ["gitignore", "hgignore", "npmignore"];
  function e(o) {
    (function(n) {
      n.languages.ignore = {
        // https://git-scm.com/docs/gitignore
        comment: /^#.*/m,
        entry: {
          pattern: /\S(?:.*(?:(?:\\ )|\S))?/,
          alias: "string",
          inside: {
            operator: /^!|\*\*?|\?/,
            regex: {
              pattern: /(^|[^\\])\[[^\[\]]*\]/,
              lookbehind: !0
            },
            punctuation: /\//
          }
        }
      }, n.languages.gitignore = n.languages.ignore, n.languages.hgignore = n.languages.ignore, n.languages.npmignore = n.languages.ignore;
    })(o);
  }
  g(e, "ignore");
});

export {
  t as a
};
