import { AbstractMermaidValueConverter as e, EmptyFileSystem as t, MermaidGeneratedSharedModule as n, WardleyGrammarGeneratedModule as r, __name as i, createDefaultCoreModule as a, createDefaultSharedCoreModule as o, inject as s } from "./chunk-NNHCCRGN.js";
//#region ../../node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-PUPMXCY4.mjs
var c = class extends e {
	static {
		i(this, "WardleyValueConverter");
	}
	runCustomConverter(e, t, n) {
		switch (e.name.toUpperCase()) {
			case "LINK_LABEL": return t.substring(1).trim();
			default: return;
		}
	}
}, l = { parser: { ValueConverter: /* @__PURE__ */ i(() => new c(), "ValueConverter") } };
function u(e = t) {
	let i = s(o(e), n), c = s(a({ shared: i }), r, l);
	return i.ServiceRegistry.register(c), {
		shared: i,
		Wardley: c
	};
}
i(u, "createWardleyServices");
//#endregion
export { l as WardleyModule, u as createWardleyServices };

//# sourceMappingURL=chunk-PUPMXCY4.js.map