@fluentui/react-charting 5.21.28 → 5.21.30
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/CHANGELOG.json +55 -1
- package/CHANGELOG.md +24 -2
- package/dist/react-charting.js +1 -0
- package/dist/react-charting.min.js +1 -0
- package/lib/AreaChart.js.map +1 -1
- package/lib/CartesianChart.js.map +1 -1
- package/lib/DonutChart.js.map +1 -1
- package/lib/GaugeChart.js.map +1 -1
- package/lib/GroupedVerticalBarChart.js.map +1 -1
- package/lib/HeatMapChart.js.map +1 -1
- package/lib/HorizontalBarChart.js.map +1 -1
- package/lib/HorizontalBarChartWithAxis.js.map +1 -1
- package/lib/Legends.js.map +1 -1
- package/lib/LineChart.js.map +1 -1
- package/lib/PieChart.js.map +1 -1
- package/lib/SankeyChart.js.map +1 -1
- package/lib/Sparkline.js.map +1 -1
- package/lib/StackedBarChart.js.map +1 -1
- package/lib/Styling.js.map +1 -1
- package/lib/TreeChart.js.map +1 -1
- package/lib/Utilities.js.map +1 -1
- package/lib/VerticalBarChart.js.map +1 -1
- package/lib/VerticalStackedBarChart.js.map +1 -1
- package/lib/components/AreaChart/AreaChart.base.js.map +1 -1
- package/lib/components/AreaChart/AreaChart.js.map +1 -1
- package/lib/components/AreaChart/AreaChart.styles.js.map +1 -1
- package/lib/components/AreaChart/AreaChart.types.js.map +1 -1
- package/lib/components/AreaChart/index.js.map +1 -1
- package/lib/components/CommonComponents/CartesianChart.base.js.map +1 -1
- package/lib/components/CommonComponents/CartesianChart.js.map +1 -1
- package/lib/components/CommonComponents/CartesianChart.styles.js.map +1 -1
- package/lib/components/CommonComponents/CartesianChart.types.js.map +1 -1
- package/lib/components/CommonComponents/index.js.map +1 -1
- package/lib/components/DonutChart/Arc/Arc.js.map +1 -1
- package/lib/components/DonutChart/Arc/Arc.styles.js.map +1 -1
- package/lib/components/DonutChart/Arc/Arc.types.js.map +1 -1
- package/lib/components/DonutChart/Arc/index.js.map +1 -1
- package/lib/components/DonutChart/DonutChart.base.js.map +1 -1
- package/lib/components/DonutChart/DonutChart.js.map +1 -1
- package/lib/components/DonutChart/DonutChart.styles.js.map +1 -1
- package/lib/components/DonutChart/DonutChart.types.js.map +1 -1
- package/lib/components/DonutChart/Pie/Pie.js.map +1 -1
- package/lib/components/DonutChart/Pie/Pie.styles.js.map +1 -1
- package/lib/components/DonutChart/Pie/Pie.types.js.map +1 -1
- package/lib/components/DonutChart/Pie/index.js.map +1 -1
- package/lib/components/DonutChart/index.js.map +1 -1
- package/lib/components/GaugeChart/GaugeChart.base.js.map +1 -1
- package/lib/components/GaugeChart/GaugeChart.js.map +1 -1
- package/lib/components/GaugeChart/GaugeChart.styles.js.map +1 -1
- package/lib/components/GaugeChart/GaugeChart.types.js.map +1 -1
- package/lib/components/GaugeChart/index.js.map +1 -1
- package/lib/components/GroupedVerticalBarChart/GroupedVerticalBarChart.base.js.map +1 -1
- package/lib/components/GroupedVerticalBarChart/GroupedVerticalBarChart.js.map +1 -1
- package/lib/components/GroupedVerticalBarChart/GroupedVerticalBarChart.styles.js.map +1 -1
- package/lib/components/GroupedVerticalBarChart/GroupedVerticalBarChart.types.js.map +1 -1
- package/lib/components/GroupedVerticalBarChart/index.js.map +1 -1
- package/lib/components/HeatMapChart/HeatMapChart.base.js.map +1 -1
- package/lib/components/HeatMapChart/HeatMapChart.js.map +1 -1
- package/lib/components/HeatMapChart/HeatMapChart.styles.js.map +1 -1
- package/lib/components/HeatMapChart/HeatMapChart.types.js.map +1 -1
- package/lib/components/HeatMapChart/index.js.map +1 -1
- package/lib/components/HorizontalBarChart/HorizontalBarChart.base.js.map +1 -1
- package/lib/components/HorizontalBarChart/HorizontalBarChart.js.map +1 -1
- package/lib/components/HorizontalBarChart/HorizontalBarChart.styles.js.map +1 -1
- package/lib/components/HorizontalBarChart/HorizontalBarChart.types.js.map +1 -1
- package/lib/components/HorizontalBarChart/index.js.map +1 -1
- package/lib/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.base.js.map +1 -1
- package/lib/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.js.map +1 -1
- package/lib/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.styles.js.map +1 -1
- package/lib/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.types.js.map +1 -1
- package/lib/components/HorizontalBarChartWithAxis/index.js.map +1 -1
- package/lib/components/Legends/Legends.base.js.map +1 -1
- package/lib/components/Legends/Legends.js.map +1 -1
- package/lib/components/Legends/Legends.styles.js.map +1 -1
- package/lib/components/Legends/Legends.types.js.map +1 -1
- package/lib/components/Legends/index.js.map +1 -1
- package/lib/components/Legends/shape.js.map +1 -1
- package/lib/components/LineChart/LineChart.base.js.map +1 -1
- package/lib/components/LineChart/LineChart.js.map +1 -1
- package/lib/components/LineChart/LineChart.styles.js.map +1 -1
- package/lib/components/LineChart/LineChart.types.js.map +1 -1
- package/lib/components/LineChart/eventAnnotation/EventAnnotation.js.map +1 -1
- package/lib/components/LineChart/eventAnnotation/LabelLink.js.map +1 -1
- package/lib/components/LineChart/eventAnnotation/Textbox.js.map +1 -1
- package/lib/components/LineChart/index.js.map +1 -1
- package/lib/components/PieChart/Arc/Arc.js.map +1 -1
- package/lib/components/PieChart/Arc/Arc.styles.js.map +1 -1
- package/lib/components/PieChart/Arc/Arc.types.js.map +1 -1
- package/lib/components/PieChart/Arc/index.js.map +1 -1
- package/lib/components/PieChart/Pie/Pie.js.map +1 -1
- package/lib/components/PieChart/Pie/Pie.styles.js.map +1 -1
- package/lib/components/PieChart/Pie/Pie.types.js.map +1 -1
- package/lib/components/PieChart/Pie/index.js.map +1 -1
- package/lib/components/PieChart/PieChart.base.js.map +1 -1
- package/lib/components/PieChart/PieChart.js.map +1 -1
- package/lib/components/PieChart/PieChart.styles.js.map +1 -1
- package/lib/components/PieChart/PieChart.types.js.map +1 -1
- package/lib/components/PieChart/index.js.map +1 -1
- package/lib/components/SankeyChart/SankeyChart.base.js.map +1 -1
- package/lib/components/SankeyChart/SankeyChart.js.map +1 -1
- package/lib/components/SankeyChart/SankeyChart.styles.js.map +1 -1
- package/lib/components/SankeyChart/SankeyChart.types.js.map +1 -1
- package/lib/components/SankeyChart/index.js.map +1 -1
- package/lib/components/Sparkline/Sparkline.base.js.map +1 -1
- package/lib/components/Sparkline/Sparkline.js.map +1 -1
- package/lib/components/Sparkline/Sparkline.styles.js.map +1 -1
- package/lib/components/Sparkline/Sparkline.types.js.map +1 -1
- package/lib/components/Sparkline/index.js.map +1 -1
- package/lib/components/StackedBarChart/MultiStackedBarChart.base.js.map +1 -1
- package/lib/components/StackedBarChart/MultiStackedBarChart.js.map +1 -1
- package/lib/components/StackedBarChart/MultiStackedBarChart.styles.js.map +1 -1
- package/lib/components/StackedBarChart/MultiStackedBarChart.types.js.map +1 -1
- package/lib/components/StackedBarChart/StackedBarChart.base.js.map +1 -1
- package/lib/components/StackedBarChart/StackedBarChart.js.map +1 -1
- package/lib/components/StackedBarChart/StackedBarChart.styles.js.map +1 -1
- package/lib/components/StackedBarChart/StackedBarChart.types.js.map +1 -1
- package/lib/components/StackedBarChart/index.js.map +1 -1
- package/lib/components/TreeChart/TreeChart.base.js.map +1 -1
- package/lib/components/TreeChart/TreeChart.js.map +1 -1
- package/lib/components/TreeChart/TreeChart.styles.js.map +1 -1
- package/lib/components/TreeChart/TreeChart.types.js.map +1 -1
- package/lib/components/TreeChart/index.js.map +1 -1
- package/lib/components/VerticalBarChart/VerticalBarChart.base.js.map +1 -1
- package/lib/components/VerticalBarChart/VerticalBarChart.js.map +1 -1
- package/lib/components/VerticalBarChart/VerticalBarChart.styles.js.map +1 -1
- package/lib/components/VerticalBarChart/VerticalBarChart.types.js.map +1 -1
- package/lib/components/VerticalBarChart/index.js.map +1 -1
- package/lib/components/VerticalStackedBarChart/VerticalStackedBarChart.base.js.map +1 -1
- package/lib/components/VerticalStackedBarChart/VerticalStackedBarChart.js.map +1 -1
- package/lib/components/VerticalStackedBarChart/VerticalStackedBarChart.styles.js.map +1 -1
- package/lib/components/VerticalStackedBarChart/VerticalStackedBarChart.types.js.map +1 -1
- package/lib/components/VerticalStackedBarChart/index.js.map +1 -1
- package/lib/index.js.map +1 -1
- package/lib/types/IDataPoint.js.map +1 -1
- package/lib/types/IEventAnnotation.js.map +1 -1
- package/lib/types/ILegendDataItem.js.map +1 -1
- package/lib/types/index.js.map +1 -1
- package/lib/utilities/ChartHoverCard/ChartHoverCard.base.js.map +1 -1
- package/lib/utilities/ChartHoverCard/ChartHoverCard.js.map +1 -1
- package/lib/utilities/ChartHoverCard/ChartHoverCard.styles.js.map +1 -1
- package/lib/utilities/ChartHoverCard/ChartHoverCard.types.js.map +1 -1
- package/lib/utilities/ChartHoverCard/index.js.map +1 -1
- package/lib/utilities/FocusableTooltipText.js.map +1 -1
- package/lib/utilities/SVGTooltipText.js.map +1 -1
- package/lib/utilities/colors.js.map +1 -1
- package/lib/utilities/index.js.map +1 -1
- package/lib/utilities/locale-util.js.map +1 -1
- package/lib/utilities/test-data.js.map +1 -1
- package/lib/utilities/utilities.js.map +1 -1
- package/lib/utilities/vbc-utils.js.map +1 -1
- package/lib/version.js +1 -1
- package/lib/version.js.map +1 -1
- package/lib-amd/AreaChart.d.ts +1 -0
- package/lib-amd/AreaChart.js +6 -0
- package/lib-amd/AreaChart.js.map +1 -0
- package/lib-amd/CartesianChart.d.ts +1 -0
- package/lib-amd/CartesianChart.js +6 -0
- package/lib-amd/CartesianChart.js.map +1 -0
- package/lib-amd/DonutChart.d.ts +1 -0
- package/lib-amd/DonutChart.js +6 -0
- package/lib-amd/DonutChart.js.map +1 -0
- package/lib-amd/GaugeChart.d.ts +1 -0
- package/lib-amd/GaugeChart.js +6 -0
- package/lib-amd/GaugeChart.js.map +1 -0
- package/lib-amd/GroupedVerticalBarChart.d.ts +1 -0
- package/lib-amd/GroupedVerticalBarChart.js +6 -0
- package/lib-amd/GroupedVerticalBarChart.js.map +1 -0
- package/lib-amd/HeatMapChart.d.ts +1 -0
- package/lib-amd/HeatMapChart.js +6 -0
- package/lib-amd/HeatMapChart.js.map +1 -0
- package/lib-amd/HorizontalBarChart.d.ts +1 -0
- package/lib-amd/HorizontalBarChart.js +6 -0
- package/lib-amd/HorizontalBarChart.js.map +1 -0
- package/lib-amd/HorizontalBarChartWithAxis.d.ts +1 -0
- package/lib-amd/HorizontalBarChartWithAxis.js +6 -0
- package/lib-amd/HorizontalBarChartWithAxis.js.map +1 -0
- package/lib-amd/Legends.d.ts +1 -0
- package/lib-amd/Legends.js +6 -0
- package/lib-amd/Legends.js.map +1 -0
- package/lib-amd/LineChart.d.ts +1 -0
- package/lib-amd/LineChart.js +6 -0
- package/lib-amd/LineChart.js.map +1 -0
- package/lib-amd/PieChart.d.ts +1 -0
- package/lib-amd/PieChart.js +6 -0
- package/lib-amd/PieChart.js.map +1 -0
- package/lib-amd/SankeyChart.d.ts +1 -0
- package/lib-amd/SankeyChart.js +6 -0
- package/lib-amd/SankeyChart.js.map +1 -0
- package/lib-amd/Sparkline.d.ts +1 -0
- package/lib-amd/Sparkline.js +6 -0
- package/lib-amd/Sparkline.js.map +1 -0
- package/lib-amd/StackedBarChart.d.ts +1 -0
- package/lib-amd/StackedBarChart.js +6 -0
- package/lib-amd/StackedBarChart.js.map +1 -0
- package/lib-amd/Styling.d.ts +2 -0
- package/lib-amd/Styling.js +75 -0
- package/lib-amd/Styling.js.map +1 -0
- package/lib-amd/TreeChart.d.ts +1 -0
- package/lib-amd/TreeChart.js +6 -0
- package/lib-amd/TreeChart.js.map +1 -0
- package/lib-amd/Utilities.d.ts +2 -0
- package/lib-amd/Utilities.js +183 -0
- package/lib-amd/Utilities.js.map +1 -0
- package/lib-amd/VerticalBarChart.d.ts +1 -0
- package/lib-amd/VerticalBarChart.js +6 -0
- package/lib-amd/VerticalBarChart.js.map +1 -0
- package/lib-amd/VerticalStackedBarChart.d.ts +1 -0
- package/lib-amd/VerticalStackedBarChart.js +6 -0
- package/lib-amd/VerticalStackedBarChart.js.map +1 -0
- package/lib-amd/components/AreaChart/AreaChart.base.d.ts +103 -0
- package/lib-amd/components/AreaChart/AreaChart.base.js +652 -0
- package/lib-amd/components/AreaChart/AreaChart.base.js.map +1 -0
- package/lib-amd/components/AreaChart/AreaChart.d.ts +7 -0
- package/lib-amd/components/AreaChart/AreaChart.js +12 -0
- package/lib-amd/components/AreaChart/AreaChart.js.map +1 -0
- package/lib-amd/components/AreaChart/AreaChart.styles.d.ts +2 -0
- package/lib-amd/components/AreaChart/AreaChart.styles.js +12 -0
- package/lib-amd/components/AreaChart/AreaChart.styles.js.map +1 -0
- package/lib-amd/components/AreaChart/AreaChart.types.d.ts +59 -0
- package/lib-amd/components/AreaChart/AreaChart.types.js +5 -0
- package/lib-amd/components/AreaChart/AreaChart.types.js.map +1 -0
- package/lib-amd/components/AreaChart/index.d.ts +2 -0
- package/lib-amd/components/AreaChart/index.js +7 -0
- package/lib-amd/components/AreaChart/index.js.map +1 -0
- package/lib-amd/components/CommonComponents/CartesianChart.base.d.ts +62 -0
- package/lib-amd/components/CommonComponents/CartesianChart.base.js +593 -0
- package/lib-amd/components/CommonComponents/CartesianChart.base.js.map +1 -0
- package/lib-amd/components/CommonComponents/CartesianChart.d.ts +7 -0
- package/lib-amd/components/CommonComponents/CartesianChart.js +11 -0
- package/lib-amd/components/CommonComponents/CartesianChart.js.map +1 -0
- package/lib-amd/components/CommonComponents/CartesianChart.styles.d.ts +2 -0
- package/lib-amd/components/CommonComponents/CartesianChart.styles.js +180 -0
- package/lib-amd/components/CommonComponents/CartesianChart.styles.js.map +1 -0
- package/lib-amd/components/CommonComponents/CartesianChart.types.d.ts +528 -0
- package/lib-amd/components/CommonComponents/CartesianChart.types.js +5 -0
- package/lib-amd/components/CommonComponents/CartesianChart.types.js.map +1 -0
- package/lib-amd/components/CommonComponents/index.d.ts +2 -0
- package/lib-amd/components/CommonComponents/index.js +7 -0
- package/lib-amd/components/CommonComponents/index.js.map +1 -0
- package/lib-amd/components/DonutChart/Arc/Arc.d.ts +21 -0
- package/lib-amd/components/DonutChart/Arc/Arc.js +88 -0
- package/lib-amd/components/DonutChart/Arc/Arc.js.map +1 -0
- package/lib-amd/components/DonutChart/Arc/Arc.styles.d.ts +2 -0
- package/lib-amd/components/DonutChart/Arc/Arc.styles.js +33 -0
- package/lib-amd/components/DonutChart/Arc/Arc.styles.js.map +1 -0
- package/lib-amd/components/DonutChart/Arc/Arc.types.d.ts +124 -0
- package/lib-amd/components/DonutChart/Arc/Arc.types.js +5 -0
- package/lib-amd/components/DonutChart/Arc/Arc.types.js.map +1 -0
- package/lib-amd/components/DonutChart/Arc/index.d.ts +2 -0
- package/lib-amd/components/DonutChart/Arc/index.js +7 -0
- package/lib-amd/components/DonutChart/Arc/index.js.map +1 -0
- package/lib-amd/components/DonutChart/DonutChart.base.d.ts +54 -0
- package/lib-amd/components/DonutChart/DonutChart.base.js +241 -0
- package/lib-amd/components/DonutChart/DonutChart.base.js.map +1 -0
- package/lib-amd/components/DonutChart/DonutChart.d.ts +7 -0
- package/lib-amd/components/DonutChart/DonutChart.js +12 -0
- package/lib-amd/components/DonutChart/DonutChart.js.map +1 -0
- package/lib-amd/components/DonutChart/DonutChart.styles.d.ts +2 -0
- package/lib-amd/components/DonutChart/DonutChart.styles.js +36 -0
- package/lib-amd/components/DonutChart/DonutChart.styles.js.map +1 -0
- package/lib-amd/components/DonutChart/DonutChart.types.d.ts +75 -0
- package/lib-amd/components/DonutChart/DonutChart.types.js +5 -0
- package/lib-amd/components/DonutChart/DonutChart.types.js.map +1 -0
- package/lib-amd/components/DonutChart/Pie/Pie.d.ts +15 -0
- package/lib-amd/components/DonutChart/Pie/Pie.js +67 -0
- package/lib-amd/components/DonutChart/Pie/Pie.js.map +1 -0
- package/lib-amd/components/DonutChart/Pie/Pie.styles.d.ts +2 -0
- package/lib-amd/components/DonutChart/Pie/Pie.styles.js +24 -0
- package/lib-amd/components/DonutChart/Pie/Pie.styles.js.map +1 -0
- package/lib-amd/components/DonutChart/Pie/Pie.types.d.ts +96 -0
- package/lib-amd/components/DonutChart/Pie/Pie.types.js +5 -0
- package/lib-amd/components/DonutChart/Pie/Pie.types.js.map +1 -0
- package/lib-amd/components/DonutChart/Pie/index.d.ts +2 -0
- package/lib-amd/components/DonutChart/Pie/index.js +7 -0
- package/lib-amd/components/DonutChart/Pie/index.js.map +1 -0
- package/lib-amd/components/DonutChart/index.d.ts +3 -0
- package/lib-amd/components/DonutChart/index.js +8 -0
- package/lib-amd/components/DonutChart/index.js.map +1 -0
- package/lib-amd/components/GaugeChart/GaugeChart.base.d.ts +75 -0
- package/lib-amd/components/GaugeChart/GaugeChart.base.js +410 -0
- package/lib-amd/components/GaugeChart/GaugeChart.base.js.map +1 -0
- package/lib-amd/components/GaugeChart/GaugeChart.d.ts +7 -0
- package/lib-amd/components/GaugeChart/GaugeChart.js +11 -0
- package/lib-amd/components/GaugeChart/GaugeChart.js.map +1 -0
- package/lib-amd/components/GaugeChart/GaugeChart.styles.d.ts +2 -0
- package/lib-amd/components/GaugeChart/GaugeChart.styles.js +122 -0
- package/lib-amd/components/GaugeChart/GaugeChart.styles.js.map +1 -0
- package/lib-amd/components/GaugeChart/GaugeChart.types.d.ts +238 -0
- package/lib-amd/components/GaugeChart/GaugeChart.types.js +22 -0
- package/lib-amd/components/GaugeChart/GaugeChart.types.js.map +1 -0
- package/lib-amd/components/GaugeChart/index.d.ts +2 -0
- package/lib-amd/components/GaugeChart/index.js +7 -0
- package/lib-amd/components/GaugeChart/index.js.map +1 -0
- package/lib-amd/components/GroupedVerticalBarChart/GroupedVerticalBarChart.base.d.ts +72 -0
- package/lib-amd/components/GroupedVerticalBarChart/GroupedVerticalBarChart.base.js +425 -0
- package/lib-amd/components/GroupedVerticalBarChart/GroupedVerticalBarChart.base.js.map +1 -0
- package/lib-amd/components/GroupedVerticalBarChart/GroupedVerticalBarChart.d.ts +7 -0
- package/lib-amd/components/GroupedVerticalBarChart/GroupedVerticalBarChart.js +12 -0
- package/lib-amd/components/GroupedVerticalBarChart/GroupedVerticalBarChart.js.map +1 -0
- package/lib-amd/components/GroupedVerticalBarChart/GroupedVerticalBarChart.styles.d.ts +2 -0
- package/lib-amd/components/GroupedVerticalBarChart/GroupedVerticalBarChart.styles.js +21 -0
- package/lib-amd/components/GroupedVerticalBarChart/GroupedVerticalBarChart.styles.js.map +1 -0
- package/lib-amd/components/GroupedVerticalBarChart/GroupedVerticalBarChart.types.d.ts +111 -0
- package/lib-amd/components/GroupedVerticalBarChart/GroupedVerticalBarChart.types.js +5 -0
- package/lib-amd/components/GroupedVerticalBarChart/GroupedVerticalBarChart.types.js.map +1 -0
- package/lib-amd/components/GroupedVerticalBarChart/index.d.ts +2 -0
- package/lib-amd/components/GroupedVerticalBarChart/index.js +7 -0
- package/lib-amd/components/GroupedVerticalBarChart/index.js.map +1 -0
- package/lib-amd/components/HeatMapChart/HeatMapChart.base.d.ts +152 -0
- package/lib-amd/components/HeatMapChart/HeatMapChart.base.js +538 -0
- package/lib-amd/components/HeatMapChart/HeatMapChart.base.js.map +1 -0
- package/lib-amd/components/HeatMapChart/HeatMapChart.d.ts +7 -0
- package/lib-amd/components/HeatMapChart/HeatMapChart.js +11 -0
- package/lib-amd/components/HeatMapChart/HeatMapChart.js.map +1 -0
- package/lib-amd/components/HeatMapChart/HeatMapChart.styles.d.ts +2 -0
- package/lib-amd/components/HeatMapChart/HeatMapChart.styles.js +29 -0
- package/lib-amd/components/HeatMapChart/HeatMapChart.styles.js.map +1 -0
- package/lib-amd/components/HeatMapChart/HeatMapChart.types.d.ts +122 -0
- package/lib-amd/components/HeatMapChart/HeatMapChart.types.js +5 -0
- package/lib-amd/components/HeatMapChart/HeatMapChart.types.js.map +1 -0
- package/lib-amd/components/HeatMapChart/index.d.ts +2 -0
- package/lib-amd/components/HeatMapChart/index.js +7 -0
- package/lib-amd/components/HeatMapChart/index.js.map +1 -0
- package/lib-amd/components/HorizontalBarChart/HorizontalBarChart.base.d.ts +47 -0
- package/lib-amd/components/HorizontalBarChart/HorizontalBarChart.base.js +270 -0
- package/lib-amd/components/HorizontalBarChart/HorizontalBarChart.base.js.map +1 -0
- package/lib-amd/components/HorizontalBarChart/HorizontalBarChart.d.ts +7 -0
- package/lib-amd/components/HorizontalBarChart/HorizontalBarChart.js +12 -0
- package/lib-amd/components/HorizontalBarChart/HorizontalBarChart.js.map +1 -0
- package/lib-amd/components/HorizontalBarChart/HorizontalBarChart.styles.d.ts +2 -0
- package/lib-amd/components/HorizontalBarChart/HorizontalBarChart.styles.js +69 -0
- package/lib-amd/components/HorizontalBarChart/HorizontalBarChart.styles.js.map +1 -0
- package/lib-amd/components/HorizontalBarChart/HorizontalBarChart.types.d.ts +188 -0
- package/lib-amd/components/HorizontalBarChart/HorizontalBarChart.types.js +14 -0
- package/lib-amd/components/HorizontalBarChart/HorizontalBarChart.types.js.map +1 -0
- package/lib-amd/components/HorizontalBarChart/index.d.ts +3 -0
- package/lib-amd/components/HorizontalBarChart/index.js +8 -0
- package/lib-amd/components/HorizontalBarChart/index.js.map +1 -0
- package/lib-amd/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.base.d.ts +61 -0
- package/lib-amd/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.base.js +499 -0
- package/lib-amd/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.base.js.map +1 -0
- package/lib-amd/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.d.ts +7 -0
- package/lib-amd/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.js +12 -0
- package/lib-amd/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.js.map +1 -0
- package/lib-amd/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.styles.d.ts +2 -0
- package/lib-amd/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.styles.js +17 -0
- package/lib-amd/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.styles.js.map +1 -0
- package/lib-amd/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.types.d.ts +112 -0
- package/lib-amd/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.types.js +5 -0
- package/lib-amd/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.types.js.map +1 -0
- package/lib-amd/components/HorizontalBarChartWithAxis/index.d.ts +2 -0
- package/lib-amd/components/HorizontalBarChartWithAxis/index.js +7 -0
- package/lib-amd/components/HorizontalBarChartWithAxis/index.js.map +1 -0
- package/lib-amd/components/Legends/Legends.base.d.ts +43 -0
- package/lib-amd/components/Legends/Legends.base.js +308 -0
- package/lib-amd/components/Legends/Legends.base.js.map +1 -0
- package/lib-amd/components/Legends/Legends.d.ts +7 -0
- package/lib-amd/components/Legends/Legends.js +11 -0
- package/lib-amd/components/Legends/Legends.js.map +1 -0
- package/lib-amd/components/Legends/Legends.styles.d.ts +2 -0
- package/lib-amd/components/Legends/Legends.styles.js +111 -0
- package/lib-amd/components/Legends/Legends.styles.js.map +1 -0
- package/lib-amd/components/Legends/Legends.types.d.ts +210 -0
- package/lib-amd/components/Legends/Legends.types.js +5 -0
- package/lib-amd/components/Legends/Legends.types.js.map +1 -0
- package/lib-amd/components/Legends/index.d.ts +3 -0
- package/lib-amd/components/Legends/index.js +8 -0
- package/lib-amd/components/Legends/index.js.map +1 -0
- package/lib-amd/components/Legends/shape.d.ts +9 -0
- package/lib-amd/components/Legends/shape.js +27 -0
- package/lib-amd/components/Legends/shape.js.map +1 -0
- package/lib-amd/components/LineChart/LineChart.base.d.ts +92 -0
- package/lib-amd/components/LineChart/LineChart.base.js +861 -0
- package/lib-amd/components/LineChart/LineChart.base.js.map +1 -0
- package/lib-amd/components/LineChart/LineChart.d.ts +7 -0
- package/lib-amd/components/LineChart/LineChart.js +12 -0
- package/lib-amd/components/LineChart/LineChart.js.map +1 -0
- package/lib-amd/components/LineChart/LineChart.styles.d.ts +2 -0
- package/lib-amd/components/LineChart/LineChart.styles.js +12 -0
- package/lib-amd/components/LineChart/LineChart.styles.js.map +1 -0
- package/lib-amd/components/LineChart/LineChart.types.d.ts +98 -0
- package/lib-amd/components/LineChart/LineChart.types.js +5 -0
- package/lib-amd/components/LineChart/LineChart.types.js.map +1 -0
- package/lib-amd/components/LineChart/eventAnnotation/EventAnnotation.d.ts +12 -0
- package/lib-amd/components/LineChart/eventAnnotation/EventAnnotation.js +97 -0
- package/lib-amd/components/LineChart/eventAnnotation/EventAnnotation.js.map +1 -0
- package/lib-amd/components/LineChart/eventAnnotation/LabelLink.d.ts +24 -0
- package/lib-amd/components/LineChart/eventAnnotation/LabelLink.js +42 -0
- package/lib-amd/components/LineChart/eventAnnotation/LabelLink.js.map +1 -0
- package/lib-amd/components/LineChart/eventAnnotation/Textbox.d.ts +13 -0
- package/lib-amd/components/LineChart/eventAnnotation/Textbox.js +40 -0
- package/lib-amd/components/LineChart/eventAnnotation/Textbox.js.map +1 -0
- package/lib-amd/components/LineChart/index.d.ts +3 -0
- package/lib-amd/components/LineChart/index.js +8 -0
- package/lib-amd/components/LineChart/index.js.map +1 -0
- package/lib-amd/components/PieChart/Arc/Arc.d.ts +17 -0
- package/lib-amd/components/PieChart/Arc/Arc.js +85 -0
- package/lib-amd/components/PieChart/Arc/Arc.js.map +1 -0
- package/lib-amd/components/PieChart/Arc/Arc.styles.d.ts +3 -0
- package/lib-amd/components/PieChart/Arc/Arc.styles.js +16 -0
- package/lib-amd/components/PieChart/Arc/Arc.styles.js.map +1 -0
- package/lib-amd/components/PieChart/Arc/Arc.types.d.ts +73 -0
- package/lib-amd/components/PieChart/Arc/Arc.types.js +5 -0
- package/lib-amd/components/PieChart/Arc/Arc.types.js.map +1 -0
- package/lib-amd/components/PieChart/Arc/index.d.ts +2 -0
- package/lib-amd/components/PieChart/Arc/index.js +7 -0
- package/lib-amd/components/PieChart/Arc/index.js.map +1 -0
- package/lib-amd/components/PieChart/Pie/Pie.d.ts +10 -0
- package/lib-amd/components/PieChart/Pie/Pie.js +43 -0
- package/lib-amd/components/PieChart/Pie/Pie.js.map +1 -0
- package/lib-amd/components/PieChart/Pie/Pie.styles.d.ts +2 -0
- package/lib-amd/components/PieChart/Pie/Pie.styles.js +12 -0
- package/lib-amd/components/PieChart/Pie/Pie.styles.js.map +1 -0
- package/lib-amd/components/PieChart/Pie/Pie.types.d.ts +47 -0
- package/lib-amd/components/PieChart/Pie/Pie.types.js +5 -0
- package/lib-amd/components/PieChart/Pie/Pie.types.js.map +1 -0
- package/lib-amd/components/PieChart/Pie/index.d.ts +2 -0
- package/lib-amd/components/PieChart/Pie/index.js +7 -0
- package/lib-amd/components/PieChart/Pie/index.js.map +1 -0
- package/lib-amd/components/PieChart/PieChart.base.d.ts +10 -0
- package/lib-amd/components/PieChart/PieChart.base.js +46 -0
- package/lib-amd/components/PieChart/PieChart.base.js.map +1 -0
- package/lib-amd/components/PieChart/PieChart.d.ts +7 -0
- package/lib-amd/components/PieChart/PieChart.js +12 -0
- package/lib-amd/components/PieChart/PieChart.js.map +1 -0
- package/lib-amd/components/PieChart/PieChart.styles.d.ts +2 -0
- package/lib-amd/components/PieChart/PieChart.styles.js +34 -0
- package/lib-amd/components/PieChart/PieChart.styles.js.map +1 -0
- package/lib-amd/components/PieChart/PieChart.types.d.ts +75 -0
- package/lib-amd/components/PieChart/PieChart.types.js +5 -0
- package/lib-amd/components/PieChart/PieChart.types.js.map +1 -0
- package/lib-amd/components/PieChart/index.d.ts +2 -0
- package/lib-amd/components/PieChart/index.js +7 -0
- package/lib-amd/components/PieChart/index.js.map +1 -0
- package/lib-amd/components/SankeyChart/SankeyChart.base.d.ts +90 -0
- package/lib-amd/components/SankeyChart/SankeyChart.base.js +930 -0
- package/lib-amd/components/SankeyChart/SankeyChart.base.js.map +1 -0
- package/lib-amd/components/SankeyChart/SankeyChart.d.ts +7 -0
- package/lib-amd/components/SankeyChart/SankeyChart.js +12 -0
- package/lib-amd/components/SankeyChart/SankeyChart.js.map +1 -0
- package/lib-amd/components/SankeyChart/SankeyChart.styles.d.ts +2 -0
- package/lib-amd/components/SankeyChart/SankeyChart.styles.js +65 -0
- package/lib-amd/components/SankeyChart/SankeyChart.styles.js.map +1 -0
- package/lib-amd/components/SankeyChart/SankeyChart.types.d.ts +146 -0
- package/lib-amd/components/SankeyChart/SankeyChart.types.js +5 -0
- package/lib-amd/components/SankeyChart/SankeyChart.types.js.map +1 -0
- package/lib-amd/components/SankeyChart/index.d.ts +2 -0
- package/lib-amd/components/SankeyChart/index.js +7 -0
- package/lib-amd/components/SankeyChart/index.js.map +1 -0
- package/lib-amd/components/Sparkline/Sparkline.base.d.ts +23 -0
- package/lib-amd/components/Sparkline/Sparkline.base.js +84 -0
- package/lib-amd/components/Sparkline/Sparkline.base.js.map +1 -0
- package/lib-amd/components/Sparkline/Sparkline.d.ts +7 -0
- package/lib-amd/components/Sparkline/Sparkline.js +12 -0
- package/lib-amd/components/Sparkline/Sparkline.js.map +1 -0
- package/lib-amd/components/Sparkline/Sparkline.styles.d.ts +2 -0
- package/lib-amd/components/Sparkline/Sparkline.styles.js +15 -0
- package/lib-amd/components/Sparkline/Sparkline.styles.js.map +1 -0
- package/lib-amd/components/Sparkline/Sparkline.types.d.ts +59 -0
- package/lib-amd/components/Sparkline/Sparkline.types.js +5 -0
- package/lib-amd/components/Sparkline/Sparkline.types.js.map +1 -0
- package/lib-amd/components/Sparkline/index.d.ts +2 -0
- package/lib-amd/components/Sparkline/index.js +7 -0
- package/lib-amd/components/Sparkline/index.js.map +1 -0
- package/lib-amd/components/StackedBarChart/MultiStackedBarChart.base.d.ts +70 -0
- package/lib-amd/components/StackedBarChart/MultiStackedBarChart.base.js +412 -0
- package/lib-amd/components/StackedBarChart/MultiStackedBarChart.base.js.map +1 -0
- package/lib-amd/components/StackedBarChart/MultiStackedBarChart.d.ts +7 -0
- package/lib-amd/components/StackedBarChart/MultiStackedBarChart.js +12 -0
- package/lib-amd/components/StackedBarChart/MultiStackedBarChart.js.map +1 -0
- package/lib-amd/components/StackedBarChart/MultiStackedBarChart.styles.d.ts +2 -0
- package/lib-amd/components/StackedBarChart/MultiStackedBarChart.styles.js +89 -0
- package/lib-amd/components/StackedBarChart/MultiStackedBarChart.styles.js.map +1 -0
- package/lib-amd/components/StackedBarChart/MultiStackedBarChart.types.d.ts +213 -0
- package/lib-amd/components/StackedBarChart/MultiStackedBarChart.types.js +14 -0
- package/lib-amd/components/StackedBarChart/MultiStackedBarChart.types.js.map +1 -0
- package/lib-amd/components/StackedBarChart/StackedBarChart.base.d.ts +63 -0
- package/lib-amd/components/StackedBarChart/StackedBarChart.base.js +349 -0
- package/lib-amd/components/StackedBarChart/StackedBarChart.base.js.map +1 -0
- package/lib-amd/components/StackedBarChart/StackedBarChart.d.ts +7 -0
- package/lib-amd/components/StackedBarChart/StackedBarChart.js +12 -0
- package/lib-amd/components/StackedBarChart/StackedBarChart.js.map +1 -0
- package/lib-amd/components/StackedBarChart/StackedBarChart.styles.d.ts +2 -0
- package/lib-amd/components/StackedBarChart/StackedBarChart.styles.js +107 -0
- package/lib-amd/components/StackedBarChart/StackedBarChart.styles.js.map +1 -0
- package/lib-amd/components/StackedBarChart/StackedBarChart.types.d.ts +222 -0
- package/lib-amd/components/StackedBarChart/StackedBarChart.types.js +5 -0
- package/lib-amd/components/StackedBarChart/StackedBarChart.types.js.map +1 -0
- package/lib-amd/components/StackedBarChart/index.d.ts +5 -0
- package/lib-amd/components/StackedBarChart/index.js +10 -0
- package/lib-amd/components/StackedBarChart/index.js.map +1 -0
- package/lib-amd/components/TreeChart/TreeChart.base.d.ts +18 -0
- package/lib-amd/components/TreeChart/TreeChart.base.js +320 -0
- package/lib-amd/components/TreeChart/TreeChart.base.js.map +1 -0
- package/lib-amd/components/TreeChart/TreeChart.d.ts +7 -0
- package/lib-amd/components/TreeChart/TreeChart.js +11 -0
- package/lib-amd/components/TreeChart/TreeChart.js.map +1 -0
- package/lib-amd/components/TreeChart/TreeChart.styles.d.ts +2 -0
- package/lib-amd/components/TreeChart/TreeChart.styles.js +34 -0
- package/lib-amd/components/TreeChart/TreeChart.styles.js.map +1 -0
- package/lib-amd/components/TreeChart/TreeChart.types.d.ts +216 -0
- package/lib-amd/components/TreeChart/TreeChart.types.js +34 -0
- package/lib-amd/components/TreeChart/TreeChart.types.js.map +1 -0
- package/lib-amd/components/TreeChart/index.d.ts +2 -0
- package/lib-amd/components/TreeChart/index.js +7 -0
- package/lib-amd/components/TreeChart/index.js.map +1 -0
- package/lib-amd/components/VerticalBarChart/VerticalBarChart.base.d.ts +84 -0
- package/lib-amd/components/VerticalBarChart/VerticalBarChart.base.js +738 -0
- package/lib-amd/components/VerticalBarChart/VerticalBarChart.base.js.map +1 -0
- package/lib-amd/components/VerticalBarChart/VerticalBarChart.d.ts +7 -0
- package/lib-amd/components/VerticalBarChart/VerticalBarChart.js +12 -0
- package/lib-amd/components/VerticalBarChart/VerticalBarChart.js.map +1 -0
- package/lib-amd/components/VerticalBarChart/VerticalBarChart.styles.d.ts +2 -0
- package/lib-amd/components/VerticalBarChart/VerticalBarChart.styles.js +32 -0
- package/lib-amd/components/VerticalBarChart/VerticalBarChart.styles.js.map +1 -0
- package/lib-amd/components/VerticalBarChart/VerticalBarChart.types.d.ts +145 -0
- package/lib-amd/components/VerticalBarChart/VerticalBarChart.types.js +5 -0
- package/lib-amd/components/VerticalBarChart/VerticalBarChart.types.js.map +1 -0
- package/lib-amd/components/VerticalBarChart/index.d.ts +2 -0
- package/lib-amd/components/VerticalBarChart/index.js +7 -0
- package/lib-amd/components/VerticalBarChart/index.js.map +1 -0
- package/lib-amd/components/VerticalStackedBarChart/VerticalStackedBarChart.base.d.ts +92 -0
- package/lib-amd/components/VerticalStackedBarChart/VerticalStackedBarChart.base.js +754 -0
- package/lib-amd/components/VerticalStackedBarChart/VerticalStackedBarChart.base.js.map +1 -0
- package/lib-amd/components/VerticalStackedBarChart/VerticalStackedBarChart.d.ts +7 -0
- package/lib-amd/components/VerticalStackedBarChart/VerticalStackedBarChart.js +12 -0
- package/lib-amd/components/VerticalStackedBarChart/VerticalStackedBarChart.js.map +1 -0
- package/lib-amd/components/VerticalStackedBarChart/VerticalStackedBarChart.styles.d.ts +2 -0
- package/lib-amd/components/VerticalStackedBarChart/VerticalStackedBarChart.styles.js +22 -0
- package/lib-amd/components/VerticalStackedBarChart/VerticalStackedBarChart.styles.js.map +1 -0
- package/lib-amd/components/VerticalStackedBarChart/VerticalStackedBarChart.types.d.ts +172 -0
- package/lib-amd/components/VerticalStackedBarChart/VerticalStackedBarChart.types.js +5 -0
- package/lib-amd/components/VerticalStackedBarChart/VerticalStackedBarChart.types.js.map +1 -0
- package/lib-amd/components/VerticalStackedBarChart/index.d.ts +2 -0
- package/lib-amd/components/VerticalStackedBarChart/index.js +7 -0
- package/lib-amd/components/VerticalStackedBarChart/index.js.map +1 -0
- package/lib-amd/index.d.ts +21 -0
- package/lib-amd/index.js +25 -0
- package/lib-amd/index.js.map +1 -0
- package/lib-amd/types/IDataPoint.d.ts +687 -0
- package/lib-amd/types/IDataPoint.js +5 -0
- package/lib-amd/types/IDataPoint.js.map +1 -0
- package/lib-amd/types/IEventAnnotation.d.ts +6 -0
- package/lib-amd/types/IEventAnnotation.js +5 -0
- package/lib-amd/types/IEventAnnotation.js.map +1 -0
- package/lib-amd/types/ILegendDataItem.d.ts +10 -0
- package/lib-amd/types/ILegendDataItem.js +5 -0
- package/lib-amd/types/ILegendDataItem.js.map +1 -0
- package/lib-amd/types/index.d.ts +2 -0
- package/lib-amd/types/index.js +7 -0
- package/lib-amd/types/index.js.map +1 -0
- package/lib-amd/utilities/ChartHoverCard/ChartHoverCard.base.d.ts +6 -0
- package/lib-amd/utilities/ChartHoverCard/ChartHoverCard.base.js +39 -0
- package/lib-amd/utilities/ChartHoverCard/ChartHoverCard.base.js.map +1 -0
- package/lib-amd/utilities/ChartHoverCard/ChartHoverCard.d.ts +3 -0
- package/lib-amd/utilities/ChartHoverCard/ChartHoverCard.js +8 -0
- package/lib-amd/utilities/ChartHoverCard/ChartHoverCard.js.map +1 -0
- package/lib-amd/utilities/ChartHoverCard/ChartHoverCard.styles.d.ts +2 -0
- package/lib-amd/utilities/ChartHoverCard/ChartHoverCard.styles.js +103 -0
- package/lib-amd/utilities/ChartHoverCard/ChartHoverCard.styles.js.map +1 -0
- package/lib-amd/utilities/ChartHoverCard/ChartHoverCard.types.d.ts +105 -0
- package/lib-amd/utilities/ChartHoverCard/ChartHoverCard.types.js +5 -0
- package/lib-amd/utilities/ChartHoverCard/ChartHoverCard.types.js.map +1 -0
- package/lib-amd/utilities/ChartHoverCard/index.d.ts +3 -0
- package/lib-amd/utilities/ChartHoverCard/index.js +8 -0
- package/lib-amd/utilities/ChartHoverCard/index.js.map +1 -0
- package/lib-amd/utilities/FocusableTooltipText.d.ts +27 -0
- package/lib-amd/utilities/FocusableTooltipText.js +54 -0
- package/lib-amd/utilities/FocusableTooltipText.js.map +1 -0
- package/lib-amd/utilities/SVGTooltipText.d.ts +95 -0
- package/lib-amd/utilities/SVGTooltipText.js +175 -0
- package/lib-amd/utilities/SVGTooltipText.js.map +1 -0
- package/lib-amd/utilities/colors.d.ts +51 -0
- package/lib-amd/utilities/colors.js +139 -0
- package/lib-amd/utilities/colors.js.map +1 -0
- package/lib-amd/utilities/index.d.ts +4 -0
- package/lib-amd/utilities/index.js +9 -0
- package/lib-amd/utilities/index.js.map +1 -0
- package/lib-amd/utilities/locale-util.d.ts +3 -0
- package/lib-amd/utilities/locale-util.js +24 -0
- package/lib-amd/utilities/locale-util.js.map +1 -0
- package/lib-amd/utilities/test-data.d.ts +27 -0
- package/lib-amd/utilities/test-data.js +214 -0
- package/lib-amd/utilities/test-data.js.map +1 -0
- package/lib-amd/utilities/utilities.d.ts +411 -0
- package/lib-amd/utilities/utilities.js +1085 -0
- package/lib-amd/utilities/utilities.js.map +1 -0
- package/lib-amd/utilities/vbc-utils.d.ts +2 -0
- package/lib-amd/utilities/vbc-utils.js +38 -0
- package/lib-amd/utilities/vbc-utils.js.map +1 -0
- package/lib-amd/version.d.ts +1 -0
- package/lib-amd/version.js +6 -0
- package/lib-amd/version.js.map +1 -0
- package/lib-commonjs/AreaChart.js.map +1 -1
- package/lib-commonjs/CartesianChart.js.map +1 -1
- package/lib-commonjs/DonutChart.js.map +1 -1
- package/lib-commonjs/GaugeChart.js.map +1 -1
- package/lib-commonjs/GroupedVerticalBarChart.js.map +1 -1
- package/lib-commonjs/HeatMapChart.js.map +1 -1
- package/lib-commonjs/HorizontalBarChart.js.map +1 -1
- package/lib-commonjs/HorizontalBarChartWithAxis.js.map +1 -1
- package/lib-commonjs/Legends.js.map +1 -1
- package/lib-commonjs/LineChart.js.map +1 -1
- package/lib-commonjs/PieChart.js.map +1 -1
- package/lib-commonjs/SankeyChart.js.map +1 -1
- package/lib-commonjs/Sparkline.js.map +1 -1
- package/lib-commonjs/StackedBarChart.js.map +1 -1
- package/lib-commonjs/Styling.js.map +1 -1
- package/lib-commonjs/TreeChart.js.map +1 -1
- package/lib-commonjs/Utilities.js.map +1 -1
- package/lib-commonjs/VerticalBarChart.js.map +1 -1
- package/lib-commonjs/VerticalStackedBarChart.js.map +1 -1
- package/lib-commonjs/components/AreaChart/AreaChart.base.js.map +1 -1
- package/lib-commonjs/components/AreaChart/AreaChart.js.map +1 -1
- package/lib-commonjs/components/AreaChart/AreaChart.styles.js.map +1 -1
- package/lib-commonjs/components/AreaChart/AreaChart.types.js.map +1 -1
- package/lib-commonjs/components/AreaChart/index.js.map +1 -1
- package/lib-commonjs/components/CommonComponents/CartesianChart.base.js.map +1 -1
- package/lib-commonjs/components/CommonComponents/CartesianChart.js.map +1 -1
- package/lib-commonjs/components/CommonComponents/CartesianChart.styles.js.map +1 -1
- package/lib-commonjs/components/CommonComponents/CartesianChart.types.js.map +1 -1
- package/lib-commonjs/components/CommonComponents/index.js.map +1 -1
- package/lib-commonjs/components/DonutChart/Arc/Arc.js.map +1 -1
- package/lib-commonjs/components/DonutChart/Arc/Arc.styles.js.map +1 -1
- package/lib-commonjs/components/DonutChart/Arc/Arc.types.js.map +1 -1
- package/lib-commonjs/components/DonutChart/Arc/index.js.map +1 -1
- package/lib-commonjs/components/DonutChart/DonutChart.base.js.map +1 -1
- package/lib-commonjs/components/DonutChart/DonutChart.js.map +1 -1
- package/lib-commonjs/components/DonutChart/DonutChart.styles.js.map +1 -1
- package/lib-commonjs/components/DonutChart/DonutChart.types.js.map +1 -1
- package/lib-commonjs/components/DonutChart/Pie/Pie.js.map +1 -1
- package/lib-commonjs/components/DonutChart/Pie/Pie.styles.js.map +1 -1
- package/lib-commonjs/components/DonutChart/Pie/Pie.types.js.map +1 -1
- package/lib-commonjs/components/DonutChart/Pie/index.js.map +1 -1
- package/lib-commonjs/components/DonutChart/index.js.map +1 -1
- package/lib-commonjs/components/GaugeChart/GaugeChart.base.js.map +1 -1
- package/lib-commonjs/components/GaugeChart/GaugeChart.js.map +1 -1
- package/lib-commonjs/components/GaugeChart/GaugeChart.styles.js.map +1 -1
- package/lib-commonjs/components/GaugeChart/GaugeChart.types.js.map +1 -1
- package/lib-commonjs/components/GaugeChart/index.js.map +1 -1
- package/lib-commonjs/components/GroupedVerticalBarChart/GroupedVerticalBarChart.base.js.map +1 -1
- package/lib-commonjs/components/GroupedVerticalBarChart/GroupedVerticalBarChart.js.map +1 -1
- package/lib-commonjs/components/GroupedVerticalBarChart/GroupedVerticalBarChart.styles.js.map +1 -1
- package/lib-commonjs/components/GroupedVerticalBarChart/GroupedVerticalBarChart.types.js.map +1 -1
- package/lib-commonjs/components/GroupedVerticalBarChart/index.js.map +1 -1
- package/lib-commonjs/components/HeatMapChart/HeatMapChart.base.js.map +1 -1
- package/lib-commonjs/components/HeatMapChart/HeatMapChart.js.map +1 -1
- package/lib-commonjs/components/HeatMapChart/HeatMapChart.styles.js.map +1 -1
- package/lib-commonjs/components/HeatMapChart/HeatMapChart.types.js.map +1 -1
- package/lib-commonjs/components/HeatMapChart/index.js.map +1 -1
- package/lib-commonjs/components/HorizontalBarChart/HorizontalBarChart.base.js.map +1 -1
- package/lib-commonjs/components/HorizontalBarChart/HorizontalBarChart.js.map +1 -1
- package/lib-commonjs/components/HorizontalBarChart/HorizontalBarChart.styles.js.map +1 -1
- package/lib-commonjs/components/HorizontalBarChart/HorizontalBarChart.types.js.map +1 -1
- package/lib-commonjs/components/HorizontalBarChart/index.js.map +1 -1
- package/lib-commonjs/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.base.js.map +1 -1
- package/lib-commonjs/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.js.map +1 -1
- package/lib-commonjs/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.styles.js.map +1 -1
- package/lib-commonjs/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.types.js.map +1 -1
- package/lib-commonjs/components/HorizontalBarChartWithAxis/index.js.map +1 -1
- package/lib-commonjs/components/Legends/Legends.base.js.map +1 -1
- package/lib-commonjs/components/Legends/Legends.js.map +1 -1
- package/lib-commonjs/components/Legends/Legends.styles.js.map +1 -1
- package/lib-commonjs/components/Legends/Legends.types.js.map +1 -1
- package/lib-commonjs/components/Legends/index.js.map +1 -1
- package/lib-commonjs/components/Legends/shape.js.map +1 -1
- package/lib-commonjs/components/LineChart/LineChart.base.js.map +1 -1
- package/lib-commonjs/components/LineChart/LineChart.js.map +1 -1
- package/lib-commonjs/components/LineChart/LineChart.styles.js.map +1 -1
- package/lib-commonjs/components/LineChart/LineChart.types.js.map +1 -1
- package/lib-commonjs/components/LineChart/eventAnnotation/EventAnnotation.js.map +1 -1
- package/lib-commonjs/components/LineChart/eventAnnotation/LabelLink.js.map +1 -1
- package/lib-commonjs/components/LineChart/eventAnnotation/Textbox.js.map +1 -1
- package/lib-commonjs/components/LineChart/index.js.map +1 -1
- package/lib-commonjs/components/PieChart/Arc/Arc.js.map +1 -1
- package/lib-commonjs/components/PieChart/Arc/Arc.styles.js.map +1 -1
- package/lib-commonjs/components/PieChart/Arc/Arc.types.js.map +1 -1
- package/lib-commonjs/components/PieChart/Arc/index.js.map +1 -1
- package/lib-commonjs/components/PieChart/Pie/Pie.js.map +1 -1
- package/lib-commonjs/components/PieChart/Pie/Pie.styles.js.map +1 -1
- package/lib-commonjs/components/PieChart/Pie/Pie.types.js.map +1 -1
- package/lib-commonjs/components/PieChart/Pie/index.js.map +1 -1
- package/lib-commonjs/components/PieChart/PieChart.base.js.map +1 -1
- package/lib-commonjs/components/PieChart/PieChart.js.map +1 -1
- package/lib-commonjs/components/PieChart/PieChart.styles.js.map +1 -1
- package/lib-commonjs/components/PieChart/PieChart.types.js.map +1 -1
- package/lib-commonjs/components/PieChart/index.js.map +1 -1
- package/lib-commonjs/components/SankeyChart/SankeyChart.base.js.map +1 -1
- package/lib-commonjs/components/SankeyChart/SankeyChart.js.map +1 -1
- package/lib-commonjs/components/SankeyChart/SankeyChart.styles.js.map +1 -1
- package/lib-commonjs/components/SankeyChart/SankeyChart.types.js.map +1 -1
- package/lib-commonjs/components/SankeyChart/index.js.map +1 -1
- package/lib-commonjs/components/Sparkline/Sparkline.base.js.map +1 -1
- package/lib-commonjs/components/Sparkline/Sparkline.js.map +1 -1
- package/lib-commonjs/components/Sparkline/Sparkline.styles.js.map +1 -1
- package/lib-commonjs/components/Sparkline/Sparkline.types.js.map +1 -1
- package/lib-commonjs/components/Sparkline/index.js.map +1 -1
- package/lib-commonjs/components/StackedBarChart/MultiStackedBarChart.base.js.map +1 -1
- package/lib-commonjs/components/StackedBarChart/MultiStackedBarChart.js.map +1 -1
- package/lib-commonjs/components/StackedBarChart/MultiStackedBarChart.styles.js.map +1 -1
- package/lib-commonjs/components/StackedBarChart/MultiStackedBarChart.types.js.map +1 -1
- package/lib-commonjs/components/StackedBarChart/StackedBarChart.base.js.map +1 -1
- package/lib-commonjs/components/StackedBarChart/StackedBarChart.js.map +1 -1
- package/lib-commonjs/components/StackedBarChart/StackedBarChart.styles.js.map +1 -1
- package/lib-commonjs/components/StackedBarChart/StackedBarChart.types.js.map +1 -1
- package/lib-commonjs/components/StackedBarChart/index.js.map +1 -1
- package/lib-commonjs/components/TreeChart/TreeChart.base.js.map +1 -1
- package/lib-commonjs/components/TreeChart/TreeChart.js.map +1 -1
- package/lib-commonjs/components/TreeChart/TreeChart.styles.js.map +1 -1
- package/lib-commonjs/components/TreeChart/TreeChart.types.js.map +1 -1
- package/lib-commonjs/components/TreeChart/index.js.map +1 -1
- package/lib-commonjs/components/VerticalBarChart/VerticalBarChart.base.js.map +1 -1
- package/lib-commonjs/components/VerticalBarChart/VerticalBarChart.js.map +1 -1
- package/lib-commonjs/components/VerticalBarChart/VerticalBarChart.styles.js.map +1 -1
- package/lib-commonjs/components/VerticalBarChart/VerticalBarChart.types.js.map +1 -1
- package/lib-commonjs/components/VerticalBarChart/index.js.map +1 -1
- package/lib-commonjs/components/VerticalStackedBarChart/VerticalStackedBarChart.base.js.map +1 -1
- package/lib-commonjs/components/VerticalStackedBarChart/VerticalStackedBarChart.js.map +1 -1
- package/lib-commonjs/components/VerticalStackedBarChart/VerticalStackedBarChart.styles.js.map +1 -1
- package/lib-commonjs/components/VerticalStackedBarChart/VerticalStackedBarChart.types.js.map +1 -1
- package/lib-commonjs/components/VerticalStackedBarChart/index.js.map +1 -1
- package/lib-commonjs/index.js.map +1 -1
- package/lib-commonjs/types/IDataPoint.js.map +1 -1
- package/lib-commonjs/types/IEventAnnotation.js.map +1 -1
- package/lib-commonjs/types/ILegendDataItem.js.map +1 -1
- package/lib-commonjs/types/index.js.map +1 -1
- package/lib-commonjs/utilities/ChartHoverCard/ChartHoverCard.base.js.map +1 -1
- package/lib-commonjs/utilities/ChartHoverCard/ChartHoverCard.js.map +1 -1
- package/lib-commonjs/utilities/ChartHoverCard/ChartHoverCard.styles.js.map +1 -1
- package/lib-commonjs/utilities/ChartHoverCard/ChartHoverCard.types.js.map +1 -1
- package/lib-commonjs/utilities/ChartHoverCard/index.js.map +1 -1
- package/lib-commonjs/utilities/FocusableTooltipText.js.map +1 -1
- package/lib-commonjs/utilities/SVGTooltipText.js.map +1 -1
- package/lib-commonjs/utilities/colors.js.map +1 -1
- package/lib-commonjs/utilities/index.js.map +1 -1
- package/lib-commonjs/utilities/locale-util.js.map +1 -1
- package/lib-commonjs/utilities/test-data.js.map +1 -1
- package/lib-commonjs/utilities/utilities.js.map +1 -1
- package/lib-commonjs/utilities/vbc-utils.js.map +1 -1
- package/lib-commonjs/version.js +1 -1
- package/lib-commonjs/version.js.map +1 -1
- package/package.json +4 -4
- package/project.json +1 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var FluentUIReactCharting;!function(){"use strict";var t={934:function(t,n,i){i.d(n,{DU:function(){return o},Iy:function(){return u}});var e,r=i(192);function o(t){e!==t&&(e=t)}function a(){return void 0===e&&(e="undefined"!=typeof document&&!!document.documentElement&&"rtl"===document.documentElement.getAttribute("dir")),e}function u(){return{rtl:a(),shadowConfig:r.ou}}e=a()},290:function(t,n,i){i.d(n,{nr:function(){return l}});var e,r=i(608),o=i(192),a="__stylesheet__",u="undefined"!=typeof navigator&&/rv:11.0/.test(navigator.userAgent),s={};try{s=window||{}}catch(t){}var l=function(){function t(t,n){var i,e,o,a,u,s;this._rules=[],this._preservedRules=[],this._counter=0,this._keyToClassName={},this._onInsertRuleCallbacks=[],this._onResetCallbacks=[],this._classNameToArgs={},this._config=(0,r.Cl)({injectionMode:"undefined"==typeof document?0:1,defaultPrefix:"css",namespace:void 0,cspSettings:void 0},t),this._classNameToArgs=null!==(i=null==n?void 0:n.classNameToArgs)&&void 0!==i?i:this._classNameToArgs,this._counter=null!==(e=null==n?void 0:n.counter)&&void 0!==e?e:this._counter,this._keyToClassName=null!==(a=null!==(o=this._config.classNameCache)&&void 0!==o?o:null==n?void 0:n.keyToClassName)&&void 0!==a?a:this._keyToClassName,this._preservedRules=null!==(u=null==n?void 0:n.preservedRules)&&void 0!==u?u:this._preservedRules,this._rules=null!==(s=null==n?void 0:n.rules)&&void 0!==s?s:this._rules}return t.getInstance=function(n){if(e=s[a],s[o.Se])return s[o.Se].getInstance(n);if(!e||e._lastStyleElement&&e._lastStyleElement.ownerDocument!==document){var i=(null==s?void 0:s.FabricConfig)||{},r=new t(i.mergeStyles,i.serializedStylesheet);e=r,s[a]=r}return e},t.prototype.serialize=function(){return JSON.stringify({classNameToArgs:this._classNameToArgs,counter:this._counter,keyToClassName:this._keyToClassName,preservedRules:this._preservedRules,rules:this._rules})},t.prototype.setConfig=function(t){this._config=(0,r.Cl)((0,r.Cl)({},this._config),t)},t.prototype.onReset=function(t){var n=this;return this._onResetCallbacks.push(t),function(){n._onResetCallbacks=n._onResetCallbacks.filter((function(n){return n!==t}))}},t.prototype.onInsertRule=function(t){var n=this;return this._onInsertRuleCallbacks.push(t),function(){n._onInsertRuleCallbacks=n._onInsertRuleCallbacks.filter((function(n){return n!==t}))}},t.prototype.getClassName=function(t){var n=this._config.namespace,i=t||this._config.defaultPrefix;return"".concat(n?n+"-":"").concat(i,"-").concat(this._counter++)},t.prototype.cacheClassName=function(t,n,i,e){this._keyToClassName[this._getCacheKey(n)]=t,this._classNameToArgs[t]={args:i,rules:e}},t.prototype.classNameFromKey=function(t){return this._keyToClassName[this._getCacheKey(t)]},t.prototype.getClassNameCache=function(){return this._keyToClassName},t.prototype.argsFromClassName=function(t){var n=this._classNameToArgs[t];return n&&n.args},t.prototype.insertedRulesFromClassName=function(t){var n=this._classNameToArgs[t];return n&&n.rules},t.prototype.insertRule=function(t,n,i){void 0===i&&(i=o.P6);var e=this._config.injectionMode,r=0!==e?this._getStyleElement():void 0;if(n&&this._preservedRules.push(t),r)switch(e){case 1:this._insertRuleIntoSheet(r.sheet,t);break;case 2:r.appendChild(document.createTextNode(t))}else this._rules.push(t);this._config.onInsertRule&&this._config.onInsertRule(t),this._onInsertRuleCallbacks.forEach((function(n){return n({key:i,sheet:r?r.sheet:void 0,rule:t})}))},t.prototype.getRules=function(t){return(t?this._preservedRules.join(""):"")+this._rules.join("")},t.prototype.reset=function(){this._rules=[],this._counter=0,this._classNameToArgs={},this._keyToClassName={},this._onResetCallbacks.forEach((function(t){return t()}))},t.prototype.resetKeys=function(){this._keyToClassName={}},t.prototype._createStyleElement=function(){var t,n=(null===(t=this._config.window)||void 0===t?void 0:t.document)||document,i=n.head,e=n.createElement("style"),r=null;e.setAttribute("data-merge-styles","true");var o=this._config.cspSettings;if(o&&o.nonce&&e.setAttribute("nonce",o.nonce),this._lastStyleElement)r=this._lastStyleElement.nextElementSibling;else{var a=this._findPlaceholderStyleTag();r=a?a.nextElementSibling:i.childNodes[0]}return i.insertBefore(e,i.contains(r)?r:null),this._lastStyleElement=e,e},t.prototype._insertRuleIntoSheet=function(t,n){if(!t)return!1;try{return t.insertRule(n,t.cssRules.length),!0}catch(t){}return!1},t.prototype._getCacheKey=function(t){return t},t.prototype._getStyleElement=function(){var t=this;return this._styleElement||(this._styleElement=this._createStyleElement(),u||(this._config.window||window).requestAnimationFrame((function(){t._styleElement=void 0}))),this._styleElement},t.prototype._findPlaceholderStyleTag=function(){var t=document.head;return t?t.querySelector("style[data-merge-styles]"):null},t}()},572:function(t,n,i){i.d(n,{T:function(){return o}});var e=i(608),r=i(192);function o(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];if(t&&1===t.length&&t[0]&&!t[0].subComponentStyles&&!(0,r.db)(t[0]))return t[0];for(var i={},a={},u=0,s=t;u<s.length;u++){var l=s[u];if(l&&!(0,r.db)(l))for(var c in l)if(l.hasOwnProperty(c)){if("subComponentStyles"===c&&void 0!==l.subComponentStyles){var f=l.subComponentStyles;for(var h in f)f.hasOwnProperty(h)&&(a.hasOwnProperty(h)?a[h].push(f[h]):a[h]=[f[h]]);continue}var d=i[c],v=l[c];i[c]=void 0===d?v:(0,e.fX)((0,e.fX)([],Array.isArray(d)?d:[d],!0),Array.isArray(v)?v:[v],!0)}}if(Object.keys(a).length>0){i.subComponentStyles={};var p=i.subComponentStyles,g=function(t){if(a.hasOwnProperty(t)){var n=a[t];p[t]=function(t){return o.apply(void 0,n.map((function(n){return"function"==typeof n?n(t):n})))}}};for(var h in a)g(h)}return i}},316:function(t,n,i){i.d(n,{h:function(){return r}});var e=i(192);function r(t){for(var n=[],i=1;i<arguments.length;i++)n[i-1]=arguments[i];var r=[],o=[],a=t;return function t(n){for(var i=0,u=n;i<u.length;i++){var s=u[i];if(s&&!(0,e.db)(s))if("string"==typeof s)if(s.indexOf(" ")>=0)t(s.split(" "));else{var l=a.argsFromClassName(s);l?t(l):-1===r.indexOf(s)&&r.push(s)}else Array.isArray(s)?t(s):"object"==typeof s&&o.push(s)}}(n),{classes:r,objects:o}}},106:function(t,n,i){i.d(n,{Z:function(){return s}});var e=i(316),r=i(192),o=i(934),a=i(290),u=i(359);function s(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return function(t,n){var i=t instanceof Array?t:[t],o=n||{};(0,r.db)(i[0])&&(o.shadowConfig=i[0]),o.stylesheet=a.nr.getInstance(o.shadowConfig);var s=(0,e.h)(o.stylesheet,i),l=s.classes,c=s.objects;return c.length&&l.push((0,u.kG)(o,c)),l.join(" ")}(t,(0,o.Iy)())}},192:function(t,n,i){i.d(n,{P6:function(){return e},Se:function(){return r},db:function(){return a},ou:function(){return o}});var e="__global__",r="__shadow_dom_stylesheet__",o={stylesheetKey:e,inShadow:!1,window:void 0,__isShadowConfig__:!0},a=function(t){return!(!t||!function(t){return null!==t&&"object"==typeof t&&!Array.isArray(t)}(t))&&!0===t.__isShadowConfig__}},359:function(t,n,i){i.d(n,{Ae:function(){return V},bz:function(){return S},kG:function(){return A},GJ:function(){return L}});var e,r=i(608),o=i(290),a={},u={"user-select":1};function s(t,n){var i=function(){var t;if(!e){var n="undefined"!=typeof document?document:void 0,i="undefined"!=typeof navigator?navigator:void 0,r=null===(t=null==i?void 0:i.userAgent)||void 0===t?void 0:t.toLowerCase();e=n?{isWebkit:!(!n||!("WebkitAppearance"in n.documentElement.style)),isMoz:!!(r&&r.indexOf("firefox")>-1),isOpera:!!(r&&r.indexOf("opera")>-1),isMs:!(!i||!/rv:11.0/i.test(i.userAgent)&&!/Edge\/\d./i.test(navigator.userAgent))}:{isWebkit:!0,isMoz:!0,isOpera:!0,isMs:!0}}return e}(),r=t[n];if(u[r]){var o=t[n+1];u[r]&&(i.isWebkit&&t.push("-webkit-"+r,o),i.isMoz&&t.push("-moz-"+r,o),i.isMs&&t.push("-ms-"+r,o),i.isOpera&&t.push("-o-"+r,o))}}var l,c=["column-count","font-weight","flex","flex-grow","flex-shrink","fill-opacity","opacity","order","z-index","zoom"];function f(t,n){var i=t[n],e=t[n+1];if("number"==typeof e){var r=c.indexOf(i)>-1,o=i.indexOf("--")>-1,a=r||o?"":"px";t[n+1]="".concat(e).concat(a)}}var h="left",d="right",v="@noflip",p=((l={})[h]=d,l[d]=h,l),g={"w-resize":"e-resize","sw-resize":"se-resize","nw-resize":"ne-resize"};function m(t,n,i){if(t.rtl){var e=n[i];if(!e)return;var r=n[i+1];if("string"==typeof r&&r.indexOf(v)>=0)n[i+1]=r.replace(/\s*(?:\/\*\s*)?\@noflip\b(?:\s*\*\/)?\s*?/g,"");else if(e.indexOf(h)>=0)n[i]=e.replace(h,d);else if(e.indexOf(d)>=0)n[i]=e.replace(d,h);else if(String(r).indexOf(h)>=0)n[i+1]=r.replace(h,d);else if(String(r).indexOf(d)>=0)n[i+1]=r.replace(d,h);else if(p[e])n[i]=p[e];else if(g[r])n[i+1]=g[r];else switch(e){case"margin":case"padding":n[i+1]=function(t){if("string"==typeof t){var n=t.split(" ");if(4===n.length)return"".concat(n[0]," ").concat(n[3]," ").concat(n[2]," ").concat(n[1])}return t}(r);break;case"box-shadow":n[i+1]=function(t,n){var i=t.split(" "),e=parseInt(i[0],10);return i[0]=i[0].replace(String(e),String(-1*e)),i.join(" ")}(r)}}}var y="displayName",b=/\:global\((.+?)\)/g;function x(t,n){return t.indexOf(":global(")>=0?t.replace(b,"$1"):0===t.indexOf(":host(")?t:0===t.indexOf(":")?n+t:t.indexOf("&")<0?n+" "+t:t}function w(t,n,i,e,r){void 0===n&&(n={__order:[]}),0===i.indexOf("@")?M([e],n,i=i+"{"+t,r):i.indexOf(",")>-1?function(t){if(!b.test(t))return t;for(var n=[],i=/\:global\((.+?)\)/g,e=null;e=i.exec(t);)e[1].indexOf(",")>-1&&n.push([e.index,e.index+e[0].length,e[1].split(",").map((function(t){return":global(".concat(t.trim(),")")})).join(", ")]);return n.reverse().reduce((function(t,n){var i=n[0],e=n[1],r=n[2];return t.slice(0,i)+r+t.slice(e)}),t)}(i).split(",").map((function(t){return t.trim()})).forEach((function(i){return M([e],n,x(i,t),r)})):M([e],n,x(i,t),r)}function M(t,n,i,e){void 0===n&&(n={__order:[]}),void 0===i&&(i="&");var r,o=n[i];o||(o={},n[i]=o,n.__order.push(i));for(var a=0,u=t;a<u.length;a++){var s=u[a];if("string"==typeof s){var l=e.argsFromClassName(s);l&&M(l,n,i,e)}else if(Array.isArray(s))M(s,n,i,e);else for(var c in s)if(s.hasOwnProperty(c)){var f=s[c];if("selectors"===c){var h=s.selectors;for(var d in h)h.hasOwnProperty(d)&&w(i,n,d,h[d],e)}else"object"==typeof f||(r=c).indexOf(":global(")>=0||0===r.indexOf(":")?null!=f&&w(i,n,c,f,e):void 0!==f&&("margin"===c||"padding"===c?C(o,c,f):o[c]=f)}}return n}function C(t,n,i){var e="string"==typeof i?function(t){for(var n=[],i=0,e=0,r=0;r<t.length;r++)switch(t[r]){case"(":e++;break;case")":e&&e--;break;case"\t":case" ":e||(r>i&&n.push(t.substring(i,r)),i=r+1)}return i<t.length&&n.push(t.substring(i)),n}(i):[i];0===e.length&&e.push(i),"!important"===e[e.length-1]&&(e=e.slice(0,-1).map((function(t){return t+" !important"}))),t[n+"Top"]=e[0],t[n+"Right"]=e[1]||e[0],t[n+"Bottom"]=e[2]||e[0],t[n+"Left"]=e[3]||e[1]||e[0]}function k(t,n){return n<=0?"":1===n?t:t+k(t,n-1)}function S(t,n){if(!n)return"";var i,e,r,o=[];for(var u in n)n.hasOwnProperty(u)&&u!==y&&void 0!==n[u]&&o.push(u,n[u]);for(var l=0;l<o.length;l+=2)r=void 0,"-"!==(r=(i=o)[e=l]).charAt(0)&&(i[e]=a[r]=a[r]||r.replace(/([A-Z])/g,"-$1").toLowerCase()),f(o,l),m(t,o,l),s(o,l);for(l=1;l<o.length;l+=4)o.splice(l,1,":",o[l],";");return o.join("")}function L(t){for(var n,i=[],e=1;e<arguments.length;e++)i[e-1]=arguments[e];var r=null!==(n=t.stylesheet)&&void 0!==n?n:o.nr.getInstance(t.shadowConfig),a=M(i,void 0,void 0,r),u=function(t,n){for(var i=[t.rtl?"rtl":"ltr"],e=!1,r=0,o=n.__order;r<o.length;r++){var a=o[r];i.push(a);var u=n[a];for(var s in u)u.hasOwnProperty(s)&&void 0!==u[s]&&(e=!0,i.push(s,u[s]))}return e?i.join(""):void 0}(t,a);if(u){var s={className:r.classNameFromKey(u),key:u,args:i};if(!s.className){s.className=r.getClassName(function(t){var n=t&&t["&"];return n?n.displayName:void 0}(a));for(var l=[],c=0,f=a.__order;c<f.length;c++){var h=f[c];l.push(h,S(t,a[h]))}s.rulesToInsert=l}return s}}function V(t,n,i,e){void 0===n&&(n=1);var r=null!=e?e:o.nr.getInstance(i),a=t.className,u=t.key,s=t.args,l=t.rulesToInsert;if(l){for(var c=0;c<l.length;c+=2){var f=l[c+1];if(f){var h=l[c];h=h.replace(/&/g,k(".".concat(t.className),n));var d="".concat(h,"{").concat(f,"}").concat(0===h.indexOf("@")?"}":"");r.insertRule(d)}}r.cacheClassName(a,u,s,l)}}function A(t){for(var n=[],i=1;i<arguments.length;i++)n[i-1]=arguments[i];var e=L.apply(void 0,(0,r.fX)([t],n,!1));return e?(V(e,t.specificityMultiplier,t.shadowConfig,t.stylesheet),e.className):""}},395:function(t,n,i){i.r(n),i.d(n,{ChartHoverCard:function(){return f}});var e=i(761),r=i(608),o=i(594),a=i(799),u=i(464),s=(0,a.Z)(),l=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return(0,r.C6)(n,t),n.prototype.render=function(){var t=this.props,n=t.color,i=t.Legend,e=t.XValue,r=t.YValue,a=t.styles,l=t.theme,c=t.ratio,f=t.descriptionMessage,h=t.culture;return this._classNames=s(a,{theme:l,color:n,XValue:e,isRatioPresent:!!c}),o.createElement("div",{className:this._classNames.calloutContentRoot},o.createElement("div",{className:this._classNames.calloutDateTimeContainer},o.createElement("div",{className:this._classNames.calloutContentX},e," ")),o.createElement("div",{className:this._classNames.calloutInfoContainer},o.createElement("div",{className:this._classNames.calloutBlockContainer},o.createElement("div",{className:this._classNames.calloutlegendText},(0,u.U)(i,h)),o.createElement("div",{className:this._classNames.calloutContentY},(0,u.U)(r,h))),!!c&&o.createElement("div",{className:this._classNames.ratio},o.createElement(o.Fragment,null,o.createElement("span",{className:this._classNames.numerator},(0,u.U)(c[0],h)),"/",o.createElement("span",{className:this._classNames.denominator},(0,u.U)(c[1],h))))),!!f&&o.createElement("div",{className:this._classNames.descriptionMessage},f))},n}(o.Component),c=i(714),f=(0,e.I)(l,c.J)},714:function(t,n,i){i.d(n,{J:function(){return r}});var e=i(286),r=function(t){var n,i,r,o=t.color,a=t.XValue,u=t.theme,s=t.isRatioPresent,l=void 0!==s&&s;return{calloutContentRoot:[{display:"grid",overflow:"hidden",padding:"11px 16px 10px 16px",backgroundColor:u.semanticColors.bodyBackground,backgroundBlendMode:"normal, luminosity"}],calloutDateTimeContainer:{display:"flex",flexDirection:"row",justifyContent:"space-between"},calloutContentX:[u.fonts.small,{lineHeight:"16px",opacity:"0.85",color:u.semanticColors.bodySubtext}],calloutBlockContainer:[u.fonts.xxLarge,{marginTop:a?"13px":"unset",paddingLeft:"8px",lineHeight:"22px",color:u.semanticColors.bodyText,borderLeft:"4px solid ".concat(o),selectors:(n={},n[e.up]={forcedColorAdjust:"none"},n)}],calloutlegendText:[u.fonts.small,{lineHeight:"16px",color:u.semanticColors.bodyText,selectors:(i={},i[e.NK]={color:"rgb(255, 255, 255)"},i)}],calloutContentY:[u.fonts.xxLarge,{color:o||u.semanticColors.bodyText,fontWeight:"bold",lineHeight:"36px",selectors:(r={},r[e.NK]={color:"rgb(255, 255, 255)"},r)}],calloutInfoContainer:[l&&{display:"flex",alignItems:"flex-end"}],ratio:[u.fonts.small,{marginLeft:"6px",color:u.semanticColors.bodyText}],numerator:{fontWeight:e.BO.bold},denominator:{fontWeight:e.BO.semibold},descriptionMessage:[u.fonts.small,{color:u.semanticColors.bodyText,marginTop:"10px",paddingTop:"10px",borderTop:"1px solid ".concat(u.semanticColors.menuDivider)}]}}},464:function(t,n,i){i.d(n,{U:function(){return e}});var e=function(t,n){return t?(n=n||void 0,"number"==typeof t?t.toLocaleString(n):"string"!=typeof t||window.isNaN(Number(t))?t instanceof Date?t.toLocaleDateString(n):t:Number(t).toLocaleString(n)):t}},409:function(t,n,i){i.d(n,{v:function(){return o}});var e={},r=void 0;try{r=window}catch(t){}function o(t,n){if(void 0!==r){var i=r.__packages__=r.__packages__||{};i[t]&&e[t]||(e[t]=n,(i[t]=i[t]||[]).push(n))}}o("@fluentui/set-version","6.0.0")},286:function(t,n,i){i.d(n,{lw:function(){return K},bp:function(){return kt.b},s:function(){return St.s},BO:function(){return St.BO},up:function(){return it},NK:function(){return et},nA:function(){return nt},QN:function(){return at},gm:function(){return ot},Km:function(){return tt},O4:function(){return Ct},dX:function(){return J}});var e=i(106),r=i(934),o=i(290),a=i(359);function u(t){var n=o.nr.getInstance(),i=[];for(var e in t)t.hasOwnProperty(e)&&i.push(e,"{",(0,a.bz)((0,r.Iy)(),t[e]),"}");var u=i.join(""),s=n.classNameFromKey(u);if(s)return s;var l=n.getClassName();return n.insertRule("@keyframes ".concat(l,"{").concat(u,"}"),!0),n.cacheClassName(l,u,[],["keyframes",u]),l}var s="cubic-bezier(.1,.9,.2,1)",l="cubic-bezier(.1,.25,.75,.9)",c="0.167s",f="0.267s",h="0.367s",d="0.467s",v=u({from:{opacity:0},to:{opacity:1}}),p=u({from:{opacity:1},to:{opacity:0,visibility:"hidden"}}),g=$(-10),m=$(-20),y=$(-40),b=$(-400),x=$(10),w=$(20),M=$(40),C=$(400),k=U(10),S=U(20),L=U(-10),V=U(-20),A=G(10),N=G(20),D=G(40),T=G(400),O=G(-10),P=G(-20),E=G(-40),F=G(-400),B=Z(-10),H=Z(-20),_=Z(10),I=Z(20),W=u({from:{transform:"scale3d(.98,.98,1)"},to:{transform:"scale3d(1,1,1)"}}),R=u({from:{transform:"scale3d(1,1,1)"},to:{transform:"scale3d(.98,.98,1)"}}),z=u({from:{transform:"scale3d(1.03,1.03,1)"},to:{transform:"scale3d(1,1,1)"}}),Y=u({from:{transform:"scale3d(1,1,1)"},to:{transform:"scale3d(1.03,1.03,1)"}}),j=u({from:{transform:"rotateZ(0deg)"},to:{transform:"rotateZ(90deg)"}}),X=u({from:{transform:"rotateZ(0deg)"},to:{transform:"rotateZ(-90deg)"}});function q(t,n,i){return{animationName:t,animationDuration:n,animationTimingFunction:i,animationFillMode:"both"}}function $(t){return u({from:{transform:"translate3d(".concat(t,"px,0,0)"),pointerEvents:"none"},to:{transform:"translate3d(0,0,0)",pointerEvents:"auto"}})}function U(t){return u({from:{transform:"translate3d(0,".concat(t,"px,0)"),pointerEvents:"none"},to:{transform:"translate3d(0,0,0)",pointerEvents:"auto"}})}function G(t){return u({from:{transform:"translate3d(0,0,0)"},to:{transform:"translate3d(".concat(t,"px,0,0)")}})}function Z(t){return u({from:{transform:"translate3d(0,0,0)"},to:{transform:"translate3d(0,".concat(t,"px,0)")}})}var K=function(t){var n={},i=function(i){var r;t.hasOwnProperty(i)&&Object.defineProperty(n,i,{get:function(){return void 0===r&&(r=(0,e.Z)(t[i]).toString()),r},enumerable:!0,configurable:!0})};for(var r in t)i(r);return n}({slideRightIn10:q("".concat(v,",").concat(g),h,s),slideRightIn20:q("".concat(v,",").concat(m),h,s),slideRightIn40:q("".concat(v,",").concat(y),h,s),slideRightIn400:q("".concat(v,",").concat(b),h,s),slideLeftIn10:q("".concat(v,",").concat(x),h,s),slideLeftIn20:q("".concat(v,",").concat(w),h,s),slideLeftIn40:q("".concat(v,",").concat(M),h,s),slideLeftIn400:q("".concat(v,",").concat(C),h,s),slideUpIn10:q("".concat(v,",").concat(k),h,s),slideUpIn20:q("".concat(v,",").concat(S),h,s),slideDownIn10:q("".concat(v,",").concat(L),h,s),slideDownIn20:q("".concat(v,",").concat(V),h,s),slideRightOut10:q("".concat(p,",").concat(A),h,s),slideRightOut20:q("".concat(p,",").concat(N),h,s),slideRightOut40:q("".concat(p,",").concat(D),h,s),slideRightOut400:q("".concat(p,",").concat(T),h,s),slideLeftOut10:q("".concat(p,",").concat(O),h,s),slideLeftOut20:q("".concat(p,",").concat(P),h,s),slideLeftOut40:q("".concat(p,",").concat(E),h,s),slideLeftOut400:q("".concat(p,",").concat(F),h,s),slideUpOut10:q("".concat(p,",").concat(B),h,s),slideUpOut20:q("".concat(p,",").concat(H),h,s),slideDownOut10:q("".concat(p,",").concat(_),h,s),slideDownOut20:q("".concat(p,",").concat(I),h,s),scaleUpIn100:q("".concat(v,",").concat(W),h,s),scaleDownIn100:q("".concat(v,",").concat(z),h,s),scaleUpOut103:q("".concat(p,",").concat(Y),c,l),scaleDownOut98:q("".concat(p,",").concat(R),c,l),fadeIn100:q(v,c,l),fadeIn200:q(v,f,l),fadeIn400:q(v,h,l),fadeIn500:q(v,d,l),fadeOut100:q(p,c,l),fadeOut200:q(p,f,l),fadeOut400:q(p,h,l),fadeOut500:q(p,d,l),rotate90deg:q(j,"0.1s",l),rotateN90deg:q(X,"0.1s",l)}),J={position:"absolute",width:1,height:1,margin:-1,padding:0,border:0,overflow:"hidden",whiteSpace:"nowrap"},Q=(0,i(351).J9)((function(t,n){var i=o.nr.getInstance();return n?Object.keys(t).reduce((function(n,e){return n[e]=i.getClassName(t[e]),n}),{}):t}));function tt(t,n,i){return Q(t,void 0!==i?i:n.disableGlobalClassNames)}var nt,it="@media screen and (-ms-high-contrast: active), screen and (forced-colors: active)",et="@media screen and (-ms-high-contrast: white-on-black), screen and (forced-colors: active) and (prefers-color-scheme: dark)",rt=i(119);function ot(t,n,i,e,r,o,a,u){return function(t,n){var i,e;void 0===n&&(n={});var r=n.borderRadius,o=n.inset,a=void 0===o?0:o,u=n.width,s=void 0===u?1:u,l=n.position,c=void 0===l?"relative":l,f=n.highContrastStyle,h=n.borderColor,d=void 0===h?t.palette.white:h,v=n.outlineColor,p=void 0===v?t.palette.neutralSecondary:v,g=n.isFocusedOnly,m=void 0===g||g,y=n.pointerEvents;return{outline:"transparent",position:c,selectors:(i={"::-moz-focus-inner":{border:"0"}},i[".".concat(rt.Y2," &").concat(m?":focus":"",":after, :host(.").concat(rt.Y2,") &").concat(m?":focus":"",":after")]={content:'""',position:"absolute",pointerEvents:y,left:a+1,top:a+1,bottom:a+1,right:a+1,border:"".concat(s,"px solid ").concat(d),outline:"".concat(s,"px solid ").concat(p),zIndex:nt.FocusStyle,borderRadius:r,selectors:(e={},e[it]=f,e)},i)}}(t,"number"!=typeof n&&n?n:{inset:n,position:i,highContrastStyle:e,borderColor:r,outlineColor:o,isFocusedOnly:a,borderRadius:u})}function at(){return{selectors:{"&::-moz-focus-inner":{border:0},"&":{outline:"transparent"}}}}!function(t){t.Nav=1,t.ScrollablePane=1,t.FocusStyle=1,t.Coachmark=1e3,t.Layer=1e6,t.KeytipLayer=1000001}(nt||(nt={}));var ut,st=i(608),lt=i(308),ct=i(86),ft=function(){return ft=Object.assign||function(t){for(var n,i=1,e=arguments.length;i<e;i++)for(var r in n=arguments[i])Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r]);return t},ft.apply(this,arguments)},ht="undefined"==typeof window?i.g:window,dt=ht&&ht.CSPSettings&&ht.CSPSettings.nonce,vt=((ut=ht.__themeState__||{theme:void 0,lastStyleElement:void 0,registeredStyles:[]}).runState||(ut=ft({},ut,{perf:{count:0,duration:0},runState:{flushTimer:0,mode:0,buffer:[]}})),ut.registeredThemableStyles||(ut=ft({},ut,{registeredThemableStyles:[]})),ht.__themeState__=ut,ut);function pt(t){vt.theme=t,function(){if(vt.theme){for(var t=[],n=0,i=vt.registeredThemableStyles;n<i.length;n++){var e=i[n];t.push(e.themableStyle)}t.length>0&&(void 0===(o=1)&&(o=3),3!==o&&2!==o||(gt(vt.registeredStyles),vt.registeredStyles=[]),3!==o&&1!==o||(gt(vt.registeredThemableStyles),vt.registeredThemableStyles=[]),r=[].concat.apply([],t),vt.loadStyles?vt.loadStyles(mt(r).styleString,r):function(t){if("undefined"!=typeof document){var n=document.getElementsByTagName("head")[0],i=document.createElement("style"),e=mt(t),r=e.styleString,o=e.themable;i.setAttribute("data-load-themed-styles","true"),i.type="text/css",dt&&i.setAttribute("nonce",dt),i.appendChild(document.createTextNode(r)),vt.perf.count++,n.appendChild(i);var a=document.createEvent("HTMLEvents");a.initEvent("styleinsert",!0,!1),a.args={newStyle:i},document.dispatchEvent(a);var u={styleElement:i,themableStyle:t};o?vt.registeredThemableStyles.push(u):vt.registeredStyles.push(u)}}(r))}var r,o}()}function gt(t){t.forEach((function(t){var n=t&&t.styleElement;n&&n.parentElement&&n.parentElement.removeChild(n)}))}function mt(t){var n=vt.theme,i=!1;return{styleString:(t||[]).map((function(t){var e=t.theme;if(e){i=!0;var r=n?n[e]:void 0,o=t.defaultValue||"inherit";return n&&!r&&console&&!(e in n)&&"undefined"!=typeof DEBUG&&DEBUG&&console.warn('Theming value not provided for "'+e+'". Falling back to "'+o+'".'),r||o}return t.rawString})).join(""),themable:i}}var yt=i(253),bt=(0,yt.a)({}),xt=[],wt="theme";function Mt(){var t,n,i,e=(0,lt.z)();(null===(n=null==e?void 0:e.FabricConfig)||void 0===n?void 0:n.legacyTheme)?function(t,n){var i;void 0===n&&(n=!1),bt=(0,yt.a)(t,n),pt((0,st.Cl)((0,st.Cl)((0,st.Cl)((0,st.Cl)({},bt.palette),bt.semanticColors),bt.effects),function(t){for(var n={},i=0,e=Object.keys(t.fonts);i<e.length;i++)for(var r=e[i],o=t.fonts[r],a=0,u=Object.keys(o);a<u.length;a++){var s=u[a],l=r+s.charAt(0).toUpperCase()+s.slice(1),c=o[s];"fontSize"===s&&"number"==typeof c&&(c+="px"),n[l]=c}return n}(bt))),ct.X.applySettings(((i={})[wt]=bt,i)),xt.forEach((function(t){try{t(bt)}catch(t){}}))}(e.FabricConfig.legacyTheme):ct.X.getSettings([wt]).theme||((null===(i=null==e?void 0:e.FabricConfig)||void 0===i?void 0:i.theme)&&(bt=(0,yt.a)(e.FabricConfig.theme)),ct.X.applySettings(((t={})[wt]=bt,t)))}function Ct(t){return void 0===t&&(t=!1),!0===t&&(bt=(0,yt.a)({},t)),bt}Mt();var kt=i(823),St=i(703);(0,i(409).v)("@fluentui/style-utilities","8.10.20"),Mt()},823:function(t,n,i){i.d(n,{b:function(){return e}});var e={themeDarker:"#004578",themeDark:"#005a9e",themeDarkAlt:"#106ebe",themePrimary:"#0078d4",themeSecondary:"#2b88d8",themeTertiary:"#71afe5",themeLight:"#c7e0f4",themeLighter:"#deecf9",themeLighterAlt:"#eff6fc",black:"#000000",blackTranslucent40:"rgba(0,0,0,.4)",neutralDark:"#201f1e",neutralPrimary:"#323130",neutralPrimaryAlt:"#3b3a39",neutralSecondary:"#605e5c",neutralSecondaryAlt:"#8a8886",neutralTertiary:"#a19f9d",neutralTertiaryAlt:"#c8c6c4",neutralQuaternary:"#d2d0ce",neutralQuaternaryAlt:"#e1dfdd",neutralLight:"#edebe9",neutralLighter:"#f3f2f1",neutralLighterAlt:"#faf9f8",accent:"#0078d4",white:"#ffffff",whiteTranslucent40:"rgba(255,255,255,.4)",yellowDark:"#d29200",yellow:"#ffb900",yellowLight:"#fff100",orange:"#d83b01",orangeLight:"#ea4300",orangeLighter:"#ff8c00",redDark:"#a4262c",red:"#e81123",magentaDark:"#5c005c",magenta:"#b4009e",magentaLight:"#e3008c",purpleDark:"#32145a",purple:"#5c2d91",purpleLight:"#b4a0ff",blueDark:"#002050",blueMid:"#00188f",blue:"#0078d4",blueLight:"#00bcf2",tealDark:"#004b50",teal:"#008272",tealLight:"#00b294",greenDark:"#004b1c",green:"#107c10",greenLight:"#bad80a"}},253:function(t,n,i){i.d(n,{a:function(){return N}});var e,r=i(823);!function(t){t.depth0="0 0 0 0 transparent",t.depth4="0 1.6px 3.6px 0 rgba(0, 0, 0, 0.132), 0 0.3px 0.9px 0 rgba(0, 0, 0, 0.108)",t.depth8="0 3.2px 7.2px 0 rgba(0, 0, 0, 0.132), 0 0.6px 1.8px 0 rgba(0, 0, 0, 0.108)",t.depth16="0 6.4px 14.4px 0 rgba(0, 0, 0, 0.132), 0 1.2px 3.6px 0 rgba(0, 0, 0, 0.108)",t.depth64="0 25.6px 57.6px 0 rgba(0, 0, 0, 0.22), 0 4.8px 14.4px 0 rgba(0, 0, 0, 0.18)"}(e||(e={}));var o={elevation4:e.depth4,elevation8:e.depth8,elevation16:e.depth16,elevation64:e.depth64,roundedCorner2:"2px",roundedCorner4:"4px",roundedCorner6:"6px"},a=i(934),u=i(290),s=i(359),l=i(703),c="'Segoe UI', '".concat(l.Dn.WestEuropean,"'"),f={ar:l.bi.Arabic,bg:l.bi.Cyrillic,cs:l.bi.EastEuropean,el:l.bi.Greek,et:l.bi.EastEuropean,he:l.bi.Hebrew,hi:l.bi.Hindi,hr:l.bi.EastEuropean,hu:l.bi.EastEuropean,ja:l.bi.Japanese,kk:l.bi.EastEuropean,ko:l.bi.Korean,lt:l.bi.EastEuropean,lv:l.bi.EastEuropean,pl:l.bi.EastEuropean,ru:l.bi.Cyrillic,sk:l.bi.EastEuropean,"sr-latn":l.bi.EastEuropean,th:l.bi.Thai,tr:l.bi.EastEuropean,uk:l.bi.Cyrillic,vi:l.bi.Vietnamese,"zh-hans":l.bi.ChineseSimplified,"zh-hant":l.bi.ChineseTraditional,hy:l.bi.Armenian,ka:l.bi.Georgian};function h(t,n,i){return{fontFamily:i,MozOsxFontSmoothing:"grayscale",WebkitFontSmoothing:"antialiased",fontSize:t,fontWeight:n}}var d,v,p,g=i(741),m=i(308),y=i(74),b="language",x=(v=function(t){for(var n in f)if(f.hasOwnProperty(n)&&t&&0===n.indexOf(t))return f[n];return c}(function(t){if(void 0===t&&(t="sessionStorage"),void 0===d){var n=(0,g.Y)(),i="localStorage"===t?function(t){var n=null;try{var i=(0,m.z)();n=i?i.localStorage.getItem(t):null}catch(t){}return n}(b):"sessionStorage"===t?y.G(b):void 0;i&&(d=i),void 0===d&&n&&(d=n.documentElement.getAttribute("lang")),void 0===d&&(d="en")}return d}()),p="".concat(v,", ").concat("'Segoe UI', -apple-system, BlinkMacSystemFont, 'Roboto', 'Helvetica Neue', sans-serif"),{tiny:h(l.s.mini,l.BO.regular,p),xSmall:h(l.s.xSmall,l.BO.regular,p),small:h(l.s.small,l.BO.regular,p),smallPlus:h(l.s.smallPlus,l.BO.regular,p),medium:h(l.s.medium,l.BO.regular,p),mediumPlus:h(l.s.mediumPlus,l.BO.regular,p),large:h(l.s.large,l.BO.regular,p),xLarge:h(l.s.xLarge,l.BO.semibold,p),xLargePlus:h(l.s.xLargePlus,l.BO.semibold,p),xxLarge:h(l.s.xxLarge,l.BO.semibold,p),xxLargePlus:h(l.s.xxLargePlus,l.BO.semibold,p),superLarge:h(l.s.superLarge,l.BO.semibold,p),mega:h(l.s.mega,l.BO.semibold,p)});function w(t,n,i,e){!function(t){var n=u.nr.getInstance(),i=(0,s.bz)((0,a.Iy)(),t);if(!n.classNameFromKey(i)){var e=n.getClassName();n.insertRule("@font-face{".concat(i,"}"),!0),n.cacheClassName(e,i,[],["font-face",i])}}({fontFamily:t="'".concat(t,"'"),src:(void 0!==e?"local('".concat(e,"'),"):"")+"url('".concat(n,".woff2') format('woff2'),")+"url('".concat(n,".woff') format('woff')"),fontWeight:i,fontStyle:"normal",fontDisplay:"swap"})}function M(t,n,i,e,r){void 0===e&&(e="segoeui");var o="".concat(t,"/").concat(i,"/").concat(e);w(n,o+"-light",l.BO.light,r&&r+" Light"),w(n,o+"-semilight",l.BO.semilight,r&&r+" SemiLight"),w(n,o+"-regular",l.BO.regular,r),w(n,o+"-semibold",l.BO.semibold,r&&r+" SemiBold"),w(n,o+"-bold",l.BO.bold,r&&r+" Bold")}function C(t){for(var n=[],i=1;i<arguments.length;i++)n[i-1]=arguments[i];for(var e=0,r=n;e<r.length;e++)k(t||{},r[e]);return t}function k(t,n,i){for(var e in void 0===i&&(i=[]),i.push(n),n)if(n.hasOwnProperty(e)&&"__proto__"!==e&&"constructor"!==e&&"prototype"!==e){var r=n[e];if("object"!=typeof r||null===r||Array.isArray(r))t[e]=r;else{var o=i.indexOf(r)>-1;t[e]=o?r:k(t[e]||{},r,i)}}return i.pop(),t}!function(t){if(t){var n="".concat(t,"/fonts");M(n,l.Dn.Thai,"leelawadeeui-thai","leelawadeeui"),M(n,l.Dn.Arabic,"segoeui-arabic"),M(n,l.Dn.Cyrillic,"segoeui-cyrillic"),M(n,l.Dn.EastEuropean,"segoeui-easteuropean"),M(n,l.Dn.Greek,"segoeui-greek"),M(n,l.Dn.Hebrew,"segoeui-hebrew"),M(n,l.Dn.Vietnamese,"segoeui-vietnamese"),M(n,l.Dn.WestEuropean,"segoeui-westeuropean","segoeui","Segoe UI"),M(n,l.bi.Selawik,"selawik","selawik"),M(n,l.Dn.Armenian,"segoeui-armenian"),M(n,l.Dn.Georgian,"segoeui-georgian"),w("Leelawadee UI Web","".concat(n,"/leelawadeeui-thai/leelawadeeui-semilight"),l.BO.light),w("Leelawadee UI Web","".concat(n,"/leelawadeeui-thai/leelawadeeui-bold"),l.BO.semibold)}}(function(){var t,n,i=null===(t=(0,m.z)())||void 0===t?void 0:t.FabricConfig;return null!==(n=null==i?void 0:i.fontBaseUrl)&&void 0!==n?n:"https://res-1.cdn.office.net/files/fabric-cdn-prod_20230815.002/assets"}());var S=i(608);function L(t,n,i,e,r){return void 0===r&&(r=!1),function(t,n){var i="";return!0===n&&(i=" /* @deprecated */"),t.listTextColor=t.listText+i,t.menuItemBackgroundChecked+=i,t.warningHighlight+=i,t.warningText=t.messageText+i,t.successText+=i,t}(V(t,n,(0,S.Cl)({primaryButtonBorder:"transparent",errorText:e?"#F1707B":"#a4262c",messageText:e?"#F3F2F1":"#323130",messageLink:e?"#6CB8F6":"#005A9E",messageLinkHovered:e?"#82C7FF":"#004578",infoIcon:e?"#C8C6C4":"#605e5c",errorIcon:e?"#F1707B":"#A80000",blockingIcon:e?"#442726":"#FDE7E9",warningIcon:e?"#C8C6C4":"#797775",severeWarningIcon:e?"#FCE100":"#D83B01",successIcon:e?"#92C353":"#107C10",infoBackground:e?"#323130":"#f3f2f1",errorBackground:e?"#442726":"#FDE7E9",blockingBackground:e?"#442726":"#FDE7E9",warningBackground:e?"#433519":"#FFF4CE",severeWarningBackground:e?"#4F2A0F":"#FED9CC",successBackground:e?"#393D1B":"#DFF6DD",warningHighlight:e?"#fff100":"#ffb900",successText:e?"#92c353":"#107C10"},i),e),r)}function V(t,n,i,e,r){void 0===r&&(r=!1);var o={},a=t||{},u=a.white,s=a.black,l=a.themePrimary,c=a.themeDark,f=a.themeDarker,h=a.themeDarkAlt,d=a.themeLighter,v=a.neutralLight,p=a.neutralLighter,g=a.neutralDark,m=a.neutralQuaternary,y=a.neutralQuaternaryAlt,b=a.neutralPrimary,x=a.neutralSecondary,w=a.neutralSecondaryAlt,M=a.neutralTertiary,C=a.neutralTertiaryAlt,k=a.neutralLighterAlt,L=a.accent;return u&&(o.bodyBackground=u,o.bodyFrameBackground=u,o.accentButtonText=u,o.buttonBackground=u,o.primaryButtonText=u,o.primaryButtonTextHovered=u,o.primaryButtonTextPressed=u,o.inputBackground=u,o.inputForegroundChecked=u,o.listBackground=u,o.menuBackground=u,o.cardStandoutBackground=u),s&&(o.bodyTextChecked=s,o.buttonTextCheckedHovered=s),l&&(o.link=l,o.primaryButtonBackground=l,o.inputBackgroundChecked=l,o.inputIcon=l,o.inputFocusBorderAlt=l,o.menuIcon=l,o.menuHeader=l,o.accentButtonBackground=l),c&&(o.primaryButtonBackgroundPressed=c,o.inputBackgroundCheckedHovered=c,o.inputIconHovered=c),f&&(o.linkHovered=f),h&&(o.primaryButtonBackgroundHovered=h),d&&(o.inputPlaceholderBackgroundChecked=d),v&&(o.bodyBackgroundChecked=v,o.bodyFrameDivider=v,o.bodyDivider=v,o.variantBorder=v,o.buttonBackgroundCheckedHovered=v,o.buttonBackgroundPressed=v,o.listItemBackgroundChecked=v,o.listHeaderBackgroundPressed=v,o.menuItemBackgroundPressed=v,o.menuItemBackgroundChecked=v),p&&(o.bodyBackgroundHovered=p,o.buttonBackgroundHovered=p,o.buttonBackgroundDisabled=p,o.buttonBorderDisabled=p,o.primaryButtonBackgroundDisabled=p,o.disabledBackground=p,o.listItemBackgroundHovered=p,o.listHeaderBackgroundHovered=p,o.menuItemBackgroundHovered=p),m&&(o.primaryButtonTextDisabled=m,o.disabledSubtext=m),y&&(o.listItemBackgroundCheckedHovered=y),M&&(o.disabledBodyText=M,o.variantBorderHovered=(null==i?void 0:i.variantBorderHovered)||M,o.buttonTextDisabled=M,o.inputIconDisabled=M,o.disabledText=M),b&&(o.bodyText=b,o.actionLink=b,o.buttonText=b,o.inputBorderHovered=b,o.inputText=b,o.listText=b,o.menuItemText=b),k&&(o.bodyStandoutBackground=k,o.defaultStateBackground=k),g&&(o.actionLinkHovered=g,o.buttonTextHovered=g,o.buttonTextChecked=g,o.buttonTextPressed=g,o.inputTextHovered=g,o.menuItemTextHovered=g),x&&(o.bodySubtext=x,o.focusBorder=x,o.inputBorder=x,o.smallInputBorder=x,o.inputPlaceholderText=x),w&&(o.buttonBorder=w),C&&(o.disabledBodySubtext=C,o.disabledBorder=C,o.buttonBackgroundChecked=C,o.menuDivider=C),L&&(o.accentButtonBackground=L),(null==n?void 0:n.elevation4)&&(o.cardShadow=n.elevation4),!e&&(null==n?void 0:n.elevation8)?o.cardShadowHovered=n.elevation8:o.variantBorderHovered&&(o.cardShadowHovered="0 0 1px "+o.variantBorderHovered),(0,S.Cl)((0,S.Cl)({},o),i)}var A={s2:"4px",s1:"8px",m:"16px",l1:"20px",l2:"32px"};function N(t,n){void 0===t&&(t={}),void 0===n&&(n=!1);var i=!!t.isInverted;return function(t,n){var i,e,r;void 0===n&&(n={});var o=C({},t,n,{semanticColors:V(n.palette,n.effects,n.semanticColors,void 0===n.isInverted?t.isInverted:n.isInverted)});if((null===(i=n.palette)||void 0===i?void 0:i.themePrimary)&&!(null===(e=n.palette)||void 0===e?void 0:e.accent)&&(o.palette.accent=n.palette.themePrimary),n.defaultFontStyle)for(var a=0,u=Object.keys(o.fonts);a<u.length;a++){var s=u[a];o.fonts[s]=C(o.fonts[s],n.defaultFontStyle,null===(r=null==n?void 0:n.fonts)||void 0===r?void 0:r[s])}return o}({palette:r.b,effects:o,fonts:x,spacing:A,isInverted:i,disableGlobalClassNames:!1,semanticColors:L(r.b,o,void 0,i,n),rtl:void 0},t)}},703:function(t,n,i){var e,r,o,a,u;i.d(n,{BO:function(){return a},Dn:function(){return e},bi:function(){return r},s:function(){return o}}),function(t){t.Arabic="Segoe UI Web (Arabic)",t.Cyrillic="Segoe UI Web (Cyrillic)",t.EastEuropean="Segoe UI Web (East European)",t.Greek="Segoe UI Web (Greek)",t.Hebrew="Segoe UI Web (Hebrew)",t.Thai="Leelawadee UI Web",t.Vietnamese="Segoe UI Web (Vietnamese)",t.WestEuropean="Segoe UI Web (West European)",t.Selawik="Selawik Web",t.Armenian="Segoe UI Web (Armenian)",t.Georgian="Segoe UI Web (Georgian)"}(e||(e={})),function(t){t.Arabic="'".concat(e.Arabic,"'"),t.ChineseSimplified="'Microsoft Yahei UI', Verdana, Simsun",t.ChineseTraditional="'Microsoft Jhenghei UI', Pmingliu",t.Cyrillic="'".concat(e.Cyrillic,"'"),t.EastEuropean="'".concat(e.EastEuropean,"'"),t.Greek="'".concat(e.Greek,"'"),t.Hebrew="'".concat(e.Hebrew,"'"),t.Hindi="'Nirmala UI'",t.Japanese="'Yu Gothic UI', 'Meiryo UI', Meiryo, 'MS Pgothic', Osaka",t.Korean="'Malgun Gothic', Gulim",t.Selawik="'".concat(e.Selawik,"'"),t.Thai="'Leelawadee UI Web', 'Kmer UI'",t.Vietnamese="'".concat(e.Vietnamese,"'"),t.WestEuropean="'".concat(e.WestEuropean,"'"),t.Armenian="'".concat(e.Armenian,"'"),t.Georgian="'".concat(e.Georgian,"'")}(r||(r={})),function(t){t.size10="10px",t.size12="12px",t.size14="14px",t.size16="16px",t.size18="18px",t.size20="20px",t.size24="24px",t.size28="28px",t.size32="32px",t.size42="42px",t.size68="68px",t.mini="10px",t.xSmall="10px",t.small="12px",t.smallPlus="12px",t.medium="14px",t.mediumPlus="16px",t.icon="16px",t.large="18px",t.xLarge="20px",t.xLargePlus="24px",t.xxLarge="28px",t.xxLargePlus="32px",t.superLarge="42px",t.mega="68px"}(o||(o={})),function(t){t.light=100,t.semilight=300,t.regular=400,t.semibold=600,t.bold=700}(a||(a={})),function(t){t.xSmall="10px",t.small="12px",t.medium="16px",t.large="20px"}(u||(u={}))},799:function(t,n,i){i.d(n,{Z:function(){return g}});var e=i(290),r=i(608),o=i(572),a=i(316),u=i(359),s=i(192);var l=i(709),c=i(308),f=50,h=5,d=0,v=e.nr.getInstance();v&&v.onReset&&v.onReset((function(){return d++}));var p="__retval__";function g(t){void 0===t&&(t={});var n=new Map,i=0,v=0,g=d;return function(m,b){var x;if(void 0===b&&(b={}),t.useStaticStyles&&"function"==typeof m&&m.__noStyleOverride__)return m(b);v++;var w=m?m.__shadowConfig__:void 0,M=w&&w.window?w.window:"__default__";n.has(M)||n.set(M,new Map);var C=n.get(M),k=b.theme,S=k&&void 0!==k.rtl?k.rtl:(0,l.jI)(),L=t.disableCaching;if(g!==d&&(g=d,n.set(M,new Map),C=n.get(M),i=0),t.disableCaching||(C=y(n.get(M),m),C=y(C,b)),!L&&C[p]||(C[p]=void 0===m?{}:function(t,n){var i,l={subComponentStyles:{}},c=void 0;(0,s.db)(t[0])?(c=t[0],i=t[1]):i=t[0],null!=c||(c=null==n?void 0:n.shadowConfig);var f=(0,r.Cl)((0,r.Cl)({},n),{shadowConfig:c});if(!i&&t.length<=1)return{subComponentStyles:{}};var h=e.nr.getInstance(c);f.stylesheet=h;var d=o.T.apply(void 0,t),v=[];for(var p in d)if(d.hasOwnProperty(p)){if("subComponentStyles"===p){l.subComponentStyles=d.subComponentStyles||{};continue}if("__shadowConfig__"===p)continue;var g=d[p],m=(0,a.h)(h,g),y=m.classes,b=m.objects;(null==b?void 0:b.length)?(M=(0,u.GJ)(f||{},{displayName:p},b))&&(v.push(M),l[p]=y.concat([M.className]).join(" ")):l[p]=y.join(" ")}for(var x=0,w=v;x<w.length;x++){var M;(M=w[x])&&(0,u.Ae)(M,null==n?void 0:n.specificityMultiplier,c)}return l}(["function"==typeof m?m(b):m],{shadowConfig:m.__shadowConfig__,rtl:!!S,specificityMultiplier:t.useStaticStyles?h:void 0}),L||i++),i>(t.cacheSize||f)){var V=(0,c.z)();(null===(x=null==V?void 0:V.FabricConfig)||void 0===x?void 0:x.enableClassNameCacheFullWarning)&&(console.warn("Styles are being recalculated too frequently. Cache miss rate is ".concat(i,"/").concat(v,".")),console.trace()),n.get(M).clear(),i=0,t.disableCaching=!0}return C[p]}}function m(t,n){return n=function(t){switch(t){case void 0:return"__undefined__";case null:return"__null__";default:return t}}(n),t.has(n)||t.set(n,new Map),t.get(n)}function y(t,n){if("function"==typeof n)if(n.__cachedInputs__)for(var i=0,e=n.__cachedInputs__;i<e.length;i++)t=m(t,e[i]);else t=m(t,n);else if("object"==typeof n)for(var r in n)n.hasOwnProperty(r)&&(t=m(t,n[r]));return t}},86:function(t,n,i){i.d(n,{X:function(){return v}});var e=i(608),r=i(308),o="__globalSettings__",a="__callbacks__",u=0,s=function(){function t(){}return t.getValue=function(t,n){var i=l();return void 0===i[t]&&(i[t]="function"==typeof n?n():n),i[t]},t.setValue=function(t,n){var i=l(),e=i[a],r=i[t];if(n!==r){i[t]=n;var o={oldValue:r,value:n,key:t};for(var u in e)e.hasOwnProperty(u)&&e[u](o)}return n},t.addChangeListener=function(t){var n=t.__id__,i=c();n||(n=t.__id__=String(u++)),i[n]=t},t.removeChangeListener=function(t){delete c()[t.__id__]},t}();function l(){var t,n=(0,r.z)()||{};return n[o]||(n[o]=((t={})[a]={},t)),n[o]}function c(){return l()[a]}var f={settings:{},scopedSettings:{},inCustomizerContext:!1},h=s.getValue("customizations",{settings:{},scopedSettings:{},inCustomizerContext:!1}),d=[],v=function(){function t(){}return t.reset=function(){h.settings={},h.scopedSettings={}},t.applySettings=function(n){h.settings=(0,e.Cl)((0,e.Cl)({},h.settings),n),t._raiseChange()},t.applyScopedSettings=function(n,i){h.scopedSettings[n]=(0,e.Cl)((0,e.Cl)({},h.scopedSettings[n]),i),t._raiseChange()},t.getSettings=function(t,n,i){void 0===i&&(i=f);for(var e={},r=n&&i.scopedSettings[n]||{},o=n&&h.scopedSettings[n]||{},a=0,u=t;a<u.length;a++){var s=u[a];e[s]=r[s]||i.settings[s]||o[s]||h.settings[s]}return e},t.applyBatchedUpdates=function(n,i){t._suppressUpdates=!0;try{n()}catch(t){}t._suppressUpdates=!1,i||t._raiseChange()},t.observe=function(t){d.push(t)},t.unobserve=function(t){d=d.filter((function(n){return n!==t}))},t._raiseChange=function(){t._suppressUpdates||d.forEach((function(t){return t()}))},t}()},956:function(t,n,i){i.d(n,{z:function(){return e}});var e=i(594).createContext({customizations:{inCustomizerContext:!1,settings:{},scopedSettings:{}}})},927:function(t,n,i){function e(){return"undefined"!=typeof window&&!(!window.document||!window.document.createElement)}i.d(n,{S:function(){return e}})},741:function(t,n,i){i.d(n,{Y:function(){return r}});var e=i(927);function r(t){if((0,e.S)()&&"undefined"!=typeof document){var n=t;return n&&n.ownerDocument?n.ownerDocument:document}}},308:function(t,n,i){i.d(n,{z:function(){return o}});var e=i(927),r=void 0;try{r=window}catch(t){}function o(t){if((0,e.S)()&&void 0!==r){var n=t;return n&&n.ownerDocument&&n.ownerDocument.defaultView?n.ownerDocument.defaultView:r}}},351:function(t,n,i){i.d(n,{J5:function(){return f},J9:function(){return c}});var e=i(290),r=!1,o=0,a={empty:!0},u={},s="undefined"==typeof WeakMap?null:WeakMap;function l(){o++}function c(t,n,i){if(void 0===n&&(n=100),void 0===i&&(i=!1),!s)return t;if(!r){var c=e.nr.getInstance();c&&c.onReset&&e.nr.getInstance().onReset(l),r=!0}var f,d=0,v=o;return function(){for(var e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];var s,l=f;(void 0===f||v!==o||n>0&&d>n)&&(f=h(),d=0,v=o),l=f;for(var c=0;c<e.length;c++){var p=(s=e[c])?"object"==typeof s||"function"==typeof s?s:(u[s]||(u[s]={val:s}),u[s]):a;l.map.has(p)||l.map.set(p,h()),l=l.map.get(p)}return l.hasOwnProperty("value")||(l.value=t.apply(void 0,e),d++),!i||null!==l.value&&void 0!==l.value||(l.value=t.apply(void 0,e)),l.value}}function f(t){if(!s)return t;var n=new s;return function(i){if(!i||"function"!=typeof i&&"object"!=typeof i)return t(i);if(n.has(i))return n.get(i);var e=t(i);return n.set(i,e),e}}function h(){return{map:s?new s:null}}},709:function(t,n,i){i.d(n,{jI:function(){return s}});var e,r=i(741),o=i(74),a=i(934),u="isRTL";function s(t){if(void 0===t&&(t={}),void 0!==t.rtl)return t.rtl;if(void 0===e){var n=(0,o.G)(u);null!==n&&function(t,n){void 0===n&&(n=!1);var i=(0,r.Y)();i&&i.documentElement.setAttribute("dir",t?"rtl":"ltr"),n&&(0,o.S)(u,t?"1":"0"),e=t,(0,a.DU)(e)}(e="1"===n);var i=(0,r.Y)();void 0===e&&i&&(e="rtl"===(i.body&&i.body.getAttribute("dir")||i.documentElement.getAttribute("dir")),(0,a.DU)(e))}return!!e}},74:function(t,n,i){i.d(n,{G:function(){return r},S:function(){return o}});var e=i(308);function r(t){var n=null;try{var i=(0,e.z)();n=i?i.sessionStorage.getItem(t):null}catch(t){}return n}function o(t,n){var i;try{null===(i=(0,e.z)())||void 0===i||i.sessionStorage.setItem(t,n)}catch(t){}}},119:function(t,n,i){i.d(n,{Y2:function(){return e}});var e="ms-Fabric--isFocusVisible"},761:function(t,n,i){i.d(n,{I:function(){return v}});var e=i(608),r=i(594),o=i(572),a=i(192),u=function(){return!1},s=function(){},l=r.createContext({stylesheets:new Map,useAdoptedStylesheetEx:u,useAdoptedStylesheet:u,useShadowConfig:function(){return a.ou},useMergeStylesShadowRootContext:s,useHasMergeStylesShadowRootContext:u,useMergeStylesRootStylesheets:function(){return new Map},useWindow:s,useStyled:s}),c=function(){var t=r.useContext(l);return{useAdoptedStylesheet:t.useAdoptedStylesheet,useAdoptedStylesheetEx:t.useAdoptedStylesheetEx,useShadowConfig:t.useShadowConfig,useMergeStylesShadowRootContext:t.useMergeStylesShadowRootContext,useHasMergeStylesShadowRootContext:t.useHasMergeStylesShadowRootContext,useMergeStylesRootStylesheets:t.useMergeStylesRootStylesheets,useWindow:t.useWindow,useStyled:t.useStyled}},f=i(86),h=i(956);var d=["theme","styles"];function v(t,n,i,a,u){var s=(a=a||{scope:"",fields:void 0}).scope,l=a.fields,v=void 0===l?d:l,p=r.forwardRef((function(a,u){var l,d,p,g,m,y,b=r.useRef(),x=(l=v,d=s,p=r.useState(0)[1],g=function(){return p((function(t){return++t}))},m=r.useContext(h.z).customizations,y=m.inCustomizerContext,r.useEffect((function(){return y||f.X.observe(g),function(){y||f.X.unobserve(g)}}),[y]),f.X.getSettings(l,d,m)),w=x.styles,M=(x.dir,(0,e.Tt)(x,["styles","dir"])),C=i?i(a):void 0,k=c().useStyled,S=b.current&&b.current.__cachedInputs__||[],L=a.styles;if(!b.current||w!==S[1]||L!==S[2]){var V=function(t){return function(t){for(var n=[],i=1;i<arguments.length;i++)n[i-1]=arguments[i];for(var e=[],r=0,a=n;r<a.length;r++){var u=a[r];u&&e.push("function"==typeof u?u(t):u)}return 1===e.length?e[0]:e.length?o.T.apply(void 0,e):{}}(t,n,w,L)};V.__cachedInputs__=[n,w,L],V.__noStyleOverride__=!w&&!L,b.current=V}return b.current.__shadowConfig__=k(s),r.createElement(t,(0,e.Cl)({ref:u},M,C,a,{styles:b.current}))}));p.displayName="Styled".concat(t.displayName||t.name);var g=u?r.memo(p):p;return p.displayName&&(g.displayName=p.displayName),g}},594:function(t){t.exports=React},608:function(t,n,i){i.d(n,{C6:function(){return r},Cl:function(){return o},Tt:function(){return a},fX:function(){return u}});var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,n){t.__proto__=n}||function(t,n){for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i])},e(t,n)};function r(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}var o=function(){return o=Object.assign||function(t){for(var n,i=1,e=arguments.length;i<e;i++)for(var r in n=arguments[i])Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r]);return t},o.apply(this,arguments)};function a(t,n){var i={};for(var e in t)Object.prototype.hasOwnProperty.call(t,e)&&n.indexOf(e)<0&&(i[e]=t[e]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(e=Object.getOwnPropertySymbols(t);r<e.length;r++)n.indexOf(e[r])<0&&Object.prototype.propertyIsEnumerable.call(t,e[r])&&(i[e[r]]=t[e[r]])}return i}function u(t,n,i){if(i||2===arguments.length)for(var e,r=0,o=n.length;r<o;r++)!e&&r in n||(e||(e=Array.prototype.slice.call(n,0,r)),e[r]=n[r]);return t.concat(e||Array.prototype.slice.call(n))}Object.create,Object.create,"function"==typeof SuppressedError&&SuppressedError}},n={};function i(e){var r=n[e];if(void 0!==r)return r.exports;var o=n[e]={exports:{}};return t[e](o,o.exports,i),o.exports}i.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return i.d(n,{a:n}),n},i.d=function(t,n){for(var e in n)i.o(n,e)&&!i.o(t,e)&&Object.defineProperty(t,e,{enumerable:!0,get:n[e]})},i.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(t){if("object"==typeof window)return window}}(),i.o=function(t,n){return Object.prototype.hasOwnProperty.call(t,n)},i.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var e={};i.r(e),i.d(e,{AreaChart:function(){return Jf},CartesianChart:function(){return gf},ChartHoverCard:function(){return Ds.ChartHoverCard},DataVizPalette:function(){return jc},DonutChart:function(){return tf},GaugeChart:function(){return Id},GaugeChartVariant:function(){return Vd},GaugeValueFormat:function(){return Ld},GroupedVerticalBarChart:function(){return Lh},HeatMapChart:function(){return Dh},HorizontalBarChart:function(){return vl},HorizontalBarChartVariant:function(){return v},HorizontalBarChartWithAxis:function(){return Pd},Legends:function(){return ac},LineChart:function(){return Ff},MultiStackedBarChart:function(){return vh},MultiStackedBarChartVariant:function(){return eh},NodesComposition:function(){return xd},PieChart:function(){return uh},SankeyChart:function(){return ad},Shape:function(){return ec},Sparkline:function(){return Dd},StackedBarChart:function(){return ch},Textbox:function(){return Nf},TreeChart:function(){return Sd},TreeTraverse:function(){return wd},VerticalBarChart:function(){return bh},VerticalStackedBarChart:function(){return Mh},getChartHoverCardStyles:function(){return Vh.J},getColorFromToken:function(){return Kc},getNextColor:function(){return Zc}});var r=i(761),o=i(608),a=i(594),u=i(799),s=i(709),l=i(308),c=i(290),f="__currentId__",h="id__",d=(0,l.z)()||{};void 0===d[f]&&(d[f]=0);var v,p=!1;function g(t){if(!p){var n=c.nr.getInstance();n&&n.onReset&&n.onReset(m),p=!0}var i=d[f]++;return(void 0===t?h:t)+i}function m(t){void 0===t&&(t=0),d[f]=t}function y(t,n,i){void 0===i&&(i=0);for(var e=-1,r=i;t&&r<t.length;r++)if(n(t[r],r)){e=r;break}return e}function b(t,n){var i=y(t,n);if(!(i<0))return t[i]}!function(t){t.PartToWhole="part-to-whole",t.AbsoluteScale="absolute-scale"}(v||(v={}));var x={topLeftEdge:0,topCenter:1,topRightEdge:2,topAutoEdge:3,bottomLeftEdge:4,bottomCenter:5,bottomRightEdge:6,bottomAutoEdge:7,leftTopEdge:8,leftCenter:9,leftBottomEdge:10,rightTopEdge:11,rightCenter:12,rightBottomEdge:13};function w(t,n){var i,e;if(void 0===n&&(n=!0),!t)return null;var r=n&&function(t){var n,i;return t&&(i=t)&&i._virtual&&(n=t._virtual.parent),n}(t);return r||("function"!=typeof t.assignedElements&&(null===(i=t.assignedSlot)||void 0===i?void 0:i.parentNode)?t.assignedSlot:11===(null===(e=t.parentNode)||void 0===e?void 0:e.nodeType)?t.parentNode.host:t.parentNode)}function M(t,n,i){return null!=i||(i=document),t&&t!==i.body?n(t)?t:M(w(t),n):null}function C(t,n,i){void 0===i&&(i=!0);var e=!1;if(t&&n)if(i)if(t===n)e=!0;else for(e=!1;n;){var r=w(n);if(r===t){e=!0;break}n=r}else t.contains&&(e=t.contains(n));return e}var k=i(741),S="data-is-focusable",L="data-is-visible",V="data-focuszone-id",A="data-is-sub-focuszone";function N(t,n,i){var e=T(t,t,!0,!1,!1,!0,void 0,void 0,n,i);return!!e&&(_(e),!0)}function D(t,n,i,e,r,o,a,u,s){var l;if(!n||!a&&n===t)return null;var c=O(n);if(r&&c&&(o||!F(n)&&!B(n))){var f=D(t,n.lastElementChild||s&&(null===(l=n.shadowRoot)||void 0===l?void 0:l.lastElementChild),!0,!0,!0,o,a,u,s);if(f){if(u&&E(f,!0,s)||!u)return f;var h=D(t,f.previousElementSibling,!0,!0,!0,o,a,u,s);if(h)return h;for(var d=f.parentElement;d&&d!==n;){var v=D(t,d.previousElementSibling,!0,!0,!0,o,a,u,s);if(v)return v;d=d.parentElement}}}return i&&c&&E(n,u,s)?n:D(t,n.previousElementSibling,!0,!0,!0,o,a,u,s)||(e?null:D(t,n.parentElement,!0,!1,!1,o,a,u,s))}function T(t,n,i,e,r,o,a,u,s,l){var c;if(!n||n===t&&r&&!a)return null;var f=(s?P:O)(n);if(i&&f&&E(n,u,l))return n;if(!r&&f&&(o||!F(n)&&!B(n))){var h=T(t,n.firstElementChild||l&&(null===(c=n.shadowRoot)||void 0===c?void 0:c.firstElementChild),!0,!0,!1,o,a,u,s,l);if(h)return h}return n===t?null:T(t,n.nextElementSibling,!0,!0,!1,o,a,u,s,l)||(e?null:T(t,n.parentElement,!1,!1,!0,o,a,u,s,l))}function O(t){if(!t||!t.getAttribute)return!1;var n=t.getAttribute(L);return null!=n?"true"===n:0!==t.offsetHeight||null!==t.offsetParent||!0===t.isVisible}function P(t,n){var i=null!=n?n:(0,l.z)();return!!t&&O(t)&&!t.hidden&&"hidden"!==i.getComputedStyle(t).visibility}function E(t,n,i){if(void 0===i&&(i=!0),!t||t.disabled)return!1;var e=0,r=null;t&&t.getAttribute&&(r=t.getAttribute("tabIndex"))&&(e=parseInt(r,10));var o=t.getAttribute?t.getAttribute(S):null,a=null!==r&&e>=0,u=!(!i||!t.shadowRoot||!t.shadowRoot.delegatesFocus),s=!!t&&"false"!==o&&("A"===t.tagName||"BUTTON"===t.tagName||"INPUT"===t.tagName||"TEXTAREA"===t.tagName||"SELECT"===t.tagName||"true"===o||a||u);return n?-1!==e&&s:s}function F(t){return!!(t&&t.getAttribute&&t.getAttribute(V))}function B(t){return!(!t||!t.getAttribute||"true"!==t.getAttribute(A))}var H=void 0;function _(t){if(t){var n=(0,l.z)(t);n&&(void 0!==H&&n.cancelAnimationFrame(H),H=n.requestAnimationFrame((function(){t&&t.focus(),H=void 0})))}}function I(t,n,i,e){return t.addEventListener(n,i,e),function(){return t.removeEventListener(n,i,e)}}function W(t,n){for(var i=(0,o.Cl)({},n),e=0,r=Object.keys(t);e<r.length;e++){var a=r[e];void 0===i[a]&&(i[a]=t[a])}return i}var R=function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];for(var i={},e=0,r=t;e<r.length;e++)for(var o=r[e],a=0,u=Array.isArray(o)?o:Object.keys(o);a<u.length;a++)i[u[a]]=1;return i},z=R(["onCopy","onCut","onPaste","onCompositionEnd","onCompositionStart","onCompositionUpdate","onFocus","onFocusCapture","onBlur","onBlurCapture","onChange","onInput","onSubmit","onLoad","onError","onKeyDown","onKeyDownCapture","onKeyPress","onKeyUp","onAbort","onCanPlay","onCanPlayThrough","onDurationChange","onEmptied","onEncrypted","onEnded","onLoadedData","onLoadedMetadata","onLoadStart","onPause","onPlay","onPlaying","onProgress","onRateChange","onSeeked","onSeeking","onStalled","onSuspend","onTimeUpdate","onVolumeChange","onWaiting","onClick","onClickCapture","onContextMenu","onDoubleClick","onDrag","onDragEnd","onDragEnter","onDragExit","onDragLeave","onDragOver","onDragStart","onDrop","onMouseDown","onMouseDownCapture","onMouseEnter","onMouseLeave","onMouseMove","onMouseOut","onMouseOver","onMouseUp","onMouseUpCapture","onSelect","onTouchCancel","onTouchEnd","onTouchMove","onTouchStart","onScroll","onWheel","onPointerCancel","onPointerDown","onPointerEnter","onPointerLeave","onPointerMove","onPointerOut","onPointerOver","onPointerUp","onGotPointerCapture","onLostPointerCapture"]),Y=R(["accessKey","children","className","contentEditable","dir","draggable","hidden","htmlFor","id","lang","ref","role","style","tabIndex","title","translate","spellCheck","name"]),j=R(Y,z),X=(R(j,["form"]),R(j,["height","loop","muted","preload","src","width"])),q=(R(X,["poster"]),R(j,["start"]),R(j,["value"]),R(j,["download","href","hrefLang","media","rel","target","type"]),R(j,["autoFocus","disabled","form","formAction","formEncType","formMethod","formNoValidate","formTarget","type","value"])),$=(R(q,["accept","alt","autoCapitalize","autoComplete","checked","dirname","form","height","inputMode","list","max","maxLength","min","minLength","multiple","pattern","placeholder","readOnly","required","src","step","size","type","value","width"]),R(q,["autoCapitalize","cols","dirname","form","maxLength","minLength","placeholder","readOnly","required","rows","wrap"]),R(q,["form","multiple","required"]),R(j,["selected","value"]),R(j,["cellPadding","cellSpacing"]),R(j,["rowSpan","scope"]),R(j,["colSpan","headers","rowSpan","scope"]),R(j,["span"]),R(j,["span"]),R(j,["acceptCharset","action","encType","encType","method","noValidate","target"]),R(j,["allow","allowFullScreen","allowPaymentRequest","allowTransparency","csp","height","importance","referrerPolicy","sandbox","src","srcDoc","width"]),R(j,["alt","crossOrigin","height","src","srcSet","useMap","width"]),j);function U(t,n,i){for(var e=Array.isArray(n),r={},o=0,a=Object.keys(t);o<a.length;o++){var u=a[o];!(!e&&n[u]||e&&n.indexOf(u)>=0||0===u.indexOf("data-")||0===u.indexOf("aria-"))||i&&-1!==(null==i?void 0:i.indexOf(u))||(r[u]=t[u])}return r}function G(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];for(var i=[],e=0,r=t;e<r.length;e++){var o=r[e];if(o)if("string"==typeof o)i.push(o);else if(o.hasOwnProperty("toString")&&"function"==typeof o.toString)i.push(o.toString());else for(var a in o)o[a]&&i.push(a)}return i.join(" ")}function Z(t){for(var n=[],i=1;i<arguments.length;i++)n[i-1]=arguments[i];return K.apply(this,[null,t].concat(n))}function K(t,n){for(var i=[],e=2;e<arguments.length;e++)i[e-2]=arguments[e];n=n||{};for(var r=0,o=i;r<o.length;r++){var a=o[r];if(a)for(var u in a)!a.hasOwnProperty(u)||t&&!t(u)||(n[u]=a[u])}return n}var J,Q,tt,nt=i(106),it=((0,nt.Z)({overflow:"hidden !important"}),"data-is-scrollable");function et(t){for(var n=t,i=(0,k.Y)(t);n&&n!==i.body;){if("true"===n.getAttribute(it))return n;n=n.parentElement}for(n=t;n&&n!==i.body;){if("false"!==n.getAttribute(it)){var e=getComputedStyle(n),r=e?e.getPropertyValue("overflow-y"):"";if(r&&("scroll"===r||"auto"===r))return n}n=n.parentElement}return n&&n!==i.body||(n=(0,l.z)(t)),n}!function(t){t[t.top=1]="top",t[t.bottom=-1]="bottom",t[t.left=2]="left",t[t.right=-2]="right"}(Q||(Q={})),function(t){t[t.top=0]="top",t[t.bottom=1]="bottom",t[t.start=2]="start",t[t.end=3]="end"}(tt||(tt={}));var rt,ot=function(){function t(t,n,i,e){void 0===t&&(t=0),void 0===n&&(n=0),void 0===i&&(i=0),void 0===e&&(e=0),this.top=i,this.bottom=e,this.left=t,this.right=n}return Object.defineProperty(t.prototype,"width",{get:function(){return this.right-this.left},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"height",{get:function(){return this.bottom-this.top},enumerable:!1,configurable:!0}),t.prototype.equals=function(t){return parseFloat(this.top.toFixed(4))===parseFloat(t.top.toFixed(4))&&parseFloat(this.bottom.toFixed(4))===parseFloat(t.bottom.toFixed(4))&&parseFloat(this.left.toFixed(4))===parseFloat(t.left.toFixed(4))&&parseFloat(this.right.toFixed(4))===parseFloat(t.right.toFixed(4))},t}();function at(t,n,i){return{targetEdge:t,alignmentEdge:n,isAuto:i}}var ut=((rt={})[x.topLeftEdge]=at(Q.top,Q.left),rt[x.topCenter]=at(Q.top),rt[x.topRightEdge]=at(Q.top,Q.right),rt[x.topAutoEdge]=at(Q.top,void 0,!0),rt[x.bottomLeftEdge]=at(Q.bottom,Q.left),rt[x.bottomCenter]=at(Q.bottom),rt[x.bottomRightEdge]=at(Q.bottom,Q.right),rt[x.bottomAutoEdge]=at(Q.bottom,void 0,!0),rt[x.leftTopEdge]=at(Q.left,Q.top),rt[x.leftCenter]=at(Q.left),rt[x.leftBottomEdge]=at(Q.left,Q.bottom),rt[x.rightTopEdge]=at(Q.right,Q.top),rt[x.rightCenter]=at(Q.right),rt[x.rightBottomEdge]=at(Q.right,Q.bottom),rt);function st(t,n){return!(t.top<n.top||t.bottom>n.bottom||t.left<n.left||t.right>n.right)}function lt(t,n){var i=[];return t.top<n.top&&i.push(Q.top),t.bottom>n.bottom&&i.push(Q.bottom),t.left<n.left&&i.push(Q.left),t.right>n.right&&i.push(Q.right),i}function ct(t,n){return t[Q[n]]}function ft(t,n,i){return t[Q[n]]=i,t}function ht(t,n){var i=kt(n);return(ct(t,i.positiveEdge)+ct(t,i.negativeEdge))/2}function dt(t,n){return t>0?n:-1*n}function vt(t,n){return dt(t,ct(n,t))}function pt(t,n,i){return dt(i,ct(t,i)-ct(n,i))}function gt(t,n,i,e){void 0===e&&(e=!0);var r=ct(t,n)-i,o=ft(t,n,i);return e&&(o=ft(t,-1*n,ct(t,-1*n)-r)),o}function mt(t,n,i,e){return void 0===e&&(e=0),gt(t,i,ct(n,i)+dt(i,e))}function yt(t,n,i){return vt(i,t)>vt(i,n)}function bt(t,n){for(var i=0,e=0,r=lt(t,n);e<r.length;e++){var o=r[e];i+=Math.pow(pt(t,n,o),2)}return i}function xt(t,n,i,e){return void 0===e&&(e=200),(i===Q.bottom||i===Q.top)&&pt(t,n,i)>=e}function wt(t,n,i,e){for(var r=0,o=t;r<o.length;r++){var a=o[r],u=void 0;e&&e===-1*a?(u=gt(n.elementRectangle,a,ct(i,a),!1),n.forcedInBounds=!0):yt(u=mt(n.elementRectangle,i,a),i,-1*a)||(u=gt(u,-1*a,ct(i,-1*a),!1),n.forcedInBounds=!0),n.elementRectangle=u}return n}function Mt(t,n,i){var e=kt(n).positiveEdge;return gt(t,e,i-(ht(t,n)-ct(t,e)))}function Ct(t,n,i,e,r){void 0===e&&(e=0);var o=new ot(t.left,t.right,t.top,t.bottom),a=i.alignmentEdge,u=i.targetEdge,s=r?u:-1*u;return o=r?mt(o,n,u,e):function(t,n,i,e){void 0===e&&(e=0);var r=dt(-1*i,e);return gt(t,-1*i,ct(n,i)+r)}(o,n,u,e),o=a?mt(o,n,a):Mt(o,s,ht(n,u))}function kt(t){return t===Q.top||t===Q.bottom?{positiveEdge:Q.left,negativeEdge:Q.right}:{positiveEdge:Q.top,negativeEdge:Q.bottom}}function St(t,n,i){return i&&Math.abs(pt(t,i,n))>Math.abs(pt(t,i,-1*n))?-1*n:n}function Lt(t,n,i,e,r,o,a,u){var s,l={},c=Nt(n),f=o?i:-1*i,h=r||kt(i).positiveEdge;return a&&!function(t,n,i){return void 0!==i&&ct(t,n)===ct(i,n)}(t,(s=h,-1*s),e)||(h=St(t,h,e)),l[Q[f]]=pt(t,c,f),l[Q[h]]=pt(t,c,h),u&&(l[Q[-1*f]]=pt(t,c,-1*f),l[Q[-1*h]]=pt(t,c,-1*h)),l}function Vt(t,n,i){var e=ht(n,t),r=ht(i,t),o=kt(t),a=o.positiveEdge,u=o.negativeEdge;return e<=r?a:u}function At(t,n,i,e,r,o,a,u,l){void 0===o&&(o=!1);var c=Ct(t,n,e,r,l);return st(c,i)?{elementRectangle:c,targetEdge:e.targetEdge,alignmentEdge:e.alignmentEdge}:function(t,n,i,e,r,o,a,u,l){void 0===r&&(r=!1),void 0===a&&(a=0);var c=e.alignmentEdge,f=e.alignTargetEdge,h={elementRectangle:t,targetEdge:e.targetEdge,alignmentEdge:c};u||l||(h=function(t,n,i,e,r,o,a){void 0===r&&(r=!1),void 0===a&&(a=0);var u=[Q.left,Q.right,Q.bottom,Q.top];(0,s.jI)()&&(u[0]*=-1,u[1]*=-1);for(var l,c=t,f=e.targetEdge,h=e.alignmentEdge,d=f,v=h,p=0;p<4;p++){if(yt(c,i,f))return{elementRectangle:c,targetEdge:f,alignmentEdge:h};if(r&&xt(n,i,f,o)){switch(f){case Q.bottom:c.bottom=i.bottom;break;case Q.top:c.top=i.top}return{elementRectangle:c,targetEdge:f,alignmentEdge:h,forcedInBounds:!0}}var g=bt(c,i);(!l||g<l)&&(l=g,d=f,v=h),u.splice(u.indexOf(f),1),u.length>0&&(u.indexOf(-1*f)>-1?f*=-1:(h=f,f=u.slice(-1)[0]),c=Ct(t,n,{targetEdge:f,alignmentEdge:h},a))}return{elementRectangle:c=Ct(t,n,{targetEdge:d,alignmentEdge:v},a),targetEdge:d,alignmentEdge:v}}(t,n,i,e,r,o,a));var d=lt(h.elementRectangle,i),v=u?-h.targetEdge:void 0;if(d.length>0)if(f)if(h.alignmentEdge&&d.indexOf(-1*h.alignmentEdge)>-1){var p=function(t,n,i,e){var r=t.alignmentEdge,o=t.targetEdge,a=-1*r;return{elementRectangle:Ct(t.elementRectangle,n,{targetEdge:o,alignmentEdge:a},i,e),targetEdge:o,alignmentEdge:a}}(h,n,a,l);if(st(p.elementRectangle,i))return p;h=wt(lt(p.elementRectangle,i),h,i,v)}else h=wt(d,h,i,v);else h=wt(d,h,i,v);return h}(c,n,i,e,o,a,r,u,l)}function Nt(t){var n=t.getBoundingClientRect();return new ot(n.left,n.right,n.top,n.bottom)}function Dt(t,n,i,e,r,a){void 0===r&&(r=!1);var u=t.gapSpace?t.gapSpace:0,l=function(t,n){var i;if(n){if(n.preventDefault){var e=n;i=new ot(e.clientX,e.clientX,e.clientY,e.clientY)}else if(n.getBoundingClientRect)i=Nt(n);else{var r=n,o=r.left||r.x,a=r.top||r.y,u=r.right||o,s=r.bottom||a;i=new ot(o,u,a,s)}if(!st(i,t))for(var l=0,c=lt(i,t);l<c.length;l++){var f=c[l];i[Q[f]]=t[Q[f]]}}else i=new ot(0,0,0,0);return i}(i,t.target),c=function(t,n,i,e,r){return t.isAuto&&(t.alignmentEdge=Vt(t.targetEdge,n,i)),t.alignTargetEdge=r,t}(function(t,n,i){if(void 0===t&&(t=x.bottomAutoEdge),i)return{alignmentEdge:i.alignmentEdge,isAuto:i.isAuto,targetEdge:i.targetEdge};var e=(0,o.Cl)({},ut[t]);return(0,s.jI)()?(e.alignmentEdge&&e.alignmentEdge%2==0&&(e.alignmentEdge=-1*e.alignmentEdge),void 0!==n?ut[n]:e):e}(t.directionalHint,t.directionalHintForRTL,e),l,i,t.coverTarget,t.alignTargetEdge),f=At(Nt(n),l,i,c,u,r,a,t.directionalHintFixed,t.coverTarget);return(0,o.Cl)((0,o.Cl)({},f),{targetRectangle:l})}function Tt(t,n,i){return void 0===n&&(n=0),void 0===i&&(i=0),function(t){return Math.sqrt(t*t*2)}(t?n:0)/2+i}function Ot(t,n,i,e,r,a,u,s){void 0===r&&(r=!1);var c=null!=s?s:(0,l.z)(),f=t.isBeakVisible&&t.beakWidth||0,h=Tt(t.isBeakVisible,t.beakWidth,t.gapSpace),d=t;d.gapSpace=h;var v,p,g,m,y,b,x,w,M,C=t.bounds?(M=t.bounds,new ot(M.left,M.right,M.top,M.bottom)):new ot(0,c.innerWidth-function(t){if(void 0===J){var n=(0,k.Y)(),i=n.createElement("div");i.style.setProperty("width","100px"),i.style.setProperty("height","100px"),i.style.setProperty("overflow","scroll"),i.style.setProperty("position","absolute"),i.style.setProperty("top","-9999px"),n.body.appendChild(i),J=i.offsetWidth-i.clientWidth,n.body.removeChild(i)}return J}(),0,c.innerHeight),S=Dt(d,i,C,e,r,a),L=(v=S,p=function(t,n){var i=n.targetRectangle,e=kt(n.targetEdge),r=e.positiveEdge,o=e.negativeEdge,a=ht(i,n.targetEdge),u=new ot(t/2,n.elementRectangle.width-t/2,t/2,n.elementRectangle.height-t/2),s=new ot(0,t,0,t);return yt(s=Mt(s=gt(s,-1*n.targetEdge,-t/2),-1*n.targetEdge,a-vt(r,n.elementRectangle)),u,r)?yt(s,u,o)||(s=mt(s,u,o)):s=mt(s,u,r),s}(f,S),g=C,m=-1*v.targetEdge,y=new ot(0,v.elementRectangle.width,0,v.elementRectangle.height),b={},x=St(v.elementRectangle,v.alignmentEdge?v.alignmentEdge:kt(m).positiveEdge,g),w=pt(v.elementRectangle,v.targetRectangle,m)>Math.abs(ct(p,m)),b[Q[m]]=ct(p,m),b[Q[x]]=pt(p,y,x),{elementPosition:(0,o.Cl)({},b),closestEdge:Vt(v.targetEdge,p,y),targetEdge:m,hideBeak:!w});return(0,o.Cl)((0,o.Cl)({},function(t,n,i,e,r){return{elementPosition:Lt(t.elementRectangle,n,t.targetEdge,i,t.alignmentEdge,e,r,t.forcedInBounds),targetEdge:t.targetEdge,alignmentEdge:t.alignmentEdge}}(S,n,C,t.coverTarget,u)),{beakPosition:L})}var Pt=["TEMPLATE","STYLE","SCRIPT"];function Et(t){var n=(0,k.Y)(t);if(!n)return function(){};for(var i=[];t!==n.body&&t.parentElement;){for(var e=0,r=t.parentElement.children;e<r.length;e++){var o=r[e],a=o.getAttribute("aria-hidden");o!==t&&"true"!==(null==a?void 0:a.toLowerCase())&&-1===Pt.indexOf(o.tagName)&&i.push([o,a])}t=t.parentElement}return i.forEach((function(t){t[0].setAttribute("aria-hidden","true")})),function(){!function(t){t.forEach((function(t){var n=t[0],i=t[1];i?n.setAttribute("aria-hidden",i):n.removeAttribute("aria-hidden")}))}(i),i=[]}}var Ft=27,Bt=function(){function t(t,n){this._timeoutIds=null,this._immediateIds=null,this._intervalIds=null,this._animationFrameIds=null,this._isDisposed=!1,this._parent=t||null,this._onErrorHandler=n,this._noop=function(){}}return t.prototype.dispose=function(){var t;if(this._isDisposed=!0,this._parent=null,this._timeoutIds){for(t in this._timeoutIds)this._timeoutIds.hasOwnProperty(t)&&this.clearTimeout(parseInt(t,10));this._timeoutIds=null}if(this._immediateIds){for(t in this._immediateIds)this._immediateIds.hasOwnProperty(t)&&this.clearImmediate(parseInt(t,10));this._immediateIds=null}if(this._intervalIds){for(t in this._intervalIds)this._intervalIds.hasOwnProperty(t)&&this.clearInterval(parseInt(t,10));this._intervalIds=null}if(this._animationFrameIds){for(t in this._animationFrameIds)this._animationFrameIds.hasOwnProperty(t)&&this.cancelAnimationFrame(parseInt(t,10));this._animationFrameIds=null}},t.prototype.setTimeout=function(t,n){var i=this,e=0;return this._isDisposed||(this._timeoutIds||(this._timeoutIds={}),e=setTimeout((function(){try{i._timeoutIds&&delete i._timeoutIds[e],t.apply(i._parent)}catch(t){i._logError(t)}}),n),this._timeoutIds[e]=!0),e},t.prototype.clearTimeout=function(t){this._timeoutIds&&this._timeoutIds[t]&&(clearTimeout(t),delete this._timeoutIds[t])},t.prototype.setImmediate=function(t,n){var i=this,e=0,r=(0,l.z)(n);return this._isDisposed||(this._immediateIds||(this._immediateIds={}),e=r.setTimeout((function(){try{i._immediateIds&&delete i._immediateIds[e],t.apply(i._parent)}catch(t){i._logError(t)}}),0),this._immediateIds[e]=!0),e},t.prototype.clearImmediate=function(t,n){var i=(0,l.z)(n);this._immediateIds&&this._immediateIds[t]&&(i.clearTimeout(t),delete this._immediateIds[t])},t.prototype.setInterval=function(t,n){var i=this,e=0;return this._isDisposed||(this._intervalIds||(this._intervalIds={}),e=setInterval((function(){try{t.apply(i._parent)}catch(t){i._logError(t)}}),n),this._intervalIds[e]=!0),e},t.prototype.clearInterval=function(t){this._intervalIds&&this._intervalIds[t]&&(clearInterval(t),delete this._intervalIds[t])},t.prototype.throttle=function(t,n,i){var e=this;if(this._isDisposed)return this._noop;var r,o,a=n||0,u=!0,s=!0,l=0,c=null;i&&"boolean"==typeof i.leading&&(u=i.leading),i&&"boolean"==typeof i.trailing&&(s=i.trailing);var f=function(n){var i=Date.now(),h=i-l,d=u?a-h:a;return h>=a&&(!n||u)?(l=i,c&&(e.clearTimeout(c),c=null),r=t.apply(e._parent,o)):null===c&&s&&(c=e.setTimeout(f,d)),r};return function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return o=t,f(!0)}},t.prototype.debounce=function(t,n,i){var e=this;if(this._isDisposed){var r=function(){};return r.cancel=function(){},r.flush=function(){return null},r.pending=function(){return!1},r}var o,a,u=n||0,s=!1,l=!0,c=null,f=0,h=Date.now(),d=null;i&&"boolean"==typeof i.leading&&(s=i.leading),i&&"boolean"==typeof i.trailing&&(l=i.trailing),i&&"number"==typeof i.maxWait&&!isNaN(i.maxWait)&&(c=i.maxWait);var v=function(t){d&&(e.clearTimeout(d),d=null),h=t},p=function(n){v(n),o=t.apply(e._parent,a)},g=function(t){var n=Date.now(),i=!1;t&&(s&&n-f>=u&&(i=!0),f=n);var r=n-f,a=u-r,v=n-h,m=!1;return null!==c&&(v>=c&&d?m=!0:a=Math.min(a,c-v)),r>=u||m||i?p(n):null!==d&&t||!l||(d=e.setTimeout(g,a)),o},m=function(){return!!d},y=function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return a=t,g(!0)};return y.cancel=function(){m()&&v(Date.now())},y.flush=function(){return m()&&p(Date.now()),o},y.pending=m,y},t.prototype.requestAnimationFrame=function(t,n){var i=this,e=0,r=(0,l.z)(n);if(!this._isDisposed){this._animationFrameIds||(this._animationFrameIds={});var o=function(){try{i._animationFrameIds&&delete i._animationFrameIds[e],t.apply(i._parent)}catch(t){i._logError(t)}};e=r.requestAnimationFrame?r.requestAnimationFrame(o):r.setTimeout(o,0),this._animationFrameIds[e]=!0}return e},t.prototype.cancelAnimationFrame=function(t,n){var i=(0,l.z)(n);this._animationFrameIds&&this._animationFrameIds[t]&&(i.cancelAnimationFrame?i.cancelAnimationFrame(t):i.clearTimeout(t),delete this._animationFrameIds[t])},t.prototype._logError=function(t){this._onErrorHandler&&this._onErrorHandler(t)},t}();function Ht(){var t=a.useRef();return t.current||(t.current=new Bt),a.useEffect((function(){return function(){var n;null===(n=t.current)||void 0===n||n.dispose(),t.current=void 0}}),[]),t.current}function _t(t,n,i,e){var r=a.useRef(i);r.current=i,a.useEffect((function(){var i=t&&"current"in t?t.current:t;if(i&&i.addEventListener)return I(i,n,(function(t){return r.current(t)}),e)}),[t,n,e])}function It(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];var i=a.useCallback((function(n){i.current=n;for(var e=0,r=t;e<r.length;e++){var o=r[e];"function"==typeof o?o(n):o&&(o.current=n)}}),(0,o.fX)([],t,!0));return i}var Wt=a.createContext({window:"object"==typeof window?window:void 0}),Rt=function(){return a.useContext(Wt).window},zt=function(){var t;return null===(t=a.useContext(Wt).window)||void 0===t?void 0:t.document};function Yt(t){var n=t.originalElement,i=t.containsFocus;n&&i&&n!==(0,l.z)()&&setTimeout((function(){var t;null===(t=n.focus)||void 0===t||t.call(n)}),0)}var jt=a.forwardRef((function(t,n){var i=W({shouldRestoreFocus:!0,enableAriaHiddenSiblings:!0},t),e=a.useRef(),r=It(e,n);!function(t,n){var i="true"===String(t["aria-modal"]).toLowerCase()&&t.enableAriaHiddenSiblings;a.useEffect((function(){if(i&&n.current)return Et(n.current)}),[n,i])}(i,e),function(t,n){var i=t.onRestoreFocus,e=void 0===i?Yt:i,r=a.useRef(),o=a.useRef(!1);a.useEffect((function(){var t,i,a;return r.current=(0,k.Y)().activeElement,t=n.current,(a=(i=(0,k.Y)(t))&&i.activeElement)&&C(t,a)&&(o.current=!0),function(){var t;null==e||e({originalElement:r.current,containsFocus:o.current,documentContainsFocus:(null===(t=(0,k.Y)())||void 0===t?void 0:t.hasFocus())||!1}),r.current=void 0}}),[]),_t(n,"focus",a.useCallback((function(){o.current=!0}),[]),!0),_t(n,"blur",a.useCallback((function(t){n.current&&t.relatedTarget&&!n.current.contains(t.relatedTarget)&&(o.current=!1)}),[]),!0)}(i,e);var u=i.role,s=i.className,l=i.ariaLabel,c=i.ariaLabelledBy,f=i.ariaDescribedBy,h=i.style,d=i.children,v=i.onDismiss,p=function(t,n){var i=Ht(),e=a.useState(!1),r=e[0],o=e[1];return a.useEffect((function(){return i.requestAnimationFrame((function(){var i;if(!t.style||!t.style.overflowY){var e=!1;if(n&&n.current&&(null===(i=n.current)||void 0===i?void 0:i.firstElementChild)){var a=n.current.clientHeight,u=n.current.firstElementChild.clientHeight;a>0&&u>a&&(e=u-a>1)}r!==e&&o(e)}})),function(){return i.dispose()}})),r}(i,e),g=a.useCallback((function(t){t.which===Ft&&v&&(v(t),t.preventDefault(),t.stopPropagation())}),[v]);return _t(Rt(),"keydown",g),a.createElement("div",(0,o.Cl)({ref:r},U(i,$),{className:s,role:u,"aria-label":l,"aria-labelledby":c,"aria-describedby":f,onKeyDown:g,style:(0,o.Cl)({overflowY:p?"scroll":void 0,outline:"none"},h)}),d)}));jt.displayName="Popup";var Xt=i(286);function qt(t){var n=a.useRef();return void 0===n.current&&(n.current={value:"function"==typeof t?t():t}),n.current.value}var $t,Ut=function(){var t;return null!==(t=Rt())&&void 0!==t?t:"undefined"!=typeof window?window:void 0},Gt=function(t){var n,i;return null!==(i=null===(n=null==t?void 0:t.window)||void 0===n?void 0:n.document)&&void 0!==i?i:"undefined"!=typeof document?document:void 0},Zt=(($t={})[Q.top]=Xt.lw.slideUpIn10,$t[Q.bottom]=Xt.lw.slideDownIn10,$t[Q.left]=Xt.lw.slideLeftIn10,$t[Q.right]=Xt.lw.slideRightIn10,$t),Kt={opacity:0,filter:"opacity(0)",pointerEvents:"none"},Jt=["role","aria-roledescription"],Qt={preventDismissOnLostFocus:!1,preventDismissOnScroll:!1,preventDismissOnResize:!1,isBeakVisible:!0,beakWidth:16,gapSpace:0,minPagePadding:8,directionalHint:x.bottomAutoEdge},tn=(0,u.Z)({disableCaching:!0});function nn(t,n,i,e){var r,o=t.calloutMaxHeight,u=t.finalHeight,s=t.directionalHint,l=t.directionalHintFixed,c=t.hidden,f=t.gapSpace,h=t.beakWidth,d=t.isBeakVisible,v=t.coverTarget,p=a.useState(),g=p[0],m=p[1],y=null!==(r=null==e?void 0:e.elementPosition)&&void 0!==r?r:{},b=y.top,x=y.bottom,w=(null==i?void 0:i.current)?function(t){var n,i,e,r,o=t,a=t,u=t,s=null!==(n=u.left)&&void 0!==n?n:u.x,l=null!==(i=u.top)&&void 0!==i?i:u.y,c=null!==(e=u.right)&&void 0!==e?e:s,f=null!==(r=u.bottom)&&void 0!==r?r:l;return o.stopPropagation?new ot(o.clientX,o.clientX,o.clientY,o.clientY):void 0!==s&&void 0!==l?new ot(s,c,l,f):Nt(a)}(i.current):void 0;return a.useEffect((function(){var t,i,r=null!==(t=n())&&void 0!==t?t:{},a=r.top,u=r.bottom;(null==e?void 0:e.targetEdge)===Q.top&&(null==w?void 0:w.top)&&!v&&(u=w.top-function(t,n,i){return Tt(t,n,i)}(d,h,f)),"number"==typeof b&&u?i=u-b:"number"==typeof x&&"number"==typeof a&&u&&(i=u-a-x),m(!o&&!c||o&&i&&o>i?i:o||void 0)}),[x,o,u,s,l,n,c,e,b,f,h,d,w,v]),g}function en(t,n,i,e,r,u){var s,c=a.useState(),f=c[0],h=c[1],d=a.useRef(0),v=a.useRef(),p=Ht(),g=t.hidden,m=t.target,y=t.finalHeight,b=t.calloutMaxHeight,x=t.onPositioned,w=t.directionalHint,M=t.hideOverflow,C=t.preferScrollResizePositioning,k=Ut(),S=a.useRef();S.current!==u.current&&(S.current=u.current,s=u.current?null==k?void 0:k.getComputedStyle(u.current):void 0);var L=null==s?void 0:s.overflowY;return a.useEffect((function(){if(!g){var a=p.requestAnimationFrame((function(){var a,u,s,c;if(n.current&&i){var p=(0,o.Cl)((0,o.Cl)({},t),{target:e.current,bounds:r()}),g=i.cloneNode(!0);g.style.maxHeight=b?"".concat(b):"",g.style.visibility="hidden",null===(a=i.parentElement)||void 0===a||a.appendChild(g);var w=v.current===m?f:void 0,S=C&&!(M||"clip"===L||"hidden"===L),V=y?function(t,n,i,e,r){return function(t,n,i,e,r){return Ot(t,n,i,e,!1,void 0,!0,null!=r?r:(0,l.z)())}(t,n,i,e,r)}(p,n.current,g,w,k):function(t,n,i,e,r,o,a){return Ot(t,n,i,e,r,void 0,void 0,a)}(p,n.current,g,w,S,0,k);null===(u=i.parentElement)||void 0===u||u.removeChild(g),!f&&V||f&&V&&(c=V,!an((s=f).elementPosition,c.elementPosition)||!an(s.beakPosition.elementPosition,c.beakPosition.elementPosition))&&d.current<5?(d.current++,h(V)):d.current>0&&(d.current=0,null==x||x(f))}}),i);return v.current=m,function(){p.cancelAnimationFrame(a),v.current=void 0}}h(void 0),d.current=0}),[g,w,p,i,b,n,e,y,r,x,f,t,m,M,C,L,k]),f}var rn=a.memo(a.forwardRef((function(t,n){var i=W(Qt,t),e=i.styles,r=i.style,u=i.ariaLabel,s=i.ariaDescribedBy,l=i.ariaLabelledBy,c=i.className,f=i.isBeakVisible,h=i.children,d=i.beakWidth,v=i.calloutWidth,p=i.calloutMaxWidth,g=i.calloutMinWidth,m=i.doNotLayer,y=i.finalHeight,b=i.hideOverflow,x=void 0===b?!!y:b,w=i.backgroundColor,M=i.calloutMaxHeight,S=i.onScroll,L=i.shouldRestoreFocus,V=void 0===L||L,A=i.target,D=i.hidden,T=i.onLayerMounted,O=i.popupProps,P=a.useRef(null),E=It(a.useRef(null),null==O?void 0:O.ref),F=a.useState(null),B=F[0],H=F[1],_=a.useCallback((function(t){H(t)}),[]),R=It(P,n),z=function(t,n){var i,e,r,o=a.useRef(),u=a.useRef(null),s=Rt();if(!t||t!==o.current||"string"==typeof t){var l=null==n?void 0:n.current;if(t)if("string"==typeof t)if(null===(i=null==l?void 0:l.getRootNode())||void 0===i?void 0:i.host)u.current=null!==(r=null===(e=null==l?void 0:l.getRootNode())||void 0===e?void 0:e.querySelector(t))&&void 0!==r?r:null;else{var c=(0,k.Y)(l);u.current=c?c.querySelector(t):null}else u.current="stopPropagation"in t||"getBoundingClientRect"in t?t:"current"in t?t.current:t;o.current=t}return[u,s]}(i.target,{current:B}),Y=z[0],j=z[1],X=function(t,n,i){var e=t.bounds,r=t.minPagePadding,o=void 0===r?Qt.minPagePadding:r,u=t.target,s=a.useState(!1),l=s[0],c=s[1],f=a.useRef(),h=a.useCallback((function(){if(!f.current||l){var t="function"==typeof e?i?e(u,i):void 0:e;!t&&i&&(t=function(t,n){return function(t,n){var i=void 0;if(n.getWindowSegments&&(i=n.getWindowSegments()),void 0===i||i.length<=1)return{top:0,left:0,right:n.innerWidth,bottom:n.innerHeight,width:n.innerWidth,height:n.innerHeight};var e=0,r=0;if(null!==t&&t.getBoundingClientRect){var o=t.getBoundingClientRect();e=(o.left+o.right)/2,r=(o.top+o.bottom)/2}else null!==t&&(e=t.left||t.x,r=t.top||t.y);for(var a={top:0,left:0,right:0,bottom:0,width:0,height:0},u=0,s=i;u<s.length;u++){var l=s[u];e&&l.left<=e&&l.right>=e&&r&&l.top<=r&&l.bottom>=r&&(a={top:l.top,left:l.left,right:l.right,bottom:l.bottom,width:l.width,height:l.height})}return a}(t,n)}(n.current,i),t={top:t.top+o,left:t.left+o,right:t.right-o,bottom:t.bottom-o,width:t.width-2*o,height:t.height-2*o}),f.current=t,l&&c(!1)}return f.current}),[e,o,u,n,i,l]),d=Ht();return _t(i,"resize",d.debounce((function(){c(!0)}),500,{leading:!0})),h}(i,Y,j),q=en(i,P,B,Y,X,E),Z=nn(i,X,Y,q),K=function(t,n,i,e,r){var o=t.hidden,u=t.onDismiss,s=t.preventDismissOnScroll,l=t.preventDismissOnResize,c=t.preventDismissOnLostFocus,f=t.dismissOnTargetClick,h=t.shouldDismissOnWindowFocus,d=t.preventDismissOnEvent,v=a.useRef(!1),p=Ht(),g=qt([function(){v.current=!0},function(){v.current=!1}]),m=!!n;return a.useEffect((function(){var t=function(t){m&&!s&&g(t)},n=function(t){l||d&&d(t)||null==u||u(t)},a=function(t){c||g(t)},g=function(t){var n=t.composedPath?t.composedPath():[],o=n.length>0?n[0]:t.target,a=i.current&&!C(i.current,o);if(a&&v.current)v.current=!1;else if(!e.current&&a||t.target!==r&&a&&(!e.current||"stopPropagation"in e.current||f||o!==e.current&&!C(e.current,o))){if(d&&d(t))return;null==u||u(t)}},y=function(t){h&&((!d||d(t))&&(d||c)||(null==r?void 0:r.document.hasFocus())||null!==t.relatedTarget||null==u||u(t))},b=new Promise((function(i){p.setTimeout((function(){if(!o&&r){var e=[I(r,"scroll",t,!0),I(r,"resize",n,!0),I(r.document.documentElement,"focus",a,!0),I(r.document.documentElement,"click",a,!0),I(r,"blur",y,!0)];i((function(){e.forEach((function(t){return t()}))}))}}),0)}));return function(){b.then((function(t){return t()}))}}),[o,p,i,e,r,u,h,f,c,l,s,m,d]),g}(i,q,P,Y,j),J=K[0],Q=K[1],tt=(null==q?void 0:q.elementPosition.top)&&(null==q?void 0:q.elementPosition.bottom),nt=(0,o.Cl)((0,o.Cl)({},null==q?void 0:q.elementPosition),{maxHeight:Z});if(tt&&(nt.bottom=void 0),function(t,n,i){var e=t.hidden,r=t.setInitialFocus,o=Ht(),u=!!n;a.useEffect((function(){if(!e&&r&&u&&i){var t=o.requestAnimationFrame((function(){return N(i)}),i);return function(){return o.cancelAnimationFrame(t)}}}),[e,u,o,i,r])}(i,q,B),a.useEffect((function(){D||null==T||T()}),[D]),!j)return null;var it=x,et=f&&!!A,rt=tn(e,{theme:i.theme,className:c,overflowYHidden:it,calloutWidth:v,positions:q,beakWidth:d,backgroundColor:w,calloutMaxWidth:p,calloutMinWidth:g,doNotLayer:m}),ot=(0,o.Cl)((0,o.Cl)({maxHeight:M||"100%"},r),it&&{overflowY:"hidden"}),at=i.hidden?{visibility:"hidden"}:void 0;return a.createElement("div",{ref:R,className:rt.container,style:at},a.createElement("div",(0,o.Cl)({},U(i,$,Jt),{className:G(rt.root,q&&q.targetEdge&&Zt[q.targetEdge]),style:q?(0,o.Cl)({},nt):Kt,tabIndex:-1,ref:_}),et&&a.createElement("div",{className:rt.beak,style:on(q)}),et&&a.createElement("div",{className:rt.beakCurtain}),a.createElement(jt,(0,o.Cl)({role:i.role,"aria-roledescription":i["aria-roledescription"],ariaDescribedBy:s,ariaLabel:u,ariaLabelledBy:l,className:rt.calloutMain,onDismiss:i.onDismiss,onMouseDown:J,onMouseUp:Q,onRestoreFocus:i.onRestoreFocus,onScroll:S,shouldRestoreFocus:V,style:ot},O,{ref:E}),h)))})),(function(t,n){return!(n.shouldUpdateWhenHidden||!t.hidden||!n.hidden)||function(t,n){if(!t||!n)return!t&&!n;for(var i in t)if(t.hasOwnProperty(i)&&(!n.hasOwnProperty(i)||n[i]!==t[i]))return!1;for(var i in n)if(n.hasOwnProperty(i)&&!t.hasOwnProperty(i))return!1;return!0}(t,n)}));function on(t){var n,i,e=(0,o.Cl)((0,o.Cl)({},null===(n=null==t?void 0:t.beakPosition)||void 0===n?void 0:n.elementPosition),{display:(null===(i=null==t?void 0:t.beakPosition)||void 0===i?void 0:i.hideBeak)?"none":void 0});return e.top||e.bottom||e.left||e.right||(e.left=0,e.top=0),e}function an(t,n){for(var i in n)if(n.hasOwnProperty(i)){var e=t[i],r=n[i];if(void 0===e||void 0===r)return!1;if(e.toFixed(2)!==r.toFixed(2))return!1}return!0}function un(t){return{height:t,width:t}}rn.displayName="CalloutContentBase";var sn={container:"ms-Callout-container",root:"ms-Callout",beak:"ms-Callout-beak",beakCurtain:"ms-Callout-beakCurtain",calloutMain:"ms-Callout-main"},ln=(0,r.I)(rn,(function(t){var n,i=t.theme,e=t.className,r=t.overflowYHidden,o=t.calloutWidth,a=t.beakWidth,u=t.backgroundColor,s=t.calloutMaxWidth,l=t.calloutMinWidth,c=t.doNotLayer,f=(0,Xt.Km)(sn,i),h=i.semanticColors,d=i.effects;return{container:[f.container,{position:"relative"}],root:[f.root,i.fonts.medium,{position:"absolute",display:"flex",zIndex:c?Xt.nA.Layer:void 0,boxSizing:"border-box",borderRadius:d.roundedCorner2,boxShadow:d.elevation16,selectors:(n={},n[Xt.up]={borderWidth:1,borderStyle:"solid",borderColor:"WindowText"},n)},(0,Xt.QN)(),e,!!o&&{width:o},!!s&&{maxWidth:s},!!l&&{minWidth:l}],beak:[f.beak,{position:"absolute",backgroundColor:h.menuBackground,boxShadow:"inherit",border:"inherit",boxSizing:"border-box",transform:"rotate(45deg)"},un(a),u&&{backgroundColor:u}],beakCurtain:[f.beakCurtain,{position:"absolute",top:0,right:0,bottom:0,left:0,backgroundColor:h.menuBackground,borderRadius:d.roundedCorner2}],calloutMain:[f.calloutMain,{backgroundColor:h.menuBackground,overflowX:"hidden",overflowY:"auto",position:"relative",width:"100%",borderRadius:d.roundedCorner2},r&&{overflowY:"hidden"},u&&{backgroundColor:u}]}}),void 0,{scope:"CalloutContent"}),cn=a.createContext(void 0),fn=function(){return function(){}};cn.Provider;var hn=ReactDOM,dn=i(351);new WeakMap,new WeakMap;var vn=a.createContext(void 0),pn=function(t){var n=t.providerRef,i=t.layerRoot,e=a.useState([])[0],r=a.useContext(vn),o=void 0!==r&&!i,u=a.useMemo((function(){return o?void 0:{providerRef:n,registeredProviders:e,registerProvider:function(t){e.push(t),null==r||r.registerProvider(t)},unregisterProvider:function(t){null==r||r.unregisterProvider(t);var n=e.indexOf(t);n>=0&&e.splice(n,1)}}}),[n,e,r,o]);return a.useEffect((function(){if(u)return u.registerProvider(u.providerRef),function(){return u.unregisterProvider(u.providerRef)}}),[u]),u?a.createElement(vn.Provider,{value:u},t.children):a.createElement(a.Fragment,null,t.children)},gn=i(86),mn=i(956);function yn(t,n){void 0===t&&(t={});var i=bn(n)?n:function(t){return function(n){return t?(0,o.Cl)((0,o.Cl)({},n),t):n}}(n);return i(t)}function bn(t){return"function"==typeof t}var xn=function(t){function n(){var n=null!==t&&t.apply(this,arguments)||this;return n._onCustomizationChange=function(){return n.forceUpdate()},n}return(0,o.C6)(n,t),n.prototype.componentDidMount=function(){gn.X.observe(this._onCustomizationChange)},n.prototype.componentWillUnmount=function(){gn.X.unobserve(this._onCustomizationChange)},n.prototype.render=function(){var t=this,n=this.props.contextTransform;return a.createElement(mn.z.Consumer,null,(function(i){var e=function(t,n){var i,e,r,a=(n||{}).customizations,u=void 0===a?{settings:{},scopedSettings:{}}:a;return{customizations:{settings:yn(u.settings,t.settings),scopedSettings:(i=u.scopedSettings,e=t.scopedSettings,void 0===i&&(i={}),(bn(e)?e:(void 0===(r=e)&&(r={}),function(t){var n=(0,o.Cl)({},t);for(var i in r)r.hasOwnProperty(i)&&(n[i]=(0,o.Cl)((0,o.Cl)({},t[i]),r[i]));return n}))(i)),inCustomizerContext:!0}}}(t.props,i);return n&&(e=n(e)),a.createElement(mn.z.Provider,{value:e},t.props.children)}))},n}(a.Component),wn=i(253),Mn=(0,u.Z)(),Cn=(0,dn.J9)((function(t,n){return(0,wn.a)((0,o.Cl)((0,o.Cl)({},t),{rtl:n}))})),kn=a.forwardRef((function(t,n){var i=t.className,e=t.theme,r=t.applyTheme,u=t.applyThemeToBody,l=t.styles,c=Mn(l,{theme:e,applyTheme:r,className:i}),f=a.useRef(null);return function(t,n,i){var e=n.bodyThemed;a.useEffect((function(){if(t){var n=(0,k.Y)(i.current);if(n)return n.body.classList.add(e),function(){n.body.classList.remove(e)}}}),[e,t,i])}(u,c,f),a.createElement(a.Fragment,null,function(t,n,i,e){var r=n.root,u=t.as,l=void 0===u?"div":u,c=t.dir,f=t.theme,h=U(t,$,["dir"]),d=function(t){var n=t.theme,i=t.dir,e=(0,s.jI)(n)?"rtl":"ltr",r=(0,s.jI)()?"rtl":"ltr",o=i||e;return{rootDir:o!==e||o!==r?o:i,needsTheme:o!==e}}(t),v=d.rootDir,p=d.needsTheme,g=a.createElement(pn,{providerRef:i},a.createElement(l,(0,o.Cl)({dir:v},h,{className:r,ref:It(i,e)})));return p&&(g=a.createElement(xn,{settings:{theme:Cn(f,"rtl"===c)}},g)),g}(t,c,f,n))}));kn.displayName="FabricBase";var Sn,Ln={fontFamily:"inherit"},Vn={root:"ms-Fabric",bodyThemed:"ms-Fabric-bodyThemed"},An=(0,r.I)(kn,(function(t){var n=t.applyTheme,i=t.className,e=t.preventBlanketFontInheritance,r=t.theme;return{root:[(0,Xt.Km)(Vn,r).root,r.fonts.medium,{color:r.palette.neutralPrimary},!e&&{"& button":Ln,"& input":Ln,"& textarea":Ln},n&&{color:r.semanticColors.bodyText,backgroundColor:r.semanticColors.bodyBackground},i],bodyThemed:[{backgroundColor:r.semanticColors.bodyBackground}]}}),void 0,{scope:"Fabric"}),Nn=i(119),Dn="data-portal-element",Tn={},On={},Pn="fluent-default-layer-host",En="#".concat(Pn),Fn=i(927),Bn=(0,Fn.S)()?a.useLayoutEffect:a.useEffect,Hn=void 0;function _n(t){Hn?Hn(t):console&&console.warn&&console.warn(t)}function In(t,n,i,e,r){if(!0===r)for(var o=0,a=i;o<a.length;o++){var u=a[o];u in n||_n("".concat(t," property '").concat(u,"' is required when '").concat(e,"' is used.'"))}}function Wn(t,n,i){for(var e in i)if(n&&e in n){var r="".concat(t," property '").concat(e,"' was used but has been deprecated."),o=i[e];o&&(r+=" Use '".concat(o,"' instead.")),_n(r)}}function Rn(t,n){return void 0!==t[n]&&null!==t[n]}function zn(t){var n=(0,a.useRef)();return(0,a.useEffect)((function(){n.current=t})),n.current}Sn={valueOnChange:{},valueDefaultValue:{},controlledToUncontrolled:{},uncontrolledToControlled:{}};var Yn=0;function jn(t){var n=t.name,i=t.props,e=t.other,r=void 0===e?[]:e,u=t.conditionallyRequired,s=t.deprecations,l=t.mutuallyExclusive,c=t.controlledUsage,f=a.useRef(!1),h=qt((function(){return"useWarnings_".concat(Yn++)})),d=zn(i);if(!f.current){f.current=!0;for(var v=0,p=r;v<p.length;v++)_n(p[v]);if(u)for(var g=0,m=u;g<m.length;g++){var y=m[g];In(n,i,y.requiredProps,y.conditionalPropName,y.condition)}s&&Wn(n,i,s),l&&function(t,n,i){for(var e in i)if(n&&void 0!==n[e]){var r=i[e];r&&void 0!==n[r]&&_n("".concat(t," property '").concat(e,"' is mutually exclusive with '").concat(i[e],"'. ")+"Use one or the other.")}}(n,i,l)}c&&function(t){var n=t.componentId,i=t.componentName,e=t.defaultValueProp,r=t.props,o=t.oldProps,a=t.onChangeProp,u=t.readOnlyProp,s=t.valueProp,l=o?Rn(o,s):void 0,c=Rn(r,s);if(c){var f=!!r[a],h=!(!u||!r[u]);f||h||Sn.valueOnChange[n]||(Sn.valueOnChange[n]=!0,_n("Warning: You provided a '".concat(String(s),"' prop to a ").concat(String(i)," without an '").concat(String(a),"' handler. ")+"This will render a read-only field. If the field should be mutable use '".concat(String(e),"'. ")+"Otherwise, set '".concat(String(a),"'").concat(u?" or '".concat(String(u),"'"):"","."))),null==r[e]||Sn.valueDefaultValue[n]||(Sn.valueDefaultValue[n]=!0,_n("Warning: You provided both '".concat(String(s),"' and '").concat(String(e),"' to a ").concat(i,". ")+"Form fields must be either controlled or uncontrolled (specify either the '".concat(String(s),"' prop, ")+"or the '".concat(String(e),"' prop, but not both). Decide between using a controlled or uncontrolled ")+"".concat(i," and remove one of these props. More info: https://fb.me/react-controlled-components")))}if(o&&c!==l){var d=l?"a controlled":"an uncontrolled",v=l?"uncontrolled":"controlled",p=l?Sn.controlledToUncontrolled:Sn.uncontrolledToControlled;p[n]||(p[n]=!0,_n("Warning: A component is changing ".concat(d," ").concat(i," to be ").concat(v,". ")+"".concat(i,"s should not switch from controlled to uncontrolled (or vice versa). ")+"Decide between using controlled or uncontrolled for the lifetime of the component. More info: https://fb.me/react-controlled-components"))}}((0,o.Cl)((0,o.Cl)({},c),{componentId:h,props:i,componentName:n,oldProps:d}))}var Xn,qn=(0,u.Z)(),$n=a.forwardRef((function(t,n){var i,e=null!==(i=a.useContext(cn))&&void 0!==i?i:fn,r=a.useRef(null),u=It(r,n),s=a.useRef(),l=a.useRef(null),c=a.useContext(vn),f=a.useState(!1),h=f[0],d=f[1],v=a.useCallback((function(t){var n,i=!!(null==(n=null==c?void 0:c.providerRef)?void 0:n.current)&&n.current.classList.contains(Nn.Y2);t&&i&&t.classList.add(Nn.Y2)}),[c]),p=t.children,g=t.className,m=t.eventBubblingEnabled,y=t.fabricProps,b=t.hostId,x=t.insertFirst,w=t.onLayerDidMount,M=void 0===w?function(){}:w,C=t.onLayerMounted,S=void 0===C?function(){}:C,L=t.onLayerWillUnmount,V=t.styles,A=t.theme,N=It(l,null==y?void 0:y.ref,v),D=qn(V,{theme:A,className:g,isNotHost:!b}),T=function(){null==L||L();var t=s.current;s.current=void 0,t&&t.parentNode&&t.parentNode.removeChild(t)},O=function(){var t,n,i,e,o=(0,k.Y)(r.current),a=(null===(n=null===(t=r.current)||void 0===t?void 0:t.getRootNode())||void 0===n?void 0:n.host)?null===(i=null==r?void 0:r.current)||void 0===i?void 0:i.getRootNode():void 0;if(o&&(o||a)){var u=function(t,n){var i,e;void 0===n&&(n=null);var r=null!=n?n:t;if(b){var o=function(t){var n=On[t];return n&&n[0]||void 0}(b);return o?null!==(i=o.rootRef.current)&&void 0!==i?i:null:null!==(e=r.getElementById(b))&&void 0!==e?e:null}var a=En,u=a?r.querySelector(a):null;return u||(u=function(t,n){void 0===n&&(n=null);var i=t.createElement("div");return i.setAttribute("id",Pn),i.style.cssText="position:fixed;z-index:1000000",n?n.appendChild(i):null==t||t.body.appendChild(i),i}(t,n)),u}(o,a);if(u){u.__tabsterElementFlags||(u.__tabsterElementFlags={}),u.__tabsterElementFlags.noDirectAriaHidden=!0,T();var l=(null!==(e=u.ownerDocument)&&void 0!==e?e:o).createElement("div");l.className=D.root,l.setAttribute(Dn,"true"),function(t,n){var i=t,e=n;i._virtual||(i._virtual={children:[]});var r=i._virtual.parent;if(r&&r!==n){var o=r._virtual.children.indexOf(i);o>-1&&r._virtual.children.splice(o,1)}i._virtual.parent=e||void 0,e&&(e._virtual||(e._virtual={children:[]}),e._virtual.children.push(i))}(l,r.current),x?u.insertBefore(l,u.firstChild):u.appendChild(l),s.current=l,d(!0)}}};return Bn((function(){O(),b&&function(t,n){Tn[t]||(Tn[t]=[]),Tn[t].push(n);var i=On[t];if(i)for(var e=0,r=i;e<r.length;e++)r[e].notifyLayersChanged()}(b,O);var t=s.current?e(s.current):void 0;return function(){t&&t(),T(),b&&function(t,n){var i=Tn[t];if(i){var e=i.indexOf(n);e>=0&&(i.splice(e,1),0===i.length&&delete Tn[t])}var r=On[t];if(r)for(var o=0,a=r;o<a.length;o++)a[o].notifyLayersChanged()}(b,O)}}),[b]),a.useEffect((function(){s.current&&h&&(null==S||S(),null==M||M(),d(!1))}),[h,S,M]),function(t){jn({name:"Layer",props:t,deprecations:{onLayerMounted:"onLayerDidMount"}})}(t),a.createElement("span",{className:"ms-layer",ref:u},s.current&&hn.createPortal(a.createElement(pn,{layerRoot:!0,providerRef:N},a.createElement(An,(0,o.Cl)({},!m&&(Xn||(Xn={},["onClick","onContextMenu","onDoubleClick","onDrag","onDragEnd","onDragEnter","onDragExit","onDragLeave","onDragOver","onDragStart","onDrop","onMouseDown","onMouseEnter","onMouseLeave","onMouseMove","onMouseOver","onMouseOut","onMouseUp","onTouchMove","onTouchStart","onTouchCancel","onTouchEnd","onKeyDown","onKeyPress","onKeyUp","onFocus","onBlur","onChange","onInput","onInvalid","onSubmit"].forEach((function(t){return Xn[t]=Un}))),Xn),y,{className:G(D.content,null==y?void 0:y.className),ref:N}),p)),s.current))}));$n.displayName="LayerBase";var Un=function(t){t.eventPhase===Event.BUBBLING_PHASE&&"mouseenter"!==t.type&&"mouseleave"!==t.type&&"touchstart"!==t.type&&"touchend"!==t.type&&t.stopPropagation()},Gn={root:"ms-Layer",rootNoHost:"ms-Layer--fixed",content:"ms-Layer-content"},Zn=(0,r.I)($n,(function(t){var n=t.className,i=t.isNotHost,e=t.theme,r=(0,Xt.Km)(Gn,e);return{root:[r.root,e.fonts.medium,i&&[r.rootNoHost,{position:"fixed",zIndex:Xt.nA.Layer,top:0,left:0,bottom:0,right:0,visibility:"hidden"}],n],content:[r.content,{visibility:"visible"}]}}),void 0,{scope:"Layer",fields:["hostId","theme","styles"]}),Kn=a.forwardRef((function(t,n){var i=t.layerProps,e=t.doNotLayer,r=(0,o.Tt)(t,["layerProps","doNotLayer"]),u=a.createElement(ln,(0,o.Cl)({},r,{doNotLayer:e,ref:n}));return e?u:a.createElement(Zn,(0,o.Cl)({},i),u)}));Kn.displayName="Callout";var Jn=i(464),Qn=Array.prototype.slice;function ti(t){return t}var ni=1,ii=2,ei=3,ri=4,oi=1e-6;function ai(t){return"translate("+t+",0)"}function ui(t){return"translate(0,"+t+")"}function si(t){return n=>+t(n)}function li(t,n){return n=Math.max(0,t.bandwidth()-2*n)/2,t.round()&&(n=Math.round(n)),i=>+t(i)+n}function ci(){return!this.__axis}function fi(t,n){var i=[],e=null,r=null,o=6,a=6,u=3,s="undefined"!=typeof window&&window.devicePixelRatio>1?0:.5,l=t===ni||t===ri?-1:1,c=t===ri||t===ii?"x":"y",f=t===ni||t===ei?ai:ui;function h(h){var d=null==e?n.ticks?n.ticks.apply(n,i):n.domain():e,v=null==r?n.tickFormat?n.tickFormat.apply(n,i):ti:r,p=Math.max(o,0)+u,g=n.range(),m=+g[0]+s,y=+g[g.length-1]+s,b=(n.bandwidth?li:si)(n.copy(),s),x=h.selection?h.selection():h,w=x.selectAll(".domain").data([null]),M=x.selectAll(".tick").data(d,n).order(),C=M.exit(),k=M.enter().append("g").attr("class","tick"),S=M.select("line"),L=M.select("text");w=w.merge(w.enter().insert("path",".tick").attr("class","domain").attr("stroke","currentColor")),M=M.merge(k),S=S.merge(k.append("line").attr("stroke","currentColor").attr(c+"2",l*o)),L=L.merge(k.append("text").attr("fill","currentColor").attr(c,l*p).attr("dy",t===ni?"0em":t===ei?"0.71em":"0.32em")),h!==x&&(w=w.transition(h),M=M.transition(h),S=S.transition(h),L=L.transition(h),C=C.transition(h).attr("opacity",oi).attr("transform",(function(t){return isFinite(t=b(t))?f(t+s):this.getAttribute("transform")})),k.attr("opacity",oi).attr("transform",(function(t){var n=this.parentNode.__axis;return f((n&&isFinite(n=n(t))?n:b(t))+s)}))),C.remove(),w.attr("d",t===ri||t===ii?a?"M"+l*a+","+m+"H"+s+"V"+y+"H"+l*a:"M"+s+","+m+"V"+y:a?"M"+m+","+l*a+"V"+s+"H"+y+"V"+l*a:"M"+m+","+s+"H"+y),M.attr("opacity",1).attr("transform",(function(t){return f(b(t)+s)})),S.attr(c+"2",l*o),L.attr(c,l*p).text(v),x.filter(ci).attr("fill","none").attr("font-size",10).attr("font-family","sans-serif").attr("text-anchor",t===ii?"start":t===ri?"end":"middle"),x.each((function(){this.__axis=b}))}return h.scale=function(t){return arguments.length?(n=t,h):n},h.ticks=function(){return i=Qn.call(arguments),h},h.tickArguments=function(t){return arguments.length?(i=null==t?[]:Qn.call(t),h):i.slice()},h.tickValues=function(t){return arguments.length?(e=null==t?null:Qn.call(t),h):e&&e.slice()},h.tickFormat=function(t){return arguments.length?(r=t,h):r},h.tickSize=function(t){return arguments.length?(o=a=+t,h):o},h.tickSizeInner=function(t){return arguments.length?(o=+t,h):o},h.tickSizeOuter=function(t){return arguments.length?(a=+t,h):a},h.tickPadding=function(t){return arguments.length?(u=+t,h):u},h.offset=function(t){return arguments.length?(s=+t,h):s},h}function hi(t){return fi(ii,t)}function di(t){return fi(ei,t)}function vi(t){return fi(ri,t)}function pi(t,n){let i;if(void 0===n)for(const n of t)null!=n&&(i>n||void 0===i&&n>=n)&&(i=n);else{let e=-1;for(let r of t)null!=(r=n(r,++e,t))&&(i>r||void 0===i&&r>=r)&&(i=r)}return i}function gi(t,n){let i;if(void 0===n)for(const n of t)null!=n&&(i<n||void 0===i&&n>=n)&&(i=n);else{let e=-1;for(let r of t)null!=(r=n(r,++e,t))&&(i<r||void 0===i&&r>=r)&&(i=r)}return i}var mi=Math.sqrt(50),yi=Math.sqrt(10),bi=Math.sqrt(2);function xi(t,n,i){var e=(n-t)/Math.max(0,i),r=Math.floor(Math.log(e)/Math.LN10),o=e/Math.pow(10,r);return r>=0?(o>=mi?10:o>=yi?5:o>=bi?2:1)*Math.pow(10,r):-Math.pow(10,-r)/(o>=mi?10:o>=yi?5:o>=bi?2:1)}function wi(t,n){return t<n?-1:t>n?1:t>=n?0:NaN}function Mi(t){let n=t,i=t;function e(t,n,e,r){for(null==e&&(e=0),null==r&&(r=t.length);e<r;){const o=e+r>>>1;i(t[o],n)<0?e=o+1:r=o}return e}return 1===t.length&&(n=(n,i)=>t(n)-i,i=function(t){return(n,i)=>wi(t(n),i)}(t)),{left:e,center:function(t,i,r,o){null==r&&(r=0),null==o&&(o=t.length);const a=e(t,i,r,o-1);return a>r&&n(t[a-1],i)>-n(t[a],i)?a-1:a},right:function(t,n,e,r){for(null==e&&(e=0),null==r&&(r=t.length);e<r;){const o=e+r>>>1;i(t[o],n)>0?r=o:e=o+1}return e}}}const Ci=Mi(wi),ki=Ci.right;Ci.left,Mi((function(t){return null===t?NaN:+t})).center;var Si=ki;function Li(t,n,i){t.prototype=n.prototype=i,i.constructor=t}function Vi(t,n){var i=Object.create(t.prototype);for(var e in n)i[e]=n[e];return i}function Ai(){}var Ni=.7,Di=1/Ni,Ti="\\s*([+-]?\\d+)\\s*",Oi="\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)\\s*",Pi="\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)%\\s*",Ei=/^#([0-9a-f]{3,8})$/,Fi=new RegExp("^rgb\\("+[Ti,Ti,Ti]+"\\)$"),Bi=new RegExp("^rgb\\("+[Pi,Pi,Pi]+"\\)$"),Hi=new RegExp("^rgba\\("+[Ti,Ti,Ti,Oi]+"\\)$"),_i=new RegExp("^rgba\\("+[Pi,Pi,Pi,Oi]+"\\)$"),Ii=new RegExp("^hsl\\("+[Oi,Pi,Pi]+"\\)$"),Wi=new RegExp("^hsla\\("+[Oi,Pi,Pi,Oi]+"\\)$"),Ri={aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgreen:25600,darkgrey:11119017,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,green:32768,greenyellow:11403055,grey:8421504,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgreen:9498256,lightgrey:13882323,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074};function zi(){return this.rgb().formatHex()}function Yi(){return this.rgb().formatRgb()}function ji(t){var n,i;return t=(t+"").trim().toLowerCase(),(n=Ei.exec(t))?(i=n[1].length,n=parseInt(n[1],16),6===i?Xi(n):3===i?new Ui(n>>8&15|n>>4&240,n>>4&15|240&n,(15&n)<<4|15&n,1):8===i?new Ui(n>>24&255,n>>16&255,n>>8&255,(255&n)/255):4===i?new Ui(n>>12&15|n>>8&240,n>>8&15|n>>4&240,n>>4&15|240&n,((15&n)<<4|15&n)/255):null):(n=Fi.exec(t))?new Ui(n[1],n[2],n[3],1):(n=Bi.exec(t))?new Ui(255*n[1]/100,255*n[2]/100,255*n[3]/100,1):(n=Hi.exec(t))?qi(n[1],n[2],n[3],n[4]):(n=_i.exec(t))?qi(255*n[1]/100,255*n[2]/100,255*n[3]/100,n[4]):(n=Ii.exec(t))?Ji(n[1],n[2]/100,n[3]/100,1):(n=Wi.exec(t))?Ji(n[1],n[2]/100,n[3]/100,n[4]):Ri.hasOwnProperty(t)?Xi(Ri[t]):"transparent"===t?new Ui(NaN,NaN,NaN,0):null}function Xi(t){return new Ui(t>>16&255,t>>8&255,255&t,1)}function qi(t,n,i,e){return e<=0&&(t=n=i=NaN),new Ui(t,n,i,e)}function $i(t,n,i,e){return 1===arguments.length?((r=t)instanceof Ai||(r=ji(r)),r?new Ui((r=r.rgb()).r,r.g,r.b,r.opacity):new Ui):new Ui(t,n,i,null==e?1:e);var r}function Ui(t,n,i,e){this.r=+t,this.g=+n,this.b=+i,this.opacity=+e}function Gi(){return"#"+Ki(this.r)+Ki(this.g)+Ki(this.b)}function Zi(){var t=this.opacity;return(1===(t=isNaN(t)?1:Math.max(0,Math.min(1,t)))?"rgb(":"rgba(")+Math.max(0,Math.min(255,Math.round(this.r)||0))+", "+Math.max(0,Math.min(255,Math.round(this.g)||0))+", "+Math.max(0,Math.min(255,Math.round(this.b)||0))+(1===t?")":", "+t+")")}function Ki(t){return((t=Math.max(0,Math.min(255,Math.round(t)||0)))<16?"0":"")+t.toString(16)}function Ji(t,n,i,e){return e<=0?t=n=i=NaN:i<=0||i>=1?t=n=NaN:n<=0&&(t=NaN),new te(t,n,i,e)}function Qi(t){if(t instanceof te)return new te(t.h,t.s,t.l,t.opacity);if(t instanceof Ai||(t=ji(t)),!t)return new te;if(t instanceof te)return t;var n=(t=t.rgb()).r/255,i=t.g/255,e=t.b/255,r=Math.min(n,i,e),o=Math.max(n,i,e),a=NaN,u=o-r,s=(o+r)/2;return u?(a=n===o?(i-e)/u+6*(i<e):i===o?(e-n)/u+2:(n-i)/u+4,u/=s<.5?o+r:2-o-r,a*=60):u=s>0&&s<1?0:a,new te(a,u,s,t.opacity)}function te(t,n,i,e){this.h=+t,this.s=+n,this.l=+i,this.opacity=+e}function ne(t,n,i){return 255*(t<60?n+(i-n)*t/60:t<180?i:t<240?n+(i-n)*(240-t)/60:n)}function ie(t,n,i,e,r){var o=t*t,a=o*t;return((1-3*t+3*o-a)*n+(4-6*o+3*a)*i+(1+3*t+3*o-3*a)*e+a*r)/6}function ee(t){return function(){return t}}function re(t,n){var i=n-t;return i?function(t,n){return function(i){return t+i*n}}(t,i):ee(isNaN(t)?n:t)}Li(Ai,ji,{copy:function(t){return Object.assign(new this.constructor,this,t)},displayable:function(){return this.rgb().displayable()},hex:zi,formatHex:zi,formatHsl:function(){return Qi(this).formatHsl()},formatRgb:Yi,toString:Yi}),Li(Ui,$i,Vi(Ai,{brighter:function(t){return t=null==t?Di:Math.pow(Di,t),new Ui(this.r*t,this.g*t,this.b*t,this.opacity)},darker:function(t){return t=null==t?Ni:Math.pow(Ni,t),new Ui(this.r*t,this.g*t,this.b*t,this.opacity)},rgb:function(){return this},displayable:function(){return-.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:Gi,formatHex:Gi,formatRgb:Zi,toString:Zi})),Li(te,(function(t,n,i,e){return 1===arguments.length?Qi(t):new te(t,n,i,null==e?1:e)}),Vi(Ai,{brighter:function(t){return t=null==t?Di:Math.pow(Di,t),new te(this.h,this.s,this.l*t,this.opacity)},darker:function(t){return t=null==t?Ni:Math.pow(Ni,t),new te(this.h,this.s,this.l*t,this.opacity)},rgb:function(){var t=this.h%360+360*(this.h<0),n=isNaN(t)||isNaN(this.s)?0:this.s,i=this.l,e=i+(i<.5?i:1-i)*n,r=2*i-e;return new Ui(ne(t>=240?t-240:t+120,r,e),ne(t,r,e),ne(t<120?t+240:t-120,r,e),this.opacity)},displayable:function(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl:function(){var t=this.opacity;return(1===(t=isNaN(t)?1:Math.max(0,Math.min(1,t)))?"hsl(":"hsla(")+(this.h||0)+", "+100*(this.s||0)+"%, "+100*(this.l||0)+"%"+(1===t?")":", "+t+")")}}));var oe=function t(n){var i=function(t){return 1==(t=+t)?re:function(n,i){return i-n?function(t,n,i){return t=Math.pow(t,i),n=Math.pow(n,i)-t,i=1/i,function(e){return Math.pow(t+e*n,i)}}(n,i,t):ee(isNaN(n)?i:n)}}(n);function e(t,n){var e=i((t=$i(t)).r,(n=$i(n)).r),r=i(t.g,n.g),o=i(t.b,n.b),a=re(t.opacity,n.opacity);return function(n){return t.r=e(n),t.g=r(n),t.b=o(n),t.opacity=a(n),t+""}}return e.gamma=t,e}(1);function ae(t){return function(n){var i,e,r=n.length,o=new Array(r),a=new Array(r),u=new Array(r);for(i=0;i<r;++i)e=$i(n[i]),o[i]=e.r||0,a[i]=e.g||0,u[i]=e.b||0;return o=t(o),a=t(a),u=t(u),e.opacity=1,function(t){return e.r=o(t),e.g=a(t),e.b=u(t),e+""}}}function ue(t,n){var i,e=n?n.length:0,r=t?Math.min(e,t.length):0,o=new Array(r),a=new Array(e);for(i=0;i<r;++i)o[i]=pe(t[i],n[i]);for(;i<e;++i)a[i]=n[i];return function(t){for(i=0;i<r;++i)a[i]=o[i](t);return a}}function se(t,n){var i=new Date;return t=+t,n=+n,function(e){return i.setTime(t*(1-e)+n*e),i}}function le(t,n){return t=+t,n=+n,function(i){return t*(1-i)+n*i}}function ce(t,n){var i,e={},r={};for(i in null!==t&&"object"==typeof t||(t={}),null!==n&&"object"==typeof n||(n={}),n)i in t?e[i]=pe(t[i],n[i]):r[i]=n[i];return function(t){for(i in e)r[i]=e[i](t);return r}}ae((function(t){var n=t.length-1;return function(i){var e=i<=0?i=0:i>=1?(i=1,n-1):Math.floor(i*n),r=t[e],o=t[e+1],a=e>0?t[e-1]:2*r-o,u=e<n-1?t[e+2]:2*o-r;return ie((i-e/n)*n,a,r,o,u)}})),ae((function(t){var n=t.length;return function(i){var e=Math.floor(((i%=1)<0?++i:i)*n),r=t[(e+n-1)%n],o=t[e%n],a=t[(e+1)%n],u=t[(e+2)%n];return ie((i-e/n)*n,r,o,a,u)}}));var fe=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,he=new RegExp(fe.source,"g");function de(t,n){var i,e,r,o=fe.lastIndex=he.lastIndex=0,a=-1,u=[],s=[];for(t+="",n+="";(i=fe.exec(t))&&(e=he.exec(n));)(r=e.index)>o&&(r=n.slice(o,r),u[a]?u[a]+=r:u[++a]=r),(i=i[0])===(e=e[0])?u[a]?u[a]+=e:u[++a]=e:(u[++a]=null,s.push({i:a,x:le(i,e)})),o=he.lastIndex;return o<n.length&&(r=n.slice(o),u[a]?u[a]+=r:u[++a]=r),u.length<2?s[0]?function(t){return function(n){return t(n)+""}}(s[0].x):function(t){return function(){return t}}(n):(n=s.length,function(t){for(var i,e=0;e<n;++e)u[(i=s[e]).i]=i.x(t);return u.join("")})}function ve(t,n){n||(n=[]);var i,e=t?Math.min(n.length,t.length):0,r=n.slice();return function(o){for(i=0;i<e;++i)r[i]=t[i]*(1-o)+n[i]*o;return r}}function pe(t,n){var i,e,r=typeof n;return null==n||"boolean"===r?ee(n):("number"===r?le:"string"===r?(i=ji(n))?(n=i,oe):de:n instanceof ji?oe:n instanceof Date?se:(e=n,!ArrayBuffer.isView(e)||e instanceof DataView?Array.isArray(n)?ue:"function"!=typeof n.valueOf&&"function"!=typeof n.toString||isNaN(n)?ce:le:ve))(t,n)}function ge(t,n){return t=+t,n=+n,function(i){return Math.round(t*(1-i)+n*i)}}function me(t){return+t}var ye=[0,1];function be(t){return t}function xe(t,n){return(n-=t=+t)?function(i){return(i-t)/n}:(i=isNaN(n)?NaN:.5,function(){return i});var i}function we(t,n,i){var e=t[0],r=t[1],o=n[0],a=n[1];return r<e?(e=xe(r,e),o=i(a,o)):(e=xe(e,r),o=i(o,a)),function(t){return o(e(t))}}function Me(t,n,i){var e=Math.min(t.length,n.length)-1,r=new Array(e),o=new Array(e),a=-1;for(t[e]<t[0]&&(t=t.slice().reverse(),n=n.slice().reverse());++a<e;)r[a]=xe(t[a],t[a+1]),o[a]=i(n[a],n[a+1]);return function(n){var i=Si(t,n,1,e)-1;return o[i](r[i](n))}}function Ce(t,n){return n.domain(t.domain()).range(t.range()).interpolate(t.interpolate()).clamp(t.clamp()).unknown(t.unknown())}function ke(){return function(){var t,n,i,e,r,o,a=ye,u=ye,s=pe,l=be;function c(){var t,n,i,s=Math.min(a.length,u.length);return l!==be&&(t=a[0],n=a[s-1],t>n&&(i=t,t=n,n=i),l=function(i){return Math.max(t,Math.min(n,i))}),e=s>2?Me:we,r=o=null,f}function f(n){return null==n||isNaN(n=+n)?i:(r||(r=e(a.map(t),u,s)))(t(l(n)))}return f.invert=function(i){return l(n((o||(o=e(u,a.map(t),le)))(i)))},f.domain=function(t){return arguments.length?(a=Array.from(t,me),c()):a.slice()},f.range=function(t){return arguments.length?(u=Array.from(t),c()):u.slice()},f.rangeRound=function(t){return u=Array.from(t),s=ge,c()},f.clamp=function(t){return arguments.length?(l=!!t||be,c()):l!==be},f.interpolate=function(t){return arguments.length?(s=t,c()):s},f.unknown=function(t){return arguments.length?(i=t,f):i},function(i,e){return t=i,n=e,c()}}()(be,be)}function Se(t,n){switch(arguments.length){case 0:break;case 1:this.range(t);break;default:this.range(n).domain(t)}return this}var Le,Ve=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function Ae(t){if(!(n=Ve.exec(t)))throw new Error("invalid format: "+t);var n;return new Ne({fill:n[1],align:n[2],sign:n[3],symbol:n[4],zero:n[5],width:n[6],comma:n[7],precision:n[8]&&n[8].slice(1),trim:n[9],type:n[10]})}function Ne(t){this.fill=void 0===t.fill?" ":t.fill+"",this.align=void 0===t.align?">":t.align+"",this.sign=void 0===t.sign?"-":t.sign+"",this.symbol=void 0===t.symbol?"":t.symbol+"",this.zero=!!t.zero,this.width=void 0===t.width?void 0:+t.width,this.comma=!!t.comma,this.precision=void 0===t.precision?void 0:+t.precision,this.trim=!!t.trim,this.type=void 0===t.type?"":t.type+""}function De(t,n){if((i=(t=n?t.toExponential(n-1):t.toExponential()).indexOf("e"))<0)return null;var i,e=t.slice(0,i);return[e.length>1?e[0]+e.slice(2):e,+t.slice(i+1)]}function Te(t){return(t=De(Math.abs(t)))?t[1]:NaN}function Oe(t,n){var i=De(t,n);if(!i)return t+"";var e=i[0],r=i[1];return r<0?"0."+new Array(-r).join("0")+e:e.length>r+1?e.slice(0,r+1)+"."+e.slice(r+1):e+new Array(r-e.length+2).join("0")}Ae.prototype=Ne.prototype,Ne.prototype.toString=function(){return this.fill+this.align+this.sign+this.symbol+(this.zero?"0":"")+(void 0===this.width?"":Math.max(1,0|this.width))+(this.comma?",":"")+(void 0===this.precision?"":"."+Math.max(0,0|this.precision))+(this.trim?"~":"")+this.type};var Pe={"%":function(t,n){return(100*t).toFixed(n)},b:function(t){return Math.round(t).toString(2)},c:function(t){return t+""},d:function(t){return Math.round(t).toString(10)},e:function(t,n){return t.toExponential(n)},f:function(t,n){return t.toFixed(n)},g:function(t,n){return t.toPrecision(n)},o:function(t){return Math.round(t).toString(8)},p:function(t,n){return Oe(100*t,n)},r:Oe,s:function(t,n){var i=De(t,n);if(!i)return t+"";var e=i[0],r=i[1],o=r-(Le=3*Math.max(-8,Math.min(8,Math.floor(r/3))))+1,a=e.length;return o===a?e:o>a?e+new Array(o-a+1).join("0"):o>0?e.slice(0,o)+"."+e.slice(o):"0."+new Array(1-o).join("0")+De(t,Math.max(0,n+o-1))[0]},X:function(t){return Math.round(t).toString(16).toUpperCase()},x:function(t){return Math.round(t).toString(16)}};function Ee(t){return t}var Fe,Be,He,_e=Array.prototype.map,Ie=["y","z","a","f","p","n","µ","m","","k","M","G","T","P","E","Z","Y"];function We(t){var n=t.domain;return t.ticks=function(t){var i=n();return function(t,n,i){var e,r,o,a,u=-1;if(i=+i,(t=+t)==(n=+n)&&i>0)return[t];if((e=n<t)&&(r=t,t=n,n=r),0===(a=xi(t,n,i))||!isFinite(a))return[];if(a>0){let i=Math.round(t/a),e=Math.round(n/a);for(i*a<t&&++i,e*a>n&&--e,o=new Array(r=e-i+1);++u<r;)o[u]=(i+u)*a}else{a=-a;let i=Math.round(t*a),e=Math.round(n*a);for(i/a<t&&++i,e/a>n&&--e,o=new Array(r=e-i+1);++u<r;)o[u]=(i+u)/a}return e&&o.reverse(),o}(i[0],i[i.length-1],null==t?10:t)},t.tickFormat=function(t,i){var e=n();return function(t,n,i,e){var r,o=function(t,n,i){var e=Math.abs(n-t)/Math.max(0,i),r=Math.pow(10,Math.floor(Math.log(e)/Math.LN10)),o=e/r;return o>=mi?r*=10:o>=yi?r*=5:o>=bi&&(r*=2),n<t?-r:r}(t,n,i);switch((e=Ae(null==e?",f":e)).type){case"s":var a=Math.max(Math.abs(t),Math.abs(n));return null!=e.precision||isNaN(r=function(t,n){return Math.max(0,3*Math.max(-8,Math.min(8,Math.floor(Te(n)/3)))-Te(Math.abs(t)))}(o,a))||(e.precision=r),He(e,a);case"":case"e":case"g":case"p":case"r":null!=e.precision||isNaN(r=function(t,n){return t=Math.abs(t),n=Math.abs(n)-t,Math.max(0,Te(n)-Te(t))+1}(o,Math.max(Math.abs(t),Math.abs(n))))||(e.precision=r-("e"===e.type));break;case"f":case"%":null!=e.precision||isNaN(r=function(t){return Math.max(0,-Te(Math.abs(t)))}(o))||(e.precision=r-2*("%"===e.type))}return Be(e)}(e[0],e[e.length-1],null==t?10:t,i)},t.nice=function(i){null==i&&(i=10);var e,r,o=n(),a=0,u=o.length-1,s=o[a],l=o[u],c=10;for(l<s&&(r=s,s=l,l=r,r=a,a=u,u=r);c-- >0;){if((r=xi(s,l,i))===e)return o[a]=s,o[u]=l,n(o);if(r>0)s=Math.floor(s/r)*r,l=Math.ceil(l/r)*r;else{if(!(r<0))break;s=Math.ceil(s*r)/r,l=Math.floor(l*r)/r}e=r}return t},t}function Re(){var t=ke();return t.copy=function(){return Ce(t,Re())},Se.apply(t,arguments),We(t)}Fe=function(t){var n,i,e=void 0===t.grouping||void 0===t.thousands?Ee:(n=_e.call(t.grouping,Number),i=t.thousands+"",function(t,e){for(var r=t.length,o=[],a=0,u=n[0],s=0;r>0&&u>0&&(s+u+1>e&&(u=Math.max(1,e-s)),o.push(t.substring(r-=u,r+u)),!((s+=u+1)>e));)u=n[a=(a+1)%n.length];return o.reverse().join(i)}),r=void 0===t.currency?"":t.currency[0]+"",o=void 0===t.currency?"":t.currency[1]+"",a=void 0===t.decimal?".":t.decimal+"",u=void 0===t.numerals?Ee:function(t){return function(n){return n.replace(/[0-9]/g,(function(n){return t[+n]}))}}(_e.call(t.numerals,String)),s=void 0===t.percent?"%":t.percent+"",l=void 0===t.minus?"-":t.minus+"",c=void 0===t.nan?"NaN":t.nan+"";function f(t){var n=(t=Ae(t)).fill,i=t.align,f=t.sign,h=t.symbol,d=t.zero,v=t.width,p=t.comma,g=t.precision,m=t.trim,y=t.type;"n"===y?(p=!0,y="g"):Pe[y]||(void 0===g&&(g=12),m=!0,y="g"),(d||"0"===n&&"="===i)&&(d=!0,n="0",i="=");var b="$"===h?r:"#"===h&&/[boxX]/.test(y)?"0"+y.toLowerCase():"",x="$"===h?o:/[%p]/.test(y)?s:"",w=Pe[y],M=/[defgprs%]/.test(y);function C(t){var r,o,s,h=b,C=x;if("c"===y)C=w(t)+C,t="";else{var k=(t=+t)<0||1/t<0;if(t=isNaN(t)?c:w(Math.abs(t),g),m&&(t=function(t){t:for(var n,i=t.length,e=1,r=-1;e<i;++e)switch(t[e]){case".":r=n=e;break;case"0":0===r&&(r=e),n=e;break;default:if(!+t[e])break t;r>0&&(r=0)}return r>0?t.slice(0,r)+t.slice(n+1):t}(t)),k&&0==+t&&"+"!==f&&(k=!1),h=(k?"("===f?f:l:"-"===f||"("===f?"":f)+h,C=("s"===y?Ie[8+Le/3]:"")+C+(k&&"("===f?")":""),M)for(r=-1,o=t.length;++r<o;)if(48>(s=t.charCodeAt(r))||s>57){C=(46===s?a+t.slice(r+1):t.slice(r))+C,t=t.slice(0,r);break}}p&&!d&&(t=e(t,1/0));var S=h.length+t.length+C.length,L=S<v?new Array(v-S+1).join(n):"";switch(p&&d&&(t=e(L+t,L.length?v-C.length:1/0),L=""),i){case"<":t=h+t+C+L;break;case"=":t=h+L+t+C;break;case"^":t=L.slice(0,S=L.length>>1)+h+t+C+L.slice(S);break;default:t=L+h+t+C}return u(t)}return g=void 0===g?6:/[gprs]/.test(y)?Math.max(1,Math.min(21,g)):Math.max(0,Math.min(20,g)),C.toString=function(){return t+""},C}return{format:f,formatPrefix:function(t,n){var i=f(((t=Ae(t)).type="f",t)),e=3*Math.max(-8,Math.min(8,Math.floor(Te(n)/3))),r=Math.pow(10,-e),o=Ie[8+e/3];return function(t){return i(r*t)+o}}}}({decimal:".",thousands:",",grouping:[3],currency:["$",""],minus:"-"}),Be=Fe.format,He=Fe.formatPrefix;var ze=Math.sqrt(50),Ye=Math.sqrt(10),je=Math.sqrt(2);function Xe(t,n,i){var e=Math.abs(n-t)/Math.max(0,i),r=Math.pow(10,Math.floor(Math.log(e)/Math.LN10)),o=e/r;return o>=ze?r*=10:o>=Ye?r*=5:o>=je&&(r*=2),n<t?-r:r}const qe=1e3,$e=6e4,Ue=36e5,Ge=864e5,Ze=6048e5,Ke=31536e6;var Je=new Date,Qe=new Date;function tr(t,n,i,e){function r(n){return t(n=0===arguments.length?new Date:new Date(+n)),n}return r.floor=function(n){return t(n=new Date(+n)),n},r.ceil=function(i){return t(i=new Date(i-1)),n(i,1),t(i),i},r.round=function(t){var n=r(t),i=r.ceil(t);return t-n<i-t?n:i},r.offset=function(t,i){return n(t=new Date(+t),null==i?1:Math.floor(i)),t},r.range=function(i,e,o){var a,u=[];if(i=r.ceil(i),o=null==o?1:Math.floor(o),!(i<e&&o>0))return u;do{u.push(a=new Date(+i)),n(i,o),t(i)}while(a<i&&i<e);return u},r.filter=function(i){return tr((function(n){if(n>=n)for(;t(n),!i(n);)n.setTime(n-1)}),(function(t,e){if(t>=t)if(e<0)for(;++e<=0;)for(;n(t,-1),!i(t););else for(;--e>=0;)for(;n(t,1),!i(t););}))},i&&(r.count=function(n,e){return Je.setTime(+n),Qe.setTime(+e),t(Je),t(Qe),Math.floor(i(Je,Qe))},r.every=function(t){return t=Math.floor(t),isFinite(t)&&t>0?t>1?r.filter(e?function(n){return e(n)%t==0}:function(n){return r.count(0,n)%t==0}):r:null}),r}var nr=tr((function(){}),(function(t,n){t.setTime(+t+n)}),(function(t,n){return n-t}));nr.every=function(t){return t=Math.floor(t),isFinite(t)&&t>0?t>1?tr((function(n){n.setTime(Math.floor(n/t)*t)}),(function(n,i){n.setTime(+n+i*t)}),(function(n,i){return(i-n)/t})):nr:null};var ir=nr,er=(nr.range,tr((function(t){t.setTime(t-t.getMilliseconds())}),(function(t,n){t.setTime(+t+n*qe)}),(function(t,n){return(n-t)/qe}),(function(t){return t.getUTCSeconds()}))),rr=er,or=(er.range,tr((function(t){t.setTime(t-t.getMilliseconds()-t.getSeconds()*qe)}),(function(t,n){t.setTime(+t+n*$e)}),(function(t,n){return(n-t)/$e}),(function(t){return t.getMinutes()}))),ar=or,ur=(or.range,tr((function(t){t.setTime(t-t.getMilliseconds()-t.getSeconds()*qe-t.getMinutes()*$e)}),(function(t,n){t.setTime(+t+n*Ue)}),(function(t,n){return(n-t)/Ue}),(function(t){return t.getHours()}))),sr=ur,lr=(ur.range,tr((t=>t.setHours(0,0,0,0)),((t,n)=>t.setDate(t.getDate()+n)),((t,n)=>(n-t-(n.getTimezoneOffset()-t.getTimezoneOffset())*$e)/Ge),(t=>t.getDate()-1))),cr=lr;function fr(t){return tr((function(n){n.setDate(n.getDate()-(n.getDay()+7-t)%7),n.setHours(0,0,0,0)}),(function(t,n){t.setDate(t.getDate()+7*n)}),(function(t,n){return(n-t-(n.getTimezoneOffset()-t.getTimezoneOffset())*$e)/Ze}))}lr.range;var hr=fr(0),dr=fr(1),vr=fr(2),pr=fr(3),gr=fr(4),mr=fr(5),yr=fr(6),br=(hr.range,dr.range,vr.range,pr.range,gr.range,mr.range,yr.range,tr((function(t){t.setDate(1),t.setHours(0,0,0,0)}),(function(t,n){t.setMonth(t.getMonth()+n)}),(function(t,n){return n.getMonth()-t.getMonth()+12*(n.getFullYear()-t.getFullYear())}),(function(t){return t.getMonth()}))),xr=br,wr=(br.range,tr((function(t){t.setMonth(0,1),t.setHours(0,0,0,0)}),(function(t,n){t.setFullYear(t.getFullYear()+n)}),(function(t,n){return n.getFullYear()-t.getFullYear()}),(function(t){return t.getFullYear()})));wr.every=function(t){return isFinite(t=Math.floor(t))&&t>0?tr((function(n){n.setFullYear(Math.floor(n.getFullYear()/t)*t),n.setMonth(0,1),n.setHours(0,0,0,0)}),(function(n,i){n.setFullYear(n.getFullYear()+i*t)})):null};var Mr=wr,Cr=(wr.range,tr((function(t){t.setUTCSeconds(0,0)}),(function(t,n){t.setTime(+t+n*$e)}),(function(t,n){return(n-t)/$e}),(function(t){return t.getUTCMinutes()}))),kr=Cr,Sr=(Cr.range,tr((function(t){t.setUTCMinutes(0,0,0)}),(function(t,n){t.setTime(+t+n*Ue)}),(function(t,n){return(n-t)/Ue}),(function(t){return t.getUTCHours()}))),Lr=Sr,Vr=(Sr.range,tr((function(t){t.setUTCHours(0,0,0,0)}),(function(t,n){t.setUTCDate(t.getUTCDate()+n)}),(function(t,n){return(n-t)/Ge}),(function(t){return t.getUTCDate()-1}))),Ar=Vr;function Nr(t){return tr((function(n){n.setUTCDate(n.getUTCDate()-(n.getUTCDay()+7-t)%7),n.setUTCHours(0,0,0,0)}),(function(t,n){t.setUTCDate(t.getUTCDate()+7*n)}),(function(t,n){return(n-t)/Ze}))}Vr.range;var Dr=Nr(0),Tr=Nr(1),Or=Nr(2),Pr=Nr(3),Er=Nr(4),Fr=Nr(5),Br=Nr(6),Hr=(Dr.range,Tr.range,Or.range,Pr.range,Er.range,Fr.range,Br.range,tr((function(t){t.setUTCDate(1),t.setUTCHours(0,0,0,0)}),(function(t,n){t.setUTCMonth(t.getUTCMonth()+n)}),(function(t,n){return n.getUTCMonth()-t.getUTCMonth()+12*(n.getUTCFullYear()-t.getUTCFullYear())}),(function(t){return t.getUTCMonth()}))),_r=Hr,Ir=(Hr.range,tr((function(t){t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0)}),(function(t,n){t.setUTCFullYear(t.getUTCFullYear()+n)}),(function(t,n){return n.getUTCFullYear()-t.getUTCFullYear()}),(function(t){return t.getUTCFullYear()})));Ir.every=function(t){return isFinite(t=Math.floor(t))&&t>0?tr((function(n){n.setUTCFullYear(Math.floor(n.getUTCFullYear()/t)*t),n.setUTCMonth(0,1),n.setUTCHours(0,0,0,0)}),(function(n,i){n.setUTCFullYear(n.getUTCFullYear()+i*t)})):null};var Wr=Ir;function Rr(t,n,i,e,r,o){const a=[[rr,1,qe],[rr,5,5e3],[rr,15,15e3],[rr,30,3e4],[o,1,$e],[o,5,3e5],[o,15,9e5],[o,30,18e5],[r,1,Ue],[r,3,108e5],[r,6,216e5],[r,12,432e5],[e,1,Ge],[e,2,1728e5],[i,1,Ze],[n,1,2592e6],[n,3,7776e6],[t,1,Ke]];function u(n,i,e){const r=Math.abs(i-n)/e,o=function(t){let n=t,i=t;function e(t,n,e,r){for(null==e&&(e=0),null==r&&(r=t.length);e<r;){const o=e+r>>>1;i(t[o],n)<0?e=o+1:r=o}return e}return 1===t.length&&(n=(n,i)=>t(n)-i,i=function(t){return(n,i)=>{return(e=t(n))<(r=i)?-1:e>r?1:e>=r?0:NaN;var e,r}}(t)),{left:e,center:function(t,i,r,o){null==r&&(r=0),null==o&&(o=t.length);const a=e(t,i,r,o-1);return a>r&&n(t[a-1],i)>-n(t[a],i)?a-1:a},right:function(t,n,e,r){for(null==e&&(e=0),null==r&&(r=t.length);e<r;){const o=e+r>>>1;i(t[o],n)>0?r=o:e=o+1}return e}}}((([,,t])=>t)).right(a,r);if(o===a.length)return t.every(Xe(n/Ke,i/Ke,e));if(0===o)return ir.every(Math.max(Xe(n,i,e),1));const[u,s]=a[r/a[o-1][2]<a[o][2]/r?o-1:o];return u.every(s)}return[function(t,n,i){const e=n<t;e&&([t,n]=[n,t]);const r=i&&"function"==typeof i.range?i:u(t,n,i),o=r?r.range(t,+n+1):[];return e?o.reverse():o},u]}Ir.range;const[zr,Yr]=Rr(Wr,_r,Dr,Ar,Lr,kr),[jr,Xr]=Rr(Mr,xr,hr,cr,sr,ar);function qr(t){if(0<=t.y&&t.y<100){var n=new Date(-1,t.m,t.d,t.H,t.M,t.S,t.L);return n.setFullYear(t.y),n}return new Date(t.y,t.m,t.d,t.H,t.M,t.S,t.L)}function $r(t){if(0<=t.y&&t.y<100){var n=new Date(Date.UTC(-1,t.m,t.d,t.H,t.M,t.S,t.L));return n.setUTCFullYear(t.y),n}return new Date(Date.UTC(t.y,t.m,t.d,t.H,t.M,t.S,t.L))}function Ur(t,n,i){return{y:t,m:n,d:i,H:0,M:0,S:0,L:0}}function Gr(t){var n=t.dateTime,i=t.date,e=t.time,r=t.periods,o=t.days,a=t.shortDays,u=t.months,s=t.shortMonths,l=oo(r),c=ao(r),f=oo(o),h=ao(o),d=oo(a),v=ao(a),p=oo(u),g=ao(u),m=oo(s),y=ao(s),b={a:function(t){return a[t.getDay()]},A:function(t){return o[t.getDay()]},b:function(t){return s[t.getMonth()]},B:function(t){return u[t.getMonth()]},c:null,d:Ao,e:Ao,f:Po,g:jo,G:qo,H:No,I:Do,j:To,L:Oo,m:Eo,M:Fo,p:function(t){return r[+(t.getHours()>=12)]},q:function(t){return 1+~~(t.getMonth()/3)},Q:pa,s:ga,S:Bo,u:Ho,U:_o,V:Wo,w:Ro,W:zo,x:null,X:null,y:Yo,Y:Xo,Z:$o,"%":va},x={a:function(t){return a[t.getUTCDay()]},A:function(t){return o[t.getUTCDay()]},b:function(t){return s[t.getUTCMonth()]},B:function(t){return u[t.getUTCMonth()]},c:null,d:Uo,e:Uo,f:Qo,g:ca,G:ha,H:Go,I:Zo,j:Ko,L:Jo,m:ta,M:na,p:function(t){return r[+(t.getUTCHours()>=12)]},q:function(t){return 1+~~(t.getUTCMonth()/3)},Q:pa,s:ga,S:ia,u:ea,U:ra,V:aa,w:ua,W:sa,x:null,X:null,y:la,Y:fa,Z:da,"%":va},w={a:function(t,n,i){var e=d.exec(n.slice(i));return e?(t.w=v.get(e[0].toLowerCase()),i+e[0].length):-1},A:function(t,n,i){var e=f.exec(n.slice(i));return e?(t.w=h.get(e[0].toLowerCase()),i+e[0].length):-1},b:function(t,n,i){var e=m.exec(n.slice(i));return e?(t.m=y.get(e[0].toLowerCase()),i+e[0].length):-1},B:function(t,n,i){var e=p.exec(n.slice(i));return e?(t.m=g.get(e[0].toLowerCase()),i+e[0].length):-1},c:function(t,i,e){return k(t,n,i,e)},d:yo,e:yo,f:ko,g:vo,G:ho,H:xo,I:xo,j:bo,L:Co,m:mo,M:wo,p:function(t,n,i){var e=l.exec(n.slice(i));return e?(t.p=c.get(e[0].toLowerCase()),i+e[0].length):-1},q:go,Q:Lo,s:Vo,S:Mo,u:so,U:lo,V:co,w:uo,W:fo,x:function(t,n,e){return k(t,i,n,e)},X:function(t,n,i){return k(t,e,n,i)},y:vo,Y:ho,Z:po,"%":So};function M(t,n){return function(i){var e,r,o,a=[],u=-1,s=0,l=t.length;for(i instanceof Date||(i=new Date(+i));++u<l;)37===t.charCodeAt(u)&&(a.push(t.slice(s,u)),null!=(r=Qr[e=t.charAt(++u)])?e=t.charAt(++u):r="e"===e?" ":"0",(o=n[e])&&(e=o(i,r)),a.push(e),s=u+1);return a.push(t.slice(s,u)),a.join("")}}function C(t,n){return function(i){var e,r,o=Ur(1900,void 0,1);if(k(o,t,i+="",0)!=i.length)return null;if("Q"in o)return new Date(o.Q);if("s"in o)return new Date(1e3*o.s+("L"in o?o.L:0));if(n&&!("Z"in o)&&(o.Z=0),"p"in o&&(o.H=o.H%12+12*o.p),void 0===o.m&&(o.m="q"in o?o.q:0),"V"in o){if(o.V<1||o.V>53)return null;"w"in o||(o.w=1),"Z"in o?(r=(e=$r(Ur(o.y,0,1))).getUTCDay(),e=r>4||0===r?Tr.ceil(e):Tr(e),e=Ar.offset(e,7*(o.V-1)),o.y=e.getUTCFullYear(),o.m=e.getUTCMonth(),o.d=e.getUTCDate()+(o.w+6)%7):(r=(e=qr(Ur(o.y,0,1))).getDay(),e=r>4||0===r?dr.ceil(e):dr(e),e=cr.offset(e,7*(o.V-1)),o.y=e.getFullYear(),o.m=e.getMonth(),o.d=e.getDate()+(o.w+6)%7)}else("W"in o||"U"in o)&&("w"in o||(o.w="u"in o?o.u%7:"W"in o?1:0),r="Z"in o?$r(Ur(o.y,0,1)).getUTCDay():qr(Ur(o.y,0,1)).getDay(),o.m=0,o.d="W"in o?(o.w+6)%7+7*o.W-(r+5)%7:o.w+7*o.U-(r+6)%7);return"Z"in o?(o.H+=o.Z/100|0,o.M+=o.Z%100,$r(o)):qr(o)}}function k(t,n,i,e){for(var r,o,a=0,u=n.length,s=i.length;a<u;){if(e>=s)return-1;if(37===(r=n.charCodeAt(a++))){if(r=n.charAt(a++),!(o=w[r in Qr?n.charAt(a++):r])||(e=o(t,i,e))<0)return-1}else if(r!=i.charCodeAt(e++))return-1}return e}return b.x=M(i,b),b.X=M(e,b),b.c=M(n,b),x.x=M(i,x),x.X=M(e,x),x.c=M(n,x),{format:function(t){var n=M(t+="",b);return n.toString=function(){return t},n},parse:function(t){var n=C(t+="",!1);return n.toString=function(){return t},n},utcFormat:function(t){var n=M(t+="",x);return n.toString=function(){return t},n},utcParse:function(t){var n=C(t+="",!0);return n.toString=function(){return t},n}}}var Zr,Kr,Jr,Qr={"-":"",_:" ",0:"0"},to=/^\s*\d+/,no=/^%/,io=/[\\^$*+?|[\]().{}]/g;function eo(t,n,i){var e=t<0?"-":"",r=(e?-t:t)+"",o=r.length;return e+(o<i?new Array(i-o+1).join(n)+r:r)}function ro(t){return t.replace(io,"\\$&")}function oo(t){return new RegExp("^(?:"+t.map(ro).join("|")+")","i")}function ao(t){return new Map(t.map(((t,n)=>[t.toLowerCase(),n])))}function uo(t,n,i){var e=to.exec(n.slice(i,i+1));return e?(t.w=+e[0],i+e[0].length):-1}function so(t,n,i){var e=to.exec(n.slice(i,i+1));return e?(t.u=+e[0],i+e[0].length):-1}function lo(t,n,i){var e=to.exec(n.slice(i,i+2));return e?(t.U=+e[0],i+e[0].length):-1}function co(t,n,i){var e=to.exec(n.slice(i,i+2));return e?(t.V=+e[0],i+e[0].length):-1}function fo(t,n,i){var e=to.exec(n.slice(i,i+2));return e?(t.W=+e[0],i+e[0].length):-1}function ho(t,n,i){var e=to.exec(n.slice(i,i+4));return e?(t.y=+e[0],i+e[0].length):-1}function vo(t,n,i){var e=to.exec(n.slice(i,i+2));return e?(t.y=+e[0]+(+e[0]>68?1900:2e3),i+e[0].length):-1}function po(t,n,i){var e=/^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(n.slice(i,i+6));return e?(t.Z=e[1]?0:-(e[2]+(e[3]||"00")),i+e[0].length):-1}function go(t,n,i){var e=to.exec(n.slice(i,i+1));return e?(t.q=3*e[0]-3,i+e[0].length):-1}function mo(t,n,i){var e=to.exec(n.slice(i,i+2));return e?(t.m=e[0]-1,i+e[0].length):-1}function yo(t,n,i){var e=to.exec(n.slice(i,i+2));return e?(t.d=+e[0],i+e[0].length):-1}function bo(t,n,i){var e=to.exec(n.slice(i,i+3));return e?(t.m=0,t.d=+e[0],i+e[0].length):-1}function xo(t,n,i){var e=to.exec(n.slice(i,i+2));return e?(t.H=+e[0],i+e[0].length):-1}function wo(t,n,i){var e=to.exec(n.slice(i,i+2));return e?(t.M=+e[0],i+e[0].length):-1}function Mo(t,n,i){var e=to.exec(n.slice(i,i+2));return e?(t.S=+e[0],i+e[0].length):-1}function Co(t,n,i){var e=to.exec(n.slice(i,i+3));return e?(t.L=+e[0],i+e[0].length):-1}function ko(t,n,i){var e=to.exec(n.slice(i,i+6));return e?(t.L=Math.floor(e[0]/1e3),i+e[0].length):-1}function So(t,n,i){var e=no.exec(n.slice(i,i+1));return e?i+e[0].length:-1}function Lo(t,n,i){var e=to.exec(n.slice(i));return e?(t.Q=+e[0],i+e[0].length):-1}function Vo(t,n,i){var e=to.exec(n.slice(i));return e?(t.s=+e[0],i+e[0].length):-1}function Ao(t,n){return eo(t.getDate(),n,2)}function No(t,n){return eo(t.getHours(),n,2)}function Do(t,n){return eo(t.getHours()%12||12,n,2)}function To(t,n){return eo(1+cr.count(Mr(t),t),n,3)}function Oo(t,n){return eo(t.getMilliseconds(),n,3)}function Po(t,n){return Oo(t,n)+"000"}function Eo(t,n){return eo(t.getMonth()+1,n,2)}function Fo(t,n){return eo(t.getMinutes(),n,2)}function Bo(t,n){return eo(t.getSeconds(),n,2)}function Ho(t){var n=t.getDay();return 0===n?7:n}function _o(t,n){return eo(hr.count(Mr(t)-1,t),n,2)}function Io(t){var n=t.getDay();return n>=4||0===n?gr(t):gr.ceil(t)}function Wo(t,n){return t=Io(t),eo(gr.count(Mr(t),t)+(4===Mr(t).getDay()),n,2)}function Ro(t){return t.getDay()}function zo(t,n){return eo(dr.count(Mr(t)-1,t),n,2)}function Yo(t,n){return eo(t.getFullYear()%100,n,2)}function jo(t,n){return eo((t=Io(t)).getFullYear()%100,n,2)}function Xo(t,n){return eo(t.getFullYear()%1e4,n,4)}function qo(t,n){var i=t.getDay();return eo((t=i>=4||0===i?gr(t):gr.ceil(t)).getFullYear()%1e4,n,4)}function $o(t){var n=t.getTimezoneOffset();return(n>0?"-":(n*=-1,"+"))+eo(n/60|0,"0",2)+eo(n%60,"0",2)}function Uo(t,n){return eo(t.getUTCDate(),n,2)}function Go(t,n){return eo(t.getUTCHours(),n,2)}function Zo(t,n){return eo(t.getUTCHours()%12||12,n,2)}function Ko(t,n){return eo(1+Ar.count(Wr(t),t),n,3)}function Jo(t,n){return eo(t.getUTCMilliseconds(),n,3)}function Qo(t,n){return Jo(t,n)+"000"}function ta(t,n){return eo(t.getUTCMonth()+1,n,2)}function na(t,n){return eo(t.getUTCMinutes(),n,2)}function ia(t,n){return eo(t.getUTCSeconds(),n,2)}function ea(t){var n=t.getUTCDay();return 0===n?7:n}function ra(t,n){return eo(Dr.count(Wr(t)-1,t),n,2)}function oa(t){var n=t.getUTCDay();return n>=4||0===n?Er(t):Er.ceil(t)}function aa(t,n){return t=oa(t),eo(Er.count(Wr(t),t)+(4===Wr(t).getUTCDay()),n,2)}function ua(t){return t.getUTCDay()}function sa(t,n){return eo(Tr.count(Wr(t)-1,t),n,2)}function la(t,n){return eo(t.getUTCFullYear()%100,n,2)}function ca(t,n){return eo((t=oa(t)).getUTCFullYear()%100,n,2)}function fa(t,n){return eo(t.getUTCFullYear()%1e4,n,4)}function ha(t,n){var i=t.getUTCDay();return eo((t=i>=4||0===i?Er(t):Er.ceil(t)).getUTCFullYear()%1e4,n,4)}function da(){return"+0000"}function va(){return"%"}function pa(t){return+t}function ga(t){return Math.floor(+t/1e3)}function ma(t){return new Date(t)}function ya(t){return t instanceof Date?+t:+new Date(+t)}function ba(t,n,i,e,r,o,a,u,s,l){var c=ke(),f=c.invert,h=c.domain,d=l(".%L"),v=l(":%S"),p=l("%I:%M"),g=l("%I %p"),m=l("%a %d"),y=l("%b %d"),b=l("%B"),x=l("%Y");function w(t){return(s(t)<t?d:u(t)<t?v:a(t)<t?p:o(t)<t?g:e(t)<t?r(t)<t?m:y:i(t)<t?b:x)(t)}return c.invert=function(t){return new Date(f(t))},c.domain=function(t){return arguments.length?h(Array.from(t,ya)):h().map(ma)},c.ticks=function(n){var i=h();return t(i[0],i[i.length-1],null==n?10:n)},c.tickFormat=function(t,n){return null==n?w:l(n)},c.nice=function(t){var i=h();return t&&"function"==typeof t.range||(t=n(i[0],i[i.length-1],null==t?10:t)),t?h(function(t,n){var i,e=0,r=(t=t.slice()).length-1,o=t[e],a=t[r];return a<o&&(i=e,e=r,r=i,i=o,o=a,a=i),t[e]=n.floor(o),t[r]=n.ceil(a),t}(i,t)):c},c.copy=function(){return Ce(c,ba(t,n,i,e,r,o,a,u,s,l))},c}function xa(){return Se.apply(ba(jr,Xr,Mr,xr,hr,cr,sr,ar,rr,Kr).domain([new Date(2e3,0,1),new Date(2e3,0,2)]),arguments)}function wa(){return Se.apply(ba(zr,Yr,Wr,_r,Dr,Ar,Lr,kr,rr,Jr).domain([Date.UTC(2e3,0,1),Date.UTC(2e3,0,2)]),arguments)}Zr=Gr({dateTime:"%x, %X",date:"%-m/%-d/%Y",time:"%-I:%M:%S %p",periods:["AM","PM"],days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],shortDays:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],shortMonths:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"]}),Kr=Zr.format,Zr.parse,Jr=Zr.utcFormat,Zr.utcParse;class Ma extends Map{constructor(t,n=ka){if(super(),Object.defineProperties(this,{_intern:{value:new Map},_key:{value:n}}),null!=t)for(const[n,i]of t)this.set(n,i)}get(t){return super.get(Ca(this,t))}has(t){return super.has(Ca(this,t))}set(t,n){return super.set(function({_intern:t,_key:n},i){const e=n(i);return t.has(e)?t.get(e):(t.set(e,i),i)}(this,t),n)}delete(t){return super.delete(function({_intern:t,_key:n},i){const e=n(i);return t.has(e)&&(i=t.get(i),t.delete(e)),i}(this,t))}}function Ca({_intern:t,_key:n},i){const e=n(i);return t.has(e)?t.get(e):i}function ka(t){return null!==t&&"object"==typeof t?t.valueOf():t}Set;const Sa=Symbol("implicit");function La(){var t=new Ma,n=[],i=[],e=Sa;function r(r){let o=t.get(r);if(void 0===o){if(e!==Sa)return e;t.set(r,o=n.push(r)-1)}return i[o%i.length]}return r.domain=function(i){if(!arguments.length)return n.slice();n=[],t=new Ma;for(const e of i)t.has(e)||t.set(e,n.push(e)-1);return r},r.range=function(t){return arguments.length?(i=Array.from(t),r):i.slice()},r.unknown=function(t){return arguments.length?(e=t,r):e},r.copy=function(){return La(n,i).unknown(e)},Se.apply(r,arguments),r}function Va(){var t,n,i=La().unknown(void 0),e=i.domain,r=i.range,o=0,a=1,u=!1,s=0,l=0,c=.5;function f(){var i=e().length,f=a<o,h=f?a:o,d=f?o:a;t=(d-h)/Math.max(1,i-s+2*l),u&&(t=Math.floor(t)),h+=(d-h-t*(i-s))*c,n=t*(1-s),u&&(h=Math.round(h),n=Math.round(n));var v=function(t,n,i){t=+t,n=+n,i=(r=arguments.length)<2?(n=t,t=0,1):r<3?1:+i;for(var e=-1,r=0|Math.max(0,Math.ceil((n-t)/i)),o=new Array(r);++e<r;)o[e]=t+e*i;return o}(i).map((function(n){return h+t*n}));return r(f?v.reverse():v)}return delete i.unknown,i.domain=function(t){return arguments.length?(e(t),f()):e()},i.range=function(t){return arguments.length?([o,a]=t,o=+o,a=+a,f()):[o,a]},i.rangeRound=function(t){return[o,a]=t,o=+o,a=+a,u=!0,f()},i.bandwidth=function(){return n},i.step=function(){return t},i.round=function(t){return arguments.length?(u=!!t,f()):u},i.padding=function(t){return arguments.length?(s=Math.min(1,l=+t),f()):s},i.paddingInner=function(t){return arguments.length?(s=Math.min(1,t),f()):s},i.paddingOuter=function(t){return arguments.length?(l=+t,f()):l},i.align=function(t){return arguments.length?(c=Math.max(0,Math.min(1,t)),f()):c},i.copy=function(){return Va(e(),[o,a]).round(u).paddingInner(s).paddingOuter(l).align(c)},Se.apply(f(),arguments)}function Aa(){}function Na(t){return null==t?Aa:function(){return this.querySelector(t)}}function Da(t){return"object"==typeof t&&"length"in t?t:Array.from(t)}function Ta(){return[]}function Oa(t){return function(n){return n.matches(t)}}var Pa=Array.prototype.find;function Ea(){return this.firstElementChild}var Fa=Array.prototype.filter;function Ba(){return this.children}function Ha(t){return new Array(t.length)}function _a(t,n){this.ownerDocument=t.ownerDocument,this.namespaceURI=t.namespaceURI,this._next=null,this._parent=t,this.__data__=n}function Ia(t,n,i,e,r,o){for(var a,u=0,s=n.length,l=o.length;u<l;++u)(a=n[u])?(a.__data__=o[u],e[u]=a):i[u]=new _a(t,o[u]);for(;u<s;++u)(a=n[u])&&(r[u]=a)}function Wa(t,n,i,e,r,o,a){var u,s,l,c=new Map,f=n.length,h=o.length,d=new Array(f);for(u=0;u<f;++u)(s=n[u])&&(d[u]=l=a.call(s,s.__data__,u,n)+"",c.has(l)?r[u]=s:c.set(l,s));for(u=0;u<h;++u)l=a.call(t,o[u],u,o)+"",(s=c.get(l))?(e[u]=s,s.__data__=o[u],c.delete(l)):i[u]=new _a(t,o[u]);for(u=0;u<f;++u)(s=n[u])&&c.get(d[u])===s&&(r[u]=s)}function Ra(t){return t.__data__}function za(t,n){return t<n?-1:t>n?1:t>=n?0:NaN}_a.prototype={constructor:_a,appendChild:function(t){return this._parent.insertBefore(t,this._next)},insertBefore:function(t,n){return this._parent.insertBefore(t,n)},querySelector:function(t){return this._parent.querySelector(t)},querySelectorAll:function(t){return this._parent.querySelectorAll(t)}};var Ya="http://www.w3.org/1999/xhtml",ja={svg:"http://www.w3.org/2000/svg",xhtml:Ya,xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"};function Xa(t){var n=t+="",i=n.indexOf(":");return i>=0&&"xmlns"!==(n=t.slice(0,i))&&(t=t.slice(i+1)),ja.hasOwnProperty(n)?{space:ja[n],local:t}:t}function qa(t){return function(){this.removeAttribute(t)}}function $a(t){return function(){this.removeAttributeNS(t.space,t.local)}}function Ua(t,n){return function(){this.setAttribute(t,n)}}function Ga(t,n){return function(){this.setAttributeNS(t.space,t.local,n)}}function Za(t,n){return function(){var i=n.apply(this,arguments);null==i?this.removeAttribute(t):this.setAttribute(t,i)}}function Ka(t,n){return function(){var i=n.apply(this,arguments);null==i?this.removeAttributeNS(t.space,t.local):this.setAttributeNS(t.space,t.local,i)}}function Ja(t){return t.ownerDocument&&t.ownerDocument.defaultView||t.document&&t||t.defaultView}function Qa(t){return function(){this.style.removeProperty(t)}}function tu(t,n,i){return function(){this.style.setProperty(t,n,i)}}function nu(t,n,i){return function(){var e=n.apply(this,arguments);null==e?this.style.removeProperty(t):this.style.setProperty(t,e,i)}}function iu(t){return function(){delete this[t]}}function eu(t,n){return function(){this[t]=n}}function ru(t,n){return function(){var i=n.apply(this,arguments);null==i?delete this[t]:this[t]=i}}function ou(t){return t.trim().split(/^|\s+/)}function au(t){return t.classList||new uu(t)}function uu(t){this._node=t,this._names=ou(t.getAttribute("class")||"")}function su(t,n){for(var i=au(t),e=-1,r=n.length;++e<r;)i.add(n[e])}function lu(t,n){for(var i=au(t),e=-1,r=n.length;++e<r;)i.remove(n[e])}function cu(t){return function(){su(this,t)}}function fu(t){return function(){lu(this,t)}}function hu(t,n){return function(){(n.apply(this,arguments)?su:lu)(this,t)}}function du(){this.textContent=""}function vu(t){return function(){this.textContent=t}}function pu(t){return function(){var n=t.apply(this,arguments);this.textContent=null==n?"":n}}function gu(){this.innerHTML=""}function mu(t){return function(){this.innerHTML=t}}function yu(t){return function(){var n=t.apply(this,arguments);this.innerHTML=null==n?"":n}}function bu(){this.nextSibling&&this.parentNode.appendChild(this)}function xu(){this.previousSibling&&this.parentNode.insertBefore(this,this.parentNode.firstChild)}function wu(t){return function(){var n=this.ownerDocument,i=this.namespaceURI;return i===Ya&&n.documentElement.namespaceURI===Ya?n.createElement(t):n.createElementNS(i,t)}}function Mu(t){return function(){return this.ownerDocument.createElementNS(t.space,t.local)}}function Cu(t){var n=Xa(t);return(n.local?Mu:wu)(n)}function ku(){return null}function Su(){var t=this.parentNode;t&&t.removeChild(this)}function Lu(){var t=this.cloneNode(!1),n=this.parentNode;return n?n.insertBefore(t,this.nextSibling):t}function Vu(){var t=this.cloneNode(!0),n=this.parentNode;return n?n.insertBefore(t,this.nextSibling):t}function Au(t){return function(){var n=this.__on;if(n){for(var i,e=0,r=-1,o=n.length;e<o;++e)i=n[e],t.type&&i.type!==t.type||i.name!==t.name?n[++r]=i:this.removeEventListener(i.type,i.listener,i.options);++r?n.length=r:delete this.__on}}}function Nu(t,n,i){return function(){var e,r=this.__on,o=function(t){return function(n){t.call(this,n,this.__data__)}}(n);if(r)for(var a=0,u=r.length;a<u;++a)if((e=r[a]).type===t.type&&e.name===t.name)return this.removeEventListener(e.type,e.listener,e.options),this.addEventListener(e.type,e.listener=o,e.options=i),void(e.value=n);this.addEventListener(t.type,o,i),e={type:t.type,name:t.name,value:n,listener:o,options:i},r?r.push(e):this.__on=[e]}}function Du(t,n,i){var e=Ja(t),r=e.CustomEvent;"function"==typeof r?r=new r(n,i):(r=e.document.createEvent("Event"),i?(r.initEvent(n,i.bubbles,i.cancelable),r.detail=i.detail):r.initEvent(n,!1,!1)),t.dispatchEvent(r)}function Tu(t,n){return function(){return Du(this,t,n)}}function Ou(t,n){return function(){return Du(this,t,n.apply(this,arguments))}}uu.prototype={add:function(t){this._names.indexOf(t)<0&&(this._names.push(t),this._node.setAttribute("class",this._names.join(" ")))},remove:function(t){var n=this._names.indexOf(t);n>=0&&(this._names.splice(n,1),this._node.setAttribute("class",this._names.join(" ")))},contains:function(t){return this._names.indexOf(t)>=0}};var Pu=[null];function Eu(t,n){this._groups=t,this._parents=n}function Fu(t){return"string"==typeof t?new Eu([[document.querySelector(t)]],[document.documentElement]):new Eu([[t]],Pu)}function Bu(t){return"string"==typeof t?new Eu([document.querySelectorAll(t)],[document.documentElement]):new Eu([null==t?[]:Da(t)],Pu)}function Hu(t,n){if((i=(t=n?t.toExponential(n-1):t.toExponential()).indexOf("e"))<0)return null;var i,e=t.slice(0,i);return[e.length>1?e[0]+e.slice(2):e,+t.slice(i+1)]}Eu.prototype=function(){return new Eu([[document.documentElement]],Pu)}.prototype={constructor:Eu,select:function(t){"function"!=typeof t&&(t=Na(t));for(var n=this._groups,i=n.length,e=new Array(i),r=0;r<i;++r)for(var o,a,u=n[r],s=u.length,l=e[r]=new Array(s),c=0;c<s;++c)(o=u[c])&&(a=t.call(o,o.__data__,c,u))&&("__data__"in o&&(a.__data__=o.__data__),l[c]=a);return new Eu(e,this._parents)},selectAll:function(t){t="function"==typeof t?function(t){return function(){var n=t.apply(this,arguments);return null==n?[]:Da(n)}}(t):function(t){return null==t?Ta:function(){return this.querySelectorAll(t)}}(t);for(var n=this._groups,i=n.length,e=[],r=[],o=0;o<i;++o)for(var a,u=n[o],s=u.length,l=0;l<s;++l)(a=u[l])&&(e.push(t.call(a,a.__data__,l,u)),r.push(a));return new Eu(e,r)},selectChild:function(t){return this.select(null==t?Ea:function(t){return function(){return Pa.call(this.children,t)}}("function"==typeof t?t:Oa(t)))},selectChildren:function(t){return this.selectAll(null==t?Ba:function(t){return function(){return Fa.call(this.children,t)}}("function"==typeof t?t:Oa(t)))},filter:function(t){"function"!=typeof t&&(t=function(t){return function(){return this.matches(t)}}(t));for(var n=this._groups,i=n.length,e=new Array(i),r=0;r<i;++r)for(var o,a=n[r],u=a.length,s=e[r]=[],l=0;l<u;++l)(o=a[l])&&t.call(o,o.__data__,l,a)&&s.push(o);return new Eu(e,this._parents)},data:function(t,n){if(!arguments.length)return Array.from(this,Ra);var i,e=n?Wa:Ia,r=this._parents,o=this._groups;"function"!=typeof t&&(i=t,t=function(){return i});for(var a=o.length,u=new Array(a),s=new Array(a),l=new Array(a),c=0;c<a;++c){var f=r[c],h=o[c],d=h.length,v=Da(t.call(f,f&&f.__data__,c,r)),p=v.length,g=s[c]=new Array(p),m=u[c]=new Array(p);e(f,h,g,m,l[c]=new Array(d),v,n);for(var y,b,x=0,w=0;x<p;++x)if(y=g[x]){for(x>=w&&(w=x+1);!(b=m[w])&&++w<p;);y._next=b||null}}return(u=new Eu(u,r))._enter=s,u._exit=l,u},enter:function(){return new Eu(this._enter||this._groups.map(Ha),this._parents)},exit:function(){return new Eu(this._exit||this._groups.map(Ha),this._parents)},join:function(t,n,i){var e=this.enter(),r=this,o=this.exit();return e="function"==typeof t?t(e):e.append(t+""),null!=n&&(r=n(r)),null==i?o.remove():i(o),e&&r?e.merge(r).order():r},merge:function(t){if(!(t instanceof Eu))throw new Error("invalid merge");for(var n=this._groups,i=t._groups,e=n.length,r=i.length,o=Math.min(e,r),a=new Array(e),u=0;u<o;++u)for(var s,l=n[u],c=i[u],f=l.length,h=a[u]=new Array(f),d=0;d<f;++d)(s=l[d]||c[d])&&(h[d]=s);for(;u<e;++u)a[u]=n[u];return new Eu(a,this._parents)},selection:function(){return this},order:function(){for(var t=this._groups,n=-1,i=t.length;++n<i;)for(var e,r=t[n],o=r.length-1,a=r[o];--o>=0;)(e=r[o])&&(a&&4^e.compareDocumentPosition(a)&&a.parentNode.insertBefore(e,a),a=e);return this},sort:function(t){function n(n,i){return n&&i?t(n.__data__,i.__data__):!n-!i}t||(t=za);for(var i=this._groups,e=i.length,r=new Array(e),o=0;o<e;++o){for(var a,u=i[o],s=u.length,l=r[o]=new Array(s),c=0;c<s;++c)(a=u[c])&&(l[c]=a);l.sort(n)}return new Eu(r,this._parents).order()},call:function(){var t=arguments[0];return arguments[0]=this,t.apply(null,arguments),this},nodes:function(){return Array.from(this)},node:function(){for(var t=this._groups,n=0,i=t.length;n<i;++n)for(var e=t[n],r=0,o=e.length;r<o;++r){var a=e[r];if(a)return a}return null},size:function(){let t=0;for(const n of this)++t;return t},empty:function(){return!this.node()},each:function(t){for(var n=this._groups,i=0,e=n.length;i<e;++i)for(var r,o=n[i],a=0,u=o.length;a<u;++a)(r=o[a])&&t.call(r,r.__data__,a,o);return this},attr:function(t,n){var i=Xa(t);if(arguments.length<2){var e=this.node();return i.local?e.getAttributeNS(i.space,i.local):e.getAttribute(i)}return this.each((null==n?i.local?$a:qa:"function"==typeof n?i.local?Ka:Za:i.local?Ga:Ua)(i,n))},style:function(t,n,i){return arguments.length>1?this.each((null==n?Qa:"function"==typeof n?nu:tu)(t,n,null==i?"":i)):function(t,n){return t.style.getPropertyValue(n)||Ja(t).getComputedStyle(t,null).getPropertyValue(n)}(this.node(),t)},property:function(t,n){return arguments.length>1?this.each((null==n?iu:"function"==typeof n?ru:eu)(t,n)):this.node()[t]},classed:function(t,n){var i=ou(t+"");if(arguments.length<2){for(var e=au(this.node()),r=-1,o=i.length;++r<o;)if(!e.contains(i[r]))return!1;return!0}return this.each(("function"==typeof n?hu:n?cu:fu)(i,n))},text:function(t){return arguments.length?this.each(null==t?du:("function"==typeof t?pu:vu)(t)):this.node().textContent},html:function(t){return arguments.length?this.each(null==t?gu:("function"==typeof t?yu:mu)(t)):this.node().innerHTML},raise:function(){return this.each(bu)},lower:function(){return this.each(xu)},append:function(t){var n="function"==typeof t?t:Cu(t);return this.select((function(){return this.appendChild(n.apply(this,arguments))}))},insert:function(t,n){var i="function"==typeof t?t:Cu(t),e=null==n?ku:"function"==typeof n?n:Na(n);return this.select((function(){return this.insertBefore(i.apply(this,arguments),e.apply(this,arguments)||null)}))},remove:function(){return this.each(Su)},clone:function(t){return this.select(t?Vu:Lu)},datum:function(t){return arguments.length?this.property("__data__",t):this.node().__data__},on:function(t,n,i){var e,r,o=function(t){return t.trim().split(/^|\s+/).map((function(t){var n="",i=t.indexOf(".");return i>=0&&(n=t.slice(i+1),t=t.slice(0,i)),{type:t,name:n}}))}(t+""),a=o.length;if(!(arguments.length<2)){for(u=n?Nu:Au,e=0;e<a;++e)this.each(u(o[e],n,i));return this}var u=this.node().__on;if(u)for(var s,l=0,c=u.length;l<c;++l)for(e=0,s=u[l];e<a;++e)if((r=o[e]).type===s.type&&r.name===s.name)return s.value},dispatch:function(t,n){return this.each(("function"==typeof n?Ou:Tu)(t,n))},[Symbol.iterator]:function*(){for(var t=this._groups,n=0,i=t.length;n<i;++n)for(var e,r=t[n],o=0,a=r.length;o<a;++o)(e=r[o])&&(yield e)}};var _u,Iu=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function Wu(t){if(!(n=Iu.exec(t)))throw new Error("invalid format: "+t);var n;return new Ru({fill:n[1],align:n[2],sign:n[3],symbol:n[4],zero:n[5],width:n[6],comma:n[7],precision:n[8]&&n[8].slice(1),trim:n[9],type:n[10]})}function Ru(t){this.fill=void 0===t.fill?" ":t.fill+"",this.align=void 0===t.align?">":t.align+"",this.sign=void 0===t.sign?"-":t.sign+"",this.symbol=void 0===t.symbol?"":t.symbol+"",this.zero=!!t.zero,this.width=void 0===t.width?void 0:+t.width,this.comma=!!t.comma,this.precision=void 0===t.precision?void 0:+t.precision,this.trim=!!t.trim,this.type=void 0===t.type?"":t.type+""}function zu(t,n){var i=Hu(t,n);if(!i)return t+"";var e=i[0],r=i[1];return r<0?"0."+new Array(-r).join("0")+e:e.length>r+1?e.slice(0,r+1)+"."+e.slice(r+1):e+new Array(r-e.length+2).join("0")}Wu.prototype=Ru.prototype,Ru.prototype.toString=function(){return this.fill+this.align+this.sign+this.symbol+(this.zero?"0":"")+(void 0===this.width?"":Math.max(1,0|this.width))+(this.comma?",":"")+(void 0===this.precision?"":"."+Math.max(0,0|this.precision))+(this.trim?"~":"")+this.type};var Yu={"%":(t,n)=>(100*t).toFixed(n),b:t=>Math.round(t).toString(2),c:t=>t+"",d:function(t){return Math.abs(t=Math.round(t))>=1e21?t.toLocaleString("en").replace(/,/g,""):t.toString(10)},e:(t,n)=>t.toExponential(n),f:(t,n)=>t.toFixed(n),g:(t,n)=>t.toPrecision(n),o:t=>Math.round(t).toString(8),p:(t,n)=>zu(100*t,n),r:zu,s:function(t,n){var i=Hu(t,n);if(!i)return t+"";var e=i[0],r=i[1],o=r-(_u=3*Math.max(-8,Math.min(8,Math.floor(r/3))))+1,a=e.length;return o===a?e:o>a?e+new Array(o-a+1).join("0"):o>0?e.slice(0,o)+"."+e.slice(o):"0."+new Array(1-o).join("0")+Hu(t,Math.max(0,n+o-1))[0]},X:t=>Math.round(t).toString(16).toUpperCase(),x:t=>Math.round(t).toString(16)};function ju(t){return t}var Xu,qu,$u,Uu,Gu,Zu,Ku,Ju=Array.prototype.map,Qu=["y","z","a","f","p","n","µ","m","","k","M","G","T","P","E","Z","Y"];function ts(t,n,i){var e=t.domainNRangeValues,r=t.showRoundOffXTickValues,o=void 0!==r&&r,a=t.xAxistickSize,u=void 0===a?6:a,s=t.tickPadding,l=void 0===s?10:s,c=t.xAxisCount,f=void 0===c?6:c,h=t.xAxisElement,d=Re().domain([e.dStartValue,e.dEndValue]).range([e.rStartValue,e.rEndValue]);o&&d.nice();var v=di(d).tickSize(u).tickPadding(l).ticks(f).tickFormat((function(t,n){var e="number"==typeof t?t:t.valueOf();return Cs(e,i)}));n===Gu.HorizontalBarChartWithAxis&&v.tickSizeInner(-(t.containerHeight-t.margins.top)),h&&Fu(h).call(v).selectAll("text").attr("aria-hidden","true");var p=d.ticks(f).map(v.tickFormat());return{xScale:d,tickValues:p}}function ns(t,n,i){var e=n?i?n.utcFormat:n.format:i?Jr:Kr,r=e(".%L"),o=e(":%S"),a=e("%I:%M"),u=e("%I %p"),s=e("%a %d"),l=e("%b %d"),c=e("%B"),f=e("%Y"),h=i?kr:ar,d=i?Lr:sr,v=i?Ar:cr,p=i?_r:xr,g=i?Dr:hr,m=i?Wr:Mr;return(rr(t)<t?r:h(t)<t?o:d(t)<t?a:v(t)<t?u:p(t)<t?g(t)<t?s:l:m(t)<t?c:f)(t)}function is(t,n){var i=t.yMinMaxValues,e=void 0===i?{startValue:0,endValue:0}:i,r=t.yAxisElement,o=void 0===r?null:r,a=t.yMaxValue,u=void 0===a?0:a,s=t.yMinValue,l=void 0===s?0:s,c=t.containerHeight,f=t.margins,h=t.tickPadding,d=void 0===h?12:h,v=t.maxOfYVal,p=void 0===v?0:v,g=t.yAxisTickFormat,m=t.yAxisTickCount,y=void 0===m?4:m,b=p||e.endValue,x=b>u?b:u,w=e.startValue<l?0:l,M=Re().domain([w,x]).range([c-f.bottom,f.top]),C=(n?hi(M):vi(M)).tickPadding(d).ticks(y);return g?C.tickFormat(g):C.tickFormat(qu(".2~s")),o&&Fu(o).call(C).selectAll("text").attr("aria-hidden","true"),M}function es(t,n,i,e,r){void 0===r&&(r=!1);var o=t.yMinMaxValues,a=void 0===o?{startValue:0,endValue:0}:o,u=t.yAxisElement,s=void 0===u?null:u,l=t.yMaxValue,c=void 0===l?0:l,f=t.yMinValue,h=void 0===f?0:f,d=t.containerHeight,v=t.containerWidth,p=t.margins,g=t.tickPadding,m=void 0===g?12:g,y=t.maxOfYVal,b=void 0===y?0:y,x=t.yAxisTickFormat,w=t.yAxisTickCount,M=void 0===w?4:w,C=t.eventAnnotationProps,k=t.eventLabelHeight,S=b||a.endValue,L=S>c?S:c,V=a.startValue<h?0:h,A=function(t,n,i,e){for(var r=e||(t-n)/i>=1?Math.ceil((t-n)/i):(t-n)/i,o=[n,n+r];o[o.length-1]<t;)o.push(o[o.length-1]+r);return o}(L,V,M,e),N=Re().domain([V,A[A.length-1]]).range([d-p.bottom,p.top+(C?k:0)]),D=(!n&&r||n&&!r?hi(N):vi(N)).tickPadding(m).tickValues(A).tickSizeInner(-(v-p.left-p.right));return x?D.tickFormat(x):D.tickFormat(qu(".2~s")),s&&Fu(s).call(D).selectAll("text").attr("aria-hidden","true"),i.yAxisDomainValues=A,N}Xu=function(t){var n,i,e=void 0===t.grouping||void 0===t.thousands?ju:(n=Ju.call(t.grouping,Number),i=t.thousands+"",function(t,e){for(var r=t.length,o=[],a=0,u=n[0],s=0;r>0&&u>0&&(s+u+1>e&&(u=Math.max(1,e-s)),o.push(t.substring(r-=u,r+u)),!((s+=u+1)>e));)u=n[a=(a+1)%n.length];return o.reverse().join(i)}),r=void 0===t.currency?"":t.currency[0]+"",o=void 0===t.currency?"":t.currency[1]+"",a=void 0===t.decimal?".":t.decimal+"",u=void 0===t.numerals?ju:function(t){return function(n){return n.replace(/[0-9]/g,(function(n){return t[+n]}))}}(Ju.call(t.numerals,String)),s=void 0===t.percent?"%":t.percent+"",l=void 0===t.minus?"−":t.minus+"",c=void 0===t.nan?"NaN":t.nan+"";function f(t){var n=(t=Wu(t)).fill,i=t.align,f=t.sign,h=t.symbol,d=t.zero,v=t.width,p=t.comma,g=t.precision,m=t.trim,y=t.type;"n"===y?(p=!0,y="g"):Yu[y]||(void 0===g&&(g=12),m=!0,y="g"),(d||"0"===n&&"="===i)&&(d=!0,n="0",i="=");var b="$"===h?r:"#"===h&&/[boxX]/.test(y)?"0"+y.toLowerCase():"",x="$"===h?o:/[%p]/.test(y)?s:"",w=Yu[y],M=/[defgprs%]/.test(y);function C(t){var r,o,s,h=b,C=x;if("c"===y)C=w(t)+C,t="";else{var k=(t=+t)<0||1/t<0;if(t=isNaN(t)?c:w(Math.abs(t),g),m&&(t=function(t){t:for(var n,i=t.length,e=1,r=-1;e<i;++e)switch(t[e]){case".":r=n=e;break;case"0":0===r&&(r=e),n=e;break;default:if(!+t[e])break t;r>0&&(r=0)}return r>0?t.slice(0,r)+t.slice(n+1):t}(t)),k&&0==+t&&"+"!==f&&(k=!1),h=(k?"("===f?f:l:"-"===f||"("===f?"":f)+h,C=("s"===y?Qu[8+_u/3]:"")+C+(k&&"("===f?")":""),M)for(r=-1,o=t.length;++r<o;)if(48>(s=t.charCodeAt(r))||s>57){C=(46===s?a+t.slice(r+1):t.slice(r))+C,t=t.slice(0,r);break}}p&&!d&&(t=e(t,1/0));var S=h.length+t.length+C.length,L=S<v?new Array(v-S+1).join(n):"";switch(p&&d&&(t=e(L+t,L.length?v-C.length:1/0),L=""),i){case"<":t=h+t+C+L;break;case"=":t=h+L+t+C;break;case"^":t=L.slice(0,S=L.length>>1)+h+t+C+L.slice(S);break;default:t=L+h+t+C}return u(t)}return g=void 0===g?6:/[gprs]/.test(y)?Math.max(1,Math.min(21,g)):Math.max(0,Math.min(20,g)),C.toString=function(){return t+""},C}return{format:f,formatPrefix:function(t,n){var i,e=f(((t=Wu(t)).type="f",t)),r=3*Math.max(-8,Math.min(8,Math.floor((i=n,((i=Hu(Math.abs(i)))?i[1]:NaN)/3)))),o=Math.pow(10,-r),a=Qu[8+r/3];return function(t){return e(o*t)+a}}}}({thousands:",",grouping:[3],currency:["$",""]}),qu=Xu.format,$u=Xu.formatPrefix,function(t){t[t.AreaChart=0]="AreaChart",t[t.LineChart=1]="LineChart",t[t.VerticalBarChart=2]="VerticalBarChart",t[t.VerticalStackedBarChart=3]="VerticalStackedBarChart",t[t.GroupedVerticalBarChart=4]="GroupedVerticalBarChart",t[t.HeatMapChart=5]="HeatMapChart",t[t.HorizontalBarChartWithAxis=6]="HorizontalBarChartWithAxis"}(Gu||(Gu={})),function(t){t[t.NumericAxis=0]="NumericAxis",t[t.DateAxis=1]="DateAxis",t[t.StringAxis=2]="StringAxis"}(Zu||(Zu={})),function(t){t[t.NumericAxis=0]="NumericAxis",t[t.DateAxis=1]="DateAxis",t[t.StringAxis=2]="StringAxis"}(Ku||(Ku={}));var rs=function(t,n,i,e){var r=t.containerHeight,o=t.tickPadding,a=void 0===o?12:o,u=t.margins,s=t.yAxisTickFormat,l=t.yAxisElement,c=Va().domain(n).range([r-u.bottom-e/2,u.top+e/2]),f=(i?hi(c):vi(c)).tickPadding(a).ticks(n);return s&&f.tickFormat(s),l&&Fu(l).call(f).selectAll("text"),c},os=function(t,n,i){var e=t.containerHeight,r=t.tickPadding,o=void 0===r?12:r,a=t.margins,u=t.yAxisTickFormat,s=t.yAxisElement,l=t.yAxisPadding,c=void 0===l?0:l,f=Va().domain(n).range([e-a.bottom,a.top]).padding(c),h=(i?hi(f):vi(f)).tickPadding(o).tickValues(n).tickSize(0);return u&&h.tickFormat(u),s&&Fu(s).call(h).selectAll("text"),f};function as(t){var n=[];t.forEach((function(t){var i=t.data.filter((function(t){return!t.hideCallout})).map((function(n){return(0,o.Cl)((0,o.Cl)({},n),{legend:t.legend,color:t.color,index:t.index})}));n=n.concat(i)}));var i={};return n.forEach((function(t){var n=t.x instanceof Date?t.x.getTime():t.x;n in i?i[n].push({legend:t.legend,y:t.y,color:t.color,xAxisCalloutData:t.xAxisCalloutData,yAxisCalloutData:t.yAxisCalloutData,callOutAccessibilityData:t.callOutAccessibilityData,index:t.index}):i[n]=[{legend:t.legend,y:t.y,color:t.color,xAxisCalloutData:t.xAxisCalloutData,yAxisCalloutData:t.yAxisCalloutData,callOutAccessibilityData:t.callOutAccessibilityData,index:t.index}]})),Object.keys(i).map((function(t){return{x:Number(t),values:i[t]}}))}var us=function(t,n,i){var e=Fu("#".concat(n));if(e.text(t),!e.node())return!1;for(var r=!1,o=e.node().getComputedTextLength();o>i&&t.length>0;)t=t.slice(0,-1),e.text(t+"..."),r=!0,o=e.node().getComputedTextLength();return r},ss=function(t,n){void 0===n&&(n="none");var i=0,e=document.createElement("canvas").getContext("2d");if(e){var r=document.querySelector(n);if(r){var o=window.getComputedStyle(r,null),a=o.getPropertyValue("font-weight"),u=o.getPropertyValue("font-size"),s=o.getPropertyValue("font-family");e.font="".concat(a," ").concat(u," ").concat(s)}else e.font='600 10px "Segoe UI"';t.forEach((function(t){i=Math.max(e.measureText(t.toString()).width,i)}))}return i};function ls(t){var n=t.tooltipCls,i=t.xAxis,e=t.id;if(null===i)return null;for(var r=Fu("body").append("div").attr("id",e).attr("class",n).style("opacity",0),o=i.selectAll("#BaseSpan")._groups[0],a=o&&Object.keys(o).length,u=[],s=0;s<a;s++){var l=o[s].dataset&&Object.values(o[s].dataset)[0];u.push(l)}var c=i.selectAll(".tick")._groups[0],f=c&&Object.keys(c).length,h=function(t){Fu(c[t]).on("mouseover",(function(n,i){r.style("opacity",.9),r.html(u[t]).style("left",n.pageX+"px").style("top",n.pageY-28+"px")})).on("mouseout",(function(t){r.style("opacity",0)}))};for(s=0;s<f;s++)h(s)}function cs(t){var n=!1;return t&&t.length>0&&t.forEach((function(t){t.data.length>0&&(n=t.data[0].x instanceof Date)})),n}function fs(t,n,i,e){var r=pi(t,(function(t){return pi(t.data,(function(t){return t.x}))})),o=gi(t,(function(t){return gi(t.data,(function(t){return t.x}))})),a=n.left,u=i-n.right;return e?{dStartValue:o,dEndValue:r,rStartValue:a,rEndValue:u}:{dStartValue:r,dEndValue:o,rStartValue:a,rEndValue:u}}function hs(t,n,i){var e=t.left,r=n-t.right;return i?{dStartValue:0,dEndValue:0,rStartValue:r,rEndValue:e}:{dStartValue:0,dEndValue:0,rStartValue:e,rEndValue:r}}function ds(t,n,i,e,r,a,u){var s,l;void 0===r&&(r=[]),a===Gu.AreaChart||a===Gu.LineChart?(s=pi(t,(function(t){return pi(t.data,(function(t){return t.x}))})),l=gi(t,(function(t){return gi(t.data,(function(t){return t.x}))})),s=pi((0,o.fX)((0,o.fX)([],r,!0),[s],!1)),l=gi((0,o.fX)((0,o.fX)([],r,!0),[l],!1))):(s=pi(t,(function(t){return t.x})),l=gi(t,(function(t){return t.x})));var c=n.left,f=i-n.right;return e?{dStartValue:l,dEndValue:s,rStartValue:c,rEndValue:f}:{dStartValue:s,dEndValue:l,rStartValue:c,rEndValue:f}}function vs(t){var n=gi(t,(function(t){return gi(t.data,(function(t){return t.y}))}));return{startValue:pi(t,(function(t){return pi(t.data,(function(t){return t.y}))})),endValue:n}}function ps(t){var n=gi(t,(function(t){return t.y}));return{startValue:pi(t,(function(t){return t.y})),endValue:n}}function gs(t){var n=gi(t,(function(t){return void 0!==t.lineData?t.y>t.lineData.y?t.y:t.lineData.y:t.y}));return{startValue:pi(t,(function(t){return void 0!==t.lineData?t.y<t.lineData.y?t.y:t.lineData.y:t.y})),endValue:n}}function ms(t,n){if(void 0!==n&&n===Ku.NumericAxis){var i=gi(t,(function(t){return t.y}));return{startValue:pi(t,(function(t){return t.y})),endValue:i}}return{startValue:0,endValue:0}}var ys,bs,xs=function(t,n){if(n)switch(typeof t){case"string":return Zu.StringAxis;case"number":return Zu.NumericAxis;default:return Zu.DateAxis}else switch(typeof t){case"string":return Ku.StringAxis;case"number":return Ku.NumericAxis;default:return Ku.DateAxis}};!function(t){t[t.circle=0]="circle",t[t.square=1]="square",t[t.triangle=2]="triangle",t[t.diamond=3]="diamond",t[t.pyramid=4]="pyramid",t[t.hexagon=5]="hexagon",t[t.pentagon=6]="pentagon",t[t.octagon=7]="octagon"}(ys||(ys={})),function(t){t[t.dottedLine=0]="dottedLine"}(bs||(bs={}));var ws=((Uu={})[ys.circle]={widthRatio:1},Uu[ys.square]={widthRatio:1},Uu[ys.triangle]={widthRatio:1},Uu[ys.diamond]={widthRatio:1},Uu[ys.pyramid]={widthRatio:1},Uu[ys.hexagon]={widthRatio:2},Uu[ys.pentagon]={widthRatio:1.168},Uu[ys.octagon]={widthRatio:2.414},Uu),Ms=function(t,n,i){return void 0===n&&(n="text"),void 0===i&&(i=!0),{role:n,"data-is-focusable":i,"aria-label":(t=null!=t?t:{}).ariaLabel,"aria-labelledby":t.ariaLabelledBy,"aria-describedby":t.ariaDescribedBy}},Cs=function(t,n){return null==t||Number.isNaN(t)?t:(n=n||void 0,"number"==typeof t?t.toLocaleString(n):"string"!=typeof t||window.isNaN(Number(t))?t instanceof Date?t.toLocaleDateString(n):t:Number(t).toLocaleString(n))};function ks(t){return $u(t<1e3?".2~":".1",t)(t)}var Ss,Ls=function(t,n,i){var e;return void 0===i&&(i=16),e="number"==typeof t?t:"default"===t||void 0===t?Math.min(i,16):i,"number"==typeof n&&(e=Math.min(e,n)),Math.max(e,1)},Vs=function(t,n,i){void 0===i&&(i=0);var e="number"==typeof t?t:"number"==typeof n?n:i;return Math.max(0,Math.min(e,1))},As=function(t,n){return"number"==typeof t||"number"==typeof n},Ns=function(t,n){return(n?Jr:Kr)("%-e %b %Y, %H:%M")(t)+(n?" GMT":"")},Ds=i(395);function Ts(t){for(var n=[],i=1;i<arguments.length;i++)n[i-1]=arguments[i];return n.length<2?n[0]:function(){for(var i=[],e=0;e<arguments.length;e++)i[e]=arguments[e];n.forEach((function(n){return n&&n.apply(t,i)}))}}function Os(t){!function(t,n){for(var i in n)n.hasOwnProperty(i)&&(t[i]=Ts(t,t[i],n[i]))}(t,{componentDidMount:Ps,componentDidUpdate:Es,componentWillUnmount:Fs})}function Ps(){Bs(this.props.componentRef,this)}function Es(t){t.componentRef!==this.props.componentRef&&(Bs(t.componentRef,null),Bs(this.props.componentRef,this))}function Fs(){Bs(this.props.componentRef,null)}function Bs(t,n){t&&("object"==typeof t?t.current=n:"function"==typeof t&&t(n))}function Hs(t,n,i){var e=M(t,(function(t){return n===t||t.hasAttribute(Dn)}),i);return null!==e&&e.hasAttribute(Dn)}!function(t){t[t.vertical=0]="vertical",t[t.horizontal=1]="horizontal",t[t.bidirectional=2]="bidirectional",t[t.domOrder=3]="domOrder"}(Ss||(Ss={}));var _s,Is=a.createContext(void 0),Ws="data-is-focusable",Rs="data-focuszone-id",zs="tabindex",Ys="data-no-vertical-wrap",js="data-no-horizontal-wrap",Xs=999999999,qs=-999999999;function $s(t,n){var i;"function"==typeof MouseEvent?i=new MouseEvent("click",{ctrlKey:null==n?void 0:n.ctrlKey,metaKey:null==n?void 0:n.metaKey,shiftKey:null==n?void 0:n.shiftKey,altKey:null==n?void 0:n.altKey,bubbles:null==n?void 0:n.bubbles,cancelable:null==n?void 0:n.cancelable}):(i=document.createEvent("MouseEvents")).initMouseEvent("click",!!n&&n.bubbles,!!n&&n.cancelable,window,0,0,0,0,0,!!n&&n.ctrlKey,!!n&&n.altKey,!!n&&n.shiftKey,!!n&&n.metaKey,0,null),t.dispatchEvent(i)}var Us,Gs={},Zs=new Set,Ks=["text","number","password","email","tel","url","search","textarea"],Js=!1,Qs=function(t){function n(i){var e,r,o,u,l,c=this;(c=t.call(this,i)||this)._root=a.createRef(),c._mergedRef=(l={refs:[]},function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return l.resolver&&function(t,n){if(t.length!==n.length)return!1;for(var i=0;i<t.length;i++)if(t[i]!==n[i])return!1;return!0}(l.refs,t)||(l.resolver=function(t){return function(n){for(var i=0,e=t.refs;i<e.length;i++){var r=e[i];"function"==typeof r?r(n):r&&(r.current=n)}}}(l)),l.refs=t,l.resolver}),c._onFocus=function(t){var n;if(!c._portalContainsElement(t.target)){var i,e=(n=c.props).onActiveElementChanged,r=n.doNotAllowFocusEventToPropagate,o=n.stopFocusPropagation,a=n.onFocusNotification,u=n.onFocus,s=n.shouldFocusInnerElementWhenReceivedFocus,l=n.defaultTabbableElement,f=c._isImmediateDescendantOfZone(t.target);if(f)i=t.target;else for(var h=t.target;h&&h!==c._root.current;){if(E(h,void 0,c._inShadowRoot)&&c._isImmediateDescendantOfZone(h)){i=h;break}h=w(h,Js)}if(s&&t.target===c._root.current){var d=l&&"function"==typeof l&&c._root.current&&l(c._root.current);d&&E(d,void 0,c._inShadowRoot)?(i=d,d.focus()):(c.focus(!0),c._activeElement&&(i=null))}var v=!c._activeElement;i&&i!==c._activeElement&&((f||v)&&c._setFocusAlignment(i,!0,!0),c._activeElement=i,v&&c._updateTabIndexes()),e&&e(c._activeElement,t),(o||r)&&t.stopPropagation(),u?u(t):a&&a()}},c._onBlur=function(){c._setParkedFocus(!1)},c._onMouseDown=function(t){if(!c._portalContainsElement(t.target)&&!c.props.disabled){for(var n=t.target,i=[];n&&n!==c._root.current;)i.push(n),n=w(n,Js);for(;i.length&&((n=i.pop())&&E(n,void 0,c._inShadowRoot)&&c._setActiveElement(n,!0),!F(n)););}},c._onKeyDown=function(t,n){var i;if(!c._portalContainsElement(t.target)){var e=(i=c.props).direction,r=i.disabled,o=i.isInnerZoneKeystroke,a=i.pagingSupportDisabled,u=i.shouldEnterInnerZone;if(!(r||(c.props.onKeyDown&&c.props.onKeyDown(t),t.isDefaultPrevented()||c._getDocument().activeElement===c._root.current&&c._isInnerZone))){if((u&&u(t)||o&&o(t))&&c._isImmediateDescendantOfZone(t.target)){var l=c._getFirstInnerZone();if(l){if(!l.focus(!0))return}else{if(!B(t.target))return;if(!c.focusElement(T(t.target,t.target.firstChild,!0)))return}}else{if(t.altKey)return;switch(t.which){case 32:if(c._shouldRaiseClicksOnSpace&&c._tryInvokeClickForFocusable(t.target,t))break;return;case 37:if(e!==Ss.vertical&&(c._preventDefaultWhenHandled(t),c._moveFocusLeft(n)))break;return;case 39:if(e!==Ss.vertical&&(c._preventDefaultWhenHandled(t),c._moveFocusRight(n)))break;return;case 38:if(e!==Ss.horizontal&&(c._preventDefaultWhenHandled(t),c._moveFocusUp()))break;return;case 40:if(e!==Ss.horizontal&&(c._preventDefaultWhenHandled(t),c._moveFocusDown()))break;return;case 34:if(!a&&c._moveFocusPaging(!0))break;return;case 33:if(!a&&c._moveFocusPaging(!1))break;return;case 9:if(c.props.allowTabKey||1===c.props.handleTabKey||2===c.props.handleTabKey&&c._isElementInput(t.target)){var f=!1;if(c._processingTabKey=!0,f=e!==Ss.vertical&&c._shouldWrapFocus(c._activeElement,js)?((0,s.jI)(n)?!t.shiftKey:t.shiftKey)?c._moveFocusLeft(n):c._moveFocusRight(n):t.shiftKey?c._moveFocusUp():c._moveFocusDown(),c._processingTabKey=!1,f)break;c.props.shouldResetActiveElementWhenTabFromZone&&(c._activeElement=null)}return;case 36:if(c._isContentEditableElement(t.target)||c._isElementInput(t.target)&&!c._shouldInputLoseFocus(t.target,!1))return!1;var h=c._root.current&&c._root.current.firstChild;if(c._root.current&&h&&c.focusElement(T(c._root.current,h,!0)))break;return;case 35:if(c._isContentEditableElement(t.target)||c._isElementInput(t.target)&&!c._shouldInputLoseFocus(t.target,!0))return!1;var d=c._root.current&&c._root.current.lastChild;if(c._root.current&&c.focusElement(D(c._root.current,d,!0,!0,!0)))break;return;case 13:if(c._shouldRaiseClicksOnEnter&&c._tryInvokeClickForFocusable(t.target,t))break;return;default:return}}t.preventDefault(),t.stopPropagation()}}},c._getHorizontalDistanceFromCenter=function(t,n,i){var e=c._focusAlignment.left||c._focusAlignment.x||0,r=Math.floor(i.top),o=Math.floor(n.bottom),a=Math.floor(i.bottom),u=Math.floor(n.top);return t&&r>o||!t&&a<u?e>=i.left&&e<=i.left+i.width?0:Math.abs(i.left+i.width/2-e):c._shouldWrapFocus(c._activeElement,Ys)?Xs:qs},Os(c),Wn("FocusZone",i,{rootProps:void 0,allowTabKey:"handleTabKey",elementType:"as",ariaDescribedBy:"aria-describedby",ariaLabelledBy:"aria-labelledby"}),c._id=g("FocusZone"),c._focusAlignment={left:0,top:0},c._processingTabKey=!1;var f=null===(r=null!==(e=i.shouldRaiseClicks)&&void 0!==e?e:n.defaultProps.shouldRaiseClicks)||void 0===r||r;return c._shouldRaiseClicksOnEnter=null!==(o=i.shouldRaiseClicksOnEnter)&&void 0!==o?o:f,c._shouldRaiseClicksOnSpace=null!==(u=i.shouldRaiseClicksOnSpace)&&void 0!==u?u:f,c}return(0,o.C6)(n,t),n.getOuterZones=function(){return Zs.size},n._onKeyDownCapture=function(t){9===t.which&&Zs.forEach((function(t){return t._updateTabIndexes()}))},n.prototype.componentDidMount=function(){var t,i=this._root.current;if(this._inShadowRoot=!!(null===(t=this.context)||void 0===t?void 0:t.shadowRoot),Gs[this._id]=this,i){for(var e=w(i,Js);e&&e!==this._getDocument().body&&1===e.nodeType;){if(F(e)){this._isInnerZone=!0;break}e=w(e,Js)}this._isInnerZone||(Zs.add(this),this._root.current&&this._root.current.addEventListener("keydown",n._onKeyDownCapture,!0)),this._root.current&&this._root.current.addEventListener("blur",this._onBlur,!0),this._updateTabIndexes(),this.props.defaultTabbableElement&&"string"==typeof this.props.defaultTabbableElement?this._activeElement=this._getDocument().querySelector(this.props.defaultTabbableElement):this.props.defaultActiveElement&&(this._activeElement=this._getDocument().querySelector(this.props.defaultActiveElement)),this.props.shouldFocusOnMount&&this.focus()}},n.prototype.componentDidUpdate=function(){var t,n=this._root.current,i=this._getDocument();if(this._inShadowRoot=!!(null===(t=this.context)||void 0===t?void 0:t.shadowRoot),(this._activeElement&&!C(this._root.current,this._activeElement,Js)||this._defaultFocusElement&&!C(this._root.current,this._defaultFocusElement,Js))&&(this._activeElement=null,this._defaultFocusElement=null,this._updateTabIndexes()),!this.props.preventFocusRestoration&&i&&this._lastIndexPath&&(i.activeElement===i.body||null===i.activeElement||i.activeElement===n)){var e=function(t,n){for(var i=t,e=0,r=n;e<r.length;e++){var o=r[e],a=i.children[Math.min(o,i.children.length-1)];if(!a)break;i=a}return E(i)&&O(i)?i:T(t,i,!0)||D(t,i)}(n,this._lastIndexPath);e?(this._setActiveElement(e,!0),e.focus(),this._setParkedFocus(!1)):this._setParkedFocus(!0)}},n.prototype.componentWillUnmount=function(){delete Gs[this._id],this._isInnerZone||(Zs.delete(this),this._root.current&&this._root.current.removeEventListener("keydown",n._onKeyDownCapture,!0)),this._root.current&&this._root.current.removeEventListener("blur",this._onBlur,!0),this._activeElement=null,this._defaultFocusElement=null},n.prototype.render=function(){var t,n=this,i=(t=this.props).as,e=t.elementType,r=t.rootProps,u=t.ariaDescribedBy,s=t.ariaLabelledBy,l=t.className,c=U(this.props,j),f=i||e||"div";this._evaluateFocusBeforeRender();var h=(0,Xt.O4)();return a.createElement(f,(0,o.Cl)({"aria-labelledby":s,"aria-describedby":u},c,r,{className:G((_s||(_s=(0,nt.Z)({selectors:{":focus":{outline:"none"}}},"ms-FocusZone")),_s),l),ref:this._mergedRef(this.props.elementRef,this._root),"data-focuszone-id":this._id,onKeyDown:function(t){return n._onKeyDown(t,h)},onFocus:this._onFocus,onMouseDownCapture:this._onMouseDown}),this.props.children)},n.prototype.focus=function(t,n){if(void 0===t&&(t=!1),void 0===n&&(n=!1),this._root.current){if(!t&&"true"===this._root.current.getAttribute(Ws)&&this._isInnerZone){var i=this._getOwnerZone(this._root.current);if(i!==this._root.current){var e=Gs[i.getAttribute(Rs)];return!!e&&e.focusElement(this._root.current)}return!1}if(!t&&this._activeElement&&C(this._root.current,this._activeElement)&&E(this._activeElement,void 0,this._inShadowRoot)&&(!n||P(this._activeElement)))return this._activeElement.focus(),!0;var r=this._root.current.firstChild;return this.focusElement(T(this._root.current,r,!0,void 0,void 0,void 0,void 0,void 0,n))}return!1},n.prototype.focusLast=function(){if(this._root.current){var t=this._root.current&&this._root.current.lastChild;return this.focusElement(D(this._root.current,t,!0,!0,!0))}return!1},n.prototype.focusElement=function(t,n){var i,e=(i=this.props).onBeforeFocus,r=i.shouldReceiveFocus;return!(r&&!r(t)||e&&!e(t)||!t||(this._setActiveElement(t,n),this._activeElement&&this._activeElement.focus(),0))},n.prototype.setFocusAlignment=function(t){this._focusAlignment=t},Object.defineProperty(n.prototype,"defaultFocusElement",{get:function(){return this._defaultFocusElement},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"activeElement",{get:function(){return this._activeElement},enumerable:!1,configurable:!0}),n.prototype._evaluateFocusBeforeRender=function(){var t=this._root.current,n=this._getDocument();if(n){var i=n.activeElement;if(i!==t){var e=C(t,i,!1);this._lastIndexPath=e?function(t,n){for(var i=[];n&&t&&n!==t;){var e=w(n,!0);if(null===e)return[];i.unshift(Array.prototype.indexOf.call(e.children,n)),n=e}return i}(t,i):void 0}}},n.prototype._setParkedFocus=function(t){var n=this._root.current;n&&this._isParked!==t&&(this._isParked=t,t?(this.props.allowFocusRoot||(this._parkedTabIndex=n.getAttribute("tabindex"),n.setAttribute("tabindex","-1")),n.focus()):this.props.allowFocusRoot||(this._parkedTabIndex?(n.setAttribute("tabindex",this._parkedTabIndex),this._parkedTabIndex=void 0):n.removeAttribute("tabindex")))},n.prototype._setActiveElement=function(t,n){var i=this._activeElement;this._activeElement=t,i&&(F(i)&&this._updateTabIndexes(i),i.tabIndex=-1),this._activeElement&&(this._focusAlignment&&!n||this._setFocusAlignment(t,!0,!0),this._activeElement.tabIndex=0)},n.prototype._preventDefaultWhenHandled=function(t){this.props.preventDefaultWhenHandled&&t.preventDefault()},n.prototype._tryInvokeClickForFocusable=function(t,n){var i=t;if(i===this._root.current)return!1;do{if("BUTTON"===i.tagName||"A"===i.tagName||"INPUT"===i.tagName||"TEXTAREA"===i.tagName||"SUMMARY"===i.tagName)return!1;if(this._isImmediateDescendantOfZone(i)&&"true"===i.getAttribute(Ws)&&"true"!==i.getAttribute("data-disable-click-on-enter"))return $s(i,n),!0;i=w(i,Js)}while(i!==this._root.current);return!1},n.prototype._getFirstInnerZone=function(t){if(!(t=t||this._activeElement||this._root.current))return null;if(F(t))return Gs[t.getAttribute(Rs)];for(var n=t.firstElementChild;n;){if(F(n))return Gs[n.getAttribute(Rs)];var i=this._getFirstInnerZone(n);if(i)return i;n=n.nextElementSibling}return null},n.prototype._moveFocus=function(t,n,i,e){void 0===e&&(e=!0);var r=this._activeElement,o=-1,a=void 0,u=!1,s=this.props.direction===Ss.bidirectional;if(!r||!this._root.current)return!1;if(this._isElementInput(r)&&!this._shouldInputLoseFocus(r,t))return!1;var l=s?r.getBoundingClientRect():null;do{if(r=t?T(this._root.current,r):D(this._root.current,r),!s){a=r;break}if(r){var c=n(l,r.getBoundingClientRect());if(-1===c&&-1===o){a=r;break}if(c>-1&&(-1===o||c<o)&&(o=c,a=r),o>=0&&c<0)break}}while(r);if(a&&a!==this._activeElement)u=!0,this.focusElement(a);else if(this.props.isCircularNavigation&&e)return t?this.focusElement(T(this._root.current,this._root.current.firstElementChild,!0)):this.focusElement(D(this._root.current,this._root.current.lastElementChild,!0,!0,!0));return u},n.prototype._moveFocusDown=function(){var t=this,n=-1,i=this._focusAlignment.left||this._focusAlignment.x||0;return!!this._moveFocus(!0,(function(e,r){var o=-1,a=Math.floor(r.top),u=Math.floor(e.bottom);return a<u?t._shouldWrapFocus(t._activeElement,Ys)?Xs:qs:((-1===n&&a>=u||a===n)&&(n=a,o=i>=r.left&&i<=r.left+r.width?0:Math.abs(r.left+r.width/2-i)),o)}))&&(this._setFocusAlignment(this._activeElement,!1,!0),!0)},n.prototype._moveFocusUp=function(){var t=this,n=-1,i=this._focusAlignment.left||this._focusAlignment.x||0;return!!this._moveFocus(!1,(function(e,r){var o=-1,a=Math.floor(r.bottom),u=Math.floor(r.top),s=Math.floor(e.top);return a>s?t._shouldWrapFocus(t._activeElement,Ys)?Xs:qs:((-1===n&&a<=s||u===n)&&(n=u,o=i>=r.left&&i<=r.left+r.width?0:Math.abs(r.left+r.width/2-i)),o)}))&&(this._setFocusAlignment(this._activeElement,!1,!0),!0)},n.prototype._moveFocusLeft=function(t){var n=this,i=this._shouldWrapFocus(this._activeElement,js);return!!this._moveFocus((0,s.jI)(t),(function(e,r){var o=-1;return((0,s.jI)(t)?parseFloat(r.top.toFixed(3))<parseFloat(e.bottom.toFixed(3)):parseFloat(r.bottom.toFixed(3))>parseFloat(e.top.toFixed(3)))&&r.right<=e.right&&n.props.direction!==Ss.vertical?o=e.right-r.right:i||(o=qs),o}),void 0,i)&&(this._setFocusAlignment(this._activeElement,!0,!1),!0)},n.prototype._moveFocusRight=function(t){var n=this,i=this._shouldWrapFocus(this._activeElement,js);return!!this._moveFocus(!(0,s.jI)(t),(function(e,r){var o=-1;return((0,s.jI)(t)?parseFloat(r.bottom.toFixed(3))>parseFloat(e.top.toFixed(3)):parseFloat(r.top.toFixed(3))<parseFloat(e.bottom.toFixed(3)))&&r.left>=e.left&&n.props.direction!==Ss.vertical?o=r.left-e.left:i||(o=qs),o}),void 0,i)&&(this._setFocusAlignment(this._activeElement,!0,!1),!0)},n.prototype._moveFocusPaging=function(t,n){void 0===n&&(n=!0);var i=this._activeElement;if(!i||!this._root.current)return!1;if(this._isElementInput(i)&&!this._shouldInputLoseFocus(i,t))return!1;var e=et(i);if(!e)return!1;var r=-1,o=void 0,a=-1,u=-1,s=e.clientHeight,l=i.getBoundingClientRect();do{if(i=t?T(this._root.current,i):D(this._root.current,i)){var c=i.getBoundingClientRect(),f=Math.floor(c.top),h=Math.floor(l.bottom),d=Math.floor(c.bottom),v=Math.floor(l.top),p=this._getHorizontalDistanceFromCenter(t,l,c);if(t&&f>h+s||!t&&d<v-s)break;p>-1&&(t&&f>a?(a=f,r=p,o=i):!t&&d<u?(u=d,r=p,o=i):(-1===r||p<=r)&&(r=p,o=i))}}while(i);var g=!1;if(o&&o!==this._activeElement)g=!0,this.focusElement(o),this._setFocusAlignment(o,!1,!0);else if(this.props.isCircularNavigation&&n)return t?this.focusElement(T(this._root.current,this._root.current.firstElementChild,!0)):this.focusElement(D(this._root.current,this._root.current.lastElementChild,!0,!0,!0));return g},n.prototype._setFocusAlignment=function(t,n,i){if(this.props.direction===Ss.bidirectional&&(!this._focusAlignment||n||i)){var e=t.getBoundingClientRect(),r=e.left+e.width/2,o=e.top+e.height/2;this._focusAlignment||(this._focusAlignment={left:r,top:o}),n&&(this._focusAlignment.left=r),i&&(this._focusAlignment.top=o)}},n.prototype._isImmediateDescendantOfZone=function(t){return this._getOwnerZone(t)===this._root.current},n.prototype._getOwnerZone=function(t){for(var n=w(t,Js);n&&n!==this._root.current&&n!==this._getDocument().body;){if(F(n))return n;n=w(n,Js)}return n},n.prototype._updateTabIndexes=function(t){!this._activeElement&&this.props.defaultTabbableElement&&"function"==typeof this.props.defaultTabbableElement&&(this._activeElement=this.props.defaultTabbableElement(this._root.current)),!t&&this._root.current&&(this._defaultFocusElement=null,t=this._root.current,this._activeElement&&!C(t,this._activeElement)&&(this._activeElement=null)),this._activeElement&&!E(this._activeElement,void 0,this._inShadowRoot)&&(this._activeElement=null);for(var n=t&&t.children,i=0;n&&i<n.length;i++){var e=n[i];F(e)?"true"===e.getAttribute(Ws)&&(this._isInnerZone||(this._activeElement||this._defaultFocusElement)&&this._activeElement!==e?"-1"!==e.getAttribute(zs)&&e.setAttribute(zs,"-1"):(this._defaultFocusElement=e,"0"!==e.getAttribute(zs)&&e.setAttribute(zs,"0"))):(e.getAttribute&&"false"===e.getAttribute(Ws)&&e.setAttribute(zs,"-1"),E(e,void 0,this._inShadowRoot)?this.props.disabled?e.setAttribute(zs,"-1"):this._isInnerZone||(this._activeElement||this._defaultFocusElement)&&this._activeElement!==e?"-1"!==e.getAttribute(zs)&&e.setAttribute(zs,"-1"):(this._defaultFocusElement=e,"0"!==e.getAttribute(zs)&&e.setAttribute(zs,"0")):"svg"===e.tagName&&"false"!==e.getAttribute("focusable")&&e.setAttribute("focusable","false")),this._updateTabIndexes(e)}},n.prototype._isContentEditableElement=function(t){return t&&"true"===t.getAttribute("contenteditable")},n.prototype._isElementInput=function(t){return!(!t||!t.tagName||"input"!==t.tagName.toLowerCase()&&"textarea"!==t.tagName.toLowerCase())},n.prototype._shouldInputLoseFocus=function(t,n){if(!this._processingTabKey&&t&&t.type&&Ks.indexOf(t.type.toLowerCase())>-1){var i=t.selectionStart,e=i!==t.selectionEnd,r=t.value,o=t.readOnly;if(e||i>0&&!n&&!o||i!==r.length&&n&&!o||this.props.handleTabKey&&(!this.props.shouldInputLoseFocusOnArrowKey||!this.props.shouldInputLoseFocusOnArrowKey(t)))return!1}return!0},n.prototype._shouldWrapFocus=function(t,n){return!this.props.checkForNoWrap||function(t,n,i){return"true"!==function(t,n,i){var e=M(t,(function(t){return t.hasAttribute(n)}),i);return e&&e.getAttribute(n)}(t,n,null!=i?i:(0,k.Y)())}(t,n)},n.prototype._portalContainsElement=function(t){return t&&!!this._root.current&&Hs(t,this._root.current)},n.prototype._getDocument=function(){return(0,k.Y)(this._root.current)},n.contextType=Is,n.defaultProps={isCircularNavigation:!1,direction:Ss.bidirectional,shouldRaiseClicks:!0,"data-tabster":'{"uncontrolled": {}}'},n}(a.Component);function tl(t){return function(t){return t.clientWidth<t.scrollWidth}(t)||function(t){return t.clientHeight<t.scrollHeight}(t)}!function(t){t[t.Parent=0]="Parent",t[t.Self=1]="Self"}(Us||(Us={}));var nl,il=(0,u.Z)(),el=function(t){function n(){var n=null!==t&&t.apply(this,arguments)||this;return n._onRenderContent=function(t){return"string"==typeof t.content?a.createElement("p",{className:n._classNames.subText},t.content):a.createElement("div",{className:n._classNames.subText},t.content)},n}return(0,o.C6)(n,t),n.prototype.render=function(){var t,n,i=(t=this.props).className,e=t.calloutProps,r=t.directionalHint,u=t.directionalHintForRTL,s=t.styles,l=t.id,c=t.maxWidth,f=void 0===(n=t.onRenderContent)?this._onRenderContent:n,h=t.targetElement,d=t.theme;return this._classNames=il(s,{theme:d,className:i||e&&e.className,beakWidth:e&&e.isBeakVisible?e.beakWidth:0,gapSpace:e&&e.gapSpace,maxWidth:c}),a.createElement(Kn,(0,o.Cl)({target:h,directionalHint:r,directionalHintForRTL:u},e,U(this.props,$,["id"]),{className:this._classNames.root}),a.createElement("div",{className:this._classNames.content,id:l,onFocus:this.props.onFocus,onMouseEnter:this.props.onMouseEnter,onMouseLeave:this.props.onMouseLeave},f(this.props,this._onRenderContent)))},n.defaultProps={directionalHint:x.topCenter,maxWidth:"364px",calloutProps:{isBeakVisible:!0,beakWidth:16,gapSpace:0,setInitialFocus:!0,doNotLayer:!1}},n}(a.Component),rl=(0,r.I)(el,(function(t){var n=t.className,i=t.beakWidth,e=void 0===i?16:i,r=t.gapSpace,o=void 0===r?0:r,a=t.maxWidth,u=t.theme,s=u.semanticColors,l=u.fonts,c=u.effects,f=-(Math.sqrt(e*e/2)+o)+1/window.devicePixelRatio;return{root:["ms-Tooltip",u.fonts.medium,Xt.lw.fadeIn200,{background:s.menuBackground,boxShadow:c.elevation8,padding:"8px",maxWidth:a,selectors:{":after":{content:"''",position:"absolute",bottom:f,left:f,right:f,top:f,zIndex:0}}},n],content:["ms-Tooltip-content",l.small,{position:"relative",zIndex:1,color:s.menuItemText,wordWrap:"break-word",overflowWrap:"break-word",overflow:"hidden"}],subText:["ms-Tooltip-subtext",{fontSize:"inherit",fontWeight:"inherit",color:"inherit",margin:0}]}}),void 0,{scope:"Tooltip"});!function(t){t[t.zero=0]="zero",t[t.medium=1]="medium",t[t.long=2]="long"}(nl||(nl={}));var ol,al,ul=(0,u.Z)(),sl=function(t){function n(i){var e=t.call(this,i)||this;return e._tooltipHost=a.createRef(),e._defaultTooltipId=g("tooltip"),e.show=function(){e._toggleTooltip(!0)},e.dismiss=function(){e._hideTooltip()},e._getTargetElement=function(){if(e._tooltipHost.current){var t=e.props.overflowMode;if(void 0!==t)switch(t){case Us.Parent:return e._tooltipHost.current.parentElement;case Us.Self:return e._tooltipHost.current}return e._tooltipHost.current}},e._onTooltipFocus=function(t){e._ignoreNextFocusEvent?e._ignoreNextFocusEvent=!1:e._onTooltipMouseEnter(t)},e._onTooltipContentFocus=function(t){n._currentVisibleTooltip&&n._currentVisibleTooltip!==e&&n._currentVisibleTooltip.dismiss(),n._currentVisibleTooltip=e,e._clearDismissTimer(),e._clearOpenTimer()},e._onTooltipBlur=function(t){var n;e._ignoreNextFocusEvent=(null===(n=Gt(e.context))||void 0===n?void 0:n.activeElement)===t.target,e._dismissTimerId=e._async.setTimeout((function(){e._hideTooltip()}),0)},e._onTooltipMouseEnter=function(t){var i,r=(i=e.props).overflowMode,o=i.delay,a=Gt(e.context);if(n._currentVisibleTooltip&&n._currentVisibleTooltip!==e&&n._currentVisibleTooltip.dismiss(),n._currentVisibleTooltip=e,void 0!==r){var u=e._getTargetElement();if(u&&!tl(u))return}if(!t.target||!Hs(t.target,e._getTargetElement(),a))if(e._clearDismissTimer(),e._clearOpenTimer(),o!==nl.zero){var s=e._getDelayTime(o);e._openTimerId=e._async.setTimeout((function(){e._toggleTooltip(!0)}),s)}else e._toggleTooltip(!0)},e._onTooltipMouseLeave=function(t){var i=e.props.closeDelay;e._clearDismissTimer(),e._clearOpenTimer(),i?e._dismissTimerId=e._async.setTimeout((function(){e._toggleTooltip(!1)}),i):e._toggleTooltip(!1),n._currentVisibleTooltip===e&&(n._currentVisibleTooltip=void 0)},e._onTooltipKeyDown=function(t){(t.which===Ft||t.ctrlKey)&&e.state.isTooltipVisible&&(e._hideTooltip(),t.stopPropagation())},e._clearDismissTimer=function(){e._async.clearTimeout(e._dismissTimerId)},e._clearOpenTimer=function(){e._async.clearTimeout(e._openTimerId)},e._hideTooltip=function(){e._clearOpenTimer(),e._clearDismissTimer(),e._toggleTooltip(!1)},e._toggleTooltip=function(t){e.state.isTooltipVisible!==t&&e.setState({isTooltipVisible:t},(function(){return e.props.onTooltipToggle&&e.props.onTooltipToggle(t)}))},e._getDelayTime=function(t){switch(t){case nl.medium:return 300;case nl.long:return 500;default:return 0}},Os(e),e.state={isAriaPlaceholderRendered:!1,isTooltipVisible:!1},e}return(0,o.C6)(n,t),n.prototype.render=function(){var t,n,i=(t=this.props).calloutProps,e=t.children,r=t.content,u=t.directionalHint,s=t.directionalHintForRTL,l=t.hostClassName,c=t.id,f=void 0===(n=t.setAriaDescribedBy)||n,h=t.tooltipProps,d=t.styles,v=t.theme;this._classNames=ul(d,{theme:v,className:l});var p=this.state.isTooltipVisible,g=c||this._defaultTooltipId,m=(0,o.Cl)((0,o.Cl)({id:"".concat(g,"--tooltip"),content:r,targetElement:this._getTargetElement(),directionalHint:u,directionalHintForRTL:s,calloutProps:Z({},i,{onDismiss:this._hideTooltip,onFocus:this._onTooltipContentFocus,onMouseEnter:this._onTooltipMouseEnter,onMouseLeave:this._onTooltipMouseLeave}),onMouseEnter:this._onTooltipMouseEnter,onMouseLeave:this._onTooltipMouseLeave},U(this.props,$,["id"])),h),y=(null==h?void 0:h.onRenderContent)?h.onRenderContent(m,(function(t){return(null==t?void 0:t.content)?a.createElement(a.Fragment,null,t.content):null})):r,b=p&&!!y,x=f&&p&&y?g:void 0;return a.createElement("div",(0,o.Cl)({className:this._classNames.root,ref:this._tooltipHost},{onFocusCapture:this._onTooltipFocus},{onBlurCapture:this._onTooltipBlur},{onMouseEnter:this._onTooltipMouseEnter,onMouseLeave:this._onTooltipMouseLeave,onKeyDown:this._onTooltipKeyDown,role:"none","aria-describedby":x}),e,b&&a.createElement(rl,(0,o.Cl)({},m)),a.createElement("div",{hidden:!0,id:g,style:Xt.dX},y))},n.prototype.componentDidMount=function(){this._async=new Bt(this)},n.prototype.componentWillUnmount=function(){n._currentVisibleTooltip&&n._currentVisibleTooltip===this&&(n._currentVisibleTooltip=void 0),this._async.dispose()},n.defaultProps={delay:nl.medium},n.contextType=Wt,n}(a.Component),ll={root:"ms-TooltipHost",ariaPlaceholder:"ms-TooltipHost-aria-placeholder"},cl=(0,r.I)(sl,(function(t){var n=t.className,i=t.theme;return{root:[(0,Xt.Km)(ll,i).root,{display:"inline"},n]}}),void 0,{scope:"TooltipHost"}),fl=function(t){function n(n){var i=t.call(this,n)||this;return i._tooltipChild=a.createRef(),i._checkTextOverflow=function(){var t=i._getTargetElement(),n=!!t&&tl(t);n!==i.state.textOverflow&&i.setState({textOverflow:n})},i._getTargetElement=function(){if(i._tooltipChild.current&&i._tooltipChild.current.parentElement)return i._tooltipChild.current.parentElement},i.state={textOverflow:!1},i._async=new Bt(i),i}return(0,o.C6)(n,t),n.prototype.render=function(){var t=this.props,n=t.className,i=t.content,e=t.accessibilityData;return a.createElement(cl,{overflowMode:Us.Self,hostClassName:n,content:i},a.createElement("span",(0,o.Cl)({},Ms(e),{ref:this._tooltipChild,"data-is-focusable":this.state.textOverflow}),i))},n.prototype.componentDidMount=function(){var t=this._getTargetElement();window.ResizeObserver&&t&&(this._resizeObserver=new ResizeObserver(this._async.debounce(this._checkTextOverflow,500)),this._resizeObserver.observe(t))},n.prototype.componentWillUnmount=function(){var t;null===(t=this._resizeObserver)||void 0===t||t.disconnect(),this._async.dispose()},n}(a.Component),hl=(0,u.Z)(),dl=function(t){function n(n){var i=t.call(this,n)||this;return i._isRTL=(0,s.jI)(),i._handleChartMouseLeave=function(){i._calloutAnchorPoint=null,i.state.isCalloutVisible&&i.setState({isCalloutVisible:!1,hoverValue:"",refSelected:null,lineColor:"",legend:""})},i._adjustProps=function(){i._barHeight=i.props.barHeight||12,i._classNames=hl(i.props.styles,{theme:i.props.theme,width:i.props.width,className:i.props.className,barHeight:i._barHeight,color:i.state.lineColor,variant:i.props.variant,hideLabels:i.props.hideLabels})},i._getChartDataText=function(t){return i.props.barChartCustomData?a.createElement("div",{role:"text"},i.props.barChartCustomData(t)):i._getDefaultTextData(t)},i._closeCallout=function(){i.setState({isCalloutVisible:!1})},i._getAriaLabel=function(t){var n,i=t.xAxisCalloutData||t.legend,e=t.data,r=t.yAxisCalloutData||(t.horizontalBarChartdata?"".concat(t.horizontalBarChartdata.x,"/").concat(t.horizontalBarChartdata.y):0);return(null===(n=t.callOutAccessibilityData)||void 0===n?void 0:n.ariaLabel)||(i?"".concat(i,", "):"")+"".concat(r,".")+(e?"with benchmark at "+"".concat(e,", "):"")},i.state={isCalloutVisible:!1,hoverValue:"",lineColor:"",legend:"",refSelected:null,color:"",xCalloutValue:"",yCalloutValue:"",barSpacingInPercent:0},i._refArray=[],i._uniqLineText="_HorizontalLine_"+Math.random().toString(36).substring(7),i._hoverOff=i._hoverOff.bind(i),i._calloutId=g("callout"),i._emptyChartId=g("_HBC_empty"),i.barChartSvgRef=a.createRef(),i}return(0,o.C6)(n,t),n.prototype.componentDidMount=function(){var t,n=(null===(t=this.barChartSvgRef.current)||void 0===t?void 0:t.getBoundingClientRect().width)||0;if(n){var i=3/n*100;this.setState({barSpacingInPercent:i})}},n.prototype.render=function(){var t=this,n=this.props,i=n.data,e=n.theme;this._adjustProps();var r=e.palette,u=0;return this._isChartEmpty()?a.createElement("div",{id:this._emptyChartId,role:"alert",style:{opacity:"0"},"aria-label":"Graph has no data to display"}):a.createElement("div",{className:this._classNames.root,onMouseLeave:this._handleChartMouseLeave},i.map((function(n,i){u=n.chartData&&n.chartData[0]&&n.chartData[0].horizontalBarChartdata.x?n.chartData[0].horizontalBarChartdata.x:0,n.chartData[1]={legend:"",horizontalBarChartdata:{x:n.chartData[0].horizontalBarChartdata.y-u,y:n.chartData[0].horizontalBarChartdata.y},color:r.neutralLight};var e=t.props.variant===v.AbsoluteScale?null:t._getChartDataText(n),o=t._createBars(n,r),s=t._uniqLineText+"_"+i,l=hl(t.props.styles,{theme:t.props.theme,width:t.props.width,showTriangle:!!n.chartData[0].data,variant:t.props.variant});return a.createElement("div",{key:i},a.createElement("div",{className:l.items},a.createElement(Qs,{direction:Ss.horizontal},a.createElement("div",{className:t._classNames.chartTitle},n.chartTitle&&a.createElement(fl,{className:t._classNames.chartTitleLeft,content:n.chartTitle,accessibilityData:n.chartTitleAccessibilityData}),e)),n.chartData[0].data&&t._createBenchmark(n),a.createElement(Qs,{direction:Ss.horizontal,className:t._classNames.chartWrapper},a.createElement("svg",{ref:t.barChartSvgRef,className:t._classNames.chart,"aria-label":n.chartTitle},a.createElement("g",{id:s,key:s,ref:function(i){t._refCallback(i,n.chartData[0].legend)},onClick:function(){var t=n.chartData[0];t&&t.onClick&&t.onClick()}},o)))))})),a.createElement(Kn,(0,o.Cl)({target:this.state.refSelected,coverTarget:!0,isBeakVisible:!1,gapSpace:30,hidden:!(!this.props.hideTooltip&&this.state.isCalloutVisible),directionalHint:x.topAutoEdge,id:this._calloutId,onDismiss:this._closeCallout,preventDismissOnLostFocus:!0},this.props.calloutProps,Ms(this.state.callOutAccessibilityData)),a.createElement(a.Fragment,null,this.props.onRenderCalloutPerHorizontalBar?this.props.onRenderCalloutPerHorizontalBar(this.state.barCalloutProps):a.createElement(Ds.ChartHoverCard,{Legend:this.state.xCalloutValue?this.state.xCalloutValue:this.state.legend,YValue:this.state.yCalloutValue?this.state.yCalloutValue:this.state.hoverValue,color:this.state.lineColor,culture:this.props.culture}))))},n.prototype._refCallback=function(t,n){this._refArray.push({index:n,refElement:t})},n.prototype._hoverOn=function(t,n){if((!this.state.isCalloutVisible||this.state.legend!==n.legend)&&this._calloutAnchorPoint!==n){var i=b(this._refArray,(function(t){return t.index===n.legend}));this._calloutAnchorPoint=n,this.setState({isCalloutVisible:!0,hoverValue:t,lineColor:n.color,legend:n.legend,refSelected:i.refElement,xCalloutValue:n.xAxisCalloutData,yCalloutValue:n.yAxisCalloutData,barCalloutProps:n,callOutAccessibilityData:n.callOutAccessibilityData})}},n.prototype._hoverOff=function(){},n.prototype._getDefaultTextData=function(t){var n=this.props.culture,i=this.props.chartDataMode||"default",e=t.chartData[0],r=e.horizontalBarChartdata.x,u=e.horizontalBarChartdata.y,s=Ms(t.chartDataAccessibilityData,"text",!1);switch(i){case"default":return a.createElement("div",(0,o.Cl)({className:this._classNames.chartTitleRight},s),(0,Jn.U)(r,n));case"fraction":return a.createElement("div",(0,o.Cl)({},s),a.createElement("span",{className:this._classNames.chartTitleRight},(0,Jn.U)(r,n)),a.createElement("span",{className:this._classNames.chartDataTextDenominator}," / "+(0,Jn.U)(u,n)));case"percentage":var l="".concat((0,Jn.U)(Math.round(r/u*100),n),"%");return a.createElement("div",(0,o.Cl)({className:this._classNames.chartTitleRight},s),l)}},n.prototype._createBenchmark=function(t){var n=t.chartData[0].horizontalBarChartdata.y,i=t.chartData[0].data,e={left:"calc("+Math.round((i||0)/n*100)+"% - 4px)"};return a.createElement("div",{className:this._classNames.benchmarkContainer},a.createElement("div",{className:this._classNames.triangle,style:e}))},n.prototype._createBars=function(t,n){var i,e=this,r=(null===(i=t.chartData)||void 0===i?void 0:i.reduce((function(t,n){return t+((n.data||0)>0?1:0)}),0))||1,o=this.state.barSpacingInPercent*(r-1),u=[n.blueLight,n.blue,n.blueMid,n.red,n.black],s=[],l=t.chartData.reduce((function(t,n){return t+(n.horizontalBarChartdata.x?n.horizontalBarChartdata.x:0)}),0),c=0,f=0,h=0;t.chartData.map((function(t,n){var i=t.horizontalBarChartdata.x?t.horizontalBarChartdata.x:0;return(f=i/l*100)<0?f=0:f<1&&0!==f&&(f=1),h+=f}));var d=0!==h?(h-o)/100:1,p=t.chartData.map((function(n,i){var r=n.color?n.color:u[Math.floor(4*Math.random()+1)],o=n.horizontalBarChartdata.x?n.horizontalBarChartdata.x:0;i>0&&(c+=f),(f=o/l*100)<0?f=0:f<1&&0!==f?f=1/d:f/=d,s.push(c);var h=n.horizontalBarChartdata.x;if(1===i&&e.props.variant===v.AbsoluteScale){if(e.props.hideLabels)return a.createElement("text",{key:i});var p=t.chartData[0].horizontalBarChartdata.x;return a.createElement("text",{key:i,x:"".concat(e._isRTL?100-s[i]:s[i],"%"),y:e._barHeight/2,dominantBaseline:"central",transform:"translate(".concat(e._isRTL?-4:4,")"),className:e._classNames.barLabel,"aria-hidden":!0},ks(p))}return a.createElement("rect",{key:i,x:"".concat(e._isRTL?100-s[i]-f-i*e.state.barSpacingInPercent:s[i]+i*e.state.barSpacingInPercent,"%"),y:0,"data-is-focusable":""!==n.legend,width:f+"%",height:e._barHeight,fill:r,onMouseOver:""!==n.legend?e._hoverOn.bind(e,h,n):void 0,onFocus:""!==n.legend?e._hoverOn.bind(e,h,n):void 0,role:"img","aria-label":e._getAriaLabel(n),onBlur:e._hoverOff,onMouseLeave:e._hoverOff,className:e._classNames.barWrapper})}));return p},n.prototype._isChartEmpty=function(){return!(this.props.data&&this.props.data.length>0)},n}(a.Component),vl=(0,r.I)(dl,(function(t){var n=t.className,i=t.theme,e=t.width,r=t.barHeight,a=t.showTriangle,u=t.variant,s=t.hideLabels,l=i.palette;return{root:[{display:"flex",flexDirection:"column",width:e||"100%"},n],items:{marginBottom:a||u===v.AbsoluteScale?"16px":"10px"},chart:{width:"100%",height:r||12,display:"block",overflow:"visible"},barWrapper:{},chartTitle:(0,o.Cl)((0,o.Cl)({},i.fonts.small),{display:"flex",justifyContent:"space-between"}),chartTitleLeft:{textOverflow:"ellipsis",overflow:"hidden",whiteSpace:"nowrap",display:"block",color:i.palette.neutralPrimary,marginBottom:u===v.AbsoluteScale?"4px":"5px"},chartTitleRight:{fontSize:Xt.s.medium,fontWeight:Xt.BO.semibold,color:i.palette.neutralPrimary},chartDataTextDenominator:{fontSize:Xt.s.medium,color:i.palette.neutralPrimary},benchmarkContainer:{position:"relative",height:"7px",marginTop:"-3px",marginBottom:"-1px"},triangle:{width:"0",height:"0",borderLeft:"4px solid transparent",borderRight:"4px solid transparent",borderTop:"7px solid",borderTopColor:l.blue,marginBottom:"4px",position:"absolute"},barLabel:(0,o.Cl)((0,o.Cl)({},i.fonts.small),{fontWeight:Xt.BO.semibold,fill:i.palette.neutralPrimary}),chartWrapper:{paddingRight:u!==v.AbsoluteScale||s?0:40}}})),pl={host:"ms-HoverCard-host"},gl=function(){function t(n){this._id=t._uniqueId++,this._parent=n,this._eventRecords=[]}return t.raise=function(n,i,e,r,o){var a,u=null!=o?o:(0,k.Y)();if(t._isElement(n)){if(void 0!==u&&u.createEvent){var s=u.createEvent("HTMLEvents");s.initEvent(i,r||!1,!0),Z(s,e),a=n.dispatchEvent(s)}else if(void 0!==u&&u.createEventObject){var l=u.createEventObject(e);n.fireEvent("on"+i,l)}}else for(;n&&!1!==a;){var c=n.__events__,f=c?c[i]:null;if(f)for(var h in f)if(f.hasOwnProperty(h))for(var d=f[h],v=0;!1!==a&&v<d.length;v++){var p=d[v];p.objectCallback&&(a=p.objectCallback.call(p.parent,e))}n=r?n.parent:null}return a},t.isObserved=function(t,n){var i=t&&t.__events__;return!!i&&!!i[n]},t.isDeclared=function(t,n){var i=t&&t.__declaredEvents;return!!i&&!!i[n]},t.stopPropagation=function(t){t.stopPropagation?t.stopPropagation():t.cancelBubble=!0},t._isElement=function(t){return!!t&&(!!t.addEventListener||"undefined"!=typeof HTMLElement&&t instanceof HTMLElement)},t.prototype.dispose=function(){this._isDisposed||(this._isDisposed=!0,this.off(),this._parent=null)},t.prototype.onAll=function(t,n,i){for(var e in n)n.hasOwnProperty(e)&&this.on(t,e,n[e],i)},t.prototype.on=function(n,i,e,r){var o=this;if(i.indexOf(",")>-1)for(var a=i.split(/[ ,]+/),u=0;u<a.length;u++)this.on(n,a[u],e,r);else{var s=this._parent,l={target:n,eventName:i,parent:s,callback:e,options:r};if((a=n.__events__=n.__events__||{})[i]=a[i]||{count:0},a[i][this._id]=a[i][this._id]||[],a[i][this._id].push(l),a[i].count++,t._isElement(n)){var c=function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];if(!o._isDisposed){var i;try{if(!1===(i=e.apply(s,t))&&t[0]){var r=t[0];r.preventDefault&&r.preventDefault(),r.stopPropagation&&r.stopPropagation(),r.cancelBubble=!0}}catch(r){}return i}};l.elementCallback=c,n.addEventListener?n.addEventListener(i,c,r):n.attachEvent&&n.attachEvent("on"+i,c)}else l.objectCallback=function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];if(!o._isDisposed)return e.apply(s,t)};this._eventRecords.push(l)}},t.prototype.off=function(t,n,i,e){for(var r=0;r<this._eventRecords.length;r++){var o=this._eventRecords[r];if(!(t&&t!==o.target||n&&n!==o.eventName||i&&i!==o.callback||"boolean"==typeof e&&e!==o.options)){var a=o.target.__events__,u=a[o.eventName],s=u?u[this._id]:null;s&&(1!==s.length&&i?(u.count--,s.splice(s.indexOf(o),1)):(u.count-=s.length,delete a[o.eventName][this._id]),u.count||delete a[o.eventName]),o.elementCallback&&(o.target.removeEventListener?o.target.removeEventListener(o.eventName,o.elementCallback,o.options):o.target.detachEvent&&o.target.detachEvent("on"+o.eventName,o.elementCallback)),this._eventRecords.splice(r--,1)}}},t.prototype.raise=function(n,i,e){return t.raise(this._parent,n,i,e)},t.prototype.declare=function(t){var n=this._parent.__declaredEvents=this._parent.__declaredEvents||{};if("string"==typeof t)n[t]=!0;else for(var i=0;i<t.length;i++)n[t[i]]=!0},t._uniqueId=0,t}();!function(t){t[t.hover=0]="hover",t[t.hotKey=1]="hotKey"}(ol||(ol={})),function(t){t.plain="PlainCard",t.expanding="ExpandingCard"}(al||(al={}));var ml,yl={root:"ms-ExpandingCard-root",compactCard:"ms-ExpandingCard-compactCard",expandedCard:"ms-ExpandingCard-expandedCard",expandedCardScroll:"ms-ExpandingCard-expandedCardScrollRegion"};!function(t){t[t.compact=0]="compact",t[t.expanded=1]="expanded"}(ml||(ml={}));var bl=function(t){for(var n=t.activeElement;null==n?void 0:n.shadowRoot;)n=n.shadowRoot.activeElement;return n},xl=function(t){var n=t.target;return n&&n.shadowRoot&&(n=t.composedPath()[0]),n};function wl(t,n){var i=a.useRef(n);return i.current||(i.current=g(t)),i.current}function Ml(t){var n=a.useRef((function(){throw new Error("Cannot call an event handler while rendering")}));return Bn((function(){n.current=t}),[t]),qt((function(){return function(){for(var t=[],i=0;i<arguments.length;i++)t[i]=arguments[i];return n.current.apply(void 0,t)}}))}var Cl={disabled:!1,disableFirstFocus:!1,forceFocusInsideTrap:!0,isClickableOutsideFocusTrap:!1,"data-tabster":'{"uncontrolled": {"completely": true}}'},kl=a.forwardRef((function(t,n){var i,e,r,u=a.useRef(null),s=a.useRef(null),l=a.useRef(null),c=It(u,n),f=zt(),h=Ut(),d=!!a.useContext(Is),v=null===(i=zn(!1))||void 0===i||i,p=W(Cl,t),g=qt({hasFocus:!1,focusStackId:wl("ftz-",p.id)}),m=p.children,y=p.componentRef,b=p.disabled,x=p.disableFirstFocus,w=p.forceFocusInsideTrap,M=p.focusPreviouslyFocusedInnerElement,k=p.firstFocusableSelector,S=p.firstFocusableTarget,L=p.disableRestoreFocus,V=void 0===L?p.ignoreExternalFocusing:L,A=p.isClickableOutsideFocusTrap,N=p.enableAriaHiddenSiblings,O={"aria-hidden":!0,style:{pointerEvents:"none",position:"fixed"},tabIndex:b?-1:0,"data-is-visible":!0,"data-is-focus-trap-zone-bumper":!0},P=a.useCallback((function(t){t!==s.current&&t!==l.current&&_(t)}),[]),E=Ml((function(){if(u.current){var t=g.previouslyFocusedElementInTrapZone;if(M&&t&&C(u.current,t))P(t);else{var n=null;if("string"==typeof S)n=u.current.querySelector(S);else if(S)n=S(u.current);else if(k){var i="string"==typeof k?k:k();n=u.current.querySelector("."+i)}n||(n=T(u.current,u.current.firstChild,!1,!1,!1,!0,void 0,void 0,void 0,d)),n&&P(n)}}})),F=function(t){if(!b&&u.current){var n,i=t===g.hasFocus?(void 0===(n=!1)&&(n=!0),D(u.current,l.current,n,!1,!0,!0,!1,!0,d)):function(t,n,i,e,r){return void 0===e&&(e=!0),T(t,n,e,!1,!1,!0,!1,!0,void 0,r)}(u.current,s.current,0,!1,d);i&&(i===s.current||i===l.current?E():i.focus())}},B=Ml((function(t){if(kl.focusStack=kl.focusStack.filter((function(t){return g.focusStackId!==t})),f){var n=f.activeElement;V||"function"!=typeof(null==t?void 0:t.focus)||!C(u.current,n)&&n!==f.body&&!n.shadowRoot||P(t)}})),H=Ml((function(t){if(!b&&g.focusStackId===kl.focusStack.slice(-1)[0]){var n=xl(t);n&&!C(u.current,n)&&(f&&bl(f)===f.body?setTimeout((function(){f&&bl(f)===f.body&&(E(),g.hasFocus=!0)}),0):(E(),g.hasFocus=!0),t.preventDefault(),t.stopPropagation())}}));return a.useEffect((function(){var t=[];return w&&t.push(I(h,"focus",H,!0)),A||t.push(I(h,"click",H,!0)),function(){t.forEach((function(t){return t()}))}}),[w,A,h]),a.useEffect((function(){if(!b&&(v||w)&&u.current){kl.focusStack.push(g.focusStackId);var t=p.elementToFocusOnDismiss||bl(f);return x||C(u.current,t)||E(),function(){return B(t)}}}),[w,b]),a.useEffect((function(){if(!b&&N)return Et(u.current)}),[b,N,u]),e=function(){delete g.previouslyFocusedElementInTrapZone},(r=a.useRef(e)).current=e,a.useEffect((function(){return function(){var t;null===(t=r.current)||void 0===t||t.call(r)}}),[]),function(t,n,i){a.useImperativeHandle(t,(function(){return{get previouslyFocusedElement(){return n},focus:i}}),[i,n])}(y,g.previouslyFocusedElementInTrapZone,E),a.createElement("div",(0,o.Cl)({"aria-labelledby":p.ariaLabelledBy},U(p,$),{ref:c,onFocusCapture:function(t){var n;null===(n=p.onFocusCapture)||void 0===n||n.call(p,t),t.target===s.current?F(!0):t.target===l.current&&F(!1),g.hasFocus=!0,t.target!==t.currentTarget&&t.target!==s.current&&t.target!==l.current&&(g.previouslyFocusedElementInTrapZone=xl(t.nativeEvent))},onBlurCapture:function(t){var n;null===(n=p.onBlurCapture)||void 0===n||n.call(p,t);var i=t.relatedTarget;null===t.relatedTarget&&(i=bl(f)),C(u.current,i)||(g.hasFocus=!1)}}),a.createElement("div",(0,o.Cl)({},O,{ref:s})),m,a.createElement("div",(0,o.Cl)({},O,{ref:l})))}));kl.displayName="FocusTrapZone",kl.focusStack=[];var Sl,Ll=function(t){return a.createElement(Kn,(0,o.Cl)({},t),a.createElement(kl,(0,o.Cl)({disabled:t.hidden},t.focusTrapProps),t.children))},Vl=function(t){var n=t.gapSpace,i=void 0===n?0:n,e=t.directionalHint,r=void 0===e?x.bottomLeftEdge:e,u=t.directionalHintFixed,s=t.targetElement,l=t.firstFocus,c=t.trapFocus,f=t.onLeave,h=t.className,d=t.finalHeight,v=t.content,p=t.calloutProps,g=(0,o.Cl)((0,o.Cl)((0,o.Cl)({},U(t,$)),{className:h,target:s,isBeakVisible:!1,directionalHint:r,directionalHintFixed:u,finalHeight:d,minPagePadding:24,onDismiss:f,gapSpace:i}),p);return a.createElement(a.Fragment,null,c?a.createElement(Ll,(0,o.Cl)({},g,{focusTrapProps:{forceFocusInsideTrap:!1,isClickableOutsideFocusTrap:!0,disableFirstFocus:!l}}),v):a.createElement(Kn,(0,o.Cl)({},g),v))},Al=(0,u.Z)(),Nl=function(t){function n(n){var i=t.call(this,n)||this;return i._expandedElem=a.createRef(),i._onKeyDown=function(t){t.which===Ft&&i.props.onLeave&&i.props.onLeave(t)},i._onRenderCompactCard=function(){return a.createElement("div",{className:i._classNames.compactCard},i.props.onRenderCompactCard(i.props.renderData))},i._onRenderExpandedCard=function(){return!i.state.firstFrameRendered&&i._async.requestAnimationFrame((function(){i.setState({firstFrameRendered:!0})})),a.createElement("div",{className:i._classNames.expandedCard,ref:i._expandedElem},a.createElement("div",{className:i._classNames.expandedCardScroll},i.props.onRenderExpandedCard&&i.props.onRenderExpandedCard(i.props.renderData)))},i._checkNeedsScroll=function(){var t=i.props.expandedCardHeight;i._async.requestAnimationFrame((function(){i._expandedElem.current&&i._expandedElem.current.scrollHeight>=t&&i.setState({needsScroll:!0})}))},i._async=new Bt(i),Os(i),i.state={firstFrameRendered:!1,needsScroll:!1},i}return(0,o.C6)(n,t),n.prototype.componentDidMount=function(){this._checkNeedsScroll()},n.prototype.componentWillUnmount=function(){this._async.dispose()},n.prototype.render=function(){var t,n,i=(t=this.props).styles,e=t.compactCardHeight,r=t.expandedCardHeight,u=t.theme,s=t.mode,l=t.className,c=(n=this.state).needsScroll,f=n.firstFrameRendered,h=e+r;this._classNames=Al(i,{theme:u,compactCardHeight:e,className:l,expandedCardHeight:r,needsScroll:c,expandedCardFirstFrameRendered:s===ml.expanded&&f});var d=a.createElement("div",{onMouseEnter:this.props.onEnter,onMouseLeave:this.props.onLeave,onKeyDown:this._onKeyDown},this._onRenderCompactCard(),this._onRenderExpandedCard());return a.createElement(Vl,(0,o.Cl)({},this.props,{content:d,finalHeight:h,className:this._classNames.root}))},n.defaultProps={compactCardHeight:156,expandedCardHeight:384,directionalHintFixed:!0},n}(a.Component),Dl=(0,r.I)(Nl,(function(t){var n,i=t.theme,e=t.needsScroll,r=t.expandedCardFirstFrameRendered,o=t.compactCardHeight,a=t.expandedCardHeight,u=t.className,s=i.palette,l=(0,Xt.Km)(yl,i);return{root:[l.root,{width:320,pointerEvents:"none",selectors:(n={},n[Xt.up]={border:"1px solid WindowText"},n)},u],compactCard:[l.compactCard,{pointerEvents:"auto",position:"relative",height:o}],expandedCard:[l.expandedCard,{height:1,overflowY:"hidden",pointerEvents:"auto",transition:"height 0.467s cubic-bezier(0.5, 0, 0, 1)",selectors:{":before":{content:'""',position:"relative",display:"block",top:0,left:24,width:272,height:1,backgroundColor:s.neutralLighter}}},r&&{height:a}],expandedCardScroll:[l.expandedCardScroll,e&&{height:"100%",boxSizing:"border-box",overflowY:"auto"}]}}),void 0,{scope:"ExpandingCard"}),Tl={root:"ms-PlainCard-root"},Ol=(0,u.Z)(),Pl=function(t){function n(n){var i=t.call(this,n)||this;return i._onKeyDown=function(t){t.which===Ft&&i.props.onLeave&&i.props.onLeave(t)},Os(i),i}return(0,o.C6)(n,t),n.prototype.render=function(){var t=this.props,n=t.styles,i=t.theme,e=t.className;this._classNames=Ol(n,{theme:i,className:e});var r=a.createElement("div",{onMouseEnter:this.props.onEnter,onMouseLeave:this.props.onLeave,onKeyDown:this._onKeyDown},this.props.onRenderPlainCard(this.props.renderData));return a.createElement(Vl,(0,o.Cl)({},this.props,{content:r,className:this._classNames.root}))},n}(a.Component),El=(0,r.I)(Pl,(function(t){var n,i=t.theme,e=t.className;return{root:[(0,Xt.Km)(Tl,i).root,{pointerEvents:"auto",selectors:(n={},n[Xt.up]={border:"1px solid WindowText"},n)},e]}}),void 0,{scope:"PlainCard"}),Fl=(0,u.Z)(),Bl=function(t){function n(n){var i=t.call(this,n)||this;return i._hoverCard=a.createRef(),i.dismiss=function(t){i._async.clearTimeout(i._openTimerId),i._async.clearTimeout(i._dismissTimerId),t?i._dismissTimerId=i._async.setTimeout((function(){i._setDismissedState()}),i.props.cardDismissDelay):i._setDismissedState()},i._cardOpen=function(t){i._shouldBlockHoverCard()||"keydown"===t.type&&t.which!==i.props.openHotKey||(i._async.clearTimeout(i._dismissTimerId),"mouseenter"===t.type&&(i._currentMouseTarget=t.currentTarget),i._executeCardOpen(t))},i._executeCardOpen=function(t){i._async.clearTimeout(i._openTimerId),i._openTimerId=i._async.setTimeout((function(){i.setState((function(n){return n.isHoverCardVisible?n:{isHoverCardVisible:!0,mode:ml.compact,openMode:"keydown"===t.type?ol.hotKey:ol.hover}}))}),i.props.cardOpenDelay)},i._cardDismiss=function(t,n){if(t){if(!(n instanceof MouseEvent))return;if("keydown"===n.type&&n.which!==Ft)return;i.props.sticky||i._currentMouseTarget!==n.currentTarget&&n.which!==Ft||i.dismiss(!0)}else{if(i.props.sticky&&!(n instanceof MouseEvent)&&n.nativeEvent instanceof MouseEvent&&"mouseleave"===n.type)return;i.dismiss(!0)}},i._setDismissedState=function(){i.setState({isHoverCardVisible:!1,mode:ml.compact,openMode:ol.hover})},i._instantOpenAsExpanded=function(t){i._async.clearTimeout(i._dismissTimerId),i.setState((function(t){return t.isHoverCardVisible?t:{isHoverCardVisible:!0,mode:ml.expanded}}))},i._setEventListeners=function(){var t,n=(t=i.props).trapFocus,e=t.instantOpenOnClick,r=t.eventListenerTarget,o=r?i._getTargetElement(r):i._getTargetElement(i.props.target),a=i._nativeDismissEvent;o&&(i._events.on(o,"mouseenter",i._cardOpen),i._events.on(o,"mouseleave",a),n?i._events.on(o,"keydown",i._cardOpen):(i._events.on(o,"focus",i._cardOpen),i._events.on(o,"blur",a)),e?i._events.on(o,"click",i._instantOpenAsExpanded):(i._events.on(o,"mousedown",a),i._events.on(o,"keydown",a)))},Os(i),i._async=new Bt(i),i._events=new gl(i),i._nativeDismissEvent=i._cardDismiss.bind(i,!0),i._childDismissEvent=i._cardDismiss.bind(i,!1),i.state={isHoverCardVisible:!1,mode:ml.compact,openMode:ol.hover},i}return(0,o.C6)(n,t),n.prototype.componentDidMount=function(){this._setEventListeners()},n.prototype.componentWillUnmount=function(){this._async.dispose(),this._events.dispose()},n.prototype.componentDidUpdate=function(t,n){var i=this;t.target!==this.props.target&&(this._events.off(),this._setEventListeners()),n.isHoverCardVisible!==this.state.isHoverCardVisible&&(this.state.isHoverCardVisible?(this._async.setTimeout((function(){i.setState({mode:ml.expanded},(function(){i.props.onCardExpand&&i.props.onCardExpand()}))}),this.props.expandedCardOpenDelay),this.props.onCardVisible&&this.props.onCardVisible()):(this.setState({mode:ml.compact}),this.props.onCardHide&&this.props.onCardHide()))},n.prototype.render=function(){var t,n,i,e=(t=this.props).expandingCardProps,r=t.children,u=t.id,s=void 0===(n=t.setAriaDescribedBy)||n,l=t.styles,c=t.theme,f=t.className,h=t.type,d=t.plainCardProps,v=t.trapFocus,p=t.setInitialFocus,m=(i=this.state).isHoverCardVisible,y=i.mode,b=i.openMode,x=u||g("hoverCard");this._classNames=Fl(l,{theme:c,className:f});var w=(0,o.Cl)((0,o.Cl)({},U(this.props,$)),{id:x,trapFocus:!!v,firstFocus:p||b===ol.hotKey,targetElement:this._getTargetElement(this.props.target),onEnter:this._cardOpen,onLeave:this._childDismissEvent}),M=(0,o.Cl)((0,o.Cl)((0,o.Cl)({},e),w),{mode:y}),C=(0,o.Cl)((0,o.Cl)({},d),w);return a.createElement("div",{className:this._classNames.host,ref:this._hoverCard,"aria-describedby":s&&m?x:void 0,"data-is-focusable":!this.props.target},r,m&&(h===al.expanding?a.createElement(Dl,(0,o.Cl)({},M)):a.createElement(El,(0,o.Cl)({},C))))},n.prototype._getTargetElement=function(t){switch(typeof t){case"string":return(0,k.Y)().querySelector(t);case"object":return t;default:return this._hoverCard.current||void 0}},n.prototype._shouldBlockHoverCard=function(){return!(!this.props.shouldBlockHoverCard||!this.props.shouldBlockHoverCard())},n.defaultProps={cardOpenDelay:500,cardDismissDelay:100,expandedCardOpenDelay:1500,instantOpenOnClick:!1,setInitialFocus:!1,openHotKey:67,type:al.expanding},n}(a.Component),Hl=(0,r.I)(Bl,(function(t){var n=t.className,i=t.theme;return{host:[(0,Xt.Km)(pl,i).host,n]}}),void 0,{scope:"HoverCard"});!function(t){t[t.horizontal=0]="horizontal",t[t.vertical=1]="vertical"}(Sl||(Sl={}));var _l=function(t){var n;void 0===t&&(n={},t={getCachedMeasurement:function(t){if(t&&t.cacheKey&&n.hasOwnProperty(t.cacheKey))return n[t.cacheKey]},addMeasurementToCache:function(t,i){t.cacheKey&&(n[t.cacheKey]=i)}});var i,e=t;function r(t,n){var i=e.getCachedMeasurement(t);if(void 0!==i)return i;var r=n();return e.addMeasurementToCache(t,r),r}function a(t,n,o){for(var a=t,u=r(t,o);u>i;){var s=n(a);if(void 0===s)return{renderedData:a,resizeDirection:void 0,dataToMeasure:void 0};if(void 0===(u=e.getCachedMeasurement(s)))return{dataToMeasure:s,resizeDirection:"shrink"};a=s}return{renderedData:a,resizeDirection:void 0,dataToMeasure:void 0}}return{getNextState:function(t,n,u,s){if(void 0!==s||void 0!==n.dataToMeasure){if(s){if(i&&n.renderedData&&!n.dataToMeasure)return(0,o.Cl)((0,o.Cl)({},n),function(t,n,e,r){var a;return a=t>i?r?{resizeDirection:"grow",dataToMeasure:r(e)}:{resizeDirection:"shrink",dataToMeasure:n}:{resizeDirection:"shrink",dataToMeasure:e},i=t,(0,o.Cl)((0,o.Cl)({},a),{measureContainer:!1})}(s,t.data,n.renderedData,t.onGrowData));i=s}var l=(0,o.Cl)((0,o.Cl)({},n),{measureContainer:!1});return n.dataToMeasure&&(l="grow"===n.resizeDirection&&t.onGrowData?(0,o.Cl)((0,o.Cl)({},l),function(t,n,u,s){for(var l=t,c=r(t,u);c<i;){var f=n(l);if(void 0===f)return{renderedData:l,resizeDirection:void 0,dataToMeasure:void 0};if(void 0===(c=e.getCachedMeasurement(f)))return{dataToMeasure:f};l=f}return(0,o.Cl)({resizeDirection:"shrink"},a(l,s,u))}(n.dataToMeasure,t.onGrowData,u,t.onReduceData)):(0,o.Cl)((0,o.Cl)({},l),a(n.dataToMeasure,t.onReduceData,u))),l}},shouldRenderDataForMeasurement:function(t){return!(!t||void 0!==e.getCachedMeasurement(t))},getInitialResizeGroupState:function(t){return{dataToMeasure:(0,o.Cl)({},t),resizeDirection:"grow",measureContainer:!0}}}},Il=a.createContext({isMeasured:!1}),Wl={position:"fixed",visibility:"hidden"},Rl={position:"relative"};function zl(t,n){var i;switch(n.type){case"resizeData":return(0,o.Cl)({},n.value);case"dataToMeasure":return(0,o.Cl)((0,o.Cl)({},t),{dataToMeasure:n.value,resizeDirection:"grow",measureContainer:!0});default:return(0,o.Cl)((0,o.Cl)({},t),((i={})[n.type]=n.value,i))}}var Yl={isMeasured:!0},jl=a.forwardRef((function(t,n){var i=a.useRef(null),e=It(i,n),r=function(t,n){var i=qt(_l),e=a.useRef(null),r=a.useRef(null),u=a.useRef(!1),s=Ht(),l=function(t,n,i){var e=qt((function(){return n.getInitialResizeGroupState(t.data)})),r=a.useReducer(zl,e),u=r[0],s=r[1];a.useEffect((function(){s({type:"dataToMeasure",value:t.data})}),[t.data]);var l=a.useRef(e);return l.current=(0,o.Cl)({},u),[l,a.useCallback((function(t){t&&s({type:"resizeData",value:t})}),[]),a.useCallback((function(){i.current&&s({type:"measureContainer",value:!0})}),[i])]}(t,i,n),c=l[0],f=l[1],h=l[2];a.useEffect((function(){var n;c.current.renderedData&&(u.current=!0,null===(n=t.dataDidRender)||void 0===n||n.call(t,c.current.renderedData))})),a.useEffect((function(){s.requestAnimationFrame((function(){var o=void 0;if(c.current.measureContainer&&n.current){var a=n.current.getBoundingClientRect();o=t.direction===Sl.vertical?a.height:a.width}var s=i.getNextState(t,c.current,(function(){var n=u.current?r:e;if(!n.current)return 0;var i=n.current.getBoundingClientRect();return t.direction===Sl.vertical?i.height:i.width}),o);f(s)}),n.current)})),_t(Rt(),"resize",s.debounce(h,16,{leading:!0}));var d=i.shouldRenderDataForMeasurement(c.current.dataToMeasure),v=!u.current&&d;return[c.current.dataToMeasure,c.current.renderedData,h,e,r,d,v]}(t,i),u=r[0],s=r[1],l=r[2],c=r[3],f=r[4],h=r[5],d=r[6];a.useImperativeHandle(t.componentRef,(function(){return{remeasure:l}}),[l]),function(t){jn({name:"ResizeGroup",props:t,deprecations:{styles:"className"}})}(t);var v=t.className,p=t.onRenderData,g=U(t,$,["data"]);return a.createElement("div",(0,o.Cl)({},g,{className:v,ref:e}),a.createElement("div",{style:Rl},h&&!d&&a.createElement("div",{style:Wl,ref:f},a.createElement(Il.Provider,{value:Yl},p(u))),a.createElement("div",{ref:c,style:d?Wl:void 0,"data-automation-id":"visibleContent"},d?p(u):s&&p(s))))}));jl.displayName="ResizeGroupBase";var Xl,ql=jl;!function(t){t.KEYTIP_ADDED="keytipAdded",t.KEYTIP_REMOVED="keytipRemoved",t.KEYTIP_UPDATED="keytipUpdated",t.PERSISTED_KEYTIP_ADDED="persistedKeytipAdded",t.PERSISTED_KEYTIP_REMOVED="persistedKeytipRemoved",t.PERSISTED_KEYTIP_EXECUTE="persistedKeytipExecute",t.ENTER_KEYTIP_MODE="enterKeytipMode",t.EXIT_KEYTIP_MODE="exitKeytipMode"}(Xl||(Xl={}));var $l=function(){function t(){this.keytips={},this.persistedKeytips={},this.sequenceMapping={},this.inKeytipMode=!1,this.shouldEnterKeytipMode=!0,this.delayUpdatingKeytipChange=!1}return t.getInstance=function(){return this._instance},t.prototype.init=function(t){this.delayUpdatingKeytipChange=t},t.prototype.register=function(t,n){void 0===n&&(n=!1);var i=t;n||(i=this.addParentOverflow(t),this.sequenceMapping[i.keySequences.toString()]=i);var e=this._getUniqueKtp(i);if(n?this.persistedKeytips[e.uniqueID]=e:this.keytips[e.uniqueID]=e,this.inKeytipMode||!this.delayUpdatingKeytipChange){var r=n?Xl.PERSISTED_KEYTIP_ADDED:Xl.KEYTIP_ADDED;gl.raise(this,r,{keytip:i,uniqueID:e.uniqueID})}return e.uniqueID},t.prototype.update=function(t,n){var i=this.addParentOverflow(t),e=this._getUniqueKtp(i,n),r=this.keytips[n];r&&(e.keytip.visible=r.keytip.visible,this.keytips[n]=e,delete this.sequenceMapping[r.keytip.keySequences.toString()],this.sequenceMapping[e.keytip.keySequences.toString()]=e.keytip,!this.inKeytipMode&&this.delayUpdatingKeytipChange||gl.raise(this,Xl.KEYTIP_UPDATED,{keytip:e.keytip,uniqueID:e.uniqueID}))},t.prototype.unregister=function(t,n,i){void 0===i&&(i=!1),i?delete this.persistedKeytips[n]:delete this.keytips[n],!i&&delete this.sequenceMapping[t.keySequences.toString()];var e=i?Xl.PERSISTED_KEYTIP_REMOVED:Xl.KEYTIP_REMOVED;!this.inKeytipMode&&this.delayUpdatingKeytipChange||gl.raise(this,e,{keytip:t,uniqueID:n})},t.prototype.enterKeytipMode=function(){gl.raise(this,Xl.ENTER_KEYTIP_MODE)},t.prototype.exitKeytipMode=function(){gl.raise(this,Xl.EXIT_KEYTIP_MODE)},t.prototype.getKeytips=function(){var t=this;return Object.keys(this.keytips).map((function(n){return t.keytips[n].keytip}))},t.prototype.addParentOverflow=function(t){var n=(0,o.fX)([],t.keySequences,!0);if(n.pop(),0!==n.length){var i=this.sequenceMapping[n.toString()];if(i&&i.overflowSetSequence)return(0,o.Cl)((0,o.Cl)({},t),{overflowSetSequence:i.overflowSetSequence})}return t},t.prototype.menuExecute=function(t,n){gl.raise(this,Xl.PERSISTED_KEYTIP_EXECUTE,{overflowButtonSequences:t,keytipSequences:n})},t.prototype._getUniqueKtp=function(t,n){return void 0===n&&(n=g()),{keytip:(0,o.Cl)({},t),uniqueID:n}},t._instance=new t,t}(),Ul=function(t,n,i){for(var e=0,r=t;e<r.length;e++){var o=r[e];i[n.register(o,!0)]=o}},Gl=function(t,n){for(var i=0,e=Object.keys(n);i<e.length;i++){var r=e[i];t.unregister(n[r],r,!0),delete n[r]}},Zl=function(t){var n=$l.getInstance(),i=t.className,e=t.overflowItems,r=t.keytipSequences,u=t.itemSubMenuProvider,s=t.onRenderOverflowButton,l=qt({}),c=a.useCallback((function(t){return u?u(t):t.subMenuProps?t.subMenuProps.items:void 0}),[u]),f=a.useMemo((function(){var t=[],i=[];return r?null==e||e.forEach((function(e){var a,u=e.keytipProps;if(u){var s={content:u.content,keySequences:u.keySequences,disabled:u.disabled||!(!e.disabled&&!e.isDisabled),hasDynamicChildren:u.hasDynamicChildren,hasMenu:u.hasMenu};u.hasDynamicChildren||c(e)?(s.onExecute=n.menuExecute.bind(n,r,null===(a=null==e?void 0:e.keytipProps)||void 0===a?void 0:a.keySequences),s.hasOverflowSubMenu=!0):s.onExecute=u.onExecute,t.push(s);var l=(0,o.Cl)((0,o.Cl)({},e),{keytipProps:(0,o.Cl)((0,o.Cl)({},u),{overflowSetSequence:r})});null==i||i.push(l)}else null==i||i.push(e)})):i=e,{modifiedOverflowItems:i,keytipsToRegister:t}}),[e,c,n,r]),h=f.modifiedOverflowItems;return function(t,n,i){var e=zn(t);a.useEffect((function(){e&&(Gl(i,e),Ul(n,i,t))})),a.useEffect((function(){return Ul(n,i,t),function(){Gl(i,t)}}),[])}(l,f.keytipsToRegister,n),a.createElement("div",{className:i},s(h))},Kl=(0,u.Z)(),Jl=a.forwardRef((function(t,n){var i=a.useRef(null),e=It(i,n);!function(t,n){var i=function(){var t;return null!==(t=zt())&&void 0!==t?t:"undefined"!=typeof document?document:void 0}();a.useImperativeHandle(t.componentRef,(function(){return{focus:function(t,i){var e=!1;return n.current&&(e=N(n.current,i)),e},focusElement:function(t){var e=!1;return!!t&&(n.current&&C(n.current,t)&&(t.focus(),e=(null==i?void 0:i.activeElement)===t),e)}}}),[n,i])}(t,i);var r=t.items,u=t.overflowItems,s=t.className,l=t.styles,c=t.vertical,f=t.role,h=t.overflowSide,d=void 0===h?"end":h,v=t.onRenderItem,p=Kl(l,{className:s,vertical:c}),g=!!u&&u.length>0;return a.createElement("div",(0,o.Cl)({},U(t,$),{role:f||"group","aria-orientation":"menubar"===f?!0===c?"vertical":"horizontal":void 0,className:p.root,ref:e}),"start"===d&&g&&a.createElement(Zl,(0,o.Cl)({},t,{className:p.overflowButton})),r&&r.map((function(t,n){return a.createElement("div",{className:p.item,key:t.key,role:"none"},v(t))})),"end"===d&&g&&a.createElement(Zl,(0,o.Cl)({},t,{className:p.overflowButton})))}));Jl.displayName="OverflowSet";var Ql,tc={flexShrink:0,display:"inherit"},nc=(0,r.I)(Jl,(function(t){var n=t.className;return{root:["ms-OverflowSet",{position:"relative",display:"flex",flexWrap:"nowrap"},t.vertical&&{flexDirection:"column"},n],item:["ms-OverflowSet-item",tc],overflowButton:["ms-OverflowSet-overflowButton",tc]}}),void 0,{scope:"OverflowSet"}),ic=((Ql={})["".concat(ys[ys.circle])]="M1 6 A5 5 0 1 0 12 6 M1 6 A5 5 0 0 1 12 6",Ql["".concat(ys[ys.square])]="M1 1 L12 1 L12 12 L1 12 L1 1 Z",Ql["".concat(ys[ys.triangle])]="M6 10L8.74228e-07 -1.04907e-06L12 0L6 10Z",Ql["".concat(ys[ys.pyramid])]="M6 10L8.74228e-07 -1.04907e-06L12 0L6 10Z",Ql["".concat(ys[ys.diamond])]="M2 2 L10 2 L10 10 L2 10 L2 2 Z",Ql["".concat(ys[ys.hexagon])]="M9 0H3L0 5L3 10H9L12 5L9 0Z",Ql["".concat(ys[ys.pentagon])]="M6.06061 0L0 4.21277L2.30303 11H9.69697L12 4.21277L6.06061 0Z",Ql["".concat(ys[ys.octagon])]="M7.08333 0H2.91667L0 2.91667V7.08333L2.91667 10H7.08333L10 7.08333V2.91667L7.08333 0Z",Ql["".concat(bs[bs.dottedLine])]="M0 6 H3 M5 6 H8 M10 6 H13",Ql),ec=function(t){var n=t.svgProps,i=t.pathProps,e=t.shape,r=t.classNameForNonSvg;return-1===Object.keys(ic).indexOf(e)?a.createElement("div",{className:r}):a.createElement("svg",(0,o.Cl)({width:14,height:14,viewBox:"-1 -1 14 14"},n,{transform:"rotate(".concat(e===ys[ys.diamond]?45:e===ys[ys.pyramid]?180:0,", 0, 0)")}),a.createElement("path",(0,o.Cl)({d:ic[e]},i)))},rc=(0,u.Z)(),oc=function(t){function n(n){var i,e,r=this;(r=t.call(this,n)||this)._isLegendSelected=!1,r._onRenderData=function(t){var n=r.props,i=n.overflowProps,e=n.allowFocusOnLegends,u=void 0===e||e,s=n.canSelectMultipleLegends,l=void 0!==s&&s,c={root:{justifyContent:r.props.centerLegends?"center":"unset",flexWrap:"wrap"}};return a.createElement(Qs,(0,o.Cl)({},u&&{role:"listbox","aria-label":"Legends","aria-multiselectable":l}),a.createElement(nc,(0,o.Cl)({items:t.primary,overflowItems:t.overflow,onRenderItem:r._renderButton,onRenderOverflowButton:r._renderOverflowItems},i,{styles:(0,o.Cl)((0,o.Cl)({},c),null==i?void 0:i.styles)})))},r._onReduceData=function(t){if(0!==t.primary.length){var n=(0,o.fX)((0,o.fX)([],t.primary.slice(-1),!0),t.overflow,!0);return{primary:t.primary.slice(0,-1),overflow:n}}},r._onGrowData=function(t){if(0!==t.overflow.length){var n=t.overflow.slice(1);return{primary:(0,o.fX)((0,o.fX)([],t.primary,!0),t.overflow.slice(0,1),!0),overflow:n}}},r._canSelectMultipleLegends=function(t){var n=(0,o.Cl)({},r.state.selectedLegends);return n[t.title]?delete n[t.title]:(n[t.title]=!0,Object.keys(n).length===r.props.legends.length&&(n={})),r.setState({selectedLegends:n}),n},r._canSelectOnlySingleLegend=function(t){var n;return r.state.selectedLegends[t.title]?(r.setState({selectedLegends:{}}),!1):(r.setState({selectedLegends:(n={},n[t.title]=!0,n)}),!0)},r._onClick=function(t,n){var i,e,o,a=r.props.canSelectMultipleLegends,u=[];if(void 0!==a&&a){var s=r._canSelectMultipleLegends(t);u=Object.keys(s)}else u=r._canSelectOnlySingleLegend(t)?[t.title]:[];null===(e=(i=r.props).onChange)||void 0===e||e.call(i,u,n,t),null===(o=t.action)||void 0===o||o.call(t)},r._onRenderCompactCard=function(t){var n=r.props,i=n.allowFocusOnLegends,e=void 0===i||i,u=n.className,s=n.styles,l=n.theme,c=n.canSelectMultipleLegends,f=void 0!==c&&c,h=[],d=rc(s,{theme:l,className:u});return t.renderData.forEach((function(t,n){var i=r._renderButton(t,n,!0);h.push(i)})),a.createElement(Qs,(0,o.Cl)({},e&&{role:"listbox","aria-label":"Legends","aria-multiselectable":f},{direction:Ss.vertical,handleTabKey:1,isCircularNavigation:!0},r.props.focusZonePropsInHoverCard,{className:d.hoverCardRoot}),h)},r._renderOverflowItems=function(t){var n=r.props.allowFocusOnLegends,i=void 0===n||n,e=[];t.forEach((function(t,n){e.push({key:n.toString(),name:t.title,onClick:t.action})}));var u={renderData:t},s=r.props,l=s.theme,c=s.className,f=s.styles,h=s.overflowText,d=rc(f,{theme:l,className:c}),v={onRenderPlainCard:r._onRenderCompactCard,renderData:u},p=h||"more";return a.createElement(Hl,{type:al.plain,plainCardProps:v,instantOpenOnClick:!0,onCardHide:function(){r.setState({isHoverCardVisible:!1});var n=b(t,(function(t){return t.title===r.state.activeLegend}));n&&(r.setState({activeLegend:""}),n.onMouseOutAction&&n.onMouseOutAction())},setInitialFocus:!0,trapFocus:!0,onCardVisible:r._hoverCardVisible,styles:d.subComponentStyles.hoverCardStyles,cardDismissDelay:300,target:r._hoverCardRef},a.createElement("div",{role:"option"},a.createElement("div",(0,o.Cl)({className:d.overflowIndicationTextStyle,ref:function(t){return r._hoverCardRef=t}},i&&{role:"button","aria-expanded":r.state.isHoverCardVisible,"aria-label":"".concat(e.length," ").concat(p)},{"data-is-focusable":i}),e.length," ",p)))},r._hoverCardVisible=function(){r.setState({isHoverCardVisible:!0})},r._onHoverOverLegend=function(t){t.hoverAction&&(r.setState({activeLegend:t.title}),t.hoverAction())},r._onLeave=function(t){t.onMouseOutAction&&(r.setState({activeLegend:""}),t.onMouseOutAction())},r._renderButton=function(t,n,i){var e=r.props.allowFocusOnLegends,u=void 0===e||e,s={title:t.title,color:t.color,shape:t.shape,action:t.action,hoverAction:t.hoverAction,onMouseOutAction:t.onMouseOutAction,stripePattern:t.stripePattern,isLineLegendInBarChart:t.isLineLegendInBarChart,opacity:t.opacity},l=r._getColor(s.title,s.color),c=r.props,f=c.theme,h=c.className,d=c.styles,v=rc(d,{theme:f,className:h,colorOnSelectedState:l,borderColor:s.color,overflow:i,stripePattern:s.stripePattern,isLineLegendInBarChart:s.isLineLegendInBarChart,opacity:s.opacity}),p=function(){r._onHoverOverLegend(s)},g=function(){r._onLeave(s)},m=r._getShape(v,s,l);return a.createElement("button",(0,o.Cl)({},u&&{"aria-selected":!!r.state.selectedLegends[s.title],role:"option","aria-label":"".concat(s.title),"aria-setsize":t["aria-setsize"],"aria-posinset":t["aria-posinset"]},t.nativeButtonProps&&(0,o.Cl)({},t.nativeButtonProps),{key:n,className:v.legend,onClick:function(t){r._onClick(s,t)},onMouseOver:p,onMouseOut:g,onFocus:p,onBlur:g,"data-is-focusable":u}),m,a.createElement("div",{className:v.text},s.title))};var u={};return n.canSelectMultipleLegends?u=(null===(e=n.defaultSelectedLegends)||void 0===e?void 0:e.reduce((function(t,n){var i;return(0,o.Cl)(((i={})[n]=!0,i),t)}),{}))||{}:n.defaultSelectedLegend&&((i={})[n.defaultSelectedLegend]=!0,u=i),r.state={activeLegend:"",isHoverCardVisible:!1,selectedLegends:u},r}return(0,o.C6)(n,t),n.prototype.render=function(){var t=this.props,n=t.theme,i=t.className,e=t.styles;this._classNames=rc(e,{theme:n,className:i}),this._isLegendSelected=Object.keys(this.state.selectedLegends).length>0;var r=this._generateData();return a.createElement("div",{className:this._classNames.root},this.props.enabledWrapLines?this._onRenderData(r):a.createElement(ql,{data:r,onReduceData:this._onReduceData,onRenderData:this._onRenderData,onGrowData:this._onGrowData}))},n.prototype._generateData=function(){var t=this,n=this.props,i=n.allowFocusOnLegends,e=void 0===i||i,r=n.shape;return{primary:this.props.legends.map((function(n,i){return(0,o.Cl)((0,o.Cl)({},e&&{nativeButtonProps:U(n,q,["title"]),"aria-setsize":t.props.legends.length,"aria-posinset":i+1}),{title:n.title,action:n.action,hoverAction:n.hoverAction,onMouseOutAction:n.onMouseOutAction,color:n.color,shape:r||n.shape,stripePattern:n.stripePattern,isLineLegendInBarChart:n.isLineLegendInBarChart,opacity:n.opacity,key:i})})),overflow:[]}},n.prototype._getShape=function(t,n,i){var e={className:t.shape},r={fill:i,strokeWidth:2,stroke:n.color};return a.createElement(ec,{svgProps:e,pathProps:r,shape:n.shape,classNameForNonSvg:t.rect})},n.prototype._getColor=function(t,n){var i=this.props.theme;return this._isLegendSelected?this.state.selectedLegends[t]?n:i.semanticColors.buttonBackground:this.state.activeLegend===t||""===this.state.activeLegend?n:i.semanticColors.buttonBackground},n}(a.Component),ac=(0,r.I)(oc,(function(t){var n,i,e=t.className,r=t.theme,a=t.isLineLegendInBarChart,u=void 0!==a&&a,s=r,l=s.palette,c=s.fonts,f={inset:void 0,position:void 0,highContrastStyle:{outlineColor:r.semanticColors.focusBorder},borderColor:"transparent",outlineColor:void 0};return{root:[{whiteSpace:"nowrap",width:"100%",alignItems:"center",margin:"-8px 0 0 -8px"},e],legend:[(0,Xt.gm)(r,f),{display:"flex",alignItems:"center",cursor:"pointer",border:"none",padding:"8px",background:"none",textTransform:"capitalize"}],rect:{selectors:(n={},n[Xt.up]={content:"linear-gradient(to right, ".concat(t.colorOnSelectedState,", ").concat(t.colorOnSelectedState,")"),opacity:t.colorOnSelectedState===r.semanticColors.buttonBackground?"0.6":""},n),width:"12px",height:u?"4px":"12px",backgroundColor:t.stripePattern?"":t.colorOnSelectedState,marginRight:"8px",border:"1px solid",borderColor:t.borderColor?t.borderColor:null==r?void 0:r.semanticColors.buttonBorder,content:t.stripePattern?"repeating-linear-gradient(135deg, transparent, transparent 3px, ".concat(t.colorOnSelectedState," 1px, ").concat(t.colorOnSelectedState," 4px)"):""},shape:[{marginRight:"8px"}],triangle:{width:"0",height:"0",borderLeft:"6px solid transparent",borderRight:"6px solid transparent",borderTop:"10.4px solid",borderTopColor:t.colorOnSelectedState,marginRight:"8px",opacity:t.colorOnSelectedState===r.semanticColors.buttonBackground?"0.6":t.opacity?t.opacity:"",selectors:(i={},i[Xt.up]={border:"0px",height:"10.4px",width:"10.4px",clipPath:"polygon(50% 100%, 0 0, 100% 0)",backgroundImage:"linear-gradient(to right, ".concat(t.colorOnSelectedState,", ").concat(t.colorOnSelectedState,")")},i)},text:(0,o.Cl)((0,o.Cl)({},c.small),{lineHeight:"16px",color:null==r?void 0:r.semanticColors.bodyText,opacity:t.colorOnSelectedState===r.semanticColors.buttonBackground?"0.67":""}),hoverChange:{width:"12px",height:"12px",backgroundColor:r.semanticColors.buttonBackground,marginRight:"8px",border:"1px solid",borderColor:t.borderColor?t.borderColor:l.black},overflowIndicationTextStyle:[(0,Xt.gm)(r,f),(0,o.Cl)((0,o.Cl)({cursor:"pointer",color:null==r?void 0:r.semanticColors.bodyText},c.small),{lineHeight:"16px",padding:"8px"})],hoverCardRoot:{padding:"8px"},subComponentStyles:{hoverCardStyles:{host:[(0,Xt.gm)(r,f)]}}}}));function uc(t){return"object"==typeof t&&"length"in t?t:Array.from(t)}function sc(t){return function(){return t}}function lc(t,n){return n<t?-1:n>t?1:n>=t?0:NaN}function cc(t){return t}Array.prototype.slice;const fc=Math.abs,hc=Math.atan2,dc=Math.cos,vc=Math.max,pc=Math.min,gc=Math.sin,mc=Math.sqrt,yc=1e-12,bc=Math.PI,xc=bc/2,wc=2*bc;function Mc(t){return t>=1?xc:t<=-1?-xc:Math.asin(t)}function Cc(){var t=cc,n=lc,i=null,e=sc(0),r=sc(wc),o=sc(0);function a(a){var u,s,l,c,f,h=(a=uc(a)).length,d=0,v=new Array(h),p=new Array(h),g=+e.apply(this,arguments),m=Math.min(wc,Math.max(-wc,r.apply(this,arguments)-g)),y=Math.min(Math.abs(m)/h,o.apply(this,arguments)),b=y*(m<0?-1:1);for(u=0;u<h;++u)(f=p[v[u]=u]=+t(a[u],u,a))>0&&(d+=f);for(null!=n?v.sort((function(t,i){return n(p[t],p[i])})):null!=i&&v.sort((function(t,n){return i(a[t],a[n])})),u=0,l=d?(m-h*b)/d:0;u<h;++u,g=c)s=v[u],c=g+((f=p[s])>0?f*l:0)+b,p[s]={data:a[s],index:u,value:f,startAngle:g,endAngle:c,padAngle:y};return p}return a.value=function(n){return arguments.length?(t="function"==typeof n?n:sc(+n),a):t},a.sortValues=function(t){return arguments.length?(n=t,i=null,a):n},a.sort=function(t){return arguments.length?(i=t,n=null,a):i},a.startAngle=function(t){return arguments.length?(e="function"==typeof t?t:sc(+t),a):e},a.endAngle=function(t){return arguments.length?(r="function"==typeof t?t:sc(+t),a):r},a.padAngle=function(t){return arguments.length?(o="function"==typeof t?t:sc(+t),a):o},a}const kc=Math.PI,Sc=2*kc,Lc=1e-6,Vc=Sc-Lc;function Ac(t){this._+=t[0];for(let n=1,i=t.length;n<i;++n)this._+=arguments[n]+t[n]}class Nc{constructor(t){this._x0=this._y0=this._x1=this._y1=null,this._="",this._append=null==t?Ac:function(t){let n=Math.floor(t);if(!(n>=0))throw new Error(`invalid digits: ${t}`);if(n>15)return Ac;const i=10**n;return function(t){this._+=t[0];for(let n=1,e=t.length;n<e;++n)this._+=Math.round(arguments[n]*i)/i+t[n]}}(t)}moveTo(t,n){this._append`M${this._x0=this._x1=+t},${this._y0=this._y1=+n}`}closePath(){null!==this._x1&&(this._x1=this._x0,this._y1=this._y0,this._append`Z`)}lineTo(t,n){this._append`L${this._x1=+t},${this._y1=+n}`}quadraticCurveTo(t,n,i,e){this._append`Q${+t},${+n},${this._x1=+i},${this._y1=+e}`}bezierCurveTo(t,n,i,e,r,o){this._append`C${+t},${+n},${+i},${+e},${this._x1=+r},${this._y1=+o}`}arcTo(t,n,i,e,r){if(t=+t,n=+n,i=+i,e=+e,(r=+r)<0)throw new Error(`negative radius: ${r}`);let o=this._x1,a=this._y1,u=i-t,s=e-n,l=o-t,c=a-n,f=l*l+c*c;if(null===this._x1)this._append`M${this._x1=t},${this._y1=n}`;else if(f>Lc)if(Math.abs(c*u-s*l)>Lc&&r){let h=i-o,d=e-a,v=u*u+s*s,p=h*h+d*d,g=Math.sqrt(v),m=Math.sqrt(f),y=r*Math.tan((kc-Math.acos((v+f-p)/(2*g*m)))/2),b=y/m,x=y/g;Math.abs(b-1)>Lc&&this._append`L${t+b*l},${n+b*c}`,this._append`A${r},${r},0,0,${+(c*h>l*d)},${this._x1=t+x*u},${this._y1=n+x*s}`}else this._append`L${this._x1=t},${this._y1=n}`}arc(t,n,i,e,r,o){if(t=+t,n=+n,o=!!o,(i=+i)<0)throw new Error(`negative radius: ${i}`);let a=i*Math.cos(e),u=i*Math.sin(e),s=t+a,l=n+u,c=1^o,f=o?e-r:r-e;null===this._x1?this._append`M${s},${l}`:(Math.abs(this._x1-s)>Lc||Math.abs(this._y1-l)>Lc)&&this._append`L${s},${l}`,i&&(f<0&&(f=f%Sc+Sc),f>Vc?this._append`A${i},${i},0,1,${c},${t-a},${n-u}A${i},${i},0,1,${c},${this._x1=s},${this._y1=l}`:f>Lc&&this._append`A${i},${i},0,${+(f>=kc)},${c},${this._x1=t+i*Math.cos(r)},${this._y1=n+i*Math.sin(r)}`)}rect(t,n,i,e){this._append`M${this._x0=this._x1=+t},${this._y0=this._y1=+n}h${i=+i}v${+e}h${-i}Z`}toString(){return this._}}function Dc(t){let n=3;return t.digits=function(i){if(!arguments.length)return n;if(null==i)n=null;else{const t=Math.floor(i);if(!(t>=0))throw new RangeError(`invalid digits: ${i}`);n=t}return t},()=>new Nc(n)}function Tc(t){return t.innerRadius}function Oc(t){return t.outerRadius}function Pc(t){return t.startAngle}function Ec(t){return t.endAngle}function Fc(t){return t&&t.padAngle}function Bc(t,n,i,e,r,o,a){var u=t-i,s=n-e,l=(a?o:-o)/mc(u*u+s*s),c=l*s,f=-l*u,h=t+c,d=n+f,v=i+c,p=e+f,g=(h+v)/2,m=(d+p)/2,y=v-h,b=p-d,x=y*y+b*b,w=r-o,M=h*p-v*d,C=(b<0?-1:1)*mc(vc(0,w*w*x-M*M)),k=(M*b-y*C)/x,S=(-M*y-b*C)/x,L=(M*b+y*C)/x,V=(-M*y+b*C)/x,A=k-g,N=S-m,D=L-g,T=V-m;return A*A+N*N>D*D+T*T&&(k=L,S=V),{cx:k,cy:S,x01:-c,y01:-f,x11:k*(r/w-1),y11:S*(r/w-1)}}function Hc(){var t=Tc,n=Oc,i=sc(0),e=null,r=Pc,o=Ec,a=Fc,u=null,s=Dc(l);function l(){var l,c,f,h=+t.apply(this,arguments),d=+n.apply(this,arguments),v=r.apply(this,arguments)-xc,p=o.apply(this,arguments)-xc,g=fc(p-v),m=p>v;if(u||(u=l=s()),d<h&&(c=d,d=h,h=c),d>yc)if(g>wc-yc)u.moveTo(d*dc(v),d*gc(v)),u.arc(0,0,d,v,p,!m),h>yc&&(u.moveTo(h*dc(p),h*gc(p)),u.arc(0,0,h,p,v,m));else{var y,b,x=v,w=p,M=v,C=p,k=g,S=g,L=a.apply(this,arguments)/2,V=L>yc&&(e?+e.apply(this,arguments):mc(h*h+d*d)),A=pc(fc(d-h)/2,+i.apply(this,arguments)),N=A,D=A;if(V>yc){var T=Mc(V/h*gc(L)),O=Mc(V/d*gc(L));(k-=2*T)>yc?(M+=T*=m?1:-1,C-=T):(k=0,M=C=(v+p)/2),(S-=2*O)>yc?(x+=O*=m?1:-1,w-=O):(S=0,x=w=(v+p)/2)}var P=d*dc(x),E=d*gc(x),F=h*dc(C),B=h*gc(C);if(A>yc){var H,_=d*dc(w),I=d*gc(w),W=h*dc(M),R=h*gc(M);if(g<bc)if(H=function(t,n,i,e,r,o,a,u){var s=i-t,l=e-n,c=a-r,f=u-o,h=f*s-c*l;if(!(h*h<yc))return[t+(h=(c*(n-o)-f*(t-r))/h)*s,n+h*l]}(P,E,W,R,_,I,F,B)){var z=P-H[0],Y=E-H[1],j=_-H[0],X=I-H[1],q=1/gc(((f=(z*j+Y*X)/(mc(z*z+Y*Y)*mc(j*j+X*X)))>1?0:f<-1?bc:Math.acos(f))/2),$=mc(H[0]*H[0]+H[1]*H[1]);N=pc(A,(h-$)/(q-1)),D=pc(A,(d-$)/(q+1))}else N=D=0}S>yc?D>yc?(y=Bc(W,R,P,E,d,D,m),b=Bc(_,I,F,B,d,D,m),u.moveTo(y.cx+y.x01,y.cy+y.y01),D<A?u.arc(y.cx,y.cy,D,hc(y.y01,y.x01),hc(b.y01,b.x01),!m):(u.arc(y.cx,y.cy,D,hc(y.y01,y.x01),hc(y.y11,y.x11),!m),u.arc(0,0,d,hc(y.cy+y.y11,y.cx+y.x11),hc(b.cy+b.y11,b.cx+b.x11),!m),u.arc(b.cx,b.cy,D,hc(b.y11,b.x11),hc(b.y01,b.x01),!m))):(u.moveTo(P,E),u.arc(0,0,d,x,w,!m)):u.moveTo(P,E),h>yc&&k>yc?N>yc?(y=Bc(F,B,_,I,h,-N,m),b=Bc(P,E,W,R,h,-N,m),u.lineTo(y.cx+y.x01,y.cy+y.y01),N<A?u.arc(y.cx,y.cy,N,hc(y.y01,y.x01),hc(b.y01,b.x01),!m):(u.arc(y.cx,y.cy,N,hc(y.y01,y.x01),hc(y.y11,y.x11),!m),u.arc(0,0,h,hc(y.cy+y.y11,y.cx+y.x11),hc(b.cy+b.y11,b.cx+b.x11),m),u.arc(b.cx,b.cy,N,hc(b.y11,b.x11),hc(b.y01,b.x01),!m))):u.arc(0,0,h,C,M,m):u.lineTo(F,B)}else u.moveTo(0,0);if(u.closePath(),l)return u=null,l+""||null}return l.centroid=function(){var i=(+t.apply(this,arguments)+ +n.apply(this,arguments))/2,e=(+r.apply(this,arguments)+ +o.apply(this,arguments))/2-bc/2;return[dc(e)*i,gc(e)*i]},l.innerRadius=function(n){return arguments.length?(t="function"==typeof n?n:sc(+n),l):t},l.outerRadius=function(t){return arguments.length?(n="function"==typeof t?t:sc(+t),l):n},l.cornerRadius=function(t){return arguments.length?(i="function"==typeof t?t:sc(+t),l):i},l.padRadius=function(t){return arguments.length?(e=null==t?null:"function"==typeof t?t:sc(+t),l):e},l.startAngle=function(t){return arguments.length?(r="function"==typeof t?t:sc(+t),l):r},l.endAngle=function(t){return arguments.length?(o="function"==typeof t?t:sc(+t),l):o},l.padAngle=function(t){return arguments.length?(a="function"==typeof t?t:sc(+t),l):a},l.context=function(t){return arguments.length?(u=null==t?null:t,l):u},l}Nc.prototype;var _c=function(t){var n=t.color,i=t.href,e=t.theme;return{root:{fill:n,cursor:i?"pointer":"default",stroke:e.semanticColors.bodyBackground,outline:"transparent",selectors:{"::-moz-focus-inner":{border:"0"}}},focusRing:{stroke:e.semanticColors.focusBorder,strokeWidth:4,fill:"transparent"},arcLabel:{fontSize:Xt.s.small,fontWeight:Xt.BO.semibold,fill:e.palette.neutralPrimary}}},Ic=function(t){function n(){var n=null!==t&&t.apply(this,arguments)||this;return n.state={},n.currentRef=a.createRef(),n._isRTL=(0,s.jI)(),n._hoverOff=function(){n.props.hoverLeaveCallback()},n._onBlur=function(){n.props.onBlurCallback()},n._getAriaLabel=function(){var t,i=n.props.data.data,e=i.xAxisCalloutData||i.legend,r=i.yAxisCalloutData||i.data||0;return(null===(t=i.callOutAccessibilityData)||void 0===t?void 0:t.ariaLabel)||(e?"".concat(e,", "):"")+"".concat(r,".")},n._renderArcLabel=function(t){var i,e,r=(i=n.props).arc,o=i.data,u=i.innerRadius,s=i.outerRadius,l=i.showLabelsInPercent,c=i.totalValue,f=i.hideLabels,h=i.activeArc;if(f||Math.abs(o.endAngle-o.startAngle)<Math.PI/12||h!==o.data.legend&&""!==h)return null;var d=(e=r.centroid(o))[0],v=e[1],p=Math.sqrt(d*d+v*v),g=Math.max(u,s)+2,m=(o.startAngle+o.endAngle)/2,y=o.value;return a.createElement("text",{x:(0===p?0:d/p)*g,y:(0===p?0:v/p)*g,textAnchor:m>Math.PI!==n._isRTL?"end":"start",dominantBaseline:m>Math.PI/2&&m<3*Math.PI/2?"hanging":"auto",className:t,"aria-hidden":!0},l?qu(".0%")(0===c?0:y/c):ks(y))},n}return(0,o.C6)(n,t),n.getDerivedStateFromProps=function(t){return Wc(t),null},n.prototype.updateChart=function(t){Wc(t)},n.prototype.render=function(){var t,n,i=(t=this.props).arc,e=t.href,r=t.focusedArcId,o=(0,u.Z)()(_c,{color:this.props.color,href:e,theme:this.props.theme}),s=this.props.uniqText+this.props.data.data.legend.replace(/\s+/,"")+this.props.data.data.data,l=this.props.activeArc===this.props.data.data.legend||""===this.props.activeArc?1:.1;return a.createElement("g",{ref:this.currentRef},!!r&&r===s&&a.createElement("path",{id:s+"focusRing",d:i(this.props.focusData),className:o.focusRing}),a.createElement("path",{id:s,d:i(this.props.data),onFocus:this._onFocus.bind(this,this.props.data.data,s),className:o.root,"data-is-focusable":this.props.activeArc===this.props.data.data.legend||""===this.props.activeArc,onMouseOver:this._hoverOn.bind(this,this.props.data.data),onMouseMove:this._hoverOn.bind(this,this.props.data.data),onMouseLeave:this._hoverOff,onBlur:this._onBlur,opacity:l,onClick:e?this._redirectToUrl.bind(this,e):null===(n=this.props.data)||void 0===n?void 0:n.data.onClick,"aria-label":this._getAriaLabel(),role:"img"}),this._renderArcLabel(o.arcLabel))},n.prototype._onFocus=function(t,n){this.props.onFocusCallback(t,n,this.currentRef.current)},n.prototype._hoverOn=function(t,n){n.persist(),this.props.hoverOnCallback(t,n)},n.prototype._redirectToUrl=function(t){t&&(window.location.href=t)},n.defaultProps={arc:Hc()},n}(a.Component);function Wc(t){t.arc.innerRadius(t.innerRadius),t.arc.outerRadius(t.outerRadius)}var Rc=function(t){var n,i=t.theme;return{root:{},insideDonutString:{fontSize:Xt.s.xLargePlus,fontWeight:Xt.BO.semibold,fill:i.semanticColors.bodyText,selectors:(n={},n[Xt.NK]={fill:"rgb(179, 179, 179)"},n)}}},zc=(0,u.Z)(),Yc=function(t){function n(n){var i=t.call(this,n)||this;return i.arcGenerator=function(t,n,e,r){var o=t&&t.data&&t.data.color;return a.createElement(Ic,{key:n,data:t,focusData:e,innerRadius:i.props.innerRadius,outerRadius:i.props.outerRadius,color:o,onFocusCallback:i._focusCallback,hoverOnCallback:i._hoverCallback,onBlurCallback:i.props.onBlurCallback,hoverLeaveCallback:i.props.hoverLeaveCallback,uniqText:i.props.uniqText,activeArc:i.props.activeArc,href:r,calloutId:i.props.calloutId,valueInsideDonut:i.props.valueInsideDonut,theme:i.props.theme,focusedArcId:i.props.focusedArcId,showLabelsInPercent:i.props.showLabelsInPercent,totalValue:i._totalValue,hideLabels:i.props.hideLabels})},i._focusCallback=function(t,n,e){i.props.onFocusCallback(t,n,e)},i._computeTotalValue=function(){var t=0;return i.props.data.forEach((function(n){t+=n.data})),t},i._hoverCallback=i._hoverCallback.bind(i),i._pieForFocusRing=Cc().sort(null).value((function(t){return t.data})).padAngle(0),i}return(0,o.C6)(n,t),n.prototype.render=function(){var t,n=this,i=(t=this.props).pie,e=t.data,r=this._pieForFocusRing(e),o=i(e),u="translate(".concat(this.props.width/2,", ").concat(this.props.height/2,")"),s=zc(Rc,{theme:this.props.theme});return this._totalValue=this._computeTotalValue(),a.createElement("g",{transform:u},o.map((function(t,i){return n.arcGenerator(t,i,r[i],n.props.href)})),this.props.valueInsideDonut&&a.createElement("text",{y:5,textAnchor:"middle",dominantBaseline:"middle",className:s.insideDonutString},this.props.valueInsideDonut))},n.prototype.componentDidUpdate=function(){var t,n,i;t=zc(Rc,{theme:this.props.theme}).insideDonutString,n=2*this.props.innerRadius-5,i=0,Bu(".".concat(t)).each((function(){for(var t=Fu(this),e=t.text().split(/\s+/).reverse(),r="",o=[],a=0,u=t.attr("y"),s=t.text(null).append("tspan").attr("id","WordBreakId-".concat(i,"-").concat(a)).attr("x",0).attr("y",u).attr("dy",1.1*a+++"em");r=e.pop();)o.push(r),s.text(o.join(" ")+" "),s.node().getComputedTextLength()>n&&o.length>1&&(o.pop(),s.text(o.join(" ")+" "),o=[r],s=t.append("tspan").attr("id","WordBreakId-".concat(i,"-").concat(a)).attr("x",0).attr("y",u).attr("dy",1.1*a+++"em").text(r));i+=1}))},n.prototype._hoverCallback=function(t,n){this.props.hoverOnCallback(t,n)},n.defaultProps={pie:Cc().sort(null).value((function(t){return t.data})).padAngle(.02)},n}(a.Component),jc={color1:"qualitative.1",color2:"qualitative.2",color3:"qualitative.3",color4:"qualitative.4",color5:"qualitative.5",color6:"qualitative.6",color7:"qualitative.7",color8:"qualitative.8",color9:"qualitative.9",color10:"qualitative.10",color11:"qualitative.11",color12:"qualitative.12",color13:"qualitative.13",color14:"qualitative.14",color15:"qualitative.15",color16:"qualitative.16",color17:"qualitative.17",color18:"qualitative.18",color19:"qualitative.19",color20:"qualitative.20",color21:"qualitative.21",color22:"qualitative.22",color23:"qualitative.23",color24:"qualitative.24",color25:"qualitative.25",color26:"qualitative.26",color27:"qualitative.27",color28:"qualitative.28",color29:"qualitative.29",color30:"qualitative.30",color31:"qualitative.31",color32:"qualitative.32",color33:"qualitative.33",color34:"qualitative.34",color35:"qualitative.35",color36:"qualitative.36",color37:"qualitative.37",color38:"qualitative.38",color39:"qualitative.39",color40:"qualitative.40",info:"semantic.info",disabled:"semantic.disabled",highError:"semantic.highError",error:"semantic.error",warning:"semantic.warning",success:"semantic.success",highSuccess:"semantic.highSuccess"},Xc={1:["#637cef"],2:["#e3008c"],3:["#2aa0a4"],4:["#9373c0"],5:["#13a10e"],6:["#3a96dd"],7:["#ca5010"],8:["#57811b"],9:["#b146c2"],10:["#ae8c00"],11:["#3c51b4","#93a4f4"],12:["#ad006a","#ee5fb7"],13:["#026467","#4cb4b7"],14:["#674c8c","#a083c9"],15:["#0e7a0b","#27ac22"],16:["#2c72a8","#4fa1e1"],17:["#9a3d0c","#d77440"],18:["#405f14","#73aa24"],19:["#863593","#c36bd1"],20:["#6d5700","#d0b232"],21:["#4f6bed"],22:["#ea38a6"],23:["#038387"],24:["#8764b8"],25:["#11910d"],26:["#3487c7"],27:["#d06228"],28:["#689920"],29:["#ba58c9"],30:["#937700","#c19c00"],31:["#2c3c85","#c8d1fa"],32:["#7f004e","#f7adda"],33:["#02494c","#9bd9db"],34:["#4c3867","#b29ad4"],35:["#0b5a08","#a7e3a5"],36:["#20547c","#83bdeb"],37:["#712d09","#df8e64"],38:["#23330b","#a4cc6c"],39:["#63276d","#cf87da"],40:["#3a2f00","#dac157"]},qc={qualitative:Xc,semantic:{info:["#015cda"],disabled:["#dbdbdb","#4d4d4d"],highError:["#6e0811","#cc2635"],error:["#c50f1f","#dc626d"],warning:["#f7630c","#f87528"],success:["#107c10","#54b054"],highSuccess:["#094509","#218c21"]}},$c=Object.values(Xc),Uc=Object.values(jc),Gc=function(t,n){if(0===t.length)return"";var i=Number(n);return i<t.length?t[i]:t[0]},Zc=function(t,n,i){void 0===n&&(n=0),void 0===i&&(i=!1);var e=$c[(t+n)%$c.length];return Gc(e,i)},Kc=function(t,n){if(void 0===n&&(n=!1),Uc.indexOf(t)>=0){var i=t.split("."),e=i[0],r=i[1],o=qc[e][r];return Gc(o,n)}return t},Jc=(0,u.Z)(),Qc=function(t){function n(n){var i=t.call(this,n)||this;return i._closeCallout=function(){i.setState({showHover:!1})},i._focusCallback=function(t,n,e){i._currentHoverElement=e,i.setState({showHover:""===i.state.selectedLegend||i.state.selectedLegend===t.legend,value:t.data.toString(),legend:t.legend,color:t.color,xCalloutValue:t.xAxisCalloutData,yCalloutValue:t.yAxisCalloutData,focusedArcId:n,dataPointCalloutProps:t,callOutAccessibilityData:t.callOutAccessibilityData})},i._hoverCallback=function(t,n){i._calloutAnchorPoint!==t&&(i._calloutAnchorPoint=t,i._currentHoverElement=n,i.setState({showHover:""===i.state.selectedLegend||i.state.selectedLegend===t.legend,value:t.data.toString(),legend:t.legend,color:t.color,xCalloutValue:t.xAxisCalloutData,yCalloutValue:t.yAxisCalloutData,dataPointCalloutProps:t,callOutAccessibilityData:t.callOutAccessibilityData}))},i._onBlur=function(){i.setState({focusedArcId:""})},i._handleChartMouseLeave=function(){i._calloutAnchorPoint=null,i.setState({showHover:!1})},i._addDefaultColors=function(t){return t?t.map((function(t,n){var e,r,a;return a=void 0===t.color?Zc(n,0,null===(e=i.props.theme)||void 0===e?void 0:e.isInverted):Kc(t.color,null===(r=i.props.theme)||void 0===r?void 0:r.isInverted),(0,o.Cl)((0,o.Cl)({},t),{color:a})})):[]},i.state={showHover:!1,value:"",legend:"",_width:i.props.width||200,_height:i.props.height||200,activeLegend:"",color:"",xCalloutValue:"",yCalloutValue:"",selectedLegend:"",focusedArcId:""},i._hoverCallback=i._hoverCallback.bind(i),i._focusCallback=i._focusCallback.bind(i),i._hoverLeave=i._hoverLeave.bind(i),i._calloutId=g("callout"),i._uniqText=g("_Pie_"),i._emptyChartId=g("_DonutChart_empty"),i}return(0,o.C6)(n,t),n.getDerivedStateFromProps=function(t,n){var i,e;return t.width&&t.width!==n._width&&(i={_width:t.width}),t.height&&t.height!==n._height&&(e={_height:t.height-40}),(0,o.Cl)((0,o.Cl)({},i),e)},n.prototype.componentDidMount=function(){this._rootElem&&this.setState({_width:this._rootElem.offsetWidth,_height:this._rootElem.offsetHeight-40})},n.prototype.render=function(){var t,n,i=this,e=(t=this.props).data,r=void 0!==(n=t.hideLegend)&&n,u=this._addDefaultColors(null==e?void 0:e.chartData);this._classNames=Jc(this.props.styles,{theme:this.props.theme,width:this.state._width,height:this.state._height,color:this.state.color,className:this.props.className});var s=this._createLegends(u),l=this.props.hideLabels?0:80,c=this.props.hideLabels?0:40,f=Math.min(this.state._width-l,this.state._height-c)/2,h=this._elevateToMinimums(u.filter((function(t){return t.data>=0}))),d=this._valueInsideDonut(this.props.valueInsideDonut,h);return this._isChartEmpty()?a.createElement("div",{id:this._emptyChartId,role:"alert",style:{opacity:"0"},"aria-label":"Graph has no data to display"}):a.createElement("div",{className:this._classNames.root,ref:function(t){return i._rootElem=t},onMouseLeave:this._handleChartMouseLeave},a.createElement(Qs,{direction:Ss.horizontal,handleTabKey:1},a.createElement("div",null,a.createElement("svg",{className:this._classNames.chart,"aria-label":null==e?void 0:e.chartTitle,ref:function(t){return i._setViewBox(t)}},a.createElement(Yc,{width:this.state._width,height:this.state._height,outerRadius:f,innerRadius:this.props.innerRadius,data:h,onFocusCallback:this._focusCallback,hoverOnCallback:this._hoverCallback,hoverLeaveCallback:this._hoverLeave,uniqText:this._uniqText,onBlurCallback:this._onBlur,activeArc:this._getHighlightedLegend(),focusedArcId:this.state.focusedArcId||"",href:this.props.href,calloutId:this._calloutId,valueInsideDonut:this._toLocaleString(d),theme:this.props.theme,showLabelsInPercent:this.props.showLabelsInPercent,hideLabels:this.props.hideLabels})))),a.createElement(Kn,(0,o.Cl)({target:this._currentHoverElement,alignTargetEdge:!0,isBeakVisible:!1,directionalHint:x.topAutoEdge,gapSpace:15,hidden:!(!this.props.hideTooltip&&this.state.showHover),id:this._calloutId,onDismiss:this._closeCallout,preventDismissOnLostFocus:!0,shouldUpdateWhenHidden:!0},this.props.calloutProps,Ms(this.state.callOutAccessibilityData,"text",!1)),this.props.onRenderCalloutPerDataPoint?this.props.onRenderCalloutPerDataPoint(this.state.dataPointCalloutProps):a.createElement(Ds.ChartHoverCard,{Legend:this.state.xCalloutValue?this.state.xCalloutValue:this.state.legend,YValue:this.state.yCalloutValue?this.state.yCalloutValue:this.state.value,color:this.state.color,culture:this.props.culture})),!r&&a.createElement("div",{className:this._classNames.legendContainer},s))},n.prototype._elevateToMinimums=function(t){var n=0,i=[];return t.forEach((function(t){n+=t.data})),t.forEach((function(t){i.push(.01*n>t.data&&t.data>0?(0,o.Cl)((0,o.Cl)({},t),{data:.01*n,yAxisCalloutData:void 0===t.yAxisCalloutData?t.data.toLocaleString():t.yAxisCalloutData}):t)})),i},n.prototype._setViewBox=function(t){var n,i;if(null!==t){var e=t.parentElement?t.parentElement.clientWidth:this.state._width,r=t.parentElement&&(null===(n=t.parentElement)||void 0===n?void 0:n.offsetHeight)>this.state._height?null===(i=t.parentElement)||void 0===i?void 0:i.offsetHeight:this.state._height,o="0 0 ".concat(e," ").concat(r);t.setAttribute("viewBox",o)}},n.prototype._createLegends=function(t){var n=this,i=t.map((function(t,i){var e=t.color;return{title:t.legend,color:e,action:function(){n.state.selectedLegend===t.legend?n.setState({selectedLegend:""}):n.setState({selectedLegend:t.legend})},hoverAction:function(){n._handleChartMouseLeave(),n.setState({activeLegend:t.legend})},onMouseOutAction:function(){n.setState({activeLegend:""})}}}));return a.createElement(ac,(0,o.Cl)({legends:i,centerLegends:!0,overflowProps:this.props.legendsOverflowProps,focusZonePropsInHoverCard:this.props.focusZonePropsForLegendsInHoverCard,overflowText:this.props.legendsOverflowText},this.props.legendProps))},n.prototype._hoverLeave=function(){},n.prototype._valueInsideDonut=function(t,n){var i=this,e=this._getHighlightedLegend();if(void 0===t||""===e&&!this.state.showHover)return t;var r=t;return n.map((function(t,n){(t.legend===e||i.state.showHover&&t.legend===i.state.legend)&&(r=t.yAxisCalloutData?t.yAxisCalloutData:t.data)})),r},n.prototype._toLocaleString=function(t){var n=(0,Jn.U)(t,this.props.culture);return n?null==n?void 0:n.toString():t},n.prototype._getHighlightedLegend=function(){return this.state.selectedLegend||this.state.activeLegend},n.prototype._isChartEmpty=function(){return!(this.props.data&&this.props.data.chartData&&this.props.data.chartData.filter((function(t){return t.data>0})).length>0)},n.defaultProps={innerRadius:0,hideLabels:!0},n}(a.Component),tf=(0,r.I)(Qc,(function(t){var n=t.className,i=t.width,e=t.height;return{root:[t.theme.fonts.medium,"ms-DonutChart",{alignItems:"center",display:"flex",flexDirection:"column",width:"100%",height:"100%"},n],chart:{width:i,height:e,boxSizing:"content-box",overflow:"visible",alignmentAdjust:"center",display:"block"},legendContainer:{paddingTop:"16px",width:"".concat(i,"px")}}}));function nf(t,n){if(t=function(t){let n;for(;n=t.sourceEvent;)t=n;return t}(t),void 0===n&&(n=t.currentTarget),n){var i=n.ownerSVGElement||n;if(i.createSVGPoint){var e=i.createSVGPoint();return e.x=t.clientX,e.y=t.clientY,[(e=e.matrixTransform(n.getScreenCTM().inverse())).x,e.y]}if(n.getBoundingClientRect){var r=n.getBoundingClientRect();return[t.clientX-r.left-n.clientLeft,t.clientY-r.top-n.clientTop]}}return[t.pageX,t.pageY]}function ef(t){this._context=t}function rf(t){return new ef(t)}function of(t){return t[0]}function af(t){return t[1]}function uf(t,n){var i=sc(!0),e=null,r=rf,o=null,a=Dc(u);function u(u){var s,l,c,f=(u=uc(u)).length,h=!1;for(null==e&&(o=r(c=a())),s=0;s<=f;++s)!(s<f&&i(l=u[s],s,u))===h&&((h=!h)?o.lineStart():o.lineEnd()),h&&o.point(+t(l,s,u),+n(l,s,u));if(c)return o=null,c+""||null}return t="function"==typeof t?t:void 0===t?of:sc(t),n="function"==typeof n?n:void 0===n?af:sc(n),u.x=function(n){return arguments.length?(t="function"==typeof n?n:sc(+n),u):t},u.y=function(t){return arguments.length?(n="function"==typeof t?t:sc(+t),u):n},u.defined=function(t){return arguments.length?(i="function"==typeof t?t:sc(!!t),u):i},u.curve=function(t){return arguments.length?(r=t,null!=e&&(o=r(e)),u):r},u.context=function(t){return arguments.length?(null==t?e=o=null:o=r(e=t),u):e},u}ef.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,n){switch(t=+t,n=+n,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,n):this._context.moveTo(t,n);break;case 1:this._point=2;default:this._context.lineTo(t,n)}}};var sf,lf,cf,ff=function(t){function n(i){var e=t.call(this,i)||this;return e._tooltipHost=a.createRef(),e._tooltipHostId=g("tooltip-host"),e.show=function(){e._toggleTooltip(!0)},e.dismiss=function(){e._hideTooltip()},e._getTargetElement=function(){if(e._tooltipHost.current)return e._tooltipHost.current},e._onTooltipFocus=function(t){e._ignoreNextFocusEvent?e._ignoreNextFocusEvent=!1:e._onTooltipMouseEnter(t)},e._onTooltipBlur=function(t){e._ignoreNextFocusEvent=(null===document||void 0===document?void 0:document.activeElement)===t.target,e._dismissTimerId=e._async.setTimeout((function(){e._hideTooltip()}),0)},e._onTooltipMouseEnter=function(t){var i=e.props.delay;if(n._currentVisibleTooltip&&n._currentVisibleTooltip!==e&&n._currentVisibleTooltip.dismiss(),n._currentVisibleTooltip=e,e.state.isOverflowing&&(!t.target||!Hs(t.target,e._getTargetElement())))if(e._clearDismissTimer(),e._clearOpenTimer(),i!==nl.zero){var r=e._getDelayTime(i);e._openTimerId=e._async.setTimeout((function(){e._toggleTooltip(!0)}),r)}else e._toggleTooltip(!0)},e._onTooltipMouseLeave=function(t){var i=e.props.closeDelay;e._clearDismissTimer(),e._clearOpenTimer(),i?e._dismissTimerId=e._async.setTimeout((function(){e._toggleTooltip(!1)}),i):e._toggleTooltip(!1),n._currentVisibleTooltip===e&&(n._currentVisibleTooltip=void 0)},e._onTooltipKeyDown=function(t){(t.which===Ft||t.ctrlKey)&&e.state.isTooltipVisible&&(e._hideTooltip(),t.stopPropagation())},e._clearDismissTimer=function(){e._async.clearTimeout(e._dismissTimerId)},e._clearOpenTimer=function(){e._async.clearTimeout(e._openTimerId)},e._hideTooltip=function(){e._clearOpenTimer(),e._clearDismissTimer(),e._toggleTooltip(!1)},e._toggleTooltip=function(t){e.state.isTooltipVisible!==t&&e.setState({isTooltipVisible:t})},e._getDelayTime=function(t){switch(t){case nl.medium:return 300;case nl.long:return 500;default:return 0}},e._wrapContent=function(){var t,n,i=(t=e.props).content,r=t.wrapContent,o=void 0===(n=t.maxWidth)?Number.POSITIVE_INFINITY:n,a=t.maxHeight,u=!1;i&&r&&r(i,e._tooltipHostId,o,a)&&(u=!0),e.state.isOverflowing!==u&&e.setState({isOverflowing:u})},e.state={isTooltipVisible:!1,isOverflowing:!1},e._async=new Bt(e),e}return(0,o.C6)(n,t),n.prototype.render=function(){var t,n,i=(t=this.props).content,e=t.tooltipProps,r=t.textProps,u=void 0===(n=t.shouldReceiveFocus)||n,s=this.state.isTooltipVisible,l=(0,o.Cl)({content:i,targetElement:this._getTargetElement(),calloutProps:{onDismiss:this._hideTooltip,onMouseEnter:this._onTooltipMouseEnter,onMouseLeave:this._onTooltipMouseLeave},onMouseEnter:this._onTooltipMouseEnter,onMouseLeave:this._onTooltipMouseLeave},e),c=!!this.props.isTooltipVisibleProp&&this.state.isOverflowing&&!!i||s&&!!i;return a.createElement(a.Fragment,null,a.createElement("text",(0,o.Cl)({},r,{id:this._tooltipHostId,ref:this._tooltipHost,onFocusCapture:this._onTooltipFocus,onBlurCapture:this._onTooltipBlur,onMouseEnter:this._onTooltipMouseEnter,onMouseLeave:this._onTooltipMouseLeave,onKeyDown:this._onTooltipKeyDown,"data-is-focusable":u&&this.state.isOverflowing}),i),c&&a.createElement(rl,(0,o.Cl)({},l)))},n.prototype.componentDidMount=function(){this._wrapContent()},n.prototype.componentDidUpdate=function(t){this.props.maxWidth===t.maxWidth&&this.props.maxHeight===t.maxHeight||this._wrapContent()},n.prototype.componentWillUnmount=function(){n._currentVisibleTooltip&&n._currentVisibleTooltip===this&&(n._currentVisibleTooltip=void 0),this._async.dispose()},n.defaultProps={delay:nl.medium},n}(a.Component),hf=(0,u.Z)(),df=(0,a.lazy)((function(){return Promise.resolve().then(i.bind(i,395)).then((function(t){return{default:t.ChartHoverCard}}))})),vf=function(t){function n(n){var i,e,r,u,l,c,f,h,d,v,p,m,y,b,x,w,M,C,k,S,L,V,A,N,D,T,O=this;return(O=t.call(this,n)||this).minLegendContainerHeight=32,O._isRtl=(0,s.jI)(),O._isFirstRender=!0,O.isIntegralDataset=!0,O._multiValueCallout=function(t){var n=O._yValueHoverSubCountsExists(t.YValueHover);return a.createElement("div",{className:O._classNames.calloutContentRoot},a.createElement("div",{className:O._classNames.calloutDateTimeContainer,style:n?{marginBottom:"11px"}:{}},a.createElement("div",(0,o.Cl)({className:O._classNames.calloutContentX},Ms(t.xAxisCalloutAccessibilityData,"text",!1)),(0,Jn.U)(t.hoverXValue,O.props.culture))),a.createElement("div",{className:O._classNames.calloutInfoContainer,style:n?{display:"flex"}:{}},t.YValueHover&&t.YValueHover.map((function(t,i,e){var r=i+1===e.length,u=t.shouldDrawBorderBottom,s=void 0!==u&&u;return a.createElement("div",(0,o.Cl)({},Ms(t.callOutAccessibilityData,"text",!1),{key:"callout-content-".concat(i),style:n?(0,o.Cl)({display:"inline-block"},s&&{borderBottom:"1px solid ".concat(O.props.theme.semanticColors.menuDivider),paddingBottom:"10px"}):(0,o.Cl)({},s&&{borderBottom:"1px solid ".concat(O.props.theme.semanticColors.menuDivider),paddingBottom:"10px"})}),O._getCalloutContent(t,i,n,r))})),!!t.descriptionMessage&&a.createElement("div",{className:O._classNames.descriptionMessage},t.descriptionMessage)))},O._getData=function(t,n){O.props.getGraphData&&O.props.getGraphData(t,n,O.state.containerHeight-O.state._removalValueForTextTuncate,O.state.containerWidth,O.xAxisElement,O.yAxisElement)},O._onChartLeave=function(){O.props.onChartMouseLeave&&O.props.onChartMouseLeave()},O._calculateChartMinWidth=function(){var t=10;if(!O.props.wrapXAxisLables&&O.props.rotateXAxisLables&&O.props.xAxisType===Zu.StringAxis){var n=ss(O._tickValues,".".concat(O._classNames.xAxis," text"));t+=Math.ceil(n*Math.cos(Math.PI/4))}else if(O.props.showXAxisLablesTooltip){var i=O._tickValues.map((function(t){var n=O.props.noOfCharsToTruncate||4;return t.toString().length>n?"".concat(t.toString().slice(0,n),"..."):t}));n=ss(i,".".concat(O._classNames.xAxis," text")),t+=Math.ceil(n)}else if(O.props.wrapXAxisLables){var e=[];O._tickValues.forEach((function(t){e.push.apply(e,t.toString().split(/\s+/))})),n=ss(e,".".concat(O._classNames.xAxis," text")),t+=Math.max(Math.ceil(n),10)}else n=ss(O._tickValues,".".concat(O._classNames.xAxis," text")),t+=Math.ceil(n);var r=O.margins.left+O.margins.right+t*(O._tickValues.length-1);return[Gu.GroupedVerticalBarChart,Gu.VerticalBarChart,Gu.VerticalStackedBarChart].includes(O.props.chartType)&&(r+=16),r},O._getChartDescription=function(){return(O.props.chartTitle||"Chart. ")+O._getAxisTitle("X",O.props.xAxisTitle,O.props.xAxisType)+O._getAxisTitle("Y",O.props.yAxisTitle,O.props.yAxisType||Ku.NumericAxis)+(O.props.secondaryYScaleOptions?O._getAxisTitle("secondary Y",O.props.secondaryYAxistitle,Ku.NumericAxis):"")},O._getAxisTitle=function(t,n,i){return"The ".concat(t," axis displays ")+(n||(i===Zu.StringAxis||i===Ku.StringAxis?"categories":i===Zu.DateAxis||i===Ku.DateAxis?"time":"values"))+". "},O.state={containerHeight:0,containerWidth:0,_width:O.props.width||600,_height:O.props.height||350,_removalValueForTextTuncate:0,isRemoveValCalculated:!0,startFromX:0},O.idForGraph=g("chart_"),O.titleMargin=8,O.idForDefaultTabbableElement=g("defaultTabbableElement_"),O.margins={top:null!==(e=null===(i=O.props.margins)||void 0===i?void 0:i.top)&&void 0!==e?e:20,bottom:null!==(u=null===(r=O.props.margins)||void 0===r?void 0:r.bottom)&&void 0!==u?u:35,right:O._isRtl?null!==(c=null===(l=O.props.margins)||void 0===l?void 0:l.left)&&void 0!==c?c:40:(null!==(h=null===(f=O.props.margins)||void 0===f?void 0:f.right)&&void 0!==h?h:null===(d=O.props)||void 0===d?void 0:d.secondaryYScaleOptions)?40:20,left:O._isRtl?(null!==(p=null===(v=O.props.margins)||void 0===v?void 0:v.right)&&void 0!==p?p:null===(m=O.props)||void 0===m?void 0:m.secondaryYScaleOptions)?40:20:null!==(b=null===(y=O.props.margins)||void 0===y?void 0:y.left)&&void 0!==b?b:40},void 0!==O.props.xAxisTitle&&""!==O.props.xAxisTitle&&(O.margins.bottom=null!==(w=null===(x=O.props.margins)||void 0===x?void 0:x.bottom)&&void 0!==w?w:55),void 0!==O.props.yAxisTitle&&""!==O.props.yAxisTitle&&(O.margins.left=O._isRtl?(null!==(C=null===(M=O.props.margins)||void 0===M?void 0:M.right)&&void 0!==C?C:null===(k=O.props)||void 0===k?void 0:k.secondaryYAxistitle)?60:40:null!==(L=null===(S=O.props.margins)||void 0===S?void 0:S.left)&&void 0!==L?L:60,O.margins.right=O._isRtl?null!==(A=null===(V=O.props.margins)||void 0===V?void 0:V.left)&&void 0!==A?A:60:(null!==(D=null===(N=O.props.margins)||void 0===N?void 0:N.right)&&void 0!==D?D:null===(T=O.props)||void 0===T?void 0:T.secondaryYAxistitle)?60:40),O}return(0,o.C6)(n,t),n.prototype.componentDidMount=function(){if(this._fitParentContainer(),this.props.chartType===Gu.HorizontalBarChartWithAxis&&this.props.showYAxisLables&&this.yAxisElement){var t=ss(this.props.points.map((function(t){return t.y})),".".concat(this._classNames.yAxis," text"));this.state.startFromX!==t&&this.setState({startFromX:t})}else 0!==this.state.startFromX&&this.setState({startFromX:0});this.isIntegralDataset=!this.props.points.some((function(t){return t.y%1!=0}))},n.prototype.componentWillUnmount=function(){cancelAnimationFrame(this._reqID)},n.prototype.componentDidUpdate=function(t){if(t.height===this.props.height&&t.width===this.props.width||this._fitParentContainer(),!this.props.wrapXAxisLables&&this.props.rotateXAxisLables&&this.props.xAxisType===Zu.StringAxis){var n=function(t){var n=t.node,i=t.xAxis;if(null!==n&&null!==i){var e=0,r=[];Fu(n).call(i).selectAll(".tick").each((function(){var t=this.getAttribute("transform");if(-1===(null==t?void 0:t.indexOf("rotate"))){var n=t.substring(t.indexOf("(")+1,t.indexOf(")")).split(",");2===n.length&&(r.push(n[0]),this.setAttribute("transform","translate(".concat(n[0],",0)rotate(-45)")))}var i=this.getBoundingClientRect(),o=i&&i.height;o>e&&(e=o)}));var o=0;return Fu(n).call(i).selectAll(".tick").each((function(){r.length>o&&(this.setAttribute("transform","translate(".concat(r[o],",").concat(e/2,")rotate(-45)")),o+=1)})),Math.floor(e/1.414)}}({node:this.xAxisElement,xAxis:this._xScale});this.state.isRemoveValCalculated&&this.state._removalValueForTextTuncate!==n+this.margins.bottom&&n>0&&this.setState({_removalValueForTextTuncate:n+this.margins.bottom,isRemoveValCalculated:!1})}if(this.props.chartType===Gu.HorizontalBarChartWithAxis&&this.props.showYAxisLables&&this.yAxisElement){var i=ss(this.props.points.map((function(t){return t.y})),".".concat(this._classNames.yAxis," text"));this.state.startFromX!==i&&this.setState({startFromX:i})}else 0!==this.state.startFromX&&this.setState({startFromX:0});t.points!==this.props.points&&(this.isIntegralDataset=!this.props.points.some((function(t){return t.y%1!=0})))},n.prototype.render=function(){var t,n,i,e,r,u,s,l,c,f,h=this,d=this.props,v=d.calloutProps,p=d.points,g=d.chartType,m=d.chartHoverProps,y=d.svgFocusZoneProps,b=d.svgProps,x=d.culture,w=d.dateLocalizeOptions,M=d.timeFormatLocale,C=d.customDateTimeFormatter;this.props.parentRef&&this._fitParentContainer();var k=(0,o.Cl)({},this.margins);this.props.chartType===Gu.HorizontalBarChartWithAxis&&(this._isRtl?k.right+=this.state.startFromX:k.left+=this.state.startFromX),this.props.getmargins&&this.props.getmargins(k);var S,L,V,A,N,D=null,T=null;if(this.props.enableFirstRenderOptimization&&this.chartContainer||!this.props.enableFirstRenderOptimization){this._isFirstRender=!1;var O={domainNRangeValues:this.props.getDomainNRangeValues(p,this.props.getDomainMargins?this.props.getDomainMargins(this.state.containerWidth):this.margins,this.state.containerWidth,g,this._isRtl,this.props.xAxisType,this.props.barwidth,this.props.tickValues,this.state.startFromX),containerHeight:this.state.containerHeight-this.state._removalValueForTextTuncate,margins:this.margins,xAxisElement:this.xAxisElement,showRoundOffXTickValues:!0,xAxisCount:this.props.xAxisTickCount,xAxistickSize:this.props.xAxistickSize,tickPadding:this.props.tickPadding||this.props.showXAxisLablesTooltip?5:10,xAxisPadding:this.props.xAxisPadding,xAxisInnerPadding:this.props.xAxisInnerPadding,xAxisOuterPadding:this.props.xAxisOuterPadding},P={margins:this.margins,containerWidth:this.state.containerWidth,containerHeight:this.state.containerHeight-this.state._removalValueForTextTuncate,yAxisElement:this.yAxisElement,yAxisTickFormat:this.props.yAxisTickFormat,yAxisTickCount:this.props.yAxisTickCount,yMinValue:this.props.yMinValue||0,yMaxValue:this.props.yMaxValue||0,tickPadding:10,maxOfYVal:this.props.maxOfYVal,yMinMaxValues:this.props.getMinMaxOfYAxis(p,this.props.yAxisType),yAxisPadding:this.props.yAxisPadding||0},E=void 0,F=void 0;switch(this.props.xAxisType){case Zu.NumericAxis:E=(t=ts(O,this.props.chartType,x)).xScale,F=t.tickValues;break;case Zu.DateAxis:n=function(t,n,i,e,r,o,a){var u,s=t.domainNRangeValues,l=t.xAxisElement,c=t.tickPadding,f=void 0===c?6:c,h=t.xAxistickSize,d=void 0===h?6:h,v=t.xAxisCount,p=void 0===v?6:v,g=a?wa():xa();g.domain([s.dStartValue,s.dEndValue]).range([s.rStartValue,s.rEndValue]);var m=di(g).tickSize(d).tickPadding(f).ticks(p);if(o)m.tickFormat((function(t,n){return o(t)}));else if(i&&e)m.tickFormat((function(t,n){return t.toLocaleString(i,e)}));else if(r){var y=Gr(r);m.tickFormat((function(t,n){return ns(t,y,a)}))}n.tickValues&&m.tickValues(n.tickValues),void 0===i&&n.tickFormat&&m.tickFormat(a?Jr(n.tickFormat):Kr(n.tickFormat)),l&&Fu(l).call(m).selectAll("text").attr("aria-hidden","true");var b=(null!==(u=n.tickValues)&&void 0!==u?u:g.ticks(p)).map((function(t,n){var i=m.tickFormat();return i?i(t,n):ns(t,void 0,a)}));return{xScale:g,tickValues:b}}(O,this.props.tickParams,x,w,M,C,this.props.useUTC),E=n.xScale,F=n.tickValues;break;case Zu.StringAxis:i=function(t,n,i,e){var r=t.domainNRangeValues,o=t.xAxisCount,a=void 0===o?6:o,u=t.xAxistickSize,s=void 0===u?6:u,l=t.tickPadding,c=void 0===l?10:l,f=t.xAxisPadding,h=void 0===f?.1:f,d=t.xAxisInnerPadding,v=t.xAxisOuterPadding,p=Va().domain(i).range([r.rStartValue,r.rEndValue]).paddingInner(void 0!==d?d:h).paddingOuter(void 0!==v?v:h),g=di(p).tickSize(s).tickPadding(c).ticks(a).tickFormat((function(t,n){return Cs(i[n],e)}));return t.xAxisElement&&Fu(t.xAxisElement).call(g).selectAll("text").attr("aria-hidden","true"),{xScale:p,tickValues:i.map(g.tickFormat())}}(O,this.props.tickParams,this.props.datasetForXAxisDomain,x),E=i.xScale,F=i.tickValues;break;default:E=(e=ts(O,this.props.chartType,x)).xScale,F=e.tickValues}if(this._xScale=E,this._tickValues=F,this.props.wrapXAxisLables||this.props.showXAxisLablesTooltip){var B={node:this.xAxisElement,xAxis:E,showXAxisLablesTooltip:this.props.showXAxisLablesTooltip||!1,noOfCharsToTruncate:this.props.noOfCharsToTruncate||4},H=E&&function(t){var n=t.node,i=t.xAxis,e=t.noOfCharsToTruncate,r=t.showXAxisLablesTooltip;if(null!==n){var o=Fu(n).call(i),a=0,u=[];return o.selectAll(".tick text").each((function(){var t=Fu(this),n=t.text(),i="".concat(t.text().slice(0,e),"..."),s=t.text().length,l=t.text().split(/\s+/).reverse();u.push(l.length);var c="",f=[],h=0,d=t.attr("y"),v=parseFloat(t.attr("dy")),p=t.text(null).append("tspan").attr("x",0).attr("y",d).attr("id","BaseSpan").attr("dy",v+"em").attr("data-",n);if(r&&s>e)p=t.append("tspan").attr("id","showDots").attr("x",0).attr("y",d).attr("dy",1.1*++h+v+"em").text(i);else if(r&&s<=e)p=t.append("tspan").attr("id","LessLength").attr("x",0).attr("y",d).attr("dy",1.1*++h+v+"em").text(n);else{for(;c=l.pop();)f.push(c),p.text(f.join(" ")),p.node().getComputedTextLength()>10&&f.length>1&&(f.pop(),p.text(f.join(" ")),f=[c],p=t.append("tspan").attr("id","WordBreakId").attr("x",0).attr("y",d).attr("dy",1.1*++h+v+"em").text(c));var g=Math.max.apply(Math,u),m=12;o.selectAll("text").each((function(){var t=document.getElementById("WordBreakId"),n=t&&t.getBoundingClientRect(),i=n&&n.height;i>m&&(m=i)}));var y=4;g<=2?y=1:g>2&&g<=6?y=2:g>6&&g<=9&&(y=3),a=(g-y)*m}})),a>0?a:0}}(B);this.state.isRemoveValCalculated&&this.state._removalValueForTextTuncate!==H&&this.setState({_removalValueForTextTuncate:H,isRemoveValCalculated:!1})}var _=void 0,I=void 0,W={yAxisDomainValues:[]};if(this.props.yAxisType&&this.props.yAxisType===Ku.StringAxis)_=this.props.createStringYAxis(P,this.props.stringDatasetForYAxisDomain,this._isRtl,this.props.barwidth);else{if(null===(r=this.props)||void 0===r?void 0:r.secondaryYScaleOptions){var R={margins:this.margins,containerWidth:this.state.containerWidth,containerHeight:this.state.containerHeight-this.state._removalValueForTextTuncate,yAxisElement:this.yAxisElementSecondary,yAxisTickFormat:this.props.yAxisTickFormat,yAxisTickCount:this.props.yAxisTickCount,yMinValue:(null===(u=this.props.secondaryYScaleOptions)||void 0===u?void 0:u.yMinValue)||0,yMaxValue:null!==(l=null===(s=this.props.secondaryYScaleOptions)||void 0===s?void 0:s.yMaxValue)&&void 0!==l?l:100,tickPadding:10,maxOfYVal:null!==(f=null===(c=this.props.secondaryYScaleOptions)||void 0===c?void 0:c.yMaxValue)&&void 0!==f?f:100,yMinMaxValues:this.props.getMinMaxOfYAxis(p,this.props.yAxisType),yAxisPadding:this.props.yAxisPadding};I=this.props.createYAxis(R,this._isRtl,W,this.isIntegralDataset)}_=this.props.createYAxis(P,this._isRtl,W,this.isIntegralDataset)}this.props.chartType===Gu.HorizontalBarChartWithAxis&&_&&(S=this.yAxisElement,L=_,V=this.props.noOfCharsToTruncate||4,A=this.props.showYAxisLablesTooltip||!1,N=this._isRtl,null!==S&&Fu(S).call(L).selectAll(".tick text").each((function(){var t=Fu(this),n=t.text(),i=N?"...".concat(t.text().slice(0,V)):"".concat(t.text().slice(0,V),"..."),e=t.text().length,r=A?1.5:1,o=t.attr("y"),a=t.attr("x"),u=parseFloat(t.attr("dy"));t.text(null).append("tspan").attr("x",a).attr("y",o).attr("id","BaseSpan").attr("dy",u+"em").attr("data-",n),A&&e>V?t.append("tspan").attr("id","showDots").attr("x",N?0:a).attr("y",o).attr("dy",u).attr("dx",r+0+"em").text(i):t.attr("text-align","start").append("tspan").attr("id","LessLength").attr("x",N?0:a).attr("y",o).attr("dx",r+0+"em").text(n)}))),this.props.getAxisData&&this.props.getAxisData(W),this._getData(E,_),T=this.props.children((0,o.Cl)((0,o.Cl)({},this.state),{xScale:E,yScale:_,yScaleSecondary:I})),!this.props.hideTooltip&&v.isCalloutVisible&&(D=this._generateCallout(v,m))}this._classNames=hf(this.props.styles,{theme:this.props.theme,width:this.state._width,height:this.state._height,className:this.props.className,isRtl:this._isRtl});var z,Y={width:this.state.containerWidth,height:this.state.containerHeight};z=this.props.focusZoneDirection===Ss.vertical||this.props.focusZoneDirection?this.props.focusZoneDirection:Ss.horizontal;var j=Y.width-this.margins.left-this.margins.right-this.state.startFromX,X=Y.height-this.margins.bottom-this.margins.top-this.state._removalValueForTextTuncate-this.titleMargin;return a.createElement("div",{id:this.idForGraph,className:this._classNames.root,ref:function(t){return h.chartContainer=t},onMouseLeave:this._onChartLeave},!this._isFirstRender&&a.createElement("div",{id:this.idForDefaultTabbableElement}),a.createElement(Qs,(0,o.Cl)({direction:z,className:this._classNames.chartWrapper,defaultTabbableElement:"#".concat(this.idForDefaultTabbableElement)},y),this._isFirstRender&&a.createElement("div",{id:this.idForDefaultTabbableElement}),a.createElement("svg",(0,o.Cl)({width:Y.width,height:Y.height,role:"region","aria-label":this._getChartDescription(),style:{display:"block"}},b),a.createElement("g",{ref:function(t){h.xAxisElement=t},id:"xAxisGElement".concat(this.idForGraph),transform:"translate(0, ".concat(Y.height-this.margins.bottom-this.state._removalValueForTextTuncate,")"),className:this._classNames.xAxis}),void 0!==this.props.xAxisTitle&&""!==this.props.xAxisTitle&&a.createElement(ff,{content:this.props.xAxisTitle,textProps:{x:this.margins.left+this.state.startFromX+j/2,y:Y.height-this.titleMargin,className:this._classNames.axisTitle,textAnchor:"middle","aria-hidden":!0},maxWidth:j,wrapContent:us}),a.createElement("g",{ref:function(t){h.yAxisElement=t},id:"yAxisGElement".concat(this.idForGraph),transform:"translate(".concat(this._isRtl?Y.width-this.margins.right-this.state.startFromX:this.margins.left+this.state.startFromX,", 0)"),className:this._classNames.yAxis}),this.props.secondaryYScaleOptions&&a.createElement("g",null,a.createElement("g",{ref:function(t){h.yAxisElementSecondary=t},id:"yAxisGElementSecondary".concat(this.idForGraph),transform:"translate(".concat(this._isRtl?this.margins.left:Y.width-this.margins.right,", 0)"),className:this._classNames.yAxis}),void 0!==this.props.secondaryYAxistitle&&""!==this.props.secondaryYAxistitle&&a.createElement(ff,{content:this.props.secondaryYAxistitle,textProps:{x:(X-this.margins.bottom)/2+this.state._removalValueForTextTuncate,y:this._isRtl?this.state.startFromX-this.titleMargin:Y.width-this.margins.right,textAnchor:"middle",transform:"translate(".concat(this._isRtl?this.margins.right/2-this.titleMargin:this.margins.right/2+this.titleMargin,",\n ").concat(Y.height-this.margins.bottom-this.margins.top-this.titleMargin,")rotate(-90)"),className:this._classNames.axisTitle,"aria-hidden":!0},maxWidth:X,wrapContent:us})),T,void 0!==this.props.yAxisTitle&&""!==this.props.yAxisTitle&&a.createElement(ff,{content:this.props.yAxisTitle,textProps:{x:(X-this.margins.bottom)/2+this.state._removalValueForTextTuncate,y:this._isRtl?Y.width-this.margins.right/2+this.titleMargin:this.margins.left/2+this.state.startFromX-this.titleMargin,textAnchor:"middle",transform:"translate(0,\n ".concat(Y.height-this.margins.bottom-this.margins.top-this.titleMargin,")rotate(-90)"),className:this._classNames.axisTitle,"aria-hidden":!0},maxWidth:X,wrapContent:us}))),!this.props.hideLegend&&a.createElement("div",{ref:function(t){return h.legendContainer=t},className:this._classNames.legendContainer},this.props.legendBars),D&&a.createElement(a.Suspense,{fallback:a.createElement("div",null,"Loading...")},D))},n.prototype._generateCallout=function(t,n){return a.createElement(Kn,(0,o.Cl)({hidden:!(!this.props.hideTooltip&&t.isCalloutVisible),shouldUpdateWhenHidden:!0},t),this.props.customizedCallout&&this.props.customizedCallout,!this.props.customizedCallout&&this.props.isCalloutForStack&&this._multiValueCallout(t),!this.props.customizedCallout&&!this.props.isCalloutForStack&&a.createElement(df,(0,o.Cl)({XValue:t.XValue,Legend:t.legend,YValue:t.YValue,color:t.color,culture:this.props.culture},n)))},n.prototype._yValueHoverSubCountsExists=function(t){return!!t&&t.some((function(t){return t.yAxisCalloutData&&"string"!=typeof t.yAxisCalloutData}))},n.prototype._getCalloutContent=function(t,n,i,e){var r,o=e?{}:{marginRight:"16px"},u=void 0!==t.index&&-1!==t.index,s=hf(this.props.styles,{theme:this.props.theme,width:this.state._width,height:this.state._height,className:this.props.className,isRtl:this._isRtl,lineColor:t.color,toDrawShape:u}),l=this.props.culture,c=(0,Jn.U)(t.y,l);if(t.yAxisCalloutData&&"string"!=typeof t.yAxisCalloutData){var f=t.yAxisCalloutData;return a.createElement("div",{style:o},a.createElement("div",{className:"ms-fontWeight-semibold",style:{fontSize:"12pt"}},t.legend," (",c,")"),Object.keys(f).map((function(t){return a.createElement("div",{key:t,className:s.calloutBlockContainer},a.createElement("div",{className:s.calloutlegendText}," ",(0,Jn.U)(t,l)),a.createElement("div",{className:s.calloutContentY},(0,Jn.U)(f[t],l)))})))}return a.createElement("div",{style:i?o:{}},i&&a.createElement("div",{className:"ms-fontWeight-semibold",style:{fontSize:"12pt"}},t.legend," (",c,")"),a.createElement("div",{id:"".concat(n,"_").concat(t.y),className:s.calloutBlockContainer},u&&a.createElement(ec,{svgProps:{className:s.shapeStyles},pathProps:{fill:t.color},shape:ys[t.index%Object.keys(ws).length]}),a.createElement("div",null,a.createElement("div",{className:s.calloutlegendText}," ",t.legend),a.createElement("div",{className:s.calloutContentY},(0,Jn.U)(t.yAxisCalloutData?t.yAxisCalloutData:null!==(r=t.y)&&void 0!==r?r:t.data,l)))))},n.prototype._fitParentContainer=function(){var t=this,n=this.state,i=n.containerWidth,e=n.containerHeight;this._reqID=requestAnimationFrame((function(){var n;if(t.props.hideLegend)n=0;else{var r=t.legendContainer&&getComputedStyle(t.legendContainer);n=(t.legendContainer&&t.legendContainer.getBoundingClientRect().height||t.minLegendContainerHeight)+parseFloat(r&&r.marginTop||"0")+parseFloat(r&&r.marginBottom||"0")}if(t.props.parentRef||t.chartContainer){var o=t.props.parentRef?t.props.parentRef:t.chartContainer,a=t.props.enableReflow&&!t._isFirstRender?Math.max(o.getBoundingClientRect().width,t._calculateChartMinWidth()):o.getBoundingClientRect().width,u=o.getBoundingClientRect().height>n?o.getBoundingClientRect().height:350;(i!==a||e!==u-n)&&t.setState({containerWidth:a,containerHeight:u-n})}}))},n}(a.Component);!function(t){t.shade30="#004578",t.shade20="#005a9e",t.shade10="#106ebe",t.primary="#0078d4",t.tint10="#2b88d8",t.tint20="#c7e0f4",t.tint30="#deecf9",t.tint40="#eff6fc"}(sf||(sf={})),function(t){t.black="#000000",t.gray220="#11100f",t.gray210="#161514",t.gray200="#1b1a19",t.gray190="#201f1e",t.gray180="#252423",t.gray170="#292827",t.gray160="#323130",t.gray150="#3b3a39",t.gray140="#484644",t.gray130="#605e5c",t.gray120="#797775",t.gray110="#8a8886",t.gray100="#979593",t.gray90="#a19f9d",t.gray80="#b3b0ad",t.gray70="#bebbb8",t.gray60="#c8c6c4",t.gray50="#d2d0ce",t.gray40="#e1dfdd",t.gray30="#edebe9",t.gray20="#f3f2f1",t.gray10="#faf9f8",t.white="#ffffff"}(lf||(lf={})),function(t){t.pinkRed10="#750b1c",t.red20="#a4262c",t.red10="#d13438",t.redOrange20="#603d30",t.redOrange10="#da3b01",t.orange30="#8e562e",t.orange20="#ca5010",t.orange10="#ffaa44",t.yellow10="#fce100",t.orangeYellow20="#986f0b",t.orangeYellow10="#c19c00",t.yellowGreen10="#8cbd18",t.green20="#0b6a0b",t.green10="#498205",t.greenCyan10="#00ad56",t.cyan40="#005e50",t.cyan30="#005b70",t.cyan20="#038387",t.cyan10="#00b7c3",t.cyanBlue20="#004e8c",t.cyanBlue10="#0078d4",t.blue10="#4f6bed",t.blueMagenta40="#373277",t.blueMagenta30="#5c2e91",t.blueMagenta20="#8764b8",t.blueMagenta10="#8378de",t.magenta20="#881798",t.magenta10="#c239b3",t.magentaPink20="#9b0062",t.magentaPink10="#e3008c",t.gray40="#393939",t.gray30="#7a7574",t.gray20="#69797e",t.gray10="#a0aeb2"}(cf||(cf={}));var pf=function(){var t,n=(0,l.z)();return!!(null===(t=null==n?void 0:n.navigator)||void 0===t?void 0:t.userAgent)&&n.navigator.userAgent.indexOf("rv:11.0")>-1}(),gf=(0,r.I)(vf,(function(t){var n,i,e,r,a,u,s,l,c=t.className,f=t.theme,h=t.isRtl,d=t.shouldHighlight,v=t.href,p=t.lineColor,g=void 0===p?"transparent":p,m=t.toDrawShape,y=f.fonts;return{root:[f.fonts.medium,{display:"flex",width:"100%",height:"100%",flexDirection:"column",overflow:"hidden"},c],chartWrapper:{overflow:"auto"},axisTitle:[f.fonts.xSmall,{textAlign:"center",fontWeight:Xt.BO.semibold,fontStyle:"normal",lineHeight:Xt.s.medium,color:lf.gray160,fill:f.semanticColors.bodyText}],xAxis:{selectors:{text:[f.fonts.tiny,{fill:f.semanticColors.bodyText,fontWeight:"600",selectors:(n={},n[Xt.NK]={fill:"rgb(179, 179, 179)"},n)}],line:{opacity:.2,stroke:f.semanticColors.bodyText,width:"1px",selectors:(i={},i[Xt.NK]={opacity:.1,stroke:"rgb(179, 179, 179)"},i)},path:{display:"none"}}},yAxis:{selectors:{text:[f.fonts.tiny,{fill:f.semanticColors.bodyText,fontWeight:"600",selectors:(e={},e[Xt.NK]={fill:"rgb(179, 179, 179)"},e)}],path:{display:"none"},line:{opacity:.2,stroke:f.semanticColors.bodyText,selectors:(r={},r[Xt.NK]={opacity:.1,stroke:"rgb(179, 179, 179)"},r)},g:[h&&!pf&&{textAnchor:"end"}]}},opacityChangeOnHover:{opacity:d?"":"0.1",cursor:v?"pointer":"default"},legendContainer:[{marginTop:"8px",marginLeft:"20px"}],calloutContentRoot:[{display:"grid",overflow:"hidden",padding:"11px 16px 10px 16px",backgroundColor:f.semanticColors.bodyBackground,backgroundBlendMode:"normal, luminosity"}],calloutDateTimeContainer:{display:"flex",flexDirection:"row",justifyContent:"space-between"},calloutContentX:[(0,o.Cl)((0,o.Cl)({},y.small),{lineHeight:"16px",opacity:"0.85",color:f.semanticColors.bodySubtext})],calloutBlockContainer:[f.fonts.mediumPlus,{marginTop:"13px",color:f.semanticColors.bodyText},!m&&{selectors:(a={},a[Xt.up]={forcedColorAdjust:"none"},a),borderLeft:"4px solid ".concat(g),paddingLeft:"8px"},m&&{display:"flex"}],shapeStyles:{marginRight:"8px"},calloutlegendText:(0,o.Cl)((0,o.Cl)({},y.small),{lineHeight:"16px",selectors:(u={},u[Xt.NK]={color:"rgb(255, 255, 255)"},u),color:f.semanticColors.bodySubtext}),calloutContentY:[(0,o.Cl)((0,o.Cl)({},y.mediumPlus),{fontWeight:"bold",lineHeight:"22px",selectors:(s={},s[Xt.NK]={color:"rgb(255, 255, 255)"},s)})],descriptionMessage:[f.fonts.small,{selectors:(l={},l[Xt.NK]={color:"rgb(255, 255, 255)"},l),color:f.semanticColors.bodyText,marginTop:"10px",paddingTop:"10px",borderTop:"1px solid ".concat(f.semanticColors.menuDivider)}]}})),mf=(0,dn.J5)((function(t){return(0,dn.J5)((function(n){var i=(0,dn.J5)((function(t){return function(i){return n(i,t)}}));return function(e,r){return t(e,r?i(r):n)}}))}));function yf(t,n){return mf(t)(n)}var bf=function(t){if(void 0===t)return 0;var n=0;return"scrollTop"in t?n=t.scrollTop:"scrollY"in t&&(n=t.scrollY),Math.ceil(n)},xf=function(t,n){"scrollTop"in t?t.scrollTop=n:"scrollY"in t&&t.scrollTo(t.scrollX,n)},wf="spacer-",Mf={top:-1,bottom:-1,left:-1,right:-1,width:0,height:0},Cf=function(t){return t.getBoundingClientRect()},kf=Cf,Sf=Cf,Lf=function(t){function n(n){var i=t.call(this,n)||this;return i._root=a.createRef(),i._surface=a.createRef(),i._pageRefs={},i._getDerivedStateFromProps=function(t,n){return t.items!==i.props.items||t.renderCount!==i.props.renderCount||t.startIndex!==i.props.startIndex||t.version!==i.props.version||!n.hasMounted&&i.props.renderEarly&&(0,Fn.S)()?(i._resetRequiredWindows(),i._requiredRect=null,i._measureVersion++,i._invalidatePageCache(),i._updatePages(t,n)):n},i._onRenderRoot=function(t){var n=t.rootRef,i=t.surfaceElement,e=t.divProps;return a.createElement("div",(0,o.Cl)({ref:n},e),i)},i._onRenderSurface=function(t){var n=t.surfaceRef,i=t.pageElements,e=t.divProps;return a.createElement("div",(0,o.Cl)({ref:n},e),i)},i._onRenderPage=function(t,n){for(var e,r,u,s,l=(e=i.props).onRenderCell,c=e.onRenderCellConditional,f=e.role,h=void 0===(u=(r=t.page).items)?[]:u,d=r.startIndex,v=(0,o.Tt)(t,["page"]),p=void 0===f?"listitem":"presentation",g=[],m=0;m<h.length;m++){var y=d+m,b=h[m],x=i.props.getKey?i.props.getKey(b,y):b&&b.key;null==x&&(x=y);var w=null!=c?c:l,M=null!==(s=null==w?void 0:w(b,y,i.props.ignoreScrollingState?void 0:i.state.isScrolling))&&void 0!==s?s:null;c&&!M||g.push(a.createElement("div",{role:p,className:"ms-List-cell",key:x,"data-list-index":y,"data-automationid":"ListCell"},M))}return a.createElement("div",(0,o.Cl)({},v),g)},Os(i),i.state={pages:[],isScrolling:!1,getDerivedStateFromProps:i._getDerivedStateFromProps,hasMounted:!1},i._estimatedPageHeight=0,i._totalEstimates=0,i._requiredWindowsAhead=0,i._requiredWindowsBehind=0,i._measureVersion=0,i._cachedPageHeights={},i._estimatedPageHeight=0,i._focusedIndex=-1,i._pageCache={},i}return(0,o.C6)(n,t),n.getDerivedStateFromProps=function(t,n){return n.getDerivedStateFromProps(t,n)},Object.defineProperty(n.prototype,"pageRefs",{get:function(){return this._pageRefs},enumerable:!1,configurable:!0}),n.prototype.scrollToIndex=function(t,n,i){void 0===i&&(i=0);for(var e=this.props.startIndex,r=e+this._getRenderCount(),o=this._allowedRect,a=0,u=1,s=e;s<r;s+=u){var l=this._getPageSpecification(this.props,s,o),c=l.height;if(u=l.itemCount,s<=t&&s+u>t){if(n&&this._scrollElement){for(var f=Sf(this._scrollElement),h=bf(this._scrollElement),d={top:h,bottom:h+f.height},v=t-s,p=0;p<v;++p)a+=n(s+p);var g=a+n(t);switch(i){case 1:return void xf(this._scrollElement,a);case 2:return void xf(this._scrollElement,g-f.height);case 3:return void xf(this._scrollElement,(a+g-f.height)/2)}if(a>=d.top&&g<=d.bottom)return;a<d.top||g>d.bottom&&(a=g-f.height)}return void(this._scrollElement&&xf(this._scrollElement,a))}a+=c}},n.prototype.getStartItemIndexInView=function(t){for(var n=0,i=this.state.pages||[];n<i.length;n++){var e=i[n];if(!e.isSpacer&&(this._scrollTop||0)>=e.top&&(this._scrollTop||0)<=e.top+e.height){if(!t){var r=Math.floor(e.height/e.itemCount);return e.startIndex+Math.floor((this._scrollTop-e.top)/r)}for(var o=0,a=e.startIndex;a<e.startIndex+e.itemCount;a++){if(r=t(a),e.top+o<=this._scrollTop&&this._scrollTop<e.top+o+r)return a;o+=r}}}return 0},n.prototype.componentDidMount=function(){this._async=new Bt(this),this._events=new gl(this),this._onAsyncScrollDebounced=this._async.debounce(this._onAsyncScroll,100,{leading:!1,maxWait:500}),this._onAsyncIdleDebounced=this._async.debounce(this._onAsyncIdle,200,{leading:!1}),this._onAsyncResizeDebounced=this._async.debounce(this._onAsyncResize,16,{leading:!1}),this._onScrollingDoneDebounced=this._async.debounce(this._onScrollingDone,500,{leading:!1}),this._scrollElement=et(this._root.current),this._scrollTop=0,this.setState((0,o.Cl)((0,o.Cl)({},this._updatePages(this.props,this.state)),{hasMounted:!0})),this._measureVersion++;var t=function(t){var n;return null!==(n=null==t?void 0:t.window)&&void 0!==n?n:"undefined"!=typeof window?window:void 0}(this.context);this._events.on(t,"resize",this._onAsyncResizeDebounced),this._root.current&&this._events.on(this._root.current,"focus",this._onFocus,!0),this._scrollElement&&(this._events.on(this._scrollElement,"scroll",this._onScroll),this._events.on(this._scrollElement,"scroll",this._onAsyncScrollDebounced))},n.prototype.componentDidUpdate=function(t,n){var i=this.props,e=this.state;this.state.pagesVersion!==n.pagesVersion&&(i.getPageHeight?this._onAsyncIdleDebounced():this._updatePageMeasurements(e.pages)?(this._materializedRect=null,this._hasCompletedFirstRender?this._onAsyncScrollDebounced():(this._hasCompletedFirstRender=!0,this.setState(this._updatePages(i,e)))):this._onAsyncIdleDebounced(),i.onPagesUpdated&&i.onPagesUpdated(e.pages))},n.prototype.componentWillUnmount=function(){var t,n;null===(t=this._async)||void 0===t||t.dispose(),null===(n=this._events)||void 0===n||n.dispose(),delete this._scrollElement},n.prototype.shouldComponentUpdate=function(t,n){var i=this.state.pages,e=n.pages,r=!1;if(!n.isScrolling&&this.state.isScrolling)return!0;if(t.version!==this.props.version)return!0;if(t.className!==this.props.className)return!0;if(t.items===this.props.items&&i.length===e.length)for(var o=0;o<i.length;o++){var a=i[o],u=e[o];if(a.key!==u.key||a.itemCount!==u.itemCount){r=!0;break}}else r=!0;return r},n.prototype.forceUpdate=function(){this._invalidatePageCache(),this._updateRenderRects(this.props,this.state,!0),this.setState(this._updatePages(this.props,this.state)),this._measureVersion++,t.prototype.forceUpdate.call(this)},n.prototype.getTotalListHeight=function(){return this._surfaceRect.height},n.prototype.render=function(){for(var t,n,i,e=(t=this.props).className,r=void 0===(n=t.role)?"list":n,a=t.onRenderSurface,u=t.onRenderRoot,s=void 0===(i=this.state.pages)?[]:i,l=[],c=U(this.props,$),f=0,h=s;f<h.length;f++){var d=h[f];l.push(this._renderPage(d))}var v=a?yf(a,this._onRenderSurface):this._onRenderSurface;return(u?yf(u,this._onRenderRoot):this._onRenderRoot)({rootRef:this._root,pages:s,surfaceElement:v({surfaceRef:this._surface,pages:s,pageElements:l,divProps:{role:"presentation",className:"ms-List-surface"}}),divProps:(0,o.Cl)((0,o.Cl)({},c),{className:G("ms-List",e),role:l.length>0?r:void 0,"aria-label":l.length>0?c["aria-label"]:void 0})})},n.prototype._shouldVirtualize=function(t){void 0===t&&(t=this.props);var n=t.onShouldVirtualize;return!n||n(t)},n.prototype._invalidatePageCache=function(){this._pageCache={}},n.prototype._renderPage=function(t){var n,i,e=this,r=this.props.usePageCache;if(r&&(i=this._pageCache[t.key])&&i.pageElement)return i.pageElement;var o=this._getPageStyle(t),a=(void 0===(n=this.props.onRenderPage)?this._onRenderPage:n)({page:t,className:"ms-List-page",key:t.key,ref:function(n){e._pageRefs[t.key]=n},style:o,role:"presentation"},this._onRenderPage);return r&&0===t.startIndex&&(this._pageCache[t.key]={page:t,pageElement:a}),a},n.prototype._getPageStyle=function(t){var n=this.props.getPageStyle;return(0,o.Cl)((0,o.Cl)({},n?n(t):{}),t.items?{}:{height:t.height})},n.prototype._onFocus=function(t){for(var n=t.target;n!==this._surface.current;){var i=n.getAttribute("data-list-index");if(i){this._focusedIndex=Number(i);break}n=w(n)}},n.prototype._onScroll=function(){this.state.isScrolling||this.props.ignoreScrollingState||this.setState({isScrolling:!0}),this._resetRequiredWindows(),this._onScrollingDoneDebounced()},n.prototype._resetRequiredWindows=function(){this._requiredWindowsAhead=0,this._requiredWindowsBehind=0},n.prototype._onAsyncScroll=function(){var t,n;this._updateRenderRects(this.props,this.state),this._materializedRect&&(t=this._requiredRect,n=this._materializedRect,t.top>=n.top&&t.left>=n.left&&t.bottom<=n.bottom&&t.right<=n.right)||this.setState(this._updatePages(this.props,this.state))},n.prototype._onAsyncIdle=function(){var t,n=(t=this.props).renderedWindowsAhead,i=t.renderedWindowsBehind,e=this._requiredWindowsAhead,r=this._requiredWindowsBehind,o=Math.min(n,e+1),a=Math.min(i,r+1);o===e&&a===r||(this._requiredWindowsAhead=o,this._requiredWindowsBehind=a,this._updateRenderRects(this.props,this.state),this.setState(this._updatePages(this.props,this.state))),(n>o||i>a)&&this._onAsyncIdleDebounced()},n.prototype._onScrollingDone=function(){this.props.ignoreScrollingState||(this.setState({isScrolling:!1}),this._onAsyncIdle())},n.prototype._onAsyncResize=function(){this.forceUpdate()},n.prototype._updatePages=function(t,n){this._requiredRect||this._updateRenderRects(t,n);var i=this._buildPages(t,n),e=n.pages;return this._notifyPageChanges(e,i.pages,this.props),(0,o.Cl)((0,o.Cl)((0,o.Cl)({},n),i),{pagesVersion:{}})},n.prototype._notifyPageChanges=function(t,n,i){var e=i.onPageAdded,r=i.onPageRemoved;if(e||r){for(var o={},a=0,u=t;a<u.length;a++)(c=u[a]).items&&(o[c.startIndex]=c);for(var s=0,l=n;s<l.length;s++){var c;(c=l[s]).items&&(o[c.startIndex]?delete o[c.startIndex]:this._onPageAdded(c))}for(var f in o)o.hasOwnProperty(f)&&this._onPageRemoved(o[f])}},n.prototype._updatePageMeasurements=function(t){var n=!1;if(!this._shouldVirtualize())return n;for(var i=0;i<t.length;i++){var e=t[i];e.items&&(n=this._measurePage(e)||n)}return n},n.prototype._measurePage=function(t){var n=!1,i=this._pageRefs[t.key],e=this._cachedPageHeights[t.startIndex];if(i&&this._shouldVirtualize()&&(!e||e.measureVersion!==this._measureVersion)){var r={width:i.clientWidth,height:i.clientHeight};(r.height||r.width)&&(n=t.height!==r.height,t.height=r.height,this._cachedPageHeights[t.startIndex]={height:r.height,measureVersion:this._measureVersion},this._estimatedPageHeight=Math.round((this._estimatedPageHeight*this._totalEstimates+r.height)/(this._totalEstimates+1)),this._totalEstimates++)}return n},n.prototype._onPageAdded=function(t){var n=this.props.onPageAdded;n&&n(t)},n.prototype._onPageRemoved=function(t){var n=this.props.onPageRemoved;n&&n(t)},n.prototype._buildPages=function(t,n){var i=t.renderCount,e=t.items,r=t.startIndex,a=t.getPageHeight;i=this._getRenderCount(t);for(var u=(0,o.Cl)({},Mf),s=[],l=1,c=0,f=null,h=this._focusedIndex,d=r+i,v=this._shouldVirtualize(t),p=0===this._estimatedPageHeight&&!a,g=this._allowedRect,m=function(i){var o=b._getPageSpecification(t,i,g),a=o.height,m=o.data,x=o.key;l=o.itemCount;var w,M,C=c+a-1,k=y(n.pages,(function(t){return!!t.items&&t.startIndex===i}))>-1,S=!g||C>=g.top&&c<=g.bottom,L=!b._requiredRect||C>=b._requiredRect.top&&c<=b._requiredRect.bottom;if(!p&&(L||S&&k)||!v||h>=i&&h<i+l||i===r){f&&(s.push(f),f=null);var V=Math.min(l,d-i),A=b._createPage(x,e.slice(i,i+V),i,void 0,void 0,m);A.top=c,A.height=a,b._visibleRect&&b._visibleRect.bottom&&(A.isVisible=C>=b._visibleRect.top&&c<=b._visibleRect.bottom),s.push(A),L&&b._allowedRect&&(w=u,M={top:c,bottom:C,height:a,left:g.left,right:g.right,width:g.width},w.top=M.top<w.top||-1===w.top?M.top:w.top,w.left=M.left<w.left||-1===w.left?M.left:w.left,w.bottom=M.bottom>w.bottom||-1===w.bottom?M.bottom:w.bottom,w.right=M.right>w.right||-1===w.right?M.right:w.right,w.width=w.right-w.left+1,w.height=w.bottom-w.top+1)}else f||(f=b._createPage(wf+i,void 0,i,0,void 0,m,!0)),f.height=(f.height||0)+(C-c)+1,f.itemCount+=l;if(c+=C-c+1,p&&v)return"break"},b=this,x=r;x<d&&"break"!==m(x);x+=l);return f&&(f.key=wf+"end",s.push(f)),this._materializedRect=u,(0,o.Cl)((0,o.Cl)({},n),{pages:s,measureVersion:this._measureVersion})},n.prototype._getPageSpecification=function(t,n,i){var e,r,o=t.getPageSpecification;if(o){var a,u=o(n,i,t.items);return{itemCount:a=void 0===(e=u.itemCount)?this._getItemCountForPage(n,i):e,height:void 0===(r=u.height)?this._getPageHeight(n,i,a):r,data:u.data,key:u.key}}return{itemCount:a=this._getItemCountForPage(n,i),height:this._getPageHeight(n,i,a)}},n.prototype._getPageHeight=function(t,n,i){if(this.props.getPageHeight)return this.props.getPageHeight(t,n,i,this.props.items);var e=this._cachedPageHeights[t];return e?e.height:this._estimatedPageHeight||30},n.prototype._getItemCountForPage=function(t,n){return(this.props.getItemCountForPage?this.props.getItemCountForPage(t,n):10)||10},n.prototype._createPage=function(t,n,i,e,r,o,a){void 0===i&&(i=-1),void 0===e&&(e=n?n.length:0),void 0===r&&(r={}),t=t||"page-"+i;var u=this._pageCache[t];return u&&u.page?u.page:{key:t,startIndex:i,itemCount:e,items:n,style:r,top:0,height:0,data:o,isSpacer:a||!1}},n.prototype._getRenderCount=function(t){var n,i=(n=t||this.props).items,e=n.startIndex,r=n.renderCount;return void 0===r?i?i.length-e:0:r},n.prototype._updateRenderRects=function(t,n,i){var e=t.renderedWindowsAhead,r=t.renderedWindowsBehind,a=n.pages;if(this._shouldVirtualize(t)){var u=this._surfaceRect||(0,o.Cl)({},Mf),s=function(t){if(void 0===t)return 0;var n=0;return"scrollHeight"in t?n=t.scrollHeight:"document"in t&&(n=t.document.documentElement.scrollHeight),n}(this._scrollElement),c=bf(this._scrollElement);this._surface.current&&(i||!a||!this._surfaceRect||!s||s!==this._scrollHeight||Math.abs(this._scrollTop-c)>.3333333333333333*this._estimatedPageHeight)&&(u=this._surfaceRect=kf(this._surface.current),this._scrollTop=c),!i&&s&&s===this._scrollHeight||this._measureVersion++,this._scrollHeight=s||0;var f=Math.max(0,-u.top),h=(0,l.z)(this._root.current),d={top:f,left:u.left,bottom:f+h.innerHeight,right:u.right,width:u.width,height:h.innerHeight};this._requiredRect=Vf(d,this._requiredWindowsBehind,this._requiredWindowsAhead),this._allowedRect=Vf(d,r,e),this._visibleRect=d}},n.defaultProps={startIndex:0,onRenderCell:function(t,n,i){return a.createElement(a.Fragment,null,t&&t.name||"")},onRenderCellConditional:void 0,renderedWindowsAhead:2,renderedWindowsBehind:2},n.contextType=Wt,n}(a.Component);function Vf(t,n,i){var e=t.top-n*t.height,r=t.height+(n+i)*t.height;return{top:e,bottom:e+r,height:r,left:t.left,right:t.right,width:t.width}}var Af,Nf=function(t){var n=a.useRef(null);a.useEffect((function(){if(n.current){var i=Fu(n.current),e=t.text.split(/\s+/),r=[],o=i.append("tspan"),a=0;return e.forEach((function(n){r.push(n),o.text(r.join(" "));var e=o.node();e&&e.getComputedTextLength()>t.width&&r.length>1&&(a++,r.pop(),o.text(r.join(" ")),r=[n],o=i.append("tspan").text(n).attr("dy",t.lineHeight).attr("x",t.x))})),i.attr("dy",-a*t.lineHeight),function(){i.selectAll("tspan").remove()}}})),t.lineHeight;var i=(0,o.Tt)(t,["lineHeight"]);return a.createElement("text",(0,o.Cl)({ref:n},i))},Df=function(t){var n,i,e,r=a.useRef(null),o=a.useState(!1),u=o[0],s=o[1],l=null;if(u){var c=t.labelDef.aggregatedIdx.map((function(n){return t.lineDefs[n].onRenderCard})).filter((function(t){return!!t}));c.length>0&&(l=a.createElement(Kn,{target:r.current,onDismiss:function(){return s(!1)},setInitialFocus:!0,role:"dialog"},a.createElement(Qs,{isCircularNavigation:!0,direction:Ss.vertical},a.createElement(Lf,{items:c,role:"alert","aria-roledescription":" ",onRenderCell:function(t){return a.createElement("div",{"data-is-focusable":!0},t&&t())}}))))}var f=t.textColor?Kc(t.textColor,null===(n=t.theme)||void 0===n?void 0:n.isInverted):null===(i=t.theme)||void 0===i?void 0:i.semanticColors.messageText;return e=1===t.labelDef.aggregatedIdx.length?t.lineDefs[t.labelDef.aggregatedIdx[0]].event:t.mergedLabel(t.labelDef.aggregatedIdx.length),a.createElement(a.Fragment,null,a.createElement("g",{ref:r,onClick:function(){return s(!0)},"data-is-focusable":!0,style:{cursor:"pointer"}},a.createElement(Nf,{text:e,x:t.labelDef.x,y:t.textY,width:t.textWidth,lineHeight:t.textLineHeight,textAnchor:t.labelDef.anchor,fontSize:t.textFontSize,fill:f})),l)},Tf=function(t){var n,i,e=t.labelWidth?t.labelWidth:105,r=t.chartYTop-20,u=r+7,s=t.scale.range(),l=t.events.map((function(n){return(0,o.Cl)((0,o.Cl)({},n),{x:t.scale(n.date)})}));l.sort((function(t,n){return+t.date-+n.date}));var c=t.strokeColor?Kc(t.strokeColor,null===(n=t.theme)||void 0===n?void 0:n.isInverted):null===(i=t.theme)||void 0===i?void 0:i.palette.black,f=function(t,n){for(var i=[],e=[],r=0,o=t;r<o.length;r++){var a=o[r],u=n(a);-1===i.indexOf(u)&&(e.push(a),i.push(u))}return e}(l,(function(t){return t.date.toString()})).map((function(n,i){return a.createElement("line",{key:i,x1:n.x,x2:n.x,y1:u,y2:t.chartYBottom,stroke:c,strokeDasharray:"8"})})),h=function(t,n,i,e){var r=function(e,r){if(r===t.length)return[];var a=t[r].x,u=a-n;return a<e?[]:r===t.length-1?e<u?[{x:a,anchor:"end",aggregatedIdx:[r]}]:a+n<i?[{x:a,anchor:"start",aggregatedIdx:[r]}]:[]:o(r,e<u?"end":"start")},o=function(e,o){var a="end"===o?t[e].x:t[e].x+n,u=y(t,(function(t){return t.x>a&&(t.x-n>=a||t.x+n<i)}),e+1);-1===u&&(u=t.length);for(var s=[],l=e;l<u;l++)s.push(l);var c=r(a,u);return c.unshift({x:t[e].x,anchor:o,aggregatedIdx:s}),c};return r(e,0)}(l,e+5,s[1],s[0]).map((function(n,i){return a.createElement(Df,(0,o.Cl)({key:i,theme:t.theme},{lineDefs:l,labelDef:n,textY:r,textWidth:e,textLineHeight:18,textFontSize:"10pt",textColor:t.labelColor,mergedLabel:t.mergedLabel}))}));return a.createElement(a.Fragment,null,f,h)},Of=(0,u.Z)();!function(t){t[t.hoverSize=11]="hoverSize",t[t.invisibleSize=1]="invisibleSize"}(Af||(Af={}));var Pf=Mi((function(t){return t.x})).left,Ef=function(t){function n(n){var i=t.call(this,n)||this;return i._xAxisScale="",i._yAxisScale="",i.eventLabelHeight=36,i._isRTL=(0,s.jI)(),i._getDomainNRangeValues=function(t,n,i,e,r,o,a,u,s){return o===Zu.NumericAxis?fs(t,n,i,r):o===Zu.DateAxis?ds(t,n,i,r,u,e):{dStartValue:0,dEndValue:0,rStartValue:0,rEndValue:0}},i._injectIndexPropertyInLineChartData=function(t){var n,e=void 0!==(n=i.props.allowMultipleShapesForPoints)&&n;return t?t.map((function(t,n){var r,a,u;return u=void 0===t.color?Zc(n,0,null===(r=i.props.theme)||void 0===r?void 0:r.isInverted):Kc(t.color,null===(a=i.props.theme)||void 0===a?void 0:a.isInverted),(0,o.Cl)((0,o.Cl)({},t),{index:e?n:-1,color:u})})):[]},i._getCustomizedCallout=function(){return i.props.onRenderCalloutPerStack?i.props.onRenderCalloutPerStack(i.state.stackCalloutProps):i.props.onRenderCalloutPerDataPoint?i.props.onRenderCalloutPerDataPoint(i.state.dataPointCalloutProps):null},i._getMargins=function(t){i.margins=t},i._initializeLineChartData=function(t,n,e,r,o){i._xAxisScale=t,i._yAxisScale=n,i._renderedColorFillBars=i.props.colorFillBars?i._createColorFillBars(e):[],i.lines=i._createLines(o,e)},i._handleSingleLegendSelectionAction=function(t){i.state.selectedLegend===t.legend?(i.setState({selectedLegend:""}),i._handleLegendClick(t,null)):(i.setState({selectedLegend:t.legend}),i._handleLegendClick(t,t.legend))},i._onHoverCardHide=function(){i.setState({selectedLegendPoints:[],selectedColorBarLegend:[],isSelectedLegend:!1})},i._closeCallout=function(){i.setState({isCalloutVisible:!1})},i._getBoxWidthOfShape=function(t,n,e){var r,o,a,u=void 0!==(o=(r=i.props).allowMultipleShapesForPoints)&&o,s=void 0===(a=r.strokeWidth)?4:a,l=i.state.activePoint;return u?l===t?Af.hoverSize:1===n||e?2.5*s:Af.invisibleSize:l===t?Af.hoverSize:Af.invisibleSize},i._getPath=function(t,n,e,r,o,a){var u,s=void 0!==(u=i.props.allowMultipleShapesForPoints)&&u,l=i._getBoxWidthOfShape(e,r,o),c=s?a%Object.keys(ws).length:0,f=ws[c].widthRatio;return function(t,n,i,e){return["M".concat(t-i/2," ").concat(n,"\n A").concat(i/2," ").concat(i/2," 0 1 0 ").concat(t+i/2," ").concat(n,"\n M").concat(t-i/2," ").concat(n,"\n A ").concat(i/2," ").concat(i/2," 0 1 1 ").concat(t+i/2," ").concat(n,"\n "),"M".concat(t-i/2," ").concat(n-i/2,"\n L").concat(t+i/2," ").concat(n-i/2,"\n L").concat(t+i/2," ").concat(n+i/2,"\n L").concat(t-i/2," ").concat(n+i/2,"\n Z"),"M".concat(t-i/2," ").concat(n-.2886*i,"\n H ").concat(t+i/2,"\n L").concat(t," ").concat(n+.5774*i," Z"),"M".concat(t," ").concat(n-i/2,"\n L").concat(t+i/2," ").concat(n,"\n L").concat(t," ").concat(n+i/2,"\n L").concat(t-i/2," ").concat(n,"\n Z"),"M".concat(t," ").concat(n-.5774*i,"\n L").concat(t+i/2," ").concat(n+.2886*i,"\n L").concat(t-i/2," ").concat(n+.2886*i," Z"),"M".concat(t-.5*i," ").concat(n-.866*i,"\n L").concat(t+.5*i," ").concat(n-.866*i,"\n L").concat(t+i," ").concat(n,"\n L").concat(t+.5*i," ").concat(n+.866*i,"\n L").concat(t-.5*i," ").concat(n+.866*i,"\n L").concat(t-i," ").concat(n,"\n Z"),"M".concat(t," ").concat(n-.851*i,"\n L").concat(t+.6884*i," ").concat(n-.2633*i,"\n L").concat(t+.5001*i," ").concat(n+.6884*i,"\n L").concat(t-.5001*i," ").concat(n+.6884*i,"\n L").concat(t-.6884*i," ").concat(n-.2633*i,"\n Z"),"M".concat(t-.5001*i," ").concat(n-1.207*i,"\n L").concat(t+.5001*i," ").concat(n-1.207*i,"\n L").concat(t+1.207*i," ").concat(n-.5001*i,"\n L").concat(t+1.207*i," ").concat(n+.5001*i,"\n L").concat(t+.5001*i," ").concat(n+1.207*i,"\n L").concat(t-.5001*i," ").concat(n+1.207*i,"\n L").concat(t-1.207*i," ").concat(n+.5001*i,"\n L").concat(t-1.207*i," ").concat(n-.5001*i,"\n Z")][e]}(t,n,l=f>1?l/f:l,c)},i._getPointFill=function(t,n,e,r){var o,a=i.state.activePoint,u=(o=i.props).theme;return o.allowMultipleShapesForPoints,a===n?u.semanticColors.bodyBackground:t},i._createColorFillBars=function(t){var n,e=[];i.state.isSelectedLegend?i._colorFillBars=i.state.selectedColorBarLegend:i._colorFillBars=i.props.colorFillBars;for(var r=vs(i._points),o=0;o<i._colorFillBars.length;o++){var u=i._colorFillBars[o],s=g(u.legend.replace(/\W/g,"")),l=Kc(u.color,null===(n=i.props.theme)||void 0===n?void 0:n.isInverted);u.applyPattern&&e.push(i._getStripePattern(l,o));for(var c=0;c<u.data.length;c++){var f=u.data[c].startX,h=u.data[c].endX,d=i._legendHighlighted(u.legend)||i._noLegendHighlighted()||i.state.isSelectedLegend?i._getColorFillBarOpacity(u):.1;e.push(a.createElement("rect",{fill:u.applyPattern?"url(#".concat(i._colorFillBarPatternId,"_").concat(o,")"):l,fillOpacity:d,x:i._isRTL?i._xAxisScale(h):i._xAxisScale(f),y:i._yAxisScale(r.endValue)-3,width:Math.abs(i._xAxisScale(h)-i._xAxisScale(f)),height:i._yAxisScale(i.props.yMinValue||0)-i._yAxisScale(r.endValue)+3,key:"".concat(s).concat(c)}))}}return e},i._getStripePattern=function(t,n){return a.createElement("pattern",{id:"".concat(i._colorFillBarPatternId,"_").concat(n),width:16,height:16,key:"".concat(i._colorFillBarPatternId,"_").concat(n),patternUnits:"userSpaceOnUse"},a.createElement("path",{d:"M-4,4 l8,-8 M0,16 l16,-16 M12,20 l8,-8",stroke:t,strokeWidth:1.25}))},i._checkInGap=function(t,n,i){for(var e=i,r=!1;e<n.length&&t>n[e].endIndex;)e++;return e<n.length&&t>n[e].startIndex&&t<=n[e].endIndex&&(r=!0),{isInGap:r,gapIndex:e}},i._onMouseOverLargeDataset=function(t,n,e){var r;e.persist();var o=i.props.data.lineChartData,a=i._xAxisScale.invert(nf(e)[0],document.getElementById(i._rectId)),u=Pf(o[t].data,a),s=o[t].data[u-1],l=o[t].data[u],c=null,f=null;if(void 0===s&&void 0!==l)c=l.x,f=u;else if(void 0!==s&&void 0===l)c=s.x,f=u-1;else{var h=void 0,d=void 0,v=void 0;switch(xs(o[t].data[0].x,!0)){case Zu.DateAxis:h=new Date(a).getTime(),d=s.x.getTime(),v=l.x.getTime(),c=Math.abs(h-d)>Math.abs(h-v)?l.x:s.x,f=Math.abs(h-d)>Math.abs(h-v)?u:u-1;break;case Zu.NumericAxis:h=a,d=s.x,v=l.x,c=Math.abs(h-d)>Math.abs(h-v)?l.x:s.x,f=Math.abs(h-d)>Math.abs(h-v)?u:u-1}}var p=(r=o[t].data[f]).xAxisCalloutData,g=r.xAxisCalloutAccessibilityData,m=c instanceof Date?Ns(c,i.props.useUTC):c,y=c instanceof Date?c.getTime():c,x=b(i._calloutPoints,(function(t){return t.x===y})),w=o[t].data[f],M=null===i.state.nearestCircleToHighlight||null!==i.state.nearestCircleToHighlight&&null!==w&&(i.state.nearestCircleToHighlight.x!==w.x||i.state.nearestCircleToHighlight.y!==w.y);x&&M&&(i._uniqueCallOutID="#".concat(i._staticHighlightCircle,"_").concat(t),Fu("#".concat(i._staticHighlightCircle,"_").concat(t)).attr("cx","".concat(i._xAxisScale(w.x))).attr("cy","".concat(i._yAxisScale(w.y))).attr("visibility","visibility"),Fu("#".concat(i._verticalLine)).attr("transform",(function(){return"translate(".concat(i._xAxisScale(w.x),", ").concat(i._yAxisScale(w.y),")")})).attr("visibility","visibility").attr("y2","".concat(n-i._yAxisScale(w.y))),i.setState({nearestCircleToHighlight:w,isCalloutVisible:!0,refSelected:"#".concat(i._staticHighlightCircle,"_").concat(t),stackCalloutProps:x,YValueHover:x.values,dataPointCalloutProps:x,hoverXValue:p||m,xAxisCalloutAccessibilityData:g,activePoint:"",activeLine:t})),x||i.setState({isCalloutVisible:!1,nearestCircleToHighlight:w,activePoint:"",activeLine:t})},i._handleFocus=function(t,n,e,r,o){i._uniqueCallOutID=r;var a=n instanceof Date?Ns(n,i.props.useUTC):n,u=n instanceof Date?n.getTime():n,s=b(i._calloutPoints,(function(t){return t.x===u}));if(s){var l=i;Fu("#".concat(i._verticalLine)).attr("transform",(function(){return"translate(".concat(l._xAxisScale(n),", 0)")})).attr("visibility","visibility"),i._refArray.forEach((function(n){n.index===t&&i.setState({isCalloutVisible:!0,refSelected:n.refElement,hoverXValue:e||""+a,YValueHover:s.values,stackCalloutProps:s,dataPointCalloutProps:s,activePoint:r,xAxisCalloutAccessibilityData:o})}))}else i.setState({activePoint:r})},i._handleHover=function(t,n,e,r,o,a,u){u.persist();var s=t instanceof Date?Ns(t,i.props.useUTC):t,l=t instanceof Date?t.getTime():t,c=i,f=b(i._calloutPoints,(function(t){return t.x===l}));f?(Fu("#".concat(i._verticalLine)).attr("transform",(function(){return"translate(".concat(c._xAxisScale(t),", ").concat(c._yAxisScale(n),")")})).attr("visibility","visibility").attr("y2","".concat(e-c._yAxisScale(n))),i._uniqueCallOutID!==o&&(i._uniqueCallOutID=o,i.setState({isCalloutVisible:!0,refSelected:"#".concat(o),hoverXValue:r||""+s,YValueHover:f.values,stackCalloutProps:f,dataPointCalloutProps:f,activePoint:o,xAxisCalloutAccessibilityData:a,nearestCircleToHighlight:null,activeLine:null}))):i.setState({activePoint:o,nearestCircleToHighlight:null,activeLine:null})},i._getClickHandler=function(t){return t?{onClick:t}:{}},i._handleMouseOut=function(){Fu("#".concat(i._verticalLine)).attr("visibility","hidden")},i._handleChartMouseLeave=function(){i._uniqueCallOutID=null,i.setState({isCalloutVisible:!1,activePoint:"",activeLine:null})},i._handleLegendClick=function(t,n){t.onLegendClick&&t.onLegendClick(n)},i._handleMultipleLineLegendSelectionAction=function(t){var n,e=i.state.selectedLegendPoints.reduce((function(n,i,e){return n>-1||i.legend!==t.legend?n:e}),-1);n=-1===e?(0,o.fX)((0,o.fX)([],i.state.selectedLegendPoints,!0),[t],!1):i.state.selectedLegendPoints.slice(0,e).concat(i.state.selectedLegendPoints.slice(e+1)),i.props.data&&n.length===i.props.data.lineChartData.length&&(i.props.colorFillBars&&i.props.colorFillBars.length===i.state.selectedColorBarLegend.length||!i.props.colorFillBars)?i._clearMultipleLegendSelections():n.length||i.state.selectedColorBarLegend.length?i.setState({selectedLegendPoints:n,isSelectedLegend:!0}):i._clearMultipleLegendSelections();var r=n.map((function(t){return t.legend}));i._handleLegendClick(t,r)},i._handleMultipleColorFillBarLegendSelectionAction=function(t){var n,e=i.state.selectedColorBarLegend.reduce((function(n,i,e){return n>-1||i.legend!==t.legend?n:e}),-1);(n=-1===e?(0,o.fX)((0,o.fX)([],i.state.selectedColorBarLegend,!0),[t],!1):i.state.selectedColorBarLegend.slice(0,e).concat(i.state.selectedColorBarLegend.slice(e+1))).length===(i.props.colorFillBars&&i.props.colorFillBars.length)&&(i.props.data&&i.props.data.lineChartData.length===i.state.selectedLegendPoints.length||!i.props.data)?i._clearMultipleLegendSelections():n.length||i.state.selectedLegendPoints.length?i.setState({selectedColorBarLegend:n,isSelectedLegend:!0}):i._clearMultipleLegendSelections();var r=n.map((function(t){return t.legend}));i._handleLegendClick(t,r)},i._clearMultipleLegendSelections=function(){i.setState({selectedColorBarLegend:[],selectedLegendPoints:[],isSelectedLegend:!1})},i._legendHighlighted=function(t){return i.state.selectedLegend===t||""===i.state.selectedLegend&&i.state.activeLegend===t},i._noLegendHighlighted=function(){return""===i.state.selectedLegend&&""===i.state.activeLegend},i._getColorFillBarOpacity=function(t){return t.applyPattern?1:.4},i._getAriaLabel=function(t,n){var e,r=i._points[t],o=r.data[n],a=o.x instanceof Date?Ns(o.x,i.props.useUTC):o.x,u=o.xAxisCalloutData||a,s=r.legend,l=o.yAxisCalloutData||o.y;return(null===(e=o.callOutAccessibilityData)||void 0===e?void 0:e.ariaLabel)||"".concat(u,". ").concat(s,", ").concat(l,".")},i._getChartTitle=function(){var t,n=(t=i.props.data).chartTitle,e=t.lineChartData;return(n?"".concat(n,". "):"")+"Line chart with ".concat((null==e?void 0:e.length)||0," lines. ")},i.state={hoverXValue:"",activeLegend:"",YValueHover:[],refSelected:"",selectedLegend:"",isCalloutVisible:!1,selectedLegendPoints:[],selectedColorBarLegend:[],isSelectedLegend:!1,activePoint:"",nearestCircleToHighlight:null,activeLine:null},i._refArray=[],i._points=i._injectIndexPropertyInLineChartData(i.props.data.lineChartData),i._colorFillBars=[],i._calloutPoints=as(i._points)||[],i._circleId=g("circle"),i._lineId=g("lineID"),i._borderId=g("borderID"),i._verticalLine=g("verticalLine"),i._colorFillBarPatternId=g("colorFillBarPattern"),i._tooltipId=g("LineChartTooltipId_"),i._rectId=g("containerRectLD"),i._staticHighlightCircle=g("staticHighlightCircle"),i._createLegendsMemoized=(0,dn.J9)((function(t){return i._createLegends(t)})),i._firstRenderOptimization=!0,i._emptyChartId=g("_LineChart_empty"),n.eventAnnotationProps&&n.eventAnnotationProps.labelHeight&&(i.eventLabelHeight=n.eventAnnotationProps.labelHeight),i}return(0,o.C6)(n,t),n.prototype.componentDidUpdate=function(t){t.height===this.props.height&&t.width===this.props.width&&t.data===this.props.data||(this._points=this._injectIndexPropertyInLineChartData(this.props.data.lineChartData),this._calloutPoints=as(this._points)||[])},n.prototype.render=function(){var t,n=this,i=(t=this.props).tickValues,e=t.tickFormat,r=t.eventAnnotationProps,u=t.legendProps,s=t.data;this._points=this._injectIndexPropertyInLineChartData(s.lineChartData);var l=cs(this._points),c=this._points;u&&u.canSelectMultipleLegends&&(c=this.state.selectedLegendPoints.length>=1?this.state.selectedLegendPoints:this._points,this._calloutPoints=as(c));var f=null;this.props.hideLegend||(f=this._createLegendsMemoized(this._points));var h=(0,o.Cl)({isCalloutVisible:this.state.isCalloutVisible,directionalHint:x.topAutoEdge,YValueHover:this.state.YValueHover,hoverXValue:this.state.hoverXValue,id:"toolTip".concat(this._uniqueCallOutID),target:this.state.refSelected,isBeakVisible:!1,gapSpace:15,onDismiss:this._closeCallout,preventDismissOnEvent:function(){return!0},hidden:!(!this.props.hideTooltip&&this.state.isCalloutVisible),descriptionMessage:this.props.getCalloutDescriptionMessage&&this.state.stackCalloutProps?this.props.getCalloutDescriptionMessage(this.state.stackCalloutProps):void 0,"data-is-focusable":!0,xAxisCalloutAccessibilityData:this.state.xAxisCalloutAccessibilityData},this.props.calloutProps),d={tickValues:i,tickFormat:e};return this._isChartEmpty()?a.createElement("div",{id:this._emptyChartId,role:"alert",style:{opacity:"0"},"aria-label":"Graph has no data to display"}):a.createElement(gf,(0,o.Cl)({},this.props,{chartTitle:this._getChartTitle(),points:c,chartType:Gu.LineChart,isCalloutForStack:!0,calloutProps:h,tickParams:d,legendBars:f,createYAxis:es,getmargins:this._getMargins,getMinMaxOfYAxis:vs,getGraphData:this._initializeLineChartData,xAxisType:l?Zu.DateAxis:Zu.NumericAxis,customizedCallout:this._getCustomizedCallout(),getDomainNRangeValues:this._getDomainNRangeValues,createStringYAxis:os,onChartMouseLeave:this._handleChartMouseLeave,enableFirstRenderOptimization:this.props.enablePerfOptimization&&this._firstRenderOptimization,children:function(t){return n._xAxisScale=t.xScale,n._yAxisScale=t.yScale,a.createElement(a.Fragment,null,a.createElement("g",null,a.createElement("line",{x1:0,y1:0,x2:0,y2:t.containerHeight,stroke:"#323130",id:n._verticalLine,visibility:"hidden",strokeDasharray:"5,5"}),n.props.optimizeLargeData?a.createElement("rect",{id:n._rectId,width:t.containerWidth,height:t.containerHeight,fill:"transparent"}):a.createElement(a.Fragment,null),a.createElement("g",null,n._renderedColorFillBars,n.lines),r&&a.createElement(Tf,(0,o.Cl)({theme:n.props.theme},r,{scale:t.xScale,chartYTop:n.margins.top+n.eventLabelHeight,chartYBottom:t.containerHeight-35}))))}}))},n.prototype._createLegends=function(t){var n,i,e=this,r=(n=this.props).legendProps,u=void 0!==(i=n.allowMultipleShapesForPoints)&&i,s=!(!r||!r.canSelectMultipleLegends),l=t.map((function(t){var n=t.color;return(0,o.Cl)((0,o.Cl)({title:t.legend,color:n,action:function(){s?e._handleMultipleLineLegendSelectionAction(t):e._handleSingleLegendSelectionAction(t)},onMouseOutAction:function(){e.setState({activeLegend:""})},hoverAction:function(){e._handleChartMouseLeave(),e.setState({activeLegend:t.legend})}},t.legendShape&&{shape:t.legendShape}),u&&{shape:ys[t.index%Object.keys(ws).length]})})),c=this.props.colorFillBars?this.props.colorFillBars.map((function(t,n){var i,r=t.legend,o=Kc(t.color,null===(i=e.props.theme)||void 0===i?void 0:i.isInverted);return{title:r,color:o,action:function(){s?e._handleMultipleColorFillBarLegendSelectionAction(t):e._handleSingleLegendSelectionAction(t)},onMouseOutAction:function(){e.setState({activeLegend:""})},hoverAction:function(){e._handleChartMouseLeave(),e.setState({activeLegend:r})},opacity:e._getColorFillBarOpacity(t),stripePattern:t.applyPattern}})):[];return a.createElement(ac,(0,o.Cl)({legends:(0,o.fX)((0,o.fX)([],l,!0),c,!0),enabledWrapLines:this.props.enabledLegendsWrapLines,overflowProps:this.props.legendsOverflowProps,focusZonePropsInHoverCard:this.props.focusZonePropsForLegendsInHoverCard,overflowText:this.props.legendsOverflowText},s&&{onLegendHoverCardLeave:this._onHoverCardHide},this.props.legendProps))},n.prototype._createLines=function(t,n){var i,e,r,u,s,l,c,f,h,d,v,p,g,m,y,b,x,w,M,C,k,S,L,V,A=this,N=[];this.state.isSelectedLegend?this._points=this.state.selectedLegendPoints:this._points=this._injectIndexPropertyInLineChartData(this.props.data.lineChartData);for(var D=function(t){var D,O=[],P=[],E=[],F=T._points[t].legend,B=T._points[t].color,H=T.state.activePoint,_=T.props.theme,I=n-T.margins.bottom+6;if(1===T._points[t].data.length){var W=(D=T._points[t].data[0]).x,R=D.y,z=D.xAxisCalloutData,Y=D.xAxisCalloutAccessibilityData,j="".concat(T._circleId,"_").concat(t),X=T._legendHighlighted(F)||T._noLegendHighlighted()||T.state.isSelectedLegend;E.push(a.createElement("circle",(0,o.Cl)({id:j,key:j,r:H===j?5.5:3.5,cx:T._xAxisScale(W),cy:T._yAxisScale(R),fill:H===j?_.semanticColors.bodyBackground:B,opacity:X?1:.1,onMouseOver:T._handleHover.bind(T,W,R,I,z,j,Y),onMouseMove:T._handleHover.bind(T,W,R,I,z,j,Y),onMouseOut:T._handleMouseOut,strokeWidth:H===j?4:0,stroke:H===j?B:"",role:"img","aria-label":T._getAriaLabel(t,0),"data-is-focusable":X,ref:function(t){A._refCallback(t,j)},onFocus:function(){return A._handleFocus(j,W,z,j,Y)},onBlur:T._handleMouseOut},T._getClickHandler(T._points[t].data[0].onDataPointClick))))}var q=0,$=null!==(e=null===(i=T._points[t].gaps)||void 0===i?void 0:i.sort((function(t,n){return t.startIndex-n.startIndex})))&&void 0!==e?e:[];if(T.props.optimizeLargeData&&T._points[t].data.length>1){for(var U=uf().x((function(t){return A._xAxisScale(t[0])})).y((function(t){return A._yAxisScale(t[1])})).curve(rf),G="".concat(T._lineId,"_").concat(t),Z="".concat(T._borderId,"_").concat(t),K=(null===(r=T._points[t].lineOptions)||void 0===r?void 0:r.strokeWidth)||T.props.strokeWidth||4,J=(X=T._legendHighlighted(F)||T._noLegendHighlighted()||T.state.isSelectedLegend,[]),Q=0;Q<T._points[t].data.length;Q++)J.push([T._points[t].data[Q].x instanceof Date?T._points[t].data[Q].x.getTime():T._points[t].data[Q].x,T._points[t].data[Q].y]);if(X){var tt=(null===(u=T._points[t].lineOptions)||void 0===u?void 0:u.lineBorderWidth)?Number.parseFloat(T._points[t].lineOptions.lineBorderWidth.toString()):0;tt>0&&P.push(a.createElement("path",{id:Z,key:Z,d:U(J),fill:"transparent",strokeLinecap:null!==(l=null===(s=T._points[t].lineOptions)||void 0===s?void 0:s.strokeLinecap)&&void 0!==l?l:"round",strokeWidth:Number.parseFloat(K.toString())+tt,stroke:(null===(c=T._points[t].lineOptions)||void 0===c?void 0:c.lineBorderColor)||_.semanticColors.bodyBackground,opacity:1})),O.push(a.createElement("path",(0,o.Cl)({id:G,key:G,d:U(J),fill:"transparent","data-is-focusable":!0,stroke:B,strokeWidth:K,strokeLinecap:null!==(h=null===(f=T._points[t].lineOptions)||void 0===f?void 0:f.strokeLinecap)&&void 0!==h?h:"round",onMouseMove:T._onMouseOverLargeDataset.bind(T,t,I),onMouseOver:T._onMouseOverLargeDataset.bind(T,t,I),onMouseOut:T._handleMouseOut},T._getClickHandler(T._points[t].onLineClick),{opacity:1})))}else O.push(a.createElement("path",{id:G,key:G,d:U(J),fill:"transparent","data-is-focusable":!1,stroke:B,strokeWidth:K,strokeLinecap:null!==(v=null===(d=T._points[t].lineOptions)||void 0===d?void 0:d.strokeLinecap)&&void 0!==v?v:"round",opacity:.1}));var nt=null!==T.state.activeLine&&T.state.activeLine===t;E.push(a.createElement("circle",{id:"".concat(T._staticHighlightCircle,"_").concat(t),key:"".concat(T._staticHighlightCircle,"_").concat(t),r:5.5,cx:0,cy:0,fill:_.semanticColors.bodyBackground,strokeWidth:4,stroke:B,visibility:nt?"visibility":"hidden",onMouseMove:T._onMouseOverLargeDataset.bind(T,t,I),onMouseOver:T._onMouseOverLargeDataset.bind(T,t,I),onMouseOut:T._handleMouseOut}))}else if(!T.props.optimizeLargeData)for(var it=function(n){var i,e,r,u=T._checkInGap(n,$,q),s=u.isInGap;q=u.gapIndex;var l="".concat(T._lineId,"_").concat(t,"_").concat(n),c="".concat(T._borderId,"_").concat(t,"_").concat(n),f="".concat(T._circleId,"_").concat(t,"_").concat(n),h=(i=T._points[t].data[n-1]).x,d=i.y,v=i.xAxisCalloutData,N=i.xAxisCalloutAccessibilityData,D=(e=T._points[t].data[n]).x,W=e.y,R=T._getPath(T._xAxisScale(h),T._yAxisScale(d),f,n,!1,T._points[t].index),z=(null===(p=T._points[t].lineOptions)||void 0===p?void 0:p.strokeWidth)||T.props.strokeWidth||4,Y=T._legendHighlighted(F)||T._noLegendHighlighted()||T.state.isSelectedLegend,j=T._points[t].hideNonActiveDots&&H!==f;if(E.push(a.createElement("path",(0,o.Cl)({id:f,key:f,d:R,"data-is-focusable":Y,onMouseOver:T._handleHover.bind(T,h,d,I,v,f,N),onMouseMove:T._handleHover.bind(T,h,d,I,v,f,N),onMouseOut:T._handleMouseOut,onFocus:function(){return A._handleFocus(l,h,v,f,N)},onBlur:T._handleMouseOut},T._getClickHandler(T._points[t].data[n-1].onDataPointClick),{opacity:Y&&!j?1:.01,fill:T._getPointFill(B,f,n,!1),stroke:B,strokeWidth:z,role:"img","aria-label":T._getAriaLabel(t,n-1)}))),n+1===T._points[t].data.length){var X="".concat(f).concat(n,"L"),U="".concat(f).concat(n,"D"),G=T._points[t].hideNonActiveDots&&H!==X;R=T._getPath(T._xAxisScale(D),T._yAxisScale(W),X,n,!0,T._points[t].index);var Z=(r=T._points[t].data[n]).xAxisCalloutData,K=r.xAxisCalloutAccessibilityData;E.push(a.createElement(a.Fragment,{key:"".concat(X,"_container")},a.createElement("path",(0,o.Cl)({id:X,key:X,d:R,"data-is-focusable":Y,onMouseOver:T._handleHover.bind(T,D,W,I,Z,X,K),onMouseMove:T._handleHover.bind(T,D,W,I,Z,X,K),onMouseOut:T._handleMouseOut,onFocus:function(){return A._handleFocus(l,D,Z,X,K)},onBlur:T._handleMouseOut},T._getClickHandler(T._points[t].data[n].onDataPointClick),{opacity:Y&&!G?1:.01,fill:T._getPointFill(B,X,n,!0),stroke:B,strokeWidth:z,role:"img","aria-label":T._getAriaLabel(t,n)})),a.createElement("circle",{id:U,key:U,r:8,cx:T._xAxisScale(D),cy:T._yAxisScale(W),opacity:0,width:0,onMouseOver:T._handleHover.bind(T,D,W,I,Z,X,K),onMouseMove:T._handleHover.bind(T,D,W,I,Z,X,K),onMouseOut:T._handleMouseOut,strokeWidth:0,focusable:!1,onBlur:T._handleMouseOut})))}if(Y){if(!s){var J=(null===(g=T._points[t].lineOptions)||void 0===g?void 0:g.lineBorderWidth)?Number.parseFloat(T._points[t].lineOptions.lineBorderWidth.toString()):0;J>0&&P.push(a.createElement("line",{id:c,key:c,x1:T._xAxisScale(h),y1:T._yAxisScale(d),x2:T._xAxisScale(D),y2:T._yAxisScale(W),strokeLinecap:null!==(y=null===(m=T._points[t].lineOptions)||void 0===m?void 0:m.strokeLinecap)&&void 0!==y?y:"round",strokeWidth:Number.parseFloat(z.toString())+J,stroke:(null===(b=T._points[t].lineOptions)||void 0===b?void 0:b.lineBorderColor)||_.semanticColors.bodyBackground,opacity:1})),O.push(a.createElement("line",(0,o.Cl)({id:l,key:l,x1:T._xAxisScale(h),y1:T._yAxisScale(d),x2:T._xAxisScale(D),y2:T._yAxisScale(W),strokeWidth:z,ref:function(t){A._refCallback(t,l)},onMouseOver:T._handleHover.bind(T,h,d,I,v,f,N),onMouseMove:T._handleHover.bind(T,h,d,I,v,f,N),onMouseOut:T._handleMouseOut,stroke:B,strokeLinecap:null!==(w=null===(x=T._points[t].lineOptions)||void 0===x?void 0:x.strokeLinecap)&&void 0!==w?w:"round",strokeDasharray:null===(M=T._points[t].lineOptions)||void 0===M?void 0:M.strokeDasharray,strokeDashoffset:null===(C=T._points[t].lineOptions)||void 0===C?void 0:C.strokeDashoffset,opacity:1},T._getClickHandler(T._points[t].onLineClick))))}}else s||O.push(a.createElement("line",{id:l,key:l,x1:T._xAxisScale(h),y1:T._yAxisScale(d),x2:T._xAxisScale(D),y2:T._yAxisScale(W),strokeWidth:z,stroke:B,strokeLinecap:null!==(S=null===(k=T._points[t].lineOptions)||void 0===k?void 0:k.strokeLinecap)&&void 0!==S?S:"round",strokeDasharray:null===(L=T._points[t].lineOptions)||void 0===L?void 0:L.strokeDasharray,strokeDashoffset:null===(V=T._points[t].lineOptions)||void 0===V?void 0:V.strokeDashoffset,opacity:.1}))},et=1;et<T._points[t].data.length;et++)it(et);N.push(a.createElement("g",{key:"line_".concat(t),role:"region","aria-label":"".concat(F,", line ").concat(t+1," of ").concat(T._points.length," with ").concat(T._points[t].data.length," data points.")},P,O,E))},T=this,O=this._points.length-1;O>=0;O--)D(O);var P=Of(this.props.styles,{theme:this.props.theme});if(!this.props.showXAxisLablesTooltip)try{document.getElementById(this._tooltipId)&&document.getElementById(this._tooltipId).remove()}catch(t){}if(!this.props.wrapXAxisLables&&this.props.showXAxisLablesTooltip){var E=Fu(t).call(this._xAxisScale);try{document.getElementById(this._tooltipId)&&document.getElementById(this._tooltipId).remove()}catch(t){}var F={tooltipCls:P.tooltip,id:this._tooltipId,xAxis:E};E&&ls(F)}return N},n.prototype._refCallback=function(t,n){this._refArray.push({index:n,refElement:t})},n.prototype._isChartEmpty=function(){return!(this.props.data&&this.props.data.lineChartData&&this.props.data.lineChartData.length>0&&this.props.data.lineChartData.filter((function(t){return t.data.length})).length>0)},n.defaultProps={enableReflow:!0,useUTC:!0},n}(a.Component),Ff=(0,r.I)(Ef,(function(t){return{tooltip:(0,o.Cl)((0,o.Cl)({},t.theme.fonts.medium),{display:"flex",flexDirection:"column",padding:"8px",position:"absolute",textAlign:"center",top:"0px",background:t.theme.semanticColors.bodyBackground,borderRadius:"2px",pointerEvents:"none"})}}));function Bf(t,n){if((r=t.length)>1)for(var i,e,r,o=1,a=t[n[0]],u=a.length;o<r;++o)for(e=a,a=t[n[o]],i=0;i<u;++i)a[i][1]+=a[i][0]=isNaN(e[i][1])?e[i][0]:e[i][1]}function Hf(t){for(var n=t.length,i=new Array(n);--n>=0;)i[n]=n;return i}function _f(t,n){return t[n]}function If(t){const n=[];return n.key=t,n}function Wf(t,n,i){var e=null,r=sc(!0),o=null,a=rf,u=null,s=Dc(l);function l(l){var c,f,h,d,v,p=(l=uc(l)).length,g=!1,m=new Array(p),y=new Array(p);for(null==o&&(u=a(v=s())),c=0;c<=p;++c){if(!(c<p&&r(d=l[c],c,l))===g)if(g=!g)f=c,u.areaStart(),u.lineStart();else{for(u.lineEnd(),u.lineStart(),h=c-1;h>=f;--h)u.point(m[h],y[h]);u.lineEnd(),u.areaEnd()}g&&(m[c]=+t(d,c,l),y[c]=+n(d,c,l),u.point(e?+e(d,c,l):m[c],i?+i(d,c,l):y[c]))}if(v)return u=null,v+""||null}function c(){return uf().defined(r).curve(a).context(o)}return t="function"==typeof t?t:void 0===t?of:sc(+t),n="function"==typeof n?n:sc(void 0===n?0:+n),i="function"==typeof i?i:void 0===i?af:sc(+i),l.x=function(n){return arguments.length?(t="function"==typeof n?n:sc(+n),e=null,l):t},l.x0=function(n){return arguments.length?(t="function"==typeof n?n:sc(+n),l):t},l.x1=function(t){return arguments.length?(e=null==t?null:"function"==typeof t?t:sc(+t),l):e},l.y=function(t){return arguments.length?(n="function"==typeof t?t:sc(+t),i=null,l):n},l.y0=function(t){return arguments.length?(n="function"==typeof t?t:sc(+t),l):n},l.y1=function(t){return arguments.length?(i=null==t?null:"function"==typeof t?t:sc(+t),l):i},l.lineX0=l.lineY0=function(){return c().x(t).y(n)},l.lineY1=function(){return c().x(t).y(i)},l.lineX1=function(){return c().x(e).y(n)},l.defined=function(t){return arguments.length?(r="function"==typeof t?t:sc(!!t),l):r},l.curve=function(t){return arguments.length?(a=t,null!=o&&(u=a(o)),l):a},l.context=function(t){return arguments.length?(null==t?o=u=null:u=a(o=t),l):o},l}function Rf(t){return t<0?-1:1}function zf(t,n,i){var e=t._x1-t._x0,r=n-t._x1,o=(t._y1-t._y0)/(e||r<0&&-0),a=(i-t._y1)/(r||e<0&&-0),u=(o*r+a*e)/(e+r);return(Rf(o)+Rf(a))*Math.min(Math.abs(o),Math.abs(a),.5*Math.abs(u))||0}function Yf(t,n){var i=t._x1-t._x0;return i?(3*(t._y1-t._y0)/i-n)/2:n}function jf(t,n,i){var e=t._x0,r=t._y0,o=t._x1,a=t._y1,u=(o-e)/3;t._context.bezierCurveTo(e+u,r+u*n,o-u,a-u*i,o,a)}function Xf(t){this._context=t}function qf(t){this._context=t}function $f(t){return new Xf(t)}Xf.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=this._t0=NaN,this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x1,this._y1);break;case 3:jf(this,this._t0,Yf(this,this._t0))}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,n){var i=NaN;if(n=+n,(t=+t)!==this._x1||n!==this._y1){switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(t,n):this._context.moveTo(t,n);break;case 1:this._point=2;break;case 2:this._point=3,jf(this,Yf(this,i=zf(this,t,n)),i);break;default:jf(this,this._t0,i=zf(this,t,n))}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=n,this._t0=i}}},(function(t){this._context=new qf(t)}.prototype=Object.create(Xf.prototype)).point=function(t,n){Xf.prototype.point.call(this,n,t)},qf.prototype={moveTo:function(t,n){this._context.moveTo(n,t)},closePath:function(){this._context.closePath()},lineTo:function(t,n){this._context.lineTo(n,t)},bezierCurveTo:function(t,n,i,e,r,o){this._context.bezierCurveTo(n,t,e,i,o,r)}};var Uf,Gf=(0,u.Z)(),Zf=Mi((function(t){return t.x})).left;!function(t){t.show="visibility",t.hide="hidden"}(Uf||(Uf={}));var Kf=function(t){function n(n){var i=t.call(this,n)||this;return i._getDomainNRangeValues=function(t,n,i,e,r,o,a,u){return o===Zu.NumericAxis?fs(t,n,i,r):o===Zu.DateAxis?ds(t,n,i,r,u,e):{dStartValue:0,dEndValue:0,rStartValue:0,rEndValue:0}},i._getMargins=function(t){i.margins=t},i._onRectMouseMove=function(t){var n;t.persist();var e=i.props.data.lineChartData,r=i._xAxisRectScale.invert(nf(t)[0],document.getElementById(i._rectId)),o=Zf(e[0].data,r),a=e[0].data[o-1],u=e[0].data[o],s=null,l=null,c=e[0].data.length>0?xs(e[0].data[0].x,!0):null;if(void 0===a&&void 0!==u)s=u.x,l=o;else if(void 0!==a&&void 0===u)s=a.x,l=o-1;else{var f=void 0,h=void 0,d=void 0;switch(c){case Zu.DateAxis:f=new Date(r).getTime(),h=a.x.getTime(),d=u.x.getTime(),s=Math.abs(f-h)>Math.abs(f-d)?u.x:a.x,l=Math.abs(f-h)>Math.abs(f-d)?o:o-1;break;case Zu.NumericAxis:f=r,h=a.x,d=u.x,s=Math.abs(f-h)>Math.abs(f-d)?u.x:a.x,l=Math.abs(f-h)>Math.abs(f-d)?o:o-1}}var v=(n=e[0].data[l]).xAxisCalloutData,p=n.xAxisCalloutAccessibilityData,g=s instanceof Date?Ns(s,i.props.useUTC):s,m=s instanceof Date?s.getTime():s,y=b(i._calloutPoints,(function(t){return t.x===m})),x=c===Zu.DateAxis?s.getTime():s,w=i.state.nearestCircleToHighlight!==x;y&&w&&!i.state.isShowCalloutPending&&i.setState({nearestCircleToHighlight:x,isCalloutVisible:!1,isShowCalloutPending:!0,lineXValue:i._xAxisRectScale(s),displayOfLine:Uf.show,isCircleClicked:!1,stackCalloutProps:y,YValueHover:y.values,dataPointCalloutProps:y,hoverXValue:v||g,xAxisCalloutAccessibilityData:p,activePoint:""}),y||i.setState({isCalloutVisible:!1,nearestCircleToHighlight:x,displayOfLine:Uf.hide,isCircleClicked:!1})},i._onRectMouseOut=function(){},i._handleChartMouseLeave=function(){i.setState({refSelected:null,isCalloutVisible:!1,nearestCircleToHighlight:null,lineXValue:0,displayOfLine:Uf.hide,isCircleClicked:!1,stackCalloutProps:void 0,dataPointCalloutProps:void 0,hoverXValue:void 0,YValueHover:[]})},i._getStackedData=function(t,n){var e=function(){var t=sc([]),n=Hf,i=Bf,e=_f;function r(r){var o,a,u=Array.from(t.apply(this,arguments),If),s=u.length,l=-1;for(const t of r)for(o=0,++l;o<s;++o)(u[o][l]=[0,+e(t,u[o].key,l,r)]).data=t;for(o=0,a=uc(n(u));o<s;++o)u[a[o]].index=o;return i(u,a),u}return r.keys=function(n){return arguments.length?(t="function"==typeof n?n:sc(Array.from(n)),r):t},r.value=function(t){return arguments.length?(e="function"==typeof t?t:sc(+t),r):e},r.order=function(t){return arguments.length?(n=null==t?Hf:"function"==typeof t?t:sc(Array.from(t)),r):n},r.offset=function(t){return arguments.length?(i=null==t?Bf:t,r):i},r}().keys(t)(n),r=gi(e[e.length-1],(function(t){return t[1]})),o=[];return e.forEach((function(t){var n=[];t.forEach((function(t){n.push({values:t,xVal:t.data.xVal})})),o.push(n)})),i._isMultiStackChart=!!(o&&o.length>1),{stackedData:o,maxOfYVal:r}},i._createDataSet=function(t){if(i.props.enablePerfOptimization&&i._enableComputationOptimization){var n=[],e=[],r=[],o=[],a=as(t);t&&t.length&&t.forEach((function(t){r.push(t.color),o.push(t.opacity||1),n.push.apply(n,t.data)}));var u={};n.forEach((function(t){var n=t.x instanceof Date?t.x.toLocaleString():t.x;u[n]?u[n].push(t):u[n]=[t]})),Object.keys(u).forEach((function(t){var n=u[t],i={};n.forEach((function(t,n){i.xVal=t.x,i["chart".concat(n)]=t.y})),e.push(i)}));for(var s=e&&Object.keys(e[0]).length,l=[],c=0;c<s-1;c++){var f="chart".concat(c);l.push(f)}var h=i._getStackedData(l,e);return{colors:r,opacity:o,keys:l,stackedInfo:h,calloutPoints:a}}var d=[],v=[],p=[],g=[];a=as(t),t&&t.length&&t.forEach((function(t){p.push(t.color),g.push(t.opacity||1),d.push.apply(d,t.data)}));for(var m=d,y=function(){var t=m[0].x instanceof Date?m[0].x.toLocaleString():m[0].x,n=m.filter((function(n){return(n.x instanceof Date?n.x.toLocaleString():n.x)===t})),i={};n.forEach((function(t,n){i.xVal=t.x,i["chart".concat(n)]=t.y})),v.push(i);var e=m[0].x instanceof Date?m[0].x.toLocaleString():m[0].x;m=m.filter((function(t){return(t.x instanceof Date?t.x.toLocaleString():t.x)!==e}))};m.length;)y();for(s=v&&Object.keys(v[0]).length,l=[],c=0;c<s-1;c++)f="chart".concat(c),l.push(f);return h=i._getStackedData(l,v),{colors:p,opacity:g,keys:l,stackedInfo:h,calloutPoints:a}},i._getCustomizedCallout=function(){return i.props.onRenderCalloutPerStack?i.props.onRenderCalloutPerStack(i.state.stackCalloutProps):i.props.onRenderCalloutPerDataPoint?i.props.onRenderCalloutPerDataPoint(i.state.dataPointCalloutProps):null},i._getGraphData=function(t,n,e,r,o){i._chart=i._drawGraph(e,t,n,o)},i._getLegendData=function(t){var n=[];return t.forEach((function(t){var e=t.color;if(!(n.filter((function(n){return n.title===t.legend&&n.color===e})).length>0)){var r={title:t.legend,color:e,action:function(){i._onLegendClick(t.legend)},hoverAction:function(){i._handleChartMouseLeave(),i._onLegendHover(t.legend)},onMouseOutAction:function(){i._onLegendLeave()}};n.push(r)}})),a.createElement(ac,(0,o.Cl)({legends:n,overflowProps:i.props.legendsOverflowProps,enabledWrapLines:i.props.enabledLegendsWrapLines,focusZonePropsInHoverCard:i.props.focusZonePropsForLegendsInHoverCard},i.props.legendProps))},i._onDataPointClick=function(t){t&&t(),i.setState({isCircleClicked:!0})},i._getOpacity=function(t){return i._isMultiStackChart?i._legendHighlighted(t)||i._noLegendHighlighted()?.7:.1:.7},i._getLineOpacity=function(t){if(i._isMultiStackChart){var n=.3;return i.state.isCalloutVisible&&(n=1),i._noLegendHighlighted()||(n=i._legendHighlighted(t)?0:.1),n}return 1},i._updateCircleFillColor=function(t,n,e){var r=n;return i.state.nearestCircleToHighlight!==t&&i.state.activePoint!==e||(i._highlightedCircleId=e,i.state.isCircleClicked||(r=i.props.theme.semanticColors.bodyBackground)),r},i._drawGraph=function(t,n,e,r){var u,s,l=i._addDefaultColors(i.props.data.lineChartData),c=(u=i.props.data).pointOptions,f=u.pointLineOptions,h=Wf().x((function(t){return n(t.xVal)})).y0((function(t){return e(t.values[0])})).y1((function(t){return e(t.values[1])})).curve($f),d=uf().x((function(t){return n(t.xVal)})).y((function(t){return e(t.values[1])})).curve($f),v=[];i._stackedData.forEach((function(t,r){v.push(a.createElement(a.Fragment,{key:"".concat(r,"-graph-").concat(i._uniqueIdForGraph)},i.props.enableGradient&&a.createElement("defs",null,a.createElement("linearGradient",{id:"gradient_".concat(r),x1:"0%",x2:"0%",y1:"0%",y2:"100%"},a.createElement("stop",{offset:"0",stopColor:i._colors[r]}),a.createElement("stop",{offset:"100%",stopColor:"transparent"}))),a.createElement("path",(0,o.Cl)({id:"".concat(r,"-line-").concat(i._uniqueIdForGraph),d:d(t),fill:"transparent",strokeWidth:3,stroke:i._colors[r],opacity:i._getLineOpacity(l[r].legend),onMouseMove:i._onRectMouseMove,onMouseOut:i._onRectMouseOut,onMouseOver:i._onRectMouseMove},l[r].lineOptions)),1===t.length?a.createElement("circle",{id:"".concat(r,"-graph-").concat(i._uniqueIdForGraph),cx:n(t[0].xVal),cy:e(t[0].values[1]),r:6,stroke:i._colors[r],strokeWidth:3,fill:i._colors[r],opacity:i._opacity[r],fillOpacity:i._getOpacity(l[r].legend),onMouseMove:i._onRectMouseMove,onMouseOut:i._onRectMouseOut,onMouseOver:i._onRectMouseMove}):a.createElement("path",(0,o.Cl)({id:"".concat(r,"-graph-").concat(i._uniqueIdForGraph),d:h(t),fill:i.props.enableGradient?"url(#gradient_".concat(r,")"):i._colors[r],opacity:i._opacity[r],fillOpacity:i._getOpacity(l[r].legend),onMouseMove:i._onRectMouseMove,onMouseOut:i._onRectMouseOut,onMouseOver:i._onRectMouseMove},i.props.optimizeLargeData&&{"data-is-focusable":i._legendHighlighted(l[r].legend)||i._noLegendHighlighted(),role:"img","aria-label":"".concat(l[r].legend,", series ").concat(r+1," of ").concat(l.length," with ").concat(l[r].data.length," data points.")}))))}));var p=c&&c.r?Number(c.r):8;i._stackedData.forEach((function(t,r){l.length!==r&&(i.props.optimizeLargeData&&1!==t.length?t.forEach((function(t,u){var f=t.xVal instanceof Date?t.xVal.getTime():t.xVal;if(i.state.nearestCircleToHighlight===f){var h="".concat(i._circleId,"_").concat(r*i._stackedData[0].length+u);s=l[r].color,v.push(a.createElement("circle",(0,o.Cl)({key:h,id:h,cx:n(t.xVal),cy:e(t.values[1]),stroke:s,strokeWidth:3,fill:i._updateCircleFillColor(f,s,h),onMouseOut:i._onRectMouseOut,onMouseOver:i._onRectMouseMove,onClick:i._onDataPointClick.bind(i,l[r].data[u].onDataPointClick)},c,{r:i._getCircleRadius(f,p,h)})))}})):v.push(a.createElement("g",{key:"".concat(r,"-dots-").concat(i._uniqueIdForGraph),d:h(t),clipPath:"url(#clip)",role:"region","aria-label":"".concat(l[r].legend,", series ").concat(r+1," of ").concat(l.length," with ").concat(l[r].data.length," data points.")},t.map((function(t,u){var f="".concat(i._circleId,"_").concat(r*i._stackedData[0].length+u),h=t.xVal instanceof Date?t.xVal.getTime():t.xVal;return s=l[r].color,a.createElement("circle",(0,o.Cl)({key:f,id:f,"data-is-focusable":i._legendHighlighted(l[r].legend)||i._noLegendHighlighted(),cx:n(t.xVal),cy:e(t.values[1]),stroke:s,strokeWidth:3,fill:i._updateCircleFillColor(h,s,f),onMouseOut:i._onRectMouseOut,onMouseOver:i._onRectMouseMove,onClick:i._onDataPointClick.bind(i,l[r].data[u].onDataPointClick),onFocus:function(){return i._handleFocus(r,u,f)},onBlur:i._handleBlur},c,{r:i._getCircleRadius(h,p,f),role:"img","aria-label":i._getAriaLabel(r,u)}))})))))})),v.push(a.createElement("line",(0,o.Cl)({id:i._verticalLineId,key:i._verticalLineId,x1:i.state.lineXValue,y1:0,x2:i.state.lineXValue,y2:t,strokeWidth:1,strokeDasharray:5.5,stroke:s,opacity:.5,visibility:i.state.displayOfLine},f)));var g=Gf(i.props.styles,{theme:i.props.theme});if(!i.props.showXAxisLablesTooltip)try{document.getElementById(i._tooltipId)&&document.getElementById(i._tooltipId).remove()}catch(t){}if(!i.props.wrapXAxisLables&&i.props.showXAxisLablesTooltip){var m=Fu(r).call(n);try{document.getElementById(i._tooltipId)&&document.getElementById(i._tooltipId).remove()}catch(t){}var y={tooltipCls:g.tooltip,id:i._tooltipId,xAxis:m};m&&ls(y)}return v},i._getCircleRadius=function(t,n,e){var r,o=(r=i.state).isCircleClicked,a=r.nearestCircleToHighlight,u=r.activePoint;return o&&a===t?1:a===t||u===e?n:0},i._closeCallout=function(){i.setState({isCalloutVisible:!1})},i._legendHighlighted=function(t){return i.state.selectedLegend===t||""===i.state.selectedLegend&&i.state.activeLegend===t},i._noLegendHighlighted=function(){return""===i.state.selectedLegend&&""===i.state.activeLegend},i._addDefaultColors=function(t){return t?t.map((function(t,n){var e,r,a;return a=void 0===t.color?Zc(n,0,null===(e=i.props.theme)||void 0===e?void 0:e.isInverted):Kc(t.color,null===(r=i.props.theme)||void 0===r?void 0:r.isInverted),(0,o.Cl)((0,o.Cl)({},t),{color:a})})):[]},i._handleFocus=function(t,n,e){var r,o=(r=i.props.data.lineChartData[t].data[n]).x,a=r.y,u=r.xAxisCalloutData,s=o instanceof Date?Ns(o,i.props.useUTC):o,l=o instanceof Date?o.getTime():o,c=i._calloutPoints.find((function(t){return t.x===l}));c.values=c.values.filter((function(t){return t.y===a})),i.setState({refSelected:"#".concat(e),isCalloutVisible:!0,hoverXValue:u||s,YValueHover:c.values,stackCalloutProps:c,dataPointCalloutProps:c,activePoint:e})},i._handleBlur=function(){i.setState({refSelected:null,isCalloutVisible:!1,hoverXValue:void 0,YValueHover:[],stackCalloutProps:void 0,dataPointCalloutProps:void 0,activePoint:""})},i._getChartTitle=function(){var t,n=(t=i.props.data).chartTitle,e=t.lineChartData;return(n?"".concat(n,". "):"")+"Area chart with ".concat((null==e?void 0:e.length)||0," data series. ")},i._createSet=(0,dn.J9)(i._createDataSet),i.state={selectedLegend:"",activeLegend:"",hoverXValue:"",isCalloutVisible:!1,refSelected:null,YValueHover:[],lineXValue:0,displayOfLine:Uf.hide,isCircleClicked:!1,nearestCircleToHighlight:null,isShowCalloutPending:!1,activePoint:""},Wn("AREA CHART",n,{showYAxisGridLines:"Dont use this property. Lines are drawn by default"}),i._uniqueIdForGraph=g("areaChart_"),i._verticalLineId=g("verticalLine_"),i._circleId=g("circle"),i._rectId=g("rectangle"),i._tooltipId=g("AreaChartTooltipID"),i._enableComputationOptimization=!0,i._firstRenderOptimization=!0,i._emptyChartId=g("_AreaChart_empty"),i}return(0,o.C6)(n,t),n.prototype.componentDidUpdate=function(){this.state.isShowCalloutPending&&this.setState({refSelected:"#".concat(this._highlightedCircleId),isCalloutVisible:!0,isShowCalloutPending:!1})},n.prototype.render=function(){var t,n=this;if(!this._isChartEmpty()){var i=this.props.data.lineChartData,e=this._addDefaultColors(i),r=(t=this._createSet(e)).colors,u=t.opacity,s=t.stackedInfo,l=t.calloutPoints;this._calloutPoints=l;var c=cs(e);this._colors=r,this._opacity=u,this._stackedData=s.stackedData;var f=this._getLegendData(e),h={tickValues:this.props.tickValues,tickFormat:this.props.tickFormat},d=(0,o.Cl)({target:this.state.refSelected,isCalloutVisible:this.state.isCalloutVisible,directionalHint:x.topAutoEdge,YValueHover:this.state.YValueHover,hoverXValue:this.state.hoverXValue,id:"toolTip".concat(this._uniqueCallOutID),gapSpace:15,isBeakVisible:!1,onDismiss:this._closeCallout,"data-is-focusable":!0,xAxisCalloutAccessibilityData:this.state.xAxisCalloutAccessibilityData},this.props.calloutProps);return a.createElement(gf,(0,o.Cl)({},this.props,{chartTitle:this._getChartTitle(),points:e,chartType:Gu.AreaChart,calloutProps:d,legendBars:f,createYAxis:es,isCalloutForStack:!0,xAxisType:c?Zu.DateAxis:Zu.NumericAxis,tickParams:h,maxOfYVal:s.maxOfYVal,getGraphData:this._getGraphData,getDomainNRangeValues:this._getDomainNRangeValues,createStringYAxis:os,getmargins:this._getMargins,getMinMaxOfYAxis:vs,customizedCallout:this._getCustomizedCallout(),onChartMouseLeave:this._handleChartMouseLeave,enableFirstRenderOptimization:this.props.enablePerfOptimization&&this._firstRenderOptimization,children:function(t){n._xAxisRectScale=t.xScale;var i=n._xAxisRectScale.ticks(),e=n._xAxisRectScale(i[i.length-1]),r=t.containerHeight-n.margins.top;return a.createElement(a.Fragment,null,a.createElement("g",null,a.createElement("rect",{id:n._rectId,width:e,height:r,fill:"transparent",onMouseMove:n._onRectMouseMove,onMouseOut:n._onRectMouseOut,onMouseOver:n._onRectMouseMove})),a.createElement("g",null,n._chart))}}))}return a.createElement("div",{id:this._emptyChartId,role:"alert",style:{opacity:"0"},"aria-label":"Graph has no data to display"})},n.prototype._onLegendClick=function(t){this.state.selectedLegend===t?this.setState({selectedLegend:""}):this.setState({selectedLegend:t})},n.prototype._onLegendHover=function(t){this.setState({activeLegend:t})},n.prototype._onLegendLeave=function(){this.setState({activeLegend:""})},n.prototype._getAriaLabel=function(t,n){var i,e=this.props.data.lineChartData[t],r=e.data[n],o=r.x instanceof Date?Ns(r.x,this.props.useUTC):r.x,a=r.xAxisCalloutData||o,u=e.legend,s=r.yAxisCalloutData||r.y;return(null===(i=r.callOutAccessibilityData)||void 0===i?void 0:i.ariaLabel)||"".concat(a,". ").concat(u,", ").concat(s,".")},n.prototype._isChartEmpty=function(){return!(this.props.data&&this.props.data.lineChartData&&this.props.data.lineChartData.length>0&&0===this.props.data.lineChartData.filter((function(t){return 0===t.data.length})).length)},n.defaultProps={useUTC:!0},n}(a.Component),Jf=(0,r.I)(Kf,(function(t){return{tooltip:(0,o.Cl)((0,o.Cl)({},t.theme.fonts.medium),{display:"flex",flexDirection:"column",padding:"8px",position:"absolute",textAlign:"center",top:"0px",background:t.theme.semanticColors.bodyBackground,borderRadius:"2px",pointerEvents:"none"})}})),Qf=function(t,n){var i=t.color;return{arcRoot:{fill:i},arcRootFocussed:{fill:i,stroke:(null==n?void 0:n.palette.black)||Xt.bp.black,strokeWidth:2},arc:{outline:"none"},arcText:{fill:(null==n?void 0:n.palette.black)||Xt.bp.black,outline:"none"}}},th=function(t){function n(n){var i=t.call(this,n)||this;return i.updateChart=function(t){ih(t)},i._onFocus=function(){i.setState({isArcFocused:!0})},i._onBlur=function(){i.setState({isArcFocused:!1})},i.state={isArcFocused:!1},i._arcId=g("piechart_arc"),i}return(0,o.C6)(n,t),n.getDerivedStateFromProps=function(t){return ih(t),null},n.prototype.render=function(){var t,n=this,i=this.props.arc,e=(0,u.Z)()((function(t){return Qf(t,n.props.theme)}),(0,o.Cl)({},this.props));return a.createElement("path",{d:i(this.props.data),className:"".concat(this.state.isArcFocused?e.arcRootFocussed:e.arcRoot),onClick:null===(t=this.props.data)||void 0===t?void 0:t.data.onClick})},n.defaultProps={arc:Hc()},n}(a.Component),nh=function(t){function n(n){var i=t.call(this,n)||this;return i._isRTL=(0,s.jI)(),i._arcId=g("piechart_arc"),i}return(0,o.C6)(n,t),n.prototype.render=function(){var n,i,e=this,r=this.props,o=r.data,s=r.culture,l=Hc().centroid({endAngle:(null==o?void 0:o.endAngle)||0,startAngle:(null==o?void 0:o.startAngle)||0,padAngle:null==o?void 0:o.padAngle,innerRadius:(null===(n=this.props)||void 0===n?void 0:n.outerRadius)||0,outerRadius:(null===(i=this.props)||void 0===i?void 0:i.outerRadius)||4}),c=l[0],f=l[1],h=(0,u.Z)()((function(t){return Qf(t,e.props.theme)})),d=(((null==o?void 0:o.startAngle)||0)+((null==o?void 0:o.endAngle)||0))/2,v="".concat(null==o?void 0:o.data.x,"-").concat((0,Jn.U)(null==o?void 0:o.data.y,s));return a.createElement("g",{className:"".concat(h.arc," arc"),"data-is-focusable":!0,id:this._arcId,onFocus:this._onFocus,onBlur:this._onBlur,"aria-label":v,role:"img"},t.prototype.render.call(this),a.createElement(ff,{content:v,textProps:{x:c,y:f,dominantBaseline:d>Math.PI/2&&d<3*Math.PI/2?"hanging":"auto",textAnchor:!this._isRTL&&d>Math.PI||this._isRTL&&d<Math.PI?"end":"start","aria-label":"".concat(null==o?void 0:o.data.x,"-").concat((0,Jn.U)(null==o?void 0:o.data.y,s)),className:h.arcText},isTooltipVisibleProp:this.state.isArcFocused,shouldReceiveFocus:!1,maxWidth:40,wrapContent:us}))},n}(th);function ih(t){t.arc.innerRadius(t.innerRadius),t.arc.outerRadius(t.outerRadius)}var eh,rh=function(t){function n(n){var i=t.call(this,n)||this;return i.arcGenerator=function(t,n){return a.createElement(nh,{culture:i.props.culture,key:n,data:t,innerRadius:i.props.innerRadius,outerRadius:i.props.outerRadius,color:"".concat(i.colors(n)),theme:i.props.theme})},i}return(0,o.C6)(n,t),n.prototype.render=function(){var t,n,i=this,e=(t=this.props).pie,r=t.data,o=t.width,u=t.height,s=t.chartTitle,l=t.theme,c=[];if(r&&!this.props.colors)for(var f=0;f<r.length;f++)c.push(Zc(f,0,null==l?void 0:l.isInverted));var h=void 0===(n=this.props.colors)?c:n;this.colors=La().range(h.map((function(t){return Kc(t)})));var d=e(r),v="translate(".concat(o/2,", ").concat(u/2,")");return a.createElement(Qs,{direction:Ss.domOrder},a.createElement("svg",{width:o,height:u,"aria-label":s},a.createElement("g",{className:"pie",transform:v},d.map((function(t,n){return i.arcGenerator(t,n)})))))},n.defaultProps={pie:Cc().padAngle(.01).sort(null).value((function(t){return t.y}))},n}(a.Component),oh=(0,u.Z)(),ah=function(t){function n(n){var i=t.call(this,n)||this;return i._emptyChartId=g("_PieChart_empty"),i}return(0,o.C6)(n,t),n.prototype.render=function(){var t,n,i=(t=this.props).data,e=t.width,r=t.height,o=t.colors,u=t.chartTitle,s=(n=this.props).theme,l=n.className,c=n.styles,f=n.culture;this._classNames=oh(c,{theme:s,width:e,height:r,className:l});var h=Math.min(e-80,r-32)/2;return this._isChartEmpty()?a.createElement("div",{id:this._emptyChartId,role:"alert",style:{opacity:"0"},"aria-label":"Graph has no data to display"}):a.createElement("div",{className:this._classNames.root},this.props.chartTitle&&a.createElement("p",{className:this._classNames.chartTitle},this.props.chartTitle),a.createElement(rh,{culture:f,width:e,height:r,outerRadius:h,innerRadius:1,data:i,colors:o,chartTitle:u,theme:s}))},n.prototype._isChartEmpty=function(){return!(this.props.data&&this.props.data.length>0&&this.props.data.filter((function(t){return t.y>0})).length>0)},n.defaultProps={data:[],width:600,height:350},n}(a.Component),uh=(0,r.I)(ah,(function(t){var n=t.className,i=t.theme,e=t.width+30,r=t.height+10;return{root:[i.fonts.medium,"ms-PieChart",n,{width:e+40}],chart:[{padding:20,width:e,height:r,boxSizing:"content-box"}],chartTitle:[(0,o.Cl)({textAlign:"center"},i.fonts.mediumPlus)]}})),sh=(0,u.Z)(),lh=function(t){function n(n){var i=t.call(this,n)||this;return i._isRTL=(0,s.jI)(),i._handleChartMouseLeave=function(){i._calloutAnchorPoint=null,i.setState({isCalloutVisible:!1})},i._closeCallout=function(){i.setState({isCalloutVisible:!1})},i._legendHighlighted=function(t){return i.state.selectedLegend===t||""===i.state.selectedLegend&&i.state.activeLegend===t},i._noLegendHighlighted=function(){return""===i.state.selectedLegend&&""===i.state.activeLegend},i._getAriaLabel=function(t){var n,i=t.xAxisCalloutData||t.legend,e=t.yAxisCalloutData||t.data||0;return(null===(n=t.callOutAccessibilityData)||void 0===n?void 0:n.ariaLabel)||(i?"".concat(i,", "):"")+"".concat(e,".")},i.state={isCalloutVisible:!1,selectedLegend:"",activeLegend:"",refSelected:null,dataForHoverCard:0,color:"",xCalloutValue:"",yCalloutValue:"",calloutLegend:"",barSpacingInPercent:0},i._refArray=[],i._onLeave=i._onLeave.bind(i),i._refCallback=i._refCallback.bind(i),i._onBarLeave=i._onBarLeave.bind(i),i._calloutId=g("callout"),i._emptyChartId=g("_SBC_empty"),i.barChartSvgRef=a.createRef(),i}return(0,o.C6)(n,t),n.prototype.componentDidMount=function(){var t,n=(null===(t=this.barChartSvgRef.current)||void 0===t?void 0:t.getBoundingClientRect().width)||0;if(n){var i=3/n*100;this.setState({barSpacingInPercent:i})}},n.prototype.render=function(){var t;if(!this._isChartEmpty()){this._adjustProps();var n=(t=this.props).data,i=t.benchmarkData,e=t.targetData,r=t.hideNumberDisplay,u=t.ignoreFixStyle,s=t.culture,l=this.props.theme.palette,c=u||n.chartData.length>2?this.props.barHeight:12;i&&(i.color=i.color||l.neutralTertiary),e&&(e.color=e.color||l.neutralSecondary);var f=this._createBarsAndLegends(n,c,l,i,e),h=!1===r&&!u&&2===n.chartData.length,d=!1===r&&!u&&1===n.chartData.length,v=n.chartData.reduce((function(t,n){return t+(n.data?n.data:0)}),0),p=0;i&&v&&(p=i.data/v*100);var g=0;e&&v&&(g=e.data/v*100);var m=!1===this.props.hideLegend&&(u||n.chartData.length>2);this._classNames=sh(this.props.styles,{legendColor:this.state.color,theme:this.props.theme,benchmarkColor:i?i.color:"",benchmarkRatio:p,targetColor:e?e.color:"",targetRatio:g,showTriangle:!(!i&&!e)});var y=function(){return(0,Jn.U)(n.chartData[0].data?n.chartData[0].data:0,s)};return a.createElement("div",{className:this._classNames.root,onMouseLeave:this._handleChartMouseLeave},a.createElement(Qs,{direction:Ss.horizontal},a.createElement("div",{className:this._classNames.chartTitle},n.chartTitle&&a.createElement(fl,{className:this._classNames.chartTitleLeft,content:n.chartTitle,accessibilityData:n.chartTitleAccessibilityData}),h&&a.createElement("div",(0,o.Cl)({},Ms(n.chartDataAccessibilityData,"text",!1)),a.createElement("span",{className:this._classNames.ratioNumerator},y()),!this.props.hideDenominator&&a.createElement("span",{className:this._classNames.ratioDenominator}," / "+(0,Jn.U)(v,s))),d&&a.createElement("div",(0,o.Cl)({className:this._classNames.ratioNumerator},Ms(n.chartDataAccessibilityData,"text",!1)),y())),(i||e)&&a.createElement("div",{className:this._classNames.benchmarkContainer},i&&a.createElement("div",{className:this._classNames.benchmark,role:"text"}),e&&a.createElement("div",{className:this._classNames.target,role:"text"}))),a.createElement(Qs,{direction:Ss.horizontal},a.createElement("div",null,a.createElement("svg",{ref:this.barChartSvgRef,className:this._classNames.chart,"aria-label":null==n?void 0:n.chartTitle},a.createElement("g",null,f[0]),a.createElement(Kn,(0,o.Cl)({gapSpace:15,isBeakVisible:!1,target:this.state.refSelected,setInitialFocus:!0,hidden:!(!this.props.hideTooltip&&this.state.isCalloutVisible),directionalHint:x.topAutoEdge,id:this._calloutId,onDismiss:this._closeCallout,preventDismissOnLostFocus:!0,shouldUpdateWhenHidden:!0},this.props.calloutProps,Ms(this.state.callOutAccessibilityData,"text",!1)),a.createElement(a.Fragment,null,this.props.onRenderCalloutPerDataPoint?this.props.onRenderCalloutPerDataPoint(this.state.dataPointCalloutProps):a.createElement(Ds.ChartHoverCard,{Legend:this.state.xCalloutValue?this.state.xCalloutValue:this.state.calloutLegend,YValue:this.state.yCalloutValue?this.state.yCalloutValue:this.state.dataForHoverCard,color:this.state.color,culture:s})))))),m&&a.createElement("div",{className:this._classNames.legendContainer},f[1]))}return a.createElement("div",{id:this._emptyChartId,role:"alert",style:{opacity:"0"},"aria-label":"Graph has no data to display"})},n.prototype._adjustProps=function(){this._classNames=sh(this.props.styles,{legendColor:this.state.color,theme:this.props.theme,width:this.props.width,barHeight:this.props.barHeight,className:this.props.className})},n.prototype._createBarsAndLegends=function(t,n,i,e,r){var u,s=this,l=(null===(u=t.chartData)||void 0===u?void 0:u.reduce((function(t,n){return t+((n.data||0)>0?1:0)}),0))||1,c=this.state.barSpacingInPercent*(l-1),f=[i.blueLight,i.blue,i.blueMid,i.red,i.black],h=[],d=[],v=t.chartData.reduce((function(t,n){return t+(n.data?n.data:0)}),0),p=0,m=0,y=0;t.chartData.map((function(t,n){var i=t.data?t.data:0;return(m=i/v*100)<1&&0!==m?m=1:m>99&&100!==m&&(m=99),y+=m}));var b=0!==y?y/(100-c):1,x=t.chartData.map((function(t,i){var e=t.color?t.color:f[Math.floor(4*Math.random()+1)],r=t.data?t.data:0,o={title:t.legend,color:e,action:v>0?function(){s._onClick(t.legend)}:void 0,hoverAction:v>0?function(){s._handleChartMouseLeave(),s._onHover(t.legend)}:void 0,onMouseOutAction:v>0?function(){s._onLeave()}:void 0};t.placeHolder||h.push(o),i>0&&(p+=m),(m=r/v*100)<1&&0!==m?m=1/b:m>99&&100!==m?m=99/b:m/=b,d.push(p);var u=s.props.styles,l=!(!s._legendHighlighted(t.legend)&&!s._noLegendHighlighted());return s._classNames=sh(u,{theme:s.props.theme,shouldHighlight:l,href:s.props.href}),a.createElement("g",{key:i,className:s._classNames.opacityChangeOnHover,ref:function(t){s._refCallback(t,o.title)},"data-is-focusable":!s.props.hideTooltip&&l,onFocus:s._onBarFocus.bind(s,r,e,t),onBlur:s._onBarLeave,"aria-label":s._getAriaLabel(t),role:"img",onMouseOver:s._onBarHover.bind(s,r,e,t),onMouseMove:s._onBarHover.bind(s,r,e,t),onMouseLeave:s._onBarLeave,pointerEvents:"all",onClick:s.props.href?s._redirectToUrl.bind(s,s.props.href):t.onClick},a.createElement("rect",{key:i,id:g("_SBC_bar"),x:"".concat(s._isRTL?100-d[i]-m-s.state.barSpacingInPercent*i:d[i]+s.state.barSpacingInPercent*i,"%"),y:0,width:m+"%",height:n,fill:e}))}));this._addLegend(h,e),this._addLegend(h,r);var w=a.createElement(ac,(0,o.Cl)({legends:h,enabledWrapLines:this.props.enabledLegendsWrapLines,overflowProps:this.props.legendsOverflowProps,focusZonePropsInHoverCard:this.props.focusZonePropsForLegendsInHoverCard,overflowText:this.props.legendsOverflowText},this.props.legendProps));return[0===v?[this._generateEmptyBar(n,this.props.barBackgroundColor?this.props.barBackgroundColor:i.neutralLight)]:x,w]},n.prototype._onBarFocus=function(t,n,i){var e=this;this._refArray.forEach((function(r){r.index===i.legend&&e.setState({refSelected:r.refElement,isCalloutVisible:""===e.state.selectedLegend||e.state.selectedLegend===i.legend,calloutLegend:i.legend,dataForHoverCard:t,color:n,xCalloutValue:i.xAxisCalloutData,yCalloutValue:i.yAxisCalloutData,dataPointCalloutProps:i,callOutAccessibilityData:i.callOutAccessibilityData})}))},n.prototype._addLegend=function(t,n){if(n){var i={title:n.legend,color:n.color,shape:"triangle"};t.push(i)}},n.prototype._generateEmptyBar=function(t,n){return a.createElement("g",{key:0,className:this._classNames.opacityChangeOnHover},a.createElement("rect",{key:0,id:g("_SBC_empty_bar_"),x:"0%",y:0,width:"100%",height:t,fill:n}))},n.prototype._refCallback=function(t,n){this._refArray.push({index:n,refElement:t})},n.prototype._onClick=function(t){this.state.selectedLegend===t?this.setState({selectedLegend:""}):this.setState({selectedLegend:t})},n.prototype._onHover=function(t){this.setState({activeLegend:t})},n.prototype._onLeave=function(){this.setState({activeLegend:""})},n.prototype._onBarHover=function(t,n,i,e){e.persist(),this._calloutAnchorPoint!==i&&(this._calloutAnchorPoint=i,this.setState({refSelected:e,isCalloutVisible:""===this.state.selectedLegend||this.state.selectedLegend===i.legend,calloutLegend:i.legend,dataForHoverCard:t,color:n,xCalloutValue:i.xAxisCalloutData,yCalloutValue:i.yAxisCalloutData,dataPointCalloutProps:i,callOutAccessibilityData:i.callOutAccessibilityData}))},n.prototype._onBarLeave=function(){},n.prototype._redirectToUrl=function(t){t&&(window.location.href=t)},n.prototype._isChartEmpty=function(){return!(this.props.data&&this.props.data.chartData&&this.props.data.chartData.length>0)},n.defaultProps={barHeight:12,hideNumberDisplay:!1,hideLegend:!1,ignoreFixStyle:!1},n}(a.Component),ch=(0,r.I)(lh,(function(t){var n,i,e=t.className,r=t.width,a=t.barHeight,u=t.shouldHighlight,s=t.theme,l=t.href,c=t.benchmarkColor,f=t.benchmarkRatio,h=t.targetColor,d=t.targetRatio,v=t.showTriangle;return{root:[s.fonts.medium,"ms-StackedBarChart",{width:r||"100%",display:"flex",flexDirection:"column"},e],chart:{width:"100%",height:a||12,display:"block",marginBottom:v?"16px":"10px",overflow:"visible"},chartTitle:(0,o.Cl)((0,o.Cl)({},s.fonts.small),{display:"flex",justifyContent:"space-between"}),chartTitleLeft:{textOverflow:"ellipsis",overflow:"hidden",whiteSpace:"nowrap",display:"block",color:s.palette.neutralPrimary,marginBottom:"5px"},legendContainer:{margin:"4px 0px 0px 4px"},opacityChangeOnHover:{opacity:u?"":"0.1",cursor:l?"pointer":"default",selectors:{"&:focus":{stroke:s.palette.black,strokeWidth:"2px"}}},ratioNumerator:{fontSize:Xt.s.medium,fontWeight:Xt.BO.semibold,color:s.palette.neutralPrimary},ratioDenominator:{fontSize:Xt.s.medium,color:s.palette.neutralPrimary},benchmarkContainer:{position:"relative",height:"7px",marginTop:"-3px",marginBottom:"-1px"},benchmark:{position:"absolute",left:"calc("+f+"% - 4px)",width:"0",height:"0",borderLeft:"4px solid transparent",borderRight:"4px solid transparent",borderTop:"7px solid",borderTopColor:c,marginBottom:"4px",selectors:(n={},n[Xt.up]={border:"0px",height:"7px",width:"7px",clipPath:"polygon(50% 100%, 0 0, 100% 0)",backgroundImage:"linear-gradient(to right, ".concat(c,", ").concat(c,")")},n)},target:{position:"absolute",left:"calc("+d+"% - 4px)",width:"0",height:"0",borderLeft:"4px solid transparent",borderRight:"4px solid transparent",borderTop:"7px solid",borderTopColor:h,marginBottom:"4px",selectors:(i={},i[Xt.up]={border:"0px",height:"7px",width:"7px",clipPath:"polygon(50% 100%, 0 0, 100% 0)",backgroundImage:"linear-gradient(to right, ".concat(h,", ").concat(h,")")},i)}}}));!function(t){t.PartToWhole="part-to-whole",t.AbsoluteScale="absolute-scale"}(eh||(eh={}));var fh,hh=(0,u.Z)(),dh=function(t){function n(n){var i=t.call(this,n)||this;return i._isRTL=(0,s.jI)(),i._adjustProps=function(){var t,n=(t=i.props).theme,e=t.className,r=t.styles,o=t.width,a=t.barHeight;i._classNames=hh(r,{legendColor:i.state.color,theme:n,width:o,className:e,barHeight:a})},i._getLegendData=function(t,n,e){var r=[e.blueLight,e.blue,e.blueMid,e.red,e.black],u=[];return t.forEach((function(t,e){var o=t.chartData.filter((function(t){return!t.placeHolder}));o.length<3?void 0!==n[e]&&n[e]&&o.forEach((function(t){var n=t.color?t.color:r[Math.floor(4*Math.random()+1)];if(!(u.filter((function(i){return i.title===t.legend&&i.color===n})).length>0)){var e={title:t.legend,color:n,action:function(){i._onClick(t.legend)},hoverAction:function(){i._handleChartMouseLeave(),i._onHover(t.legend)},onMouseOutAction:function(){i._onLeave()}};u.push(e)}})):o.forEach((function(t){var n=t.color?t.color:r[Math.floor(4*Math.random()+1)];if(!(u.filter((function(i){return i.title===t.legend&&i.color===n})).length>0)){var e={title:t.legend,color:n,action:function(){i._onClick(t.legend)},hoverAction:function(){i._handleChartMouseLeave(),i._onHover(t.legend)},onMouseOutAction:function(){i._onLeave()}};u.push(e)}}))})),a.createElement(ac,(0,o.Cl)({legends:u,overflowProps:i.props.legendsOverflowProps,focusZonePropsInHoverCard:i.props.focusZonePropsForLegendsInHoverCard,overflowText:i.props.legendsOverflowText},i.props.legendProps))},i._handleChartMouseLeave=function(){i._calloutAnchorPoint=null,i.setState({isCalloutVisible:!1})},i._closeCallout=function(){i.setState({isCalloutVisible:!1})},i._legendHighlighted=function(t){return i.state.selectedLegend===t||""===i.state.selectedLegend&&i.state.activeLegend===t},i._noLegendHighlighted=function(){return""===i.state.selectedLegend&&""===i.state.activeLegend},i._getAriaLabel=function(t){var n,i=t.xAxisCalloutData||t.legend,e=t.yAxisCalloutData||t.data||0;return(null===(n=t.callOutAccessibilityData)||void 0===n?void 0:n.ariaLabel)||(i?"".concat(i,", "):t.placeHolder?"Remaining, ":"")+"".concat(e,".")},i._computeLongestBarTotalValue=function(){var t=0;return i.props.data.forEach((function(n){var i=n.chartData.reduce((function(t,n){return t+(n.data?n.data:0)}),0);t=Math.max(t,i)})),t},i.state={isCalloutVisible:!1,refArray:[],selectedLegend:"",activeLegend:"",refSelected:null,dataForHoverCard:0,color:"",xCalloutValue:"",yCalloutValue:"",calloutLegend:"",barSpacingInPercent:0},i._onLeave=i._onLeave.bind(i),i._onBarLeave=i._onBarLeave.bind(i),i._calloutId=g("callout"),i.barChartSvgRef=a.createRef(),i._emptyChartId=g("_MSBC_empty"),i._barId=g("_MSBC_rect_"),i._barIdPlaceholderPartToWhole=g("_MSBC_rect_partToWhole_"),i._barIdEmpty=g("_MSBC_rect_empty"),i}return(0,o.C6)(n,t),n.prototype.componentDidMount=function(){var t,n=(null===(t=this.barChartSvgRef.current)||void 0===t?void 0:t.getBoundingClientRect().width)||0;if(n){var i=3/n*100;this.setState({barSpacingInPercent:i})}},n.prototype.render=function(){var t,n=this;if(!this._isChartEmpty()){var i=(t=this.props).data,e=t.theme,r=t.culture;this._adjustProps();var u=e.palette,s=this._getLegendData(i,this.props.hideRatio,u),l=this.state.isCalloutVisible;this._classNames=hh(this.props.styles,{legendColor:this.state.color,theme:e,variant:this.props.variant,hideLabels:this.props.hideLabels});var c=this.state.xCalloutValue?this.state.xCalloutValue:this.state.calloutLegend,f=this.state.yCalloutValue?this.state.yCalloutValue:this.state.dataForHoverCard;this._longestBarTotalValue=this._computeLongestBarTotalValue();var h=i.map((function(t,i){var e=n._createBarsAndLegends(t,n.props.barHeight,u,n.props.hideRatio[i],n.props.hideDenominator[i],n.props.href,i);return a.createElement("div",{key:i,id:"_MSBC_bar-".concat(i)},e)}));return a.createElement("div",{className:this._classNames.root,onMouseLeave:this._handleChartMouseLeave},h,!this.props.hideLegend&&a.createElement("div",{className:this._classNames.legendContainer},s),a.createElement(Kn,(0,o.Cl)({gapSpace:15,isBeakVisible:!1,target:this.state.refSelected,setInitialFocus:!0,hidden:!(!this.props.hideTooltip&&l),directionalHint:x.topAutoEdge,id:this._calloutId,onDismiss:this._closeCallout,preventDismissOnLostFocus:!0,shouldUpdateWhenHidden:!0},this.props.calloutProps,Ms(this.state.callOutAccessibilityData,"text",!1)),a.createElement(a.Fragment,null,this.props.onRenderCalloutPerDataPoint?this.props.onRenderCalloutPerDataPoint(this.state.dataPointCalloutProps):a.createElement(Ds.ChartHoverCard,{Legend:c,YValue:f,color:this.state.color,culture:r}))))}return a.createElement("div",{id:this._emptyChartId,role:"alert",style:{opacity:"0"},"aria-label":"Graph has no data to display"})},n.prototype._createBarsAndLegends=function(t,n,i,e,r,u,s){var l,c,f=this,h=(null===(l=t.chartData)||void 0===l?void 0:l.reduce((function(t,n){return t+((n.data||0)>0?1:0)}),0))||1,d=this.state.barSpacingInPercent*(h-1),v=this.props.culture,p=[i.blueLight,i.blue,i.blueMid,i.red,i.black],g=[],m=t.chartData.reduce((function(t,n){return t+(n.data?n.data:0)}),0),y=this.props.variant===eh.AbsoluteScale?this._longestBarTotalValue:m,b=0;if(t.chartData.map((function(t,n){var i=(t.data?t.data:0)/y*100||0;return i<1&&0!==i?i=1:i>99&&100!==i&&(i=99),b+=i})),this.props.variant===eh.AbsoluteScale){var x=0===y?0:(y-m)/y*100;x<1&&0!==x?x=1:x>99&&100!==x&&(x=99),b+=x}var w=0!==b?b/(100-d):1,M=0,C=0,k=t.chartData.map((function(t,e){var r=t.color?t.color:t.placeHolder?i.neutralLight:p[Math.floor(4*Math.random()+1)],o=t.data?t.data:0;e>0&&(M+=C),(C=o/y*100?o/y*100:0)<1&&0!==C?C=1/w:C>99&&100!==C?C=99/w:C/=w,g.push(M);var l=f.props.styles,c=!(!f._legendHighlighted(t.legend)&&!f._noLegendHighlighted()),h=t.placeHolder?f.props.theme.semanticColors.bodyText:r;return f._classNames=hh(l,{theme:f.props.theme,shouldHighlight:c,href:u,variant:f.props.variant,hideLabels:f.props.hideLabels}),a.createElement("g",{key:e,className:t.placeHolder?f._classNames.placeHolderOnHover:f._classNames.opacityChangeOnHover,ref:function(n){f._refCallback(n,t.legend)},"data-is-focusable":!f.props.hideTooltip&&c,onFocus:f._onBarFocus.bind(f,o,h,t),onBlur:f._onBarLeave,role:"img","aria-label":f._getAriaLabel(t),onMouseOver:f._onBarHover.bind(f,o,h,t),onMouseMove:f._onBarHover.bind(f,o,h,t),onMouseLeave:f._onBarLeave,onClick:u?t.placeHolder?void 0:f._redirectToUrl.bind(f,u):t.onClick},a.createElement("rect",{key:e,id:"".concat(f._barId,"-").concat(s,"-").concat(e),x:"".concat(f._isRTL?100-g[e]-C-f.state.barSpacingInPercent*e:g[e]+f.state.barSpacingInPercent*e,"%"),y:0,width:C+"%",height:n,fill:r}))}));if(this.props.variant!==eh.AbsoluteScale||this.props.hideLabels)0===t.chartData.length&&k.push(a.createElement("g",{key:0,className:this._classNames.noData,onClick:this._redirectToUrl.bind(this,u)},a.createElement("rect",{key:0,id:this._barIdPlaceholderPartToWhole,x:"0%",y:0,width:"100%",height:n,fill:i.neutralLight}))),0===m&&k.push(a.createElement("g",{key:"empty",className:this._classNames.noData,onClick:this._redirectToUrl.bind(this,u)},a.createElement("rect",{key:0,id:this._barIdEmpty,x:"0%",y:0,width:"100%",height:n,fill:i.neutralLight})));else{var S=!1,L=0;this._noLegendHighlighted()?(S=!0,L=m):null===(c=t.chartData)||void 0===c||c.forEach((function(t){f._legendHighlighted(t.legend)&&(S=!0,L+=t.data?t.data:0)})),S&&k.push(a.createElement("text",{key:"text",x:"".concat(this._isRTL?100-(g[g.length-1]||0)-C-d:(g[g.length-1]||0)+C+d,"%"),textAnchor:"start",y:n/2,dominantBaseline:"central",transform:"translate(".concat(this._isRTL?-4:4,")"),className:this._classNames.barLabel,"aria-label":"Total: ".concat(L),role:"img"},ks(L)))}var V=void 0!==e&&e,A=this.props.variant!==eh.AbsoluteScale&&!V&&2===t.chartData.length,N=this.props.variant!==eh.AbsoluteScale&&!V&&1===t.chartData.length,D=function(){return(0,Jn.U)(t.chartData[0].data?t.chartData[0].data:0,v)};return a.createElement("div",{className:this._classNames.singleChartRoot},a.createElement(Qs,{direction:Ss.horizontal},a.createElement("div",{className:this._classNames.chartTitle},t.chartTitle&&a.createElement(fl,{className:this._classNames.chartTitleLeft,content:t.chartTitle,accessibilityData:t.chartTitleAccessibilityData}),A&&a.createElement("div",(0,o.Cl)({},Ms(t.chartDataAccessibilityData,"text",!1)),a.createElement("span",{className:this._classNames.ratioNumerator},D()),!r&&a.createElement("span",{className:this._classNames.ratioDenominator}," / "+(0,Jn.U)(m,v))),N&&a.createElement("div",(0,o.Cl)({className:this._classNames.ratioNumerator},Ms(t.chartDataAccessibilityData,"text",!1)),D()))),a.createElement(Qs,{direction:Ss.horizontal},a.createElement("div",{className:this._classNames.chartWrapper},a.createElement("svg",{ref:this.barChartSvgRef,className:this._classNames.chart,"aria-label":null==t?void 0:t.chartTitle},k))))},n.prototype._onBarFocus=function(t,n,i){var e=this;this.state.refArray.forEach((function(r){r.legendText===i.legend&&e.setState({refSelected:r.refElement,isCalloutVisible:""===e.state.selectedLegend||e.state.selectedLegend===i.legend,calloutLegend:i.legend,dataForHoverCard:t,color:n,xCalloutValue:i.xAxisCalloutData,yCalloutValue:i.yAxisCalloutData,dataPointCalloutProps:i,callOutAccessibilityData:i.callOutAccessibilityData})}))},n.prototype._refCallback=function(t,n){this.state.refArray.push({legendText:n,refElement:t})},n.prototype._onHover=function(t){this.setState({activeLegend:t})},n.prototype._onClick=function(t){this.state.selectedLegend===t?this.setState({selectedLegend:""}):this.setState({selectedLegend:t})},n.prototype._onLeave=function(){this.setState({activeLegend:""})},n.prototype._onBarHover=function(t,n,i,e){e.persist(),this._calloutAnchorPoint!==i&&(this._calloutAnchorPoint=i,this.setState({refSelected:e,isCalloutVisible:""===this.state.selectedLegend||this.state.selectedLegend===i.legend,calloutLegend:i.legend,dataForHoverCard:t,color:n,xCalloutValue:i.xAxisCalloutData,yCalloutValue:i.yAxisCalloutData,dataPointCalloutProps:i,callOutAccessibilityData:i.callOutAccessibilityData}))},n.prototype._onBarLeave=function(){},n.prototype._redirectToUrl=function(t){t&&(window.location.href=t)},n.prototype._isChartEmpty=function(){return!(this.props.data&&this.props.data.length>0&&0===this.props.data.filter((function(t){return t.chartData&&0===t.chartData.length&&(!t.chartTitle||""===t.chartTitle)})).length)},n.defaultProps={barHeight:12,hideRatio:[],hideDenominator:[]},n}(a.Component),vh=(0,r.I)(dh,(function(t){var n=t.className,i=t.width,e=t.barHeight,r=t.shouldHighlight,a=t.theme,u=t.href,s=t.variant,l=t.hideLabels;return{root:[a.fonts.medium,"ms-StackedBarChart",{display:"flex",flexDirection:"column",width:i||"100%"},n],items:{marginBottom:"11px"},chart:{width:"100%",height:e||12,display:"block",overflow:"visible"},chartTitle:(0,o.Cl)((0,o.Cl)({},a.fonts.small),{display:"flex",justifyContent:"space-between"}),chartTitleLeft:{textOverflow:"ellipsis",overflow:"hidden",whiteSpace:"nowrap",display:"block",color:a.palette.neutralPrimary,marginBottom:s===eh.AbsoluteScale?"4px":"5px"},singleChartRoot:{width:i||"100%",display:"flex",flexDirection:"column",marginBottom:s===eh.AbsoluteScale?"16px":"10px"},opacityChangeOnHover:{opacity:r?"":"0.1",cursor:u?"pointer":"default",selectors:{"&:focus":{stroke:a.palette.black,strokeWidth:"2px"}}},ratioNumerator:{fontSize:Xt.s.medium,fontWeight:Xt.BO.semibold,color:a.palette.neutralPrimary},ratioDenominator:{fontSize:Xt.s.medium,color:a.palette.neutralPrimary},placeHolderOnHover:{opacity:r?"":"0.1",cursor:"default",selectors:{"&:focus":{stroke:a.palette.black,strokeWidth:"2px"}}},legendContainer:{margin:"5px 0px 0px 4px"},noData:{cursor:u?"pointer":"default"},barLabel:{fontSize:Xt.s.small,fontWeight:Xt.BO.semibold,fill:a.palette.neutralPrimary},chartWrapper:{paddingRight:s!==eh.AbsoluteScale||l?0:40}}})),ph=function(t,n){var i=function(t){if(!(t.length<2)){t=t.sort((function(t,n){return t instanceof Date?t.getTime()-n.getTime():t-n}));for(var n=Number.MAX_VALUE,i=1;i<t.length;i++){var e=t[i]instanceof Date?t[i].getTime()-t[i-1].getTime():t[i]-t[i-1];n=Math.min(n,e)}return[n,t[0]instanceof Date?t[t.length-1].getTime()-t[0].getTime():t[t.length-1]-t[0]]}}(t);if(!i||0===i[1])return 16;var e=i[0],r=i[1];return Math.round(n*e/(2*r+e))};!function(t){t.show="visibility",t.hide="hidden"}(fh||(fh={}));var gh,mh=(0,u.Z)(),yh=function(t){function n(n){var i=t.call(this,n)||this;return i._isRtl=(0,s.jI)(),i._getDomainNRangeValues=function(t,n,i,e,r,o,a,u,s){return o===Zu.NumericAxis?function(t,n,i,e,r){var o=gi(t,(function(t){return t.x})),a=pi(t,(function(t){return t.x})),u=n.left,s=i-n.right;return e?{dStartValue:o,dEndValue:a,rStartValue:u,rEndValue:s}:{dStartValue:a,dEndValue:o,rStartValue:u,rEndValue:s}}(t,n,i,r):o===Zu.DateAxis?ds(t,n,i,r,u,e):hs(n,i,r)},i._createLine=function(t,n,e,r,o){var u,s,l;void 0===e&&(e=0),void 0===r&&(r=0);var c=i._xAxisType===Zu.StringAxis,f=i._getScales(e,r).xBarScale,h=i._createColors(),d=i.props.theme,v=(u=i.props).data,p=void 0===(s=u.lineLegendColor)?d.palette.yellow:s,m=u.lineLegendText,y=[],b=[];v&&v.forEach((function(t,n){var i;t.lineData&&t.lineData.y&&y.push({x:t.x,y:t.lineData.y,useSecondaryYScale:null!==(i=t.lineData.useSecondaryYScale)&&void 0!==i&&i,point:t,index:n})}));var x=uf().x((function(n){return c?f(n.x)+.5*f.bandwidth():t(n.x)})).y((function(t){return t.useSecondaryYScale&&o?o(t.y):n(t.y)})),w=!(!i._legendHighlighted(m)&&!i._noLegendHighlighted()),M=(null===(l=i.props.lineOptions)||void 0===l?void 0:l.lineBorderWidth)?Number.parseFloat(i.props.lineOptions.lineBorderWidth.toString()):0;M>0&&b.push(a.createElement("path",{key:g("_VBC_line_"),id:g("_VBC_line_"),opacity:w?1:.1,d:x(y),fill:"transparent",strokeLinecap:"square",strokeWidth:3+2*M,stroke:d.semanticColors.bodyBackground})),b.push(a.createElement("path",{key:g("_VBC_line_"),id:g("_VBC_line_"),opacity:w?1:.1,d:x(y),fill:"transparent",strokeLinecap:"square",strokeWidth:3,stroke:p}));var C=y.map((function(e,r){var u,s={refElement:null};return a.createElement("circle",{key:r,id:g("_VBC_point_"),cx:c?f(e.x)+.5*f.bandwidth():t(e.x),cy:e.useSecondaryYScale&&o?o(e.y):n(e.y),onMouseOver:i._legendHighlighted(m)?i._lineHover.bind(i,e.point):i._onBarHover.bind(i,e.point,h(e.y)),onMouseOut:i._onBarLeave,r:i._getCircleVisibilityAndRadius(e.x,m).radius,stroke:p,fill:i.props.theme.semanticColors.bodyBackground,strokeWidth:3,visibility:i._getCircleVisibilityAndRadius(e.x,m).visibility,onClick:null===(u=e.point.lineData)||void 0===u?void 0:u.onClick,"data-is-focusable":i._legendHighlighted(m),ref:function(t){return s.refElement=t},onFocus:i._lineFocus.bind(i,e.point,s),onBlur:i._handleChartMouseLeave})}));return a.createElement(a.Fragment,null,b,C)},i._getCircleVisibilityAndRadius=function(t,n){var e,r=(e=i.state).selectedLegend,o=e.activeXdataPoint;return""!==r?t===o&&r===n?{visibility:fh.show,radius:8}:r===n?{visibility:fh.show,radius:.3}:{visibility:fh.hide,radius:0}:{visibility:o===t?fh.show:fh.hide,radius:8}},i._checkForLine=function(){return i.props.data.some((function(t){var n;return void 0!==(null===(n=null==t?void 0:t.lineData)||void 0===n?void 0:n.y)}))},i._getMargins=function(t){i.margins=t},i._renderContentForBothLineAndBars=function(t){var n,e=(n=i._getCalloutContentForLineAndBar(t)).YValueHover,r=n.hoverXValue,u=e.map((function(t,n){return a.createElement(Ds.ChartHoverCard,(0,o.Cl)({key:n,Legend:t.legend},0===n&&{XValue:"".concat(r||t.data)},{color:t.color,YValue:t.data||t.y,culture:i.props.culture}))}));return a.createElement(a.Fragment,null,u)},i._renderContentForOnlyBars=function(t){var n,e=void 0!==(n=i.props.useSingleColor)&&n;return a.createElement(a.Fragment,null,a.createElement(Ds.ChartHoverCard,{XValue:t.xAxisCalloutData||t.x,Legend:t.legend,YValue:t.yAxisCalloutData||t.y,color:!e&&t.color?t.color:i._createColors()(t.y),culture:i.props.culture}))},i._renderCallout=function(t){return t?i._isHavingLine?i._renderContentForBothLineAndBars(t):i._renderContentForOnlyBars(t):null},i._getCustomizedCallout=function(){return i.props.onRenderCalloutPerDataPoint?i.props.onRenderCalloutPerDataPoint(i.state.dataPointCalloutProps,i._renderCallout):null},i._getGraphData=function(t,n,e,r,o){return i._bars=i._xAxisType===Zu.NumericAxis?i._createNumericBars(e,r,o):i._xAxisType===Zu.DateAxis?i._createDateBars(e,r,o):i._createStringBars(e,r,o)},i._refCallback=function(t,n){i._refArray.push({index:n,refElement:t})},i._getCalloutContentForLineAndBar=function(t){var n,e,r,o,a,u,s,l,c=[],f=(n=i.props).theme,h=void 0!==(e=n.useSingleColor)&&e,d=(r=i.props).data,v=r.lineLegendText,p=void 0===(o=r.lineLegendColor)?f.palette.yellow:o,g=d.filter((function(n){return n.x===t.x}));i._isHavingLine&&void 0!==(null===(a=g[0].lineData)||void 0===a?void 0:a.y)&&c.push({legend:v,color:p,y:null===(u=g[0].lineData)||void 0===u?void 0:u.y,data:null===(s=g[0].lineData)||void 0===s?void 0:s.yAxisCalloutData,yAxisCalloutData:null===(l=g[0].lineData)||void 0===l?void 0:l.yAxisCalloutData}),c.push({legend:g[0].legend,y:g[0].y,color:h?i._createColors()(1):g[0].color?g[0].color:i._createColors()(g[0].y),data:g[0].yAxisCalloutData,yAxisCalloutData:g[0].yAxisCalloutData});var m=t.x instanceof Date?Ns(t.x,i.props.useUTC):t.x.toString();return{YValueHover:c,hoverXValue:t.xAxisCalloutData||m}},i._onBarLeave=function(){},i._handleChartMouseLeave=function(){i._calloutAnchorPoint=null,i.setState({isCalloutVisible:!1,activeXdataPoint:null,YValueHover:[],hoverXValue:""})},i._onBarFocus=function(t,n,e){var r,o=(r=i._getCalloutContentForLineAndBar(t)).YValueHover,a=r.hoverXValue;i._refArray.forEach((function(r,u){r.index===t.legend&&n===u&&i.setState({refSelected:r.refElement,isCalloutVisible:""===i.state.selectedLegend||i.state.selectedLegend===t.legend,calloutLegend:t.legend,dataForHoverCard:t.y,color:t.color||e,xCalloutValue:t.xAxisCalloutData||(t.x instanceof Date?Ns(t.x,i.props.useUTC):t.x.toString()),yCalloutValue:t.yAxisCalloutData,dataPointCalloutProps:t,activeXdataPoint:t.x,YValueHover:o,hoverXValue:a,callOutAccessibilityData:t.callOutAccessibilityData})}))},i._lineHover=function(t,n){n.persist(),i._lineHoverFocus(t,n)},i._lineFocus=function(t,n){n.refElement&&i._lineHoverFocus(t,n.refElement)},i._lineHoverFocus=function(t,n){var e,r,o,a=i.props.theme,u=void 0===(r=(e=i.props).lineLegendText)?"":r,s=void 0===(o=e.lineLegendColor)?a.palette.yellow:o;i.setState({refSelected:n,isCalloutVisible:!0,calloutLegend:u,dataForHoverCard:t.lineData.y,color:s,xCalloutValue:t.xAxisCalloutData||(t.x instanceof Date?Ns(t.x,i.props.useUTC):t.x.toString()),yCalloutValue:t.lineData.yAxisCalloutData,dataPointCalloutProps:t,activeXdataPoint:t.x})},i._getScales=function(t,n){var e,r=Re().domain([0,i._yMax]).range([0,t-i.margins.bottom-i.margins.top]);if(i._xAxisType===Zu.NumericAxis){var o=gi(i._points,(function(t){return t.x})),a=pi(i._points,(function(t){return t.x}));e=Re().domain(i._isRtl?[o,a]:[a,o]).nice().range([i.margins.left+i._domainMargin,n-i.margins.right-i._domainMargin])}else if(i._xAxisType===Zu.DateAxis){var u=pi(i._points,(function(t){return t.x})),s=gi(i._points,(function(t){return t.x}));(e=i.props.useUTC?wa():xa()).domain([u,s]).range(i._isRtl?[n-i.margins.right-i._domainMargin,i.margins.left+i._domainMargin]:[i.margins.left+i._domainMargin,n-i.margins.right-i._domainMargin])}else e=Va().domain(i._xAxisLabels).range(i._isRtl?[n-i.margins.right-i._domainMargin,i.margins.left+i._domainMargin]:[i.margins.left+i._domainMargin,n-i.margins.right-i._domainMargin]).paddingInner(i._xAxisInnerPadding).paddingOuter(i._xAxisOuterPadding);return{xBarScale:e,yBarScale:r}},i._closeCallout=function(){i.setState({isCalloutVisible:!1})},i._getLegendData=function(t,n){var e,r,u,s=(e=i.props).theme,l=e.useSingleColor,c=(r=i.props).lineLegendText,f=void 0===(u=r.lineLegendColor)?s.palette.yellow:u,h=[];if(t.forEach((function(t,n){var e=l?i._createColors()(1):t.color,r={title:t.legend,color:e,action:function(){i._onLegendClick(t.legend)},hoverAction:function(){i._handleChartMouseLeave(),i._onLegendHover(t.legend)},onMouseOutAction:function(){i._onLegendLeave()}};h.push(r)})),i._isHavingLine&&c&&f){var d={title:c,color:f,action:function(){i._onLegendClick(c)},hoverAction:function(){i._handleChartMouseLeave(),i._onLegendHover(c)},onMouseOutAction:function(){i._onLegendLeave()},isLineLegendInBarChart:!0};h.unshift(d)}return a.createElement(ac,(0,o.Cl)({legends:h,enabledWrapLines:i.props.enabledLegendsWrapLines,overflowProps:i.props.legendsOverflowProps,focusZonePropsInHoverCard:i.props.focusZonePropsForLegendsInHoverCard,overflowText:i.props.legendsOverflowText},i.props.legendProps))},i._getAxisData=function(t){if(t&&t.yAxisDomainValues.length){var n=t.yAxisDomainValues;i._yMax=Math.max(n[n.length-1],i.props.yMaxValue||0)}},i._legendHighlighted=function(t){return i.state.selectedLegend===t||""===i.state.selectedLegend&&i.state.activeLegend===t},i._noLegendHighlighted=function(){return""===i.state.selectedLegend&&""===i.state.activeLegend},i._getAriaLabel=function(t){var n,e,r,o=t.xAxisCalloutData?t.xAxisCalloutData:t.x instanceof Date?Ns(t.x,i.props.useUTC):t.x,a=t.legend,u=t.yAxisCalloutData||t.y,s=i.props.lineLegendText||"Line",l=(null===(n=t.lineData)||void 0===n?void 0:n.yAxisCalloutData)||(null===(e=t.lineData)||void 0===e?void 0:e.y);return(null===(r=t.callOutAccessibilityData)||void 0===r?void 0:r.ariaLabel)||"".concat(o,". ")+(a?"".concat(a,", "):"")+"".concat(u,".")+(void 0!==l?" ".concat(s,", ").concat(l,"."):"")},i._getDomainMargins=function(t){var n;i._domainMargin=8;var e=t-(i.margins.left+8)-(i.margins.right+8);if(i._xAxisType===Zu.StringAxis){if(As(i.props.xAxisOuterPadding,i.props.xAxisPadding))i._domainMargin=0;else if("auto"!==i.props.barWidth){var r=i._xAxisInnerPadding/(1-i._xAxisInnerPadding);i._barWidth=Ls(i.props.barWidth,i.props.maxBarWidth);var a=(i._xAxisLabels.length+(i._xAxisLabels.length-1)*r)*i._barWidth;e>=a&&(i._domainMargin=8+(e-a)/2)}}else{var u=(null===(n=i.props.data)||void 0===n?void 0:n.map((function(t){return t.x})))||[];i._barWidth=Ls(i.props.barWidth,i.props.maxBarWidth,ph(u,e)),i._domainMargin=8+i._barWidth/2}return(0,o.Cl)((0,o.Cl)({},i.margins),{left:i.margins.left+i._domainMargin,right:i.margins.right+i._domainMargin})},i._getChartTitle=function(){var t,n=(t=i.props).chartTitle,e=t.data;return(n?"".concat(n,". "):"")+"Vertical bar chart with ".concat((null==e?void 0:e.length)||0," bars")+(i._isHavingLine?" and 1 line":"")+". "},i.state={color:"",dataForHoverCard:0,isCalloutVisible:!1,refSelected:null,selectedLegend:"",activeLegend:"",xCalloutValue:"",yCalloutValue:"",activeXdataPoint:null,YValueHover:[],hoverXValue:"",calloutLegend:""},i._isHavingLine=i._checkForLine(),i._calloutId=g("callout"),i._tooltipId=g("VCTooltipID_"),i._refArray=[],i._xAxisType=i.props.data&&i.props.data.length>0?xs(i.props.data[0].x,!0):Zu.StringAxis,i._emptyChartId=g("_VBC_empty"),i._domainMargin=8,i}return(0,o.C6)(n,t),n.prototype.render=function(){var t=this;this._adjustProps(),this._xAxisLabels=this._points.map((function(t){return t.x})),this._yMax=Math.max(gi(this._points,(function(t){return t.y})),this.props.yMaxValue||0);var n=this._getLegendData(this._points,this.props.theme.palette);this._classNames=mh(this.props.styles,{theme:this.props.theme,legendColor:this.state.color});var i=(0,o.Cl)((0,o.Cl)((0,o.Cl)((0,o.Cl)({isCalloutVisible:this.state.isCalloutVisible,directionalHint:x.topAutoEdge,id:"toolTip".concat(this._calloutId),target:this.state.refSelected,isBeakVisible:!1},this._isHavingLine&&{YValueHover:this.state.YValueHover,hoverXValue:this.state.hoverXValue}),{gapSpace:15,color:this.state.color,legend:this.state.calloutLegend,XValue:this.state.xCalloutValue,YValue:this.state.yCalloutValue?this.state.yCalloutValue:this.state.dataForHoverCard,onDismiss:this._closeCallout,preventDismissOnLostFocus:!0}),this.props.calloutProps),Ms(this.state.callOutAccessibilityData)),e={tickValues:this.props.tickValues,tickFormat:this.props.tickFormat};return this._isChartEmpty()?a.createElement("div",{id:this._emptyChartId,role:"alert",style:{opacity:"0"},"aria-label":"Graph has no data to display"}):a.createElement(gf,(0,o.Cl)({},this.props,{chartTitle:this._getChartTitle(),points:this._points,chartType:Gu.VerticalBarChart,xAxisType:this._xAxisType,createYAxis:es,calloutProps:i,tickParams:e},this._isHavingLine&&this._noLegendHighlighted()&&{isCalloutForStack:!0},{legendBars:n,datasetForXAxisDomain:this._xAxisLabels,barwidth:this._barWidth,focusZoneDirection:Ss.horizontal,customizedCallout:this._getCustomizedCallout(),createStringYAxis:os,getmargins:this._getMargins,getMinMaxOfYAxis:gs,getGraphData:this._getGraphData,getDomainNRangeValues:this._getDomainNRangeValues,getAxisData:this._getAxisData,onChartMouseLeave:this._handleChartMouseLeave,getDomainMargins:this._getDomainMargins},this._xAxisType===Zu.StringAxis&&{xAxisInnerPadding:this._xAxisInnerPadding,xAxisOuterPadding:this._xAxisOuterPadding},{children:function(n){return a.createElement(a.Fragment,null,a.createElement("g",null,t._bars),t._isHavingLine&&a.createElement("g",null,t._createLine(n.xScale,n.yScale,n.containerHeight,n.containerWidth,n.yScaleSecondary)))}}))},n.prototype._adjustProps=function(){this._points=this.props.data||[],this._barWidth=Ls(this.props.barWidth,this.props.maxBarWidth);var t=this.props.theme.palette;this._colors=this.props.colors||[t.blueLight,t.blue,t.blueMid,t.blueDark],this._isHavingLine=this._checkForLine(),this._xAxisInnerPadding=Vs(this.props.xAxisInnerPadding,this.props.xAxisPadding,2/3),this._xAxisOuterPadding=Vs(this.props.xAxisOuterPadding,this.props.xAxisPadding,0)},n.prototype._createColors=function(){var t,n=this,i=this._colors.length<=1?1:1/(this._colors.length-1);if(void 0!==(t=this.props.useSingleColor)&&t)return function(t){var i,e=(i=n.props).theme,r=i.colors;return r&&r.length>0?r[0]:e.palette.blueLight};for(var e=[],r=0;r<this._colors.length;r++)e.push(i*r*this._yMax);return Re().domain(e).range(this._colors)},n.prototype._onBarHover=function(t,n,i){var e;i.persist();var r=(e=this._getCalloutContentForLineAndBar(t)).YValueHover,o=e.hoverXValue;this._calloutAnchorPoint!==t&&(this._calloutAnchorPoint=t,this.setState({refSelected:i,isCalloutVisible:""===this.state.selectedLegend||this.state.selectedLegend===t.legend,dataForHoverCard:t.y,calloutLegend:t.legend,color:t.color||n,xCalloutValue:t.xAxisCalloutData||(t.x instanceof Date?Ns(t.x,this.props.useUTC):t.x.toString()),yCalloutValue:t.yAxisCalloutData,dataPointCalloutProps:t,activeXdataPoint:this._noLegendHighlighted()?t.x:null,YValueHover:r,hoverXValue:o,callOutAccessibilityData:t.callOutAccessibilityData}))},n.prototype._createNumericBars=function(t,n,i){var e,r,o=this,u=void 0!==(e=this.props.useSingleColor)&&e,s=(r=this._getScales(t,n)).xBarScale,l=r.yBarScale,c=this._createColors(),f=this._points.map((function(n,i){var e=!(!o._legendHighlighted(n.legend)&&!o._noLegendHighlighted());o._classNames=mh(o.props.styles,{theme:o.props.theme,legendColor:o.state.color,shouldHighlight:e});var r,f=Math.max(l(n.y),0);if(f<=0)return a.createElement(a.Fragment,{key:n.x}," ");r=f<=Math.ceil(l(o._yMax)/100)?Math.ceil(l(o._yMax)/100):f;var h=s(n.x)-o._barWidth/2,d=t-o.margins.bottom-r;return a.createElement("g",{key:n.x},a.createElement("rect",{id:g("_VBC_bar_"),x:h,className:o._classNames.opacityChangeOnHover,y:d,width:o._barWidth,"data-is-focusable":!o.props.hideTooltip&&e,height:r,ref:function(t){o._refCallback(t,n.legend)},onClick:n.onClick,onMouseOver:o._onBarHover.bind(o,n,c(n.y)),"aria-label":o._getAriaLabel(n),role:"img",onMouseLeave:o._onBarLeave,onFocus:o._onBarFocus.bind(o,n,i,c(n.y)),onBlur:o._onBarLeave,fill:n.color&&!u?n.color:c(n.y)}),o._renderBarLabel(h,d,n.y,n.legend))}));if(!this.props.showXAxisLablesTooltip)try{document.getElementById(this._tooltipId)&&document.getElementById(this._tooltipId).remove()}catch(t){}if(!this.props.wrapXAxisLables&&this.props.showXAxisLablesTooltip){var h=Fu(i).call(s);try{document.getElementById(this._tooltipId)&&document.getElementById(this._tooltipId).remove()}catch(t){}var d={tooltipCls:this._classNames.tooltip,id:this._tooltipId,xAxis:h};h&&ls(d)}return f},n.prototype._createStringBars=function(t,n,i){var e,r=this,o=(e=this._getScales(t,n)).xBarScale,u=e.yBarScale,s=this._createColors(),l=this._points.map((function(n,i){var e,l=Math.max(u(n.y),0);if(l<=0)return a.createElement(a.Fragment,{key:n.x instanceof Date?n.x.getTime():n.x}," ");e=l<=Math.ceil(u(r._yMax)/100)?Math.ceil(u(r._yMax)/100):l;var c=o(n.x),f=t-r.margins.bottom-e;return r._barWidth=Ls(r.props.barWidth,r.props.maxBarWidth,o.bandwidth()),a.createElement("g",{key:n.x instanceof Date?n.x.getTime():n.x,transform:"translate(".concat(.5*(o.bandwidth()-r._barWidth),", 0)")},a.createElement("rect",{id:g("_VBC_bar_"),x:c,y:f,width:r._barWidth,height:e,"aria-label":r._getAriaLabel(n),role:"img",ref:function(t){r._refCallback(t,n.legend)},onClick:n.onClick,onMouseOver:r._onBarHover.bind(r,n,s(n.y)),onMouseLeave:r._onBarLeave,onBlur:r._onBarLeave,"data-is-focusable":!r.props.hideTooltip,onFocus:r._onBarFocus.bind(r,n,i,s(n.y)),fill:n.color?n.color:s(n.y)}),r._renderBarLabel(c,f,n.y,n.legend))}));if(!this.props.showXAxisLablesTooltip)try{document.getElementById(this._tooltipId)&&document.getElementById(this._tooltipId).remove()}catch(t){}if(!this.props.wrapXAxisLables&&this.props.showXAxisLablesTooltip){var c=Fu(i).call(o);try{document.getElementById(this._tooltipId)&&document.getElementById(this._tooltipId).remove()}catch(t){}var f={tooltipCls:this._classNames.tooltip,id:this._tooltipId,xAxis:c,showTooltip:this.props.showXAxisLablesTooltip};c&&ls(f)}return l},n.prototype._createDateBars=function(t,n,i){var e,r,o=this,u=void 0!==(e=this.props.useSingleColor)&&e,s=(r=this._getScales(t,n)).xBarScale,l=r.yBarScale,c=this._createColors(),f=this._points.map((function(n,i){var e=!(!o._legendHighlighted(n.legend)&&!o._noLegendHighlighted());o._classNames=mh(o.props.styles,{theme:o.props.theme,legendColor:o.state.color,shouldHighlight:e});var r,f=Math.max(l(n.y),0);if(f<=0)return a.createElement(a.Fragment,{key:n.x instanceof Date?n.x.getTime():n.x}," ");r=f<=Math.ceil(l(o._yMax)/100)?Math.ceil(l(o._yMax)/100):f;var h=s(n.x)-o._barWidth/2,d=t-o.margins.bottom-r;return a.createElement("g",{key:n.x instanceof Date?n.x.getTime():n.x},a.createElement("rect",{id:g("_VBC_bar_"),x:h,className:o._classNames.opacityChangeOnHover,y:d,width:o._barWidth,"data-is-focusable":!o.props.hideTooltip&&e,height:r,ref:function(t){o._refCallback(t,n.legend)},onClick:n.onClick,onMouseOver:o._onBarHover.bind(o,n,c(n.y)),"aria-label":o._getAriaLabel(n),role:"img",onMouseLeave:o._onBarLeave,onFocus:o._onBarFocus.bind(o,n,i,c(n.y)),onBlur:o._onBarLeave,fill:n.color&&!u?n.color:c(n.y)}),o._renderBarLabel(h,d,n.y,n.legend))}));if(!this.props.showXAxisLablesTooltip)try{document.getElementById(this._tooltipId)&&document.getElementById(this._tooltipId).remove()}catch(t){}if(!this.props.wrapXAxisLables&&this.props.showXAxisLablesTooltip){var h=Fu(i).call(s);try{document.getElementById(this._tooltipId)&&document.getElementById(this._tooltipId).remove()}catch(t){}var d={tooltipCls:this._classNames.tooltip,id:this._tooltipId,xAxis:h};h&&ls(d)}return f},n.prototype._onLegendClick=function(t){this.state.selectedLegend===t?this.setState({selectedLegend:""}):this.setState({selectedLegend:t})},n.prototype._onLegendHover=function(t){this.setState({activeLegend:t})},n.prototype._onLegendLeave=function(){this.setState({activeLegend:""})},n.prototype._renderBarLabel=function(t,n,i,e){return this.props.hideLabels||this._barWidth<16||!this._legendHighlighted(e)&&!this._noLegendHighlighted()?null:a.createElement("text",{x:t+this._barWidth/2,y:n-6,textAnchor:"middle",className:this._classNames.barLabel,"aria-hidden":!0},ks(i))},n.prototype._isChartEmpty=function(){return 0===this._points.length||gi(this._points,(function(t){return t.y}))<=0&&!this._isHavingLine},n.defaultProps={maxBarWidth:24,useUTC:!0},n}(a.Component),bh=(0,r.I)(yh,(function(t){var n=t.shouldHighlight,i=t.theme;return{opacityChangeOnHover:{opacity:n?"":"0.1"},xAxisTicks:[],yAxisTicks:[{transform:"scaleX(-1)"}],yAxisDomain:[{transform:"scaleX(-1)"}],tooltip:(0,o.Cl)((0,o.Cl)({},i.fonts.medium),{display:"flex",flexDirection:"column",padding:"8px",position:"absolute",textAlign:"center",top:"0px",background:i.semanticColors.bodyBackground,borderRadius:"2px",pointerEvents:"none"}),barLabel:{fontSize:Xt.s.small,fontWeight:Xt.BO.semibold,fill:i.palette.neutralPrimary}}})),xh=(0,u.Z)();!function(t){t.show="visibility",t.hide="hidden"}(gh||(gh={}));var wh=function(t){function n(n){var i=t.call(this,n)||this;return i._isRtl=(0,s.jI)(),i._toFocusWholeStack=function(t){var n,e=void 0!==(n=i.props.isCalloutForStack)&&n;return t?""===i.state.selectedLegend:e},i._getDomainNRangeValues=function(t,n,i,e,r,o,a,u,s){return o===Zu.NumericAxis?function(t,n,i,e,r){var o=pi(t,(function(t){return t.x})),a=gi(t,(function(t){return t.x})),u=n.left,s=i-n.right;return e?{dStartValue:a,dEndValue:o,rStartValue:u,rEndValue:s}:{dStartValue:o,dEndValue:a,rStartValue:u,rEndValue:s}}(t,n,i,r):o===Zu.DateAxis?ds(t,n,i,r,u,e):hs(n,i,r)},i._getFormattedLineData=function(t){var n=[],i={};return t.forEach((function(t,i){t.lineData&&t.lineData.forEach((function(e){n.push((0,o.Cl)((0,o.Cl)({},e),{index:i,xItem:t}))}))})),n.forEach((function(t){i[t.legend]?i[t.legend].push(t):i[t.legend]=[t]})),i},i._getLineLegends=function(t){var n=i._lineObject,e=[];return Object.keys(n).forEach((function(t){e.push({title:t,color:n[t][0].color})})),e},i._createLines=function(t,n,e,r,u){var s,l=i._getFormattedLineData(i.props.data),c=[],f=[],h=[],d=i.props.theme,v=(null===(s=i.props.lineOptions)||void 0===s?void 0:s.lineBorderWidth)?Number.parseFloat(i.props.lineOptions.lineBorderWidth.toString()):0,p=i._xAxisType!==Zu.StringAxis?0:t.bandwidth()/2;return Object.keys(l).forEach((function(e,r){for(var s=i._legendHighlighted(e)||i._noLegendHighlighted(),h=1;h<l[e].length;h++){var g=t(l[e][h-1].xItem.xAxisPoint),m=l[e][h-1].useSecondaryYScale&&l[e][h].useSecondaryYScale&&u,y=m?u(l[e][h-1].y):n(l[e][h-1].y),b=t(l[e][h].xItem.xAxisPoint),x=m?u(l[e][h].y):n(l[e][h].y);v>0&&f.push(a.createElement("line",{key:"".concat(r,"-").concat(h,"-BorderLine"),x1:g,y1:y,x2:b,y2:x,opacity:s?1:.1,strokeWidth:3+2*v,fill:"transparent",strokeLinecap:"round",stroke:d.semanticColors.bodyBackground,transform:"translate(".concat(p,", 0)")})),c.push(a.createElement("line",(0,o.Cl)({key:"".concat(r,"-").concat(h,"-line"),x1:g,y1:y,x2:b,y2:x,opacity:s?1:.1,strokeWidth:3,strokeLinecap:"round",stroke:l[e][h].color,transform:"translate(".concat(p,", 0)")},i.state.selectedLegend===e&&{onMouseOver:i._lineHover.bind(i,l[e][h-1]),onMouseLeave:i._lineHoverOut})))}})),Object.keys(l).forEach((function(e,r){l[e].forEach((function(s,l){var c={refElement:null};h.push(a.createElement("circle",(0,o.Cl)({key:"".concat(r,"-").concat(l,"-dot"),cx:t(s.xItem.xAxisPoint),cy:s.useSecondaryYScale&&u?u(s.y):n(s.y),onMouseOver:i.state.selectedLegend===e?i._lineHover.bind(i,s):i._onStackHover.bind(i,s.xItem)},i.state.selectedLegend===e&&{onMouseLeave:i._lineHoverOut},{r:i._getCircleVisibilityAndRadius(s.xItem.xAxisPoint,s.legend).radius,stroke:s.color,fill:i.props.theme.semanticColors.bodyBackground,strokeWidth:3,visibility:i._getCircleVisibilityAndRadius(s.xItem.xAxisPoint,s.legend).visibility,transform:"translate(".concat(p,", 0)"),"data-is-focusable":i._legendHighlighted(e),ref:function(t){return c.refElement=t},onFocus:i._lineFocus.bind(i,s,c),onBlur:i._lineHoverOut})))}))})),a.createElement(a.Fragment,null,f,c,h)},i._getCircleVisibilityAndRadius=function(t,n){var e,r=(e=i.state).selectedLegend,o=e.activeXAxisDataPoint;return""!==r?t===o&&r===n?{visibility:gh.show,radius:8}:r===n?{visibility:gh.show,radius:.3}:{visibility:gh.hide,radius:0}:{visibility:o===t?gh.show:gh.hide,radius:8}},i._getMargins=function(t){i.margins=t},i._getCustomizedCallout=function(){var t=i.props.data.some((function(t){return t.lineData&&t.lineData.length>0}));return i.props.onRenderCalloutPerStack?i.props.onRenderCalloutPerStack(i.state.stackCalloutProps):i.props.onRenderCalloutPerDataPoint&&!t?i.props.onRenderCalloutPerDataPoint(i.state.dataPointCalloutProps,i._renderCallout):null},i._lineHover=function(t,n){n.persist(),i._lineHoverFocus(t,n)},i._lineHoverOut=function(){i.setState({refSelected:null,isCalloutVisible:!1,xCalloutValue:"",yCalloutValue:"",activeXAxisDataPoint:"",color:""})},i._lineFocus=function(t,n){n.refElement&&i._lineHoverFocus(t,n.refElement)},i._lineHoverFocus=function(t,n){i.setState({refSelected:n,isCalloutVisible:!0,xCalloutValue:"".concat(t.xItem.xAxisPoint),yCalloutValue:"".concat(t.yAxisCalloutData||t.data||t.y),activeXAxisDataPoint:t.xItem.xAxisPoint,color:t.color})},i._handleMouseOut=function(){},i._handleChartMouseLeave=function(){i._calloutAnchorPoint=null,i.setState({isCalloutVisible:!1,activeXAxisDataPoint:""})},i._createBar=function(t,n,e,r){var u,s,l,c=void 0===(s=(u=i.props).barCornerRadius)?0:s,f=void 0===(l=u.barMinimumHeight)?0:l,h=i.props.data.some((function(t){return t.lineData&&t.lineData.length>0})),d=i._toFocusWholeStack(h);i._xAxisType===Zu.StringAxis&&(i._barWidth=Ls(i.props.barWidth,i.props.maxBarWidth,t.bandwidth()));var v=i._points.map((function(r,u){var s=e-i.margins.bottom,l=t((i._xAxisType===Zu.NumericAxis||(i._xAxisType,Zu.DateAxis),r.xAxisPoint)),h=i._xAxisType!==Zu.StringAxis?-i._barWidth/2:(t.bandwidth()-i._barWidth)/2,v=0,p=r.chartData.filter((function(t){return t.data>0}));if(p.length){var g=i._getBarGapAndScale(p,n),m=g.gapHeight,y=g.heightValueScale;if(!(y<0)){var b=p.map((function(t,n){var e=t.color?t.color:i._colors[n],g={},b=!(!i._legendHighlighted(t.legend)&&!i._noLegendHighlighted());i._classNames=xh(i.props.styles,{theme:i.props.theme,shouldHighlight:b,href:i.props.href});var x=!d&&{"data-is-focusable":!i.props.hideTooltip&&b,"aria-label":i._getAriaLabel(r,t),onMouseOver:i._onRectHover.bind(i,r.xAxisPoint,t,e),onMouseMove:i._onRectHover.bind(i,r.xAxisPoint,t,e),onMouseLeave:i._handleMouseOut,onFocus:i._onRectFocus.bind(i,t,r.xAxisPoint,e,g),onBlur:i._handleMouseOut,onClick:i._onClick.bind(i,t),role:"img"},w=y*t.data;return w<Math.max(Math.ceil(y*i._yMax/100),f)&&(w=Math.max(Math.ceil(y*i._yMax/100),f)),s=s-w-(n?m:0),v+=t.data,c&&w>c&&n===p.length-1?a.createElement("path",(0,o.Cl)({key:n+u+"".concat(d),className:i._classNames.opacityChangeOnHover,d:"\n M ".concat(l," ").concat(s+c,"\n a ").concat(c," ").concat(c," 0 0 1 ").concat(c," ").concat(-c,"\n h ").concat(i._barWidth-2*c,"\n a ").concat(c," ").concat(c," 0 0 1 ").concat(c," ").concat(c,"\n v ").concat(w-c,"\n h ").concat(-i._barWidth,"\n z\n "),fill:e,ref:function(t){return g.refElement=t},transform:"translate(".concat(h,", 0)")},x)):w<0?a.createElement(a.Fragment,{key:n+u}," "):a.createElement("rect",(0,o.Cl)({key:n+u,className:i._classNames.opacityChangeOnHover,x:l,y:s,width:i._barWidth,height:w,fill:e,ref:function(t){return g.refElement=t}},x,{transform:"translate(".concat(h,", 0)")}))})),x={},w=d&&{"data-is-focusable":!i.props.hideTooltip,"aria-label":i._getAriaLabel(r),onMouseOver:i._onStackHover.bind(i,r),onMouseMove:i._onStackHover.bind(i,r),onMouseLeave:i._handleMouseOut,onFocus:i._onStackFocus.bind(i,r,x),onBlur:i._handleMouseOut,onClick:i._onClick.bind(i,r),role:"img"},M=!1,C=0;return i.props.hideLabels||(i._noLegendHighlighted()?(M=!0,C=v):p.forEach((function(t){i._legendHighlighted(t.legend)&&(M=!0,C+=t.data)}))),a.createElement("g",{key:u+"".concat(d)},a.createElement("g",(0,o.Cl)({id:"".concat(u,"-singleBar"),ref:function(t){return x.refElement=t}},w),b),!i.props.hideLabels&&i._barWidth>=16&&M&&a.createElement("text",{x:l+i._barWidth/2,y:s-6,textAnchor:"middle",className:i._classNames.barLabel,"aria-label":"Total: ".concat(C),role:"img",transform:"translate(".concat(h,", 0)")},ks(C)))}}}));if(!i.props.showXAxisLablesTooltip)try{document.getElementById(i._tooltipId)&&document.getElementById(i._tooltipId).remove()}catch(t){}if(!i.props.wrapXAxisLables&&i.props.showXAxisLablesTooltip){var p=Fu(r).call(t);try{document.getElementById(i._tooltipId)&&document.getElementById(i._tooltipId).remove()}catch(t){}var g={tooltipCls:i._classNames.tooltip,id:i._tooltipId,xAxis:p};p&&ls(g)}return v.filter((function(t){return!!t}))},i._getScales=function(t,n){var e=i._yMax,r=Re().domain([0,e]).range([0,t-i.margins.bottom-i.margins.top]);if(i._xAxisType===Zu.NumericAxis){var o=gi(i._dataset,(function(t){return t.x})),a=pi(i._dataset,(function(t){return t.x}));return{xBarScale:Re().domain(i._isRtl?[o,a]:[a,o]).nice().range([i.margins.left+i._domainMargin,n-i.margins.right-i._domainMargin]),yBarScale:r}}if(i._xAxisType===Zu.DateAxis){var u=pi(i._dataset,(function(t){return t.x})),s=gi(i._dataset,(function(t){return t.x})),l=i.props.useUTC?wa():xa();return l.domain(i._isRtl?[s,u]:[u,s]).range([i.margins.left+i._domainMargin,n-i.margins.right-i._domainMargin]),{xBarScale:l,yBarScale:r}}return{xBarScale:Va().domain(i._xAxisLabels).range(i._isRtl?[n-i.margins.right-i._domainMargin,i.margins.left+i._domainMargin]:[i.margins.left+i._domainMargin,n-i.margins.right-i._domainMargin]).paddingInner(i._xAxisInnerPadding).paddingOuter(i._xAxisOuterPadding),yBarScale:r}},i._getGraphData=function(t,n,e,r,o){var a,u=(a=i._getScales(e,r)).xBarScale,s=a.yBarScale;return i._bars=i._createBar(u,s,e,o)},i._closeCallout=function(){i.setState({isCalloutVisible:!1})},i._getAxisData=function(t){if(t&&t.yAxisDomainValues.length){var n=t.yAxisDomainValues;i._yMax=Math.max(n[n.length-1],i.props.yMaxValue||0)}},i._legendHighlighted=function(t){return i.state.selectedLegend===t||""===i.state.selectedLegend&&i.state.activeLegend===t},i._noLegendHighlighted=function(){return""===i.state.selectedLegend&&""===i.state.activeLegend},i._getAriaLabel=function(t,n){var i,e,r;if(!n){var o=t.xAxisCalloutData||(t.xAxisPoint instanceof Date?Ns(t.xAxisPoint):t.xAxisPoint),a=t.chartData.map((function(t){var n=t.legend,i=t.yAxisCalloutData||t.data;return"".concat(n,", ").concat(i,".")})).join(" "),u=null===(i=t.lineData)||void 0===i?void 0:i.map((function(t){var n=t.legend,i=t.yAxisCalloutData||t.data||t.y;return"".concat(n,", ").concat(i,".")})).join(" ");return(null===(e=t.stackCallOutAccessibilityData)||void 0===e?void 0:e.ariaLabel)||"".concat(o,". ").concat(a)+(u?" ".concat(u):"")}var s=t.xAxisCalloutData||n.xAxisCalloutData||(t.xAxisPoint instanceof Date?Ns(t.xAxisPoint):t.xAxisPoint),l=n.legend,c=n.yAxisCalloutData||n.data;return(null===(r=n.callOutAccessibilityData)||void 0===r?void 0:r.ariaLabel)||"".concat(s,". ").concat(l,", ").concat(c,".")},i._getDomainMargins=function(t){var n;i._domainMargin=8;var e=t-(i.margins.left+8)-(i.margins.right+8);if(i._xAxisType===Zu.StringAxis){if(As(i.props.xAxisOuterPadding,i.props.xAxisPadding))i._domainMargin=0;else if("auto"!==i.props.barWidth){var r=i._xAxisInnerPadding/(1-i._xAxisInnerPadding);i._barWidth=Ls(i.props.barWidth,i.props.maxBarWidth);var a=(i._xAxisLabels.length+(i._xAxisLabels.length-1)*r)*i._barWidth;e>=a&&(i._domainMargin=8+(e-a)/2)}}else{var u=(null===(n=i.props.data)||void 0===n?void 0:n.map((function(t){return t.xAxisPoint})))||[];i._barWidth=Ls(i.props.barWidth,i.props.maxBarWidth,ph(u,e)),i._domainMargin=8+i._barWidth/2}return(0,o.Cl)((0,o.Cl)({},i.margins),{left:i.margins.left+i._domainMargin,right:i.margins.right+i._domainMargin})},i._getChartTitle=function(){var t,n=(t=i.props).chartTitle,e=t.data,r=Object.keys(i._lineObject).length;return(n?"".concat(n,". "):"")+"Vertical bar chart with ".concat((null==e?void 0:e.length)||0," stacked bars")+(r>0?" and ".concat(r," lines"):"")+". "},i.state={isCalloutVisible:!1,selectedLegend:"",activeLegend:"",refSelected:null,dataForHoverCard:0,color:"",hoverXValue:"",YValueHover:[],xCalloutValue:"",yCalloutValue:"",activeXAxisDataPoint:"",calloutLegend:""},Wn("VERTICAL STACKED BAR CHART",n,{colors:"IVSChartDataPoint.color",chartLabel:"use your own title for chart"}),i._handleMouseOut=i._handleMouseOut.bind(i),i._calloutId=g("callout"),i._tooltipId=g("VSBCTooltipId_"),i._isChartEmpty()||(i._adjustProps(),i._dataset=i._createDataSetLayer()),i._createLegendsForLine=(0,dn.J9)((function(t){return i._getLineLegends(t)})),i._emptyChartId=g("_VSBC_empty"),i._domainMargin=8,i}return(0,o.C6)(n,t),n.prototype.componentDidUpdate=function(t){t.height===this.props.height&&t.width===this.props.width&&t.data===this.props.data||(this._adjustProps(),this._dataset=this._createDataSetLayer())},n.prototype.render=function(){var t,n=this;if(!this._isChartEmpty()){this._adjustProps();var i=this.props.data.some((function(t){return t.lineData&&t.lineData.length>0})),e=this._toFocusWholeStack(i),r=void 0!==(t=this.props.isCalloutForStack)&&t;this._dataset=this._createDataSetLayer();var u=this._getLegendData(this._points,this.props.theme.palette,this._createLegendsForLine(this.props.data));this._classNames=xh(this.props.styles,{theme:this.props.theme,href:this.props.href});var s=(0,o.Cl)((0,o.Cl)({isCalloutVisible:this.state.isCalloutVisible,directionalHint:x.topAutoEdge,id:"toolTip".concat(this._calloutId),target:this.state.refSelected,isBeakVisible:!1,gapSpace:15,color:this.state.color,legend:this.state.calloutLegend,XValue:this.state.xCalloutValue,YValue:this.state.yCalloutValue?this.state.yCalloutValue:this.state.dataForHoverCard,YValueHover:this.state.YValueHover,hoverXValue:this.state.hoverXValue,onDismiss:this._closeCallout,preventDismissOnLostFocus:!0},this.props.calloutProps),Ms(this.state.callOutAccessibilityData)),l={tickValues:this.props.tickValues,tickFormat:this.props.tickFormat};return a.createElement(gf,(0,o.Cl)({},this.props,{chartTitle:this._getChartTitle(),points:this._dataset,chartType:Gu.VerticalStackedBarChart,xAxisType:this._xAxisType,calloutProps:s,createYAxis:es,tickParams:l,legendBars:u,getMinMaxOfYAxis:ps,datasetForXAxisDomain:this._xAxisLabels,isCalloutForStack:e,getDomainNRangeValues:this._getDomainNRangeValues,createStringYAxis:os,barwidth:this._barWidth,focusZoneDirection:r||i?Ss.horizontal:Ss.vertical,getmargins:this._getMargins,getGraphData:this._getGraphData,getAxisData:this._getAxisData,customizedCallout:this._getCustomizedCallout(),onChartMouseLeave:this._handleChartMouseLeave,getDomainMargins:this._getDomainMargins},this._xAxisType===Zu.StringAxis&&{xAxisInnerPadding:this._xAxisInnerPadding,xAxisOuterPadding:this._xAxisOuterPadding},{children:function(t){return a.createElement(a.Fragment,null,a.createElement("g",null,n._bars),a.createElement("g",null,i&&n._createLines(t.xScale,t.yScale,t.containerHeight,t.containerWidth,t.yScaleSecondary)))}}))}return a.createElement("div",{id:this._emptyChartId,role:"alert",style:{opacity:"0"},"aria-label":"Graph has no data to display"})},n.prototype._adjustProps=function(){this._points=this.props.data||[],this._barWidth=Ls(this.props.barWidth,this.props.maxBarWidth);var t=this.props.theme.palette;this._colors=this.props.colors||[t.blueLight,t.blue,t.blueMid,t.red,t.black],this._xAxisType=xs(this.props.data[0].xAxisPoint,!0),this._lineObject=this._getFormattedLineData(this.props.data),this._xAxisInnerPadding=Vs(this.props.xAxisInnerPadding,this.props.xAxisPadding,2/3),this._xAxisOuterPadding=Vs(this.props.xAxisOuterPadding,this.props.xAxisPadding,0)},n.prototype._createDataSetLayer=function(){var t=[],n=this._points.map((function(n){var i=0;return n.chartData.forEach((function(t){i+=t.data})),t.push(n.xAxisPoint),{x:n.xAxisPoint,y:i}}));return this._xAxisLabels=t,n},n.prototype._renderCallout=function(t){return t?a.createElement(Ds.ChartHoverCard,{XValue:t.xAxisCalloutData,Legend:t.legend,YValue:t.yAxisCalloutData,color:t.color,culture:this.props.culture}):null},n.prototype._onLegendClick=function(t){this.state.selectedLegend===t?this.setState({selectedLegend:""}):this.setState({selectedLegend:t})},n.prototype._onLegendHover=function(t){this.setState({activeLegend:t})},n.prototype._onLegendLeave=function(){this.setState({activeLegend:""})},n.prototype._getLegendData=function(t,n,i){var e,r=this;if(this.props.hideLegend)return a.createElement(a.Fragment,null);var u=[n.blueLight,n.blue,n.blueMid,n.red,n.black],s=[],l=void 0===(e=this.props.allowHoverOnLegend)||e;t.forEach((function(t){t.chartData.forEach((function(t){var n=t.color?t.color:u[Math.floor(4*Math.random()+1)];if(!(s.filter((function(i){return i.title===t.legend&&i.color===n})).length>0)){var i={title:t.legend,color:n,action:function(){r._onLegendClick(t.legend)},hoverAction:l?function(){r._handleChartMouseLeave(),r._onLegendHover(t.legend)}:void 0,onMouseOutAction:l?function(){return r._onLegendLeave()}:void 0};s.push(i)}}))}));var c=[];i&&i.length>0&&i.forEach((function(t){var n={title:t.title,color:t.color,isLineLegendInBarChart:!0,action:function(){r._onLegendClick(t.title)},hoverAction:l?function(){r._handleChartMouseLeave(),r._onLegendHover(t.title)}:void 0,onMouseOutAction:l?function(){return r._onLegendLeave()}:void 0};c.push(n)}));var f=c.concat(s);return a.createElement(ac,(0,o.Cl)({legends:f,overflowProps:this.props.legendsOverflowProps,enabledWrapLines:this.props.enabledLegendsWrapLines,focusZonePropsInHoverCard:this.props.focusZonePropsForLegendsInHoverCard,overflowText:this.props.legendsOverflowText},this.props.legendProps))},n.prototype._onRectHover=function(t,n,i,e){e.persist(),this._onRectFocusHover(t,n,i,e)},n.prototype._onRectFocusHover=function(t,n,i,e){var r,o;(null===(r=this._calloutAnchorPoint)||void 0===r?void 0:r.chartDataPoint)===n&&(null===(o=this._calloutAnchorPoint)||void 0===o?void 0:o.xAxisDataPoint)===t||(this._calloutAnchorPoint={chartDataPoint:n,xAxisDataPoint:t},this.setState({refSelected:e,isCalloutVisible:""===this.state.selectedLegend||this.state.selectedLegend===n.legend,calloutLegend:n.legend,dataForHoverCard:n.data,color:i,xCalloutValue:n.xAxisCalloutData?n.xAxisCalloutData:t,yCalloutValue:n.yAxisCalloutData,dataPointCalloutProps:n,callOutAccessibilityData:n.callOutAccessibilityData}))},n.prototype._onStackHover=function(t,n){n.persist(),this._onStackHoverFocus(t,n)},n.prototype._onStackHoverFocus=function(t,n){var i=t.lineData,e=void 0!==i&&i.length>0;e&&i.forEach((function(t){t.data=t.data||t.y,t.shouldDrawBorderBottom=!0})),this.setState({refSelected:n,isCalloutVisible:!0,YValueHover:e?(0,o.fX)((0,o.fX)([],i.sort((function(t,n){return t.data<n.data?1:-1})),!0),t.chartData.slice().reverse(),!0):t.chartData.slice().reverse(),hoverXValue:t.xAxisPoint instanceof Date?Ns(t.xAxisPoint,this.props.useUTC):t.xAxisPoint,stackCalloutProps:t,activeXAxisDataPoint:t.xAxisPoint,callOutAccessibilityData:t.stackCallOutAccessibilityData})},n.prototype._onRectFocus=function(t,n,i,e){e.refElement&&this._onRectFocusHover(n,t,i,e.refElement)},n.prototype._onStackFocus=function(t,n){n.refElement&&this._onStackHoverFocus(t,n.refElement)},n.prototype._onClick=function(t,n){var i,e;null===(e=(i=this.props).onBarClick)||void 0===e||e.call(i,n,t),this.props.href&&(window.location.href=this.props.href)},n.prototype._getBarGapAndScale=function(t,n,i){var e,r=void 0===(e=this.props.barGapMax)?0:e,o=t.reduce((function(t,n){return t+n.data}),0),a=null!=i?i:n(o),u=r&&t.length-1,s=u&&Math.max(1,Math.min(r,.2*a/u));return{gapHeight:s,heightValueScale:(a-s*u)/o}},n.prototype._isChartEmpty=function(){return!(this.props.data&&this.props.data.length>0&&0===this.props.data.filter((function(t){return 0===t.chartData.length})).length)},n.defaultProps={maxBarWidth:24,useUTC:!0},n}(a.Component),Mh=(0,r.I)(wh,(function(t){var n=t.shouldHighlight,i=t.href,e=t.theme;return{opacityChangeOnHover:{opacity:n?"":"0.1",cursor:i?"pointer":"default"},tooltip:(0,o.Cl)((0,o.Cl)({},e.fonts.medium),{display:"flex",flexDirection:"column",padding:"8px",position:"absolute",textAlign:"center",top:"0px",background:e.semanticColors.bodyBackground,borderRadius:"2px",pointerEvents:"none"}),barLabel:{fontSize:Xt.s.small,fontWeight:Xt.BO.semibold,fill:e.palette.neutralPrimary}}})),Ch=(0,u.Z)(),kh=.1/.9,Sh=function(t){function n(n){var i=t.call(this,n)||this;return i._isRtl=(0,s.jI)(),i._getMinMaxOfYAxis=function(){return{startValue:0,endValue:0}},i._getDomainNRangeValues=function(t,n,i,e,r,o,a,u,s){return o===Zu.NumericAxis||o===Zu.DateAxis?{dStartValue:0,dEndValue:0,rStartValue:0,rEndValue:0}:hs(n,i,r)},i._getGraphData=function(t,n,e,r,o){var a=i._createX0Scale(r);i._barWidth=Ls(i.props.barwidth,i.props.maxBarWidth,a.bandwidth()/(i._keys.length+(i._keys.length-1)*kh)),i._groupWidth=(i._keys.length+(i._keys.length-1)*kh)*i._barWidth;var u=i._createX1Scale(),s=[];i._datasetForBars.forEach((function(t){s.push(i._buildGraph(t,a,u,e,o))})),i._groupedVerticalBarGraph=s},i._getMargins=function(t){return i.margins=t},i._createDataSetOfGVBC=function(t){var n=[],e=t.map((function(t){return t.name}));t[0].series.forEach((function(t){n.push(t.key)}));var r=i._createDataset(t);return{keys:n,xAxisLabels:e,datasetForBars:r}},i._getCustomizedCallout=function(){return i.props.onRenderCalloutPerDataPoint?i.props.onRenderCalloutPerDataPoint(i.state.dataPointCalloutProps):null},i._getOpacity=function(t){return i._legendHighlighted(t)||i._noLegendHighlighted()?"":"0.1"},i._onBarHover=function(t,n,e){e.persist(),i._calloutAnchorPoint!==t&&(i._calloutAnchorPoint=t,i.setState({refSelected:e,isCalloutVisible:""===i.state.selectedLegend||i.state.selectedLegend===t.legend,calloutLegend:t.legend,dataForHoverCard:t.data,color:t.color,xCalloutValue:t.xAxisCalloutData,yCalloutValue:t.yAxisCalloutData,dataPointCalloutProps:t,callOutAccessibilityData:i.props.isCalloutForStack?n.stackCallOutAccessibilityData:t.callOutAccessibilityData,YValueHover:n.groupSeries,hoverXValue:t.xAxisCalloutData}))},i._onBarLeave=function(){},i._handleChartMouseLeave=function(){i._calloutAnchorPoint=null,i.setState({isCalloutVisible:!1})},i._onBarFocus=function(t,n,e){i._refArray.forEach((function(r,o){r.index===t.legend&&e===o&&i.setState({refSelected:r.refElement,isCalloutVisible:""===i.state.selectedLegend||i.state.selectedLegend===t.legend,calloutLegend:t.legend,dataForHoverCard:t.data,color:t.color,xCalloutValue:t.xAxisCalloutData,yCalloutValue:t.yAxisCalloutData,dataPointCalloutProps:t,callOutAccessibilityData:i.props.isCalloutForStack?n.stackCallOutAccessibilityData:t.callOutAccessibilityData,YValueHover:n.groupSeries,hoverXValue:t.xAxisCalloutData})}))},i._redirectToUrl=function(t){t&&(window.location.href=t)},i._buildGraph=function(t,n,e,r,o){var u=[],s=[],l=Re().domain([0,i._yMax]).range([0,r-i.margins.bottom-i.margins.top]),c=Object.keys(i._datasetForBars[0]).splice(0,i._keys.length);if(c.forEach((function(n,o){var f=t.indexNum*c.length+o,h=t[n],d=e(n)+(e.bandwidth()-i._barWidth)/2,v=Math.max(r-i.margins.bottom-l(h.data),0);h.data&&u.push(a.createElement("rect",{className:i._classNames.opacityChangeOnHover,key:"".concat(t.indexNum,"-").concat(o),height:Math.max(l(h.data),0),width:i._barWidth,x:d,y:v,"data-is-focusable":!i.props.hideTooltip&&(i._legendHighlighted(h.legend)||i._noLegendHighlighted()),opacity:i._getOpacity(h.legend),ref:function(t){i._refCallback(t,h.legend,f)},fill:h.color,onMouseOver:i._onBarHover.bind(i,h,t),onMouseMove:i._onBarHover.bind(i,h,t),onMouseOut:i._onBarLeave,onFocus:i._onBarFocus.bind(i,h,t,f),onBlur:i._onBarLeave,onClick:i.props.href?i._redirectToUrl.bind(i,i.props.href):h.onClick,"aria-label":i._getAriaLabel(h,t.xAxisPoint),role:"img"})),h.data&&!i.props.hideLabels&&i._barWidth>=16&&(i._legendHighlighted(h.legend)||i._noLegendHighlighted())&&s.push(a.createElement("text",{key:"".concat(t.indexNum,"-").concat(o),x:d+i._barWidth/2,y:v-6,textAnchor:"middle",className:i._classNames.barLabel,"aria-hidden":!0},ks(h.data)))})),!i.props.wrapXAxisLables&&i.props.showXAxisLablesTooltip){var f=Fu(o).call(n);try{document.getElementById(i._tooltipId)&&document.getElementById(i._tooltipId).remove()}catch(t){}var h={tooltipCls:i._classNames.tooltip,id:i._tooltipId,xAxis:f};f&&ls(h)}return a.createElement("g",{key:t.indexNum,transform:"translate(".concat(n(t.xAxisPoint)+(n.bandwidth()-i._groupWidth)/2,", 0)")},u,s)},i._createDataset=function(t){var n=[],e=[];return t.forEach((function(t,i){var r={},a={},u=[];t.series.forEach((function(t){r[t.key]=t.data,a[t.key]=(0,o.Cl)({},t),u.push(t)})),a.xAxisPoint=t.name,a.indexNum=i,a.groupSeries=u,a.stackCallOutAccessibilityData=t.stackCallOutAccessibilityData,n.push(a),e.push(r)})),i._dataset=e,n},i._createX0Scale=function(t){return Va().domain(i._xAxisLabels).range(i._isRtl?[t-i.margins.right-i._domainMargin,i.margins.left+i._domainMargin]:[i.margins.left+i._domainMargin,t-i.margins.right-i._domainMargin]).paddingInner(i._xAxisInnerPadding).paddingOuter(i._xAxisOuterPadding)},i._createX1Scale=function(){return Va().domain(i._keys).range(i._isRtl?[i._groupWidth,0]:[0,i._groupWidth]).paddingInner(.1)},i._closeCallout=function(){i.setState({isCalloutVisible:!1})},i._getLegendData=function(t,n){var e=t,r=[n.blueLight,n.blue,n.blueMid,n.red,n.black],u=[];return e.forEach((function(t){t.series.forEach((function(t){var n=t.color?t.color:r[Math.floor(4*Math.random()+1)];if(!(u.filter((function(i){return i.title===t.legend&&i.color===n})).length>0)){var e={title:t.legend,color:n,action:function(){i._onLegendClick(t.legend)},hoverAction:function(){i._handleChartMouseLeave(),i._onLegendHover(t.legend)},onMouseOutAction:function(){i._onLegendLeave()}};u.push(e)}}))})),a.createElement(ac,(0,o.Cl)({legends:u,overflowProps:i.props.legendsOverflowProps,enabledWrapLines:i.props.enabledLegendsWrapLines,focusZonePropsInHoverCard:i.props.focusZonePropsForLegendsInHoverCard},i.props.legendProps))},i._getAxisData=function(t){if(t&&t.yAxisDomainValues.length){var n=t.yAxisDomainValues;i._yMax=Math.max(n[n.length-1],i.props.yMaxValue||0)}},i._legendHighlighted=function(t){return i.state.selectedLegend===t||""===i.state.selectedLegend&&i.state.activeLegend===t},i._noLegendHighlighted=function(){return""===i.state.selectedLegend&&""===i.state.activeLegend},i._getAriaLabel=function(t,n){var i,e=t.xAxisCalloutData||n,r=t.legend,o=t.yAxisCalloutData||t.data;return(null===(i=t.callOutAccessibilityData)||void 0===i?void 0:i.ariaLabel)||"".concat(e,". ").concat(r,", ").concat(o,".")},i._getDomainMargins=function(t){if(i._domainMargin=8,i._xAxisType===Zu.StringAxis)if(As(i.props.xAxisOuterPadding))i._domainMargin=0;else if("auto"!==i.props.barwidth){var n=t-(i.margins.left+8)-(i.margins.right+8);i._barWidth=Ls(i.props.barwidth,i.props.maxBarWidth);var e=(i._keys.length+(i._keys.length-1)*kh)*i._barWidth,r=i._xAxisInnerPadding/(1-i._xAxisInnerPadding),a=(i._xAxisLabels.length+(i._xAxisLabels.length-1)*r)*e;n>=a&&(i._domainMargin=8+(n-a)/2)}return(0,o.Cl)((0,o.Cl)({},i.margins),{left:i.margins.left+i._domainMargin,right:i.margins.right+i._domainMargin})},i._getChartTitle=function(){var t=i.props.chartTitle;return(t?"".concat(t,". "):"")+"Vertical bar chart with ".concat(i._xAxisLabels.length," groups of ").concat(i._keys.length," bars each. ")},i._createSet=(0,dn.J9)((function(t){return i._createDataSetOfGVBC(t)})),i.state={color:"",dataForHoverCard:0,isCalloutVisible:!1,refSelected:null,selectedLegend:"",xCalloutValue:"",yCalloutValue:"",YValueHover:[],hoverXValue:"",calloutLegend:"",activeLegend:""},Wn("GROUPED VERTICAL BAR CHART",n,{showYAxisGridLines:"Dont use this property. Lines are drawn by default",showXAxisPath:"Dont use this property. Axis line removed default.",showYAxisPath:"Dont use this property. No need to display Y axis path. Handling default",showXAxisGridLines:"Dont use this property. Handling with default value.",legendColor:"Dont use this property. colour will pick from given data."}),i._refArray=[],i._calloutId=g("callout"),i._tooltipId=g("GVBCTooltipId_"),i._emptyChartId=g("_GVBC_empty"),i._domainMargin=8,i}return(0,o.C6)(n,t),n.prototype.render=function(){var t,n=this,i=this.props.data,e=(t=this._createSet(i)).keys,r=t.xAxisLabels,u=t.datasetForBars;this._keys=e,this._xAxisLabels=r,this._datasetForBars=u,this._xAxisType=xs(i[0].name,!0);var s=this._getLegendData(i,this.props.theme.palette);this._adjustProps();var l=gi(this._dataset,(function(t){return gi(n._keys,(function(n){return t[n]}))}));this._yMax=Math.max(l,this.props.yMaxValue||0),this._classNames=Ch(this.props.styles,{theme:this.props.theme,href:this.props.href});var c=(0,o.Cl)((0,o.Cl)((0,o.Cl)({target:this.state.refSelected,isCalloutVisible:this.state.isCalloutVisible,directionalHint:x.topAutoEdge,id:"toolTip".concat(this._calloutId),gapSpace:15,isBeakVisible:!1,setInitialFocus:!0,color:this.state.color,Legend:this.state.calloutLegend,XValue:this.state.xCalloutValue,YValue:this.state.yCalloutValue?this.state.yCalloutValue:this.state.dataForHoverCard,YValueHover:this.state.YValueHover,hoverXValue:this.state.hoverXValue,onDismiss:this._closeCallout},this.props.calloutProps),{preventDismissOnLostFocus:!0}),Ms(this.state.callOutAccessibilityData,"text",!1)),f={tickValues:this.props.tickValues,tickFormat:this.props.tickFormat};return this._isChartEmpty()?a.createElement("div",{id:this._emptyChartId,role:"alert",style:{opacity:"0"},"aria-label":"Graph has no data to display"}):a.createElement(gf,(0,o.Cl)({},this.props,{chartTitle:this._getChartTitle(),points:this._datasetForBars,chartType:Gu.GroupedVerticalBarChart,calloutProps:c,legendBars:s,xAxisType:this._xAxisType,createYAxis:es,datasetForXAxisDomain:this._xAxisLabels,tickParams:f,getDomainNRangeValues:this._getDomainNRangeValues,getMinMaxOfYAxis:this._getMinMaxOfYAxis,createStringYAxis:os,tickPadding:this.props.tickPadding||5,maxOfYVal:this._yMax,svgFocusZoneProps:{direction:Ss.horizontal},customizedCallout:this._getCustomizedCallout(),getmargins:this._getMargins,getGraphData:this._getGraphData,getAxisData:this._getAxisData,onChartMouseLeave:this._handleChartMouseLeave,getDomainMargins:this._getDomainMargins},this._xAxisType===Zu.StringAxis&&{xAxisInnerPadding:this._xAxisInnerPadding,xAxisOuterPadding:this._xAxisOuterPadding},{barwidth:this._barWidth,children:function(){return a.createElement("g",null,n._groupedVerticalBarGraph)}}))},n.prototype._refCallback=function(t,n,i){this._refArray[i]={index:n,refElement:t}},n.prototype._onLegendClick=function(t){this.state.selectedLegend===t?this.setState({selectedLegend:""}):this.setState({selectedLegend:t})},n.prototype._onLegendHover=function(t){this.setState({activeLegend:t})},n.prototype._onLegendLeave=function(){this.setState({activeLegend:""})},n.prototype._isChartEmpty=function(){return!(this.props.data&&this.props.data.length>0&&this.props.data.filter((function(t){return t.series.length})).length>0)},n.prototype._adjustProps=function(){this._barWidth=Ls(this.props.barwidth,this.props.maxBarWidth),this._xAxisInnerPadding=Vs(this.props.xAxisInnerPadding,void 0,2/(2+this._keys.length+(this._keys.length-1)*kh)),this._xAxisOuterPadding=Vs(this.props.xAxisOuterPadding)},n.defaultProps={maxBarWidth:24},n}(a.Component),Lh=(0,r.I)(Sh,(function(t){var n=t.theme;return{opacityChangeOnHover:{cursor:t.href?"pointer":"default"},tooltip:(0,o.Cl)((0,o.Cl)({},n.fonts.medium),{display:"flex",flexDirection:"column",padding:"8px",position:"absolute",textAlign:"center",top:"0px",background:n.semanticColors.bodyBackground,borderRadius:"2px",pointerEvents:"none"}),barLabel:{fontSize:Xt.s.small,fontWeight:Xt.BO.semibold,fill:n.palette.neutralPrimary}}})),Vh=i(714),Ah=(0,u.Z)(),Nh=function(t){function n(n){var i=t.call(this,n)||this;return i._rectRefArray={},i._getMinMaxOfYAxis=function(){return{startValue:0,endValue:0}},i._getDomainNRangeValues=function(t,n,i,e,r,o,a,u,s){return o===Zu.NumericAxis||o===Zu.DateAxis?{dStartValue:0,dEndValue:0,rStartValue:0,rEndValue:0}:hs(n,i,r)},i._getXandY=function(){var t="",n="";return i.props.data.forEach((function(i){if(i.data&&i.data.length>0)return t=i.data[0].x,n=i.data[0].y,{x:t,y:n}})),{x:t,y:n}},i._getOpacity=function(t){return i._legendHighlighted(t)||i._noLegendHighlighted()?"1":"0.1"},i._rectRefCallback=function(t,n,e){i._rectRefArray[n]={data:e,refElement:t}},i._onRectFocus=function(t,n){i.setState({target:i._rectRefArray[t].refElement,isCalloutVisible:""===i.state.selectedLegend||i.state.selectedLegend===n.legend,calloutYValue:"".concat(n.rectText),calloutTextColor:Number.isNaN(n.value)?i.props.theme.semanticColors.bodyText:i._colorScale(n.value),calloutLegend:n.legend,ratio:n.ratio||null,descriptionMessage:n.descriptionMessage||"",calloutId:t,callOutAccessibilityData:n.callOutAccessibilityData})},i._onRectMouseOver=function(t,n,e){e.persist(),i._calloutAnchorPoint!==n&&(i._calloutAnchorPoint=n,i.setState({target:i._rectRefArray[t].refElement,isCalloutVisible:""===i.state.selectedLegend||i.state.selectedLegend===n.legend,calloutYValue:"".concat(n.rectText),calloutTextColor:Number.isNaN(n.value)?i.props.theme.semanticColors.bodyText:i._colorScale(n.value),calloutLegend:n.legend,ratio:n.ratio||null,descriptionMessage:n.descriptionMessage||"",calloutId:t,callOutAccessibilityData:n.callOutAccessibilityData}))},i._onRectBlurOrMouseOut=function(){},i._handleChartMouseLeave=function(){i._calloutAnchorPoint=null,i.setState({isCalloutVisible:!1})},i._createRectangles=function(){var t=[];return i._stringYAxisDataPoints.slice().reverse().forEach((function(n){var e=0;i._stringXAxisDataPoints.forEach((function(r){var o,u,s="x".concat(r,"y").concat(n);if((null===(o=i._dataSet[n][e])||void 0===o?void 0:o.x)===r){var l=i._dataSet[n][e];u=a.createElement("g",{key:s,role:"img","aria-label":i._getAriaLabel(l),"data-is-focusable":i._legendHighlighted(l.legend)||i._noLegendHighlighted(),fillOpacity:i._getOpacity(l.legend),transform:"translate(".concat(i._xAxisScale(l.x),", ").concat(i._yAxisScale(l.y),")"),ref:function(t){i._rectRefCallback(t,s,l)},onFocus:i._onRectFocus.bind(i,s,l),onBlur:i._onRectBlurOrMouseOut,onMouseOver:i._onRectMouseOver.bind(i,s,l),onMouseOut:i._onRectBlurOrMouseOut},a.createElement("rect",{fill:i._colorScale(l.value),width:i._xAxisScale.bandwidth(),height:i._yAxisScale.bandwidth(),onClick:l.onClick}),a.createElement("text",{dominantBaseline:"middle",textAnchor:"middle",className:i._classNames.text,transform:"translate(".concat(i._xAxisScale.bandwidth()/2,", ").concat(i._yAxisScale.bandwidth()/2,")")},(0,Jn.U)(l.rectText,i.props.culture))),e++}else{var c={x:r,y:n,value:NaN,rectText:"No data available",legend:""};u=a.createElement("g",{key:s,role:"img","aria-label":i._getAriaLabel(c),"data-is-focusable":i._noLegendHighlighted(),transform:"translate(".concat(i._xAxisScale(c.x),", ").concat(i._yAxisScale(c.y),")"),ref:function(t){i._rectRefCallback(t,s,c)},onFocus:i._onRectFocus.bind(i,s,c),onBlur:i._onRectBlurOrMouseOut,onMouseOver:i._onRectMouseOver.bind(i,s,c),onMouseOut:i._onRectBlurOrMouseOut},a.createElement("rect",{fill:i.props.theme.semanticColors.bodyBackground,width:i._xAxisScale.bandwidth(),height:i._yAxisScale.bandwidth()}))}t.push(u)}))})),t},i._createLegendBars=function(){var t=i.props,n=t.data,e=t.legendProps,r=[];return n.forEach((function(t){var n={title:t.legend,color:i._colorScale(t.value),action:function(){i._onLegendClick(t.legend)},hoverAction:function(){i._handleChartMouseLeave(),i._onLegendHover(t.legend)},onMouseOutAction:function(){i._onLegendLeave()}};r.push(n)})),a.createElement(ac,(0,o.Cl)({},e,{legends:r}))},i._getColorScale=function(){var t=i.props,n=t.domainValuesForColorScale,e=t.rangeValuesForColorScale;return Re().domain(n).range(e)},i._getXIndex=function(t){return i._xAxisType===Zu.DateAxis?"".concat(t.getTime()):i._xAxisType===Zu.StringAxis?t:i._xAxisType===Zu.NumericAxis?"".concat(t):""},i._getYIndex=function(t){return i._yAxisType===Ku.DateAxis?"".concat(t.getTime()):i._yAxisType===Ku.StringAxis?t:i._yAxisType===Ku.NumericAxis?"".concat(t):""},i._createNewDataSet=function(t,n,e,r,a){var u=[];t.forEach((function(t){t.data.forEach((function(n){u.push((0,o.Cl)((0,o.Cl)({},n),{legend:t.legend}))}))}));var s={},l={},c={};return u.forEach((function(t){var n=i._getXIndex(t.x),e=i._getYIndex(t.y);c[n]="1",l[e]="1",s[e]?s[e]=(0,o.fX)((0,o.fX)([],s[e],!0),[t],!1):s[e]=[t]})),Object.keys(s).forEach((function(t){s[t].sort((function(t,n){return i._xAxisType===Zu.StringAxis?t.x.toLowerCase()>n.x.toLowerCase()?1:-1:i._xAxisType===Zu.DateAxis?t.x.getTime()-n.x.getTime():i._xAxisType===Zu.NumericAxis?+t.x>+n.x?1:-1:t.x>n.x?1:-1})).forEach((function(t){i._xAxisType===Zu.DateAxis&&(t.x=i._getStringFormattedDate(t.x,n)),i._xAxisType===Zu.NumericAxis&&(t.x=i._getStringFormattedNumber(t.x,e)),i._xAxisType===Zu.StringAxis&&(t.x=i._getFormattedLabelForXAxisDataPoint(t.x)),i._yAxisType===Ku.DateAxis&&(t.y=i._getStringFormattedDate(t.y,r)),i._yAxisType===Ku.NumericAxis&&(t.y=i._getStringFormattedNumber(t.y,a)),i._yAxisType===Ku.StringAxis&&(t.y=i._getFormattedLabelForYAxisDataPoint(t.y))}))})),Object.keys(s).forEach((function(t){i._yAxisType===Ku.DateAxis?s[i._getStringFormattedDate(t,r)]=s[t]:i._yAxisType===Ku.NumericAxis?s["".concat(i._getStringFormattedNumber(t,a))]=s[t]:s[i._getFormattedLabelForYAxisDataPoint(t)]=s[t]})),{dataSet:s,yAxisPoints:i._getYAxisDataPoints(l),xAxisPoints:i._getXAxisDataPoints(c)}},i._getXAxisDataPoints=function(t){return Object.keys(t).sort((function(t,n){return i._xAxisType===Zu.DateAxis||i._xAxisType===Zu.NumericAxis?+t-+n:t.toLowerCase()>n.toLowerCase()?1:-1})).map((function(t){return i._xAxisType===Zu.DateAxis?i._getStringFormattedDate(t,i.props.xAxisDateFormatString):i._xAxisType===Zu.NumericAxis?i._getStringFormattedNumber(t,i.props.xAxisNumberFormatString):i._getFormattedLabelForXAxisDataPoint(t)}))},i._getYAxisDataPoints=function(t){return Object.keys(t).sort((function(t,n){return i._yAxisType===Ku.DateAxis||i._yAxisType===Ku.NumericAxis?+t-+n:t.toLowerCase()>n.toLowerCase()?1:-1})).map((function(t){return i._yAxisType===Ku.DateAxis?i._getStringFormattedDate(t,i.props.yAxisDateFormatString):i._yAxisType===Ku.NumericAxis?i._getStringFormattedNumber(t,i.props.yAxisNumberFormatString):i._getFormattedLabelForYAxisDataPoint(t)}))},i._getStringFormattedDate=function(t,n){var i=new Date;return i.setTime(+t),Kr(n||"%b/%d")(i)},i._getStringFormattedNumber=function(t,n){return qu(n||".2~s")(+t)},i._getFormattedLabelForXAxisDataPoint=function(t){var n=i.props.xAxisStringFormatter;return n?n(t):t},i._getFormattedLabelForYAxisDataPoint=function(t){var n=i.props.yAxisStringFormatter;return n?n(t):t},i._closeCallout=function(){i.setState({isCalloutVisible:!1})},i._legendHighlighted=function(t){return i.state.selectedLegend===t||""===i.state.selectedLegend&&i.state.activeLegend===t},i._noLegendHighlighted=function(){return""===i.state.selectedLegend&&""===i.state.activeLegend},i._getAriaLabel=function(t){var n,i=t.x,e=t.y,r=t.legend,o=t.ratio?"".concat(t.ratio[0],"/").concat(t.ratio[1]):t.rectText||t.value,a=t.descriptionMessage;return(null===(n=t.callOutAccessibilityData)||void 0===n?void 0:n.ariaLabel)||"".concat(i,", ").concat(e,". ").concat(r,", ").concat(o,".")+(a?" ".concat(a,"."):"")},i._getChartTitle=function(){var t=i.props.chartTitle,n=i.props.data.reduce((function(t,n){return t+n.data.length}),0);return(t?"".concat(t,". "):"")+"Heat map chart with ".concat(n," data points. ")},i._createSet=(0,dn.J9)((function(t,n,e,r,o){return i._createNewDataSet(t,n,e,r,o)})),i.state={selectedLegend:"",activeLegend:"",isCalloutVisible:!1,target:null,calloutLegend:"",calloutTextColor:"",calloutYValue:"",ratio:null,descriptionMessage:"",calloutId:""},i._emptyChartId=g("_HeatMap_empty"),i}return(0,o.C6)(n,t),n.prototype.render=function(){var t=this,n=this._getXandY(),i=n.x,e=n.y;this._xAxisType=xs(i,!0),this._yAxisType=xs(e,!1);var r=this.props,u=r.data,s=r.xAxisDateFormatString,l=r.xAxisNumberFormatString,c=r.yAxisDateFormatString,f=r.yAxisNumberFormatString;this._colorScale=this._getColorScale();var h=this._createSet(u,s,l,c,f),d=h.dataSet,v=h.xAxisPoints,p=h.yAxisPoints;this._dataSet=d,this._stringYAxisDataPoints=p,this._stringXAxisDataPoints=v,this._classNames=Ah(this.props.styles,{theme:this.props.theme});var g=(0,o.Cl)((0,o.Cl)((0,o.Cl)((0,o.Cl)({isBeakVisible:!1,gapSpace:8},this.props.calloutProps),{isCalloutVisible:this.state.isCalloutVisible,id:this.state.calloutId,YValue:this.state.calloutYValue,legend:this.state.calloutLegend,color:this.state.calloutTextColor,target:this.state.target,styles:this._classNames.subComponentStyles.calloutStyles,directionalHint:x.topAutoEdge,onDismiss:this._closeCallout}),Ms(this.state.callOutAccessibilityData,"text",!1)),{preventDismissOnLostFocus:!0}),m=(0,o.Cl)((0,o.Cl)({},this.state.ratio&&{ratio:this.state.ratio}),{descriptionMessage:this.state.descriptionMessage});return this._isChartEmpty()?a.createElement("div",{id:this._emptyChartId,role:"alert",style:{opacity:"0"},"aria-label":"Graph has no data to display"}):a.createElement(gf,(0,o.Cl)({},this.props,{chartTitle:this._getChartTitle(),points:u,chartType:Gu.HeatMapChart,xAxisType:Zu.StringAxis,yAxisType:Ku.StringAxis,calloutProps:g,createYAxis:es,chartHoverProps:m,styles:this._classNames.subComponentStyles.cartesianStyles,datasetForXAxisDomain:this._stringXAxisDataPoints,stringDatasetForYAxisDomain:this._stringYAxisDataPoints,createStringYAxis:os,getDomainNRangeValues:this._getDomainNRangeValues,getMinMaxOfYAxis:this._getMinMaxOfYAxis,xAxisTickCount:this._stringXAxisDataPoints.length,xAxistickSize:0,xAxisPadding:.02,yAxisPadding:.02,svgFocusZoneProps:{direction:Ss.bidirectional},legendBars:this._createLegendBars(),onChartMouseLeave:this._handleChartMouseLeave,children:function(n){return t._xAxisScale=n.xScale,t._yAxisScale=n.yScale,t._createRectangles()}}))},n.prototype._onLegendHover=function(t){this.setState({activeLegend:t})},n.prototype._onLegendLeave=function(){this.setState({activeLegend:""})},n.prototype._onLegendClick=function(t){this.state.selectedLegend===t?this.setState({selectedLegend:""}):this.setState({selectedLegend:t})},n.prototype._isChartEmpty=function(){return!(this.props.data&&this.props.data.length>0)},n}(a.Component),Dh=(0,r.I)(Nh,(function(t){var n=t.theme;return{root:{},text:[n.fonts.medium,{pointerEvents:"none",fill:n.palette.white,fontWeight:Xt.BO.semibold}],subComponentStyles:{cartesianStyles:{},calloutStyles:{root:{maxWidth:"238px"}}}}})),Th=/[\{\}]/g,Oh=/\{\d+\}/g;function Ph(t){for(var n=[],i=1;i<arguments.length;i++)n[i-1]=arguments[i];var e=n;return t.replace(Oh,(function(t){var n=e[t.replace(Th,"")];return null==n&&(n=""),n}))}function Eh(t,n){let i=0;if(void 0===n)for(let n of t)(n=+n)&&(i+=n);else{let e=-1;for(let r of t)(r=+n(r,++e,t))&&(i+=r)}return i}function Fh(t,n){let i=0;if(void 0===n)for(let n of t)(n=+n)&&(i+=n);else{let e=-1;for(let r of t)(r=+n(r,++e,t))&&(i+=r)}return i}function Bh(t,n){let i;if(void 0===n)for(const n of t)null!=n&&(i<n||void 0===i&&n>=n)&&(i=n);else{let e=-1;for(let r of t)null!=(r=n(r,++e,t))&&(i<r||void 0===i&&r>=r)&&(i=r)}return i}function Hh(t,n){return n-1-t.height}function _h(t,n){return t.sourceLinks.length?t.depth:n-1}function Ih(t){return function(){return t}}function Wh(t,n){return zh(t.source,n.source)||t.index-n.index}function Rh(t,n){return zh(t.target,n.target)||t.index-n.index}function zh(t,n){return t.y0-n.y0}function Yh(t){return t.value}function jh(t){return t.index}function Xh(t){return t.nodes}function qh(t){return t.links}function $h(t,n){const i=t.get(n);if(!i)throw new Error("missing: "+n);return i}function Uh({nodes:t}){for(const n of t){let t=n.y0,i=t;for(const i of n.sourceLinks)i.y0=t+i.width/2,t+=i.width;for(const t of n.targetLinks)t.y1=i+t.width/2,i+=t.width}}function Gh(){let t,n,i,e=0,r=0,o=1,a=1,u=24,s=8,l=jh,c=_h,f=Xh,h=qh,d=6;function v(){const v={nodes:f.apply(null,arguments),links:h.apply(null,arguments)};return function({nodes:t,links:n}){for(const[n,i]of t.entries())i.index=n,i.sourceLinks=[],i.targetLinks=[];const e=new Map(t.map(((n,i)=>[l(n,i,t),n])));for(const[t,i]of n.entries()){i.index=t;let{source:n,target:r}=i;"object"!=typeof n&&(n=i.source=$h(e,n)),"object"!=typeof r&&(r=i.target=$h(e,r)),n.sourceLinks.push(i),r.targetLinks.push(i)}if(null!=i)for(const{sourceLinks:n,targetLinks:e}of t)n.sort(i),e.sort(i)}(v),function({nodes:t}){for(const n of t)n.value=void 0===n.fixedValue?Math.max(Fh(n.sourceLinks,Yh),Fh(n.targetLinks,Yh)):n.fixedValue}(v),function({nodes:t}){const n=t.length;let i=new Set(t),e=new Set,r=0;for(;i.size;){for(const t of i){t.depth=r;for(const{target:n}of t.sourceLinks)e.add(n)}if(++r>n)throw new Error("circular link");i=e,e=new Set}}(v),function({nodes:t}){const n=t.length;let i=new Set(t),e=new Set,r=0;for(;i.size;){for(const t of i){t.height=r;for(const{source:n}of t.targetLinks)e.add(n)}if(++r>n)throw new Error("circular link");i=e,e=new Set}}(v),function(i){const l=function({nodes:t}){const i=Bh(t,(t=>t.depth))+1,r=(o-e-u)/(i-1),a=new Array(i);for(const n of t){const t=Math.max(0,Math.min(i-1,Math.floor(c.call(null,n,i))));n.layer=t,n.x0=e+t*r,n.x1=n.x0+u,a[t]?a[t].push(n):a[t]=[n]}if(n)for(const t of a)t.sort(n);return a}(i);t=Math.min(s,(a-r)/(Bh(l,(t=>t.length))-1)),function(n){const i=function(t,n){let i;if(void 0===n)for(const n of t)null!=n&&(i>n||void 0===i&&n>=n)&&(i=n);else{let e=-1;for(let r of t)null!=(r=n(r,++e))&&(i>r||void 0===i&&r>=r)&&(i=r)}return i}(n,(n=>(a-r-(n.length-1)*t)/Fh(n,Yh)));for(const e of n){let n=r;for(const r of e){r.y0=n,r.y1=n+r.value*i,n=r.y1+t;for(const t of r.sourceLinks)t.width=t.value*i}n=(a-n+t)/(e.length+1);for(let t=0;t<e.length;++t){const i=e[t];i.y0+=n*(t+1),i.y1+=n*(t+1)}w(e)}}(l);for(let t=0;t<d;++t){const n=Math.pow(.99,t),i=Math.max(1-n,(t+1)/d);g(l,n,i),p(l,n,i)}}(v),Uh(v),v}function p(t,i,e){for(let r=1,o=t.length;r<o;++r){const o=t[r];for(const t of o){let n=0,e=0;for(const{source:i,value:r}of t.targetLinks){let o=r*(t.layer-i.layer);n+=M(i,t)*o,e+=o}if(!(e>0))continue;let r=(n/e-t.y0)*i;t.y0+=r,t.y1+=r,x(t)}void 0===n&&o.sort(zh),m(o,e)}}function g(t,i,e){for(let r=t.length-2;r>=0;--r){const o=t[r];for(const t of o){let n=0,e=0;for(const{target:i,value:r}of t.sourceLinks){let o=r*(i.layer-t.layer);n+=C(t,i)*o,e+=o}if(!(e>0))continue;let r=(n/e-t.y0)*i;t.y0+=r,t.y1+=r,x(t)}void 0===n&&o.sort(zh),m(o,e)}}function m(n,i){const e=n.length>>1,o=n[e];b(n,o.y0-t,e-1,i),y(n,o.y1+t,e+1,i),b(n,a,n.length-1,i),y(n,r,0,i)}function y(n,i,e,r){for(;e<n.length;++e){const o=n[e],a=(i-o.y0)*r;a>1e-6&&(o.y0+=a,o.y1+=a),i=o.y1+t}}function b(n,i,e,r){for(;e>=0;--e){const o=n[e],a=(o.y1-i)*r;a>1e-6&&(o.y0-=a,o.y1-=a),i=o.y0-t}}function x({sourceLinks:t,targetLinks:n}){if(void 0===i){for(const{source:{sourceLinks:t}}of n)t.sort(Rh);for(const{target:{targetLinks:n}}of t)n.sort(Wh)}}function w(t){if(void 0===i)for(const{sourceLinks:n,targetLinks:i}of t)n.sort(Rh),i.sort(Wh)}function M(n,i){let e=n.y0-(n.sourceLinks.length-1)*t/2;for(const{target:r,width:o}of n.sourceLinks){if(r===i)break;e+=o+t}for(const{source:t,width:r}of i.targetLinks){if(t===n)break;e-=r}return e}function C(n,i){let e=i.y0-(i.targetLinks.length-1)*t/2;for(const{source:r,width:o}of i.targetLinks){if(r===n)break;e+=o+t}for(const{target:t,width:r}of n.sourceLinks){if(t===i)break;e-=r}return e}return v.update=function(t){return Uh(t),t},v.nodeId=function(t){return arguments.length?(l="function"==typeof t?t:Ih(t),v):l},v.nodeAlign=function(t){return arguments.length?(c="function"==typeof t?t:Ih(t),v):c},v.nodeSort=function(t){return arguments.length?(n=t,v):n},v.nodeWidth=function(t){return arguments.length?(u=+t,v):u},v.nodePadding=function(n){return arguments.length?(s=t=+n,v):s},v.nodes=function(t){return arguments.length?(f="function"==typeof t?t:Ih(t),v):f},v.links=function(t){return arguments.length?(h="function"==typeof t?t:Ih(t),v):h},v.linkSort=function(t){return arguments.length?(i=t,v):i},v.size=function(t){return arguments.length?(e=r=0,o=+t[0],a=+t[1],v):[o-e,a-r]},v.extent=function(t){return arguments.length?(e=+t[0][0],o=+t[1][0],r=+t[0][1],a=+t[1][1],v):[[e,r],[o,a]]},v.iterations=function(t){return arguments.length?(d=+t,v):d},v}class Zh{constructor(t,n){this._context=t,this._x=n}areaStart(){this._line=0}areaEnd(){this._line=NaN}lineStart(){this._point=0}lineEnd(){(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line}point(t,n){switch(t=+t,n=+n,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,n):this._context.moveTo(t,n);break;case 1:this._point=2;default:this._x?this._context.bezierCurveTo(this._x0=(this._x0+t)/2,this._y0,this._x0,n,t,n):this._context.bezierCurveTo(this._x0,this._y0=(this._y0+n)/2,t,this._y0,t,n)}this._x0=t,this._y0=n}}var Kh=(0,u.Z)(),Jh="#757575",Qh=[{fillColor:"#00758F",borderColor:"#002E39"},{fillColor:"#77004D",borderColor:"#43002C"},{fillColor:"#4F6BED",borderColor:"#3B52B4"},{fillColor:"#937600",borderColor:"#6D5700"},{fillColor:"#286EA8",borderColor:"#00457E"},{fillColor:"#A43FB1",borderColor:"#7C158A"},{fillColor:"#CC3595",borderColor:"#7F215D"},{fillColor:"#0E7878",borderColor:"#004E4E"},{fillColor:"#8764B8",borderColor:"#4B3867"},{fillColor:"#9C663F",borderColor:"#6D4123"}];function td(t){return"number"==typeof t?t:t.nodeId}function nd(t,n){return t[td(n.source)][td(n.target)]}var id="...";function ed(t,n){var i;try{return t.text(n),null===(i=t.node())||void 0===i?void 0:i.getComputedTextLength()}finally{t.text(null)}}var rd=Wf().x((function(t){return t.x})).y0((function(t){return t.y0})).y1((function(t){return t.y1})).curve((function(t){return new Zh(t,!0)})),od=function(t){function n(n){var i=t.call(this,n)||this;return i._isRtl=(0,s.jI)(),i._numColumns=0,i._onCloseCallout=function(){i.setState({isCalloutVisible:!1,refSelected:void 0,descriptionMessage:""})},i._onBlur=function(){},i._fillNodeColors=function(t){var n=i.state;if(!n.selectedState)return t.color;var e=n.selectedNode;return e&&n.selectedNodes.has(t.index)?e.color:e?void 0:t.color},i._fillNodeBorder=function(t){var n=i.state;if(n.selectedState){if(n.selectedNodes.has(t.index)){var e=n.selectedNode;return e?e.borderColor:t.borderColor}return t.borderColor}return t.borderColor},i._calculateChartMinWidth=function(){return i._margins.left+i._margins.right+124*i._numColumns+62*(i._numColumns-1)},i.state={containerHeight:468,containerWidth:912,selectedState:!1,selectedLinks:new Set,selectedNodes:new Set,shouldOverflow:!1,isCalloutVisible:!1},i._calloutId=g("callout"),i._linkId=g("link"),i._chartId=g("sankeyChart"),i._emptyChartId=g("_SankeyChart_empty"),i._labelTooltipId=g("tooltip"),i._margins={top:36,right:48,bottom:32,left:48},i._computeClassNamesProps=(0,dn.J9)((function(t,n,i,e,r){return{theme:t,width:e,height:r,pathColor:n,className:i}})),i._computeClassNames=(0,dn.J9)((function(t,n){return Kh(t,n)})),i._normalizeData=(0,dn.J9)((function(t,n,e,r,o){return i._normalizeSankeyData(t,n,e,r,o)})),i._fetchTooltip=(0,dn.J9)((function(t){return i._labelTooltipDiv(t)})),i._strings=(0,dn.J9)((function(t){var n=(null==t?void 0:t.linkFrom)||"From {0}";return{linkFrom:function(t){return Ph(n,t.name)}}}))(n.strings),i._accessibility=(0,dn.J9)((function(t){var n=(null==t?void 0:t.linkAriaLabel)||"link from {0} to {1} with weight {2}",e=(null==t?void 0:t.nodeAriaLabel)||"node {0} with weight {1}";return{emptyAriaLabel:(null==t?void 0:t.emptyAriaLabel)||"Graph has no data to display",linkAriaLabel:function(t){return Ph(n,t.source.name,t.target.name,t.unnormalizedValue?i._formatNumber(t.unnormalizedValue):t.unnormalizedValue)},nodeAriaLabel:function(t,n){return Ph(e,t.name,i._formatNumber(n))}}}))(n.accessibility),i._nodeAttributes=(0,dn.J9)((function(t,n){return i._computeNodeAttributes(t,n)})),i._fetchNodes=function(t,n,e,r){return i._createNodes(t,n,e,r)},i._linkAttributes=(0,dn.J9)((function(t,n,i){return function(t,n,i){var e={};return t.forEach((function(t){var r=td(t.source),o=e[r];o||(o={},e[r]=o),o[td(t.target)]={reactId:g("link"),from:n(t.source),aria:i(t)}})),e}(t,n,i)})),i._fetchLinks=function(t,n){return i._createLinks(t,n)},i}return(0,o.C6)(n,t),n.prototype.componentDidMount=function(){this._fitParentContainer()},n.prototype.componentDidUpdate=function(t){t.shouldResize!==this.props.shouldResize&&this._fitParentContainer()},n.prototype.componentWillUnmount=function(){cancelAnimationFrame(this._reqID)},n.prototype.render=function(){var t,n,i=this;if(!this._isChartEmpty()){var e=(t=this.props).theme,r=t.className,u=t.styles,s=t.pathColor,l=t.colorsForNodes,c=t.borderColorsForNodes,f=this.state,h=this._computeClassNamesProps(e,s,r,f.containerWidth,f.containerHeight),d=this._computeClassNames(u,h),v=(n=this._normalizeData(this.props.data.SankeyChartData,f.containerWidth,f.containerHeight,l,c)).nodes,p=n.links,g=n.width,m=n.height,y=[];v.sort((function(t,n){return t.x0!==n.x0?t.x0-n.x0:t.y0-n.y0})),v.forEach((function(t,n){y.push({layer:t.layer,type:"node",index:n})})),p.sort((function(t,n){var i=t.source.x0,e=n.source.x0;return i!==e?i-e:t.y0-n.y0})),p.forEach((function(t,n){y.push({layer:t.source.layer,type:"link",index:n})})),y.sort((function(t,n){return t.layer!==n.layer?t.layer-n.layer:t.type>n.type?-1:t.type<n.type?1:0}));var b=this._fetchTooltip(d),w=this._nodeAttributes(v,this._accessibility.nodeAriaLabel),M=this._fetchNodes(d,v,w,b),C=this._linkAttributes(p,this._strings.linkFrom,this._accessibility.linkAriaLabel),k=this._fetchLinks(p,C),S={isCalloutVisible:f.isCalloutVisible,directionalHint:x.topAutoEdge,id:"toolTip".concat(this._calloutId),target:f.refSelected,color:f.color,XValue:f.xCalloutValue,YValue:f.yCalloutValue?f.yCalloutValue:f.dataForHoverCard,descriptionMessage:f.descriptionMessage,isBeakVisible:!1,gapSpace:15,onDismiss:this._onCloseCallout,className:d.calloutContentRoot,preventDismissOnLostFocus:!0};return a.createElement("div",{className:d.root,role:"presentation",ref:function(t){return i.chartContainer=t},onMouseLeave:this._onCloseCallout},a.createElement(Qs,{direction:Ss.vertical,className:d.chartWrapper},a.createElement("svg",{width:g,height:m,id:this._chartId},y.map((function(t){return"node"===t.type?a.createElement("g",{key:v[t.index].nodeId,className:d.nodes},M[t.index]):a.createElement("g",{key:"".concat(p[t.index].source.nodeId,"-").concat(p[t.index].target.nodeId),className:d.links,strokeOpacity:1},k[t.index])})),S.isCalloutVisible&&a.createElement(Kn,(0,o.Cl)({},S),a.createElement(Ds.ChartHoverCard,{XValue:S.XValue,YValue:S.YValue,color:S.color,descriptionMessage:S.descriptionMessage?S.descriptionMessage:""})))))}return a.createElement("div",{id:this._emptyChartId,role:"alert",style:{opacity:"0"},"aria-label":this._accessibility.emptyAriaLabel})},n.prototype._computeNodeAttributes=function(t,n){var i=this,e={},r=Fu(".nodeName").append("text").attr("class","tempText").append("tspan").text(null),o=Fu(".nodeName").append("text").attr("class","tempText").attr("font-size","10").append("tspan").text(null);return t.forEach((function(t){var a=Math.max(t.y1-t.y0,0),u=8,s=0,l=t.actualValue;if(a<36){u+=6;var c=ed(r,i._formatNumber(l));void 0!==c&&(u+=s=c)}var f=function(t,n,i,e){var r=i-e;if(function(t,n,i){var e=ed(t,n);return void 0!==e&&e<=i}(t,n,r))return n;for(var o=function(t){var n=ed(t,id);return void 0===n?0:n}(t),a="",u=0;u<n.length;u++){a+=n[u],t.text(a);var s=t.node();if(null!==s&&s.getComputedTextLength()>=r-o){a=a.slice(0,-1),a+=id;break}}return t.text(null),a}(o,t.name,116,u),h=f.slice(-3)===id;e[t.nodeId]={reactId:g("nodeBar"),gElementId:g("nodeGElement"),name:f,aria:n(t,l),trimmed:h,height:a,weightOffset:s}})),Bu(".tempText").remove(),e},n.prototype._linkCalloutAttributes=function(t,n){return{selectedLink:t,isCalloutVisible:!0,color:t.source.color,xCalloutValue:t.target.name,yCalloutValue:this._formatNumber(t.unnormalizedValue),descriptionMessage:n}},n.prototype._normalizeSankeyData=function(t,n,i,e,r){var a,u=(a=function(t,n,i,e){var r=t.left,o=t.right,a=t.top,u=t.bottom,s=n-o,l=i-u>0?i-u:0;return{sankey:Gh().nodeWidth(124).extent([[r,a],[s-1,l-6]]).nodeAlign(e?Hh:_h),height:l,width:s}}(this._margins,n,i,this._isRtl),a.sankey),s=a.height,l=a.width,c=function(t){return{nodes:t.nodes.map((function(t){return(0,o.Cl)({},t)})),links:t.links.map((function(t){return(0,o.Cl)({},t)}))}}(t);u(c);var f=function(t){var n={};return t.nodes.forEach((function(t){var i=t.layer;n[i]?n[i].push(t):n[i]=[t]})),n}(c);this._numColumns=Object.keys(f).length;var h,d,v=(h=c.nodes,d={},h.forEach((function(t){d[t.nodeId]=t.value})),d),p=function(t){var n={};return t.forEach((function(t){var i=td(t.source),e=n[i];e||(e={},n[i]=e),e[td(t.target)]=t.value})),n}(c.links);return function(t,n,i){Object.values(t).map((function(t){return Eh(t,(function(t){return t.value}))})).forEach((function(e,r){var o=0,a=.01*e,u=t[r];u.forEach((function(t){var i=n[t.nodeId],r=i/e*100;t.actualValue=i,r<1?(t.value=a,o+=1):o+=r}));var s=0!==o?o/100:1;s>1&&u.forEach((function(t){var e=t.value=t.value/s;!function(t,n,i,e){var r=function(t){var r=nd(e,t);t.unnormalizedValue=r;var o=r/n;t.value=Math.max(i*o,t.value)};t.sourceLinks.forEach(r),t.targetLinks.forEach(r)}(t,n[t.nodeId],e,i)}))}))}(f,v,p),function(t,n,i){var e=t.nodePadding(),r=.3*n;Object.values(i).forEach((function(t){var i=n-Eh(t,(function(t){return t.y1-t.y0}));r<i&&(e=Math.min(e,r/(t.length-1)))})),t.nodePadding(e)}(u,s-6,f),u(c),function(t,n,i){t.links.forEach((function(t){t.unnormalizedValue||(t.unnormalizedValue=nd(i,t))})),t.nodes.forEach((function(t){t.actualValue=n[t.nodeId]}))}(c,v,p),function(t,n,i){var e,r;n&&i?(e=n,r=i):(e=Qh.map((function(t){return t.fillColor})),r=Qh.map((function(t){return t.borderColor})));var o=0;t.forEach((function(t){t.color||t.borderColor?t.color&&!t.borderColor?t.borderColor="#757575":t.borderColor&&!t.color&&(t.color="#F5F5F5"):(t.color=e[o],t.borderColor=r[o]),o=(o+1)%e.length}))}(c.nodes,e,r),{width:l,height:s,nodes:c.nodes,links:c.links}},n.prototype._labelTooltipDiv=function(t){var n=Fu("#".concat(this._labelTooltipId));return n.empty()&&(n=Fu("body").append("div").attr("id",this._labelTooltipId).attr("class",t.toolTip).style("opacity",0)),n.attr("class",t.toolTip),n},n.prototype._createLinks=function(t,n){var i=this;if(t){var e=this._linkId;return t.map((function(t,r){var o,u,s,l,c,f=(o=nd(n,t)).reactId,h=o.from,d=o.aria,v=(s=.5*(u=t).width,l=u.y0,c=u.y1,[{x:u.source.x1,y0:l+s,y1:l-s},{x:u.target.x0,y0:c+s,y1:c-s}]),p="".concat(e,"-").concat(r),g="gradient-".concat(p),m="url(#".concat(g,")"),y=t.source,b=t.target;return a.createElement("g",{key:p},a.createElement("defs",null,a.createElement("linearGradient",{id:g,x1:"0%",y1:"0%",x2:"100%",y2:"0%"},a.createElement("stop",{offset:"0",stopColor:y.color}),a.createElement("stop",{offset:"100%",stopColor:b.color}))),a.createElement("path",{d:rd(v),id:f,fill:i._fillStreamColors(t,m),stroke:i._fillStreamBorder(t,m),strokeWidth:"2",strokeOpacity:i._getOpacityStreamBorder(t),onMouseOver:function(n){return i._onStreamHover(n,t,h)},onMouseOut:function(){i._onStreamLeave(t)},onFocus:function(n){return i._onFocusLink(n,t,h)},onBlur:i._onBlur,fillOpacity:i._getOpacityStream(t),"data-is-focusable":!0,"aria-label":d,role:"img"}))}))}return[]},n.prototype._createNodes=function(t,n,i,e){var r=this;if(n){var o=this.state,u=this._isRtl?"end":"start";return n.map((function(n,s){var l,c=(l=i[n.nodeId]).reactId,f=l.gElementId,h=l.height,d=l.trimmed,v=l.name,p=l.weightOffset,g=l.aria,m=h>36,y=n.name,b=n.actualValue,x=n.x0,w=n.x1,M=n.y0,C=function(t,n){return!t.selectedState||t.selectedNodes.has(n.index)&&t.selectedNode||!t.selectedNode?"#FFFFFF":"#323130"}(o,n);return a.createElement("g",{key:s,id:f},a.createElement("rect",{x:x,y:M,height:h,width:w-x,fill:r._fillNodeColors(n),id:c,onMouseOver:r._onHover.bind(r,n),onMouseOut:function(){r._onLeave(n)},onFocus:r._onCloseCallout.bind(r),stroke:r._fillNodeBorder(n),strokeWidth:"2",opacity:"1","data-is-focusable":!0,"aria-label":g,role:"img"}),h>24&&a.createElement("g",{className:t.nodeTextContainer},a.createElement("g",{className:"nodeName"},a.createElement("text",{id:"".concat(c,"-name"),x:x,y:M,dy:"1.2em",dx:"0.4em",textAnchor:u,fontWeight:"regular","aria-hidden":"true",fill:C,fontSize:10,onMouseOver:r._showTooltip.bind(r,y,d,e),onMouseOut:r._hideTooltip.bind(r,e)},v)),a.createElement("text",{x:m?x:w-p-8,y:M,dy:m?"2em":"1em",dx:m?"0.4em":"0em",textAnchor:u,fontWeight:"bold","aria-hidden":"true",fill:C,fontSize:14},b?r._formatNumber(b):b)))}))}},n.prototype._onLeave=function(t){this.state.selectedState&&this.setState({selectedState:!1,selectedNodes:new Set,selectedLinks:new Set,selectedNode:void 0})},n.prototype._onHover=function(t,n){if(n.persist(),this._onCloseCallout(),!this.state.selectedState){var i=function(t){var n=new Array,i=new Set;for(t.sourceLinks.forEach((function(t){n.push(t),i.add(t)}));n.length>0;)(e=n.shift().target)&&e.sourceLinks&&e.sourceLinks.forEach((function(t){i.add(t),n.push(t)}));for(t.targetLinks&&t.targetLinks.forEach((function(t){n.push(t),i.add(t)}));n.length>0;){var e;(e=n.shift().source)&&e.targetLinks&&e.targetLinks.forEach((function(t){i.add(t),n.push(t)}))}return i}(t),e=function(t){var n=[];return t.forEach((function(t){n.push(t.target),-1===n.indexOf(t.source)&&n.push(t.source)})),n}(i);e.push(t),this.setState({selectedState:!0,selectedNodes:new Set(Array.from(e).map((function(t){return t.index}))),selectedLinks:new Set(Array.from(i).map((function(t){return t.index}))),selectedNode:t,refSelected:n,isCalloutVisible:t.y1-t.y0<24,color:t.color,xCalloutValue:t.name,yCalloutValue:this._formatNumber(t.actualValue)})}},n.prototype._formatNumber=function(t){return this.props.formatNumberOptions?t.toLocaleString(void 0,this.props.formatNumberOptions):t.toString()},n.prototype._onStreamHover=function(t,n,i){var e;if(t.persist(),this._onCloseCallout(),!this.state.selectedState){var r=(e=function(t){var n=new Array,i=new Set,e=new Set;for(n.push(t.source),i.add(t);n.length>0;){var r=n.shift();e.add(r),r.targetLinks&&r.targetLinks.length>0&&r.targetLinks.forEach((function(t){n.push(t.source),i.add(t)}))}for(n.push(t.target);n.length>0;)r=n.shift(),e.add(r),r.sourceLinks&&r.sourceLinks.length>0&&r.sourceLinks.forEach((function(t){n.push(t.target),i.add(t)}));return{selectedLinks:i,selectedNodes:e}}(n),e.selectedLinks),a=e.selectedNodes;this.setState((0,o.Cl)({selectedState:!0,selectedNodes:new Set(Array.from(a).map((function(t){return t.index}))),selectedLinks:new Set(Array.from(r).map((function(t){return t.index}))),refSelected:t},this._linkCalloutAttributes(n,i)))}},n.prototype._onStreamLeave=function(t){this.state.selectedState&&this.setState({selectedState:!1,selectedNodes:new Set,selectedLinks:new Set,selectedLink:void 0})},n.prototype._onFocusLink=function(t,n,i){t.persist(),this._onCloseCallout(),this.setState((0,o.Cl)({refSelected:t.currentTarget},this._linkCalloutAttributes(n,i)))},n.prototype._fillStreamColors=function(t,n){var i=this.state;if(i.selectedState&&i.selectedLinks.has(t.index)){var e=i.selectedNode;return e?e.color:n}},n.prototype._fillStreamBorder=function(t,n){var i=this.state;if(i.selectedState){if(i.selectedLinks.has(t.index)){var e=i.selectedNode;return e?e.borderColor:n}return Jh}return Jh},n.prototype._getOpacityStream=function(t){var n=this.state;if(n.selectedState){if(!n.selectedLinks.has(t.index))return 1;if(!n.selectedNode)return.3}return 1},n.prototype._getOpacityStreamBorder=function(t){var n=this.state;return!n.selectedState||n.selectedLinks.has(t.index)||n.selectedNode?1:.5},n.prototype._fitParentContainer=function(){var t,n=this,i=(t=this.state).containerWidth,e=t.containerHeight;this._reqID=requestAnimationFrame((function(){var t=n.props.parentRef?n.props.parentRef:n.chartContainer,r=t&&(n.props.enableReflow?Math.max(t.getBoundingClientRect().width,n._calculateChartMinWidth()):t.getBoundingClientRect().width),o=t&&t.getBoundingClientRect().height;(i!==r||e!==o)&&n.setState({containerWidth:r,containerHeight:o})}))},n.prototype._showTooltip=function(t,n,i,e){n&&(i.style("opacity",.9),i.html(t).style("left",e.pageX+"px").style("top",e.pageY-28+"px"))},n.prototype._hideTooltip=function(t){t.style("opacity",0)},n.prototype._isChartEmpty=function(){var t,n=null===(t=this.props.data)||void 0===t?void 0:t.SankeyChartData;return!(n&&n.nodes.length>0&&n.links.length>0)},n.defaultProps={enableReflow:!0},n}(a.Component),ad=(0,r.I)(od,(function(t){var n,i,e,r=t.className,a=t.theme,u=t.pathColor,s=a.effects;return{root:[a.fonts.medium,{display:"flex",width:"100%",height:"100%",flexDirection:"column",overflow:"hidden"},r],links:{stroke:u||a.palette.black,fill:a?a.semanticColors.bodyBackground:"#F5F5F5",strokeWidth:3,selectors:(n={},n[Xt.NK]={fill:"#000000"},n)},nodes:{fill:"#F5F5F5",selectors:(i={},i[Xt.NK]={fill:"#000000"},i)},toolTip:(0,o.Cl)((0,o.Cl)({},t.theme.fonts.medium),{display:"flex",flexDirection:"column",padding:"8px",position:"absolute",textAlign:"center",top:"0px",background:t.theme.semanticColors.bodyBackground,borderRadius:"2px",pointerEvents:"none"}),nodeTextContainer:{selectors:{text:{selectors:(e={},e[Xt.NK]={fill:"rgb(179, 179, 179)"},e)}},marginTop:"4px",marginLeft:"8px",marginBottom:"4px",marginRight:"8px"},calloutContentRoot:{boxShadow:s.elevation4},chartWrapper:{overflow:"auto"}}}));function ud(t){var n=0,i=t.children,e=i&&i.length;if(e)for(;--e>=0;)n+=i[e].value;else n=1;t.value=n}function sd(t,n){t instanceof Map?(t=[void 0,t],void 0===n&&(n=cd)):void 0===n&&(n=ld);for(var i,e,r,o,a,u=new dd(t),s=[u];i=s.pop();)if((r=n(i.data))&&(a=(r=Array.from(r)).length))for(i.children=r,o=a-1;o>=0;--o)s.push(e=r[o]=new dd(r[o])),e.parent=i,e.depth=i.depth+1;return u.eachBefore(hd)}function ld(t){return t.children}function cd(t){return Array.isArray(t)?t[1]:null}function fd(t){void 0!==t.data.value&&(t.value=t.data.value),t.data=t.data.data}function hd(t){var n=0;do{t.height=n}while((t=t.parent)&&t.height<++n)}function dd(t){this.data=t,this.depth=this.height=0,this.parent=null}function vd(t,n){return t.parent===n.parent?1:2}function pd(t){var n=t.children;return n?n[0]:t.t}function gd(t){var n=t.children;return n?n[n.length-1]:t.t}function md(t,n,i){var e=i/(n.i-t.i);n.c-=e,n.s+=i,t.c+=e,n.z+=i,n.m+=i}function yd(t,n,i){return t.a.parent===n.parent?t.a:i}function bd(t,n){this._=t,this.parent=null,this.children=null,this.A=null,this.a=this,this.z=0,this.m=0,this.c=0,this.s=0,this.t=null,this.i=n}dd.prototype=sd.prototype={constructor:dd,count:function(){return this.eachAfter(ud)},each:function(t,n){let i=-1;for(const e of this)t.call(n,e,++i,this);return this},eachAfter:function(t,n){for(var i,e,r,o=this,a=[o],u=[],s=-1;o=a.pop();)if(u.push(o),i=o.children)for(e=0,r=i.length;e<r;++e)a.push(i[e]);for(;o=u.pop();)t.call(n,o,++s,this);return this},eachBefore:function(t,n){for(var i,e,r=this,o=[r],a=-1;r=o.pop();)if(t.call(n,r,++a,this),i=r.children)for(e=i.length-1;e>=0;--e)o.push(i[e]);return this},find:function(t,n){let i=-1;for(const e of this)if(t.call(n,e,++i,this))return e},sum:function(t){return this.eachAfter((function(n){for(var i=+t(n.data)||0,e=n.children,r=e&&e.length;--r>=0;)i+=e[r].value;n.value=i}))},sort:function(t){return this.eachBefore((function(n){n.children&&n.children.sort(t)}))},path:function(t){for(var n=this,i=function(t,n){if(t===n)return t;var i=t.ancestors(),e=n.ancestors(),r=null;for(t=i.pop(),n=e.pop();t===n;)r=t,t=i.pop(),n=e.pop();return r}(n,t),e=[n];n!==i;)n=n.parent,e.push(n);for(var r=e.length;t!==i;)e.splice(r,0,t),t=t.parent;return e},ancestors:function(){for(var t=this,n=[t];t=t.parent;)n.push(t);return n},descendants:function(){return Array.from(this)},leaves:function(){var t=[];return this.eachBefore((function(n){n.children||t.push(n)})),t},links:function(){var t=this,n=[];return t.each((function(i){i!==t&&n.push({source:i.parent,target:i})})),n},copy:function(){return sd(this).eachBefore(fd)},[Symbol.iterator]:function*(){var t,n,i,e,r=this,o=[r];do{for(t=o.reverse(),o=[];r=t.pop();)if(yield r,n=r.children)for(i=0,e=n.length;i<e;++i)o.push(n[i])}while(o.length)}},bd.prototype=Object.create(dd.prototype);var xd,wd,Md=(0,u.Z)(),Cd=function(t){function n(n,i,e,r,o,a){void 0===r&&(r=[]),void 0===o&&(o=[]);var u=t.call(this,n,e,r,o)||this;return u.composition=i,u._treeTraversal=a,u}return(0,o.C6)(n,t),n.prototype.C=function(t,n){var i,e,r,o,a,u,s=(t=t<65?65:t>90?90:t)||75,l=sd(this.treeData,(function(t){return t.children})),c=(null==l?void 0:l.height)+1;(function(){var t=vd,n=1,i=1,e=null;function r(r){var s=function(t){for(var n,i,e,r,o,a=new bd(t,0),u=[a];n=u.pop();)if(e=n._.children)for(n.children=new Array(o=e.length),r=o-1;r>=0;--r)u.push(i=n.children[r]=new bd(e[r],r)),i.parent=n;return(a.parent=new bd(null,0)).children=[a],a}(r);if(s.eachAfter(o),s.parent.m=-s.z,s.eachBefore(a),e)r.eachBefore(u);else{var l=r,c=r,f=r;r.eachBefore((function(t){t.x<l.x&&(l=t),t.x>c.x&&(c=t),t.depth>f.depth&&(f=t)}));var h=l===c?1:t(l,c)/2,d=h-l.x,v=n/(c.x+h+d),p=i/(f.depth||1);r.eachBefore((function(t){t.x=(t.x+d)*v,t.y=t.depth*p}))}return r}function o(n){var i=n.children,e=n.parent.children,r=n.i?e[n.i-1]:null;if(i){!function(t){for(var n,i=0,e=0,r=t.children,o=r.length;--o>=0;)(n=r[o]).z+=i,n.m+=i,i+=n.s+(e+=n.c)}(n);var o=(i[0].z+i[i.length-1].z)/2;r?(n.z=r.z+t(n._,r._),n.m=n.z-o):n.z=o}else r&&(n.z=r.z+t(n._,r._));n.parent.A=function(n,i,e){if(i){for(var r,o=n,a=n,u=i,s=o.parent.children[0],l=o.m,c=a.m,f=u.m,h=s.m;u=gd(u),o=pd(o),u&&o;)s=pd(s),(a=gd(a)).a=n,(r=u.z+f-o.z-l+t(u._,o._))>0&&(md(yd(u,n,e),n,r),l+=r,c+=r),f+=u.m,l+=o.m,h+=s.m,c+=a.m;u&&!gd(a)&&(a.t=u,a.m+=f-c),o&&!pd(s)&&(s.t=o,s.m+=l-h,e=n)}return e}(n,r,n.parent.A||e[0])}function a(t){t._.x=t.z+t.parent.m,t.m+=t.parent.m}function u(t){t.x*=n,t.y=t.depth*i}return r.separation=function(n){return arguments.length?(t=n,r):t},r.size=function(t){return arguments.length?(e=!1,n=+t[0],i=+t[1],r):e?null:[n,i]},r.nodeSize=function(t){return arguments.length?(e=!0,n=+t[0],i=+t[1],r):e?[n,i]:null},r})().nodeSize([s,s/1.5]).separation((function(t,n){return t.parent===l&&n.parent===l?3.5:1}))(l).descendants().forEach((function(t){t.y=0===t.depth?10:130*t.depth,t.x+=n/2}));var f=[],h=0,d=function(t){var n,i;t.id=h,f.push({id:h,children:t.children,dataName:t.data.name,subName:t.data.subname,bodyText:t.data.bodytext,metricName:null===(n=t.data)||void 0===n?void 0:n.metric,fill:t.data.fill,x:t.x,y:t.y,parentID:null===(i=t.parent)||void 0===i?void 0:i.id}),h++};0===this._treeTraversal?l.each((function(t){d(t)})):l.eachBefore((function(t){d(t)}));for(var v=3*s,p=v/3.45,g=20,m=new Set,y=0,b=f;y<b.length;y++){var x=b[y],w=0===x.id?"Root Node":"Parent info parentId: ".concat(x.parentID,"\n ").concat(f[x.parentID].dataName,"\n ").concat(f[x.parentID].subName);if(!x.children&&!m.has(x.parentID)&&3===c){var M=(v-g)/2,C=p;m.add(x.parentID),this.k(x.id,f[x.parentID].x,f[x.parentID].y,f[x.id].x,f[x.id].y,!0,v,p,g);for(var k=null===(i=f[x.parentID])||void 0===i?void 0:i.children,S=(null===(e=f[x.parentID])||void 0===e?void 0:e.x)-M/2-10,L=(null===(r=f[x.parentID])||void 0===r?void 0:r.x)+M/2+10,V=null===(o=f[x.parentID])||void 0===o?void 0:o.x,A=null===(a=k[0])||void 0===a?void 0:a.y,N=0;N<k.length;++N){var D=k[N];void 0!==this.composition?0===this.composition?(this.N(D.data.name,D.data.subname,D.data.bodytext,D.data.metricName,N%2==0?1===k.length?V:S:L,A,D.data.fill,1===k.length?v:M,p,D.id,w),N%2==1&&(A+=C+g)):(this.N(D.data.name,D.data.subname,D.data.bodytext,D.data.metricName,V,A,D.data.fill,v,p,D.id,w),A+=C+g):k.length>2?(this.N(D.data.name,D.data.subname,D.data.bodytext,D.data.metricName,N%2==0?S:L,A,D.data.fill,1===k.length?v:M,p,D.id,w),N%2==1&&(A+=C+g)):(this.N(D.data.name,D.data.subname,D.data.bodytext,D.data.metricName,V,A,D.data.fill,v,p,D.id,w),A+=C+g)}}if((x.children||c<=2)&&(this.N(x.dataName,x.subName,x.bodyText,x.metricName,x.x,x.y,x.fill,v,p,x.id,w),0===x.id&&x.children)){var T=pi(k=null===(u=f[x.id])||void 0===u?void 0:u.children,(function(t){return t.x})),O=gi(k,(function(t){return t.x}));this.k(x.id,x.x,x.y,T,x.children[0].y,!1,v,p,g,O)}}},n}(function(){function t(t,n,i,e){void 0===i&&(i=[]),void 0===e&&(e=[]),this._nodeElements=[],this._linkElements=[],this.treeData=t,this.styleClassNames=n,this._nodeElements=i,this._linkElements=e}return t.prototype.D=function(t,n,i,e){var r,o=t.split(/\s+/).reverse(),a="",u=Fu(".svgTree").append("text").attr("class","tempText").append("tspan").text(null);e&&u.attr("class",e);for(var s=[];a=o.pop();)if(s.push(a),u.text(s.join(" ")+" "),null!==u.node()&&u.node().getComputedTextLength()>n-i){s.pop(),s.push("...");break}return r=s.join(" ")+" ",u.text(null),Bu(".tempText").remove(),r},t.prototype.N=function(t,n,i,e,r,o,u,s,l,c,f){var h="nodeId: ".concat(c," \nnodeMainText: ").concat(t,"\nsubText ").concat(n," ").concat(f),d=r-s/2;!e&&0===c&&i||this._nodeElements.push(a.createElement("rect",{width:s,height:l,x:d,y:o,tabIndex:0,role:"text","data-is-focusable":!0,"aria-label":h,className:this.styleClassNames.rectNode,stroke:u,key:"".concat(c).concat(this.styleClassNames.rectNode)})),n&&(n=this.D(n,s,s/4,this.styleClassNames.rectSubText)),i&&(i=this.D(i,s,s/4,this.styleClassNames.rectBodyText)),e&&(e=this.D(e,s,s/4,this.styleClassNames.rectMetricText)),t=this.D(t,s,s/4,this.styleClassNames.rectText);var v=e?a.createElement("tspan",{className:this.styleClassNames.rectMetricText,dy:"1.4em",x:d+s/2},e):i?a.createElement(a.Fragment,null,a.createElement("tspan",{className:this.styleClassNames.rectSubText,dy:"1.4em",x:d+s/2},n),a.createElement("tspan",{className:this.styleClassNames.rectBodyText,dy:"1.4em",x:d+s/2},i)):a.createElement("tspan",{className:this.styleClassNames.rectSubText,dy:"1.4em",x:d+s/2},n);n||e||i?this._nodeElements.push(a.createElement("text",{textAnchor:"middle",className:e?this.styleClassNames.rectSubText:this.styleClassNames.rectText,dy:e?o+l/2.5:o+l/2,x:d+s/2,key:"".concat(c).concat(this.styleClassNames.rectText),"data-is-focusable":0===c},t,v)):this._nodeElements.push(a.createElement("text",{textAnchor:"middle",className:this.styleClassNames.rectMetricText,dy:o+l/1.6,x:d+s/2,key:"".concat(c).concat(this.styleClassNames.rectText),"data-is-focusable":0===c},t))},t.prototype.O=function(t,n,i,e,r,o,a,u,s){var l="M".concat(i-o/2,",").concat(e-u," H").concat(s+o/2," M").concat(t,",").concat(e-u,"\n V").concat(n+a+u/2),c="M".concat(t,",").concat(n+a+u/2," V").concat(n+5*u,"\n H").concat(t-o/2," H").concat(t+o/2);return r?c:l},t.prototype.k=function(t,n,i,e,r,o,u,s,l,c){void 0===c&&(c=0),this._linkElements.push(a.createElement("path",{className:this.styleClassNames.link,d:this.O(n,i,e,r,o,u,s,l,c),key:"".concat(t).concat(this.styleClassNames.link)}))},t}()),kd=function(t){function n(n){var i,e,r,o,a,u=this;return(u=t.call(this,n)||this)._nodeElements=[],u._linkElements=[],u._margin={top:(null===(i=u.props.margins)||void 0===i?void 0:i.top)||30,bottom:(null===(e=u.props.margins)||void 0===e?void 0:e.bottom)||30,left:(null===(r=u.props.margins)||void 0===r?void 0:r.left)||50,right:(null===(o=u.props.margins)||void 0===o?void 0:o.right)||20},u._width=u.props.width||1500,u._height=u.props.height||700,u._treeData=u.props.treeData,u._composition=null===(a=u.props)||void 0===a?void 0:a.composition,u._treeTraversal=u.props.treeTraversal,u.state={_width:u._width,_height:u._height},u}return(0,o.C6)(n,t),n.prototype.componentDidMount=function(){var t=this.props,n=t.theme,i=t.className,e=t.styles;this._classNames=Md(e,{theme:n,className:i}),this.P(),this.setState({_width:this.props.width||1500,_height:this.props.height||700})},n.prototype.componentDidUpdate=function(t){if(t.layoutWidth!==this.props.layoutWidth){var n=Bu("text"),i=Bu("rect"),e=Bu("path");0===this._nodeElements.length&&0===this._linkElements.length&&(n.remove(),i.remove(),e.remove()),this.P()}},n.prototype.P=function(){var t=[],n=[],i=new Cd(this._treeData,this._composition,this._classNames,t,n,this._treeTraversal),e=this.state._width-this._margin.left-this._margin.right;i.C(this.props.layoutWidth,e),this._nodeElements=t,this._linkElements=n},n.prototype.render=function(){var t;return a.createElement(Qs,null,a.createElement("div",{className:null===(t=this._classNames)||void 0===t?void 0:t.root},a.createElement("svg",{className:"svgTree",width:this.state._width-this._margin.left-this._margin.right,height:this.state._height-this._margin.top-this._margin.bottom},a.createElement("g",{className:"svgNode"},this._nodeElements.map((function(t){return t}))),a.createElement("g",{className:"svgLink"},this._linkElements.map((function(t){return t}))))))},n}(a.Component),Sd=(0,r.I)(kd,(function(t){return{root:[t.theme.spacing,"ms-TreeChart",t.className,{overflow:"scroll"}],link:{fill:"none",stroke:t.theme.palette.neutralSecondary,strokeWidth:"2px"},rectNode:{strokeWidth:"2px",fill:t.theme.semanticColors.bodyBackground,padding:"10px",rx:"2px"},rectText:(0,o.Cl)({fill:t.theme.palette.neutralDark},t.theme.fonts.large),rectSubText:(0,o.Cl)({fill:t.theme.palette.neutralPrimary},t.theme.fonts.medium),rectBodyText:(0,o.Cl)({fill:t.theme.palette.neutralPrimaryAlt},t.theme.fonts.xSmall),rectMetricText:(0,o.Cl)({fill:t.theme.palette.neutralDark},t.theme.fonts.xLarge)}}));!function(t){t[t.long=1]="long",t[t.compact=0]="compact"}(xd||(xd={})),function(t){t[t.preOrder=1]="preOrder",t[t.levelOrder=0]="levelOrder"}(wd||(wd={}));var Ld,Vd,Ad=(0,u.Z)(),Nd=function(t){function n(n){var i=t.call(this,n)||this;return i.margin={top:2,right:0,bottom:0,left:0},i._isRTL=(0,s.jI)(),i.state={_points:null,_width:i.props.width||80,_height:i.props.height||20,_valueTextWidth:i.props.valueTextWidth||80},i._emptyChartId=g("_SparklineChart_empty"),i}return(0,o.C6)(n,t),n.prototype.componentDidMount=function(){var t=this;if(!this._isChartEmpty()){var n=Wf().x((function(n){return t.x(n.x)})).y0(this.state._height).y1((function(n){return t.y(n.y)})).curve(rf);this.area=n;var i=uf().x((function(n){return t.x(n.x)})).y((function(n){return t.y(n.y)})).curve(rf);this.line=i;var e=this.props.data.lineChartData[0].data,r=function(t,n){let i,e;if(void 0===n)for(const n of t)null!=n&&(void 0===i?n>=n&&(i=e=n):(i>n&&(i=n),e<n&&(e=n)));else{let r=-1;for(let o of t)null!=(o=n(o,++r))&&(void 0===i?o>=o&&(i=e=o):(i>o&&(i=o),e<o&&(e=o)))}return[i,e]}(e,(function(t){return t.x})),o=r[0],a=r[1];this.x=Re().domain([o,a]).range([this.margin.left,this.state._width-this.margin.right]),this.y=Re().domain([0,gi(e,(function(t){return t.y}))]).range([this.state._height-this.margin.bottom,this.margin.top]),this.setState({_points:e})}},n.prototype.drawSparkline=function(){return a.createElement(a.Fragment,null,a.createElement("path",{className:"line",d:this.line(this.state._points),fill:"transparent",opacity:1,strokeWidth:2,stroke:this.props.data.lineChartData[0].color}),a.createElement("path",{className:"area",d:this.area(this.state._points),opacity:1,fillOpacity:.2,fill:this.props.data.lineChartData[0].color,role:"img","aria-hidden":!0}))},n.prototype.render=function(){var t=Ad(this.props.styles,{theme:this.props.theme});return this._isChartEmpty()?a.createElement("div",{id:this._emptyChartId,role:"alert",style:{opacity:"0"},"aria-label":"Graph has no data to display"}):a.createElement(Qs,{direction:Ss.horizontal,isCircularNavigation:!0,className:t.inlineBlock},a.createElement("div",{className:t.inlineBlock},this.state._width>=50&&this.state._height>=16?a.createElement("svg",{width:this.state._width,height:this.state._height,"data-is-focusable":!0,"aria-label":"Sparkline with label ".concat(this.props.data.lineChartData[0].legend)},this.state._points?this.drawSparkline():null):a.createElement(a.Fragment,null),this.props.showLegend&&this.props.data.lineChartData[0].legend?a.createElement("svg",{width:this.state._valueTextWidth,height:this.state._height,"data-is-focusable":!0},a.createElement("text",{x:"0%",textAnchor:this._isRTL?"end":"start",dx:8,y:"100%",dy:-5,className:t.valueText},this.props.data.lineChartData[0].legend)):a.createElement(a.Fragment,null)))},n.prototype._isChartEmpty=function(){return!(this.props.data&&this.props.data.lineChartData&&this.props.data.lineChartData.length>0&&0===this.props.data.lineChartData.filter((function(t){return 0===t.data.length})).length)},n}(a.Component),Dd=(0,r.I)(Nd,(function(t){return{inlineBlock:{display:"inline"},valueText:(0,o.Cl)((0,o.Cl)({},t.theme.fonts.smallPlus),{fill:t.theme.semanticColors.messageText})}})),Td=(0,u.Z)(),Od=function(t){function n(n){var i=t.call(this,n)||this;return i._isRtl=(0,s.jI)(),i._getDomainNRangeValues=function(t,n,i,e,r,o,a,u,s){var l;return l=o===Zu.NumericAxis?function(t,n,i,e,r){var o=gi(t,(function(t){return t.x})),a=e?n.left:n.left+r,u=e?i-n.right-r:i-n.right;return e?{dStartValue:o,dEndValue:0,rStartValue:a,rEndValue:u}:{dStartValue:0,dEndValue:o,rStartValue:a,rEndValue:u}}(t,n,i,r,s):{dStartValue:0,dEndValue:0,rStartValue:0,rEndValue:0},l},i._getMargins=function(t){i.margins=t},i._renderContentForOnlyBars=function(t){var n,e,r,o=i.props.useSingleColor,u=void 0!==o&&o,s=0;return i.props.data.forEach((function(n,i){n.y===t.y&&(s=i)})),r=u?i.props.colors?i._createColors()(1):Zc(1,0,null===(n=i.props.theme)||void 0===n?void 0:n.isInverted):t.color?t.color:i.props.colors?i._createColors()(t.x):Zc(s,0,null===(e=i.props.theme)||void 0===e?void 0:e.isInverted),a.createElement(a.Fragment,null,a.createElement(Ds.ChartHoverCard,{XValue:t.xAxisCalloutData||t.x.toString(),Legend:t.legend,YValue:t.yAxisCalloutData||t.y,color:r,culture:i.props.culture}))},i._renderCallout=function(t){return t?i._renderContentForOnlyBars(t):null},i._getCustomizedCallout=function(){return i.props.onRenderCalloutPerDataPoint?i.props.onRenderCalloutPerDataPoint(i.state.dataPointCalloutProps,i._renderCallout):null},i._getGraphData=function(t,n,e,r,o,a){return i._bars=i._yAxisType===Ku.NumericAxis?i._createNumericBars(e,r,o,a):i._createStringBars(e,r,o,a)},i._refCallback=function(t,n){i._refArray.push({index:n,refElement:t})},i._getCalloutContentForBar=function(t){var n,e,r,o=[],a=i.props.useSingleColor,u=void 0!==a&&a,s=i.props.data,l=s.filter((function(n){return n.y===t.y})),c=0;return s.forEach((function(n,i){n.y===t.y&&(c=i)})),r=u?i.props.colors?i._createColors()(1):Zc(1,0,null===(n=i.props.theme)||void 0===n?void 0:n.isInverted):l[0].color?l[0].color:i.props.colors?i._createColors()(l[0].x):Zc(c,0,null===(e=i.props.theme)||void 0===e?void 0:e.isInverted),o.push({legend:l[0].legend,y:l[0].x,color:r,data:l[0].yAxisCalloutData,yAxisCalloutData:l[0].yAxisCalloutData}),{YValueHover:o,hoverXValue:t.yAxisCalloutData||t.y.toString()}},i._onBarLeave=function(){},i._handleChartMouseLeave=function(){i._calloutAnchorPoint=null,i.setState({isCalloutVisible:!1,activeXdataPoint:null,YValueHover:[],hoverXValue:""})},i._onBarFocus=function(t,n,e){if(!1===i.state.isLegendSelected||i.state.isLegendSelected&&i.state.selectedLegendTitle===t.legend){var r=i._getCalloutContentForBar(t),o=r.YValueHover,a=r.hoverXValue;i._refArray.forEach((function(r,u){n===u&&i.setState({refSelected:r.refElement,isCalloutVisible:!0,selectedLegendTitle:t.legend,dataForHoverCard:t.x,color:i.props.useSingleColor?e:t.color,xCalloutValue:t.yAxisCalloutData||t.y.toString(),yCalloutValue:t.xAxisCalloutData||t.x.toString(),dataPointCalloutProps:t,activeXdataPoint:t.x,YValueHover:o,hoverXValue:a,callOutAccessibilityData:t.callOutAccessibilityData})}))}},i._getScales=function(t,n,e){if(e){var r=gi(i._points,(function(t){return t.x})),o=gi(i._points,(function(t){return t.y}));return{xBarScale:Re().domain(i._isRtl?[r,0]:[0,r]).nice().range([i.margins.left,n-i.margins.right]),yBarScale:a=Re().domain([0,o]).range([t-i.margins.bottom,i.margins.top])}}r=gi(i._points,(function(t){return t.x}));var a=Va().domain(i._yAxisLabels).range([t-i.margins.bottom-i._barHeight/2,i.margins.top+i._barHeight/2]).padding(i.props.yAxisPadding||0);return{xBarScale:Re().domain(i._isRtl?[r,0]:[0,r]).nice().range([i.margins.left,n-i.margins.right]),yBarScale:a}},i._closeCallout=function(){i.setState({isCalloutVisible:!1})},i._getLegendData=function(t,n){var e=i.props.useSingleColor,r=[];return t.forEach((function(t,n){var o,a=e?i.props.colors?i._createColors()(1):Zc(1,0,null===(o=i.props.theme)||void 0===o?void 0:o.isInverted):t.color,u={title:t.legend,color:a,action:function(){i._onLegendClick(t.legend)},hoverAction:function(){i._handleChartMouseLeave(),i._onLegendHover(t.legend)},onMouseOutAction:function(t){i._onLegendLeave(t)}};r.push(u)})),a.createElement(ac,(0,o.Cl)({legends:r,enabledWrapLines:i.props.enabledLegendsWrapLines,overflowProps:i.props.legendsOverflowProps,focusZonePropsInHoverCard:i.props.focusZonePropsForLegendsInHoverCard,overflowText:i.props.legendsOverflowText},i.props.legendProps))},i._getAxisData=function(t){if(t&&t.yAxisDomainValues.length){var n=t.yAxisDomainValues;i._xMax=Math.max(n[n.length-1],i.props.xMaxValue||0)}},i._getAriaLabel=function(t){var n,i=t.xAxisCalloutData||t.x,e=t.yAxisCalloutData||t.y;return(null===(n=t.callOutAccessibilityData)||void 0===n?void 0:n.ariaLabel)||"".concat(i,". ")+"".concat(e,".")},i._getChartTitle=function(){var t=i.props,n=t.chartTitle,e=t.data;return(n?"".concat(n,". "):"")+"Horizontal bar chart with ".concat((null==e?void 0:e.length)||0," bars. ")},i.state={color:"",dataForHoverCard:0,isCalloutVisible:!1,isLegendSelected:!1,isLegendHovered:!1,refSelected:null,selectedLegendTitle:"",xCalloutValue:"",yCalloutValue:"",activeXdataPoint:null,YValueHover:[],hoverXValue:""},i._calloutId=g("callout"),i._tooltipId=g("HBCWATooltipID_"),i._refArray=[],i._xAxisType=i.props.data&&i.props.data.length>0?xs(i.props.data[0].x,!0):Zu.NumericAxis,i._yAxisType=i.props.data&&i.props.data.length>0?xs(i.props.data[0].y,!1):Ku.StringAxis,i}return(0,o.C6)(n,t),n.prototype.render=function(){var t=this;this._adjustProps();var n=(0,o.fX)([],this._points,!0).reverse();this._yAxisLabels=n.map((function(t){return t.y})),this._xMax=Math.max(gi(this._points,(function(t){return t.x})),this.props.xMaxValue||0);var i=this._getLegendData(this._points,this.props.theme.palette);this._classNames=Td(this.props.styles,{theme:this.props.theme,legendColor:this.state.color});var e=(0,o.Cl)((0,o.Cl)({isCalloutVisible:this.state.isCalloutVisible,directionalHint:x.topAutoEdge,id:"toolTip".concat(this._calloutId),target:this.state.refSelected,isBeakVisible:!1,gapSpace:15,color:this.state.color,legend:this.state.selectedLegendTitle,XValue:this.state.xCalloutValue,YValue:this.state.yCalloutValue?this.state.yCalloutValue:this.state.dataForHoverCard,onDismiss:this._closeCallout,preventDismissOnLostFocus:!0},this.props.calloutProps),Ms(this.state.callOutAccessibilityData)),r={tickValues:this.props.tickValues,tickFormat:this.props.tickFormat};return a.createElement(gf,(0,o.Cl)({},this.props,{chartTitle:this._getChartTitle(),points:this._points,chartType:Gu.HorizontalBarChartWithAxis,xAxisType:this._xAxisType,yAxisType:this._yAxisType,stringDatasetForYAxisDomain:this._yAxisLabels,calloutProps:e,tickParams:r,legendBars:i,createYAxis:is,getDomainNRangeValues:this._getDomainNRangeValues,createStringYAxis:rs,getMinMaxOfYAxis:ms,barwidth:this._barHeight,focusZoneDirection:Ss.vertical,customizedCallout:this._getCustomizedCallout(),getmargins:this._getMargins,getGraphData:this._getGraphData,getAxisData:this._getAxisData,onChartMouseLeave:this._handleChartMouseLeave,children:function(n){return a.createElement(a.Fragment,null,a.createElement("g",null,t._bars))}}))},n.prototype._adjustProps=function(){this._points=this.props.data||[],this._barHeight=this.props.barHeight||32;var t=this.props.theme.palette;this._colors=this.props.colors||[t.blueLight,t.blue,t.blueMid,t.blueDark]},n.prototype._createColors=function(){var t=this,n=this._colors.length<=1?1:1/(this._colors.length-1),i=this.props.useSingleColor;if(void 0!==i&&i)return function(n){var i=t.props,e=i.theme,r=i.colors;return r&&r.length>0?r[0]:e.palette.blueLight};for(var e=[],r=0;r<this._colors.length;r++)e.push(n*r*this._xMax);return Re().domain(e).range(this._colors)},n.prototype._onBarHover=function(t,n,i){i.persist();var e=this._getCalloutContentForBar(t),r=e.YValueHover,o=e.hoverXValue;(!1===this.state.isLegendSelected||this.state.isLegendSelected&&this.state.selectedLegendTitle===t.legend)&&this._calloutAnchorPoint!==t&&(this._calloutAnchorPoint=t,this.setState({refSelected:i,isCalloutVisible:!0,dataForHoverCard:t.x,selectedLegendTitle:t.legend,color:this.props.useSingleColor?n:t.color,xCalloutValue:t.yAxisCalloutData||t.y.toString(),yCalloutValue:t.xAxisCalloutData||t.x.toString(),dataPointCalloutProps:t,activeXdataPoint:t.x,YValueHover:r,hoverXValue:o,callOutAccessibilityData:t.callOutAccessibilityData}))},n.prototype._createNumericBars=function(t,n,i,e){var r=this,u=this.props.useSingleColor,s=void 0!==u&&u,l=this._getScales(t,n,!0),c=l.xBarScale,f=l.yBarScale,h=(0,o.fX)([],this._points,!0);h.sort((function(t,n){var i="number"==typeof t.y?t.y:parseFloat(t.y);return("number"==typeof n.y?n.y:parseFloat(n.y))-i}));var d=h.map((function(t,i){var e,o,u,l=!0;return(r.state.isLegendHovered||r.state.isLegendSelected)&&(l=r.state.selectedLegendTitle===t.legend),r._classNames=Td(r.props.styles,{theme:r.props.theme,legendColor:r.state.color,shouldHighlight:l}),Math.max(f(t.y),0)<1?a.createElement(a.Fragment,{key:t.x}," "):(u=s?r.props.colors?r._createColors()(1):Zc(1,0,null===(e=r.props.theme)||void 0===e?void 0:e.isInverted):r.props.colors?r._createColors()(t.x):Zc(i,0,null===(o=r.props.theme)||void 0===o?void 0:o.isInverted),a.createElement("rect",{key:t.y,x:r._isRtl?c(t.x):r.margins.left,className:r._classNames.opacityChangeOnHover,y:f(t.y)-r._barHeight/2,"data-is-focusable":l,width:r._isRtl?n-r.margins.right-Math.max(c(t.x),0):Math.max(c(t.x),0)-r.margins.left,height:r._barHeight,ref:function(n){r._refCallback(n,t.legend)},onClick:t.onClick,onMouseOver:r._onBarHover.bind(r,t,u),"aria-label":r._getAriaLabel(t),role:"img","aria-labelledby":"toolTip".concat(r._calloutId),onMouseLeave:r._onBarLeave,onFocus:r._onBarFocus.bind(r,t,i,u),onBlur:r._onBarLeave,fill:t.color&&!s?t.color:u}))}));return d},n.prototype._tooltipOfYAxislabels=function(t){var n=this,i=t.tooltipCls,e=t.yAxis,r=t.id;if(null===e)return null;for(var o=Fu("body").append("div").attr("id",r).attr("class",i).style("opacity",0),a=e.selectAll("#BaseSpan")._groups[0],u=a&&Object.keys(a).length,s=[],l=0;l<u;l++){var c=a[l].dataset&&Object.values(a[l].dataset)[0];s.push(c)}var f=e.selectAll(".tick")._groups[0],h=f&&Object.keys(f).length,d=function(t){Fu(f[t]).on("mouseover",(function(i,e){n.state.tooltipElement||(o.style("opacity",.9),o.html(s[t]).style("left",i.pageX+"px").style("top",i.pageY-28+"px"))})).on("mouseout",(function(t){o.style("opacity",0)}))};for(l=0;l<h;l++)d(l)},n.prototype._createStringBars=function(t,n,i,e){var r=this,o=this._getScales(t,n,!1),u=o.xBarScale,s=o.yBarScale,l=this.props.useSingleColor,c=void 0!==l&&l,f=this._points.map((function(t,i){var e,o,l;return Math.max(s(t.y),0)<1?a.createElement(a.Fragment,{key:t.x}," "):(l=c?r.props.colors?r._createColors()(1):Zc(1,0,null===(e=r.props.theme)||void 0===e?void 0:e.isInverted):r.props.colors?r._createColors()(t.x):Zc(i,0,null===(o=r.props.theme)||void 0===o?void 0:o.isInverted),a.createElement("rect",{transform:"translate(0,".concat(.5*(s.bandwidth()-r._barHeight),")"),key:t.x,x:r._isRtl?u(t.x):r.margins.left,y:s(t.y),width:r._isRtl?n-r.margins.right-Math.max(u(t.x),0):Math.max(u(t.x),0)-r.margins.left,height:r._barHeight,"aria-labelledby":"toolTip".concat(r._calloutId),"aria-label":r._getAriaLabel(t),role:"img",ref:function(n){r._refCallback(n,t.legend)},onClick:t.onClick,onMouseOver:r._onBarHover.bind(r,t,l),onMouseLeave:r._onBarLeave,onBlur:r._onBarLeave,"data-is-focusable":!0,onFocus:r._onBarFocus.bind(r,t,i,l),fill:t.color&&!c?t.color:l}))}));if(!this.props.showYAxisLablesTooltip)try{document.getElementById(this._tooltipId)&&document.getElementById(this._tooltipId).remove()}catch(t){}if(this.props.showYAxisLablesTooltip){var h=Fu(e).call(s);if(!this.state.tooltipElement)try{document.getElementById(this._tooltipId)&&document.getElementById(this._tooltipId).remove()}catch(t){}var d={tooltipCls:this._classNames.tooltip,id:this._tooltipId,yAxis:h};h&&this._tooltipOfYAxislabels(d)}return f},n.prototype._onLegendClick=function(t){this.state.isLegendSelected?this.state.selectedLegendTitle===t?this.setState({isLegendSelected:!1,selectedLegendTitle:t}):this.setState({selectedLegendTitle:t}):this.setState({isLegendSelected:!0,selectedLegendTitle:t})},n.prototype._onLegendHover=function(t){!1===this.state.isLegendSelected&&this.setState({isLegendHovered:!0,selectedLegendTitle:t})},n.prototype._onLegendLeave=function(t){(t||!1===this.state.isLegendSelected)&&this.setState({isLegendHovered:!1,selectedLegendTitle:"",isLegendSelected:!t&&this.state.isLegendSelected})},n}(a.Component),Pd=(0,r.I)(Od,(function(t){var n=t.shouldHighlight,i=t.theme;return{opacityChangeOnHover:{opacity:n?"":"0.1"},xAxisTicks:[],tooltip:(0,o.Cl)((0,o.Cl)({},i.fonts.medium),{display:"flex",flexDirection:"column",padding:"8px",position:"absolute",textAlign:"center",top:"0px",background:i.semanticColors.bodyBackground,borderRadius:"2px",pointerEvents:"none"})}}));!function(t){t.Percentage="percentage",t.Fraction="fraction"}(Ld||(Ld={})),function(t){t.SingleSegment="single-segment",t.MultipleSegments="multiple-segments"}(Vd||(Vd={}));var Ed=[{minRadius:52,arcWidth:12,fontSize:20},{minRadius:70,arcWidth:16,fontSize:24},{minRadius:88,arcWidth:20,fontSize:32},{minRadius:106,arcWidth:24,fontSize:32},{minRadius:124,arcWidth:28,fontSize:40},{minRadius:142,arcWidth:32,fontSize:40}],Fd=(0,u.Z)(),Bd=function(t,n,i,e,r){return void 0===r&&(r=!1),r?0===n&&e===Vd.SingleSegment?"".concat(t.legend,", ").concat(t.size," out of ").concat(i," or ").concat((t.size/i*100).toFixed(),"%"):"".concat(t.legend,", ").concat(t.start," to ").concat(t.end):0===n&&e===Vd.SingleSegment?"".concat(t.size," (").concat((t.size/i*100).toFixed(),"%)"):"".concat(t.start," - ").concat(t.end)},Hd=function(t,n,i,e,r){return void 0===r&&(r=!1),r?0!==n?t.toString():e===Ld.Fraction?"".concat((t/i*100).toFixed(),"%"):"".concat(t,"/").concat(i):"function"==typeof e?e([t-n,i-n]):0!==n?t.toString():e===Ld.Fraction?"".concat(t,"/").concat(i):"".concat((t/i*100).toFixed(),"%")},_d=function(t){function n(n){var i=t.call(this,n)||this;return i._getMargins=function(){var t=i.props,n=t.hideMinMax;return{left:16+(n?0:40),right:16+(n?0:40),top:16+(t.chartTitle?27:2),bottom:16+(t.sublabel?20:0)}},i._getStylesBasedOnBreakpoint=function(){for(var t=Ed.length-1;t>=0;t-=1)if(i._outerRadius>=Ed[t].minRadius)return{arcWidth:Ed[t].arcWidth,chartValueSize:Ed[t].fontSize};return{arcWidth:Ed[0].arcWidth,chartValueSize:Ed[0].fontSize}},i._processProps=function(){var t=i.props,n=t.minValue,e=void 0===n?0:n,r=t.maxValue,o=t.theme,a=e,u=i.props.segments.map((function(t,n){var i=Math.max(t.size,0);return a+=i,{legend:t.legend,size:i,color:void 0!==t.color?Kc(t.color,o.isInverted):Zc(n,0,o.isInverted),accessibilityData:t.accessibilityData,start:a-i,end:a}}));void 0!==r&&a<r&&(u.push({legend:"Unknown",size:r-a,color:o.palette.neutralLight,start:a,end:r}),a=r);var s=Hc().padAngle(2/i._outerRadius).padRadius(i._outerRadius),l=i._isRTL?Array.from(u).reverse():u,c=-Math.PI/2,f=l.map((function(t,n){var r=c+t.size/(a-e)*Math.PI,o=s({innerRadius:i._innerRadius,outerRadius:i._outerRadius,startAngle:c,endAngle:r});return c=r,{d:o,segmentIndex:i._isRTL?u.length-1-n:n}}));return i._minValue=e,i._maxValue=a,i._segments=u,{arcs:f}},i._renderNeedle=function(){var t=function(t,n,i){var e=(t-n)/(i-n)*180;return e<0?e=0:e>180&&(e=180),e}(i.props.chartValue,i._minValue,i._maxValue),n=i._isRTL?180-t:t,e=i._outerRadius-i._innerRadius+4;return a.createElement("g",{transform:"rotate(".concat(n,", 0, 0)")},a.createElement("path",{d:"\n M 0,".concat(-4,"\n L ").concat(-e,",").concat(-2,"\n A ").concat(2,",").concat(2,",0,0,0,").concat(-e,",").concat(2,"\n L 0,").concat(4,"\n A ").concat(4,",").concat(4,",0,0,0,0,").concat(-4,"\n "),strokeWidth:2,className:i._classNames.needle,transform:"translate(".concat(2-i._innerRadius,")"),"data-is-focusable":!0,onFocus:function(t){return i._handleFocus(t,"Needle")},onBlur:i._handleBlur,onMouseEnter:function(t){return i._handleMouseOver(t,"Needle")},onMouseMove:function(t){return i._handleMouseOver(t,"Needle")},role:"img","aria-label":"Current value: "+Hd(i.props.chartValue,i._minValue,i._maxValue,i.props.chartValueFormat)}))},i._renderLegends=function(){if(i.props.hideLegend)return null;var t=i._segments.map((function(t){return{title:t.legend,color:t.color,action:function(){i.state.selectedLegend===t.legend?i.setState({selectedLegend:""}):i.setState({selectedLegend:t.legend})},hoverAction:function(){i.setState({hoveredLegend:t.legend})},onMouseOutAction:function(){i.setState({hoveredLegend:""})}}}));return a.createElement("div",{className:i._classNames.legendsContainer},a.createElement(ac,(0,o.Cl)({legends:t,centerLegends:!0},i.props.legendProps)))},i._legendHighlighted=function(t){return i.state.selectedLegend===t||""===i.state.selectedLegend&&i.state.hoveredLegend===t},i._noLegendHighlighted=function(){return""===i.state.selectedLegend&&""===i.state.hoveredLegend},i._handleFocus=function(t,n){i._showCallout(t.target,n,!0)},i._handleBlur=function(){i._hideCallout(!0)},i._handleMouseOver=function(t,n){i._showCallout(t.target,n,!1)},i._handleMouseOut=function(){i._hideCallout(!1)},i._handleCalloutDismiss=function(){i._hideCallout(!1)},i._showCallout=function(t,n,e){if(i._calloutAnchor!==n){i._calloutAnchor=n;var r="Current value is "+Hd(i.props.chartValue,i._minValue,i._maxValue,i.props.chartValueFormat,!0),a=i._segments.map((function(t){return{legend:t.legend,y:Bd(t,i._minValue,i._maxValue,i.props.variant),color:t.color}}));i.setState((0,o.Cl)({calloutTarget:t,isCalloutVisible:["Needle","Chart value"].includes(n)||""===i.state.selectedLegend||i.state.selectedLegend===n,hoverXValue:r,hoverYValues:a},e?{focusedElement:n}:{}))}},i._hideCallout=function(t){i._calloutAnchor="",i.setState((0,o.Cl)({calloutTarget:null,isCalloutVisible:!1,hoverXValue:"",hoverYValues:[]},t?{focusedElement:""}:{}))},i._wrapContent=function(t,n,i){var e=Fu("#".concat(n));if(e.text(t),!e.node())return!1;for(var r=!1,o=e.node().getComputedTextLength();o>i&&t.length>0;)t=t.slice(0,-1),e.text(t+"..."),r=!0,o=e.node().getComputedTextLength();return r},i._multiValueCallout=function(t){var n=i._yValueHoverSubCountsExists(t.YValueHover);return a.createElement("div",{className:i._classNames.calloutContentRoot},a.createElement("div",{className:i._classNames.calloutDateTimeContainer,style:n?{marginBottom:"11px"}:{}},a.createElement("div",(0,o.Cl)({className:i._classNames.calloutContentX},Ms(t.xAxisCalloutAccessibilityData,"text",!1)),(0,Jn.U)(t.hoverXValue,i.props.culture))),a.createElement("div",{className:i._classNames.calloutInfoContainer,style:n?{display:"flex"}:{}},t.YValueHover&&t.YValueHover.map((function(t,e,r){var u=e+1===r.length,s=t.shouldDrawBorderBottom,l=void 0!==s&&s;return a.createElement("div",(0,o.Cl)({},Ms(t.callOutAccessibilityData,"text",!1),{key:"callout-content-".concat(e),style:n?(0,o.Cl)({display:"inline-block"},l&&{borderBottom:"1px solid ".concat(i.props.theme.semanticColors.menuDivider),paddingBottom:"10px"}):(0,o.Cl)({},l&&{borderBottom:"1px solid ".concat(i.props.theme.semanticColors.menuDivider),paddingBottom:"10px"})}),i._getCalloutContent(t,e,n,u))})),!!t.descriptionMessage&&a.createElement("div",{className:i._classNames.descriptionMessage},t.descriptionMessage)))},i._getChartTitle=function(){var t=i.props.chartTitle;return(t?"".concat(t,". "):"")+"Gauge chart with ".concat(i._segments.length," segments. ")},i._margins=i._getMargins(),i._legendsHeight=n.hideLegend?0:24,i.state={hoveredLegend:"",selectedLegend:"",focusedElement:"",calloutTarget:null,isCalloutVisible:!1,hoverXValue:"",hoverYValues:[],width:140+i._margins.left+i._margins.right,height:70+i._margins.top+i._margins.bottom+i._legendsHeight},i._isRTL=(0,s.jI)(n.theme),i._calloutAnchor="",i}return(0,o.C6)(n,t),n.prototype.componentDidMount=function(){this._rootElem&&this.setState({width:this._rootElem.clientWidth,height:this._rootElem.clientHeight})},n.prototype.render=function(){var t=this;this._margins=this._getMargins(),this._legendsHeight=this.props.hideLegend?0:24;var n=this.props.width||this.state.width,i=this.props.height||this.state.height;this._outerRadius=Math.min((n-(this._margins.left+this._margins.right))/2,i-(this._margins.top+this._margins.bottom+this._legendsHeight));var e=this._getStylesBasedOnBreakpoint(),r=e.arcWidth,u=e.chartValueSize;this._innerRadius=this._outerRadius-r;var s=this._processProps().arcs;return this._classNames=Fd(this.props.styles,{theme:this.props.theme,className:this.props.className,chartWidth:n,chartHeight:i-this._legendsHeight,chartValueSize:u}),a.createElement("div",{className:this._classNames.root,ref:function(n){return t._rootElem=n}},a.createElement(Qs,{direction:Ss.horizontal},a.createElement("svg",{className:this._classNames.chart,role:"region","aria-label":this._getChartTitle(),onMouseLeave:this._handleMouseOut},a.createElement("g",{transform:"translate(".concat(n/2,", ").concat(i-(this._margins.bottom+this._legendsHeight),")")},this.props.chartTitle&&a.createElement("text",{x:0,y:-(this._outerRadius+11),textAnchor:"middle",className:this._classNames.chartTitle,"aria-hidden":!0},this.props.chartTitle),!this.props.hideMinMax&&a.createElement(a.Fragment,null,a.createElement("text",{x:(this._isRTL?1:-1)*(this._outerRadius+4),y:0,textAnchor:"end",className:this._classNames.limits,role:"img","aria-label":"Min value: ".concat(this._minValue)},ks(this._minValue)),a.createElement("text",{x:(this._isRTL?-1:1)*(this._outerRadius+4),y:0,textAnchor:"start",className:this._classNames.limits,role:"img","aria-label":"Max value: ".concat(this._maxValue)},ks(this._maxValue))),s.map((function(n,i){var e=t._segments[n.segmentIndex];return a.createElement("path",(0,o.Cl)({key:i,d:n.d,fill:e.color,fillOpacity:t._legendHighlighted(e.legend)||t._noLegendHighlighted()?1:.1,strokeWidth:t.state.focusedElement===e.legend?2:0,className:t._classNames.segment},Ms((0,o.Cl)({ariaLabel:Bd(e,t._minValue,t._maxValue,t.props.variant,!0)},e.accessibilityData),"img",!0),{onFocus:function(n){return t._handleFocus(n,e.legend)},onBlur:t._handleBlur,onMouseEnter:function(n){return t._handleMouseOver(n,e.legend)},onMouseMove:function(n){return t._handleMouseOver(n,e.legend)},"data-is-focusable":t._legendHighlighted(e.legend)||t._noLegendHighlighted()}))})),this._renderNeedle(),a.createElement("g",{onMouseEnter:function(n){return t._handleMouseOver(n,"Chart value")},onMouseMove:function(n){return t._handleMouseOver(n,"Chart value")}},a.createElement(ff,{content:Hd(this.props.chartValue,this._minValue,this._maxValue,this.props.chartValueFormat),textProps:{x:0,y:0,textAnchor:"middle",className:this._classNames.chartValue,"aria-hidden":"true"},maxWidth:2*this._innerRadius-24,wrapContent:this._wrapContent})),this.props.sublabel&&a.createElement(ff,{content:this.props.sublabel,textProps:{x:0,y:4,textAnchor:"middle",dominantBaseline:"hanging",className:this._classNames.sublabel},maxWidth:2*this._innerRadius,wrapContent:this._wrapContent})))),this._renderLegends(),!this.props.hideTooltip&&this.state.isCalloutVisible&&a.createElement(Kn,(0,o.Cl)({target:this.state.calloutTarget,directionalHint:x.topAutoEdge,gapSpace:15,isBeakVisible:!1,onDismiss:this._handleCalloutDismiss},this.props.calloutProps),this._multiValueCallout({hoverXValue:this.state.hoverXValue,YValueHover:this.state.hoverYValues})))},n.prototype._yValueHoverSubCountsExists=function(t){return!!t&&t.some((function(t){return t.yAxisCalloutData&&"string"!=typeof t.yAxisCalloutData}))},n.prototype._getCalloutContent=function(t,n,i,e){var r=e?{}:{marginRight:"16px"},o=void 0!==t.index&&-1!==t.index,u=Fd(this.props.styles,{theme:this.props.theme,lineColor:t.color,toDrawShape:o}),s=this.props.culture,l=(0,Jn.U)(t.y,s);if(t.yAxisCalloutData&&"string"!=typeof t.yAxisCalloutData){var c=t.yAxisCalloutData;return a.createElement("div",{style:r},a.createElement("div",{className:"ms-fontWeight-semibold",style:{fontSize:"12pt"}},t.legend," (",l,")"),Object.keys(c).map((function(t){return a.createElement("div",{key:t,className:u.calloutBlockContainer},a.createElement("div",{className:u.calloutlegendText}," ",(0,Jn.U)(t,s)),a.createElement("div",{className:u.calloutContentY},(0,Jn.U)(c[t],s)))})))}return a.createElement("div",{style:i?r:{}},i&&a.createElement("div",{className:"ms-fontWeight-semibold",style:{fontSize:"12pt"}},t.legend," (",l,")"),a.createElement("div",{id:"".concat(n,"_").concat(t.y),className:u.calloutBlockContainer},o&&a.createElement(ec,{svgProps:{className:u.shapeStyles},pathProps:{fill:t.color},shape:ys[t.index%Object.keys(ws).length]}),a.createElement("div",null,a.createElement("div",{className:u.calloutlegendText}," ",t.legend),a.createElement("div",{className:u.calloutContentY},(0,Jn.U)(t.yAxisCalloutData?t.yAxisCalloutData:t.y||t.data,s)))))},n}(a.Component),Id=(0,r.I)(_d,(function(t){var n,i,e,r,a=t.theme,u=t.chartValueSize,s=t.chartWidth,l=t.chartHeight,c=t.className,f=t.lineColor,h=t.toDrawShape;return{root:[a.fonts.medium,"ms-GaugeChart",{width:"100%",height:"100%"},c],chart:{display:"block",width:s,height:l},limits:{fontSize:Xt.s.small,fontWeight:Xt.BO.semibold,fill:a.palette.neutralPrimary},chartValue:{fontSize:u,fontWeight:Xt.BO.semibold,fill:a.palette.neutralPrimary},sublabel:{fontSize:Xt.s.small,fontWeight:Xt.BO.semibold,fill:a.palette.neutralPrimary},needle:{fill:a.palette.black,stroke:a.semanticColors.bodyBackground},chartTitle:{fontSize:Xt.s.small,fill:a.palette.neutralPrimary},segment:{outline:"none",stroke:a.semanticColors.focusBorder},legendsContainer:{width:s},calloutContentRoot:[{display:"grid",overflow:"hidden",padding:"11px 16px 10px 16px",backgroundColor:a.semanticColors.bodyBackground,backgroundBlendMode:"normal, luminosity"}],calloutDateTimeContainer:{display:"flex",flexDirection:"row",justifyContent:"space-between"},calloutContentX:[(0,o.Cl)((0,o.Cl)({},a.fonts.small),{lineHeight:"16px",opacity:"0.85",color:a.semanticColors.bodySubtext})],calloutBlockContainer:[a.fonts.mediumPlus,{marginTop:"13px",color:a.semanticColors.bodyText},!h&&{selectors:(n={},n[Xt.up]={forcedColorAdjust:"none"},n),borderLeft:"4px solid ".concat(f),paddingLeft:"8px"},h&&{display:"flex"}],shapeStyles:{marginRight:"8px"},calloutlegendText:(0,o.Cl)((0,o.Cl)({},a.fonts.small),{lineHeight:"16px",selectors:(i={},i[Xt.NK]={color:"rgb(255, 255, 255)"},i),color:a.semanticColors.bodySubtext}),calloutContentY:[(0,o.Cl)((0,o.Cl)({},a.fonts.mediumPlus),{fontWeight:"bold",lineHeight:"22px",selectors:(e={},e[Xt.NK]={color:"rgb(255, 255, 255)"},e)})],descriptionMessage:[a.fonts.small,{selectors:(r={},r[Xt.NK]={color:"rgb(255, 255, 255)"},r),color:a.semanticColors.bodyText,marginTop:"10px",paddingTop:"10px",borderTop:"1px solid ".concat(a.semanticColors.menuDivider)}]}}));(0,i(409).v)("@fluentui/react-charting","5.21.30"),FluentUIReactCharting=e}();
|