import { _ as n, d as i, g as s, h as o, m as r, n as u, s as d, t as l, v as c } from "./chunk-K5T4RW27.js";
var T = class extends u {
  static {
    r(this, "TreeViewValueConverter");
  }
  runCustomConverter(t, e, a) {
    if (t.name === "INDENTATION") return e?.length || 0;
    if (t.name === "STRING2") return e.substring(1, e.length - 1);
  }
}, V = class extends l {
  static {
    r(this, "TreeViewTokenBuilder");
  }
  constructor() {
    super(["treeView-beta"]);
  }
}, m = { parser: {
  TokenBuilder: /* @__PURE__ */ r(() => new V(), "TokenBuilder"),
  ValueConverter: /* @__PURE__ */ r(() => new T(), "ValueConverter")
} };
function v(t = o) {
  const e = s(c(t), d), a = s(n({ shared: e }), i, m);
  return e.ServiceRegistry.register(a), {
    shared: e,
    TreeView: a
  };
}
r(v, "createTreeViewServices");
export {
  v as n,
  m as t
};

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