react-aiops 0.1.10 → 0.1.12

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 Ee } from "react/jsx-runtime";
2
- import j, { createContext as Ue, useContext as re, useState as R, useEffect as Ae, useMemo as yt, useRef as K, useCallback as dt } from "react";
3
- const Dt = {
1
+ import { jsxs as c, jsx as e, Fragment as Me } from "react/jsx-runtime";
2
+ import q, { createContext as tt, useContext as ge, useState as R, useEffect as ke, useMemo as Tt, useRef as ie, useCallback as Ge } from "react";
3
+ const Ht = {
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 Nt({
8
+ function Ut({
9
9
  name: t,
10
10
  status: n,
11
11
  dbSync: o = !0,
@@ -31,13 +31,13 @@ function Nt({
31
31
  value: s ? "5.42%" : l ? "1.20%" : "0.01%",
32
32
  color: s ? "#ff2255" : l ? "#ff8c00" : "#00ff88"
33
33
  }
34
- ], c = a ?? [
34
+ ], d = a ?? [
35
35
  ...o ? [] : [{ level: "warning", message: "DB Replication Lag Detected" }],
36
36
  ...s ? [{ level: "critical", message: "Critical Component Failure" }] : [],
37
37
  ...l && !s ? [{ level: "warning", message: "Component Warning State" }] : [],
38
38
  ...!s && !l && o ? [{ level: "info", message: "All Systems Nominal" }] : []
39
39
  ];
40
- return /* @__PURE__ */ d(
40
+ return /* @__PURE__ */ c(
41
41
  "div",
42
42
  {
43
43
  style: {
@@ -64,7 +64,7 @@ function Nt({
64
64
  gap: 16
65
65
  },
66
66
  children: [
67
- /* @__PURE__ */ d(
67
+ /* @__PURE__ */ c(
68
68
  "div",
69
69
  {
70
70
  style: {
@@ -115,13 +115,13 @@ function Nt({
115
115
  fontSize: 13,
116
116
  color: "#a0b0c0"
117
117
  },
118
- children: h.map((p, f) => /* @__PURE__ */ d("div", { style: { display: "flex", justifyContent: "space-between" }, children: [
118
+ children: h.map((p, f) => /* @__PURE__ */ c("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
121
  ] }, f))
122
122
  }
123
123
  ),
124
- /* @__PURE__ */ d(
124
+ /* @__PURE__ */ c(
125
125
  "div",
126
126
  {
127
127
  style: {
@@ -145,24 +145,24 @@ function Nt({
145
145
  children: "SYSTEM ALERTS"
146
146
  }
147
147
  ),
148
- c.map((p, f) => {
149
- const g = Dt[p.level];
150
- return /* @__PURE__ */ d(
148
+ d.map((p, f) => {
149
+ const b = Ht[p.level];
150
+ return /* @__PURE__ */ c(
151
151
  "div",
152
152
  {
153
153
  style: {
154
154
  display: "flex",
155
155
  gap: 8,
156
156
  alignItems: "flex-start",
157
- color: g.color,
157
+ color: b.color,
158
158
  fontSize: 12,
159
- background: g.bg,
159
+ background: b.bg,
160
160
  padding: "6px 10px",
161
161
  borderRadius: 4,
162
- borderLeft: `2px solid ${g.border}`
162
+ borderLeft: `2px solid ${b.border}`
163
163
  },
164
164
  children: [
165
- /* @__PURE__ */ e("span", { children: g.icon }),
165
+ /* @__PURE__ */ e("span", { children: b.icon }),
166
166
  " ",
167
167
  /* @__PURE__ */ e("span", { children: p.message })
168
168
  ]
@@ -177,13 +177,13 @@ function Nt({
177
177
  }
178
178
  );
179
179
  }
180
- const P = {
180
+ const C = {
181
181
  online: { color: "#00e5ff", glow: "rgba(0,229,255,0.55)" },
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
- }, Pi = "#00e5ff", Ci = "#0055cc", Te = "linear-gradient(180deg, #071428 0%, #040c1c 60%, #030810 100%)", Ze = "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 Je(t, n, o) {
185
+ }, Ii = "#00e5ff", Di = "#0055cc", ze = "linear-gradient(180deg, #071428 0%, #040c1c 60%, #030810 100%)", ft = "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 ht(t, n, o) {
187
187
  const i = {
188
188
  position: "absolute",
189
189
  overflow: "hidden",
@@ -233,56 +233,56 @@ function Je(t, n, o) {
233
233
  }
234
234
  };
235
235
  }
236
- const Qe = "cubic-bezier(0.34, 1.56, 0.64, 1)", Ge = "cubic-bezier(0.16, 1, 0.3, 1)";
237
- function mt(t) {
238
- return P[t]?.color ?? P.online.color;
236
+ const ct = "cubic-bezier(0.34, 1.56, 0.64, 1)", qe = "cubic-bezier(0.16, 1, 0.3, 1)";
237
+ function Ot(t) {
238
+ return C[t]?.color ?? C.online.color;
239
239
  }
240
- function Wt(t, n, o) {
240
+ function Yt(t, n, o) {
241
241
  return t >= o ? "#ff2255" : t >= n ? "#ff8c00" : "#00e5ff";
242
242
  }
243
- function We(t, n, o, i) {
243
+ function Xe(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 Mt({
246
+ function Vt({
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: h, ey: c, context: p = {} } = t, f = mt(l), g = h >= i / 2, u = c >= r / 2, y = {
253
+ const { type: a, name: s, status: l, ex: h, ey: d, context: p = {} } = t, f = Ot(l), b = h >= i / 2, u = d >= r / 2, g = {
254
254
  position: "fixed",
255
- ...g ? { right: 28 } : { left: 28 },
255
+ ...b ? { right: 28 } : { left: 28 },
256
256
  ...u ? { bottom: 110 } : { top: 72 }
257
- }, m = g ? 40 : -40, v = u ? 30 : -30, x = t.dialogMetrics ?? p.dialogMetrics;
258
- let w;
259
- if (x && x.length > 0)
260
- w = x.map((b, k) => {
261
- const T = b.warnAt ?? 70, $ = b.critAt ?? 85;
257
+ }, m = b ? 40 : -40, w = u ? 30 : -30, v = t.dialogMetrics ?? p.dialogMetrics;
258
+ let S;
259
+ if (v && v.length > 0)
260
+ S = v.map((y, x) => {
261
+ const A = y.warnAt ?? 70, k = y.critAt ?? 85;
262
262
  return {
263
- id: b.id,
264
- label: b.label,
265
- sublabel: b.sublabel,
266
- value: b.value,
267
- unit: b.unit ?? "%",
268
- status: We(l, b.value, T, $),
269
- icon: b.icon ?? "cpu",
270
- delay: k,
271
- colorOverride: b.color,
272
- warnAt: T,
273
- critAt: $
263
+ id: y.id,
264
+ label: y.label,
265
+ sublabel: y.sublabel,
266
+ value: y.value,
267
+ unit: y.unit ?? "%",
268
+ status: Xe(l, y.value, A, k),
269
+ icon: y.icon ?? "cpu",
270
+ delay: x,
271
+ colorOverride: y.color,
272
+ warnAt: A,
273
+ critAt: k
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, $ = We(l, b, 70, 85), S = We(l, k, 75, 88), N = We(l, T, 75, 90);
278
- w = [
277
+ const y = p.cpuLoad ?? p.traffic ?? 50, x = p.memLoad ?? p.queueDepth ?? 60, A = p.capacity ?? 72, k = Xe(l, y, 70, 85), $ = Xe(l, x, 75, 88), H = Xe(l, A, 75, 90);
278
+ S = [
279
279
  {
280
280
  id: "cpu",
281
281
  label: a === "dispatcher" ? "TRAFFIC" : a === "messageServer" ? "QUEUE" : "CPU",
282
282
  sublabel: a === "dispatcher" ? "PORT LOAD" : a === "messageServer" ? "QUEUE DEPTH" : "PROCESSOR",
283
- value: b,
283
+ value: y,
284
284
  unit: "%",
285
- status: $,
285
+ status: k,
286
286
  icon: "cpu",
287
287
  delay: 0
288
288
  },
@@ -290,9 +290,9 @@ function Mt({
290
290
  id: "mem",
291
291
  label: "MEMORY",
292
292
  sublabel: a === "database" ? "BUFFER POOL" : "HEAP USAGE",
293
- value: k,
293
+ value: x,
294
294
  unit: "%",
295
- status: S,
295
+ status: $,
296
296
  icon: "mem",
297
297
  delay: 1
298
298
  },
@@ -300,19 +300,19 @@ function Mt({
300
300
  id: "storage",
301
301
  label: "STORAGE",
302
302
  sublabel: a === "database" ? "TABLESPACE" : "DISK I/O",
303
- value: T,
303
+ value: A,
304
304
  unit: "%",
305
- status: N,
305
+ status: H,
306
306
  icon: "disk",
307
307
  delay: 2
308
308
  }
309
309
  ];
310
310
  }
311
- return /* @__PURE__ */ d(
311
+ return /* @__PURE__ */ c(
312
312
  "div",
313
313
  {
314
314
  style: {
315
- ...y,
315
+ ...g,
316
316
  width: 420,
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)",
@@ -322,14 +322,14 @@ function Mt({
322
322
  fontFamily: "'Courier New', monospace",
323
323
  overflow: "hidden",
324
324
  opacity: o ? 1 : 0,
325
- transform: o ? "scale(1) translate(0, 0)" : `scale(0.7) translate(${m}px, ${v}px)`,
326
- transition: `opacity 0.45s ${Ge}, transform 0.55s ${Qe}`,
325
+ transform: o ? "scale(1) translate(0, 0)" : `scale(0.7) translate(${m}px, ${w}px)`,
326
+ transition: `opacity 0.45s ${qe}, transform 0.55s ${ct}`,
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
330
  "--dialog-color": f
331
331
  },
332
- onClick: (b) => b.stopPropagation(),
332
+ onClick: (y) => y.stopPropagation(),
333
333
  children: [
334
334
  /* @__PURE__ */ e(
335
335
  "div",
@@ -393,14 +393,14 @@ function Mt({
393
393
  borderRight: `2px solid ${f}66`,
394
394
  borderRadius: "0 0 14px 0"
395
395
  }
396
- ].map((b, k) => /* @__PURE__ */ e(
396
+ ].map((y, x) => /* @__PURE__ */ e(
397
397
  "div",
398
398
  {
399
- style: { position: "absolute", width: 18, height: 18, pointerEvents: "none", ...b }
399
+ style: { position: "absolute", width: 18, height: 18, pointerEvents: "none", ...y }
400
400
  },
401
- k
401
+ x
402
402
  )),
403
- /* @__PURE__ */ d(
403
+ /* @__PURE__ */ c(
404
404
  "div",
405
405
  {
406
406
  style: {
@@ -414,8 +414,8 @@ function Mt({
414
414
  zIndex: 2
415
415
  },
416
416
  children: [
417
- /* @__PURE__ */ d("div", { style: { display: "flex", alignItems: "center", gap: 10, minWidth: 0 }, children: [
418
- /* @__PURE__ */ d("div", { style: { position: "relative" }, children: [
417
+ /* @__PURE__ */ c("div", { style: { display: "flex", alignItems: "center", gap: 10, minWidth: 0 }, children: [
418
+ /* @__PURE__ */ c("div", { style: { position: "relative" }, children: [
419
419
  /* @__PURE__ */ e(
420
420
  "div",
421
421
  {
@@ -442,7 +442,7 @@ function Mt({
442
442
  }
443
443
  )
444
444
  ] }),
445
- /* @__PURE__ */ d("div", { style: { display: "flex", flexDirection: "column", gap: 2, minWidth: 0 }, children: [
445
+ /* @__PURE__ */ c("div", { style: { display: "flex", flexDirection: "column", gap: 2, minWidth: 0 }, children: [
446
446
  /* @__PURE__ */ e(
447
447
  "span",
448
448
  {
@@ -477,8 +477,8 @@ function Mt({
477
477
  /* @__PURE__ */ e(
478
478
  "button",
479
479
  {
480
- onClick: (b) => {
481
- b.stopPropagation(), n();
480
+ onClick: (y) => {
481
+ y.stopPropagation(), n();
482
482
  },
483
483
  style: {
484
484
  width: 34,
@@ -496,11 +496,11 @@ function Mt({
496
496
  lineHeight: 1,
497
497
  flexShrink: 0
498
498
  },
499
- onMouseEnter: (b) => {
500
- b.currentTarget.style.background = `${f}22`, b.currentTarget.style.boxShadow = `0 0 12px ${f}44`;
499
+ onMouseEnter: (y) => {
500
+ y.currentTarget.style.background = `${f}22`, y.currentTarget.style.boxShadow = `0 0 12px ${f}44`;
501
501
  },
502
- onMouseLeave: (b) => {
503
- b.currentTarget.style.background = `linear-gradient(135deg, rgba(0,0,0,0.5) 0%, ${f}08 100%)`, b.currentTarget.style.boxShadow = "none";
502
+ onMouseLeave: (y) => {
503
+ y.currentTarget.style.background = `linear-gradient(135deg, rgba(0,0,0,0.5) 0%, ${f}08 100%)`, y.currentTarget.style.boxShadow = "none";
504
504
  },
505
505
  children: "×"
506
506
  }
@@ -519,10 +519,10 @@ function Mt({
519
519
  position: "relative",
520
520
  zIndex: 2
521
521
  },
522
- children: w.map((b) => /* @__PURE__ */ e(zt, { metric: b, visible: o, accentColor: f }, b.id))
522
+ children: S.map((y) => /* @__PURE__ */ e(_t, { metric: y, visible: o, accentColor: f }, y.id))
523
523
  }
524
524
  ),
525
- /* @__PURE__ */ d(
525
+ /* @__PURE__ */ c(
526
526
  "div",
527
527
  {
528
528
  style: {
@@ -540,12 +540,12 @@ function Mt({
540
540
  zIndex: 2
541
541
  },
542
542
  children: [
543
- /* @__PURE__ */ d("span", { children: [
543
+ /* @__PURE__ */ c("span", { children: [
544
544
  a.toUpperCase(),
545
545
  " · ",
546
546
  l.toUpperCase()
547
547
  ] }),
548
- /* @__PURE__ */ d("span", { style: { display: "flex", alignItems: "center", gap: 6 }, children: [
548
+ /* @__PURE__ */ c("span", { style: { display: "flex", alignItems: "center", gap: 6 }, children: [
549
549
  /* @__PURE__ */ e(
550
550
  "span",
551
551
  {
@@ -568,7 +568,7 @@ function Mt({
568
568
  }
569
569
  );
570
570
  }
571
- function zt({
571
+ function _t({
572
572
  metric: t,
573
573
  visible: n,
574
574
  accentColor: o
@@ -580,12 +580,12 @@ function zt({
580
580
  unit: s,
581
581
  status: l,
582
582
  icon: h,
583
- delay: c,
583
+ delay: d,
584
584
  colorOverride: p,
585
585
  warnAt: f = 70,
586
- critAt: g = 85
587
- } = t, u = p ?? Wt(a, f, g), y = p ?? mt(l);
588
- return /* @__PURE__ */ d(
586
+ critAt: b = 85
587
+ } = t, u = p ?? Yt(a, f, b), g = p ?? Ot(l);
588
+ return /* @__PURE__ */ c(
589
589
  "div",
590
590
  {
591
591
  style: {
@@ -594,28 +594,28 @@ 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 ${Ge} ${0.3 + c * 0.12}s, transform 0.5s ${Qe} ${0.3 + c * 0.12}s`
597
+ transition: `opacity 0.4s ${qe} ${0.3 + d * 0.12}s, transform 0.5s ${ct} ${0.3 + d * 0.12}s`
598
598
  },
599
599
  children: [
600
- /* @__PURE__ */ d(
600
+ /* @__PURE__ */ c(
601
601
  "div",
602
602
  {
603
603
  style: {
604
604
  width: 52,
605
605
  height: 52,
606
606
  borderRadius: 12,
607
- border: `1px solid ${y}44`,
608
- background: `linear-gradient(135deg, ${y}0c 0%, ${y}04 100%)`,
607
+ border: `1px solid ${g}44`,
608
+ background: `linear-gradient(135deg, ${g}0c 0%, ${g}04 100%)`,
609
609
  display: "flex",
610
610
  alignItems: "center",
611
611
  justifyContent: "center",
612
612
  flexShrink: 0,
613
613
  position: "relative",
614
614
  overflow: "hidden",
615
- animation: n ? `comp-dialog-icon-pop 0.5s ${Qe} ${0.35 + c * 0.12}s both` : "none"
615
+ animation: n ? `comp-dialog-icon-pop 0.5s ${ct} ${0.35 + d * 0.12}s both` : "none"
616
616
  },
617
617
  children: [
618
- /* @__PURE__ */ e(Bt, { type: h, color: y }),
618
+ /* @__PURE__ */ e(jt, { type: h, color: g }),
619
619
  (l === "warning" || l === "critical") && /* @__PURE__ */ e(
620
620
  "div",
621
621
  {
@@ -626,8 +626,8 @@ function zt({
626
626
  width: 5,
627
627
  height: 5,
628
628
  borderRadius: "50%",
629
- background: y,
630
- boxShadow: `0 0 6px ${y}`,
629
+ background: g,
630
+ boxShadow: `0 0 6px ${g}`,
631
631
  animation: "holo-led-blink 1.2s infinite"
632
632
  }
633
633
  }
@@ -635,8 +635,8 @@ function zt({
635
635
  ]
636
636
  }
637
637
  ),
638
- /* @__PURE__ */ d("div", { style: { flex: 1, minWidth: 0 }, children: [
639
- /* @__PURE__ */ d(
638
+ /* @__PURE__ */ c("div", { style: { flex: 1, minWidth: 0 }, children: [
639
+ /* @__PURE__ */ c(
640
640
  "div",
641
641
  {
642
642
  style: {
@@ -646,7 +646,7 @@ function zt({
646
646
  marginBottom: 6
647
647
  },
648
648
  children: [
649
- /* @__PURE__ */ d("div", { style: { display: "flex", flexDirection: "column", gap: 2 }, children: [
649
+ /* @__PURE__ */ c("div", { style: { display: "flex", flexDirection: "column", gap: 2 }, children: [
650
650
  /* @__PURE__ */ e(
651
651
  "span",
652
652
  {
@@ -672,7 +672,7 @@ function zt({
672
672
  }
673
673
  )
674
674
  ] }),
675
- /* @__PURE__ */ d(
675
+ /* @__PURE__ */ c(
676
676
  "span",
677
677
  {
678
678
  style: {
@@ -691,7 +691,7 @@ function zt({
691
691
  ]
692
692
  }
693
693
  ),
694
- /* @__PURE__ */ d(
694
+ /* @__PURE__ */ c(
695
695
  "div",
696
696
  {
697
697
  style: {
@@ -714,7 +714,8 @@ 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 ${Ge} ${0.4 + c * 0.12}s both` : "none"
717
+ animation: n ? `comp-dialog-metric-fill 0.8s ${qe} ${0.4 + d * 0.12}s both` : "none",
718
+ transition: `width 0.6s ${qe}, background 0.4s ease, box-shadow 0.4s ease`
718
719
  }
719
720
  }
720
721
  ),
@@ -736,7 +737,7 @@ function zt({
736
737
  {
737
738
  style: {
738
739
  position: "absolute",
739
- left: `${g}%`,
740
+ left: `${b}%`,
740
741
  top: 0,
741
742
  bottom: 0,
742
743
  width: 1,
@@ -747,7 +748,7 @@ function zt({
747
748
  ]
748
749
  }
749
750
  ),
750
- /* @__PURE__ */ d("div", { style: { position: "relative", height: 10, marginTop: 2 }, children: [
751
+ /* @__PURE__ */ c("div", { style: { position: "relative", height: 10, marginTop: 2 }, children: [
751
752
  /* @__PURE__ */ e(
752
753
  "span",
753
754
  {
@@ -780,7 +781,7 @@ function zt({
780
781
  {
781
782
  style: {
782
783
  position: "absolute",
783
- left: `${g}%`,
784
+ left: `${b}%`,
784
785
  transform: "translateX(-50%)",
785
786
  fontSize: 6,
786
787
  color: "rgba(255,34,85,0.3)",
@@ -808,8 +809,8 @@ function zt({
808
809
  }
809
810
  );
810
811
  }
811
- function Bt({ type: t, color: n }) {
812
- return t === "cpu" ? /* @__PURE__ */ d("svg", { width: 28, height: 28, viewBox: "0 0 24 24", fill: "none", children: [
812
+ function jt({ type: t, color: n }) {
813
+ return t === "cpu" ? /* @__PURE__ */ c("svg", { width: 28, height: 28, viewBox: "0 0 24 24", fill: "none", children: [
813
814
  /* @__PURE__ */ e("rect", { x: "6", y: "6", width: "12", height: "12", rx: "2", stroke: n, strokeWidth: "1.5" }),
814
815
  /* @__PURE__ */ e(
815
816
  "rect",
@@ -836,7 +837,7 @@ function Bt({ type: t, color: n }) {
836
837
  /* @__PURE__ */ e("line", { x1: "9", y1: "18", x2: "9", y2: "20", stroke: n, strokeWidth: "1" }),
837
838
  /* @__PURE__ */ e("line", { x1: "12", y1: "18", x2: "12", y2: "20", stroke: n, strokeWidth: "1" }),
838
839
  /* @__PURE__ */ e("line", { x1: "15", y1: "18", x2: "15", y2: "20", stroke: n, strokeWidth: "1" })
839
- ] }) : t === "mem" ? /* @__PURE__ */ d("svg", { width: 28, height: 28, viewBox: "0 0 24 24", fill: "none", children: [
840
+ ] }) : t === "mem" ? /* @__PURE__ */ c("svg", { width: 28, height: 28, viewBox: "0 0 24 24", fill: "none", children: [
840
841
  /* @__PURE__ */ e("rect", { x: "7", y: "3", width: "10", height: "18", rx: "1.5", stroke: n, strokeWidth: "1.5" }),
841
842
  /* @__PURE__ */ e(
842
843
  "rect",
@@ -883,7 +884,7 @@ function Bt({ type: t, color: n }) {
883
884
  /* @__PURE__ */ e("line", { x1: "17", y1: "7", x2: "19", y2: "7", stroke: n, strokeWidth: "0.8" }),
884
885
  /* @__PURE__ */ e("line", { x1: "17", y1: "11", x2: "19", y2: "11", stroke: n, strokeWidth: "0.8" }),
885
886
  /* @__PURE__ */ e("line", { x1: "17", y1: "15", x2: "19", y2: "15", stroke: n, strokeWidth: "0.8" })
886
- ] }) : /* @__PURE__ */ d("svg", { width: 28, height: 28, viewBox: "0 0 24 24", fill: "none", children: [
887
+ ] }) : /* @__PURE__ */ c("svg", { width: 28, height: 28, viewBox: "0 0 24 24", fill: "none", children: [
887
888
  /* @__PURE__ */ e("circle", { cx: "12", cy: "12", r: "8.5", stroke: n, strokeWidth: "1.5" }),
888
889
  /* @__PURE__ */ e("circle", { cx: "12", cy: "12", r: "5.5", stroke: n, strokeWidth: "0.5", strokeDasharray: "2 2" }),
889
890
  /* @__PURE__ */ e("circle", { cx: "12", cy: "12", r: "2", fill: `${n}55` }),
@@ -893,14 +894,14 @@ function Bt({ type: t, color: n }) {
893
894
  /* @__PURE__ */ e("line", { x1: "18", y1: "12", x2: "21", y2: "12", stroke: n, strokeWidth: "0.8" })
894
895
  ] });
895
896
  }
896
- const et = Ue(null), tt = Ue({ index: 0 });
897
- function Ei() {
898
- return re(et);
897
+ const ut = tt(null), bt = tt({ index: 0 });
898
+ function Ni() {
899
+ return ge(ut);
899
900
  }
900
- function Ai() {
901
- return re(tt);
901
+ function Wi() {
902
+ return ge(bt);
902
903
  }
903
- function Ft({
904
+ function Xt({
904
905
  children: t,
905
906
  logoUrl: n,
906
907
  viewState: o,
@@ -910,63 +911,66 @@ function Ft({
910
911
  drillAnimPhase: s,
911
912
  rotateY: l = 20,
912
913
  autoRotateComponents: h = !0,
913
- componentScale: c = 0.35,
914
+ componentScale: d = 0.35,
914
915
  drillZoom: p = 3.3,
915
916
  autoRotateCarousel: f = !0,
916
- carouselSpeed: g = 6e-3,
917
+ carouselSpeed: b = 6e-3,
917
918
  width: u = 950,
918
- height: y = 790,
919
+ height: g = 790,
919
920
  onSelectSystem: m,
920
- onBackgroundClick: v,
921
- onComponentClick: x,
922
- onCloseDrill: w,
923
- selectedSystemStatus: b = "online",
924
- selectedSystemDbSync: k = !0,
925
- selectedSystemMetrics: T,
921
+ onBackgroundClick: w,
922
+ onComponentClick: v,
923
+ onCloseDrill: S,
924
+ onComponentUpdate: y,
925
+ selectedSystemStatus: x = "online",
926
+ selectedSystemDbSync: A = !0,
927
+ selectedSystemMetrics: k,
926
928
  selectedSystemAlerts: $
927
929
  }) {
928
- const [S, N] = R(0);
929
- Ae(() => {
930
- let I;
930
+ const [H, L] = R(0);
931
+ ke(() => {
932
+ let D;
931
933
  if ((o === "compact" || o === "collapsing") && f) {
932
934
  const U = () => {
933
- N((se) => se + g), I = requestAnimationFrame(U);
935
+ L((ne) => ne + b), D = requestAnimationFrame(U);
934
936
  };
935
- I = requestAnimationFrame(U);
937
+ D = requestAnimationFrame(U);
936
938
  }
937
- return () => cancelAnimationFrame(I);
938
- }, [o, f, g]);
939
- const B = j.Children.toArray(t), z = B.length, H = yt(() => ({
940
- totalSystems: z,
941
- carouselRotation: S,
939
+ return () => cancelAnimationFrame(D);
940
+ }, [o, f, b]);
941
+ const M = q.Children.toArray(t), K = M.length, Z = Tt(() => ({
942
+ totalSystems: K,
943
+ carouselRotation: H,
942
944
  viewState: o,
943
945
  animPhase: i,
944
946
  selectedSystem: r,
945
947
  selectedComponent: a,
946
948
  rotateY: l,
947
949
  autoRotateComponents: h,
948
- componentScale: c,
950
+ componentScale: d,
949
951
  drillZoom: p,
950
952
  onSelectSystem: m,
951
- onComponentClick: x,
953
+ onComponentClick: v,
954
+ onComponentUpdate: y,
952
955
  containerWidth: u
953
956
  }), [
954
- z,
955
- S,
957
+ K,
958
+ H,
956
959
  o,
957
960
  i,
958
961
  r,
959
962
  a,
960
963
  l,
961
964
  h,
962
- c,
965
+ d,
963
966
  p,
964
967
  m,
965
- x,
968
+ v,
969
+ y,
966
970
  u
967
- ]), ae = B.map((I, U) => /* @__PURE__ */ e(tt.Provider, { value: { index: U }, children: I }, U)), le = o === "expanded" || o === "expanding" && i >= 4;
968
- return /* @__PURE__ */ d(et.Provider, { value: H, children: [
969
- /* @__PURE__ */ d("div", { style: { position: "relative", width: u, height: y, margin: "0 auto", flexShrink: 0 }, children: [
971
+ ]), ye = M.map((D, U) => /* @__PURE__ */ e(bt.Provider, { value: { index: U }, children: D }, U)), me = o === "expanded" || o === "expanding" && i >= 4;
972
+ return /* @__PURE__ */ c(ut.Provider, { value: Z, children: [
973
+ /* @__PURE__ */ c("div", { style: { position: "relative", width: u, height: g, margin: "0 auto", flexShrink: 0 }, children: [
970
974
  n && (o === "compact" || o === "collapsing") && /* @__PURE__ */ e(
971
975
  "img",
972
976
  {
@@ -987,32 +991,32 @@ function Ft({
987
991
  }
988
992
  }
989
993
  ),
990
- ae
994
+ ye
991
995
  ] }),
992
- r && /* @__PURE__ */ e("div", { onClick: (I) => I.stopPropagation(), children: /* @__PURE__ */ e(
993
- Nt,
996
+ r && /* @__PURE__ */ e("div", { onClick: (D) => D.stopPropagation(), children: /* @__PURE__ */ e(
997
+ Ut,
994
998
  {
995
999
  name: r,
996
- status: b,
997
- dbSync: k,
998
- visible: le && !a,
999
- metrics: T,
1000
+ status: x,
1001
+ dbSync: A,
1002
+ visible: me && !a,
1003
+ metrics: k,
1000
1004
  alerts: $
1001
1005
  }
1002
1006
  ) }),
1003
- a && /* @__PURE__ */ e("div", { onClick: (I) => I.stopPropagation(), children: /* @__PURE__ */ e(
1004
- Mt,
1007
+ a && /* @__PURE__ */ e("div", { onClick: (D) => D.stopPropagation(), children: /* @__PURE__ */ e(
1008
+ Vt,
1005
1009
  {
1006
1010
  component: a,
1007
- onClose: w,
1011
+ onClose: S,
1008
1012
  visible: s >= 0.3,
1009
1013
  sceneWidth: u,
1010
- sceneHeight: y
1014
+ sceneHeight: g
1011
1015
  }
1012
1016
  ) })
1013
1017
  ] });
1014
1018
  }
1015
- function Ht({
1019
+ function qt({
1016
1020
  x1: t,
1017
1021
  y1: n,
1018
1022
  x2: o,
@@ -1021,7 +1025,7 @@ function Ht({
1021
1025
  color: a = "#00e5ff",
1022
1026
  dur: s = "3s"
1023
1027
  }) {
1024
- return /* @__PURE__ */ d("g", { opacity: r ? 1 : 0, style: { transition: "opacity 0.6s ease" }, children: [
1028
+ return /* @__PURE__ */ c("g", { opacity: r ? 1 : 0, style: { transition: "opacity 0.6s ease" }, children: [
1025
1029
  /* @__PURE__ */ e(
1026
1030
  "line",
1027
1031
  {
@@ -1059,7 +1063,7 @@ function Ht({
1059
1063
  )
1060
1064
  }
1061
1065
  ),
1062
- r && /* @__PURE__ */ d(Ee, { children: [
1066
+ r && /* @__PURE__ */ c(Me, { children: [
1063
1067
  /* @__PURE__ */ e("circle", { r: "3", fill: a, opacity: 0.85, children: /* @__PURE__ */ e(
1064
1068
  "animateMotion",
1065
1069
  {
@@ -1079,14 +1083,14 @@ function Ht({
1079
1083
  ] })
1080
1084
  ] });
1081
1085
  }
1082
- const Ut = [
1086
+ const Qt = [
1083
1087
  { scale: 1, op: 1, delay: "0.0s", bw: "2px", glow: 1 },
1084
1088
  { scale: 0.82, op: 0.88, delay: "0.5s", bw: "1.5px", glow: 0.7 },
1085
1089
  { scale: 0.64, op: 0.72, delay: "1.0s", bw: "1px", glow: 0.5 },
1086
1090
  { scale: 0.47, op: 0.58, delay: "1.5s", bw: "1px", glow: 0.35 },
1087
1091
  { scale: 0.3, op: 0.45, delay: "2.0s", bw: "1px", glow: 0.25 }
1088
1092
  ];
1089
- function Yt({
1093
+ function Gt({
1090
1094
  children: t,
1091
1095
  size: n = 230,
1092
1096
  widthRatio: o = 1,
@@ -1094,13 +1098,13 @@ function Yt({
1094
1098
  label: r
1095
1099
  }) {
1096
1100
  const a = n * o;
1097
- return /* @__PURE__ */ d("div", { style: {
1101
+ return /* @__PURE__ */ c("div", { style: {
1098
1102
  display: "flex",
1099
1103
  flexDirection: "column",
1100
1104
  alignItems: "center",
1101
1105
  position: "relative"
1102
1106
  }, children: [
1103
- /* @__PURE__ */ d("div", { style: {
1107
+ /* @__PURE__ */ c("div", { style: {
1104
1108
  position: "relative",
1105
1109
  animation: "holo-float 4s ease-in-out infinite"
1106
1110
  }, children: [
@@ -1123,7 +1127,7 @@ function Yt({
1123
1127
  } }),
1124
1128
  t
1125
1129
  ] }),
1126
- /* @__PURE__ */ d("div", { style: {
1130
+ /* @__PURE__ */ c("div", { style: {
1127
1131
  position: "relative",
1128
1132
  width: a,
1129
1133
  height: 88,
@@ -1195,7 +1199,7 @@ function Yt({
1195
1199
  animationDelay: "0.06s"
1196
1200
  } })
1197
1201
  ] }),
1198
- /* @__PURE__ */ d("div", { style: {
1202
+ /* @__PURE__ */ c("div", { style: {
1199
1203
  position: "relative",
1200
1204
  width: a,
1201
1205
  height: n * 0.34,
@@ -1252,7 +1256,7 @@ function Yt({
1252
1256
  background: `radial-gradient(ellipse, ${i}88 0%, ${i}33 40%, transparent 72%)`,
1253
1257
  filter: "blur(12px)"
1254
1258
  } }),
1255
- Ut.map((s, l) => /* @__PURE__ */ e("div", { style: {
1259
+ Qt.map((s, l) => /* @__PURE__ */ e("div", { style: {
1256
1260
  position: "absolute",
1257
1261
  width: a * s.scale,
1258
1262
  height: n * s.scale,
@@ -1295,8 +1299,8 @@ function Yt({
1295
1299
  }, children: r })
1296
1300
  ] });
1297
1301
  }
1298
- const ue = Ue(null), Vt = "cubic-bezier(0.34, 1.56, 0.64, 1)", ct = 330, pt = 340, _t = 660;
1299
- function xt({
1302
+ const Re = tt(null), Kt = "cubic-bezier(0.34, 1.56, 0.64, 1)", $t = 330, kt = 340, Zt = 660;
1303
+ function Lt({
1300
1304
  name: t,
1301
1305
  status: n = "online",
1302
1306
  connections: o = [],
@@ -1306,35 +1310,37 @@ function xt({
1306
1310
  _totalSystems: s,
1307
1311
  _carouselRotation: l,
1308
1312
  _viewState: h,
1309
- _animPhase: c,
1313
+ _animPhase: d,
1310
1314
  _selectedSystem: p,
1311
1315
  _selectedComponent: f,
1312
- _rotateY: g,
1316
+ _rotateY: b,
1313
1317
  _autoRotateComponents: u,
1314
- _componentScale: y,
1318
+ _componentScale: g,
1315
1319
  _drillZoom: m,
1316
- _onSelectSystem: v,
1317
- _onComponentClick: x,
1318
- _containerWidth: w
1320
+ _onSelectSystem: w,
1321
+ _onComponentClick: v,
1322
+ _onComponentUpdate: S,
1323
+ _containerWidth: y
1319
1324
  }) {
1320
- const b = re(et), k = re(tt), T = a ?? k.index, $ = s ?? b?.totalSystems ?? 1, S = l ?? b?.carouselRotation ?? 0, N = h ?? b?.viewState ?? "compact", B = c ?? b?.animPhase ?? 0, z = p ?? b?.selectedSystem ?? null, H = f ?? b?.selectedComponent ?? null, ae = g ?? b?.rotateY ?? 20, le = u ?? b?.autoRotateComponents ?? !0, I = y ?? b?.componentScale ?? 0.35, U = m ?? b?.drillZoom ?? 3.3, se = v ?? b?.onSelectSystem, Ie = x ?? b?.onComponentClick, Oe = w ?? b?.containerWidth ?? 950, Y = z === t, L = Y && (N === "expanded" || N === "expanding" && B >= 1), Q = !L, Le = (Oe - _t) / 2, be = ct + Le, ge = T / $ * Math.PI * 2 + S, Ye = 420, Ve = 160, de = be + Math.cos(ge) * Ye, C = 450 + Math.sin(ge) * Ve, ce = Math.round(C), ee = !Y && (N === "expanding" || N === "expanded"), pe = ee ? 0 : 1, Z = Q ? 0.3 + (Math.sin(ge) + 1) * 0.1 : 1, V = Q ? Z : I, ye = N === "compact" || N === "collapsing" ? "none" : "all 1s cubic-bezier(0.34, 1.56, 0.64, 1)", De = Y && H, _e = De ? U : 1, Ct = H?.ex ?? 330, Et = H?.ey ?? 300, { size: At = 90, color: Tt = "#00e5ff", widthRatio: It = 3 } = i ?? {}, Ot = {
1325
+ const x = ge(ut), A = ge(bt), k = a ?? A.index, $ = s ?? x?.totalSystems ?? 1, H = l ?? x?.carouselRotation ?? 0, L = h ?? x?.viewState ?? "compact", M = d ?? x?.animPhase ?? 0, K = p ?? x?.selectedSystem ?? null, Z = f ?? x?.selectedComponent ?? null, ye = b ?? x?.rotateY ?? 20, me = u ?? x?.autoRotateComponents ?? !0, D = g ?? x?.componentScale ?? 0.35, U = m ?? x?.drillZoom ?? 3.3, ne = w ?? x?.onSelectSystem, Be = v ?? x?.onComponentClick, le = S ?? x?.onComponentUpdate, Fe = y ?? x?.containerWidth ?? 950, J = K === t, z = J && (L === "expanded" || L === "expanding" && M >= 1), _ = !z, se = (Fe - Zt) / 2, de = $t + se, Ce = k / $ * Math.PI * 2 + H, it = 420, nt = 160, xe = de + Math.cos(Ce) * it, ce = 450 + Math.sin(Ce) * nt, ot = Math.round(ce), T = !J && (L === "expanding" || L === "expanded"), j = T ? 0 : 1, oe = _ ? 0.3 + (Math.sin(Ce) + 1) * 0.1 : 1, ee = _ ? oe : D, re = L === "compact" || L === "collapsing" ? "none" : "all 1s cubic-bezier(0.34, 1.56, 0.64, 1)", ve = J && Z, ae = ve ? U : 1, pe = Z?.ex ?? 330, B = Z?.ey ?? 300, { size: rt = 90, color: at = "#00e5ff", widthRatio: Ye = 3 } = i ?? {}, we = {
1321
1326
  name: t,
1322
- isSelected: Y,
1323
- isExpandedPos: L,
1324
- isCompact: Q,
1325
- animPhase: B,
1326
- compactCx: de,
1327
- compactCy: C,
1328
- groupScale: Z,
1329
- effectiveScale: V,
1330
- transitionValue: ye,
1331
- rotateY: ae,
1332
- autoRotateComponents: le,
1333
- onComponentClick: Ie,
1334
- selectedComponentName: H?.name ?? null,
1335
- expandedOffsetX: Le
1327
+ isSelected: J,
1328
+ isExpandedPos: z,
1329
+ isCompact: _,
1330
+ animPhase: M,
1331
+ compactCx: xe,
1332
+ compactCy: ce,
1333
+ groupScale: oe,
1334
+ effectiveScale: ee,
1335
+ transitionValue: re,
1336
+ rotateY: ye,
1337
+ autoRotateComponents: me,
1338
+ onComponentClick: Be,
1339
+ onComponentUpdate: le,
1340
+ selectedComponentName: Z?.name ?? null,
1341
+ expandedOffsetX: se
1336
1342
  };
1337
- return /* @__PURE__ */ e(ue.Provider, { value: Ot, children: /* @__PURE__ */ d(
1343
+ return /* @__PURE__ */ e(Re.Provider, { value: we, children: /* @__PURE__ */ c(
1338
1344
  "div",
1339
1345
  {
1340
1346
  style: {
@@ -1344,21 +1350,21 @@ function xt({
1344
1350
  width: "100%",
1345
1351
  height: "100%",
1346
1352
  pointerEvents: "none",
1347
- opacity: pe,
1348
- transition: `opacity 0.8s ease, filter 0.5s ease, transform 0.6s ${Vt}`,
1349
- filter: Q && Math.sin(ge) < -0.5 ? "brightness(0.5) blur(2px)" : "none",
1350
- zIndex: Y ? 500 : ee ? 0 : ce,
1351
- transformOrigin: `${be}px ${pt}px`,
1352
- transform: De ? `translate(${-(Ct - ct) * _e}px, ${-(Et - pt) * _e}px) scale(${_e})` : "none"
1353
+ opacity: j,
1354
+ transition: `opacity 0.8s ease, filter 0.5s ease, transform 0.6s ${Kt}`,
1355
+ filter: _ && Math.sin(Ce) < -0.5 ? "brightness(0.5) blur(2px)" : "none",
1356
+ zIndex: J ? 500 : T ? 0 : ot,
1357
+ transformOrigin: `${de}px ${kt}px`,
1358
+ transform: ve ? `translate(${-(pe - $t) * ae}px, ${-(B - kt) * ae}px) scale(${ae})` : "none"
1353
1359
  },
1354
1360
  children: [
1355
- Q && !ee && /* @__PURE__ */ e(
1361
+ _ && !T && /* @__PURE__ */ e(
1356
1362
  "div",
1357
1363
  {
1358
1364
  style: {
1359
1365
  position: "absolute",
1360
- left: de,
1361
- top: C,
1366
+ left: xe,
1367
+ top: ce,
1362
1368
  width: 160,
1363
1369
  height: 180,
1364
1370
  transform: "translate(-50%, -80%)",
@@ -1366,25 +1372,25 @@ function xt({
1366
1372
  cursor: "pointer",
1367
1373
  zIndex: 101
1368
1374
  },
1369
- onClick: (J) => {
1370
- J.stopPropagation(), se?.(t);
1375
+ onClick: (F) => {
1376
+ F.stopPropagation(), ne?.(t);
1371
1377
  }
1372
1378
  }
1373
1379
  ),
1374
- Q && (n === "warning" || n === "critical") && /* @__PURE__ */ e(
1380
+ _ && (n === "warning" || n === "critical") && /* @__PURE__ */ e(
1375
1381
  "div",
1376
1382
  {
1377
1383
  style: {
1378
1384
  position: "absolute",
1379
- left: de,
1380
- top: C - 200,
1381
- transform: `translate(-50%, -50%) scale(${Z})`,
1385
+ left: xe,
1386
+ top: ce - 200,
1387
+ transform: `translate(-50%, -50%) scale(${oe})`,
1382
1388
  zIndex: 110,
1383
1389
  pointerEvents: "none",
1384
1390
  animation: "holo-led-blink 1.5s infinite",
1385
1391
  filter: `drop-shadow(0 0 10px ${n === "critical" ? "#ff2255" : "#ff8c00"})`
1386
1392
  },
1387
- children: /* @__PURE__ */ d("svg", { width: "48", height: "48", viewBox: "0 0 28 28", fill: "none", children: [
1393
+ children: /* @__PURE__ */ c("svg", { width: "48", height: "48", viewBox: "0 0 28 28", fill: "none", children: [
1388
1394
  /* @__PURE__ */ e(
1389
1395
  "path",
1390
1396
  {
@@ -1424,13 +1430,13 @@ function xt({
1424
1430
  {
1425
1431
  style: {
1426
1432
  position: "absolute",
1427
- left: L ? be : de,
1428
- top: L ? 48 : C - 180,
1429
- transform: `translate(-50%, -50%) scale(${L ? 1.2 : Z * 1.5})`,
1433
+ left: z ? de : xe,
1434
+ top: z ? 48 : ce - 180,
1435
+ transform: `translate(-50%, -50%) scale(${z ? 1.2 : oe * 1.5})`,
1430
1436
  opacity: 1,
1431
1437
  pointerEvents: "none",
1432
1438
  zIndex: 100,
1433
- transition: ye,
1439
+ transition: re,
1434
1440
  fontSize: 36,
1435
1441
  fontWeight: 700,
1436
1442
  letterSpacing: "0.18em",
@@ -1450,25 +1456,25 @@ function xt({
1450
1456
  style: {
1451
1457
  position: "absolute",
1452
1458
  top: 0,
1453
- left: L ? Le : 0,
1459
+ left: z ? se : 0,
1454
1460
  width: 660,
1455
1461
  height: 640,
1456
1462
  pointerEvents: "none",
1457
1463
  zIndex: 0,
1458
- transition: ye
1464
+ transition: re
1459
1465
  },
1460
- children: o.map((J, Lt) => /* @__PURE__ */ e(
1461
- Ht,
1466
+ children: o.map((F, Ve) => /* @__PURE__ */ e(
1467
+ qt,
1462
1468
  {
1463
- x1: J.from[0],
1464
- y1: J.from[1],
1465
- x2: J.to[0],
1466
- y2: J.to[1],
1467
- show: Y && B >= (J.visibleAtPhase ?? 0),
1468
- color: J.color,
1469
- dur: J.duration
1469
+ x1: F.from[0],
1470
+ y1: F.from[1],
1471
+ x2: F.to[0],
1472
+ y2: F.to[1],
1473
+ show: J && M >= (F.visibleAtPhase ?? 0),
1474
+ color: F.color,
1475
+ dur: F.duration
1470
1476
  },
1471
- Lt
1477
+ Ve
1472
1478
  ))
1473
1479
  }
1474
1480
  ),
@@ -1477,13 +1483,13 @@ function xt({
1477
1483
  {
1478
1484
  style: {
1479
1485
  position: "absolute",
1480
- left: L ? be : de,
1481
- top: L ? 570 : C + 70,
1482
- transform: `translate(-50%, -50%) scaleX(${L ? 1 : 0.4}) scaleY(${L ? 1 : 0.6}) scale(${L ? 1 : Z})`,
1483
- transition: ye,
1486
+ left: z ? de : xe,
1487
+ top: z ? 570 : ce + 70,
1488
+ transform: `translate(-50%, -50%) scaleX(${z ? 1 : 0.4}) scaleY(${z ? 1 : 0.6}) scale(${z ? 1 : oe})`,
1489
+ transition: re,
1484
1490
  zIndex: 1
1485
1491
  },
1486
- children: /* @__PURE__ */ e(Yt, { size: At, color: Tt, widthRatio: It, children: /* @__PURE__ */ e("div", { className: "base-hotspot" }) })
1492
+ children: /* @__PURE__ */ e(Gt, { size: rt, color: at, widthRatio: Ye, children: /* @__PURE__ */ e("div", { className: "base-hotspot" }) })
1487
1493
  }
1488
1494
  ),
1489
1495
  r
@@ -1491,7 +1497,7 @@ function xt({
1491
1497
  }
1492
1498
  ) });
1493
1499
  }
1494
- function W({
1500
+ function N({
1495
1501
  ex: t,
1496
1502
  ey: n,
1497
1503
  status: o,
@@ -1501,23 +1507,23 @@ function W({
1501
1507
  offsetY: s,
1502
1508
  isVisible: l,
1503
1509
  align: h = "right",
1504
- internalRef: c
1510
+ internalRef: d
1505
1511
  }) {
1506
- const p = re(ue), f = p?.expandedOffsetX ?? 0;
1512
+ const p = ge(Re), f = p?.expandedOffsetX ?? 0;
1507
1513
  if (o === "online") return null;
1508
- const g = l && !!p?.isExpandedPos, u = P[o]?.color ?? P.warning.color, y = Math.abs(a) > Math.abs(s), m = t + f + (y ? Math.sign(a) * 45 : 0), v = n + (y ? 0 : Math.sign(s) * 40), x = t + f + a, w = n + s;
1509
- let b = "";
1510
- if (y) {
1511
- const S = m + (x - m) / 2;
1512
- b = `M ${m} ${v} L ${S} ${v} L ${S} ${w} L ${x} ${w}`;
1514
+ const b = l && !!p?.isExpandedPos, u = C[o]?.color ?? C.warning.color, g = Math.abs(a) > Math.abs(s), m = t + f + (g ? Math.sign(a) * 45 : 0), w = n + (g ? 0 : Math.sign(s) * 40), v = t + f + a, S = n + s;
1515
+ let y = "";
1516
+ if (g) {
1517
+ const $ = m + (v - m) / 2;
1518
+ y = `M ${m} ${w} L ${$} ${w} L ${$} ${S} L ${v} ${S}`;
1513
1519
  } else {
1514
- const S = v + (w - v) / 2;
1515
- b = `M ${m} ${v} L ${m} ${S} L ${x} ${S} L ${x} ${w}`;
1520
+ const $ = w + (S - w) / 2;
1521
+ y = `M ${m} ${w} L ${m} ${$} L ${v} ${$} L ${v} ${S}`;
1516
1522
  }
1517
- let k = "translate(0, -50%)";
1518
- h === "left" && (k = "translate(-100%, -50%)"), h === "top" && (k = "translate(-50%, -100%)"), h === "bottom" && (k = "translate(-50%, 0)");
1519
- const T = h === "left" ? -8 : h === "right" ? 8 : 0, $ = h === "top" ? -8 : h === "bottom" ? 8 : 0;
1520
- return /* @__PURE__ */ d(
1523
+ let x = "translate(0, -50%)";
1524
+ h === "left" && (x = "translate(-100%, -50%)"), h === "top" && (x = "translate(-50%, -100%)"), h === "bottom" && (x = "translate(-50%, 0)");
1525
+ const A = h === "left" ? -8 : h === "right" ? 8 : 0, k = h === "top" ? -8 : h === "bottom" ? 8 : 0;
1526
+ return /* @__PURE__ */ c(
1521
1527
  "div",
1522
1528
  {
1523
1529
  style: {
@@ -1527,7 +1533,7 @@ function W({
1527
1533
  width: "100%",
1528
1534
  height: "100%",
1529
1535
  pointerEvents: "none",
1530
- opacity: g ? 1 : 0,
1536
+ opacity: b ? 1 : 0,
1531
1537
  transition: "opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.8s",
1532
1538
  zIndex: 150
1533
1539
  },
@@ -1547,7 +1553,7 @@ function W({
1547
1553
  children: /* @__PURE__ */ e(
1548
1554
  "path",
1549
1555
  {
1550
- d: b,
1556
+ d: y,
1551
1557
  fill: "none",
1552
1558
  stroke: u,
1553
1559
  strokeWidth: "1.5",
@@ -1557,16 +1563,16 @@ function W({
1557
1563
  )
1558
1564
  }
1559
1565
  ),
1560
- /* @__PURE__ */ d(
1566
+ /* @__PURE__ */ c(
1561
1567
  "div",
1562
1568
  {
1563
1569
  style: {
1564
1570
  position: "absolute",
1565
- left: x,
1566
- top: w,
1567
- transform: k,
1568
- marginLeft: T,
1569
- marginTop: $,
1571
+ left: v,
1572
+ top: S,
1573
+ transform: x,
1574
+ marginLeft: A,
1575
+ marginTop: k,
1570
1576
  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)",
1571
1577
  border: `1px solid ${u}55`,
1572
1578
  borderLeft: `2px solid ${u}`,
@@ -1580,7 +1586,7 @@ function W({
1580
1586
  boxShadow: `0 4px 12px rgba(0,0,0,0.4), 0 0 8px ${u}22 inset`
1581
1587
  },
1582
1588
  children: [
1583
- /* @__PURE__ */ d(
1589
+ /* @__PURE__ */ c(
1584
1590
  "div",
1585
1591
  {
1586
1592
  style: {
@@ -1614,7 +1620,7 @@ function W({
1614
1620
  textTransform: "uppercase",
1615
1621
  textShadow: `0 0 4px ${u}88`
1616
1622
  },
1617
- children: c ? `${i} · ${c}` : i
1623
+ children: d ? `${i} · ${d}` : i
1618
1624
  }
1619
1625
  )
1620
1626
  ]
@@ -1638,7 +1644,7 @@ function W({
1638
1644
  }
1639
1645
  );
1640
1646
  }
1641
- function A({
1647
+ function E({
1642
1648
  ex: t,
1643
1649
  ey: n,
1644
1650
  compactOffset: o,
@@ -1648,74 +1654,90 @@ function A({
1648
1654
  label: s,
1649
1655
  subLabel: l,
1650
1656
  delay: h = "0s",
1651
- componentInfo: c,
1657
+ componentInfo: d,
1652
1658
  visibleAtPhase: p = 0,
1653
1659
  fixedScale: f,
1654
- bare: g = !1,
1660
+ bare: b = !1,
1655
1661
  alert: u
1656
1662
  }) {
1657
- const y = re(ue);
1658
- if (!y)
1663
+ const g = ge(Re);
1664
+ if (!g)
1659
1665
  throw new Error("ServiceNode must be used inside a <Service> component.");
1660
1666
  const {
1661
1667
  isExpandedPos: m,
1662
- animPhase: v,
1663
- compactCx: x,
1664
- compactCy: w,
1665
- groupScale: b,
1666
- effectiveScale: k,
1667
- transitionValue: T,
1668
- onComponentClick: $,
1669
- selectedComponentName: S,
1670
- expandedOffsetX: N
1671
- } = y, z = p === 0 || y.isSelected && v >= p ? 1 : 0, H = x + o.x, ae = w + o.y, le = m ? t + N : H, I = m ? n : ae, U = f !== void 0 ? f : y.isCompact ? b : k, se = !!c && !!S && c.name === S, Ie = c?.status ? P[c.status]?.color ?? a : a, Oe = c?.status === "offline" ? "#4a6a8a" : Ie, Y = c && m && $ ? () => $({
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, L = c?.status ?? "online", Q = c?.name ?? s ?? "";
1682
- return /* @__PURE__ */ d(Ee, { children: [
1668
+ animPhase: w,
1669
+ compactCx: v,
1670
+ compactCy: S,
1671
+ groupScale: y,
1672
+ effectiveScale: x,
1673
+ transitionValue: A,
1674
+ onComponentClick: k,
1675
+ onComponentUpdate: $,
1676
+ selectedComponentName: H,
1677
+ expandedOffsetX: L
1678
+ } = g, K = p === 0 || g.isSelected && w >= p ? 1 : 0, Z = v + o.x, ye = S + o.y, me = m ? t + L : Z, D = m ? n : ye, U = f !== void 0 ? f : g.isCompact ? y : x, ne = !!d && !!H && d.name === H, Be = d?.status ? C[d.status]?.color ?? a : a, le = d?.status === "offline" ? "#4a6a8a" : Be, Fe = d && m && k ? () => k({
1679
+ type: d.type,
1680
+ name: d.name,
1681
+ status: d.status,
1682
+ ex: d.ex ?? t,
1683
+ ey: d.ey ?? n,
1684
+ context: d.context,
1685
+ dialogMetrics: d.dialogMetrics,
1686
+ subComponents: d.subComponents,
1687
+ graphSeries: d.graphSeries
1688
+ }) : void 0, J = JSON.stringify(d?.context ?? {}), z = JSON.stringify(d?.dialogMetrics ?? []);
1689
+ ke(() => {
1690
+ !ne || !d || !$ || $({
1691
+ type: d.type,
1692
+ name: d.name,
1693
+ status: d.status,
1694
+ ex: d.ex ?? t,
1695
+ ey: d.ey ?? n,
1696
+ context: d.context,
1697
+ dialogMetrics: d.dialogMetrics,
1698
+ subComponents: d.subComponents,
1699
+ graphSeries: d.graphSeries
1700
+ });
1701
+ }, [ne, d?.status, J, z]);
1702
+ const _ = d?.status === "warning" || d?.status === "critical", se = d?.status ?? "online", de = d?.name ?? s ?? "";
1703
+ return /* @__PURE__ */ c(Me, { children: [
1683
1704
  /* @__PURE__ */ e(
1684
1705
  "div",
1685
1706
  {
1686
1707
  style: {
1687
1708
  position: "absolute",
1688
- left: le,
1689
- top: I,
1709
+ left: me,
1710
+ top: D,
1690
1711
  transform: `translate(-50%, -50%) scale(${U})`,
1691
- opacity: z,
1712
+ opacity: K,
1692
1713
  zIndex: i,
1693
- transition: T || "all 1s cubic-bezier(0.34, 1.56, 0.64, 1)",
1694
- pointerEvents: m && z >= 0.5 ? "auto" : "none"
1714
+ transition: A || "all 1s cubic-bezier(0.34, 1.56, 0.64, 1)",
1715
+ pointerEvents: m && K >= 0.5 ? "auto" : "none"
1695
1716
  },
1696
- children: g ? r : /* @__PURE__ */ e(
1697
- jt,
1717
+ children: b ? r : /* @__PURE__ */ e(
1718
+ Jt,
1698
1719
  {
1699
- statusColor: Oe,
1720
+ statusColor: le,
1700
1721
  label: s,
1701
1722
  subLabel: l,
1702
1723
  delay: h,
1703
1724
  showLabels: m,
1704
- isCompact: y.isCompact,
1705
- onClick: Y,
1706
- isSelected: se,
1725
+ isCompact: g.isCompact,
1726
+ onClick: Fe,
1727
+ isSelected: ne,
1728
+ isAlerting: _,
1707
1729
  children: r
1708
1730
  }
1709
1731
  )
1710
1732
  }
1711
1733
  ),
1712
1734
  u && /* @__PURE__ */ e(
1713
- W,
1735
+ N,
1714
1736
  {
1715
1737
  ex: t,
1716
1738
  ey: n,
1717
- status: L,
1718
- title: Q,
1739
+ status: se,
1740
+ title: de,
1719
1741
  msg: u.msg,
1720
1742
  offsetX: u.offsetX ?? 110,
1721
1743
  offsetY: u.offsetY ?? -30,
@@ -1726,7 +1748,7 @@ function A({
1726
1748
  )
1727
1749
  ] });
1728
1750
  }
1729
- function jt({
1751
+ function Jt({
1730
1752
  children: t,
1731
1753
  statusColor: n,
1732
1754
  label: o,
@@ -1735,27 +1757,38 @@ function jt({
1735
1757
  showLabels: a = !0,
1736
1758
  isCompact: s = !1,
1737
1759
  onClick: l,
1738
- isSelected: h = !1
1760
+ isSelected: h = !1,
1761
+ isAlerting: d = !1
1739
1762
  }) {
1740
- const [c, p] = R(!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(
1763
+ const [p, f] = R(!1), b = h ? `brightness(1.5) drop-shadow(0 0 24px ${n}cc) drop-shadow(0 0 8px ${n}88)` : p && l ? `brightness(1.2) drop-shadow(0 0 12px ${n}77)` : "";
1764
+ return /* @__PURE__ */ c(
1742
1765
  "div",
1743
1766
  {
1744
1767
  className: `float-node${l ? " float-node--interactive" : ""}`,
1745
- onClick: (g) => {
1746
- l && (g.stopPropagation(), l());
1768
+ onClick: (u) => {
1769
+ l && (u.stopPropagation(), l());
1747
1770
  },
1748
1771
  style: {
1749
1772
  cursor: l ? "pointer" : void 0,
1750
1773
  transition: "filter 0.3s ease",
1751
- filter: f
1774
+ filter: b
1752
1775
  },
1753
- onMouseEnter: () => p(!0),
1754
- onMouseLeave: () => p(!1),
1776
+ onMouseEnter: () => f(!0),
1777
+ onMouseLeave: () => f(!1),
1755
1778
  role: l ? "button" : void 0,
1756
1779
  title: l ? "Click to inspect internal components" : void 0,
1757
1780
  children: [
1758
- /* @__PURE__ */ d("div", { className: "float-body", style: { animationDelay: r }, children: [
1781
+ d && /* @__PURE__ */ e(
1782
+ "div",
1783
+ {
1784
+ className: "node-alert-glow",
1785
+ style: {
1786
+ "--pulse-color": n,
1787
+ boxShadow: `0 0 20px ${n}, 0 0 40px ${n}66`
1788
+ }
1789
+ }
1790
+ ),
1791
+ /* @__PURE__ */ c("div", { className: "float-body", style: { animationDelay: r }, children: [
1759
1792
  /* @__PURE__ */ e(
1760
1793
  "div",
1761
1794
  {
@@ -1766,11 +1799,11 @@ function jt({
1766
1799
  }
1767
1800
  }
1768
1801
  ),
1769
- /* @__PURE__ */ e("div", { style: s ? { background: "#040c1a", borderRadius: 2 } : void 0, children: s && j.isValidElement(t) ? j.cloneElement(t, {
1802
+ /* @__PURE__ */ e("div", { style: s ? { background: "#040c1a", borderRadius: 2 } : void 0, children: s && q.isValidElement(t) ? q.cloneElement(t, {
1770
1803
  _compact: !0
1771
1804
  }) : t })
1772
1805
  ] }),
1773
- /* @__PURE__ */ d(
1806
+ /* @__PURE__ */ c(
1774
1807
  "div",
1775
1808
  {
1776
1809
  style: {
@@ -1787,10 +1820,10 @@ function jt({
1787
1820
  }
1788
1821
  );
1789
1822
  }
1790
- function vt({ synced: t, latencyMs: n }) {
1823
+ function It({ synced: t, latencyMs: n }) {
1791
1824
  const o = t ? "#00ff88" : "#ff8c00";
1792
- return /* @__PURE__ */ d("div", { className: "sync-bridge", children: [
1793
- /* @__PURE__ */ d("div", { className: "sync-arrows", children: [
1825
+ return /* @__PURE__ */ c("div", { className: "sync-bridge", children: [
1826
+ /* @__PURE__ */ c("div", { className: "sync-arrows", children: [
1794
1827
  /* @__PURE__ */ e("span", { style: { color: o, fontSize: 10, lineHeight: 1 }, children: "◄" }),
1795
1828
  /* @__PURE__ */ e(
1796
1829
  "div",
@@ -1815,15 +1848,15 @@ function vt({ synced: t, latencyMs: n }) {
1815
1848
  children: t ? "SYNCED" : "LAG"
1816
1849
  }
1817
1850
  ),
1818
- /* @__PURE__ */ d("div", { className: "sync-latency", style: { color: o + "88" }, children: [
1851
+ /* @__PURE__ */ c("div", { className: "sync-latency", style: { color: o + "88" }, children: [
1819
1852
  n,
1820
1853
  "ms ",
1821
1854
  t ? "replication" : "behind"
1822
1855
  ] })
1823
1856
  ] });
1824
1857
  }
1825
- const te = 140, _ = 240, oe = 160, me = Je(te, _, oe);
1826
- function Xt({
1858
+ const fe = 140, X = 240, be = 160, Pe = ht(fe, X, be);
1859
+ function ei({
1827
1860
  cfg: t,
1828
1861
  name: n,
1829
1862
  cpuLoad: o,
@@ -1832,19 +1865,19 @@ function Xt({
1832
1865
  compact: a,
1833
1866
  brandLabel: s
1834
1867
  }) {
1835
- const l = Math.ceil(o / 100 * 3), h = r === "offline" ? "#4a6a8a" : t.color, c = [
1868
+ const l = Math.ceil(o / 100 * 3), h = r === "offline" ? "#4a6a8a" : t.color, d = [
1836
1869
  { color: t.color, on: r !== "offline", label: "PWR" },
1837
1870
  { color: t.color, on: r === "online" || r === "warning", label: "NET" },
1838
1871
  { color: t.color, on: o > 15, label: "DSK" },
1839
1872
  { color: r === "critical" ? "#ff2255" : t.color, on: r === "critical", label: "FLT" }
1840
1873
  ];
1841
- return /* @__PURE__ */ d(
1874
+ return /* @__PURE__ */ c(
1842
1875
  "div",
1843
1876
  {
1844
1877
  style: {
1845
- width: te,
1846
- height: _,
1847
- background: a ? Te : Ze,
1878
+ width: fe,
1879
+ height: X,
1880
+ background: a ? ze : ft,
1848
1881
  position: "relative",
1849
1882
  overflow: "hidden",
1850
1883
  fontFamily: "'Courier New', monospace",
@@ -1866,7 +1899,7 @@ function Xt({
1866
1899
  }
1867
1900
  }
1868
1901
  ),
1869
- /* @__PURE__ */ d(
1902
+ /* @__PURE__ */ c(
1870
1903
  "div",
1871
1904
  {
1872
1905
  style: {
@@ -1881,7 +1914,7 @@ function Xt({
1881
1914
  gap: 7
1882
1915
  },
1883
1916
  children: [
1884
- /* @__PURE__ */ d("div", { style: { display: "flex", justifyContent: "space-between", alignItems: "center" }, children: [
1917
+ /* @__PURE__ */ c("div", { style: { display: "flex", justifyContent: "space-between", alignItems: "center" }, children: [
1885
1918
  /* @__PURE__ */ e("span", { style: { fontSize: 7, color: t.color + "55", letterSpacing: "0.22em" }, children: s }),
1886
1919
  /* @__PURE__ */ e(
1887
1920
  "div",
@@ -1897,7 +1930,7 @@ function Xt({
1897
1930
  alignItems: "center",
1898
1931
  justifyContent: "center"
1899
1932
  },
1900
- children: /* @__PURE__ */ d("svg", { width: "9", height: "9", viewBox: "0 0 10 10", fill: "none", children: [
1933
+ children: /* @__PURE__ */ c("svg", { width: "9", height: "9", viewBox: "0 0 10 10", fill: "none", children: [
1901
1934
  /* @__PURE__ */ e("path", { d: "M5 1.5v3", stroke: t.color, strokeWidth: "1.4", strokeLinecap: "round" }),
1902
1935
  /* @__PURE__ */ e(
1903
1936
  "path",
@@ -1912,7 +1945,7 @@ function Xt({
1912
1945
  }
1913
1946
  )
1914
1947
  ] }),
1915
- /* @__PURE__ */ d("div", { style: { display: "flex", justifyContent: "space-between", alignItems: "center" }, children: [
1948
+ /* @__PURE__ */ c("div", { style: { display: "flex", justifyContent: "space-between", alignItems: "center" }, children: [
1916
1949
  /* @__PURE__ */ e(
1917
1950
  "span",
1918
1951
  {
@@ -1925,7 +1958,7 @@ function Xt({
1925
1958
  children: n
1926
1959
  }
1927
1960
  ),
1928
- /* @__PURE__ */ e("div", { style: { display: "flex", gap: 5 }, children: c.map((p, f) => /* @__PURE__ */ e(
1961
+ /* @__PURE__ */ e("div", { style: { display: "flex", gap: 5 }, children: d.map((p, f) => /* @__PURE__ */ e(
1929
1962
  "div",
1930
1963
  {
1931
1964
  style: {
@@ -1956,7 +1989,7 @@ function Xt({
1956
1989
  }
1957
1990
  }
1958
1991
  ),
1959
- /* @__PURE__ */ d(
1992
+ /* @__PURE__ */ c(
1960
1993
  "div",
1961
1994
  {
1962
1995
  style: {
@@ -2005,8 +2038,8 @@ function Xt({
2005
2038
  }
2006
2039
  ),
2007
2040
  Array.from({ length: 3 }, (p, f) => {
2008
- const g = f < l;
2009
- return /* @__PURE__ */ d(
2041
+ const b = f < l;
2042
+ return /* @__PURE__ */ c(
2010
2043
  "div",
2011
2044
  {
2012
2045
  style: {
@@ -2032,8 +2065,8 @@ function Xt({
2032
2065
  height: 5,
2033
2066
  borderRadius: "50%",
2034
2067
  flexShrink: 0,
2035
- background: g ? t.color : "#08142a",
2036
- boxShadow: g ? `0 0 6px ${t.color}, 0 0 12px ${t.color}66` : "none"
2068
+ background: b ? t.color : "#08142a",
2069
+ boxShadow: b ? `0 0 6px ${t.color}, 0 0 12px ${t.color}66` : "none"
2037
2070
  }
2038
2071
  }
2039
2072
  ),
@@ -2049,7 +2082,7 @@ function Xt({
2049
2082
  position: "relative",
2050
2083
  overflow: "hidden"
2051
2084
  },
2052
- children: g && /* @__PURE__ */ e(
2085
+ children: b && /* @__PURE__ */ e(
2053
2086
  "div",
2054
2087
  {
2055
2088
  style: {
@@ -2096,7 +2129,7 @@ function Xt({
2096
2129
  }
2097
2130
  }
2098
2131
  ),
2099
- /* @__PURE__ */ d(
2132
+ /* @__PURE__ */ c(
2100
2133
  "div",
2101
2134
  {
2102
2135
  style: {
@@ -2235,13 +2268,13 @@ function Xt({
2235
2268
  }
2236
2269
  );
2237
2270
  }
2238
- function qt() {
2239
- return /* @__PURE__ */ d(
2271
+ function ti() {
2272
+ return /* @__PURE__ */ c(
2240
2273
  "div",
2241
2274
  {
2242
2275
  style: {
2243
- width: te,
2244
- height: _,
2276
+ width: fe,
2277
+ height: X,
2245
2278
  background: "linear-gradient(180deg, #040c1a 0%, #030810 100%)",
2246
2279
  position: "relative",
2247
2280
  overflow: "hidden",
@@ -2349,18 +2382,18 @@ function qt() {
2349
2382
  }
2350
2383
  );
2351
2384
  }
2352
- function ft({
2385
+ function Rt({
2353
2386
  side: t,
2354
2387
  color: n,
2355
2388
  brandLabel: o
2356
2389
  }) {
2357
2390
  const i = t === "right";
2358
- return /* @__PURE__ */ d(
2391
+ return /* @__PURE__ */ c(
2359
2392
  "div",
2360
2393
  {
2361
2394
  style: {
2362
- width: oe,
2363
- height: _,
2395
+ width: be,
2396
+ height: X,
2364
2397
  background: i ? "linear-gradient(90deg, #040c1c 0%, #071428 60%, #040c1c 100%)" : "linear-gradient(90deg, #040c1c 0%, #071428 40%, #040c1c 100%)",
2365
2398
  position: "relative",
2366
2399
  overflow: "hidden"
@@ -2379,13 +2412,13 @@ function ft({
2379
2412
  }
2380
2413
  }
2381
2414
  ),
2382
- [8, _ - 20].map((r) => /* @__PURE__ */ e(
2415
+ [8, X - 20].map((r) => /* @__PURE__ */ e(
2383
2416
  "div",
2384
2417
  {
2385
2418
  style: {
2386
2419
  position: "absolute",
2387
2420
  top: r,
2388
- left: i ? 10 : oe - 18,
2421
+ left: i ? 10 : be - 18,
2389
2422
  width: 8,
2390
2423
  height: 8,
2391
2424
  borderRadius: 1,
@@ -2401,8 +2434,8 @@ function ft({
2401
2434
  {
2402
2435
  style: {
2403
2436
  position: "absolute",
2404
- top: _ * 0.35,
2405
- bottom: _ * 0.15,
2437
+ top: X * 0.35,
2438
+ bottom: X * 0.15,
2406
2439
  left: i ? 22 : 18,
2407
2440
  right: i ? 18 : 22,
2408
2441
  display: "flex",
@@ -2425,13 +2458,13 @@ function ft({
2425
2458
  ))
2426
2459
  }
2427
2460
  ),
2428
- /* @__PURE__ */ d(
2461
+ /* @__PURE__ */ c(
2429
2462
  "div",
2430
2463
  {
2431
2464
  style: {
2432
2465
  position: "absolute",
2433
- top: _ * 0.18,
2434
- left: i ? 12 : oe - 78,
2466
+ top: X * 0.18,
2467
+ left: i ? 12 : be - 78,
2435
2468
  fontSize: 7,
2436
2469
  color: "#1a3050",
2437
2470
  letterSpacing: "0.2em",
@@ -2449,14 +2482,14 @@ function ft({
2449
2482
  }
2450
2483
  );
2451
2484
  }
2452
- function Qt({ cpuLoad: t }) {
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((oe - 18) / 7);
2454
- return /* @__PURE__ */ d(
2485
+ function ii({ cpuLoad: t }) {
2486
+ 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((be - 18) / 7);
2487
+ return /* @__PURE__ */ c(
2455
2488
  "div",
2456
2489
  {
2457
2490
  style: {
2458
- width: te,
2459
- height: oe,
2491
+ width: fe,
2492
+ height: be,
2460
2493
  background: "linear-gradient(180deg, #0c1c30 0%, #070f1e 40%, #040c1a 100%)",
2461
2494
  position: "relative",
2462
2495
  overflow: "hidden"
@@ -2470,7 +2503,7 @@ function Qt({ cpuLoad: t }) {
2470
2503
  top: 0,
2471
2504
  left: 0,
2472
2505
  right: 0,
2473
- height: oe * 0.4,
2506
+ height: be * 0.4,
2474
2507
  background: `radial-gradient(ellipse at 50% 0%, ${o} 0%, transparent 70%)`
2475
2508
  }
2476
2509
  }
@@ -2529,7 +2562,7 @@ function Qt({ cpuLoad: t }) {
2529
2562
  }
2530
2563
  );
2531
2564
  }
2532
- function he({
2565
+ function $e({
2533
2566
  rotateX: t = -22,
2534
2567
  rotateY: n = 20,
2535
2568
  rotateZ: o = 0,
@@ -2539,29 +2572,29 @@ function he({
2539
2572
  name: s = "SRV-001",
2540
2573
  cpuLoad: l = 67,
2541
2574
  memLoad: h = 82,
2542
- brandLabel: c = "BUSAUD",
2575
+ brandLabel: d = "BUSAUD",
2543
2576
  _compact: p
2544
2577
  }) {
2545
- const [f, g] = R(n), u = K(0), y = K(0);
2546
- Ae(() => {
2578
+ const [f, b] = R(n), u = ie(0), g = ie(0);
2579
+ ke(() => {
2547
2580
  if (!r) {
2548
- g(n);
2581
+ b(n);
2549
2582
  return;
2550
2583
  }
2551
- const v = (x) => {
2552
- y.current && g((w) => w + (x - y.current) * 0.027), y.current = x, u.current = requestAnimationFrame(v);
2584
+ const w = (v) => {
2585
+ g.current && b((S) => S + (v - g.current) * 0.027), g.current = v, u.current = requestAnimationFrame(w);
2553
2586
  };
2554
- return u.current = requestAnimationFrame(v), () => {
2555
- cancelAnimationFrame(u.current), y.current = 0;
2587
+ return u.current = requestAnimationFrame(w), () => {
2588
+ cancelAnimationFrame(u.current), g.current = 0;
2556
2589
  };
2557
2590
  }, [r, n]);
2558
- const m = P[a] ?? P.online;
2559
- return /* @__PURE__ */ d(
2591
+ const m = C[a] ?? C.online;
2592
+ return /* @__PURE__ */ c(
2560
2593
  "div",
2561
2594
  {
2562
2595
  style: {
2563
- width: te * i,
2564
- height: _ * i,
2596
+ width: fe * i,
2597
+ height: X * i,
2565
2598
  position: "relative",
2566
2599
  display: "flex",
2567
2600
  alignItems: "center",
@@ -2581,7 +2614,7 @@ function he({
2581
2614
  animation: "holo-led-blink 1.5s infinite",
2582
2615
  filter: `drop-shadow(0 0 10px ${m.color})`
2583
2616
  },
2584
- children: /* @__PURE__ */ d("svg", { width: "44", height: "44", viewBox: "0 0 28 28", fill: "none", children: [
2617
+ children: /* @__PURE__ */ c("svg", { width: "44", height: "44", viewBox: "0 0 28 28", fill: "none", children: [
2585
2618
  /* @__PURE__ */ e(
2586
2619
  "path",
2587
2620
  {
@@ -2613,8 +2646,8 @@ function he({
2613
2646
  {
2614
2647
  style: {
2615
2648
  position: "absolute",
2616
- width: te * 1.4 * i,
2617
- height: _ * 0.8 * i,
2649
+ width: fe * 1.4 * i,
2650
+ height: X * 0.8 * i,
2618
2651
  background: `radial-gradient(ellipse, ${m.glow} 0%, transparent 65%)`,
2619
2652
  filter: `blur(${Math.round(45 * i)}px)`,
2620
2653
  pointerEvents: "none",
@@ -2633,20 +2666,20 @@ function he({
2633
2666
  transform: `scale(${i})`,
2634
2667
  transformOrigin: "center center"
2635
2668
  },
2636
- children: /* @__PURE__ */ d(
2669
+ children: /* @__PURE__ */ c(
2637
2670
  "div",
2638
2671
  {
2639
2672
  style: {
2640
- width: te,
2641
- height: _,
2673
+ width: fe,
2674
+ height: X,
2642
2675
  position: "relative",
2643
2676
  transformStyle: "preserve-3d",
2644
2677
  transform: `rotateX(${t}deg) rotateY(${f}deg) rotateZ(${o}deg)`,
2645
2678
  transition: r ? "none" : "transform 0.55s cubic-bezier(0.25, 0.46, 0.45, 0.94)"
2646
2679
  },
2647
2680
  children: [
2648
- /* @__PURE__ */ e("div", { style: me.front, children: /* @__PURE__ */ e(
2649
- Xt,
2681
+ /* @__PURE__ */ e("div", { style: Pe.front, children: /* @__PURE__ */ e(
2682
+ ei,
2650
2683
  {
2651
2684
  cfg: m,
2652
2685
  name: s,
@@ -2654,19 +2687,19 @@ function he({
2654
2687
  memLoad: h,
2655
2688
  status: a,
2656
2689
  compact: p,
2657
- brandLabel: c
2690
+ brandLabel: d
2658
2691
  }
2659
2692
  ) }),
2660
- /* @__PURE__ */ e("div", { style: me.back, children: /* @__PURE__ */ e(qt, {}) }),
2661
- /* @__PURE__ */ e("div", { style: me.left, children: /* @__PURE__ */ e(ft, { side: "left", color: m.color, brandLabel: c }) }),
2662
- /* @__PURE__ */ e("div", { style: me.right, children: /* @__PURE__ */ e(ft, { side: "right", color: m.color, brandLabel: c }) }),
2663
- /* @__PURE__ */ e("div", { style: me.top, children: /* @__PURE__ */ e(Qt, { cpuLoad: l }) }),
2664
- /* @__PURE__ */ e("div", { style: me.bottom, children: /* @__PURE__ */ e(
2693
+ /* @__PURE__ */ e("div", { style: Pe.back, children: /* @__PURE__ */ e(ti, {}) }),
2694
+ /* @__PURE__ */ e("div", { style: Pe.left, children: /* @__PURE__ */ e(Rt, { side: "left", color: m.color, brandLabel: d }) }),
2695
+ /* @__PURE__ */ e("div", { style: Pe.right, children: /* @__PURE__ */ e(Rt, { side: "right", color: m.color, brandLabel: d }) }),
2696
+ /* @__PURE__ */ e("div", { style: Pe.top, children: /* @__PURE__ */ e(ii, { cpuLoad: l }) }),
2697
+ /* @__PURE__ */ e("div", { style: Pe.bottom, children: /* @__PURE__ */ e(
2665
2698
  "div",
2666
2699
  {
2667
2700
  style: {
2668
- width: te,
2669
- height: oe,
2701
+ width: fe,
2702
+ height: be,
2670
2703
  background: "linear-gradient(180deg, #030710, #020508)"
2671
2704
  }
2672
2705
  }
@@ -2680,7 +2713,7 @@ function he({
2680
2713
  }
2681
2714
  );
2682
2715
  }
2683
- function Ti({
2716
+ function Mi({
2684
2717
  ex: t,
2685
2718
  ey: n,
2686
2719
  compactOffset: o,
@@ -2690,17 +2723,17 @@ function Ti({
2690
2723
  subLabel: s,
2691
2724
  color: l,
2692
2725
  delay: h,
2693
- visibleAtPhase: c,
2726
+ visibleAtPhase: d,
2694
2727
  cpuLoad: p,
2695
2728
  memLoad: f,
2696
- brandLabel: g,
2729
+ brandLabel: b,
2697
2730
  dialogMetrics: u,
2698
- subComponents: y,
2731
+ subComponents: g,
2699
2732
  graphSeries: m,
2700
- alert: v
2733
+ alert: w
2701
2734
  }) {
2702
2735
  return /* @__PURE__ */ e(
2703
- A,
2736
+ E,
2704
2737
  {
2705
2738
  ex: t,
2706
2739
  ey: n,
@@ -2710,26 +2743,26 @@ function Ti({
2710
2743
  subLabel: s,
2711
2744
  color: l,
2712
2745
  delay: h,
2713
- visibleAtPhase: c,
2746
+ visibleAtPhase: d,
2714
2747
  componentInfo: {
2715
2748
  type: "server",
2716
2749
  name: r,
2717
2750
  status: a,
2718
2751
  context: { cpuLoad: p, memLoad: f },
2719
2752
  dialogMetrics: u,
2720
- subComponents: y,
2753
+ subComponents: g,
2721
2754
  graphSeries: m
2722
2755
  },
2723
- alert: v,
2724
- children: /* @__PURE__ */ e(he, { status: a, cpuLoad: p, memLoad: f, brandLabel: g })
2756
+ alert: w,
2757
+ children: /* @__PURE__ */ e($e, { status: a, cpuLoad: p, memLoad: f, brandLabel: b })
2725
2758
  }
2726
2759
  );
2727
2760
  }
2728
- const Ke = 12, fe = 55, G = fe * 2, Se = 52, it = 10, je = 3 * Se + 2 * it, xe = 2 * Math.PI * fe / Ke, Xe = Array.from({ length: Ke }, (t, n) => n / Ke * 360);
2729
- function qe(t) {
2761
+ const pt = 12, Se = 55, te = Se * 2, Oe = 52, gt = 10, lt = 3 * Oe + 2 * gt, Ee = 2 * Math.PI * Se / pt, st = Array.from({ length: pt }, (t, n) => n / pt * 360);
2762
+ function dt(t) {
2730
2763
  return Math.cos(t * Math.PI / 180) * 0.42 + 0.58;
2731
2764
  }
2732
- function Gt({
2765
+ function ni({
2733
2766
  diskY: t,
2734
2767
  diskIdx: n,
2735
2768
  cfg: o,
@@ -2737,25 +2770,25 @@ function Gt({
2737
2770
  capacity: r,
2738
2771
  compact: a
2739
2772
  }) {
2740
- return /* @__PURE__ */ d(Ee, { children: [
2741
- Xe.map((s, l) => {
2742
- const h = qe(s), c = l === 0, p = Math.round(4 + h * 9), f = Math.round(12 + h * 22), g = Math.round(28 + h * 44), u = Math.round(h * 0.55 * 255).toString(16).padStart(2, "0");
2773
+ return /* @__PURE__ */ c(Me, { children: [
2774
+ st.map((s, l) => {
2775
+ const h = dt(s), d = l === 0, p = Math.round(4 + h * 9), f = Math.round(12 + h * 22), b = Math.round(28 + h * 44), u = Math.round(h * 0.55 * 255).toString(16).padStart(2, "0");
2743
2776
  return /* @__PURE__ */ e(
2744
2777
  "div",
2745
2778
  {
2746
2779
  style: {
2747
2780
  position: "absolute",
2748
- width: xe,
2749
- height: Se,
2750
- left: (G - xe) / 2,
2781
+ width: Ee,
2782
+ height: Oe,
2783
+ left: (te - Ee) / 2,
2751
2784
  top: t,
2752
- transform: `rotateY(${s}deg) translateZ(${fe}px)`,
2785
+ transform: `rotateY(${s}deg) translateZ(${Se}px)`,
2753
2786
  backfaceVisibility: "hidden",
2754
- 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},${g})`,
2787
+ background: d ? 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},${b})`,
2755
2788
  borderLeft: `1px solid ${o.color}${u}`,
2756
- boxShadow: c ? `inset 0 0 18px ${o.color}28` : "none"
2789
+ boxShadow: d ? `inset 0 0 18px ${o.color}28` : "none"
2757
2790
  },
2758
- children: c && /* @__PURE__ */ d(Ee, { children: [
2791
+ children: d && /* @__PURE__ */ c(Me, { children: [
2759
2792
  /* @__PURE__ */ e(
2760
2793
  "div",
2761
2794
  {
@@ -2803,15 +2836,15 @@ function Gt({
2803
2836
  `p${n}${l}`
2804
2837
  );
2805
2838
  }),
2806
- /* @__PURE__ */ d(
2839
+ /* @__PURE__ */ c(
2807
2840
  "div",
2808
2841
  {
2809
2842
  style: {
2810
2843
  position: "absolute",
2811
- width: G + 4,
2812
- height: G + 4,
2844
+ width: te + 4,
2845
+ height: te + 4,
2813
2846
  left: -2,
2814
- top: t - fe,
2847
+ top: t - Se,
2815
2848
  borderRadius: "50%",
2816
2849
  transform: "rotateX(90deg)",
2817
2850
  backfaceVisibility: "hidden",
@@ -2869,10 +2902,10 @@ function Gt({
2869
2902
  {
2870
2903
  style: {
2871
2904
  position: "absolute",
2872
- width: G + 4,
2873
- height: G + 4,
2905
+ width: te + 4,
2906
+ height: te + 4,
2874
2907
  left: -2,
2875
- top: t + Se - fe,
2908
+ top: t + Oe - Se,
2876
2909
  borderRadius: "50%",
2877
2910
  transform: "rotateX(-90deg)",
2878
2911
  backfaceVisibility: "hidden",
@@ -2896,18 +2929,18 @@ function Gt({
2896
2929
  )
2897
2930
  }
2898
2931
  ),
2899
- i && Xe.map((s, l) => {
2900
- const h = qe(s);
2932
+ i && st.map((s, l) => {
2933
+ const h = dt(s);
2901
2934
  return /* @__PURE__ */ e(
2902
2935
  "div",
2903
2936
  {
2904
2937
  style: {
2905
2938
  position: "absolute",
2906
- width: xe + 1.5,
2939
+ width: Ee + 1.5,
2907
2940
  height: 6,
2908
- left: (G - xe - 1.5) / 2,
2909
- top: t + Se - 3,
2910
- transform: `rotateY(${s}deg) translateZ(${fe + 1.5}px)`,
2941
+ left: (te - Ee - 1.5) / 2,
2942
+ top: t + Oe - 3,
2943
+ transform: `rotateY(${s}deg) translateZ(${Se + 1.5}px)`,
2911
2944
  backfaceVisibility: "hidden",
2912
2945
  background: o.color,
2913
2946
  boxShadow: `0 0 8px ${o.color}, 0 0 18px ${o.color}aa, 0 0 30px ${o.glow}`,
@@ -2917,20 +2950,20 @@ function Gt({
2917
2950
  `rng${n}${l}`
2918
2951
  );
2919
2952
  }),
2920
- i && Xe.map((s, l) => {
2921
- const h = qe(s), c = Math.round(2 + h * 4), p = Math.round(5 + h * 10), f = Math.round(12 + h * 20);
2953
+ i && st.map((s, l) => {
2954
+ const h = dt(s), d = Math.round(2 + h * 4), p = Math.round(5 + h * 10), f = Math.round(12 + h * 20);
2922
2955
  return /* @__PURE__ */ e(
2923
2956
  "div",
2924
2957
  {
2925
2958
  style: {
2926
2959
  position: "absolute",
2927
- width: xe,
2928
- height: it,
2929
- left: (G - xe) / 2,
2930
- top: t + Se,
2931
- transform: `rotateY(${s}deg) translateZ(${fe}px)`,
2960
+ width: Ee,
2961
+ height: gt,
2962
+ left: (te - Ee) / 2,
2963
+ top: t + Oe,
2964
+ transform: `rotateY(${s}deg) translateZ(${Se}px)`,
2932
2965
  backfaceVisibility: "hidden",
2933
- background: `rgb(${c},${p},${f})`
2966
+ background: `rgb(${d},${p},${f})`
2934
2967
  }
2935
2968
  },
2936
2969
  `gap${n}${l}`
@@ -2938,7 +2971,7 @@ function Gt({
2938
2971
  })
2939
2972
  ] });
2940
2973
  }
2941
- function Ne({
2974
+ function Ue({
2942
2975
  rotateX: t = -22,
2943
2976
  rotateY: n = -15,
2944
2977
  rotateZ: o = 0,
@@ -2950,26 +2983,26 @@ function Ne({
2950
2983
  // connections = 284,
2951
2984
  _compact: l
2952
2985
  }) {
2953
- const [h, c] = R(n), p = K(0), f = K(0);
2954
- Ae(() => {
2986
+ const [h, d] = R(n), p = ie(0), f = ie(0);
2987
+ ke(() => {
2955
2988
  if (!r) {
2956
- c(n);
2989
+ d(n);
2957
2990
  return;
2958
2991
  }
2959
- const u = (y) => {
2960
- f.current && c((m) => m + (y - f.current) * 0.027), f.current = y, p.current = requestAnimationFrame(u);
2992
+ const u = (g) => {
2993
+ f.current && d((m) => m + (g - f.current) * 0.027), f.current = g, p.current = requestAnimationFrame(u);
2961
2994
  };
2962
2995
  return p.current = requestAnimationFrame(u), () => {
2963
2996
  cancelAnimationFrame(p.current), f.current = 0;
2964
2997
  };
2965
2998
  }, [r, n]);
2966
- const g = P[a] ?? P.online;
2967
- return /* @__PURE__ */ d(
2999
+ const b = C[a] ?? C.online;
3000
+ return /* @__PURE__ */ c(
2968
3001
  "div",
2969
3002
  {
2970
3003
  style: {
2971
- width: G * i,
2972
- height: je * i,
3004
+ width: te * i,
3005
+ height: lt * i,
2973
3006
  position: "relative",
2974
3007
  display: "flex",
2975
3008
  alignItems: "center",
@@ -2989,7 +3022,7 @@ function Ne({
2989
3022
  animation: "holo-led-blink 1.5s infinite",
2990
3023
  filter: `drop-shadow(0 0 10px ${a === "critical" ? "#ff2255" : "#ff8c00"})`
2991
3024
  },
2992
- children: /* @__PURE__ */ d("svg", { width: "44", height: "44", viewBox: "0 0 28 28", fill: "none", children: [
3025
+ children: /* @__PURE__ */ c("svg", { width: "44", height: "44", viewBox: "0 0 28 28", fill: "none", children: [
2993
3026
  /* @__PURE__ */ e(
2994
3027
  "path",
2995
3028
  {
@@ -3029,9 +3062,9 @@ function Ne({
3029
3062
  {
3030
3063
  style: {
3031
3064
  position: "absolute",
3032
- width: G * 2.8 * i,
3033
- height: je * 0.85 * i,
3034
- background: `radial-gradient(ellipse, ${g.glow} 0%, transparent 65%)`,
3065
+ width: te * 2.8 * i,
3066
+ height: lt * 0.85 * i,
3067
+ background: `radial-gradient(ellipse, ${b.glow} 0%, transparent 65%)`,
3035
3068
  filter: `blur(${Math.round(50 * i)}px)`,
3036
3069
  pointerEvents: "none",
3037
3070
  top: "45%",
@@ -3053,19 +3086,19 @@ function Ne({
3053
3086
  "div",
3054
3087
  {
3055
3088
  style: {
3056
- width: G,
3057
- height: je,
3089
+ width: te,
3090
+ height: lt,
3058
3091
  position: "relative",
3059
3092
  transformStyle: "preserve-3d",
3060
3093
  transform: `rotateX(${t}deg) rotateY(${h}deg) rotateZ(${o}deg)`,
3061
3094
  transition: r ? "none" : "transform 0.55s cubic-bezier(0.25, 0.46, 0.45, 0.94)"
3062
3095
  },
3063
3096
  children: [0, 1, 2].map((u) => /* @__PURE__ */ e(
3064
- Gt,
3097
+ ni,
3065
3098
  {
3066
- diskY: u * (Se + it),
3099
+ diskY: u * (Oe + gt),
3067
3100
  diskIdx: u,
3068
- cfg: g,
3101
+ cfg: b,
3069
3102
  hasRingBelow: u < 2,
3070
3103
  capacity: s,
3071
3104
  compact: l
@@ -3080,7 +3113,7 @@ function Ne({
3080
3113
  }
3081
3114
  );
3082
3115
  }
3083
- function Ii({
3116
+ function zi({
3084
3117
  ex: t,
3085
3118
  ey: n,
3086
3119
  compactOffset: o,
@@ -3090,15 +3123,15 @@ function Ii({
3090
3123
  subLabel: s,
3091
3124
  color: l,
3092
3125
  delay: h,
3093
- visibleAtPhase: c,
3126
+ visibleAtPhase: d,
3094
3127
  capacity: p,
3095
3128
  dialogMetrics: f,
3096
- subComponents: g,
3129
+ subComponents: b,
3097
3130
  graphSeries: u,
3098
- alert: y
3131
+ alert: g
3099
3132
  }) {
3100
3133
  return /* @__PURE__ */ e(
3101
- A,
3134
+ E,
3102
3135
  {
3103
3136
  ex: t,
3104
3137
  ey: n,
@@ -3108,23 +3141,23 @@ function Ii({
3108
3141
  subLabel: s,
3109
3142
  color: l,
3110
3143
  delay: h,
3111
- visibleAtPhase: c,
3144
+ visibleAtPhase: d,
3112
3145
  componentInfo: {
3113
3146
  type: "database",
3114
3147
  name: r,
3115
3148
  status: a,
3116
3149
  context: { capacity: p },
3117
3150
  dialogMetrics: f,
3118
- subComponents: g,
3151
+ subComponents: b,
3119
3152
  graphSeries: u
3120
3153
  },
3121
- alert: y,
3122
- children: /* @__PURE__ */ e(Ne, { status: a, capacity: p })
3154
+ alert: g,
3155
+ children: /* @__PURE__ */ e(Ue, { status: a, capacity: p })
3123
3156
  }
3124
3157
  );
3125
3158
  }
3126
- function nt({ status: t = "online", scale: n = 1 }) {
3127
- const i = (P[t] ?? P.online).color;
3159
+ function yt({ status: t = "online", scale: n = 1 }) {
3160
+ const i = (C[t] ?? C.online).color;
3128
3161
  return /* @__PURE__ */ e(
3129
3162
  "div",
3130
3163
  {
@@ -3135,7 +3168,7 @@ function nt({ status: t = "online", scale: n = 1 }) {
3135
3168
  alignItems: "center",
3136
3169
  justifyContent: "center"
3137
3170
  },
3138
- children: /* @__PURE__ */ d(
3171
+ children: /* @__PURE__ */ c(
3139
3172
  "div",
3140
3173
  {
3141
3174
  style: {
@@ -3148,7 +3181,7 @@ function nt({ status: t = "online", scale: n = 1 }) {
3148
3181
  transformOrigin: "center center"
3149
3182
  },
3150
3183
  children: [
3151
- /* @__PURE__ */ d("div", { style: { position: "relative", animation: "holo-float 4s ease-in-out infinite" }, children: [
3184
+ /* @__PURE__ */ c("div", { style: { position: "relative", animation: "holo-float 4s ease-in-out infinite" }, children: [
3152
3185
  /* @__PURE__ */ e(
3153
3186
  "div",
3154
3187
  {
@@ -3166,7 +3199,7 @@ function nt({ status: t = "online", scale: n = 1 }) {
3166
3199
  }
3167
3200
  }
3168
3201
  ),
3169
- /* @__PURE__ */ d(
3202
+ /* @__PURE__ */ c(
3170
3203
  "svg",
3171
3204
  {
3172
3205
  width: "70",
@@ -3174,7 +3207,7 @@ function nt({ status: t = "online", scale: n = 1 }) {
3174
3207
  viewBox: "0 0 70 75",
3175
3208
  style: { display: "block", overflow: "visible" },
3176
3209
  children: [
3177
- /* @__PURE__ */ e("defs", { children: /* @__PURE__ */ d("radialGradient", { id: `usr-glow-${t}`, cx: "50%", cy: "45%", r: "55%", children: [
3210
+ /* @__PURE__ */ e("defs", { children: /* @__PURE__ */ c("radialGradient", { id: `usr-glow-${t}`, cx: "50%", cy: "45%", r: "55%", children: [
3178
3211
  /* @__PURE__ */ e("stop", { offset: "0%", stopColor: i, stopOpacity: "0.12" }),
3179
3212
  /* @__PURE__ */ e("stop", { offset: "100%", stopColor: i, stopOpacity: "0" })
3180
3213
  ] }) }),
@@ -3235,7 +3268,7 @@ function nt({ status: t = "online", scale: n = 1 }) {
3235
3268
  }
3236
3269
  );
3237
3270
  }
3238
- function Oi({
3271
+ function Bi({
3239
3272
  ex: t,
3240
3273
  ey: n,
3241
3274
  compactOffset: o,
@@ -3246,7 +3279,7 @@ function Oi({
3246
3279
  visibleAtPhase: l
3247
3280
  }) {
3248
3281
  return /* @__PURE__ */ e(
3249
- A,
3282
+ E,
3250
3283
  {
3251
3284
  ex: t,
3252
3285
  ey: n,
@@ -3254,12 +3287,12 @@ function Oi({
3254
3287
  zIndex: i,
3255
3288
  color: s,
3256
3289
  visibleAtPhase: l,
3257
- children: /* @__PURE__ */ e(nt, { status: r, scale: a })
3290
+ children: /* @__PURE__ */ e(yt, { status: r, scale: a })
3258
3291
  }
3259
3292
  );
3260
3293
  }
3261
- const ie = 190, X = 72, $e = 120, ve = Je(ie, X, $e);
3262
- function Kt({
3294
+ const he = 190, Q = 72, Le = 120, Ae = ht(he, Q, Le);
3295
+ function oi({
3263
3296
  cfg: t,
3264
3297
  name: n,
3265
3298
  traffic: o,
@@ -3267,13 +3300,13 @@ function Kt({
3267
3300
  compact: r
3268
3301
  }) {
3269
3302
  const a = Math.ceil(o / 100 * 8), s = Array(8).fill(t.color);
3270
- return /* @__PURE__ */ d(
3303
+ return /* @__PURE__ */ c(
3271
3304
  "div",
3272
3305
  {
3273
3306
  style: {
3274
- width: ie,
3275
- height: X,
3276
- background: r ? Te : Ze,
3307
+ width: he,
3308
+ height: Q,
3309
+ background: r ? ze : ft,
3277
3310
  position: "relative",
3278
3311
  overflow: "hidden",
3279
3312
  fontFamily: "'Courier New', monospace",
@@ -3295,7 +3328,7 @@ function Kt({
3295
3328
  }
3296
3329
  }
3297
3330
  ),
3298
- /* @__PURE__ */ d(
3331
+ /* @__PURE__ */ c(
3299
3332
  "div",
3300
3333
  {
3301
3334
  style: {
@@ -3344,7 +3377,7 @@ function Kt({
3344
3377
  ]
3345
3378
  }
3346
3379
  ),
3347
- /* @__PURE__ */ d(
3380
+ /* @__PURE__ */ c(
3348
3381
  "div",
3349
3382
  {
3350
3383
  style: {
@@ -3359,15 +3392,15 @@ function Kt({
3359
3392
  },
3360
3393
  children: [
3361
3394
  /* @__PURE__ */ e("div", { style: { display: "flex", gap: 3, alignItems: "center" }, children: Array.from({ length: 8 }, (l, h) => {
3362
- const c = h < a, p = s[h];
3363
- return /* @__PURE__ */ d(
3395
+ const d = h < a, p = s[h];
3396
+ return /* @__PURE__ */ c(
3364
3397
  "div",
3365
3398
  {
3366
3399
  style: {
3367
3400
  width: 14,
3368
3401
  height: 24,
3369
3402
  background: "#03070f",
3370
- border: `1px solid ${c ? p + "66" : "#1a2d40"}`,
3403
+ border: `1px solid ${d ? p + "66" : "#1a2d40"}`,
3371
3404
  borderRadius: 1.5,
3372
3405
  display: "flex",
3373
3406
  flexDirection: "column",
@@ -3384,8 +3417,8 @@ function Kt({
3384
3417
  width: 4,
3385
3418
  height: 4,
3386
3419
  borderRadius: "50%",
3387
- background: c ? p : "#0a1830",
3388
- boxShadow: c ? `0 0 5px ${p}, 0 0 10px ${p}88` : "none"
3420
+ background: d ? p : "#0a1830",
3421
+ boxShadow: d ? `0 0 5px ${p}, 0 0 10px ${p}88` : "none"
3389
3422
  }
3390
3423
  }
3391
3424
  ),
@@ -3408,9 +3441,9 @@ function Kt({
3408
3441
  width: 4,
3409
3442
  height: 4,
3410
3443
  borderRadius: "50%",
3411
- background: c ? t.color : "#0a1830",
3412
- boxShadow: c ? `0 0 5px ${t.color}` : "none",
3413
- animation: c ? "holo-led-blink 1.8s linear infinite" : "none",
3444
+ background: d ? t.color : "#0a1830",
3445
+ boxShadow: d ? `0 0 5px ${t.color}` : "none",
3446
+ animation: d ? "holo-led-blink 1.8s linear infinite" : "none",
3414
3447
  animationDelay: `${h * 0.2}s`
3415
3448
  }
3416
3449
  }
@@ -3430,11 +3463,11 @@ function Kt({
3430
3463
  }
3431
3464
  }
3432
3465
  ),
3433
- /* @__PURE__ */ d("div", { style: { flex: 1, display: "flex", flexDirection: "column", gap: 5 }, children: [
3434
- /* @__PURE__ */ d("div", { children: [
3435
- /* @__PURE__ */ d("div", { style: { display: "flex", justifyContent: "space-between", marginBottom: 2 }, children: [
3466
+ /* @__PURE__ */ c("div", { style: { flex: 1, display: "flex", flexDirection: "column", gap: 5 }, children: [
3467
+ /* @__PURE__ */ c("div", { children: [
3468
+ /* @__PURE__ */ c("div", { style: { display: "flex", justifyContent: "space-between", marginBottom: 2 }, children: [
3436
3469
  /* @__PURE__ */ e("span", { style: { fontSize: 6, color: "#2a5070", letterSpacing: "0.1em" }, children: "TRAFFIC" }),
3437
- /* @__PURE__ */ d("span", { style: { fontSize: 6, color: t.color }, children: [
3470
+ /* @__PURE__ */ c("span", { style: { fontSize: 6, color: t.color }, children: [
3438
3471
  o,
3439
3472
  "%"
3440
3473
  ] })
@@ -3464,9 +3497,9 @@ function Kt({
3464
3497
  }
3465
3498
  )
3466
3499
  ] }),
3467
- /* @__PURE__ */ d("div", { style: { display: "flex", justifyContent: "space-between" }, children: [
3500
+ /* @__PURE__ */ c("div", { style: { display: "flex", justifyContent: "space-between" }, children: [
3468
3501
  /* @__PURE__ */ e("span", { style: { fontSize: 6, color: "#2a5070", letterSpacing: "0.1em" }, children: "ROUTES" }),
3469
- /* @__PURE__ */ d("span", { style: { fontSize: 6, color: t.color }, children: [
3502
+ /* @__PURE__ */ c("span", { style: { fontSize: 6, color: t.color }, children: [
3470
3503
  i,
3471
3504
  " active"
3472
3505
  ] })
@@ -3494,9 +3527,9 @@ function Kt({
3494
3527
  { label: "HTTP", val: Math.round(o * 12.4), unit: "req/s" },
3495
3528
  { label: "HTTPS", val: Math.round(o * 8.6), unit: "req/s" },
3496
3529
  { label: "WS", val: Math.round(i * 3), unit: "conn" }
3497
- ].map((l) => /* @__PURE__ */ d("div", { style: { display: "flex", gap: 3 }, children: [
3530
+ ].map((l) => /* @__PURE__ */ c("div", { style: { display: "flex", gap: 3 }, children: [
3498
3531
  /* @__PURE__ */ e("span", { style: { fontSize: 6, color: "#1e3a5a", letterSpacing: "0.08em" }, children: l.label }),
3499
- /* @__PURE__ */ d("span", { style: { fontSize: 6, color: t.color + "88" }, children: [
3532
+ /* @__PURE__ */ c("span", { style: { fontSize: 6, color: t.color + "88" }, children: [
3500
3533
  l.val,
3501
3534
  " ",
3502
3535
  l.unit
@@ -3521,13 +3554,13 @@ function Kt({
3521
3554
  }
3522
3555
  );
3523
3556
  }
3524
- function Zt() {
3525
- return /* @__PURE__ */ d(
3557
+ function ri() {
3558
+ return /* @__PURE__ */ c(
3526
3559
  "div",
3527
3560
  {
3528
3561
  style: {
3529
- width: ie,
3530
- height: X,
3562
+ width: he,
3563
+ height: Q,
3531
3564
  background: "linear-gradient(180deg, #040c1a, #030810)",
3532
3565
  position: "relative",
3533
3566
  overflow: "hidden",
@@ -3542,7 +3575,7 @@ function Zt() {
3542
3575
  {
3543
3576
  style: {
3544
3577
  width: 40,
3545
- height: X - 16,
3578
+ height: Q - 16,
3546
3579
  background: "#020710",
3547
3580
  border: "1px solid #1a2d40",
3548
3581
  borderRadius: 2,
@@ -3598,7 +3631,7 @@ function Zt() {
3598
3631
  style: {
3599
3632
  marginLeft: "auto",
3600
3633
  width: 12,
3601
- height: X - 16,
3634
+ height: Q - 16,
3602
3635
  background: "#020710",
3603
3636
  border: "1px solid #1a3050",
3604
3637
  borderRadius: 1
@@ -3609,13 +3642,13 @@ function Zt() {
3609
3642
  }
3610
3643
  );
3611
3644
  }
3612
- function ht({ side: t, color: n }) {
3613
- return /* @__PURE__ */ d(
3645
+ function Ct({ side: t, color: n }) {
3646
+ return /* @__PURE__ */ c(
3614
3647
  "div",
3615
3648
  {
3616
3649
  style: {
3617
- width: $e,
3618
- height: X,
3650
+ width: Le,
3651
+ height: Q,
3619
3652
  background: t === "right" ? "linear-gradient(90deg, #04091a 0%, #071428 60%, #040c1c 100%)" : "linear-gradient(90deg, #040c1c 0%, #071428 40%, #04091a 100%)",
3620
3653
  position: "relative",
3621
3654
  overflow: "hidden"
@@ -3639,8 +3672,8 @@ function ht({ side: t, color: n }) {
3639
3672
  {
3640
3673
  style: {
3641
3674
  position: "absolute",
3642
- top: X * 0.25,
3643
- bottom: X * 0.25,
3675
+ top: Q * 0.25,
3676
+ bottom: Q * 0.25,
3644
3677
  left: 14,
3645
3678
  right: 14,
3646
3679
  display: "flex",
@@ -3666,14 +3699,14 @@ function ht({ side: t, color: n }) {
3666
3699
  }
3667
3700
  );
3668
3701
  }
3669
- function Jt({ traffic: t }) {
3670
- const n = Math.floor(($e - 14) / 7);
3671
- return /* @__PURE__ */ d(
3702
+ function ai({ traffic: t }) {
3703
+ const n = Math.floor((Le - 14) / 7);
3704
+ return /* @__PURE__ */ c(
3672
3705
  "div",
3673
3706
  {
3674
3707
  style: {
3675
- width: ie,
3676
- height: $e,
3708
+ width: he,
3709
+ height: Le,
3677
3710
  background: "linear-gradient(180deg, #0c1c30 0%, #07101e 40%, #040c1a 100%)",
3678
3711
  position: "relative",
3679
3712
  overflow: "hidden"
@@ -3687,7 +3720,7 @@ function Jt({ traffic: t }) {
3687
3720
  top: 0,
3688
3721
  left: 0,
3689
3722
  right: 0,
3690
- height: $e * 0.35,
3723
+ height: Le * 0.35,
3691
3724
  background: `radial-gradient(ellipse at 50% 0%,
3692
3725
  ${t > 70 ? "rgba(255,34,85,0.14)" : "rgba(0,229,255,0.08)"} 0%,
3693
3726
  transparent 70%)`
@@ -3725,7 +3758,7 @@ function Jt({ traffic: t }) {
3725
3758
  }
3726
3759
  );
3727
3760
  }
3728
- function ot({
3761
+ function mt({
3729
3762
  rotateX: t = -20,
3730
3763
  rotateY: n = 20,
3731
3764
  rotateZ: o = 0,
@@ -3735,28 +3768,28 @@ function ot({
3735
3768
  name: s = "WEB-DISP-01",
3736
3769
  traffic: l = 78,
3737
3770
  activeRoutes: h = 12,
3738
- _compact: c
3771
+ _compact: d
3739
3772
  }) {
3740
- const [p, f] = R(n), g = K(0), u = K(0);
3741
- Ae(() => {
3773
+ const [p, f] = R(n), b = ie(0), u = ie(0);
3774
+ ke(() => {
3742
3775
  if (!r) {
3743
3776
  f(n);
3744
3777
  return;
3745
3778
  }
3746
- const m = (v) => {
3747
- u.current && f((x) => x + (v - u.current) * 0.027), u.current = v, g.current = requestAnimationFrame(m);
3779
+ const m = (w) => {
3780
+ u.current && f((v) => v + (w - u.current) * 0.027), u.current = w, b.current = requestAnimationFrame(m);
3748
3781
  };
3749
- return g.current = requestAnimationFrame(m), () => {
3750
- cancelAnimationFrame(g.current), u.current = 0;
3782
+ return b.current = requestAnimationFrame(m), () => {
3783
+ cancelAnimationFrame(b.current), u.current = 0;
3751
3784
  };
3752
3785
  }, [r, n]);
3753
- const y = P[a] ?? P.online;
3754
- return /* @__PURE__ */ d(
3786
+ const g = C[a] ?? C.online;
3787
+ return /* @__PURE__ */ c(
3755
3788
  "div",
3756
3789
  {
3757
3790
  style: {
3758
- width: ie * i,
3759
- height: X * i,
3791
+ width: he * i,
3792
+ height: Q * i,
3760
3793
  position: "relative",
3761
3794
  display: "flex",
3762
3795
  alignItems: "center",
@@ -3776,7 +3809,7 @@ function ot({
3776
3809
  animation: "holo-led-blink 1.5s infinite",
3777
3810
  filter: `drop-shadow(0 0 10px ${a === "critical" ? "#ff2255" : "#ff8c00"})`
3778
3811
  },
3779
- children: /* @__PURE__ */ d("svg", { width: "44", height: "44", viewBox: "0 0 28 28", fill: "none", children: [
3812
+ children: /* @__PURE__ */ c("svg", { width: "44", height: "44", viewBox: "0 0 28 28", fill: "none", children: [
3780
3813
  /* @__PURE__ */ e(
3781
3814
  "path",
3782
3815
  {
@@ -3816,9 +3849,9 @@ function ot({
3816
3849
  {
3817
3850
  style: {
3818
3851
  position: "absolute",
3819
- width: ie * 1.3 * i,
3820
- height: X * 2 * i,
3821
- background: `radial-gradient(ellipse, ${y.glow} 0%, transparent 65%)`,
3852
+ width: he * 1.3 * i,
3853
+ height: Q * 2 * i,
3854
+ background: `radial-gradient(ellipse, ${g.glow} 0%, transparent 65%)`,
3822
3855
  filter: `blur(${Math.round(40 * i)}px)`,
3823
3856
  pointerEvents: "none",
3824
3857
  top: "40%",
@@ -3836,33 +3869,33 @@ function ot({
3836
3869
  transform: `scale(${i})`,
3837
3870
  transformOrigin: "center center"
3838
3871
  },
3839
- children: /* @__PURE__ */ d(
3872
+ children: /* @__PURE__ */ c(
3840
3873
  "div",
3841
3874
  {
3842
3875
  style: {
3843
- width: ie,
3844
- height: X,
3876
+ width: he,
3877
+ height: Q,
3845
3878
  position: "relative",
3846
3879
  transformStyle: "preserve-3d",
3847
3880
  transform: `rotateX(${t}deg) rotateY(${p}deg) rotateZ(${o}deg)`,
3848
3881
  transition: r ? "none" : "transform 0.55s cubic-bezier(0.25, 0.46, 0.45, 0.94)"
3849
3882
  },
3850
3883
  children: [
3851
- /* @__PURE__ */ e("div", { style: ve.front, children: /* @__PURE__ */ e(
3852
- Kt,
3884
+ /* @__PURE__ */ e("div", { style: Ae.front, children: /* @__PURE__ */ e(
3885
+ oi,
3853
3886
  {
3854
- cfg: y,
3887
+ cfg: g,
3855
3888
  name: s,
3856
3889
  traffic: l,
3857
3890
  activeRoutes: h,
3858
- compact: c
3891
+ compact: d
3859
3892
  }
3860
3893
  ) }),
3861
- /* @__PURE__ */ e("div", { style: ve.back, children: /* @__PURE__ */ e(Zt, {}) }),
3862
- /* @__PURE__ */ e("div", { style: ve.left, children: /* @__PURE__ */ e(ht, { side: "left", color: y.color }) }),
3863
- /* @__PURE__ */ e("div", { style: ve.right, children: /* @__PURE__ */ e(ht, { side: "right", color: y.color }) }),
3864
- /* @__PURE__ */ e("div", { style: ve.top, children: /* @__PURE__ */ e(Jt, { traffic: l }) }),
3865
- /* @__PURE__ */ e("div", { style: ve.bottom, children: /* @__PURE__ */ e("div", { style: { width: ie, height: $e, background: "#020508" } }) })
3894
+ /* @__PURE__ */ e("div", { style: Ae.back, children: /* @__PURE__ */ e(ri, {}) }),
3895
+ /* @__PURE__ */ e("div", { style: Ae.left, children: /* @__PURE__ */ e(Ct, { side: "left", color: g.color }) }),
3896
+ /* @__PURE__ */ e("div", { style: Ae.right, children: /* @__PURE__ */ e(Ct, { side: "right", color: g.color }) }),
3897
+ /* @__PURE__ */ e("div", { style: Ae.top, children: /* @__PURE__ */ e(ai, { traffic: l }) }),
3898
+ /* @__PURE__ */ e("div", { style: Ae.bottom, children: /* @__PURE__ */ e("div", { style: { width: he, height: Le, background: "#020508" } }) })
3866
3899
  ]
3867
3900
  }
3868
3901
  )
@@ -3872,7 +3905,7 @@ function ot({
3872
3905
  }
3873
3906
  );
3874
3907
  }
3875
- function Li({
3908
+ function Fi({
3876
3909
  ex: t,
3877
3910
  ey: n,
3878
3911
  compactOffset: o,
@@ -3882,16 +3915,16 @@ function Li({
3882
3915
  subLabel: s,
3883
3916
  color: l,
3884
3917
  delay: h,
3885
- visibleAtPhase: c,
3918
+ visibleAtPhase: d,
3886
3919
  traffic: p,
3887
3920
  activeRoutes: f,
3888
- dialogMetrics: g,
3921
+ dialogMetrics: b,
3889
3922
  subComponents: u,
3890
- graphSeries: y,
3923
+ graphSeries: g,
3891
3924
  alert: m
3892
3925
  }) {
3893
3926
  return /* @__PURE__ */ e(
3894
- A,
3927
+ E,
3895
3928
  {
3896
3929
  ex: t,
3897
3930
  ey: n,
@@ -3901,28 +3934,28 @@ function Li({
3901
3934
  subLabel: s,
3902
3935
  color: l,
3903
3936
  delay: h,
3904
- visibleAtPhase: c,
3937
+ visibleAtPhase: d,
3905
3938
  componentInfo: {
3906
3939
  type: "dispatcher",
3907
3940
  name: r,
3908
3941
  status: a,
3909
3942
  context: { traffic: p, activeRoutes: f },
3910
- dialogMetrics: g,
3943
+ dialogMetrics: b,
3911
3944
  subComponents: u,
3912
- graphSeries: y
3945
+ graphSeries: g
3913
3946
  },
3914
3947
  alert: m,
3915
- children: /* @__PURE__ */ e(ot, { status: a, traffic: p, activeRoutes: f })
3948
+ children: /* @__PURE__ */ e(mt, { status: a, traffic: p, activeRoutes: f })
3916
3949
  }
3917
3950
  );
3918
3951
  }
3919
- const ne = 190, q = 72, ke = 120, we = Je(ne, q, ke), ut = {
3952
+ const ue = 190, G = 72, Ie = 120, Te = ht(ue, G, Ie), Pt = {
3920
3953
  online: { color: "#bb55ff", glow: "rgba(187,85,255,0.50)" },
3921
3954
  warning: { color: "#ff8c00", glow: "rgba(255,140,0,0.50)" },
3922
3955
  critical: { color: "#ff2255", glow: "rgba(255,34,85,0.50)" },
3923
3956
  offline: { color: "#1e3a5a", glow: "rgba(30,58,90,0.25)" }
3924
3957
  };
3925
- function ei({
3958
+ function li({
3926
3959
  cfg: t,
3927
3960
  name: n,
3928
3961
  queueDepth: o,
@@ -3931,13 +3964,13 @@ function ei({
3931
3964
  compact: a
3932
3965
  }) {
3933
3966
  const { color: s, glow: l } = t;
3934
- return /* @__PURE__ */ d(
3967
+ return /* @__PURE__ */ c(
3935
3968
  "div",
3936
3969
  {
3937
3970
  style: {
3938
- width: ne,
3939
- height: q,
3940
- background: a ? Te : Ze,
3971
+ width: ue,
3972
+ height: G,
3973
+ background: a ? ze : ft,
3941
3974
  position: "relative",
3942
3975
  overflow: "hidden",
3943
3976
  fontFamily: "'Courier New', monospace",
@@ -3959,7 +3992,7 @@ function ei({
3959
3992
  }
3960
3993
  }
3961
3994
  ),
3962
- /* @__PURE__ */ d(
3995
+ /* @__PURE__ */ c(
3963
3996
  "div",
3964
3997
  {
3965
3998
  style: {
@@ -4008,7 +4041,7 @@ function ei({
4008
4041
  ]
4009
4042
  }
4010
4043
  ),
4011
- /* @__PURE__ */ d(
4044
+ /* @__PURE__ */ c(
4012
4045
  "div",
4013
4046
  {
4014
4047
  style: {
@@ -4022,9 +4055,9 @@ function ei({
4022
4055
  gap: 10
4023
4056
  },
4024
4057
  children: [
4025
- /* @__PURE__ */ e("div", { style: { display: "flex", gap: 3, alignItems: "center" }, children: Array.from({ length: 5 }, (h, c) => {
4026
- const p = c < r;
4027
- return /* @__PURE__ */ d(
4058
+ /* @__PURE__ */ e("div", { style: { display: "flex", gap: 3, alignItems: "center" }, children: Array.from({ length: 5 }, (h, d) => {
4059
+ const p = d < r;
4060
+ return /* @__PURE__ */ c(
4028
4061
  "div",
4029
4062
  {
4030
4063
  style: {
@@ -4074,13 +4107,13 @@ function ei({
4074
4107
  background: p ? s : "#0a1830",
4075
4108
  boxShadow: p ? `0 0 5px ${s}` : "none",
4076
4109
  animation: p ? "holo-led-blink 2.2s linear infinite" : "none",
4077
- animationDelay: `${c * 0.28}s`
4110
+ animationDelay: `${d * 0.28}s`
4078
4111
  }
4079
4112
  }
4080
4113
  )
4081
4114
  ]
4082
4115
  },
4083
- c
4116
+ d
4084
4117
  );
4085
4118
  }) }),
4086
4119
  /* @__PURE__ */ e(
@@ -4093,11 +4126,11 @@ function ei({
4093
4126
  }
4094
4127
  }
4095
4128
  ),
4096
- /* @__PURE__ */ d("div", { style: { flex: 1, display: "flex", flexDirection: "column", gap: 5 }, children: [
4097
- /* @__PURE__ */ d("div", { children: [
4098
- /* @__PURE__ */ d("div", { style: { display: "flex", justifyContent: "space-between", marginBottom: 2 }, children: [
4129
+ /* @__PURE__ */ c("div", { style: { flex: 1, display: "flex", flexDirection: "column", gap: 5 }, children: [
4130
+ /* @__PURE__ */ c("div", { children: [
4131
+ /* @__PURE__ */ c("div", { style: { display: "flex", justifyContent: "space-between", marginBottom: 2 }, children: [
4099
4132
  /* @__PURE__ */ e("span", { style: { fontSize: 6, color: "#2a5070", letterSpacing: "0.1em" }, children: "QUEUE" }),
4100
- /* @__PURE__ */ d("span", { style: { fontSize: 6, color: s }, children: [
4133
+ /* @__PURE__ */ c("span", { style: { fontSize: 6, color: s }, children: [
4101
4134
  o,
4102
4135
  "%"
4103
4136
  ] })
@@ -4127,7 +4160,7 @@ function ei({
4127
4160
  }
4128
4161
  )
4129
4162
  ] }),
4130
- /* @__PURE__ */ d("div", { style: { display: "flex", justifyContent: "space-between" }, children: [
4163
+ /* @__PURE__ */ c("div", { style: { display: "flex", justifyContent: "space-between" }, children: [
4131
4164
  /* @__PURE__ */ e("span", { style: { fontSize: 6, color: "#2a5070", letterSpacing: "0.1em" }, children: "MSG/S" }),
4132
4165
  /* @__PURE__ */ e("span", { style: { fontSize: 6, color: s }, children: i })
4133
4166
  ] })
@@ -4154,9 +4187,9 @@ function ei({
4154
4187
  { label: "INST", val: r, unit: "conn" },
4155
4188
  { label: "ENQUEUE", val: Math.round(o * 2.4), unit: "msgs" },
4156
4189
  { label: "DISP", val: Math.round(i * 0.1), unit: "/s" }
4157
- ].map((h) => /* @__PURE__ */ d("div", { style: { display: "flex", gap: 3 }, children: [
4190
+ ].map((h) => /* @__PURE__ */ c("div", { style: { display: "flex", gap: 3 }, children: [
4158
4191
  /* @__PURE__ */ e("span", { style: { fontSize: 6, color: "#1e3a5a", letterSpacing: "0.08em" }, children: h.label }),
4159
- /* @__PURE__ */ d("span", { style: { fontSize: 6, color: s + "88" }, children: [
4192
+ /* @__PURE__ */ c("span", { style: { fontSize: 6, color: s + "88" }, children: [
4160
4193
  h.val,
4161
4194
  " ",
4162
4195
  h.unit
@@ -4181,13 +4214,13 @@ function ei({
4181
4214
  }
4182
4215
  );
4183
4216
  }
4184
- function ti() {
4185
- return /* @__PURE__ */ d(
4217
+ function si() {
4218
+ return /* @__PURE__ */ c(
4186
4219
  "div",
4187
4220
  {
4188
4221
  style: {
4189
- width: ne,
4190
- height: q,
4222
+ width: ue,
4223
+ height: G,
4191
4224
  background: "linear-gradient(180deg, #040c1a, #030810)",
4192
4225
  position: "relative",
4193
4226
  overflow: "hidden",
@@ -4202,7 +4235,7 @@ function ti() {
4202
4235
  {
4203
4236
  style: {
4204
4237
  width: 40,
4205
- height: q - 16,
4238
+ height: G - 16,
4206
4239
  background: "#020710",
4207
4240
  border: "1px solid #1a2d40",
4208
4241
  borderRadius: 2,
@@ -4258,7 +4291,7 @@ function ti() {
4258
4291
  style: {
4259
4292
  marginLeft: "auto",
4260
4293
  width: 12,
4261
- height: q - 16,
4294
+ height: G - 16,
4262
4295
  background: "#020710",
4263
4296
  border: "1px solid #1a3050",
4264
4297
  borderRadius: 1
@@ -4269,13 +4302,13 @@ function ti() {
4269
4302
  }
4270
4303
  );
4271
4304
  }
4272
- function bt({ side: t, color: n }) {
4273
- return /* @__PURE__ */ d(
4305
+ function Et({ side: t, color: n }) {
4306
+ return /* @__PURE__ */ c(
4274
4307
  "div",
4275
4308
  {
4276
4309
  style: {
4277
- width: ke,
4278
- height: q,
4310
+ width: Ie,
4311
+ height: G,
4279
4312
  background: t === "right" ? "linear-gradient(90deg, #04091a 0%, #071428 60%, #040c1c 100%)" : "linear-gradient(90deg, #040c1c 0%, #071428 40%, #04091a 100%)",
4280
4313
  position: "relative",
4281
4314
  overflow: "hidden"
@@ -4299,8 +4332,8 @@ function bt({ side: t, color: n }) {
4299
4332
  {
4300
4333
  style: {
4301
4334
  position: "absolute",
4302
- top: q * 0.25,
4303
- bottom: q * 0.25,
4335
+ top: G * 0.25,
4336
+ bottom: G * 0.25,
4304
4337
  left: 14,
4305
4338
  right: 14,
4306
4339
  display: "flex",
@@ -4326,14 +4359,14 @@ function bt({ side: t, color: n }) {
4326
4359
  }
4327
4360
  );
4328
4361
  }
4329
- function ii({ queueDepth: t, color: n }) {
4330
- const o = Math.floor((ke - 14) / 7);
4331
- return /* @__PURE__ */ d(
4362
+ function di({ queueDepth: t, color: n }) {
4363
+ const o = Math.floor((Ie - 14) / 7);
4364
+ return /* @__PURE__ */ c(
4332
4365
  "div",
4333
4366
  {
4334
4367
  style: {
4335
- width: ne,
4336
- height: ke,
4368
+ width: ue,
4369
+ height: Ie,
4337
4370
  background: "linear-gradient(180deg, #0c1c30 0%, #07101e 40%, #040c1a 100%)",
4338
4371
  position: "relative",
4339
4372
  overflow: "hidden"
@@ -4347,7 +4380,7 @@ function ii({ queueDepth: t, color: n }) {
4347
4380
  top: 0,
4348
4381
  left: 0,
4349
4382
  right: 0,
4350
- height: ke * 0.35,
4383
+ height: Ie * 0.35,
4351
4384
  background: `radial-gradient(ellipse at 50% 0%,
4352
4385
  ${t > 70 ? "rgba(255,34,85,0.14)" : `${n}15`} 0%,
4353
4386
  transparent 70%)`
@@ -4385,7 +4418,7 @@ function ii({ queueDepth: t, color: n }) {
4385
4418
  }
4386
4419
  );
4387
4420
  }
4388
- function wt({
4421
+ function Dt({
4389
4422
  rotateX: t = -20,
4390
4423
  rotateY: n = 20,
4391
4424
  rotateZ: o = 0,
@@ -4395,29 +4428,29 @@ function wt({
4395
4428
  name: s = "MSG-SRV-01",
4396
4429
  queueDepth: l = 45,
4397
4430
  msgsPerSec: h = 230,
4398
- instances: c = 3,
4431
+ instances: d = 3,
4399
4432
  _compact: p
4400
4433
  }) {
4401
- const [f, g] = R(n), u = K(0), y = K(0);
4402
- Ae(() => {
4434
+ const [f, b] = R(n), u = ie(0), g = ie(0);
4435
+ ke(() => {
4403
4436
  if (!r) {
4404
- g(n);
4437
+ b(n);
4405
4438
  return;
4406
4439
  }
4407
- const v = (x) => {
4408
- y.current && g((w) => w + (x - y.current) * 0.027), y.current = x, u.current = requestAnimationFrame(v);
4440
+ const w = (v) => {
4441
+ g.current && b((S) => S + (v - g.current) * 0.027), g.current = v, u.current = requestAnimationFrame(w);
4409
4442
  };
4410
- return u.current = requestAnimationFrame(v), () => {
4411
- cancelAnimationFrame(u.current), y.current = 0;
4443
+ return u.current = requestAnimationFrame(w), () => {
4444
+ cancelAnimationFrame(u.current), g.current = 0;
4412
4445
  };
4413
4446
  }, [r, n]);
4414
- const m = ut[a] ?? ut.online;
4415
- return /* @__PURE__ */ d(
4447
+ const m = Pt[a] ?? Pt.online;
4448
+ return /* @__PURE__ */ c(
4416
4449
  "div",
4417
4450
  {
4418
4451
  style: {
4419
- width: ne * i,
4420
- height: q * i,
4452
+ width: ue * i,
4453
+ height: G * i,
4421
4454
  position: "relative",
4422
4455
  display: "flex",
4423
4456
  alignItems: "center",
@@ -4437,7 +4470,7 @@ function wt({
4437
4470
  animation: "holo-led-blink 1.5s infinite",
4438
4471
  filter: `drop-shadow(0 0 10px ${a === "critical" ? "#ff2255" : "#ff8c00"})`
4439
4472
  },
4440
- children: /* @__PURE__ */ d("svg", { width: "44", height: "44", viewBox: "0 0 28 28", fill: "none", children: [
4473
+ children: /* @__PURE__ */ c("svg", { width: "44", height: "44", viewBox: "0 0 28 28", fill: "none", children: [
4441
4474
  /* @__PURE__ */ e(
4442
4475
  "path",
4443
4476
  {
@@ -4477,8 +4510,8 @@ function wt({
4477
4510
  {
4478
4511
  style: {
4479
4512
  position: "absolute",
4480
- width: ne * 1.3 * i,
4481
- height: q * 2 * i,
4513
+ width: ue * 1.3 * i,
4514
+ height: G * 2 * i,
4482
4515
  background: `radial-gradient(ellipse, ${m.glow} 0%, transparent 65%)`,
4483
4516
  filter: `blur(${Math.round(40 * i)}px)`,
4484
4517
  pointerEvents: "none",
@@ -4497,34 +4530,34 @@ function wt({
4497
4530
  transform: `scale(${i})`,
4498
4531
  transformOrigin: "center center"
4499
4532
  },
4500
- children: /* @__PURE__ */ d(
4533
+ children: /* @__PURE__ */ c(
4501
4534
  "div",
4502
4535
  {
4503
4536
  style: {
4504
- width: ne,
4505
- height: q,
4537
+ width: ue,
4538
+ height: G,
4506
4539
  position: "relative",
4507
4540
  transformStyle: "preserve-3d",
4508
4541
  transform: `rotateX(${t}deg) rotateY(${f}deg) rotateZ(${o}deg)`,
4509
4542
  transition: r ? "none" : "transform 0.55s cubic-bezier(0.25, 0.46, 0.45, 0.94)"
4510
4543
  },
4511
4544
  children: [
4512
- /* @__PURE__ */ e("div", { style: we.front, children: /* @__PURE__ */ e(
4513
- ei,
4545
+ /* @__PURE__ */ e("div", { style: Te.front, children: /* @__PURE__ */ e(
4546
+ li,
4514
4547
  {
4515
4548
  cfg: m,
4516
4549
  name: s,
4517
4550
  queueDepth: l,
4518
4551
  msgsPerSec: h,
4519
- instances: c,
4552
+ instances: d,
4520
4553
  compact: p
4521
4554
  }
4522
4555
  ) }),
4523
- /* @__PURE__ */ e("div", { style: we.back, children: /* @__PURE__ */ e(ti, {}) }),
4524
- /* @__PURE__ */ e("div", { style: we.left, children: /* @__PURE__ */ e(bt, { side: "left", color: m.color }) }),
4525
- /* @__PURE__ */ e("div", { style: we.right, children: /* @__PURE__ */ e(bt, { side: "right", color: m.color }) }),
4526
- /* @__PURE__ */ e("div", { style: we.top, children: /* @__PURE__ */ e(ii, { queueDepth: l, color: m.color }) }),
4527
- /* @__PURE__ */ e("div", { style: we.bottom, children: /* @__PURE__ */ e("div", { style: { width: ne, height: ke, background: "#020508" } }) })
4556
+ /* @__PURE__ */ e("div", { style: Te.back, children: /* @__PURE__ */ e(si, {}) }),
4557
+ /* @__PURE__ */ e("div", { style: Te.left, children: /* @__PURE__ */ e(Et, { side: "left", color: m.color }) }),
4558
+ /* @__PURE__ */ e("div", { style: Te.right, children: /* @__PURE__ */ e(Et, { side: "right", color: m.color }) }),
4559
+ /* @__PURE__ */ e("div", { style: Te.top, children: /* @__PURE__ */ e(di, { queueDepth: l, color: m.color }) }),
4560
+ /* @__PURE__ */ e("div", { style: Te.bottom, children: /* @__PURE__ */ e("div", { style: { width: ue, height: Ie, background: "#020508" } }) })
4528
4561
  ]
4529
4562
  }
4530
4563
  )
@@ -4534,7 +4567,7 @@ function wt({
4534
4567
  }
4535
4568
  );
4536
4569
  }
4537
- function Di({
4570
+ function Hi({
4538
4571
  ex: t,
4539
4572
  ey: n,
4540
4573
  compactOffset: o,
@@ -4544,17 +4577,17 @@ function Di({
4544
4577
  subLabel: s,
4545
4578
  color: l,
4546
4579
  delay: h,
4547
- visibleAtPhase: c,
4580
+ visibleAtPhase: d,
4548
4581
  queueDepth: p,
4549
4582
  msgsPerSec: f,
4550
- instances: g,
4583
+ instances: b,
4551
4584
  dialogMetrics: u,
4552
- subComponents: y,
4585
+ subComponents: g,
4553
4586
  graphSeries: m,
4554
- alert: v
4587
+ alert: w
4555
4588
  }) {
4556
4589
  return /* @__PURE__ */ e(
4557
- A,
4590
+ E,
4558
4591
  {
4559
4592
  ex: t,
4560
4593
  ey: n,
@@ -4564,24 +4597,24 @@ function Di({
4564
4597
  subLabel: s,
4565
4598
  color: l,
4566
4599
  delay: h,
4567
- visibleAtPhase: c,
4600
+ visibleAtPhase: d,
4568
4601
  componentInfo: {
4569
4602
  type: "messageServer",
4570
4603
  name: r,
4571
4604
  status: a,
4572
- context: { queueDepth: p, msgsPerSec: f, instances: g },
4605
+ context: { queueDepth: p, msgsPerSec: f, instances: b },
4573
4606
  dialogMetrics: u,
4574
- subComponents: y,
4607
+ subComponents: g,
4575
4608
  graphSeries: m
4576
4609
  },
4577
- alert: v,
4610
+ alert: w,
4578
4611
  children: /* @__PURE__ */ e(
4579
- wt,
4612
+ Dt,
4580
4613
  {
4581
4614
  status: a,
4582
4615
  queueDepth: p,
4583
4616
  msgsPerSec: f,
4584
- instances: g
4617
+ instances: b
4585
4618
  }
4586
4619
  )
4587
4620
  }
@@ -4593,10 +4626,10 @@ function O(t, n, o = 24) {
4593
4626
  return Math.min(100, Math.max(0, t + Math.sin(a * Math.PI * 2) * n + (Math.random() - 0.5) * 10));
4594
4627
  });
4595
4628
  }
4596
- function ni({ data: t, color: n, height: o = 28 }) {
4629
+ function ci({ data: t, color: n, height: o = 28 }) {
4597
4630
  const r = o, a = Math.max(...t, 1), s = t.map((l, h) => {
4598
- const c = h / (t.length - 1) * 120, p = r - l / a * (r - 4) - 2;
4599
- return `${c},${p}`;
4631
+ const d = h / (t.length - 1) * 120, p = r - l / a * (r - 4) - 2;
4632
+ return `${d},${p}`;
4600
4633
  }).join(" ");
4601
4634
  return /* @__PURE__ */ e("svg", { width: 120, height: r, style: { display: "block", overflow: "visible" }, children: /* @__PURE__ */ e(
4602
4635
  "polyline",
@@ -4611,7 +4644,7 @@ function ni({ data: t, color: n, height: o = 28 }) {
4611
4644
  }
4612
4645
  ) });
4613
4646
  }
4614
- function oi({
4647
+ function pi({
4615
4648
  type: t,
4616
4649
  name: n,
4617
4650
  context: o = {},
@@ -4619,8 +4652,8 @@ function oi({
4619
4652
  animPhase: r,
4620
4653
  series: a
4621
4654
  }) {
4622
- const s = i === "critical" || i === "offline" ? "#ff2255" : i === "warning" ? "#ff8c00" : "#00e5ff", l = a ? a.map((p) => ({ ...p })) : ri(t, o), h = r >= 0.3 ? 0 : -280, c = r >= 0.2 ? 1 : 0;
4623
- return /* @__PURE__ */ d(
4655
+ const s = i === "critical" || i === "offline" ? "#ff2255" : i === "warning" ? "#ff8c00" : "#00e5ff", l = a ? a.map((p) => ({ ...p })) : fi(t, o), h = r >= 0.3 ? 0 : -280, d = r >= 0.2 ? 1 : 0;
4656
+ return /* @__PURE__ */ c(
4624
4657
  "div",
4625
4658
  {
4626
4659
  style: {
@@ -4634,11 +4667,11 @@ function oi({
4634
4667
  flexDirection: "column",
4635
4668
  overflow: "hidden",
4636
4669
  transform: `translateX(${h}px)`,
4637
- opacity: c,
4670
+ opacity: d,
4638
4671
  transition: "transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.4s ease"
4639
4672
  },
4640
4673
  children: [
4641
- /* @__PURE__ */ d(
4674
+ /* @__PURE__ */ c(
4642
4675
  "div",
4643
4676
  {
4644
4677
  style: {
@@ -4648,14 +4681,14 @@ function oi({
4648
4681
  },
4649
4682
  children: [
4650
4683
  /* @__PURE__ */ e("div", { style: { fontSize: 10, color: s + "cc", letterSpacing: "0.12em", fontFamily: "'Courier New', monospace" }, children: "HISTORICAL" }),
4651
- /* @__PURE__ */ d("div", { style: { fontSize: 12, fontWeight: 700, color: "#fff", letterSpacing: "0.06em", marginTop: 2, fontFamily: "'Courier New', monospace" }, children: [
4684
+ /* @__PURE__ */ c("div", { style: { fontSize: 12, fontWeight: 700, color: "#fff", letterSpacing: "0.06em", marginTop: 2, fontFamily: "'Courier New', monospace" }, children: [
4652
4685
  n,
4653
4686
  " · Sub-components"
4654
4687
  ] })
4655
4688
  ]
4656
4689
  }
4657
4690
  ),
4658
- /* @__PURE__ */ e("div", { style: { flex: 1, overflowY: "auto", padding: "12px 10px", display: "flex", flexDirection: "column", gap: 16 }, children: l.map((p, f) => /* @__PURE__ */ d(
4691
+ /* @__PURE__ */ e("div", { style: { flex: 1, overflowY: "auto", padding: "12px 10px", display: "flex", flexDirection: "column", gap: 16 }, children: l.map((p, f) => /* @__PURE__ */ c(
4659
4692
  "div",
4660
4693
  {
4661
4694
  style: {
@@ -4667,14 +4700,14 @@ function oi({
4667
4700
  opacity: r >= 0.5 ? 1 : 0
4668
4701
  },
4669
4702
  children: [
4670
- /* @__PURE__ */ d("div", { style: { display: "flex", justifyContent: "space-between", alignItems: "center", marginBottom: 6 }, children: [
4703
+ /* @__PURE__ */ c("div", { style: { display: "flex", justifyContent: "space-between", alignItems: "center", marginBottom: 6 }, children: [
4671
4704
  /* @__PURE__ */ e("span", { style: { fontSize: 9, fontWeight: 600, color: p.color, letterSpacing: "0.08em", fontFamily: "'Courier New', monospace" }, children: p.label }),
4672
- /* @__PURE__ */ d("span", { style: { fontSize: 8, color: p.color + "99", fontFamily: "'Courier New', monospace" }, children: [
4705
+ /* @__PURE__ */ c("span", { style: { fontSize: 8, color: p.color + "99", fontFamily: "'Courier New', monospace" }, children: [
4673
4706
  Math.round(p.data[p.data.length - 1] ?? 0),
4674
4707
  p.unit
4675
4708
  ] })
4676
4709
  ] }),
4677
- /* @__PURE__ */ e(ni, { data: p.data, color: p.color, height: 26 })
4710
+ /* @__PURE__ */ e(ci, { data: p.data, color: p.color, height: 26 })
4678
4711
  ]
4679
4712
  },
4680
4713
  p.id
@@ -4683,7 +4716,7 @@ function oi({
4683
4716
  }
4684
4717
  );
4685
4718
  }
4686
- function ri(t, n) {
4719
+ function fi(t, n) {
4687
4720
  if (t === "server") {
4688
4721
  const o = n.cpuLoad ?? 50, i = n.memLoad ?? 60;
4689
4722
  return [
@@ -4719,7 +4752,7 @@ function ri(t, n) {
4719
4752
  }
4720
4753
  return [];
4721
4754
  }
4722
- function St({
4755
+ function Nt({
4723
4756
  w: t,
4724
4757
  h: n,
4725
4758
  color: o,
@@ -4728,14 +4761,14 @@ function St({
4728
4761
  delay: a = "0s",
4729
4762
  children: s
4730
4763
  }) {
4731
- const l = r ? P[r]?.glow ?? "rgba(0,229,255,0.4)" : "rgba(0,229,255,0.4)";
4732
- return /* @__PURE__ */ d(
4764
+ const l = r ? C[r]?.glow ?? "rgba(0,229,255,0.4)" : "rgba(0,229,255,0.4)";
4765
+ return /* @__PURE__ */ c(
4733
4766
  "div",
4734
4767
  {
4735
4768
  style: {
4736
4769
  width: t,
4737
4770
  height: n,
4738
- background: Te,
4771
+ background: ze,
4739
4772
  position: "relative",
4740
4773
  overflow: "hidden",
4741
4774
  borderRadius: 2,
@@ -4769,8 +4802,8 @@ function St({
4769
4802
  width: 4,
4770
4803
  height: 4,
4771
4804
  borderRadius: "50%",
4772
- background: P[r]?.color,
4773
- boxShadow: `0 0 6px ${P[r]?.color}`,
4805
+ background: C[r]?.color,
4806
+ boxShadow: `0 0 6px ${C[r]?.color}`,
4774
4807
  animation: "holo-led-blink 1.2s infinite"
4775
4808
  }
4776
4809
  }
@@ -4812,20 +4845,20 @@ function St({
4812
4845
  }
4813
4846
  );
4814
4847
  }
4815
- function ze({
4848
+ function Ke({
4816
4849
  color: t = "#00e5ff",
4817
4850
  label: n = "CPU-0",
4818
4851
  status: o = "online",
4819
4852
  load: i = 0
4820
4853
  }) {
4821
- return /* @__PURE__ */ d("div", { style: { position: "relative", width: 52, height: 36 }, children: [
4822
- /* @__PURE__ */ d(
4854
+ return /* @__PURE__ */ c("div", { style: { position: "relative", width: 52, height: 36 }, children: [
4855
+ /* @__PURE__ */ c(
4823
4856
  "div",
4824
4857
  {
4825
4858
  style: {
4826
4859
  width: 52,
4827
4860
  height: 36,
4828
- background: Te,
4861
+ background: ze,
4829
4862
  position: "relative",
4830
4863
  borderRadius: 2,
4831
4864
  border: `1px solid ${t}55`,
@@ -4896,8 +4929,8 @@ function ze({
4896
4929
  width: 4,
4897
4930
  height: 4,
4898
4931
  borderRadius: "50%",
4899
- background: P[o]?.color,
4900
- boxShadow: `0 0 6px ${P[o]?.color}`,
4932
+ background: C[o]?.color,
4933
+ boxShadow: `0 0 6px ${C[o]?.color}`,
4901
4934
  animation: "holo-led-blink 1.2s infinite"
4902
4935
  }
4903
4936
  }
@@ -4923,14 +4956,14 @@ function ze({
4923
4956
  )
4924
4957
  ] });
4925
4958
  }
4926
- function Be({
4959
+ function Ze({
4927
4960
  color: t = "#00e5ff",
4928
4961
  label: n = "HEAP-0",
4929
4962
  status: o = "online",
4930
4963
  usedPercent: i = 0
4931
4964
  }) {
4932
- return /* @__PURE__ */ d("div", { style: { position: "relative", width: 28, height: 48 }, children: [
4933
- /* @__PURE__ */ d(
4965
+ return /* @__PURE__ */ c("div", { style: { position: "relative", width: 28, height: 48 }, children: [
4966
+ /* @__PURE__ */ c(
4934
4967
  "div",
4935
4968
  {
4936
4969
  style: {
@@ -4994,7 +5027,7 @@ function Be({
4994
5027
  width: 3,
4995
5028
  height: 3,
4996
5029
  borderRadius: "50%",
4997
- background: P[o]?.color,
5030
+ background: C[o]?.color,
4998
5031
  animation: "holo-led-blink 1.2s infinite"
4999
5032
  }
5000
5033
  }
@@ -5020,13 +5053,13 @@ function Be({
5020
5053
  )
5021
5054
  ] });
5022
5055
  }
5023
- function Re({
5056
+ function De({
5024
5057
  color: t = "#00e5ff",
5025
5058
  label: n = "DRIVE-1",
5026
5059
  status: o = "online",
5027
5060
  activity: i = !1
5028
5061
  }) {
5029
- return /* @__PURE__ */ d(St, { w: 56, h: 22, color: t, label: n, status: o, children: [
5062
+ return /* @__PURE__ */ c(Nt, { w: 56, h: 22, color: t, label: n, status: o, children: [
5030
5063
  /* @__PURE__ */ e(
5031
5064
  "div",
5032
5065
  {
@@ -5059,18 +5092,18 @@ function Re({
5059
5092
  )
5060
5093
  ] });
5061
5094
  }
5062
- function $t({
5095
+ function Wt({
5063
5096
  color: t = "#00e5ff",
5064
5097
  label: n = "NET",
5065
5098
  status: o = "online"
5066
5099
  }) {
5067
- return /* @__PURE__ */ d(
5100
+ return /* @__PURE__ */ c(
5068
5101
  "div",
5069
5102
  {
5070
5103
  style: {
5071
5104
  width: 48,
5072
5105
  height: 28,
5073
- background: Te,
5106
+ background: ze,
5074
5107
  position: "relative",
5075
5108
  borderRadius: 2,
5076
5109
  border: `1px solid ${t}44`,
@@ -5123,21 +5156,21 @@ function $t({
5123
5156
  }
5124
5157
  );
5125
5158
  }
5126
- function M({
5159
+ function W({
5127
5160
  color: t = "#00e5ff",
5128
5161
  label: n = "THREAD",
5129
5162
  status: o = "online"
5130
5163
  }) {
5131
- return /* @__PURE__ */ e(St, { w: 44, h: 28, color: t, label: n, status: o });
5164
+ return /* @__PURE__ */ e(Nt, { w: 44, h: 28, color: t, label: n, status: o });
5132
5165
  }
5133
- function Me({
5166
+ function Qe({
5134
5167
  color: t = "#ff8c00",
5135
5168
  label: n = "PLATTER-0",
5136
5169
  status: o = "online",
5137
5170
  capacityPercent: i = 0
5138
5171
  }) {
5139
- return /* @__PURE__ */ d("div", { style: { position: "relative", width: 48, height: 62 }, children: [
5140
- /* @__PURE__ */ d(
5172
+ return /* @__PURE__ */ c("div", { style: { position: "relative", width: 48, height: 62 }, children: [
5173
+ /* @__PURE__ */ c(
5141
5174
  "div",
5142
5175
  {
5143
5176
  style: {
@@ -5188,7 +5221,7 @@ function Me({
5188
5221
  width: 4,
5189
5222
  height: 4,
5190
5223
  borderRadius: "50%",
5191
- background: P[o]?.color,
5224
+ background: C[o]?.color,
5192
5225
  animation: "holo-led-blink 1.2s infinite"
5193
5226
  }
5194
5227
  }
@@ -5214,12 +5247,12 @@ function Me({
5214
5247
  )
5215
5248
  ] });
5216
5249
  }
5217
- function F({
5250
+ function Y({
5218
5251
  color: t = "#00e5ff",
5219
5252
  label: n = "PORT-1",
5220
5253
  status: o = "online"
5221
5254
  }) {
5222
- return /* @__PURE__ */ d(
5255
+ return /* @__PURE__ */ c(
5223
5256
  "div",
5224
5257
  {
5225
5258
  style: {
@@ -5243,7 +5276,7 @@ function F({
5243
5276
  width: 4,
5244
5277
  height: 4,
5245
5278
  borderRadius: "50%",
5246
- background: o && o !== "online" ? P[o]?.color ?? t : t,
5279
+ background: o && o !== "online" ? C[o]?.color ?? t : t,
5247
5280
  boxShadow: `0 0 4px ${t}`,
5248
5281
  animation: o && o !== "online" && o !== "offline" ? "holo-led-blink 1s infinite" : "none"
5249
5282
  }
@@ -5284,7 +5317,7 @@ function F({
5284
5317
  }
5285
5318
  );
5286
5319
  }
5287
- function ai(t, n, o, i) {
5320
+ function hi(t, n, o, i) {
5288
5321
  const r = o === "online" ? "online" : o;
5289
5322
  return t === "server" ? [
5290
5323
  {
@@ -5388,8 +5421,8 @@ function ai(t, n, o, i) {
5388
5421
  }
5389
5422
  ] : [];
5390
5423
  }
5391
- const D = "cubic-bezier(0.34, 1.56, 0.64, 1)", li = "cubic-bezier(0.16, 1, 0.3, 1)";
5392
- function si({ items: t, revealPhase: n }) {
5424
+ const I = "cubic-bezier(0.34, 1.56, 0.64, 1)", ui = "cubic-bezier(0.16, 1, 0.3, 1)";
5425
+ function bi({ items: t, revealPhase: n }) {
5393
5426
  return /* @__PURE__ */ e(
5394
5427
  "div",
5395
5428
  {
@@ -5407,7 +5440,7 @@ function si({ items: t, revealPhase: n }) {
5407
5440
  style: {
5408
5441
  opacity: n >= 0.2 + i * 0.06 ? 1 : 0,
5409
5442
  transform: `scale(${n >= 0.2 + i * 0.06 ? 1 : 0.6})`,
5410
- transition: `opacity 0.4s ${D} ${i * 0.06}s, transform 0.45s ${D} ${i * 0.06}s`
5443
+ transition: `opacity 0.4s ${I} ${i * 0.06}s, transform 0.45s ${I} ${i * 0.06}s`
5411
5444
  },
5412
5445
  children: o.element
5413
5446
  },
@@ -5416,21 +5449,21 @@ function si({ items: t, revealPhase: n }) {
5416
5449
  }
5417
5450
  );
5418
5451
  }
5419
- function di({
5452
+ function gi({
5420
5453
  type: t,
5421
5454
  status: n,
5422
5455
  context: o,
5423
5456
  internal: i,
5424
5457
  revealPhase: r
5425
5458
  }) {
5426
- const a = P[n]?.color ?? P.online.color, s = "#ff8c00";
5459
+ const a = C[n]?.color ?? C.online.color, s = "#ff8c00";
5427
5460
  if (t === "server") {
5428
- const l = o.cpuLoad ?? 50, h = o.memLoad ?? 60, c = [
5461
+ const l = o.cpuLoad ?? 50, h = o.memLoad ?? 60, d = [
5429
5462
  {
5430
5463
  key: "cpu0",
5431
5464
  delay: 0,
5432
5465
  el: /* @__PURE__ */ e(
5433
- ze,
5466
+ Ke,
5434
5467
  {
5435
5468
  color: a,
5436
5469
  label: "CPU-0",
@@ -5444,7 +5477,7 @@ function di({
5444
5477
  key: "cpu1",
5445
5478
  delay: 1,
5446
5479
  el: /* @__PURE__ */ e(
5447
- ze,
5480
+ Ke,
5448
5481
  {
5449
5482
  color: a,
5450
5483
  label: "CPU-1",
@@ -5458,7 +5491,7 @@ function di({
5458
5491
  key: "heap0",
5459
5492
  delay: 2,
5460
5493
  el: /* @__PURE__ */ e(
5461
- Be,
5494
+ Ze,
5462
5495
  {
5463
5496
  color: "#8855ee",
5464
5497
  label: "HEAP-0",
@@ -5472,7 +5505,7 @@ function di({
5472
5505
  key: "heap1",
5473
5506
  delay: 3,
5474
5507
  el: /* @__PURE__ */ e(
5475
- Be,
5508
+ Ze,
5476
5509
  {
5477
5510
  color: "#8855ee",
5478
5511
  label: "HEAP-1",
@@ -5485,13 +5518,13 @@ function di({
5485
5518
  {
5486
5519
  key: "d1",
5487
5520
  delay: 4,
5488
- el: /* @__PURE__ */ e(Re, { color: a, label: "DRIVE-1", status: i[4]?.status, activity: !0 })
5521
+ el: /* @__PURE__ */ e(De, { color: a, label: "DRIVE-1", status: i[4]?.status, activity: !0 })
5489
5522
  },
5490
5523
  {
5491
5524
  key: "d2",
5492
5525
  delay: 5,
5493
5526
  el: /* @__PURE__ */ e(
5494
- Re,
5527
+ De,
5495
5528
  {
5496
5529
  color: a,
5497
5530
  label: "DRIVE-2",
@@ -5504,7 +5537,7 @@ function di({
5504
5537
  key: "d3",
5505
5538
  delay: 6,
5506
5539
  el: /* @__PURE__ */ e(
5507
- Re,
5540
+ De,
5508
5541
  {
5509
5542
  color: a,
5510
5543
  label: "DRIVE-3",
@@ -5516,12 +5549,12 @@ function di({
5516
5549
  {
5517
5550
  key: "thread",
5518
5551
  delay: 7,
5519
- el: /* @__PURE__ */ e(M, { color: a, label: "THREAD-POOL", status: i[7]?.status })
5552
+ el: /* @__PURE__ */ e(W, { color: a, label: "THREAD-POOL", status: i[7]?.status })
5520
5553
  },
5521
5554
  {
5522
5555
  key: "net",
5523
5556
  delay: 8,
5524
- el: /* @__PURE__ */ e($t, { color: a, label: "NET", status: i[8]?.status })
5557
+ el: /* @__PURE__ */ e(Wt, { color: a, label: "NET", status: i[8]?.status })
5525
5558
  }
5526
5559
  ];
5527
5560
  return /* @__PURE__ */ e(
@@ -5535,15 +5568,15 @@ function di({
5535
5568
  alignItems: "center",
5536
5569
  padding: 24
5537
5570
  },
5538
- children: c.map(({ key: p, delay: f, el: g }) => /* @__PURE__ */ e(
5571
+ children: d.map(({ key: p, delay: f, el: b }) => /* @__PURE__ */ e(
5539
5572
  "div",
5540
5573
  {
5541
5574
  style: {
5542
5575
  opacity: r >= 0.2 + f * 0.08 ? 1 : 0,
5543
5576
  transform: `scale(${r >= 0.2 + f * 0.08 ? 1 : 0.6})`,
5544
- transition: `opacity 0.4s ${D} ${f * 0.06}s, transform 0.45s ${D} ${f * 0.06}s`
5577
+ transition: `opacity 0.4s ${I} ${f * 0.06}s, transform 0.45s ${I} ${f * 0.06}s`
5545
5578
  },
5546
- children: g
5579
+ children: b
5547
5580
  },
5548
5581
  p
5549
5582
  ))
@@ -5551,22 +5584,22 @@ function di({
5551
5584
  );
5552
5585
  }
5553
5586
  if (t === "dispatcher") {
5554
- const l = Array.from({ length: 8 }, (h, c) => {
5555
- const p = i[c];
5587
+ const l = Array.from({ length: 8 }, (h, d) => {
5588
+ const p = i[d];
5556
5589
  return /* @__PURE__ */ e(
5557
5590
  "div",
5558
5591
  {
5559
5592
  style: {
5560
- opacity: r >= 0.25 + c * 0.04 ? 1 : 0,
5561
- transform: `scale(${r >= 0.25 + c * 0.04 ? 1 : 0.5})`,
5562
- transition: `opacity 0.35s ${D} ${c * 0.04}s, transform 0.4s ${D} ${c * 0.04}s`
5593
+ opacity: r >= 0.25 + d * 0.04 ? 1 : 0,
5594
+ transform: `scale(${r >= 0.25 + d * 0.04 ? 1 : 0.5})`,
5595
+ transition: `opacity 0.35s ${I} ${d * 0.04}s, transform 0.4s ${I} ${d * 0.04}s`
5563
5596
  },
5564
- children: /* @__PURE__ */ e(F, { color: a, label: `PORT-${c + 1}`, status: p?.status })
5597
+ children: /* @__PURE__ */ e(Y, { color: a, label: `PORT-${d + 1}`, status: p?.status })
5565
5598
  },
5566
- `p${c}`
5599
+ `p${d}`
5567
5600
  );
5568
5601
  });
5569
- return /* @__PURE__ */ d(
5602
+ return /* @__PURE__ */ c(
5570
5603
  "div",
5571
5604
  {
5572
5605
  style: {
@@ -5578,16 +5611,16 @@ function di({
5578
5611
  },
5579
5612
  children: [
5580
5613
  /* @__PURE__ */ e("div", { style: { display: "flex", gap: 10, flexWrap: "wrap", justifyContent: "center" }, children: l }),
5581
- /* @__PURE__ */ d("div", { style: { display: "flex", gap: 16 }, children: [
5614
+ /* @__PURE__ */ c("div", { style: { display: "flex", gap: 16 }, children: [
5582
5615
  /* @__PURE__ */ e(
5583
5616
  "div",
5584
5617
  {
5585
5618
  style: {
5586
5619
  opacity: r >= 0.7 ? 1 : 0,
5587
5620
  transform: `scale(${r >= 0.7 ? 1 : 0.6})`,
5588
- transition: `all 0.4s ${D} 0.3s`
5621
+ transition: `all 0.4s ${I} 0.3s`
5589
5622
  },
5590
- children: /* @__PURE__ */ e(M, { color: a, label: "HTTP-WORKER", status: i[8]?.status })
5623
+ children: /* @__PURE__ */ e(W, { color: a, label: "HTTP-WORKER", status: i[8]?.status })
5591
5624
  }
5592
5625
  ),
5593
5626
  /* @__PURE__ */ e(
@@ -5596,9 +5629,9 @@ function di({
5596
5629
  style: {
5597
5630
  opacity: r >= 0.8 ? 1 : 0,
5598
5631
  transform: `scale(${r >= 0.8 ? 1 : 0.6})`,
5599
- transition: `all 0.4s ${D} 0.4s`
5632
+ transition: `all 0.4s ${I} 0.4s`
5600
5633
  },
5601
- children: /* @__PURE__ */ e(M, { color: "#bb55ff", label: "HTTPS-WORKER", status: i[9]?.status })
5634
+ children: /* @__PURE__ */ e(W, { color: "#bb55ff", label: "HTTPS-WORKER", status: i[9]?.status })
5602
5635
  }
5603
5636
  )
5604
5637
  ] })
@@ -5607,7 +5640,7 @@ function di({
5607
5640
  );
5608
5641
  }
5609
5642
  if (t === "messageServer")
5610
- return /* @__PURE__ */ d(
5643
+ return /* @__PURE__ */ c(
5611
5644
  "div",
5612
5645
  {
5613
5646
  style: {
@@ -5625,9 +5658,9 @@ function di({
5625
5658
  style: {
5626
5659
  opacity: r >= 0.25 + l * 0.1 ? 1 : 0,
5627
5660
  transform: `scale(${r >= 0.25 + l * 0.1 ? 1 : 0.6})`,
5628
- transition: `all 0.4s ${D} ${l * 0.08}s`
5661
+ transition: `all 0.4s ${I} ${l * 0.08}s`
5629
5662
  },
5630
- children: /* @__PURE__ */ e(F, { color: "#bb55ff", label: `INST-${l}`, status: i[l]?.status })
5663
+ children: /* @__PURE__ */ e(Y, { color: "#bb55ff", label: `INST-${l}`, status: i[l]?.status })
5631
5664
  },
5632
5665
  l
5633
5666
  )),
@@ -5637,9 +5670,9 @@ function di({
5637
5670
  style: {
5638
5671
  opacity: r >= 0.6 ? 1 : 0,
5639
5672
  transform: `scale(${r >= 0.6 ? 1 : 0.6})`,
5640
- transition: `all 0.4s ${D} 0.25s`
5673
+ transition: `all 0.4s ${I} 0.25s`
5641
5674
  },
5642
- children: /* @__PURE__ */ e(M, { color: "#bb55ff", label: "QUEUE-0", status: i[3]?.status })
5675
+ children: /* @__PURE__ */ e(W, { color: "#bb55ff", label: "QUEUE-0", status: i[3]?.status })
5643
5676
  }
5644
5677
  ),
5645
5678
  [4, 5, 6].map((l) => /* @__PURE__ */ e(
@@ -5648,10 +5681,10 @@ function di({
5648
5681
  style: {
5649
5682
  opacity: r >= 0.7 + (l - 4) * 0.08 ? 1 : 0,
5650
5683
  transform: `scale(${r >= 0.7 ? 1 : 0.6})`,
5651
- transition: `all 0.4s ${D} ${0.35 + (l - 4) * 0.05}s`
5684
+ transition: `all 0.4s ${I} ${0.35 + (l - 4) * 0.05}s`
5652
5685
  },
5653
5686
  children: /* @__PURE__ */ e(
5654
- M,
5687
+ W,
5655
5688
  {
5656
5689
  color: "#bb55ff",
5657
5690
  label: `WORKER-${l - 3}`,
@@ -5666,7 +5699,7 @@ function di({
5666
5699
  );
5667
5700
  if (t === "database") {
5668
5701
  const l = o.capacity ?? 72;
5669
- return /* @__PURE__ */ d(
5702
+ return /* @__PURE__ */ c(
5670
5703
  "div",
5671
5704
  {
5672
5705
  style: {
@@ -5684,10 +5717,10 @@ function di({
5684
5717
  style: {
5685
5718
  opacity: r >= 0.2 + h * 0.12 ? 1 : 0,
5686
5719
  transform: `scale(${r >= 0.2 + h * 0.12 ? 1 : 0.5})`,
5687
- transition: `all 0.45s ${D} ${h * 0.1}s`
5720
+ transition: `all 0.45s ${I} ${h * 0.1}s`
5688
5721
  },
5689
5722
  children: /* @__PURE__ */ e(
5690
- Me,
5723
+ Qe,
5691
5724
  {
5692
5725
  color: s,
5693
5726
  label: `PLATTER-${h}`,
@@ -5704,9 +5737,9 @@ function di({
5704
5737
  style: {
5705
5738
  opacity: r >= 0.6 ? 1 : 0,
5706
5739
  transform: `scale(${r >= 0.6 ? 1 : 0.6})`,
5707
- transition: `all 0.4s ${D} 0.3s`
5740
+ transition: `all 0.4s ${I} 0.3s`
5708
5741
  },
5709
- children: /* @__PURE__ */ e(M, { color: s, label: "CONN-POOL", status: i[3]?.status })
5742
+ children: /* @__PURE__ */ e(W, { color: s, label: "CONN-POOL", status: i[3]?.status })
5710
5743
  }
5711
5744
  ),
5712
5745
  /* @__PURE__ */ e(
@@ -5715,9 +5748,9 @@ function di({
5715
5748
  style: {
5716
5749
  opacity: r >= 0.75 ? 1 : 0,
5717
5750
  transform: `scale(${r >= 0.75 ? 1 : 0.6})`,
5718
- transition: `all 0.4s ${D} 0.4s`
5751
+ transition: `all 0.4s ${I} 0.4s`
5719
5752
  },
5720
- children: /* @__PURE__ */ e(M, { color: "#00ff88", label: "QUERY-CACHE", status: i[4]?.status })
5753
+ children: /* @__PURE__ */ e(W, { color: "#00ff88", label: "QUERY-CACHE", status: i[4]?.status })
5721
5754
  }
5722
5755
  )
5723
5756
  ]
@@ -5726,7 +5759,7 @@ function di({
5726
5759
  }
5727
5760
  return null;
5728
5761
  }
5729
- function Ni({
5762
+ function Ui({
5730
5763
  type: t,
5731
5764
  name: n,
5732
5765
  status: o,
@@ -5736,8 +5769,8 @@ function Ni({
5736
5769
  subComponents: s,
5737
5770
  graphSeries: l
5738
5771
  }) {
5739
- const h = ai(t, n, o, a), c = P[o]?.color ?? P.online.color, p = r >= 0.1 ? 1 : r * 10, f = r >= 0.2 ? "-50%" : "0%", g = r >= 0.2 ? "50%" : "0%", u = r >= 0.25 ? Math.min(1, (r - 0.25) * 1.5) : 0;
5740
- return /* @__PURE__ */ d(
5772
+ const h = hi(t, n, o, a), d = C[o]?.color ?? C.online.color, p = r >= 0.1 ? 1 : r * 10, f = r >= 0.2 ? "-50%" : "0%", b = r >= 0.2 ? "50%" : "0%", u = r >= 0.25 ? Math.min(1, (r - 0.25) * 1.5) : 0;
5773
+ return /* @__PURE__ */ c(
5741
5774
  "div",
5742
5775
  {
5743
5776
  style: {
@@ -5748,7 +5781,7 @@ function Ni({
5748
5781
  flexDirection: "row",
5749
5782
  pointerEvents: "auto"
5750
5783
  },
5751
- onClick: (y) => y.stopPropagation(),
5784
+ onClick: (g) => g.stopPropagation(),
5752
5785
  children: [
5753
5786
  /* @__PURE__ */ e(
5754
5787
  "div",
@@ -5760,13 +5793,13 @@ function Ni({
5760
5793
  backdropFilter: "blur(10px)",
5761
5794
  WebkitBackdropFilter: "blur(10px)",
5762
5795
  opacity: p,
5763
- transition: `opacity 0.4s ${li}`
5796
+ transition: `opacity 0.4s ${ui}`
5764
5797
  },
5765
5798
  onClick: i
5766
5799
  }
5767
5800
  ),
5768
5801
  /* @__PURE__ */ e(
5769
- oi,
5802
+ pi,
5770
5803
  {
5771
5804
  type: t,
5772
5805
  name: n,
@@ -5776,7 +5809,7 @@ function Ni({
5776
5809
  series: l
5777
5810
  }
5778
5811
  ),
5779
- /* @__PURE__ */ d(
5812
+ /* @__PURE__ */ c(
5780
5813
  "div",
5781
5814
  {
5782
5815
  style: {
@@ -5789,7 +5822,7 @@ function Ni({
5789
5822
  minWidth: 0
5790
5823
  },
5791
5824
  children: [
5792
- /* @__PURE__ */ d(
5825
+ /* @__PURE__ */ c(
5793
5826
  "div",
5794
5827
  {
5795
5828
  style: {
@@ -5807,10 +5840,10 @@ function Ni({
5807
5840
  width: "50%",
5808
5841
  height: "100%",
5809
5842
  background: "linear-gradient(90deg, rgba(2, 8, 20, 0.98) 0%, rgba(2, 12, 28, 0.95) 100%)",
5810
- borderRight: `2px solid ${c}44`,
5843
+ borderRight: `2px solid ${d}44`,
5811
5844
  boxShadow: "4px 0 32px rgba(0,0,0,0.6)",
5812
5845
  transform: `translateX(${f})`,
5813
- transition: `transform 0.7s ${D}`
5846
+ transition: `transform 0.7s ${I}`
5814
5847
  }
5815
5848
  }
5816
5849
  ),
@@ -5822,17 +5855,17 @@ function Ni({
5822
5855
  height: "100%",
5823
5856
  marginLeft: "auto",
5824
5857
  background: "linear-gradient(90deg, rgba(2, 12, 28, 0.95) 0%, rgba(2, 8, 20, 0.98) 100%)",
5825
- borderLeft: `2px solid ${c}44`,
5858
+ borderLeft: `2px solid ${d}44`,
5826
5859
  boxShadow: "-4px 0 32px rgba(0,0,0,0.6)",
5827
- transform: `translateX(${g})`,
5828
- transition: `transform 0.7s ${D}`
5860
+ transform: `translateX(${b})`,
5861
+ transition: `transform 0.7s ${I}`
5829
5862
  }
5830
5863
  }
5831
5864
  )
5832
5865
  ]
5833
5866
  }
5834
5867
  ),
5835
- /* @__PURE__ */ d(
5868
+ /* @__PURE__ */ c(
5836
5869
  "div",
5837
5870
  {
5838
5871
  style: {
@@ -5842,29 +5875,29 @@ function Ni({
5842
5875
  maxWidth: 520,
5843
5876
  minHeight: 320,
5844
5877
  background: "linear-gradient(180deg, rgba(4, 14, 28, 0.6) 0%, rgba(2, 8, 18, 0.85) 100%)",
5845
- border: `1px solid ${c}33`,
5878
+ border: `1px solid ${d}33`,
5846
5879
  borderRadius: 12,
5847
- boxShadow: `0 0 40px ${c}18, inset 0 0 60px rgba(0,0,0,0.4)`,
5880
+ boxShadow: `0 0 40px ${d}18, inset 0 0 60px rgba(0,0,0,0.4)`,
5848
5881
  display: "flex",
5849
5882
  flexDirection: "column",
5850
5883
  opacity: u >= 0.1 ? 1 : 0,
5851
- transition: `opacity 0.5s ${D} 0.2s`
5884
+ transition: `opacity 0.5s ${I} 0.2s`
5852
5885
  },
5853
5886
  children: [
5854
- /* @__PURE__ */ d(
5887
+ /* @__PURE__ */ c(
5855
5888
  "div",
5856
5889
  {
5857
5890
  style: {
5858
5891
  padding: "12px 20px",
5859
- borderBottom: `1px solid ${c}22`,
5892
+ borderBottom: `1px solid ${d}22`,
5860
5893
  display: "flex",
5861
5894
  alignItems: "center",
5862
5895
  justifyContent: "space-between",
5863
- background: `linear-gradient(180deg, ${c}11 0%, transparent 100%)`,
5896
+ background: `linear-gradient(180deg, ${d}11 0%, transparent 100%)`,
5864
5897
  borderRadius: "12px 12px 0 0"
5865
5898
  },
5866
5899
  children: [
5867
- /* @__PURE__ */ d("div", { style: { display: "flex", alignItems: "center", gap: 10 }, children: [
5900
+ /* @__PURE__ */ c("div", { style: { display: "flex", alignItems: "center", gap: 10 }, children: [
5868
5901
  /* @__PURE__ */ e(
5869
5902
  "div",
5870
5903
  {
@@ -5872,13 +5905,13 @@ function Ni({
5872
5905
  width: 8,
5873
5906
  height: 8,
5874
5907
  borderRadius: "50%",
5875
- background: c,
5876
- boxShadow: `0 0 10px ${c}`,
5908
+ background: d,
5909
+ boxShadow: `0 0 10px ${d}`,
5877
5910
  animation: o === "warning" || o === "critical" ? "holo-led-blink 1.5s infinite" : "none"
5878
5911
  }
5879
5912
  }
5880
5913
  ),
5881
- /* @__PURE__ */ d(
5914
+ /* @__PURE__ */ c(
5882
5915
  "span",
5883
5916
  {
5884
5917
  style: {
@@ -5903,9 +5936,9 @@ function Ni({
5903
5936
  width: 32,
5904
5937
  height: 32,
5905
5938
  borderRadius: 6,
5906
- border: `1px solid ${c}44`,
5939
+ border: `1px solid ${d}44`,
5907
5940
  background: "rgba(0,0,0,0.4)",
5908
- color: c,
5941
+ color: d,
5909
5942
  fontSize: 18,
5910
5943
  cursor: "pointer",
5911
5944
  display: "flex",
@@ -5929,15 +5962,15 @@ function Ni({
5929
5962
  left: 0,
5930
5963
  right: 0,
5931
5964
  height: 1,
5932
- background: `linear-gradient(90deg, transparent 5%, ${c}88 50%, transparent 95%)`,
5933
- boxShadow: `0 0 8px ${c}`,
5965
+ background: `linear-gradient(90deg, transparent 5%, ${d}88 50%, transparent 95%)`,
5966
+ boxShadow: `0 0 8px ${d}`,
5934
5967
  animation: "holo-scan 3s linear infinite",
5935
5968
  pointerEvents: "none"
5936
5969
  }
5937
5970
  }
5938
5971
  ),
5939
- /* @__PURE__ */ e("div", { style: { flex: 1, padding: "8px 0 24px" }, children: s ? /* @__PURE__ */ e(si, { items: s, revealPhase: u }) : /* @__PURE__ */ e(
5940
- di,
5972
+ /* @__PURE__ */ e("div", { style: { flex: 1, padding: "8px 0 24px" }, children: s ? /* @__PURE__ */ e(bi, { items: s, revealPhase: u }) : /* @__PURE__ */ e(
5973
+ gi,
5941
5974
  {
5942
5975
  type: t,
5943
5976
  name: n,
@@ -5957,17 +5990,17 @@ function Ni({
5957
5990
  }
5958
5991
  );
5959
5992
  }
5960
- function ci({ onSubmit: t }) {
5961
- const [n, o] = R(""), [i, r] = R(""), [a, s] = R(null), [l, h] = R(!1), c = n.trim().length > 0 && i.trim().length > 0;
5962
- return /* @__PURE__ */ e("div", { className: "cred-overlay", children: /* @__PURE__ */ d("form", { className: "cred-panel", onSubmit: (f) => {
5963
- f.preventDefault(), c && t({ accessKey: n.trim(), secretKey: i.trim() });
5993
+ function yi({ onSubmit: t }) {
5994
+ const [n, o] = R(""), [i, r] = R(""), [a, s] = R(null), [l, h] = R(!1), d = n.trim().length > 0 && i.trim().length > 0;
5995
+ return /* @__PURE__ */ e("div", { className: "cred-overlay", children: /* @__PURE__ */ c("form", { className: "cred-panel", onSubmit: (f) => {
5996
+ f.preventDefault(), d && t({ accessKey: n.trim(), secretKey: i.trim() });
5964
5997
  }, onClick: (f) => f.stopPropagation(), children: [
5965
5998
  /* @__PURE__ */ e("div", { className: "cred-scanline" }),
5966
5999
  /* @__PURE__ */ e("span", { className: "cred-corner cred-corner--tl" }),
5967
6000
  /* @__PURE__ */ e("span", { className: "cred-corner cred-corner--tr" }),
5968
6001
  /* @__PURE__ */ e("span", { className: "cred-corner cred-corner--bl" }),
5969
6002
  /* @__PURE__ */ e("span", { className: "cred-corner cred-corner--br" }),
5970
- /* @__PURE__ */ e("div", { className: "cred-icon", children: /* @__PURE__ */ d(
6003
+ /* @__PURE__ */ e("div", { className: "cred-icon", children: /* @__PURE__ */ c(
5971
6004
  "svg",
5972
6005
  {
5973
6006
  width: "32",
@@ -5984,7 +6017,7 @@ function ci({ onSubmit: t }) {
5984
6017
  ) }),
5985
6018
  /* @__PURE__ */ e("div", { className: "cred-title", children: "DATA SOURCE ACCESS" }),
5986
6019
  /* @__PURE__ */ e("div", { className: "cred-subtitle", children: "AUTHENTICATION REQUIRED" }),
5987
- /* @__PURE__ */ d("div", { className: "cred-field", children: [
6020
+ /* @__PURE__ */ c("div", { className: "cred-field", children: [
5988
6021
  /* @__PURE__ */ e("label", { className: "cred-label", children: "ACCESS KEY" }),
5989
6022
  /* @__PURE__ */ e(
5990
6023
  "input",
@@ -6004,7 +6037,7 @@ function ci({ onSubmit: t }) {
6004
6037
  }
6005
6038
  )
6006
6039
  ] }),
6007
- /* @__PURE__ */ d("div", { className: "cred-field", children: [
6040
+ /* @__PURE__ */ c("div", { className: "cred-field", children: [
6008
6041
  /* @__PURE__ */ e("label", { className: "cred-label", children: "SECRET KEY" }),
6009
6042
  /* @__PURE__ */ e(
6010
6043
  "input",
@@ -6023,18 +6056,18 @@ function ci({ onSubmit: t }) {
6023
6056
  }
6024
6057
  )
6025
6058
  ] }),
6026
- /* @__PURE__ */ d(
6059
+ /* @__PURE__ */ c(
6027
6060
  "button",
6028
6061
  {
6029
6062
  className: "cred-btn",
6030
6063
  type: "submit",
6031
- disabled: !c,
6064
+ disabled: !d,
6032
6065
  onMouseEnter: () => h(!0),
6033
6066
  onMouseLeave: () => h(!1),
6034
6067
  style: {
6035
- opacity: c ? 1 : 0.35,
6036
- cursor: c ? "pointer" : "not-allowed",
6037
- ...l && c ? {
6068
+ opacity: d ? 1 : 0.35,
6069
+ cursor: d ? "pointer" : "not-allowed",
6070
+ ...l && d ? {
6038
6071
  background: "rgba(0,229,255,0.12)",
6039
6072
  boxShadow: "0 0 20px rgba(0,229,255,0.3), inset 0 0 12px rgba(0,229,255,0.08)"
6040
6073
  } : {}
@@ -6048,96 +6081,85 @@ function ci({ onSubmit: t }) {
6048
6081
  /* @__PURE__ */ e("div", { className: "cred-footer", children: "CREDENTIALS ARE STORED IN MEMORY ONLY" })
6049
6082
  ] }) });
6050
6083
  }
6051
- const rt = Ue(null);
6052
- function pi() {
6053
- const t = re(rt);
6084
+ const xt = tt(null);
6085
+ function mi() {
6086
+ const t = ge(xt);
6054
6087
  if (!t)
6055
6088
  throw new Error("useAIOpsData must be used within an AIOPsDashboard with dataEndpoint configured");
6056
6089
  return t;
6057
6090
  }
6058
- function fi() {
6059
- return re(rt);
6091
+ function xi() {
6092
+ return ge(xt);
6060
6093
  }
6061
- function Wi(t) {
6062
- const { data: n } = pi();
6094
+ function Yi(t) {
6095
+ const { data: n } = mi();
6063
6096
  return n[t] ?? null;
6064
6097
  }
6065
- function hi(t) {
6098
+ function vi(t) {
6066
6099
  const n = /* @__PURE__ */ new Set();
6067
6100
  for (const o of Object.values(t))
6068
6101
  for (const i of Object.values(o))
6069
6102
  n.add(typeof i == "string" ? i : i.query);
6070
6103
  return Array.from(n);
6071
6104
  }
6072
- function ui(t) {
6073
- try {
6074
- const i = t?.data?.result;
6075
- if (Array.isArray(i) && i.length > 0) {
6076
- const a = i[0]?.value;
6077
- if (Array.isArray(a) && a.length === 2) {
6078
- const s = a[1], l = Number(s);
6079
- return isNaN(l) ? s : l;
6080
- }
6081
- }
6082
- if (Array.isArray(i) && i.length === 2 && typeof i[0] == "number") {
6083
- const r = i[1], a = Number(r);
6084
- return isNaN(a) ? r : a;
6085
- }
6086
- return t;
6087
- } catch {
6088
- return t;
6105
+ function wi(t) {
6106
+ if (typeof t == "number") return t;
6107
+ if (typeof t == "string") {
6108
+ const n = Number(t);
6109
+ return isNaN(n) ? t : n;
6089
6110
  }
6111
+ return t;
6090
6112
  }
6091
- function bi({ config: t, children: n }) {
6092
- const [o, i] = R({}), [r, a] = R(null), [s, l] = R(!1), [h, c] = R(null), [p, f] = R(null), g = K(t);
6093
- g.current = t;
6094
- const u = K(r);
6113
+ function Si({ config: t, children: n }) {
6114
+ const [o, i] = R({}), [r, a] = R(null), [s, l] = R(!1), [h, d] = R(null), [p, f] = R(null), b = ie(t);
6115
+ b.current = t;
6116
+ const u = ie(r);
6095
6117
  u.current = r;
6096
- const y = dt(async () => {
6097
- const x = u.current, w = g.current;
6098
- if (x) {
6118
+ const g = Ge(async () => {
6119
+ const v = u.current, S = b.current;
6120
+ if (v) {
6099
6121
  l(!0);
6100
6122
  try {
6101
- const b = await Promise.allSettled(
6102
- w.queries.map((S) => {
6103
- const N = w.endpoint.includes("?") ? "&" : "?", B = `${w.endpoint}${N}query=${encodeURIComponent(S)}`;
6104
- return fetch(B, {
6123
+ const y = await Promise.allSettled(
6124
+ S.queries.map(($) => {
6125
+ const H = S.endpoint.includes("?") ? "&" : "?", L = `${S.endpoint}${H}query=${encodeURIComponent($)}`;
6126
+ return fetch(L, {
6105
6127
  method: "GET",
6106
6128
  headers: {
6107
- "access-key": x.accessKey,
6108
- "access-secret-key": x.secretKey
6129
+ "access-key": v.accessKey,
6130
+ "access-secret-key": v.secretKey
6109
6131
  }
6110
- }).then((z) => {
6111
- if (!z.ok) throw new Error(`HTTP ${z.status}`);
6112
- return z.json();
6113
- }).then((z) => ({ query: S, data: z }));
6132
+ }).then((M) => {
6133
+ if (!M.ok) throw new Error(`HTTP ${M.status}`);
6134
+ return M.text();
6135
+ }).then((M) => ({ query: $, data: M.trim() }));
6114
6136
  })
6115
- ), k = {};
6116
- let T = 0;
6117
- for (const S of b)
6118
- S.status === "fulfilled" ? k[S.value.query] = S.value.data : T++;
6119
- i((S) => ({ ...S, ...k }));
6120
- const $ = w.queries.length;
6121
- c(
6122
- T > 0 ? `${T} of ${$} queries failed to refresh` : null
6123
- ), T < $ && f(/* @__PURE__ */ new Date());
6124
- } catch (b) {
6125
- const k = b instanceof Error ? b.message : "Refresh failed";
6126
- c(k);
6137
+ ), x = {};
6138
+ let A = 0;
6139
+ for (const $ of y)
6140
+ $.status === "fulfilled" ? x[$.value.query] = $.value.data : A++;
6141
+ i(($) => ({ ...$, ...x }));
6142
+ const k = S.queries.length;
6143
+ d(
6144
+ A > 0 ? `${A} of ${k} queries failed to refresh` : null
6145
+ ), A < k && f(/* @__PURE__ */ new Date());
6146
+ } catch (y) {
6147
+ const x = y instanceof Error ? y.message : "Refresh failed";
6148
+ d(x);
6127
6149
  } finally {
6128
6150
  l(!1);
6129
6151
  }
6130
6152
  }
6131
6153
  }, []);
6132
- Ae(() => {
6154
+ ke(() => {
6133
6155
  if (!r) return;
6134
- y();
6135
- const x = g.current.refreshInterval ?? 6e4, w = window.setInterval(y, x);
6136
- return () => clearInterval(w);
6137
- }, [r, y]);
6138
- const m = dt((x) => {
6139
- a(x);
6140
- }, []), v = {
6156
+ g();
6157
+ const v = b.current.refreshInterval ?? 6e4, S = window.setInterval(g, v);
6158
+ return () => clearInterval(S);
6159
+ }, [r, g]);
6160
+ const m = Ge((v) => {
6161
+ a(v);
6162
+ }, []), w = {
6141
6163
  data: o,
6142
6164
  isRefreshing: s,
6143
6165
  lastRefreshError: h,
@@ -6145,30 +6167,30 @@ function bi({ config: t, children: n }) {
6145
6167
  credentialsSet: !!r,
6146
6168
  setCredentials: m
6147
6169
  };
6148
- return /* @__PURE__ */ d(rt.Provider, { value: v, children: [
6170
+ return /* @__PURE__ */ c(xt.Provider, { value: w, children: [
6149
6171
  n,
6150
- !r && /* @__PURE__ */ e(ci, { onSubmit: m })
6172
+ !r && /* @__PURE__ */ e(yi, { onSubmit: m })
6151
6173
  ] });
6152
6174
  }
6153
- function Mi(t) {
6175
+ function Vi(t) {
6154
6176
  const { dataEndpoint: n, dataBindings: o, dataRefreshInterval: i } = t;
6155
6177
  if (n && o) {
6156
- const r = hi(o);
6178
+ const r = vi(o);
6157
6179
  return /* @__PURE__ */ e(
6158
- bi,
6180
+ Si,
6159
6181
  {
6160
6182
  config: {
6161
6183
  endpoint: n,
6162
6184
  queries: r,
6163
6185
  refreshInterval: i
6164
6186
  },
6165
- children: /* @__PURE__ */ e(gt, { ...t })
6187
+ children: /* @__PURE__ */ e(At, { ...t })
6166
6188
  }
6167
6189
  );
6168
6190
  }
6169
- return /* @__PURE__ */ e(gt, { ...t });
6191
+ return /* @__PURE__ */ e(At, { ...t });
6170
6192
  }
6171
- function gt({
6193
+ function At({
6172
6194
  brandName: t = "BUSAUD AIOps",
6173
6195
  brandTag: n = "3D MONITOR",
6174
6196
  services: o = [],
@@ -6178,41 +6200,75 @@ function gt({
6178
6200
  fontFamily: s,
6179
6201
  dataBindings: l,
6180
6202
  dataTransform: h,
6181
- children: c
6203
+ children: d
6182
6204
  }) {
6183
- const p = fi(), [f] = R(20), [g] = R(!1), [u] = R(!0), [y] = R(0.45), [m] = R(3.3), [v, x] = R("compact"), [w, b] = R(0), [k, T] = R(null), [$, S] = R(null), [N, B] = R(0), z = (C) => {
6184
- v === "compact" && (T(C), x("expanding"), b(0), setTimeout(() => b(1), 50), setTimeout(() => b(2), 800), setTimeout(() => b(3), 1200), setTimeout(() => b(4), 1600), setTimeout(() => b(5), 2e3), setTimeout(() => {
6185
- b(6), x("expanded");
6205
+ const p = xi(), [f] = R(20), [b] = R(!1), [u] = R(!0), [g] = R(0.45), [m] = R(3.3), [w, v] = R("compact"), [S, y] = R(0), [x, A] = R(null), [k, $] = R(null), [H, L] = R(0), M = (T) => {
6206
+ w === "compact" && (A(T), v("expanding"), y(0), setTimeout(() => y(1), 50), setTimeout(() => y(2), 800), setTimeout(() => y(3), 1200), setTimeout(() => y(4), 1600), setTimeout(() => y(5), 2e3), setTimeout(() => {
6207
+ y(6), v("expanded");
6186
6208
  }, 2400));
6187
- }, H = () => {
6188
- $ ? (S(null), B(0)) : v === "expanded" && (x("collapsing"), b(0), T(null), setTimeout(() => {
6189
- x((C) => C === "collapsing" ? "compact" : C);
6209
+ }, K = () => {
6210
+ k ? ($(null), L(0)) : w === "expanded" && (v("collapsing"), y(0), A(null), setTimeout(() => {
6211
+ v((T) => T === "collapsing" ? "compact" : T);
6190
6212
  }, 1e3));
6191
- }, ae = (C) => {
6192
- S(C), B(0);
6193
- };
6194
- j.useEffect(() => {
6195
- if (!$) return;
6196
- const C = performance.now(), ce = 1200, ee = () => {
6197
- const Z = performance.now() - C, V = Math.min(1, Z / ce);
6198
- B(V), V < 1 && requestAnimationFrame(ee);
6199
- }, pe = requestAnimationFrame(ee);
6200
- return () => cancelAnimationFrame(pe);
6201
- }, [$]);
6202
- const le = () => {
6203
- S(null), B(0);
6204
- }, I = o.find((C) => C.name === k), U = I?.status ?? "online", se = I?.dbSync ?? !0, Ie = I?.metrics, Oe = I?.alerts, Y = h ?? ui, L = p?.data, Q = yt(() => !L || !l ? c : j.Children.map(c, (C) => {
6205
- if (!j.isValidElement(C)) return C;
6206
- const ce = C.props.name;
6207
- if (!ce || !l[ce]) return C;
6208
- const ee = l[ce], pe = {};
6209
- for (const [Z, V] of Object.entries(ee)) {
6210
- const st = typeof V == "string" ? V : V.query, ye = typeof V == "object" && V.transform ? V.transform : Y, De = L[st];
6211
- De !== void 0 && (pe[Z] = ye(De));
6212
- }
6213
- return Object.keys(pe).length > 0 ? j.cloneElement(C, pe) : C;
6214
- }), [c, L, l, Y]), Le = p?.lastRefreshError ?? null, be = 330, ge = 340, Ye = $ ? 1.15 : 1, Ve = $ ? -($.ex - be) * 0.06 : 0, de = $ ? -($.ey - ge) * 0.06 : 0;
6215
- return /* @__PURE__ */ d("div", { className: "app", style: s ? { fontFamily: s } : void 0, children: [
6213
+ }, Z = Ge((T) => {
6214
+ $(T), L(0);
6215
+ }, []), ye = Ge((T) => {
6216
+ $(T);
6217
+ }, []);
6218
+ q.useEffect(() => {
6219
+ if (!k) return;
6220
+ const T = performance.now(), j = 1200, oe = () => {
6221
+ const V = performance.now() - T, re = Math.min(1, V / j);
6222
+ L(re), re < 1 && requestAnimationFrame(oe);
6223
+ }, ee = requestAnimationFrame(oe);
6224
+ return () => cancelAnimationFrame(ee);
6225
+ }, [k]);
6226
+ const me = () => {
6227
+ $(null), L(0);
6228
+ }, D = h ?? wi, U = p?.data, { enhancedChildren: ne, liveAlerts: Be } = Tt(() => {
6229
+ const T = {};
6230
+ if (!U || !l) return { enhancedChildren: d, liveAlerts: T };
6231
+ const j = {};
6232
+ return { enhancedChildren: q.Children.map(d, (ee) => {
6233
+ if (!q.isValidElement(ee)) return ee;
6234
+ const V = ee.props.name;
6235
+ if (!V || !l[V]) return ee;
6236
+ const re = l[V], ve = {}, ae = {};
6237
+ for (const [pe, B] of Object.entries(re)) {
6238
+ const rt = typeof B == "string" ? B : B.query, at = typeof B == "object" && B.transform ? B.transform : D, Ye = U[rt];
6239
+ if (Ye === void 0) continue;
6240
+ const we = at(Ye);
6241
+ if (ve[pe] = we, typeof B == "object" && B.alert && typeof we == "number") {
6242
+ const { prop: F, warnAt: Ve = 70, critAt: St = 85, label: Ft } = B.alert, _e = Ft ?? pe, je = Math.round(we);
6243
+ if (we >= St) {
6244
+ const He = ae[F];
6245
+ (!He || He.severity < 2) && (ae[F] = {
6246
+ msg: `${_e} critical — ${je}%`,
6247
+ internalRef: pe,
6248
+ severity: 2
6249
+ }), j[V] || (j[V] = []), j[V].push({
6250
+ level: "critical",
6251
+ message: `${_e} at ${je}% — exceeds critical threshold (${St}%)`
6252
+ });
6253
+ } else if (we >= Ve) {
6254
+ const He = ae[F];
6255
+ (!He || He.severity < 1) && (ae[F] = {
6256
+ msg: `${_e} elevated — ${je}%`,
6257
+ internalRef: pe,
6258
+ severity: 1
6259
+ }), j[V] || (j[V] = []), j[V].push({
6260
+ level: "warning",
6261
+ message: `${_e} at ${je}% — exceeds warning threshold (${Ve}%)`
6262
+ });
6263
+ }
6264
+ }
6265
+ }
6266
+ for (const [pe, B] of Object.entries(ae))
6267
+ ve[pe] = { msg: B.msg, internalRef: B.internalRef };
6268
+ return Object.keys(ve).length > 0 ? q.cloneElement(ee, ve) : ee;
6269
+ }), liveAlerts: j };
6270
+ }, [d, U, l, D]), le = o.find((T) => T.name === x), Fe = le?.status ?? "online", J = le?.dbSync ?? !0, z = le?.metrics, _ = Be[x ?? ""] ?? [], se = le?.alerts ?? [], de = _.length > 0 ? [..._, ...se.filter((T) => T.level !== "info")] : se, Ce = p?.lastRefreshError ?? null, it = 330, nt = 340, xe = k ? 1.15 : 1, ce = k ? -(k.ex - it) * 0.06 : 0, ot = k ? -(k.ey - nt) * 0.06 : 0;
6271
+ return /* @__PURE__ */ c("div", { className: "app", style: s ? { fontFamily: s } : void 0, children: [
6216
6272
  /* @__PURE__ */ e(
6217
6273
  "div",
6218
6274
  {
@@ -6226,18 +6282,18 @@ function gt({
6226
6282
  backgroundPosition: "center center",
6227
6283
  backgroundRepeat: "no-repeat",
6228
6284
  transition: "transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1)",
6229
- transform: `translate(${Ve}px, ${de}px) scale(${Ye})`,
6285
+ transform: `translate(${ce}px, ${ot}px) scale(${xe})`,
6230
6286
  willChange: "transform"
6231
6287
  }
6232
6288
  }
6233
6289
  ),
6234
- /* @__PURE__ */ d("header", { className: "app-header", children: [
6235
- /* @__PURE__ */ d("div", { className: "hdr-brand", children: [
6290
+ /* @__PURE__ */ c("header", { className: "app-header", children: [
6291
+ /* @__PURE__ */ c("div", { className: "hdr-brand", children: [
6236
6292
  /* @__PURE__ */ e("span", { className: "brand-pulse" }),
6237
6293
  /* @__PURE__ */ e("span", { className: "brand-text", children: t })
6238
6294
  ] }),
6239
- /* @__PURE__ */ d("div", { className: "hdr-right", children: [
6240
- Le && /* @__PURE__ */ d("div", { className: "hdr-refresh-error", children: [
6295
+ /* @__PURE__ */ c("div", { className: "hdr-right", children: [
6296
+ Ce && /* @__PURE__ */ c("div", { className: "hdr-refresh-error", children: [
6241
6297
  /* @__PURE__ */ e("span", { className: "refresh-error-dot" }),
6242
6298
  /* @__PURE__ */ e("span", { className: "refresh-error-text", children: "DATA REFRESH FAILED" })
6243
6299
  ] }),
@@ -6249,143 +6305,144 @@ function gt({
6249
6305
  {
6250
6306
  className: "scene",
6251
6307
  style: {
6252
- cursor: v === "expanded" ? "zoom-out" : "default"
6308
+ cursor: w === "expanded" ? "zoom-out" : "default"
6253
6309
  },
6254
- onClick: H,
6310
+ onClick: K,
6255
6311
  children: /* @__PURE__ */ e(
6256
- Ft,
6312
+ Xt,
6257
6313
  {
6258
- viewState: v,
6259
- animPhase: w,
6260
- selectedSystem: k,
6261
- selectedComponent: $,
6262
- drillAnimPhase: N,
6314
+ viewState: w,
6315
+ animPhase: S,
6316
+ selectedSystem: x,
6317
+ selectedComponent: k,
6318
+ drillAnimPhase: H,
6263
6319
  rotateY: f,
6264
- autoRotateComponents: g,
6265
- componentScale: y,
6320
+ autoRotateComponents: b,
6321
+ componentScale: g,
6266
6322
  drillZoom: m,
6267
6323
  autoRotateCarousel: u,
6268
6324
  carouselSpeed: a,
6269
6325
  logoUrl: r,
6270
- onSelectSystem: z,
6271
- onBackgroundClick: H,
6272
- onComponentClick: ae,
6273
- onCloseDrill: le,
6274
- selectedSystemStatus: U,
6275
- selectedSystemDbSync: se,
6276
- selectedSystemMetrics: Ie,
6277
- selectedSystemAlerts: Oe,
6278
- children: Q
6326
+ onSelectSystem: M,
6327
+ onBackgroundClick: K,
6328
+ onComponentClick: Z,
6329
+ onComponentUpdate: ye,
6330
+ onCloseDrill: me,
6331
+ selectedSystemStatus: Fe,
6332
+ selectedSystemDbSync: J,
6333
+ selectedSystemMetrics: z,
6334
+ selectedSystemAlerts: de,
6335
+ children: ne
6279
6336
  }
6280
6337
  )
6281
6338
  }
6282
6339
  )
6283
6340
  ] });
6284
6341
  }
6285
- function E(t, n, o = 24) {
6342
+ function P(t, n, o = 24) {
6286
6343
  return Array.from({ length: o }, (i, r) => {
6287
6344
  const a = r / o;
6288
6345
  return Math.min(100, Math.max(0, t + Math.sin(a * Math.PI * 2) * n + (Math.random() - 0.5) * 10));
6289
6346
  });
6290
6347
  }
6291
- function kt(t) {
6348
+ function Mt(t) {
6292
6349
  return t === "critical" || t === "offline" ? "#ff2255" : t === "warning" ? "#ff8c00" : "#00e5ff";
6293
6350
  }
6294
- function Pe(t, n, o) {
6295
- const i = t === "online" ? "online" : t, r = kt(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";
6351
+ function Ne(t, n, o) {
6352
+ const i = t === "online" ? "online" : t, r = Mt(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", d = i === "critical" && n === "APP-03" ? "critical" : "online", p = i === "offline" ? "offline" : "online";
6296
6353
  return [
6297
- { id: "cpu-0", label: "CPU-0", status: l, detail: i === "critical" ? "Core overload" : i === "warning" ? "Load spike" : void 0, element: /* @__PURE__ */ e(ze, { color: r, label: "CPU-0", status: l, load: a }) },
6298
- { id: "cpu-1", label: "CPU-1", status: "online", element: /* @__PURE__ */ e(ze, { color: r, label: "CPU-1", status: "online", load: a * 0.7 }) },
6299
- { id: "heap-0", label: "HEAP-0", status: h, detail: h === "warning" ? "Memory heap usage" : h === "critical" ? "OOM risk" : void 0, element: /* @__PURE__ */ e(Be, { color: "#8855ee", label: "HEAP-0", status: h, usedPercent: s }) },
6300
- { id: "heap-1", label: "HEAP-1", status: "online", element: /* @__PURE__ */ e(Be, { color: "#8855ee", label: "HEAP-1", status: "online", usedPercent: s * 0.85 }) },
6301
- { id: "drive-1", label: "DRIVE-1", status: "online", element: /* @__PURE__ */ e(Re, { color: r, label: "DRIVE-1", status: "online", activity: !0 }) },
6302
- { id: "drive-2", label: "DRIVE-2", status: "online", element: /* @__PURE__ */ e(Re, { color: r, label: "DRIVE-2", status: "online", activity: a > 30 }) },
6303
- { id: "drive-3", label: "DRIVE-3", status: "online", element: /* @__PURE__ */ e(Re, { color: r, label: "DRIVE-3", status: "online", activity: a > 50 }) },
6304
- { id: "thread-pool", label: "THREAD-POOL", status: c, detail: c === "critical" ? "Thread exhaustion" : void 0, element: /* @__PURE__ */ e(M, { color: r, label: "THREAD-POOL", status: c }) },
6305
- { id: "network", label: "NET", status: p, element: /* @__PURE__ */ e($t, { color: r, label: "NET", status: p }) }
6354
+ { id: "cpu-0", label: "CPU-0", status: l, detail: i === "critical" ? "Core overload" : i === "warning" ? "Load spike" : void 0, element: /* @__PURE__ */ e(Ke, { color: r, label: "CPU-0", status: l, load: a }) },
6355
+ { id: "cpu-1", label: "CPU-1", status: "online", element: /* @__PURE__ */ e(Ke, { color: r, label: "CPU-1", status: "online", load: a * 0.7 }) },
6356
+ { id: "heap-0", label: "HEAP-0", status: h, detail: h === "warning" ? "Memory heap usage" : h === "critical" ? "OOM risk" : void 0, element: /* @__PURE__ */ e(Ze, { color: "#8855ee", label: "HEAP-0", status: h, usedPercent: s }) },
6357
+ { id: "heap-1", label: "HEAP-1", status: "online", element: /* @__PURE__ */ e(Ze, { color: "#8855ee", label: "HEAP-1", status: "online", usedPercent: s * 0.85 }) },
6358
+ { id: "drive-1", label: "DRIVE-1", status: "online", element: /* @__PURE__ */ e(De, { color: r, label: "DRIVE-1", status: "online", activity: !0 }) },
6359
+ { id: "drive-2", label: "DRIVE-2", status: "online", element: /* @__PURE__ */ e(De, { color: r, label: "DRIVE-2", status: "online", activity: a > 30 }) },
6360
+ { id: "drive-3", label: "DRIVE-3", status: "online", element: /* @__PURE__ */ e(De, { color: r, label: "DRIVE-3", status: "online", activity: a > 50 }) },
6361
+ { id: "thread-pool", label: "THREAD-POOL", status: d, detail: d === "critical" ? "Thread exhaustion" : void 0, element: /* @__PURE__ */ e(W, { color: r, label: "THREAD-POOL", status: d }) },
6362
+ { id: "network", label: "NET", status: p, element: /* @__PURE__ */ e(Wt, { color: r, label: "NET", status: p }) }
6306
6363
  ];
6307
6364
  }
6308
- function Ce(t) {
6365
+ function We(t) {
6309
6366
  const n = t?.cpuLoad ?? 50, o = t?.memLoad ?? 60;
6310
6367
  return [
6311
- { id: "cpu", label: "CPU-0", unit: "%", color: "#00e5ff", data: E(n, 15) },
6312
- { id: "cpu1", label: "CPU-1", unit: "%", color: "#00e5ff", data: E(n * 0.7, 12) },
6313
- { id: "heap0", label: "HEAP-0", unit: "%", color: "#8855ee", data: E(o, 18) },
6314
- { id: "heap1", label: "HEAP-1", unit: "%", color: "#8855ee", data: E(o * 0.85, 14) },
6315
- { id: "drive1", label: "DRIVE-1 I/O", unit: "%", color: "#ff8c00", data: E(40, 25) },
6316
- { id: "drive2", label: "DRIVE-2 I/O", unit: "%", color: "#ff8c00", data: E(35, 20) },
6317
- { id: "drive3", label: "DRIVE-3 I/O", unit: "%", color: "#ff8c00", data: E(30, 22) },
6318
- { id: "thread", label: "THREAD-POOL", unit: "%", color: "#22aaff", data: E(55, 20) }
6368
+ { id: "cpu", label: "CPU-0", unit: "%", color: "#00e5ff", data: P(n, 15) },
6369
+ { id: "cpu1", label: "CPU-1", unit: "%", color: "#00e5ff", data: P(n * 0.7, 12) },
6370
+ { id: "heap0", label: "HEAP-0", unit: "%", color: "#8855ee", data: P(o, 18) },
6371
+ { id: "heap1", label: "HEAP-1", unit: "%", color: "#8855ee", data: P(o * 0.85, 14) },
6372
+ { id: "drive1", label: "DRIVE-1 I/O", unit: "%", color: "#ff8c00", data: P(40, 25) },
6373
+ { id: "drive2", label: "DRIVE-2 I/O", unit: "%", color: "#ff8c00", data: P(35, 20) },
6374
+ { id: "drive3", label: "DRIVE-3 I/O", unit: "%", color: "#ff8c00", data: P(30, 22) },
6375
+ { id: "thread", label: "THREAD-POOL", unit: "%", color: "#22aaff", data: P(55, 20) }
6319
6376
  ];
6320
6377
  }
6321
- function Rt(t, n, o) {
6322
- const i = t === "online" ? "online" : t, r = kt(t), a = i === "critical" || i === "offline" ? i : "online", s = i === "warning" ? "warning" : "online", l = i === "critical" ? "critical" : "online";
6378
+ function zt(t, n, o) {
6379
+ const i = t === "online" ? "online" : t, r = Mt(t), a = i === "critical" || i === "offline" ? i : "online", s = i === "warning" ? "warning" : "online", l = i === "critical" ? "critical" : "online";
6323
6380
  return [
6324
- { id: "port-1", label: "PORT-1", status: "online", element: /* @__PURE__ */ e(F, { color: r, label: "PORT-1", status: "online" }) },
6325
- { id: "port-2", label: "PORT-2", status: "online", element: /* @__PURE__ */ e(F, { color: r, label: "PORT-2", status: "online" }) },
6326
- { id: "port-3", label: "PORT-3", status: a, detail: i === "critical" ? "Gateway timeout" : i === "offline" ? "Unreachable" : void 0, element: /* @__PURE__ */ e(F, { color: r, label: "PORT-3", status: a }) },
6327
- { id: "port-4", label: "PORT-4", status: "online", element: /* @__PURE__ */ e(F, { color: r, label: "PORT-4", status: "online" }) },
6328
- { id: "port-5", label: "PORT-5", status: s, detail: s === "warning" ? "Latency spike" : void 0, element: /* @__PURE__ */ e(F, { color: r, label: "PORT-5", status: s }) },
6329
- { id: "port-6", label: "PORT-6", status: "online", element: /* @__PURE__ */ e(F, { color: r, label: "PORT-6", status: "online" }) },
6330
- { id: "port-7", label: "PORT-7", status: "online", element: /* @__PURE__ */ e(F, { color: r, label: "PORT-7", status: "online" }) },
6331
- { id: "port-8", label: "PORT-8", status: "online", element: /* @__PURE__ */ e(F, { color: r, label: "PORT-8", status: "online" }) },
6332
- { id: "http-worker", label: "HTTP-WORKER", status: l, detail: l === "critical" ? "Worker timeout" : void 0, element: /* @__PURE__ */ e(M, { color: r, label: "HTTP-WORKER", status: l }) },
6333
- { id: "https-worker", label: "HTTPS-WORKER", status: "online", element: /* @__PURE__ */ e(M, { color: "#bb55ff", label: "HTTPS-WORKER", status: "online" }) }
6381
+ { id: "port-1", label: "PORT-1", status: "online", element: /* @__PURE__ */ e(Y, { color: r, label: "PORT-1", status: "online" }) },
6382
+ { id: "port-2", label: "PORT-2", status: "online", element: /* @__PURE__ */ e(Y, { color: r, label: "PORT-2", status: "online" }) },
6383
+ { id: "port-3", label: "PORT-3", status: a, detail: i === "critical" ? "Gateway timeout" : i === "offline" ? "Unreachable" : void 0, element: /* @__PURE__ */ e(Y, { color: r, label: "PORT-3", status: a }) },
6384
+ { id: "port-4", label: "PORT-4", status: "online", element: /* @__PURE__ */ e(Y, { color: r, label: "PORT-4", status: "online" }) },
6385
+ { id: "port-5", label: "PORT-5", status: s, detail: s === "warning" ? "Latency spike" : void 0, element: /* @__PURE__ */ e(Y, { color: r, label: "PORT-5", status: s }) },
6386
+ { id: "port-6", label: "PORT-6", status: "online", element: /* @__PURE__ */ e(Y, { color: r, label: "PORT-6", status: "online" }) },
6387
+ { id: "port-7", label: "PORT-7", status: "online", element: /* @__PURE__ */ e(Y, { color: r, label: "PORT-7", status: "online" }) },
6388
+ { id: "port-8", label: "PORT-8", status: "online", element: /* @__PURE__ */ e(Y, { color: r, label: "PORT-8", status: "online" }) },
6389
+ { id: "http-worker", label: "HTTP-WORKER", status: l, detail: l === "critical" ? "Worker timeout" : void 0, element: /* @__PURE__ */ e(W, { color: r, label: "HTTP-WORKER", status: l }) },
6390
+ { id: "https-worker", label: "HTTPS-WORKER", status: "online", element: /* @__PURE__ */ e(W, { color: "#bb55ff", label: "HTTPS-WORKER", status: "online" }) }
6334
6391
  ];
6335
6392
  }
6336
- function Pt(t) {
6393
+ function Bt(t) {
6337
6394
  const n = t?.traffic ?? 50;
6338
6395
  return [
6339
- { id: "traffic", label: "TRAFFIC", unit: "%", color: "#00e5ff", data: E(n, 20) },
6340
- { id: "port1", label: "PORT-1", unit: "kbps", color: "#22aaff", data: E(60, 25) },
6341
- { id: "port2", label: "PORT-2", unit: "kbps", color: "#22aaff", data: E(45, 20) },
6342
- { id: "port3", label: "PORT-3", unit: "kbps", color: "#22aaff", data: E(70, 30) },
6343
- { id: "worker", label: "WORKER", unit: "%", color: "#bb55ff", data: E(n * 0.9, 15) }
6396
+ { id: "traffic", label: "TRAFFIC", unit: "%", color: "#00e5ff", data: P(n, 20) },
6397
+ { id: "port1", label: "PORT-1", unit: "kbps", color: "#22aaff", data: P(60, 25) },
6398
+ { id: "port2", label: "PORT-2", unit: "kbps", color: "#22aaff", data: P(45, 20) },
6399
+ { id: "port3", label: "PORT-3", unit: "kbps", color: "#22aaff", data: P(70, 30) },
6400
+ { id: "worker", label: "WORKER", unit: "%", color: "#bb55ff", data: P(n * 0.9, 15) }
6344
6401
  ];
6345
6402
  }
6346
- function gi(t, n, o) {
6403
+ function $i(t, n, o) {
6347
6404
  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";
6348
6405
  return [
6349
- { id: "inst-0", label: "INST-0", status: "online", element: /* @__PURE__ */ e(F, { color: "#bb55ff", label: "INST-0", status: "online" }) },
6350
- { id: "inst-1", label: "INST-1", status: "online", element: /* @__PURE__ */ e(F, { color: "#bb55ff", label: "INST-1", status: "online" }) },
6351
- { id: "inst-2", label: "INST-2", status: r, detail: r === "critical" ? "Instance unreachable" : void 0, element: /* @__PURE__ */ e(F, { color: "#bb55ff", label: "INST-2", status: r }) },
6352
- { 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(M, { color: "#bb55ff", label: "QUEUE-0", status: a }) },
6353
- { id: "worker-1", label: "WORKER-1", status: "online", element: /* @__PURE__ */ e(M, { color: "#bb55ff", label: "WORKER-1", status: "online" }) },
6354
- { id: "worker-2", label: "WORKER-2", status: "online", element: /* @__PURE__ */ e(M, { color: "#bb55ff", label: "WORKER-2", status: "online" }) },
6355
- { id: "worker-3", label: "WORKER-3", status: s, detail: s === "critical" ? "Worker timeout" : void 0, element: /* @__PURE__ */ e(M, { color: "#bb55ff", label: "WORKER-3", status: s }) }
6406
+ { id: "inst-0", label: "INST-0", status: "online", element: /* @__PURE__ */ e(Y, { color: "#bb55ff", label: "INST-0", status: "online" }) },
6407
+ { id: "inst-1", label: "INST-1", status: "online", element: /* @__PURE__ */ e(Y, { color: "#bb55ff", label: "INST-1", status: "online" }) },
6408
+ { id: "inst-2", label: "INST-2", status: r, detail: r === "critical" ? "Instance unreachable" : void 0, element: /* @__PURE__ */ e(Y, { color: "#bb55ff", label: "INST-2", status: r }) },
6409
+ { 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(W, { color: "#bb55ff", label: "QUEUE-0", status: a }) },
6410
+ { id: "worker-1", label: "WORKER-1", status: "online", element: /* @__PURE__ */ e(W, { color: "#bb55ff", label: "WORKER-1", status: "online" }) },
6411
+ { id: "worker-2", label: "WORKER-2", status: "online", element: /* @__PURE__ */ e(W, { color: "#bb55ff", label: "WORKER-2", status: "online" }) },
6412
+ { id: "worker-3", label: "WORKER-3", status: s, detail: s === "critical" ? "Worker timeout" : void 0, element: /* @__PURE__ */ e(W, { color: "#bb55ff", label: "WORKER-3", status: s }) }
6356
6413
  ];
6357
6414
  }
6358
- function yi(t) {
6415
+ function ki(t) {
6359
6416
  const n = t?.queueDepth ?? 50;
6360
6417
  return [
6361
- { id: "traffic", label: "TRAFFIC", unit: "%", color: "#00e5ff", data: E(n, 20) },
6362
- { id: "port1", label: "PORT-1", unit: "kbps", color: "#22aaff", data: E(60, 25) },
6363
- { id: "port2", label: "PORT-2", unit: "kbps", color: "#22aaff", data: E(45, 20) },
6364
- { id: "port3", label: "PORT-3", unit: "kbps", color: "#22aaff", data: E(70, 30) },
6365
- { id: "worker", label: "WORKER", unit: "%", color: "#bb55ff", data: E(n * 0.9, 15) }
6418
+ { id: "traffic", label: "TRAFFIC", unit: "%", color: "#00e5ff", data: P(n, 20) },
6419
+ { id: "port1", label: "PORT-1", unit: "kbps", color: "#22aaff", data: P(60, 25) },
6420
+ { id: "port2", label: "PORT-2", unit: "kbps", color: "#22aaff", data: P(45, 20) },
6421
+ { id: "port3", label: "PORT-3", unit: "kbps", color: "#22aaff", data: P(70, 30) },
6422
+ { id: "worker", label: "WORKER", unit: "%", color: "#bb55ff", data: P(n * 0.9, 15) }
6366
6423
  ];
6367
6424
  }
6368
- function Fe(t, n, o) {
6369
- 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";
6425
+ function Je(t, n, o) {
6426
+ 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", d = i === "warning" ? "warning" : "online";
6370
6427
  return [
6371
- { id: "platter-0", label: "PLATTER-0", status: "online", element: /* @__PURE__ */ e(Me, { color: r, label: "PLATTER-0", status: "online", capacityPercent: a }) },
6372
- { 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(Me, { color: r, label: "PLATTER-1", status: s, capacityPercent: a }) },
6373
- { id: "platter-2", label: "PLATTER-2", status: l, detail: l === "warning" ? "Replication lag" : void 0, element: /* @__PURE__ */ e(Me, { color: r, label: "PLATTER-2", status: l, capacityPercent: a }) },
6374
- { id: "conn-pool", label: "CONN-POOL", status: h, detail: h === "critical" ? "Pool exhausted" : void 0, element: /* @__PURE__ */ e(M, { color: r, label: "CONN-POOL", status: h }) },
6375
- { id: "query-cache", label: "QUERY-CACHE", status: c, detail: c === "warning" ? "Cache miss rate" : void 0, element: /* @__PURE__ */ e(M, { color: "#00ff88", label: "QUERY-CACHE", status: c }) }
6428
+ { id: "platter-0", label: "PLATTER-0", status: "online", element: /* @__PURE__ */ e(Qe, { color: r, label: "PLATTER-0", status: "online", capacityPercent: a }) },
6429
+ { 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(Qe, { color: r, label: "PLATTER-1", status: s, capacityPercent: a }) },
6430
+ { id: "platter-2", label: "PLATTER-2", status: l, detail: l === "warning" ? "Replication lag" : void 0, element: /* @__PURE__ */ e(Qe, { color: r, label: "PLATTER-2", status: l, capacityPercent: a }) },
6431
+ { id: "conn-pool", label: "CONN-POOL", status: h, detail: h === "critical" ? "Pool exhausted" : void 0, element: /* @__PURE__ */ e(W, { color: r, label: "CONN-POOL", status: h }) },
6432
+ { id: "query-cache", label: "QUERY-CACHE", status: d, detail: d === "warning" ? "Cache miss rate" : void 0, element: /* @__PURE__ */ e(W, { color: "#00ff88", label: "QUERY-CACHE", status: d }) }
6376
6433
  ];
6377
6434
  }
6378
- function He(t) {
6435
+ function et(t) {
6379
6436
  const n = t?.capacity ?? 70;
6380
6437
  return [
6381
- { id: "platter0", label: "PLATTER-0 I/O", unit: "%", color: "#ff8c00", data: E(40, 20) },
6382
- { id: "platter1", label: "PLATTER-1 I/O", unit: "%", color: "#ff8c00", data: E(55, 25) },
6383
- { id: "platter2", label: "PLATTER-2 I/O", unit: "%", color: "#ff8c00", data: E(35, 18) },
6384
- { id: "connpool", label: "CONN-POOL", unit: "%", color: "#00e5ff", data: E(n, 15) },
6385
- { id: "cache", label: "QUERY-CACHE", unit: "%", color: "#00ff88", data: E(75, 12) }
6438
+ { id: "platter0", label: "PLATTER-0 I/O", unit: "%", color: "#ff8c00", data: P(40, 20) },
6439
+ { id: "platter1", label: "PLATTER-1 I/O", unit: "%", color: "#ff8c00", data: P(55, 25) },
6440
+ { id: "platter2", label: "PLATTER-2 I/O", unit: "%", color: "#ff8c00", data: P(35, 18) },
6441
+ { id: "connpool", label: "CONN-POOL", unit: "%", color: "#00e5ff", data: P(n, 15) },
6442
+ { id: "cache", label: "QUERY-CACHE", unit: "%", color: "#00ff88", data: P(75, 12) }
6386
6443
  ];
6387
6444
  }
6388
- function at(t) {
6445
+ function vt(t) {
6389
6446
  const n = [
6390
6447
  t.wdStatus,
6391
6448
  t.msStatus,
@@ -6397,8 +6454,8 @@ function at(t) {
6397
6454
  ];
6398
6455
  return n.includes("critical") ? "critical" : n.includes("warning") ? "warning" : n.includes("offline") ? "offline" : "online";
6399
6456
  }
6400
- function zi(t) {
6401
- const n = at(t), o = n === "critical" || n === "offline", i = n === "warning";
6457
+ function _i(t) {
6458
+ const n = vt(t), o = n === "critical" || n === "offline", i = n === "warning";
6402
6459
  return [
6403
6460
  {
6404
6461
  label: "Uptime",
@@ -6419,8 +6476,8 @@ function zi(t) {
6419
6476
  }
6420
6477
  ];
6421
6478
  }
6422
- function Bi(t) {
6423
- const n = at(t), o = n === "critical" || n === "offline", i = n === "warning";
6479
+ function ji(t) {
6480
+ const n = vt(t), o = n === "critical" || n === "offline", i = n === "warning";
6424
6481
  return [
6425
6482
  ...t.dbSync ? [] : [{ level: "warning", message: "DB Replication Lag Detected" }],
6426
6483
  ...o ? [{ level: "critical", message: "Critical Component Failure" }] : [],
@@ -6428,7 +6485,7 @@ function Bi(t) {
6428
6485
  ...!o && !i && t.dbSync ? [{ level: "info", message: "All Systems Nominal" }] : []
6429
6486
  ];
6430
6487
  }
6431
- const mi = [
6488
+ const Ri = [
6432
6489
  { from: [330, 120], to: [220, 260], visibleAtPhase: 3 },
6433
6490
  { from: [330, 120], to: [440, 260], visibleAtPhase: 3 },
6434
6491
  { from: [220, 260], to: [165, 390], visibleAtPhase: 4 },
@@ -6441,11 +6498,11 @@ const mi = [
6441
6498
  { from: [330, 390], to: [200, 520], visibleAtPhase: 5, color: "#ff8c00" },
6442
6499
  { from: [495, 390], to: [200, 520], visibleAtPhase: 5, color: "#ff8c00" }
6443
6500
  ];
6444
- function xi({ config: t }) {
6445
- const n = j.useContext(ue), 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;
6446
- return /* @__PURE__ */ d(Ee, { children: [
6501
+ function Ci({ config: t }) {
6502
+ const n = q.useContext(Re), o = n?.rotateY ?? 20, i = n?.autoRotateComponents ?? !0, { wdStatus: r, msStatus: a, srv1Status: s, srv2Status: l, srv3Status: h, pdbStatus: d, sdbStatus: p, dbSync: f } = t;
6503
+ return /* @__PURE__ */ c(Me, { children: [
6447
6504
  /* @__PURE__ */ e(
6448
- A,
6505
+ E,
6449
6506
  {
6450
6507
  ex: 330,
6451
6508
  ey: 120,
@@ -6453,11 +6510,11 @@ function xi({ config: t }) {
6453
6510
  zIndex: 10,
6454
6511
  visibleAtPhase: 2,
6455
6512
  color: "#00e5ff",
6456
- children: /* @__PURE__ */ e(nt, { status: "online", scale: 1.5 })
6513
+ children: /* @__PURE__ */ e(yt, { status: "online", scale: 1.5 })
6457
6514
  }
6458
6515
  ),
6459
6516
  /* @__PURE__ */ e(
6460
- A,
6517
+ E,
6461
6518
  {
6462
6519
  ex: 220,
6463
6520
  ey: 260,
@@ -6472,11 +6529,11 @@ function xi({ config: t }) {
6472
6529
  name: "WEB-DISP",
6473
6530
  status: r,
6474
6531
  context: { traffic: 78 },
6475
- subComponents: Rt(r),
6476
- graphSeries: Pt({ traffic: 78 })
6532
+ subComponents: zt(r),
6533
+ graphSeries: Bt({ traffic: 78 })
6477
6534
  },
6478
6535
  children: /* @__PURE__ */ e(
6479
- ot,
6536
+ mt,
6480
6537
  {
6481
6538
  rotateY: o,
6482
6539
  autoRotate: i,
@@ -6490,7 +6547,7 @@ function xi({ config: t }) {
6490
6547
  }
6491
6548
  ),
6492
6549
  /* @__PURE__ */ e(
6493
- A,
6550
+ E,
6494
6551
  {
6495
6552
  ex: 440,
6496
6553
  ey: 260,
@@ -6505,11 +6562,11 @@ function xi({ config: t }) {
6505
6562
  name: "MSG-SRV",
6506
6563
  status: a,
6507
6564
  context: { queueDepth: 45 },
6508
- subComponents: gi(a),
6509
- graphSeries: yi({ queueDepth: 45 })
6565
+ subComponents: $i(a),
6566
+ graphSeries: ki({ queueDepth: 45 })
6510
6567
  },
6511
6568
  children: /* @__PURE__ */ e(
6512
- wt,
6569
+ Dt,
6513
6570
  {
6514
6571
  rotateY: -o,
6515
6572
  autoRotate: i,
@@ -6524,7 +6581,7 @@ function xi({ config: t }) {
6524
6581
  }
6525
6582
  ),
6526
6583
  /* @__PURE__ */ e(
6527
- A,
6584
+ E,
6528
6585
  {
6529
6586
  ex: 165,
6530
6587
  ey: 390,
@@ -6539,11 +6596,11 @@ function xi({ config: t }) {
6539
6596
  name: "APP-01",
6540
6597
  status: s,
6541
6598
  context: { cpuLoad: 67, memLoad: 72 },
6542
- subComponents: Pe(s, "APP-01", { cpuLoad: 67, memLoad: 72 }),
6543
- graphSeries: Ce({ cpuLoad: 67, memLoad: 72 })
6599
+ subComponents: Ne(s, "APP-01", { cpuLoad: 67, memLoad: 72 }),
6600
+ graphSeries: We({ cpuLoad: 67, memLoad: 72 })
6544
6601
  },
6545
6602
  children: /* @__PURE__ */ e(
6546
- he,
6603
+ $e,
6547
6604
  {
6548
6605
  rotateY: o,
6549
6606
  autoRotate: i,
@@ -6557,7 +6614,7 @@ function xi({ config: t }) {
6557
6614
  }
6558
6615
  ),
6559
6616
  /* @__PURE__ */ e(
6560
- A,
6617
+ E,
6561
6618
  {
6562
6619
  ex: 330,
6563
6620
  ey: 390,
@@ -6572,11 +6629,11 @@ function xi({ config: t }) {
6572
6629
  name: "APP-02",
6573
6630
  status: l,
6574
6631
  context: { cpuLoad: 89, memLoad: 91 },
6575
- subComponents: Pe(l, "APP-02", { cpuLoad: 89, memLoad: 91 }),
6576
- graphSeries: Ce({ cpuLoad: 89, memLoad: 91 })
6632
+ subComponents: Ne(l, "APP-02", { cpuLoad: 89, memLoad: 91 }),
6633
+ graphSeries: We({ cpuLoad: 89, memLoad: 91 })
6577
6634
  },
6578
6635
  children: /* @__PURE__ */ e(
6579
- he,
6636
+ $e,
6580
6637
  {
6581
6638
  rotateY: o,
6582
6639
  autoRotate: i,
@@ -6590,7 +6647,7 @@ function xi({ config: t }) {
6590
6647
  }
6591
6648
  ),
6592
6649
  /* @__PURE__ */ e(
6593
- A,
6650
+ E,
6594
6651
  {
6595
6652
  ex: 495,
6596
6653
  ey: 390,
@@ -6605,11 +6662,11 @@ function xi({ config: t }) {
6605
6662
  name: "APP-03",
6606
6663
  status: h,
6607
6664
  context: { cpuLoad: 45, memLoad: 63 },
6608
- subComponents: Pe(h, "APP-03", { cpuLoad: 45, memLoad: 63 }),
6609
- graphSeries: Ce({ cpuLoad: 45, memLoad: 63 })
6665
+ subComponents: Ne(h, "APP-03", { cpuLoad: 45, memLoad: 63 }),
6666
+ graphSeries: We({ cpuLoad: 45, memLoad: 63 })
6610
6667
  },
6611
6668
  children: /* @__PURE__ */ e(
6612
- he,
6669
+ $e,
6613
6670
  {
6614
6671
  rotateY: o,
6615
6672
  autoRotate: i,
@@ -6623,7 +6680,7 @@ function xi({ config: t }) {
6623
6680
  }
6624
6681
  ),
6625
6682
  /* @__PURE__ */ e(
6626
- A,
6683
+ E,
6627
6684
  {
6628
6685
  ex: 200,
6629
6686
  ey: 520,
@@ -6636,17 +6693,17 @@ function xi({ config: t }) {
6636
6693
  componentInfo: {
6637
6694
  type: "database",
6638
6695
  name: "DB-PRI",
6639
- status: c,
6696
+ status: d,
6640
6697
  context: { capacity: 72 },
6641
- subComponents: Fe(c, "DB-PRI", { capacity: 72 }),
6642
- graphSeries: He({ capacity: 72 })
6698
+ subComponents: Je(d, "DB-PRI", { capacity: 72 }),
6699
+ graphSeries: et({ capacity: 72 })
6643
6700
  },
6644
6701
  children: /* @__PURE__ */ e(
6645
- Ne,
6702
+ Ue,
6646
6703
  {
6647
6704
  rotateY: -o,
6648
6705
  autoRotate: i,
6649
- status: c,
6706
+ status: d,
6650
6707
  name: "DB-PRI",
6651
6708
  capacity: 72,
6652
6709
  connections: 284,
@@ -6656,7 +6713,7 @@ function xi({ config: t }) {
6656
6713
  }
6657
6714
  ),
6658
6715
  /* @__PURE__ */ e(
6659
- A,
6716
+ E,
6660
6717
  {
6661
6718
  ex: 460,
6662
6719
  ey: 520,
@@ -6671,11 +6728,11 @@ function xi({ config: t }) {
6671
6728
  name: "DB-STB",
6672
6729
  status: p,
6673
6730
  context: { capacity: 72 },
6674
- subComponents: Fe(p, "DB-STB", { capacity: 72 }),
6675
- graphSeries: He({ capacity: 72 })
6731
+ subComponents: Je(p, "DB-STB", { capacity: 72 }),
6732
+ graphSeries: et({ capacity: 72 })
6676
6733
  },
6677
6734
  children: /* @__PURE__ */ e(
6678
- Ne,
6735
+ Ue,
6679
6736
  {
6680
6737
  rotateY: o,
6681
6738
  autoRotate: i,
@@ -6689,7 +6746,7 @@ function xi({ config: t }) {
6689
6746
  }
6690
6747
  ),
6691
6748
  /* @__PURE__ */ e(
6692
- A,
6749
+ E,
6693
6750
  {
6694
6751
  ex: 330,
6695
6752
  ey: 520,
@@ -6698,17 +6755,17 @@ function xi({ config: t }) {
6698
6755
  visibleAtPhase: 6,
6699
6756
  fixedScale: 1,
6700
6757
  bare: !0,
6701
- children: /* @__PURE__ */ e(vt, { synced: f, latencyMs: f ? 8 : 342 })
6758
+ children: /* @__PURE__ */ e(It, { synced: f, latencyMs: f ? 8 : 342 })
6702
6759
  }
6703
6760
  ),
6704
- /* @__PURE__ */ e(vi, { config: t })
6761
+ /* @__PURE__ */ e(Pi, { config: t })
6705
6762
  ] });
6706
6763
  }
6707
- function vi({ config: t }) {
6708
- const n = j.useContext(ue), { wdStatus: o, msStatus: i, srv1Status: r, srv2Status: a, srv3Status: s, pdbStatus: l, sdbStatus: h, dbSync: c } = t, p = n?.isSelected && n?.isExpandedPos;
6709
- return n?.isSelected ? /* @__PURE__ */ d("div", { style: { pointerEvents: "none" }, children: [
6764
+ function Pi({ config: t }) {
6765
+ const n = q.useContext(Re), { wdStatus: o, msStatus: i, srv1Status: r, srv2Status: a, srv3Status: s, pdbStatus: l, sdbStatus: h, dbSync: d } = t, p = n?.isSelected && n?.isExpandedPos;
6766
+ return n?.isSelected ? /* @__PURE__ */ c("div", { style: { pointerEvents: "none" }, children: [
6710
6767
  /* @__PURE__ */ e(
6711
- W,
6768
+ N,
6712
6769
  {
6713
6770
  ex: 220,
6714
6771
  ey: 260,
@@ -6723,7 +6780,7 @@ function vi({ config: t }) {
6723
6780
  }
6724
6781
  ),
6725
6782
  /* @__PURE__ */ e(
6726
- W,
6783
+ N,
6727
6784
  {
6728
6785
  ex: 440,
6729
6786
  ey: 260,
@@ -6738,7 +6795,7 @@ function vi({ config: t }) {
6738
6795
  }
6739
6796
  ),
6740
6797
  /* @__PURE__ */ e(
6741
- W,
6798
+ N,
6742
6799
  {
6743
6800
  ex: 165,
6744
6801
  ey: 390,
@@ -6753,7 +6810,7 @@ function vi({ config: t }) {
6753
6810
  }
6754
6811
  ),
6755
6812
  /* @__PURE__ */ e(
6756
- W,
6813
+ N,
6757
6814
  {
6758
6815
  ex: 330,
6759
6816
  ey: 390,
@@ -6768,7 +6825,7 @@ function vi({ config: t }) {
6768
6825
  }
6769
6826
  ),
6770
6827
  /* @__PURE__ */ e(
6771
- W,
6828
+ N,
6772
6829
  {
6773
6830
  ex: 495,
6774
6831
  ey: 390,
@@ -6783,7 +6840,7 @@ function vi({ config: t }) {
6783
6840
  }
6784
6841
  ),
6785
6842
  /* @__PURE__ */ e(
6786
- W,
6843
+ N,
6787
6844
  {
6788
6845
  ex: 200,
6789
6846
  ey: 520,
@@ -6798,7 +6855,7 @@ function vi({ config: t }) {
6798
6855
  }
6799
6856
  ),
6800
6857
  /* @__PURE__ */ e(
6801
- W,
6858
+ N,
6802
6859
  {
6803
6860
  ex: 460,
6804
6861
  ey: 520,
@@ -6812,8 +6869,8 @@ function vi({ config: t }) {
6812
6869
  internalRef: h !== "online" ? "PLATTER-2" : void 0
6813
6870
  }
6814
6871
  ),
6815
- !c && /* @__PURE__ */ e(
6816
- W,
6872
+ !d && /* @__PURE__ */ e(
6873
+ N,
6817
6874
  {
6818
6875
  ex: 330,
6819
6876
  ey: 520,
@@ -6829,19 +6886,19 @@ function vi({ config: t }) {
6829
6886
  )
6830
6887
  ] }) : null;
6831
6888
  }
6832
- function Fi({ config: t, ...n }) {
6889
+ function Xi({ config: t, ...n }) {
6833
6890
  return /* @__PURE__ */ e(
6834
- xt,
6891
+ Lt,
6835
6892
  {
6836
6893
  name: t.name,
6837
- status: at(t),
6838
- connections: mi,
6894
+ status: vt(t),
6895
+ connections: Ri,
6839
6896
  ...n,
6840
- children: /* @__PURE__ */ e(xi, { config: t })
6897
+ children: /* @__PURE__ */ e(Ci, { config: t })
6841
6898
  }
6842
6899
  );
6843
6900
  }
6844
- function lt(t) {
6901
+ function wt(t) {
6845
6902
  const n = [
6846
6903
  t.dispStatus,
6847
6904
  t.srv1Status,
@@ -6852,8 +6909,8 @@ function lt(t) {
6852
6909
  ];
6853
6910
  return n.includes("critical") ? "critical" : n.includes("warning") ? "warning" : n.includes("offline") ? "offline" : "online";
6854
6911
  }
6855
- function Hi(t) {
6856
- const n = lt(t), o = n === "critical" || n === "offline", i = n === "warning";
6912
+ function qi(t) {
6913
+ const n = wt(t), o = n === "critical" || n === "offline", i = n === "warning";
6857
6914
  return [
6858
6915
  {
6859
6916
  label: "Uptime",
@@ -6874,8 +6931,8 @@ function Hi(t) {
6874
6931
  }
6875
6932
  ];
6876
6933
  }
6877
- function Ui(t) {
6878
- const n = lt(t), o = n === "critical" || n === "offline", i = n === "warning";
6934
+ function Qi(t) {
6935
+ const n = wt(t), o = n === "critical" || n === "offline", i = n === "warning";
6879
6936
  return [
6880
6937
  ...t.dbSync ? [] : [{ level: "warning", message: "DB Replication Lag Detected" }],
6881
6938
  ...o ? [{ level: "critical", message: "Critical Component Failure" }] : [],
@@ -6883,7 +6940,7 @@ function Ui(t) {
6883
6940
  ...!o && !i && t.dbSync ? [{ level: "info", message: "All Systems Nominal" }] : []
6884
6941
  ];
6885
6942
  }
6886
- const wi = [
6943
+ const Ei = [
6887
6944
  { from: [330, 120], to: [330, 260], visibleAtPhase: 3 },
6888
6945
  { from: [330, 260], to: [165, 390], visibleAtPhase: 4 },
6889
6946
  { from: [330, 260], to: [330, 390], visibleAtPhase: 4 },
@@ -6892,11 +6949,11 @@ const wi = [
6892
6949
  { from: [330, 390], to: [200, 520], visibleAtPhase: 5, color: "#ff8c00" },
6893
6950
  { from: [495, 390], to: [200, 520], visibleAtPhase: 5, color: "#ff8c00" }
6894
6951
  ];
6895
- function Si({ config: t }) {
6896
- const n = j.useContext(ue), o = n?.rotateY ?? 20, i = n?.autoRotateComponents ?? !0, { dispStatus: r, srv1Status: a, srv2Status: s, srv3Status: l, pdbStatus: h, sdbStatus: c, dbSync: p } = t;
6897
- return /* @__PURE__ */ d(Ee, { children: [
6952
+ function Ai({ config: t }) {
6953
+ const n = q.useContext(Re), o = n?.rotateY ?? 20, i = n?.autoRotateComponents ?? !0, { dispStatus: r, srv1Status: a, srv2Status: s, srv3Status: l, pdbStatus: h, sdbStatus: d, dbSync: p } = t;
6954
+ return /* @__PURE__ */ c(Me, { children: [
6898
6955
  /* @__PURE__ */ e(
6899
- A,
6956
+ E,
6900
6957
  {
6901
6958
  ex: 330,
6902
6959
  ey: 120,
@@ -6904,11 +6961,11 @@ function Si({ config: t }) {
6904
6961
  zIndex: 10,
6905
6962
  visibleAtPhase: 2,
6906
6963
  color: "#00e5ff",
6907
- children: /* @__PURE__ */ e(nt, { status: "online", scale: 1.5 })
6964
+ children: /* @__PURE__ */ e(yt, { status: "online", scale: 1.5 })
6908
6965
  }
6909
6966
  ),
6910
6967
  /* @__PURE__ */ e(
6911
- A,
6968
+ E,
6912
6969
  {
6913
6970
  ex: 330,
6914
6971
  ey: 260,
@@ -6923,11 +6980,11 @@ function Si({ config: t }) {
6923
6980
  name: "DISP-01",
6924
6981
  status: r,
6925
6982
  context: { traffic: 78 },
6926
- subComponents: Rt(r),
6927
- graphSeries: Pt({ traffic: 78 })
6983
+ subComponents: zt(r),
6984
+ graphSeries: Bt({ traffic: 78 })
6928
6985
  },
6929
6986
  children: /* @__PURE__ */ e(
6930
- ot,
6987
+ mt,
6931
6988
  {
6932
6989
  rotateY: o,
6933
6990
  autoRotate: i,
@@ -6941,7 +6998,7 @@ function Si({ config: t }) {
6941
6998
  }
6942
6999
  ),
6943
7000
  /* @__PURE__ */ e(
6944
- A,
7001
+ E,
6945
7002
  {
6946
7003
  ex: 165,
6947
7004
  ey: 390,
@@ -6956,11 +7013,11 @@ function Si({ config: t }) {
6956
7013
  name: "APP-01",
6957
7014
  status: a,
6958
7015
  context: { cpuLoad: 67, memLoad: 72 },
6959
- subComponents: Pe(a, "APP-01", { cpuLoad: 67, memLoad: 72 }),
6960
- graphSeries: Ce({ cpuLoad: 67, memLoad: 72 })
7016
+ subComponents: Ne(a, "APP-01", { cpuLoad: 67, memLoad: 72 }),
7017
+ graphSeries: We({ cpuLoad: 67, memLoad: 72 })
6961
7018
  },
6962
7019
  children: /* @__PURE__ */ e(
6963
- he,
7020
+ $e,
6964
7021
  {
6965
7022
  rotateY: o,
6966
7023
  autoRotate: i,
@@ -6974,7 +7031,7 @@ function Si({ config: t }) {
6974
7031
  }
6975
7032
  ),
6976
7033
  /* @__PURE__ */ e(
6977
- A,
7034
+ E,
6978
7035
  {
6979
7036
  ex: 330,
6980
7037
  ey: 390,
@@ -6989,11 +7046,11 @@ function Si({ config: t }) {
6989
7046
  name: "APP-02",
6990
7047
  status: s,
6991
7048
  context: { cpuLoad: 89, memLoad: 91 },
6992
- subComponents: Pe(s, "APP-02", { cpuLoad: 89, memLoad: 91 }),
6993
- graphSeries: Ce({ cpuLoad: 89, memLoad: 91 })
7049
+ subComponents: Ne(s, "APP-02", { cpuLoad: 89, memLoad: 91 }),
7050
+ graphSeries: We({ cpuLoad: 89, memLoad: 91 })
6994
7051
  },
6995
7052
  children: /* @__PURE__ */ e(
6996
- he,
7053
+ $e,
6997
7054
  {
6998
7055
  rotateY: o,
6999
7056
  autoRotate: i,
@@ -7007,7 +7064,7 @@ function Si({ config: t }) {
7007
7064
  }
7008
7065
  ),
7009
7066
  /* @__PURE__ */ e(
7010
- A,
7067
+ E,
7011
7068
  {
7012
7069
  ex: 495,
7013
7070
  ey: 390,
@@ -7022,11 +7079,11 @@ function Si({ config: t }) {
7022
7079
  name: "APP-03",
7023
7080
  status: l,
7024
7081
  context: { cpuLoad: 45, memLoad: 63 },
7025
- subComponents: Pe(l, "APP-03", { cpuLoad: 45, memLoad: 63 }),
7026
- graphSeries: Ce({ cpuLoad: 45, memLoad: 63 })
7082
+ subComponents: Ne(l, "APP-03", { cpuLoad: 45, memLoad: 63 }),
7083
+ graphSeries: We({ cpuLoad: 45, memLoad: 63 })
7027
7084
  },
7028
7085
  children: /* @__PURE__ */ e(
7029
- he,
7086
+ $e,
7030
7087
  {
7031
7088
  rotateY: o,
7032
7089
  autoRotate: i,
@@ -7040,7 +7097,7 @@ function Si({ config: t }) {
7040
7097
  }
7041
7098
  ),
7042
7099
  /* @__PURE__ */ e(
7043
- A,
7100
+ E,
7044
7101
  {
7045
7102
  ex: 200,
7046
7103
  ey: 520,
@@ -7055,11 +7112,11 @@ function Si({ config: t }) {
7055
7112
  name: "DB-PRI",
7056
7113
  status: h,
7057
7114
  context: { capacity: 72 },
7058
- subComponents: Fe(h, "DB-PRI", { capacity: 72 }),
7059
- graphSeries: He({ capacity: 72 })
7115
+ subComponents: Je(h, "DB-PRI", { capacity: 72 }),
7116
+ graphSeries: et({ capacity: 72 })
7060
7117
  },
7061
7118
  children: /* @__PURE__ */ e(
7062
- Ne,
7119
+ Ue,
7063
7120
  {
7064
7121
  rotateY: -o,
7065
7122
  autoRotate: i,
@@ -7073,7 +7130,7 @@ function Si({ config: t }) {
7073
7130
  }
7074
7131
  ),
7075
7132
  /* @__PURE__ */ e(
7076
- A,
7133
+ E,
7077
7134
  {
7078
7135
  ex: 460,
7079
7136
  ey: 520,
@@ -7086,17 +7143,17 @@ function Si({ config: t }) {
7086
7143
  componentInfo: {
7087
7144
  type: "database",
7088
7145
  name: "DB-STB",
7089
- status: c,
7146
+ status: d,
7090
7147
  context: { capacity: 72 },
7091
- subComponents: Fe(c, "DB-STB", { capacity: 72 }),
7092
- graphSeries: He({ capacity: 72 })
7148
+ subComponents: Je(d, "DB-STB", { capacity: 72 }),
7149
+ graphSeries: et({ capacity: 72 })
7093
7150
  },
7094
7151
  children: /* @__PURE__ */ e(
7095
- Ne,
7152
+ Ue,
7096
7153
  {
7097
7154
  rotateY: o,
7098
7155
  autoRotate: i,
7099
- status: c,
7156
+ status: d,
7100
7157
  name: "DB-STB",
7101
7158
  capacity: 72,
7102
7159
  connections: 0,
@@ -7106,7 +7163,7 @@ function Si({ config: t }) {
7106
7163
  }
7107
7164
  ),
7108
7165
  /* @__PURE__ */ e(
7109
- A,
7166
+ E,
7110
7167
  {
7111
7168
  ex: 330,
7112
7169
  ey: 520,
@@ -7115,17 +7172,17 @@ function Si({ config: t }) {
7115
7172
  visibleAtPhase: 6,
7116
7173
  fixedScale: 1,
7117
7174
  bare: !0,
7118
- children: /* @__PURE__ */ e(vt, { synced: p, latencyMs: p ? 8 : 342 })
7175
+ children: /* @__PURE__ */ e(It, { synced: p, latencyMs: p ? 8 : 342 })
7119
7176
  }
7120
7177
  ),
7121
- /* @__PURE__ */ e($i, { config: t })
7178
+ /* @__PURE__ */ e(Ti, { config: t })
7122
7179
  ] });
7123
7180
  }
7124
- function $i({ config: t }) {
7125
- const n = j.useContext(ue), { dispStatus: o, srv1Status: i, srv2Status: r, srv3Status: a, pdbStatus: s, sdbStatus: l, dbSync: h } = t, c = n?.isSelected && n?.isExpandedPos;
7126
- return n?.isSelected ? /* @__PURE__ */ d("div", { style: { pointerEvents: "none" }, children: [
7181
+ function Ti({ config: t }) {
7182
+ const n = q.useContext(Re), { dispStatus: o, srv1Status: i, srv2Status: r, srv3Status: a, pdbStatus: s, sdbStatus: l, dbSync: h } = t, d = n?.isSelected && n?.isExpandedPos;
7183
+ return n?.isSelected ? /* @__PURE__ */ c("div", { style: { pointerEvents: "none" }, children: [
7127
7184
  /* @__PURE__ */ e(
7128
- W,
7185
+ N,
7129
7186
  {
7130
7187
  ex: 330,
7131
7188
  ey: 260,
@@ -7135,12 +7192,12 @@ function $i({ config: t }) {
7135
7192
  offsetX: -90,
7136
7193
  offsetY: -40,
7137
7194
  align: "left",
7138
- isVisible: !!c,
7195
+ isVisible: !!d,
7139
7196
  internalRef: o !== "online" ? "PORT-3" : void 0
7140
7197
  }
7141
7198
  ),
7142
7199
  /* @__PURE__ */ e(
7143
- W,
7200
+ N,
7144
7201
  {
7145
7202
  ex: 165,
7146
7203
  ey: 390,
@@ -7150,12 +7207,12 @@ function $i({ config: t }) {
7150
7207
  offsetX: -110,
7151
7208
  offsetY: -30,
7152
7209
  align: "left",
7153
- isVisible: !!c,
7210
+ isVisible: !!d,
7154
7211
  internalRef: i !== "online" ? "CPU-0" : void 0
7155
7212
  }
7156
7213
  ),
7157
7214
  /* @__PURE__ */ e(
7158
- W,
7215
+ N,
7159
7216
  {
7160
7217
  ex: 330,
7161
7218
  ey: 390,
@@ -7165,12 +7222,12 @@ function $i({ config: t }) {
7165
7222
  offsetX: 100,
7166
7223
  offsetY: -80,
7167
7224
  align: "right",
7168
- isVisible: !!c,
7225
+ isVisible: !!d,
7169
7226
  internalRef: r !== "online" ? "HEAP-0" : void 0
7170
7227
  }
7171
7228
  ),
7172
7229
  /* @__PURE__ */ e(
7173
- W,
7230
+ N,
7174
7231
  {
7175
7232
  ex: 495,
7176
7233
  ey: 390,
@@ -7180,12 +7237,12 @@ function $i({ config: t }) {
7180
7237
  offsetX: 110,
7181
7238
  offsetY: -30,
7182
7239
  align: "right",
7183
- isVisible: !!c,
7240
+ isVisible: !!d,
7184
7241
  internalRef: a !== "online" ? "THREAD-POOL" : void 0
7185
7242
  }
7186
7243
  ),
7187
7244
  /* @__PURE__ */ e(
7188
- W,
7245
+ N,
7189
7246
  {
7190
7247
  ex: 200,
7191
7248
  ey: 520,
@@ -7195,12 +7252,12 @@ function $i({ config: t }) {
7195
7252
  offsetX: -110,
7196
7253
  offsetY: 30,
7197
7254
  align: "left",
7198
- isVisible: !!c,
7255
+ isVisible: !!d,
7199
7256
  internalRef: s !== "online" ? s === "critical" ? "CONN-POOL" : "QUERY-CACHE" : void 0
7200
7257
  }
7201
7258
  ),
7202
7259
  /* @__PURE__ */ e(
7203
- W,
7260
+ N,
7204
7261
  {
7205
7262
  ex: 460,
7206
7263
  ey: 520,
@@ -7210,12 +7267,12 @@ function $i({ config: t }) {
7210
7267
  offsetX: 110,
7211
7268
  offsetY: 30,
7212
7269
  align: "right",
7213
- isVisible: !!c,
7270
+ isVisible: !!d,
7214
7271
  internalRef: l !== "online" ? "PLATTER-2" : void 0
7215
7272
  }
7216
7273
  ),
7217
7274
  !h && /* @__PURE__ */ e(
7218
- W,
7275
+ N,
7219
7276
  {
7220
7277
  ex: 330,
7221
7278
  ey: 520,
@@ -7225,86 +7282,86 @@ function $i({ config: t }) {
7225
7282
  offsetX: 0,
7226
7283
  offsetY: 60,
7227
7284
  align: "bottom",
7228
- isVisible: !!c,
7285
+ isVisible: !!d,
7229
7286
  internalRef: "PLATTER-2"
7230
7287
  }
7231
7288
  )
7232
7289
  ] }) : null;
7233
7290
  }
7234
- function Yi({ config: t, ...n }) {
7291
+ function Gi({ config: t, ...n }) {
7235
7292
  return /* @__PURE__ */ e(
7236
- xt,
7293
+ Lt,
7237
7294
  {
7238
7295
  name: t.name,
7239
- status: lt(t),
7240
- connections: wi,
7296
+ status: wt(t),
7297
+ connections: Ei,
7241
7298
  ...n,
7242
- children: /* @__PURE__ */ e(Si, { config: t })
7299
+ children: /* @__PURE__ */ e(Ai, { config: t })
7243
7300
  }
7244
7301
  );
7245
7302
  }
7246
7303
  export {
7247
- Mi as AIOPsDashboard,
7248
- ze as CPU3D,
7249
- Ft as Carousel,
7250
- et as CarouselContext,
7251
- tt as CarouselItemContext,
7252
- Mt as ComponentDialog,
7253
- Ni as ComponentDrillView,
7254
- bi as DataProvider,
7255
- Ne as Database3D,
7256
- Ii as DatabaseNode,
7257
- Re as DriveBay3D,
7258
- wi as EXCHANGE_CONNECTIONS,
7259
- Yi as ExchangeService,
7260
- Ci as HOLO_BLUE,
7261
- Pi as HOLO_CYAN,
7262
- Ze as HOLO_GLASS,
7263
- Te as HOLO_SURFACE,
7264
- oi as HistoricalGraphPanel,
7265
- Yt as HoloBase,
7266
- nt as Human3D,
7267
- Oi as HumanNode,
7268
- Be as Memory3D,
7269
- wt as MessageServer3D,
7270
- Di as MessageServerNode,
7271
- $t as NetworkBlock3D,
7272
- W as NodeCallout,
7273
- Me as Platter3D,
7274
- F as Port3D,
7275
- Fi as SAPService,
7276
- mi as SAP_CONNECTIONS,
7277
- P as STATUS_CFG,
7278
- he as Server3D,
7279
- Ti as ServerNode,
7280
- xt as Service,
7281
- ue as ServiceContext,
7282
- Nt as ServiceDialog,
7283
- A as ServiceNode,
7284
- Ht as SvgConnection,
7285
- vt as SyncBridge,
7286
- M as ThreadPool3D,
7287
- ot as WebDispatcher3D,
7288
- Li as WebDispatcherNode,
7289
- Ui as computeExchangeDialogAlerts,
7290
- Hi as computeExchangeDialogMetrics,
7291
- lt as computeExchangeServiceStatus,
7292
- Bi as computeSAPDialogAlerts,
7293
- zi as computeSAPDialogMetrics,
7294
- at as computeSAPServiceStatus,
7295
- ui as defaultDataTransform,
7296
- He as getDatabaseGraphSeries,
7297
- Fe as getDatabaseSubComponents,
7298
- Pt as getDispatcherGraphSeries,
7299
- Rt as getDispatcherSubComponents,
7300
- yi as getMessageServerGraphSeries,
7301
- gi as getMessageServerSubComponents,
7302
- Ce as getServerGraphSeries,
7303
- Pe as getServerSubComponents,
7304
- Je as makeFaceStyles,
7305
- pi as useAIOpsData,
7306
- fi as useAIOpsDataOptional,
7307
- Ei as useCarouselContext,
7308
- Ai as useCarouselItemContext,
7309
- Wi as useQueryResult
7304
+ Vi as AIOPsDashboard,
7305
+ Ke as CPU3D,
7306
+ Xt as Carousel,
7307
+ ut as CarouselContext,
7308
+ bt as CarouselItemContext,
7309
+ Vt as ComponentDialog,
7310
+ Ui as ComponentDrillView,
7311
+ Si as DataProvider,
7312
+ Ue as Database3D,
7313
+ zi as DatabaseNode,
7314
+ De as DriveBay3D,
7315
+ Ei as EXCHANGE_CONNECTIONS,
7316
+ Gi as ExchangeService,
7317
+ Di as HOLO_BLUE,
7318
+ Ii as HOLO_CYAN,
7319
+ ft as HOLO_GLASS,
7320
+ ze as HOLO_SURFACE,
7321
+ pi as HistoricalGraphPanel,
7322
+ Gt as HoloBase,
7323
+ yt as Human3D,
7324
+ Bi as HumanNode,
7325
+ Ze as Memory3D,
7326
+ Dt as MessageServer3D,
7327
+ Hi as MessageServerNode,
7328
+ Wt as NetworkBlock3D,
7329
+ N as NodeCallout,
7330
+ Qe as Platter3D,
7331
+ Y as Port3D,
7332
+ Xi as SAPService,
7333
+ Ri as SAP_CONNECTIONS,
7334
+ C as STATUS_CFG,
7335
+ $e as Server3D,
7336
+ Mi as ServerNode,
7337
+ Lt as Service,
7338
+ Re as ServiceContext,
7339
+ Ut as ServiceDialog,
7340
+ E as ServiceNode,
7341
+ qt as SvgConnection,
7342
+ It as SyncBridge,
7343
+ W as ThreadPool3D,
7344
+ mt as WebDispatcher3D,
7345
+ Fi as WebDispatcherNode,
7346
+ Qi as computeExchangeDialogAlerts,
7347
+ qi as computeExchangeDialogMetrics,
7348
+ wt as computeExchangeServiceStatus,
7349
+ ji as computeSAPDialogAlerts,
7350
+ _i as computeSAPDialogMetrics,
7351
+ vt as computeSAPServiceStatus,
7352
+ wi as defaultDataTransform,
7353
+ et as getDatabaseGraphSeries,
7354
+ Je as getDatabaseSubComponents,
7355
+ Bt as getDispatcherGraphSeries,
7356
+ zt as getDispatcherSubComponents,
7357
+ ki as getMessageServerGraphSeries,
7358
+ $i as getMessageServerSubComponents,
7359
+ We as getServerGraphSeries,
7360
+ Ne as getServerSubComponents,
7361
+ ht as makeFaceStyles,
7362
+ mi as useAIOpsData,
7363
+ xi as useAIOpsDataOptional,
7364
+ Ni as useCarouselContext,
7365
+ Wi as useCarouselItemContext,
7366
+ Yi as useQueryResult
7310
7367
  };