react-aiops 0.1.1 → 0.1.3

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,19 +1,19 @@
1
1
  import { jsxs as d, jsx as e, Fragment as Ce } from "react/jsx-runtime";
2
- import J, { createContext as Xe, useContext as ve, useState as A, useEffect as Ee, useMemo as Tt, useRef as ee } from "react";
3
- const At = {
2
+ import J, { createContext as Xe, useContext as ve, useState as L, useEffect as Ee, useMemo as Et, useRef as ee } from "react";
3
+ const Tt = {
4
4
  info: { color: "#00ff88", bg: "rgba(0, 255, 136, 0.1)", border: "#00ff88", icon: "✅" },
5
5
  warning: { color: "#ff8c00", bg: "rgba(255, 140, 0, 0.1)", border: "#ff8c00", icon: "⚠️" },
6
6
  critical: { color: "#ff2255", bg: "rgba(255, 34, 85, 0.1)", border: "#ff2255", icon: "🛑" }
7
7
  };
8
- function Lt({
8
+ function At({
9
9
  name: t,
10
- status: o,
11
- dbSync: n = !0,
10
+ status: n,
11
+ dbSync: o = !0,
12
12
  visible: i,
13
13
  metrics: r,
14
14
  alerts: a
15
15
  }) {
16
- const s = o === "critical" || o === "offline", l = o === "warning", f = r ?? [
16
+ const s = n === "critical" || n === "offline", l = n === "warning", f = r ?? [
17
17
  {
18
18
  label: "Uptime",
19
19
  value: s ? "92.14%" : "99.98%",
@@ -32,10 +32,10 @@ function Lt({
32
32
  color: s ? "#ff2255" : l ? "#ff8c00" : "#00ff88"
33
33
  }
34
34
  ], c = a ?? [
35
- ...n ? [] : [{ level: "warning", message: "DB Replication Lag Detected" }],
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
- ...!s && !l && n ? [{ level: "info", message: "All Systems Nominal" }] : []
38
+ ...!s && !l && o ? [{ level: "info", message: "All Systems Nominal" }] : []
39
39
  ];
40
40
  return /* @__PURE__ */ d(
41
41
  "div",
@@ -146,7 +146,7 @@ function Lt({
146
146
  }
147
147
  ),
148
148
  c.map((p, h) => {
149
- const g = At[p.level];
149
+ const y = Tt[p.level];
150
150
  return /* @__PURE__ */ d(
151
151
  "div",
152
152
  {
@@ -154,15 +154,15 @@ function Lt({
154
154
  display: "flex",
155
155
  gap: 8,
156
156
  alignItems: "flex-start",
157
- color: g.color,
157
+ color: y.color,
158
158
  fontSize: 12,
159
- background: g.bg,
159
+ background: y.bg,
160
160
  padding: "6px 10px",
161
161
  borderRadius: 4,
162
- borderLeft: `2px solid ${g.border}`
162
+ borderLeft: `2px solid ${y.border}`
163
163
  },
164
164
  children: [
165
- /* @__PURE__ */ e("span", { children: g.icon }),
165
+ /* @__PURE__ */ e("span", { children: y.icon }),
166
166
  " ",
167
167
  /* @__PURE__ */ e("span", { children: p.message })
168
168
  ]
@@ -177,120 +177,142 @@ function Lt({
177
177
  }
178
178
  );
179
179
  }
180
- const S = {
180
+ const w = {
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
- }, vi = "#00e5ff", wi = "#0055cc", we = "linear-gradient(180deg, #071428 0%, #040c1c 60%, #030810 100%)", Ge = "linear-gradient(180deg, rgba(10,25,50,0.35) 0%, rgba(5,15,35,0.25) 60%, rgba(3,10,20,0.15) 100%)";
186
- function Qe(t, o, n) {
185
+ }, yi = "#00e5ff", mi = "#0055cc", we = "linear-gradient(180deg, #071428 0%, #040c1c 60%, #030810 100%)", Qe = "linear-gradient(180deg, rgba(10,25,50,0.35) 0%, rgba(5,15,35,0.25) 60%, rgba(3,10,20,0.15) 100%)";
186
+ function qe(t, n, o) {
187
187
  const i = {
188
188
  position: "absolute",
189
189
  overflow: "hidden",
190
190
  backfaceVisibility: "hidden"
191
191
  };
192
192
  return {
193
- front: { ...i, width: t, height: o, left: 0, top: 0, transform: `translateZ(${n / 2}px)` },
193
+ front: { ...i, width: t, height: n, left: 0, top: 0, transform: `translateZ(${o / 2}px)` },
194
194
  back: {
195
195
  ...i,
196
196
  width: t,
197
- height: o,
197
+ height: n,
198
198
  left: 0,
199
199
  top: 0,
200
- transform: `rotateY(180deg) translateZ(${n / 2}px)`
200
+ transform: `rotateY(180deg) translateZ(${o / 2}px)`
201
201
  },
202
202
  left: {
203
203
  ...i,
204
- width: n,
205
- height: o,
206
- left: (t - n) / 2,
204
+ width: o,
205
+ height: n,
206
+ left: (t - o) / 2,
207
207
  top: 0,
208
208
  transform: `rotateY(-90deg) translateZ(${t / 2}px)`
209
209
  },
210
210
  right: {
211
211
  ...i,
212
- width: n,
213
- height: o,
214
- left: (t - n) / 2,
212
+ width: o,
213
+ height: n,
214
+ left: (t - o) / 2,
215
215
  top: 0,
216
216
  transform: `rotateY(90deg) translateZ(${t / 2}px)`
217
217
  },
218
218
  top: {
219
219
  ...i,
220
220
  width: t,
221
- height: n,
221
+ height: o,
222
222
  left: 0,
223
- top: (o - n) / 2,
224
- transform: `rotateX(90deg) translateZ(${o / 2}px)`
223
+ top: (n - o) / 2,
224
+ transform: `rotateX(90deg) translateZ(${n / 2}px)`
225
225
  },
226
226
  bottom: {
227
227
  ...i,
228
228
  width: t,
229
- height: n,
229
+ height: o,
230
230
  left: 0,
231
- top: (o - n) / 2,
232
- transform: `rotateX(-90deg) translateZ(${o / 2}px)`
231
+ top: (n - o) / 2,
232
+ transform: `rotateX(-90deg) translateZ(${n / 2}px)`
233
233
  }
234
234
  };
235
235
  }
236
236
  const Ve = "cubic-bezier(0.34, 1.56, 0.64, 1)", _e = "cubic-bezier(0.16, 1, 0.3, 1)";
237
237
  function st(t) {
238
- return S[t]?.color ?? S.online.color;
238
+ return w[t]?.color ?? w.online.color;
239
239
  }
240
- function It(t, o, n) {
241
- return t >= n ? "#ff2255" : t >= o ? "#ff8c00" : "#00e5ff";
240
+ function Lt(t, n, o) {
241
+ return t >= o ? "#ff2255" : t >= n ? "#ff8c00" : "#00e5ff";
242
242
  }
243
- function Ue(t, o, n, i) {
244
- return t === "offline" ? "offline" : t === "critical" && o >= i ? "critical" : (t === "critical" || t === "warning") && o >= n ? "warning" : "online";
243
+ function Le(t, n, o, i) {
244
+ return t === "offline" ? "offline" : t === "critical" && n >= i ? "critical" : (t === "critical" || t === "warning") && n >= o ? "warning" : "online";
245
245
  }
246
- function Ot({
246
+ function It({
247
247
  component: t,
248
- onClose: o,
249
- visible: n,
248
+ onClose: n,
249
+ visible: o,
250
250
  sceneWidth: i = 660,
251
251
  sceneHeight: r = 600
252
252
  }) {
253
- const { type: a, name: s, status: l, ex: f, ey: c, context: p = {} } = t, h = st(l), g = f >= i / 2, u = c >= r / 2, b = {
253
+ const { type: a, name: s, status: l, ex: f, ey: c, context: p = {} } = t, h = st(l), y = f >= i / 2, b = c >= r / 2, g = {
254
254
  position: "fixed",
255
- ...g ? { right: 28 } : { left: 28 },
256
- ...u ? { bottom: 110 } : { top: 72 }
257
- }, m = g ? 40 : -40, x = u ? 30 : -30, w = p.cpuLoad ?? p.traffic ?? 50, P = p.memLoad ?? p.queueDepth ?? 60, y = p.capacity ?? 72, D = Ue(l, w, 70, 85), B = Ue(l, P, 75, 88), $ = Ue(l, y, 75, 90), V = [
258
- {
259
- id: "cpu",
260
- label: a === "dispatcher" ? "TRAFFIC" : a === "messageServer" ? "QUEUE" : "CPU",
261
- sublabel: a === "dispatcher" ? "PORT LOAD" : a === "messageServer" ? "QUEUE DEPTH" : "PROCESSOR",
262
- value: w,
263
- unit: "%",
264
- status: D,
265
- icon: "cpu",
266
- delay: 0
267
- },
268
- {
269
- id: "mem",
270
- label: "MEMORY",
271
- sublabel: a === "database" ? "BUFFER POOL" : "HEAP USAGE",
272
- value: P,
273
- unit: "%",
274
- status: B,
275
- icon: "mem",
276
- delay: 1
277
- },
278
- {
279
- id: "storage",
280
- label: "STORAGE",
281
- sublabel: a === "database" ? "TABLESPACE" : "DISK I/O",
282
- value: y,
283
- unit: "%",
284
- status: $,
285
- icon: "disk",
286
- delay: 2
287
- }
288
- ];
255
+ ...y ? { right: 28 } : { left: 28 },
256
+ ...b ? { bottom: 110 } : { top: 72 }
257
+ }, m = y ? 40 : -40, x = b ? 30 : -30, v = p.dialogMetrics;
258
+ let k;
259
+ if (v && v.length > 0)
260
+ k = v.map((u, R) => {
261
+ const A = u.warnAt ?? 70, $ = u.critAt ?? 85;
262
+ return {
263
+ id: u.id,
264
+ label: u.label,
265
+ sublabel: u.sublabel,
266
+ value: u.value,
267
+ unit: u.unit ?? "%",
268
+ status: Le(l, u.value, A, $),
269
+ icon: u.icon ?? "cpu",
270
+ delay: R,
271
+ colorOverride: u.color,
272
+ warnAt: A,
273
+ critAt: $
274
+ };
275
+ });
276
+ else {
277
+ const u = p.cpuLoad ?? p.traffic ?? 50, R = p.memLoad ?? p.queueDepth ?? 60, A = p.capacity ?? 72, $ = Le(l, u, 70, 85), V = Le(l, R, 75, 88), W = Le(l, A, 75, 90);
278
+ k = [
279
+ {
280
+ id: "cpu",
281
+ label: a === "dispatcher" ? "TRAFFIC" : a === "messageServer" ? "QUEUE" : "CPU",
282
+ sublabel: a === "dispatcher" ? "PORT LOAD" : a === "messageServer" ? "QUEUE DEPTH" : "PROCESSOR",
283
+ value: u,
284
+ unit: "%",
285
+ status: $,
286
+ icon: "cpu",
287
+ delay: 0
288
+ },
289
+ {
290
+ id: "mem",
291
+ label: "MEMORY",
292
+ sublabel: a === "database" ? "BUFFER POOL" : "HEAP USAGE",
293
+ value: R,
294
+ unit: "%",
295
+ status: V,
296
+ icon: "mem",
297
+ delay: 1
298
+ },
299
+ {
300
+ id: "storage",
301
+ label: "STORAGE",
302
+ sublabel: a === "database" ? "TABLESPACE" : "DISK I/O",
303
+ value: A,
304
+ unit: "%",
305
+ status: W,
306
+ icon: "disk",
307
+ delay: 2
308
+ }
309
+ ];
310
+ }
289
311
  return /* @__PURE__ */ d(
290
312
  "div",
291
313
  {
292
314
  style: {
293
- ...b,
315
+ ...g,
294
316
  width: 420,
295
317
  background: "linear-gradient(170deg, rgba(2, 10, 22, 0.96) 0%, rgba(2, 6, 14, 0.98) 100%)",
296
318
  backdropFilter: "blur(20px)",
@@ -299,15 +321,15 @@ function Ot({
299
321
  borderRadius: 14,
300
322
  fontFamily: "'Courier New', monospace",
301
323
  overflow: "hidden",
302
- opacity: n ? 1 : 0,
303
- transform: n ? "scale(1) translate(0, 0)" : `scale(0.7) translate(${m}px, ${x}px)`,
324
+ opacity: o ? 1 : 0,
325
+ transform: o ? "scale(1) translate(0, 0)" : `scale(0.7) translate(${m}px, ${x}px)`,
304
326
  transition: `opacity 0.45s ${_e}, transform 0.55s ${Ve}`,
305
- pointerEvents: n ? "auto" : "none",
327
+ pointerEvents: o ? "auto" : "none",
306
328
  zIndex: 9999,
307
- animation: n ? "comp-dialog-border-glow 3s ease-in-out infinite" : "none",
329
+ animation: o ? "comp-dialog-border-glow 3s ease-in-out infinite" : "none",
308
330
  "--dialog-color": h
309
331
  },
310
- onClick: (v) => v.stopPropagation(),
332
+ onClick: (u) => u.stopPropagation(),
311
333
  children: [
312
334
  /* @__PURE__ */ e(
313
335
  "div",
@@ -320,7 +342,7 @@ function Ot({
320
342
  height: 2,
321
343
  background: `linear-gradient(90deg, transparent 2%, ${h}aa 30%, #fff 50%, ${h}aa 70%, transparent 98%)`,
322
344
  boxShadow: `0 0 12px ${h}, 0 0 24px ${h}44`,
323
- animation: n ? "holo-scan 3.5s linear infinite" : "none",
345
+ animation: o ? "holo-scan 3.5s linear infinite" : "none",
324
346
  pointerEvents: "none",
325
347
  zIndex: 10
326
348
  }
@@ -371,12 +393,12 @@ function Ot({
371
393
  borderRight: `2px solid ${h}66`,
372
394
  borderRadius: "0 0 14px 0"
373
395
  }
374
- ].map((v, W) => /* @__PURE__ */ e(
396
+ ].map((u, R) => /* @__PURE__ */ e(
375
397
  "div",
376
398
  {
377
- style: { position: "absolute", width: 18, height: 18, pointerEvents: "none", ...v }
399
+ style: { position: "absolute", width: 18, height: 18, pointerEvents: "none", ...u }
378
400
  },
379
- W
401
+ R
380
402
  )),
381
403
  /* @__PURE__ */ d(
382
404
  "div",
@@ -455,8 +477,8 @@ function Ot({
455
477
  /* @__PURE__ */ e(
456
478
  "button",
457
479
  {
458
- onClick: (v) => {
459
- v.stopPropagation(), o();
480
+ onClick: (u) => {
481
+ u.stopPropagation(), n();
460
482
  },
461
483
  style: {
462
484
  width: 34,
@@ -474,11 +496,11 @@ function Ot({
474
496
  lineHeight: 1,
475
497
  flexShrink: 0
476
498
  },
477
- onMouseEnter: (v) => {
478
- v.currentTarget.style.background = `${h}22`, v.currentTarget.style.boxShadow = `0 0 12px ${h}44`;
499
+ onMouseEnter: (u) => {
500
+ u.currentTarget.style.background = `${h}22`, u.currentTarget.style.boxShadow = `0 0 12px ${h}44`;
479
501
  },
480
- onMouseLeave: (v) => {
481
- v.currentTarget.style.background = `linear-gradient(135deg, rgba(0,0,0,0.5) 0%, ${h}08 100%)`, v.currentTarget.style.boxShadow = "none";
502
+ onMouseLeave: (u) => {
503
+ u.currentTarget.style.background = `linear-gradient(135deg, rgba(0,0,0,0.5) 0%, ${h}08 100%)`, u.currentTarget.style.boxShadow = "none";
482
504
  },
483
505
  children: "×"
484
506
  }
@@ -497,7 +519,7 @@ function Ot({
497
519
  position: "relative",
498
520
  zIndex: 2
499
521
  },
500
- children: V.map((v) => /* @__PURE__ */ e(Dt, { metric: v, visible: n, accentColor: h }, v.id))
522
+ children: k.map((u) => /* @__PURE__ */ e(Ot, { metric: u, visible: o, accentColor: h }, u.id))
501
523
  }
502
524
  ),
503
525
  /* @__PURE__ */ d(
@@ -546,12 +568,12 @@ function Ot({
546
568
  }
547
569
  );
548
570
  }
549
- function Dt({
571
+ function Ot({
550
572
  metric: t,
551
- visible: o,
552
- accentColor: n
573
+ visible: n,
574
+ accentColor: o
553
575
  }) {
554
- const { label: i, sublabel: r, value: a, unit: s, status: l, icon: f, delay: c } = t, p = It(a, 70, 85), h = st(l);
576
+ const { label: i, sublabel: r, value: a, unit: s, status: l, icon: f, delay: c, colorOverride: p, warnAt: h = 70, critAt: y = 85 } = t, b = p ?? Lt(a, h, y), g = p ?? st(l);
555
577
  return /* @__PURE__ */ d(
556
578
  "div",
557
579
  {
@@ -559,8 +581,8 @@ function Dt({
559
581
  display: "flex",
560
582
  alignItems: "center",
561
583
  gap: 16,
562
- opacity: o ? 1 : 0,
563
- transform: o ? "translateY(0)" : "translateY(12px)",
584
+ opacity: n ? 1 : 0,
585
+ transform: n ? "translateY(0)" : "translateY(12px)",
564
586
  transition: `opacity 0.4s ${_e} ${0.3 + c * 0.12}s, transform 0.5s ${Ve} ${0.3 + c * 0.12}s`
565
587
  },
566
588
  children: [
@@ -571,18 +593,18 @@ function Dt({
571
593
  width: 52,
572
594
  height: 52,
573
595
  borderRadius: 12,
574
- border: `1px solid ${h}44`,
575
- background: `linear-gradient(135deg, ${h}0c 0%, ${h}04 100%)`,
596
+ border: `1px solid ${g}44`,
597
+ background: `linear-gradient(135deg, ${g}0c 0%, ${g}04 100%)`,
576
598
  display: "flex",
577
599
  alignItems: "center",
578
600
  justifyContent: "center",
579
601
  flexShrink: 0,
580
602
  position: "relative",
581
603
  overflow: "hidden",
582
- animation: o ? `comp-dialog-icon-pop 0.5s ${Ve} ${0.35 + c * 0.12}s both` : "none"
604
+ animation: n ? `comp-dialog-icon-pop 0.5s ${Ve} ${0.35 + c * 0.12}s both` : "none"
583
605
  },
584
606
  children: [
585
- /* @__PURE__ */ e(Wt, { type: f, color: h }),
607
+ /* @__PURE__ */ e(Dt, { type: f, color: g }),
586
608
  (l === "warning" || l === "critical") && /* @__PURE__ */ e(
587
609
  "div",
588
610
  {
@@ -593,8 +615,8 @@ function Dt({
593
615
  width: 5,
594
616
  height: 5,
595
617
  borderRadius: "50%",
596
- background: h,
597
- boxShadow: `0 0 6px ${h}`,
618
+ background: g,
619
+ boxShadow: `0 0 6px ${g}`,
598
620
  animation: "holo-led-blink 1.2s infinite"
599
621
  }
600
622
  }
@@ -631,7 +653,7 @@ function Dt({
631
653
  {
632
654
  style: {
633
655
  fontSize: 8,
634
- color: `${n}55`,
656
+ color: `${o}55`,
635
657
  letterSpacing: "0.15em",
636
658
  textTransform: "uppercase"
637
659
  },
@@ -645,8 +667,8 @@ function Dt({
645
667
  style: {
646
668
  fontSize: 20,
647
669
  fontWeight: 700,
648
- color: p,
649
- textShadow: `0 0 8px ${p}44`,
670
+ color: b,
671
+ textShadow: `0 0 8px ${b}44`,
650
672
  fontFamily: "'Courier New', monospace"
651
673
  },
652
674
  children: [
@@ -678,10 +700,10 @@ function Dt({
678
700
  width: `${a}%`,
679
701
  height: "100%",
680
702
  borderRadius: 3,
681
- background: `linear-gradient(90deg, ${p}66, ${p})`,
682
- boxShadow: `0 0 8px ${p}44`,
703
+ background: `linear-gradient(90deg, ${b}66, ${b})`,
704
+ boxShadow: `0 0 8px ${b}44`,
683
705
  transformOrigin: "left center",
684
- animation: o ? `comp-dialog-metric-fill 0.8s ${_e} ${0.4 + c * 0.12}s both` : "none"
706
+ animation: n ? `comp-dialog-metric-fill 0.8s ${_e} ${0.4 + c * 0.12}s both` : "none"
685
707
  }
686
708
  }
687
709
  ),
@@ -690,7 +712,7 @@ function Dt({
690
712
  {
691
713
  style: {
692
714
  position: "absolute",
693
- left: "70%",
715
+ left: `${h}%`,
694
716
  top: 0,
695
717
  bottom: 0,
696
718
  width: 1,
@@ -703,7 +725,7 @@ function Dt({
703
725
  {
704
726
  style: {
705
727
  position: "absolute",
706
- left: "85%",
728
+ left: `${y}%`,
707
729
  top: 0,
708
730
  bottom: 0,
709
731
  width: 1,
@@ -714,16 +736,18 @@ function Dt({
714
736
  ]
715
737
  }
716
738
  ),
717
- /* @__PURE__ */ d("div", { style: { display: "flex", justifyContent: "space-between", marginTop: 2 }, children: [
718
- /* @__PURE__ */ e("span", { style: { fontSize: 6, color: "rgba(255,255,255,0.15)", letterSpacing: "0.1em" }, children: "0" }),
739
+ /* @__PURE__ */ d("div", { style: { position: "relative", height: 10, marginTop: 2 }, children: [
740
+ /* @__PURE__ */ e("span", { style: { position: "absolute", left: 0, fontSize: 6, color: "rgba(255,255,255,0.15)", letterSpacing: "0.1em" }, children: "0" }),
719
741
  /* @__PURE__ */ e(
720
742
  "span",
721
743
  {
722
744
  style: {
745
+ position: "absolute",
746
+ left: `${h}%`,
747
+ transform: "translateX(-50%)",
723
748
  fontSize: 6,
724
749
  color: "rgba(255,140,0,0.3)",
725
- letterSpacing: "0.1em",
726
- marginRight: "18%"
750
+ letterSpacing: "0.1em"
727
751
  },
728
752
  children: "WARN"
729
753
  }
@@ -732,24 +756,26 @@ function Dt({
732
756
  "span",
733
757
  {
734
758
  style: {
759
+ position: "absolute",
760
+ left: `${y}%`,
761
+ transform: "translateX(-50%)",
735
762
  fontSize: 6,
736
763
  color: "rgba(255,34,85,0.3)",
737
- letterSpacing: "0.1em",
738
- marginRight: "6%"
764
+ letterSpacing: "0.1em"
739
765
  },
740
766
  children: "CRIT"
741
767
  }
742
768
  ),
743
- /* @__PURE__ */ e("span", { style: { fontSize: 6, color: "rgba(255,255,255,0.15)", letterSpacing: "0.1em" }, children: "100" })
769
+ /* @__PURE__ */ e("span", { style: { position: "absolute", right: 0, fontSize: 6, color: "rgba(255,255,255,0.15)", letterSpacing: "0.1em" }, children: "100" })
744
770
  ] })
745
771
  ] })
746
772
  ]
747
773
  }
748
774
  );
749
775
  }
750
- function Wt({ type: t, color: o }) {
776
+ function Dt({ type: t, color: n }) {
751
777
  return t === "cpu" ? /* @__PURE__ */ d("svg", { width: 28, height: 28, viewBox: "0 0 24 24", fill: "none", children: [
752
- /* @__PURE__ */ e("rect", { x: "6", y: "6", width: "12", height: "12", rx: "2", stroke: o, strokeWidth: "1.5" }),
778
+ /* @__PURE__ */ e("rect", { x: "6", y: "6", width: "12", height: "12", rx: "2", stroke: n, strokeWidth: "1.5" }),
753
779
  /* @__PURE__ */ e(
754
780
  "rect",
755
781
  {
@@ -758,25 +784,25 @@ function Wt({ type: t, color: o }) {
758
784
  width: "6",
759
785
  height: "6",
760
786
  rx: "1",
761
- fill: `${o}44`,
762
- stroke: o,
787
+ fill: `${n}44`,
788
+ stroke: n,
763
789
  strokeWidth: "0.5"
764
790
  }
765
791
  ),
766
- /* @__PURE__ */ e("line", { x1: "4", y1: "9", x2: "6", y2: "9", stroke: o, strokeWidth: "1" }),
767
- /* @__PURE__ */ e("line", { x1: "4", y1: "12", x2: "6", y2: "12", stroke: o, strokeWidth: "1" }),
768
- /* @__PURE__ */ e("line", { x1: "4", y1: "15", x2: "6", y2: "15", stroke: o, strokeWidth: "1" }),
769
- /* @__PURE__ */ e("line", { x1: "18", y1: "9", x2: "20", y2: "9", stroke: o, strokeWidth: "1" }),
770
- /* @__PURE__ */ e("line", { x1: "18", y1: "12", x2: "20", y2: "12", stroke: o, strokeWidth: "1" }),
771
- /* @__PURE__ */ e("line", { x1: "18", y1: "15", x2: "20", y2: "15", stroke: o, strokeWidth: "1" }),
772
- /* @__PURE__ */ e("line", { x1: "9", y1: "4", x2: "9", y2: "6", stroke: o, strokeWidth: "1" }),
773
- /* @__PURE__ */ e("line", { x1: "12", y1: "4", x2: "12", y2: "6", stroke: o, strokeWidth: "1" }),
774
- /* @__PURE__ */ e("line", { x1: "15", y1: "4", x2: "15", y2: "6", stroke: o, strokeWidth: "1" }),
775
- /* @__PURE__ */ e("line", { x1: "9", y1: "18", x2: "9", y2: "20", stroke: o, strokeWidth: "1" }),
776
- /* @__PURE__ */ e("line", { x1: "12", y1: "18", x2: "12", y2: "20", stroke: o, strokeWidth: "1" }),
777
- /* @__PURE__ */ e("line", { x1: "15", y1: "18", x2: "15", y2: "20", stroke: o, strokeWidth: "1" })
792
+ /* @__PURE__ */ e("line", { x1: "4", y1: "9", x2: "6", y2: "9", stroke: n, strokeWidth: "1" }),
793
+ /* @__PURE__ */ e("line", { x1: "4", y1: "12", x2: "6", y2: "12", stroke: n, strokeWidth: "1" }),
794
+ /* @__PURE__ */ e("line", { x1: "4", y1: "15", x2: "6", y2: "15", stroke: n, strokeWidth: "1" }),
795
+ /* @__PURE__ */ e("line", { x1: "18", y1: "9", x2: "20", y2: "9", stroke: n, strokeWidth: "1" }),
796
+ /* @__PURE__ */ e("line", { x1: "18", y1: "12", x2: "20", y2: "12", stroke: n, strokeWidth: "1" }),
797
+ /* @__PURE__ */ e("line", { x1: "18", y1: "15", x2: "20", y2: "15", stroke: n, strokeWidth: "1" }),
798
+ /* @__PURE__ */ e("line", { x1: "9", y1: "4", x2: "9", y2: "6", stroke: n, strokeWidth: "1" }),
799
+ /* @__PURE__ */ e("line", { x1: "12", y1: "4", x2: "12", y2: "6", stroke: n, strokeWidth: "1" }),
800
+ /* @__PURE__ */ e("line", { x1: "15", y1: "4", x2: "15", y2: "6", stroke: n, strokeWidth: "1" }),
801
+ /* @__PURE__ */ e("line", { x1: "9", y1: "18", x2: "9", y2: "20", stroke: n, strokeWidth: "1" }),
802
+ /* @__PURE__ */ e("line", { x1: "12", y1: "18", x2: "12", y2: "20", stroke: n, strokeWidth: "1" }),
803
+ /* @__PURE__ */ e("line", { x1: "15", y1: "18", x2: "15", y2: "20", stroke: n, strokeWidth: "1" })
778
804
  ] }) : t === "mem" ? /* @__PURE__ */ d("svg", { width: 28, height: 28, viewBox: "0 0 24 24", fill: "none", children: [
779
- /* @__PURE__ */ e("rect", { x: "7", y: "3", width: "10", height: "18", rx: "1.5", stroke: o, strokeWidth: "1.5" }),
805
+ /* @__PURE__ */ e("rect", { x: "7", y: "3", width: "10", height: "18", rx: "1.5", stroke: n, strokeWidth: "1.5" }),
780
806
  /* @__PURE__ */ e(
781
807
  "rect",
782
808
  {
@@ -785,8 +811,8 @@ function Wt({ type: t, color: o }) {
785
811
  width: "6",
786
812
  height: "3",
787
813
  rx: "0.5",
788
- fill: `${o}33`,
789
- stroke: o,
814
+ fill: `${n}33`,
815
+ stroke: n,
790
816
  strokeWidth: "0.5"
791
817
  }
792
818
  ),
@@ -798,8 +824,8 @@ function Wt({ type: t, color: o }) {
798
824
  width: "6",
799
825
  height: "3",
800
826
  rx: "0.5",
801
- fill: `${o}33`,
802
- stroke: o,
827
+ fill: `${n}33`,
828
+ stroke: n,
803
829
  strokeWidth: "0.5"
804
830
  }
805
831
  ),
@@ -811,38 +837,38 @@ function Wt({ type: t, color: o }) {
811
837
  width: "6",
812
838
  height: "3",
813
839
  rx: "0.5",
814
- fill: `${o}33`,
815
- stroke: o,
840
+ fill: `${n}33`,
841
+ stroke: n,
816
842
  strokeWidth: "0.5"
817
843
  }
818
844
  ),
819
- /* @__PURE__ */ e("line", { x1: "5", y1: "7", x2: "7", y2: "7", stroke: o, strokeWidth: "0.8" }),
820
- /* @__PURE__ */ e("line", { x1: "5", y1: "11", x2: "7", y2: "11", stroke: o, strokeWidth: "0.8" }),
821
- /* @__PURE__ */ e("line", { x1: "5", y1: "15", x2: "7", y2: "15", stroke: o, strokeWidth: "0.8" }),
822
- /* @__PURE__ */ e("line", { x1: "17", y1: "7", x2: "19", y2: "7", stroke: o, strokeWidth: "0.8" }),
823
- /* @__PURE__ */ e("line", { x1: "17", y1: "11", x2: "19", y2: "11", stroke: o, strokeWidth: "0.8" }),
824
- /* @__PURE__ */ e("line", { x1: "17", y1: "15", x2: "19", y2: "15", stroke: o, strokeWidth: "0.8" })
845
+ /* @__PURE__ */ e("line", { x1: "5", y1: "7", x2: "7", y2: "7", stroke: n, strokeWidth: "0.8" }),
846
+ /* @__PURE__ */ e("line", { x1: "5", y1: "11", x2: "7", y2: "11", stroke: n, strokeWidth: "0.8" }),
847
+ /* @__PURE__ */ e("line", { x1: "5", y1: "15", x2: "7", y2: "15", stroke: n, strokeWidth: "0.8" }),
848
+ /* @__PURE__ */ e("line", { x1: "17", y1: "7", x2: "19", y2: "7", stroke: n, strokeWidth: "0.8" }),
849
+ /* @__PURE__ */ e("line", { x1: "17", y1: "11", x2: "19", y2: "11", stroke: n, strokeWidth: "0.8" }),
850
+ /* @__PURE__ */ e("line", { x1: "17", y1: "15", x2: "19", y2: "15", stroke: n, strokeWidth: "0.8" })
825
851
  ] }) : /* @__PURE__ */ d("svg", { width: 28, height: 28, viewBox: "0 0 24 24", fill: "none", children: [
826
- /* @__PURE__ */ e("circle", { cx: "12", cy: "12", r: "8.5", stroke: o, strokeWidth: "1.5" }),
827
- /* @__PURE__ */ e("circle", { cx: "12", cy: "12", r: "5.5", stroke: o, strokeWidth: "0.5", strokeDasharray: "2 2" }),
828
- /* @__PURE__ */ e("circle", { cx: "12", cy: "12", r: "2", fill: `${o}55` }),
829
- /* @__PURE__ */ e("line", { x1: "12", y1: "3", x2: "12", y2: "6", stroke: o, strokeWidth: "0.8" }),
830
- /* @__PURE__ */ e("line", { x1: "12", y1: "18", x2: "12", y2: "21", stroke: o, strokeWidth: "0.8" }),
831
- /* @__PURE__ */ e("line", { x1: "3", y1: "12", x2: "6", y2: "12", stroke: o, strokeWidth: "0.8" }),
832
- /* @__PURE__ */ e("line", { x1: "18", y1: "12", x2: "21", y2: "12", stroke: o, strokeWidth: "0.8" })
852
+ /* @__PURE__ */ e("circle", { cx: "12", cy: "12", r: "8.5", stroke: n, strokeWidth: "1.5" }),
853
+ /* @__PURE__ */ e("circle", { cx: "12", cy: "12", r: "5.5", stroke: n, strokeWidth: "0.5", strokeDasharray: "2 2" }),
854
+ /* @__PURE__ */ e("circle", { cx: "12", cy: "12", r: "2", fill: `${n}55` }),
855
+ /* @__PURE__ */ e("line", { x1: "12", y1: "3", x2: "12", y2: "6", stroke: n, strokeWidth: "0.8" }),
856
+ /* @__PURE__ */ e("line", { x1: "12", y1: "18", x2: "12", y2: "21", stroke: n, strokeWidth: "0.8" }),
857
+ /* @__PURE__ */ e("line", { x1: "3", y1: "12", x2: "6", y2: "12", stroke: n, strokeWidth: "0.8" }),
858
+ /* @__PURE__ */ e("line", { x1: "18", y1: "12", x2: "21", y2: "12", stroke: n, strokeWidth: "0.8" })
833
859
  ] });
834
860
  }
835
- const qe = Xe(null), Ke = Xe({ index: 0 });
836
- function Si() {
837
- return ve(qe);
861
+ const Ge = Xe(null), Ke = Xe({ index: 0 });
862
+ function xi() {
863
+ return ve(Ge);
838
864
  }
839
- function ki() {
865
+ function vi() {
840
866
  return ve(Ke);
841
867
  }
842
- function zt({
868
+ function Wt({
843
869
  children: t,
844
- logoUrl: o,
845
- viewState: n,
870
+ logoUrl: n,
871
+ viewState: o,
846
872
  animPhase: i,
847
873
  selectedSystem: r,
848
874
  selectedComponent: a,
@@ -852,33 +878,33 @@ function zt({
852
878
  componentScale: c = 0.35,
853
879
  drillZoom: p = 3.3,
854
880
  autoRotateCarousel: h = !0,
855
- carouselSpeed: g = 6e-3,
856
- width: u = 950,
857
- height: b = 790,
881
+ carouselSpeed: y = 6e-3,
882
+ width: b = 950,
883
+ height: g = 790,
858
884
  onSelectSystem: m,
859
885
  onBackgroundClick: x,
860
- onComponentClick: w,
861
- onCloseDrill: P,
862
- selectedSystemStatus: y = "online",
863
- selectedSystemDbSync: D = !0,
864
- selectedSystemMetrics: B,
886
+ onComponentClick: v,
887
+ onCloseDrill: k,
888
+ selectedSystemStatus: u = "online",
889
+ selectedSystemDbSync: R = !0,
890
+ selectedSystemMetrics: A,
865
891
  selectedSystemAlerts: $
866
892
  }) {
867
- const [V, v] = A(0);
893
+ const [V, W] = L(0);
868
894
  Ee(() => {
869
- let I;
870
- if ((n === "compact" || n === "collapsing") && h) {
871
- const U = () => {
872
- v((oe) => oe + g), I = requestAnimationFrame(U);
895
+ let O;
896
+ if ((o === "compact" || o === "collapsing") && h) {
897
+ const F = () => {
898
+ W((ne) => ne + y), O = requestAnimationFrame(F);
873
899
  };
874
- I = requestAnimationFrame(U);
900
+ O = requestAnimationFrame(F);
875
901
  }
876
- return () => cancelAnimationFrame(I);
877
- }, [n, h, g]);
878
- const W = J.Children.toArray(t), X = W.length, z = Tt(() => ({
902
+ return () => cancelAnimationFrame(O);
903
+ }, [o, h, y]);
904
+ const B = J.Children.toArray(t), X = B.length, z = Et(() => ({
879
905
  totalSystems: X,
880
906
  carouselRotation: V,
881
- viewState: n,
907
+ viewState: o,
882
908
  animPhase: i,
883
909
  selectedSystem: r,
884
910
  selectedComponent: a,
@@ -887,12 +913,12 @@ function zt({
887
913
  componentScale: c,
888
914
  drillZoom: p,
889
915
  onSelectSystem: m,
890
- onComponentClick: w,
891
- containerWidth: u
916
+ onComponentClick: v,
917
+ containerWidth: b
892
918
  }), [
893
919
  X,
894
920
  V,
895
- n,
921
+ o,
896
922
  i,
897
923
  r,
898
924
  a,
@@ -901,15 +927,15 @@ function zt({
901
927
  c,
902
928
  p,
903
929
  m,
904
- w,
905
- u
906
- ]), te = W.map((I, U) => /* @__PURE__ */ e(Ke.Provider, { value: { index: U }, children: I }, U)), ie = n === "expanded" || n === "expanding" && i >= 4;
907
- return /* @__PURE__ */ d(qe.Provider, { value: z, children: [
908
- /* @__PURE__ */ d("div", { style: { position: "relative", width: u, height: b, margin: "0 auto", flexShrink: 0 }, children: [
909
- o && (n === "compact" || n === "collapsing") && /* @__PURE__ */ e(
930
+ v,
931
+ b
932
+ ]), te = B.map((O, F) => /* @__PURE__ */ e(Ke.Provider, { value: { index: F }, children: O }, F)), ie = o === "expanded" || o === "expanding" && i >= 4;
933
+ return /* @__PURE__ */ d(Ge.Provider, { value: z, children: [
934
+ /* @__PURE__ */ d("div", { style: { position: "relative", width: b, height: g, margin: "0 auto", flexShrink: 0 }, children: [
935
+ n && (o === "compact" || o === "collapsing") && /* @__PURE__ */ e(
910
936
  "img",
911
937
  {
912
- src: o,
938
+ src: n,
913
939
  alt: "",
914
940
  style: {
915
941
  position: "absolute",
@@ -928,33 +954,33 @@ function zt({
928
954
  ),
929
955
  te
930
956
  ] }),
931
- r && /* @__PURE__ */ e("div", { onClick: (I) => I.stopPropagation(), children: /* @__PURE__ */ e(
932
- Lt,
957
+ r && /* @__PURE__ */ e("div", { onClick: (O) => O.stopPropagation(), children: /* @__PURE__ */ e(
958
+ At,
933
959
  {
934
960
  name: r,
935
- status: y,
936
- dbSync: D,
961
+ status: u,
962
+ dbSync: R,
937
963
  visible: ie && !a,
938
- metrics: B,
964
+ metrics: A,
939
965
  alerts: $
940
966
  }
941
967
  ) }),
942
- a && /* @__PURE__ */ e("div", { onClick: (I) => I.stopPropagation(), children: /* @__PURE__ */ e(
943
- Ot,
968
+ a && /* @__PURE__ */ e("div", { onClick: (O) => O.stopPropagation(), children: /* @__PURE__ */ e(
969
+ It,
944
970
  {
945
971
  component: a,
946
- onClose: P,
972
+ onClose: k,
947
973
  visible: s >= 0.3,
948
- sceneWidth: u,
949
- sceneHeight: b
974
+ sceneWidth: b,
975
+ sceneHeight: g
950
976
  }
951
977
  ) })
952
978
  ] });
953
979
  }
954
- function Nt({
980
+ function zt({
955
981
  x1: t,
956
- y1: o,
957
- x2: n,
982
+ y1: n,
983
+ x2: o,
958
984
  y2: i,
959
985
  show: r,
960
986
  color: a = "#00e5ff",
@@ -965,8 +991,8 @@ function Nt({
965
991
  "line",
966
992
  {
967
993
  x1: t,
968
- y1: o,
969
- x2: n,
994
+ y1: n,
995
+ x2: o,
970
996
  y2: i,
971
997
  stroke: a,
972
998
  strokeWidth: "8",
@@ -978,8 +1004,8 @@ function Nt({
978
1004
  "line",
979
1005
  {
980
1006
  x1: t,
981
- y1: o,
982
- x2: n,
1007
+ y1: n,
1008
+ x2: o,
983
1009
  y2: i,
984
1010
  stroke: a,
985
1011
  strokeWidth: "2",
@@ -1004,7 +1030,7 @@ function Nt({
1004
1030
  {
1005
1031
  dur: s,
1006
1032
  repeatCount: "indefinite",
1007
- path: `M${t},${o} L${n},${i}`
1033
+ path: `M${t},${n} L${o},${i}`
1008
1034
  }
1009
1035
  ) }),
1010
1036
  /* @__PURE__ */ e("circle", { r: "8", fill: a, opacity: 0.18, children: /* @__PURE__ */ e(
@@ -1012,7 +1038,7 @@ function Nt({
1012
1038
  {
1013
1039
  dur: s,
1014
1040
  repeatCount: "indefinite",
1015
- path: `M${t},${o} L${n},${i}`
1041
+ path: `M${t},${n} L${o},${i}`
1016
1042
  }
1017
1043
  ) })
1018
1044
  ] })
@@ -1025,14 +1051,14 @@ const Mt = [
1025
1051
  { scale: 0.47, op: 0.58, delay: "1.5s", bw: "1px", glow: 0.35 },
1026
1052
  { scale: 0.3, op: 0.45, delay: "2.0s", bw: "1px", glow: 0.25 }
1027
1053
  ];
1028
- function Bt({
1054
+ function Nt({
1029
1055
  children: t,
1030
- size: o = 230,
1031
- widthRatio: n = 1,
1056
+ size: n = 230,
1057
+ widthRatio: o = 1,
1032
1058
  color: i = "#00e5ff",
1033
1059
  label: r
1034
1060
  }) {
1035
- const a = o * n;
1061
+ const a = n * o;
1036
1062
  return /* @__PURE__ */ d("div", { style: {
1037
1063
  display: "flex",
1038
1064
  flexDirection: "column",
@@ -1137,7 +1163,7 @@ function Bt({
1137
1163
  /* @__PURE__ */ d("div", { style: {
1138
1164
  position: "relative",
1139
1165
  width: a,
1140
- height: o * 0.34,
1166
+ height: n * 0.34,
1141
1167
  display: "flex",
1142
1168
  alignItems: "center",
1143
1169
  justifyContent: "center",
@@ -1146,11 +1172,11 @@ function Bt({
1146
1172
  }, children: [
1147
1173
  /* @__PURE__ */ e("div", { style: {
1148
1174
  position: "absolute",
1149
- bottom: o * 0.03,
1175
+ bottom: n * 0.03,
1150
1176
  left: "50%",
1151
1177
  transform: "translateX(-50%) scaleY(0.20)",
1152
1178
  width: a * 0.88,
1153
- height: o * 0.88,
1179
+ height: n * 0.88,
1154
1180
  borderRadius: "50%",
1155
1181
  background: `radial-gradient(circle,
1156
1182
  rgba(255,255,255,0.08) 0%,
@@ -1167,11 +1193,11 @@ function Bt({
1167
1193
  } }),
1168
1194
  /* @__PURE__ */ e("div", { style: {
1169
1195
  position: "absolute",
1170
- bottom: o * 0.05,
1196
+ bottom: n * 0.05,
1171
1197
  left: "50%",
1172
1198
  transform: "translateX(-50%) scaleY(0.20)",
1173
1199
  width: a * 0.42,
1174
- height: o * 0.42,
1200
+ height: n * 0.42,
1175
1201
  borderRadius: "50%",
1176
1202
  background: `radial-gradient(circle,
1177
1203
  rgba(255,255,255,0.22) 0%,
@@ -1194,7 +1220,7 @@ function Bt({
1194
1220
  Mt.map((s, l) => /* @__PURE__ */ e("div", { style: {
1195
1221
  position: "absolute",
1196
1222
  width: a * s.scale,
1197
- height: o * s.scale,
1223
+ height: n * s.scale,
1198
1224
  borderRadius: "50%",
1199
1225
  border: `${s.bw} solid ${i}`,
1200
1226
  opacity: s.op,
@@ -1206,7 +1232,7 @@ function Bt({
1206
1232
  /* @__PURE__ */ e("div", { style: {
1207
1233
  position: "absolute",
1208
1234
  width: a * 1.04,
1209
- height: o * 1.04,
1235
+ height: n * 1.04,
1210
1236
  borderRadius: "50%",
1211
1237
  transform: "scaleY(0.22)",
1212
1238
  border: `1px dashed ${i}55`,
@@ -1215,7 +1241,7 @@ function Bt({
1215
1241
  /* @__PURE__ */ e("div", { style: {
1216
1242
  position: "absolute",
1217
1243
  width: a * 0.1,
1218
- height: o * 0.1,
1244
+ height: n * 0.1,
1219
1245
  borderRadius: "50%",
1220
1246
  transform: "scaleY(0.22)",
1221
1247
  background: `radial-gradient(circle, #ffffff 0%, ${i} 35%, transparent 70%)`,
@@ -1234,11 +1260,11 @@ function Bt({
1234
1260
  }, children: r })
1235
1261
  ] });
1236
1262
  }
1237
- const ae = Xe(null), Ut = "cubic-bezier(0.34, 1.56, 0.64, 1)", it = 330, ot = 340, Ft = 660;
1263
+ const ae = Xe(null), Bt = "cubic-bezier(0.34, 1.56, 0.64, 1)", it = 330, nt = 340, Ft = 660;
1238
1264
  function dt({
1239
1265
  name: t,
1240
- status: o = "online",
1241
- connections: n = [],
1266
+ status: n = "online",
1267
+ connections: o = [],
1242
1268
  baseConfig: i,
1243
1269
  children: r,
1244
1270
  _index: a,
@@ -1248,32 +1274,32 @@ function dt({
1248
1274
  _animPhase: c,
1249
1275
  _selectedSystem: p,
1250
1276
  _selectedComponent: h,
1251
- _rotateY: g,
1252
- _autoRotateComponents: u,
1253
- _componentScale: b,
1277
+ _rotateY: y,
1278
+ _autoRotateComponents: b,
1279
+ _componentScale: g,
1254
1280
  _drillZoom: m,
1255
1281
  _onSelectSystem: x,
1256
- _onComponentClick: w,
1257
- _containerWidth: P
1282
+ _onComponentClick: v,
1283
+ _containerWidth: k
1258
1284
  }) {
1259
- const y = ve(qe), D = ve(Ke), B = a ?? D.index, $ = s ?? y?.totalSystems ?? 1, V = l ?? y?.carouselRotation ?? 0, v = f ?? y?.viewState ?? "compact", W = c ?? y?.animPhase ?? 0, X = p ?? y?.selectedSystem ?? null, z = h ?? y?.selectedComponent ?? null, te = g ?? y?.rotateY ?? 20, ie = u ?? y?.autoRotateComponents ?? !0, I = b ?? y?.componentScale ?? 0.35, U = m ?? y?.drillZoom ?? 3.3, oe = x ?? y?.onSelectSystem, Se = w ?? y?.onComponentClick, ke = P ?? y?.containerWidth ?? 950, G = X === t, N = G && (v === "expanded" || v === "expanding" && W >= 1), C = !N, $e = (ke - Ft) / 2, ne = it + $e, le = B / $ * Math.PI * 2 + V, Ne = 420, Te = 160, Re = ne + Math.cos(le) * Ne, se = 450 + Math.sin(le) * Te, xt = Math.round(se), Me = !G && (v === "expanding" || v === "expanded"), vt = Me ? 0 : 1, Pe = C ? 0.3 + (Math.sin(le) + 1) * 0.1 : 1, wt = C ? Pe : I, Ae = v === "compact" || v === "collapsing" ? "none" : "all 1s cubic-bezier(0.34, 1.56, 0.64, 1)", tt = G && z, Be = tt ? U : 1, St = z?.ex ?? 330, kt = z?.ey ?? 300, { size: $t = 90, color: Rt = "#00e5ff", widthRatio: Pt = 3 } = i ?? {}, Ct = {
1285
+ const u = ve(Ge), R = ve(Ke), A = a ?? R.index, $ = s ?? u?.totalSystems ?? 1, V = l ?? u?.carouselRotation ?? 0, W = f ?? u?.viewState ?? "compact", B = c ?? u?.animPhase ?? 0, X = p ?? u?.selectedSystem ?? null, z = h ?? u?.selectedComponent ?? null, te = y ?? u?.rotateY ?? 20, ie = b ?? u?.autoRotateComponents ?? !0, O = g ?? u?.componentScale ?? 0.35, F = m ?? u?.drillZoom ?? 3.3, ne = x ?? u?.onSelectSystem, Se = v ?? u?.onComponentClick, $e = k ?? u?.containerWidth ?? 950, Q = X === t, M = Q && (W === "expanded" || W === "expanding" && B >= 1), C = !M, ke = ($e - Ft) / 2, oe = it + ke, le = A / $ * Math.PI * 2 + V, Ne = 420, Te = 160, Re = oe + Math.cos(le) * Ne, se = 450 + Math.sin(le) * Te, mt = Math.round(se), Be = !Q && (W === "expanding" || W === "expanded"), xt = Be ? 0 : 1, Pe = C ? 0.3 + (Math.sin(le) + 1) * 0.1 : 1, vt = C ? Pe : O, Ae = W === "compact" || W === "collapsing" ? "none" : "all 1s cubic-bezier(0.34, 1.56, 0.64, 1)", tt = Q && z, Fe = tt ? F : 1, wt = z?.ex ?? 330, St = z?.ey ?? 300, { size: $t = 90, color: kt = "#00e5ff", widthRatio: Rt = 3 } = i ?? {}, Pt = {
1260
1286
  name: t,
1261
- isSelected: G,
1262
- isExpandedPos: N,
1287
+ isSelected: Q,
1288
+ isExpandedPos: M,
1263
1289
  isCompact: C,
1264
- animPhase: W,
1290
+ animPhase: B,
1265
1291
  compactCx: Re,
1266
1292
  compactCy: se,
1267
1293
  groupScale: Pe,
1268
- effectiveScale: wt,
1294
+ effectiveScale: vt,
1269
1295
  transitionValue: Ae,
1270
1296
  rotateY: te,
1271
1297
  autoRotateComponents: ie,
1272
1298
  onComponentClick: Se,
1273
1299
  selectedComponentName: z?.name ?? null,
1274
- expandedOffsetX: $e
1300
+ expandedOffsetX: ke
1275
1301
  };
1276
- return /* @__PURE__ */ e(ae.Provider, { value: Ct, children: /* @__PURE__ */ d(
1302
+ return /* @__PURE__ */ e(ae.Provider, { value: Pt, children: /* @__PURE__ */ d(
1277
1303
  "div",
1278
1304
  {
1279
1305
  style: {
@@ -1283,15 +1309,15 @@ function dt({
1283
1309
  width: "100%",
1284
1310
  height: "100%",
1285
1311
  pointerEvents: "none",
1286
- opacity: vt,
1287
- transition: `opacity 0.8s ease, filter 0.5s ease, transform 0.6s ${Ut}`,
1312
+ opacity: xt,
1313
+ transition: `opacity 0.8s ease, filter 0.5s ease, transform 0.6s ${Bt}`,
1288
1314
  filter: C && Math.sin(le) < -0.5 ? "brightness(0.5) blur(2px)" : "none",
1289
- zIndex: G ? 500 : Me ? 0 : xt,
1290
- transformOrigin: `${ne}px ${ot}px`,
1291
- transform: tt ? `translate(${-(St - it) * Be}px, ${-(kt - ot) * Be}px) scale(${Be})` : "none"
1315
+ zIndex: Q ? 500 : Be ? 0 : mt,
1316
+ transformOrigin: `${oe}px ${nt}px`,
1317
+ transform: tt ? `translate(${-(wt - it) * Fe}px, ${-(St - nt) * Fe}px) scale(${Fe})` : "none"
1292
1318
  },
1293
1319
  children: [
1294
- C && !Me && /* @__PURE__ */ e(
1320
+ C && !Be && /* @__PURE__ */ e(
1295
1321
  "div",
1296
1322
  {
1297
1323
  style: {
@@ -1306,11 +1332,11 @@ function dt({
1306
1332
  zIndex: 101
1307
1333
  },
1308
1334
  onClick: (j) => {
1309
- j.stopPropagation(), oe?.(t);
1335
+ j.stopPropagation(), ne?.(t);
1310
1336
  }
1311
1337
  }
1312
1338
  ),
1313
- C && (o === "warning" || o === "critical") && /* @__PURE__ */ e(
1339
+ C && (n === "warning" || n === "critical") && /* @__PURE__ */ e(
1314
1340
  "div",
1315
1341
  {
1316
1342
  style: {
@@ -1321,17 +1347,17 @@ function dt({
1321
1347
  zIndex: 110,
1322
1348
  pointerEvents: "none",
1323
1349
  animation: "holo-led-blink 1.5s infinite",
1324
- filter: `drop-shadow(0 0 10px ${o === "critical" ? "#ff2255" : "#ff8c00"})`
1350
+ filter: `drop-shadow(0 0 10px ${n === "critical" ? "#ff2255" : "#ff8c00"})`
1325
1351
  },
1326
1352
  children: /* @__PURE__ */ d("svg", { width: "48", height: "48", viewBox: "0 0 28 28", fill: "none", children: [
1327
1353
  /* @__PURE__ */ e(
1328
1354
  "path",
1329
1355
  {
1330
1356
  d: "M14 3L1.5 25.5h25L14 3z",
1331
- stroke: o === "critical" ? "#ff2255" : "#ff8c00",
1357
+ stroke: n === "critical" ? "#ff2255" : "#ff8c00",
1332
1358
  strokeWidth: "2",
1333
1359
  strokeLinejoin: "round",
1334
- fill: (o === "critical" ? "#ff2255" : "#ff8c00") + "22"
1360
+ fill: (n === "critical" ? "#ff2255" : "#ff8c00") + "22"
1335
1361
  }
1336
1362
  ),
1337
1363
  /* @__PURE__ */ e(
@@ -1341,7 +1367,7 @@ function dt({
1341
1367
  y1: "11",
1342
1368
  x2: "14",
1343
1369
  y2: "18",
1344
- stroke: o === "critical" ? "#ff2255" : "#ff8c00",
1370
+ stroke: n === "critical" ? "#ff2255" : "#ff8c00",
1345
1371
  strokeWidth: "2.5",
1346
1372
  strokeLinecap: "round"
1347
1373
  }
@@ -1352,7 +1378,7 @@ function dt({
1352
1378
  cx: "14",
1353
1379
  cy: "21.5",
1354
1380
  r: "1.5",
1355
- fill: o === "critical" ? "#ff2255" : "#ff8c00"
1381
+ fill: n === "critical" ? "#ff2255" : "#ff8c00"
1356
1382
  }
1357
1383
  )
1358
1384
  ] })
@@ -1363,9 +1389,9 @@ function dt({
1363
1389
  {
1364
1390
  style: {
1365
1391
  position: "absolute",
1366
- left: N ? ne : Re,
1367
- top: N ? 48 : se - 180,
1368
- transform: `translate(-50%, -50%) scale(${N ? 1.2 : Pe * 1.5})`,
1392
+ left: M ? oe : Re,
1393
+ top: M ? 48 : se - 180,
1394
+ transform: `translate(-50%, -50%) scale(${M ? 1.2 : Pe * 1.5})`,
1369
1395
  opacity: 1,
1370
1396
  pointerEvents: "none",
1371
1397
  zIndex: 100,
@@ -1389,25 +1415,25 @@ function dt({
1389
1415
  style: {
1390
1416
  position: "absolute",
1391
1417
  top: 0,
1392
- left: N ? $e : 0,
1418
+ left: M ? ke : 0,
1393
1419
  width: 660,
1394
1420
  height: 640,
1395
1421
  pointerEvents: "none",
1396
1422
  zIndex: 0,
1397
1423
  transition: Ae
1398
1424
  },
1399
- children: n.map((j, Et) => /* @__PURE__ */ e(
1400
- Nt,
1425
+ children: o.map((j, Ct) => /* @__PURE__ */ e(
1426
+ zt,
1401
1427
  {
1402
1428
  x1: j.from[0],
1403
1429
  y1: j.from[1],
1404
1430
  x2: j.to[0],
1405
1431
  y2: j.to[1],
1406
- show: G && W >= (j.visibleAtPhase ?? 0),
1432
+ show: Q && B >= (j.visibleAtPhase ?? 0),
1407
1433
  color: j.color,
1408
1434
  dur: j.duration
1409
1435
  },
1410
- Et
1436
+ Ct
1411
1437
  ))
1412
1438
  }
1413
1439
  ),
@@ -1416,13 +1442,13 @@ function dt({
1416
1442
  {
1417
1443
  style: {
1418
1444
  position: "absolute",
1419
- left: N ? ne : Re,
1420
- top: N ? 570 : se + 70,
1421
- transform: `translate(-50%, -50%) scaleX(${N ? 1 : 0.4}) scaleY(${N ? 1 : 0.6}) scale(${N ? 1 : Pe})`,
1445
+ left: M ? oe : Re,
1446
+ top: M ? 570 : se + 70,
1447
+ transform: `translate(-50%, -50%) scaleX(${M ? 1 : 0.4}) scaleY(${M ? 1 : 0.6}) scale(${M ? 1 : Pe})`,
1422
1448
  transition: Ae,
1423
1449
  zIndex: 1
1424
1450
  },
1425
- children: /* @__PURE__ */ e(Bt, { size: $t, color: Rt, widthRatio: Pt, children: /* @__PURE__ */ e("div", { className: "base-hotspot" }) })
1451
+ children: /* @__PURE__ */ e(Nt, { size: $t, color: kt, widthRatio: Rt, children: /* @__PURE__ */ e("div", { className: "base-hotspot" }) })
1426
1452
  }
1427
1453
  ),
1428
1454
  r
@@ -1432,8 +1458,8 @@ function dt({
1432
1458
  }
1433
1459
  function T({
1434
1460
  ex: t,
1435
- ey: o,
1436
- compactOffset: n,
1461
+ ey: n,
1462
+ compactOffset: o,
1437
1463
  zIndex: i,
1438
1464
  children: r,
1439
1465
  color: a = "#00e5ff",
@@ -1443,28 +1469,28 @@ function T({
1443
1469
  componentInfo: c,
1444
1470
  visibleAtPhase: p = 0,
1445
1471
  fixedScale: h,
1446
- bare: g = !1
1472
+ bare: y = !1
1447
1473
  }) {
1448
- const u = ve(ae);
1449
- if (!u)
1474
+ const b = ve(ae);
1475
+ if (!b)
1450
1476
  throw new Error("ServiceNode must be used inside a <Service> component.");
1451
1477
  const {
1452
- isExpandedPos: b,
1478
+ isExpandedPos: g,
1453
1479
  animPhase: m,
1454
1480
  compactCx: x,
1455
- compactCy: w,
1456
- groupScale: P,
1457
- effectiveScale: y,
1458
- transitionValue: D,
1459
- onComponentClick: B,
1481
+ compactCy: v,
1482
+ groupScale: k,
1483
+ effectiveScale: u,
1484
+ transitionValue: R,
1485
+ onComponentClick: A,
1460
1486
  selectedComponentName: $,
1461
1487
  expandedOffsetX: V
1462
- } = u, W = p === 0 || u.isSelected && m >= p ? 1 : 0, X = x + n.x, z = w + n.y, te = b ? t + V : X, ie = b ? o : z, I = h !== void 0 ? h : u.isCompact ? P : y, U = !!c && !!$ && c.name === $, oe = c?.status ? S[c.status]?.color ?? a : a, Se = c?.status === "offline" ? "#4a6a8a" : oe, ke = c && b && B ? () => B({
1488
+ } = b, B = p === 0 || b.isSelected && m >= p ? 1 : 0, X = x + o.x, z = v + o.y, te = g ? t + V : X, ie = g ? n : z, O = h !== void 0 ? h : b.isCompact ? k : u, F = !!c && !!$ && c.name === $, ne = c?.status ? w[c.status]?.color ?? a : a, Se = c?.status === "offline" ? "#4a6a8a" : ne, $e = c && g && A ? () => A({
1463
1489
  type: c.type,
1464
1490
  name: c.name,
1465
1491
  status: c.status,
1466
1492
  ex: c.ex ?? t,
1467
- ey: c.ey ?? o,
1493
+ ey: c.ey ?? n,
1468
1494
  context: c.context,
1469
1495
  subComponents: c.subComponents,
1470
1496
  graphSeries: c.graphSeries
@@ -1476,23 +1502,23 @@ function T({
1476
1502
  position: "absolute",
1477
1503
  left: te,
1478
1504
  top: ie,
1479
- transform: `translate(-50%, -50%) scale(${I})`,
1480
- opacity: W,
1505
+ transform: `translate(-50%, -50%) scale(${O})`,
1506
+ opacity: B,
1481
1507
  zIndex: i,
1482
- transition: D || "all 1s cubic-bezier(0.34, 1.56, 0.64, 1)",
1483
- pointerEvents: b && W >= 0.5 ? "auto" : "none"
1508
+ transition: R || "all 1s cubic-bezier(0.34, 1.56, 0.64, 1)",
1509
+ pointerEvents: g && B >= 0.5 ? "auto" : "none"
1484
1510
  },
1485
- children: g ? r : /* @__PURE__ */ e(
1511
+ children: y ? r : /* @__PURE__ */ e(
1486
1512
  Ht,
1487
1513
  {
1488
1514
  statusColor: Se,
1489
1515
  label: s,
1490
1516
  subLabel: l,
1491
1517
  delay: f,
1492
- showLabels: b,
1493
- isCompact: u.isCompact,
1494
- onClick: ke,
1495
- isSelected: U,
1518
+ showLabels: g,
1519
+ isCompact: b.isCompact,
1520
+ onClick: $e,
1521
+ isSelected: F,
1496
1522
  children: r
1497
1523
  }
1498
1524
  )
@@ -1501,8 +1527,8 @@ function T({
1501
1527
  }
1502
1528
  function Ht({
1503
1529
  children: t,
1504
- statusColor: o,
1505
- label: n,
1530
+ statusColor: n,
1531
+ label: o,
1506
1532
  subLabel: i,
1507
1533
  delay: r = "0s",
1508
1534
  showLabels: a = !0,
@@ -1510,13 +1536,13 @@ function Ht({
1510
1536
  onClick: l,
1511
1537
  isSelected: f = !1
1512
1538
  }) {
1513
- const [c, p] = A(!1), h = f ? `brightness(1.5) drop-shadow(0 0 24px ${o}cc) drop-shadow(0 0 8px ${o}88)` : c && l ? `brightness(1.2) drop-shadow(0 0 12px ${o}77)` : "";
1539
+ const [c, p] = L(!1), h = f ? `brightness(1.5) drop-shadow(0 0 24px ${n}cc) drop-shadow(0 0 8px ${n}88)` : c && l ? `brightness(1.2) drop-shadow(0 0 12px ${n}77)` : "";
1514
1540
  return /* @__PURE__ */ d(
1515
1541
  "div",
1516
1542
  {
1517
1543
  className: `float-node${l ? " float-node--interactive" : ""}`,
1518
- onClick: (g) => {
1519
- l && (g.stopPropagation(), l());
1544
+ onClick: (y) => {
1545
+ l && (y.stopPropagation(), l());
1520
1546
  },
1521
1547
  style: {
1522
1548
  cursor: l ? "pointer" : void 0,
@@ -1534,8 +1560,8 @@ function Ht({
1534
1560
  {
1535
1561
  className: "scan-line",
1536
1562
  style: {
1537
- background: `linear-gradient(90deg, transparent 5%, ${o}cc 40%, #fff 50%, ${o}cc 60%, transparent 95%)`,
1538
- boxShadow: `0 0 8px ${o}`
1563
+ background: `linear-gradient(90deg, transparent 5%, ${n}cc 40%, #fff 50%, ${n}cc 60%, transparent 95%)`,
1564
+ boxShadow: `0 0 8px ${n}`
1539
1565
  }
1540
1566
  }
1541
1567
  ),
@@ -1551,8 +1577,8 @@ function Ht({
1551
1577
  transition: "opacity 0.5s ease"
1552
1578
  },
1553
1579
  children: [
1554
- n && /* @__PURE__ */ e("div", { className: "node-tag", style: { color: o + "cc" }, children: n }),
1555
- i && /* @__PURE__ */ e("div", { className: "node-subtag", style: { color: o + "77" }, children: i })
1580
+ o && /* @__PURE__ */ e("div", { className: "node-tag", style: { color: n + "cc" }, children: o }),
1581
+ i && /* @__PURE__ */ e("div", { className: "node-subtag", style: { color: n + "77" }, children: i })
1556
1582
  ]
1557
1583
  }
1558
1584
  )
@@ -1560,45 +1586,45 @@ function Ht({
1560
1586
  }
1561
1587
  );
1562
1588
  }
1563
- function ct({ synced: t, latencyMs: o }) {
1564
- const n = t ? "#00ff88" : "#ff8c00";
1589
+ function ct({ synced: t, latencyMs: n }) {
1590
+ const o = t ? "#00ff88" : "#ff8c00";
1565
1591
  return /* @__PURE__ */ d("div", { className: "sync-bridge", children: [
1566
1592
  /* @__PURE__ */ d("div", { className: "sync-arrows", children: [
1567
- /* @__PURE__ */ e("span", { style: { color: n, fontSize: 10, lineHeight: 1 }, children: "◄" }),
1593
+ /* @__PURE__ */ e("span", { style: { color: o, fontSize: 10, lineHeight: 1 }, children: "◄" }),
1568
1594
  /* @__PURE__ */ e(
1569
1595
  "div",
1570
1596
  {
1571
1597
  className: "sync-line",
1572
1598
  style: {
1573
- background: `linear-gradient(90deg, ${n}44, ${n}, ${n}44)`,
1574
- boxShadow: `0 0 8px ${n}55`
1599
+ background: `linear-gradient(90deg, ${o}44, ${o}, ${o}44)`,
1600
+ boxShadow: `0 0 8px ${o}55`
1575
1601
  }
1576
1602
  }
1577
1603
  ),
1578
- /* @__PURE__ */ e("span", { style: { color: n, fontSize: 10, lineHeight: 1 }, children: "►" })
1604
+ /* @__PURE__ */ e("span", { style: { color: o, fontSize: 10, lineHeight: 1 }, children: "►" })
1579
1605
  ] }),
1580
1606
  /* @__PURE__ */ e(
1581
1607
  "div",
1582
1608
  {
1583
1609
  className: "sync-status",
1584
1610
  style: {
1585
- color: n,
1611
+ color: o,
1586
1612
  animation: t ? "none" : "holo-led-blink 1s linear infinite"
1587
1613
  },
1588
1614
  children: t ? "SYNCED" : "LAG"
1589
1615
  }
1590
1616
  ),
1591
- /* @__PURE__ */ d("div", { className: "sync-latency", style: { color: n + "88" }, children: [
1592
- o,
1617
+ /* @__PURE__ */ d("div", { className: "sync-latency", style: { color: o + "88" }, children: [
1618
+ n,
1593
1619
  "ms ",
1594
1620
  t ? "replication" : "behind"
1595
1621
  ] })
1596
1622
  ] });
1597
1623
  }
1598
- function O({
1624
+ function D({
1599
1625
  ex: t,
1600
- ey: o,
1601
- status: n,
1626
+ ey: n,
1627
+ status: o,
1602
1628
  title: i,
1603
1629
  msg: r,
1604
1630
  offsetX: a,
@@ -1608,19 +1634,19 @@ function O({
1608
1634
  internalRef: c
1609
1635
  }) {
1610
1636
  const h = ve(ae)?.expandedOffsetX ?? 0;
1611
- if (n === "online") return null;
1612
- const g = S[n]?.color ?? S.warning.color, u = Math.abs(a) > Math.abs(s), b = t + h + (u ? Math.sign(a) * 45 : 0), m = o + (u ? 0 : Math.sign(s) * 40), x = t + h + a, w = o + s;
1613
- let P = "";
1614
- if (u) {
1615
- const $ = b + (x - b) / 2;
1616
- P = `M ${b} ${m} L ${$} ${m} L ${$} ${w} L ${x} ${w}`;
1637
+ if (o === "online") return null;
1638
+ const y = w[o]?.color ?? w.warning.color, b = Math.abs(a) > Math.abs(s), g = t + h + (b ? Math.sign(a) * 45 : 0), m = n + (b ? 0 : Math.sign(s) * 40), x = t + h + a, v = n + s;
1639
+ let k = "";
1640
+ if (b) {
1641
+ const $ = g + (x - g) / 2;
1642
+ k = `M ${g} ${m} L ${$} ${m} L ${$} ${v} L ${x} ${v}`;
1617
1643
  } else {
1618
- const $ = m + (w - m) / 2;
1619
- P = `M ${b} ${m} L ${b} ${$} L ${x} ${$} L ${x} ${w}`;
1644
+ const $ = m + (v - m) / 2;
1645
+ k = `M ${g} ${m} L ${g} ${$} L ${x} ${$} L ${x} ${v}`;
1620
1646
  }
1621
- let y = "translate(0, -50%)";
1622
- f === "left" && (y = "translate(-100%, -50%)"), f === "top" && (y = "translate(-50%, -100%)"), f === "bottom" && (y = "translate(-50%, 0)");
1623
- const D = f === "left" ? -8 : f === "right" ? 8 : 0, B = f === "top" ? -8 : f === "bottom" ? 8 : 0;
1647
+ let u = "translate(0, -50%)";
1648
+ f === "left" && (u = "translate(-100%, -50%)"), f === "top" && (u = "translate(-50%, -100%)"), f === "bottom" && (u = "translate(-50%, 0)");
1649
+ const R = f === "left" ? -8 : f === "right" ? 8 : 0, A = f === "top" ? -8 : f === "bottom" ? 8 : 0;
1624
1650
  return /* @__PURE__ */ d(
1625
1651
  "div",
1626
1652
  {
@@ -1651,12 +1677,12 @@ function O({
1651
1677
  children: /* @__PURE__ */ e(
1652
1678
  "path",
1653
1679
  {
1654
- d: P,
1680
+ d: k,
1655
1681
  fill: "none",
1656
- stroke: g,
1682
+ stroke: y,
1657
1683
  strokeWidth: "1.5",
1658
1684
  strokeDasharray: "5 4",
1659
- style: { filter: `drop-shadow(0 0 4px ${g})`, opacity: 0.55 }
1685
+ style: { filter: `drop-shadow(0 0 4px ${y})`, opacity: 0.55 }
1660
1686
  }
1661
1687
  )
1662
1688
  }
@@ -1667,13 +1693,13 @@ function O({
1667
1693
  style: {
1668
1694
  position: "absolute",
1669
1695
  left: x,
1670
- top: w,
1671
- transform: y,
1672
- marginLeft: D,
1673
- marginTop: B,
1696
+ top: v,
1697
+ transform: u,
1698
+ marginLeft: R,
1699
+ marginTop: A,
1674
1700
  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)",
1675
- border: `1px solid ${g}55`,
1676
- borderLeft: `2px solid ${g}`,
1701
+ border: `1px solid ${y}55`,
1702
+ borderLeft: `2px solid ${y}`,
1677
1703
  backdropFilter: "blur(8px)",
1678
1704
  WebkitBackdropFilter: "blur(8px)",
1679
1705
  padding: "6px 10px",
@@ -1681,7 +1707,7 @@ function O({
1681
1707
  color: "#fff",
1682
1708
  fontFamily: "'Courier New', monospace",
1683
1709
  width: 140,
1684
- boxShadow: `0 4px 12px rgba(0,0,0,0.4), 0 0 8px ${g}22 inset`
1710
+ boxShadow: `0 4px 12px rgba(0,0,0,0.4), 0 0 8px ${y}22 inset`
1685
1711
  },
1686
1712
  children: [
1687
1713
  /* @__PURE__ */ d(
@@ -1701,8 +1727,8 @@ function O({
1701
1727
  width: 4,
1702
1728
  height: 4,
1703
1729
  borderRadius: "50%",
1704
- background: g,
1705
- boxShadow: `0 0 6px ${g}`,
1730
+ background: y,
1731
+ boxShadow: `0 0 6px ${y}`,
1706
1732
  animation: "holo-led-blink 1.5s infinite"
1707
1733
  }
1708
1734
  }
@@ -1711,12 +1737,12 @@ function O({
1711
1737
  "div",
1712
1738
  {
1713
1739
  style: {
1714
- color: g,
1740
+ color: y,
1715
1741
  fontWeight: "600",
1716
1742
  fontSize: 10,
1717
1743
  letterSpacing: "1px",
1718
1744
  textTransform: "uppercase",
1719
- textShadow: `0 0 4px ${g}88`
1745
+ textShadow: `0 0 4px ${y}88`
1720
1746
  },
1721
1747
  children: c ? `${i} · ${c}` : i
1722
1748
  }
@@ -1742,28 +1768,28 @@ function O({
1742
1768
  }
1743
1769
  );
1744
1770
  }
1745
- const Q = 140, F = 240, Z = 160, de = Qe(Q, F, Z);
1746
- function Yt({
1771
+ const q = 140, H = 240, Z = 160, de = qe(q, H, Z);
1772
+ function Ut({
1747
1773
  cfg: t,
1748
- name: o,
1749
- cpuLoad: n,
1774
+ name: n,
1775
+ cpuLoad: o,
1750
1776
  memLoad: i,
1751
1777
  status: r,
1752
1778
  compact: a
1753
1779
  }) {
1754
- const s = Math.ceil(n / 100 * 3), l = r === "offline" ? "#4a6a8a" : t.color, f = [
1780
+ const s = Math.ceil(o / 100 * 3), l = r === "offline" ? "#4a6a8a" : t.color, f = [
1755
1781
  { color: t.color, on: r !== "offline", label: "PWR" },
1756
1782
  { color: t.color, on: r === "online" || r === "warning", label: "NET" },
1757
- { color: t.color, on: n > 15, label: "DSK" },
1783
+ { color: t.color, on: o > 15, label: "DSK" },
1758
1784
  { color: r === "critical" ? "#ff2255" : t.color, on: r === "critical", label: "FLT" }
1759
1785
  ];
1760
1786
  return /* @__PURE__ */ d(
1761
1787
  "div",
1762
1788
  {
1763
1789
  style: {
1764
- width: Q,
1765
- height: F,
1766
- background: a ? we : Ge,
1790
+ width: q,
1791
+ height: H,
1792
+ background: a ? we : Qe,
1767
1793
  position: "relative",
1768
1794
  overflow: "hidden",
1769
1795
  fontFamily: "'Courier New', monospace",
@@ -1841,7 +1867,7 @@ function Yt({
1841
1867
  letterSpacing: "0.08em",
1842
1868
  textShadow: `0 0 4px ${l}66`
1843
1869
  },
1844
- children: o
1870
+ children: n
1845
1871
  }
1846
1872
  ),
1847
1873
  /* @__PURE__ */ e("div", { style: { display: "flex", gap: 5 }, children: f.map((c, p) => /* @__PURE__ */ e(
@@ -1976,7 +2002,7 @@ function Yt({
1976
2002
  top: 0,
1977
2003
  left: 0,
1978
2004
  bottom: 0,
1979
- width: `${30 + n / 100 * 45 + p * 8}%`,
2005
+ width: `${30 + o / 100 * 45 + p * 8}%`,
1980
2006
  background: `linear-gradient(90deg, ${t.color}22, transparent)`
1981
2007
  }
1982
2008
  }
@@ -2067,7 +2093,7 @@ function Yt({
2067
2093
  }
2068
2094
  ),
2069
2095
  /* @__PURE__ */ e("div", { style: { flex: 1, display: "flex", flexDirection: "column", gap: 4 }, children: [
2070
- { val: n, color: t.color },
2096
+ { val: o, color: t.color },
2071
2097
  { val: i, color: t.color + "bb" }
2072
2098
  ].map((c, p) => /* @__PURE__ */ e(
2073
2099
  "div",
@@ -2154,13 +2180,13 @@ function Yt({
2154
2180
  }
2155
2181
  );
2156
2182
  }
2157
- function Vt() {
2183
+ function Yt() {
2158
2184
  return /* @__PURE__ */ d(
2159
2185
  "div",
2160
2186
  {
2161
2187
  style: {
2162
- width: Q,
2163
- height: F,
2188
+ width: q,
2189
+ height: H,
2164
2190
  background: "linear-gradient(180deg, #040c1a 0%, #030810 100%)",
2165
2191
  position: "relative",
2166
2192
  overflow: "hidden",
@@ -2268,15 +2294,15 @@ function Vt() {
2268
2294
  }
2269
2295
  );
2270
2296
  }
2271
- function nt({ side: t, color: o }) {
2272
- const n = t === "right";
2297
+ function ot({ side: t, color: n }) {
2298
+ const o = t === "right";
2273
2299
  return /* @__PURE__ */ d(
2274
2300
  "div",
2275
2301
  {
2276
2302
  style: {
2277
2303
  width: Z,
2278
- height: F,
2279
- background: n ? "linear-gradient(90deg, #040c1c 0%, #071428 60%, #040c1c 100%)" : "linear-gradient(90deg, #040c1c 0%, #071428 40%, #040c1c 100%)",
2304
+ height: H,
2305
+ background: o ? "linear-gradient(90deg, #040c1c 0%, #071428 60%, #040c1c 100%)" : "linear-gradient(90deg, #040c1c 0%, #071428 40%, #040c1c 100%)",
2280
2306
  position: "relative",
2281
2307
  overflow: "hidden"
2282
2308
  },
@@ -2290,17 +2316,17 @@ function nt({ side: t, color: o }) {
2290
2316
  left: 0,
2291
2317
  right: 0,
2292
2318
  height: 1,
2293
- background: `linear-gradient(90deg, transparent, ${o}22 50%, transparent)`
2319
+ background: `linear-gradient(90deg, transparent, ${n}22 50%, transparent)`
2294
2320
  }
2295
2321
  }
2296
2322
  ),
2297
- [8, F - 20].map((i) => /* @__PURE__ */ e(
2323
+ [8, H - 20].map((i) => /* @__PURE__ */ e(
2298
2324
  "div",
2299
2325
  {
2300
2326
  style: {
2301
2327
  position: "absolute",
2302
2328
  top: i,
2303
- left: n ? 10 : Z - 18,
2329
+ left: o ? 10 : Z - 18,
2304
2330
  width: 8,
2305
2331
  height: 8,
2306
2332
  borderRadius: 1,
@@ -2316,10 +2342,10 @@ function nt({ side: t, color: o }) {
2316
2342
  {
2317
2343
  style: {
2318
2344
  position: "absolute",
2319
- top: F * 0.35,
2320
- bottom: F * 0.15,
2321
- left: n ? 22 : 18,
2322
- right: n ? 18 : 22,
2345
+ top: H * 0.35,
2346
+ bottom: H * 0.15,
2347
+ left: o ? 22 : 18,
2348
+ right: o ? 18 : 22,
2323
2349
  display: "flex",
2324
2350
  flexDirection: "column",
2325
2351
  gap: 5,
@@ -2345,8 +2371,8 @@ function nt({ side: t, color: o }) {
2345
2371
  {
2346
2372
  style: {
2347
2373
  position: "absolute",
2348
- top: F * 0.18,
2349
- left: n ? 12 : Z - 78,
2374
+ top: H * 0.18,
2375
+ left: o ? 12 : Z - 78,
2350
2376
  fontSize: 7,
2351
2377
  color: "#1a3050",
2352
2378
  letterSpacing: "0.2em",
@@ -2361,13 +2387,13 @@ function nt({ side: t, color: o }) {
2361
2387
  }
2362
2388
  );
2363
2389
  }
2364
- function _t({ cpuLoad: t }) {
2365
- const o = t / 100, n = o > 0.75 ? "rgba(255,34,85,0.16)" : o > 0.45 ? "rgba(255,140,0,0.12)" : "rgba(0,229,255,0.08)", i = Math.floor((Z - 18) / 7);
2390
+ function Vt({ cpuLoad: t }) {
2391
+ const n = t / 100, o = n > 0.75 ? "rgba(255,34,85,0.16)" : n > 0.45 ? "rgba(255,140,0,0.12)" : "rgba(0,229,255,0.08)", i = Math.floor((Z - 18) / 7);
2366
2392
  return /* @__PURE__ */ d(
2367
2393
  "div",
2368
2394
  {
2369
2395
  style: {
2370
- width: Q,
2396
+ width: q,
2371
2397
  height: Z,
2372
2398
  background: "linear-gradient(180deg, #0c1c30 0%, #070f1e 40%, #040c1a 100%)",
2373
2399
  position: "relative",
@@ -2383,7 +2409,7 @@ function _t({ cpuLoad: t }) {
2383
2409
  left: 0,
2384
2410
  right: 0,
2385
2411
  height: Z * 0.4,
2386
- background: `radial-gradient(ellipse at 50% 0%, ${n} 0%, transparent 70%)`
2412
+ background: `radial-gradient(ellipse at 50% 0%, ${o} 0%, transparent 70%)`
2387
2413
  }
2388
2414
  }
2389
2415
  ),
@@ -2443,8 +2469,8 @@ function _t({ cpuLoad: t }) {
2443
2469
  }
2444
2470
  function ue({
2445
2471
  rotateX: t = -22,
2446
- rotateY: o = 20,
2447
- rotateZ: n = 0,
2472
+ rotateY: n = 20,
2473
+ rotateZ: o = 0,
2448
2474
  scale: i = 1,
2449
2475
  autoRotate: r = !1,
2450
2476
  status: a = "online",
@@ -2453,26 +2479,26 @@ function ue({
2453
2479
  memLoad: f = 82,
2454
2480
  _compact: c
2455
2481
  }) {
2456
- const [p, h] = A(o), g = ee(0), u = ee(0);
2482
+ const [p, h] = L(n), y = ee(0), b = ee(0);
2457
2483
  Ee(() => {
2458
2484
  if (!r) {
2459
- h(o);
2485
+ h(n);
2460
2486
  return;
2461
2487
  }
2462
2488
  const m = (x) => {
2463
- u.current && h((w) => w + (x - u.current) * 0.027), u.current = x, g.current = requestAnimationFrame(m);
2489
+ b.current && h((v) => v + (x - b.current) * 0.027), b.current = x, y.current = requestAnimationFrame(m);
2464
2490
  };
2465
- return g.current = requestAnimationFrame(m), () => {
2466
- cancelAnimationFrame(g.current), u.current = 0;
2491
+ return y.current = requestAnimationFrame(m), () => {
2492
+ cancelAnimationFrame(y.current), b.current = 0;
2467
2493
  };
2468
- }, [r, o]);
2469
- const b = S[a] ?? S.online;
2494
+ }, [r, n]);
2495
+ const g = w[a] ?? w.online;
2470
2496
  return /* @__PURE__ */ d(
2471
2497
  "div",
2472
2498
  {
2473
2499
  style: {
2474
- width: Q * i,
2475
- height: F * i,
2500
+ width: q * i,
2501
+ height: H * i,
2476
2502
  position: "relative",
2477
2503
  display: "flex",
2478
2504
  alignItems: "center",
@@ -2490,17 +2516,17 @@ function ue({
2490
2516
  zIndex: 110,
2491
2517
  pointerEvents: "none",
2492
2518
  animation: "holo-led-blink 1.5s infinite",
2493
- filter: `drop-shadow(0 0 10px ${b.color})`
2519
+ filter: `drop-shadow(0 0 10px ${g.color})`
2494
2520
  },
2495
2521
  children: /* @__PURE__ */ d("svg", { width: "44", height: "44", viewBox: "0 0 28 28", fill: "none", children: [
2496
2522
  /* @__PURE__ */ e(
2497
2523
  "path",
2498
2524
  {
2499
2525
  d: "M14 3L1.5 25.5h25L14 3z",
2500
- stroke: b.color,
2526
+ stroke: g.color,
2501
2527
  strokeWidth: "2",
2502
2528
  strokeLinejoin: "round",
2503
- fill: b.color + "22"
2529
+ fill: g.color + "22"
2504
2530
  }
2505
2531
  ),
2506
2532
  /* @__PURE__ */ e(
@@ -2510,12 +2536,12 @@ function ue({
2510
2536
  y1: "11",
2511
2537
  x2: "14",
2512
2538
  y2: "18",
2513
- stroke: b.color,
2539
+ stroke: g.color,
2514
2540
  strokeWidth: "2.5",
2515
2541
  strokeLinecap: "round"
2516
2542
  }
2517
2543
  ),
2518
- /* @__PURE__ */ e("circle", { cx: "14", cy: "21.5", r: "1.5", fill: b.color })
2544
+ /* @__PURE__ */ e("circle", { cx: "14", cy: "21.5", r: "1.5", fill: g.color })
2519
2545
  ] })
2520
2546
  }
2521
2547
  ),
@@ -2524,9 +2550,9 @@ function ue({
2524
2550
  {
2525
2551
  style: {
2526
2552
  position: "absolute",
2527
- width: Q * 1.4 * i,
2528
- height: F * 0.8 * i,
2529
- background: `radial-gradient(ellipse, ${b.glow} 0%, transparent 65%)`,
2553
+ width: q * 1.4 * i,
2554
+ height: H * 0.8 * i,
2555
+ background: `radial-gradient(ellipse, ${g.glow} 0%, transparent 65%)`,
2530
2556
  filter: `blur(${Math.round(45 * i)}px)`,
2531
2557
  pointerEvents: "none",
2532
2558
  top: "40%",
@@ -2548,18 +2574,18 @@ function ue({
2548
2574
  "div",
2549
2575
  {
2550
2576
  style: {
2551
- width: Q,
2552
- height: F,
2577
+ width: q,
2578
+ height: H,
2553
2579
  position: "relative",
2554
2580
  transformStyle: "preserve-3d",
2555
- transform: `rotateX(${t}deg) rotateY(${p}deg) rotateZ(${n}deg)`,
2581
+ transform: `rotateX(${t}deg) rotateY(${p}deg) rotateZ(${o}deg)`,
2556
2582
  transition: r ? "none" : "transform 0.55s cubic-bezier(0.25, 0.46, 0.45, 0.94)"
2557
2583
  },
2558
2584
  children: [
2559
2585
  /* @__PURE__ */ e("div", { style: de.front, children: /* @__PURE__ */ e(
2560
- Yt,
2586
+ Ut,
2561
2587
  {
2562
- cfg: b,
2588
+ cfg: g,
2563
2589
  name: s,
2564
2590
  cpuLoad: l,
2565
2591
  memLoad: f,
@@ -2567,15 +2593,15 @@ function ue({
2567
2593
  compact: c
2568
2594
  }
2569
2595
  ) }),
2570
- /* @__PURE__ */ e("div", { style: de.back, children: /* @__PURE__ */ e(Vt, {}) }),
2571
- /* @__PURE__ */ e("div", { style: de.left, children: /* @__PURE__ */ e(nt, { side: "left", color: b.color }) }),
2572
- /* @__PURE__ */ e("div", { style: de.right, children: /* @__PURE__ */ e(nt, { side: "right", color: b.color }) }),
2573
- /* @__PURE__ */ e("div", { style: de.top, children: /* @__PURE__ */ e(_t, { cpuLoad: l }) }),
2596
+ /* @__PURE__ */ e("div", { style: de.back, children: /* @__PURE__ */ e(Yt, {}) }),
2597
+ /* @__PURE__ */ e("div", { style: de.left, children: /* @__PURE__ */ e(ot, { side: "left", color: g.color }) }),
2598
+ /* @__PURE__ */ e("div", { style: de.right, children: /* @__PURE__ */ e(ot, { side: "right", color: g.color }) }),
2599
+ /* @__PURE__ */ e("div", { style: de.top, children: /* @__PURE__ */ e(Vt, { cpuLoad: l }) }),
2574
2600
  /* @__PURE__ */ e("div", { style: de.bottom, children: /* @__PURE__ */ e(
2575
2601
  "div",
2576
2602
  {
2577
2603
  style: {
2578
- width: Q,
2604
+ width: q,
2579
2605
  height: Z,
2580
2606
  background: "linear-gradient(180deg, #030710, #020508)"
2581
2607
  }
@@ -2590,21 +2616,21 @@ function ue({
2590
2616
  }
2591
2617
  );
2592
2618
  }
2593
- const je = 12, re = 55, _ = re * 2, he = 52, Ze = 10, Fe = 3 * he + 2 * Ze, ce = 2 * Math.PI * re / je, He = Array.from({ length: je }, (t, o) => o / je * 360);
2619
+ const je = 12, re = 55, _ = re * 2, he = 52, Ze = 10, He = 3 * he + 2 * Ze, ce = 2 * Math.PI * re / je, Ue = Array.from({ length: je }, (t, n) => n / je * 360);
2594
2620
  function Ye(t) {
2595
2621
  return Math.cos(t * Math.PI / 180) * 0.42 + 0.58;
2596
2622
  }
2597
- function jt({
2623
+ function _t({
2598
2624
  diskY: t,
2599
- diskIdx: o,
2600
- cfg: n,
2625
+ diskIdx: n,
2626
+ cfg: o,
2601
2627
  hasRingBelow: i,
2602
2628
  capacity: r,
2603
2629
  compact: a
2604
2630
  }) {
2605
2631
  return /* @__PURE__ */ d(Ce, { children: [
2606
- He.map((s, l) => {
2607
- const f = Ye(s), c = l === 0, p = Math.round(4 + f * 9), h = Math.round(12 + f * 22), g = Math.round(28 + f * 44), u = Math.round(f * 0.55 * 255).toString(16).padStart(2, "0");
2632
+ Ue.map((s, l) => {
2633
+ const f = Ye(s), c = l === 0, p = Math.round(4 + f * 9), h = Math.round(12 + f * 22), y = Math.round(28 + f * 44), b = Math.round(f * 0.55 * 255).toString(16).padStart(2, "0");
2608
2634
  return /* @__PURE__ */ e(
2609
2635
  "div",
2610
2636
  {
@@ -2616,9 +2642,9 @@ function jt({
2616
2642
  top: t,
2617
2643
  transform: `rotateY(${s}deg) translateZ(${re}px)`,
2618
2644
  backfaceVisibility: "hidden",
2619
- background: c ? a ? "linear-gradient(180deg, rgb(0,28,62), rgb(0,18,44))" : "linear-gradient(180deg, rgba(0,28,62,0.70), rgba(0,18,44,0.76))" : `rgb(${p},${h},${g})`,
2620
- borderLeft: `1px solid ${n.color}${u}`,
2621
- boxShadow: c ? `inset 0 0 18px ${n.color}28` : "none"
2645
+ background: c ? a ? "linear-gradient(180deg, rgb(0,28,62), rgb(0,18,44))" : "linear-gradient(180deg, rgba(0,28,62,0.70), rgba(0,18,44,0.76))" : `rgb(${p},${h},${y})`,
2646
+ borderLeft: `1px solid ${o.color}${b}`,
2647
+ boxShadow: c ? `inset 0 0 18px ${o.color}28` : "none"
2622
2648
  },
2623
2649
  children: c && /* @__PURE__ */ d(Ce, { children: [
2624
2650
  /* @__PURE__ */ e(
@@ -2632,12 +2658,12 @@ function jt({
2632
2658
  width: 5,
2633
2659
  height: 5,
2634
2660
  borderRadius: "50%",
2635
- background: n.color,
2636
- boxShadow: `0 0 8px ${n.color}, 0 0 16px ${n.glow}`
2661
+ background: o.color,
2662
+ boxShadow: `0 0 8px ${o.color}, 0 0 16px ${o.glow}`
2637
2663
  }
2638
2664
  }
2639
2665
  ),
2640
- o === 1 && /* @__PURE__ */ e(
2666
+ n === 1 && /* @__PURE__ */ e(
2641
2667
  "div",
2642
2668
  {
2643
2669
  style: {
@@ -2656,7 +2682,7 @@ function jt({
2656
2682
  style: {
2657
2683
  width: `${r}%`,
2658
2684
  height: "100%",
2659
- background: `linear-gradient(90deg, ${n.color}77, ${n.color})`,
2685
+ background: `linear-gradient(90deg, ${o.color}77, ${o.color})`,
2660
2686
  borderRadius: 2
2661
2687
  }
2662
2688
  }
@@ -2665,7 +2691,7 @@ function jt({
2665
2691
  )
2666
2692
  ] })
2667
2693
  },
2668
- `p${o}${l}`
2694
+ `p${n}${l}`
2669
2695
  );
2670
2696
  }),
2671
2697
  /* @__PURE__ */ d(
@@ -2680,17 +2706,17 @@ function jt({
2680
2706
  borderRadius: "50%",
2681
2707
  transform: "rotateX(90deg)",
2682
2708
  backfaceVisibility: "hidden",
2683
- background: o === 0 ? a ? `radial-gradient(circle,
2684
- ${n.color}28 0%,
2685
- ${n.color}10 40%,
2709
+ background: n === 0 ? a ? `radial-gradient(circle,
2710
+ ${o.color}28 0%,
2711
+ ${o.color}10 40%,
2686
2712
  rgb(3,10,24) 75%,
2687
2713
  rgb(2,8,18) 100%)` : `radial-gradient(circle,
2688
- ${n.color}28 0%,
2689
- ${n.color}10 40%,
2714
+ ${o.color}28 0%,
2715
+ ${o.color}10 40%,
2690
2716
  rgba(3,10,24,0.96) 75%,
2691
2717
  transparent 100%)` : a ? "radial-gradient(circle, rgb(5,16,36), rgb(2,8,20))" : "radial-gradient(circle, rgba(5,16,36,0.96), rgba(2,8,20,0.99))",
2692
- border: `1px solid ${n.color}${o === 0 ? "55" : "2a"}`,
2693
- boxShadow: o === 0 ? `0 0 20px ${n.color}44` : "none"
2718
+ border: `1px solid ${o.color}${n === 0 ? "55" : "2a"}`,
2719
+ boxShadow: n === 0 ? `0 0 20px ${o.color}44` : "none"
2694
2720
  },
2695
2721
  children: [
2696
2722
  [0.62, 0.38, 0.18].map((s, l) => /* @__PURE__ */ e(
@@ -2704,8 +2730,8 @@ function jt({
2704
2730
  width: `${s * 100}%`,
2705
2731
  height: `${s * 100}%`,
2706
2732
  borderRadius: "50%",
2707
- border: `1px solid ${n.color}${["33", "2a", "44"][l]}`,
2708
- boxShadow: l === 2 ? `0 0 6px ${n.color}66` : "none"
2733
+ border: `1px solid ${o.color}${["33", "2a", "44"][l]}`,
2734
+ boxShadow: l === 2 ? `0 0 6px ${o.color}66` : "none"
2709
2735
  }
2710
2736
  },
2711
2737
  l
@@ -2721,8 +2747,8 @@ function jt({
2721
2747
  width: 8,
2722
2748
  height: 8,
2723
2749
  borderRadius: "50%",
2724
- background: n.color + "33",
2725
- boxShadow: `0 0 8px ${n.color}`
2750
+ background: o.color + "33",
2751
+ boxShadow: `0 0 8px ${o.color}`
2726
2752
  }
2727
2753
  }
2728
2754
  )
@@ -2742,7 +2768,7 @@ function jt({
2742
2768
  transform: "rotateX(-90deg)",
2743
2769
  backfaceVisibility: "hidden",
2744
2770
  background: a ? "radial-gradient(circle, rgb(4,14,30), rgb(2,7,16))" : "radial-gradient(circle, rgba(4,14,30,0.97), rgba(2,7,16,0.99))",
2745
- border: `1px solid ${n.color}22`
2771
+ border: `1px solid ${o.color}22`
2746
2772
  },
2747
2773
  children: /* @__PURE__ */ e(
2748
2774
  "div",
@@ -2755,13 +2781,13 @@ function jt({
2755
2781
  width: "55%",
2756
2782
  height: "55%",
2757
2783
  borderRadius: "50%",
2758
- border: `1px solid ${n.color}18`
2784
+ border: `1px solid ${o.color}18`
2759
2785
  }
2760
2786
  }
2761
2787
  )
2762
2788
  }
2763
2789
  ),
2764
- i && He.map((s, l) => {
2790
+ i && Ue.map((s, l) => {
2765
2791
  const f = Ye(s);
2766
2792
  return /* @__PURE__ */ e(
2767
2793
  "div",
@@ -2774,15 +2800,15 @@ function jt({
2774
2800
  top: t + he - 3,
2775
2801
  transform: `rotateY(${s}deg) translateZ(${re + 1.5}px)`,
2776
2802
  backfaceVisibility: "hidden",
2777
- background: n.color,
2778
- boxShadow: `0 0 8px ${n.color}, 0 0 18px ${n.color}aa, 0 0 30px ${n.glow}`,
2803
+ background: o.color,
2804
+ boxShadow: `0 0 8px ${o.color}, 0 0 18px ${o.color}aa, 0 0 30px ${o.glow}`,
2779
2805
  opacity: f * 0.9
2780
2806
  }
2781
2807
  },
2782
- `rng${o}${l}`
2808
+ `rng${n}${l}`
2783
2809
  );
2784
2810
  }),
2785
- i && He.map((s, l) => {
2811
+ i && Ue.map((s, l) => {
2786
2812
  const f = Ye(s), c = Math.round(2 + f * 4), p = Math.round(5 + f * 10), h = Math.round(12 + f * 20);
2787
2813
  return /* @__PURE__ */ e(
2788
2814
  "div",
@@ -2798,15 +2824,15 @@ function jt({
2798
2824
  background: `rgb(${c},${p},${h})`
2799
2825
  }
2800
2826
  },
2801
- `gap${o}${l}`
2827
+ `gap${n}${l}`
2802
2828
  );
2803
2829
  })
2804
2830
  ] });
2805
2831
  }
2806
- function Ie({
2832
+ function Oe({
2807
2833
  rotateX: t = -22,
2808
- rotateY: o = -15,
2809
- rotateZ: n = 0,
2834
+ rotateY: n = -15,
2835
+ rotateZ: o = 0,
2810
2836
  scale: i = 1,
2811
2837
  autoRotate: r = !1,
2812
2838
  status: a = "online",
@@ -2815,26 +2841,26 @@ function Ie({
2815
2841
  // connections = 284,
2816
2842
  _compact: l
2817
2843
  }) {
2818
- const [f, c] = A(o), p = ee(0), h = ee(0);
2844
+ const [f, c] = L(n), p = ee(0), h = ee(0);
2819
2845
  Ee(() => {
2820
2846
  if (!r) {
2821
- c(o);
2847
+ c(n);
2822
2848
  return;
2823
2849
  }
2824
- const u = (b) => {
2825
- h.current && c((m) => m + (b - h.current) * 0.027), h.current = b, p.current = requestAnimationFrame(u);
2850
+ const b = (g) => {
2851
+ h.current && c((m) => m + (g - h.current) * 0.027), h.current = g, p.current = requestAnimationFrame(b);
2826
2852
  };
2827
- return p.current = requestAnimationFrame(u), () => {
2853
+ return p.current = requestAnimationFrame(b), () => {
2828
2854
  cancelAnimationFrame(p.current), h.current = 0;
2829
2855
  };
2830
- }, [r, o]);
2831
- const g = S[a] ?? S.online;
2856
+ }, [r, n]);
2857
+ const y = w[a] ?? w.online;
2832
2858
  return /* @__PURE__ */ d(
2833
2859
  "div",
2834
2860
  {
2835
2861
  style: {
2836
2862
  width: _ * i,
2837
- height: Fe * i,
2863
+ height: He * i,
2838
2864
  position: "relative",
2839
2865
  display: "flex",
2840
2866
  alignItems: "center",
@@ -2895,8 +2921,8 @@ function Ie({
2895
2921
  style: {
2896
2922
  position: "absolute",
2897
2923
  width: _ * 2.8 * i,
2898
- height: Fe * 0.85 * i,
2899
- background: `radial-gradient(ellipse, ${g.glow} 0%, transparent 65%)`,
2924
+ height: He * 0.85 * i,
2925
+ background: `radial-gradient(ellipse, ${y.glow} 0%, transparent 65%)`,
2900
2926
  filter: `blur(${Math.round(50 * i)}px)`,
2901
2927
  pointerEvents: "none",
2902
2928
  top: "45%",
@@ -2919,23 +2945,23 @@ function Ie({
2919
2945
  {
2920
2946
  style: {
2921
2947
  width: _,
2922
- height: Fe,
2948
+ height: He,
2923
2949
  position: "relative",
2924
2950
  transformStyle: "preserve-3d",
2925
- transform: `rotateX(${t}deg) rotateY(${f}deg) rotateZ(${n}deg)`,
2951
+ transform: `rotateX(${t}deg) rotateY(${f}deg) rotateZ(${o}deg)`,
2926
2952
  transition: r ? "none" : "transform 0.55s cubic-bezier(0.25, 0.46, 0.45, 0.94)"
2927
2953
  },
2928
- children: [0, 1, 2].map((u) => /* @__PURE__ */ e(
2929
- jt,
2954
+ children: [0, 1, 2].map((b) => /* @__PURE__ */ e(
2955
+ _t,
2930
2956
  {
2931
- diskY: u * (he + Ze),
2932
- diskIdx: u,
2933
- cfg: g,
2934
- hasRingBelow: u < 2,
2957
+ diskY: b * (he + Ze),
2958
+ diskIdx: b,
2959
+ cfg: y,
2960
+ hasRingBelow: b < 2,
2935
2961
  capacity: s,
2936
2962
  compact: l
2937
2963
  },
2938
- u
2964
+ b
2939
2965
  ))
2940
2966
  }
2941
2967
  )
@@ -2945,22 +2971,22 @@ function Ie({
2945
2971
  }
2946
2972
  );
2947
2973
  }
2948
- const q = 190, H = 72, ge = 120, pe = Qe(q, H, ge);
2949
- function Xt({
2974
+ const G = 190, U = 72, be = 120, pe = qe(G, U, be);
2975
+ function jt({
2950
2976
  cfg: t,
2951
- name: o,
2952
- traffic: n,
2977
+ name: n,
2978
+ traffic: o,
2953
2979
  activeRoutes: i,
2954
2980
  compact: r
2955
2981
  }) {
2956
- const a = Math.ceil(n / 100 * 8), s = Array(8).fill(t.color);
2982
+ const a = Math.ceil(o / 100 * 8), s = Array(8).fill(t.color);
2957
2983
  return /* @__PURE__ */ d(
2958
2984
  "div",
2959
2985
  {
2960
2986
  style: {
2961
- width: q,
2962
- height: H,
2963
- background: r ? we : Ge,
2987
+ width: G,
2988
+ height: U,
2989
+ background: r ? we : Qe,
2964
2990
  position: "relative",
2965
2991
  overflow: "hidden",
2966
2992
  fontFamily: "'Courier New', monospace",
@@ -3011,7 +3037,7 @@ function Xt({
3011
3037
  }
3012
3038
  }
3013
3039
  ),
3014
- /* @__PURE__ */ e("span", { style: { fontSize: 7.5, color: t.color + "cc", letterSpacing: "0.1em" }, children: o }),
3040
+ /* @__PURE__ */ e("span", { style: { fontSize: 7.5, color: t.color + "cc", letterSpacing: "0.1em" }, children: n }),
3015
3041
  /* @__PURE__ */ e("div", { style: { flex: 1 } }),
3016
3042
  /* @__PURE__ */ e(
3017
3043
  "div",
@@ -3122,7 +3148,7 @@ function Xt({
3122
3148
  /* @__PURE__ */ d("div", { style: { display: "flex", justifyContent: "space-between", marginBottom: 2 }, children: [
3123
3149
  /* @__PURE__ */ e("span", { style: { fontSize: 6, color: "#2a5070", letterSpacing: "0.1em" }, children: "TRAFFIC" }),
3124
3150
  /* @__PURE__ */ d("span", { style: { fontSize: 6, color: t.color }, children: [
3125
- n,
3151
+ o,
3126
3152
  "%"
3127
3153
  ] })
3128
3154
  ] }),
@@ -3140,7 +3166,7 @@ function Xt({
3140
3166
  "div",
3141
3167
  {
3142
3168
  style: {
3143
- width: `${n}%`,
3169
+ width: `${o}%`,
3144
3170
  height: "100%",
3145
3171
  background: `linear-gradient(90deg, ${t.color}44, ${t.color})`,
3146
3172
  borderRadius: 2,
@@ -3178,8 +3204,8 @@ function Xt({
3178
3204
  gap: 12
3179
3205
  },
3180
3206
  children: [
3181
- { label: "HTTP", val: Math.round(n * 12.4), unit: "req/s" },
3182
- { label: "HTTPS", val: Math.round(n * 8.6), unit: "req/s" },
3207
+ { label: "HTTP", val: Math.round(o * 12.4), unit: "req/s" },
3208
+ { label: "HTTPS", val: Math.round(o * 8.6), unit: "req/s" },
3183
3209
  { label: "WS", val: Math.round(i * 3), unit: "conn" }
3184
3210
  ].map((l) => /* @__PURE__ */ d("div", { style: { display: "flex", gap: 3 }, children: [
3185
3211
  /* @__PURE__ */ e("span", { style: { fontSize: 6, color: "#1e3a5a", letterSpacing: "0.08em" }, children: l.label }),
@@ -3208,13 +3234,13 @@ function Xt({
3208
3234
  }
3209
3235
  );
3210
3236
  }
3211
- function Gt() {
3237
+ function Xt() {
3212
3238
  return /* @__PURE__ */ d(
3213
3239
  "div",
3214
3240
  {
3215
3241
  style: {
3216
- width: q,
3217
- height: H,
3242
+ width: G,
3243
+ height: U,
3218
3244
  background: "linear-gradient(180deg, #040c1a, #030810)",
3219
3245
  position: "relative",
3220
3246
  overflow: "hidden",
@@ -3229,7 +3255,7 @@ function Gt() {
3229
3255
  {
3230
3256
  style: {
3231
3257
  width: 40,
3232
- height: H - 16,
3258
+ height: U - 16,
3233
3259
  background: "#020710",
3234
3260
  border: "1px solid #1a2d40",
3235
3261
  borderRadius: 2,
@@ -3285,7 +3311,7 @@ function Gt() {
3285
3311
  style: {
3286
3312
  marginLeft: "auto",
3287
3313
  width: 12,
3288
- height: H - 16,
3314
+ height: U - 16,
3289
3315
  background: "#020710",
3290
3316
  border: "1px solid #1a3050",
3291
3317
  borderRadius: 1
@@ -3296,13 +3322,13 @@ function Gt() {
3296
3322
  }
3297
3323
  );
3298
3324
  }
3299
- function rt({ side: t, color: o }) {
3325
+ function rt({ side: t, color: n }) {
3300
3326
  return /* @__PURE__ */ d(
3301
3327
  "div",
3302
3328
  {
3303
3329
  style: {
3304
- width: ge,
3305
- height: H,
3330
+ width: be,
3331
+ height: U,
3306
3332
  background: t === "right" ? "linear-gradient(90deg, #04091a 0%, #071428 60%, #040c1c 100%)" : "linear-gradient(90deg, #040c1c 0%, #071428 40%, #04091a 100%)",
3307
3333
  position: "relative",
3308
3334
  overflow: "hidden"
@@ -3317,7 +3343,7 @@ function rt({ side: t, color: o }) {
3317
3343
  left: 0,
3318
3344
  right: 0,
3319
3345
  height: 1,
3320
- background: `linear-gradient(90deg, transparent, ${o}22 50%, transparent)`
3346
+ background: `linear-gradient(90deg, transparent, ${n}22 50%, transparent)`
3321
3347
  }
3322
3348
  }
3323
3349
  ),
@@ -3326,8 +3352,8 @@ function rt({ side: t, color: o }) {
3326
3352
  {
3327
3353
  style: {
3328
3354
  position: "absolute",
3329
- top: H * 0.25,
3330
- bottom: H * 0.25,
3355
+ top: U * 0.25,
3356
+ bottom: U * 0.25,
3331
3357
  left: 14,
3332
3358
  right: 14,
3333
3359
  display: "flex",
@@ -3354,13 +3380,13 @@ function rt({ side: t, color: o }) {
3354
3380
  );
3355
3381
  }
3356
3382
  function Qt({ traffic: t }) {
3357
- const o = Math.floor((ge - 14) / 7);
3383
+ const n = Math.floor((be - 14) / 7);
3358
3384
  return /* @__PURE__ */ d(
3359
3385
  "div",
3360
3386
  {
3361
3387
  style: {
3362
- width: q,
3363
- height: ge,
3388
+ width: G,
3389
+ height: be,
3364
3390
  background: "linear-gradient(180deg, #0c1c30 0%, #07101e 40%, #040c1a 100%)",
3365
3391
  position: "relative",
3366
3392
  overflow: "hidden"
@@ -3374,7 +3400,7 @@ function Qt({ traffic: t }) {
3374
3400
  top: 0,
3375
3401
  left: 0,
3376
3402
  right: 0,
3377
- height: ge * 0.35,
3403
+ height: be * 0.35,
3378
3404
  background: `radial-gradient(ellipse at 50% 0%,
3379
3405
  ${t > 70 ? "rgba(255,34,85,0.14)" : "rgba(0,229,255,0.08)"} 0%,
3380
3406
  transparent 70%)`
@@ -3394,7 +3420,7 @@ function Qt({ traffic: t }) {
3394
3420
  flexDirection: "column",
3395
3421
  gap: 4
3396
3422
  },
3397
- children: Array.from({ length: o }).map((n, i) => /* @__PURE__ */ e(
3423
+ children: Array.from({ length: n }).map((o, i) => /* @__PURE__ */ e(
3398
3424
  "div",
3399
3425
  {
3400
3426
  style: {
@@ -3414,8 +3440,8 @@ function Qt({ traffic: t }) {
3414
3440
  }
3415
3441
  function pt({
3416
3442
  rotateX: t = -20,
3417
- rotateY: o = 20,
3418
- rotateZ: n = 0,
3443
+ rotateY: n = 20,
3444
+ rotateZ: o = 0,
3419
3445
  scale: i = 1,
3420
3446
  autoRotate: r = !1,
3421
3447
  status: a = "online",
@@ -3424,26 +3450,26 @@ function pt({
3424
3450
  activeRoutes: f = 12,
3425
3451
  _compact: c
3426
3452
  }) {
3427
- const [p, h] = A(o), g = ee(0), u = ee(0);
3453
+ const [p, h] = L(n), y = ee(0), b = ee(0);
3428
3454
  Ee(() => {
3429
3455
  if (!r) {
3430
- h(o);
3456
+ h(n);
3431
3457
  return;
3432
3458
  }
3433
3459
  const m = (x) => {
3434
- u.current && h((w) => w + (x - u.current) * 0.027), u.current = x, g.current = requestAnimationFrame(m);
3460
+ b.current && h((v) => v + (x - b.current) * 0.027), b.current = x, y.current = requestAnimationFrame(m);
3435
3461
  };
3436
- return g.current = requestAnimationFrame(m), () => {
3437
- cancelAnimationFrame(g.current), u.current = 0;
3462
+ return y.current = requestAnimationFrame(m), () => {
3463
+ cancelAnimationFrame(y.current), b.current = 0;
3438
3464
  };
3439
- }, [r, o]);
3440
- const b = S[a] ?? S.online;
3465
+ }, [r, n]);
3466
+ const g = w[a] ?? w.online;
3441
3467
  return /* @__PURE__ */ d(
3442
3468
  "div",
3443
3469
  {
3444
3470
  style: {
3445
- width: q * i,
3446
- height: H * i,
3471
+ width: G * i,
3472
+ height: U * i,
3447
3473
  position: "relative",
3448
3474
  display: "flex",
3449
3475
  alignItems: "center",
@@ -3503,9 +3529,9 @@ function pt({
3503
3529
  {
3504
3530
  style: {
3505
3531
  position: "absolute",
3506
- width: q * 1.3 * i,
3507
- height: H * 2 * i,
3508
- background: `radial-gradient(ellipse, ${b.glow} 0%, transparent 65%)`,
3532
+ width: G * 1.3 * i,
3533
+ height: U * 2 * i,
3534
+ background: `radial-gradient(ellipse, ${g.glow} 0%, transparent 65%)`,
3509
3535
  filter: `blur(${Math.round(40 * i)}px)`,
3510
3536
  pointerEvents: "none",
3511
3537
  top: "40%",
@@ -3527,29 +3553,29 @@ function pt({
3527
3553
  "div",
3528
3554
  {
3529
3555
  style: {
3530
- width: q,
3531
- height: H,
3556
+ width: G,
3557
+ height: U,
3532
3558
  position: "relative",
3533
3559
  transformStyle: "preserve-3d",
3534
- transform: `rotateX(${t}deg) rotateY(${p}deg) rotateZ(${n}deg)`,
3560
+ transform: `rotateX(${t}deg) rotateY(${p}deg) rotateZ(${o}deg)`,
3535
3561
  transition: r ? "none" : "transform 0.55s cubic-bezier(0.25, 0.46, 0.45, 0.94)"
3536
3562
  },
3537
3563
  children: [
3538
3564
  /* @__PURE__ */ e("div", { style: pe.front, children: /* @__PURE__ */ e(
3539
- Xt,
3565
+ jt,
3540
3566
  {
3541
- cfg: b,
3567
+ cfg: g,
3542
3568
  name: s,
3543
3569
  traffic: l,
3544
3570
  activeRoutes: f,
3545
3571
  compact: c
3546
3572
  }
3547
3573
  ) }),
3548
- /* @__PURE__ */ e("div", { style: pe.back, children: /* @__PURE__ */ e(Gt, {}) }),
3549
- /* @__PURE__ */ e("div", { style: pe.left, children: /* @__PURE__ */ e(rt, { side: "left", color: b.color }) }),
3550
- /* @__PURE__ */ e("div", { style: pe.right, children: /* @__PURE__ */ e(rt, { side: "right", color: b.color }) }),
3574
+ /* @__PURE__ */ e("div", { style: pe.back, children: /* @__PURE__ */ e(Xt, {}) }),
3575
+ /* @__PURE__ */ e("div", { style: pe.left, children: /* @__PURE__ */ e(rt, { side: "left", color: g.color }) }),
3576
+ /* @__PURE__ */ e("div", { style: pe.right, children: /* @__PURE__ */ e(rt, { side: "right", color: g.color }) }),
3551
3577
  /* @__PURE__ */ e("div", { style: pe.top, children: /* @__PURE__ */ e(Qt, { traffic: l }) }),
3552
- /* @__PURE__ */ e("div", { style: pe.bottom, children: /* @__PURE__ */ e("div", { style: { width: q, height: ge, background: "#020508" } }) })
3578
+ /* @__PURE__ */ e("div", { style: pe.bottom, children: /* @__PURE__ */ e("div", { style: { width: G, height: be, background: "#020508" } }) })
3553
3579
  ]
3554
3580
  }
3555
3581
  )
@@ -3559,7 +3585,7 @@ function pt({
3559
3585
  }
3560
3586
  );
3561
3587
  }
3562
- const K = 190, Y = 72, be = 120, fe = Qe(K, Y, be), at = {
3588
+ const K = 190, Y = 72, ge = 120, fe = qe(K, Y, ge), at = {
3563
3589
  online: { color: "#bb55ff", glow: "rgba(187,85,255,0.50)" },
3564
3590
  warning: { color: "#ff8c00", glow: "rgba(255,140,0,0.50)" },
3565
3591
  critical: { color: "#ff2255", glow: "rgba(255,34,85,0.50)" },
@@ -3567,8 +3593,8 @@ const K = 190, Y = 72, be = 120, fe = Qe(K, Y, be), at = {
3567
3593
  };
3568
3594
  function qt({
3569
3595
  cfg: t,
3570
- name: o,
3571
- queueDepth: n,
3596
+ name: n,
3597
+ queueDepth: o,
3572
3598
  msgsPerSec: i,
3573
3599
  instances: r,
3574
3600
  compact: a
@@ -3580,7 +3606,7 @@ function qt({
3580
3606
  style: {
3581
3607
  width: K,
3582
3608
  height: Y,
3583
- background: a ? we : Ge,
3609
+ background: a ? we : Qe,
3584
3610
  position: "relative",
3585
3611
  overflow: "hidden",
3586
3612
  fontFamily: "'Courier New', monospace",
@@ -3631,7 +3657,7 @@ function qt({
3631
3657
  }
3632
3658
  }
3633
3659
  ),
3634
- /* @__PURE__ */ e("span", { style: { fontSize: 7.5, color: s + "cc", letterSpacing: "0.1em" }, children: o }),
3660
+ /* @__PURE__ */ e("span", { style: { fontSize: 7.5, color: s + "cc", letterSpacing: "0.1em" }, children: n }),
3635
3661
  /* @__PURE__ */ e("div", { style: { flex: 1 } }),
3636
3662
  /* @__PURE__ */ e(
3637
3663
  "div",
@@ -3741,7 +3767,7 @@ function qt({
3741
3767
  /* @__PURE__ */ d("div", { style: { display: "flex", justifyContent: "space-between", marginBottom: 2 }, children: [
3742
3768
  /* @__PURE__ */ e("span", { style: { fontSize: 6, color: "#2a5070", letterSpacing: "0.1em" }, children: "QUEUE" }),
3743
3769
  /* @__PURE__ */ d("span", { style: { fontSize: 6, color: s }, children: [
3744
- n,
3770
+ o,
3745
3771
  "%"
3746
3772
  ] })
3747
3773
  ] }),
@@ -3759,7 +3785,7 @@ function qt({
3759
3785
  "div",
3760
3786
  {
3761
3787
  style: {
3762
- width: `${n}%`,
3788
+ width: `${o}%`,
3763
3789
  height: "100%",
3764
3790
  background: `linear-gradient(90deg, ${s}44, ${s})`,
3765
3791
  borderRadius: 2,
@@ -3795,7 +3821,7 @@ function qt({
3795
3821
  },
3796
3822
  children: [
3797
3823
  { label: "INST", val: r, unit: "conn" },
3798
- { label: "ENQUEUE", val: Math.round(n * 2.4), unit: "msgs" },
3824
+ { label: "ENQUEUE", val: Math.round(o * 2.4), unit: "msgs" },
3799
3825
  { label: "DISP", val: Math.round(i * 0.1), unit: "/s" }
3800
3826
  ].map((f) => /* @__PURE__ */ d("div", { style: { display: "flex", gap: 3 }, children: [
3801
3827
  /* @__PURE__ */ e("span", { style: { fontSize: 6, color: "#1e3a5a", letterSpacing: "0.08em" }, children: f.label }),
@@ -3824,7 +3850,7 @@ function qt({
3824
3850
  }
3825
3851
  );
3826
3852
  }
3827
- function Kt() {
3853
+ function Gt() {
3828
3854
  return /* @__PURE__ */ d(
3829
3855
  "div",
3830
3856
  {
@@ -3912,12 +3938,12 @@ function Kt() {
3912
3938
  }
3913
3939
  );
3914
3940
  }
3915
- function lt({ side: t, color: o }) {
3941
+ function lt({ side: t, color: n }) {
3916
3942
  return /* @__PURE__ */ d(
3917
3943
  "div",
3918
3944
  {
3919
3945
  style: {
3920
- width: be,
3946
+ width: ge,
3921
3947
  height: Y,
3922
3948
  background: t === "right" ? "linear-gradient(90deg, #04091a 0%, #071428 60%, #040c1c 100%)" : "linear-gradient(90deg, #040c1c 0%, #071428 40%, #04091a 100%)",
3923
3949
  position: "relative",
@@ -3933,7 +3959,7 @@ function lt({ side: t, color: o }) {
3933
3959
  left: 0,
3934
3960
  right: 0,
3935
3961
  height: 1,
3936
- background: `linear-gradient(90deg, transparent, ${o}22 50%, transparent)`
3962
+ background: `linear-gradient(90deg, transparent, ${n}22 50%, transparent)`
3937
3963
  }
3938
3964
  }
3939
3965
  ),
@@ -3969,14 +3995,14 @@ function lt({ side: t, color: o }) {
3969
3995
  }
3970
3996
  );
3971
3997
  }
3972
- function Zt({ queueDepth: t, color: o }) {
3973
- const n = Math.floor((be - 14) / 7);
3998
+ function Kt({ queueDepth: t, color: n }) {
3999
+ const o = Math.floor((ge - 14) / 7);
3974
4000
  return /* @__PURE__ */ d(
3975
4001
  "div",
3976
4002
  {
3977
4003
  style: {
3978
4004
  width: K,
3979
- height: be,
4005
+ height: ge,
3980
4006
  background: "linear-gradient(180deg, #0c1c30 0%, #07101e 40%, #040c1a 100%)",
3981
4007
  position: "relative",
3982
4008
  overflow: "hidden"
@@ -3990,9 +4016,9 @@ function Zt({ queueDepth: t, color: o }) {
3990
4016
  top: 0,
3991
4017
  left: 0,
3992
4018
  right: 0,
3993
- height: be * 0.35,
4019
+ height: ge * 0.35,
3994
4020
  background: `radial-gradient(ellipse at 50% 0%,
3995
- ${t > 70 ? "rgba(255,34,85,0.14)" : `${o}15`} 0%,
4021
+ ${t > 70 ? "rgba(255,34,85,0.14)" : `${n}15`} 0%,
3996
4022
  transparent 70%)`
3997
4023
  }
3998
4024
  }
@@ -4010,7 +4036,7 @@ function Zt({ queueDepth: t, color: o }) {
4010
4036
  flexDirection: "column",
4011
4037
  gap: 4
4012
4038
  },
4013
- children: Array.from({ length: n }).map((i, r) => /* @__PURE__ */ e(
4039
+ children: Array.from({ length: o }).map((i, r) => /* @__PURE__ */ e(
4014
4040
  "div",
4015
4041
  {
4016
4042
  style: {
@@ -4028,10 +4054,10 @@ function Zt({ queueDepth: t, color: o }) {
4028
4054
  }
4029
4055
  );
4030
4056
  }
4031
- function Jt({
4057
+ function Zt({
4032
4058
  rotateX: t = -20,
4033
- rotateY: o = 20,
4034
- rotateZ: n = 0,
4059
+ rotateY: n = 20,
4060
+ rotateZ: o = 0,
4035
4061
  scale: i = 1,
4036
4062
  autoRotate: r = !1,
4037
4063
  status: a = "online",
@@ -4041,19 +4067,19 @@ function Jt({
4041
4067
  instances: c = 3,
4042
4068
  _compact: p
4043
4069
  }) {
4044
- const [h, g] = A(o), u = ee(0), b = ee(0);
4070
+ const [h, y] = L(n), b = ee(0), g = ee(0);
4045
4071
  Ee(() => {
4046
4072
  if (!r) {
4047
- g(o);
4073
+ y(n);
4048
4074
  return;
4049
4075
  }
4050
- const x = (w) => {
4051
- b.current && g((P) => P + (w - b.current) * 0.027), b.current = w, u.current = requestAnimationFrame(x);
4076
+ const x = (v) => {
4077
+ g.current && y((k) => k + (v - g.current) * 0.027), g.current = v, b.current = requestAnimationFrame(x);
4052
4078
  };
4053
- return u.current = requestAnimationFrame(x), () => {
4054
- cancelAnimationFrame(u.current), b.current = 0;
4079
+ return b.current = requestAnimationFrame(x), () => {
4080
+ cancelAnimationFrame(b.current), g.current = 0;
4055
4081
  };
4056
- }, [r, o]);
4082
+ }, [r, n]);
4057
4083
  const m = at[a] ?? at.online;
4058
4084
  return /* @__PURE__ */ d(
4059
4085
  "div",
@@ -4148,7 +4174,7 @@ function Jt({
4148
4174
  height: Y,
4149
4175
  position: "relative",
4150
4176
  transformStyle: "preserve-3d",
4151
- transform: `rotateX(${t}deg) rotateY(${h}deg) rotateZ(${n}deg)`,
4177
+ transform: `rotateX(${t}deg) rotateY(${h}deg) rotateZ(${o}deg)`,
4152
4178
  transition: r ? "none" : "transform 0.55s cubic-bezier(0.25, 0.46, 0.45, 0.94)"
4153
4179
  },
4154
4180
  children: [
@@ -4163,11 +4189,11 @@ function Jt({
4163
4189
  compact: p
4164
4190
  }
4165
4191
  ) }),
4166
- /* @__PURE__ */ e("div", { style: fe.back, children: /* @__PURE__ */ e(Kt, {}) }),
4192
+ /* @__PURE__ */ e("div", { style: fe.back, children: /* @__PURE__ */ e(Gt, {}) }),
4167
4193
  /* @__PURE__ */ e("div", { style: fe.left, children: /* @__PURE__ */ e(lt, { side: "left", color: m.color }) }),
4168
4194
  /* @__PURE__ */ e("div", { style: fe.right, children: /* @__PURE__ */ e(lt, { side: "right", color: m.color }) }),
4169
- /* @__PURE__ */ e("div", { style: fe.top, children: /* @__PURE__ */ e(Zt, { queueDepth: l, color: m.color }) }),
4170
- /* @__PURE__ */ e("div", { style: fe.bottom, children: /* @__PURE__ */ e("div", { style: { width: K, height: be, background: "#020508" } }) })
4195
+ /* @__PURE__ */ e("div", { style: fe.top, children: /* @__PURE__ */ e(Kt, { queueDepth: l, color: m.color }) }),
4196
+ /* @__PURE__ */ e("div", { style: fe.bottom, children: /* @__PURE__ */ e("div", { style: { width: K, height: ge, background: "#020508" } }) })
4171
4197
  ]
4172
4198
  }
4173
4199
  )
@@ -4177,14 +4203,14 @@ function Jt({
4177
4203
  }
4178
4204
  );
4179
4205
  }
4180
- function ft({ status: t = "online", scale: o = 1 }) {
4181
- const i = (S[t] ?? S.online).color;
4206
+ function ft({ status: t = "online", scale: n = 1 }) {
4207
+ const i = (w[t] ?? w.online).color;
4182
4208
  return /* @__PURE__ */ e(
4183
4209
  "div",
4184
4210
  {
4185
4211
  style: {
4186
- width: 80 * o,
4187
- height: 140 * o,
4212
+ width: 80 * n,
4213
+ height: 140 * n,
4188
4214
  display: "flex",
4189
4215
  alignItems: "center",
4190
4216
  justifyContent: "center"
@@ -4198,7 +4224,7 @@ function ft({ status: t = "online", scale: o = 1 }) {
4198
4224
  alignItems: "center",
4199
4225
  fontFamily: "'Courier New', monospace",
4200
4226
  userSelect: "none",
4201
- transform: `scale(${o})`,
4227
+ transform: `scale(${n})`,
4202
4228
  transformOrigin: "center center"
4203
4229
  },
4204
4230
  children: [
@@ -4289,14 +4315,14 @@ function ft({ status: t = "online", scale: o = 1 }) {
4289
4315
  }
4290
4316
  );
4291
4317
  }
4292
- function R(t, o, n = 24) {
4293
- return Array.from({ length: n }, (i, r) => {
4294
- const a = r / n;
4295
- return Math.min(100, Math.max(0, t + Math.sin(a * Math.PI * 2) * o + (Math.random() - 0.5) * 10));
4318
+ function P(t, n, o = 24) {
4319
+ return Array.from({ length: o }, (i, r) => {
4320
+ const a = r / o;
4321
+ return Math.min(100, Math.max(0, t + Math.sin(a * Math.PI * 2) * n + (Math.random() - 0.5) * 10));
4296
4322
  });
4297
4323
  }
4298
- function ei({ data: t, color: o, height: n = 28 }) {
4299
- const r = n, a = Math.max(...t, 1), s = t.map((l, f) => {
4324
+ function Jt({ data: t, color: n, height: o = 28 }) {
4325
+ const r = o, a = Math.max(...t, 1), s = t.map((l, f) => {
4300
4326
  const c = f / (t.length - 1) * 120, p = r - l / a * (r - 4) - 2;
4301
4327
  return `${c},${p}`;
4302
4328
  }).join(" ");
@@ -4304,24 +4330,24 @@ function ei({ data: t, color: o, height: n = 28 }) {
4304
4330
  "polyline",
4305
4331
  {
4306
4332
  fill: "none",
4307
- stroke: o,
4333
+ stroke: n,
4308
4334
  strokeWidth: "1.2",
4309
4335
  strokeLinecap: "round",
4310
4336
  strokeLinejoin: "round",
4311
4337
  points: s,
4312
- style: { filter: `drop-shadow(0 0 2px ${o})`, opacity: 0.9 }
4338
+ style: { filter: `drop-shadow(0 0 2px ${n})`, opacity: 0.9 }
4313
4339
  }
4314
4340
  ) });
4315
4341
  }
4316
- function ti({
4342
+ function ei({
4317
4343
  type: t,
4318
- name: o,
4319
- context: n = {},
4344
+ name: n,
4345
+ context: o = {},
4320
4346
  status: i = "online",
4321
4347
  animPhase: r,
4322
4348
  series: a
4323
4349
  }) {
4324
- const s = i === "critical" || i === "offline" ? "#ff2255" : i === "warning" ? "#ff8c00" : "#00e5ff", l = a ? a.map((p) => ({ ...p })) : ii(t, n), f = r >= 0.3 ? 0 : -280, c = r >= 0.2 ? 1 : 0;
4350
+ const s = i === "critical" || i === "offline" ? "#ff2255" : i === "warning" ? "#ff8c00" : "#00e5ff", l = a ? a.map((p) => ({ ...p })) : ti(t, o), f = r >= 0.3 ? 0 : -280, c = r >= 0.2 ? 1 : 0;
4325
4351
  return /* @__PURE__ */ d(
4326
4352
  "div",
4327
4353
  {
@@ -4351,7 +4377,7 @@ function ti({
4351
4377
  children: [
4352
4378
  /* @__PURE__ */ e("div", { style: { fontSize: 10, color: s + "cc", letterSpacing: "0.12em", fontFamily: "'Courier New', monospace" }, children: "HISTORICAL" }),
4353
4379
  /* @__PURE__ */ d("div", { style: { fontSize: 12, fontWeight: 700, color: "#fff", letterSpacing: "0.06em", marginTop: 2, fontFamily: "'Courier New', monospace" }, children: [
4354
- o,
4380
+ n,
4355
4381
  " · Sub-components"
4356
4382
  ] })
4357
4383
  ]
@@ -4376,7 +4402,7 @@ function ti({
4376
4402
  p.unit
4377
4403
  ] })
4378
4404
  ] }),
4379
- /* @__PURE__ */ e(ei, { data: p.data, color: p.color, height: 26 })
4405
+ /* @__PURE__ */ e(Jt, { data: p.data, color: p.color, height: 26 })
4380
4406
  ]
4381
4407
  },
4382
4408
  p.id
@@ -4385,64 +4411,64 @@ function ti({
4385
4411
  }
4386
4412
  );
4387
4413
  }
4388
- function ii(t, o) {
4414
+ function ti(t, n) {
4389
4415
  if (t === "server") {
4390
- const n = o.cpuLoad ?? 50, i = o.memLoad ?? 60;
4416
+ const o = n.cpuLoad ?? 50, i = n.memLoad ?? 60;
4391
4417
  return [
4392
- { id: "cpu", label: "CPU-0", unit: "%", color: "#00e5ff", data: R(n, 15) },
4393
- { id: "cpu1", label: "CPU-1", unit: "%", color: "#00e5ff", data: R(n * 0.7, 12) },
4394
- { id: "heap0", label: "HEAP-0", unit: "%", color: "#8855ee", data: R(i, 18) },
4395
- { id: "heap1", label: "HEAP-1", unit: "%", color: "#8855ee", data: R(i * 0.85, 14) },
4396
- { id: "drive1", label: "DRIVE-1 I/O", unit: "%", color: "#ff8c00", data: R(40, 25) },
4397
- { id: "drive2", label: "DRIVE-2 I/O", unit: "%", color: "#ff8c00", data: R(35, 20) },
4398
- { id: "drive3", label: "DRIVE-3 I/O", unit: "%", color: "#ff8c00", data: R(30, 22) },
4399
- { id: "thread", label: "THREAD-POOL", unit: "%", color: "#22aaff", data: R(55, 20) }
4418
+ { id: "cpu", label: "CPU-0", unit: "%", color: "#00e5ff", data: P(o, 15) },
4419
+ { id: "cpu1", label: "CPU-1", unit: "%", color: "#00e5ff", data: P(o * 0.7, 12) },
4420
+ { id: "heap0", label: "HEAP-0", unit: "%", color: "#8855ee", data: P(i, 18) },
4421
+ { id: "heap1", label: "HEAP-1", unit: "%", color: "#8855ee", data: P(i * 0.85, 14) },
4422
+ { id: "drive1", label: "DRIVE-1 I/O", unit: "%", color: "#ff8c00", data: P(40, 25) },
4423
+ { id: "drive2", label: "DRIVE-2 I/O", unit: "%", color: "#ff8c00", data: P(35, 20) },
4424
+ { id: "drive3", label: "DRIVE-3 I/O", unit: "%", color: "#ff8c00", data: P(30, 22) },
4425
+ { id: "thread", label: "THREAD-POOL", unit: "%", color: "#22aaff", data: P(55, 20) }
4400
4426
  ];
4401
4427
  }
4402
4428
  if (t === "dispatcher" || t === "messageServer") {
4403
- const n = o.traffic ?? o.queueDepth ?? 50;
4429
+ const o = n.traffic ?? n.queueDepth ?? 50;
4404
4430
  return [
4405
- { id: "traffic", label: "TRAFFIC", unit: "%", color: "#00e5ff", data: R(n, 20) },
4406
- { id: "port1", label: "PORT-1", unit: "kbps", color: "#22aaff", data: R(60, 25) },
4407
- { id: "port2", label: "PORT-2", unit: "kbps", color: "#22aaff", data: R(45, 20) },
4408
- { id: "port3", label: "PORT-3", unit: "kbps", color: "#22aaff", data: R(70, 30) },
4409
- { id: "worker", label: "WORKER", unit: "%", color: "#bb55ff", data: R(n * 0.9, 15) }
4431
+ { id: "traffic", label: "TRAFFIC", unit: "%", color: "#00e5ff", data: P(o, 20) },
4432
+ { id: "port1", label: "PORT-1", unit: "kbps", color: "#22aaff", data: P(60, 25) },
4433
+ { id: "port2", label: "PORT-2", unit: "kbps", color: "#22aaff", data: P(45, 20) },
4434
+ { id: "port3", label: "PORT-3", unit: "kbps", color: "#22aaff", data: P(70, 30) },
4435
+ { id: "worker", label: "WORKER", unit: "%", color: "#bb55ff", data: P(o * 0.9, 15) }
4410
4436
  ];
4411
4437
  }
4412
4438
  if (t === "database") {
4413
- const n = o.capacity ?? 70;
4439
+ const o = n.capacity ?? 70;
4414
4440
  return [
4415
- { id: "platter0", label: "PLATTER-0 I/O", unit: "%", color: "#ff8c00", data: R(40, 20) },
4416
- { id: "platter1", label: "PLATTER-1 I/O", unit: "%", color: "#ff8c00", data: R(55, 25) },
4417
- { id: "platter2", label: "PLATTER-2 I/O", unit: "%", color: "#ff8c00", data: R(35, 18) },
4418
- { id: "connpool", label: "CONN-POOL", unit: "%", color: "#00e5ff", data: R(n, 15) },
4419
- { id: "cache", label: "QUERY-CACHE", unit: "%", color: "#00ff88", data: R(75, 12) }
4441
+ { id: "platter0", label: "PLATTER-0 I/O", unit: "%", color: "#ff8c00", data: P(40, 20) },
4442
+ { id: "platter1", label: "PLATTER-1 I/O", unit: "%", color: "#ff8c00", data: P(55, 25) },
4443
+ { id: "platter2", label: "PLATTER-2 I/O", unit: "%", color: "#ff8c00", data: P(35, 18) },
4444
+ { id: "connpool", label: "CONN-POOL", unit: "%", color: "#00e5ff", data: P(o, 15) },
4445
+ { id: "cache", label: "QUERY-CACHE", unit: "%", color: "#00ff88", data: P(75, 12) }
4420
4446
  ];
4421
4447
  }
4422
4448
  return [];
4423
4449
  }
4424
4450
  function ht({
4425
4451
  w: t,
4426
- h: o,
4427
- color: n,
4452
+ h: n,
4453
+ color: o,
4428
4454
  label: i,
4429
4455
  status: r,
4430
4456
  delay: a = "0s",
4431
4457
  children: s
4432
4458
  }) {
4433
- const l = r ? S[r]?.glow ?? "rgba(0,229,255,0.4)" : "rgba(0,229,255,0.4)";
4459
+ const l = r ? w[r]?.glow ?? "rgba(0,229,255,0.4)" : "rgba(0,229,255,0.4)";
4434
4460
  return /* @__PURE__ */ d(
4435
4461
  "div",
4436
4462
  {
4437
4463
  style: {
4438
4464
  width: t,
4439
- height: o,
4465
+ height: n,
4440
4466
  background: we,
4441
4467
  position: "relative",
4442
4468
  overflow: "hidden",
4443
4469
  borderRadius: 2,
4444
- border: `1px solid ${n}44`,
4445
- boxShadow: `0 0 8px ${n}22, inset 0 1px 0 ${n}22`,
4470
+ border: `1px solid ${o}44`,
4471
+ boxShadow: `0 0 8px ${o}22, inset 0 1px 0 ${o}22`,
4446
4472
  fontFamily: "'Courier New', monospace"
4447
4473
  },
4448
4474
  children: [
@@ -4456,7 +4482,7 @@ function ht({
4456
4482
  left: 0,
4457
4483
  right: 0,
4458
4484
  height: 1,
4459
- background: `linear-gradient(90deg, transparent, ${n}66, transparent)`,
4485
+ background: `linear-gradient(90deg, transparent, ${o}66, transparent)`,
4460
4486
  boxShadow: `0 1px 4px ${l}`
4461
4487
  }
4462
4488
  }
@@ -4471,8 +4497,8 @@ function ht({
4471
4497
  width: 4,
4472
4498
  height: 4,
4473
4499
  borderRadius: "50%",
4474
- background: S[r]?.color,
4475
- boxShadow: `0 0 6px ${S[r]?.color}`,
4500
+ background: w[r]?.color,
4501
+ boxShadow: `0 0 6px ${w[r]?.color}`,
4476
4502
  animation: "holo-led-blink 1.2s infinite"
4477
4503
  }
4478
4504
  }
@@ -4486,7 +4512,7 @@ function ht({
4486
4512
  left: 3,
4487
4513
  right: 3,
4488
4514
  fontSize: 6,
4489
- color: `${n}99`,
4515
+ color: `${o}99`,
4490
4516
  letterSpacing: "0.08em",
4491
4517
  textAlign: "center"
4492
4518
  },
@@ -4502,8 +4528,8 @@ function ht({
4502
4528
  left: 0,
4503
4529
  right: 0,
4504
4530
  height: 1,
4505
- background: `linear-gradient(90deg, transparent 10%, ${n}aa 50%, transparent 90%)`,
4506
- boxShadow: `0 0 4px ${n}`,
4531
+ background: `linear-gradient(90deg, transparent 10%, ${o}aa 50%, transparent 90%)`,
4532
+ boxShadow: `0 0 4px ${o}`,
4507
4533
  animation: "holo-scan 2.5s linear infinite",
4508
4534
  animationDelay: a,
4509
4535
  pointerEvents: "none"
@@ -4514,10 +4540,10 @@ function ht({
4514
4540
  }
4515
4541
  );
4516
4542
  }
4517
- function Oe({
4543
+ function De({
4518
4544
  color: t = "#00e5ff",
4519
- label: o = "CPU-0",
4520
- status: n = "online",
4545
+ label: n = "CPU-0",
4546
+ status: o = "online",
4521
4547
  load: i = 0
4522
4548
  }) {
4523
4549
  return /* @__PURE__ */ d("div", { style: { position: "relative", width: 52, height: 36 }, children: [
@@ -4588,7 +4614,7 @@ function Oe({
4588
4614
  )
4589
4615
  }
4590
4616
  ),
4591
- n && n !== "online" && n !== "offline" && /* @__PURE__ */ e(
4617
+ o && o !== "online" && o !== "offline" && /* @__PURE__ */ e(
4592
4618
  "div",
4593
4619
  {
4594
4620
  style: {
@@ -4598,8 +4624,8 @@ function Oe({
4598
4624
  width: 4,
4599
4625
  height: 4,
4600
4626
  borderRadius: "50%",
4601
- background: S[n]?.color,
4602
- boxShadow: `0 0 6px ${S[n]?.color}`,
4627
+ background: w[o]?.color,
4628
+ boxShadow: `0 0 6px ${w[o]?.color}`,
4603
4629
  animation: "holo-led-blink 1.2s infinite"
4604
4630
  }
4605
4631
  }
@@ -4620,15 +4646,15 @@ function Oe({
4620
4646
  letterSpacing: "0.06em",
4621
4647
  textAlign: "center"
4622
4648
  },
4623
- children: o
4649
+ children: n
4624
4650
  }
4625
4651
  )
4626
4652
  ] });
4627
4653
  }
4628
- function De({
4654
+ function We({
4629
4655
  color: t = "#00e5ff",
4630
- label: o = "HEAP-0",
4631
- status: n = "online",
4656
+ label: n = "HEAP-0",
4657
+ status: o = "online",
4632
4658
  usedPercent: i = 0
4633
4659
  }) {
4634
4660
  return /* @__PURE__ */ d("div", { style: { position: "relative", width: 28, height: 48 }, children: [
@@ -4686,7 +4712,7 @@ function De({
4686
4712
  },
4687
4713
  s
4688
4714
  )),
4689
- n && n !== "online" && n !== "offline" && /* @__PURE__ */ e(
4715
+ o && o !== "online" && o !== "offline" && /* @__PURE__ */ e(
4690
4716
  "div",
4691
4717
  {
4692
4718
  style: {
@@ -4696,7 +4722,7 @@ function De({
4696
4722
  width: 3,
4697
4723
  height: 3,
4698
4724
  borderRadius: "50%",
4699
- background: S[n]?.color,
4725
+ background: w[o]?.color,
4700
4726
  animation: "holo-led-blink 1.2s infinite"
4701
4727
  }
4702
4728
  }
@@ -4717,18 +4743,18 @@ function De({
4717
4743
  letterSpacing: "0.05em",
4718
4744
  textAlign: "center"
4719
4745
  },
4720
- children: o
4746
+ children: n
4721
4747
  }
4722
4748
  )
4723
4749
  ] });
4724
4750
  }
4725
4751
  function ye({
4726
4752
  color: t = "#00e5ff",
4727
- label: o = "DRIVE-1",
4728
- status: n = "online",
4753
+ label: n = "DRIVE-1",
4754
+ status: o = "online",
4729
4755
  activity: i = !1
4730
4756
  }) {
4731
- return /* @__PURE__ */ d(ht, { w: 56, h: 22, color: t, label: o, status: n, children: [
4757
+ return /* @__PURE__ */ d(ht, { w: 56, h: 22, color: t, label: n, status: o, children: [
4732
4758
  /* @__PURE__ */ e(
4733
4759
  "div",
4734
4760
  {
@@ -4763,8 +4789,8 @@ function ye({
4763
4789
  }
4764
4790
  function ut({
4765
4791
  color: t = "#00e5ff",
4766
- label: o = "NET",
4767
- status: n = "online"
4792
+ label: n = "NET",
4793
+ status: o = "online"
4768
4794
  }) {
4769
4795
  return /* @__PURE__ */ d(
4770
4796
  "div",
@@ -4818,24 +4844,24 @@ function ut({
4818
4844
  textAlign: "center",
4819
4845
  letterSpacing: "0.08em"
4820
4846
  },
4821
- children: o
4847
+ children: n
4822
4848
  }
4823
4849
  )
4824
4850
  ]
4825
4851
  }
4826
4852
  );
4827
4853
  }
4828
- function L({
4854
+ function I({
4829
4855
  color: t = "#00e5ff",
4830
- label: o = "THREAD",
4831
- status: n = "online"
4856
+ label: n = "THREAD",
4857
+ status: o = "online"
4832
4858
  }) {
4833
- return /* @__PURE__ */ e(ht, { w: 44, h: 28, color: t, label: o, status: n });
4859
+ return /* @__PURE__ */ e(ht, { w: 44, h: 28, color: t, label: n, status: o });
4834
4860
  }
4835
- function Le({
4861
+ function Ie({
4836
4862
  color: t = "#ff8c00",
4837
- label: o = "PLATTER-0",
4838
- status: n = "online",
4863
+ label: n = "PLATTER-0",
4864
+ status: o = "online",
4839
4865
  capacityPercent: i = 0
4840
4866
  }) {
4841
4867
  return /* @__PURE__ */ d("div", { style: { position: "relative", width: 48, height: 62 }, children: [
@@ -4880,7 +4906,7 @@ function Le({
4880
4906
  }
4881
4907
  }
4882
4908
  ),
4883
- n && n !== "online" && n !== "offline" && /* @__PURE__ */ e(
4909
+ o && o !== "online" && o !== "offline" && /* @__PURE__ */ e(
4884
4910
  "div",
4885
4911
  {
4886
4912
  style: {
@@ -4890,7 +4916,7 @@ function Le({
4890
4916
  width: 4,
4891
4917
  height: 4,
4892
4918
  borderRadius: "50%",
4893
- background: S[n]?.color,
4919
+ background: w[o]?.color,
4894
4920
  animation: "holo-led-blink 1.2s infinite"
4895
4921
  }
4896
4922
  }
@@ -4911,15 +4937,15 @@ function Le({
4911
4937
  textAlign: "center",
4912
4938
  letterSpacing: "0.06em"
4913
4939
  },
4914
- children: o
4940
+ children: n
4915
4941
  }
4916
4942
  )
4917
4943
  ] });
4918
4944
  }
4919
- function M({
4945
+ function N({
4920
4946
  color: t = "#00e5ff",
4921
- label: o = "PORT-1",
4922
- status: n = "online"
4947
+ label: n = "PORT-1",
4948
+ status: o = "online"
4923
4949
  }) {
4924
4950
  return /* @__PURE__ */ d(
4925
4951
  "div",
@@ -4945,9 +4971,9 @@ function M({
4945
4971
  width: 4,
4946
4972
  height: 4,
4947
4973
  borderRadius: "50%",
4948
- background: n && n !== "online" ? S[n]?.color ?? t : t,
4974
+ background: o && o !== "online" ? w[o]?.color ?? t : t,
4949
4975
  boxShadow: `0 0 4px ${t}`,
4950
- animation: n && n !== "online" && n !== "offline" ? "holo-led-blink 1s infinite" : "none"
4976
+ animation: o && o !== "online" && o !== "offline" ? "holo-led-blink 1s infinite" : "none"
4951
4977
  }
4952
4978
  }
4953
4979
  ),
@@ -4979,15 +5005,15 @@ function M({
4979
5005
  textAlign: "center",
4980
5006
  letterSpacing: "0.05em"
4981
5007
  },
4982
- children: o
5008
+ children: n
4983
5009
  }
4984
5010
  )
4985
5011
  ]
4986
5012
  }
4987
5013
  );
4988
5014
  }
4989
- function oi(t, o, n, i) {
4990
- const r = n === "online" ? "online" : n;
5015
+ function ii(t, n, o, i) {
5016
+ const r = o === "online" ? "online" : o;
4991
5017
  return t === "server" ? [
4992
5018
  {
4993
5019
  id: "cpu-0",
@@ -5009,8 +5035,8 @@ function oi(t, o, n, i) {
5009
5035
  {
5010
5036
  id: "thread-pool",
5011
5037
  label: "THREAD-POOL",
5012
- status: r === "critical" && o === "APP-03" ? "critical" : "online",
5013
- detail: r === "critical" && o === "APP-03" ? "Thread exhaustion" : void 0
5038
+ status: r === "critical" && n === "APP-03" ? "critical" : "online",
5039
+ detail: r === "critical" && n === "APP-03" ? "Thread exhaustion" : void 0
5014
5040
  },
5015
5041
  { id: "network", label: "NET", status: r === "offline" ? "offline" : "online" }
5016
5042
  ] : t === "dispatcher" ? [
@@ -5073,8 +5099,8 @@ function oi(t, o, n, i) {
5073
5099
  {
5074
5100
  id: "platter-2",
5075
5101
  label: "PLATTER-2",
5076
- status: r === "warning" && o === "DB-STB" ? "warning" : "online",
5077
- detail: r === "warning" && o === "DB-STB" ? "Replication lag" : void 0
5102
+ status: r === "warning" && n === "DB-STB" ? "warning" : "online",
5103
+ detail: r === "warning" && n === "DB-STB" ? "Replication lag" : void 0
5078
5104
  },
5079
5105
  {
5080
5106
  id: "conn-pool",
@@ -5091,7 +5117,7 @@ function oi(t, o, n, i) {
5091
5117
  ] : [];
5092
5118
  }
5093
5119
  const E = "cubic-bezier(0.34, 1.56, 0.64, 1)", ni = "cubic-bezier(0.16, 1, 0.3, 1)";
5094
- function ri({ items: t, revealPhase: o }) {
5120
+ function oi({ items: t, revealPhase: n }) {
5095
5121
  return /* @__PURE__ */ e(
5096
5122
  "div",
5097
5123
  {
@@ -5103,36 +5129,36 @@ function ri({ items: t, revealPhase: o }) {
5103
5129
  alignItems: "center",
5104
5130
  padding: 24
5105
5131
  },
5106
- children: t.map((n, i) => /* @__PURE__ */ e(
5132
+ children: t.map((o, i) => /* @__PURE__ */ e(
5107
5133
  "div",
5108
5134
  {
5109
5135
  style: {
5110
- opacity: o >= 0.2 + i * 0.06 ? 1 : 0,
5111
- transform: `scale(${o >= 0.2 + i * 0.06 ? 1 : 0.6})`,
5136
+ opacity: n >= 0.2 + i * 0.06 ? 1 : 0,
5137
+ transform: `scale(${n >= 0.2 + i * 0.06 ? 1 : 0.6})`,
5112
5138
  transition: `opacity 0.4s ${E} ${i * 0.06}s, transform 0.45s ${E} ${i * 0.06}s`
5113
5139
  },
5114
- children: n.element
5140
+ children: o.element
5115
5141
  },
5116
- n.id
5142
+ o.id
5117
5143
  ))
5118
5144
  }
5119
5145
  );
5120
5146
  }
5121
- function ai({
5147
+ function ri({
5122
5148
  type: t,
5123
- status: o,
5124
- context: n,
5149
+ status: n,
5150
+ context: o,
5125
5151
  internal: i,
5126
5152
  revealPhase: r
5127
5153
  }) {
5128
- const a = S[o]?.color ?? S.online.color, s = "#ff8c00";
5154
+ const a = w[n]?.color ?? w.online.color, s = "#ff8c00";
5129
5155
  if (t === "server") {
5130
- const l = n.cpuLoad ?? 50, f = n.memLoad ?? 60, c = [
5156
+ const l = o.cpuLoad ?? 50, f = o.memLoad ?? 60, c = [
5131
5157
  {
5132
5158
  key: "cpu0",
5133
5159
  delay: 0,
5134
5160
  el: /* @__PURE__ */ e(
5135
- Oe,
5161
+ De,
5136
5162
  {
5137
5163
  color: a,
5138
5164
  label: "CPU-0",
@@ -5146,7 +5172,7 @@ function ai({
5146
5172
  key: "cpu1",
5147
5173
  delay: 1,
5148
5174
  el: /* @__PURE__ */ e(
5149
- Oe,
5175
+ De,
5150
5176
  {
5151
5177
  color: a,
5152
5178
  label: "CPU-1",
@@ -5160,7 +5186,7 @@ function ai({
5160
5186
  key: "heap0",
5161
5187
  delay: 2,
5162
5188
  el: /* @__PURE__ */ e(
5163
- De,
5189
+ We,
5164
5190
  {
5165
5191
  color: "#8855ee",
5166
5192
  label: "HEAP-0",
@@ -5174,7 +5200,7 @@ function ai({
5174
5200
  key: "heap1",
5175
5201
  delay: 3,
5176
5202
  el: /* @__PURE__ */ e(
5177
- De,
5203
+ We,
5178
5204
  {
5179
5205
  color: "#8855ee",
5180
5206
  label: "HEAP-1",
@@ -5218,7 +5244,7 @@ function ai({
5218
5244
  {
5219
5245
  key: "thread",
5220
5246
  delay: 7,
5221
- el: /* @__PURE__ */ e(L, { color: a, label: "THREAD-POOL", status: i[7]?.status })
5247
+ el: /* @__PURE__ */ e(I, { color: a, label: "THREAD-POOL", status: i[7]?.status })
5222
5248
  },
5223
5249
  {
5224
5250
  key: "net",
@@ -5237,7 +5263,7 @@ function ai({
5237
5263
  alignItems: "center",
5238
5264
  padding: 24
5239
5265
  },
5240
- children: c.map(({ key: p, delay: h, el: g }) => /* @__PURE__ */ e(
5266
+ children: c.map(({ key: p, delay: h, el: y }) => /* @__PURE__ */ e(
5241
5267
  "div",
5242
5268
  {
5243
5269
  style: {
@@ -5245,7 +5271,7 @@ function ai({
5245
5271
  transform: `scale(${r >= 0.2 + h * 0.08 ? 1 : 0.6})`,
5246
5272
  transition: `opacity 0.4s ${E} ${h * 0.06}s, transform 0.45s ${E} ${h * 0.06}s`
5247
5273
  },
5248
- children: g
5274
+ children: y
5249
5275
  },
5250
5276
  p
5251
5277
  ))
@@ -5263,7 +5289,7 @@ function ai({
5263
5289
  transform: `scale(${r >= 0.25 + c * 0.04 ? 1 : 0.5})`,
5264
5290
  transition: `opacity 0.35s ${E} ${c * 0.04}s, transform 0.4s ${E} ${c * 0.04}s`
5265
5291
  },
5266
- children: /* @__PURE__ */ e(M, { color: a, label: `PORT-${c + 1}`, status: p?.status })
5292
+ children: /* @__PURE__ */ e(N, { color: a, label: `PORT-${c + 1}`, status: p?.status })
5267
5293
  },
5268
5294
  `p${c}`
5269
5295
  );
@@ -5289,7 +5315,7 @@ function ai({
5289
5315
  transform: `scale(${r >= 0.7 ? 1 : 0.6})`,
5290
5316
  transition: `all 0.4s ${E} 0.3s`
5291
5317
  },
5292
- children: /* @__PURE__ */ e(L, { color: a, label: "HTTP-WORKER", status: i[8]?.status })
5318
+ children: /* @__PURE__ */ e(I, { color: a, label: "HTTP-WORKER", status: i[8]?.status })
5293
5319
  }
5294
5320
  ),
5295
5321
  /* @__PURE__ */ e(
@@ -5300,7 +5326,7 @@ function ai({
5300
5326
  transform: `scale(${r >= 0.8 ? 1 : 0.6})`,
5301
5327
  transition: `all 0.4s ${E} 0.4s`
5302
5328
  },
5303
- children: /* @__PURE__ */ e(L, { color: "#bb55ff", label: "HTTPS-WORKER", status: i[9]?.status })
5329
+ children: /* @__PURE__ */ e(I, { color: "#bb55ff", label: "HTTPS-WORKER", status: i[9]?.status })
5304
5330
  }
5305
5331
  )
5306
5332
  ] })
@@ -5329,7 +5355,7 @@ function ai({
5329
5355
  transform: `scale(${r >= 0.25 + l * 0.1 ? 1 : 0.6})`,
5330
5356
  transition: `all 0.4s ${E} ${l * 0.08}s`
5331
5357
  },
5332
- children: /* @__PURE__ */ e(M, { color: "#bb55ff", label: `INST-${l}`, status: i[l]?.status })
5358
+ children: /* @__PURE__ */ e(N, { color: "#bb55ff", label: `INST-${l}`, status: i[l]?.status })
5333
5359
  },
5334
5360
  l
5335
5361
  )),
@@ -5341,7 +5367,7 @@ function ai({
5341
5367
  transform: `scale(${r >= 0.6 ? 1 : 0.6})`,
5342
5368
  transition: `all 0.4s ${E} 0.25s`
5343
5369
  },
5344
- children: /* @__PURE__ */ e(L, { color: "#bb55ff", label: "QUEUE-0", status: i[3]?.status })
5370
+ children: /* @__PURE__ */ e(I, { color: "#bb55ff", label: "QUEUE-0", status: i[3]?.status })
5345
5371
  }
5346
5372
  ),
5347
5373
  [4, 5, 6].map((l) => /* @__PURE__ */ e(
@@ -5353,7 +5379,7 @@ function ai({
5353
5379
  transition: `all 0.4s ${E} ${0.35 + (l - 4) * 0.05}s`
5354
5380
  },
5355
5381
  children: /* @__PURE__ */ e(
5356
- L,
5382
+ I,
5357
5383
  {
5358
5384
  color: "#bb55ff",
5359
5385
  label: `WORKER-${l - 3}`,
@@ -5367,7 +5393,7 @@ function ai({
5367
5393
  }
5368
5394
  );
5369
5395
  if (t === "database") {
5370
- const l = n.capacity ?? 72;
5396
+ const l = o.capacity ?? 72;
5371
5397
  return /* @__PURE__ */ d(
5372
5398
  "div",
5373
5399
  {
@@ -5389,7 +5415,7 @@ function ai({
5389
5415
  transition: `all 0.45s ${E} ${f * 0.1}s`
5390
5416
  },
5391
5417
  children: /* @__PURE__ */ e(
5392
- Le,
5418
+ Ie,
5393
5419
  {
5394
5420
  color: s,
5395
5421
  label: `PLATTER-${f}`,
@@ -5408,7 +5434,7 @@ function ai({
5408
5434
  transform: `scale(${r >= 0.6 ? 1 : 0.6})`,
5409
5435
  transition: `all 0.4s ${E} 0.3s`
5410
5436
  },
5411
- children: /* @__PURE__ */ e(L, { color: s, label: "CONN-POOL", status: i[3]?.status })
5437
+ children: /* @__PURE__ */ e(I, { color: s, label: "CONN-POOL", status: i[3]?.status })
5412
5438
  }
5413
5439
  ),
5414
5440
  /* @__PURE__ */ e(
@@ -5419,7 +5445,7 @@ function ai({
5419
5445
  transform: `scale(${r >= 0.75 ? 1 : 0.6})`,
5420
5446
  transition: `all 0.4s ${E} 0.4s`
5421
5447
  },
5422
- children: /* @__PURE__ */ e(L, { color: "#00ff88", label: "QUERY-CACHE", status: i[4]?.status })
5448
+ children: /* @__PURE__ */ e(I, { color: "#00ff88", label: "QUERY-CACHE", status: i[4]?.status })
5423
5449
  }
5424
5450
  )
5425
5451
  ]
@@ -5428,17 +5454,17 @@ function ai({
5428
5454
  }
5429
5455
  return null;
5430
5456
  }
5431
- function $i({
5457
+ function wi({
5432
5458
  type: t,
5433
- name: o,
5434
- status: n,
5459
+ name: n,
5460
+ status: o,
5435
5461
  onClose: i,
5436
5462
  animPhase: r,
5437
5463
  context: a = {},
5438
5464
  subComponents: s,
5439
5465
  graphSeries: l
5440
5466
  }) {
5441
- const f = oi(t, o, n, a), c = S[n]?.color ?? S.online.color, p = r >= 0.1 ? 1 : r * 10, h = r >= 0.2 ? "-50%" : "0%", g = r >= 0.2 ? "50%" : "0%", u = r >= 0.25 ? Math.min(1, (r - 0.25) * 1.5) : 0;
5467
+ const f = ii(t, n, o, a), c = w[o]?.color ?? w.online.color, p = r >= 0.1 ? 1 : r * 10, h = r >= 0.2 ? "-50%" : "0%", y = r >= 0.2 ? "50%" : "0%", b = r >= 0.25 ? Math.min(1, (r - 0.25) * 1.5) : 0;
5442
5468
  return /* @__PURE__ */ d(
5443
5469
  "div",
5444
5470
  {
@@ -5450,7 +5476,7 @@ function $i({
5450
5476
  flexDirection: "row",
5451
5477
  pointerEvents: "auto"
5452
5478
  },
5453
- onClick: (b) => b.stopPropagation(),
5479
+ onClick: (g) => g.stopPropagation(),
5454
5480
  children: [
5455
5481
  /* @__PURE__ */ e(
5456
5482
  "div",
@@ -5468,12 +5494,12 @@ function $i({
5468
5494
  }
5469
5495
  ),
5470
5496
  /* @__PURE__ */ e(
5471
- ti,
5497
+ ei,
5472
5498
  {
5473
5499
  type: t,
5474
- name: o,
5500
+ name: n,
5475
5501
  context: a,
5476
- status: n,
5502
+ status: o,
5477
5503
  animPhase: r,
5478
5504
  series: l
5479
5505
  }
@@ -5526,7 +5552,7 @@ function $i({
5526
5552
  background: "linear-gradient(90deg, rgba(2, 12, 28, 0.95) 0%, rgba(2, 8, 20, 0.98) 100%)",
5527
5553
  borderLeft: `2px solid ${c}44`,
5528
5554
  boxShadow: "-4px 0 32px rgba(0,0,0,0.6)",
5529
- transform: `translateX(${g})`,
5555
+ transform: `translateX(${y})`,
5530
5556
  transition: `transform 0.7s ${E}`
5531
5557
  }
5532
5558
  }
@@ -5549,7 +5575,7 @@ function $i({
5549
5575
  boxShadow: `0 0 40px ${c}18, inset 0 0 60px rgba(0,0,0,0.4)`,
5550
5576
  display: "flex",
5551
5577
  flexDirection: "column",
5552
- opacity: u >= 0.1 ? 1 : 0,
5578
+ opacity: b >= 0.1 ? 1 : 0,
5553
5579
  transition: `opacity 0.5s ${E} 0.2s`
5554
5580
  },
5555
5581
  children: [
@@ -5576,7 +5602,7 @@ function $i({
5576
5602
  borderRadius: "50%",
5577
5603
  background: c,
5578
5604
  boxShadow: `0 0 10px ${c}`,
5579
- animation: n === "warning" || n === "critical" ? "holo-led-blink 1.5s infinite" : "none"
5605
+ animation: o === "warning" || o === "critical" ? "holo-led-blink 1.5s infinite" : "none"
5580
5606
  }
5581
5607
  }
5582
5608
  ),
@@ -5591,7 +5617,7 @@ function $i({
5591
5617
  fontFamily: "'Courier New', monospace"
5592
5618
  },
5593
5619
  children: [
5594
- o,
5620
+ n,
5595
5621
  " · INTERNAL VIEW"
5596
5622
  ]
5597
5623
  }
@@ -5638,15 +5664,15 @@ function $i({
5638
5664
  }
5639
5665
  }
5640
5666
  ),
5641
- /* @__PURE__ */ e("div", { style: { flex: 1, padding: "8px 0 24px" }, children: s ? /* @__PURE__ */ e(ri, { items: s, revealPhase: u }) : /* @__PURE__ */ e(
5642
- ai,
5667
+ /* @__PURE__ */ e("div", { style: { flex: 1, padding: "8px 0 24px" }, children: s ? /* @__PURE__ */ e(oi, { items: s, revealPhase: b }) : /* @__PURE__ */ e(
5668
+ ri,
5643
5669
  {
5644
5670
  type: t,
5645
- name: o,
5646
- status: n,
5671
+ name: n,
5672
+ status: o,
5647
5673
  context: a,
5648
5674
  internal: f,
5649
- revealPhase: u
5675
+ revealPhase: b
5650
5676
  }
5651
5677
  ) })
5652
5678
  ]
@@ -5659,91 +5685,38 @@ function $i({
5659
5685
  }
5660
5686
  );
5661
5687
  }
5662
- const gt = (t) => `data:image/svg+xml,${encodeURIComponent(t.replace(/\n\s*/g, ""))}`, li = gt(`
5663
- <svg xmlns="http://www.w3.org/2000/svg" width="1920" height="1080">
5664
- <defs>
5665
- <radialGradient id="c" cx="50%" cy="45%" r="70%">
5666
- <stop offset="0%" stop-color="#0a1628"/>
5667
- <stop offset="50%" stop-color="#050d18"/>
5668
- <stop offset="100%" stop-color="#020810"/>
5669
- </radialGradient>
5670
- <radialGradient id="g" cx="50%" cy="40%" r="55%">
5671
- <stop offset="0%" stop-color="#00e5ff" stop-opacity="0.04"/>
5672
- <stop offset="100%" stop-color="#00e5ff" stop-opacity="0"/>
5673
- </radialGradient>
5674
- <pattern id="grid" width="60" height="60" patternUnits="userSpaceOnUse">
5675
- <path d="M60 0L0 0 0 60" fill="none" stroke="#00e5ff" stroke-opacity="0.04" stroke-width="0.5"/>
5676
- </pattern>
5677
- <linearGradient id="beam1" x1="0" y1="0" x2="1" y2="1">
5678
- <stop offset="0%" stop-color="#00e5ff" stop-opacity="0"/>
5679
- <stop offset="40%" stop-color="#00e5ff" stop-opacity="0.08"/>
5680
- <stop offset="60%" stop-color="#00e5ff" stop-opacity="0.12"/>
5681
- <stop offset="100%" stop-color="#00e5ff" stop-opacity="0"/>
5682
- </linearGradient>
5683
- <linearGradient id="beam2" x1="1" y1="0" x2="0" y2="1">
5684
- <stop offset="0%" stop-color="#00e5ff" stop-opacity="0"/>
5685
- <stop offset="40%" stop-color="#00e5ff" stop-opacity="0.06"/>
5686
- <stop offset="60%" stop-color="#00e5ff" stop-opacity="0.10"/>
5687
- <stop offset="100%" stop-color="#00e5ff" stop-opacity="0"/>
5688
- </linearGradient>
5689
- </defs>
5690
- <rect width="1920" height="1080" fill="url(#c)"/>
5691
- <rect width="1920" height="1080" fill="url(#grid)"/>
5692
- <rect width="1920" height="1080" fill="url(#g)"/>
5693
- <line x1="1920" y1="0" x2="960" y2="540" stroke="url(#beam1)" stroke-width="3" stroke-dasharray="8 12"/>
5694
- <line x1="0" y1="0" x2="960" y2="540" stroke="url(#beam2)" stroke-width="3" stroke-dasharray="8 12"/>
5695
- <ellipse cx="960" cy="600" rx="500" ry="120" fill="none" stroke="#00e5ff" stroke-opacity="0.06" stroke-width="1" stroke-dasharray="4 8"/>
5696
- <ellipse cx="960" cy="600" rx="350" ry="85" fill="none" stroke="#00e5ff" stroke-opacity="0.04" stroke-width="0.5" stroke-dasharray="3 6"/>
5697
- </svg>
5698
- `), si = gt(`
5699
- <svg xmlns="http://www.w3.org/2000/svg" width="400" height="400" viewBox="0 0 400 400">
5700
- <defs>
5701
- <radialGradient id="lg" cx="50%" cy="50%" r="50%">
5702
- <stop offset="0%" stop-color="#00e5ff" stop-opacity="0.15"/>
5703
- <stop offset="70%" stop-color="#00e5ff" stop-opacity="0.03"/>
5704
- <stop offset="100%" stop-color="#00e5ff" stop-opacity="0"/>
5705
- </radialGradient>
5706
- </defs>
5707
- <circle cx="200" cy="200" r="180" fill="url(#lg)"/>
5708
- <circle cx="200" cy="200" r="120" fill="none" stroke="#00e5ff" stroke-opacity="0.12" stroke-width="1" stroke-dasharray="6 4"/>
5709
- <circle cx="200" cy="200" r="80" fill="none" stroke="#00e5ff" stroke-opacity="0.08" stroke-width="0.5" stroke-dasharray="3 5"/>
5710
- <circle cx="200" cy="200" r="6" fill="#00e5ff" fill-opacity="0.3"/>
5711
- <text x="200" y="195" text-anchor="middle" font-family="Courier New, monospace" font-size="28" font-weight="700" letter-spacing="8" fill="#00e5ff" fill-opacity="0.25">D_IT</text>
5712
- <text x="200" y="220" text-anchor="middle" font-family="Courier New, monospace" font-size="9" letter-spacing="4" fill="#00e5ff" fill-opacity="0.15">DIGITAL INFRASTRUCTURE</text>
5713
- </svg>
5714
- `);
5715
- function Ri({
5688
+ function Si({
5716
5689
  brandName: t = "BUSAUD AIOps",
5717
- brandTag: o = "3D MONITOR",
5718
- services: n = [],
5690
+ brandTag: n = "3D MONITOR",
5691
+ services: o = [],
5719
5692
  backgroundImage: i,
5720
5693
  logoUrl: r,
5721
5694
  carouselSpeed: a = 6e-3,
5722
5695
  fontFamily: s,
5723
5696
  children: l
5724
5697
  }) {
5725
- const [f] = A(20), [c] = A(!1), [p] = A(!0), [h] = A(0.45), [g] = A(3.3), [u, b] = A("compact"), [m, x] = A(0), [w, P] = A(null), [y, D] = A(null), [B, $] = A(0), V = (C) => {
5726
- u === "compact" && (P(C), b("expanding"), x(0), setTimeout(() => x(1), 50), setTimeout(() => x(2), 800), setTimeout(() => x(3), 1200), setTimeout(() => x(4), 1600), setTimeout(() => x(5), 2e3), setTimeout(() => {
5727
- x(6), b("expanded");
5698
+ const [f] = L(20), [c] = L(!1), [p] = L(!0), [h] = L(0.45), [y] = L(3.3), [b, g] = L("compact"), [m, x] = L(0), [v, k] = L(null), [u, R] = L(null), [A, $] = L(0), V = (C) => {
5699
+ b === "compact" && (k(C), g("expanding"), x(0), setTimeout(() => x(1), 50), setTimeout(() => x(2), 800), setTimeout(() => x(3), 1200), setTimeout(() => x(4), 1600), setTimeout(() => x(5), 2e3), setTimeout(() => {
5700
+ x(6), g("expanded");
5728
5701
  }, 2400));
5729
- }, v = () => {
5730
- y ? (D(null), $(0)) : u === "expanded" && (b("collapsing"), x(0), P(null), setTimeout(() => {
5731
- b((C) => C === "collapsing" ? "compact" : C);
5702
+ }, W = () => {
5703
+ u ? (R(null), $(0)) : b === "expanded" && (g("collapsing"), x(0), k(null), setTimeout(() => {
5704
+ g((C) => C === "collapsing" ? "compact" : C);
5732
5705
  }, 1e3));
5733
- }, W = (C) => {
5734
- D(C), $(0);
5706
+ }, B = (C) => {
5707
+ R(C), $(0);
5735
5708
  };
5736
5709
  J.useEffect(() => {
5737
- if (!y) return;
5738
- const C = performance.now(), $e = 1200, ne = () => {
5739
- const Ne = performance.now() - C, Te = Math.min(1, Ne / $e);
5740
- $(Te), Te < 1 && requestAnimationFrame(ne);
5741
- }, le = requestAnimationFrame(ne);
5710
+ if (!u) return;
5711
+ const C = performance.now(), ke = 1200, oe = () => {
5712
+ const Ne = performance.now() - C, Te = Math.min(1, Ne / ke);
5713
+ $(Te), Te < 1 && requestAnimationFrame(oe);
5714
+ }, le = requestAnimationFrame(oe);
5742
5715
  return () => cancelAnimationFrame(le);
5743
- }, [y]);
5716
+ }, [u]);
5744
5717
  const X = () => {
5745
- D(null), $(0);
5746
- }, z = n.find((C) => C.name === w), te = z?.status ?? "online", ie = z?.dbSync ?? !0, I = z?.metrics, U = z?.alerts, oe = 330, Se = 340, ke = y ? 1.15 : 1, G = y ? -(y.ex - oe) * 0.06 : 0, N = y ? -(y.ey - Se) * 0.06 : 0;
5718
+ R(null), $(0);
5719
+ }, z = o.find((C) => C.name === v), te = z?.status ?? "online", ie = z?.dbSync ?? !0, O = z?.metrics, F = z?.alerts, ne = 330, Se = 340, $e = u ? 1.15 : 1, Q = u ? -(u.ex - ne) * 0.06 : 0, M = u ? -(u.ey - Se) * 0.06 : 0;
5747
5720
  return /* @__PURE__ */ d("div", { className: "app", style: s ? { fontFamily: s } : void 0, children: [
5748
5721
  /* @__PURE__ */ e(
5749
5722
  "div",
@@ -5753,12 +5726,12 @@ function Ri({
5753
5726
  inset: 0,
5754
5727
  zIndex: 0,
5755
5728
  background: "#020810",
5756
- backgroundImage: `url(${i || li})`,
5729
+ backgroundImage: `url(${i})`,
5757
5730
  backgroundSize: "cover",
5758
5731
  backgroundPosition: "center center",
5759
5732
  backgroundRepeat: "no-repeat",
5760
5733
  transition: "transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1)",
5761
- transform: `translate(${G}px, ${N}px) scale(${ke})`,
5734
+ transform: `translate(${Q}px, ${M}px) scale(${$e})`,
5762
5735
  willChange: "transform"
5763
5736
  }
5764
5737
  }
@@ -5768,39 +5741,39 @@ function Ri({
5768
5741
  /* @__PURE__ */ e("span", { className: "brand-pulse" }),
5769
5742
  /* @__PURE__ */ e("span", { className: "brand-text", children: t })
5770
5743
  ] }),
5771
- /* @__PURE__ */ e("div", { className: "hdr-right", children: /* @__PURE__ */ e("span", { className: "hdr-tag", children: o }) })
5744
+ /* @__PURE__ */ e("div", { className: "hdr-right", children: /* @__PURE__ */ e("span", { className: "hdr-tag", children: n }) })
5772
5745
  ] }),
5773
5746
  /* @__PURE__ */ e(
5774
5747
  "main",
5775
5748
  {
5776
5749
  className: "scene",
5777
5750
  style: {
5778
- cursor: u === "expanded" ? "zoom-out" : "default"
5751
+ cursor: b === "expanded" ? "zoom-out" : "default"
5779
5752
  },
5780
- onClick: v,
5753
+ onClick: W,
5781
5754
  children: /* @__PURE__ */ e(
5782
- zt,
5755
+ Wt,
5783
5756
  {
5784
- viewState: u,
5757
+ viewState: b,
5785
5758
  animPhase: m,
5786
- selectedSystem: w,
5787
- selectedComponent: y,
5788
- drillAnimPhase: B,
5759
+ selectedSystem: v,
5760
+ selectedComponent: u,
5761
+ drillAnimPhase: A,
5789
5762
  rotateY: f,
5790
5763
  autoRotateComponents: c,
5791
5764
  componentScale: h,
5792
- drillZoom: g,
5765
+ drillZoom: y,
5793
5766
  autoRotateCarousel: p,
5794
5767
  carouselSpeed: a,
5795
- logoUrl: r || si,
5768
+ logoUrl: r,
5796
5769
  onSelectSystem: V,
5797
- onBackgroundClick: v,
5798
- onComponentClick: W,
5770
+ onBackgroundClick: W,
5771
+ onComponentClick: B,
5799
5772
  onCloseDrill: X,
5800
5773
  selectedSystemStatus: te,
5801
5774
  selectedSystemDbSync: ie,
5802
- selectedSystemMetrics: I,
5803
- selectedSystemAlerts: U,
5775
+ selectedSystemMetrics: O,
5776
+ selectedSystemAlerts: F,
5804
5777
  children: l
5805
5778
  }
5806
5779
  )
@@ -5808,111 +5781,111 @@ function Ri({
5808
5781
  )
5809
5782
  ] });
5810
5783
  }
5811
- function k(t, o, n = 24) {
5812
- return Array.from({ length: n }, (i, r) => {
5813
- const a = r / n;
5814
- return Math.min(100, Math.max(0, t + Math.sin(a * Math.PI * 2) * o + (Math.random() - 0.5) * 10));
5784
+ function S(t, n, o = 24) {
5785
+ return Array.from({ length: o }, (i, r) => {
5786
+ const a = r / o;
5787
+ return Math.min(100, Math.max(0, t + Math.sin(a * Math.PI * 2) * n + (Math.random() - 0.5) * 10));
5815
5788
  });
5816
5789
  }
5817
5790
  function bt(t) {
5818
5791
  return t === "critical" || t === "offline" ? "#ff2255" : t === "warning" ? "#ff8c00" : "#00e5ff";
5819
5792
  }
5820
- function me(t, o, n) {
5821
- const i = t === "online" ? "online" : t, r = bt(t), a = n?.cpuLoad ?? 50, s = n?.memLoad ?? 60, l = i === "critical" || i === "warning" && a > 80 ? i : "online", f = i === "warning" && s > 85 ? "warning" : i === "critical" ? "critical" : "online", c = i === "critical" && o === "APP-03" ? "critical" : "online", p = i === "offline" ? "offline" : "online";
5793
+ function me(t, n, o) {
5794
+ const i = t === "online" ? "online" : t, r = bt(t), a = o?.cpuLoad ?? 50, s = o?.memLoad ?? 60, l = i === "critical" || i === "warning" && a > 80 ? i : "online", f = i === "warning" && s > 85 ? "warning" : i === "critical" ? "critical" : "online", c = i === "critical" && n === "APP-03" ? "critical" : "online", p = i === "offline" ? "offline" : "online";
5822
5795
  return [
5823
- { id: "cpu-0", label: "CPU-0", status: l, detail: i === "critical" ? "Core overload" : i === "warning" ? "Load spike" : void 0, element: /* @__PURE__ */ e(Oe, { color: r, label: "CPU-0", status: l, load: a }) },
5824
- { id: "cpu-1", label: "CPU-1", status: "online", element: /* @__PURE__ */ e(Oe, { color: r, label: "CPU-1", status: "online", load: a * 0.7 }) },
5825
- { id: "heap-0", label: "HEAP-0", status: f, detail: f === "warning" ? "Memory heap usage" : f === "critical" ? "OOM risk" : void 0, element: /* @__PURE__ */ e(De, { color: "#8855ee", label: "HEAP-0", status: f, usedPercent: s }) },
5826
- { id: "heap-1", label: "HEAP-1", status: "online", element: /* @__PURE__ */ e(De, { color: "#8855ee", label: "HEAP-1", status: "online", usedPercent: s * 0.85 }) },
5796
+ { id: "cpu-0", label: "CPU-0", status: l, detail: i === "critical" ? "Core overload" : i === "warning" ? "Load spike" : void 0, element: /* @__PURE__ */ e(De, { color: r, label: "CPU-0", status: l, load: a }) },
5797
+ { id: "cpu-1", label: "CPU-1", status: "online", element: /* @__PURE__ */ e(De, { color: r, label: "CPU-1", status: "online", load: a * 0.7 }) },
5798
+ { id: "heap-0", label: "HEAP-0", status: f, detail: f === "warning" ? "Memory heap usage" : f === "critical" ? "OOM risk" : void 0, element: /* @__PURE__ */ e(We, { color: "#8855ee", label: "HEAP-0", status: f, usedPercent: s }) },
5799
+ { id: "heap-1", label: "HEAP-1", status: "online", element: /* @__PURE__ */ e(We, { color: "#8855ee", label: "HEAP-1", status: "online", usedPercent: s * 0.85 }) },
5827
5800
  { id: "drive-1", label: "DRIVE-1", status: "online", element: /* @__PURE__ */ e(ye, { color: r, label: "DRIVE-1", status: "online", activity: !0 }) },
5828
5801
  { id: "drive-2", label: "DRIVE-2", status: "online", element: /* @__PURE__ */ e(ye, { color: r, label: "DRIVE-2", status: "online", activity: a > 30 }) },
5829
5802
  { id: "drive-3", label: "DRIVE-3", status: "online", element: /* @__PURE__ */ e(ye, { color: r, label: "DRIVE-3", status: "online", activity: a > 50 }) },
5830
- { id: "thread-pool", label: "THREAD-POOL", status: c, detail: c === "critical" ? "Thread exhaustion" : void 0, element: /* @__PURE__ */ e(L, { color: r, label: "THREAD-POOL", status: c }) },
5803
+ { id: "thread-pool", label: "THREAD-POOL", status: c, detail: c === "critical" ? "Thread exhaustion" : void 0, element: /* @__PURE__ */ e(I, { color: r, label: "THREAD-POOL", status: c }) },
5831
5804
  { id: "network", label: "NET", status: p, element: /* @__PURE__ */ e(ut, { color: r, label: "NET", status: p }) }
5832
5805
  ];
5833
5806
  }
5834
5807
  function xe(t) {
5835
- const o = t?.cpuLoad ?? 50, n = t?.memLoad ?? 60;
5808
+ const n = t?.cpuLoad ?? 50, o = t?.memLoad ?? 60;
5836
5809
  return [
5837
- { id: "cpu", label: "CPU-0", unit: "%", color: "#00e5ff", data: k(o, 15) },
5838
- { id: "cpu1", label: "CPU-1", unit: "%", color: "#00e5ff", data: k(o * 0.7, 12) },
5839
- { id: "heap0", label: "HEAP-0", unit: "%", color: "#8855ee", data: k(n, 18) },
5840
- { id: "heap1", label: "HEAP-1", unit: "%", color: "#8855ee", data: k(n * 0.85, 14) },
5841
- { id: "drive1", label: "DRIVE-1 I/O", unit: "%", color: "#ff8c00", data: k(40, 25) },
5842
- { id: "drive2", label: "DRIVE-2 I/O", unit: "%", color: "#ff8c00", data: k(35, 20) },
5843
- { id: "drive3", label: "DRIVE-3 I/O", unit: "%", color: "#ff8c00", data: k(30, 22) },
5844
- { id: "thread", label: "THREAD-POOL", unit: "%", color: "#22aaff", data: k(55, 20) }
5810
+ { id: "cpu", label: "CPU-0", unit: "%", color: "#00e5ff", data: S(n, 15) },
5811
+ { id: "cpu1", label: "CPU-1", unit: "%", color: "#00e5ff", data: S(n * 0.7, 12) },
5812
+ { id: "heap0", label: "HEAP-0", unit: "%", color: "#8855ee", data: S(o, 18) },
5813
+ { id: "heap1", label: "HEAP-1", unit: "%", color: "#8855ee", data: S(o * 0.85, 14) },
5814
+ { id: "drive1", label: "DRIVE-1 I/O", unit: "%", color: "#ff8c00", data: S(40, 25) },
5815
+ { id: "drive2", label: "DRIVE-2 I/O", unit: "%", color: "#ff8c00", data: S(35, 20) },
5816
+ { id: "drive3", label: "DRIVE-3 I/O", unit: "%", color: "#ff8c00", data: S(30, 22) },
5817
+ { id: "thread", label: "THREAD-POOL", unit: "%", color: "#22aaff", data: S(55, 20) }
5845
5818
  ];
5846
5819
  }
5847
- function yt(t, o, n) {
5820
+ function gt(t, n, o) {
5848
5821
  const i = t === "online" ? "online" : t, r = bt(t), a = i === "critical" || i === "offline" ? i : "online", s = i === "warning" ? "warning" : "online", l = i === "critical" ? "critical" : "online";
5849
5822
  return [
5850
- { id: "port-1", label: "PORT-1", status: "online", element: /* @__PURE__ */ e(M, { color: r, label: "PORT-1", status: "online" }) },
5851
- { id: "port-2", label: "PORT-2", status: "online", element: /* @__PURE__ */ e(M, { color: r, label: "PORT-2", status: "online" }) },
5852
- { id: "port-3", label: "PORT-3", status: a, detail: i === "critical" ? "Gateway timeout" : i === "offline" ? "Unreachable" : void 0, element: /* @__PURE__ */ e(M, { color: r, label: "PORT-3", status: a }) },
5853
- { id: "port-4", label: "PORT-4", status: "online", element: /* @__PURE__ */ e(M, { color: r, label: "PORT-4", status: "online" }) },
5854
- { id: "port-5", label: "PORT-5", status: s, detail: s === "warning" ? "Latency spike" : void 0, element: /* @__PURE__ */ e(M, { color: r, label: "PORT-5", status: s }) },
5855
- { id: "port-6", label: "PORT-6", status: "online", element: /* @__PURE__ */ e(M, { color: r, label: "PORT-6", status: "online" }) },
5856
- { id: "port-7", label: "PORT-7", status: "online", element: /* @__PURE__ */ e(M, { color: r, label: "PORT-7", status: "online" }) },
5857
- { id: "port-8", label: "PORT-8", status: "online", element: /* @__PURE__ */ e(M, { color: r, label: "PORT-8", status: "online" }) },
5858
- { id: "http-worker", label: "HTTP-WORKER", status: l, detail: l === "critical" ? "Worker timeout" : void 0, element: /* @__PURE__ */ e(L, { color: r, label: "HTTP-WORKER", status: l }) },
5859
- { id: "https-worker", label: "HTTPS-WORKER", status: "online", element: /* @__PURE__ */ e(L, { color: "#bb55ff", label: "HTTPS-WORKER", status: "online" }) }
5823
+ { id: "port-1", label: "PORT-1", status: "online", element: /* @__PURE__ */ e(N, { color: r, label: "PORT-1", status: "online" }) },
5824
+ { id: "port-2", label: "PORT-2", status: "online", element: /* @__PURE__ */ e(N, { color: r, label: "PORT-2", status: "online" }) },
5825
+ { id: "port-3", label: "PORT-3", status: a, detail: i === "critical" ? "Gateway timeout" : i === "offline" ? "Unreachable" : void 0, element: /* @__PURE__ */ e(N, { color: r, label: "PORT-3", status: a }) },
5826
+ { id: "port-4", label: "PORT-4", status: "online", element: /* @__PURE__ */ e(N, { color: r, label: "PORT-4", status: "online" }) },
5827
+ { id: "port-5", label: "PORT-5", status: s, detail: s === "warning" ? "Latency spike" : void 0, element: /* @__PURE__ */ e(N, { color: r, label: "PORT-5", status: s }) },
5828
+ { id: "port-6", label: "PORT-6", status: "online", element: /* @__PURE__ */ e(N, { color: r, label: "PORT-6", status: "online" }) },
5829
+ { id: "port-7", label: "PORT-7", status: "online", element: /* @__PURE__ */ e(N, { color: r, label: "PORT-7", status: "online" }) },
5830
+ { id: "port-8", label: "PORT-8", status: "online", element: /* @__PURE__ */ e(N, { color: r, label: "PORT-8", status: "online" }) },
5831
+ { id: "http-worker", label: "HTTP-WORKER", status: l, detail: l === "critical" ? "Worker timeout" : void 0, element: /* @__PURE__ */ e(I, { color: r, label: "HTTP-WORKER", status: l }) },
5832
+ { id: "https-worker", label: "HTTPS-WORKER", status: "online", element: /* @__PURE__ */ e(I, { color: "#bb55ff", label: "HTTPS-WORKER", status: "online" }) }
5860
5833
  ];
5861
5834
  }
5862
- function mt(t) {
5863
- const o = t?.traffic ?? 50;
5835
+ function yt(t) {
5836
+ const n = t?.traffic ?? 50;
5864
5837
  return [
5865
- { id: "traffic", label: "TRAFFIC", unit: "%", color: "#00e5ff", data: k(o, 20) },
5866
- { id: "port1", label: "PORT-1", unit: "kbps", color: "#22aaff", data: k(60, 25) },
5867
- { id: "port2", label: "PORT-2", unit: "kbps", color: "#22aaff", data: k(45, 20) },
5868
- { id: "port3", label: "PORT-3", unit: "kbps", color: "#22aaff", data: k(70, 30) },
5869
- { id: "worker", label: "WORKER", unit: "%", color: "#bb55ff", data: k(o * 0.9, 15) }
5838
+ { id: "traffic", label: "TRAFFIC", unit: "%", color: "#00e5ff", data: S(n, 20) },
5839
+ { id: "port1", label: "PORT-1", unit: "kbps", color: "#22aaff", data: S(60, 25) },
5840
+ { id: "port2", label: "PORT-2", unit: "kbps", color: "#22aaff", data: S(45, 20) },
5841
+ { id: "port3", label: "PORT-3", unit: "kbps", color: "#22aaff", data: S(70, 30) },
5842
+ { id: "worker", label: "WORKER", unit: "%", color: "#bb55ff", data: S(n * 0.9, 15) }
5870
5843
  ];
5871
5844
  }
5872
- function di(t, o, n) {
5845
+ function ai(t, n, o) {
5873
5846
  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";
5874
5847
  return [
5875
- { id: "inst-0", label: "INST-0", status: "online", element: /* @__PURE__ */ e(M, { color: "#bb55ff", label: "INST-0", status: "online" }) },
5876
- { id: "inst-1", label: "INST-1", status: "online", element: /* @__PURE__ */ e(M, { color: "#bb55ff", label: "INST-1", status: "online" }) },
5877
- { id: "inst-2", label: "INST-2", status: r, detail: r === "critical" ? "Instance unreachable" : void 0, element: /* @__PURE__ */ e(M, { color: "#bb55ff", label: "INST-2", status: r }) },
5878
- { 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(L, { color: "#bb55ff", label: "QUEUE-0", status: a }) },
5879
- { id: "worker-1", label: "WORKER-1", status: "online", element: /* @__PURE__ */ e(L, { color: "#bb55ff", label: "WORKER-1", status: "online" }) },
5880
- { id: "worker-2", label: "WORKER-2", status: "online", element: /* @__PURE__ */ e(L, { color: "#bb55ff", label: "WORKER-2", status: "online" }) },
5881
- { id: "worker-3", label: "WORKER-3", status: s, detail: s === "critical" ? "Worker timeout" : void 0, element: /* @__PURE__ */ e(L, { color: "#bb55ff", label: "WORKER-3", status: s }) }
5848
+ { id: "inst-0", label: "INST-0", status: "online", element: /* @__PURE__ */ e(N, { color: "#bb55ff", label: "INST-0", status: "online" }) },
5849
+ { id: "inst-1", label: "INST-1", status: "online", element: /* @__PURE__ */ e(N, { color: "#bb55ff", label: "INST-1", status: "online" }) },
5850
+ { id: "inst-2", label: "INST-2", status: r, detail: r === "critical" ? "Instance unreachable" : void 0, element: /* @__PURE__ */ e(N, { color: "#bb55ff", label: "INST-2", status: r }) },
5851
+ { 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(I, { color: "#bb55ff", label: "QUEUE-0", status: a }) },
5852
+ { id: "worker-1", label: "WORKER-1", status: "online", element: /* @__PURE__ */ e(I, { color: "#bb55ff", label: "WORKER-1", status: "online" }) },
5853
+ { id: "worker-2", label: "WORKER-2", status: "online", element: /* @__PURE__ */ e(I, { color: "#bb55ff", label: "WORKER-2", status: "online" }) },
5854
+ { id: "worker-3", label: "WORKER-3", status: s, detail: s === "critical" ? "Worker timeout" : void 0, element: /* @__PURE__ */ e(I, { color: "#bb55ff", label: "WORKER-3", status: s }) }
5882
5855
  ];
5883
5856
  }
5884
- function ci(t) {
5885
- const o = t?.queueDepth ?? 50;
5857
+ function li(t) {
5858
+ const n = t?.queueDepth ?? 50;
5886
5859
  return [
5887
- { id: "traffic", label: "TRAFFIC", unit: "%", color: "#00e5ff", data: k(o, 20) },
5888
- { id: "port1", label: "PORT-1", unit: "kbps", color: "#22aaff", data: k(60, 25) },
5889
- { id: "port2", label: "PORT-2", unit: "kbps", color: "#22aaff", data: k(45, 20) },
5890
- { id: "port3", label: "PORT-3", unit: "kbps", color: "#22aaff", data: k(70, 30) },
5891
- { id: "worker", label: "WORKER", unit: "%", color: "#bb55ff", data: k(o * 0.9, 15) }
5860
+ { id: "traffic", label: "TRAFFIC", unit: "%", color: "#00e5ff", data: S(n, 20) },
5861
+ { id: "port1", label: "PORT-1", unit: "kbps", color: "#22aaff", data: S(60, 25) },
5862
+ { id: "port2", label: "PORT-2", unit: "kbps", color: "#22aaff", data: S(45, 20) },
5863
+ { id: "port3", label: "PORT-3", unit: "kbps", color: "#22aaff", data: S(70, 30) },
5864
+ { id: "worker", label: "WORKER", unit: "%", color: "#bb55ff", data: S(n * 0.9, 15) }
5892
5865
  ];
5893
5866
  }
5894
- function We(t, o, n) {
5895
- const i = t === "online" ? "online" : t, r = "#ff8c00", a = n?.capacity ?? 72, s = i === "critical" || i === "offline" ? i : i === "warning" ? "warning" : "online", l = i === "warning" && o === "DB-STB" ? "warning" : "online", f = i === "critical" ? "critical" : "online", c = i === "warning" ? "warning" : "online";
5867
+ function ze(t, n, o) {
5868
+ const i = t === "online" ? "online" : t, r = "#ff8c00", a = o?.capacity ?? 72, s = i === "critical" || i === "offline" ? i : i === "warning" ? "warning" : "online", l = i === "warning" && n === "DB-STB" ? "warning" : "online", f = i === "critical" ? "critical" : "online", c = i === "warning" ? "warning" : "online";
5896
5869
  return [
5897
- { id: "platter-0", label: "PLATTER-0", status: "online", element: /* @__PURE__ */ e(Le, { color: r, label: "PLATTER-0", status: "online", capacityPercent: a }) },
5898
- { 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(Le, { color: r, label: "PLATTER-1", status: s, capacityPercent: a }) },
5899
- { id: "platter-2", label: "PLATTER-2", status: l, detail: l === "warning" ? "Replication lag" : void 0, element: /* @__PURE__ */ e(Le, { color: r, label: "PLATTER-2", status: l, capacityPercent: a }) },
5900
- { id: "conn-pool", label: "CONN-POOL", status: f, detail: f === "critical" ? "Pool exhausted" : void 0, element: /* @__PURE__ */ e(L, { color: r, label: "CONN-POOL", status: f }) },
5901
- { id: "query-cache", label: "QUERY-CACHE", status: c, detail: c === "warning" ? "Cache miss rate" : void 0, element: /* @__PURE__ */ e(L, { color: "#00ff88", label: "QUERY-CACHE", status: c }) }
5870
+ { id: "platter-0", label: "PLATTER-0", status: "online", element: /* @__PURE__ */ e(Ie, { color: r, label: "PLATTER-0", status: "online", capacityPercent: a }) },
5871
+ { id: "platter-1", label: "PLATTER-1", status: s, detail: i === "critical" ? "I/O failure" : i === "offline" ? "Connection lost" : i === "warning" ? "Slow queries" : void 0, element: /* @__PURE__ */ e(Ie, { color: r, label: "PLATTER-1", status: s, capacityPercent: a }) },
5872
+ { id: "platter-2", label: "PLATTER-2", status: l, detail: l === "warning" ? "Replication lag" : void 0, element: /* @__PURE__ */ e(Ie, { color: r, label: "PLATTER-2", status: l, capacityPercent: a }) },
5873
+ { id: "conn-pool", label: "CONN-POOL", status: f, detail: f === "critical" ? "Pool exhausted" : void 0, element: /* @__PURE__ */ e(I, { color: r, label: "CONN-POOL", status: f }) },
5874
+ { id: "query-cache", label: "QUERY-CACHE", status: c, detail: c === "warning" ? "Cache miss rate" : void 0, element: /* @__PURE__ */ e(I, { color: "#00ff88", label: "QUERY-CACHE", status: c }) }
5902
5875
  ];
5903
5876
  }
5904
- function ze(t) {
5905
- const o = t?.capacity ?? 70;
5877
+ function Me(t) {
5878
+ const n = t?.capacity ?? 70;
5906
5879
  return [
5907
- { id: "platter0", label: "PLATTER-0 I/O", unit: "%", color: "#ff8c00", data: k(40, 20) },
5908
- { id: "platter1", label: "PLATTER-1 I/O", unit: "%", color: "#ff8c00", data: k(55, 25) },
5909
- { id: "platter2", label: "PLATTER-2 I/O", unit: "%", color: "#ff8c00", data: k(35, 18) },
5910
- { id: "connpool", label: "CONN-POOL", unit: "%", color: "#00e5ff", data: k(o, 15) },
5911
- { id: "cache", label: "QUERY-CACHE", unit: "%", color: "#00ff88", data: k(75, 12) }
5880
+ { id: "platter0", label: "PLATTER-0 I/O", unit: "%", color: "#ff8c00", data: S(40, 20) },
5881
+ { id: "platter1", label: "PLATTER-1 I/O", unit: "%", color: "#ff8c00", data: S(55, 25) },
5882
+ { id: "platter2", label: "PLATTER-2 I/O", unit: "%", color: "#ff8c00", data: S(35, 18) },
5883
+ { id: "connpool", label: "CONN-POOL", unit: "%", color: "#00e5ff", data: S(n, 15) },
5884
+ { id: "cache", label: "QUERY-CACHE", unit: "%", color: "#00ff88", data: S(75, 12) }
5912
5885
  ];
5913
5886
  }
5914
5887
  function Je(t) {
5915
- const o = [
5888
+ const n = [
5916
5889
  t.wdStatus,
5917
5890
  t.msStatus,
5918
5891
  t.srv1Status,
@@ -5921,40 +5894,40 @@ function Je(t) {
5921
5894
  t.pdbStatus,
5922
5895
  t.sdbStatus
5923
5896
  ];
5924
- return o.includes("critical") ? "critical" : o.includes("warning") ? "warning" : o.includes("offline") ? "offline" : "online";
5897
+ return n.includes("critical") ? "critical" : n.includes("warning") ? "warning" : n.includes("offline") ? "offline" : "online";
5925
5898
  }
5926
- function Pi(t) {
5927
- const o = Je(t), n = o === "critical" || o === "offline", i = o === "warning";
5899
+ function $i(t) {
5900
+ const n = Je(t), o = n === "critical" || n === "offline", i = n === "warning";
5928
5901
  return [
5929
5902
  {
5930
5903
  label: "Uptime",
5931
- value: n ? "94.20%" : "99.97%",
5932
- color: n ? "#ff2255" : "#00ff88"
5904
+ value: o ? "94.20%" : "99.97%",
5905
+ color: o ? "#ff2255" : "#00ff88"
5933
5906
  },
5934
5907
  {
5935
5908
  label: "Avg Latency",
5936
5909
  value: i ? "98ms" : "18ms",
5937
5910
  color: i ? "#ff8c00" : "#00e5ff"
5938
5911
  },
5939
- { label: "Active Users", value: n ? "812" : "1,243", color: "#bb55ff" },
5940
- { label: "Throughput", value: `${n ? "1.8k" : "4.2k"} req/s`, color: "#fff" },
5912
+ { label: "Active Users", value: o ? "812" : "1,243", color: "#bb55ff" },
5913
+ { label: "Throughput", value: `${o ? "1.8k" : "4.2k"} req/s`, color: "#fff" },
5941
5914
  {
5942
5915
  label: "Error Rate",
5943
- value: n ? "3.85%" : i ? "0.72%" : "0.01%",
5944
- color: n ? "#ff2255" : i ? "#ff8c00" : "#00ff88"
5916
+ value: o ? "3.85%" : i ? "0.72%" : "0.01%",
5917
+ color: o ? "#ff2255" : i ? "#ff8c00" : "#00ff88"
5945
5918
  }
5946
5919
  ];
5947
5920
  }
5948
- function Ci(t) {
5949
- const o = Je(t), n = o === "critical" || o === "offline", i = o === "warning";
5921
+ function ki(t) {
5922
+ const n = Je(t), o = n === "critical" || n === "offline", i = n === "warning";
5950
5923
  return [
5951
5924
  ...t.dbSync ? [] : [{ level: "warning", message: "DB Replication Lag Detected" }],
5952
- ...n ? [{ level: "critical", message: "Critical Component Failure" }] : [],
5953
- ...i && !n ? [{ level: "warning", message: "Component Warning State" }] : [],
5954
- ...!n && !i && t.dbSync ? [{ level: "info", message: "All Systems Nominal" }] : []
5925
+ ...o ? [{ level: "critical", message: "Critical Component Failure" }] : [],
5926
+ ...i && !o ? [{ level: "warning", message: "Component Warning State" }] : [],
5927
+ ...!o && !i && t.dbSync ? [{ level: "info", message: "All Systems Nominal" }] : []
5955
5928
  ];
5956
5929
  }
5957
- const pi = [
5930
+ const si = [
5958
5931
  { from: [330, 120], to: [220, 260], visibleAtPhase: 3 },
5959
5932
  { from: [330, 120], to: [440, 260], visibleAtPhase: 3 },
5960
5933
  { from: [220, 260], to: [165, 390], visibleAtPhase: 4 },
@@ -5967,8 +5940,8 @@ const pi = [
5967
5940
  { from: [330, 390], to: [200, 520], visibleAtPhase: 5, color: "#ff8c00" },
5968
5941
  { from: [495, 390], to: [200, 520], visibleAtPhase: 5, color: "#ff8c00" }
5969
5942
  ];
5970
- function fi({ config: t }) {
5971
- const o = J.useContext(ae), n = o?.rotateY ?? 20, i = o?.autoRotateComponents ?? !0, { wdStatus: r, msStatus: a, srv1Status: s, srv2Status: l, srv3Status: f, pdbStatus: c, sdbStatus: p, dbSync: h } = t;
5943
+ function di({ config: t }) {
5944
+ const n = J.useContext(ae), o = n?.rotateY ?? 20, i = n?.autoRotateComponents ?? !0, { wdStatus: r, msStatus: a, srv1Status: s, srv2Status: l, srv3Status: f, pdbStatus: c, sdbStatus: p, dbSync: h } = t;
5972
5945
  return /* @__PURE__ */ d(Ce, { children: [
5973
5946
  /* @__PURE__ */ e(
5974
5947
  T,
@@ -5998,13 +5971,13 @@ function fi({ config: t }) {
5998
5971
  name: "WEB-DISP",
5999
5972
  status: r,
6000
5973
  context: { traffic: 78 },
6001
- subComponents: yt(r),
6002
- graphSeries: mt({ traffic: 78 })
5974
+ subComponents: gt(r),
5975
+ graphSeries: yt({ traffic: 78 })
6003
5976
  },
6004
5977
  children: /* @__PURE__ */ e(
6005
5978
  pt,
6006
5979
  {
6007
- rotateY: n,
5980
+ rotateY: o,
6008
5981
  autoRotate: i,
6009
5982
  status: r,
6010
5983
  name: "WEB-DISP",
@@ -6031,13 +6004,13 @@ function fi({ config: t }) {
6031
6004
  name: "MSG-SRV",
6032
6005
  status: a,
6033
6006
  context: { queueDepth: 45 },
6034
- subComponents: di(a),
6035
- graphSeries: ci({ queueDepth: 45 })
6007
+ subComponents: ai(a),
6008
+ graphSeries: li({ queueDepth: 45 })
6036
6009
  },
6037
6010
  children: /* @__PURE__ */ e(
6038
- Jt,
6011
+ Zt,
6039
6012
  {
6040
- rotateY: -n,
6013
+ rotateY: -o,
6041
6014
  autoRotate: i,
6042
6015
  status: a,
6043
6016
  name: "MSG-SRV",
@@ -6071,7 +6044,7 @@ function fi({ config: t }) {
6071
6044
  children: /* @__PURE__ */ e(
6072
6045
  ue,
6073
6046
  {
6074
- rotateY: n,
6047
+ rotateY: o,
6075
6048
  autoRotate: i,
6076
6049
  status: s,
6077
6050
  name: "APP-01",
@@ -6104,7 +6077,7 @@ function fi({ config: t }) {
6104
6077
  children: /* @__PURE__ */ e(
6105
6078
  ue,
6106
6079
  {
6107
- rotateY: n,
6080
+ rotateY: o,
6108
6081
  autoRotate: i,
6109
6082
  status: l,
6110
6083
  name: "APP-02",
@@ -6137,7 +6110,7 @@ function fi({ config: t }) {
6137
6110
  children: /* @__PURE__ */ e(
6138
6111
  ue,
6139
6112
  {
6140
- rotateY: n,
6113
+ rotateY: o,
6141
6114
  autoRotate: i,
6142
6115
  status: f,
6143
6116
  name: "APP-03",
@@ -6164,13 +6137,13 @@ function fi({ config: t }) {
6164
6137
  name: "DB-PRI",
6165
6138
  status: c,
6166
6139
  context: { capacity: 72 },
6167
- subComponents: We(c, "DB-PRI", { capacity: 72 }),
6168
- graphSeries: ze({ capacity: 72 })
6140
+ subComponents: ze(c, "DB-PRI", { capacity: 72 }),
6141
+ graphSeries: Me({ capacity: 72 })
6169
6142
  },
6170
6143
  children: /* @__PURE__ */ e(
6171
- Ie,
6144
+ Oe,
6172
6145
  {
6173
- rotateY: -n,
6146
+ rotateY: -o,
6174
6147
  autoRotate: i,
6175
6148
  status: c,
6176
6149
  name: "DB-PRI",
@@ -6197,13 +6170,13 @@ function fi({ config: t }) {
6197
6170
  name: "DB-STB",
6198
6171
  status: p,
6199
6172
  context: { capacity: 72 },
6200
- subComponents: We(p, "DB-STB", { capacity: 72 }),
6201
- graphSeries: ze({ capacity: 72 })
6173
+ subComponents: ze(p, "DB-STB", { capacity: 72 }),
6174
+ graphSeries: Me({ capacity: 72 })
6202
6175
  },
6203
6176
  children: /* @__PURE__ */ e(
6204
- Ie,
6177
+ Oe,
6205
6178
  {
6206
- rotateY: n,
6179
+ rotateY: o,
6207
6180
  autoRotate: i,
6208
6181
  status: p,
6209
6182
  name: "DB-STB",
@@ -6227,29 +6200,29 @@ function fi({ config: t }) {
6227
6200
  children: /* @__PURE__ */ e(ct, { synced: h, latencyMs: h ? 8 : 342 })
6228
6201
  }
6229
6202
  ),
6230
- /* @__PURE__ */ e(hi, { config: t })
6203
+ /* @__PURE__ */ e(ci, { config: t })
6231
6204
  ] });
6232
6205
  }
6233
- function hi({ config: t }) {
6234
- const o = J.useContext(ae), { wdStatus: n, msStatus: i, srv1Status: r, srv2Status: a, srv3Status: s, pdbStatus: l, sdbStatus: f, dbSync: c } = t, p = o?.isSelected && o?.isExpandedPos;
6235
- return o?.isSelected ? /* @__PURE__ */ d("div", { style: { pointerEvents: "none" }, children: [
6206
+ function ci({ config: t }) {
6207
+ const n = J.useContext(ae), { wdStatus: o, msStatus: i, srv1Status: r, srv2Status: a, srv3Status: s, pdbStatus: l, sdbStatus: f, dbSync: c } = t, p = n?.isSelected && n?.isExpandedPos;
6208
+ return n?.isSelected ? /* @__PURE__ */ d("div", { style: { pointerEvents: "none" }, children: [
6236
6209
  /* @__PURE__ */ e(
6237
- O,
6210
+ D,
6238
6211
  {
6239
6212
  ex: 220,
6240
6213
  ey: 260,
6241
- status: n,
6214
+ status: o,
6242
6215
  title: "WEB-DISP",
6243
- msg: n === "critical" || n === "offline" ? "Gateway timeout detected." : "High latency detected.",
6216
+ msg: o === "critical" || o === "offline" ? "Gateway timeout detected." : "High latency detected.",
6244
6217
  offsetX: -90,
6245
6218
  offsetY: -40,
6246
6219
  align: "left",
6247
6220
  isVisible: !!p,
6248
- internalRef: n !== "online" ? "PORT-3" : void 0
6221
+ internalRef: o !== "online" ? "PORT-3" : void 0
6249
6222
  }
6250
6223
  ),
6251
6224
  /* @__PURE__ */ e(
6252
- O,
6225
+ D,
6253
6226
  {
6254
6227
  ex: 440,
6255
6228
  ey: 260,
@@ -6264,7 +6237,7 @@ function hi({ config: t }) {
6264
6237
  }
6265
6238
  ),
6266
6239
  /* @__PURE__ */ e(
6267
- O,
6240
+ D,
6268
6241
  {
6269
6242
  ex: 165,
6270
6243
  ey: 390,
@@ -6279,7 +6252,7 @@ function hi({ config: t }) {
6279
6252
  }
6280
6253
  ),
6281
6254
  /* @__PURE__ */ e(
6282
- O,
6255
+ D,
6283
6256
  {
6284
6257
  ex: 330,
6285
6258
  ey: 390,
@@ -6294,7 +6267,7 @@ function hi({ config: t }) {
6294
6267
  }
6295
6268
  ),
6296
6269
  /* @__PURE__ */ e(
6297
- O,
6270
+ D,
6298
6271
  {
6299
6272
  ex: 495,
6300
6273
  ey: 390,
@@ -6309,7 +6282,7 @@ function hi({ config: t }) {
6309
6282
  }
6310
6283
  ),
6311
6284
  /* @__PURE__ */ e(
6312
- O,
6285
+ D,
6313
6286
  {
6314
6287
  ex: 200,
6315
6288
  ey: 520,
@@ -6324,7 +6297,7 @@ function hi({ config: t }) {
6324
6297
  }
6325
6298
  ),
6326
6299
  /* @__PURE__ */ e(
6327
- O,
6300
+ D,
6328
6301
  {
6329
6302
  ex: 460,
6330
6303
  ey: 520,
@@ -6339,7 +6312,7 @@ function hi({ config: t }) {
6339
6312
  }
6340
6313
  ),
6341
6314
  !c && /* @__PURE__ */ e(
6342
- O,
6315
+ D,
6343
6316
  {
6344
6317
  ex: 330,
6345
6318
  ey: 520,
@@ -6355,20 +6328,20 @@ function hi({ config: t }) {
6355
6328
  )
6356
6329
  ] }) : null;
6357
6330
  }
6358
- function Ei({ config: t, ...o }) {
6331
+ function Ri({ config: t, ...n }) {
6359
6332
  return /* @__PURE__ */ e(
6360
6333
  dt,
6361
6334
  {
6362
6335
  name: t.name,
6363
6336
  status: Je(t),
6364
- connections: pi,
6365
- ...o,
6366
- children: /* @__PURE__ */ e(fi, { config: t })
6337
+ connections: si,
6338
+ ...n,
6339
+ children: /* @__PURE__ */ e(di, { config: t })
6367
6340
  }
6368
6341
  );
6369
6342
  }
6370
6343
  function et(t) {
6371
- const o = [
6344
+ const n = [
6372
6345
  t.dispStatus,
6373
6346
  t.srv1Status,
6374
6347
  t.srv2Status,
@@ -6376,15 +6349,15 @@ function et(t) {
6376
6349
  t.pdbStatus,
6377
6350
  t.sdbStatus
6378
6351
  ];
6379
- return o.includes("critical") ? "critical" : o.includes("warning") ? "warning" : o.includes("offline") ? "offline" : "online";
6352
+ return n.includes("critical") ? "critical" : n.includes("warning") ? "warning" : n.includes("offline") ? "offline" : "online";
6380
6353
  }
6381
- function Ti(t) {
6382
- const o = et(t), n = o === "critical" || o === "offline", i = o === "warning";
6354
+ function Pi(t) {
6355
+ const n = et(t), o = n === "critical" || n === "offline", i = n === "warning";
6383
6356
  return [
6384
6357
  {
6385
6358
  label: "Uptime",
6386
- value: n ? "92.14%" : "99.98%",
6387
- color: n ? "#ff2255" : "#00ff88"
6359
+ value: o ? "92.14%" : "99.98%",
6360
+ color: o ? "#ff2255" : "#00ff88"
6388
6361
  },
6389
6362
  {
6390
6363
  label: "Avg Latency",
@@ -6395,21 +6368,21 @@ function Ti(t) {
6395
6368
  { label: "Throughput", value: "12.4k req/s", color: "#fff" },
6396
6369
  {
6397
6370
  label: "Error Rate",
6398
- value: n ? "5.42%" : i ? "1.20%" : "0.01%",
6399
- color: n ? "#ff2255" : i ? "#ff8c00" : "#00ff88"
6371
+ value: o ? "5.42%" : i ? "1.20%" : "0.01%",
6372
+ color: o ? "#ff2255" : i ? "#ff8c00" : "#00ff88"
6400
6373
  }
6401
6374
  ];
6402
6375
  }
6403
- function Ai(t) {
6404
- const o = et(t), n = o === "critical" || o === "offline", i = o === "warning";
6376
+ function Ci(t) {
6377
+ const n = et(t), o = n === "critical" || n === "offline", i = n === "warning";
6405
6378
  return [
6406
6379
  ...t.dbSync ? [] : [{ level: "warning", message: "DB Replication Lag Detected" }],
6407
- ...n ? [{ level: "critical", message: "Critical Component Failure" }] : [],
6408
- ...i && !n ? [{ level: "warning", message: "Component Warning State" }] : [],
6409
- ...!n && !i && t.dbSync ? [{ level: "info", message: "All Systems Nominal" }] : []
6380
+ ...o ? [{ level: "critical", message: "Critical Component Failure" }] : [],
6381
+ ...i && !o ? [{ level: "warning", message: "Component Warning State" }] : [],
6382
+ ...!o && !i && t.dbSync ? [{ level: "info", message: "All Systems Nominal" }] : []
6410
6383
  ];
6411
6384
  }
6412
- const ui = [
6385
+ const pi = [
6413
6386
  { from: [330, 120], to: [330, 260], visibleAtPhase: 3 },
6414
6387
  { from: [330, 260], to: [165, 390], visibleAtPhase: 4 },
6415
6388
  { from: [330, 260], to: [330, 390], visibleAtPhase: 4 },
@@ -6418,8 +6391,8 @@ const ui = [
6418
6391
  { from: [330, 390], to: [200, 520], visibleAtPhase: 5, color: "#ff8c00" },
6419
6392
  { from: [495, 390], to: [200, 520], visibleAtPhase: 5, color: "#ff8c00" }
6420
6393
  ];
6421
- function gi({ config: t }) {
6422
- const o = J.useContext(ae), n = o?.rotateY ?? 20, i = o?.autoRotateComponents ?? !0, { dispStatus: r, srv1Status: a, srv2Status: s, srv3Status: l, pdbStatus: f, sdbStatus: c, dbSync: p } = t;
6394
+ function fi({ config: t }) {
6395
+ const n = J.useContext(ae), o = n?.rotateY ?? 20, i = n?.autoRotateComponents ?? !0, { dispStatus: r, srv1Status: a, srv2Status: s, srv3Status: l, pdbStatus: f, sdbStatus: c, dbSync: p } = t;
6423
6396
  return /* @__PURE__ */ d(Ce, { children: [
6424
6397
  /* @__PURE__ */ e(
6425
6398
  T,
@@ -6449,13 +6422,13 @@ function gi({ config: t }) {
6449
6422
  name: "DISP-01",
6450
6423
  status: r,
6451
6424
  context: { traffic: 78 },
6452
- subComponents: yt(r),
6453
- graphSeries: mt({ traffic: 78 })
6425
+ subComponents: gt(r),
6426
+ graphSeries: yt({ traffic: 78 })
6454
6427
  },
6455
6428
  children: /* @__PURE__ */ e(
6456
6429
  pt,
6457
6430
  {
6458
- rotateY: n,
6431
+ rotateY: o,
6459
6432
  autoRotate: i,
6460
6433
  status: r,
6461
6434
  name: "DISP-01",
@@ -6488,7 +6461,7 @@ function gi({ config: t }) {
6488
6461
  children: /* @__PURE__ */ e(
6489
6462
  ue,
6490
6463
  {
6491
- rotateY: n,
6464
+ rotateY: o,
6492
6465
  autoRotate: i,
6493
6466
  status: a,
6494
6467
  name: "APP-01",
@@ -6521,7 +6494,7 @@ function gi({ config: t }) {
6521
6494
  children: /* @__PURE__ */ e(
6522
6495
  ue,
6523
6496
  {
6524
- rotateY: n,
6497
+ rotateY: o,
6525
6498
  autoRotate: i,
6526
6499
  status: s,
6527
6500
  name: "APP-02",
@@ -6554,7 +6527,7 @@ function gi({ config: t }) {
6554
6527
  children: /* @__PURE__ */ e(
6555
6528
  ue,
6556
6529
  {
6557
- rotateY: n,
6530
+ rotateY: o,
6558
6531
  autoRotate: i,
6559
6532
  status: l,
6560
6533
  name: "APP-03",
@@ -6581,13 +6554,13 @@ function gi({ config: t }) {
6581
6554
  name: "DB-PRI",
6582
6555
  status: f,
6583
6556
  context: { capacity: 72 },
6584
- subComponents: We(f, "DB-PRI", { capacity: 72 }),
6585
- graphSeries: ze({ capacity: 72 })
6557
+ subComponents: ze(f, "DB-PRI", { capacity: 72 }),
6558
+ graphSeries: Me({ capacity: 72 })
6586
6559
  },
6587
6560
  children: /* @__PURE__ */ e(
6588
- Ie,
6561
+ Oe,
6589
6562
  {
6590
- rotateY: -n,
6563
+ rotateY: -o,
6591
6564
  autoRotate: i,
6592
6565
  status: f,
6593
6566
  name: "DB-PRI",
@@ -6614,13 +6587,13 @@ function gi({ config: t }) {
6614
6587
  name: "DB-STB",
6615
6588
  status: c,
6616
6589
  context: { capacity: 72 },
6617
- subComponents: We(c, "DB-STB", { capacity: 72 }),
6618
- graphSeries: ze({ capacity: 72 })
6590
+ subComponents: ze(c, "DB-STB", { capacity: 72 }),
6591
+ graphSeries: Me({ capacity: 72 })
6619
6592
  },
6620
6593
  children: /* @__PURE__ */ e(
6621
- Ie,
6594
+ Oe,
6622
6595
  {
6623
- rotateY: n,
6596
+ rotateY: o,
6624
6597
  autoRotate: i,
6625
6598
  status: c,
6626
6599
  name: "DB-STB",
@@ -6644,29 +6617,29 @@ function gi({ config: t }) {
6644
6617
  children: /* @__PURE__ */ e(ct, { synced: p, latencyMs: p ? 8 : 342 })
6645
6618
  }
6646
6619
  ),
6647
- /* @__PURE__ */ e(bi, { config: t })
6620
+ /* @__PURE__ */ e(hi, { config: t })
6648
6621
  ] });
6649
6622
  }
6650
- function bi({ config: t }) {
6651
- const o = J.useContext(ae), { dispStatus: n, srv1Status: i, srv2Status: r, srv3Status: a, pdbStatus: s, sdbStatus: l, dbSync: f } = t, c = o?.isSelected && o?.isExpandedPos;
6652
- return o?.isSelected ? /* @__PURE__ */ d("div", { style: { pointerEvents: "none" }, children: [
6623
+ function hi({ config: t }) {
6624
+ const n = J.useContext(ae), { dispStatus: o, srv1Status: i, srv2Status: r, srv3Status: a, pdbStatus: s, sdbStatus: l, dbSync: f } = t, c = n?.isSelected && n?.isExpandedPos;
6625
+ return n?.isSelected ? /* @__PURE__ */ d("div", { style: { pointerEvents: "none" }, children: [
6653
6626
  /* @__PURE__ */ e(
6654
- O,
6627
+ D,
6655
6628
  {
6656
6629
  ex: 330,
6657
6630
  ey: 260,
6658
- status: n,
6631
+ status: o,
6659
6632
  title: "DISP-01",
6660
- msg: n === "critical" || n === "offline" ? "Gateway timeout detected." : "High latency detected.",
6633
+ msg: o === "critical" || o === "offline" ? "Gateway timeout detected." : "High latency detected.",
6661
6634
  offsetX: -90,
6662
6635
  offsetY: -40,
6663
6636
  align: "left",
6664
6637
  isVisible: !!c,
6665
- internalRef: n !== "online" ? "PORT-3" : void 0
6638
+ internalRef: o !== "online" ? "PORT-3" : void 0
6666
6639
  }
6667
6640
  ),
6668
6641
  /* @__PURE__ */ e(
6669
- O,
6642
+ D,
6670
6643
  {
6671
6644
  ex: 165,
6672
6645
  ey: 390,
@@ -6681,7 +6654,7 @@ function bi({ config: t }) {
6681
6654
  }
6682
6655
  ),
6683
6656
  /* @__PURE__ */ e(
6684
- O,
6657
+ D,
6685
6658
  {
6686
6659
  ex: 330,
6687
6660
  ey: 390,
@@ -6696,7 +6669,7 @@ function bi({ config: t }) {
6696
6669
  }
6697
6670
  ),
6698
6671
  /* @__PURE__ */ e(
6699
- O,
6672
+ D,
6700
6673
  {
6701
6674
  ex: 495,
6702
6675
  ey: 390,
@@ -6711,7 +6684,7 @@ function bi({ config: t }) {
6711
6684
  }
6712
6685
  ),
6713
6686
  /* @__PURE__ */ e(
6714
- O,
6687
+ D,
6715
6688
  {
6716
6689
  ex: 200,
6717
6690
  ey: 520,
@@ -6726,7 +6699,7 @@ function bi({ config: t }) {
6726
6699
  }
6727
6700
  ),
6728
6701
  /* @__PURE__ */ e(
6729
- O,
6702
+ D,
6730
6703
  {
6731
6704
  ex: 460,
6732
6705
  ey: 520,
@@ -6741,7 +6714,7 @@ function bi({ config: t }) {
6741
6714
  }
6742
6715
  ),
6743
6716
  !f && /* @__PURE__ */ e(
6744
- O,
6717
+ D,
6745
6718
  {
6746
6719
  ex: 330,
6747
6720
  ey: 520,
@@ -6757,72 +6730,70 @@ function bi({ config: t }) {
6757
6730
  )
6758
6731
  ] }) : null;
6759
6732
  }
6760
- function Li({ config: t, ...o }) {
6733
+ function Ei({ config: t, ...n }) {
6761
6734
  return /* @__PURE__ */ e(
6762
6735
  dt,
6763
6736
  {
6764
6737
  name: t.name,
6765
6738
  status: et(t),
6766
- connections: ui,
6767
- ...o,
6768
- children: /* @__PURE__ */ e(gi, { config: t })
6739
+ connections: pi,
6740
+ ...n,
6741
+ children: /* @__PURE__ */ e(fi, { config: t })
6769
6742
  }
6770
6743
  );
6771
6744
  }
6772
6745
  export {
6773
- Ri as AIOPsDashboard,
6774
- Oe as CPU3D,
6775
- zt as Carousel,
6776
- qe as CarouselContext,
6746
+ Si as AIOPsDashboard,
6747
+ De as CPU3D,
6748
+ Wt as Carousel,
6749
+ Ge as CarouselContext,
6777
6750
  Ke as CarouselItemContext,
6778
- Ot as ComponentDialog,
6779
- $i as ComponentDrillView,
6780
- li as DEFAULT_BACKGROUND,
6781
- si as DEFAULT_LOGO,
6782
- Ie as Database3D,
6751
+ It as ComponentDialog,
6752
+ wi as ComponentDrillView,
6753
+ Oe as Database3D,
6783
6754
  ye as DriveBay3D,
6784
- ui as EXCHANGE_CONNECTIONS,
6785
- Li as ExchangeService,
6786
- wi as HOLO_BLUE,
6787
- vi as HOLO_CYAN,
6788
- Ge as HOLO_GLASS,
6755
+ pi as EXCHANGE_CONNECTIONS,
6756
+ Ei as ExchangeService,
6757
+ mi as HOLO_BLUE,
6758
+ yi as HOLO_CYAN,
6759
+ Qe as HOLO_GLASS,
6789
6760
  we as HOLO_SURFACE,
6790
- ti as HistoricalGraphPanel,
6791
- Bt as HoloBase,
6761
+ ei as HistoricalGraphPanel,
6762
+ Nt as HoloBase,
6792
6763
  ft as Human3D,
6793
- De as Memory3D,
6794
- Jt as MessageServer3D,
6764
+ We as Memory3D,
6765
+ Zt as MessageServer3D,
6795
6766
  ut as NetworkBlock3D,
6796
- O as NodeCallout,
6797
- Le as Platter3D,
6798
- M as Port3D,
6799
- Ei as SAPService,
6800
- pi as SAP_CONNECTIONS,
6801
- S as STATUS_CFG,
6767
+ D as NodeCallout,
6768
+ Ie as Platter3D,
6769
+ N as Port3D,
6770
+ Ri as SAPService,
6771
+ si as SAP_CONNECTIONS,
6772
+ w as STATUS_CFG,
6802
6773
  ue as Server3D,
6803
6774
  dt as Service,
6804
6775
  ae as ServiceContext,
6805
- Lt as ServiceDialog,
6776
+ At as ServiceDialog,
6806
6777
  T as ServiceNode,
6807
- Nt as SvgConnection,
6778
+ zt as SvgConnection,
6808
6779
  ct as SyncBridge,
6809
- L as ThreadPool3D,
6780
+ I as ThreadPool3D,
6810
6781
  pt as WebDispatcher3D,
6811
- Ai as computeExchangeDialogAlerts,
6812
- Ti as computeExchangeDialogMetrics,
6782
+ Ci as computeExchangeDialogAlerts,
6783
+ Pi as computeExchangeDialogMetrics,
6813
6784
  et as computeExchangeServiceStatus,
6814
- Ci as computeSAPDialogAlerts,
6815
- Pi as computeSAPDialogMetrics,
6785
+ ki as computeSAPDialogAlerts,
6786
+ $i as computeSAPDialogMetrics,
6816
6787
  Je as computeSAPServiceStatus,
6817
- ze as getDatabaseGraphSeries,
6818
- We as getDatabaseSubComponents,
6819
- mt as getDispatcherGraphSeries,
6820
- yt as getDispatcherSubComponents,
6821
- ci as getMessageServerGraphSeries,
6822
- di as getMessageServerSubComponents,
6788
+ Me as getDatabaseGraphSeries,
6789
+ ze as getDatabaseSubComponents,
6790
+ yt as getDispatcherGraphSeries,
6791
+ gt as getDispatcherSubComponents,
6792
+ li as getMessageServerGraphSeries,
6793
+ ai as getMessageServerSubComponents,
6823
6794
  xe as getServerGraphSeries,
6824
6795
  me as getServerSubComponents,
6825
- Qe as makeFaceStyles,
6826
- Si as useCarouselContext,
6827
- ki as useCarouselItemContext
6796
+ qe as makeFaceStyles,
6797
+ xi as useCarouselContext,
6798
+ vi as useCarouselItemContext
6828
6799
  };