var _a;
import { a as GitGraphGrammarGeneratedModule, f as __name, g as createDefaultSharedCoreModule, h as createDefaultCoreModule, i as CommonValueConverter, m as inject, p as EmptyFileSystem, s as MermaidGeneratedSharedModule, t as AbstractMermaidTokenBuilder } from "./chunk-TCCFYFTB-d3HOqL2I.js";
var GitGraphTokenBuilder = (_a = class extends AbstractMermaidTokenBuilder {
  constructor() {
    super(["gitGraph"]);
  }
}, __name(_a, "GitGraphTokenBuilder"), _a), GitGraphModule = { parser: {
  TokenBuilder: /* @__PURE__ */ __name(() => new GitGraphTokenBuilder(), "TokenBuilder"),
  ValueConverter: /* @__PURE__ */ __name(() => new CommonValueConverter(), "ValueConverter")
} };
function createGitGraphServices(l = EmptyFileSystem) {
  let u = inject(createDefaultSharedCoreModule(l), MermaidGeneratedSharedModule), d = inject(createDefaultCoreModule({ shared: u }), GitGraphGrammarGeneratedModule, GitGraphModule);
  return u.ServiceRegistry.register(d), {
    shared: u,
    GitGraph: d
  };
}
__name(createGitGraphServices, "createGitGraphServices");
export {
  createGitGraphServices as n,
  GitGraphModule as t
};
