react-aiops 0.1.5 → 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,11 +1,11 @@
1
- import { jsxs as d, jsx as e, Fragment as Ce } from "react/jsx-runtime";
2
- import ee, { createContext as Ge, useContext as ve, useState as I, useEffect as Ae, useMemo as Xe, useRef as te } from "react";
3
- const It = {
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
+ 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: "⚠️" },
6
6
  critical: { color: "#ff2255", bg: "rgba(255, 34, 85, 0.1)", border: "#ff2255", icon: "🛑" }
7
7
  };
8
- function Ot({
8
+ function At({
9
9
  name: t,
10
10
  status: n,
11
11
  dbSync: o = !0,
@@ -13,7 +13,7 @@ function Ot({
13
13
  metrics: r,
14
14
  alerts: a
15
15
  }) {
16
- const s = n === "critical" || n === "offline", l = n === "warning", f = r ?? [
16
+ const s = n === "critical" || n === "offline", l = n === "warning", h = r ?? [
17
17
  {
18
18
  label: "Uptime",
19
19
  value: s ? "92.14%" : "99.98%",
@@ -115,10 +115,10 @@ function Ot({
115
115
  fontSize: 13,
116
116
  color: "#a0b0c0"
117
117
  },
118
- children: f.map((p, h) => /* @__PURE__ */ d("div", { style: { display: "flex", justifyContent: "space-between" }, children: [
118
+ children: h.map((p, f) => /* @__PURE__ */ d("div", { style: { display: "flex", justifyContent: "space-between" }, children: [
119
119
  /* @__PURE__ */ e("span", { children: p.label }),
120
120
  /* @__PURE__ */ e("span", { style: { color: p.color }, children: p.value })
121
- ] }, h))
121
+ ] }, f))
122
122
  }
123
123
  ),
124
124
  /* @__PURE__ */ d(
@@ -145,8 +145,8 @@ function Ot({
145
145
  children: "SYSTEM ALERTS"
146
146
  }
147
147
  ),
148
- c.map((p, h) => {
149
- const y = It[p.level];
148
+ c.map((p, f) => {
149
+ const y = Tt[p.level];
150
150
  return /* @__PURE__ */ d(
151
151
  "div",
152
152
  {
@@ -167,7 +167,7 @@ function Ot({
167
167
  /* @__PURE__ */ e("span", { children: p.message })
168
168
  ]
169
169
  },
170
- h
170
+ f
171
171
  );
172
172
  })
173
173
  ]
@@ -182,8 +182,8 @@ 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
- }, ki = "#00e5ff", Ri = "#0055cc", we = "linear-gradient(180deg, #071428 0%, #040c1c 60%, #030810 100%)", Ke = "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
- function Ze(t, n, o) {
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
+ function qe(t, n, o) {
187
187
  const i = {
188
188
  position: "absolute",
189
189
  overflow: "hidden",
@@ -233,24 +233,24 @@ function Ze(t, n, o) {
233
233
  }
234
234
  };
235
235
  }
236
- const je = "cubic-bezier(0.34, 1.56, 0.64, 1)", Qe = "cubic-bezier(0.16, 1, 0.3, 1)";
237
- function ht(t) {
236
+ const Ve = "cubic-bezier(0.34, 1.56, 0.64, 1)", _e = "cubic-bezier(0.16, 1, 0.3, 1)";
237
+ function st(t) {
238
238
  return w[t]?.color ?? w.online.color;
239
239
  }
240
- function Dt(t, n, o) {
240
+ function Lt(t, n, o) {
241
241
  return t >= o ? "#ff2255" : t >= n ? "#ff8c00" : "#00e5ff";
242
242
  }
243
- function Ie(t, n, o, i) {
243
+ function Le(t, n, o, i) {
244
244
  return t === "offline" ? "offline" : t === "critical" && n >= i ? "critical" : (t === "critical" || t === "warning") && n >= o ? "warning" : "online";
245
245
  }
246
- function Wt({
246
+ function It({
247
247
  component: t,
248
248
  onClose: n,
249
249
  visible: o,
250
250
  sceneWidth: i = 660,
251
251
  sceneHeight: r = 600
252
252
  }) {
253
- const { type: a, name: s, status: l, ex: f, ey: c, context: p = {} } = t, h = ht(l), y = f >= i / 2, u = c >= r / 2, g = {
253
+ const { type: a, name: s, status: l, ex: h, ey: c, context: p = {} } = t, f = st(l), y = h >= i / 2, u = c >= r / 2, g = {
254
254
  position: "fixed",
255
255
  ...y ? { right: 28 } : { left: 28 },
256
256
  ...u ? { bottom: 110 } : { top: 72 }
@@ -258,23 +258,23 @@ function Wt({
258
258
  let $;
259
259
  if (v && v.length > 0)
260
260
  $ = v.map((b, k) => {
261
- const T = 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: Ie(l, b.value, T, 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: T,
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, T = p.capacity ?? 72, R = Ie(l, b, 70, 85), L = Ie(l, k, 75, 88), z = Ie(l, T, 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 Wt({
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 Wt({
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 Wt({
300
300
  id: "storage",
301
301
  label: "STORAGE",
302
302
  sublabel: a === "database" ? "TABLESPACE" : "DISK I/O",
303
- value: T,
303
+ value: D,
304
304
  unit: "%",
305
- status: z,
305
+ status: W,
306
306
  icon: "disk",
307
307
  delay: 2
308
308
  }
@@ -317,17 +317,17 @@ function Wt({
317
317
  background: "linear-gradient(170deg, rgba(2, 10, 22, 0.96) 0%, rgba(2, 6, 14, 0.98) 100%)",
318
318
  backdropFilter: "blur(20px)",
319
319
  WebkitBackdropFilter: "blur(20px)",
320
- border: `1.5px solid ${h}44`,
320
+ border: `1.5px solid ${f}44`,
321
321
  borderRadius: 14,
322
322
  fontFamily: "'Courier New', monospace",
323
323
  overflow: "hidden",
324
324
  opacity: o ? 1 : 0,
325
325
  transform: o ? "scale(1) translate(0, 0)" : `scale(0.7) translate(${m}px, ${x}px)`,
326
- transition: `opacity 0.45s ${Qe}, transform 0.55s ${je}`,
326
+ transition: `opacity 0.45s ${_e}, transform 0.55s ${Ve}`,
327
327
  pointerEvents: o ? "auto" : "none",
328
328
  zIndex: 9999,
329
329
  animation: o ? "comp-dialog-border-glow 3s ease-in-out infinite" : "none",
330
- "--dialog-color": h
330
+ "--dialog-color": f
331
331
  },
332
332
  onClick: (b) => b.stopPropagation(),
333
333
  children: [
@@ -340,8 +340,8 @@ function Wt({
340
340
  left: 0,
341
341
  right: 0,
342
342
  height: 2,
343
- background: `linear-gradient(90deg, transparent 2%, ${h}aa 30%, #fff 50%, ${h}aa 70%, transparent 98%)`,
344
- boxShadow: `0 0 12px ${h}, 0 0 24px ${h}44`,
343
+ background: `linear-gradient(90deg, transparent 2%, ${f}aa 30%, #fff 50%, ${f}aa 70%, transparent 98%)`,
344
+ boxShadow: `0 0 12px ${f}, 0 0 24px ${f}44`,
345
345
  animation: o ? "holo-scan 3.5s linear infinite" : "none",
346
346
  pointerEvents: "none",
347
347
  zIndex: 10
@@ -355,8 +355,8 @@ function Wt({
355
355
  position: "absolute",
356
356
  inset: 0,
357
357
  backgroundImage: `
358
- linear-gradient(${h}06 1px, transparent 1px),
359
- linear-gradient(90deg, ${h}06 1px, transparent 1px)
358
+ linear-gradient(${f}06 1px, transparent 1px),
359
+ linear-gradient(90deg, ${f}06 1px, transparent 1px)
360
360
  `,
361
361
  backgroundSize: "20px 20px",
362
362
  pointerEvents: "none",
@@ -368,29 +368,29 @@ function Wt({
368
368
  {
369
369
  top: 0,
370
370
  left: 0,
371
- borderTop: `2px solid ${h}66`,
372
- borderLeft: `2px solid ${h}66`,
371
+ borderTop: `2px solid ${f}66`,
372
+ borderLeft: `2px solid ${f}66`,
373
373
  borderRadius: "14px 0 0 0"
374
374
  },
375
375
  {
376
376
  top: 0,
377
377
  right: 0,
378
- borderTop: `2px solid ${h}66`,
379
- borderRight: `2px solid ${h}66`,
378
+ borderTop: `2px solid ${f}66`,
379
+ borderRight: `2px solid ${f}66`,
380
380
  borderRadius: "0 14px 0 0"
381
381
  },
382
382
  {
383
383
  bottom: 0,
384
384
  left: 0,
385
- borderBottom: `2px solid ${h}66`,
386
- borderLeft: `2px solid ${h}66`,
385
+ borderBottom: `2px solid ${f}66`,
386
+ borderLeft: `2px solid ${f}66`,
387
387
  borderRadius: "0 0 0 14px"
388
388
  },
389
389
  {
390
390
  bottom: 0,
391
391
  right: 0,
392
- borderBottom: `2px solid ${h}66`,
393
- borderRight: `2px solid ${h}66`,
392
+ borderBottom: `2px solid ${f}66`,
393
+ borderRight: `2px solid ${f}66`,
394
394
  borderRadius: "0 0 14px 0"
395
395
  }
396
396
  ].map((b, k) => /* @__PURE__ */ e(
@@ -408,8 +408,8 @@ function Wt({
408
408
  alignItems: "center",
409
409
  justifyContent: "space-between",
410
410
  padding: "18px 22px",
411
- borderBottom: `1px solid ${h}22`,
412
- background: `linear-gradient(180deg, ${h}12 0%, transparent 100%)`,
411
+ borderBottom: `1px solid ${f}22`,
412
+ background: `linear-gradient(180deg, ${f}12 0%, transparent 100%)`,
413
413
  position: "relative",
414
414
  zIndex: 2
415
415
  },
@@ -423,8 +423,8 @@ function Wt({
423
423
  width: 10,
424
424
  height: 10,
425
425
  borderRadius: "50%",
426
- background: h,
427
- boxShadow: `0 0 12px ${h}, 0 0 24px ${h}66`,
426
+ background: f,
427
+ boxShadow: `0 0 12px ${f}, 0 0 24px ${f}66`,
428
428
  animation: l === "warning" || l === "critical" ? "holo-led-blink 1.5s infinite" : "none"
429
429
  }
430
430
  }
@@ -436,7 +436,7 @@ function Wt({
436
436
  position: "absolute",
437
437
  inset: -4,
438
438
  borderRadius: "50%",
439
- border: `1px solid ${h}44`,
439
+ border: `1px solid ${f}44`,
440
440
  animation: l === "warning" || l === "critical" ? "holo-ring-pulse 2s ease-in-out infinite" : "none"
441
441
  }
442
442
  }
@@ -449,13 +449,13 @@ function Wt({
449
449
  style: {
450
450
  fontSize: 16,
451
451
  fontWeight: 700,
452
- color: h,
452
+ color: f,
453
453
  letterSpacing: "0.12em",
454
454
  textTransform: "uppercase",
455
455
  whiteSpace: "nowrap",
456
456
  overflow: "hidden",
457
457
  textOverflow: "ellipsis",
458
- textShadow: `0 0 10px ${h}88, 0 0 20px ${h}44`
458
+ textShadow: `0 0 10px ${f}88, 0 0 20px ${f}44`
459
459
  },
460
460
  children: s
461
461
  }
@@ -465,7 +465,7 @@ function Wt({
465
465
  {
466
466
  style: {
467
467
  fontSize: 9,
468
- color: `${h}88`,
468
+ color: `${f}88`,
469
469
  letterSpacing: "0.2em",
470
470
  textTransform: "uppercase"
471
471
  },
@@ -484,9 +484,9 @@ function Wt({
484
484
  width: 34,
485
485
  height: 34,
486
486
  borderRadius: 8,
487
- border: `1px solid ${h}44`,
488
- background: `linear-gradient(135deg, rgba(0,0,0,0.5) 0%, ${h}08 100%)`,
489
- color: h,
487
+ border: `1px solid ${f}44`,
488
+ background: `linear-gradient(135deg, rgba(0,0,0,0.5) 0%, ${f}08 100%)`,
489
+ color: f,
490
490
  fontSize: 18,
491
491
  cursor: "pointer",
492
492
  display: "flex",
@@ -497,10 +497,10 @@ function Wt({
497
497
  flexShrink: 0
498
498
  },
499
499
  onMouseEnter: (b) => {
500
- b.currentTarget.style.background = `${h}22`, b.currentTarget.style.boxShadow = `0 0 12px ${h}44`;
500
+ b.currentTarget.style.background = `${f}22`, b.currentTarget.style.boxShadow = `0 0 12px ${f}44`;
501
501
  },
502
502
  onMouseLeave: (b) => {
503
- b.currentTarget.style.background = `linear-gradient(135deg, rgba(0,0,0,0.5) 0%, ${h}08 100%)`, b.currentTarget.style.boxShadow = "none";
503
+ b.currentTarget.style.background = `linear-gradient(135deg, rgba(0,0,0,0.5) 0%, ${f}08 100%)`, b.currentTarget.style.boxShadow = "none";
504
504
  },
505
505
  children: "×"
506
506
  }
@@ -519,7 +519,7 @@ function Wt({
519
519
  position: "relative",
520
520
  zIndex: 2
521
521
  },
522
- children: $.map((b) => /* @__PURE__ */ e(zt, { metric: b, visible: o, accentColor: h }, b.id))
522
+ children: $.map((b) => /* @__PURE__ */ e(Ot, { metric: b, visible: o, accentColor: f }, b.id))
523
523
  }
524
524
  ),
525
525
  /* @__PURE__ */ d(
@@ -527,14 +527,14 @@ function Wt({
527
527
  {
528
528
  style: {
529
529
  padding: "12px 22px",
530
- borderTop: `1px solid ${h}18`,
531
- background: `${h}06`,
530
+ borderTop: `1px solid ${f}18`,
531
+ background: `${f}06`,
532
532
  display: "flex",
533
533
  alignItems: "center",
534
534
  justifyContent: "space-between",
535
535
  fontSize: 9,
536
536
  letterSpacing: "0.18em",
537
- color: `${h}66`,
537
+ color: `${f}66`,
538
538
  textTransform: "uppercase",
539
539
  position: "relative",
540
540
  zIndex: 2
@@ -553,8 +553,8 @@ function Wt({
553
553
  width: 5,
554
554
  height: 5,
555
555
  borderRadius: "50%",
556
- background: l === "online" ? "#00ff88" : h,
557
- boxShadow: `0 0 6px ${l === "online" ? "#00ff88" : h}`,
556
+ background: l === "online" ? "#00ff88" : f,
557
+ boxShadow: `0 0 6px ${l === "online" ? "#00ff88" : f}`,
558
558
  animation: l === "warning" || l === "critical" ? "holo-led-blink 1.5s infinite" : "none"
559
559
  }
560
560
  }
@@ -568,7 +568,7 @@ function Wt({
568
568
  }
569
569
  );
570
570
  }
571
- function zt({
571
+ function Ot({
572
572
  metric: t,
573
573
  visible: n,
574
574
  accentColor: o
@@ -579,12 +579,12 @@ function zt({
579
579
  value: a,
580
580
  unit: s,
581
581
  status: l,
582
- icon: f,
582
+ icon: h,
583
583
  delay: c,
584
584
  colorOverride: p,
585
- warnAt: h = 70,
585
+ warnAt: f = 70,
586
586
  critAt: y = 85
587
- } = t, u = p ?? Dt(a, h, y), g = p ?? ht(l);
587
+ } = t, u = p ?? Lt(a, f, y), g = p ?? st(l);
588
588
  return /* @__PURE__ */ d(
589
589
  "div",
590
590
  {
@@ -594,7 +594,7 @@ function zt({
594
594
  gap: 16,
595
595
  opacity: n ? 1 : 0,
596
596
  transform: n ? "translateY(0)" : "translateY(12px)",
597
- transition: `opacity 0.4s ${Qe} ${0.3 + c * 0.12}s, transform 0.5s ${je} ${0.3 + c * 0.12}s`
597
+ transition: `opacity 0.4s ${_e} ${0.3 + c * 0.12}s, transform 0.5s ${Ve} ${0.3 + c * 0.12}s`
598
598
  },
599
599
  children: [
600
600
  /* @__PURE__ */ d(
@@ -612,10 +612,10 @@ function zt({
612
612
  flexShrink: 0,
613
613
  position: "relative",
614
614
  overflow: "hidden",
615
- animation: n ? `comp-dialog-icon-pop 0.5s ${je} ${0.35 + c * 0.12}s both` : "none"
615
+ animation: n ? `comp-dialog-icon-pop 0.5s ${Ve} ${0.35 + c * 0.12}s both` : "none"
616
616
  },
617
617
  children: [
618
- /* @__PURE__ */ e(Mt, { type: f, color: g }),
618
+ /* @__PURE__ */ e(Dt, { type: h, color: g }),
619
619
  (l === "warning" || l === "critical") && /* @__PURE__ */ e(
620
620
  "div",
621
621
  {
@@ -714,7 +714,7 @@ function zt({
714
714
  background: `linear-gradient(90deg, ${u}66, ${u})`,
715
715
  boxShadow: `0 0 8px ${u}44`,
716
716
  transformOrigin: "left center",
717
- animation: n ? `comp-dialog-metric-fill 0.8s ${Qe} ${0.4 + c * 0.12}s both` : "none"
717
+ animation: n ? `comp-dialog-metric-fill 0.8s ${_e} ${0.4 + c * 0.12}s both` : "none"
718
718
  }
719
719
  }
720
720
  ),
@@ -723,7 +723,7 @@ function zt({
723
723
  {
724
724
  style: {
725
725
  position: "absolute",
726
- left: `${h}%`,
726
+ left: `${f}%`,
727
727
  top: 0,
728
728
  bottom: 0,
729
729
  width: 1,
@@ -766,7 +766,7 @@ function zt({
766
766
  {
767
767
  style: {
768
768
  position: "absolute",
769
- left: `${h}%`,
769
+ left: `${f}%`,
770
770
  transform: "translateX(-50%)",
771
771
  fontSize: 6,
772
772
  color: "rgba(255,140,0,0.3)",
@@ -808,7 +808,7 @@ function zt({
808
808
  }
809
809
  );
810
810
  }
811
- function Mt({ type: t, color: n }) {
811
+ function Dt({ type: t, color: n }) {
812
812
  return t === "cpu" ? /* @__PURE__ */ d("svg", { width: 28, height: 28, viewBox: "0 0 24 24", fill: "none", children: [
813
813
  /* @__PURE__ */ e("rect", { x: "6", y: "6", width: "12", height: "12", rx: "2", stroke: n, strokeWidth: "1.5" }),
814
814
  /* @__PURE__ */ e(
@@ -893,14 +893,14 @@ function Mt({ 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 Je = Ge(null), et = Ge({ index: 0 });
897
- function Pi() {
898
- return ve(Je);
896
+ const Ge = je(null), Ke = je({ index: 0 });
897
+ function xi() {
898
+ return we(Ge);
899
899
  }
900
- function Ci() {
901
- return ve(et);
900
+ function vi() {
901
+ return we(Ke);
902
902
  }
903
- function Nt({
903
+ function Wt({
904
904
  children: t,
905
905
  logoUrl: n,
906
906
  viewState: o,
@@ -909,10 +909,10 @@ function Nt({
909
909
  selectedComponent: a,
910
910
  drillAnimPhase: s,
911
911
  rotateY: l = 20,
912
- autoRotateComponents: f = !0,
912
+ autoRotateComponents: h = !0,
913
913
  componentScale: c = 0.35,
914
914
  drillZoom: p = 3.3,
915
- autoRotateCarousel: h = !0,
915
+ autoRotateCarousel: f = !0,
916
916
  carouselSpeed: y = 6e-3,
917
917
  width: u = 950,
918
918
  height: g = 790,
@@ -922,29 +922,29 @@ function Nt({
922
922
  onCloseDrill: $,
923
923
  selectedSystemStatus: b = "online",
924
924
  selectedSystemDbSync: k = !0,
925
- selectedSystemMetrics: T,
926
- selectedSystemAlerts: R
925
+ selectedSystemMetrics: D,
926
+ selectedSystemAlerts: P
927
927
  }) {
928
- const [L, z] = I(0);
929
- Ae(() => {
930
- let W;
931
- if ((o === "compact" || o === "collapsing") && h) {
932
- const H = () => {
933
- z((oe) => oe + y), W = requestAnimationFrame(H);
928
+ const [E, W] = L(0);
929
+ Ee(() => {
930
+ let z;
931
+ if ((o === "compact" || o === "collapsing") && f) {
932
+ const F = () => {
933
+ W((ne) => ne + y), z = requestAnimationFrame(F);
934
934
  };
935
- W = requestAnimationFrame(H);
935
+ z = requestAnimationFrame(F);
936
936
  }
937
- return () => cancelAnimationFrame(W);
938
- }, [o, h, y]);
939
- const F = ee.Children.toArray(t), j = F.length, M = Xe(() => ({
937
+ return () => cancelAnimationFrame(z);
938
+ }, [o, f, y]);
939
+ const X = J.Children.toArray(t), j = X.length, N = Et(() => ({
940
940
  totalSystems: j,
941
- carouselRotation: L,
941
+ carouselRotation: E,
942
942
  viewState: o,
943
943
  animPhase: i,
944
944
  selectedSystem: r,
945
945
  selectedComponent: a,
946
946
  rotateY: l,
947
- autoRotateComponents: f,
947
+ autoRotateComponents: h,
948
948
  componentScale: c,
949
949
  drillZoom: p,
950
950
  onSelectSystem: m,
@@ -952,20 +952,20 @@ function Nt({
952
952
  containerWidth: u
953
953
  }), [
954
954
  j,
955
- L,
955
+ E,
956
956
  o,
957
957
  i,
958
958
  r,
959
959
  a,
960
960
  l,
961
- f,
961
+ h,
962
962
  c,
963
963
  p,
964
964
  m,
965
965
  v,
966
966
  u
967
- ]), ie = F.map((W, H) => /* @__PURE__ */ e(et.Provider, { value: { index: H }, children: W }, H)), ne = o === "expanded" || o === "expanding" && i >= 4;
968
- return /* @__PURE__ */ d(Je.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",
@@ -987,21 +987,21 @@ function Nt({
987
987
  }
988
988
  }
989
989
  ),
990
- ie
990
+ te
991
991
  ] }),
992
- r && /* @__PURE__ */ e("div", { onClick: (W) => W.stopPropagation(), children: /* @__PURE__ */ e(
993
- Ot,
992
+ r && /* @__PURE__ */ e("div", { onClick: (z) => z.stopPropagation(), children: /* @__PURE__ */ e(
993
+ At,
994
994
  {
995
995
  name: r,
996
996
  status: b,
997
997
  dbSync: k,
998
- visible: ne && !a,
999
- metrics: T,
1000
- alerts: R
998
+ visible: ie && !a,
999
+ metrics: D,
1000
+ alerts: P
1001
1001
  }
1002
1002
  ) }),
1003
- a && /* @__PURE__ */ e("div", { onClick: (W) => W.stopPropagation(), children: /* @__PURE__ */ e(
1004
- Wt,
1003
+ a && /* @__PURE__ */ e("div", { onClick: (z) => z.stopPropagation(), children: /* @__PURE__ */ e(
1004
+ It,
1005
1005
  {
1006
1006
  component: a,
1007
1007
  onClose: $,
@@ -1012,7 +1012,7 @@ function Nt({
1012
1012
  ) })
1013
1013
  ] });
1014
1014
  }
1015
- function Bt({
1015
+ function zt({
1016
1016
  x1: t,
1017
1017
  y1: n,
1018
1018
  x2: o,
@@ -1059,7 +1059,7 @@ function Bt({
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
  {
@@ -1079,14 +1079,14 @@ function Bt({
1079
1079
  ] })
1080
1080
  ] });
1081
1081
  }
1082
- const Ft = [
1082
+ const Mt = [
1083
1083
  { scale: 1, op: 1, delay: "0.0s", bw: "2px", glow: 1 },
1084
1084
  { scale: 0.82, op: 0.88, delay: "0.5s", bw: "1.5px", glow: 0.7 },
1085
1085
  { scale: 0.64, op: 0.72, delay: "1.0s", bw: "1px", glow: 0.5 },
1086
1086
  { scale: 0.47, op: 0.58, delay: "1.5s", bw: "1px", glow: 0.35 },
1087
1087
  { scale: 0.3, op: 0.45, delay: "2.0s", bw: "1px", glow: 0.25 }
1088
1088
  ];
1089
- function Ht({
1089
+ function Nt({
1090
1090
  children: t,
1091
1091
  size: n = 230,
1092
1092
  widthRatio: o = 1,
@@ -1252,7 +1252,7 @@ function Ht({
1252
1252
  background: `radial-gradient(ellipse, ${i}88 0%, ${i}33 40%, transparent 72%)`,
1253
1253
  filter: "blur(12px)"
1254
1254
  } }),
1255
- Ft.map((s, l) => /* @__PURE__ */ e("div", { style: {
1255
+ Mt.map((s, l) => /* @__PURE__ */ e("div", { style: {
1256
1256
  position: "absolute",
1257
1257
  width: a * s.scale,
1258
1258
  height: n * s.scale,
@@ -1295,8 +1295,8 @@ function Ht({
1295
1295
  }, children: r })
1296
1296
  ] });
1297
1297
  }
1298
- const le = Ge(null), Ut = "cubic-bezier(0.34, 1.56, 0.64, 1)", lt = 330, st = 340, Yt = 660;
1299
- function tt({
1298
+ const ae = je(null), Bt = "cubic-bezier(0.34, 1.56, 0.64, 1)", it = 330, nt = 340, Ft = 660;
1299
+ function dt({
1300
1300
  name: t,
1301
1301
  status: n = "online",
1302
1302
  connections: o = [],
@@ -1305,10 +1305,10 @@ function tt({
1305
1305
  _index: a,
1306
1306
  _totalSystems: s,
1307
1307
  _carouselRotation: l,
1308
- _viewState: f,
1308
+ _viewState: h,
1309
1309
  _animPhase: c,
1310
1310
  _selectedSystem: p,
1311
- _selectedComponent: h,
1311
+ _selectedComponent: f,
1312
1312
  _rotateY: y,
1313
1313
  _autoRotateComponents: u,
1314
1314
  _componentScale: g,
@@ -1317,24 +1317,24 @@ function tt({
1317
1317
  _onComponentClick: v,
1318
1318
  _containerWidth: $
1319
1319
  }) {
1320
- const b = ve(Je), k = ve(et), T = a ?? k.index, R = s ?? b?.totalSystems ?? 1, L = l ?? b?.carouselRotation ?? 0, z = f ?? b?.viewState ?? "compact", F = c ?? b?.animPhase ?? 0, j = p ?? b?.selectedSystem ?? null, M = h ?? b?.selectedComponent ?? null, ie = y ?? b?.rotateY ?? 20, ne = u ?? b?.autoRotateComponents ?? !0, W = g ?? b?.componentScale ?? 0.35, H = m ?? b?.drillZoom ?? 3.3, oe = x ?? b?.onSelectSystem, Se = v ?? b?.onComponentClick, $e = $ ?? b?.containerWidth ?? 950, Q = j === t, N = Q && (z === "expanded" || z === "expanding" && F >= 1), E = !N, ke = ($e - Yt) / 2, re = lt + ke, se = T / R * Math.PI * 2 + L, Be = 420, Te = 160, Re = re + Math.cos(se) * Be, de = 450 + Math.sin(se) * Te, St = Math.round(de), Fe = !Q && (z === "expanding" || z === "expanded"), $t = Fe ? 0 : 1, Pe = E ? 0.3 + (Math.sin(se) + 1) * 0.1 : 1, kt = E ? Pe : W, Le = z === "compact" || z === "collapsing" ? "none" : "all 1s cubic-bezier(0.34, 1.56, 0.64, 1)", at = Q && M, He = at ? H : 1, Rt = M?.ex ?? 330, Pt = M?.ey ?? 300, { size: Ct = 90, color: Et = "#00e5ff", widthRatio: At = 3 } = i ?? {}, Tt = {
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: E,
1325
- animPhase: F,
1326
- compactCx: Re,
1327
- compactCy: de,
1328
- groupScale: Pe,
1329
- effectiveScale: kt,
1330
- transitionValue: Le,
1331
- rotateY: ie,
1332
- autoRotateComponents: ne,
1333
- onComponentClick: Se,
1334
- selectedComponentName: M?.name ?? null,
1335
- expandedOffsetX: ke
1322
+ isSelected: V,
1323
+ isExpandedPos: M,
1324
+ isCompact: R,
1325
+ animPhase: X,
1326
+ compactCx: Pe,
1327
+ compactCy: se,
1328
+ groupScale: Ce,
1329
+ effectiveScale: vt,
1330
+ transitionValue: Ae,
1331
+ rotateY: te,
1332
+ autoRotateComponents: ie,
1333
+ onComponentClick: $e,
1334
+ selectedComponentName: N?.name ?? null,
1335
+ expandedOffsetX: Re
1336
1336
  };
1337
- return /* @__PURE__ */ e(le.Provider, { value: Tt, children: /* @__PURE__ */ d(
1337
+ return /* @__PURE__ */ e(ae.Provider, { value: Pt, children: /* @__PURE__ */ d(
1338
1338
  "div",
1339
1339
  {
1340
1340
  style: {
@@ -1344,21 +1344,21 @@ function tt({
1344
1344
  width: "100%",
1345
1345
  height: "100%",
1346
1346
  pointerEvents: "none",
1347
- opacity: $t,
1348
- transition: `opacity 0.8s ease, filter 0.5s ease, transform 0.6s ${Ut}`,
1349
- filter: E && Math.sin(se) < -0.5 ? "brightness(0.5) blur(2px)" : "none",
1350
- zIndex: Q ? 500 : Fe ? 0 : St,
1351
- transformOrigin: `${re}px ${st}px`,
1352
- transform: at ? `translate(${-(Rt - lt) * He}px, ${-(Pt - st) * He}px) scale(${He})` : "none"
1347
+ opacity: xt,
1348
+ transition: `opacity 0.8s ease, filter 0.5s ease, transform 0.6s ${Bt}`,
1349
+ filter: R && Math.sin(le) < -0.5 ? "brightness(0.5) blur(2px)" : "none",
1350
+ zIndex: V ? 500 : Be ? 0 : mt,
1351
+ transformOrigin: `${oe}px ${nt}px`,
1352
+ transform: tt ? `translate(${-(wt - it) * Fe}px, ${-(St - nt) * Fe}px) scale(${Fe})` : "none"
1353
1353
  },
1354
1354
  children: [
1355
- E && !Fe && /* @__PURE__ */ e(
1355
+ R && !Be && /* @__PURE__ */ e(
1356
1356
  "div",
1357
1357
  {
1358
1358
  style: {
1359
1359
  position: "absolute",
1360
- left: Re,
1361
- top: de,
1360
+ left: Pe,
1361
+ top: se,
1362
1362
  width: 160,
1363
1363
  height: 180,
1364
1364
  transform: "translate(-50%, -80%)",
@@ -1366,19 +1366,19 @@ function tt({
1366
1366
  cursor: "pointer",
1367
1367
  zIndex: 101
1368
1368
  },
1369
- onClick: (X) => {
1370
- X.stopPropagation(), oe?.(t);
1369
+ onClick: (Q) => {
1370
+ Q.stopPropagation(), ne?.(t);
1371
1371
  }
1372
1372
  }
1373
1373
  ),
1374
- E && (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,
1380
- top: de - 200,
1381
- transform: `translate(-50%, -50%) scale(${Pe})`,
1379
+ left: Pe,
1380
+ top: se - 200,
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,13 +1424,13 @@ function tt({
1424
1424
  {
1425
1425
  style: {
1426
1426
  position: "absolute",
1427
- left: N ? re : Re,
1428
- top: N ? 48 : de - 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,
1433
- transition: Le,
1433
+ transition: Ae,
1434
1434
  fontSize: 36,
1435
1435
  fontWeight: 700,
1436
1436
  letterSpacing: "0.18em",
@@ -1450,25 +1450,25 @@ function tt({
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
- transition: Le
1458
+ transition: Ae
1459
1459
  },
1460
- children: o.map((X, Lt) => /* @__PURE__ */ e(
1461
- Bt,
1460
+ children: o.map((Q, Ct) => /* @__PURE__ */ e(
1461
+ zt,
1462
1462
  {
1463
- x1: X.from[0],
1464
- y1: X.from[1],
1465
- x2: X.to[0],
1466
- y2: X.to[1],
1467
- show: Q && F >= (X.visibleAtPhase ?? 0),
1468
- color: X.color,
1469
- dur: X.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
- Lt
1471
+ Ct
1472
1472
  ))
1473
1473
  }
1474
1474
  ),
@@ -1477,13 +1477,13 @@ function tt({
1477
1477
  {
1478
1478
  style: {
1479
1479
  position: "absolute",
1480
- left: N ? re : Re,
1481
- top: N ? 570 : de + 70,
1482
- transform: `translate(-50%, -50%) scaleX(${N ? 1 : 0.4}) scaleY(${N ? 1 : 0.6}) scale(${N ? 1 : Pe})`,
1483
- transition: Le,
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
+ transition: Ae,
1484
1484
  zIndex: 1
1485
1485
  },
1486
- children: /* @__PURE__ */ e(Ht, { size: Ct, color: Et, widthRatio: At, children: /* @__PURE__ */ e("div", { className: "base-hotspot" }) })
1486
+ children: /* @__PURE__ */ e(Nt, { size: $t, color: kt, widthRatio: Rt, children: /* @__PURE__ */ e("div", { className: "base-hotspot" }) })
1487
1487
  }
1488
1488
  ),
1489
1489
  r
@@ -1491,173 +1491,7 @@ function tt({
1491
1491
  }
1492
1492
  ) });
1493
1493
  }
1494
- function C({
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: f = "0s",
1504
- componentInfo: c,
1505
- visibleAtPhase: p = 0,
1506
- fixedScale: h,
1507
- bare: y = !1
1508
- }) {
1509
- const u = ve(le);
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: T,
1521
- selectedComponentName: R,
1522
- expandedOffsetX: L
1523
- } = u, F = p === 0 || u.isSelected && m >= p ? 1 : 0, j = x + o.x, M = v + o.y, ie = g ? t + L : j, ne = g ? n : M, W = h !== void 0 ? h : u.isCompact ? $ : b, H = !!c && !!R && c.name === R, oe = c?.status ? w[c.status]?.color ?? a : a, Se = c?.status === "offline" ? "#4a6a8a" : oe, $e = c && g && T ? () => T({
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: ie,
1540
- top: ne,
1541
- transform: `translate(-50%, -50%) scale(${W})`,
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
- Vt,
1549
- {
1550
- statusColor: Se,
1551
- label: s,
1552
- subLabel: l,
1553
- delay: f,
1554
- showLabels: g,
1555
- isCompact: u.isCompact,
1556
- onClick: $e,
1557
- isSelected: H,
1558
- children: r
1559
- }
1560
- )
1561
- }
1562
- );
1563
- }
1564
- function Vt({
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: f = !1
1574
- }) {
1575
- const [c, p] = I(!1), h = f ? `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: h
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 && ee.isValidElement(t) ? ee.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 ut({ 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 O({
1494
+ function I({
1661
1495
  ex: t,
1662
1496
  ey: n,
1663
1497
  status: o,
@@ -1666,23 +1500,23 @@ function O({
1666
1500
  offsetX: a,
1667
1501
  offsetY: s,
1668
1502
  isVisible: l,
1669
- align: f = "right",
1503
+ align: h = "right",
1670
1504
  internalRef: c
1671
1505
  }) {
1672
- const p = ve(le), h = p?.expandedOffsetX ?? 0;
1506
+ const p = we(ae), f = p?.expandedOffsetX ?? 0;
1673
1507
  if (o === "online") return null;
1674
- const y = l && !!p?.isExpandedPos, u = w[o]?.color ?? w.warning.color, g = Math.abs(a) > Math.abs(s), m = t + h + (g ? Math.sign(a) * 45 : 0), x = n + (g ? 0 : Math.sign(s) * 40), v = t + h + a, $ = n + s;
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
- f === "left" && (k = "translate(-100%, -50%)"), f === "top" && (k = "translate(-50%, -100%)"), f === "bottom" && (k = "translate(-50%, 0)");
1685
- const T = f === "left" ? -8 : f === "right" ? 8 : 0, R = f === "top" ? -8 : f === "bottom" ? 8 : 0;
1518
+ h === "left" && (k = "translate(-100%, -50%)"), h === "top" && (k = "translate(-50%, -100%)"), h === "bottom" && (k = "translate(-50%, 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 O({
1731
1565
  left: v,
1732
1566
  top: $,
1733
1567
  transform: k,
1734
- marginLeft: T,
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,8 +1638,192 @@ function O({
1804
1638
  }
1805
1639
  );
1806
1640
  }
1807
- const q = 140, U = 240, Z = 160, ce = Ze(q, U, Z);
1808
- function _t({
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);
1826
+ function Ut({
1809
1827
  cfg: t,
1810
1828
  name: n,
1811
1829
  cpuLoad: o,
@@ -1814,7 +1832,7 @@ function _t({
1814
1832
  compact: a,
1815
1833
  brandLabel: s
1816
1834
  }) {
1817
- const l = Math.ceil(o / 100 * 3), f = r === "offline" ? "#4a6a8a" : t.color, c = [
1835
+ const l = Math.ceil(o / 100 * 3), h = r === "offline" ? "#4a6a8a" : t.color, c = [
1818
1836
  { color: t.color, on: r !== "offline", label: "PWR" },
1819
1837
  { color: t.color, on: r === "online" || r === "warning", label: "NET" },
1820
1838
  { color: t.color, on: o > 15, label: "DSK" },
@@ -1825,8 +1843,8 @@ function _t({
1825
1843
  {
1826
1844
  style: {
1827
1845
  width: q,
1828
- height: U,
1829
- background: a ? we : Ke,
1846
+ height: H,
1847
+ background: a ? Se : Qe,
1830
1848
  position: "relative",
1831
1849
  overflow: "hidden",
1832
1850
  fontFamily: "'Courier New', monospace",
@@ -1900,14 +1918,14 @@ function _t({
1900
1918
  {
1901
1919
  style: {
1902
1920
  fontSize: 7,
1903
- color: f,
1921
+ color: h,
1904
1922
  letterSpacing: "0.08em",
1905
- textShadow: `0 0 4px ${f}66`
1923
+ textShadow: `0 0 4px ${h}66`
1906
1924
  },
1907
1925
  children: n
1908
1926
  }
1909
1927
  ),
1910
- /* @__PURE__ */ e("div", { style: { display: "flex", gap: 5 }, children: c.map((p, h) => /* @__PURE__ */ e(
1928
+ /* @__PURE__ */ e("div", { style: { display: "flex", gap: 5 }, children: c.map((p, f) => /* @__PURE__ */ e(
1911
1929
  "div",
1912
1930
  {
1913
1931
  style: {
@@ -1916,10 +1934,10 @@ function _t({
1916
1934
  borderRadius: "50%",
1917
1935
  background: p.on ? p.color : "#0a1830",
1918
1936
  boxShadow: p.on ? `0 0 6px ${p.color}, 0 0 12px ${p.color}88` : "none",
1919
- animation: p.on && h === 1 ? "holo-led-blink 2.5s linear infinite" : "none"
1937
+ animation: p.on && f === 1 ? "holo-led-blink 2.5s linear infinite" : "none"
1920
1938
  }
1921
1939
  },
1922
- h
1940
+ f
1923
1941
  )) })
1924
1942
  ] })
1925
1943
  ]
@@ -1986,8 +2004,8 @@ function _t({
1986
2004
  }
1987
2005
  }
1988
2006
  ),
1989
- Array.from({ length: 3 }, (p, h) => {
1990
- const y = h < l;
2007
+ Array.from({ length: 3 }, (p, f) => {
2008
+ const y = f < l;
1991
2009
  return /* @__PURE__ */ d(
1992
2010
  "div",
1993
2011
  {
@@ -1995,7 +2013,7 @@ function _t({
1995
2013
  position: "absolute",
1996
2014
  left: 8,
1997
2015
  right: 8,
1998
- top: 75 + h * 31,
2016
+ top: 75 + f * 31,
1999
2017
  height: 27,
2000
2018
  background: "linear-gradient(90deg, #040a16, #030710, #040a16)",
2001
2019
  border: "1px solid #1a2d40",
@@ -2039,7 +2057,7 @@ function _t({
2039
2057
  top: 0,
2040
2058
  left: 0,
2041
2059
  bottom: 0,
2042
- width: `${30 + o / 100 * 45 + h * 8}%`,
2060
+ width: `${30 + o / 100 * 45 + f * 8}%`,
2043
2061
  background: `linear-gradient(90deg, ${t.color}22, transparent)`
2044
2062
  }
2045
2063
  }
@@ -2062,7 +2080,7 @@ function _t({
2062
2080
  )
2063
2081
  ]
2064
2082
  },
2065
- h
2083
+ f
2066
2084
  );
2067
2085
  }),
2068
2086
  /* @__PURE__ */ e(
@@ -2132,7 +2150,7 @@ function _t({
2132
2150
  /* @__PURE__ */ e("div", { style: { flex: 1, display: "flex", flexDirection: "column", gap: 4 }, children: [
2133
2151
  { val: o, color: t.color },
2134
2152
  { val: i, color: t.color + "bb" }
2135
- ].map((p, h) => /* @__PURE__ */ e(
2153
+ ].map((p, f) => /* @__PURE__ */ e(
2136
2154
  "div",
2137
2155
  {
2138
2156
  style: {
@@ -2153,7 +2171,7 @@ function _t({
2153
2171
  }
2154
2172
  )
2155
2173
  },
2156
- h
2174
+ f
2157
2175
  )) })
2158
2176
  ]
2159
2177
  }
@@ -2186,7 +2204,7 @@ function _t({
2186
2204
  overflow: "hidden",
2187
2205
  opacity: 0.22
2188
2206
  },
2189
- children: Array.from({ length: 100 }).map((p, h) => /* @__PURE__ */ e(
2207
+ children: Array.from({ length: 100 }).map((p, f) => /* @__PURE__ */ e(
2190
2208
  "div",
2191
2209
  {
2192
2210
  style: {
@@ -2196,7 +2214,7 @@ function _t({
2196
2214
  background: "#2a6090"
2197
2215
  }
2198
2216
  },
2199
- h
2217
+ f
2200
2218
  ))
2201
2219
  }
2202
2220
  ),
@@ -2217,13 +2235,13 @@ function _t({
2217
2235
  }
2218
2236
  );
2219
2237
  }
2220
- function Xt() {
2238
+ function Yt() {
2221
2239
  return /* @__PURE__ */ d(
2222
2240
  "div",
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,7 +2349,7 @@ function Xt() {
2331
2349
  }
2332
2350
  );
2333
2351
  }
2334
- function dt({
2352
+ function ot({
2335
2353
  side: t,
2336
2354
  color: n,
2337
2355
  brandLabel: o
@@ -2342,7 +2360,7 @@ function dt({
2342
2360
  {
2343
2361
  style: {
2344
2362
  width: Z,
2345
- height: U,
2363
+ height: H,
2346
2364
  background: i ? "linear-gradient(90deg, #040c1c 0%, #071428 60%, #040c1c 100%)" : "linear-gradient(90deg, #040c1c 0%, #071428 40%, #040c1c 100%)",
2347
2365
  position: "relative",
2348
2366
  overflow: "hidden"
@@ -2361,7 +2379,7 @@ function dt({
2361
2379
  }
2362
2380
  }
2363
2381
  ),
2364
- [8, U - 20].map((r) => /* @__PURE__ */ e(
2382
+ [8, H - 20].map((r) => /* @__PURE__ */ e(
2365
2383
  "div",
2366
2384
  {
2367
2385
  style: {
@@ -2383,8 +2401,8 @@ function dt({
2383
2401
  {
2384
2402
  style: {
2385
2403
  position: "absolute",
2386
- top: U * 0.35,
2387
- bottom: U * 0.15,
2404
+ top: H * 0.35,
2405
+ bottom: H * 0.15,
2388
2406
  left: i ? 22 : 18,
2389
2407
  right: i ? 18 : 22,
2390
2408
  display: "flex",
@@ -2412,7 +2430,7 @@ function dt({
2412
2430
  {
2413
2431
  style: {
2414
2432
  position: "absolute",
2415
- top: U * 0.18,
2433
+ top: H * 0.18,
2416
2434
  left: i ? 12 : Z - 78,
2417
2435
  fontSize: 7,
2418
2436
  color: "#1a3050",
@@ -2431,7 +2449,7 @@ function dt({
2431
2449
  }
2432
2450
  );
2433
2451
  }
2434
- function jt({ cpuLoad: t }) {
2452
+ function Vt({ cpuLoad: t }) {
2435
2453
  const n = t / 100, o = n > 0.75 ? "rgba(255,34,85,0.16)" : n > 0.45 ? "rgba(255,140,0,0.12)" : "rgba(0,229,255,0.08)", i = Math.floor((Z - 18) / 7);
2436
2454
  return /* @__PURE__ */ d(
2437
2455
  "div",
@@ -2511,7 +2529,7 @@ function jt({ cpuLoad: t }) {
2511
2529
  }
2512
2530
  );
2513
2531
  }
2514
- function J({
2532
+ function ue({
2515
2533
  rotateX: t = -22,
2516
2534
  rotateY: n = 20,
2517
2535
  rotateZ: o = 0,
@@ -2520,12 +2538,12 @@ function J({
2520
2538
  status: a = "online",
2521
2539
  name: s = "SRV-001",
2522
2540
  cpuLoad: l = 67,
2523
- memLoad: f = 82,
2541
+ memLoad: h = 82,
2524
2542
  brandLabel: c = "BUSAUD",
2525
2543
  _compact: p
2526
2544
  }) {
2527
- const [h, y] = I(n), u = te(0), g = te(0);
2528
- Ae(() => {
2545
+ const [f, y] = L(n), u = ee(0), g = ee(0);
2546
+ Ee(() => {
2529
2547
  if (!r) {
2530
2548
  y(n);
2531
2549
  return;
@@ -2543,7 +2561,7 @@ function J({
2543
2561
  {
2544
2562
  style: {
2545
2563
  width: q * i,
2546
- height: U * i,
2564
+ height: H * i,
2547
2565
  position: "relative",
2548
2566
  display: "flex",
2549
2567
  alignItems: "center",
@@ -2596,7 +2614,7 @@ function J({
2596
2614
  style: {
2597
2615
  position: "absolute",
2598
2616
  width: q * 1.4 * i,
2599
- height: U * 0.8 * i,
2617
+ height: H * 0.8 * i,
2600
2618
  background: `radial-gradient(ellipse, ${m.glow} 0%, transparent 65%)`,
2601
2619
  filter: `blur(${Math.round(45 * i)}px)`,
2602
2620
  pointerEvents: "none",
@@ -2620,30 +2638,30 @@ function J({
2620
2638
  {
2621
2639
  style: {
2622
2640
  width: q,
2623
- height: U,
2641
+ height: H,
2624
2642
  position: "relative",
2625
2643
  transformStyle: "preserve-3d",
2626
- transform: `rotateX(${t}deg) rotateY(${h}deg) rotateZ(${o}deg)`,
2644
+ transform: `rotateX(${t}deg) rotateY(${f}deg) rotateZ(${o}deg)`,
2627
2645
  transition: r ? "none" : "transform 0.55s cubic-bezier(0.25, 0.46, 0.45, 0.94)"
2628
2646
  },
2629
2647
  children: [
2630
- /* @__PURE__ */ e("div", { style: ce.front, children: /* @__PURE__ */ e(
2631
- _t,
2648
+ /* @__PURE__ */ e("div", { style: de.front, children: /* @__PURE__ */ e(
2649
+ Ut,
2632
2650
  {
2633
2651
  cfg: m,
2634
2652
  name: s,
2635
2653
  cpuLoad: l,
2636
- memLoad: f,
2654
+ memLoad: h,
2637
2655
  status: a,
2638
2656
  compact: p,
2639
2657
  brandLabel: c
2640
2658
  }
2641
2659
  ) }),
2642
- /* @__PURE__ */ e("div", { style: ce.back, children: /* @__PURE__ */ e(Xt, {}) }),
2643
- /* @__PURE__ */ e("div", { style: ce.left, children: /* @__PURE__ */ e(dt, { side: "left", color: m.color, brandLabel: c }) }),
2644
- /* @__PURE__ */ e("div", { style: ce.right, children: /* @__PURE__ */ e(dt, { side: "right", color: m.color, brandLabel: c }) }),
2645
- /* @__PURE__ */ e("div", { style: ce.top, children: /* @__PURE__ */ e(jt, { cpuLoad: l }) }),
2646
- /* @__PURE__ */ e("div", { style: ce.bottom, children: /* @__PURE__ */ e(
2660
+ /* @__PURE__ */ e("div", { style: de.back, children: /* @__PURE__ */ e(Yt, {}) }),
2661
+ /* @__PURE__ */ e("div", { style: de.left, children: /* @__PURE__ */ e(ot, { side: "left", color: m.color, brandLabel: c }) }),
2662
+ /* @__PURE__ */ e("div", { style: de.right, children: /* @__PURE__ */ e(ot, { side: "right", color: m.color, brandLabel: c }) }),
2663
+ /* @__PURE__ */ e("div", { style: de.top, children: /* @__PURE__ */ e(Vt, { cpuLoad: l }) }),
2664
+ /* @__PURE__ */ e("div", { style: de.bottom, children: /* @__PURE__ */ e(
2647
2665
  "div",
2648
2666
  {
2649
2667
  style: {
@@ -2662,11 +2680,11 @@ function J({
2662
2680
  }
2663
2681
  );
2664
2682
  }
2665
- const qe = 12, ae = 55, _ = ae * 2, ue = 52, it = 10, Ue = 3 * ue + 2 * it, pe = 2 * Math.PI * ae / qe, Ye = Array.from({ length: qe }, (t, n) => n / qe * 360);
2666
- function Ve(t) {
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);
2684
+ function Ye(t) {
2667
2685
  return Math.cos(t * Math.PI / 180) * 0.42 + 0.58;
2668
2686
  }
2669
- function Qt({
2687
+ function _t({
2670
2688
  diskY: t,
2671
2689
  diskIdx: n,
2672
2690
  cfg: o,
@@ -2674,25 +2692,25 @@ function Qt({
2674
2692
  capacity: r,
2675
2693
  compact: a
2676
2694
  }) {
2677
- return /* @__PURE__ */ d(Ce, { children: [
2678
- Ye.map((s, l) => {
2679
- const f = Ve(s), c = l === 0, p = Math.round(4 + f * 9), h = Math.round(12 + f * 22), y = Math.round(28 + f * 44), u = Math.round(f * 0.55 * 255).toString(16).padStart(2, "0");
2695
+ return /* @__PURE__ */ d(ve, { children: [
2696
+ Ue.map((s, l) => {
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");
2680
2698
  return /* @__PURE__ */ e(
2681
2699
  "div",
2682
2700
  {
2683
2701
  style: {
2684
2702
  position: "absolute",
2685
- width: pe,
2686
- height: ue,
2687
- left: (_ - pe) / 2,
2703
+ width: ce,
2704
+ height: he,
2705
+ left: (_ - ce) / 2,
2688
2706
  top: t,
2689
- transform: `rotateY(${s}deg) translateZ(${ae}px)`,
2707
+ transform: `rotateY(${s}deg) translateZ(${re}px)`,
2690
2708
  backfaceVisibility: "hidden",
2691
- background: c ? a ? "linear-gradient(180deg, rgb(0,28,62), rgb(0,18,44))" : "linear-gradient(180deg, rgba(0,28,62,0.70), rgba(0,18,44,0.76))" : `rgb(${p},${h},${y})`,
2709
+ background: c ? a ? "linear-gradient(180deg, rgb(0,28,62), rgb(0,18,44))" : "linear-gradient(180deg, rgba(0,28,62,0.70), rgba(0,18,44,0.76))" : `rgb(${p},${f},${y})`,
2692
2710
  borderLeft: `1px solid ${o.color}${u}`,
2693
2711
  boxShadow: c ? `inset 0 0 18px ${o.color}28` : "none"
2694
2712
  },
2695
- children: c && /* @__PURE__ */ d(Ce, { children: [
2713
+ children: c && /* @__PURE__ */ d(ve, { children: [
2696
2714
  /* @__PURE__ */ e(
2697
2715
  "div",
2698
2716
  {
@@ -2748,7 +2766,7 @@ function Qt({
2748
2766
  width: _ + 4,
2749
2767
  height: _ + 4,
2750
2768
  left: -2,
2751
- top: t - ae,
2769
+ top: t - re,
2752
2770
  borderRadius: "50%",
2753
2771
  transform: "rotateX(90deg)",
2754
2772
  backfaceVisibility: "hidden",
@@ -2809,7 +2827,7 @@ function Qt({
2809
2827
  width: _ + 4,
2810
2828
  height: _ + 4,
2811
2829
  left: -2,
2812
- top: t + ue - ae,
2830
+ top: t + he - re,
2813
2831
  borderRadius: "50%",
2814
2832
  transform: "rotateX(-90deg)",
2815
2833
  backfaceVisibility: "hidden",
@@ -2833,41 +2851,41 @@ function Qt({
2833
2851
  )
2834
2852
  }
2835
2853
  ),
2836
- i && Ye.map((s, l) => {
2837
- const f = Ve(s);
2854
+ i && Ue.map((s, l) => {
2855
+ const h = Ye(s);
2838
2856
  return /* @__PURE__ */ e(
2839
2857
  "div",
2840
2858
  {
2841
2859
  style: {
2842
2860
  position: "absolute",
2843
- width: pe + 1.5,
2861
+ width: ce + 1.5,
2844
2862
  height: 6,
2845
- left: (_ - pe - 1.5) / 2,
2846
- top: t + ue - 3,
2847
- transform: `rotateY(${s}deg) translateZ(${ae + 1.5}px)`,
2863
+ left: (_ - ce - 1.5) / 2,
2864
+ top: t + he - 3,
2865
+ transform: `rotateY(${s}deg) translateZ(${re + 1.5}px)`,
2848
2866
  backfaceVisibility: "hidden",
2849
2867
  background: o.color,
2850
2868
  boxShadow: `0 0 8px ${o.color}, 0 0 18px ${o.color}aa, 0 0 30px ${o.glow}`,
2851
- opacity: f * 0.9
2869
+ opacity: h * 0.9
2852
2870
  }
2853
2871
  },
2854
2872
  `rng${n}${l}`
2855
2873
  );
2856
2874
  }),
2857
- i && Ye.map((s, l) => {
2858
- const f = Ve(s), c = Math.round(2 + f * 4), p = Math.round(5 + f * 10), h = Math.round(12 + f * 20);
2875
+ i && Ue.map((s, l) => {
2876
+ const h = Ye(s), c = Math.round(2 + h * 4), p = Math.round(5 + h * 10), f = Math.round(12 + h * 20);
2859
2877
  return /* @__PURE__ */ e(
2860
2878
  "div",
2861
2879
  {
2862
2880
  style: {
2863
2881
  position: "absolute",
2864
- width: pe,
2865
- height: it,
2866
- left: (_ - pe) / 2,
2867
- top: t + ue,
2868
- transform: `rotateY(${s}deg) translateZ(${ae}px)`,
2882
+ width: ce,
2883
+ height: Ze,
2884
+ left: (_ - ce) / 2,
2885
+ top: t + he,
2886
+ transform: `rotateY(${s}deg) translateZ(${re}px)`,
2869
2887
  backfaceVisibility: "hidden",
2870
- background: `rgb(${c},${p},${h})`
2888
+ background: `rgb(${c},${p},${f})`
2871
2889
  }
2872
2890
  },
2873
2891
  `gap${n}${l}`
@@ -2875,7 +2893,7 @@ function Qt({
2875
2893
  })
2876
2894
  ] });
2877
2895
  }
2878
- function Ee({
2896
+ function Oe({
2879
2897
  rotateX: t = -22,
2880
2898
  rotateY: n = -15,
2881
2899
  rotateZ: o = 0,
@@ -2887,17 +2905,17 @@ function Ee({
2887
2905
  // connections = 284,
2888
2906
  _compact: l
2889
2907
  }) {
2890
- const [f, c] = I(n), p = te(0), h = te(0);
2891
- Ae(() => {
2908
+ const [h, c] = L(n), p = ee(0), f = ee(0);
2909
+ Ee(() => {
2892
2910
  if (!r) {
2893
2911
  c(n);
2894
2912
  return;
2895
2913
  }
2896
2914
  const u = (g) => {
2897
- h.current && c((m) => m + (g - h.current) * 0.027), h.current = g, p.current = requestAnimationFrame(u);
2915
+ f.current && c((m) => m + (g - f.current) * 0.027), f.current = g, p.current = requestAnimationFrame(u);
2898
2916
  };
2899
2917
  return p.current = requestAnimationFrame(u), () => {
2900
- cancelAnimationFrame(p.current), h.current = 0;
2918
+ cancelAnimationFrame(p.current), f.current = 0;
2901
2919
  };
2902
2920
  }, [r, n]);
2903
2921
  const y = w[a] ?? w.online;
@@ -2906,7 +2924,7 @@ function Ee({
2906
2924
  {
2907
2925
  style: {
2908
2926
  width: _ * i,
2909
- height: Ue * i,
2927
+ height: He * i,
2910
2928
  position: "relative",
2911
2929
  display: "flex",
2912
2930
  alignItems: "center",
@@ -2967,7 +2985,7 @@ function Ee({
2967
2985
  style: {
2968
2986
  position: "absolute",
2969
2987
  width: _ * 2.8 * i,
2970
- height: Ue * 0.85 * i,
2988
+ height: He * 0.85 * i,
2971
2989
  background: `radial-gradient(ellipse, ${y.glow} 0%, transparent 65%)`,
2972
2990
  filter: `blur(${Math.round(50 * i)}px)`,
2973
2991
  pointerEvents: "none",
@@ -2991,16 +3009,16 @@ function Ee({
2991
3009
  {
2992
3010
  style: {
2993
3011
  width: _,
2994
- height: Ue,
3012
+ height: He,
2995
3013
  position: "relative",
2996
3014
  transformStyle: "preserve-3d",
2997
- transform: `rotateX(${t}deg) rotateY(${f}deg) rotateZ(${o}deg)`,
3015
+ transform: `rotateX(${t}deg) rotateY(${h}deg) rotateZ(${o}deg)`,
2998
3016
  transition: r ? "none" : "transform 0.55s cubic-bezier(0.25, 0.46, 0.45, 0.94)"
2999
3017
  },
3000
3018
  children: [0, 1, 2].map((u) => /* @__PURE__ */ e(
3001
- Qt,
3019
+ _t,
3002
3020
  {
3003
- diskY: u * (ue + it),
3021
+ diskY: u * (he + Ze),
3004
3022
  diskIdx: u,
3005
3023
  cfg: y,
3006
3024
  hasRingBelow: u < 2,
@@ -3017,8 +3035,8 @@ function Ee({
3017
3035
  }
3018
3036
  );
3019
3037
  }
3020
- const G = 190, Y = 72, be = 120, fe = Ze(G, Y, be);
3021
- function qt({
3038
+ const G = 190, U = 72, be = 120, pe = qe(G, U, be);
3039
+ function Xt({
3022
3040
  cfg: t,
3023
3041
  name: n,
3024
3042
  traffic: o,
@@ -3031,8 +3049,8 @@ function qt({
3031
3049
  {
3032
3050
  style: {
3033
3051
  width: G,
3034
- height: Y,
3035
- background: r ? we : Ke,
3052
+ height: U,
3053
+ background: r ? Se : Qe,
3036
3054
  position: "relative",
3037
3055
  overflow: "hidden",
3038
3056
  fontFamily: "'Courier New', monospace",
@@ -3117,8 +3135,8 @@ function qt({
3117
3135
  gap: 10
3118
3136
  },
3119
3137
  children: [
3120
- /* @__PURE__ */ e("div", { style: { display: "flex", gap: 3, alignItems: "center" }, children: Array.from({ length: 8 }, (l, f) => {
3121
- const c = f < a, p = s[f];
3138
+ /* @__PURE__ */ e("div", { style: { display: "flex", gap: 3, alignItems: "center" }, children: Array.from({ length: 8 }, (l, h) => {
3139
+ const c = h < a, p = s[h];
3122
3140
  return /* @__PURE__ */ d(
3123
3141
  "div",
3124
3142
  {
@@ -3170,13 +3188,13 @@ function qt({
3170
3188
  background: c ? t.color : "#0a1830",
3171
3189
  boxShadow: c ? `0 0 5px ${t.color}` : "none",
3172
3190
  animation: c ? "holo-led-blink 1.8s linear infinite" : "none",
3173
- animationDelay: `${f * 0.2}s`
3191
+ animationDelay: `${h * 0.2}s`
3174
3192
  }
3175
3193
  }
3176
3194
  )
3177
3195
  ]
3178
3196
  },
3179
- f
3197
+ h
3180
3198
  );
3181
3199
  }) }),
3182
3200
  /* @__PURE__ */ e(
@@ -3280,13 +3298,13 @@ function qt({
3280
3298
  }
3281
3299
  );
3282
3300
  }
3283
- function Gt() {
3301
+ function jt() {
3284
3302
  return /* @__PURE__ */ d(
3285
3303
  "div",
3286
3304
  {
3287
3305
  style: {
3288
3306
  width: G,
3289
- height: Y,
3307
+ height: U,
3290
3308
  background: "linear-gradient(180deg, #040c1a, #030810)",
3291
3309
  position: "relative",
3292
3310
  overflow: "hidden",
@@ -3301,7 +3319,7 @@ function Gt() {
3301
3319
  {
3302
3320
  style: {
3303
3321
  width: 40,
3304
- height: Y - 16,
3322
+ height: U - 16,
3305
3323
  background: "#020710",
3306
3324
  border: "1px solid #1a2d40",
3307
3325
  borderRadius: 2,
@@ -3357,7 +3375,7 @@ function Gt() {
3357
3375
  style: {
3358
3376
  marginLeft: "auto",
3359
3377
  width: 12,
3360
- height: Y - 16,
3378
+ height: U - 16,
3361
3379
  background: "#020710",
3362
3380
  border: "1px solid #1a3050",
3363
3381
  borderRadius: 1
@@ -3368,13 +3386,13 @@ function Gt() {
3368
3386
  }
3369
3387
  );
3370
3388
  }
3371
- function ct({ side: t, color: n }) {
3389
+ function rt({ side: t, color: n }) {
3372
3390
  return /* @__PURE__ */ d(
3373
3391
  "div",
3374
3392
  {
3375
3393
  style: {
3376
3394
  width: be,
3377
- height: Y,
3395
+ height: U,
3378
3396
  background: t === "right" ? "linear-gradient(90deg, #04091a 0%, #071428 60%, #040c1c 100%)" : "linear-gradient(90deg, #040c1c 0%, #071428 40%, #04091a 100%)",
3379
3397
  position: "relative",
3380
3398
  overflow: "hidden"
@@ -3398,8 +3416,8 @@ function ct({ side: t, color: n }) {
3398
3416
  {
3399
3417
  style: {
3400
3418
  position: "absolute",
3401
- top: Y * 0.25,
3402
- bottom: Y * 0.25,
3419
+ top: U * 0.25,
3420
+ bottom: U * 0.25,
3403
3421
  left: 14,
3404
3422
  right: 14,
3405
3423
  display: "flex",
@@ -3425,7 +3443,7 @@ function ct({ side: t, color: n }) {
3425
3443
  }
3426
3444
  );
3427
3445
  }
3428
- function Kt({ traffic: t }) {
3446
+ function Qt({ traffic: t }) {
3429
3447
  const n = Math.floor((be - 14) / 7);
3430
3448
  return /* @__PURE__ */ d(
3431
3449
  "div",
@@ -3484,7 +3502,7 @@ function Kt({ traffic: t }) {
3484
3502
  }
3485
3503
  );
3486
3504
  }
3487
- function nt({
3505
+ function pt({
3488
3506
  rotateX: t = -20,
3489
3507
  rotateY: n = 20,
3490
3508
  rotateZ: o = 0,
@@ -3493,17 +3511,17 @@ function nt({
3493
3511
  status: a = "online",
3494
3512
  name: s = "WEB-DISP-01",
3495
3513
  traffic: l = 78,
3496
- activeRoutes: f = 12,
3514
+ activeRoutes: h = 12,
3497
3515
  _compact: c
3498
3516
  }) {
3499
- const [p, h] = I(n), y = te(0), u = te(0);
3500
- Ae(() => {
3517
+ const [p, f] = L(n), y = ee(0), u = ee(0);
3518
+ Ee(() => {
3501
3519
  if (!r) {
3502
- h(n);
3520
+ f(n);
3503
3521
  return;
3504
3522
  }
3505
3523
  const m = (x) => {
3506
- u.current && h((v) => v + (x - u.current) * 0.027), u.current = x, y.current = requestAnimationFrame(m);
3524
+ u.current && f((v) => v + (x - u.current) * 0.027), u.current = x, y.current = requestAnimationFrame(m);
3507
3525
  };
3508
3526
  return y.current = requestAnimationFrame(m), () => {
3509
3527
  cancelAnimationFrame(y.current), u.current = 0;
@@ -3515,7 +3533,7 @@ function nt({
3515
3533
  {
3516
3534
  style: {
3517
3535
  width: G * i,
3518
- height: Y * i,
3536
+ height: U * i,
3519
3537
  position: "relative",
3520
3538
  display: "flex",
3521
3539
  alignItems: "center",
@@ -3576,7 +3594,7 @@ function nt({
3576
3594
  style: {
3577
3595
  position: "absolute",
3578
3596
  width: G * 1.3 * i,
3579
- height: Y * 2 * i,
3597
+ height: U * 2 * i,
3580
3598
  background: `radial-gradient(ellipse, ${g.glow} 0%, transparent 65%)`,
3581
3599
  filter: `blur(${Math.round(40 * i)}px)`,
3582
3600
  pointerEvents: "none",
@@ -3600,28 +3618,28 @@ function nt({
3600
3618
  {
3601
3619
  style: {
3602
3620
  width: G,
3603
- height: Y,
3621
+ height: U,
3604
3622
  position: "relative",
3605
3623
  transformStyle: "preserve-3d",
3606
3624
  transform: `rotateX(${t}deg) rotateY(${p}deg) rotateZ(${o}deg)`,
3607
3625
  transition: r ? "none" : "transform 0.55s cubic-bezier(0.25, 0.46, 0.45, 0.94)"
3608
3626
  },
3609
3627
  children: [
3610
- /* @__PURE__ */ e("div", { style: fe.front, children: /* @__PURE__ */ e(
3611
- qt,
3628
+ /* @__PURE__ */ e("div", { style: pe.front, children: /* @__PURE__ */ e(
3629
+ Xt,
3612
3630
  {
3613
3631
  cfg: g,
3614
3632
  name: s,
3615
3633
  traffic: l,
3616
- activeRoutes: f,
3634
+ activeRoutes: h,
3617
3635
  compact: c
3618
3636
  }
3619
3637
  ) }),
3620
- /* @__PURE__ */ e("div", { style: fe.back, children: /* @__PURE__ */ e(Gt, {}) }),
3621
- /* @__PURE__ */ e("div", { style: fe.left, children: /* @__PURE__ */ e(ct, { side: "left", color: g.color }) }),
3622
- /* @__PURE__ */ e("div", { style: fe.right, children: /* @__PURE__ */ e(ct, { side: "right", color: g.color }) }),
3623
- /* @__PURE__ */ e("div", { style: fe.top, children: /* @__PURE__ */ e(Kt, { traffic: l }) }),
3624
- /* @__PURE__ */ e("div", { style: fe.bottom, children: /* @__PURE__ */ e("div", { style: { width: G, height: be, background: "#020508" } }) })
3638
+ /* @__PURE__ */ e("div", { style: pe.back, children: /* @__PURE__ */ e(jt, {}) }),
3639
+ /* @__PURE__ */ e("div", { style: pe.left, children: /* @__PURE__ */ e(rt, { side: "left", color: g.color }) }),
3640
+ /* @__PURE__ */ e("div", { style: pe.right, children: /* @__PURE__ */ e(rt, { side: "right", color: g.color }) }),
3641
+ /* @__PURE__ */ e("div", { style: pe.top, children: /* @__PURE__ */ e(Qt, { traffic: l }) }),
3642
+ /* @__PURE__ */ e("div", { style: pe.bottom, children: /* @__PURE__ */ e("div", { style: { width: G, height: be, background: "#020508" } }) })
3625
3643
  ]
3626
3644
  }
3627
3645
  )
@@ -3631,13 +3649,13 @@ function nt({
3631
3649
  }
3632
3650
  );
3633
3651
  }
3634
- const K = 190, V = 72, ge = 120, he = Ze(K, V, ge), pt = {
3652
+ const K = 190, Y = 72, ge = 120, fe = qe(K, Y, ge), at = {
3635
3653
  online: { color: "#bb55ff", glow: "rgba(187,85,255,0.50)" },
3636
3654
  warning: { color: "#ff8c00", glow: "rgba(255,140,0,0.50)" },
3637
3655
  critical: { color: "#ff2255", glow: "rgba(255,34,85,0.50)" },
3638
3656
  offline: { color: "#1e3a5a", glow: "rgba(30,58,90,0.25)" }
3639
3657
  };
3640
- function Zt({
3658
+ function qt({
3641
3659
  cfg: t,
3642
3660
  name: n,
3643
3661
  queueDepth: o,
@@ -3651,8 +3669,8 @@ function Zt({
3651
3669
  {
3652
3670
  style: {
3653
3671
  width: K,
3654
- height: V,
3655
- background: a ? we : Ke,
3672
+ height: Y,
3673
+ background: a ? Se : Qe,
3656
3674
  position: "relative",
3657
3675
  overflow: "hidden",
3658
3676
  fontFamily: "'Courier New', monospace",
@@ -3737,7 +3755,7 @@ function Zt({
3737
3755
  gap: 10
3738
3756
  },
3739
3757
  children: [
3740
- /* @__PURE__ */ e("div", { style: { display: "flex", gap: 3, alignItems: "center" }, children: Array.from({ length: 5 }, (f, c) => {
3758
+ /* @__PURE__ */ e("div", { style: { display: "flex", gap: 3, alignItems: "center" }, children: Array.from({ length: 5 }, (h, c) => {
3741
3759
  const p = c < r;
3742
3760
  return /* @__PURE__ */ d(
3743
3761
  "div",
@@ -3869,14 +3887,14 @@ function Zt({
3869
3887
  { label: "INST", val: r, unit: "conn" },
3870
3888
  { label: "ENQUEUE", val: Math.round(o * 2.4), unit: "msgs" },
3871
3889
  { label: "DISP", val: Math.round(i * 0.1), unit: "/s" }
3872
- ].map((f) => /* @__PURE__ */ d("div", { style: { display: "flex", gap: 3 }, children: [
3873
- /* @__PURE__ */ e("span", { style: { fontSize: 6, color: "#1e3a5a", letterSpacing: "0.08em" }, children: f.label }),
3890
+ ].map((h) => /* @__PURE__ */ d("div", { style: { display: "flex", gap: 3 }, children: [
3891
+ /* @__PURE__ */ e("span", { style: { fontSize: 6, color: "#1e3a5a", letterSpacing: "0.08em" }, children: h.label }),
3874
3892
  /* @__PURE__ */ d("span", { style: { fontSize: 6, color: s + "88" }, children: [
3875
- f.val,
3893
+ h.val,
3876
3894
  " ",
3877
- f.unit
3895
+ h.unit
3878
3896
  ] })
3879
- ] }, f.label))
3897
+ ] }, h.label))
3880
3898
  }
3881
3899
  ),
3882
3900
  /* @__PURE__ */ e(
@@ -3896,13 +3914,13 @@ function Zt({
3896
3914
  }
3897
3915
  );
3898
3916
  }
3899
- function Jt() {
3917
+ function Gt() {
3900
3918
  return /* @__PURE__ */ d(
3901
3919
  "div",
3902
3920
  {
3903
3921
  style: {
3904
3922
  width: K,
3905
- height: V,
3923
+ height: Y,
3906
3924
  background: "linear-gradient(180deg, #040c1a, #030810)",
3907
3925
  position: "relative",
3908
3926
  overflow: "hidden",
@@ -3917,7 +3935,7 @@ function Jt() {
3917
3935
  {
3918
3936
  style: {
3919
3937
  width: 40,
3920
- height: V - 16,
3938
+ height: Y - 16,
3921
3939
  background: "#020710",
3922
3940
  border: "1px solid #1a2d40",
3923
3941
  borderRadius: 2,
@@ -3973,7 +3991,7 @@ function Jt() {
3973
3991
  style: {
3974
3992
  marginLeft: "auto",
3975
3993
  width: 12,
3976
- height: V - 16,
3994
+ height: Y - 16,
3977
3995
  background: "#020710",
3978
3996
  border: "1px solid #1a3050",
3979
3997
  borderRadius: 1
@@ -3984,13 +4002,13 @@ function Jt() {
3984
4002
  }
3985
4003
  );
3986
4004
  }
3987
- function ft({ side: t, color: n }) {
4005
+ function lt({ side: t, color: n }) {
3988
4006
  return /* @__PURE__ */ d(
3989
4007
  "div",
3990
4008
  {
3991
4009
  style: {
3992
4010
  width: ge,
3993
- height: V,
4011
+ height: Y,
3994
4012
  background: t === "right" ? "linear-gradient(90deg, #04091a 0%, #071428 60%, #040c1c 100%)" : "linear-gradient(90deg, #040c1c 0%, #071428 40%, #04091a 100%)",
3995
4013
  position: "relative",
3996
4014
  overflow: "hidden"
@@ -4014,8 +4032,8 @@ function ft({ side: t, color: n }) {
4014
4032
  {
4015
4033
  style: {
4016
4034
  position: "absolute",
4017
- top: V * 0.25,
4018
- bottom: V * 0.25,
4035
+ top: Y * 0.25,
4036
+ bottom: Y * 0.25,
4019
4037
  left: 14,
4020
4038
  right: 14,
4021
4039
  display: "flex",
@@ -4041,7 +4059,7 @@ function ft({ side: t, color: n }) {
4041
4059
  }
4042
4060
  );
4043
4061
  }
4044
- function ei({ queueDepth: t, color: n }) {
4062
+ function Kt({ queueDepth: t, color: n }) {
4045
4063
  const o = Math.floor((ge - 14) / 7);
4046
4064
  return /* @__PURE__ */ d(
4047
4065
  "div",
@@ -4100,7 +4118,7 @@ function ei({ queueDepth: t, color: n }) {
4100
4118
  }
4101
4119
  );
4102
4120
  }
4103
- function bt({
4121
+ function Zt({
4104
4122
  rotateX: t = -20,
4105
4123
  rotateY: n = 20,
4106
4124
  rotateZ: o = 0,
@@ -4109,12 +4127,12 @@ function bt({
4109
4127
  status: a = "online",
4110
4128
  name: s = "MSG-SRV-01",
4111
4129
  queueDepth: l = 45,
4112
- msgsPerSec: f = 230,
4130
+ msgsPerSec: h = 230,
4113
4131
  instances: c = 3,
4114
4132
  _compact: p
4115
4133
  }) {
4116
- const [h, y] = I(n), u = te(0), g = te(0);
4117
- Ae(() => {
4134
+ const [f, y] = L(n), u = ee(0), g = ee(0);
4135
+ Ee(() => {
4118
4136
  if (!r) {
4119
4137
  y(n);
4120
4138
  return;
@@ -4126,13 +4144,13 @@ function bt({
4126
4144
  cancelAnimationFrame(u.current), g.current = 0;
4127
4145
  };
4128
4146
  }, [r, n]);
4129
- const m = pt[a] ?? pt.online;
4147
+ const m = at[a] ?? at.online;
4130
4148
  return /* @__PURE__ */ d(
4131
4149
  "div",
4132
4150
  {
4133
4151
  style: {
4134
4152
  width: K * i,
4135
- height: V * i,
4153
+ height: Y * i,
4136
4154
  position: "relative",
4137
4155
  display: "flex",
4138
4156
  alignItems: "center",
@@ -4193,7 +4211,7 @@ function bt({
4193
4211
  style: {
4194
4212
  position: "absolute",
4195
4213
  width: K * 1.3 * i,
4196
- height: V * 2 * i,
4214
+ height: Y * 2 * i,
4197
4215
  background: `radial-gradient(ellipse, ${m.glow} 0%, transparent 65%)`,
4198
4216
  filter: `blur(${Math.round(40 * i)}px)`,
4199
4217
  pointerEvents: "none",
@@ -4217,29 +4235,29 @@ function bt({
4217
4235
  {
4218
4236
  style: {
4219
4237
  width: K,
4220
- height: V,
4238
+ height: Y,
4221
4239
  position: "relative",
4222
4240
  transformStyle: "preserve-3d",
4223
- transform: `rotateX(${t}deg) rotateY(${h}deg) rotateZ(${o}deg)`,
4241
+ transform: `rotateX(${t}deg) rotateY(${f}deg) rotateZ(${o}deg)`,
4224
4242
  transition: r ? "none" : "transform 0.55s cubic-bezier(0.25, 0.46, 0.45, 0.94)"
4225
4243
  },
4226
4244
  children: [
4227
- /* @__PURE__ */ e("div", { style: he.front, children: /* @__PURE__ */ e(
4228
- Zt,
4245
+ /* @__PURE__ */ e("div", { style: fe.front, children: /* @__PURE__ */ e(
4246
+ qt,
4229
4247
  {
4230
4248
  cfg: m,
4231
4249
  name: s,
4232
4250
  queueDepth: l,
4233
- msgsPerSec: f,
4251
+ msgsPerSec: h,
4234
4252
  instances: c,
4235
4253
  compact: p
4236
4254
  }
4237
4255
  ) }),
4238
- /* @__PURE__ */ e("div", { style: he.back, children: /* @__PURE__ */ e(Jt, {}) }),
4239
- /* @__PURE__ */ e("div", { style: he.left, children: /* @__PURE__ */ e(ft, { side: "left", color: m.color }) }),
4240
- /* @__PURE__ */ e("div", { style: he.right, children: /* @__PURE__ */ e(ft, { side: "right", color: m.color }) }),
4241
- /* @__PURE__ */ e("div", { style: he.top, children: /* @__PURE__ */ e(ei, { queueDepth: l, color: m.color }) }),
4242
- /* @__PURE__ */ e("div", { style: he.bottom, children: /* @__PURE__ */ e("div", { style: { width: K, height: ge, background: "#020508" } }) })
4256
+ /* @__PURE__ */ e("div", { style: fe.back, children: /* @__PURE__ */ e(Gt, {}) }),
4257
+ /* @__PURE__ */ e("div", { style: fe.left, children: /* @__PURE__ */ e(lt, { side: "left", color: m.color }) }),
4258
+ /* @__PURE__ */ e("div", { style: fe.right, children: /* @__PURE__ */ e(lt, { side: "right", color: m.color }) }),
4259
+ /* @__PURE__ */ e("div", { style: fe.top, children: /* @__PURE__ */ e(Kt, { queueDepth: l, color: m.color }) }),
4260
+ /* @__PURE__ */ e("div", { style: fe.bottom, children: /* @__PURE__ */ e("div", { style: { width: K, height: ge, background: "#020508" } }) })
4243
4261
  ]
4244
4262
  }
4245
4263
  )
@@ -4249,7 +4267,7 @@ function bt({
4249
4267
  }
4250
4268
  );
4251
4269
  }
4252
- function gt({ status: t = "online", scale: n = 1 }) {
4270
+ function ft({ status: t = "online", scale: n = 1 }) {
4253
4271
  const i = (w[t] ?? w.online).color;
4254
4272
  return /* @__PURE__ */ e(
4255
4273
  "div",
@@ -4361,15 +4379,15 @@ function gt({ status: t = "online", scale: n = 1 }) {
4361
4379
  }
4362
4380
  );
4363
4381
  }
4364
- function P(t, n, o = 24) {
4382
+ function C(t, n, o = 24) {
4365
4383
  return Array.from({ length: o }, (i, r) => {
4366
4384
  const a = r / o;
4367
4385
  return Math.min(100, Math.max(0, t + Math.sin(a * Math.PI * 2) * n + (Math.random() - 0.5) * 10));
4368
4386
  });
4369
4387
  }
4370
- function ti({ data: t, color: n, height: o = 28 }) {
4371
- const r = o, a = Math.max(...t, 1), s = t.map((l, f) => {
4372
- const c = f / (t.length - 1) * 120, p = r - l / a * (r - 4) - 2;
4388
+ function Jt({ data: t, color: n, height: o = 28 }) {
4389
+ const r = o, a = Math.max(...t, 1), s = t.map((l, h) => {
4390
+ const c = h / (t.length - 1) * 120, p = r - l / a * (r - 4) - 2;
4373
4391
  return `${c},${p}`;
4374
4392
  }).join(" ");
4375
4393
  return /* @__PURE__ */ e("svg", { width: 120, height: r, style: { display: "block", overflow: "visible" }, children: /* @__PURE__ */ e(
@@ -4385,7 +4403,7 @@ function ti({ data: t, color: n, height: o = 28 }) {
4385
4403
  }
4386
4404
  ) });
4387
4405
  }
4388
- function ii({
4406
+ function ei({
4389
4407
  type: t,
4390
4408
  name: n,
4391
4409
  context: o = {},
@@ -4393,7 +4411,7 @@ function ii({
4393
4411
  animPhase: r,
4394
4412
  series: a
4395
4413
  }) {
4396
- const s = i === "critical" || i === "offline" ? "#ff2255" : i === "warning" ? "#ff8c00" : "#00e5ff", l = a ? a.map((p) => ({ ...p })) : ni(t, o), f = r >= 0.3 ? 0 : -280, c = r >= 0.2 ? 1 : 0;
4414
+ const s = i === "critical" || i === "offline" ? "#ff2255" : i === "warning" ? "#ff8c00" : "#00e5ff", l = a ? a.map((p) => ({ ...p })) : ti(t, o), h = r >= 0.3 ? 0 : -280, c = r >= 0.2 ? 1 : 0;
4397
4415
  return /* @__PURE__ */ d(
4398
4416
  "div",
4399
4417
  {
@@ -4407,7 +4425,7 @@ function ii({
4407
4425
  display: "flex",
4408
4426
  flexDirection: "column",
4409
4427
  overflow: "hidden",
4410
- transform: `translateX(${f}px)`,
4428
+ transform: `translateX(${h}px)`,
4411
4429
  opacity: c,
4412
4430
  transition: "transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.4s ease"
4413
4431
  },
@@ -4429,7 +4447,7 @@ function ii({
4429
4447
  ]
4430
4448
  }
4431
4449
  ),
4432
- /* @__PURE__ */ e("div", { style: { flex: 1, overflowY: "auto", padding: "12px 10px", display: "flex", flexDirection: "column", gap: 16 }, children: l.map((p, h) => /* @__PURE__ */ d(
4450
+ /* @__PURE__ */ e("div", { style: { flex: 1, overflowY: "auto", padding: "12px 10px", display: "flex", flexDirection: "column", gap: 16 }, children: l.map((p, f) => /* @__PURE__ */ d(
4433
4451
  "div",
4434
4452
  {
4435
4453
  style: {
@@ -4437,7 +4455,7 @@ function ii({
4437
4455
  background: "rgba(0, 20, 40, 0.35)",
4438
4456
  border: `1px solid ${p.color}22`,
4439
4457
  borderRadius: 6,
4440
- transition: `opacity 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) ${h * 0.04}s`,
4458
+ transition: `opacity 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) ${f * 0.04}s`,
4441
4459
  opacity: r >= 0.5 ? 1 : 0
4442
4460
  },
4443
4461
  children: [
@@ -4448,7 +4466,7 @@ function ii({
4448
4466
  p.unit
4449
4467
  ] })
4450
4468
  ] }),
4451
- /* @__PURE__ */ e(ti, { data: p.data, color: p.color, height: 26 })
4469
+ /* @__PURE__ */ e(Jt, { data: p.data, color: p.color, height: 26 })
4452
4470
  ]
4453
4471
  },
4454
4472
  p.id
@@ -4457,43 +4475,43 @@ function ii({
4457
4475
  }
4458
4476
  );
4459
4477
  }
4460
- function ni(t, n) {
4478
+ function ti(t, n) {
4461
4479
  if (t === "server") {
4462
4480
  const o = n.cpuLoad ?? 50, i = n.memLoad ?? 60;
4463
4481
  return [
4464
- { id: "cpu", label: "CPU-0", unit: "%", color: "#00e5ff", data: P(o, 15) },
4465
- { id: "cpu1", label: "CPU-1", unit: "%", color: "#00e5ff", data: P(o * 0.7, 12) },
4466
- { id: "heap0", label: "HEAP-0", unit: "%", color: "#8855ee", data: P(i, 18) },
4467
- { id: "heap1", label: "HEAP-1", unit: "%", color: "#8855ee", data: P(i * 0.85, 14) },
4468
- { id: "drive1", label: "DRIVE-1 I/O", unit: "%", color: "#ff8c00", data: P(40, 25) },
4469
- { id: "drive2", label: "DRIVE-2 I/O", unit: "%", color: "#ff8c00", data: P(35, 20) },
4470
- { id: "drive3", label: "DRIVE-3 I/O", unit: "%", color: "#ff8c00", data: P(30, 22) },
4471
- { 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) }
4472
4490
  ];
4473
4491
  }
4474
4492
  if (t === "dispatcher" || t === "messageServer") {
4475
4493
  const o = n.traffic ?? n.queueDepth ?? 50;
4476
4494
  return [
4477
- { id: "traffic", label: "TRAFFIC", unit: "%", color: "#00e5ff", data: P(o, 20) },
4478
- { id: "port1", label: "PORT-1", unit: "kbps", color: "#22aaff", data: P(60, 25) },
4479
- { id: "port2", label: "PORT-2", unit: "kbps", color: "#22aaff", data: P(45, 20) },
4480
- { id: "port3", label: "PORT-3", unit: "kbps", color: "#22aaff", data: P(70, 30) },
4481
- { 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) }
4482
4500
  ];
4483
4501
  }
4484
4502
  if (t === "database") {
4485
4503
  const o = n.capacity ?? 70;
4486
4504
  return [
4487
- { id: "platter0", label: "PLATTER-0 I/O", unit: "%", color: "#ff8c00", data: P(40, 20) },
4488
- { id: "platter1", label: "PLATTER-1 I/O", unit: "%", color: "#ff8c00", data: P(55, 25) },
4489
- { id: "platter2", label: "PLATTER-2 I/O", unit: "%", color: "#ff8c00", data: P(35, 18) },
4490
- { id: "connpool", label: "CONN-POOL", unit: "%", color: "#00e5ff", data: P(o, 15) },
4491
- { 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) }
4492
4510
  ];
4493
4511
  }
4494
4512
  return [];
4495
4513
  }
4496
- function yt({
4514
+ function ht({
4497
4515
  w: t,
4498
4516
  h: n,
4499
4517
  color: o,
@@ -4509,7 +4527,7 @@ function yt({
4509
4527
  style: {
4510
4528
  width: t,
4511
4529
  height: n,
4512
- background: we,
4530
+ background: Se,
4513
4531
  position: "relative",
4514
4532
  overflow: "hidden",
4515
4533
  borderRadius: 2,
@@ -4586,7 +4604,7 @@ function yt({
4586
4604
  }
4587
4605
  );
4588
4606
  }
4589
- function We({
4607
+ function De({
4590
4608
  color: t = "#00e5ff",
4591
4609
  label: n = "CPU-0",
4592
4610
  status: o = "online",
@@ -4599,7 +4617,7 @@ function We({
4599
4617
  style: {
4600
4618
  width: 52,
4601
4619
  height: 36,
4602
- background: we,
4620
+ background: Se,
4603
4621
  position: "relative",
4604
4622
  borderRadius: 2,
4605
4623
  border: `1px solid ${t}55`,
@@ -4697,7 +4715,7 @@ function We({
4697
4715
  )
4698
4716
  ] });
4699
4717
  }
4700
- function ze({
4718
+ function We({
4701
4719
  color: t = "#00e5ff",
4702
4720
  label: n = "HEAP-0",
4703
4721
  status: o = "online",
@@ -4800,7 +4818,7 @@ function ye({
4800
4818
  status: o = "online",
4801
4819
  activity: i = !1
4802
4820
  }) {
4803
- return /* @__PURE__ */ d(yt, { w: 56, h: 22, color: t, label: n, status: o, children: [
4821
+ return /* @__PURE__ */ d(ht, { w: 56, h: 22, color: t, label: n, status: o, children: [
4804
4822
  /* @__PURE__ */ e(
4805
4823
  "div",
4806
4824
  {
@@ -4833,7 +4851,7 @@ function ye({
4833
4851
  )
4834
4852
  ] });
4835
4853
  }
4836
- function mt({
4854
+ function ut({
4837
4855
  color: t = "#00e5ff",
4838
4856
  label: n = "NET",
4839
4857
  status: o = "online"
@@ -4844,7 +4862,7 @@ function mt({
4844
4862
  style: {
4845
4863
  width: 48,
4846
4864
  height: 28,
4847
- background: we,
4865
+ background: Se,
4848
4866
  position: "relative",
4849
4867
  borderRadius: 2,
4850
4868
  border: `1px solid ${t}44`,
@@ -4897,14 +4915,14 @@ function mt({
4897
4915
  }
4898
4916
  );
4899
4917
  }
4900
- function D({
4918
+ function O({
4901
4919
  color: t = "#00e5ff",
4902
4920
  label: n = "THREAD",
4903
4921
  status: o = "online"
4904
4922
  }) {
4905
- return /* @__PURE__ */ e(yt, { w: 44, h: 28, color: t, label: n, status: o });
4923
+ return /* @__PURE__ */ e(ht, { w: 44, h: 28, color: t, label: n, status: o });
4906
4924
  }
4907
- function Oe({
4925
+ function Ie({
4908
4926
  color: t = "#ff8c00",
4909
4927
  label: n = "PLATTER-0",
4910
4928
  status: o = "online",
@@ -5058,7 +5076,7 @@ function B({
5058
5076
  }
5059
5077
  );
5060
5078
  }
5061
- function oi(t, n, o, i) {
5079
+ function ii(t, n, o, i) {
5062
5080
  const r = o === "online" ? "online" : o;
5063
5081
  return t === "server" ? [
5064
5082
  {
@@ -5162,8 +5180,8 @@ function oi(t, n, o, i) {
5162
5180
  }
5163
5181
  ] : [];
5164
5182
  }
5165
- const A = "cubic-bezier(0.34, 1.56, 0.64, 1)", ri = "cubic-bezier(0.16, 1, 0.3, 1)";
5166
- function ai({ items: t, revealPhase: n }) {
5183
+ const T = "cubic-bezier(0.34, 1.56, 0.64, 1)", ni = "cubic-bezier(0.16, 1, 0.3, 1)";
5184
+ function oi({ items: t, revealPhase: n }) {
5167
5185
  return /* @__PURE__ */ e(
5168
5186
  "div",
5169
5187
  {
@@ -5181,7 +5199,7 @@ function ai({ items: t, revealPhase: n }) {
5181
5199
  style: {
5182
5200
  opacity: n >= 0.2 + i * 0.06 ? 1 : 0,
5183
5201
  transform: `scale(${n >= 0.2 + i * 0.06 ? 1 : 0.6})`,
5184
- transition: `opacity 0.4s ${A} ${i * 0.06}s, transform 0.45s ${A} ${i * 0.06}s`
5202
+ transition: `opacity 0.4s ${T} ${i * 0.06}s, transform 0.45s ${T} ${i * 0.06}s`
5185
5203
  },
5186
5204
  children: o.element
5187
5205
  },
@@ -5190,7 +5208,7 @@ function ai({ items: t, revealPhase: n }) {
5190
5208
  }
5191
5209
  );
5192
5210
  }
5193
- function li({
5211
+ function ri({
5194
5212
  type: t,
5195
5213
  status: n,
5196
5214
  context: o,
@@ -5199,12 +5217,12 @@ function li({
5199
5217
  }) {
5200
5218
  const a = w[n]?.color ?? w.online.color, s = "#ff8c00";
5201
5219
  if (t === "server") {
5202
- const l = o.cpuLoad ?? 50, f = o.memLoad ?? 60, c = [
5220
+ const l = o.cpuLoad ?? 50, h = o.memLoad ?? 60, c = [
5203
5221
  {
5204
5222
  key: "cpu0",
5205
5223
  delay: 0,
5206
5224
  el: /* @__PURE__ */ e(
5207
- We,
5225
+ De,
5208
5226
  {
5209
5227
  color: a,
5210
5228
  label: "CPU-0",
@@ -5218,7 +5236,7 @@ function li({
5218
5236
  key: "cpu1",
5219
5237
  delay: 1,
5220
5238
  el: /* @__PURE__ */ e(
5221
- We,
5239
+ De,
5222
5240
  {
5223
5241
  color: a,
5224
5242
  label: "CPU-1",
@@ -5232,12 +5250,12 @@ function li({
5232
5250
  key: "heap0",
5233
5251
  delay: 2,
5234
5252
  el: /* @__PURE__ */ e(
5235
- ze,
5253
+ We,
5236
5254
  {
5237
5255
  color: "#8855ee",
5238
5256
  label: "HEAP-0",
5239
5257
  status: i[2]?.status,
5240
- usedPercent: f,
5258
+ usedPercent: h,
5241
5259
  delay: "0.1s"
5242
5260
  }
5243
5261
  )
@@ -5246,12 +5264,12 @@ function li({
5246
5264
  key: "heap1",
5247
5265
  delay: 3,
5248
5266
  el: /* @__PURE__ */ e(
5249
- ze,
5267
+ We,
5250
5268
  {
5251
5269
  color: "#8855ee",
5252
5270
  label: "HEAP-1",
5253
5271
  status: i[3]?.status,
5254
- usedPercent: f * 0.85,
5272
+ usedPercent: h * 0.85,
5255
5273
  delay: "0.3s"
5256
5274
  }
5257
5275
  )
@@ -5290,12 +5308,12 @@ function li({
5290
5308
  {
5291
5309
  key: "thread",
5292
5310
  delay: 7,
5293
- el: /* @__PURE__ */ e(D, { color: a, label: "THREAD-POOL", status: i[7]?.status })
5311
+ el: /* @__PURE__ */ e(O, { color: a, label: "THREAD-POOL", status: i[7]?.status })
5294
5312
  },
5295
5313
  {
5296
5314
  key: "net",
5297
5315
  delay: 8,
5298
- el: /* @__PURE__ */ e(mt, { color: a, label: "NET", status: i[8]?.status })
5316
+ el: /* @__PURE__ */ e(ut, { color: a, label: "NET", status: i[8]?.status })
5299
5317
  }
5300
5318
  ];
5301
5319
  return /* @__PURE__ */ e(
@@ -5309,13 +5327,13 @@ function li({
5309
5327
  alignItems: "center",
5310
5328
  padding: 24
5311
5329
  },
5312
- children: c.map(({ key: p, delay: h, el: y }) => /* @__PURE__ */ e(
5330
+ children: c.map(({ key: p, delay: f, el: y }) => /* @__PURE__ */ e(
5313
5331
  "div",
5314
5332
  {
5315
5333
  style: {
5316
- opacity: r >= 0.2 + h * 0.08 ? 1 : 0,
5317
- transform: `scale(${r >= 0.2 + h * 0.08 ? 1 : 0.6})`,
5318
- transition: `opacity 0.4s ${A} ${h * 0.06}s, transform 0.45s ${A} ${h * 0.06}s`
5334
+ opacity: r >= 0.2 + f * 0.08 ? 1 : 0,
5335
+ transform: `scale(${r >= 0.2 + f * 0.08 ? 1 : 0.6})`,
5336
+ transition: `opacity 0.4s ${T} ${f * 0.06}s, transform 0.45s ${T} ${f * 0.06}s`
5319
5337
  },
5320
5338
  children: y
5321
5339
  },
@@ -5325,7 +5343,7 @@ function li({
5325
5343
  );
5326
5344
  }
5327
5345
  if (t === "dispatcher") {
5328
- const l = Array.from({ length: 8 }, (f, c) => {
5346
+ const l = Array.from({ length: 8 }, (h, c) => {
5329
5347
  const p = i[c];
5330
5348
  return /* @__PURE__ */ e(
5331
5349
  "div",
@@ -5333,7 +5351,7 @@ function li({
5333
5351
  style: {
5334
5352
  opacity: r >= 0.25 + c * 0.04 ? 1 : 0,
5335
5353
  transform: `scale(${r >= 0.25 + c * 0.04 ? 1 : 0.5})`,
5336
- transition: `opacity 0.35s ${A} ${c * 0.04}s, transform 0.4s ${A} ${c * 0.04}s`
5354
+ transition: `opacity 0.35s ${T} ${c * 0.04}s, transform 0.4s ${T} ${c * 0.04}s`
5337
5355
  },
5338
5356
  children: /* @__PURE__ */ e(B, { color: a, label: `PORT-${c + 1}`, status: p?.status })
5339
5357
  },
@@ -5359,9 +5377,9 @@ function li({
5359
5377
  style: {
5360
5378
  opacity: r >= 0.7 ? 1 : 0,
5361
5379
  transform: `scale(${r >= 0.7 ? 1 : 0.6})`,
5362
- transition: `all 0.4s ${A} 0.3s`
5380
+ transition: `all 0.4s ${T} 0.3s`
5363
5381
  },
5364
- children: /* @__PURE__ */ e(D, { color: a, label: "HTTP-WORKER", status: i[8]?.status })
5382
+ children: /* @__PURE__ */ e(O, { color: a, label: "HTTP-WORKER", status: i[8]?.status })
5365
5383
  }
5366
5384
  ),
5367
5385
  /* @__PURE__ */ e(
@@ -5370,9 +5388,9 @@ function li({
5370
5388
  style: {
5371
5389
  opacity: r >= 0.8 ? 1 : 0,
5372
5390
  transform: `scale(${r >= 0.8 ? 1 : 0.6})`,
5373
- transition: `all 0.4s ${A} 0.4s`
5391
+ transition: `all 0.4s ${T} 0.4s`
5374
5392
  },
5375
- children: /* @__PURE__ */ e(D, { color: "#bb55ff", label: "HTTPS-WORKER", status: i[9]?.status })
5393
+ children: /* @__PURE__ */ e(O, { color: "#bb55ff", label: "HTTPS-WORKER", status: i[9]?.status })
5376
5394
  }
5377
5395
  )
5378
5396
  ] })
@@ -5399,7 +5417,7 @@ function li({
5399
5417
  style: {
5400
5418
  opacity: r >= 0.25 + l * 0.1 ? 1 : 0,
5401
5419
  transform: `scale(${r >= 0.25 + l * 0.1 ? 1 : 0.6})`,
5402
- transition: `all 0.4s ${A} ${l * 0.08}s`
5420
+ transition: `all 0.4s ${T} ${l * 0.08}s`
5403
5421
  },
5404
5422
  children: /* @__PURE__ */ e(B, { color: "#bb55ff", label: `INST-${l}`, status: i[l]?.status })
5405
5423
  },
@@ -5411,9 +5429,9 @@ function li({
5411
5429
  style: {
5412
5430
  opacity: r >= 0.6 ? 1 : 0,
5413
5431
  transform: `scale(${r >= 0.6 ? 1 : 0.6})`,
5414
- transition: `all 0.4s ${A} 0.25s`
5432
+ transition: `all 0.4s ${T} 0.25s`
5415
5433
  },
5416
- children: /* @__PURE__ */ e(D, { color: "#bb55ff", label: "QUEUE-0", status: i[3]?.status })
5434
+ children: /* @__PURE__ */ e(O, { color: "#bb55ff", label: "QUEUE-0", status: i[3]?.status })
5417
5435
  }
5418
5436
  ),
5419
5437
  [4, 5, 6].map((l) => /* @__PURE__ */ e(
@@ -5422,10 +5440,10 @@ function li({
5422
5440
  style: {
5423
5441
  opacity: r >= 0.7 + (l - 4) * 0.08 ? 1 : 0,
5424
5442
  transform: `scale(${r >= 0.7 ? 1 : 0.6})`,
5425
- transition: `all 0.4s ${A} ${0.35 + (l - 4) * 0.05}s`
5443
+ transition: `all 0.4s ${T} ${0.35 + (l - 4) * 0.05}s`
5426
5444
  },
5427
5445
  children: /* @__PURE__ */ e(
5428
- D,
5446
+ O,
5429
5447
  {
5430
5448
  color: "#bb55ff",
5431
5449
  label: `WORKER-${l - 3}`,
@@ -5452,25 +5470,25 @@ function li({
5452
5470
  padding: 24
5453
5471
  },
5454
5472
  children: [
5455
- [0, 1, 2].map((f) => /* @__PURE__ */ e(
5473
+ [0, 1, 2].map((h) => /* @__PURE__ */ e(
5456
5474
  "div",
5457
5475
  {
5458
5476
  style: {
5459
- opacity: r >= 0.2 + f * 0.12 ? 1 : 0,
5460
- transform: `scale(${r >= 0.2 + f * 0.12 ? 1 : 0.5})`,
5461
- transition: `all 0.45s ${A} ${f * 0.1}s`
5477
+ opacity: r >= 0.2 + h * 0.12 ? 1 : 0,
5478
+ transform: `scale(${r >= 0.2 + h * 0.12 ? 1 : 0.5})`,
5479
+ transition: `all 0.45s ${T} ${h * 0.1}s`
5462
5480
  },
5463
5481
  children: /* @__PURE__ */ e(
5464
- Oe,
5482
+ Ie,
5465
5483
  {
5466
5484
  color: s,
5467
- label: `PLATTER-${f}`,
5468
- status: i[f]?.status,
5485
+ label: `PLATTER-${h}`,
5486
+ status: i[h]?.status,
5469
5487
  capacityPercent: l
5470
5488
  }
5471
5489
  )
5472
5490
  },
5473
- f
5491
+ h
5474
5492
  )),
5475
5493
  /* @__PURE__ */ e(
5476
5494
  "div",
@@ -5478,9 +5496,9 @@ function li({
5478
5496
  style: {
5479
5497
  opacity: r >= 0.6 ? 1 : 0,
5480
5498
  transform: `scale(${r >= 0.6 ? 1 : 0.6})`,
5481
- transition: `all 0.4s ${A} 0.3s`
5499
+ transition: `all 0.4s ${T} 0.3s`
5482
5500
  },
5483
- children: /* @__PURE__ */ e(D, { color: s, label: "CONN-POOL", status: i[3]?.status })
5501
+ children: /* @__PURE__ */ e(O, { color: s, label: "CONN-POOL", status: i[3]?.status })
5484
5502
  }
5485
5503
  ),
5486
5504
  /* @__PURE__ */ e(
@@ -5489,9 +5507,9 @@ function li({
5489
5507
  style: {
5490
5508
  opacity: r >= 0.75 ? 1 : 0,
5491
5509
  transform: `scale(${r >= 0.75 ? 1 : 0.6})`,
5492
- transition: `all 0.4s ${A} 0.4s`
5510
+ transition: `all 0.4s ${T} 0.4s`
5493
5511
  },
5494
- children: /* @__PURE__ */ e(D, { color: "#00ff88", label: "QUERY-CACHE", status: i[4]?.status })
5512
+ children: /* @__PURE__ */ e(O, { color: "#00ff88", label: "QUERY-CACHE", status: i[4]?.status })
5495
5513
  }
5496
5514
  )
5497
5515
  ]
@@ -5500,7 +5518,7 @@ function li({
5500
5518
  }
5501
5519
  return null;
5502
5520
  }
5503
- function Ei({
5521
+ function wi({
5504
5522
  type: t,
5505
5523
  name: n,
5506
5524
  status: o,
@@ -5510,7 +5528,7 @@ function Ei({
5510
5528
  subComponents: s,
5511
5529
  graphSeries: l
5512
5530
  }) {
5513
- const f = oi(t, n, o, a), c = w[o]?.color ?? w.online.color, p = r >= 0.1 ? 1 : r * 10, h = r >= 0.2 ? "-50%" : "0%", y = r >= 0.2 ? "50%" : "0%", u = r >= 0.25 ? Math.min(1, (r - 0.25) * 1.5) : 0;
5531
+ const h = ii(t, n, o, a), c = w[o]?.color ?? w.online.color, p = r >= 0.1 ? 1 : r * 10, f = r >= 0.2 ? "-50%" : "0%", y = r >= 0.2 ? "50%" : "0%", u = r >= 0.25 ? Math.min(1, (r - 0.25) * 1.5) : 0;
5514
5532
  return /* @__PURE__ */ d(
5515
5533
  "div",
5516
5534
  {
@@ -5534,13 +5552,13 @@ function Ei({
5534
5552
  backdropFilter: "blur(10px)",
5535
5553
  WebkitBackdropFilter: "blur(10px)",
5536
5554
  opacity: p,
5537
- transition: `opacity 0.4s ${ri}`
5555
+ transition: `opacity 0.4s ${ni}`
5538
5556
  },
5539
5557
  onClick: i
5540
5558
  }
5541
5559
  ),
5542
5560
  /* @__PURE__ */ e(
5543
- ii,
5561
+ ei,
5544
5562
  {
5545
5563
  type: t,
5546
5564
  name: n,
@@ -5583,8 +5601,8 @@ function Ei({
5583
5601
  background: "linear-gradient(90deg, rgba(2, 8, 20, 0.98) 0%, rgba(2, 12, 28, 0.95) 100%)",
5584
5602
  borderRight: `2px solid ${c}44`,
5585
5603
  boxShadow: "4px 0 32px rgba(0,0,0,0.6)",
5586
- transform: `translateX(${h})`,
5587
- transition: `transform 0.7s ${A}`
5604
+ transform: `translateX(${f})`,
5605
+ transition: `transform 0.7s ${T}`
5588
5606
  }
5589
5607
  }
5590
5608
  ),
@@ -5599,7 +5617,7 @@ function Ei({
5599
5617
  borderLeft: `2px solid ${c}44`,
5600
5618
  boxShadow: "-4px 0 32px rgba(0,0,0,0.6)",
5601
5619
  transform: `translateX(${y})`,
5602
- transition: `transform 0.7s ${A}`
5620
+ transition: `transform 0.7s ${T}`
5603
5621
  }
5604
5622
  }
5605
5623
  )
@@ -5622,7 +5640,7 @@ function Ei({
5622
5640
  display: "flex",
5623
5641
  flexDirection: "column",
5624
5642
  opacity: u >= 0.1 ? 1 : 0,
5625
- transition: `opacity 0.5s ${A} 0.2s`
5643
+ transition: `opacity 0.5s ${T} 0.2s`
5626
5644
  },
5627
5645
  children: [
5628
5646
  /* @__PURE__ */ d(
@@ -5710,14 +5728,14 @@ function Ei({
5710
5728
  }
5711
5729
  }
5712
5730
  ),
5713
- /* @__PURE__ */ e("div", { style: { flex: 1, padding: "8px 0 24px" }, children: s ? /* @__PURE__ */ e(ai, { items: s, revealPhase: u }) : /* @__PURE__ */ e(
5714
- li,
5731
+ /* @__PURE__ */ e("div", { style: { flex: 1, padding: "8px 0 24px" }, children: s ? /* @__PURE__ */ e(oi, { items: s, revealPhase: u }) : /* @__PURE__ */ e(
5732
+ ri,
5715
5733
  {
5716
5734
  type: t,
5717
5735
  name: n,
5718
5736
  status: o,
5719
5737
  context: a,
5720
- internal: f,
5738
+ internal: h,
5721
5739
  revealPhase: u
5722
5740
  }
5723
5741
  ) })
@@ -5731,102 +5749,7 @@ function Ei({
5731
5749
  }
5732
5750
  );
5733
5751
  }
5734
- const De = 330, _e = 350, si = 30;
5735
- function di(t) {
5736
- if (t === 1) return [{ ex: De, compactX: 0 }];
5737
- const n = Math.min(260, 520 / t), o = n * (t - 1), i = De - o / 2;
5738
- return Array.from({ length: t }, (r, a) => {
5739
- const s = i + a * n, l = (s - De) / o * si * 2;
5740
- return { ex: s, compactX: l };
5741
- });
5742
- }
5743
- function ci(t, n) {
5744
- switch (t.type) {
5745
- case "server":
5746
- return /* @__PURE__ */ e(
5747
- J,
5748
- {
5749
- status: n,
5750
- cpuLoad: t.context?.cpuLoad,
5751
- memLoad: t.context?.memLoad,
5752
- brandLabel: t.brandLabel
5753
- }
5754
- );
5755
- case "database":
5756
- return /* @__PURE__ */ e(Ee, { status: n, capacity: t.context?.capacity });
5757
- case "dispatcher":
5758
- return /* @__PURE__ */ e(nt, { status: n, traffic: t.context?.traffic });
5759
- case "messageServer":
5760
- return /* @__PURE__ */ e(bt, { status: n, queueDepth: t.context?.queueDepth });
5761
- default:
5762
- return /* @__PURE__ */ e(J, { status: n, brandLabel: t.brandLabel });
5763
- }
5764
- }
5765
- const pi = {
5766
- server: "APP SERVER",
5767
- database: "DATABASE",
5768
- dispatcher: "WEB DISPATCHER",
5769
- messageServer: "MSG SERVER"
5770
- };
5771
- function fi(t, n) {
5772
- return t < n / 2 ? { offsetX: -160, align: "left" } : { offsetX: 160, align: "right" };
5773
- }
5774
- function Ai({ name: t, status: n = "online", components: o }) {
5775
- const i = Xe(() => di(o.length), [o.length]), r = Xe(
5776
- () => i.map(({ ex: a }) => ({
5777
- from: [De, 200],
5778
- to: [a, _e],
5779
- visibleAtPhase: 3
5780
- })),
5781
- [i]
5782
- );
5783
- return /* @__PURE__ */ d(tt, { name: t, status: n, connections: r, children: [
5784
- o.map((a, s) => {
5785
- const { ex: l, compactX: f } = i[s], c = a.status ?? "online";
5786
- return /* @__PURE__ */ e(
5787
- C,
5788
- {
5789
- ex: l,
5790
- ey: _e,
5791
- compactOffset: { x: f, y: -20 },
5792
- zIndex: 8 - s,
5793
- label: a.name,
5794
- subLabel: a.subLabel ?? pi[a.type] ?? a.type.toUpperCase(),
5795
- componentInfo: {
5796
- type: a.type,
5797
- name: a.name,
5798
- status: c,
5799
- context: a.context,
5800
- dialogMetrics: a.dialogMetrics
5801
- },
5802
- children: ci(a, c)
5803
- },
5804
- a.name
5805
- );
5806
- }),
5807
- o.map((a, s) => {
5808
- if (!a.alert) return null;
5809
- const { ex: l } = i[s], f = a.status ?? "online", { offsetX: c, align: p } = fi(s, o.length);
5810
- return /* @__PURE__ */ e(
5811
- O,
5812
- {
5813
- ex: l,
5814
- ey: _e,
5815
- status: f,
5816
- title: a.name,
5817
- msg: a.alert.msg,
5818
- internalRef: a.alert.internalRef,
5819
- offsetX: c,
5820
- offsetY: -60,
5821
- align: p,
5822
- isVisible: !0
5823
- },
5824
- `alert-${a.name}`
5825
- );
5826
- })
5827
- ] });
5828
- }
5829
- function Ti({
5752
+ function Si({
5830
5753
  brandName: t = "BUSAUD AIOps",
5831
5754
  brandTag: n = "3D MONITOR",
5832
5755
  services: o = [],
@@ -5836,28 +5759,28 @@ function Ti({
5836
5759
  fontFamily: s,
5837
5760
  children: l
5838
5761
  }) {
5839
- const [f] = I(20), [c] = I(!1), [p] = I(!0), [h] = I(0.45), [y] = I(3.3), [u, g] = I("compact"), [m, x] = I(0), [v, $] = I(null), [b, k] = I(null), [T, R] = I(0), L = (E) => {
5840
- u === "compact" && ($(E), 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(() => {
5841
5764
  x(6), g("expanded");
5842
5765
  }, 2400));
5843
- }, z = () => {
5844
- b ? (k(null), R(0)) : u === "expanded" && (g("collapsing"), x(0), $(null), setTimeout(() => {
5845
- g((E) => E === "collapsing" ? "compact" : E);
5766
+ }, W = () => {
5767
+ b ? (k(null), P(0)) : u === "expanded" && (g("collapsing"), x(0), $(null), setTimeout(() => {
5768
+ g((R) => R === "collapsing" ? "compact" : R);
5846
5769
  }, 1e3));
5847
- }, F = (E) => {
5848
- k(E), R(0);
5770
+ }, X = (R) => {
5771
+ k(R), P(0);
5849
5772
  };
5850
- ee.useEffect(() => {
5773
+ J.useEffect(() => {
5851
5774
  if (!b) return;
5852
- const E = performance.now(), ke = 1200, re = () => {
5853
- const Be = performance.now() - E, Te = Math.min(1, Be / ke);
5854
- R(Te), Te < 1 && requestAnimationFrame(re);
5855
- }, se = requestAnimationFrame(re);
5856
- return () => cancelAnimationFrame(se);
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);
5778
+ }, le = requestAnimationFrame(oe);
5779
+ return () => cancelAnimationFrame(le);
5857
5780
  }, [b]);
5858
5781
  const j = () => {
5859
- k(null), R(0);
5860
- }, M = o.find((E) => E.name === v), ie = M?.status ?? "online", ne = M?.dbSync ?? !0, W = M?.metrics, H = M?.alerts, oe = 330, Se = 340, $e = b ? 1.15 : 1, Q = b ? -(b.ex - oe) * 0.06 : 0, N = b ? -(b.ey - Se) * 0.06 : 0;
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;
5861
5784
  return /* @__PURE__ */ d("div", { className: "app", style: s ? { fontFamily: s } : void 0, children: [
5862
5785
  /* @__PURE__ */ e(
5863
5786
  "div",
@@ -5872,7 +5795,7 @@ function Ti({
5872
5795
  backgroundPosition: "center center",
5873
5796
  backgroundRepeat: "no-repeat",
5874
5797
  transition: "transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1)",
5875
- transform: `translate(${Q}px, ${N}px) scale(${$e})`,
5798
+ transform: `translate(${V}px, ${M}px) scale(${ke})`,
5876
5799
  willChange: "transform"
5877
5800
  }
5878
5801
  }
@@ -5891,30 +5814,30 @@ function Ti({
5891
5814
  style: {
5892
5815
  cursor: u === "expanded" ? "zoom-out" : "default"
5893
5816
  },
5894
- onClick: z,
5817
+ onClick: W,
5895
5818
  children: /* @__PURE__ */ e(
5896
- Nt,
5819
+ Wt,
5897
5820
  {
5898
5821
  viewState: u,
5899
5822
  animPhase: m,
5900
5823
  selectedSystem: v,
5901
5824
  selectedComponent: b,
5902
- drillAnimPhase: T,
5903
- rotateY: f,
5825
+ drillAnimPhase: D,
5826
+ rotateY: h,
5904
5827
  autoRotateComponents: c,
5905
- componentScale: h,
5828
+ componentScale: f,
5906
5829
  drillZoom: y,
5907
5830
  autoRotateCarousel: p,
5908
5831
  carouselSpeed: a,
5909
5832
  logoUrl: r,
5910
- onSelectSystem: L,
5911
- onBackgroundClick: z,
5912
- onComponentClick: F,
5833
+ onSelectSystem: E,
5834
+ onBackgroundClick: W,
5835
+ onComponentClick: X,
5913
5836
  onCloseDrill: j,
5914
- selectedSystemStatus: ie,
5915
- selectedSystemDbSync: ne,
5916
- selectedSystemMetrics: W,
5917
- selectedSystemAlerts: H,
5837
+ selectedSystemStatus: te,
5838
+ selectedSystemDbSync: ie,
5839
+ selectedSystemMetrics: z,
5840
+ selectedSystemAlerts: F,
5918
5841
  children: l
5919
5842
  }
5920
5843
  )
@@ -5928,21 +5851,21 @@ function S(t, n, o = 24) {
5928
5851
  return Math.min(100, Math.max(0, t + Math.sin(a * Math.PI * 2) * n + (Math.random() - 0.5) * 10));
5929
5852
  });
5930
5853
  }
5931
- function xt(t) {
5854
+ function bt(t) {
5932
5855
  return t === "critical" || t === "offline" ? "#ff2255" : t === "warning" ? "#ff8c00" : "#00e5ff";
5933
5856
  }
5934
5857
  function me(t, n, o) {
5935
- const i = t === "online" ? "online" : t, r = xt(t), a = o?.cpuLoad ?? 50, s = o?.memLoad ?? 60, l = i === "critical" || i === "warning" && a > 80 ? i : "online", f = i === "warning" && s > 85 ? "warning" : i === "critical" ? "critical" : "online", c = i === "critical" && n === "APP-03" ? "critical" : "online", p = i === "offline" ? "offline" : "online";
5858
+ const i = t === "online" ? "online" : t, r = bt(t), a = o?.cpuLoad ?? 50, s = o?.memLoad ?? 60, l = i === "critical" || i === "warning" && a > 80 ? i : "online", h = i === "warning" && s > 85 ? "warning" : i === "critical" ? "critical" : "online", c = i === "critical" && n === "APP-03" ? "critical" : "online", p = i === "offline" ? "offline" : "online";
5936
5859
  return [
5937
- { id: "cpu-0", label: "CPU-0", status: l, detail: i === "critical" ? "Core overload" : i === "warning" ? "Load spike" : void 0, element: /* @__PURE__ */ e(We, { color: r, label: "CPU-0", status: l, load: a }) },
5938
- { id: "cpu-1", label: "CPU-1", status: "online", element: /* @__PURE__ */ e(We, { color: r, label: "CPU-1", status: "online", load: a * 0.7 }) },
5939
- { id: "heap-0", label: "HEAP-0", status: f, detail: f === "warning" ? "Memory heap usage" : f === "critical" ? "OOM risk" : void 0, element: /* @__PURE__ */ e(ze, { color: "#8855ee", label: "HEAP-0", status: f, usedPercent: s }) },
5940
- { id: "heap-1", label: "HEAP-1", status: "online", element: /* @__PURE__ */ e(ze, { color: "#8855ee", label: "HEAP-1", status: "online", usedPercent: s * 0.85 }) },
5860
+ { id: "cpu-0", label: "CPU-0", status: l, detail: i === "critical" ? "Core overload" : i === "warning" ? "Load spike" : void 0, element: /* @__PURE__ */ e(De, { color: r, label: "CPU-0", status: l, load: a }) },
5861
+ { id: "cpu-1", label: "CPU-1", status: "online", element: /* @__PURE__ */ e(De, { color: r, label: "CPU-1", status: "online", load: a * 0.7 }) },
5862
+ { id: "heap-0", label: "HEAP-0", status: h, detail: h === "warning" ? "Memory heap usage" : h === "critical" ? "OOM risk" : void 0, element: /* @__PURE__ */ e(We, { color: "#8855ee", label: "HEAP-0", status: h, usedPercent: s }) },
5863
+ { id: "heap-1", label: "HEAP-1", status: "online", element: /* @__PURE__ */ e(We, { color: "#8855ee", label: "HEAP-1", status: "online", usedPercent: s * 0.85 }) },
5941
5864
  { id: "drive-1", label: "DRIVE-1", status: "online", element: /* @__PURE__ */ e(ye, { color: r, label: "DRIVE-1", status: "online", activity: !0 }) },
5942
5865
  { id: "drive-2", label: "DRIVE-2", status: "online", element: /* @__PURE__ */ e(ye, { color: r, label: "DRIVE-2", status: "online", activity: a > 30 }) },
5943
5866
  { id: "drive-3", label: "DRIVE-3", status: "online", element: /* @__PURE__ */ e(ye, { color: r, label: "DRIVE-3", status: "online", activity: a > 50 }) },
5944
- { id: "thread-pool", label: "THREAD-POOL", status: c, detail: c === "critical" ? "Thread exhaustion" : void 0, element: /* @__PURE__ */ e(D, { color: r, label: "THREAD-POOL", status: c }) },
5945
- { id: "network", label: "NET", status: p, element: /* @__PURE__ */ e(mt, { color: r, label: "NET", status: p }) }
5867
+ { id: "thread-pool", label: "THREAD-POOL", status: c, detail: c === "critical" ? "Thread exhaustion" : void 0, element: /* @__PURE__ */ e(O, { color: r, label: "THREAD-POOL", status: c }) },
5868
+ { id: "network", label: "NET", status: p, element: /* @__PURE__ */ e(ut, { color: r, label: "NET", status: p }) }
5946
5869
  ];
5947
5870
  }
5948
5871
  function xe(t) {
@@ -5958,8 +5881,8 @@ function xe(t) {
5958
5881
  { id: "thread", label: "THREAD-POOL", unit: "%", color: "#22aaff", data: S(55, 20) }
5959
5882
  ];
5960
5883
  }
5961
- function vt(t, n, o) {
5962
- const i = t === "online" ? "online" : t, r = xt(t), a = i === "critical" || i === "offline" ? i : "online", s = i === "warning" ? "warning" : "online", l = i === "critical" ? "critical" : "online";
5884
+ function gt(t, n, o) {
5885
+ const i = t === "online" ? "online" : t, r = bt(t), a = i === "critical" || i === "offline" ? i : "online", s = i === "warning" ? "warning" : "online", l = i === "critical" ? "critical" : "online";
5963
5886
  return [
5964
5887
  { id: "port-1", label: "PORT-1", status: "online", element: /* @__PURE__ */ e(B, { color: r, label: "PORT-1", status: "online" }) },
5965
5888
  { id: "port-2", label: "PORT-2", status: "online", element: /* @__PURE__ */ e(B, { color: r, label: "PORT-2", status: "online" }) },
@@ -5969,11 +5892,11 @@ function vt(t, n, o) {
5969
5892
  { id: "port-6", label: "PORT-6", status: "online", element: /* @__PURE__ */ e(B, { color: r, label: "PORT-6", status: "online" }) },
5970
5893
  { id: "port-7", label: "PORT-7", status: "online", element: /* @__PURE__ */ e(B, { color: r, label: "PORT-7", status: "online" }) },
5971
5894
  { id: "port-8", label: "PORT-8", status: "online", element: /* @__PURE__ */ e(B, { color: r, label: "PORT-8", status: "online" }) },
5972
- { id: "http-worker", label: "HTTP-WORKER", status: l, detail: l === "critical" ? "Worker timeout" : void 0, element: /* @__PURE__ */ e(D, { color: r, label: "HTTP-WORKER", status: l }) },
5973
- { id: "https-worker", label: "HTTPS-WORKER", status: "online", element: /* @__PURE__ */ e(D, { color: "#bb55ff", label: "HTTPS-WORKER", status: "online" }) }
5895
+ { id: "http-worker", label: "HTTP-WORKER", status: l, detail: l === "critical" ? "Worker timeout" : void 0, element: /* @__PURE__ */ e(O, { color: r, label: "HTTP-WORKER", status: l }) },
5896
+ { id: "https-worker", label: "HTTPS-WORKER", status: "online", element: /* @__PURE__ */ e(O, { color: "#bb55ff", label: "HTTPS-WORKER", status: "online" }) }
5974
5897
  ];
5975
5898
  }
5976
- function wt(t) {
5899
+ function yt(t) {
5977
5900
  const n = t?.traffic ?? 50;
5978
5901
  return [
5979
5902
  { id: "traffic", label: "TRAFFIC", unit: "%", color: "#00e5ff", data: S(n, 20) },
@@ -5983,19 +5906,19 @@ function wt(t) {
5983
5906
  { id: "worker", label: "WORKER", unit: "%", color: "#bb55ff", data: S(n * 0.9, 15) }
5984
5907
  ];
5985
5908
  }
5986
- function hi(t, n, o) {
5909
+ function ai(t, n, o) {
5987
5910
  const i = t === "online" ? "online" : t, r = i === "critical" ? "critical" : "online", a = i === "critical" || i === "offline" ? i : i === "warning" ? "warning" : "online", s = i === "critical" ? "critical" : "online";
5988
5911
  return [
5989
5912
  { id: "inst-0", label: "INST-0", status: "online", element: /* @__PURE__ */ e(B, { color: "#bb55ff", label: "INST-0", status: "online" }) },
5990
5913
  { id: "inst-1", label: "INST-1", status: "online", element: /* @__PURE__ */ e(B, { color: "#bb55ff", label: "INST-1", status: "online" }) },
5991
5914
  { id: "inst-2", label: "INST-2", status: r, detail: r === "critical" ? "Instance unreachable" : void 0, element: /* @__PURE__ */ e(B, { color: "#bb55ff", label: "INST-2", status: r }) },
5992
- { id: "queue-0", label: "QUEUE-0", status: a, detail: i === "critical" ? "Queue full" : i === "offline" ? "Unreachable" : i === "warning" ? "Queue depth warning" : void 0, element: /* @__PURE__ */ e(D, { color: "#bb55ff", label: "QUEUE-0", status: a }) },
5993
- { id: "worker-1", label: "WORKER-1", status: "online", element: /* @__PURE__ */ e(D, { color: "#bb55ff", label: "WORKER-1", status: "online" }) },
5994
- { id: "worker-2", label: "WORKER-2", status: "online", element: /* @__PURE__ */ e(D, { color: "#bb55ff", label: "WORKER-2", status: "online" }) },
5995
- { id: "worker-3", label: "WORKER-3", status: s, detail: s === "critical" ? "Worker timeout" : void 0, element: /* @__PURE__ */ e(D, { color: "#bb55ff", label: "WORKER-3", status: s }) }
5915
+ { id: "queue-0", label: "QUEUE-0", status: a, detail: i === "critical" ? "Queue full" : i === "offline" ? "Unreachable" : i === "warning" ? "Queue depth warning" : void 0, element: /* @__PURE__ */ e(O, { color: "#bb55ff", label: "QUEUE-0", status: a }) },
5916
+ { id: "worker-1", label: "WORKER-1", status: "online", element: /* @__PURE__ */ e(O, { color: "#bb55ff", label: "WORKER-1", status: "online" }) },
5917
+ { id: "worker-2", label: "WORKER-2", status: "online", element: /* @__PURE__ */ e(O, { color: "#bb55ff", label: "WORKER-2", status: "online" }) },
5918
+ { id: "worker-3", label: "WORKER-3", status: s, detail: s === "critical" ? "Worker timeout" : void 0, element: /* @__PURE__ */ e(O, { color: "#bb55ff", label: "WORKER-3", status: s }) }
5996
5919
  ];
5997
5920
  }
5998
- function ui(t) {
5921
+ function li(t) {
5999
5922
  const n = t?.queueDepth ?? 50;
6000
5923
  return [
6001
5924
  { id: "traffic", label: "TRAFFIC", unit: "%", color: "#00e5ff", data: S(n, 20) },
@@ -6005,17 +5928,17 @@ function ui(t) {
6005
5928
  { id: "worker", label: "WORKER", unit: "%", color: "#bb55ff", data: S(n * 0.9, 15) }
6006
5929
  ];
6007
5930
  }
6008
- function Me(t, n, o) {
6009
- const i = t === "online" ? "online" : t, r = "#ff8c00", a = o?.capacity ?? 72, s = i === "critical" || i === "offline" ? i : i === "warning" ? "warning" : "online", l = i === "warning" && n === "DB-STB" ? "warning" : "online", f = i === "critical" ? "critical" : "online", c = i === "warning" ? "warning" : "online";
5931
+ function ze(t, n, o) {
5932
+ const i = t === "online" ? "online" : t, r = "#ff8c00", a = o?.capacity ?? 72, s = i === "critical" || i === "offline" ? i : i === "warning" ? "warning" : "online", l = i === "warning" && n === "DB-STB" ? "warning" : "online", h = i === "critical" ? "critical" : "online", c = i === "warning" ? "warning" : "online";
6010
5933
  return [
6011
- { id: "platter-0", label: "PLATTER-0", status: "online", element: /* @__PURE__ */ e(Oe, { color: r, label: "PLATTER-0", status: "online", capacityPercent: a }) },
6012
- { id: "platter-1", label: "PLATTER-1", status: s, detail: i === "critical" ? "I/O failure" : i === "offline" ? "Connection lost" : i === "warning" ? "Slow queries" : void 0, element: /* @__PURE__ */ e(Oe, { color: r, label: "PLATTER-1", status: s, capacityPercent: a }) },
6013
- { id: "platter-2", label: "PLATTER-2", status: l, detail: l === "warning" ? "Replication lag" : void 0, element: /* @__PURE__ */ e(Oe, { color: r, label: "PLATTER-2", status: l, capacityPercent: a }) },
6014
- { id: "conn-pool", label: "CONN-POOL", status: f, detail: f === "critical" ? "Pool exhausted" : void 0, element: /* @__PURE__ */ e(D, { color: r, label: "CONN-POOL", status: f }) },
6015
- { id: "query-cache", label: "QUERY-CACHE", status: c, detail: c === "warning" ? "Cache miss rate" : void 0, element: /* @__PURE__ */ e(D, { color: "#00ff88", label: "QUERY-CACHE", status: c }) }
5934
+ { id: "platter-0", label: "PLATTER-0", status: "online", element: /* @__PURE__ */ e(Ie, { color: r, label: "PLATTER-0", status: "online", capacityPercent: a }) },
5935
+ { id: "platter-1", label: "PLATTER-1", status: s, detail: i === "critical" ? "I/O failure" : i === "offline" ? "Connection lost" : i === "warning" ? "Slow queries" : void 0, element: /* @__PURE__ */ e(Ie, { color: r, label: "PLATTER-1", status: s, capacityPercent: a }) },
5936
+ { id: "platter-2", label: "PLATTER-2", status: l, detail: l === "warning" ? "Replication lag" : void 0, element: /* @__PURE__ */ e(Ie, { color: r, label: "PLATTER-2", status: l, capacityPercent: a }) },
5937
+ { id: "conn-pool", label: "CONN-POOL", status: h, detail: h === "critical" ? "Pool exhausted" : void 0, element: /* @__PURE__ */ e(O, { color: r, label: "CONN-POOL", status: h }) },
5938
+ { id: "query-cache", label: "QUERY-CACHE", status: c, detail: c === "warning" ? "Cache miss rate" : void 0, element: /* @__PURE__ */ e(O, { color: "#00ff88", label: "QUERY-CACHE", status: c }) }
6016
5939
  ];
6017
5940
  }
6018
- function Ne(t) {
5941
+ function Me(t) {
6019
5942
  const n = t?.capacity ?? 70;
6020
5943
  return [
6021
5944
  { id: "platter0", label: "PLATTER-0 I/O", unit: "%", color: "#ff8c00", data: S(40, 20) },
@@ -6025,7 +5948,7 @@ function Ne(t) {
6025
5948
  { id: "cache", label: "QUERY-CACHE", unit: "%", color: "#00ff88", data: S(75, 12) }
6026
5949
  ];
6027
5950
  }
6028
- function ot(t) {
5951
+ function Je(t) {
6029
5952
  const n = [
6030
5953
  t.wdStatus,
6031
5954
  t.msStatus,
@@ -6037,8 +5960,8 @@ function ot(t) {
6037
5960
  ];
6038
5961
  return n.includes("critical") ? "critical" : n.includes("warning") ? "warning" : n.includes("offline") ? "offline" : "online";
6039
5962
  }
6040
- function Li(t) {
6041
- const n = ot(t), o = n === "critical" || n === "offline", i = n === "warning";
5963
+ function $i(t) {
5964
+ const n = Je(t), o = n === "critical" || n === "offline", i = n === "warning";
6042
5965
  return [
6043
5966
  {
6044
5967
  label: "Uptime",
@@ -6059,8 +5982,8 @@ function Li(t) {
6059
5982
  }
6060
5983
  ];
6061
5984
  }
6062
- function Ii(t) {
6063
- const n = ot(t), o = n === "critical" || n === "offline", i = n === "warning";
5985
+ function ki(t) {
5986
+ const n = Je(t), o = n === "critical" || n === "offline", i = n === "warning";
6064
5987
  return [
6065
5988
  ...t.dbSync ? [] : [{ level: "warning", message: "DB Replication Lag Detected" }],
6066
5989
  ...o ? [{ level: "critical", message: "Critical Component Failure" }] : [],
@@ -6068,7 +5991,7 @@ function Ii(t) {
6068
5991
  ...!o && !i && t.dbSync ? [{ level: "info", message: "All Systems Nominal" }] : []
6069
5992
  ];
6070
5993
  }
6071
- const bi = [
5994
+ const si = [
6072
5995
  { from: [330, 120], to: [220, 260], visibleAtPhase: 3 },
6073
5996
  { from: [330, 120], to: [440, 260], visibleAtPhase: 3 },
6074
5997
  { from: [220, 260], to: [165, 390], visibleAtPhase: 4 },
@@ -6081,11 +6004,11 @@ const bi = [
6081
6004
  { from: [330, 390], to: [200, 520], visibleAtPhase: 5, color: "#ff8c00" },
6082
6005
  { from: [495, 390], to: [200, 520], visibleAtPhase: 5, color: "#ff8c00" }
6083
6006
  ];
6084
- function gi({ config: t }) {
6085
- const n = ee.useContext(le), o = n?.rotateY ?? 20, i = n?.autoRotateComponents ?? !0, { wdStatus: r, msStatus: a, srv1Status: s, srv2Status: l, srv3Status: f, pdbStatus: c, sdbStatus: p, dbSync: h } = t;
6086
- return /* @__PURE__ */ d(Ce, { children: [
6007
+ function di({ config: t }) {
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;
6009
+ return /* @__PURE__ */ d(ve, { children: [
6087
6010
  /* @__PURE__ */ e(
6088
- C,
6011
+ A,
6089
6012
  {
6090
6013
  ex: 330,
6091
6014
  ey: 120,
@@ -6093,11 +6016,11 @@ function gi({ config: t }) {
6093
6016
  zIndex: 10,
6094
6017
  visibleAtPhase: 2,
6095
6018
  color: "#00e5ff",
6096
- children: /* @__PURE__ */ e(gt, { status: "online", scale: 1.5 })
6019
+ children: /* @__PURE__ */ e(ft, { status: "online", scale: 1.5 })
6097
6020
  }
6098
6021
  ),
6099
6022
  /* @__PURE__ */ e(
6100
- C,
6023
+ A,
6101
6024
  {
6102
6025
  ex: 220,
6103
6026
  ey: 260,
@@ -6112,11 +6035,11 @@ function gi({ config: t }) {
6112
6035
  name: "WEB-DISP",
6113
6036
  status: r,
6114
6037
  context: { traffic: 78 },
6115
- subComponents: vt(r),
6116
- graphSeries: wt({ traffic: 78 })
6038
+ subComponents: gt(r),
6039
+ graphSeries: yt({ traffic: 78 })
6117
6040
  },
6118
6041
  children: /* @__PURE__ */ e(
6119
- nt,
6042
+ pt,
6120
6043
  {
6121
6044
  rotateY: o,
6122
6045
  autoRotate: i,
@@ -6130,7 +6053,7 @@ function gi({ config: t }) {
6130
6053
  }
6131
6054
  ),
6132
6055
  /* @__PURE__ */ e(
6133
- C,
6056
+ A,
6134
6057
  {
6135
6058
  ex: 440,
6136
6059
  ey: 260,
@@ -6145,11 +6068,11 @@ function gi({ config: t }) {
6145
6068
  name: "MSG-SRV",
6146
6069
  status: a,
6147
6070
  context: { queueDepth: 45 },
6148
- subComponents: hi(a),
6149
- graphSeries: ui({ queueDepth: 45 })
6071
+ subComponents: ai(a),
6072
+ graphSeries: li({ queueDepth: 45 })
6150
6073
  },
6151
6074
  children: /* @__PURE__ */ e(
6152
- bt,
6075
+ Zt,
6153
6076
  {
6154
6077
  rotateY: -o,
6155
6078
  autoRotate: i,
@@ -6164,7 +6087,7 @@ function gi({ config: t }) {
6164
6087
  }
6165
6088
  ),
6166
6089
  /* @__PURE__ */ e(
6167
- C,
6090
+ A,
6168
6091
  {
6169
6092
  ex: 165,
6170
6093
  ey: 390,
@@ -6183,7 +6106,7 @@ function gi({ config: t }) {
6183
6106
  graphSeries: xe({ cpuLoad: 67, memLoad: 72 })
6184
6107
  },
6185
6108
  children: /* @__PURE__ */ e(
6186
- J,
6109
+ ue,
6187
6110
  {
6188
6111
  rotateY: o,
6189
6112
  autoRotate: i,
@@ -6197,7 +6120,7 @@ function gi({ config: t }) {
6197
6120
  }
6198
6121
  ),
6199
6122
  /* @__PURE__ */ e(
6200
- C,
6123
+ A,
6201
6124
  {
6202
6125
  ex: 330,
6203
6126
  ey: 390,
@@ -6216,7 +6139,7 @@ function gi({ config: t }) {
6216
6139
  graphSeries: xe({ cpuLoad: 89, memLoad: 91 })
6217
6140
  },
6218
6141
  children: /* @__PURE__ */ e(
6219
- J,
6142
+ ue,
6220
6143
  {
6221
6144
  rotateY: o,
6222
6145
  autoRotate: i,
@@ -6230,7 +6153,7 @@ function gi({ config: t }) {
6230
6153
  }
6231
6154
  ),
6232
6155
  /* @__PURE__ */ e(
6233
- C,
6156
+ A,
6234
6157
  {
6235
6158
  ex: 495,
6236
6159
  ey: 390,
@@ -6243,17 +6166,17 @@ function gi({ config: t }) {
6243
6166
  componentInfo: {
6244
6167
  type: "server",
6245
6168
  name: "APP-03",
6246
- status: f,
6169
+ status: h,
6247
6170
  context: { cpuLoad: 45, memLoad: 63 },
6248
- subComponents: me(f, "APP-03", { cpuLoad: 45, memLoad: 63 }),
6171
+ subComponents: me(h, "APP-03", { cpuLoad: 45, memLoad: 63 }),
6249
6172
  graphSeries: xe({ cpuLoad: 45, memLoad: 63 })
6250
6173
  },
6251
6174
  children: /* @__PURE__ */ e(
6252
- J,
6175
+ ue,
6253
6176
  {
6254
6177
  rotateY: o,
6255
6178
  autoRotate: i,
6256
- status: f,
6179
+ status: h,
6257
6180
  name: "APP-03",
6258
6181
  cpuLoad: 45,
6259
6182
  memLoad: 63,
@@ -6263,7 +6186,7 @@ function gi({ config: t }) {
6263
6186
  }
6264
6187
  ),
6265
6188
  /* @__PURE__ */ e(
6266
- C,
6189
+ A,
6267
6190
  {
6268
6191
  ex: 200,
6269
6192
  ey: 520,
@@ -6278,11 +6201,11 @@ function gi({ config: t }) {
6278
6201
  name: "DB-PRI",
6279
6202
  status: c,
6280
6203
  context: { capacity: 72 },
6281
- subComponents: Me(c, "DB-PRI", { capacity: 72 }),
6282
- graphSeries: Ne({ capacity: 72 })
6204
+ subComponents: ze(c, "DB-PRI", { capacity: 72 }),
6205
+ graphSeries: Me({ capacity: 72 })
6283
6206
  },
6284
6207
  children: /* @__PURE__ */ e(
6285
- Ee,
6208
+ Oe,
6286
6209
  {
6287
6210
  rotateY: -o,
6288
6211
  autoRotate: i,
@@ -6296,7 +6219,7 @@ function gi({ config: t }) {
6296
6219
  }
6297
6220
  ),
6298
6221
  /* @__PURE__ */ e(
6299
- C,
6222
+ A,
6300
6223
  {
6301
6224
  ex: 460,
6302
6225
  ey: 520,
@@ -6311,11 +6234,11 @@ function gi({ config: t }) {
6311
6234
  name: "DB-STB",
6312
6235
  status: p,
6313
6236
  context: { capacity: 72 },
6314
- subComponents: Me(p, "DB-STB", { capacity: 72 }),
6315
- graphSeries: Ne({ capacity: 72 })
6237
+ subComponents: ze(p, "DB-STB", { capacity: 72 }),
6238
+ graphSeries: Me({ capacity: 72 })
6316
6239
  },
6317
6240
  children: /* @__PURE__ */ e(
6318
- Ee,
6241
+ Oe,
6319
6242
  {
6320
6243
  rotateY: o,
6321
6244
  autoRotate: i,
@@ -6329,7 +6252,7 @@ function gi({ config: t }) {
6329
6252
  }
6330
6253
  ),
6331
6254
  /* @__PURE__ */ e(
6332
- C,
6255
+ A,
6333
6256
  {
6334
6257
  ex: 330,
6335
6258
  ey: 520,
@@ -6338,17 +6261,17 @@ function gi({ config: t }) {
6338
6261
  visibleAtPhase: 6,
6339
6262
  fixedScale: 1,
6340
6263
  bare: !0,
6341
- children: /* @__PURE__ */ e(ut, { synced: h, latencyMs: h ? 8 : 342 })
6264
+ children: /* @__PURE__ */ e(ct, { synced: f, latencyMs: f ? 8 : 342 })
6342
6265
  }
6343
6266
  ),
6344
- /* @__PURE__ */ e(yi, { config: t })
6267
+ /* @__PURE__ */ e(ci, { config: t })
6345
6268
  ] });
6346
6269
  }
6347
- function yi({ config: t }) {
6348
- const n = ee.useContext(le), { wdStatus: o, msStatus: i, srv1Status: r, srv2Status: a, srv3Status: s, pdbStatus: l, sdbStatus: f, dbSync: c } = t, p = n?.isSelected && n?.isExpandedPos;
6270
+ function ci({ config: t }) {
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;
6349
6272
  return n?.isSelected ? /* @__PURE__ */ d("div", { style: { pointerEvents: "none" }, children: [
6350
6273
  /* @__PURE__ */ e(
6351
- O,
6274
+ I,
6352
6275
  {
6353
6276
  ex: 220,
6354
6277
  ey: 260,
@@ -6363,7 +6286,7 @@ function yi({ config: t }) {
6363
6286
  }
6364
6287
  ),
6365
6288
  /* @__PURE__ */ e(
6366
- O,
6289
+ I,
6367
6290
  {
6368
6291
  ex: 440,
6369
6292
  ey: 260,
@@ -6378,7 +6301,7 @@ function yi({ config: t }) {
6378
6301
  }
6379
6302
  ),
6380
6303
  /* @__PURE__ */ e(
6381
- O,
6304
+ I,
6382
6305
  {
6383
6306
  ex: 165,
6384
6307
  ey: 390,
@@ -6393,7 +6316,7 @@ function yi({ config: t }) {
6393
6316
  }
6394
6317
  ),
6395
6318
  /* @__PURE__ */ e(
6396
- O,
6319
+ I,
6397
6320
  {
6398
6321
  ex: 330,
6399
6322
  ey: 390,
@@ -6408,7 +6331,7 @@ function yi({ config: t }) {
6408
6331
  }
6409
6332
  ),
6410
6333
  /* @__PURE__ */ e(
6411
- O,
6334
+ I,
6412
6335
  {
6413
6336
  ex: 495,
6414
6337
  ey: 390,
@@ -6423,7 +6346,7 @@ function yi({ config: t }) {
6423
6346
  }
6424
6347
  ),
6425
6348
  /* @__PURE__ */ e(
6426
- O,
6349
+ I,
6427
6350
  {
6428
6351
  ex: 200,
6429
6352
  ey: 520,
@@ -6438,22 +6361,22 @@ function yi({ config: t }) {
6438
6361
  }
6439
6362
  ),
6440
6363
  /* @__PURE__ */ e(
6441
- O,
6364
+ I,
6442
6365
  {
6443
6366
  ex: 460,
6444
6367
  ey: 520,
6445
- status: f,
6368
+ status: h,
6446
6369
  title: "DB-STB",
6447
- msg: f === "critical" || f === "offline" ? "Sync failure." : "Replication lag.",
6370
+ msg: h === "critical" || h === "offline" ? "Sync failure." : "Replication lag.",
6448
6371
  offsetX: 110,
6449
6372
  offsetY: 30,
6450
6373
  align: "right",
6451
6374
  isVisible: !!p,
6452
- internalRef: f !== "online" ? "PLATTER-2" : void 0
6375
+ internalRef: h !== "online" ? "PLATTER-2" : void 0
6453
6376
  }
6454
6377
  ),
6455
6378
  !c && /* @__PURE__ */ e(
6456
- O,
6379
+ I,
6457
6380
  {
6458
6381
  ex: 330,
6459
6382
  ey: 520,
@@ -6469,19 +6392,19 @@ function yi({ config: t }) {
6469
6392
  )
6470
6393
  ] }) : null;
6471
6394
  }
6472
- function Oi({ config: t, ...n }) {
6395
+ function Ri({ config: t, ...n }) {
6473
6396
  return /* @__PURE__ */ e(
6474
- tt,
6397
+ dt,
6475
6398
  {
6476
6399
  name: t.name,
6477
- status: ot(t),
6478
- connections: bi,
6400
+ status: Je(t),
6401
+ connections: si,
6479
6402
  ...n,
6480
- children: /* @__PURE__ */ e(gi, { config: t })
6403
+ children: /* @__PURE__ */ e(di, { config: t })
6481
6404
  }
6482
6405
  );
6483
6406
  }
6484
- function rt(t) {
6407
+ function et(t) {
6485
6408
  const n = [
6486
6409
  t.dispStatus,
6487
6410
  t.srv1Status,
@@ -6492,8 +6415,8 @@ function rt(t) {
6492
6415
  ];
6493
6416
  return n.includes("critical") ? "critical" : n.includes("warning") ? "warning" : n.includes("offline") ? "offline" : "online";
6494
6417
  }
6495
- function Di(t) {
6496
- const n = rt(t), o = n === "critical" || n === "offline", i = n === "warning";
6418
+ function Pi(t) {
6419
+ const n = et(t), o = n === "critical" || n === "offline", i = n === "warning";
6497
6420
  return [
6498
6421
  {
6499
6422
  label: "Uptime",
@@ -6514,8 +6437,8 @@ function Di(t) {
6514
6437
  }
6515
6438
  ];
6516
6439
  }
6517
- function Wi(t) {
6518
- const n = rt(t), o = n === "critical" || n === "offline", i = n === "warning";
6440
+ function Ci(t) {
6441
+ const n = et(t), o = n === "critical" || n === "offline", i = n === "warning";
6519
6442
  return [
6520
6443
  ...t.dbSync ? [] : [{ level: "warning", message: "DB Replication Lag Detected" }],
6521
6444
  ...o ? [{ level: "critical", message: "Critical Component Failure" }] : [],
@@ -6523,7 +6446,7 @@ function Wi(t) {
6523
6446
  ...!o && !i && t.dbSync ? [{ level: "info", message: "All Systems Nominal" }] : []
6524
6447
  ];
6525
6448
  }
6526
- const mi = [
6449
+ const pi = [
6527
6450
  { from: [330, 120], to: [330, 260], visibleAtPhase: 3 },
6528
6451
  { from: [330, 260], to: [165, 390], visibleAtPhase: 4 },
6529
6452
  { from: [330, 260], to: [330, 390], visibleAtPhase: 4 },
@@ -6532,11 +6455,11 @@ const mi = [
6532
6455
  { from: [330, 390], to: [200, 520], visibleAtPhase: 5, color: "#ff8c00" },
6533
6456
  { from: [495, 390], to: [200, 520], visibleAtPhase: 5, color: "#ff8c00" }
6534
6457
  ];
6535
- function xi({ config: t }) {
6536
- const n = ee.useContext(le), o = n?.rotateY ?? 20, i = n?.autoRotateComponents ?? !0, { dispStatus: r, srv1Status: a, srv2Status: s, srv3Status: l, pdbStatus: f, sdbStatus: c, dbSync: p } = t;
6537
- return /* @__PURE__ */ d(Ce, { children: [
6458
+ function fi({ config: t }) {
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;
6460
+ return /* @__PURE__ */ d(ve, { children: [
6538
6461
  /* @__PURE__ */ e(
6539
- C,
6462
+ A,
6540
6463
  {
6541
6464
  ex: 330,
6542
6465
  ey: 120,
@@ -6544,11 +6467,11 @@ function xi({ config: t }) {
6544
6467
  zIndex: 10,
6545
6468
  visibleAtPhase: 2,
6546
6469
  color: "#00e5ff",
6547
- children: /* @__PURE__ */ e(gt, { status: "online", scale: 1.5 })
6470
+ children: /* @__PURE__ */ e(ft, { status: "online", scale: 1.5 })
6548
6471
  }
6549
6472
  ),
6550
6473
  /* @__PURE__ */ e(
6551
- C,
6474
+ A,
6552
6475
  {
6553
6476
  ex: 330,
6554
6477
  ey: 260,
@@ -6563,11 +6486,11 @@ function xi({ config: t }) {
6563
6486
  name: "DISP-01",
6564
6487
  status: r,
6565
6488
  context: { traffic: 78 },
6566
- subComponents: vt(r),
6567
- graphSeries: wt({ traffic: 78 })
6489
+ subComponents: gt(r),
6490
+ graphSeries: yt({ traffic: 78 })
6568
6491
  },
6569
6492
  children: /* @__PURE__ */ e(
6570
- nt,
6493
+ pt,
6571
6494
  {
6572
6495
  rotateY: o,
6573
6496
  autoRotate: i,
@@ -6581,7 +6504,7 @@ function xi({ config: t }) {
6581
6504
  }
6582
6505
  ),
6583
6506
  /* @__PURE__ */ e(
6584
- C,
6507
+ A,
6585
6508
  {
6586
6509
  ex: 165,
6587
6510
  ey: 390,
@@ -6600,7 +6523,7 @@ function xi({ config: t }) {
6600
6523
  graphSeries: xe({ cpuLoad: 67, memLoad: 72 })
6601
6524
  },
6602
6525
  children: /* @__PURE__ */ e(
6603
- J,
6526
+ ue,
6604
6527
  {
6605
6528
  rotateY: o,
6606
6529
  autoRotate: i,
@@ -6614,7 +6537,7 @@ function xi({ config: t }) {
6614
6537
  }
6615
6538
  ),
6616
6539
  /* @__PURE__ */ e(
6617
- C,
6540
+ A,
6618
6541
  {
6619
6542
  ex: 330,
6620
6543
  ey: 390,
@@ -6633,7 +6556,7 @@ function xi({ config: t }) {
6633
6556
  graphSeries: xe({ cpuLoad: 89, memLoad: 91 })
6634
6557
  },
6635
6558
  children: /* @__PURE__ */ e(
6636
- J,
6559
+ ue,
6637
6560
  {
6638
6561
  rotateY: o,
6639
6562
  autoRotate: i,
@@ -6647,7 +6570,7 @@ function xi({ config: t }) {
6647
6570
  }
6648
6571
  ),
6649
6572
  /* @__PURE__ */ e(
6650
- C,
6573
+ A,
6651
6574
  {
6652
6575
  ex: 495,
6653
6576
  ey: 390,
@@ -6666,7 +6589,7 @@ function xi({ config: t }) {
6666
6589
  graphSeries: xe({ cpuLoad: 45, memLoad: 63 })
6667
6590
  },
6668
6591
  children: /* @__PURE__ */ e(
6669
- J,
6592
+ ue,
6670
6593
  {
6671
6594
  rotateY: o,
6672
6595
  autoRotate: i,
@@ -6680,7 +6603,7 @@ function xi({ config: t }) {
6680
6603
  }
6681
6604
  ),
6682
6605
  /* @__PURE__ */ e(
6683
- C,
6606
+ A,
6684
6607
  {
6685
6608
  ex: 200,
6686
6609
  ey: 520,
@@ -6693,17 +6616,17 @@ function xi({ config: t }) {
6693
6616
  componentInfo: {
6694
6617
  type: "database",
6695
6618
  name: "DB-PRI",
6696
- status: f,
6619
+ status: h,
6697
6620
  context: { capacity: 72 },
6698
- subComponents: Me(f, "DB-PRI", { capacity: 72 }),
6699
- graphSeries: Ne({ capacity: 72 })
6621
+ subComponents: ze(h, "DB-PRI", { capacity: 72 }),
6622
+ graphSeries: Me({ capacity: 72 })
6700
6623
  },
6701
6624
  children: /* @__PURE__ */ e(
6702
- Ee,
6625
+ Oe,
6703
6626
  {
6704
6627
  rotateY: -o,
6705
6628
  autoRotate: i,
6706
- status: f,
6629
+ status: h,
6707
6630
  name: "DB-PRI",
6708
6631
  capacity: 72,
6709
6632
  connections: 284,
@@ -6713,7 +6636,7 @@ function xi({ config: t }) {
6713
6636
  }
6714
6637
  ),
6715
6638
  /* @__PURE__ */ e(
6716
- C,
6639
+ A,
6717
6640
  {
6718
6641
  ex: 460,
6719
6642
  ey: 520,
@@ -6728,11 +6651,11 @@ function xi({ config: t }) {
6728
6651
  name: "DB-STB",
6729
6652
  status: c,
6730
6653
  context: { capacity: 72 },
6731
- subComponents: Me(c, "DB-STB", { capacity: 72 }),
6732
- graphSeries: Ne({ capacity: 72 })
6654
+ subComponents: ze(c, "DB-STB", { capacity: 72 }),
6655
+ graphSeries: Me({ capacity: 72 })
6733
6656
  },
6734
6657
  children: /* @__PURE__ */ e(
6735
- Ee,
6658
+ Oe,
6736
6659
  {
6737
6660
  rotateY: o,
6738
6661
  autoRotate: i,
@@ -6746,7 +6669,7 @@ function xi({ config: t }) {
6746
6669
  }
6747
6670
  ),
6748
6671
  /* @__PURE__ */ e(
6749
- C,
6672
+ A,
6750
6673
  {
6751
6674
  ex: 330,
6752
6675
  ey: 520,
@@ -6755,17 +6678,17 @@ function xi({ config: t }) {
6755
6678
  visibleAtPhase: 6,
6756
6679
  fixedScale: 1,
6757
6680
  bare: !0,
6758
- children: /* @__PURE__ */ e(ut, { synced: p, latencyMs: p ? 8 : 342 })
6681
+ children: /* @__PURE__ */ e(ct, { synced: p, latencyMs: p ? 8 : 342 })
6759
6682
  }
6760
6683
  ),
6761
- /* @__PURE__ */ e(vi, { config: t })
6684
+ /* @__PURE__ */ e(hi, { config: t })
6762
6685
  ] });
6763
6686
  }
6764
- function vi({ config: t }) {
6765
- const n = ee.useContext(le), { dispStatus: o, srv1Status: i, srv2Status: r, srv3Status: a, pdbStatus: s, sdbStatus: l, dbSync: f } = t, c = n?.isSelected && n?.isExpandedPos;
6687
+ function hi({ config: t }) {
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;
6766
6689
  return n?.isSelected ? /* @__PURE__ */ d("div", { style: { pointerEvents: "none" }, children: [
6767
6690
  /* @__PURE__ */ e(
6768
- O,
6691
+ I,
6769
6692
  {
6770
6693
  ex: 330,
6771
6694
  ey: 260,
@@ -6780,7 +6703,7 @@ function vi({ config: t }) {
6780
6703
  }
6781
6704
  ),
6782
6705
  /* @__PURE__ */ e(
6783
- O,
6706
+ I,
6784
6707
  {
6785
6708
  ex: 165,
6786
6709
  ey: 390,
@@ -6795,7 +6718,7 @@ function vi({ config: t }) {
6795
6718
  }
6796
6719
  ),
6797
6720
  /* @__PURE__ */ e(
6798
- O,
6721
+ I,
6799
6722
  {
6800
6723
  ex: 330,
6801
6724
  ey: 390,
@@ -6810,7 +6733,7 @@ function vi({ config: t }) {
6810
6733
  }
6811
6734
  ),
6812
6735
  /* @__PURE__ */ e(
6813
- O,
6736
+ I,
6814
6737
  {
6815
6738
  ex: 495,
6816
6739
  ey: 390,
@@ -6825,7 +6748,7 @@ function vi({ config: t }) {
6825
6748
  }
6826
6749
  ),
6827
6750
  /* @__PURE__ */ e(
6828
- O,
6751
+ I,
6829
6752
  {
6830
6753
  ex: 200,
6831
6754
  ey: 520,
@@ -6840,7 +6763,7 @@ function vi({ config: t }) {
6840
6763
  }
6841
6764
  ),
6842
6765
  /* @__PURE__ */ e(
6843
- O,
6766
+ I,
6844
6767
  {
6845
6768
  ex: 460,
6846
6769
  ey: 520,
@@ -6854,8 +6777,8 @@ function vi({ config: t }) {
6854
6777
  internalRef: l !== "online" ? "PLATTER-2" : void 0
6855
6778
  }
6856
6779
  ),
6857
- !f && /* @__PURE__ */ e(
6858
- O,
6780
+ !h && /* @__PURE__ */ e(
6781
+ I,
6859
6782
  {
6860
6783
  ex: 330,
6861
6784
  ey: 520,
@@ -6871,71 +6794,70 @@ function vi({ config: t }) {
6871
6794
  )
6872
6795
  ] }) : null;
6873
6796
  }
6874
- function zi({ config: t, ...n }) {
6797
+ function Ei({ config: t, ...n }) {
6875
6798
  return /* @__PURE__ */ e(
6876
- tt,
6799
+ dt,
6877
6800
  {
6878
6801
  name: t.name,
6879
- status: rt(t),
6880
- connections: mi,
6802
+ status: et(t),
6803
+ connections: pi,
6881
6804
  ...n,
6882
- children: /* @__PURE__ */ e(xi, { config: t })
6805
+ children: /* @__PURE__ */ e(fi, { config: t })
6883
6806
  }
6884
6807
  );
6885
6808
  }
6886
6809
  export {
6887
- Ti as AIOPsDashboard,
6888
- We as CPU3D,
6889
- Nt as Carousel,
6890
- Je as CarouselContext,
6891
- et as CarouselItemContext,
6892
- Wt as ComponentDialog,
6893
- Ei as ComponentDrillView,
6894
- Ee as Database3D,
6810
+ Si as AIOPsDashboard,
6811
+ De as CPU3D,
6812
+ Wt as Carousel,
6813
+ Ge as CarouselContext,
6814
+ Ke as CarouselItemContext,
6815
+ It as ComponentDialog,
6816
+ wi as ComponentDrillView,
6817
+ Oe as Database3D,
6895
6818
  ye as DriveBay3D,
6896
- mi as EXCHANGE_CONNECTIONS,
6897
- zi as ExchangeService,
6898
- Ri as HOLO_BLUE,
6899
- ki as HOLO_CYAN,
6900
- Ke as HOLO_GLASS,
6901
- we as HOLO_SURFACE,
6902
- ii as HistoricalGraphPanel,
6903
- Ht as HoloBase,
6904
- gt as Human3D,
6905
- ze as Memory3D,
6906
- bt as MessageServer3D,
6907
- mt as NetworkBlock3D,
6908
- O as NodeCallout,
6909
- Oe as Platter3D,
6819
+ pi as EXCHANGE_CONNECTIONS,
6820
+ Ei as ExchangeService,
6821
+ mi as HOLO_BLUE,
6822
+ yi as HOLO_CYAN,
6823
+ Qe as HOLO_GLASS,
6824
+ Se as HOLO_SURFACE,
6825
+ ei as HistoricalGraphPanel,
6826
+ Nt as HoloBase,
6827
+ ft as Human3D,
6828
+ We as Memory3D,
6829
+ Zt as MessageServer3D,
6830
+ ut as NetworkBlock3D,
6831
+ I as NodeCallout,
6832
+ Ie as Platter3D,
6910
6833
  B as Port3D,
6911
- Oi as SAPService,
6912
- bi as SAP_CONNECTIONS,
6834
+ Ri as SAPService,
6835
+ si as SAP_CONNECTIONS,
6913
6836
  w as STATUS_CFG,
6914
- J as Server3D,
6915
- tt as Service,
6916
- le as ServiceContext,
6917
- Ot as ServiceDialog,
6918
- C as ServiceNode,
6919
- Ai as SimpleService,
6920
- Bt as SvgConnection,
6921
- ut as SyncBridge,
6922
- D as ThreadPool3D,
6923
- nt as WebDispatcher3D,
6924
- Wi as computeExchangeDialogAlerts,
6925
- Di as computeExchangeDialogMetrics,
6926
- rt as computeExchangeServiceStatus,
6927
- Ii as computeSAPDialogAlerts,
6928
- Li as computeSAPDialogMetrics,
6929
- ot as computeSAPServiceStatus,
6930
- Ne as getDatabaseGraphSeries,
6931
- Me as getDatabaseSubComponents,
6932
- wt as getDispatcherGraphSeries,
6933
- vt as getDispatcherSubComponents,
6934
- ui as getMessageServerGraphSeries,
6935
- hi as getMessageServerSubComponents,
6837
+ ue as Server3D,
6838
+ dt as Service,
6839
+ ae as ServiceContext,
6840
+ At as ServiceDialog,
6841
+ A as ServiceNode,
6842
+ zt as SvgConnection,
6843
+ ct as SyncBridge,
6844
+ O as ThreadPool3D,
6845
+ pt as WebDispatcher3D,
6846
+ Ci as computeExchangeDialogAlerts,
6847
+ Pi as computeExchangeDialogMetrics,
6848
+ et as computeExchangeServiceStatus,
6849
+ ki as computeSAPDialogAlerts,
6850
+ $i as computeSAPDialogMetrics,
6851
+ Je as computeSAPServiceStatus,
6852
+ Me as getDatabaseGraphSeries,
6853
+ ze as getDatabaseSubComponents,
6854
+ yt as getDispatcherGraphSeries,
6855
+ gt as getDispatcherSubComponents,
6856
+ li as getMessageServerGraphSeries,
6857
+ ai as getMessageServerSubComponents,
6936
6858
  xe as getServerGraphSeries,
6937
6859
  me as getServerSubComponents,
6938
- Ze as makeFaceStyles,
6939
- Pi as useCarouselContext,
6940
- Ci as useCarouselItemContext
6860
+ qe as makeFaceStyles,
6861
+ xi as useCarouselContext,
6862
+ vi as useCarouselItemContext
6941
6863
  };