@elastic/charts 64.1.0 → 65.1.0
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/README.md +4 -4
- package/dist/chart_types/heatmap/state/selectors/compute_legend.js +2 -0
- package/dist/chart_types/heatmap/state/selectors/compute_legend.js.map +1 -1
- package/dist/chart_types/heatmap/state/selectors/get_legend_items_labels.js +5 -5
- package/dist/chart_types/heatmap/state/selectors/get_legend_items_labels.js.map +1 -1
- package/dist/chart_types/metric/renderer/dom/sparkline.js +21 -4
- package/dist/chart_types/metric/renderer/dom/sparkline.js.map +1 -1
- package/dist/chart_types/metric/renderer/dom/text.js +22 -8
- package/dist/chart_types/metric/renderer/dom/text.js.map +1 -1
- package/dist/chart_types/metric/specs/index.d.ts +19 -3
- package/dist/chart_types/metric/specs/index.d.ts.map +1 -1
- package/dist/chart_types/metric/specs/index.js +15 -4
- package/dist/chart_types/metric/specs/index.js.map +1 -1
- package/dist/chart_types/partition_chart/layout/viewmodel/hierarchy_of_arrays.js +3 -2
- package/dist/chart_types/partition_chart/layout/viewmodel/hierarchy_of_arrays.js.map +1 -1
- package/dist/chart_types/partition_chart/state/chart_state.js +3 -3
- package/dist/chart_types/partition_chart/state/chart_state.js.map +1 -1
- package/dist/chart_types/partition_chart/state/selectors/compute_legend.js +10 -7
- package/dist/chart_types/partition_chart/state/selectors/compute_legend.js.map +1 -1
- package/dist/chart_types/partition_chart/state/selectors/get_legend_items_labels.js +2 -2
- package/dist/chart_types/partition_chart/state/selectors/get_legend_items_labels.js.map +1 -1
- package/dist/chart_types/specs.d.ts +1 -1
- package/dist/chart_types/specs.d.ts.map +1 -1
- package/dist/chart_types/specs.js.map +1 -1
- package/dist/chart_types/timeslip/timeslip/config.js +1 -0
- package/dist/chart_types/timeslip/timeslip/config.js.map +1 -1
- package/dist/chart_types/xy_chart/axes/timeslip/chrono/chrono_luxon/chrono_luxon.js.map +1 -1
- package/dist/chart_types/xy_chart/axes/timeslip/continuous_time_rasters.js +2 -2
- package/dist/chart_types/xy_chart/axes/timeslip/continuous_time_rasters.js.map +1 -1
- package/dist/chart_types/xy_chart/axes/timeslip/multilayer_ticks.js +2 -2
- package/dist/chart_types/xy_chart/axes/timeslip/multilayer_ticks.js.map +1 -1
- package/dist/chart_types/xy_chart/legend/legend.js +23 -30
- package/dist/chart_types/xy_chart/legend/legend.js.map +1 -1
- package/dist/chart_types/xy_chart/renderer/dom/highlighter.js +10 -2
- package/dist/chart_types/xy_chart/renderer/dom/highlighter.js.map +1 -1
- package/dist/chart_types/xy_chart/rendering/bars.js +26 -20
- package/dist/chart_types/xy_chart/rendering/bars.js.map +1 -1
- package/dist/chart_types/xy_chart/rendering/points.js +6 -6
- package/dist/chart_types/xy_chart/rendering/points.js.map +1 -1
- package/dist/chart_types/xy_chart/rendering/utils.js +5 -10
- package/dist/chart_types/xy_chart/rendering/utils.js.map +1 -1
- package/dist/chart_types/xy_chart/state/selectors/get_legend_items_labels.js +1 -11
- package/dist/chart_types/xy_chart/state/selectors/get_legend_items_labels.js.map +1 -1
- package/dist/chart_types/xy_chart/state/selectors/get_tooltip_values_highlighted_geoms.js +5 -1
- package/dist/chart_types/xy_chart/state/selectors/get_tooltip_values_highlighted_geoms.js.map +1 -1
- package/dist/chart_types/xy_chart/state/selectors/visible_ticks.js +2 -2
- package/dist/chart_types/xy_chart/state/selectors/visible_ticks.js.map +1 -1
- package/dist/chart_types/xy_chart/state/utils/get_legend_values.d.ts +2 -0
- package/dist/chart_types/xy_chart/state/utils/get_legend_values.d.ts.map +1 -0
- package/dist/chart_types/xy_chart/state/utils/get_legend_values.js +63 -0
- package/dist/chart_types/xy_chart/state/utils/get_legend_values.js.map +1 -0
- package/dist/chart_types/xy_chart/state/utils/utils.js +1 -1
- package/dist/chart_types/xy_chart/state/utils/utils.js.map +1 -1
- package/dist/chart_types/xy_chart/tooltip/tooltip.js +4 -3
- package/dist/chart_types/xy_chart/tooltip/tooltip.js.map +1 -1
- package/dist/chart_types/xy_chart/utils/specs.d.ts +3 -3
- package/dist/common/aggregations.d.ts +2 -0
- package/dist/common/aggregations.d.ts.map +1 -0
- package/dist/common/aggregations.js +151 -0
- package/dist/common/aggregations.js.map +1 -0
- package/dist/common/constants.d.ts +6 -6
- package/dist/common/constants.d.ts.map +1 -1
- package/dist/common/constants.js.map +1 -1
- package/dist/common/legend.d.ts +51 -1
- package/dist/common/legend.d.ts.map +1 -1
- package/dist/common/legend.js +45 -0
- package/dist/common/legend.js.map +1 -1
- package/dist/components/chart.d.ts +1 -1
- package/dist/components/legend/label.js +48 -12
- package/dist/components/legend/label.js.map +1 -1
- package/dist/components/legend/legend.js +54 -13
- package/dist/components/legend/legend.js.map +1 -1
- package/dist/components/legend/legend_color_picker.d.ts +2 -0
- package/dist/components/legend/legend_color_picker.d.ts.map +1 -0
- package/dist/components/legend/legend_color_picker.js +42 -0
- package/dist/components/legend/legend_color_picker.js.map +1 -0
- package/dist/components/legend/legend_item.js +49 -100
- package/dist/components/legend/legend_item.js.map +1 -1
- package/dist/components/legend/legend_table/index.d.ts +2 -0
- package/dist/components/legend/legend_table/index.d.ts.map +1 -0
- package/dist/components/legend/legend_table/index.js +6 -0
- package/dist/components/legend/legend_table/index.js.map +1 -0
- package/dist/components/legend/legend_table/legend_table.d.ts +2 -0
- package/dist/components/legend/legend_table/legend_table.d.ts.map +1 -0
- package/dist/components/legend/legend_table/legend_table.js +31 -0
- package/dist/components/legend/legend_table/legend_table.js.map +1 -0
- package/dist/components/legend/legend_table/legend_table_body.d.ts +2 -0
- package/dist/components/legend/legend_table/legend_table_body.d.ts.map +1 -0
- package/dist/components/legend/legend_table/legend_table_body.js +13 -0
- package/dist/components/legend/legend_table/legend_table_body.js.map +1 -0
- package/dist/components/legend/legend_table/legend_table_cell.d.ts +9 -0
- package/dist/components/legend/legend_table/legend_table_cell.d.ts.map +1 -0
- package/dist/components/legend/legend_table/legend_table_cell.js +16 -0
- package/dist/components/legend/legend_table/legend_table_cell.js.map +1 -0
- package/dist/components/legend/legend_table/legend_table_header.d.ts +2 -0
- package/dist/components/legend/legend_table/legend_table_header.d.ts.map +1 -0
- package/dist/components/legend/legend_table/legend_table_header.js +24 -0
- package/dist/components/legend/legend_table/legend_table_header.js.map +1 -0
- package/dist/components/legend/legend_table/legend_table_item.d.ts +2 -0
- package/dist/components/legend/legend_table/legend_table_item.d.ts.map +1 -0
- package/dist/components/legend/legend_table/legend_table_item.js +75 -0
- package/dist/components/legend/legend_table/legend_table_item.js.map +1 -0
- package/dist/components/legend/legend_table/legend_table_row.d.ts +7 -0
- package/dist/components/legend/legend_table/legend_table_row.d.ts.map +1 -0
- package/dist/components/legend/legend_table/legend_table_row.js +14 -0
- package/dist/components/legend/legend_table/legend_table_row.js.map +1 -0
- package/dist/components/legend/legend_table/legend_value.d.ts +2 -0
- package/dist/components/legend/legend_table/legend_value.d.ts.map +1 -0
- package/dist/components/legend/{extra.js → legend_table/legend_value.js} +7 -6
- package/dist/components/legend/legend_table/legend_value.js.map +1 -0
- package/dist/components/legend/types.d.ts +2 -0
- package/dist/components/legend/types.d.ts.map +1 -0
- package/dist/components/legend/types.js +3 -0
- package/dist/components/legend/types.js.map +1 -0
- package/dist/components/legend/utils.js +6 -6
- package/dist/components/legend/utils.js.map +1 -1
- package/dist/components/portal/types.d.ts +0 -1
- package/dist/components/portal/types.d.ts.map +1 -1
- package/dist/components/tooltip/components/tooltip_container.d.ts +2 -2
- package/dist/components/tooltip/components/tooltip_container.d.ts.map +1 -1
- package/dist/components/tooltip/components/tooltip_divider.d.ts +2 -2
- package/dist/components/tooltip/components/tooltip_divider.d.ts.map +1 -1
- package/dist/components/tooltip/components/tooltip_footer.d.ts +2 -2
- package/dist/components/tooltip/components/tooltip_footer.d.ts.map +1 -1
- package/dist/components/tooltip/components/tooltip_header.d.ts +2 -2
- package/dist/components/tooltip/components/tooltip_header.d.ts.map +1 -1
- package/dist/components/tooltip/components/tooltip_metric_row.d.ts +1 -1
- package/dist/components/tooltip/components/tooltip_metric_row.d.ts.map +1 -1
- package/dist/components/tooltip/components/tooltip_table.d.ts +2 -2
- package/dist/components/tooltip/components/tooltip_table.d.ts.map +1 -1
- package/dist/components/tooltip/components/tooltip_table_body.d.ts +2 -2
- package/dist/components/tooltip/components/tooltip_table_body.d.ts.map +1 -1
- package/dist/components/tooltip/components/tooltip_table_cell.d.ts +2 -2
- package/dist/components/tooltip/components/tooltip_table_cell.d.ts.map +1 -1
- package/dist/components/tooltip/components/tooltip_table_footer.d.ts +2 -2
- package/dist/components/tooltip/components/tooltip_table_footer.d.ts.map +1 -1
- package/dist/components/tooltip/components/tooltip_table_header.d.ts +2 -2
- package/dist/components/tooltip/components/tooltip_table_header.d.ts.map +1 -1
- package/dist/components/tooltip/components/tooltip_table_row.d.ts +2 -2
- package/dist/components/tooltip/components/tooltip_table_row.d.ts.map +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +3 -1
- package/dist/index.js.map +1 -1
- package/dist/specs/constants.d.ts +1 -1
- package/dist/specs/constants.d.ts.map +1 -1
- package/dist/specs/constants.js +2 -1
- package/dist/specs/constants.js.map +1 -1
- package/dist/specs/settings.d.ts +20 -10
- package/dist/specs/settings.d.ts.map +1 -1
- package/dist/specs/settings.js.map +1 -1
- package/dist/state/actions/legend.js +2 -2
- package/dist/state/actions/legend.js.map +1 -1
- package/dist/state/reducers/interactions.js +14 -11
- package/dist/state/reducers/interactions.js.map +1 -1
- package/dist/state/selectors/get_legend_config_selector.js +3 -2
- package/dist/state/selectors/get_legend_config_selector.js.map +1 -1
- package/dist/state/selectors/get_legend_size.js +26 -18
- package/dist/state/selectors/get_legend_size.js.map +1 -1
- package/dist/state/selectors/get_legend_table_size.d.ts +2 -0
- package/dist/state/selectors/get_legend_table_size.d.ts.map +1 -0
- package/dist/state/selectors/get_legend_table_size.js +79 -0
- package/dist/state/selectors/get_legend_table_size.js.map +1 -0
- package/dist/state/selectors/get_settings_spec.js +12 -6
- package/dist/state/selectors/get_settings_spec.js.map +1 -1
- package/dist/theme.scss +304 -10
- package/dist/theme_dark.css +1 -1
- package/dist/theme_dark.css.map +1 -1
- package/dist/theme_light.css +1 -1
- package/dist/theme_light.css.map +1 -1
- package/dist/theme_only_dark.css +1 -1
- package/dist/theme_only_dark.css.map +1 -1
- package/dist/theme_only_light.css +1 -1
- package/dist/theme_only_light.css.map +1 -1
- package/dist/utils/common.d.ts +1 -1
- package/dist/utils/common.d.ts.map +1 -1
- package/dist/utils/common.js +22 -3
- package/dist/utils/common.js.map +1 -1
- package/package.json +5 -1
- package/dist/chart_types/partition_chart/state/selectors/get_legend_items_extra.d.ts +0 -2
- package/dist/chart_types/partition_chart/state/selectors/get_legend_items_extra.d.ts.map +0 -1
- package/dist/chart_types/partition_chart/state/selectors/get_legend_items_extra.js +0 -21
- package/dist/chart_types/partition_chart/state/selectors/get_legend_items_extra.js.map +0 -1
- package/dist/chart_types/xy_chart/state/utils/get_last_value.d.ts +0 -2
- package/dist/chart_types/xy_chart/state/utils/get_last_value.d.ts.map +0 -1
- package/dist/chart_types/xy_chart/state/utils/get_last_value.js +0 -32
- package/dist/chart_types/xy_chart/state/utils/get_last_value.js.map +0 -1
- package/dist/components/legend/extra.d.ts +0 -2
- package/dist/components/legend/extra.d.ts.map +0 -1
- package/dist/components/legend/extra.js.map +0 -1
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.getLegendTableSize = void 0;
|
|
4
|
+
const default_theme_attributes_1 = require("../../common/default_theme_attributes");
|
|
5
|
+
const legend_1 = require("../../common/legend");
|
|
6
|
+
const legend_table_1 = require("../../components/legend/legend_table/legend_table");
|
|
7
|
+
const common_1 = require("../../utils/common");
|
|
8
|
+
const MONO_LETTER_WIDTH = 7.8;
|
|
9
|
+
const MONO_SEPARATOR_WIDTH = 4.5;
|
|
10
|
+
const SCROLL_BAR_WIDTH = 16;
|
|
11
|
+
const VERTICAL_PADDING = 4;
|
|
12
|
+
const TOP_MARGIN = 2;
|
|
13
|
+
const GRID_CELL_PADDING = { height: 4, width: 8 };
|
|
14
|
+
const GRID_MARGIN = 8;
|
|
15
|
+
const HORIZONTAL_VISIBLE_LINES_NUMBER = 4;
|
|
16
|
+
const GRID_CELL_BORDER_WIDTH = 1;
|
|
17
|
+
const fontArgs = [
|
|
18
|
+
{
|
|
19
|
+
fontFamily: default_theme_attributes_1.DEFAULT_FONT_FAMILY,
|
|
20
|
+
fontWeight: 400,
|
|
21
|
+
fontVariant: 'normal',
|
|
22
|
+
fontStyle: 'normal',
|
|
23
|
+
textColor: 'black',
|
|
24
|
+
},
|
|
25
|
+
12,
|
|
26
|
+
1.34,
|
|
27
|
+
];
|
|
28
|
+
const headerFontArgs = [
|
|
29
|
+
{
|
|
30
|
+
...fontArgs[0],
|
|
31
|
+
fontWeight: 600,
|
|
32
|
+
},
|
|
33
|
+
fontArgs[1],
|
|
34
|
+
fontArgs[2],
|
|
35
|
+
];
|
|
36
|
+
const calcApprValuesWidth = ({ label }) => label.includes('.')
|
|
37
|
+
? (label.length - 1) * MONO_LETTER_WIDTH + MONO_SEPARATOR_WIDTH
|
|
38
|
+
: label.length * MONO_LETTER_WIDTH;
|
|
39
|
+
function getLegendTableSize(config, theme, parentDimensions, items, textMeasure) {
|
|
40
|
+
const { legend: { verticalWidth, spacingBuffer, margin }, } = theme;
|
|
41
|
+
const { legendSize, legendValues, legendPosition, legendAction } = config;
|
|
42
|
+
const { width: titleWidth, height } = textMeasure(config.legendTitle || '', ...headerFontArgs);
|
|
43
|
+
const valuesTitlesWidth = legendValues.map((v) => textMeasure(legend_1.legendValueTitlesMap[v], ...fontArgs).width);
|
|
44
|
+
const widestLabelWidth = items.reduce((acc, { label }) => Math.max(acc, textMeasure(label, ...fontArgs).width), Math.max(titleWidth, legend_table_1.MIN_LABEL_WIDTH));
|
|
45
|
+
const widestValuesWidths = items.reduce((acc, { values }) => {
|
|
46
|
+
const valuesWidths = values.map(calcApprValuesWidth);
|
|
47
|
+
return acc.map((w, i) => Math.ceil(Math.max(w, valuesWidths[i] || 0)));
|
|
48
|
+
}, valuesTitlesWidth);
|
|
49
|
+
const seriesWidth = Math.ceil(widestLabelWidth + GRID_CELL_PADDING.width * 2);
|
|
50
|
+
const legendItemWidth = seriesWidth + widestValuesWidths.reduce((acc, w) => acc + w + GRID_CELL_PADDING.width * 2, 0) + 1;
|
|
51
|
+
const actionWidth = (0, common_1.isDefined)(legendAction) ? legend_table_1.GRID_ACTION_WIDTH : 0;
|
|
52
|
+
if (legendPosition.direction === common_1.LayoutDirection.Vertical) {
|
|
53
|
+
const maxAvailableWidth = parentDimensions.width * 0.5;
|
|
54
|
+
const legendItemHeight = height + VERTICAL_PADDING * 2;
|
|
55
|
+
const legendHeight = legendItemHeight * items.length + TOP_MARGIN;
|
|
56
|
+
const scrollBarDimension = legendHeight > parentDimensions.height ? SCROLL_BAR_WIDTH : 0;
|
|
57
|
+
const staticWidth = legend_table_1.GRID_COLOR_WIDTH + GRID_MARGIN * 2 + actionWidth + scrollBarDimension;
|
|
58
|
+
const width = Number.isFinite(legendSize)
|
|
59
|
+
? Math.min(Math.max(legendSize, legendItemWidth * 0.3 + staticWidth), maxAvailableWidth)
|
|
60
|
+
: Math.ceil(Math.min(legendItemWidth + staticWidth, maxAvailableWidth));
|
|
61
|
+
return {
|
|
62
|
+
height: legendHeight,
|
|
63
|
+
width,
|
|
64
|
+
margin,
|
|
65
|
+
position: legendPosition,
|
|
66
|
+
seriesWidth: Math.min(seriesWidth, (Number.isFinite(legendSize) ? legendSize : maxAvailableWidth) / 2),
|
|
67
|
+
};
|
|
68
|
+
}
|
|
69
|
+
const visibleLinesNumber = Math.min(items.length + 1, HORIZONTAL_VISIBLE_LINES_NUMBER);
|
|
70
|
+
const singleLineHeight = height + GRID_CELL_PADDING.height * 2 + GRID_CELL_BORDER_WIDTH;
|
|
71
|
+
return {
|
|
72
|
+
height: singleLineHeight * visibleLinesNumber + GRID_MARGIN,
|
|
73
|
+
width: Math.floor(Math.min(legendItemWidth + spacingBuffer + actionWidth, verticalWidth)),
|
|
74
|
+
margin,
|
|
75
|
+
position: legendPosition,
|
|
76
|
+
};
|
|
77
|
+
}
|
|
78
|
+
exports.getLegendTableSize = getLegendTableSize;
|
|
79
|
+
//# sourceMappingURL=get_legend_table_size.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get_legend_table_size.js","sourceRoot":"","sources":["../../../src/state/selectors/get_legend_table_size.ts"],"names":[],"mappings":"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"}
|
|
@@ -5,6 +5,7 @@ const get_specs_1 = require("./get_specs");
|
|
|
5
5
|
const chart_types_1 = require("../../chart_types");
|
|
6
6
|
const constants_1 = require("../../specs/constants");
|
|
7
7
|
const debounce_1 = require("../../utils/debounce");
|
|
8
|
+
const logger_1 = require("../../utils/logger");
|
|
8
9
|
const create_selector_1 = require("../create_selector");
|
|
9
10
|
const utils_1 = require("../utils");
|
|
10
11
|
const DEFAULT_POINTER_UPDATE_DEBOUNCE = 16;
|
|
@@ -12,13 +13,18 @@ exports.getSettingsSpecSelector = (0, create_selector_1.createCustomCachedSelect
|
|
|
12
13
|
function getSettingsSpec(specs) {
|
|
13
14
|
const settingsSpecs = (0, utils_1.getSpecsFromStore)(specs, chart_types_1.ChartType.Global, constants_1.SpecType.Settings);
|
|
14
15
|
const spec = settingsSpecs[0];
|
|
15
|
-
return spec ?
|
|
16
|
+
return spec ? validateSpec(spec) : constants_1.DEFAULT_SETTINGS_SPEC;
|
|
16
17
|
}
|
|
17
|
-
function
|
|
18
|
+
function validateSpec(spec) {
|
|
18
19
|
var _a;
|
|
19
|
-
const delay = (_a =
|
|
20
|
-
if (
|
|
21
|
-
|
|
22
|
-
|
|
20
|
+
const delay = (_a = spec.pointerUpdateDebounce) !== null && _a !== void 0 ? _a : DEFAULT_POINTER_UPDATE_DEBOUNCE;
|
|
21
|
+
if (spec.onPointerUpdate) {
|
|
22
|
+
spec.onPointerUpdate = (0, debounce_1.debounce)(spec.onPointerUpdate, delay);
|
|
23
|
+
}
|
|
24
|
+
if (spec.dow < 1 || spec.dow > 7 || !Number.isInteger(spec.dow)) {
|
|
25
|
+
logger_1.Logger.warn(`Settings.dow option must be an integer from 1 to 7, received ${spec.dow}. Using default of 1.`);
|
|
26
|
+
spec.dow = constants_1.settingsBuildProps.defaults.dow;
|
|
27
|
+
}
|
|
28
|
+
return spec;
|
|
23
29
|
}
|
|
24
30
|
//# sourceMappingURL=get_settings_spec.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get_settings_spec.js","sourceRoot":"","sources":["../../../src/state/selectors/get_settings_spec.ts"],"names":[],"mappings":";;;AAQA,2CAAuC;AACvC,mDAA8C;AAC9C,
|
|
1
|
+
{"version":3,"file":"get_settings_spec.js","sourceRoot":"","sources":["../../../src/state/selectors/get_settings_spec.ts"],"names":[],"mappings":";;;AAQA,2CAAuC;AACvC,mDAA8C;AAC9C,qDAA4F;AAE5F,mDAAgD;AAChD,+CAA4C;AAE5C,wDAAgE;AAChE,oCAA6C;AAE7C,MAAM,+BAA+B,GAAG,EAAE,CAAC;AAK9B,QAAA,uBAAuB,GAAG,IAAA,4CAA0B,EAAC,CAAC,oBAAQ,CAAC,EAAE,eAAe,CAAC,CAAC;AAE/F,SAAS,eAAe,CAAC,KAAe;IACtC,MAAM,aAAa,GAAG,IAAA,yBAAiB,EAAe,KAAK,EAAE,uBAAS,CAAC,MAAM,EAAE,oBAAQ,CAAC,QAAQ,CAAC,CAAC;IAClG,MAAM,IAAI,GAAG,aAAa,CAAC,CAAC,CAAC,CAAC;IAC9B,OAAO,IAAI,CAAC,CAAC,CAAC,YAAY,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,iCAAqB,CAAC;AAC3D,CAAC;AAED,SAAS,YAAY,CAAC,IAAkB;;IACtC,MAAM,KAAK,GAAG,MAAA,IAAI,CAAC,qBAAqB,mCAAI,+BAA+B,CAAC;IAE5E,IAAI,IAAI,CAAC,eAAe,EAAE,CAAC;QACzB,IAAI,CAAC,eAAe,GAAG,IAAA,mBAAQ,EAAC,IAAI,CAAC,eAAe,EAAE,KAAK,CAAC,CAAC;IAC/D,CAAC;IAED,IAAI,IAAI,CAAC,GAAG,GAAG,CAAC,IAAI,IAAI,CAAC,GAAG,GAAG,CAAC,IAAI,CAAC,MAAM,CAAC,SAAS,CAAC,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC;QAChE,eAAM,CAAC,IAAI,CAAC,gEAAgE,IAAI,CAAC,GAAG,uBAAuB,CAAC,CAAC;QAE7G,IAAI,CAAC,GAAG,GAAG,8BAAkB,CAAC,QAAQ,CAAC,GAAG,CAAC;IAC7C,CAAC;IAED,OAAO,IAAI,CAAC;AACd,CAAC"}
|
package/dist/theme.scss
CHANGED
|
@@ -13,6 +13,7 @@
|
|
|
13
13
|
bottom: 0;
|
|
14
14
|
left: 0;
|
|
15
15
|
right: 0;
|
|
16
|
+
z-index: 0;
|
|
16
17
|
}
|
|
17
18
|
|
|
18
19
|
.echChart {
|
|
@@ -482,6 +483,289 @@ $tooltipPromptAnimTime: 0.25s;
|
|
|
482
483
|
}
|
|
483
484
|
|
|
484
485
|
|
|
486
|
+
$echLegendColumnGap: 24px;
|
|
487
|
+
$echLegendRowHeight: 16px;
|
|
488
|
+
|
|
489
|
+
$tableRowHoverColor: $euiColorLightestShade;
|
|
490
|
+
$legendBorderColor: $euiColorLightestShade;
|
|
491
|
+
|
|
492
|
+
$echLegendRowGap: 8px;
|
|
493
|
+
$legendItemVerticalPadding: $echLegendRowGap / 2;
|
|
494
|
+
$echLegendTableCellPadding: 8px 4px;
|
|
495
|
+
|
|
496
|
+
$echLegendTablePadding: 8px;
|
|
497
|
+
$echLegendHorizontalTablePadding: 4px 8px 4px 16px;
|
|
498
|
+
$legendBorderWidth: 1px;
|
|
499
|
+
$tableBorder: solid $legendBorderWidth $legendBorderColor;
|
|
500
|
+
$tableOutsideBorder: solid $legendBorderWidth $euiColorLightShade;
|
|
501
|
+
|
|
502
|
+
@mixin wrapText {
|
|
503
|
+
overflow-wrap: break-word;
|
|
504
|
+
word-wrap: break-word;
|
|
505
|
+
word-break: break-all;
|
|
506
|
+
word-break: break-word;
|
|
507
|
+
hyphens: auto;
|
|
508
|
+
overflow: hidden;
|
|
509
|
+
min-width: 1px;
|
|
510
|
+
}
|
|
511
|
+
|
|
512
|
+
@mixin lineClamp($maxLines) {
|
|
513
|
+
text-overflow: ellipsis;
|
|
514
|
+
display: -webkit-box;
|
|
515
|
+
-webkit-line-clamp: $maxLines; /* number of lines to show */
|
|
516
|
+
line-clamp: $maxLines;
|
|
517
|
+
-webkit-box-orient: vertical;
|
|
518
|
+
overflow: hidden;
|
|
519
|
+
}
|
|
520
|
+
|
|
521
|
+
|
|
522
|
+
.echLegendTable__container {
|
|
523
|
+
@include euiYScrollWithShadows;
|
|
524
|
+
width: 100%;
|
|
525
|
+
overflow-y: auto;
|
|
526
|
+
overflow-x: hidden;
|
|
527
|
+
|
|
528
|
+
:focus {
|
|
529
|
+
@include euiFocusRing(null, 1);
|
|
530
|
+
background-color: $euiFocusBackgroundColor;
|
|
531
|
+
border-radius: $euiBorderRadius / 2;
|
|
532
|
+
}
|
|
533
|
+
}
|
|
534
|
+
|
|
535
|
+
.echLegendTable {
|
|
536
|
+
overflow: auto;
|
|
537
|
+
display: grid;
|
|
538
|
+
width: 100%;
|
|
539
|
+
position: relative;
|
|
540
|
+
|
|
541
|
+
&__header,
|
|
542
|
+
&__rowgroup,
|
|
543
|
+
&__row {
|
|
544
|
+
// This ignores all above elements for positioning
|
|
545
|
+
// effectively spreading all children in its place
|
|
546
|
+
display: contents;
|
|
547
|
+
}
|
|
548
|
+
|
|
549
|
+
.echColorPickerPopover {
|
|
550
|
+
display: flex;
|
|
551
|
+
align-items: center;
|
|
552
|
+
}
|
|
553
|
+
}
|
|
554
|
+
|
|
555
|
+
.echLegend {
|
|
556
|
+
&--vertical {
|
|
557
|
+
.echLegendTable__container {
|
|
558
|
+
padding: $echLegendTablePadding;
|
|
559
|
+
}
|
|
560
|
+
}
|
|
561
|
+
|
|
562
|
+
&--horizontal {
|
|
563
|
+
.echLegendTable {
|
|
564
|
+
padding: $echLegendHorizontalTablePadding;
|
|
565
|
+
}
|
|
566
|
+
}
|
|
567
|
+
}
|
|
568
|
+
|
|
569
|
+
$echLegendColumnGap: 24px;
|
|
570
|
+
$echLegendRowHeight: 16px;
|
|
571
|
+
|
|
572
|
+
$tableRowHoverColor: $euiColorLightestShade;
|
|
573
|
+
$legendBorderColor: $euiColorLightestShade;
|
|
574
|
+
|
|
575
|
+
$echLegendRowGap: 8px;
|
|
576
|
+
$legendItemVerticalPadding: $echLegendRowGap / 2;
|
|
577
|
+
$echLegendTableCellPadding: 8px 4px;
|
|
578
|
+
|
|
579
|
+
$echLegendTablePadding: 8px;
|
|
580
|
+
$echLegendHorizontalTablePadding: 4px 8px 4px 16px;
|
|
581
|
+
$legendBorderWidth: 1px;
|
|
582
|
+
$tableBorder: solid $legendBorderWidth $legendBorderColor;
|
|
583
|
+
$tableOutsideBorder: solid $legendBorderWidth $euiColorLightShade;
|
|
584
|
+
|
|
585
|
+
@mixin wrapText {
|
|
586
|
+
overflow-wrap: break-word;
|
|
587
|
+
word-wrap: break-word;
|
|
588
|
+
word-break: break-all;
|
|
589
|
+
word-break: break-word;
|
|
590
|
+
hyphens: auto;
|
|
591
|
+
overflow: hidden;
|
|
592
|
+
min-width: 1px;
|
|
593
|
+
}
|
|
594
|
+
|
|
595
|
+
@mixin lineClamp($maxLines) {
|
|
596
|
+
text-overflow: ellipsis;
|
|
597
|
+
display: -webkit-box;
|
|
598
|
+
-webkit-line-clamp: $maxLines; /* number of lines to show */
|
|
599
|
+
line-clamp: $maxLines;
|
|
600
|
+
-webkit-box-orient: vertical;
|
|
601
|
+
overflow: hidden;
|
|
602
|
+
}
|
|
603
|
+
|
|
604
|
+
|
|
605
|
+
.echLegendTable__item {
|
|
606
|
+
color: $euiTextColor;
|
|
607
|
+
|
|
608
|
+
.echLegendItem__action {
|
|
609
|
+
padding-top: $euiSizeXS / 2;
|
|
610
|
+
max-width: 16px;
|
|
611
|
+
height: $echLegendRowHeight;
|
|
612
|
+
&:empty {
|
|
613
|
+
width: 0;
|
|
614
|
+
}
|
|
615
|
+
}
|
|
616
|
+
|
|
617
|
+
&:last-child .echLegendTable__cell {
|
|
618
|
+
border-bottom: $tableOutsideBorder;
|
|
619
|
+
}
|
|
620
|
+
|
|
621
|
+
&:not([dir='rtl']) .echLegendTable__cell:last-child {
|
|
622
|
+
padding-right: $euiSizeXS/2;
|
|
623
|
+
}
|
|
624
|
+
|
|
625
|
+
&[dir='rtl'] {
|
|
626
|
+
.echLegendTable__cell:last-child {
|
|
627
|
+
padding-left: $euiSizeXS/2;
|
|
628
|
+
}
|
|
629
|
+
|
|
630
|
+
.echLegendItem {
|
|
631
|
+
&__label {
|
|
632
|
+
text-align: right;
|
|
633
|
+
}
|
|
634
|
+
}
|
|
635
|
+
.echLegend__legendValue {
|
|
636
|
+
text-align: left;
|
|
637
|
+
}
|
|
638
|
+
}
|
|
639
|
+
|
|
640
|
+
&--highlightable {
|
|
641
|
+
.echLegendTable__cell:hover {
|
|
642
|
+
background-color: $tableRowHoverColor;
|
|
643
|
+
}
|
|
644
|
+
|
|
645
|
+
.echLegendTable__cell:hover ~ .echLegendTable__cell {
|
|
646
|
+
background-color: $tableRowHoverColor;
|
|
647
|
+
}
|
|
648
|
+
|
|
649
|
+
.echLegendTable__cell:has(~ .echLegendTable__cell:hover) {
|
|
650
|
+
background-color: $tableRowHoverColor;
|
|
651
|
+
}
|
|
652
|
+
}
|
|
653
|
+
|
|
654
|
+
&:not(&--hidden) {
|
|
655
|
+
.echLegendSingleItem__color--changable {
|
|
656
|
+
cursor: pointer;
|
|
657
|
+
}
|
|
658
|
+
}
|
|
659
|
+
|
|
660
|
+
&--vertical {
|
|
661
|
+
padding-top: $legendItemVerticalPadding / 2;
|
|
662
|
+
padding-bottom: $legendItemVerticalPadding / 2;
|
|
663
|
+
}
|
|
664
|
+
|
|
665
|
+
&--hidden {
|
|
666
|
+
color: $euiColorDarkShade;
|
|
667
|
+
}
|
|
668
|
+
|
|
669
|
+
.echLegend__legendValue {
|
|
670
|
+
@include euiFontSizeXS;
|
|
671
|
+
text-align: right;
|
|
672
|
+
font-feature-settings: 'tnum';
|
|
673
|
+
letter-spacing: unset;
|
|
674
|
+
direction: ltr;
|
|
675
|
+
white-space: nowrap;
|
|
676
|
+
}
|
|
677
|
+
}
|
|
678
|
+
|
|
679
|
+
$echLegendColumnGap: 24px;
|
|
680
|
+
$echLegendRowHeight: 16px;
|
|
681
|
+
|
|
682
|
+
$tableRowHoverColor: $euiColorLightestShade;
|
|
683
|
+
$legendBorderColor: $euiColorLightestShade;
|
|
684
|
+
|
|
685
|
+
$echLegendRowGap: 8px;
|
|
686
|
+
$legendItemVerticalPadding: $echLegendRowGap / 2;
|
|
687
|
+
$echLegendTableCellPadding: 8px 4px;
|
|
688
|
+
|
|
689
|
+
$echLegendTablePadding: 8px;
|
|
690
|
+
$echLegendHorizontalTablePadding: 4px 8px 4px 16px;
|
|
691
|
+
$legendBorderWidth: 1px;
|
|
692
|
+
$tableBorder: solid $legendBorderWidth $legendBorderColor;
|
|
693
|
+
$tableOutsideBorder: solid $legendBorderWidth $euiColorLightShade;
|
|
694
|
+
|
|
695
|
+
@mixin wrapText {
|
|
696
|
+
overflow-wrap: break-word;
|
|
697
|
+
word-wrap: break-word;
|
|
698
|
+
word-break: break-all;
|
|
699
|
+
word-break: break-word;
|
|
700
|
+
hyphens: auto;
|
|
701
|
+
overflow: hidden;
|
|
702
|
+
min-width: 1px;
|
|
703
|
+
}
|
|
704
|
+
|
|
705
|
+
@mixin lineClamp($maxLines) {
|
|
706
|
+
text-overflow: ellipsis;
|
|
707
|
+
display: -webkit-box;
|
|
708
|
+
-webkit-line-clamp: $maxLines; /* number of lines to show */
|
|
709
|
+
line-clamp: $maxLines;
|
|
710
|
+
-webkit-box-orient: vertical;
|
|
711
|
+
overflow: hidden;
|
|
712
|
+
}
|
|
713
|
+
|
|
714
|
+
|
|
715
|
+
.echLegendTable__cell {
|
|
716
|
+
@include euiFontSizeXS;
|
|
717
|
+
align-content: baseline;
|
|
718
|
+
border-bottom: $tableBorder;
|
|
719
|
+
padding: $euiSizeXS ($euiSizeXS * 2);
|
|
720
|
+
|
|
721
|
+
&--truncate {
|
|
722
|
+
@include lineClamp(1);
|
|
723
|
+
}
|
|
724
|
+
}
|
|
725
|
+
|
|
726
|
+
.echLegendTable__colorCell {
|
|
727
|
+
padding-right: 0;
|
|
728
|
+
padding-left: $euiSizeXS / 2;
|
|
729
|
+
|
|
730
|
+
&.echLegend__colorWrapper {
|
|
731
|
+
position: relative;
|
|
732
|
+
display: flex;
|
|
733
|
+
flex-direction: column;
|
|
734
|
+
align-items: center;
|
|
735
|
+
justify-content: flex-start;
|
|
736
|
+
z-index: 1;
|
|
737
|
+
}
|
|
738
|
+
}
|
|
739
|
+
|
|
740
|
+
$echLegendColumnGap: 24px;
|
|
741
|
+
$echLegendRowHeight: 16px;
|
|
742
|
+
|
|
743
|
+
$tableRowHoverColor: $euiColorLightestShade;
|
|
744
|
+
$legendBorderColor: $euiColorLightestShade;
|
|
745
|
+
|
|
746
|
+
$echLegendRowGap: 8px;
|
|
747
|
+
$legendItemVerticalPadding: $echLegendRowGap / 2;
|
|
748
|
+
$echLegendTableCellPadding: 8px 4px;
|
|
749
|
+
|
|
750
|
+
$echLegendTablePadding: 8px;
|
|
751
|
+
$echLegendHorizontalTablePadding: 4px 8px 4px 16px;
|
|
752
|
+
$legendBorderWidth: 1px;
|
|
753
|
+
$tableBorder: solid $legendBorderWidth $legendBorderColor;
|
|
754
|
+
$tableOutsideBorder: solid $legendBorderWidth $euiColorLightShade;
|
|
755
|
+
|
|
756
|
+
|
|
757
|
+
.echLegendTable__header {
|
|
758
|
+
cursor: default;
|
|
759
|
+
font-weight: $euiFontWeightSemiBold;
|
|
760
|
+
background-color: $euiColorEmptyShade;
|
|
761
|
+
font-size: $euiFontSizeXS;
|
|
762
|
+
|
|
763
|
+
.echLegendTable__cell {
|
|
764
|
+
border-bottom: $tableOutsideBorder;
|
|
765
|
+
}
|
|
766
|
+
}
|
|
767
|
+
|
|
768
|
+
|
|
485
769
|
[id^='echTooltipPortal'] {
|
|
486
770
|
pointer-events: none;
|
|
487
771
|
}
|
|
@@ -516,11 +800,25 @@ $tooltipPromptAnimTime: 0.25s;
|
|
|
516
800
|
}
|
|
517
801
|
|
|
518
802
|
|
|
519
|
-
$echLegendMaxWidth: 200px;
|
|
520
|
-
$echLegendRowGap: 8px;
|
|
521
803
|
$echLegendColumnGap: 24px;
|
|
804
|
+
$echLegendRowHeight: 16px;
|
|
805
|
+
|
|
806
|
+
$tableRowHoverColor: $euiColorLightestShade;
|
|
807
|
+
$legendBorderColor: $euiColorLightestShade;
|
|
808
|
+
|
|
809
|
+
$echLegendRowGap: 8px;
|
|
810
|
+
$legendItemVerticalPadding: $echLegendRowGap / 2;
|
|
811
|
+
$echLegendTableCellPadding: 8px 4px;
|
|
812
|
+
|
|
813
|
+
$echLegendTablePadding: 8px;
|
|
814
|
+
$echLegendHorizontalTablePadding: 4px 8px 4px 16px;
|
|
815
|
+
$legendBorderWidth: 1px;
|
|
816
|
+
$tableBorder: solid $legendBorderWidth $legendBorderColor;
|
|
817
|
+
$tableOutsideBorder: solid $legendBorderWidth $euiColorLightShade;
|
|
522
818
|
|
|
523
819
|
.echLegend {
|
|
820
|
+
z-index: 1;
|
|
821
|
+
|
|
524
822
|
.echLegendList {
|
|
525
823
|
display: grid;
|
|
526
824
|
grid-template-columns: minmax(0, 1fr);
|
|
@@ -603,7 +901,7 @@ $legendItemHeight: #{$euiFontSizeXS * $euiLineHeight};
|
|
|
603
901
|
position: relative;
|
|
604
902
|
|
|
605
903
|
// wrapper is needed to isolate color icon when wrapped or not
|
|
606
|
-
.
|
|
904
|
+
.echLegend__colorWrapper > *:first-of-type {
|
|
607
905
|
// euiPopover adds a div with height of 19px otherwise
|
|
608
906
|
// this prevents color dot from shifting when wrapped
|
|
609
907
|
height: $legendItemHeight;
|
|
@@ -612,7 +910,7 @@ $legendItemHeight: #{$euiFontSizeXS * $euiLineHeight};
|
|
|
612
910
|
&:not([dir='rtl']) > *:not(.background) {
|
|
613
911
|
margin-left: $euiSizeXS;
|
|
614
912
|
|
|
615
|
-
&:last-child:not(.
|
|
913
|
+
&:last-child:not(.echLegendItem__legendValue) {
|
|
616
914
|
margin-right: $euiSizeXS;
|
|
617
915
|
}
|
|
618
916
|
}
|
|
@@ -620,7 +918,7 @@ $legendItemHeight: #{$euiFontSizeXS * $euiLineHeight};
|
|
|
620
918
|
&[dir='rtl'] > *:not(.background) {
|
|
621
919
|
margin-right: $euiSizeXS;
|
|
622
920
|
|
|
623
|
-
&:last-child:not(.
|
|
921
|
+
&:last-child:not(.echLegendItem__legendValue) {
|
|
624
922
|
margin-left: $euiSizeXS;
|
|
625
923
|
}
|
|
626
924
|
}
|
|
@@ -694,7 +992,7 @@ $legendItemHeight: #{$euiFontSizeXS * $euiLineHeight};
|
|
|
694
992
|
}
|
|
695
993
|
}
|
|
696
994
|
|
|
697
|
-
&
|
|
995
|
+
&__legendValue {
|
|
698
996
|
@include euiFontSizeXS;
|
|
699
997
|
text-align: right;
|
|
700
998
|
flex: 0 0 auto;
|
|
@@ -1110,10 +1408,6 @@ $legendItemHeight: #{$euiFontSizeXS * $euiLineHeight};
|
|
|
1110
1408
|
}
|
|
1111
1409
|
}
|
|
1112
1410
|
|
|
1113
|
-
&:focus-within button {
|
|
1114
|
-
outline: none;
|
|
1115
|
-
}
|
|
1116
|
-
|
|
1117
1411
|
&--rightBorder {
|
|
1118
1412
|
border-right: 1px solid #343741;
|
|
1119
1413
|
}
|
package/dist/theme_dark.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
*,*::before,*::after{-webkit-box-sizing:border-box;box-sizing:border-box}html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video{margin:0;padding:0;border:none;vertical-align:baseline}code,pre,kbd,samp{font-family:"Roboto Mono",Menlo,Courier,monospace}h1,h2,h3,h4,h5,h6,p{font-family:inherit;font-weight:inherit;font-size:inherit}input,textarea,select,button{font-family:"Inter",BlinkMacSystemFont,Helvetica,Arial,sans-serif}em{font-style:italic}strong{font-weight:700}article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section{display:block}html{font-family:"Inter",BlinkMacSystemFont,Helvetica,Arial,sans-serif;font-weight:400;letter-spacing:normal;-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%;-webkit-font-kerning:normal;font-kerning:normal;font-size:14px;color:#dfe5ef;height:100%;background-color:#141519}body{line-height:1}*:focus{outline:none}*:focus::-moz-focus-inner{border:none}*:focus:-moz-focusring{outline:none}a{text-decoration:none;color:#36a2ef}a:hover{text-decoration:none}a:focus{text-decoration:none;outline:none}a:hover,button,[role=button]{cursor:pointer}input{margin:0;padding:0}input:disabled{opacity:1}button{background:none;border:none;padding:0;margin:0;outline:none;font-size:inherit;color:inherit;border-radius:0}button:hover{cursor:pointer}ol,ul{list-style:none}blockquote,q{quotes:none}blockquote::before,blockquote::after,q::before,q::after{content:"";content:none}table{border-collapse:collapse;border-spacing:0}hr{margin:0}fieldset{min-inline-size:auto}svg text{letter-spacing:normal !important}html{scrollbar-color:rgba(152,162,179,.5) #242529}html::-webkit-scrollbar{width:16px;height:16px}html::-webkit-scrollbar-thumb{background-color:rgba(152,162,179,.5);background-clip:content-box;border-radius:16px;border:4px solid #242529}html::-webkit-scrollbar-corner,html::-webkit-scrollbar-track{background-color:#242529}svg text{letter-spacing:normal !important}html,body{font-family:Inter,BlinkMacSystemFont,Helvetica,Arial,sans-serif !important}.echChartStatus{visibility:hidden;pointer-events:none;z-index:-100000;width:0;height:0;position:absolute}.echChartBackground{position:absolute;top:0;bottom:0;left:0;right:0}.echChart{height:100%;width:100%;overflow:hidden;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}.echChart__titles{margin-right:24px}.echChartContent{position:relative;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1;height:1px;width:100%}.echChartContent--column{-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}.echChartTitle{font-style:normal;font-weight:bold;font-size:16px;line-height:19px;padding:8px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;-ms-flex-negative:0;flex-shrink:0}.echChartTitle+.echChartDescription{padding-top:0}.echChartDescription{padding:8px;font-style:normal;font-weight:normal;font-size:14px;line-height:17px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;-ms-flex-negative:0;flex-shrink:0}.echContainer{-webkit-box-flex:1;-ms-flex:1;flex:1;position:relative;overflow:hidden;width:100%;height:100%}.echChartPointerContainer{position:absolute;top:0;bottom:0;right:0;left:0;-webkit-box-sizing:border-box;box-sizing:border-box;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.echChartResizer{z-index:-10000000;position:absolute;bottom:0;top:0;left:0;right:0;-webkit-box-sizing:border-box;box-sizing:border-box}.echBrushTool{position:absolute;top:0;left:0;margin:0;padding:0;-webkit-box-sizing:border-box;box-sizing:border-box;overflow:hidden;pointer-events:none}.echTooltip{-webkit-box-shadow:0 1px 5px rgba(0,0,0,.25),0 3.6px 13px rgba(0,0,0,.175),0 8.4px 23px rgba(0,0,0,.15),0 23px 35px rgba(0,0,0,.125);box-shadow:0 1px 5px rgba(0,0,0,.25),0 3.6px 13px rgba(0,0,0,.175),0 8.4px 23px rgba(0,0,0,.15),0 23px 35px rgba(0,0,0,.125);border-radius:6px;background-color:#000;color:#fff;z-index:9000;max-width:256px;overflow-wrap:break-word;padding:8px;font-size:12px;font-size:0.8571428571rem;line-height:1.1428571429rem;padding:0;max-width:100%;pointer-events:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;background-color:#1d1e24;color:#dfe5ef;overflow:hidden;cursor:default;-webkit-transition:opacity 250ms,-webkit-box-shadow 400ms;transition:opacity 250ms,-webkit-box-shadow 400ms;transition:box-shadow 400ms,opacity 250ms;transition:box-shadow 400ms,opacity 250ms,-webkit-box-shadow 400ms;border:1px solid #1d1e24}.echTooltip .euiHorizontalRule{background-color:#333}.echTooltip__outerWrapper{display:-webkit-box;display:-ms-flexbox;display:flex}.echTooltip--pinned{-webkit-box-shadow:0 .7px 1.4px rgba(0,0,0,.175),0 1.9px 4px rgba(0,0,0,.125),0 4.5px 10px rgba(0,0,0,.125);box-shadow:0 .7px 1.4px rgba(0,0,0,.175),0 1.9px 4px rgba(0,0,0,.125),0 4.5px 10px rgba(0,0,0,.125);pointer-events:auto;-webkit-user-select:auto;-moz-user-select:auto;-ms-user-select:auto;user-select:auto}.echTooltip--pinned .echTooltip__tableRow--selectable{cursor:pointer}.echTooltip--pinned .echTooltipActions{pointer-events:auto}.echTooltip--pinned .echTooltip__tableWrapper{pointer-events:auto}.echTooltip .echTooltip__tableCell--truncate{text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:2;line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.echTooltip__metricRow{padding:4px 8px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between}.echTooltip__tableWrapper{overflow:hidden;scrollbar-color:rgba(152,162,179,.5) transparent;scrollbar-width:thin;background-color:#1d1e24}.echTooltip__tableWrapper::-webkit-scrollbar{width:16px;height:16px}.echTooltip__tableWrapper::-webkit-scrollbar-thumb{background-color:rgba(152,162,179,.5);background-clip:content-box;border-radius:16px;border:6px solid transparent}.echTooltip__tableWrapper::-webkit-scrollbar-corner,.echTooltip__tableWrapper::-webkit-scrollbar-track{background-color:transparent}.echTooltip__tableWrapper--pinned{overflow:auto}.echTooltip__table{display:grid;width:100%}.echTooltip__table--noGrid{display:table}.echTooltip__tableHeader .echTooltip__tableCell,.echTooltip__tableFooter .echTooltip__tableCell{cursor:default;font-weight:600;background-color:#1d1e24;position:sticky;z-index:1}.echTooltip__tableHeader,.echTooltip__tableBody,.echTooltip__tableFooter,.echTooltip__tableRow{display:contents}.echTooltip__tableHeader{margin-bottom:0;top:0}.echTooltip__tableHeader .echTooltip__tableCell{border-bottom:solid 1px #343741;top:0}.echTooltip__tableFooter{margin-top:0;bottom:0}.echTooltip__tableFooter .echTooltip__tableCell{border-top:solid 1px #343741;bottom:0}.echTooltip__tableCell:not(.echTooltip__colorCell){padding:4px}.echTooltip__tableBody .echTooltip__tableCell:not(.echTooltip__colorCell){padding:2px 4px;-webkit-transition:margin 200ms,padding 200ms;transition:margin 200ms,padding 200ms}.echTooltip__tableBody .echTooltip__tableRow--selected .echTooltip__tableCell:not(.echTooltip__colorCell),.echTooltip__tableBody .echTooltip__tableRow--selected .echTooltip__colorCell .echTooltip__colorStrip--spacer{background-color:rgba(27,81,120,.28)}.echTooltip__tableBody .echTooltip__tableRow--selected .echTooltip__colorCell+.echTooltip__tableCell{margin-left:10px;padding-left:10px}.echTooltip__tableBody .echTooltip__tableRow--selected:hover .echTooltip__tableCell:not(.echTooltip__colorCell),.echTooltip__tableBody .echTooltip__tableRow--selected:hover .echTooltip__colorCell .echTooltip__colorStrip--spacer{background-color:rgba(27,81,120,.28)}.echTooltip__tableBody .echTooltip__tableRow--selectable:hover .echTooltip__tableCell:not(.echTooltip__colorCell),.echTooltip__tableBody .echTooltip__tableRow--selectable:hover .echTooltip__colorCell .echTooltip__colorStrip--spacer{background-color:rgba(54,162,239,.05)}.echTooltip__tableRow{position:relative}.echTooltip__tableRow--highlighted .echTooltip__tableCell:not(.echTooltip__colorCell),.echTooltip__tableRow--highlighted .echTooltip__colorCell .echTooltip__colorStrip--spacer{background-color:rgba(52,55,65,.5)}.echTooltip__tableRow--selected :not(.echTooltip__colorCell--static) .echTooltip__colorStrip{width:21px}.echTooltip__tableRow--selected :not(.echTooltip__colorCell--static) .echTooltip__colorStrip--spacer{width:0;min-width:0}.echTooltip__tableRow--selected :not(.echTooltip__colorCell--static) .echTooltip__colorStrip--icon{opacity:1}.echTooltip__colorCell{padding:0;height:100%;position:relative;overflow:hidden;width:21px}.echTooltip__colorCell--static{width:5px}.echTooltip__colorStrip,.echTooltip__colorStrip--bg,.echTooltip__colorStrip--spacer{position:absolute;top:0;left:0;bottom:0;width:5px;-webkit-transition:width 200ms;transition:width 200ms}.echTooltip__colorStrip--icon{opacity:0;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;height:100%;-webkit-transition:opacity 200ms;transition:opacity 200ms;padding:0 4px}.echTooltip__colorStrip--spacer{left:auto;right:10px;width:6px;min-width:6px}.echTooltip__label{min-width:1px;-webkit-box-flex:1;-ms-flex:1 1 auto;flex:1 1 auto;text-align:left}.echTooltip__value{text-align:right;-webkit-font-feature-settings:"tnum";font-feature-settings:"tnum"}.echTooltip[dir=rtl] .echTooltip__colorStrip{left:auto;right:0}.echTooltipHeader{font-weight:600;margin-bottom:0;padding:4px 8px}.echTooltipFooter{font-weight:600;margin-top:0;padding:4px 8px}.echTooltipDivider{width:100%;border-bottom:solid 1px #343741}@-webkit-keyframes promptSlideDown{100%{opacity:1;top:0;height:26px}}@keyframes promptSlideDown{100%{opacity:1;top:0;height:26px}}.echTooltipPrompt{position:relative;width:100%;z-index:-1}.echTooltipPrompt__content{color:#7a7f89;font-style:normal;font-size:12px;line-height:26px;padding:0 8px}.echTooltipPrompt.slideDown{opacity:0;top:-26px;height:0;-webkit-animation:promptSlideDown .25s forwards;animation:promptSlideDown .25s forwards;-webkit-animation-delay:1.5s;animation-delay:1.5s}.echTooltipActions{position:relative;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:start;-ms-flex-align:start;align-items:flex-start;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;width:100%;font-style:normal;font-size:12px;line-height:21px}.echTooltipActions__prompt{position:relative;height:26px;padding:0 8px;line-height:26px;width:100%;color:#7a7f89;font-style:normal;font-size:12px}.echTooltipActions__action{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;display:block;text-align:left;width:100%;padding:0 8px;line-height:21px;cursor:pointer;color:#dfe5ef}.echTooltipActions__action:nth-child(2){padding-top:4px}.echTooltipActions__action:last-child{padding-bottom:2px}.echTooltipActions__action:hover,.echTooltipActions__action:focus{text-decoration:underline}.echTooltipActions__action[disabled]{cursor:default;color:#515761}.echTooltipActions__action[disabled]:hover,.echTooltipActions__action[disabled]:focus{text-decoration:none}[id^=echTooltipPortal]{pointer-events:none}[id^=echAnchor]{position:absolute;pointer-events:none}.echTooltipPortal__invisible{position:fixed;visibility:hidden;width:0;height:0}.echIcon{-ms-flex-negative:0;flex-shrink:0;display:inline-block;vertical-align:middle;fill:currentColor}.echIcon svg{-webkit-transform:translate(0, 0);transform:translate(0, 0)}.echIcon:focus{opacity:1;background:rgba(54,162,239,.2)}.echLegend .echLegendList{display:grid;grid-template-columns:minmax(0, 1fr);-webkit-padding-start:0;padding-inline-start:0;-webkit-padding-end:0;padding-inline-end:0;-webkit-margin-before:0;margin-block-start:0;-webkit-margin-after:0;margin-block-end:0}.echLegend--horizontal .echLegendList{grid-column-gap:24px;grid-row-gap:8px;margin-top:8px;margin-bottom:8px}.echLegend--top,.echLegend--left{-webkit-box-ordinal-group:1;-ms-flex-order:0;order:0}.echLegend--bottom,.echLegend--right{-webkit-box-ordinal-group:2;-ms-flex-order:1;order:1}.echLegend--debug{background:rgba(238,130,238,.2);position:relative}.echLegend--inert{pointer-events:none}.echLegend .echLegendListContainer{scrollbar-color:rgba(152,162,179,.5) transparent;scrollbar-width:thin;height:100%;overflow-y:auto;overflow-x:hidden;-webkit-mask-image:linear-gradient(to bottom, rgba(255, 0, 0, 0.1) 0%, red 7.5px, red calc(100% - 7.5px), rgba(255, 0, 0, 0.1) 100%);mask-image:linear-gradient(to bottom, rgba(255, 0, 0, 0.1) 0%, red 7.5px, red calc(100% - 7.5px), rgba(255, 0, 0, 0.1) 100%);width:100%;overflow-y:auto;overflow-x:hidden}.echLegend .echLegendListContainer::-webkit-scrollbar{width:16px;height:16px}.echLegend .echLegendListContainer::-webkit-scrollbar-thumb{background-color:rgba(152,162,179,.5);background-clip:content-box;border-radius:16px;border:6px solid transparent}.echLegend .echLegendListContainer::-webkit-scrollbar-corner,.echLegend .echLegendListContainer::-webkit-scrollbar-track{background-color:transparent}.echLegend .echLegendListContainer:focus{outline:none}.echLegend .echLegendListContainer[tabindex="0"]:focus:focus-visible{outline-style:auto}.echLegend .echLegendListContainer :focus{outline:2px solid currentColor;outline-offset:1px;background-color:rgba(54,162,239,.2);border-radius:3px}.echLegend .echLegendListContainer :focus:focus-visible{outline-style:auto}.echLegend .echLegendListContainer :focus:not(:focus-visible){outline:none}.echLegendItem{color:#dfe5ef;display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:nowrap;flex-wrap:nowrap;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;-webkit-box-align:start;-ms-flex-align:start;align-items:flex-start;position:relative}.echLegendItem .colorWrapper>*:first-of-type{height:18px}.echLegendItem:not([dir=rtl])>*:not(.background){margin-left:4px}.echLegendItem:not([dir=rtl])>*:not(.background):last-child:not(.echLegendItem__extra){margin-right:4px}.echLegendItem[dir=rtl]>*:not(.background){margin-right:4px}.echLegendItem[dir=rtl]>*:not(.background):last-child:not(.echLegendItem__extra){margin-left:4px}.echLegendItem:not(.echLegendItem--hidden) .echLegendItem__color--changable{cursor:pointer}.echLegendItem:hover .background{background-color:#25262e}.echLegendItem .background{position:absolute;top:0;right:0;bottom:0;left:0;z-index:-1}.echLegendItem__action{cursor:pointer;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;height:18px;max-width:calc(18px + 8px)}.echLegendItem__action .euiPopover,.echLegendItem__action .euiPopover__anchor,.echLegendItem__action .euiPopover__anchor>*:first-child{height:100%;width:100%;display:-webkit-box;display:-ms-flexbox;display:flex}.echLegendItem__color{display:-webkit-box;display:-ms-flexbox;display:flex;line-height:1.5;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.echLegendItem__label{font-size:12px;font-size:0.8571428571rem;line-height:1.1428571429rem;-webkit-box-flex:1;-ms-flex:1 1 auto;flex:1 1 auto;text-align:left;vertical-align:baseline;letter-spacing:unset;-webkit-box-align:center;-ms-flex-align:center;align-items:center;overflow-wrap:break-word;word-wrap:break-word;word-break:break-all;word-break:break-word;-webkit-hyphens:auto;-ms-hyphens:auto;hyphens:auto;overflow:hidden;min-width:1px}.echLegendItem__label--singleline{max-width:100%;overflow:hidden !important;text-overflow:ellipsis !important;white-space:nowrap !important}.echLegendItem__label--multiline:is(div){display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2}.echLegendItem__label--clickable:hover{cursor:pointer;text-decoration:underline}.echLegendItem__extra{font-size:12px;font-size:0.8571428571rem;line-height:1.1428571429rem;text-align:right;-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;margin-left:4px;-webkit-font-feature-settings:"tnum";font-feature-settings:"tnum";letter-spacing:unset;direction:ltr}.echLegendItem--vertical{padding-top:2px;padding-bottom:2px}.echLegendItem--vertical:first-of-type{margin-top:2px}.echLegendItem--vertical .background{margin-top:2px;margin-bottom:2px}.echLegendItem--hidden{color:#98a2b3}.echLegendItem[dir=rtl] .echLegendItem__label{text-align:right}.echReactiveChart_noResults{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;width:100%;height:100%;font-size:12px;font-size:0.8571428571rem;line-height:1.1428571429rem;color:#98a2b3}.echGridContainer{display:grid;width:100%;height:100%;-ms-flex-line-pack:start;align-content:start;-webkit-box-pack:stretch;-ms-flex-pack:stretch;justify-content:stretch;-webkit-box-align:stretch;-ms-flex-align:stretch;align-items:stretch;-webkit-user-select:text;-moz-user-select:text;-ms-user-select:text;user-select:text}.echGridCell{position:relative;width:100%;height:100%;overflow:hidden;-webkit-transition:background-color ease-in-out .1s;transition:background-color ease-in-out .1s}.echGridCell--rightBorder{border-right:1px solid #343741}.echGridCell--bottomBorder{border-bottom:1px solid #343741}.echAlignedGrid{display:grid;-ms-flex-line-pack:stretch;align-content:stretch;width:100%;height:100%}.echAlignedGrid--header{width:100%;height:100%;margin:0;padding:0}.echAlignedGrid__borderRight{border-right:1px solid #edf0f5}.echAlignedGrid__borderBottom{border-bottom:1px solid #edf0f5}.echAlignedGrid--content{width:100%;min-height:0;margin:0;padding:0}.echHighlighter{position:absolute;pointer-events:none;top:0;bottom:0;left:0;right:0;width:100%;height:100%}.echHighlighterOverlay__fill{fill:rgba(255,255,255,.2)}.echHighlighterOverlay__stroke{stroke:rgba(255,255,255,.2)}.echHighlighter__mask{fill:rgba(29,30,36,.5)}.echCrosshair,.echCrosshair__cursor,.echCrosshair__crossLine{position:absolute;top:0;left:0;pointer-events:none}.echScreenReaderOnly{position:absolute;left:-10000px;top:auto;width:1px;height:1px;overflow:hidden}.echScreenReaderOnlyDebug{left:0 !important;top:0 !important;right:0 !important;bottom:0 !important;width:100% !important;height:100% !important;overflow:auto !important;background:rgba(255,255,255,.8)}.echScreenReaderOnlyDebug table,.echScreenReaderOnlyDebug td,.echScreenReaderOnlyDebug th{border:1px solid #000;font-size:12px}.echScreenReaderTable{overflow-x:auto;text-align:left}.echAnnotation{padding:0;-webkit-transition:opacity 250ms;transition:opacity 250ms;pointer-events:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;max-width:260px}.echAnnotation__marker{position:absolute;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;font-size:12px;font-weight:700;line-height:normal}.echAnnotation__details{padding:4px 8px}.echAnnotation__icon{position:relative}.echAnnotation__body{white-space:nowrap}.echCanvasRenderer{position:absolute;top:0;left:0;padding:0;margin:0;border:0;background:transparent}.echMetricContainer{display:grid;width:100%;height:100%;-ms-flex-line-pack:start;align-content:start;-webkit-box-pack:stretch;-ms-flex-pack:stretch;justify-content:stretch;-webkit-box-align:stretch;-ms-flex-align:stretch;align-items:stretch;-webkit-user-select:text;-moz-user-select:text;-ms-user-select:text;user-select:text}.echMetric{position:relative;width:100%;height:100%;overflow:hidden;-webkit-transition:background-color ease-in-out .1s;transition:background-color ease-in-out .1s}.echMetric .echMetric--outline{position:absolute;top:0;left:0;right:0;bottom:0;pointer-events:none}.echMetric:focus-within .echMetric--outline{outline:auto;outline-offset:-1.5px}.echMetric:focus-within button{outline:none}.echMetric--rightBorder{border-right:1px solid #343741}.echMetric--topBorder{border-top:1px solid #343741}.echMetric--bottomBorder{border-bottom:1px solid #343741}.echMetric--vertical.echMetric--withProgressBar--small{padding-left:10px}.echMetric--vertical.echMetric--withTargetProgressBar--small{padding-left:14px}.echMetric--horizontal.echMetric--withProgressBar--small{padding-bottom:10px}.echMetric--horizontal.echMetric--withTargetProgressBar--small{padding-bottom:12px}.echMetricEmpty{position:absolute;bottom:9px;right:11px;width:20px;border-bottom:1px solid}.echMetricText{position:relative;padding:8px;height:100%;z-index:1;display:grid;grid-template-columns:100%;grid-template-rows:-webkit-min-content -webkit-min-content auto -webkit-min-content -webkit-min-content;grid-template-rows:min-content min-content auto min-content min-content;text-align:left;line-height:1.2}.echMetricText__title{font-weight:bold;word-wrap:break-word}.echMetricText__title button{font-weight:bold;width:100%;text-align:left}.echMetricText__icon{position:absolute;right:8px;top:8px}.echMetricText__subtitle{padding-top:5px;font-weight:normal;text-align:left}.echMetricText__extra{text-align:right;font-weight:normal}.echMetricText__value{position:relative;font-weight:bold;text-align:right;white-space:nowrap;overflow:hidden}.echMetricText__valueIcon{display:inline-block;position:absolute;right:8px;bottom:8px}.echMetricText__part{font-weight:bold}.echMetricText__gap{position:relative}.echMetricText__body{overflow:hidden;position:absolute;top:0;right:0;bottom:0;left:0}.echSingleMetricProgress{position:absolute}.echSingleMetricProgress--vertical{left:0;right:0;top:0;bottom:0;height:100%;width:100%}.echSingleMetricProgress--vertical.echSingleMetricProgress--small{right:auto;width:10px}.echSingleMetricProgress--horizontal{left:0;right:0;width:100%;top:0;bottom:0;height:100%}.echSingleMetricProgress--horizontal.echSingleMetricProgress--small{top:auto;height:10px}.echSingleMetricProgressBar{-webkit-transition:background-color ease-in-out .1s;transition:background-color ease-in-out .1s}.echSingleMetricProgressBar--vertical{position:absolute;left:0;right:0;bottom:0;width:100%}.echSingleMetricProgressBar--horizontal{position:absolute;top:0;bottom:0;left:0;height:100%}.echSingleMetricTarget{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;overflow:visible;z-index:1}.echSingleMetricTarget--vertical{-webkit-transform:rotate(90deg);transform:rotate(90deg);position:absolute;left:100%;bottom:0}.echSingleMetricTarget--horizontal{position:absolute;bottom:100%}.echSingleMetricZeroBaseline{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;overflow:visible}.echSingleMetricZeroBaseline--vertical{position:absolute;left:0}.echSingleMetricZeroBaseline--vertical.echSingleMetricZeroBaseline--small{right:auto;height:2px;width:13px}.echSingleMetricZeroBaseline--horizontal{position:absolute;bottom:0}.echSingleMetricZeroBaseline--horizontal.echSingleMetricZeroBaseline--small{top:auto;width:2px;height:13px}.echSingleMetricSparkline{position:absolute;overflow:hidden;top:0;bottom:0;left:0;right:0}.echSingleMetricSparkline__svg{position:absolute;top:0;bottom:0;left:0;right:0;width:100%;height:100%}.echSingleMetricSparkline__svg rect,.echSingleMetricSparkline__svg path{-webkit-transition:fill ease-in-out .1s;transition:fill ease-in-out .1s}.echSingleMetricChart--small{position:absolute;top:auto;left:auto;bottom:0;right:0;width:100px;height:30px}
|
|
1
|
+
*,*::before,*::after{-webkit-box-sizing:border-box;box-sizing:border-box}html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video{margin:0;padding:0;border:none;vertical-align:baseline}code,pre,kbd,samp{font-family:"Roboto Mono",Menlo,Courier,monospace}h1,h2,h3,h4,h5,h6,p{font-family:inherit;font-weight:inherit;font-size:inherit}input,textarea,select,button{font-family:"Inter",BlinkMacSystemFont,Helvetica,Arial,sans-serif}em{font-style:italic}strong{font-weight:700}article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section{display:block}html{font-family:"Inter",BlinkMacSystemFont,Helvetica,Arial,sans-serif;font-weight:400;letter-spacing:normal;-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%;-webkit-font-kerning:normal;font-kerning:normal;font-size:14px;color:#dfe5ef;height:100%;background-color:#141519}body{line-height:1}*:focus{outline:none}*:focus::-moz-focus-inner{border:none}*:focus:-moz-focusring{outline:none}a{text-decoration:none;color:#36a2ef}a:hover{text-decoration:none}a:focus{text-decoration:none;outline:none}a:hover,button,[role=button]{cursor:pointer}input{margin:0;padding:0}input:disabled{opacity:1}button{background:none;border:none;padding:0;margin:0;outline:none;font-size:inherit;color:inherit;border-radius:0}button:hover{cursor:pointer}ol,ul{list-style:none}blockquote,q{quotes:none}blockquote::before,blockquote::after,q::before,q::after{content:"";content:none}table{border-collapse:collapse;border-spacing:0}hr{margin:0}fieldset{min-inline-size:auto}svg text{letter-spacing:normal !important}html{scrollbar-color:rgba(152,162,179,.5) #242529}html::-webkit-scrollbar{width:16px;height:16px}html::-webkit-scrollbar-thumb{background-color:rgba(152,162,179,.5);background-clip:content-box;border-radius:16px;border:4px solid #242529}html::-webkit-scrollbar-corner,html::-webkit-scrollbar-track{background-color:#242529}svg text{letter-spacing:normal !important}html,body{font-family:Inter,BlinkMacSystemFont,Helvetica,Arial,sans-serif !important}.echChartStatus{visibility:hidden;pointer-events:none;z-index:-100000;width:0;height:0;position:absolute}.echChartBackground{position:absolute;top:0;bottom:0;left:0;right:0;z-index:0}.echChart{height:100%;width:100%;overflow:hidden;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}.echChart__titles{margin-right:24px}.echChartContent{position:relative;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1;height:1px;width:100%}.echChartContent--column{-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}.echChartTitle{font-style:normal;font-weight:bold;font-size:16px;line-height:19px;padding:8px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;-ms-flex-negative:0;flex-shrink:0}.echChartTitle+.echChartDescription{padding-top:0}.echChartDescription{padding:8px;font-style:normal;font-weight:normal;font-size:14px;line-height:17px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;-ms-flex-negative:0;flex-shrink:0}.echContainer{-webkit-box-flex:1;-ms-flex:1;flex:1;position:relative;overflow:hidden;width:100%;height:100%}.echChartPointerContainer{position:absolute;top:0;bottom:0;right:0;left:0;-webkit-box-sizing:border-box;box-sizing:border-box;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.echChartResizer{z-index:-10000000;position:absolute;bottom:0;top:0;left:0;right:0;-webkit-box-sizing:border-box;box-sizing:border-box}.echBrushTool{position:absolute;top:0;left:0;margin:0;padding:0;-webkit-box-sizing:border-box;box-sizing:border-box;overflow:hidden;pointer-events:none}.echTooltip{-webkit-box-shadow:0 1px 5px rgba(0,0,0,.25),0 3.6px 13px rgba(0,0,0,.175),0 8.4px 23px rgba(0,0,0,.15),0 23px 35px rgba(0,0,0,.125);box-shadow:0 1px 5px rgba(0,0,0,.25),0 3.6px 13px rgba(0,0,0,.175),0 8.4px 23px rgba(0,0,0,.15),0 23px 35px rgba(0,0,0,.125);border-radius:6px;background-color:#000;color:#fff;z-index:9000;max-width:256px;overflow-wrap:break-word;padding:8px;font-size:12px;font-size:0.8571428571rem;line-height:1.1428571429rem;padding:0;max-width:100%;pointer-events:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;background-color:#1d1e24;color:#dfe5ef;overflow:hidden;cursor:default;-webkit-transition:opacity 250ms,-webkit-box-shadow 400ms;transition:opacity 250ms,-webkit-box-shadow 400ms;transition:box-shadow 400ms,opacity 250ms;transition:box-shadow 400ms,opacity 250ms,-webkit-box-shadow 400ms;border:1px solid #1d1e24}.echTooltip .euiHorizontalRule{background-color:#333}.echTooltip__outerWrapper{display:-webkit-box;display:-ms-flexbox;display:flex}.echTooltip--pinned{-webkit-box-shadow:0 .7px 1.4px rgba(0,0,0,.175),0 1.9px 4px rgba(0,0,0,.125),0 4.5px 10px rgba(0,0,0,.125);box-shadow:0 .7px 1.4px rgba(0,0,0,.175),0 1.9px 4px rgba(0,0,0,.125),0 4.5px 10px rgba(0,0,0,.125);pointer-events:auto;-webkit-user-select:auto;-moz-user-select:auto;-ms-user-select:auto;user-select:auto}.echTooltip--pinned .echTooltip__tableRow--selectable{cursor:pointer}.echTooltip--pinned .echTooltipActions{pointer-events:auto}.echTooltip--pinned .echTooltip__tableWrapper{pointer-events:auto}.echTooltip .echTooltip__tableCell--truncate{text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:2;line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.echTooltip__metricRow{padding:4px 8px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between}.echTooltip__tableWrapper{overflow:hidden;scrollbar-color:rgba(152,162,179,.5) transparent;scrollbar-width:thin;background-color:#1d1e24}.echTooltip__tableWrapper::-webkit-scrollbar{width:16px;height:16px}.echTooltip__tableWrapper::-webkit-scrollbar-thumb{background-color:rgba(152,162,179,.5);background-clip:content-box;border-radius:16px;border:6px solid transparent}.echTooltip__tableWrapper::-webkit-scrollbar-corner,.echTooltip__tableWrapper::-webkit-scrollbar-track{background-color:transparent}.echTooltip__tableWrapper--pinned{overflow:auto}.echTooltip__table{display:grid;width:100%}.echTooltip__table--noGrid{display:table}.echTooltip__tableHeader .echTooltip__tableCell,.echTooltip__tableFooter .echTooltip__tableCell{cursor:default;font-weight:600;background-color:#1d1e24;position:sticky;z-index:1}.echTooltip__tableHeader,.echTooltip__tableBody,.echTooltip__tableFooter,.echTooltip__tableRow{display:contents}.echTooltip__tableHeader{margin-bottom:0;top:0}.echTooltip__tableHeader .echTooltip__tableCell{border-bottom:solid 1px #343741;top:0}.echTooltip__tableFooter{margin-top:0;bottom:0}.echTooltip__tableFooter .echTooltip__tableCell{border-top:solid 1px #343741;bottom:0}.echTooltip__tableCell:not(.echTooltip__colorCell){padding:4px}.echTooltip__tableBody .echTooltip__tableCell:not(.echTooltip__colorCell){padding:2px 4px;-webkit-transition:margin 200ms,padding 200ms;transition:margin 200ms,padding 200ms}.echTooltip__tableBody .echTooltip__tableRow--selected .echTooltip__tableCell:not(.echTooltip__colorCell),.echTooltip__tableBody .echTooltip__tableRow--selected .echTooltip__colorCell .echTooltip__colorStrip--spacer{background-color:rgba(27,81,120,.28)}.echTooltip__tableBody .echTooltip__tableRow--selected .echTooltip__colorCell+.echTooltip__tableCell{margin-left:10px;padding-left:10px}.echTooltip__tableBody .echTooltip__tableRow--selected:hover .echTooltip__tableCell:not(.echTooltip__colorCell),.echTooltip__tableBody .echTooltip__tableRow--selected:hover .echTooltip__colorCell .echTooltip__colorStrip--spacer{background-color:rgba(27,81,120,.28)}.echTooltip__tableBody .echTooltip__tableRow--selectable:hover .echTooltip__tableCell:not(.echTooltip__colorCell),.echTooltip__tableBody .echTooltip__tableRow--selectable:hover .echTooltip__colorCell .echTooltip__colorStrip--spacer{background-color:rgba(54,162,239,.05)}.echTooltip__tableRow{position:relative}.echTooltip__tableRow--highlighted .echTooltip__tableCell:not(.echTooltip__colorCell),.echTooltip__tableRow--highlighted .echTooltip__colorCell .echTooltip__colorStrip--spacer{background-color:rgba(52,55,65,.5)}.echTooltip__tableRow--selected :not(.echTooltip__colorCell--static) .echTooltip__colorStrip{width:21px}.echTooltip__tableRow--selected :not(.echTooltip__colorCell--static) .echTooltip__colorStrip--spacer{width:0;min-width:0}.echTooltip__tableRow--selected :not(.echTooltip__colorCell--static) .echTooltip__colorStrip--icon{opacity:1}.echTooltip__colorCell{padding:0;height:100%;position:relative;overflow:hidden;width:21px}.echTooltip__colorCell--static{width:5px}.echTooltip__colorStrip,.echTooltip__colorStrip--bg,.echTooltip__colorStrip--spacer{position:absolute;top:0;left:0;bottom:0;width:5px;-webkit-transition:width 200ms;transition:width 200ms}.echTooltip__colorStrip--icon{opacity:0;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;height:100%;-webkit-transition:opacity 200ms;transition:opacity 200ms;padding:0 4px}.echTooltip__colorStrip--spacer{left:auto;right:10px;width:6px;min-width:6px}.echTooltip__label{min-width:1px;-webkit-box-flex:1;-ms-flex:1 1 auto;flex:1 1 auto;text-align:left}.echTooltip__value{text-align:right;-webkit-font-feature-settings:"tnum";font-feature-settings:"tnum"}.echTooltip[dir=rtl] .echTooltip__colorStrip{left:auto;right:0}.echTooltipHeader{font-weight:600;margin-bottom:0;padding:4px 8px}.echTooltipFooter{font-weight:600;margin-top:0;padding:4px 8px}.echTooltipDivider{width:100%;border-bottom:solid 1px #343741}@-webkit-keyframes promptSlideDown{100%{opacity:1;top:0;height:26px}}@keyframes promptSlideDown{100%{opacity:1;top:0;height:26px}}.echTooltipPrompt{position:relative;width:100%;z-index:-1}.echTooltipPrompt__content{color:#7a7f89;font-style:normal;font-size:12px;line-height:26px;padding:0 8px}.echTooltipPrompt.slideDown{opacity:0;top:-26px;height:0;-webkit-animation:promptSlideDown .25s forwards;animation:promptSlideDown .25s forwards;-webkit-animation-delay:1.5s;animation-delay:1.5s}.echTooltipActions{position:relative;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:start;-ms-flex-align:start;align-items:flex-start;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;width:100%;font-style:normal;font-size:12px;line-height:21px}.echTooltipActions__prompt{position:relative;height:26px;padding:0 8px;line-height:26px;width:100%;color:#7a7f89;font-style:normal;font-size:12px}.echTooltipActions__action{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;display:block;text-align:left;width:100%;padding:0 8px;line-height:21px;cursor:pointer;color:#dfe5ef}.echTooltipActions__action:nth-child(2){padding-top:4px}.echTooltipActions__action:last-child{padding-bottom:2px}.echTooltipActions__action:hover,.echTooltipActions__action:focus{text-decoration:underline}.echTooltipActions__action[disabled]{cursor:default;color:#515761}.echTooltipActions__action[disabled]:hover,.echTooltipActions__action[disabled]:focus{text-decoration:none}.echLegendTable__container{scrollbar-color:rgba(152,162,179,.5) transparent;scrollbar-width:thin;height:100%;overflow-y:auto;overflow-x:hidden;-webkit-mask-image:linear-gradient(to bottom, rgba(255, 0, 0, 0.1) 0%, red 7.5px, red calc(100% - 7.5px), rgba(255, 0, 0, 0.1) 100%);mask-image:linear-gradient(to bottom, rgba(255, 0, 0, 0.1) 0%, red 7.5px, red calc(100% - 7.5px), rgba(255, 0, 0, 0.1) 100%);width:100%;overflow-y:auto;overflow-x:hidden}.echLegendTable__container::-webkit-scrollbar{width:16px;height:16px}.echLegendTable__container::-webkit-scrollbar-thumb{background-color:rgba(152,162,179,.5);background-clip:content-box;border-radius:16px;border:6px solid transparent}.echLegendTable__container::-webkit-scrollbar-corner,.echLegendTable__container::-webkit-scrollbar-track{background-color:transparent}.echLegendTable__container:focus{outline:none}.echLegendTable__container[tabindex="0"]:focus:focus-visible{outline-style:auto}.echLegendTable__container :focus{outline:2px solid currentColor;outline-offset:1px;background-color:rgba(54,162,239,.2);border-radius:3px}.echLegendTable__container :focus:focus-visible{outline-style:auto}.echLegendTable__container :focus:not(:focus-visible){outline:none}.echLegendTable{overflow:auto;display:grid;width:100%;position:relative}.echLegendTable__header,.echLegendTable__rowgroup,.echLegendTable__row{display:contents}.echLegendTable .echColorPickerPopover{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.echLegend--vertical .echLegendTable__container{padding:8px}.echLegend--horizontal .echLegendTable{padding:4px 8px 4px 16px}.echLegendTable__item{color:#dfe5ef}.echLegendTable__item .echLegendItem__action{padding-top:2px;max-width:16px;height:16px}.echLegendTable__item .echLegendItem__action:empty{width:0}.echLegendTable__item:last-child .echLegendTable__cell{border-bottom:solid 1px #343741}.echLegendTable__item:not([dir=rtl]) .echLegendTable__cell:last-child{padding-right:2px}.echLegendTable__item[dir=rtl] .echLegendTable__cell:last-child{padding-left:2px}.echLegendTable__item[dir=rtl] .echLegendItem__label{text-align:right}.echLegendTable__item[dir=rtl] .echLegend__legendValue{text-align:left}.echLegendTable__item--highlightable .echLegendTable__cell:hover{background-color:#25262e}.echLegendTable__item--highlightable .echLegendTable__cell:hover~.echLegendTable__cell{background-color:#25262e}.echLegendTable__item--highlightable .echLegendTable__cell:has(~.echLegendTable__cell:hover){background-color:#25262e}.echLegendTable__item:not(.echLegendTable__item--hidden) .echLegendSingleItem__color--changable{cursor:pointer}.echLegendTable__item--vertical{padding-top:2px;padding-bottom:2px}.echLegendTable__item--hidden{color:#98a2b3}.echLegendTable__item .echLegend__legendValue{font-size:12px;font-size:0.8571428571rem;line-height:1.1428571429rem;text-align:right;-webkit-font-feature-settings:"tnum";font-feature-settings:"tnum";letter-spacing:unset;direction:ltr;white-space:nowrap}.echLegendTable__cell{font-size:12px;font-size:0.8571428571rem;line-height:1.1428571429rem;-ms-flex-line-pack:baseline;align-content:baseline;border-bottom:solid 1px #25262e;padding:4px 8px}.echLegendTable__cell--truncate{text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:1;line-clamp:1;-webkit-box-orient:vertical;overflow:hidden}.echLegendTable__colorCell{padding-right:0;padding-left:2px}.echLegendTable__colorCell.echLegend__colorWrapper{position:relative;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:start;-ms-flex-pack:start;justify-content:flex-start;z-index:1}.echLegendTable__header{cursor:default;font-weight:600;background-color:#1d1e24;font-size:12px}.echLegendTable__header .echLegendTable__cell{border-bottom:solid 1px #343741}[id^=echTooltipPortal]{pointer-events:none}[id^=echAnchor]{position:absolute;pointer-events:none}.echTooltipPortal__invisible{position:fixed;visibility:hidden;width:0;height:0}.echIcon{-ms-flex-negative:0;flex-shrink:0;display:inline-block;vertical-align:middle;fill:currentColor}.echIcon svg{-webkit-transform:translate(0, 0);transform:translate(0, 0)}.echIcon:focus{opacity:1;background:rgba(54,162,239,.2)}.echLegend{z-index:1}.echLegend .echLegendList{display:grid;grid-template-columns:minmax(0, 1fr);-webkit-padding-start:0;padding-inline-start:0;-webkit-padding-end:0;padding-inline-end:0;-webkit-margin-before:0;margin-block-start:0;-webkit-margin-after:0;margin-block-end:0}.echLegend--horizontal .echLegendList{grid-column-gap:24px;grid-row-gap:8px;margin-top:8px;margin-bottom:8px}.echLegend--top,.echLegend--left{-webkit-box-ordinal-group:1;-ms-flex-order:0;order:0}.echLegend--bottom,.echLegend--right{-webkit-box-ordinal-group:2;-ms-flex-order:1;order:1}.echLegend--debug{background:rgba(238,130,238,.2);position:relative}.echLegend--inert{pointer-events:none}.echLegend .echLegendListContainer{scrollbar-color:rgba(152,162,179,.5) transparent;scrollbar-width:thin;height:100%;overflow-y:auto;overflow-x:hidden;-webkit-mask-image:linear-gradient(to bottom, rgba(255, 0, 0, 0.1) 0%, red 7.5px, red calc(100% - 7.5px), rgba(255, 0, 0, 0.1) 100%);mask-image:linear-gradient(to bottom, rgba(255, 0, 0, 0.1) 0%, red 7.5px, red calc(100% - 7.5px), rgba(255, 0, 0, 0.1) 100%);width:100%;overflow-y:auto;overflow-x:hidden}.echLegend .echLegendListContainer::-webkit-scrollbar{width:16px;height:16px}.echLegend .echLegendListContainer::-webkit-scrollbar-thumb{background-color:rgba(152,162,179,.5);background-clip:content-box;border-radius:16px;border:6px solid transparent}.echLegend .echLegendListContainer::-webkit-scrollbar-corner,.echLegend .echLegendListContainer::-webkit-scrollbar-track{background-color:transparent}.echLegend .echLegendListContainer:focus{outline:none}.echLegend .echLegendListContainer[tabindex="0"]:focus:focus-visible{outline-style:auto}.echLegend .echLegendListContainer :focus{outline:2px solid currentColor;outline-offset:1px;background-color:rgba(54,162,239,.2);border-radius:3px}.echLegend .echLegendListContainer :focus:focus-visible{outline-style:auto}.echLegend .echLegendListContainer :focus:not(:focus-visible){outline:none}.echLegendItem{color:#dfe5ef;display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:nowrap;flex-wrap:nowrap;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;-webkit-box-align:start;-ms-flex-align:start;align-items:flex-start;position:relative}.echLegendItem .echLegend__colorWrapper>*:first-of-type{height:18px}.echLegendItem:not([dir=rtl])>*:not(.background){margin-left:4px}.echLegendItem:not([dir=rtl])>*:not(.background):last-child:not(.echLegendItem__legendValue){margin-right:4px}.echLegendItem[dir=rtl]>*:not(.background){margin-right:4px}.echLegendItem[dir=rtl]>*:not(.background):last-child:not(.echLegendItem__legendValue){margin-left:4px}.echLegendItem:not(.echLegendItem--hidden) .echLegendItem__color--changable{cursor:pointer}.echLegendItem:hover .background{background-color:#25262e}.echLegendItem .background{position:absolute;top:0;right:0;bottom:0;left:0;z-index:-1}.echLegendItem__action{cursor:pointer;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;height:18px;max-width:calc(18px + 8px)}.echLegendItem__action .euiPopover,.echLegendItem__action .euiPopover__anchor,.echLegendItem__action .euiPopover__anchor>*:first-child{height:100%;width:100%;display:-webkit-box;display:-ms-flexbox;display:flex}.echLegendItem__color{display:-webkit-box;display:-ms-flexbox;display:flex;line-height:1.5;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.echLegendItem__label{font-size:12px;font-size:0.8571428571rem;line-height:1.1428571429rem;-webkit-box-flex:1;-ms-flex:1 1 auto;flex:1 1 auto;text-align:left;vertical-align:baseline;letter-spacing:unset;-webkit-box-align:center;-ms-flex-align:center;align-items:center;overflow-wrap:break-word;word-wrap:break-word;word-break:break-all;word-break:break-word;-webkit-hyphens:auto;-ms-hyphens:auto;hyphens:auto;overflow:hidden;min-width:1px}.echLegendItem__label--singleline{max-width:100%;overflow:hidden !important;text-overflow:ellipsis !important;white-space:nowrap !important}.echLegendItem__label--multiline:is(div){display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2}.echLegendItem__label--clickable:hover{cursor:pointer;text-decoration:underline}.echLegendItem__legendValue{font-size:12px;font-size:0.8571428571rem;line-height:1.1428571429rem;text-align:right;-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;margin-left:4px;-webkit-font-feature-settings:"tnum";font-feature-settings:"tnum";letter-spacing:unset;direction:ltr}.echLegendItem--vertical{padding-top:2px;padding-bottom:2px}.echLegendItem--vertical:first-of-type{margin-top:2px}.echLegendItem--vertical .background{margin-top:2px;margin-bottom:2px}.echLegendItem--hidden{color:#98a2b3}.echLegendItem[dir=rtl] .echLegendItem__label{text-align:right}.echReactiveChart_noResults{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;width:100%;height:100%;font-size:12px;font-size:0.8571428571rem;line-height:1.1428571429rem;color:#98a2b3}.echGridContainer{display:grid;width:100%;height:100%;-ms-flex-line-pack:start;align-content:start;-webkit-box-pack:stretch;-ms-flex-pack:stretch;justify-content:stretch;-webkit-box-align:stretch;-ms-flex-align:stretch;align-items:stretch;-webkit-user-select:text;-moz-user-select:text;-ms-user-select:text;user-select:text}.echGridCell{position:relative;width:100%;height:100%;overflow:hidden;-webkit-transition:background-color ease-in-out .1s;transition:background-color ease-in-out .1s}.echGridCell--rightBorder{border-right:1px solid #343741}.echGridCell--bottomBorder{border-bottom:1px solid #343741}.echAlignedGrid{display:grid;-ms-flex-line-pack:stretch;align-content:stretch;width:100%;height:100%}.echAlignedGrid--header{width:100%;height:100%;margin:0;padding:0}.echAlignedGrid__borderRight{border-right:1px solid #edf0f5}.echAlignedGrid__borderBottom{border-bottom:1px solid #edf0f5}.echAlignedGrid--content{width:100%;min-height:0;margin:0;padding:0}.echHighlighter{position:absolute;pointer-events:none;top:0;bottom:0;left:0;right:0;width:100%;height:100%}.echHighlighterOverlay__fill{fill:rgba(255,255,255,.2)}.echHighlighterOverlay__stroke{stroke:rgba(255,255,255,.2)}.echHighlighter__mask{fill:rgba(29,30,36,.5)}.echCrosshair,.echCrosshair__cursor,.echCrosshair__crossLine{position:absolute;top:0;left:0;pointer-events:none}.echScreenReaderOnly{position:absolute;left:-10000px;top:auto;width:1px;height:1px;overflow:hidden}.echScreenReaderOnlyDebug{left:0 !important;top:0 !important;right:0 !important;bottom:0 !important;width:100% !important;height:100% !important;overflow:auto !important;background:rgba(255,255,255,.8)}.echScreenReaderOnlyDebug table,.echScreenReaderOnlyDebug td,.echScreenReaderOnlyDebug th{border:1px solid #000;font-size:12px}.echScreenReaderTable{overflow-x:auto;text-align:left}.echAnnotation{padding:0;-webkit-transition:opacity 250ms;transition:opacity 250ms;pointer-events:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;max-width:260px}.echAnnotation__marker{position:absolute;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;font-size:12px;font-weight:700;line-height:normal}.echAnnotation__details{padding:4px 8px}.echAnnotation__icon{position:relative}.echAnnotation__body{white-space:nowrap}.echCanvasRenderer{position:absolute;top:0;left:0;padding:0;margin:0;border:0;background:transparent}.echMetricContainer{display:grid;width:100%;height:100%;-ms-flex-line-pack:start;align-content:start;-webkit-box-pack:stretch;-ms-flex-pack:stretch;justify-content:stretch;-webkit-box-align:stretch;-ms-flex-align:stretch;align-items:stretch;-webkit-user-select:text;-moz-user-select:text;-ms-user-select:text;user-select:text}.echMetric{position:relative;width:100%;height:100%;overflow:hidden;-webkit-transition:background-color ease-in-out .1s;transition:background-color ease-in-out .1s}.echMetric .echMetric--outline{position:absolute;top:0;left:0;right:0;bottom:0;pointer-events:none}.echMetric:focus-within .echMetric--outline{outline:auto;outline-offset:-1.5px}.echMetric--rightBorder{border-right:1px solid #343741}.echMetric--topBorder{border-top:1px solid #343741}.echMetric--bottomBorder{border-bottom:1px solid #343741}.echMetric--vertical.echMetric--withProgressBar--small{padding-left:10px}.echMetric--vertical.echMetric--withTargetProgressBar--small{padding-left:14px}.echMetric--horizontal.echMetric--withProgressBar--small{padding-bottom:10px}.echMetric--horizontal.echMetric--withTargetProgressBar--small{padding-bottom:12px}.echMetricEmpty{position:absolute;bottom:9px;right:11px;width:20px;border-bottom:1px solid}.echMetricText{position:relative;padding:8px;height:100%;z-index:1;display:grid;grid-template-columns:100%;grid-template-rows:-webkit-min-content -webkit-min-content auto -webkit-min-content -webkit-min-content;grid-template-rows:min-content min-content auto min-content min-content;text-align:left;line-height:1.2}.echMetricText__title{font-weight:bold;word-wrap:break-word}.echMetricText__title button{font-weight:bold;width:100%;text-align:left}.echMetricText__icon{position:absolute;right:8px;top:8px}.echMetricText__subtitle{padding-top:5px;font-weight:normal;text-align:left}.echMetricText__extra{text-align:right;font-weight:normal}.echMetricText__value{position:relative;font-weight:bold;text-align:right;white-space:nowrap;overflow:hidden}.echMetricText__valueIcon{display:inline-block;position:absolute;right:8px;bottom:8px}.echMetricText__part{font-weight:bold}.echMetricText__gap{position:relative}.echMetricText__body{overflow:hidden;position:absolute;top:0;right:0;bottom:0;left:0}.echSingleMetricProgress{position:absolute}.echSingleMetricProgress--vertical{left:0;right:0;top:0;bottom:0;height:100%;width:100%}.echSingleMetricProgress--vertical.echSingleMetricProgress--small{right:auto;width:10px}.echSingleMetricProgress--horizontal{left:0;right:0;width:100%;top:0;bottom:0;height:100%}.echSingleMetricProgress--horizontal.echSingleMetricProgress--small{top:auto;height:10px}.echSingleMetricProgressBar{-webkit-transition:background-color ease-in-out .1s;transition:background-color ease-in-out .1s}.echSingleMetricProgressBar--vertical{position:absolute;left:0;right:0;bottom:0;width:100%}.echSingleMetricProgressBar--horizontal{position:absolute;top:0;bottom:0;left:0;height:100%}.echSingleMetricTarget{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;overflow:visible;z-index:1}.echSingleMetricTarget--vertical{-webkit-transform:rotate(90deg);transform:rotate(90deg);position:absolute;left:100%;bottom:0}.echSingleMetricTarget--horizontal{position:absolute;bottom:100%}.echSingleMetricZeroBaseline{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;overflow:visible}.echSingleMetricZeroBaseline--vertical{position:absolute;left:0}.echSingleMetricZeroBaseline--vertical.echSingleMetricZeroBaseline--small{right:auto;height:2px;width:13px}.echSingleMetricZeroBaseline--horizontal{position:absolute;bottom:0}.echSingleMetricZeroBaseline--horizontal.echSingleMetricZeroBaseline--small{top:auto;width:2px;height:13px}.echSingleMetricSparkline{position:absolute;overflow:hidden;top:0;bottom:0;left:0;right:0}.echSingleMetricSparkline__svg{position:absolute;top:0;bottom:0;left:0;right:0;width:100%;height:100%}.echSingleMetricSparkline__svg rect,.echSingleMetricSparkline__svg path{-webkit-transition:fill ease-in-out .1s;transition:fill ease-in-out .1s}.echSingleMetricChart--small{position:absolute;top:auto;left:auto;bottom:0;right:0;width:100px;height:30px}
|