react-aiops 0.1.4 → 0.1.6

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
@@ -1,5 +1,5 @@
1
- import { jsxs as d, jsx as e, Fragment as Ce } from "react/jsx-runtime";
2
- import J, { createContext as Xe, useContext as ve, useState as I, useEffect as Ee, useMemo as Et, useRef as ee } from "react";
1
+ import { jsxs as d, jsx as e, Fragment as ve } from "react/jsx-runtime";
2
+ import J, { createContext as je, useContext as we, useState as L, useEffect as Ee, useMemo as Et, useRef as ee } from "react";
3
3
  const Tt = {
4
4
  info: { color: "#00ff88", bg: "rgba(0, 255, 136, 0.1)", border: "#00ff88", icon: "✅" },
5
5
  warning: { color: "#ff8c00", bg: "rgba(255, 140, 0, 0.1)", border: "#ff8c00", icon: "⚠️" },
@@ -182,7 +182,7 @@ const w = {
182
182
  warning: { color: "#ff8c00", glow: "rgba(255,140,0,0.55)" },
183
183
  critical: { color: "#ff2255", glow: "rgba(255,34,85,0.55)" },
184
184
  offline: { color: "#1e3a5a", glow: "rgba(30,58,90,0.25)" }
185
- }, yi = "#00e5ff", mi = "#0055cc", we = "linear-gradient(180deg, #071428 0%, #040c1c 60%, #030810 100%)", Qe = "linear-gradient(180deg, rgba(10,25,50,0.35) 0%, rgba(5,15,35,0.25) 60%, rgba(3,10,20,0.15) 100%)";
185
+ }, yi = "#00e5ff", mi = "#0055cc", Se = "linear-gradient(180deg, #071428 0%, #040c1c 60%, #030810 100%)", Qe = "linear-gradient(180deg, rgba(10,25,50,0.35) 0%, rgba(5,15,35,0.25) 60%, rgba(3,10,20,0.15) 100%)";
186
186
  function qe(t, n, o) {
187
187
  const i = {
188
188
  position: "absolute",
@@ -258,23 +258,23 @@ function It({
258
258
  let $;
259
259
  if (v && v.length > 0)
260
260
  $ = v.map((b, k) => {
261
- const A = b.warnAt ?? 70, R = b.critAt ?? 85;
261
+ const D = b.warnAt ?? 70, P = b.critAt ?? 85;
262
262
  return {
263
263
  id: b.id,
264
264
  label: b.label,
265
265
  sublabel: b.sublabel,
266
266
  value: b.value,
267
267
  unit: b.unit ?? "%",
268
- status: Le(l, b.value, A, R),
268
+ status: Le(l, b.value, D, P),
269
269
  icon: b.icon ?? "cpu",
270
270
  delay: k,
271
271
  colorOverride: b.color,
272
- warnAt: A,
273
- critAt: R
272
+ warnAt: D,
273
+ critAt: P
274
274
  };
275
275
  });
276
276
  else {
277
- const b = p.cpuLoad ?? p.traffic ?? 50, k = p.memLoad ?? p.queueDepth ?? 60, A = p.capacity ?? 72, R = Le(l, b, 70, 85), L = Le(l, k, 75, 88), z = Le(l, A, 75, 90);
277
+ const b = p.cpuLoad ?? p.traffic ?? 50, k = p.memLoad ?? p.queueDepth ?? 60, D = p.capacity ?? 72, P = Le(l, b, 70, 85), E = Le(l, k, 75, 88), W = Le(l, D, 75, 90);
278
278
  $ = [
279
279
  {
280
280
  id: "cpu",
@@ -282,7 +282,7 @@ function It({
282
282
  sublabel: a === "dispatcher" ? "PORT LOAD" : a === "messageServer" ? "QUEUE DEPTH" : "PROCESSOR",
283
283
  value: b,
284
284
  unit: "%",
285
- status: R,
285
+ status: P,
286
286
  icon: "cpu",
287
287
  delay: 0
288
288
  },
@@ -292,7 +292,7 @@ function It({
292
292
  sublabel: a === "database" ? "BUFFER POOL" : "HEAP USAGE",
293
293
  value: k,
294
294
  unit: "%",
295
- status: L,
295
+ status: E,
296
296
  icon: "mem",
297
297
  delay: 1
298
298
  },
@@ -300,9 +300,9 @@ function It({
300
300
  id: "storage",
301
301
  label: "STORAGE",
302
302
  sublabel: a === "database" ? "TABLESPACE" : "DISK I/O",
303
- value: A,
303
+ value: D,
304
304
  unit: "%",
305
- status: z,
305
+ status: W,
306
306
  icon: "disk",
307
307
  delay: 2
308
308
  }
@@ -893,12 +893,12 @@ function Dt({ type: t, color: n }) {
893
893
  /* @__PURE__ */ e("line", { x1: "18", y1: "12", x2: "21", y2: "12", stroke: n, strokeWidth: "0.8" })
894
894
  ] });
895
895
  }
896
- const Ge = Xe(null), Ke = Xe({ index: 0 });
896
+ const Ge = je(null), Ke = je({ index: 0 });
897
897
  function xi() {
898
- return ve(Ge);
898
+ return we(Ge);
899
899
  }
900
900
  function vi() {
901
- return ve(Ke);
901
+ return we(Ke);
902
902
  }
903
903
  function Wt({
904
904
  children: t,
@@ -922,23 +922,23 @@ function Wt({
922
922
  onCloseDrill: $,
923
923
  selectedSystemStatus: b = "online",
924
924
  selectedSystemDbSync: k = !0,
925
- selectedSystemMetrics: A,
926
- selectedSystemAlerts: R
925
+ selectedSystemMetrics: D,
926
+ selectedSystemAlerts: P
927
927
  }) {
928
- const [L, z] = I(0);
928
+ const [E, W] = L(0);
929
929
  Ee(() => {
930
- let D;
930
+ let z;
931
931
  if ((o === "compact" || o === "collapsing") && f) {
932
- const H = () => {
933
- z((ne) => ne + y), D = requestAnimationFrame(H);
932
+ const F = () => {
933
+ W((ne) => ne + y), z = requestAnimationFrame(F);
934
934
  };
935
- D = requestAnimationFrame(H);
935
+ z = requestAnimationFrame(F);
936
936
  }
937
- return () => cancelAnimationFrame(D);
937
+ return () => cancelAnimationFrame(z);
938
938
  }, [o, f, y]);
939
- const F = J.Children.toArray(t), X = F.length, M = Et(() => ({
940
- totalSystems: X,
941
- carouselRotation: L,
939
+ const X = J.Children.toArray(t), j = X.length, N = Et(() => ({
940
+ totalSystems: j,
941
+ carouselRotation: E,
942
942
  viewState: o,
943
943
  animPhase: i,
944
944
  selectedSystem: r,
@@ -951,8 +951,8 @@ function Wt({
951
951
  onComponentClick: v,
952
952
  containerWidth: u
953
953
  }), [
954
- X,
955
- L,
954
+ j,
955
+ E,
956
956
  o,
957
957
  i,
958
958
  r,
@@ -964,8 +964,8 @@ function Wt({
964
964
  m,
965
965
  v,
966
966
  u
967
- ]), te = F.map((D, H) => /* @__PURE__ */ e(Ke.Provider, { value: { index: H }, children: D }, H)), ie = o === "expanded" || o === "expanding" && i >= 4;
968
- return /* @__PURE__ */ d(Ge.Provider, { value: M, children: [
967
+ ]), te = X.map((z, F) => /* @__PURE__ */ e(Ke.Provider, { value: { index: F }, children: z }, F)), ie = o === "expanded" || o === "expanding" && i >= 4;
968
+ return /* @__PURE__ */ d(Ge.Provider, { value: N, children: [
969
969
  /* @__PURE__ */ d("div", { style: { position: "relative", width: u, height: g, margin: "0 auto", flexShrink: 0 }, children: [
970
970
  n && (o === "compact" || o === "collapsing") && /* @__PURE__ */ e(
971
971
  "img",
@@ -989,18 +989,18 @@ function Wt({
989
989
  ),
990
990
  te
991
991
  ] }),
992
- r && /* @__PURE__ */ e("div", { onClick: (D) => D.stopPropagation(), children: /* @__PURE__ */ e(
992
+ r && /* @__PURE__ */ e("div", { onClick: (z) => z.stopPropagation(), children: /* @__PURE__ */ e(
993
993
  At,
994
994
  {
995
995
  name: r,
996
996
  status: b,
997
997
  dbSync: k,
998
998
  visible: ie && !a,
999
- metrics: A,
1000
- alerts: R
999
+ metrics: D,
1000
+ alerts: P
1001
1001
  }
1002
1002
  ) }),
1003
- a && /* @__PURE__ */ e("div", { onClick: (D) => D.stopPropagation(), children: /* @__PURE__ */ e(
1003
+ a && /* @__PURE__ */ e("div", { onClick: (z) => z.stopPropagation(), children: /* @__PURE__ */ e(
1004
1004
  It,
1005
1005
  {
1006
1006
  component: a,
@@ -1059,7 +1059,7 @@ function zt({
1059
1059
  )
1060
1060
  }
1061
1061
  ),
1062
- r && /* @__PURE__ */ d(Ce, { children: [
1062
+ r && /* @__PURE__ */ d(ve, { children: [
1063
1063
  /* @__PURE__ */ e("circle", { r: "3", fill: a, opacity: 0.85, children: /* @__PURE__ */ e(
1064
1064
  "animateMotion",
1065
1065
  {
@@ -1295,7 +1295,7 @@ function Nt({
1295
1295
  }, children: r })
1296
1296
  ] });
1297
1297
  }
1298
- const ae = Xe(null), Bt = "cubic-bezier(0.34, 1.56, 0.64, 1)", it = 330, nt = 340, Ft = 660;
1298
+ const ae = je(null), Bt = "cubic-bezier(0.34, 1.56, 0.64, 1)", it = 330, nt = 340, Ft = 660;
1299
1299
  function dt({
1300
1300
  name: t,
1301
1301
  status: n = "online",
@@ -1317,22 +1317,22 @@ function dt({
1317
1317
  _onComponentClick: v,
1318
1318
  _containerWidth: $
1319
1319
  }) {
1320
- const b = ve(Ge), k = ve(Ke), A = a ?? k.index, R = s ?? b?.totalSystems ?? 1, L = l ?? b?.carouselRotation ?? 0, z = h ?? b?.viewState ?? "compact", F = c ?? b?.animPhase ?? 0, X = p ?? b?.selectedSystem ?? null, M = f ?? b?.selectedComponent ?? null, te = y ?? b?.rotateY ?? 20, ie = u ?? b?.autoRotateComponents ?? !0, D = g ?? b?.componentScale ?? 0.35, H = m ?? b?.drillZoom ?? 3.3, ne = x ?? b?.onSelectSystem, Se = v ?? b?.onComponentClick, $e = $ ?? b?.containerWidth ?? 950, Q = X === t, N = Q && (z === "expanded" || z === "expanding" && F >= 1), C = !N, ke = ($e - Ft) / 2, oe = it + ke, le = A / R * Math.PI * 2 + L, Ne = 420, Te = 160, Re = oe + Math.cos(le) * Ne, se = 450 + Math.sin(le) * Te, mt = Math.round(se), Be = !Q && (z === "expanding" || z === "expanded"), xt = Be ? 0 : 1, Pe = C ? 0.3 + (Math.sin(le) + 1) * 0.1 : 1, vt = C ? Pe : D, Ae = z === "compact" || z === "collapsing" ? "none" : "all 1s cubic-bezier(0.34, 1.56, 0.64, 1)", tt = Q && M, Fe = tt ? H : 1, wt = M?.ex ?? 330, St = M?.ey ?? 300, { size: $t = 90, color: kt = "#00e5ff", widthRatio: Rt = 3 } = i ?? {}, Pt = {
1320
+ const b = we(Ge), k = we(Ke), D = a ?? k.index, P = s ?? b?.totalSystems ?? 1, E = l ?? b?.carouselRotation ?? 0, W = h ?? b?.viewState ?? "compact", X = c ?? b?.animPhase ?? 0, j = p ?? b?.selectedSystem ?? null, N = f ?? b?.selectedComponent ?? null, te = y ?? b?.rotateY ?? 20, ie = u ?? b?.autoRotateComponents ?? !0, z = g ?? b?.componentScale ?? 0.35, F = m ?? b?.drillZoom ?? 3.3, ne = x ?? b?.onSelectSystem, $e = v ?? b?.onComponentClick, ke = $ ?? b?.containerWidth ?? 950, V = j === t, M = V && (W === "expanded" || W === "expanding" && X >= 1), R = !M, Re = (ke - Ft) / 2, oe = it + Re, le = D / P * Math.PI * 2 + E, Ne = 420, Te = 160, Pe = oe + Math.cos(le) * Ne, se = 450 + Math.sin(le) * Te, mt = Math.round(se), Be = !V && (W === "expanding" || W === "expanded"), xt = Be ? 0 : 1, Ce = R ? 0.3 + (Math.sin(le) + 1) * 0.1 : 1, vt = R ? Ce : z, Ae = W === "compact" || W === "collapsing" ? "none" : "all 1s cubic-bezier(0.34, 1.56, 0.64, 1)", tt = V && N, Fe = tt ? F : 1, wt = N?.ex ?? 330, St = N?.ey ?? 300, { size: $t = 90, color: kt = "#00e5ff", widthRatio: Rt = 3 } = i ?? {}, Pt = {
1321
1321
  name: t,
1322
- isSelected: Q,
1323
- isExpandedPos: N,
1324
- isCompact: C,
1325
- animPhase: F,
1326
- compactCx: Re,
1322
+ isSelected: V,
1323
+ isExpandedPos: M,
1324
+ isCompact: R,
1325
+ animPhase: X,
1326
+ compactCx: Pe,
1327
1327
  compactCy: se,
1328
- groupScale: Pe,
1328
+ groupScale: Ce,
1329
1329
  effectiveScale: vt,
1330
1330
  transitionValue: Ae,
1331
1331
  rotateY: te,
1332
1332
  autoRotateComponents: ie,
1333
- onComponentClick: Se,
1334
- selectedComponentName: M?.name ?? null,
1335
- expandedOffsetX: ke
1333
+ onComponentClick: $e,
1334
+ selectedComponentName: N?.name ?? null,
1335
+ expandedOffsetX: Re
1336
1336
  };
1337
1337
  return /* @__PURE__ */ e(ae.Provider, { value: Pt, children: /* @__PURE__ */ d(
1338
1338
  "div",
@@ -1346,18 +1346,18 @@ function dt({
1346
1346
  pointerEvents: "none",
1347
1347
  opacity: xt,
1348
1348
  transition: `opacity 0.8s ease, filter 0.5s ease, transform 0.6s ${Bt}`,
1349
- filter: C && Math.sin(le) < -0.5 ? "brightness(0.5) blur(2px)" : "none",
1350
- zIndex: Q ? 500 : Be ? 0 : mt,
1349
+ filter: R && Math.sin(le) < -0.5 ? "brightness(0.5) blur(2px)" : "none",
1350
+ zIndex: V ? 500 : Be ? 0 : mt,
1351
1351
  transformOrigin: `${oe}px ${nt}px`,
1352
1352
  transform: tt ? `translate(${-(wt - it) * Fe}px, ${-(St - nt) * Fe}px) scale(${Fe})` : "none"
1353
1353
  },
1354
1354
  children: [
1355
- C && !Be && /* @__PURE__ */ e(
1355
+ R && !Be && /* @__PURE__ */ e(
1356
1356
  "div",
1357
1357
  {
1358
1358
  style: {
1359
1359
  position: "absolute",
1360
- left: Re,
1360
+ left: Pe,
1361
1361
  top: se,
1362
1362
  width: 160,
1363
1363
  height: 180,
@@ -1366,19 +1366,19 @@ function dt({
1366
1366
  cursor: "pointer",
1367
1367
  zIndex: 101
1368
1368
  },
1369
- onClick: (j) => {
1370
- j.stopPropagation(), ne?.(t);
1369
+ onClick: (Q) => {
1370
+ Q.stopPropagation(), ne?.(t);
1371
1371
  }
1372
1372
  }
1373
1373
  ),
1374
- C && (n === "warning" || n === "critical") && /* @__PURE__ */ e(
1374
+ R && (n === "warning" || n === "critical") && /* @__PURE__ */ e(
1375
1375
  "div",
1376
1376
  {
1377
1377
  style: {
1378
1378
  position: "absolute",
1379
- left: Re,
1379
+ left: Pe,
1380
1380
  top: se - 200,
1381
- transform: `translate(-50%, -50%) scale(${Pe})`,
1381
+ transform: `translate(-50%, -50%) scale(${Ce})`,
1382
1382
  zIndex: 110,
1383
1383
  pointerEvents: "none",
1384
1384
  animation: "holo-led-blink 1.5s infinite",
@@ -1424,9 +1424,9 @@ function dt({
1424
1424
  {
1425
1425
  style: {
1426
1426
  position: "absolute",
1427
- left: N ? oe : Re,
1428
- top: N ? 48 : se - 180,
1429
- transform: `translate(-50%, -50%) scale(${N ? 1.2 : Pe * 1.5})`,
1427
+ left: M ? oe : Pe,
1428
+ top: M ? 48 : se - 180,
1429
+ transform: `translate(-50%, -50%) scale(${M ? 1.2 : Ce * 1.5})`,
1430
1430
  opacity: 1,
1431
1431
  pointerEvents: "none",
1432
1432
  zIndex: 100,
@@ -1450,23 +1450,23 @@ function dt({
1450
1450
  style: {
1451
1451
  position: "absolute",
1452
1452
  top: 0,
1453
- left: N ? ke : 0,
1453
+ left: M ? Re : 0,
1454
1454
  width: 660,
1455
1455
  height: 640,
1456
1456
  pointerEvents: "none",
1457
1457
  zIndex: 0,
1458
1458
  transition: Ae
1459
1459
  },
1460
- children: o.map((j, Ct) => /* @__PURE__ */ e(
1460
+ children: o.map((Q, Ct) => /* @__PURE__ */ e(
1461
1461
  zt,
1462
1462
  {
1463
- x1: j.from[0],
1464
- y1: j.from[1],
1465
- x2: j.to[0],
1466
- y2: j.to[1],
1467
- show: Q && F >= (j.visibleAtPhase ?? 0),
1468
- color: j.color,
1469
- dur: j.duration
1463
+ x1: Q.from[0],
1464
+ y1: Q.from[1],
1465
+ x2: Q.to[0],
1466
+ y2: Q.to[1],
1467
+ show: V && X >= (Q.visibleAtPhase ?? 0),
1468
+ color: Q.color,
1469
+ dur: Q.duration
1470
1470
  },
1471
1471
  Ct
1472
1472
  ))
@@ -1477,9 +1477,9 @@ function dt({
1477
1477
  {
1478
1478
  style: {
1479
1479
  position: "absolute",
1480
- left: N ? oe : Re,
1481
- top: N ? 570 : se + 70,
1482
- transform: `translate(-50%, -50%) scaleX(${N ? 1 : 0.4}) scaleY(${N ? 1 : 0.6}) scale(${N ? 1 : Pe})`,
1480
+ left: M ? oe : Pe,
1481
+ top: M ? 570 : se + 70,
1482
+ transform: `translate(-50%, -50%) scaleX(${M ? 1 : 0.4}) scaleY(${M ? 1 : 0.6}) scale(${M ? 1 : Ce})`,
1483
1483
  transition: Ae,
1484
1484
  zIndex: 1
1485
1485
  },
@@ -1491,173 +1491,7 @@ function dt({
1491
1491
  }
1492
1492
  ) });
1493
1493
  }
1494
- function T({
1495
- ex: t,
1496
- ey: n,
1497
- compactOffset: o,
1498
- zIndex: i,
1499
- children: r,
1500
- color: a = "#00e5ff",
1501
- label: s,
1502
- subLabel: l,
1503
- delay: h = "0s",
1504
- componentInfo: c,
1505
- visibleAtPhase: p = 0,
1506
- fixedScale: f,
1507
- bare: y = !1
1508
- }) {
1509
- const u = ve(ae);
1510
- if (!u)
1511
- throw new Error("ServiceNode must be used inside a <Service> component.");
1512
- const {
1513
- isExpandedPos: g,
1514
- animPhase: m,
1515
- compactCx: x,
1516
- compactCy: v,
1517
- groupScale: $,
1518
- effectiveScale: b,
1519
- transitionValue: k,
1520
- onComponentClick: A,
1521
- selectedComponentName: R,
1522
- expandedOffsetX: L
1523
- } = u, F = p === 0 || u.isSelected && m >= p ? 1 : 0, X = x + o.x, M = v + o.y, te = g ? t + L : X, ie = g ? n : M, D = f !== void 0 ? f : u.isCompact ? $ : b, H = !!c && !!R && c.name === R, ne = c?.status ? w[c.status]?.color ?? a : a, Se = c?.status === "offline" ? "#4a6a8a" : ne, $e = c && g && A ? () => A({
1524
- type: c.type,
1525
- name: c.name,
1526
- status: c.status,
1527
- ex: c.ex ?? t,
1528
- ey: c.ey ?? n,
1529
- context: c.context,
1530
- dialogMetrics: c.dialogMetrics,
1531
- subComponents: c.subComponents,
1532
- graphSeries: c.graphSeries
1533
- }) : void 0;
1534
- return /* @__PURE__ */ e(
1535
- "div",
1536
- {
1537
- style: {
1538
- position: "absolute",
1539
- left: te,
1540
- top: ie,
1541
- transform: `translate(-50%, -50%) scale(${D})`,
1542
- opacity: F,
1543
- zIndex: i,
1544
- transition: k || "all 1s cubic-bezier(0.34, 1.56, 0.64, 1)",
1545
- pointerEvents: g && F >= 0.5 ? "auto" : "none"
1546
- },
1547
- children: y ? r : /* @__PURE__ */ e(
1548
- Ht,
1549
- {
1550
- statusColor: Se,
1551
- label: s,
1552
- subLabel: l,
1553
- delay: h,
1554
- showLabels: g,
1555
- isCompact: u.isCompact,
1556
- onClick: $e,
1557
- isSelected: H,
1558
- children: r
1559
- }
1560
- )
1561
- }
1562
- );
1563
- }
1564
- function Ht({
1565
- children: t,
1566
- statusColor: n,
1567
- label: o,
1568
- subLabel: i,
1569
- delay: r = "0s",
1570
- showLabels: a = !0,
1571
- isCompact: s = !1,
1572
- onClick: l,
1573
- isSelected: h = !1
1574
- }) {
1575
- const [c, p] = I(!1), f = h ? `brightness(1.5) drop-shadow(0 0 24px ${n}cc) drop-shadow(0 0 8px ${n}88)` : c && l ? `brightness(1.2) drop-shadow(0 0 12px ${n}77)` : "";
1576
- return /* @__PURE__ */ d(
1577
- "div",
1578
- {
1579
- className: `float-node${l ? " float-node--interactive" : ""}`,
1580
- onClick: (y) => {
1581
- l && (y.stopPropagation(), l());
1582
- },
1583
- style: {
1584
- cursor: l ? "pointer" : void 0,
1585
- transition: "filter 0.3s ease",
1586
- filter: f
1587
- },
1588
- onMouseEnter: () => p(!0),
1589
- onMouseLeave: () => p(!1),
1590
- role: l ? "button" : void 0,
1591
- title: l ? "Click to inspect internal components" : void 0,
1592
- children: [
1593
- /* @__PURE__ */ d("div", { className: "float-body", style: { animationDelay: r }, children: [
1594
- /* @__PURE__ */ e(
1595
- "div",
1596
- {
1597
- className: "scan-line",
1598
- style: {
1599
- background: `linear-gradient(90deg, transparent 5%, ${n}cc 40%, #fff 50%, ${n}cc 60%, transparent 95%)`,
1600
- boxShadow: `0 0 8px ${n}`
1601
- }
1602
- }
1603
- ),
1604
- /* @__PURE__ */ e("div", { style: s ? { background: "#040c1a", borderRadius: 2 } : void 0, children: s && J.isValidElement(t) ? J.cloneElement(t, {
1605
- _compact: !0
1606
- }) : t })
1607
- ] }),
1608
- /* @__PURE__ */ d(
1609
- "div",
1610
- {
1611
- style: {
1612
- opacity: a ? 1 : 0,
1613
- transition: "opacity 0.5s ease"
1614
- },
1615
- children: [
1616
- o && /* @__PURE__ */ e("div", { className: "node-tag", style: { color: n + "cc" }, children: o }),
1617
- i && /* @__PURE__ */ e("div", { className: "node-subtag", style: { color: n + "77" }, children: i })
1618
- ]
1619
- }
1620
- )
1621
- ]
1622
- }
1623
- );
1624
- }
1625
- function ct({ synced: t, latencyMs: n }) {
1626
- const o = t ? "#00ff88" : "#ff8c00";
1627
- return /* @__PURE__ */ d("div", { className: "sync-bridge", children: [
1628
- /* @__PURE__ */ d("div", { className: "sync-arrows", children: [
1629
- /* @__PURE__ */ e("span", { style: { color: o, fontSize: 10, lineHeight: 1 }, children: "◄" }),
1630
- /* @__PURE__ */ e(
1631
- "div",
1632
- {
1633
- className: "sync-line",
1634
- style: {
1635
- background: `linear-gradient(90deg, ${o}44, ${o}, ${o}44)`,
1636
- boxShadow: `0 0 8px ${o}55`
1637
- }
1638
- }
1639
- ),
1640
- /* @__PURE__ */ e("span", { style: { color: o, fontSize: 10, lineHeight: 1 }, children: "►" })
1641
- ] }),
1642
- /* @__PURE__ */ e(
1643
- "div",
1644
- {
1645
- className: "sync-status",
1646
- style: {
1647
- color: o,
1648
- animation: t ? "none" : "holo-led-blink 1s linear infinite"
1649
- },
1650
- children: t ? "SYNCED" : "LAG"
1651
- }
1652
- ),
1653
- /* @__PURE__ */ d("div", { className: "sync-latency", style: { color: o + "88" }, children: [
1654
- n,
1655
- "ms ",
1656
- t ? "replication" : "behind"
1657
- ] })
1658
- ] });
1659
- }
1660
- function W({
1494
+ function I({
1661
1495
  ex: t,
1662
1496
  ey: n,
1663
1497
  status: o,
@@ -1669,20 +1503,20 @@ function W({
1669
1503
  align: h = "right",
1670
1504
  internalRef: c
1671
1505
  }) {
1672
- const p = ve(ae), f = p?.expandedOffsetX ?? 0;
1506
+ const p = we(ae), f = p?.expandedOffsetX ?? 0;
1673
1507
  if (o === "online") return null;
1674
1508
  const y = l && !!p?.isExpandedPos, u = w[o]?.color ?? w.warning.color, g = Math.abs(a) > Math.abs(s), m = t + f + (g ? Math.sign(a) * 45 : 0), x = n + (g ? 0 : Math.sign(s) * 40), v = t + f + a, $ = n + s;
1675
1509
  let b = "";
1676
1510
  if (g) {
1677
- const L = m + (v - m) / 2;
1678
- b = `M ${m} ${x} L ${L} ${x} L ${L} ${$} L ${v} ${$}`;
1511
+ const E = m + (v - m) / 2;
1512
+ b = `M ${m} ${x} L ${E} ${x} L ${E} ${$} L ${v} ${$}`;
1679
1513
  } else {
1680
- const L = x + ($ - x) / 2;
1681
- b = `M ${m} ${x} L ${m} ${L} L ${v} ${L} L ${v} ${$}`;
1514
+ const E = x + ($ - x) / 2;
1515
+ b = `M ${m} ${x} L ${m} ${E} L ${v} ${E} L ${v} ${$}`;
1682
1516
  }
1683
1517
  let k = "translate(0, -50%)";
1684
1518
  h === "left" && (k = "translate(-100%, -50%)"), h === "top" && (k = "translate(-50%, -100%)"), h === "bottom" && (k = "translate(-50%, 0)");
1685
- const A = h === "left" ? -8 : h === "right" ? 8 : 0, R = h === "top" ? -8 : h === "bottom" ? 8 : 0;
1519
+ const D = h === "left" ? -8 : h === "right" ? 8 : 0, P = h === "top" ? -8 : h === "bottom" ? 8 : 0;
1686
1520
  return /* @__PURE__ */ d(
1687
1521
  "div",
1688
1522
  {
@@ -1731,8 +1565,8 @@ function W({
1731
1565
  left: v,
1732
1566
  top: $,
1733
1567
  transform: k,
1734
- marginLeft: A,
1735
- marginTop: R,
1568
+ marginLeft: D,
1569
+ marginTop: P,
1736
1570
  background: "repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(255,255,255,0.03) 2px, rgba(255,255,255,0.03) 4px), rgba(2, 8, 16, 0.82)",
1737
1571
  border: `1px solid ${u}55`,
1738
1572
  borderLeft: `2px solid ${u}`,
@@ -1804,7 +1638,191 @@ function W({
1804
1638
  }
1805
1639
  );
1806
1640
  }
1807
- const q = 140, U = 240, Z = 160, de = qe(q, U, Z);
1641
+ function A({
1642
+ ex: t,
1643
+ ey: n,
1644
+ compactOffset: o,
1645
+ zIndex: i,
1646
+ children: r,
1647
+ color: a = "#00e5ff",
1648
+ label: s,
1649
+ subLabel: l,
1650
+ delay: h = "0s",
1651
+ componentInfo: c,
1652
+ visibleAtPhase: p = 0,
1653
+ fixedScale: f,
1654
+ bare: y = !1,
1655
+ alert: u
1656
+ }) {
1657
+ const g = we(ae);
1658
+ if (!g)
1659
+ throw new Error("ServiceNode must be used inside a <Service> component.");
1660
+ const {
1661
+ isExpandedPos: m,
1662
+ animPhase: x,
1663
+ compactCx: v,
1664
+ compactCy: $,
1665
+ groupScale: b,
1666
+ effectiveScale: k,
1667
+ transitionValue: D,
1668
+ onComponentClick: P,
1669
+ selectedComponentName: E,
1670
+ expandedOffsetX: W
1671
+ } = g, j = p === 0 || g.isSelected && x >= p ? 1 : 0, N = v + o.x, te = $ + o.y, ie = m ? t + W : N, z = m ? n : te, F = f !== void 0 ? f : g.isCompact ? b : k, ne = !!c && !!E && c.name === E, $e = c?.status ? w[c.status]?.color ?? a : a, ke = c?.status === "offline" ? "#4a6a8a" : $e, V = c && m && P ? () => P({
1672
+ type: c.type,
1673
+ name: c.name,
1674
+ status: c.status,
1675
+ ex: c.ex ?? t,
1676
+ ey: c.ey ?? n,
1677
+ context: c.context,
1678
+ dialogMetrics: c.dialogMetrics,
1679
+ subComponents: c.subComponents,
1680
+ graphSeries: c.graphSeries
1681
+ }) : void 0, M = c?.status ?? "online", R = c?.name ?? s ?? "";
1682
+ return /* @__PURE__ */ d(ve, { children: [
1683
+ /* @__PURE__ */ e(
1684
+ "div",
1685
+ {
1686
+ style: {
1687
+ position: "absolute",
1688
+ left: ie,
1689
+ top: z,
1690
+ transform: `translate(-50%, -50%) scale(${F})`,
1691
+ opacity: j,
1692
+ zIndex: i,
1693
+ transition: D || "all 1s cubic-bezier(0.34, 1.56, 0.64, 1)",
1694
+ pointerEvents: m && j >= 0.5 ? "auto" : "none"
1695
+ },
1696
+ children: y ? r : /* @__PURE__ */ e(
1697
+ Ht,
1698
+ {
1699
+ statusColor: ke,
1700
+ label: s,
1701
+ subLabel: l,
1702
+ delay: h,
1703
+ showLabels: m,
1704
+ isCompact: g.isCompact,
1705
+ onClick: V,
1706
+ isSelected: ne,
1707
+ children: r
1708
+ }
1709
+ )
1710
+ }
1711
+ ),
1712
+ u && /* @__PURE__ */ e(
1713
+ I,
1714
+ {
1715
+ ex: t,
1716
+ ey: n,
1717
+ status: M,
1718
+ title: R,
1719
+ msg: u.msg,
1720
+ offsetX: u.offsetX ?? 110,
1721
+ offsetY: u.offsetY ?? -30,
1722
+ align: u.align ?? "right",
1723
+ internalRef: u.internalRef,
1724
+ isVisible: !0
1725
+ }
1726
+ )
1727
+ ] });
1728
+ }
1729
+ function Ht({
1730
+ children: t,
1731
+ statusColor: n,
1732
+ label: o,
1733
+ subLabel: i,
1734
+ delay: r = "0s",
1735
+ showLabels: a = !0,
1736
+ isCompact: s = !1,
1737
+ onClick: l,
1738
+ isSelected: h = !1
1739
+ }) {
1740
+ const [c, p] = L(!1), f = h ? `brightness(1.5) drop-shadow(0 0 24px ${n}cc) drop-shadow(0 0 8px ${n}88)` : c && l ? `brightness(1.2) drop-shadow(0 0 12px ${n}77)` : "";
1741
+ return /* @__PURE__ */ d(
1742
+ "div",
1743
+ {
1744
+ className: `float-node${l ? " float-node--interactive" : ""}`,
1745
+ onClick: (y) => {
1746
+ l && (y.stopPropagation(), l());
1747
+ },
1748
+ style: {
1749
+ cursor: l ? "pointer" : void 0,
1750
+ transition: "filter 0.3s ease",
1751
+ filter: f
1752
+ },
1753
+ onMouseEnter: () => p(!0),
1754
+ onMouseLeave: () => p(!1),
1755
+ role: l ? "button" : void 0,
1756
+ title: l ? "Click to inspect internal components" : void 0,
1757
+ children: [
1758
+ /* @__PURE__ */ d("div", { className: "float-body", style: { animationDelay: r }, children: [
1759
+ /* @__PURE__ */ e(
1760
+ "div",
1761
+ {
1762
+ className: "scan-line",
1763
+ style: {
1764
+ background: `linear-gradient(90deg, transparent 5%, ${n}cc 40%, #fff 50%, ${n}cc 60%, transparent 95%)`,
1765
+ boxShadow: `0 0 8px ${n}`
1766
+ }
1767
+ }
1768
+ ),
1769
+ /* @__PURE__ */ e("div", { style: s ? { background: "#040c1a", borderRadius: 2 } : void 0, children: s && J.isValidElement(t) ? J.cloneElement(t, {
1770
+ _compact: !0
1771
+ }) : t })
1772
+ ] }),
1773
+ /* @__PURE__ */ d(
1774
+ "div",
1775
+ {
1776
+ style: {
1777
+ opacity: a ? 1 : 0,
1778
+ transition: "opacity 0.5s ease"
1779
+ },
1780
+ children: [
1781
+ o && /* @__PURE__ */ e("div", { className: "node-tag", style: { color: n + "cc" }, children: o }),
1782
+ i && /* @__PURE__ */ e("div", { className: "node-subtag", style: { color: n + "77" }, children: i })
1783
+ ]
1784
+ }
1785
+ )
1786
+ ]
1787
+ }
1788
+ );
1789
+ }
1790
+ function ct({ synced: t, latencyMs: n }) {
1791
+ const o = t ? "#00ff88" : "#ff8c00";
1792
+ return /* @__PURE__ */ d("div", { className: "sync-bridge", children: [
1793
+ /* @__PURE__ */ d("div", { className: "sync-arrows", children: [
1794
+ /* @__PURE__ */ e("span", { style: { color: o, fontSize: 10, lineHeight: 1 }, children: "◄" }),
1795
+ /* @__PURE__ */ e(
1796
+ "div",
1797
+ {
1798
+ className: "sync-line",
1799
+ style: {
1800
+ background: `linear-gradient(90deg, ${o}44, ${o}, ${o}44)`,
1801
+ boxShadow: `0 0 8px ${o}55`
1802
+ }
1803
+ }
1804
+ ),
1805
+ /* @__PURE__ */ e("span", { style: { color: o, fontSize: 10, lineHeight: 1 }, children: "►" })
1806
+ ] }),
1807
+ /* @__PURE__ */ e(
1808
+ "div",
1809
+ {
1810
+ className: "sync-status",
1811
+ style: {
1812
+ color: o,
1813
+ animation: t ? "none" : "holo-led-blink 1s linear infinite"
1814
+ },
1815
+ children: t ? "SYNCED" : "LAG"
1816
+ }
1817
+ ),
1818
+ /* @__PURE__ */ d("div", { className: "sync-latency", style: { color: o + "88" }, children: [
1819
+ n,
1820
+ "ms ",
1821
+ t ? "replication" : "behind"
1822
+ ] })
1823
+ ] });
1824
+ }
1825
+ const q = 140, H = 240, Z = 160, de = qe(q, H, Z);
1808
1826
  function Ut({
1809
1827
  cfg: t,
1810
1828
  name: n,
@@ -1825,8 +1843,8 @@ function Ut({
1825
1843
  {
1826
1844
  style: {
1827
1845
  width: q,
1828
- height: U,
1829
- background: a ? we : Qe,
1846
+ height: H,
1847
+ background: a ? Se : Qe,
1830
1848
  position: "relative",
1831
1849
  overflow: "hidden",
1832
1850
  fontFamily: "'Courier New', monospace",
@@ -2223,7 +2241,7 @@ function Yt() {
2223
2241
  {
2224
2242
  style: {
2225
2243
  width: q,
2226
- height: U,
2244
+ height: H,
2227
2245
  background: "linear-gradient(180deg, #040c1a 0%, #030810 100%)",
2228
2246
  position: "relative",
2229
2247
  overflow: "hidden",
@@ -2331,14 +2349,18 @@ function Yt() {
2331
2349
  }
2332
2350
  );
2333
2351
  }
2334
- function ot({ side: t, color: n, brandLabel: o }) {
2352
+ function ot({
2353
+ side: t,
2354
+ color: n,
2355
+ brandLabel: o
2356
+ }) {
2335
2357
  const i = t === "right";
2336
2358
  return /* @__PURE__ */ d(
2337
2359
  "div",
2338
2360
  {
2339
2361
  style: {
2340
2362
  width: Z,
2341
- height: U,
2363
+ height: H,
2342
2364
  background: i ? "linear-gradient(90deg, #040c1c 0%, #071428 60%, #040c1c 100%)" : "linear-gradient(90deg, #040c1c 0%, #071428 40%, #040c1c 100%)",
2343
2365
  position: "relative",
2344
2366
  overflow: "hidden"
@@ -2357,7 +2379,7 @@ function ot({ side: t, color: n, brandLabel: o }) {
2357
2379
  }
2358
2380
  }
2359
2381
  ),
2360
- [8, U - 20].map((r) => /* @__PURE__ */ e(
2382
+ [8, H - 20].map((r) => /* @__PURE__ */ e(
2361
2383
  "div",
2362
2384
  {
2363
2385
  style: {
@@ -2379,8 +2401,8 @@ function ot({ side: t, color: n, brandLabel: o }) {
2379
2401
  {
2380
2402
  style: {
2381
2403
  position: "absolute",
2382
- top: U * 0.35,
2383
- bottom: U * 0.15,
2404
+ top: H * 0.35,
2405
+ bottom: H * 0.15,
2384
2406
  left: i ? 22 : 18,
2385
2407
  right: i ? 18 : 22,
2386
2408
  display: "flex",
@@ -2408,7 +2430,7 @@ function ot({ side: t, color: n, brandLabel: o }) {
2408
2430
  {
2409
2431
  style: {
2410
2432
  position: "absolute",
2411
- top: U * 0.18,
2433
+ top: H * 0.18,
2412
2434
  left: i ? 12 : Z - 78,
2413
2435
  fontSize: 7,
2414
2436
  color: "#1a3050",
@@ -2520,7 +2542,7 @@ function ue({
2520
2542
  brandLabel: c = "BUSAUD",
2521
2543
  _compact: p
2522
2544
  }) {
2523
- const [f, y] = I(n), u = ee(0), g = ee(0);
2545
+ const [f, y] = L(n), u = ee(0), g = ee(0);
2524
2546
  Ee(() => {
2525
2547
  if (!r) {
2526
2548
  y(n);
@@ -2539,7 +2561,7 @@ function ue({
2539
2561
  {
2540
2562
  style: {
2541
2563
  width: q * i,
2542
- height: U * i,
2564
+ height: H * i,
2543
2565
  position: "relative",
2544
2566
  display: "flex",
2545
2567
  alignItems: "center",
@@ -2592,7 +2614,7 @@ function ue({
2592
2614
  style: {
2593
2615
  position: "absolute",
2594
2616
  width: q * 1.4 * i,
2595
- height: U * 0.8 * i,
2617
+ height: H * 0.8 * i,
2596
2618
  background: `radial-gradient(ellipse, ${m.glow} 0%, transparent 65%)`,
2597
2619
  filter: `blur(${Math.round(45 * i)}px)`,
2598
2620
  pointerEvents: "none",
@@ -2616,7 +2638,7 @@ function ue({
2616
2638
  {
2617
2639
  style: {
2618
2640
  width: q,
2619
- height: U,
2641
+ height: H,
2620
2642
  position: "relative",
2621
2643
  transformStyle: "preserve-3d",
2622
2644
  transform: `rotateX(${t}deg) rotateY(${f}deg) rotateZ(${o}deg)`,
@@ -2658,7 +2680,7 @@ function ue({
2658
2680
  }
2659
2681
  );
2660
2682
  }
2661
- const je = 12, re = 55, _ = re * 2, he = 52, Ze = 10, He = 3 * he + 2 * Ze, ce = 2 * Math.PI * re / je, Ue = Array.from({ length: je }, (t, n) => n / je * 360);
2683
+ const Xe = 12, re = 55, _ = re * 2, he = 52, Ze = 10, He = 3 * he + 2 * Ze, ce = 2 * Math.PI * re / Xe, Ue = Array.from({ length: Xe }, (t, n) => n / Xe * 360);
2662
2684
  function Ye(t) {
2663
2685
  return Math.cos(t * Math.PI / 180) * 0.42 + 0.58;
2664
2686
  }
@@ -2670,7 +2692,7 @@ function _t({
2670
2692
  capacity: r,
2671
2693
  compact: a
2672
2694
  }) {
2673
- return /* @__PURE__ */ d(Ce, { children: [
2695
+ return /* @__PURE__ */ d(ve, { children: [
2674
2696
  Ue.map((s, l) => {
2675
2697
  const h = Ye(s), c = l === 0, p = Math.round(4 + h * 9), f = Math.round(12 + h * 22), y = Math.round(28 + h * 44), u = Math.round(h * 0.55 * 255).toString(16).padStart(2, "0");
2676
2698
  return /* @__PURE__ */ e(
@@ -2688,7 +2710,7 @@ function _t({
2688
2710
  borderLeft: `1px solid ${o.color}${u}`,
2689
2711
  boxShadow: c ? `inset 0 0 18px ${o.color}28` : "none"
2690
2712
  },
2691
- children: c && /* @__PURE__ */ d(Ce, { children: [
2713
+ children: c && /* @__PURE__ */ d(ve, { children: [
2692
2714
  /* @__PURE__ */ e(
2693
2715
  "div",
2694
2716
  {
@@ -2883,7 +2905,7 @@ function Oe({
2883
2905
  // connections = 284,
2884
2906
  _compact: l
2885
2907
  }) {
2886
- const [h, c] = I(n), p = ee(0), f = ee(0);
2908
+ const [h, c] = L(n), p = ee(0), f = ee(0);
2887
2909
  Ee(() => {
2888
2910
  if (!r) {
2889
2911
  c(n);
@@ -3013,8 +3035,8 @@ function Oe({
3013
3035
  }
3014
3036
  );
3015
3037
  }
3016
- const G = 190, Y = 72, be = 120, pe = qe(G, Y, be);
3017
- function jt({
3038
+ const G = 190, U = 72, be = 120, pe = qe(G, U, be);
3039
+ function Xt({
3018
3040
  cfg: t,
3019
3041
  name: n,
3020
3042
  traffic: o,
@@ -3027,8 +3049,8 @@ function jt({
3027
3049
  {
3028
3050
  style: {
3029
3051
  width: G,
3030
- height: Y,
3031
- background: r ? we : Qe,
3052
+ height: U,
3053
+ background: r ? Se : Qe,
3032
3054
  position: "relative",
3033
3055
  overflow: "hidden",
3034
3056
  fontFamily: "'Courier New', monospace",
@@ -3276,13 +3298,13 @@ function jt({
3276
3298
  }
3277
3299
  );
3278
3300
  }
3279
- function Xt() {
3301
+ function jt() {
3280
3302
  return /* @__PURE__ */ d(
3281
3303
  "div",
3282
3304
  {
3283
3305
  style: {
3284
3306
  width: G,
3285
- height: Y,
3307
+ height: U,
3286
3308
  background: "linear-gradient(180deg, #040c1a, #030810)",
3287
3309
  position: "relative",
3288
3310
  overflow: "hidden",
@@ -3297,7 +3319,7 @@ function Xt() {
3297
3319
  {
3298
3320
  style: {
3299
3321
  width: 40,
3300
- height: Y - 16,
3322
+ height: U - 16,
3301
3323
  background: "#020710",
3302
3324
  border: "1px solid #1a2d40",
3303
3325
  borderRadius: 2,
@@ -3353,7 +3375,7 @@ function Xt() {
3353
3375
  style: {
3354
3376
  marginLeft: "auto",
3355
3377
  width: 12,
3356
- height: Y - 16,
3378
+ height: U - 16,
3357
3379
  background: "#020710",
3358
3380
  border: "1px solid #1a3050",
3359
3381
  borderRadius: 1
@@ -3370,7 +3392,7 @@ function rt({ side: t, color: n }) {
3370
3392
  {
3371
3393
  style: {
3372
3394
  width: be,
3373
- height: Y,
3395
+ height: U,
3374
3396
  background: t === "right" ? "linear-gradient(90deg, #04091a 0%, #071428 60%, #040c1c 100%)" : "linear-gradient(90deg, #040c1c 0%, #071428 40%, #04091a 100%)",
3375
3397
  position: "relative",
3376
3398
  overflow: "hidden"
@@ -3394,8 +3416,8 @@ function rt({ side: t, color: n }) {
3394
3416
  {
3395
3417
  style: {
3396
3418
  position: "absolute",
3397
- top: Y * 0.25,
3398
- bottom: Y * 0.25,
3419
+ top: U * 0.25,
3420
+ bottom: U * 0.25,
3399
3421
  left: 14,
3400
3422
  right: 14,
3401
3423
  display: "flex",
@@ -3492,7 +3514,7 @@ function pt({
3492
3514
  activeRoutes: h = 12,
3493
3515
  _compact: c
3494
3516
  }) {
3495
- const [p, f] = I(n), y = ee(0), u = ee(0);
3517
+ const [p, f] = L(n), y = ee(0), u = ee(0);
3496
3518
  Ee(() => {
3497
3519
  if (!r) {
3498
3520
  f(n);
@@ -3511,7 +3533,7 @@ function pt({
3511
3533
  {
3512
3534
  style: {
3513
3535
  width: G * i,
3514
- height: Y * i,
3536
+ height: U * i,
3515
3537
  position: "relative",
3516
3538
  display: "flex",
3517
3539
  alignItems: "center",
@@ -3572,7 +3594,7 @@ function pt({
3572
3594
  style: {
3573
3595
  position: "absolute",
3574
3596
  width: G * 1.3 * i,
3575
- height: Y * 2 * i,
3597
+ height: U * 2 * i,
3576
3598
  background: `radial-gradient(ellipse, ${g.glow} 0%, transparent 65%)`,
3577
3599
  filter: `blur(${Math.round(40 * i)}px)`,
3578
3600
  pointerEvents: "none",
@@ -3596,7 +3618,7 @@ function pt({
3596
3618
  {
3597
3619
  style: {
3598
3620
  width: G,
3599
- height: Y,
3621
+ height: U,
3600
3622
  position: "relative",
3601
3623
  transformStyle: "preserve-3d",
3602
3624
  transform: `rotateX(${t}deg) rotateY(${p}deg) rotateZ(${o}deg)`,
@@ -3604,7 +3626,7 @@ function pt({
3604
3626
  },
3605
3627
  children: [
3606
3628
  /* @__PURE__ */ e("div", { style: pe.front, children: /* @__PURE__ */ e(
3607
- jt,
3629
+ Xt,
3608
3630
  {
3609
3631
  cfg: g,
3610
3632
  name: s,
@@ -3613,7 +3635,7 @@ function pt({
3613
3635
  compact: c
3614
3636
  }
3615
3637
  ) }),
3616
- /* @__PURE__ */ e("div", { style: pe.back, children: /* @__PURE__ */ e(Xt, {}) }),
3638
+ /* @__PURE__ */ e("div", { style: pe.back, children: /* @__PURE__ */ e(jt, {}) }),
3617
3639
  /* @__PURE__ */ e("div", { style: pe.left, children: /* @__PURE__ */ e(rt, { side: "left", color: g.color }) }),
3618
3640
  /* @__PURE__ */ e("div", { style: pe.right, children: /* @__PURE__ */ e(rt, { side: "right", color: g.color }) }),
3619
3641
  /* @__PURE__ */ e("div", { style: pe.top, children: /* @__PURE__ */ e(Qt, { traffic: l }) }),
@@ -3627,7 +3649,7 @@ function pt({
3627
3649
  }
3628
3650
  );
3629
3651
  }
3630
- const K = 190, V = 72, ge = 120, fe = qe(K, V, ge), at = {
3652
+ const K = 190, Y = 72, ge = 120, fe = qe(K, Y, ge), at = {
3631
3653
  online: { color: "#bb55ff", glow: "rgba(187,85,255,0.50)" },
3632
3654
  warning: { color: "#ff8c00", glow: "rgba(255,140,0,0.50)" },
3633
3655
  critical: { color: "#ff2255", glow: "rgba(255,34,85,0.50)" },
@@ -3647,8 +3669,8 @@ function qt({
3647
3669
  {
3648
3670
  style: {
3649
3671
  width: K,
3650
- height: V,
3651
- background: a ? we : Qe,
3672
+ height: Y,
3673
+ background: a ? Se : Qe,
3652
3674
  position: "relative",
3653
3675
  overflow: "hidden",
3654
3676
  fontFamily: "'Courier New', monospace",
@@ -3898,7 +3920,7 @@ function Gt() {
3898
3920
  {
3899
3921
  style: {
3900
3922
  width: K,
3901
- height: V,
3923
+ height: Y,
3902
3924
  background: "linear-gradient(180deg, #040c1a, #030810)",
3903
3925
  position: "relative",
3904
3926
  overflow: "hidden",
@@ -3913,7 +3935,7 @@ function Gt() {
3913
3935
  {
3914
3936
  style: {
3915
3937
  width: 40,
3916
- height: V - 16,
3938
+ height: Y - 16,
3917
3939
  background: "#020710",
3918
3940
  border: "1px solid #1a2d40",
3919
3941
  borderRadius: 2,
@@ -3969,7 +3991,7 @@ function Gt() {
3969
3991
  style: {
3970
3992
  marginLeft: "auto",
3971
3993
  width: 12,
3972
- height: V - 16,
3994
+ height: Y - 16,
3973
3995
  background: "#020710",
3974
3996
  border: "1px solid #1a3050",
3975
3997
  borderRadius: 1
@@ -3986,7 +4008,7 @@ function lt({ side: t, color: n }) {
3986
4008
  {
3987
4009
  style: {
3988
4010
  width: ge,
3989
- height: V,
4011
+ height: Y,
3990
4012
  background: t === "right" ? "linear-gradient(90deg, #04091a 0%, #071428 60%, #040c1c 100%)" : "linear-gradient(90deg, #040c1c 0%, #071428 40%, #04091a 100%)",
3991
4013
  position: "relative",
3992
4014
  overflow: "hidden"
@@ -4010,8 +4032,8 @@ function lt({ side: t, color: n }) {
4010
4032
  {
4011
4033
  style: {
4012
4034
  position: "absolute",
4013
- top: V * 0.25,
4014
- bottom: V * 0.25,
4035
+ top: Y * 0.25,
4036
+ bottom: Y * 0.25,
4015
4037
  left: 14,
4016
4038
  right: 14,
4017
4039
  display: "flex",
@@ -4109,7 +4131,7 @@ function Zt({
4109
4131
  instances: c = 3,
4110
4132
  _compact: p
4111
4133
  }) {
4112
- const [f, y] = I(n), u = ee(0), g = ee(0);
4134
+ const [f, y] = L(n), u = ee(0), g = ee(0);
4113
4135
  Ee(() => {
4114
4136
  if (!r) {
4115
4137
  y(n);
@@ -4128,7 +4150,7 @@ function Zt({
4128
4150
  {
4129
4151
  style: {
4130
4152
  width: K * i,
4131
- height: V * i,
4153
+ height: Y * i,
4132
4154
  position: "relative",
4133
4155
  display: "flex",
4134
4156
  alignItems: "center",
@@ -4189,7 +4211,7 @@ function Zt({
4189
4211
  style: {
4190
4212
  position: "absolute",
4191
4213
  width: K * 1.3 * i,
4192
- height: V * 2 * i,
4214
+ height: Y * 2 * i,
4193
4215
  background: `radial-gradient(ellipse, ${m.glow} 0%, transparent 65%)`,
4194
4216
  filter: `blur(${Math.round(40 * i)}px)`,
4195
4217
  pointerEvents: "none",
@@ -4213,7 +4235,7 @@ function Zt({
4213
4235
  {
4214
4236
  style: {
4215
4237
  width: K,
4216
- height: V,
4238
+ height: Y,
4217
4239
  position: "relative",
4218
4240
  transformStyle: "preserve-3d",
4219
4241
  transform: `rotateX(${t}deg) rotateY(${f}deg) rotateZ(${o}deg)`,
@@ -4357,7 +4379,7 @@ function ft({ status: t = "online", scale: n = 1 }) {
4357
4379
  }
4358
4380
  );
4359
4381
  }
4360
- function P(t, n, o = 24) {
4382
+ function C(t, n, o = 24) {
4361
4383
  return Array.from({ length: o }, (i, r) => {
4362
4384
  const a = r / o;
4363
4385
  return Math.min(100, Math.max(0, t + Math.sin(a * Math.PI * 2) * n + (Math.random() - 0.5) * 10));
@@ -4457,34 +4479,34 @@ function ti(t, n) {
4457
4479
  if (t === "server") {
4458
4480
  const o = n.cpuLoad ?? 50, i = n.memLoad ?? 60;
4459
4481
  return [
4460
- { id: "cpu", label: "CPU-0", unit: "%", color: "#00e5ff", data: P(o, 15) },
4461
- { id: "cpu1", label: "CPU-1", unit: "%", color: "#00e5ff", data: P(o * 0.7, 12) },
4462
- { id: "heap0", label: "HEAP-0", unit: "%", color: "#8855ee", data: P(i, 18) },
4463
- { id: "heap1", label: "HEAP-1", unit: "%", color: "#8855ee", data: P(i * 0.85, 14) },
4464
- { id: "drive1", label: "DRIVE-1 I/O", unit: "%", color: "#ff8c00", data: P(40, 25) },
4465
- { id: "drive2", label: "DRIVE-2 I/O", unit: "%", color: "#ff8c00", data: P(35, 20) },
4466
- { id: "drive3", label: "DRIVE-3 I/O", unit: "%", color: "#ff8c00", data: P(30, 22) },
4467
- { id: "thread", label: "THREAD-POOL", unit: "%", color: "#22aaff", data: P(55, 20) }
4482
+ { id: "cpu", label: "CPU-0", unit: "%", color: "#00e5ff", data: C(o, 15) },
4483
+ { id: "cpu1", label: "CPU-1", unit: "%", color: "#00e5ff", data: C(o * 0.7, 12) },
4484
+ { id: "heap0", label: "HEAP-0", unit: "%", color: "#8855ee", data: C(i, 18) },
4485
+ { id: "heap1", label: "HEAP-1", unit: "%", color: "#8855ee", data: C(i * 0.85, 14) },
4486
+ { id: "drive1", label: "DRIVE-1 I/O", unit: "%", color: "#ff8c00", data: C(40, 25) },
4487
+ { id: "drive2", label: "DRIVE-2 I/O", unit: "%", color: "#ff8c00", data: C(35, 20) },
4488
+ { id: "drive3", label: "DRIVE-3 I/O", unit: "%", color: "#ff8c00", data: C(30, 22) },
4489
+ { id: "thread", label: "THREAD-POOL", unit: "%", color: "#22aaff", data: C(55, 20) }
4468
4490
  ];
4469
4491
  }
4470
4492
  if (t === "dispatcher" || t === "messageServer") {
4471
4493
  const o = n.traffic ?? n.queueDepth ?? 50;
4472
4494
  return [
4473
- { id: "traffic", label: "TRAFFIC", unit: "%", color: "#00e5ff", data: P(o, 20) },
4474
- { id: "port1", label: "PORT-1", unit: "kbps", color: "#22aaff", data: P(60, 25) },
4475
- { id: "port2", label: "PORT-2", unit: "kbps", color: "#22aaff", data: P(45, 20) },
4476
- { id: "port3", label: "PORT-3", unit: "kbps", color: "#22aaff", data: P(70, 30) },
4477
- { id: "worker", label: "WORKER", unit: "%", color: "#bb55ff", data: P(o * 0.9, 15) }
4495
+ { id: "traffic", label: "TRAFFIC", unit: "%", color: "#00e5ff", data: C(o, 20) },
4496
+ { id: "port1", label: "PORT-1", unit: "kbps", color: "#22aaff", data: C(60, 25) },
4497
+ { id: "port2", label: "PORT-2", unit: "kbps", color: "#22aaff", data: C(45, 20) },
4498
+ { id: "port3", label: "PORT-3", unit: "kbps", color: "#22aaff", data: C(70, 30) },
4499
+ { id: "worker", label: "WORKER", unit: "%", color: "#bb55ff", data: C(o * 0.9, 15) }
4478
4500
  ];
4479
4501
  }
4480
4502
  if (t === "database") {
4481
4503
  const o = n.capacity ?? 70;
4482
4504
  return [
4483
- { id: "platter0", label: "PLATTER-0 I/O", unit: "%", color: "#ff8c00", data: P(40, 20) },
4484
- { id: "platter1", label: "PLATTER-1 I/O", unit: "%", color: "#ff8c00", data: P(55, 25) },
4485
- { id: "platter2", label: "PLATTER-2 I/O", unit: "%", color: "#ff8c00", data: P(35, 18) },
4486
- { id: "connpool", label: "CONN-POOL", unit: "%", color: "#00e5ff", data: P(o, 15) },
4487
- { id: "cache", label: "QUERY-CACHE", unit: "%", color: "#00ff88", data: P(75, 12) }
4505
+ { id: "platter0", label: "PLATTER-0 I/O", unit: "%", color: "#ff8c00", data: C(40, 20) },
4506
+ { id: "platter1", label: "PLATTER-1 I/O", unit: "%", color: "#ff8c00", data: C(55, 25) },
4507
+ { id: "platter2", label: "PLATTER-2 I/O", unit: "%", color: "#ff8c00", data: C(35, 18) },
4508
+ { id: "connpool", label: "CONN-POOL", unit: "%", color: "#00e5ff", data: C(o, 15) },
4509
+ { id: "cache", label: "QUERY-CACHE", unit: "%", color: "#00ff88", data: C(75, 12) }
4488
4510
  ];
4489
4511
  }
4490
4512
  return [];
@@ -4505,7 +4527,7 @@ function ht({
4505
4527
  style: {
4506
4528
  width: t,
4507
4529
  height: n,
4508
- background: we,
4530
+ background: Se,
4509
4531
  position: "relative",
4510
4532
  overflow: "hidden",
4511
4533
  borderRadius: 2,
@@ -4595,7 +4617,7 @@ function De({
4595
4617
  style: {
4596
4618
  width: 52,
4597
4619
  height: 36,
4598
- background: we,
4620
+ background: Se,
4599
4621
  position: "relative",
4600
4622
  borderRadius: 2,
4601
4623
  border: `1px solid ${t}55`,
@@ -4840,7 +4862,7 @@ function ut({
4840
4862
  style: {
4841
4863
  width: 48,
4842
4864
  height: 28,
4843
- background: we,
4865
+ background: Se,
4844
4866
  position: "relative",
4845
4867
  borderRadius: 2,
4846
4868
  border: `1px solid ${t}44`,
@@ -5158,7 +5180,7 @@ function ii(t, n, o, i) {
5158
5180
  }
5159
5181
  ] : [];
5160
5182
  }
5161
- const E = "cubic-bezier(0.34, 1.56, 0.64, 1)", ni = "cubic-bezier(0.16, 1, 0.3, 1)";
5183
+ const T = "cubic-bezier(0.34, 1.56, 0.64, 1)", ni = "cubic-bezier(0.16, 1, 0.3, 1)";
5162
5184
  function oi({ items: t, revealPhase: n }) {
5163
5185
  return /* @__PURE__ */ e(
5164
5186
  "div",
@@ -5177,7 +5199,7 @@ function oi({ items: t, revealPhase: n }) {
5177
5199
  style: {
5178
5200
  opacity: n >= 0.2 + i * 0.06 ? 1 : 0,
5179
5201
  transform: `scale(${n >= 0.2 + i * 0.06 ? 1 : 0.6})`,
5180
- transition: `opacity 0.4s ${E} ${i * 0.06}s, transform 0.45s ${E} ${i * 0.06}s`
5202
+ transition: `opacity 0.4s ${T} ${i * 0.06}s, transform 0.45s ${T} ${i * 0.06}s`
5181
5203
  },
5182
5204
  children: o.element
5183
5205
  },
@@ -5311,7 +5333,7 @@ function ri({
5311
5333
  style: {
5312
5334
  opacity: r >= 0.2 + f * 0.08 ? 1 : 0,
5313
5335
  transform: `scale(${r >= 0.2 + f * 0.08 ? 1 : 0.6})`,
5314
- transition: `opacity 0.4s ${E} ${f * 0.06}s, transform 0.45s ${E} ${f * 0.06}s`
5336
+ transition: `opacity 0.4s ${T} ${f * 0.06}s, transform 0.45s ${T} ${f * 0.06}s`
5315
5337
  },
5316
5338
  children: y
5317
5339
  },
@@ -5329,7 +5351,7 @@ function ri({
5329
5351
  style: {
5330
5352
  opacity: r >= 0.25 + c * 0.04 ? 1 : 0,
5331
5353
  transform: `scale(${r >= 0.25 + c * 0.04 ? 1 : 0.5})`,
5332
- transition: `opacity 0.35s ${E} ${c * 0.04}s, transform 0.4s ${E} ${c * 0.04}s`
5354
+ transition: `opacity 0.35s ${T} ${c * 0.04}s, transform 0.4s ${T} ${c * 0.04}s`
5333
5355
  },
5334
5356
  children: /* @__PURE__ */ e(B, { color: a, label: `PORT-${c + 1}`, status: p?.status })
5335
5357
  },
@@ -5355,7 +5377,7 @@ function ri({
5355
5377
  style: {
5356
5378
  opacity: r >= 0.7 ? 1 : 0,
5357
5379
  transform: `scale(${r >= 0.7 ? 1 : 0.6})`,
5358
- transition: `all 0.4s ${E} 0.3s`
5380
+ transition: `all 0.4s ${T} 0.3s`
5359
5381
  },
5360
5382
  children: /* @__PURE__ */ e(O, { color: a, label: "HTTP-WORKER", status: i[8]?.status })
5361
5383
  }
@@ -5366,7 +5388,7 @@ function ri({
5366
5388
  style: {
5367
5389
  opacity: r >= 0.8 ? 1 : 0,
5368
5390
  transform: `scale(${r >= 0.8 ? 1 : 0.6})`,
5369
- transition: `all 0.4s ${E} 0.4s`
5391
+ transition: `all 0.4s ${T} 0.4s`
5370
5392
  },
5371
5393
  children: /* @__PURE__ */ e(O, { color: "#bb55ff", label: "HTTPS-WORKER", status: i[9]?.status })
5372
5394
  }
@@ -5395,7 +5417,7 @@ function ri({
5395
5417
  style: {
5396
5418
  opacity: r >= 0.25 + l * 0.1 ? 1 : 0,
5397
5419
  transform: `scale(${r >= 0.25 + l * 0.1 ? 1 : 0.6})`,
5398
- transition: `all 0.4s ${E} ${l * 0.08}s`
5420
+ transition: `all 0.4s ${T} ${l * 0.08}s`
5399
5421
  },
5400
5422
  children: /* @__PURE__ */ e(B, { color: "#bb55ff", label: `INST-${l}`, status: i[l]?.status })
5401
5423
  },
@@ -5407,7 +5429,7 @@ function ri({
5407
5429
  style: {
5408
5430
  opacity: r >= 0.6 ? 1 : 0,
5409
5431
  transform: `scale(${r >= 0.6 ? 1 : 0.6})`,
5410
- transition: `all 0.4s ${E} 0.25s`
5432
+ transition: `all 0.4s ${T} 0.25s`
5411
5433
  },
5412
5434
  children: /* @__PURE__ */ e(O, { color: "#bb55ff", label: "QUEUE-0", status: i[3]?.status })
5413
5435
  }
@@ -5418,7 +5440,7 @@ function ri({
5418
5440
  style: {
5419
5441
  opacity: r >= 0.7 + (l - 4) * 0.08 ? 1 : 0,
5420
5442
  transform: `scale(${r >= 0.7 ? 1 : 0.6})`,
5421
- transition: `all 0.4s ${E} ${0.35 + (l - 4) * 0.05}s`
5443
+ transition: `all 0.4s ${T} ${0.35 + (l - 4) * 0.05}s`
5422
5444
  },
5423
5445
  children: /* @__PURE__ */ e(
5424
5446
  O,
@@ -5454,7 +5476,7 @@ function ri({
5454
5476
  style: {
5455
5477
  opacity: r >= 0.2 + h * 0.12 ? 1 : 0,
5456
5478
  transform: `scale(${r >= 0.2 + h * 0.12 ? 1 : 0.5})`,
5457
- transition: `all 0.45s ${E} ${h * 0.1}s`
5479
+ transition: `all 0.45s ${T} ${h * 0.1}s`
5458
5480
  },
5459
5481
  children: /* @__PURE__ */ e(
5460
5482
  Ie,
@@ -5474,7 +5496,7 @@ function ri({
5474
5496
  style: {
5475
5497
  opacity: r >= 0.6 ? 1 : 0,
5476
5498
  transform: `scale(${r >= 0.6 ? 1 : 0.6})`,
5477
- transition: `all 0.4s ${E} 0.3s`
5499
+ transition: `all 0.4s ${T} 0.3s`
5478
5500
  },
5479
5501
  children: /* @__PURE__ */ e(O, { color: s, label: "CONN-POOL", status: i[3]?.status })
5480
5502
  }
@@ -5485,7 +5507,7 @@ function ri({
5485
5507
  style: {
5486
5508
  opacity: r >= 0.75 ? 1 : 0,
5487
5509
  transform: `scale(${r >= 0.75 ? 1 : 0.6})`,
5488
- transition: `all 0.4s ${E} 0.4s`
5510
+ transition: `all 0.4s ${T} 0.4s`
5489
5511
  },
5490
5512
  children: /* @__PURE__ */ e(O, { color: "#00ff88", label: "QUERY-CACHE", status: i[4]?.status })
5491
5513
  }
@@ -5580,7 +5602,7 @@ function wi({
5580
5602
  borderRight: `2px solid ${c}44`,
5581
5603
  boxShadow: "4px 0 32px rgba(0,0,0,0.6)",
5582
5604
  transform: `translateX(${f})`,
5583
- transition: `transform 0.7s ${E}`
5605
+ transition: `transform 0.7s ${T}`
5584
5606
  }
5585
5607
  }
5586
5608
  ),
@@ -5595,7 +5617,7 @@ function wi({
5595
5617
  borderLeft: `2px solid ${c}44`,
5596
5618
  boxShadow: "-4px 0 32px rgba(0,0,0,0.6)",
5597
5619
  transform: `translateX(${y})`,
5598
- transition: `transform 0.7s ${E}`
5620
+ transition: `transform 0.7s ${T}`
5599
5621
  }
5600
5622
  }
5601
5623
  )
@@ -5618,7 +5640,7 @@ function wi({
5618
5640
  display: "flex",
5619
5641
  flexDirection: "column",
5620
5642
  opacity: u >= 0.1 ? 1 : 0,
5621
- transition: `opacity 0.5s ${E} 0.2s`
5643
+ transition: `opacity 0.5s ${T} 0.2s`
5622
5644
  },
5623
5645
  children: [
5624
5646
  /* @__PURE__ */ d(
@@ -5737,28 +5759,28 @@ function Si({
5737
5759
  fontFamily: s,
5738
5760
  children: l
5739
5761
  }) {
5740
- const [h] = I(20), [c] = I(!1), [p] = I(!0), [f] = I(0.45), [y] = I(3.3), [u, g] = I("compact"), [m, x] = I(0), [v, $] = I(null), [b, k] = I(null), [A, R] = I(0), L = (C) => {
5741
- u === "compact" && ($(C), g("expanding"), x(0), setTimeout(() => x(1), 50), setTimeout(() => x(2), 800), setTimeout(() => x(3), 1200), setTimeout(() => x(4), 1600), setTimeout(() => x(5), 2e3), setTimeout(() => {
5762
+ const [h] = L(20), [c] = L(!1), [p] = L(!0), [f] = L(0.45), [y] = L(3.3), [u, g] = L("compact"), [m, x] = L(0), [v, $] = L(null), [b, k] = L(null), [D, P] = L(0), E = (R) => {
5763
+ u === "compact" && ($(R), g("expanding"), x(0), setTimeout(() => x(1), 50), setTimeout(() => x(2), 800), setTimeout(() => x(3), 1200), setTimeout(() => x(4), 1600), setTimeout(() => x(5), 2e3), setTimeout(() => {
5742
5764
  x(6), g("expanded");
5743
5765
  }, 2400));
5744
- }, z = () => {
5745
- b ? (k(null), R(0)) : u === "expanded" && (g("collapsing"), x(0), $(null), setTimeout(() => {
5746
- g((C) => C === "collapsing" ? "compact" : C);
5766
+ }, W = () => {
5767
+ b ? (k(null), P(0)) : u === "expanded" && (g("collapsing"), x(0), $(null), setTimeout(() => {
5768
+ g((R) => R === "collapsing" ? "compact" : R);
5747
5769
  }, 1e3));
5748
- }, F = (C) => {
5749
- k(C), R(0);
5770
+ }, X = (R) => {
5771
+ k(R), P(0);
5750
5772
  };
5751
5773
  J.useEffect(() => {
5752
5774
  if (!b) return;
5753
- const C = performance.now(), ke = 1200, oe = () => {
5754
- const Ne = performance.now() - C, Te = Math.min(1, Ne / ke);
5755
- R(Te), Te < 1 && requestAnimationFrame(oe);
5775
+ const R = performance.now(), Re = 1200, oe = () => {
5776
+ const Ne = performance.now() - R, Te = Math.min(1, Ne / Re);
5777
+ P(Te), Te < 1 && requestAnimationFrame(oe);
5756
5778
  }, le = requestAnimationFrame(oe);
5757
5779
  return () => cancelAnimationFrame(le);
5758
5780
  }, [b]);
5759
- const X = () => {
5760
- k(null), R(0);
5761
- }, M = o.find((C) => C.name === v), te = M?.status ?? "online", ie = M?.dbSync ?? !0, D = M?.metrics, H = M?.alerts, ne = 330, Se = 340, $e = b ? 1.15 : 1, Q = b ? -(b.ex - ne) * 0.06 : 0, N = b ? -(b.ey - Se) * 0.06 : 0;
5781
+ const j = () => {
5782
+ k(null), P(0);
5783
+ }, N = o.find((R) => R.name === v), te = N?.status ?? "online", ie = N?.dbSync ?? !0, z = N?.metrics, F = N?.alerts, ne = 330, $e = 340, ke = b ? 1.15 : 1, V = b ? -(b.ex - ne) * 0.06 : 0, M = b ? -(b.ey - $e) * 0.06 : 0;
5762
5784
  return /* @__PURE__ */ d("div", { className: "app", style: s ? { fontFamily: s } : void 0, children: [
5763
5785
  /* @__PURE__ */ e(
5764
5786
  "div",
@@ -5773,7 +5795,7 @@ function Si({
5773
5795
  backgroundPosition: "center center",
5774
5796
  backgroundRepeat: "no-repeat",
5775
5797
  transition: "transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1)",
5776
- transform: `translate(${Q}px, ${N}px) scale(${$e})`,
5798
+ transform: `translate(${V}px, ${M}px) scale(${ke})`,
5777
5799
  willChange: "transform"
5778
5800
  }
5779
5801
  }
@@ -5792,7 +5814,7 @@ function Si({
5792
5814
  style: {
5793
5815
  cursor: u === "expanded" ? "zoom-out" : "default"
5794
5816
  },
5795
- onClick: z,
5817
+ onClick: W,
5796
5818
  children: /* @__PURE__ */ e(
5797
5819
  Wt,
5798
5820
  {
@@ -5800,7 +5822,7 @@ function Si({
5800
5822
  animPhase: m,
5801
5823
  selectedSystem: v,
5802
5824
  selectedComponent: b,
5803
- drillAnimPhase: A,
5825
+ drillAnimPhase: D,
5804
5826
  rotateY: h,
5805
5827
  autoRotateComponents: c,
5806
5828
  componentScale: f,
@@ -5808,14 +5830,14 @@ function Si({
5808
5830
  autoRotateCarousel: p,
5809
5831
  carouselSpeed: a,
5810
5832
  logoUrl: r,
5811
- onSelectSystem: L,
5812
- onBackgroundClick: z,
5813
- onComponentClick: F,
5814
- onCloseDrill: X,
5833
+ onSelectSystem: E,
5834
+ onBackgroundClick: W,
5835
+ onComponentClick: X,
5836
+ onCloseDrill: j,
5815
5837
  selectedSystemStatus: te,
5816
5838
  selectedSystemDbSync: ie,
5817
- selectedSystemMetrics: D,
5818
- selectedSystemAlerts: H,
5839
+ selectedSystemMetrics: z,
5840
+ selectedSystemAlerts: F,
5819
5841
  children: l
5820
5842
  }
5821
5843
  )
@@ -5984,9 +6006,9 @@ const si = [
5984
6006
  ];
5985
6007
  function di({ config: t }) {
5986
6008
  const n = J.useContext(ae), o = n?.rotateY ?? 20, i = n?.autoRotateComponents ?? !0, { wdStatus: r, msStatus: a, srv1Status: s, srv2Status: l, srv3Status: h, pdbStatus: c, sdbStatus: p, dbSync: f } = t;
5987
- return /* @__PURE__ */ d(Ce, { children: [
6009
+ return /* @__PURE__ */ d(ve, { children: [
5988
6010
  /* @__PURE__ */ e(
5989
- T,
6011
+ A,
5990
6012
  {
5991
6013
  ex: 330,
5992
6014
  ey: 120,
@@ -5998,7 +6020,7 @@ function di({ config: t }) {
5998
6020
  }
5999
6021
  ),
6000
6022
  /* @__PURE__ */ e(
6001
- T,
6023
+ A,
6002
6024
  {
6003
6025
  ex: 220,
6004
6026
  ey: 260,
@@ -6031,7 +6053,7 @@ function di({ config: t }) {
6031
6053
  }
6032
6054
  ),
6033
6055
  /* @__PURE__ */ e(
6034
- T,
6056
+ A,
6035
6057
  {
6036
6058
  ex: 440,
6037
6059
  ey: 260,
@@ -6065,7 +6087,7 @@ function di({ config: t }) {
6065
6087
  }
6066
6088
  ),
6067
6089
  /* @__PURE__ */ e(
6068
- T,
6090
+ A,
6069
6091
  {
6070
6092
  ex: 165,
6071
6093
  ey: 390,
@@ -6098,7 +6120,7 @@ function di({ config: t }) {
6098
6120
  }
6099
6121
  ),
6100
6122
  /* @__PURE__ */ e(
6101
- T,
6123
+ A,
6102
6124
  {
6103
6125
  ex: 330,
6104
6126
  ey: 390,
@@ -6131,7 +6153,7 @@ function di({ config: t }) {
6131
6153
  }
6132
6154
  ),
6133
6155
  /* @__PURE__ */ e(
6134
- T,
6156
+ A,
6135
6157
  {
6136
6158
  ex: 495,
6137
6159
  ey: 390,
@@ -6164,7 +6186,7 @@ function di({ config: t }) {
6164
6186
  }
6165
6187
  ),
6166
6188
  /* @__PURE__ */ e(
6167
- T,
6189
+ A,
6168
6190
  {
6169
6191
  ex: 200,
6170
6192
  ey: 520,
@@ -6197,7 +6219,7 @@ function di({ config: t }) {
6197
6219
  }
6198
6220
  ),
6199
6221
  /* @__PURE__ */ e(
6200
- T,
6222
+ A,
6201
6223
  {
6202
6224
  ex: 460,
6203
6225
  ey: 520,
@@ -6230,7 +6252,7 @@ function di({ config: t }) {
6230
6252
  }
6231
6253
  ),
6232
6254
  /* @__PURE__ */ e(
6233
- T,
6255
+ A,
6234
6256
  {
6235
6257
  ex: 330,
6236
6258
  ey: 520,
@@ -6249,7 +6271,7 @@ function ci({ config: t }) {
6249
6271
  const n = J.useContext(ae), { wdStatus: o, msStatus: i, srv1Status: r, srv2Status: a, srv3Status: s, pdbStatus: l, sdbStatus: h, dbSync: c } = t, p = n?.isSelected && n?.isExpandedPos;
6250
6272
  return n?.isSelected ? /* @__PURE__ */ d("div", { style: { pointerEvents: "none" }, children: [
6251
6273
  /* @__PURE__ */ e(
6252
- W,
6274
+ I,
6253
6275
  {
6254
6276
  ex: 220,
6255
6277
  ey: 260,
@@ -6264,7 +6286,7 @@ function ci({ config: t }) {
6264
6286
  }
6265
6287
  ),
6266
6288
  /* @__PURE__ */ e(
6267
- W,
6289
+ I,
6268
6290
  {
6269
6291
  ex: 440,
6270
6292
  ey: 260,
@@ -6279,7 +6301,7 @@ function ci({ config: t }) {
6279
6301
  }
6280
6302
  ),
6281
6303
  /* @__PURE__ */ e(
6282
- W,
6304
+ I,
6283
6305
  {
6284
6306
  ex: 165,
6285
6307
  ey: 390,
@@ -6294,7 +6316,7 @@ function ci({ config: t }) {
6294
6316
  }
6295
6317
  ),
6296
6318
  /* @__PURE__ */ e(
6297
- W,
6319
+ I,
6298
6320
  {
6299
6321
  ex: 330,
6300
6322
  ey: 390,
@@ -6309,7 +6331,7 @@ function ci({ config: t }) {
6309
6331
  }
6310
6332
  ),
6311
6333
  /* @__PURE__ */ e(
6312
- W,
6334
+ I,
6313
6335
  {
6314
6336
  ex: 495,
6315
6337
  ey: 390,
@@ -6324,7 +6346,7 @@ function ci({ config: t }) {
6324
6346
  }
6325
6347
  ),
6326
6348
  /* @__PURE__ */ e(
6327
- W,
6349
+ I,
6328
6350
  {
6329
6351
  ex: 200,
6330
6352
  ey: 520,
@@ -6339,7 +6361,7 @@ function ci({ config: t }) {
6339
6361
  }
6340
6362
  ),
6341
6363
  /* @__PURE__ */ e(
6342
- W,
6364
+ I,
6343
6365
  {
6344
6366
  ex: 460,
6345
6367
  ey: 520,
@@ -6354,7 +6376,7 @@ function ci({ config: t }) {
6354
6376
  }
6355
6377
  ),
6356
6378
  !c && /* @__PURE__ */ e(
6357
- W,
6379
+ I,
6358
6380
  {
6359
6381
  ex: 330,
6360
6382
  ey: 520,
@@ -6435,9 +6457,9 @@ const pi = [
6435
6457
  ];
6436
6458
  function fi({ config: t }) {
6437
6459
  const n = J.useContext(ae), o = n?.rotateY ?? 20, i = n?.autoRotateComponents ?? !0, { dispStatus: r, srv1Status: a, srv2Status: s, srv3Status: l, pdbStatus: h, sdbStatus: c, dbSync: p } = t;
6438
- return /* @__PURE__ */ d(Ce, { children: [
6460
+ return /* @__PURE__ */ d(ve, { children: [
6439
6461
  /* @__PURE__ */ e(
6440
- T,
6462
+ A,
6441
6463
  {
6442
6464
  ex: 330,
6443
6465
  ey: 120,
@@ -6449,7 +6471,7 @@ function fi({ config: t }) {
6449
6471
  }
6450
6472
  ),
6451
6473
  /* @__PURE__ */ e(
6452
- T,
6474
+ A,
6453
6475
  {
6454
6476
  ex: 330,
6455
6477
  ey: 260,
@@ -6482,7 +6504,7 @@ function fi({ config: t }) {
6482
6504
  }
6483
6505
  ),
6484
6506
  /* @__PURE__ */ e(
6485
- T,
6507
+ A,
6486
6508
  {
6487
6509
  ex: 165,
6488
6510
  ey: 390,
@@ -6515,7 +6537,7 @@ function fi({ config: t }) {
6515
6537
  }
6516
6538
  ),
6517
6539
  /* @__PURE__ */ e(
6518
- T,
6540
+ A,
6519
6541
  {
6520
6542
  ex: 330,
6521
6543
  ey: 390,
@@ -6548,7 +6570,7 @@ function fi({ config: t }) {
6548
6570
  }
6549
6571
  ),
6550
6572
  /* @__PURE__ */ e(
6551
- T,
6573
+ A,
6552
6574
  {
6553
6575
  ex: 495,
6554
6576
  ey: 390,
@@ -6581,7 +6603,7 @@ function fi({ config: t }) {
6581
6603
  }
6582
6604
  ),
6583
6605
  /* @__PURE__ */ e(
6584
- T,
6606
+ A,
6585
6607
  {
6586
6608
  ex: 200,
6587
6609
  ey: 520,
@@ -6614,7 +6636,7 @@ function fi({ config: t }) {
6614
6636
  }
6615
6637
  ),
6616
6638
  /* @__PURE__ */ e(
6617
- T,
6639
+ A,
6618
6640
  {
6619
6641
  ex: 460,
6620
6642
  ey: 520,
@@ -6647,7 +6669,7 @@ function fi({ config: t }) {
6647
6669
  }
6648
6670
  ),
6649
6671
  /* @__PURE__ */ e(
6650
- T,
6672
+ A,
6651
6673
  {
6652
6674
  ex: 330,
6653
6675
  ey: 520,
@@ -6666,7 +6688,7 @@ function hi({ config: t }) {
6666
6688
  const n = J.useContext(ae), { dispStatus: o, srv1Status: i, srv2Status: r, srv3Status: a, pdbStatus: s, sdbStatus: l, dbSync: h } = t, c = n?.isSelected && n?.isExpandedPos;
6667
6689
  return n?.isSelected ? /* @__PURE__ */ d("div", { style: { pointerEvents: "none" }, children: [
6668
6690
  /* @__PURE__ */ e(
6669
- W,
6691
+ I,
6670
6692
  {
6671
6693
  ex: 330,
6672
6694
  ey: 260,
@@ -6681,7 +6703,7 @@ function hi({ config: t }) {
6681
6703
  }
6682
6704
  ),
6683
6705
  /* @__PURE__ */ e(
6684
- W,
6706
+ I,
6685
6707
  {
6686
6708
  ex: 165,
6687
6709
  ey: 390,
@@ -6696,7 +6718,7 @@ function hi({ config: t }) {
6696
6718
  }
6697
6719
  ),
6698
6720
  /* @__PURE__ */ e(
6699
- W,
6721
+ I,
6700
6722
  {
6701
6723
  ex: 330,
6702
6724
  ey: 390,
@@ -6711,7 +6733,7 @@ function hi({ config: t }) {
6711
6733
  }
6712
6734
  ),
6713
6735
  /* @__PURE__ */ e(
6714
- W,
6736
+ I,
6715
6737
  {
6716
6738
  ex: 495,
6717
6739
  ey: 390,
@@ -6726,7 +6748,7 @@ function hi({ config: t }) {
6726
6748
  }
6727
6749
  ),
6728
6750
  /* @__PURE__ */ e(
6729
- W,
6751
+ I,
6730
6752
  {
6731
6753
  ex: 200,
6732
6754
  ey: 520,
@@ -6741,7 +6763,7 @@ function hi({ config: t }) {
6741
6763
  }
6742
6764
  ),
6743
6765
  /* @__PURE__ */ e(
6744
- W,
6766
+ I,
6745
6767
  {
6746
6768
  ex: 460,
6747
6769
  ey: 520,
@@ -6756,7 +6778,7 @@ function hi({ config: t }) {
6756
6778
  }
6757
6779
  ),
6758
6780
  !h && /* @__PURE__ */ e(
6759
- W,
6781
+ I,
6760
6782
  {
6761
6783
  ex: 330,
6762
6784
  ey: 520,
@@ -6799,14 +6821,14 @@ export {
6799
6821
  mi as HOLO_BLUE,
6800
6822
  yi as HOLO_CYAN,
6801
6823
  Qe as HOLO_GLASS,
6802
- we as HOLO_SURFACE,
6824
+ Se as HOLO_SURFACE,
6803
6825
  ei as HistoricalGraphPanel,
6804
6826
  Nt as HoloBase,
6805
6827
  ft as Human3D,
6806
6828
  We as Memory3D,
6807
6829
  Zt as MessageServer3D,
6808
6830
  ut as NetworkBlock3D,
6809
- W as NodeCallout,
6831
+ I as NodeCallout,
6810
6832
  Ie as Platter3D,
6811
6833
  B as Port3D,
6812
6834
  Ri as SAPService,
@@ -6816,7 +6838,7 @@ export {
6816
6838
  dt as Service,
6817
6839
  ae as ServiceContext,
6818
6840
  At as ServiceDialog,
6819
- T as ServiceNode,
6841
+ A as ServiceNode,
6820
6842
  zt as SvgConnection,
6821
6843
  ct as SyncBridge,
6822
6844
  O as ThreadPool3D,