const properties = {
  name: "properties",
  token: function(e, t) {
    var n = e.sol() || t.afterSection, r = e.eol();
    if (t.afterSection = false, n && (t.nextMultiline ? (t.inMultiline = true, t.nextMultiline = false) : t.position = "def"), r && !t.nextMultiline && (t.inMultiline = false, t.position = "def"), n) for (; e.eatSpace(); ) ;
    var i = e.next();
    return n && (i === "#" || i === "!" || i === ";") ? (t.position = "comment", e.skipToEnd(), "comment") : n && i === "[" ? (t.afterSection = true, e.skipTo("]"), e.eat("]"), "header") : i === "=" || i === ":" ? (t.position = "quote", null) : (i === "\\" && t.position === "quote" && e.eol() && (t.nextMultiline = true), t.position);
  },
  startState: function() {
    return {
      position: "def",
      nextMultiline: false,
      inMultiline: false,
      afterSection: false
    };
  }
};
export {
  properties as t
};
