react-aiops 0.1.0 → 0.1.2
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 +7 -1
- package/dist/AIOPsDashboard.d.ts.map +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +572 -568
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsxs as d, jsx as e, Fragment as Ce } from "react/jsx-runtime";
|
|
2
|
-
import J, { createContext as
|
|
2
|
+
import J, { createContext as Xe, useContext as ve, useState as A, useEffect as Ee, useMemo as Et, useRef as ee } from "react";
|
|
3
3
|
const Tt = {
|
|
4
4
|
info: { color: "#00ff88", bg: "rgba(0, 255, 136, 0.1)", border: "#00ff88", icon: "✅" },
|
|
5
5
|
warning: { color: "#ff8c00", bg: "rgba(255, 140, 0, 0.1)", border: "#ff8c00", icon: "⚠️" },
|
|
@@ -13,7 +13,7 @@ function At({
|
|
|
13
13
|
metrics: r,
|
|
14
14
|
alerts: a
|
|
15
15
|
}) {
|
|
16
|
-
const s = n === "critical" || n === "offline", l = n === "warning",
|
|
16
|
+
const s = n === "critical" || n === "offline", l = n === "warning", f = r ?? [
|
|
17
17
|
{
|
|
18
18
|
label: "Uptime",
|
|
19
19
|
value: s ? "92.14%" : "99.98%",
|
|
@@ -115,10 +115,10 @@ function At({
|
|
|
115
115
|
fontSize: 13,
|
|
116
116
|
color: "#a0b0c0"
|
|
117
117
|
},
|
|
118
|
-
children:
|
|
118
|
+
children: f.map((p, h) => /* @__PURE__ */ d("div", { style: { display: "flex", justifyContent: "space-between" }, children: [
|
|
119
119
|
/* @__PURE__ */ e("span", { children: p.label }),
|
|
120
120
|
/* @__PURE__ */ e("span", { style: { color: p.color }, children: p.value })
|
|
121
|
-
] },
|
|
121
|
+
] }, h))
|
|
122
122
|
}
|
|
123
123
|
),
|
|
124
124
|
/* @__PURE__ */ d(
|
|
@@ -145,7 +145,7 @@ function At({
|
|
|
145
145
|
children: "SYSTEM ALERTS"
|
|
146
146
|
}
|
|
147
147
|
),
|
|
148
|
-
c.map((p,
|
|
148
|
+
c.map((p, h) => {
|
|
149
149
|
const b = Tt[p.level];
|
|
150
150
|
return /* @__PURE__ */ d(
|
|
151
151
|
"div",
|
|
@@ -167,7 +167,7 @@ function At({
|
|
|
167
167
|
/* @__PURE__ */ e("span", { children: p.message })
|
|
168
168
|
]
|
|
169
169
|
},
|
|
170
|
-
|
|
170
|
+
h
|
|
171
171
|
);
|
|
172
172
|
})
|
|
173
173
|
]
|
|
@@ -177,13 +177,13 @@ function At({
|
|
|
177
177
|
}
|
|
178
178
|
);
|
|
179
179
|
}
|
|
180
|
-
const
|
|
180
|
+
const S = {
|
|
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
|
-
}, yi = "#00e5ff", mi = "#0055cc", we = "linear-gradient(180deg, #071428 0%, #040c1c 60%, #030810 100%)",
|
|
186
|
-
function
|
|
185
|
+
}, yi = "#00e5ff", mi = "#0055cc", we = "linear-gradient(180deg, #071428 0%, #040c1c 60%, #030810 100%)", Qe = "linear-gradient(180deg, rgba(10,25,50,0.35) 0%, rgba(5,15,35,0.25) 60%, rgba(3,10,20,0.15) 100%)";
|
|
186
|
+
function qe(t, n, o) {
|
|
187
187
|
const i = {
|
|
188
188
|
position: "absolute",
|
|
189
189
|
overflow: "hidden",
|
|
@@ -233,14 +233,14 @@ function Xe(t, n, o) {
|
|
|
233
233
|
}
|
|
234
234
|
};
|
|
235
235
|
}
|
|
236
|
-
const
|
|
237
|
-
function
|
|
238
|
-
return
|
|
236
|
+
const Ve = "cubic-bezier(0.34, 1.56, 0.64, 1)", _e = "cubic-bezier(0.16, 1, 0.3, 1)";
|
|
237
|
+
function st(t) {
|
|
238
|
+
return S[t]?.color ?? S.online.color;
|
|
239
239
|
}
|
|
240
240
|
function Lt(t, n, o) {
|
|
241
241
|
return t >= o ? "#ff2255" : t >= n ? "#ff8c00" : "#00e5ff";
|
|
242
242
|
}
|
|
243
|
-
function
|
|
243
|
+
function Fe(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
246
|
function It({
|
|
@@ -250,18 +250,18 @@ function It({
|
|
|
250
250
|
sceneWidth: i = 660,
|
|
251
251
|
sceneHeight: r = 600
|
|
252
252
|
}) {
|
|
253
|
-
const { type: a, name: s, status: l, ex:
|
|
253
|
+
const { type: a, name: s, status: l, ex: f, ey: c, context: p = {} } = t, h = st(l), b = f >= i / 2, u = c >= r / 2, g = {
|
|
254
254
|
position: "fixed",
|
|
255
255
|
...b ? { right: 28 } : { left: 28 },
|
|
256
|
-
...
|
|
257
|
-
}, m = b ? 40 : -40,
|
|
256
|
+
...u ? { bottom: 110 } : { top: 72 }
|
|
257
|
+
}, m = b ? 40 : -40, x = u ? 30 : -30, w = p.cpuLoad ?? p.traffic ?? 50, P = p.memLoad ?? p.queueDepth ?? 60, y = p.capacity ?? 72, D = Fe(l, w, 70, 85), B = Fe(l, P, 75, 88), k = Fe(l, y, 75, 90), V = [
|
|
258
258
|
{
|
|
259
259
|
id: "cpu",
|
|
260
260
|
label: a === "dispatcher" ? "TRAFFIC" : a === "messageServer" ? "QUEUE" : "CPU",
|
|
261
261
|
sublabel: a === "dispatcher" ? "PORT LOAD" : a === "messageServer" ? "QUEUE DEPTH" : "PROCESSOR",
|
|
262
|
-
value:
|
|
262
|
+
value: w,
|
|
263
263
|
unit: "%",
|
|
264
|
-
status:
|
|
264
|
+
status: D,
|
|
265
265
|
icon: "cpu",
|
|
266
266
|
delay: 0
|
|
267
267
|
},
|
|
@@ -269,9 +269,9 @@ function It({
|
|
|
269
269
|
id: "mem",
|
|
270
270
|
label: "MEMORY",
|
|
271
271
|
sublabel: a === "database" ? "BUFFER POOL" : "HEAP USAGE",
|
|
272
|
-
value:
|
|
272
|
+
value: P,
|
|
273
273
|
unit: "%",
|
|
274
|
-
status:
|
|
274
|
+
status: B,
|
|
275
275
|
icon: "mem",
|
|
276
276
|
delay: 1
|
|
277
277
|
},
|
|
@@ -279,9 +279,9 @@ function It({
|
|
|
279
279
|
id: "storage",
|
|
280
280
|
label: "STORAGE",
|
|
281
281
|
sublabel: a === "database" ? "TABLESPACE" : "DISK I/O",
|
|
282
|
-
value:
|
|
282
|
+
value: y,
|
|
283
283
|
unit: "%",
|
|
284
|
-
status:
|
|
284
|
+
status: k,
|
|
285
285
|
icon: "disk",
|
|
286
286
|
delay: 2
|
|
287
287
|
}
|
|
@@ -290,22 +290,22 @@ function It({
|
|
|
290
290
|
"div",
|
|
291
291
|
{
|
|
292
292
|
style: {
|
|
293
|
-
...
|
|
293
|
+
...g,
|
|
294
294
|
width: 420,
|
|
295
295
|
background: "linear-gradient(170deg, rgba(2, 10, 22, 0.96) 0%, rgba(2, 6, 14, 0.98) 100%)",
|
|
296
296
|
backdropFilter: "blur(20px)",
|
|
297
297
|
WebkitBackdropFilter: "blur(20px)",
|
|
298
|
-
border: `1.5px solid ${
|
|
298
|
+
border: `1.5px solid ${h}44`,
|
|
299
299
|
borderRadius: 14,
|
|
300
300
|
fontFamily: "'Courier New', monospace",
|
|
301
301
|
overflow: "hidden",
|
|
302
302
|
opacity: o ? 1 : 0,
|
|
303
|
-
transform: o ? "scale(1) translate(0, 0)" : `scale(0.7) translate(${m}px, ${
|
|
304
|
-
transition: `opacity 0.45s ${
|
|
303
|
+
transform: o ? "scale(1) translate(0, 0)" : `scale(0.7) translate(${m}px, ${x}px)`,
|
|
304
|
+
transition: `opacity 0.45s ${_e}, transform 0.55s ${Ve}`,
|
|
305
305
|
pointerEvents: o ? "auto" : "none",
|
|
306
306
|
zIndex: 9999,
|
|
307
307
|
animation: o ? "comp-dialog-border-glow 3s ease-in-out infinite" : "none",
|
|
308
|
-
"--dialog-color":
|
|
308
|
+
"--dialog-color": h
|
|
309
309
|
},
|
|
310
310
|
onClick: (v) => v.stopPropagation(),
|
|
311
311
|
children: [
|
|
@@ -318,8 +318,8 @@ function It({
|
|
|
318
318
|
left: 0,
|
|
319
319
|
right: 0,
|
|
320
320
|
height: 2,
|
|
321
|
-
background: `linear-gradient(90deg, transparent 2%, ${
|
|
322
|
-
boxShadow: `0 0 12px ${
|
|
321
|
+
background: `linear-gradient(90deg, transparent 2%, ${h}aa 30%, #fff 50%, ${h}aa 70%, transparent 98%)`,
|
|
322
|
+
boxShadow: `0 0 12px ${h}, 0 0 24px ${h}44`,
|
|
323
323
|
animation: o ? "holo-scan 3.5s linear infinite" : "none",
|
|
324
324
|
pointerEvents: "none",
|
|
325
325
|
zIndex: 10
|
|
@@ -333,8 +333,8 @@ function It({
|
|
|
333
333
|
position: "absolute",
|
|
334
334
|
inset: 0,
|
|
335
335
|
backgroundImage: `
|
|
336
|
-
linear-gradient(${
|
|
337
|
-
linear-gradient(90deg, ${
|
|
336
|
+
linear-gradient(${h}06 1px, transparent 1px),
|
|
337
|
+
linear-gradient(90deg, ${h}06 1px, transparent 1px)
|
|
338
338
|
`,
|
|
339
339
|
backgroundSize: "20px 20px",
|
|
340
340
|
pointerEvents: "none",
|
|
@@ -346,37 +346,37 @@ function It({
|
|
|
346
346
|
{
|
|
347
347
|
top: 0,
|
|
348
348
|
left: 0,
|
|
349
|
-
borderTop: `2px solid ${
|
|
350
|
-
borderLeft: `2px solid ${
|
|
349
|
+
borderTop: `2px solid ${h}66`,
|
|
350
|
+
borderLeft: `2px solid ${h}66`,
|
|
351
351
|
borderRadius: "14px 0 0 0"
|
|
352
352
|
},
|
|
353
353
|
{
|
|
354
354
|
top: 0,
|
|
355
355
|
right: 0,
|
|
356
|
-
borderTop: `2px solid ${
|
|
357
|
-
borderRight: `2px solid ${
|
|
356
|
+
borderTop: `2px solid ${h}66`,
|
|
357
|
+
borderRight: `2px solid ${h}66`,
|
|
358
358
|
borderRadius: "0 14px 0 0"
|
|
359
359
|
},
|
|
360
360
|
{
|
|
361
361
|
bottom: 0,
|
|
362
362
|
left: 0,
|
|
363
|
-
borderBottom: `2px solid ${
|
|
364
|
-
borderLeft: `2px solid ${
|
|
363
|
+
borderBottom: `2px solid ${h}66`,
|
|
364
|
+
borderLeft: `2px solid ${h}66`,
|
|
365
365
|
borderRadius: "0 0 0 14px"
|
|
366
366
|
},
|
|
367
367
|
{
|
|
368
368
|
bottom: 0,
|
|
369
369
|
right: 0,
|
|
370
|
-
borderBottom: `2px solid ${
|
|
371
|
-
borderRight: `2px solid ${
|
|
370
|
+
borderBottom: `2px solid ${h}66`,
|
|
371
|
+
borderRight: `2px solid ${h}66`,
|
|
372
372
|
borderRadius: "0 0 14px 0"
|
|
373
373
|
}
|
|
374
|
-
].map((v,
|
|
374
|
+
].map((v, W) => /* @__PURE__ */ e(
|
|
375
375
|
"div",
|
|
376
376
|
{
|
|
377
377
|
style: { position: "absolute", width: 18, height: 18, pointerEvents: "none", ...v }
|
|
378
378
|
},
|
|
379
|
-
|
|
379
|
+
W
|
|
380
380
|
)),
|
|
381
381
|
/* @__PURE__ */ d(
|
|
382
382
|
"div",
|
|
@@ -386,8 +386,8 @@ function It({
|
|
|
386
386
|
alignItems: "center",
|
|
387
387
|
justifyContent: "space-between",
|
|
388
388
|
padding: "18px 22px",
|
|
389
|
-
borderBottom: `1px solid ${
|
|
390
|
-
background: `linear-gradient(180deg, ${
|
|
389
|
+
borderBottom: `1px solid ${h}22`,
|
|
390
|
+
background: `linear-gradient(180deg, ${h}12 0%, transparent 100%)`,
|
|
391
391
|
position: "relative",
|
|
392
392
|
zIndex: 2
|
|
393
393
|
},
|
|
@@ -401,8 +401,8 @@ function It({
|
|
|
401
401
|
width: 10,
|
|
402
402
|
height: 10,
|
|
403
403
|
borderRadius: "50%",
|
|
404
|
-
background:
|
|
405
|
-
boxShadow: `0 0 12px ${
|
|
404
|
+
background: h,
|
|
405
|
+
boxShadow: `0 0 12px ${h}, 0 0 24px ${h}66`,
|
|
406
406
|
animation: l === "warning" || l === "critical" ? "holo-led-blink 1.5s infinite" : "none"
|
|
407
407
|
}
|
|
408
408
|
}
|
|
@@ -414,7 +414,7 @@ function It({
|
|
|
414
414
|
position: "absolute",
|
|
415
415
|
inset: -4,
|
|
416
416
|
borderRadius: "50%",
|
|
417
|
-
border: `1px solid ${
|
|
417
|
+
border: `1px solid ${h}44`,
|
|
418
418
|
animation: l === "warning" || l === "critical" ? "holo-ring-pulse 2s ease-in-out infinite" : "none"
|
|
419
419
|
}
|
|
420
420
|
}
|
|
@@ -427,13 +427,13 @@ function It({
|
|
|
427
427
|
style: {
|
|
428
428
|
fontSize: 16,
|
|
429
429
|
fontWeight: 700,
|
|
430
|
-
color:
|
|
430
|
+
color: h,
|
|
431
431
|
letterSpacing: "0.12em",
|
|
432
432
|
textTransform: "uppercase",
|
|
433
433
|
whiteSpace: "nowrap",
|
|
434
434
|
overflow: "hidden",
|
|
435
435
|
textOverflow: "ellipsis",
|
|
436
|
-
textShadow: `0 0 10px ${
|
|
436
|
+
textShadow: `0 0 10px ${h}88, 0 0 20px ${h}44`
|
|
437
437
|
},
|
|
438
438
|
children: s
|
|
439
439
|
}
|
|
@@ -443,7 +443,7 @@ function It({
|
|
|
443
443
|
{
|
|
444
444
|
style: {
|
|
445
445
|
fontSize: 9,
|
|
446
|
-
color: `${
|
|
446
|
+
color: `${h}88`,
|
|
447
447
|
letterSpacing: "0.2em",
|
|
448
448
|
textTransform: "uppercase"
|
|
449
449
|
},
|
|
@@ -462,9 +462,9 @@ function It({
|
|
|
462
462
|
width: 34,
|
|
463
463
|
height: 34,
|
|
464
464
|
borderRadius: 8,
|
|
465
|
-
border: `1px solid ${
|
|
466
|
-
background: `linear-gradient(135deg, rgba(0,0,0,0.5) 0%, ${
|
|
467
|
-
color:
|
|
465
|
+
border: `1px solid ${h}44`,
|
|
466
|
+
background: `linear-gradient(135deg, rgba(0,0,0,0.5) 0%, ${h}08 100%)`,
|
|
467
|
+
color: h,
|
|
468
468
|
fontSize: 18,
|
|
469
469
|
cursor: "pointer",
|
|
470
470
|
display: "flex",
|
|
@@ -475,10 +475,10 @@ function It({
|
|
|
475
475
|
flexShrink: 0
|
|
476
476
|
},
|
|
477
477
|
onMouseEnter: (v) => {
|
|
478
|
-
v.currentTarget.style.background = `${
|
|
478
|
+
v.currentTarget.style.background = `${h}22`, v.currentTarget.style.boxShadow = `0 0 12px ${h}44`;
|
|
479
479
|
},
|
|
480
480
|
onMouseLeave: (v) => {
|
|
481
|
-
v.currentTarget.style.background = `linear-gradient(135deg, rgba(0,0,0,0.5) 0%, ${
|
|
481
|
+
v.currentTarget.style.background = `linear-gradient(135deg, rgba(0,0,0,0.5) 0%, ${h}08 100%)`, v.currentTarget.style.boxShadow = "none";
|
|
482
482
|
},
|
|
483
483
|
children: "×"
|
|
484
484
|
}
|
|
@@ -497,7 +497,7 @@ function It({
|
|
|
497
497
|
position: "relative",
|
|
498
498
|
zIndex: 2
|
|
499
499
|
},
|
|
500
|
-
children:
|
|
500
|
+
children: V.map((v) => /* @__PURE__ */ e(Ot, { metric: v, visible: o, accentColor: h }, v.id))
|
|
501
501
|
}
|
|
502
502
|
),
|
|
503
503
|
/* @__PURE__ */ d(
|
|
@@ -505,14 +505,14 @@ function It({
|
|
|
505
505
|
{
|
|
506
506
|
style: {
|
|
507
507
|
padding: "12px 22px",
|
|
508
|
-
borderTop: `1px solid ${
|
|
509
|
-
background: `${
|
|
508
|
+
borderTop: `1px solid ${h}18`,
|
|
509
|
+
background: `${h}06`,
|
|
510
510
|
display: "flex",
|
|
511
511
|
alignItems: "center",
|
|
512
512
|
justifyContent: "space-between",
|
|
513
513
|
fontSize: 9,
|
|
514
514
|
letterSpacing: "0.18em",
|
|
515
|
-
color: `${
|
|
515
|
+
color: `${h}66`,
|
|
516
516
|
textTransform: "uppercase",
|
|
517
517
|
position: "relative",
|
|
518
518
|
zIndex: 2
|
|
@@ -531,8 +531,8 @@ function It({
|
|
|
531
531
|
width: 5,
|
|
532
532
|
height: 5,
|
|
533
533
|
borderRadius: "50%",
|
|
534
|
-
background: l === "online" ? "#00ff88" :
|
|
535
|
-
boxShadow: `0 0 6px ${l === "online" ? "#00ff88" :
|
|
534
|
+
background: l === "online" ? "#00ff88" : h,
|
|
535
|
+
boxShadow: `0 0 6px ${l === "online" ? "#00ff88" : h}`,
|
|
536
536
|
animation: l === "warning" || l === "critical" ? "holo-led-blink 1.5s infinite" : "none"
|
|
537
537
|
}
|
|
538
538
|
}
|
|
@@ -551,7 +551,7 @@ function Ot({
|
|
|
551
551
|
visible: n,
|
|
552
552
|
accentColor: o
|
|
553
553
|
}) {
|
|
554
|
-
const { label: i, sublabel: r, value: a, unit: s, status: l, icon:
|
|
554
|
+
const { label: i, sublabel: r, value: a, unit: s, status: l, icon: f, delay: c } = t, p = Lt(a, 70, 85), h = st(l);
|
|
555
555
|
return /* @__PURE__ */ d(
|
|
556
556
|
"div",
|
|
557
557
|
{
|
|
@@ -561,7 +561,7 @@ function Ot({
|
|
|
561
561
|
gap: 16,
|
|
562
562
|
opacity: n ? 1 : 0,
|
|
563
563
|
transform: n ? "translateY(0)" : "translateY(12px)",
|
|
564
|
-
transition: `opacity 0.4s ${
|
|
564
|
+
transition: `opacity 0.4s ${_e} ${0.3 + c * 0.12}s, transform 0.5s ${Ve} ${0.3 + c * 0.12}s`
|
|
565
565
|
},
|
|
566
566
|
children: [
|
|
567
567
|
/* @__PURE__ */ d(
|
|
@@ -571,18 +571,18 @@ function Ot({
|
|
|
571
571
|
width: 52,
|
|
572
572
|
height: 52,
|
|
573
573
|
borderRadius: 12,
|
|
574
|
-
border: `1px solid ${
|
|
575
|
-
background: `linear-gradient(135deg, ${
|
|
574
|
+
border: `1px solid ${h}44`,
|
|
575
|
+
background: `linear-gradient(135deg, ${h}0c 0%, ${h}04 100%)`,
|
|
576
576
|
display: "flex",
|
|
577
577
|
alignItems: "center",
|
|
578
578
|
justifyContent: "center",
|
|
579
579
|
flexShrink: 0,
|
|
580
580
|
position: "relative",
|
|
581
581
|
overflow: "hidden",
|
|
582
|
-
animation: n ? `comp-dialog-icon-pop 0.5s ${
|
|
582
|
+
animation: n ? `comp-dialog-icon-pop 0.5s ${Ve} ${0.35 + c * 0.12}s both` : "none"
|
|
583
583
|
},
|
|
584
584
|
children: [
|
|
585
|
-
/* @__PURE__ */ e(Dt, { type:
|
|
585
|
+
/* @__PURE__ */ e(Dt, { type: f, color: h }),
|
|
586
586
|
(l === "warning" || l === "critical") && /* @__PURE__ */ e(
|
|
587
587
|
"div",
|
|
588
588
|
{
|
|
@@ -593,8 +593,8 @@ function Ot({
|
|
|
593
593
|
width: 5,
|
|
594
594
|
height: 5,
|
|
595
595
|
borderRadius: "50%",
|
|
596
|
-
background:
|
|
597
|
-
boxShadow: `0 0 6px ${
|
|
596
|
+
background: h,
|
|
597
|
+
boxShadow: `0 0 6px ${h}`,
|
|
598
598
|
animation: "holo-led-blink 1.2s infinite"
|
|
599
599
|
}
|
|
600
600
|
}
|
|
@@ -681,7 +681,7 @@ function Ot({
|
|
|
681
681
|
background: `linear-gradient(90deg, ${p}66, ${p})`,
|
|
682
682
|
boxShadow: `0 0 8px ${p}44`,
|
|
683
683
|
transformOrigin: "left center",
|
|
684
|
-
animation: n ? `comp-dialog-metric-fill 0.8s ${
|
|
684
|
+
animation: n ? `comp-dialog-metric-fill 0.8s ${_e} ${0.4 + c * 0.12}s both` : "none"
|
|
685
685
|
}
|
|
686
686
|
}
|
|
687
687
|
),
|
|
@@ -832,12 +832,12 @@ function Dt({ type: t, color: n }) {
|
|
|
832
832
|
/* @__PURE__ */ e("line", { x1: "18", y1: "12", x2: "21", y2: "12", stroke: n, strokeWidth: "0.8" })
|
|
833
833
|
] });
|
|
834
834
|
}
|
|
835
|
-
const
|
|
835
|
+
const Ge = Xe(null), Ke = Xe({ index: 0 });
|
|
836
836
|
function xi() {
|
|
837
|
-
return ve(
|
|
837
|
+
return ve(Ge);
|
|
838
838
|
}
|
|
839
839
|
function vi() {
|
|
840
|
-
return ve(
|
|
840
|
+
return ve(Ke);
|
|
841
841
|
}
|
|
842
842
|
function Wt({
|
|
843
843
|
children: t,
|
|
@@ -848,64 +848,64 @@ function Wt({
|
|
|
848
848
|
selectedComponent: a,
|
|
849
849
|
drillAnimPhase: s,
|
|
850
850
|
rotateY: l = 20,
|
|
851
|
-
autoRotateComponents:
|
|
851
|
+
autoRotateComponents: f = !0,
|
|
852
852
|
componentScale: c = 0.35,
|
|
853
853
|
drillZoom: p = 3.3,
|
|
854
|
-
autoRotateCarousel:
|
|
854
|
+
autoRotateCarousel: h = !0,
|
|
855
855
|
carouselSpeed: b = 6e-3,
|
|
856
|
-
width:
|
|
857
|
-
height:
|
|
856
|
+
width: u = 950,
|
|
857
|
+
height: g = 790,
|
|
858
858
|
onSelectSystem: m,
|
|
859
|
-
onBackgroundClick:
|
|
860
|
-
onComponentClick:
|
|
861
|
-
onCloseDrill:
|
|
862
|
-
selectedSystemStatus:
|
|
863
|
-
selectedSystemDbSync:
|
|
864
|
-
selectedSystemMetrics:
|
|
865
|
-
selectedSystemAlerts:
|
|
859
|
+
onBackgroundClick: x,
|
|
860
|
+
onComponentClick: w,
|
|
861
|
+
onCloseDrill: P,
|
|
862
|
+
selectedSystemStatus: y = "online",
|
|
863
|
+
selectedSystemDbSync: D = !0,
|
|
864
|
+
selectedSystemMetrics: B,
|
|
865
|
+
selectedSystemAlerts: k
|
|
866
866
|
}) {
|
|
867
|
-
const [
|
|
867
|
+
const [V, v] = A(0);
|
|
868
868
|
Ee(() => {
|
|
869
|
-
let
|
|
870
|
-
if ((o === "compact" || o === "collapsing") &&
|
|
871
|
-
const
|
|
872
|
-
v((ne) => ne + b),
|
|
869
|
+
let I;
|
|
870
|
+
if ((o === "compact" || o === "collapsing") && h) {
|
|
871
|
+
const F = () => {
|
|
872
|
+
v((ne) => ne + b), I = requestAnimationFrame(F);
|
|
873
873
|
};
|
|
874
|
-
|
|
874
|
+
I = requestAnimationFrame(F);
|
|
875
875
|
}
|
|
876
|
-
return () => cancelAnimationFrame(
|
|
877
|
-
}, [o,
|
|
878
|
-
const
|
|
879
|
-
totalSystems:
|
|
880
|
-
carouselRotation:
|
|
876
|
+
return () => cancelAnimationFrame(I);
|
|
877
|
+
}, [o, h, b]);
|
|
878
|
+
const W = J.Children.toArray(t), X = W.length, z = Et(() => ({
|
|
879
|
+
totalSystems: X,
|
|
880
|
+
carouselRotation: V,
|
|
881
881
|
viewState: o,
|
|
882
882
|
animPhase: i,
|
|
883
883
|
selectedSystem: r,
|
|
884
884
|
selectedComponent: a,
|
|
885
885
|
rotateY: l,
|
|
886
|
-
autoRotateComponents:
|
|
886
|
+
autoRotateComponents: f,
|
|
887
887
|
componentScale: c,
|
|
888
888
|
drillZoom: p,
|
|
889
889
|
onSelectSystem: m,
|
|
890
|
-
onComponentClick:
|
|
891
|
-
containerWidth:
|
|
890
|
+
onComponentClick: w,
|
|
891
|
+
containerWidth: u
|
|
892
892
|
}), [
|
|
893
|
-
|
|
894
|
-
|
|
893
|
+
X,
|
|
894
|
+
V,
|
|
895
895
|
o,
|
|
896
896
|
i,
|
|
897
897
|
r,
|
|
898
898
|
a,
|
|
899
899
|
l,
|
|
900
|
-
|
|
900
|
+
f,
|
|
901
901
|
c,
|
|
902
902
|
p,
|
|
903
903
|
m,
|
|
904
|
-
|
|
905
|
-
|
|
906
|
-
]), te =
|
|
907
|
-
return /* @__PURE__ */ d(
|
|
908
|
-
/* @__PURE__ */ d("div", { style: { position: "relative", width:
|
|
904
|
+
w,
|
|
905
|
+
u
|
|
906
|
+
]), te = W.map((I, F) => /* @__PURE__ */ e(Ke.Provider, { value: { index: F }, children: I }, F)), ie = o === "expanded" || o === "expanding" && i >= 4;
|
|
907
|
+
return /* @__PURE__ */ d(Ge.Provider, { value: z, children: [
|
|
908
|
+
/* @__PURE__ */ d("div", { style: { position: "relative", width: u, height: g, margin: "0 auto", flexShrink: 0 }, children: [
|
|
909
909
|
n && (o === "compact" || o === "collapsing") && /* @__PURE__ */ e(
|
|
910
910
|
"img",
|
|
911
911
|
{
|
|
@@ -928,25 +928,25 @@ function Wt({
|
|
|
928
928
|
),
|
|
929
929
|
te
|
|
930
930
|
] }),
|
|
931
|
-
r && /* @__PURE__ */ e("div", { onClick: (
|
|
931
|
+
r && /* @__PURE__ */ e("div", { onClick: (I) => I.stopPropagation(), children: /* @__PURE__ */ e(
|
|
932
932
|
At,
|
|
933
933
|
{
|
|
934
934
|
name: r,
|
|
935
|
-
status:
|
|
936
|
-
dbSync:
|
|
935
|
+
status: y,
|
|
936
|
+
dbSync: D,
|
|
937
937
|
visible: ie && !a,
|
|
938
|
-
metrics:
|
|
939
|
-
alerts:
|
|
938
|
+
metrics: B,
|
|
939
|
+
alerts: k
|
|
940
940
|
}
|
|
941
941
|
) }),
|
|
942
|
-
a && /* @__PURE__ */ e("div", { onClick: (
|
|
942
|
+
a && /* @__PURE__ */ e("div", { onClick: (I) => I.stopPropagation(), children: /* @__PURE__ */ e(
|
|
943
943
|
It,
|
|
944
944
|
{
|
|
945
945
|
component: a,
|
|
946
|
-
onClose:
|
|
946
|
+
onClose: P,
|
|
947
947
|
visible: s >= 0.3,
|
|
948
|
-
sceneWidth:
|
|
949
|
-
sceneHeight:
|
|
948
|
+
sceneWidth: u,
|
|
949
|
+
sceneHeight: g
|
|
950
950
|
}
|
|
951
951
|
) })
|
|
952
952
|
] });
|
|
@@ -1234,8 +1234,8 @@ function Mt({
|
|
|
1234
1234
|
}, children: r })
|
|
1235
1235
|
] });
|
|
1236
1236
|
}
|
|
1237
|
-
const ae =
|
|
1238
|
-
function
|
|
1237
|
+
const ae = Xe(null), Bt = "cubic-bezier(0.34, 1.56, 0.64, 1)", it = 330, nt = 340, Ft = 660;
|
|
1238
|
+
function dt({
|
|
1239
1239
|
name: t,
|
|
1240
1240
|
status: n = "online",
|
|
1241
1241
|
connections: o = [],
|
|
@@ -1244,33 +1244,33 @@ function lt({
|
|
|
1244
1244
|
_index: a,
|
|
1245
1245
|
_totalSystems: s,
|
|
1246
1246
|
_carouselRotation: l,
|
|
1247
|
-
_viewState:
|
|
1247
|
+
_viewState: f,
|
|
1248
1248
|
_animPhase: c,
|
|
1249
1249
|
_selectedSystem: p,
|
|
1250
|
-
_selectedComponent:
|
|
1250
|
+
_selectedComponent: h,
|
|
1251
1251
|
_rotateY: b,
|
|
1252
|
-
_autoRotateComponents:
|
|
1253
|
-
_componentScale:
|
|
1252
|
+
_autoRotateComponents: u,
|
|
1253
|
+
_componentScale: g,
|
|
1254
1254
|
_drillZoom: m,
|
|
1255
|
-
_onSelectSystem:
|
|
1256
|
-
_onComponentClick:
|
|
1257
|
-
_containerWidth:
|
|
1255
|
+
_onSelectSystem: x,
|
|
1256
|
+
_onComponentClick: w,
|
|
1257
|
+
_containerWidth: P
|
|
1258
1258
|
}) {
|
|
1259
|
-
const
|
|
1259
|
+
const y = ve(Ge), D = ve(Ke), B = a ?? D.index, k = s ?? y?.totalSystems ?? 1, V = l ?? y?.carouselRotation ?? 0, v = f ?? y?.viewState ?? "compact", W = c ?? y?.animPhase ?? 0, X = p ?? y?.selectedSystem ?? null, z = h ?? y?.selectedComponent ?? null, te = b ?? y?.rotateY ?? 20, ie = u ?? y?.autoRotateComponents ?? !0, I = g ?? y?.componentScale ?? 0.35, F = m ?? y?.drillZoom ?? 3.3, ne = x ?? y?.onSelectSystem, Se = w ?? y?.onComponentClick, $e = P ?? y?.containerWidth ?? 950, Q = X === t, N = Q && (v === "expanded" || v === "expanding" && W >= 1), C = !N, ke = ($e - Ft) / 2, oe = it + ke, le = B / k * Math.PI * 2 + V, Ne = 420, Te = 160, Re = oe + Math.cos(le) * Ne, se = 450 + Math.sin(le) * Te, mt = Math.round(se), Me = !Q && (v === "expanding" || v === "expanded"), xt = Me ? 0 : 1, Pe = C ? 0.3 + (Math.sin(le) + 1) * 0.1 : 1, vt = C ? Pe : I, Ae = v === "compact" || v === "collapsing" ? "none" : "all 1s cubic-bezier(0.34, 1.56, 0.64, 1)", tt = Q && z, Be = tt ? F : 1, wt = z?.ex ?? 330, St = z?.ey ?? 300, { size: $t = 90, color: kt = "#00e5ff", widthRatio: Rt = 3 } = i ?? {}, Pt = {
|
|
1260
1260
|
name: t,
|
|
1261
|
-
isSelected:
|
|
1262
|
-
isExpandedPos:
|
|
1263
|
-
isCompact:
|
|
1264
|
-
animPhase:
|
|
1261
|
+
isSelected: Q,
|
|
1262
|
+
isExpandedPos: N,
|
|
1263
|
+
isCompact: C,
|
|
1264
|
+
animPhase: W,
|
|
1265
1265
|
compactCx: Re,
|
|
1266
1266
|
compactCy: se,
|
|
1267
1267
|
groupScale: Pe,
|
|
1268
1268
|
effectiveScale: vt,
|
|
1269
|
-
transitionValue:
|
|
1269
|
+
transitionValue: Ae,
|
|
1270
1270
|
rotateY: te,
|
|
1271
1271
|
autoRotateComponents: ie,
|
|
1272
1272
|
onComponentClick: Se,
|
|
1273
|
-
selectedComponentName:
|
|
1273
|
+
selectedComponentName: z?.name ?? null,
|
|
1274
1274
|
expandedOffsetX: ke
|
|
1275
1275
|
};
|
|
1276
1276
|
return /* @__PURE__ */ e(ae.Provider, { value: Pt, children: /* @__PURE__ */ d(
|
|
@@ -1285,13 +1285,13 @@ function lt({
|
|
|
1285
1285
|
pointerEvents: "none",
|
|
1286
1286
|
opacity: xt,
|
|
1287
1287
|
transition: `opacity 0.8s ease, filter 0.5s ease, transform 0.6s ${Bt}`,
|
|
1288
|
-
filter:
|
|
1289
|
-
zIndex:
|
|
1290
|
-
transformOrigin: `${
|
|
1291
|
-
transform:
|
|
1288
|
+
filter: C && Math.sin(le) < -0.5 ? "brightness(0.5) blur(2px)" : "none",
|
|
1289
|
+
zIndex: Q ? 500 : Me ? 0 : mt,
|
|
1290
|
+
transformOrigin: `${oe}px ${nt}px`,
|
|
1291
|
+
transform: tt ? `translate(${-(wt - it) * Be}px, ${-(St - nt) * Be}px) scale(${Be})` : "none"
|
|
1292
1292
|
},
|
|
1293
1293
|
children: [
|
|
1294
|
-
|
|
1294
|
+
C && !Me && /* @__PURE__ */ e(
|
|
1295
1295
|
"div",
|
|
1296
1296
|
{
|
|
1297
1297
|
style: {
|
|
@@ -1305,12 +1305,12 @@ function lt({
|
|
|
1305
1305
|
cursor: "pointer",
|
|
1306
1306
|
zIndex: 101
|
|
1307
1307
|
},
|
|
1308
|
-
onClick: (
|
|
1309
|
-
|
|
1308
|
+
onClick: (j) => {
|
|
1309
|
+
j.stopPropagation(), ne?.(t);
|
|
1310
1310
|
}
|
|
1311
1311
|
}
|
|
1312
1312
|
),
|
|
1313
|
-
|
|
1313
|
+
C && (n === "warning" || n === "critical") && /* @__PURE__ */ e(
|
|
1314
1314
|
"div",
|
|
1315
1315
|
{
|
|
1316
1316
|
style: {
|
|
@@ -1363,13 +1363,13 @@ function lt({
|
|
|
1363
1363
|
{
|
|
1364
1364
|
style: {
|
|
1365
1365
|
position: "absolute",
|
|
1366
|
-
left:
|
|
1367
|
-
top:
|
|
1368
|
-
transform: `translate(-50%, -50%) scale(${
|
|
1366
|
+
left: N ? oe : Re,
|
|
1367
|
+
top: N ? 48 : se - 180,
|
|
1368
|
+
transform: `translate(-50%, -50%) scale(${N ? 1.2 : Pe * 1.5})`,
|
|
1369
1369
|
opacity: 1,
|
|
1370
1370
|
pointerEvents: "none",
|
|
1371
1371
|
zIndex: 100,
|
|
1372
|
-
transition:
|
|
1372
|
+
transition: Ae,
|
|
1373
1373
|
fontSize: 36,
|
|
1374
1374
|
fontWeight: 700,
|
|
1375
1375
|
letterSpacing: "0.18em",
|
|
@@ -1389,23 +1389,23 @@ function lt({
|
|
|
1389
1389
|
style: {
|
|
1390
1390
|
position: "absolute",
|
|
1391
1391
|
top: 0,
|
|
1392
|
-
left:
|
|
1392
|
+
left: N ? ke : 0,
|
|
1393
1393
|
width: 660,
|
|
1394
1394
|
height: 640,
|
|
1395
1395
|
pointerEvents: "none",
|
|
1396
1396
|
zIndex: 0,
|
|
1397
|
-
transition:
|
|
1397
|
+
transition: Ae
|
|
1398
1398
|
},
|
|
1399
|
-
children: o.map((
|
|
1399
|
+
children: o.map((j, Ct) => /* @__PURE__ */ e(
|
|
1400
1400
|
zt,
|
|
1401
1401
|
{
|
|
1402
|
-
x1:
|
|
1403
|
-
y1:
|
|
1404
|
-
x2:
|
|
1405
|
-
y2:
|
|
1406
|
-
show:
|
|
1407
|
-
color:
|
|
1408
|
-
dur:
|
|
1402
|
+
x1: j.from[0],
|
|
1403
|
+
y1: j.from[1],
|
|
1404
|
+
x2: j.to[0],
|
|
1405
|
+
y2: j.to[1],
|
|
1406
|
+
show: Q && W >= (j.visibleAtPhase ?? 0),
|
|
1407
|
+
color: j.color,
|
|
1408
|
+
dur: j.duration
|
|
1409
1409
|
},
|
|
1410
1410
|
Ct
|
|
1411
1411
|
))
|
|
@@ -1416,10 +1416,10 @@ function lt({
|
|
|
1416
1416
|
{
|
|
1417
1417
|
style: {
|
|
1418
1418
|
position: "absolute",
|
|
1419
|
-
left:
|
|
1420
|
-
top:
|
|
1421
|
-
transform: `translate(-50%, -50%) scaleX(${
|
|
1422
|
-
transition:
|
|
1419
|
+
left: N ? oe : Re,
|
|
1420
|
+
top: N ? 570 : se + 70,
|
|
1421
|
+
transform: `translate(-50%, -50%) scaleX(${N ? 1 : 0.4}) scaleY(${N ? 1 : 0.6}) scale(${N ? 1 : Pe})`,
|
|
1422
|
+
transition: Ae,
|
|
1423
1423
|
zIndex: 1
|
|
1424
1424
|
},
|
|
1425
1425
|
children: /* @__PURE__ */ e(Mt, { size: $t, color: kt, widthRatio: Rt, children: /* @__PURE__ */ e("div", { className: "base-hotspot" }) })
|
|
@@ -1430,7 +1430,7 @@ function lt({
|
|
|
1430
1430
|
}
|
|
1431
1431
|
) });
|
|
1432
1432
|
}
|
|
1433
|
-
function
|
|
1433
|
+
function T({
|
|
1434
1434
|
ex: t,
|
|
1435
1435
|
ey: n,
|
|
1436
1436
|
compactOffset: o,
|
|
@@ -1439,27 +1439,27 @@ function A({
|
|
|
1439
1439
|
color: a = "#00e5ff",
|
|
1440
1440
|
label: s,
|
|
1441
1441
|
subLabel: l,
|
|
1442
|
-
delay:
|
|
1442
|
+
delay: f = "0s",
|
|
1443
1443
|
componentInfo: c,
|
|
1444
1444
|
visibleAtPhase: p = 0,
|
|
1445
|
-
fixedScale:
|
|
1445
|
+
fixedScale: h,
|
|
1446
1446
|
bare: b = !1
|
|
1447
1447
|
}) {
|
|
1448
|
-
const
|
|
1449
|
-
if (!
|
|
1448
|
+
const u = ve(ae);
|
|
1449
|
+
if (!u)
|
|
1450
1450
|
throw new Error("ServiceNode must be used inside a <Service> component.");
|
|
1451
1451
|
const {
|
|
1452
|
-
isExpandedPos:
|
|
1452
|
+
isExpandedPos: g,
|
|
1453
1453
|
animPhase: m,
|
|
1454
|
-
compactCx:
|
|
1455
|
-
compactCy:
|
|
1456
|
-
groupScale:
|
|
1457
|
-
effectiveScale:
|
|
1458
|
-
transitionValue:
|
|
1459
|
-
onComponentClick:
|
|
1460
|
-
selectedComponentName:
|
|
1461
|
-
expandedOffsetX:
|
|
1462
|
-
} =
|
|
1454
|
+
compactCx: x,
|
|
1455
|
+
compactCy: w,
|
|
1456
|
+
groupScale: P,
|
|
1457
|
+
effectiveScale: y,
|
|
1458
|
+
transitionValue: D,
|
|
1459
|
+
onComponentClick: B,
|
|
1460
|
+
selectedComponentName: k,
|
|
1461
|
+
expandedOffsetX: V
|
|
1462
|
+
} = u, W = p === 0 || u.isSelected && m >= p ? 1 : 0, X = x + o.x, z = w + o.y, te = g ? t + V : X, ie = g ? n : z, I = h !== void 0 ? h : u.isCompact ? P : y, F = !!c && !!k && c.name === k, ne = c?.status ? S[c.status]?.color ?? a : a, Se = c?.status === "offline" ? "#4a6a8a" : ne, $e = c && g && B ? () => B({
|
|
1463
1463
|
type: c.type,
|
|
1464
1464
|
name: c.name,
|
|
1465
1465
|
status: c.status,
|
|
@@ -1476,11 +1476,11 @@ function A({
|
|
|
1476
1476
|
position: "absolute",
|
|
1477
1477
|
left: te,
|
|
1478
1478
|
top: ie,
|
|
1479
|
-
transform: `translate(-50%, -50%) scale(${
|
|
1480
|
-
opacity:
|
|
1479
|
+
transform: `translate(-50%, -50%) scale(${I})`,
|
|
1480
|
+
opacity: W,
|
|
1481
1481
|
zIndex: i,
|
|
1482
|
-
transition:
|
|
1483
|
-
pointerEvents:
|
|
1482
|
+
transition: D || "all 1s cubic-bezier(0.34, 1.56, 0.64, 1)",
|
|
1483
|
+
pointerEvents: g && W >= 0.5 ? "auto" : "none"
|
|
1484
1484
|
},
|
|
1485
1485
|
children: b ? r : /* @__PURE__ */ e(
|
|
1486
1486
|
Ht,
|
|
@@ -1488,11 +1488,11 @@ function A({
|
|
|
1488
1488
|
statusColor: Se,
|
|
1489
1489
|
label: s,
|
|
1490
1490
|
subLabel: l,
|
|
1491
|
-
delay:
|
|
1492
|
-
showLabels:
|
|
1493
|
-
isCompact:
|
|
1491
|
+
delay: f,
|
|
1492
|
+
showLabels: g,
|
|
1493
|
+
isCompact: u.isCompact,
|
|
1494
1494
|
onClick: $e,
|
|
1495
|
-
isSelected:
|
|
1495
|
+
isSelected: F,
|
|
1496
1496
|
children: r
|
|
1497
1497
|
}
|
|
1498
1498
|
)
|
|
@@ -1508,9 +1508,9 @@ function Ht({
|
|
|
1508
1508
|
showLabels: a = !0,
|
|
1509
1509
|
isCompact: s = !1,
|
|
1510
1510
|
onClick: l,
|
|
1511
|
-
isSelected:
|
|
1511
|
+
isSelected: f = !1
|
|
1512
1512
|
}) {
|
|
1513
|
-
const [c, p] =
|
|
1513
|
+
const [c, p] = A(!1), h = f ? `brightness(1.5) drop-shadow(0 0 24px ${n}cc) drop-shadow(0 0 8px ${n}88)` : c && l ? `brightness(1.2) drop-shadow(0 0 12px ${n}77)` : "";
|
|
1514
1514
|
return /* @__PURE__ */ d(
|
|
1515
1515
|
"div",
|
|
1516
1516
|
{
|
|
@@ -1521,7 +1521,7 @@ function Ht({
|
|
|
1521
1521
|
style: {
|
|
1522
1522
|
cursor: l ? "pointer" : void 0,
|
|
1523
1523
|
transition: "filter 0.3s ease",
|
|
1524
|
-
filter:
|
|
1524
|
+
filter: h
|
|
1525
1525
|
},
|
|
1526
1526
|
onMouseEnter: () => p(!0),
|
|
1527
1527
|
onMouseLeave: () => p(!1),
|
|
@@ -1560,7 +1560,7 @@ function Ht({
|
|
|
1560
1560
|
}
|
|
1561
1561
|
);
|
|
1562
1562
|
}
|
|
1563
|
-
function
|
|
1563
|
+
function ct({ synced: t, latencyMs: n }) {
|
|
1564
1564
|
const o = t ? "#00ff88" : "#ff8c00";
|
|
1565
1565
|
return /* @__PURE__ */ d("div", { className: "sync-bridge", children: [
|
|
1566
1566
|
/* @__PURE__ */ d("div", { className: "sync-arrows", children: [
|
|
@@ -1595,7 +1595,7 @@ function st({ synced: t, latencyMs: n }) {
|
|
|
1595
1595
|
] })
|
|
1596
1596
|
] });
|
|
1597
1597
|
}
|
|
1598
|
-
function
|
|
1598
|
+
function O({
|
|
1599
1599
|
ex: t,
|
|
1600
1600
|
ey: n,
|
|
1601
1601
|
status: o,
|
|
@@ -1604,23 +1604,23 @@ function D({
|
|
|
1604
1604
|
offsetX: a,
|
|
1605
1605
|
offsetY: s,
|
|
1606
1606
|
isVisible: l,
|
|
1607
|
-
align:
|
|
1607
|
+
align: f = "right",
|
|
1608
1608
|
internalRef: c
|
|
1609
1609
|
}) {
|
|
1610
|
-
const
|
|
1610
|
+
const h = ve(ae)?.expandedOffsetX ?? 0;
|
|
1611
1611
|
if (o === "online") return null;
|
|
1612
|
-
const b =
|
|
1613
|
-
let
|
|
1614
|
-
if (
|
|
1615
|
-
const
|
|
1616
|
-
|
|
1612
|
+
const b = S[o]?.color ?? S.warning.color, u = Math.abs(a) > Math.abs(s), g = t + h + (u ? Math.sign(a) * 45 : 0), m = n + (u ? 0 : Math.sign(s) * 40), x = t + h + a, w = n + s;
|
|
1613
|
+
let P = "";
|
|
1614
|
+
if (u) {
|
|
1615
|
+
const k = g + (x - g) / 2;
|
|
1616
|
+
P = `M ${g} ${m} L ${k} ${m} L ${k} ${w} L ${x} ${w}`;
|
|
1617
1617
|
} else {
|
|
1618
|
-
const
|
|
1619
|
-
|
|
1618
|
+
const k = m + (w - m) / 2;
|
|
1619
|
+
P = `M ${g} ${m} L ${g} ${k} L ${x} ${k} L ${x} ${w}`;
|
|
1620
1620
|
}
|
|
1621
|
-
let
|
|
1622
|
-
|
|
1623
|
-
const
|
|
1621
|
+
let y = "translate(0, -50%)";
|
|
1622
|
+
f === "left" && (y = "translate(-100%, -50%)"), f === "top" && (y = "translate(-50%, -100%)"), f === "bottom" && (y = "translate(-50%, 0)");
|
|
1623
|
+
const D = f === "left" ? -8 : f === "right" ? 8 : 0, B = f === "top" ? -8 : f === "bottom" ? 8 : 0;
|
|
1624
1624
|
return /* @__PURE__ */ d(
|
|
1625
1625
|
"div",
|
|
1626
1626
|
{
|
|
@@ -1651,7 +1651,7 @@ function D({
|
|
|
1651
1651
|
children: /* @__PURE__ */ e(
|
|
1652
1652
|
"path",
|
|
1653
1653
|
{
|
|
1654
|
-
d:
|
|
1654
|
+
d: P,
|
|
1655
1655
|
fill: "none",
|
|
1656
1656
|
stroke: b,
|
|
1657
1657
|
strokeWidth: "1.5",
|
|
@@ -1666,11 +1666,11 @@ function D({
|
|
|
1666
1666
|
{
|
|
1667
1667
|
style: {
|
|
1668
1668
|
position: "absolute",
|
|
1669
|
-
left:
|
|
1670
|
-
top:
|
|
1671
|
-
transform:
|
|
1672
|
-
marginLeft:
|
|
1673
|
-
marginTop:
|
|
1669
|
+
left: x,
|
|
1670
|
+
top: w,
|
|
1671
|
+
transform: y,
|
|
1672
|
+
marginLeft: D,
|
|
1673
|
+
marginTop: B,
|
|
1674
1674
|
background: "repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(255,255,255,0.03) 2px, rgba(255,255,255,0.03) 4px), rgba(2, 8, 16, 0.82)",
|
|
1675
1675
|
border: `1px solid ${b}55`,
|
|
1676
1676
|
borderLeft: `2px solid ${b}`,
|
|
@@ -1742,7 +1742,7 @@ function D({
|
|
|
1742
1742
|
}
|
|
1743
1743
|
);
|
|
1744
1744
|
}
|
|
1745
|
-
const q = 140,
|
|
1745
|
+
const q = 140, H = 240, Z = 160, de = qe(q, H, Z);
|
|
1746
1746
|
function Ut({
|
|
1747
1747
|
cfg: t,
|
|
1748
1748
|
name: n,
|
|
@@ -1751,7 +1751,7 @@ function Ut({
|
|
|
1751
1751
|
status: r,
|
|
1752
1752
|
compact: a
|
|
1753
1753
|
}) {
|
|
1754
|
-
const s = Math.ceil(o / 100 * 3), l = r === "offline" ? "#4a6a8a" : t.color,
|
|
1754
|
+
const s = Math.ceil(o / 100 * 3), l = r === "offline" ? "#4a6a8a" : t.color, f = [
|
|
1755
1755
|
{ color: t.color, on: r !== "offline", label: "PWR" },
|
|
1756
1756
|
{ color: t.color, on: r === "online" || r === "warning", label: "NET" },
|
|
1757
1757
|
{ color: t.color, on: o > 15, label: "DSK" },
|
|
@@ -1762,8 +1762,8 @@ function Ut({
|
|
|
1762
1762
|
{
|
|
1763
1763
|
style: {
|
|
1764
1764
|
width: q,
|
|
1765
|
-
height:
|
|
1766
|
-
background: a ? we :
|
|
1765
|
+
height: H,
|
|
1766
|
+
background: a ? we : Qe,
|
|
1767
1767
|
position: "relative",
|
|
1768
1768
|
overflow: "hidden",
|
|
1769
1769
|
fontFamily: "'Courier New', monospace",
|
|
@@ -1844,7 +1844,7 @@ function Ut({
|
|
|
1844
1844
|
children: n
|
|
1845
1845
|
}
|
|
1846
1846
|
),
|
|
1847
|
-
/* @__PURE__ */ e("div", { style: { display: "flex", gap: 5 }, children:
|
|
1847
|
+
/* @__PURE__ */ e("div", { style: { display: "flex", gap: 5 }, children: f.map((c, p) => /* @__PURE__ */ e(
|
|
1848
1848
|
"div",
|
|
1849
1849
|
{
|
|
1850
1850
|
style: {
|
|
@@ -1924,7 +1924,7 @@ function Ut({
|
|
|
1924
1924
|
}
|
|
1925
1925
|
),
|
|
1926
1926
|
Array.from({ length: 3 }, (c, p) => {
|
|
1927
|
-
const
|
|
1927
|
+
const h = p < s;
|
|
1928
1928
|
return /* @__PURE__ */ d(
|
|
1929
1929
|
"div",
|
|
1930
1930
|
{
|
|
@@ -1951,8 +1951,8 @@ function Ut({
|
|
|
1951
1951
|
height: 5,
|
|
1952
1952
|
borderRadius: "50%",
|
|
1953
1953
|
flexShrink: 0,
|
|
1954
|
-
background:
|
|
1955
|
-
boxShadow:
|
|
1954
|
+
background: h ? t.color : "#08142a",
|
|
1955
|
+
boxShadow: h ? `0 0 6px ${t.color}, 0 0 12px ${t.color}66` : "none"
|
|
1956
1956
|
}
|
|
1957
1957
|
}
|
|
1958
1958
|
),
|
|
@@ -1968,7 +1968,7 @@ function Ut({
|
|
|
1968
1968
|
position: "relative",
|
|
1969
1969
|
overflow: "hidden"
|
|
1970
1970
|
},
|
|
1971
|
-
children:
|
|
1971
|
+
children: h && /* @__PURE__ */ e(
|
|
1972
1972
|
"div",
|
|
1973
1973
|
{
|
|
1974
1974
|
style: {
|
|
@@ -2160,7 +2160,7 @@ function Yt() {
|
|
|
2160
2160
|
{
|
|
2161
2161
|
style: {
|
|
2162
2162
|
width: q,
|
|
2163
|
-
height:
|
|
2163
|
+
height: H,
|
|
2164
2164
|
background: "linear-gradient(180deg, #040c1a 0%, #030810 100%)",
|
|
2165
2165
|
position: "relative",
|
|
2166
2166
|
overflow: "hidden",
|
|
@@ -2268,14 +2268,14 @@ function Yt() {
|
|
|
2268
2268
|
}
|
|
2269
2269
|
);
|
|
2270
2270
|
}
|
|
2271
|
-
function
|
|
2271
|
+
function ot({ side: t, color: n }) {
|
|
2272
2272
|
const o = t === "right";
|
|
2273
2273
|
return /* @__PURE__ */ d(
|
|
2274
2274
|
"div",
|
|
2275
2275
|
{
|
|
2276
2276
|
style: {
|
|
2277
2277
|
width: Z,
|
|
2278
|
-
height:
|
|
2278
|
+
height: H,
|
|
2279
2279
|
background: o ? "linear-gradient(90deg, #040c1c 0%, #071428 60%, #040c1c 100%)" : "linear-gradient(90deg, #040c1c 0%, #071428 40%, #040c1c 100%)",
|
|
2280
2280
|
position: "relative",
|
|
2281
2281
|
overflow: "hidden"
|
|
@@ -2294,7 +2294,7 @@ function it({ side: t, color: n }) {
|
|
|
2294
2294
|
}
|
|
2295
2295
|
}
|
|
2296
2296
|
),
|
|
2297
|
-
[8,
|
|
2297
|
+
[8, H - 20].map((i) => /* @__PURE__ */ e(
|
|
2298
2298
|
"div",
|
|
2299
2299
|
{
|
|
2300
2300
|
style: {
|
|
@@ -2316,8 +2316,8 @@ function it({ side: t, color: n }) {
|
|
|
2316
2316
|
{
|
|
2317
2317
|
style: {
|
|
2318
2318
|
position: "absolute",
|
|
2319
|
-
top:
|
|
2320
|
-
bottom:
|
|
2319
|
+
top: H * 0.35,
|
|
2320
|
+
bottom: H * 0.15,
|
|
2321
2321
|
left: o ? 22 : 18,
|
|
2322
2322
|
right: o ? 18 : 22,
|
|
2323
2323
|
display: "flex",
|
|
@@ -2345,7 +2345,7 @@ function it({ side: t, color: n }) {
|
|
|
2345
2345
|
{
|
|
2346
2346
|
style: {
|
|
2347
2347
|
position: "absolute",
|
|
2348
|
-
top:
|
|
2348
|
+
top: H * 0.18,
|
|
2349
2349
|
left: o ? 12 : Z - 78,
|
|
2350
2350
|
fontSize: 7,
|
|
2351
2351
|
color: "#1a3050",
|
|
@@ -2450,29 +2450,29 @@ function ue({
|
|
|
2450
2450
|
status: a = "online",
|
|
2451
2451
|
name: s = "SRV-001",
|
|
2452
2452
|
cpuLoad: l = 67,
|
|
2453
|
-
memLoad:
|
|
2453
|
+
memLoad: f = 82,
|
|
2454
2454
|
_compact: c
|
|
2455
2455
|
}) {
|
|
2456
|
-
const [p,
|
|
2456
|
+
const [p, h] = A(n), b = ee(0), u = ee(0);
|
|
2457
2457
|
Ee(() => {
|
|
2458
2458
|
if (!r) {
|
|
2459
|
-
|
|
2459
|
+
h(n);
|
|
2460
2460
|
return;
|
|
2461
2461
|
}
|
|
2462
|
-
const m = (
|
|
2463
|
-
|
|
2462
|
+
const m = (x) => {
|
|
2463
|
+
u.current && h((w) => w + (x - u.current) * 0.027), u.current = x, b.current = requestAnimationFrame(m);
|
|
2464
2464
|
};
|
|
2465
2465
|
return b.current = requestAnimationFrame(m), () => {
|
|
2466
|
-
cancelAnimationFrame(b.current),
|
|
2466
|
+
cancelAnimationFrame(b.current), u.current = 0;
|
|
2467
2467
|
};
|
|
2468
2468
|
}, [r, n]);
|
|
2469
|
-
const
|
|
2469
|
+
const g = S[a] ?? S.online;
|
|
2470
2470
|
return /* @__PURE__ */ d(
|
|
2471
2471
|
"div",
|
|
2472
2472
|
{
|
|
2473
2473
|
style: {
|
|
2474
2474
|
width: q * i,
|
|
2475
|
-
height:
|
|
2475
|
+
height: H * i,
|
|
2476
2476
|
position: "relative",
|
|
2477
2477
|
display: "flex",
|
|
2478
2478
|
alignItems: "center",
|
|
@@ -2490,17 +2490,17 @@ function ue({
|
|
|
2490
2490
|
zIndex: 110,
|
|
2491
2491
|
pointerEvents: "none",
|
|
2492
2492
|
animation: "holo-led-blink 1.5s infinite",
|
|
2493
|
-
filter: `drop-shadow(0 0 10px ${
|
|
2493
|
+
filter: `drop-shadow(0 0 10px ${g.color})`
|
|
2494
2494
|
},
|
|
2495
2495
|
children: /* @__PURE__ */ d("svg", { width: "44", height: "44", viewBox: "0 0 28 28", fill: "none", children: [
|
|
2496
2496
|
/* @__PURE__ */ e(
|
|
2497
2497
|
"path",
|
|
2498
2498
|
{
|
|
2499
2499
|
d: "M14 3L1.5 25.5h25L14 3z",
|
|
2500
|
-
stroke:
|
|
2500
|
+
stroke: g.color,
|
|
2501
2501
|
strokeWidth: "2",
|
|
2502
2502
|
strokeLinejoin: "round",
|
|
2503
|
-
fill:
|
|
2503
|
+
fill: g.color + "22"
|
|
2504
2504
|
}
|
|
2505
2505
|
),
|
|
2506
2506
|
/* @__PURE__ */ e(
|
|
@@ -2510,12 +2510,12 @@ function ue({
|
|
|
2510
2510
|
y1: "11",
|
|
2511
2511
|
x2: "14",
|
|
2512
2512
|
y2: "18",
|
|
2513
|
-
stroke:
|
|
2513
|
+
stroke: g.color,
|
|
2514
2514
|
strokeWidth: "2.5",
|
|
2515
2515
|
strokeLinecap: "round"
|
|
2516
2516
|
}
|
|
2517
2517
|
),
|
|
2518
|
-
/* @__PURE__ */ e("circle", { cx: "14", cy: "21.5", r: "1.5", fill:
|
|
2518
|
+
/* @__PURE__ */ e("circle", { cx: "14", cy: "21.5", r: "1.5", fill: g.color })
|
|
2519
2519
|
] })
|
|
2520
2520
|
}
|
|
2521
2521
|
),
|
|
@@ -2525,8 +2525,8 @@ function ue({
|
|
|
2525
2525
|
style: {
|
|
2526
2526
|
position: "absolute",
|
|
2527
2527
|
width: q * 1.4 * i,
|
|
2528
|
-
height:
|
|
2529
|
-
background: `radial-gradient(ellipse, ${
|
|
2528
|
+
height: H * 0.8 * i,
|
|
2529
|
+
background: `radial-gradient(ellipse, ${g.glow} 0%, transparent 65%)`,
|
|
2530
2530
|
filter: `blur(${Math.round(45 * i)}px)`,
|
|
2531
2531
|
pointerEvents: "none",
|
|
2532
2532
|
top: "40%",
|
|
@@ -2549,7 +2549,7 @@ function ue({
|
|
|
2549
2549
|
{
|
|
2550
2550
|
style: {
|
|
2551
2551
|
width: q,
|
|
2552
|
-
height:
|
|
2552
|
+
height: H,
|
|
2553
2553
|
position: "relative",
|
|
2554
2554
|
transformStyle: "preserve-3d",
|
|
2555
2555
|
transform: `rotateX(${t}deg) rotateY(${p}deg) rotateZ(${o}deg)`,
|
|
@@ -2559,17 +2559,17 @@ function ue({
|
|
|
2559
2559
|
/* @__PURE__ */ e("div", { style: de.front, children: /* @__PURE__ */ e(
|
|
2560
2560
|
Ut,
|
|
2561
2561
|
{
|
|
2562
|
-
cfg:
|
|
2562
|
+
cfg: g,
|
|
2563
2563
|
name: s,
|
|
2564
2564
|
cpuLoad: l,
|
|
2565
|
-
memLoad:
|
|
2565
|
+
memLoad: f,
|
|
2566
2566
|
status: a,
|
|
2567
2567
|
compact: c
|
|
2568
2568
|
}
|
|
2569
2569
|
) }),
|
|
2570
2570
|
/* @__PURE__ */ e("div", { style: de.back, children: /* @__PURE__ */ e(Yt, {}) }),
|
|
2571
|
-
/* @__PURE__ */ e("div", { style: de.left, children: /* @__PURE__ */ e(
|
|
2572
|
-
/* @__PURE__ */ e("div", { style: de.right, children: /* @__PURE__ */ e(
|
|
2571
|
+
/* @__PURE__ */ e("div", { style: de.left, children: /* @__PURE__ */ e(ot, { side: "left", color: g.color }) }),
|
|
2572
|
+
/* @__PURE__ */ e("div", { style: de.right, children: /* @__PURE__ */ e(ot, { side: "right", color: g.color }) }),
|
|
2573
2573
|
/* @__PURE__ */ e("div", { style: de.top, children: /* @__PURE__ */ e(Vt, { cpuLoad: l }) }),
|
|
2574
2574
|
/* @__PURE__ */ e("div", { style: de.bottom, children: /* @__PURE__ */ e(
|
|
2575
2575
|
"div",
|
|
@@ -2590,8 +2590,8 @@ function ue({
|
|
|
2590
2590
|
}
|
|
2591
2591
|
);
|
|
2592
2592
|
}
|
|
2593
|
-
const
|
|
2594
|
-
function
|
|
2593
|
+
const je = 12, re = 55, _ = re * 2, he = 52, Ze = 10, He = 3 * he + 2 * Ze, ce = 2 * Math.PI * re / je, Ue = Array.from({ length: je }, (t, n) => n / je * 360);
|
|
2594
|
+
function Ye(t) {
|
|
2595
2595
|
return Math.cos(t * Math.PI / 180) * 0.42 + 0.58;
|
|
2596
2596
|
}
|
|
2597
2597
|
function _t({
|
|
@@ -2603,8 +2603,8 @@ function _t({
|
|
|
2603
2603
|
compact: a
|
|
2604
2604
|
}) {
|
|
2605
2605
|
return /* @__PURE__ */ d(Ce, { children: [
|
|
2606
|
-
|
|
2607
|
-
const
|
|
2606
|
+
Ue.map((s, l) => {
|
|
2607
|
+
const f = Ye(s), c = l === 0, p = Math.round(4 + f * 9), h = Math.round(12 + f * 22), b = Math.round(28 + f * 44), u = Math.round(f * 0.55 * 255).toString(16).padStart(2, "0");
|
|
2608
2608
|
return /* @__PURE__ */ e(
|
|
2609
2609
|
"div",
|
|
2610
2610
|
{
|
|
@@ -2616,8 +2616,8 @@ function _t({
|
|
|
2616
2616
|
top: t,
|
|
2617
2617
|
transform: `rotateY(${s}deg) translateZ(${re}px)`,
|
|
2618
2618
|
backfaceVisibility: "hidden",
|
|
2619
|
-
background: c ? a ? "linear-gradient(180deg, rgb(0,28,62), rgb(0,18,44))" : "linear-gradient(180deg, rgba(0,28,62,0.70), rgba(0,18,44,0.76))" : `rgb(${p},${
|
|
2620
|
-
borderLeft: `1px solid ${o.color}${
|
|
2619
|
+
background: c ? a ? "linear-gradient(180deg, rgb(0,28,62), rgb(0,18,44))" : "linear-gradient(180deg, rgba(0,28,62,0.70), rgba(0,18,44,0.76))" : `rgb(${p},${h},${b})`,
|
|
2620
|
+
borderLeft: `1px solid ${o.color}${u}`,
|
|
2621
2621
|
boxShadow: c ? `inset 0 0 18px ${o.color}28` : "none"
|
|
2622
2622
|
},
|
|
2623
2623
|
children: c && /* @__PURE__ */ d(Ce, { children: [
|
|
@@ -2761,8 +2761,8 @@ function _t({
|
|
|
2761
2761
|
)
|
|
2762
2762
|
}
|
|
2763
2763
|
),
|
|
2764
|
-
i &&
|
|
2765
|
-
const
|
|
2764
|
+
i && Ue.map((s, l) => {
|
|
2765
|
+
const f = Ye(s);
|
|
2766
2766
|
return /* @__PURE__ */ e(
|
|
2767
2767
|
"div",
|
|
2768
2768
|
{
|
|
@@ -2776,26 +2776,26 @@ function _t({
|
|
|
2776
2776
|
backfaceVisibility: "hidden",
|
|
2777
2777
|
background: o.color,
|
|
2778
2778
|
boxShadow: `0 0 8px ${o.color}, 0 0 18px ${o.color}aa, 0 0 30px ${o.glow}`,
|
|
2779
|
-
opacity:
|
|
2779
|
+
opacity: f * 0.9
|
|
2780
2780
|
}
|
|
2781
2781
|
},
|
|
2782
2782
|
`rng${n}${l}`
|
|
2783
2783
|
);
|
|
2784
2784
|
}),
|
|
2785
|
-
i &&
|
|
2786
|
-
const
|
|
2785
|
+
i && Ue.map((s, l) => {
|
|
2786
|
+
const f = Ye(s), c = Math.round(2 + f * 4), p = Math.round(5 + f * 10), h = Math.round(12 + f * 20);
|
|
2787
2787
|
return /* @__PURE__ */ e(
|
|
2788
2788
|
"div",
|
|
2789
2789
|
{
|
|
2790
2790
|
style: {
|
|
2791
2791
|
position: "absolute",
|
|
2792
2792
|
width: ce,
|
|
2793
|
-
height:
|
|
2793
|
+
height: Ze,
|
|
2794
2794
|
left: (_ - ce) / 2,
|
|
2795
2795
|
top: t + he,
|
|
2796
2796
|
transform: `rotateY(${s}deg) translateZ(${re}px)`,
|
|
2797
2797
|
backfaceVisibility: "hidden",
|
|
2798
|
-
background: `rgb(${c},${p},${
|
|
2798
|
+
background: `rgb(${c},${p},${h})`
|
|
2799
2799
|
}
|
|
2800
2800
|
},
|
|
2801
2801
|
`gap${n}${l}`
|
|
@@ -2803,7 +2803,7 @@ function _t({
|
|
|
2803
2803
|
})
|
|
2804
2804
|
] });
|
|
2805
2805
|
}
|
|
2806
|
-
function
|
|
2806
|
+
function Ie({
|
|
2807
2807
|
rotateX: t = -22,
|
|
2808
2808
|
rotateY: n = -15,
|
|
2809
2809
|
rotateZ: o = 0,
|
|
@@ -2815,26 +2815,26 @@ function Le({
|
|
|
2815
2815
|
// connections = 284,
|
|
2816
2816
|
_compact: l
|
|
2817
2817
|
}) {
|
|
2818
|
-
const [
|
|
2818
|
+
const [f, c] = A(n), p = ee(0), h = ee(0);
|
|
2819
2819
|
Ee(() => {
|
|
2820
2820
|
if (!r) {
|
|
2821
2821
|
c(n);
|
|
2822
2822
|
return;
|
|
2823
2823
|
}
|
|
2824
|
-
const
|
|
2825
|
-
|
|
2824
|
+
const u = (g) => {
|
|
2825
|
+
h.current && c((m) => m + (g - h.current) * 0.027), h.current = g, p.current = requestAnimationFrame(u);
|
|
2826
2826
|
};
|
|
2827
|
-
return p.current = requestAnimationFrame(
|
|
2828
|
-
cancelAnimationFrame(p.current),
|
|
2827
|
+
return p.current = requestAnimationFrame(u), () => {
|
|
2828
|
+
cancelAnimationFrame(p.current), h.current = 0;
|
|
2829
2829
|
};
|
|
2830
2830
|
}, [r, n]);
|
|
2831
|
-
const b =
|
|
2831
|
+
const b = S[a] ?? S.online;
|
|
2832
2832
|
return /* @__PURE__ */ d(
|
|
2833
2833
|
"div",
|
|
2834
2834
|
{
|
|
2835
2835
|
style: {
|
|
2836
2836
|
width: _ * i,
|
|
2837
|
-
height:
|
|
2837
|
+
height: He * i,
|
|
2838
2838
|
position: "relative",
|
|
2839
2839
|
display: "flex",
|
|
2840
2840
|
alignItems: "center",
|
|
@@ -2895,7 +2895,7 @@ function Le({
|
|
|
2895
2895
|
style: {
|
|
2896
2896
|
position: "absolute",
|
|
2897
2897
|
width: _ * 2.8 * i,
|
|
2898
|
-
height:
|
|
2898
|
+
height: He * 0.85 * i,
|
|
2899
2899
|
background: `radial-gradient(ellipse, ${b.glow} 0%, transparent 65%)`,
|
|
2900
2900
|
filter: `blur(${Math.round(50 * i)}px)`,
|
|
2901
2901
|
pointerEvents: "none",
|
|
@@ -2919,23 +2919,23 @@ function Le({
|
|
|
2919
2919
|
{
|
|
2920
2920
|
style: {
|
|
2921
2921
|
width: _,
|
|
2922
|
-
height:
|
|
2922
|
+
height: He,
|
|
2923
2923
|
position: "relative",
|
|
2924
2924
|
transformStyle: "preserve-3d",
|
|
2925
|
-
transform: `rotateX(${t}deg) rotateY(${
|
|
2925
|
+
transform: `rotateX(${t}deg) rotateY(${f}deg) rotateZ(${o}deg)`,
|
|
2926
2926
|
transition: r ? "none" : "transform 0.55s cubic-bezier(0.25, 0.46, 0.45, 0.94)"
|
|
2927
2927
|
},
|
|
2928
|
-
children: [0, 1, 2].map((
|
|
2928
|
+
children: [0, 1, 2].map((u) => /* @__PURE__ */ e(
|
|
2929
2929
|
_t,
|
|
2930
2930
|
{
|
|
2931
|
-
diskY:
|
|
2932
|
-
diskIdx:
|
|
2931
|
+
diskY: u * (he + Ze),
|
|
2932
|
+
diskIdx: u,
|
|
2933
2933
|
cfg: b,
|
|
2934
|
-
hasRingBelow:
|
|
2934
|
+
hasRingBelow: u < 2,
|
|
2935
2935
|
capacity: s,
|
|
2936
2936
|
compact: l
|
|
2937
2937
|
},
|
|
2938
|
-
|
|
2938
|
+
u
|
|
2939
2939
|
))
|
|
2940
2940
|
}
|
|
2941
2941
|
)
|
|
@@ -2945,7 +2945,7 @@ function Le({
|
|
|
2945
2945
|
}
|
|
2946
2946
|
);
|
|
2947
2947
|
}
|
|
2948
|
-
const G = 190,
|
|
2948
|
+
const G = 190, U = 72, be = 120, pe = qe(G, U, be);
|
|
2949
2949
|
function jt({
|
|
2950
2950
|
cfg: t,
|
|
2951
2951
|
name: n,
|
|
@@ -2959,8 +2959,8 @@ function jt({
|
|
|
2959
2959
|
{
|
|
2960
2960
|
style: {
|
|
2961
2961
|
width: G,
|
|
2962
|
-
height:
|
|
2963
|
-
background: r ? we :
|
|
2962
|
+
height: U,
|
|
2963
|
+
background: r ? we : Qe,
|
|
2964
2964
|
position: "relative",
|
|
2965
2965
|
overflow: "hidden",
|
|
2966
2966
|
fontFamily: "'Courier New', monospace",
|
|
@@ -3045,8 +3045,8 @@ function jt({
|
|
|
3045
3045
|
gap: 10
|
|
3046
3046
|
},
|
|
3047
3047
|
children: [
|
|
3048
|
-
/* @__PURE__ */ e("div", { style: { display: "flex", gap: 3, alignItems: "center" }, children: Array.from({ length: 8 }, (l,
|
|
3049
|
-
const c =
|
|
3048
|
+
/* @__PURE__ */ e("div", { style: { display: "flex", gap: 3, alignItems: "center" }, children: Array.from({ length: 8 }, (l, f) => {
|
|
3049
|
+
const c = f < a, p = s[f];
|
|
3050
3050
|
return /* @__PURE__ */ d(
|
|
3051
3051
|
"div",
|
|
3052
3052
|
{
|
|
@@ -3098,13 +3098,13 @@ function jt({
|
|
|
3098
3098
|
background: c ? t.color : "#0a1830",
|
|
3099
3099
|
boxShadow: c ? `0 0 5px ${t.color}` : "none",
|
|
3100
3100
|
animation: c ? "holo-led-blink 1.8s linear infinite" : "none",
|
|
3101
|
-
animationDelay: `${
|
|
3101
|
+
animationDelay: `${f * 0.2}s`
|
|
3102
3102
|
}
|
|
3103
3103
|
}
|
|
3104
3104
|
)
|
|
3105
3105
|
]
|
|
3106
3106
|
},
|
|
3107
|
-
|
|
3107
|
+
f
|
|
3108
3108
|
);
|
|
3109
3109
|
}) }),
|
|
3110
3110
|
/* @__PURE__ */ e(
|
|
@@ -3214,7 +3214,7 @@ function Xt() {
|
|
|
3214
3214
|
{
|
|
3215
3215
|
style: {
|
|
3216
3216
|
width: G,
|
|
3217
|
-
height:
|
|
3217
|
+
height: U,
|
|
3218
3218
|
background: "linear-gradient(180deg, #040c1a, #030810)",
|
|
3219
3219
|
position: "relative",
|
|
3220
3220
|
overflow: "hidden",
|
|
@@ -3229,7 +3229,7 @@ function Xt() {
|
|
|
3229
3229
|
{
|
|
3230
3230
|
style: {
|
|
3231
3231
|
width: 40,
|
|
3232
|
-
height:
|
|
3232
|
+
height: U - 16,
|
|
3233
3233
|
background: "#020710",
|
|
3234
3234
|
border: "1px solid #1a2d40",
|
|
3235
3235
|
borderRadius: 2,
|
|
@@ -3285,7 +3285,7 @@ function Xt() {
|
|
|
3285
3285
|
style: {
|
|
3286
3286
|
marginLeft: "auto",
|
|
3287
3287
|
width: 12,
|
|
3288
|
-
height:
|
|
3288
|
+
height: U - 16,
|
|
3289
3289
|
background: "#020710",
|
|
3290
3290
|
border: "1px solid #1a3050",
|
|
3291
3291
|
borderRadius: 1
|
|
@@ -3296,13 +3296,13 @@ function Xt() {
|
|
|
3296
3296
|
}
|
|
3297
3297
|
);
|
|
3298
3298
|
}
|
|
3299
|
-
function
|
|
3299
|
+
function rt({ side: t, color: n }) {
|
|
3300
3300
|
return /* @__PURE__ */ d(
|
|
3301
3301
|
"div",
|
|
3302
3302
|
{
|
|
3303
3303
|
style: {
|
|
3304
3304
|
width: be,
|
|
3305
|
-
height:
|
|
3305
|
+
height: U,
|
|
3306
3306
|
background: t === "right" ? "linear-gradient(90deg, #04091a 0%, #071428 60%, #040c1c 100%)" : "linear-gradient(90deg, #040c1c 0%, #071428 40%, #04091a 100%)",
|
|
3307
3307
|
position: "relative",
|
|
3308
3308
|
overflow: "hidden"
|
|
@@ -3326,8 +3326,8 @@ function nt({ side: t, color: n }) {
|
|
|
3326
3326
|
{
|
|
3327
3327
|
style: {
|
|
3328
3328
|
position: "absolute",
|
|
3329
|
-
top:
|
|
3330
|
-
bottom:
|
|
3329
|
+
top: U * 0.25,
|
|
3330
|
+
bottom: U * 0.25,
|
|
3331
3331
|
left: 14,
|
|
3332
3332
|
right: 14,
|
|
3333
3333
|
display: "flex",
|
|
@@ -3412,7 +3412,7 @@ function Qt({ traffic: t }) {
|
|
|
3412
3412
|
}
|
|
3413
3413
|
);
|
|
3414
3414
|
}
|
|
3415
|
-
function
|
|
3415
|
+
function pt({
|
|
3416
3416
|
rotateX: t = -20,
|
|
3417
3417
|
rotateY: n = 20,
|
|
3418
3418
|
rotateZ: o = 0,
|
|
@@ -3421,29 +3421,29 @@ function dt({
|
|
|
3421
3421
|
status: a = "online",
|
|
3422
3422
|
name: s = "WEB-DISP-01",
|
|
3423
3423
|
traffic: l = 78,
|
|
3424
|
-
activeRoutes:
|
|
3424
|
+
activeRoutes: f = 12,
|
|
3425
3425
|
_compact: c
|
|
3426
3426
|
}) {
|
|
3427
|
-
const [p,
|
|
3427
|
+
const [p, h] = A(n), b = ee(0), u = ee(0);
|
|
3428
3428
|
Ee(() => {
|
|
3429
3429
|
if (!r) {
|
|
3430
|
-
|
|
3430
|
+
h(n);
|
|
3431
3431
|
return;
|
|
3432
3432
|
}
|
|
3433
|
-
const m = (
|
|
3434
|
-
|
|
3433
|
+
const m = (x) => {
|
|
3434
|
+
u.current && h((w) => w + (x - u.current) * 0.027), u.current = x, b.current = requestAnimationFrame(m);
|
|
3435
3435
|
};
|
|
3436
3436
|
return b.current = requestAnimationFrame(m), () => {
|
|
3437
|
-
cancelAnimationFrame(b.current),
|
|
3437
|
+
cancelAnimationFrame(b.current), u.current = 0;
|
|
3438
3438
|
};
|
|
3439
3439
|
}, [r, n]);
|
|
3440
|
-
const
|
|
3440
|
+
const g = S[a] ?? S.online;
|
|
3441
3441
|
return /* @__PURE__ */ d(
|
|
3442
3442
|
"div",
|
|
3443
3443
|
{
|
|
3444
3444
|
style: {
|
|
3445
3445
|
width: G * i,
|
|
3446
|
-
height:
|
|
3446
|
+
height: U * i,
|
|
3447
3447
|
position: "relative",
|
|
3448
3448
|
display: "flex",
|
|
3449
3449
|
alignItems: "center",
|
|
@@ -3504,8 +3504,8 @@ function dt({
|
|
|
3504
3504
|
style: {
|
|
3505
3505
|
position: "absolute",
|
|
3506
3506
|
width: G * 1.3 * i,
|
|
3507
|
-
height:
|
|
3508
|
-
background: `radial-gradient(ellipse, ${
|
|
3507
|
+
height: U * 2 * i,
|
|
3508
|
+
background: `radial-gradient(ellipse, ${g.glow} 0%, transparent 65%)`,
|
|
3509
3509
|
filter: `blur(${Math.round(40 * i)}px)`,
|
|
3510
3510
|
pointerEvents: "none",
|
|
3511
3511
|
top: "40%",
|
|
@@ -3528,7 +3528,7 @@ function dt({
|
|
|
3528
3528
|
{
|
|
3529
3529
|
style: {
|
|
3530
3530
|
width: G,
|
|
3531
|
-
height:
|
|
3531
|
+
height: U,
|
|
3532
3532
|
position: "relative",
|
|
3533
3533
|
transformStyle: "preserve-3d",
|
|
3534
3534
|
transform: `rotateX(${t}deg) rotateY(${p}deg) rotateZ(${o}deg)`,
|
|
@@ -3538,16 +3538,16 @@ function dt({
|
|
|
3538
3538
|
/* @__PURE__ */ e("div", { style: pe.front, children: /* @__PURE__ */ e(
|
|
3539
3539
|
jt,
|
|
3540
3540
|
{
|
|
3541
|
-
cfg:
|
|
3541
|
+
cfg: g,
|
|
3542
3542
|
name: s,
|
|
3543
3543
|
traffic: l,
|
|
3544
|
-
activeRoutes:
|
|
3544
|
+
activeRoutes: f,
|
|
3545
3545
|
compact: c
|
|
3546
3546
|
}
|
|
3547
3547
|
) }),
|
|
3548
3548
|
/* @__PURE__ */ e("div", { style: pe.back, children: /* @__PURE__ */ e(Xt, {}) }),
|
|
3549
|
-
/* @__PURE__ */ e("div", { style: pe.left, children: /* @__PURE__ */ e(
|
|
3550
|
-
/* @__PURE__ */ e("div", { style: pe.right, children: /* @__PURE__ */ e(
|
|
3549
|
+
/* @__PURE__ */ e("div", { style: pe.left, children: /* @__PURE__ */ e(rt, { side: "left", color: g.color }) }),
|
|
3550
|
+
/* @__PURE__ */ e("div", { style: pe.right, children: /* @__PURE__ */ e(rt, { side: "right", color: g.color }) }),
|
|
3551
3551
|
/* @__PURE__ */ e("div", { style: pe.top, children: /* @__PURE__ */ e(Qt, { traffic: l }) }),
|
|
3552
3552
|
/* @__PURE__ */ e("div", { style: pe.bottom, children: /* @__PURE__ */ e("div", { style: { width: G, height: be, background: "#020508" } }) })
|
|
3553
3553
|
]
|
|
@@ -3559,7 +3559,7 @@ function dt({
|
|
|
3559
3559
|
}
|
|
3560
3560
|
);
|
|
3561
3561
|
}
|
|
3562
|
-
const K = 190,
|
|
3562
|
+
const K = 190, Y = 72, ge = 120, fe = qe(K, Y, ge), at = {
|
|
3563
3563
|
online: { color: "#bb55ff", glow: "rgba(187,85,255,0.50)" },
|
|
3564
3564
|
warning: { color: "#ff8c00", glow: "rgba(255,140,0,0.50)" },
|
|
3565
3565
|
critical: { color: "#ff2255", glow: "rgba(255,34,85,0.50)" },
|
|
@@ -3579,8 +3579,8 @@ function qt({
|
|
|
3579
3579
|
{
|
|
3580
3580
|
style: {
|
|
3581
3581
|
width: K,
|
|
3582
|
-
height:
|
|
3583
|
-
background: a ? we :
|
|
3582
|
+
height: Y,
|
|
3583
|
+
background: a ? we : Qe,
|
|
3584
3584
|
position: "relative",
|
|
3585
3585
|
overflow: "hidden",
|
|
3586
3586
|
fontFamily: "'Courier New', monospace",
|
|
@@ -3665,7 +3665,7 @@ function qt({
|
|
|
3665
3665
|
gap: 10
|
|
3666
3666
|
},
|
|
3667
3667
|
children: [
|
|
3668
|
-
/* @__PURE__ */ e("div", { style: { display: "flex", gap: 3, alignItems: "center" }, children: Array.from({ length: 5 }, (
|
|
3668
|
+
/* @__PURE__ */ e("div", { style: { display: "flex", gap: 3, alignItems: "center" }, children: Array.from({ length: 5 }, (f, c) => {
|
|
3669
3669
|
const p = c < r;
|
|
3670
3670
|
return /* @__PURE__ */ d(
|
|
3671
3671
|
"div",
|
|
@@ -3797,14 +3797,14 @@ function qt({
|
|
|
3797
3797
|
{ label: "INST", val: r, unit: "conn" },
|
|
3798
3798
|
{ label: "ENQUEUE", val: Math.round(o * 2.4), unit: "msgs" },
|
|
3799
3799
|
{ label: "DISP", val: Math.round(i * 0.1), unit: "/s" }
|
|
3800
|
-
].map((
|
|
3801
|
-
/* @__PURE__ */ e("span", { style: { fontSize: 6, color: "#1e3a5a", letterSpacing: "0.08em" }, children:
|
|
3800
|
+
].map((f) => /* @__PURE__ */ d("div", { style: { display: "flex", gap: 3 }, children: [
|
|
3801
|
+
/* @__PURE__ */ e("span", { style: { fontSize: 6, color: "#1e3a5a", letterSpacing: "0.08em" }, children: f.label }),
|
|
3802
3802
|
/* @__PURE__ */ d("span", { style: { fontSize: 6, color: s + "88" }, children: [
|
|
3803
|
-
|
|
3803
|
+
f.val,
|
|
3804
3804
|
" ",
|
|
3805
|
-
|
|
3805
|
+
f.unit
|
|
3806
3806
|
] })
|
|
3807
|
-
] },
|
|
3807
|
+
] }, f.label))
|
|
3808
3808
|
}
|
|
3809
3809
|
),
|
|
3810
3810
|
/* @__PURE__ */ e(
|
|
@@ -3830,7 +3830,7 @@ function Gt() {
|
|
|
3830
3830
|
{
|
|
3831
3831
|
style: {
|
|
3832
3832
|
width: K,
|
|
3833
|
-
height:
|
|
3833
|
+
height: Y,
|
|
3834
3834
|
background: "linear-gradient(180deg, #040c1a, #030810)",
|
|
3835
3835
|
position: "relative",
|
|
3836
3836
|
overflow: "hidden",
|
|
@@ -3845,7 +3845,7 @@ function Gt() {
|
|
|
3845
3845
|
{
|
|
3846
3846
|
style: {
|
|
3847
3847
|
width: 40,
|
|
3848
|
-
height:
|
|
3848
|
+
height: Y - 16,
|
|
3849
3849
|
background: "#020710",
|
|
3850
3850
|
border: "1px solid #1a2d40",
|
|
3851
3851
|
borderRadius: 2,
|
|
@@ -3901,7 +3901,7 @@ function Gt() {
|
|
|
3901
3901
|
style: {
|
|
3902
3902
|
marginLeft: "auto",
|
|
3903
3903
|
width: 12,
|
|
3904
|
-
height:
|
|
3904
|
+
height: Y - 16,
|
|
3905
3905
|
background: "#020710",
|
|
3906
3906
|
border: "1px solid #1a3050",
|
|
3907
3907
|
borderRadius: 1
|
|
@@ -3912,13 +3912,13 @@ function Gt() {
|
|
|
3912
3912
|
}
|
|
3913
3913
|
);
|
|
3914
3914
|
}
|
|
3915
|
-
function
|
|
3915
|
+
function lt({ side: t, color: n }) {
|
|
3916
3916
|
return /* @__PURE__ */ d(
|
|
3917
3917
|
"div",
|
|
3918
3918
|
{
|
|
3919
3919
|
style: {
|
|
3920
3920
|
width: ge,
|
|
3921
|
-
height:
|
|
3921
|
+
height: Y,
|
|
3922
3922
|
background: t === "right" ? "linear-gradient(90deg, #04091a 0%, #071428 60%, #040c1c 100%)" : "linear-gradient(90deg, #040c1c 0%, #071428 40%, #04091a 100%)",
|
|
3923
3923
|
position: "relative",
|
|
3924
3924
|
overflow: "hidden"
|
|
@@ -3942,8 +3942,8 @@ function rt({ side: t, color: n }) {
|
|
|
3942
3942
|
{
|
|
3943
3943
|
style: {
|
|
3944
3944
|
position: "absolute",
|
|
3945
|
-
top:
|
|
3946
|
-
bottom:
|
|
3945
|
+
top: Y * 0.25,
|
|
3946
|
+
bottom: Y * 0.25,
|
|
3947
3947
|
left: 14,
|
|
3948
3948
|
right: 14,
|
|
3949
3949
|
display: "flex",
|
|
@@ -4037,30 +4037,30 @@ function Zt({
|
|
|
4037
4037
|
status: a = "online",
|
|
4038
4038
|
name: s = "MSG-SRV-01",
|
|
4039
4039
|
queueDepth: l = 45,
|
|
4040
|
-
msgsPerSec:
|
|
4040
|
+
msgsPerSec: f = 230,
|
|
4041
4041
|
instances: c = 3,
|
|
4042
4042
|
_compact: p
|
|
4043
4043
|
}) {
|
|
4044
|
-
const [
|
|
4044
|
+
const [h, b] = A(n), u = ee(0), g = ee(0);
|
|
4045
4045
|
Ee(() => {
|
|
4046
4046
|
if (!r) {
|
|
4047
4047
|
b(n);
|
|
4048
4048
|
return;
|
|
4049
4049
|
}
|
|
4050
|
-
const
|
|
4051
|
-
|
|
4050
|
+
const x = (w) => {
|
|
4051
|
+
g.current && b((P) => P + (w - g.current) * 0.027), g.current = w, u.current = requestAnimationFrame(x);
|
|
4052
4052
|
};
|
|
4053
|
-
return
|
|
4054
|
-
cancelAnimationFrame(
|
|
4053
|
+
return u.current = requestAnimationFrame(x), () => {
|
|
4054
|
+
cancelAnimationFrame(u.current), g.current = 0;
|
|
4055
4055
|
};
|
|
4056
4056
|
}, [r, n]);
|
|
4057
|
-
const m =
|
|
4057
|
+
const m = at[a] ?? at.online;
|
|
4058
4058
|
return /* @__PURE__ */ d(
|
|
4059
4059
|
"div",
|
|
4060
4060
|
{
|
|
4061
4061
|
style: {
|
|
4062
4062
|
width: K * i,
|
|
4063
|
-
height:
|
|
4063
|
+
height: Y * i,
|
|
4064
4064
|
position: "relative",
|
|
4065
4065
|
display: "flex",
|
|
4066
4066
|
alignItems: "center",
|
|
@@ -4121,7 +4121,7 @@ function Zt({
|
|
|
4121
4121
|
style: {
|
|
4122
4122
|
position: "absolute",
|
|
4123
4123
|
width: K * 1.3 * i,
|
|
4124
|
-
height:
|
|
4124
|
+
height: Y * 2 * i,
|
|
4125
4125
|
background: `radial-gradient(ellipse, ${m.glow} 0%, transparent 65%)`,
|
|
4126
4126
|
filter: `blur(${Math.round(40 * i)}px)`,
|
|
4127
4127
|
pointerEvents: "none",
|
|
@@ -4145,10 +4145,10 @@ function Zt({
|
|
|
4145
4145
|
{
|
|
4146
4146
|
style: {
|
|
4147
4147
|
width: K,
|
|
4148
|
-
height:
|
|
4148
|
+
height: Y,
|
|
4149
4149
|
position: "relative",
|
|
4150
4150
|
transformStyle: "preserve-3d",
|
|
4151
|
-
transform: `rotateX(${t}deg) rotateY(${
|
|
4151
|
+
transform: `rotateX(${t}deg) rotateY(${h}deg) rotateZ(${o}deg)`,
|
|
4152
4152
|
transition: r ? "none" : "transform 0.55s cubic-bezier(0.25, 0.46, 0.45, 0.94)"
|
|
4153
4153
|
},
|
|
4154
4154
|
children: [
|
|
@@ -4158,14 +4158,14 @@ function Zt({
|
|
|
4158
4158
|
cfg: m,
|
|
4159
4159
|
name: s,
|
|
4160
4160
|
queueDepth: l,
|
|
4161
|
-
msgsPerSec:
|
|
4161
|
+
msgsPerSec: f,
|
|
4162
4162
|
instances: c,
|
|
4163
4163
|
compact: p
|
|
4164
4164
|
}
|
|
4165
4165
|
) }),
|
|
4166
4166
|
/* @__PURE__ */ e("div", { style: fe.back, children: /* @__PURE__ */ e(Gt, {}) }),
|
|
4167
|
-
/* @__PURE__ */ e("div", { style: fe.left, children: /* @__PURE__ */ e(
|
|
4168
|
-
/* @__PURE__ */ e("div", { style: fe.right, children: /* @__PURE__ */ e(
|
|
4167
|
+
/* @__PURE__ */ e("div", { style: fe.left, children: /* @__PURE__ */ e(lt, { side: "left", color: m.color }) }),
|
|
4168
|
+
/* @__PURE__ */ e("div", { style: fe.right, children: /* @__PURE__ */ e(lt, { side: "right", color: m.color }) }),
|
|
4169
4169
|
/* @__PURE__ */ e("div", { style: fe.top, children: /* @__PURE__ */ e(Kt, { queueDepth: l, color: m.color }) }),
|
|
4170
4170
|
/* @__PURE__ */ e("div", { style: fe.bottom, children: /* @__PURE__ */ e("div", { style: { width: K, height: ge, background: "#020508" } }) })
|
|
4171
4171
|
]
|
|
@@ -4177,8 +4177,8 @@ function Zt({
|
|
|
4177
4177
|
}
|
|
4178
4178
|
);
|
|
4179
4179
|
}
|
|
4180
|
-
function
|
|
4181
|
-
const i = (
|
|
4180
|
+
function ft({ status: t = "online", scale: n = 1 }) {
|
|
4181
|
+
const i = (S[t] ?? S.online).color;
|
|
4182
4182
|
return /* @__PURE__ */ e(
|
|
4183
4183
|
"div",
|
|
4184
4184
|
{
|
|
@@ -4296,8 +4296,8 @@ function R(t, n, o = 24) {
|
|
|
4296
4296
|
});
|
|
4297
4297
|
}
|
|
4298
4298
|
function Jt({ data: t, color: n, height: o = 28 }) {
|
|
4299
|
-
const r = o, a = Math.max(...t, 1), s = t.map((l,
|
|
4300
|
-
const c =
|
|
4299
|
+
const r = o, a = Math.max(...t, 1), s = t.map((l, f) => {
|
|
4300
|
+
const c = f / (t.length - 1) * 120, p = r - l / a * (r - 4) - 2;
|
|
4301
4301
|
return `${c},${p}`;
|
|
4302
4302
|
}).join(" ");
|
|
4303
4303
|
return /* @__PURE__ */ e("svg", { width: 120, height: r, style: { display: "block", overflow: "visible" }, children: /* @__PURE__ */ e(
|
|
@@ -4321,7 +4321,7 @@ function ei({
|
|
|
4321
4321
|
animPhase: r,
|
|
4322
4322
|
series: a
|
|
4323
4323
|
}) {
|
|
4324
|
-
const s = i === "critical" || i === "offline" ? "#ff2255" : i === "warning" ? "#ff8c00" : "#00e5ff", l = a ? a.map((p) => ({ ...p })) : ti(t, o),
|
|
4324
|
+
const s = i === "critical" || i === "offline" ? "#ff2255" : i === "warning" ? "#ff8c00" : "#00e5ff", l = a ? a.map((p) => ({ ...p })) : ti(t, o), f = r >= 0.3 ? 0 : -280, c = r >= 0.2 ? 1 : 0;
|
|
4325
4325
|
return /* @__PURE__ */ d(
|
|
4326
4326
|
"div",
|
|
4327
4327
|
{
|
|
@@ -4335,7 +4335,7 @@ function ei({
|
|
|
4335
4335
|
display: "flex",
|
|
4336
4336
|
flexDirection: "column",
|
|
4337
4337
|
overflow: "hidden",
|
|
4338
|
-
transform: `translateX(${
|
|
4338
|
+
transform: `translateX(${f}px)`,
|
|
4339
4339
|
opacity: c,
|
|
4340
4340
|
transition: "transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.4s ease"
|
|
4341
4341
|
},
|
|
@@ -4357,7 +4357,7 @@ function ei({
|
|
|
4357
4357
|
]
|
|
4358
4358
|
}
|
|
4359
4359
|
),
|
|
4360
|
-
/* @__PURE__ */ e("div", { style: { flex: 1, overflowY: "auto", padding: "12px 10px", display: "flex", flexDirection: "column", gap: 16 }, children: l.map((p,
|
|
4360
|
+
/* @__PURE__ */ e("div", { style: { flex: 1, overflowY: "auto", padding: "12px 10px", display: "flex", flexDirection: "column", gap: 16 }, children: l.map((p, h) => /* @__PURE__ */ d(
|
|
4361
4361
|
"div",
|
|
4362
4362
|
{
|
|
4363
4363
|
style: {
|
|
@@ -4365,7 +4365,7 @@ function ei({
|
|
|
4365
4365
|
background: "rgba(0, 20, 40, 0.35)",
|
|
4366
4366
|
border: `1px solid ${p.color}22`,
|
|
4367
4367
|
borderRadius: 6,
|
|
4368
|
-
transition: `opacity 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) ${
|
|
4368
|
+
transition: `opacity 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) ${h * 0.04}s`,
|
|
4369
4369
|
opacity: r >= 0.5 ? 1 : 0
|
|
4370
4370
|
},
|
|
4371
4371
|
children: [
|
|
@@ -4421,7 +4421,7 @@ function ti(t, n) {
|
|
|
4421
4421
|
}
|
|
4422
4422
|
return [];
|
|
4423
4423
|
}
|
|
4424
|
-
function
|
|
4424
|
+
function ht({
|
|
4425
4425
|
w: t,
|
|
4426
4426
|
h: n,
|
|
4427
4427
|
color: o,
|
|
@@ -4430,7 +4430,7 @@ function pt({
|
|
|
4430
4430
|
delay: a = "0s",
|
|
4431
4431
|
children: s
|
|
4432
4432
|
}) {
|
|
4433
|
-
const l = r ?
|
|
4433
|
+
const l = r ? S[r]?.glow ?? "rgba(0,229,255,0.4)" : "rgba(0,229,255,0.4)";
|
|
4434
4434
|
return /* @__PURE__ */ d(
|
|
4435
4435
|
"div",
|
|
4436
4436
|
{
|
|
@@ -4471,8 +4471,8 @@ function pt({
|
|
|
4471
4471
|
width: 4,
|
|
4472
4472
|
height: 4,
|
|
4473
4473
|
borderRadius: "50%",
|
|
4474
|
-
background:
|
|
4475
|
-
boxShadow: `0 0 6px ${
|
|
4474
|
+
background: S[r]?.color,
|
|
4475
|
+
boxShadow: `0 0 6px ${S[r]?.color}`,
|
|
4476
4476
|
animation: "holo-led-blink 1.2s infinite"
|
|
4477
4477
|
}
|
|
4478
4478
|
}
|
|
@@ -4514,7 +4514,7 @@ function pt({
|
|
|
4514
4514
|
}
|
|
4515
4515
|
);
|
|
4516
4516
|
}
|
|
4517
|
-
function
|
|
4517
|
+
function Oe({
|
|
4518
4518
|
color: t = "#00e5ff",
|
|
4519
4519
|
label: n = "CPU-0",
|
|
4520
4520
|
status: o = "online",
|
|
@@ -4598,8 +4598,8 @@ function Ie({
|
|
|
4598
4598
|
width: 4,
|
|
4599
4599
|
height: 4,
|
|
4600
4600
|
borderRadius: "50%",
|
|
4601
|
-
background:
|
|
4602
|
-
boxShadow: `0 0 6px ${
|
|
4601
|
+
background: S[o]?.color,
|
|
4602
|
+
boxShadow: `0 0 6px ${S[o]?.color}`,
|
|
4603
4603
|
animation: "holo-led-blink 1.2s infinite"
|
|
4604
4604
|
}
|
|
4605
4605
|
}
|
|
@@ -4625,7 +4625,7 @@ function Ie({
|
|
|
4625
4625
|
)
|
|
4626
4626
|
] });
|
|
4627
4627
|
}
|
|
4628
|
-
function
|
|
4628
|
+
function De({
|
|
4629
4629
|
color: t = "#00e5ff",
|
|
4630
4630
|
label: n = "HEAP-0",
|
|
4631
4631
|
status: o = "online",
|
|
@@ -4696,7 +4696,7 @@ function Oe({
|
|
|
4696
4696
|
width: 3,
|
|
4697
4697
|
height: 3,
|
|
4698
4698
|
borderRadius: "50%",
|
|
4699
|
-
background:
|
|
4699
|
+
background: S[o]?.color,
|
|
4700
4700
|
animation: "holo-led-blink 1.2s infinite"
|
|
4701
4701
|
}
|
|
4702
4702
|
}
|
|
@@ -4728,7 +4728,7 @@ function ye({
|
|
|
4728
4728
|
status: o = "online",
|
|
4729
4729
|
activity: i = !1
|
|
4730
4730
|
}) {
|
|
4731
|
-
return /* @__PURE__ */ d(
|
|
4731
|
+
return /* @__PURE__ */ d(ht, { w: 56, h: 22, color: t, label: n, status: o, children: [
|
|
4732
4732
|
/* @__PURE__ */ e(
|
|
4733
4733
|
"div",
|
|
4734
4734
|
{
|
|
@@ -4761,7 +4761,7 @@ function ye({
|
|
|
4761
4761
|
)
|
|
4762
4762
|
] });
|
|
4763
4763
|
}
|
|
4764
|
-
function
|
|
4764
|
+
function ut({
|
|
4765
4765
|
color: t = "#00e5ff",
|
|
4766
4766
|
label: n = "NET",
|
|
4767
4767
|
status: o = "online"
|
|
@@ -4825,14 +4825,14 @@ function ft({
|
|
|
4825
4825
|
}
|
|
4826
4826
|
);
|
|
4827
4827
|
}
|
|
4828
|
-
function
|
|
4828
|
+
function L({
|
|
4829
4829
|
color: t = "#00e5ff",
|
|
4830
4830
|
label: n = "THREAD",
|
|
4831
4831
|
status: o = "online"
|
|
4832
4832
|
}) {
|
|
4833
|
-
return /* @__PURE__ */ e(
|
|
4833
|
+
return /* @__PURE__ */ e(ht, { w: 44, h: 28, color: t, label: n, status: o });
|
|
4834
4834
|
}
|
|
4835
|
-
function
|
|
4835
|
+
function Le({
|
|
4836
4836
|
color: t = "#ff8c00",
|
|
4837
4837
|
label: n = "PLATTER-0",
|
|
4838
4838
|
status: o = "online",
|
|
@@ -4890,7 +4890,7 @@ function Ae({
|
|
|
4890
4890
|
width: 4,
|
|
4891
4891
|
height: 4,
|
|
4892
4892
|
borderRadius: "50%",
|
|
4893
|
-
background:
|
|
4893
|
+
background: S[o]?.color,
|
|
4894
4894
|
animation: "holo-led-blink 1.2s infinite"
|
|
4895
4895
|
}
|
|
4896
4896
|
}
|
|
@@ -4916,7 +4916,7 @@ function Ae({
|
|
|
4916
4916
|
)
|
|
4917
4917
|
] });
|
|
4918
4918
|
}
|
|
4919
|
-
function
|
|
4919
|
+
function M({
|
|
4920
4920
|
color: t = "#00e5ff",
|
|
4921
4921
|
label: n = "PORT-1",
|
|
4922
4922
|
status: o = "online"
|
|
@@ -4945,7 +4945,7 @@ function N({
|
|
|
4945
4945
|
width: 4,
|
|
4946
4946
|
height: 4,
|
|
4947
4947
|
borderRadius: "50%",
|
|
4948
|
-
background: o && o !== "online" ?
|
|
4948
|
+
background: o && o !== "online" ? S[o]?.color ?? t : t,
|
|
4949
4949
|
boxShadow: `0 0 4px ${t}`,
|
|
4950
4950
|
animation: o && o !== "online" && o !== "offline" ? "holo-led-blink 1s infinite" : "none"
|
|
4951
4951
|
}
|
|
@@ -5125,14 +5125,14 @@ function ri({
|
|
|
5125
5125
|
internal: i,
|
|
5126
5126
|
revealPhase: r
|
|
5127
5127
|
}) {
|
|
5128
|
-
const a =
|
|
5128
|
+
const a = S[n]?.color ?? S.online.color, s = "#ff8c00";
|
|
5129
5129
|
if (t === "server") {
|
|
5130
|
-
const l = o.cpuLoad ?? 50,
|
|
5130
|
+
const l = o.cpuLoad ?? 50, f = o.memLoad ?? 60, c = [
|
|
5131
5131
|
{
|
|
5132
5132
|
key: "cpu0",
|
|
5133
5133
|
delay: 0,
|
|
5134
5134
|
el: /* @__PURE__ */ e(
|
|
5135
|
-
|
|
5135
|
+
Oe,
|
|
5136
5136
|
{
|
|
5137
5137
|
color: a,
|
|
5138
5138
|
label: "CPU-0",
|
|
@@ -5146,7 +5146,7 @@ function ri({
|
|
|
5146
5146
|
key: "cpu1",
|
|
5147
5147
|
delay: 1,
|
|
5148
5148
|
el: /* @__PURE__ */ e(
|
|
5149
|
-
|
|
5149
|
+
Oe,
|
|
5150
5150
|
{
|
|
5151
5151
|
color: a,
|
|
5152
5152
|
label: "CPU-1",
|
|
@@ -5160,12 +5160,12 @@ function ri({
|
|
|
5160
5160
|
key: "heap0",
|
|
5161
5161
|
delay: 2,
|
|
5162
5162
|
el: /* @__PURE__ */ e(
|
|
5163
|
-
|
|
5163
|
+
De,
|
|
5164
5164
|
{
|
|
5165
5165
|
color: "#8855ee",
|
|
5166
5166
|
label: "HEAP-0",
|
|
5167
5167
|
status: i[2]?.status,
|
|
5168
|
-
usedPercent:
|
|
5168
|
+
usedPercent: f,
|
|
5169
5169
|
delay: "0.1s"
|
|
5170
5170
|
}
|
|
5171
5171
|
)
|
|
@@ -5174,12 +5174,12 @@ function ri({
|
|
|
5174
5174
|
key: "heap1",
|
|
5175
5175
|
delay: 3,
|
|
5176
5176
|
el: /* @__PURE__ */ e(
|
|
5177
|
-
|
|
5177
|
+
De,
|
|
5178
5178
|
{
|
|
5179
5179
|
color: "#8855ee",
|
|
5180
5180
|
label: "HEAP-1",
|
|
5181
5181
|
status: i[3]?.status,
|
|
5182
|
-
usedPercent:
|
|
5182
|
+
usedPercent: f * 0.85,
|
|
5183
5183
|
delay: "0.3s"
|
|
5184
5184
|
}
|
|
5185
5185
|
)
|
|
@@ -5218,12 +5218,12 @@ function ri({
|
|
|
5218
5218
|
{
|
|
5219
5219
|
key: "thread",
|
|
5220
5220
|
delay: 7,
|
|
5221
|
-
el: /* @__PURE__ */ e(
|
|
5221
|
+
el: /* @__PURE__ */ e(L, { color: a, label: "THREAD-POOL", status: i[7]?.status })
|
|
5222
5222
|
},
|
|
5223
5223
|
{
|
|
5224
5224
|
key: "net",
|
|
5225
5225
|
delay: 8,
|
|
5226
|
-
el: /* @__PURE__ */ e(
|
|
5226
|
+
el: /* @__PURE__ */ e(ut, { color: a, label: "NET", status: i[8]?.status })
|
|
5227
5227
|
}
|
|
5228
5228
|
];
|
|
5229
5229
|
return /* @__PURE__ */ e(
|
|
@@ -5237,13 +5237,13 @@ function ri({
|
|
|
5237
5237
|
alignItems: "center",
|
|
5238
5238
|
padding: 24
|
|
5239
5239
|
},
|
|
5240
|
-
children: c.map(({ key: p, delay:
|
|
5240
|
+
children: c.map(({ key: p, delay: h, el: b }) => /* @__PURE__ */ e(
|
|
5241
5241
|
"div",
|
|
5242
5242
|
{
|
|
5243
5243
|
style: {
|
|
5244
|
-
opacity: r >= 0.2 +
|
|
5245
|
-
transform: `scale(${r >= 0.2 +
|
|
5246
|
-
transition: `opacity 0.4s ${E} ${
|
|
5244
|
+
opacity: r >= 0.2 + h * 0.08 ? 1 : 0,
|
|
5245
|
+
transform: `scale(${r >= 0.2 + h * 0.08 ? 1 : 0.6})`,
|
|
5246
|
+
transition: `opacity 0.4s ${E} ${h * 0.06}s, transform 0.45s ${E} ${h * 0.06}s`
|
|
5247
5247
|
},
|
|
5248
5248
|
children: b
|
|
5249
5249
|
},
|
|
@@ -5253,7 +5253,7 @@ function ri({
|
|
|
5253
5253
|
);
|
|
5254
5254
|
}
|
|
5255
5255
|
if (t === "dispatcher") {
|
|
5256
|
-
const l = Array.from({ length: 8 }, (
|
|
5256
|
+
const l = Array.from({ length: 8 }, (f, c) => {
|
|
5257
5257
|
const p = i[c];
|
|
5258
5258
|
return /* @__PURE__ */ e(
|
|
5259
5259
|
"div",
|
|
@@ -5263,7 +5263,7 @@ function ri({
|
|
|
5263
5263
|
transform: `scale(${r >= 0.25 + c * 0.04 ? 1 : 0.5})`,
|
|
5264
5264
|
transition: `opacity 0.35s ${E} ${c * 0.04}s, transform 0.4s ${E} ${c * 0.04}s`
|
|
5265
5265
|
},
|
|
5266
|
-
children: /* @__PURE__ */ e(
|
|
5266
|
+
children: /* @__PURE__ */ e(M, { color: a, label: `PORT-${c + 1}`, status: p?.status })
|
|
5267
5267
|
},
|
|
5268
5268
|
`p${c}`
|
|
5269
5269
|
);
|
|
@@ -5289,7 +5289,7 @@ function ri({
|
|
|
5289
5289
|
transform: `scale(${r >= 0.7 ? 1 : 0.6})`,
|
|
5290
5290
|
transition: `all 0.4s ${E} 0.3s`
|
|
5291
5291
|
},
|
|
5292
|
-
children: /* @__PURE__ */ e(
|
|
5292
|
+
children: /* @__PURE__ */ e(L, { color: a, label: "HTTP-WORKER", status: i[8]?.status })
|
|
5293
5293
|
}
|
|
5294
5294
|
),
|
|
5295
5295
|
/* @__PURE__ */ e(
|
|
@@ -5300,7 +5300,7 @@ function ri({
|
|
|
5300
5300
|
transform: `scale(${r >= 0.8 ? 1 : 0.6})`,
|
|
5301
5301
|
transition: `all 0.4s ${E} 0.4s`
|
|
5302
5302
|
},
|
|
5303
|
-
children: /* @__PURE__ */ e(
|
|
5303
|
+
children: /* @__PURE__ */ e(L, { color: "#bb55ff", label: "HTTPS-WORKER", status: i[9]?.status })
|
|
5304
5304
|
}
|
|
5305
5305
|
)
|
|
5306
5306
|
] })
|
|
@@ -5329,7 +5329,7 @@ function ri({
|
|
|
5329
5329
|
transform: `scale(${r >= 0.25 + l * 0.1 ? 1 : 0.6})`,
|
|
5330
5330
|
transition: `all 0.4s ${E} ${l * 0.08}s`
|
|
5331
5331
|
},
|
|
5332
|
-
children: /* @__PURE__ */ e(
|
|
5332
|
+
children: /* @__PURE__ */ e(M, { color: "#bb55ff", label: `INST-${l}`, status: i[l]?.status })
|
|
5333
5333
|
},
|
|
5334
5334
|
l
|
|
5335
5335
|
)),
|
|
@@ -5341,7 +5341,7 @@ function ri({
|
|
|
5341
5341
|
transform: `scale(${r >= 0.6 ? 1 : 0.6})`,
|
|
5342
5342
|
transition: `all 0.4s ${E} 0.25s`
|
|
5343
5343
|
},
|
|
5344
|
-
children: /* @__PURE__ */ e(
|
|
5344
|
+
children: /* @__PURE__ */ e(L, { color: "#bb55ff", label: "QUEUE-0", status: i[3]?.status })
|
|
5345
5345
|
}
|
|
5346
5346
|
),
|
|
5347
5347
|
[4, 5, 6].map((l) => /* @__PURE__ */ e(
|
|
@@ -5353,7 +5353,7 @@ function ri({
|
|
|
5353
5353
|
transition: `all 0.4s ${E} ${0.35 + (l - 4) * 0.05}s`
|
|
5354
5354
|
},
|
|
5355
5355
|
children: /* @__PURE__ */ e(
|
|
5356
|
-
|
|
5356
|
+
L,
|
|
5357
5357
|
{
|
|
5358
5358
|
color: "#bb55ff",
|
|
5359
5359
|
label: `WORKER-${l - 3}`,
|
|
@@ -5380,25 +5380,25 @@ function ri({
|
|
|
5380
5380
|
padding: 24
|
|
5381
5381
|
},
|
|
5382
5382
|
children: [
|
|
5383
|
-
[0, 1, 2].map((
|
|
5383
|
+
[0, 1, 2].map((f) => /* @__PURE__ */ e(
|
|
5384
5384
|
"div",
|
|
5385
5385
|
{
|
|
5386
5386
|
style: {
|
|
5387
|
-
opacity: r >= 0.2 +
|
|
5388
|
-
transform: `scale(${r >= 0.2 +
|
|
5389
|
-
transition: `all 0.45s ${E} ${
|
|
5387
|
+
opacity: r >= 0.2 + f * 0.12 ? 1 : 0,
|
|
5388
|
+
transform: `scale(${r >= 0.2 + f * 0.12 ? 1 : 0.5})`,
|
|
5389
|
+
transition: `all 0.45s ${E} ${f * 0.1}s`
|
|
5390
5390
|
},
|
|
5391
5391
|
children: /* @__PURE__ */ e(
|
|
5392
|
-
|
|
5392
|
+
Le,
|
|
5393
5393
|
{
|
|
5394
5394
|
color: s,
|
|
5395
|
-
label: `PLATTER-${
|
|
5396
|
-
status: i[
|
|
5395
|
+
label: `PLATTER-${f}`,
|
|
5396
|
+
status: i[f]?.status,
|
|
5397
5397
|
capacityPercent: l
|
|
5398
5398
|
}
|
|
5399
5399
|
)
|
|
5400
5400
|
},
|
|
5401
|
-
|
|
5401
|
+
f
|
|
5402
5402
|
)),
|
|
5403
5403
|
/* @__PURE__ */ e(
|
|
5404
5404
|
"div",
|
|
@@ -5408,7 +5408,7 @@ function ri({
|
|
|
5408
5408
|
transform: `scale(${r >= 0.6 ? 1 : 0.6})`,
|
|
5409
5409
|
transition: `all 0.4s ${E} 0.3s`
|
|
5410
5410
|
},
|
|
5411
|
-
children: /* @__PURE__ */ e(
|
|
5411
|
+
children: /* @__PURE__ */ e(L, { color: s, label: "CONN-POOL", status: i[3]?.status })
|
|
5412
5412
|
}
|
|
5413
5413
|
),
|
|
5414
5414
|
/* @__PURE__ */ e(
|
|
@@ -5419,7 +5419,7 @@ function ri({
|
|
|
5419
5419
|
transform: `scale(${r >= 0.75 ? 1 : 0.6})`,
|
|
5420
5420
|
transition: `all 0.4s ${E} 0.4s`
|
|
5421
5421
|
},
|
|
5422
|
-
children: /* @__PURE__ */ e(
|
|
5422
|
+
children: /* @__PURE__ */ e(L, { color: "#00ff88", label: "QUERY-CACHE", status: i[4]?.status })
|
|
5423
5423
|
}
|
|
5424
5424
|
)
|
|
5425
5425
|
]
|
|
@@ -5438,7 +5438,7 @@ function wi({
|
|
|
5438
5438
|
subComponents: s,
|
|
5439
5439
|
graphSeries: l
|
|
5440
5440
|
}) {
|
|
5441
|
-
const
|
|
5441
|
+
const f = ii(t, n, o, a), c = S[o]?.color ?? S.online.color, p = r >= 0.1 ? 1 : r * 10, h = r >= 0.2 ? "-50%" : "0%", b = r >= 0.2 ? "50%" : "0%", u = r >= 0.25 ? Math.min(1, (r - 0.25) * 1.5) : 0;
|
|
5442
5442
|
return /* @__PURE__ */ d(
|
|
5443
5443
|
"div",
|
|
5444
5444
|
{
|
|
@@ -5450,7 +5450,7 @@ function wi({
|
|
|
5450
5450
|
flexDirection: "row",
|
|
5451
5451
|
pointerEvents: "auto"
|
|
5452
5452
|
},
|
|
5453
|
-
onClick: (
|
|
5453
|
+
onClick: (g) => g.stopPropagation(),
|
|
5454
5454
|
children: [
|
|
5455
5455
|
/* @__PURE__ */ e(
|
|
5456
5456
|
"div",
|
|
@@ -5511,7 +5511,7 @@ function wi({
|
|
|
5511
5511
|
background: "linear-gradient(90deg, rgba(2, 8, 20, 0.98) 0%, rgba(2, 12, 28, 0.95) 100%)",
|
|
5512
5512
|
borderRight: `2px solid ${c}44`,
|
|
5513
5513
|
boxShadow: "4px 0 32px rgba(0,0,0,0.6)",
|
|
5514
|
-
transform: `translateX(${
|
|
5514
|
+
transform: `translateX(${h})`,
|
|
5515
5515
|
transition: `transform 0.7s ${E}`
|
|
5516
5516
|
}
|
|
5517
5517
|
}
|
|
@@ -5549,7 +5549,7 @@ function wi({
|
|
|
5549
5549
|
boxShadow: `0 0 40px ${c}18, inset 0 0 60px rgba(0,0,0,0.4)`,
|
|
5550
5550
|
display: "flex",
|
|
5551
5551
|
flexDirection: "column",
|
|
5552
|
-
opacity:
|
|
5552
|
+
opacity: u >= 0.1 ? 1 : 0,
|
|
5553
5553
|
transition: `opacity 0.5s ${E} 0.2s`
|
|
5554
5554
|
},
|
|
5555
5555
|
children: [
|
|
@@ -5638,15 +5638,15 @@ function wi({
|
|
|
5638
5638
|
}
|
|
5639
5639
|
}
|
|
5640
5640
|
),
|
|
5641
|
-
/* @__PURE__ */ e("div", { style: { flex: 1, padding: "8px 0 24px" }, children: s ? /* @__PURE__ */ e(oi, { items: s, revealPhase:
|
|
5641
|
+
/* @__PURE__ */ e("div", { style: { flex: 1, padding: "8px 0 24px" }, children: s ? /* @__PURE__ */ e(oi, { items: s, revealPhase: u }) : /* @__PURE__ */ e(
|
|
5642
5642
|
ri,
|
|
5643
5643
|
{
|
|
5644
5644
|
type: t,
|
|
5645
5645
|
name: n,
|
|
5646
5646
|
status: o,
|
|
5647
5647
|
context: a,
|
|
5648
|
-
internal:
|
|
5649
|
-
revealPhase:
|
|
5648
|
+
internal: f,
|
|
5649
|
+
revealPhase: u
|
|
5650
5650
|
}
|
|
5651
5651
|
) })
|
|
5652
5652
|
]
|
|
@@ -5664,31 +5664,34 @@ function Si({
|
|
|
5664
5664
|
brandTag: n = "3D MONITOR",
|
|
5665
5665
|
services: o = [],
|
|
5666
5666
|
backgroundImage: i,
|
|
5667
|
-
|
|
5667
|
+
logoUrl: r,
|
|
5668
|
+
carouselSpeed: a = 6e-3,
|
|
5669
|
+
fontFamily: s,
|
|
5670
|
+
children: l
|
|
5668
5671
|
}) {
|
|
5669
|
-
const [
|
|
5670
|
-
|
|
5671
|
-
|
|
5672
|
+
const [f] = A(20), [c] = A(!1), [p] = A(!0), [h] = A(0.45), [b] = A(3.3), [u, g] = A("compact"), [m, x] = A(0), [w, P] = A(null), [y, D] = A(null), [B, k] = A(0), V = (C) => {
|
|
5673
|
+
u === "compact" && (P(C), g("expanding"), x(0), setTimeout(() => x(1), 50), setTimeout(() => x(2), 800), setTimeout(() => x(3), 1200), setTimeout(() => x(4), 1600), setTimeout(() => x(5), 2e3), setTimeout(() => {
|
|
5674
|
+
x(6), g("expanded");
|
|
5672
5675
|
}, 2400));
|
|
5673
|
-
},
|
|
5674
|
-
y ? (
|
|
5675
|
-
|
|
5676
|
+
}, v = () => {
|
|
5677
|
+
y ? (D(null), k(0)) : u === "expanded" && (g("collapsing"), x(0), P(null), setTimeout(() => {
|
|
5678
|
+
g((C) => C === "collapsing" ? "compact" : C);
|
|
5676
5679
|
}, 1e3));
|
|
5677
|
-
},
|
|
5678
|
-
|
|
5680
|
+
}, W = (C) => {
|
|
5681
|
+
D(C), k(0);
|
|
5679
5682
|
};
|
|
5680
5683
|
J.useEffect(() => {
|
|
5681
5684
|
if (!y) return;
|
|
5682
|
-
const C = performance.now(),
|
|
5683
|
-
const
|
|
5684
|
-
|
|
5685
|
-
},
|
|
5686
|
-
return () => cancelAnimationFrame(
|
|
5685
|
+
const C = performance.now(), ke = 1200, oe = () => {
|
|
5686
|
+
const Ne = performance.now() - C, Te = Math.min(1, Ne / ke);
|
|
5687
|
+
k(Te), Te < 1 && requestAnimationFrame(oe);
|
|
5688
|
+
}, le = requestAnimationFrame(oe);
|
|
5689
|
+
return () => cancelAnimationFrame(le);
|
|
5687
5690
|
}, [y]);
|
|
5688
|
-
const
|
|
5689
|
-
|
|
5690
|
-
},
|
|
5691
|
-
return /* @__PURE__ */ d("div", { className: "app", children: [
|
|
5691
|
+
const X = () => {
|
|
5692
|
+
D(null), k(0);
|
|
5693
|
+
}, z = o.find((C) => C.name === w), te = z?.status ?? "online", ie = z?.dbSync ?? !0, I = z?.metrics, F = z?.alerts, ne = 330, Se = 340, $e = y ? 1.15 : 1, Q = y ? -(y.ex - ne) * 0.06 : 0, N = y ? -(y.ey - Se) * 0.06 : 0;
|
|
5694
|
+
return /* @__PURE__ */ d("div", { className: "app", style: s ? { fontFamily: s } : void 0, children: [
|
|
5692
5695
|
/* @__PURE__ */ e(
|
|
5693
5696
|
"div",
|
|
5694
5697
|
{
|
|
@@ -5697,12 +5700,12 @@ function Si({
|
|
|
5697
5700
|
inset: 0,
|
|
5698
5701
|
zIndex: 0,
|
|
5699
5702
|
background: "#020810",
|
|
5700
|
-
backgroundImage:
|
|
5703
|
+
backgroundImage: `url(${i})`,
|
|
5701
5704
|
backgroundSize: "cover",
|
|
5702
5705
|
backgroundPosition: "center center",
|
|
5703
5706
|
backgroundRepeat: "no-repeat",
|
|
5704
5707
|
transition: "transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1)",
|
|
5705
|
-
transform: `translate(${
|
|
5708
|
+
transform: `translate(${Q}px, ${N}px) scale(${$e})`,
|
|
5706
5709
|
willChange: "transform"
|
|
5707
5710
|
}
|
|
5708
5711
|
}
|
|
@@ -5719,32 +5722,33 @@ function Si({
|
|
|
5719
5722
|
{
|
|
5720
5723
|
className: "scene",
|
|
5721
5724
|
style: {
|
|
5722
|
-
cursor:
|
|
5725
|
+
cursor: u === "expanded" ? "zoom-out" : "default"
|
|
5723
5726
|
},
|
|
5724
|
-
onClick:
|
|
5727
|
+
onClick: v,
|
|
5725
5728
|
children: /* @__PURE__ */ e(
|
|
5726
5729
|
Wt,
|
|
5727
5730
|
{
|
|
5728
|
-
viewState:
|
|
5729
|
-
animPhase:
|
|
5730
|
-
selectedSystem:
|
|
5731
|
+
viewState: u,
|
|
5732
|
+
animPhase: m,
|
|
5733
|
+
selectedSystem: w,
|
|
5731
5734
|
selectedComponent: y,
|
|
5732
|
-
drillAnimPhase:
|
|
5733
|
-
rotateY:
|
|
5734
|
-
autoRotateComponents:
|
|
5735
|
-
componentScale:
|
|
5736
|
-
drillZoom:
|
|
5737
|
-
autoRotateCarousel:
|
|
5738
|
-
carouselSpeed:
|
|
5739
|
-
|
|
5740
|
-
|
|
5741
|
-
|
|
5742
|
-
|
|
5743
|
-
|
|
5744
|
-
|
|
5745
|
-
|
|
5746
|
-
|
|
5747
|
-
|
|
5735
|
+
drillAnimPhase: B,
|
|
5736
|
+
rotateY: f,
|
|
5737
|
+
autoRotateComponents: c,
|
|
5738
|
+
componentScale: h,
|
|
5739
|
+
drillZoom: b,
|
|
5740
|
+
autoRotateCarousel: p,
|
|
5741
|
+
carouselSpeed: a,
|
|
5742
|
+
logoUrl: r,
|
|
5743
|
+
onSelectSystem: V,
|
|
5744
|
+
onBackgroundClick: v,
|
|
5745
|
+
onComponentClick: W,
|
|
5746
|
+
onCloseDrill: X,
|
|
5747
|
+
selectedSystemStatus: te,
|
|
5748
|
+
selectedSystemDbSync: ie,
|
|
5749
|
+
selectedSystemMetrics: I,
|
|
5750
|
+
selectedSystemAlerts: F,
|
|
5751
|
+
children: l
|
|
5748
5752
|
}
|
|
5749
5753
|
)
|
|
5750
5754
|
}
|
|
@@ -5757,21 +5761,21 @@ function $(t, n, o = 24) {
|
|
|
5757
5761
|
return Math.min(100, Math.max(0, t + Math.sin(a * Math.PI * 2) * n + (Math.random() - 0.5) * 10));
|
|
5758
5762
|
});
|
|
5759
5763
|
}
|
|
5760
|
-
function
|
|
5764
|
+
function bt(t) {
|
|
5761
5765
|
return t === "critical" || t === "offline" ? "#ff2255" : t === "warning" ? "#ff8c00" : "#00e5ff";
|
|
5762
5766
|
}
|
|
5763
5767
|
function me(t, n, o) {
|
|
5764
|
-
const i = t === "online" ? "online" : t, r =
|
|
5768
|
+
const i = t === "online" ? "online" : t, r = bt(t), a = o?.cpuLoad ?? 50, s = o?.memLoad ?? 60, l = i === "critical" || i === "warning" && a > 80 ? i : "online", f = i === "warning" && s > 85 ? "warning" : i === "critical" ? "critical" : "online", c = i === "critical" && n === "APP-03" ? "critical" : "online", p = i === "offline" ? "offline" : "online";
|
|
5765
5769
|
return [
|
|
5766
|
-
{ id: "cpu-0", label: "CPU-0", status: l, detail: i === "critical" ? "Core overload" : i === "warning" ? "Load spike" : void 0, element: /* @__PURE__ */ e(
|
|
5767
|
-
{ id: "cpu-1", label: "CPU-1", status: "online", element: /* @__PURE__ */ e(
|
|
5768
|
-
{ id: "heap-0", label: "HEAP-0", status:
|
|
5769
|
-
{ id: "heap-1", label: "HEAP-1", status: "online", element: /* @__PURE__ */ e(
|
|
5770
|
+
{ id: "cpu-0", label: "CPU-0", status: l, detail: i === "critical" ? "Core overload" : i === "warning" ? "Load spike" : void 0, element: /* @__PURE__ */ e(Oe, { color: r, label: "CPU-0", status: l, load: a }) },
|
|
5771
|
+
{ id: "cpu-1", label: "CPU-1", status: "online", element: /* @__PURE__ */ e(Oe, { color: r, label: "CPU-1", status: "online", load: a * 0.7 }) },
|
|
5772
|
+
{ id: "heap-0", label: "HEAP-0", status: f, detail: f === "warning" ? "Memory heap usage" : f === "critical" ? "OOM risk" : void 0, element: /* @__PURE__ */ e(De, { color: "#8855ee", label: "HEAP-0", status: f, usedPercent: s }) },
|
|
5773
|
+
{ id: "heap-1", label: "HEAP-1", status: "online", element: /* @__PURE__ */ e(De, { color: "#8855ee", label: "HEAP-1", status: "online", usedPercent: s * 0.85 }) },
|
|
5770
5774
|
{ id: "drive-1", label: "DRIVE-1", status: "online", element: /* @__PURE__ */ e(ye, { color: r, label: "DRIVE-1", status: "online", activity: !0 }) },
|
|
5771
5775
|
{ id: "drive-2", label: "DRIVE-2", status: "online", element: /* @__PURE__ */ e(ye, { color: r, label: "DRIVE-2", status: "online", activity: a > 30 }) },
|
|
5772
5776
|
{ id: "drive-3", label: "DRIVE-3", status: "online", element: /* @__PURE__ */ e(ye, { color: r, label: "DRIVE-3", status: "online", activity: a > 50 }) },
|
|
5773
|
-
{ id: "thread-pool", label: "THREAD-POOL", status: c, detail: c === "critical" ? "Thread exhaustion" : void 0, element: /* @__PURE__ */ e(
|
|
5774
|
-
{ id: "network", label: "NET", status: p, element: /* @__PURE__ */ e(
|
|
5777
|
+
{ id: "thread-pool", label: "THREAD-POOL", status: c, detail: c === "critical" ? "Thread exhaustion" : void 0, element: /* @__PURE__ */ e(L, { color: r, label: "THREAD-POOL", status: c }) },
|
|
5778
|
+
{ id: "network", label: "NET", status: p, element: /* @__PURE__ */ e(ut, { color: r, label: "NET", status: p }) }
|
|
5775
5779
|
];
|
|
5776
5780
|
}
|
|
5777
5781
|
function xe(t) {
|
|
@@ -5787,22 +5791,22 @@ function xe(t) {
|
|
|
5787
5791
|
{ id: "thread", label: "THREAD-POOL", unit: "%", color: "#22aaff", data: $(55, 20) }
|
|
5788
5792
|
];
|
|
5789
5793
|
}
|
|
5790
|
-
function
|
|
5791
|
-
const i = t === "online" ? "online" : t, r =
|
|
5794
|
+
function gt(t, n, o) {
|
|
5795
|
+
const i = t === "online" ? "online" : t, r = bt(t), a = i === "critical" || i === "offline" ? i : "online", s = i === "warning" ? "warning" : "online", l = i === "critical" ? "critical" : "online";
|
|
5792
5796
|
return [
|
|
5793
|
-
{ id: "port-1", label: "PORT-1", status: "online", element: /* @__PURE__ */ e(
|
|
5794
|
-
{ id: "port-2", label: "PORT-2", status: "online", element: /* @__PURE__ */ e(
|
|
5795
|
-
{ id: "port-3", label: "PORT-3", status: a, detail: i === "critical" ? "Gateway timeout" : i === "offline" ? "Unreachable" : void 0, element: /* @__PURE__ */ e(
|
|
5796
|
-
{ id: "port-4", label: "PORT-4", status: "online", element: /* @__PURE__ */ e(
|
|
5797
|
-
{ id: "port-5", label: "PORT-5", status: s, detail: s === "warning" ? "Latency spike" : void 0, element: /* @__PURE__ */ e(
|
|
5798
|
-
{ id: "port-6", label: "PORT-6", status: "online", element: /* @__PURE__ */ e(
|
|
5799
|
-
{ id: "port-7", label: "PORT-7", status: "online", element: /* @__PURE__ */ e(
|
|
5800
|
-
{ id: "port-8", label: "PORT-8", status: "online", element: /* @__PURE__ */ e(
|
|
5801
|
-
{ id: "http-worker", label: "HTTP-WORKER", status: l, detail: l === "critical" ? "Worker timeout" : void 0, element: /* @__PURE__ */ e(
|
|
5802
|
-
{ id: "https-worker", label: "HTTPS-WORKER", status: "online", element: /* @__PURE__ */ e(
|
|
5797
|
+
{ id: "port-1", label: "PORT-1", status: "online", element: /* @__PURE__ */ e(M, { color: r, label: "PORT-1", status: "online" }) },
|
|
5798
|
+
{ id: "port-2", label: "PORT-2", status: "online", element: /* @__PURE__ */ e(M, { color: r, label: "PORT-2", status: "online" }) },
|
|
5799
|
+
{ id: "port-3", label: "PORT-3", status: a, detail: i === "critical" ? "Gateway timeout" : i === "offline" ? "Unreachable" : void 0, element: /* @__PURE__ */ e(M, { color: r, label: "PORT-3", status: a }) },
|
|
5800
|
+
{ id: "port-4", label: "PORT-4", status: "online", element: /* @__PURE__ */ e(M, { color: r, label: "PORT-4", status: "online" }) },
|
|
5801
|
+
{ id: "port-5", label: "PORT-5", status: s, detail: s === "warning" ? "Latency spike" : void 0, element: /* @__PURE__ */ e(M, { color: r, label: "PORT-5", status: s }) },
|
|
5802
|
+
{ id: "port-6", label: "PORT-6", status: "online", element: /* @__PURE__ */ e(M, { color: r, label: "PORT-6", status: "online" }) },
|
|
5803
|
+
{ id: "port-7", label: "PORT-7", status: "online", element: /* @__PURE__ */ e(M, { color: r, label: "PORT-7", status: "online" }) },
|
|
5804
|
+
{ id: "port-8", label: "PORT-8", status: "online", element: /* @__PURE__ */ e(M, { color: r, label: "PORT-8", status: "online" }) },
|
|
5805
|
+
{ id: "http-worker", label: "HTTP-WORKER", status: l, detail: l === "critical" ? "Worker timeout" : void 0, element: /* @__PURE__ */ e(L, { color: r, label: "HTTP-WORKER", status: l }) },
|
|
5806
|
+
{ id: "https-worker", label: "HTTPS-WORKER", status: "online", element: /* @__PURE__ */ e(L, { color: "#bb55ff", label: "HTTPS-WORKER", status: "online" }) }
|
|
5803
5807
|
];
|
|
5804
5808
|
}
|
|
5805
|
-
function
|
|
5809
|
+
function yt(t) {
|
|
5806
5810
|
const n = t?.traffic ?? 50;
|
|
5807
5811
|
return [
|
|
5808
5812
|
{ id: "traffic", label: "TRAFFIC", unit: "%", color: "#00e5ff", data: $(n, 20) },
|
|
@@ -5815,13 +5819,13 @@ function bt(t) {
|
|
|
5815
5819
|
function ai(t, n, o) {
|
|
5816
5820
|
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";
|
|
5817
5821
|
return [
|
|
5818
|
-
{ id: "inst-0", label: "INST-0", status: "online", element: /* @__PURE__ */ e(
|
|
5819
|
-
{ id: "inst-1", label: "INST-1", status: "online", element: /* @__PURE__ */ e(
|
|
5820
|
-
{ id: "inst-2", label: "INST-2", status: r, detail: r === "critical" ? "Instance unreachable" : void 0, element: /* @__PURE__ */ e(
|
|
5821
|
-
{ 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(
|
|
5822
|
-
{ id: "worker-1", label: "WORKER-1", status: "online", element: /* @__PURE__ */ e(
|
|
5823
|
-
{ id: "worker-2", label: "WORKER-2", status: "online", element: /* @__PURE__ */ e(
|
|
5824
|
-
{ id: "worker-3", label: "WORKER-3", status: s, detail: s === "critical" ? "Worker timeout" : void 0, element: /* @__PURE__ */ e(
|
|
5822
|
+
{ id: "inst-0", label: "INST-0", status: "online", element: /* @__PURE__ */ e(M, { color: "#bb55ff", label: "INST-0", status: "online" }) },
|
|
5823
|
+
{ id: "inst-1", label: "INST-1", status: "online", element: /* @__PURE__ */ e(M, { color: "#bb55ff", label: "INST-1", status: "online" }) },
|
|
5824
|
+
{ id: "inst-2", label: "INST-2", status: r, detail: r === "critical" ? "Instance unreachable" : void 0, element: /* @__PURE__ */ e(M, { color: "#bb55ff", label: "INST-2", status: r }) },
|
|
5825
|
+
{ id: "queue-0", label: "QUEUE-0", status: a, detail: i === "critical" ? "Queue full" : i === "offline" ? "Unreachable" : i === "warning" ? "Queue depth warning" : void 0, element: /* @__PURE__ */ e(L, { color: "#bb55ff", label: "QUEUE-0", status: a }) },
|
|
5826
|
+
{ id: "worker-1", label: "WORKER-1", status: "online", element: /* @__PURE__ */ e(L, { color: "#bb55ff", label: "WORKER-1", status: "online" }) },
|
|
5827
|
+
{ id: "worker-2", label: "WORKER-2", status: "online", element: /* @__PURE__ */ e(L, { color: "#bb55ff", label: "WORKER-2", status: "online" }) },
|
|
5828
|
+
{ id: "worker-3", label: "WORKER-3", status: s, detail: s === "critical" ? "Worker timeout" : void 0, element: /* @__PURE__ */ e(L, { color: "#bb55ff", label: "WORKER-3", status: s }) }
|
|
5825
5829
|
];
|
|
5826
5830
|
}
|
|
5827
5831
|
function li(t) {
|
|
@@ -5834,17 +5838,17 @@ function li(t) {
|
|
|
5834
5838
|
{ id: "worker", label: "WORKER", unit: "%", color: "#bb55ff", data: $(n * 0.9, 15) }
|
|
5835
5839
|
];
|
|
5836
5840
|
}
|
|
5837
|
-
function
|
|
5838
|
-
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",
|
|
5841
|
+
function We(t, n, o) {
|
|
5842
|
+
const i = t === "online" ? "online" : t, r = "#ff8c00", a = o?.capacity ?? 72, s = i === "critical" || i === "offline" ? i : i === "warning" ? "warning" : "online", l = i === "warning" && n === "DB-STB" ? "warning" : "online", f = i === "critical" ? "critical" : "online", c = i === "warning" ? "warning" : "online";
|
|
5839
5843
|
return [
|
|
5840
|
-
{ id: "platter-0", label: "PLATTER-0", status: "online", element: /* @__PURE__ */ e(
|
|
5841
|
-
{ 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(
|
|
5842
|
-
{ id: "platter-2", label: "PLATTER-2", status: l, detail: l === "warning" ? "Replication lag" : void 0, element: /* @__PURE__ */ e(
|
|
5843
|
-
{ id: "conn-pool", label: "CONN-POOL", status:
|
|
5844
|
-
{ id: "query-cache", label: "QUERY-CACHE", status: c, detail: c === "warning" ? "Cache miss rate" : void 0, element: /* @__PURE__ */ e(
|
|
5844
|
+
{ id: "platter-0", label: "PLATTER-0", status: "online", element: /* @__PURE__ */ e(Le, { color: r, label: "PLATTER-0", status: "online", capacityPercent: a }) },
|
|
5845
|
+
{ id: "platter-1", label: "PLATTER-1", status: s, detail: i === "critical" ? "I/O failure" : i === "offline" ? "Connection lost" : i === "warning" ? "Slow queries" : void 0, element: /* @__PURE__ */ e(Le, { color: r, label: "PLATTER-1", status: s, capacityPercent: a }) },
|
|
5846
|
+
{ id: "platter-2", label: "PLATTER-2", status: l, detail: l === "warning" ? "Replication lag" : void 0, element: /* @__PURE__ */ e(Le, { color: r, label: "PLATTER-2", status: l, capacityPercent: a }) },
|
|
5847
|
+
{ id: "conn-pool", label: "CONN-POOL", status: f, detail: f === "critical" ? "Pool exhausted" : void 0, element: /* @__PURE__ */ e(L, { color: r, label: "CONN-POOL", status: f }) },
|
|
5848
|
+
{ id: "query-cache", label: "QUERY-CACHE", status: c, detail: c === "warning" ? "Cache miss rate" : void 0, element: /* @__PURE__ */ e(L, { color: "#00ff88", label: "QUERY-CACHE", status: c }) }
|
|
5845
5849
|
];
|
|
5846
5850
|
}
|
|
5847
|
-
function
|
|
5851
|
+
function ze(t) {
|
|
5848
5852
|
const n = t?.capacity ?? 70;
|
|
5849
5853
|
return [
|
|
5850
5854
|
{ id: "platter0", label: "PLATTER-0 I/O", unit: "%", color: "#ff8c00", data: $(40, 20) },
|
|
@@ -5854,7 +5858,7 @@ function We(t) {
|
|
|
5854
5858
|
{ id: "cache", label: "QUERY-CACHE", unit: "%", color: "#00ff88", data: $(75, 12) }
|
|
5855
5859
|
];
|
|
5856
5860
|
}
|
|
5857
|
-
function
|
|
5861
|
+
function Je(t) {
|
|
5858
5862
|
const n = [
|
|
5859
5863
|
t.wdStatus,
|
|
5860
5864
|
t.msStatus,
|
|
@@ -5867,7 +5871,7 @@ function Ke(t) {
|
|
|
5867
5871
|
return n.includes("critical") ? "critical" : n.includes("warning") ? "warning" : n.includes("offline") ? "offline" : "online";
|
|
5868
5872
|
}
|
|
5869
5873
|
function $i(t) {
|
|
5870
|
-
const n =
|
|
5874
|
+
const n = Je(t), o = n === "critical" || n === "offline", i = n === "warning";
|
|
5871
5875
|
return [
|
|
5872
5876
|
{
|
|
5873
5877
|
label: "Uptime",
|
|
@@ -5889,7 +5893,7 @@ function $i(t) {
|
|
|
5889
5893
|
];
|
|
5890
5894
|
}
|
|
5891
5895
|
function ki(t) {
|
|
5892
|
-
const n =
|
|
5896
|
+
const n = Je(t), o = n === "critical" || n === "offline", i = n === "warning";
|
|
5893
5897
|
return [
|
|
5894
5898
|
...t.dbSync ? [] : [{ level: "warning", message: "DB Replication Lag Detected" }],
|
|
5895
5899
|
...o ? [{ level: "critical", message: "Critical Component Failure" }] : [],
|
|
@@ -5911,10 +5915,10 @@ const si = [
|
|
|
5911
5915
|
{ from: [495, 390], to: [200, 520], visibleAtPhase: 5, color: "#ff8c00" }
|
|
5912
5916
|
];
|
|
5913
5917
|
function di({ config: t }) {
|
|
5914
|
-
const n = J.useContext(ae), o = n?.rotateY ?? 20, i = n?.autoRotateComponents ?? !0, { wdStatus: r, msStatus: a, srv1Status: s, srv2Status: l, srv3Status:
|
|
5918
|
+
const n = J.useContext(ae), o = n?.rotateY ?? 20, i = n?.autoRotateComponents ?? !0, { wdStatus: r, msStatus: a, srv1Status: s, srv2Status: l, srv3Status: f, pdbStatus: c, sdbStatus: p, dbSync: h } = t;
|
|
5915
5919
|
return /* @__PURE__ */ d(Ce, { children: [
|
|
5916
5920
|
/* @__PURE__ */ e(
|
|
5917
|
-
|
|
5921
|
+
T,
|
|
5918
5922
|
{
|
|
5919
5923
|
ex: 330,
|
|
5920
5924
|
ey: 120,
|
|
@@ -5922,11 +5926,11 @@ function di({ config: t }) {
|
|
|
5922
5926
|
zIndex: 10,
|
|
5923
5927
|
visibleAtPhase: 2,
|
|
5924
5928
|
color: "#00e5ff",
|
|
5925
|
-
children: /* @__PURE__ */ e(
|
|
5929
|
+
children: /* @__PURE__ */ e(ft, { status: "online", scale: 1.5 })
|
|
5926
5930
|
}
|
|
5927
5931
|
),
|
|
5928
5932
|
/* @__PURE__ */ e(
|
|
5929
|
-
|
|
5933
|
+
T,
|
|
5930
5934
|
{
|
|
5931
5935
|
ex: 220,
|
|
5932
5936
|
ey: 260,
|
|
@@ -5941,11 +5945,11 @@ function di({ config: t }) {
|
|
|
5941
5945
|
name: "WEB-DISP",
|
|
5942
5946
|
status: r,
|
|
5943
5947
|
context: { traffic: 78 },
|
|
5944
|
-
subComponents:
|
|
5945
|
-
graphSeries:
|
|
5948
|
+
subComponents: gt(r),
|
|
5949
|
+
graphSeries: yt({ traffic: 78 })
|
|
5946
5950
|
},
|
|
5947
5951
|
children: /* @__PURE__ */ e(
|
|
5948
|
-
|
|
5952
|
+
pt,
|
|
5949
5953
|
{
|
|
5950
5954
|
rotateY: o,
|
|
5951
5955
|
autoRotate: i,
|
|
@@ -5959,7 +5963,7 @@ function di({ config: t }) {
|
|
|
5959
5963
|
}
|
|
5960
5964
|
),
|
|
5961
5965
|
/* @__PURE__ */ e(
|
|
5962
|
-
|
|
5966
|
+
T,
|
|
5963
5967
|
{
|
|
5964
5968
|
ex: 440,
|
|
5965
5969
|
ey: 260,
|
|
@@ -5993,7 +5997,7 @@ function di({ config: t }) {
|
|
|
5993
5997
|
}
|
|
5994
5998
|
),
|
|
5995
5999
|
/* @__PURE__ */ e(
|
|
5996
|
-
|
|
6000
|
+
T,
|
|
5997
6001
|
{
|
|
5998
6002
|
ex: 165,
|
|
5999
6003
|
ey: 390,
|
|
@@ -6026,7 +6030,7 @@ function di({ config: t }) {
|
|
|
6026
6030
|
}
|
|
6027
6031
|
),
|
|
6028
6032
|
/* @__PURE__ */ e(
|
|
6029
|
-
|
|
6033
|
+
T,
|
|
6030
6034
|
{
|
|
6031
6035
|
ex: 330,
|
|
6032
6036
|
ey: 390,
|
|
@@ -6059,7 +6063,7 @@ function di({ config: t }) {
|
|
|
6059
6063
|
}
|
|
6060
6064
|
),
|
|
6061
6065
|
/* @__PURE__ */ e(
|
|
6062
|
-
|
|
6066
|
+
T,
|
|
6063
6067
|
{
|
|
6064
6068
|
ex: 495,
|
|
6065
6069
|
ey: 390,
|
|
@@ -6072,9 +6076,9 @@ function di({ config: t }) {
|
|
|
6072
6076
|
componentInfo: {
|
|
6073
6077
|
type: "server",
|
|
6074
6078
|
name: "APP-03",
|
|
6075
|
-
status:
|
|
6079
|
+
status: f,
|
|
6076
6080
|
context: { cpuLoad: 45, memLoad: 63 },
|
|
6077
|
-
subComponents: me(
|
|
6081
|
+
subComponents: me(f, "APP-03", { cpuLoad: 45, memLoad: 63 }),
|
|
6078
6082
|
graphSeries: xe({ cpuLoad: 45, memLoad: 63 })
|
|
6079
6083
|
},
|
|
6080
6084
|
children: /* @__PURE__ */ e(
|
|
@@ -6082,7 +6086,7 @@ function di({ config: t }) {
|
|
|
6082
6086
|
{
|
|
6083
6087
|
rotateY: o,
|
|
6084
6088
|
autoRotate: i,
|
|
6085
|
-
status:
|
|
6089
|
+
status: f,
|
|
6086
6090
|
name: "APP-03",
|
|
6087
6091
|
cpuLoad: 45,
|
|
6088
6092
|
memLoad: 63,
|
|
@@ -6092,7 +6096,7 @@ function di({ config: t }) {
|
|
|
6092
6096
|
}
|
|
6093
6097
|
),
|
|
6094
6098
|
/* @__PURE__ */ e(
|
|
6095
|
-
|
|
6099
|
+
T,
|
|
6096
6100
|
{
|
|
6097
6101
|
ex: 200,
|
|
6098
6102
|
ey: 520,
|
|
@@ -6107,11 +6111,11 @@ function di({ config: t }) {
|
|
|
6107
6111
|
name: "DB-PRI",
|
|
6108
6112
|
status: c,
|
|
6109
6113
|
context: { capacity: 72 },
|
|
6110
|
-
subComponents:
|
|
6111
|
-
graphSeries:
|
|
6114
|
+
subComponents: We(c, "DB-PRI", { capacity: 72 }),
|
|
6115
|
+
graphSeries: ze({ capacity: 72 })
|
|
6112
6116
|
},
|
|
6113
6117
|
children: /* @__PURE__ */ e(
|
|
6114
|
-
|
|
6118
|
+
Ie,
|
|
6115
6119
|
{
|
|
6116
6120
|
rotateY: -o,
|
|
6117
6121
|
autoRotate: i,
|
|
@@ -6125,7 +6129,7 @@ function di({ config: t }) {
|
|
|
6125
6129
|
}
|
|
6126
6130
|
),
|
|
6127
6131
|
/* @__PURE__ */ e(
|
|
6128
|
-
|
|
6132
|
+
T,
|
|
6129
6133
|
{
|
|
6130
6134
|
ex: 460,
|
|
6131
6135
|
ey: 520,
|
|
@@ -6140,11 +6144,11 @@ function di({ config: t }) {
|
|
|
6140
6144
|
name: "DB-STB",
|
|
6141
6145
|
status: p,
|
|
6142
6146
|
context: { capacity: 72 },
|
|
6143
|
-
subComponents:
|
|
6144
|
-
graphSeries:
|
|
6147
|
+
subComponents: We(p, "DB-STB", { capacity: 72 }),
|
|
6148
|
+
graphSeries: ze({ capacity: 72 })
|
|
6145
6149
|
},
|
|
6146
6150
|
children: /* @__PURE__ */ e(
|
|
6147
|
-
|
|
6151
|
+
Ie,
|
|
6148
6152
|
{
|
|
6149
6153
|
rotateY: o,
|
|
6150
6154
|
autoRotate: i,
|
|
@@ -6158,7 +6162,7 @@ function di({ config: t }) {
|
|
|
6158
6162
|
}
|
|
6159
6163
|
),
|
|
6160
6164
|
/* @__PURE__ */ e(
|
|
6161
|
-
|
|
6165
|
+
T,
|
|
6162
6166
|
{
|
|
6163
6167
|
ex: 330,
|
|
6164
6168
|
ey: 520,
|
|
@@ -6167,17 +6171,17 @@ function di({ config: t }) {
|
|
|
6167
6171
|
visibleAtPhase: 6,
|
|
6168
6172
|
fixedScale: 1,
|
|
6169
6173
|
bare: !0,
|
|
6170
|
-
children: /* @__PURE__ */ e(
|
|
6174
|
+
children: /* @__PURE__ */ e(ct, { synced: h, latencyMs: h ? 8 : 342 })
|
|
6171
6175
|
}
|
|
6172
6176
|
),
|
|
6173
6177
|
/* @__PURE__ */ e(ci, { config: t })
|
|
6174
6178
|
] });
|
|
6175
6179
|
}
|
|
6176
6180
|
function ci({ config: t }) {
|
|
6177
|
-
const n = J.useContext(ae), { wdStatus: o, msStatus: i, srv1Status: r, srv2Status: a, srv3Status: s, pdbStatus: l, sdbStatus:
|
|
6181
|
+
const n = J.useContext(ae), { wdStatus: o, msStatus: i, srv1Status: r, srv2Status: a, srv3Status: s, pdbStatus: l, sdbStatus: f, dbSync: c } = t, p = n?.isSelected && n?.isExpandedPos;
|
|
6178
6182
|
return n?.isSelected ? /* @__PURE__ */ d("div", { style: { pointerEvents: "none" }, children: [
|
|
6179
6183
|
/* @__PURE__ */ e(
|
|
6180
|
-
|
|
6184
|
+
O,
|
|
6181
6185
|
{
|
|
6182
6186
|
ex: 220,
|
|
6183
6187
|
ey: 260,
|
|
@@ -6192,7 +6196,7 @@ function ci({ config: t }) {
|
|
|
6192
6196
|
}
|
|
6193
6197
|
),
|
|
6194
6198
|
/* @__PURE__ */ e(
|
|
6195
|
-
|
|
6199
|
+
O,
|
|
6196
6200
|
{
|
|
6197
6201
|
ex: 440,
|
|
6198
6202
|
ey: 260,
|
|
@@ -6207,7 +6211,7 @@ function ci({ config: t }) {
|
|
|
6207
6211
|
}
|
|
6208
6212
|
),
|
|
6209
6213
|
/* @__PURE__ */ e(
|
|
6210
|
-
|
|
6214
|
+
O,
|
|
6211
6215
|
{
|
|
6212
6216
|
ex: 165,
|
|
6213
6217
|
ey: 390,
|
|
@@ -6222,7 +6226,7 @@ function ci({ config: t }) {
|
|
|
6222
6226
|
}
|
|
6223
6227
|
),
|
|
6224
6228
|
/* @__PURE__ */ e(
|
|
6225
|
-
|
|
6229
|
+
O,
|
|
6226
6230
|
{
|
|
6227
6231
|
ex: 330,
|
|
6228
6232
|
ey: 390,
|
|
@@ -6237,7 +6241,7 @@ function ci({ config: t }) {
|
|
|
6237
6241
|
}
|
|
6238
6242
|
),
|
|
6239
6243
|
/* @__PURE__ */ e(
|
|
6240
|
-
|
|
6244
|
+
O,
|
|
6241
6245
|
{
|
|
6242
6246
|
ex: 495,
|
|
6243
6247
|
ey: 390,
|
|
@@ -6252,7 +6256,7 @@ function ci({ config: t }) {
|
|
|
6252
6256
|
}
|
|
6253
6257
|
),
|
|
6254
6258
|
/* @__PURE__ */ e(
|
|
6255
|
-
|
|
6259
|
+
O,
|
|
6256
6260
|
{
|
|
6257
6261
|
ex: 200,
|
|
6258
6262
|
ey: 520,
|
|
@@ -6267,22 +6271,22 @@ function ci({ config: t }) {
|
|
|
6267
6271
|
}
|
|
6268
6272
|
),
|
|
6269
6273
|
/* @__PURE__ */ e(
|
|
6270
|
-
|
|
6274
|
+
O,
|
|
6271
6275
|
{
|
|
6272
6276
|
ex: 460,
|
|
6273
6277
|
ey: 520,
|
|
6274
|
-
status:
|
|
6278
|
+
status: f,
|
|
6275
6279
|
title: "DB-STB",
|
|
6276
|
-
msg:
|
|
6280
|
+
msg: f === "critical" || f === "offline" ? "Sync failure." : "Replication lag.",
|
|
6277
6281
|
offsetX: 110,
|
|
6278
6282
|
offsetY: 30,
|
|
6279
6283
|
align: "right",
|
|
6280
6284
|
isVisible: !!p,
|
|
6281
|
-
internalRef:
|
|
6285
|
+
internalRef: f !== "online" ? "PLATTER-2" : void 0
|
|
6282
6286
|
}
|
|
6283
6287
|
),
|
|
6284
6288
|
!c && /* @__PURE__ */ e(
|
|
6285
|
-
|
|
6289
|
+
O,
|
|
6286
6290
|
{
|
|
6287
6291
|
ex: 330,
|
|
6288
6292
|
ey: 520,
|
|
@@ -6300,17 +6304,17 @@ function ci({ config: t }) {
|
|
|
6300
6304
|
}
|
|
6301
6305
|
function Ri({ config: t, ...n }) {
|
|
6302
6306
|
return /* @__PURE__ */ e(
|
|
6303
|
-
|
|
6307
|
+
dt,
|
|
6304
6308
|
{
|
|
6305
6309
|
name: t.name,
|
|
6306
|
-
status:
|
|
6310
|
+
status: Je(t),
|
|
6307
6311
|
connections: si,
|
|
6308
6312
|
...n,
|
|
6309
6313
|
children: /* @__PURE__ */ e(di, { config: t })
|
|
6310
6314
|
}
|
|
6311
6315
|
);
|
|
6312
6316
|
}
|
|
6313
|
-
function
|
|
6317
|
+
function et(t) {
|
|
6314
6318
|
const n = [
|
|
6315
6319
|
t.dispStatus,
|
|
6316
6320
|
t.srv1Status,
|
|
@@ -6322,7 +6326,7 @@ function Ze(t) {
|
|
|
6322
6326
|
return n.includes("critical") ? "critical" : n.includes("warning") ? "warning" : n.includes("offline") ? "offline" : "online";
|
|
6323
6327
|
}
|
|
6324
6328
|
function Pi(t) {
|
|
6325
|
-
const n =
|
|
6329
|
+
const n = et(t), o = n === "critical" || n === "offline", i = n === "warning";
|
|
6326
6330
|
return [
|
|
6327
6331
|
{
|
|
6328
6332
|
label: "Uptime",
|
|
@@ -6344,7 +6348,7 @@ function Pi(t) {
|
|
|
6344
6348
|
];
|
|
6345
6349
|
}
|
|
6346
6350
|
function Ci(t) {
|
|
6347
|
-
const n =
|
|
6351
|
+
const n = et(t), o = n === "critical" || n === "offline", i = n === "warning";
|
|
6348
6352
|
return [
|
|
6349
6353
|
...t.dbSync ? [] : [{ level: "warning", message: "DB Replication Lag Detected" }],
|
|
6350
6354
|
...o ? [{ level: "critical", message: "Critical Component Failure" }] : [],
|
|
@@ -6362,10 +6366,10 @@ const pi = [
|
|
|
6362
6366
|
{ from: [495, 390], to: [200, 520], visibleAtPhase: 5, color: "#ff8c00" }
|
|
6363
6367
|
];
|
|
6364
6368
|
function fi({ config: t }) {
|
|
6365
|
-
const n = J.useContext(ae), o = n?.rotateY ?? 20, i = n?.autoRotateComponents ?? !0, { dispStatus: r, srv1Status: a, srv2Status: s, srv3Status: l, pdbStatus:
|
|
6369
|
+
const n = J.useContext(ae), o = n?.rotateY ?? 20, i = n?.autoRotateComponents ?? !0, { dispStatus: r, srv1Status: a, srv2Status: s, srv3Status: l, pdbStatus: f, sdbStatus: c, dbSync: p } = t;
|
|
6366
6370
|
return /* @__PURE__ */ d(Ce, { children: [
|
|
6367
6371
|
/* @__PURE__ */ e(
|
|
6368
|
-
|
|
6372
|
+
T,
|
|
6369
6373
|
{
|
|
6370
6374
|
ex: 330,
|
|
6371
6375
|
ey: 120,
|
|
@@ -6373,11 +6377,11 @@ function fi({ config: t }) {
|
|
|
6373
6377
|
zIndex: 10,
|
|
6374
6378
|
visibleAtPhase: 2,
|
|
6375
6379
|
color: "#00e5ff",
|
|
6376
|
-
children: /* @__PURE__ */ e(
|
|
6380
|
+
children: /* @__PURE__ */ e(ft, { status: "online", scale: 1.5 })
|
|
6377
6381
|
}
|
|
6378
6382
|
),
|
|
6379
6383
|
/* @__PURE__ */ e(
|
|
6380
|
-
|
|
6384
|
+
T,
|
|
6381
6385
|
{
|
|
6382
6386
|
ex: 330,
|
|
6383
6387
|
ey: 260,
|
|
@@ -6392,11 +6396,11 @@ function fi({ config: t }) {
|
|
|
6392
6396
|
name: "DISP-01",
|
|
6393
6397
|
status: r,
|
|
6394
6398
|
context: { traffic: 78 },
|
|
6395
|
-
subComponents:
|
|
6396
|
-
graphSeries:
|
|
6399
|
+
subComponents: gt(r),
|
|
6400
|
+
graphSeries: yt({ traffic: 78 })
|
|
6397
6401
|
},
|
|
6398
6402
|
children: /* @__PURE__ */ e(
|
|
6399
|
-
|
|
6403
|
+
pt,
|
|
6400
6404
|
{
|
|
6401
6405
|
rotateY: o,
|
|
6402
6406
|
autoRotate: i,
|
|
@@ -6410,7 +6414,7 @@ function fi({ config: t }) {
|
|
|
6410
6414
|
}
|
|
6411
6415
|
),
|
|
6412
6416
|
/* @__PURE__ */ e(
|
|
6413
|
-
|
|
6417
|
+
T,
|
|
6414
6418
|
{
|
|
6415
6419
|
ex: 165,
|
|
6416
6420
|
ey: 390,
|
|
@@ -6443,7 +6447,7 @@ function fi({ config: t }) {
|
|
|
6443
6447
|
}
|
|
6444
6448
|
),
|
|
6445
6449
|
/* @__PURE__ */ e(
|
|
6446
|
-
|
|
6450
|
+
T,
|
|
6447
6451
|
{
|
|
6448
6452
|
ex: 330,
|
|
6449
6453
|
ey: 390,
|
|
@@ -6476,7 +6480,7 @@ function fi({ config: t }) {
|
|
|
6476
6480
|
}
|
|
6477
6481
|
),
|
|
6478
6482
|
/* @__PURE__ */ e(
|
|
6479
|
-
|
|
6483
|
+
T,
|
|
6480
6484
|
{
|
|
6481
6485
|
ex: 495,
|
|
6482
6486
|
ey: 390,
|
|
@@ -6509,7 +6513,7 @@ function fi({ config: t }) {
|
|
|
6509
6513
|
}
|
|
6510
6514
|
),
|
|
6511
6515
|
/* @__PURE__ */ e(
|
|
6512
|
-
|
|
6516
|
+
T,
|
|
6513
6517
|
{
|
|
6514
6518
|
ex: 200,
|
|
6515
6519
|
ey: 520,
|
|
@@ -6522,17 +6526,17 @@ function fi({ config: t }) {
|
|
|
6522
6526
|
componentInfo: {
|
|
6523
6527
|
type: "database",
|
|
6524
6528
|
name: "DB-PRI",
|
|
6525
|
-
status:
|
|
6529
|
+
status: f,
|
|
6526
6530
|
context: { capacity: 72 },
|
|
6527
|
-
subComponents:
|
|
6528
|
-
graphSeries:
|
|
6531
|
+
subComponents: We(f, "DB-PRI", { capacity: 72 }),
|
|
6532
|
+
graphSeries: ze({ capacity: 72 })
|
|
6529
6533
|
},
|
|
6530
6534
|
children: /* @__PURE__ */ e(
|
|
6531
|
-
|
|
6535
|
+
Ie,
|
|
6532
6536
|
{
|
|
6533
6537
|
rotateY: -o,
|
|
6534
6538
|
autoRotate: i,
|
|
6535
|
-
status:
|
|
6539
|
+
status: f,
|
|
6536
6540
|
name: "DB-PRI",
|
|
6537
6541
|
capacity: 72,
|
|
6538
6542
|
connections: 284,
|
|
@@ -6542,7 +6546,7 @@ function fi({ config: t }) {
|
|
|
6542
6546
|
}
|
|
6543
6547
|
),
|
|
6544
6548
|
/* @__PURE__ */ e(
|
|
6545
|
-
|
|
6549
|
+
T,
|
|
6546
6550
|
{
|
|
6547
6551
|
ex: 460,
|
|
6548
6552
|
ey: 520,
|
|
@@ -6557,11 +6561,11 @@ function fi({ config: t }) {
|
|
|
6557
6561
|
name: "DB-STB",
|
|
6558
6562
|
status: c,
|
|
6559
6563
|
context: { capacity: 72 },
|
|
6560
|
-
subComponents:
|
|
6561
|
-
graphSeries:
|
|
6564
|
+
subComponents: We(c, "DB-STB", { capacity: 72 }),
|
|
6565
|
+
graphSeries: ze({ capacity: 72 })
|
|
6562
6566
|
},
|
|
6563
6567
|
children: /* @__PURE__ */ e(
|
|
6564
|
-
|
|
6568
|
+
Ie,
|
|
6565
6569
|
{
|
|
6566
6570
|
rotateY: o,
|
|
6567
6571
|
autoRotate: i,
|
|
@@ -6575,7 +6579,7 @@ function fi({ config: t }) {
|
|
|
6575
6579
|
}
|
|
6576
6580
|
),
|
|
6577
6581
|
/* @__PURE__ */ e(
|
|
6578
|
-
|
|
6582
|
+
T,
|
|
6579
6583
|
{
|
|
6580
6584
|
ex: 330,
|
|
6581
6585
|
ey: 520,
|
|
@@ -6584,17 +6588,17 @@ function fi({ config: t }) {
|
|
|
6584
6588
|
visibleAtPhase: 6,
|
|
6585
6589
|
fixedScale: 1,
|
|
6586
6590
|
bare: !0,
|
|
6587
|
-
children: /* @__PURE__ */ e(
|
|
6591
|
+
children: /* @__PURE__ */ e(ct, { synced: p, latencyMs: p ? 8 : 342 })
|
|
6588
6592
|
}
|
|
6589
6593
|
),
|
|
6590
6594
|
/* @__PURE__ */ e(hi, { config: t })
|
|
6591
6595
|
] });
|
|
6592
6596
|
}
|
|
6593
6597
|
function hi({ config: t }) {
|
|
6594
|
-
const n = J.useContext(ae), { dispStatus: o, srv1Status: i, srv2Status: r, srv3Status: a, pdbStatus: s, sdbStatus: l, dbSync:
|
|
6598
|
+
const n = J.useContext(ae), { dispStatus: o, srv1Status: i, srv2Status: r, srv3Status: a, pdbStatus: s, sdbStatus: l, dbSync: f } = t, c = n?.isSelected && n?.isExpandedPos;
|
|
6595
6599
|
return n?.isSelected ? /* @__PURE__ */ d("div", { style: { pointerEvents: "none" }, children: [
|
|
6596
6600
|
/* @__PURE__ */ e(
|
|
6597
|
-
|
|
6601
|
+
O,
|
|
6598
6602
|
{
|
|
6599
6603
|
ex: 330,
|
|
6600
6604
|
ey: 260,
|
|
@@ -6609,7 +6613,7 @@ function hi({ config: t }) {
|
|
|
6609
6613
|
}
|
|
6610
6614
|
),
|
|
6611
6615
|
/* @__PURE__ */ e(
|
|
6612
|
-
|
|
6616
|
+
O,
|
|
6613
6617
|
{
|
|
6614
6618
|
ex: 165,
|
|
6615
6619
|
ey: 390,
|
|
@@ -6624,7 +6628,7 @@ function hi({ config: t }) {
|
|
|
6624
6628
|
}
|
|
6625
6629
|
),
|
|
6626
6630
|
/* @__PURE__ */ e(
|
|
6627
|
-
|
|
6631
|
+
O,
|
|
6628
6632
|
{
|
|
6629
6633
|
ex: 330,
|
|
6630
6634
|
ey: 390,
|
|
@@ -6639,7 +6643,7 @@ function hi({ config: t }) {
|
|
|
6639
6643
|
}
|
|
6640
6644
|
),
|
|
6641
6645
|
/* @__PURE__ */ e(
|
|
6642
|
-
|
|
6646
|
+
O,
|
|
6643
6647
|
{
|
|
6644
6648
|
ex: 495,
|
|
6645
6649
|
ey: 390,
|
|
@@ -6654,7 +6658,7 @@ function hi({ config: t }) {
|
|
|
6654
6658
|
}
|
|
6655
6659
|
),
|
|
6656
6660
|
/* @__PURE__ */ e(
|
|
6657
|
-
|
|
6661
|
+
O,
|
|
6658
6662
|
{
|
|
6659
6663
|
ex: 200,
|
|
6660
6664
|
ey: 520,
|
|
@@ -6669,7 +6673,7 @@ function hi({ config: t }) {
|
|
|
6669
6673
|
}
|
|
6670
6674
|
),
|
|
6671
6675
|
/* @__PURE__ */ e(
|
|
6672
|
-
|
|
6676
|
+
O,
|
|
6673
6677
|
{
|
|
6674
6678
|
ex: 460,
|
|
6675
6679
|
ey: 520,
|
|
@@ -6683,8 +6687,8 @@ function hi({ config: t }) {
|
|
|
6683
6687
|
internalRef: l !== "online" ? "PLATTER-2" : void 0
|
|
6684
6688
|
}
|
|
6685
6689
|
),
|
|
6686
|
-
!
|
|
6687
|
-
|
|
6690
|
+
!f && /* @__PURE__ */ e(
|
|
6691
|
+
O,
|
|
6688
6692
|
{
|
|
6689
6693
|
ex: 330,
|
|
6690
6694
|
ey: 520,
|
|
@@ -6702,10 +6706,10 @@ function hi({ config: t }) {
|
|
|
6702
6706
|
}
|
|
6703
6707
|
function Ei({ config: t, ...n }) {
|
|
6704
6708
|
return /* @__PURE__ */ e(
|
|
6705
|
-
|
|
6709
|
+
dt,
|
|
6706
6710
|
{
|
|
6707
6711
|
name: t.name,
|
|
6708
|
-
status:
|
|
6712
|
+
status: et(t),
|
|
6709
6713
|
connections: pi,
|
|
6710
6714
|
...n,
|
|
6711
6715
|
children: /* @__PURE__ */ e(fi, { config: t })
|
|
@@ -6714,56 +6718,56 @@ function Ei({ config: t, ...n }) {
|
|
|
6714
6718
|
}
|
|
6715
6719
|
export {
|
|
6716
6720
|
Si as AIOPsDashboard,
|
|
6717
|
-
|
|
6721
|
+
Oe as CPU3D,
|
|
6718
6722
|
Wt as Carousel,
|
|
6719
|
-
|
|
6720
|
-
|
|
6723
|
+
Ge as CarouselContext,
|
|
6724
|
+
Ke as CarouselItemContext,
|
|
6721
6725
|
It as ComponentDialog,
|
|
6722
6726
|
wi as ComponentDrillView,
|
|
6723
|
-
|
|
6727
|
+
Ie as Database3D,
|
|
6724
6728
|
ye as DriveBay3D,
|
|
6725
6729
|
pi as EXCHANGE_CONNECTIONS,
|
|
6726
6730
|
Ei as ExchangeService,
|
|
6727
6731
|
mi as HOLO_BLUE,
|
|
6728
6732
|
yi as HOLO_CYAN,
|
|
6729
|
-
|
|
6733
|
+
Qe as HOLO_GLASS,
|
|
6730
6734
|
we as HOLO_SURFACE,
|
|
6731
6735
|
ei as HistoricalGraphPanel,
|
|
6732
6736
|
Mt as HoloBase,
|
|
6733
|
-
|
|
6734
|
-
|
|
6737
|
+
ft as Human3D,
|
|
6738
|
+
De as Memory3D,
|
|
6735
6739
|
Zt as MessageServer3D,
|
|
6736
|
-
|
|
6737
|
-
|
|
6738
|
-
|
|
6739
|
-
|
|
6740
|
+
ut as NetworkBlock3D,
|
|
6741
|
+
O as NodeCallout,
|
|
6742
|
+
Le as Platter3D,
|
|
6743
|
+
M as Port3D,
|
|
6740
6744
|
Ri as SAPService,
|
|
6741
6745
|
si as SAP_CONNECTIONS,
|
|
6742
|
-
|
|
6746
|
+
S as STATUS_CFG,
|
|
6743
6747
|
ue as Server3D,
|
|
6744
|
-
|
|
6748
|
+
dt as Service,
|
|
6745
6749
|
ae as ServiceContext,
|
|
6746
6750
|
At as ServiceDialog,
|
|
6747
|
-
|
|
6751
|
+
T as ServiceNode,
|
|
6748
6752
|
zt as SvgConnection,
|
|
6749
|
-
|
|
6750
|
-
|
|
6751
|
-
|
|
6753
|
+
ct as SyncBridge,
|
|
6754
|
+
L as ThreadPool3D,
|
|
6755
|
+
pt as WebDispatcher3D,
|
|
6752
6756
|
Ci as computeExchangeDialogAlerts,
|
|
6753
6757
|
Pi as computeExchangeDialogMetrics,
|
|
6754
|
-
|
|
6758
|
+
et as computeExchangeServiceStatus,
|
|
6755
6759
|
ki as computeSAPDialogAlerts,
|
|
6756
6760
|
$i as computeSAPDialogMetrics,
|
|
6757
|
-
|
|
6758
|
-
|
|
6759
|
-
|
|
6760
|
-
|
|
6761
|
-
|
|
6761
|
+
Je as computeSAPServiceStatus,
|
|
6762
|
+
ze as getDatabaseGraphSeries,
|
|
6763
|
+
We as getDatabaseSubComponents,
|
|
6764
|
+
yt as getDispatcherGraphSeries,
|
|
6765
|
+
gt as getDispatcherSubComponents,
|
|
6762
6766
|
li as getMessageServerGraphSeries,
|
|
6763
6767
|
ai as getMessageServerSubComponents,
|
|
6764
6768
|
xe as getServerGraphSeries,
|
|
6765
6769
|
me as getServerSubComponents,
|
|
6766
|
-
|
|
6770
|
+
qe as makeFaceStyles,
|
|
6767
6771
|
xi as useCarouselContext,
|
|
6768
6772
|
vi as useCarouselItemContext
|
|
6769
6773
|
};
|