agentic-ui-libs 0.2.0-beta.12 → 0.2.0-beta.13

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -197,7 +197,7 @@ function Ab() {
197
197
  }
198
198
  }
199
199
  var G = b.ReactCurrentDispatcher, Y;
200
- function Q(N, J, ne) {
200
+ function te(N, J, ne) {
201
201
  {
202
202
  if (Y === void 0)
203
203
  try {
@@ -212,8 +212,8 @@ function Ab() {
212
212
  }
213
213
  var V = !1, Z;
214
214
  {
215
- var te = typeof WeakMap == "function" ? WeakMap : Map;
216
- Z = new te();
215
+ var ee = typeof WeakMap == "function" ? WeakMap : Map;
216
+ Z = new ee();
217
217
  }
218
218
  function I(N, J) {
219
219
  if (!N || V)
@@ -283,7 +283,7 @@ function Ab() {
283
283
  } finally {
284
284
  V = !1, G.current = Ce, L(), Error.prepareStackTrace = we;
285
285
  }
286
- var pn = N ? N.displayName || N.name : "", Ir = pn ? Q(pn) : "";
286
+ var pn = N ? N.displayName || N.name : "", Ir = pn ? te(pn) : "";
287
287
  return typeof N == "function" && Z.set(N, Ir), Ir;
288
288
  }
289
289
  function ie(N, J, ne) {
@@ -299,12 +299,12 @@ function Ab() {
299
299
  if (typeof N == "function")
300
300
  return I(N, X(N));
301
301
  if (typeof N == "string")
302
- return Q(N);
302
+ return te(N);
303
303
  switch (N) {
304
304
  case c:
305
- return Q("Suspense");
305
+ return te("Suspense");
306
306
  case u:
307
- return Q("SuspenseList");
307
+ return te("SuspenseList");
308
308
  }
309
309
  if (typeof N == "object")
310
310
  switch (N.$$typeof) {
@@ -3825,7 +3825,7 @@ function W2() {
3825
3825
  function Y(X) {
3826
3826
  return y(X) === d;
3827
3827
  }
3828
- function Q(X) {
3828
+ function te(X) {
3829
3829
  return y(X) === f;
3830
3830
  }
3831
3831
  function V(X) {
@@ -3834,7 +3834,7 @@ function W2() {
3834
3834
  function Z(X) {
3835
3835
  return y(X) === a;
3836
3836
  }
3837
- function te(X) {
3837
+ function ee(X) {
3838
3838
  return y(X) === n;
3839
3839
  }
3840
3840
  function I(X) {
@@ -3843,7 +3843,7 @@ function W2() {
3843
3843
  function ie(X) {
3844
3844
  return y(X) === u;
3845
3845
  }
3846
- Se.ContextConsumer = w, Se.ContextProvider = S, Se.Element = T, Se.ForwardRef = P, Se.Fragment = E, Se.Lazy = j, Se.Memo = _, Se.Portal = R, Se.Profiler = $, Se.StrictMode = D, Se.Suspense = k, Se.SuspenseList = F, Se.isAsyncMode = C, Se.isConcurrentMode = B, Se.isContextConsumer = U, Se.isContextProvider = W, Se.isElement = K, Se.isForwardRef = L, Se.isFragment = G, Se.isLazy = Y, Se.isMemo = Q, Se.isPortal = V, Se.isProfiler = Z, Se.isStrictMode = te, Se.isSuspense = I, Se.isSuspenseList = ie, Se.isValidElementType = A, Se.typeOf = y;
3846
+ Se.ContextConsumer = w, Se.ContextProvider = S, Se.Element = T, Se.ForwardRef = P, Se.Fragment = E, Se.Lazy = j, Se.Memo = _, Se.Portal = R, Se.Profiler = $, Se.StrictMode = D, Se.Suspense = k, Se.SuspenseList = F, Se.isAsyncMode = C, Se.isConcurrentMode = B, Se.isContextConsumer = U, Se.isContextProvider = W, Se.isElement = K, Se.isForwardRef = L, Se.isFragment = G, Se.isLazy = Y, Se.isMemo = te, Se.isPortal = V, Se.isProfiler = Z, Se.isStrictMode = ee, Se.isSuspense = I, Se.isSuspenseList = ie, Se.isValidElementType = A, Se.typeOf = y;
3847
3847
  }()), Se;
3848
3848
  }
3849
3849
  process.env.NODE_ENV === "production" ? Vl.exports = U2() : Vl.exports = W2();
@@ -3863,18 +3863,18 @@ var Ut = function(t) {
3863
3863
  return t === 0 ? 0 : t > 0 ? 1 : -1;
3864
3864
  }, Vr = function(t) {
3865
3865
  return Qr(t) && t.indexOf("%") === t.length - 1;
3866
- }, ee = function(t) {
3866
+ }, Q = function(t) {
3867
3867
  return K2(t) && !sa(t);
3868
3868
  }, J2 = function(t) {
3869
3869
  return fe(t);
3870
3870
  }, et = function(t) {
3871
- return ee(t) || Qr(t);
3871
+ return Q(t) || Qr(t);
3872
3872
  }, Q2 = 0, sn = function(t) {
3873
3873
  var r = ++Q2;
3874
3874
  return "".concat(t || "").concat(r);
3875
3875
  }, en = function(t, r) {
3876
3876
  var n = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : 0, a = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : !1;
3877
- if (!ee(t) && !Qr(t))
3877
+ if (!Q(t) && !Qr(t))
3878
3878
  return n;
3879
3879
  var i;
3880
3880
  if (Vr(t)) {
@@ -3898,7 +3898,7 @@ var Ut = function(t) {
3898
3898
  return !0;
3899
3899
  return !1;
3900
3900
  }, Ge = function(t, r) {
3901
- return ee(t) && ee(r) ? function(n) {
3901
+ return Q(t) && Q(r) ? function(n) {
3902
3902
  return t + n * (r - t);
3903
3903
  } : function() {
3904
3904
  return r;
@@ -3922,7 +3922,7 @@ var tO = function(t) {
3922
3922
  b: (a - d * n) / r
3923
3923
  };
3924
3924
  }, rO = function(t, r) {
3925
- return ee(t) && ee(r) ? t - r : Qr(t) && Qr(r) ? t.localeCompare(r) : t instanceof Date && r instanceof Date ? t.getTime() - r.getTime() : String(t).localeCompare(String(r));
3925
+ return Q(t) && Q(r) ? t - r : Qr(t) && Qr(r) ? t.localeCompare(r) : t instanceof Date && r instanceof Date ? t.getTime() - r.getTime() : String(t).localeCompare(String(r));
3926
3926
  };
3927
3927
  function Tn(e, t) {
3928
3928
  for (var r in e)
@@ -4349,7 +4349,7 @@ var id = function(t) {
4349
4349
  if (!t || !t.props)
4350
4350
  return !1;
4351
4351
  var r = t.props, n = r.width, a = r.height;
4352
- return !(!ee(n) || n <= 0 || !ee(a) || a <= 0);
4352
+ return !(!Q(n) || n <= 0 || !Q(a) || a <= 0);
4353
4353
  }, cO = ["a", "altGlyph", "altGlyphDef", "altGlyphItem", "animate", "animateColor", "animateMotion", "animateTransform", "circle", "clipPath", "color-profile", "cursor", "defs", "desc", "ellipse", "feBlend", "feColormatrix", "feComponentTransfer", "feComposite", "feConvolveMatrix", "feDiffuseLighting", "feDisplacementMap", "feDistantLight", "feFlood", "feFuncA", "feFuncB", "feFuncG", "feFuncR", "feGaussianBlur", "feImage", "feMerge", "feMergeNode", "feMorphology", "feOffset", "fePointLight", "feSpecularLighting", "feSpotLight", "feTile", "feTurbulence", "filter", "font", "font-face", "font-face-format", "font-face-name", "font-face-url", "foreignObject", "g", "glyph", "glyphRef", "hkern", "image", "line", "lineGradient", "marker", "mask", "metadata", "missing-glyph", "mpath", "path", "pattern", "polygon", "polyline", "radialGradient", "rect", "script", "set", "stop", "style", "svg", "switch", "symbol", "text", "textPath", "title", "tref", "tspan", "use", "view", "vkern"], uO = function(t) {
4354
4354
  return t && t.type && Qr(t.type) && cO.indexOf(t.type) >= 0;
4355
4355
  }, Pv = function(t) {
@@ -6357,7 +6357,7 @@ var Ld = 1, An = /* @__PURE__ */ function(e) {
6357
6357
  key: "getWithHeight",
6358
6358
  value: function(n, a) {
6359
6359
  var i = tr(tr({}, this.defaultProps), n.props), o = i.layout;
6360
- return o === "vertical" && ee(n.props.height) ? {
6360
+ return o === "vertical" && Q(n.props.height) ? {
6361
6361
  height: n.props.height
6362
6362
  } : o === "horizontal" ? {
6363
6363
  width: n.props.width || a
@@ -6742,11 +6742,11 @@ var ja = "recharts-tooltip-wrapper", _$ = {
6742
6742
  };
6743
6743
  function E$(e) {
6744
6744
  var t = e.coordinate, r = e.translateX, n = e.translateY;
6745
- return ve(ja, Fi(Fi(Fi(Fi({}, "".concat(ja, "-right"), ee(r) && t && ee(t.x) && r >= t.x), "".concat(ja, "-left"), ee(r) && t && ee(t.x) && r < t.x), "".concat(ja, "-bottom"), ee(n) && t && ee(t.y) && n >= t.y), "".concat(ja, "-top"), ee(n) && t && ee(t.y) && n < t.y));
6745
+ return ve(ja, Fi(Fi(Fi(Fi({}, "".concat(ja, "-right"), Q(r) && t && Q(t.x) && r >= t.x), "".concat(ja, "-left"), Q(r) && t && Q(t.x) && r < t.x), "".concat(ja, "-bottom"), Q(n) && t && Q(t.y) && n >= t.y), "".concat(ja, "-top"), Q(n) && t && Q(t.y) && n < t.y));
6746
6746
  }
6747
6747
  function qd(e) {
6748
6748
  var t = e.allowEscapeViewBox, r = e.coordinate, n = e.key, a = e.offsetTopLeft, i = e.position, o = e.reverseDirection, s = e.tooltipDimension, l = e.viewBox, c = e.viewBoxDimension;
6749
- if (i && ee(i[n]))
6749
+ if (i && Q(i[n]))
6750
6750
  return i[n];
6751
6751
  var u = r[n] - s - a, f = r[n] + a;
6752
6752
  if (t[n])
@@ -7797,7 +7797,7 @@ var Mg = /[ \f\n\r\t\v\u2028\u2029]+/, Ng = function(t) {
7797
7797
  return null;
7798
7798
  }
7799
7799
  }, uM = function(t, r, n, a, i) {
7800
- var o = t.maxLines, s = t.children, l = t.style, c = t.breakAll, u = ee(o), f = s, d = function() {
7800
+ var o = t.maxLines, s = t.children, l = t.style, c = t.breakAll, u = Q(o), f = s, d = function() {
7801
7801
  var D = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : [];
7802
7802
  return D.reduce(function(k, F) {
7803
7803
  var z = F.word, q = F.width, C = k[k.length - 1];
@@ -7874,7 +7874,7 @@ var Mg = /[ \f\n\r\t\v\u2028\u2029]+/, Ng = function(t) {
7874
7874
  }, [O.breakAll, O.children, O.maxLines, f, O.style, O.width]), A = O.dx, y = O.dy, w = O.angle, S = O.className, T = O.breakAll, P = fp(O, aM);
7875
7875
  if (!et(n) || !et(i))
7876
7876
  return null;
7877
- var E = n + (ee(A) ? A : 0), j = i + (ee(y) ? y : 0), _;
7877
+ var E = n + (Q(A) ? A : 0), j = i + (Q(y) ? y : 0), _;
7878
7878
  switch (g) {
7879
7879
  case "start":
7880
7880
  _ = vl("calc(".concat(c, ")"));
@@ -7889,7 +7889,7 @@ var Mg = /[ \f\n\r\t\v\u2028\u2029]+/, Ng = function(t) {
7889
7889
  var R = [];
7890
7890
  if (f) {
7891
7891
  var $ = x[0].width, D = O.width;
7892
- R.push("scale(".concat((ee(D) ? D / $ : 1) / $, ")"));
7892
+ R.push("scale(".concat((Q(D) ? D / $ : 1) / $, ")"));
7893
7893
  }
7894
7894
  return w && R.push("rotate(".concat(w, ", ").concat(E, ", ").concat(j, ")")), R.length && (P.transform = R.join(" ")), /* @__PURE__ */ M.createElement("text", gc({}, de(P, !0), {
7895
7895
  x: E,
@@ -9393,7 +9393,7 @@ function k3(e) {
9393
9393
  m: bN,
9394
9394
  M: xN,
9395
9395
  p: Y,
9396
- q: Q,
9396
+ q: te,
9397
9397
  Q: Zp,
9398
9398
  s: Jp,
9399
9399
  S: wN,
@@ -9444,17 +9444,17 @@ function k3(e) {
9444
9444
  };
9445
9445
  x.x = w(r, x), x.X = w(n, x), x.c = w(t, x), A.x = w(r, A), A.X = w(n, A), A.c = w(t, A);
9446
9446
  function w(V, Z) {
9447
- return function(te) {
9447
+ return function(ee) {
9448
9448
  var I = [], ie = -1, X = 0, le = V.length, re, he, Ue;
9449
- for (te instanceof Date || (te = /* @__PURE__ */ new Date(+te)); ++ie < le; )
9450
- V.charCodeAt(ie) === 37 && (I.push(V.slice(X, ie)), (he = zp[re = V.charAt(++ie)]) != null ? re = V.charAt(++ie) : he = re === "e" ? " " : "0", (Ue = Z[re]) && (re = Ue(te, he)), I.push(re), X = ie + 1);
9449
+ for (ee instanceof Date || (ee = /* @__PURE__ */ new Date(+ee)); ++ie < le; )
9450
+ V.charCodeAt(ie) === 37 && (I.push(V.slice(X, ie)), (he = zp[re = V.charAt(++ie)]) != null ? re = V.charAt(++ie) : he = re === "e" ? " " : "0", (Ue = Z[re]) && (re = Ue(ee, he)), I.push(re), X = ie + 1);
9451
9451
  return I.push(V.slice(X, ie)), I.join("");
9452
9452
  };
9453
9453
  }
9454
9454
  function S(V, Z) {
9455
- return function(te) {
9456
- var I = _a(1900, void 0, 1), ie = T(I, V, te += "", 0), X, le;
9457
- if (ie != te.length) return null;
9455
+ return function(ee) {
9456
+ var I = _a(1900, void 0, 1), ie = T(I, V, ee += "", 0), X, le;
9457
+ if (ie != ee.length) return null;
9458
9458
  if ("Q" in I) return new Date(I.Q);
9459
9459
  if ("s" in I) return new Date(I.s * 1e3 + ("L" in I ? I.L : 0));
9460
9460
  if (Z && !("Z" in I) && (I.Z = 0), "p" in I && (I.H = I.H % 12 + I.p * 12), I.m === void 0 && (I.m = "q" in I ? I.q : 0), "V" in I) {
@@ -9464,44 +9464,44 @@ function k3(e) {
9464
9464
  return "Z" in I ? (I.H += I.Z / 100 | 0, I.M += I.Z % 100, Sl(I)) : Ol(I);
9465
9465
  };
9466
9466
  }
9467
- function T(V, Z, te, I) {
9468
- for (var ie = 0, X = Z.length, le = te.length, re, he; ie < X; ) {
9467
+ function T(V, Z, ee, I) {
9468
+ for (var ie = 0, X = Z.length, le = ee.length, re, he; ie < X; ) {
9469
9469
  if (I >= le) return -1;
9470
9470
  if (re = Z.charCodeAt(ie++), re === 37) {
9471
- if (re = Z.charAt(ie++), he = y[re in zp ? Z.charAt(ie++) : re], !he || (I = he(V, te, I)) < 0) return -1;
9472
- } else if (re != te.charCodeAt(I++))
9471
+ if (re = Z.charAt(ie++), he = y[re in zp ? Z.charAt(ie++) : re], !he || (I = he(V, ee, I)) < 0) return -1;
9472
+ } else if (re != ee.charCodeAt(I++))
9473
9473
  return -1;
9474
9474
  }
9475
9475
  return I;
9476
9476
  }
9477
- function P(V, Z, te) {
9478
- var I = c.exec(Z.slice(te));
9479
- return I ? (V.p = u.get(I[0].toLowerCase()), te + I[0].length) : -1;
9477
+ function P(V, Z, ee) {
9478
+ var I = c.exec(Z.slice(ee));
9479
+ return I ? (V.p = u.get(I[0].toLowerCase()), ee + I[0].length) : -1;
9480
9480
  }
9481
- function E(V, Z, te) {
9482
- var I = h.exec(Z.slice(te));
9483
- return I ? (V.w = v.get(I[0].toLowerCase()), te + I[0].length) : -1;
9481
+ function E(V, Z, ee) {
9482
+ var I = h.exec(Z.slice(ee));
9483
+ return I ? (V.w = v.get(I[0].toLowerCase()), ee + I[0].length) : -1;
9484
9484
  }
9485
- function j(V, Z, te) {
9486
- var I = f.exec(Z.slice(te));
9487
- return I ? (V.w = d.get(I[0].toLowerCase()), te + I[0].length) : -1;
9485
+ function j(V, Z, ee) {
9486
+ var I = f.exec(Z.slice(ee));
9487
+ return I ? (V.w = d.get(I[0].toLowerCase()), ee + I[0].length) : -1;
9488
9488
  }
9489
- function _(V, Z, te) {
9490
- var I = b.exec(Z.slice(te));
9491
- return I ? (V.m = O.get(I[0].toLowerCase()), te + I[0].length) : -1;
9489
+ function _(V, Z, ee) {
9490
+ var I = b.exec(Z.slice(ee));
9491
+ return I ? (V.m = O.get(I[0].toLowerCase()), ee + I[0].length) : -1;
9492
9492
  }
9493
- function R(V, Z, te) {
9494
- var I = g.exec(Z.slice(te));
9495
- return I ? (V.m = m.get(I[0].toLowerCase()), te + I[0].length) : -1;
9493
+ function R(V, Z, ee) {
9494
+ var I = g.exec(Z.slice(ee));
9495
+ return I ? (V.m = m.get(I[0].toLowerCase()), ee + I[0].length) : -1;
9496
9496
  }
9497
- function $(V, Z, te) {
9498
- return T(V, t, Z, te);
9497
+ function $(V, Z, ee) {
9498
+ return T(V, t, Z, ee);
9499
9499
  }
9500
- function D(V, Z, te) {
9501
- return T(V, r, Z, te);
9500
+ function D(V, Z, ee) {
9501
+ return T(V, r, Z, ee);
9502
9502
  }
9503
- function k(V, Z, te) {
9504
- return T(V, n, Z, te);
9503
+ function k(V, Z, ee) {
9504
+ return T(V, n, Z, ee);
9505
9505
  }
9506
9506
  function F(V) {
9507
9507
  return o[V.getDay()];
@@ -9536,7 +9536,7 @@ function k3(e) {
9536
9536
  function Y(V) {
9537
9537
  return a[+(V.getUTCHours() >= 12)];
9538
9538
  }
9539
- function Q(V) {
9539
+ function te(V) {
9540
9540
  return 1 + ~~(V.getUTCMonth() / 3);
9541
9541
  }
9542
9542
  return {
@@ -11135,7 +11135,7 @@ function Wa(e, t, r, n) {
11135
11135
  });
11136
11136
  if (r === "number") {
11137
11137
  var i = a.filter(function(s) {
11138
- return ee(s) || parseFloat(s);
11138
+ return Q(s) || parseFloat(s);
11139
11139
  });
11140
11140
  return i.length ? [Rs(i), Ar(i)] : [1 / 0, -1 / 0];
11141
11141
  }
@@ -11279,9 +11279,9 @@ var m6 = function(t) {
11279
11279
  });
11280
11280
  if (c) {
11281
11281
  var u = a || {}, f = u.width, d = u.height, h = c.align, v = c.verticalAlign, g = c.layout;
11282
- if ((g === "vertical" || g === "horizontal" && v === "middle") && h !== "center" && ee(t[h]))
11282
+ if ((g === "vertical" || g === "horizontal" && v === "middle") && h !== "center" && Q(t[h]))
11283
11283
  return We(We({}, t), {}, Pn({}, h, t[h] + (f || 0)));
11284
- if ((g === "horizontal" || g === "vertical" && h === "center") && v !== "middle" && ee(t[v]))
11284
+ if ((g === "horizontal" || g === "vertical" && h === "center") && v !== "middle" && Q(t[v]))
11285
11285
  return We(We({}, t), {}, Pn({}, v, t[v] + (d || 0)));
11286
11286
  }
11287
11287
  return t;
@@ -11442,10 +11442,10 @@ var m6 = function(t) {
11442
11442
  return t[n].position;
11443
11443
  return null;
11444
11444
  }, T6 = function(t, r) {
11445
- if (!r || r.length !== 2 || !ee(r[0]) || !ee(r[1]))
11445
+ if (!r || r.length !== 2 || !Q(r[0]) || !Q(r[1]))
11446
11446
  return t;
11447
11447
  var n = Math.min(r[0], r[1]), a = Math.max(r[0], r[1]), i = [t[0], t[1]];
11448
- return (!ee(t[0]) || t[0] < n) && (i[0] = n), (!ee(t[1]) || t[1] > a) && (i[1] = a), i[0] > a && (i[0] = a), i[1] < n && (i[1] = n), i;
11448
+ return (!Q(t[0]) || t[0] < n) && (i[0] = n), (!Q(t[1]) || t[1] > a) && (i[1] = a), i[0] > a && (i[0] = a), i[1] < n && (i[1] = n), i;
11449
11449
  }, A6 = function(t) {
11450
11450
  var r = t.length;
11451
11451
  if (!(r <= 0))
@@ -11581,7 +11581,7 @@ var lh = function(t) {
11581
11581
  return null;
11582
11582
  }, M6 = function(t) {
11583
11583
  return t.reduce(function(r, n) {
11584
- return [Rs(n.concat([r[0]]).filter(ee)), Ar(n.concat([r[1]]).filter(ee))];
11584
+ return [Rs(n.concat([r[0]]).filter(Q)), Ar(n.concat([r[1]]).filter(Q))];
11585
11585
  }, [1 / 0, -1 / 0]);
11586
11586
  }, Dy = function(t, r, n) {
11587
11587
  return Object.keys(t).reduce(function(a, i) {
@@ -11599,13 +11599,13 @@ var lh = function(t) {
11599
11599
  if (!Array.isArray(t))
11600
11600
  return r;
11601
11601
  var a = [];
11602
- if (ee(t[0]))
11602
+ if (Q(t[0]))
11603
11603
  a[0] = n ? t[0] : Math.min(t[0], r[0]);
11604
11604
  else if (ch.test(t[0])) {
11605
11605
  var i = +ch.exec(t[0])[1];
11606
11606
  a[0] = r[0] - i;
11607
11607
  } else pe(t[0]) ? a[0] = t[0](r[0]) : a[0] = r[0];
11608
- if (ee(t[1]))
11608
+ if (Q(t[1]))
11609
11609
  a[1] = n ? t[1] : Math.max(t[1], r[1]);
11610
11610
  else if (uh.test(t[1])) {
11611
11611
  var o = +uh.exec(t[1])[1];
@@ -12013,7 +12013,7 @@ var Q6 = function(t) {
12013
12013
  y: l + u - d,
12014
12014
  textAnchor: b,
12015
12015
  verticalAnchor: h
12016
- }, S) : na(i) && (ee(i.x) || Vr(i.x)) && (ee(i.y) || Vr(i.y)) ? Ze({
12016
+ }, S) : na(i) && (Q(i.x) || Vr(i.x)) && (Q(i.y) || Vr(i.y)) ? Ze({
12017
12017
  x: s + en(i.x, c),
12018
12018
  y: l + en(i.y, u),
12019
12019
  textAnchor: "end",
@@ -12025,7 +12025,7 @@ var Q6 = function(t) {
12025
12025
  verticalAnchor: "middle"
12026
12026
  }, S);
12027
12027
  }, a4 = function(t) {
12028
- return "cx" in t && ee(t.cx);
12028
+ return "cx" in t && Q(t.cx);
12029
12029
  };
12030
12030
  function lt(e) {
12031
12031
  var t = e.offset, r = t === void 0 ? 5 : t, n = K6(e, W6), a = Ze({
@@ -12056,15 +12056,15 @@ var Iy = function(t) {
12056
12056
  var r = t.cx, n = t.cy, a = t.angle, i = t.startAngle, o = t.endAngle, s = t.r, l = t.radius, c = t.innerRadius, u = t.outerRadius, f = t.x, d = t.y, h = t.top, v = t.left, g = t.width, m = t.height, b = t.clockWise, O = t.labelViewBox;
12057
12057
  if (O)
12058
12058
  return O;
12059
- if (ee(g) && ee(m)) {
12060
- if (ee(f) && ee(d))
12059
+ if (Q(g) && Q(m)) {
12060
+ if (Q(f) && Q(d))
12061
12061
  return {
12062
12062
  x: f,
12063
12063
  y: d,
12064
12064
  width: g,
12065
12065
  height: m
12066
12066
  };
12067
- if (ee(h) && ee(v))
12067
+ if (Q(h) && Q(v))
12068
12068
  return {
12069
12069
  x: h,
12070
12070
  y: v,
@@ -12072,12 +12072,12 @@ var Iy = function(t) {
12072
12072
  height: m
12073
12073
  };
12074
12074
  }
12075
- return ee(f) && ee(d) ? {
12075
+ return Q(f) && Q(d) ? {
12076
12076
  x: f,
12077
12077
  y: d,
12078
12078
  width: 0,
12079
12079
  height: 0
12080
- } : ee(r) && ee(n) ? {
12080
+ } : Q(r) && Q(n) ? {
12081
12081
  cx: r,
12082
12082
  cy: n,
12083
12083
  startAngle: i || a || 0,
@@ -12575,7 +12575,7 @@ var Sh = {
12575
12575
  return g.base.y;
12576
12576
  }), d.defined(Ki).curve(u), d(v);
12577
12577
  }
12578
- return s === "vertical" && ee(o) ? d = Li().y(ka).x1($a).x0(o) : ee(o) ? d = Li().x($a).y1(ka).y0(o) : d = Fv().x($a).y(ka), d.defined(Ki).curve(u), d(f);
12578
+ return s === "vertical" && Q(o) ? d = Li().y(ka).x1($a).x0(o) : Q(o) ? d = Li().x($a).y1(ka).y0(o) : d = Fv().x($a).y(ka), d.defined(Ki).curve(u), d(f);
12579
12579
  }, Jr = function(t) {
12580
12580
  var r = t.className, n = t.points, a = t.path, i = t.pathRef;
12581
12581
  if ((!n || !n.length) && !a)
@@ -12738,7 +12738,7 @@ function R4() {
12738
12738
  function Y(I) {
12739
12739
  return A(I) === h;
12740
12740
  }
12741
- function Q(I) {
12741
+ function te(I) {
12742
12742
  return A(I) === r;
12743
12743
  }
12744
12744
  function V(I) {
@@ -12747,10 +12747,10 @@ function R4() {
12747
12747
  function Z(I) {
12748
12748
  return A(I) === a;
12749
12749
  }
12750
- function te(I) {
12750
+ function ee(I) {
12751
12751
  return A(I) === f;
12752
12752
  }
12753
- Ae.AsyncMode = y, Ae.ConcurrentMode = w, Ae.ContextConsumer = S, Ae.ContextProvider = T, Ae.Element = P, Ae.ForwardRef = E, Ae.Fragment = j, Ae.Lazy = _, Ae.Memo = R, Ae.Portal = $, Ae.Profiler = D, Ae.StrictMode = k, Ae.Suspense = F, Ae.isAsyncMode = q, Ae.isConcurrentMode = C, Ae.isContextConsumer = B, Ae.isContextProvider = U, Ae.isElement = W, Ae.isForwardRef = K, Ae.isFragment = L, Ae.isLazy = G, Ae.isMemo = Y, Ae.isPortal = Q, Ae.isProfiler = V, Ae.isStrictMode = Z, Ae.isSuspense = te, Ae.isValidElementType = x, Ae.typeOf = A;
12753
+ Ae.AsyncMode = y, Ae.ConcurrentMode = w, Ae.ContextConsumer = S, Ae.ContextProvider = T, Ae.Element = P, Ae.ForwardRef = E, Ae.Fragment = j, Ae.Lazy = _, Ae.Memo = R, Ae.Portal = $, Ae.Profiler = D, Ae.StrictMode = k, Ae.Suspense = F, Ae.isAsyncMode = q, Ae.isConcurrentMode = C, Ae.isContextConsumer = B, Ae.isContextProvider = U, Ae.isElement = W, Ae.isForwardRef = K, Ae.isFragment = L, Ae.isLazy = G, Ae.isMemo = Y, Ae.isPortal = te, Ae.isProfiler = V, Ae.isStrictMode = Z, Ae.isSuspense = ee, Ae.isValidElementType = x, Ae.typeOf = A;
12754
12754
  }()), Ae;
12755
12755
  }
12756
12756
  var jh;
@@ -12923,31 +12923,31 @@ function B4() {
12923
12923
  function m(C) {
12924
12924
  if (process.env.NODE_ENV !== "production")
12925
12925
  var B = {}, U = 0;
12926
- function W(L, G, Y, Q, V, Z, te) {
12927
- if (Q = Q || d, Z = Z || Y, te !== r) {
12926
+ function W(L, G, Y, te, V, Z, ee) {
12927
+ if (te = te || d, Z = Z || Y, ee !== r) {
12928
12928
  if (l) {
12929
12929
  var I = new Error(
12930
12930
  "Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types"
12931
12931
  );
12932
12932
  throw I.name = "Invariant Violation", I;
12933
12933
  } else if (process.env.NODE_ENV !== "production" && typeof console < "u") {
12934
- var ie = Q + ":" + Y;
12934
+ var ie = te + ":" + Y;
12935
12935
  !B[ie] && // Avoid spamming the console because they are often not actionable except for lib authors
12936
12936
  U < 3 && (i(
12937
- "You are manually calling a React.PropTypes validation function for the `" + Z + "` prop on `" + Q + "`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."
12937
+ "You are manually calling a React.PropTypes validation function for the `" + Z + "` prop on `" + te + "`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."
12938
12938
  ), B[ie] = !0, U++);
12939
12939
  }
12940
12940
  }
12941
- return G[Y] == null ? L ? G[Y] === null ? new g("The " + V + " `" + Z + "` is marked as required " + ("in `" + Q + "`, but its value is `null`.")) : new g("The " + V + " `" + Z + "` is marked as required in " + ("`" + Q + "`, but its value is `undefined`.")) : null : C(G, Y, Q, V, Z);
12941
+ return G[Y] == null ? L ? G[Y] === null ? new g("The " + V + " `" + Z + "` is marked as required " + ("in `" + te + "`, but its value is `null`.")) : new g("The " + V + " `" + Z + "` is marked as required in " + ("`" + te + "`, but its value is `undefined`.")) : null : C(G, Y, te, V, Z);
12942
12942
  }
12943
12943
  var K = W.bind(null, !1);
12944
12944
  return K.isRequired = W.bind(null, !0), K;
12945
12945
  }
12946
12946
  function b(C) {
12947
12947
  function B(U, W, K, L, G, Y) {
12948
- var Q = U[W], V = k(Q);
12948
+ var te = U[W], V = k(te);
12949
12949
  if (V !== C) {
12950
- var Z = F(Q);
12950
+ var Z = F(te);
12951
12951
  return new g(
12952
12952
  "Invalid " + L + " `" + G + "` of type " + ("`" + Z + "` supplied to `" + K + "`, expected ") + ("`" + C + "`."),
12953
12953
  { expectedType: C }
@@ -12966,8 +12966,8 @@ function B4() {
12966
12966
  return new g("Property `" + G + "` of component `" + K + "` has invalid PropType notation inside arrayOf.");
12967
12967
  var Y = U[W];
12968
12968
  if (!Array.isArray(Y)) {
12969
- var Q = k(Y);
12970
- return new g("Invalid " + L + " `" + G + "` of type " + ("`" + Q + "` supplied to `" + K + "`, expected an array."));
12969
+ var te = k(Y);
12970
+ return new g("Invalid " + L + " `" + G + "` of type " + ("`" + te + "` supplied to `" + K + "`, expected an array."));
12971
12971
  }
12972
12972
  for (var V = 0; V < Y.length; V++) {
12973
12973
  var Z = C(Y, V, K, L, G + "[" + V + "]", r);
@@ -13003,8 +13003,8 @@ function B4() {
13003
13003
  function w(C) {
13004
13004
  function B(U, W, K, L, G) {
13005
13005
  if (!(U[W] instanceof C)) {
13006
- var Y = C.name || d, Q = q(U[W]);
13007
- return new g("Invalid " + L + " `" + G + "` of type " + ("`" + Q + "` supplied to `" + K + "`, expected ") + ("instance of `" + Y + "`."));
13006
+ var Y = C.name || d, te = q(U[W]);
13007
+ return new g("Invalid " + L + " `" + G + "` of type " + ("`" + te + "` supplied to `" + K + "`, expected ") + ("instance of `" + Y + "`."));
13008
13008
  }
13009
13009
  return null;
13010
13010
  }
@@ -13016,10 +13016,10 @@ function B4() {
13016
13016
  "Invalid arguments supplied to oneOf, expected an array, got " + arguments.length + " arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z])."
13017
13017
  ) : i("Invalid argument supplied to oneOf, expected an array.")), o;
13018
13018
  function B(U, W, K, L, G) {
13019
- for (var Y = U[W], Q = 0; Q < C.length; Q++)
13020
- if (v(Y, C[Q]))
13019
+ for (var Y = U[W], te = 0; te < C.length; te++)
13020
+ if (v(Y, C[te]))
13021
13021
  return null;
13022
- var V = JSON.stringify(C, function(te, I) {
13022
+ var V = JSON.stringify(C, function(ee, I) {
13023
13023
  var ie = F(I);
13024
13024
  return ie === "symbol" ? String(I) : I;
13025
13025
  });
@@ -13031,9 +13031,9 @@ function B4() {
13031
13031
  function B(U, W, K, L, G) {
13032
13032
  if (typeof C != "function")
13033
13033
  return new g("Property `" + G + "` of component `" + K + "` has invalid PropType notation inside objectOf.");
13034
- var Y = U[W], Q = k(Y);
13035
- if (Q !== "object")
13036
- return new g("Invalid " + L + " `" + G + "` of type " + ("`" + Q + "` supplied to `" + K + "`, expected an object."));
13034
+ var Y = U[W], te = k(Y);
13035
+ if (te !== "object")
13036
+ return new g("Invalid " + L + " `" + G + "` of type " + ("`" + te + "` supplied to `" + K + "`, expected an object."));
13037
13037
  for (var V in Y)
13038
13038
  if (n(Y, V)) {
13039
13039
  var Z = C(Y, V, K, L, G + "." + V, r);
@@ -13054,15 +13054,15 @@ function B4() {
13054
13054
  "Invalid argument supplied to oneOfType. Expected an array of check functions, but received " + z(U) + " at index " + B + "."
13055
13055
  ), o;
13056
13056
  }
13057
- function W(K, L, G, Y, Q) {
13057
+ function W(K, L, G, Y, te) {
13058
13058
  for (var V = [], Z = 0; Z < C.length; Z++) {
13059
- var te = C[Z], I = te(K, L, G, Y, Q, r);
13059
+ var ee = C[Z], I = ee(K, L, G, Y, te, r);
13060
13060
  if (I == null)
13061
13061
  return null;
13062
13062
  I.data && n(I.data, "expectedType") && V.push(I.data.expectedType);
13063
13063
  }
13064
13064
  var ie = V.length > 0 ? ", expected one of type [" + V.join(", ") + "]" : "";
13065
- return new g("Invalid " + Y + " `" + Q + "` supplied to " + ("`" + G + "`" + ie + "."));
13065
+ return new g("Invalid " + Y + " `" + te + "` supplied to " + ("`" + G + "`" + ie + "."));
13066
13066
  }
13067
13067
  return m(W);
13068
13068
  }
@@ -13079,16 +13079,16 @@ function B4() {
13079
13079
  }
13080
13080
  function _(C) {
13081
13081
  function B(U, W, K, L, G) {
13082
- var Y = U[W], Q = k(Y);
13083
- if (Q !== "object")
13084
- return new g("Invalid " + L + " `" + G + "` of type `" + Q + "` " + ("supplied to `" + K + "`, expected `object`."));
13082
+ var Y = U[W], te = k(Y);
13083
+ if (te !== "object")
13084
+ return new g("Invalid " + L + " `" + G + "` of type `" + te + "` " + ("supplied to `" + K + "`, expected `object`."));
13085
13085
  for (var V in C) {
13086
13086
  var Z = C[V];
13087
13087
  if (typeof Z != "function")
13088
13088
  return j(K, L, G, V, F(Z));
13089
- var te = Z(Y, V, K, L, G + "." + V, r);
13090
- if (te)
13091
- return te;
13089
+ var ee = Z(Y, V, K, L, G + "." + V, r);
13090
+ if (ee)
13091
+ return ee;
13092
13092
  }
13093
13093
  return null;
13094
13094
  }
@@ -13096,20 +13096,20 @@ function B4() {
13096
13096
  }
13097
13097
  function R(C) {
13098
13098
  function B(U, W, K, L, G) {
13099
- var Y = U[W], Q = k(Y);
13100
- if (Q !== "object")
13101
- return new g("Invalid " + L + " `" + G + "` of type `" + Q + "` " + ("supplied to `" + K + "`, expected `object`."));
13099
+ var Y = U[W], te = k(Y);
13100
+ if (te !== "object")
13101
+ return new g("Invalid " + L + " `" + G + "` of type `" + te + "` " + ("supplied to `" + K + "`, expected `object`."));
13102
13102
  var V = t({}, U[W], C);
13103
13103
  for (var Z in V) {
13104
- var te = C[Z];
13105
- if (n(C, Z) && typeof te != "function")
13106
- return j(K, L, G, Z, F(te));
13107
- if (!te)
13104
+ var ee = C[Z];
13105
+ if (n(C, Z) && typeof ee != "function")
13106
+ return j(K, L, G, Z, F(ee));
13107
+ if (!ee)
13108
13108
  return new g(
13109
13109
  "Invalid " + L + " `" + G + "` key `" + Z + "` supplied to `" + K + "`.\nBad object: " + JSON.stringify(U[W], null, " ") + `
13110
13110
  Valid keys: ` + JSON.stringify(Object.keys(C), null, " ")
13111
13111
  );
13112
- var I = te(Y, Z, K, L, G + "." + Z, r);
13112
+ var I = ee(Y, Z, K, L, G + "." + Z, r);
13113
13113
  if (I)
13114
13114
  return I;
13115
13115
  }
@@ -14626,7 +14626,7 @@ var ID = function(t, r, n, a, i, o) {
14626
14626
  width: f,
14627
14627
  height: h
14628
14628
  }, g);
14629
- return !ee(n) || !ee(i) || !ee(f) || !ee(h) || !ee(s) || !ee(c) ? null : /* @__PURE__ */ M.createElement("path", Kc({}, de(m, !0), {
14629
+ return !Q(n) || !Q(i) || !Q(f) || !Q(h) || !Q(s) || !Q(c) ? null : /* @__PURE__ */ M.createElement("path", Kc({}, de(m, !0), {
14630
14630
  className: ve("recharts-cross", v),
14631
14631
  d: ID(n, i, f, h, s, c)
14632
14632
  }));
@@ -15422,7 +15422,7 @@ var rI = function(t) {
15422
15422
  key: "render",
15423
15423
  value: function() {
15424
15424
  var n = this.props, a = n.data, i = n.className, o = n.children, s = n.x, l = n.y, c = n.width, u = n.height, f = n.alwaysShowText, d = this.state, h = d.startX, v = d.endX, g = d.isTextActive, m = d.isSlideMoving, b = d.isTravellerMoving, O = d.isTravellerFocused;
15425
- if (!a || !a.length || !ee(s) || !ee(l) || !ee(c) || !ee(u) || c <= 0 || u <= 0)
15425
+ if (!a || !a.length || !Q(s) || !Q(l) || !Q(c) || !Q(u) || c <= 0 || u <= 0)
15426
15426
  return null;
15427
15427
  var x = ve("recharts-brush", i), A = M.Children.count(o) === 1, y = KR("userSelect", "none");
15428
15428
  return /* @__PURE__ */ M.createElement(xe, {
@@ -15688,7 +15688,7 @@ var UI = function(t) {
15688
15688
  var r = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : 0;
15689
15689
  return function(n, a) {
15690
15690
  if (typeof t == "number") return t;
15691
- var i = ee(n) || J2(n);
15691
+ var i = Q(n) || J2(n);
15692
15692
  return i ? t(n, a) : (i || (process.env.NODE_ENV !== "production" ? vt(!1, "minPointSize callback function received a value with type of ".concat(Un(n), ". Currently only numbers or null/undefined are supported.")) : vt()), r);
15693
15693
  };
15694
15694
  }, WI = ["value", "background"], t0;
@@ -17154,8 +17154,8 @@ function Pf(e, t, r) {
17154
17154
  var n = e.tick, a = e.ticks, i = e.viewBox, o = e.minTickGap, s = e.orientation, l = e.interval, c = e.tickFormatter, u = e.unit, f = e.angle;
17155
17155
  if (!a || !a.length || !n)
17156
17156
  return [];
17157
- if (ee(l) || kr.isSsr)
17158
- return dL(a, typeof l == "number" && ee(l) ? l : 0);
17157
+ if (Q(l) || kr.isSsr)
17158
+ return dL(a, typeof l == "number" && Q(l) ? l : 0);
17159
17159
  var d = [], h = s === "top" || s === "bottom" ? "width" : "height", v = u && h === "width" ? Fa(u, {
17160
17160
  fontSize: t,
17161
17161
  letterSpacing: r
@@ -17341,7 +17341,7 @@ var va = /* @__PURE__ */ function(e) {
17341
17341
  }, {
17342
17342
  key: "getTickLineCoord",
17343
17343
  value: function(n) {
17344
- var a = this.props, i = a.x, o = a.y, s = a.width, l = a.height, c = a.orientation, u = a.tickSize, f = a.mirror, d = a.tickMargin, h, v, g, m, b, O, x = f ? -1 : 1, A = n.tickSize || u, y = ee(n.tickCoord) ? n.tickCoord : n.coordinate;
17344
+ var a = this.props, i = a.x, o = a.y, s = a.width, l = a.height, c = a.orientation, u = a.tickSize, f = a.mirror, d = a.tickMargin, h, v, g, m, b, O, x = f ? -1 : 1, A = n.tickSize || u, y = Q(n.tickCoord) ? n.tickCoord : n.coordinate;
17345
17345
  switch (c) {
17346
17346
  case "top":
17347
17347
  h = v = n.coordinate, m = o + +!f * l, g = m - x * A, O = g - x * d, b = y;
@@ -17780,12 +17780,12 @@ function A0(e) {
17780
17780
  horizontalFill: (a = e.horizontalFill) !== null && a !== void 0 ? a : vn.horizontalFill,
17781
17781
  vertical: (i = e.vertical) !== null && i !== void 0 ? i : vn.vertical,
17782
17782
  verticalFill: (o = e.verticalFill) !== null && o !== void 0 ? o : vn.verticalFill,
17783
- x: ee(e.x) ? e.x : c.left,
17784
- y: ee(e.y) ? e.y : c.top,
17785
- width: ee(e.width) ? e.width : c.width,
17786
- height: ee(e.height) ? e.height : c.height
17783
+ x: Q(e.x) ? e.x : c.left,
17784
+ y: Q(e.y) ? e.y : c.top,
17785
+ width: Q(e.width) ? e.width : c.width,
17786
+ height: Q(e.height) ? e.height : c.height
17787
17787
  }), f = u.x, d = u.y, h = u.width, v = u.height, g = u.syncWithTicks, m = u.horizontalValues, b = u.verticalValues, O = j9(), x = P9();
17788
- if (!ee(h) || h <= 0 || !ee(v) || v <= 0 || !ee(f) || f !== +f || !ee(d) || d !== +d)
17788
+ if (!Q(h) || h <= 0 || !Q(v) || v <= 0 || !Q(f) || f !== +f || !Q(d) || d !== +d)
17789
17789
  return null;
17790
17790
  var A = u.verticalCoordinatesGenerator || UL, y = u.horizontalCoordinatesGenerator || WL, w = u.horizontalPoints, S = u.verticalPoints;
17791
17791
  if ((!w || !w.length) && pe(y)) {
@@ -18501,9 +18501,9 @@ var Rr = /* @__PURE__ */ function(e) {
18501
18501
  var a = this.props, i = a.baseLine, o = a.points, s = a.strokeWidth, l = o[0].x, c = o[o.length - 1].x, u = n * Math.abs(l - c), f = Ar(o.map(function(d) {
18502
18502
  return d.y || 0;
18503
18503
  }));
18504
- return ee(i) && typeof i == "number" ? f = Math.max(i, f) : i && Array.isArray(i) && i.length && (f = Math.max(Ar(i.map(function(d) {
18504
+ return Q(i) && typeof i == "number" ? f = Math.max(i, f) : i && Array.isArray(i) && i.length && (f = Math.max(Ar(i.map(function(d) {
18505
18505
  return d.y || 0;
18506
- })), f)), ee(f) ? /* @__PURE__ */ M.createElement("rect", {
18506
+ })), f)), Q(f) ? /* @__PURE__ */ M.createElement("rect", {
18507
18507
  x: l < c ? l : l - u,
18508
18508
  y: 0,
18509
18509
  width: u,
@@ -18516,9 +18516,9 @@ var Rr = /* @__PURE__ */ function(e) {
18516
18516
  var a = this.props, i = a.baseLine, o = a.points, s = a.strokeWidth, l = o[0].y, c = o[o.length - 1].y, u = n * Math.abs(l - c), f = Ar(o.map(function(d) {
18517
18517
  return d.x || 0;
18518
18518
  }));
18519
- return ee(i) && typeof i == "number" ? f = Math.max(i, f) : i && Array.isArray(i) && i.length && (f = Math.max(Ar(i.map(function(d) {
18519
+ return Q(i) && typeof i == "number" ? f = Math.max(i, f) : i && Array.isArray(i) && i.length && (f = Math.max(Ar(i.map(function(d) {
18520
18520
  return d.x || 0;
18521
- })), f)), ee(f) ? /* @__PURE__ */ M.createElement("rect", {
18521
+ })), f)), Q(f) ? /* @__PURE__ */ M.createElement("rect", {
18522
18522
  x: 0,
18523
18523
  y: l < c ? l : l - u,
18524
18524
  width: f + (s ? parseInt("".concat(s), 10) : 1),
@@ -18595,7 +18595,7 @@ var Rr = /* @__PURE__ */ function(e) {
18595
18595
  }
18596
18596
  return T;
18597
18597
  }), y;
18598
- if (ee(l) && typeof l == "number") {
18598
+ if (Q(l) && typeof l == "number") {
18599
18599
  var w = Ge(m, l);
18600
18600
  y = w(O);
18601
18601
  } else if (fe(l) || sa(l)) {
@@ -18694,7 +18694,7 @@ Ht(Rr, "defaultProps", {
18694
18694
  });
18695
18695
  Ht(Rr, "getBaseValue", function(e, t, r, n) {
18696
18696
  var a = e.layout, i = e.baseValue, o = t.props.baseValue, s = o ?? i;
18697
- if (ee(s) && typeof s == "number")
18697
+ if (Q(s) && typeof s == "number")
18698
18698
  return s;
18699
18699
  var l = a === "horizontal" ? n : r, c = l.scale.domain();
18700
18700
  if (l.type === "number") {
@@ -19574,7 +19574,7 @@ function mu(e, t) {
19574
19574
  var vu = function(t, r, n, a, i) {
19575
19575
  var o = gt(t, jf), s = gt(t, Vs), l = [].concat(Um(o), Um(s)), c = gt(t, Hs), u = "".concat(a, "Id"), f = a[0], d = r;
19576
19576
  if (l.length && (d = l.reduce(function(g, m) {
19577
- if (m.props[u] === n && Xt(m.props, "extendDomain") && ee(m.props[f])) {
19577
+ if (m.props[u] === n && Xt(m.props, "extendDomain") && Q(m.props[f])) {
19578
19578
  var b = m.props[f];
19579
19579
  return [Math.min(g[0], b), Math.max(g[1], b)];
19580
19580
  }
@@ -19582,7 +19582,7 @@ var vu = function(t, r, n, a, i) {
19582
19582
  }, d)), c.length) {
19583
19583
  var h = "".concat(f, "1"), v = "".concat(f, "2");
19584
19584
  d = c.reduce(function(g, m) {
19585
- if (m.props[u] === n && Xt(m.props, "extendDomain") && ee(m.props[h]) && ee(m.props[v])) {
19585
+ if (m.props[u] === n && Xt(m.props, "extendDomain") && Q(m.props[h]) && Q(m.props[v])) {
19586
19586
  var b = m.props[h], O = m.props[v];
19587
19587
  return [Math.min(g[0], b, O), Math.max(g[1], b, O)];
19588
19588
  }
@@ -19590,7 +19590,7 @@ var vu = function(t, r, n, a, i) {
19590
19590
  }, d);
19591
19591
  }
19592
19592
  return i && i.length && (d = i.reduce(function(g, m) {
19593
- return ee(m) ? [Math.min(g[0], m), Math.max(g[1], m)] : g;
19593
+ return Q(m) ? [Math.min(g[0], m), Math.max(g[1], m)] : g;
19594
19594
  }, d)), d;
19595
19595
  }, z0 = { exports: {} };
19596
19596
  (function(e) {
@@ -19794,7 +19794,7 @@ var oB = /* @__PURE__ */ function() {
19794
19794
  function sB(e, t, r) {
19795
19795
  if (r === "number" && t === !0 && Array.isArray(e)) {
19796
19796
  var n = e == null ? void 0 : e[0], a = e == null ? void 0 : e[1];
19797
- if (n && a && ee(n) && ee(a))
19797
+ if (n && a && Q(n) && Q(a))
19798
19798
  return !0;
19799
19799
  }
19800
19800
  return !1;
@@ -20153,7 +20153,7 @@ var MB = function(t, r) {
20153
20153
  var c = l.props.data;
20154
20154
  return c && c.length ? [].concat(ea(s), ea(c)) : s;
20155
20155
  }, []);
20156
- return o.length > 0 ? o : t && t.length && ee(a) && ee(i) ? t.slice(a, i + 1) : [];
20156
+ return o.length > 0 ? o : t && t.length && Q(a) && Q(i) ? t.slice(a, i + 1) : [];
20157
20157
  };
20158
20158
  function X0(e) {
20159
20159
  return e === "number" ? [0, "auto"] : void 0;
@@ -20372,7 +20372,7 @@ var bu = function(t, r, n, a) {
20372
20372
  graphicalItems: [q],
20373
20373
  dataStartIndex: S,
20374
20374
  dataEndIndex: T
20375
- }), U = q.type.defaultProps !== void 0 ? H(H({}, q.type.defaultProps), q.props) : q.props, W = U.dataKey, K = U.maxBarSize, L = U["".concat(D, "Id")], G = U["".concat(k, "Id")], Y = {}, Q = l.reduce(function(ze, ut) {
20375
+ }), U = q.type.defaultProps !== void 0 ? H(H({}, q.type.defaultProps), q.props) : q.props, W = U.dataKey, K = U.maxBarSize, L = U["".concat(D, "Id")], G = U["".concat(k, "Id")], Y = {}, te = l.reduce(function(ze, ut) {
20376
20376
  var ga, ya, fn = O["".concat(ut.axisType, "Map")], ba = U["".concat(ut.axisType, "Id")];
20377
20377
  fn && fn[ba] || ut.axisType === "zAxis" || (process.env.NODE_ENV !== "production" ? vt(!1, "Specifying a(n) ".concat(ut.axisType, "Id requires a corresponding ").concat(
20378
20378
  ut.axisType,
@@ -20380,10 +20380,10 @@ var bu = function(t, r, n, a) {
20380
20380
  ).concat((ga = q == null || (ya = q.type) === null || ya === void 0 ? void 0 : ya.displayName) !== null && ga !== void 0 ? ga : "")) : vt());
20381
20381
  var xa = fn[ba];
20382
20382
  return H(H({}, ze), {}, ce(ce({}, ut.axisType, xa), "".concat(ut.axisType, "Ticks"), ir(xa)));
20383
- }, Y), V = Q[k], Z = Q["".concat(k, "Ticks")], te = A && A[L] && A[L].hasStack && k6(q, A[L].stackGroups), I = sr(q.type).indexOf("Bar") >= 0, ie = Ro(V, Z), X = [], le = F && v6({
20383
+ }, Y), V = te[k], Z = te["".concat(k, "Ticks")], ee = A && A[L] && A[L].hasStack && k6(q, A[L].stackGroups), I = sr(q.type).indexOf("Bar") >= 0, ie = Ro(V, Z), X = [], le = F && v6({
20384
20384
  barSize: P,
20385
20385
  stackGroups: A,
20386
- totalSize: UB(Q, k)
20386
+ totalSize: UB(te, k)
20387
20387
  });
20388
20388
  if (I) {
20389
20389
  var re, he, Ue = fe(K) ? R : K, Le = (re = (he = Ro(V, Z, !0)) !== null && he !== void 0 ? he : Ue) !== null && re !== void 0 ? re : 0;
@@ -20403,7 +20403,7 @@ var bu = function(t, r, n, a) {
20403
20403
  }
20404
20404
  var Be = q && q.type && q.type.getComposedData;
20405
20405
  Be && z.push({
20406
- props: H(H({}, Be(H(H({}, Q), {}, {
20406
+ props: H(H({}, Be(H(H({}, te), {}, {
20407
20407
  displayedData: B,
20408
20408
  props: b,
20409
20409
  dataKey: W,
@@ -20411,13 +20411,13 @@ var bu = function(t, r, n, a) {
20411
20411
  bandSize: ie,
20412
20412
  barPosition: X,
20413
20413
  offset: y,
20414
- stackedData: te,
20414
+ stackedData: ee,
20415
20415
  layout: E,
20416
20416
  dataStartIndex: S,
20417
20417
  dataEndIndex: T
20418
20418
  }))), {}, ce(ce(ce({
20419
20419
  key: q.key || "item-".concat(C)
20420
- }, D, Q[D]), k, Q[k]), "animationId", w)),
20420
+ }, D, te[D]), k, te[k]), "animationId", w)),
20421
20421
  childIndex: pO(q, b.children),
20422
20422
  item: q
20423
20423
  });
@@ -20711,9 +20711,9 @@ var bu = function(t, r, n, a) {
20711
20711
  key: w.key || "_recharts-brush",
20712
20712
  onChange: Hi(y.handleBrushChange, w.props.onChange),
20713
20713
  data: P,
20714
- x: ee(w.props.x) ? w.props.x : j.left,
20715
- y: ee(w.props.y) ? w.props.y : j.top + j.height + j.brushBottom - (T.bottom || 0),
20716
- width: ee(w.props.width) ? w.props.width : j.width,
20714
+ x: Q(w.props.x) ? w.props.x : j.left,
20715
+ y: Q(w.props.y) ? w.props.y : j.top + j.height + j.brushBottom - (T.bottom || 0),
20716
+ width: Q(w.props.width) ? w.props.width : j.width,
20717
20717
  startIndex: _,
20718
20718
  endIndex: R,
20719
20719
  updateId: "brush-".concat($)
@@ -20755,35 +20755,35 @@ var bu = function(t, r, n, a) {
20755
20755
  var P = y.filterFormatItem(w, S, T);
20756
20756
  if (!P)
20757
20757
  return null;
20758
- var E = y.getTooltipEventType(), j = y.state, _ = j.isTooltipActive, R = j.tooltipAxis, $ = j.activeTooltipIndex, D = j.activeLabel, k = y.props.children, F = Ot(k, Vt), z = P.props, q = z.points, C = z.isRange, B = z.baseLine, U = P.item.type.defaultProps !== void 0 ? H(H({}, P.item.type.defaultProps), P.item.props) : P.item.props, W = U.activeDot, K = U.hide, L = U.activeBar, G = U.activeShape, Y = !!(!K && _ && F && (W || L || G)), Q = {};
20759
- E !== "axis" && F && F.props.trigger === "click" ? Q = {
20758
+ var E = y.getTooltipEventType(), j = y.state, _ = j.isTooltipActive, R = j.tooltipAxis, $ = j.activeTooltipIndex, D = j.activeLabel, k = y.props.children, F = Ot(k, Vt), z = P.props, q = z.points, C = z.isRange, B = z.baseLine, U = P.item.type.defaultProps !== void 0 ? H(H({}, P.item.type.defaultProps), P.item.props) : P.item.props, W = U.activeDot, K = U.hide, L = U.activeBar, G = U.activeShape, Y = !!(!K && _ && F && (W || L || G)), te = {};
20759
+ E !== "axis" && F && F.props.trigger === "click" ? te = {
20760
20760
  onClick: Hi(y.handleItemMouseEnter, w.props.onClick)
20761
- } : E !== "axis" && (Q = {
20761
+ } : E !== "axis" && (te = {
20762
20762
  onMouseLeave: Hi(y.handleItemMouseLeave, w.props.onMouseLeave),
20763
20763
  onMouseEnter: Hi(y.handleItemMouseEnter, w.props.onMouseEnter)
20764
20764
  });
20765
- var V = /* @__PURE__ */ Je(w, H(H({}, P.props), Q));
20765
+ var V = /* @__PURE__ */ Je(w, H(H({}, P.props), te));
20766
20766
  function Z(ut) {
20767
20767
  return typeof R.dataKey == "function" ? R.dataKey(ut.payload) : null;
20768
20768
  }
20769
20769
  if (Y)
20770
20770
  if ($ >= 0) {
20771
- var te, I;
20771
+ var ee, I;
20772
20772
  if (R.dataKey && !R.allowDuplicatedCategory) {
20773
20773
  var ie = typeof R.dataKey == "function" ? Z : "payload.".concat(R.dataKey.toString());
20774
- te = oo(q, ie, D), I = C && B && oo(B, ie, D);
20774
+ ee = oo(q, ie, D), I = C && B && oo(B, ie, D);
20775
20775
  } else
20776
- te = q == null ? void 0 : q[$], I = C && B && B[$];
20776
+ ee = q == null ? void 0 : q[$], I = C && B && B[$];
20777
20777
  if (G || L) {
20778
20778
  var X = w.props.activeIndex !== void 0 ? w.props.activeIndex : $;
20779
- return [/* @__PURE__ */ Je(w, H(H(H({}, P.props), Q), {}, {
20779
+ return [/* @__PURE__ */ Je(w, H(H(H({}, P.props), te), {}, {
20780
20780
  activeIndex: X
20781
20781
  })), null, null];
20782
20782
  }
20783
- if (!fe(te))
20783
+ if (!fe(ee))
20784
20784
  return [V].concat(ea(y.renderActivePoints({
20785
20785
  item: P,
20786
- activePoint: te,
20786
+ activePoint: ee,
20787
20787
  basePoint: I,
20788
20788
  childIndex: $,
20789
20789
  isRange: C
@@ -20791,7 +20791,7 @@ var bu = function(t, r, n, a) {
20791
20791
  } else {
20792
20792
  var le, re = (le = y.getItemByXY(y.state.activeCoordinate)) !== null && le !== void 0 ? le : {
20793
20793
  graphicalItem: V
20794
- }, he = re.graphicalItem, Ue = he.item, Le = Ue === void 0 ? w : Ue, Be = he.childIndex, ze = H(H(H({}, P.props), Q), {}, {
20794
+ }, he = re.graphicalItem, Ue = he.item, Le = Ue === void 0 ? w : Ue, Be = he.childIndex, ze = H(H(H({}, P.props), te), {}, {
20795
20795
  activeIndex: Be
20796
20796
  });
20797
20797
  return [/* @__PURE__ */ Je(Le, ze), null, null];
@@ -24381,13 +24381,13 @@ const pF = ({
24381
24381
  const B = l.find((L) => (L.metricType || L.title.toLowerCase()) === b);
24382
24382
  (K = (W = (U = B == null ? void 0 : B.controls) == null ? void 0 : U.dropdown) == null ? void 0 : W.onChange) == null || K.call(W, C);
24383
24383
  }, T = () => l.find((C) => (C.metricType || C.title.toLowerCase()) === b) || null, P = (C) => Array.isArray(C) ? C.filter((U) => U !== "all").length > 0 : C !== "all", E = (C) => Array.isArray(C) ? C.filter((B) => B !== "all") : C !== "all" ? [C] : [], j = (C) => {
24384
- var K, L, G, Y, Q, V, Z, te, I;
24384
+ var K, L, G, Y, te, V, Z, ee, I;
24385
24385
  const B = ((L = (K = C.view) == null ? void 0 : K.chart) == null ? void 0 : L.data) || ((G = c.chart) == null ? void 0 : G.data) || [];
24386
24386
  if (!P(x))
24387
24387
  return B;
24388
24388
  const U = C.metricType, W = E(x);
24389
24389
  if (W.length === 1) {
24390
- const ie = W[0], X = T(), le = (V = (Q = (Y = X == null ? void 0 : X.controls) == null ? void 0 : Y.dropdown) == null ? void 0 : Q.options) == null ? void 0 : V.find(
24390
+ const ie = W[0], X = T(), le = (V = (te = (Y = X == null ? void 0 : X.controls) == null ? void 0 : Y.dropdown) == null ? void 0 : te.options) == null ? void 0 : V.find(
24391
24391
  (he) => he.value === ie
24392
24392
  ), re = le == null ? void 0 : le.label;
24393
24393
  return console.log("🔍 Filtering chart data:", {
@@ -24407,7 +24407,7 @@ const pF = ({
24407
24407
  });
24408
24408
  }
24409
24409
  if (W.length > 1) {
24410
- const ie = T(), le = (((I = (te = (Z = ie == null ? void 0 : ie.controls) == null ? void 0 : Z.dropdown) == null ? void 0 : te.options) == null ? void 0 : I.filter(
24410
+ const ie = T(), le = (((I = (ee = (Z = ie == null ? void 0 : ie.controls) == null ? void 0 : Z.dropdown) == null ? void 0 : ee.options) == null ? void 0 : I.filter(
24411
24411
  (re) => W.includes(re.value)
24412
24412
  )) || []).map((re) => re.label);
24413
24413
  return B.map((re) => {
@@ -24432,13 +24432,13 @@ const pF = ({
24432
24432
  var K;
24433
24433
  if (!((K = C.view) != null && K.chart)) return null;
24434
24434
  const B = j(C), U = () => {
24435
- var G, Y, Q, V, Z, te;
24435
+ var G, Y, te, V, Z, ee;
24436
24436
  if (!P(x) || !((G = C.controls) != null && G.dropdown))
24437
- return ((Q = (Y = C.view) == null ? void 0 : Y.chart) == null ? void 0 : Q.title) || C.title;
24437
+ return ((te = (Y = C.view) == null ? void 0 : Y.chart) == null ? void 0 : te.title) || C.title;
24438
24438
  const L = E(x);
24439
24439
  if (L.length === 1) {
24440
24440
  const I = (V = C.controls.dropdown.options) == null ? void 0 : V.find((ie) => ie.value === L[0]);
24441
- return I ? `${I.label}` : ((te = (Z = C.view) == null ? void 0 : Z.chart) == null ? void 0 : te.title) || C.title;
24441
+ return I ? `${I.label}` : ((ee = (Z = C.view) == null ? void 0 : Z.chart) == null ? void 0 : ee.title) || C.title;
24442
24442
  }
24443
24443
  return `${L.length} selected`;
24444
24444
  }, W = E(x);
@@ -24491,12 +24491,12 @@ const pF = ({
24491
24491
  }, $ = (C) => {
24492
24492
  var K;
24493
24493
  const B = ((K = c.chart) == null ? void 0 : K.data) || [], U = R(B, C), W = (L) => {
24494
- var Y, Q;
24494
+ var Y, te;
24495
24495
  if (!P(x))
24496
24496
  return L;
24497
24497
  const G = E(x);
24498
24498
  if (G.length === 1) {
24499
- const V = (Q = (Y = u == null ? void 0 : u.dropdown) == null ? void 0 : Y.options) == null ? void 0 : Q.find((Z) => Z.value === G[0]);
24499
+ const V = (te = (Y = u == null ? void 0 : u.dropdown) == null ? void 0 : Y.options) == null ? void 0 : te.find((Z) => Z.value === G[0]);
24500
24500
  return V ? `${V.label}` : L;
24501
24501
  }
24502
24502
  return `${G.length} selected`;
@@ -24739,7 +24739,7 @@ const pF = ({
24739
24739
  } : void 0
24740
24740
  } : void 0;
24741
24741
  })(), F = (() => {
24742
- var U, W, K, L, G, Y, Q, V, Z, te;
24742
+ var U, W, K, L, G, Y, te, V, Z, ee;
24743
24743
  const C = T();
24744
24744
  if (C != null && C.view) {
24745
24745
  if ((U = C.controls) != null && U.toggle) {
@@ -24761,7 +24761,7 @@ const pF = ({
24761
24761
  if (C.metricType === "toolRuns" && P(x)) {
24762
24762
  const X = E(x);
24763
24763
  if (X.length > 0) {
24764
- const le = ((Q = (Y = (G = C.controls) == null ? void 0 : G.dropdown) == null ? void 0 : Y.options) == null ? void 0 : Q.filter(
24764
+ const le = ((te = (Y = (G = C.controls) == null ? void 0 : G.dropdown) == null ? void 0 : Y.options) == null ? void 0 : te.filter(
24765
24765
  (re) => X.includes(re.value)
24766
24766
  )) || [];
24767
24767
  le.length > 0 && (ie = ie.filter(
@@ -24774,7 +24774,7 @@ const pF = ({
24774
24774
  if (C.metricType === "modelRuns" && P(x)) {
24775
24775
  const X = E(x);
24776
24776
  if (X.length > 0) {
24777
- const le = ((te = (Z = (V = C.controls) == null ? void 0 : V.dropdown) == null ? void 0 : Z.options) == null ? void 0 : te.filter(
24777
+ const le = ((ee = (Z = (V = C.controls) == null ? void 0 : V.dropdown) == null ? void 0 : Z.options) == null ? void 0 : ee.filter(
24778
24778
  (re) => X.includes(re.value)
24779
24779
  )) || [];
24780
24780
  le.length > 0 && (ie = ie.filter(
@@ -26346,9 +26346,9 @@ function EU({ className: e, defaultValue: t, onDateRangeChange: r }) {
26346
26346
  "October",
26347
26347
  "November",
26348
26348
  "December"
26349
- ], L = ["Su", "Mo", "Tu", "We", "Th", "Fr", "Sa"], G = [], Q = new Date(z, q - 1, 0).getDate();
26350
- for (let te = W - 1; te >= 0; te--) {
26351
- const I = Q - te, ie = new Date(z, q - 1, I);
26349
+ ], L = ["Su", "Mo", "Tu", "We", "Th", "Fr", "Sa"], G = [], te = new Date(z, q - 1, 0).getDate();
26350
+ for (let ee = W - 1; ee >= 0; ee--) {
26351
+ const I = te - ee, ie = new Date(z, q - 1, I);
26352
26352
  G.push(
26353
26353
  /* @__PURE__ */ p.jsx(
26354
26354
  "button",
@@ -26361,25 +26361,25 @@ function EU({ className: e, defaultValue: t, onDateRangeChange: r }) {
26361
26361
  )
26362
26362
  );
26363
26363
  }
26364
- for (let te = 1; te <= U; te++) {
26365
- const I = new Date(z, q, te), ie = Da(I, /* @__PURE__ */ new Date()), X = (s == null ? void 0 : s.from) && (s == null ? void 0 : s.to) && PU(I, { start: s.from, end: s.to }), le = (s == null ? void 0 : s.from) && Da(I, s.from), re = (s == null ? void 0 : s.to) && Da(I, s.to), he = b && Da(I, b);
26364
+ for (let ee = 1; ee <= U; ee++) {
26365
+ const I = new Date(z, q, ee), ie = Da(I, /* @__PURE__ */ new Date()), X = (s == null ? void 0 : s.from) && (s == null ? void 0 : s.to) && PU(I, { start: s.from, end: s.to }), le = (s == null ? void 0 : s.from) && Da(I, s.from), re = (s == null ? void 0 : s.to) && Da(I, s.to), he = b && Da(I, b);
26366
26366
  let Ue = "h-[32px] w-[32px] text-xs hover:bg-gray-100 hover:text-gray-900 hover:font-medium rounded-full flex items-center justify-center transition-colors text-gray-700 ";
26367
26367
  ie && (Ue += "font-semibold "), he || le || re ? Ue += "!bg-blue-500 !text-white !hover:bg-blue-500 !hover:text-white font-semibold" : X && (Ue += "bg-blue-100 text-blue-900 hover:bg-blue-100 hover:text-blue-900 font-semibold"), G.push(
26368
- /* @__PURE__ */ p.jsx("button", { onClick: () => P(I), className: Ue, children: te }, `current-${te}`)
26368
+ /* @__PURE__ */ p.jsx("button", { onClick: () => P(I), className: Ue, children: ee }, `current-${ee}`)
26369
26369
  );
26370
26370
  }
26371
26371
  const Z = Math.ceil((W + U) / 7) * 7 - W - U;
26372
- for (let te = 1; te <= Z; te++) {
26373
- const I = new Date(z, q + 1, te);
26372
+ for (let ee = 1; ee <= Z; ee++) {
26373
+ const I = new Date(z, q + 1, ee);
26374
26374
  G.push(
26375
26375
  /* @__PURE__ */ p.jsx(
26376
26376
  "button",
26377
26377
  {
26378
26378
  onClick: () => P(I),
26379
26379
  className: "h-[32px] w-[32px] text-sm text-gray-500 hover:bg-gray-100 rounded-full flex items-center justify-center",
26380
- children: te
26380
+ children: ee
26381
26381
  },
26382
- `next-${te}`
26382
+ `next-${ee}`
26383
26383
  )
26384
26384
  );
26385
26385
  }
@@ -26407,7 +26407,7 @@ function EU({ className: e, defaultValue: t, onDateRangeChange: r }) {
26407
26407
  }
26408
26408
  )
26409
26409
  ] }),
26410
- /* @__PURE__ */ p.jsx("div", { className: "grid grid-cols-7 gap-1 mb-2", children: L.map((te) => /* @__PURE__ */ p.jsx("div", { className: "h-[32px] flex items-center justify-center text-xs font-medium text-gray-700 w-full text-center", children: te }, te)) }),
26410
+ /* @__PURE__ */ p.jsx("div", { className: "grid grid-cols-7 gap-1 mb-2", children: L.map((ee) => /* @__PURE__ */ p.jsx("div", { className: "h-[32px] flex items-center justify-center text-xs font-medium text-gray-700 w-full text-center", children: ee }, ee)) }),
26411
26411
  /* @__PURE__ */ p.jsx("div", { className: "grid grid-cols-7 gap-1", children: G })
26412
26412
  ] });
26413
26413
  }, D = () => "fixed bg-white border border-gray-200 rounded-lg shadow-xl z-[99999]";
@@ -27923,28 +27923,24 @@ const MU = vs(({
27923
27923
  const S = dt(0), T = dt(null), P = dt(!1);
27924
27924
  rv(o, () => ({
27925
27925
  addEvent: (L) => {
27926
- console.log("DebugPanel.addEvent called with:", L), y((G) => {
27927
- const Y = [...G, L];
27928
- return console.log("New executionEvents length:", Y.length), Y;
27929
- }), P.current = !0;
27926
+ y((G) => [...G, L]), P.current = !0;
27930
27927
  },
27931
27928
  addEvents: (L) => {
27932
- console.log("DebugPanel.addEvents called with:", L.length, "events"), y((G) => [...G, ...L]), P.current = !0;
27929
+ y((G) => [...G, ...L]), P.current = !0;
27933
27930
  },
27934
27931
  clearEvents: () => {
27935
- console.log("DebugPanel.clearEvents called"), y([]), l(/* @__PURE__ */ new Set()), u(/* @__PURE__ */ new Set()), d(/* @__PURE__ */ new Set()), P.current = !1;
27932
+ y([]), l(/* @__PURE__ */ new Set()), u(/* @__PURE__ */ new Set()), d(/* @__PURE__ */ new Set()), P.current = !1;
27936
27933
  }
27937
27934
  }), []);
27938
27935
  const E = ur(() => {
27939
- console.log("Building session tree with", A.length, "events");
27940
27936
  const L = CU.buildSessionTree(A, t);
27941
- return console.log("Session tree built with", L.runs.length, "runs"), T.current = L, L;
27937
+ return T.current = L, L;
27942
27938
  }, [A, t]), j = (L) => {
27943
- const G = [], Y = (Q) => {
27944
- G.push(Q.id), Q.children.forEach((V) => Y(V));
27939
+ const G = [], Y = (te) => {
27940
+ G.push(te.id), te.children.forEach((V) => Y(V));
27945
27941
  };
27946
- return L.runs.forEach((Q) => {
27947
- Q.rootNodes.forEach((V) => Y(V));
27942
+ return L.runs.forEach((te) => {
27943
+ te.rootNodes.forEach((V) => Y(V));
27948
27944
  }), G;
27949
27945
  }, _ = wt(() => {
27950
27946
  const L = j(E);
@@ -27965,13 +27961,13 @@ const MU = vs(({
27965
27961
  if (E.runs.length > 0) {
27966
27962
  const L = E.runs[E.runs.length - 1];
27967
27963
  if (L.rootNodes.length > 0) {
27968
- const G = L.rootNodes[L.rootNodes.length - 1], Y = [], Q = (V) => {
27964
+ const G = L.rootNodes[L.rootNodes.length - 1], Y = [], te = (V) => {
27969
27965
  if (Y.push(V.id), V.children.length > 0) {
27970
27966
  const Z = V.children[V.children.length - 1];
27971
- Q(Z);
27967
+ te(Z);
27972
27968
  }
27973
27969
  };
27974
- Q(G), l(new Set(Y)), d((V) => {
27970
+ te(G), l(new Set(Y)), d((V) => {
27975
27971
  const Z = new Set(V);
27976
27972
  return Z.add(L.runId), Z;
27977
27973
  });
@@ -28000,50 +27996,48 @@ const MU = vs(({
28000
27996
  }, [A.length]), Qe(() => {
28001
27997
  if (A.length > 0 && E.runs.length > 0) {
28002
27998
  if (P.current) {
28003
- switch (console.log("Auto-expansion triggered with mode:", m), m) {
27999
+ switch (m) {
28004
28000
  case "all":
28005
- const G = j(E);
28006
- console.log("Expanding all nodes:", G.length), l(new Set(G));
28001
+ const L = j(E);
28002
+ l(new Set(L));
28007
28003
  break;
28008
28004
  case "last":
28009
28005
  $();
28010
28006
  break;
28011
28007
  case "none":
28012
- console.log("Expansion mode is none - checking if initial setup needed"), l((Y) => {
28013
- if (Y.size === 0) {
28014
- const Q = /* @__PURE__ */ new Set();
28015
- return E.runs.forEach((V) => {
28016
- V.rootNodes.forEach((Z) => {
28017
- Q.add(Z.id);
28018
- });
28019
- }), console.log("Setting initial first-level nodes:", Q.size), Q;
28020
- }
28021
- return console.log("Keeping existing expansion state:", Y.size, "nodes"), Y;
28008
+ l((G) => {
28009
+ const Y = /* @__PURE__ */ new Set();
28010
+ return E.runs.forEach((te) => {
28011
+ te.rootNodes.forEach((V) => {
28012
+ Y.add(V.id);
28013
+ });
28014
+ }), Y;
28022
28015
  });
28023
28016
  break;
28024
28017
  }
28025
28018
  P.current = !1;
28026
- } else if (m === "none" && s.size === 0) {
28027
- const G = /* @__PURE__ */ new Set();
28028
- E.runs.forEach((Y) => {
28029
- Y.rootNodes.forEach((Q) => {
28030
- G.add(Q.id);
28019
+ } else if (m === "none" && s.size === 0 && E.runs.length > 0) {
28020
+ const L = /* @__PURE__ */ new Set();
28021
+ E.runs.forEach((G) => {
28022
+ G.rootNodes.forEach((Y) => {
28023
+ L.add(Y.id);
28031
28024
  });
28032
- }), G.size > 0 && (console.log("Setting default first-level expansion for none mode"), l(G));
28025
+ }), L.size > 0 && l(L);
28033
28026
  }
28034
- d((G) => {
28035
- const Y = new Set(G);
28036
- return E.runs.forEach((Q) => {
28037
- Y.has(Q.runId) || Y.add(Q.runId);
28038
- }), Y;
28039
- });
28040
- const L = E.runs[E.runs.length - 1];
28041
- if (L.rootNodes.length > 0) {
28042
- const G = L.rootNodes[L.rootNodes.length - 1], Y = K(G);
28043
- Y && u((Q) => {
28044
- const V = new Set(Q);
28045
- return V.add(Y.id), V;
28046
- });
28027
+ if (d((L) => {
28028
+ const G = new Set(L);
28029
+ return E.runs.forEach((Y) => {
28030
+ G.has(Y.runId) || G.add(Y.runId);
28031
+ }), G;
28032
+ }), m !== "none") {
28033
+ const L = E.runs[E.runs.length - 1];
28034
+ if (L.rootNodes.length > 0) {
28035
+ const G = L.rootNodes[L.rootNodes.length - 1], Y = K(G);
28036
+ Y && u((te) => {
28037
+ const V = new Set(te);
28038
+ return V.add(Y.id), V;
28039
+ });
28040
+ }
28047
28041
  }
28048
28042
  }
28049
28043
  }, [E, m, $, s.size]);