import { _ as e, g as t, h as n, m as r, n as i, p as a, s as o, v as s } from "./chunk-K5T4RW27-BZbwqbnj.js";
//#region ../../node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-CIAEETIT.mjs
var c = class extends i {
	static {
		r(this, "WardleyValueConverter");
	}
	runCustomConverter(e, t, n) {
		switch (e.name.toUpperCase()) {
			case "LINK_LABEL": return t.substring(1).trim();
			default: return;
		}
	}
}, l = { parser: { ValueConverter: /* @__PURE__ */ r(() => new c(), "ValueConverter") } };
function u(r = n) {
	let i = t(s(r), o), c = t(e({ shared: i }), a, l);
	return i.ServiceRegistry.register(c), {
		shared: i,
		Wardley: c
	};
}
r(u, "createWardleyServices");
//#endregion
export { u as n, l as t };

//# sourceMappingURL=chunk-CIAEETIT-Dm4nDheA.js.map