@next-bricks/data-view 1.12.0 → 1.12.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/bricks.json +17 -17
- package/dist/chunks/{114.3c9ded00.js → 114.19fb04c3.js} +2 -2
- package/dist/chunks/{114.3c9ded00.js.map → 114.19fb04c3.js.map} +1 -1
- package/dist/chunks/{1493.f58ac7e3.js → 1493.d9a3fd09.js} +2 -2
- package/dist/chunks/{1493.f58ac7e3.js.map → 1493.d9a3fd09.js.map} +1 -1
- package/dist/chunks/{3171.58807427.js → 3171.c0d5c9a1.js} +2 -2
- package/dist/chunks/{3171.58807427.js.map → 3171.c0d5c9a1.js.map} +1 -1
- package/dist/chunks/{3933.f2b54556.js → 3933.b3a62e03.js} +2 -2
- package/dist/chunks/{3933.f2b54556.js.map → 3933.b3a62e03.js.map} +1 -1
- package/dist/chunks/{7218.fd284b6b.js → 4837.7e3e2eea.js} +2 -2
- package/dist/chunks/{4837.f34e276b.js.map → 4837.7e3e2eea.js.map} +1 -1
- package/dist/chunks/{5552.87da9878.js → 5552.f046ba86.js} +2 -2
- package/dist/chunks/{5552.87da9878.js.map → 5552.f046ba86.js.map} +1 -1
- package/dist/chunks/{6314.a27d2069.js → 6314.6563d16e.js} +2 -2
- package/dist/chunks/{6314.a27d2069.js.map → 6314.6563d16e.js.map} +1 -1
- package/dist/chunks/{4837.f34e276b.js → 7218.2b5b7887.js} +2 -2
- package/dist/chunks/{7218.fd284b6b.js.map → 7218.2b5b7887.js.map} +1 -1
- package/dist/chunks/{7733.218dd478.js → 7733.c0366b9c.js} +2 -2
- package/dist/chunks/{7733.218dd478.js.map → 7733.c0366b9c.js.map} +1 -1
- package/dist/chunks/{8097.e14d0f64.js → 8097.f99bf9d0.js} +2 -2
- package/dist/chunks/{8097.e14d0f64.js.map → 8097.f99bf9d0.js.map} +1 -1
- package/dist/chunks/{8826.7aa371b5.js → 8826.63d2867f.js} +2 -2
- package/dist/chunks/{8826.7aa371b5.js.map → 8826.63d2867f.js.map} +1 -1
- package/dist/chunks/{9140.3c21ab5b.js → 9140.776942ea.js} +3 -3
- package/dist/chunks/9140.776942ea.js.map +1 -0
- package/dist/chunks/{app-wall-card-item.da5f2d4f.js → app-wall-card-item.438a2758.js} +3 -3
- package/dist/chunks/{app-wall-card-item.da5f2d4f.js.map → app-wall-card-item.438a2758.js.map} +1 -1
- package/dist/chunks/{app-wall-relation-line.7042a5be.js → app-wall-relation-line.94bc5eba.js} +3 -3
- package/dist/chunks/{app-wall-relation-line.7042a5be.js.map → app-wall-relation-line.94bc5eba.js.map} +1 -1
- package/dist/chunks/{app-wall-system-card.c8153e32.js → app-wall-system-card.29cd2836.js} +2 -2
- package/dist/chunks/{app-wall-system-card.c8153e32.js.map → app-wall-system-card.29cd2836.js.map} +1 -1
- package/dist/chunks/{app-wall.276c885a.js → app-wall.1d0801d4.js} +2 -2
- package/dist/chunks/{app-wall.276c885a.js.map → app-wall.1d0801d4.js.map} +1 -1
- package/dist/chunks/{basic-index-group.2e63b2b7.js → basic-index-group.ffbab2ee.js} +2 -2
- package/dist/chunks/{basic-index-group.2e63b2b7.js.map → basic-index-group.ffbab2ee.js.map} +1 -1
- package/dist/chunks/{battery-chart.3c0f114d.js → battery-chart.80355972.js} +2 -2
- package/dist/chunks/{battery-chart.3c0f114d.js.map → battery-chart.80355972.js.map} +1 -1
- package/dist/chunks/{brick-notification.937aab80.js → brick-notification.11d7411b.js} +2 -2
- package/dist/chunks/{brick-notification.937aab80.js.map → brick-notification.11d7411b.js.map} +1 -1
- package/dist/chunks/{bubbles-indicator.af0a0a56.js → bubbles-indicator.9df60d36.js} +2 -2
- package/dist/chunks/{bubbles-indicator.af0a0a56.js.map → bubbles-indicator.9df60d36.js.map} +1 -1
- package/dist/chunks/{cabinet-app-layer.dfafd4b1.js → cabinet-app-layer.05c66229.js} +3 -3
- package/dist/chunks/{cabinet-app-layer.dfafd4b1.js.map → cabinet-app-layer.05c66229.js.map} +1 -1
- package/dist/chunks/{cabinet-button.4eacd143.js → cabinet-button.ee9ea68d.js} +2 -2
- package/dist/chunks/{cabinet-button.4eacd143.js.map → cabinet-button.ee9ea68d.js.map} +1 -1
- package/dist/chunks/{cabinet-container.6de86813.js → cabinet-container.70ba99de.js} +3 -3
- package/dist/chunks/{cabinet-container.6de86813.js.map → cabinet-container.70ba99de.js.map} +1 -1
- package/dist/chunks/{cabinet-graph.b401d383.js → cabinet-graph.4cfa6429.js} +2 -2
- package/dist/chunks/{cabinet-graph.b401d383.js.map → cabinet-graph.4cfa6429.js.map} +1 -1
- package/dist/chunks/{cabinet-node.6cdcc2f4.js → cabinet-node.54685641.js} +3 -3
- package/dist/chunks/{cabinet-node.6cdcc2f4.js.map → cabinet-node.54685641.js.map} +1 -1
- package/dist/chunks/{cabinet-thumbnail.d2a5a22e.js → cabinet-thumbnail.ae05c311.js} +3 -3
- package/dist/chunks/{cabinet-thumbnail.d2a5a22e.js.map → cabinet-thumbnail.ae05c311.js.map} +1 -1
- package/dist/chunks/{china-map-chart.b86cfdc6.js → china-map-chart.7f0adf1a.js} +2 -2
- package/dist/chunks/{china-map-chart.b86cfdc6.js.map → china-map-chart.7f0adf1a.js.map} +1 -1
- package/dist/chunks/{china-map.faf20495.js → china-map.3e89e422.js} +2 -2
- package/dist/chunks/{china-map.faf20495.js.map → china-map.3e89e422.js.map} +1 -1
- package/dist/chunks/{complex-search.c53d6876.js → complex-search.92e0b5ca.js} +2 -2
- package/dist/chunks/{complex-search.c53d6876.js.map → complex-search.92e0b5ca.js.map} +1 -1
- package/dist/chunks/{crystal-ball-indicator.170ca1e4.js → crystal-ball-indicator.bb7f716b.js} +2 -2
- package/dist/chunks/{crystal-ball-indicator.170ca1e4.js.map → crystal-ball-indicator.bb7f716b.js.map} +1 -1
- package/dist/chunks/{data-display-flipper-fifth.3d575cb7.js → data-display-flipper-fifth.6cdcf8a4.js} +2 -2
- package/dist/chunks/{data-display-flipper-fifth.3d575cb7.js.map → data-display-flipper-fifth.6cdcf8a4.js.map} +1 -1
- package/dist/chunks/{data-display-flipper-sixth.9aa671ab.js → data-display-flipper-sixth.d3052c74.js} +2 -2
- package/dist/chunks/{data-display-flipper-sixth.9aa671ab.js.map → data-display-flipper-sixth.d3052c74.js.map} +1 -1
- package/dist/chunks/{data-display-flipper.b0b989af.js → data-display-flipper.df9e9e17.js} +2 -2
- package/dist/chunks/{data-display-flipper.b0b989af.js.map → data-display-flipper.df9e9e17.js.map} +1 -1
- package/dist/chunks/{dropdown-menu.8639ec11.js → dropdown-menu.7c2ad1f0.js} +3 -3
- package/dist/chunks/{dropdown-menu.8639ec11.js.map → dropdown-menu.7c2ad1f0.js.map} +1 -1
- package/dist/chunks/{gauge-chart.41091236.js → gauge-chart.cbbfe883.js} +2 -2
- package/dist/chunks/{gauge-chart.41091236.js.map → gauge-chart.cbbfe883.js.map} +1 -1
- package/dist/chunks/{gear-background.9bfb53bd.js → gear-background.5ab63f12.js} +2 -2
- package/dist/chunks/{gear-background.9bfb53bd.js.map → gear-background.5ab63f12.js.map} +1 -1
- package/dist/chunks/{globe-with-gear-indicator.c9e02dda.js → globe-with-gear-indicator.61e1e1e1.js} +2 -2
- package/dist/chunks/{globe-with-gear-indicator.c9e02dda.js.map → globe-with-gear-indicator.61e1e1e1.js.map} +1 -1
- package/dist/chunks/{globe-with-halo-indicator.efc88256.js → globe-with-halo-indicator.dbbb98b8.js} +2 -2
- package/dist/chunks/{globe-with-halo-indicator.efc88256.js.map → globe-with-halo-indicator.dbbb98b8.js.map} +1 -1
- package/dist/chunks/{globe-with-orbit-indicator.7283d892.js → globe-with-orbit-indicator.3539cb84.js} +2 -2
- package/dist/chunks/{globe-with-orbit-indicator.7283d892.js.map → globe-with-orbit-indicator.3539cb84.js.map} +1 -1
- package/dist/chunks/{graph-layout-grid.a55d8a02.js → graph-layout-grid.abb6c059.js} +2 -2
- package/dist/chunks/{graph-layout-grid.a55d8a02.js.map → graph-layout-grid.abb6c059.js.map} +1 -1
- package/dist/chunks/{graph-node.cf0b1cfa.js → graph-node.dce0737b.js} +2 -2
- package/dist/chunks/{graph-node.cf0b1cfa.js.map → graph-node.dce0737b.js.map} +1 -1
- package/dist/chunks/graph-text.1e489f3c.js +2 -0
- package/dist/chunks/{graph-text.35673faa.js.map → graph-text.1e489f3c.js.map} +1 -1
- package/dist/chunks/{grid-background.cc1e3afa.js → grid-background.ac91a79b.js} +2 -2
- package/dist/chunks/{grid-background.cc1e3afa.js.map → grid-background.ac91a79b.js.map} +1 -1
- package/dist/chunks/{hi-tech-button.dead37e9.js → hi-tech-button.174e33b5.js} +2 -2
- package/dist/chunks/{hi-tech-button.dead37e9.js.map → hi-tech-button.174e33b5.js.map} +1 -1
- package/dist/chunks/{indicator-card.f7458b02.js → indicator-card.365a80fa.js} +3 -3
- package/dist/chunks/{indicator-card.f7458b02.js.map → indicator-card.365a80fa.js.map} +1 -1
- package/dist/chunks/{lights-component-title.9cd0ac54.js → lights-component-title.b45aca52.js} +2 -2
- package/dist/chunks/{lights-component-title.9cd0ac54.js.map → lights-component-title.b45aca52.js.map} +1 -1
- package/dist/chunks/{loading-panel.7016fde7.js → loading-panel.c38af443.js} +2 -2
- package/dist/chunks/{loading-panel.7016fde7.js.map → loading-panel.c38af443.js.map} +1 -1
- package/dist/chunks/main.2bd22c14.js +2 -0
- package/dist/chunks/{main.dc2e2e0c.js.map → main.2bd22c14.js.map} +1 -1
- package/dist/chunks/{modern-style-component-title.7c84583d.js → modern-style-component-title.66152366.js} +2 -2
- package/dist/chunks/{modern-style-component-title.7c84583d.js.map → modern-style-component-title.66152366.js.map} +1 -1
- package/dist/chunks/{modern-style-page-title.9c0ea141.js → modern-style-page-title.f50dfbec.js} +2 -2
- package/dist/chunks/{modern-style-page-title.9c0ea141.js.map → modern-style-page-title.f50dfbec.js.map} +1 -1
- package/dist/chunks/modern-style-treemap.53d4bfc8.js +3 -0
- package/dist/chunks/{modern-style-treemap.3836ca2d.js.map → modern-style-treemap.53d4bfc8.js.map} +1 -1
- package/dist/chunks/{particle-animation.b1ee4077.js → particle-animation.ee49b237.js} +2 -2
- package/dist/chunks/{particle-animation.b1ee4077.js.map → particle-animation.ee49b237.js.map} +1 -1
- package/dist/chunks/{progress-bar-list.1bda79e5.js → progress-bar-list.7254b6b3.js} +2 -2
- package/dist/chunks/{progress-bar-list.1bda79e5.js.map → progress-bar-list.7254b6b3.js.map} +1 -1
- package/dist/chunks/{radar-chart.12f7c254.js → radar-chart.0e982983.js} +2 -2
- package/dist/chunks/{radar-chart.12f7c254.js.map → radar-chart.0e982983.js.map} +1 -1
- package/dist/chunks/{simple-card-item.527df7f3.js → simple-card-item.c36118a6.js} +3 -3
- package/dist/chunks/{simple-card-item.527df7f3.js.map → simple-card-item.c36118a6.js.map} +1 -1
- package/dist/chunks/{tabs-drawer.6f738d4a.js → tabs-drawer.2e83b00f.js} +3 -3
- package/dist/chunks/{tabs-drawer.6f738d4a.js.map → tabs-drawer.2e83b00f.js.map} +1 -1
- package/dist/chunks/{tabs-page-title.de666d04.js → tabs-page-title.19eaecee.js} +3 -3
- package/dist/chunks/{tabs-page-title.de666d04.js.map → tabs-page-title.19eaecee.js.map} +1 -1
- package/dist/chunks/{tech-mesh-base-view.bb1c3815.js → tech-mesh-base-view.2c686877.js} +2 -2
- package/dist/chunks/{tech-mesh-base-view.bb1c3815.js.map → tech-mesh-base-view.2c686877.js.map} +1 -1
- package/dist/chunks/{title-text.b5045fb6.js → title-text.fc52bc8a.js} +2 -2
- package/dist/chunks/{title-text.b5045fb6.js.map → title-text.fc52bc8a.js.map} +1 -1
- package/dist/chunks/{top-title-bar.a630cb07.js → top-title-bar.0e9025cd.js} +2 -2
- package/dist/chunks/{top-title-bar.a630cb07.js.map → top-title-bar.0e9025cd.js.map} +1 -1
- package/dist/examples.json +33 -33
- package/dist/index.727c7633.js +2 -0
- package/dist/index.727c7633.js.map +1 -0
- package/dist/manifest.json +288 -288
- package/dist/types.json +585 -585
- package/docs/china-map-chart.md +1 -1
- package/package.json +4 -4
- package/dist/chunks/9140.3c21ab5b.js.map +0 -1
- package/dist/chunks/graph-text.35673faa.js +0 -2
- package/dist/chunks/main.dc2e2e0c.js +0 -2
- package/dist/chunks/modern-style-treemap.3836ca2d.js +0 -3
- package/dist/index.bf37ece0.js +0 -2
- package/dist/index.bf37ece0.js.map +0 -1
- /package/dist/chunks/{9140.3c21ab5b.js.LICENSE.txt → 9140.776942ea.js.LICENSE.txt} +0 -0
- /package/dist/chunks/{app-wall-card-item.da5f2d4f.js.LICENSE.txt → app-wall-card-item.438a2758.js.LICENSE.txt} +0 -0
- /package/dist/chunks/{app-wall-relation-line.7042a5be.js.LICENSE.txt → app-wall-relation-line.94bc5eba.js.LICENSE.txt} +0 -0
- /package/dist/chunks/{cabinet-app-layer.dfafd4b1.js.LICENSE.txt → cabinet-app-layer.05c66229.js.LICENSE.txt} +0 -0
- /package/dist/chunks/{cabinet-container.6de86813.js.LICENSE.txt → cabinet-container.70ba99de.js.LICENSE.txt} +0 -0
- /package/dist/chunks/{cabinet-node.6cdcc2f4.js.LICENSE.txt → cabinet-node.54685641.js.LICENSE.txt} +0 -0
- /package/dist/chunks/{cabinet-thumbnail.d2a5a22e.js.LICENSE.txt → cabinet-thumbnail.ae05c311.js.LICENSE.txt} +0 -0
- /package/dist/chunks/{dropdown-menu.8639ec11.js.LICENSE.txt → dropdown-menu.7c2ad1f0.js.LICENSE.txt} +0 -0
- /package/dist/chunks/{indicator-card.f7458b02.js.LICENSE.txt → indicator-card.365a80fa.js.LICENSE.txt} +0 -0
- /package/dist/chunks/{modern-style-treemap.3836ca2d.js.LICENSE.txt → modern-style-treemap.53d4bfc8.js.LICENSE.txt} +0 -0
- /package/dist/chunks/{simple-card-item.527df7f3.js.LICENSE.txt → simple-card-item.c36118a6.js.LICENSE.txt} +0 -0
- /package/dist/chunks/{tabs-drawer.6f738d4a.js.LICENSE.txt → tabs-drawer.2e83b00f.js.LICENSE.txt} +0 -0
- /package/dist/chunks/{tabs-page-title.de666d04.js.LICENSE.txt → tabs-page-title.19eaecee.js.LICENSE.txt} +0 -0
package/dist/bricks.json
CHANGED
|
@@ -2,41 +2,39 @@
|
|
|
2
2
|
"id": "bricks/data-view",
|
|
3
3
|
"bricks": [
|
|
4
4
|
"data-view.gauge-chart",
|
|
5
|
+
"data-view.modern-style-page-title",
|
|
6
|
+
"data-view.modern-style-component-title",
|
|
5
7
|
"data-view.tabs-drawer",
|
|
6
8
|
"data-view.modern-style-treemap",
|
|
7
|
-
"data-view.battery-chart",
|
|
8
|
-
"data-view.modern-style-component-title",
|
|
9
|
-
"data-view.modern-style-page-title",
|
|
10
9
|
"data-view.dropdown-menu",
|
|
10
|
+
"data-view.battery-chart",
|
|
11
|
+
"data-view.loading-panel",
|
|
11
12
|
"data-view.complex-search",
|
|
12
13
|
"data-view.particle-animation",
|
|
13
|
-
"data-view.app-wall-card-item",
|
|
14
14
|
"data-view.app-wall-system-card",
|
|
15
|
-
"data-view.loading-panel",
|
|
16
15
|
"data-view.app-wall-relation-line",
|
|
16
|
+
"data-view.app-wall-card-item",
|
|
17
17
|
"data-view.cabinet-button",
|
|
18
|
-
"data-view.cabinet-node",
|
|
19
18
|
"data-view.cabinet-app-layer",
|
|
19
|
+
"data-view.cabinet-node",
|
|
20
20
|
"data-view.cabinet-container",
|
|
21
21
|
"data-view.cabinet-thumbnail",
|
|
22
22
|
"data-view.cabinet-graph",
|
|
23
|
+
"data-view.app-wall",
|
|
23
24
|
"data-view.graph-text",
|
|
24
25
|
"data-view.graph-node",
|
|
25
|
-
"data-view.app-wall",
|
|
26
|
-
"data-view.graph-layout-grid",
|
|
27
|
-
"data-view.grid-background",
|
|
28
26
|
"data-view.gear-background",
|
|
29
27
|
"data-view.radar-chart",
|
|
30
28
|
"data-view.title-text",
|
|
31
29
|
"data-view.brick-notification",
|
|
32
30
|
"data-view.tabs-page-title",
|
|
33
|
-
"data-view.lights-component-title",
|
|
34
31
|
"data-view.top-title-bar",
|
|
32
|
+
"data-view.lights-component-title",
|
|
35
33
|
"data-view.hi-tech-button",
|
|
36
34
|
"data-view.tech-mesh-base-view",
|
|
37
35
|
"data-view.simple-card-item",
|
|
38
|
-
"data-view.data-display-flipper",
|
|
39
36
|
"data-view.basic-index-group",
|
|
37
|
+
"data-view.data-display-flipper",
|
|
40
38
|
"data-view.data-display-flipper-fifth",
|
|
41
39
|
"data-view.data-display-flipper-sixth",
|
|
42
40
|
"data-view.indicator-card",
|
|
@@ -47,7 +45,9 @@
|
|
|
47
45
|
"data-view.globe-with-gear-indicator",
|
|
48
46
|
"data-view.bubbles-indicator",
|
|
49
47
|
"data-view.globe-with-orbit-indicator",
|
|
50
|
-
"data-view.china-map"
|
|
48
|
+
"data-view.china-map",
|
|
49
|
+
"data-view.grid-background",
|
|
50
|
+
"data-view.graph-layout-grid"
|
|
51
51
|
],
|
|
52
52
|
"elements": [],
|
|
53
53
|
"processors": [],
|
|
@@ -83,10 +83,6 @@
|
|
|
83
83
|
"data-view.simple-card-item",
|
|
84
84
|
"monitoring.sys-popover"
|
|
85
85
|
],
|
|
86
|
-
"data-view.graph-layout-grid": [
|
|
87
|
-
"data-view.graph-node",
|
|
88
|
-
"data-view.graph-text"
|
|
89
|
-
],
|
|
90
86
|
"data-view.brick-notification": [
|
|
91
87
|
"eo-icon"
|
|
92
88
|
],
|
|
@@ -108,7 +104,11 @@
|
|
|
108
104
|
],
|
|
109
105
|
"data-view.china-map": [
|
|
110
106
|
"eo-icon"
|
|
107
|
+
],
|
|
108
|
+
"data-view.graph-layout-grid": [
|
|
109
|
+
"data-view.graph-node",
|
|
110
|
+
"data-view.graph-text"
|
|
111
111
|
]
|
|
112
112
|
},
|
|
113
|
-
"filePath": "bricks/data-view/dist/index.
|
|
113
|
+
"filePath": "bricks/data-view/dist/index.727c7633.js"
|
|
114
114
|
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";(globalThis.webpackChunk_next_bricks_data_view=globalThis.webpackChunk_next_bricks_data_view||[]).push([[114,7733],{12559:(t,e,n)=>{function r(t,e,n){if("function"==typeof t?t===e:t.has(e))return arguments.length<3?e:n;throw new TypeError("Private element is not present on this object")}n.d(e,{A:()=>r})},20114:(t,e,n)=>{n.r(e),n.d(e,{ReactNextElement:()=>p,wrapBrick:()=>y,wrapLocalBrick:()=>v});var r=n(74635),s=n(70918),o=n(12559),i=n(86121),a=n(70829),c=n(18769),l=n(25873),h=n(59435),d=n(
|
|
2
|
-
//# sourceMappingURL=114.
|
|
1
|
+
"use strict";(globalThis.webpackChunk_next_bricks_data_view=globalThis.webpackChunk_next_bricks_data_view||[]).push([[114,7733],{12559:(t,e,n)=>{function r(t,e,n){if("function"==typeof t?t===e:t.has(e))return arguments.length<3?e:n;throw new TypeError("Private element is not present on this object")}n.d(e,{A:()=>r})},20114:(t,e,n)=>{n.r(e),n.d(e,{ReactNextElement:()=>p,wrapBrick:()=>y,wrapLocalBrick:()=>v});var r=n(74635),s=n(70918),o=n(12559),i=n(86121),a=n(70829),c=n(18769),l=n(25873),h=n(59435),d=n(7921),u=new WeakMap,f=new WeakSet;class p extends d.NextElement{constructor(){super(...arguments),(0,r.A)(this,f),(0,s.A)(this,u,void 0)}connectedCallback(){super._markConnectedCallbackCalled(),(0,o.A)(f,this,A).call(this),this._render()}disconnectedCallback(){var t;null===(t=(0,a.A)(u,this))||void 0===t||t.render(null)}_render(){const t=()=>{if(!this.isConnected||!(0,a.A)(u,this))return;const t=this.constructor;var e;t.shadowOptions?(0,a.A)(u,this).render((0,d.supportsAdoptingStyleSheets)()||null===(e=t.styleTexts)||void 0===e||!e.length?this.render():c.createElement(c.Fragment,null,c.createElement("style",null,t.styleTexts.join("\n")),this.render())):(0,a.A)(u,this).render(this.render())};window.BRICK_NEXT_VERSIONS&&!window.DISABLE_REACT_FLUSH_SYNC?(0,h.flushSync)(t):t()}}function A(){if((0,a.A)(u,this))return;const t=this.constructor;if(t.shadowOptions){const n=this.attachShadow(t.shadowOptions);var e;if((0,d.supportsAdoptingStyleSheets)()&&null!==(e=t.styleTexts)&&void 0!==e&&e.length){const e=new CSSStyleSheet;e.replaceSync(t.styleTexts.join("")),n.adoptedStyleSheets=[e]}(0,i.A)(u,this,(0,l.H)(n))}else(0,i.A)(u,this,(0,l.H)(this))}var w=n(89575);function v(t,e){return(0,c.forwardRef)((function(n,r){let{children:s,...o}=n;const i="string"==typeof t?t:t.__tagName,a=S(o,e);return c.createElement(i,(0,w.A)({},a,{ref:r}),s)}))}function y(t,e){return(0,c.forwardRef)((function(n,r){let{children:s,...o}=n;const i=S(o,e);return c.createElement(t,(0,w.A)({},i,{ref:r}),s)}))}function S(t,e){let n;if(e){n={};for(const[r,s]of Object.entries(t))Object.prototype.hasOwnProperty.call(e,r)?n[`on${e[r]}`]=s:n[r]=s}else n=t;return n}},25873:(t,e,n)=>{var r=n(59435);e.H=r.createRoot,r.hydrateRoot},70829:(t,e,n)=>{n.d(e,{A:()=>s});var r=n(12559);function s(t,e){return t.get((0,r.A)(t,e))}},70918:(t,e,n)=>{n.d(e,{A:()=>s});var r=n(72016);function s(t,e,n){(0,r.A)(t,e),e.set(t,n)}},72016:(t,e,n)=>{function r(t,e){if(e.has(t))throw new TypeError("Cannot initialize the same private elements twice on an object")}n.d(e,{A:()=>r})},74635:(t,e,n)=>{n.d(e,{A:()=>s});var r=n(72016);function s(t,e){(0,r.A)(t,e),e.add(t)}},86121:(t,e,n)=>{n.d(e,{A:()=>s});var r=n(12559);function s(t,e,n){return t.set((0,r.A)(t,e),n),n}},89575:(t,e,n)=>{function r(){return r=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},r.apply(this,arguments)}n.d(e,{A:()=>r})}}]);
|
|
2
|
+
//# sourceMappingURL=114.19fb04c3.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"chunks/114.3c9ded00.js","mappings":"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","sources":["webpack:///../../node_modules/@babel/runtime/helpers/esm/assertClassBrand.js","webpack:///../../node_modules/@next-core/react-element/dist/esm/ReactNextElement.js","webpack:///../../node_modules/@next-core/react-element/dist/esm/wrapBrick.js","webpack:///../../node_modules/react-dom/client.js","webpack:///../../node_modules/@babel/runtime/helpers/esm/classPrivateFieldGet2.js","webpack:///../../node_modules/@babel/runtime/helpers/esm/classPrivateFieldInitSpec.js","webpack:///../../node_modules/@babel/runtime/helpers/esm/checkPrivateRedeclaration.js","webpack:///../../node_modules/@babel/runtime/helpers/esm/classPrivateMethodInitSpec.js","webpack:///../../node_modules/@babel/runtime/helpers/esm/classPrivateFieldSet2.js","webpack:///../../node_modules/@babel/runtime/helpers/esm/extends.js"],"sourcesContent":["export default function _assertClassBrand(e, t, n) {\n if (\"function\" == typeof e ? e === t : e.has(t)) return arguments.length < 3 ? t : n;\n throw new TypeError(\"Private element is not present on this object\");\n}","import _classPrivateMethodInitSpec from \"@babel/runtime/helpers/classPrivateMethodInitSpec\";\nimport _classPrivateFieldInitSpec from \"@babel/runtime/helpers/classPrivateFieldInitSpec\";\nimport _assertClassBrand from \"@babel/runtime/helpers/assertClassBrand\";\nimport _classPrivateFieldSet from \"@babel/runtime/helpers/classPrivateFieldSet2\";\nimport _classPrivateFieldGet from \"@babel/runtime/helpers/classPrivateFieldGet2\";\nvar _ReactNextElement;\nimport React from \"react\";\nimport { createRoot } from \"react-dom/client\";\nimport { flushSync } from \"react-dom\";\nimport { NextElement, supportsAdoptingStyleSheets } from \"@next-core/element\";\nvar _root = /*#__PURE__*/new WeakMap();\nvar _ReactNextElement_brand = /*#__PURE__*/new WeakSet();\nexport class ReactNextElement extends NextElement {\n constructor() {\n super(...arguments);\n _classPrivateMethodInitSpec(this, _ReactNextElement_brand);\n _classPrivateFieldInitSpec(this, _root, void 0);\n }\n connectedCallback() {\n super._markConnectedCallbackCalled();\n _assertClassBrand(_ReactNextElement_brand, this, _createRoot).call(this);\n this._render();\n }\n disconnectedCallback() {\n var _classPrivateFieldGet2;\n (_classPrivateFieldGet2 = _classPrivateFieldGet(_root, this)) === null || _classPrivateFieldGet2 === void 0 || _classPrivateFieldGet2.render(null);\n }\n _render() {\n const render = () => {\n if (!this.isConnected || !_classPrivateFieldGet(_root, this)) {\n return;\n }\n const ctor = this.constructor;\n if (ctor.shadowOptions) {\n var _ctor$styleTexts;\n _classPrivateFieldGet(_root, this).render(supportsAdoptingStyleSheets() || !((_ctor$styleTexts = ctor.styleTexts) !== null && _ctor$styleTexts !== void 0 && _ctor$styleTexts.length) ? this.render() : /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(\"style\", null, ctor.styleTexts.join(\"\\n\")), this.render()));\n } else {\n _classPrivateFieldGet(_root, this).render(this.render());\n }\n };\n\n // In brick next container, enable flush sync for the initial mount of\n // each page, in order to avoid menu flickering.\n // Otherwise, avoid using flush sync as possible.\n if (window.BRICK_NEXT_VERSIONS && !window.DISABLE_REACT_FLUSH_SYNC) {\n flushSync(render);\n } else {\n render();\n }\n }\n}\n_ReactNextElement = ReactNextElement;\nfunction _createRoot() {\n if (_classPrivateFieldGet(_root, this)) {\n return;\n }\n const ctor = this.constructor;\n if (ctor.shadowOptions) {\n const shadowRoot = this.attachShadow(ctor.shadowOptions);\n if (supportsAdoptingStyleSheets()) {\n var _ctor$styleTexts2;\n if ((_ctor$styleTexts2 = ctor.styleTexts) !== null && _ctor$styleTexts2 !== void 0 && _ctor$styleTexts2.length) {\n const styleSheet = new CSSStyleSheet();\n styleSheet.replaceSync(ctor.styleTexts.join(\"\"));\n shadowRoot.adoptedStyleSheets = [styleSheet];\n }\n }\n _classPrivateFieldSet(_root, this, createRoot(shadowRoot));\n } else {\n var _ctor$styleTexts3;\n if (process.env.NODE_ENV !== \"production\" && (_ctor$styleTexts3 = ctor.styleTexts) !== null && _ctor$styleTexts3 !== void 0 && _ctor$styleTexts3.length) {\n throw new Error(\"Use `styleTexts` with `shadowOptions: false` is not supported\");\n }\n _classPrivateFieldSet(_root, this, createRoot(this));\n }\n}\n//# sourceMappingURL=ReactNextElement.js.map","import _extends from \"@babel/runtime/helpers/extends\";\nimport React, { forwardRef } from \"react\";\nexport function wrapLocalBrick(brick, eventsMapping) {\n // istanbul ignore next\n if (process.env.NODE_ENV === \"development\") {\n if (typeof brick === \"string\" && !customElements.get(brick)) {\n throw new Error(`Brick ${brick} is not defined while using \\`wrapLocalBrick\\`.`);\n }\n }\n return /*#__PURE__*/forwardRef(function BrickReactWrapper(_ref, ref) {\n let {\n children,\n ...props\n } = _ref;\n const WebComponent = typeof brick === \"string\" ? brick : brick.__tagName;\n const properties = getMappedProperties(props, eventsMapping);\n return /*#__PURE__*/React.createElement(WebComponent, _extends({}, properties, {\n ref: ref\n }), children);\n });\n}\nexport function wrapBrick(BrickName, eventsMapping) {\n return /*#__PURE__*/forwardRef(function BrickReactWrapper(_ref2, ref) {\n let {\n children,\n ...props\n } = _ref2;\n const properties = getMappedProperties(props, eventsMapping);\n return /*#__PURE__*/React.createElement(BrickName, _extends({}, properties, {\n ref: ref\n }), children);\n });\n}\nfunction getMappedProperties(props, eventsMapping) {\n let properties;\n if (eventsMapping) {\n properties = {};\n for (const [propName, propValue] of Object.entries(props)) {\n if (Object.prototype.hasOwnProperty.call(eventsMapping, propName)) {\n properties[`on${eventsMapping[propName]}`] = propValue;\n } else {\n properties[propName] = propValue;\n }\n }\n } else {\n properties = props;\n }\n return properties;\n}\n//# sourceMappingURL=wrapBrick.js.map","'use strict';\n\nvar m = require('react-dom');\nif (process.env.NODE_ENV === 'production') {\n exports.createRoot = m.createRoot;\n exports.hydrateRoot = m.hydrateRoot;\n} else {\n var i = m.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;\n exports.createRoot = function(c, o) {\n i.usingClientEntryPoint = true;\n try {\n return m.createRoot(c, o);\n } finally {\n i.usingClientEntryPoint = false;\n }\n };\n exports.hydrateRoot = function(c, h, o) {\n i.usingClientEntryPoint = true;\n try {\n return m.hydrateRoot(c, h, o);\n } finally {\n i.usingClientEntryPoint = false;\n }\n };\n}\n","import assertClassBrand from \"./assertClassBrand.js\";\nexport default function _classPrivateFieldGet2(s, a) {\n return s.get(assertClassBrand(s, a));\n}","import checkPrivateRedeclaration from \"./checkPrivateRedeclaration.js\";\nexport default function _classPrivateFieldInitSpec(obj, privateMap, value) {\n checkPrivateRedeclaration(obj, privateMap);\n privateMap.set(obj, value);\n}","export default function _checkPrivateRedeclaration(obj, privateCollection) {\n if (privateCollection.has(obj)) {\n throw new TypeError(\"Cannot initialize the same private elements twice on an object\");\n }\n}","import checkPrivateRedeclaration from \"./checkPrivateRedeclaration.js\";\nexport default function _classPrivateMethodInitSpec(obj, privateSet) {\n checkPrivateRedeclaration(obj, privateSet);\n privateSet.add(obj);\n}","import assertClassBrand from \"./assertClassBrand.js\";\nexport default function _classPrivateFieldSet2(s, a, r) {\n return s.set(assertClassBrand(s, a), r), r;\n}","export default function _extends() {\n _extends = Object.assign ? Object.assign.bind() : function (target) {\n for (var i = 1; i < arguments.length; i++) {\n var source = arguments[i];\n for (var key in source) {\n if (Object.prototype.hasOwnProperty.call(source, key)) {\n target[key] = source[key];\n }\n }\n }\n return target;\n };\n return _extends.apply(this, arguments);\n}"],"names":["_assertClassBrand","e","t","n","has","arguments","length","TypeError","_root","WeakMap","_ReactNextElement_brand","WeakSet","ReactNextElement","NextElement","constructor","super","this","connectedCallback","_markConnectedCallbackCalled","_createRoot","call","_render","disconnectedCallback","_classPrivateFieldGet2","render","isConnected","ctor","_ctor$styleTexts","shadowOptions","supportsAdoptingStyleSheets","styleTexts","join","window","BRICK_NEXT_VERSIONS","DISABLE_REACT_FLUSH_SYNC","flushSync","shadowRoot","attachShadow","_ctor$styleTexts2","styleSheet","CSSStyleSheet","replaceSync","adoptedStyleSheets","wrapLocalBrick","brick","eventsMapping","forwardRef","_ref","ref","children","props","WebComponent","__tagName","properties","getMappedProperties","wrapBrick","BrickName","_ref2","propName","propValue","Object","entries","prototype","hasOwnProperty","m","exports","createRoot","hydrateRoot","s","a","get","_classPrivateFieldInitSpec","obj","privateMap","value","set","_checkPrivateRedeclaration","privateCollection","_classPrivateMethodInitSpec","privateSet","add","_classPrivateFieldSet2","r","_extends","assign","bind","target","i","source","key","apply"],"sourceRoot":""}
|
|
1
|
+
{"version":3,"file":"chunks/114.19fb04c3.js","mappings":"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","sources":["webpack:///../../node_modules/@babel/runtime/helpers/esm/assertClassBrand.js","webpack:///../../node_modules/@next-core/react-element/dist/esm/ReactNextElement.js","webpack:///../../node_modules/@next-core/react-element/dist/esm/wrapBrick.js","webpack:///../../node_modules/react-dom/client.js","webpack:///../../node_modules/@babel/runtime/helpers/esm/classPrivateFieldGet2.js","webpack:///../../node_modules/@babel/runtime/helpers/esm/classPrivateFieldInitSpec.js","webpack:///../../node_modules/@babel/runtime/helpers/esm/checkPrivateRedeclaration.js","webpack:///../../node_modules/@babel/runtime/helpers/esm/classPrivateMethodInitSpec.js","webpack:///../../node_modules/@babel/runtime/helpers/esm/classPrivateFieldSet2.js","webpack:///../../node_modules/@babel/runtime/helpers/esm/extends.js"],"sourcesContent":["export default function _assertClassBrand(e, t, n) {\n if (\"function\" == typeof e ? e === t : e.has(t)) return arguments.length < 3 ? t : n;\n throw new TypeError(\"Private element is not present on this object\");\n}","import _classPrivateMethodInitSpec from \"@babel/runtime/helpers/classPrivateMethodInitSpec\";\nimport _classPrivateFieldInitSpec from \"@babel/runtime/helpers/classPrivateFieldInitSpec\";\nimport _assertClassBrand from \"@babel/runtime/helpers/assertClassBrand\";\nimport _classPrivateFieldSet from \"@babel/runtime/helpers/classPrivateFieldSet2\";\nimport _classPrivateFieldGet from \"@babel/runtime/helpers/classPrivateFieldGet2\";\nvar _ReactNextElement;\nimport React from \"react\";\nimport { createRoot } from \"react-dom/client\";\nimport { flushSync } from \"react-dom\";\nimport { NextElement, supportsAdoptingStyleSheets } from \"@next-core/element\";\nvar _root = /*#__PURE__*/new WeakMap();\nvar _ReactNextElement_brand = /*#__PURE__*/new WeakSet();\nexport class ReactNextElement extends NextElement {\n constructor() {\n super(...arguments);\n _classPrivateMethodInitSpec(this, _ReactNextElement_brand);\n _classPrivateFieldInitSpec(this, _root, void 0);\n }\n connectedCallback() {\n super._markConnectedCallbackCalled();\n _assertClassBrand(_ReactNextElement_brand, this, _createRoot).call(this);\n this._render();\n }\n disconnectedCallback() {\n var _classPrivateFieldGet2;\n (_classPrivateFieldGet2 = _classPrivateFieldGet(_root, this)) === null || _classPrivateFieldGet2 === void 0 || _classPrivateFieldGet2.render(null);\n }\n _render() {\n const render = () => {\n if (!this.isConnected || !_classPrivateFieldGet(_root, this)) {\n return;\n }\n const ctor = this.constructor;\n if (ctor.shadowOptions) {\n var _ctor$styleTexts;\n _classPrivateFieldGet(_root, this).render(supportsAdoptingStyleSheets() || !((_ctor$styleTexts = ctor.styleTexts) !== null && _ctor$styleTexts !== void 0 && _ctor$styleTexts.length) ? this.render() : /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(\"style\", null, ctor.styleTexts.join(\"\\n\")), this.render()));\n } else {\n _classPrivateFieldGet(_root, this).render(this.render());\n }\n };\n\n // In brick next container, enable flush sync for the initial mount of\n // each page, in order to avoid menu flickering.\n // Otherwise, avoid using flush sync as possible.\n if (window.BRICK_NEXT_VERSIONS && !window.DISABLE_REACT_FLUSH_SYNC) {\n flushSync(render);\n } else {\n render();\n }\n }\n}\n_ReactNextElement = ReactNextElement;\nfunction _createRoot() {\n if (_classPrivateFieldGet(_root, this)) {\n return;\n }\n const ctor = this.constructor;\n if (ctor.shadowOptions) {\n const shadowRoot = this.attachShadow(ctor.shadowOptions);\n if (supportsAdoptingStyleSheets()) {\n var _ctor$styleTexts2;\n if ((_ctor$styleTexts2 = ctor.styleTexts) !== null && _ctor$styleTexts2 !== void 0 && _ctor$styleTexts2.length) {\n const styleSheet = new CSSStyleSheet();\n styleSheet.replaceSync(ctor.styleTexts.join(\"\"));\n shadowRoot.adoptedStyleSheets = [styleSheet];\n }\n }\n _classPrivateFieldSet(_root, this, createRoot(shadowRoot));\n } else {\n var _ctor$styleTexts3;\n if (process.env.NODE_ENV !== \"production\" && (_ctor$styleTexts3 = ctor.styleTexts) !== null && _ctor$styleTexts3 !== void 0 && _ctor$styleTexts3.length) {\n throw new Error(\"Use `styleTexts` with `shadowOptions: false` is not supported\");\n }\n _classPrivateFieldSet(_root, this, createRoot(this));\n }\n}\n//# sourceMappingURL=ReactNextElement.js.map","import _extends from \"@babel/runtime/helpers/extends\";\nimport React, { forwardRef } from \"react\";\nexport function wrapLocalBrick(brick, eventsMapping) {\n // istanbul ignore next\n if (process.env.NODE_ENV === \"development\") {\n if (typeof brick === \"string\" && !customElements.get(brick)) {\n throw new Error(`Brick ${brick} is not defined while using \\`wrapLocalBrick\\`.`);\n }\n }\n return /*#__PURE__*/forwardRef(function BrickReactWrapper(_ref, ref) {\n let {\n children,\n ...props\n } = _ref;\n const WebComponent = typeof brick === \"string\" ? brick : brick.__tagName;\n const properties = getMappedProperties(props, eventsMapping);\n return /*#__PURE__*/React.createElement(WebComponent, _extends({}, properties, {\n ref: ref\n }), children);\n });\n}\nexport function wrapBrick(BrickName, eventsMapping) {\n return /*#__PURE__*/forwardRef(function BrickReactWrapper(_ref2, ref) {\n let {\n children,\n ...props\n } = _ref2;\n const properties = getMappedProperties(props, eventsMapping);\n return /*#__PURE__*/React.createElement(BrickName, _extends({}, properties, {\n ref: ref\n }), children);\n });\n}\nfunction getMappedProperties(props, eventsMapping) {\n let properties;\n if (eventsMapping) {\n properties = {};\n for (const [propName, propValue] of Object.entries(props)) {\n if (Object.prototype.hasOwnProperty.call(eventsMapping, propName)) {\n properties[`on${eventsMapping[propName]}`] = propValue;\n } else {\n properties[propName] = propValue;\n }\n }\n } else {\n properties = props;\n }\n return properties;\n}\n//# sourceMappingURL=wrapBrick.js.map","'use strict';\n\nvar m = require('react-dom');\nif (process.env.NODE_ENV === 'production') {\n exports.createRoot = m.createRoot;\n exports.hydrateRoot = m.hydrateRoot;\n} else {\n var i = m.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;\n exports.createRoot = function(c, o) {\n i.usingClientEntryPoint = true;\n try {\n return m.createRoot(c, o);\n } finally {\n i.usingClientEntryPoint = false;\n }\n };\n exports.hydrateRoot = function(c, h, o) {\n i.usingClientEntryPoint = true;\n try {\n return m.hydrateRoot(c, h, o);\n } finally {\n i.usingClientEntryPoint = false;\n }\n };\n}\n","import assertClassBrand from \"./assertClassBrand.js\";\nexport default function _classPrivateFieldGet2(s, a) {\n return s.get(assertClassBrand(s, a));\n}","import checkPrivateRedeclaration from \"./checkPrivateRedeclaration.js\";\nexport default function _classPrivateFieldInitSpec(obj, privateMap, value) {\n checkPrivateRedeclaration(obj, privateMap);\n privateMap.set(obj, value);\n}","export default function _checkPrivateRedeclaration(obj, privateCollection) {\n if (privateCollection.has(obj)) {\n throw new TypeError(\"Cannot initialize the same private elements twice on an object\");\n }\n}","import checkPrivateRedeclaration from \"./checkPrivateRedeclaration.js\";\nexport default function _classPrivateMethodInitSpec(obj, privateSet) {\n checkPrivateRedeclaration(obj, privateSet);\n privateSet.add(obj);\n}","import assertClassBrand from \"./assertClassBrand.js\";\nexport default function _classPrivateFieldSet2(s, a, r) {\n return s.set(assertClassBrand(s, a), r), r;\n}","export default function _extends() {\n _extends = Object.assign ? Object.assign.bind() : function (target) {\n for (var i = 1; i < arguments.length; i++) {\n var source = arguments[i];\n for (var key in source) {\n if (Object.prototype.hasOwnProperty.call(source, key)) {\n target[key] = source[key];\n }\n }\n }\n return target;\n };\n return _extends.apply(this, arguments);\n}"],"names":["_assertClassBrand","e","t","n","has","arguments","length","TypeError","_root","WeakMap","_ReactNextElement_brand","WeakSet","ReactNextElement","NextElement","constructor","super","this","connectedCallback","_markConnectedCallbackCalled","_createRoot","call","_render","disconnectedCallback","_classPrivateFieldGet2","render","isConnected","ctor","_ctor$styleTexts","shadowOptions","supportsAdoptingStyleSheets","styleTexts","join","window","BRICK_NEXT_VERSIONS","DISABLE_REACT_FLUSH_SYNC","flushSync","shadowRoot","attachShadow","_ctor$styleTexts2","styleSheet","CSSStyleSheet","replaceSync","adoptedStyleSheets","wrapLocalBrick","brick","eventsMapping","forwardRef","_ref","ref","children","props","WebComponent","__tagName","properties","getMappedProperties","wrapBrick","BrickName","_ref2","propName","propValue","Object","entries","prototype","hasOwnProperty","m","exports","createRoot","hydrateRoot","s","a","get","_classPrivateFieldInitSpec","obj","privateMap","value","set","_checkPrivateRedeclaration","privateCollection","_classPrivateMethodInitSpec","privateSet","add","_classPrivateFieldSet2","r","_extends","assign","bind","target","i","source","key","apply"],"sourceRoot":""}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";(globalThis.webpackChunk_next_bricks_data_view=globalThis.webpackChunk_next_bricks_data_view||[]).push([[1493],{8387:(e,t,r)=>{r.d(t,{A:()=>l});var n=r(36758),o=r.n(n),a=r(40935),i=r.n(a)()(o());i.push([e.id,":host{display:inline-block}:host([hidden]){display:none}*,\n*::before,\n*::after{box-sizing:border-box}.wrapper{position:relative;width:100%;height:100%;padding:30px 24px 35px;left:0;display:flex;flex-direction:column;border-radius:var(--no-border-radius)}.cardName{font-size:var(--title-font-size-strong);line-height:22px;text-align:center;font-weight:var(--font-weight-500);color:var(--color-normal-text);text-shadow:0 1px 4px rgba(51,102,255,0.5);margin-bottom:35px;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}.descriptions{flex:1;margin-bottom:20px;font-size:var(--auxiliary-font-size-small);overflow:auto;font-weight:var(--font-weight-400)}.descriptionsItem .itemKey{color:var(--color-secondary-text)}.descriptionsItem .itemValue{color:var(--color-strong-text)}.descriptionsItem{display:flex;gap:10px;margin-bottom:12px}.descriptionsItem>div{flex:1;text-align:left;word-break:break-all}.buttonContent{position:absolute;bottom:16px;right:24px;font-size:var(--auxiliary-font-size);color:#99CCFF;cursor:pointer;font-weight:var(--font-weight-500)}.buttonName{margin-left:5px}",""]);const l=i.toString()},32415:(e,t,r)=>{r.d(t,{A:()=>l});var n=r(36758),o=r.n(n),a=r(40935),i=r.n(a)()(o());i.push([e.id,":host{display:inline-block;width:-moz-fit-content;width:fit-content;height:100%}:host([hidden]){display:none}*,\n*::before,\n*::after{box-sizing:border-box}.relation-line{position:relative;width:6px;height:100%;background:var(--color-text-divider-line-1);overflow:hidden}.relation-line::after{content:'';position:absolute;width:100%;height:20%;left:0px;top:0px;animation:lightMove 1000ms ease-in-out infinite,lightOpacity 1000ms ease-in-out infinite}.relation-line.light-color-blue::after{background:linear-gradient(rgba(80,255,255,0) 0%,rgba(80,255,255,1) 90%,#DFFFFF 100%)}.relation-line.light-color-purple::after{background:linear-gradient(rgba(102,0,255,0) 0%,rgba(102,0,255,1) 90%,#B07BFF 100%)}@keyframes lightMove{0%{top:0;transform:translateY(-100%)}100%{top:100%;transform:translateY(0)}}@keyframes lightOpacity{0%{opacity:0}20%{opacity:1}80%{opacity:1}100%{opacity:0}}",""]);const l=i.toString()},52960:(e,t,r)=>{r.d(t,{A:()=>l});var n=r(36758),o=r.n(n),a=r(40935),i=r.n(a)()(o());i.push([e.id,':host{display:block;width:100%;height:100%}:host([hidden]){display:none}*,\n*::before,\n*::after{box-sizing:border-box}.mask-container{position:absolute;top:0;left:0;width:100%;height:100%;background:#0c1216;z-index:1000}.appwall-container{padding:8px}.appwall{position:relative}.appwall.loading .card-item{pointer-events:none!important}.mask{position:absolute;width:100%;height:100%;top:0;bottom:0;left:0;right:0;z-index:100;display:flex;align-items:center;justify-content:center}.mask[hidden]{display:none}.infoWrapper{position:absolute;background:var(--color-fill-bg-base-4);box-shadow:0 0 12px 2px rgba(80,255,255,0.45),inset 0 0 22px 0 #20242a;border:2px solid #50ffff;overflow:hidden}.warningWrapper{position:absolute;background:linear-gradient(180deg,#cc0066 0%,rgba(204,0,102,0.2) 100%),#0f1117ff;box-shadow:0 0 12px 2px rgba(204,0,102,0.4),inset 0 4px 10px 0 rgba(255,255,255,0.65);overflow:hidden}.relation-line{pointer-events:none!important}.closeBtn{visibility:hidden;position:fixed;top:50px;right:50px;width:46px;height:46px;text-align:center;border:1px solid;color:rgb(138 189 255/84%);font-size:20px;line-height:46px;cursor:pointer;background:rgba(138,189,255,0.13);border-image:linear-gradient(135deg,rgba(255,255,255,0.5),rgba(255,255,255,0),rgba(255,255,255,0.33)) 1 1;display:flex;justify-content:center;align-items:center;z-index:1000}.closeBtn:before,\n.closeBtn:after{content:"";width:2px;height:20px;background:linear-gradient(180deg,#3467ff 0%,#98cbff 100%);position:absolute}.closeBtn:before{transform:rotateZ(45deg)}.closeBtn:after{transform:rotateZ(-45deg)}.closeBtn:hover:after,\n.closeBtn:hover:before{background:var(--color-normal-text)}.visibilityAnimate{visibility:hidden;animation:visibility 0.5s both 1s}.trapezoidalLeftOrRightAnimation,\n.trapezoidalTopOrBottomAnimation{background:linear-gradient(180deg,rgba(51,102,255,0.4) 0%,#99ccff 100%);opacity:0.2;position:absolute}.trapezoidalTopOrBottomAnimation{bottom:0;width:100%;left:0;animation:animateTop 1s both}.trapezoidalLeftOrRightAnimation{top:0;right:0;height:100%;animation:animateLeft 1s both}@keyframes animateTop{0%{height:0}100%{height:100%}}@keyframes animateLeft{0%{width:0}100%{width:100%}}@keyframes visibility{0%{visibility:hidden}100%{visibility:visible}}.card-item-container{transition:opacity 0.5s}.status-normal-card{box-shadow:0 0 100px rgba(80,255,255,0.58);border:1px solid rgba(80,255,255,0.58);background:-webkit-gradient(liner,left top,left bottom,from(#002c8d),to(#00123e));background:linear-gradient(to bottom,rgba(80,255,255,1) 0%,rgba(80,255,255,0) 100%)}.status-warning-card{box-shadow:0 0 100px #cc0066;background:-webkit-gradient(liner,left top,left bottom,from(#cc0066),to(rgba(204,0,102,0.2)));background:linear-gradient(to bottom,#cc0066 0%,rgba(204,0,102,0.2) 100%)}',""]);const l=i.toString()},60547:(e,t,r)=>{r.d(t,{A:()=>l});var n=r(36758),o=r.n(n),a=r(40935),i=r.n(a)()(o());i.push([e.id,":host{display:inline-block;width:100%;height:100%}:host([hidden]){display:none}*,\n*::before,\n*::after{box-sizing:border-box}.card-item-container{position:relative;width:100%;height:100%}.card-item{position:relative;width:100%;height:100%;display:flex;justify-content:center;align-items:center;text-align:center;border-radius:var(--no-border-radius);border-color:transparent;transition:border-color 0.5s}.status-normal:hover{box-shadow:0 0 100px rgba(80,255,255,0.58);border:1px solid rgba(80,255,255,0.58);background:-webkit-gradient(liner,left top,left bottom,from(#002c8d),to(#00123e));background:linear-gradient(to bottom,rgba(80,255,255,1) 0%,rgba(80,255,255,0) 100%)}.status-warning:hover{box-shadow:0 0 100px #CC0066;background:-webkit-gradient(liner,left top,left bottom,from(#CC0066),to(rgba(204,0,102,0.2)));background:linear-gradient(to bottom,#CC0066 0%,rgba(204,0,102,0.2) 100%)}.card-item-container.status-normal .card-item{background:var(--color-fill-bg-base-4);box-shadow:inset 0px 1px 2px 0px rgba(255,255,255,0.45)}.card-item-container.status-normal:hover .card-item{border:2px solid rgba(80,255,255,0.58)}.card-item-container.status-warning .card-item{background:linear-gradient(180deg,#CC0066 0%,rgba(204,0,102,0.2) 100%);box-shadow:inset 0px 2px 6px 0px rgba(255,255,255,0.65)}.card-item-container.status-warning:hover .card-item{border:none}.card-item-text-container{width:100%;padding:0 12px}.card-item-title,\n.card-item-description{font-size:20px;font-weight:var(--font-weight-500);color:var(--color-normal-text)}.card-item-title{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.card-item-description{overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}",""]);const l=i.toString()},75562:(e,t,r)=>{r.d(t,{S:()=>M});var n=r(89575),o=r(18769),a=r.n(o),i=r(20563),l=r(55062),s=r(83488),c=r(97807),d=r(17558);r(21440),r(36041),r(4392);const u=(e,t,r)=>{const n=(new l.Pq0).subVectors(t,e),o=n.length(),a=document.createElement("data-view.app-wall-relation-line");a.style.height=`${o}px`,a.classList.add("relation-line"),a.lightColor=r;const i=new s.on(a),c=(new l.Pq0).lerpVectors(e,t,.5);i.position.copy(c);const d=(new l.PTz).setFromUnitVectors(new l.Pq0(0,1,0).normalize(),n.clone().normalize());return i.setRotationFromQuaternion(d),i},p=(e,t)=>{const r=new l.Pq0(e[0],e[1],e[2]),n=new l.Pq0(t[0],t[1],t[2]);return{centerVector:(new l.Pq0).lerpVectors(r,n,.5),subVector:(new l.Pq0).subVectors(r,n)}},h=e=>{const{BW:t,TW:r,d:n,TH:o,BH:a,isLeft:i}=e,c=Math.sqrt(Math.pow(r/2-t/2,2)+Math.pow(n,2)),d=document.createElement("div");d.style.cssText=`\n width: ${c}px;\n height:${o}px;\n position: relative;\n clip-path: polygon(0 0, ${c}px ${o/2-a/2}px, ${c}px ${o/2-a/2+a}px, 0 ${o}px);\n `;const u=document.createElement("div");u.className="trapezoidalLeftOrRightAnimation",d.appendChild(u);const h=i?[-t/2,0,0]:[t/2,0,0],g=i?[-r/2,0,n]:[r/2,0,n],b=new s.on(d),{centerVector:m,subVector:x}=p(h,g);b.position.copy(m);const v=(new l.PTz).setFromUnitVectors(new l.Pq0(1,0,0).normalize(),x.clone().normalize());return b.setRotationFromQuaternion(v),b},g=e=>{const{BW:t,TW:r,d:n,TH:o,BH:a,isTop:i}=e,c=Math.sqrt(Math.pow(o/2-a/2,2)+Math.pow(n,2)),d=document.createElement("div");d.style.cssText=`\n width: ${r}px;\n height:${c}px;\n position: relative;\n clip-path: polygon(0 0, ${r}px 0, ${r/2-t/2+t}px ${c}px, ${r/2-t/2}px ${c}px);\n `;const u=document.createElement("div");u.className="trapezoidalTopOrBottomAnimation",d.appendChild(u);const h=new s.on(d),g=i?[0,-a/2,0]:[0,a/2,0],b=i?[0,-o/2,n]:[0,o/2,n],{centerVector:m,subVector:x}=p(g,b);h.position.copy(m);const v=(new l.PTz).setFromUnitVectors(new l.Pq0(0,-1,0).normalize(),x.clone().normalize());return h.setRotationFromQuaternion(v),h},b=e=>{const{objectData:t,leftBtnName:r,clusters:n,columns:o,leftOnClick:a,rightBtnName:i,rightOnClick:l,appName:c}=e,d=600,u=document.createElement("div"),p=new s.on(u);p.position.set(...t.point);const b=t.width,m=t.height,x=1500,v=1200,f=document.createElement("div");f.style.cssText=`\n width: ${b}px;\n height: ${m}px;\n box-shadow: inset 0px 1px 2px 0px rgba(255,255,255,0.45);\n border: 1px solid rgba(118,255,255,0.58);\n padding: 16px;\n `;const w=new s.on(f);w.position.z=0,p.add(w);const y=document.createElement("div");y.style.cssText="\n width: 1500px;\n height:1200px;\n background: linear-gradient(rgb(13, 54, 179,0.6) 0%, rgb(74, 108, 156,0.6) 100%);\n box-sizing: border-box;\n padding: 16px;\n ";const k=document.createElement("data-view.cabinet-thumbnail");k.clusters=null!=n?n:[],k.columns=null!=o?o:4,k.appName=c,y.className="visibilityAnimate",y.appendChild(k);const z=new s.on(y);z.position.set(0,0,d);const T=h({BW:b,TW:x,BH:m,TH:v,d,isLeft:!0}),C=h({BW:b,TW:x,BH:m,TH:v,d,isLeft:!1}),S=g({BW:b,TW:x,BH:m,TH:v,d,isTop:!0}),E=g({BW:b,TW:x,BH:m,TH:v,d,isTop:!1});if(p.add(T,C,E,S),r){const e=document.createElement("div");e.style.cssText="\n color: #6BE0FA;\n font-size: 28px;\n font-weight: 500;\n width: 750px;\n line-height: 16px;\n ",e.className="visibilityAnimate";const t=document.createElement("span");t.style.cursor="pointer",t.innerText=r,e.appendChild(t);const n=new s.on(e);n.position.set(-365,-600,14),n.rotateX(Math.PI/2),z.add(n),t.onpointerdown=a}if(i){const e=document.createElement("div");e.style.cssText="\n color: #FFFFFF;\n font-size: 30px;\n font-weight: 500;\n width: 750px;\n text-shadow: 0px 1px 4px #3366FF;\n text-align: right;\n ",e.className="visibilityAnimate";const t=document.createElement("span");t.style.cursor="pointer",t.innerText=i,e.appendChild(t);const r=new s.on(e);r.position.set(365,-600,14),r.rotateX(Math.PI/2),z.add(r),t.onpointerdown=l}return p.add(z),p},m=(e,t,r)=>{if(null==e||!e.length)return[];let n=e.map((e=>({...e,x:0,y:0})));if(n.length===t*r)n=n.map(((e,r)=>({...e,x:r%t+1,y:parseInt(""+r/t)+1})));else{const e=t*(r-1),o=n.length-e;for(let r=0;r<e;r++){const e=n[r];e.x=r%t+1,e.y=parseInt(""+r/t)+1}for(let a=0;a<o/2;a++){const o=n[a+e],i=n[n.length-1-a];o.x=a+1,o.y=r,o!==i&&(i.x=t-a,i.y=r)}}return n},x=(e,t,r,n)=>{const o=new l.B69;return o.position.x=e.x*t.outerWidth-(r/2+.5)*t.outerWidth,o.position.y=-e.y*t.outerHeight+(n/2+.5)*t.outerHeight,o},v=(e,t,r,n,o,a)=>{const i=new l.B69,s=new l.Pq0,c=((e,t,r,n,o)=>{const a={x:0,y:0,z:0},i=parseInt(""+r*t.outerWidth*180)/(o*Math.PI),l=r/2+.5;return a.x=i*Math.sin(Math.PI/(180/((e.x-l)*(o/r)))),a.y=-e.y*t.outerHeight+(n/2+.5)*t.outerHeight,a.z=i-Math.sqrt(i*i-a.x*a.x),a})(e,t,r,n,o);return i.position.x=c.x,i.position.y=c.y,i.position.z=c.z,s.x=0,s.y=i.position.y,s.z=a,i.lookAt(s),i},f=(e,t,r,n)=>{const o=t.height+2*t.margin,a=(t.width+2*t.margin)/e.aspect,i=.5*Math.max(a,o)/Math.tan(e.fov*Math.PI/360)+t.z;let l=0;return r.forEach((function(e){n>=Math.min.apply(null,e.numRange)&&n<=Math.max.apply(null,e.numRange)&&(l=e.distance)})),Math.max(l,i)},w=(e,t)=>{const r=[],n=e.userData;return Array.isArray(t)&&t.length&&t.forEach((function(e){n.key!==e.source&&n.key!==e.target||r.push(e)})),r},y=(e,t)=>{const r=t.toUpperCase(),n=e.composedPath().find((e=>null==e?void 0:e.shadowRoot));if((null==n?void 0:n.tagName)===r)return n;const o=document.elementFromPoint(e.clientX,e.clientY),a=null==o?void 0:o.shadowRoot.elementFromPoint(e.clientX,e.clientY);return(null==a?void 0:a.tagName)===r?a:null};var k=r(99859),z=r(53373),T=r.n(z);const C=[{numRange:[0,40],distance:3e3},{numRange:[40,60],distance:2200},{numRange:[60,80],distance:2700},{numRange:[80,120],distance:3200},{numRange:[120,160],distance:3400},{numRange:[160,300],distance:3600}],S=45,E=100,P=300,I=500,R=(e,t,r,n)=>{const o=Math.ceil(Math.sqrt(e*t.outerHeight/(n*t.outerWidth))),a=Math.ceil(e/o),i=parseInt(""+o*t.outerWidth*180)/(E*Math.PI);return{maxX:o,maxY:a,radius:i,bounds:{width:2*i*Math.sin(Math.PI*(E/2)/180)+t.outerWidth,height:a*t.outerHeight,margin:r,z:i-i*Math.cos(Math.PI*(E/2)/180)}}},B=(0,k.wrapBrick)("data-view.app-wall-system-card");function M(e){const{relations:t,onSystemCardButtonClick:r,useDblclick:p,useDistanceConfig:h,handleCardDbClick:g,rightBtnOnClick:k,leftBtnOnClick:z,cardBrickName:M,cardSize:_,disabledDefaultClickEvent:A,handleCardClick:D,containerId:F,noRotate:L,boundMargin:W,useSystemPopover:K}=e,[N,$]=(0,o.useState)(null),H=(0,o.useRef)(),V=(0,o.useRef)(),O=(0,o.useRef)(),q=(0,o.useRef)(),j=(0,o.useRef)(),G=(0,o.useRef)(),Y=(0,o.useRef)(),X=(0,o.useRef)(),U=(0,o.useRef)(),Q=(0,o.useRef)(),Z=(0,o.useRef)(),J=(0,o.useRef)({table:[],curve:[]}),ee=(0,o.useRef)([]),te=(0,o.useRef)([]),re=(0,o.useRef)(1),ne=(0,o.useRef)(5e3),oe=(0,o.useRef)({maxX:0,maxY:0,radius:0,bounds:{width:0,height:0,margin:W,z:0}}),ae=(0,o.useRef)({element:null,mouseoverTimer:null,mouseoutTimer:null,clickTimer:null,dblClickTimer:null,isShowGraph3D:!1,isShowAppInfo:!1,isShowRelations:!1,enable:!0}),ie=(0,o.useCallback)((()=>{Y.current.render(X.current,U.current),Q.current.maxDistance=ne.current+I,Q.current.handleResize()}),[]),le=e=>{var t;if(null===(t=ae.current)||void 0===t||!t.element)return null==e?void 0:e();const{__objectCSS:r,__curve:n,__userData:o}=ae.current.element;new d.K(r.rotation).to({x:n.rotation.x,y:n.rotation.y,z:n.rotation.z},100).start(),new d.K(r.scale).to({x:1,y:1,z:1},100).start(),new d.K(r.position).to({x:n.position.x,y:n.position.y,z:n.position.z},100).onUpdate(ie).onStart((()=>{var e;"data-view.app-wall-card-item"===M&&r.element.classList.remove(`status-${o.status||"normal"}-card`),null===(e=ee.current)||void 0===e||e.forEach((e=>{e.element.style.opacity="1"})),te.current.forEach((e=>{X.current.remove(e)})),te.current=[],ie()})).onComplete((()=>{var t;ae.current.isShowRelations=!1,null==e||e(null===(t=ae.current)||void 0===t?void 0:t.element)})).start()},se=(e,t)=>{ae.current.enable=!1;for(let r=0;r<ee.current.length;r++){const n=ee.current[r],o=e[r];new d.K(n.position).to({x:o.position.x,y:o.position.y,z:o.position.z},l.cj9.randFloat(t,2*t)).easing(d.GS.Exponential.InOut).start(),new d.K(n.rotation).to({x:o.rotation.x,y:o.rotation.y,z:o.rotation.z},l.cj9.randFloat(t,2*t)).easing(d.GS.Exponential.InOut).start()}new d.K({}).to({},2*t).onUpdate(ie).start().onComplete((()=>{ae.current.enable=!0}))},ce=e=>{Q.current.reset();const t=ae.current.element.__objectCSS,r=ae.current.element.__curve;ae.current.enable=!1,ae.current.isShowAppInfo=!0;const n={x:r.position.x>0?2*-_.width:2*_.width,y:0,z:(U.current.position.z-500)/1.5},o={x:0,y:0,z:U.current.position.z-500},a={x:0,y:r.rotation.y>0?90*-Math.PI/180:90*Math.PI/180,z:0},i={x:0,y:r.rotation.y>0?180*-Math.PI/180:180*Math.PI/180,z:0},l=new d.K(t.position),s=new d.K(t.rotation),c=new d.K(t.position),u=new d.K(t.rotation);var p;e?(l.to(n,500).easing().onComplete((()=>{j.current.hidden=!0,ae.current.element.style.opacity="1"})),s.to(a,500).easing(),c.to({x:r.position.x,y:r.position.y,z:r.position.z},700).easing(),u.to({x:r.rotation.x,y:r.rotation.y,z:r.rotation.z},700).easing().onComplete((()=>{var e;null===(e=ee.current)||void 0===e||e.forEach((e=>{e.element.style.opacity="1"}))}))):(null===(p=ee.current)||void 0===p||p.forEach((e=>{t!=e&&(e.element.style.opacity="0.2")})),l.to(n,700).easing().onStart((()=>{q.current.hidden=!1,j.current.hidden=!0})),s.to(a,700).easing(),c.to(o,500).easing().onStart((function(){ae.current.element.style.opacity="0",j.current.style.transition="transition: all .3s ease",j.current.hidden=!1})),u.to(i,500).easing()),l.chain(c).start(),s.chain(u).start(),new d.K({}).to({},1400).onUpdate((()=>{if(ie(),Math.abs(t.rotation.y)>=Math.PI/2){const e=ae.current.element.getBoundingClientRect(),t=1.35,r=e.width*t,n=e.height*t;j.current.style.width=`${r}px`,j.current.style.height=`${n}px`,j.current.style.top=e.top-(t-1)*n/2+"px",j.current.style.left=e.left-(t-1)*r/2+"px"}})).start().onComplete((function(){ae.current.enable=!0,ae.current.isShowAppInfo=!e,q.current.hidden=e}))};return(0,o.useEffect)((()=>{let e;(()=>{var e;const t=null===(e=document.getElementById(F))||void 0===e?void 0:e.getBoundingClientRect(),r=(null==t?void 0:t.width)||window.innerWidth,n=(null==t?void 0:t.height)||window.innerHeight,o=r/n,a=new l.Z58,i=new l.ubm(S,o,.1,1e4),d=new s.a0;d.setSize(r,n),V.current.replaceChildren(d.domElement);const u=new c.V(i,d.domElement);u.rotateSpeed=.5,u.minDistance=500,u.maxDistance=1e4,u.noRotate=L,X.current=a,U.current=i,Q.current=u,Y.current=d})();const t=()=>{e=requestAnimationFrame(t),d.Ay.update(),Q.current.update()};t();const r=F?document.getElementById(F):document.body,n=new ResizeObserver((0,i.debounce)((()=>{const{width:e,height:t}=r.getBoundingClientRect();U.current.aspect=e/t,U.current.updateProjectionMatrix(),Y.current.setSize(e,t),ie()}),300));return Q.current.addEventListener("change",ie),n.observe(r),()=>{n.disconnect(),Q.current.removeEventListener("change",ie),Q.current.dispose(),d.Ay.removeAll(),U.current.clear(),X.current.clear(),cancelAnimationFrame(e)}}),[]),(0,o.useEffect)((()=>{var t;const r=(null===(t=e.dataSource)||void 0===t?void 0:t.length)||0;if(r>0){(e=>{oe.current=R(e,_,W,1/U.current.aspect)})(r),ne.current=f(U.current,oe.current.bounds,h?C:[],r),U.current.position.z=ne.current,U.current.updateProjectionMatrix(),Q.current.position0.copy(U.current.position);m(e.dataSource,oe.current.maxX,oe.current.maxY).forEach((e=>{var t,r,n,o,a,i,l;const c=document.createElement(M);c.status=e.status,c.cardTitle=null===(t=e.cardItemProps)||void 0===t?void 0:t.cardTitle,c.description=null===(r=e.cardItemProps)||void 0===r?void 0:r.description,c.background=null===(n=e.cardItemProps)||void 0===n?void 0:n.background,c.color=null===(o=e.cardItemProps)||void 0===o?void 0:o.color,c.titleStyle=null===(a=e.cardItemProps)||void 0===a?void 0:a.titleStyle,c.desStyle=null===(i=e.cardItemProps)||void 0===i?void 0:i.desStyle,c.descriptionList=null===(l=e.cardItemProps)||void 0===l?void 0:l.descriptionList;const d=`status-${(null==e?void 0:e.status)||"normal"}`;c.className=`card-item-container ${d}`,c.style.width=`${_.width}px`,c.style.height=`${_.height}px`,c.classList.add("card-item-wrap");const u=new s.on(c);u.position.set(4e3*Math.random()-2e3,4e3*Math.random()-2e3,4e3*Math.random()-2e3),X.current.add(u),ee.current.push(u);const p=x(e,_,oe.current.maxX,oe.current.maxY);J.current.table.push(p);const h=v(e,_,oe.current.maxX,oe.current.maxY,E,oe.current.radius);J.current.curve.push(h),u.userData=e,c.__objectCSS=u,c.__userData=e,c.__curve=h})),se(J.current.curve,1e3)}return()=>{Q.current.reset(),d.Ay.removeAll(),ee.current.map((e=>{X.current.remove(e)})),ee.current=[],J.current={table:[],curve:[]},ae.current={element:null,mouseoverTimer:null,mouseoutTimer:null,clickTimer:null,dblClickTimer:null,enable:!0,isShowAppInfo:!1,isShowGraph3D:!1,isShowRelations:!1}}}),[e.dataSource,h]),(0,o.useEffect)((()=>{if(K){const e=document.createElement("monitoring.sys-popover");G.current=e,document.querySelector("#main-mount-point").appendChild(e)}}),[K]),(0,o.useEffect)((()=>{const e=H.current,r=e=>{if(clearTimeout(ae.current.mouseoverTimer),ae.current.isShowAppInfo||ae.current.isShowGraph3D||!ae.current.enable)return!1;const r=y(e,M);if(K){var n,o;const e=(null===(n=G.current)||void 0===n?void 0:n.instanceId)!=(null==r||null===(o=r.__userData)||void 0===o||null===(o=o.data)||void 0===o?void 0:o.instanceId);r&&e||G.current.setVisible(!1)}ae.current.mouseoverTimer=window.setTimeout((()=>{le((()=>{r&&!ae.current.isShowAppInfo&&(e=>{const{__objectCSS:r,__userData:n}=e,o=r.rotation.y,a=r.element.getBoundingClientRect(),i={x:r.position.x+50*Math.sin(o),y:r.position.y+15,z:r.position.z+100*Math.cos(o)},l=a.width>=_.width?re.current:Math.min(_.width/a.width,_.height/a.height);ae.current.isShowRelations=!0,new d.K(r.rotation).onStart((()=>{"data-view.app-wall-card-item"===M&&r.element.classList.add(`status-${n.status||"normal"}-card`)})).start(),new d.K(r.scale).to({x:l,y:l,z:l},100).start(),new d.K(r.position).to(i,100).onUpdate(ie).onComplete((function(){if((e=>{var r;const n=w(e,t),o=e.userData;let a,i;null==n||n.forEach((t=>{t.source===o.key?(i=ee.current.find((e=>e.userData.key===t.target)),a=i&&u(e.position,i.position,"blue")):(i=ee.current.find((e=>e.userData.key===t.source)),a=i&&u(i.position,e.position,"purple")),a&&(te.current.push(a),X.current.add(a))})),null===(r=ee.current)||void 0===r||r.forEach((t=>{e!=t&&n.every((e=>e.source!=t.userData.key&&e.target!=t.userData.key))&&(t.element.style.opacity="0.2")}))})(r),ie(),ae.current.element=e,K){var n;const t=e.getBoundingClientRect(),r=t.left+t.width/2,o=t.top+t.height/2;G.current.instanceId=null==e||null===(n=e.__userData)||void 0===n||null===(n=n.data)||void 0===n?void 0:n.instanceId,G.current.setPosition({x:r,y:o}),G.current.setVisible(!0)}})).start()})(r),clearTimeout(ae.current.mouseoverTimer)}))}),300)},n=e=>{if(ae.current.isShowAppInfo||ae.current.isShowGraph3D||!ae.current.enable)return!1;const t=y(e,M);if(K){var r;const e=G.current.instanceId!=(null==t||null===(r=t.__userData)||void 0===r||null===(r=r.data)||void 0===r?void 0:r.instanceId);t&&e||G.current.setVisible(!1)}},o=e=>{if(clearTimeout(ae.current.clickTimer),clearTimeout(ae.current.mouseoverTimer),ae.current.isShowAppInfo||ae.current.isShowGraph3D||!ae.current.enable)return!1;const t=y(e,M);ae.current.clickTimer=window.setTimeout((function(){clearTimeout(ae.current.mouseoverTimer),le((()=>{t&&(clearTimeout(ae.current.clickTimer),clearTimeout(ae.current.mouseoverTimer),e.stopPropagation(),ae.current.element=t,A?null==D||D(t.__userData):($(t.__userData),ce(!1)))}))}),200)},a=e=>{if(clearTimeout(ae.current.clickTimer),clearTimeout(ae.current.mouseoverTimer),clearTimeout(ae.current.dblClickTimer),ae.current.isShowAppInfo||ae.current.isShowGraph3D||!ae.current.enable)return!1;const t=y(e,M),{__userData:r,__objectCSS:n}=t;ae.current.isShowGraph3D=!0,ae.current.dblClickTimer=window.setTimeout((function(){le((()=>{var e;if(p||(null===(e=r.trapezoidalProps)||void 0===e||null===(e=e.clusters)||void 0===e?void 0:e.length)<1)g(r),ae.current.isShowGraph3D=!1;else if(t){clearTimeout(ae.current.mouseoverTimer),clearTimeout(ae.current.clickTimer),V.current.classList.add("mask-container"),Q.current.reset();const e={opacity:0,scale:0,borderLeftWidth:0,borderRightWidth:0,borderTopWidth:0,borderBottomWidth:0},t={x:n.position.x,y:860+_.height*(oe.current.maxY-r.y)},o=new d.K(U.current.position),a=new d.K(e),i=new d.K({z:0}),l=new d.K(U.current.position),s=new d.K(Q.current.target),c=new d.K({blur:12,spread:0});se(J.current.table,600),o.to({x:0,y:-3600,z:1600},1e3).chain(c,a,i),a.to({opacity:1},700).onStart((()=>{var e,t,o,a,i;const l=b({objectData:{width:_.width,height:_.height,point:[n.position.x,n.position.y,n.position.z]},clusters:null===(e=r.trapezoidalProps)||void 0===e?void 0:e.clusters,columns:null===(t=r.trapezoidalProps)||void 0===t?void 0:t.columns,appName:null===(o=r.trapezoidalProps)||void 0===o?void 0:o.appName,leftBtnName:null===(a=r.trapezoidalProps)||void 0===a?void 0:a.leftBtnName,rightBtnName:null===(i=r.trapezoidalProps)||void 0===i?void 0:i.rightBtnName,rightOnClick:()=>k(r),leftOnClick:()=>z(r)});Z.current=l,X.current.add(l)})),i.to({z:P},1e3).delay(230).chain(l,s),l.to({x:t.x,y:-3600+t.y},1e3),s.to({x:t.x,y:t.y},1e3).onComplete((function(){O.current.style.visibility="visible"})),o.start()}}))}),200)};return e.addEventListener("dblclick",a),e.addEventListener("click",o),e.addEventListener("mouseover",r),e.addEventListener("mouseout",n),()=>{e.removeEventListener("mouseover",r),e.removeEventListener("mouseout",n),e.removeEventListener("click",o),e.removeEventListener("dblclick",a)}}),[A,D]),a().createElement("div",{className:"appwall-container",ref:H},a().createElement("div",{className:"appwall",ref:V}),a().createElement("div",{className:"mask",ref:q,onClick:()=>{ae.current.enable&&ce(!0)},hidden:!0},a().createElement(B,(0,n.A)({},null==N?void 0:N.systemCardProps,{onClick:e=>e.stopPropagation(),handleClick:()=>r(N),ref:j,className:T()({infoWrapper:"normal"===(null==N?void 0:N.status),warningWrapper:"warning"===(null==N?void 0:N.status)})}))),a().createElement("div",{className:"closeBtn",ref:O,onClick:()=>{(()=>{d.Ay.removeAll();const e=new d.K({z:0}),t=new d.K({opacity:1}),r=new d.K(U.current.position),n=new d.K(Q.current.target),o=new d.K({blur:1500,spread:100});e.to({z:P},1e3).chain(r,n,o),t.to({opacity:0},1e3).onStart((()=>{X.current.remove(Z.current),O.current.style.visibility="hidden"})).delay(300),r.to(Q.current.position0,1e3).onComplete((function(){Q.current.reset(),V.current.classList.remove("mask-container"),se(J.current.curve,600),ae.current.isShowGraph3D=!1})),n.to({x:0,y:0,z:0},1e3),o.to({blur:0,spread:0},1e3),e.start(),t.start()})()}}))}},79935:(e,t,r)=>{r.d(t,{A:()=>l});var n=r(36758),o=r.n(n),a=r(40935),i=r.n(a)()(o());i.push([e.id,":host{--palette-rgba-white-1:rgba(255,255,255,10%);--palette-rgba-white-2:rgba(255,255,255,20%);--palette-rgba-white-3:rgba(255,255,255,30%);--palette-rgba-white-4:rgba(255,255,255,40%);--palette-rgba-white-5:rgba(255,255,255,50%);--palette-rgba-white-6:rgba(255,255,255,60%);--palette-rgba-white-7:rgba(255,255,255,70%);--palette-rgba-white-8:rgba(255,255,255,80%);--palette-rgba-white-9:rgba(255,255,255,90%);--palette-rgba-white-10:rgba(255,255,255,100%);--palette-rgba-gray-1:rgba(0,0,0,10%);--palette-rgba-gray-2:rgba(0,0,0,20%);--palette-rgba-gray-3:rgba(0,0,0,30%);--palette-rgba-gray-4:rgba(0,0,0,40%);--palette-rgba-gray-5:rgba(0,0,0,50%);--palette-rgba-gray-6:rgba(0,0,0,60%);--palette-rgba-gray-7:rgba(0,0,0,70%);--palette-rgba-gray-8:rgba(0,0,0,80%);--palette-rgba-gray-9:rgba(0,0,0,90%);--palette-rgba-gray-10:rgba(0,0,0,100%);--palette-rgba-blue-gray-2:rgba(101,106,134,20%);--palette-rgba-blue-gray-3:rgba(101,106,134,30%);--palette-rgba-blue-gray-8:rgba(101,106,134,80%);--palette-tech-blue-4-channel:67,127,255;--palette-tech-blue-4:rgb(var(--palette-tech-blue-4-channel));--palette-tech-blue-6-channel:51,102,255;--palette-tech-blue-6:rgb(var(--palette-tech-blue-6-channel));--palette-tech-blue-8-channel:40,69,159;--palette-tech-blue-8:rgb(var(--palette-tech-blue-8-channel));--palette-sea-green-4-channel:131,245,225;--palette-sea-green-4:rgb(var(--palette-sea-green-4-channel));--palette-green-6-channel:81,235,73;--palette-green-6:rgb(var(--palette-green-6-channel));--palette-green-2:rgba(var(--palette-green-6-channel),20%);--palette-lotus-pink-7-channel:204,0,102;--palette-lotus-pink-7:rgb(var(--palette-lotus-pink-7-channel));--palette-red-6-channel:242,39,39;--palette-red-6:rgb(var(--palette-red-6-channel));--palette-red-2:rgba(var(--palette-red-6-channel),20%);--color-fill-global-bg:#0f1014;--color-fill-bg-container-1:var(--palette-rgba-white-1);--color-fill-bg-container-2:var(--palette-rgba-blue-gray-2);--color-fill-bg-container-3:var(--palette-rgba-blue-gray-8);--color-fill-bg-base-1:var(--palette-rgba-blue-gray-2);--color-fill-bg-base-2:rgba(15,16,20,0%);--color-fill-bg-base-3:rgba(0,0,0,20%);--color-fill-bg-base-4:rgba(40,46,58,100%);--color-fill-bg-base-5:rgba(19,25,47,80%);--color-fill-bg-base-6:var(--palette-rgba-blue-gray-3);--color-brand:var(--palette-tech-blue-6);--color-brand-hover:var(--palette-tech-blue-4);--color-brand-active:var(--palette-tech-blue-8);--color-contrast-1:var(--palette-sea-green-4);--color-error:var(--palette-red-6);--color-error-bg:var(--palette-red-2);--color-success:var(--palette-green-6);--color-success-bg:var(--palette-green-2);--color-header-text-big:var(--palette-rgba-white-10);--color-header-text:var(--palette-rgba-white-10);--color-normal-text:var(--palette-rgba-white-10);--color-strong-text:var(--palette-rgba-white-9);--color-auxiliary-text:var(--palette-rgba-white-8);--color-secondary-text:var(--palette-rgba-white-6);--color-disabled-text:var(--palette-rgba-white-4);--color-border-divider-line:var(--palette-rgba-white-1);--color-text-divider-line-1:var(--palette-rgba-white-2);--color-text-divider-line-2:var(--palette-rgba-white-2);--small-border-radius:2px;--medius-border-radius:5px;--larger-border-radius:12px;--container-border-radius:9999px;--no-border-radius:0px;--mask-bg:var(--palette-rgba-gray-7);--title-font-size-larger:30px;--title-font-size-strong:22px;--title-font-size:18px;--normal-font-size:14px;--auxiliary-font-size:16px;--auxiliary-font-size-small:12px;--overview-data-font-size:34px;--statistics-data-font-size:28px;--normal-data-font-size-larger:20px;--normal-data-font-size:16px;--chart-legend-font-size:12px;--chart-tooltips-font-size-1:12px;--chart-tooltips-font-size-2:12px;--chart-axis-x-font-size:12px;--chart-axis-x-font-size-larger:14px;--chart-axis-y-font-size:12px;--chart-axis-y-font-size-larger:14px;--font-weight-600:600;--font-weight-500:500;--font-weight-400:400;--text-shadow:0px 1px 4px #2863ee;--border-width-base:1px;--border-width-double-base:2px;--border-width-tribble-base:3px;--punctate-width-base:1px;--paragraph-width-base:1px;--button-text-color:#40d0db}",""]);const l=i.toString()}}]);
|
|
2
|
-
//# sourceMappingURL=1493.
|
|
1
|
+
"use strict";(globalThis.webpackChunk_next_bricks_data_view=globalThis.webpackChunk_next_bricks_data_view||[]).push([[1493],{8387:(e,t,r)=>{r.d(t,{A:()=>l});var n=r(36758),o=r.n(n),a=r(40935),i=r.n(a)()(o());i.push([e.id,":host{display:inline-block}:host([hidden]){display:none}*,\n*::before,\n*::after{box-sizing:border-box}.wrapper{position:relative;width:100%;height:100%;padding:30px 24px 35px;left:0;display:flex;flex-direction:column;border-radius:var(--no-border-radius)}.cardName{font-size:var(--title-font-size-strong);line-height:22px;text-align:center;font-weight:var(--font-weight-500);color:var(--color-normal-text);text-shadow:0 1px 4px rgba(51,102,255,0.5);margin-bottom:35px;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}.descriptions{flex:1;margin-bottom:20px;font-size:var(--auxiliary-font-size-small);overflow:auto;font-weight:var(--font-weight-400)}.descriptionsItem .itemKey{color:var(--color-secondary-text)}.descriptionsItem .itemValue{color:var(--color-strong-text)}.descriptionsItem{display:flex;gap:10px;margin-bottom:12px}.descriptionsItem>div{flex:1;text-align:left;word-break:break-all}.buttonContent{position:absolute;bottom:16px;right:24px;font-size:var(--auxiliary-font-size);color:#99CCFF;cursor:pointer;font-weight:var(--font-weight-500)}.buttonName{margin-left:5px}",""]);const l=i.toString()},32415:(e,t,r)=>{r.d(t,{A:()=>l});var n=r(36758),o=r.n(n),a=r(40935),i=r.n(a)()(o());i.push([e.id,":host{display:inline-block;width:-moz-fit-content;width:fit-content;height:100%}:host([hidden]){display:none}*,\n*::before,\n*::after{box-sizing:border-box}.relation-line{position:relative;width:6px;height:100%;background:var(--color-text-divider-line-1);overflow:hidden}.relation-line::after{content:'';position:absolute;width:100%;height:20%;left:0px;top:0px;animation:lightMove 1000ms ease-in-out infinite,lightOpacity 1000ms ease-in-out infinite}.relation-line.light-color-blue::after{background:linear-gradient(rgba(80,255,255,0) 0%,rgba(80,255,255,1) 90%,#DFFFFF 100%)}.relation-line.light-color-purple::after{background:linear-gradient(rgba(102,0,255,0) 0%,rgba(102,0,255,1) 90%,#B07BFF 100%)}@keyframes lightMove{0%{top:0;transform:translateY(-100%)}100%{top:100%;transform:translateY(0)}}@keyframes lightOpacity{0%{opacity:0}20%{opacity:1}80%{opacity:1}100%{opacity:0}}",""]);const l=i.toString()},52960:(e,t,r)=>{r.d(t,{A:()=>l});var n=r(36758),o=r.n(n),a=r(40935),i=r.n(a)()(o());i.push([e.id,':host{display:block;width:100%;height:100%}:host([hidden]){display:none}*,\n*::before,\n*::after{box-sizing:border-box}.mask-container{position:absolute;top:0;left:0;width:100%;height:100%;background:#0c1216;z-index:1000}.appwall-container{padding:8px}.appwall{position:relative}.appwall.loading .card-item{pointer-events:none!important}.mask{position:absolute;width:100%;height:100%;top:0;bottom:0;left:0;right:0;z-index:100;display:flex;align-items:center;justify-content:center}.mask[hidden]{display:none}.infoWrapper{position:absolute;background:var(--color-fill-bg-base-4);box-shadow:0 0 12px 2px rgba(80,255,255,0.45),inset 0 0 22px 0 #20242a;border:2px solid #50ffff;overflow:hidden}.warningWrapper{position:absolute;background:linear-gradient(180deg,#cc0066 0%,rgba(204,0,102,0.2) 100%),#0f1117ff;box-shadow:0 0 12px 2px rgba(204,0,102,0.4),inset 0 4px 10px 0 rgba(255,255,255,0.65);overflow:hidden}.relation-line{pointer-events:none!important}.closeBtn{visibility:hidden;position:fixed;top:50px;right:50px;width:46px;height:46px;text-align:center;border:1px solid;color:rgb(138 189 255/84%);font-size:20px;line-height:46px;cursor:pointer;background:rgba(138,189,255,0.13);border-image:linear-gradient(135deg,rgba(255,255,255,0.5),rgba(255,255,255,0),rgba(255,255,255,0.33)) 1 1;display:flex;justify-content:center;align-items:center;z-index:1000}.closeBtn:before,\n.closeBtn:after{content:"";width:2px;height:20px;background:linear-gradient(180deg,#3467ff 0%,#98cbff 100%);position:absolute}.closeBtn:before{transform:rotateZ(45deg)}.closeBtn:after{transform:rotateZ(-45deg)}.closeBtn:hover:after,\n.closeBtn:hover:before{background:var(--color-normal-text)}.visibilityAnimate{visibility:hidden;animation:visibility 0.5s both 1s}.trapezoidalLeftOrRightAnimation,\n.trapezoidalTopOrBottomAnimation{background:linear-gradient(180deg,rgba(51,102,255,0.4) 0%,#99ccff 100%);opacity:0.2;position:absolute}.trapezoidalTopOrBottomAnimation{bottom:0;width:100%;left:0;animation:animateTop 1s both}.trapezoidalLeftOrRightAnimation{top:0;right:0;height:100%;animation:animateLeft 1s both}@keyframes animateTop{0%{height:0}100%{height:100%}}@keyframes animateLeft{0%{width:0}100%{width:100%}}@keyframes visibility{0%{visibility:hidden}100%{visibility:visible}}.card-item-container{transition:opacity 0.5s}.status-normal-card{box-shadow:0 0 100px rgba(80,255,255,0.58);border:1px solid rgba(80,255,255,0.58);background:-webkit-gradient(liner,left top,left bottom,from(#002c8d),to(#00123e));background:linear-gradient(to bottom,rgba(80,255,255,1) 0%,rgba(80,255,255,0) 100%)}.status-warning-card{box-shadow:0 0 100px #cc0066;background:-webkit-gradient(liner,left top,left bottom,from(#cc0066),to(rgba(204,0,102,0.2)));background:linear-gradient(to bottom,#cc0066 0%,rgba(204,0,102,0.2) 100%)}',""]);const l=i.toString()},60547:(e,t,r)=>{r.d(t,{A:()=>l});var n=r(36758),o=r.n(n),a=r(40935),i=r.n(a)()(o());i.push([e.id,":host{display:inline-block;width:100%;height:100%}:host([hidden]){display:none}*,\n*::before,\n*::after{box-sizing:border-box}.card-item-container{position:relative;width:100%;height:100%}.card-item{position:relative;width:100%;height:100%;display:flex;justify-content:center;align-items:center;text-align:center;border-radius:var(--no-border-radius);border-color:transparent;transition:border-color 0.5s}.status-normal:hover{box-shadow:0 0 100px rgba(80,255,255,0.58);border:1px solid rgba(80,255,255,0.58);background:-webkit-gradient(liner,left top,left bottom,from(#002c8d),to(#00123e));background:linear-gradient(to bottom,rgba(80,255,255,1) 0%,rgba(80,255,255,0) 100%)}.status-warning:hover{box-shadow:0 0 100px #CC0066;background:-webkit-gradient(liner,left top,left bottom,from(#CC0066),to(rgba(204,0,102,0.2)));background:linear-gradient(to bottom,#CC0066 0%,rgba(204,0,102,0.2) 100%)}.card-item-container.status-normal .card-item{background:var(--color-fill-bg-base-4);box-shadow:inset 0px 1px 2px 0px rgba(255,255,255,0.45)}.card-item-container.status-normal:hover .card-item{border:2px solid rgba(80,255,255,0.58)}.card-item-container.status-warning .card-item{background:linear-gradient(180deg,#CC0066 0%,rgba(204,0,102,0.2) 100%);box-shadow:inset 0px 2px 6px 0px rgba(255,255,255,0.65)}.card-item-container.status-warning:hover .card-item{border:none}.card-item-text-container{width:100%;padding:0 12px}.card-item-title,\n.card-item-description{font-size:20px;font-weight:var(--font-weight-500);color:var(--color-normal-text)}.card-item-title{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.card-item-description{overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}",""]);const l=i.toString()},75562:(e,t,r)=>{r.d(t,{S:()=>M});var n=r(89575),o=r(18769),a=r.n(o),i=r(20563),l=r(55062),s=r(83488),c=r(97807),d=r(17558);r(21440),r(36041),r(4392);const u=(e,t,r)=>{const n=(new l.Pq0).subVectors(t,e),o=n.length(),a=document.createElement("data-view.app-wall-relation-line");a.style.height=`${o}px`,a.classList.add("relation-line"),a.lightColor=r;const i=new s.on(a),c=(new l.Pq0).lerpVectors(e,t,.5);i.position.copy(c);const d=(new l.PTz).setFromUnitVectors(new l.Pq0(0,1,0).normalize(),n.clone().normalize());return i.setRotationFromQuaternion(d),i},p=(e,t)=>{const r=new l.Pq0(e[0],e[1],e[2]),n=new l.Pq0(t[0],t[1],t[2]);return{centerVector:(new l.Pq0).lerpVectors(r,n,.5),subVector:(new l.Pq0).subVectors(r,n)}},h=e=>{const{BW:t,TW:r,d:n,TH:o,BH:a,isLeft:i}=e,c=Math.sqrt(Math.pow(r/2-t/2,2)+Math.pow(n,2)),d=document.createElement("div");d.style.cssText=`\n width: ${c}px;\n height:${o}px;\n position: relative;\n clip-path: polygon(0 0, ${c}px ${o/2-a/2}px, ${c}px ${o/2-a/2+a}px, 0 ${o}px);\n `;const u=document.createElement("div");u.className="trapezoidalLeftOrRightAnimation",d.appendChild(u);const h=i?[-t/2,0,0]:[t/2,0,0],g=i?[-r/2,0,n]:[r/2,0,n],b=new s.on(d),{centerVector:m,subVector:x}=p(h,g);b.position.copy(m);const v=(new l.PTz).setFromUnitVectors(new l.Pq0(1,0,0).normalize(),x.clone().normalize());return b.setRotationFromQuaternion(v),b},g=e=>{const{BW:t,TW:r,d:n,TH:o,BH:a,isTop:i}=e,c=Math.sqrt(Math.pow(o/2-a/2,2)+Math.pow(n,2)),d=document.createElement("div");d.style.cssText=`\n width: ${r}px;\n height:${c}px;\n position: relative;\n clip-path: polygon(0 0, ${r}px 0, ${r/2-t/2+t}px ${c}px, ${r/2-t/2}px ${c}px);\n `;const u=document.createElement("div");u.className="trapezoidalTopOrBottomAnimation",d.appendChild(u);const h=new s.on(d),g=i?[0,-a/2,0]:[0,a/2,0],b=i?[0,-o/2,n]:[0,o/2,n],{centerVector:m,subVector:x}=p(g,b);h.position.copy(m);const v=(new l.PTz).setFromUnitVectors(new l.Pq0(0,-1,0).normalize(),x.clone().normalize());return h.setRotationFromQuaternion(v),h},b=e=>{const{objectData:t,leftBtnName:r,clusters:n,columns:o,leftOnClick:a,rightBtnName:i,rightOnClick:l,appName:c}=e,d=600,u=document.createElement("div"),p=new s.on(u);p.position.set(...t.point);const b=t.width,m=t.height,x=1500,v=1200,f=document.createElement("div");f.style.cssText=`\n width: ${b}px;\n height: ${m}px;\n box-shadow: inset 0px 1px 2px 0px rgba(255,255,255,0.45);\n border: 1px solid rgba(118,255,255,0.58);\n padding: 16px;\n `;const w=new s.on(f);w.position.z=0,p.add(w);const y=document.createElement("div");y.style.cssText="\n width: 1500px;\n height:1200px;\n background: linear-gradient(rgb(13, 54, 179,0.6) 0%, rgb(74, 108, 156,0.6) 100%);\n box-sizing: border-box;\n padding: 16px;\n ";const k=document.createElement("data-view.cabinet-thumbnail");k.clusters=null!=n?n:[],k.columns=null!=o?o:4,k.appName=c,y.className="visibilityAnimate",y.appendChild(k);const z=new s.on(y);z.position.set(0,0,d);const T=h({BW:b,TW:x,BH:m,TH:v,d,isLeft:!0}),C=h({BW:b,TW:x,BH:m,TH:v,d,isLeft:!1}),S=g({BW:b,TW:x,BH:m,TH:v,d,isTop:!0}),E=g({BW:b,TW:x,BH:m,TH:v,d,isTop:!1});if(p.add(T,C,E,S),r){const e=document.createElement("div");e.style.cssText="\n color: #6BE0FA;\n font-size: 28px;\n font-weight: 500;\n width: 750px;\n line-height: 16px;\n ",e.className="visibilityAnimate";const t=document.createElement("span");t.style.cursor="pointer",t.innerText=r,e.appendChild(t);const n=new s.on(e);n.position.set(-365,-600,14),n.rotateX(Math.PI/2),z.add(n),t.onpointerdown=a}if(i){const e=document.createElement("div");e.style.cssText="\n color: #FFFFFF;\n font-size: 30px;\n font-weight: 500;\n width: 750px;\n text-shadow: 0px 1px 4px #3366FF;\n text-align: right;\n ",e.className="visibilityAnimate";const t=document.createElement("span");t.style.cursor="pointer",t.innerText=i,e.appendChild(t);const r=new s.on(e);r.position.set(365,-600,14),r.rotateX(Math.PI/2),z.add(r),t.onpointerdown=l}return p.add(z),p},m=(e,t,r)=>{if(null==e||!e.length)return[];let n=e.map((e=>({...e,x:0,y:0})));if(n.length===t*r)n=n.map(((e,r)=>({...e,x:r%t+1,y:parseInt(""+r/t)+1})));else{const e=t*(r-1),o=n.length-e;for(let r=0;r<e;r++){const e=n[r];e.x=r%t+1,e.y=parseInt(""+r/t)+1}for(let a=0;a<o/2;a++){const o=n[a+e],i=n[n.length-1-a];o.x=a+1,o.y=r,o!==i&&(i.x=t-a,i.y=r)}}return n},x=(e,t,r,n)=>{const o=new l.B69;return o.position.x=e.x*t.outerWidth-(r/2+.5)*t.outerWidth,o.position.y=-e.y*t.outerHeight+(n/2+.5)*t.outerHeight,o},v=(e,t,r,n,o,a)=>{const i=new l.B69,s=new l.Pq0,c=((e,t,r,n,o)=>{const a={x:0,y:0,z:0},i=parseInt(""+r*t.outerWidth*180)/(o*Math.PI),l=r/2+.5;return a.x=i*Math.sin(Math.PI/(180/((e.x-l)*(o/r)))),a.y=-e.y*t.outerHeight+(n/2+.5)*t.outerHeight,a.z=i-Math.sqrt(i*i-a.x*a.x),a})(e,t,r,n,o);return i.position.x=c.x,i.position.y=c.y,i.position.z=c.z,s.x=0,s.y=i.position.y,s.z=a,i.lookAt(s),i},f=(e,t,r,n)=>{const o=t.height+2*t.margin,a=(t.width+2*t.margin)/e.aspect,i=.5*Math.max(a,o)/Math.tan(e.fov*Math.PI/360)+t.z;let l=0;return r.forEach((function(e){n>=Math.min.apply(null,e.numRange)&&n<=Math.max.apply(null,e.numRange)&&(l=e.distance)})),Math.max(l,i)},w=(e,t)=>{const r=[],n=e.userData;return Array.isArray(t)&&t.length&&t.forEach((function(e){n.key!==e.source&&n.key!==e.target||r.push(e)})),r},y=(e,t)=>{const r=t.toUpperCase(),n=e.composedPath().find((e=>null==e?void 0:e.shadowRoot));if((null==n?void 0:n.tagName)===r)return n;const o=document.elementFromPoint(e.clientX,e.clientY),a=null==o?void 0:o.shadowRoot.elementFromPoint(e.clientX,e.clientY);return(null==a?void 0:a.tagName)===r?a:null};var k=r(11280),z=r(53373),T=r.n(z);const C=[{numRange:[0,40],distance:3e3},{numRange:[40,60],distance:2200},{numRange:[60,80],distance:2700},{numRange:[80,120],distance:3200},{numRange:[120,160],distance:3400},{numRange:[160,300],distance:3600}],S=45,E=100,P=300,I=500,R=(e,t,r,n)=>{const o=Math.ceil(Math.sqrt(e*t.outerHeight/(n*t.outerWidth))),a=Math.ceil(e/o),i=parseInt(""+o*t.outerWidth*180)/(E*Math.PI);return{maxX:o,maxY:a,radius:i,bounds:{width:2*i*Math.sin(Math.PI*(E/2)/180)+t.outerWidth,height:a*t.outerHeight,margin:r,z:i-i*Math.cos(Math.PI*(E/2)/180)}}},B=(0,k.wrapBrick)("data-view.app-wall-system-card");function M(e){const{relations:t,onSystemCardButtonClick:r,useDblclick:p,useDistanceConfig:h,handleCardDbClick:g,rightBtnOnClick:k,leftBtnOnClick:z,cardBrickName:M,cardSize:_,disabledDefaultClickEvent:A,handleCardClick:D,containerId:F,noRotate:L,boundMargin:W,useSystemPopover:K}=e,[N,$]=(0,o.useState)(null),H=(0,o.useRef)(),V=(0,o.useRef)(),O=(0,o.useRef)(),q=(0,o.useRef)(),j=(0,o.useRef)(),G=(0,o.useRef)(),Y=(0,o.useRef)(),X=(0,o.useRef)(),U=(0,o.useRef)(),Q=(0,o.useRef)(),Z=(0,o.useRef)(),J=(0,o.useRef)({table:[],curve:[]}),ee=(0,o.useRef)([]),te=(0,o.useRef)([]),re=(0,o.useRef)(1),ne=(0,o.useRef)(5e3),oe=(0,o.useRef)({maxX:0,maxY:0,radius:0,bounds:{width:0,height:0,margin:W,z:0}}),ae=(0,o.useRef)({element:null,mouseoverTimer:null,mouseoutTimer:null,clickTimer:null,dblClickTimer:null,isShowGraph3D:!1,isShowAppInfo:!1,isShowRelations:!1,enable:!0}),ie=(0,o.useCallback)((()=>{Y.current.render(X.current,U.current),Q.current.maxDistance=ne.current+I,Q.current.handleResize()}),[]),le=e=>{var t;if(null===(t=ae.current)||void 0===t||!t.element)return null==e?void 0:e();const{__objectCSS:r,__curve:n,__userData:o}=ae.current.element;new d.K(r.rotation).to({x:n.rotation.x,y:n.rotation.y,z:n.rotation.z},100).start(),new d.K(r.scale).to({x:1,y:1,z:1},100).start(),new d.K(r.position).to({x:n.position.x,y:n.position.y,z:n.position.z},100).onUpdate(ie).onStart((()=>{var e;"data-view.app-wall-card-item"===M&&r.element.classList.remove(`status-${o.status||"normal"}-card`),null===(e=ee.current)||void 0===e||e.forEach((e=>{e.element.style.opacity="1"})),te.current.forEach((e=>{X.current.remove(e)})),te.current=[],ie()})).onComplete((()=>{var t;ae.current.isShowRelations=!1,null==e||e(null===(t=ae.current)||void 0===t?void 0:t.element)})).start()},se=(e,t)=>{ae.current.enable=!1;for(let r=0;r<ee.current.length;r++){const n=ee.current[r],o=e[r];new d.K(n.position).to({x:o.position.x,y:o.position.y,z:o.position.z},l.cj9.randFloat(t,2*t)).easing(d.GS.Exponential.InOut).start(),new d.K(n.rotation).to({x:o.rotation.x,y:o.rotation.y,z:o.rotation.z},l.cj9.randFloat(t,2*t)).easing(d.GS.Exponential.InOut).start()}new d.K({}).to({},2*t).onUpdate(ie).start().onComplete((()=>{ae.current.enable=!0}))},ce=e=>{Q.current.reset();const t=ae.current.element.__objectCSS,r=ae.current.element.__curve;ae.current.enable=!1,ae.current.isShowAppInfo=!0;const n={x:r.position.x>0?2*-_.width:2*_.width,y:0,z:(U.current.position.z-500)/1.5},o={x:0,y:0,z:U.current.position.z-500},a={x:0,y:r.rotation.y>0?90*-Math.PI/180:90*Math.PI/180,z:0},i={x:0,y:r.rotation.y>0?180*-Math.PI/180:180*Math.PI/180,z:0},l=new d.K(t.position),s=new d.K(t.rotation),c=new d.K(t.position),u=new d.K(t.rotation);var p;e?(l.to(n,500).easing().onComplete((()=>{j.current.hidden=!0,ae.current.element.style.opacity="1"})),s.to(a,500).easing(),c.to({x:r.position.x,y:r.position.y,z:r.position.z},700).easing(),u.to({x:r.rotation.x,y:r.rotation.y,z:r.rotation.z},700).easing().onComplete((()=>{var e;null===(e=ee.current)||void 0===e||e.forEach((e=>{e.element.style.opacity="1"}))}))):(null===(p=ee.current)||void 0===p||p.forEach((e=>{t!=e&&(e.element.style.opacity="0.2")})),l.to(n,700).easing().onStart((()=>{q.current.hidden=!1,j.current.hidden=!0})),s.to(a,700).easing(),c.to(o,500).easing().onStart((function(){ae.current.element.style.opacity="0",j.current.style.transition="transition: all .3s ease",j.current.hidden=!1})),u.to(i,500).easing()),l.chain(c).start(),s.chain(u).start(),new d.K({}).to({},1400).onUpdate((()=>{if(ie(),Math.abs(t.rotation.y)>=Math.PI/2){const e=ae.current.element.getBoundingClientRect(),t=1.35,r=e.width*t,n=e.height*t;j.current.style.width=`${r}px`,j.current.style.height=`${n}px`,j.current.style.top=e.top-(t-1)*n/2+"px",j.current.style.left=e.left-(t-1)*r/2+"px"}})).start().onComplete((function(){ae.current.enable=!0,ae.current.isShowAppInfo=!e,q.current.hidden=e}))};return(0,o.useEffect)((()=>{let e;(()=>{var e;const t=null===(e=document.getElementById(F))||void 0===e?void 0:e.getBoundingClientRect(),r=(null==t?void 0:t.width)||window.innerWidth,n=(null==t?void 0:t.height)||window.innerHeight,o=r/n,a=new l.Z58,i=new l.ubm(S,o,.1,1e4),d=new s.a0;d.setSize(r,n),V.current.replaceChildren(d.domElement);const u=new c.V(i,d.domElement);u.rotateSpeed=.5,u.minDistance=500,u.maxDistance=1e4,u.noRotate=L,X.current=a,U.current=i,Q.current=u,Y.current=d})();const t=()=>{e=requestAnimationFrame(t),d.Ay.update(),Q.current.update()};t();const r=F?document.getElementById(F):document.body,n=new ResizeObserver((0,i.debounce)((()=>{const{width:e,height:t}=r.getBoundingClientRect();U.current.aspect=e/t,U.current.updateProjectionMatrix(),Y.current.setSize(e,t),ie()}),300));return Q.current.addEventListener("change",ie),n.observe(r),()=>{n.disconnect(),Q.current.removeEventListener("change",ie),Q.current.dispose(),d.Ay.removeAll(),U.current.clear(),X.current.clear(),cancelAnimationFrame(e)}}),[]),(0,o.useEffect)((()=>{var t;const r=(null===(t=e.dataSource)||void 0===t?void 0:t.length)||0;if(r>0){(e=>{oe.current=R(e,_,W,1/U.current.aspect)})(r),ne.current=f(U.current,oe.current.bounds,h?C:[],r),U.current.position.z=ne.current,U.current.updateProjectionMatrix(),Q.current.position0.copy(U.current.position);m(e.dataSource,oe.current.maxX,oe.current.maxY).forEach((e=>{var t,r,n,o,a,i,l;const c=document.createElement(M);c.status=e.status,c.cardTitle=null===(t=e.cardItemProps)||void 0===t?void 0:t.cardTitle,c.description=null===(r=e.cardItemProps)||void 0===r?void 0:r.description,c.background=null===(n=e.cardItemProps)||void 0===n?void 0:n.background,c.color=null===(o=e.cardItemProps)||void 0===o?void 0:o.color,c.titleStyle=null===(a=e.cardItemProps)||void 0===a?void 0:a.titleStyle,c.desStyle=null===(i=e.cardItemProps)||void 0===i?void 0:i.desStyle,c.descriptionList=null===(l=e.cardItemProps)||void 0===l?void 0:l.descriptionList;const d=`status-${(null==e?void 0:e.status)||"normal"}`;c.className=`card-item-container ${d}`,c.style.width=`${_.width}px`,c.style.height=`${_.height}px`,c.classList.add("card-item-wrap");const u=new s.on(c);u.position.set(4e3*Math.random()-2e3,4e3*Math.random()-2e3,4e3*Math.random()-2e3),X.current.add(u),ee.current.push(u);const p=x(e,_,oe.current.maxX,oe.current.maxY);J.current.table.push(p);const h=v(e,_,oe.current.maxX,oe.current.maxY,E,oe.current.radius);J.current.curve.push(h),u.userData=e,c.__objectCSS=u,c.__userData=e,c.__curve=h})),se(J.current.curve,1e3)}return()=>{Q.current.reset(),d.Ay.removeAll(),ee.current.map((e=>{X.current.remove(e)})),ee.current=[],J.current={table:[],curve:[]},ae.current={element:null,mouseoverTimer:null,mouseoutTimer:null,clickTimer:null,dblClickTimer:null,enable:!0,isShowAppInfo:!1,isShowGraph3D:!1,isShowRelations:!1}}}),[e.dataSource,h]),(0,o.useEffect)((()=>{if(K){const e=document.createElement("monitoring.sys-popover");G.current=e,document.querySelector("#main-mount-point").appendChild(e)}}),[K]),(0,o.useEffect)((()=>{const e=H.current,r=e=>{if(clearTimeout(ae.current.mouseoverTimer),ae.current.isShowAppInfo||ae.current.isShowGraph3D||!ae.current.enable)return!1;const r=y(e,M);if(K){var n,o;const e=(null===(n=G.current)||void 0===n?void 0:n.instanceId)!=(null==r||null===(o=r.__userData)||void 0===o||null===(o=o.data)||void 0===o?void 0:o.instanceId);r&&e||G.current.setVisible(!1)}ae.current.mouseoverTimer=window.setTimeout((()=>{le((()=>{r&&!ae.current.isShowAppInfo&&(e=>{const{__objectCSS:r,__userData:n}=e,o=r.rotation.y,a=r.element.getBoundingClientRect(),i={x:r.position.x+50*Math.sin(o),y:r.position.y+15,z:r.position.z+100*Math.cos(o)},l=a.width>=_.width?re.current:Math.min(_.width/a.width,_.height/a.height);ae.current.isShowRelations=!0,new d.K(r.rotation).onStart((()=>{"data-view.app-wall-card-item"===M&&r.element.classList.add(`status-${n.status||"normal"}-card`)})).start(),new d.K(r.scale).to({x:l,y:l,z:l},100).start(),new d.K(r.position).to(i,100).onUpdate(ie).onComplete((function(){if((e=>{var r;const n=w(e,t),o=e.userData;let a,i;null==n||n.forEach((t=>{t.source===o.key?(i=ee.current.find((e=>e.userData.key===t.target)),a=i&&u(e.position,i.position,"blue")):(i=ee.current.find((e=>e.userData.key===t.source)),a=i&&u(i.position,e.position,"purple")),a&&(te.current.push(a),X.current.add(a))})),null===(r=ee.current)||void 0===r||r.forEach((t=>{e!=t&&n.every((e=>e.source!=t.userData.key&&e.target!=t.userData.key))&&(t.element.style.opacity="0.2")}))})(r),ie(),ae.current.element=e,K){var n;const t=e.getBoundingClientRect(),r=t.left+t.width/2,o=t.top+t.height/2;G.current.instanceId=null==e||null===(n=e.__userData)||void 0===n||null===(n=n.data)||void 0===n?void 0:n.instanceId,G.current.setPosition({x:r,y:o}),G.current.setVisible(!0)}})).start()})(r),clearTimeout(ae.current.mouseoverTimer)}))}),300)},n=e=>{if(ae.current.isShowAppInfo||ae.current.isShowGraph3D||!ae.current.enable)return!1;const t=y(e,M);if(K){var r;const e=G.current.instanceId!=(null==t||null===(r=t.__userData)||void 0===r||null===(r=r.data)||void 0===r?void 0:r.instanceId);t&&e||G.current.setVisible(!1)}},o=e=>{if(clearTimeout(ae.current.clickTimer),clearTimeout(ae.current.mouseoverTimer),ae.current.isShowAppInfo||ae.current.isShowGraph3D||!ae.current.enable)return!1;const t=y(e,M);ae.current.clickTimer=window.setTimeout((function(){clearTimeout(ae.current.mouseoverTimer),le((()=>{t&&(clearTimeout(ae.current.clickTimer),clearTimeout(ae.current.mouseoverTimer),e.stopPropagation(),ae.current.element=t,A?null==D||D(t.__userData):($(t.__userData),ce(!1)))}))}),200)},a=e=>{if(clearTimeout(ae.current.clickTimer),clearTimeout(ae.current.mouseoverTimer),clearTimeout(ae.current.dblClickTimer),ae.current.isShowAppInfo||ae.current.isShowGraph3D||!ae.current.enable)return!1;const t=y(e,M),{__userData:r,__objectCSS:n}=t;ae.current.isShowGraph3D=!0,ae.current.dblClickTimer=window.setTimeout((function(){le((()=>{var e;if(p||(null===(e=r.trapezoidalProps)||void 0===e||null===(e=e.clusters)||void 0===e?void 0:e.length)<1)g(r),ae.current.isShowGraph3D=!1;else if(t){clearTimeout(ae.current.mouseoverTimer),clearTimeout(ae.current.clickTimer),V.current.classList.add("mask-container"),Q.current.reset();const e={opacity:0,scale:0,borderLeftWidth:0,borderRightWidth:0,borderTopWidth:0,borderBottomWidth:0},t={x:n.position.x,y:860+_.height*(oe.current.maxY-r.y)},o=new d.K(U.current.position),a=new d.K(e),i=new d.K({z:0}),l=new d.K(U.current.position),s=new d.K(Q.current.target),c=new d.K({blur:12,spread:0});se(J.current.table,600),o.to({x:0,y:-3600,z:1600},1e3).chain(c,a,i),a.to({opacity:1},700).onStart((()=>{var e,t,o,a,i;const l=b({objectData:{width:_.width,height:_.height,point:[n.position.x,n.position.y,n.position.z]},clusters:null===(e=r.trapezoidalProps)||void 0===e?void 0:e.clusters,columns:null===(t=r.trapezoidalProps)||void 0===t?void 0:t.columns,appName:null===(o=r.trapezoidalProps)||void 0===o?void 0:o.appName,leftBtnName:null===(a=r.trapezoidalProps)||void 0===a?void 0:a.leftBtnName,rightBtnName:null===(i=r.trapezoidalProps)||void 0===i?void 0:i.rightBtnName,rightOnClick:()=>k(r),leftOnClick:()=>z(r)});Z.current=l,X.current.add(l)})),i.to({z:P},1e3).delay(230).chain(l,s),l.to({x:t.x,y:-3600+t.y},1e3),s.to({x:t.x,y:t.y},1e3).onComplete((function(){O.current.style.visibility="visible"})),o.start()}}))}),200)};return e.addEventListener("dblclick",a),e.addEventListener("click",o),e.addEventListener("mouseover",r),e.addEventListener("mouseout",n),()=>{e.removeEventListener("mouseover",r),e.removeEventListener("mouseout",n),e.removeEventListener("click",o),e.removeEventListener("dblclick",a)}}),[A,D]),a().createElement("div",{className:"appwall-container",ref:H},a().createElement("div",{className:"appwall",ref:V}),a().createElement("div",{className:"mask",ref:q,onClick:()=>{ae.current.enable&&ce(!0)},hidden:!0},a().createElement(B,(0,n.A)({},null==N?void 0:N.systemCardProps,{onClick:e=>e.stopPropagation(),handleClick:()=>r(N),ref:j,className:T()({infoWrapper:"normal"===(null==N?void 0:N.status),warningWrapper:"warning"===(null==N?void 0:N.status)})}))),a().createElement("div",{className:"closeBtn",ref:O,onClick:()=>{(()=>{d.Ay.removeAll();const e=new d.K({z:0}),t=new d.K({opacity:1}),r=new d.K(U.current.position),n=new d.K(Q.current.target),o=new d.K({blur:1500,spread:100});e.to({z:P},1e3).chain(r,n,o),t.to({opacity:0},1e3).onStart((()=>{X.current.remove(Z.current),O.current.style.visibility="hidden"})).delay(300),r.to(Q.current.position0,1e3).onComplete((function(){Q.current.reset(),V.current.classList.remove("mask-container"),se(J.current.curve,600),ae.current.isShowGraph3D=!1})),n.to({x:0,y:0,z:0},1e3),o.to({blur:0,spread:0},1e3),e.start(),t.start()})()}}))}},79935:(e,t,r)=>{r.d(t,{A:()=>l});var n=r(36758),o=r.n(n),a=r(40935),i=r.n(a)()(o());i.push([e.id,":host{--palette-rgba-white-1:rgba(255,255,255,10%);--palette-rgba-white-2:rgba(255,255,255,20%);--palette-rgba-white-3:rgba(255,255,255,30%);--palette-rgba-white-4:rgba(255,255,255,40%);--palette-rgba-white-5:rgba(255,255,255,50%);--palette-rgba-white-6:rgba(255,255,255,60%);--palette-rgba-white-7:rgba(255,255,255,70%);--palette-rgba-white-8:rgba(255,255,255,80%);--palette-rgba-white-9:rgba(255,255,255,90%);--palette-rgba-white-10:rgba(255,255,255,100%);--palette-rgba-gray-1:rgba(0,0,0,10%);--palette-rgba-gray-2:rgba(0,0,0,20%);--palette-rgba-gray-3:rgba(0,0,0,30%);--palette-rgba-gray-4:rgba(0,0,0,40%);--palette-rgba-gray-5:rgba(0,0,0,50%);--palette-rgba-gray-6:rgba(0,0,0,60%);--palette-rgba-gray-7:rgba(0,0,0,70%);--palette-rgba-gray-8:rgba(0,0,0,80%);--palette-rgba-gray-9:rgba(0,0,0,90%);--palette-rgba-gray-10:rgba(0,0,0,100%);--palette-rgba-blue-gray-2:rgba(101,106,134,20%);--palette-rgba-blue-gray-3:rgba(101,106,134,30%);--palette-rgba-blue-gray-8:rgba(101,106,134,80%);--palette-tech-blue-4-channel:67,127,255;--palette-tech-blue-4:rgb(var(--palette-tech-blue-4-channel));--palette-tech-blue-6-channel:51,102,255;--palette-tech-blue-6:rgb(var(--palette-tech-blue-6-channel));--palette-tech-blue-8-channel:40,69,159;--palette-tech-blue-8:rgb(var(--palette-tech-blue-8-channel));--palette-sea-green-4-channel:131,245,225;--palette-sea-green-4:rgb(var(--palette-sea-green-4-channel));--palette-green-6-channel:81,235,73;--palette-green-6:rgb(var(--palette-green-6-channel));--palette-green-2:rgba(var(--palette-green-6-channel),20%);--palette-lotus-pink-7-channel:204,0,102;--palette-lotus-pink-7:rgb(var(--palette-lotus-pink-7-channel));--palette-red-6-channel:242,39,39;--palette-red-6:rgb(var(--palette-red-6-channel));--palette-red-2:rgba(var(--palette-red-6-channel),20%);--color-fill-global-bg:#0f1014;--color-fill-bg-container-1:var(--palette-rgba-white-1);--color-fill-bg-container-2:var(--palette-rgba-blue-gray-2);--color-fill-bg-container-3:var(--palette-rgba-blue-gray-8);--color-fill-bg-base-1:var(--palette-rgba-blue-gray-2);--color-fill-bg-base-2:rgba(15,16,20,0%);--color-fill-bg-base-3:rgba(0,0,0,20%);--color-fill-bg-base-4:rgba(40,46,58,100%);--color-fill-bg-base-5:rgba(19,25,47,80%);--color-fill-bg-base-6:var(--palette-rgba-blue-gray-3);--color-brand:var(--palette-tech-blue-6);--color-brand-hover:var(--palette-tech-blue-4);--color-brand-active:var(--palette-tech-blue-8);--color-contrast-1:var(--palette-sea-green-4);--color-error:var(--palette-red-6);--color-error-bg:var(--palette-red-2);--color-success:var(--palette-green-6);--color-success-bg:var(--palette-green-2);--color-header-text-big:var(--palette-rgba-white-10);--color-header-text:var(--palette-rgba-white-10);--color-normal-text:var(--palette-rgba-white-10);--color-strong-text:var(--palette-rgba-white-9);--color-auxiliary-text:var(--palette-rgba-white-8);--color-secondary-text:var(--palette-rgba-white-6);--color-disabled-text:var(--palette-rgba-white-4);--color-border-divider-line:var(--palette-rgba-white-1);--color-text-divider-line-1:var(--palette-rgba-white-2);--color-text-divider-line-2:var(--palette-rgba-white-2);--small-border-radius:2px;--medius-border-radius:5px;--larger-border-radius:12px;--container-border-radius:9999px;--no-border-radius:0px;--mask-bg:var(--palette-rgba-gray-7);--title-font-size-larger:30px;--title-font-size-strong:22px;--title-font-size:18px;--normal-font-size:14px;--auxiliary-font-size:16px;--auxiliary-font-size-small:12px;--overview-data-font-size:34px;--statistics-data-font-size:28px;--normal-data-font-size-larger:20px;--normal-data-font-size:16px;--chart-legend-font-size:12px;--chart-tooltips-font-size-1:12px;--chart-tooltips-font-size-2:12px;--chart-axis-x-font-size:12px;--chart-axis-x-font-size-larger:14px;--chart-axis-y-font-size:12px;--chart-axis-y-font-size-larger:14px;--font-weight-600:600;--font-weight-500:500;--font-weight-400:400;--text-shadow:0px 1px 4px #2863ee;--border-width-base:1px;--border-width-double-base:2px;--border-width-tribble-base:3px;--punctate-width-base:1px;--paragraph-width-base:1px;--button-text-color:#40d0db}",""]);const l=i.toString()}}]);
|
|
2
|
+
//# sourceMappingURL=1493.d9a3fd09.js.map
|