react-aiops 0.1.7 → 0.1.9
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/AIOPsDashboard.d.ts +17 -1
- package/dist/AIOPsDashboard.d.ts.map +1 -1
- package/dist/data/CredentialsModal.d.ts +7 -0
- package/dist/data/CredentialsModal.d.ts.map +1 -0
- package/dist/data/DataProvider.d.ts +40 -0
- package/dist/data/DataProvider.d.ts.map +1 -0
- package/dist/data/index.d.ts +4 -0
- package/dist/data/index.d.ts.map +1 -0
- package/dist/index.css +1 -1
- package/dist/index.d.ts +2 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +880 -705
- package/dist/types.d.ts +6 -0
- package/dist/types.d.ts.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { jsxs as d, jsx as e, Fragment as
|
|
2
|
-
import
|
|
3
|
-
const
|
|
1
|
+
import { jsxs as d, jsx as e, Fragment as $e } from "react/jsx-runtime";
|
|
2
|
+
import re, { createContext as Fe, useContext as de, useState as $, useEffect as ke, useMemo as It, useRef as V, useCallback as at } from "react";
|
|
3
|
+
const Ot = {
|
|
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
|
|
8
|
+
function Lt({
|
|
9
9
|
name: t,
|
|
10
10
|
status: n,
|
|
11
11
|
dbSync: o = !0,
|
|
@@ -146,7 +146,7 @@ function It({
|
|
|
146
146
|
}
|
|
147
147
|
),
|
|
148
148
|
c.map((p, f) => {
|
|
149
|
-
const g =
|
|
149
|
+
const g = Ot[p.level];
|
|
150
150
|
return /* @__PURE__ */ d(
|
|
151
151
|
"div",
|
|
152
152
|
{
|
|
@@ -177,13 +177,13 @@ function It({
|
|
|
177
177
|
}
|
|
178
178
|
);
|
|
179
179
|
}
|
|
180
|
-
const
|
|
180
|
+
const k = {
|
|
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
|
-
},
|
|
186
|
-
function
|
|
185
|
+
}, Si = "#00e5ff", $i = "#0055cc", Re = "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 Ke(t, n, o) {
|
|
187
187
|
const i = {
|
|
188
188
|
position: "absolute",
|
|
189
189
|
overflow: "hidden",
|
|
@@ -233,56 +233,56 @@ function Ge(t, n, o) {
|
|
|
233
233
|
}
|
|
234
234
|
};
|
|
235
235
|
}
|
|
236
|
-
const
|
|
237
|
-
function
|
|
238
|
-
return
|
|
236
|
+
const Xe = "cubic-bezier(0.34, 1.56, 0.64, 1)", Qe = "cubic-bezier(0.16, 1, 0.3, 1)";
|
|
237
|
+
function ht(t) {
|
|
238
|
+
return k[t]?.color ?? k.online.color;
|
|
239
239
|
}
|
|
240
|
-
function
|
|
240
|
+
function Dt(t, n, o) {
|
|
241
241
|
return t >= o ? "#ff2255" : t >= n ? "#ff8c00" : "#00e5ff";
|
|
242
242
|
}
|
|
243
|
-
function
|
|
243
|
+
function De(t, n, o, i) {
|
|
244
244
|
return t === "offline" ? "offline" : t === "critical" && n >= i ? "critical" : (t === "critical" || t === "warning") && n >= o ? "warning" : "online";
|
|
245
245
|
}
|
|
246
|
-
function
|
|
246
|
+
function Nt({
|
|
247
247
|
component: t,
|
|
248
248
|
onClose: n,
|
|
249
249
|
visible: o,
|
|
250
250
|
sceneWidth: i = 660,
|
|
251
251
|
sceneHeight: r = 600
|
|
252
252
|
}) {
|
|
253
|
-
const { type: a, name: s, status: l, ex: h, ey: c, context: p = {} } = t, f =
|
|
253
|
+
const { type: a, name: s, status: l, ex: h, ey: c, context: p = {} } = t, f = ht(l), g = h >= i / 2, u = c >= r / 2, y = {
|
|
254
254
|
position: "fixed",
|
|
255
255
|
...g ? { right: 28 } : { left: 28 },
|
|
256
256
|
...u ? { bottom: 110 } : { top: 72 }
|
|
257
257
|
}, m = g ? 40 : -40, x = u ? 30 : -30, v = t.dialogMetrics ?? p.dialogMetrics;
|
|
258
|
-
let
|
|
258
|
+
let P;
|
|
259
259
|
if (v && v.length > 0)
|
|
260
|
-
|
|
261
|
-
const
|
|
260
|
+
P = v.map((b, S) => {
|
|
261
|
+
const C = b.warnAt ?? 70, w = b.critAt ?? 85;
|
|
262
262
|
return {
|
|
263
263
|
id: b.id,
|
|
264
264
|
label: b.label,
|
|
265
265
|
sublabel: b.sublabel,
|
|
266
266
|
value: b.value,
|
|
267
267
|
unit: b.unit ?? "%",
|
|
268
|
-
status:
|
|
268
|
+
status: De(l, b.value, C, w),
|
|
269
269
|
icon: b.icon ?? "cpu",
|
|
270
|
-
delay:
|
|
270
|
+
delay: S,
|
|
271
271
|
colorOverride: b.color,
|
|
272
|
-
warnAt:
|
|
273
|
-
critAt:
|
|
272
|
+
warnAt: C,
|
|
273
|
+
critAt: w
|
|
274
274
|
};
|
|
275
275
|
});
|
|
276
276
|
else {
|
|
277
|
-
const b = p.cpuLoad ?? p.traffic ?? 50,
|
|
278
|
-
|
|
277
|
+
const b = p.cpuLoad ?? p.traffic ?? 50, S = p.memLoad ?? p.queueDepth ?? 60, C = p.capacity ?? 72, w = De(l, b, 70, 85), T = De(l, S, 75, 88), I = De(l, C, 75, 90);
|
|
278
|
+
P = [
|
|
279
279
|
{
|
|
280
280
|
id: "cpu",
|
|
281
281
|
label: a === "dispatcher" ? "TRAFFIC" : a === "messageServer" ? "QUEUE" : "CPU",
|
|
282
282
|
sublabel: a === "dispatcher" ? "PORT LOAD" : a === "messageServer" ? "QUEUE DEPTH" : "PROCESSOR",
|
|
283
283
|
value: b,
|
|
284
284
|
unit: "%",
|
|
285
|
-
status:
|
|
285
|
+
status: w,
|
|
286
286
|
icon: "cpu",
|
|
287
287
|
delay: 0
|
|
288
288
|
},
|
|
@@ -290,7 +290,7 @@ function Ot({
|
|
|
290
290
|
id: "mem",
|
|
291
291
|
label: "MEMORY",
|
|
292
292
|
sublabel: a === "database" ? "BUFFER POOL" : "HEAP USAGE",
|
|
293
|
-
value:
|
|
293
|
+
value: S,
|
|
294
294
|
unit: "%",
|
|
295
295
|
status: T,
|
|
296
296
|
icon: "mem",
|
|
@@ -300,9 +300,9 @@ function Ot({
|
|
|
300
300
|
id: "storage",
|
|
301
301
|
label: "STORAGE",
|
|
302
302
|
sublabel: a === "database" ? "TABLESPACE" : "DISK I/O",
|
|
303
|
-
value:
|
|
303
|
+
value: C,
|
|
304
304
|
unit: "%",
|
|
305
|
-
status:
|
|
305
|
+
status: I,
|
|
306
306
|
icon: "disk",
|
|
307
307
|
delay: 2
|
|
308
308
|
}
|
|
@@ -323,7 +323,7 @@ function Ot({
|
|
|
323
323
|
overflow: "hidden",
|
|
324
324
|
opacity: o ? 1 : 0,
|
|
325
325
|
transform: o ? "scale(1) translate(0, 0)" : `scale(0.7) translate(${m}px, ${x}px)`,
|
|
326
|
-
transition: `opacity 0.45s ${
|
|
326
|
+
transition: `opacity 0.45s ${Qe}, transform 0.55s ${Xe}`,
|
|
327
327
|
pointerEvents: o ? "auto" : "none",
|
|
328
328
|
zIndex: 9999,
|
|
329
329
|
animation: o ? "comp-dialog-border-glow 3s ease-in-out infinite" : "none",
|
|
@@ -393,12 +393,12 @@ function Ot({
|
|
|
393
393
|
borderRight: `2px solid ${f}66`,
|
|
394
394
|
borderRadius: "0 0 14px 0"
|
|
395
395
|
}
|
|
396
|
-
].map((b,
|
|
396
|
+
].map((b, S) => /* @__PURE__ */ e(
|
|
397
397
|
"div",
|
|
398
398
|
{
|
|
399
399
|
style: { position: "absolute", width: 18, height: 18, pointerEvents: "none", ...b }
|
|
400
400
|
},
|
|
401
|
-
|
|
401
|
+
S
|
|
402
402
|
)),
|
|
403
403
|
/* @__PURE__ */ d(
|
|
404
404
|
"div",
|
|
@@ -519,7 +519,7 @@ function Ot({
|
|
|
519
519
|
position: "relative",
|
|
520
520
|
zIndex: 2
|
|
521
521
|
},
|
|
522
|
-
children:
|
|
522
|
+
children: P.map((b) => /* @__PURE__ */ e(Wt, { metric: b, visible: o, accentColor: f }, b.id))
|
|
523
523
|
}
|
|
524
524
|
),
|
|
525
525
|
/* @__PURE__ */ d(
|
|
@@ -568,7 +568,7 @@ function Ot({
|
|
|
568
568
|
}
|
|
569
569
|
);
|
|
570
570
|
}
|
|
571
|
-
function
|
|
571
|
+
function Wt({
|
|
572
572
|
metric: t,
|
|
573
573
|
visible: n,
|
|
574
574
|
accentColor: o
|
|
@@ -584,7 +584,7 @@ function Dt({
|
|
|
584
584
|
colorOverride: p,
|
|
585
585
|
warnAt: f = 70,
|
|
586
586
|
critAt: g = 85
|
|
587
|
-
} = t, u = p ??
|
|
587
|
+
} = t, u = p ?? Dt(a, f, g), y = p ?? ht(l);
|
|
588
588
|
return /* @__PURE__ */ d(
|
|
589
589
|
"div",
|
|
590
590
|
{
|
|
@@ -594,7 +594,7 @@ function Dt({
|
|
|
594
594
|
gap: 16,
|
|
595
595
|
opacity: n ? 1 : 0,
|
|
596
596
|
transform: n ? "translateY(0)" : "translateY(12px)",
|
|
597
|
-
transition: `opacity 0.4s ${
|
|
597
|
+
transition: `opacity 0.4s ${Qe} ${0.3 + c * 0.12}s, transform 0.5s ${Xe} ${0.3 + c * 0.12}s`
|
|
598
598
|
},
|
|
599
599
|
children: [
|
|
600
600
|
/* @__PURE__ */ d(
|
|
@@ -612,10 +612,10 @@ function Dt({
|
|
|
612
612
|
flexShrink: 0,
|
|
613
613
|
position: "relative",
|
|
614
614
|
overflow: "hidden",
|
|
615
|
-
animation: n ? `comp-dialog-icon-pop 0.5s ${
|
|
615
|
+
animation: n ? `comp-dialog-icon-pop 0.5s ${Xe} ${0.35 + c * 0.12}s both` : "none"
|
|
616
616
|
},
|
|
617
617
|
children: [
|
|
618
|
-
/* @__PURE__ */ e(
|
|
618
|
+
/* @__PURE__ */ e(Mt, { type: h, color: y }),
|
|
619
619
|
(l === "warning" || l === "critical") && /* @__PURE__ */ e(
|
|
620
620
|
"div",
|
|
621
621
|
{
|
|
@@ -714,7 +714,7 @@ function Dt({
|
|
|
714
714
|
background: `linear-gradient(90deg, ${u}66, ${u})`,
|
|
715
715
|
boxShadow: `0 0 8px ${u}44`,
|
|
716
716
|
transformOrigin: "left center",
|
|
717
|
-
animation: n ? `comp-dialog-metric-fill 0.8s ${
|
|
717
|
+
animation: n ? `comp-dialog-metric-fill 0.8s ${Qe} ${0.4 + c * 0.12}s both` : "none"
|
|
718
718
|
}
|
|
719
719
|
}
|
|
720
720
|
),
|
|
@@ -808,7 +808,7 @@ function Dt({
|
|
|
808
808
|
}
|
|
809
809
|
);
|
|
810
810
|
}
|
|
811
|
-
function
|
|
811
|
+
function Mt({ type: t, color: n }) {
|
|
812
812
|
return t === "cpu" ? /* @__PURE__ */ d("svg", { width: 28, height: 28, viewBox: "0 0 24 24", fill: "none", children: [
|
|
813
813
|
/* @__PURE__ */ e("rect", { x: "6", y: "6", width: "12", height: "12", rx: "2", stroke: n, strokeWidth: "1.5" }),
|
|
814
814
|
/* @__PURE__ */ e(
|
|
@@ -893,12 +893,12 @@ function Wt({ type: t, color: n }) {
|
|
|
893
893
|
/* @__PURE__ */ e("line", { x1: "18", y1: "12", x2: "21", y2: "12", stroke: n, strokeWidth: "0.8" })
|
|
894
894
|
] });
|
|
895
895
|
}
|
|
896
|
-
const
|
|
897
|
-
function
|
|
898
|
-
return
|
|
896
|
+
const Ze = Fe(null), Je = Fe({ index: 0 });
|
|
897
|
+
function ki() {
|
|
898
|
+
return de(Ze);
|
|
899
899
|
}
|
|
900
|
-
function
|
|
901
|
-
return
|
|
900
|
+
function Ri() {
|
|
901
|
+
return de(Je);
|
|
902
902
|
}
|
|
903
903
|
function zt({
|
|
904
904
|
children: t,
|
|
@@ -919,25 +919,25 @@ function zt({
|
|
|
919
919
|
onSelectSystem: m,
|
|
920
920
|
onBackgroundClick: x,
|
|
921
921
|
onComponentClick: v,
|
|
922
|
-
onCloseDrill:
|
|
922
|
+
onCloseDrill: P,
|
|
923
923
|
selectedSystemStatus: b = "online",
|
|
924
|
-
selectedSystemDbSync:
|
|
925
|
-
selectedSystemMetrics:
|
|
926
|
-
selectedSystemAlerts:
|
|
924
|
+
selectedSystemDbSync: S = !0,
|
|
925
|
+
selectedSystemMetrics: C,
|
|
926
|
+
selectedSystemAlerts: w
|
|
927
927
|
}) {
|
|
928
|
-
const [T,
|
|
929
|
-
|
|
930
|
-
let
|
|
928
|
+
const [T, I] = $(0);
|
|
929
|
+
ke(() => {
|
|
930
|
+
let R;
|
|
931
931
|
if ((o === "compact" || o === "collapsing") && f) {
|
|
932
|
-
const
|
|
933
|
-
|
|
932
|
+
const U = () => {
|
|
933
|
+
I((ae) => ae + g), R = requestAnimationFrame(U);
|
|
934
934
|
};
|
|
935
|
-
|
|
935
|
+
R = requestAnimationFrame(U);
|
|
936
936
|
}
|
|
937
|
-
return () => cancelAnimationFrame(
|
|
937
|
+
return () => cancelAnimationFrame(R);
|
|
938
938
|
}, [o, f, g]);
|
|
939
|
-
const
|
|
940
|
-
totalSystems:
|
|
939
|
+
const z = re.Children.toArray(t), L = z.length, F = It(() => ({
|
|
940
|
+
totalSystems: L,
|
|
941
941
|
carouselRotation: T,
|
|
942
942
|
viewState: o,
|
|
943
943
|
animPhase: i,
|
|
@@ -951,7 +951,7 @@ function zt({
|
|
|
951
951
|
onComponentClick: v,
|
|
952
952
|
containerWidth: u
|
|
953
953
|
}), [
|
|
954
|
-
|
|
954
|
+
L,
|
|
955
955
|
T,
|
|
956
956
|
o,
|
|
957
957
|
i,
|
|
@@ -964,8 +964,8 @@ function zt({
|
|
|
964
964
|
m,
|
|
965
965
|
v,
|
|
966
966
|
u
|
|
967
|
-
]),
|
|
968
|
-
return /* @__PURE__ */ d(
|
|
967
|
+
]), G = z.map((R, U) => /* @__PURE__ */ e(Je.Provider, { value: { index: U }, children: R }, U)), K = o === "expanded" || o === "expanding" && i >= 4;
|
|
968
|
+
return /* @__PURE__ */ d(Ze.Provider, { value: F, children: [
|
|
969
969
|
/* @__PURE__ */ d("div", { style: { position: "relative", width: u, height: y, margin: "0 auto", flexShrink: 0 }, children: [
|
|
970
970
|
n && (o === "compact" || o === "collapsing") && /* @__PURE__ */ e(
|
|
971
971
|
"img",
|
|
@@ -987,24 +987,24 @@ function zt({
|
|
|
987
987
|
}
|
|
988
988
|
}
|
|
989
989
|
),
|
|
990
|
-
|
|
990
|
+
G
|
|
991
991
|
] }),
|
|
992
|
-
r && /* @__PURE__ */ e("div", { onClick: (
|
|
993
|
-
|
|
992
|
+
r && /* @__PURE__ */ e("div", { onClick: (R) => R.stopPropagation(), children: /* @__PURE__ */ e(
|
|
993
|
+
Lt,
|
|
994
994
|
{
|
|
995
995
|
name: r,
|
|
996
996
|
status: b,
|
|
997
|
-
dbSync:
|
|
998
|
-
visible:
|
|
999
|
-
metrics:
|
|
1000
|
-
alerts:
|
|
997
|
+
dbSync: S,
|
|
998
|
+
visible: K && !a,
|
|
999
|
+
metrics: C,
|
|
1000
|
+
alerts: w
|
|
1001
1001
|
}
|
|
1002
1002
|
) }),
|
|
1003
|
-
a && /* @__PURE__ */ e("div", { onClick: (
|
|
1004
|
-
|
|
1003
|
+
a && /* @__PURE__ */ e("div", { onClick: (R) => R.stopPropagation(), children: /* @__PURE__ */ e(
|
|
1004
|
+
Nt,
|
|
1005
1005
|
{
|
|
1006
1006
|
component: a,
|
|
1007
|
-
onClose:
|
|
1007
|
+
onClose: P,
|
|
1008
1008
|
visible: s >= 0.3,
|
|
1009
1009
|
sceneWidth: u,
|
|
1010
1010
|
sceneHeight: y
|
|
@@ -1012,7 +1012,7 @@ function zt({
|
|
|
1012
1012
|
) })
|
|
1013
1013
|
] });
|
|
1014
1014
|
}
|
|
1015
|
-
function
|
|
1015
|
+
function Bt({
|
|
1016
1016
|
x1: t,
|
|
1017
1017
|
y1: n,
|
|
1018
1018
|
x2: o,
|
|
@@ -1059,7 +1059,7 @@ function Mt({
|
|
|
1059
1059
|
)
|
|
1060
1060
|
}
|
|
1061
1061
|
),
|
|
1062
|
-
r && /* @__PURE__ */ d(
|
|
1062
|
+
r && /* @__PURE__ */ d($e, { children: [
|
|
1063
1063
|
/* @__PURE__ */ e("circle", { r: "3", fill: a, opacity: 0.85, children: /* @__PURE__ */ e(
|
|
1064
1064
|
"animateMotion",
|
|
1065
1065
|
{
|
|
@@ -1079,14 +1079,14 @@ function Mt({
|
|
|
1079
1079
|
] })
|
|
1080
1080
|
] });
|
|
1081
1081
|
}
|
|
1082
|
-
const
|
|
1082
|
+
const Ft = [
|
|
1083
1083
|
{ scale: 1, op: 1, delay: "0.0s", bw: "2px", glow: 1 },
|
|
1084
1084
|
{ scale: 0.82, op: 0.88, delay: "0.5s", bw: "1.5px", glow: 0.7 },
|
|
1085
1085
|
{ scale: 0.64, op: 0.72, delay: "1.0s", bw: "1px", glow: 0.5 },
|
|
1086
1086
|
{ scale: 0.47, op: 0.58, delay: "1.5s", bw: "1px", glow: 0.35 },
|
|
1087
1087
|
{ scale: 0.3, op: 0.45, delay: "2.0s", bw: "1px", glow: 0.25 }
|
|
1088
1088
|
];
|
|
1089
|
-
function
|
|
1089
|
+
function Ht({
|
|
1090
1090
|
children: t,
|
|
1091
1091
|
size: n = 230,
|
|
1092
1092
|
widthRatio: o = 1,
|
|
@@ -1252,7 +1252,7 @@ function Bt({
|
|
|
1252
1252
|
background: `radial-gradient(ellipse, ${i}88 0%, ${i}33 40%, transparent 72%)`,
|
|
1253
1253
|
filter: "blur(12px)"
|
|
1254
1254
|
} }),
|
|
1255
|
-
|
|
1255
|
+
Ft.map((s, l) => /* @__PURE__ */ e("div", { style: {
|
|
1256
1256
|
position: "absolute",
|
|
1257
1257
|
width: a * s.scale,
|
|
1258
1258
|
height: n * s.scale,
|
|
@@ -1295,8 +1295,8 @@ function Bt({
|
|
|
1295
1295
|
}, children: r })
|
|
1296
1296
|
] });
|
|
1297
1297
|
}
|
|
1298
|
-
const
|
|
1299
|
-
function
|
|
1298
|
+
const ce = Fe(null), Ut = "cubic-bezier(0.34, 1.56, 0.64, 1)", lt = 330, st = 340, Yt = 660;
|
|
1299
|
+
function ut({
|
|
1300
1300
|
name: t,
|
|
1301
1301
|
status: n = "online",
|
|
1302
1302
|
connections: o = [],
|
|
@@ -1315,26 +1315,26 @@ function pt({
|
|
|
1315
1315
|
_drillZoom: m,
|
|
1316
1316
|
_onSelectSystem: x,
|
|
1317
1317
|
_onComponentClick: v,
|
|
1318
|
-
_containerWidth:
|
|
1318
|
+
_containerWidth: P
|
|
1319
1319
|
}) {
|
|
1320
|
-
const b =
|
|
1320
|
+
const b = de(Ze), S = de(Je), C = a ?? S.index, w = s ?? b?.totalSystems ?? 1, T = l ?? b?.carouselRotation ?? 0, I = h ?? b?.viewState ?? "compact", z = c ?? b?.animPhase ?? 0, L = p ?? b?.selectedSystem ?? null, F = f ?? b?.selectedComponent ?? null, G = g ?? b?.rotateY ?? 20, K = u ?? b?.autoRotateComponents ?? !0, R = y ?? b?.componentScale ?? 0.35, U = m ?? b?.drillZoom ?? 3.3, ae = x ?? b?.onSelectSystem, Pe = v ?? b?.onComponentClick, Ce = P ?? b?.containerWidth ?? 950, X = L === t, B = X && (I === "expanded" || I === "expanding" && z >= 1), Q = !B, Ee = (Ce - Yt) / 2, pe = lt + Ee, fe = C / w * Math.PI * 2 + T, He = 420, Ie = 160, N = pe + Math.cos(fe) * He, J = 450 + Math.sin(fe) * Ie, Oe = Math.round(J), Te = !X && (I === "expanding" || I === "expanded"), Ue = Te ? 0 : 1, ee = Q ? 0.3 + (Math.sin(fe) + 1) * 0.1 : 1, $t = Q ? ee : R, Le = I === "compact" || I === "collapsing" ? "none" : "all 1s cubic-bezier(0.34, 1.56, 0.64, 1)", rt = X && F, Ye = rt ? U : 1, kt = F?.ex ?? 330, Rt = F?.ey ?? 300, { size: Pt = 90, color: Ct = "#00e5ff", widthRatio: Et = 3 } = i ?? {}, Tt = {
|
|
1321
1321
|
name: t,
|
|
1322
|
-
isSelected:
|
|
1323
|
-
isExpandedPos:
|
|
1324
|
-
isCompact:
|
|
1325
|
-
animPhase:
|
|
1326
|
-
compactCx:
|
|
1327
|
-
compactCy:
|
|
1328
|
-
groupScale:
|
|
1329
|
-
effectiveScale:
|
|
1330
|
-
transitionValue:
|
|
1331
|
-
rotateY:
|
|
1332
|
-
autoRotateComponents:
|
|
1333
|
-
onComponentClick:
|
|
1334
|
-
selectedComponentName:
|
|
1335
|
-
expandedOffsetX:
|
|
1322
|
+
isSelected: X,
|
|
1323
|
+
isExpandedPos: B,
|
|
1324
|
+
isCompact: Q,
|
|
1325
|
+
animPhase: z,
|
|
1326
|
+
compactCx: N,
|
|
1327
|
+
compactCy: J,
|
|
1328
|
+
groupScale: ee,
|
|
1329
|
+
effectiveScale: $t,
|
|
1330
|
+
transitionValue: Le,
|
|
1331
|
+
rotateY: G,
|
|
1332
|
+
autoRotateComponents: K,
|
|
1333
|
+
onComponentClick: Pe,
|
|
1334
|
+
selectedComponentName: F?.name ?? null,
|
|
1335
|
+
expandedOffsetX: Ee
|
|
1336
1336
|
};
|
|
1337
|
-
return /* @__PURE__ */ e(
|
|
1337
|
+
return /* @__PURE__ */ e(ce.Provider, { value: Tt, children: /* @__PURE__ */ d(
|
|
1338
1338
|
"div",
|
|
1339
1339
|
{
|
|
1340
1340
|
style: {
|
|
@@ -1344,21 +1344,21 @@ function pt({
|
|
|
1344
1344
|
width: "100%",
|
|
1345
1345
|
height: "100%",
|
|
1346
1346
|
pointerEvents: "none",
|
|
1347
|
-
opacity:
|
|
1348
|
-
transition: `opacity 0.8s ease, filter 0.5s ease, transform 0.6s ${
|
|
1349
|
-
filter:
|
|
1350
|
-
zIndex:
|
|
1351
|
-
transformOrigin: `${
|
|
1352
|
-
transform:
|
|
1347
|
+
opacity: Ue,
|
|
1348
|
+
transition: `opacity 0.8s ease, filter 0.5s ease, transform 0.6s ${Ut}`,
|
|
1349
|
+
filter: Q && Math.sin(fe) < -0.5 ? "brightness(0.5) blur(2px)" : "none",
|
|
1350
|
+
zIndex: X ? 500 : Te ? 0 : Oe,
|
|
1351
|
+
transformOrigin: `${pe}px ${st}px`,
|
|
1352
|
+
transform: rt ? `translate(${-(kt - lt) * Ye}px, ${-(Rt - st) * Ye}px) scale(${Ye})` : "none"
|
|
1353
1353
|
},
|
|
1354
1354
|
children: [
|
|
1355
|
-
|
|
1355
|
+
Q && !Te && /* @__PURE__ */ e(
|
|
1356
1356
|
"div",
|
|
1357
1357
|
{
|
|
1358
1358
|
style: {
|
|
1359
1359
|
position: "absolute",
|
|
1360
|
-
left:
|
|
1361
|
-
top:
|
|
1360
|
+
left: N,
|
|
1361
|
+
top: J,
|
|
1362
1362
|
width: 160,
|
|
1363
1363
|
height: 180,
|
|
1364
1364
|
transform: "translate(-50%, -80%)",
|
|
@@ -1366,19 +1366,19 @@ function pt({
|
|
|
1366
1366
|
cursor: "pointer",
|
|
1367
1367
|
zIndex: 101
|
|
1368
1368
|
},
|
|
1369
|
-
onClick: (
|
|
1370
|
-
|
|
1369
|
+
onClick: (Z) => {
|
|
1370
|
+
Z.stopPropagation(), ae?.(t);
|
|
1371
1371
|
}
|
|
1372
1372
|
}
|
|
1373
1373
|
),
|
|
1374
|
-
|
|
1374
|
+
Q && (n === "warning" || n === "critical") && /* @__PURE__ */ e(
|
|
1375
1375
|
"div",
|
|
1376
1376
|
{
|
|
1377
1377
|
style: {
|
|
1378
1378
|
position: "absolute",
|
|
1379
|
-
left:
|
|
1380
|
-
top:
|
|
1381
|
-
transform: `translate(-50%, -50%) scale(${
|
|
1379
|
+
left: N,
|
|
1380
|
+
top: J - 200,
|
|
1381
|
+
transform: `translate(-50%, -50%) scale(${ee})`,
|
|
1382
1382
|
zIndex: 110,
|
|
1383
1383
|
pointerEvents: "none",
|
|
1384
1384
|
animation: "holo-led-blink 1.5s infinite",
|
|
@@ -1424,13 +1424,13 @@ function pt({
|
|
|
1424
1424
|
{
|
|
1425
1425
|
style: {
|
|
1426
1426
|
position: "absolute",
|
|
1427
|
-
left:
|
|
1428
|
-
top:
|
|
1429
|
-
transform: `translate(-50%, -50%) scale(${
|
|
1427
|
+
left: B ? pe : N,
|
|
1428
|
+
top: B ? 48 : J - 180,
|
|
1429
|
+
transform: `translate(-50%, -50%) scale(${B ? 1.2 : ee * 1.5})`,
|
|
1430
1430
|
opacity: 1,
|
|
1431
1431
|
pointerEvents: "none",
|
|
1432
1432
|
zIndex: 100,
|
|
1433
|
-
transition:
|
|
1433
|
+
transition: Le,
|
|
1434
1434
|
fontSize: 36,
|
|
1435
1435
|
fontWeight: 700,
|
|
1436
1436
|
letterSpacing: "0.18em",
|
|
@@ -1450,25 +1450,25 @@ function pt({
|
|
|
1450
1450
|
style: {
|
|
1451
1451
|
position: "absolute",
|
|
1452
1452
|
top: 0,
|
|
1453
|
-
left:
|
|
1453
|
+
left: B ? Ee : 0,
|
|
1454
1454
|
width: 660,
|
|
1455
1455
|
height: 640,
|
|
1456
1456
|
pointerEvents: "none",
|
|
1457
1457
|
zIndex: 0,
|
|
1458
|
-
transition:
|
|
1458
|
+
transition: Le
|
|
1459
1459
|
},
|
|
1460
|
-
children: o.map((
|
|
1461
|
-
|
|
1460
|
+
children: o.map((Z, At) => /* @__PURE__ */ e(
|
|
1461
|
+
Bt,
|
|
1462
1462
|
{
|
|
1463
|
-
x1:
|
|
1464
|
-
y1:
|
|
1465
|
-
x2:
|
|
1466
|
-
y2:
|
|
1467
|
-
show:
|
|
1468
|
-
color:
|
|
1469
|
-
dur:
|
|
1463
|
+
x1: Z.from[0],
|
|
1464
|
+
y1: Z.from[1],
|
|
1465
|
+
x2: Z.to[0],
|
|
1466
|
+
y2: Z.to[1],
|
|
1467
|
+
show: X && z >= (Z.visibleAtPhase ?? 0),
|
|
1468
|
+
color: Z.color,
|
|
1469
|
+
dur: Z.duration
|
|
1470
1470
|
},
|
|
1471
|
-
|
|
1471
|
+
At
|
|
1472
1472
|
))
|
|
1473
1473
|
}
|
|
1474
1474
|
),
|
|
@@ -1477,13 +1477,13 @@ function pt({
|
|
|
1477
1477
|
{
|
|
1478
1478
|
style: {
|
|
1479
1479
|
position: "absolute",
|
|
1480
|
-
left:
|
|
1481
|
-
top:
|
|
1482
|
-
transform: `translate(-50%, -50%) scaleX(${
|
|
1483
|
-
transition:
|
|
1480
|
+
left: B ? pe : N,
|
|
1481
|
+
top: B ? 570 : J + 70,
|
|
1482
|
+
transform: `translate(-50%, -50%) scaleX(${B ? 1 : 0.4}) scaleY(${B ? 1 : 0.6}) scale(${B ? 1 : ee})`,
|
|
1483
|
+
transition: Le,
|
|
1484
1484
|
zIndex: 1
|
|
1485
1485
|
},
|
|
1486
|
-
children: /* @__PURE__ */ e(
|
|
1486
|
+
children: /* @__PURE__ */ e(Ht, { size: Pt, color: Ct, widthRatio: Et, children: /* @__PURE__ */ e("div", { className: "base-hotspot" }) })
|
|
1487
1487
|
}
|
|
1488
1488
|
),
|
|
1489
1489
|
r
|
|
@@ -1491,7 +1491,7 @@ function pt({
|
|
|
1491
1491
|
}
|
|
1492
1492
|
) });
|
|
1493
1493
|
}
|
|
1494
|
-
function
|
|
1494
|
+
function W({
|
|
1495
1495
|
ex: t,
|
|
1496
1496
|
ey: n,
|
|
1497
1497
|
status: o,
|
|
@@ -1503,20 +1503,20 @@ function L({
|
|
|
1503
1503
|
align: h = "right",
|
|
1504
1504
|
internalRef: c
|
|
1505
1505
|
}) {
|
|
1506
|
-
const p =
|
|
1506
|
+
const p = de(ce), f = p?.expandedOffsetX ?? 0;
|
|
1507
1507
|
if (o === "online") return null;
|
|
1508
|
-
const g = l && !!p?.isExpandedPos, u =
|
|
1508
|
+
const g = l && !!p?.isExpandedPos, u = k[o]?.color ?? k.warning.color, y = Math.abs(a) > Math.abs(s), m = t + f + (y ? Math.sign(a) * 45 : 0), x = n + (y ? 0 : Math.sign(s) * 40), v = t + f + a, P = n + s;
|
|
1509
1509
|
let b = "";
|
|
1510
1510
|
if (y) {
|
|
1511
1511
|
const T = m + (v - m) / 2;
|
|
1512
|
-
b = `M ${m} ${x} L ${T} ${x} L ${T} ${
|
|
1512
|
+
b = `M ${m} ${x} L ${T} ${x} L ${T} ${P} L ${v} ${P}`;
|
|
1513
1513
|
} else {
|
|
1514
|
-
const T = x + (
|
|
1515
|
-
b = `M ${m} ${x} L ${m} ${T} L ${v} ${T} L ${v} ${
|
|
1514
|
+
const T = x + (P - x) / 2;
|
|
1515
|
+
b = `M ${m} ${x} L ${m} ${T} L ${v} ${T} L ${v} ${P}`;
|
|
1516
1516
|
}
|
|
1517
|
-
let
|
|
1518
|
-
h === "left" && (
|
|
1519
|
-
const
|
|
1517
|
+
let S = "translate(0, -50%)";
|
|
1518
|
+
h === "left" && (S = "translate(-100%, -50%)"), h === "top" && (S = "translate(-50%, -100%)"), h === "bottom" && (S = "translate(-50%, 0)");
|
|
1519
|
+
const C = h === "left" ? -8 : h === "right" ? 8 : 0, w = h === "top" ? -8 : h === "bottom" ? 8 : 0;
|
|
1520
1520
|
return /* @__PURE__ */ d(
|
|
1521
1521
|
"div",
|
|
1522
1522
|
{
|
|
@@ -1563,10 +1563,10 @@ function L({
|
|
|
1563
1563
|
style: {
|
|
1564
1564
|
position: "absolute",
|
|
1565
1565
|
left: v,
|
|
1566
|
-
top:
|
|
1567
|
-
transform:
|
|
1568
|
-
marginLeft:
|
|
1569
|
-
marginTop:
|
|
1566
|
+
top: P,
|
|
1567
|
+
transform: S,
|
|
1568
|
+
marginLeft: C,
|
|
1569
|
+
marginTop: w,
|
|
1570
1570
|
background: "repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(255,255,255,0.03) 2px, rgba(255,255,255,0.03) 4px), rgba(2, 8, 16, 0.82)",
|
|
1571
1571
|
border: `1px solid ${u}55`,
|
|
1572
1572
|
borderLeft: `2px solid ${u}`,
|
|
@@ -1638,7 +1638,7 @@ function L({
|
|
|
1638
1638
|
}
|
|
1639
1639
|
);
|
|
1640
1640
|
}
|
|
1641
|
-
function
|
|
1641
|
+
function A({
|
|
1642
1642
|
ex: t,
|
|
1643
1643
|
ey: n,
|
|
1644
1644
|
compactOffset: o,
|
|
@@ -1654,21 +1654,21 @@ function k({
|
|
|
1654
1654
|
bare: g = !1,
|
|
1655
1655
|
alert: u
|
|
1656
1656
|
}) {
|
|
1657
|
-
const y =
|
|
1657
|
+
const y = de(ce);
|
|
1658
1658
|
if (!y)
|
|
1659
1659
|
throw new Error("ServiceNode must be used inside a <Service> component.");
|
|
1660
1660
|
const {
|
|
1661
1661
|
isExpandedPos: m,
|
|
1662
1662
|
animPhase: x,
|
|
1663
1663
|
compactCx: v,
|
|
1664
|
-
compactCy:
|
|
1664
|
+
compactCy: P,
|
|
1665
1665
|
groupScale: b,
|
|
1666
|
-
effectiveScale:
|
|
1667
|
-
transitionValue:
|
|
1668
|
-
onComponentClick:
|
|
1666
|
+
effectiveScale: S,
|
|
1667
|
+
transitionValue: C,
|
|
1668
|
+
onComponentClick: w,
|
|
1669
1669
|
selectedComponentName: T,
|
|
1670
|
-
expandedOffsetX:
|
|
1671
|
-
} = y,
|
|
1670
|
+
expandedOffsetX: I
|
|
1671
|
+
} = y, L = p === 0 || y.isSelected && x >= p ? 1 : 0, F = v + o.x, G = P + o.y, K = m ? t + I : F, R = m ? n : G, U = f !== void 0 ? f : y.isCompact ? b : S, ae = !!c && !!T && c.name === T, Pe = c?.status ? k[c.status]?.color ?? a : a, Ce = c?.status === "offline" ? "#4a6a8a" : Pe, X = c && m && w ? () => w({
|
|
1672
1672
|
type: c.type,
|
|
1673
1673
|
name: c.name,
|
|
1674
1674
|
status: c.status,
|
|
@@ -1678,44 +1678,44 @@ function k({
|
|
|
1678
1678
|
dialogMetrics: c.dialogMetrics,
|
|
1679
1679
|
subComponents: c.subComponents,
|
|
1680
1680
|
graphSeries: c.graphSeries
|
|
1681
|
-
}) : void 0,
|
|
1682
|
-
return /* @__PURE__ */ d(
|
|
1681
|
+
}) : void 0, B = c?.status ?? "online", Q = c?.name ?? s ?? "";
|
|
1682
|
+
return /* @__PURE__ */ d($e, { children: [
|
|
1683
1683
|
/* @__PURE__ */ e(
|
|
1684
1684
|
"div",
|
|
1685
1685
|
{
|
|
1686
1686
|
style: {
|
|
1687
1687
|
position: "absolute",
|
|
1688
|
-
left:
|
|
1689
|
-
top:
|
|
1690
|
-
transform: `translate(-50%, -50%) scale(${
|
|
1691
|
-
opacity:
|
|
1688
|
+
left: K,
|
|
1689
|
+
top: R,
|
|
1690
|
+
transform: `translate(-50%, -50%) scale(${U})`,
|
|
1691
|
+
opacity: L,
|
|
1692
1692
|
zIndex: i,
|
|
1693
|
-
transition:
|
|
1694
|
-
pointerEvents: m &&
|
|
1693
|
+
transition: C || "all 1s cubic-bezier(0.34, 1.56, 0.64, 1)",
|
|
1694
|
+
pointerEvents: m && L >= 0.5 ? "auto" : "none"
|
|
1695
1695
|
},
|
|
1696
1696
|
children: g ? r : /* @__PURE__ */ e(
|
|
1697
|
-
|
|
1697
|
+
Vt,
|
|
1698
1698
|
{
|
|
1699
|
-
statusColor:
|
|
1699
|
+
statusColor: Ce,
|
|
1700
1700
|
label: s,
|
|
1701
1701
|
subLabel: l,
|
|
1702
1702
|
delay: h,
|
|
1703
1703
|
showLabels: m,
|
|
1704
1704
|
isCompact: y.isCompact,
|
|
1705
|
-
onClick:
|
|
1706
|
-
isSelected:
|
|
1705
|
+
onClick: X,
|
|
1706
|
+
isSelected: ae,
|
|
1707
1707
|
children: r
|
|
1708
1708
|
}
|
|
1709
1709
|
)
|
|
1710
1710
|
}
|
|
1711
1711
|
),
|
|
1712
1712
|
u && /* @__PURE__ */ e(
|
|
1713
|
-
|
|
1713
|
+
W,
|
|
1714
1714
|
{
|
|
1715
1715
|
ex: t,
|
|
1716
1716
|
ey: n,
|
|
1717
|
-
status:
|
|
1718
|
-
title:
|
|
1717
|
+
status: B,
|
|
1718
|
+
title: Q,
|
|
1719
1719
|
msg: u.msg,
|
|
1720
1720
|
offsetX: u.offsetX ?? 110,
|
|
1721
1721
|
offsetY: u.offsetY ?? -30,
|
|
@@ -1726,7 +1726,7 @@ function k({
|
|
|
1726
1726
|
)
|
|
1727
1727
|
] });
|
|
1728
1728
|
}
|
|
1729
|
-
function
|
|
1729
|
+
function Vt({
|
|
1730
1730
|
children: t,
|
|
1731
1731
|
statusColor: n,
|
|
1732
1732
|
label: o,
|
|
@@ -1737,7 +1737,7 @@ function Ut({
|
|
|
1737
1737
|
onClick: l,
|
|
1738
1738
|
isSelected: h = !1
|
|
1739
1739
|
}) {
|
|
1740
|
-
const [c, p] =
|
|
1740
|
+
const [c, p] = $(!1), f = h ? `brightness(1.5) drop-shadow(0 0 24px ${n}cc) drop-shadow(0 0 8px ${n}88)` : c && l ? `brightness(1.2) drop-shadow(0 0 12px ${n}77)` : "";
|
|
1741
1741
|
return /* @__PURE__ */ d(
|
|
1742
1742
|
"div",
|
|
1743
1743
|
{
|
|
@@ -1766,7 +1766,7 @@ function Ut({
|
|
|
1766
1766
|
}
|
|
1767
1767
|
}
|
|
1768
1768
|
),
|
|
1769
|
-
/* @__PURE__ */ e("div", { style: s ? { background: "#040c1a", borderRadius: 2 } : void 0, children: s &&
|
|
1769
|
+
/* @__PURE__ */ e("div", { style: s ? { background: "#040c1a", borderRadius: 2 } : void 0, children: s && re.isValidElement(t) ? re.cloneElement(t, {
|
|
1770
1770
|
_compact: !0
|
|
1771
1771
|
}) : t })
|
|
1772
1772
|
] }),
|
|
@@ -1787,7 +1787,7 @@ function Ut({
|
|
|
1787
1787
|
}
|
|
1788
1788
|
);
|
|
1789
1789
|
}
|
|
1790
|
-
function
|
|
1790
|
+
function bt({ synced: t, latencyMs: n }) {
|
|
1791
1791
|
const o = t ? "#00ff88" : "#ff8c00";
|
|
1792
1792
|
return /* @__PURE__ */ d("div", { className: "sync-bridge", children: [
|
|
1793
1793
|
/* @__PURE__ */ d("div", { className: "sync-arrows", children: [
|
|
@@ -1822,8 +1822,8 @@ function ft({ synced: t, latencyMs: n }) {
|
|
|
1822
1822
|
] })
|
|
1823
1823
|
] });
|
|
1824
1824
|
}
|
|
1825
|
-
const
|
|
1826
|
-
function
|
|
1825
|
+
const te = 140, Y = 240, oe = 160, he = Ke(te, Y, oe);
|
|
1826
|
+
function _t({
|
|
1827
1827
|
cfg: t,
|
|
1828
1828
|
name: n,
|
|
1829
1829
|
cpuLoad: o,
|
|
@@ -1842,9 +1842,9 @@ function Yt({
|
|
|
1842
1842
|
"div",
|
|
1843
1843
|
{
|
|
1844
1844
|
style: {
|
|
1845
|
-
width:
|
|
1846
|
-
height:
|
|
1847
|
-
background: a ?
|
|
1845
|
+
width: te,
|
|
1846
|
+
height: Y,
|
|
1847
|
+
background: a ? Re : Ge,
|
|
1848
1848
|
position: "relative",
|
|
1849
1849
|
overflow: "hidden",
|
|
1850
1850
|
fontFamily: "'Courier New', monospace",
|
|
@@ -2235,13 +2235,13 @@ function Yt({
|
|
|
2235
2235
|
}
|
|
2236
2236
|
);
|
|
2237
2237
|
}
|
|
2238
|
-
function
|
|
2238
|
+
function jt() {
|
|
2239
2239
|
return /* @__PURE__ */ d(
|
|
2240
2240
|
"div",
|
|
2241
2241
|
{
|
|
2242
2242
|
style: {
|
|
2243
|
-
width:
|
|
2244
|
-
height:
|
|
2243
|
+
width: te,
|
|
2244
|
+
height: Y,
|
|
2245
2245
|
background: "linear-gradient(180deg, #040c1a 0%, #030810 100%)",
|
|
2246
2246
|
position: "relative",
|
|
2247
2247
|
overflow: "hidden",
|
|
@@ -2349,7 +2349,7 @@ function Vt() {
|
|
|
2349
2349
|
}
|
|
2350
2350
|
);
|
|
2351
2351
|
}
|
|
2352
|
-
function
|
|
2352
|
+
function dt({
|
|
2353
2353
|
side: t,
|
|
2354
2354
|
color: n,
|
|
2355
2355
|
brandLabel: o
|
|
@@ -2359,8 +2359,8 @@ function at({
|
|
|
2359
2359
|
"div",
|
|
2360
2360
|
{
|
|
2361
2361
|
style: {
|
|
2362
|
-
width:
|
|
2363
|
-
height:
|
|
2362
|
+
width: oe,
|
|
2363
|
+
height: Y,
|
|
2364
2364
|
background: i ? "linear-gradient(90deg, #040c1c 0%, #071428 60%, #040c1c 100%)" : "linear-gradient(90deg, #040c1c 0%, #071428 40%, #040c1c 100%)",
|
|
2365
2365
|
position: "relative",
|
|
2366
2366
|
overflow: "hidden"
|
|
@@ -2379,13 +2379,13 @@ function at({
|
|
|
2379
2379
|
}
|
|
2380
2380
|
}
|
|
2381
2381
|
),
|
|
2382
|
-
[8,
|
|
2382
|
+
[8, Y - 20].map((r) => /* @__PURE__ */ e(
|
|
2383
2383
|
"div",
|
|
2384
2384
|
{
|
|
2385
2385
|
style: {
|
|
2386
2386
|
position: "absolute",
|
|
2387
2387
|
top: r,
|
|
2388
|
-
left: i ? 10 :
|
|
2388
|
+
left: i ? 10 : oe - 18,
|
|
2389
2389
|
width: 8,
|
|
2390
2390
|
height: 8,
|
|
2391
2391
|
borderRadius: 1,
|
|
@@ -2401,8 +2401,8 @@ function at({
|
|
|
2401
2401
|
{
|
|
2402
2402
|
style: {
|
|
2403
2403
|
position: "absolute",
|
|
2404
|
-
top:
|
|
2405
|
-
bottom:
|
|
2404
|
+
top: Y * 0.35,
|
|
2405
|
+
bottom: Y * 0.15,
|
|
2406
2406
|
left: i ? 22 : 18,
|
|
2407
2407
|
right: i ? 18 : 22,
|
|
2408
2408
|
display: "flex",
|
|
@@ -2430,8 +2430,8 @@ function at({
|
|
|
2430
2430
|
{
|
|
2431
2431
|
style: {
|
|
2432
2432
|
position: "absolute",
|
|
2433
|
-
top:
|
|
2434
|
-
left: i ? 12 :
|
|
2433
|
+
top: Y * 0.18,
|
|
2434
|
+
left: i ? 12 : oe - 78,
|
|
2435
2435
|
fontSize: 7,
|
|
2436
2436
|
color: "#1a3050",
|
|
2437
2437
|
letterSpacing: "0.2em",
|
|
@@ -2449,14 +2449,14 @@ function at({
|
|
|
2449
2449
|
}
|
|
2450
2450
|
);
|
|
2451
2451
|
}
|
|
2452
|
-
function
|
|
2453
|
-
const n = t / 100, o = n > 0.75 ? "rgba(255,34,85,0.16)" : n > 0.45 ? "rgba(255,140,0,0.12)" : "rgba(0,229,255,0.08)", i = Math.floor((
|
|
2452
|
+
function Xt({ cpuLoad: t }) {
|
|
2453
|
+
const n = t / 100, o = n > 0.75 ? "rgba(255,34,85,0.16)" : n > 0.45 ? "rgba(255,140,0,0.12)" : "rgba(0,229,255,0.08)", i = Math.floor((oe - 18) / 7);
|
|
2454
2454
|
return /* @__PURE__ */ d(
|
|
2455
2455
|
"div",
|
|
2456
2456
|
{
|
|
2457
2457
|
style: {
|
|
2458
|
-
width:
|
|
2459
|
-
height:
|
|
2458
|
+
width: te,
|
|
2459
|
+
height: oe,
|
|
2460
2460
|
background: "linear-gradient(180deg, #0c1c30 0%, #070f1e 40%, #040c1a 100%)",
|
|
2461
2461
|
position: "relative",
|
|
2462
2462
|
overflow: "hidden"
|
|
@@ -2470,7 +2470,7 @@ function _t({ cpuLoad: t }) {
|
|
|
2470
2470
|
top: 0,
|
|
2471
2471
|
left: 0,
|
|
2472
2472
|
right: 0,
|
|
2473
|
-
height:
|
|
2473
|
+
height: oe * 0.4,
|
|
2474
2474
|
background: `radial-gradient(ellipse at 50% 0%, ${o} 0%, transparent 70%)`
|
|
2475
2475
|
}
|
|
2476
2476
|
}
|
|
@@ -2529,7 +2529,7 @@ function _t({ cpuLoad: t }) {
|
|
|
2529
2529
|
}
|
|
2530
2530
|
);
|
|
2531
2531
|
}
|
|
2532
|
-
function
|
|
2532
|
+
function se({
|
|
2533
2533
|
rotateX: t = -22,
|
|
2534
2534
|
rotateY: n = 20,
|
|
2535
2535
|
rotateZ: o = 0,
|
|
@@ -2542,26 +2542,26 @@ function ae({
|
|
|
2542
2542
|
brandLabel: c = "BUSAUD",
|
|
2543
2543
|
_compact: p
|
|
2544
2544
|
}) {
|
|
2545
|
-
const [f, g] =
|
|
2546
|
-
|
|
2545
|
+
const [f, g] = $(n), u = V(0), y = V(0);
|
|
2546
|
+
ke(() => {
|
|
2547
2547
|
if (!r) {
|
|
2548
2548
|
g(n);
|
|
2549
2549
|
return;
|
|
2550
2550
|
}
|
|
2551
2551
|
const x = (v) => {
|
|
2552
|
-
y.current && g((
|
|
2552
|
+
y.current && g((P) => P + (v - y.current) * 0.027), y.current = v, u.current = requestAnimationFrame(x);
|
|
2553
2553
|
};
|
|
2554
2554
|
return u.current = requestAnimationFrame(x), () => {
|
|
2555
2555
|
cancelAnimationFrame(u.current), y.current = 0;
|
|
2556
2556
|
};
|
|
2557
2557
|
}, [r, n]);
|
|
2558
|
-
const m =
|
|
2558
|
+
const m = k[a] ?? k.online;
|
|
2559
2559
|
return /* @__PURE__ */ d(
|
|
2560
2560
|
"div",
|
|
2561
2561
|
{
|
|
2562
2562
|
style: {
|
|
2563
|
-
width:
|
|
2564
|
-
height:
|
|
2563
|
+
width: te * i,
|
|
2564
|
+
height: Y * i,
|
|
2565
2565
|
position: "relative",
|
|
2566
2566
|
display: "flex",
|
|
2567
2567
|
alignItems: "center",
|
|
@@ -2613,8 +2613,8 @@ function ae({
|
|
|
2613
2613
|
{
|
|
2614
2614
|
style: {
|
|
2615
2615
|
position: "absolute",
|
|
2616
|
-
width:
|
|
2617
|
-
height:
|
|
2616
|
+
width: te * 1.4 * i,
|
|
2617
|
+
height: Y * 0.8 * i,
|
|
2618
2618
|
background: `radial-gradient(ellipse, ${m.glow} 0%, transparent 65%)`,
|
|
2619
2619
|
filter: `blur(${Math.round(45 * i)}px)`,
|
|
2620
2620
|
pointerEvents: "none",
|
|
@@ -2637,16 +2637,16 @@ function ae({
|
|
|
2637
2637
|
"div",
|
|
2638
2638
|
{
|
|
2639
2639
|
style: {
|
|
2640
|
-
width:
|
|
2641
|
-
height:
|
|
2640
|
+
width: te,
|
|
2641
|
+
height: Y,
|
|
2642
2642
|
position: "relative",
|
|
2643
2643
|
transformStyle: "preserve-3d",
|
|
2644
2644
|
transform: `rotateX(${t}deg) rotateY(${f}deg) rotateZ(${o}deg)`,
|
|
2645
2645
|
transition: r ? "none" : "transform 0.55s cubic-bezier(0.25, 0.46, 0.45, 0.94)"
|
|
2646
2646
|
},
|
|
2647
2647
|
children: [
|
|
2648
|
-
/* @__PURE__ */ e("div", { style:
|
|
2649
|
-
|
|
2648
|
+
/* @__PURE__ */ e("div", { style: he.front, children: /* @__PURE__ */ e(
|
|
2649
|
+
_t,
|
|
2650
2650
|
{
|
|
2651
2651
|
cfg: m,
|
|
2652
2652
|
name: s,
|
|
@@ -2657,16 +2657,16 @@ function ae({
|
|
|
2657
2657
|
brandLabel: c
|
|
2658
2658
|
}
|
|
2659
2659
|
) }),
|
|
2660
|
-
/* @__PURE__ */ e("div", { style:
|
|
2661
|
-
/* @__PURE__ */ e("div", { style:
|
|
2662
|
-
/* @__PURE__ */ e("div", { style:
|
|
2663
|
-
/* @__PURE__ */ e("div", { style:
|
|
2664
|
-
/* @__PURE__ */ e("div", { style:
|
|
2660
|
+
/* @__PURE__ */ e("div", { style: he.back, children: /* @__PURE__ */ e(jt, {}) }),
|
|
2661
|
+
/* @__PURE__ */ e("div", { style: he.left, children: /* @__PURE__ */ e(dt, { side: "left", color: m.color, brandLabel: c }) }),
|
|
2662
|
+
/* @__PURE__ */ e("div", { style: he.right, children: /* @__PURE__ */ e(dt, { side: "right", color: m.color, brandLabel: c }) }),
|
|
2663
|
+
/* @__PURE__ */ e("div", { style: he.top, children: /* @__PURE__ */ e(Xt, { cpuLoad: l }) }),
|
|
2664
|
+
/* @__PURE__ */ e("div", { style: he.bottom, children: /* @__PURE__ */ e(
|
|
2665
2665
|
"div",
|
|
2666
2666
|
{
|
|
2667
2667
|
style: {
|
|
2668
|
-
width:
|
|
2669
|
-
height:
|
|
2668
|
+
width: te,
|
|
2669
|
+
height: oe,
|
|
2670
2670
|
background: "linear-gradient(180deg, #030710, #020508)"
|
|
2671
2671
|
}
|
|
2672
2672
|
}
|
|
@@ -2680,7 +2680,7 @@ function ae({
|
|
|
2680
2680
|
}
|
|
2681
2681
|
);
|
|
2682
2682
|
}
|
|
2683
|
-
function
|
|
2683
|
+
function Pi({
|
|
2684
2684
|
ex: t,
|
|
2685
2685
|
ey: n,
|
|
2686
2686
|
compactOffset: o,
|
|
@@ -2700,7 +2700,7 @@ function wi({
|
|
|
2700
2700
|
alert: x
|
|
2701
2701
|
}) {
|
|
2702
2702
|
return /* @__PURE__ */ e(
|
|
2703
|
-
|
|
2703
|
+
A,
|
|
2704
2704
|
{
|
|
2705
2705
|
ex: t,
|
|
2706
2706
|
ey: n,
|
|
@@ -2721,15 +2721,15 @@ function wi({
|
|
|
2721
2721
|
graphSeries: m
|
|
2722
2722
|
},
|
|
2723
2723
|
alert: x,
|
|
2724
|
-
children: /* @__PURE__ */ e(
|
|
2724
|
+
children: /* @__PURE__ */ e(se, { status: a, cpuLoad: p, memLoad: f, brandLabel: g })
|
|
2725
2725
|
}
|
|
2726
2726
|
);
|
|
2727
2727
|
}
|
|
2728
|
-
const
|
|
2729
|
-
function
|
|
2728
|
+
const qe = 12, le = 55, q = le * 2, ye = 52, et = 10, Ve = 3 * ye + 2 * et, ue = 2 * Math.PI * le / qe, _e = Array.from({ length: qe }, (t, n) => n / qe * 360);
|
|
2729
|
+
function je(t) {
|
|
2730
2730
|
return Math.cos(t * Math.PI / 180) * 0.42 + 0.58;
|
|
2731
2731
|
}
|
|
2732
|
-
function
|
|
2732
|
+
function Qt({
|
|
2733
2733
|
diskY: t,
|
|
2734
2734
|
diskIdx: n,
|
|
2735
2735
|
cfg: o,
|
|
@@ -2737,25 +2737,25 @@ function Xt({
|
|
|
2737
2737
|
capacity: r,
|
|
2738
2738
|
compact: a
|
|
2739
2739
|
}) {
|
|
2740
|
-
return /* @__PURE__ */ d(
|
|
2741
|
-
|
|
2742
|
-
const h =
|
|
2740
|
+
return /* @__PURE__ */ d($e, { children: [
|
|
2741
|
+
_e.map((s, l) => {
|
|
2742
|
+
const h = je(s), c = l === 0, p = Math.round(4 + h * 9), f = Math.round(12 + h * 22), g = Math.round(28 + h * 44), u = Math.round(h * 0.55 * 255).toString(16).padStart(2, "0");
|
|
2743
2743
|
return /* @__PURE__ */ e(
|
|
2744
2744
|
"div",
|
|
2745
2745
|
{
|
|
2746
2746
|
style: {
|
|
2747
2747
|
position: "absolute",
|
|
2748
|
-
width:
|
|
2749
|
-
height:
|
|
2750
|
-
left: (
|
|
2748
|
+
width: ue,
|
|
2749
|
+
height: ye,
|
|
2750
|
+
left: (q - ue) / 2,
|
|
2751
2751
|
top: t,
|
|
2752
|
-
transform: `rotateY(${s}deg) translateZ(${
|
|
2752
|
+
transform: `rotateY(${s}deg) translateZ(${le}px)`,
|
|
2753
2753
|
backfaceVisibility: "hidden",
|
|
2754
2754
|
background: c ? a ? "linear-gradient(180deg, rgb(0,28,62), rgb(0,18,44))" : "linear-gradient(180deg, rgba(0,28,62,0.70), rgba(0,18,44,0.76))" : `rgb(${p},${f},${g})`,
|
|
2755
2755
|
borderLeft: `1px solid ${o.color}${u}`,
|
|
2756
2756
|
boxShadow: c ? `inset 0 0 18px ${o.color}28` : "none"
|
|
2757
2757
|
},
|
|
2758
|
-
children: c && /* @__PURE__ */ d(
|
|
2758
|
+
children: c && /* @__PURE__ */ d($e, { children: [
|
|
2759
2759
|
/* @__PURE__ */ e(
|
|
2760
2760
|
"div",
|
|
2761
2761
|
{
|
|
@@ -2808,10 +2808,10 @@ function Xt({
|
|
|
2808
2808
|
{
|
|
2809
2809
|
style: {
|
|
2810
2810
|
position: "absolute",
|
|
2811
|
-
width:
|
|
2812
|
-
height:
|
|
2811
|
+
width: q + 4,
|
|
2812
|
+
height: q + 4,
|
|
2813
2813
|
left: -2,
|
|
2814
|
-
top: t -
|
|
2814
|
+
top: t - le,
|
|
2815
2815
|
borderRadius: "50%",
|
|
2816
2816
|
transform: "rotateX(90deg)",
|
|
2817
2817
|
backfaceVisibility: "hidden",
|
|
@@ -2869,10 +2869,10 @@ function Xt({
|
|
|
2869
2869
|
{
|
|
2870
2870
|
style: {
|
|
2871
2871
|
position: "absolute",
|
|
2872
|
-
width:
|
|
2873
|
-
height:
|
|
2872
|
+
width: q + 4,
|
|
2873
|
+
height: q + 4,
|
|
2874
2874
|
left: -2,
|
|
2875
|
-
top: t +
|
|
2875
|
+
top: t + ye - le,
|
|
2876
2876
|
borderRadius: "50%",
|
|
2877
2877
|
transform: "rotateX(-90deg)",
|
|
2878
2878
|
backfaceVisibility: "hidden",
|
|
@@ -2896,18 +2896,18 @@ function Xt({
|
|
|
2896
2896
|
)
|
|
2897
2897
|
}
|
|
2898
2898
|
),
|
|
2899
|
-
i &&
|
|
2900
|
-
const h =
|
|
2899
|
+
i && _e.map((s, l) => {
|
|
2900
|
+
const h = je(s);
|
|
2901
2901
|
return /* @__PURE__ */ e(
|
|
2902
2902
|
"div",
|
|
2903
2903
|
{
|
|
2904
2904
|
style: {
|
|
2905
2905
|
position: "absolute",
|
|
2906
|
-
width:
|
|
2906
|
+
width: ue + 1.5,
|
|
2907
2907
|
height: 6,
|
|
2908
|
-
left: (
|
|
2909
|
-
top: t +
|
|
2910
|
-
transform: `rotateY(${s}deg) translateZ(${
|
|
2908
|
+
left: (q - ue - 1.5) / 2,
|
|
2909
|
+
top: t + ye - 3,
|
|
2910
|
+
transform: `rotateY(${s}deg) translateZ(${le + 1.5}px)`,
|
|
2911
2911
|
backfaceVisibility: "hidden",
|
|
2912
2912
|
background: o.color,
|
|
2913
2913
|
boxShadow: `0 0 8px ${o.color}, 0 0 18px ${o.color}aa, 0 0 30px ${o.glow}`,
|
|
@@ -2917,18 +2917,18 @@ function Xt({
|
|
|
2917
2917
|
`rng${n}${l}`
|
|
2918
2918
|
);
|
|
2919
2919
|
}),
|
|
2920
|
-
i &&
|
|
2921
|
-
const h =
|
|
2920
|
+
i && _e.map((s, l) => {
|
|
2921
|
+
const h = je(s), c = Math.round(2 + h * 4), p = Math.round(5 + h * 10), f = Math.round(12 + h * 20);
|
|
2922
2922
|
return /* @__PURE__ */ e(
|
|
2923
2923
|
"div",
|
|
2924
2924
|
{
|
|
2925
2925
|
style: {
|
|
2926
2926
|
position: "absolute",
|
|
2927
|
-
width:
|
|
2928
|
-
height:
|
|
2929
|
-
left: (
|
|
2930
|
-
top: t +
|
|
2931
|
-
transform: `rotateY(${s}deg) translateZ(${
|
|
2927
|
+
width: ue,
|
|
2928
|
+
height: et,
|
|
2929
|
+
left: (q - ue) / 2,
|
|
2930
|
+
top: t + ye,
|
|
2931
|
+
transform: `rotateY(${s}deg) translateZ(${le}px)`,
|
|
2932
2932
|
backfaceVisibility: "hidden",
|
|
2933
2933
|
background: `rgb(${c},${p},${f})`
|
|
2934
2934
|
}
|
|
@@ -2938,7 +2938,7 @@ function Xt({
|
|
|
2938
2938
|
})
|
|
2939
2939
|
] });
|
|
2940
2940
|
}
|
|
2941
|
-
function
|
|
2941
|
+
function Ae({
|
|
2942
2942
|
rotateX: t = -22,
|
|
2943
2943
|
rotateY: n = -15,
|
|
2944
2944
|
rotateZ: o = 0,
|
|
@@ -2950,8 +2950,8 @@ function Ee({
|
|
|
2950
2950
|
// connections = 284,
|
|
2951
2951
|
_compact: l
|
|
2952
2952
|
}) {
|
|
2953
|
-
const [h, c] =
|
|
2954
|
-
|
|
2953
|
+
const [h, c] = $(n), p = V(0), f = V(0);
|
|
2954
|
+
ke(() => {
|
|
2955
2955
|
if (!r) {
|
|
2956
2956
|
c(n);
|
|
2957
2957
|
return;
|
|
@@ -2963,13 +2963,13 @@ function Ee({
|
|
|
2963
2963
|
cancelAnimationFrame(p.current), f.current = 0;
|
|
2964
2964
|
};
|
|
2965
2965
|
}, [r, n]);
|
|
2966
|
-
const g =
|
|
2966
|
+
const g = k[a] ?? k.online;
|
|
2967
2967
|
return /* @__PURE__ */ d(
|
|
2968
2968
|
"div",
|
|
2969
2969
|
{
|
|
2970
2970
|
style: {
|
|
2971
|
-
width:
|
|
2972
|
-
height:
|
|
2971
|
+
width: q * i,
|
|
2972
|
+
height: Ve * i,
|
|
2973
2973
|
position: "relative",
|
|
2974
2974
|
display: "flex",
|
|
2975
2975
|
alignItems: "center",
|
|
@@ -3029,8 +3029,8 @@ function Ee({
|
|
|
3029
3029
|
{
|
|
3030
3030
|
style: {
|
|
3031
3031
|
position: "absolute",
|
|
3032
|
-
width:
|
|
3033
|
-
height:
|
|
3032
|
+
width: q * 2.8 * i,
|
|
3033
|
+
height: Ve * 0.85 * i,
|
|
3034
3034
|
background: `radial-gradient(ellipse, ${g.glow} 0%, transparent 65%)`,
|
|
3035
3035
|
filter: `blur(${Math.round(50 * i)}px)`,
|
|
3036
3036
|
pointerEvents: "none",
|
|
@@ -3053,17 +3053,17 @@ function Ee({
|
|
|
3053
3053
|
"div",
|
|
3054
3054
|
{
|
|
3055
3055
|
style: {
|
|
3056
|
-
width:
|
|
3057
|
-
height:
|
|
3056
|
+
width: q,
|
|
3057
|
+
height: Ve,
|
|
3058
3058
|
position: "relative",
|
|
3059
3059
|
transformStyle: "preserve-3d",
|
|
3060
3060
|
transform: `rotateX(${t}deg) rotateY(${h}deg) rotateZ(${o}deg)`,
|
|
3061
3061
|
transition: r ? "none" : "transform 0.55s cubic-bezier(0.25, 0.46, 0.45, 0.94)"
|
|
3062
3062
|
},
|
|
3063
3063
|
children: [0, 1, 2].map((u) => /* @__PURE__ */ e(
|
|
3064
|
-
|
|
3064
|
+
Qt,
|
|
3065
3065
|
{
|
|
3066
|
-
diskY: u * (
|
|
3066
|
+
diskY: u * (ye + et),
|
|
3067
3067
|
diskIdx: u,
|
|
3068
3068
|
cfg: g,
|
|
3069
3069
|
hasRingBelow: u < 2,
|
|
@@ -3080,7 +3080,7 @@ function Ee({
|
|
|
3080
3080
|
}
|
|
3081
3081
|
);
|
|
3082
3082
|
}
|
|
3083
|
-
function
|
|
3083
|
+
function Ci({
|
|
3084
3084
|
ex: t,
|
|
3085
3085
|
ey: n,
|
|
3086
3086
|
compactOffset: o,
|
|
@@ -3098,7 +3098,7 @@ function Si({
|
|
|
3098
3098
|
alert: y
|
|
3099
3099
|
}) {
|
|
3100
3100
|
return /* @__PURE__ */ e(
|
|
3101
|
-
|
|
3101
|
+
A,
|
|
3102
3102
|
{
|
|
3103
3103
|
ex: t,
|
|
3104
3104
|
ey: n,
|
|
@@ -3119,12 +3119,12 @@ function Si({
|
|
|
3119
3119
|
graphSeries: u
|
|
3120
3120
|
},
|
|
3121
3121
|
alert: y,
|
|
3122
|
-
children: /* @__PURE__ */ e(
|
|
3122
|
+
children: /* @__PURE__ */ e(Ae, { status: a, capacity: p })
|
|
3123
3123
|
}
|
|
3124
3124
|
);
|
|
3125
3125
|
}
|
|
3126
|
-
function
|
|
3127
|
-
const i = (
|
|
3126
|
+
function tt({ status: t = "online", scale: n = 1 }) {
|
|
3127
|
+
const i = (k[t] ?? k.online).color;
|
|
3128
3128
|
return /* @__PURE__ */ e(
|
|
3129
3129
|
"div",
|
|
3130
3130
|
{
|
|
@@ -3235,7 +3235,7 @@ function Je({ status: t = "online", scale: n = 1 }) {
|
|
|
3235
3235
|
}
|
|
3236
3236
|
);
|
|
3237
3237
|
}
|
|
3238
|
-
function
|
|
3238
|
+
function Ei({
|
|
3239
3239
|
ex: t,
|
|
3240
3240
|
ey: n,
|
|
3241
3241
|
compactOffset: o,
|
|
@@ -3246,7 +3246,7 @@ function $i({
|
|
|
3246
3246
|
visibleAtPhase: l
|
|
3247
3247
|
}) {
|
|
3248
3248
|
return /* @__PURE__ */ e(
|
|
3249
|
-
|
|
3249
|
+
A,
|
|
3250
3250
|
{
|
|
3251
3251
|
ex: t,
|
|
3252
3252
|
ey: n,
|
|
@@ -3254,12 +3254,12 @@ function $i({
|
|
|
3254
3254
|
zIndex: i,
|
|
3255
3255
|
color: s,
|
|
3256
3256
|
visibleAtPhase: l,
|
|
3257
|
-
children: /* @__PURE__ */ e(
|
|
3257
|
+
children: /* @__PURE__ */ e(tt, { status: r, scale: a })
|
|
3258
3258
|
}
|
|
3259
3259
|
);
|
|
3260
3260
|
}
|
|
3261
|
-
const
|
|
3262
|
-
function
|
|
3261
|
+
const ie = 190, _ = 72, me = 120, be = Ke(ie, _, me);
|
|
3262
|
+
function qt({
|
|
3263
3263
|
cfg: t,
|
|
3264
3264
|
name: n,
|
|
3265
3265
|
traffic: o,
|
|
@@ -3271,9 +3271,9 @@ function jt({
|
|
|
3271
3271
|
"div",
|
|
3272
3272
|
{
|
|
3273
3273
|
style: {
|
|
3274
|
-
width:
|
|
3275
|
-
height:
|
|
3276
|
-
background: r ?
|
|
3274
|
+
width: ie,
|
|
3275
|
+
height: _,
|
|
3276
|
+
background: r ? Re : Ge,
|
|
3277
3277
|
position: "relative",
|
|
3278
3278
|
overflow: "hidden",
|
|
3279
3279
|
fontFamily: "'Courier New', monospace",
|
|
@@ -3521,13 +3521,13 @@ function jt({
|
|
|
3521
3521
|
}
|
|
3522
3522
|
);
|
|
3523
3523
|
}
|
|
3524
|
-
function
|
|
3524
|
+
function Gt() {
|
|
3525
3525
|
return /* @__PURE__ */ d(
|
|
3526
3526
|
"div",
|
|
3527
3527
|
{
|
|
3528
3528
|
style: {
|
|
3529
|
-
width:
|
|
3530
|
-
height:
|
|
3529
|
+
width: ie,
|
|
3530
|
+
height: _,
|
|
3531
3531
|
background: "linear-gradient(180deg, #040c1a, #030810)",
|
|
3532
3532
|
position: "relative",
|
|
3533
3533
|
overflow: "hidden",
|
|
@@ -3542,7 +3542,7 @@ function Qt() {
|
|
|
3542
3542
|
{
|
|
3543
3543
|
style: {
|
|
3544
3544
|
width: 40,
|
|
3545
|
-
height:
|
|
3545
|
+
height: _ - 16,
|
|
3546
3546
|
background: "#020710",
|
|
3547
3547
|
border: "1px solid #1a2d40",
|
|
3548
3548
|
borderRadius: 2,
|
|
@@ -3598,7 +3598,7 @@ function Qt() {
|
|
|
3598
3598
|
style: {
|
|
3599
3599
|
marginLeft: "auto",
|
|
3600
3600
|
width: 12,
|
|
3601
|
-
height:
|
|
3601
|
+
height: _ - 16,
|
|
3602
3602
|
background: "#020710",
|
|
3603
3603
|
border: "1px solid #1a3050",
|
|
3604
3604
|
borderRadius: 1
|
|
@@ -3609,13 +3609,13 @@ function Qt() {
|
|
|
3609
3609
|
}
|
|
3610
3610
|
);
|
|
3611
3611
|
}
|
|
3612
|
-
function
|
|
3612
|
+
function ct({ side: t, color: n }) {
|
|
3613
3613
|
return /* @__PURE__ */ d(
|
|
3614
3614
|
"div",
|
|
3615
3615
|
{
|
|
3616
3616
|
style: {
|
|
3617
|
-
width:
|
|
3618
|
-
height:
|
|
3617
|
+
width: me,
|
|
3618
|
+
height: _,
|
|
3619
3619
|
background: t === "right" ? "linear-gradient(90deg, #04091a 0%, #071428 60%, #040c1c 100%)" : "linear-gradient(90deg, #040c1c 0%, #071428 40%, #04091a 100%)",
|
|
3620
3620
|
position: "relative",
|
|
3621
3621
|
overflow: "hidden"
|
|
@@ -3639,8 +3639,8 @@ function lt({ side: t, color: n }) {
|
|
|
3639
3639
|
{
|
|
3640
3640
|
style: {
|
|
3641
3641
|
position: "absolute",
|
|
3642
|
-
top:
|
|
3643
|
-
bottom:
|
|
3642
|
+
top: _ * 0.25,
|
|
3643
|
+
bottom: _ * 0.25,
|
|
3644
3644
|
left: 14,
|
|
3645
3645
|
right: 14,
|
|
3646
3646
|
display: "flex",
|
|
@@ -3666,14 +3666,14 @@ function lt({ side: t, color: n }) {
|
|
|
3666
3666
|
}
|
|
3667
3667
|
);
|
|
3668
3668
|
}
|
|
3669
|
-
function
|
|
3670
|
-
const n = Math.floor((
|
|
3669
|
+
function Kt({ traffic: t }) {
|
|
3670
|
+
const n = Math.floor((me - 14) / 7);
|
|
3671
3671
|
return /* @__PURE__ */ d(
|
|
3672
3672
|
"div",
|
|
3673
3673
|
{
|
|
3674
3674
|
style: {
|
|
3675
|
-
width:
|
|
3676
|
-
height:
|
|
3675
|
+
width: ie,
|
|
3676
|
+
height: me,
|
|
3677
3677
|
background: "linear-gradient(180deg, #0c1c30 0%, #07101e 40%, #040c1a 100%)",
|
|
3678
3678
|
position: "relative",
|
|
3679
3679
|
overflow: "hidden"
|
|
@@ -3687,7 +3687,7 @@ function Gt({ traffic: t }) {
|
|
|
3687
3687
|
top: 0,
|
|
3688
3688
|
left: 0,
|
|
3689
3689
|
right: 0,
|
|
3690
|
-
height:
|
|
3690
|
+
height: me * 0.35,
|
|
3691
3691
|
background: `radial-gradient(ellipse at 50% 0%,
|
|
3692
3692
|
${t > 70 ? "rgba(255,34,85,0.14)" : "rgba(0,229,255,0.08)"} 0%,
|
|
3693
3693
|
transparent 70%)`
|
|
@@ -3725,7 +3725,7 @@ function Gt({ traffic: t }) {
|
|
|
3725
3725
|
}
|
|
3726
3726
|
);
|
|
3727
3727
|
}
|
|
3728
|
-
function
|
|
3728
|
+
function it({
|
|
3729
3729
|
rotateX: t = -20,
|
|
3730
3730
|
rotateY: n = 20,
|
|
3731
3731
|
rotateZ: o = 0,
|
|
@@ -3737,8 +3737,8 @@ function et({
|
|
|
3737
3737
|
activeRoutes: h = 12,
|
|
3738
3738
|
_compact: c
|
|
3739
3739
|
}) {
|
|
3740
|
-
const [p, f] =
|
|
3741
|
-
|
|
3740
|
+
const [p, f] = $(n), g = V(0), u = V(0);
|
|
3741
|
+
ke(() => {
|
|
3742
3742
|
if (!r) {
|
|
3743
3743
|
f(n);
|
|
3744
3744
|
return;
|
|
@@ -3750,13 +3750,13 @@ function et({
|
|
|
3750
3750
|
cancelAnimationFrame(g.current), u.current = 0;
|
|
3751
3751
|
};
|
|
3752
3752
|
}, [r, n]);
|
|
3753
|
-
const y =
|
|
3753
|
+
const y = k[a] ?? k.online;
|
|
3754
3754
|
return /* @__PURE__ */ d(
|
|
3755
3755
|
"div",
|
|
3756
3756
|
{
|
|
3757
3757
|
style: {
|
|
3758
|
-
width:
|
|
3759
|
-
height:
|
|
3758
|
+
width: ie * i,
|
|
3759
|
+
height: _ * i,
|
|
3760
3760
|
position: "relative",
|
|
3761
3761
|
display: "flex",
|
|
3762
3762
|
alignItems: "center",
|
|
@@ -3816,8 +3816,8 @@ function et({
|
|
|
3816
3816
|
{
|
|
3817
3817
|
style: {
|
|
3818
3818
|
position: "absolute",
|
|
3819
|
-
width:
|
|
3820
|
-
height:
|
|
3819
|
+
width: ie * 1.3 * i,
|
|
3820
|
+
height: _ * 2 * i,
|
|
3821
3821
|
background: `radial-gradient(ellipse, ${y.glow} 0%, transparent 65%)`,
|
|
3822
3822
|
filter: `blur(${Math.round(40 * i)}px)`,
|
|
3823
3823
|
pointerEvents: "none",
|
|
@@ -3840,16 +3840,16 @@ function et({
|
|
|
3840
3840
|
"div",
|
|
3841
3841
|
{
|
|
3842
3842
|
style: {
|
|
3843
|
-
width:
|
|
3844
|
-
height:
|
|
3843
|
+
width: ie,
|
|
3844
|
+
height: _,
|
|
3845
3845
|
position: "relative",
|
|
3846
3846
|
transformStyle: "preserve-3d",
|
|
3847
3847
|
transform: `rotateX(${t}deg) rotateY(${p}deg) rotateZ(${o}deg)`,
|
|
3848
3848
|
transition: r ? "none" : "transform 0.55s cubic-bezier(0.25, 0.46, 0.45, 0.94)"
|
|
3849
3849
|
},
|
|
3850
3850
|
children: [
|
|
3851
|
-
/* @__PURE__ */ e("div", { style:
|
|
3852
|
-
|
|
3851
|
+
/* @__PURE__ */ e("div", { style: be.front, children: /* @__PURE__ */ e(
|
|
3852
|
+
qt,
|
|
3853
3853
|
{
|
|
3854
3854
|
cfg: y,
|
|
3855
3855
|
name: s,
|
|
@@ -3858,11 +3858,11 @@ function et({
|
|
|
3858
3858
|
compact: c
|
|
3859
3859
|
}
|
|
3860
3860
|
) }),
|
|
3861
|
-
/* @__PURE__ */ e("div", { style:
|
|
3862
|
-
/* @__PURE__ */ e("div", { style:
|
|
3863
|
-
/* @__PURE__ */ e("div", { style:
|
|
3864
|
-
/* @__PURE__ */ e("div", { style:
|
|
3865
|
-
/* @__PURE__ */ e("div", { style:
|
|
3861
|
+
/* @__PURE__ */ e("div", { style: be.back, children: /* @__PURE__ */ e(Gt, {}) }),
|
|
3862
|
+
/* @__PURE__ */ e("div", { style: be.left, children: /* @__PURE__ */ e(ct, { side: "left", color: y.color }) }),
|
|
3863
|
+
/* @__PURE__ */ e("div", { style: be.right, children: /* @__PURE__ */ e(ct, { side: "right", color: y.color }) }),
|
|
3864
|
+
/* @__PURE__ */ e("div", { style: be.top, children: /* @__PURE__ */ e(Kt, { traffic: l }) }),
|
|
3865
|
+
/* @__PURE__ */ e("div", { style: be.bottom, children: /* @__PURE__ */ e("div", { style: { width: ie, height: me, background: "#020508" } }) })
|
|
3866
3866
|
]
|
|
3867
3867
|
}
|
|
3868
3868
|
)
|
|
@@ -3872,7 +3872,7 @@ function et({
|
|
|
3872
3872
|
}
|
|
3873
3873
|
);
|
|
3874
3874
|
}
|
|
3875
|
-
function
|
|
3875
|
+
function Ti({
|
|
3876
3876
|
ex: t,
|
|
3877
3877
|
ey: n,
|
|
3878
3878
|
compactOffset: o,
|
|
@@ -3891,7 +3891,7 @@ function ki({
|
|
|
3891
3891
|
alert: m
|
|
3892
3892
|
}) {
|
|
3893
3893
|
return /* @__PURE__ */ e(
|
|
3894
|
-
|
|
3894
|
+
A,
|
|
3895
3895
|
{
|
|
3896
3896
|
ex: t,
|
|
3897
3897
|
ey: n,
|
|
@@ -3912,17 +3912,17 @@ function ki({
|
|
|
3912
3912
|
graphSeries: y
|
|
3913
3913
|
},
|
|
3914
3914
|
alert: m,
|
|
3915
|
-
children: /* @__PURE__ */ e(
|
|
3915
|
+
children: /* @__PURE__ */ e(it, { status: a, traffic: p, activeRoutes: f })
|
|
3916
3916
|
}
|
|
3917
3917
|
);
|
|
3918
3918
|
}
|
|
3919
|
-
const
|
|
3919
|
+
const ne = 190, j = 72, xe = 120, ge = Ke(ne, j, xe), pt = {
|
|
3920
3920
|
online: { color: "#bb55ff", glow: "rgba(187,85,255,0.50)" },
|
|
3921
3921
|
warning: { color: "#ff8c00", glow: "rgba(255,140,0,0.50)" },
|
|
3922
3922
|
critical: { color: "#ff2255", glow: "rgba(255,34,85,0.50)" },
|
|
3923
3923
|
offline: { color: "#1e3a5a", glow: "rgba(30,58,90,0.25)" }
|
|
3924
3924
|
};
|
|
3925
|
-
function
|
|
3925
|
+
function Zt({
|
|
3926
3926
|
cfg: t,
|
|
3927
3927
|
name: n,
|
|
3928
3928
|
queueDepth: o,
|
|
@@ -3935,9 +3935,9 @@ function qt({
|
|
|
3935
3935
|
"div",
|
|
3936
3936
|
{
|
|
3937
3937
|
style: {
|
|
3938
|
-
width:
|
|
3939
|
-
height:
|
|
3940
|
-
background: a ?
|
|
3938
|
+
width: ne,
|
|
3939
|
+
height: j,
|
|
3940
|
+
background: a ? Re : Ge,
|
|
3941
3941
|
position: "relative",
|
|
3942
3942
|
overflow: "hidden",
|
|
3943
3943
|
fontFamily: "'Courier New', monospace",
|
|
@@ -4181,13 +4181,13 @@ function qt({
|
|
|
4181
4181
|
}
|
|
4182
4182
|
);
|
|
4183
4183
|
}
|
|
4184
|
-
function
|
|
4184
|
+
function Jt() {
|
|
4185
4185
|
return /* @__PURE__ */ d(
|
|
4186
4186
|
"div",
|
|
4187
4187
|
{
|
|
4188
4188
|
style: {
|
|
4189
|
-
width:
|
|
4190
|
-
height:
|
|
4189
|
+
width: ne,
|
|
4190
|
+
height: j,
|
|
4191
4191
|
background: "linear-gradient(180deg, #040c1a, #030810)",
|
|
4192
4192
|
position: "relative",
|
|
4193
4193
|
overflow: "hidden",
|
|
@@ -4202,7 +4202,7 @@ function Kt() {
|
|
|
4202
4202
|
{
|
|
4203
4203
|
style: {
|
|
4204
4204
|
width: 40,
|
|
4205
|
-
height:
|
|
4205
|
+
height: j - 16,
|
|
4206
4206
|
background: "#020710",
|
|
4207
4207
|
border: "1px solid #1a2d40",
|
|
4208
4208
|
borderRadius: 2,
|
|
@@ -4258,7 +4258,7 @@ function Kt() {
|
|
|
4258
4258
|
style: {
|
|
4259
4259
|
marginLeft: "auto",
|
|
4260
4260
|
width: 12,
|
|
4261
|
-
height:
|
|
4261
|
+
height: j - 16,
|
|
4262
4262
|
background: "#020710",
|
|
4263
4263
|
border: "1px solid #1a3050",
|
|
4264
4264
|
borderRadius: 1
|
|
@@ -4269,13 +4269,13 @@ function Kt() {
|
|
|
4269
4269
|
}
|
|
4270
4270
|
);
|
|
4271
4271
|
}
|
|
4272
|
-
function
|
|
4272
|
+
function ft({ side: t, color: n }) {
|
|
4273
4273
|
return /* @__PURE__ */ d(
|
|
4274
4274
|
"div",
|
|
4275
4275
|
{
|
|
4276
4276
|
style: {
|
|
4277
|
-
width:
|
|
4278
|
-
height:
|
|
4277
|
+
width: xe,
|
|
4278
|
+
height: j,
|
|
4279
4279
|
background: t === "right" ? "linear-gradient(90deg, #04091a 0%, #071428 60%, #040c1c 100%)" : "linear-gradient(90deg, #040c1c 0%, #071428 40%, #04091a 100%)",
|
|
4280
4280
|
position: "relative",
|
|
4281
4281
|
overflow: "hidden"
|
|
@@ -4299,8 +4299,8 @@ function dt({ side: t, color: n }) {
|
|
|
4299
4299
|
{
|
|
4300
4300
|
style: {
|
|
4301
4301
|
position: "absolute",
|
|
4302
|
-
top:
|
|
4303
|
-
bottom:
|
|
4302
|
+
top: j * 0.25,
|
|
4303
|
+
bottom: j * 0.25,
|
|
4304
4304
|
left: 14,
|
|
4305
4305
|
right: 14,
|
|
4306
4306
|
display: "flex",
|
|
@@ -4326,14 +4326,14 @@ function dt({ side: t, color: n }) {
|
|
|
4326
4326
|
}
|
|
4327
4327
|
);
|
|
4328
4328
|
}
|
|
4329
|
-
function
|
|
4330
|
-
const o = Math.floor((
|
|
4329
|
+
function ei({ queueDepth: t, color: n }) {
|
|
4330
|
+
const o = Math.floor((xe - 14) / 7);
|
|
4331
4331
|
return /* @__PURE__ */ d(
|
|
4332
4332
|
"div",
|
|
4333
4333
|
{
|
|
4334
4334
|
style: {
|
|
4335
|
-
width:
|
|
4336
|
-
height:
|
|
4335
|
+
width: ne,
|
|
4336
|
+
height: xe,
|
|
4337
4337
|
background: "linear-gradient(180deg, #0c1c30 0%, #07101e 40%, #040c1a 100%)",
|
|
4338
4338
|
position: "relative",
|
|
4339
4339
|
overflow: "hidden"
|
|
@@ -4347,7 +4347,7 @@ function Zt({ queueDepth: t, color: n }) {
|
|
|
4347
4347
|
top: 0,
|
|
4348
4348
|
left: 0,
|
|
4349
4349
|
right: 0,
|
|
4350
|
-
height:
|
|
4350
|
+
height: xe * 0.35,
|
|
4351
4351
|
background: `radial-gradient(ellipse at 50% 0%,
|
|
4352
4352
|
${t > 70 ? "rgba(255,34,85,0.14)" : `${n}15`} 0%,
|
|
4353
4353
|
transparent 70%)`
|
|
@@ -4385,7 +4385,7 @@ function Zt({ queueDepth: t, color: n }) {
|
|
|
4385
4385
|
}
|
|
4386
4386
|
);
|
|
4387
4387
|
}
|
|
4388
|
-
function
|
|
4388
|
+
function gt({
|
|
4389
4389
|
rotateX: t = -20,
|
|
4390
4390
|
rotateY: n = 20,
|
|
4391
4391
|
rotateZ: o = 0,
|
|
@@ -4398,26 +4398,26 @@ function ht({
|
|
|
4398
4398
|
instances: c = 3,
|
|
4399
4399
|
_compact: p
|
|
4400
4400
|
}) {
|
|
4401
|
-
const [f, g] =
|
|
4402
|
-
|
|
4401
|
+
const [f, g] = $(n), u = V(0), y = V(0);
|
|
4402
|
+
ke(() => {
|
|
4403
4403
|
if (!r) {
|
|
4404
4404
|
g(n);
|
|
4405
4405
|
return;
|
|
4406
4406
|
}
|
|
4407
4407
|
const x = (v) => {
|
|
4408
|
-
y.current && g((
|
|
4408
|
+
y.current && g((P) => P + (v - y.current) * 0.027), y.current = v, u.current = requestAnimationFrame(x);
|
|
4409
4409
|
};
|
|
4410
4410
|
return u.current = requestAnimationFrame(x), () => {
|
|
4411
4411
|
cancelAnimationFrame(u.current), y.current = 0;
|
|
4412
4412
|
};
|
|
4413
4413
|
}, [r, n]);
|
|
4414
|
-
const m =
|
|
4414
|
+
const m = pt[a] ?? pt.online;
|
|
4415
4415
|
return /* @__PURE__ */ d(
|
|
4416
4416
|
"div",
|
|
4417
4417
|
{
|
|
4418
4418
|
style: {
|
|
4419
|
-
width:
|
|
4420
|
-
height:
|
|
4419
|
+
width: ne * i,
|
|
4420
|
+
height: j * i,
|
|
4421
4421
|
position: "relative",
|
|
4422
4422
|
display: "flex",
|
|
4423
4423
|
alignItems: "center",
|
|
@@ -4477,8 +4477,8 @@ function ht({
|
|
|
4477
4477
|
{
|
|
4478
4478
|
style: {
|
|
4479
4479
|
position: "absolute",
|
|
4480
|
-
width:
|
|
4481
|
-
height:
|
|
4480
|
+
width: ne * 1.3 * i,
|
|
4481
|
+
height: j * 2 * i,
|
|
4482
4482
|
background: `radial-gradient(ellipse, ${m.glow} 0%, transparent 65%)`,
|
|
4483
4483
|
filter: `blur(${Math.round(40 * i)}px)`,
|
|
4484
4484
|
pointerEvents: "none",
|
|
@@ -4501,16 +4501,16 @@ function ht({
|
|
|
4501
4501
|
"div",
|
|
4502
4502
|
{
|
|
4503
4503
|
style: {
|
|
4504
|
-
width:
|
|
4505
|
-
height:
|
|
4504
|
+
width: ne,
|
|
4505
|
+
height: j,
|
|
4506
4506
|
position: "relative",
|
|
4507
4507
|
transformStyle: "preserve-3d",
|
|
4508
4508
|
transform: `rotateX(${t}deg) rotateY(${f}deg) rotateZ(${o}deg)`,
|
|
4509
4509
|
transition: r ? "none" : "transform 0.55s cubic-bezier(0.25, 0.46, 0.45, 0.94)"
|
|
4510
4510
|
},
|
|
4511
4511
|
children: [
|
|
4512
|
-
/* @__PURE__ */ e("div", { style:
|
|
4513
|
-
|
|
4512
|
+
/* @__PURE__ */ e("div", { style: ge.front, children: /* @__PURE__ */ e(
|
|
4513
|
+
Zt,
|
|
4514
4514
|
{
|
|
4515
4515
|
cfg: m,
|
|
4516
4516
|
name: s,
|
|
@@ -4520,11 +4520,11 @@ function ht({
|
|
|
4520
4520
|
compact: p
|
|
4521
4521
|
}
|
|
4522
4522
|
) }),
|
|
4523
|
-
/* @__PURE__ */ e("div", { style:
|
|
4524
|
-
/* @__PURE__ */ e("div", { style:
|
|
4525
|
-
/* @__PURE__ */ e("div", { style:
|
|
4526
|
-
/* @__PURE__ */ e("div", { style:
|
|
4527
|
-
/* @__PURE__ */ e("div", { style:
|
|
4523
|
+
/* @__PURE__ */ e("div", { style: ge.back, children: /* @__PURE__ */ e(Jt, {}) }),
|
|
4524
|
+
/* @__PURE__ */ e("div", { style: ge.left, children: /* @__PURE__ */ e(ft, { side: "left", color: m.color }) }),
|
|
4525
|
+
/* @__PURE__ */ e("div", { style: ge.right, children: /* @__PURE__ */ e(ft, { side: "right", color: m.color }) }),
|
|
4526
|
+
/* @__PURE__ */ e("div", { style: ge.top, children: /* @__PURE__ */ e(ei, { queueDepth: l, color: m.color }) }),
|
|
4527
|
+
/* @__PURE__ */ e("div", { style: ge.bottom, children: /* @__PURE__ */ e("div", { style: { width: ne, height: xe, background: "#020508" } }) })
|
|
4528
4528
|
]
|
|
4529
4529
|
}
|
|
4530
4530
|
)
|
|
@@ -4534,7 +4534,7 @@ function ht({
|
|
|
4534
4534
|
}
|
|
4535
4535
|
);
|
|
4536
4536
|
}
|
|
4537
|
-
function
|
|
4537
|
+
function Ai({
|
|
4538
4538
|
ex: t,
|
|
4539
4539
|
ey: n,
|
|
4540
4540
|
compactOffset: o,
|
|
@@ -4554,7 +4554,7 @@ function Ri({
|
|
|
4554
4554
|
alert: x
|
|
4555
4555
|
}) {
|
|
4556
4556
|
return /* @__PURE__ */ e(
|
|
4557
|
-
|
|
4557
|
+
A,
|
|
4558
4558
|
{
|
|
4559
4559
|
ex: t,
|
|
4560
4560
|
ey: n,
|
|
@@ -4576,7 +4576,7 @@ function Ri({
|
|
|
4576
4576
|
},
|
|
4577
4577
|
alert: x,
|
|
4578
4578
|
children: /* @__PURE__ */ e(
|
|
4579
|
-
|
|
4579
|
+
gt,
|
|
4580
4580
|
{
|
|
4581
4581
|
status: a,
|
|
4582
4582
|
queueDepth: p,
|
|
@@ -4587,13 +4587,13 @@ function Ri({
|
|
|
4587
4587
|
}
|
|
4588
4588
|
);
|
|
4589
4589
|
}
|
|
4590
|
-
function
|
|
4590
|
+
function O(t, n, o = 24) {
|
|
4591
4591
|
return Array.from({ length: o }, (i, r) => {
|
|
4592
4592
|
const a = r / o;
|
|
4593
4593
|
return Math.min(100, Math.max(0, t + Math.sin(a * Math.PI * 2) * n + (Math.random() - 0.5) * 10));
|
|
4594
4594
|
});
|
|
4595
4595
|
}
|
|
4596
|
-
function
|
|
4596
|
+
function ti({ data: t, color: n, height: o = 28 }) {
|
|
4597
4597
|
const r = o, a = Math.max(...t, 1), s = t.map((l, h) => {
|
|
4598
4598
|
const c = h / (t.length - 1) * 120, p = r - l / a * (r - 4) - 2;
|
|
4599
4599
|
return `${c},${p}`;
|
|
@@ -4611,7 +4611,7 @@ function Jt({ data: t, color: n, height: o = 28 }) {
|
|
|
4611
4611
|
}
|
|
4612
4612
|
) });
|
|
4613
4613
|
}
|
|
4614
|
-
function
|
|
4614
|
+
function ii({
|
|
4615
4615
|
type: t,
|
|
4616
4616
|
name: n,
|
|
4617
4617
|
context: o = {},
|
|
@@ -4619,7 +4619,7 @@ function ei({
|
|
|
4619
4619
|
animPhase: r,
|
|
4620
4620
|
series: a
|
|
4621
4621
|
}) {
|
|
4622
|
-
const s = i === "critical" || i === "offline" ? "#ff2255" : i === "warning" ? "#ff8c00" : "#00e5ff", l = a ? a.map((p) => ({ ...p })) :
|
|
4622
|
+
const s = i === "critical" || i === "offline" ? "#ff2255" : i === "warning" ? "#ff8c00" : "#00e5ff", l = a ? a.map((p) => ({ ...p })) : ni(t, o), h = r >= 0.3 ? 0 : -280, c = r >= 0.2 ? 1 : 0;
|
|
4623
4623
|
return /* @__PURE__ */ d(
|
|
4624
4624
|
"div",
|
|
4625
4625
|
{
|
|
@@ -4674,7 +4674,7 @@ function ei({
|
|
|
4674
4674
|
p.unit
|
|
4675
4675
|
] })
|
|
4676
4676
|
] }),
|
|
4677
|
-
/* @__PURE__ */ e(
|
|
4677
|
+
/* @__PURE__ */ e(ti, { data: p.data, color: p.color, height: 26 })
|
|
4678
4678
|
]
|
|
4679
4679
|
},
|
|
4680
4680
|
p.id
|
|
@@ -4683,43 +4683,43 @@ function ei({
|
|
|
4683
4683
|
}
|
|
4684
4684
|
);
|
|
4685
4685
|
}
|
|
4686
|
-
function
|
|
4686
|
+
function ni(t, n) {
|
|
4687
4687
|
if (t === "server") {
|
|
4688
4688
|
const o = n.cpuLoad ?? 50, i = n.memLoad ?? 60;
|
|
4689
4689
|
return [
|
|
4690
|
-
{ id: "cpu", label: "CPU-0", unit: "%", color: "#00e5ff", data:
|
|
4691
|
-
{ id: "cpu1", label: "CPU-1", unit: "%", color: "#00e5ff", data:
|
|
4692
|
-
{ id: "heap0", label: "HEAP-0", unit: "%", color: "#8855ee", data:
|
|
4693
|
-
{ id: "heap1", label: "HEAP-1", unit: "%", color: "#8855ee", data:
|
|
4694
|
-
{ id: "drive1", label: "DRIVE-1 I/O", unit: "%", color: "#ff8c00", data:
|
|
4695
|
-
{ id: "drive2", label: "DRIVE-2 I/O", unit: "%", color: "#ff8c00", data:
|
|
4696
|
-
{ id: "drive3", label: "DRIVE-3 I/O", unit: "%", color: "#ff8c00", data:
|
|
4697
|
-
{ id: "thread", label: "THREAD-POOL", unit: "%", color: "#22aaff", data:
|
|
4690
|
+
{ id: "cpu", label: "CPU-0", unit: "%", color: "#00e5ff", data: O(o, 15) },
|
|
4691
|
+
{ id: "cpu1", label: "CPU-1", unit: "%", color: "#00e5ff", data: O(o * 0.7, 12) },
|
|
4692
|
+
{ id: "heap0", label: "HEAP-0", unit: "%", color: "#8855ee", data: O(i, 18) },
|
|
4693
|
+
{ id: "heap1", label: "HEAP-1", unit: "%", color: "#8855ee", data: O(i * 0.85, 14) },
|
|
4694
|
+
{ id: "drive1", label: "DRIVE-1 I/O", unit: "%", color: "#ff8c00", data: O(40, 25) },
|
|
4695
|
+
{ id: "drive2", label: "DRIVE-2 I/O", unit: "%", color: "#ff8c00", data: O(35, 20) },
|
|
4696
|
+
{ id: "drive3", label: "DRIVE-3 I/O", unit: "%", color: "#ff8c00", data: O(30, 22) },
|
|
4697
|
+
{ id: "thread", label: "THREAD-POOL", unit: "%", color: "#22aaff", data: O(55, 20) }
|
|
4698
4698
|
];
|
|
4699
4699
|
}
|
|
4700
4700
|
if (t === "dispatcher" || t === "messageServer") {
|
|
4701
4701
|
const o = n.traffic ?? n.queueDepth ?? 50;
|
|
4702
4702
|
return [
|
|
4703
|
-
{ id: "traffic", label: "TRAFFIC", unit: "%", color: "#00e5ff", data:
|
|
4704
|
-
{ id: "port1", label: "PORT-1", unit: "kbps", color: "#22aaff", data:
|
|
4705
|
-
{ id: "port2", label: "PORT-2", unit: "kbps", color: "#22aaff", data:
|
|
4706
|
-
{ id: "port3", label: "PORT-3", unit: "kbps", color: "#22aaff", data:
|
|
4707
|
-
{ id: "worker", label: "WORKER", unit: "%", color: "#bb55ff", data:
|
|
4703
|
+
{ id: "traffic", label: "TRAFFIC", unit: "%", color: "#00e5ff", data: O(o, 20) },
|
|
4704
|
+
{ id: "port1", label: "PORT-1", unit: "kbps", color: "#22aaff", data: O(60, 25) },
|
|
4705
|
+
{ id: "port2", label: "PORT-2", unit: "kbps", color: "#22aaff", data: O(45, 20) },
|
|
4706
|
+
{ id: "port3", label: "PORT-3", unit: "kbps", color: "#22aaff", data: O(70, 30) },
|
|
4707
|
+
{ id: "worker", label: "WORKER", unit: "%", color: "#bb55ff", data: O(o * 0.9, 15) }
|
|
4708
4708
|
];
|
|
4709
4709
|
}
|
|
4710
4710
|
if (t === "database") {
|
|
4711
4711
|
const o = n.capacity ?? 70;
|
|
4712
4712
|
return [
|
|
4713
|
-
{ id: "platter0", label: "PLATTER-0 I/O", unit: "%", color: "#ff8c00", data:
|
|
4714
|
-
{ id: "platter1", label: "PLATTER-1 I/O", unit: "%", color: "#ff8c00", data:
|
|
4715
|
-
{ id: "platter2", label: "PLATTER-2 I/O", unit: "%", color: "#ff8c00", data:
|
|
4716
|
-
{ id: "connpool", label: "CONN-POOL", unit: "%", color: "#00e5ff", data:
|
|
4717
|
-
{ id: "cache", label: "QUERY-CACHE", unit: "%", color: "#00ff88", data:
|
|
4713
|
+
{ id: "platter0", label: "PLATTER-0 I/O", unit: "%", color: "#ff8c00", data: O(40, 20) },
|
|
4714
|
+
{ id: "platter1", label: "PLATTER-1 I/O", unit: "%", color: "#ff8c00", data: O(55, 25) },
|
|
4715
|
+
{ id: "platter2", label: "PLATTER-2 I/O", unit: "%", color: "#ff8c00", data: O(35, 18) },
|
|
4716
|
+
{ id: "connpool", label: "CONN-POOL", unit: "%", color: "#00e5ff", data: O(o, 15) },
|
|
4717
|
+
{ id: "cache", label: "QUERY-CACHE", unit: "%", color: "#00ff88", data: O(75, 12) }
|
|
4718
4718
|
];
|
|
4719
4719
|
}
|
|
4720
4720
|
return [];
|
|
4721
4721
|
}
|
|
4722
|
-
function
|
|
4722
|
+
function yt({
|
|
4723
4723
|
w: t,
|
|
4724
4724
|
h: n,
|
|
4725
4725
|
color: o,
|
|
@@ -4728,14 +4728,14 @@ function ut({
|
|
|
4728
4728
|
delay: a = "0s",
|
|
4729
4729
|
children: s
|
|
4730
4730
|
}) {
|
|
4731
|
-
const l = r ?
|
|
4731
|
+
const l = r ? k[r]?.glow ?? "rgba(0,229,255,0.4)" : "rgba(0,229,255,0.4)";
|
|
4732
4732
|
return /* @__PURE__ */ d(
|
|
4733
4733
|
"div",
|
|
4734
4734
|
{
|
|
4735
4735
|
style: {
|
|
4736
4736
|
width: t,
|
|
4737
4737
|
height: n,
|
|
4738
|
-
background:
|
|
4738
|
+
background: Re,
|
|
4739
4739
|
position: "relative",
|
|
4740
4740
|
overflow: "hidden",
|
|
4741
4741
|
borderRadius: 2,
|
|
@@ -4769,8 +4769,8 @@ function ut({
|
|
|
4769
4769
|
width: 4,
|
|
4770
4770
|
height: 4,
|
|
4771
4771
|
borderRadius: "50%",
|
|
4772
|
-
background:
|
|
4773
|
-
boxShadow: `0 0 6px ${
|
|
4772
|
+
background: k[r]?.color,
|
|
4773
|
+
boxShadow: `0 0 6px ${k[r]?.color}`,
|
|
4774
4774
|
animation: "holo-led-blink 1.2s infinite"
|
|
4775
4775
|
}
|
|
4776
4776
|
}
|
|
@@ -4812,7 +4812,7 @@ function ut({
|
|
|
4812
4812
|
}
|
|
4813
4813
|
);
|
|
4814
4814
|
}
|
|
4815
|
-
function
|
|
4815
|
+
function We({
|
|
4816
4816
|
color: t = "#00e5ff",
|
|
4817
4817
|
label: n = "CPU-0",
|
|
4818
4818
|
status: o = "online",
|
|
@@ -4825,7 +4825,7 @@ function De({
|
|
|
4825
4825
|
style: {
|
|
4826
4826
|
width: 52,
|
|
4827
4827
|
height: 36,
|
|
4828
|
-
background:
|
|
4828
|
+
background: Re,
|
|
4829
4829
|
position: "relative",
|
|
4830
4830
|
borderRadius: 2,
|
|
4831
4831
|
border: `1px solid ${t}55`,
|
|
@@ -4896,8 +4896,8 @@ function De({
|
|
|
4896
4896
|
width: 4,
|
|
4897
4897
|
height: 4,
|
|
4898
4898
|
borderRadius: "50%",
|
|
4899
|
-
background:
|
|
4900
|
-
boxShadow: `0 0 6px ${
|
|
4899
|
+
background: k[o]?.color,
|
|
4900
|
+
boxShadow: `0 0 6px ${k[o]?.color}`,
|
|
4901
4901
|
animation: "holo-led-blink 1.2s infinite"
|
|
4902
4902
|
}
|
|
4903
4903
|
}
|
|
@@ -4923,7 +4923,7 @@ function De({
|
|
|
4923
4923
|
)
|
|
4924
4924
|
] });
|
|
4925
4925
|
}
|
|
4926
|
-
function
|
|
4926
|
+
function Me({
|
|
4927
4927
|
color: t = "#00e5ff",
|
|
4928
4928
|
label: n = "HEAP-0",
|
|
4929
4929
|
status: o = "online",
|
|
@@ -4994,7 +4994,7 @@ function We({
|
|
|
4994
4994
|
width: 3,
|
|
4995
4995
|
height: 3,
|
|
4996
4996
|
borderRadius: "50%",
|
|
4997
|
-
background:
|
|
4997
|
+
background: k[o]?.color,
|
|
4998
4998
|
animation: "holo-led-blink 1.2s infinite"
|
|
4999
4999
|
}
|
|
5000
5000
|
}
|
|
@@ -5020,13 +5020,13 @@ function We({
|
|
|
5020
5020
|
)
|
|
5021
5021
|
] });
|
|
5022
5022
|
}
|
|
5023
|
-
function
|
|
5023
|
+
function ve({
|
|
5024
5024
|
color: t = "#00e5ff",
|
|
5025
5025
|
label: n = "DRIVE-1",
|
|
5026
5026
|
status: o = "online",
|
|
5027
5027
|
activity: i = !1
|
|
5028
5028
|
}) {
|
|
5029
|
-
return /* @__PURE__ */ d(
|
|
5029
|
+
return /* @__PURE__ */ d(yt, { w: 56, h: 22, color: t, label: n, status: o, children: [
|
|
5030
5030
|
/* @__PURE__ */ e(
|
|
5031
5031
|
"div",
|
|
5032
5032
|
{
|
|
@@ -5059,7 +5059,7 @@ function ye({
|
|
|
5059
5059
|
)
|
|
5060
5060
|
] });
|
|
5061
5061
|
}
|
|
5062
|
-
function
|
|
5062
|
+
function mt({
|
|
5063
5063
|
color: t = "#00e5ff",
|
|
5064
5064
|
label: n = "NET",
|
|
5065
5065
|
status: o = "online"
|
|
@@ -5070,7 +5070,7 @@ function bt({
|
|
|
5070
5070
|
style: {
|
|
5071
5071
|
width: 48,
|
|
5072
5072
|
height: 28,
|
|
5073
|
-
background:
|
|
5073
|
+
background: Re,
|
|
5074
5074
|
position: "relative",
|
|
5075
5075
|
borderRadius: 2,
|
|
5076
5076
|
border: `1px solid ${t}44`,
|
|
@@ -5123,14 +5123,14 @@ function bt({
|
|
|
5123
5123
|
}
|
|
5124
5124
|
);
|
|
5125
5125
|
}
|
|
5126
|
-
function
|
|
5126
|
+
function M({
|
|
5127
5127
|
color: t = "#00e5ff",
|
|
5128
5128
|
label: n = "THREAD",
|
|
5129
5129
|
status: o = "online"
|
|
5130
5130
|
}) {
|
|
5131
|
-
return /* @__PURE__ */ e(
|
|
5131
|
+
return /* @__PURE__ */ e(yt, { w: 44, h: 28, color: t, label: n, status: o });
|
|
5132
5132
|
}
|
|
5133
|
-
function
|
|
5133
|
+
function Ne({
|
|
5134
5134
|
color: t = "#ff8c00",
|
|
5135
5135
|
label: n = "PLATTER-0",
|
|
5136
5136
|
status: o = "online",
|
|
@@ -5188,7 +5188,7 @@ function Oe({
|
|
|
5188
5188
|
width: 4,
|
|
5189
5189
|
height: 4,
|
|
5190
5190
|
borderRadius: "50%",
|
|
5191
|
-
background:
|
|
5191
|
+
background: k[o]?.color,
|
|
5192
5192
|
animation: "holo-led-blink 1.2s infinite"
|
|
5193
5193
|
}
|
|
5194
5194
|
}
|
|
@@ -5214,7 +5214,7 @@ function Oe({
|
|
|
5214
5214
|
)
|
|
5215
5215
|
] });
|
|
5216
5216
|
}
|
|
5217
|
-
function
|
|
5217
|
+
function H({
|
|
5218
5218
|
color: t = "#00e5ff",
|
|
5219
5219
|
label: n = "PORT-1",
|
|
5220
5220
|
status: o = "online"
|
|
@@ -5243,7 +5243,7 @@ function B({
|
|
|
5243
5243
|
width: 4,
|
|
5244
5244
|
height: 4,
|
|
5245
5245
|
borderRadius: "50%",
|
|
5246
|
-
background: o && o !== "online" ?
|
|
5246
|
+
background: o && o !== "online" ? k[o]?.color ?? t : t,
|
|
5247
5247
|
boxShadow: `0 0 4px ${t}`,
|
|
5248
5248
|
animation: o && o !== "online" && o !== "offline" ? "holo-led-blink 1s infinite" : "none"
|
|
5249
5249
|
}
|
|
@@ -5284,7 +5284,7 @@ function B({
|
|
|
5284
5284
|
}
|
|
5285
5285
|
);
|
|
5286
5286
|
}
|
|
5287
|
-
function
|
|
5287
|
+
function oi(t, n, o, i) {
|
|
5288
5288
|
const r = o === "online" ? "online" : o;
|
|
5289
5289
|
return t === "server" ? [
|
|
5290
5290
|
{
|
|
@@ -5388,8 +5388,8 @@ function ii(t, n, o, i) {
|
|
|
5388
5388
|
}
|
|
5389
5389
|
] : [];
|
|
5390
5390
|
}
|
|
5391
|
-
const
|
|
5392
|
-
function
|
|
5391
|
+
const D = "cubic-bezier(0.34, 1.56, 0.64, 1)", ri = "cubic-bezier(0.16, 1, 0.3, 1)";
|
|
5392
|
+
function ai({ items: t, revealPhase: n }) {
|
|
5393
5393
|
return /* @__PURE__ */ e(
|
|
5394
5394
|
"div",
|
|
5395
5395
|
{
|
|
@@ -5407,7 +5407,7 @@ function oi({ items: t, revealPhase: n }) {
|
|
|
5407
5407
|
style: {
|
|
5408
5408
|
opacity: n >= 0.2 + i * 0.06 ? 1 : 0,
|
|
5409
5409
|
transform: `scale(${n >= 0.2 + i * 0.06 ? 1 : 0.6})`,
|
|
5410
|
-
transition: `opacity 0.4s ${
|
|
5410
|
+
transition: `opacity 0.4s ${D} ${i * 0.06}s, transform 0.45s ${D} ${i * 0.06}s`
|
|
5411
5411
|
},
|
|
5412
5412
|
children: o.element
|
|
5413
5413
|
},
|
|
@@ -5416,21 +5416,21 @@ function oi({ items: t, revealPhase: n }) {
|
|
|
5416
5416
|
}
|
|
5417
5417
|
);
|
|
5418
5418
|
}
|
|
5419
|
-
function
|
|
5419
|
+
function li({
|
|
5420
5420
|
type: t,
|
|
5421
5421
|
status: n,
|
|
5422
5422
|
context: o,
|
|
5423
5423
|
internal: i,
|
|
5424
5424
|
revealPhase: r
|
|
5425
5425
|
}) {
|
|
5426
|
-
const a =
|
|
5426
|
+
const a = k[n]?.color ?? k.online.color, s = "#ff8c00";
|
|
5427
5427
|
if (t === "server") {
|
|
5428
5428
|
const l = o.cpuLoad ?? 50, h = o.memLoad ?? 60, c = [
|
|
5429
5429
|
{
|
|
5430
5430
|
key: "cpu0",
|
|
5431
5431
|
delay: 0,
|
|
5432
5432
|
el: /* @__PURE__ */ e(
|
|
5433
|
-
|
|
5433
|
+
We,
|
|
5434
5434
|
{
|
|
5435
5435
|
color: a,
|
|
5436
5436
|
label: "CPU-0",
|
|
@@ -5444,7 +5444,7 @@ function ri({
|
|
|
5444
5444
|
key: "cpu1",
|
|
5445
5445
|
delay: 1,
|
|
5446
5446
|
el: /* @__PURE__ */ e(
|
|
5447
|
-
|
|
5447
|
+
We,
|
|
5448
5448
|
{
|
|
5449
5449
|
color: a,
|
|
5450
5450
|
label: "CPU-1",
|
|
@@ -5458,7 +5458,7 @@ function ri({
|
|
|
5458
5458
|
key: "heap0",
|
|
5459
5459
|
delay: 2,
|
|
5460
5460
|
el: /* @__PURE__ */ e(
|
|
5461
|
-
|
|
5461
|
+
Me,
|
|
5462
5462
|
{
|
|
5463
5463
|
color: "#8855ee",
|
|
5464
5464
|
label: "HEAP-0",
|
|
@@ -5472,7 +5472,7 @@ function ri({
|
|
|
5472
5472
|
key: "heap1",
|
|
5473
5473
|
delay: 3,
|
|
5474
5474
|
el: /* @__PURE__ */ e(
|
|
5475
|
-
|
|
5475
|
+
Me,
|
|
5476
5476
|
{
|
|
5477
5477
|
color: "#8855ee",
|
|
5478
5478
|
label: "HEAP-1",
|
|
@@ -5485,13 +5485,13 @@ function ri({
|
|
|
5485
5485
|
{
|
|
5486
5486
|
key: "d1",
|
|
5487
5487
|
delay: 4,
|
|
5488
|
-
el: /* @__PURE__ */ e(
|
|
5488
|
+
el: /* @__PURE__ */ e(ve, { color: a, label: "DRIVE-1", status: i[4]?.status, activity: !0 })
|
|
5489
5489
|
},
|
|
5490
5490
|
{
|
|
5491
5491
|
key: "d2",
|
|
5492
5492
|
delay: 5,
|
|
5493
5493
|
el: /* @__PURE__ */ e(
|
|
5494
|
-
|
|
5494
|
+
ve,
|
|
5495
5495
|
{
|
|
5496
5496
|
color: a,
|
|
5497
5497
|
label: "DRIVE-2",
|
|
@@ -5504,7 +5504,7 @@ function ri({
|
|
|
5504
5504
|
key: "d3",
|
|
5505
5505
|
delay: 6,
|
|
5506
5506
|
el: /* @__PURE__ */ e(
|
|
5507
|
-
|
|
5507
|
+
ve,
|
|
5508
5508
|
{
|
|
5509
5509
|
color: a,
|
|
5510
5510
|
label: "DRIVE-3",
|
|
@@ -5516,12 +5516,12 @@ function ri({
|
|
|
5516
5516
|
{
|
|
5517
5517
|
key: "thread",
|
|
5518
5518
|
delay: 7,
|
|
5519
|
-
el: /* @__PURE__ */ e(
|
|
5519
|
+
el: /* @__PURE__ */ e(M, { color: a, label: "THREAD-POOL", status: i[7]?.status })
|
|
5520
5520
|
},
|
|
5521
5521
|
{
|
|
5522
5522
|
key: "net",
|
|
5523
5523
|
delay: 8,
|
|
5524
|
-
el: /* @__PURE__ */ e(
|
|
5524
|
+
el: /* @__PURE__ */ e(mt, { color: a, label: "NET", status: i[8]?.status })
|
|
5525
5525
|
}
|
|
5526
5526
|
];
|
|
5527
5527
|
return /* @__PURE__ */ e(
|
|
@@ -5541,7 +5541,7 @@ function ri({
|
|
|
5541
5541
|
style: {
|
|
5542
5542
|
opacity: r >= 0.2 + f * 0.08 ? 1 : 0,
|
|
5543
5543
|
transform: `scale(${r >= 0.2 + f * 0.08 ? 1 : 0.6})`,
|
|
5544
|
-
transition: `opacity 0.4s ${
|
|
5544
|
+
transition: `opacity 0.4s ${D} ${f * 0.06}s, transform 0.45s ${D} ${f * 0.06}s`
|
|
5545
5545
|
},
|
|
5546
5546
|
children: g
|
|
5547
5547
|
},
|
|
@@ -5559,9 +5559,9 @@ function ri({
|
|
|
5559
5559
|
style: {
|
|
5560
5560
|
opacity: r >= 0.25 + c * 0.04 ? 1 : 0,
|
|
5561
5561
|
transform: `scale(${r >= 0.25 + c * 0.04 ? 1 : 0.5})`,
|
|
5562
|
-
transition: `opacity 0.35s ${
|
|
5562
|
+
transition: `opacity 0.35s ${D} ${c * 0.04}s, transform 0.4s ${D} ${c * 0.04}s`
|
|
5563
5563
|
},
|
|
5564
|
-
children: /* @__PURE__ */ e(
|
|
5564
|
+
children: /* @__PURE__ */ e(H, { color: a, label: `PORT-${c + 1}`, status: p?.status })
|
|
5565
5565
|
},
|
|
5566
5566
|
`p${c}`
|
|
5567
5567
|
);
|
|
@@ -5585,9 +5585,9 @@ function ri({
|
|
|
5585
5585
|
style: {
|
|
5586
5586
|
opacity: r >= 0.7 ? 1 : 0,
|
|
5587
5587
|
transform: `scale(${r >= 0.7 ? 1 : 0.6})`,
|
|
5588
|
-
transition: `all 0.4s ${
|
|
5588
|
+
transition: `all 0.4s ${D} 0.3s`
|
|
5589
5589
|
},
|
|
5590
|
-
children: /* @__PURE__ */ e(
|
|
5590
|
+
children: /* @__PURE__ */ e(M, { color: a, label: "HTTP-WORKER", status: i[8]?.status })
|
|
5591
5591
|
}
|
|
5592
5592
|
),
|
|
5593
5593
|
/* @__PURE__ */ e(
|
|
@@ -5596,9 +5596,9 @@ function ri({
|
|
|
5596
5596
|
style: {
|
|
5597
5597
|
opacity: r >= 0.8 ? 1 : 0,
|
|
5598
5598
|
transform: `scale(${r >= 0.8 ? 1 : 0.6})`,
|
|
5599
|
-
transition: `all 0.4s ${
|
|
5599
|
+
transition: `all 0.4s ${D} 0.4s`
|
|
5600
5600
|
},
|
|
5601
|
-
children: /* @__PURE__ */ e(
|
|
5601
|
+
children: /* @__PURE__ */ e(M, { color: "#bb55ff", label: "HTTPS-WORKER", status: i[9]?.status })
|
|
5602
5602
|
}
|
|
5603
5603
|
)
|
|
5604
5604
|
] })
|
|
@@ -5625,9 +5625,9 @@ function ri({
|
|
|
5625
5625
|
style: {
|
|
5626
5626
|
opacity: r >= 0.25 + l * 0.1 ? 1 : 0,
|
|
5627
5627
|
transform: `scale(${r >= 0.25 + l * 0.1 ? 1 : 0.6})`,
|
|
5628
|
-
transition: `all 0.4s ${
|
|
5628
|
+
transition: `all 0.4s ${D} ${l * 0.08}s`
|
|
5629
5629
|
},
|
|
5630
|
-
children: /* @__PURE__ */ e(
|
|
5630
|
+
children: /* @__PURE__ */ e(H, { color: "#bb55ff", label: `INST-${l}`, status: i[l]?.status })
|
|
5631
5631
|
},
|
|
5632
5632
|
l
|
|
5633
5633
|
)),
|
|
@@ -5637,9 +5637,9 @@ function ri({
|
|
|
5637
5637
|
style: {
|
|
5638
5638
|
opacity: r >= 0.6 ? 1 : 0,
|
|
5639
5639
|
transform: `scale(${r >= 0.6 ? 1 : 0.6})`,
|
|
5640
|
-
transition: `all 0.4s ${
|
|
5640
|
+
transition: `all 0.4s ${D} 0.25s`
|
|
5641
5641
|
},
|
|
5642
|
-
children: /* @__PURE__ */ e(
|
|
5642
|
+
children: /* @__PURE__ */ e(M, { color: "#bb55ff", label: "QUEUE-0", status: i[3]?.status })
|
|
5643
5643
|
}
|
|
5644
5644
|
),
|
|
5645
5645
|
[4, 5, 6].map((l) => /* @__PURE__ */ e(
|
|
@@ -5648,10 +5648,10 @@ function ri({
|
|
|
5648
5648
|
style: {
|
|
5649
5649
|
opacity: r >= 0.7 + (l - 4) * 0.08 ? 1 : 0,
|
|
5650
5650
|
transform: `scale(${r >= 0.7 ? 1 : 0.6})`,
|
|
5651
|
-
transition: `all 0.4s ${
|
|
5651
|
+
transition: `all 0.4s ${D} ${0.35 + (l - 4) * 0.05}s`
|
|
5652
5652
|
},
|
|
5653
5653
|
children: /* @__PURE__ */ e(
|
|
5654
|
-
|
|
5654
|
+
M,
|
|
5655
5655
|
{
|
|
5656
5656
|
color: "#bb55ff",
|
|
5657
5657
|
label: `WORKER-${l - 3}`,
|
|
@@ -5684,10 +5684,10 @@ function ri({
|
|
|
5684
5684
|
style: {
|
|
5685
5685
|
opacity: r >= 0.2 + h * 0.12 ? 1 : 0,
|
|
5686
5686
|
transform: `scale(${r >= 0.2 + h * 0.12 ? 1 : 0.5})`,
|
|
5687
|
-
transition: `all 0.45s ${
|
|
5687
|
+
transition: `all 0.45s ${D} ${h * 0.1}s`
|
|
5688
5688
|
},
|
|
5689
5689
|
children: /* @__PURE__ */ e(
|
|
5690
|
-
|
|
5690
|
+
Ne,
|
|
5691
5691
|
{
|
|
5692
5692
|
color: s,
|
|
5693
5693
|
label: `PLATTER-${h}`,
|
|
@@ -5704,9 +5704,9 @@ function ri({
|
|
|
5704
5704
|
style: {
|
|
5705
5705
|
opacity: r >= 0.6 ? 1 : 0,
|
|
5706
5706
|
transform: `scale(${r >= 0.6 ? 1 : 0.6})`,
|
|
5707
|
-
transition: `all 0.4s ${
|
|
5707
|
+
transition: `all 0.4s ${D} 0.3s`
|
|
5708
5708
|
},
|
|
5709
|
-
children: /* @__PURE__ */ e(
|
|
5709
|
+
children: /* @__PURE__ */ e(M, { color: s, label: "CONN-POOL", status: i[3]?.status })
|
|
5710
5710
|
}
|
|
5711
5711
|
),
|
|
5712
5712
|
/* @__PURE__ */ e(
|
|
@@ -5715,9 +5715,9 @@ function ri({
|
|
|
5715
5715
|
style: {
|
|
5716
5716
|
opacity: r >= 0.75 ? 1 : 0,
|
|
5717
5717
|
transform: `scale(${r >= 0.75 ? 1 : 0.6})`,
|
|
5718
|
-
transition: `all 0.4s ${
|
|
5718
|
+
transition: `all 0.4s ${D} 0.4s`
|
|
5719
5719
|
},
|
|
5720
|
-
children: /* @__PURE__ */ e(
|
|
5720
|
+
children: /* @__PURE__ */ e(M, { color: "#00ff88", label: "QUERY-CACHE", status: i[4]?.status })
|
|
5721
5721
|
}
|
|
5722
5722
|
)
|
|
5723
5723
|
]
|
|
@@ -5726,7 +5726,7 @@ function ri({
|
|
|
5726
5726
|
}
|
|
5727
5727
|
return null;
|
|
5728
5728
|
}
|
|
5729
|
-
function
|
|
5729
|
+
function Ii({
|
|
5730
5730
|
type: t,
|
|
5731
5731
|
name: n,
|
|
5732
5732
|
status: o,
|
|
@@ -5736,7 +5736,7 @@ function Pi({
|
|
|
5736
5736
|
subComponents: s,
|
|
5737
5737
|
graphSeries: l
|
|
5738
5738
|
}) {
|
|
5739
|
-
const h =
|
|
5739
|
+
const h = oi(t, n, o, a), c = k[o]?.color ?? k.online.color, p = r >= 0.1 ? 1 : r * 10, f = r >= 0.2 ? "-50%" : "0%", g = r >= 0.2 ? "50%" : "0%", u = r >= 0.25 ? Math.min(1, (r - 0.25) * 1.5) : 0;
|
|
5740
5740
|
return /* @__PURE__ */ d(
|
|
5741
5741
|
"div",
|
|
5742
5742
|
{
|
|
@@ -5760,13 +5760,13 @@ function Pi({
|
|
|
5760
5760
|
backdropFilter: "blur(10px)",
|
|
5761
5761
|
WebkitBackdropFilter: "blur(10px)",
|
|
5762
5762
|
opacity: p,
|
|
5763
|
-
transition: `opacity 0.4s ${
|
|
5763
|
+
transition: `opacity 0.4s ${ri}`
|
|
5764
5764
|
},
|
|
5765
5765
|
onClick: i
|
|
5766
5766
|
}
|
|
5767
5767
|
),
|
|
5768
5768
|
/* @__PURE__ */ e(
|
|
5769
|
-
|
|
5769
|
+
ii,
|
|
5770
5770
|
{
|
|
5771
5771
|
type: t,
|
|
5772
5772
|
name: n,
|
|
@@ -5810,7 +5810,7 @@ function Pi({
|
|
|
5810
5810
|
borderRight: `2px solid ${c}44`,
|
|
5811
5811
|
boxShadow: "4px 0 32px rgba(0,0,0,0.6)",
|
|
5812
5812
|
transform: `translateX(${f})`,
|
|
5813
|
-
transition: `transform 0.7s ${
|
|
5813
|
+
transition: `transform 0.7s ${D}`
|
|
5814
5814
|
}
|
|
5815
5815
|
}
|
|
5816
5816
|
),
|
|
@@ -5825,7 +5825,7 @@ function Pi({
|
|
|
5825
5825
|
borderLeft: `2px solid ${c}44`,
|
|
5826
5826
|
boxShadow: "-4px 0 32px rgba(0,0,0,0.6)",
|
|
5827
5827
|
transform: `translateX(${g})`,
|
|
5828
|
-
transition: `transform 0.7s ${
|
|
5828
|
+
transition: `transform 0.7s ${D}`
|
|
5829
5829
|
}
|
|
5830
5830
|
}
|
|
5831
5831
|
)
|
|
@@ -5848,7 +5848,7 @@ function Pi({
|
|
|
5848
5848
|
display: "flex",
|
|
5849
5849
|
flexDirection: "column",
|
|
5850
5850
|
opacity: u >= 0.1 ? 1 : 0,
|
|
5851
|
-
transition: `opacity 0.5s ${
|
|
5851
|
+
transition: `opacity 0.5s ${D} 0.2s`
|
|
5852
5852
|
},
|
|
5853
5853
|
children: [
|
|
5854
5854
|
/* @__PURE__ */ d(
|
|
@@ -5936,8 +5936,8 @@ function Pi({
|
|
|
5936
5936
|
}
|
|
5937
5937
|
}
|
|
5938
5938
|
),
|
|
5939
|
-
/* @__PURE__ */ e("div", { style: { flex: 1, padding: "8px 0 24px" }, children: s ? /* @__PURE__ */ e(
|
|
5940
|
-
|
|
5939
|
+
/* @__PURE__ */ e("div", { style: { flex: 1, padding: "8px 0 24px" }, children: s ? /* @__PURE__ */ e(ai, { items: s, revealPhase: u }) : /* @__PURE__ */ e(
|
|
5940
|
+
li,
|
|
5941
5941
|
{
|
|
5942
5942
|
type: t,
|
|
5943
5943
|
name: n,
|
|
@@ -5957,7 +5957,159 @@ function Pi({
|
|
|
5957
5957
|
}
|
|
5958
5958
|
);
|
|
5959
5959
|
}
|
|
5960
|
-
function
|
|
5960
|
+
function si({ onSubmit: t }) {
|
|
5961
|
+
const [n, o] = $(""), [i, r] = $(""), [a, s] = $(null), [l, h] = $(!1), c = n.trim().length > 0 && i.trim().length > 0;
|
|
5962
|
+
return /* @__PURE__ */ e("div", { className: "cred-overlay", children: /* @__PURE__ */ d("form", { className: "cred-panel", onSubmit: (f) => {
|
|
5963
|
+
f.preventDefault(), c && t({ accessKey: n.trim(), secretKey: i.trim() });
|
|
5964
|
+
}, onClick: (f) => f.stopPropagation(), children: [
|
|
5965
|
+
/* @__PURE__ */ e("div", { className: "cred-scanline" }),
|
|
5966
|
+
/* @__PURE__ */ e("span", { className: "cred-corner cred-corner--tl" }),
|
|
5967
|
+
/* @__PURE__ */ e("span", { className: "cred-corner cred-corner--tr" }),
|
|
5968
|
+
/* @__PURE__ */ e("span", { className: "cred-corner cred-corner--bl" }),
|
|
5969
|
+
/* @__PURE__ */ e("span", { className: "cred-corner cred-corner--br" }),
|
|
5970
|
+
/* @__PURE__ */ e("div", { className: "cred-icon", children: /* @__PURE__ */ d("svg", { width: "32", height: "32", viewBox: "0 0 24 24", fill: "none", stroke: "#00e5ff", strokeWidth: "1.5", children: [
|
|
5971
|
+
/* @__PURE__ */ e("rect", { x: "5", y: "11", width: "14", height: "10", rx: "2" }),
|
|
5972
|
+
/* @__PURE__ */ e("path", { d: "M8 11V7a4 4 0 118 0v4" })
|
|
5973
|
+
] }) }),
|
|
5974
|
+
/* @__PURE__ */ e("div", { className: "cred-title", children: "DATA SOURCE ACCESS" }),
|
|
5975
|
+
/* @__PURE__ */ e("div", { className: "cred-subtitle", children: "AUTHENTICATION REQUIRED" }),
|
|
5976
|
+
/* @__PURE__ */ d("div", { className: "cred-field", children: [
|
|
5977
|
+
/* @__PURE__ */ e("label", { className: "cred-label", children: "ACCESS KEY" }),
|
|
5978
|
+
/* @__PURE__ */ e(
|
|
5979
|
+
"input",
|
|
5980
|
+
{
|
|
5981
|
+
className: "cred-input",
|
|
5982
|
+
type: "text",
|
|
5983
|
+
value: n,
|
|
5984
|
+
onChange: (f) => o(f.target.value),
|
|
5985
|
+
onFocus: () => s("access"),
|
|
5986
|
+
onBlur: () => s(null),
|
|
5987
|
+
placeholder: "Enter access key",
|
|
5988
|
+
autoFocus: !0,
|
|
5989
|
+
style: a === "access" ? {
|
|
5990
|
+
borderColor: "#00e5ff",
|
|
5991
|
+
boxShadow: "0 0 12px rgba(0,229,255,0.25), inset 0 0 8px rgba(0,229,255,0.06)"
|
|
5992
|
+
} : void 0
|
|
5993
|
+
}
|
|
5994
|
+
)
|
|
5995
|
+
] }),
|
|
5996
|
+
/* @__PURE__ */ d("div", { className: "cred-field", children: [
|
|
5997
|
+
/* @__PURE__ */ e("label", { className: "cred-label", children: "SECRET KEY" }),
|
|
5998
|
+
/* @__PURE__ */ e(
|
|
5999
|
+
"input",
|
|
6000
|
+
{
|
|
6001
|
+
className: "cred-input",
|
|
6002
|
+
type: "password",
|
|
6003
|
+
value: i,
|
|
6004
|
+
onChange: (f) => r(f.target.value),
|
|
6005
|
+
onFocus: () => s("secret"),
|
|
6006
|
+
onBlur: () => s(null),
|
|
6007
|
+
placeholder: "Enter secret key",
|
|
6008
|
+
style: a === "secret" ? {
|
|
6009
|
+
borderColor: "#00e5ff",
|
|
6010
|
+
boxShadow: "0 0 12px rgba(0,229,255,0.25), inset 0 0 8px rgba(0,229,255,0.06)"
|
|
6011
|
+
} : void 0
|
|
6012
|
+
}
|
|
6013
|
+
)
|
|
6014
|
+
] }),
|
|
6015
|
+
/* @__PURE__ */ d(
|
|
6016
|
+
"button",
|
|
6017
|
+
{
|
|
6018
|
+
className: "cred-btn",
|
|
6019
|
+
type: "submit",
|
|
6020
|
+
disabled: !c,
|
|
6021
|
+
onMouseEnter: () => h(!0),
|
|
6022
|
+
onMouseLeave: () => h(!1),
|
|
6023
|
+
style: {
|
|
6024
|
+
opacity: c ? 1 : 0.35,
|
|
6025
|
+
cursor: c ? "pointer" : "not-allowed",
|
|
6026
|
+
...l && c ? {
|
|
6027
|
+
background: "rgba(0,229,255,0.12)",
|
|
6028
|
+
boxShadow: "0 0 20px rgba(0,229,255,0.3), inset 0 0 12px rgba(0,229,255,0.08)"
|
|
6029
|
+
} : {}
|
|
6030
|
+
},
|
|
6031
|
+
children: [
|
|
6032
|
+
/* @__PURE__ */ e("span", { className: "cred-btn-glow" }),
|
|
6033
|
+
"CONNECT"
|
|
6034
|
+
]
|
|
6035
|
+
}
|
|
6036
|
+
),
|
|
6037
|
+
/* @__PURE__ */ e("div", { className: "cred-footer", children: "CREDENTIALS ARE STORED IN MEMORY ONLY" })
|
|
6038
|
+
] }) });
|
|
6039
|
+
}
|
|
6040
|
+
const xt = Fe(null);
|
|
6041
|
+
function di() {
|
|
6042
|
+
const t = de(xt);
|
|
6043
|
+
if (!t) throw new Error("useAIOpsData must be used within an AIOPsDashboard with dataEndpoint configured");
|
|
6044
|
+
return t;
|
|
6045
|
+
}
|
|
6046
|
+
function Oi(t) {
|
|
6047
|
+
const { data: n } = di();
|
|
6048
|
+
return n[t] ?? null;
|
|
6049
|
+
}
|
|
6050
|
+
function ci({ config: t, children: n, onRefreshStatusChange: o }) {
|
|
6051
|
+
const [i, r] = $({}), [a, s] = $(null), [l, h] = $(!1), [c, p] = $(null), [f, g] = $(null), u = V(t);
|
|
6052
|
+
u.current = t;
|
|
6053
|
+
const y = V(o);
|
|
6054
|
+
y.current = o;
|
|
6055
|
+
const m = V(a);
|
|
6056
|
+
m.current = a;
|
|
6057
|
+
const x = at(async () => {
|
|
6058
|
+
const b = m.current, S = u.current;
|
|
6059
|
+
if (b) {
|
|
6060
|
+
h(!0);
|
|
6061
|
+
try {
|
|
6062
|
+
const C = Object.entries(S.queries), w = await Promise.allSettled(
|
|
6063
|
+
C.map(([L, F]) => {
|
|
6064
|
+
const G = S.endpoint.includes("?") ? "&" : "?", K = `${S.endpoint}${G}query=${encodeURIComponent(F)}`;
|
|
6065
|
+
return fetch(K, {
|
|
6066
|
+
method: "GET",
|
|
6067
|
+
headers: {
|
|
6068
|
+
"access-key": b.accessKey,
|
|
6069
|
+
"access-secret-key": b.secretKey
|
|
6070
|
+
}
|
|
6071
|
+
}).then((R) => {
|
|
6072
|
+
if (!R.ok) throw new Error(`HTTP ${R.status}`);
|
|
6073
|
+
return R.json();
|
|
6074
|
+
}).then((R) => ({ key: L, data: R }));
|
|
6075
|
+
})
|
|
6076
|
+
), T = {};
|
|
6077
|
+
let I = 0;
|
|
6078
|
+
for (const L of w)
|
|
6079
|
+
L.status === "fulfilled" ? T[L.value.key] = L.value.data : I++;
|
|
6080
|
+
r((L) => ({ ...L, ...T }));
|
|
6081
|
+
const z = I > 0 ? `${I} of ${C.length} queries failed to refresh` : null;
|
|
6082
|
+
p(z), y.current?.(z), I < C.length && g(/* @__PURE__ */ new Date());
|
|
6083
|
+
} catch (C) {
|
|
6084
|
+
const w = C instanceof Error ? C.message : "Refresh failed";
|
|
6085
|
+
p(w), y.current?.(w);
|
|
6086
|
+
} finally {
|
|
6087
|
+
h(!1);
|
|
6088
|
+
}
|
|
6089
|
+
}
|
|
6090
|
+
}, []);
|
|
6091
|
+
ke(() => {
|
|
6092
|
+
if (!a) return;
|
|
6093
|
+
x();
|
|
6094
|
+
const b = u.current.refreshInterval ?? 6e4, S = window.setInterval(x, b);
|
|
6095
|
+
return () => clearInterval(S);
|
|
6096
|
+
}, [a, x]);
|
|
6097
|
+
const v = at((b) => {
|
|
6098
|
+
s(b);
|
|
6099
|
+
}, []), P = {
|
|
6100
|
+
data: i,
|
|
6101
|
+
isRefreshing: l,
|
|
6102
|
+
lastRefreshError: c,
|
|
6103
|
+
lastRefreshTime: f,
|
|
6104
|
+
credentialsSet: !!a,
|
|
6105
|
+
setCredentials: v
|
|
6106
|
+
};
|
|
6107
|
+
return /* @__PURE__ */ d(xt.Provider, { value: P, children: [
|
|
6108
|
+
n,
|
|
6109
|
+
!a && /* @__PURE__ */ e(si, { onSubmit: v })
|
|
6110
|
+
] });
|
|
6111
|
+
}
|
|
6112
|
+
function Li({
|
|
5961
6113
|
brandName: t = "BUSAUD AIOps",
|
|
5962
6114
|
brandTag: n = "3D MONITOR",
|
|
5963
6115
|
services: o = [],
|
|
@@ -5965,31 +6117,33 @@ function Ci({
|
|
|
5965
6117
|
logoUrl: r,
|
|
5966
6118
|
carouselSpeed: a = 6e-3,
|
|
5967
6119
|
fontFamily: s,
|
|
5968
|
-
|
|
6120
|
+
dataEndpoint: l,
|
|
6121
|
+
dataQueries: h,
|
|
6122
|
+
dataRefreshInterval: c,
|
|
6123
|
+
children: p
|
|
5969
6124
|
}) {
|
|
5970
|
-
const [
|
|
5971
|
-
|
|
5972
|
-
|
|
6125
|
+
const [f] = $(20), [g] = $(!1), [u] = $(!0), [y] = $(0.45), [m] = $(3.3), [x, v] = $("compact"), [P, b] = $(0), [S, C] = $(null), [w, T] = $(null), [I, z] = $(0), L = (N) => {
|
|
6126
|
+
x === "compact" && (C(N), v("expanding"), b(0), setTimeout(() => b(1), 50), setTimeout(() => b(2), 800), setTimeout(() => b(3), 1200), setTimeout(() => b(4), 1600), setTimeout(() => b(5), 2e3), setTimeout(() => {
|
|
6127
|
+
b(6), v("expanded");
|
|
5973
6128
|
}, 2400));
|
|
5974
|
-
},
|
|
5975
|
-
|
|
5976
|
-
|
|
6129
|
+
}, F = () => {
|
|
6130
|
+
w ? (T(null), z(0)) : x === "expanded" && (v("collapsing"), b(0), C(null), setTimeout(() => {
|
|
6131
|
+
v((N) => N === "collapsing" ? "compact" : N);
|
|
5977
6132
|
}, 1e3));
|
|
5978
|
-
},
|
|
5979
|
-
|
|
6133
|
+
}, G = (N) => {
|
|
6134
|
+
T(N), z(0);
|
|
5980
6135
|
};
|
|
5981
|
-
|
|
5982
|
-
if (!
|
|
5983
|
-
const
|
|
5984
|
-
const
|
|
5985
|
-
|
|
5986
|
-
},
|
|
5987
|
-
return () => cancelAnimationFrame(
|
|
5988
|
-
}, [
|
|
5989
|
-
const
|
|
5990
|
-
|
|
5991
|
-
},
|
|
5992
|
-
return /* @__PURE__ */ d("div", { className: "app", style: s ? { fontFamily: s } : void 0, children: [
|
|
6136
|
+
re.useEffect(() => {
|
|
6137
|
+
if (!w) return;
|
|
6138
|
+
const N = performance.now(), J = 1200, Oe = () => {
|
|
6139
|
+
const Ue = performance.now() - N, ee = Math.min(1, Ue / J);
|
|
6140
|
+
z(ee), ee < 1 && requestAnimationFrame(Oe);
|
|
6141
|
+
}, Te = requestAnimationFrame(Oe);
|
|
6142
|
+
return () => cancelAnimationFrame(Te);
|
|
6143
|
+
}, [w]);
|
|
6144
|
+
const K = () => {
|
|
6145
|
+
T(null), z(0);
|
|
6146
|
+
}, R = o.find((N) => N.name === S), U = R?.status ?? "online", ae = R?.dbSync ?? !0, Pe = R?.metrics, Ce = R?.alerts, [X, B] = $(null), Q = 330, Ee = 340, pe = w ? 1.15 : 1, fe = w ? -(w.ex - Q) * 0.06 : 0, He = w ? -(w.ey - Ee) * 0.06 : 0, Ie = /* @__PURE__ */ d("div", { className: "app", style: s ? { fontFamily: s } : void 0, children: [
|
|
5993
6147
|
/* @__PURE__ */ e(
|
|
5994
6148
|
"div",
|
|
5995
6149
|
{
|
|
@@ -6003,7 +6157,7 @@ function Ci({
|
|
|
6003
6157
|
backgroundPosition: "center center",
|
|
6004
6158
|
backgroundRepeat: "no-repeat",
|
|
6005
6159
|
transition: "transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1)",
|
|
6006
|
-
transform: `translate(${
|
|
6160
|
+
transform: `translate(${fe}px, ${He}px) scale(${pe})`,
|
|
6007
6161
|
willChange: "transform"
|
|
6008
6162
|
}
|
|
6009
6163
|
}
|
|
@@ -6013,150 +6167,168 @@ function Ci({
|
|
|
6013
6167
|
/* @__PURE__ */ e("span", { className: "brand-pulse" }),
|
|
6014
6168
|
/* @__PURE__ */ e("span", { className: "brand-text", children: t })
|
|
6015
6169
|
] }),
|
|
6016
|
-
/* @__PURE__ */
|
|
6170
|
+
/* @__PURE__ */ d("div", { className: "hdr-right", children: [
|
|
6171
|
+
X && /* @__PURE__ */ d("div", { className: "hdr-refresh-error", children: [
|
|
6172
|
+
/* @__PURE__ */ e("span", { className: "refresh-error-dot" }),
|
|
6173
|
+
/* @__PURE__ */ e("span", { className: "refresh-error-text", children: "DATA REFRESH FAILED" })
|
|
6174
|
+
] }),
|
|
6175
|
+
/* @__PURE__ */ e("span", { className: "hdr-tag", children: n })
|
|
6176
|
+
] })
|
|
6017
6177
|
] }),
|
|
6018
6178
|
/* @__PURE__ */ e(
|
|
6019
6179
|
"main",
|
|
6020
6180
|
{
|
|
6021
6181
|
className: "scene",
|
|
6022
6182
|
style: {
|
|
6023
|
-
cursor:
|
|
6183
|
+
cursor: x === "expanded" ? "zoom-out" : "default"
|
|
6024
6184
|
},
|
|
6025
|
-
onClick:
|
|
6185
|
+
onClick: F,
|
|
6026
6186
|
children: /* @__PURE__ */ e(
|
|
6027
6187
|
zt,
|
|
6028
6188
|
{
|
|
6029
|
-
viewState:
|
|
6030
|
-
animPhase:
|
|
6031
|
-
selectedSystem:
|
|
6032
|
-
selectedComponent:
|
|
6033
|
-
drillAnimPhase:
|
|
6034
|
-
rotateY:
|
|
6035
|
-
autoRotateComponents:
|
|
6036
|
-
componentScale:
|
|
6037
|
-
drillZoom:
|
|
6038
|
-
autoRotateCarousel:
|
|
6189
|
+
viewState: x,
|
|
6190
|
+
animPhase: P,
|
|
6191
|
+
selectedSystem: S,
|
|
6192
|
+
selectedComponent: w,
|
|
6193
|
+
drillAnimPhase: I,
|
|
6194
|
+
rotateY: f,
|
|
6195
|
+
autoRotateComponents: g,
|
|
6196
|
+
componentScale: y,
|
|
6197
|
+
drillZoom: m,
|
|
6198
|
+
autoRotateCarousel: u,
|
|
6039
6199
|
carouselSpeed: a,
|
|
6040
6200
|
logoUrl: r,
|
|
6041
|
-
onSelectSystem:
|
|
6042
|
-
onBackgroundClick:
|
|
6043
|
-
onComponentClick:
|
|
6044
|
-
onCloseDrill:
|
|
6045
|
-
selectedSystemStatus:
|
|
6046
|
-
selectedSystemDbSync:
|
|
6047
|
-
selectedSystemMetrics:
|
|
6048
|
-
selectedSystemAlerts:
|
|
6049
|
-
children:
|
|
6201
|
+
onSelectSystem: L,
|
|
6202
|
+
onBackgroundClick: F,
|
|
6203
|
+
onComponentClick: G,
|
|
6204
|
+
onCloseDrill: K,
|
|
6205
|
+
selectedSystemStatus: U,
|
|
6206
|
+
selectedSystemDbSync: ae,
|
|
6207
|
+
selectedSystemMetrics: Pe,
|
|
6208
|
+
selectedSystemAlerts: Ce,
|
|
6209
|
+
children: p
|
|
6050
6210
|
}
|
|
6051
6211
|
)
|
|
6052
6212
|
}
|
|
6053
6213
|
)
|
|
6054
6214
|
] });
|
|
6215
|
+
return l && h ? /* @__PURE__ */ e(
|
|
6216
|
+
ci,
|
|
6217
|
+
{
|
|
6218
|
+
config: {
|
|
6219
|
+
endpoint: l,
|
|
6220
|
+
queries: h,
|
|
6221
|
+
refreshInterval: c
|
|
6222
|
+
},
|
|
6223
|
+
onRefreshStatusChange: B,
|
|
6224
|
+
children: Ie
|
|
6225
|
+
}
|
|
6226
|
+
) : Ie;
|
|
6055
6227
|
}
|
|
6056
|
-
function
|
|
6228
|
+
function E(t, n, o = 24) {
|
|
6057
6229
|
return Array.from({ length: o }, (i, r) => {
|
|
6058
6230
|
const a = r / o;
|
|
6059
6231
|
return Math.min(100, Math.max(0, t + Math.sin(a * Math.PI * 2) * n + (Math.random() - 0.5) * 10));
|
|
6060
6232
|
});
|
|
6061
6233
|
}
|
|
6062
|
-
function
|
|
6234
|
+
function vt(t) {
|
|
6063
6235
|
return t === "critical" || t === "offline" ? "#ff2255" : t === "warning" ? "#ff8c00" : "#00e5ff";
|
|
6064
6236
|
}
|
|
6065
|
-
function
|
|
6066
|
-
const i = t === "online" ? "online" : t, r =
|
|
6237
|
+
function we(t, n, o) {
|
|
6238
|
+
const i = t === "online" ? "online" : t, r = vt(t), a = o?.cpuLoad ?? 50, s = o?.memLoad ?? 60, l = i === "critical" || i === "warning" && a > 80 ? i : "online", h = i === "warning" && s > 85 ? "warning" : i === "critical" ? "critical" : "online", c = i === "critical" && n === "APP-03" ? "critical" : "online", p = i === "offline" ? "offline" : "online";
|
|
6067
6239
|
return [
|
|
6068
|
-
{ id: "cpu-0", label: "CPU-0", status: l, detail: i === "critical" ? "Core overload" : i === "warning" ? "Load spike" : void 0, element: /* @__PURE__ */ e(
|
|
6069
|
-
{ id: "cpu-1", label: "CPU-1", status: "online", element: /* @__PURE__ */ e(
|
|
6070
|
-
{ id: "heap-0", label: "HEAP-0", status: h, detail: h === "warning" ? "Memory heap usage" : h === "critical" ? "OOM risk" : void 0, element: /* @__PURE__ */ e(
|
|
6071
|
-
{ id: "heap-1", label: "HEAP-1", status: "online", element: /* @__PURE__ */ e(
|
|
6072
|
-
{ id: "drive-1", label: "DRIVE-1", status: "online", element: /* @__PURE__ */ e(
|
|
6073
|
-
{ id: "drive-2", label: "DRIVE-2", status: "online", element: /* @__PURE__ */ e(
|
|
6074
|
-
{ id: "drive-3", label: "DRIVE-3", status: "online", element: /* @__PURE__ */ e(
|
|
6075
|
-
{ id: "thread-pool", label: "THREAD-POOL", status: c, detail: c === "critical" ? "Thread exhaustion" : void 0, element: /* @__PURE__ */ e(
|
|
6076
|
-
{ id: "network", label: "NET", status: p, element: /* @__PURE__ */ e(
|
|
6240
|
+
{ id: "cpu-0", label: "CPU-0", status: l, detail: i === "critical" ? "Core overload" : i === "warning" ? "Load spike" : void 0, element: /* @__PURE__ */ e(We, { color: r, label: "CPU-0", status: l, load: a }) },
|
|
6241
|
+
{ id: "cpu-1", label: "CPU-1", status: "online", element: /* @__PURE__ */ e(We, { color: r, label: "CPU-1", status: "online", load: a * 0.7 }) },
|
|
6242
|
+
{ id: "heap-0", label: "HEAP-0", status: h, detail: h === "warning" ? "Memory heap usage" : h === "critical" ? "OOM risk" : void 0, element: /* @__PURE__ */ e(Me, { color: "#8855ee", label: "HEAP-0", status: h, usedPercent: s }) },
|
|
6243
|
+
{ id: "heap-1", label: "HEAP-1", status: "online", element: /* @__PURE__ */ e(Me, { color: "#8855ee", label: "HEAP-1", status: "online", usedPercent: s * 0.85 }) },
|
|
6244
|
+
{ id: "drive-1", label: "DRIVE-1", status: "online", element: /* @__PURE__ */ e(ve, { color: r, label: "DRIVE-1", status: "online", activity: !0 }) },
|
|
6245
|
+
{ id: "drive-2", label: "DRIVE-2", status: "online", element: /* @__PURE__ */ e(ve, { color: r, label: "DRIVE-2", status: "online", activity: a > 30 }) },
|
|
6246
|
+
{ id: "drive-3", label: "DRIVE-3", status: "online", element: /* @__PURE__ */ e(ve, { color: r, label: "DRIVE-3", status: "online", activity: a > 50 }) },
|
|
6247
|
+
{ id: "thread-pool", label: "THREAD-POOL", status: c, detail: c === "critical" ? "Thread exhaustion" : void 0, element: /* @__PURE__ */ e(M, { color: r, label: "THREAD-POOL", status: c }) },
|
|
6248
|
+
{ id: "network", label: "NET", status: p, element: /* @__PURE__ */ e(mt, { color: r, label: "NET", status: p }) }
|
|
6077
6249
|
];
|
|
6078
6250
|
}
|
|
6079
|
-
function
|
|
6251
|
+
function Se(t) {
|
|
6080
6252
|
const n = t?.cpuLoad ?? 50, o = t?.memLoad ?? 60;
|
|
6081
6253
|
return [
|
|
6082
|
-
{ id: "cpu", label: "CPU-0", unit: "%", color: "#00e5ff", data:
|
|
6083
|
-
{ id: "cpu1", label: "CPU-1", unit: "%", color: "#00e5ff", data:
|
|
6084
|
-
{ id: "heap0", label: "HEAP-0", unit: "%", color: "#8855ee", data:
|
|
6085
|
-
{ id: "heap1", label: "HEAP-1", unit: "%", color: "#8855ee", data:
|
|
6086
|
-
{ id: "drive1", label: "DRIVE-1 I/O", unit: "%", color: "#ff8c00", data:
|
|
6087
|
-
{ id: "drive2", label: "DRIVE-2 I/O", unit: "%", color: "#ff8c00", data:
|
|
6088
|
-
{ id: "drive3", label: "DRIVE-3 I/O", unit: "%", color: "#ff8c00", data:
|
|
6089
|
-
{ id: "thread", label: "THREAD-POOL", unit: "%", color: "#22aaff", data:
|
|
6254
|
+
{ id: "cpu", label: "CPU-0", unit: "%", color: "#00e5ff", data: E(n, 15) },
|
|
6255
|
+
{ id: "cpu1", label: "CPU-1", unit: "%", color: "#00e5ff", data: E(n * 0.7, 12) },
|
|
6256
|
+
{ id: "heap0", label: "HEAP-0", unit: "%", color: "#8855ee", data: E(o, 18) },
|
|
6257
|
+
{ id: "heap1", label: "HEAP-1", unit: "%", color: "#8855ee", data: E(o * 0.85, 14) },
|
|
6258
|
+
{ id: "drive1", label: "DRIVE-1 I/O", unit: "%", color: "#ff8c00", data: E(40, 25) },
|
|
6259
|
+
{ id: "drive2", label: "DRIVE-2 I/O", unit: "%", color: "#ff8c00", data: E(35, 20) },
|
|
6260
|
+
{ id: "drive3", label: "DRIVE-3 I/O", unit: "%", color: "#ff8c00", data: E(30, 22) },
|
|
6261
|
+
{ id: "thread", label: "THREAD-POOL", unit: "%", color: "#22aaff", data: E(55, 20) }
|
|
6090
6262
|
];
|
|
6091
6263
|
}
|
|
6092
|
-
function
|
|
6093
|
-
const i = t === "online" ? "online" : t, r =
|
|
6264
|
+
function wt(t, n, o) {
|
|
6265
|
+
const i = t === "online" ? "online" : t, r = vt(t), a = i === "critical" || i === "offline" ? i : "online", s = i === "warning" ? "warning" : "online", l = i === "critical" ? "critical" : "online";
|
|
6094
6266
|
return [
|
|
6095
|
-
{ id: "port-1", label: "PORT-1", status: "online", element: /* @__PURE__ */ e(
|
|
6096
|
-
{ id: "port-2", label: "PORT-2", status: "online", element: /* @__PURE__ */ e(
|
|
6097
|
-
{ id: "port-3", label: "PORT-3", status: a, detail: i === "critical" ? "Gateway timeout" : i === "offline" ? "Unreachable" : void 0, element: /* @__PURE__ */ e(
|
|
6098
|
-
{ id: "port-4", label: "PORT-4", status: "online", element: /* @__PURE__ */ e(
|
|
6099
|
-
{ id: "port-5", label: "PORT-5", status: s, detail: s === "warning" ? "Latency spike" : void 0, element: /* @__PURE__ */ e(
|
|
6100
|
-
{ id: "port-6", label: "PORT-6", status: "online", element: /* @__PURE__ */ e(
|
|
6101
|
-
{ id: "port-7", label: "PORT-7", status: "online", element: /* @__PURE__ */ e(
|
|
6102
|
-
{ id: "port-8", label: "PORT-8", status: "online", element: /* @__PURE__ */ e(
|
|
6103
|
-
{ id: "http-worker", label: "HTTP-WORKER", status: l, detail: l === "critical" ? "Worker timeout" : void 0, element: /* @__PURE__ */ e(
|
|
6104
|
-
{ id: "https-worker", label: "HTTPS-WORKER", status: "online", element: /* @__PURE__ */ e(
|
|
6267
|
+
{ id: "port-1", label: "PORT-1", status: "online", element: /* @__PURE__ */ e(H, { color: r, label: "PORT-1", status: "online" }) },
|
|
6268
|
+
{ id: "port-2", label: "PORT-2", status: "online", element: /* @__PURE__ */ e(H, { color: r, label: "PORT-2", status: "online" }) },
|
|
6269
|
+
{ id: "port-3", label: "PORT-3", status: a, detail: i === "critical" ? "Gateway timeout" : i === "offline" ? "Unreachable" : void 0, element: /* @__PURE__ */ e(H, { color: r, label: "PORT-3", status: a }) },
|
|
6270
|
+
{ id: "port-4", label: "PORT-4", status: "online", element: /* @__PURE__ */ e(H, { color: r, label: "PORT-4", status: "online" }) },
|
|
6271
|
+
{ id: "port-5", label: "PORT-5", status: s, detail: s === "warning" ? "Latency spike" : void 0, element: /* @__PURE__ */ e(H, { color: r, label: "PORT-5", status: s }) },
|
|
6272
|
+
{ id: "port-6", label: "PORT-6", status: "online", element: /* @__PURE__ */ e(H, { color: r, label: "PORT-6", status: "online" }) },
|
|
6273
|
+
{ id: "port-7", label: "PORT-7", status: "online", element: /* @__PURE__ */ e(H, { color: r, label: "PORT-7", status: "online" }) },
|
|
6274
|
+
{ id: "port-8", label: "PORT-8", status: "online", element: /* @__PURE__ */ e(H, { color: r, label: "PORT-8", status: "online" }) },
|
|
6275
|
+
{ id: "http-worker", label: "HTTP-WORKER", status: l, detail: l === "critical" ? "Worker timeout" : void 0, element: /* @__PURE__ */ e(M, { color: r, label: "HTTP-WORKER", status: l }) },
|
|
6276
|
+
{ id: "https-worker", label: "HTTPS-WORKER", status: "online", element: /* @__PURE__ */ e(M, { color: "#bb55ff", label: "HTTPS-WORKER", status: "online" }) }
|
|
6105
6277
|
];
|
|
6106
6278
|
}
|
|
6107
|
-
function
|
|
6279
|
+
function St(t) {
|
|
6108
6280
|
const n = t?.traffic ?? 50;
|
|
6109
6281
|
return [
|
|
6110
|
-
{ id: "traffic", label: "TRAFFIC", unit: "%", color: "#00e5ff", data:
|
|
6111
|
-
{ id: "port1", label: "PORT-1", unit: "kbps", color: "#22aaff", data:
|
|
6112
|
-
{ id: "port2", label: "PORT-2", unit: "kbps", color: "#22aaff", data:
|
|
6113
|
-
{ id: "port3", label: "PORT-3", unit: "kbps", color: "#22aaff", data:
|
|
6114
|
-
{ id: "worker", label: "WORKER", unit: "%", color: "#bb55ff", data:
|
|
6282
|
+
{ id: "traffic", label: "TRAFFIC", unit: "%", color: "#00e5ff", data: E(n, 20) },
|
|
6283
|
+
{ id: "port1", label: "PORT-1", unit: "kbps", color: "#22aaff", data: E(60, 25) },
|
|
6284
|
+
{ id: "port2", label: "PORT-2", unit: "kbps", color: "#22aaff", data: E(45, 20) },
|
|
6285
|
+
{ id: "port3", label: "PORT-3", unit: "kbps", color: "#22aaff", data: E(70, 30) },
|
|
6286
|
+
{ id: "worker", label: "WORKER", unit: "%", color: "#bb55ff", data: E(n * 0.9, 15) }
|
|
6115
6287
|
];
|
|
6116
6288
|
}
|
|
6117
|
-
function
|
|
6289
|
+
function pi(t, n, o) {
|
|
6118
6290
|
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";
|
|
6119
6291
|
return [
|
|
6120
|
-
{ id: "inst-0", label: "INST-0", status: "online", element: /* @__PURE__ */ e(
|
|
6121
|
-
{ id: "inst-1", label: "INST-1", status: "online", element: /* @__PURE__ */ e(
|
|
6122
|
-
{ id: "inst-2", label: "INST-2", status: r, detail: r === "critical" ? "Instance unreachable" : void 0, element: /* @__PURE__ */ e(
|
|
6123
|
-
{ 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(
|
|
6124
|
-
{ id: "worker-1", label: "WORKER-1", status: "online", element: /* @__PURE__ */ e(
|
|
6125
|
-
{ id: "worker-2", label: "WORKER-2", status: "online", element: /* @__PURE__ */ e(
|
|
6126
|
-
{ id: "worker-3", label: "WORKER-3", status: s, detail: s === "critical" ? "Worker timeout" : void 0, element: /* @__PURE__ */ e(
|
|
6292
|
+
{ id: "inst-0", label: "INST-0", status: "online", element: /* @__PURE__ */ e(H, { color: "#bb55ff", label: "INST-0", status: "online" }) },
|
|
6293
|
+
{ id: "inst-1", label: "INST-1", status: "online", element: /* @__PURE__ */ e(H, { color: "#bb55ff", label: "INST-1", status: "online" }) },
|
|
6294
|
+
{ id: "inst-2", label: "INST-2", status: r, detail: r === "critical" ? "Instance unreachable" : void 0, element: /* @__PURE__ */ e(H, { color: "#bb55ff", label: "INST-2", status: r }) },
|
|
6295
|
+
{ id: "queue-0", label: "QUEUE-0", status: a, detail: i === "critical" ? "Queue full" : i === "offline" ? "Unreachable" : i === "warning" ? "Queue depth warning" : void 0, element: /* @__PURE__ */ e(M, { color: "#bb55ff", label: "QUEUE-0", status: a }) },
|
|
6296
|
+
{ id: "worker-1", label: "WORKER-1", status: "online", element: /* @__PURE__ */ e(M, { color: "#bb55ff", label: "WORKER-1", status: "online" }) },
|
|
6297
|
+
{ id: "worker-2", label: "WORKER-2", status: "online", element: /* @__PURE__ */ e(M, { color: "#bb55ff", label: "WORKER-2", status: "online" }) },
|
|
6298
|
+
{ id: "worker-3", label: "WORKER-3", status: s, detail: s === "critical" ? "Worker timeout" : void 0, element: /* @__PURE__ */ e(M, { color: "#bb55ff", label: "WORKER-3", status: s }) }
|
|
6127
6299
|
];
|
|
6128
6300
|
}
|
|
6129
|
-
function
|
|
6301
|
+
function fi(t) {
|
|
6130
6302
|
const n = t?.queueDepth ?? 50;
|
|
6131
6303
|
return [
|
|
6132
|
-
{ id: "traffic", label: "TRAFFIC", unit: "%", color: "#00e5ff", data:
|
|
6133
|
-
{ id: "port1", label: "PORT-1", unit: "kbps", color: "#22aaff", data:
|
|
6134
|
-
{ id: "port2", label: "PORT-2", unit: "kbps", color: "#22aaff", data:
|
|
6135
|
-
{ id: "port3", label: "PORT-3", unit: "kbps", color: "#22aaff", data:
|
|
6136
|
-
{ id: "worker", label: "WORKER", unit: "%", color: "#bb55ff", data:
|
|
6304
|
+
{ id: "traffic", label: "TRAFFIC", unit: "%", color: "#00e5ff", data: E(n, 20) },
|
|
6305
|
+
{ id: "port1", label: "PORT-1", unit: "kbps", color: "#22aaff", data: E(60, 25) },
|
|
6306
|
+
{ id: "port2", label: "PORT-2", unit: "kbps", color: "#22aaff", data: E(45, 20) },
|
|
6307
|
+
{ id: "port3", label: "PORT-3", unit: "kbps", color: "#22aaff", data: E(70, 30) },
|
|
6308
|
+
{ id: "worker", label: "WORKER", unit: "%", color: "#bb55ff", data: E(n * 0.9, 15) }
|
|
6137
6309
|
];
|
|
6138
6310
|
}
|
|
6139
6311
|
function ze(t, n, o) {
|
|
6140
6312
|
const i = t === "online" ? "online" : t, r = "#ff8c00", a = o?.capacity ?? 72, s = i === "critical" || i === "offline" ? i : i === "warning" ? "warning" : "online", l = i === "warning" && n === "DB-STB" ? "warning" : "online", h = i === "critical" ? "critical" : "online", c = i === "warning" ? "warning" : "online";
|
|
6141
6313
|
return [
|
|
6142
|
-
{ id: "platter-0", label: "PLATTER-0", status: "online", element: /* @__PURE__ */ e(
|
|
6143
|
-
{ 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(
|
|
6144
|
-
{ id: "platter-2", label: "PLATTER-2", status: l, detail: l === "warning" ? "Replication lag" : void 0, element: /* @__PURE__ */ e(
|
|
6145
|
-
{ id: "conn-pool", label: "CONN-POOL", status: h, detail: h === "critical" ? "Pool exhausted" : void 0, element: /* @__PURE__ */ e(
|
|
6146
|
-
{ id: "query-cache", label: "QUERY-CACHE", status: c, detail: c === "warning" ? "Cache miss rate" : void 0, element: /* @__PURE__ */ e(
|
|
6314
|
+
{ id: "platter-0", label: "PLATTER-0", status: "online", element: /* @__PURE__ */ e(Ne, { color: r, label: "PLATTER-0", status: "online", capacityPercent: a }) },
|
|
6315
|
+
{ 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(Ne, { color: r, label: "PLATTER-1", status: s, capacityPercent: a }) },
|
|
6316
|
+
{ id: "platter-2", label: "PLATTER-2", status: l, detail: l === "warning" ? "Replication lag" : void 0, element: /* @__PURE__ */ e(Ne, { color: r, label: "PLATTER-2", status: l, capacityPercent: a }) },
|
|
6317
|
+
{ id: "conn-pool", label: "CONN-POOL", status: h, detail: h === "critical" ? "Pool exhausted" : void 0, element: /* @__PURE__ */ e(M, { color: r, label: "CONN-POOL", status: h }) },
|
|
6318
|
+
{ id: "query-cache", label: "QUERY-CACHE", status: c, detail: c === "warning" ? "Cache miss rate" : void 0, element: /* @__PURE__ */ e(M, { color: "#00ff88", label: "QUERY-CACHE", status: c }) }
|
|
6147
6319
|
];
|
|
6148
6320
|
}
|
|
6149
|
-
function
|
|
6321
|
+
function Be(t) {
|
|
6150
6322
|
const n = t?.capacity ?? 70;
|
|
6151
6323
|
return [
|
|
6152
|
-
{ id: "platter0", label: "PLATTER-0 I/O", unit: "%", color: "#ff8c00", data:
|
|
6153
|
-
{ id: "platter1", label: "PLATTER-1 I/O", unit: "%", color: "#ff8c00", data:
|
|
6154
|
-
{ id: "platter2", label: "PLATTER-2 I/O", unit: "%", color: "#ff8c00", data:
|
|
6155
|
-
{ id: "connpool", label: "CONN-POOL", unit: "%", color: "#00e5ff", data:
|
|
6156
|
-
{ id: "cache", label: "QUERY-CACHE", unit: "%", color: "#00ff88", data:
|
|
6324
|
+
{ id: "platter0", label: "PLATTER-0 I/O", unit: "%", color: "#ff8c00", data: E(40, 20) },
|
|
6325
|
+
{ id: "platter1", label: "PLATTER-1 I/O", unit: "%", color: "#ff8c00", data: E(55, 25) },
|
|
6326
|
+
{ id: "platter2", label: "PLATTER-2 I/O", unit: "%", color: "#ff8c00", data: E(35, 18) },
|
|
6327
|
+
{ id: "connpool", label: "CONN-POOL", unit: "%", color: "#00e5ff", data: E(n, 15) },
|
|
6328
|
+
{ id: "cache", label: "QUERY-CACHE", unit: "%", color: "#00ff88", data: E(75, 12) }
|
|
6157
6329
|
];
|
|
6158
6330
|
}
|
|
6159
|
-
function
|
|
6331
|
+
function nt(t) {
|
|
6160
6332
|
const n = [
|
|
6161
6333
|
t.wdStatus,
|
|
6162
6334
|
t.msStatus,
|
|
@@ -6168,8 +6340,8 @@ function tt(t) {
|
|
|
6168
6340
|
];
|
|
6169
6341
|
return n.includes("critical") ? "critical" : n.includes("warning") ? "warning" : n.includes("offline") ? "offline" : "online";
|
|
6170
6342
|
}
|
|
6171
|
-
function
|
|
6172
|
-
const n =
|
|
6343
|
+
function Di(t) {
|
|
6344
|
+
const n = nt(t), o = n === "critical" || n === "offline", i = n === "warning";
|
|
6173
6345
|
return [
|
|
6174
6346
|
{
|
|
6175
6347
|
label: "Uptime",
|
|
@@ -6190,8 +6362,8 @@ function Ei(t) {
|
|
|
6190
6362
|
}
|
|
6191
6363
|
];
|
|
6192
6364
|
}
|
|
6193
|
-
function
|
|
6194
|
-
const n =
|
|
6365
|
+
function Ni(t) {
|
|
6366
|
+
const n = nt(t), o = n === "critical" || n === "offline", i = n === "warning";
|
|
6195
6367
|
return [
|
|
6196
6368
|
...t.dbSync ? [] : [{ level: "warning", message: "DB Replication Lag Detected" }],
|
|
6197
6369
|
...o ? [{ level: "critical", message: "Critical Component Failure" }] : [],
|
|
@@ -6199,7 +6371,7 @@ function Ti(t) {
|
|
|
6199
6371
|
...!o && !i && t.dbSync ? [{ level: "info", message: "All Systems Nominal" }] : []
|
|
6200
6372
|
];
|
|
6201
6373
|
}
|
|
6202
|
-
const
|
|
6374
|
+
const hi = [
|
|
6203
6375
|
{ from: [330, 120], to: [220, 260], visibleAtPhase: 3 },
|
|
6204
6376
|
{ from: [330, 120], to: [440, 260], visibleAtPhase: 3 },
|
|
6205
6377
|
{ from: [220, 260], to: [165, 390], visibleAtPhase: 4 },
|
|
@@ -6212,11 +6384,11 @@ const si = [
|
|
|
6212
6384
|
{ from: [330, 390], to: [200, 520], visibleAtPhase: 5, color: "#ff8c00" },
|
|
6213
6385
|
{ from: [495, 390], to: [200, 520], visibleAtPhase: 5, color: "#ff8c00" }
|
|
6214
6386
|
];
|
|
6215
|
-
function
|
|
6216
|
-
const n =
|
|
6217
|
-
return /* @__PURE__ */ d(
|
|
6387
|
+
function ui({ config: t }) {
|
|
6388
|
+
const n = re.useContext(ce), o = n?.rotateY ?? 20, i = n?.autoRotateComponents ?? !0, { wdStatus: r, msStatus: a, srv1Status: s, srv2Status: l, srv3Status: h, pdbStatus: c, sdbStatus: p, dbSync: f } = t;
|
|
6389
|
+
return /* @__PURE__ */ d($e, { children: [
|
|
6218
6390
|
/* @__PURE__ */ e(
|
|
6219
|
-
|
|
6391
|
+
A,
|
|
6220
6392
|
{
|
|
6221
6393
|
ex: 330,
|
|
6222
6394
|
ey: 120,
|
|
@@ -6224,11 +6396,11 @@ function di({ config: t }) {
|
|
|
6224
6396
|
zIndex: 10,
|
|
6225
6397
|
visibleAtPhase: 2,
|
|
6226
6398
|
color: "#00e5ff",
|
|
6227
|
-
children: /* @__PURE__ */ e(
|
|
6399
|
+
children: /* @__PURE__ */ e(tt, { status: "online", scale: 1.5 })
|
|
6228
6400
|
}
|
|
6229
6401
|
),
|
|
6230
6402
|
/* @__PURE__ */ e(
|
|
6231
|
-
|
|
6403
|
+
A,
|
|
6232
6404
|
{
|
|
6233
6405
|
ex: 220,
|
|
6234
6406
|
ey: 260,
|
|
@@ -6243,11 +6415,11 @@ function di({ config: t }) {
|
|
|
6243
6415
|
name: "WEB-DISP",
|
|
6244
6416
|
status: r,
|
|
6245
6417
|
context: { traffic: 78 },
|
|
6246
|
-
subComponents:
|
|
6247
|
-
graphSeries:
|
|
6418
|
+
subComponents: wt(r),
|
|
6419
|
+
graphSeries: St({ traffic: 78 })
|
|
6248
6420
|
},
|
|
6249
6421
|
children: /* @__PURE__ */ e(
|
|
6250
|
-
|
|
6422
|
+
it,
|
|
6251
6423
|
{
|
|
6252
6424
|
rotateY: o,
|
|
6253
6425
|
autoRotate: i,
|
|
@@ -6261,7 +6433,7 @@ function di({ config: t }) {
|
|
|
6261
6433
|
}
|
|
6262
6434
|
),
|
|
6263
6435
|
/* @__PURE__ */ e(
|
|
6264
|
-
|
|
6436
|
+
A,
|
|
6265
6437
|
{
|
|
6266
6438
|
ex: 440,
|
|
6267
6439
|
ey: 260,
|
|
@@ -6276,11 +6448,11 @@ function di({ config: t }) {
|
|
|
6276
6448
|
name: "MSG-SRV",
|
|
6277
6449
|
status: a,
|
|
6278
6450
|
context: { queueDepth: 45 },
|
|
6279
|
-
subComponents:
|
|
6280
|
-
graphSeries:
|
|
6451
|
+
subComponents: pi(a),
|
|
6452
|
+
graphSeries: fi({ queueDepth: 45 })
|
|
6281
6453
|
},
|
|
6282
6454
|
children: /* @__PURE__ */ e(
|
|
6283
|
-
|
|
6455
|
+
gt,
|
|
6284
6456
|
{
|
|
6285
6457
|
rotateY: -o,
|
|
6286
6458
|
autoRotate: i,
|
|
@@ -6295,7 +6467,7 @@ function di({ config: t }) {
|
|
|
6295
6467
|
}
|
|
6296
6468
|
),
|
|
6297
6469
|
/* @__PURE__ */ e(
|
|
6298
|
-
|
|
6470
|
+
A,
|
|
6299
6471
|
{
|
|
6300
6472
|
ex: 165,
|
|
6301
6473
|
ey: 390,
|
|
@@ -6310,11 +6482,11 @@ function di({ config: t }) {
|
|
|
6310
6482
|
name: "APP-01",
|
|
6311
6483
|
status: s,
|
|
6312
6484
|
context: { cpuLoad: 67, memLoad: 72 },
|
|
6313
|
-
subComponents:
|
|
6314
|
-
graphSeries:
|
|
6485
|
+
subComponents: we(s, "APP-01", { cpuLoad: 67, memLoad: 72 }),
|
|
6486
|
+
graphSeries: Se({ cpuLoad: 67, memLoad: 72 })
|
|
6315
6487
|
},
|
|
6316
6488
|
children: /* @__PURE__ */ e(
|
|
6317
|
-
|
|
6489
|
+
se,
|
|
6318
6490
|
{
|
|
6319
6491
|
rotateY: o,
|
|
6320
6492
|
autoRotate: i,
|
|
@@ -6328,7 +6500,7 @@ function di({ config: t }) {
|
|
|
6328
6500
|
}
|
|
6329
6501
|
),
|
|
6330
6502
|
/* @__PURE__ */ e(
|
|
6331
|
-
|
|
6503
|
+
A,
|
|
6332
6504
|
{
|
|
6333
6505
|
ex: 330,
|
|
6334
6506
|
ey: 390,
|
|
@@ -6343,11 +6515,11 @@ function di({ config: t }) {
|
|
|
6343
6515
|
name: "APP-02",
|
|
6344
6516
|
status: l,
|
|
6345
6517
|
context: { cpuLoad: 89, memLoad: 91 },
|
|
6346
|
-
subComponents:
|
|
6347
|
-
graphSeries:
|
|
6518
|
+
subComponents: we(l, "APP-02", { cpuLoad: 89, memLoad: 91 }),
|
|
6519
|
+
graphSeries: Se({ cpuLoad: 89, memLoad: 91 })
|
|
6348
6520
|
},
|
|
6349
6521
|
children: /* @__PURE__ */ e(
|
|
6350
|
-
|
|
6522
|
+
se,
|
|
6351
6523
|
{
|
|
6352
6524
|
rotateY: o,
|
|
6353
6525
|
autoRotate: i,
|
|
@@ -6361,7 +6533,7 @@ function di({ config: t }) {
|
|
|
6361
6533
|
}
|
|
6362
6534
|
),
|
|
6363
6535
|
/* @__PURE__ */ e(
|
|
6364
|
-
|
|
6536
|
+
A,
|
|
6365
6537
|
{
|
|
6366
6538
|
ex: 495,
|
|
6367
6539
|
ey: 390,
|
|
@@ -6376,11 +6548,11 @@ function di({ config: t }) {
|
|
|
6376
6548
|
name: "APP-03",
|
|
6377
6549
|
status: h,
|
|
6378
6550
|
context: { cpuLoad: 45, memLoad: 63 },
|
|
6379
|
-
subComponents:
|
|
6380
|
-
graphSeries:
|
|
6551
|
+
subComponents: we(h, "APP-03", { cpuLoad: 45, memLoad: 63 }),
|
|
6552
|
+
graphSeries: Se({ cpuLoad: 45, memLoad: 63 })
|
|
6381
6553
|
},
|
|
6382
6554
|
children: /* @__PURE__ */ e(
|
|
6383
|
-
|
|
6555
|
+
se,
|
|
6384
6556
|
{
|
|
6385
6557
|
rotateY: o,
|
|
6386
6558
|
autoRotate: i,
|
|
@@ -6394,7 +6566,7 @@ function di({ config: t }) {
|
|
|
6394
6566
|
}
|
|
6395
6567
|
),
|
|
6396
6568
|
/* @__PURE__ */ e(
|
|
6397
|
-
|
|
6569
|
+
A,
|
|
6398
6570
|
{
|
|
6399
6571
|
ex: 200,
|
|
6400
6572
|
ey: 520,
|
|
@@ -6410,10 +6582,10 @@ function di({ config: t }) {
|
|
|
6410
6582
|
status: c,
|
|
6411
6583
|
context: { capacity: 72 },
|
|
6412
6584
|
subComponents: ze(c, "DB-PRI", { capacity: 72 }),
|
|
6413
|
-
graphSeries:
|
|
6585
|
+
graphSeries: Be({ capacity: 72 })
|
|
6414
6586
|
},
|
|
6415
6587
|
children: /* @__PURE__ */ e(
|
|
6416
|
-
|
|
6588
|
+
Ae,
|
|
6417
6589
|
{
|
|
6418
6590
|
rotateY: -o,
|
|
6419
6591
|
autoRotate: i,
|
|
@@ -6427,7 +6599,7 @@ function di({ config: t }) {
|
|
|
6427
6599
|
}
|
|
6428
6600
|
),
|
|
6429
6601
|
/* @__PURE__ */ e(
|
|
6430
|
-
|
|
6602
|
+
A,
|
|
6431
6603
|
{
|
|
6432
6604
|
ex: 460,
|
|
6433
6605
|
ey: 520,
|
|
@@ -6443,10 +6615,10 @@ function di({ config: t }) {
|
|
|
6443
6615
|
status: p,
|
|
6444
6616
|
context: { capacity: 72 },
|
|
6445
6617
|
subComponents: ze(p, "DB-STB", { capacity: 72 }),
|
|
6446
|
-
graphSeries:
|
|
6618
|
+
graphSeries: Be({ capacity: 72 })
|
|
6447
6619
|
},
|
|
6448
6620
|
children: /* @__PURE__ */ e(
|
|
6449
|
-
|
|
6621
|
+
Ae,
|
|
6450
6622
|
{
|
|
6451
6623
|
rotateY: o,
|
|
6452
6624
|
autoRotate: i,
|
|
@@ -6460,7 +6632,7 @@ function di({ config: t }) {
|
|
|
6460
6632
|
}
|
|
6461
6633
|
),
|
|
6462
6634
|
/* @__PURE__ */ e(
|
|
6463
|
-
|
|
6635
|
+
A,
|
|
6464
6636
|
{
|
|
6465
6637
|
ex: 330,
|
|
6466
6638
|
ey: 520,
|
|
@@ -6469,17 +6641,17 @@ function di({ config: t }) {
|
|
|
6469
6641
|
visibleAtPhase: 6,
|
|
6470
6642
|
fixedScale: 1,
|
|
6471
6643
|
bare: !0,
|
|
6472
|
-
children: /* @__PURE__ */ e(
|
|
6644
|
+
children: /* @__PURE__ */ e(bt, { synced: f, latencyMs: f ? 8 : 342 })
|
|
6473
6645
|
}
|
|
6474
6646
|
),
|
|
6475
|
-
/* @__PURE__ */ e(
|
|
6647
|
+
/* @__PURE__ */ e(bi, { config: t })
|
|
6476
6648
|
] });
|
|
6477
6649
|
}
|
|
6478
|
-
function
|
|
6479
|
-
const n =
|
|
6650
|
+
function bi({ config: t }) {
|
|
6651
|
+
const n = re.useContext(ce), { wdStatus: o, msStatus: i, srv1Status: r, srv2Status: a, srv3Status: s, pdbStatus: l, sdbStatus: h, dbSync: c } = t, p = n?.isSelected && n?.isExpandedPos;
|
|
6480
6652
|
return n?.isSelected ? /* @__PURE__ */ d("div", { style: { pointerEvents: "none" }, children: [
|
|
6481
6653
|
/* @__PURE__ */ e(
|
|
6482
|
-
|
|
6654
|
+
W,
|
|
6483
6655
|
{
|
|
6484
6656
|
ex: 220,
|
|
6485
6657
|
ey: 260,
|
|
@@ -6494,7 +6666,7 @@ function ci({ config: t }) {
|
|
|
6494
6666
|
}
|
|
6495
6667
|
),
|
|
6496
6668
|
/* @__PURE__ */ e(
|
|
6497
|
-
|
|
6669
|
+
W,
|
|
6498
6670
|
{
|
|
6499
6671
|
ex: 440,
|
|
6500
6672
|
ey: 260,
|
|
@@ -6509,7 +6681,7 @@ function ci({ config: t }) {
|
|
|
6509
6681
|
}
|
|
6510
6682
|
),
|
|
6511
6683
|
/* @__PURE__ */ e(
|
|
6512
|
-
|
|
6684
|
+
W,
|
|
6513
6685
|
{
|
|
6514
6686
|
ex: 165,
|
|
6515
6687
|
ey: 390,
|
|
@@ -6524,7 +6696,7 @@ function ci({ config: t }) {
|
|
|
6524
6696
|
}
|
|
6525
6697
|
),
|
|
6526
6698
|
/* @__PURE__ */ e(
|
|
6527
|
-
|
|
6699
|
+
W,
|
|
6528
6700
|
{
|
|
6529
6701
|
ex: 330,
|
|
6530
6702
|
ey: 390,
|
|
@@ -6539,7 +6711,7 @@ function ci({ config: t }) {
|
|
|
6539
6711
|
}
|
|
6540
6712
|
),
|
|
6541
6713
|
/* @__PURE__ */ e(
|
|
6542
|
-
|
|
6714
|
+
W,
|
|
6543
6715
|
{
|
|
6544
6716
|
ex: 495,
|
|
6545
6717
|
ey: 390,
|
|
@@ -6554,7 +6726,7 @@ function ci({ config: t }) {
|
|
|
6554
6726
|
}
|
|
6555
6727
|
),
|
|
6556
6728
|
/* @__PURE__ */ e(
|
|
6557
|
-
|
|
6729
|
+
W,
|
|
6558
6730
|
{
|
|
6559
6731
|
ex: 200,
|
|
6560
6732
|
ey: 520,
|
|
@@ -6569,7 +6741,7 @@ function ci({ config: t }) {
|
|
|
6569
6741
|
}
|
|
6570
6742
|
),
|
|
6571
6743
|
/* @__PURE__ */ e(
|
|
6572
|
-
|
|
6744
|
+
W,
|
|
6573
6745
|
{
|
|
6574
6746
|
ex: 460,
|
|
6575
6747
|
ey: 520,
|
|
@@ -6584,7 +6756,7 @@ function ci({ config: t }) {
|
|
|
6584
6756
|
}
|
|
6585
6757
|
),
|
|
6586
6758
|
!c && /* @__PURE__ */ e(
|
|
6587
|
-
|
|
6759
|
+
W,
|
|
6588
6760
|
{
|
|
6589
6761
|
ex: 330,
|
|
6590
6762
|
ey: 520,
|
|
@@ -6600,19 +6772,19 @@ function ci({ config: t }) {
|
|
|
6600
6772
|
)
|
|
6601
6773
|
] }) : null;
|
|
6602
6774
|
}
|
|
6603
|
-
function
|
|
6775
|
+
function Wi({ config: t, ...n }) {
|
|
6604
6776
|
return /* @__PURE__ */ e(
|
|
6605
|
-
|
|
6777
|
+
ut,
|
|
6606
6778
|
{
|
|
6607
6779
|
name: t.name,
|
|
6608
|
-
status:
|
|
6609
|
-
connections:
|
|
6780
|
+
status: nt(t),
|
|
6781
|
+
connections: hi,
|
|
6610
6782
|
...n,
|
|
6611
|
-
children: /* @__PURE__ */ e(
|
|
6783
|
+
children: /* @__PURE__ */ e(ui, { config: t })
|
|
6612
6784
|
}
|
|
6613
6785
|
);
|
|
6614
6786
|
}
|
|
6615
|
-
function
|
|
6787
|
+
function ot(t) {
|
|
6616
6788
|
const n = [
|
|
6617
6789
|
t.dispStatus,
|
|
6618
6790
|
t.srv1Status,
|
|
@@ -6623,8 +6795,8 @@ function it(t) {
|
|
|
6623
6795
|
];
|
|
6624
6796
|
return n.includes("critical") ? "critical" : n.includes("warning") ? "warning" : n.includes("offline") ? "offline" : "online";
|
|
6625
6797
|
}
|
|
6626
|
-
function
|
|
6627
|
-
const n =
|
|
6798
|
+
function Mi(t) {
|
|
6799
|
+
const n = ot(t), o = n === "critical" || n === "offline", i = n === "warning";
|
|
6628
6800
|
return [
|
|
6629
6801
|
{
|
|
6630
6802
|
label: "Uptime",
|
|
@@ -6645,8 +6817,8 @@ function Ii(t) {
|
|
|
6645
6817
|
}
|
|
6646
6818
|
];
|
|
6647
6819
|
}
|
|
6648
|
-
function
|
|
6649
|
-
const n =
|
|
6820
|
+
function zi(t) {
|
|
6821
|
+
const n = ot(t), o = n === "critical" || n === "offline", i = n === "warning";
|
|
6650
6822
|
return [
|
|
6651
6823
|
...t.dbSync ? [] : [{ level: "warning", message: "DB Replication Lag Detected" }],
|
|
6652
6824
|
...o ? [{ level: "critical", message: "Critical Component Failure" }] : [],
|
|
@@ -6654,7 +6826,7 @@ function Li(t) {
|
|
|
6654
6826
|
...!o && !i && t.dbSync ? [{ level: "info", message: "All Systems Nominal" }] : []
|
|
6655
6827
|
];
|
|
6656
6828
|
}
|
|
6657
|
-
const
|
|
6829
|
+
const gi = [
|
|
6658
6830
|
{ from: [330, 120], to: [330, 260], visibleAtPhase: 3 },
|
|
6659
6831
|
{ from: [330, 260], to: [165, 390], visibleAtPhase: 4 },
|
|
6660
6832
|
{ from: [330, 260], to: [330, 390], visibleAtPhase: 4 },
|
|
@@ -6663,11 +6835,11 @@ const pi = [
|
|
|
6663
6835
|
{ from: [330, 390], to: [200, 520], visibleAtPhase: 5, color: "#ff8c00" },
|
|
6664
6836
|
{ from: [495, 390], to: [200, 520], visibleAtPhase: 5, color: "#ff8c00" }
|
|
6665
6837
|
];
|
|
6666
|
-
function
|
|
6667
|
-
const n =
|
|
6668
|
-
return /* @__PURE__ */ d(
|
|
6838
|
+
function yi({ config: t }) {
|
|
6839
|
+
const n = re.useContext(ce), o = n?.rotateY ?? 20, i = n?.autoRotateComponents ?? !0, { dispStatus: r, srv1Status: a, srv2Status: s, srv3Status: l, pdbStatus: h, sdbStatus: c, dbSync: p } = t;
|
|
6840
|
+
return /* @__PURE__ */ d($e, { children: [
|
|
6669
6841
|
/* @__PURE__ */ e(
|
|
6670
|
-
|
|
6842
|
+
A,
|
|
6671
6843
|
{
|
|
6672
6844
|
ex: 330,
|
|
6673
6845
|
ey: 120,
|
|
@@ -6675,11 +6847,11 @@ function fi({ config: t }) {
|
|
|
6675
6847
|
zIndex: 10,
|
|
6676
6848
|
visibleAtPhase: 2,
|
|
6677
6849
|
color: "#00e5ff",
|
|
6678
|
-
children: /* @__PURE__ */ e(
|
|
6850
|
+
children: /* @__PURE__ */ e(tt, { status: "online", scale: 1.5 })
|
|
6679
6851
|
}
|
|
6680
6852
|
),
|
|
6681
6853
|
/* @__PURE__ */ e(
|
|
6682
|
-
|
|
6854
|
+
A,
|
|
6683
6855
|
{
|
|
6684
6856
|
ex: 330,
|
|
6685
6857
|
ey: 260,
|
|
@@ -6694,11 +6866,11 @@ function fi({ config: t }) {
|
|
|
6694
6866
|
name: "DISP-01",
|
|
6695
6867
|
status: r,
|
|
6696
6868
|
context: { traffic: 78 },
|
|
6697
|
-
subComponents:
|
|
6698
|
-
graphSeries:
|
|
6869
|
+
subComponents: wt(r),
|
|
6870
|
+
graphSeries: St({ traffic: 78 })
|
|
6699
6871
|
},
|
|
6700
6872
|
children: /* @__PURE__ */ e(
|
|
6701
|
-
|
|
6873
|
+
it,
|
|
6702
6874
|
{
|
|
6703
6875
|
rotateY: o,
|
|
6704
6876
|
autoRotate: i,
|
|
@@ -6712,7 +6884,7 @@ function fi({ config: t }) {
|
|
|
6712
6884
|
}
|
|
6713
6885
|
),
|
|
6714
6886
|
/* @__PURE__ */ e(
|
|
6715
|
-
|
|
6887
|
+
A,
|
|
6716
6888
|
{
|
|
6717
6889
|
ex: 165,
|
|
6718
6890
|
ey: 390,
|
|
@@ -6727,11 +6899,11 @@ function fi({ config: t }) {
|
|
|
6727
6899
|
name: "APP-01",
|
|
6728
6900
|
status: a,
|
|
6729
6901
|
context: { cpuLoad: 67, memLoad: 72 },
|
|
6730
|
-
subComponents:
|
|
6731
|
-
graphSeries:
|
|
6902
|
+
subComponents: we(a, "APP-01", { cpuLoad: 67, memLoad: 72 }),
|
|
6903
|
+
graphSeries: Se({ cpuLoad: 67, memLoad: 72 })
|
|
6732
6904
|
},
|
|
6733
6905
|
children: /* @__PURE__ */ e(
|
|
6734
|
-
|
|
6906
|
+
se,
|
|
6735
6907
|
{
|
|
6736
6908
|
rotateY: o,
|
|
6737
6909
|
autoRotate: i,
|
|
@@ -6745,7 +6917,7 @@ function fi({ config: t }) {
|
|
|
6745
6917
|
}
|
|
6746
6918
|
),
|
|
6747
6919
|
/* @__PURE__ */ e(
|
|
6748
|
-
|
|
6920
|
+
A,
|
|
6749
6921
|
{
|
|
6750
6922
|
ex: 330,
|
|
6751
6923
|
ey: 390,
|
|
@@ -6760,11 +6932,11 @@ function fi({ config: t }) {
|
|
|
6760
6932
|
name: "APP-02",
|
|
6761
6933
|
status: s,
|
|
6762
6934
|
context: { cpuLoad: 89, memLoad: 91 },
|
|
6763
|
-
subComponents:
|
|
6764
|
-
graphSeries:
|
|
6935
|
+
subComponents: we(s, "APP-02", { cpuLoad: 89, memLoad: 91 }),
|
|
6936
|
+
graphSeries: Se({ cpuLoad: 89, memLoad: 91 })
|
|
6765
6937
|
},
|
|
6766
6938
|
children: /* @__PURE__ */ e(
|
|
6767
|
-
|
|
6939
|
+
se,
|
|
6768
6940
|
{
|
|
6769
6941
|
rotateY: o,
|
|
6770
6942
|
autoRotate: i,
|
|
@@ -6778,7 +6950,7 @@ function fi({ config: t }) {
|
|
|
6778
6950
|
}
|
|
6779
6951
|
),
|
|
6780
6952
|
/* @__PURE__ */ e(
|
|
6781
|
-
|
|
6953
|
+
A,
|
|
6782
6954
|
{
|
|
6783
6955
|
ex: 495,
|
|
6784
6956
|
ey: 390,
|
|
@@ -6793,11 +6965,11 @@ function fi({ config: t }) {
|
|
|
6793
6965
|
name: "APP-03",
|
|
6794
6966
|
status: l,
|
|
6795
6967
|
context: { cpuLoad: 45, memLoad: 63 },
|
|
6796
|
-
subComponents:
|
|
6797
|
-
graphSeries:
|
|
6968
|
+
subComponents: we(l, "APP-03", { cpuLoad: 45, memLoad: 63 }),
|
|
6969
|
+
graphSeries: Se({ cpuLoad: 45, memLoad: 63 })
|
|
6798
6970
|
},
|
|
6799
6971
|
children: /* @__PURE__ */ e(
|
|
6800
|
-
|
|
6972
|
+
se,
|
|
6801
6973
|
{
|
|
6802
6974
|
rotateY: o,
|
|
6803
6975
|
autoRotate: i,
|
|
@@ -6811,7 +6983,7 @@ function fi({ config: t }) {
|
|
|
6811
6983
|
}
|
|
6812
6984
|
),
|
|
6813
6985
|
/* @__PURE__ */ e(
|
|
6814
|
-
|
|
6986
|
+
A,
|
|
6815
6987
|
{
|
|
6816
6988
|
ex: 200,
|
|
6817
6989
|
ey: 520,
|
|
@@ -6827,10 +6999,10 @@ function fi({ config: t }) {
|
|
|
6827
6999
|
status: h,
|
|
6828
7000
|
context: { capacity: 72 },
|
|
6829
7001
|
subComponents: ze(h, "DB-PRI", { capacity: 72 }),
|
|
6830
|
-
graphSeries:
|
|
7002
|
+
graphSeries: Be({ capacity: 72 })
|
|
6831
7003
|
},
|
|
6832
7004
|
children: /* @__PURE__ */ e(
|
|
6833
|
-
|
|
7005
|
+
Ae,
|
|
6834
7006
|
{
|
|
6835
7007
|
rotateY: -o,
|
|
6836
7008
|
autoRotate: i,
|
|
@@ -6844,7 +7016,7 @@ function fi({ config: t }) {
|
|
|
6844
7016
|
}
|
|
6845
7017
|
),
|
|
6846
7018
|
/* @__PURE__ */ e(
|
|
6847
|
-
|
|
7019
|
+
A,
|
|
6848
7020
|
{
|
|
6849
7021
|
ex: 460,
|
|
6850
7022
|
ey: 520,
|
|
@@ -6860,10 +7032,10 @@ function fi({ config: t }) {
|
|
|
6860
7032
|
status: c,
|
|
6861
7033
|
context: { capacity: 72 },
|
|
6862
7034
|
subComponents: ze(c, "DB-STB", { capacity: 72 }),
|
|
6863
|
-
graphSeries:
|
|
7035
|
+
graphSeries: Be({ capacity: 72 })
|
|
6864
7036
|
},
|
|
6865
7037
|
children: /* @__PURE__ */ e(
|
|
6866
|
-
|
|
7038
|
+
Ae,
|
|
6867
7039
|
{
|
|
6868
7040
|
rotateY: o,
|
|
6869
7041
|
autoRotate: i,
|
|
@@ -6877,7 +7049,7 @@ function fi({ config: t }) {
|
|
|
6877
7049
|
}
|
|
6878
7050
|
),
|
|
6879
7051
|
/* @__PURE__ */ e(
|
|
6880
|
-
|
|
7052
|
+
A,
|
|
6881
7053
|
{
|
|
6882
7054
|
ex: 330,
|
|
6883
7055
|
ey: 520,
|
|
@@ -6886,17 +7058,17 @@ function fi({ config: t }) {
|
|
|
6886
7058
|
visibleAtPhase: 6,
|
|
6887
7059
|
fixedScale: 1,
|
|
6888
7060
|
bare: !0,
|
|
6889
|
-
children: /* @__PURE__ */ e(
|
|
7061
|
+
children: /* @__PURE__ */ e(bt, { synced: p, latencyMs: p ? 8 : 342 })
|
|
6890
7062
|
}
|
|
6891
7063
|
),
|
|
6892
|
-
/* @__PURE__ */ e(
|
|
7064
|
+
/* @__PURE__ */ e(mi, { config: t })
|
|
6893
7065
|
] });
|
|
6894
7066
|
}
|
|
6895
|
-
function
|
|
6896
|
-
const n =
|
|
7067
|
+
function mi({ config: t }) {
|
|
7068
|
+
const n = re.useContext(ce), { dispStatus: o, srv1Status: i, srv2Status: r, srv3Status: a, pdbStatus: s, sdbStatus: l, dbSync: h } = t, c = n?.isSelected && n?.isExpandedPos;
|
|
6897
7069
|
return n?.isSelected ? /* @__PURE__ */ d("div", { style: { pointerEvents: "none" }, children: [
|
|
6898
7070
|
/* @__PURE__ */ e(
|
|
6899
|
-
|
|
7071
|
+
W,
|
|
6900
7072
|
{
|
|
6901
7073
|
ex: 330,
|
|
6902
7074
|
ey: 260,
|
|
@@ -6911,7 +7083,7 @@ function hi({ config: t }) {
|
|
|
6911
7083
|
}
|
|
6912
7084
|
),
|
|
6913
7085
|
/* @__PURE__ */ e(
|
|
6914
|
-
|
|
7086
|
+
W,
|
|
6915
7087
|
{
|
|
6916
7088
|
ex: 165,
|
|
6917
7089
|
ey: 390,
|
|
@@ -6926,7 +7098,7 @@ function hi({ config: t }) {
|
|
|
6926
7098
|
}
|
|
6927
7099
|
),
|
|
6928
7100
|
/* @__PURE__ */ e(
|
|
6929
|
-
|
|
7101
|
+
W,
|
|
6930
7102
|
{
|
|
6931
7103
|
ex: 330,
|
|
6932
7104
|
ey: 390,
|
|
@@ -6941,7 +7113,7 @@ function hi({ config: t }) {
|
|
|
6941
7113
|
}
|
|
6942
7114
|
),
|
|
6943
7115
|
/* @__PURE__ */ e(
|
|
6944
|
-
|
|
7116
|
+
W,
|
|
6945
7117
|
{
|
|
6946
7118
|
ex: 495,
|
|
6947
7119
|
ey: 390,
|
|
@@ -6956,7 +7128,7 @@ function hi({ config: t }) {
|
|
|
6956
7128
|
}
|
|
6957
7129
|
),
|
|
6958
7130
|
/* @__PURE__ */ e(
|
|
6959
|
-
|
|
7131
|
+
W,
|
|
6960
7132
|
{
|
|
6961
7133
|
ex: 200,
|
|
6962
7134
|
ey: 520,
|
|
@@ -6971,7 +7143,7 @@ function hi({ config: t }) {
|
|
|
6971
7143
|
}
|
|
6972
7144
|
),
|
|
6973
7145
|
/* @__PURE__ */ e(
|
|
6974
|
-
|
|
7146
|
+
W,
|
|
6975
7147
|
{
|
|
6976
7148
|
ex: 460,
|
|
6977
7149
|
ey: 520,
|
|
@@ -6986,7 +7158,7 @@ function hi({ config: t }) {
|
|
|
6986
7158
|
}
|
|
6987
7159
|
),
|
|
6988
7160
|
!h && /* @__PURE__ */ e(
|
|
6989
|
-
|
|
7161
|
+
W,
|
|
6990
7162
|
{
|
|
6991
7163
|
ex: 330,
|
|
6992
7164
|
ey: 520,
|
|
@@ -7002,75 +7174,78 @@ function hi({ config: t }) {
|
|
|
7002
7174
|
)
|
|
7003
7175
|
] }) : null;
|
|
7004
7176
|
}
|
|
7005
|
-
function
|
|
7177
|
+
function Bi({ config: t, ...n }) {
|
|
7006
7178
|
return /* @__PURE__ */ e(
|
|
7007
|
-
|
|
7179
|
+
ut,
|
|
7008
7180
|
{
|
|
7009
7181
|
name: t.name,
|
|
7010
|
-
status:
|
|
7011
|
-
connections:
|
|
7182
|
+
status: ot(t),
|
|
7183
|
+
connections: gi,
|
|
7012
7184
|
...n,
|
|
7013
|
-
children: /* @__PURE__ */ e(
|
|
7185
|
+
children: /* @__PURE__ */ e(yi, { config: t })
|
|
7014
7186
|
}
|
|
7015
7187
|
);
|
|
7016
7188
|
}
|
|
7017
7189
|
export {
|
|
7018
|
-
|
|
7019
|
-
|
|
7190
|
+
Li as AIOPsDashboard,
|
|
7191
|
+
We as CPU3D,
|
|
7020
7192
|
zt as Carousel,
|
|
7021
|
-
|
|
7022
|
-
|
|
7023
|
-
|
|
7024
|
-
|
|
7025
|
-
|
|
7026
|
-
|
|
7027
|
-
|
|
7028
|
-
|
|
7029
|
-
|
|
7030
|
-
|
|
7031
|
-
|
|
7032
|
-
|
|
7033
|
-
|
|
7034
|
-
|
|
7035
|
-
|
|
7036
|
-
|
|
7037
|
-
|
|
7038
|
-
|
|
7039
|
-
|
|
7040
|
-
|
|
7041
|
-
|
|
7042
|
-
|
|
7043
|
-
|
|
7044
|
-
|
|
7045
|
-
|
|
7046
|
-
|
|
7047
|
-
|
|
7048
|
-
|
|
7049
|
-
|
|
7050
|
-
|
|
7051
|
-
|
|
7052
|
-
|
|
7053
|
-
|
|
7054
|
-
|
|
7055
|
-
|
|
7056
|
-
|
|
7057
|
-
|
|
7058
|
-
|
|
7059
|
-
|
|
7060
|
-
|
|
7061
|
-
|
|
7062
|
-
|
|
7063
|
-
|
|
7064
|
-
|
|
7065
|
-
|
|
7193
|
+
Ze as CarouselContext,
|
|
7194
|
+
Je as CarouselItemContext,
|
|
7195
|
+
Nt as ComponentDialog,
|
|
7196
|
+
Ii as ComponentDrillView,
|
|
7197
|
+
ci as DataProvider,
|
|
7198
|
+
Ae as Database3D,
|
|
7199
|
+
Ci as DatabaseNode,
|
|
7200
|
+
ve as DriveBay3D,
|
|
7201
|
+
gi as EXCHANGE_CONNECTIONS,
|
|
7202
|
+
Bi as ExchangeService,
|
|
7203
|
+
$i as HOLO_BLUE,
|
|
7204
|
+
Si as HOLO_CYAN,
|
|
7205
|
+
Ge as HOLO_GLASS,
|
|
7206
|
+
Re as HOLO_SURFACE,
|
|
7207
|
+
ii as HistoricalGraphPanel,
|
|
7208
|
+
Ht as HoloBase,
|
|
7209
|
+
tt as Human3D,
|
|
7210
|
+
Ei as HumanNode,
|
|
7211
|
+
Me as Memory3D,
|
|
7212
|
+
gt as MessageServer3D,
|
|
7213
|
+
Ai as MessageServerNode,
|
|
7214
|
+
mt as NetworkBlock3D,
|
|
7215
|
+
W as NodeCallout,
|
|
7216
|
+
Ne as Platter3D,
|
|
7217
|
+
H as Port3D,
|
|
7218
|
+
Wi as SAPService,
|
|
7219
|
+
hi as SAP_CONNECTIONS,
|
|
7220
|
+
k as STATUS_CFG,
|
|
7221
|
+
se as Server3D,
|
|
7222
|
+
Pi as ServerNode,
|
|
7223
|
+
ut as Service,
|
|
7224
|
+
ce as ServiceContext,
|
|
7225
|
+
Lt as ServiceDialog,
|
|
7226
|
+
A as ServiceNode,
|
|
7227
|
+
Bt as SvgConnection,
|
|
7228
|
+
bt as SyncBridge,
|
|
7229
|
+
M as ThreadPool3D,
|
|
7230
|
+
it as WebDispatcher3D,
|
|
7231
|
+
Ti as WebDispatcherNode,
|
|
7232
|
+
zi as computeExchangeDialogAlerts,
|
|
7233
|
+
Mi as computeExchangeDialogMetrics,
|
|
7234
|
+
ot as computeExchangeServiceStatus,
|
|
7235
|
+
Ni as computeSAPDialogAlerts,
|
|
7236
|
+
Di as computeSAPDialogMetrics,
|
|
7237
|
+
nt as computeSAPServiceStatus,
|
|
7238
|
+
Be as getDatabaseGraphSeries,
|
|
7066
7239
|
ze as getDatabaseSubComponents,
|
|
7067
|
-
|
|
7068
|
-
|
|
7069
|
-
|
|
7070
|
-
|
|
7071
|
-
|
|
7072
|
-
|
|
7073
|
-
|
|
7074
|
-
|
|
7075
|
-
|
|
7240
|
+
St as getDispatcherGraphSeries,
|
|
7241
|
+
wt as getDispatcherSubComponents,
|
|
7242
|
+
fi as getMessageServerGraphSeries,
|
|
7243
|
+
pi as getMessageServerSubComponents,
|
|
7244
|
+
Se as getServerGraphSeries,
|
|
7245
|
+
we as getServerSubComponents,
|
|
7246
|
+
Ke as makeFaceStyles,
|
|
7247
|
+
di as useAIOpsData,
|
|
7248
|
+
ki as useCarouselContext,
|
|
7249
|
+
Ri as useCarouselItemContext,
|
|
7250
|
+
Oi as useQueryResult
|
|
7076
7251
|
};
|