import { _ as w, aa as he, O as ee, Q as Z, T as ue, i as pe, bK as O, l as J, aS as U, bL as P, h as j, e as fe, d as ge, z as me, A as ye, g as Se, s as ve, R as xe, bM as be, I as we } from "./sdk-entry-DgIWYKoN.js";
import { s as Ce } from "./chunk-EDXVE4YY-XKSNAPgU.js";
import { p as Te } from "./chunk-4BX2VUAB-DPxDR8bx.js";
import { p as Le } from "./mermaid-parser.core-DYTuD9C3.js";
function $e(t) {
  var a = 0, l = t.children, n = l && l.length;
  if (!n) a = 1;
  else for (; --n >= 0; ) a += l[n].value;
  t.value = a;
}
function Ae() {
  return this.eachAfter($e);
}
function Fe(t, a) {
  let l = -1;
  for (const n of this)
    t.call(a, n, ++l, this);
  return this;
}
function Me(t, a) {
  for (var l = this, n = [l], r, i, d = -1; l = n.pop(); )
    if (t.call(a, l, ++d, this), r = l.children)
      for (i = r.length - 1; i >= 0; --i)
        n.push(r[i]);
  return this;
}
function Ne(t, a) {
  for (var l = this, n = [l], r = [], i, d, h, g = -1; l = n.pop(); )
    if (r.push(l), i = l.children)
      for (d = 0, h = i.length; d < h; ++d)
        n.push(i[d]);
  for (; l = r.pop(); )
    t.call(a, l, ++g, this);
  return this;
}
function Ve(t, a) {
  let l = -1;
  for (const n of this)
    if (t.call(a, n, ++l, this))
      return n;
}
function _e(t) {
  return this.eachAfter(function(a) {
    for (var l = +t(a.data) || 0, n = a.children, r = n && n.length; --r >= 0; ) l += n[r].value;
    a.value = l;
  });
}
function ke(t) {
  return this.eachBefore(function(a) {
    a.children && a.children.sort(t);
  });
}
function ze(t) {
  for (var a = this, l = De(a, t), n = [a]; a !== l; )
    a = a.parent, n.push(a);
  for (var r = n.length; t !== l; )
    n.splice(r, 0, t), t = t.parent;
  return n;
}
function De(t, a) {
  if (t === a) return t;
  var l = t.ancestors(), n = a.ancestors(), r = null;
  for (t = l.pop(), a = n.pop(); t === a; )
    r = t, t = l.pop(), a = n.pop();
  return r;
}
function Pe() {
  for (var t = this, a = [t]; t = t.parent; )
    a.push(t);
  return a;
}
function Be() {
  return Array.from(this);
}
function Re() {
  var t = [];
  return this.eachBefore(function(a) {
    a.children || t.push(a);
  }), t;
}
function Ee() {
  var t = this, a = [];
  return t.each(function(l) {
    l !== t && a.push({ source: l.parent, target: l });
  }), a;
}
function* We() {
  var t = this, a, l = [t], n, r, i;
  do
    for (a = l.reverse(), l = []; t = a.pop(); )
      if (yield t, n = t.children)
        for (r = 0, i = n.length; r < i; ++r)
          l.push(n[r]);
  while (l.length);
}
function te(t, a) {
  t instanceof Map ? (t = [void 0, t], a === void 0 && (a = Oe)) : a === void 0 && (a = He);
  for (var l = new K(t), n, r = [l], i, d, h, g; n = r.pop(); )
    if ((d = a(n.data)) && (g = (d = Array.from(d)).length))
      for (n.children = d, h = g - 1; h >= 0; --h)
        r.push(i = d[h] = new K(d[h])), i.parent = n, i.depth = n.depth + 1;
  return l.eachBefore(qe);
}
function Ie() {
  return te(this).eachBefore(Ge);
}
function He(t) {
  return t.children;
}
function Oe(t) {
  return Array.isArray(t) ? t[1] : null;
}
function Ge(t) {
  t.data.value !== void 0 && (t.value = t.data.value), t.data = t.data.data;
}
function qe(t) {
  var a = 0;
  do
    t.height = a;
  while ((t = t.parent) && t.height < ++a);
}
function K(t) {
  this.data = t, this.depth = this.height = 0, this.parent = null;
}
K.prototype = te.prototype = {
  constructor: K,
  count: Ae,
  each: Fe,
  eachAfter: Ne,
  eachBefore: Me,
  find: Ve,
  sum: _e,
  sort: ke,
  path: ze,
  ancestors: Pe,
  descendants: Be,
  leaves: Re,
  links: Ee,
  copy: Ie,
  [Symbol.iterator]: We
};
function Xe(t) {
  if (typeof t != "function") throw new Error();
  return t;
}
function G() {
  return 0;
}
function q(t) {
  return function() {
    return t;
  };
}
function Ye(t) {
  t.x0 = Math.round(t.x0), t.y0 = Math.round(t.y0), t.x1 = Math.round(t.x1), t.y1 = Math.round(t.y1);
}
function je(t, a, l, n, r) {
  for (var i = t.children, d, h = -1, g = i.length, c = t.value && (n - a) / t.value; ++h < g; )
    d = i[h], d.y0 = l, d.y1 = r, d.x0 = a, d.x1 = a += d.value * c;
}
function Ke(t, a, l, n, r) {
  for (var i = t.children, d, h = -1, g = i.length, c = t.value && (r - l) / t.value; ++h < g; )
    d = i[h], d.x0 = a, d.x1 = n, d.y0 = l, d.y1 = l += d.value * c;
}
var Qe = (1 + Math.sqrt(5)) / 2;
function Ue(t, a, l, n, r, i) {
  for (var d = [], h = a.children, g, c, u = 0, b = 0, s = h.length, x, S, v = a.value, p, m, N, M, z, E, V; u < s; ) {
    x = r - l, S = i - n;
    do
      p = h[b++].value;
    while (!p && b < s);
    for (m = N = p, E = Math.max(S / x, x / S) / (v * t), V = p * p * E, z = Math.max(N / V, V / m); b < s; ++b) {
      if (p += c = h[b].value, c < m && (m = c), c > N && (N = c), V = p * p * E, M = Math.max(N / V, V / m), M > z) {
        p -= c;
        break;
      }
      z = M;
    }
    d.push(g = { value: p, dice: x < S, children: h.slice(u, b) }), g.dice ? je(g, l, n, r, v ? n += S * p / v : i) : Ke(g, l, n, v ? l += x * p / v : r, i), v -= p, u = b;
  }
  return d;
}
const Ze = (function t(a) {
  function l(n, r, i, d, h) {
    Ue(a, n, r, i, d, h);
  }
  return l.ratio = function(n) {
    return t((n = +n) > 1 ? n : 1);
  }, l;
})(Qe);
function Je() {
  var t = Ze, a = !1, l = 1, n = 1, r = [0], i = G, d = G, h = G, g = G, c = G;
  function u(s) {
    return s.x0 = s.y0 = 0, s.x1 = l, s.y1 = n, s.eachBefore(b), r = [0], a && s.eachBefore(Ye), s;
  }
  function b(s) {
    var x = r[s.depth], S = s.x0 + x, v = s.y0 + x, p = s.x1 - x, m = s.y1 - x;
    p < S && (S = p = (S + p) / 2), m < v && (v = m = (v + m) / 2), s.x0 = S, s.y0 = v, s.x1 = p, s.y1 = m, s.children && (x = r[s.depth + 1] = i(s) / 2, S += c(s) - x, v += d(s) - x, p -= h(s) - x, m -= g(s) - x, p < S && (S = p = (S + p) / 2), m < v && (v = m = (v + m) / 2), t(s, S, v, p, m));
  }
  return u.round = function(s) {
    return arguments.length ? (a = !!s, u) : a;
  }, u.size = function(s) {
    return arguments.length ? (l = +s[0], n = +s[1], u) : [l, n];
  }, u.tile = function(s) {
    return arguments.length ? (t = Xe(s), u) : t;
  }, u.padding = function(s) {
    return arguments.length ? u.paddingInner(s).paddingOuter(s) : u.paddingInner();
  }, u.paddingInner = function(s) {
    return arguments.length ? (i = typeof s == "function" ? s : q(+s), u) : i;
  }, u.paddingOuter = function(s) {
    return arguments.length ? u.paddingTop(s).paddingRight(s).paddingBottom(s).paddingLeft(s) : u.paddingTop();
  }, u.paddingTop = function(s) {
    return arguments.length ? (d = typeof s == "function" ? s : q(+s), u) : d;
  }, u.paddingRight = function(s) {
    return arguments.length ? (h = typeof s == "function" ? s : q(+s), u) : h;
  }, u.paddingBottom = function(s) {
    return arguments.length ? (g = typeof s == "function" ? s : q(+s), u) : g;
  }, u.paddingLeft = function(s) {
    return arguments.length ? (c = typeof s == "function" ? s : q(+s), u) : c;
  }, u;
}
var R, ne = (R = class {
  constructor() {
    this.nodes = [], this.levels = /* @__PURE__ */ new Map(), this.outerNodes = [], this.classes = /* @__PURE__ */ new Map(), this.setAccTitle = fe, this.getAccTitle = ge, this.setDiagramTitle = me, this.getDiagramTitle = ye, this.getAccDescription = Se, this.setAccDescription = ve;
  }
  getNodes() {
    return this.nodes;
  }
  getConfig() {
    const a = xe, l = ee();
    return Z({
      ...a.treemap,
      ...l.treemap ?? {}
    });
  }
  addNode(a, l) {
    this.nodes.push(a), this.levels.set(a, l), l === 0 && (this.outerNodes.push(a), this.root ??= a);
  }
  getRoot() {
    return { name: "", children: this.outerNodes };
  }
  addClass(a, l) {
    const n = this.classes.get(a) ?? { id: a, styles: [], textStyles: [] }, r = l.replace(/\\,/g, "§§§").replace(/,/g, ";").replace(/§§§/g, ",").split(";");
    r && r.forEach((i) => {
      be(i) && (n?.textStyles ? n.textStyles.push(i) : n.textStyles = [i]), n?.styles ? n.styles.push(i) : n.styles = [i];
    }), this.classes.set(a, n);
  }
  getClasses() {
    return this.classes;
  }
  getStylesForClass(a) {
    return this.classes.get(a)?.styles ?? [];
  }
  clear() {
    we(), this.nodes = [], this.levels = /* @__PURE__ */ new Map(), this.outerNodes = [], this.classes = /* @__PURE__ */ new Map(), this.root = void 0;
  }
}, w(R, "TreeMapDB"), R);
function le(t) {
  if (!t.length)
    return [];
  const a = [], l = [];
  return t.forEach((n) => {
    const r = {
      name: n.name,
      children: n.type === "Leaf" ? void 0 : []
    };
    for (r.classSelector = n?.classSelector, n?.cssCompiledStyles && (r.cssCompiledStyles = n.cssCompiledStyles), n.type === "Leaf" && n.value !== void 0 && (r.value = n.value); l.length > 0 && l[l.length - 1].level >= n.level; )
      l.pop();
    if (l.length === 0)
      a.push(r);
    else {
      const i = l[l.length - 1].node;
      i.children ? i.children.push(r) : i.children = [r];
    }
    n.type !== "Leaf" && l.push({ node: r, level: n.level });
  }), a;
}
w(le, "buildHierarchy");
var et = /* @__PURE__ */ w((t, a) => {
  Te(t, a);
  const l = [];
  for (const i of t.TreemapRows ?? [])
    i.$type === "ClassDefStatement" && a.addClass(i.className ?? "", i.styleText ?? "");
  for (const i of t.TreemapRows ?? []) {
    const d = i.item;
    if (!d)
      continue;
    const h = i.indent ? parseInt(i.indent) : 0, g = tt(d), c = d.classSelector ? a.getStylesForClass(d.classSelector) : [], u = c.length > 0 ? c : void 0, b = {
      level: h,
      name: g,
      type: d.$type,
      value: d.value,
      classSelector: d.classSelector,
      cssCompiledStyles: u
    };
    l.push(b);
  }
  const n = le(l), r = /* @__PURE__ */ w((i, d) => {
    for (const h of i)
      a.addNode(h, d), h.children && h.children.length > 0 && r(h.children, d + 1);
  }, "addNodesRecursively");
  r(n, 0);
}, "populate"), tt = /* @__PURE__ */ w((t) => t.name ? String(t.name) : "", "getItemName"), re = {
  // @ts-expect-error - TreeMapDB is not assignable to DiagramDB
  parser: { yy: void 0 },
  parse: /* @__PURE__ */ w(async (t) => {
    try {
      const l = await Le("treemap", t);
      J.debug("Treemap AST:", l);
      const n = re.parser?.yy;
      if (!(n instanceof ne))
        throw new Error(
          "parser.parser?.yy was not a TreemapDB. This is due to a bug within Mermaid, please report this issue at https://github.com/mermaid-js/mermaid/issues."
        );
      et(l, n);
    } catch (a) {
      throw J.error("Error parsing treemap:", a), a;
    }
  }, "parse")
}, at = 10, B = 10, X = 25, nt = /* @__PURE__ */ w((t, a, l, n) => {
  const r = n.db, i = r.getConfig(), d = i.padding ?? at, h = r.getDiagramTitle(), g = r.getRoot(), { themeVariables: c } = ee();
  if (!g)
    return;
  const u = h ? 30 : 0, b = ue(a), s = i.nodeWidth ? i.nodeWidth * B : 960, x = i.nodeHeight ? i.nodeHeight * B : 500, S = s, v = x + u;
  b.attr("viewBox", `0 0 ${S} ${v}`), pe(b, v, S, i.useMaxWidth);
  let p;
  try {
    const e = i.valueFormat || ",";
    if (e === "$0,0")
      p = /* @__PURE__ */ w((o) => "$" + O(",")(o), "valueFormat");
    else if (e.startsWith("$") && e.includes(",")) {
      const o = /\.\d+/.exec(e), f = o ? o[0] : "";
      p = /* @__PURE__ */ w((C) => "$" + O("," + f)(C), "valueFormat");
    } else if (e.startsWith("$")) {
      const o = e.substring(1);
      p = /* @__PURE__ */ w((f) => "$" + O(o || "")(f), "valueFormat");
    } else
      p = O(e);
  } catch (e) {
    J.error("Error creating format function:", e), p = O(",");
  }
  const m = U().range([
    "transparent",
    c.cScale0,
    c.cScale1,
    c.cScale2,
    c.cScale3,
    c.cScale4,
    c.cScale5,
    c.cScale6,
    c.cScale7,
    c.cScale8,
    c.cScale9,
    c.cScale10,
    c.cScale11
  ]), N = U().range([
    "transparent",
    c.cScalePeer0,
    c.cScalePeer1,
    c.cScalePeer2,
    c.cScalePeer3,
    c.cScalePeer4,
    c.cScalePeer5,
    c.cScalePeer6,
    c.cScalePeer7,
    c.cScalePeer8,
    c.cScalePeer9,
    c.cScalePeer10,
    c.cScalePeer11
  ]), M = U().range([
    c.cScaleLabel0,
    c.cScaleLabel1,
    c.cScaleLabel2,
    c.cScaleLabel3,
    c.cScaleLabel4,
    c.cScaleLabel5,
    c.cScaleLabel6,
    c.cScaleLabel7,
    c.cScaleLabel8,
    c.cScaleLabel9,
    c.cScaleLabel10,
    c.cScaleLabel11
  ]);
  h && b.append("text").attr("x", S / 2).attr("y", u / 2).attr("class", "treemapTitle").attr("text-anchor", "middle").attr("dominant-baseline", "middle").text(h);
  const z = b.append("g").attr("transform", `translate(0, ${u})`).attr("class", "treemapContainer"), E = te(g).sum((e) => e.value ?? 0).sort((e, o) => (o.value ?? 0) - (e.value ?? 0)), ae = Je().size([s, x]).paddingTop(
    (e) => e.children && e.children.length > 0 ? X + B : 0
  ).paddingInner(d).paddingLeft((e) => e.children && e.children.length > 0 ? B : 0).paddingRight((e) => e.children && e.children.length > 0 ? B : 0).paddingBottom((e) => e.children && e.children.length > 0 ? B : 0).round(!0)(E), se = ae.descendants().filter((e) => e.children && e.children.length > 0), W = z.selectAll(".treemapSection").data(se).enter().append("g").attr("class", "treemapSection").attr("transform", (e) => `translate(${e.x0},${e.y0})`);
  W.append("rect").attr("width", (e) => e.x1 - e.x0).attr("height", X).attr("class", "treemapSectionHeader").attr("fill", "none").attr("fill-opacity", 0.6).attr("stroke-width", 0.6).attr("style", (e) => e.depth === 0 ? "display: none;" : ""), W.append("clipPath").attr("id", (e, o) => `clip-section-${a}-${o}`).append("rect").attr("width", (e) => Math.max(0, e.x1 - e.x0 - 12)).attr("height", X), W.append("rect").attr("width", (e) => e.x1 - e.x0).attr("height", (e) => e.y1 - e.y0).attr("class", (e, o) => `treemapSection section${o}`).attr("fill", (e) => m(e.data.name)).attr("fill-opacity", 0.6).attr("stroke", (e) => N(e.data.name)).attr("stroke-width", 2).attr("stroke-opacity", 0.4).attr("style", (e) => {
    if (e.depth === 0)
      return "display: none;";
    const o = P({ cssCompiledStyles: e.data.cssCompiledStyles });
    return o.nodeStyles + ";" + o.borderStyles.join(";");
  }), W.append("text").attr("class", "treemapSectionLabel").attr("x", 6).attr("y", X / 2).attr("dominant-baseline", "middle").text((e) => e.depth === 0 ? "" : e.data.name).attr("font-weight", "bold").attr("style", (e) => {
    if (e.depth === 0)
      return "display: none;";
    const o = "dominant-baseline: middle; font-size: 12px; fill:" + M(e.data.name) + "; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;", f = P({ cssCompiledStyles: e.data.cssCompiledStyles });
    return o + f.labelStyles.replace("color:", "fill:");
  }).each(function(e) {
    if (e.depth === 0)
      return;
    const o = j(this), f = e.data.name;
    o.text(f);
    const C = e.x1 - e.x0, L = 6;
    let $;
    i.showValues !== !1 && e.value ? $ = C - 10 - 30 - 10 - L : $ = C - L - 6;
    const A = Math.max(15, $), y = o.node();
    if (y.getComputedTextLength() > A) {
      let T = f;
      for (; T.length > 0; ) {
        if (T = f.substring(0, T.length - 1), T.length === 0) {
          o.text("..."), y.getComputedTextLength() > A && o.text("");
          break;
        }
        if (o.text(T + "..."), y.getComputedTextLength() <= A)
          break;
      }
    }
  }), i.showValues !== !1 && W.append("text").attr("class", "treemapSectionValue").attr("x", (e) => e.x1 - e.x0 - 10).attr("y", X / 2).attr("text-anchor", "end").attr("dominant-baseline", "middle").text((e) => e.value ? p(e.value) : "").attr("font-style", "italic").attr("style", (e) => {
    if (e.depth === 0)
      return "display: none;";
    const o = "text-anchor: end; dominant-baseline: middle; font-size: 10px; fill:" + M(e.data.name) + "; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;", f = P({ cssCompiledStyles: e.data.cssCompiledStyles });
    return o + f.labelStyles.replace("color:", "fill:");
  });
  const ie = ae.leaves(), Y = z.selectAll(".treemapLeafGroup").data(ie).enter().append("g").attr("class", (e, o) => `treemapNode treemapLeafGroup leaf${o}${e.data.classSelector ? ` ${e.data.classSelector}` : ""}x`).attr("transform", (e) => `translate(${e.x0},${e.y0})`);
  Y.append("rect").attr("width", (e) => e.x1 - e.x0).attr("height", (e) => e.y1 - e.y0).attr("class", "treemapLeaf").attr("fill", (e) => e.parent ? m(e.parent.data.name) : m(e.data.name)).attr("style", (e) => P({ cssCompiledStyles: e.data.cssCompiledStyles }).nodeStyles).attr("fill-opacity", 0.3).attr("stroke", (e) => e.parent ? m(e.parent.data.name) : m(e.data.name)).attr("stroke-width", 3), Y.append("clipPath").attr("id", (e, o) => `clip-${a}-${o}`).append("rect").attr("width", (e) => Math.max(0, e.x1 - e.x0 - 4)).attr("height", (e) => Math.max(0, e.y1 - e.y0 - 4)), Y.append("text").attr("class", "treemapLabel").attr("x", (e) => (e.x1 - e.x0) / 2).attr("y", (e) => (e.y1 - e.y0) / 2).attr("style", (e) => {
    const o = "text-anchor: middle; dominant-baseline: middle; font-size: 38px;fill:" + M(e.data.name) + ";", f = P({ cssCompiledStyles: e.data.cssCompiledStyles });
    return o + f.labelStyles.replace("color:", "fill:");
  }).attr("clip-path", (e, o) => `url(#clip-${a}-${o})`).text((e) => e.data.name).each(function(e) {
    const o = j(this), f = e.x1 - e.x0, C = e.y1 - e.y0, L = o.node(), $ = 4, D = f - 2 * $, A = C - 2 * $;
    if (D < 10 || A < 10) {
      o.style("display", "none");
      return;
    }
    let y = parseInt(o.style("font-size"), 10);
    const _ = 8, F = 28, T = 0.6, k = 6, I = 2;
    for (; L.getComputedTextLength() > D && y > _; )
      y--, o.style("font-size", `${y}px`);
    let H = Math.max(
      k,
      Math.min(F, Math.round(y * T))
    ), Q = y + I + H;
    for (; Q > A && y > _ && (y--, H = Math.max(
      k,
      Math.min(F, Math.round(y * T))
    ), !(H < k && y === _)); )
      o.style("font-size", `${y}px`), Q = y + I + H;
    o.style("font-size", `${y}px`), (L.getComputedTextLength() > D || y < _ || A < y) && o.style("display", "none");
  }), i.showValues !== !1 && Y.append("text").attr("class", "treemapValue").attr("x", (o) => (o.x1 - o.x0) / 2).attr("y", function(o) {
    return (o.y1 - o.y0) / 2;
  }).attr("style", (o) => {
    const f = "text-anchor: middle; dominant-baseline: hanging; font-size: 28px;fill:" + M(o.data.name) + ";", C = P({ cssCompiledStyles: o.data.cssCompiledStyles });
    return f + C.labelStyles.replace("color:", "fill:");
  }).attr("clip-path", (o, f) => `url(#clip-${a}-${f})`).text((o) => o.value ? p(o.value) : "").each(function(o) {
    const f = j(this), C = this.parentNode;
    if (!C) {
      f.style("display", "none");
      return;
    }
    const L = j(C).select(".treemapLabel");
    if (L.empty() || L.style("display") === "none") {
      f.style("display", "none");
      return;
    }
    const $ = parseFloat(L.style("font-size")), D = 28, A = 0.6, y = 6, _ = 2, F = Math.max(
      y,
      Math.min(D, Math.round($ * A))
    );
    f.style("font-size", `${F}px`);
    const k = (o.y1 - o.y0) / 2 + $ / 2 + _;
    f.attr("y", k);
    const I = o.x1 - o.x0, ce = o.y1 - o.y0 - 4, de = I - 8;
    f.node().getComputedTextLength() > de || k + F > ce || F < y ? f.style("display", "none") : f.style("display", null);
  });
  const oe = i.diagramPadding ?? 8;
  Ce(b, oe, "flowchart", i?.useMaxWidth || !1);
}, "draw"), lt = /* @__PURE__ */ w(function(t, a) {
  return a.db.getClasses();
}, "getClasses"), rt = { draw: nt, getClasses: lt }, st = {
  sectionStrokeColor: "black",
  sectionStrokeWidth: "1",
  sectionFillColor: "#efefef",
  leafStrokeColor: "black",
  leafStrokeWidth: "1",
  leafFillColor: "#efefef",
  labelFontSize: "12px",
  valueFontSize: "10px",
  titleFontSize: "14px"
}, it = /* @__PURE__ */ w(({
  treemap: t
} = {}) => {
  const a = he(), l = ee(), n = Z(a, l.themeVariables), r = Z(st, t), i = r.titleColor ?? n.titleColor, d = r.labelColor ?? n.textColor, h = r.valueColor ?? n.textColor;
  return `
  .treemapNode.section {
    stroke: ${r.sectionStrokeColor};
    stroke-width: ${r.sectionStrokeWidth};
    fill: ${r.sectionFillColor};
  }
  .treemapNode.leaf {
    stroke: ${r.leafStrokeColor};
    stroke-width: ${r.leafStrokeWidth};
    fill: ${r.leafFillColor};
  }
  .treemapLabel {
    fill: ${d};
    font-size: ${r.labelFontSize};
  }
  .treemapValue {
    fill: ${h};
    font-size: ${r.valueFontSize};
  }
  .treemapTitle {
    fill: ${i};
    font-size: ${r.titleFontSize};
  }
  `;
}, "getStyles"), ot = it, ft = {
  parser: re,
  get db() {
    return new ne();
  },
  renderer: rt,
  styles: ot
};
export {
  ft as diagram
};
