import { _ as i, g as s, h as n, l as o, m as r, n as u, s as l, t as c, v as d } from "./chunk-K5T4RW27.js";
var m = class extends c {
  static {
    r(this, "PieTokenBuilder");
  }
  constructor() {
    super(["pie", "showData"]);
  }
}, v = class extends u {
  static {
    r(this, "PieValueConverter");
  }
  runCustomConverter(a, e, t) {
    if (a.name === "PIE_SECTION_LABEL")
      return e.replace(/"/g, "").trim();
  }
}, C = { parser: {
  TokenBuilder: /* @__PURE__ */ r(() => new m(), "TokenBuilder"),
  ValueConverter: /* @__PURE__ */ r(() => new v(), "ValueConverter")
} };
function P(a = n) {
  const e = s(d(a), l), t = s(i({ shared: e }), o, C);
  return e.ServiceRegistry.register(t), {
    shared: e,
    Pie: t
  };
}
r(P, "createPieServices");
export {
  P as n,
  C as t
};

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