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

// ../node_modules/highlight.js/lib/languages/diff.js
var a = i((g, n) => {
  function d(s) {
    return {
      name: "Diff",
      aliases: ["patch"],
      contains: [
        {
          className: "meta",
          relevance: 10,
          variants: [
            {
              begin: /^@@ +-\d+,\d+ +\+\d+,\d+ +@@/
            },
            {
              begin: /^\*\*\* +\d+,\d+ +\*\*\*\*$/
            },
            {
              begin: /^--- +\d+,\d+ +----$/
            }
          ]
        },
        {
          className: "comment",
          variants: [
            {
              begin: /Index: /,
              end: /$/
            },
            {
              begin: /^index/,
              end: /$/
            },
            {
              begin: /={3,}/,
              end: /$/
            },
            {
              begin: /^-{3}/,
              end: /$/
            },
            {
              begin: /^\*{3} /,
              end: /$/
            },
            {
              begin: /^\+{3}/,
              end: /$/
            },
            {
              begin: /^\*{15}$/
            },
            {
              begin: /^diff --git/,
              end: /$/
            }
          ]
        },
        {
          className: "addition",
          begin: /^\+/,
          end: /$/
        },
        {
          className: "deletion",
          begin: /^-/,
          end: /$/
        },
        {
          className: "addition",
          begin: /^!/,
          end: /$/
        }
      ]
    };
  }
  e(d, "diff");
  n.exports = d;
});

export {
  a
};
