"use strict";
var _a;
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
const chunkFPAJGGOC = require("./dist-chunks-mermaid-parser.core-chunk-FPAJGGOC.cjs");
const fileSystemProvider = require("../../langium/lib-workspace-file-system-provider.cjs");
const dependencyInjection = require("../../langium/lib-dependency-injection.cjs");
const defaultModule = require("../../langium/lib-default-module.cjs");
var GitGraphTokenBuilder = (_a = class extends chunkFPAJGGOC.AbstractMermaidTokenBuilder {
  constructor() {
    super(["gitGraph"]);
  }
}, chunkFPAJGGOC.__name(_a, "GitGraphTokenBuilder"), _a);
var GitGraphModule = {
  parser: {
    TokenBuilder: /* @__PURE__ */ chunkFPAJGGOC.__name(() => new GitGraphTokenBuilder(), "TokenBuilder"),
    ValueConverter: /* @__PURE__ */ chunkFPAJGGOC.__name(() => new chunkFPAJGGOC.CommonValueConverter(), "ValueConverter")
  }
};
function createGitGraphServices(context = fileSystemProvider.EmptyFileSystem) {
  const shared = dependencyInjection.inject(
    defaultModule.createDefaultSharedCoreModule(context),
    chunkFPAJGGOC.MermaidGeneratedSharedModule
  );
  const GitGraph = dependencyInjection.inject(
    defaultModule.createDefaultCoreModule({ shared }),
    chunkFPAJGGOC.GitGraphGeneratedModule,
    GitGraphModule
  );
  shared.ServiceRegistry.register(GitGraph);
  return { shared, GitGraph };
}
chunkFPAJGGOC.__name(createGitGraphServices, "createGitGraphServices");
exports.GitGraphModule = GitGraphModule;
exports.createGitGraphServices = createGitGraphServices;
//# sourceMappingURL=dist-chunks-mermaid-parser.core-chunk-S6J4BHB3.cjs.map
