@allurereport/web-components 3.21.0 → 3.22.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/Attachment-DFk4AiwI.js +2 -0
- package/dist/Attachment-DFk4AiwI.js.map +1 -0
- package/dist/Attachment-Du2XgmQc.d.ts +26 -0
- package/dist/Attachment.d.ts +5 -0
- package/dist/Attachment.js +2 -0
- package/dist/Attachment.js.map +1 -0
- package/dist/AttachmentCode-DLfL9_C7.js +2 -0
- package/dist/AttachmentCode-DLfL9_C7.js.map +1 -0
- package/dist/AttachmentImageDiff-Bp1b_UU5.js +2 -0
- package/dist/AttachmentImageDiff-Bp1b_UU5.js.map +1 -0
- package/dist/AttachmentTable-B_2qN3O-.js +2 -0
- package/dist/AttachmentTable-B_2qN3O-.js.map +1 -0
- package/dist/BarChart-Dmhamjn_.js +2 -0
- package/dist/BarChart-Dmhamjn_.js.map +1 -0
- package/dist/BarChartRenderer-Ip2G__e-.js +2 -0
- package/dist/BarChartRenderer-Ip2G__e-.js.map +1 -0
- package/dist/ChartWidget.d.ts +13 -0
- package/dist/ChartWidget.js +2 -0
- package/dist/ChartWidget.js.map +1 -0
- package/dist/CodeViewer.d.ts +9 -0
- package/dist/CodeViewer.js +2 -0
- package/dist/CodeViewer.js.map +1 -0
- package/dist/CurrentStatusChartWidget.d.ts +16 -0
- package/dist/CurrentStatusChartWidget.js +2 -0
- package/dist/CurrentStatusChartWidget.js.map +1 -0
- package/dist/DurationDynamicsChartWidget.d.ts +12 -0
- package/dist/DurationDynamicsChartWidget.js +2 -0
- package/dist/DurationDynamicsChartWidget.js.map +1 -0
- package/dist/DurationsChartWidget.d.ts +12 -0
- package/dist/DurationsChartWidget.js +2 -0
- package/dist/DurationsChartWidget.js.map +1 -0
- package/dist/EmptyDataStub-CRdg61R2.js +2 -0
- package/dist/EmptyDataStub-CRdg61R2.js.map +1 -0
- package/dist/FunnelChartRenderer-tZ8LQJEg.js +2 -0
- package/dist/FunnelChartRenderer-tZ8LQJEg.js.map +1 -0
- package/dist/Grid.d.ts +20 -0
- package/dist/Grid.js +2 -0
- package/dist/Grid.js.map +1 -0
- package/dist/GridItem-DI1f2R1r.js +8 -0
- package/dist/GridItem-DI1f2R1r.js.map +1 -0
- package/dist/HeatMapChartRenderer-CgQ03Op3.js +2 -0
- package/dist/HeatMapChartRenderer-CgQ03Op3.js.map +1 -0
- package/dist/HeatMapWidget-Dqm7-_SB.js +2 -0
- package/dist/HeatMapWidget-Dqm7-_SB.js.map +1 -0
- package/dist/HeatMapWidget.d.ts +5 -0
- package/dist/HeatMapWidget.js +2 -0
- package/dist/HeatMapWidget.js.map +1 -0
- package/dist/HtmlPreview-u0sa77g5.js +2 -0
- package/dist/HtmlPreview-u0sa77g5.js.map +1 -0
- package/dist/HttpAttachment-CkQRcAfa.js +2 -0
- package/dist/HttpAttachment-CkQRcAfa.js.map +1 -0
- package/dist/MarkdownPreview-BEs6LvOd.js +4 -0
- package/dist/MarkdownPreview-BEs6LvOd.js.map +1 -0
- package/dist/MermaidPreview-4EDQwdX3.js +2 -0
- package/dist/MermaidPreview-4EDQwdX3.js.map +1 -0
- package/dist/PieChartRenderer-Cv4hjlRj.js +2 -0
- package/dist/PieChartRenderer-Cv4hjlRj.js.map +1 -0
- package/dist/StabilityDistributionWidget.d.ts +12 -0
- package/dist/StabilityDistributionWidget.js +2 -0
- package/dist/StabilityDistributionWidget.js.map +1 -0
- package/dist/StatusAgePyramidChartWidget.d.ts +15 -0
- package/dist/StatusAgePyramidChartWidget.js +2 -0
- package/dist/StatusAgePyramidChartWidget.js.map +1 -0
- package/dist/StatusDynamicsChartWidget.d.ts +22 -0
- package/dist/StatusDynamicsChartWidget.js +2 -0
- package/dist/StatusDynamicsChartWidget.js.map +1 -0
- package/dist/StatusTransitionsChartWidget.d.ts +14 -0
- package/dist/StatusTransitionsChartWidget.js +2 -0
- package/dist/StatusTransitionsChartWidget.js.map +1 -0
- package/dist/SuccessRatePieChart.d.ts +11 -0
- package/dist/SuccessRatePieChart.js +2 -0
- package/dist/SuccessRatePieChart.js.map +1 -0
- package/dist/TestBaseGrowthDynamicsChartWidget.d.ts +13 -0
- package/dist/TestBaseGrowthDynamicsChartWidget.js +2 -0
- package/dist/TestBaseGrowthDynamicsChartWidget.js.map +1 -0
- package/dist/TestingPyramidWidget.d.ts +20 -0
- package/dist/TestingPyramidWidget.js +2 -0
- package/dist/TestingPyramidWidget.js.map +1 -0
- package/dist/Timeline-BWVXDTn-.js +2 -0
- package/dist/Timeline-BWVXDTn-.js.map +1 -0
- package/dist/Timeline.d.ts +46 -0
- package/dist/Timeline.js +2 -0
- package/dist/Timeline.js.map +1 -0
- package/dist/TrSeveritiesChartWidget.d.ts +13 -0
- package/dist/TrSeveritiesChartWidget.js +2 -0
- package/dist/TrSeveritiesChartWidget.js.map +1 -0
- package/dist/TreeMapChartRenderer-DAOzpUju.js +2 -0
- package/dist/TreeMapChartRenderer-DAOzpUju.js.map +1 -0
- package/dist/TreeMapChartWidget-DKXJlnm9.js +2 -0
- package/dist/TreeMapChartWidget-DKXJlnm9.js.map +1 -0
- package/dist/TreeMapChartWidget.d.ts +7 -0
- package/dist/TreeMapChartWidget.js +2 -0
- package/dist/TreeMapChartWidget.js.map +1 -0
- package/dist/_baseSlice-CBpWu5XB.js +2 -0
- package/dist/_baseSlice-CBpWu5XB.js.map +1 -0
- package/dist/_commonjsHelpers-Doe7ti1T.js +2 -0
- package/dist/_commonjsHelpers-Doe7ti1T.js.map +1 -0
- package/dist/_stringToArray-aaWSQcKo.js +2 -0
- package/dist/_stringToArray-aaWSQcKo.js.map +1 -0
- package/dist/array-B0SXO2zY.js +2 -0
- package/dist/array-B0SXO2zY.js.map +1 -0
- package/dist/clipboard-BUUe2rGt.js +2 -0
- package/dist/clipboard-BUUe2rGt.js.map +1 -0
- package/dist/clsx-D83172mf.js +2 -0
- package/dist/clsx-D83172mf.js.map +1 -0
- package/dist/components/ArrowButton/index.d.ts +16 -0
- package/dist/components/ArrowButton/index.d.ts.map +1 -0
- package/dist/components/Attachment/Attachment.d.ts +10 -0
- package/dist/components/Attachment/Attachment.d.ts.map +1 -0
- package/dist/components/Attachment/AttachmentCode.d.ts +6 -0
- package/dist/components/Attachment/AttachmentCode.d.ts.map +1 -0
- package/dist/components/Attachment/AttachmentEmpty.d.ts +5 -0
- package/dist/components/Attachment/AttachmentEmpty.d.ts.map +1 -0
- package/dist/components/Attachment/AttachmentImage.d.ts +3 -0
- package/dist/components/Attachment/AttachmentImage.d.ts.map +1 -0
- package/dist/components/Attachment/AttachmentImageDiff.d.ts +3 -0
- package/dist/components/Attachment/AttachmentImageDiff.d.ts.map +1 -0
- package/dist/components/Attachment/AttachmentTable.d.ts +3 -0
- package/dist/components/Attachment/AttachmentTable.d.ts.map +1 -0
- package/dist/components/Attachment/AttachmentVideo.d.ts +3 -0
- package/dist/components/Attachment/AttachmentVideo.d.ts.map +1 -0
- package/dist/components/Attachment/CodeViewer.d.ts +8 -0
- package/dist/components/Attachment/CodeViewer.d.ts.map +1 -0
- package/dist/components/Attachment/HtmlPreview.d.ts +8 -0
- package/dist/components/Attachment/HtmlPreview.d.ts.map +1 -0
- package/dist/components/Attachment/HttpAttachment.d.ts +4 -0
- package/dist/components/Attachment/HttpAttachment.d.ts.map +1 -0
- package/dist/components/Attachment/MarkdownPreview.d.ts +8 -0
- package/dist/components/Attachment/MarkdownPreview.d.ts.map +1 -0
- package/dist/components/Attachment/MermaidPreview.d.ts +8 -0
- package/dist/components/Attachment/MermaidPreview.d.ts.map +1 -0
- package/dist/components/Attachment/htmlPreviewDocument.d.ts +3 -0
- package/dist/components/Attachment/htmlPreviewDocument.d.ts.map +1 -0
- package/dist/components/Attachment/iframe.d.ts +2 -0
- package/dist/components/Attachment/iframe.d.ts.map +1 -0
- package/dist/components/Attachment/index.d.ts +12 -0
- package/dist/components/Attachment/index.d.ts.map +1 -0
- package/dist/components/Attachment/mermaid.d.ts +3 -0
- package/dist/components/Attachment/mermaid.d.ts.map +1 -0
- package/dist/components/Attachment/model.d.ts +14 -0
- package/dist/components/Attachment/model.d.ts.map +1 -0
- package/dist/components/Attachment/prism-global.d.ts +2 -0
- package/dist/components/Attachment/prism-global.d.ts.map +1 -0
- package/dist/components/Attachment/prism-setup.d.ts +10 -0
- package/dist/components/Attachment/prism-setup.d.ts.map +1 -0
- package/dist/components/Button/index.d.ts +128 -0
- package/dist/components/Button/index.d.ts.map +1 -0
- package/dist/components/Charts/BarChart/BarChart.d.ts +40 -0
- package/dist/components/Charts/BarChart/BarChart.d.ts.map +1 -0
- package/dist/components/Charts/BarChart/BarChartTooltip.d.ts +12 -0
- package/dist/components/Charts/BarChart/BarChartTooltip.d.ts.map +1 -0
- package/dist/components/Charts/BarChart/BottomAxisLine.d.ts +3 -0
- package/dist/components/Charts/BarChart/BottomAxisLine.d.ts.map +1 -0
- package/dist/components/Charts/BarChart/Layers.d.ts +23 -0
- package/dist/components/Charts/BarChart/Layers.d.ts.map +1 -0
- package/dist/components/Charts/BarChart/TrendLinesLayer.d.ts +8 -0
- package/dist/components/Charts/BarChart/TrendLinesLayer.d.ts.map +1 -0
- package/dist/components/Charts/BarChart/context.d.ts +7 -0
- package/dist/components/Charts/BarChart/context.d.ts.map +1 -0
- package/dist/components/Charts/BarChart/utils.d.ts +13 -0
- package/dist/components/Charts/BarChart/utils.d.ts.map +1 -0
- package/dist/components/Charts/BarChartRenderer.d.ts +3 -0
- package/dist/components/Charts/BarChartRenderer.d.ts.map +1 -0
- package/dist/components/Charts/ChartTooltip/index.d.ts +6 -0
- package/dist/components/Charts/ChartTooltip/index.d.ts.map +1 -0
- package/dist/components/Charts/ChartTooltip/useChartTooltip.d.ts +14 -0
- package/dist/components/Charts/ChartTooltip/useChartTooltip.d.ts.map +1 -0
- package/dist/components/Charts/ChartWidget.d.ts +4 -0
- package/dist/components/Charts/ChartWidget.d.ts.map +1 -0
- package/dist/components/Charts/ChartWidget.types.d.ts +7 -0
- package/dist/components/Charts/ChartWidget.types.d.ts.map +1 -0
- package/dist/components/Charts/CurrentStatusChartWidget/AdditionalStats.d.ts +10 -0
- package/dist/components/Charts/CurrentStatusChartWidget/AdditionalStats.d.ts.map +1 -0
- package/dist/components/Charts/CurrentStatusChartWidget/constants.d.ts +9 -0
- package/dist/components/Charts/CurrentStatusChartWidget/constants.d.ts.map +1 -0
- package/dist/components/Charts/CurrentStatusChartWidget/index.d.ts +4 -0
- package/dist/components/Charts/CurrentStatusChartWidget/index.d.ts.map +1 -0
- package/dist/components/Charts/CurrentStatusChartWidget/parts.d.ts +11 -0
- package/dist/components/Charts/CurrentStatusChartWidget/parts.d.ts.map +1 -0
- package/dist/components/Charts/CurrentStatusChartWidget/types.d.ts +19 -0
- package/dist/components/Charts/CurrentStatusChartWidget/types.d.ts.map +1 -0
- package/dist/components/Charts/CurrentStatusChartWidget/utils.d.ts +25 -0
- package/dist/components/Charts/CurrentStatusChartWidget/utils.d.ts.map +1 -0
- package/dist/components/Charts/DurationDynamicsChartWidget/index.d.ts +4 -0
- package/dist/components/Charts/DurationDynamicsChartWidget/index.d.ts.map +1 -0
- package/dist/components/Charts/DurationDynamicsChartWidget/types.d.ts +8 -0
- package/dist/components/Charts/DurationDynamicsChartWidget/types.d.ts.map +1 -0
- package/dist/components/Charts/DurationsChartWidget/index.d.ts +4 -0
- package/dist/components/Charts/DurationsChartWidget/index.d.ts.map +1 -0
- package/dist/components/Charts/DurationsChartWidget/types.d.ts +8 -0
- package/dist/components/Charts/DurationsChartWidget/types.d.ts.map +1 -0
- package/dist/components/Charts/EmptyDataStub/EmptyDataStub.d.ts +10 -0
- package/dist/components/Charts/EmptyDataStub/EmptyDataStub.d.ts.map +1 -0
- package/dist/components/Charts/EmptyDataStub/index.d.ts +2 -0
- package/dist/components/Charts/EmptyDataStub/index.d.ts.map +1 -0
- package/dist/components/Charts/FunnelChartRenderer.d.ts +3 -0
- package/dist/components/Charts/FunnelChartRenderer.d.ts.map +1 -0
- package/dist/components/Charts/HeatMap/HeatMap.d.ts +4 -0
- package/dist/components/Charts/HeatMap/HeatMap.d.ts.map +1 -0
- package/dist/components/Charts/HeatMap/Tooltip.d.ts +3 -0
- package/dist/components/Charts/HeatMap/Tooltip.d.ts.map +1 -0
- package/dist/components/Charts/HeatMap/config.d.ts +21 -0
- package/dist/components/Charts/HeatMap/config.d.ts.map +1 -0
- package/dist/components/Charts/HeatMap/index.d.ts +4 -0
- package/dist/components/Charts/HeatMap/index.d.ts.map +1 -0
- package/dist/components/Charts/HeatMap/types.d.ts +15 -0
- package/dist/components/Charts/HeatMap/types.d.ts.map +1 -0
- package/dist/components/Charts/HeatMapChartRenderer.d.ts +3 -0
- package/dist/components/Charts/HeatMapChartRenderer.d.ts.map +1 -0
- package/dist/components/Charts/HeatMapWidget/HeatMapWidget.d.ts +4 -0
- package/dist/components/Charts/HeatMapWidget/HeatMapWidget.d.ts.map +1 -0
- package/dist/components/Charts/HeatMapWidget/index.d.ts +3 -0
- package/dist/components/Charts/HeatMapWidget/index.d.ts.map +1 -0
- package/dist/components/Charts/HeatMapWidget/types.d.ts +6 -0
- package/dist/components/Charts/HeatMapWidget/types.d.ts.map +1 -0
- package/dist/components/Charts/Legend/LegendIndicator/index.d.ts +6 -0
- package/dist/components/Charts/Legend/LegendIndicator/index.d.ts.map +1 -0
- package/dist/components/Charts/Legend/LegendItem/index.d.ts +5 -0
- package/dist/components/Charts/Legend/LegendItem/index.d.ts.map +1 -0
- package/dist/components/Charts/Legend/LegendItem/types.d.ts +17 -0
- package/dist/components/Charts/Legend/LegendItem/types.d.ts.map +1 -0
- package/dist/components/Charts/Legend/index.d.ts +6 -0
- package/dist/components/Charts/Legend/index.d.ts.map +1 -0
- package/dist/components/Charts/PieChartRenderer.d.ts +3 -0
- package/dist/components/Charts/PieChartRenderer.d.ts.map +1 -0
- package/dist/components/Charts/StabilityDistributionWidget/index.d.ts +4 -0
- package/dist/components/Charts/StabilityDistributionWidget/index.d.ts.map +1 -0
- package/dist/components/Charts/StabilityDistributionWidget/types.d.ts +8 -0
- package/dist/components/Charts/StabilityDistributionWidget/types.d.ts.map +1 -0
- package/dist/components/Charts/StatusAgePyramidChartWidget/index.d.ts +4 -0
- package/dist/components/Charts/StatusAgePyramidChartWidget/index.d.ts.map +1 -0
- package/dist/components/Charts/StatusAgePyramidChartWidget/types.d.ts +11 -0
- package/dist/components/Charts/StatusAgePyramidChartWidget/types.d.ts.map +1 -0
- package/dist/components/Charts/StatusDynamicsChartWidget/index.d.ts +4 -0
- package/dist/components/Charts/StatusDynamicsChartWidget/index.d.ts.map +1 -0
- package/dist/components/Charts/StatusDynamicsChartWidget/types.d.ts +18 -0
- package/dist/components/Charts/StatusDynamicsChartWidget/types.d.ts.map +1 -0
- package/dist/components/Charts/StatusTransitionsChartWidget/index.d.ts +4 -0
- package/dist/components/Charts/StatusTransitionsChartWidget/index.d.ts.map +1 -0
- package/dist/components/Charts/StatusTransitionsChartWidget/types.d.ts +10 -0
- package/dist/components/Charts/StatusTransitionsChartWidget/types.d.ts.map +1 -0
- package/dist/components/Charts/SuccessRatePieChart/index.d.ts +9 -0
- package/dist/components/Charts/SuccessRatePieChart/index.d.ts.map +1 -0
- package/dist/components/Charts/SuccessRatePieChart/successRate.d.ts +6 -0
- package/dist/components/Charts/SuccessRatePieChart/successRate.d.ts.map +1 -0
- package/dist/components/Charts/TestBaseGrowthDynamicsChartWidget/index.d.ts +4 -0
- package/dist/components/Charts/TestBaseGrowthDynamicsChartWidget/index.d.ts.map +1 -0
- package/dist/components/Charts/TestBaseGrowthDynamicsChartWidget/types.d.ts +10 -0
- package/dist/components/Charts/TestBaseGrowthDynamicsChartWidget/types.d.ts.map +1 -0
- package/dist/components/Charts/TestingPyramidWidget/index.d.ts +19 -0
- package/dist/components/Charts/TestingPyramidWidget/index.d.ts.map +1 -0
- package/dist/components/Charts/TrSeveritiesChartWidget/index.d.ts +4 -0
- package/dist/components/Charts/TrSeveritiesChartWidget/index.d.ts.map +1 -0
- package/dist/components/Charts/TrSeveritiesChartWidget/types.d.ts +9 -0
- package/dist/components/Charts/TrSeveritiesChartWidget/types.d.ts.map +1 -0
- package/dist/components/Charts/TreeMapChart/Node.d.ts +3 -0
- package/dist/components/Charts/TreeMapChart/Node.d.ts.map +1 -0
- package/dist/components/Charts/TreeMapChart/TreeMapChart.d.ts +6 -0
- package/dist/components/Charts/TreeMapChart/TreeMapChart.d.ts.map +1 -0
- package/dist/components/Charts/TreeMapChart/TreeMapLegend/TreeMapLegend.d.ts +4 -0
- package/dist/components/Charts/TreeMapChart/TreeMapLegend/TreeMapLegend.d.ts.map +1 -0
- package/dist/components/Charts/TreeMapChart/TreeMapLegend/index.d.ts +3 -0
- package/dist/components/Charts/TreeMapChart/TreeMapLegend/index.d.ts.map +1 -0
- package/dist/components/Charts/TreeMapChart/TreeMapLegend/types.d.ts +8 -0
- package/dist/components/Charts/TreeMapChart/TreeMapLegend/types.d.ts.map +1 -0
- package/dist/components/Charts/TreeMapChart/TreeMapTooltip/TreeMapTooltip.d.ts +10 -0
- package/dist/components/Charts/TreeMapChart/TreeMapTooltip/TreeMapTooltip.d.ts.map +1 -0
- package/dist/components/Charts/TreeMapChart/config.d.ts +4 -0
- package/dist/components/Charts/TreeMapChart/config.d.ts.map +1 -0
- package/dist/components/Charts/TreeMapChart/index.d.ts +4 -0
- package/dist/components/Charts/TreeMapChart/index.d.ts.map +1 -0
- package/dist/components/Charts/TreeMapChart/types.d.ts +27 -0
- package/dist/components/Charts/TreeMapChart/types.d.ts.map +1 -0
- package/dist/components/Charts/TreeMapChart/utils.d.ts +5 -0
- package/dist/components/Charts/TreeMapChart/utils.d.ts.map +1 -0
- package/dist/components/Charts/TreeMapChartRenderer.d.ts +3 -0
- package/dist/components/Charts/TreeMapChartRenderer.d.ts.map +1 -0
- package/dist/components/Charts/TreeMapChartWidget/TreeMapChartWidget.d.ts +9 -0
- package/dist/components/Charts/TreeMapChartWidget/TreeMapChartWidget.d.ts.map +1 -0
- package/dist/components/Charts/TreeMapChartWidget/hooks.d.ts +4 -0
- package/dist/components/Charts/TreeMapChartWidget/hooks.d.ts.map +1 -0
- package/dist/components/Charts/TreeMapChartWidget/index.d.ts +4 -0
- package/dist/components/Charts/TreeMapChartWidget/index.d.ts.map +1 -0
- package/dist/components/Charts/TreeMapChartWidget/types.d.ts +11 -0
- package/dist/components/Charts/TreeMapChartWidget/types.d.ts.map +1 -0
- package/dist/components/Charts/TrendChart/TrendChart.d.ts +4 -0
- package/dist/components/Charts/TrendChart/TrendChart.d.ts.map +1 -0
- package/dist/components/Charts/TrendChart/config.d.ts +13 -0
- package/dist/components/Charts/TrendChart/config.d.ts.map +1 -0
- package/dist/components/Charts/TrendChart/constants.d.ts +2 -0
- package/dist/components/Charts/TrendChart/constants.d.ts.map +1 -0
- package/dist/components/Charts/TrendChart/index.d.ts +5 -0
- package/dist/components/Charts/TrendChart/index.d.ts.map +1 -0
- package/dist/components/Charts/TrendChart/theme.d.ts +32 -0
- package/dist/components/Charts/TrendChart/theme.d.ts.map +1 -0
- package/dist/components/Charts/TrendChart/types.d.ts +53 -0
- package/dist/components/Charts/TrendChart/types.d.ts.map +1 -0
- package/dist/components/Charts/TrendChart/utils.d.ts +7 -0
- package/dist/components/Charts/TrendChart/utils.d.ts.map +1 -0
- package/dist/components/Charts/TrendChartWidget/index.d.ts +26 -0
- package/dist/components/Charts/TrendChartWidget/index.d.ts.map +1 -0
- package/dist/components/Charts/config.d.ts +12 -0
- package/dist/components/Charts/config.d.ts.map +1 -0
- package/dist/components/Charts/hooks/useTooltip.d.ts +9 -0
- package/dist/components/Charts/hooks/useTooltip.d.ts.map +1 -0
- package/dist/components/Charts/utils.d.ts +12 -0
- package/dist/components/Charts/utils.d.ts.map +1 -0
- package/dist/components/Counter/index.d.ts +10 -0
- package/dist/components/Counter/index.d.ts.map +1 -0
- package/dist/components/DimensionsProvider/index.d.ts +8 -0
- package/dist/components/DimensionsProvider/index.d.ts.map +1 -0
- package/dist/components/EmptyView/index.d.ts +16 -0
- package/dist/components/EmptyView/index.d.ts.map +1 -0
- package/dist/components/Grid/Grid.d.ts +28 -0
- package/dist/components/Grid/Grid.d.ts.map +1 -0
- package/dist/components/Grid/components/GridItem/GridItem.d.ts +21 -0
- package/dist/components/Grid/components/GridItem/GridItem.d.ts.map +1 -0
- package/dist/components/Grid/components/GridItem/components/DragHandle/DragHandle.d.ts +6 -0
- package/dist/components/Grid/components/GridItem/components/DragHandle/DragHandle.d.ts.map +1 -0
- package/dist/components/Grid/components/GridItem/components/DragHandle/components/DragHandleIcon.d.ts +6 -0
- package/dist/components/Grid/components/GridItem/components/DragHandle/components/DragHandleIcon.d.ts.map +1 -0
- package/dist/components/Grid/components/GridItem/components/DragHandle/components/index.d.ts +2 -0
- package/dist/components/Grid/components/GridItem/components/DragHandle/components/index.d.ts.map +1 -0
- package/dist/components/Grid/components/GridItem/components/DragHandle/index.d.ts +2 -0
- package/dist/components/Grid/components/GridItem/components/DragHandle/index.d.ts.map +1 -0
- package/dist/components/Grid/components/GridItem/components/index.d.ts +2 -0
- package/dist/components/Grid/components/GridItem/components/index.d.ts.map +1 -0
- package/dist/components/Grid/components/GridItem/index.d.ts +3 -0
- package/dist/components/Grid/components/GridItem/index.d.ts.map +1 -0
- package/dist/components/Grid/constants.d.ts +4 -0
- package/dist/components/Grid/constants.d.ts.map +1 -0
- package/dist/components/Grid/hooks/index.d.ts +2 -0
- package/dist/components/Grid/hooks/index.d.ts.map +1 -0
- package/dist/components/Grid/hooks/useSortable.d.ts +10 -0
- package/dist/components/Grid/hooks/useSortable.d.ts.map +1 -0
- package/dist/components/Grid/index.d.ts +5 -0
- package/dist/components/Grid/index.d.ts.map +1 -0
- package/dist/components/IconLabel/index.d.ts +10 -0
- package/dist/components/IconLabel/index.d.ts.map +1 -0
- package/dist/components/ImageDiff/index.d.ts +9 -0
- package/dist/components/ImageDiff/index.d.ts.map +1 -0
- package/dist/components/ImageDiff/src/DiffModeSelector.d.ts +2 -0
- package/dist/components/ImageDiff/src/DiffModeSelector.d.ts.map +1 -0
- package/dist/components/ImageDiff/src/DiffModeView.d.ts +2 -0
- package/dist/components/ImageDiff/src/DiffModeView.d.ts.map +1 -0
- package/dist/components/ImageDiff/src/Image.d.ts +3 -0
- package/dist/components/ImageDiff/src/Image.d.ts.map +1 -0
- package/dist/components/ImageDiff/src/Wrapper.d.ts +11 -0
- package/dist/components/ImageDiff/src/Wrapper.d.ts.map +1 -0
- package/dist/components/ImageDiff/src/hooks.d.ts +37 -0
- package/dist/components/ImageDiff/src/hooks.d.ts.map +1 -0
- package/dist/components/ImageDiff/src/i18n.d.ts +9 -0
- package/dist/components/ImageDiff/src/i18n.d.ts.map +1 -0
- package/dist/components/ImageDiff/src/model.d.ts +20 -0
- package/dist/components/ImageDiff/src/model.d.ts.map +1 -0
- package/dist/components/ImageDiff/src/utils.d.ts +7 -0
- package/dist/components/ImageDiff/src/utils.d.ts.map +1 -0
- package/dist/components/Label/index.d.ts +3 -0
- package/dist/components/Label/index.d.ts.map +1 -0
- package/dist/components/LanguagePicker/index.d.ts +8 -0
- package/dist/components/LanguagePicker/index.d.ts.map +1 -0
- package/dist/components/LazyComponent/index.d.ts +12 -0
- package/dist/components/LazyComponent/index.d.ts.map +1 -0
- package/dist/components/Link/index.d.ts +9 -0
- package/dist/components/Link/index.d.ts.map +1 -0
- package/dist/components/LinkifiedText/index.d.ts +6 -0
- package/dist/components/LinkifiedText/index.d.ts.map +1 -0
- package/dist/components/Loadable/index.d.ts +16 -0
- package/dist/components/Loadable/index.d.ts.map +1 -0
- package/dist/components/Menu/index.d.ts +49 -0
- package/dist/components/Menu/index.d.ts.map +1 -0
- package/dist/components/MiddleEllipsis/index.d.ts +27 -0
- package/dist/components/MiddleEllipsis/index.d.ts.map +1 -0
- package/dist/components/Modal/Gallery.d.ts +5 -0
- package/dist/components/Modal/Gallery.d.ts.map +1 -0
- package/dist/components/Modal/Thumb.d.ts +10 -0
- package/dist/components/Modal/Thumb.d.ts.map +1 -0
- package/dist/components/Modal/index.d.ts +25 -0
- package/dist/components/Modal/index.d.ts.map +1 -0
- package/dist/components/OverviewLink/index.d.ts +16 -0
- package/dist/components/OverviewLink/index.d.ts.map +1 -0
- package/dist/components/PageLoader/index.d.ts +2 -0
- package/dist/components/PageLoader/index.d.ts.map +1 -0
- package/dist/components/ReportLogo/index.d.ts +5 -0
- package/dist/components/ReportLogo/index.d.ts.map +1 -0
- package/dist/components/ReportLogoFull/index.d.ts +4 -0
- package/dist/components/ReportLogoFull/index.d.ts.map +1 -0
- package/dist/components/ReportSummaryCard/components/MetadataItem/index.d.ts +16 -0
- package/dist/components/ReportSummaryCard/components/MetadataItem/index.d.ts.map +1 -0
- package/dist/components/ReportSummaryCard/index.d.ts +8 -0
- package/dist/components/ReportSummaryCard/index.d.ts.map +1 -0
- package/dist/components/ReportSummaryCard/model.d.ts +22 -0
- package/dist/components/ReportSummaryCard/model.d.ts.map +1 -0
- package/dist/components/SearchBox/index.d.ts +13 -0
- package/dist/components/SearchBox/index.d.ts.map +1 -0
- package/dist/components/Spinner/index.d.ts +5 -0
- package/dist/components/Spinner/index.d.ts.map +1 -0
- package/dist/components/StatusLabel/index.d.ts +8 -0
- package/dist/components/StatusLabel/index.d.ts.map +1 -0
- package/dist/components/SvgIcon/index.d.ts +124 -0
- package/dist/components/SvgIcon/index.d.ts.map +1 -0
- package/dist/components/Tabs/index.d.ts +27 -0
- package/dist/components/Tabs/index.d.ts.map +1 -0
- package/dist/components/Tag/index.d.ts +10 -0
- package/dist/components/Tag/index.d.ts.map +1 -0
- package/dist/components/ThemeButton/index.d.ts +7 -0
- package/dist/components/ThemeButton/index.d.ts.map +1 -0
- package/dist/components/ThemeProvider/index.d.ts +7 -0
- package/dist/components/ThemeProvider/index.d.ts.map +1 -0
- package/dist/components/Timeline/DurationRange.d.ts +30 -0
- package/dist/components/Timeline/DurationRange.d.ts.map +1 -0
- package/dist/components/Timeline/GroupTooltip.d.ts +9 -0
- package/dist/components/Timeline/GroupTooltip.d.ts.map +1 -0
- package/dist/components/Timeline/ResponsiveWrapper/context.d.ts +6 -0
- package/dist/components/Timeline/ResponsiveWrapper/context.d.ts.map +1 -0
- package/dist/components/Timeline/ResponsiveWrapper/index.d.ts +7 -0
- package/dist/components/Timeline/ResponsiveWrapper/index.d.ts.map +1 -0
- package/dist/components/Timeline/SegmentTooltip.d.ts +7 -0
- package/dist/components/Timeline/SegmentTooltip.d.ts.map +1 -0
- package/dist/components/Timeline/TimeOverview.d.ts +21 -0
- package/dist/components/Timeline/TimeOverview.d.ts.map +1 -0
- package/dist/components/Timeline/Timeline.d.ts +23 -0
- package/dist/components/Timeline/Timeline.d.ts.map +1 -0
- package/dist/components/Timeline/hooks/useDurationRange.d.ts +7 -0
- package/dist/components/Timeline/hooks/useDurationRange.d.ts.map +1 -0
- package/dist/components/Timeline/index.d.ts +2 -0
- package/dist/components/Timeline/index.d.ts.map +1 -0
- package/dist/components/Timeline/types.d.ts +35 -0
- package/dist/components/Timeline/types.d.ts.map +1 -0
- package/dist/components/Timeline/utils.d.ts +27 -0
- package/dist/components/Timeline/utils.d.ts.map +1 -0
- package/dist/components/Toggle/index.d.ts +10 -0
- package/dist/components/Toggle/index.d.ts.map +1 -0
- package/dist/components/Tooltip/index.d.ts +36 -0
- package/dist/components/Tooltip/index.d.ts.map +1 -0
- package/dist/components/Tree/Tree.d.ts +27 -0
- package/dist/components/Tree/Tree.d.ts.map +1 -0
- package/dist/components/Tree/TreeHeader.d.ts +18 -0
- package/dist/components/Tree/TreeHeader.d.ts.map +1 -0
- package/dist/components/Tree/TreeItem.d.ts +25 -0
- package/dist/components/Tree/TreeItem.d.ts.map +1 -0
- package/dist/components/Tree/TreeItemIcon.d.ts +10 -0
- package/dist/components/Tree/TreeItemIcon.d.ts.map +1 -0
- package/dist/components/Tree/TreeItemInfo/index.d.ts +14 -0
- package/dist/components/Tree/TreeItemInfo/index.d.ts.map +1 -0
- package/dist/components/Tree/TreeItemInfo/utils.d.ts +3 -0
- package/dist/components/Tree/TreeItemInfo/utils.d.ts.map +1 -0
- package/dist/components/Tree/TreeItemRetries/index.d.ts +5 -0
- package/dist/components/Tree/TreeItemRetries/index.d.ts.map +1 -0
- package/dist/components/Tree/TreeSection.d.ts +12 -0
- package/dist/components/Tree/TreeSection.d.ts.map +1 -0
- package/dist/components/Tree/TreeStatusBar.d.ts +14 -0
- package/dist/components/Tree/TreeStatusBar.d.ts.map +1 -0
- package/dist/components/Tree/index.d.ts +7 -0
- package/dist/components/Tree/index.d.ts.map +1 -0
- package/dist/components/Typography/index.d.ts +37 -0
- package/dist/components/Typography/index.d.ts.map +1 -0
- package/dist/components/Widget/index.d.ts +9 -0
- package/dist/components/Widget/index.d.ts.map +1 -0
- package/dist/config-CgDglkkw.js +2 -0
- package/dist/config-CgDglkkw.js.map +1 -0
- package/dist/constants-D-YBPtws.js +2 -0
- package/dist/constants-D-YBPtws.js.map +1 -0
- package/dist/core.d.ts +577 -0
- package/dist/core.d.ts.map +1 -0
- package/dist/core.js +2 -0
- package/dist/core.js.map +1 -0
- package/dist/floating-ui.dom-B9YqEzUD.js +2 -0
- package/dist/floating-ui.dom-B9YqEzUD.js.map +1 -0
- package/dist/hooks/useDebouncedCallback.d.ts +6 -0
- package/dist/hooks/useDebouncedCallback.d.ts.map +1 -0
- package/dist/hooks/useElementTruncation.d.ts +9 -0
- package/dist/hooks/useElementTruncation.d.ts.map +1 -0
- package/dist/identity-DBvQ9SaG.js +2 -0
- package/dist/identity-DBvQ9SaG.js.map +1 -0
- package/dist/index-B-4syZ2J.d.ts +25 -0
- package/dist/index-B9kLHMy9.d.ts +19 -0
- package/dist/index-BLcyRUFW.js +2 -0
- package/dist/index-BLcyRUFW.js.map +1 -0
- package/dist/index-BZ-V3udE.js +2 -0
- package/dist/index-BZ-V3udE.js.map +1 -0
- package/dist/index-BzcM2nAl.js +2 -0
- package/dist/index-BzcM2nAl.js.map +1 -0
- package/dist/index-CCQ13d2t.js +2 -0
- package/dist/index-CCQ13d2t.js.map +1 -0
- package/dist/index-CbwuBF9w.js +2 -0
- package/dist/index-CbwuBF9w.js.map +1 -0
- package/dist/index-Cf1z5wAO.js +2 -0
- package/dist/index-Cf1z5wAO.js.map +1 -0
- package/dist/index-D2c5viX_.js +2 -0
- package/dist/index-D2c5viX_.js.map +1 -0
- package/dist/index-DQIPuqU4.js +2 -0
- package/dist/index-DQIPuqU4.js.map +1 -0
- package/dist/index-DYL-tbfk.js +2 -0
- package/dist/index-DYL-tbfk.js.map +1 -0
- package/dist/index-Dq7O-bm8.js +2 -0
- package/dist/index-Dq7O-bm8.js.map +1 -0
- package/dist/index-QmAJXsgx.d.ts +50 -0
- package/dist/index-k2XcinIa.js +2 -0
- package/dist/index-k2XcinIa.js.map +1 -0
- package/dist/index-qMwNH4DY.js +2 -0
- package/dist/index-qMwNH4DY.js.map +1 -0
- package/dist/index-uBEpZNBn.js +2 -0
- package/dist/index-uBEpZNBn.js.map +1 -0
- package/dist/index.css +1 -1
- package/dist/index.d.ts +37 -819
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +1 -29
- package/dist/index.js.map +1 -1
- package/dist/index.module-Bdu_gwCw.js +2 -0
- package/dist/index.module-Bdu_gwCw.js.map +1 -0
- package/dist/line-CEBDCBhb.js +2 -0
- package/dist/line-CEBDCBhb.js.map +1 -0
- package/dist/linear-C7uKb8Tk.js +2 -0
- package/dist/linear-C7uKb8Tk.js.map +1 -0
- package/dist/nivo-annotations-OXtu3nXs.js +2 -0
- package/dist/nivo-annotations-OXtu3nXs.js.map +1 -0
- package/dist/nivo-axes-3Cy5TCy7.js +2 -0
- package/dist/nivo-axes-3Cy5TCy7.js.map +1 -0
- package/dist/nivo-colors-fVDn0-vW.js +3 -0
- package/dist/nivo-colors-fVDn0-vW.js.map +1 -0
- package/dist/nivo-legends-BIaWaGVX.js +2 -0
- package/dist/nivo-legends-BIaWaGVX.js.map +1 -0
- package/dist/omit-Cims_XVO.js +2 -0
- package/dist/omit-Cims_XVO.js.map +1 -0
- package/dist/prism-global-B3qB0vXd.js +18 -0
- package/dist/prism-global-B3qB0vXd.js.map +1 -0
- package/dist/successRate-De1K9gog.d.ts +3 -0
- package/dist/successRate-rrLYYsum.js +2 -0
- package/dist/successRate-rrLYYsum.js.map +1 -0
- package/dist/time-CyaymdXm.js +2 -0
- package/dist/time-CyaymdXm.js.map +1 -0
- package/dist/toNumber-Cpsf6DxM.js +2 -0
- package/dist/toNumber-Cpsf6DxM.js.map +1 -0
- package/dist/toString-Ccq3A8Sl.js +2 -0
- package/dist/toString-Ccq3A8Sl.js.map +1 -0
- package/dist/truncate-Bk-Lghrl.js +2 -0
- package/dist/truncate-Bk-Lghrl.js.map +1 -0
- package/dist/upperFirst-jXpCKAQr.js +2 -0
- package/dist/upperFirst-jXpCKAQr.js.map +1 -0
- package/dist/useTooltip-VGYCawp2.js +2 -0
- package/dist/useTooltip-VGYCawp2.js.map +1 -0
- package/dist/utcTime-ClVTKNFl.js +2 -0
- package/dist/utcTime-ClVTKNFl.js.map +1 -0
- package/dist/utils-DKmgmsaJ.js +6 -0
- package/dist/utils-DKmgmsaJ.js.map +1 -0
- package/dist/utils-DfVSL1lz.js +2 -0
- package/dist/utils-DfVSL1lz.js.map +1 -0
- package/package.json +159 -20
package/dist/index.js
CHANGED
|
@@ -1,30 +1,2 @@
|
|
|
1
|
-
import*as e from"react";import{useState as t,useEffect as n,useLayoutEffect as r,useRef as i,forwardRef as a,useCallback as o,useMemo as s,useContext as l,createContext as c,memo as u,Component as d,createElement as f,cloneElement as h,Fragment as p,isValidElement as g}from"react";import{options as m,Component as v,createElement as b,Fragment as y,toChildArray as _,render as w,cloneElement as x,createContext as k}from"preact";import{useRef as C,useState as A,useEffect as S,useCallback as E,useContext as M,useMemo as R,useLayoutEffect as T,useId as L}from"preact/hooks";import"node:crypto";import{useComputed as D,useSignal as O,batch as F,useSignalEffect as z}from"@preact/signals";import{For as P}from"@preact/signals/utils";import{unstable_batchedUpdates as N}from"react-dom";var j="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function I(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var B,W={exports:{}};var $,q=(B||(B=1,function(e){var t=function(e){var t=/(?:^|\s)lang(?:uage)?-([\w-]+)(?=\s|$)/i,n=0,r={},i={manual:e.Prism&&e.Prism.manual,disableWorkerMessageHandler:e.Prism&&e.Prism.disableWorkerMessageHandler,util:{encode:function e(t){return t instanceof a?new a(t.type,e(t.content),t.alias):Array.isArray(t)?t.map(e):t.replace(/&/g,"&").replace(/</g,"<").replace(/\u00a0/g," ")},type:function(e){return Object.prototype.toString.call(e).slice(8,-1)},objId:function(e){return e.__id||Object.defineProperty(e,"__id",{value:++n}),e.__id},clone:function e(t,n){var r,a;switch(n=n||{},i.util.type(t)){case"Object":if(a=i.util.objId(t),n[a])return n[a];for(var o in r={},n[a]=r,t)t.hasOwnProperty(o)&&(r[o]=e(t[o],n));return r;case"Array":return a=i.util.objId(t),n[a]?n[a]:(r=[],n[a]=r,t.forEach((function(t,i){r[i]=e(t,n)})),r);default:return t}},getLanguage:function(e){for(;e;){var n=t.exec(e.className);if(n)return n[1].toLowerCase();e=e.parentElement}return"none"},setLanguage:function(e,n){e.className=e.className.replace(RegExp(t,"gi"),""),e.classList.add("language-"+n)},currentScript:function(){if("undefined"==typeof document)return null;if(document.currentScript&&"SCRIPT"===document.currentScript.tagName)return document.currentScript;try{throw new Error}catch(r){var e=(/at [^(\r\n]*\((.*):[^:]+:[^:]+\)$/i.exec(r.stack)||[])[1];if(e){var t=document.getElementsByTagName("script");for(var n in t)if(t[n].src==e)return t[n]}return null}},isActive:function(e,t,n){for(var r="no-"+t;e;){var i=e.classList;if(i.contains(t))return!0;if(i.contains(r))return!1;e=e.parentElement}return!!n}},languages:{plain:r,plaintext:r,text:r,txt:r,extend:function(e,t){var n=i.util.clone(i.languages[e]);for(var r in t)n[r]=t[r];return n},insertBefore:function(e,t,n,r){var a=(r=r||i.languages)[e],o={};for(var s in a)if(a.hasOwnProperty(s)){if(s==t)for(var l in n)n.hasOwnProperty(l)&&(o[l]=n[l]);n.hasOwnProperty(s)||(o[s]=a[s])}var c=r[e];return r[e]=o,i.languages.DFS(i.languages,(function(t,n){n===c&&t!=e&&(this[t]=o)})),o},DFS:function e(t,n,r,a){a=a||{};var o=i.util.objId;for(var s in t)if(t.hasOwnProperty(s)){n.call(t,s,t[s],r||s);var l=t[s],c=i.util.type(l);"Object"!==c||a[o(l)]?"Array"!==c||a[o(l)]||(a[o(l)]=!0,e(l,n,s,a)):(a[o(l)]=!0,e(l,n,null,a))}}},plugins:{},highlightAll:function(e,t){i.highlightAllUnder(document,e,t)},highlightAllUnder:function(e,t,n){var r={callback:n,container:e,selector:'code[class*="language-"], [class*="language-"] code, code[class*="lang-"], [class*="lang-"] code'};i.hooks.run("before-highlightall",r),r.elements=Array.prototype.slice.apply(r.container.querySelectorAll(r.selector)),i.hooks.run("before-all-elements-highlight",r);for(var a,o=0;a=r.elements[o++];)i.highlightElement(a,!0===t,r.callback)},highlightElement:function(t,n,r){var a=i.util.getLanguage(t),o=i.languages[a];i.util.setLanguage(t,a);var s=t.parentElement;s&&"pre"===s.nodeName.toLowerCase()&&i.util.setLanguage(s,a);var l={element:t,language:a,grammar:o,code:t.textContent};function c(e){l.highlightedCode=e,i.hooks.run("before-insert",l),l.element.innerHTML=l.highlightedCode,i.hooks.run("after-highlight",l),i.hooks.run("complete",l),r&&r.call(l.element)}if(i.hooks.run("before-sanity-check",l),(s=l.element.parentElement)&&"pre"===s.nodeName.toLowerCase()&&!s.hasAttribute("tabindex")&&s.setAttribute("tabindex","0"),!l.code)return i.hooks.run("complete",l),void(r&&r.call(l.element));if(i.hooks.run("before-highlight",l),l.grammar)if(n&&e.Worker){var u=new Worker(i.filename);u.onmessage=function(e){c(e.data)},u.postMessage(JSON.stringify({language:l.language,code:l.code,immediateClose:!0}))}else c(i.highlight(l.code,l.grammar,l.language));else c(i.util.encode(l.code))},highlight:function(e,t,n){var r={code:e,grammar:t,language:n};if(i.hooks.run("before-tokenize",r),!r.grammar)throw new Error('The language "'+r.language+'" has no grammar.');return r.tokens=i.tokenize(r.code,r.grammar),i.hooks.run("after-tokenize",r),a.stringify(i.util.encode(r.tokens),r.language)},tokenize:function(e,t){var n=t.rest;if(n){for(var r in n)t[r]=n[r];delete t.rest}var i=new l;return c(i,i.head,e),s(e,i,t,i.head,0),function(e){for(var t=[],n=e.head.next;n!==e.tail;)t.push(n.value),n=n.next;return t}(i)},hooks:{all:{},add:function(e,t){var n=i.hooks.all;n[e]=n[e]||[],n[e].push(t)},run:function(e,t){var n=i.hooks.all[e];if(n&&n.length)for(var r,a=0;r=n[a++];)r(t)}},Token:a};function a(e,t,n,r){this.type=e,this.content=t,this.alias=n,this.length=0|(r||"").length}function o(e,t,n,r){e.lastIndex=t;var i=e.exec(n);if(i&&r&&i[1]){var a=i[1].length;i.index+=a,i[0]=i[0].slice(a)}return i}function s(e,t,n,r,l,d){for(var f in n)if(n.hasOwnProperty(f)&&n[f]){var h=n[f];h=Array.isArray(h)?h:[h];for(var p=0;p<h.length;++p){if(d&&d.cause==f+","+p)return;var g=h[p],m=g.inside,v=!!g.lookbehind,b=!!g.greedy,y=g.alias;if(b&&!g.pattern.global){var _=g.pattern.toString().match(/[imsuy]*$/)[0];g.pattern=RegExp(g.pattern.source,_+"g")}for(var w=g.pattern||g,x=r.next,k=l;x!==t.tail&&!(d&&k>=d.reach);k+=x.value.length,x=x.next){var C=x.value;if(t.length>e.length)return;if(!(C instanceof a)){var A,S=1;if(b){if(!(A=o(w,k,e,v))||A.index>=e.length)break;var E=A.index,M=A.index+A[0].length,R=k;for(R+=x.value.length;E>=R;)R+=(x=x.next).value.length;if(k=R-=x.value.length,x.value instanceof a)continue;for(var T=x;T!==t.tail&&(R<M||"string"==typeof T.value);T=T.next)S++,R+=T.value.length;S--,C=e.slice(k,R),A.index-=k}else if(!(A=o(w,0,C,v)))continue;E=A.index;var L=A[0],D=C.slice(0,E),O=C.slice(E+L.length),F=k+C.length;d&&F>d.reach&&(d.reach=F);var z=x.prev;if(D&&(z=c(t,z,D),k+=D.length),u(t,z,S),x=c(t,z,new a(f,m?i.tokenize(L,m):L,y,L)),O&&c(t,x,O),S>1){var P={cause:f+","+p,reach:F};s(e,t,n,x.prev,k,P),d&&P.reach>d.reach&&(d.reach=P.reach)}}}}}}function l(){var e={value:null,prev:null,next:null},t={value:null,prev:e,next:null};e.next=t,this.head=e,this.tail=t,this.length=0}function c(e,t,n){var r=t.next,i={value:n,prev:t,next:r};return t.next=i,r.prev=i,e.length++,i}function u(e,t,n){for(var r=t.next,i=0;i<n&&r!==e.tail;i++)r=r.next;t.next=r,r.prev=t,e.length-=i}if(e.Prism=i,a.stringify=function e(t,n){if("string"==typeof t)return t;if(Array.isArray(t)){var r="";return t.forEach((function(t){r+=e(t,n)})),r}var a={type:t.type,content:e(t.content,n),tag:"span",classes:["token",t.type],attributes:{},language:n},o=t.alias;o&&(Array.isArray(o)?Array.prototype.push.apply(a.classes,o):a.classes.push(o)),i.hooks.run("wrap",a);var s="";for(var l in a.attributes)s+=" "+l+'="'+(a.attributes[l]||"").replace(/"/g,""")+'"';return"<"+a.tag+' class="'+a.classes.join(" ")+'"'+s+">"+a.content+"</"+a.tag+">"},!e.document)return e.addEventListener?(i.disableWorkerMessageHandler||e.addEventListener("message",(function(t){var n=JSON.parse(t.data),r=n.language,a=n.code,o=n.immediateClose;e.postMessage(i.highlight(a,i.languages[r],r)),o&&e.close()}),!1),i):i;var d=i.util.currentScript();function f(){i.manual||i.highlightAll()}if(d&&(i.filename=d.src,d.hasAttribute("data-manual")&&(i.manual=!0)),!i.manual){var h=document.readyState;"loading"===h||"interactive"===h&&d&&d.defer?document.addEventListener("DOMContentLoaded",f):window.requestAnimationFrame?window.requestAnimationFrame(f):window.setTimeout(f,16)}return i}("undefined"!=typeof window?window:"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope?self:{});
|
|
2
|
-
/**
|
|
3
|
-
* Prism: Lightweight, robust, elegant syntax highlighting
|
|
4
|
-
*
|
|
5
|
-
* @license MIT <https://opensource.org/licenses/MIT>
|
|
6
|
-
* @author Lea Verou <https://lea.verou.me>
|
|
7
|
-
* @namespace
|
|
8
|
-
* @public
|
|
9
|
-
*/e.exports&&(e.exports=t),void 0!==j&&(j.Prism=t)}(W)),W.exports),H=I(q),U={exports:{}};var V=($||($=1,function(e){var t=function(e){var t=/(?:^|\s)lang(?:uage)?-([\w-]+)(?=\s|$)/i,n=0,r={},i={manual:e.Prism&&e.Prism.manual,disableWorkerMessageHandler:e.Prism&&e.Prism.disableWorkerMessageHandler,util:{encode:function e(t){return t instanceof a?new a(t.type,e(t.content),t.alias):Array.isArray(t)?t.map(e):t.replace(/&/g,"&").replace(/</g,"<").replace(/\u00a0/g," ")},type:function(e){return Object.prototype.toString.call(e).slice(8,-1)},objId:function(e){return e.__id||Object.defineProperty(e,"__id",{value:++n}),e.__id},clone:function e(t,n){var r,a;switch(n=n||{},i.util.type(t)){case"Object":if(a=i.util.objId(t),n[a])return n[a];for(var o in r={},n[a]=r,t)t.hasOwnProperty(o)&&(r[o]=e(t[o],n));return r;case"Array":return a=i.util.objId(t),n[a]?n[a]:(r=[],n[a]=r,t.forEach((function(t,i){r[i]=e(t,n)})),r);default:return t}},getLanguage:function(e){for(;e;){var n=t.exec(e.className);if(n)return n[1].toLowerCase();e=e.parentElement}return"none"},setLanguage:function(e,n){e.className=e.className.replace(RegExp(t,"gi"),""),e.classList.add("language-"+n)},currentScript:function(){if("undefined"==typeof document)return null;if(document.currentScript&&"SCRIPT"===document.currentScript.tagName)return document.currentScript;try{throw new Error}catch(r){var e=(/at [^(\r\n]*\((.*):[^:]+:[^:]+\)$/i.exec(r.stack)||[])[1];if(e){var t=document.getElementsByTagName("script");for(var n in t)if(t[n].src==e)return t[n]}return null}},isActive:function(e,t,n){for(var r="no-"+t;e;){var i=e.classList;if(i.contains(t))return!0;if(i.contains(r))return!1;e=e.parentElement}return!!n}},languages:{plain:r,plaintext:r,text:r,txt:r,extend:function(e,t){var n=i.util.clone(i.languages[e]);for(var r in t)n[r]=t[r];return n},insertBefore:function(e,t,n,r){var a=(r=r||i.languages)[e],o={};for(var s in a)if(a.hasOwnProperty(s)){if(s==t)for(var l in n)n.hasOwnProperty(l)&&(o[l]=n[l]);n.hasOwnProperty(s)||(o[s]=a[s])}var c=r[e];return r[e]=o,i.languages.DFS(i.languages,(function(t,n){n===c&&t!=e&&(this[t]=o)})),o},DFS:function e(t,n,r,a){a=a||{};var o=i.util.objId;for(var s in t)if(t.hasOwnProperty(s)){n.call(t,s,t[s],r||s);var l=t[s],c=i.util.type(l);"Object"!==c||a[o(l)]?"Array"!==c||a[o(l)]||(a[o(l)]=!0,e(l,n,s,a)):(a[o(l)]=!0,e(l,n,null,a))}}},plugins:{},highlightAll:function(e,t){i.highlightAllUnder(document,e,t)},highlightAllUnder:function(e,t,n){var r={callback:n,container:e,selector:'code[class*="language-"], [class*="language-"] code, code[class*="lang-"], [class*="lang-"] code'};i.hooks.run("before-highlightall",r),r.elements=Array.prototype.slice.apply(r.container.querySelectorAll(r.selector)),i.hooks.run("before-all-elements-highlight",r);for(var a,o=0;a=r.elements[o++];)i.highlightElement(a,!0===t,r.callback)},highlightElement:function(t,n,r){var a=i.util.getLanguage(t),o=i.languages[a];i.util.setLanguage(t,a);var s=t.parentElement;s&&"pre"===s.nodeName.toLowerCase()&&i.util.setLanguage(s,a);var l={element:t,language:a,grammar:o,code:t.textContent};function c(e){l.highlightedCode=e,i.hooks.run("before-insert",l),l.element.innerHTML=l.highlightedCode,i.hooks.run("after-highlight",l),i.hooks.run("complete",l),r&&r.call(l.element)}if(i.hooks.run("before-sanity-check",l),(s=l.element.parentElement)&&"pre"===s.nodeName.toLowerCase()&&!s.hasAttribute("tabindex")&&s.setAttribute("tabindex","0"),!l.code)return i.hooks.run("complete",l),void(r&&r.call(l.element));if(i.hooks.run("before-highlight",l),l.grammar)if(n&&e.Worker){var u=new Worker(i.filename);u.onmessage=function(e){c(e.data)},u.postMessage(JSON.stringify({language:l.language,code:l.code,immediateClose:!0}))}else c(i.highlight(l.code,l.grammar,l.language));else c(i.util.encode(l.code))},highlight:function(e,t,n){var r={code:e,grammar:t,language:n};if(i.hooks.run("before-tokenize",r),!r.grammar)throw new Error('The language "'+r.language+'" has no grammar.');return r.tokens=i.tokenize(r.code,r.grammar),i.hooks.run("after-tokenize",r),a.stringify(i.util.encode(r.tokens),r.language)},tokenize:function(e,t){var n=t.rest;if(n){for(var r in n)t[r]=n[r];delete t.rest}var i=new l;return c(i,i.head,e),s(e,i,t,i.head,0),function(e){for(var t=[],n=e.head.next;n!==e.tail;)t.push(n.value),n=n.next;return t}(i)},hooks:{all:{},add:function(e,t){var n=i.hooks.all;n[e]=n[e]||[],n[e].push(t)},run:function(e,t){var n=i.hooks.all[e];if(n&&n.length)for(var r,a=0;r=n[a++];)r(t)}},Token:a};function a(e,t,n,r){this.type=e,this.content=t,this.alias=n,this.length=0|(r||"").length}function o(e,t,n,r){e.lastIndex=t;var i=e.exec(n);if(i&&r&&i[1]){var a=i[1].length;i.index+=a,i[0]=i[0].slice(a)}return i}function s(e,t,n,r,l,d){for(var f in n)if(n.hasOwnProperty(f)&&n[f]){var h=n[f];h=Array.isArray(h)?h:[h];for(var p=0;p<h.length;++p){if(d&&d.cause==f+","+p)return;var g=h[p],m=g.inside,v=!!g.lookbehind,b=!!g.greedy,y=g.alias;if(b&&!g.pattern.global){var _=g.pattern.toString().match(/[imsuy]*$/)[0];g.pattern=RegExp(g.pattern.source,_+"g")}for(var w=g.pattern||g,x=r.next,k=l;x!==t.tail&&!(d&&k>=d.reach);k+=x.value.length,x=x.next){var C=x.value;if(t.length>e.length)return;if(!(C instanceof a)){var A,S=1;if(b){if(!(A=o(w,k,e,v))||A.index>=e.length)break;var E=A.index,M=A.index+A[0].length,R=k;for(R+=x.value.length;E>=R;)R+=(x=x.next).value.length;if(k=R-=x.value.length,x.value instanceof a)continue;for(var T=x;T!==t.tail&&(R<M||"string"==typeof T.value);T=T.next)S++,R+=T.value.length;S--,C=e.slice(k,R),A.index-=k}else if(!(A=o(w,0,C,v)))continue;E=A.index;var L=A[0],D=C.slice(0,E),O=C.slice(E+L.length),F=k+C.length;d&&F>d.reach&&(d.reach=F);var z=x.prev;if(D&&(z=c(t,z,D),k+=D.length),u(t,z,S),x=c(t,z,new a(f,m?i.tokenize(L,m):L,y,L)),O&&c(t,x,O),S>1){var P={cause:f+","+p,reach:F};s(e,t,n,x.prev,k,P),d&&P.reach>d.reach&&(d.reach=P.reach)}}}}}}function l(){var e={value:null,prev:null,next:null},t={value:null,prev:e,next:null};e.next=t,this.head=e,this.tail=t,this.length=0}function c(e,t,n){var r=t.next,i={value:n,prev:t,next:r};return t.next=i,r.prev=i,e.length++,i}function u(e,t,n){for(var r=t.next,i=0;i<n&&r!==e.tail;i++)r=r.next;t.next=r,r.prev=t,e.length-=i}if(e.Prism=i,a.stringify=function e(t,n){if("string"==typeof t)return t;if(Array.isArray(t)){var r="";return t.forEach((function(t){r+=e(t,n)})),r}var a={type:t.type,content:e(t.content,n),tag:"span",classes:["token",t.type],attributes:{},language:n},o=t.alias;o&&(Array.isArray(o)?Array.prototype.push.apply(a.classes,o):a.classes.push(o)),i.hooks.run("wrap",a);var s="";for(var l in a.attributes)s+=" "+l+'="'+(a.attributes[l]||"").replace(/"/g,""")+'"';return"<"+a.tag+' class="'+a.classes.join(" ")+'"'+s+">"+a.content+"</"+a.tag+">"},!e.document)return e.addEventListener?(i.disableWorkerMessageHandler||e.addEventListener("message",(function(t){var n=JSON.parse(t.data),r=n.language,a=n.code,o=n.immediateClose;e.postMessage(i.highlight(a,i.languages[r],r)),o&&e.close()}),!1),i):i;var d=i.util.currentScript();function f(){i.manual||i.highlightAll()}if(d&&(i.filename=d.src,d.hasAttribute("data-manual")&&(i.manual=!0)),!i.manual){var h=document.readyState;"loading"===h||"interactive"===h&&d&&d.defer?document.addEventListener("DOMContentLoaded",f):window.requestAnimationFrame?window.requestAnimationFrame(f):window.setTimeout(f,16)}return i}("undefined"!=typeof window?window:"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope?self:{});
|
|
10
|
-
/**
|
|
11
|
-
* Prism: Lightweight, robust, elegant syntax highlighting
|
|
12
|
-
*
|
|
13
|
-
* @license MIT <https://opensource.org/licenses/MIT>
|
|
14
|
-
* @author Lea Verou <https://lea.verou.me>
|
|
15
|
-
* @namespace
|
|
16
|
-
* @public
|
|
17
|
-
*/e.exports&&(e.exports=t),void 0!==j&&(j.Prism=t),t.languages.markup={comment:{pattern:/<!--(?:(?!<!--)[\s\S])*?-->/,greedy:!0},prolog:{pattern:/<\?[\s\S]+?\?>/,greedy:!0},doctype:{pattern:/<!DOCTYPE(?:[^>"'[\]]|"[^"]*"|'[^']*')+(?:\[(?:[^<"'\]]|"[^"]*"|'[^']*'|<(?!!--)|<!--(?:[^-]|-(?!->))*-->)*\]\s*)?>/i,greedy:!0,inside:{"internal-subset":{pattern:/(^[^\[]*\[)[\s\S]+(?=\]>$)/,lookbehind:!0,greedy:!0,inside:null},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},punctuation:/^<!|>$|[[\]]/,"doctype-tag":/^DOCTYPE/i,name:/[^\s<>'"]+/}},cdata:{pattern:/<!\[CDATA\[[\s\S]*?\]\]>/i,greedy:!0},tag:{pattern:/<\/?(?!\d)[^\s>\/=$<%]+(?:\s(?:\s*[^\s>\/=]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))|(?=[\s/>])))+)?\s*\/?>/,greedy:!0,inside:{tag:{pattern:/^<\/?[^\s>\/]+/,inside:{punctuation:/^<\/?/,namespace:/^[^\s>\/:]+:/}},"special-attr":[],"attr-value":{pattern:/=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+)/,inside:{punctuation:[{pattern:/^=/,alias:"attr-equals"},{pattern:/^(\s*)["']|["']$/,lookbehind:!0}]}},punctuation:/\/?>/,"attr-name":{pattern:/[^\s>\/]+/,inside:{namespace:/^[^\s>\/:]+:/}}}},entity:[{pattern:/&[\da-z]{1,8};/i,alias:"named-entity"},/&#x?[\da-f]{1,8};/i]},t.languages.markup.tag.inside["attr-value"].inside.entity=t.languages.markup.entity,t.languages.markup.doctype.inside["internal-subset"].inside=t.languages.markup,t.hooks.add("wrap",(function(e){"entity"===e.type&&(e.attributes.title=e.content.replace(/&/,"&"))})),Object.defineProperty(t.languages.markup.tag,"addInlined",{value:function(e,n){var r={};r["language-"+n]={pattern:/(^<!\[CDATA\[)[\s\S]+?(?=\]\]>$)/i,lookbehind:!0,inside:t.languages[n]},r.cdata=/^<!\[CDATA\[|\]\]>$/i;var i={"included-cdata":{pattern:/<!\[CDATA\[[\s\S]*?\]\]>/i,inside:r}};i["language-"+n]={pattern:/[\s\S]+/,inside:t.languages[n]};var a={};a[e]={pattern:RegExp(/(<__[^>]*>)(?:<!\[CDATA\[(?:[^\]]|\](?!\]>))*\]\]>|(?!<!\[CDATA\[)[\s\S])*?(?=<\/__>)/.source.replace(/__/g,(function(){return e})),"i"),lookbehind:!0,greedy:!0,inside:i},t.languages.insertBefore("markup","cdata",a)}}),Object.defineProperty(t.languages.markup.tag,"addAttribute",{value:function(e,n){t.languages.markup.tag.inside["special-attr"].push({pattern:RegExp(/(^|["'\s])/.source+"(?:"+e+")"+/\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))/.source,"i"),lookbehind:!0,inside:{"attr-name":/^[^\s=]+/,"attr-value":{pattern:/=[\s\S]+/,inside:{value:{pattern:/(^=\s*(["']|(?!["'])))\S[\s\S]*(?=\2$)/,lookbehind:!0,alias:[n,"language-"+n],inside:t.languages[n]},punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}}}})}}),t.languages.html=t.languages.markup,t.languages.mathml=t.languages.markup,t.languages.svg=t.languages.markup,t.languages.xml=t.languages.extend("markup",{}),t.languages.ssml=t.languages.xml,t.languages.atom=t.languages.xml,t.languages.rss=t.languages.xml,function(e){var t=/(?:"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n])*')/;e.languages.css={comment:/\/\*[\s\S]*?\*\//,atrule:{pattern:RegExp("@[\\w-](?:"+/[^;{\s"']|\s+(?!\s)/.source+"|"+t.source+")*?"+/(?:;|(?=\s*\{))/.source),inside:{rule:/^@[\w-]+/,"selector-function-argument":{pattern:/(\bselector\s*\(\s*(?![\s)]))(?:[^()\s]|\s+(?![\s)])|\((?:[^()]|\([^()]*\))*\))+(?=\s*\))/,lookbehind:!0,alias:"selector"},keyword:{pattern:/(^|[^\w-])(?:and|not|only|or)(?![\w-])/,lookbehind:!0}}},url:{pattern:RegExp("\\burl\\((?:"+t.source+"|"+/(?:[^\\\r\n()"']|\\[\s\S])*/.source+")\\)","i"),greedy:!0,inside:{function:/^url/i,punctuation:/^\(|\)$/,string:{pattern:RegExp("^"+t.source+"$"),alias:"url"}}},selector:{pattern:RegExp("(^|[{}\\s])[^{}\\s](?:[^{};\"'\\s]|\\s+(?![\\s{])|"+t.source+")*(?=\\s*\\{)"),lookbehind:!0},string:{pattern:t,greedy:!0},property:{pattern:/(^|[^-\w\xA0-\uFFFF])(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*(?=\s*:)/i,lookbehind:!0},important:/!important\b/i,function:{pattern:/(^|[^-a-z0-9])[-a-z0-9]+(?=\()/i,lookbehind:!0},punctuation:/[(){};:,]/},e.languages.css.atrule.inside.rest=e.languages.css;var n=e.languages.markup;n&&(n.tag.addInlined("style","css"),n.tag.addAttribute("style","css"))}(t),t.languages.clike={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},"class-name":{pattern:/(\b(?:class|extends|implements|instanceof|interface|new|trait)\s+|\bcatch\s+\()[\w.\\]+/i,lookbehind:!0,inside:{punctuation:/[.\\]/}},keyword:/\b(?:break|catch|continue|do|else|finally|for|function|if|in|instanceof|new|null|return|throw|try|while)\b/,boolean:/\b(?:false|true)\b/,function:/\b\w+(?=\()/,number:/\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,operator:/[<>]=?|[!=]=?=?|--?|\+\+?|&&?|\|\|?|[?*/~^%]/,punctuation:/[{}[\];(),.:]/},t.languages.javascript=t.languages.extend("clike",{"class-name":[t.languages.clike["class-name"],{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$A-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\.(?:constructor|prototype))/,lookbehind:!0}],keyword:[{pattern:/((?:^|\})\s*)catch\b/,lookbehind:!0},{pattern:/(^|[^.]|\.\.\.\s*)\b(?:as|assert(?=\s*\{)|async(?=\s*(?:function\b|\(|[$\w\xA0-\uFFFF]|$))|await|break|case|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally(?=\s*(?:\{|$))|for|from(?=\s*(?:['"]|$))|function|(?:get|set)(?=\s*(?:[#\[$\w\xA0-\uFFFF]|$))|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)\b/,lookbehind:!0}],function:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*(?:\.\s*(?:apply|bind|call)\s*)?\()/,number:{pattern:RegExp(/(^|[^\w$])/.source+"(?:"+/NaN|Infinity/.source+"|"+/0[bB][01]+(?:_[01]+)*n?/.source+"|"+/0[oO][0-7]+(?:_[0-7]+)*n?/.source+"|"+/0[xX][\dA-Fa-f]+(?:_[\dA-Fa-f]+)*n?/.source+"|"+/\d+(?:_\d+)*n/.source+"|"+/(?:\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\.\d+(?:_\d+)*)(?:[Ee][+-]?\d+(?:_\d+)*)?/.source+")"+/(?![\w$])/.source),lookbehind:!0},operator:/--|\+\+|\*\*=?|=>|&&=?|\|\|=?|[!=]==|<<=?|>>>?=?|[-+*/%&|^!=<>]=?|\.{3}|\?\?=?|\?\.?|[~:]/}),t.languages.javascript["class-name"][0].pattern=/(\b(?:class|extends|implements|instanceof|interface|new)\s+)[\w.\\]+/,t.languages.insertBefore("javascript","keyword",{regex:{pattern:RegExp(/((?:^|[^$\w\xA0-\uFFFF."'\])\s]|\b(?:return|yield))\s*)/.source+/\//.source+"(?:"+/(?:\[(?:[^\]\\\r\n]|\\.)*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}/.source+"|"+/(?:\[(?:[^[\]\\\r\n]|\\.|\[(?:[^[\]\\\r\n]|\\.|\[(?:[^[\]\\\r\n]|\\.)*\])*\])*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}v[dgimyus]{0,7}/.source+")"+/(?=(?:\s|\/\*(?:[^*]|\*(?!\/))*\*\/)*(?:$|[\r\n,.;:})\]]|\/\/))/.source),lookbehind:!0,greedy:!0,inside:{"regex-source":{pattern:/^(\/)[\s\S]+(?=\/[a-z]*$)/,lookbehind:!0,alias:"language-regex",inside:t.languages.regex},"regex-delimiter":/^\/|\/$/,"regex-flags":/^[a-z]+$/}},"function-variable":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*[=:]\s*(?:async\s*)?(?:\bfunction\b|(?:\((?:[^()]|\([^()]*\))*\)|(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/,alias:"function"},parameter:[{pattern:/(function(?:\s+(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)?\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\))/,lookbehind:!0,inside:t.languages.javascript},{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=>)/i,lookbehind:!0,inside:t.languages.javascript},{pattern:/(\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*=>)/,lookbehind:!0,inside:t.languages.javascript},{pattern:/((?:\b|\s|^)(?!(?:as|async|await|break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)(?![$\w\xA0-\uFFFF]))(?:(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*)\(\s*|\]\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*\{)/,lookbehind:!0,inside:t.languages.javascript}],constant:/\b[A-Z](?:[A-Z_]|\dx?)*\b/}),t.languages.insertBefore("javascript","string",{hashbang:{pattern:/^#!.*/,greedy:!0,alias:"comment"},"template-string":{pattern:/`(?:\\[\s\S]|\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}|(?!\$\{)[^\\`])*`/,greedy:!0,inside:{"template-punctuation":{pattern:/^`|`$/,alias:"string"},interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},rest:t.languages.javascript}},string:/[\s\S]+/}},"string-property":{pattern:/((?:^|[,{])[ \t]*)(["'])(?:\\(?:\r\n|[\s\S])|(?!\2)[^\\\r\n])*\2(?=\s*:)/m,lookbehind:!0,greedy:!0,alias:"property"}}),t.languages.insertBefore("javascript","operator",{"literal-property":{pattern:/((?:^|[,{])[ \t]*)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*:)/m,lookbehind:!0,alias:"property"}}),t.languages.markup&&(t.languages.markup.tag.addInlined("script","javascript"),t.languages.markup.tag.addAttribute(/on(?:abort|blur|change|click|composition(?:end|start|update)|dblclick|error|focus(?:in|out)?|key(?:down|up)|load|mouse(?:down|enter|leave|move|out|over|up)|reset|resize|scroll|select|slotchange|submit|unload|wheel)/.source,"javascript")),t.languages.js=t.languages.javascript,function(){if(void 0!==t&&"undefined"!=typeof document){Element.prototype.matches||(Element.prototype.matches=Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector);var e={js:"javascript",py:"python",rb:"ruby",ps1:"powershell",psm1:"powershell",sh:"bash",bat:"batch",h:"c",tex:"latex"},n="data-src-status",r="loading",i="loaded",a="pre[data-src]:not(["+n+'="'+i+'"]):not(['+n+'="'+r+'"])';t.hooks.add("before-highlightall",(function(e){e.selector+=", "+a})),t.hooks.add("before-sanity-check",(function(o){var s=o.element;if(s.matches(a)){o.code="",s.setAttribute(n,r);var l=s.appendChild(document.createElement("CODE"));l.textContent="Loading…";var c=s.getAttribute("data-src"),u=o.language;if("none"===u){var d=(/\.(\w+)$/.exec(c)||[,"none"])[1];u=e[d]||d}t.util.setLanguage(l,u),t.util.setLanguage(s,u);var f=t.plugins.autoloader;f&&f.loadLanguages(u),function(e,t,n){var r=new XMLHttpRequest;r.open("GET",e,!0),r.onreadystatechange=function(){4==r.readyState&&(r.status<400&&r.responseText?t(r.responseText):r.status>=400?n("✖ Error "+r.status+" while fetching file: "+r.statusText):n("✖ Error: File does not exist or is empty"))},r.send(null)}(c,(function(e){s.setAttribute(n,i);var r=function(e){var t=/^\s*(\d+)\s*(?:(,)\s*(?:(\d+)\s*)?)?$/.exec(e||"");if(t){var n=Number(t[1]),r=t[2],i=t[3];return r?i?[n,Number(i)]:[n,void 0]:[n,n]}}(s.getAttribute("data-range"));if(r){var a=e.split(/\r\n?|\n/g),o=r[0],c=null==r[1]?a.length:r[1];o<0&&(o+=a.length),o=Math.max(0,Math.min(o-1,a.length)),c<0&&(c+=a.length),c=Math.max(0,Math.min(c,a.length)),e=a.slice(o,c).join("\n"),s.hasAttribute("data-start")||s.setAttribute("data-start",String(o+1))}l.textContent=e,t.highlightElement(l)}),(function(e){s.setAttribute(n,"failed"),l.textContent=e}))}})),t.plugins.fileHighlight={highlight:function(e){for(var n,r=(e||document).querySelectorAll(a),i=0;n=r[i++];)t.highlightElement(n)}};var o=!1;t.fileHighlight=function(){o||(console.warn("Prism.fileHighlight is deprecated. Use `Prism.plugins.fileHighlight.highlight` instead."),o=!0),t.plugins.fileHighlight.highlight.apply(this,arguments)}}}()}(U)),U.exports),Y=I(V);Y.languages.clike={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},"class-name":{pattern:/(\b(?:class|extends|implements|instanceof|interface|new|trait)\s+|\bcatch\s+\()[\w.\\]+/i,lookbehind:!0,inside:{punctuation:/[.\\]/}},keyword:/\b(?:break|catch|continue|do|else|finally|for|function|if|in|instanceof|new|null|return|throw|try|while)\b/,boolean:/\b(?:false|true)\b/,function:/\b\w+(?=\()/,number:/\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,operator:/[<>]=?|[!=]=?=?|--?|\+\+?|&&?|\|\|?|[?*/~^%]/,punctuation:/[{}[\];(),.:]/},Y.languages.markup={comment:{pattern:/<!--(?:(?!<!--)[\s\S])*?-->/,greedy:!0},prolog:{pattern:/<\?[\s\S]+?\?>/,greedy:!0},doctype:{pattern:/<!DOCTYPE(?:[^>"'[\]]|"[^"]*"|'[^']*')+(?:\[(?:[^<"'\]]|"[^"]*"|'[^']*'|<(?!!--)|<!--(?:[^-]|-(?!->))*-->)*\]\s*)?>/i,greedy:!0,inside:{"internal-subset":{pattern:/(^[^\[]*\[)[\s\S]+(?=\]>$)/,lookbehind:!0,greedy:!0,inside:null},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},punctuation:/^<!|>$|[[\]]/,"doctype-tag":/^DOCTYPE/i,name:/[^\s<>'"]+/}},cdata:{pattern:/<!\[CDATA\[[\s\S]*?\]\]>/i,greedy:!0},tag:{pattern:/<\/?(?!\d)[^\s>\/=$<%]+(?:\s(?:\s*[^\s>\/=]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))|(?=[\s/>])))+)?\s*\/?>/,greedy:!0,inside:{tag:{pattern:/^<\/?[^\s>\/]+/,inside:{punctuation:/^<\/?/,namespace:/^[^\s>\/:]+:/}},"special-attr":[],"attr-value":{pattern:/=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+)/,inside:{punctuation:[{pattern:/^=/,alias:"attr-equals"},{pattern:/^(\s*)["']|["']$/,lookbehind:!0}]}},punctuation:/\/?>/,"attr-name":{pattern:/[^\s>\/]+/,inside:{namespace:/^[^\s>\/:]+:/}}}},entity:[{pattern:/&[\da-z]{1,8};/i,alias:"named-entity"},/&#x?[\da-f]{1,8};/i]},Y.languages.markup.tag.inside["attr-value"].inside.entity=Y.languages.markup.entity,Y.languages.markup.doctype.inside["internal-subset"].inside=Y.languages.markup,Y.hooks.add("wrap",(function(e){"entity"===e.type&&(e.attributes.title=e.content.replace(/&/,"&"))})),Object.defineProperty(Y.languages.markup.tag,"addInlined",{value:function(e,t){var n={};n["language-"+t]={pattern:/(^<!\[CDATA\[)[\s\S]+?(?=\]\]>$)/i,lookbehind:!0,inside:Y.languages[t]},n.cdata=/^<!\[CDATA\[|\]\]>$/i;var r={"included-cdata":{pattern:/<!\[CDATA\[[\s\S]*?\]\]>/i,inside:n}};r["language-"+t]={pattern:/[\s\S]+/,inside:Y.languages[t]};var i={};i[e]={pattern:RegExp(/(<__[^>]*>)(?:<!\[CDATA\[(?:[^\]]|\](?!\]>))*\]\]>|(?!<!\[CDATA\[)[\s\S])*?(?=<\/__>)/.source.replace(/__/g,(function(){return e})),"i"),lookbehind:!0,greedy:!0,inside:r},Y.languages.insertBefore("markup","cdata",i)}}),Object.defineProperty(Y.languages.markup.tag,"addAttribute",{value:function(e,t){Y.languages.markup.tag.inside["special-attr"].push({pattern:RegExp(/(^|["'\s])/.source+"(?:"+e+")"+/\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))/.source,"i"),lookbehind:!0,inside:{"attr-name":/^[^\s=]+/,"attr-value":{pattern:/=[\s\S]+/,inside:{value:{pattern:/(^=\s*(["']|(?!["'])))\S[\s\S]*(?=\2$)/,lookbehind:!0,alias:[t,"language-"+t],inside:Y.languages[t]},punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}}}})}}),Y.languages.html=Y.languages.markup,Y.languages.mathml=Y.languages.markup,Y.languages.svg=Y.languages.markup,Y.languages.xml=Y.languages.extend("markup",{}),Y.languages.ssml=Y.languages.xml,Y.languages.atom=Y.languages.xml,Y.languages.rss=Y.languages.xml,Y.languages.javascript=Y.languages.extend("clike",{"class-name":[Y.languages.clike["class-name"],{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$A-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\.(?:constructor|prototype))/,lookbehind:!0}],keyword:[{pattern:/((?:^|\})\s*)catch\b/,lookbehind:!0},{pattern:/(^|[^.]|\.\.\.\s*)\b(?:as|assert(?=\s*\{)|async(?=\s*(?:function\b|\(|[$\w\xA0-\uFFFF]|$))|await|break|case|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally(?=\s*(?:\{|$))|for|from(?=\s*(?:['"]|$))|function|(?:get|set)(?=\s*(?:[#\[$\w\xA0-\uFFFF]|$))|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)\b/,lookbehind:!0}],function:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*(?:\.\s*(?:apply|bind|call)\s*)?\()/,number:{pattern:RegExp(/(^|[^\w$])/.source+"(?:"+/NaN|Infinity/.source+"|"+/0[bB][01]+(?:_[01]+)*n?/.source+"|"+/0[oO][0-7]+(?:_[0-7]+)*n?/.source+"|"+/0[xX][\dA-Fa-f]+(?:_[\dA-Fa-f]+)*n?/.source+"|"+/\d+(?:_\d+)*n/.source+"|"+/(?:\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\.\d+(?:_\d+)*)(?:[Ee][+-]?\d+(?:_\d+)*)?/.source+")"+/(?![\w$])/.source),lookbehind:!0},operator:/--|\+\+|\*\*=?|=>|&&=?|\|\|=?|[!=]==|<<=?|>>>?=?|[-+*/%&|^!=<>]=?|\.{3}|\?\?=?|\?\.?|[~:]/}),Y.languages.javascript["class-name"][0].pattern=/(\b(?:class|extends|implements|instanceof|interface|new)\s+)[\w.\\]+/,Y.languages.insertBefore("javascript","keyword",{regex:{pattern:RegExp(/((?:^|[^$\w\xA0-\uFFFF."'\])\s]|\b(?:return|yield))\s*)/.source+/\//.source+"(?:"+/(?:\[(?:[^\]\\\r\n]|\\.)*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}/.source+"|"+/(?:\[(?:[^[\]\\\r\n]|\\.|\[(?:[^[\]\\\r\n]|\\.|\[(?:[^[\]\\\r\n]|\\.)*\])*\])*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}v[dgimyus]{0,7}/.source+")"+/(?=(?:\s|\/\*(?:[^*]|\*(?!\/))*\*\/)*(?:$|[\r\n,.;:})\]]|\/\/))/.source),lookbehind:!0,greedy:!0,inside:{"regex-source":{pattern:/^(\/)[\s\S]+(?=\/[a-z]*$)/,lookbehind:!0,alias:"language-regex",inside:Y.languages.regex},"regex-delimiter":/^\/|\/$/,"regex-flags":/^[a-z]+$/}},"function-variable":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*[=:]\s*(?:async\s*)?(?:\bfunction\b|(?:\((?:[^()]|\([^()]*\))*\)|(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/,alias:"function"},parameter:[{pattern:/(function(?:\s+(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)?\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\))/,lookbehind:!0,inside:Y.languages.javascript},{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=>)/i,lookbehind:!0,inside:Y.languages.javascript},{pattern:/(\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*=>)/,lookbehind:!0,inside:Y.languages.javascript},{pattern:/((?:\b|\s|^)(?!(?:as|async|await|break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)(?![$\w\xA0-\uFFFF]))(?:(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*)\(\s*|\]\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*\{)/,lookbehind:!0,inside:Y.languages.javascript}],constant:/\b[A-Z](?:[A-Z_]|\dx?)*\b/}),Y.languages.insertBefore("javascript","string",{hashbang:{pattern:/^#!.*/,greedy:!0,alias:"comment"},"template-string":{pattern:/`(?:\\[\s\S]|\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}|(?!\$\{)[^\\`])*`/,greedy:!0,inside:{"template-punctuation":{pattern:/^`|`$/,alias:"string"},interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},rest:Y.languages.javascript}},string:/[\s\S]+/}},"string-property":{pattern:/((?:^|[,{])[ \t]*)(["'])(?:\\(?:\r\n|[\s\S])|(?!\2)[^\\\r\n])*\2(?=\s*:)/m,lookbehind:!0,greedy:!0,alias:"property"}}),Y.languages.insertBefore("javascript","operator",{"literal-property":{pattern:/((?:^|[,{])[ \t]*)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*:)/m,lookbehind:!0,alias:"property"}}),Y.languages.markup&&(Y.languages.markup.tag.addInlined("script","javascript"),Y.languages.markup.tag.addAttribute(/on(?:abort|blur|change|click|composition(?:end|start|update)|dblclick|error|focus(?:in|out)?|key(?:down|up)|load|mouse(?:down|enter|leave|move|out|over|up)|reset|resize|scroll|select|slotchange|submit|unload|wheel)/.source,"javascript")),Y.languages.js=Y.languages.javascript,function(e){var t=/(?:"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n])*')/;e.languages.css={comment:/\/\*[\s\S]*?\*\//,atrule:{pattern:RegExp("@[\\w-](?:"+/[^;{\s"']|\s+(?!\s)/.source+"|"+t.source+")*?"+/(?:;|(?=\s*\{))/.source),inside:{rule:/^@[\w-]+/,"selector-function-argument":{pattern:/(\bselector\s*\(\s*(?![\s)]))(?:[^()\s]|\s+(?![\s)])|\((?:[^()]|\([^()]*\))*\))+(?=\s*\))/,lookbehind:!0,alias:"selector"},keyword:{pattern:/(^|[^\w-])(?:and|not|only|or)(?![\w-])/,lookbehind:!0}}},url:{pattern:RegExp("\\burl\\((?:"+t.source+"|"+/(?:[^\\\r\n()"']|\\[\s\S])*/.source+")\\)","i"),greedy:!0,inside:{function:/^url/i,punctuation:/^\(|\)$/,string:{pattern:RegExp("^"+t.source+"$"),alias:"url"}}},selector:{pattern:RegExp("(^|[{}\\s])[^{}\\s](?:[^{};\"'\\s]|\\s+(?![\\s{])|"+t.source+")*(?=\\s*\\{)"),lookbehind:!0},string:{pattern:t,greedy:!0},property:{pattern:/(^|[^-\w\xA0-\uFFFF])(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*(?=\s*:)/i,lookbehind:!0},important:/!important\b/i,function:{pattern:/(^|[^-a-z0-9])[-a-z0-9]+(?=\()/i,lookbehind:!0},punctuation:/[(){};:,]/},e.languages.css.atrule.inside.rest=e.languages.css;var n=e.languages.markup;n&&(n.tag.addInlined("style","css"),n.tag.addAttribute("style","css"))}(Y),function(e){var t=/(?:\\.|[^\\\n\r]|(?:\n|\r\n?)(?![\r\n]))/.source;function n(e){return e=e.replace(/<inner>/g,(function(){return t})),RegExp(/((?:^|[^\\])(?:\\{2})*)/.source+"(?:"+e+")")}var r=/(?:\\.|``(?:[^`\r\n]|`(?!`))+``|`[^`\r\n]+`|[^\\|\r\n`])+/.source,i=/\|?__(?:\|__)+\|?(?:(?:\n|\r\n?)|(?![\s\S]))/.source.replace(/__/g,(function(){return r})),a=/\|?[ \t]*:?-{3,}:?[ \t]*(?:\|[ \t]*:?-{3,}:?[ \t]*)+\|?(?:\n|\r\n?)/.source;e.languages.markdown=e.languages.extend("markup",{}),e.languages.insertBefore("markdown","prolog",{"front-matter-block":{pattern:/(^(?:\s*[\r\n])?)---(?!.)[\s\S]*?[\r\n]---(?!.)/,lookbehind:!0,greedy:!0,inside:{punctuation:/^---|---$/,"front-matter":{pattern:/\S+(?:\s+\S+)*/,alias:["yaml","language-yaml"],inside:e.languages.yaml}}},blockquote:{pattern:/^>(?:[\t ]*>)*/m,alias:"punctuation"},table:{pattern:RegExp("^"+i+a+"(?:"+i+")*","m"),inside:{"table-data-rows":{pattern:RegExp("^("+i+a+")(?:"+i+")*$"),lookbehind:!0,inside:{"table-data":{pattern:RegExp(r),inside:e.languages.markdown},punctuation:/\|/}},"table-line":{pattern:RegExp("^("+i+")"+a+"$"),lookbehind:!0,inside:{punctuation:/\||:?-{3,}:?/}},"table-header-row":{pattern:RegExp("^"+i+"$"),inside:{"table-header":{pattern:RegExp(r),alias:"important",inside:e.languages.markdown},punctuation:/\|/}}}},code:[{pattern:/((?:^|\n)[ \t]*\n|(?:^|\r\n?)[ \t]*\r\n?)(?: {4}|\t).+(?:(?:\n|\r\n?)(?: {4}|\t).+)*/,lookbehind:!0,alias:"keyword"},{pattern:/^```[\s\S]*?^```$/m,greedy:!0,inside:{"code-block":{pattern:/^(```.*(?:\n|\r\n?))[\s\S]+?(?=(?:\n|\r\n?)^```$)/m,lookbehind:!0},"code-language":{pattern:/^(```).+/,lookbehind:!0},punctuation:/```/}}],title:[{pattern:/\S.*(?:\n|\r\n?)(?:==+|--+)(?=[ \t]*$)/m,alias:"important",inside:{punctuation:/==+$|--+$/}},{pattern:/(^\s*)#.+/m,lookbehind:!0,alias:"important",inside:{punctuation:/^#+|#+$/}}],hr:{pattern:/(^\s*)([*-])(?:[\t ]*\2){2,}(?=\s*$)/m,lookbehind:!0,alias:"punctuation"},list:{pattern:/(^\s*)(?:[*+-]|\d+\.)(?=[\t ].)/m,lookbehind:!0,alias:"punctuation"},"url-reference":{pattern:/!?\[[^\]]+\]:[\t ]+(?:\S+|<(?:\\.|[^>\\])+>)(?:[\t ]+(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\)))?/,inside:{variable:{pattern:/^(!?\[)[^\]]+/,lookbehind:!0},string:/(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\))$/,punctuation:/^[\[\]!:]|[<>]/},alias:"url"},bold:{pattern:n(/\b__(?:(?!_)<inner>|_(?:(?!_)<inner>)+_)+__\b|\*\*(?:(?!\*)<inner>|\*(?:(?!\*)<inner>)+\*)+\*\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^..)[\s\S]+(?=..$)/,lookbehind:!0,inside:{}},punctuation:/\*\*|__/}},italic:{pattern:n(/\b_(?:(?!_)<inner>|__(?:(?!_)<inner>)+__)+_\b|\*(?:(?!\*)<inner>|\*\*(?:(?!\*)<inner>)+\*\*)+\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^.)[\s\S]+(?=.$)/,lookbehind:!0,inside:{}},punctuation:/[*_]/}},strike:{pattern:n(/(~~?)(?:(?!~)<inner>)+\2/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^~~?)[\s\S]+(?=\1$)/,lookbehind:!0,inside:{}},punctuation:/~~?/}},"code-snippet":{pattern:/(^|[^\\`])(?:``[^`\r\n]+(?:`[^`\r\n]+)*``(?!`)|`[^`\r\n]+`(?!`))/,lookbehind:!0,greedy:!0,alias:["code","keyword"]},url:{pattern:n(/!?\[(?:(?!\])<inner>)+\](?:\([^\s)]+(?:[\t ]+"(?:\\.|[^"\\])*")?\)|[ \t]?\[(?:(?!\])<inner>)+\])/.source),lookbehind:!0,greedy:!0,inside:{operator:/^!/,content:{pattern:/(^\[)[^\]]+(?=\])/,lookbehind:!0,inside:{}},variable:{pattern:/(^\][ \t]?\[)[^\]]+(?=\]$)/,lookbehind:!0},url:{pattern:/(^\]\()[^\s)]+/,lookbehind:!0},string:{pattern:/(^[ \t]+)"(?:\\.|[^"\\])*"(?=\)$)/,lookbehind:!0}}}}),["url","bold","italic","strike"].forEach((function(t){["url","bold","italic","strike","code-snippet"].forEach((function(n){t!==n&&(e.languages.markdown[t].inside.content.inside[n]=e.languages.markdown[n])}))})),e.hooks.add("after-tokenize",(function(e){"markdown"!==e.language&&"md"!==e.language||function e(t){if(t&&"string"!=typeof t)for(var n=0,r=t.length;n<r;n++){var i=t[n];if("code"===i.type){var a=i.content[1],o=i.content[3];if(a&&o&&"code-language"===a.type&&"code-block"===o.type&&"string"==typeof a.content){var s=a.content.replace(/\b#/g,"sharp").replace(/\b\+\+/g,"pp"),l="language-"+(s=(/[a-z][\w-]*/i.exec(s)||[""])[0].toLowerCase());o.alias?"string"==typeof o.alias?o.alias=[o.alias,l]:o.alias.push(l):o.alias=[l]}}else e(i.content)}}(e.tokens)})),e.hooks.add("wrap",(function(t){if("code-block"===t.type){for(var n="",r=0,i=t.classes.length;r<i;r++){var a=t.classes[r],c=/language-(.+)/.exec(a);if(c){n=c[1];break}}var u=e.languages[n];if(u)t.content=e.highlight(function(e){var t=e.replace(o,"");return t=t.replace(/&(\w{1,8}|#x?[\da-f]{1,8});/gi,(function(e,t){var n;if("#"===(t=t.toLowerCase())[0])return n="x"===t[1]?parseInt(t.slice(2),16):Number(t.slice(1)),l(n);var r=s[t];return r||e})),t}(t.content),u,n);else if(n&&"none"!==n&&e.plugins.autoloader){var d="md-"+(new Date).valueOf()+"-"+Math.floor(1e16*Math.random());t.attributes.id=d,e.plugins.autoloader.loadLanguages(n,(function(){var t=document.getElementById(d);t&&(t.innerHTML=e.highlight(t.textContent,e.languages[n],n))}))}}}));var o=RegExp(e.languages.markup.tag.pattern.source,"gi"),s={amp:"&",lt:"<",gt:">",quot:'"'},l=String.fromCodePoint||String.fromCharCode;e.languages.md=e.languages.markdown}(Y);var G;G||(G=1,function(e){e.languages.typescript=e.languages.extend("javascript",{"class-name":{pattern:/(\b(?:class|extends|implements|instanceof|interface|new|type)\s+)(?!keyof\b)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?:\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>)?/,lookbehind:!0,greedy:!0,inside:null},builtin:/\b(?:Array|Function|Promise|any|boolean|console|never|number|string|symbol|unknown)\b/}),e.languages.typescript.keyword.push(/\b(?:abstract|declare|is|keyof|readonly|require)\b/,/\b(?:asserts|infer|interface|module|namespace|type)\b(?=\s*(?:[{_$a-zA-Z\xA0-\uFFFF]|$))/,/\btype\b(?=\s*(?:[\{*]|$))/),delete e.languages.typescript.parameter,delete e.languages.typescript["literal-property"];var t=e.languages.extend("typescript",{});delete t["class-name"],e.languages.typescript["class-name"].inside=t,e.languages.insertBefore("typescript","function",{decorator:{pattern:/@[$\w\xA0-\uFFFF]+/,inside:{at:{pattern:/^@/,alias:"operator"},function:/^[\s\S]+/}},"generic-function":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>(?=\s*\()/,greedy:!0,inside:{function:/^#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*/,generic:{pattern:/<[\s\S]+/,alias:"class-name",inside:t}}}}),e.languages.ts=e.languages.typescript}(Y)),Y.languages.csv={value:/[^\r\n,"]+|"(?:[^"]|"")*"(?!")/,punctuation:/,/},Y.languages.json={property:{pattern:/(^|[^\\])"(?:\\.|[^\\"\r\n])*"(?=\s*:)/,lookbehind:!0,greedy:!0},string:{pattern:/(^|[^\\])"(?:\\.|[^\\"\r\n])*"(?!\s*:)/,lookbehind:!0,greedy:!0},comment:{pattern:/\/\/.*|\/\*[\s\S]*?(?:\*\/|$)/,greedy:!0},number:/-?\b\d+(?:\.\d+)?(?:e[+-]?\d+)?\b/i,punctuation:/[{}[\],]/,operator:/:/,boolean:/\b(?:false|true)\b/,null:{pattern:/\bnull\b/,alias:"keyword"}},Y.languages.webmanifest=Y.languages.json;var X;X||(X=1,function(e){var t=/\b(?:abstract|assert|boolean|break|byte|case|catch|char|class|const|continue|default|do|double|else|enum|exports|extends|final|finally|float|for|goto|if|implements|import|instanceof|int|interface|long|module|native|new|non-sealed|null|open|opens|package|permits|private|protected|provides|public|record(?!\s*[(){}[\]<>=%~.:,;?+\-*/&|^])|requires|return|sealed|short|static|strictfp|super|switch|synchronized|this|throw|throws|to|transient|transitive|try|uses|var|void|volatile|while|with|yield)\b/,n=/(?:[a-z]\w*\s*\.\s*)*(?:[A-Z]\w*\s*\.\s*)*/.source,r={pattern:RegExp(/(^|[^\w.])/.source+n+/[A-Z](?:[\d_A-Z]*[a-z]\w*)?\b/.source),lookbehind:!0,inside:{namespace:{pattern:/^[a-z]\w*(?:\s*\.\s*[a-z]\w*)*(?:\s*\.)?/,inside:{punctuation:/\./}},punctuation:/\./}};e.languages.java=e.languages.extend("clike",{string:{pattern:/(^|[^\\])"(?:\\.|[^"\\\r\n])*"/,lookbehind:!0,greedy:!0},"class-name":[r,{pattern:RegExp(/(^|[^\w.])/.source+n+/[A-Z]\w*(?=\s+\w+\s*[;,=()]|\s*(?:\[[\s,]*\]\s*)?::\s*new\b)/.source),lookbehind:!0,inside:r.inside},{pattern:RegExp(/(\b(?:class|enum|extends|implements|instanceof|interface|new|record|throws)\s+)/.source+n+/[A-Z]\w*\b/.source),lookbehind:!0,inside:r.inside}],keyword:t,function:[e.languages.clike.function,{pattern:/(::\s*)[a-z_]\w*/,lookbehind:!0}],number:/\b0b[01][01_]*L?\b|\b0x(?:\.[\da-f_p+-]+|[\da-f_]+(?:\.[\da-f_p+-]+)?)\b|(?:\b\d[\d_]*(?:\.[\d_]*)?|\B\.\d[\d_]*)(?:e[+-]?\d[\d_]*)?[dfl]?/i,operator:{pattern:/(^|[^.])(?:<<=?|>>>?=?|->|--|\+\+|&&|\|\||::|[?:~]|[-+*/%&|^!=<>]=?)/m,lookbehind:!0},constant:/\b[A-Z][A-Z_\d]+\b/}),e.languages.insertBefore("java","string",{"triple-quoted-string":{pattern:/"""[ \t]*[\r\n](?:(?:"|"")?(?:\\.|[^"\\]))*"""/,greedy:!0,alias:"string"},char:{pattern:/'(?:\\.|[^'\\\r\n]){1,6}'/,greedy:!0}}),e.languages.insertBefore("java","class-name",{annotation:{pattern:/(^|[^.])@\w+(?:\s*\.\s*\w+)*/,lookbehind:!0,alias:"punctuation"},generics:{pattern:/<(?:[\w\s,.?]|&(?!&)|<(?:[\w\s,.?]|&(?!&)|<(?:[\w\s,.?]|&(?!&)|<(?:[\w\s,.?]|&(?!&))*>)*>)*>)*>/,inside:{"class-name":r,keyword:t,punctuation:/[<>(),.:]/,operator:/[?&|]/}},import:[{pattern:RegExp(/(\bimport\s+)/.source+n+/(?:[A-Z]\w*|\*)(?=\s*;)/.source),lookbehind:!0,inside:{namespace:r.inside.namespace,punctuation:/\./,operator:/\*/,"class-name":/\w+/}},{pattern:RegExp(/(\bimport\s+static\s+)/.source+n+/(?:\w+|\*)(?=\s*;)/.source),lookbehind:!0,alias:"static",inside:{namespace:r.inside.namespace,static:/\b\w+$/,punctuation:/\./,operator:/\*/,"class-name":/\w+/}}],namespace:{pattern:RegExp(/(\b(?:exports|import(?:\s+static)?|module|open|opens|package|provides|requires|to|transitive|uses|with)\s+)(?!<keyword>)[a-z]\w*(?:\.[a-z]\w*)*\.?/.source.replace(/<keyword>/g,(function(){return t.source}))),lookbehind:!0,inside:{punctuation:/\./}}})}(Y));var J;J||(J=1,function(e){function t(e,t){return e.replace(/<<(\d+)>>/g,(function(e,n){return"(?:"+t[+n]+")"}))}function n(e,n,r){return RegExp(t(e,n),"")}function r(e,t){for(var n=0;n<t;n++)e=e.replace(/<<self>>/g,(function(){return"(?:"+e+")"}));return e.replace(/<<self>>/g,"[^\\s\\S]")}var i="bool byte char decimal double dynamic float int long object sbyte short string uint ulong ushort var void",a="class enum interface record struct",o="add alias and ascending async await by descending from(?=\\s*(?:\\w|$)) get global group into init(?=\\s*;) join let nameof not notnull on or orderby partial remove select set unmanaged value when where with(?=\\s*{)",s="abstract as base break case catch checked const continue default delegate do else event explicit extern finally fixed for foreach goto if implicit in internal is lock namespace new null operator out override params private protected public readonly ref return sealed sizeof stackalloc static switch this throw try typeof unchecked unsafe using virtual volatile while yield";function l(e){return"\\b(?:"+e.trim().replace(/ /g,"|")+")\\b"}var c=l(a),u=RegExp(l(i+" "+a+" "+o+" "+s)),d=l(a+" "+o+" "+s),f=l(i+" "+a+" "+s),h=r(/<(?:[^<>;=+\-*/%&|^]|<<self>>)*>/.source,2),p=r(/\((?:[^()]|<<self>>)*\)/.source,2),g=/@?\b[A-Za-z_]\w*\b/.source,m=t(/<<0>>(?:\s*<<1>>)?/.source,[g,h]),v=t(/(?!<<0>>)<<1>>(?:\s*\.\s*<<1>>)*/.source,[d,m]),b=/\[\s*(?:,\s*)*\]/.source,y=t(/<<0>>(?:\s*(?:\?\s*)?<<1>>)*(?:\s*\?)?/.source,[v,b]),_=t(/[^,()<>[\];=+\-*/%&|^]|<<0>>|<<1>>|<<2>>/.source,[h,p,b]),w=t(/\(<<0>>+(?:,<<0>>+)+\)/.source,[_]),x=t(/(?:<<0>>|<<1>>)(?:\s*(?:\?\s*)?<<2>>)*(?:\s*\?)?/.source,[w,v,b]),k={keyword:u,punctuation:/[<>()?,.:[\]]/},C=/'(?:[^\r\n'\\]|\\.|\\[Uux][\da-fA-F]{1,8})'/.source,A=/"(?:\\.|[^\\"\r\n])*"/.source,S=/@"(?:""|\\[\s\S]|[^\\"])*"(?!")/.source;e.languages.csharp=e.languages.extend("clike",{string:[{pattern:n(/(^|[^$\\])<<0>>/.source,[S]),lookbehind:!0,greedy:!0},{pattern:n(/(^|[^@$\\])<<0>>/.source,[A]),lookbehind:!0,greedy:!0}],"class-name":[{pattern:n(/(\busing\s+static\s+)<<0>>(?=\s*;)/.source,[v]),lookbehind:!0,inside:k},{pattern:n(/(\busing\s+<<0>>\s*=\s*)<<1>>(?=\s*;)/.source,[g,x]),lookbehind:!0,inside:k},{pattern:n(/(\busing\s+)<<0>>(?=\s*=)/.source,[g]),lookbehind:!0},{pattern:n(/(\b<<0>>\s+)<<1>>/.source,[c,m]),lookbehind:!0,inside:k},{pattern:n(/(\bcatch\s*\(\s*)<<0>>/.source,[v]),lookbehind:!0,inside:k},{pattern:n(/(\bwhere\s+)<<0>>/.source,[g]),lookbehind:!0},{pattern:n(/(\b(?:is(?:\s+not)?|as)\s+)<<0>>/.source,[y]),lookbehind:!0,inside:k},{pattern:n(/\b<<0>>(?=\s+(?!<<1>>|with\s*\{)<<2>>(?:\s*[=,;:{)\]]|\s+(?:in|when)\b))/.source,[x,f,g]),inside:k}],keyword:u,number:/(?:\b0(?:x[\da-f_]*[\da-f]|b[01_]*[01])|(?:\B\.\d+(?:_+\d+)*|\b\d+(?:_+\d+)*(?:\.\d+(?:_+\d+)*)?)(?:e[-+]?\d+(?:_+\d+)*)?)(?:[dflmu]|lu|ul)?\b/i,operator:/>>=?|<<=?|[-=]>|([-+&|])\1|~|\?\?=?|[-+*/%&|^!=<>]=?/,punctuation:/\?\.?|::|[{}[\];(),.:]/}),e.languages.insertBefore("csharp","number",{range:{pattern:/\.\./,alias:"operator"}}),e.languages.insertBefore("csharp","punctuation",{"named-parameter":{pattern:n(/([(,]\s*)<<0>>(?=\s*:)/.source,[g]),lookbehind:!0,alias:"punctuation"}}),e.languages.insertBefore("csharp","class-name",{namespace:{pattern:n(/(\b(?:namespace|using)\s+)<<0>>(?:\s*\.\s*<<0>>)*(?=\s*[;{])/.source,[g]),lookbehind:!0,inside:{punctuation:/\./}},"type-expression":{pattern:n(/(\b(?:default|sizeof|typeof)\s*\(\s*(?!\s))(?:[^()\s]|\s(?!\s)|<<0>>)*(?=\s*\))/.source,[p]),lookbehind:!0,alias:"class-name",inside:k},"return-type":{pattern:n(/<<0>>(?=\s+(?:<<1>>\s*(?:=>|[({]|\.\s*this\s*\[)|this\s*\[))/.source,[x,v]),inside:k,alias:"class-name"},"constructor-invocation":{pattern:n(/(\bnew\s+)<<0>>(?=\s*[[({])/.source,[x]),lookbehind:!0,inside:k,alias:"class-name"},"generic-method":{pattern:n(/<<0>>\s*<<1>>(?=\s*\()/.source,[g,h]),inside:{function:n(/^<<0>>/.source,[g]),generic:{pattern:RegExp(h),alias:"class-name",inside:k}}},"type-list":{pattern:n(/\b((?:<<0>>\s+<<1>>|record\s+<<1>>\s*<<5>>|where\s+<<2>>)\s*:\s*)(?:<<3>>|<<4>>|<<1>>\s*<<5>>|<<6>>)(?:\s*,\s*(?:<<3>>|<<4>>|<<6>>))*(?=\s*(?:where|[{;]|=>|$))/.source,[c,m,g,x,u.source,p,/\bnew\s*\(\s*\)/.source]),lookbehind:!0,inside:{"record-arguments":{pattern:n(/(^(?!new\s*\()<<0>>\s*)<<1>>/.source,[m,p]),lookbehind:!0,greedy:!0,inside:e.languages.csharp},keyword:u,"class-name":{pattern:RegExp(x),greedy:!0,inside:k},punctuation:/[,()]/}},preprocessor:{pattern:/(^[\t ]*)#.*/m,lookbehind:!0,alias:"property",inside:{directive:{pattern:/(#)\b(?:define|elif|else|endif|endregion|error|if|line|nullable|pragma|region|undef|warning)\b/,lookbehind:!0,alias:"keyword"}}}});var E=A+"|"+C,M=t(/\/(?![*/])|\/\/[^\r\n]*[\r\n]|\/\*(?:[^*]|\*(?!\/))*\*\/|<<0>>/.source,[E]),R=r(t(/[^"'/()]|<<0>>|\(<<self>>*\)/.source,[M]),2),T=/\b(?:assembly|event|field|method|module|param|property|return|type)\b/.source,L=t(/<<0>>(?:\s*\(<<1>>*\))?/.source,[v,R]);e.languages.insertBefore("csharp","class-name",{attribute:{pattern:n(/((?:^|[^\s\w>)?])\s*\[\s*)(?:<<0>>\s*:\s*)?<<1>>(?:\s*,\s*<<1>>)*(?=\s*\])/.source,[T,L]),lookbehind:!0,greedy:!0,inside:{target:{pattern:n(/^<<0>>(?=\s*:)/.source,[T]),alias:"keyword"},"attribute-arguments":{pattern:n(/\(<<0>>*\)/.source,[R]),inside:e.languages.csharp},"class-name":{pattern:RegExp(v),inside:{punctuation:/\./}},punctuation:/[:,]/}}});var D=/:[^}\r\n]+/.source,O=r(t(/[^"'/()]|<<0>>|\(<<self>>*\)/.source,[M]),2),F=t(/\{(?!\{)(?:(?![}:])<<0>>)*<<1>>?\}/.source,[O,D]),z=r(t(/[^"'/()]|\/(?!\*)|\/\*(?:[^*]|\*(?!\/))*\*\/|<<0>>|\(<<self>>*\)/.source,[E]),2),P=t(/\{(?!\{)(?:(?![}:])<<0>>)*<<1>>?\}/.source,[z,D]);function N(t,r){return{interpolation:{pattern:n(/((?:^|[^{])(?:\{\{)*)<<0>>/.source,[t]),lookbehind:!0,inside:{"format-string":{pattern:n(/(^\{(?:(?![}:])<<0>>)*)<<1>>(?=\}$)/.source,[r,D]),lookbehind:!0,inside:{punctuation:/^:/}},punctuation:/^\{|\}$/,expression:{pattern:/[\s\S]+/,alias:"language-csharp",inside:e.languages.csharp}}},string:/[\s\S]+/}}e.languages.insertBefore("csharp","string",{"interpolation-string":[{pattern:n(/(^|[^\\])(?:\$@|@\$)"(?:""|\\[\s\S]|\{\{|<<0>>|[^\\{"])*"/.source,[F]),lookbehind:!0,greedy:!0,inside:N(F,O)},{pattern:n(/(^|[^@\\])\$"(?:\\.|\{\{|<<0>>|[^\\"{])*"/.source,[P]),lookbehind:!0,greedy:!0,inside:N(P,z)}],char:{pattern:RegExp(C),greedy:!0}}),e.languages.dotnet=e.languages.cs=e.languages.csharp}(Y)),function(e){e.languages.kotlin=e.languages.extend("clike",{keyword:{pattern:/(^|[^.])\b(?:abstract|actual|annotation|as|break|by|catch|class|companion|const|constructor|continue|crossinline|data|do|dynamic|else|enum|expect|external|final|finally|for|fun|get|if|import|in|infix|init|inline|inner|interface|internal|is|lateinit|noinline|null|object|open|operator|out|override|package|private|protected|public|reified|return|sealed|set|super|suspend|tailrec|this|throw|to|try|typealias|val|var|vararg|when|where|while)\b/,lookbehind:!0},function:[{pattern:/(?:`[^\r\n`]+`|\b\w+)(?=\s*\()/,greedy:!0},{pattern:/(\.)(?:`[^\r\n`]+`|\w+)(?=\s*\{)/,lookbehind:!0,greedy:!0}],number:/\b(?:0[xX][\da-fA-F]+(?:_[\da-fA-F]+)*|0[bB][01]+(?:_[01]+)*|\d+(?:_\d+)*(?:\.\d+(?:_\d+)*)?(?:[eE][+-]?\d+(?:_\d+)*)?[fFL]?)\b/,operator:/\+[+=]?|-[-=>]?|==?=?|!(?:!|==?)?|[\/*%<>]=?|[?:]:?|\.\.|&&|\|\||\b(?:and|inv|or|shl|shr|ushr|xor)\b/}),delete e.languages.kotlin["class-name"];var t={"interpolation-punctuation":{pattern:/^\$\{?|\}$/,alias:"punctuation"},expression:{pattern:/[\s\S]+/,inside:e.languages.kotlin}};e.languages.insertBefore("kotlin","string",{"string-literal":[{pattern:/"""(?:[^$]|\$(?:(?!\{)|\{[^{}]*\}))*?"""/,alias:"multiline",inside:{interpolation:{pattern:/\$(?:[a-z_]\w*|\{[^{}]*\})/i,inside:t},string:/[\s\S]+/}},{pattern:/"(?:[^"\\\r\n$]|\\.|\$(?:(?!\{)|\{[^{}]*\}))*"/,alias:"singleline",inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$(?:[a-z_]\w*|\{[^{}]*\})/i,lookbehind:!0,inside:t},string:/[\s\S]+/}}],char:{pattern:/'(?:[^'\\\r\n]|\\(?:.|u[a-fA-F0-9]{0,4}))'/,greedy:!0}}),delete e.languages.kotlin.string,e.languages.insertBefore("kotlin","keyword",{annotation:{pattern:/\B@(?:\w+:)?(?:[A-Z]\w*|\[[^\]]+\])/,alias:"builtin"}}),e.languages.insertBefore("kotlin","function",{label:{pattern:/\b\w+@|@\w+\b/,alias:"symbol"}}),e.languages.kt=e.languages.kotlin,e.languages.kts=e.languages.kotlin}(Y);var Z;Z||(Z=1,Y.languages.python={comment:{pattern:/(^|[^\\])#.*/,lookbehind:!0,greedy:!0},"string-interpolation":{pattern:/(?:f|fr|rf)(?:("""|''')[\s\S]*?\1|("|')(?:\\.|(?!\2)[^\\\r\n])*\2)/i,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^{])(?:\{\{)*)\{(?!\{)(?:[^{}]|\{(?!\{)(?:[^{}]|\{(?!\{)(?:[^{}])+\})+\})+\}/,lookbehind:!0,inside:{"format-spec":{pattern:/(:)[^:(){}]+(?=\}$)/,lookbehind:!0},"conversion-option":{pattern://,alias:"punctuation"},rest:null}},string:/[\s\S]+/}},"triple-quoted-string":{pattern:/(?:[rub]|br|rb)?("""|''')[\s\S]*?\1/i,greedy:!0,alias:"string"},string:{pattern:/(?:[rub]|br|rb)?("|')(?:\\.|(?!\1)[^\\\r\n])*\1/i,greedy:!0},function:{pattern:/((?:^|\s)def[ \t]+)[a-zA-Z_]\w*(?=\s*\()/g,lookbehind:!0},"class-name":{pattern:/(\bclass\s+)\w+/i,lookbehind:!0},decorator:{pattern:/(^[\t ]*)@\w+(?:\.\w+)*/m,lookbehind:!0,alias:["annotation","punctuation"],inside:{punctuation:/\./}},keyword:/\b(?:_(?=\s*:)|and|as|assert|async|await|break|case|class|continue|def|del|elif|else|except|exec|finally|for|from|global|if|import|in|is|lambda|match|nonlocal|not|or|pass|print|raise|return|try|while|with|yield)\b/,builtin:/\b(?:__import__|abs|all|any|apply|ascii|basestring|bin|bool|buffer|bytearray|bytes|callable|chr|classmethod|cmp|coerce|compile|complex|delattr|dict|dir|divmod|enumerate|eval|execfile|file|filter|float|format|frozenset|getattr|globals|hasattr|hash|help|hex|id|input|int|intern|isinstance|issubclass|iter|len|list|locals|long|map|max|memoryview|min|next|object|oct|open|ord|pow|property|range|raw_input|reduce|reload|repr|reversed|round|set|setattr|slice|sorted|staticmethod|str|sum|super|tuple|type|unichr|unicode|vars|xrange|zip)\b/,boolean:/\b(?:False|None|True)\b/,number:/\b0(?:b(?:_?[01])+|o(?:_?[0-7])+|x(?:_?[a-f0-9])+)\b|(?:\b\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\B\.\d+(?:_\d+)*)(?:e[+-]?\d+(?:_\d+)*)?j?(?!\w)/i,operator:/[-+%=]=?|!=|:=|\*\*?=?|\/\/?=?|<[<=>]?|>[=>]?|[&|^~]/,punctuation:/[{}[\];(),.:]/},Y.languages.python["string-interpolation"].inside.interpolation.inside.rest=Y.languages.python,Y.languages.py=Y.languages.python);var K;K||(K=1,function(e){e.languages.ruby=e.languages.extend("clike",{comment:{pattern:/#.*|^=begin\s[\s\S]*?^=end/m,greedy:!0},"class-name":{pattern:/(\b(?:class|module)\s+|\bcatch\s+\()[\w.\\]+|\b[A-Z_]\w*(?=\s*\.\s*new\b)/,lookbehind:!0,inside:{punctuation:/[.\\]/}},keyword:/\b(?:BEGIN|END|alias|and|begin|break|case|class|def|define_method|defined|do|each|else|elsif|end|ensure|extend|for|if|in|include|module|new|next|nil|not|or|prepend|private|protected|public|raise|redo|require|rescue|retry|return|self|super|then|throw|undef|unless|until|when|while|yield)\b/,operator:/\.{2,3}|&\.|===|<?=>|[!=]?~|(?:&&|\|\||<<|>>|\*\*|[+\-*/%<>!^&|=])=?|[?:]/,punctuation:/[(){}[\].,;]/}),e.languages.insertBefore("ruby","operator",{"double-colon":{pattern:/::/,alias:"punctuation"}});var t={pattern:/((?:^|[^\\])(?:\\{2})*)#\{(?:[^{}]|\{[^{}]*\})*\}/,lookbehind:!0,inside:{content:{pattern:/^(#\{)[\s\S]+(?=\}$)/,lookbehind:!0,inside:e.languages.ruby},delimiter:{pattern:/^#\{|\}$/,alias:"punctuation"}}};delete e.languages.ruby.function;var n="(?:"+[/([^a-zA-Z0-9\s{(\[<=])(?:(?!\1)[^\\]|\\[\s\S])*\1/.source,/\((?:[^()\\]|\\[\s\S]|\((?:[^()\\]|\\[\s\S])*\))*\)/.source,/\{(?:[^{}\\]|\\[\s\S]|\{(?:[^{}\\]|\\[\s\S])*\})*\}/.source,/\[(?:[^\[\]\\]|\\[\s\S]|\[(?:[^\[\]\\]|\\[\s\S])*\])*\]/.source,/<(?:[^<>\\]|\\[\s\S]|<(?:[^<>\\]|\\[\s\S])*>)*>/.source].join("|")+")",r=/(?:"(?:\\.|[^"\\\r\n])*"|(?:\b[a-zA-Z_]\w*|[^\s\0-\x7F]+)[?!]?|\$.)/.source;e.languages.insertBefore("ruby","keyword",{"regex-literal":[{pattern:RegExp(/%r/.source+n+/[egimnosux]{0,6}/.source),greedy:!0,inside:{interpolation:t,regex:/[\s\S]+/}},{pattern:/(^|[^/])\/(?!\/)(?:\[[^\r\n\]]+\]|\\.|[^[/\\\r\n])+\/[egimnosux]{0,6}(?=\s*(?:$|[\r\n,.;})#]))/,lookbehind:!0,greedy:!0,inside:{interpolation:t,regex:/[\s\S]+/}}],variable:/[@$]+[a-zA-Z_]\w*(?:[?!]|\b)/,symbol:[{pattern:RegExp(/(^|[^:]):/.source+r),lookbehind:!0,greedy:!0},{pattern:RegExp(/([\r\n{(,][ \t]*)/.source+r+/(?=:(?!:))/.source),lookbehind:!0,greedy:!0}],"method-definition":{pattern:/(\bdef\s+)\w+(?:\s*\.\s*\w+)?/,lookbehind:!0,inside:{function:/\b\w+$/,keyword:/^self\b/,"class-name":/^\w+/,punctuation:/\./}}}),e.languages.insertBefore("ruby","string",{"string-literal":[{pattern:RegExp(/%[qQiIwWs]?/.source+n),greedy:!0,inside:{interpolation:t,string:/[\s\S]+/}},{pattern:/("|')(?:#\{[^}]+\}|#(?!\{)|\\(?:\r\n|[\s\S])|(?!\1)[^\\#\r\n])*\1/,greedy:!0,inside:{interpolation:t,string:/[\s\S]+/}},{pattern:/<<[-~]?([a-z_]\w*)[\r\n](?:.*[\r\n])*?[\t ]*\1/i,alias:"heredoc-string",greedy:!0,inside:{delimiter:{pattern:/^<<[-~]?[a-z_]\w*|\b[a-z_]\w*$/i,inside:{symbol:/\b\w+/,punctuation:/^<<[-~]?/}},interpolation:t,string:/[\s\S]+/}},{pattern:/<<[-~]?'([a-z_]\w*)'[\r\n](?:.*[\r\n])*?[\t ]*\1/i,alias:"heredoc-string",greedy:!0,inside:{delimiter:{pattern:/^<<[-~]?'[a-z_]\w*'|\b[a-z_]\w*$/i,inside:{symbol:/\b\w+/,punctuation:/^<<[-~]?'|'$/}},string:/[\s\S]+/}}],"command-literal":[{pattern:RegExp(/%x/.source+n),greedy:!0,inside:{interpolation:t,command:{pattern:/[\s\S]+/,alias:"string"}}},{pattern:/`(?:#\{[^}]+\}|#(?!\{)|\\(?:\r\n|[\s\S])|[^\\`#\r\n])*`/,greedy:!0,inside:{interpolation:t,command:{pattern:/[\s\S]+/,alias:"string"}}}]}),delete e.languages.ruby.string,e.languages.insertBefore("ruby","number",{builtin:/\b(?:Array|Bignum|Binding|Class|Continuation|Dir|Exception|FalseClass|File|Fixnum|Float|Hash|IO|Integer|MatchData|Method|Module|NilClass|Numeric|Object|Proc|Range|Regexp|Stat|String|Struct|Symbol|TMS|Thread|ThreadGroup|Time|TrueClass)\b/,constant:/\b[A-Z][A-Z0-9_]*(?:[?!]|\b)/}),e.languages.rb=e.languages.ruby}(Y)),function(e){var t=/(?:\r?\n|\r)[ \t]*\|.+\|(?:(?!\|).)*/.source;e.languages.gherkin={pystring:{pattern:/("""|''')[\s\S]+?\1/,alias:"string"},comment:{pattern:/(^[ \t]*)#.*/m,lookbehind:!0},tag:{pattern:/(^[ \t]*)@\S*/m,lookbehind:!0},feature:{pattern:/((?:^|\r?\n|\r)[ \t]*)(?:Ability|Ahoy matey!|Arwedd|Aspekt|Besigheid Behoefte|Business Need|Caracteristica|Característica|Egenskab|Egenskap|Eiginleiki|Feature|Fīča|Fitur|Fonctionnalité|Fonksyonalite|Funcionalidade|Funcionalitat|Functionalitate|Funcţionalitate|Funcționalitate|Functionaliteit|Fungsi|Funkcia|Funkcija|Funkcionalitāte|Funkcionalnost|Funkcja|Funksie|Funktionalität|Funktionalitéit|Funzionalità|Hwaet|Hwæt|Jellemző|Karakteristik|Lastnost|Mak|Mogucnost|laH|Mogućnost|Moznosti|Možnosti|OH HAI|Omadus|Ominaisuus|Osobina|Özellik|Potrzeba biznesowa|perbogh|poQbogh malja'|Požadavek|Požiadavka|Pretty much|Qap|Qu'meH 'ut|Savybė|Tính năng|Trajto|Vermoë|Vlastnosť|Właściwość|Značilnost|Δυνατότητα|Λειτουργία|Могућност|Мөмкинлек|Особина|Свойство|Үзенчәлеклелек|Функционал|Функционалност|Функция|Функціонал|תכונה|خاصية|خصوصیت|صلاحیت|کاروبار کی ضرورت|وِیژگی|रूप लेख|ਖਾਸੀਅਤ|ਨਕਸ਼ ਨੁਹਾਰ|ਮੁਹਾਂਦਰਾ|గుణము|ಹೆಚ್ಚಳ|ความต้องการทางธุรกิจ|ความสามารถ|โครงหลัก|기능|フィーチャ|功能|機能):(?:[^:\r\n]+(?:\r?\n|\r|$))*/,lookbehind:!0,inside:{important:{pattern:/(:)[^\r\n]+/,lookbehind:!0},keyword:/[^:\r\n]+:/}},scenario:{pattern:/(^[ \t]*)(?:Abstract Scenario|Abstrakt Scenario|Achtergrond|Aer|Ær|Agtergrond|All y'all|Antecedentes|Antecedents|Atburðarás|Atburðarásir|Awww, look mate|B4|Background|Baggrund|Bakgrund|Bakgrunn|Bakgrunnur|Beispiele|Beispiller|Bối cảnh|Cefndir|Cenario|Cenário|Cenario de Fundo|Cenário de Fundo|Cenarios|Cenários|Contesto|Context|Contexte|Contexto|Conto|Contoh|Contone|Dæmi|Dasar|Dead men tell no tales|Delineacao do Cenario|Delineação do Cenário|Dis is what went down|Dữ liệu|Dyagram Senaryo|Dyagram senaryo|Egzanp|Ejemplos|Eksempler|Ekzemploj|Enghreifftiau|Esbozo do escenario|Escenari|Escenario|Esempi|Esquema de l'escenari|Esquema del escenario|Esquema do Cenario|Esquema do Cenário|EXAMPLZ|Examples|Exempel|Exemple|Exemples|Exemplos|First off|Fono|Forgatókönyv|Forgatókönyv vázlat|Fundo|Geçmiş|Grundlage|Hannergrond|ghantoH|Háttér|Heave to|Istorik|Juhtumid|Keadaan|Khung kịch bản|Khung tình huống|Kịch bản|Koncept|Konsep skenario|Kontèks|Kontekst|Kontekstas|Konteksts|Kontext|Konturo de la scenaro|Latar Belakang|lut chovnatlh|lut|lutmey|Lýsing Atburðarásar|Lýsing Dæma|MISHUN SRSLY|MISHUN|Menggariskan Senario|mo'|Náčrt Scenára|Náčrt Scénáře|Náčrt Scenáru|Oris scenarija|Örnekler|Osnova|Osnova Scenára|Osnova scénáře|Osnutek|Ozadje|Paraugs|Pavyzdžiai|Példák|Piemēri|Plan du scénario|Plan du Scénario|Plan Senaryo|Plan senaryo|Plang vum Szenario|Pozadí|Pozadie|Pozadina|Príklady|Příklady|Primer|Primeri|Primjeri|Przykłady|Raamstsenaarium|Reckon it's like|Rerefons|Scenár|Scénář|Scenarie|Scenarij|Scenarijai|Scenarijaus šablonas|Scenariji|Scenārijs|Scenārijs pēc parauga|Scenarijus|Scenario|Scénario|Scenario Amlinellol|Scenario Outline|Scenario Template|Scenariomal|Scenariomall|Scenarios|Scenariu|Scenariusz|Scenaro|Schema dello scenario|Se ðe|Se the|Se þe|Senario|Senaryo Deskripsyon|Senaryo deskripsyon|Senaryo|Senaryo taslağı|Shiver me timbers|Situācija|Situai|Situasie Uiteensetting|Situasie|Skenario konsep|Skenario|Skica|Structura scenariu|Structură scenariu|Struktura scenarija|Stsenaarium|Swa hwaer swa|Swa|Swa hwær swa|Szablon scenariusza|Szenario|Szenariogrundriss|Tapaukset|Tapaus|Tapausaihio|Taust|Tausta|Template Keadaan|Template Senario|Template Situai|The thing of it is|Tình huống|Variantai|Voorbeelde|Voorbeelden|Wharrimean is|Yo-ho-ho|You'll wanna|Założenia|Παραδείγματα|Περιγραφή Σεναρίου|Σενάρια|Σενάριο|Υπόβαθρο|Кереш|Контекст|Концепт|Мисаллар|Мисоллар|Основа|Передумова|Позадина|Предистория|Предыстория|Приклади|Пример|Примери|Примеры|Рамка на сценарий|Скица|Структура сценарија|Структура сценария|Структура сценарію|Сценарий|Сценарий структураси|Сценарийның төзелеше|Сценарији|Сценарио|Сценарій|Тарих|Үрнәкләр|דוגמאות|רקע|תבנית תרחיש|תרחיש|الخلفية|الگوی سناریو|امثلة|پس منظر|زمینه|سناریو|سيناريو|سيناريو مخطط|مثالیں|منظر نامے کا خاکہ|منظرنامہ|نمونه ها|उदाहरण|परिदृश्य|परिदृश्य रूपरेखा|पृष्ठभूमि|ਉਦਾਹਰਨਾਂ|ਪਟਕਥਾ|ਪਟਕਥਾ ਢਾਂਚਾ|ਪਟਕਥਾ ਰੂਪ ਰੇਖਾ|ਪਿਛੋਕੜ|ఉదాహరణలు|కథనం|నేపథ్యం|సన్నివేశం|ಉದಾಹರಣೆಗಳು|ಕಥಾಸಾರಾಂಶ|ವಿವರಣೆ|ಹಿನ್ನೆಲೆ|โครงสร้างของเหตุการณ์|ชุดของตัวอย่าง|ชุดของเหตุการณ์|แนวคิด|สรุปเหตุการณ์|เหตุการณ์|배경|시나리오|시나리오 개요|예|サンプル|シナリオ|シナリオアウトライン|シナリオテンプレ|シナリオテンプレート|テンプレ|例|例子|剧本|剧本大纲|劇本|劇本大綱|场景|场景大纲|場景|場景大綱|背景):[^:\r\n]*/m,lookbehind:!0,inside:{important:{pattern:/(:)[^\r\n]*/,lookbehind:!0},keyword:/[^:\r\n]+:/}},"table-body":{pattern:RegExp("("+t+")(?:"+t+")+"),lookbehind:!0,inside:{outline:{pattern:/<[^>]+>/,alias:"variable"},td:{pattern:/\s*[^\s|][^|]*/,alias:"string"},punctuation:/\|/}},"table-head":{pattern:RegExp(t),inside:{th:{pattern:/\s*[^\s|][^|]*/,alias:"variable"},punctuation:/\|/}},atrule:{pattern:/(^[ \t]+)(?:'a|'ach|'ej|7|a|A také|A taktiež|A tiež|A zároveň|Aber|Ac|Adott|Akkor|Ak|Aleshores|Ale|Ali|Allora|Alors|Als|Ama|Amennyiben|Amikor|Ampak|an|AN|Ananging|And y'all|And|Angenommen|Anrhegedig a|An|Apabila|Atès|Atesa|Atunci|Avast!|Aye|A|awer|Bagi|Banjur|Bet|Biết|Blimey!|Buh|But at the end of the day I reckon|But y'all|But|BUT|Cal|Când|Cand|Cando|Ce|Cuando|Če|Ða ðe|Ða|Dadas|Dada|Dados|Dado|DaH ghu' bejlu'|dann|Dann|Dano|Dan|Dar|Dat fiind|Data|Date fiind|Date|Dati fiind|Dati|Daţi fiind|Dați fiind|DEN|Dato|De|Den youse gotta|Dengan|Diberi|Diyelim ki|Donada|Donat|Donitaĵo|Do|Dun|Duota|Ðurh|Eeldades|Ef|Eğer ki|Entao|Então|Entón|E|En|Entonces|Epi|És|Etant donnée|Etant donné|Et|Étant données|Étant donnée|Étant donné|Etant données|Etant donnés|Étant donnés|Fakat|Gangway!|Gdy|Gegeben seien|Gegeben sei|Gegeven|Gegewe|ghu' noblu'|Gitt|Given y'all|Given|Givet|Givun|Ha|Cho|I CAN HAZ|In|Ir|It's just unbelievable|I|Ja|Jeśli|Jeżeli|Kad|Kada|Kadar|Kai|Kaj|Když|Keď|Kemudian|Ketika|Khi|Kiedy|Ko|Kuid|Kui|Kun|Lan|latlh|Le sa a|Let go and haul|Le|Lè sa a|Lè|Logo|Lorsqu'<|Lorsque|mä|Maar|Mais|Mając|Ma|Majd|Maka|Manawa|Mas|Men|Menawa|Mutta|Nalika|Nalikaning|Nanging|Når|När|Nato|Nhưng|Niin|Njuk|O zaman|Och|Og|Oletetaan|Ond|Onda|Oraz|Pak|Pero|Però|Podano|Pokiaľ|Pokud|Potem|Potom|Privzeto|Pryd|Quan|Quand|Quando|qaSDI'|Så|Sed|Se|Siis|Sipoze ke|Sipoze Ke|Sipoze|Si|Şi|Și|Soit|Stel|Tada|Tad|Takrat|Tak|Tapi|Ter|Tetapi|Tha the|Tha|Then y'all|Then|Thì|Thurh|Toda|Too right|Un|Und|ugeholl|Và|vaj|Vendar|Ve|wann|Wanneer|WEN|Wenn|When y'all|When|Wtedy|Wun|Y'know|Yeah nah|Yna|Youse know like when|Youse know when youse got|Y|Za predpokladu|Za předpokladu|Zadan|Zadani|Zadano|Zadate|Zadato|Zakładając|Zaradi|Zatati|Þa þe|Þa|Þá|Þegar|Þurh|Αλλά|Δεδομένου|Και|Όταν|Τότε|А також|Агар|Але|Али|Аммо|А|Әгәр|Әйтик|Әмма|Бирок|Ва|Вә|Дадено|Дано|Допустим|Если|Задате|Задати|Задато|И|І|К тому же|Када|Кад|Когато|Когда|Коли|Ләкин|Лекин|Нәтиҗәдә|Нехай|Но|Онда|Припустимо, що|Припустимо|Пусть|Также|Та|Тогда|Тоді|То|Унда|Һәм|Якщо|אבל|אזי|אז|בהינתן|וגם|כאשר|آنگاه|اذاً|اگر|اما|اور|با فرض|بالفرض|بفرض|پھر|تب|ثم|جب|عندما|فرض کیا|لكن|لیکن|متى|هنگامی|و|अगर|और|कदा|किन्तु|चूंकि|जब|तथा|तदा|तब|परन्तु|पर|यदि|ਅਤੇ|ਜਦੋਂ|ਜਿਵੇਂ ਕਿ|ਜੇਕਰ|ਤਦ|ਪਰ|అప్పుడు|ఈ పరిస్థితిలో|కాని|చెప్పబడినది|మరియు|ಆದರೆ|ನಂತರ|ನೀಡಿದ|ಮತ್ತು|ಸ್ಥಿತಿಯನ್ನು|กำหนดให้|ดังนั้น|แต่|เมื่อ|และ|그러면<|그리고<|단<|만약<|만일<|먼저<|조건<|하지만<|かつ<|しかし<|ただし<|ならば<|もし<|並且<|但し<|但是<|假如<|假定<|假設<|假设<|前提<|同时<|同時<|并且<|当<|當<|而且<|那么<|那麼<)(?=[ \t])/m,lookbehind:!0},string:{pattern:/"(?:\\.|[^"\\\r\n])*"|'(?:\\.|[^'\\\r\n])*'/,inside:{outline:{pattern:/<[^>]+>/,alias:"variable"}}},outline:{pattern:/<[^>]+>/,alias:"variable"}}}(Y),Y.languages.go=Y.languages.extend("clike",{string:{pattern:/(^|[^\\])"(?:\\.|[^"\\\r\n])*"|`[^`]*`/,lookbehind:!0,greedy:!0},keyword:/\b(?:break|case|chan|const|continue|default|defer|else|fallthrough|for|func|go(?:to)?|if|import|interface|map|package|range|return|select|struct|switch|type|var)\b/,boolean:/\b(?:_|false|iota|nil|true)\b/,number:[/\b0(?:b[01_]+|o[0-7_]+)i?\b/i,/\b0x(?:[a-f\d_]+(?:\.[a-f\d_]*)?|\.[a-f\d_]+)(?:p[+-]?\d+(?:_\d+)*)?i?(?!\w)/i,/(?:\b\d[\d_]*(?:\.[\d_]*)?|\B\.\d[\d_]*)(?:e[+-]?[\d_]+)?i?(?!\w)/i],operator:/[*\/%^!=]=?|\+[=+]?|-[=-]?|\|[=|]?|&(?:=|&|\^=?)?|>(?:>=?|=)?|<(?:<=?|=|-)?|:=|\.\.\./,builtin:/\b(?:append|bool|byte|cap|close|complex|complex(?:64|128)|copy|delete|error|float(?:32|64)|u?int(?:8|16|32|64)?|imag|len|make|new|panic|print(?:ln)?|real|recover|rune|string|uintptr)\b/}),Y.languages.insertBefore("go","string",{char:{pattern:/'(?:\\.|[^'\\\r\n]){0,10}'/,greedy:!0}}),delete Y.languages.go["class-name"],function(e){function t(e,t){return"___"+e.toUpperCase()+t+"___"}Object.defineProperties(e.languages["markup-templating"]={},{buildPlaceholders:{value:function(n,r,i,a){if(n.language===r){var o=n.tokenStack=[];n.code=n.code.replace(i,(function(e){if("function"==typeof a&&!a(e))return e;for(var i,s=o.length;-1!==n.code.indexOf(i=t(r,s));)++s;return o[s]=e,i})),n.grammar=e.languages.markup}}},tokenizePlaceholders:{value:function(n,r){if(n.language===r&&n.tokenStack){n.grammar=e.languages[r];var i=0,a=Object.keys(n.tokenStack);!function o(s){for(var l=0;l<s.length&&!(i>=a.length);l++){var c=s[l];if("string"==typeof c||c.content&&"string"==typeof c.content){var u=a[i],d=n.tokenStack[u],f="string"==typeof c?c:c.content,h=t(r,u),p=f.indexOf(h);if(p>-1){++i;var g=f.substring(0,p),m=new e.Token(r,e.tokenize(d,n.grammar),"language-"+r,d),v=f.substring(p+h.length),b=[];g&&b.push.apply(b,o([g])),b.push(m),v&&b.push.apply(b,o([v])),"string"==typeof c?s.splice.apply(s,[l,1].concat(b)):c.content=b}}else c.content&&o(c.content)}return s}(n.tokens)}}}})}(Y);var Q;Q||(Q=1,function(e){var t=/\/\*[\s\S]*?\*\/|\/\/.*|#(?!\[).*/,n=[{pattern:/\b(?:false|true)\b/i,alias:"boolean"},{pattern:/(::\s*)\b[a-z_]\w*\b(?!\s*\()/i,greedy:!0,lookbehind:!0},{pattern:/(\b(?:case|const)\s+)\b[a-z_]\w*(?=\s*[;=])/i,greedy:!0,lookbehind:!0},/\b(?:null)\b/i,/\b[A-Z_][A-Z0-9_]*\b(?!\s*\()/],r=/\b0b[01]+(?:_[01]+)*\b|\b0o[0-7]+(?:_[0-7]+)*\b|\b0x[\da-f]+(?:_[\da-f]+)*\b|(?:\b\d+(?:_\d+)*\.?(?:\d+(?:_\d+)*)?|\B\.\d+)(?:e[+-]?\d+)?/i,i=/<?=>|\?\?=?|\.{3}|\??->|[!=]=?=?|::|\*\*=?|--|\+\+|&&|\|\||<<|>>|[?~]|[/^|%*&<>.+-]=?/,a=/[{}\[\](),:;]/;e.languages.php={delimiter:{pattern:/\?>$|^<\?(?:php(?=\s)|=)?/i,alias:"important"},comment:t,variable:/\$+(?:\w+\b|(?=\{))/,package:{pattern:/(namespace\s+|use\s+(?:function\s+)?)(?:\\?\b[a-z_]\w*)+\b(?!\\)/i,lookbehind:!0,inside:{punctuation:/\\/}},"class-name-definition":{pattern:/(\b(?:class|enum|interface|trait)\s+)\b[a-z_]\w*(?!\\)\b/i,lookbehind:!0,alias:"class-name"},"function-definition":{pattern:/(\bfunction\s+)[a-z_]\w*(?=\s*\()/i,lookbehind:!0,alias:"function"},keyword:[{pattern:/(\(\s*)\b(?:array|bool|boolean|float|int|integer|object|string)\b(?=\s*\))/i,alias:"type-casting",greedy:!0,lookbehind:!0},{pattern:/([(,?]\s*)\b(?:array(?!\s*\()|bool|callable|(?:false|null)(?=\s*\|)|float|int|iterable|mixed|object|self|static|string)\b(?=\s*\$)/i,alias:"type-hint",greedy:!0,lookbehind:!0},{pattern:/(\)\s*:\s*(?:\?\s*)?)\b(?:array(?!\s*\()|bool|callable|(?:false|null)(?=\s*\|)|float|int|iterable|mixed|never|object|self|static|string|void)\b/i,alias:"return-type",greedy:!0,lookbehind:!0},{pattern:/\b(?:array(?!\s*\()|bool|float|int|iterable|mixed|object|string|void)\b/i,alias:"type-declaration",greedy:!0},{pattern:/(\|\s*)(?:false|null)\b|\b(?:false|null)(?=\s*\|)/i,alias:"type-declaration",greedy:!0,lookbehind:!0},{pattern:/\b(?:parent|self|static)(?=\s*::)/i,alias:"static-context",greedy:!0},{pattern:/(\byield\s+)from\b/i,lookbehind:!0},/\bclass\b/i,{pattern:/((?:^|[^\s>:]|(?:^|[^-])>|(?:^|[^:]):)\s*)\b(?:abstract|and|array|as|break|callable|case|catch|clone|const|continue|declare|default|die|do|echo|else|elseif|empty|enddeclare|endfor|endforeach|endif|endswitch|endwhile|enum|eval|exit|extends|final|finally|fn|for|foreach|function|global|goto|if|implements|include|include_once|instanceof|insteadof|interface|isset|list|match|namespace|never|new|or|parent|print|private|protected|public|readonly|require|require_once|return|self|static|switch|throw|trait|try|unset|use|var|while|xor|yield|__halt_compiler)\b/i,lookbehind:!0}],"argument-name":{pattern:/([(,]\s*)\b[a-z_]\w*(?=\s*:(?!:))/i,lookbehind:!0},"class-name":[{pattern:/(\b(?:extends|implements|instanceof|new(?!\s+self|\s+static))\s+|\bcatch\s*\()\b[a-z_]\w*(?!\\)\b/i,greedy:!0,lookbehind:!0},{pattern:/(\|\s*)\b[a-z_]\w*(?!\\)\b/i,greedy:!0,lookbehind:!0},{pattern:/\b[a-z_]\w*(?!\\)\b(?=\s*\|)/i,greedy:!0},{pattern:/(\|\s*)(?:\\?\b[a-z_]\w*)+\b/i,alias:"class-name-fully-qualified",greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}},{pattern:/(?:\\?\b[a-z_]\w*)+\b(?=\s*\|)/i,alias:"class-name-fully-qualified",greedy:!0,inside:{punctuation:/\\/}},{pattern:/(\b(?:extends|implements|instanceof|new(?!\s+self\b|\s+static\b))\s+|\bcatch\s*\()(?:\\?\b[a-z_]\w*)+\b(?!\\)/i,alias:"class-name-fully-qualified",greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}},{pattern:/\b[a-z_]\w*(?=\s*\$)/i,alias:"type-declaration",greedy:!0},{pattern:/(?:\\?\b[a-z_]\w*)+(?=\s*\$)/i,alias:["class-name-fully-qualified","type-declaration"],greedy:!0,inside:{punctuation:/\\/}},{pattern:/\b[a-z_]\w*(?=\s*::)/i,alias:"static-context",greedy:!0},{pattern:/(?:\\?\b[a-z_]\w*)+(?=\s*::)/i,alias:["class-name-fully-qualified","static-context"],greedy:!0,inside:{punctuation:/\\/}},{pattern:/([(,?]\s*)[a-z_]\w*(?=\s*\$)/i,alias:"type-hint",greedy:!0,lookbehind:!0},{pattern:/([(,?]\s*)(?:\\?\b[a-z_]\w*)+(?=\s*\$)/i,alias:["class-name-fully-qualified","type-hint"],greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}},{pattern:/(\)\s*:\s*(?:\?\s*)?)\b[a-z_]\w*(?!\\)\b/i,alias:"return-type",greedy:!0,lookbehind:!0},{pattern:/(\)\s*:\s*(?:\?\s*)?)(?:\\?\b[a-z_]\w*)+\b(?!\\)/i,alias:["class-name-fully-qualified","return-type"],greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}}],constant:n,function:{pattern:/(^|[^\\\w])\\?[a-z_](?:[\w\\]*\w)?(?=\s*\()/i,lookbehind:!0,inside:{punctuation:/\\/}},property:{pattern:/(->\s*)\w+/,lookbehind:!0},number:r,operator:i,punctuation:a};var o={pattern:/\{\$(?:\{(?:\{[^{}]+\}|[^{}]+)\}|[^{}])+\}|(^|[^\\{])\$+(?:\w+(?:\[[^\r\n\[\]]+\]|->\w+)?)/,lookbehind:!0,inside:e.languages.php},s=[{pattern:/<<<'([^']+)'[\r\n](?:.*[\r\n])*?\1;/,alias:"nowdoc-string",greedy:!0,inside:{delimiter:{pattern:/^<<<'[^']+'|[a-z_]\w*;$/i,alias:"symbol",inside:{punctuation:/^<<<'?|[';]$/}}}},{pattern:/<<<(?:"([^"]+)"[\r\n](?:.*[\r\n])*?\1;|([a-z_]\w*)[\r\n](?:.*[\r\n])*?\2;)/i,alias:"heredoc-string",greedy:!0,inside:{delimiter:{pattern:/^<<<(?:"[^"]+"|[a-z_]\w*)|[a-z_]\w*;$/i,alias:"symbol",inside:{punctuation:/^<<<"?|[";]$/}},interpolation:o}},{pattern:/`(?:\\[\s\S]|[^\\`])*`/,alias:"backtick-quoted-string",greedy:!0},{pattern:/'(?:\\[\s\S]|[^\\'])*'/,alias:"single-quoted-string",greedy:!0},{pattern:/"(?:\\[\s\S]|[^\\"])*"/,alias:"double-quoted-string",greedy:!0,inside:{interpolation:o}}];e.languages.insertBefore("php","variable",{string:s,attribute:{pattern:/#\[(?:[^"'\/#]|\/(?![*/])|\/\/.*$|#(?!\[).*$|\/\*(?:[^*]|\*(?!\/))*\*\/|"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*')+\](?=\s*[a-z$#])/im,greedy:!0,inside:{"attribute-content":{pattern:/^(#\[)[\s\S]+(?=\]$)/,lookbehind:!0,inside:{comment:t,string:s,"attribute-class-name":[{pattern:/([^:]|^)\b[a-z_]\w*(?!\\)\b/i,alias:"class-name",greedy:!0,lookbehind:!0},{pattern:/([^:]|^)(?:\\?\b[a-z_]\w*)+/i,alias:["class-name","class-name-fully-qualified"],greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}}],constant:n,number:r,operator:i,punctuation:a}},delimiter:{pattern:/^#\[|\]$/,alias:"punctuation"}}}}),e.hooks.add("before-tokenize",(function(t){/<\?/.test(t.code)&&e.languages["markup-templating"].buildPlaceholders(t,"php",/<\?(?:[^"'/#]|\/(?![*/])|("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|(?:\/\/|#(?!\[))(?:[^?\n\r]|\?(?!>))*(?=$|\?>|[\r\n])|#\[|\/\*(?:[^*]|\*(?!\/))*(?:\*\/|$))*?(?:\?>|$)/g)})),e.hooks.add("after-tokenize",(function(t){e.languages["markup-templating"].tokenizePlaceholders(t,"php")}))}(Y));var ee;ee||(ee=1,function(){if(void 0!==Y&&"undefined"!=typeof document){var e="line-numbers",t=/\n(?!$)/g,n=Y.plugins.lineNumbers={getLine:function(t,n){if("PRE"===t.tagName&&t.classList.contains(e)){var r=t.querySelector(".line-numbers-rows");if(r){var i=parseInt(t.getAttribute("data-start"),10)||1,a=i+(r.children.length-1);n<i&&(n=i),n>a&&(n=a);var o=n-i;return r.children[o]}}},resize:function(e){i([e])},assumeViewportIndependence:!0},r=void 0;window.addEventListener("resize",(function(){n.assumeViewportIndependence&&r===window.innerWidth||(r=window.innerWidth,i(Array.prototype.slice.call(document.querySelectorAll("pre."+e))))})),Y.hooks.add("complete",(function(n){if(n.code){var r=n.element,a=r.parentNode;if(a&&/pre/i.test(a.nodeName)&&!r.querySelector(".line-numbers-rows")&&Y.util.isActive(r,e)){r.classList.remove(e),a.classList.add(e);var o,s=n.code.match(t),l=s?s.length+1:1,c=new Array(l+1).join("<span></span>");(o=document.createElement("span")).setAttribute("aria-hidden","true"),o.className="line-numbers-rows",o.innerHTML=c,a.hasAttribute("data-start")&&(a.style.counterReset="linenumber "+(parseInt(a.getAttribute("data-start"),10)-1)),n.element.appendChild(o),i([a]),Y.hooks.run("line-numbers",n)}}})),Y.hooks.add("line-numbers",(function(e){e.plugins=e.plugins||{},e.plugins.lineNumbers=!0}))}function i(e){if(e=e.filter((function(e){var t,n=(t=e,t?window.getComputedStyle?getComputedStyle(t):t.currentStyle||null:null)["white-space"];return"pre-wrap"===n||"pre-line"===n})),0!=e.length){var n=e.map((function(e){var n=e.querySelector("code"),r=e.querySelector(".line-numbers-rows");if(n&&r){var i=e.querySelector(".line-numbers-sizer"),a=n.textContent.split(t);i||((i=document.createElement("span")).className="line-numbers-sizer",n.appendChild(i)),i.innerHTML="0",i.style.display="block";var o=i.getBoundingClientRect().height;return i.innerHTML="",{element:e,lines:a,lineHeights:[],oneLinerHeight:o,sizer:i}}})).filter(Boolean);n.forEach((function(e){var t=e.sizer,n=e.lines,r=e.lineHeights,i=e.oneLinerHeight;r[n.length-1]=void 0,n.forEach((function(e,n){if(e&&e.length>1){var a=t.appendChild(document.createElement("span"));a.style.display="block",a.textContent=e}else r[n]=i}))})),n.forEach((function(e){for(var t=e.sizer,n=e.lineHeights,r=0,i=0;i<n.length;i++)void 0===n[i]&&(n[i]=t.children[r++].getBoundingClientRect().height)})),n.forEach((function(e){var t=e.sizer,n=e.element.querySelector(".line-numbers-rows");t.style.display="none",t.innerHTML="",e.lineHeights.forEach((function(e,t){n.children[t].style.height=e+"px"}))}))}}}()),function(){if(void 0!==Y&&"undefined"!=typeof document){var e=[],t={},n=function(){};Y.plugins.toolbar={};var r=Y.plugins.toolbar.registerButton=function(n,r){var i;i="function"==typeof r?r:function(e){var t;return"function"==typeof r.onClick?((t=document.createElement("button")).type="button",t.addEventListener("click",(function(){r.onClick.call(this,e)}))):"string"==typeof r.url?(t=document.createElement("a")).href=r.url:t=document.createElement("span"),r.className&&t.classList.add(r.className),t.textContent=r.text,t},n in t?console.warn('There is a button with the key "'+n+'" registered already.'):e.push(t[n]=i)},i=Y.plugins.toolbar.hook=function(r){var i=r.element.parentNode;if(i&&/pre/i.test(i.nodeName)&&!i.parentNode.classList.contains("code-toolbar")){var a=document.createElement("div");a.classList.add("code-toolbar"),i.parentNode.insertBefore(a,i),a.appendChild(i);var o=document.createElement("div");o.classList.add("toolbar");var s=e,l=function(e){for(;e;){var t=e.getAttribute("data-toolbar-order");if(null!=t)return(t=t.trim()).length?t.split(/\s*,\s*/g):[];e=e.parentElement}}(r.element);l&&(s=l.map((function(e){return t[e]||n}))),s.forEach((function(e){var t=e(r);if(t){var n=document.createElement("div");n.classList.add("toolbar-item"),n.appendChild(t),o.appendChild(n)}})),a.appendChild(o)}};r("label",(function(e){var t=e.element.parentNode;if(t&&/pre/i.test(t.nodeName)&&t.hasAttribute("data-label")){var n,r,i=t.getAttribute("data-label");try{r=document.querySelector("template#"+i)}catch(e){}return r?n=r.content:(t.hasAttribute("data-url")?(n=document.createElement("a")).href=t.getAttribute("data-url"):n=document.createElement("span"),n.textContent=i),n}})),Y.hooks.add("complete",i)}}();var te,ne,re;function ie(e){var t,n,r="";if("string"==typeof e||"number"==typeof e)r+=e;else if("object"==typeof e)if(Array.isArray(e)){var i=e.length;for(t=0;t<i;t++)e[t]&&(n=ie(e[t]))&&(r&&(r+=" "),r+=n)}else for(n in e)e[n]&&(r&&(r+=" "),r+=n);return r}function ae(){for(var e,t,n=0,r="",i=arguments.length;n<i;n++)(e=arguments[n])&&(t=ie(e))&&(r&&(r+=" "),r+=t);return r}function oe(){return oe=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},oe.apply(null,arguments)}te||(te=1,function(){if(void 0!==Y&&"undefined"!=typeof document)if(Y.plugins.toolbar){var e={none:"Plain text",plain:"Plain text",plaintext:"Plain text",text:"Plain text",txt:"Plain text",html:"HTML",xml:"XML",svg:"SVG",mathml:"MathML",ssml:"SSML",rss:"RSS",css:"CSS",clike:"C-like",js:"JavaScript",abap:"ABAP",abnf:"ABNF",al:"AL",antlr4:"ANTLR4",g4:"ANTLR4",apacheconf:"Apache Configuration",apl:"APL",aql:"AQL",ino:"Arduino",arff:"ARFF",armasm:"ARM Assembly","arm-asm":"ARM Assembly",art:"Arturo",asciidoc:"AsciiDoc",adoc:"AsciiDoc",aspnet:"ASP.NET (C#)",asm6502:"6502 Assembly",asmatmel:"Atmel AVR Assembly",autohotkey:"AutoHotkey",autoit:"AutoIt",avisynth:"AviSynth",avs:"AviSynth","avro-idl":"Avro IDL",avdl:"Avro IDL",awk:"AWK",gawk:"GAWK",sh:"Shell",basic:"BASIC",bbcode:"BBcode",bbj:"BBj",bnf:"BNF",rbnf:"RBNF",bqn:"BQN",bsl:"BSL (1C:Enterprise)",oscript:"OneScript",csharp:"C#",cs:"C#",dotnet:"C#",cpp:"C++",cfscript:"CFScript",cfc:"CFScript",cil:"CIL",cilkc:"Cilk/C","cilk-c":"Cilk/C",cilkcpp:"Cilk/C++","cilk-cpp":"Cilk/C++",cilk:"Cilk/C++",cmake:"CMake",cobol:"COBOL",coffee:"CoffeeScript",conc:"Concurnas",csp:"Content-Security-Policy","css-extras":"CSS Extras",csv:"CSV",cue:"CUE",dataweave:"DataWeave",dax:"DAX",django:"Django/Jinja2",jinja2:"Django/Jinja2","dns-zone-file":"DNS zone file","dns-zone":"DNS zone file",dockerfile:"Docker",dot:"DOT (Graphviz)",gv:"DOT (Graphviz)",ebnf:"EBNF",editorconfig:"EditorConfig",ejs:"EJS",etlua:"Embedded Lua templating",erb:"ERB","excel-formula":"Excel Formula",xlsx:"Excel Formula",xls:"Excel Formula",fsharp:"F#","firestore-security-rules":"Firestore security rules",ftl:"FreeMarker Template Language",gml:"GameMaker Language",gamemakerlanguage:"GameMaker Language",gap:"GAP (CAS)",gcode:"G-code",gdscript:"GDScript",gedcom:"GEDCOM",gettext:"gettext",po:"gettext",glsl:"GLSL",gn:"GN",gni:"GN","linker-script":"GNU Linker Script",ld:"GNU Linker Script","go-module":"Go module","go-mod":"Go module",graphql:"GraphQL",hbs:"Handlebars",hs:"Haskell",hcl:"HCL",hlsl:"HLSL",http:"HTTP",hpkp:"HTTP Public-Key-Pins",hsts:"HTTP Strict-Transport-Security",ichigojam:"IchigoJam","icu-message-format":"ICU Message Format",idr:"Idris",ignore:".ignore",gitignore:".gitignore",hgignore:".hgignore",npmignore:".npmignore",inform7:"Inform 7",javadoc:"JavaDoc",javadoclike:"JavaDoc-like",javastacktrace:"Java stack trace",jq:"JQ",jsdoc:"JSDoc","js-extras":"JS Extras",json:"JSON",webmanifest:"Web App Manifest",json5:"JSON5",jsonp:"JSONP",jsstacktrace:"JS stack trace","js-templates":"JS Templates",keepalived:"Keepalived Configure",kts:"Kotlin Script",kt:"Kotlin",kumir:"KuMir (КуМир)",kum:"KuMir (КуМир)",latex:"LaTeX",tex:"TeX",context:"ConTeXt",lilypond:"LilyPond",ly:"LilyPond",emacs:"Lisp",elisp:"Lisp","emacs-lisp":"Lisp",llvm:"LLVM IR",log:"Log file",lolcode:"LOLCODE",magma:"Magma (CAS)",md:"Markdown","markup-templating":"Markup templating",matlab:"MATLAB",maxscript:"MAXScript",mel:"MEL",metafont:"METAFONT",mongodb:"MongoDB",moon:"MoonScript",n1ql:"N1QL",n4js:"N4JS",n4jsd:"N4JS","nand2tetris-hdl":"Nand To Tetris HDL",naniscript:"Naninovel Script",nani:"Naninovel Script",nasm:"NASM",neon:"NEON",nginx:"nginx",nsis:"NSIS",objectivec:"Objective-C",objc:"Objective-C",ocaml:"OCaml",opencl:"OpenCL",openqasm:"OpenQasm",qasm:"OpenQasm",parigp:"PARI/GP",objectpascal:"Object Pascal",psl:"PATROL Scripting Language",pcaxis:"PC-Axis",px:"PC-Axis",peoplecode:"PeopleCode",pcode:"PeopleCode",php:"PHP",phpdoc:"PHPDoc","php-extras":"PHP Extras","plant-uml":"PlantUML",plantuml:"PlantUML",plsql:"PL/SQL",powerquery:"PowerQuery",pq:"PowerQuery",mscript:"PowerQuery",powershell:"PowerShell",promql:"PromQL",properties:".properties",protobuf:"Protocol Buffers",purebasic:"PureBasic",pbfasm:"PureBasic",purs:"PureScript",py:"Python",qsharp:"Q#",qs:"Q#",q:"Q (kdb+ database)",qml:"QML",rkt:"Racket",cshtml:"Razor C#",razor:"Razor C#",jsx:"React JSX",tsx:"React TSX",renpy:"Ren'py",rpy:"Ren'py",res:"ReScript",rest:"reST (reStructuredText)",robotframework:"Robot Framework",robot:"Robot Framework",rb:"Ruby",sas:"SAS",sass:"Sass (Sass)",scss:"Sass (SCSS)","shell-session":"Shell session","sh-session":"Shell session",shellsession:"Shell session",sml:"SML",smlnj:"SML/NJ",solidity:"Solidity (Ethereum)",sol:"Solidity (Ethereum)","solution-file":"Solution file",sln:"Solution file",soy:"Soy (Closure Template)",sparql:"SPARQL",rq:"SPARQL","splunk-spl":"Splunk SPL",sqf:"SQF: Status Quo Function (Arma 3)",sql:"SQL",stata:"Stata Ado",iecst:"Structured Text (IEC 61131-3)",supercollider:"SuperCollider",sclang:"SuperCollider",systemd:"Systemd configuration file","t4-templating":"T4 templating","t4-cs":"T4 Text Templates (C#)",t4:"T4 Text Templates (C#)","t4-vb":"T4 Text Templates (VB)",tap:"TAP",tt2:"Template Toolkit 2",toml:"TOML",trickle:"trickle",troy:"troy",trig:"TriG",ts:"TypeScript",tsconfig:"TSConfig",uscript:"UnrealScript",uc:"UnrealScript",uorazor:"UO Razor Script",uri:"URI",url:"URL",vbnet:"VB.Net",vhdl:"VHDL",vim:"vim","visual-basic":"Visual Basic",vba:"VBA",vb:"Visual Basic",wasm:"WebAssembly","web-idl":"Web IDL",webidl:"Web IDL",wgsl:"WGSL",wiki:"Wiki markup",wolfram:"Wolfram language",nb:"Mathematica Notebook",wl:"Wolfram language",xeoracube:"XeoraCube","xml-doc":"XML doc (.net)",xojo:"Xojo (REALbasic)",xquery:"XQuery",yaml:"YAML",yml:"YAML",yang:"YANG"};Y.plugins.toolbar.registerButton("show-language",(function(t){var n=t.element.parentNode;if(n&&/pre/i.test(n.nodeName)){var r=n.getAttribute("data-language")||e[t.language]||function(e){return e?(e.substring(0,1).toUpperCase()+e.substring(1)).replace(/s(?=cript)/,"S"):e}(t.language);if(r){var i=document.createElement("span");return i.textContent=r,i}}}))}else console.warn("Show Languages plugin loaded before Toolbar plugin.")}()),globalThis.Prism=H;var se;function le(){return le=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},le.apply(null,arguments)}var ce;function ue(){return ue=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},ue.apply(null,arguments)}var de,fe,he,pe;function ge(){return ge=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},ge.apply(null,arguments)}var me;function ve(){return ve=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},ve.apply(null,arguments)}var be,ye,_e,we,xe,ke;function Ce(){return Ce=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Ce.apply(null,arguments)}var Ae;function Se(){return Se=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Se.apply(null,arguments)}var Ee,Me;function Re(){return Re=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Re.apply(null,arguments)}var Te;function Le(){return Le=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Le.apply(null,arguments)}var De;function Oe(){return Oe=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Oe.apply(null,arguments)}var Fe,ze,Pe,Ne,je,Ie,Be,We,$e,qe,He,Ue,Ve,Ye,Ge,Xe,Je,Ze,Ke,Qe,et,tt,nt,rt,it,at,ot,st,lt,ct,ut,dt,ft,ht,pt,gt,mt,vt;function bt(){return bt=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},bt.apply(null,arguments)}var yt,_t;function wt(){return wt=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},wt.apply(null,arguments)}var xt,kt;function Ct(){return Ct=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Ct.apply(null,arguments)}var At,St;function Et(){return Et=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Et.apply(null,arguments)}var Mt;function Rt(){return Rt=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Rt.apply(null,arguments)}var Tt;function Lt(){return Lt=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Lt.apply(null,arguments)}var Dt;function Ot(){return Ot=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Ot.apply(null,arguments)}var Ft;function zt(){return zt=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},zt.apply(null,arguments)}var Pt;function Nt(){return Nt=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Nt.apply(null,arguments)}var jt;function It(){return It=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},It.apply(null,arguments)}var Bt;function Wt(){return Wt=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Wt.apply(null,arguments)}var $t;function qt(){return qt=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},qt.apply(null,arguments)}var Ht;function Ut(){return Ut=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Ut.apply(null,arguments)}var Vt;function Yt(){return Yt=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Yt.apply(null,arguments)}var Gt;function Xt(){return Xt=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Xt.apply(null,arguments)}var Jt;function Zt(){return Zt=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Zt.apply(null,arguments)}var Kt;function Qt(){return Qt=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Qt.apply(null,arguments)}var en;function tn(){return tn=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},tn.apply(null,arguments)}var nn;function rn(){return rn=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},rn.apply(null,arguments)}var an;function on(){return on=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},on.apply(null,arguments)}var sn;function ln(){return ln=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},ln.apply(null,arguments)}var cn;function un(){return un=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},un.apply(null,arguments)}var dn;function fn(){return fn=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},fn.apply(null,arguments)}var hn;function pn(){return pn=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},pn.apply(null,arguments)}var gn;function mn(){return mn=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},mn.apply(null,arguments)}var vn;function bn(){return bn=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},bn.apply(null,arguments)}var yn;function _n(){return _n=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},_n.apply(null,arguments)}var wn;function xn(){return xn=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},xn.apply(null,arguments)}var kn,Cn;function An(){return An=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},An.apply(null,arguments)}var Sn;function En(){return En=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},En.apply(null,arguments)}var Mn;function Rn(){return Rn=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Rn.apply(null,arguments)}var Tn;function Ln(){return Ln=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Ln.apply(null,arguments)}var Dn;function On(){return On=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},On.apply(null,arguments)}var Fn;function zn(){return zn=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},zn.apply(null,arguments)}var Pn,Nn;function jn(){return jn=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},jn.apply(null,arguments)}var In;function Bn(){return Bn=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Bn.apply(null,arguments)}var Wn;function $n(){return $n=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},$n.apply(null,arguments)}var qn;function Hn(){return Hn=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Hn.apply(null,arguments)}var Un;function Vn(){return Vn=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Vn.apply(null,arguments)}var Yn;function Gn(){return Gn=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Gn.apply(null,arguments)}var Xn;function Jn(){return Jn=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Jn.apply(null,arguments)}var Zn;function Kn(){return Kn=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Kn.apply(null,arguments)}var Qn;function er(){return er=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},er.apply(null,arguments)}var tr;function nr(){return nr=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},nr.apply(null,arguments)}var rr;function ir(){return ir=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},ir.apply(null,arguments)}var ar;function or(){return or=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},or.apply(null,arguments)}var sr;function lr(){return lr=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},lr.apply(null,arguments)}var cr,ur;function dr(){return dr=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},dr.apply(null,arguments)}var fr;function hr(){return hr=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},hr.apply(null,arguments)}var pr;function gr(){return gr=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},gr.apply(null,arguments)}var mr;function vr(){return vr=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},vr.apply(null,arguments)}var br;function yr(){return yr=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},yr.apply(null,arguments)}var _r;function wr(){return wr=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},wr.apply(null,arguments)}var xr;function kr(){return kr=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},kr.apply(null,arguments)}var Cr;function Ar(){return Ar=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Ar.apply(null,arguments)}var Sr;function Er(){return Er=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Er.apply(null,arguments)}var Mr;function Rr(){return Rr=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Rr.apply(null,arguments)}var Tr;function Lr(){return Lr=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Lr.apply(null,arguments)}var Dr,Or;function Fr(){return Fr=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Fr.apply(null,arguments)}var zr;function Pr(){return Pr=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Pr.apply(null,arguments)}var Nr,jr,Ir,Br,Wr,$r,qr;function Hr(){return Hr=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Hr.apply(null,arguments)}var Ur,Vr;function Yr(){return Yr=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Yr.apply(null,arguments)}var Gr;function Xr(){return Xr=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Xr.apply(null,arguments)}var Jr;function Zr(){return Zr=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Zr.apply(null,arguments)}var Kr;function Qr(){return Qr=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Qr.apply(null,arguments)}var ei;function ti(){return ti=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},ti.apply(null,arguments)}var ni;function ri(){return ri=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},ri.apply(null,arguments)}var ii;function ai(){return ai=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},ai.apply(null,arguments)}var oi,si;function li(){return li=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},li.apply(null,arguments)}var ci;function ui(){return ui=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},ui.apply(null,arguments)}var di,fi;function hi(){return hi=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},hi.apply(null,arguments)}var pi,gi;function mi(){return mi=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},mi.apply(null,arguments)}var vi={icon:"styles_icon__peopu","size-xs":"styles_size-xs__jr71y","size-s":"styles_size-s__nGH-V","size-m":"styles_size-m__INBNd","size-l":"styles_size-l__SWmMv","size-xl":"styles_size-xl__-K5s3",inline:"styles_inline__BmJqE"},bi=0;function yi(e,t,n,r,i,a){t||(t={});var o,s,l=t;if("ref"in l)for(s in l={},t)"ref"==s?o=t[s]:l[s]=t[s];var c={type:e,props:l,key:n,ref:o,__k:null,__:null,__b:0,__e:null,__c:null,constructor:void 0,__v:--bi,__i:-1,__u:0,__source:i,__self:a};if("function"==typeof e&&(o=e.defaultProps))for(s in o)void 0===l[s]&&(l[s]=o[s]);return m.vnode&&m.vnode(c),c}const _i={amazon:t=>e.createElement("svg",oe({xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 512 512"},t),ne||(ne=e.createElement("path",{d:"M48.48 378.73a300.5 300.5 0 0 0 152.89 95.92 262.57 262.57 0 0 0 159.3-17.25 225.5 225.5 0 0 0 66.79-47 6.36 6.36 0 0 0-2-8.53 11.76 11.76 0 0 0-8-.05 402 402 0 0 1-116.55 39.34 358.1 358.1 0 0 1-127.29-8.83 446.7 446.7 0 0 1-119.1-60.49 5 5 0 0 0-6.06 6.9Z"})),re||(re=e.createElement("path",{d:"M387.15 388.44a168.1 168.1 0 0 1 48.94-2.23l.67.13a10 10 0 0 1 7.37 12.05A204.7 204.7 0 0 1 429 444.47a2.55 2.55 0 0 0 1.66 3.18 2.51 2.51 0 0 0 2.23-.37A83.31 83.31 0 0 0 464 382.86a12.44 12.44 0 0 0-10.22-13.22A95.75 95.75 0 0 0 384.91 384a2.55 2.55 0 0 0-.57 3.55 2.52 2.52 0 0 0 2.81.89M304.24 324.92a164 164 0 0 1-28.92 25.3A135.16 135.16 0 0 1 208.63 369a99.5 99.5 0 0 1-57.49-19.85 97.25 97.25 0 0 1-27.36-100.28 112.35 112.35 0 0 1 65.3-69.06 367.7 367.7 0 0 1 104.7-15.55V127A37.82 37.82 0 0 0 261 94.72a59.9 59.9 0 0 0-31.17 4.08 48.89 48.89 0 0 0-27.13 34.67 12 12 0 0 1-12.58 6.72l-50.9-4.5a11.38 11.38 0 0 1-8.38-10.16 103.66 103.66 0 0 1 36.61-63.45A143.86 143.86 0 0 1 257.85 32a146.24 146.24 0 0 1 84.27 27.67 86.82 86.82 0 0 1 30.7 70.22V258.8a84.5 84.5 0 0 0 8 31.28l15.87 23.23a13 13 0 0 1 0 11.23l-46.99 39.71a12.5 12.5 0 0 1-12.68-.44 245 245 0 0 1-32.78-38.89m-10.6-116.83a257.7 257.7 0 0 0-44 2.89A63 63 0 0 0 208 242.54a63 63 0 0 0 3.07 54 40.6 40.6 0 0 0 47.11 12.19 78.61 78.61 0 0 0 35.46-55.58z"}))),"arrows-chevron-down":t=>e.createElement("svg",le({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 12 12",width:"1em",height:"1em"},t),se||(se=e.createElement("path",{fill:"currentColor",fillOpacity:.56,fillRule:"evenodd",d:"M9.554 4.47a.6.6 0 0 1-.13.654l-3 3a.6.6 0 0 1-.849 0l-3-3A.6.6 0 0 1 3 4.1h6a.6.6 0 0 1 .554.37",clipRule:"evenodd"}))),azure:t=>e.createElement("svg",ue({xmlns:"http://www.w3.org/2000/svg",xmlSpace:"preserve",viewBox:"0 0 1000 1000",width:"1em",height:"1em"},t),ce||(ce=e.createElement("path",{d:"M616.7 236.8 473.9 524.6l251.5 291.6-466.9 53 724.5 7.5zm-28.2-113.5-328 274.5L17 808.6l207.3-21.1z",fillRule:"evenodd",clipRule:"evenodd",fill:"#3861ad"}))),bitbucket:t=>e.createElement("svg",ge({xmlns:"http://www.w3.org/2000/svg",xmlSpace:"preserve",viewBox:"0 0 1000 1000",width:"1em",height:"1em"},t),de||(de=e.createElement("path",{d:"M413.5 621.2h173l41.7-243.7H367.5z",fill:"none"})),fe||(fe=e.createElement("path",{d:"M112.7 127.6c-14.7-.2-26.7 11.5-26.9 26.2 0 1.5.1 3.1.3 4.6l112.7 684c2.9 17.3 17.8 30 35.3 30.1h540.5c13.1.2 24.4-9.3 26.5-22.3l112.7-691.7c2.3-14.5-7.5-28.1-22-30.4-1.5-.2-3.1-.4-4.6-.3zm474.4 494.3H414.6l-46.7-244h261z",fill:"#4b7bbe"})),he||(he=e.createElement("linearGradient",{id:"bitbucket_svg__a",x1:203.175,x2:202.969,y1:921.268,y2:921.051,gradientTransform:"matrix(1996.6343 0 0 -1480.3047 -404731.125 1364202.875)",gradientUnits:"userSpaceOnUse"},e.createElement("stop",{offset:.18,stopColor:"#325ba9"}),e.createElement("stop",{offset:1,stopColor:"#4b7bbe"}))),pe||(pe=e.createElement("path",{d:"M877.3 377.5H628.4l-41.8 243.9H414.3L210.8 862.9c6.5 5.6 14.7 8.7 23.2 8.7h540.2c13.1.2 24.4-9.3 26.5-22.3z",fill:"url(#bitbucket_svg__a)"}))),circleci:t=>e.createElement("svg",ve({xmlns:"http://www.w3.org/2000/svg",xmlSpace:"preserve",viewBox:"0 0 1000 1000",width:"1em",height:"1em"},t),me||(me=e.createElement("g",{transform:"matrix(2.79123 0 0 2.79123 71.369 91.589)"},e.createElement("circle",{cx:150.8,cy:146.4,r:42.4,fill:"#171717"}),e.createElement("path",{d:"M150.8-31.9C67.8-31.9-2 24.9-21.8 101.8q-.3 1.05-.3 2.1c0 4.7 3.8 8.5 8.5 8.5h71.9c3.3 0 6.3-1.9 7.7-5 0 0 .1-.2.2-.3 14.8-32 47.2-54.2 84.7-54.2 51.6 0 93.4 41.8 93.4 93.4s-41.8 93.4-93.4 93.4c-37.6 0-69.9-22.2-84.7-54.2 0-.1-.2-.3-.2-.3-1.4-3-4.4-5-7.7-5h-71.9c-4.7 0-8.5 3.8-8.5 8.5q0 1.05.3 2.1c19.8 77 89.6 133.8 172.6 133.8 98.5 0 178.4-79.8 178.4-178.3S249.4-31.9 151-31.9z",fill:"#171717"})))),draggable:t=>e.createElement("svg",Ce({xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"currentColor",viewBox:"0 0 12 8"},t),be||(be=e.createElement("circle",{cx:3,cy:2,r:1})),ye||(ye=e.createElement("circle",{cx:6,cy:2,r:1})),_e||(_e=e.createElement("circle",{cx:9,cy:2,r:1})),we||(we=e.createElement("circle",{cx:3,cy:6,r:1})),xe||(xe=e.createElement("circle",{cx:6,cy:6,r:1})),ke||(ke=e.createElement("circle",{cx:9,cy:6,r:1}))),drone:t=>e.createElement("svg",Se({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 2500 2500",width:"1em",height:"1em"},t),Ae||(Ae=e.createElement("path",{fill:"#192d46",fillRule:"evenodd",d:"M503.6 242.3 492.9 253 931 691.1c-62 96.7-97.6 215.5-97.6 350.6 0 375.6 275.8 625 625 625 130.5 0 250.8-34.8 350.2-98l440.3 440.3c-228.1 301.3-590.7 491-998.8 491C559.8 2500 0 1957.4 0 1250 0 829.3 198 466.9 503.6 242.3M712 118.5C874.9 42.3 1057.4 0 1250 0c690.3 0 1250 542.6 1250 1250 0 194.6-42.3 376.7-118.1 538.5l-396.2-396.2c62-96.7 97.6-215.5 97.6-350.6 0-375.6-275.8-625-625-625-130.5 0-250.8 34.8-350.2 98zm746.3 1298.2c-209.6 0-375-149.6-375-375s165.4-375 375-375 375 149.6 375 375-165.4 375-375 375",clipRule:"evenodd"}))),environment:t=>e.createElement("svg",Re({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 32 32",width:"1em",height:"1em"},t),Ee||(Ee=e.createElement("g",{fill:"currentColor",clipPath:"url(#environment_svg__a)"},e.createElement("path",{d:"M10 30H4a2 2 0 0 1-2-2V16a2 2 0 0 1 2-2h6a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2M4 16v12h6V16z"}),e.createElement("path",{d:"M28 4H6a2 2 0 0 0-2 2v6h2V6h22v14H14v2h2v4h-2v2h9v-2h-5v-4h10a2 2 0 0 0 2-2V6a2 2 0 0 0-2-2"}))),Me||(Me=e.createElement("defs",null,e.createElement("clipPath",{id:"environment_svg__a"},e.createElement("path",{fill:"#fff",d:"M0 0h32v32H0z"}))))),github:t=>e.createElement("svg",Le({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 98 96",width:"1em",height:"1em"},t),Te||(Te=e.createElement("path",{fill:"currentColor",fillRule:"evenodd",d:"M48.85 0C21.84 0 0 22 0 49.22 0 70.97 14 89.39 33.4 95.9c2.43.49 3.32-1.06 3.32-2.37 0-1.14-.08-5.05-.08-9.12-13.59 2.93-16.42-5.87-16.42-5.87-2.18-5.7-5.42-7.17-5.42-7.17-4.45-3.01.33-3.01.33-3.01 4.93.32 7.52 5.05 7.52 5.05 4.37 7.5 11.4 5.38 14.23 4.07.4-3.18 1.7-5.38 3.08-6.6-10.84-1.14-22.25-5.38-22.25-24.28 0-5.38 1.94-9.78 5.02-13.2-.49-1.22-2.19-6.28.48-13.04 0 0 4.13-1.3 13.43 5.05a47 47 0 0 1 12.21-1.63c4.13 0 8.33.57 12.22 1.63 9.3-6.35 13.42-5.05 13.42-5.05 2.67 6.76.97 11.82.49 13.04a18.9 18.9 0 0 1 5.01 13.2c0 18.9-11.4 23.06-22.32 24.28 1.78 1.55 3.32 4.48 3.32 9.13 0 6.6-.08 11.9-.08 13.52 0 1.3.89 2.86 3.31 2.37a49.18 49.18 0 0 0 33.4-46.7C97.72 22 75.8 0 48.86 0z",clipRule:"evenodd"}))),gitlab:t=>e.createElement("svg",Oe({xmlns:"http://www.w3.org/2000/svg",xmlSpace:"preserve",viewBox:"0 0 1000 1000",width:"1em",height:"1em"},t),De||(De=e.createElement("g",{fillRule:"evenodd",clipRule:"evenodd"},e.createElement("path",{fill:"#E2452A",d:"M500 959.9 683.8 394H316.2z"}),e.createElement("path",{fill:"#F36E2C",d:"M500 959.9 316.2 394H58.6z"}),e.createElement("path",{fill:"#FAA327",d:"M58.6 394 2.7 566.1c-5.1 15.7.5 32.9 13.8 42.6L500 959.9z"}),e.createElement("path",{fill:"#E2452A",d:"M58.6 394h257.6L205.5 53.4c-5.7-17.5-30.5-17.5-36.2 0z"}),e.createElement("path",{fill:"#F36E2C",d:"M500 959.9 683.8 394h257.6z"}),e.createElement("path",{fill:"#FAA327",d:"m941.4 394 55.8 171.9c5.1 15.7-.5 32.9-13.8 42.6L500 959.9z"}),e.createElement("path",{fill:"#E2452A",d:"M941.4 394H683.8L794.5 53.3c5.7-17.5 30.5-17.5 36.2 0z"})))),jenkins:t=>e.createElement("svg",bt({xmlns:"http://www.w3.org/2000/svg",xmlSpace:"preserve",viewBox:"0 0 1000 1000",width:"1em",height:"1em"},t),Fe||(Fe=e.createElement("path",{d:"M730.1 426.2c0 130.3-103.3 235.9-230.7 235.9S268.6 556.5 268.6 426.2s103.3-235.9 230.7-235.9c127.5 0 230.8 105.7 230.8 235.9",fill:"#d33833"})),ze||(ze=e.createElement("path",{d:"M278.1 484.7s-16.7-246 210.1-253.1l-15.8-26.4-123 41.3-35.2 40.4-30.7 58.8-17.5 68.4 5.2 45.8",fill:"#ef3d3a"})),Pe||(Pe=e.createElement("path",{d:"M341.4 265.3c-40.4 41.5-65.5 98.6-65.5 161.9S301 547.5 341.4 589c40.6 41.5 96.2 67 158 67s117.4-25.5 158-67c40.4-41.5 65.5-98.6 65.5-161.9s-25.1-120.4-65.5-161.9c-40.6-41.3-96.2-67-158-67-61.6.1-117.5 25.6-158 67.1m-10.3 333.6c-43-43.9-69.6-104.8-69.6-171.7s26.6-127.8 69.6-171.9c43-43.9 102.5-71.3 168.2-71.3s125.2 27.4 168.2 71.3 69.6 104.8 69.6 171.9c0 67-26.6 127.8-69.6 171.7-43 44.1-102.5 71.3-168.2 71.3-65.6 0-125.2-27.2-168.2-71.3",fill:"#231f20"})),Ne||(Ne=e.createElement("path",{d:"m596.5 427.5-35.2 5.2-47.4 5.4-30.7.7-30-.9-22.9-7.1-20.3-22-15.8-44.8-3.5-9.7-21-7.1-12.3-20.2-8.7-29 9.7-25.5 22.9-8 18.4 8.7 8.7 19.4 10.6-1.7 3.5-4.5-3.5-20.3-.9-25.5 5.2-35.2-.2-20.1 16-25.7 28.1-20.3 49.1-21 54.5 8 47.4 34.2 22 35.2 14.1 25.5 3.5 63.3-10.6 54.5-19.4 48.4-18.2 25.9",fill:"#f0d6b7"})),je||(je=e.createElement("path",{d:"m566.7 579.5-125.6 5.2v21l10.6 73.9-5.2 6.1-87.8-30-6.1-10.6-8.7-99.4-20.7-59.5-4.5-14.1 70.3-48.4 22-8.7 19.4 23.8 16.7 14.9 19.4 6.1 8.7 2.6 10.6 45.8 8 9.7 20.3-7.1-14.1 27.4 76.3 36.1z",fill:"#335061"})),Ie||(Ie=e.createElement("path",{d:"m358.3 272.9 22.9-8 18.4 8.7 8.7 19.4 10.6-1.7 2.6-10.6-5.2-20.3 5.2-48.4-4.5-26.4 15.8-18.4L467 140l-9.7-13.2-48.4 23.8-20.3 15.8-11.1 24.6-17.5 23.8-5.2 28.1z",fill:"#6d6b6d"})),Be||(Be=e.createElement("path",{d:"M394.4 190.3s13.2-32.6 65.9-48.4 2.6-11.4 2.6-11.4l-57.1 22-22 22-9.7 17.5zM368 266.8s-18.4-61.6 51.9-70.3l-2.6-10.6-48.4 11.4-14.1 45.8 3.5 30z",fill:"#dcd9d8"})),We||(We=e.createElement("path",{d:"m396.1 348.4 11.5-11.2s5.2.6 6.1 6.7 3.5 61.6 41.3 91.4c3.5 2.8-28.1-4.5-28.1-4.5l-28-43.8m158.9-55.3s2-26.6 9.3-24.6 7.3 9.3 7.3 9.3-17.6 11.2-16.6 15.3m72.9-97.5s-14.5 3-15.8 15.8 15.8 2.6 18.4 1.7m-108.8-16.6s-19.4 2.6-19.4 14.9 22 11.3 28.1 6.1M405 292.3s-33.3-20.3-36.8-.9-11.4 33.3 5.2 53.6l-11.4-3.5-10.6-27.2-3.5-26.4 20.3-21 22.9 1.7 13.2 10.6zm15.8-55.5s14.9-77.4 90.4-92.3c62.1-12.3 94.9 2.6 107.2 16.7 0 0-55.4-65.9-108.1-45.8-52.7 20.3-91.4 57.1-90.4 80.8 1.5 40.6.9 40.6.9 40.6M624.6 170s-25.5-.9-26.4 22c0 0 0 3.5 1.7 7.1 0 0 20.3-22.9 32.6-10.6",fill:"#f7e4cd"})),$e||($e=e.createElement("path",{d:"M513.1 201.4s-4.5-35-34.2-14.7c-19.4 13.2-17.5 31.6-14.1 35.2 3.5 3.5 2.6 10.6 5.2 5.8s1.9-20.7 11.5-25.1c9.5-4.5 25.5-9.3 31.6-1.2",fill:"#f7e4cd"})),qe||(qe=e.createElement("path",{d:"m430.5 438.9-82.6 36.8s34.2 136.2 16.7 178.4l-12.3-4.5-.9-51.9-22.9-98.2-9.7-27.2 86.2-58.1zm8.4 75.3 11.7 14.3v52.7h-14s-1.7-36.8-1.7-41.3 1.7-20.3 1.7-20.3m2.6 69.6-39.6 1.7 11.4 8 28.1 4.5",fill:"#49728b"})),He||(He=e.createElement("path",{d:"m574.5 580.5 32.6-.9 8 80.8-33.3 4.5z",fill:"#335061"})),Ue||(Ue=e.createElement("path",{d:"m583.3 580.5 49.1-2.6s20.3-51 20.3-53.6 17.5-73.9 17.5-73.9l-39.6-41.3-8-7.1-21 21v81.7z",fill:"#335061"})),Ve||(Ve=e.createElement("path",{d:"m605.2 574.3-30.7 6.1L579 605c11.3 5.2 30.7-8.7 30.7-8.7m-3.5-175.8 61.6 45.8 1.7-21-46.5-43z",fill:"#49728b"})),Ye||(Ye=e.createElement("path",{d:"m469.8 753.5-18.2-73.9-9.1-54.5-1.5-40.4 82.4-4.5h51.2l-4.7 92.3 8 71.3-.9 13.2-66.8 5.2z",fill:"#fff"})),Ge||(Ge=e.createElement("path",{d:"M563.2 579.5s-4.5 91.4 8.7 156.5c0 0-26.4 16.7-64.9 21l73.9-2.6 8.7-5.2-10.6-144-2.8-30.9",fill:"#dcd9d8"})),Xe||(Xe=e.createElement("path",{d:"m616.4 653.4 34.2-9.7 64.9-3.5 9.7-30-17.5-51.9-20.3-2.6-28.1 8.7-26.8 13.2-14.3-2.6-11.2 4.5",fill:"#fff"})),Je||(Je=e.createElement("path",{d:"M615.8 635.7s22.9-10.6 26.4-9.7l-9.7-48.4 11.4-4.5s8 45.8 8 51c0 0 49.1 2.6 53.6 2.6 0 0 10.6-20.3 8-41.3l9.7 28.1.9 15.8-14.1 21-15.8 3.5-26.4-.9-8.7-11.4-30.7 4.5-9.7 3.5",fill:"#dcd9d8"})),Ze||(Ze=e.createElement("path",{d:"m581.2 573.4-19.4-49.1-20.3-29S546 483 552.1 483h20.3l19.4 7.1-1.7 32.6z",fill:"#fff"})),Ke||(Ke=e.createElement("path",{d:"M585.1 556.7s-24.6-47.4-24.6-54.5c0 0 4.5-10.6 10.6-8s19.4 9.7 19.4 9.7v-16.7l-30-6.1-20.3 2.6 34.2 81.1 7.1.9",fill:"#dcd9d8"})),Qe||(Qe=e.createElement("path",{d:"m477.6 440.7-24.4-2.6-22.9-7.1v8l11.2 12.3 35.2 15.8",fill:"#fff"})),et||(et=e.createElement("path",{d:"M438.3 443.3s27.2 11.4 36.1 8.7l.9 10.6-24.6-5.2-14.9-10.6z",fill:"#dcd9d8"})),tt||(tt=e.createElement("path",{d:"M616.4 486c-14.9-.4-28.5-2.2-40.2-5.6.7-4.8-.7-9.5.6-13 3.3-2.4 8.7-2.4 13.8-3-4.3-2-10.4-3-15.3-1.7-.2-3.3-1.7-5.4-2.6-8 8.4-3 28.1-22.5 39.3-16.2 5.4 3.2 7.6 20.7 8 29.4.3 7.1-.8 14.1-3.6 18.1",fill:"#d33833"})),nt||(nt=e.createElement("path",{d:"M616.4 486c-14.9-.4-28.5-2.2-40.2-5.6.7-4.8-.7-9.5.6-13 3.3-2.4 8.7-2.4 13.8-3-4.3-2-10.4-3-15.3-1.7-.2-3.3-1.7-5.4-2.6-8 8.4-3 28.1-22.5 39.3-16.2 5.4 3.2 7.6 20.7 8 29.4.3 7.1-.8 14.1-3.6 18.1z",stroke:"#d33833",strokeWidth:10.8864,strokeMiterlimit:23.9808})),rt||(rt=e.createElement("path",{d:"M545.1 461.6c0 1.1 0 2.2-.2 3.3-4.7 3-12.1 3-17.3 5.6 7.4.4 13.4 2.2 18.6 4.7-.2 2.8-.2 5.8-.4 8.6-8.6 5.8-16.4 14.5-26.4 20.1-4.8 2.6-21.4 9.3-26.4 8-2.8-.7-3.2-4.3-4.3-7.6-2.4-7.1-8-18.6-8.6-29.4-.6-13.6-2-36.5 12.7-33.7 11.9 2.2 25.7 7.6 34.8 12.7 5.8 3.2 9 6.9 17.5 7.7",fill:"#d33833"})),it||(it=e.createElement("path",{d:"M545.1 461.6c0 1.1 0 2.2-.2 3.3-4.7 3-12.1 3-17.3 5.6 7.4.4 13.4 2.2 18.6 4.7-.2 2.8-.2 5.8-.4 8.6-8.6 5.8-16.4 14.5-26.4 20.1-4.8 2.6-21.4 9.3-26.4 8-2.8-.7-3.2-4.3-4.3-7.6-2.4-7.1-8-18.6-8.6-29.4-.6-13.6-2-36.5 12.7-33.7 11.9 2.2 25.7 7.6 34.8 12.7 5.8 3.2 9 6.9 17.5 7.7z",stroke:"#d33833",strokeWidth:10.8864,strokeMiterlimit:23.9808})),at||(at=e.createElement("path",{d:"M553.5 477.8c-1.3-7.4-2.8-9.5-2.2-16 19.9-13.2 23.4 22.7 2.2 16",fill:"#d33833"})),ot||(ot=e.createElement("path",{d:"M553.5 477.8c-1.3-7.4-2.8-9.5-2.2-16 19.9-13.2 23.4 22.7 2.2 16z",stroke:"#d33833",strokeWidth:10.8864,strokeMiterlimit:23.9808})),st||(st=e.createElement("path",{d:"M582.2 483.7s-6.1-8.7-1.7-11.4c4.5-2.6 8.7 0 11.4-4.5 2.6-4.5 0-7.1.9-12.3s5.2-6.1 9.7-7.1c4.5-.9 16.7-2.6 18.4 1.7l-5.2-15.8-10.6-3.5-33.3 19.4-1.7 9.7v19.4m-80.2 33.4c-1.1-13.8-2.2-27.4-3.3-41.1-1.9-20.5 4.8-16.9 22.7-16.9 2.8 0 16.7 3.2 17.7 5.2 4.8 9.9-8 7.6 5.6 15.1 11.4 6.1 31.6-3.7 27-17.7-2.6-3.2-13.4-.9-17.3-3l-20.7-10.6c-8.7-4.5-28.8-11.2-38.1-4.8-23.6 16 1.5 56.2 9.9 72.9",fill:"#ef3d3a"})),lt||(lt=e.createElement("path",{d:"M513.1 201.4c-24-5.6-35.9 10-43.2 26.2-6.5-1.5-3.9-10.4-2.2-14.9 4.3-11.7 21.6-27.5 35.7-25.3 6 .8 14.2 6.4 9.7 14m116.7 27.2h1.1c5.4 11.2 10 23.1 16.9 33.1-4.7 10.8-34.6 20.1-34.2 1.1 6.5-2.8 17.7-.6 23.4-4.3-3.3-9-8-16.9-7.2-29.9m-104.6.4c5.2 9.5 6.9 19.4 14.1 26.4 3.4 3.2 9.7 7.1 6.5 16-.7 2-6.1 6.7-9.3 7.6-11.3 3.3-38 .7-29-13.6 9.5.4 22.1 6.1 29.2-.7-5.3-8.5-15-25.7-11.5-35.7m100.3 95.6c-17.1 11-36.3 23.1-64.6 20.3-6-5.2-8.4-16.9-2.4-24.6 3 5.2 1.1 14.9 9.7 16.4 16 2.8 34.6-9.9 46.1-14.1 7.1-12.1-.6-16.4-7.1-24.2-13.2-15.8-30.7-35.5-30.1-59.2 5.4-3.9 5.8 6 6.5 7.6 6.9 16 24.2 36.7 36.7 50.4 3.2 3.3 8.2 6.7 8.7 8.9 1.7 6.4-4.2 14.2-3.5 18.5m-226.6-11.5c-5.4-3.2-6.7-16.6-13-16.9-9.1-.6-7.4 17.5-7.4 28.1-6.1-5.6-7.3-23.1-2.8-32-5.2-2.6-7.4 2.8-10.4 4.7 3.8-27.1 39.5-12.6 33.6 16.1M636.3 336c-8 15.3-19.4 32-42.8 32.6-.6-4.8-.9-12.5 0-15.4 18.1-2 29.2-11.1 42.8-17.2m-112.4 9.8c14.9 7.8 42.4 8.7 62.9 8.2 1.1 4.5 1.1 10 1.1 15.4-26.2 1.2-57.1-5.3-64-23.6m-2.8 14.6c10.4 26 46 23.1 75.9 22.3-1.3 3.3-4.1 7.4-7.8 8.7-9.7 3.9-36.1 6.9-49.5-.2-8.4-4.5-14-14.7-18.6-20.7-2-2.7-13.2-10 0-10.1",fill:"#231f20"})),ct||(ct=e.createElement("path",{d:"M624.2 503.8c-12.1 20.8-23.8 42.2-38.1 60.5 6-17.7 8.6-47.4 9.5-70.1 12.6-6 23.4 1.2 28.6 9.6",fill:"#81b0c4"})),ut||(ut=e.createElement("path",{d:"M689.5 578.6c-13.6 2.8-23.1 16-36.5 15.1 7.5-10.2 20.1-14.7 36.5-15.1m6 21.2c-11.2 1.1-24.2 3-35.4 2 5.4-8.1 25.9-5.1 35.4-2m3.9 18.5c-12.5.2-27.9 0-39.8-.9 7-7.7 31.8-2.9 39.8.9",fill:"#231f20"})),dt||(dt=e.createElement("path",{d:"M600.8 668.5c1.9 15.6 8 31.4 7.3 48.6-6.9 2.2-10.8 4.3-20.1 4.3-.6-14.5-2.6-36.8-2-50.8 4.3.3 11-3.2 14.8-2.1",fill:"#dcd9d8"})),ft||(ft=e.createElement("path",{d:"M580.7 437.8c-6.3 4.1-11.5 9.1-17.7 13.6-13.4.7-20.7-.9-30.3-8.6.2-.6 1.1-.4 1.1-1.1 14.3 6.3 32.5-2.6 46.9-3.9",fill:"#f0d6b7"})),ht||(ht=e.createElement("path",{d:"M505.9 535.1c3.9-16.9 19.4-25.9 33.3-35.2 14.3 18.2 23.1 41.7 32.7 64.4-22.9-6.9-46.1-17.9-66-29.2",fill:"#81b0c4"})),pt||(pt=e.createElement("path",{d:"M585.9 670.7c-.6 14 1.3 36.1 2 50.8 9.3 0 13.2-2 20.1-4.3.7-17.1-5.4-32.9-7.3-48.6-3.7-1.2-10.4 2.3-14.8 2.1m-143.7-78.9c6.1 56 14.9 102.9 31.1 152.6 35.9 11 79.1 11.9 110.9 2-5.8-27.9-3.3-62-6.7-91.9-2.6-22.5-1.3-45-4.8-67.9-38.6-8-92.9-1.8-130.5 5.2m139.6-4.8c-.4 24 1.1 47.8 3 71.8 9.3-1.3 15.4-2.2 24-4.3-2.8-23.1-2.4-49.3-8.2-69.8-6.5.2-12.3.1-18.8 2.3m46.7-3.9c-4.5-.9-9.5 0-13.6 0 2 19.5 6.7 41.1 8.4 61.8 6.5.2 10-3 15.4-3.9.4-18.1-1.5-43-10.2-57.9m70.9 64.7c13.8-3.3 22.3-20.1 18.4-37.4-2.6-11.5-7.1-33.5-12.1-40.9-3.5-5.4-13.4-12.7-21.4-7.6-12.8 8.2-35.4 10.6-44.7 20.5 4.7 15.6 6.1 36.8 8 56.6 16 .9 35.5-4.5 48.9 1.3-9.3 3-21.2 3-29.2 7.4 6.8 3.1 22 2.6 32.1.1m-127.7-83.5c-9.7-22.7-18.4-46.1-32.7-64.4-14 9.3-29.2 18.2-33.3 35.2 20.1 11.3 43.3 22.3 66 29.2m23.8-70.2c-.9 22.7-3.5 52.5-9.5 70.1 14.3-18.4 26.1-39.6 38.1-60.5-5.1-8.3-15.9-15.5-28.6-9.6m-26.9-9.4c-5.4-.6-10 6.3-17.1 3.3-1.7 1.9-3.2 3.7-4.8 5.6 15.6 19 22.9 45.8 35 67.9 6.5-21.4 5.8-44.7 7.3-67.9-9.1.4-14.1-8.4-20.4-8.9m-17.3-22.9c-.6 6.5.9 8.6 2.2 16 21.2 6.7 17.7-29.2-2.2-16m-23.7-7.9c-9.1-5-22.9-10.4-34.8-12.7-14.7-2.8-13.2 20.1-12.7 33.7.6 10.8 6.1 22.1 8.6 29.4 1.1 3.3 1.5 6.9 4.3 7.6 5 1.1 21.8-5.4 26.4-8 10-5.4 17.9-14.1 26.4-20.1.2-2.8.2-5.8.4-8.6-5.2-2.6-11-4.3-18.6-4.7 5-2.6 12.7-2.6 17.3-5.6 0-1.1 0-2.2.2-3.4-8.5-.7-11.7-4.4-17.5-7.6m-87.4-15.8c-7.6 7.8 21.4 18.2 30.5 18.8 0-4.8 2.8-9.5 2.2-13-11-1.9-25.3-.6-32.7-5.8m93.8 3.6c0 .7-.9.6-1.1 1.1 9.9 7.6 17.1 9.3 30.3 8.6 6-4.3 11.4-9.5 17.7-13.6-14.6 1.3-32.8 10.2-46.9 3.9m85.9 26c-.4-8.6-2.6-26.2-8-29.4-11.2-6.5-30.9 13.2-39.3 16.2.9 2.6 2.4 4.7 2.6 8 5-1.3 11-.4 15.3 1.7-5 .6-10.4.6-13.8 3-1.1 3.5.4 8.2-.6 13 11.7 3.3 25.3 5 40.2 5.6 2.9-3.8 4-10.8 3.6-18.1m-192.6-22.1c-2.4-1.7-18.6-22.7-20.8-21.8-29.2 11.5-56.6 31.4-80.9 50.4 23.3 50.1 32.7 111.3 34.4 170.3 26.6 12.5 50.1 30.5 86.3 32.4-4.3-29.6-8-56.2-10.4-84.1-9.1-3.9-22.1.2-30.7-1.1 0-10.2 13-4.5 14.1-11.3.7-5.2-7.3-5.6-4.7-13.8 6.7 2.4 10.2 7.8 17.3 9.9 6.5-14.1 0-39.3.9-51.2.2-2.2 1.1-12.3 6.1-10.6 4.5 1.5-.2 27 .2 38.1.4 10.4-1.3 20.3 3 26.8 35-4.8 70.5-7.8 108.5-8.9-8.4-3.5-18.2-6.9-29-13-6-3.3-24.4-10.2-26-15.8-2.8-8.9 7.1-13.6 8.7-21.2-17.7 9.7-21-9.3-25.3-22.5-3.7-12.1-6-21.2-6.9-28.1-15.4-8-31.7-15.2-44.8-24.5m177.2-19.4c24.4-11.7 28.8 44.1 19.2 62.2 1.5 5.4 6.5 7.4 8.6 12.3-13.6 24.4-28.7 47.1-42.6 71.1 10.2-6.5 25.1-1.1 37.2-6 4.5-1.7 7.6-11.9 11-20.1 9.3-22.3 19-50.6 23.3-71.8.9-4.8 3.7-15.4 3-19.7-1.1-7.8-11.5-13.6-16.9-18.2-9.9-8.9-16-16.6-26.4-24.9-4.1 6-13.1 10.1-16.4 15.1m-232.8-216c-11.5 12.8-9.1 36.7-7.8 53.8 21-13.2 48.8 1.1 48.6 23.4 10-.2 3.7-12.5 1.9-20.5-6-25.9 10-53.8.7-77.4-18.1 1.5-32.8 8.8-43.4 20.7m83-74.3c-26.2 7.4-59.9 26.6-70.7 50.2 8.4-1.3 14.1-5.4 22.3-6 3.2-.2 7.3 1.3 10.8.4 7.1-1.9 13.2-17.9 18.6-23.8 5.2-5.8 11.5-8.4 15.8-13.6 2.8-1.3 6.9-1.3 7.1-5.4-1.1-1.2-2.4-2.1-3.9-1.8m136.8 7.1c-27.4-15.4-73.5-27-102.5-12.5-23.4 11.7-55.1 31.1-65.9 55.5 10 23.6-3 45.2-3.9 69.2-.4 12.8 6 23.8 6.5 37.8-3.5 5.8-14 6.3-21.2 6-2.4-12.3-6.7-26.1-19.4-27.5-17.9-2-31.1 12.8-31.8 28.3-.9 18.2 14 48.4 35.2 46.3 8.2-.7 10.2-8.9 19.2-8.9 4.8 9.7-7.4 12.7-8.7 19.5-.4 1.9.9 8.7 1.9 12.1 3.9 15.8 12.5 36.5 20.8 48.6 10.8 15.4 31.8 17.7 54.5 19.2 4.1-8.7 19-8 28.7-5.8-11.7-4.7-22.5-15.8-31.4-25.7-10.2-11.4-20.7-23.4-21.2-38.3 19.5 27 35.5 50.6 70.9 62.5 26.8 8.9 58.1-4.1 78.7-18.6 8.6-6 13.6-15.6 19.7-24.2 22.7-32.7 33.3-79.3 31.1-124.5-.9-18.6-.9-37.2-7.3-49.7-6.5-13-28.7-24.9-41.7-13-2.4-12.8 10.8-20.7 26.2-16-11.1-14.4-22.6-31.3-38.4-40.3m50.9 420.7c21.4-10.6 61.2-28.5 74.4 0 5 10.6 10.8 28.3 13.2 39.3 3.5 15.3-3.9 47.6-19.7 52.7-14 4.5-30.1 4.3-46.9.9-2-1.7-4.1-4.5-5.8-7.4-11.9-.4-23.3.6-32.6 5.6.9 8.9-5 10.2-10.8 12.1-4.1 16.6 8.4 38.1 5.4 53-2 10.8-15.3 12.5-24.9 14.3-.4 6 .4 11 1.1 16-2.2 8.2-12.1 12.8-21.6 14-31.1 3.7-78.1 5.4-107.9-5.4-8.4-20.5-14.9-45.2-21.8-68.5-29 3.2-52.7-12.5-74.8-22.9-7.6-3.5-18.2-5.6-21.2-11.7-2.8-6-1.7-17.3-2.4-27.9-1.7-27.4-3.3-53.8-10.4-81.7-3.2-12.7-8.9-23.6-12.8-35.7-3.7-11.2-10-25.1-11.7-36.3-2.4-16.6 13.2-17.5 23.1-24.7 15.4-11.2 27.5-17.3 44.3-27.4 5-3 19.9-10.4 21.6-14 3.4-6.9-5.8-16.6-8.2-22-3.9-8.6-6-15.8-6.5-24.2-14-2.2-24.7-10.6-31.1-19.9-10.6-15.6-18.1-44.5-8.7-66.2.7-1.7 4.3-5.2 4.8-7.8 1.1-5.2-2-12.1-2.2-17.7-.9-28.5 4.8-53 24-61.6 7.8-31.1 35.7-41.3 62-56.8 9.9-5.8 20.7-9.5 31.8-13.6 40-14.7 101.6-11.9 134.9 13.2 14.1 10.6 36.7 33.1 44.7 49.5 21.4 43 19.7 115 4.8 167.5-2 7.1-4.8 17.3-8.9 25.9-2.8 6-11.5 17.7-10.6 22.9 1.1 5.4 20.1 19.7 24.2 23.6 7.3 7.1 21.2 16.4 22.3 25.3 1.3 9.5-4.1 22.5-6.9 31.6-9 30.6-17.9 58.7-28.2 86",fill:"#231f20"})),gt||(gt=e.createElement("path",{d:"M500.1 352.4c1.1-1.5 7.4-3.9 16.4.4 0 0-10.6 1.7-9.7 19.4l-4.5-.9c.2 0-4.4-16-2.2-18.9",fill:"#f7e4cd"})),mt||(mt=e.createElement("path",{d:"M577.1 503.4c0 2.6-2.2 4.8-4.8 4.8s-4.8-2.2-4.8-4.8 2.2-4.8 4.8-4.8c2.8 0 4.8 2.2 4.8 4.8M582 526c0 2.6-2.2 4.8-4.8 4.8s-4.8-2.2-4.8-4.8 2.2-4.8 4.8-4.8c2.7-.1 4.8 2 4.8 4.8",fill:"#1d1919"})),vt||(vt=e.createElement("path",{d:"M328.5 810.7q-2.25.3-3.9.6c-1.1.2-2.2.4-3.7.7-1.7.4-2.6 1.1-3 2.2s-.7 2.2-.7 3.7v45.4c0 4-.9 7.9-2.6 11.5-1.7 3.5-3.9 6.3-6.9 8.7-3 2.2-6.3 4.1-10 5.2s-7.6 1.9-11.7 1.9c-7.3 0-13-1.7-17.5-5.2s-6.7-8.2-6.7-14.3c0-3.5.9-6.5 3-8.9 2-2.4 4.8-3.5 8.4-3.5 3.3 0 6 .9 8 3 2 2 3 4.5 3 7.3 0 2.4-.9 4.8-2.6 6.9-1.7 2-3.7 4.1-6 5.8v.7c.4.7 1.1 1.5 2.2 2 1.1.6 2.4.7 3.5.7 4.7 0 8.4-1.7 11-5s3.9-8.4 3.9-15.1v-46.5c0-1.3-.2-2.6-.6-3.5s-1.5-1.7-3.2-2.4c-1.1-.6-2.6-.9-4.3-1.3s-3-.6-4.1-.7V806h44v4.7zm68.9 64c-1.3 2.2-3 4.3-4.8 6.3-1.9 2-4.1 3.5-6.5 5q-3.9 2.25-7.8 3.3c-2.6.7-5.8 1.1-9.1 1.1-5.8 0-10.6-.7-14.9-2.4-4.1-1.7-7.6-3.7-10.2-6.5-2.8-2.8-4.7-6-6.1-9.7-1.4-3.9-2-8-2-12.1 0-3.9.7-7.8 2.2-11.3s3.5-6.9 6.1-9.7 6-5 10-6.7c4.3-1.7 8.8-2.6 13.4-2.6 5.4 0 9.9.7 13.4 2s6.3 3.2 8.6 5.4c2.2 2.2 3.7 4.8 4.8 7.8.9 3 1.5 6.1 1.5 9.5v3.7h-39.3c0 8 1.5 14 4.7 18 3 4.1 8 6.1 14.5 6.1 3.7 0 6.9-.9 9.9-3 3-2 5.5-4.6 7.4-7.6zm-22.2-22.2c0-2.2-.2-4.7-.4-7.1s-.6-4.5-1.3-6c-.7-1.9-1.5-3.2-2.8-4.1-1.1-.9-2.6-1.3-4.3-1.3-3 0-5.4 1.5-7.1 4.5-1.9 3-2.8 7.8-3 14.3zm104.2 35.9h-35v-4.3c.7 0 1.7-.2 2.6-.4q1.65-.3 2.4-.6c.7-.4 1.3-1.1 1.7-1.9.4-.7.6-2 .6-3.5v-27.2c0-3.9-.7-6.9-2.2-8.9s-3.5-3-6.5-3c-1.5 0-3 .2-4.3.7-1.3.4-2.6 1.1-3.9 2-1.1.7-2 1.5-2.8 2.4-.7.7-1.3 1.5-1.7 2.2V877q0 1.95.6 3.3c.4.9 1.1 1.7 1.9 2 .6.4 1.3.7 2.2.9l2.8.6v4.3h-35.4v-4.3c.9 0 1.9-.2 3-.4.9-.2 1.9-.4 2.6-.6 1.3-.4 2-1.1 2.6-2 .4-.9.7-2 .7-3.5v-33.9c0-1.1-.4-2.4-.9-3.5-.6-1.1-1.5-2-2.4-2.8-.7-.4-1.5-.9-2.6-1.1-1.1-.4-2.3-.6-3.5-.6v-4.3l27.7-1.5.9.9v8.4h.2c1.4-1.1 2.7-2.3 3.9-3.5 1.4-1.2 2.8-2.3 4.3-3.3 1.5-.9 3.3-1.7 5.6-2.4 2.2-.7 4.8-.9 7.4-.9 6.3 0 11 1.9 14.1 5.4 3.2 3.5 4.7 8.4 4.7 14.3V877q0 2.25.6 3.3c.4.9 1.3 1.5 2.4 2 .6.2 1.3.6 2.2.7.9.2 1.9.4 3.2.6v4.5h.3zm80.1 0h-27.4c-2.9-5.2-6-10.2-9.3-15.1-2.8-4.1-5.4-8-7.8-11.4l-3.3 3v12.7c0 1.3.2 2.6.6 3.3.4.9 1.1 1.5 2.4 2 .7.4 1.5.6 2.4.7.9.2 1.9.4 2.8.4v4.3h-36.1V884c.9 0 1.9-.2 3-.4.9-.2 1.9-.4 2.6-.6 1.3-.4 2-1.1 2.6-2 .4-.9.7-2 .7-3.5v-64.8c0-1.3-.4-2.6-.9-3.9-.6-1.3-1.3-2.4-2.4-3.2-.7-.4-1.9-.9-3.3-1.1-1.5-.4-2.8-.6-4.1-.6v-4.3l28.8-1.5.9.9v59.9c2.8-2.6 6.1-5.6 9.7-8.9 3.5-3.3 6.5-6.1 8.6-8.4 1.3-1.3 2-2.2 2-3 .2-.7.2-1.1.2-1.3 0-.7-.6-1.3-1.9-1.7s-3-.9-5.6-1.3v-4.1h29.4v4.1c-3.9 1.1-6.9 2-8.9 3-2 .9-4.3 2.2-6.7 3.7-1.6 1.1-3.1 2.2-4.7 3.3-1.5 1.1-3.2 2.6-5.2 4.3 3.7 5.6 7.3 10.6 10.4 15.3 3.2 4.7 6.5 9.7 10 14.9 1.1 1.9 2.6 3 4.5 3.7 1.9.6 3.5.9 5.4 1.1v4.5zm37.2 0H560v-4.3c.9 0 2-.2 3-.4.9-.2 1.9-.4 2.4-.6 1.3-.4 2-1.1 2.6-2s.7-2 .7-3.5v-33.9c0-1.3-.4-2.6-.9-3.5-.5-1-1.3-1.9-2.2-2.4-.7-.4-1.7-.9-3.2-1.3s-2.8-.7-3.9-.7v-4.3L587 830l.9.9V877c0 1.3.4 2.4.9 3.5.6.9 1.5 1.7 2.4 2 .7.4 1.7.7 2.6.9q1.35.3 3 .6v4.3zm-8.4-79.1c0 3-1.1 5.4-3.3 7.4s-5 3.2-8 3.2c-3.2 0-5.8-1.1-8.2-3.2-2.2-2-3.3-4.7-3.3-7.4 0-3 1.1-5.4 3.3-7.6 2.2-2 5-3.2 8.2-3.2s5.8 1.1 8 3.2 3.3 4.7 3.3 7.6m90.4 79.1h-35v-4.3c.7 0 1.7-.2 2.6-.4q1.65-.3 2.4-.6c.7-.4 1.3-1.1 1.7-1.9.4-.7.6-2 .6-3.5v-27.2c0-3.9-.7-6.9-2.2-8.9s-3.5-3-6.5-3c-1.5 0-3 .2-4.3.7-1.3.6-2.6 1.1-3.9 2-1.1.7-2 1.5-2.8 2.4-.7.7-1.3 1.5-1.7 2.2V877q0 1.95.6 3.3c.4.9 1.1 1.7 1.9 2 .6.4 1.3.7 2.2.9l2.8.6v4.3h-35.4v-4.3c.9 0 1.9-.2 3-.4.9-.2 1.9-.4 2.6-.6 1.3-.4 2-1.1 2.6-2 .4-.9.7-2 .7-3.5v-33.9c0-1.1-.4-2.4-.9-3.5-.6-1.1-1.5-2-2.4-2.8-.7-.4-1.5-.9-2.6-1.1-1.1-.4-2.3-.6-3.5-.6v-4.3l27.7-1.5.9.9v8.4h.2c1.4-1.1 2.7-2.3 3.9-3.5 1.4-1.2 2.8-2.3 4.3-3.3 1.5-.9 3.3-1.7 5.6-2.4 2.2-.7 4.8-.9 7.4-.9 6.3 0 11 1.9 14.1 5.4 3.2 3.5 4.7 8.4 4.7 14.3V877q0 2.25.6 3.3c.4.9 1.3 1.5 2.4 2 .6.2 1.3.6 2.2.7.9.2 1.9.4 3.2.6v4.5h.3zm32.2 2.1c-3.7 0-7.4-.6-11-1.7-3.5-1.1-6.3-2.2-8.4-3.5l-1.7 3.9h-4.5l-.7-21.6h4.3c.6 1.7 1.5 3.7 3 6 1.3 2.2 3 4.1 4.7 6q2.85 2.55 6.3 4.5c2.4 1.1 4.8 1.9 7.4 1.9 3.5 0 6.1-.7 7.8-2s2.6-3.5 2.6-6.3c0-1.5-.4-2.8-1.1-3.9-.7-.9-1.9-1.9-3.2-2.6-1.5-.7-3.2-1.5-5-2-1.9-.6-4.1-1.1-6.7-2-2.6-.7-4.8-1.5-6.7-2.4-1.9-.7-3.9-2-5.8-3.7-1.7-1.5-3.2-3.3-4.1-5.4-1.1-2-1.5-4.7-1.5-7.6 0-5.4 2.2-9.9 6.9-13.2s10.6-5 18-5c3.5 0 6.7.4 9.7 1.1s5.4 1.5 7.4 2.4l1.3-3.3h4.5l.9 19.7h-4.1c-1.3-4.1-3.7-7.4-6.9-10.4-3.3-3-6.9-4.5-10.6-4.5-3 0-5.4.6-7.1 1.9s-2.6 3-2.6 5.2c0 3 1.3 5 3.7 6.3s6 2.6 10.4 3.7c6.9 1.9 11.9 4.3 15.3 7.3q4.8 4.8 4.8 11.7c0 6.3-2.4 11.4-7.4 14.7-5.4 2.9-11.9 4.8-19.9 4.8",fill:"#231f20"}))),"line-alerts-alert-circle":t=>e.createElement("svg",wt({xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none"},t),yt||(yt=e.createElement("g",{clipPath:"url(#line-alerts-alert-circle_svg__a)"},e.createElement("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeOpacity:.56,strokeWidth:1.5,d:"M8 5.333V8m0 2.666h.006M14.666 8A6.667 6.667 0 1 1 1.333 8a6.667 6.667 0 0 1 13.333 0"}))),_t||(_t=e.createElement("defs",null,e.createElement("clipPath",{id:"line-alerts-alert-circle_svg__a"},e.createElement("path",{fill:"currentColor",d:"M0 0h16v16H0z"}))))),"line-alerts-fixed":t=>e.createElement("svg",Ct({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",width:"1em",height:"1em"},t),xt||(xt=e.createElement("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.5,d:"M12 22c5.523 0 10-4.477 10-10S17.523 2 12 2 2 6.477 2 12s4.477 10 10 10",vectorEffect:"non-scaling-stroke"})),kt||(kt=e.createElement("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.5,d:"m8 12 3 3 5-6",vectorEffect:"non-scaling-stroke"}))),"line-alerts-malfunctioned":t=>e.createElement("svg",Et({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",width:"1em",height:"1em"},t),At||(At=e.createElement("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M12 8v4m0 4h.01",vectorEffect:"non-scaling-stroke"})),St||(St=e.createElement("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.5,d:"M10.29 3.86 1.82 18a2 2 0 0 0 1.71 3h16.94a2 2 0 0 0 1.71-3L13.71 3.86a2 2 0 0 0-3.42 0",vectorEffect:"non-scaling-stroke"}))),"line-alerts-new":t=>e.createElement("svg",Rt({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",width:"1em",height:"1em"},t),Mt||(Mt=e.createElement("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.5,d:"M12 22c5.523 0 10-4.477 10-10S17.523 2 12 2 2 6.477 2 12s4.477 10 10 10M12 8v8m-4-4h8",vectorEffect:"non-scaling-stroke"}))),"line-alerts-notification-box":t=>e.createElement("svg",Lt({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",width:"1em",height:"1em"},t),Tt||(Tt=e.createElement("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.5,d:"M11 4H7.8c-1.68 0-2.52 0-3.162.327a3 3 0 0 0-1.311 1.311C3 6.28 3 7.12 3 8.8v7.4c0 1.68 0 2.52.327 3.162a3 3 0 0 0 1.311 1.311C5.28 21 6.12 21 7.8 21h7.4c1.68 0 2.52 0 3.162-.327a3 3 0 0 0 1.311-1.311C20 18.72 20 17.88 20 16.2V13m.121-9.121A3 3 0 1 1 15.88 8.12 3 3 0 0 1 20.12 3.88",vectorEffect:"non-scaling-stroke"}))),"line-alerts-regressed":t=>e.createElement("svg",Ot({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",width:"1em",height:"1em"},t),Dt||(Dt=e.createElement("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.5,d:"M10.29 3.86 1.82 18a2 2 0 0 0 1.71 3h16.94a2 2 0 0 0 1.71-3L13.71 3.86a2 2 0 0 0-3.42 0M9 11l6 6m0-6-6 6",vectorEffect:"non-scaling-stroke"}))),"line-arrows-arrow-left":t=>e.createElement("svg",zt({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",width:"1em",height:"1em"},t),Ft||(Ft=e.createElement("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.5,d:"M19 12H5m0 0 7 7m-7-7 7-7",vectorEffect:"non-scaling-stroke"}))),"line-arrows-chevron-down-double":t=>e.createElement("svg",Nt({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",width:"1em",height:"1em"},t),Pt||(Pt=e.createElement("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.5,d:"m7 13 5 5 5-5M7 6l5 5 5-5",vectorEffect:"non-scaling-stroke"}))),"line-arrows-chevron-down":t=>e.createElement("svg",It({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",width:"1em",height:"1em"},t),jt||(jt=e.createElement("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.5,d:"m6 9 6 6 6-6",vectorEffect:"non-scaling-stroke"}))),"line-arrows-chevron-right":t=>e.createElement("svg",Wt({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",width:"1em",height:"1em"},t),Bt||(Bt=e.createElement("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.5,d:"m9 18 6-6-6-6",vectorEffect:"non-scaling-stroke"}))),"line-arrows-chevron-up-double":t=>e.createElement("svg",qt({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",width:"1em",height:"1em"},t),$t||($t=e.createElement("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.5,d:"m17 18-5-5-5 5m10-7-5-5-5 5",vectorEffect:"non-scaling-stroke"}))),"line-arrows-chevron-up":t=>e.createElement("svg",Ut({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",width:"1em",height:"1em"},t),Ht||(Ht=e.createElement("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.5,d:"m18 15-6-6-6 6",vectorEffect:"non-scaling-stroke"}))),"line-arrows-corner-down-right":t=>e.createElement("svg",Yt({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",width:"1em",height:"1em"},t),Vt||(Vt=e.createElement("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.5,d:"M4 4v1.4c0 3.36 0 5.04.654 6.324a6 6 0 0 0 2.622 2.622C8.56 15 10.24 15 13.6 15H20m0 0-5-5m5 5-5 5",vectorEffect:"non-scaling-stroke"}))),"line-arrows-expand-3":t=>e.createElement("svg",Xt({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",width:"1em",height:"1em"},t),Gt||(Gt=e.createElement("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.5,d:"m14 10 7-7m0 0h-6m6 0v6m-11 5-7 7m0 0h6m-6 0v-6",vectorEffect:"non-scaling-stroke"}))),"line-arrows-refresh-ccw-1":t=>e.createElement("svg",Zt({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",width:"1em",height:"1em"},t),Jt||(Jt=e.createElement("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.5,d:"M8.546 19.768A8.5 8.5 0 0 0 19.361 7.75l-.25-.434M4.638 16.25A8.5 8.5 0 0 1 15.453 4.233m-12.96 12.1 2.732.733.732-2.732m12.085-4.668.732-2.732 2.732.732",vectorEffect:"non-scaling-stroke"}))),"line-arrows-sort-line-asc":t=>e.createElement("svg",Qt({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",width:"1em",height:"1em"},t),Kt||(Kt=e.createElement("path",{stroke:"currentColor",strokeLinecap:"round",strokeWidth:1.5,d:"M4.5 18h15m-15-6h11m-11-6h8",vectorEffect:"non-scaling-stroke"}))),"line-arrows-sort-line-desc":t=>e.createElement("svg",tn({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",width:"1em",height:"1em"},t),en||(en=e.createElement("path",{stroke:"currentColor",strokeLinecap:"round",strokeWidth:1.5,d:"M4.5 6h15m-15 6h11m-11 6h8",vectorEffect:"non-scaling-stroke"}))),"line-arrows-switch-vertical-1":t=>e.createElement("svg",rn({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",width:"1em",height:"1em"},t),nn||(nn=e.createElement("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.5,d:"M7 4v16m0 0-4-4m4 4 4-4m6 4V4m0 0-4 4m4-4 4 4",vectorEffect:"non-scaling-stroke"}))),"line-charts-bar-chart-square":t=>e.createElement("svg",on({xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24"},t),an||(an=e.createElement("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeOpacity:.7,strokeWidth:1.5,d:"M8 13v4m8-6v6M12 7v10m-4 4h11l2-2V5l-2-2H5L3 5v14l2 2z"}))),"line-charts-timeline":t=>e.createElement("svg",ln({xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24"},t),sn||(sn=e.createElement("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeOpacity:.7,strokeWidth:1.5,d:"M11 8H7M13 16H7M17 12H7M5 21l-2-2V5l2-2h14l2 2v14l-2 2z"}))),"line-dev-bug-2":t=>e.createElement("svg",un({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",width:"1em",height:"1em"},t),cn||(cn=e.createElement("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.5,d:"M2.5 7 5 9.5m-2.5 11 3-3m-4-4h3.121M19 13.5h3.5m-3.5-4L21.5 7m-3 10.5 3 3M8 7.5v-1a4 4 0 1 1 8 0v1m-4 14a7 7 0 0 1-7-7v-3c0-1.117 0-1.676.157-2.125a2.8 2.8 0 0 1 1.718-1.718C7.325 7.5 7.883 7.5 9 7.5h6c1.117 0 1.676 0 2.125.157a2.8 2.8 0 0 1 1.718 1.718C19 9.825 19 10.383 19 11.5v3a7 7 0 0 1-7 7",vectorEffect:"non-scaling-stroke"}))),"line-dev-code-square":t=>e.createElement("svg",fn({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",width:"1em",height:"1em"},t),dn||(dn=e.createElement("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.5,d:"m14.5 15 3-3-3-3m-5 0-3 3 3 3m-1.7 6h8.4c1.68 0 2.52 0 3.162-.327a3 3 0 0 0 1.311-1.311C21 18.72 21 17.88 21 16.2V7.8c0-1.68 0-2.52-.327-3.162a3 3 0 0 0-1.311-1.311C18.72 3 17.88 3 16.2 3H7.8c-1.68 0-2.52 0-3.162.327a3 3 0 0 0-1.311 1.311C3 5.28 3 6.12 3 7.8v8.4c0 1.68 0 2.52.327 3.162a3 3 0 0 0 1.311 1.311C5.28 21 6.12 21 7.8 21",vectorEffect:"non-scaling-stroke"}))),"line-dev-dataflow-3":t=>e.createElement("svg",pn({xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none"},t),hn||(hn=e.createElement("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeOpacity:.7,strokeWidth:1.5,d:"M12 4v14l2 2h3m0 0a2 2 0 1 0 4 0 2 2 0 0 0-4 0M7 4h10M7 4a2 2 0 1 1-4 0 2 2 0 0 1 4 0m10 0a2 2 0 1 0 4 0 2 2 0 0 0-4 0m-5 8h5m0 0a2 2 0 1 0 4 0 2 2 0 0 0-4 0"}))),"line-files-clipboard-check":t=>e.createElement("svg",mn({xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none"},t),gn||(gn=e.createElement("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeOpacity:.7,strokeWidth:1.5,d:"M16 4h2l2 2v14l-2 2H6l-2-2V6l2-2h2m1 11 2 2 5-4m-6-7h5l1-1V4v0-1l-1-1H9L8 3v2l1 1z"}))),"line-files-file-2":t=>e.createElement("svg",bn({xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none"},t),vn||(vn=e.createElement("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeOpacity:.7,strokeWidth:1.5,d:"M14 11H8m2 4H8m8-8H8m12 0v13l-2 2H6l-2-2V4l2-2h12l2 2z"}))),"line-files-file-attachment-2":t=>e.createElement("svg",_n({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",width:"1em",height:"1em"},t),yn||(yn=e.createElement("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.5,d:"M20 7v-.2c0-1.68 0-2.52-.327-3.162a3 3 0 0 0-1.311-1.311C17.72 2 16.88 2 15.2 2H8.8c-1.68 0-2.52 0-3.162.327a3 3 0 0 0-1.311 1.311C4 4.28 4 5.12 4 6.8v10.4c0 1.68 0 2.52.327 3.162a3 3 0 0 0 1.311 1.311C6.28 22 7.12 22 8.8 22h3.7m0-11H8m3.5 4H8m8-8H8m10 11v-5.5a1.5 1.5 0 0 1 3 0V18a3 3 0 1 1-6 0v-4",vectorEffect:"non-scaling-stroke"}))),"line-files-folder":t=>e.createElement("svg",xn({xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none"},t),wn||(wn=e.createElement("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeOpacity:.7,strokeWidth:1.5,d:"m13 7-1-2-1-1-1-1H3L2 4v3m0 0h18l2 2v10l-2 2H4l-2-2z"}))),"line-general-check-circle":t=>e.createElement("svg",An({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 16 16",width:"1em",height:"1em"},t),kn||(kn=e.createElement("g",{clipPath:"url(#line-general-check-circle_svg__a)"},e.createElement("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.5,d:"m5 8 2 2 4-4m3.666 2A6.667 6.667 0 1 1 1.333 8a6.667 6.667 0 0 1 13.333 0"}))),Cn||(Cn=e.createElement("defs",null,e.createElement("clipPath",{id:"line-general-check-circle_svg__a"},e.createElement("path",{fill:"#fff",d:"M0 0h16v16H0z"}))))),"line-general-check":t=>e.createElement("svg",En({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",width:"1em",height:"1em"},t),Sn||(Sn=e.createElement("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.5,d:"M20 6 9 17l-5-5",vectorEffect:"non-scaling-stroke"}))),"line-general-checklist3":t=>e.createElement("svg",Rn({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",width:"1em",height:"1em"},t),Mn||(Mn=e.createElement("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.5,d:"M13 5h8m-8 4h5m-5 6h8m-8 4h5M3 17.012 4.991 19 9 15M4 4h4a1 1 0 0 1 1 1v4a1 1 0 0 1-1 1H4a1 1 0 0 1-1-1V5a1 1 0 0 1 1-1",vectorEffect:"non-scaling-stroke"}))),"line-general-copy-3":t=>e.createElement("svg",Ln({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",width:"1em",height:"1em"},t),Tn||(Tn=e.createElement("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.5,d:"M5 15c-.932 0-1.398 0-1.765-.152a2 2 0 0 1-1.083-1.083C2 13.398 2 12.932 2 12V5.2c0-1.12 0-1.68.218-2.108a2 2 0 0 1 .874-.874C3.52 2 4.08 2 5.2 2H12c.932 0 1.398 0 1.765.152a2 2 0 0 1 1.083 1.083C15 3.602 15 4.068 15 5m-2.8 17h6.6c1.12 0 1.68 0 2.108-.218a2 2 0 0 0 .874-.874C22 20.48 22 19.92 22 18.8v-6.6c0-1.12 0-1.68-.218-2.108a2 2 0 0 0-.874-.874C20.48 9 19.92 9 18.8 9h-6.6c-1.12 0-1.68 0-2.108.218a2 2 0 0 0-.874.874C9 10.52 9 11.08 9 12.2v6.6c0 1.12 0 1.68.218 2.108a2 2 0 0 0 .874.874C10.52 22 11.08 22 12.2 22",vectorEffect:"non-scaling-stroke"}))),"line-general-download-cloud":t=>e.createElement("svg",On({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",width:"1em",height:"1em"},t),Dn||(Dn=e.createElement("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.5,d:"M4 16.242A4.5 4.5 0 0 1 6.08 8.02a6.002 6.002 0 0 1 11.84 0A4.5 4.5 0 0 1 20 16.242M8 17l4 4m0 0 4-4m-4 4v-9",vectorEffect:"non-scaling-stroke"}))),"line-general-equal":t=>e.createElement("svg",zn({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",width:"1em",height:"1em"},t),Fn||(Fn=e.createElement("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.5,d:"M5 9h14M5 15h14",vectorEffect:"non-scaling-stroke"}))),"line-general-eye":t=>e.createElement("svg",jn({xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none"},t),Pn||(Pn=e.createElement("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.5,d:"M1.613 8.475c-.09-.144-.136-.216-.161-.326a.8.8 0 0 1 0-.298c.025-.111.07-.183.161-.327C2.363 6.336 4.597 3.333 8 3.333c3.404 0 5.637 3.003 6.387 4.191.09.144.136.216.162.327a.8.8 0 0 1 0 .298c-.026.11-.071.182-.162.326-.75 1.188-2.983 4.191-6.387 4.191s-5.636-3.003-6.387-4.19Z"})),Nn||(Nn=e.createElement("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.5,d:"M8 10a2 2 0 1 0 0-4 2 2 0 0 0 0 4"}))),"line-general-help-circle":t=>e.createElement("svg",Bn({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 16 16",width:"1em",height:"1em"},t),In||(In=e.createElement("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",d:"M6.393 6a2 2 0 0 1 3.886.666c0 1.334-2 2-2 2m.054 2.667h.006M15 8A6.667 6.667 0 1 1 1.666 8 6.667 6.667 0 0 1 15 8"}))),"line-general-home-line":t=>e.createElement("svg",$n({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",width:"1em",height:"1em"},t),Wn||(Wn=e.createElement("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.5,d:"M8 17h8M11.018 2.764 4.235 8.039c-.453.353-.68.53-.843.75a2 2 0 0 0-.318.65C3 9.704 3 9.991 3 10.565V17.8c0 1.12 0 1.68.218 2.108a2 2 0 0 0 .874.874C4.52 21 5.08 21 6.2 21h11.6c1.12 0 1.68 0 2.108-.218a2 2 0 0 0 .874-.874C21 19.48 21 18.92 21 17.8v-7.235c0-.574 0-.861-.074-1.126a2 2 0 0 0-.318-.65c-.163-.22-.39-.397-.843-.75l-6.783-5.275c-.351-.273-.527-.41-.72-.462a1 1 0 0 0-.523 0c-.194.052-.37.189-.721.462",vectorEffect:"non-scaling-stroke"}))),"line-general-info-circle":t=>e.createElement("svg",Hn({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 17 16",width:"1em",height:"1em"},t),qn||(qn=e.createElement("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",d:"M8.333 10.666V8m0-2.667h.006M15 8A6.667 6.667 0 1 1 1.666 8 6.667 6.667 0 0 1 15 8"}))),"line-general-link-1":t=>e.createElement("svg",Vn({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",width:"1em",height:"1em"},t),Un||(Un=e.createElement("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.5,d:"M10 13a5.002 5.002 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71",vectorEffect:"non-scaling-stroke"}))),"line-general-link-external":t=>e.createElement("svg",Gn({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",width:"1em",height:"1em"},t),Yn||(Yn=e.createElement("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.5,d:"M21 9V3m0 0h-6m6 0-8 8m-3-6H7.8c-1.68 0-2.52 0-3.162.327a3 3 0 0 0-1.311 1.311C3 7.28 3 8.12 3 9.8v6.4c0 1.68 0 2.52.327 3.162a3 3 0 0 0 1.311 1.311C5.28 21 6.12 21 7.8 21h6.4c1.68 0 2.52 0 3.162-.327a3 3 0 0 0 1.311-1.311C19 18.72 19 17.88 19 16.2V14",vectorEffect:"non-scaling-stroke"}))),"line-general-minus-circle":t=>e.createElement("svg",Jn({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 17 16",width:"1em",height:"1em"},t),Xn||(Xn=e.createElement("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",d:"M6 8h5.333m4 0A6.667 6.667 0 1 1 2 8a6.667 6.667 0 0 1 13.333 0"}))),"line-general-search-md":t=>e.createElement("svg",Kn({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",width:"1em",height:"1em"},t),Zn||(Zn=e.createElement("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.5,d:"m21 21-4.35-4.35M19 11a8 8 0 1 1-16 0 8 8 0 0 1 16 0",vectorEffect:"non-scaling-stroke"}))),"line-general-settings-1":t=>e.createElement("svg",er({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",width:"1em",height:"1em"},t),Qn||(Qn=e.createElement("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.5,d:"M3 8h12m0 0a3 3 0 1 0 6 0 3 3 0 0 0-6 0m-6 8h12M9 16a3 3 0 1 1-6 0 3 3 0 0 1 6 0",vectorEffect:"non-scaling-stroke"}))),"line-general-x-circle":t=>e.createElement("svg",nr({xmlns:"http://www.w3.org/2000/svg",height:"1em",fill:"none",viewBox:"0 0 17 16",width:"1em"},t),tr||(tr=e.createElement("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",d:"m10.667 6-4 4m0-4 4 4m4.666-2A6.667 6.667 0 1 1 2 8a6.667 6.667 0 0 1 13.333 0"}))),"line-general-x-close":t=>e.createElement("svg",ir({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",width:"1em",height:"1em"},t),rr||(rr=e.createElement("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.5,d:"M18 6 6 18M6 6l12 12",vectorEffect:"non-scaling-stroke"}))),"line-general-zap":t=>e.createElement("svg",or({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",width:"1em",height:"1em"},t),ar||(ar=e.createElement("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.5,d:"M13 2 4.093 12.688c-.348.418-.523.628-.526.804a.5.5 0 0 0 .186.397c.138.111.41.111.955.111H12l-1 8 8.906-10.688c.35-.418.524-.628.526-.804a.5.5 0 0 0-.185-.397c-.138-.111-.41-.111-.955-.111H12z",vectorEffect:"non-scaling-stroke"}))),"line-helpers-flag":t=>e.createElement("svg",lr({xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none"},t),sr||(sr=e.createElement("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeOpacity:.72,strokeWidth:1.5,d:"M2.667 10s.667-.667 2.667-.667 3.333 1.333 5.333 1.333S13.334 10 13.334 10V2s-.667.666-2.667.666-3.333-1.333-5.333-1.333S2.667 2 2.667 2v12.666"}))),"line-helpers-play-circle":t=>e.createElement("svg",dr({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",width:"1em",height:"1em"},t),cr||(cr=e.createElement("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.5,d:"M12 22c5.523 0 10-4.477 10-10S17.523 2 12 2 2 6.477 2 12s4.477 10 10 10",vectorEffect:"non-scaling-stroke"})),ur||(ur=e.createElement("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.5,d:"M9.5 8.965c0-.477 0-.716.1-.849a.5.5 0 0 1 .364-.199c.166-.012.367.117.769.375l4.72 3.035c.349.224.523.336.583.478a.5.5 0 0 1 0 .39c-.06.142-.234.254-.583.478l-4.72 3.035c-.402.258-.603.387-.769.375a.5.5 0 0 1-.364-.2c-.1-.132-.1-.371-.1-.848z",vectorEffect:"non-scaling-stroke"}))),"line-icon-bomb-2":t=>e.createElement("svg",hr({xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24"},t),fr||(fr=e.createElement("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.5,d:"m14.113 5.384 1.756-1.756a2.17 2.17 0 0 1 3.06 0L20.37 5.07a2.16 2.16 0 0 1 0 3.061l-1.755 1.756M21 2.998l-1.35 1.35m-.45 8.554a8.103 8.103 0 1 1-16.206 0 8.103 8.103 0 0 1 16.206 0",vectorEffect:"non-scaling-stroke"}))),"line-images-image":t=>e.createElement("svg",gr({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",width:"1em",height:"1em"},t),pr||(pr=e.createElement("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.5,d:"M16.2 21H6.931c-.605 0-.908 0-1.049-.12a.5.5 0 0 1-.173-.42c.014-.183.228-.397.657-.826l8.503-8.503c.396-.396.594-.594.822-.668a1 1 0 0 1 .618 0c.228.074.426.272.822.668L21 15v1.2M16.2 21c1.68 0 2.52 0 3.162-.327a3 3 0 0 0 1.311-1.311C21 18.72 21 17.88 21 16.2M16.2 21H7.8c-1.68 0-2.52 0-3.162-.327a3 3 0 0 1-1.311-1.311C3 18.72 3 17.88 3 16.2V7.8c0-1.68 0-2.52.327-3.162a3 3 0 0 1 1.311-1.311C5.28 3 6.12 3 7.8 3h8.4c1.68 0 2.52 0 3.162.327a3 3 0 0 1 1.311 1.311C21 5.28 21 6.12 21 7.8v8.4M10.5 8.5a2 2 0 1 1-4 0 2 2 0 0 1 4 0",vectorEffect:"non-scaling-stroke"}))),"line-layouts-columns-2":t=>e.createElement("svg",vr({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",width:"1em",height:"1em"},t),mr||(mr=e.createElement("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.5,d:"M12 3v18M8 3h11l2 2v14l-2 2H5l-2-2V5l2-2z",vectorEffect:"non-scaling-stroke"}))),"line-layouts-layout-top":t=>e.createElement("svg",yr({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",width:"1em",height:"1em"},t),br||(br=e.createElement("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.5,d:"M3 9h18M7.8 3h8.4c1.68 0 2.52 0 3.162.327a3 3 0 0 1 1.311 1.311C21 5.28 21 6.12 21 7.8v8.4c0 1.68 0 2.52-.327 3.162a3 3 0 0 1-1.311 1.311C18.72 21 17.88 21 16.2 21H7.8c-1.68 0-2.52 0-3.162-.327a3 3 0 0 1-1.311-1.311C3 18.72 3 17.88 3 16.2V7.8c0-1.68 0-2.52.327-3.162a3 3 0 0 1 1.311-1.311C5.28 3 6.12 3 7.8 3",vectorEffect:"non-scaling-stroke"}))),"line-layouts-maximize-2":t=>e.createElement("svg",wr({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",width:"1em",height:"1em"},t),_r||(_r=e.createElement("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeOpacity:.7,strokeWidth:1.5,d:"m14 10 7-7m0 0h-6m6 0v6m-11 5-7 7m0 0h6m-6 0v-6"}))),"line-layouts-minimize-2":t=>e.createElement("svg",kr({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",width:"1em",height:"1em"},t),xr||(xr=e.createElement("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeOpacity:.7,strokeWidth:1.5,d:"M4 14h6m0 0v6m0-6-7 7m17-11h-6m0 0V4m0 6 7-7"}))),"line-security-key":t=>e.createElement("svg",Ar({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",width:"1em",height:"1em"},t),Cr||(Cr=e.createElement("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.5,d:"M15 9h.01M15 15a6 6 0 1 0-5.946-5.193c.058.434.087.651.068.789a.85.85 0 0 1-.117.346c-.068.121-.187.24-.426.479l-5.11 5.11c-.173.173-.26.26-.322.36a1 1 0 0 0-.12.29C3 17.296 3 17.418 3 17.663V19.4c0 .56 0 .84.109 1.054a1 1 0 0 0 .437.437C3.76 21 4.04 21 4.6 21h1.737c.245 0 .367 0 .482-.028a1 1 0 0 0 .29-.12c.1-.061.187-.148.36-.32l5.11-5.111c.239-.239.358-.358.48-.426a.85.85 0 0 1 .345-.117c.138-.02.355.01.789.068Q14.589 15 15 15",vectorEffect:"non-scaling-stroke"}))),"line-shapes-dot-circle":t=>e.createElement("svg",Er({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",width:"1em",height:"1em"},t),Sr||(Sr=e.createElement("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.5,d:"M9 12h3m-3 0c0 .396.077.775.217 1.122M9 12c0-.378.07-.739.197-1.072M15 12h-3m3 0c0-.378-.07-.739-.197-1.072M15 12c0 .378-.07.739-.197 1.072M12 15v-3m0 3c-.378 0-.74-.07-1.073-.198M12 15c.43 0 .839-.09 1.209-.253M12 9v3m0-3c.43 0 .839.09 1.209.253M12 9c-.41 0-.8.082-1.155.23M12 12 9.824 9.935M12 12l2.309 1.916M12 12l-2.058 2.182M12 12l2.176-2.065M12 12l2.803-1.072M12 12l-2.783 1.122M12 12l-1.073 2.802M12 12l1.209-2.747M12 12l2.803 1.072M12 12l1.209 2.747M12 12l-1.155-2.77M12 12l-2.803-1.072m.627-.993c.285-.3.633-.543 1.021-.705m-1.021.705c-.27.284-.484.62-.627.993m5.112 2.988c.208-.25.376-.535.494-.844m-.495.844a3 3 0 0 1-1.1.83m-3.266-.564a3 3 0 0 1-.725-1.06m.725 1.06c.282.267.616.479.985.62m3.25-4.867c.269.284.483.62.626.993m-.627-.993c-.272-.287-.6-.52-.967-.682M22 12c0 5.523-4.477 10-10 10S2 17.523 2 12 6.477 2 12 2s10 4.477 10 10",vectorEffect:"non-scaling-stroke"}))),"line-shapes-moon":t=>e.createElement("svg",Rr({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",width:"1em",height:"1em"},t),Mr||(Mr=e.createElement("path",{stroke:"currentColor",strokeWidth:1.5,d:"M5.584 4.733a9.7 9.7 0 0 1 2.481-1.8 11.16 11.16 0 0 0 3.093 9.909 11.16 11.16 0 0 0 9.908 3.093 9.7 9.7 0 0 1-1.799 2.481c-3.778 3.779-9.905 3.779-13.683 0s-3.779-9.905 0-13.683Z",vectorEffect:"non-scaling-stroke"}))),"line-shapes-sun":t=>e.createElement("svg",Lr({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",width:"1em",height:"1em"},t),Tr||(Tr=e.createElement("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.5,d:"M22 12h-2m-.929 7.071-1.414-1.414M4 12H2m4.343-5.657L4.929 4.93M12 4V2m5.657 4.343L19.07 4.93M12 22v-2m-7.071-.929 1.414-1.414M18 12a6 6 0 1 1-12 0 6 6 0 0 1 12 0",vectorEffect:"non-scaling-stroke"}))),"line-shapes-theme-auto":t=>e.createElement("svg",Fr({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",width:"1em",height:"1em"},t),Dr||(Dr=e.createElement("path",{stroke:"currentColor",strokeWidth:1.5,d:"M5.508 10.742a6.8 6.8 0 0 0 1.916 5.834 6.8 6.8 0 0 0 5.833 1.915 5.706 5.706 0 1 1-7.749-7.749Z"})),Or||(Or=e.createElement("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.5,d:"M22 8h-1.2m-.557 4.243-.849-.849M11.2 8H10m2.606-3.394-.849-.849M16 3.2V2m3.394 2.606.849-.849M16 14v-1.2m-4.243-.557.849-.849M19.6 8a3.6 3.6 0 1 1-7.2 0 3.6 3.6 0 0 1 7.2 0"}))),"line-time-clock-stopwatch":t=>e.createElement("svg",Pr({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",width:"1em",height:"1em"},t),zr||(zr=e.createElement("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.5,d:"M12 9.5v4l2.5 1.5M12 5a8.5 8.5 0 1 0 0 17 8.5 8.5 0 0 0 0-17m0 0V2m-2 0h4m6.329 3.592-1.5-1.5.75.75m-15.908.75 1.5-1.5-.75.75",vectorEffect:"non-scaling-stroke"}))),"playwright-logo":t=>e.createElement("svg",Hr({xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 400 400"},t),Nr||(Nr=e.createElement("path",{fill:"#2D4552",d:"M136 222c-12 3-21 10-26 16 5-5 12-9 22-12 10-2 18-2 25-1v-6c-6 0-13 0-21 3m-27-46-48 12 3 3 40-10s0 7-5 14c9-7 10-19 10-19m40 112C82 306 46 228 35 188a227 227 0 0 1-7-45c-4 1-6 2-5 8 0 9 2 23 7 42 11 40 47 118 114 100 15-4 26-11 34-20-7 7-17 12-29 15m13-160v5h26l-2-5z"})),jr||(jr=e.createElement("path",{fill:"#2D4552",d:"M194 168c12 3 18 11 21 19l14 3s-2-25-25-32c-22-6-36 12-37 14 6-4 15-8 27-4m105 19c-21-6-35 12-36 14 6-4 15-8 27-5 12 4 18 12 21 19l14 4s-2-26-26-32m-13 68-110-31s1 6 6 14l93 26zm-76 66c-87-23-77-134-63-187 6-22 12-38 17-49-3 0-5 1-8 6-5 11-12 28-18 52-14 53-25 164 62 188 41 11 73-6 97-32a90 90 0 0 1-87 22"})),Ir||(Ir=e.createElement("path",{fill:"#E2574C",d:"M162 262v-22l-63 18s5-27 37-36c10-3 19-3 26-2v-92h31l-10-24c-4-9-9-3-19 6-8 6-27 19-55 27-29 8-52 6-61 4-14-2-21-5-20 5 0 9 2 23 7 42 11 40 47 118 114 100 18-4 30-14 39-26zM61 188l48-12s-1 18-19 23-29-11-29-11"})),Br||(Br=e.createElement("path",{fill:"#2EAD33",d:"M342 129c-13 2-43 5-79-5-37-10-62-27-71-35-14-12-20-20-26-8-5 11-12 29-19 53-14 53-24 164 63 187s134-78 148-131c6-24 9-42 10-54 1-14-9-10-26-7m-176 44s14-22 38-15c23 7 25 32 25 32zm57 96c-41-12-47-45-47-45l110 31s-22 26-63 14m39-68s14-21 37-14c24 6 26 32 26 32z"})),Wr||(Wr=e.createElement("path",{fill:"#D65348",d:"m140 246-41 12s5-26 35-36l-23-86-2 1c-29 8-52 6-61 4-14-2-21-5-20 5 0 9 2 23 7 42 11 40 47 118 114 100h2zm-79-58 48-12s-1 18-19 23-29-11-29-11"})),$r||($r=e.createElement("path",{fill:"#1D8D22",d:"M225 269h-2c-41-12-47-45-47-45l57 16 30-116c-37-10-62-27-71-35-14-12-20-20-26-8-5 11-12 29-19 53-14 53-24 164 63 187l2 1zm-59-96s14-22 38-15c23 7 25 32 25 32z"})),qr||(qr=e.createElement("path",{fill:"#C04B41",d:"m142 245-11 4c3 14 7 28 14 40l4-1 9-3c-8-12-13-25-16-40m-4-102c-6 21-11 51-10 81l8-2 2-1a273 273 0 0 1 14-103l-8 5z"}))),"report-logo":t=>e.createElement("svg",Yr({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 32 32",width:"1em",height:"1em"},t),Ur||(Ur=e.createElement("g",{clipPath:"url(#report-logo_svg__a)"},e.createElement("path",{fill:"url(#report-logo_svg__b)",fillRule:"evenodd",d:"M22.23 4.66a3.6 3.6 0 0 1 5.1.04A16.08 16.08 0 0 1 31.97 16a3.6 3.6 0 1 1-7.2 0c0-2.4-.98-4.61-2.58-6.24a3.6 3.6 0 0 1 .03-5.1Z",clipRule:"evenodd"}),e.createElement("path",{fill:"url(#report-logo_svg__c)",fillRule:"evenodd",d:"M12.4 3.6A3.6 3.6 0 0 1 16 0c4.4 0 8.4 1.8 11.29 4.66a3.6 3.6 0 0 1-5.06 5.13A8.87 8.87 0 0 0 16 7.2a3.6 3.6 0 0 1-3.6-3.6",clipRule:"evenodd"}),e.createElement("path",{fill:"url(#report-logo_svg__d)",fillRule:"evenodd",d:"M0 16A16 16 0 0 1 16 0a3.6 3.6 0 0 1 0 7.2 8.8 8.8 0 0 0-6.21 15.04 3.6 3.6 0 0 1-5.13 5.06A16.08 16.08 0 0 1 0 16",clipRule:"evenodd"}),e.createElement("path",{fill:"url(#report-logo_svg__e)",fillRule:"evenodd",d:"M4.66 22.24a3.6 3.6 0 0 1 5.1-.03 8.87 8.87 0 0 0 6.23 2.59 3.6 3.6 0 0 1 0 7.2c-4.4 0-8.4-1.8-11.3-4.66a3.6 3.6 0 0 1-.03-5.1",clipRule:"evenodd"}),e.createElement("path",{fill:"url(#report-logo_svg__f)",fillRule:"evenodd",d:"M28.38 12.4a3.6 3.6 0 0 1 3.6 3.6A16 16 0 0 1 16 32a3.6 3.6 0 0 1 0-7.2 8.8 8.8 0 0 0 8.8-8.8 3.6 3.6 0 0 1 3.6-3.6Z",clipRule:"evenodd"}),e.createElement("path",{fill:"url(#report-logo_svg__g)",fillRule:"evenodd",d:"M28.38 12.4a3.6 3.6 0 0 1 3.6 3.6v12.4a3.6 3.6 0 1 1-7.2 0V16a3.6 3.6 0 0 1 3.6-3.6",clipRule:"evenodd"}),e.createElement("g",{clipPath:"url(#report-logo_svg__h)"},e.createElement("path",{fill:"url(#report-logo_svg__i)",fillRule:"evenodd",d:"M22.23 4.66a3.6 3.6 0 0 1 5.1.04A16.08 16.08 0 0 1 31.97 16a3.6 3.6 0 1 1-7.2 0c0-2.4-.98-4.61-2.58-6.24a3.6 3.6 0 0 1 .03-5.1Z",clipRule:"evenodd"})))),Vr||(Vr=e.createElement("defs",null,e.createElement("linearGradient",{id:"report-logo_svg__b",x1:26.4,x2:28.8,y1:9.6,y2:15.01,gradientUnits:"userSpaceOnUse"},e.createElement("stop",{stopColor:"#7E22CE"}),e.createElement("stop",{offset:1,stopColor:"#8B5CF6"})),e.createElement("linearGradient",{id:"report-logo_svg__c",x1:26.8,x2:17.8,y1:9.4,y2:3.61,gradientUnits:"userSpaceOnUse"},e.createElement("stop",{stopColor:"#EF4444"}),e.createElement("stop",{offset:1,stopColor:"#DC2626"})),e.createElement("linearGradient",{id:"report-logo_svg__d",x1:3.6,x2:5.4,y1:14.01,y2:24.81,gradientUnits:"userSpaceOnUse"},e.createElement("stop",{stopColor:"#22C55E"}),e.createElement("stop",{offset:1,stopColor:"#15803D"})),e.createElement("linearGradient",{id:"report-logo_svg__e",x1:4.8,x2:14.4,y1:22.21,y2:29.21,gradientUnits:"userSpaceOnUse"},e.createElement("stop",{stopColor:"#94A3B8"}),e.createElement("stop",{offset:.96,stopColor:"#64748B"}),e.createElement("stop",{offset:1,stopColor:"#64748B"})),e.createElement("linearGradient",{id:"report-logo_svg__f",x1:28.4,x2:22.19,y1:22.18,y2:28.4,gradientUnits:"userSpaceOnUse"},e.createElement("stop",{stopColor:"#D97706"}),e.createElement("stop",{offset:1,stopColor:"#FBBF24"})),e.createElement("linearGradient",{id:"report-logo_svg__g",x1:29.2,x2:30.63,y1:54.43,y2:54.28,gradientUnits:"userSpaceOnUse"},e.createElement("stop",{stopColor:"#FBBF24"}),e.createElement("stop",{offset:1,stopColor:"#FBBF24"})),e.createElement("linearGradient",{id:"report-logo_svg__i",x1:26.4,x2:28.8,y1:9.6,y2:15.01,gradientUnits:"userSpaceOnUse"},e.createElement("stop",{stopColor:"#7E22CE"}),e.createElement("stop",{offset:1,stopColor:"#8B5CF6"})),e.createElement("clipPath",{id:"report-logo_svg__a"},e.createElement("path",{fill:"#fff",d:"M0 0h32v32H0z"})),e.createElement("clipPath",{id:"report-logo_svg__h"},e.createElement("path",{fill:"#fff",d:"M24.8 12H32v8h-7.2z"}))))),"solid-alert-circle":t=>e.createElement("svg",Xr({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",width:"1em",height:"1em"},t),Gr||(Gr=e.createElement("path",{fill:"currentColor",fillRule:"evenodd",d:"M12 1C5.925 1 1 5.925 1 12s4.925 11 11 11 11-4.925 11-11S18.075 1 12 1m1 7a1 1 0 1 0-2 0v4a1 1 0 1 0 2 0zm-1 7a1 1 0 1 0 0 2h.01a1 1 0 1 0 0-2z",clipRule:"evenodd",vectorEffect:"non-scaling-stroke"}))),"solid-check-circle":t=>e.createElement("svg",Zr({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",width:"1em",height:"1em"},t),Jr||(Jr=e.createElement("path",{fill:"currentColor",fillRule:"evenodd",d:"M12 1C5.925 1 1 5.925 1 12s4.925 11 11 11 11-4.925 11-11S18.075 1 12 1m5.207 8.707a1 1 0 0 0-1.414-1.414L10.5 13.586l-2.293-2.293a1 1 0 0 0-1.414 1.414l3 3a1 1 0 0 0 1.414 0z",clipRule:"evenodd",vectorEffect:"non-scaling-stroke"}))),"solid-help-circle":t=>e.createElement("svg",Qr({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",width:"1em",height:"1em"},t),Kr||(Kr=e.createElement("path",{fill:"currentColor",fillRule:"evenodd",d:"M12 1C5.925 1 1 5.925 1 12s4.925 11 11 11 11-4.925 11-11S18.075 1 12 1m-1.093 7.271a2 2 0 0 1 3.013 1.727V10c0 .47-.365.958-1.055 1.418a6 6 0 0 1-1.262.634 1 1 0 0 0 .633 1.897l.169-.061a8.05 8.05 0 0 0 1.57-.806c.81-.54 1.944-1.55 1.945-3.081a4 4 0 0 0-7.773-1.333 1 1 0 0 0 1.886.664 2 2 0 0 1 .874-1.06M12 16a1 1 0 1 0 0 2h.01a1 1 0 0 0 0-2z",clipRule:"evenodd",vectorEffect:"non-scaling-stroke"}))),"solid-minus-circle":t=>e.createElement("svg",ti({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",width:"1em",height:"1em"},t),ei||(ei=e.createElement("path",{fill:"currentColor",fillRule:"evenodd",d:"M12 1C5.925 1 1 5.925 1 12s4.925 11 11 11 11-4.925 11-11S18.075 1 12 1M8 11a1 1 0 1 0 0 2h8a1 1 0 1 0 0-2z",clipRule:"evenodd",vectorEffect:"non-scaling-stroke"}))),"solid-plus-circle":t=>e.createElement("svg",ri({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",width:"1em",height:"1em"},t),ni||(ni=e.createElement("path",{fill:"currentColor",fillRule:"evenodd",d:"M12 1C5.925 1 1 5.925 1 12s4.925 11 11 11 11-4.925 11-11S18.075 1 12 1m-1 6a1 1 0 1 1 2 0v4h4a1 1 0 1 1 0 2h-4v4a1 1 0 1 1-2 0v-4H7a1 1 0 1 1 0-2h4z",clipRule:"evenodd",vectorEffect:"non-scaling-stroke"}))),"solid-x-circle":t=>e.createElement("svg",ai({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",width:"1em",height:"1em"},t),ii||(ii=e.createElement("path",{fill:"currentColor",fillRule:"evenodd",d:"M12 1C5.925 1 1 5.925 1 12s4.925 11 11 11 11-4.925 11-11S18.075 1 12 1m3.707 7.293a1 1 0 0 1 0 1.414L13.414 12l2.293 2.293a1 1 0 0 1-1.414 1.414L12 13.414l-2.293 2.293a1 1 0 0 1-1.414-1.414L10.586 12 8.293 9.707a1 1 0 0 1 1.414-1.414L12 10.586l2.293-2.293a1 1 0 0 1 1.414 0",clipRule:"evenodd",vectorEffect:"non-scaling-stroke"}))),spinner:t=>e.createElement("svg",li({xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 16 16"},t),oi||(oi=e.createElement("circle",{cx:8,cy:8,r:7,stroke:"currentColor",strokeOpacity:.32,strokeWidth:1.5,vectorEffect:"non-scaling-stroke"})),si||(si=e.createElement("path",{stroke:"currentColor",strokeWidth:1.5,d:"M15 8a7 7 0 0 1-7 7",vectorEffect:"non-scaling-stroke"},e.createElement("animateTransform",{attributeName:"transform",calcMode:"spline",dur:"0.75s",from:"0 8 8",keySplines:"0.42 0 0.58 1",keyTimes:"0;1",repeatCount:"indefinite",to:"360 8 8",type:"rotate"})))),"test-new":t=>e.createElement("svg",ui({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",width:"1em",height:"1em"},t),ci||(ci=e.createElement("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M16 4c.93 0 1.395 0 1.776.102a3 3 0 0 1 2.122 2.122C20 6.605 20 7.07 20 8v9.2c0 1.68 0 2.52-.327 3.162a3 3 0 0 1-1.311 1.311C17.72 22 16.88 22 15.2 22H8.8c-1.68 0-2.52 0-3.162-.327a3 3 0 0 1-1.311-1.311C4 19.72 4 18.88 4 17.2V8c0-.93 0-1.395.102-1.776a3 3 0 0 1 2.122-2.122C6.605 4 7.07 4 8 4m4 13v-6m-3 3h6M9.6 6h4.8c.56 0 .84 0 1.054-.109a1 1 0 0 0 .437-.437C16 5.24 16 4.96 16 4.4v-.8c0-.56 0-.84-.109-1.054a1 1 0 0 0-.437-.437C15.24 2 14.96 2 14.4 2H9.6c-.56 0-.84 0-1.054.109a1 1 0 0 0-.437.437C8 2.76 8 3.04 8 3.6v.8c0 .56 0 .84.109 1.054a1 1 0 0 0 .437.437C8.76 6 9.04 6 9.6 6"}))),"view-off":t=>e.createElement("svg",hi({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 32 32",width:"1em",height:"1em"},t),di||(di=e.createElement("g",{fill:"currentColor",clipPath:"url(#view-off_svg__a)"},e.createElement("path",{d:"m5.24 22.51 1.43-1.42A14.06 14.06 0 0 1 3.07 16C5.1 10.93 10.7 7 16 7a12.4 12.4 0 0 1 4 .72l1.55-1.56A14.7 14.7 0 0 0 16 5 16.69 16.69 0 0 0 1.06 15.66a1 1 0 0 0 0 .68 16 16 0 0 0 4.18 6.17"}),e.createElement("path",{d:"M12 15.73a4 4 0 0 1 3.7-3.7l1.81-1.82a6 6 0 0 0-7.33 7.33zM30.94 15.66a16.4 16.4 0 0 0-5.74-7.44L30 3.41 28.59 2 2 28.59 3.41 30l5.1-5.1A15.3 15.3 0 0 0 16 27a16.69 16.69 0 0 0 14.94-10.66 1 1 0 0 0 0-.68M20 16a4 4 0 0 1-6 3.44L19.44 14a4 4 0 0 1 .56 2m-4 9a13.05 13.05 0 0 1-6-1.58l2.54-2.54a6 6 0 0 0 8.35-8.35l2.87-2.87A14.54 14.54 0 0 1 28.93 16C26.9 21.07 21.3 25 16 25"}))),fi||(fi=e.createElement("defs",null,e.createElement("clipPath",{id:"view-off_svg__a"},e.createElement("path",{fill:"#fff",d:"M0 0h32v32H0z"}))))),view:t=>e.createElement("svg",mi({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 32 32",width:"1em",height:"1em"},t),pi||(pi=e.createElement("g",{fill:"currentColor",clipPath:"url(#view_svg__a)"},e.createElement("path",{d:"M30.94 15.66A16.69 16.69 0 0 0 16 5 16.69 16.69 0 0 0 1.06 15.66a1 1 0 0 0 0 .68A16.69 16.69 0 0 0 16 27a16.69 16.69 0 0 0 14.94-10.66 1 1 0 0 0 0-.68M16 25c-5.3 0-10.9-3.93-12.93-9C5.1 10.93 10.7 7 16 7s10.9 3.93 12.93 9C26.9 21.07 21.3 25 16 25"}),e.createElement("path",{d:"M16 10a6 6 0 1 0 0 12 6 6 0 0 0 0-12m0 10a4 4 0 1 1 0-8 4 4 0 0 1 0 8"}))),gi||(gi=e.createElement("defs",null,e.createElement("clipPath",{id:"view_svg__a"},e.createElement("path",{fill:"#fff",d:"M0 0h32v32H0z"})))))},wi={amazon:"amazon",arrowsChevronDown:"arrows-chevron-down",azure:"azure",bitbucket:"bitbucket",circleci:"circleci",draggable:"draggable",drone:"drone",environment:"environment",github:"github",gitlab:"gitlab",jenkins:"jenkins",lineAlertsAlertCircle:"line-alerts-alert-circle",lineAlertsFixed:"line-alerts-fixed",lineAlertsMalfunctioned:"line-alerts-malfunctioned",lineAlertsNew:"line-alerts-new",lineAlertsNotificationBox:"line-alerts-notification-box",lineAlertsRegressed:"line-alerts-regressed",lineArrowsArrowLeft:"line-arrows-arrow-left",lineArrowsChevronDownDouble:"line-arrows-chevron-down-double",lineArrowsChevronDown:"line-arrows-chevron-down",lineArrowsChevronRight:"line-arrows-chevron-right",lineArrowsChevronUpDouble:"line-arrows-chevron-up-double",lineArrowsChevronUp:"line-arrows-chevron-up",lineArrowsCornerDownRight:"line-arrows-corner-down-right",lineArrowsExpand3:"line-arrows-expand-3",lineArrowsRefreshCcw1:"line-arrows-refresh-ccw-1",lineArrowsSortLineAsc:"line-arrows-sort-line-asc",lineArrowsSortLineDesc:"line-arrows-sort-line-desc",lineArrowsSwitchVertical1:"line-arrows-switch-vertical-1",lineChartsBarChartSquare:"line-charts-bar-chart-square",lineChartsTimeline:"line-charts-timeline",lineDevBug2:"line-dev-bug-2",lineDevCodeSquare:"line-dev-code-square",lineDevDataflow3:"line-dev-dataflow-3",lineFilesClipboardCheck:"line-files-clipboard-check",lineFilesFile2:"line-files-file-2",lineFilesFileAttachment2:"line-files-file-attachment-2",lineFilesFolder:"line-files-folder",lineGeneralCheckCircle:"line-general-check-circle",lineGeneralCheck:"line-general-check",lineGeneralChecklist3:"line-general-checklist3",lineGeneralCopy3:"line-general-copy-3",lineGeneralDownloadCloud:"line-general-download-cloud",lineGeneralEqual:"line-general-equal",lineGeneralEye:"line-general-eye",lineGeneralHelpCircle:"line-general-help-circle",lineGeneralHomeLine:"line-general-home-line",lineGeneralInfoCircle:"line-general-info-circle",lineGeneralLink1:"line-general-link-1",lineGeneralLinkExternal:"line-general-link-external",lineGeneralMinusCircle:"line-general-minus-circle",lineGeneralSearchMd:"line-general-search-md",lineGeneralSettings1:"line-general-settings-1",lineGeneralXCircle:"line-general-x-circle",lineGeneralXClose:"line-general-x-close",lineGeneralZap:"line-general-zap",lineHelpersFlag:"line-helpers-flag",lineHelpersPlayCircle:"line-helpers-play-circle",lineIconBomb2:"line-icon-bomb-2",lineImagesImage:"line-images-image",lineLayoutsColumn2:"line-layouts-columns-2",lineLayoutsColumns2:"line-layouts-columns-2",lineLayoutsLayoutTop:"line-layouts-layout-top",lineLayoutsMaximize2:"line-layouts-maximize-2",lineLayoutsMinimize2:"line-layouts-minimize-2",lineSecurityKey:"line-security-key",lineShapesDotCircle:"line-shapes-dot-circle",lineShapesMoon:"line-shapes-moon",lineShapesSun:"line-shapes-sun",lineShapesThemeAuto:"line-shapes-theme-auto",lineTimeClockStopwatch:"line-time-clock-stopwatch",playwrightLogo:"playwright-logo",reportLogo:"report-logo",solidAlertCircle:"solid-alert-circle",solidCheckCircle:"solid-check-circle",solidHelpCircle:"solid-help-circle",solidMinusCircle:"solid-minus-circle",solidPlusCircle:"solid-plus-circle",solidXCircle:"solid-x-circle",spinner:"spinner",testNew:"test-new",viewOff:"view-off",view:"view"},xi=({id:e,size:t="s",inline:n=!1,className:r="","data-testid":i,...a})=>{const o=_i[e],s=ae(vi.icon,vi[`size-${t}`],n&&vi.inline,r);return"function"==typeof o?yi(o,{...a,className:s,"data-testid":i}):"string"==typeof o?yi("img",{...a,alt:"",className:s,"data-testid":i,src:o}):null},ki=({size:e})=>yi(xi,{"aria-hidden":"true",focusable:"false",id:wi.spinner,size:e}),Ci=({size:e="m",tag:t="span",type:n="paragraph",bold:r=!1,className:i,children:a,...o})=>"paragraph"===n?yi(t,{...o,className:ae(`paragraphs-text-${e}${r?"-bold":""}`,i),children:a}):"ui"===n?yi(t,{...o,className:ae(`ui-text-${e}-ui${r?"-bold":""}`,i),children:a}):null,Ai=({size:e="m",tag:t="span",type:n="paragraph",bold:r=!1,className:i,children:a,...o})=>"paragraph"===n?yi(t,{...o,className:ae(`paragraphs-code-${e}${r?"-bold":""}`,i),children:a}):"ui"===n?yi(t,{...o,className:ae(`ui-code-${e}-ui${r?"-bold":""}`,i),children:a}):null,Si=({size:e="m",tag:t="span",className:n,children:r,...i})=>yi(t,{...i,className:ae(`headings-head-${e}`,n),children:r});var Ei={button:"styles_button__dJOMr",fullWidth:"styles_fullWidth__UvMfL",textTruncatedButton:"styles_textTruncatedButton__NBPpI",contentIcon:"styles_contentIcon__WG8cP",leadingIcon:"styles_leadingIcon__YCONr",dropdownIcon:"styles_dropdownIcon__QbL-e",buttonIcon:"styles_buttonIcon__jkuyM",size_l:"styles_size_l__qdpXc",size_m:"styles_size_m__YdAJU",size_xs:"styles_size_xs__VcVUS",size_s:"styles_size_s__ujh2O",icon_size_xs:"styles_icon_size_xs__I8F1x",style_primary:"styles_style_primary__repZw",active:"styles_active__qHBgG",danger:"styles_danger__ifSNz",positive:"styles_positive__NaE-e",style_outline:"styles_style_outline__UDLGz",style_ghost:"styles_style_ghost__XxqyT",accent:"styles_accent__fmzVj",style_flat:"styles_style_flat__tgVZ1",style_raised:"styles_style_raised__Pwwft",text:"styles_text__n3hds",textTruncated:"styles_textTruncated__G0qe5",pending:"styles_pending__8GUAj",content:"styles_content__pYX6n",leadingSlot:"styles_leadingSlot__v4sKN",trailingSlot:"styles_trailingSlot__bMgTb",spinner:"styles_spinner__anTET"};const Mi=e=>{const{text:t,type:n="button",icon:r,iconSize:i="m",onClick:a,isPending:o=!1,size:s="m",style:l="primary",action:c="default",fullWidth:u=!1,isDisabled:d=!1,isIconButton:f=!1,isDropdownButton:h=!1,isActive:p=!1,focusable:g=!0,href:m,target:v="_self",rel:b=("_blank"===v?"noopener noreferrer":void 0),className:y,leadingSlot:_,trailingSlot:w,rounded:x,isLink:k=!1,isTextTruncated:C=!1,iconColor:A="primary",textRef:S,...E}=e,M=d||o,R={...E,tabIndex:g?0:-1,className:ae(Ei.button,f&&Ei.buttonIcon,Ei[`size_${s}`],Ei[`icon_size_${i}`],Ei[`style_${l}`],"danger"===c&&Ei.danger,"positive"===c&&Ei.positive,"accent"===c&&Ei.accent,o&&Ei.pending,C&&Ei.textTruncatedButton,u&&Ei.fullWidth,!M&&p&&Ei.active,y),onClick:a,"data-rounded":x||void 0,"data-link":k||void 0,"data-icon-color":"default"===c&&A||void 0},T=yi(Ci,{type:"ui",size:"s"===s?"s":"m",bold:!0,className:Ei.content,children:[r&&yi(xi,{size:"s",className:f?Ei.contentIcon:Ei.leadingIcon,id:r}),_&&yi("div",{className:Ei.leadingSlot,children:_}),!f&&yi("span",{ref:S,className:ae(Ei.text,C&&Ei.textTruncated),children:t}),w&&yi("div",{className:Ei.trailingSlot,children:w}),h&&yi(xi,{id:wi.lineArrowsChevronDown,size:"s",className:Ei.dropdownIcon}),yi("span",{className:Ei.spinner,"aria-hidden":!o,children:yi(ki,{})})]});return m?yi("a",{...R,href:m,target:v,rel:b,"aria-disabled":M?"true":void 0,style:M?{pointerEvents:"none"}:void 0,children:T}):yi("button",{...R,disabled:M,type:n,children:T})},Ri=e=>yi(Mi,{...e}),Ti=e=>yi(Mi,{...e,isIconButton:!0}),Li=e=>yi(Mi,{...e,isDropdownButton:!0,isActive:e.isExpanded}),Di=e=>yi(Mi,{...e,href:e.href,target:e.target,isLink:!0}),Oi=Math.min,Fi=Math.max,zi=Math.round,Pi=Math.floor,Ni=e=>({x:e,y:e}),ji={left:"right",right:"left",bottom:"top",top:"bottom"};function Ii(e,t){return"function"==typeof e?e(t):e}function Bi(e){return e.split("-")[0]}function Wi(e){return e.split("-")[1]}function $i(e){return"x"===e?"y":"x"}function qi(e){return"y"===e?"height":"width"}function Hi(e){const t=e[0];return"t"===t||"b"===t?"y":"x"}function Ui(e){return $i(Hi(e))}function Vi(e){return e.includes("start")?e.replace("start","end"):e.replace("end","start")}const Yi=["left","right"],Gi=["right","left"],Xi=["top","bottom"],Ji=["bottom","top"];function Zi(e,t,n,r){const i=Wi(e);let a=function(e,t,n){switch(e){case"top":case"bottom":return n?t?Gi:Yi:t?Yi:Gi;case"left":case"right":return t?Xi:Ji;default:return[]}}(Bi(e),"start"===n,r);return i&&(a=a.map((e=>e+"-"+i)),t&&(a=a.concat(a.map(Vi)))),a}function Ki(e){const t=Bi(e);return ji[t]+e.slice(t.length)}function Qi(e){const{x:t,y:n,width:r,height:i}=e;return{width:r,height:i,top:n,left:t,right:t+r,bottom:n+i,x:t,y:n}}function ea(e,t,n){let{reference:r,floating:i}=e;const a=Hi(t),o=Ui(t),s=qi(o),l=Bi(t),c="y"===a,u=r.x+r.width/2-i.width/2,d=r.y+r.height/2-i.height/2,f=r[s]/2-i[s]/2;let h;switch(l){case"top":h={x:u,y:r.y-i.height};break;case"bottom":h={x:u,y:r.y+r.height};break;case"right":h={x:r.x+r.width,y:d};break;case"left":h={x:r.x-i.width,y:d};break;default:h={x:r.x,y:r.y}}const p=Wi(t);return p&&(h[o]+=f*("end"===p?1:-1)*(n&&c?-1:1)),h}async function ta(e,t){var n;void 0===t&&(t={});const{x:r,y:i,platform:a,rects:o,elements:s,strategy:l}=e,{boundary:c="clippingAncestors",rootBoundary:u="viewport",elementContext:d="floating",altBoundary:f=!1,padding:h=0}=Ii(t,e),p=function(e){return"number"!=typeof e?function(e){var t,n,r,i;return{top:null!=(t=e.top)?t:0,right:null!=(n=e.right)?n:0,bottom:null!=(r=e.bottom)?r:0,left:null!=(i=e.left)?i:0}}(e):{top:e,right:e,bottom:e,left:e}}(h),g=s[f?"floating"===d?"reference":"floating":d],m=Qi(await a.getClippingRect({element:null==(n=await(null==a.isElement?void 0:a.isElement(g)))||n?g:g.contextElement||await(null==a.getDocumentElement?void 0:a.getDocumentElement(s.floating)),boundary:c,rootBoundary:u,strategy:l})),v="floating"===d?{x:r,y:i,width:o.floating.width,height:o.floating.height}:o.reference,b=await(null==a.getOffsetParent?void 0:a.getOffsetParent(s.floating)),y=await(null==a.isElement?void 0:a.isElement(b))&&await(null==a.getScale?void 0:a.getScale(b))||{x:1,y:1},_=Qi(a.convertOffsetParentRelativeRectToViewportRelativeRect?await a.convertOffsetParentRelativeRectToViewportRelativeRect({elements:s,rect:v,offsetParent:b,strategy:l}):v);return{top:(m.top-_.top+p.top)/y.y,bottom:(_.bottom-m.bottom+p.bottom)/y.y,left:(m.left-_.left+p.left)/y.x,right:(_.right-m.right+p.right)/y.x}}const na=new Set(["left","top"]);function ra(){return"undefined"!=typeof window}function ia(e){return sa(e)?(e.nodeName||"").toLowerCase():"#document"}function aa(e){var t;return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function oa(e){var t;return null==(t=(sa(e)?e.ownerDocument:e.document)||window.document)?void 0:t.documentElement}function sa(e){return!!ra()&&(e instanceof Node||e instanceof aa(e).Node)}function la(e){return!!ra()&&(e instanceof Element||e instanceof aa(e).Element)}function ca(e){return!!ra()&&(e instanceof HTMLElement||e instanceof aa(e).HTMLElement)}function ua(e){return!(!ra()||"undefined"==typeof ShadowRoot)&&(e instanceof ShadowRoot||e instanceof aa(e).ShadowRoot)}function da(e){const{overflow:t,overflowX:n,overflowY:r,display:i}=wa(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&"inline"!==i&&"contents"!==i}function fa(e){return/^(table|td|th)$/.test(ia(e))}function ha(e){try{if(e.matches(":popover-open"))return!0}catch(e){}try{return e.matches(":modal")}catch(e){return!1}}const pa=/transform|translate|scale|rotate|perspective|filter/,ga=/paint|layout|strict|content/,ma=e=>!!e&&"none"!==e;let va;function ba(e){const t=la(e)?wa(e):e;return ma(t.transform)||ma(t.translate)||ma(t.scale)||ma(t.rotate)||ma(t.perspective)||!ya()&&(ma(t.backdropFilter)||ma(t.filter))||pa.test(t.willChange||"")||ga.test(t.contain||"")}function ya(){return null==va&&(va="undefined"!=typeof CSS&&CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")),va}function _a(e){return/^(html|body|#document)$/.test(ia(e))}function wa(e){return aa(e).getComputedStyle(e)}function xa(e){return la(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function ka(e){if("html"===ia(e))return e;const t=e.assignedSlot||e.parentNode||ua(e)&&e.host||oa(e);return ua(t)?t.host:t}function Ca(e){const t=ka(e);return _a(t)?(e.ownerDocument||e).body:ca(t)&&da(t)?t:Ca(t)}function Aa(e,t,n){var r;void 0===t&&(t=[]),void 0===n&&(n=!0);const i=Ca(e),a=i===(null==(r=e.ownerDocument)?void 0:r.body),o=aa(i);if(a){const e=Sa(o);return t.concat(o,o.visualViewport||[],da(i)?i:[],e&&n?Aa(e):[])}return t.concat(i,Aa(i,[],n))}function Sa(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function Ea(e){const t=wa(e);let n=parseFloat(t.width)||0,r=parseFloat(t.height)||0;const i=ca(e),a=i?e.offsetWidth:n,o=i?e.offsetHeight:r,s=zi(n)!==a||zi(r)!==o;return s&&(n=a,r=o),{width:n,height:r,$:s}}function Ma(e){return la(e)?e:e.contextElement}function Ra(e){const t=Ma(e);if(!ca(t))return Ni(1);const n=t.getBoundingClientRect(),{width:r,height:i,$:a}=Ea(t);let o=(a?zi(n.width):n.width)/r,s=(a?zi(n.height):n.height)/i;return o&&Number.isFinite(o)||(o=1),s&&Number.isFinite(s)||(s=1),{x:o,y:s}}const Ta=Ni(0);function La(e){const t=aa(e);return ya()&&t.visualViewport?{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}:Ta}function Da(e,t,n,r){void 0===t&&(t=!1),void 0===n&&(n=!1);const i=e.getBoundingClientRect(),a=Ma(e);let o=Ni(1);t&&(r?la(r)&&(o=Ra(r)):o=Ra(e));const s=function(e,t,n){return void 0===t&&(t=!1),!!n&&t&&n===aa(e)}(a,n,r)?La(a):Ni(0);let l=(i.left+s.x)/o.x,c=(i.top+s.y)/o.y,u=i.width/o.x,d=i.height/o.y;if(a&&r){const e=aa(a),t=la(r)?aa(r):r;let n=e,i=Sa(n);for(;i&&t!==n;){const e=Ra(i),t=i.getBoundingClientRect(),r=wa(i),a=t.left+(i.clientLeft+parseFloat(r.paddingLeft))*e.x,o=t.top+(i.clientTop+parseFloat(r.paddingTop))*e.y;l*=e.x,c*=e.y,u*=e.x,d*=e.y,l+=a,c+=o,n=aa(i),i=Sa(n)}}return Qi({width:u,height:d,x:l,y:c})}function Oa(e,t){const n=xa(e).scrollLeft;return t?t.left+n:Da(oa(e)).left+n}function Fa(e,t){const n=e.getBoundingClientRect();return{x:n.left+t.scrollLeft-Oa(e,n),y:n.top+t.scrollTop}}function za(e,t,n){let r;if("viewport"===t||"layoutViewport"===t)r=function(e,t,n){void 0===n&&(n="viewport");const r="layoutViewport"===n,i=aa(e),a=oa(e),o=i.visualViewport;let s=a.clientWidth,l=a.clientHeight,c=0,u=0;if(o){const e=!ya()||"fixed"===t;r?e||(c=-o.offsetLeft,u=-o.offsetTop):(s=o.width,l=o.height,e&&(c=o.offsetLeft,u=o.offsetTop))}if(Oa(a)<=0){const e=a.ownerDocument,t=e.body,n=getComputedStyle(t),r="CSS1Compat"===e.compatMode&&parseFloat(n.marginLeft)+parseFloat(n.marginRight)||0,i=Math.abs(a.clientWidth-t.clientWidth-r),o="stable both-edges"===getComputedStyle(a).scrollbarGutter?i/2:i;o<=25&&(s-=o)}return{width:s,height:l,x:c,y:u}}(e,n,t);else if("document"===t)r=function(e){const t=xa(e),n=e.ownerDocument.body,r=Fi(e.scrollWidth,e.clientWidth,n.scrollWidth,n.clientWidth),i=Fi(e.scrollHeight,e.clientHeight,n.scrollHeight,n.clientHeight);let a=-t.scrollLeft+Oa(e);const o=-t.scrollTop;return"rtl"===wa(n).direction&&(a+=Fi(e.clientWidth,n.clientWidth)-r),{width:r,height:i,x:a,y:o}}(oa(e));else if(la(t))r=function(e,t){const n=Da(e,!0,"fixed"===t),r=n.top+e.clientTop,i=n.left+e.clientLeft,a=Ra(e);return{width:e.clientWidth*a.x,height:e.clientHeight*a.y,x:i*a.x,y:r*a.y}}(t,n);else{const n=La(e);r={x:t.x-n.x,y:t.y-n.y,width:t.width,height:t.height}}return Qi(r)}function Pa(e,t,n){const r=ca(t),i=oa(t),a="fixed"===n,o=Da(e,!0,a,t);let s={scrollLeft:0,scrollTop:0};const l=Ni(0);if((r||!a)&&(("body"!==ia(t)||da(i))&&(s=xa(t)),r)){const e=Da(t,!0,a,t);l.x=e.x+t.clientLeft,l.y=e.y+t.clientTop}!r&&i&&(l.x=Oa(i));const c=!i||r||a?Ni(0):Fa(i,s);return{x:o.left+s.scrollLeft-l.x-c.x,y:o.top+s.scrollTop-l.y-c.y,width:o.width,height:o.height}}function Na(e){return"static"===wa(e).position}function ja(e,t){if(!ca(e)||"fixed"===wa(e).position)return null;if(t)return t(e);let n=e.offsetParent;return oa(e)===n&&(n=n.ownerDocument.body),n}function Ia(e,t){const n=aa(e);if(ha(e))return n;if(!ca(e)){let t=ka(e);for(;t&&!_a(t);){if(la(t)&&!Na(t))return t;t=ka(t)}return n}let r=ja(e,t);for(;r&&fa(r)&&Na(r);)r=ja(r,t);return r&&_a(r)&&Na(r)&&!ba(r)?n:r||function(e){let t=ka(e);for(;ca(t)&&!_a(t);){if(ba(t))return t;if(ha(t))return null;t=ka(t)}return null}(e)||n}const Ba={convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{elements:t,rect:n,offsetParent:r,strategy:i}=e;const a="fixed"===i,o=oa(r),s=!!t&&ha(t.floating);if(r===o||s&&a)return n;let l={scrollLeft:0,scrollTop:0},c=Ni(1);const u=Ni(0),d=ca(r);if((d||!a)&&(("body"!==ia(r)||da(o))&&(l=xa(r)),d)){const e=Da(r);c=Ra(r),u.x=e.x+r.clientLeft,u.y=e.y+r.clientTop}const f=!o||d||a?Ni(0):Fa(o,l);return{width:n.width*c.x,height:n.height*c.y,x:n.x*c.x-l.scrollLeft*c.x+u.x+f.x,y:n.y*c.y-l.scrollTop*c.y+u.y+f.y}},getDocumentElement:oa,getClippingRect:function(e){let{element:t,boundary:n,rootBoundary:r,strategy:i}=e;const a="clippingAncestors"===n?ha(t)?[]:function(e,t){const n=t.get(e);if(n)return n;let r=Aa(e,[],!1).filter((e=>la(e)&&"body"!==ia(e))),i=null;const a="fixed"===wa(e).position;let o=a?ka(e):e;for(;la(o)&&!_a(o);){const e=wa(o),t=ba(o),n=i?i.position:a?"fixed":"";t||"fixed"!==n&&("absolute"!==n||"static"!==e.position)?i=e:r=r.filter((e=>e!==o)),o=ka(o)}return t.set(e,r),r}(t,this._c):[].concat(n),o=[...a,r],s=za(t,o[0],i);let l=s.top,c=s.right,u=s.bottom,d=s.left;for(let e=1;e<o.length;e++){const n=za(t,o[e],i);l=Fi(n.top,l),c=Oi(n.right,c),u=Oi(n.bottom,u),d=Fi(n.left,d)}return{width:c-d,height:u-l,x:d,y:l}},getOffsetParent:Ia,getElementRects:async function(e){const t=this.getOffsetParent||Ia,n=this.getDimensions,r=await n(e.floating);return{reference:Pa(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}},getClientRects:function(e){return e.getClientRects?Array.from(e.getClientRects()):[]},getDimensions:function(e){const{width:t,height:n}=Ea(e);return{width:t,height:n}},getScale:Ra,isElement:la,isRTL:function(e){return"rtl"===wa(e).direction}};function Wa(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function $a(e,t,n,r){void 0===r&&(r={});const{ancestorScroll:i=!0,ancestorResize:a=!0,elementResize:o="function"==typeof ResizeObserver,layoutShift:s="function"==typeof IntersectionObserver,animationFrame:l=!1}=r,c=Ma(e),u=i||a?[...c?Aa(c):[],...t?Aa(t):[]]:[];u.forEach((e=>{i&&e.addEventListener("scroll",n),a&&e.addEventListener("resize",n)}));const d=c&&s?function(e,t,n){let r,i=null;const a=oa(e);function o(){var e;clearTimeout(r),null==(e=i)||e.disconnect(),i=null}function s(n,l){void 0===n&&(n=!1),void 0===l&&(l=1),o();const c=e.getBoundingClientRect(),{left:u,top:d,width:f,height:h}=c;if(n||t(),!f||!h)return;const p={rootMargin:-Pi(d)+"px "+-Pi(a.clientWidth-(u+f))+"px "+-Pi(a.clientHeight-(d+h))+"px "+-Pi(u)+"px",threshold:Fi(0,Oi(1,l))||1};let g=!0;function m(t){const n=t[0].intersectionRatio;if(!Wa(c,e.getBoundingClientRect()))return s();if(n!==l){if(!g)return s();n?s(!1,n):r=setTimeout((()=>{s(!1,1e-7)}),1e3)}g=!1}try{i=new IntersectionObserver(m,{...p,root:a.ownerDocument})}catch(e){i=new IntersectionObserver(m,p)}i.observe(e)}const l=aa(e),c=()=>s(n);return l.addEventListener("resize",c),s(!0),()=>{l.removeEventListener("resize",c),o()}}(c,n,a):null;let f,h=-1,p=null;o&&(p=new ResizeObserver((e=>{let[r]=e;r&&r.target===c&&p&&t&&(p.unobserve(t),cancelAnimationFrame(h),h=requestAnimationFrame((()=>{var e;null==(e=p)||e.observe(t)}))),n()})),c&&!l&&p.observe(c),t&&p.observe(t));let g=l?Da(e):null;return l&&function t(){const r=Da(e);g&&!Wa(g,r)&&n();g=r,f=requestAnimationFrame(t)}(),n(),()=>{var e;u.forEach((e=>{i&&e.removeEventListener("scroll",n),a&&e.removeEventListener("resize",n)})),null==d||d(),null==(e=p)||e.disconnect(),p=null,l&&cancelAnimationFrame(f)}}const qa=function(e){return void 0===e&&(e=0),{name:"offset",options:e,async fn(t){var n,r;const{x:i,y:a,placement:o,middlewareData:s}=t,l=await async function(e,t){const{placement:n,platform:r,elements:i}=e,a=await(null==r.isRTL?void 0:r.isRTL(i.floating)),o=Bi(n),s=Wi(n),l="y"===Hi(n),c=na.has(o)?-1:1,u=a&&l?-1:1,d=Ii(t,e);let{mainAxis:f,crossAxis:h,alignmentAxis:p}="number"==typeof d?{mainAxis:d,crossAxis:0,alignmentAxis:null}:{mainAxis:d.mainAxis||0,crossAxis:d.crossAxis||0,alignmentAxis:d.alignmentAxis};return s&&"number"==typeof p&&(h="end"===s?-1*p:p),l?{x:h*u,y:f*c}:{x:f*c,y:h*u}}(t,e);return o===(null==(n=s.offset)?void 0:n.placement)&&null!=(r=s.arrow)&&r.alignmentOffset?{}:{x:i+l.x,y:a+l.y,data:{...l,placement:o}}}}},Ha=function(e){return void 0===e&&(e={}),{name:"shift",options:e,async fn(t){const{x:n,y:r,placement:i,platform:a}=t,{mainAxis:o=!0,crossAxis:s=!1,limiter:l={fn:e=>{let{x:t,y:n}=e;return{x:t,y:n}}},...c}=Ii(e,t),u={x:n,y:r},d=await a.detectOverflow(t,c),f=Hi(i),h=$i(f);let p=u[h],g=u[f];const m=(e,t)=>function(e,t,n){return Fi(e,Oi(t,n))}(t+d["y"===e?"top":"left"],t,t-d["y"===e?"bottom":"right"]);o&&(p=m(h,p)),s&&(g=m(f,g));const v=l.fn({...t,[h]:p,[f]:g});return{...v,data:{x:v.x-n,y:v.y-r,enabled:{[h]:o,[f]:s}}}}}},Ua=function(e){return void 0===e&&(e={}),{name:"flip",options:e,async fn(t){var n,r;const{placement:i,middlewareData:a,rects:o,initialPlacement:s,platform:l,elements:c}=t,{mainAxis:u=!0,crossAxis:d=!0,fallbackPlacements:f,fallbackStrategy:h="bestFit",fallbackAxisSideDirection:p="none",flipAlignment:g=!0,...m}=Ii(e,t);if(null!=(n=a.arrow)&&n.alignmentOffset)return{};const v=Bi(i),b=Hi(s),y=Bi(s)===s,_=await(null==l.isRTL?void 0:l.isRTL(c.floating)),w=f||(y||!g?[Ki(s)]:function(e){const t=Ki(e);return[Vi(e),t,Vi(t)]}(s)),x="none"!==p;!f&&x&&w.push(...Zi(s,g,p,_));const k=[s,...w],C=await l.detectOverflow(t,m),A=[];let S=(null==(r=a.flip)?void 0:r.overflows)||[];if(u&&A.push(C[v]),d){const e=function(e,t,n){void 0===n&&(n=!1);const r=Wi(e),i=Ui(e),a=qi(i);let o="x"===i?r===(n?"end":"start")?"right":"left":"start"===r?"bottom":"top";return t.reference[a]>t.floating[a]&&(o=Ki(o)),[o,Ki(o)]}(i,o,_);A.push(C[e[0]],C[e[1]])}if(S=[...S,{placement:i,overflows:A}],!A.every((e=>e<=0))){var E,M;const e=((null==(E=a.flip)?void 0:E.index)||0)+1,t=k[e];if(t){if(!("alignment"===d&&b!==Hi(t))||S.every((e=>Hi(e.placement)!==b||e.overflows[0]>0)))return{data:{index:e,overflows:S},reset:{placement:t}}}let n=null==(M=S.filter((e=>e.overflows[0]<=0)).sort(((e,t)=>e.overflows[1]-t.overflows[1]))[0])?void 0:M.placement;if(!n)switch(h){case"bestFit":{var R;const e=null==(R=S.filter((e=>{if(x){const t=Hi(e.placement);return t===b||"y"===t}return!0})).map((e=>[e.placement,e.overflows.filter((e=>e>0)).reduce(((e,t)=>e+t),0)])).sort(((e,t)=>e[1]-t[1]))[0])?void 0:R[0];e&&(n=e);break}case"initialPlacement":n=s}if(i!==n)return{reset:{placement:n}}}return{}}}},Va=(e,t,n)=>{const r=new Map,i=null!=n?n:{},a={...Ba,...i.platform,_c:r};return(async(e,t,n)=>{const{placement:r="bottom",strategy:i="absolute",middleware:a=[],platform:o}=n,s=o.detectOverflow?o:{...o,detectOverflow:ta},l=await(null==o.isRTL?void 0:o.isRTL(t));let c=await o.getElementRects({reference:e,floating:t,strategy:i}),{x:u,y:d}=ea(c,r,l),f=r,h=0;const p={};for(let n=0;n<a.length;n++){const g=a[n];if(!g)continue;const{name:m,fn:v}=g,{x:b,y:y,data:_,reset:w}=await v({x:u,y:d,initialPlacement:r,placement:f,strategy:i,middlewareData:p,rects:c,platform:s,elements:{reference:e,floating:t}});u=null!=b?b:u,d=null!=y?y:d,p[m]={...p[m],..._},w&&h<50&&(h++,"object"==typeof w&&(w.placement&&(f=w.placement),w.rects&&(c=!0===w.rects?await o.getElementRects({reference:e,floating:t,strategy:i}):w.rects),({x:u,y:d}=ea(c,f,l))),n=-1)}return{x:u,y:d,placement:f,strategy:i,middlewareData:p}})(e,t,{...i,platform:a})};var Ya="styles_custom-tooltip__2reCz";const Ga=({children:e,"data-testid":t})=>yi("div",{className:Ya,"data-testid":t,children:yi(Ci,{className:"tooltip-content",size:"s",bold:!0,children:e})}),Xa=e=>{const{placement:t="top",triggerRef:n,tooltipRef:r,isVisible:i}=e,a=C(null),o=C(null);S((()=>{a.current=n.current,o.current=r.current}),[n,r]),S((()=>{if(!i||!a.current||!o.current)return;const e=a.current,n=o.current,r=()=>{Va(e,n,{placement:t,middleware:[qa(6),Ua(),Ha({padding:5})]}).then((({x:e,y:t})=>{Object.assign(n.style,{left:`${e}px`,top:`${t}px`,position:"absolute","z-index":100})}))};return r(),$a(e,n,r)}),[i,t])},Ja=({tooltipText:e,tooltipTextAfterClick:t,tooltipComponent:n,children:r,placement:i="top",triggerMode:a="hover",autoHideDelay:o=600,showDelay:s=200,isTriggerActive:l=!0,"data-testid":c,className:u,triggerClassName:d})=>{const f=C(null),h=C(null),[p,g]=A(!1),[m,v]=A(e),b=C(null),y=C(null);S((()=>{v(e)}),[e]),S((()=>{if(!p||!h.current||!f.current)return;const e=h.current,t=f.current,n=()=>{Va(e,t,{placement:i,middleware:[qa(6),Ua(),Ha({padding:5})]}).then((({x:e,y:n})=>{Object.assign(t.style,{left:`${e}px`,top:`${n}px`,position:"absolute","z-index":100})}))};return n(),$a(e,t,n)}),[p,i,e]);S((()=>()=>{b.current&&clearTimeout(b.current)}),[]);const _=n||yi(Ga,{"data-testid":c,children:m});return yi("div",{className:u,onMouseEnter:()=>{"hover"===a&&l&&(y.current=window.setTimeout((()=>{g(!0)}),s)),"click"===a&&b.current&&clearTimeout(b.current)},onMouseLeave:()=>{y.current&&clearTimeout(y.current),"hover"===a?(g(!1),v(e)):"click"===a&&p&&(b.current=window.setTimeout((()=>{g(!1)}),o))},onClick:()=>{"click"===a&&h.current&&l&&(g(!0),b.current&&clearTimeout(b.current)),t&&v(t)},children:[yi("div",{ref:h,className:d,children:r}),yi("div",{ref:f,children:p&&_})]})},Za=(e,t={})=>{const{observeResize:n=!0}=t,[r,i]=A(null),[a,o]=A(!1),s=E((e=>{i(e)}),[]);return S((()=>{if(!r)return;const e=r.parentElement,t=()=>{o((e=>{const t=e.scrollWidth>e.clientWidth||e.scrollHeight>e.clientHeight,n=e.parentElement,r=!!n&&(n.scrollWidth>n.clientWidth||n.scrollHeight>n.clientHeight);return t||r})(r))};t();const i=requestAnimationFrame(t);if(document.fonts?.ready.then(t),!n)return()=>cancelAnimationFrame(i);const a=()=>{t()};if(window.addEventListener("resize",a),"undefined"==typeof ResizeObserver)return()=>{cancelAnimationFrame(i),window.removeEventListener("resize",a)};const s=new ResizeObserver(t);return s.observe(r),e&&s.observe(e),()=>{cancelAnimationFrame(i),window.removeEventListener("resize",a),s.disconnect()}}),[r,n,...e]),{ref:s,isTruncated:a}};var Ka="styles_wrapper__LSy9A",Qa="styles_trigger__e8spV",eo="styles_link__zUQ-q";const to=({href:e,text:t})=>{const{ref:n,isTruncated:r}=Za([t]);return yi(Ja,{tooltipText:t,placement:"bottom",isTriggerActive:r,className:Ka,triggerClassName:Qa,children:yi(Di,{href:e,text:t,textRef:n,isTextTruncated:!0,style:"ghost",action:"accent",size:"s",icon:wi.lineArrowsArrowLeft,className:eo,"data-testid":"overview-link"})})},no=["failed","broken","passed","skipped","unknown"],ro=new Set(["failed","broken"]),io=new Set(["passed"]),ao=new Set([...ro,...io]),oo=e=>{const t=new Set(e);return e=>t.has(e.status)};oo(io),oo(ro),oo(ao);const so=(e,t,n=1)=>{e[t]=(e?.[t]??0)+n,e.total+=n};var lo,co;!function(e){e.Amazon="amazon",e.Azure="azure",e.Bitbucket="bitbucket",e.Circle="circle",e.Drone="drone",e.Github="github",e.Gitlab="gitlab",e.Jenkins="jenkins",e.Local="local"}(lo||(lo={})),function(e){e.Github="github",e.Gitlab="gitlab",e.Bitbucket="bitbucket",e.Other="other"}(co||(co={}));const uo=[{suffix:"d",accessor:e=>Math.floor(e/864e5)},{suffix:"h",accessor:e=>Math.floor(e/36e5)%24},{suffix:"m",accessor:e=>Math.floor(e/6e4)%60},{suffix:"s",accessor:e=>Math.floor(e/1e3)%60},{suffix:"ms",accessor:e=>Math.round(e)%1e3}],fo=e=>{if(void 0===e)return"unknown";if(e<.5)return"0s";const t=[];for(const{accessor:n,suffix:r}of uo){const i=n(e);if((0!==t.length||i)&&(t.push(i+r),t.length>1))break}return t.join(" ")},ho=e=>Array.from(ao).reduce(((t,n)=>t+(e[n]??0)),0);new TextEncoder;const po=new Set(["http:","https:","mailto:","tel:"]),go=e=>{if("string"!=typeof e)return;const t=e.trim();if(0===t.length)return;const n=t.match(/^([A-Za-z][A-Za-z0-9+.-]*):/);if(!n)return;const r=`${n[1].toLowerCase()}:`;if(po.has(r))try{return new URL(t).toString()}catch{return}},mo=async e=>(await new Promise((e=>{const t=()=>{if(globalThis.allureReportDataReady)return e(!0);setTimeout(t,30)};t()})),new Promise(((t,n)=>{const r=globalThis.allureReportData??{};if(e in r)return t(r[e]);const i=e.replace(/\\/g,"/");if(i in r)return t(r[i]);const a=i.replace(/\//g,"\\");return a in r?t(r[a]):n(new Error(`Data "${e}" not found!`))}))),vo=async(e,t)=>{const n=await(async(e,t="application/octet-stream")=>{if(globalThis.allureReportData){const[n]=e.split("?");return`data:${t};base64,${await mo(n)}`}const n=globalThis.document.head.querySelector("base")?.href??"https://localhost",r=new URL(e,n),i=globalThis.localStorage.getItem("__allure_report_live_reload_hash__");return bo(),i&&r.searchParams.set("live_reload_hash",i),r.toString()})(e,t);return globalThis.fetch(n)},bo=()=>globalThis.allureReportOptions,yo="application/vnd.allure.playwright-trace",_o=e=>e.split(";")[0].trim().toLowerCase()===yo?"application/zip":e,wo=async({id:e,ext:t,contentType:n})=>vo(`data/attachments/${`${e||"-"}${t||""}`}?attachment`,n),xo=async(e,t,n)=>{const r=await wo({id:e,ext:t,contentType:_o(n)});return await r.blob()},ko="application/vnd.allure.diagrams.mermaid",Co=[ko,"text/html","text/csv","text/markdown","text/tab-separated-values","text/uri-list"],Ao=new Set(["js","mjs","cjs","jsx","ts","mts","cts","tsx","json","html","htm","xml","css","csv","tsv","md","markdown","yaml","yml","java","py","rb","go","php","sql","kt","swift","rs","c","cpp","cs","scala","dart","lua","haskell","r","perl"]),So=new Set(["text/plain","text/*","text/uri-list"]),Eo=new Set(["text/markdown","text/html","text/csv","text/tab-separated-values","text/xml","text/json","text/yaml","text/javascript","text/typescript","text/ruby","text/python","text/php","text/java","text/csharp","text/cpp","text/c","text/go","text/rust","text/swift","text/kotlin","text/scala","text/perl","text/r","text/dart","text/lua","text/haskell","text/sql","text/x-yaml","text/css","application/yaml","application/x-yaml","application/xml","application/json"]),Mo=e=>{const t=e.lastIndexOf(".");if(!(t<=0||t===e.length-1))return e.slice(t)},Ro=e=>{const t=e?.split(";")[0].trim().toLowerCase();switch(t){case"image/bmp":case"image/gif":case"image/tiff":case"image/jpeg":case"image/jpg":case"image/png":case"image/webp":case"image/*":return"image";case"text/xml":case"text/json":case"text/yaml":case"text/javascript":case"text/typescript":case"text/ruby":case"text/python":case"text/php":case"text/java":case"text/csharp":case"text/cpp":case"text/c":case"text/go":case"text/rust":case"text/swift":case"text/kotlin":case"text/scala":case"text/perl":case"text/r":case"text/dart":case"text/lua":case"text/haskell":case"text/sql":case"text/x-yaml":case"text/css":case"application/yaml":case"application/x-yaml":case"application/xml":case"application/json":return"code";case"text/plain":case"text/*":return"text";case"text/markdown":return"markdown";case"text/html":return"html";case"text/csv":case"text/tab-separated-values":return"table";case"image/svg+xml":return"svg";case"video/mp4":case"video/ogg":case"video/webm":return"video";case"text/uri-list":return"uri";case"application/x-tar":case"application/x-gtar":case"application/x-bzip2":case"application/gzip":case"application/zip":case yo:return"archive";case"application/vnd.allure.image.diff":return"image-diff";case"application/vnd.allure.http+json":return"http";case ko:return"mermaid";default:return null}},To=async e=>{try{if(navigator.clipboard)return await navigator.clipboard.writeText(e),!0;const t=document.createElement("textarea");return t.value=e,t.style.position="fixed",t.style.opacity="0",document.body.appendChild(t),t.focus(),t.select(),document.execCommand("copy"),document.body.removeChild(t),!0}catch{return!1}},Lo={en:{short:"Eng",full:"English",iso:"en-US"},"en-iso":{short:"En ISO",full:"English (ISO-8601)",iso:"en-CA"},ru:{short:"Ру",full:"Русский",iso:"ru-RU"},uk:{short:"Ук",full:"Українська",iso:"uk-UA"},pl:{short:"Pl",full:"Polski",iso:"pl-PL"},es:{short:"Es",full:"Español",iso:"es-ES"},pt:{short:"Pt",full:"Português",iso:"pt-PT"},de:{short:"De",full:"Deutsch",iso:"de-DE"},hy:{short:"Hy",full:"Հայերեն",iso:"hy-AM"},ar:{short:"Ar",full:"العربية",iso:"ar-SA"},az:{short:"Az",full:"Azərbaycan",iso:"az-AZ"},fr:{short:"Fr",full:"Français",iso:"fr-FR"},it:{short:"It",full:"Italiano",iso:"it-IT"},ja:{short:"Ja",full:"日本語",iso:"ja-JP"},he:{short:"He",full:"עברית",iso:"he-IL"},ka:{short:"Ka",full:"ქართული",iso:"ka-GE"},kr:{short:"Kr",full:"한국어",iso:"kr-KR"},nl:{short:"Nl",full:"Nederlands",iso:"nl-NL"},sv:{short:"Sv",full:"Svenska",iso:"sv-SE"},tr:{short:"Tr",full:"Türkçe",iso:"tr-TR"},zh:{short:"Zh",full:"中文",iso:"zh-CN"},"zh-TW":{short:"Zh-TW",full:"繁體中文",iso:"zh-TW"}};var Do,Oo,Fo;function zo(e,t,n){e.prototype=t.prototype=n,n.constructor=e}function Po(e,t){var n=Object.create(e.prototype);for(var r in t)n[r]=t[r];return n}function No(){}!function(e){e.CurrentStatus="currentStatus",e.StatusDynamics="statusDynamics",e.StatusTransitions="statusTransitions",e.StabilityDistribution="stabilityDistribution",e.TestBaseGrowthDynamics="testBaseGrowthDynamics",e.StatusAgePyramid="statusAgePyramid",e.Durations="durations",e.DurationDynamics="durationDynamics",e.TrSeverities="testResultSeverities",e.TestingPyramid="testingPyramid",e.CoverageDiff="coverageDiff",e.SuccessRateDistribution="successRateDistribution",e.ProblemsDistribution="problemsDistribution"}(Do||(Do={})),function(e){e.Status="status",e.Severity="severity"}(Oo||(Oo={})),function(e){e.Raw="raw",e.Percent="percent",e.Diverging="diverging"}(Fo||(Fo={})),Do.CurrentStatus,Do.StatusDynamics,Do.TrSeverities,Do.StatusTransitions,Do.TestBaseGrowthDynamics,Do.CoverageDiff,Do.SuccessRateDistribution,Do.ProblemsDistribution,Do.StabilityDistribution,Do.StabilityDistribution,Do.StabilityDistribution,Do.Durations,Do.Durations,Do.DurationDynamics,Do.StatusAgePyramid,Do.TestingPyramid;var jo=.7,Io=1/jo,Bo="\\s*([+-]?\\d+)\\s*",Wo="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*",$o="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*",qo=/^#([0-9a-f]{3,8})$/,Ho=new RegExp(`^rgb\\(${Bo},${Bo},${Bo}\\)$`),Uo=new RegExp(`^rgb\\(${$o},${$o},${$o}\\)$`),Vo=new RegExp(`^rgba\\(${Bo},${Bo},${Bo},${Wo}\\)$`),Yo=new RegExp(`^rgba\\(${$o},${$o},${$o},${Wo}\\)$`),Go=new RegExp(`^hsl\\(${Wo},${$o},${$o}\\)$`),Xo=new RegExp(`^hsla\\(${Wo},${$o},${$o},${Wo}\\)$`),Jo={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 Zo(){return this.rgb().formatHex()}function Ko(){return this.rgb().formatRgb()}function Qo(e){var t,n;return e=(e+"").trim().toLowerCase(),(t=qo.exec(e))?(n=t[1].length,t=parseInt(t[1],16),6===n?es(t):3===n?new is(t>>8&15|t>>4&240,t>>4&15|240&t,(15&t)<<4|15&t,1):8===n?ts(t>>24&255,t>>16&255,t>>8&255,(255&t)/255):4===n?ts(t>>12&15|t>>8&240,t>>8&15|t>>4&240,t>>4&15|240&t,((15&t)<<4|15&t)/255):null):(t=Ho.exec(e))?new is(t[1],t[2],t[3],1):(t=Uo.exec(e))?new is(255*t[1]/100,255*t[2]/100,255*t[3]/100,1):(t=Vo.exec(e))?ts(t[1],t[2],t[3],t[4]):(t=Yo.exec(e))?ts(255*t[1]/100,255*t[2]/100,255*t[3]/100,t[4]):(t=Go.exec(e))?us(t[1],t[2]/100,t[3]/100,1):(t=Xo.exec(e))?us(t[1],t[2]/100,t[3]/100,t[4]):Jo.hasOwnProperty(e)?es(Jo[e]):"transparent"===e?new is(NaN,NaN,NaN,0):null}function es(e){return new is(e>>16&255,e>>8&255,255&e,1)}function ts(e,t,n,r){return r<=0&&(e=t=n=NaN),new is(e,t,n,r)}function ns(e){return e instanceof No||(e=Qo(e)),e?new is((e=e.rgb()).r,e.g,e.b,e.opacity):new is}function rs(e,t,n,r){return 1===arguments.length?ns(e):new is(e,t,n,null==r?1:r)}function is(e,t,n,r){this.r=+e,this.g=+t,this.b=+n,this.opacity=+r}function as(){return`#${cs(this.r)}${cs(this.g)}${cs(this.b)}`}function os(){const e=ss(this.opacity);return`${1===e?"rgb(":"rgba("}${ls(this.r)}, ${ls(this.g)}, ${ls(this.b)}${1===e?")":`, ${e})`}`}function ss(e){return isNaN(e)?1:Math.max(0,Math.min(1,e))}function ls(e){return Math.max(0,Math.min(255,Math.round(e)||0))}function cs(e){return((e=ls(e))<16?"0":"")+e.toString(16)}function us(e,t,n,r){return r<=0?e=t=n=NaN:n<=0||n>=1?e=t=NaN:t<=0&&(e=NaN),new fs(e,t,n,r)}function ds(e){if(e instanceof fs)return new fs(e.h,e.s,e.l,e.opacity);if(e instanceof No||(e=Qo(e)),!e)return new fs;if(e instanceof fs)return e;var t=(e=e.rgb()).r/255,n=e.g/255,r=e.b/255,i=Math.min(t,n,r),a=Math.max(t,n,r),o=NaN,s=a-i,l=(a+i)/2;return s?(o=t===a?(n-r)/s+6*(n<r):n===a?(r-t)/s+2:(t-n)/s+4,s/=l<.5?a+i:2-a-i,o*=60):s=l>0&&l<1?0:o,new fs(o,s,l,e.opacity)}function fs(e,t,n,r){this.h=+e,this.s=+t,this.l=+n,this.opacity=+r}function hs(e){return(e=(e||0)%360)<0?e+360:e}function ps(e){return Math.max(0,Math.min(1,e||0))}function gs(e,t,n){return 255*(e<60?t+(n-t)*e/60:e<180?n:e<240?t+(n-t)*(240-e)/60:t)}zo(No,Qo,{copy(e){return Object.assign(new this.constructor,this,e)},displayable(){return this.rgb().displayable()},hex:Zo,formatHex:Zo,formatHex8:function(){return this.rgb().formatHex8()},formatHsl:function(){return ds(this).formatHsl()},formatRgb:Ko,toString:Ko}),zo(is,rs,Po(No,{brighter(e){return e=null==e?Io:Math.pow(Io,e),new is(this.r*e,this.g*e,this.b*e,this.opacity)},darker(e){return e=null==e?jo:Math.pow(jo,e),new is(this.r*e,this.g*e,this.b*e,this.opacity)},rgb(){return this},clamp(){return new is(ls(this.r),ls(this.g),ls(this.b),ss(this.opacity))},displayable(){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:as,formatHex:as,formatHex8:function(){return`#${cs(this.r)}${cs(this.g)}${cs(this.b)}${cs(255*(isNaN(this.opacity)?1:this.opacity))}`},formatRgb:os,toString:os})),zo(fs,(function(e,t,n,r){return 1===arguments.length?ds(e):new fs(e,t,n,null==r?1:r)}),Po(No,{brighter(e){return e=null==e?Io:Math.pow(Io,e),new fs(this.h,this.s,this.l*e,this.opacity)},darker(e){return e=null==e?jo:Math.pow(jo,e),new fs(this.h,this.s,this.l*e,this.opacity)},rgb(){var e=this.h%360+360*(this.h<0),t=isNaN(e)||isNaN(this.s)?0:this.s,n=this.l,r=n+(n<.5?n:1-n)*t,i=2*n-r;return new is(gs(e>=240?e-240:e+120,i,r),gs(e,i,r),gs(e<120?e+240:e-120,i,r),this.opacity)},clamp(){return new fs(hs(this.h),ps(this.s),ps(this.l),ss(this.opacity))},displayable(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl(){const e=ss(this.opacity);return`${1===e?"hsl(":"hsla("}${hs(this.h)}, ${100*ps(this.s)}%, ${100*ps(this.l)}%${1===e?")":`, ${e})`}`}}));const ms=Math.PI/180,vs=180/Math.PI;var bs=-.14861,ys=1.78277,_s=-.29227,ws=-.90649,xs=1.97294,ks=xs*ws,Cs=xs*ys,As=ys*_s-ws*bs;function Ss(e,t,n,r){return 1===arguments.length?function(e){if(e instanceof Es)return new Es(e.h,e.s,e.l,e.opacity);e instanceof is||(e=ns(e));var t=e.r/255,n=e.g/255,r=e.b/255,i=(As*r+ks*t-Cs*n)/(As+ks-Cs),a=r-i,o=(xs*(n-i)-_s*a)/ws,s=Math.sqrt(o*o+a*a)/(xs*i*(1-i)),l=s?Math.atan2(o,a)*vs-120:NaN;return new Es(l<0?l+360:l,s,i,e.opacity)}(e):new Es(e,t,n,null==r?1:r)}function Es(e,t,n,r){this.h=+e,this.s=+t,this.l=+n,this.opacity=+r}zo(Es,Ss,Po(No,{brighter(e){return e=null==e?Io:Math.pow(Io,e),new Es(this.h,this.s,this.l*e,this.opacity)},darker(e){return e=null==e?jo:Math.pow(jo,e),new Es(this.h,this.s,this.l*e,this.opacity)},rgb(){var e=isNaN(this.h)?0:(this.h+120)*ms,t=+this.l,n=isNaN(this.s)?0:this.s*t*(1-t),r=Math.cos(e),i=Math.sin(e);return new is(255*(t+n*(bs*r+ys*i)),255*(t+n*(_s*r+ws*i)),255*(t+n*(xs*r)),this.opacity)}}));var Ms=e=>()=>e;function Rs(e,t){return function(n){return e+n*t}}function Ts(e){return 1==(e=+e)?Ls:function(t,n){return n-t?function(e,t,n){return e=Math.pow(e,n),t=Math.pow(t,n)-e,n=1/n,function(r){return Math.pow(e+r*t,n)}}(t,n,e):Ms(isNaN(t)?n:t)}}function Ls(e,t){var n=t-e;return n?Rs(e,n):Ms(isNaN(e)?t:e)}var Ds=function e(t){var n=Ts(t);function r(e,t){var r=n((e=rs(e)).r,(t=rs(t)).r),i=n(e.g,t.g),a=n(e.b,t.b),o=Ls(e.opacity,t.opacity);return function(t){return e.r=r(t),e.g=i(t),e.b=a(t),e.opacity=o(t),e+""}}return r.gamma=e,r}(1);var Os,Fs=(Os=function(e){var t=e.length-1;return function(n){var r=n<=0?n=0:n>=1?(n=1,t-1):Math.floor(n*t),i=e[r],a=e[r+1],o=r>0?e[r-1]:2*i-a,s=r<t-1?e[r+2]:2*a-i;return function(e,t,n,r,i){var a=e*e,o=a*e;return((1-3*e+3*a-o)*t+(4-6*a+3*o)*n+(1+3*e+3*a-3*o)*r+o*i)/6}((n-r/t)*t,o,i,a,s)}},function(e){var t,n,r=e.length,i=new Array(r),a=new Array(r),o=new Array(r);for(t=0;t<r;++t)n=rs(e[t]),i[t]=n.r||0,a[t]=n.g||0,o[t]=n.b||0;return i=Os(i),a=Os(a),o=Os(o),n.opacity=1,function(e){return n.r=i(e),n.g=a(e),n.b=o(e),n+""}});function zs(e,t){t||(t=[]);var n,r=e?Math.min(t.length,e.length):0,i=t.slice();return function(a){for(n=0;n<r;++n)i[n]=e[n]*(1-a)+t[n]*a;return i}}function Ps(e,t){var n,r=t?t.length:0,i=e?Math.min(r,e.length):0,a=new Array(i),o=new Array(r);for(n=0;n<i;++n)a[n]=qs(e[n],t[n]);for(;n<r;++n)o[n]=t[n];return function(e){for(n=0;n<i;++n)o[n]=a[n](e);return o}}function Ns(e,t){var n=new Date;return e=+e,t=+t,function(r){return n.setTime(e*(1-r)+t*r),n}}function js(e,t){return e=+e,t=+t,function(n){return e*(1-n)+t*n}}function Is(e,t){var n,r={},i={};for(n in null!==e&&"object"==typeof e||(e={}),null!==t&&"object"==typeof t||(t={}),t)n in e?r[n]=qs(e[n],t[n]):i[n]=t[n];return function(e){for(n in r)i[n]=r[n](e);return i}}var Bs=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,Ws=new RegExp(Bs.source,"g");function $s(e,t){var n,r,i,a=Bs.lastIndex=Ws.lastIndex=0,o=-1,s=[],l=[];for(e+="",t+="";(n=Bs.exec(e))&&(r=Ws.exec(t));)(i=r.index)>a&&(i=t.slice(a,i),s[o]?s[o]+=i:s[++o]=i),(n=n[0])===(r=r[0])?s[o]?s[o]+=r:s[++o]=r:(s[++o]=null,l.push({i:o,x:js(n,r)})),a=Ws.lastIndex;return a<t.length&&(i=t.slice(a),s[o]?s[o]+=i:s[++o]=i),s.length<2?l[0]?function(e){return function(t){return e(t)+""}}(l[0].x):function(e){return function(){return e}}(t):(t=l.length,function(e){for(var n,r=0;r<t;++r)s[(n=l[r]).i]=n.x(e);return s.join("")})}function qs(e,t){var n,r=typeof t;return null==t||"boolean"===r?Ms(t):("number"===r?js:"string"===r?(n=Qo(t))?(t=n,Ds):$s:t instanceof Qo?Ds:t instanceof Date?Ns:function(e){return ArrayBuffer.isView(e)&&!(e instanceof DataView)}(t)?zs:Array.isArray(t)?Ps:"function"!=typeof t.valueOf&&"function"!=typeof t.toString||isNaN(t)?Is:js)(e,t)}function Hs(e,t){return e=+e,t=+t,function(n){return Math.round(e*(1-n)+t*n)}}var Us,Vs=180/Math.PI,Ys={translateX:0,translateY:0,rotate:0,skewX:0,scaleX:1,scaleY:1};function Gs(e,t,n,r,i,a){var o,s,l;return(o=Math.sqrt(e*e+t*t))&&(e/=o,t/=o),(l=e*n+t*r)&&(n-=e*l,r-=t*l),(s=Math.sqrt(n*n+r*r))&&(n/=s,r/=s,l/=s),e*r<t*n&&(e=-e,t=-t,l=-l,o=-o),{translateX:i,translateY:a,rotate:Math.atan2(t,e)*Vs,skewX:Math.atan(l)*Vs,scaleX:o,scaleY:s}}function Xs(e,t,n,r){function i(e){return e.length?e.pop()+" ":""}return function(a,o){var s=[],l=[];return a=e(a),o=e(o),function(e,r,i,a,o,s){if(e!==i||r!==a){var l=o.push("translate(",null,t,null,n);s.push({i:l-4,x:js(e,i)},{i:l-2,x:js(r,a)})}else(i||a)&&o.push("translate("+i+t+a+n)}(a.translateX,a.translateY,o.translateX,o.translateY,s,l),function(e,t,n,a){e!==t?(e-t>180?t+=360:t-e>180&&(e+=360),a.push({i:n.push(i(n)+"rotate(",null,r)-2,x:js(e,t)})):t&&n.push(i(n)+"rotate("+t+r)}(a.rotate,o.rotate,s,l),function(e,t,n,a){e!==t?a.push({i:n.push(i(n)+"skewX(",null,r)-2,x:js(e,t)}):t&&n.push(i(n)+"skewX("+t+r)}(a.skewX,o.skewX,s,l),function(e,t,n,r,a,o){if(e!==n||t!==r){var s=a.push(i(a)+"scale(",null,",",null,")");o.push({i:s-4,x:js(e,n)},{i:s-2,x:js(t,r)})}else 1===n&&1===r||a.push(i(a)+"scale("+n+","+r+")")}(a.scaleX,a.scaleY,o.scaleX,o.scaleY,s,l),a=o=null,function(e){for(var t,n=-1,r=l.length;++n<r;)s[(t=l[n]).i]=t.x(e);return s.join("")}}}var Js=Xs((function(e){const t=new("function"==typeof DOMMatrix?DOMMatrix:WebKitCSSMatrix)(e+"");return t.isIdentity?Ys:Gs(t.a,t.b,t.c,t.d,t.e,t.f)}),"px, ","px)","deg)"),Zs=Xs((function(e){return null==e?Ys:(Us||(Us=document.createElementNS("http://www.w3.org/2000/svg","g")),Us.setAttribute("transform",e),(e=Us.transform.baseVal.consolidate())?Gs((e=e.matrix).a,e.b,e.c,e.d,e.e,e.f):Ys)}),", ",")",")");function Ks(e){return function t(n){function r(t,r){var i=e((t=Ss(t)).h,(r=Ss(r)).h),a=Ls(t.s,r.s),o=Ls(t.l,r.l),s=Ls(t.opacity,r.opacity);return function(e){return t.h=i(e),t.s=a(e),t.l=o(Math.pow(e,n)),t.opacity=s(e),t+""}}return n=+n,r.gamma=t,r}(1)}Ks((function(e,t){var n=t-e;return n?Rs(e,n>180||n<-180?n-360*Math.round(n/360):n):Ms(isNaN(e)?t:e)}));var Qs=Ks(Ls);function el(e,t){return null==e||null==t?NaN:e<t?-1:e>t?1:e>=t?0:NaN}function tl(e,t){return null==e||null==t?NaN:t<e?-1:t>e?1:t>=e?0:NaN}function nl(e){let t,n,r;function i(e,r,i=0,a=e.length){if(i<a){if(0!==t(r,r))return a;do{const t=i+a>>>1;n(e[t],r)<0?i=t+1:a=t}while(i<a)}return i}return 2!==e.length?(t=el,n=(t,n)=>el(e(t),n),r=(t,n)=>e(t)-n):(t=e===el||e===tl?e:rl,n=e,r=e),{left:i,center:function(e,t,n=0,a=e.length){const o=i(e,t,n,a-1);return o>n&&r(e[o-1],t)>-r(e[o],t)?o-1:o},right:function(e,r,i=0,a=e.length){if(i<a){if(0!==t(r,r))return a;do{const t=i+a>>>1;n(e[t],r)<=0?i=t+1:a=t}while(i<a)}return i}}}function rl(){return 0}const il=nl(el).right;nl((function(e){return null===e?NaN:+e})).center;class al extends Map{constructor(e,t=sl){if(super(),Object.defineProperties(this,{_intern:{value:new Map},_key:{value:t}}),null!=e)for(const[t,n]of e)this.set(t,n)}get(e){return super.get(ol(this,e))}has(e){return super.has(ol(this,e))}set(e,t){return super.set(function({_intern:e,_key:t},n){const r=t(n);return e.has(r)?e.get(r):(e.set(r,n),n)}(this,e),t)}delete(e){return super.delete(function({_intern:e,_key:t},n){const r=t(n);e.has(r)&&(n=e.get(r),e.delete(r));return n}(this,e))}}function ol({_intern:e,_key:t},n){const r=t(n);return e.has(r)?e.get(r):n}function sl(e){return null!==e&&"object"==typeof e?e.valueOf():e}const ll=Math.sqrt(50),cl=Math.sqrt(10),ul=Math.sqrt(2);function dl(e,t,n){const r=(t-e)/Math.max(0,n),i=Math.floor(Math.log10(r)),a=r/Math.pow(10,i),o=a>=ll?10:a>=cl?5:a>=ul?2:1;let s,l,c;return i<0?(c=Math.pow(10,-i)/o,s=Math.round(e*c),l=Math.round(t*c),s/c<e&&++s,l/c>t&&--l,c=-c):(c=Math.pow(10,i)*o,s=Math.round(e/c),l=Math.round(t/c),s*c<e&&++s,l*c>t&&--l),l<s&&.5<=n&&n<2?dl(e,t,2*n):[s,l,c]}function fl(e,t,n){if(!((n=+n)>0))return[];if((e=+e)===(t=+t))return[e];const r=t<e,[i,a,o]=r?dl(t,e,n):dl(e,t,n);if(!(a>=i))return[];const s=a-i+1,l=new Array(s);if(r)if(o<0)for(let e=0;e<s;++e)l[e]=(a-e)/-o;else for(let e=0;e<s;++e)l[e]=(a-e)*o;else if(o<0)for(let e=0;e<s;++e)l[e]=(i+e)/-o;else for(let e=0;e<s;++e)l[e]=(i+e)*o;return l}function hl(e,t,n){return dl(e=+e,t=+t,n=+n)[2]}function pl(e,t,n){n=+n;const r=(t=+t)<(e=+e),i=r?hl(t,e,n):hl(e,t,n);return(r?-1:1)*(i<0?1/-i:i)}function gl(e,t){let n;if(void 0===t)for(const t of e)null!=t&&(n<t||void 0===n&&t>=t)&&(n=t);else{let r=-1;for(let i of e)null!=(i=t(i,++r,e))&&(n<i||void 0===n&&i>=i)&&(n=i)}return n}function ml(e,t){let n;if(void 0===t)for(const t of e)null!=t&&(n>t||void 0===n&&t>=t)&&(n=t);else{let r=-1;for(let i of e)null!=(i=t(i,++r,e))&&(n>i||void 0===n&&i>=i)&&(n=i)}return n}function vl(e,t){switch(arguments.length){case 0:break;case 1:this.range(e);break;default:this.range(t).domain(e)}return this}function bl(e,t){switch(arguments.length){case 0:break;case 1:"function"==typeof e?this.interpolator(e):this.range(e);break;default:this.domain(e),"function"==typeof t?this.interpolator(t):this.range(t)}return this}const yl=Symbol("implicit");function _l(){var e=new al,t=[],n=[],r=yl;function i(i){let a=e.get(i);if(void 0===a){if(r!==yl)return r;e.set(i,a=t.push(i)-1)}return n[a%n.length]}return i.domain=function(n){if(!arguments.length)return t.slice();t=[],e=new al;for(const r of n)e.has(r)||e.set(r,t.push(r)-1);return i},i.range=function(e){return arguments.length?(n=Array.from(e),i):n.slice()},i.unknown=function(e){return arguments.length?(r=e,i):r},i.copy=function(){return _l(t,n).unknown(r)},vl.apply(i,arguments),i}function wl(){var e,t,n=_l().unknown(void 0),r=n.domain,i=n.range,a=0,o=1,s=!1,l=0,c=0,u=.5;function d(){var n=r().length,d=o<a,f=d?o:a,h=d?a:o;e=(h-f)/Math.max(1,n-l+2*c),s&&(e=Math.floor(e)),f+=(h-f-e*(n-l))*u,t=e*(1-l),s&&(f=Math.round(f),t=Math.round(t));var p=function(e,t,n){e=+e,t=+t,n=(i=arguments.length)<2?(t=e,e=0,1):i<3?1:+n;for(var r=-1,i=0|Math.max(0,Math.ceil((t-e)/n)),a=new Array(i);++r<i;)a[r]=e+r*n;return a}(n).map((function(t){return f+e*t}));return i(d?p.reverse():p)}return delete n.unknown,n.domain=function(e){return arguments.length?(r(e),d()):r()},n.range=function(e){return arguments.length?([a,o]=e,a=+a,o=+o,d()):[a,o]},n.rangeRound=function(e){return[a,o]=e,a=+a,o=+o,s=!0,d()},n.bandwidth=function(){return t},n.step=function(){return e},n.round=function(e){return arguments.length?(s=!!e,d()):s},n.padding=function(e){return arguments.length?(l=Math.min(1,c=+e),d()):l},n.paddingInner=function(e){return arguments.length?(l=Math.min(1,e),d()):l},n.paddingOuter=function(e){return arguments.length?(c=+e,d()):c},n.align=function(e){return arguments.length?(u=Math.max(0,Math.min(1,e)),d()):u},n.copy=function(){return wl(r(),[a,o]).round(s).paddingInner(l).paddingOuter(c).align(u)},vl.apply(d(),arguments)}function xl(e){var t=e.copy;return e.padding=e.paddingOuter,delete e.paddingInner,delete e.paddingOuter,e.copy=function(){return xl(t())},e}function kl(){return xl(wl.apply(null,arguments).paddingInner(1))}function Cl(e){return+e}var Al=[0,1];function Sl(e){return e}function El(e,t){return(t-=e=+e)?function(n){return(n-e)/t}:function(e){return function(){return e}}(isNaN(t)?NaN:.5)}function Ml(e,t,n){var r=e[0],i=e[1],a=t[0],o=t[1];return i<r?(r=El(i,r),a=n(o,a)):(r=El(r,i),a=n(a,o)),function(e){return a(r(e))}}function Rl(e,t,n){var r=Math.min(e.length,t.length)-1,i=new Array(r),a=new Array(r),o=-1;for(e[r]<e[0]&&(e=e.slice().reverse(),t=t.slice().reverse());++o<r;)i[o]=El(e[o],e[o+1]),a[o]=n(t[o],t[o+1]);return function(t){var n=il(e,t,1,r)-1;return a[n](i[n](t))}}function Tl(e,t){return t.domain(e.domain()).range(e.range()).interpolate(e.interpolate()).clamp(e.clamp()).unknown(e.unknown())}function Ll(){var e,t,n,r,i,a,o=Al,s=Al,l=qs,c=Sl;function u(){var e=Math.min(o.length,s.length);return c!==Sl&&(c=function(e,t){var n;return e>t&&(n=e,e=t,t=n),function(n){return Math.max(e,Math.min(t,n))}}(o[0],o[e-1])),r=e>2?Rl:Ml,i=a=null,d}function d(t){return null==t||isNaN(t=+t)?n:(i||(i=r(o.map(e),s,l)))(e(c(t)))}return d.invert=function(n){return c(t((a||(a=r(s,o.map(e),js)))(n)))},d.domain=function(e){return arguments.length?(o=Array.from(e,Cl),u()):o.slice()},d.range=function(e){return arguments.length?(s=Array.from(e),u()):s.slice()},d.rangeRound=function(e){return s=Array.from(e),l=Hs,u()},d.clamp=function(e){return arguments.length?(c=!!e||Sl,u()):c!==Sl},d.interpolate=function(e){return arguments.length?(l=e,u()):l},d.unknown=function(e){return arguments.length?(n=e,d):n},function(n,r){return e=n,t=r,u()}}function Dl(){return Ll()(Sl,Sl)}function Ol(e,t){if((n=(e=t?e.toExponential(t-1):e.toExponential()).indexOf("e"))<0)return null;var n,r=e.slice(0,n);return[r.length>1?r[0]+r.slice(2):r,+e.slice(n+1)]}function Fl(e){return(e=Ol(Math.abs(e)))?e[1]:NaN}var zl,Pl=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function Nl(e){if(!(t=Pl.exec(e)))throw new Error("invalid format: "+e);var t;return new jl({fill:t[1],align:t[2],sign:t[3],symbol:t[4],zero:t[5],width:t[6],comma:t[7],precision:t[8]&&t[8].slice(1),trim:t[9],type:t[10]})}function jl(e){this.fill=void 0===e.fill?" ":e.fill+"",this.align=void 0===e.align?">":e.align+"",this.sign=void 0===e.sign?"-":e.sign+"",this.symbol=void 0===e.symbol?"":e.symbol+"",this.zero=!!e.zero,this.width=void 0===e.width?void 0:+e.width,this.comma=!!e.comma,this.precision=void 0===e.precision?void 0:+e.precision,this.trim=!!e.trim,this.type=void 0===e.type?"":e.type+""}function Il(e,t){var n=Ol(e,t);if(!n)return e+"";var r=n[0],i=n[1];return i<0?"0."+new Array(-i).join("0")+r:r.length>i+1?r.slice(0,i+1)+"."+r.slice(i+1):r+new Array(i-r.length+2).join("0")}Nl.prototype=jl.prototype,jl.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 Bl={"%":(e,t)=>(100*e).toFixed(t),b:e=>Math.round(e).toString(2),c:e=>e+"",d:function(e){return Math.abs(e=Math.round(e))>=1e21?e.toLocaleString("en").replace(/,/g,""):e.toString(10)},e:(e,t)=>e.toExponential(t),f:(e,t)=>e.toFixed(t),g:(e,t)=>e.toPrecision(t),o:e=>Math.round(e).toString(8),p:(e,t)=>Il(100*e,t),r:Il,s:function(e,t){var n=Ol(e,t);if(!n)return e+"";var r=n[0],i=n[1],a=i-(zl=3*Math.max(-8,Math.min(8,Math.floor(i/3))))+1,o=r.length;return a===o?r:a>o?r+new Array(a-o+1).join("0"):a>0?r.slice(0,a)+"."+r.slice(a):"0."+new Array(1-a).join("0")+Ol(e,Math.max(0,t+a-1))[0]},X:e=>Math.round(e).toString(16).toUpperCase(),x:e=>Math.round(e).toString(16)};function Wl(e){return e}var $l,ql,Hl,Ul=Array.prototype.map,Vl=["y","z","a","f","p","n","µ","m","","k","M","G","T","P","E","Z","Y"];function Yl(e){var t,n,r=void 0===e.grouping||void 0===e.thousands?Wl:(t=Ul.call(e.grouping,Number),n=e.thousands+"",function(e,r){for(var i=e.length,a=[],o=0,s=t[0],l=0;i>0&&s>0&&(l+s+1>r&&(s=Math.max(1,r-l)),a.push(e.substring(i-=s,i+s)),!((l+=s+1)>r));)s=t[o=(o+1)%t.length];return a.reverse().join(n)}),i=void 0===e.currency?"":e.currency[0]+"",a=void 0===e.currency?"":e.currency[1]+"",o=void 0===e.decimal?".":e.decimal+"",s=void 0===e.numerals?Wl:function(e){return function(t){return t.replace(/[0-9]/g,(function(t){return e[+t]}))}}(Ul.call(e.numerals,String)),l=void 0===e.percent?"%":e.percent+"",c=void 0===e.minus?"−":e.minus+"",u=void 0===e.nan?"NaN":e.nan+"";function d(e){var t=(e=Nl(e)).fill,n=e.align,d=e.sign,f=e.symbol,h=e.zero,p=e.width,g=e.comma,m=e.precision,v=e.trim,b=e.type;"n"===b?(g=!0,b="g"):Bl[b]||(void 0===m&&(m=12),v=!0,b="g"),(h||"0"===t&&"="===n)&&(h=!0,t="0",n="=");var y="$"===f?i:"#"===f&&/[boxX]/.test(b)?"0"+b.toLowerCase():"",_="$"===f?a:/[%p]/.test(b)?l:"",w=Bl[b],x=/[defgprs%]/.test(b);function k(e){var i,a,l,f=y,k=_;if("c"===b)k=w(e)+k,e="";else{var C=(e=+e)<0||1/e<0;if(e=isNaN(e)?u:w(Math.abs(e),m),v&&(e=function(e){e:for(var t,n=e.length,r=1,i=-1;r<n;++r)switch(e[r]){case".":i=t=r;break;case"0":0===i&&(i=r),t=r;break;default:if(!+e[r])break e;i>0&&(i=0)}return i>0?e.slice(0,i)+e.slice(t+1):e}(e)),C&&0==+e&&"+"!==d&&(C=!1),f=(C?"("===d?d:c:"-"===d||"("===d?"":d)+f,k=("s"===b?Vl[8+zl/3]:"")+k+(C&&"("===d?")":""),x)for(i=-1,a=e.length;++i<a;)if(48>(l=e.charCodeAt(i))||l>57){k=(46===l?o+e.slice(i+1):e.slice(i))+k,e=e.slice(0,i);break}}g&&!h&&(e=r(e,1/0));var A=f.length+e.length+k.length,S=A<p?new Array(p-A+1).join(t):"";switch(g&&h&&(e=r(S+e,S.length?p-k.length:1/0),S=""),n){case"<":e=f+e+k+S;break;case"=":e=f+S+e+k;break;case"^":e=S.slice(0,A=S.length>>1)+f+e+k+S.slice(A);break;default:e=S+f+e+k}return s(e)}return m=void 0===m?6:/[gprs]/.test(b)?Math.max(1,Math.min(21,m)):Math.max(0,Math.min(20,m)),k.toString=function(){return e+""},k}return{format:d,formatPrefix:function(e,t){var n=d(((e=Nl(e)).type="f",e)),r=3*Math.max(-8,Math.min(8,Math.floor(Fl(t)/3))),i=Math.pow(10,-r),a=Vl[8+r/3];return function(e){return n(i*e)+a}}}}function Gl(e,t,n,r){var i,a=pl(e,t,n);switch((r=Nl(null==r?",f":r)).type){case"s":var o=Math.max(Math.abs(e),Math.abs(t));return null!=r.precision||isNaN(i=function(e,t){return Math.max(0,3*Math.max(-8,Math.min(8,Math.floor(Fl(t)/3)))-Fl(Math.abs(e)))}(a,o))||(r.precision=i),Hl(r,o);case"":case"e":case"g":case"p":case"r":null!=r.precision||isNaN(i=function(e,t){return e=Math.abs(e),t=Math.abs(t)-e,Math.max(0,Fl(t)-Fl(e))+1}(a,Math.max(Math.abs(e),Math.abs(t))))||(r.precision=i-("e"===r.type));break;case"f":case"%":null!=r.precision||isNaN(i=function(e){return Math.max(0,-Fl(Math.abs(e)))}(a))||(r.precision=i-2*("%"===r.type))}return ql(r)}function Xl(e){var t=e.domain;return e.ticks=function(e){var n=t();return fl(n[0],n[n.length-1],null==e?10:e)},e.tickFormat=function(e,n){var r=t();return Gl(r[0],r[r.length-1],null==e?10:e,n)},e.nice=function(n){null==n&&(n=10);var r,i,a=t(),o=0,s=a.length-1,l=a[o],c=a[s],u=10;for(c<l&&(i=l,l=c,c=i,i=o,o=s,s=i);u-- >0;){if((i=hl(l,c,n))===r)return a[o]=l,a[s]=c,t(a);if(i>0)l=Math.floor(l/i)*i,c=Math.ceil(c/i)*i;else{if(!(i<0))break;l=Math.ceil(l*i)/i,c=Math.floor(c*i)/i}r=i}return e},e}function Jl(){var e=Dl();return e.copy=function(){return Tl(e,Jl())},vl.apply(e,arguments),Xl(e)}function Zl(e,t){var n,r=0,i=(e=e.slice()).length-1,a=e[r],o=e[i];return o<a&&(n=r,r=i,i=n,n=a,a=o,o=n),e[r]=t.floor(a),e[i]=t.ceil(o),e}function Kl(e){return Math.log(e)}function Ql(e){return Math.exp(e)}function ec(e){return-Math.log(-e)}function tc(e){return-Math.exp(-e)}function nc(e){return isFinite(e)?+("1e"+e):e<0?0:e}function rc(e){return(t,n)=>-e(-t,n)}function ic(e){const t=e(Kl,Ql),n=t.domain;let r,i,a=10;function o(){return r=function(e){return e===Math.E?Math.log:10===e&&Math.log10||2===e&&Math.log2||(e=Math.log(e),t=>Math.log(t)/e)}(a),i=function(e){return 10===e?nc:e===Math.E?Math.exp:t=>Math.pow(e,t)}(a),n()[0]<0?(r=rc(r),i=rc(i),e(ec,tc)):e(Kl,Ql),t}return t.base=function(e){return arguments.length?(a=+e,o()):a},t.domain=function(e){return arguments.length?(n(e),o()):n()},t.ticks=e=>{const t=n();let o=t[0],s=t[t.length-1];const l=s<o;l&&([o,s]=[s,o]);let c,u,d=r(o),f=r(s);const h=null==e?10:+e;let p=[];if(!(a%1)&&f-d<h){if(d=Math.floor(d),f=Math.ceil(f),o>0){for(;d<=f;++d)for(c=1;c<a;++c)if(u=d<0?c/i(-d):c*i(d),!(u<o)){if(u>s)break;p.push(u)}}else for(;d<=f;++d)for(c=a-1;c>=1;--c)if(u=d>0?c/i(-d):c*i(d),!(u<o)){if(u>s)break;p.push(u)}2*p.length<h&&(p=fl(o,s,h))}else p=fl(d,f,Math.min(f-d,h)).map(i);return l?p.reverse():p},t.tickFormat=(e,n)=>{if(null==e&&(e=10),null==n&&(n=10===a?"s":","),"function"!=typeof n&&(a%1||null!=(n=Nl(n)).precision||(n.trim=!0),n=ql(n)),e===1/0)return n;const o=Math.max(1,a*e/t.ticks().length);return e=>{let t=e/i(Math.round(r(e)));return t*a<a-.5&&(t*=a),t<=o?n(e):""}},t.nice=()=>n(Zl(n(),{floor:e=>i(Math.floor(r(e))),ceil:e=>i(Math.ceil(r(e)))})),t}function ac(){const e=ic(Ll()).domain([1,10]);return e.copy=()=>Tl(e,ac()).base(e.base()),vl.apply(e,arguments),e}function oc(e){return function(t){return Math.sign(t)*Math.log1p(Math.abs(t/e))}}function sc(e){return function(t){return Math.sign(t)*Math.expm1(Math.abs(t))*e}}function lc(){var e=function(e){var t=1,n=e(oc(t),sc(t));return n.constant=function(n){return arguments.length?e(oc(t=+n),sc(t)):t},Xl(n)}(Ll());return e.copy=function(){return Tl(e,lc()).constant(e.constant())},vl.apply(e,arguments)}function cc(){var e,t=0,n=1,r=1,i=[.5],a=[0,1];function o(t){return null!=t&&t<=t?a[il(i,t,0,r)]:e}function s(){var e=-1;for(i=new Array(r);++e<r;)i[e]=((e+1)*n-(e-r)*t)/(r+1);return o}return o.domain=function(e){return arguments.length?([t,n]=e,t=+t,n=+n,s()):[t,n]},o.range=function(e){return arguments.length?(r=(a=Array.from(e)).length-1,s()):a.slice()},o.invertExtent=function(e){var o=a.indexOf(e);return o<0?[NaN,NaN]:o<1?[t,i[0]]:o>=r?[i[r-1],n]:[i[o-1],i[o]]},o.unknown=function(t){return arguments.length?(e=t,o):o},o.thresholds=function(){return i.slice()},o.copy=function(){return cc().domain([t,n]).range(a).unknown(e)},vl.apply(Xl(o),arguments)}$l=Yl({thousands:",",grouping:[3],currency:["$",""]}),ql=$l.format,Hl=$l.formatPrefix;const uc=new Date,dc=new Date;function fc(e,t,n,r){function i(t){return e(t=0===arguments.length?new Date:new Date(+t)),t}return i.floor=t=>(e(t=new Date(+t)),t),i.ceil=n=>(e(n=new Date(n-1)),t(n,1),e(n),n),i.round=e=>{const t=i(e),n=i.ceil(e);return e-t<n-e?t:n},i.offset=(e,n)=>(t(e=new Date(+e),null==n?1:Math.floor(n)),e),i.range=(n,r,a)=>{const o=[];if(n=i.ceil(n),a=null==a?1:Math.floor(a),!(n<r&&a>0))return o;let s;do{o.push(s=new Date(+n)),t(n,a),e(n)}while(s<n&&n<r);return o},i.filter=n=>fc((t=>{if(t>=t)for(;e(t),!n(t);)t.setTime(t-1)}),((e,r)=>{if(e>=e)if(r<0)for(;++r<=0;)for(;t(e,-1),!n(e););else for(;--r>=0;)for(;t(e,1),!n(e););})),n&&(i.count=(t,r)=>(uc.setTime(+t),dc.setTime(+r),e(uc),e(dc),Math.floor(n(uc,dc))),i.every=e=>(e=Math.floor(e),isFinite(e)&&e>0?e>1?i.filter(r?t=>r(t)%e==0:t=>i.count(0,t)%e==0):i:null)),i}const hc=fc((()=>{}),((e,t)=>{e.setTime(+e+t)}),((e,t)=>t-e));hc.every=e=>(e=Math.floor(e),isFinite(e)&&e>0?e>1?fc((t=>{t.setTime(Math.floor(t/e)*e)}),((t,n)=>{t.setTime(+t+n*e)}),((t,n)=>(n-t)/e)):hc:null),hc.range;const pc=1e3,gc=6e4,mc=36e5,vc=864e5,bc=6048e5,yc=2592e6,_c=31536e6,wc=fc((e=>{e.setTime(e-e.getMilliseconds())}),((e,t)=>{e.setTime(+e+t*pc)}),((e,t)=>(t-e)/pc),(e=>e.getUTCSeconds()));wc.range;const xc=fc((e=>{e.setTime(e-e.getMilliseconds()-e.getSeconds()*pc)}),((e,t)=>{e.setTime(+e+t*gc)}),((e,t)=>(t-e)/gc),(e=>e.getMinutes()));xc.range;const kc=fc((e=>{e.setUTCSeconds(0,0)}),((e,t)=>{e.setTime(+e+t*gc)}),((e,t)=>(t-e)/gc),(e=>e.getUTCMinutes()));kc.range;const Cc=fc((e=>{e.setTime(e-e.getMilliseconds()-e.getSeconds()*pc-e.getMinutes()*gc)}),((e,t)=>{e.setTime(+e+t*mc)}),((e,t)=>(t-e)/mc),(e=>e.getHours()));Cc.range;const Ac=fc((e=>{e.setUTCMinutes(0,0,0)}),((e,t)=>{e.setTime(+e+t*mc)}),((e,t)=>(t-e)/mc),(e=>e.getUTCHours()));Ac.range;const Sc=fc((e=>e.setHours(0,0,0,0)),((e,t)=>e.setDate(e.getDate()+t)),((e,t)=>(t-e-(t.getTimezoneOffset()-e.getTimezoneOffset())*gc)/vc),(e=>e.getDate()-1));Sc.range;const Ec=fc((e=>{e.setUTCHours(0,0,0,0)}),((e,t)=>{e.setUTCDate(e.getUTCDate()+t)}),((e,t)=>(t-e)/vc),(e=>e.getUTCDate()-1));Ec.range;const Mc=fc((e=>{e.setUTCHours(0,0,0,0)}),((e,t)=>{e.setUTCDate(e.getUTCDate()+t)}),((e,t)=>(t-e)/vc),(e=>Math.floor(e/vc)));function Rc(e){return fc((t=>{t.setDate(t.getDate()-(t.getDay()+7-e)%7),t.setHours(0,0,0,0)}),((e,t)=>{e.setDate(e.getDate()+7*t)}),((e,t)=>(t-e-(t.getTimezoneOffset()-e.getTimezoneOffset())*gc)/bc))}Mc.range;const Tc=Rc(0),Lc=Rc(1),Dc=Rc(2),Oc=Rc(3),Fc=Rc(4),zc=Rc(5),Pc=Rc(6);function Nc(e){return fc((t=>{t.setUTCDate(t.getUTCDate()-(t.getUTCDay()+7-e)%7),t.setUTCHours(0,0,0,0)}),((e,t)=>{e.setUTCDate(e.getUTCDate()+7*t)}),((e,t)=>(t-e)/bc))}Tc.range,Lc.range,Dc.range,Oc.range,Fc.range,zc.range,Pc.range;const jc=Nc(0),Ic=Nc(1),Bc=Nc(2),Wc=Nc(3),$c=Nc(4),qc=Nc(5),Hc=Nc(6);jc.range,Ic.range,Bc.range,Wc.range,$c.range,qc.range,Hc.range;const Uc=fc((e=>{e.setDate(1),e.setHours(0,0,0,0)}),((e,t)=>{e.setMonth(e.getMonth()+t)}),((e,t)=>t.getMonth()-e.getMonth()+12*(t.getFullYear()-e.getFullYear())),(e=>e.getMonth()));Uc.range;const Vc=fc((e=>{e.setUTCDate(1),e.setUTCHours(0,0,0,0)}),((e,t)=>{e.setUTCMonth(e.getUTCMonth()+t)}),((e,t)=>t.getUTCMonth()-e.getUTCMonth()+12*(t.getUTCFullYear()-e.getUTCFullYear())),(e=>e.getUTCMonth()));Vc.range;const Yc=fc((e=>{e.setMonth(0,1),e.setHours(0,0,0,0)}),((e,t)=>{e.setFullYear(e.getFullYear()+t)}),((e,t)=>t.getFullYear()-e.getFullYear()),(e=>e.getFullYear()));Yc.every=e=>isFinite(e=Math.floor(e))&&e>0?fc((t=>{t.setFullYear(Math.floor(t.getFullYear()/e)*e),t.setMonth(0,1),t.setHours(0,0,0,0)}),((t,n)=>{t.setFullYear(t.getFullYear()+n*e)})):null,Yc.range;const Gc=fc((e=>{e.setUTCMonth(0,1),e.setUTCHours(0,0,0,0)}),((e,t)=>{e.setUTCFullYear(e.getUTCFullYear()+t)}),((e,t)=>t.getUTCFullYear()-e.getUTCFullYear()),(e=>e.getUTCFullYear()));function Xc(e,t,n,r,i,a){const o=[[wc,1,pc],[wc,5,5e3],[wc,15,15e3],[wc,30,3e4],[a,1,gc],[a,5,3e5],[a,15,9e5],[a,30,18e5],[i,1,mc],[i,3,108e5],[i,6,216e5],[i,12,432e5],[r,1,vc],[r,2,1728e5],[n,1,bc],[t,1,yc],[t,3,7776e6],[e,1,_c]];function s(t,n,r){const i=Math.abs(n-t)/r,a=nl((([,,e])=>e)).right(o,i);if(a===o.length)return e.every(pl(t/_c,n/_c,r));if(0===a)return hc.every(Math.max(pl(t,n,r),1));const[s,l]=o[i/o[a-1][2]<o[a][2]/i?a-1:a];return s.every(l)}return[function(e,t,n){const r=t<e;r&&([e,t]=[t,e]);const i=n&&"function"==typeof n.range?n:s(e,t,n),a=i?i.range(e,+t+1):[];return r?a.reverse():a},s]}Gc.every=e=>isFinite(e=Math.floor(e))&&e>0?fc((t=>{t.setUTCFullYear(Math.floor(t.getUTCFullYear()/e)*e),t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0)}),((t,n)=>{t.setUTCFullYear(t.getUTCFullYear()+n*e)})):null,Gc.range;const[Jc,Zc]=Xc(Gc,Vc,jc,Mc,Ac,kc),[Kc,Qc]=Xc(Yc,Uc,Tc,Sc,Cc,xc);function eu(e){if(0<=e.y&&e.y<100){var t=new Date(-1,e.m,e.d,e.H,e.M,e.S,e.L);return t.setFullYear(e.y),t}return new Date(e.y,e.m,e.d,e.H,e.M,e.S,e.L)}function tu(e){if(0<=e.y&&e.y<100){var t=new Date(Date.UTC(-1,e.m,e.d,e.H,e.M,e.S,e.L));return t.setUTCFullYear(e.y),t}return new Date(Date.UTC(e.y,e.m,e.d,e.H,e.M,e.S,e.L))}function nu(e,t,n){return{y:e,m:t,d:n,H:0,M:0,S:0,L:0}}var ru,iu,au,ou={"-":"",_:" ",0:"0"},su=/^\s*\d+/,lu=/^%/,cu=/[\\^$*+?|[\]().{}]/g;function uu(e,t,n){var r=e<0?"-":"",i=(r?-e:e)+"",a=i.length;return r+(a<n?new Array(n-a+1).join(t)+i:i)}function du(e){return e.replace(cu,"\\$&")}function fu(e){return new RegExp("^(?:"+e.map(du).join("|")+")","i")}function hu(e){return new Map(e.map(((e,t)=>[e.toLowerCase(),t])))}function pu(e,t,n){var r=su.exec(t.slice(n,n+1));return r?(e.w=+r[0],n+r[0].length):-1}function gu(e,t,n){var r=su.exec(t.slice(n,n+1));return r?(e.u=+r[0],n+r[0].length):-1}function mu(e,t,n){var r=su.exec(t.slice(n,n+2));return r?(e.U=+r[0],n+r[0].length):-1}function vu(e,t,n){var r=su.exec(t.slice(n,n+2));return r?(e.V=+r[0],n+r[0].length):-1}function bu(e,t,n){var r=su.exec(t.slice(n,n+2));return r?(e.W=+r[0],n+r[0].length):-1}function yu(e,t,n){var r=su.exec(t.slice(n,n+4));return r?(e.y=+r[0],n+r[0].length):-1}function _u(e,t,n){var r=su.exec(t.slice(n,n+2));return r?(e.y=+r[0]+(+r[0]>68?1900:2e3),n+r[0].length):-1}function wu(e,t,n){var r=/^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(t.slice(n,n+6));return r?(e.Z=r[1]?0:-(r[2]+(r[3]||"00")),n+r[0].length):-1}function xu(e,t,n){var r=su.exec(t.slice(n,n+1));return r?(e.q=3*r[0]-3,n+r[0].length):-1}function ku(e,t,n){var r=su.exec(t.slice(n,n+2));return r?(e.m=r[0]-1,n+r[0].length):-1}function Cu(e,t,n){var r=su.exec(t.slice(n,n+2));return r?(e.d=+r[0],n+r[0].length):-1}function Au(e,t,n){var r=su.exec(t.slice(n,n+3));return r?(e.m=0,e.d=+r[0],n+r[0].length):-1}function Su(e,t,n){var r=su.exec(t.slice(n,n+2));return r?(e.H=+r[0],n+r[0].length):-1}function Eu(e,t,n){var r=su.exec(t.slice(n,n+2));return r?(e.M=+r[0],n+r[0].length):-1}function Mu(e,t,n){var r=su.exec(t.slice(n,n+2));return r?(e.S=+r[0],n+r[0].length):-1}function Ru(e,t,n){var r=su.exec(t.slice(n,n+3));return r?(e.L=+r[0],n+r[0].length):-1}function Tu(e,t,n){var r=su.exec(t.slice(n,n+6));return r?(e.L=Math.floor(r[0]/1e3),n+r[0].length):-1}function Lu(e,t,n){var r=lu.exec(t.slice(n,n+1));return r?n+r[0].length:-1}function Du(e,t,n){var r=su.exec(t.slice(n));return r?(e.Q=+r[0],n+r[0].length):-1}function Ou(e,t,n){var r=su.exec(t.slice(n));return r?(e.s=+r[0],n+r[0].length):-1}function Fu(e,t){return uu(e.getDate(),t,2)}function zu(e,t){return uu(e.getHours(),t,2)}function Pu(e,t){return uu(e.getHours()%12||12,t,2)}function Nu(e,t){return uu(1+Sc.count(Yc(e),e),t,3)}function ju(e,t){return uu(e.getMilliseconds(),t,3)}function Iu(e,t){return ju(e,t)+"000"}function Bu(e,t){return uu(e.getMonth()+1,t,2)}function Wu(e,t){return uu(e.getMinutes(),t,2)}function $u(e,t){return uu(e.getSeconds(),t,2)}function qu(e){var t=e.getDay();return 0===t?7:t}function Hu(e,t){return uu(Tc.count(Yc(e)-1,e),t,2)}function Uu(e){var t=e.getDay();return t>=4||0===t?Fc(e):Fc.ceil(e)}function Vu(e,t){return e=Uu(e),uu(Fc.count(Yc(e),e)+(4===Yc(e).getDay()),t,2)}function Yu(e){return e.getDay()}function Gu(e,t){return uu(Lc.count(Yc(e)-1,e),t,2)}function Xu(e,t){return uu(e.getFullYear()%100,t,2)}function Ju(e,t){return uu((e=Uu(e)).getFullYear()%100,t,2)}function Zu(e,t){return uu(e.getFullYear()%1e4,t,4)}function Ku(e,t){var n=e.getDay();return uu((e=n>=4||0===n?Fc(e):Fc.ceil(e)).getFullYear()%1e4,t,4)}function Qu(e){var t=e.getTimezoneOffset();return(t>0?"-":(t*=-1,"+"))+uu(t/60|0,"0",2)+uu(t%60,"0",2)}function ed(e,t){return uu(e.getUTCDate(),t,2)}function td(e,t){return uu(e.getUTCHours(),t,2)}function nd(e,t){return uu(e.getUTCHours()%12||12,t,2)}function rd(e,t){return uu(1+Ec.count(Gc(e),e),t,3)}function id(e,t){return uu(e.getUTCMilliseconds(),t,3)}function ad(e,t){return id(e,t)+"000"}function od(e,t){return uu(e.getUTCMonth()+1,t,2)}function sd(e,t){return uu(e.getUTCMinutes(),t,2)}function ld(e,t){return uu(e.getUTCSeconds(),t,2)}function cd(e){var t=e.getUTCDay();return 0===t?7:t}function ud(e,t){return uu(jc.count(Gc(e)-1,e),t,2)}function dd(e){var t=e.getUTCDay();return t>=4||0===t?$c(e):$c.ceil(e)}function fd(e,t){return e=dd(e),uu($c.count(Gc(e),e)+(4===Gc(e).getUTCDay()),t,2)}function hd(e){return e.getUTCDay()}function pd(e,t){return uu(Ic.count(Gc(e)-1,e),t,2)}function gd(e,t){return uu(e.getUTCFullYear()%100,t,2)}function md(e,t){return uu((e=dd(e)).getUTCFullYear()%100,t,2)}function vd(e,t){return uu(e.getUTCFullYear()%1e4,t,4)}function bd(e,t){var n=e.getUTCDay();return uu((e=n>=4||0===n?$c(e):$c.ceil(e)).getUTCFullYear()%1e4,t,4)}function yd(){return"+0000"}function _d(){return"%"}function wd(e){return+e}function xd(e){return Math.floor(+e/1e3)}function kd(e){return new Date(e)}function Cd(e){return e instanceof Date?+e:+new Date(+e)}function Ad(e,t,n,r,i,a,o,s,l,c){var u=Dl(),d=u.invert,f=u.domain,h=c(".%L"),p=c(":%S"),g=c("%I:%M"),m=c("%I %p"),v=c("%a %d"),b=c("%b %d"),y=c("%B"),_=c("%Y");function w(e){return(l(e)<e?h:s(e)<e?p:o(e)<e?g:a(e)<e?m:r(e)<e?i(e)<e?v:b:n(e)<e?y:_)(e)}return u.invert=function(e){return new Date(d(e))},u.domain=function(e){return arguments.length?f(Array.from(e,Cd)):f().map(kd)},u.ticks=function(t){var n=f();return e(n[0],n[n.length-1],null==t?10:t)},u.tickFormat=function(e,t){return null==t?w:c(t)},u.nice=function(e){var n=f();return e&&"function"==typeof e.range||(e=t(n[0],n[n.length-1],null==e?10:e)),e?f(Zl(n,e)):u},u.copy=function(){return Tl(u,Ad(e,t,n,r,i,a,o,s,l,c))},u}function Sd(){return vl.apply(Ad(Jc,Zc,Gc,Vc,jc,Ec,Ac,kc,wc,au).domain([Date.UTC(2e3,0,1),Date.UTC(2e3,0,2)]),arguments)}function Ed(e,t){return t.domain(e.domain()).interpolator(e.interpolator()).clamp(e.clamp()).unknown(e.unknown())}function Md(){var e=Xl(function(){var e,t,n,r,i,a=0,o=1,s=Sl,l=!1;function c(t){return null==t||isNaN(t=+t)?i:s(0===n?.5:(t=(r(t)-e)*n,l?Math.max(0,Math.min(1,t)):t))}function u(e){return function(t){var n,r;return arguments.length?([n,r]=t,s=e(n,r),c):[s(0),s(1)]}}return c.domain=function(i){return arguments.length?([a,o]=i,e=r(a=+a),t=r(o=+o),n=e===t?0:1/(t-e),c):[a,o]},c.clamp=function(e){return arguments.length?(l=!!e,c):l},c.interpolator=function(e){return arguments.length?(s=e,c):s},c.range=u(qs),c.rangeRound=u(Hs),c.unknown=function(e){return arguments.length?(i=e,c):i},function(i){return r=i,e=i(a),t=i(o),n=e===t?0:1/(t-e),c}}()(Sl));return e.copy=function(){return Ed(e,Md())},bl.apply(e,arguments)}function Rd(){var e,t,n,r,i,a,o,s=0,l=.5,c=1,u=1,d=Sl,f=!1;function h(e){return isNaN(e=+e)?o:(e=.5+((e=+a(e))-t)*(u*e<u*t?r:i),d(f?Math.max(0,Math.min(1,e)):e))}function p(e){return function(t){var n,r,i;return arguments.length?([n,r,i]=t,d=function(e,t){void 0===t&&(t=e,e=qs);for(var n=0,r=t.length-1,i=t[0],a=new Array(r<0?0:r);n<r;)a[n]=e(i,i=t[++n]);return function(e){var t=Math.max(0,Math.min(r-1,Math.floor(e*=r)));return a[t](e-t)}}(e,[n,r,i]),h):[d(0),d(.5),d(1)]}}return h.domain=function(o){return arguments.length?([s,l,c]=o,e=a(s=+s),t=a(l=+l),n=a(c=+c),r=e===t?0:.5/(t-e),i=t===n?0:.5/(n-t),u=t<e?-1:1,h):[s,l,c]},h.clamp=function(e){return arguments.length?(f=!!e,h):f},h.interpolator=function(e){return arguments.length?(d=e,h):d},h.range=p(qs),h.rangeRound=p(Hs),h.unknown=function(e){return arguments.length?(o=e,h):o},function(o){return a=o,e=o(s),t=o(l),n=o(c),r=e===t?0:.5/(t-e),i=t===n?0:.5/(n-t),u=t<e?-1:1,h}}function Td(){var e=Xl(Rd()(Sl));return e.copy=function(){return Ed(e,Td())},bl.apply(e,arguments)}!function(e){ru=function(e){var t=e.dateTime,n=e.date,r=e.time,i=e.periods,a=e.days,o=e.shortDays,s=e.months,l=e.shortMonths,c=fu(i),u=hu(i),d=fu(a),f=hu(a),h=fu(o),p=hu(o),g=fu(s),m=hu(s),v=fu(l),b=hu(l),y={a:function(e){return o[e.getDay()]},A:function(e){return a[e.getDay()]},b:function(e){return l[e.getMonth()]},B:function(e){return s[e.getMonth()]},c:null,d:Fu,e:Fu,f:Iu,g:Ju,G:Ku,H:zu,I:Pu,j:Nu,L:ju,m:Bu,M:Wu,p:function(e){return i[+(e.getHours()>=12)]},q:function(e){return 1+~~(e.getMonth()/3)},Q:wd,s:xd,S:$u,u:qu,U:Hu,V:Vu,w:Yu,W:Gu,x:null,X:null,y:Xu,Y:Zu,Z:Qu,"%":_d},_={a:function(e){return o[e.getUTCDay()]},A:function(e){return a[e.getUTCDay()]},b:function(e){return l[e.getUTCMonth()]},B:function(e){return s[e.getUTCMonth()]},c:null,d:ed,e:ed,f:ad,g:md,G:bd,H:td,I:nd,j:rd,L:id,m:od,M:sd,p:function(e){return i[+(e.getUTCHours()>=12)]},q:function(e){return 1+~~(e.getUTCMonth()/3)},Q:wd,s:xd,S:ld,u:cd,U:ud,V:fd,w:hd,W:pd,x:null,X:null,y:gd,Y:vd,Z:yd,"%":_d},w={a:function(e,t,n){var r=h.exec(t.slice(n));return r?(e.w=p.get(r[0].toLowerCase()),n+r[0].length):-1},A:function(e,t,n){var r=d.exec(t.slice(n));return r?(e.w=f.get(r[0].toLowerCase()),n+r[0].length):-1},b:function(e,t,n){var r=v.exec(t.slice(n));return r?(e.m=b.get(r[0].toLowerCase()),n+r[0].length):-1},B:function(e,t,n){var r=g.exec(t.slice(n));return r?(e.m=m.get(r[0].toLowerCase()),n+r[0].length):-1},c:function(e,n,r){return C(e,t,n,r)},d:Cu,e:Cu,f:Tu,g:_u,G:yu,H:Su,I:Su,j:Au,L:Ru,m:ku,M:Eu,p:function(e,t,n){var r=c.exec(t.slice(n));return r?(e.p=u.get(r[0].toLowerCase()),n+r[0].length):-1},q:xu,Q:Du,s:Ou,S:Mu,u:gu,U:mu,V:vu,w:pu,W:bu,x:function(e,t,r){return C(e,n,t,r)},X:function(e,t,n){return C(e,r,t,n)},y:_u,Y:yu,Z:wu,"%":Lu};function x(e,t){return function(n){var r,i,a,o=[],s=-1,l=0,c=e.length;for(n instanceof Date||(n=new Date(+n));++s<c;)37===e.charCodeAt(s)&&(o.push(e.slice(l,s)),null!=(i=ou[r=e.charAt(++s)])?r=e.charAt(++s):i="e"===r?" ":"0",(a=t[r])&&(r=a(n,i)),o.push(r),l=s+1);return o.push(e.slice(l,s)),o.join("")}}function k(e,t){return function(n){var r,i,a=nu(1900,void 0,1);if(C(a,e,n+="",0)!=n.length)return null;if("Q"in a)return new Date(a.Q);if("s"in a)return new Date(1e3*a.s+("L"in a?a.L:0));if(t&&!("Z"in a)&&(a.Z=0),"p"in a&&(a.H=a.H%12+12*a.p),void 0===a.m&&(a.m="q"in a?a.q:0),"V"in a){if(a.V<1||a.V>53)return null;"w"in a||(a.w=1),"Z"in a?(i=(r=tu(nu(a.y,0,1))).getUTCDay(),r=i>4||0===i?Ic.ceil(r):Ic(r),r=Ec.offset(r,7*(a.V-1)),a.y=r.getUTCFullYear(),a.m=r.getUTCMonth(),a.d=r.getUTCDate()+(a.w+6)%7):(i=(r=eu(nu(a.y,0,1))).getDay(),r=i>4||0===i?Lc.ceil(r):Lc(r),r=Sc.offset(r,7*(a.V-1)),a.y=r.getFullYear(),a.m=r.getMonth(),a.d=r.getDate()+(a.w+6)%7)}else("W"in a||"U"in a)&&("w"in a||(a.w="u"in a?a.u%7:"W"in a?1:0),i="Z"in a?tu(nu(a.y,0,1)).getUTCDay():eu(nu(a.y,0,1)).getDay(),a.m=0,a.d="W"in a?(a.w+6)%7+7*a.W-(i+5)%7:a.w+7*a.U-(i+6)%7);return"Z"in a?(a.H+=a.Z/100|0,a.M+=a.Z%100,tu(a)):eu(a)}}function C(e,t,n,r){for(var i,a,o=0,s=t.length,l=n.length;o<s;){if(r>=l)return-1;if(37===(i=t.charCodeAt(o++))){if(i=t.charAt(o++),!(a=w[i in ou?t.charAt(o++):i])||(r=a(e,n,r))<0)return-1}else if(i!=n.charCodeAt(r++))return-1}return r}return y.x=x(n,y),y.X=x(r,y),y.c=x(t,y),_.x=x(n,_),_.X=x(r,_),_.c=x(t,_),{format:function(e){var t=x(e+="",y);return t.toString=function(){return e},t},parse:function(e){var t=k(e+="",!1);return t.toString=function(){return e},t},utcFormat:function(e){var t=x(e+="",_);return t.toString=function(){return e},t},utcParse:function(e){var t=k(e+="",!0);return t.toString=function(){return e},t}}}(e),iu=ru.format,ru.parse,au=ru.utcFormat,ru.utcParse}({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"]});const Ld=(e,t=document.documentElement)=>{if(e.startsWith("var(")){const n=e.match(/var\((--[^),\s]+)/);if(n){const r=n[1];return getComputedStyle(t).getPropertyValue(r).trim()||e}}return e};var Dd;function Od(e){return function(){return e}}!function(e){e.TestResults="test-results.json",e.TestCases="test-cases.json",e.Fixtures="fixtures.json",e.GlobalErrors="global-errors.json",e.GlobalAttachments="global-attachments.json",e.Attachments="attachments.json",e.CheckResults="check-results.json",e.Environments="environments.json",e.ReportVariables="report-variables.json",e.Metadata="metadata.json",e.ResolutionIssues="resolution-issues.json",e.IndexAttachmentsByTestResults="index-attachments-by-test-results.json",e.IndexTestResultsByRetryHash="index-test-results-by-retry-hash.json",e.IndexTestResultsByTestCase="index-test-results-by-test-case.json",e.IndexTestResultsByResolutionIssue="index-test-results-by-resolution-issue.json",e.IndexAttachmentsByFixture="index-attachments-by-fixture.json",e.IndexFixturesByTestResult="index-fixtures-by-test-result.json",e.QualityGateResults="quality-gate-results.json",e.TestResultIngestOrder="test-result-ingest-order.json",e.Metrics="metrics.json"}(Dd||(Dd={}));const Fd=Math.abs,zd=Math.atan2,Pd=Math.cos,Nd=Math.max,jd=Math.min,Id=Math.sin,Bd=Math.sqrt,Wd=1e-12,$d=Math.PI,qd=$d/2,Hd=2*$d;function Ud(e){return e>=1?qd:e<=-1?-qd:Math.asin(e)}const Vd=Math.PI,Yd=2*Vd,Gd=1e-6,Xd=Yd-Gd;function Jd(e){this._+=e[0];for(let t=1,n=e.length;t<n;++t)this._+=arguments[t]+e[t]}let Zd=class{constructor(e){this._x0=this._y0=this._x1=this._y1=null,this._="",this._append=null==e?Jd:function(e){let t=Math.floor(e);if(!(t>=0))throw new Error(`invalid digits: ${e}`);if(t>15)return Jd;const n=10**t;return function(e){this._+=e[0];for(let t=1,r=e.length;t<r;++t)this._+=Math.round(arguments[t]*n)/n+e[t]}}(e)}moveTo(e,t){this._append`M${this._x0=this._x1=+e},${this._y0=this._y1=+t}`}closePath(){null!==this._x1&&(this._x1=this._x0,this._y1=this._y0,this._append`Z`)}lineTo(e,t){this._append`L${this._x1=+e},${this._y1=+t}`}quadraticCurveTo(e,t,n,r){this._append`Q${+e},${+t},${this._x1=+n},${this._y1=+r}`}bezierCurveTo(e,t,n,r,i,a){this._append`C${+e},${+t},${+n},${+r},${this._x1=+i},${this._y1=+a}`}arcTo(e,t,n,r,i){if(e=+e,t=+t,n=+n,r=+r,(i=+i)<0)throw new Error(`negative radius: ${i}`);let a=this._x1,o=this._y1,s=n-e,l=r-t,c=a-e,u=o-t,d=c*c+u*u;if(null===this._x1)this._append`M${this._x1=e},${this._y1=t}`;else if(d>Gd)if(Math.abs(u*s-l*c)>Gd&&i){let f=n-a,h=r-o,p=s*s+l*l,g=f*f+h*h,m=Math.sqrt(p),v=Math.sqrt(d),b=i*Math.tan((Vd-Math.acos((p+d-g)/(2*m*v)))/2),y=b/v,_=b/m;Math.abs(y-1)>Gd&&this._append`L${e+y*c},${t+y*u}`,this._append`A${i},${i},0,0,${+(u*f>c*h)},${this._x1=e+_*s},${this._y1=t+_*l}`}else this._append`L${this._x1=e},${this._y1=t}`;else;}arc(e,t,n,r,i,a){if(e=+e,t=+t,a=!!a,(n=+n)<0)throw new Error(`negative radius: ${n}`);let o=n*Math.cos(r),s=n*Math.sin(r),l=e+o,c=t+s,u=1^a,d=a?r-i:i-r;null===this._x1?this._append`M${l},${c}`:(Math.abs(this._x1-l)>Gd||Math.abs(this._y1-c)>Gd)&&this._append`L${l},${c}`,n&&(d<0&&(d=d%Yd+Yd),d>Xd?this._append`A${n},${n},0,1,${u},${e-o},${t-s}A${n},${n},0,1,${u},${this._x1=l},${this._y1=c}`:d>Gd&&this._append`A${n},${n},0,${+(d>=Vd)},${u},${this._x1=e+n*Math.cos(i)},${this._y1=t+n*Math.sin(i)}`)}rect(e,t,n,r){this._append`M${this._x0=this._x1=+e},${this._y0=this._y1=+t}h${n=+n}v${+r}h${-n}Z`}toString(){return this._}};function Kd(e){let t=3;return e.digits=function(n){if(!arguments.length)return t;if(null==n)t=null;else{const e=Math.floor(n);if(!(e>=0))throw new RangeError(`invalid digits: ${n}`);t=e}return e},()=>new Zd(t)}function Qd(e){return e.innerRadius}function ef(e){return e.outerRadius}function tf(e){return e.startAngle}function nf(e){return e.endAngle}function rf(e){return e&&e.padAngle}function af(e,t,n,r,i,a,o){var s=e-n,l=t-r,c=(o?a:-a)/Bd(s*s+l*l),u=c*l,d=-c*s,f=e+u,h=t+d,p=n+u,g=r+d,m=(f+p)/2,v=(h+g)/2,b=p-f,y=g-h,_=b*b+y*y,w=i-a,x=f*g-p*h,k=(y<0?-1:1)*Bd(Nd(0,w*w*_-x*x)),C=(x*y-b*k)/_,A=(-x*b-y*k)/_,S=(x*y+b*k)/_,E=(-x*b+y*k)/_,M=C-m,R=A-v,T=S-m,L=E-v;return M*M+R*R>T*T+L*L&&(C=S,A=E),{cx:C,cy:A,x01:-u,y01:-d,x11:C*(i/w-1),y11:A*(i/w-1)}}function of(){var e=Qd,t=ef,n=Od(0),r=null,i=tf,a=nf,o=rf,s=null,l=Kd(c);function c(){var c,u,d=+e.apply(this,arguments),f=+t.apply(this,arguments),h=i.apply(this,arguments)-qd,p=a.apply(this,arguments)-qd,g=Fd(p-h),m=p>h;if(s||(s=c=l()),f<d&&(u=f,f=d,d=u),f>Wd)if(g>Hd-Wd)s.moveTo(f*Pd(h),f*Id(h)),s.arc(0,0,f,h,p,!m),d>Wd&&(s.moveTo(d*Pd(p),d*Id(p)),s.arc(0,0,d,p,h,m));else{var v,b,y=h,_=p,w=h,x=p,k=g,C=g,A=o.apply(this,arguments)/2,S=A>Wd&&(r?+r.apply(this,arguments):Bd(d*d+f*f)),E=jd(Fd(f-d)/2,+n.apply(this,arguments)),M=E,R=E;if(S>Wd){var T=Ud(S/d*Id(A)),L=Ud(S/f*Id(A));(k-=2*T)>Wd?(w+=T*=m?1:-1,x-=T):(k=0,w=x=(h+p)/2),(C-=2*L)>Wd?(y+=L*=m?1:-1,_-=L):(C=0,y=_=(h+p)/2)}var D=f*Pd(y),O=f*Id(y),F=d*Pd(x),z=d*Id(x);if(E>Wd){var P,N=f*Pd(_),j=f*Id(_),I=d*Pd(w),B=d*Id(w);if(g<$d)if(P=function(e,t,n,r,i,a,o,s){var l=n-e,c=r-t,u=o-i,d=s-a,f=d*l-u*c;if(!(f*f<Wd))return[e+(f=(u*(t-a)-d*(e-i))/f)*l,t+f*c]}(D,O,I,B,N,j,F,z)){var W=D-P[0],$=O-P[1],q=N-P[0],H=j-P[1],U=1/Id(function(e){return e>1?0:e<-1?$d:Math.acos(e)}((W*q+$*H)/(Bd(W*W+$*$)*Bd(q*q+H*H)))/2),V=Bd(P[0]*P[0]+P[1]*P[1]);M=jd(E,(d-V)/(U-1)),R=jd(E,(f-V)/(U+1))}else M=R=0}C>Wd?R>Wd?(v=af(I,B,D,O,f,R,m),b=af(N,j,F,z,f,R,m),s.moveTo(v.cx+v.x01,v.cy+v.y01),R<E?s.arc(v.cx,v.cy,R,zd(v.y01,v.x01),zd(b.y01,b.x01),!m):(s.arc(v.cx,v.cy,R,zd(v.y01,v.x01),zd(v.y11,v.x11),!m),s.arc(0,0,f,zd(v.cy+v.y11,v.cx+v.x11),zd(b.cy+b.y11,b.cx+b.x11),!m),s.arc(b.cx,b.cy,R,zd(b.y11,b.x11),zd(b.y01,b.x01),!m))):(s.moveTo(D,O),s.arc(0,0,f,y,_,!m)):s.moveTo(D,O),d>Wd&&k>Wd?M>Wd?(v=af(F,z,N,j,d,-M,m),b=af(D,O,I,B,d,-M,m),s.lineTo(v.cx+v.x01,v.cy+v.y01),M<E?s.arc(v.cx,v.cy,M,zd(v.y01,v.x01),zd(b.y01,b.x01),!m):(s.arc(v.cx,v.cy,M,zd(v.y01,v.x01),zd(v.y11,v.x11),!m),s.arc(0,0,d,zd(v.cy+v.y11,v.cx+v.x11),zd(b.cy+b.y11,b.cx+b.x11),m),s.arc(b.cx,b.cy,M,zd(b.y11,b.x11),zd(b.y01,b.x01),!m))):s.arc(0,0,d,x,w,m):s.lineTo(F,z)}else s.moveTo(0,0);if(s.closePath(),c)return s=null,c+""||null}return c.centroid=function(){var n=(+e.apply(this,arguments)+ +t.apply(this,arguments))/2,r=(+i.apply(this,arguments)+ +a.apply(this,arguments))/2-$d/2;return[Pd(r)*n,Id(r)*n]},c.innerRadius=function(t){return arguments.length?(e="function"==typeof t?t:Od(+t),c):e},c.outerRadius=function(e){return arguments.length?(t="function"==typeof e?e:Od(+e),c):t},c.cornerRadius=function(e){return arguments.length?(n="function"==typeof e?e:Od(+e),c):n},c.padRadius=function(e){return arguments.length?(r=null==e?null:"function"==typeof e?e:Od(+e),c):r},c.startAngle=function(e){return arguments.length?(i="function"==typeof e?e:Od(+e),c):i},c.endAngle=function(e){return arguments.length?(a="function"==typeof e?e:Od(+e),c):a},c.padAngle=function(e){return arguments.length?(o="function"==typeof e?e:Od(+e),c):o},c.context=function(e){return arguments.length?(s=null==e?null:e,c):s},c}function sf(e){return"object"==typeof e&&"length"in e?e:Array.from(e)}function lf(e){this._context=e}function cf(e){return new lf(e)}function uf(e){return e[0]}function df(e){return e[1]}function ff(e,t){var n=Od(!0),r=null,i=cf,a=null,o=Kd(s);function s(s){var l,c,u,d=(s=sf(s)).length,f=!1;for(null==r&&(a=i(u=o())),l=0;l<=d;++l)!(l<d&&n(c=s[l],l,s))===f&&((f=!f)?a.lineStart():a.lineEnd()),f&&a.point(+e(c,l,s),+t(c,l,s));if(u)return a=null,u+""||null}return e="function"==typeof e?e:void 0===e?uf:Od(e),t="function"==typeof t?t:void 0===t?df:Od(t),s.x=function(t){return arguments.length?(e="function"==typeof t?t:Od(+t),s):e},s.y=function(e){return arguments.length?(t="function"==typeof e?e:Od(+e),s):t},s.defined=function(e){return arguments.length?(n="function"==typeof e?e:Od(!!e),s):n},s.curve=function(e){return arguments.length?(i=e,null!=r&&(a=i(r)),s):i},s.context=function(e){return arguments.length?(null==e?r=a=null:a=i(r=e),s):r},s}function hf(e,t,n){var r=null,i=Od(!0),a=null,o=cf,s=null,l=Kd(c);function c(c){var u,d,f,h,p,g=(c=sf(c)).length,m=!1,v=new Array(g),b=new Array(g);for(null==a&&(s=o(p=l())),u=0;u<=g;++u){if(!(u<g&&i(h=c[u],u,c))===m)if(m=!m)d=u,s.areaStart(),s.lineStart();else{for(s.lineEnd(),s.lineStart(),f=u-1;f>=d;--f)s.point(v[f],b[f]);s.lineEnd(),s.areaEnd()}m&&(v[u]=+e(h,u,c),b[u]=+t(h,u,c),s.point(r?+r(h,u,c):v[u],n?+n(h,u,c):b[u]))}if(p)return s=null,p+""||null}function u(){return ff().defined(i).curve(o).context(a)}return e="function"==typeof e?e:void 0===e?uf:Od(+e),t="function"==typeof t?t:Od(void 0===t?0:+t),n="function"==typeof n?n:void 0===n?df:Od(+n),c.x=function(t){return arguments.length?(e="function"==typeof t?t:Od(+t),r=null,c):e},c.x0=function(t){return arguments.length?(e="function"==typeof t?t:Od(+t),c):e},c.x1=function(e){return arguments.length?(r=null==e?null:"function"==typeof e?e:Od(+e),c):r},c.y=function(e){return arguments.length?(t="function"==typeof e?e:Od(+e),n=null,c):t},c.y0=function(e){return arguments.length?(t="function"==typeof e?e:Od(+e),c):t},c.y1=function(e){return arguments.length?(n=null==e?null:"function"==typeof e?e:Od(+e),c):n},c.lineX0=c.lineY0=function(){return u().x(e).y(t)},c.lineY1=function(){return u().x(e).y(n)},c.lineX1=function(){return u().x(r).y(t)},c.defined=function(e){return arguments.length?(i="function"==typeof e?e:Od(!!e),c):i},c.curve=function(e){return arguments.length?(o=e,null!=a&&(s=o(a)),c):o},c.context=function(e){return arguments.length?(null==e?a=s=null:s=o(a=e),c):a},c}function pf(e,t){return t<e?-1:t>e?1:t>=e?0:NaN}function gf(e){return e}function mf(){var e=gf,t=pf,n=null,r=Od(0),i=Od(Hd),a=Od(0);function o(o){var s,l,c,u,d,f=(o=sf(o)).length,h=0,p=new Array(f),g=new Array(f),m=+r.apply(this,arguments),v=Math.min(Hd,Math.max(-Hd,i.apply(this,arguments)-m)),b=Math.min(Math.abs(v)/f,a.apply(this,arguments)),y=b*(v<0?-1:1);for(s=0;s<f;++s)(d=g[p[s]=s]=+e(o[s],s,o))>0&&(h+=d);for(null!=t?p.sort((function(e,n){return t(g[e],g[n])})):null!=n&&p.sort((function(e,t){return n(o[e],o[t])})),s=0,c=h?(v-f*y)/h:0;s<f;++s,m=u)l=p[s],u=m+((d=g[l])>0?d*c:0)+y,g[l]={data:o[l],index:s,value:d,startAngle:m,endAngle:u,padAngle:b};return g}return o.value=function(t){return arguments.length?(e="function"==typeof t?t:Od(+t),o):e},o.sortValues=function(e){return arguments.length?(t=e,n=null,o):t},o.sort=function(e){return arguments.length?(n=e,t=null,o):n},o.startAngle=function(e){return arguments.length?(r="function"==typeof e?e:Od(+e),o):r},o.endAngle=function(e){return arguments.length?(i="function"==typeof e?e:Od(+e),o):i},o.padAngle=function(e){return arguments.length?(a="function"==typeof e?e:Od(+e),o):a},o}function vf(){}function bf(e,t,n){e._context.bezierCurveTo((2*e._x0+e._x1)/3,(2*e._y0+e._y1)/3,(e._x0+2*e._x1)/3,(e._y0+2*e._y1)/3,(e._x0+4*e._x1+t)/6,(e._y0+4*e._y1+n)/6)}function yf(e){this._context=e}function _f(e){return new yf(e)}function wf(e){this._context=e}function xf(e){this._context=e}function kf(e,t){this._basis=new yf(e),this._beta=t}lf.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(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;default:this._context.lineTo(e,t)}}},yf.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){switch(this._point){case 3:bf(this,this._x1,this._y1);case 2:this._context.lineTo(this._x1,this._y1)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;break;case 2:this._point=3,this._context.lineTo((5*this._x0+this._x1)/6,(5*this._y0+this._y1)/6);default:bf(this,e,t)}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t}},wf.prototype={areaStart:vf,areaEnd:vf,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._y0=this._y1=this._y2=this._y3=this._y4=NaN,this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x2,this._y2),this._context.closePath();break;case 2:this._context.moveTo((this._x2+2*this._x3)/3,(this._y2+2*this._y3)/3),this._context.lineTo((this._x3+2*this._x2)/3,(this._y3+2*this._y2)/3),this._context.closePath();break;case 3:this.point(this._x2,this._y2),this.point(this._x3,this._y3),this.point(this._x4,this._y4)}},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._x2=e,this._y2=t;break;case 1:this._point=2,this._x3=e,this._y3=t;break;case 2:this._point=3,this._x4=e,this._y4=t,this._context.moveTo((this._x0+4*this._x1+e)/6,(this._y0+4*this._y1+t)/6);break;default:bf(this,e,t)}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t}},xf.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){(this._line||0!==this._line&&3===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3;var n=(this._x0+4*this._x1+e)/6,r=(this._y0+4*this._y1+t)/6;this._line?this._context.lineTo(n,r):this._context.moveTo(n,r);break;case 3:this._point=4;default:bf(this,e,t)}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t}},kf.prototype={lineStart:function(){this._x=[],this._y=[],this._basis.lineStart()},lineEnd:function(){var e=this._x,t=this._y,n=e.length-1;if(n>0)for(var r,i=e[0],a=t[0],o=e[n]-i,s=t[n]-a,l=-1;++l<=n;)r=l/n,this._basis.point(this._beta*e[l]+(1-this._beta)*(i+r*o),this._beta*t[l]+(1-this._beta)*(a+r*s));this._x=this._y=null,this._basis.lineEnd()},point:function(e,t){this._x.push(+e),this._y.push(+t)}};var Cf=function e(t){function n(e){return 1===t?new yf(e):new kf(e,t)}return n.beta=function(t){return e(+t)},n}(.85);function Af(e,t,n){e._context.bezierCurveTo(e._x1+e._k*(e._x2-e._x0),e._y1+e._k*(e._y2-e._y0),e._x2+e._k*(e._x1-t),e._y2+e._k*(e._y1-n),e._x2,e._y2)}function Sf(e,t){this._context=e,this._k=(1-t)/6}Sf.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x2,this._y2);break;case 3:Af(this,this._x1,this._y1)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2,this._x1=e,this._y1=t;break;case 2:this._point=3;default:Af(this,e,t)}this._x0=this._x1,this._x1=this._x2,this._x2=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}};var Ef=function e(t){function n(e){return new Sf(e,t)}return n.tension=function(t){return e(+t)},n}(0);function Mf(e,t){this._context=e,this._k=(1-t)/6}Mf.prototype={areaStart:vf,areaEnd:vf,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._x5=this._y0=this._y1=this._y2=this._y3=this._y4=this._y5=NaN,this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x3,this._y3),this._context.closePath();break;case 2:this._context.lineTo(this._x3,this._y3),this._context.closePath();break;case 3:this.point(this._x3,this._y3),this.point(this._x4,this._y4),this.point(this._x5,this._y5)}},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._x3=e,this._y3=t;break;case 1:this._point=2,this._context.moveTo(this._x4=e,this._y4=t);break;case 2:this._point=3,this._x5=e,this._y5=t;break;default:Af(this,e,t)}this._x0=this._x1,this._x1=this._x2,this._x2=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}};var Rf=function e(t){function n(e){return new Mf(e,t)}return n.tension=function(t){return e(+t)},n}(0);function Tf(e,t){this._context=e,this._k=(1-t)/6}Tf.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._point=0},lineEnd:function(){(this._line||0!==this._line&&3===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3,this._line?this._context.lineTo(this._x2,this._y2):this._context.moveTo(this._x2,this._y2);break;case 3:this._point=4;default:Af(this,e,t)}this._x0=this._x1,this._x1=this._x2,this._x2=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}};var Lf=function e(t){function n(e){return new Tf(e,t)}return n.tension=function(t){return e(+t)},n}(0);function Df(e,t,n){var r=e._x1,i=e._y1,a=e._x2,o=e._y2;if(e._l01_a>Wd){var s=2*e._l01_2a+3*e._l01_a*e._l12_a+e._l12_2a,l=3*e._l01_a*(e._l01_a+e._l12_a);r=(r*s-e._x0*e._l12_2a+e._x2*e._l01_2a)/l,i=(i*s-e._y0*e._l12_2a+e._y2*e._l01_2a)/l}if(e._l23_a>Wd){var c=2*e._l23_2a+3*e._l23_a*e._l12_a+e._l12_2a,u=3*e._l23_a*(e._l23_a+e._l12_a);a=(a*c+e._x1*e._l23_2a-t*e._l12_2a)/u,o=(o*c+e._y1*e._l23_2a-n*e._l12_2a)/u}e._context.bezierCurveTo(r,i,a,o,e._x2,e._y2)}function Of(e,t){this._context=e,this._alpha=t}Of.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x2,this._y2);break;case 3:this.point(this._x2,this._y2)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){if(e=+e,t=+t,this._point){var n=this._x2-e,r=this._y2-t;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(n*n+r*r,this._alpha))}switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;break;case 2:this._point=3;default:Df(this,e,t)}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}};var Ff=function e(t){function n(e){return t?new Of(e,t):new Sf(e,0)}return n.alpha=function(t){return e(+t)},n}(.5);function zf(e,t){this._context=e,this._alpha=t}zf.prototype={areaStart:vf,areaEnd:vf,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._x5=this._y0=this._y1=this._y2=this._y3=this._y4=this._y5=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x3,this._y3),this._context.closePath();break;case 2:this._context.lineTo(this._x3,this._y3),this._context.closePath();break;case 3:this.point(this._x3,this._y3),this.point(this._x4,this._y4),this.point(this._x5,this._y5)}},point:function(e,t){if(e=+e,t=+t,this._point){var n=this._x2-e,r=this._y2-t;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(n*n+r*r,this._alpha))}switch(this._point){case 0:this._point=1,this._x3=e,this._y3=t;break;case 1:this._point=2,this._context.moveTo(this._x4=e,this._y4=t);break;case 2:this._point=3,this._x5=e,this._y5=t;break;default:Df(this,e,t)}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}};var Pf=function e(t){function n(e){return t?new zf(e,t):new Mf(e,0)}return n.alpha=function(t){return e(+t)},n}(.5);function Nf(e,t){this._context=e,this._alpha=t}Nf.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){(this._line||0!==this._line&&3===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){if(e=+e,t=+t,this._point){var n=this._x2-e,r=this._y2-t;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(n*n+r*r,this._alpha))}switch(this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3,this._line?this._context.lineTo(this._x2,this._y2):this._context.moveTo(this._x2,this._y2);break;case 3:this._point=4;default:Df(this,e,t)}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}};var jf=function e(t){function n(e){return t?new Nf(e,t):new Tf(e,0)}return n.alpha=function(t){return e(+t)},n}(.5);function If(e){this._context=e}function Bf(e){return e<0?-1:1}function Wf(e,t,n){var r=e._x1-e._x0,i=t-e._x1,a=(e._y1-e._y0)/(r||i<0&&-0),o=(n-e._y1)/(i||r<0&&-0),s=(a*i+o*r)/(r+i);return(Bf(a)+Bf(o))*Math.min(Math.abs(a),Math.abs(o),.5*Math.abs(s))||0}function $f(e,t){var n=e._x1-e._x0;return n?(3*(e._y1-e._y0)/n-t)/2:t}function qf(e,t,n){var r=e._x0,i=e._y0,a=e._x1,o=e._y1,s=(a-r)/3;e._context.bezierCurveTo(r+s,i+s*t,a-s,o-s*n,a,o)}function Hf(e){this._context=e}function Uf(e){this._context=new Vf(e)}function Vf(e){this._context=e}function Yf(e){this._context=e}function Gf(e){var t,n,r=e.length-1,i=new Array(r),a=new Array(r),o=new Array(r);for(i[0]=0,a[0]=2,o[0]=e[0]+2*e[1],t=1;t<r-1;++t)i[t]=1,a[t]=4,o[t]=4*e[t]+2*e[t+1];for(i[r-1]=2,a[r-1]=7,o[r-1]=8*e[r-1]+e[r],t=1;t<r;++t)n=i[t]/a[t-1],a[t]-=n,o[t]-=n*o[t-1];for(i[r-1]=o[r-1]/a[r-1],t=r-2;t>=0;--t)i[t]=(o[t]-i[t+1])/a[t];for(a[r-1]=(e[r]+i[r-1])/2,t=0;t<r-1;++t)a[t]=2*e[t+1]-i[t+1];return[i,a]}function Xf(e,t){this._context=e,this._t=t}function Jf(e,t){if((i=e.length)>1)for(var n,r,i,a=1,o=e[t[0]],s=o.length;a<i;++a)for(r=o,o=e[t[a]],n=0;n<s;++n)o[n][1]+=o[n][0]=isNaN(r[n][1])?r[n][0]:r[n][1]}function Zf(e){for(var t=e.length,n=new Array(t);--t>=0;)n[t]=t;return n}function Kf(e,t){return e[t]}function Qf(e){const t=[];return t.key=e,t}function eh(e,t){if((s=e.length)>0)for(var n,r,i,a,o,s,l=0,c=e[t[0]].length;l<c;++l)for(a=o=0,n=0;n<s;++n)(i=(r=e[t[n]][l])[1]-r[0])>0?(r[0]=a,r[1]=a+=i):i<0?(r[1]=o,r[0]=o+=i):(r[0]=0,r[1]=i)}If.prototype={areaStart:vf,areaEnd:vf,lineStart:function(){this._point=0},lineEnd:function(){this._point&&this._context.closePath()},point:function(e,t){e=+e,t=+t,this._point?this._context.lineTo(e,t):(this._point=1,this._context.moveTo(e,t))}},Hf.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:qf(this,this._t0,$f(this,this._t0))}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){var n=NaN;if(t=+t,(e=+e)!==this._x1||t!==this._y1){switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;break;case 2:this._point=3,qf(this,$f(this,n=Wf(this,e,t)),n);break;default:qf(this,this._t0,n=Wf(this,e,t))}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t,this._t0=n}}},(Uf.prototype=Object.create(Hf.prototype)).point=function(e,t){Hf.prototype.point.call(this,t,e)},Vf.prototype={moveTo:function(e,t){this._context.moveTo(t,e)},closePath:function(){this._context.closePath()},lineTo:function(e,t){this._context.lineTo(t,e)},bezierCurveTo:function(e,t,n,r,i,a){this._context.bezierCurveTo(t,e,r,n,a,i)}},Yf.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x=[],this._y=[]},lineEnd:function(){var e=this._x,t=this._y,n=e.length;if(n)if(this._line?this._context.lineTo(e[0],t[0]):this._context.moveTo(e[0],t[0]),2===n)this._context.lineTo(e[1],t[1]);else for(var r=Gf(e),i=Gf(t),a=0,o=1;o<n;++a,++o)this._context.bezierCurveTo(r[0][a],i[0][a],r[1][a],i[1][a],e[o],t[o]);(this._line||0!==this._line&&1===n)&&this._context.closePath(),this._line=1-this._line,this._x=this._y=null},point:function(e,t){this._x.push(+e),this._y.push(+t)}},Xf.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x=this._y=NaN,this._point=0},lineEnd:function(){0<this._t&&this._t<1&&2===this._point&&this._context.lineTo(this._x,this._y),(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line>=0&&(this._t=1-this._t,this._line=1-this._line)},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;default:if(this._t<=0)this._context.lineTo(this._x,t),this._context.lineTo(e,t);else{var n=this._x*(1-this._t)+e*this._t;this._context.lineTo(n,this._y),this._context.lineTo(n,t)}}this._x=e,this._y=t}};const th=()=>of().innerRadius(40).outerRadius(50).cornerRadius(2).padAngle(.03),nh=mf().value((e=>e.count)).padAngle(.03).sortValues(((e,t)=>e-t)),rh=th(),ih=th().padAngle(0).cornerRadius(0),ah=e=>{if(!e?.total){const e={status:"__empty__",count:1},t={data:e,value:1,index:0,startAngle:0,endAngle:2*Math.PI,padAngle:0};return{slices:[{d:ih(t),...e}],percentage:0}}const t=no.filter((t=>!!e?.[t])).map((t=>({status:t,count:e[t]}))),n=nh(t).map((e=>{const t=rh(e);return t?{d:t,...e.data}:null})).filter((e=>null!==e));return{slices:n,percentage:Math.floor(1e4*(e=>{const t=ho(e);return t>0?(e.passed??0)/t:0})(e))/100}};var oh,sh,lh={},ch={},uh={Aacute:"Á",aacute:"á",Abreve:"Ă",abreve:"ă",ac:"∾",acd:"∿",acE:"∾̳",Acirc:"Â",acirc:"â",acute:"´",Acy:"А",acy:"а",AElig:"Æ",aelig:"æ",af:"",Afr:"𝔄",afr:"𝔞",Agrave:"À",agrave:"à",alefsym:"ℵ",aleph:"ℵ",Alpha:"Α",alpha:"α",Amacr:"Ā",amacr:"ā",amalg:"⨿",amp:"&",AMP:"&",andand:"⩕",And:"⩓",and:"∧",andd:"⩜",andslope:"⩘",andv:"⩚",ang:"∠",ange:"⦤",angle:"∠",angmsdaa:"⦨",angmsdab:"⦩",angmsdac:"⦪",angmsdad:"⦫",angmsdae:"⦬",angmsdaf:"⦭",angmsdag:"⦮",angmsdah:"⦯",angmsd:"∡",angrt:"∟",angrtvb:"⊾",angrtvbd:"⦝",angsph:"∢",angst:"Å",angzarr:"⍼",Aogon:"Ą",aogon:"ą",Aopf:"𝔸",aopf:"𝕒",apacir:"⩯",ap:"≈",apE:"⩰",ape:"≊",apid:"≋",apos:"'",ApplyFunction:"",approx:"≈",approxeq:"≊",Aring:"Å",aring:"å",Ascr:"𝒜",ascr:"𝒶",Assign:"≔",ast:"*",asymp:"≈",asympeq:"≍",Atilde:"Ã",atilde:"ã",Auml:"Ä",auml:"ä",awconint:"∳",awint:"⨑",backcong:"≌",backepsilon:"϶",backprime:"‵",backsim:"∽",backsimeq:"⋍",Backslash:"∖",Barv:"⫧",barvee:"⊽",barwed:"⌅",Barwed:"⌆",barwedge:"⌅",bbrk:"⎵",bbrktbrk:"⎶",bcong:"≌",Bcy:"Б",bcy:"б",bdquo:"„",becaus:"∵",because:"∵",Because:"∵",bemptyv:"⦰",bepsi:"϶",bernou:"ℬ",Bernoullis:"ℬ",Beta:"Β",beta:"β",beth:"ℶ",between:"≬",Bfr:"𝔅",bfr:"𝔟",bigcap:"⋂",bigcirc:"◯",bigcup:"⋃",bigodot:"⨀",bigoplus:"⨁",bigotimes:"⨂",bigsqcup:"⨆",bigstar:"★",bigtriangledown:"▽",bigtriangleup:"△",biguplus:"⨄",bigvee:"⋁",bigwedge:"⋀",bkarow:"⤍",blacklozenge:"⧫",blacksquare:"▪",blacktriangle:"▴",blacktriangledown:"▾",blacktriangleleft:"◂",blacktriangleright:"▸",blank:"␣",blk12:"▒",blk14:"░",blk34:"▓",block:"█",bne:"=⃥",bnequiv:"≡⃥",bNot:"⫭",bnot:"⌐",Bopf:"𝔹",bopf:"𝕓",bot:"⊥",bottom:"⊥",bowtie:"⋈",boxbox:"⧉",boxdl:"┐",boxdL:"╕",boxDl:"╖",boxDL:"╗",boxdr:"┌",boxdR:"╒",boxDr:"╓",boxDR:"╔",boxh:"─",boxH:"═",boxhd:"┬",boxHd:"╤",boxhD:"╥",boxHD:"╦",boxhu:"┴",boxHu:"╧",boxhU:"╨",boxHU:"╩",boxminus:"⊟",boxplus:"⊞",boxtimes:"⊠",boxul:"┘",boxuL:"╛",boxUl:"╜",boxUL:"╝",boxur:"└",boxuR:"╘",boxUr:"╙",boxUR:"╚",boxv:"│",boxV:"║",boxvh:"┼",boxvH:"╪",boxVh:"╫",boxVH:"╬",boxvl:"┤",boxvL:"╡",boxVl:"╢",boxVL:"╣",boxvr:"├",boxvR:"╞",boxVr:"╟",boxVR:"╠",bprime:"‵",breve:"˘",Breve:"˘",brvbar:"¦",bscr:"𝒷",Bscr:"ℬ",bsemi:"⁏",bsim:"∽",bsime:"⋍",bsolb:"⧅",bsol:"\\",bsolhsub:"⟈",bull:"•",bullet:"•",bump:"≎",bumpE:"⪮",bumpe:"≏",Bumpeq:"≎",bumpeq:"≏",Cacute:"Ć",cacute:"ć",capand:"⩄",capbrcup:"⩉",capcap:"⩋",cap:"∩",Cap:"⋒",capcup:"⩇",capdot:"⩀",CapitalDifferentialD:"ⅅ",caps:"∩︀",caret:"⁁",caron:"ˇ",Cayleys:"ℭ",ccaps:"⩍",Ccaron:"Č",ccaron:"č",Ccedil:"Ç",ccedil:"ç",Ccirc:"Ĉ",ccirc:"ĉ",Cconint:"∰",ccups:"⩌",ccupssm:"⩐",Cdot:"Ċ",cdot:"ċ",cedil:"¸",Cedilla:"¸",cemptyv:"⦲",cent:"¢",centerdot:"·",CenterDot:"·",cfr:"𝔠",Cfr:"ℭ",CHcy:"Ч",chcy:"ч",check:"✓",checkmark:"✓",Chi:"Χ",chi:"χ",circ:"ˆ",circeq:"≗",circlearrowleft:"↺",circlearrowright:"↻",circledast:"⊛",circledcirc:"⊚",circleddash:"⊝",CircleDot:"⊙",circledR:"®",circledS:"Ⓢ",CircleMinus:"⊖",CirclePlus:"⊕",CircleTimes:"⊗",cir:"○",cirE:"⧃",cire:"≗",cirfnint:"⨐",cirmid:"⫯",cirscir:"⧂",ClockwiseContourIntegral:"∲",CloseCurlyDoubleQuote:"”",CloseCurlyQuote:"’",clubs:"♣",clubsuit:"♣",colon:":",Colon:"∷",Colone:"⩴",colone:"≔",coloneq:"≔",comma:",",commat:"@",comp:"∁",compfn:"∘",complement:"∁",complexes:"ℂ",cong:"≅",congdot:"⩭",Congruent:"≡",conint:"∮",Conint:"∯",ContourIntegral:"∮",copf:"𝕔",Copf:"ℂ",coprod:"∐",Coproduct:"∐",copy:"©",COPY:"©",copysr:"℗",CounterClockwiseContourIntegral:"∳",crarr:"↵",cross:"✗",Cross:"⨯",Cscr:"𝒞",cscr:"𝒸",csub:"⫏",csube:"⫑",csup:"⫐",csupe:"⫒",ctdot:"⋯",cudarrl:"⤸",cudarrr:"⤵",cuepr:"⋞",cuesc:"⋟",cularr:"↶",cularrp:"⤽",cupbrcap:"⩈",cupcap:"⩆",CupCap:"≍",cup:"∪",Cup:"⋓",cupcup:"⩊",cupdot:"⊍",cupor:"⩅",cups:"∪︀",curarr:"↷",curarrm:"⤼",curlyeqprec:"⋞",curlyeqsucc:"⋟",curlyvee:"⋎",curlywedge:"⋏",curren:"¤",curvearrowleft:"↶",curvearrowright:"↷",cuvee:"⋎",cuwed:"⋏",cwconint:"∲",cwint:"∱",cylcty:"⌭",dagger:"†",Dagger:"‡",daleth:"ℸ",darr:"↓",Darr:"↡",dArr:"⇓",dash:"‐",Dashv:"⫤",dashv:"⊣",dbkarow:"⤏",dblac:"˝",Dcaron:"Ď",dcaron:"ď",Dcy:"Д",dcy:"д",ddagger:"‡",ddarr:"⇊",DD:"ⅅ",dd:"ⅆ",DDotrahd:"⤑",ddotseq:"⩷",deg:"°",Del:"∇",Delta:"Δ",delta:"δ",demptyv:"⦱",dfisht:"⥿",Dfr:"𝔇",dfr:"𝔡",dHar:"⥥",dharl:"⇃",dharr:"⇂",DiacriticalAcute:"´",DiacriticalDot:"˙",DiacriticalDoubleAcute:"˝",DiacriticalGrave:"`",DiacriticalTilde:"˜",diam:"⋄",diamond:"⋄",Diamond:"⋄",diamondsuit:"♦",diams:"♦",die:"¨",DifferentialD:"ⅆ",digamma:"ϝ",disin:"⋲",div:"÷",divide:"÷",divideontimes:"⋇",divonx:"⋇",DJcy:"Ђ",djcy:"ђ",dlcorn:"⌞",dlcrop:"⌍",dollar:"$",Dopf:"𝔻",dopf:"𝕕",Dot:"¨",dot:"˙",DotDot:"⃜",doteq:"≐",doteqdot:"≑",DotEqual:"≐",dotminus:"∸",dotplus:"∔",dotsquare:"⊡",doublebarwedge:"⌆",DoubleContourIntegral:"∯",DoubleDot:"¨",DoubleDownArrow:"⇓",DoubleLeftArrow:"⇐",DoubleLeftRightArrow:"⇔",DoubleLeftTee:"⫤",DoubleLongLeftArrow:"⟸",DoubleLongLeftRightArrow:"⟺",DoubleLongRightArrow:"⟹",DoubleRightArrow:"⇒",DoubleRightTee:"⊨",DoubleUpArrow:"⇑",DoubleUpDownArrow:"⇕",DoubleVerticalBar:"∥",DownArrowBar:"⤓",downarrow:"↓",DownArrow:"↓",Downarrow:"⇓",DownArrowUpArrow:"⇵",DownBreve:"̑",downdownarrows:"⇊",downharpoonleft:"⇃",downharpoonright:"⇂",DownLeftRightVector:"⥐",DownLeftTeeVector:"⥞",DownLeftVectorBar:"⥖",DownLeftVector:"↽",DownRightTeeVector:"⥟",DownRightVectorBar:"⥗",DownRightVector:"⇁",DownTeeArrow:"↧",DownTee:"⊤",drbkarow:"⤐",drcorn:"⌟",drcrop:"⌌",Dscr:"𝒟",dscr:"𝒹",DScy:"Ѕ",dscy:"ѕ",dsol:"⧶",Dstrok:"Đ",dstrok:"đ",dtdot:"⋱",dtri:"▿",dtrif:"▾",duarr:"⇵",duhar:"⥯",dwangle:"⦦",DZcy:"Џ",dzcy:"џ",dzigrarr:"⟿",Eacute:"É",eacute:"é",easter:"⩮",Ecaron:"Ě",ecaron:"ě",Ecirc:"Ê",ecirc:"ê",ecir:"≖",ecolon:"≕",Ecy:"Э",ecy:"э",eDDot:"⩷",Edot:"Ė",edot:"ė",eDot:"≑",ee:"ⅇ",efDot:"≒",Efr:"𝔈",efr:"𝔢",eg:"⪚",Egrave:"È",egrave:"è",egs:"⪖",egsdot:"⪘",el:"⪙",Element:"∈",elinters:"⏧",ell:"ℓ",els:"⪕",elsdot:"⪗",Emacr:"Ē",emacr:"ē",empty:"∅",emptyset:"∅",EmptySmallSquare:"◻",emptyv:"∅",EmptyVerySmallSquare:"▫",emsp13:" ",emsp14:" ",emsp:" ",ENG:"Ŋ",eng:"ŋ",ensp:" ",Eogon:"Ę",eogon:"ę",Eopf:"𝔼",eopf:"𝕖",epar:"⋕",eparsl:"⧣",eplus:"⩱",epsi:"ε",Epsilon:"Ε",epsilon:"ε",epsiv:"ϵ",eqcirc:"≖",eqcolon:"≕",eqsim:"≂",eqslantgtr:"⪖",eqslantless:"⪕",Equal:"⩵",equals:"=",EqualTilde:"≂",equest:"≟",Equilibrium:"⇌",equiv:"≡",equivDD:"⩸",eqvparsl:"⧥",erarr:"⥱",erDot:"≓",escr:"ℯ",Escr:"ℰ",esdot:"≐",Esim:"⩳",esim:"≂",Eta:"Η",eta:"η",ETH:"Ð",eth:"ð",Euml:"Ë",euml:"ë",euro:"€",excl:"!",exist:"∃",Exists:"∃",expectation:"ℰ",exponentiale:"ⅇ",ExponentialE:"ⅇ",fallingdotseq:"≒",Fcy:"Ф",fcy:"ф",female:"♀",ffilig:"ffi",fflig:"ff",ffllig:"ffl",Ffr:"𝔉",ffr:"𝔣",filig:"fi",FilledSmallSquare:"◼",FilledVerySmallSquare:"▪",fjlig:"fj",flat:"♭",fllig:"fl",fltns:"▱",fnof:"ƒ",Fopf:"𝔽",fopf:"𝕗",forall:"∀",ForAll:"∀",fork:"⋔",forkv:"⫙",Fouriertrf:"ℱ",fpartint:"⨍",frac12:"½",frac13:"⅓",frac14:"¼",frac15:"⅕",frac16:"⅙",frac18:"⅛",frac23:"⅔",frac25:"⅖",frac34:"¾",frac35:"⅗",frac38:"⅜",frac45:"⅘",frac56:"⅚",frac58:"⅝",frac78:"⅞",frasl:"⁄",frown:"⌢",fscr:"𝒻",Fscr:"ℱ",gacute:"ǵ",Gamma:"Γ",gamma:"γ",Gammad:"Ϝ",gammad:"ϝ",gap:"⪆",Gbreve:"Ğ",gbreve:"ğ",Gcedil:"Ģ",Gcirc:"Ĝ",gcirc:"ĝ",Gcy:"Г",gcy:"г",Gdot:"Ġ",gdot:"ġ",ge:"≥",gE:"≧",gEl:"⪌",gel:"⋛",geq:"≥",geqq:"≧",geqslant:"⩾",gescc:"⪩",ges:"⩾",gesdot:"⪀",gesdoto:"⪂",gesdotol:"⪄",gesl:"⋛︀",gesles:"⪔",Gfr:"𝔊",gfr:"𝔤",gg:"≫",Gg:"⋙",ggg:"⋙",gimel:"ℷ",GJcy:"Ѓ",gjcy:"ѓ",gla:"⪥",gl:"≷",glE:"⪒",glj:"⪤",gnap:"⪊",gnapprox:"⪊",gne:"⪈",gnE:"≩",gneq:"⪈",gneqq:"≩",gnsim:"⋧",Gopf:"𝔾",gopf:"𝕘",grave:"`",GreaterEqual:"≥",GreaterEqualLess:"⋛",GreaterFullEqual:"≧",GreaterGreater:"⪢",GreaterLess:"≷",GreaterSlantEqual:"⩾",GreaterTilde:"≳",Gscr:"𝒢",gscr:"ℊ",gsim:"≳",gsime:"⪎",gsiml:"⪐",gtcc:"⪧",gtcir:"⩺",gt:">",GT:">",Gt:"≫",gtdot:"⋗",gtlPar:"⦕",gtquest:"⩼",gtrapprox:"⪆",gtrarr:"⥸",gtrdot:"⋗",gtreqless:"⋛",gtreqqless:"⪌",gtrless:"≷",gtrsim:"≳",gvertneqq:"≩︀",gvnE:"≩︀",Hacek:"ˇ",hairsp:" ",half:"½",hamilt:"ℋ",HARDcy:"Ъ",hardcy:"ъ",harrcir:"⥈",harr:"↔",hArr:"⇔",harrw:"↭",Hat:"^",hbar:"ℏ",Hcirc:"Ĥ",hcirc:"ĥ",hearts:"♥",heartsuit:"♥",hellip:"…",hercon:"⊹",hfr:"𝔥",Hfr:"ℌ",HilbertSpace:"ℋ",hksearow:"⤥",hkswarow:"⤦",hoarr:"⇿",homtht:"∻",hookleftarrow:"↩",hookrightarrow:"↪",hopf:"𝕙",Hopf:"ℍ",horbar:"―",HorizontalLine:"─",hscr:"𝒽",Hscr:"ℋ",hslash:"ℏ",Hstrok:"Ħ",hstrok:"ħ",HumpDownHump:"≎",HumpEqual:"≏",hybull:"⁃",hyphen:"‐",Iacute:"Í",iacute:"í",ic:"",Icirc:"Î",icirc:"î",Icy:"И",icy:"и",Idot:"İ",IEcy:"Е",iecy:"е",iexcl:"¡",iff:"⇔",ifr:"𝔦",Ifr:"ℑ",Igrave:"Ì",igrave:"ì",ii:"ⅈ",iiiint:"⨌",iiint:"∭",iinfin:"⧜",iiota:"℩",IJlig:"IJ",ijlig:"ij",Imacr:"Ī",imacr:"ī",image:"ℑ",ImaginaryI:"ⅈ",imagline:"ℐ",imagpart:"ℑ",imath:"ı",Im:"ℑ",imof:"⊷",imped:"Ƶ",Implies:"⇒",incare:"℅",in:"∈",infin:"∞",infintie:"⧝",inodot:"ı",intcal:"⊺",int:"∫",Int:"∬",integers:"ℤ",Integral:"∫",intercal:"⊺",Intersection:"⋂",intlarhk:"⨗",intprod:"⨼",InvisibleComma:"",InvisibleTimes:"",IOcy:"Ё",iocy:"ё",Iogon:"Į",iogon:"į",Iopf:"𝕀",iopf:"𝕚",Iota:"Ι",iota:"ι",iprod:"⨼",iquest:"¿",iscr:"𝒾",Iscr:"ℐ",isin:"∈",isindot:"⋵",isinE:"⋹",isins:"⋴",isinsv:"⋳",isinv:"∈",it:"",Itilde:"Ĩ",itilde:"ĩ",Iukcy:"І",iukcy:"і",Iuml:"Ï",iuml:"ï",Jcirc:"Ĵ",jcirc:"ĵ",Jcy:"Й",jcy:"й",Jfr:"𝔍",jfr:"𝔧",jmath:"ȷ",Jopf:"𝕁",jopf:"𝕛",Jscr:"𝒥",jscr:"𝒿",Jsercy:"Ј",jsercy:"ј",Jukcy:"Є",jukcy:"є",Kappa:"Κ",kappa:"κ",kappav:"ϰ",Kcedil:"Ķ",kcedil:"ķ",Kcy:"К",kcy:"к",Kfr:"𝔎",kfr:"𝔨",kgreen:"ĸ",KHcy:"Х",khcy:"х",KJcy:"Ќ",kjcy:"ќ",Kopf:"𝕂",kopf:"𝕜",Kscr:"𝒦",kscr:"𝓀",lAarr:"⇚",Lacute:"Ĺ",lacute:"ĺ",laemptyv:"⦴",lagran:"ℒ",Lambda:"Λ",lambda:"λ",lang:"⟨",Lang:"⟪",langd:"⦑",langle:"⟨",lap:"⪅",Laplacetrf:"ℒ",laquo:"«",larrb:"⇤",larrbfs:"⤟",larr:"←",Larr:"↞",lArr:"⇐",larrfs:"⤝",larrhk:"↩",larrlp:"↫",larrpl:"⤹",larrsim:"⥳",larrtl:"↢",latail:"⤙",lAtail:"⤛",lat:"⪫",late:"⪭",lates:"⪭︀",lbarr:"⤌",lBarr:"⤎",lbbrk:"❲",lbrace:"{",lbrack:"[",lbrke:"⦋",lbrksld:"⦏",lbrkslu:"⦍",Lcaron:"Ľ",lcaron:"ľ",Lcedil:"Ļ",lcedil:"ļ",lceil:"⌈",lcub:"{",Lcy:"Л",lcy:"л",ldca:"⤶",ldquo:"“",ldquor:"„",ldrdhar:"⥧",ldrushar:"⥋",ldsh:"↲",le:"≤",lE:"≦",LeftAngleBracket:"⟨",LeftArrowBar:"⇤",leftarrow:"←",LeftArrow:"←",Leftarrow:"⇐",LeftArrowRightArrow:"⇆",leftarrowtail:"↢",LeftCeiling:"⌈",LeftDoubleBracket:"⟦",LeftDownTeeVector:"⥡",LeftDownVectorBar:"⥙",LeftDownVector:"⇃",LeftFloor:"⌊",leftharpoondown:"↽",leftharpoonup:"↼",leftleftarrows:"⇇",leftrightarrow:"↔",LeftRightArrow:"↔",Leftrightarrow:"⇔",leftrightarrows:"⇆",leftrightharpoons:"⇋",leftrightsquigarrow:"↭",LeftRightVector:"⥎",LeftTeeArrow:"↤",LeftTee:"⊣",LeftTeeVector:"⥚",leftthreetimes:"⋋",LeftTriangleBar:"⧏",LeftTriangle:"⊲",LeftTriangleEqual:"⊴",LeftUpDownVector:"⥑",LeftUpTeeVector:"⥠",LeftUpVectorBar:"⥘",LeftUpVector:"↿",LeftVectorBar:"⥒",LeftVector:"↼",lEg:"⪋",leg:"⋚",leq:"≤",leqq:"≦",leqslant:"⩽",lescc:"⪨",les:"⩽",lesdot:"⩿",lesdoto:"⪁",lesdotor:"⪃",lesg:"⋚︀",lesges:"⪓",lessapprox:"⪅",lessdot:"⋖",lesseqgtr:"⋚",lesseqqgtr:"⪋",LessEqualGreater:"⋚",LessFullEqual:"≦",LessGreater:"≶",lessgtr:"≶",LessLess:"⪡",lesssim:"≲",LessSlantEqual:"⩽",LessTilde:"≲",lfisht:"⥼",lfloor:"⌊",Lfr:"𝔏",lfr:"𝔩",lg:"≶",lgE:"⪑",lHar:"⥢",lhard:"↽",lharu:"↼",lharul:"⥪",lhblk:"▄",LJcy:"Љ",ljcy:"љ",llarr:"⇇",ll:"≪",Ll:"⋘",llcorner:"⌞",Lleftarrow:"⇚",llhard:"⥫",lltri:"◺",Lmidot:"Ŀ",lmidot:"ŀ",lmoustache:"⎰",lmoust:"⎰",lnap:"⪉",lnapprox:"⪉",lne:"⪇",lnE:"≨",lneq:"⪇",lneqq:"≨",lnsim:"⋦",loang:"⟬",loarr:"⇽",lobrk:"⟦",longleftarrow:"⟵",LongLeftArrow:"⟵",Longleftarrow:"⟸",longleftrightarrow:"⟷",LongLeftRightArrow:"⟷",Longleftrightarrow:"⟺",longmapsto:"⟼",longrightarrow:"⟶",LongRightArrow:"⟶",Longrightarrow:"⟹",looparrowleft:"↫",looparrowright:"↬",lopar:"⦅",Lopf:"𝕃",lopf:"𝕝",loplus:"⨭",lotimes:"⨴",lowast:"∗",lowbar:"_",LowerLeftArrow:"↙",LowerRightArrow:"↘",loz:"◊",lozenge:"◊",lozf:"⧫",lpar:"(",lparlt:"⦓",lrarr:"⇆",lrcorner:"⌟",lrhar:"⇋",lrhard:"⥭",lrm:"",lrtri:"⊿",lsaquo:"‹",lscr:"𝓁",Lscr:"ℒ",lsh:"↰",Lsh:"↰",lsim:"≲",lsime:"⪍",lsimg:"⪏",lsqb:"[",lsquo:"‘",lsquor:"‚",Lstrok:"Ł",lstrok:"ł",ltcc:"⪦",ltcir:"⩹",lt:"<",LT:"<",Lt:"≪",ltdot:"⋖",lthree:"⋋",ltimes:"⋉",ltlarr:"⥶",ltquest:"⩻",ltri:"◃",ltrie:"⊴",ltrif:"◂",ltrPar:"⦖",lurdshar:"⥊",luruhar:"⥦",lvertneqq:"≨︀",lvnE:"≨︀",macr:"¯",male:"♂",malt:"✠",maltese:"✠",Map:"⤅",map:"↦",mapsto:"↦",mapstodown:"↧",mapstoleft:"↤",mapstoup:"↥",marker:"▮",mcomma:"⨩",Mcy:"М",mcy:"м",mdash:"—",mDDot:"∺",measuredangle:"∡",MediumSpace:" ",Mellintrf:"ℳ",Mfr:"𝔐",mfr:"𝔪",mho:"℧",micro:"µ",midast:"*",midcir:"⫰",mid:"∣",middot:"·",minusb:"⊟",minus:"−",minusd:"∸",minusdu:"⨪",MinusPlus:"∓",mlcp:"⫛",mldr:"…",mnplus:"∓",models:"⊧",Mopf:"𝕄",mopf:"𝕞",mp:"∓",mscr:"𝓂",Mscr:"ℳ",mstpos:"∾",Mu:"Μ",mu:"μ",multimap:"⊸",mumap:"⊸",nabla:"∇",Nacute:"Ń",nacute:"ń",nang:"∠⃒",nap:"≉",napE:"⩰̸",napid:"≋̸",napos:"ʼn",napprox:"≉",natural:"♮",naturals:"ℕ",natur:"♮",nbsp:" ",nbump:"≎̸",nbumpe:"≏̸",ncap:"⩃",Ncaron:"Ň",ncaron:"ň",Ncedil:"Ņ",ncedil:"ņ",ncong:"≇",ncongdot:"⩭̸",ncup:"⩂",Ncy:"Н",ncy:"н",ndash:"–",nearhk:"⤤",nearr:"↗",neArr:"⇗",nearrow:"↗",ne:"≠",nedot:"≐̸",NegativeMediumSpace:"",NegativeThickSpace:"",NegativeThinSpace:"",NegativeVeryThinSpace:"",nequiv:"≢",nesear:"⤨",nesim:"≂̸",NestedGreaterGreater:"≫",NestedLessLess:"≪",NewLine:"\n",nexist:"∄",nexists:"∄",Nfr:"𝔑",nfr:"𝔫",ngE:"≧̸",nge:"≱",ngeq:"≱",ngeqq:"≧̸",ngeqslant:"⩾̸",nges:"⩾̸",nGg:"⋙̸",ngsim:"≵",nGt:"≫⃒",ngt:"≯",ngtr:"≯",nGtv:"≫̸",nharr:"↮",nhArr:"⇎",nhpar:"⫲",ni:"∋",nis:"⋼",nisd:"⋺",niv:"∋",NJcy:"Њ",njcy:"њ",nlarr:"↚",nlArr:"⇍",nldr:"‥",nlE:"≦̸",nle:"≰",nleftarrow:"↚",nLeftarrow:"⇍",nleftrightarrow:"↮",nLeftrightarrow:"⇎",nleq:"≰",nleqq:"≦̸",nleqslant:"⩽̸",nles:"⩽̸",nless:"≮",nLl:"⋘̸",nlsim:"≴",nLt:"≪⃒",nlt:"≮",nltri:"⋪",nltrie:"⋬",nLtv:"≪̸",nmid:"∤",NoBreak:"",NonBreakingSpace:" ",nopf:"𝕟",Nopf:"ℕ",Not:"⫬",not:"¬",NotCongruent:"≢",NotCupCap:"≭",NotDoubleVerticalBar:"∦",NotElement:"∉",NotEqual:"≠",NotEqualTilde:"≂̸",NotExists:"∄",NotGreater:"≯",NotGreaterEqual:"≱",NotGreaterFullEqual:"≧̸",NotGreaterGreater:"≫̸",NotGreaterLess:"≹",NotGreaterSlantEqual:"⩾̸",NotGreaterTilde:"≵",NotHumpDownHump:"≎̸",NotHumpEqual:"≏̸",notin:"∉",notindot:"⋵̸",notinE:"⋹̸",notinva:"∉",notinvb:"⋷",notinvc:"⋶",NotLeftTriangleBar:"⧏̸",NotLeftTriangle:"⋪",NotLeftTriangleEqual:"⋬",NotLess:"≮",NotLessEqual:"≰",NotLessGreater:"≸",NotLessLess:"≪̸",NotLessSlantEqual:"⩽̸",NotLessTilde:"≴",NotNestedGreaterGreater:"⪢̸",NotNestedLessLess:"⪡̸",notni:"∌",notniva:"∌",notnivb:"⋾",notnivc:"⋽",NotPrecedes:"⊀",NotPrecedesEqual:"⪯̸",NotPrecedesSlantEqual:"⋠",NotReverseElement:"∌",NotRightTriangleBar:"⧐̸",NotRightTriangle:"⋫",NotRightTriangleEqual:"⋭",NotSquareSubset:"⊏̸",NotSquareSubsetEqual:"⋢",NotSquareSuperset:"⊐̸",NotSquareSupersetEqual:"⋣",NotSubset:"⊂⃒",NotSubsetEqual:"⊈",NotSucceeds:"⊁",NotSucceedsEqual:"⪰̸",NotSucceedsSlantEqual:"⋡",NotSucceedsTilde:"≿̸",NotSuperset:"⊃⃒",NotSupersetEqual:"⊉",NotTilde:"≁",NotTildeEqual:"≄",NotTildeFullEqual:"≇",NotTildeTilde:"≉",NotVerticalBar:"∤",nparallel:"∦",npar:"∦",nparsl:"⫽⃥",npart:"∂̸",npolint:"⨔",npr:"⊀",nprcue:"⋠",nprec:"⊀",npreceq:"⪯̸",npre:"⪯̸",nrarrc:"⤳̸",nrarr:"↛",nrArr:"⇏",nrarrw:"↝̸",nrightarrow:"↛",nRightarrow:"⇏",nrtri:"⋫",nrtrie:"⋭",nsc:"⊁",nsccue:"⋡",nsce:"⪰̸",Nscr:"𝒩",nscr:"𝓃",nshortmid:"∤",nshortparallel:"∦",nsim:"≁",nsime:"≄",nsimeq:"≄",nsmid:"∤",nspar:"∦",nsqsube:"⋢",nsqsupe:"⋣",nsub:"⊄",nsubE:"⫅̸",nsube:"⊈",nsubset:"⊂⃒",nsubseteq:"⊈",nsubseteqq:"⫅̸",nsucc:"⊁",nsucceq:"⪰̸",nsup:"⊅",nsupE:"⫆̸",nsupe:"⊉",nsupset:"⊃⃒",nsupseteq:"⊉",nsupseteqq:"⫆̸",ntgl:"≹",Ntilde:"Ñ",ntilde:"ñ",ntlg:"≸",ntriangleleft:"⋪",ntrianglelefteq:"⋬",ntriangleright:"⋫",ntrianglerighteq:"⋭",Nu:"Ν",nu:"ν",num:"#",numero:"№",numsp:" ",nvap:"≍⃒",nvdash:"⊬",nvDash:"⊭",nVdash:"⊮",nVDash:"⊯",nvge:"≥⃒",nvgt:">⃒",nvHarr:"⤄",nvinfin:"⧞",nvlArr:"⤂",nvle:"≤⃒",nvlt:"<⃒",nvltrie:"⊴⃒",nvrArr:"⤃",nvrtrie:"⊵⃒",nvsim:"∼⃒",nwarhk:"⤣",nwarr:"↖",nwArr:"⇖",nwarrow:"↖",nwnear:"⤧",Oacute:"Ó",oacute:"ó",oast:"⊛",Ocirc:"Ô",ocirc:"ô",ocir:"⊚",Ocy:"О",ocy:"о",odash:"⊝",Odblac:"Ő",odblac:"ő",odiv:"⨸",odot:"⊙",odsold:"⦼",OElig:"Œ",oelig:"œ",ofcir:"⦿",Ofr:"𝔒",ofr:"𝔬",ogon:"˛",Ograve:"Ò",ograve:"ò",ogt:"⧁",ohbar:"⦵",ohm:"Ω",oint:"∮",olarr:"↺",olcir:"⦾",olcross:"⦻",oline:"‾",olt:"⧀",Omacr:"Ō",omacr:"ō",Omega:"Ω",omega:"ω",Omicron:"Ο",omicron:"ο",omid:"⦶",ominus:"⊖",Oopf:"𝕆",oopf:"𝕠",opar:"⦷",OpenCurlyDoubleQuote:"“",OpenCurlyQuote:"‘",operp:"⦹",oplus:"⊕",orarr:"↻",Or:"⩔",or:"∨",ord:"⩝",order:"ℴ",orderof:"ℴ",ordf:"ª",ordm:"º",origof:"⊶",oror:"⩖",orslope:"⩗",orv:"⩛",oS:"Ⓢ",Oscr:"𝒪",oscr:"ℴ",Oslash:"Ø",oslash:"ø",osol:"⊘",Otilde:"Õ",otilde:"õ",otimesas:"⨶",Otimes:"⨷",otimes:"⊗",Ouml:"Ö",ouml:"ö",ovbar:"⌽",OverBar:"‾",OverBrace:"⏞",OverBracket:"⎴",OverParenthesis:"⏜",para:"¶",parallel:"∥",par:"∥",parsim:"⫳",parsl:"⫽",part:"∂",PartialD:"∂",Pcy:"П",pcy:"п",percnt:"%",period:".",permil:"‰",perp:"⊥",pertenk:"‱",Pfr:"𝔓",pfr:"𝔭",Phi:"Φ",phi:"φ",phiv:"ϕ",phmmat:"ℳ",phone:"☎",Pi:"Π",pi:"π",pitchfork:"⋔",piv:"ϖ",planck:"ℏ",planckh:"ℎ",plankv:"ℏ",plusacir:"⨣",plusb:"⊞",pluscir:"⨢",plus:"+",plusdo:"∔",plusdu:"⨥",pluse:"⩲",PlusMinus:"±",plusmn:"±",plussim:"⨦",plustwo:"⨧",pm:"±",Poincareplane:"ℌ",pointint:"⨕",popf:"𝕡",Popf:"ℙ",pound:"£",prap:"⪷",Pr:"⪻",pr:"≺",prcue:"≼",precapprox:"⪷",prec:"≺",preccurlyeq:"≼",Precedes:"≺",PrecedesEqual:"⪯",PrecedesSlantEqual:"≼",PrecedesTilde:"≾",preceq:"⪯",precnapprox:"⪹",precneqq:"⪵",precnsim:"⋨",pre:"⪯",prE:"⪳",precsim:"≾",prime:"′",Prime:"″",primes:"ℙ",prnap:"⪹",prnE:"⪵",prnsim:"⋨",prod:"∏",Product:"∏",profalar:"⌮",profline:"⌒",profsurf:"⌓",prop:"∝",Proportional:"∝",Proportion:"∷",propto:"∝",prsim:"≾",prurel:"⊰",Pscr:"𝒫",pscr:"𝓅",Psi:"Ψ",psi:"ψ",puncsp:" ",Qfr:"𝔔",qfr:"𝔮",qint:"⨌",qopf:"𝕢",Qopf:"ℚ",qprime:"⁗",Qscr:"𝒬",qscr:"𝓆",quaternions:"ℍ",quatint:"⨖",quest:"?",questeq:"≟",quot:'"',QUOT:'"',rAarr:"⇛",race:"∽̱",Racute:"Ŕ",racute:"ŕ",radic:"√",raemptyv:"⦳",rang:"⟩",Rang:"⟫",rangd:"⦒",range:"⦥",rangle:"⟩",raquo:"»",rarrap:"⥵",rarrb:"⇥",rarrbfs:"⤠",rarrc:"⤳",rarr:"→",Rarr:"↠",rArr:"⇒",rarrfs:"⤞",rarrhk:"↪",rarrlp:"↬",rarrpl:"⥅",rarrsim:"⥴",Rarrtl:"⤖",rarrtl:"↣",rarrw:"↝",ratail:"⤚",rAtail:"⤜",ratio:"∶",rationals:"ℚ",rbarr:"⤍",rBarr:"⤏",RBarr:"⤐",rbbrk:"❳",rbrace:"}",rbrack:"]",rbrke:"⦌",rbrksld:"⦎",rbrkslu:"⦐",Rcaron:"Ř",rcaron:"ř",Rcedil:"Ŗ",rcedil:"ŗ",rceil:"⌉",rcub:"}",Rcy:"Р",rcy:"р",rdca:"⤷",rdldhar:"⥩",rdquo:"”",rdquor:"”",rdsh:"↳",real:"ℜ",realine:"ℛ",realpart:"ℜ",reals:"ℝ",Re:"ℜ",rect:"▭",reg:"®",REG:"®",ReverseElement:"∋",ReverseEquilibrium:"⇋",ReverseUpEquilibrium:"⥯",rfisht:"⥽",rfloor:"⌋",rfr:"𝔯",Rfr:"ℜ",rHar:"⥤",rhard:"⇁",rharu:"⇀",rharul:"⥬",Rho:"Ρ",rho:"ρ",rhov:"ϱ",RightAngleBracket:"⟩",RightArrowBar:"⇥",rightarrow:"→",RightArrow:"→",Rightarrow:"⇒",RightArrowLeftArrow:"⇄",rightarrowtail:"↣",RightCeiling:"⌉",RightDoubleBracket:"⟧",RightDownTeeVector:"⥝",RightDownVectorBar:"⥕",RightDownVector:"⇂",RightFloor:"⌋",rightharpoondown:"⇁",rightharpoonup:"⇀",rightleftarrows:"⇄",rightleftharpoons:"⇌",rightrightarrows:"⇉",rightsquigarrow:"↝",RightTeeArrow:"↦",RightTee:"⊢",RightTeeVector:"⥛",rightthreetimes:"⋌",RightTriangleBar:"⧐",RightTriangle:"⊳",RightTriangleEqual:"⊵",RightUpDownVector:"⥏",RightUpTeeVector:"⥜",RightUpVectorBar:"⥔",RightUpVector:"↾",RightVectorBar:"⥓",RightVector:"⇀",ring:"˚",risingdotseq:"≓",rlarr:"⇄",rlhar:"⇌",rlm:"",rmoustache:"⎱",rmoust:"⎱",rnmid:"⫮",roang:"⟭",roarr:"⇾",robrk:"⟧",ropar:"⦆",ropf:"𝕣",Ropf:"ℝ",roplus:"⨮",rotimes:"⨵",RoundImplies:"⥰",rpar:")",rpargt:"⦔",rppolint:"⨒",rrarr:"⇉",Rrightarrow:"⇛",rsaquo:"›",rscr:"𝓇",Rscr:"ℛ",rsh:"↱",Rsh:"↱",rsqb:"]",rsquo:"’",rsquor:"’",rthree:"⋌",rtimes:"⋊",rtri:"▹",rtrie:"⊵",rtrif:"▸",rtriltri:"⧎",RuleDelayed:"⧴",ruluhar:"⥨",rx:"℞",Sacute:"Ś",sacute:"ś",sbquo:"‚",scap:"⪸",Scaron:"Š",scaron:"š",Sc:"⪼",sc:"≻",sccue:"≽",sce:"⪰",scE:"⪴",Scedil:"Ş",scedil:"ş",Scirc:"Ŝ",scirc:"ŝ",scnap:"⪺",scnE:"⪶",scnsim:"⋩",scpolint:"⨓",scsim:"≿",Scy:"С",scy:"с",sdotb:"⊡",sdot:"⋅",sdote:"⩦",searhk:"⤥",searr:"↘",seArr:"⇘",searrow:"↘",sect:"§",semi:";",seswar:"⤩",setminus:"∖",setmn:"∖",sext:"✶",Sfr:"𝔖",sfr:"𝔰",sfrown:"⌢",sharp:"♯",SHCHcy:"Щ",shchcy:"щ",SHcy:"Ш",shcy:"ш",ShortDownArrow:"↓",ShortLeftArrow:"←",shortmid:"∣",shortparallel:"∥",ShortRightArrow:"→",ShortUpArrow:"↑",shy:"",Sigma:"Σ",sigma:"σ",sigmaf:"ς",sigmav:"ς",sim:"∼",simdot:"⩪",sime:"≃",simeq:"≃",simg:"⪞",simgE:"⪠",siml:"⪝",simlE:"⪟",simne:"≆",simplus:"⨤",simrarr:"⥲",slarr:"←",SmallCircle:"∘",smallsetminus:"∖",smashp:"⨳",smeparsl:"⧤",smid:"∣",smile:"⌣",smt:"⪪",smte:"⪬",smtes:"⪬︀",SOFTcy:"Ь",softcy:"ь",solbar:"⌿",solb:"⧄",sol:"/",Sopf:"𝕊",sopf:"𝕤",spades:"♠",spadesuit:"♠",spar:"∥",sqcap:"⊓",sqcaps:"⊓︀",sqcup:"⊔",sqcups:"⊔︀",Sqrt:"√",sqsub:"⊏",sqsube:"⊑",sqsubset:"⊏",sqsubseteq:"⊑",sqsup:"⊐",sqsupe:"⊒",sqsupset:"⊐",sqsupseteq:"⊒",square:"□",Square:"□",SquareIntersection:"⊓",SquareSubset:"⊏",SquareSubsetEqual:"⊑",SquareSuperset:"⊐",SquareSupersetEqual:"⊒",SquareUnion:"⊔",squarf:"▪",squ:"□",squf:"▪",srarr:"→",Sscr:"𝒮",sscr:"𝓈",ssetmn:"∖",ssmile:"⌣",sstarf:"⋆",Star:"⋆",star:"☆",starf:"★",straightepsilon:"ϵ",straightphi:"ϕ",strns:"¯",sub:"⊂",Sub:"⋐",subdot:"⪽",subE:"⫅",sube:"⊆",subedot:"⫃",submult:"⫁",subnE:"⫋",subne:"⊊",subplus:"⪿",subrarr:"⥹",subset:"⊂",Subset:"⋐",subseteq:"⊆",subseteqq:"⫅",SubsetEqual:"⊆",subsetneq:"⊊",subsetneqq:"⫋",subsim:"⫇",subsub:"⫕",subsup:"⫓",succapprox:"⪸",succ:"≻",succcurlyeq:"≽",Succeeds:"≻",SucceedsEqual:"⪰",SucceedsSlantEqual:"≽",SucceedsTilde:"≿",succeq:"⪰",succnapprox:"⪺",succneqq:"⪶",succnsim:"⋩",succsim:"≿",SuchThat:"∋",sum:"∑",Sum:"∑",sung:"♪",sup1:"¹",sup2:"²",sup3:"³",sup:"⊃",Sup:"⋑",supdot:"⪾",supdsub:"⫘",supE:"⫆",supe:"⊇",supedot:"⫄",Superset:"⊃",SupersetEqual:"⊇",suphsol:"⟉",suphsub:"⫗",suplarr:"⥻",supmult:"⫂",supnE:"⫌",supne:"⊋",supplus:"⫀",supset:"⊃",Supset:"⋑",supseteq:"⊇",supseteqq:"⫆",supsetneq:"⊋",supsetneqq:"⫌",supsim:"⫈",supsub:"⫔",supsup:"⫖",swarhk:"⤦",swarr:"↙",swArr:"⇙",swarrow:"↙",swnwar:"⤪",szlig:"ß",Tab:"\t",target:"⌖",Tau:"Τ",tau:"τ",tbrk:"⎴",Tcaron:"Ť",tcaron:"ť",Tcedil:"Ţ",tcedil:"ţ",Tcy:"Т",tcy:"т",tdot:"⃛",telrec:"⌕",Tfr:"𝔗",tfr:"𝔱",there4:"∴",therefore:"∴",Therefore:"∴",Theta:"Θ",theta:"θ",thetasym:"ϑ",thetav:"ϑ",thickapprox:"≈",thicksim:"∼",ThickSpace:" ",ThinSpace:" ",thinsp:" ",thkap:"≈",thksim:"∼",THORN:"Þ",thorn:"þ",tilde:"˜",Tilde:"∼",TildeEqual:"≃",TildeFullEqual:"≅",TildeTilde:"≈",timesbar:"⨱",timesb:"⊠",times:"×",timesd:"⨰",tint:"∭",toea:"⤨",topbot:"⌶",topcir:"⫱",top:"⊤",Topf:"𝕋",topf:"𝕥",topfork:"⫚",tosa:"⤩",tprime:"‴",trade:"™",TRADE:"™",triangle:"▵",triangledown:"▿",triangleleft:"◃",trianglelefteq:"⊴",triangleq:"≜",triangleright:"▹",trianglerighteq:"⊵",tridot:"◬",trie:"≜",triminus:"⨺",TripleDot:"⃛",triplus:"⨹",trisb:"⧍",tritime:"⨻",trpezium:"⏢",Tscr:"𝒯",tscr:"𝓉",TScy:"Ц",tscy:"ц",TSHcy:"Ћ",tshcy:"ћ",Tstrok:"Ŧ",tstrok:"ŧ",twixt:"≬",twoheadleftarrow:"↞",twoheadrightarrow:"↠",Uacute:"Ú",uacute:"ú",uarr:"↑",Uarr:"↟",uArr:"⇑",Uarrocir:"⥉",Ubrcy:"Ў",ubrcy:"ў",Ubreve:"Ŭ",ubreve:"ŭ",Ucirc:"Û",ucirc:"û",Ucy:"У",ucy:"у",udarr:"⇅",Udblac:"Ű",udblac:"ű",udhar:"⥮",ufisht:"⥾",Ufr:"𝔘",ufr:"𝔲",Ugrave:"Ù",ugrave:"ù",uHar:"⥣",uharl:"↿",uharr:"↾",uhblk:"▀",ulcorn:"⌜",ulcorner:"⌜",ulcrop:"⌏",ultri:"◸",Umacr:"Ū",umacr:"ū",uml:"¨",UnderBar:"_",UnderBrace:"⏟",UnderBracket:"⎵",UnderParenthesis:"⏝",Union:"⋃",UnionPlus:"⊎",Uogon:"Ų",uogon:"ų",Uopf:"𝕌",uopf:"𝕦",UpArrowBar:"⤒",uparrow:"↑",UpArrow:"↑",Uparrow:"⇑",UpArrowDownArrow:"⇅",updownarrow:"↕",UpDownArrow:"↕",Updownarrow:"⇕",UpEquilibrium:"⥮",upharpoonleft:"↿",upharpoonright:"↾",uplus:"⊎",UpperLeftArrow:"↖",UpperRightArrow:"↗",upsi:"υ",Upsi:"ϒ",upsih:"ϒ",Upsilon:"Υ",upsilon:"υ",UpTeeArrow:"↥",UpTee:"⊥",upuparrows:"⇈",urcorn:"⌝",urcorner:"⌝",urcrop:"⌎",Uring:"Ů",uring:"ů",urtri:"◹",Uscr:"𝒰",uscr:"𝓊",utdot:"⋰",Utilde:"Ũ",utilde:"ũ",utri:"▵",utrif:"▴",uuarr:"⇈",Uuml:"Ü",uuml:"ü",uwangle:"⦧",vangrt:"⦜",varepsilon:"ϵ",varkappa:"ϰ",varnothing:"∅",varphi:"ϕ",varpi:"ϖ",varpropto:"∝",varr:"↕",vArr:"⇕",varrho:"ϱ",varsigma:"ς",varsubsetneq:"⊊︀",varsubsetneqq:"⫋︀",varsupsetneq:"⊋︀",varsupsetneqq:"⫌︀",vartheta:"ϑ",vartriangleleft:"⊲",vartriangleright:"⊳",vBar:"⫨",Vbar:"⫫",vBarv:"⫩",Vcy:"В",vcy:"в",vdash:"⊢",vDash:"⊨",Vdash:"⊩",VDash:"⊫",Vdashl:"⫦",veebar:"⊻",vee:"∨",Vee:"⋁",veeeq:"≚",vellip:"⋮",verbar:"|",Verbar:"‖",vert:"|",Vert:"‖",VerticalBar:"∣",VerticalLine:"|",VerticalSeparator:"❘",VerticalTilde:"≀",VeryThinSpace:" ",Vfr:"𝔙",vfr:"𝔳",vltri:"⊲",vnsub:"⊂⃒",vnsup:"⊃⃒",Vopf:"𝕍",vopf:"𝕧",vprop:"∝",vrtri:"⊳",Vscr:"𝒱",vscr:"𝓋",vsubnE:"⫋︀",vsubne:"⊊︀",vsupnE:"⫌︀",vsupne:"⊋︀",Vvdash:"⊪",vzigzag:"⦚",Wcirc:"Ŵ",wcirc:"ŵ",wedbar:"⩟",wedge:"∧",Wedge:"⋀",wedgeq:"≙",weierp:"℘",Wfr:"𝔚",wfr:"𝔴",Wopf:"𝕎",wopf:"𝕨",wp:"℘",wr:"≀",wreath:"≀",Wscr:"𝒲",wscr:"𝓌",xcap:"⋂",xcirc:"◯",xcup:"⋃",xdtri:"▽",Xfr:"𝔛",xfr:"𝔵",xharr:"⟷",xhArr:"⟺",Xi:"Ξ",xi:"ξ",xlarr:"⟵",xlArr:"⟸",xmap:"⟼",xnis:"⋻",xodot:"⨀",Xopf:"𝕏",xopf:"𝕩",xoplus:"⨁",xotime:"⨂",xrarr:"⟶",xrArr:"⟹",Xscr:"𝒳",xscr:"𝓍",xsqcup:"⨆",xuplus:"⨄",xutri:"△",xvee:"⋁",xwedge:"⋀",Yacute:"Ý",yacute:"ý",YAcy:"Я",yacy:"я",Ycirc:"Ŷ",ycirc:"ŷ",Ycy:"Ы",ycy:"ы",yen:"¥",Yfr:"𝔜",yfr:"𝔶",YIcy:"Ї",yicy:"ї",Yopf:"𝕐",yopf:"𝕪",Yscr:"𝒴",yscr:"𝓎",YUcy:"Ю",yucy:"ю",yuml:"ÿ",Yuml:"Ÿ",Zacute:"Ź",zacute:"ź",Zcaron:"Ž",zcaron:"ž",Zcy:"З",zcy:"з",Zdot:"Ż",zdot:"ż",zeetrf:"ℨ",ZeroWidthSpace:"",Zeta:"Ζ",zeta:"ζ",zfr:"𝔷",Zfr:"ℨ",ZHcy:"Ж",zhcy:"ж",zigrarr:"⇝",zopf:"𝕫",Zopf:"ℤ",Zscr:"𝒵",zscr:"𝓏",zwj:"",zwnj:""},dh={Aacute:"Á",aacute:"á",Acirc:"Â",acirc:"â",acute:"´",AElig:"Æ",aelig:"æ",Agrave:"À",agrave:"à",amp:"&",AMP:"&",Aring:"Å",aring:"å",Atilde:"Ã",atilde:"ã",Auml:"Ä",auml:"ä",brvbar:"¦",Ccedil:"Ç",ccedil:"ç",cedil:"¸",cent:"¢",copy:"©",COPY:"©",curren:"¤",deg:"°",divide:"÷",Eacute:"É",eacute:"é",Ecirc:"Ê",ecirc:"ê",Egrave:"È",egrave:"è",ETH:"Ð",eth:"ð",Euml:"Ë",euml:"ë",frac12:"½",frac14:"¼",frac34:"¾",gt:">",GT:">",Iacute:"Í",iacute:"í",Icirc:"Î",icirc:"î",iexcl:"¡",Igrave:"Ì",igrave:"ì",iquest:"¿",Iuml:"Ï",iuml:"ï",laquo:"«",lt:"<",LT:"<",macr:"¯",micro:"µ",middot:"·",nbsp:" ",not:"¬",Ntilde:"Ñ",ntilde:"ñ",Oacute:"Ó",oacute:"ó",Ocirc:"Ô",ocirc:"ô",Ograve:"Ò",ograve:"ò",ordf:"ª",ordm:"º",Oslash:"Ø",oslash:"ø",Otilde:"Õ",otilde:"õ",Ouml:"Ö",ouml:"ö",para:"¶",plusmn:"±",pound:"£",quot:'"',QUOT:'"',raquo:"»",reg:"®",REG:"®",sect:"§",shy:"",sup1:"¹",sup2:"²",sup3:"³",szlig:"ß",THORN:"Þ",thorn:"þ",times:"×",Uacute:"Ú",uacute:"ú",Ucirc:"Û",ucirc:"û",Ugrave:"Ù",ugrave:"ù",uml:"¨",Uuml:"Ü",uuml:"ü",Yacute:"Ý",yacute:"ý",yen:"¥",yuml:"ÿ"},fh={amp:"&",apos:"'",gt:">",lt:"<",quot:'"'},hh={},ph={0:65533,128:8364,130:8218,131:402,132:8222,133:8230,134:8224,135:8225,136:710,137:8240,138:352,139:8249,140:338,142:381,145:8216,146:8217,147:8220,148:8221,149:8226,150:8211,151:8212,152:732,153:8482,154:353,155:8250,156:339,158:382,159:376};function gh(){if(oh)return hh;oh=1;var e=hh&&hh.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(hh,"__esModule",{value:!0});var t=e(ph),n=String.fromCodePoint||function(e){var t="";return e>65535&&(e-=65536,t+=String.fromCharCode(e>>>10&1023|55296),e=56320|1023&e),t+=String.fromCharCode(e)};return hh.default=function(e){return e>=55296&&e<=57343||e>1114111?"�":(e in t.default&&(e=t.default[e]),n(e))},hh}function mh(){if(sh)return ch;sh=1;var e=ch&&ch.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(ch,"__esModule",{value:!0}),ch.decodeHTML=ch.decodeHTMLStrict=ch.decodeXML=void 0;var t=e(uh),n=e(dh),r=e(fh),i=e(gh()),a=/&(?:[a-zA-Z0-9]+|#[xX][\da-fA-F]+|#\d+);/g;function o(e){var t=l(e);return function(e){return String(e).replace(a,t)}}ch.decodeXML=o(r.default),ch.decodeHTMLStrict=o(t.default);var s=function(e,t){return e<t?1:-1};function l(e){return function(t){if("#"===t.charAt(1)){var n=t.charAt(2);return"X"===n||"x"===n?i.default(parseInt(t.substr(3),16)):i.default(parseInt(t.substr(2),10))}return e[t.slice(1,-1)]||t}}return ch.decodeHTML=function(){for(var e=Object.keys(n.default).sort(s),r=Object.keys(t.default).sort(s),i=0,a=0;i<r.length;i++)e[a]===r[i]?(r[i]+=";?",a++):r[i]+=";";var o=new RegExp("&(?:"+r.join("|")+"|#[xX][\\da-fA-F]+;?|#\\d+;?)","g"),c=l(t.default);function u(e){return";"!==e.substr(-1)&&(e+=";"),c(e)}return function(e){return String(e).replace(o,u)}}(),ch}var vh,bh,yh,_h,wh={};function xh(){if(vh)return wh;vh=1;var e=wh&&wh.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(wh,"__esModule",{value:!0}),wh.escapeUTF8=wh.escape=wh.encodeNonAsciiHTML=wh.encodeHTML=wh.encodeXML=void 0;var t=a(e(fh).default),n=o(t);wh.encodeXML=d(t);var r=a(e(uh).default),i=o(r);function a(e){return Object.keys(e).sort().reduce((function(t,n){return t[e[n]]="&"+n+";",t}),{})}function o(e){for(var t=[],n=[],r=0,i=Object.keys(e);r<i.length;r++){var a=i[r];1===a.length?t.push("\\"+a):n.push(a)}t.sort();for(var o=0;o<t.length-1;o++){for(var s=o;s<t.length-1&&t[s].charCodeAt(1)+1===t[s+1].charCodeAt(1);)s+=1;var l=1+s-o;l<3||t.splice(o,l,t[o]+"-"+t[s])}return n.unshift("["+t.join("")+"]"),new RegExp(n.join("|"),"g")}wh.encodeHTML=function(e,t){return function(n){return n.replace(t,(function(t){return e[t]})).replace(s,c)}}(r,i),wh.encodeNonAsciiHTML=d(r);var s=/(?:[\x80-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])/g,l=null!=String.prototype.codePointAt?function(e){return e.codePointAt(0)}:function(e){return 1024*(e.charCodeAt(0)-55296)+e.charCodeAt(1)-56320+65536};function c(e){return"&#x"+(e.length>1?l(e):e.charCodeAt(0)).toString(16).toUpperCase()+";"}var u=new RegExp(n.source+"|"+s.source,"g");function d(e){return function(t){return t.replace(u,(function(t){return e[t]||c(t)}))}}return wh.escape=function(e){return e.replace(u,c)},wh.escapeUTF8=function(e){return e.replace(n,c)},wh}function kh(){return bh||(bh=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.decodeXMLStrict=e.decodeHTML5Strict=e.decodeHTML4Strict=e.decodeHTML5=e.decodeHTML4=e.decodeHTMLStrict=e.decodeHTML=e.decodeXML=e.encodeHTML5=e.encodeHTML4=e.escapeUTF8=e.escape=e.encodeNonAsciiHTML=e.encodeHTML=e.encodeXML=e.encode=e.decodeStrict=e.decode=void 0;var t=mh(),n=xh();e.decode=function(e,n){return(!n||n<=0?t.decodeXML:t.decodeHTML)(e)},e.decodeStrict=function(e,n){return(!n||n<=0?t.decodeXML:t.decodeHTMLStrict)(e)},e.encode=function(e,t){return(!t||t<=0?n.encodeXML:n.encodeHTML)(e)};var r=xh();Object.defineProperty(e,"encodeXML",{enumerable:!0,get:function(){return r.encodeXML}}),Object.defineProperty(e,"encodeHTML",{enumerable:!0,get:function(){return r.encodeHTML}}),Object.defineProperty(e,"encodeNonAsciiHTML",{enumerable:!0,get:function(){return r.encodeNonAsciiHTML}}),Object.defineProperty(e,"escape",{enumerable:!0,get:function(){return r.escape}}),Object.defineProperty(e,"escapeUTF8",{enumerable:!0,get:function(){return r.escapeUTF8}}),Object.defineProperty(e,"encodeHTML4",{enumerable:!0,get:function(){return r.encodeHTML}}),Object.defineProperty(e,"encodeHTML5",{enumerable:!0,get:function(){return r.encodeHTML}});var i=mh();Object.defineProperty(e,"decodeXML",{enumerable:!0,get:function(){return i.decodeXML}}),Object.defineProperty(e,"decodeHTML",{enumerable:!0,get:function(){return i.decodeHTML}}),Object.defineProperty(e,"decodeHTMLStrict",{enumerable:!0,get:function(){return i.decodeHTMLStrict}}),Object.defineProperty(e,"decodeHTML4",{enumerable:!0,get:function(){return i.decodeHTML}}),Object.defineProperty(e,"decodeHTML5",{enumerable:!0,get:function(){return i.decodeHTML}}),Object.defineProperty(e,"decodeHTML4Strict",{enumerable:!0,get:function(){return i.decodeHTMLStrict}}),Object.defineProperty(e,"decodeHTML5Strict",{enumerable:!0,get:function(){return i.decodeHTMLStrict}}),Object.defineProperty(e,"decodeXMLStrict",{enumerable:!0,get:function(){return i.decodeXML}})}(lh)),lh}var Ch=function(){if(_h)return yh;function e(e,t,n){return t&&function(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}(e.prototype,t),e}function t(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=function(e,t){if(!e)return;if("string"==typeof e)return n(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return n(e,t)}(e))||t){r&&(e=r);var i=0,a=function(){};return{s:a,n:function(){return i>=e.length?{done:!0}:{done:!1,value:e[i++]}},e:function(e){throw e},f:a}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,s=!0,l=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return s=e.done,e},e:function(e){l=!0,o=e},f:function(){try{s||null==r.return||r.return()}finally{if(l)throw o}}}}function n(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}_h=1;var r=kh(),i={fg:"#FFF",bg:"#000",newline:!1,escapeXML:!1,stream:!1,colors:function(){var e={0:"#000",1:"#A00",2:"#0A0",3:"#A50",4:"#00A",5:"#A0A",6:"#0AA",7:"#AAA",8:"#555",9:"#F55",10:"#5F5",11:"#FF5",12:"#55F",13:"#F5F",14:"#5FF",15:"#FFF"};return l(0,5).forEach((function(n){l(0,5).forEach((function(r){l(0,5).forEach((function(i){return function(e,n,r,i){var o=16+36*e+6*n+r,s=e>0?40*e+55:0,l=n>0?40*n+55:0,c=r>0?40*r+55:0;i[o]=function(e){var n,r=[],i=t(e);try{for(i.s();!(n=i.n()).done;){var o=n.value;r.push(a(o))}}catch(e){i.e(e)}finally{i.f()}return"#"+r.join("")}([s,l,c])}(n,r,i,e)}))}))})),l(0,23).forEach((function(t){var n=t+232,r=a(10*t+8);e[n]="#"+r+r+r})),e}()};function a(e){for(var t=e.toString(16);t.length<2;)t="0"+t;return t}function o(e,t,n,i){var a;return"text"===t?a=function(e,t){if(t.escapeXML)return r.encodeXML(e);return e}(n,i):"display"===t?a=function(e,t,n){t=parseInt(t,10);var r,i={"-1":function(){return"<br/>"},0:function(){return e.length&&s(e)},1:function(){return u(e,"b")},3:function(){return u(e,"i")},4:function(){return u(e,"u")},8:function(){return d(e,"display:none")},9:function(){return u(e,"strike")},22:function(){return d(e,"font-weight:normal;text-decoration:none;font-style:normal")},23:function(){return p(e,"i")},24:function(){return p(e,"u")},39:function(){return f(e,n.fg)},49:function(){return h(e,n.bg)},53:function(){return d(e,"text-decoration:overline")}};i[t]?r=i[t]():4<t&&t<7?r=u(e,"blink"):29<t&&t<38?r=f(e,n.colors[t-30]):39<t&&t<48?r=h(e,n.colors[t-40]):89<t&&t<98?r=f(e,n.colors[t-90+8]):99<t&&t<108&&(r=h(e,n.colors[t-100+8]));return r}(e,n,i):"xterm256Foreground"===t?a=f(e,i.colors[n]):"xterm256Background"===t?a=h(e,i.colors[n]):"rgb"===t&&(a=function(e,t){t=t.substring(2).slice(0,-1);var n=+t.substr(0,2),r=t.substring(5).split(";"),i=r.map((function(e){return("0"+Number(e).toString(16)).substr(-2)})).join("");return d(e,(38===n?"color:#":"background-color:#")+i)}(e,n)),a}function s(e){var t=e.slice(0);return e.length=0,t.reverse().map((function(e){return"</"+e+">"})).join("")}function l(e,t){for(var n=[],r=e;r<=t;r++)n.push(r);return n}function c(e){var t=null;return 0===(e=parseInt(e,10))?t="all":1===e?t="bold":2<e&&e<5?t="underline":4<e&&e<7?t="blink":8===e?t="hide":9===e?t="strike":29<e&&e<38||39===e||89<e&&e<98?t="foreground-color":(39<e&&e<48||49===e||99<e&&e<108)&&(t="background-color"),t}function u(e,t,n){return n||(n=""),e.push(t),"<".concat(t).concat(n?' style="'.concat(n,'"'):"",">")}function d(e,t){return u(e,"span",t)}function f(e,t){return u(e,"span","color:"+t)}function h(e,t){return u(e,"span","background-color:"+t)}function p(e,t){var n;if(e.slice(-1)[0]===t&&(n=e.pop()),n)return"</"+t+">"}var g=function(){function n(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,n),(e=e||{}).colors&&(e.colors=Object.assign({},i.colors,e.colors)),this.options=Object.assign({},i,e),this.stack=[],this.stickyStack=[]}return e(n,[{key:"toHtml",value:function(e){var n=this;e="string"==typeof e?[e]:e;var r=this.stack,i=this.options,a=[];return this.stickyStack.forEach((function(e){var t=o(r,e.token,e.data,i);t&&a.push(t)})),function(e,n,r){var i=!1;function a(){return""}function o(e){return n.newline?r("display",-1):r("text",e),""}var s=[{pattern:/^\x08+/,sub:a},{pattern:/^\x1b\[[012]?K/,sub:a},{pattern:/^\x1b\[\(B/,sub:a},{pattern:/^\x1b\[[34]8;2;\d+;\d+;\d+m/,sub:function(e){return r("rgb",e),""}},{pattern:/^\x1b\[38;5;(\d+)m/,sub:function(e,t){return r("xterm256Foreground",t),""}},{pattern:/^\x1b\[48;5;(\d+)m/,sub:function(e,t){return r("xterm256Background",t),""}},{pattern:/^\n/,sub:o},{pattern:/^\r+\n/,sub:o},{pattern:/^\r/,sub:o},{pattern:/^\x1b\[((?:\d{1,3};?)+|)m/,sub:function(e,n){i=!0,0===n.trim().length&&(n="0");var a,o=t(n=n.trimRight(";").split(";"));try{for(o.s();!(a=o.n()).done;){var s=a.value;r("display",s)}}catch(e){o.e(e)}finally{o.f()}return""}},{pattern:/^\x1b\[\d?J/,sub:a},{pattern:/^\x1b\[\d{0,3};\d{0,3}f/,sub:a},{pattern:/^\x1b\[?[\d;]{0,3}/,sub:a},{pattern:/^(([^\x1b\x08\r\n])+)/,sub:function(e){return r("text",e),""}}];function l(t,n){n>3&&i||(i=!1,e=e.replace(t.pattern,t.sub))}var c=[],u=e.length;e:for(;u>0;){for(var d=0,f=0,h=s.length;f<h;d=++f)if(l(s[d],d),e.length!==u){u=e.length;continue e}if(e.length===u)break;c.push(0),u=e.length}}(e.join(""),i,(function(e,t){var s=o(r,e,t,i);s&&a.push(s),i.stream&&(n.stickyStack=function(e,t,n){var r;return"text"!==t&&(e=e.filter((r=c(n),function(e){return(null===r||e.category!==r)&&"all"!==r})),e.push({token:t,data:n,category:c(n)})),e}(n.stickyStack,e,t))})),r.length&&a.push(s(r)),a.join("")}}]),n}();return yh=g}(),Ah=I(Ch);const Sh=/\x1B\[[0-9;?]*[ -/]*[@-~]/g,Eh=new RegExp("\\[([0-9;]*)m","g"),Mh=256,Rh=257,Th=258,Lh=259,Dh=260,Oh=261,Fh=262,zh=263,Ph={0:"var(--color-text-primary)",1:"var(--color-intent-danger-text)",2:"var(--color-intent-success-text)",3:"var(--color-intent-warning-text)",4:"var(--color-intent-info-text)",5:"var(--color-status-unknown-text)",6:"var(--color-decorative-5-text)",7:"var(--color-text-primary)",8:"var(--color-text-muted)",9:"var(--color-intent-danger-text)",10:"var(--color-intent-success-text)",11:"var(--color-intent-warning-text)",12:"var(--color-intent-info-text)",13:"var(--color-status-unknown-text)",14:"var(--color-decorative-5-text)",15:"var(--color-text-primary)",[Mh]:"var(--color-text-primary)",[Rh]:"var(--color-text-muted)",[Th]:"var(--color-intent-danger-text)",[Lh]:"var(--color-intent-success-text)",[Dh]:"var(--color-intent-warning-text)",[Oh]:"var(--color-intent-info-text)",[Fh]:"var(--color-status-unknown-text)",[zh]:"var(--color-decorative-5-text)"},Nh=[0,95,135,175,215,255],jh=(e,t,n)=>{const r=.299*e+.587*t+.114*n,i=Math.max(e,t,n),a=Math.min(e,t,n);return e>=150&&t>=120&&n<=210&&e+t>=2.2*n?Dh:t>=e+20&&t>=n+20?Lh:e>=t+30&&e>=n+30?Th:n>=e+20&&n>=t-10?Oh:e>=120&&n>=120&&t<=i-20?Fh:i-a<=32?r>=150||r<=80?Mh:Rh:Mh},Ih=e=>{if(e>=16&&e<=231){const t=e-16;return{red:Nh[Math.floor(t/36)],green:Nh[Math.floor(t%36/6)],blue:Nh[t%6]}}if(e>=232&&e<=255){const t=10*(e-232)+8;return{red:t,green:t,blue:t}}},Bh=e=>Number.isInteger(e)&&e>=0&&e<=255;
|
|
18
|
-
/*! @license DOMPurify 3.4.16 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/3.4.16/LICENSE */
|
|
19
|
-
function Wh(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}
|
|
20
|
-
/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/babel/babel/blob/main/packages/babel-helpers/LICENSE */
|
|
21
|
-
function $h(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,i,a,o,s=[],l=!0,c=!1;try{if(a=(n=n.call(e)).next,0===t);else for(;!(l=(r=a.call(n)).done)&&(s.push(r.value),s.length!==t);l=!0);}catch(e){c=!0,i=e}finally{try{if(!l&&null!=n.return&&(o=n.return(),Object(o)!==o))return}finally{if(c)throw i}}return s}}(e,t)||function(e,t){if(e){if("string"==typeof e)return Wh(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Wh(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}const qh=Object.entries,Hh=Object.setPrototypeOf,Uh=Object.isFrozen,Vh=Object.getPrototypeOf,Yh=Object.getOwnPropertyDescriptor;let Gh=Object.freeze,Xh=Object.seal,Jh=Object.create,Zh="undefined"!=typeof Reflect&&Reflect,Kh=Zh.apply,Qh=Zh.construct;Gh||(Gh=function(e){return e}),Xh||(Xh=function(e){return e}),Kh||(Kh=function(e,t){for(var n=arguments.length,r=new Array(n>2?n-2:0),i=2;i<n;i++)r[i-2]=arguments[i];return e.apply(t,r)}),Qh||(Qh=function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return new e(...n)});const ep=wp(Array.prototype.forEach),tp=wp(Array.prototype.lastIndexOf),np=wp(Array.prototype.pop),rp=wp(Array.prototype.push),ip=wp(Array.prototype.splice),ap=Array.isArray,op=wp(String.prototype.toLowerCase),sp=wp(String.prototype.toString),lp=wp(String.prototype.match),cp=wp(String.prototype.replace),up=wp(String.prototype.indexOf),dp=wp(String.prototype.trim),fp=wp(Number.prototype.toString),hp=wp(Boolean.prototype.toString),pp="undefined"==typeof BigInt?null:wp(BigInt.prototype.toString),gp="undefined"==typeof Symbol?null:wp(Symbol.prototype.toString),mp=wp(Object.prototype.hasOwnProperty),vp=wp(Object.prototype.toString),bp=wp(RegExp.prototype.test),yp=(_p=TypeError,function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return Qh(_p,t)});var _p;function wp(e){return function(t){t instanceof RegExp&&(t.lastIndex=0);for(var n=arguments.length,r=new Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];return Kh(e,t,r)}}function xp(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:op;if(Hh&&Hh(e,null),!ap(t))return e;let r=t.length;for(;r--;){let i=t[r];if("string"==typeof i){const e=n(i);e!==i&&(Uh(t)||(t[r]=e),i=e)}e[i]=!0}return e}function kp(e){for(let t=0;t<e.length;t++)mp(e,t)||(e[t]=null);return e}function Cp(e){const t=Jh(null);for(const r of qh(e)){var n=$h(r,2);const i=n[0],a=n[1];mp(e,i)&&(ap(a)?t[i]=kp(a):a&&"object"==typeof a&&a.constructor===Object?t[i]=Cp(a):t[i]=a)}return t}function Ap(e,t){for(;null!==e;){const n=Yh(e,t);if(n){if(n.get)return wp(n.get);if("function"==typeof n.value)return wp(n.value)}e=Vh(e)}return function(){return null}}const Sp=Gh(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dialog","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","search","section","select","shadow","slot","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]),Ep=Gh(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","enterkeyhint","exportparts","filter","font","g","glyph","glyphref","hkern","image","inputmode","line","lineargradient","marker","mask","metadata","mpath","part","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]),Mp=Gh(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),Rp=Gh(["animate","color-profile","cursor","discard","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignobject","hatch","hatchpath","mesh","meshgradient","meshpatch","meshrow","missing-glyph","script","set","solidcolor","unknown","use"]),Tp=Gh(["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmultiscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover","mprescripts"]),Lp=Gh(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),Dp=Gh(["#text"]),Op=Gh(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","command","commandfor","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","exportparts","face","for","headers","height","hidden","high","href","hreflang","id","inert","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","nonce","noshade","novalidate","nowrap","open","optimum","part","pattern","placeholder","playsinline","popover","popovertarget","popovertargetaction","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","spellcheck","scope","selected","shape","size","sizes","slot","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","wrap","xmlns"]),Fp=Gh(["accent-height","accumulate","additive","alignment-baseline","amplitude","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clippathunits","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dominant-baseline","dur","edgemode","elevation","end","exponent","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","intercept","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","mask-type","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","pointer-events","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","slope","specularconstant","specularexponent","spreadmethod","startoffset","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","systemlanguage","tabindex","tablevalues","targetx","targety","transform","transform-origin","text-anchor","text-decoration","text-orientation","text-rendering","textlength","type","u1","u2","unicode","values","vector-effect","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]),zp=Gh(["accent","accentunder","align","bevelled","close","columnalign","columnlines","columnspacing","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lquote","lspace","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]),Pp=Gh(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),Np=Xh(/{{[\w\W]*|^[\w\W]*}}/g),jp=Xh(/<%[\w\W]*|^[\w\W]*%>/g),Ip=Xh(/\${[\w\W]*/g),Bp=Xh(/^data-[\-\w.\u00B7-\uFFFF]+$/),Wp=Xh(/^aria-[\-\w]+$/),$p=Xh(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),qp=Xh(/^(?:\w+script|data):/i),Hp=Xh(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),Up=Xh(/^html$/i),Vp=Xh(/^[a-z][.\w]*(-[.\w]+)+$/i),Yp=Xh(/<[/\w!]/g),Gp=Xh(/<[/\w]/g),Xp=Xh(/<\/no(script|embed|frames)/i),Jp=Xh(/\/>/i),Zp=1,Kp=3,Qp=7,eg=8,tg=9,ng=11,rg=["style","script","xmp","iframe","noembed","noframes","plaintext","noscript"],ig=Gh(xp({},rg)),ag=function(){const e={};return ep(rg,(t=>{e[t]=Xh(new RegExp("</"+t+"(?=[\\t\\n\\f\\r />])","i"))})),Gh(e)}(),og=function(){return"undefined"==typeof window?null:window},sg=function(e,t,n,r){return mp(e,t)&&ap(e[t])?xp(r.base?Cp(r.base):{},e[t],r.transform):n},lg=function(e,t,n){const r=mp(e,t)?e[t]:void 0;return r&&"object"==typeof r?Cp(r):n()};var cg=function e(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:og();const n=t=>e(t);if(n.version="3.4.16",n.removed=[],!t||!t.document||t.document.nodeType!==tg||!t.Element)return n.isSupported=!1,n;let r=t.document;const i=r,a=i.currentScript;t.DocumentFragment;const o=t.HTMLTemplateElement,s=t.Node,l=t.Element,c=t.NodeFilter;void 0===t.NamedNodeMap&&(t.NamedNodeMap||t.MozNamedAttrMap),t.HTMLFormElement;const u=t.DOMParser,d=t.trustedTypes,f=l.prototype,h=Ap(f,"cloneNode"),p=Ap(f,"remove"),g=Ap(f,"removeAttributeNode"),m=Ap(f,"nextSibling"),v=Ap(f,"childNodes"),b=Ap(f,"parentNode"),y=Ap(f,"shadowRoot"),_=Ap(f,"attributes"),w=s&&s.prototype?Ap(s.prototype,"nodeType"):null,x=s&&s.prototype?Ap(s.prototype,"nodeName"):null,k=s&&s.prototype?Ap(s.prototype,"ownerDocument"):null,C=function(e){return w?w(e):e.nodeType},A=function(e){return x?x(e):e.nodeName};if("function"==typeof o){const e=r.createElement("template");e.content&&e.content.ownerDocument&&(r=e.content.ownerDocument)}let S,E,M="",R=!1,T=0;const L=function(){if(T>0)throw yp('A configured TRUSTED_TYPES_POLICY callback (createHTML or createScriptURL) must not call DOMPurify.sanitize, as that causes infinite recursion. Do not pass a policy whose callbacks wrap DOMPurify as TRUSTED_TYPES_POLICY; see the "DOMPurify and Trusted Types" section of the README.')},D=function(e){L(),T++;try{return S.createHTML(e)}finally{T--}},O=function(){return R||(E=function(e,t){if("object"!=typeof e||"function"!=typeof e.createPolicy)return null;let n=null;const r="data-tt-policy-suffix";t&&t.hasAttribute(r)&&(n=t.getAttribute(r));const i="dompurify"+(n?"#"+n:"");try{return e.createPolicy(i,{createHTML:e=>e,createScriptURL:e=>e})}catch(e){return console.warn("TrustedTypes policy "+i+" could not be created."),null}}(d,a),R=!0),E},F=r,z=F.implementation,P=F.createNodeIterator,N=F.createDocumentFragment,j=F.getElementsByTagName,I=i.importNode;let B={afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]};n.isSupported="function"==typeof qh&&"function"==typeof b&&z&&void 0!==z.createHTMLDocument;const W=Np,$=jp,q=Ip,H=Bp,U=Wp,V=qp,Y=Hp,G=Vp;let X=$p,J=null;const Z=xp({},[...Sp,...Ep,...Mp,...Tp,...Dp]);let K=null;const Q=xp({},[...Op,...Fp,...zp,...Pp]);let ee=Object.seal(Jh(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),te=null,ne=null;const re=Object.seal(Jh(null,{tagCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeCheck:{writable:!0,configurable:!1,enumerable:!0,value:null}}));let ie=!0,ae=!0,oe=!1,se=!0,le=!1,ce=!0,ue=!1,de=!1,fe=null,he=null,pe=!1,ge=!1,me=!1,ve=!1,be=!0,ye=!1;const _e="user-content-";let we=!0,xe=!1,ke={},Ce=null;const Ae=xp({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","selectedcontent","style","svg","template","thead","title","video","xmp"]);let Se=null;const Ee=xp({},["audio","video","img","source","image","track"]);let Me=null;const Re=xp({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),Te="http://www.w3.org/1998/Math/MathML",Le="http://www.w3.org/2000/svg",De="http://www.w3.org/1999/xhtml";let Oe=De,Fe=!1,ze=null;const Pe=xp({},[Te,Le,De],sp),Ne=Gh(["mi","mo","mn","ms","mtext"]);let je=xp({},Ne);const Ie=Gh(["annotation-xml"]);let Be=xp({},Ie);const We=xp({},["title","style","font","a","script"]);let $e=null;const qe=["application/xhtml+xml","text/html"];let He=null,Ue=null;const Ve=r.createElement("form"),Ye=function(e){return e instanceof RegExp||e instanceof Function},Ge=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(Ue&&Ue===e)return;e&&"object"==typeof e||(e={}),e=Cp(e),$e=-1===qe.indexOf(e.PARSER_MEDIA_TYPE)?"text/html":e.PARSER_MEDIA_TYPE,He="application/xhtml+xml"===$e?sp:op,J=sg(e,"ALLOWED_TAGS",Z,{transform:He}),K=sg(e,"ALLOWED_ATTR",Q,{transform:He}),ze=sg(e,"ALLOWED_NAMESPACES",Pe,{transform:sp}),Me=sg(e,"ADD_URI_SAFE_ATTR",Re,{transform:He,base:Re}),Se=sg(e,"ADD_DATA_URI_TAGS",Ee,{transform:He,base:Ee}),Ce=sg(e,"FORBID_CONTENTS",Ae,{transform:He}),te=sg(e,"FORBID_TAGS",Cp({}),{transform:He}),ne=sg(e,"FORBID_ATTR",Cp({}),{transform:He}),ke=!!mp(e,"USE_PROFILES")&&(e.USE_PROFILES&&"object"==typeof e.USE_PROFILES?Cp(e.USE_PROFILES):e.USE_PROFILES),ie=!1!==e.ALLOW_ARIA_ATTR,ae=!1!==e.ALLOW_DATA_ATTR,oe=e.ALLOW_UNKNOWN_PROTOCOLS||!1,se=!1!==e.ALLOW_SELF_CLOSE_IN_ATTR,le=e.SAFE_FOR_TEMPLATES||!1,ce=!1!==e.SAFE_FOR_XML,ue=e.WHOLE_DOCUMENT||!1,ge=e.RETURN_DOM||!1,me=e.RETURN_DOM_FRAGMENT||!1,ve=e.RETURN_TRUSTED_TYPE||!1,pe=e.FORCE_BODY||!1,be=!1!==e.SANITIZE_DOM,ye=e.SANITIZE_NAMED_PROPS||!1,we=!1!==e.KEEP_CONTENT,xe=e.IN_PLACE||!1,X=function(e){try{return bp(e,""),!0}catch(e){return!1}}(e.ALLOWED_URI_REGEXP)?e.ALLOWED_URI_REGEXP:$p,Oe="string"==typeof e.NAMESPACE?e.NAMESPACE:De,je=lg(e,"MATHML_TEXT_INTEGRATION_POINTS",(()=>xp({},Ne))),Be=lg(e,"HTML_INTEGRATION_POINTS",(()=>xp({},Ie)));const t=lg(e,"CUSTOM_ELEMENT_HANDLING",(()=>Jh(null)));if(ee=Jh(null),mp(t,"tagNameCheck")&&Ye(t.tagNameCheck)&&(ee.tagNameCheck=t.tagNameCheck),mp(t,"attributeNameCheck")&&Ye(t.attributeNameCheck)&&(ee.attributeNameCheck=t.attributeNameCheck),mp(t,"allowCustomizedBuiltInElements")&&"boolean"==typeof t.allowCustomizedBuiltInElements&&(ee.allowCustomizedBuiltInElements=t.allowCustomizedBuiltInElements),Xh(ee),le&&(ae=!1),me&&(ge=!0),ke&&(J=xp({},Dp),K=Jh(null),!0===ke.html&&(xp(J,Sp),xp(K,Op)),!0===ke.svg&&(xp(J,Ep),xp(K,Fp),xp(K,Pp)),!0===ke.svgFilters&&(xp(J,Mp),xp(K,Fp),xp(K,Pp)),!0===ke.mathMl&&(xp(J,Tp),xp(K,zp),xp(K,Pp))),re.tagCheck=null,re.attributeCheck=null,mp(e,"ADD_TAGS")&&("function"==typeof e.ADD_TAGS?re.tagCheck=e.ADD_TAGS:ap(e.ADD_TAGS)&&(J===Z&&(J=Cp(J)),xp(J,e.ADD_TAGS,He))),mp(e,"ADD_ATTR")&&("function"==typeof e.ADD_ATTR?re.attributeCheck=e.ADD_ATTR:ap(e.ADD_ATTR)&&(K===Q&&(K=Cp(K)),xp(K,e.ADD_ATTR,He))),mp(e,"ADD_FORBID_CONTENTS")&&ap(e.ADD_FORBID_CONTENTS)&&(Ce===Ae&&(Ce=Cp(Ce)),xp(Ce,e.ADD_FORBID_CONTENTS,He)),we&&(J["#text"]=!0),ue&&xp(J,["html","head","body"]),J.table&&(xp(J,["tbody"]),delete te.tbody),e.TRUSTED_TYPES_POLICY){if("function"!=typeof e.TRUSTED_TYPES_POLICY.createHTML)throw yp('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if("function"!=typeof e.TRUSTED_TYPES_POLICY.createScriptURL)throw yp('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');const t=S;S=e.TRUSTED_TYPES_POLICY;try{M=D("")}catch(e){throw S=t,e}}else null===e.TRUSTED_TYPES_POLICY?(S=void 0,M=""):(void 0===S&&(S=O()),S&&"string"==typeof M&&(M=D("")));Gh&&Gh(e),Ue=e},Xe=xp({},[...Ep,...Mp,...Rp]),Je=xp({},[...Tp,...Lp]),Ze=function(e){let t=b(e);t&&t.tagName||(t={namespaceURI:Oe,tagName:"template"});const n=op(e.tagName),r=op(t.tagName);return!!ze[e.namespaceURI]&&(e.namespaceURI===Le?function(e,t,n){return t.namespaceURI===De?"svg"===e:t.namespaceURI===Te?"svg"===e&&("annotation-xml"===n||je[n]):Boolean(Xe[e])}(n,t,r):e.namespaceURI===Te?function(e,t,n){return t.namespaceURI===De?"math"===e:t.namespaceURI===Le?"math"===e&&Be[n]:Boolean(Je[e])}(n,t,r):e.namespaceURI===De?function(e,t,n){return!(t.namespaceURI===Le&&!Be[n])&&!(t.namespaceURI===Te&&!je[n])&&!Je[e]&&(We[e]||!Xe[e])}(n,t,r):!("application/xhtml+xml"!==$e||!ze[e.namespaceURI]))},Ke=function(e){rp(n.removed,{element:e});try{b(e).removeChild(e)}catch(t){if(p(e),!b(e))throw yp("a node selected for removal could not be detached from its tree and cannot be safely returned; refusing to sanitize in place")}},Qe=function(e,t,n){try{g(e,t)}catch(t){try{e.removeAttribute(n)}catch(e){}}},et=function(e){rt(e);const t=v(e);if(t){const e=[];ep(t,(t=>{rp(e,t)})),ep(e,(e=>{try{p(e)}catch(e){}}))}const n=_(e);if(n)for(let t=n.length-1;t>=0;--t){const r=n[t],i=r&&r.name;"string"==typeof i&&Qe(e,r,i)}},tt=function(e,t,r){if(!r)try{r=t.getAttributeNode(e)}catch(e){r=null}rp(n.removed,{attribute:r||null,from:t});try{r?g(t,r):t.removeAttribute(e)}catch(n){try{t.removeAttribute(e)}catch(e){}}if("is"===e)if(ge||me)try{Ke(t)}catch(e){}else try{t.setAttribute(e,"")}catch(e){}},nt=function(e){const t=_(e);if(t)for(let n=t.length-1;n>=0;--n){const r=t[n],i=r&&r.name;"string"!=typeof i||K[He(i)]||Qe(e,r,i)}},rt=function(e){const t=[e];for(;t.length>0;){const e=t.pop();C(e)===Zp&&nt(e);const n=v(e);if(n)for(let e=n.length-1;e>=0;--e)t.push(n[e])}},it=function(e,t){return!!ce&&("patchsrc"===e||"for"===e&&"label"!==t&&"output"!==t)},at=function(e){let t=null,n=null;if(pe)e="<remove></remove>"+e;else{const t=lp(e,/^[\r\n\t ]+/);n=t&&t[0]}"application/xhtml+xml"===$e&&Oe===De&&(e='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+e+"</body></html>");const i=S?D(e):e;if(Oe===De)try{t=(new u).parseFromString(i,$e)}catch(e){}if(!t||!t.documentElement){t=z.createDocument(Oe,"template",null);try{t.documentElement.innerHTML=Fe?M:i}catch(e){}}const a=t.body||t.documentElement;return e&&n&&a.insertBefore(r.createTextNode(n),a.childNodes[0]||null),Oe===De?j.call(t,ue?"html":"body")[0]:ue?t.documentElement:a},ot=function(e){const t=k?k(e):e.ownerDocument;return P.call(t||e,e,c.SHOW_ELEMENT|c.SHOW_COMMENT|c.SHOW_TEXT|c.SHOW_PROCESSING_INSTRUCTION|c.SHOW_CDATA_SECTION,null)},st=function(e){return e=cp(e,W," "),e=cp(e,$," "),e=cp(e,q," ")},lt=function(e){var t;e.normalize();const n=k?k(e):e.ownerDocument,r=P.call(n||e,e,c.SHOW_TEXT|c.SHOW_COMMENT|c.SHOW_CDATA_SECTION|c.SHOW_PROCESSING_INSTRUCTION,null);let i=r.nextNode();for(;i;)i.data=st(i.data),i=r.nextNode();const a=null===(t=e.querySelectorAll)||void 0===t?void 0:t.call(e,"template");a&&ep(a,(e=>{ut(e.content)&<(e.content)}))},ct=function(e){const t=x?x(e):null;return"string"==typeof t&&("form"===He(t)&&("string"!=typeof e.nodeName||"string"!=typeof e.textContent||"function"!=typeof e.removeChild||e.attributes!==_(e)||"function"!=typeof e.removeAttribute||"function"!=typeof e.removeAttributeNode||"function"!=typeof e.getAttributeNode||"function"!=typeof e.setAttribute||"string"!=typeof e.namespaceURI||"function"!=typeof e.insertBefore||"function"!=typeof e.hasChildNodes||e.nodeType!==w(e)||e.childNodes!==v(e)))},ut=function(e){if(!w||"object"!=typeof e||null===e)return!1;try{return w(e)===ng}catch(e){return!1}},dt=function(e){if(!w||"object"!=typeof e||null===e)return!1;try{return"number"==typeof w(e)}catch(e){return!1}};function ft(e,t,r){0!==e.length&&ep(e,(e=>{e.call(n,t,r,Ue)}))}const ht=function(e,t){if(e instanceof RegExp)return bp(e,t);if(e instanceof Function){for(var n=arguments.length,r=new Array(n>2?n-2:0),i=2;i<n;i++)r[i-2]=arguments[i];return Boolean(e(t,...r))}return!1},pt=function(e,t,n,r){return 0===e.length?t:t===n||t===r?Cp(t):t},gt=function(e,t){return e!==t&&null===b(e)&&(xe&&rt(e),!0)},mt=function(e,t){if(ft(B.beforeSanitizeElements,e,null),gt(e,t))return!0;if(ct(e))return Ke(e),!0;const r=He(A(e));if(J=pt(B.uponSanitizeElement,J,Z,fe),ft(B.uponSanitizeElement,e,{tagName:r,allowedTags:J}),gt(e,t))return!0;if(function(e,t){return!!(ce&&e.hasChildNodes()&&!dt(e.firstElementChild)&&bp(Yp,e.textContent)&&bp(Yp,e.innerHTML))||!!(ce&&e.namespaceURI===De&&ig[t]&&(dt(e.firstElementChild)||"string"==typeof e.textContent&&bp(ag[t],e.textContent)))||e.nodeType===Qp||!(!ce||e.nodeType!==eg||!bp(Gp,e.data))}(e,r))return Ke(e),!0;if(te[r]||!(re.tagCheck instanceof Function&&re.tagCheck(r))&&!J[r]){const n=function(e,t,n){if(!te[t]&&yt(t)&&ht(ee.tagNameCheck,t))return!1;if(we&&!Ce[t]){const t=b(e),r=v(e);if(r&&t)for(let i=r.length-1;i>=0;--i){const a=e===n?h(r[i],!0):r[i];t.insertBefore(a,m(e))}}return Ke(e),!0}(e,r,t);return!(!1!==n||(ft(B.afterSanitizeElements,e,null),!gt(e,t)))||n}if(C(e)===Zp&&!Ze(e))return Ke(e),!0;if(("noscript"===r||"noembed"===r||"noframes"===r)&&bp(Xp,e.innerHTML))return Ke(e),!0;if(le&&e.nodeType===Kp){const t=st(e.textContent);e.textContent!==t&&(rp(n.removed,{element:e.cloneNode()}),e.textContent=t)}return ft(B.afterSanitizeElements,e,null),gt(e,t)},vt=function(e,t,n){if(ne[t])return!1;if(it(t,e))return!1;if(be&&("id"===t||"name"===t)&&(n in r||n in Ve))return!1;const i=K[t]||re.attributeCheck instanceof Function&&re.attributeCheck(t,e);return!(!ae||!bp(H,t))||(!(!ie||!bp(U,t))||(i?!!Me[t]||(!!bp(X,cp(n,Y,""))||(!("src"!==t&&"xlink:href"!==t&&"href"!==t||"script"===e||0!==up(n,"data:")||!Se[e])||(!(!oe||bp(V,cp(n,Y,"")))||!n))):yt(e)&&ht(ee.tagNameCheck,e)&&ht(ee.attributeNameCheck,t,e)||"is"===t&&ee.allowCustomizedBuiltInElements&&ht(ee.tagNameCheck,n)))},bt=xp({},["annotation-xml","color-profile","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","missing-glyph"]),yt=function(e){return!bt[op(e)]&&bp(G,e)},_t=function(e,t,n,r){if(S&&"object"==typeof d&&"function"==typeof d.getAttributeType&&!n)switch(d.getAttributeType(e,t)){case"TrustedHTML":return D(r);case"TrustedScriptURL":return function(e){L(),T++;try{return S.createScriptURL(e)}finally{T--}}(r)}return r},wt=function(e,t,n,r){try{return n?e.setAttributeNS(n,t,r):e.setAttribute(t,r),!ct(e)||(Ke(e),!1)}catch(n){return tt(t,e),!1}},xt=function(e,t){if(ft(B.beforeSanitizeAttributes,e,null),gt(e,t))return;const r=e.attributes;if(!r||ct(e))return;K=pt(B.uponSanitizeAttribute,K,Q,he);const i={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:K,forceKeepAttr:void 0};let a=r.length;const o=He(e.nodeName);for(;a--;){const t=r[a],s=t.name,l=t.namespaceURI,c=t.value,u=He(s),d=c;let f="value"===s?d:dp(d),h=!1;i.attrName=u,i.attrValue=f,i.keepAttr=!0,i.forceKeepAttr=void 0,ft(B.uponSanitizeAttribute,e,i),f=i.attrValue,!ye||"id"!==u&&"name"!==u||0===up(f,_e)||(tt(s,e,t),f=_e+f,h=!0),ce&&bp(/((--!?|])>)|<\/(style|script|title|xmp|textarea|noscript|iframe|noembed|noframes)/i,f)?tt(s,e,t):"attributename"===u&&lp(f,"href")?tt(s,e,t):i.forceKeepAttr||(i.keepAttr&&(se||!bp(Jp,f))?(le&&(f=st(f)),vt(o,u,f)?(f=_t(o,u,l,f),f!==d&&wt(e,s,l,f)&&h&&np(n.removed)):tt(s,e,t)):tt(s,e,t))}ft(B.afterSanitizeAttributes,e,null),gt(e,t)},kt=function(e){let t=null;const n=ot(e);for(ft(B.beforeSanitizeShadowDOM,e,null);t=n.nextNode();)if(ft(B.uponSanitizeShadowNode,t,null),mt(t,e),xt(t,e),ut(t.content)&&kt(t.content),C(t)===Zp){const e=y(t);ut(e)&&(Ct(e),kt(e))}ft(B.afterSanitizeShadowDOM,e,null)},Ct=function(e){const t=[{node:e,shadow:null}];for(;t.length>0;){const e=t.pop();if(e.shadow){kt(e.shadow);continue}const n=e.node,r=C(n)===Zp,i=v(n);if(i)for(let e=i.length-1;e>=0;--e)t.push({node:i[e],shadow:null});if(r){const e=x?x(n):null;if("string"==typeof e&&"template"===He(e)){const e=n.content;ut(e)&&t.push({node:e,shadow:null})}}if(r){const e=y(n);ut(e)&&t.push({node:null,shadow:e},{node:e,shadow:null})}}};return n.sanitize=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=null,a=null,o=null,s=null;if(Fe=!e,Fe&&(e="\x3c!--\x3e"),"string"!=typeof e&&!dt(e)&&"string"!=typeof(e=function(e){switch(typeof e){case"string":return e;case"number":return fp(e);case"boolean":return hp(e);case"bigint":return pp?pp(e):"0";case"symbol":return gp?gp(e):"Symbol()";case"undefined":default:return vp(e);case"function":case"object":{if(null===e)return vp(e);const t=e,n=Ap(t,"toString");if("function"==typeof n){const e=n(t);return"string"==typeof e?e:vp(e)}return vp(e)}}}(e)))throw yp("dirty is not a string, aborting");if(!n.isSupported)return e;de?(J=fe,K=he):Ge(t),(B.uponSanitizeElement.length>0||B.uponSanitizeAttribute.length>0)&&(J=Cp(J)),B.uponSanitizeAttribute.length>0&&(K=Cp(K)),n.removed=[];const l=xe&&"string"!=typeof e&&dt(e);if(l){!function(e){if(!ce)return;const t=[e];for(;t.length>0;){const e=t.pop(),n=C(e);if(n===Qp||n===eg&&bp(Gp,e.data)){try{p(e)}catch(e){}continue}if(n===Zp){const t=e,n=He(A(e));try{t.hasAttribute&&t.hasAttribute("patchsrc")&&t.removeAttribute("patchsrc"),t.hasAttribute&&t.hasAttribute("for")&&it("for",n)&&t.removeAttribute("for")}catch(e){}}const r=v(e);if(r)for(let e=r.length-1;e>=0;--e)t.push(r[e])}}(e);const t=A(e);if("string"==typeof t){const n=He(t);if(!J[n]||te[n])throw et(e),yp("root node is forbidden and cannot be sanitized in-place")}if(ct(e))throw et(e),yp("root node is clobbered and cannot be sanitized in-place");try{Ct(e)}catch(t){throw et(e),t}}else if(dt(e))r=at("\x3c!----\x3e"),a=r.ownerDocument.importNode(e,!0),a.nodeType===Zp&&"BODY"===a.nodeName||"HTML"===a.nodeName?r=a:r.appendChild(a),Ct(r);else{if(!ge&&!le&&!ue&&-1===e.indexOf("<"))return S&&ve?D(e):e;if(r=at(e),!r)return ge?null:ve?M:""}r&&pe&&Ke(r.firstChild);const c=l?e:r;try{const e=ot(c);for(;o=e.nextNode();)mt(o,c),xt(o,c),ut(o.content)&&kt(o.content)}catch(t){throw l&&(et(e),ep(n.removed,(e=>{e.element&&rt(e.element)}))),t}if(l){let t=!1;if(ep(n.removed,(n=>{n.element&&(n.element===e&&(t=!0),rt(n.element))})),t)throw yp("a node selected for removal could not be safely returned; refusing to sanitize in place");return le&<(e),e}if(ge){if(le&<(r),me)for(s=N.call(r.ownerDocument);r.firstChild;)s.appendChild(r.firstChild);else s=r;return(K.shadowroot||K.shadowrootmode)&&(s=I.call(i,s,!0)),s}let u=ue?r.outerHTML:r.innerHTML;return ue&&J["!doctype"]&&r.ownerDocument&&r.ownerDocument.doctype&&r.ownerDocument.doctype.name&&bp(Up,r.ownerDocument.doctype.name)&&(u="<!DOCTYPE "+r.ownerDocument.doctype.name+">\n"+u),le&&(u=st(u)),S&&ve?D(u):u},n.setConfig=function(){Ge(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}),de=!0,fe=J,he=K},n.clearConfig=function(){Ue=null,de=!1,fe=null,he=null,S=E,M=""},n.isValidAttribute=function(e,t,n){Ue||Ge({});const r=He(e),i=He(t);return vt(r,i,n)},n.addHook=function(e,t){"function"==typeof t&&mp(B,e)&&rp(B[e],t)},n.removeHook=function(e,t){if(mp(B,e)){if(void 0!==t){const n=tp(B[e],t);return-1===n?void 0:ip(B[e],n,1)[0]}return np(B[e])}},n.removeHooks=function(e){mp(B,e)&&(B[e]=[])},n.removeAllHooks=function(){B={afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]}},n}();const ug={USE_PROFILES:{html:!0}},dg=e=>((e,t)=>cg.sanitize(e,t))(e,ug),fg=Symbol.for("preact-signals");function hg(){if(vg>1)return void vg--;let e,t=!1;for(;void 0!==gg;){let n=gg;for(gg=void 0,bg++;void 0!==n;){const r=n.o;if(n.o=void 0,n.f&=-3,!(8&n.f)&&kg(n))try{n.c()}catch(n){t||(e=n,t=!0)}n=r}}if(bg=0,vg--,t)throw e}let pg,gg;function mg(e){const t=pg;pg=void 0;try{return e()}finally{pg=t}}let vg=0,bg=0,yg=0;function _g(e){if(void 0===pg)return;let t=e.n;return void 0===t||t.t!==pg?(t={i:0,S:e,p:pg.s,n:void 0,t:pg,e:void 0,x:void 0,r:t},void 0!==pg.s&&(pg.s.n=t),pg.s=t,e.n=t,32&pg.f&&e.S(t),t):-1===t.i?(t.i=0,void 0!==t.n&&(t.n.p=t.p,void 0!==t.p&&(t.p.n=t.n),t.p=pg.s,t.n=void 0,pg.s.n=t,pg.s=t),t):void 0}function wg(e,t){this.v=e,this.i=0,this.n=void 0,this.t=void 0,this.W=null==t?void 0:t.watched,this.Z=null==t?void 0:t.unwatched,this.name=null==t?void 0:t.name}function xg(e,t){return new wg(e,t)}function kg(e){for(let t=e.s;void 0!==t;t=t.n)if(t.S.i!==t.i||!t.S.h()||t.S.i!==t.i)return!0;return!1}function Cg(e){for(let t=e.s;void 0!==t;t=t.n){const n=t.S.n;if(void 0!==n&&(t.r=n),t.S.n=t,t.i=-1,void 0===t.n){e.s=t;break}}}function Ag(e){let t,n=e.s;for(;void 0!==n;){const e=n.p;-1===n.i?(n.S.U(n),void 0!==e&&(e.n=n.n),void 0!==n.n&&(n.n.p=e)):t=n,n.S.n=n.r,void 0!==n.r&&(n.r=void 0),n=e}e.s=t}function Sg(e,t){wg.call(this,void 0),this.x=e,this.s=void 0,this.g=yg-1,this.f=4,this.W=null==t?void 0:t.watched,this.Z=null==t?void 0:t.unwatched,this.name=null==t?void 0:t.name}function Eg(e,t){return new Sg(e,t)}function Mg(e){const t=e.u;if(e.u=void 0,"function"==typeof t){vg++;const n=pg;pg=void 0;try{t()}catch(t){throw e.f&=-2,e.f|=8,Rg(e),t}finally{pg=n,hg()}}}function Rg(e){for(let t=e.s;void 0!==t;t=t.n)t.S.U(t);e.x=void 0,e.s=void 0,Mg(e)}function Tg(e){if(pg!==this)throw new Error("Out-of-order effect");Ag(this),pg=e,this.f&=-2,8&this.f&&Rg(this),hg()}function Lg(e,t){this.x=e,this.u=void 0,this.s=void 0,this.o=void 0,this.f=32,this.name=null==t?void 0:t.name}function Dg(e,t){const n=new Lg(e,t);try{n.c()}catch(e){throw n.d(),e}const r=n.d.bind(n);return r[Symbol.dispose]=r,r}wg.prototype.brand=fg,wg.prototype.h=function(){return!0},wg.prototype.S=function(e){const t=this.t;t!==e&&void 0===e.e&&(e.x=t,this.t=e,void 0!==t?t.e=e:mg((()=>{var e;null==(e=this.W)||e.call(this)})))},wg.prototype.U=function(e){if(void 0!==this.t){const t=e.e,n=e.x;void 0!==t&&(t.x=n,e.e=void 0),void 0!==n&&(n.e=t,e.x=void 0),e===this.t&&(this.t=n,void 0===n&&mg((()=>{var e;null==(e=this.Z)||e.call(this)})))}},wg.prototype.subscribe=function(e){return Dg((()=>{const t=this.value,n=pg;pg=void 0;try{e(t)}finally{pg=n}}),{name:"sub"})},wg.prototype.valueOf=function(){return this.value},wg.prototype.toString=function(){return this.value+""},wg.prototype.toJSON=function(){return this.value},wg.prototype.peek=function(){const e=pg;pg=void 0;try{return this.value}finally{pg=e}},Object.defineProperty(wg.prototype,"value",{get(){const e=_g(this);return void 0!==e&&(e.i=this.i),this.v},set(e){if(e!==this.v){if(bg>100)throw new Error("Cycle detected");this.v=e,this.i++,yg++,vg++;try{for(let e=this.t;void 0!==e;e=e.x)e.t.N()}finally{hg()}}}}),Sg.prototype=new wg,Sg.prototype.h=function(){if(this.f&=-3,1&this.f)return!1;if(32==(36&this.f))return!0;if(this.f&=-5,this.g===yg)return!0;if(this.g=yg,this.f|=1,this.i>0&&!kg(this))return this.f&=-2,!0;const e=pg;try{Cg(this),pg=this;const e=this.x();(16&this.f||this.v!==e||0===this.i)&&(this.v=e,this.f&=-17,this.i++)}catch(e){this.v=e,this.f|=16,this.i++}return pg=e,Ag(this),this.f&=-2,!0},Sg.prototype.S=function(e){if(void 0===this.t){this.f|=36;for(let e=this.s;void 0!==e;e=e.n)e.S.S(e)}wg.prototype.S.call(this,e)},Sg.prototype.U=function(e){if(void 0!==this.t&&(wg.prototype.U.call(this,e),void 0===this.t)){this.f&=-33;for(let e=this.s;void 0!==e;e=e.n)e.S.U(e)}},Sg.prototype.N=function(){if(!(2&this.f)){this.f|=6;for(let e=this.t;void 0!==e;e=e.x)e.t.N()}},Object.defineProperty(Sg.prototype,"value",{get(){if(1&this.f)throw new Error("Cycle detected");const e=_g(this);if(this.h(),void 0!==e&&(e.i=this.i),16&this.f)throw this.v;return this.v}}),Lg.prototype.c=function(){const e=this.S();try{if(8&this.f)return;if(void 0===this.x)return;const e=this.x();"function"==typeof e&&(this.u=e)}finally{e()}},Lg.prototype.S=function(){if(1&this.f)throw new Error("Cycle detected");this.f|=1,this.f&=-9,Mg(this),Cg(this),vg++;const e=pg;return pg=this,Tg.bind(this,e)},Lg.prototype.N=function(){2&this.f||(this.f|=2,this.o=gg,gg=this)},Lg.prototype.d=function(){this.f|=8,1&this.f||Rg(this)},Lg.prototype.dispose=function(){this.d()};const Og=()=>"undefined"==typeof window?"":window.location.href,Fg=e=>{const t={};return e.forEach(((e,n)=>{n in t?Array.isArray(t[n])?t[n].push(e):t[n]=[t[n],e]:t[n]=e})),t},zg=xg(Og());(e=>{if("undefined"!=typeof window)window.addEventListener("popstate",e),window.addEventListener("replaceState",e),window.addEventListener("pushState",e),window.addEventListener("hashchange",e)})((()=>{zg.peek()!==Og()&&(zg.value=Og())}));const Pg=Eg((()=>new URL(zg.value))),Ng=Eg((()=>Pg.value.searchParams)),jg=Eg((()=>({hash:Pg.value.hash,pathname:Pg.value.pathname,origin:Pg.value.origin,params:Fg(Ng.value)})));var Ig;Eg((()=>{const e=jg.value.hash.startsWith("#")?jg.value.hash.slice(1):jg.value.hash;return{path:e,pathParts:e.split("/").filter(Boolean)}})),function(e){e.UNEXPECTED_CHARACTER="UNEXPECTED_CHARACTER",e.UNTERMINATED_STRING="UNTERMINATED_STRING",e.INVALID_UNICODE_ESCAPE="INVALID_UNICODE_ESCAPE",e.EXPECTED_TOKEN="EXPECTED_TOKEN",e.EXPECTED_OPERATION="EXPECTED_OPERATION",e.EXPECTED_VALUE="EXPECTED_VALUE",e.EXPECTED_ACCESSOR="EXPECTED_ACCESSOR",e.INVALID_SYNTAX="INVALID_SYNTAX",e.INVALID_INPUT="INVALID_INPUT",e.INVALID_IDENTIFIER="INVALID_IDENTIFIER",e.FORBIDDEN_LOGICAL_OPERATOR="FORBIDDEN_LOGICAL_OPERATOR",e.FORBIDDEN_OPERATION="FORBIDDEN_OPERATION",e.FORBIDDEN_ARRAY_OPERATION="FORBIDDEN_ARRAY_OPERATION",e.FORBIDDEN_IDENTIFIER="FORBIDDEN_IDENTIFIER",e.FORBIDDEN_VALUE_TYPE="FORBIDDEN_VALUE_TYPE",e.FORBIDDEN_PARENTHESES="FORBIDDEN_PARENTHESES",e.FORBIDDEN_BRACKET_ACCESS="FORBIDDEN_BRACKET_ACCESS"}(Ig||(Ig={}));const Bg="auto",Wg="light",$g="dark",qg="theme",Hg=[Wg,$g,Bg],Ug={matches:!1,addEventListener:()=>{},removeEventListener:()=>{},media:"",onchange:()=>{},addListener:()=>{},removeListener:()=>{},dispatchEvent:()=>!0},Vg=()=>"undefined"==typeof window||"function"!=typeof window.matchMedia?Ug:window.matchMedia("(prefers-color-scheme: dark)"),Yg=bo()?.theme,Gg=Eg((()=>Xg.value===Bg?Jg.value:Xg.value)),Xg=xg(Bg),Jg=xg("undefined"==typeof window?Wg:Vg().matches?$g:Wg);(e=>{if("undefined"==typeof window)return;const{signal:t,key:n,defaultValue:r,onRestore:i=e=>e}=e,a=window.localStorage.getItem(n);if(null===a)"defaultValue"in e&&(t.value=r);else{let e=a;try{e=JSON.parse(a)}catch{}t.value=i(e)}})({signal:Xg,key:qg,onRestore:e=>(e=>Hg.includes(e))(e)?e:Yg??Bg}),(e=>{if("undefined"==typeof window)return;const{signal:t,key:n,shouldPersist:r=()=>!0}=e;Dg((()=>{const e=t.value;if(r(e))try{window.localStorage.setItem(n,"string"==typeof e?e:JSON.stringify(e))}catch{}}))})({signal:Xg,key:qg});const Zg=Eg((()=>({current:Gg.value,selected:Xg.value})));(()=>{if("undefined"==typeof window)return;Dg((()=>{document.documentElement.setAttribute("data-theme",Gg.value)}));Vg().addEventListener("change",(e=>{e.matches?Jg.value=$g:Jg.value=Wg}))})(),xg(1);const Kg="\nhtml, body {\n margin: 0;\n padding: 0;\n overflow-x: hidden;\n overflow-y: hidden;\n background: var(--color-bg-primary);\n}\n\nbody {\n color: var(--color-text-primary);\n font-family: var(--font-family);\n font-size: var(--font-size-m);\n line-height: var(--line-height-m);\n}\n\np {\n margin-top: 0;\n margin-bottom: 10px;\n}\n\np:last-child {\n margin-bottom: 0;\n}\n\nh1,\nh2,\nh3,\nh4,\nh5,\nh6 {\n font-weight: var(--font-weight-bold) !important;\n line-height: var(--line-height-l) !important;\n margin: 16px 0 10px;\n}\n\nh1:first-child,\nh2:first-child,\nh3:first-child,\nh4:first-child,\nh5:first-child,\nh6:first-child {\n margin-top: 0;\n}\n\nh1 {\n font-size: var(--font-size-xl) !important;\n}\n\nh2,\nh3 {\n font-size: var(--font-size-l) !important;\n}\n\nh4 {\n font-size: var(--font-size-m) !important;\n}\n\nh5,\nh6 {\n font-size: var(--font-size-s) !important;\n}\n\nh6 {\n color: var(--color-text-secondary);\n}\n\nstrong,\nb {\n font-weight: var(--font-weight-bold) !important;\n}\n\nem,\ni {\n font-style: italic !important;\n}\n\ndel,\ns {\n text-decoration: line-through;\n}\n\na {\n color: var(--color-text-primary);\n text-decoration: underline;\n}\n\na:hover {\n color: var(--color-text-secondary);\n}\n\ncode {\n font-family: var(--font-family-mono) !important;\n font-size: var(--font-size-m-code) !important;\n padding: 0.2em 0.4em;\n background: var(--color-control-bg);\n border-radius: 4px;\n}\n\npre {\n font-family: var(--font-family-mono) !important;\n font-size: var(--font-size-s) !important;\n line-height: 1.45 !important;\n padding: 16px;\n overflow: auto;\n background: var(--color-control-bg);\n border-radius: 6px;\n margin-bottom: 16px;\n}\n\npre code {\n padding: 0;\n background: transparent;\n font-size: inherit !important;\n border-radius: 0;\n}\n\nblockquote {\n padding: 0 1em;\n border-left: 0.25em solid var(--color-border-default);\n color: var(--color-text-secondary);\n margin-bottom: 16px;\n}\n\nul,\nol {\n padding-left: 2em;\n margin-bottom: 10px;\n}\n\nul {\n list-style: disc !important;\n}\n\nol {\n list-style: decimal !important;\n}\n\nli + li {\n margin-top: 0.25em;\n}\n\nhr {\n height: 0.25em;\n padding: 0;\n margin: 24px 0;\n background-color: var(--color-border-default);\n border: 0 !important;\n}\n\ntable {\n border-spacing: 0;\n border-collapse: collapse;\n margin-bottom: 16px;\n display: block;\n width: max-content;\n max-width: 100%;\n overflow-x: auto;\n overflow-y: hidden;\n transform: translateZ(0);\n contain: layout paint;\n}\n\nth,\ntd {\n padding: 6px 13px;\n border: 1px solid var(--color-border-default) !important;\n white-space: nowrap;\n}\n\nth {\n font-weight: var(--font-weight-bold) !important;\n position: sticky;\n top: 0;\n z-index: 1;\n background: var(--color-bg-primary);\n}\n\ntr:nth-child(2n) {\n background: var(--color-control-bg);\n}\n\nimg {\n max-width: 100% !important;\n height: auto !important;\n display: inline-block !important;\n vertical-align: middle !important;\n}\n\nabbr,\nabbr[title] {\n text-decoration: underline dotted;\n cursor: help;\n border-bottom: none;\n}\n\nkbd {\n display: inline-block;\n padding: 3px 5px;\n font-family: var(--font-family-mono) !important;\n font-size: 11px;\n line-height: 10px;\n color: var(--color-text-primary);\n vertical-align: middle;\n background-color: var(--color-control-bg);\n border: solid 1px var(--color-border-medium);\n border-bottom-color: var(--color-border-medium);\n border-radius: 6px;\n box-shadow: inset 0 -1px 0 var(--color-border-medium);\n}\n\nsamp {\n font-family: var(--font-family-mono) !important;\n font-size: 85% !important;\n}\n\nvar {\n font-family: var(--font-family-mono) !important;\n font-style: italic !important;\n font-weight: var(--font-weight-bold) !important;\n}\n\nmark {\n background-color: var(--color-intent-primary-bg);\n color: var(--color-intent-primary-on-bg);\n padding: 0.1em 0.2em;\n border-radius: 2px;\n}\n\nsmall {\n font-size: 85% !important;\n}\n\nsub,\nsup {\n font-size: 75% !important;\n line-height: 0 !important;\n position: relative !important;\n vertical-align: baseline !important;\n}\n\nsub {\n bottom: -0.25em !important;\n}\n\nsup {\n top: -0.5em !important;\n}\n\nins {\n text-decoration: underline;\n background-color: var(--color-intent-success-bg-subtle);\n color: var(--color-text-primary);\n text-decoration-color: var(--color-intent-success-text);\n}\n\ndfn {\n font-style: italic !important;\n font-weight: var(--font-weight-bold) !important;\n}\n\ncite {\n font-style: italic !important;\n}\n\nq {\n font-style: italic !important;\n}\n\nq::before {\n content: open-quote;\n}\n\nq::after {\n content: close-quote;\n}\n\ntime {\n font-variant-numeric: tabular-nums;\n}\n\ndl {\n padding: 0;\n margin-bottom: 16px;\n}\n\ndt {\n padding: 0;\n margin-top: 16px;\n font-size: 1em;\n font-style: italic;\n font-weight: var(--font-weight-bold) !important;\n}\n\ndt:first-child {\n margin-top: 0;\n}\n\ndd {\n padding: 0 0 0 16px;\n margin-left: 0;\n margin-bottom: 16px;\n}\n\nfigure {\n margin: 16px 0;\n display: block;\n}\n\nfigcaption {\n margin-top: 8px;\n font-size: var(--font-size-s) !important;\n color: var(--color-text-secondary);\n font-style: italic;\n text-align: center;\n}\n\ndetails {\n display: block;\n margin-bottom: 16px;\n}\n\nsummary {\n display: list-item;\n cursor: pointer;\n font-weight: var(--font-weight-bold) !important;\n margin-bottom: 8px;\n}\n\nsummary:hover {\n color: var(--color-text-secondary);\n}\n\nsummary::marker {\n color: var(--color-text-secondary);\n}\n\ndetails[open] summary {\n margin-bottom: 16px;\n}\n\narticle,\nsection,\naside,\nnav {\n display: block;\n margin-bottom: 16px;\n}\n\nheader,\nfooter {\n display: block;\n margin-bottom: 16px;\n}\n\naddress {\n display: block;\n font-style: italic;\n margin-bottom: 16px;\n}\n",Qg=/var\(\s*(--[\w-]+)\s*(?:,\s*([^)]+))?\)/g,em=(e,t,n)=>e.replace(Qg,((e,r,i)=>{if(n.has(r))return i?em(i.trim(),t,n):"";const a=new Set(n);a.add(r);const o=t.getPropertyValue(r).trim();return o?em(o,t,a):i?em(i.trim(),t,a):""})),tm=/((?:(?:https?:\/\/|ftp:\/\/|mailto:)|www\.)\S+?)(\s|"|'|\)|]|}|>|$)/g,nm=e=>{const{hasOnlyLeafResults:t,isSubtreeCollapsedAll:n,isSubtreeFirstLevelOnly:r,isSubtreeExpandedAll:i,lastSubtreeToggle:a}=e;return t?n?"all":"none":n?"first":r?"all"===a?"none":"all":i?"first":"all"},rm=e=>{const t=nm(e);return"all"===t?"expand-all":"none"===t?"collapse-all":e.isSubtreeCollapsedAll?"expand-first-level":"collapse-to-first-level"},im=(e,t=!1)=>t||(e=>void 0===e||Boolean(e?.failed||e?.broken))(e);var am="styles_link__BC-2O";const om=({text:e,...t})=>{if(!(e=>{const t=new RegExp(tm.source,tm.flags);return t.lastIndex=0,t.test(e)})(e))return yi(Ci,{...t,children:e});const n=(e=>{if(!e)return[{type:"text",value:""}];const t=[],n=new RegExp(tm.source,tm.flags);let r,i=0;for(;null!==(r=n.exec(e));){const n=r.index,a=r[1],o=r[2]??"";n>i&&t.push({type:"text",value:e.slice(i,n)}),t.push({type:"url",value:a}),i=n+a.length+o.length}return i<e.length&&t.push({type:"text",value:e.slice(i)}),0===t.length?[{type:"text",value:e}]:t})(e);return yi(Ci,{...t,children:n.map(((e,t)=>{if("text"===e.type)return e.value;const n=(r=e.value,/^(?:https?:\/\/|mailto:|tel:)/.test(r)?go(r):/^www\./.test(r)?go(`https://${r}`):go(r));var r;return n?yi(Ci,{tag:"a",href:n,target:"_blank",rel:"noopener noreferrer",className:am,onClick:e=>{e.stopPropagation()},children:e.value},t):e.value}))})},sm=e=>{const{source:t,transformData:n=e=>e,renderLoader:r=()=>null,renderError:i=e=>yi("div",{children:e}),renderData:a}=e;return t.value.loading?r():t.value.error?i(t.value.error):a(n(t.value.data))};var lm="styles_page-loader__OFuzd";const cm=()=>yi("div",{className:lm,children:yi(ki,{size:"m"})}),um=(e,t=300)=>{const n=C(e);S((()=>{n.current=e}),[e]);const r=E(((e,t=300)=>{let n;const r=(...r)=>{void 0!==n&&clearTimeout(n),n=setTimeout((()=>{n=void 0,e(...r)}),t)};return r.cancel=()=>{void 0!==n&&(clearTimeout(n),n=void 0)},r})(((...e)=>n.current(...e)),t),[t]);return S((()=>()=>{r.cancel()}),[r]),r};var dm="styles_inputWrap__96bWy",fm="styles_input__ir8z5",hm="styles_leadingIcon__6Bcbs",pm="styles_slot__Grn3c",gm="styles_clearButton__SR4Dg";const mm=e=>{const{placeholder:t,value:n,onChange:r,changeDebounce:i=300,leadingSlot:a,trailingSlot:o,error:s}=e,[l,c]=A(n),u=C(null),d=C(n??""),f=E((e=>{d.current=e,r(e)}),[r]),h=um(f,i),p=C(h);p.current=h,S((()=>{const e=n??"";e!==d.current&&(d.current=e,c(e),p.current.cancel())}),[n]);const g=!!l,m=!!s;return yi(Ci,{className:dm,type:"ui",size:"m",tag:"div",onClick:e=>{e.target.closest("[data-search-box-slot]")?e.stopPropagation():u.current?.focus()},"data-invalid":m||void 0,children:[yi("div",{className:hm,children:yi(xi,{id:wi.lineGeneralSearchMd,size:"s"})}),a&&yi("div",{className:pm,"data-search-box-slot":!0,children:a}),yi("input",{ref:u,className:fm,type:"text",placeholder:t,onInput:e=>{const t=e.target.value;c(t),h(t)},value:l,name:"search",autocomplete:"off","data-testid":"search-input","aria-invalid":m||void 0,"aria-label":t??"Search"}),o&&yi("div",{className:pm,"data-search-box-slot":!0,children:o}),g&&yi("div",{className:gm,children:yi(Ti,{size:"s",icon:wi.lineGeneralXClose,onClick:e=>{e.preventDefault(),e.stopPropagation(),c(""),h.cancel(),f("")},style:"ghost","data-testid":"clear-button"})})]})};function vm(e,t){for(var n in e)if("__source"!==n&&!(n in t))return!0;for(var r in t)if("__source"!==r&&e[r]!==t[r])return!0;return!1}function bm(e,t){this.props=e,this.context=t}(bm.prototype=new v).isPureReactComponent=!0,bm.prototype.shouldComponentUpdate=function(e,t){return vm(this.props,e)||vm(this.state,t)};var ym=m.__b;m.__b=function(e){e.type&&e.type.__f&&e.ref&&(e.props.ref=e.ref,e.ref=null),ym&&ym(e)};var _m=m.__e;m.__e=function(e,t,n,r){if(e.then)for(var i,a=t;a=a.__;)if((i=a.__c)&&i.__c)return null==t.__e&&(t.__e=n.__e,t.__k=n.__k),i.__c(e,t);_m(e,t,n,r)};var wm=m.unmount;function xm(e,t,n){return e&&(e.__c&&e.__c.__H&&(e.__c.__H.__.forEach((function(e){"function"==typeof e.__c&&e.__c()})),e.__c.__H=null),null!=(e=function(e,t){for(var n in t)e[n]=t[n];return e}({},e)).__c&&(e.__c.__P===n&&(e.__c.__P=t),e.__c.__e=!0,e.__c=null),e.__k=e.__k&&e.__k.map((function(e){return xm(e,t,n)}))),e}function km(e,t,n){return e&&n&&(e.__v=null,e.__k=e.__k&&e.__k.map((function(e){return km(e,t,n)})),e.__c&&e.__c.__P===t&&(e.__e&&n.appendChild(e.__e),e.__c.__e=!0,e.__c.__P=n)),e}function Cm(){this.__u=0,this.o=null,this.__b=null}function Am(e){var t=e.__.__c;return t&&t.__a&&t.__a(e)}function Sm(){this.i=null,this.l=null}m.unmount=function(e){var t=e.__c;t&&t.__R&&t.__R(),t&&32&e.__u&&(e.type=null),wm&&wm(e)},(Cm.prototype=new v).__c=function(e,t){var n=t.__c,r=this;null==r.o&&(r.o=[]),r.o.push(n);var i=Am(r.__v),a=!1,o=function(){a||(a=!0,n.__R=null,i?i(s):s())};n.__R=o;var s=function(){if(! --r.__u){if(r.state.__a){var e=r.state.__a;r.__v.__k[0]=km(e,e.__c.__P,e.__c.__O)}var t;for(r.setState({__a:r.__b=null});t=r.o.pop();)t.forceUpdate()}};r.__u++||32&t.__u||r.setState({__a:r.__b=r.__v.__k[0]}),e.then(o,o)},Cm.prototype.componentWillUnmount=function(){this.o=[]},Cm.prototype.render=function(e,t){if(this.__b){if(this.__v.__k){var n=document.createElement("div"),r=this.__v.__k[0].__c;this.__v.__k[0]=xm(this.__b,n,r.__O=r.__P)}this.__b=null}var i=t.__a&&b(y,null,e.fallback);return i&&(i.__u&=-33),[b(y,null,t.__a?null:e.children),i]};var Em=function(e,t,n){if(++n[1]===n[0]&&e.l.delete(t),e.props.revealOrder&&("t"!==e.props.revealOrder[0]||!e.l.size))for(n=e.i;n;){for(;n.length>3;)n.pop()();if(n[1]<n[0])break;e.i=n=n[2]}};function Mm(e){return this.getChildContext=function(){return e.context},e.children}function Rm(e){var t=this,n=e.h;if(t.componentWillUnmount=function(){w(null,t.v),t.v=null,t.h=null},t.h&&t.h!==n&&t.componentWillUnmount(),!t.v){for(var r=t.__v;null!==r&&!r.__m&&null!==r.__;)r=r.__;t.h=n,t.v={nodeType:1,parentNode:n,childNodes:[],__k:{__m:r.__m},contains:function(){return!0},insertBefore:function(e,n){this.childNodes.push(e),t.h.insertBefore(e,n)},removeChild:function(e){this.childNodes.splice(this.childNodes.indexOf(e)>>>1,1),t.h.removeChild(e)}}}w(b(Mm,{context:t.context},e.__v),t.v)}function Tm(e,t){var n=b(Rm,{__v:e,h:t});return n.containerInfo=t,n}(Sm.prototype=new v).__a=function(e){var t=this,n=Am(t.__v),r=t.l.get(e);return r[0]++,function(i){var a=function(){t.props.revealOrder?(r.push(i),Em(t,e,r)):i()};n?n(a):a()}},Sm.prototype.render=function(e){this.i=null,this.l=new Map;var t=_(e.children);e.revealOrder&&"b"===e.revealOrder[0]&&t.reverse();for(var n=t.length;n--;)this.l.set(t[n],this.i=[1,0,this.i]);return e.children},Sm.prototype.componentDidUpdate=Sm.prototype.componentDidMount=function(){var e=this;this.l.forEach((function(t,n){Em(e,n,t)}))};var Lm="undefined"!=typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,Dm=/^(?:accent|alignment|arabic|baseline|cap|clip(?!PathU)|color|dominant|fill|flood|font|glyph(?!R)|horiz|image(!S)|letter|lighting|marker(?!H|W|U)|overline|paint|pointer|shape|stop|strikethrough|stroke|text(?!L)|transform|underline|unicode|units|v|vector|vert|word|writing|x(?!C))[A-Z]/,Om=/^on(Ani|Tra|Tou|BeforeInp|Compo)/,Fm=/[A-Z0-9]/g,zm="undefined"!=typeof document,Pm=function(e){return("undefined"!=typeof Symbol&&"symbol"==typeof Symbol()?/fil|che|rad/:/fil|che|ra/).test(e)};v.prototype.isReactComponent={},["componentWillMount","componentWillReceiveProps","componentWillUpdate"].forEach((function(e){Object.defineProperty(v.prototype,e,{configurable:!0,get:function(){return this["UNSAFE_"+e]},set:function(t){Object.defineProperty(this,e,{configurable:!0,writable:!0,value:t})}})}));var Nm=m.event;function jm(){}function Im(){return this.cancelBubble}function Bm(){return this.defaultPrevented}m.event=function(e){return Nm&&(e=Nm(e)),e.persist=jm,e.isPropagationStopped=Im,e.isDefaultPrevented=Bm,e.nativeEvent=e};var Wm={enumerable:!1,configurable:!0,get:function(){return this.class}},$m=m.vnode;m.vnode=function(e){"string"==typeof e.type&&function(e){var t=e.props,n=e.type,r={},i=-1===n.indexOf("-");for(var a in t){var o=t[a];if(!("value"===a&&"defaultValue"in t&&null==o||zm&&"children"===a&&"noscript"===n||"class"===a||"className"===a)){var s=a.toLowerCase();"defaultValue"===a&&"value"in t&&null==t.value?a="value":"download"===a&&!0===o?o="":"translate"===s&&"no"===o?o=!1:"o"===s[0]&&"n"===s[1]?"ondoubleclick"===s?a="ondblclick":"onchange"!==s||"input"!==n&&"textarea"!==n||Pm(t.type)?"onfocus"===s?a="onfocusin":"onblur"===s?a="onfocusout":Om.test(a)&&(a=s):s=a="oninput":i&&Dm.test(a)?a=a.replace(Fm,"-$&").toLowerCase():null===o&&(o=void 0),"oninput"===s&&r[a=s]&&(a="oninputCapture"),r[a]=o}}"select"==n&&r.multiple&&Array.isArray(r.value)&&(r.value=_(t.children).forEach((function(e){e.props.selected=-1!=r.value.indexOf(e.props.value)}))),"select"==n&&null!=r.defaultValue&&(r.value=_(t.children).forEach((function(e){e.props.selected=r.multiple?-1!=r.defaultValue.indexOf(e.props.value):r.defaultValue==e.props.value}))),t.class&&!t.className?(r.class=t.class,Object.defineProperty(r,"className",Wm)):(t.className&&!t.class||t.class&&t.className)&&(r.class=r.className=t.className),e.props=r}(e),e.$$typeof=Lm,$m&&$m(e)};var qm=m.__r;m.__r=function(e){qm&&qm(e),e.__c};var Hm=m.diffed;function Um(e){return function(e){return!!e&&e.$$typeof===Lm}(e)?x.apply(null,arguments):e}m.diffed=function(e){Hm&&Hm(e);var t=e.props,n=e.__e;null!=n&&"textarea"===e.type&&"value"in t&&t.value!==n.value&&(n.value=null==t.value?"":t.value)};var Vm={menu:"styles_menu__Y2xWi","size-s":"styles_size-s__phegq","size-m":"styles_size-m__FqoGi","size-l":"styles_size-l__ShSlS","size-xl":"styles_size-xl__Mk5k2",menuListItem:"styles_menuListItem__FHex0",section:"styles_section__gV07b",menuItem:"styles_menuItem__mOGZq",interactive:"styles_interactive__VHNnJ",leadingIcon:"styles_leadingIcon__0ikkr",content:"styles_content__XpstT",right:"styles_right__9xwiq",checkmarkIcon:"styles_checkmarkIcon__SnS-7"};const Ym=k(null),Gm=e=>{const{children:t,menuTrigger:n,menuTriggerWrapper:r="div",size:i="m",isInitialOpened:a=!1,placement:o="bottom-end",...s}=e,[l,c]=A(a),u=C(null),d=C(null);return S((()=>{const e=e=>{"Escape"===e.key&&l&&c(!1)};return document.addEventListener("keydown",e),()=>{document.removeEventListener("keydown",e)}}),[l]),S((()=>{const e=e=>{l&&u.current&&(u.current.contains(e.target)||c(!1))};return l&&document.addEventListener("click",e),()=>{document.removeEventListener("click",e)}}),[l]),S((()=>{const e=()=>{(u.current||d.current)&&Va(d.current,u.current,{placement:o,middleware:[qa(6),Ua(),Ha({padding:5})],strategy:"fixed"}).then((({x:e,y:t,strategy:n})=>{u.current&&Object.assign(u.current.style,{left:`${e}px`,top:`${t}px`,position:n,zIndex:1e3})}))};return e(),$a(d.current,u.current,e)}),[u.current,d.current]),yi(Ym.Provider,{value:{setIsOpened:c},children:yi(y,{children:["function"==typeof n&&yi(r,{ref:d,children:n({isOpened:l,onClick:()=>{c(!l)},setIsOpened:c})}),Tm(yi("div",{ref:u,...s,children:l&&yi("aside",{className:ae(Vm.menu,Vm[`size-${i}`]),children:t})}),document.body)]})})};Gm.Section=e=>{const{children:t,...n}=e;return yi("ul",{className:Vm.section,...n,children:t})},Gm.Section.displayName="Menu.Section";const Xm=e=>{const{setIsOpened:t}=(()=>{const e=M(Ym);if(!e)throw new Error("useMenuContext must be used within a Menu");return e})(),{children:n,onClick:r,leadingIcon:i,rightSlot:a,ariaLabel:o,closeMenuOnClick:s=!0,dataTestId:l,...c}=e,u="function"==typeof r,d="string"==typeof i;return yi("li",{className:Vm.menuListItem,...c,children:yi(Ci,{"aria-label":o,type:"paragraph",size:"m",tag:u?"button":"div",className:ae(Vm.menuItem,u&&Vm.interactive),onClick:e=>{u&&s&&(e.stopPropagation(),t(!1)),u&&r?.()},"data-interactive-menu-item":!!u||void 0,"data-testid":l,children:[d&&yi(xi,{id:i,className:Vm.leadingIcon,size:"m"}),yi("div",{className:Vm.content,children:n}),a&&yi("div",{className:Vm.right,children:a})]})})};(Gm.Item=Xm).displayName="Menu.Item";(Gm.ItemWithCheckmark=e=>{const{isChecked:t=!1,...n}=e;return yi(Xm,{...n,rightSlot:t&&yi(xi,{className:Vm.checkmarkIcon,id:wi.lineGeneralCheck})})}).displayName="Menu.ItemWithCheckmark";var Jm={"arrow-button":"styles_arrow-button__PtmoB","arrow-button-s":"styles_arrow-button-s__LG1S5","arrow-button-m":"styles_arrow-button-m__i7jQC","icon-size-m":"styles_icon-size-m__cHrQH","arrow-button-icon":"styles_arrow-button-icon__X5gUo","arrow-button-icon--opened":"styles_arrow-button-icon--opened__9AOMd"};const Zm=({isOpened:e,buttonSize:t="m",iconSize:n="xs",tag:r="button",className:i,icon:a=wi.lineArrowsChevronDown,onClick:o,...s})=>yi(r,{...s,className:ae(Jm["arrow-button"],Jm[`arrow-button-${t}`]),onClick:o,children:yi(xi,{id:a,size:n,className:ae({[Jm["arrow-button-icon--opened"]]:e},Jm["arrow-button-icon"],Jm[`icon-size-${n}`],i)})});var Km="styles_container__9IMGc",Qm="styles_title__wOjPO",ev="styles_description__Idyva",tv="styles_textContainer__AznFB",nv="styles_emptyIcon__QSADI";const rv={s:"s",m:"m",xs:"xs"},iv=e=>{const{children:t,description:n,title:r,icon:i,iconColor:a,fullHeight:o=!0,size:s="m",className:l,iconClassName:c,border:u=!1}=e;return yi("div",{"data-size":s,"data-full-height":o||void 0,"data-border":u||void 0,className:ae(Km,l),children:[!!i&&yi(xi,{id:i,className:ae(nv,c),"data-size":rv[s],"data-color":a}),yi("div",{className:tv,children:[r&&yi(Ci,{tag:"b",size:"s"===s?"m":"l",bold:!0,className:Qm,children:r}),!!n&&yi(Ci,{tag:"p",size:"m",className:ev,children:n})]}),t]})};var av={"test-result-steps":"styles_test-result-steps__sOCjB","test-result-steps-root":"styles_test-result-steps-root__sw3Gc","test-result-step":"styles_test-result-step__35uMx","test-result-step-content":"styles_test-result-step-content__ok1gg","test-result-attachment-content":"styles_test-result-attachment-content__GK-nn","attachment-code":"styles_attachment-code__qVWLm","attachment-code-actions":"styles_attachment-code-actions__U3Sym","test-result-attachment-content-wrapper":"styles_test-result-attachment-content-wrapper__-tpyD","test-result-step-root":"styles_test-result-step-root__dJBld","test-result-step-header":"styles_test-result-step-header__AdqlU","test-result-header-text":"styles_test-result-header-text__UL3Vx","test-result-step-button":"styles_test-result-step-button__wMGEX","test-result-step-number":"styles_test-result-step-number__-Kxim","item-time":"styles_item-time__B9zAy","item-info":"styles_item-info__Irg-g","item-buttons":"styles_item-buttons__hDiWx","item-info-step":"styles_item-info-step__pbKYR","item-info-step-icon":"styles_item-info-step-icon__b2X2T","test-result-step-chevron":"styles_test-result-step-chevron__jHjsv","test-result-step-chevron-open":"styles_test-result-step-chevron-open__J-kYO","test-result-attachment-header":"styles_test-result-attachment-header__rKSDD","test-result-attachment-arrow":"styles_test-result-attachment-arrow__pBXKy","test-result-attachment-arrow-opened":"styles_test-result-attachment-arrow-opened__bQwvt","test-result-attachment-icon":"styles_test-result-attachment-icon__1-cz7","test-result-attachment-text":"styles_test-result-attachment-text__GCEOM","test-result-attachment-image":"styles_test-result-attachment-image__sJpWk","test-result-attachment-table-wrapper":"styles_test-result-attachment-table-wrapper__F5Qom","mermaid-attachment-preview":"styles_mermaid-attachment-preview__e4SQw","mermaid-attachment-loading":"styles_mermaid-attachment-loading__lmkfO","test-result-attachment-table":"styles_test-result-attachment-table__cjazn","test-result-parameters":"styles_test-result-parameters__g-ocp","attachment-background":"styles_attachment-background__NFtHv","test-result-attachment-error":"styles_test-result-attachment-error__od2Zn","test-result-visibility-hidden":"styles_test-result-visibility-hidden__McZKz","item-button":"styles_item-button__RIUAE","wrong-attachment-sign":"styles_wrong-attachment-sign__j-rkc","test-result-attachment-missed":"styles_test-result-attachment-missed__lCOi2","test-result-spinner":"styles_test-result-spinner__B3aF3","test-result-strut":"styles_test-result-strut__4dCuX",attachmentViewStack:"styles_attachmentViewStack__QMID9",attachmentViewPane:"styles_attachmentViewPane__NSDfM","html-attachment-preview":"styles_html-attachment-preview__0-kmL","markdown-attachment-preview":"styles_markdown-attachment-preview__KbomT","test-result-attachment-video":"styles_test-result-attachment-video__251vv",imageDiffWrapper:"styles_imageDiffWrapper__5nf3F","http-attachment":"styles_http-attachment__MwNPR","http-attachment__summary":"styles_http-attachment__summary__j4KBC","http-attachment__method":"styles_http-attachment__method__khW0H","http-attachment__status":"styles_http-attachment__status__7YleG","http-attachment__duration":"styles_http-attachment__duration__mRA-O","http-attachment__version":"styles_http-attachment__version__RiibR","http-attachment__meta-chip":"styles_http-attachment__meta-chip__FgwKj","http-attachment__url":"styles_http-attachment__url__hC-FR","http-attachment__exchange-arrow":"styles_http-attachment__exchange-arrow__Q-T6s","http-attachment__panel":"styles_http-attachment__panel__FfHPJ","http-attachment__panel--error":"styles_http-attachment__panel--error__idRf7","http-attachment__panel-header":"styles_http-attachment__panel-header__EF9do","http-attachment__panel-title":"styles_http-attachment__panel-title__S-PvX","http-attachment__panel-line":"styles_http-attachment__panel-line__LKOl0","http-attachment__meta":"styles_http-attachment__meta__YpflO","http-attachment__meta-row":"styles_http-attachment__meta-row__FBPl5","http-attachment__label":"styles_http-attachment__label__Wi2fO","http-attachment__pair-name":"styles_http-attachment__pair-name__PkJ0C","http-attachment__table":"styles_http-attachment__table__IcWko","http-attachment__value":"styles_http-attachment__value__DNu-l","http-attachment__groups":"styles_http-attachment__groups__Upae-","http-attachment__group":"styles_http-attachment__group__5W7pg","http-attachment__group--body":"styles_http-attachment__group--body__IsEW7","http-attachment__group-summary":"styles_http-attachment__group-summary__wGEc6","http-attachment__group-title":"styles_http-attachment__group-title__4yZ03","http-attachment__group-content":"styles_http-attachment__group-content__zCrxO","http-attachment__cookie-attrs":"styles_http-attachment__cookie-attrs__YQ5-9","http-attachment__masked-value":"styles_http-attachment__masked-value__JzhET","http-attachment__part-list":"styles_http-attachment__part-list__DxTbx","http-attachment__part-card":"styles_http-attachment__part-card__J6naV","http-attachment__part-card-header":"styles_http-attachment__part-card-header__LbkDL","http-attachment__part-title":"styles_http-attachment__part-title__b3BWO","http-attachment__part-section":"styles_http-attachment__part-section__8CGF7","http-attachment__part-section-title":"styles_http-attachment__part-section-title__K1Vpw","http-attachment__part-header-list":"styles_http-attachment__part-header-list__dOGyN","http-attachment__part-header-row":"styles_http-attachment__part-header-row__W-bvy","http-attachment__part-header-name":"styles_http-attachment__part-header-name__eteMA","http-attachment__part-header-value":"styles_http-attachment__part-header-value__3pQz4","http-attachment__part-value":"styles_http-attachment__part-value__x-Sxb","http-attachment__body":"styles_http-attachment__body__v14HL","http-attachment__body-toolbar":"styles_http-attachment__body-toolbar__oefh2","http-attachment__body-heading":"styles_http-attachment__body-heading__OQx6L","http-attachment__body-title":"styles_http-attachment__body-title__ZMQSW","http-attachment__meta-chips":"styles_http-attachment__meta-chips__dvc-6","http-attachment__body-actions":"styles_http-attachment__body-actions__F-FqP","http-attachment__body-action":"styles_http-attachment__body-action__PErGj","http-attachment__body-content":"styles_http-attachment__body-content__q0CG1","http-attachment__body-content--structured":"styles_http-attachment__body-content--structured__-9Khu","http-attachment__body-message":"styles_http-attachment__body-message__cdLDG","http-attachment__empty":"styles_http-attachment__empty__87Ms5"};const ov={js:"javascript",mjs:"javascript",cjs:"javascript",ts:"typescript",mts:"typescript",cts:"typescript",tsx:"typescript",jsx:"javascript",json:"json",html:"markup",htm:"markup",xml:"markup",css:"css",csv:"csv",md:"markdown"},sv={"text/javascript":"javascript","application/javascript":"javascript","text/x-javascript":"javascript","application/x-javascript":"javascript","text/ecmascript":"javascript","application/ecmascript":"javascript","text/typescript":"typescript","application/typescript":"typescript","text/x-typescript":"typescript","application/x-typescript":"typescript","application/json":"json","text/json":"json","text/html":"markup","application/xml":"markup","text/xml":"markup","text/css":"css","text/csv":"csv","text/markdown":"markdown"},lv=e=>e.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,"""),cv=e=>{if(!e)return;const t=/\.([a-z0-9]+)$/i.exec(e);if(!t)return;const n=t[1].toLowerCase();return ov[n]??n},uv=e=>{const{attachment:t,item:n,highlight:r=!0,i18n:i}=e;if(!t||!("text"in t))return null;const a=n?.link?.ext?.replace(".","").toLowerCase(),o=n?.link?.contentType?.toLowerCase(),s=(cv(n?.link?.name)??cv(n?.link?.originalFileName))||a&&(ov[a]??a)||o&&sv[o]||"plaintext",l=t.text??"",c=((e,t)=>"markdown"!==e&&t.split("\n").length>=5)(s,l),u=R((()=>["attachment-code-block",r?`language-${s}`:"",r&&c?"line-numbers":""].filter(Boolean).join(" ")),[r,s,c]),d=R((()=>r?((e,t)=>{const n=Y.languages[t];if(!n)return lv(e);try{return Y.highlight(e,n,t)}catch{return lv(e)}})(l,s):null),[r,l,s]),f=l.length>0,h=i?.("clipboard")??"Copy to clipboard",p=i?.("clipboardSuccess")??"Successfully copied",g=i?.("clipboardError")??"Can not copy value to clipboard. Seems like this feature is not supported for your browser",[m,v]=A(h);S((()=>{v(h)}),[h,l]);const b=f&&yi("div",{className:av["attachment-code-actions"],role:"presentation",onClick:e=>e.stopPropagation(),onKeyDown:e=>e.stopPropagation(),onMouseLeave:()=>v(h),children:yi(Ja,{tooltipText:m,children:yi(Ti,{style:"ghost",size:"s",iconSize:"s",icon:wi.lineGeneralCopy3,onClick:async()=>{v(await To(l)?p:g)}})})});if((e=>"string"==typeof e&&new RegExp(Sh).test(e))(l)&&l.length>0&&r){const e=((e,t)=>new Ah({escapeXML:!0,...t}).toHtml(e))((e=>e.replace(Eh,((e,t)=>{const n=0===t.length?[0]:t.split(";").map(Number);if(n.some((e=>!Number.isInteger(e))))return e;const r=[];let i=[];const a=()=>{i.length>0&&(r.push(`[${i.join(";")}m`),i=[])};for(let e=0;e<n.length;){const t=n[e];if(38===t&&5===n[e+1]&&Bh(n[e+2])){const t=Ih(n[e+2]);a(),r.push(`[38;5;${t?jh(t.red,t.green,t.blue):Mh}m`),e+=3}else 38===t&&2===n[e+1]&&Bh(n[e+2])&&Bh(n[e+3])&&Bh(n[e+4])?(a(),r.push(`[38;5;${jh(n[e+2],n[e+3],n[e+4])}m`),e+=5):48===t&&5===n[e+1]&&Bh(n[e+2])?e+=3:48===t&&2===n[e+1]&&Bh(n[e+2])&&Bh(n[e+3])&&Bh(n[e+4])?e+=5:(t>=40&&t<=47||49===t||t>=100&&t<=107||i.push(t),e+=1)}return a(),r.join("")})))(l),{fg:"var(--color-text-primary)",bg:"none",colors:Ph});return yi("div",{className:av["attachment-code"],children:[b,yi("pre",{"data-testid":"code-attachment-content",className:u,dangerouslySetInnerHTML:{__html:e}})]})}return yi("div",{className:av["attachment-code"],children:[b,yi("pre",{"data-testid":"code-attachment-content",className:u,children:yi("code",r&&null!==d?{className:`language-${s}`,dangerouslySetInnerHTML:{__html:d}}:{children:l})})]})},dv=e=>{const{attachment:t,item:n}=e,[r,i]=A(!0);return S((()=>{if(t&&"img"in t&&t.img){const e=new Image;e.onload=()=>i(!0),e.onerror=()=>i(!1),e.src=t.img}}),[t]),yi("div",t&&"img"in t&&r?{"data-testid":"image-attachment-content",className:av["test-result-attachment-image"],children:yi("img",{src:t.img,alt:n.link.originalFileName})}:{className:av["test-result-attachment-error"],children:"something went wrong"})};var fv="styles_list__pI3IS",hv="styles_tab__nrjgs";const pv=k(null),gv=e=>{const{children:t,initialTab:n}=e,r=O(n),i=E((e=>{r.value=e}),[r]);return yi(pv.Provider,{value:{currentTab:r,setCurrentTab:i},children:t})},mv=e=>yi(gv,{...e}),vv=e=>yi("div",{className:fv,children:e.children}),bv=e=>{const{currentTab:t,setCurrentTab:n}=(()=>{const e=M(pv);if(!e)throw new Error("NavTabs components must be used within a NavTabs component");return e})(),r=D((()=>t.value===e.tabId)),{tabId:i,children:a,onClick:o,testId:s,isCurrentTab:l=r.value}=e;return yi("button",{className:hv,onClick:()=>{if(!l)return o?o():void n(i)},"data-testid":s||`tab-${i}`,"aria-current":l||void 0,children:yi(Ci,{type:"paragraph",size:"m",bold:l,children:a})})};var yv,_v,wv,xv,kv,Cv,Av,Sv,Ev,Mv,Rv,Tv,Lv,Dv,Ov,Fv,zv,Pv,Nv,jv,Iv,Bv,Wv,$v,qv,Hv,Uv,Vv;function Yv(){if(_v)return yv;return _v=1,yv=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)},yv}function Gv(){if(xv)return wv;xv=1;var e="object"==typeof j&&j&&j.Object===Object&&j;return wv=e}function Xv(){if(Cv)return kv;Cv=1;var e=Gv(),t="object"==typeof self&&self&&self.Object===Object&&self,n=e||t||Function("return this")();return kv=n}function Jv(){if(Tv)return Rv;Tv=1;var e=function(){if(Mv)return Ev;Mv=1;var e=/\s/;return Ev=function(t){for(var n=t.length;n--&&e.test(t.charAt(n)););return n},Ev}(),t=/^\s+/;return Rv=function(n){return n?n.slice(0,e(n)+1).replace(t,""):n}}function Zv(){if(Dv)return Lv;Dv=1;var e=Xv().Symbol;return Lv=e}function Kv(){if(jv)return Nv;jv=1;var e=Zv(),t=function(){if(Fv)return Ov;Fv=1;var e=Zv(),t=Object.prototype,n=t.hasOwnProperty,r=t.toString,i=e?e.toStringTag:void 0;return Ov=function(e){var t=n.call(e,i),a=e[i];try{e[i]=void 0;var o=!0}catch(e){}var s=r.call(e);return o&&(t?e[i]=a:delete e[i]),s}}(),n=function(){if(Pv)return zv;Pv=1;var e=Object.prototype.toString;return zv=function(t){return e.call(t)}}(),r=e?e.toStringTag:void 0;return Nv=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":r&&r in Object(e)?t(e):n(e)}}function Qv(){if(Bv)return Iv;return Bv=1,Iv=function(e){return null!=e&&"object"==typeof e}}function eb(){if($v)return Wv;$v=1;var e=Kv(),t=Qv();return Wv=function(n){return"symbol"==typeof n||t(n)&&"[object Symbol]"==e(n)}}function tb(){if(Hv)return qv;Hv=1;var e=Jv(),t=Yv(),n=eb(),r=/^[-+]0x[0-9a-f]+$/i,i=/^0b[01]+$/i,a=/^0o[0-7]+$/i,o=parseInt;return qv=function(s){if("number"==typeof s)return s;if(n(s))return NaN;if(t(s)){var l="function"==typeof s.valueOf?s.valueOf():s;s=t(l)?l+"":l}if("string"!=typeof s)return 0===s?s:+s;s=e(s);var c=i.test(s);return c||a.test(s)?o(s.slice(2),c?2:8):r.test(s)?NaN:+s}}var nb=function(){if(Vv)return Uv;Vv=1;var e=Yv(),t=function(){if(Sv)return Av;Sv=1;var e=Xv();return Av=function(){return e.Date.now()}}(),n=tb(),r=Math.max,i=Math.min;return Uv=function(a,o,s){var l,c,u,d,f,h,p=0,g=!1,m=!1,v=!0;if("function"!=typeof a)throw new TypeError("Expected a function");function b(e){var t=l,n=c;return l=c=void 0,p=e,d=a.apply(n,t)}function y(e){var t=e-h;return void 0===h||t>=o||t<0||m&&e-p>=u}function _(){var e=t();if(y(e))return w(e);f=setTimeout(_,function(e){var t=o-(e-h);return m?i(t,u-(e-p)):t}(e))}function w(e){return f=void 0,v&&l?b(e):(l=c=void 0,d)}function x(){var e=t(),n=y(e);if(l=arguments,c=this,h=e,n){if(void 0===f)return function(e){return p=e,f=setTimeout(_,o),g?b(e):d}(h);if(m)return clearTimeout(f),f=setTimeout(_,o),b(h)}return void 0===f&&(f=setTimeout(_,o)),d}return o=n(o)||0,e(s)&&(g=!!s.leading,u=(m="maxWait"in s)?r(n(s.maxWait)||0,o):u,v="trailing"in s?!!s.trailing:v),x.cancel=function(){void 0!==f&&clearTimeout(f),p=0,l=h=c=f=void 0},x.flush=function(){return void 0===f?d:w(t())},x},Uv}(),rb=I(nb);const ib=e=>{const{debounceTimeout:t=0,children:n}=e,r=C(null),i=O(r.current?.clientWidth??0),a=O(r.current?.clientHeight??0),o=C(!0);return S((()=>()=>{o.current=!1}),[]),S((()=>{if(!r.current)return;const e=rb((e=>{o.current&&F((()=>{const t=Math.floor(e.clientWidth),n=Math.floor(e.clientHeight);t!==i.peek()&&(i.value=t),n!==a.peek()&&(a.value=n)}))}),t);e(r.current);const n=new ResizeObserver((t=>{for(const n of t)e(n.target)}));n.observe(r.current);const s=()=>{r.current&&e(r.current)};return window.addEventListener("resize",s),()=>{n.disconnect(),window.removeEventListener("resize",s)}}),[t,i,a]),yi("div",{ref:r,style:{width:"100%"},children:n(i.value,a.value)})};var ab="styles_selector__znOxx",ob="styles_wrapper__lYgmR",sb="styles_view__RIAGy",lb="styles_image__tDz1w",cb="styles_imageCard__q1Tt-",ub="styles_imageLabel__-Bqlj",db="styles_overlayContainer__nBpEU",fb="styles_overlayHandle__SYBWC";const hb=k({width:0,height:0}),pb=e=>yi(ib,{children:(t,n)=>yi(hb.Provider,{value:{width:t,height:n},children:yi("div",{className:ob,children:e.children})})}),gb=async e=>{if(!e)return null;const t=new Image,n=new Promise((e=>{t.onload=e,t.onerror=e}));return t.src=e,await n,t},mb=e=>{const t=M(hb),n=O(!0),r=O(null),i=O(null),a=O(null),o=O(t);S((()=>{o.value=t}),[t,o]);const s=D((()=>{let t=(e=>{const t=[];return e.actual&&t.push("actual"),e.expected&&t.push("expected"),e.diff&&t.push("diff"),e.actual&&e.expected&&t.push("overlay"),e.actual&&e.expected&&t.push("side-by-side"),t})(e);return null===r.value&&(t=t.filter((e=>"expected"!==e&&"overlay"!==e&&"side-by-side"!==e))),null===i.value&&(t=t.filter((e=>"actual"!==e&&"overlay"!==e&&"side-by-side"!==e))),null===a.value&&(t=t.filter((e=>"diff"!==e))),t})),l=O(s.value[0]);z((()=>{!1===n.value&&(l.value=s.value[0])}));const c=D((()=>0===s.value.length||(!(!e.actual||null!==i.value)||(!(!e.expected||null!==r.value)||!(!e.diff||null!==a.value))))),u=D((()=>{const e="undefined"==typeof window?1:window.devicePixelRatio;return{expected:{width:(r.value?.naturalWidth??0)/e,height:(r.value?.naturalHeight??0)/e},actual:{width:(i.value?.naturalWidth??0)/e,height:(i.value?.naturalHeight??0)/e},diff:{width:(a.value?.naturalWidth??0)/e,height:(a.value?.naturalHeight??0)/e}}}));return S((()=>{const t=new AbortController;return n.value=!0,Promise.all([gb(e.expected),gb(e.actual),gb(e.diff)]).then((([e,o,s])=>{t.signal.aborted||F((()=>{r.value=e,i.value=o,a.value=s,n.value=!1}))})),()=>{t.abort()}}),[e,n,r,i,a]),{data:e,diffModes:s,isLoading:n,failedToLoad:c,containerDimensions:o,imageDimensions:u,images:{expected:r,actual:i,diff:a},diffMode:l}},vb=k(null),bb=()=>{const e=M(vb);if(!e)throw new Error("ImageDiffContext must be used within a ImageDiffContextProvider");return e},yb=e=>{const{children:t,diff:n}=e,r=mb(n);return yi(vb.Provider,{value:r,children:t})},_b=k((()=>{})),wb=()=>{},xb=e=>{const{children:t,i18n:n}=e;return yi(_b.Provider,{value:n??wb,children:t})},kb=()=>M(_b),Cb={diff:"Diff",actual:"Actual",expected:"Expected","side-by-side":"Side by side",overlay:"Overlay"},Ab=()=>{const{diffModes:e,diffMode:t}=bb(),n=kb();return yi("div",{className:ab,children:yi(mv,{children:yi(vv,{children:yi(P,{each:e,children:e=>yi(bv,{tabId:e,isCurrentTab:t.value===e,onClick:()=>t.value=e,children:n?.(`mode.${e}`)??Cb[e]},e)})})})})};var Sb,Eb,Mb,Rb,Tb,Lb,Db,Ob,Fb,zb,Pb,Nb,jb,Ib,Bb,Wb,$b,qb,Hb,Ub,Vb,Yb,Gb,Xb,Jb,Zb;function Kb(){if(Eb)return Sb;return Eb=1,Sb=function(e,t){for(var n=-1,r=null==e?0:e.length,i=Array(r);++n<r;)i[n]=t(e[n],n,e);return i},Sb}function Qb(){if(Rb)return Mb;Rb=1;var e=Array.isArray;return Mb=e}function ey(){if(Lb)return Tb;Lb=1;var e=Zv(),t=Kb(),n=Qb(),r=eb(),i=e?e.prototype:void 0,a=i?i.toString:void 0;return Tb=function e(i){if("string"==typeof i)return i;if(n(i))return t(i,e)+"";if(r(i))return a?a.call(i):"";var o=i+"";return"0"==o&&1/i==-1/0?"-0":o},Tb}function ty(){if(Ob)return Db;Ob=1;var e=ey();return Db=function(t){return null==t?"":e(t)}}function ny(){if(zb)return Fb;return zb=1,Fb=function(e,t,n){var r=-1,i=e.length;t<0&&(t=-t>i?0:i+t),(n=n>i?i:n)<0&&(n+=i),i=t>n?0:n-t>>>0,t>>>=0;for(var a=Array(i);++r<i;)a[r]=e[r+t];return a},Fb}function ry(){if(Nb)return Pb;Nb=1;var e=ny();return Pb=function(t,n,r){var i=t.length;return r=void 0===r?i:r,!n&&r>=i?t:e(t,n,r)},Pb}function iy(){if(Ib)return jb;Ib=1;var e=RegExp("[\\u200d\\ud800-\\udfff\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff\\ufe0e\\ufe0f]");return jb=function(t){return e.test(t)}}function ay(){if(Ub)return Hb;Ub=1;var e=Wb?Bb:(Wb=1,Bb=function(e){return e.split("")}),t=iy(),n=function(){if(qb)return $b;qb=1;var e="\\ud800-\\udfff",t="["+e+"]",n="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",r="\\ud83c[\\udffb-\\udfff]",i="[^"+e+"]",a="(?:\\ud83c[\\udde6-\\uddff]){2}",o="[\\ud800-\\udbff][\\udc00-\\udfff]",s="(?:"+n+"|"+r+")?",l="[\\ufe0e\\ufe0f]?",c=l+s+"(?:\\u200d(?:"+[i,a,o].join("|")+")"+l+s+")*",u="(?:"+[i+n+"?",n,a,o,t].join("|")+")",d=RegExp(r+"(?="+r+")|"+u+c,"g");return $b=function(e){return e.match(d)||[]}}();return Hb=function(r){return t(r)?n(r):e(r)}}function oy(){if(Xb)return Gb;Xb=1;var e=function(){if(Yb)return Vb;Yb=1;var e=ry(),t=iy(),n=ay(),r=ty();return Vb=function(i){return function(a){a=r(a);var o=t(a)?n(a):void 0,s=o?o[0]:a.charAt(0),l=o?e(o,1).join(""):a.slice(1);return s[i]()+l}}}()("toUpperCase");return Gb=e}var sy=I(function(){if(Zb)return Jb;Zb=1;var e=ty(),t=oy();return Jb=function(n){return t(e(n).toLowerCase())}}()),ly={tag:"styles_tag__1nIw-",neutral:"styles_neutral__-92BW",secondary:"styles_secondary__hAj22",successful:"styles_successful__72b7G",failed:"styles_failed__XLSBR",warning:"styles_warning__fx-w0","neutral-light":"styles_neutral-light__JtTuD","successful-light":"styles_successful-light__WpXqF","failed-light":"styles_failed-light__TrGuK","warning-light":"styles_warning-light__GFi3S"};const cy=({className:e,skin:t,children:n,"data-testid":r})=>yi(Ci,{className:ae(ly.tag,e,t&&ly[t]),bold:!0,size:"s",type:"ui","data-testid":r,children:n}),uy=e=>{const{className:t,...n}=e;return yi("img",{className:ae(t,lb),...n,draggable:!1})},dy=e=>{const{diff:t,actual:n,expected:r,containerSize:i}=e;return Math.min(...[t,n,r,i].filter((e=>e>0)))},fy=e=>{const{options:t,current:n,onChange:r}=e,i=kb();return yi(Gm,{size:"s",menuTrigger:({isOpened:e,onClick:t})=>yi(Li,{style:"ghost",size:"s",text:i(`image.${n}`)??sy(n),isExpanded:e,onClick:t}),children:yi(Gm.Section,{children:t.filter((e=>e!==n)).map((e=>yi(Gm.Item,{onClick:()=>r(e),children:i(`image.${e}`)??sy(e)},e)))})})},hy=e=>{const{sizes:t,children:n}=e;return yi("div",{className:ub,children:[n,yi(cy,{skin:"secondary",children:`${t.width} × ${t.height}`})]})},py=()=>{const{images:e,imageDimensions:t,containerDimensions:n}=bb(),r=D((()=>dy({diff:t.value.diff.width,actual:t.value.actual.width,expected:t.value.expected.width,containerSize:n.value.width})));return yi("div",{className:sb,children:yi("div",{className:cb,children:[yi(hy,{sizes:{height:e.diff.value?.naturalHeight??0,width:e.diff.value?.naturalWidth??0}}),yi(uy,{src:e.diff.value?.src,width:r.value})]})})},gy=()=>{const{images:e,imageDimensions:t,containerDimensions:n}=bb(),r=D((()=>dy({diff:t.value.diff.width,actual:t.value.actual.width,expected:t.value.expected.width,containerSize:n.value.width})));return yi("div",{className:sb,children:yi("div",{className:cb,children:[yi(hy,{sizes:{height:e.actual.value?.naturalHeight??0,width:e.actual.value?.naturalWidth??0}}),yi(uy,{src:e.actual.value?.src,width:r.value})]})})},my=()=>{const{images:e,imageDimensions:t,containerDimensions:n}=bb(),r=D((()=>dy({diff:t.value.diff.width,actual:t.value.actual.width,expected:t.value.expected.width,containerSize:n.value.width})));return yi("div",{className:sb,children:yi("div",{className:cb,children:[yi(hy,{sizes:{height:e.expected.value?.naturalHeight??0,width:e.expected.value?.naturalWidth??0}}),yi(uy,{src:e.expected.value?.src,width:r.value})]})})},vy=()=>{const{images:e,imageDimensions:t,containerDimensions:n}=bb(),r=e.expected.value,i=e.actual.value,a=D((()=>dy({diff:t.value.diff.width,actual:t.value.actual.width,expected:t.value.expected.width,containerSize:n.value.width}))),o=O(a.value/2),s=C(null),l=O(!1),c=D((()=>{const e=o.value;return e<0?0:e>a.value?a.value-3:o.value})),u=e=>{const t=s.current?.getBoundingClientRect();t&&(o.value=e-t.left)},d=()=>{l.value=!1},f=D((()=>{const e=a.value/t.value.actual.width,n=a.value/t.value.expected.width;return Math.max(t.value.actual.height*e,t.value.expected.height*n)}));return yi("div",{className:sb,children:[yi(hy,{sizes:{width:r?.naturalWidth??0,height:r?.naturalHeight??0}}),yi("div",{ref:s,className:db,style:{width:a.value,height:f.value},children:[yi("div",{className:cb,children:yi(uy,{src:r?.src,width:a.value})}),yi("div",{className:cb,style:{maxWidth:c.value},children:yi(uy,{src:i?.src,width:a.value})}),yi("div",{className:fb,style:{transform:`translateX(${c.value}px)`,height:f.value},onPointerDown:e=>{e.preventDefault(),l.value=!0,e.currentTarget.setPointerCapture(e.pointerId),u(e.clientX)},onPointerMove:e=>{l.value&&u(e.clientX)},onPointerUp:d,onPointerCancel:d,onLostPointerCapture:d,"data-dragging":l.value||void 0})]})]})},by=()=>{const{images:e,imageDimensions:t,containerDimensions:n}=bb(),r=O("actual"),i=O("expected"),a=D((()=>["actual","expected","diff"])),o=D((()=>["actual","expected","diff"])),s=D((()=>"diff"===r.value?[{width:e.diff.value?.naturalWidth??0,height:e.diff.value?.naturalHeight??0},e.diff.value?.src]:"actual"===r.value?[{width:e.actual.value?.naturalWidth??0,height:e.actual.value?.naturalHeight??0},e.actual.value?.src]:[{width:e.expected.value?.naturalWidth??0,height:e.expected.value?.naturalHeight??0},e.expected.value?.src])),l=D((()=>"diff"===i.value?[{width:e.diff.value?.naturalWidth??0,height:e.diff.value?.naturalHeight??0},e.diff.value?.src]:"actual"===i.value?[{width:e.actual.value?.naturalWidth??0,height:e.actual.value?.naturalHeight??0},e.actual.value?.src]:[{width:e.expected.value?.naturalWidth??0,height:e.expected.value?.naturalHeight??0},e.expected.value?.src])),c=D((()=>dy({diff:t.value.diff.width,actual:t.value.actual.width,expected:t.value.expected.width,containerSize:n.value.width}))),u=D((()=>2*c.value+24>n.value.width?n.value.width/2-24:c.value)),d=u.value>320,[f,h]=s.value,[p,g]=l.value;return yi("div",{className:sb,"data-row":d||void 0,children:[yi("div",{className:cb,children:[yi(hy,{sizes:f,children:yi(fy,{options:a.value,current:r.value,onChange:e=>{r.value=e}})}),yi(uy,{src:h,width:d?u.value:n.value.width})]}),yi("div",{className:cb,children:[yi(hy,{sizes:p,children:yi(fy,{options:o.value,current:i.value,onChange:e=>{i.value=e}})}),yi(uy,{src:g,width:d?u.value:n.value.width})]})]})},yy=()=>{const{diffMode:e}=bb();switch(e.value){case"diff":return yi(py,{});case"actual":return yi(gy,{});case"expected":return yi(my,{});case"side-by-side":return yi(by,{});case"overlay":return yi(vy,{})}},_y=()=>{const e=kb(),{isLoading:t,failedToLoad:n}=bb();return t.value?yi(ki,{size:"m"}):n.value?yi(iv,{title:e("empty.failed-to-load")??"Failed to load",icon:wi.lineImagesImage}):yi(y,{children:[yi(Ab,{}),yi(yy,{})]})},wy=e=>{const{i18n:t,diff:n}=e;return yi(xb,{i18n:t,children:yi(pb,{children:yi(yb,{diff:n,children:yi(_y,{})})})})},xy=(e,t)=>Array.from({length:t},((t,n)=>e[n]??"")),ky=({attachment:e,item:t})=>{const n=e&&"text"in e?e.text??"":"",r=R((()=>((e,t)=>{const n=t?.split(";")[0].trim().toLowerCase();return((e,t)=>{if(0===e.length)return[];const n=[];let r=[],i="",a=!1,o=!1;const s=()=>{r.push(i),i=""},l=()=>{s(),n.push(r),r=[],o=!1};for(let n=0;n<e.length;n++){const c=e[n];a?'"'===c?'"'===e[n+1]?(i+='"',n++):a=!1:i+=c:'"'===c&&0===i.length?(a=!0,o=!0):c===t?(s(),o=!0):"\n"===c||"\r"===c?("\r"===c&&"\n"===e[n+1]&&n++,(o||i.length>0||r.length>0)&&l()):(i+=c,o=!0)}return(o||i.length>0||r.length>0)&&l(),n})(e,"text/tab-separated-values"===n?"\t":",")})(n,t.link.contentType)),[n,t.link.contentType]);if(0===r.length)return yi(iv,{description:"No table data",size:"xs",fullHeight:!1});const i=Math.max(...r.map((e=>e.length))),[a,...o]=r,s=xy(a,i);return yi("div",{className:av["test-result-attachment-table-wrapper"],"data-testid":"table-attachment-content",children:yi("table",{className:av["test-result-attachment-table"],children:[yi("thead",{children:yi("tr",{children:s.map(((e,t)=>yi("th",{scope:"col",children:e},t)))})}),yi("tbody",{children:o.map(((e,t)=>yi("tr",{children:xy(e,i).map(((e,t)=>yi("td",{children:e},t)))},t)))})]})})},Cy=({attachment:e,item:t})=>e&&"src"in e?yi("video",{"data-testid":"video-attachment-content",class:av["test-result-attachment-video"],controls:!0,loop:!0,muted:!0,children:yi("source",{src:e.src,type:t.link.contentType})}):yi(ki,{}),Ay="allure:html-preview:resize",Sy=["default-src 'none'","base-uri 'none'","form-action 'none'","object-src 'none'","frame-src 'none'","child-src 'none'","worker-src 'none'","connect-src 'none'","img-src data: blob: https:","media-src data: blob: https:","font-src data: https:","style-src 'unsafe-inline' https:","script-src 'unsafe-inline' 'unsafe-eval' https:"].join("; "),Ey=(e,t,n)=>{const r=e.createElement(t);return r.textContent=n,r},My=(e,t)=>{const n=e.createElement("meta");return Object.entries(t).forEach((([e,t])=>n.setAttribute(e,t))),n},Ry=(e,t,n)=>{const r=(new DOMParser).parseFromString(e.replace(/^/,""),"text/html");return r.querySelectorAll("base, meta[http-equiv]").forEach((e=>e.remove())),r.head.prepend(My(r,{charset:"utf-8"}),My(r,{"http-equiv":"Content-Security-Policy",content:Sy}),My(r,{name:"referrer",content:"no-referrer"})),n&&r.head.append(Ey(r,"style",":root,html,body{background:#1c1c1e !important;color:#e5e5e7 !important;}body *{border-color:rgba(255,255,255,0.12) !important;}")),r.body.append(Ey(r,"script",(e=>`\n(() => {\n const type = ${JSON.stringify(Ay)};\n const token = ${JSON.stringify(e)};\n let scheduled = false;\n const measure = () => {\n const body = document.body;\n const root = document.documentElement;\n const heights = [body?.scrollHeight ?? 0, body?.offsetHeight ?? 0, root.scrollHeight, root.offsetHeight];\n return Math.min(Math.ceil(Math.max(...heights)), 10000);\n };\n const send = () => {\n scheduled = false;\n parent.postMessage({ type, token, height: measure() }, "*");\n };\n const schedule = () => {\n if (!scheduled) {\n scheduled = true;\n requestAnimationFrame(send);\n }\n };\n window.addEventListener("load", schedule);\n document.addEventListener("DOMContentLoaded", schedule);\n if ("ResizeObserver" in window) {\n const observer = new ResizeObserver(schedule);\n observer.observe(document.documentElement);\n if (document.body) {\n observer.observe(document.body);\n }\n }\n setTimeout(schedule, 0);\n setTimeout(schedule, 500);\n})();\n`)(t))),`<!DOCTYPE html>${r.documentElement.outerHTML}`},Ty=({attachment:e})=>{const t=C(null),n=R((()=>Math.random().toString(36).slice(2)),[]),[r,i]=A(0),a=e.text??"",o=R((()=>a.length>0?Ry(a,n,(()=>{const e="undefined"!=typeof document?document.documentElement.getAttribute("data-theme"):null;return"dark"===e||"light"!==e&&"undefined"!=typeof window&&(window.matchMedia?.("(prefers-color-scheme: dark)").matches??!1)})()):""),[a,n]);return S((()=>{const e=e=>{const r=e.data,a=e.source===t.current?.contentWindow&&r?.type===Ay&&r.token===n,o=Number(r?.height);a&&Number.isFinite(o)&&o>0&&i(o)};return window.addEventListener("message",e),()=>window.removeEventListener("message",e)}),[n]),o?yi("div",{className:av["html-attachment-preview"],"data-testid":"html-attachment-preview",children:yi("iframe",{ref:t,title:"HTML attachment",srcDoc:o,width:"100%",height:r||void 0,frameBorder:"0",referrerPolicy:"no-referrer",sandbox:"allow-scripts"})}):null},Ly="__ALLURE_REDACTED__",Dy="text/plain",Oy="*****",Fy="Value is masked",zy=e=>"object"==typeof e&&null!==e&&!Array.isArray(e),Py=e=>null==e?"":String(e),Ny=e=>{const t="number"==typeof e?e:"string"==typeof e&&e.trim()?Number(e):NaN;return Number.isFinite(t)?t:void 0},jy=e=>e.split(";")[0].trim().toLowerCase(),Iy=e=>{const t=jy(e);return"application/json"===t||"text/json"===t||t.endsWith("+json")},By=(e,t)=>{const n=t.toLowerCase();return e.find((e=>e.name.toLowerCase()===n))?.value??""},Wy=e=>e.replaceAll(Ly,Oy),$y=(e,t)=>Array.isArray(e)?e.map(t).filter((e=>null!==e)):[],qy=e=>{if(!zy(e))return null;const t=Py(e.name).trim(),n=Py(e.value);return t||n?{name:t,value:n,masked:n===Ly}:null},Hy=e=>$y(e,qy),Uy=e=>{if(!zy(e))return null;const t=qy(e);return t?{...t,domain:Py(e.domain).trim(),expires:Py(e.expires).trim(),httpOnly:!0===e.httpOnly,maxAge:Ny(e.maxAge),path:Py(e.path).trim(),sameSite:Py(e.sameSite).trim(),secure:!0===e.secure}:null},Vy=e=>$y(e,Uy),Yy=e=>zy(e)?{type:Py(e.type).trim(),complete:"boolean"==typeof e.complete?String(e.complete):"",chunkCount:Ny(e.chunkCount)}:null,Gy=e=>{if(!zy(e))return null;const t=Hy(e.headers),n=void 0!==e.value&&null!==e.value;return{name:Py(e.name).trim(),fileName:Py(e.fileName).trim(),headers:t,contentType:Py(e.contentType).trim()||By(t,"content-type"),encoding:Py(e.encoding).trim().toLowerCase()||"utf8",value:n?String(e.value):"",hasValue:n,size:Ny(e.size),truncated:!0===e.truncated}},Xy=e=>$y(e,Gy),Jy=(e,t="")=>{if(!zy(e))return null;const n=void 0!==e.value&&null!==e.value;return{contentType:Py(e.contentType).trim()||t,encoding:Py(e.encoding).trim().toLowerCase()||"utf8",value:n?String(e.value):"",hasValue:n,size:Ny(e.size),truncated:!0===e.truncated,form:Hy(e.form),parts:Xy(e.parts),stream:Yy(e.stream)}},Zy=e=>{if(!zy(e))return null;const t=Hy(e.headers);return{method:Py(e.method).trim().toUpperCase()||"GET",url:Py(e.url).trim(),httpVersion:Py(e.httpVersion).trim(),headers:t,cookies:Vy(e.cookies),query:Hy(e.query),body:Jy(e.body,By(t,"content-type")),trailers:Hy(e.trailers)}},Ky=e=>zy(e)?{status:Py(e.status).trim(),reason:Py(e.statusText).trim(),headers:Hy(e.headers)}:null,Qy=e=>$y(e,Ky),e_=e=>{if(!zy(e))return null;const t=Hy(e.headers);return{status:Py(e.status).trim(),reason:Py(e.statusText).trim(),httpVersion:Py(e.httpVersion).trim(),headers:t,cookies:Vy(e.cookies),body:Jy(e.body,By(t,"content-type")),trailers:Hy(e.trailers),informationalResponses:Qy(e.informationalResponses)}},t_=e=>{if(!zy(e))return null;const t=Py(e.name).trim(),n=Py(e.message).trim(),r=Py(e.stack).trim();return t||n||r?{name:t,message:n,stack:r}:null},n_=()=>yi("span",{"aria-label":Fy,className:av["http-attachment__masked-value"],"data-http-masked-value":"true",title:Fy,children:Oy}),r_=({pair:e})=>e.masked?yi(n_,{}):yi(y,{children:Wy(e.value)}),i_=({columns:e})=>yi("thead",{children:yi("tr",{children:e.map(((e,t)=>yi("th",{children:e},`${e}-${t}`)))})}),a_=({children:e,count:t,defaultOpen:n,title:r,variant:i="metadata"})=>yi("details",{className:`${av["http-attachment__group"]} ${av[`http-attachment__group--${i}`]}`,"data-http-group":r.toLowerCase().replace(/\s+/g,"-"),open:n,children:[yi("summary",{className:av["http-attachment__group-summary"],children:yi("span",{className:av["http-attachment__group-title"],children:[r,"number"==typeof t?` (${t})`:""]})}),yi("div",{className:av["http-attachment__group-content"],children:e})]}),o_=({pairs:e})=>yi("table",{className:av["http-attachment__table"],children:[yi(i_,{columns:["Name","Value"]}),yi("tbody",{children:e.map(((e,t)=>yi("tr",{children:[yi("td",{className:av["http-attachment__pair-name"],children:e.name}),yi("td",{className:av["http-attachment__pair-value"],children:yi(r_,{pair:e})})]},`${e.name}-${t}`)))})]}),s_=({defaultOpen:e,pairs:t,title:n})=>t.length?yi(a_,{count:t.length,defaultOpen:e,title:n,children:yi(o_,{pairs:t})}):null,l_=e=>[e.domain&&`Domain=${e.domain}`,e.path&&`Path=${e.path}`,e.expires&&`Expires=${e.expires}`,"number"==typeof e.maxAge&&`Max-Age=${e.maxAge}`,e.sameSite&&`SameSite=${e.sameSite}`,e.secure&&"Secure",e.httpOnly&&"HttpOnly"].filter((e=>Boolean(e))).join("; "),c_=({cookies:e,defaultOpen:t,title:n})=>e.length?yi(a_,{count:e.length,defaultOpen:t,title:n,children:yi("table",{className:av["http-attachment__table"],children:[yi(i_,{columns:["Name","Value","Attributes"]}),yi("tbody",{children:e.map(((e,t)=>yi("tr",{children:[yi("td",{className:av["http-attachment__pair-name"],children:e.name}),yi("td",{className:av["http-attachment__pair-value"],children:yi(r_,{pair:e})}),yi("td",{className:av["http-attachment__cookie-attrs"],children:l_(e)})]},`${e.name}-${t}`)))})]})}):null,u_=({name:e,value:t})=>t?yi("div",{className:av["http-attachment__meta-row"],children:[yi("div",{className:av["http-attachment__label"],children:e}),yi("div",{className:av["http-attachment__value"],children:t})]}):null,d_=e=>void 0!==e&&""!==e,f_=(e,t)=>[e,t].filter(d_).join(" "),h_=e=>e.find((([,e])=>e>0))?.[0]??null,p_=({defaultOpen:e,responses:t})=>t.length?yi(a_,{count:t.length,defaultOpen:e,title:"Informational responses",children:yi("table",{className:av["http-attachment__table"],children:[yi(i_,{columns:["Status","Headers"]}),yi("tbody",{children:t.map((({headers:e,reason:t,status:n},r)=>yi("tr",{children:[yi("td",{className:av["http-attachment__pair-name"],children:f_(n,t)}),yi("td",{className:av["http-attachment__pair-value"],children:e.map(((e,t)=>yi("span",{children:[t>0?"; ":null,e.name,": ",yi(r_,{pair:e})]},`${e.name}-${t}`)))})]},`${n}-${r}`)))})]})}):null,g_=({values:e})=>e.length?yi("div",{className:av["http-attachment__meta-chips"],children:e.map((e=>yi("span",{className:av["http-attachment__meta-chip"],children:e},e)))}):null,m_=e=>[e.contentType||"body","utf8"!==e.encoding&&e.encoding,"number"==typeof e.size&&`${e.size} bytes`,e.truncated&&"truncated"].filter((e=>Boolean(e))),v_=e=>{const t=jy(e||Dy);return Iy(t)?"json":(e=>{const t=jy(e);return"text/html"===t||"application/xhtml+xml"===t})(t)?"html":t.split("/").pop()?.replace(/[^a-z0-9_-]/gi,"-")||"text"},b_=e=>{const t=jy(e||Dy);return t.startsWith("image/")?"image":t.startsWith("video/")?"video":t.startsWith("text/")||"application/json"===t||"application/xml"===t||t.endsWith("+json")?"text":"binary"},y_=({body:e,beautify:t})=>{const n=b_(e.contentType);if("image"===n||"video"===n){const t="base64"===e.encoding?(e=>`data:${e.contentType||"application/octet-stream"};base64,${e.value.replace(/\s/g,"")}`)(e):(e=>`data:${e.contentType||Dy};charset=utf-8,${encodeURIComponent(e.value)}`)(e);return"image"===n?yi("div",{"data-testid":"image-attachment-content",className:av["test-result-attachment-image"],children:yi("img",{alt:"HTTP body",src:t})}):yi("video",{"data-testid":"video-attachment-content",className:av["test-result-attachment-video"],"aria-label":"HTTP body video",controls:!0,loop:!0,muted:!0,children:yi("source",{src:t,type:e.contentType})})}if("base64"===e.encoding)return yi("div",{className:av["http-attachment__body-message"],children:["No inline view for ",e.contentType||"this content type","."]});if("text"===n){const n=v_(e.contentType),r=t&&Iy(e.contentType)?(e=>{try{return JSON.stringify(JSON.parse(e),null,2)}catch{return e}})(e.value):e.value;return yi("pre",{"data-testid":"code-attachment-content",className:`language-${n} line-numbers`,children:yi("code",{children:Wy(r)})})}return yi("div",{className:av["http-attachment__body-message"],children:["No inline view for ",e.contentType||"this content type","."]})},__=e=>[e.contentType,"utf8"!==e.encoding&&e.encoding,"number"==typeof e.size&&`${e.size} bytes`,e.truncated&&"truncated"].filter((e=>Boolean(e))),w_=e=>[e.name,e.fileName].filter(Boolean).join(" | ")||"unnamed",x_=({headers:e})=>e.length?yi("div",{className:av["http-attachment__part-section"],"data-http-part-headers":"true",children:[yi("div",{className:av["http-attachment__part-section-title"],children:"Headers"}),yi("div",{className:av["http-attachment__part-header-list"],children:e.map(((e,t)=>yi("div",{className:av["http-attachment__part-header-row"],children:[yi("span",{className:av["http-attachment__part-header-name"],children:e.name}),yi("span",{className:av["http-attachment__part-header-value"],children:yi(r_,{pair:e})})]},`${e.name}-${t}`)))})]}):null,k_=({defaultOpen:e,parts:t})=>t.length?yi(a_,{count:t.length,defaultOpen:e,title:"Parts",variant:"body",children:yi("div",{className:av["http-attachment__part-list"],children:t.map(((e,t)=>yi("div",{className:av["http-attachment__part-card"],"data-http-part":"true",children:[yi("div",{className:av["http-attachment__part-card-header"],children:[yi("div",{className:av["http-attachment__part-title"],children:w_(e)}),yi(g_,{values:__(e)})]}),yi(x_,{headers:e.headers}),e.hasValue?yi("pre",{className:av["http-attachment__part-value"],children:e.value===Ly?yi(n_,{}):Wy(e.value)}):null]},`${e.name}-${e.fileName}-${t}`)))})}):null,C_=({defaultOpen:e,stream:t})=>{if(!t)return null;const n=(e=>[e.type&&{name:"type",value:e.type,masked:!1},e.complete&&{name:"complete",value:e.complete,masked:!1},"number"==typeof e.chunkCount&&{name:"chunkCount",value:String(e.chunkCount),masked:!1}].filter(Boolean))(t);return yi(a_,{count:n.length||void 0,defaultOpen:e||!n.length,title:"Stream",variant:"body",children:n.length?yi(o_,{pairs:n}):yi("div",{className:av["http-attachment__body-message"],children:"Stream metadata captured."})})},A_=({body:e,beautify:t})=>e.form.length?yi(a_,{count:e.form.length,defaultOpen:!0,title:"Form",variant:"body",children:yi(o_,{pairs:e.form})}):e.parts.length?yi(k_,{defaultOpen:!0,parts:e.parts}):e.stream?yi(y,{children:[yi(C_,{defaultOpen:!0,stream:e.stream}),e.hasValue?yi(y_,{body:e,beautify:t}):null]}):yi(y_,{body:e,beautify:t}),S_=({body:e})=>{const[t,n]=A(!1);if(!e)return null;const r=Boolean(e.form.length||e.parts.length||e.stream),i=(e=>e.hasValue&&"base64"!==e.encoding&&"text"===b_(e.contentType))(e),a=i&&Iy(e.contentType),o=i;return yi("div",{className:av["http-attachment__body"],children:[yi("div",{className:av["http-attachment__body-toolbar"],children:[yi("div",{className:av["http-attachment__body-heading"],children:[yi("h4",{className:av["http-attachment__body-title"],children:"Body"}),yi(g_,{values:m_(e)})]}),(o||a)&&yi("div",{className:av["http-attachment__body-actions"],children:[a&&yi("button",{className:av["http-attachment__body-action"],onClick:()=>n((e=>!e)),type:"button",children:t?"Original":"Pretty"}),o&&yi("button",{className:av["http-attachment__body-action"],onClick:()=>To(e.value),type:"button",children:"Copy"})]})]}),yi("div",{className:`${av["http-attachment__body-content"]} ${r?av["http-attachment__body-content--structured"]:""}`,children:e.hasValue||r?yi(A_,{body:e,beautify:t}):yi("div",{className:av["http-attachment__body-message"],children:"No body captured."})})]})},E_=({method:e,url:t})=>yi(y,{children:[yi("span",{className:av["http-attachment__method"],"data-http-method":"true",children:e}),yi("span",{className:av["http-attachment__url"],children:t})]}),M_=({durationMs:e,response:t})=>{const n=f_(t.status,t.reason);return yi(y,{children:[n?yi("span",{className:av["http-attachment__status"],children:n}):null,e?yi("span",{className:av["http-attachment__duration"],children:e}):null]})},R_=({children:e,title:t})=>yi("div",{className:av["http-attachment__panel-header"],children:[yi("div",{className:av["http-attachment__panel-title"],children:t}),e?yi("div",{className:av["http-attachment__panel-line"],children:e}):null]}),T_=({request:e})=>{const t=Boolean(e.body)?null:h_([["query",e.query.length],["headers",e.headers.length],["cookies",e.cookies.length],["trailers",e.trailers.length]]),n=Boolean(e.query.length||e.headers.length||e.cookies.length||e.trailers.length);return(e=>Boolean(e.httpVersion||e.query.length||e.headers.length||e.cookies.length||e.trailers.length||e.body))(e)?yi("section",{className:av["http-attachment__panel"],"data-http-panel":"request",children:[yi(R_,{title:"Request",children:e.httpVersion?yi("span",{className:av["http-attachment__version"],children:e.httpVersion}):null}),yi(S_,{body:e.body}),n?yi("div",{className:av["http-attachment__groups"],children:[yi(s_,{defaultOpen:"query"===t,pairs:e.query,title:"Query"}),yi(s_,{defaultOpen:"headers"===t,pairs:e.headers,title:"Headers"}),yi(c_,{defaultOpen:"cookies"===t,cookies:e.cookies,title:"Cookies"}),yi(s_,{defaultOpen:"trailers"===t,pairs:e.trailers,title:"Trailers"})]}):null]}):null},L_=({durationMs:e,response:t})=>{if(!t)return yi("section",{className:av["http-attachment__panel"],"data-http-panel":"response",children:[yi(R_,{title:"Response"}),yi("div",{className:av["http-attachment__empty"],children:"No response captured."})]});if(!(e=>Boolean(e.status||e.reason||e.httpVersion||e.headers.length||e.cookies.length||e.trailers.length||e.informationalResponses.length||e.body))(t))return null;const n=Boolean(t.body)?null:h_([["informational",t.informationalResponses.length],["headers",t.headers.length],["cookies",t.cookies.length],["trailers",t.trailers.length]]),r=Boolean(t.informationalResponses.length||t.headers.length||t.cookies.length||t.trailers.length);return yi("section",{className:av["http-attachment__panel"],"data-http-panel":"response",children:[yi(R_,{title:"Response",children:[yi(M_,{durationMs:e,response:t}),t.httpVersion?yi("span",{className:av["http-attachment__version"],children:t.httpVersion}):null]}),yi(S_,{body:t.body}),r?yi("div",{className:av["http-attachment__groups"],children:[yi(p_,{defaultOpen:"informational"===n,responses:t.informationalResponses}),yi(s_,{defaultOpen:"headers"===n,pairs:t.headers,title:"Headers"}),yi(c_,{defaultOpen:"cookies"===n,cookies:t.cookies,title:"Cookies"}),yi(s_,{defaultOpen:"trailers"===n,pairs:t.trailers,title:"Trailers"})]}):null]})},D_=({error:e})=>e?yi("section",{className:`${av["http-attachment__panel"]} ${av["http-attachment__panel--error"]}`,"data-http-panel":"error",children:[yi(R_,{title:"Error"}),yi("div",{className:av["http-attachment__meta"],children:[yi(u_,{name:"Name",value:e.name}),yi(u_,{name:"Message",value:e.message})]}),e.stack?yi(a_,{defaultOpen:!0,title:"Stack",children:yi("div",{className:av["http-attachment__body-content"],children:yi("pre",{"data-testid":"code-attachment-content",className:"language-text line-numbers",children:yi("code",{children:e.stack})})})}):null]}):null,O_=({durationMs:e,request:t,response:n})=>{const r=n?f_(n.status,n.reason):"";return yi("div",{className:av["http-attachment__summary"],children:[yi(E_,{method:t.method,url:t.url}),r||e?yi("span",{className:av["http-attachment__exchange-arrow"],children:"→"}):null,r?yi("span",{className:av["http-attachment__status"],children:r}):null,e?yi("span",{className:av["http-attachment__duration"],children:e}):null]})},F_=({attachment:e})=>{const t=(e=>{if(!zy(e))return{request:null,response:null,error:null,durationMs:""};const t=Ny(e.start),n=Ny(e.stop),r=void 0!==t&&void 0!==n&&n>=t?n-t+" ms":"";return{request:Zy(e.request),response:e_(e.response),error:t_(e.error),durationMs:r}})(e&&"http"in e?e.http:null);return t.request?yi("div",{className:av["http-attachment"],"data-testid":"http-attachment-content",children:[yi(O_,{request:t.request,response:t.response,durationMs:t.durationMs}),yi(T_,{request:t.request}),yi(L_,{response:t.response,durationMs:t.durationMs}),yi(D_,{error:t.error})]}):yi("div",{className:av["http-attachment"],"data-testid":"http-attachment-content",children:yi("div",{className:av["http-attachment__empty"],children:"Invalid HTTP Exchange attachment: request is missing."})})},z_={};function P_(e,t){"string"!=typeof t&&(t=P_.defaultChars);const n=function(e){let t=z_[e];if(t)return t;t=z_[e]=[];for(let e=0;e<128;e++){const n=String.fromCharCode(e);t.push(n)}for(let n=0;n<e.length;n++){const r=e.charCodeAt(n);t[r]="%"+("0"+r.toString(16).toUpperCase()).slice(-2)}return t}(t);return e.replace(/(%[a-f0-9]{2})+/gi,(function(e){let t="";for(let r=0,i=e.length;r<i;r+=3){const a=parseInt(e.slice(r+1,r+3),16);if(a<128)t+=n[a];else{if(192==(224&a)&&r+3<i){const n=parseInt(e.slice(r+4,r+6),16);if(128==(192&n)){const e=a<<6&1984|63&n;t+=e<128?"��":String.fromCharCode(e),r+=3;continue}}if(224==(240&a)&&r+6<i){const n=parseInt(e.slice(r+4,r+6),16),i=parseInt(e.slice(r+7,r+9),16);if(128==(192&n)&&128==(192&i)){const e=a<<12&61440|n<<6&4032|63&i;t+=e<2048||e>=55296&&e<=57343?"���":String.fromCharCode(e),r+=6;continue}}if(240==(248&a)&&r+9<i){const n=parseInt(e.slice(r+4,r+6),16),i=parseInt(e.slice(r+7,r+9),16),o=parseInt(e.slice(r+10,r+12),16);if(128==(192&n)&&128==(192&i)&&128==(192&o)){let e=a<<18&1835008|n<<12&258048|i<<6&4032|63&o;e<65536||e>1114111?t+="����":(e-=65536,t+=String.fromCharCode(55296+(e>>10),56320+(1023&e))),r+=9;continue}}t+="�"}}return t}))}P_.defaultChars=";/?:@&=+$,#",P_.componentChars="";const N_={};function j_(e,t,n){"string"!=typeof t&&(n=t,t=j_.defaultChars),void 0===n&&(n=!0);const r=function(e){let t=N_[e];if(t)return t;t=N_[e]=[];for(let e=0;e<128;e++){const n=String.fromCharCode(e);/^[0-9a-z]$/i.test(n)?t.push(n):t.push("%"+("0"+e.toString(16).toUpperCase()).slice(-2))}for(let n=0;n<e.length;n++)t[e.charCodeAt(n)]=e[n];return t}(t);let i="";for(let t=0,a=e.length;t<a;t++){const o=e.charCodeAt(t);if(n&&37===o&&t+2<a&&/^[0-9a-f]{2}$/i.test(e.slice(t+1,t+3)))i+=e.slice(t,t+3),t+=2;else if(o<128)i+=r[o];else if(o>=55296&&o<=57343){if(o>=55296&&o<=56319&&t+1<a){const n=e.charCodeAt(t+1);if(n>=56320&&n<=57343){i+=encodeURIComponent(e[t]+e[t+1]),t++;continue}}i+="%EF%BF%BD"}else i+=encodeURIComponent(e[t])}return i}function I_(e){let t="";return t+=e.protocol||"",t+=e.slashes?"//":"",t+=e.auth?e.auth+"@":"",e.hostname&&-1!==e.hostname.indexOf(":")?t+="["+e.hostname+"]":t+=e.hostname||"",t+=e.port?":"+e.port:"",t+=e.pathname||"",t+=e.search||"",t+=e.hash||"",t}function B_(){this.protocol=null,this.slashes=null,this.auth=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.pathname=null}j_.defaultChars=";/?:@&=+$,-_.!~*'()#",j_.componentChars="-_.!~*'()";const W_=/^([a-z0-9.+-]+:)/i,$_=/:[0-9]*$/,q_=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,H_=["{","}","|","\\","^","`"].concat(["<",">",'"',"`"," ","\r","\n","\t"]),U_=["'"].concat(H_),V_=["%","/","?",";","#"].concat(U_),Y_=["/","?","#"],G_=/^[+a-z0-9A-Z_-]{0,63}$/,X_=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,J_={javascript:!0,"javascript:":!0},Z_={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0};function K_(e,t){if(e&&e instanceof B_)return e;const n=new B_;return n.parse(e,t),n}B_.prototype.parse=function(e,t){let n,r,i,a=e;if(a=a.trim(),!t&&1===e.split("#").length){const e=q_.exec(a);if(e)return this.pathname=e[1],e[2]&&(this.search=e[2]),this}let o=W_.exec(a);if(o&&(o=o[0],n=o.toLowerCase(),this.protocol=o,a=a.substr(o.length)),(t||o||a.match(/^\/\/[^@\/]+@[^@\/]+/))&&(i="//"===a.substr(0,2),!i||o&&J_[o]||(a=a.substr(2),this.slashes=!0)),!J_[o]&&(i||o&&!Z_[o])){let e,t,n=-1;for(let e=0;e<Y_.length;e++)r=a.indexOf(Y_[e]),-1!==r&&(-1===n||r<n)&&(n=r);t=-1===n?a.lastIndexOf("@"):a.lastIndexOf("@",n),-1!==t&&(e=a.slice(0,t),a=a.slice(t+1),this.auth=e),n=-1;for(let e=0;e<V_.length;e++)r=a.indexOf(V_[e]),-1!==r&&(-1===n||r<n)&&(n=r);-1===n&&(n=a.length),":"===a[n-1]&&n--;const i=a.slice(0,n);a=a.slice(n),this.parseHost(i),this.hostname=this.hostname||"";const o="["===this.hostname[0]&&"]"===this.hostname[this.hostname.length-1];if(!o){const e=this.hostname.split(/\./);for(let t=0,n=e.length;t<n;t++){const n=e[t];if(n&&!n.match(G_)){let r="";for(let e=0,t=n.length;e<t;e++)n.charCodeAt(e)>127?r+="x":r+=n[e];if(!r.match(G_)){const r=e.slice(0,t),i=e.slice(t+1),o=n.match(X_);o&&(r.push(o[1]),i.unshift(o[2])),i.length&&(a=i.join(".")+a),this.hostname=r.join(".");break}}}}this.hostname.length>255&&(this.hostname=""),o&&(this.hostname=this.hostname.substr(1,this.hostname.length-2))}const s=a.indexOf("#");-1!==s&&(this.hash=a.substr(s),a=a.slice(0,s));const l=a.indexOf("?");return-1!==l&&(this.search=a.substr(l),a=a.slice(0,l)),a&&(this.pathname=a),Z_[n]&&this.hostname&&!this.pathname&&(this.pathname=""),this},B_.prototype.parseHost=function(e){let t=$_.exec(e);t&&(t=t[0],":"!==t&&(this.port=t.substr(1)),e=e.substr(0,e.length-t.length)),e&&(this.hostname=e)};var Q_=Object.freeze({__proto__:null,decode:P_,encode:j_,format:I_,parse:K_});const ew=/[\0-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,tw=/[\0-\x1F\x7F-\x9F]/,nw=/[!-#%-\*,-\/:;\?@\[-\]_\{\}\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061D-\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u09FD\u0A76\u0AF0\u0C77\u0C84\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B4E\u1B4F\u1B5A-\u1B60\u1B7D-\u1B7F\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E4F\u2E52-\u2E5D\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]|\uD800[\uDD00-\uDD02\uDF9F\uDFD0]|\uD801\uDD6F|\uD802[\uDC57\uDD1F\uDD3F\uDE50-\uDE58\uDE7F\uDEF0-\uDEF6\uDF39-\uDF3F\uDF99-\uDF9C]|\uD803[\uDD6E\uDEAD\uDED0\uDF55-\uDF59\uDF86-\uDF89]|\uD804[\uDC47-\uDC4D\uDCBB\uDCBC\uDCBE-\uDCC1\uDD40-\uDD43\uDD74\uDD75\uDDC5-\uDDC8\uDDCD\uDDDB\uDDDD-\uDDDF\uDE38-\uDE3D\uDEA9\uDFD4\uDFD5\uDFD7\uDFD8]|\uD805[\uDC4B-\uDC4F\uDC5A\uDC5B\uDC5D\uDCC6\uDDC1-\uDDD7\uDE41-\uDE43\uDE60-\uDE6C\uDEB9\uDF3C-\uDF3E]|\uD806[\uDC3B\uDD44-\uDD46\uDDE2\uDE3F-\uDE46\uDE9A-\uDE9C\uDE9E-\uDEA2\uDF00-\uDF09\uDFE1]|\uD807[\uDC41-\uDC45\uDC70\uDC71\uDEF7\uDEF8\uDF43-\uDF4F\uDFFF]|\uD809[\uDC70-\uDC74]|\uD80B[\uDFF1\uDFF2]|\uD81A[\uDE6E\uDE6F\uDEF5\uDF37-\uDF3B\uDF44]|\uD81B[\uDD6D-\uDD6F\uDE97-\uDE9A\uDFE2]|\uD82F\uDC9F|\uD836[\uDE87-\uDE8B]|\uD839\uDDFF|\uD83A[\uDD5E\uDD5F]/,rw=/[\$\+<->\^`\|~\xA2-\xA6\xA8\xA9\xAC\xAE-\xB1\xB4\xB8\xD7\xF7\u02C2-\u02C5\u02D2-\u02DF\u02E5-\u02EB\u02ED\u02EF-\u02FF\u0375\u0384\u0385\u03F6\u0482\u058D-\u058F\u0606-\u0608\u060B\u060E\u060F\u06DE\u06E9\u06FD\u06FE\u07F6\u07FE\u07FF\u0888\u09F2\u09F3\u09FA\u09FB\u0AF1\u0B70\u0BF3-\u0BFA\u0C7F\u0D4F\u0D79\u0E3F\u0F01-\u0F03\u0F13\u0F15-\u0F17\u0F1A-\u0F1F\u0F34\u0F36\u0F38\u0FBE-\u0FC5\u0FC7-\u0FCC\u0FCE\u0FCF\u0FD5-\u0FD8\u109E\u109F\u1390-\u1399\u166D\u17DB\u1940\u19DE-\u19FF\u1B61-\u1B6A\u1B74-\u1B7C\u1FBD\u1FBF-\u1FC1\u1FCD-\u1FCF\u1FDD-\u1FDF\u1FED-\u1FEF\u1FFD\u1FFE\u2044\u2052\u207A-\u207C\u208A-\u208C\u20A0-\u20C1\u2100\u2101\u2103-\u2106\u2108\u2109\u2114\u2116-\u2118\u211E-\u2123\u2125\u2127\u2129\u212E\u213A\u213B\u2140-\u2144\u214A-\u214D\u214F\u218A\u218B\u2190-\u2307\u230C-\u2328\u232B-\u2429\u2440-\u244A\u249C-\u24E9\u2500-\u2767\u2794-\u27C4\u27C7-\u27E5\u27F0-\u2982\u2999-\u29D7\u29DC-\u29FB\u29FE-\u2B73\u2B76-\u2BFF\u2CE5-\u2CEA\u2E50\u2E51\u2E80-\u2E99\u2E9B-\u2EF3\u2F00-\u2FD5\u2FF0-\u2FFF\u3004\u3012\u3013\u3020\u3036\u3037\u303E\u303F\u309B\u309C\u3190\u3191\u3196-\u319F\u31C0-\u31E5\u31EF\u3200-\u321E\u322A-\u3247\u3250\u3260-\u327F\u328A-\u32B0\u32C0-\u33FF\u4DC0-\u4DFF\uA490-\uA4C6\uA700-\uA716\uA720\uA721\uA789\uA78A\uA828-\uA82B\uA836-\uA839\uAA77-\uAA79\uAB5B\uAB6A\uAB6B\uFB29\uFBB2-\uFBD2\uFD40-\uFD4F\uFD90\uFD91\uFDC8-\uFDCF\uFDFC-\uFDFF\uFE62\uFE64-\uFE66\uFE69\uFF04\uFF0B\uFF1C-\uFF1E\uFF3E\uFF40\uFF5C\uFF5E\uFFE0-\uFFE6\uFFE8-\uFFEE\uFFFC\uFFFD]|\uD800[\uDD37-\uDD3F\uDD79-\uDD89\uDD8C-\uDD8E\uDD90-\uDD9C\uDDA0\uDDD0-\uDDFC]|\uD802[\uDC77\uDC78\uDEC8]|\uD803[\uDD8E\uDD8F\uDED1-\uDED8]|\uD805\uDF3F|\uD807[\uDFD5-\uDFF1]|\uD81A[\uDF3C-\uDF3F\uDF45]|\uD82F\uDC9C|\uD833[\uDC00-\uDCEF\uDCFA-\uDCFC\uDD00-\uDEB3\uDEBA-\uDED0\uDEE0-\uDEF0\uDF50-\uDFC3]|\uD834[\uDC00-\uDCF5\uDD00-\uDD26\uDD29-\uDD64\uDD6A-\uDD6C\uDD83\uDD84\uDD8C-\uDDA9\uDDAE-\uDDEA\uDE00-\uDE41\uDE45\uDF00-\uDF56]|\uD835[\uDEC1\uDEDB\uDEFB\uDF15\uDF35\uDF4F\uDF6F\uDF89\uDFA9\uDFC3]|\uD836[\uDC00-\uDDFF\uDE37-\uDE3A\uDE6D-\uDE74\uDE76-\uDE83\uDE85\uDE86]|\uD838[\uDD4F\uDEFF]|\uD83B[\uDCAC\uDCB0\uDD2E\uDEF0\uDEF1]|\uD83C[\uDC00-\uDC2B\uDC30-\uDC93\uDCA0-\uDCAE\uDCB1-\uDCBF\uDCC1-\uDCCF\uDCD1-\uDCF5\uDD0D-\uDDAD\uDDE6-\uDE02\uDE10-\uDE3B\uDE40-\uDE48\uDE50\uDE51\uDE60-\uDE65\uDF00-\uDFFF]|\uD83D[\uDC00-\uDED8\uDEDC-\uDEEC\uDEF0-\uDEFC\uDF00-\uDFD9\uDFE0-\uDFEB\uDFF0]|\uD83E[\uDC00-\uDC0B\uDC10-\uDC47\uDC50-\uDC59\uDC60-\uDC87\uDC90-\uDCAD\uDCB0-\uDCBB\uDCC0\uDCC1\uDCD0-\uDCD8\uDD00-\uDE57\uDE60-\uDE6D\uDE70-\uDE7C\uDE80-\uDE8A\uDE8E-\uDEC6\uDEC8\uDECD-\uDEDC\uDEDF-\uDEEA\uDEEF-\uDEF8\uDF00-\uDF92\uDF94-\uDFEF\uDFFA]/,iw=/[ \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/;var aw=Object.freeze({__proto__:null,Any:ew,Cc:tw,Cf:/[\xAD\u0600-\u0605\u061C\u06DD\u070F\u0890\u0891\u08E2\u180E\u200B-\u200F\u202A-\u202E\u2060-\u2064\u2066-\u206F\uFEFF\uFFF9-\uFFFB]|\uD804[\uDCBD\uDCCD]|\uD80D[\uDC30-\uDC3F]|\uD82F[\uDCA0-\uDCA3]|\uD834[\uDD73-\uDD7A]|\uDB40[\uDC01\uDC20-\uDC7F]/,P:nw,S:rw,Z:iw});const ow=[8364,0,8218,402,8222,8230,8224,8225,710,8240,352,8249,338,0,381,0,0,8216,8217,8220,8221,8226,8211,8212,732,8482,353,8250,339,0,382,376];function sw(e){return e-1>>>0<127||e-160>>>0<55136?String.fromCharCode(e):String.fromCodePoint(function(e){return function(e){return 0===e||e>=55296&&e<=57343||e>1114111}(e)?65533:e>=128&&e<=159&&ow[e-128]||e}(e))}const lw=(()=>{const e=new Uint8Array(127);let t=0;for(let n=33;n<=126;n++)34!==n&&36!==n&&92!==n&&(e[n]=t++);return e})();function cw(e,t,n,r,i,a){const o=e.length,s=90*a;let l=0;const c=()=>{const t=lw[e.charCodeAt(l++)];return t<a?t:91*t-s+lw[e.charCodeAt(l++)]},u=n-r,d=n+i,f=new Int32Array(d);f.fill(-1,r,a),f.fill(-1,a+u,d);const h=new Int32Array(d),p=new Int32Array(d);function g(t,n){let r=0,i=n;const a=n+t;for(;i<a;){const t=lw[e.charCodeAt(l++)];if(t<89)r+=t,f[i++]=r;else if(89===t){let t=lw[e.charCodeAt(l++)]+2;for(;t--;)f[i++]=++r}else{const t=lw[e.charCodeAt(l++)];r+=89+(t<90?91*t+lw[e.charCodeAt(l++)]:8281*lw[e.charCodeAt(l++)]+91*lw[e.charCodeAt(l++)]+lw[e.charCodeAt(l++)]),f[i++]=r}}}g(r,0),g(u,a);const m=new Int32Array(2*i);let v=0,b=0;function y(e,t){for(let n=0;n<e;n++){const e=t+n,r=c(),i=c();m[2*b]=r,m[2*b+1]=i,b+=1,h[e]=v;const a=(f[r]<0?p[r]:1)+(f[i]<0?p[i]:1);p[e]=a,v+=a}}y(i-a+r,a+u),y(a-r,r);const _=new Uint16Array(v);let w=0;for(let e=0;e<b;e++)for(let t=0;t<2;t++){const n=m[2*e+t],r=f[n];if(r<0){let e=h[n];const t=e+p[n];for(;e<t;)_[w++]=_[e++]}else _[w++]=r}const x=new Uint16Array(t);let k=0;for(;l<o;){let t=lw[e.charCodeAt(l++)];t>=a&&(t=91*t-s+lw[e.charCodeAt(l++)]);const n=f[t];if(n<0){let e=h[t];const n=e+p[t];for(;e<n;)x[k++]=_[e++]}else x[k++]=n}return x}const uw=cw("!}.&u%}'&}*'~!6*)%&,~!J~!J~%L~y<~!R,~~%Lu~~#GD~~#|)1#%}^%}2%+#.##%##%}&%##%'#%##&%#%#'%#&#%#&#'#%%#&#%##%#)%''%&%#%#'%#%%#%%}%%%#%#&(23#%%#&-%0%('1#(##%#'##+%'*.:1}#%#6-+(%'%%#%%%}#L'2351&('%}&/N'(0(/*-%(%%}#'+&T%7.2}#&%&#%#36/5##%&%%#&#%%#))2%%##%&&'0~!#*+&'%1~!%).'3q?&%'1~!.##%6(~!+%%%(Gw'rT~!E#<nA%#jZ~!H%(~!42##~!*31&~!G%U~#)5~#`3~!J~!Z~%]~%Y~%C~!q~!u~#kz~%#~!6'~!D~!U~!?~#T~!c%~!G#'~%7|~!G~!J~!G&~#pb~(Df}#%}*&}#%##%##%##&#-}&'#'&%#.++}%mI,#,@&(}*%}*'%&##&#%##%}&0}#.},U},%}+%}&%}#%##&}B%(}(%}+%)})%##%#&}&%##%&}<%}>%#%&}*%}(%}9%}/%})%}*%}*%}?&}&%}3%}&*#%})%#%#)}#&#-#+*%E%%'%'#%}#*V##&##I}#&&##%&%#&&Qf%%))w/0+&%#(#.%-''''++++7}>%4'',##1,#%#&%##&#'##&#*#9)%&%}#*}%,#+P(%A&%#'&##wSD',9E00#y#@}(+}&%&>~!#~!X}#*}(&&}(&}(,%}%&#+&}#&}I%#%}%)#(},'%#*}4%%#%}(''}#/##(##),%-##%%)#&}(.}&%#&}%%}*&#%},&&}&%}#%*'#%})%}D&}&%}-&}6&#&}-,%}#%})-(~+`~,=?~I9'9%~!,#%})%})%}@%}?%}(~!?~#<~#pP~#BG~#=1#%K+~#?#~%;)~#A~#mF1~#A'~'X%'~#lR~#N~'N~#r~#m#-~#i'?%#'%~#B%##%,%#~#_%#0%~#]732~,w~2+#:&#%&'0%&>%}#>##F+)#%&&#(+_}4&}-%}(&}@&}O7Fdf0@+/v4}&WU##&/0#&'('B#%}.%}'+#%}#%%&#&%#%##+#&#)#6#'#.},%}c%},%#%##%&#&%#&~#>'*-.%##%##%}#%%}%'~#)D1}#%*&~#_%%'(~#S2%'.}#~#=##*'*-%}&'%'##&&~'E%.#&~#M4}%%##&'%#~#O1##%&#'+~#<B%##%%'%+~#;#@%}#&%#&&%#(~#H1}'%'##&&~#?A}&'~#D#%32}'&&&&~#[}'(#%}'~#;C})&}%%#%~#=&%,3}%'(#%%~#^'#&&)#%'~#Y%-~#d-%'~#^%%&#&&&}#~#b~2t*&'~&(~&@~0%~e~3}%*''0})&}+~!9##-}#%-hD*)1fC#%/&/fB#40~!+#)*4~!+~!K'&:~!/*7~!.#~!H~!L':~%x&~!H#~!*~%1~!I#~!+A~#p'~!F~~#-#~,,(~.Z~!V~%;'B'mq-W~!N~%I%#&&#&}#%},%%}'%}+X#%}#&}(%}'%}<%}#%}%%'}'%}:~![)9@~%>~#UA%-%##&~!C%~!-.9:~!1~!-^2/:a~!y,D*J#-5)/4~%23,~#G~!L1~!0X3`~!2+~!!0-~&E~!W~!o,>Y&]~%cZx_&~#O*9#A#'#+I'%#)~!0B*-5A+-((F&*M#)(-7-5+'-3a5Vi~!Y~!?+[)%3),ERHm~!+:D,VG.+)?fB%%*(%)'(#&80%1'8`K8?`+'Z#&O&'H5#*9)A%%5&3))0%39+.*7#()&&*=4@**L)<'_&*+..;(#*+)./&0#3)%')-8(4ixD(&.}%,('aI:,)%,k2231T)I'#/-W7,/'Q#.'Y24+h')37</31&83##&0#),H(?'&?/1##%#&&#%''-%&&&#(&''&#.-'%#%%(,')*'&#&#'##%(%(#%('#&##%%%%('%#%#%%#%#&%##h>w+v<ayvyvcg.uuhKr}g/v|g>u9i[~>g5uI~=RvdwEg;v/g;uk!!TTSx]@RT!U!#!@VBRUU!'UTe-d0c`e&gSdicedFcrdTaqb.kYcAohdYd@a3e+d}dMdtd.aJ#bqcK`dle/e.e'dwdPdodddjbEb}ogd^ofdpduc6j?l%d{drdqc)d7bacOdQ%T#Y)X.sR[yH>6Vyv3[xwLu>vo'!*.[yBacahoj>6Rew3[xqdZa#!a&#^(X-[yG>6Vyu3[xvg3sEr|g.u/Ri9db0T#^(Xa)!-[y;>6Vylg4wKs{JwNZt3@3r=c4Z([xlg;wKt!cpq's@v7A'*a(a+!-a#[y<3Dt?3Dt'>6Vym3[xmg9rxsNJwLZt4~?r?db1T#`-!(Xa,!0[yS>6Vz%NuQs.g4wKtnJwNZtS@3r>c4Z([y%g;wKtrdga8!a(!#&T*Y-Xa#!a0<or[yc3Dtq>6Vz43[y3JwNZtf@3s!Ju}!%Dti:pm3c_%X#tjB5pkd6q!r]u?voC'*-a.a2!0a&a+[yI3DtI3Ds~3DtH>6Vyw3[xx;:s#~<5pKJwNZtE@3r~d`a)!a2T#a.(!+U.X1[yT3Dt`3Dtv>6Vz&3[y&g9rxwzcxstPu.<rAJwLZtT~?r@dZa%!a.&^*Za(/Reu[ya>6Vz23[y1g3sEr}wkg{NuQRg{ci(U#5@b`~,cg#U(2WnH5wugcRh7dX#T(Y,a'Ta!!a,[yZ<]mj>6Vz,3[y+Pv#5ReZKu+=,%!H}7ABwkaS?Rh:BcW(X#<]mrj:ubv/ARekdg%!(!a.*Ta(Y.X1!#sP>Rl*Dt6[y>>6Vyo3Wf*jOvuumvuRgRJuq*!:9<B@bX~3jVv&v@s@5Re[d/rQt{uAvo&a&a*)a2!,0Wf!3Dt0=Bs'>6Re}3[xy~<5s%JwJZt1~Gs)c;&!#2sJkNuXvzq7rxu,Re8dka4!a8(aEZ+a@Y.X1Xa)[yd=Bs(3DtP>6Vz53[y4cX#X&Re:avRe9~<5s&JwJZtQ~Gs*i^rzvdRg+Jv{%!2sbB@bX}kdga,!Za?&^*T1/!a'Dt+[y6>6Vyf3Wf%g/u;s4hGu6?Rh-JvZ,!c%#&RoX54Rivj7uyvf8RgTKvZB%*!2sGh<vu5Rgq<=C::9bb~#dZ#T&Ta6Y.X*Dt>[y93Wf)coZ(T,6VyifluvRgC@95@B@bX~/hFu34cC#T,k/unq8w8Q5RkUklwQuzunq8w8Q5Rk8d/rJu?v8w9)-&!a0a;a&aIWejg3sEr/h1s<DtDJvyZqY5aws3Jvy!&Wei~Hr1:au5@Bag>23E~5c:Z&bX};kKv?w&unuVu5Rjc;>bs)#~@:Rh.=ay<a]C;b`}Vd6s/t{uAvoaxa()!a,a7%-a#a2Dt,[yF2Wo[>6Vyt3[xuNuPRi&NuPwpi#RoWh?vf8Ri%Jv]!%Ri:KvxD!.'2WeAjZu`q9rxu,Re7woeAg-unLq(qA_/*2Wg_g3u5q^9:4E}/jTrxrzv=Wkkd~0UX#^^Xa-a1a5T&a=U1a'*aEa]!a*aPaA-adok[y54Rn>;:p3~Dp5g9rpsFNvZqjg3uJp4~<5p0Pw;5qlJwNZt*@3p1Pw:5p/Ou!5p2JvG'!6Vye=<qnJvh_[xhg3v,Rh3kOwOw-sDuev/Re^dha[a%!%!a+#Ta7)-5TaCaO!aka!a)sf[yb2>Rl!9ARiq5E}Qg=ucRkBE|oJrJ_@Wk~@Wk{JrJ_@Wk|@WkyJrJ_@Wk}@WkzJvO_[y2g-vMRmiKuYC!)&>Ri;>Ri<@3RkNc](X#@9Rk=g5vuRmhKvDB!+'=]meg3u4Rmgd)#Y'Vz3CARmfd`a+!%T'!+#Ta1Ta6TaM-sTDt9[yA9sYd'%Y#s[[xpj:ueunaXRgEjRq,v-vuqdd2'`#6Rev<32@5>:2<E}5xIo9a*X#Y(;5RePJvD_g>vyRgNj8w)v8<wggs:RgXiZt|vjx,hSq3ah!-(~@:Ro/Ou!5RhWj^v(pyw8unRhUdx-UY#^Ua.a3a70!)%UX1TaDa)'omRiRRhE[y:3Dsz=Br,>6Vyj3[xkg6ruwjcqsrPw;5r*Ku]D'Zt-@3r(~?r.i[vwv]dU1a--U#`a4(g/vsRhPOu!5RhLj:rmu9Wo!~@:wdh@g/vsRiTjXuvvNr}:RhBj^v(pyw8unRn]dz1UYa'a+^Y(!aETZalaRY.Ta?a4[yDJw1!#qLsW>6Vyrfzq-pLflpwRe|Js>%!Dt@3Dt&Jvy_[xs~HrnjMuwpsw'RecKu+D#'!t<~Grl~?rjg5u-x,gwp{ah!-(~@:Rg~Ou!5Rh'jXuvvNr}:Rh#cW#X/c;&!#2sLi[v7u7RgpJv)(!iLrxu,Re6j7v@s@5Se[e7d`aW!Za(a`T.a#!a3!&aDa-!9)Dt_=6s+3[x~~DR|h~DS6avhGun5RkZj3w)v-]mkKunB!&*]kb97R|i<ARk<c:Z(6Vy}Juh'!wziMRoS:F|vkLuauJv5vtvQRh1d='T+Y#VyO~DR|jcF#T'7R|g97R|kJv3'!ay<Rj,Jvh&!:ReXcsa6*a+#a#_aIRf9aLRf?c,Z&Rf5Rf7c.Z&Rf;Rf>cQ#%T'p-Rf8Rf=ct#%'(*!,p,Rf4p+Rf6Rf:Rf<d~'Ua%U*^UYa(!a,-!#a4YaTalaEX0a8a<Weo3Dt/3Dsx=Br93Wen~Dr;~<5p<JwNZt2@3p=Pw:5p;Ou!5r3c7&!#:p>3Ds}KvGB)_6Vyk2sM=<r7x'eovA(!hFu1ARf}cV#X&@r5j6rvwQa^Rf3c=Za'wkghJv__g;unRggA53B9=b^}%j6uduo5Jq;!(hIv%2Re`Ou4ARe_e%a#^^^Xa&!a*a2!&a6YaP!*ad!#a:aE/5Rn?[y@>6Vyp;:pE~DrY~<5pBJwNZt8@3pCh=rt3rWPw:5pAJup_[xoNuPpF9c!#'45pD5ARn)d8#X'X*3@rU72s]h>v<<sSjJpqvewOJq/(!hNw'5ReBk0s2u3w/w'5ReE5@Jq.!a+JQ!&WeU23d(#Y&RjG5]jBk!u7w&u0udARjEe#+^^^Ub#!a2/a`Z(agT1!a-a;|@TaG!aS[yV=Re~fow'RguNuPRe?bz#'>RoUWeL>:Cbb|?JwPZtVg6ruRmzJvD'!6Vz(g/vmRh~Jvy_[y(g9voRgyx*cy(#2>Ri2B9b]~9kIw9u7rluJu3Rg]dI#a%UY'@=p%CAx.gQZ&RhwwygtRm{x5g_Z'+ABqR9Woa=Bp&dV#^*Xa'!&@o{g4v]Rk;Jv{!%Rk[wkkiA5RkiwwfUB=x,fUuqC&*!>RfTg8v0RfV~ARfSd;rJsAuAv9wR'ae+/aO!a@aza/a#[yQ@Wg!2Wemg3sEr0JvB_g>uvReWg2v+Re=KupB_+[y!2AbY~-~Hr2AJwD!(h<~El>h<~El?Kun@+_:9b`}Kg-v/Ri3g;vtwyk_9]k_d=&T#*U.6qh@Ab`|K9:H|CJv[!&3Dtex'fDwC%!Rf[9WlMd[(^X,!a%Z06Vz!@WgBg=v~Rgvg,QRe@awd,#Y+jTv|Q~EfWj]uNr|~FRfXdy#Y&^Ua%!aO.!(a)Ua;=!a@aKap!a-,a!Ta]a[rSa]p?[y82sK=Bq~;:p:~<5p8Pw:5p7d'#Y'Wf(;RnRi[u4w&RgJJvG'!6Vyh=<r#ijuuv/sIKuYD'ZtG@3p9~Gr&d2#`(g<vtRgFj`u5w&rqpxRf2CJuY!+:wfnTOu!5Rg}jNs1ucv&RfwJvA!&3@q|BDcC#T,k/unq8w8Q5RkTklwQuzunq8w8Q5Rk9dga#!a'!a=#a0!:+Tb*b@aO.a4!aba8aFJv^}?!VyR~Dr<g;u%Rn.~<5p[x'e`wNZtR@3p]Pw:5pZhNvjBp.woe_g5u-r4JwF!%DtO3:ooc7&!#:p^3DtpLuGw(!+%)Dtk6Vz#2sd=<r8d'#Y([y#<x3gJt`w@!)%}MRiowzikRij=]ilxAf3,U(#B2Rf#g0v-Rm[ck{`U#]giKv3>)!&6Ri154s,KuGB_%@r68r:dJ|t`#X(9<E|u2@H|rx3gJu?w'!+'1Nu7Reg4=H~+9<wxgY95Rm]xLggZ-`(X}U2:Ri4h<uOawRmsJv__5@bb{jbV~3dka#a'a]!,#a+U=a>b6a3b%!/aKa/)!arwve^VyJ;:pR~DpTg3uJpS~<5pOPw;5qmPw:5pNOu!5pQJvG'!6Vyx=<qoJvA!{~Jup!%@qk7Rn/KvyD!}''[xz;>wkh'?Rh,x8gyt`w5D!&),(SgyccRgztJ@3pPB5p#d'(Y#<]mmifubw&RgoJvE&!82s^JvF&!8Rf,ADb]~;x=h'rNu]vK!,%'*0RnORh)4Rh*AqQg-vaRnNg;wHwkh'ba~4cE#Ta*x3gctyw@'!+%RnFRnD<4Rn@hFvK5RnCxWg[#`&a0Ua()`1Rm75Rg[c]%X#qi8Rg^NvdRj>BwzgZauwji7Rm6A4wgg]d1#&(*,.0a#Rm;Rm<Rm=Rm>Rm?Rm@RmARmBe%#^^^Xaea?aC/b+(,!a+a#!a/!>a&Ta<aKbD!2wphBRnk[yPw}hE|.=Br-3Dtm>6Vy~g6urRf.x,hPrNav!%'RnqRo%Ro#Nu;q[Pw;5r+JwNZtM@3r)d'#Y'Weh;xChL#`&RnmRnoKu}>%(!Rne~Bs-;2wjcussJv+'!aYSO}6@B<5?ba~8LrNvj!.%*ROwungw~ng~:9;Ri^>wtnig;wHRnixDh@|(UZ.x1h@|)!#:2<H|*xHn]#-UX'3Ro)z=iT}6ARns=Bwsn_wpnaRncw]aR(#UXa&Ua*a/=]iPd'#Y&Ro'WnXf{QRm2hNvj]nZd`'T~&1`{|`#9b]{}c:'!#Wl{>@=be}]?cl{{U#:5Abb}Jds#^YaF!a*b4a#a3aPa>&Tb!bH!*a_!Eau?/a&RjY<]gj>6Vz*;:pe~DrZg,QRj1JwNZtX@wihspcJvZ&!VyX9WmOJu|!|N2WmHJvh&!]ht~Bpbcn&T(!#RmQ<s7Nu;padH#X'`+WmJ@>RmKCARhnKup=!)&Wf+:RhqNuPpf9c!#'45pd5AwghpARn(Ls@w!%,)!RmP@Wfe<E|IJva!&WmNg8vsRmLd`*.`#Y'Xa!axRn*]hrA8Rhug5s@rXg8u!RmMd8#X'X*3@rV72smdI*#UY&RmICARho~GsgxVgd)Ta'U-Y&Xa!T#RnEWnA@Wffg1uDRi0hFvK5RnBxGnG&#`%owp)@wsf+bX}Ze-*1!a*^^^Ua|!#a.aq&Ya2!a>.a6!a:aO`aJDtL[y`@Wg#>6Vz12@wzoYRoZNuPRi!NuPRhzg=ucRi,@=b`{Yg=ucRi-ACJvB!&Sh[ebSh]ebi`wUuFRm4Jw2_[y0JvB!.<Ju(!&SoG}6Shd}6<Ju(!&SoH}6She}6Kur@._g5vHRieJvx!{L2G{Kx6gd'T#?Rh82Wi5cZ#X(g1w)Rm5dW-Y(Ta#!a)!#aYa=wnfE=su2>>bU{0j9udv:<svj8uQv-7RgHdE%#^'sq9sp=>Bb_{TJv`!&g/r|snj6v(us5d,#Y(56H}[978H}]Jw5!&g1rushJvB!+j;v{u5?zDhd}6}bj;v{u5?zDhe}6}ce*#`(^^^a[aea!=!a6a*aoXb1a.!aAbL!b>,b'aL!aV@Wf|2Wlg3[y/JwNZt^@3piPw:5pgJunZou3@rsJva&!Vy_g<v~Rm#JvG'!6Vz0=<r{Ju{%!:pj@WfsiXuJu3Rm:JvZ&!WfA~Bph@c4Z&Dtwax5rubx(#:awRk1@d,#Y&RfjRfid1#,Y(@Wfp2Wlrg5s@ryKu[@!,'=]ig9wlk?Rk>g5u-rqJvy'!@9RkQcH(T#=>Ri~@<wkj(Wj(KuZB*!&<7rw@9RkRcH(T#=>Ri}@<wkj)Wj)dg(Ta2Xa9X#`-!a*CARhg@@=I}d9x;c~#X%so=<sj>2@@=aybb}XjWv0Q~EfEj3vLv;<d,#Y(56H}`978H}_dgaPaFa'a/!#a3Y0a_a;a|!1(a7-[yE3[xt;:pJNvZrrg3uJrvJwNZt=@3pIh=rt3rxPw:5pGOu!5rpJvG'!6Vys=<rz@c4Z&Dt(ax5rtJvZ!&~BpH@wsfNg-vaRlNci*U#=<wei<F}a5@Jq.!a*JQ!%@qZ23d(#Y&RjH5]jCk!u7w&u0udARjFd/prq=tyvpaEa(a:.!a1aZ(@@=I}:9wpd%=<sX55w_h}@@=I{t=ay<aU@@=I}T=ay<2@@=I})?C9:9au@9Cb]}DP~=x-fAZ(2Wl1=ay<aU@@=I}>5@d##Y+jTv|vV~EfFj]uNpn~FRfGdgaK!Z2&!a8a-Tb({E!acTbM*!a(DtY[yYd'%Y#sl[y*hHvh>Re5x2c{Z}.j4uCvcawRiMd+#X+_x&d!},<5RkX;2Hzw@x,gavfB-!{CcF&T#Roe;RodwWbBg5urRgaKvHC*_6Vz+<4opieuew&Rmq@d]&Y)X,T#X0Rh}<BqP=4qS9:ReMg/ujReNJw0!/<Jui%!bd{kawwnemRelAxUa?a3#*.&UX(Ya+a/RhvRnQ<o}9Wmtd-#Y&RgSRmw9;Rmxay=Rmyg-vaRmuxEhSrNu,v-voC!%(aR.a(a7+1Ro1>Ro5CE{A9b]{@;5x#eO{:g;urRi+KrNA!%(Ro3>Ro79;Ri_Ku@>{;&!x%gX|{KunA_+g5QRj/g3u5Rj#g>uERj%wio/xRhS&!,!#^1U}wba{8>>@=be}qC@:D5ba{7Ku+A&!}x?ba}t>>@=be}se(aA^^^Uat!b0#{pa+awUazbGa#aLb9bgaWac'a5TbS=Br!d1#`%scp_Jvl!#rT>Re0JvX&!VyN=H{Fcm#U&:pY=ReaJv2&!]h0=]nUJvG'!6Vy|=<r%JrM_=]h2@Wlud'#)U'Wf'b]{i=]h/Jvh!&~BpWg=v]RnMx+ny#'Nu;pVwjnu=]nwxJnx,T#`&Reqwjnt=]nvieu9vrRjLLuYwP(#+!th@wih5pX~Gr'g5v/Rh4KunA'!-CARnP@wwiN:Rm_9x'cvw>!|l=<saKvAA!0&3@q}>w^e1bp#&Re2Re3BDx7gH#T|f5H|eKuZ>!%(:qNAH{]Jv6!+3B2B9=b^{X<5<B92:E{ZLvhwA(a;a%!igQuyRmad+#Y}m@3Rh5d8#X'X*:AqUAHzmaxwbh<aXRnVcF}RT#Nw&cj#U(BWnug/vsRntdka)(a3+.Zb7aYYan1!bVa@Xa}[y^@b[{G=H{+hFu73Rj&Pv#5ReQcK%T#sig1v{Rj'Ku+D#'!t]~Grm~?rkKuMB!01d5#`'Vy.ta3Dtu~Hroc8#'{^45s85AwZbP&!#Rn!wghxWn#KvEA!)&2RlA2RlBx:h|#(T,=]j09Wobz>x]z/@awRoTd+#Y(az]hFhCrm4d,#Y+jTv|Q~EfMj]uNr|~FRfOdCa!Xa9_X#@<plJvf!%b`{(9;Rgwc;.!#2x7cw#T|UDb]|T5Ju={(!=@E{&Jv)&!Ab`{'awJvf!~*>>@=be{#KuY>!+&4Ezyi[ugv&RjIdea+T)#UXa&T-T&a!Rh9auRmW=]kLg5vuRn+g3u4Rn-Ow6ARn,hHus5xNk?#UX(U~)/g8v0RkD~AwkkF?Ri.OuNBwkkA?Ri/d|a2`a*^UYa.!aBTZaTa'Xa;!(!2!-a#b2[yC>6Vyq3[xr2Wi?g1rusVh%s?DtF~<5rbJs;%!DtBfswKtCj[uvuSsEu3RgVx3o:u+wN'*Zt;@3rd~Grh~?rfg8w)Lq)qE&-a%!>bI|`jWv0vV~EfCjTv|vV~Ef@j]uNpn~FRfBcK#T']gWNu7x,k7q4ai(0!hHv8<RhmkMu9vrsBuev/RhlCJvB!,g<v{wchh~@:Rhji[vrv{wchi~@:RhkdS&a5UY#Ta!RgPwwiI5BwciI~@:Rh`x'iJvj'!5]iJPu8Bwch]~@:Rhach)U#h3rp]gLh@t|Ax,hTq3ah!-(~@:Ro0Ou!5RhXj^v(pyw8unRhVd|)`,^UYas!a?/a2Z'a^Ta{Tb7Ta(a#!a,Wf&9sZ3DtAadamov=Bqt3[xig8vsRm~>waiL2b`{QJv*_Ouv2qgj<v]v2BqfdR'X*X#Y-@3qr~Gqv~?p6hHv-]glPup5Lq+q?_%*b_{qF{n9b^{rOu4ARhpKvCD!+&~Bqp:5Dbb}nwoiKl&unuTuBv]v+ueunaXRf0=Jvh!0nKufu8v1w&w7q%w&uHrz:Rgnj5w,uxDJq/(!hNw'5ReCk0s2u3w/w'5ReFd>Za&!*UaA=<wkgsRnSJv^!%Refifw3vyRgOKu_B'!,<]gkiiu:w&Rh<=C@a^<B57@2F{[<B5@aW:=3away9A5aW=<B=C@a^<B57@2F{Ie-#`(^^^bCara.b8aza6!/bZ,!adTbnTbOb+aFaS!aAT9@Wf~2Wli3Dtl2@d,#Y&RfnRfmJwJZtN~GqyJva&!VyMg<v~Rm%iXuJu3Rm9Jv[_=]ih9wlkDRkCd1#`(@Wg>2Wls3cH#T(@<Rj*=>Ri|b~'#23s9h<~El.d'#Y&Dtxi^rzvdRl#d*#U%(o|B2s`hJwSaxRmDKv4B&!1:Rmdd5#`'Vx}to~Hq{x'f1v3(!BA5ba|bJv_&!Wfug1v]ReIdO+U/Y#&G}-8wze=Rh{g1v]ReHg/uQRf/by#)ibQwERl/cH#T(@<Rj+=>Ri{cNu+vlax-!(#a0qa9<Rii2;;bU{H;x<i=&X#Rk`<4wwi=C9H~8xAI(Y#<azRi@45wXI<B9;5bb~7dL(X#Xa(+!aL6Vy{g5QqOau:5au2@ay547EzbxOcU(UX-T#Ta#:Cbb|A?wjh/b_|SOw6ARgtihr}u7Rhy<d1#T)X1@@=I|~=ay<2@@=aybb}Sj3vLv;<d,#Y(56H}A978H}@dGpvs@uAu`vcw9*!aFa+ai%(b!aXa8.a?a[ozWey=sU2@G}Nch&U#Rf_WexKu+D#'!t:~Gr`~?r^j]uNr|~FRg*j^psurwJt|RmcKv)@&!)7Rkv~Br[@wxfO:Rl3co#U'6Rezj_q#vIuavjRltwzeyh@vr5JqD0!>aY?C9:9au@9Cb]}9cl#U*5;5<H||jbuus1ucv&Rfvg1v~d/pppzqFr^a--a~!aMat1(hFv;Wiz@@=Izoj5uuv-7Rix~Cw`fk2WlVcZ#X,k)u3vWs@u2]ktg;wEx'fBq(_2Wg/jTv|vV~EfoJv]!15x'hzqG!(P~EfU~CRl_j6v(us5x4i-#T(2WmZ?C2F|d>Kq<aj1!*jTqIsBv=Wl`~Cw`fi2WlWj`v0u*~>RlR=c>Z,k#u3vWs@u2]kr<c1Z+jTqIsBv=Wla~Cw`fm2WlXdmb3!a{(arZa`bkTa%TbQTa-a9+c'!aM!/[yL=Bqug.w'RifhFvyDRj.g>vgwyk^9]k^Jv3_@WfbAARkhJw2_[x|JvB_wkoIRoKwkoJRoLd'(Y#<]gm=<9<H|yd'%_X#skDtb3awwqkgNulRkgdB#^',9:p'hJwSaxRmEBwVb8@4=H|qLu+w50&!)@3qs~?pU>Awwn;;Rn=c:Z'ARn<=<qwKvC@!/&~BqqJv6!&]eVb^z^xRge'/a%+^`#Sge}6<4Rn3=]n0Pw2>Rn8Jw0!&>Rn:>Rn6cY#a7+!a&=<wkaNw~h3z_c5Z{=wjh#=]nLKv^D!&)Vyz=bW|swYb<WetcG#T(2wxa@qVx@gD#Y&b^|V5JwG&!5bb|pg/w&RgD@x=kHs=uAvn!a%%/'+RmSRh694Ro`g-vaRmRhHv-]mlxCcS#`&ba~.5cD#Ta)P~=d,#Y(56H{>978H{Dd_#{2^Y%_+qbbb{6g3sERhsbU{?dfa.,`a(Xa<!aiX#(55RiG54RiHcI#T'WiU3RiVNvdwtfcRlKNvdd,#Y&RlHRlExQgf.1*^T'X#Sgf}6Wn4=]hfPrk>Rn7Jw0!&>Rn5>Rn9Lunw?&a2!,5<oq@@wqfdRlJj5Q~=d,#Y(~ARfcOuN]fdDKw;ay(}i!547E}j?cI#T(@5bV}iCbV}hdv(^^Tb?a40,b##Tbo!a*bR!a<b|a/!aKai!aU[yK=]o^g:v>ReGJwPZtK<7Rh+h<~El,Pv#5ReR@awwxjCg,ulRjDJv6&!]j!z?aQeeg>w=Sh<eeJw;!&axEzOg,Qosc!#*:wkeJ]eJ>x'h-u(!%Ro.w~h.zPdNZ(X,Ya![x{;9ReY;wkgxRiF:x?ap#Y&RmUg<s2Rkod]+UY0TZ'!a&A9sw<=bczLNvuw{gqzNhJwSaxRmCKuLay!#&s_Rf-55b^{uJvZa!!c%#(55Ri654wmiu5RiuawLu,vp!+}^%b_}Y9;wkgxba}o>A9:=b^}zKuh=a''!3awRk3c*'!#aHRk6c+Z&Rk5Rk4Jv)&!awRjSawd9*`#0?C2@EzMj8u<uJ5RmbjQrquJu3x,k>uq@_+=ayb^|W~ARkEOuN]k@7dhzV^X/X&a-#zRzSb`zXcJzTT#2WkVKvDBzW!%FzY9;5bbzWjQrquJu3Jw3%!b`zU=ayb^zQd:#X(T-a!6Vyywxh}=b]{Jg=u1RiAdGp~qHtzv!w(wA+a+a;<!aJaYai'anasb(=azRmV:Cbb{MLq2vb!%')RjuRjrRjtRjqx3jnqCw3!%')Rk(Rk+Rk&Rk)Lq2vb!%')Rj{RjxRjzRjwLq2vb!%')RjsRjpRjfRjex3jcqCw3!%')Rk'Rk*RjkRjl9<CbbzfOu4ARhxLq2vb!%')RjyRjvRjhRjgx=joq*uKvb!%')+-Rk.Rk%Rj~Rk-Rk#Rj}x=jdq*uKvb!%')+-Rk,Rk!Rj|RjmRjjRjidAq&qKs@uAv8Aa.'*-a@a&0!aM@a5[y73Dsy3Ds|3Dt):wxgI2sHJwJZt.~Gqxwsf0ikrzt}Rl0Jvy_[xj~HqzKv_A|D!&WfP8axRoVcf,U#k(v]v+ueunaXRf1Ju}'!g8u#Ri=jQw!sCunLprq>!,')~<5qeGzq9F{W=c##%s5au:5aU3CBE|;d4#X(D!a&6Vygx(b;#(=]ed?C2F{N<capoq2r[a&!aPa9,'Pw;5s:@@=I|,55w_h|@@=IzcP~=x'fCqB_2Wl2>aU@@=I|1OuNBc1Z+jTqIsBv=Wlc~Cw`fl2WlZ~AcTa%!Z+jTqIsBv=Wlb~Cw`fh2WlYk+uNqJsBv=WlSg,u3dca3#UXaMYa)TaB-=cM|7T#<bI}l5@B932:aV2G{BOuNBJq:|M!5Ezt=<B=C@a^<B57@2F{v>cB{/T#=ay<bI{3Jv6!a.6BKq0ah&+!5E}HP~Ef{978BaU@@=Iza<7d#.Y#978BaU@@=IzH~AJq0!(@@=IzG978BaU@@=IzFe,aU*Y&^^^bvJb,b:bFad!a,c2Ta>aL.bo6!a#CbTa'T#Re{2Wlh2@G{yg6t~Ro_NvdRfticuRQRllJv3&!x&c|zs@Jw3!%RflwpfkRlpKuL;%(!Re<@G|C2GzdhIvuBwgjAg-u0RjAKQB%!(GzZ@G|5NuuRl7d='T+Y#Vy[g<v~Rm!==G|>JvA!)@wma=]m1ifuaw&RmnLs@vT'!|/+[y,g:v>ReTJw1!#qX=x!eC{bLu+wT&)ZtZauq_~Graci&U#F|89:r_Lupvq!.)&2RlG8RfaC=x!eF{_h?rpWlmd&'!#X|&]k::xJey#`'T|+<E|&2@H|%dE#(^,g;u.RiEg6vjRiC9xCkA{O|zY#g=ucRmXKs0@!&*@G|m@awRknJuh!,3d(}gY}eJvj!%Rm):Jw3!%Rm+Rm-Ls0w(&!a(a#@b[|6cZ#X'7RkxWgAOu4ARn'dH'U#Y*Vz-Wm'CARm}d]*#a%^a*T'aK!a<9bV{PC=p*Jw4!&SgxcbB5r]idw(wBRmF7xFkt#&`(Rm/Rm8E|!JuY_9:Rl5=wrgr2:bbxd@xXfB(a*#T+!.X0X1Ta/a'T&RlDRfL>RlyARl9b[z[>RfZ:RlL:RfRwlg/ARl;9;RlxKv,A/!%7s69<74=BA5ba{-8Bde#`a<XaKYa1,a'P~=wxfB2bZ}}?C972@@=I}r8@55B9;5bb}G978B2@@=aybb}3j3vLv;<Jw3&!>Rfk=ayb^}4~Ad1#`*@@=aybb{w2@>==<bbz]dx+UY#^UaF!a9!bB'Ya1.!ajXa#%olRhD[y=3Dt#Ov5BrHKuMB%!(Rf^Wep~HrJwkiQjKr|~FRg)Ku+D#'!t5~GrF~?rDdV)UY,Z/_7RkuG{<~BrBg,rlsO:235B@bX}|d?a1!#`(6Vyn5@d##Y+jTv|vV~EfIj]uNpn~FRfH7Lq2vb1!a9-978BaU@@=Iz9978BbU}#~AJq0!(@@=Iz8978BaU@@=Iz7~AJQ|}!978BbU}!JvkaK!AdUa21-U#`a+(g/vsRn~Ou!5RPj:rmu9WhOjXuvvNr}:RhAj^v(pyw8unRn[kPr}p|u7vwv]RiSBd;pppzq@qHQa?(b.!a.a`@.|xa(hFv;Wiyj5uuv-7Riw~Cw`fg2WlU978BbU|wOuNBJqG!(P~EfD~CRlQcZ#X,k)u3vWs@u2]ksg;wEx'f@q1_2Wg.j]uNpn~FRfqJv]!15x'h{qG!(@@=IzK~CRl^j6v(us5x4i,#T(2WmY?C2F{1>Kq<aj1!*jTqIsBv=Wld~Cw`fj2Wl[j`v0u*~>RlT=c>Z,k#u3vWs@u2]kq<c1Z+jTqIsBv=Wle~Cw`fn2Wl]dn1#c(a(b^a2!b/bAT(bj!aDa7bu,a_a{c0!2T0g:v>ReD2@G{42@G{5~DpM~<5rc=Bx6i>{RT#RnI@zCx]y]z:2Jv[!zr5Awyk]9]k]dD(Y+X#6Vz.g=wKtgwhaCwgmTWj2Lu,w%_+/[y-B;b^xeg3u3Rj-2@bX{*KrJ<!+'@Wg(g?QRlC@Jv`!%b[zIwsfII}8JQ_@w|kW|=Jv(%!AqcOuNBJvEzh!bYzjLs@wP#(0!oy@>RkdJwMZtc3Dtd@BcG#T'9bWxg2@2Fznd*#Y+;2x'c}w<zizixNgwa#Z'U+!/!a'!a+w~g~z6wcn{Rn}wcnzRn|5Rh%=]nJg5vuRmvNvdRlvcprJu}w*az*a#!%.a.'Bot9qT]kj@Wg'ay2Gzv@Jv`!%b[zEwsfHI}1;ck#Ux`<Cbbx_Lu+w!a&0*!wko*wwo,So,}6Juqxf!E}PigQuyRm`d3(`#8>Rn%:A5B;bZ~%KvhCa!a2!x>k7#Uxb@b{#xaRk7Jw0!)>wwhlShl}6>wwhmShm}6CJvB!.x'hhvj{!!5Bwkhhbaz}x'hivjz~!5Bwkhibaz|xEhTrNu,v-vpD!a%&/)a3a.,%Ro2t[CE{)@3re9b]{%wjo09:rgc:Z&Ro6=<riifuaw&RmoKrNA!%(Ro4>Ro89;Ri`dSaL'UYzxZb)7Rka3xRhT&!,!#^1U}vbaz{>>@=be}yC@:D5bazzKu+A&!}{?ba}y>>@=be}wxBh[t`u~vJvr!%a!a()a,a0a4RoC=]o;Ju(!%RoGRhdwjh`=]oAg>w#Ro?g5vuRo=NvdRl|Ku]C.!&;RoEJvB!%RoORoMBx'h[v+_?w~h`}~5?w~hd~!xKh]oiptu-utv.vp!#%&a30a@a'a+(a/aOp(o~p!RoDJu(!%RoHRhewjha=]oBNvdRl}g>w#Ro@g5vuRo>c[#X']o<CauRoRAd-#Y':RkpauRoQKu]C.!&;RoFJvB!%RoNRoPBx'h]v+_?w~ha}t5?w~he}ue!/UbhYacXaW^Tc&a;b:a-c/#b&aja1(!cL+!bKbt!bmcRc9aIc?8[yW3Dtt94Rg`Jv}!&SiRMzBhEebShEMNuPRe>x7gL#TzuwjirRipc<Z&>on;>z=h-MSh.Mwqczx'a7vj&!>Re4@=ResJt__NuPRi*NuPRi)j]uNr|~FRfzKrJ>_+@Wfy@Wf]2WocKrJ<!+'@Wg%g/QRl@@Jv`!&awRl<wsfFIzgLu(w*!.*&ShBMwvhIRhI9;RhNx1hK'!#Sn]Mx1hK~0!#:2<H~7cNu+w7D*'1ZtW>Rn1~?rOc:Z&Rn2=<rQ<7wjh&=BSnLMc]#X(6Vz)w[b=a!U#9wzgMc3#&(RgMRitRis<x,gKt`ax!&+SioM=BSilMc3#&(RgKRinRimKurB,!&SiQMzBhDebShDM6BJQ!(P~Efx978B2@@=I}WLrJw!!,a*&@G}O@9wkibRid@@x'fKwC!&SlDMSfLMjUv~Q~EfKKv3@a+!(hFv-]mpx/hYZ(C5RiWz<o/MwkhY?So/M@x,gbvfB*&!SgEM:SoeeehFu3:Rgbda(,^TZa)X/7Sg[eb:2RgI~BrMC@wgkc:wwkcRerx3h(uUvK!&*,SnOM4Sh*MArRg;wHRh(x=h;rJvPwI!a4',a'0@Wg&=BSh/Mg>w=Rh=g3w*wwgGRgGcW(X#;Sg}M2Gzk@Jv`!&awRl=wsfGIz`dKZ*T'Y-:RhR7RhQg5u-p`j6v(us5d,#Y+~Awkia?RicOuNBwkibba}Ld6p~tyu_vbAa'a+!a/'a3aEa8a!>Sh,ebJv{!&Sh@ebSaReb9;SgwebNuPRi(NvdRl)NuPRi'hHu^<Rm^Jvv_@Wl(g;u1Si/ebKu'B&!*Sh?eb@Wl'z@aPeb95Si.ebcpputyvjB)!,&a+0a%ShAMWeK@G}C@WfJ9;RhMwvhH9w{ia}ix,hJvRA1(!zAn[MRhHx1hJ~*!#hFv(BSn[MBJQ!(@@=I~'978B2@@=I}2db.Ua<'X}+T#a0XaG2G}E;wkg|wuh!Rh!x,hZu,@)!&So0MVy)C5RiXACJvB!&5RiY5RiZg8w)cG}*T#2@bU}=KsA>(!a.3wkhZba~(x,h^u(A!&(SoCMRhb5Bz=h[eb?w~hb~6x,h_u(A!&(SoDMRhc5Bz=h]eb?w~hc~6e)aA1T#T,^^^c-bMb&blcPaP(a/!0!bA=b5c@a(!bfbrc#2afwmhARnjwchORnp2Wlf3DtsNvdRl-2@wpa<]m0bx(#:awRk2@Jw3!%RfhwpfgRlnKQB%!(G{V@G|'NuuRl6d='T+Y#VyUg<v~Rl~==G|<Jv+'!aYShC}6@B<5?ba~8@Jw3'!g2QRljhLrpWlOd+#Y'g.w'rIg>w*wgj@g-u0Rj@Lu+wT&)ZtUauq]~GrGci&U#F|39:rELrNvj!.%*RhCwunfw~nf~:9;Ri]>wtnhg;wHRnhx3hDs@v~!/+'@Wfr@9RkSNu&Rlo=@<5GzoKs0@_+@Wl+@awRkmJuh!-3d(}pY#qWJvj!%Rm(:Jw3!%Rm,Rm*de&!1U-U#`)Re;@G|.@9Ri82@wjfvRlq=@<5GzpLvOvr!).&2RlF8Rf`C=x!eE{.Jw3_g2QRlkhLrpWlPde(!#U{s,UXa*Ta'[y'g:v>ReS;x0PZ&RnlRnn~HrKJw1}f!=x!eB|2w]aP(#Xa&a*Ta.Ua2a7=]iOd'#Y&Ro&WnWg;u.RiDg6vjRiBNvdRlzhNvj]nYJuW_2Wm3x)kFze{9d])!a.!,Y01!#&aC!a3RndC=ox~BrC@2b^{pg,rlse7x'ksuq!%Rm.E{xidw(wBRmGx9o+)X#wwo-So-}69:Rl4@xSf@a#XZ'X)X,Ta(/ARl8b[xc>RfY:RlI:RfQwlg.ARl:9;Rlwdn'#^XafaQa1X1TaHTa)@b[{zcZ#X'7RkwWg@Ou4ARn&x)kG#{,g7u/RkGdH'U#Y*Vz'Wm&CARm|bx#(A]gUbUzJj9Q~=d,#Y(56H}l978H{U7d,0#U*2>ABb_xZ978BbU{e~AJQ{g!978BbU{hxMh?ad{oUYZ.x1h?{l!#:2<H{mx3n[t{vl!,&a%3Ro(z=iS}6ARnr=Bwsn^wvn`Rnbd`*T}B0!#^X'BG{c9b]{a>>@=be}F?JvS!&BG{d7BG}(Bde#`a1X,Ya@!a'P~=wxf@2bZ}I56B2@@=aybb}08@55B9;5bb}<j3vLv;<Jw3&!>Rfg=ayb^}&OuNBKuLA!)a!P~=x#fD{f2@>==<bbzl?C972@@=Ix^d6rSu,v7w*C(0a)a6#B+a%!sQ[y?3Dt%3[xn~<5rLOu!5p@Ku+D#'!t7~GrP~?rNKvlaya7'!h+v-5qMg=t|cd,U#5AAaa5Abb{S@52B5@a[@52B5Gx[iXueu;d<#`a(!/549C;ag>23ExY5@Dah89b^~689Jv)!~2b[~1Lv'w(%*!a#bX|aPrmawRe]keu7uhv-q6rxu,q`xTo]/a5aU!bNaDXbi!b-!ao!b<bwA!#5@B932:aV2G|:d-)Y#hJrL>RhG<7@C5<H|_=Cau:5aj5@B932:bJ|ng>vIbs)#?C2F|9jPv0w.vISh-MKvUaz(.!9ABbb|[5;5<H|Eg>unwfh;9:4E|YjQsBt|vjx'hYq3!(?C2F|J:2<BaY?C2F|GOu!5x,g|p{ah!-(?C2F|c9:4E|OjXuvvNr}:Rh&i[w*t|cd+U#jJvsu)vsSn~Mkfrmu9p}u7vwv]So!McW#Xa!ax5@A5aY:5;5<H|>kJv~vYrquJu3x4ib#T)2@SmZM?C2F|Bj:rmu9@xPhI(a*a#U#`a3-5Abb|L~@:RhK9:4E|0@52B5G|#C::aY?C2F|-:2<BaY?C2F|.5Jvk!a)javYrquJu3x4ia#T)2@SmYM?C2F|HAxPhH(!a#U#`a*-5Abb|4~@:RhJ9:4E|R@52B5G|F:2<BaY?C2F|Sc^#Xa2j=Qq5CJvB!-g<v{z;hhM?C2F|Zi[vrv{z;hiM?C2F|XKsA>!a)-g<v{z;h[eb?C2F|]i[vrv{z;h]eb?C2F|^iZu.vix,hZq3ah!.(?C2F|QOu!5ShXM:2<BaY?C2F|P",13494,2713,49,25,61);var dw,fw;!function(e){e[e.VALUE_LENGTH=49152]="VALUE_LENGTH",e[e.FLAG13=8192]="FLAG13",e[e.BRANCH_LENGTH=8064]="BRANCH_LENGTH",e[e.JUMP_TABLE=127]="JUMP_TABLE",e[e.VALUE_MASK=8191]="VALUE_MASK"}(dw||(dw={})),function(e){e[e.AMP=38]="AMP",e[e.NUM=35]="NUM",e[e.SEMI=59]="SEMI",e[e.EQUALS=61]="EQUALS",e[e.ZERO=48]="ZERO",e[e.NINE=57]="NINE",e[e.LOWER_A=97]="LOWER_A",e[e.LOWER_X=120]="LOWER_X"}(fw||(fw={}));const hw=2047;let pw=0;function gw(e){const t=e>>>21;return t===hw?pw:t}function mw(e){return e-fw.ZERO>>>0<=9}function vw(e){return(32|e)-fw.LOWER_A>>>0<=5}function bw(e){return(32|e)-fw.LOWER_A>>>0<=25}var yw,_w;function ww(e,t,n,r){const i=(t&dw.BRANCH_LENGTH)>>7,a=t&dw.JUMP_TABLE;if(a){if(0===i)return r===a?n:-1;const t=r-a;if(t>>>0>=i)return-1;const o=e[n+t];return 0===o?-1:n+i+o-1&65535}if(0===i)return-1;const o=i+1>>1,s=n+o+i;for(let t=0;t<i;t++){const i=e[n+(t>>1)]>>((1&t)<<3)&255;if(i===r){return s+e[n+o+t]&65535}if(i>r)return-1}return-1}function xw(e,t,n){return 1===n?String.fromCharCode(e[t]&dw.VALUE_MASK):2===n?String.fromCharCode(e[t+1]):String.fromCharCode(e[t+1],e[t+2])}function kw(e,t,n){let r=t+1,i=0,a=r;if(r<n&&(32|e.charCodeAt(r))===fw.LOWER_X)for(r+=1,a=r;r<n;){const t=e.charCodeAt(r);if(mw(t))i=16*i+(t-fw.ZERO);else{if(!vw(t))break;i=16*i+((32|t)-fw.LOWER_A+10)}r+=1}else for(;r<n;){const t=e.charCodeAt(r)-fw.ZERO;if(t>>>0>9)break;i=10*i+t,r+=1}if(r===a)return 0;r<n&&e.charCodeAt(r)===fw.SEMI&&(r+=1),i>1114111&&(i=1114112);let o=r-t;return o>=hw&&(pw=o,o=hw),o<<21|i}function Cw(e){return function(e,t,n){const r=uw;let i=e.indexOf("&");if(i<0)return e;const a=e.length;let o=0,s="";const l=r[0],c=l&dw.JUMP_TABLE,u=(l&dw.BRANCH_LENGTH)>>7;do{const t=i+1,l=e.charCodeAt(t);let d,f;if(l===fw.NUM){const n=kw(e,t,a);d=gw(n),d>0&&e.charCodeAt(t+d-1)!==fw.SEMI&&(d=0),f=0===d?"":sw(2097151&n)}else if(bw(l)){d=0,f="";const n=l-c;let i;if(n>>>0<u){const e=r[1+n];i=0===e?-1:u+e&65535}else i=-1;let o=0,s=0,h=i<0?0:r[i],p=t+1;e:for(;p<a;){for(;!(h&(dw.VALUE_LENGTH|dw.FLAG13))&&h&dw.JUMP_TABLE;){const t=h&dw.JUMP_TABLE,n=(h&dw.BRANCH_LENGTH)>>7;if(0===n){if(e.charCodeAt(p)!==t)break e;i+=1}else{const a=e.charCodeAt(p)-t;if(a>>>0>=n)break e;const o=r[i+1+a];if(0===o)break e;i=i+n+o&65535}if(h=r[i],p+=1,p>=a)break e}if((h&(dw.VALUE_LENGTH|dw.FLAG13))===dw.FLAG13){const t=(h&dw.BRANCH_LENGTH)>>7;if(e.charCodeAt(p)!==(h&dw.JUMP_TABLE))break;p+=1;const n=t-1;let a=i+1,o=0;for(;o+1<n;o+=2){const t=r[a];if(e.charCodeAt(p)!==(255&t))break e;if(p+=1,e.charCodeAt(p)!==(t>>8&255))break e;p+=1,a+=1}if(o<n){if(e.charCodeAt(p)!==(255&r[a]))break;p+=1}i+=1+(t>>1),h=r[i];continue}const n=h>>>14,o=e.charCodeAt(p);if(0!==n){if(o===fw.SEMI){d=p-t+1,f=1===n?String.fromCharCode(h&dw.VALUE_MASK):xw(r,i,n);break}if(1===n)break}const s=ww(r,h,i+(n||1),o);if(s<0)break;i=s,h=r[i],p+=1}""===f&&d>0&&(f=xw(r,o,s))}else d=0,f="";0===d||n?i=t:(o<i&&(s+=e.slice(o,i)),s+=f,i=o=t+d),e.charCodeAt(i)!==fw.AMP&&(i=e.indexOf("&",i))}while(i>=0);return s+e.slice(o)}(e,0,!1)}!function(e){e[e.EntityStart=0]="EntityStart",e[e.NumericStart=1]="NumericStart",e[e.NumericDecimal=2]="NumericDecimal",e[e.NumericHex=3]="NumericHex",e[e.NamedEntity=4]="NamedEntity"}(yw||(yw={})),function(e){e[e.Legacy=0]="Legacy",e[e.Strict=1]="Strict",e[e.Attribute=2]="Attribute"}(_w||(_w={}));var Aw=class{src_Any=ew.source;src_Cc=tw.source;src_Z=iw.source;src_P=nw.source;src_ZPCc=[this.src_Z,this.src_P,this.src_Cc].join("|");src_ZCc=[this.src_Z,this.src_Cc].join("|");cache={};opts={maxLength:1e4,urlAuth:!1,schema_names:[]};constructor(e={}){this.opts={...this.opts,...e}}set(e={}){return this.opts={...this.opts,...e},this.cache={},this}escapeRE(e){return e.replace(/[.?*+^$[\]\\(){}|-]/g,"\\$&")}nestedPairRE(e,t,n=4){const r=this.escapeRE(e),i=this.escapeRE(t),a=`(?:(?!${this.src_ZCc}|${r}|${i}).)`;let o=`${r}${a}{0,1000}${i}`;for(let e=2;e<=n;e++)o=`${r}(?:${a}|${o}){0,1000}${i}`;return o}get_text_separators(){return this.cache.text_separators??=/[><\uff5c]/}get_pseudo_letter(){return this.cache.src_pseudo_letter??=new RegExp(`(?:(?!${this.get_text_separators().source}|${this.src_ZPCc})${this.src_Any})`)}get_ipv4_addr(){return this.cache.src_ip4??=new RegExp("(?:(?:25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9][0-9]|[0-9])[.]){3}(?:25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9][0-9]|[0-9])")}get_ipv6_addr(){const e="[0-9A-Fa-f]{1,4}",t=`(?:(?:${e}:${e})|${this.get_ipv4_addr().source})`;return this.cache.src_ip6_addr??=new RegExp(`(?:(?:${e}:){6}${t}|::(?:${e}:){5}${t}|(?:${e})?::(?:${e}:){4}${t}|(?:(?:${e}:){0,1}${e})?::(?:${e}:){3}${t}|(?:(?:${e}:){0,2}${e})?::(?:${e}:){2}${t}|(?:(?:${e}:){0,3}${e})?::${e}:${t}|(?:(?:${e}:){0,4}${e})?::${t}|(?:(?:${e}:){0,5}${e})?::${e}|(?:(?:${e}:){0,6}${e})?::)`)}get_ipv6_url_host(){return this.cache.src_ip6_host??=new RegExp(`\\[${this.get_ipv6_addr().source}\\]`)}get_ipv6_mail_host(){return this.cache.src_ipv6_mail_host??=new RegExp(`\\[IPv6:${this.get_ipv6_addr().source}\\]`)}get_auth(){return this.cache.src_auth??=new RegExp(`(?:(?:(?!${this.src_ZCc}|[@/\\[\\]()]).){1,50}@)?`)}get_port(){return this.cache.src_port??=new RegExp("(?::(?:6(?:[0-4]\\d{3}|5(?:[0-4]\\d{2}|5(?:[0-2]\\d|3[0-5])))|[1-5]?\\d{1,4}))?")}get_host_terminator(){return this.cache.src_host_terminator??=new RegExp(`(?=$|${this.get_text_separators().source}|${this.src_ZPCc})(?!${this.opts["---"]?"-(?!--)|":"-|"}_|:\\d|\\.-|\\.(?!$|${this.src_ZPCc}))`)}get_path_terminator(){return this.cache.src_path_terminator??=new RegExp(`${this.src_ZPCc}|${this.get_text_separators().source}`)}get_path(){return this.cache.src_path??=new RegExp(`(?:[/?#](?:${this.nestedPairRE("[","]")}|${this.nestedPairRE("(",")")}|${this.nestedPairRE("{","}")}|\\"(?:(?!${this.src_ZCc}|["]).){1,100}\\"|\\'(?:(?!${this.src_ZCc}|[']).){1,100}\\'|\\'(?=${this.get_pseudo_letter().source}|[-])|\\.{2,20}[:]?[a-zA-Z0-9%/&]|\\.(?!${this.src_ZCc}|[.]|$)|`+(this.opts["---"]?"\\-(?!--(?:[^-]|$))(?:-{0,19})|":"\\-{1,20}|")+`,(?!${this.src_ZCc}|$)|;(?!${this.src_ZCc}|$)|\\!{1,20}(?!${this.src_ZCc}|[!]|$)|\\?(?!${this.src_ZCc}|[?]|$)|`+this.get_path_extra().source+`[\\\\/:%@#&=_~*]|(?!${this.get_path_terminator().source}).){1,${this.opts.maxLength}}|\\/)?`)}get_mail_name(){return this.cache.src_mail_name??=new RegExp("[-!#$%&'*+/=?^_`{|}~a-zA-Z0-9](?:[-!#$%&'*+/=?^_`{|}~a-zA-Z0-9]|[.](?=[-!#$%&'*+/=?^_`{|}~a-zA-Z0-9])){0,63}")}get_xn(){return this.cache.src_xn??=new RegExp("xn--[a-z0-9\\-]{1,59}")}get_tld(){if(this.cache.tld)return this.cache.tld;const e=[...new Set(this.opts.tlds||[])].sort().reverse().join("|");return this.cache.tld=new RegExp(`${e||"$#none#$"}|${this.get_xn().source}`),this.cache.tld}get_domain_root(){return this.cache.src_domain_root??=new RegExp("(?:"+this.get_xn().source+`|${this.get_pseudo_letter().source}{1,63})`)}get_domain(){return this.cache.src_domain??=new RegExp("(?:"+this.get_xn().source+`|(?:${this.get_pseudo_letter().source})|(?:${this.get_pseudo_letter().source}(?:-|${this.get_pseudo_letter().source}){0,61}${this.get_pseudo_letter().source}))`)}get_url_host_port(){return this.cache.url_host_port??=new RegExp("(?:"+this.get_ipv6_url_host().source+`|(?:(?:(?:${this.get_domain().source})\\.){0,10}${this.get_domain().source}))`+this.get_port().source+this.get_host_terminator().source)}get_fuzzy_url_host_port(){return this.cache.fuzzy_url_host_port??=new RegExp("(?:"+(this.opts.fuzzyIP?this.get_ipv4_addr().source+"|":"")+`(?:(?:(?:${this.get_domain().source})\\.){1,10}(?:${this.get_tld().source})))`+this.get_host_terminator().source)}get_mail_host(){return this.cache.src_mail_host??=new RegExp("(?:"+this.get_ipv6_mail_host().source+`|(?:(?:(?:${this.get_domain().source})\\.){0,4}${this.get_domain().source}))`+this.get_host_terminator().source)}get_fuzzy_mail_host(){return this.cache.src_fuzzy_mail_host??=new RegExp("(?:"+this.get_ipv6_mail_host().source+`|(?:(?:(?:${this.get_domain().source})[.]){1,4}${this.get_domain_root().source}))`+this.get_host_terminator().source)}get_path_extra(){return this.cache.src_path_extra??=new RegExp("")}get_fuzzy_mail_host_search(){return this.cache.mail_fuzzy_host_search??=new RegExp(`@${this.get_fuzzy_mail_host().source}`,"ig")}get_fuzzy_link_search(){return this.cache.link_fuzzy_search??=new RegExp(`(^|(?![.:/\\-_@])(?:[$+<=>^\`||]|${this.src_ZPCc}))(?:(?![$+<=>^\`||])${this.get_fuzzy_url_host_port().source}${this.get_path().source})`,"ig")}get_http_validator(){return this.cache.http_validator??=new RegExp("\\/\\/"+(this.opts.urlAuth?this.get_auth().source:"")+this.get_url_host_port().source+this.get_path().source,"iy")}get_relative_proto_validator(){return this.cache.relative_proto_validator??=new RegExp((this.opts.urlAuth?this.get_auth().source:"")+`(?:localhost|${this.get_ipv6_url_host().source}|(?:(?:${this.get_domain().source})[.]){1,10}${this.get_domain_root().source})`+this.get_port().source+this.get_host_terminator().source+this.get_path().source,"iy")}get_mail_name_validator(){return this.cache.mail_name_validator??=new RegExp(`(?:^|${this.get_text_separators().source}|"|\\(|${this.src_ZCc})(${this.get_mail_name().source})$`)}get_mailto_validator(){return this.cache.mailto_validator??=new RegExp(`${this.get_mail_name().source}@${this.get_mail_host().source}`,"iy")}get_schema_names(){return this.cache.schema_names??=new RegExp((this.opts.schema_names||[]).map((e=>this.escapeRE(e))).join("|"))}get_schema_search(){return this.cache.schema_search??=new RegExp(`(^|(?!_)(?:[><|]|${this.src_ZPCc}))(${this.get_schema_names().source})`,"ig")}get_schema_at_start(){return this.cache.schema_at_start??=new RegExp(`^${this.get_schema_search().source}`,"i")}},Sw={validate:(e,t,n)=>{const r=n.re.get_http_validator();r.lastIndex=t;const i=r.exec(e);return i?i[0].length:0},normalize:(e,t)=>t.normalize(e)},Ew={"http:":Sw,"https:":Sw,"ftp:":Sw,"//":{validate:function(e,t,n){const r=n.re.get_relative_proto_validator();r.lastIndex=t;const i=r.exec(e);return i?t>=3&&":"===e[t-3]||t>=3&&"/"===e[t-3]?0:i[0].length:0},normalize:(e,t)=>t.normalize(e)},"mailto:":{validate:function(e,t,n){const r=n.re.get_mailto_validator();r.lastIndex=t;const i=r.exec(e);return i?i[0].length:0},normalize:(e,t)=>t.normalize(e)}};var Mw={fuzzyLink:!1,fuzzyEmail:!0,fuzzyIP:!1,"---":!1,tlds:function(){const e="biz|com|edu|gov|net|org|pro|web|xxx|aero|asia|coop|info|museum|name|shop|рф".split("|");return"a:cdefgilmnoqrstuwxz|b:abdefghijmnorstvwyz|c:acdfghiklmnoruvwxyz|d:ejkmoz|e:cegrstu|f:ijkmor|g:abdefghilmnpqrstuwy|h:kmnrtu|i:delmnoqrst|j:emop|k:eghimnprwyz|l:abcikrstuvy|m:acdeghklmnopqrstuvwxyz|n:acefgilopruz|o:m|p:aefghklmnrstwy|q:a|r:eosuw|s:abcdeghijklmnortuvxyz|t:cdfghjklmnortvwz|u:agksyz|v:aceginu|w:fs|y:et|z:amw".split("|").forEach((t=>{const n=t.indexOf(":"),r=t.slice(0,n);for(const i of t.slice(n+1))e.push(r+i)})),e}(),urlAuth:!1,maxLength:1e4},Rw=class{schema;index;lastIndex;raw;text;url;constructor(e,t,n,r){const i=e.slice(n,r);this.schema=t.toLowerCase(),this.index=n,this.lastIndex=r,this.raw=i,this.text=i,this.url=i}},Tw=class{__opts__;__schemas__;re;constructor(e={}){const{rebuilder:t,...n}=e;this.__opts__={...Mw,...n},this.__schemas__={...Ew},this.re=t||new Aw,this.re.set({...this.__opts__,schema_names:Object.keys(this.__schemas__)})}add(e,t=null){if(t){const n={normalize:(e,t)=>t.normalize(e),...t};this.__schemas__[e]=n}else delete this.__schemas__[e];return this.re.set({...this.__opts__,schema_names:Object.keys(this.__schemas__)}),this}set(e={}){return this.__opts__={...this.__opts__,...e},this.re.set({...this.__opts__,schema_names:Object.keys(this.__schemas__)}),this}test(e){if(!e.length)return!1;let t,n;for(n=this.re.get_schema_search(),n.lastIndex=0;null!==(t=n.exec(e));)if(this.testSchemaAt(e,t[2],n.lastIndex))return!0;if(this.__opts__.fuzzyLink&&this.__schemas__["http:"]&&(n=this.re.get_fuzzy_link_search(),n.lastIndex=0,null!==n.exec(e)))return!0;if(this.__opts__.fuzzyEmail&&this.__schemas__["mailto:"]&&e.indexOf("@")>=0){const n=this.re.get_fuzzy_mail_host_search(),r=this.re.get_mail_name_validator();for(n.lastIndex=0;null!==(t=n.exec(e));){const n=e.slice(Math.max(0,t.index-65),t.index);if(r.test(n))return!0}}return!1}testSchemaAt(e,t,n){return this.__schemas__[t.toLowerCase()]?this.__schemas__[t.toLowerCase()].validate(e.slice(0,n+this.__opts__.maxLength),n,this):0}match(e){const t=[],n=this.re.get_schema_search();let r,i,a,o,s,l,c=!1,u=!1,d=!1,f=0;if(!e.length)return null;for(n.lastIndex=0,this.__opts__.fuzzyLink&&this.__schemas__["http:"]&&(r=this.re.get_fuzzy_link_search(),r.lastIndex=0),this.__opts__.fuzzyEmail&&this.__schemas__["mailto:"]&&(i=this.re.get_fuzzy_mail_host_search(),i.lastIndex=0,a=this.re.get_mail_name_validator());;){const h=Math.max(f-1,0);if(i&&a&&!d&&(!s||s.index<f))for(i.lastIndex<h&&(i.lastIndex=h);;){const t=i.exec(e);if(!t){d=!0,s=void 0;break}const n=a.exec(e.slice(Math.max(0,t.index-65),t.index));if(n){if(s={schema:"mailto:",index:t.index-n[1].length,lastIndex:t.index+t[0].length},s.index>=f)break;i.lastIndex<h&&(i.lastIndex=h)}}if(r&&!u&&(!o||o.index<f))for(r.lastIndex<h&&(r.lastIndex=h);;){const t=r.exec(e);if(!t){u=!0,o=void 0;break}if(o={schema:"",index:t.index+t[1].length,lastIndex:t.index+t[0].length},o.index>=f)break;r.lastIndex<h&&(r.lastIndex=h)}let p,g=s;if((!g||o&&(o.index<g.index||o.index===g.index&&o.lastIndex>g.lastIndex))&&(g=o),!c)for(;;){if(!l){n.lastIndex<h&&(n.lastIndex=h);const t=n.exec(e);if(!t){c=!0;break}l={schema:t[2],index:t.index+t[1].length,lastIndex:t.index+t[0].length}}if(l.index<f){l=void 0;continue}if(g&&l.index>g.index)break;const t=l;l=void 0;const r=this.testSchemaAt(e,t.schema,t.lastIndex);if(r){p={schema:t.schema,index:t.index,lastIndex:t.lastIndex+r};break}}let m=p;if((!m||s&&(s.index<m.index||s.index===m.index&&s.lastIndex>m.lastIndex))&&(m=s),(!m||o&&(o.index<m.index||o.index===m.index&&o.lastIndex>m.lastIndex))&&(m=o),!m)break;m===s?s=void 0:m===o&&(o=void 0);const v=new Rw(e,m.schema,m.index,m.lastIndex);v.schema?this.__schemas__[v.schema].normalize(v,this):this.normalize(v),t.push(v),f=m.lastIndex}return t.length?t:null}matchAtStart(e){if(!e.length)return null;const t=this.re.get_schema_at_start().exec(e);if(!t)return null;const n=this.testSchemaAt(e,t[2],t[0].length);if(!n)return null;const r=new Rw(e,t[2],t.index+t[1].length,t.index+t[0].length+n);return this.__schemas__[r.schema].normalize(r,this),r}tlds(e,t=!1){return e=Array.isArray(e)?e:[e],this.__opts__.tlds=t?this.__opts__.tlds.concat(e):e,this.re.set({...this.__opts__,schema_names:Object.keys(this.__schemas__)}),this}normalize(e){e.schema||(e.url=`http://${e.url}`),"mailto:"!==e.schema||/^mailto:/i.test(e.url)||(e.url=`mailto:${e.url}`)}};const Lw=2147483647,Dw=36,Ow=/^xn--/,Fw=/[^\0-\x7F]/,zw=/[\x2E\u3002\uFF0E\uFF61]/g,Pw={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},Nw=Math.floor,jw=String.fromCharCode;function Iw(e){throw new RangeError(Pw[e])}function Bw(e,t){const n=e.split("@");let r="";n.length>1&&(r=n[0]+"@",e=n[1]);const i=function(e,t){const n=[];let r=e.length;for(;r--;)n[r]=t(e[r]);return n}((e=e.replace(zw,".")).split("."),t).join(".");return r+i}function Ww(e){const t=[];let n=0;const r=e.length;for(;n<r;){const i=e.charCodeAt(n++);if(i>=55296&&i<=56319&&n<r){const r=e.charCodeAt(n++);56320==(64512&r)?t.push(((1023&i)<<10)+(1023&r)+65536):(t.push(i),n--)}else t.push(i)}return t}const $w=function(e,t){return e+22+75*(e<26)-((0!=t)<<5)},qw=function(e,t,n){let r=0;for(e=n?Nw(e/700):e>>1,e+=Nw(e/t);e>455;r+=Dw)e=Nw(e/35);return Nw(r+36*e/(e+38))},Hw=function(e){const t=[],n=e.length;let r=0,i=128,a=72,o=e.lastIndexOf("-");o<0&&(o=0);for(let n=0;n<o;++n)e.charCodeAt(n)>=128&&Iw("not-basic"),t.push(e.charCodeAt(n));for(let l=o>0?o+1:0;l<n;){const o=r;for(let t=1,i=Dw;;i+=Dw){l>=n&&Iw("invalid-input");const o=(s=e.charCodeAt(l++))>=48&&s<58?s-48+26:s>=65&&s<91?s-65:s>=97&&s<123?s-97:Dw;o>=Dw&&Iw("invalid-input"),o>Nw((Lw-r)/t)&&Iw("overflow"),r+=o*t;const c=i<=a?1:i>=a+26?26:i-a;if(o<c)break;const u=Dw-c;t>Nw(Lw/u)&&Iw("overflow"),t*=u}const c=t.length+1;a=qw(r-o,c,0==o),Nw(r/c)>Lw-i&&Iw("overflow"),i+=Nw(r/c),r%=c,t.splice(r++,0,i)}var s;return String.fromCodePoint(...t)},Uw=function(e){const t=[],n=(e=Ww(e)).length;let r=128,i=0,a=72;for(const n of e)n<128&&t.push(jw(n));const o=t.length;let s=o;for(o&&t.push("-");s<n;){let n=Lw;for(const t of e)t>=r&&t<n&&(n=t);const l=s+1;n-r>Nw((Lw-i)/l)&&Iw("overflow"),i+=(n-r)*l,r=n;for(const n of e)if(n<r&&++i>Lw&&Iw("overflow"),n===r){let e=i;for(let n=Dw;;n+=Dw){const r=n<=a?1:n>=a+26?26:n-a;if(e<r)break;const i=e-r,o=Dw-r;t.push(jw($w(r+i%o,0))),e=Nw(i/o)}t.push(jw($w(e,0))),a=qw(i,l,s===o),i=0,++s}++i,++r}return t.join("")},Vw=function(e){return Bw(e,(function(e){return Fw.test(e)?"xn--"+Uw(e):e}))},Yw=function(e){return Bw(e,(function(e){return Ow.test(e)?Hw(e.slice(4).toLowerCase()):e}))};
|
|
22
|
-
/*! markdown-it 15.0.2 https://github.com/markdown-it/markdown-it @license MIT */
|
|
23
|
-
var Gw=Object.defineProperty,Xw=(e,t)=>{let n={};for(var r in e)Gw(n,r,{get:e[r],enumerable:!0});return Gw(n,Symbol.toStringTag,{value:"Module"}),n},Jw=Xw({arrayReplaceAt:()=>Kw,asciiTrim:()=>_x,callable:()=>Zw,escapeHtml:()=>ux,escapeRE:()=>fx,fromCodePoint:()=>ex,isMdAsciiPunct:()=>vx,isPunctChar:()=>gx,isPunctCharCode:()=>mx,isSpace:()=>hx,isValidEntityCode:()=>Qw,isWhiteSpace:()=>px,lib:()=>wx,normalizeReference:()=>bx,unescapeAll:()=>ax,unescapeMd:()=>ix});function Zw(e){const t=function(...n){return Reflect.construct(e,n,new.target&&new.target!==t?new.target:e)};return Object.defineProperty(t,"name",{value:e.name}),Object.setPrototypeOf(t,e),t.prototype=e.prototype,t}function Kw(e,t,n){return[].concat(e.slice(0,t),n,e.slice(t+1))}function Qw(e){return!(e>=55296&&e<=57343)&&(!(e>=64976&&e<=65007)&&(!!(65535&~e&&65534!=(65535&e))&&(!(e>=0&&e<=8)&&(11!==e&&(!(e>=14&&e<=31)&&(!(e>=127&&e<=159)&&!(e>1114111)))))))}function ex(e){if(e>65535){const t=55296+((e-=65536)>>10),n=56320+(1023&e);return String.fromCharCode(t,n)}return String.fromCharCode(e)}var tx=/\\([!"#$%&'()*+,\-./:;<=>?@[\\\]^_`{|}~])/g,nx=new RegExp(`${tx.source}|${/&([a-z#][a-z0-9]{1,31});/gi.source}`,"gi"),rx=/^#((?:x[a-f0-9]{1,8}|[0-9]{1,8}))$/i;function ix(e){return e.indexOf("\\")<0?e:e.replace(tx,"$1")}function ax(e){return e.indexOf("\\")<0&&e.indexOf("&")<0?e:e.replace(nx,(function(e,t,n){return t||function(e,t){if(35===t.charCodeAt(0)&&rx.test(t)){const n="x"===t[1].toLowerCase()?parseInt(t.slice(2),16):parseInt(t.slice(1),10);return Qw(n)?ex(n):e}const n=Cw(e);return n!==e?n:e}(e,n)}))}var ox=/[&<>"]/,sx=/[&<>"]/g,lx={"&":"&","<":"<",">":">",'"':"""};function cx(e){return lx[e]}function ux(e){return ox.test(e)?e.replace(sx,cx):e}var dx=/[.?*+^$[\]\\(){}|-]/g;function fx(e){return e.replace(dx,"\\$&")}function hx(e){switch(e){case 9:case 32:return!0}return!1}function px(e){if(e>=8192&&e<=8202)return!0;switch(e){case 9:case 10:case 11:case 12:case 13:case 32:case 160:case 5760:case 8239:case 8287:case 12288:return!0}return!1}function gx(e){return nw.test(e)||rw.test(e)}function mx(e){return gx(ex(e))}function vx(e){switch(e){case 33:case 34:case 35:case 36:case 37:case 38:case 39:case 40:case 41:case 42:case 43:case 44:case 45:case 46:case 47:case 58:case 59:case 60:case 61:case 62:case 63:case 64:case 91:case 92:case 93:case 94:case 95:case 96:case 123:case 124:case 125:case 126:return!0;default:return!1}}function bx(e){return(e=e.trim().replace(/\s+/g," ")).toLowerCase().toUpperCase()}function yx(e){return 32===e||9===e||10===e||13===e}function _x(e){let t=0;for(;t<e.length&&yx(e.charCodeAt(t));t++);let n=e.length-1;for(;n>=t&&yx(e.charCodeAt(n));n--);return e.slice(t,n+1)}var wx={mdurl:Q_,ucmicro:aw};function xx(e,t,n){let r,i,a,o;const s=e.posMax,l=e.pos;for(e.pos=t+1,r=1;e.pos<s;){if(a=e.src.charCodeAt(e.pos),93===a&&(r--,0===r)){i=!0;break}if(o=e.pos,e.md.inline.skipToken(e),91===a)if(o===e.pos-1)r++;else if(n)return e.pos=l,-1}let c=-1;return i&&(c=e.pos),e.pos=l,c}function kx(e,t,n){let r,i=t;const a={ok:!1,pos:0,str:""};if(60===e.charCodeAt(i)){for(i++;i<n;){if(r=e.charCodeAt(i),10===r)return a;if(60===r)return a;if(62===r)return a.pos=i+1,a.str=ax(e.slice(t+1,i)),a.ok=!0,a;92===r&&i+1<n?i+=2:i++}return a}let o=0;for(;i<n&&(r=e.charCodeAt(i),32!==r)&&!(r<32||127===r);)if(92===r&&i+1<n){if(32===e.charCodeAt(i+1)){i++;continue}i+=2}else{if(40===r&&(o++,o>32))return a;if(41===r){if(0===o)break;o--}i++}return t===i||0!==o||(a.str=ax(e.slice(t,i)),a.pos=i,a.ok=!0),a}function Cx(e,t,n,r){let i,a=t;const o={ok:!1,can_continue:!1,pos:0,str:"",marker:0};if(r)o.str=r.str,o.marker=r.marker;else{if(a>=n)return o;let r=e.charCodeAt(a);if(34!==r&&39!==r&&40!==r)return o;t++,a++,40===r&&(r=41),o.marker=r}for(;a<n;){if(i=e.charCodeAt(a),i===o.marker)return o.pos=a+1,o.str+=ax(e.slice(t,a)),o.ok=!0,o;if(40===i&&41===o.marker)return o;92===i&&a+1<n&&a++,a++}return o.can_continue=!0,o.str+=ax(e.slice(t,a)),o}var Ax=Xw({parseLinkDestination:()=>kx,parseLinkLabel:()=>xx,parseLinkTitle:()=>Cx});function Sx(e){return Sx="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Sx(e)}function Ex(e){var t=function(e,t){if("object"!=Sx(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t);if("object"!=Sx(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==Sx(t)?t:t+""}function Mx(e,t,n){return(t=Ex(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Rx=class{constructor(e,t,n){Mx(this,"map",null),Mx(this,"level",0),Mx(this,"children",null),Mx(this,"content",""),Mx(this,"markup",""),Mx(this,"info",""),Mx(this,"block",!1),Mx(this,"hidden",!1),this.type=e,this.tag=t,this.attrs=null,this.nesting=n,this.meta=null}attrIndex(e){if(!this.attrs)return-1;const t=this.attrs;for(let n=0,r=t.length;n<r;n++)if(t[n][0]===e)return n;return-1}attrPush(e){this.attrs?this.attrs.push(e):this.attrs=[e]}attrSet(e,t){const n=this.attrIndex(e),r=[e,t];n<0?this.attrPush(r):this.attrs[n]=r}attrGet(e){const t=this.attrIndex(e);let n=null;return t>=0&&(n=this.attrs[t][1]),n}attrJoin(e,t){const n=this.attrIndex(e);n<0?this.attrPush([e,t]):this.attrs[n][1]=`${this.attrs[n][1]} ${t}`}},Tx=class{constructor(){Mx(this,"__rules__",[]),Mx(this,"__cache__",null)}__find__(e){for(let t=0;t<this.__rules__.length;t++)if(this.__rules__[t].name===e)return t;return-1}__compile__(){const e=new Set;this.__rules__.forEach((t=>{t.enabled&&t.alt.forEach((t=>{t&&e.add(t)}))})),this.__cache__=Object.create(null),this.__cache__[""]=[],this.__rules__.forEach((e=>{e.enabled&&this.__cache__[""].push(e.fn)})),e.forEach((e=>{this.__cache__[e]=[],this.__rules__.forEach((t=>{t.enabled&&t.alt.indexOf(e)>=0&&this.__cache__[e].push(t.fn)}))}))}at(e,t,n={}){const r=this.__find__(e);if(-1===r)throw new Error(`Parser rule not found: ${e}`);this.__rules__[r].fn=t,this.__rules__[r].alt=n.alt||[],this.__cache__=null}before(e,t,n,r={}){const i=this.__find__(e);if(-1===i)throw new Error(`Parser rule not found: ${e}`);this.__rules__.splice(i,0,{name:t,enabled:!0,fn:n,alt:r.alt||[]}),this.__cache__=null}after(e,t,n,r={}){const i=this.__find__(e);if(-1===i)throw new Error(`Parser rule not found: ${e}`);this.__rules__.splice(i+1,0,{name:t,enabled:!0,fn:n,alt:r.alt||[]}),this.__cache__=null}push(e,t,n={}){this.__rules__.push({name:e,enabled:!0,fn:t,alt:n.alt||[]}),this.__cache__=null}enable(e,t=!1){Array.isArray(e)||(e=[e]);const n=[];return e.forEach((e=>{const r=this.__find__(e);if(r<0){if(t)return;throw new Error(`Rules manager: invalid rule name ${e}`)}this.__rules__[r].enabled=!0,n.push(e)})),this.__cache__=null,n}enableOnly(e,t=!1){Array.isArray(e)||(e=[e]),this.__rules__.forEach((e=>{e.enabled=!1})),this.enable(e,t)}disable(e,t=!1){Array.isArray(e)||(e=[e]);const n=[];return e.forEach((e=>{const r=this.__find__(e);if(r<0){if(t)return;throw new Error(`Rules manager: invalid rule name ${e}`)}this.__rules__[r].enabled=!1,n.push(e)})),this.__cache__=null,n}getRules(e){return this.__cache__||this.__compile__(),this.__cache__[e]||[]}},Lx={code_inline:function(e,t,n,r,i){const a=e[t];return`<code${i.renderAttrs(a)}>${ux(a.content)}</code>`},code_block:function(e,t,n,r,i){const a=e[t];return`<pre${i.renderAttrs(a)}><code>${ux(e[t].content)}</code></pre>\n`},fence:function(e,t,n,r,i){const a=e[t],o=a.info?ax(a.info).trim():"";let s,l="",c="";if(o){const e=o.split(/(\s+)/g);l=e[0],c=e.slice(2).join("")}if(s=n.highlight&&n.highlight(a.content,l,c)||ux(a.content),0===s.indexOf("<pre"))return s+"\n";if(o){const e=a.attrIndex("class"),t=a.attrs?a.attrs.slice():[];e<0?t.push(["class",`${n.langPrefix}${l}`]):(t[e]=[t[e][0],t[e][1]],t[e][1]+=` ${n.langPrefix}${l}`);const r={attrs:t};return`<pre><code${i.renderAttrs(r)}>${s}</code></pre>\n`}return`<pre><code${i.renderAttrs(a)}>${s}</code></pre>\n`},image:function(e,t,n,r,i){const a=e[t];return a.attrs[a.attrIndex("alt")][1]=i.renderInlineAsText(a.children,n,r),i.renderToken(e,t,n)},hardbreak:function(e,t,n){return n.xhtmlOut?"<br />\n":"<br>\n"},softbreak:function(e,t,n){return n.breaks?n.xhtmlOut?"<br />\n":"<br>\n":"\n"},text:function(e,t){return ux(e[t].content)},html_block:function(e,t){return e[t].content},html_inline:function(e,t){return e[t].content}},Dx=class{constructor(){Mx(this,"rules",Object.assign({},Lx))}renderAttrs(e){let t,n,r;if(!e.attrs)return"";for(r="",t=0,n=e.attrs.length;t<n;t++)r+=` ${ux(e.attrs[t][0])}="${ux(String(e.attrs[t][1]))}"`;return r}renderToken(e,t,n){const r=e[t];let i="";if(r.hidden)return"";let a=t-1;for(;a>=0&&e[a].hidden&&0===e[a].nesting;)a--;r.block&&-1!==r.nesting&&a>=0&&e[a].hidden&&-1===e[a].nesting&&(i+="\n"),i+=(-1===r.nesting?"</":"<")+r.tag,i+=this.renderAttrs(r),0===r.nesting&&n.xhtmlOut&&(i+=" /");let o=!1;if(r.block&&(o=!0,1===r.nesting)){let n=t+1;for(;n<e.length&&e[n].hidden&&0===e[n].nesting;)n++;if(n<e.length){const t=e[n];("inline"===t.type||t.hidden||-1===t.nesting&&t.tag===r.tag)&&(o=!1)}}return i+=o?">\n":">",i}renderInline(e,t,n){let r="";const i=this.rules;for(let a=0,o=e.length;a<o;a++){const o=e[a].type;void 0!==i[o]?r+=i[o](e,a,t,n,this):r+=this.renderToken(e,a,t)}return r}renderInlineAsText(e,t,n){let r="";for(let i=0,a=e.length;i<a;i++)switch(e[i].type){case"text":case"code_inline":case"html_inline":case"html_block":r+=e[i].content;break;case"image":r+=this.renderInlineAsText(e[i].children,t,n);break;case"softbreak":case"hardbreak":r+="\n"}return r}render(e,t,n){let r="";const i=this.rules;for(let a=0,o=e.length;a<o;a++){const o=e[a].type;"inline"===o?r+=this.renderInline(e[a].children,t,n):void 0!==i[o]?r+=i[o](e,a,t,n,this):r+=this.renderToken(e,a,t)}return r}},Ox=class{constructor(e,t,n){Mx(this,"tokens",[]),Mx(this,"inlineMode",!1),Mx(this,"Token",Rx),this.src=e,this.env=n,this.md=t}},Fx=/\r\n?/g,zx=/\0/g;function Px(e){return/^<\/a\s*>/i.test(e)}var Nx=/\+-|\.\.|\?\?\?\?|!!!!|,,|--/,jx=/\((c|tm|r)\)/i,Ix=/\((c|tm|r)\)/gi,Bx={c:"©",r:"®",tm:"™"};function Wx(e,t){return Bx[t.toLowerCase()]}function $x(e){let t=0;for(let n=e.length-1;n>=0;n--){const r=e[n];"text"!==r.type||t||(r.content=r.content.replace(Ix,Wx)),"link_open"===r.type&&"auto"===r.info&&t--,"link_close"===r.type&&"auto"===r.info&&t++}}function qx(e){let t=0;for(let n=e.length-1;n>=0;n--){const r=e[n];"text"!==r.type||t||Nx.test(r.content)&&(r.content=r.content.replace(/\+-/g,"±").replace(/\.{2,}/g,"…").replace(/([?!])…/g,"$1..").replace(/([?!]){4,}/g,"$1$1$1").replace(/,{2,}/g,",").replace(/(^|[^-])---(?=[^-]|$)/gm,"$1—").replace(/(^|\s)--(?=\s|$)/gm,"$1–").replace(/(^|[^-\s])--(?=[^-\s]|$)/gm,"$1–")),"link_open"===r.type&&"auto"===r.info&&t--,"link_close"===r.type&&"auto"===r.info&&t++}}var Hx=/['"]/,Ux=/['"]/g;function Vx(e,t,n){for(;e.length>n;){const n=e.pop();n.isSingleQuote?t.single=n.prevSameQuoteIdx:t.double=n.prevSameQuoteIdx}}function Yx(e,t,n,r){e[t]||(e[t]=[]),e[t].push({pos:n,ch:r})}function Gx(e,t){let n;const r=[],i={single:-1,double:-1},a={};for(let o=0;o<e.length;o++){const s=e[o],l=e[o].level;for(n=r.length-1;n>=0&&!(r[n].level<=l);n--);if(Vx(r,i,n+1),"text"!==s.type)continue;const c=s.content;let u=0;const d=c.length;for(;u<d;){Ux.lastIndex=u;const s=Ux.exec(c);if(!s)break;let f=!0,h=!0;u=s.index+1;const p="'"===s[0];let g=32;if(s.index-1>=0)g=c.charCodeAt(s.index-1);else for(n=o-1;n>=0&&("softbreak"!==e[n].type&&"hardbreak"!==e[n].type);n--)if(e[n].content){g=e[n].content.charCodeAt(e[n].content.length-1);break}let m=32;if(u<d)m=c.charCodeAt(u);else for(n=o+1;n<e.length&&("softbreak"!==e[n].type&&"hardbreak"!==e[n].type);n++)if(e[n].content){m=e[n].content.charCodeAt(0);break}const v=vx(g)||mx(g),b=vx(m)||mx(m),y=px(g),_=px(m);if(_?f=!1:b&&(y||v||(f=!1)),y?h=!1:v&&(_||b||(h=!1)),34===m&&'"'===s[0]&&g>=48&&g<=57&&(h=f=!1),f&&h&&(f=v,h=b),f||h)if(h&&(n=p?i.single:i.double,n>=0&&r[n].level===l)){const e=r[n];let l,c;p?(l=t.md.options.quotes[2],c=t.md.options.quotes[3]):(l=t.md.options.quotes[0],c=t.md.options.quotes[1]),Yx(a,o,s.index,c),Yx(a,e.tokenIdx,e.contentPos,l),Vx(r,i,n)}else if(f){if(r.length>=1e3)return;r.push({tokenIdx:o,contentPos:s.index,isSingleQuote:p,level:l,prevSameQuoteIdx:p?i.single:i.double}),p?i.single=r.length-1:i.double=r.length-1}else h&&p&&Yx(a,o,s.index,"’");else p&&Yx(a,o,s.index,"’")}}Object.keys(a).forEach((function(t){const n=Number(t);e[n].content=function(e,t){let n="",r=0;t.sort(((e,t)=>e.pos-t.pos));for(let i=0;i<t.length;i++){const a=t[i];n+=e.slice(r,a.pos)+a.ch,r=a.pos+1}return n+e.slice(r)}(e[n].content,a[t])}))}function Xx(e){let t,n;const r=e.length;for(t=0;t<r;t++)"text_special"===e[t].type&&(e[t].type="text");for(t=n=0;t<r;t++)"text"===e[t].type&&t+1<r&&"text"===e[t+1].type?e[t+1].content=e[t].content+e[t+1].content:(t!==n&&(e[n]=e[t]),n++);t!==n&&(e.length=n)}var Jx=[["normalize",function(e){let t;t=e.src.replace(Fx,"\n"),t=t.replace(zx,"�"),e.src=t}],["block",function(e){let t;e.inlineMode?(t=new e.Token("inline","",0),t.content=e.src,t.map=[0,1],t.children=[],e.tokens.push(t)):e.md.block.parse(e.src,e.md,e.env,e.tokens)}],["strip_references",function(e){const t=e.tokens;let n=0;for(let e=0;e<t.length;e++)"reference_definition"!==t[e].type&&(e!==n&&(t[n]=t[e]),n++);t.length!==n&&(t.length=n)}],["inline",function(e){const t=e.tokens;for(let n=0,r=t.length;n<r;n++){const r=t[n];"inline"===r.type&&e.md.inline.parse(r.content,e.md,e.env,r.children)}}],["linkify",function(e){const t=e.tokens;var n;if(e.md.options.linkify)for(let r=0,i=t.length;r<i;r++){if("inline"!==t[r].type||!e.md.linkify.test(t[r].content))continue;const i=t[r].children,a=[];let o=0;for(let t=i.length-1;t>=0;t--){const r=i[t];if("link_close"!==r.type){if("html_inline"===r.type&&(n=r.content,/^<a[>\s]/i.test(n)&&o>0&&o--,Px(r.content)&&o++),!(o>0)&&"text"===r.type&&e.md.linkify.test(r.content)){const n=r.content;let o=e.md.linkify.match(n);const s=[];let l=r.level,c=0;o.length>0&&0===o[0].index&&t>0&&"text_special"===i[t-1].type&&(o=o.slice(1));for(let t=0;t<o.length;t++){const r=o[t].url,i=e.md.normalizeLink(r);if(!e.md.validateLink(i))continue;let a=o[t].text;a=o[t].schema?"mailto:"!==o[t].schema||/^mailto:/i.test(a)?e.md.normalizeLinkText(a):e.md.normalizeLinkText(`mailto:${a}`).replace(/^mailto:/,""):e.md.normalizeLinkText(`http://${a}`).replace(/^http:\/\//,"");const u=o[t].index;if(u>c){const t=new e.Token("text","",0);t.content=n.slice(c,u),t.level=l,s.push(t)}const d=new e.Token("link_open","a",1);d.attrs=[["href",i]],d.level=l++,d.markup="linkify",d.info="auto",s.push(d);const f=new e.Token("text","",0);f.content=a,f.level=l,s.push(f);const h=new e.Token("link_close","a",-1);h.level=--l,h.markup="linkify",h.info="auto",s.push(h),c=o[t].lastIndex}if(c<n.length){const t=new e.Token("text","",0);t.content=n.slice(c),t.level=l,s.push(t)}a.push({index:t,nodes:s})}}else for(t--;i[t].level!==r.level&&"link_open"!==i[t].type;)t--}if(a.length>0){let e=i.length;for(const t of a)e+=t.nodes.length-1;const n=new Array(e);let o=0,s=0;a.reverse();for(let e=0;e<i.length;e++){const t=a[o];if((null==t?void 0:t.index)===e){for(const e of t.nodes)n[s++]=e;o++}else n[s++]=i[e]}t[r].children=n}}}],["replacements",function(e){let t;if(e.md.options.typographer)for(t=e.tokens.length-1;t>=0;t--)"inline"===e.tokens[t].type&&(jx.test(e.tokens[t].content)&&$x(e.tokens[t].children),Nx.test(e.tokens[t].content)&&qx(e.tokens[t].children))}],["smartquotes",function(e){if(e.md.options.typographer)for(let t=e.tokens.length-1;t>=0;t--)"inline"===e.tokens[t].type&&Hx.test(e.tokens[t].content)&&Gx(e.tokens[t].children,e)}],["text_join",function(e){let t,n;const r=e.tokens,i=r.length;for(let e=0;e<i;e++){if("inline"!==r[e].type)continue;const i=r[e].children,a=i.length;for(t=0;t<a;t++)"text_special"===i[t].type&&(i[t].type="text"),i[t].children&&Xx(i[t].children);for(t=n=0;t<a;t++)"text"===i[t].type&&t+1<a&&"text"===i[t+1].type?i[t+1].content=i[t].content+i[t+1].content:(t!==n&&(i[n]=i[t]),n++);t!==n&&(i.length=n)}}]],Zx=class{constructor(){Mx(this,"ruler",new Tx),Mx(this,"State",Ox);for(let e=0;e<Jx.length;e++)this.ruler.push(Jx[e][0],Jx[e][1])}process(e){const t=this.ruler.getRules("");for(let n=0,r=t.length;n<r;n++)t[n](e)}},Kx=class{constructor(e,t,n,r){Mx(this,"bMarks",[]),Mx(this,"eMarks",[]),Mx(this,"tShift",[]),Mx(this,"sCount",[]),Mx(this,"bsCount",[]),Mx(this,"blkIndent",0),Mx(this,"line",0),Mx(this,"lineMax",0),Mx(this,"tight",!1),Mx(this,"listIndent",-1),Mx(this,"parentType","root"),Mx(this,"level",0),Mx(this,"Token",Rx),this.src=e,this.md=t,this.env=n,this.tokens=r;const i=this.src;for(let e=0,t=0,n=0,r=0,a=i.length,o=!1;t<a;t++){const s=i.charCodeAt(t);if(!o){if(hx(s)){n++,9===s?r+=4-r%4:r++;continue}o=!0}10!==s&&t!==a-1||(10!==s&&t++,this.bMarks.push(e),this.eMarks.push(t),this.tShift.push(n),this.sCount.push(r),this.bsCount.push(0),o=!1,n=0,r=0,e=t+1)}this.bMarks.push(i.length),this.eMarks.push(i.length),this.tShift.push(0),this.sCount.push(0),this.bsCount.push(0),this.lineMax=this.bMarks.length-1}push(e,t,n){const r=new Rx(e,t,n);return r.block=!0,n<0&&this.level--,r.level=this.level,n>0&&this.level++,this.tokens.push(r),r}isEmpty(e){return this.bMarks[e]+this.tShift[e]>=this.eMarks[e]}skipEmptyLines(e){for(let t=this.lineMax;e<t&&!(this.bMarks[e]+this.tShift[e]<this.eMarks[e]);e++);return e}skipSpaces(e){for(let t=this.src.length;e<t&&hx(this.src.charCodeAt(e));e++);return e}skipSpacesBack(e,t){if(e<=t)return e;for(;e>t;)if(!hx(this.src.charCodeAt(--e)))return e+1;return e}skipChars(e,t){for(let n=this.src.length;e<n&&this.src.charCodeAt(e)===t;e++);return e}skipCharsBack(e,t,n){if(e<=n)return e;for(;e>n;)if(t!==this.src.charCodeAt(--e))return e+1;return e}getLines(e,t,n,r){if(e>=t)return"";const i=new Array(t-e);for(let a=0,o=e;o<t;o++,a++){let e=0;const s=this.bMarks[o];let l,c=s;for(l=o+1<t||r?this.eMarks[o]+1:this.eMarks[o];c<l&&e<n;){const t=this.src.charCodeAt(c);if(hx(t))9===t?e+=4-(e+this.bsCount[o])%4:e++;else{if(!(c-s<this.tShift[o]))break;e++}c++}i[a]=e>n?new Array(e-n+1).join(" ")+this.src.slice(c,l):this.src.slice(c,l)}return i.join("")}};function Qx(e,t){const n=e.bMarks[t]+e.tShift[t],r=e.eMarks[t];return e.src.slice(n,r)}function ek(e){const t=[],n=e.length;let r=0,i=e.charCodeAt(r),a=!1,o=0,s="";for(;r<n;)124===i&&(a?(s+=e.substring(o,r-1),o=r):(t.push(s+e.substring(o,r)),s="",o=r+1)),a=92===i,r++,i=e.charCodeAt(r);return t.push(s+e.substring(o)),t}function tk(e,t){const n=e.eMarks[t];let r=e.bMarks[t]+e.tShift[t];const i=e.src.charCodeAt(r++);return 42!==i&&45!==i&&43!==i||r<n&&!hx(e.src.charCodeAt(r))?-1:r}function nk(e,t){const n=e.bMarks[t]+e.tShift[t],r=e.eMarks[t];let i=n;if(i+1>=r)return-1;let a=e.src.charCodeAt(i++);if(a<48||a>57)return-1;for(;;){if(i>=r)return-1;if(a=e.src.charCodeAt(i++),!(a>=48&&a<=57)){if(41===a||46===a)break;return-1}if(i-n>=10)return-1}return i<r&&(a=e.src.charCodeAt(i),!hx(a))?-1:i}var rk="<[A-Za-z][A-Za-z0-9\\-]*(?:\\s+[a-zA-Z_:][a-zA-Z0-9:._-]*(?:\\s*=\\s*(?:[^\"'=<>`\\x00-\\x20]+|'[^']*'|\"[^\"]*\"))?)*\\s*\\/?>",ik="<\\/[A-Za-z][A-Za-z0-9\\-]*\\s*>",ak=new RegExp(`^(?:${rk}|${ik}|\x3c!---?>|\x3c!--(?:[^-]|-[^-]|--[^>])*--\x3e|<[?][\\s\\S]*?[?]>|<![A-Za-z][^>]*>|<!\\[CDATA\\[[\\s\\S]*?\\]\\]>)`),ok=new RegExp(`^(?:${rk}|${ik})`),sk=[[/^<(script|pre|style|textarea)(?=(\s|>|$))/i,/<\/(script|pre|style|textarea)>/i,!0],[/^<!--/,/-->/,!0],[/^<\?/,/\?>/,!0],[/^<![A-Za-z]/,/>/,!0],[/^<!\[CDATA\[/,/\]\]>/,!0],[new RegExp(`^</?(${["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","nav","noframes","ol","optgroup","option","p","param","search","section","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"].join("|")})(?=(\\s|/?>|$))`,"i"),/^$/,!0],[new RegExp(`${ok.source}\\s*$`),/^$/,!1]];var lk=[["table",function(e,t,n,r){if(t+2>n)return!1;let i=t+1;if(e.sCount[i]<e.blkIndent)return!1;if(e.sCount[i]-e.blkIndent>=4)return!1;let a=e.bMarks[i]+e.tShift[i];if(a>=e.eMarks[i])return!1;const o=e.src.charCodeAt(a++);if(124!==o&&45!==o&&58!==o)return!1;if(a>=e.eMarks[i])return!1;const s=e.src.charCodeAt(a++);if(124!==s&&45!==s&&58!==s&&!hx(s))return!1;if(45===o&&hx(s))return!1;for(;a<e.eMarks[i];){const t=e.src.charCodeAt(a);if(124!==t&&45!==t&&58!==t&&!hx(t))return!1;a++}let l=Qx(e,t+1),c=l.split("|");const u=[];for(let e=0;e<c.length;e++){const t=c[e].trim();if(!t){if(0===e||e===c.length-1)continue;return!1}if(!/^:?-+:?$/.test(t))return!1;58===t.charCodeAt(t.length-1)?u.push(58===t.charCodeAt(0)?"center":"right"):58===t.charCodeAt(0)?u.push("left"):u.push("")}if(l=Qx(e,t).trim(),-1===l.indexOf("|"))return!1;if(e.sCount[t]-e.blkIndent>=4)return!1;c=ek(l),c.length&&""===c[0]&&c.shift(),c.length&&""===c[c.length-1]&&c.pop();const d=c.length;if(0===d||d!==u.length)return!1;if(r)return!0;const f=e.parentType;e.parentType="table";const h=e.md.block.ruler.getRules("blockquote"),p=[t,0];e.push("table_open","table",1).map=p,e.push("thead_open","thead",1).map=[t,t+1],e.push("tr_open","tr",1).map=[t,t+1];for(let t=0;t<c.length;t++){const n=e.push("th_open","th",1);u[t]&&(n.attrs=[["style",`text-align:${u[t]}`]]);const r=e.push("inline","",0);r.content=c[t].trim(),r.children=[],e.push("th_close","th",-1)}let g;e.push("tr_close","tr",-1),e.push("thead_close","thead",-1);let m=0;for(i=t+2;i<n&&!(e.sCount[i]<e.blkIndent);i++){let r=!1;for(let t=0,a=h.length;t<a;t++)if(h[t](e,i,n,!0)){r=!0;break}if(r)break;if(l=Qx(e,i).trim(),!l)break;if(e.sCount[i]-e.blkIndent>=4)break;if(c=ek(l),c.length&&""===c[0]&&c.shift(),c.length&&""===c[c.length-1]&&c.pop(),m+=d-c.length,m>65536)break;if(i===t+2){e.push("tbody_open","tbody",1).map=g=[t+2,0]}e.push("tr_open","tr",1).map=[i,i+1];for(let t=0;t<d;t++){const n=e.push("td_open","td",1);u[t]&&(n.attrs=[["style",`text-align:${u[t]}`]]);const r=e.push("inline","",0);r.content=c[t]?c[t].trim():"",r.children=[],e.push("td_close","td",-1)}e.push("tr_close","tr",-1)}return g&&(e.push("tbody_close","tbody",-1),g[1]=i),e.push("table_close","table",-1),p[1]=i,e.parentType=f,e.line=i,!0},["paragraph","reference"]],["code",function(e,t,n){if(e.sCount[t]-e.blkIndent<4)return!1;let r=t+1,i=r;for(;r<n;)if(e.isEmpty(r))r++;else{if(!(e.sCount[r]-e.blkIndent>=4))break;r++,i=r}e.line=i;const a=e.push("code_block","code",0);return a.content=e.getLines(t,i,4+e.blkIndent,!1)+"\n",a.map=[t,e.line],!0}],["fence",function(e,t,n,r){let i=e.bMarks[t]+e.tShift[t],a=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4)return!1;if(i+3>a)return!1;const o=e.src.charCodeAt(i);if(126!==o&&96!==o)return!1;let s=i;i=e.skipChars(i,o);let l=i-s;if(l<3)return!1;const c=e.src.slice(s,i),u=e.src.slice(i,a);if(96===o&&u.indexOf(String.fromCharCode(o))>=0)return!1;if(r)return!0;let d=t,f=!1;for(;(d++,!(d>=n))&&(i=s=e.bMarks[d]+e.tShift[d],a=e.eMarks[d],!(i<a&&e.sCount[d]<e.blkIndent));)if(e.src.charCodeAt(i)===o&&!(e.sCount[d]-e.blkIndent>=4||(i=e.skipChars(i,o),i-s<l||(i=e.skipSpaces(i),i<a)))){f=!0;break}l=e.sCount[t],e.line=d+(f?1:0);const h=e.push("fence","code",0);return h.info=u,h.content=e.getLines(t+1,d,l,!0),h.markup=c,h.map=[t,e.line],!0},["paragraph","reference","blockquote","list"]],["blockquote",function(e,t,n,r){let i=e.bMarks[t]+e.tShift[t],a=e.eMarks[t];const o=e.lineMax;if(e.sCount[t]-e.blkIndent>=4)return!1;if(62!==e.src.charCodeAt(i))return!1;if(r)return!0;const s=[],l=[],c=[],u=[],d=e.md.block.ruler.getRules("blockquote"),f=e.parentType;e.parentType="blockquote";let h,p=!1;for(h=t;h<n;h++){const t=e.sCount[h]<e.blkIndent;if(i=e.bMarks[h]+e.tShift[h],a=e.eMarks[h],i>=a)break;if(62===e.src.charCodeAt(i++)&&!t){let t,n,r=e.sCount[h]+1;32===e.src.charCodeAt(i)?(i++,r++,n=!1,t=!0):9===e.src.charCodeAt(i)?(t=!0,(e.bsCount[h]+r)%4==3?(i++,r++,n=!1):n=!0):t=!1;let o=r;for(s.push(e.bMarks[h]),e.bMarks[h]=i;i<a;){const t=e.src.charCodeAt(i);if(!hx(t))break;9===t?o+=4-(o+e.bsCount[h]+(n?1:0))%4:o++,i++}p=i>=a,l.push(e.bsCount[h]),e.bsCount[h]=e.sCount[h]+1+(t?1:0),c.push(e.sCount[h]),e.sCount[h]=o-r,u.push(e.tShift[h]),e.tShift[h]=i-e.bMarks[h];continue}if(p)break;let r=!1;for(let t=0,i=d.length;t<i;t++)if(d[t](e,h,n,!0)){r=!0;break}if(r){e.lineMax=h,0!==e.blkIndent&&(s.push(e.bMarks[h]),l.push(e.bsCount[h]),u.push(e.tShift[h]),c.push(e.sCount[h]),e.sCount[h]-=e.blkIndent);break}s.push(e.bMarks[h]),l.push(e.bsCount[h]),u.push(e.tShift[h]),c.push(e.sCount[h]),e.sCount[h]=-1}const g=e.blkIndent;e.blkIndent=0;const m=e.push("blockquote_open","blockquote",1);m.markup=">";const v=[t,0];m.map=v,e.md.block.tokenize(e,t,h),e.push("blockquote_close","blockquote",-1).markup=">",e.lineMax=o,e.parentType=f,v[1]=e.line;for(let n=0;n<u.length;n++)e.bMarks[n+t]=s[n],e.tShift[n+t]=u[n],e.sCount[n+t]=c[n],e.bsCount[n+t]=l[n];return e.blkIndent=g,!0},["paragraph","reference","blockquote","list"]],["hr",function(e,t,n,r){const i=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4)return!1;let a=e.bMarks[t]+e.tShift[t];const o=e.src.charCodeAt(a++);if(42!==o&&45!==o&&95!==o)return!1;let s=1;for(;a<i;){const t=e.src.charCodeAt(a++);if(t!==o&&!hx(t))return!1;t===o&&s++}if(s<3)return!1;if(r)return!0;e.line=t+1;const l=e.push("hr","hr",0);return l.map=[t,e.line],l.markup=Array(s+1).join(String.fromCharCode(o)),!0},["paragraph","reference","blockquote","list"]],["list",function(e,t,n,r){let i,a,o,s,l=t,c=!0;if(e.sCount[l]-e.blkIndent>=4)return!1;if(e.listIndent>=0&&e.sCount[l]-e.listIndent>=4&&e.sCount[l]<e.blkIndent)return!1;let u,d,f,h=!1;if(r&&"paragraph"===e.parentType&&e.sCount[l]>=e.blkIndent&&(h=!0),(f=nk(e,l))>=0){if(u=!0,o=e.bMarks[l]+e.tShift[l],d=Number(e.src.slice(o,f-1)),h&&1!==d)return!1}else{if(!((f=tk(e,l))>=0))return!1;u=!1}if(h&&e.skipSpaces(f)>=e.eMarks[l])return!1;if(r)return!0;const p=e.src.charCodeAt(f-1),g=e.tokens.length;u?(s=e.push("ordered_list_open","ol",1),1!==d&&(s.attrs=[["start",d]])):s=e.push("bullet_list_open","ul",1);const m=[l,0];s.map=m,s.markup=String.fromCharCode(p);let v=!1;const b=e.md.block.ruler.getRules("list"),y=e.parentType;for(e.parentType="list";l<n;){a=f,i=e.eMarks[l];const t=e.sCount[l]+f-(e.bMarks[l]+e.tShift[l]);let r=t;for(;a<i;){const t=e.src.charCodeAt(a);if(9===t)r+=4-(r+e.bsCount[l])%4;else{if(32!==t)break;r++}a++}const d=a;let h;h=d>=i?1:r-t,h>4&&(h=1);const g=t+h;s=e.push("list_item_open","li",1),s.markup=String.fromCharCode(p);const m=[l,0];s.map=m,u&&(s.info=e.src.slice(o,f-1));const y=e.tight,_=e.tShift[l],w=e.sCount[l],x=e.listIndent;if(e.listIndent=e.blkIndent,e.blkIndent=g,e.tight=!0,e.tShift[l]=d-e.bMarks[l],e.sCount[l]=r,d>=i&&e.isEmpty(l+1)?e.line=Math.min(e.line+2,n):e.md.block.tokenize(e,l,n),e.tight&&!v||(c=!1),v=e.line-l>1&&e.isEmpty(e.line-1),e.blkIndent=e.listIndent,e.listIndent=x,e.tShift[l]=_,e.sCount[l]=w,e.tight=y,s=e.push("list_item_close","li",-1),s.markup=String.fromCharCode(p),l=e.line,m[1]=l,l>=n)break;if(e.sCount[l]<e.blkIndent)break;if(e.sCount[l]-e.blkIndent>=4)break;let k=!1;for(let t=0,r=b.length;t<r;t++)if(b[t](e,l,n,!0)){k=!0;break}if(k)break;if(u){if(f=nk(e,l),f<0)break;o=e.bMarks[l]+e.tShift[l]}else if(f=tk(e,l),f<0)break;if(p!==e.src.charCodeAt(f-1))break}return s=u?e.push("ordered_list_close","ol",-1):e.push("bullet_list_close","ul",-1),s.markup=String.fromCharCode(p),m[1]=l,e.line=l,e.parentType=y,c&&function(e,t){const n=e.level+2;for(let r=t+2,i=e.tokens.length-2;r<i;r++)e.tokens[r].level===n&&"paragraph_open"===e.tokens[r].type&&(e.tokens[r+2].hidden=!0,e.tokens[r].hidden=!0,r+=2)}(e,g),!0},["paragraph","reference","blockquote"]],["reference",function(e,t,n,r){let i=e.bMarks[t]+e.tShift[t],a=e.eMarks[t],o=t+1;if(e.sCount[t]-e.blkIndent>=4)return!1;if(91!==e.src.charCodeAt(i))return!1;function s(t){const n=e.lineMax;if(t>=n||e.isEmpty(t))return null;let r=!1;if(e.sCount[t]-e.blkIndent>3&&(r=!0),e.sCount[t]<0&&(r=!0),!r){const r=e.md.block.ruler.getRules("reference"),i=e.parentType;e.parentType="reference";let a=!1;for(let i=0,o=r.length;i<o;i++)if(r[i](e,t,n,!0)){a=!0;break}if(e.parentType=i,a)return null}const i=e.bMarks[t]+e.tShift[t],a=e.eMarks[t];return e.src.slice(i,a+1)}let l=e.src.slice(i,a+1);a=l.length;let c=-1;for(i=1;i<a;i++){const e=l.charCodeAt(i);if(91===e)return!1;if(93===e){c=i;break}if(10===e){const e=s(o);null!==e&&(l+=e,a=l.length,o++)}else if(92===e&&(i++,i<a&&10===l.charCodeAt(i))){const e=s(o);null!==e&&(l+=e,a=l.length,o++)}}if(c<0||58!==l.charCodeAt(c+1))return!1;for(i=c+2;i<a;i++){const e=l.charCodeAt(i);if(10===e){const e=s(o);null!==e&&(l+=e,a=l.length,o++)}else if(!hx(e))break}const u=e.md.helpers.parseLinkDestination(l,i,a);if(!u.ok)return!1;const d=e.md.normalizeLink(u.str);if(!e.md.validateLink(d))return!1;i=u.pos;const f=i,h=o,p=i;for(;i<a;i++){const e=l.charCodeAt(i);if(10===e){const e=s(o);null!==e&&(l+=e,a=l.length,o++)}else if(!hx(e))break}let g,m=e.md.helpers.parseLinkTitle(l,i,a);for(;m.can_continue;){const t=s(o);if(null===t)break;l+=t,i=a,a=l.length,o++,m=e.md.helpers.parseLinkTitle(l,i,a,m)}for(i<a&&p!==i&&m.ok?(g=m.str,i=m.pos):(g="",i=f,o=h);i<a&&hx(l.charCodeAt(i));)i++;if(i<a&&10!==l.charCodeAt(i)&&g)for(g="",i=f,o=h;i<a&&hx(l.charCodeAt(i));)i++;if(i<a&&10!==l.charCodeAt(i))return!1;const v=bx(l.slice(1,c));if(!v)return!1;if(r)return!0;void 0===e.env.references&&(e.env.references={}),void 0===e.env.references[v]&&(e.env.references[v]={title:g,href:d});const b=e.push("reference_definition","",0);b.map=[t,o],b.hidden=!0;const y=Object.create(null);return y.label=v,b.meta=y,e.line=o,!0}],["html_block",function(e,t,n,r){let i=e.bMarks[t]+e.tShift[t],a=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4)return!1;if(!e.md.options.html)return!1;if(60!==e.src.charCodeAt(i))return!1;let o=e.src.slice(i,a),s=0;for(;s<sk.length&&!sk[s][0].test(o);s++);if(s===sk.length)return!1;if(r)return sk[s][2];let l=t+1;const c=sk[s][1].test("");if(!sk[s][1].test(o))for(;l<n&&(!(e.sCount[l]<e.blkIndent)||!c&&e.isEmpty(l));l++)if(i=e.bMarks[l]+e.tShift[l],a=e.eMarks[l],o=e.src.slice(i,a),sk[s][1].test(o)){0!==o.length&&l++;break}e.line=l;const u=e.push("html_block","",0);return u.map=[t,l],u.content=e.getLines(t,l,e.blkIndent,!0),!0},["paragraph","reference","blockquote"]],["heading",function(e,t,n,r){let i=e.bMarks[t]+e.tShift[t],a=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4)return!1;let o=e.src.charCodeAt(i);if(35!==o||i>=a)return!1;let s=1;for(o=e.src.charCodeAt(++i);35===o&&i<a&&s<=6;)s++,o=e.src.charCodeAt(++i);if(s>6||i<a&&!hx(o))return!1;if(r)return!0;a=e.skipSpacesBack(a,i);const l=e.skipCharsBack(a,35,i);l>i&&hx(e.src.charCodeAt(l-1))&&(a=l),e.line=t+1;const c=e.push("heading_open",`h${s}`,1);c.markup="########".slice(0,s),c.map=[t,e.line];const u=e.push("inline","",0);return u.content=_x(e.src.slice(i,a)),u.map=[t,e.line],u.children=[],e.push("heading_close",`h${s}`,-1).markup="########".slice(0,s),!0},["paragraph","reference","blockquote"]],["lheading",function(e,t,n){const r=e.md.block.ruler.getRules("paragraph");if(e.sCount[t]-e.blkIndent>=4)return!1;const i=e.parentType;e.parentType="paragraph";let a,o=0,s=t+1;for(;s<n&&!e.isEmpty(s);s++){if(e.sCount[s]-e.blkIndent>3)continue;if(e.sCount[s]>=e.blkIndent){let t=e.bMarks[s]+e.tShift[s];const n=e.eMarks[s];if(t<n&&(a=e.src.charCodeAt(t),(45===a||61===a)&&(t=e.skipChars(t,a),t=e.skipSpaces(t),t>=n))){o=61===a?1:2;break}}if(e.sCount[s]<0)continue;let t=!1;for(let i=0,a=r.length;i<a;i++)if(r[i](e,s,n,!0)){t=!0;break}if(t)break}if(!o)return e.parentType=i,!1;const l=_x(e.getLines(t,s,e.blkIndent,!1));e.line=s+1;const c=e.push("heading_open",`h${o}`,1);c.markup=String.fromCharCode(a),c.map=[t,e.line];const u=e.push("inline","",0);return u.content=l,u.map=[t,e.line-1],u.children=[],e.push("heading_close",`h${o}`,-1).markup=String.fromCharCode(a),e.parentType=i,!0}],["paragraph",function(e,t,n){const r=e.md.block.ruler.getRules("paragraph"),i=e.parentType;let a=t+1;for(e.parentType="paragraph";a<n&&!e.isEmpty(a);a++){if(e.sCount[a]-e.blkIndent>3)continue;if(e.sCount[a]<0)continue;let t=!1;for(let i=0,o=r.length;i<o;i++)if(r[i](e,a,n,!0)){t=!0;break}if(t)break}const o=_x(e.getLines(t,a,e.blkIndent,!1));e.line=a,e.push("paragraph_open","p",1).map=[t,e.line];const s=e.push("inline","",0);return s.content=o,s.map=[t,e.line],s.children=[],e.push("paragraph_close","p",-1),e.parentType=i,!0}]],ck=class{constructor(){Mx(this,"ruler",new Tx),Mx(this,"State",Kx);for(let e=0;e<lk.length;e++)this.ruler.push(lk[e][0],lk[e][1],{alt:(lk[e][2]||[]).slice()})}tokenize(e,t,n){const r=this.ruler.getRules(""),i=r.length,a=e.md.options.maxNesting;let o=t,s=!1;for(;o<n&&(e.line=o=e.skipEmptyLines(o),!(o>=n))&&!(e.sCount[o]<e.blkIndent);){if(e.level>=a){e.line=n;break}const t=e.line;let l=!1;for(let a=0;a<i;a++)if(l=r[a](e,o,n,!1),l){if(t>=e.line)throw new Error("block rule didn't increment state.line");break}if(!l)throw new Error("none of the block rules matched");e.tight=!s,e.isEmpty(e.line-1)&&(s=!0),o=e.line,o<n&&e.isEmpty(o)&&(s=!0,o++,e.line=o)}}parse(e,t,n,r){if(!e)return;const i=new this.State(e,t,n,r);this.tokenize(i,i.line,i.lineMax)}},uk=class{constructor(e,t,n,r){Mx(this,"pos",0),Mx(this,"level",0),Mx(this,"pending",""),Mx(this,"pendingLevel",0),Mx(this,"cache",{}),Mx(this,"backticks",{}),Mx(this,"backticksScanned",!1),Mx(this,"linkLevel",0),Mx(this,"delimiters",[]),Mx(this,"_prev_delimiters",[]),Mx(this,"Token",Rx),this.src=e,this.env=n,this.md=t,this.tokens=r,this.tokens_meta=Array(r.length),this.posMax=this.src.length}pushPending(){const e=new Rx("text","",0);return e.content=this.pending,e.level=this.pendingLevel,this.tokens.push(e),this.pending="",e}push(e,t,n){this.pending&&this.pushPending();const r=new Rx(e,t,n);let i;return n<0&&(this.level--,this.delimiters=this._prev_delimiters.pop()),r.level=this.level,n>0&&(this.level++,this._prev_delimiters.push(this.delimiters),this.delimiters=[],i={delimiters:this.delimiters}),this.pendingLevel=this.level,this.tokens.push(r),this.tokens_meta.push(i),r}scanDelims(e,t){const n=this.posMax,r=this.src.charCodeAt(e);let i;if(0===e)i=32;else if(1===e)i=this.src.charCodeAt(0),55296==(63488&i)&&(i=65533);else if(i=this.src.charCodeAt(e-1),56320==(64512&i)){const t=this.src.charCodeAt(e-2);i=55296==(64512&t)?65536+(t-55296<<10)+(i-56320):65533}else 55296==(64512&i)&&(i=65533);let a=e;for(;a<n&&this.src.charCodeAt(a)===r;)a++;const o=a-e;let s=a<n?this.src.charCodeAt(a):32;if(55296==(64512&s)){const e=this.src.charCodeAt(a+1);s=56320==(64512&e)?65536+(s-55296<<10)+(e-56320):65533}else 56320==(64512&s)&&(s=65533);const l=vx(i)||mx(i),c=vx(s)||mx(s),u=px(i),d=px(s),f=!d&&(!c||u||l),h=!u&&(!l||d||c);return{can_open:f&&(t||!h||l),can_close:h&&(t||!f||c),length:o}}};function dk(e){switch(e){case 10:case 33:case 35:case 36:case 37:case 38:case 42:case 43:case 45:case 58:case 60:case 61:case 62:case 64:case 91:case 92:case 93:case 94:case 95:case 96:case 123:case 125:case 126:return!0;default:return!1}}function fk(e){return e>=65&&e<=90||e>=97&&e<=122||e>=48&&e<=57||43===e||45===e||46===e}var hk=[];for(let e=0;e<256;e++)hk.push(0);function pk(e,t){let n;const r=[],i=t.length;for(let a=0;a<i;a++){const i=t[a];if(126!==i.marker)continue;if(-1===i.end)continue;const o=t[i.end];n=e.tokens[i.token],n.type="s_open",n.tag="s",n.nesting=1,n.markup="~~",n.content="",n=e.tokens[o.token],n.type="s_close",n.tag="s",n.nesting=-1,n.markup="~~",n.content="","text"===e.tokens[o.token-1].type&&"~"===e.tokens[o.token-1].content&&r.push(o.token-1)}for(;r.length;){const t=r.pop();let i=t+1;for(;i<e.tokens.length&&"s_close"===e.tokens[i].type;)i++;i--,t!==i&&(n=e.tokens[i],e.tokens[i]=e.tokens[t],e.tokens[t]=n)}}"\\!\"#$%&'()*+,./:;<=>?@[]^_`{|}~-".split("").forEach((function(e){hk[e.charCodeAt(0)]=1}));var gk={tokenize:function(e,t){const n=e.pos,r=e.src.charCodeAt(n);if(t)return!1;if(126!==r)return!1;const i=e.scanDelims(e.pos,!0);let a=i.length;const o=String.fromCharCode(r);if(a<2)return!1;let s;a%2&&(s=e.push("text","",0),s.content=o,a--);for(let t=0;t<a;t+=2)s=e.push("text","",0),s.content=o+o,e.delimiters.push({marker:r,length:0,token:e.tokens.length-1,end:-1,open:i.can_open,close:i.can_close});return e.pos+=i.length,!0},postProcess:function(e){const t=e.tokens_meta,n=e.tokens_meta.length;pk(e,e.delimiters);for(let i=0;i<n;i++){var r;const n=null===(r=t[i])||void 0===r?void 0:r.delimiters;n&&pk(e,n)}}};function mk(e,t){for(let n=t.length-1;n>=0;n--){const r=t[n];if(95!==r.marker&&42!==r.marker)continue;if(-1===r.end)continue;const i=t[r.end],a=n>0&&t[n-1].end===r.end+1&&t[n-1].marker===r.marker&&t[n-1].token===r.token-1&&t[r.end+1].token===i.token+1,o=String.fromCharCode(r.marker),s=e.tokens[r.token];s.type=a?"strong_open":"em_open",s.tag=a?"strong":"em",s.nesting=1,s.markup=a?o+o:o,s.content="";const l=e.tokens[i.token];l.type=a?"strong_close":"em_close",l.tag=a?"strong":"em",l.nesting=-1,l.markup=a?o+o:o,l.content="",a&&(e.tokens[t[n-1].token].content="",e.tokens[t[r.end+1].token].content="",n--)}}var vk={tokenize:function(e,t){const n=e.pos,r=e.src.charCodeAt(n);if(t)return!1;if(95!==r&&42!==r)return!1;const i=e.scanDelims(e.pos,42===r);for(let t=0;t<i.length;t++){e.push("text","",0).content=String.fromCharCode(r),e.delimiters.push({marker:r,length:i.length,token:e.tokens.length-1,end:-1,open:i.can_open,close:i.can_close})}return e.pos+=i.length,!0},postProcess:function(e){const t=e.tokens_meta,n=e.tokens_meta.length;mk(e,e.delimiters);for(let i=0;i<n;i++){var r;const n=null===(r=t[i])||void 0===r?void 0:r.delimiters;n&&mk(e,n)}}};var bk=/^([a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*)$/,yk=/^([a-zA-Z][a-zA-Z0-9+.-]{1,31}):([^<>\x00-\x20]*)$/;var _k=/^&#((?:x[a-f0-9]{1,6}|[0-9]{1,7}));/i,wk=/^&([a-z][a-z0-9]{1,31});/i;function xk(e){const t={},n=e.length;if(!n)return;let r=0,i=-2;const a=[];for(let o=0;o<n;o++){const n=e[o];if(a.push(0),e[r].marker===n.marker&&i===n.token-1||(r=o),i=n.token,n.length=n.length||0,!n.close)continue;t.hasOwnProperty(n.marker)||(t[n.marker]=[-1,-1,-1,-1,-1,-1]);const s=t[n.marker][(n.open?3:0)+n.length%3];let l=r-a[r]-1,c=l;for(;l>s;l-=a[l]+1){const t=e[l];if(t.marker===n.marker&&(t.open&&t.end<0)){let r=!1;if((t.close||n.open)&&(t.length+n.length)%3==0&&(t.length%3==0&&n.length%3==0||(r=!0)),!r){const r=l>0&&!e[l-1].open?a[l-1]+1:0;a[o]=o-l+r,a[l]=r,n.open=!1,t.end=o,t.close=!1,c=-1,i=-2;break}}}-1!==c&&(t[n.marker][(n.open?3:0)+(n.length||0)%3]=c)}}var kk=[["text",function(e,t){let n=e.pos;for(;n<e.posMax&&!dk(e.src.charCodeAt(n));)n++;return n!==e.pos&&(t||(e.pending+=e.src.slice(e.pos,n)),e.pos=n,!0)}],["linkify",function(e,t){if(!e.md.options.linkify)return!1;if(e.linkLevel>0)return!1;const n=e.pos;if(n+3>e.posMax)return!1;if(58!==e.src.charCodeAt(n))return!1;if(47!==e.src.charCodeAt(n+1))return!1;if(47!==e.src.charCodeAt(n+2))return!1;const r=n-Math.min(10,e.pending.length,n);let i=n;for(;i>r&&fk(e.src.charCodeAt(i-1));)i--;if(i===n||!function(e){return e>=65&&e<=90||e>=97&&e<=122}(e.src.charCodeAt(i)))return!1;const a=n-i,o=e.md.linkify.matchAtStart(e.src.slice(i));if(!o)return!1;let s=o.url;if(s.length<=a)return!1;let l=s.length;for(;l>0&&42===s.charCodeAt(l-1);)l--;l!==s.length&&(s=s.slice(0,l));const c=e.md.normalizeLink(s);if(!e.md.validateLink(c))return!1;if(!t){e.pending=e.pending.slice(0,-a);const t=e.push("link_open","a",1);t.attrs=[["href",c]],t.markup="linkify",t.info="auto";e.push("text","",0).content=e.md.normalizeLinkText(s);const n=e.push("link_close","a",-1);n.markup="linkify",n.info="auto"}return e.pos+=s.length-a,!0}],["newline",function(e,t){let n=e.pos;if(10!==e.src.charCodeAt(n))return!1;const r=e.pending.length-1,i=e.posMax;if(!t)if(r>=0&&32===e.pending.charCodeAt(r))if(r>=1&&32===e.pending.charCodeAt(r-1)){let t=r-1;for(;t>=1&&32===e.pending.charCodeAt(t-1);)t--;e.pending=e.pending.slice(0,t),e.push("hardbreak","br",0)}else e.pending=e.pending.slice(0,-1),e.push("softbreak","br",0);else e.push("softbreak","br",0);for(n++;n<i&&hx(e.src.charCodeAt(n));)n++;return e.pos=n,!0}],["escape",function(e,t){let n=e.pos;const r=e.posMax;if(92!==e.src.charCodeAt(n))return!1;if(n++,n>=r)return!1;let i=e.src.charCodeAt(n);if(10===i){for(t||e.push("hardbreak","br",0),n++;n<r&&(i=e.src.charCodeAt(n),hx(i));)n++;return e.pos=n,!0}if(32===i){if(!t){const t=e.push("text_special","",0);t.content="\\",t.markup="\\",t.info="escape"}return e.pos=n,!0}let a=e.src[n];if(i>=55296&&i<=56319&&n+1<r){const t=e.src.charCodeAt(n+1);t>=56320&&t<=57343&&(a+=e.src[n+1],n++)}const o="\\"+a;if(!t){const t=e.push("text_special","",0);i<256&&0!==hk[i]?t.content=a:t.content=o,t.markup=o,t.info="escape"}return e.pos=n+1,!0}],["backticks",function(e,t){var n;const r=e.pos;if(96!==e.src.charCodeAt(r))return!1;const i=e.posMax;let a=r+1;for(;a<i&&96===e.src.charCodeAt(a);)a++;const o=e.src.slice(r,a),s=o.length;if(e.backticksScanned||(e.backticks=function(e){const t={};let n=0;for(;-1!==(n=e.indexOf("`",n));){const r=n;for(;96===e.charCodeAt(++n););t[n-r]=r}return t}(e.src),e.backticksScanned=!0),(null!==(n=e.backticks[s])&&void 0!==n?n:-1)>=a){let n,r=a;for(;-1!==(n=e.src.indexOf("`",r))&&n<i;){for(r=n+1;96===e.src.charCodeAt(r);)r++;if(r>i)break;if(r-n===s){if(!t){const t=e.push("code_inline","code",0);t.markup=o;let r=e.src.slice(a,n).replace(/\n/g," ");r.startsWith(" ")&&r.endsWith(" ")&&/[^ ]/.test(r)&&(r=r.slice(1,-1)),t.content=r}return e.pos=r,!0}}}return t||(e.pending+=o),e.pos=a,!0}],["strikethrough",gk.tokenize],["emphasis",vk.tokenize],["link",function(e,t){let n,r,i,a,o="",s="",l=e.pos,c=!0;if(91!==e.src.charCodeAt(e.pos))return!1;const u=e.pos,d=e.posMax,f=e.pos+1,h=e.md.helpers.parseLinkLabel(e,e.pos,!0);if(h<0)return!1;let p=h+1;if(p<d&&40===e.src.charCodeAt(p)){for(c=!1,p++;p<d&&(n=e.src.charCodeAt(p),hx(n)||10===n);p++);if(p>=d)return!1;if(l=p,i=e.md.helpers.parseLinkDestination(e.src,p,e.posMax),i.ok){for(o=e.md.normalizeLink(i.str),e.md.validateLink(o)?p=i.pos:o="",l=p;p<d&&(n=e.src.charCodeAt(p),hx(n)||10===n);p++);if(i=e.md.helpers.parseLinkTitle(e.src,p,e.posMax),p<d&&l!==p&&i.ok)for(s=i.str,p=i.pos;p<d&&(n=e.src.charCodeAt(p),hx(n)||10===n);p++);}(p>=d||41!==e.src.charCodeAt(p))&&(c=!0),p++}if(c){if(void 0===e.env.references)return!1;if(p<d&&91===e.src.charCodeAt(p)?(l=p+1,p=e.md.helpers.parseLinkLabel(e,p),p>=0?r=e.src.slice(l,p++):p=h+1):p=h+1,r||(r=e.src.slice(f,h)),r=bx(r),a=e.env.references[r],!a)return e.pos=u,!1;o=a.href,s=a.title}if(!t){e.pos=f,e.posMax=h;const t=e.push("link_open","a",1),n=[["href",o]];if(t.attrs=n,s&&n.push(["title",s]),r){const e=Object.create(null);e.label=r,t.meta=e}e.linkLevel++,e.md.inline.tokenize(e),e.linkLevel--,e.push("link_close","a",-1)}return e.pos=p,e.posMax=d,!0}],["image",function(e,t){let n,r,i,a,o,s,l,c,u="";const d=e.pos,f=e.posMax;if(33!==e.src.charCodeAt(e.pos))return!1;if(91!==e.src.charCodeAt(e.pos+1))return!1;const h=e.pos+2,p=e.md.helpers.parseLinkLabel(e,e.pos+1,!1);if(p<0)return!1;if(a=p+1,a<f&&40===e.src.charCodeAt(a)){for(a++;a<f&&(n=e.src.charCodeAt(a),hx(n)||10===n);a++);if(a>=f)return!1;for(c=a,s=e.md.helpers.parseLinkDestination(e.src,a,e.posMax),s.ok&&(u=e.md.normalizeLink(s.str),e.md.validateLink(u)?a=s.pos:u=""),c=a;a<f&&(n=e.src.charCodeAt(a),hx(n)||10===n);a++);if(s=e.md.helpers.parseLinkTitle(e.src,a,e.posMax),a<f&&c!==a&&s.ok)for(l=s.str,a=s.pos;a<f&&(n=e.src.charCodeAt(a),hx(n)||10===n);a++);else l="";if(a>=f||41!==e.src.charCodeAt(a))return e.pos=d,!1;a++}else{if(void 0===e.env.references)return!1;if(a<f&&91===e.src.charCodeAt(a)?(c=a+1,a=e.md.helpers.parseLinkLabel(e,a),a>=0?i=e.src.slice(c,a++):a=p+1):a=p+1,i||(i=e.src.slice(h,p)),i=bx(i),o=e.env.references[i],!o)return e.pos=d,!1;u=o.href,l=o.title}if(!t){r=e.src.slice(h,p);const t=[];e.md.inline.parse(r,e.md,e.env,t);const n=e.push("image","img",0),a=[["src",u],["alt",""]];if(n.attrs=a,n.children=t,n.content=r,l&&a.push(["title",l]),i){const e=Object.create(null);e.label=i,n.meta=e}}return e.pos=a,e.posMax=f,!0}],["autolink",function(e,t){let n=e.pos;if(60!==e.src.charCodeAt(n))return!1;const r=e.pos,i=e.posMax;for(;;){if(++n>=i)return!1;const t=e.src.charCodeAt(n);if(60===t)return!1;if(62===t)break}const a=e.src.slice(r+1,n);if(yk.test(a)){const n=e.md.normalizeLink(a);if(!e.md.validateLink(n))return!1;if(!t){const t=e.push("link_open","a",1);t.attrs=[["href",n]],t.markup="autolink",t.info="auto";e.push("text","",0).content=e.md.normalizeLinkText(a);const r=e.push("link_close","a",-1);r.markup="autolink",r.info="auto"}return e.pos+=a.length+2,!0}if(bk.test(a)){const n=e.md.normalizeLink(`mailto:${a}`);if(!e.md.validateLink(n))return!1;if(!t){const t=e.push("link_open","a",1);t.attrs=[["href",n]],t.markup="autolink",t.info="auto";e.push("text","",0).content=e.md.normalizeLinkText(a);const r=e.push("link_close","a",-1);r.markup="autolink",r.info="auto"}return e.pos+=a.length+2,!0}return!1}],["html_inline",function(e,t){if(!e.md.options.html)return!1;const n=e.posMax,r=e.pos;if(60!==e.src.charCodeAt(r)||r+2>=n)return!1;const i=e.src.charCodeAt(r+1);if(33!==i&&63!==i&&47!==i&&!function(e){const t=32|e;return t>=97&&t<=122}(i))return!1;const a=e.src.slice(r).match(ak);if(!a)return!1;if(!t){const t=e.push("html_inline","",0);t.content=a[0],o=t.content,/^<a[>\s]/i.test(o)&&e.linkLevel++,function(e){return/^<\/a\s*>/i.test(e)}(t.content)&&e.linkLevel--}var o;return e.pos+=a[0].length,!0}],["entity",function(e,t){const n=e.pos,r=e.posMax;if(38!==e.src.charCodeAt(n))return!1;if(n+1>=r)return!1;if(35===e.src.charCodeAt(n+1)){const r=e.src.slice(n).match(_k);if(r){if(!t){const t="x"===r[1][0].toLowerCase()?parseInt(r[1].slice(1),16):parseInt(r[1],10),n=e.push("text_special","",0);n.content=Qw(t)?ex(t):ex(65533),n.markup=r[0],n.info="entity"}return e.pos+=r[0].length,!0}}else{const r=e.src.slice(n).match(wk);if(r){const n=Cw(r[0]);if(n!==r[0]){if(!t){const t=e.push("text_special","",0);t.content=n,t.markup=r[0],t.info="entity"}return e.pos+=r[0].length,!0}}}return!1}]],Ck=[["balance_pairs",function(e){const t=e.tokens_meta,n=e.tokens_meta.length;xk(e.delimiters);for(let e=0;e<n;e++){var r;const n=null===(r=t[e])||void 0===r?void 0:r.delimiters;n&&xk(n)}}],["strikethrough",gk.postProcess],["emphasis",vk.postProcess],["fragments_join",function(e){let t,n,r=0;const i=e.tokens,a=e.tokens.length;for(t=n=0;t<a;t++)i[t].nesting<0&&r--,i[t].level=r,i[t].nesting>0&&r++,"text"===i[t].type&&t+1<a&&"text"===i[t+1].type?i[t+1].content=i[t].content+i[t+1].content:(t!==n&&(i[n]=i[t]),n++);t!==n&&(i.length=n)}]],Ak=class{constructor(){Mx(this,"ruler",new Tx),Mx(this,"ruler2",new Tx),Mx(this,"State",uk);for(let e=0;e<kk.length;e++)this.ruler.push(kk[e][0],kk[e][1]);for(let e=0;e<Ck.length;e++)this.ruler2.push(Ck[e][0],Ck[e][1])}skipToken(e){const t=e.pos,n=this.ruler.getRules(""),r=n.length,i=e.md.options.maxNesting,a=e.cache;if(void 0!==a[t])return void(e.pos=a[t]);let o=!1;if(e.level<i){for(let i=0;i<r;i++)if(e.level++,o=n[i](e,!0),e.level--,o){if(t>=e.pos)throw new Error("inline rule didn't increment state.pos");break}}else e.pos=e.posMax;o||e.pos++,a[t]=e.pos}tokenize(e){const t=this.ruler.getRules(""),n=t.length,r=e.posMax,i=e.md.options.maxNesting;for(;e.pos<r;){const a=e.pos;let o=!1;if(e.level<i)for(let r=0;r<n;r++)if(o=t[r](e,!1),o){if(a>=e.pos)throw new Error("inline rule didn't increment state.pos");break}if(o){if(e.pos>=r)break}else e.pending+=e.src[e.pos++]}e.pending&&e.pushPending()}parse(e,t,n,r){const i=new this.State(e,t,n,r);this.tokenize(i);const a=this.ruler2.getRules(""),o=a.length;for(let e=0;e<o;e++)a[e](i)}},Sk={default:{options:{html:!1,xhtmlOut:!1,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:100},components:{core:{},block:{},inline:{}}},zero:{options:{html:!1,xhtmlOut:!1,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:20},components:{core:{rules:["normalize","block","strip_references","inline","text_join"]},block:{rules:["paragraph"]},inline:{rules:["text"],rules2:["balance_pairs","fragments_join"]}}},commonmark:{options:{html:!0,xhtmlOut:!0,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:20},components:{core:{rules:["normalize","block","strip_references","inline","text_join"]},block:{rules:["blockquote","code","fence","heading","hr","html_block","lheading","list","reference","paragraph"]},inline:{rules:["autolink","backticks","emphasis","entity","escape","html_inline","image","link","newline","text"],rules2:["balance_pairs","emphasis","fragments_join"]}}}},Ek=/^(vbscript|javascript|file|data):/,Mk=/^data:image\/(gif|png|jpeg|webp);/,Rk=["http:","https:","mailto:"],Tk=class{validateLink(e){const t=e.trim().toLowerCase();return!Ek.test(t)||Mk.test(t)}normalizeLink(e){const t=K_(e,!0);if(t.hostname&&(!t.protocol||Rk.indexOf(t.protocol)>=0))try{t.hostname=Vw(t.hostname)}catch(e){}return t.auth&&(t.auth=j_(t.auth)),t.hostname&&(t.hostname=j_(t.hostname)),t.pathname&&(t.pathname=j_(t.pathname)),t.search&&(t.search=j_(t.search)),t.hash&&(t.hash=j_(t.hash)),I_(t)}normalizeLinkText(e){const t=K_(e,!0);if(t.hostname&&(!t.protocol||Rk.indexOf(t.protocol)>=0))try{t.hostname=Yw(t.hostname)}catch(e){}return P_(I_(t),P_.defaultChars+"%")}constructor(...e){Mx(this,"inline",new Ak),Mx(this,"block",new ck),Mx(this,"core",new Zx),Mx(this,"renderer",new Dx),Mx(this,"linkify",new Tw),Mx(this,"utils",Jw),Mx(this,"helpers",Object.assign({},Ax));const[t,n]=e;"string"==typeof t?(this.configure(t),n&&this.set(n)):(this.configure("default"),this.set(t||{}))}set(e){return Object.assign(this.options,e),this}configure(e){let t;if("string"==typeof e){if(t=Sk[e],!t)throw new Error(`Wrong 'markdown-it' preset "${e}", check name`)}else t=e;if(!t)throw new Error("Wrong `markdown-it` preset, can't be empty");t.options&&(this.options={...t.options});const n=t.components;if(n){var r;["core","block","inline"].forEach((e=>{var t;const r=null===(t=n[e])||void 0===t?void 0:t.rules;r&&this[e].ruler.enableOnly(r)}));const e=null===(r=n.inline)||void 0===r?void 0:r.rules2;e&&this.inline.ruler2.enableOnly(e)}return this}enable(e,t=!1){let n=[];Array.isArray(e)||(e=[e]),["core","block","inline"].forEach((t=>{n=n.concat(this[t].ruler.enable(e,!0))})),n=n.concat(this.inline.ruler2.enable(e,!0));const r=e.filter((e=>n.indexOf(e)<0));if(r.length&&!t)throw new Error(`MarkdownIt. Failed to enable unknown rule(s): ${r}`);return this}disable(e,t=!1){let n=[];Array.isArray(e)||(e=[e]),["core","block","inline"].forEach((t=>{n=n.concat(this[t].ruler.disable(e,!0))})),n=n.concat(this.inline.ruler2.disable(e,!0));const r=e.filter((e=>n.indexOf(e)<0));if(r.length&&!t)throw new Error(`MarkdownIt. Failed to disable unknown rule(s): ${r}`);return this}use(e,...t){return e.apply(e,[this,...t]),this}parse(e,t){if("string"!=typeof e)throw new Error("Input data should be a String");const n=new this.core.State(e,this,t);return this.core.process(n),n.tokens}render(e,t={}){return this.renderer.render(this.parse(e,t),this.options,t)}parseInline(e,t){const n=new this.core.State(e,this,t);return n.inlineMode=!0,this.core.process(n),n.tokens}renderInline(e,t={}){return this.renderer.render(this.parseInline(e,t),this.options,t)}};Mx(Tk,"Token",Rx),Mx(Tk,"Ruler",Tx),Mx(Tk,"Renderer",Dx),Mx(Tk,"ParserCore",Zx),Mx(Tk,"StateCore",Ox),Mx(Tk,"ParserBlock",ck),Mx(Tk,"StateBlock",Kx),Mx(Tk,"ParserInline",Ak),Mx(Tk,"StateInline",uk);var Lk=Zw(Tk);const Dk=new Lk,Ok=({attachment:e})=>{const[t,n]=A(""),[r,i]=A(0),a=Zg.value.current,o=e.text??"",s=R((()=>o?dg(Dk.render(o)):""),[o]);S((()=>{if(!s)return void n("");const e=(e=>{if("undefined"==typeof globalThis||!globalThis.document)return"";const t=globalThis.getComputedStyle(globalThis.document.documentElement);return Array.from(new Set(e.match(/--[\w-]+/g)??[])).map((e=>{const n=t.getPropertyValue(e).trim(),r=em(n,t,new Set([e])).trim();return r?`${e}: ${r};`:""})).filter(Boolean).join("\n")})(Kg),t=new Blob([`<!DOCTYPE html>\n<html data-theme="${a}">\n <head>\n <meta charset="utf-8">\n <style>:root {${e}}</style>\n <style>${Kg}</style>\n <style>html, body { margin: 0; } body { padding: 8px 0; }</style>\n </head>\n <body>${s}</body>\n</html>`],{type:"text/html"}),r=URL.createObjectURL(t);return n(r),()=>URL.revokeObjectURL(r)}),[a,s]);return s?yi("div",{className:av["markdown-attachment-preview"],"data-testid":"markdown-attachment-preview",children:t&&yi("iframe",{title:"Markdown attachment",src:t,width:"100%",height:r||void 0,frameBorder:0,sandbox:"allow-same-origin",onLoad:e=>{const t=e.currentTarget;i((e=>{const t=e.contentDocument?.documentElement,n=e.contentDocument?.body,r=n?.getBoundingClientRect().height??0,i=Math.max(n?.scrollHeight??0,t?.scrollHeight??0),a=Math.max(n?.offsetHeight??0,t?.offsetHeight??0);return Math.ceil(Math.max(r,i,a))})(t))}})}):null};let Fk,zk=Promise.resolve();const Pk=(e,t,n="default")=>{const r=async()=>{const r=await(Fk??=(async()=>{const{default:e}=await import("mermaid");return e})());r.mermaidAPI.globalReset(),r.initialize({securityLevel:"strict",startOnLoad:!1,suppressErrorRendering:!0,theme:n});const{svg:i}=await r.render(e,t);return(e=>{const t=e.match(/\bviewBox="([^"]+)"/)?.[1],n=t?.trim().split(/\s+/)[2];return!n||!Number.isFinite(Number(n))||Number(n)<=0?e:e.replace(/(<svg\b[^>]*\s)width="100%"/,`$1width="${n}"`)})(i)},i=zk.then(r,r);return zk=i.then((()=>{}),(()=>{})),i};let Nk=0;const jk=()=>"undefined"!=typeof document&&"dark"===document.documentElement.dataset.theme?"dark":"light",Ik=({attachment:e})=>{const t=R((()=>"allure-mermaid-"+ ++Nk),[]),[n,r]=A(""),[i,a]=A(!1),[o,s]=A(jk),l=e.text??"";return S((()=>{const e=new MutationObserver((()=>s(jk())));return e.observe(document.documentElement,{attributeFilter:["data-theme"]}),()=>e.disconnect()}),[]),S((()=>{let e=!0;return r(""),a(!1),l.trim()?(Pk(t,l,"dark"===o?"dark":"default").then((t=>{e&&r(t)})).catch((()=>{e&&a(!0)})),()=>{e=!1}):()=>{e=!1}}),[o,l,t]),l.trim()?i?yi(iv,{description:"Failed to render Mermaid diagram",size:"xs"}):yi("div",n?{className:av["mermaid-attachment-preview"],"data-testid":"mermaid-attachment-preview",dangerouslySetInnerHTML:{__html:n}}:{className:av["mermaid-attachment-loading"],"data-testid":"mermaid-attachment-loading",children:yi(ki,{})}):null},Bk={image:dv,svg:dv,json:uv,code:uv,uri:uv,css:uv,table:ky,html:uv,markdown:uv,text:uv,video:Cy,"image-diff":e=>{const{attachment:t,i18n:n}=e;return t&&"diff"in t?yi("div",{className:av.imageDiffWrapper,children:yi(wy,{diff:t.diff,i18n:n})}):yi(ki,{})},http:F_,mermaid:uv,archive:null},Wk={html:Ty,markdown:Ok,mermaid:Ik},$k=new Set(["html","markdown","mermaid"]),qk=e=>{const{item:t,previewable:n,highlightCode:r=!0,i18n:i}=e,{link:{contentType:a,id:o,ext:s}}=t,l=O(null),c=O(!0),u=O(!1),d=Ro(a),f=E((async()=>{c.value=!0,u.value=!1;try{const e=await(async(e,t,n)=>{if(!e&&!t)return null;const r=await wo({id:e,ext:t,contentType:n}),i=Ro(n);if(!r.ok)throw new Error("Failed to fetch");switch(i){case"svg":case"image":{const t=await r.blob();return{img:URL.createObjectURL(t),id:e}}case"uri":case"code":case"html":case"markdown":case"mermaid":case"table":case"text":return{text:await r.text()};case"video":{const t=await r.blob();return{src:URL.createObjectURL(t),id:e,contentType:n}}case"image-diff":return{diff:await r.json()};case"http":return{http:await r.json()};default:return null}})(o,s,a);F((()=>{c.value=!1,l.value=e}))}catch{F((()=>{c.value=!1,u.value=!0}))}}),[o,s,a,c,l,u]);if(S((()=>{d&&f()}),[d,f]),!d)return null;if(c.value)return yi("div",{className:av["test-result-spinner"],children:yi(ki,{})});if(u.value)return yi(iv,{description:"Failed to load attachment",size:"xs",children:yi(Ti,{style:"flat",icon:wi.lineArrowsRefreshCcw1,onClick:f})});const h=Wk[d],p=Bk[d],g=i?.["image-diff"===d?"imageDiff":d],m=e=>e===uv?i?.controls:g;if($k.has(d)&&h&&p){const e=p===uv,i=!!n;return yi("div",{className:av.attachmentViewStack,children:[yi("div",{className:av.attachmentViewPane,hidden:i,children:yi(p,{attachment:l.value,item:t,i18n:m(p),...e?{highlight:r}:{}})}),yi("div",{className:av.attachmentViewPane,hidden:!i,children:yi(h,{attachment:l.value,item:t,i18n:m(h)})})]})}if(n&&h)return yi(h,{attachment:l.value,item:t,i18n:m(h)});if(!p)return null;const v=p===uv;return yi(p,{attachment:l.value,item:t,i18n:m(p),...v?{highlight:r}:{}})},Hk=({children:e})=>yi("div",{className:av["wrong-attachment-sign"],children:e}),Uk=({code:e,children:t,className:n})=>(S((()=>{Y.highlightAll()}),[]),yi("pre",{className:ae("language-text line-numbers language-diff",n),children:[e&&yi("code",{children:e}),t]}));var Vk="styles_modal-overlay__xdM2o",Yk="styles_modal-content__2yYdb",Gk="styles_modal-wrapper__KacuO",Xk="styles_modal-wrapper-fullscreen__11W3U",Jk="styles_modal-data-component__3HBgz",Zk="styles_modal-buttons__OBqaM",Kk="styles_syntax-highlight-off__q6J31",Qk="styles_modal-data__tEK64",eC="styles_modal-header__IcCg9",tC="styles_modal-thumb__O5sLe",nC="styles_active__YdnV4",rC="styles_modal-gallery__w0J0I";const iC=({changeThumb:e,children:t,isActiveThumb:n})=>yi("div",{className:ae(tC,{[nC]:n}),onClick:()=>()=>e?.(),children:t}),aC=({attachments:e=[]})=>{const t=e?.filter((({link:{contentType:e}})=>{const t=Ro(e);return!["archive",null].includes(t)}));return yi("div",{className:rC,children:t?.map((e=>yi(iC,{item:e,children:yi(qk,{item:e})},e?.link?.id)))})},oC=({data:e,isModalOpen:t,preview:n,component:r,attachments:i,closeModal:a,translations:o,title:s})=>{const{tooltipPreview:l,tooltipSyntaxHighlight:c,tooltipDownload:u,openInNewTabButton:d}=o,{link:f}=e||{},[h,p]=A(!1),[g,m]=A(!!n),[v,b]=A(!0),y=f?.contentType?.startsWith("image"),_=(e=>!!e&&Co.includes(e.split(";")[0].trim().toLowerCase()))(f?.contentType),w=!(y||f?.contentType?.startsWith("video")||_&&g),x=(e=>{if(!e)return!1;const t=e.contentType?.toLowerCase();let n;for(const t of[e.ext,e.name,e.originalFileName]){if(!t)continue;const e=(Mo(t)??t.replace(/^\./,"")).toLowerCase(),r=e.includes(".")?e.split(".").pop():e;if(r){n=r;break}}return(!t||!So.has(t))&&(!(!t||!Eo.has(t))||!!n&&Ao.has(n))})({contentType:f?.contentType,ext:f?.ext,name:f?.name,originalFileName:f?.originalFileName}),k=f?.id&&f?.ext&&f?.contentType,C=f?.name||f?.id&&f?.ext&&`${f.id}${f.ext}`||"",E=s||C;S((()=>{t&&(m(!!n),b(!0))}),[t,n]);const M=R((()=>r&&Um(r,{data:e,isFullScreen:h,previewable:g,highlightCode:v})),[r,e,h,g,v]);S((()=>(document.body.style.overflow=t?"hidden":"",()=>{document.body.style.overflow=""})),[t]),S((()=>{if(!t)return;const e=e=>{"Escape"===e.key&&a?.()};return document.addEventListener("keydown",e),()=>document.removeEventListener("keydown",e)}),[t,a]);const T=async e=>{e.stopPropagation();const{id:t,ext:n,contentType:r}=f||{};t&&n&&r&&await(async(e,t,n)=>{if(!e&&!t)return;const r=`${e}${t}`,i=await xo(e,t,n),a=URL.createObjectURL(i),o=document.createElement("a");o.href=a,o.download=r,o.click(),URL.revokeObjectURL(a)})(t,n,r)};return t?yi("div",{className:Vk,"data-testid":"attachment-modal",onClick:a,children:yi("div",{className:ae(Yk),onClick:e=>e.stopPropagation(),children:[yi("div",{className:ae(Gk,{[Xk]:h}),children:[yi("div",{className:eC,children:[yi(Si,{size:"s",children:E}),yi("div",{className:Zk,children:[y&&yi(Ri,{style:"outline",onClick:async()=>{const{id:e,ext:t,contentType:n}=f||{};await(async(e,t,n)=>{if(!e&&!t)return;const r=await xo(e,t,n),i=URL.createObjectURL(r);globalThis.open(i,"_blank")})(e,t,n)},icon:wi.lineGeneralLinkExternal,text:d}),_&&yi(Ja,{tooltipText:l,children:yi(Ti,{"data-testid":"attachment-modal-preview-toggle",style:"outline",size:"m",iconSize:"s",icon:g?wi.viewOff:wi.view,onClick:()=>m(!g)})}),w&&x&&yi(Ja,{tooltipText:c??"Syntax highlighting",children:yi(Ti,{className:ae(!v&&Kk),style:"outline",size:"m",iconSize:"s",icon:wi.lineDevCodeSquare,onClick:()=>b(!v)})}),k&&yi(Ja,{tooltipText:u,children:yi(Ti,{style:"outline",size:"m",iconSize:"s",icon:wi.lineGeneralDownloadCloud,onClick:e=>T(e)})}),yi(Ti,{iconSize:"m",style:"ghost",onClick:()=>p(!h),icon:h?wi.lineLayoutsMinimize2:wi.lineLayoutsMaximize2}),yi(Ti,{iconSize:"m",style:"ghost",onClick:a,icon:wi.lineGeneralXClose})]})]}),yi("div",{className:Qk,children:yi("div",{className:Jk,children:M},e?.link?.id)})]}),i?.length&&yi(aC,{attachments:i})]})}):null};var sC={tree:"styles_tree__fG6jK","tree-root":"styles_tree-root__-RETd","tree-list":"styles_tree-list__3q7eT","tree-section":"styles_tree-section__iV9nA","tree-section-title":"styles_tree-section-title__3v2nF","tree-show-more":"styles_tree-show-more__P3uWE","tree-subtree-toggle":"styles_tree-subtree-toggle__39-6e","tree-count":"styles_tree-count__RjQCr","tree-item":"styles_tree-item__-43NH","item-text":"styles_item-text__rKCbC","item-title":"styles_item-title__ip78x","item-parameters":"styles_item-parameters__vDhno","test-count":"styles_test-count__ynxa4","tree-content":"styles_tree-content__RqVeR",root:"styles_root__gLSTv","tree-item-icon":"styles_tree-item-icon__pSBl5","tree-item-icon-svg":"styles_tree-item-icon-svg__PqvN7","tree-item-icon-bg":"styles_tree-item-icon-bg__BWzam","tree-item-icon-stroke":"styles_tree-item-icon-stroke__r-Ga3","tree-item-icon-fill":"styles_tree-item-icon-fill__neuI9","status-passed":"styles_status-passed__kTMq4","status-failed":"styles_status-failed__2uYs3","status-broken":"styles_status-broken__34I8R","status-skipped":"styles_status-skipped__MEGGW","status-unknown":"styles_status-unknown__p2KHg","tree-status-bar":"styles_tree-status-bar__LJ7Y1","tree-status-bar-item":"styles_tree-status-bar-item__Yofv2",passed:"styles_passed__SeJia",failed:"styles_failed__-3jyb",broken:"styles_broken__g7-KJ",skipped:"styles_skipped__RfV4j",unknown:"styles_unknown__hkDQ1","tree-empty-results":"styles_tree-empty-results__4EWH4","tree-empty-results-title":"styles_tree-empty-results-title__hGsAb","tree-empty-results-clear-button":"styles_tree-empty-results-clear-button__9nCUy",order:"styles_order__-yTyr","tree-item-marked":"styles_tree-item-marked__TW7os","tree-item-focused":"styles_tree-item-focused__HCYiA","tree-section-focused":"styles_tree-section-focused__8rwyh"};const lC={failed:()=>yi(y,{children:[yi("path",{className:sC["tree-item-icon-stroke"],d:"M5.6 5.6 10.4 10.4"}),yi("path",{className:sC["tree-item-icon-stroke"],d:"M10.4 5.6 5.6 10.4"})]}),broken:()=>yi(y,{children:[yi("path",{className:sC["tree-item-icon-stroke"],d:"M8 4.6v4.2"}),yi("circle",{className:sC["tree-item-icon-fill"],cx:"8",cy:"11.4",r:"1"})]}),passed:()=>yi("path",{className:sC["tree-item-icon-stroke"],d:"m4.8 8.2 2.2 2.2 4.4-4.8"}),skipped:()=>yi("path",{className:sC["tree-item-icon-stroke"],d:"M5 8h6"}),unknown:()=>yi(y,{children:[yi("path",{className:sC["tree-item-icon-stroke"],d:"M6.4 6.2A1.7 1.7 0 0 1 8 5.1c1 0 1.8.7 1.8 1.7 0 1.4-1.8 1.3-1.8 2.8"}),yi("circle",{className:sC["tree-item-icon-fill"],cx:"8",cy:"11.5",r:"0.9"})]})},cC=({status:e="unknown",className:t,classNameIcon:n})=>{const r=lC[e];return yi("div",{"data-testid":`tree-leaf-status-${e}`,className:ae(sC["tree-item-icon"],sC[`status-${e}`],t),children:yi("svg",{className:ae(sC["tree-item-icon-svg"],n),viewBox:"0 0 16 16","aria-hidden":"true",focusable:"false",children:[yi("circle",{className:sC["tree-item-icon-bg"],cx:"8",cy:"8",r:"7.5"}),yi(r,{})]})})};var uC={"tree-item-retries":"styles_tree-item-retries__dhixw"};const dC=({retriesCount:e=0})=>e>0?yi("div",{"data-testid":"tree-leaf-retries",className:uC["tree-item-retries"],children:[yi(xi,{className:uC["tree-leaf-retries-icon"],id:wi.lineArrowsRefreshCcw1}),yi(Ci,{type:"ui",size:"m",children:e})]}):null,fC=e=>{switch(e){case"new":return wi.lineAlertsNew;case"fixed":return wi.lineAlertsFixed;case"regressed":return wi.lineAlertsRegressed;case"malfunctioned":return wi.lineAlertsMalfunctioned;default:return wi.lineAlertsAlertCircle}};var hC={"item-info":"styles_item-info__ELNw-","item-info-time":"styles_item-info-time__fWpPK"};const pC={issue:wi.lineDevBug2,muted:wi.lineGeneralEye,accepted:wi.lineGeneralCheckCircle},gC=({duration:e,retriesCount:t,retriesStatusChange:n,flaky:r,resolution:i,transition:a,tooltips:o})=>{const s=fo(e);return yi("div",{className:hC["item-info"],children:[r&&yi(Ja,{"data-testid":"tree-leaf-flaky-tooltip",tooltipText:o?.flaky,children:yi(xi,{"data-testid":"tree-leaf-flaky",id:wi.lineIconBomb2})}),Boolean(t)&&yi(Ja,{"data-testid":"tree-leaf-retries-tooltip",tooltipText:o?.retries,children:yi(dC,{retriesCount:t})}),n&&yi(Ja,{"data-testid":"tree-leaf-retries-status-change-tooltip",tooltipText:o?.retriesStatusChange,children:yi(xi,{"data-testid":"tree-leaf-retries-status-change",id:wi.lineArrowsSwitchVertical1})}),i&&yi(Ja,{"data-testid":"tree-leaf-resolution-tooltip",tooltipText:o?.resolution,children:yi(xi,{"data-testid":`tree-leaf-resolution-${i}`,id:pC[i]})}),a&&yi(Ja,{"data-testid":"tree-leaf-transition-tooltip",tooltipText:o?.transition,children:yi(xi,{"data-testid":`tree-leaf-transition-${a}`,id:fC(a),className:hC["item-info-transition"]})}),yi(Ci,{"data-testid":"tree-leaf-duration",type:"ui",size:"m",className:hC["item-info-time"],children:s})]})},mC=({name:e,groupOrder:t,status:n,duration:r,retriesCount:i,retriesStatusChange:a,flaky:o,resolution:s,transition:l,transitionTooltip:c,id:u,focusNodeId:d,marked:f,focused:h,navigateTo:p,tooltips:g,parameters:m,...v})=>{const b=d??u,y=m?.join(",");return yi("button",{...v,type:"button",className:ae(sC["tree-item"],f?sC["tree-item-marked"]:"",h?sC["tree-item-focused"]:""),onClick:()=>p(u),id:u,"data-tree-node-id":b,"aria-current":h?"true":void 0,children:[yi(cC,{status:n}),yi(Ai,{"data-testid":"tree-leaf-order",size:"s",className:sC.order,children:t}),yi("div",{className:sC["item-text"],children:[yi(Ci,{"data-testid":"tree-leaf-title",className:sC["item-title"],children:e}),y&&yi(Ci,{"data-testid":"tree-leaf-parameters",className:sC["item-parameters"],title:y,children:y})]}),yi(gC,{"data-testid":"tree-leaf-info",duration:r,flaky:o,resolution:s,retriesCount:i,retriesStatusChange:a,transition:l,transitionTooltip:c,tooltips:g})]})},vC=({title:e,icon:t,isOpened:n,toggleTree:r,focused:i,nodeId:a,children:o,...s})=>yi("div",{"data-testid":"tree-section",...s,className:ae(sC["tree-section"],i?sC["tree-section-focused"]:""),onClick:r,id:a,"data-tree-node-id":a,children:[yi(Zm,{"data-testid":"tree-arrow",isOpened:n}),t&&yi(xi,{id:t,size:"xs"}),yi(Ci,{"data-testid":"tree-section-title",size:"m",bold:!0,className:sC["tree-section-title"],children:e}),o]}),bC=({statistic:e,statusFilter:t,reportStatistic:n,maxWidth:r=140,minWidth:i=46,offset:a=10})=>{const o=Math.floor(((e,t)=>{const n=Math.log(a);return(Math.log(e+a)-n)/(Math.log(t+a)-n)})(e?.total??0,n?.total??0)*(r-i)+i);return e?yi("div",{className:sC["tree-status-bar"],style:{minWidth:`${o}px`},children:no.map((t=>({status:t,value:e[t]}))).filter((({status:e,value:n})=>void 0!==n&&("total"===t||t===e&&n>0))).map((({status:e,value:t})=>yi("div",{className:ae(sC["tree-status-bar-item"],sC[e]),style:{flexGrow:t},children:t},e)))}):null},yC=({categoryTitle:e,isOpened:t,toggleTree:n,statistic:r,reportStatistic:i,statusFilter:a,actions:o,focused:s,nodeId:l,...c})=>yi(vC,{...c,title:e,isOpened:t,toggleTree:n,focused:s,nodeId:l,children:[o,yi(bC,{reportStatistic:i,statusFilter:a,statistic:r})]}),_C=(e,t,n)=>n(e.nodeId)===t||(!!e.leaves.some((e=>n(e.nodeId)===t||e.nodeId===t))||e.trees.some((e=>_C(e,t,n)))),wC=(e,t=!1)=>t||(e=>void 0===e||Boolean(e?.failed||e?.broken))(e),xC=e=>(e=>e.trees.length>0||e.leaves.length>0)(e),kC={"single-down":wi.lineArrowsChevronDown,"single-up":wi.lineArrowsChevronUp,"double-down":wi.lineArrowsChevronDownDouble,"double-up":wi.lineArrowsChevronUpDouble},CC=({tree:e,statusFilter:t,root:n,name:r,statistic:i,reportStatistic:a,collapsedTrees:o,toggleTree:s,routeId:l,focusedId:c,focusIdPrefix:u,isGroupOpened:d,navigateTo:f,showMoreLabel:h="Show more",subtreeToggleLabels:p})=>{const g=e.nodeId,m=e=>u?`${u}${e}`:e,v=wC(i,Boolean(n)),b=(e,t)=>d?d(e,t):((e,t,n)=>t.has(e)?!n:n)(e,o,t),y=b(m(g),v),_=xC(e),w=(e=>xC(e)&&0===e.trees.length)(e),x=_?(e=>{const t=[],n=[{tree:e,isRoot:!0}];for(;n.length>0;){const e=n.pop();e&&(t.push({id:e.tree.nodeId,openedByDefault:im(e.tree.statistic),isRoot:e.isRoot}),e.tree.trees.forEach((e=>n.push({tree:e,isRoot:!1}))))}return t})(e):[],[k,C]=A(null),S=!b(m(g),v),E=((e,t,n,r)=>!!r(e,t)&&n.filter((e=>!e.isRoot)).every((e=>!r(e.id,e.openedByDefault))))(m(g),v,x,((e,t)=>b(m(e),t))),M=_&&((e,t)=>e.every((e=>t(e.id,e.openedByDefault))))(x,((e,t)=>b(m(e),t))),R={hasOnlyLeafResults:w,isSubtreeCollapsedAll:S,isSubtreeFirstLevelOnly:E,isSubtreeExpandedAll:M,lastSubtreeToggle:k},L=kC[(e=>{switch(rm(e)){case"expand-first-level":return"single-down";case"expand-all":return e.hasOnlyLeafResults?"single-down":"double-down";case"collapse-to-first-level":return"double-up";case"collapse-all":return"single-up"}})(R)],D=Boolean(r),O=e.trees.length>0||e.leaves.length>0,F=ae({[sC["tree-content"]]:!0,[sC.root]:n}),z=ae(sC.tree,n&&sC["tree-root"]),P=e.trees.length+e.leaves.length,[N,j]=A(30),I=c?e.trees.findIndex((e=>_C(e,c,m))):-1,B=I<0&&c?e.leaves.findIndex((e=>m(e.nodeId)===c||e.nodeId===c)):-1,W=I>=0?I:B>=0?e.trees.length+B:-1;T((()=>{W>=N&&j(W+1)}),[W,N]);if(!O)return null;const $=Math.min(e.trees.length,N),q=e.trees.slice(0,$),H=e.leaves.slice(0,Math.max(0,N-e.trees.length)),U=q.map((e=>yi(CC,{name:e.name,tree:e,statistic:e.statistic,reportStatistic:a,statusFilter:t,collapsedTrees:o,toggleTree:s,routeId:l,focusedId:c,focusIdPrefix:u,isGroupOpened:d,navigateTo:f,showMoreLabel:h,subtreeToggleLabels:p},e.nodeId))),V=H.map((e=>yi(mC,{"data-testid":"tree-leaf",id:e.nodeId,name:e.name,status:e.status,groupOrder:e.groupOrder,duration:e.duration,retriesCount:e.retriesCount,retriesStatusChange:e.retriesStatusChange,resolution:e.resolution,transition:e.transition,transitionTooltip:e.transitionTooltip,tooltips:e.tooltips,parameters:e.parameters,flaky:e.flaky,marked:e.nodeId===l,focused:m(e.nodeId)===c,focusNodeId:m(e.nodeId),navigateTo:f},e.nodeId))),Y=p?.[rm(R)],G=yi(Ti,{size:"xs",style:"ghost",icon:L,"aria-label":Y,onClick:e=>{e.stopPropagation();const t=nm(R);((e,t,n)=>{e.forEach((e=>{const r="all"===t||"first"===t&&e.isRoot,i=n.toScopedId(e.id);n.isOpened(i,e.openedByDefault)!==r&&n.setOpened(i,r,e.openedByDefault)}))})(x,t,{toScopedId:m,isOpened:(e,t)=>b(e,t),setOpened:(e,t,n)=>{b(e,n)!==t&&s(e,n)}}),"first"!==t&&C(t)},className:sC["tree-subtree-toggle"],"data-testid":"tree-subtree-toggle"}),X=_?Y?yi(Ja,{tooltipText:Y,placement:"bottom",children:G}):G:void 0,J=y?yi("div",{"data-testid":"tree-content",className:F,children:[U,V,N<P&&yi("div",{className:sC["tree-show-more"],"data-testid":"tree-show-more",children:yi(Ri,{type:"button",style:"outline",size:"s",text:h,onClick:()=>j((e=>e+30))})})]}):null;return yi("div",{className:z,children:[D?yi(yC,{statusFilter:t,categoryTitle:r,isOpened:y,toggleTree:()=>{s(m(g),v),C(null)},statistic:i,reportStatistic:a,actions:X,focused:m(g)===c,nodeId:m(g)}):null,J]})};var AC={counter:"styles_counter__chRZ-","status-passed":"styles_status-passed__fOOfy","status-failed":"styles_status-failed__CIBqD","status-broken":"styles_status-broken__caix7","status-skipped":"styles_status-skipped__FrjS4","status-unknown":"styles_status-unknown__wxCbv","size-s":"styles_size-s__MzJcz","size-m":"styles_size-m__zaoMz","size-l":"styles_size-l__foUrC"};const SC=e=>{const{count:t,size:n="s",truncateCount:r=!1,status:i}=e,a=r&&t>99?"99+":t;return yi(Ci,{tag:"small",size:"l"===n?"m":"s",type:"ui",bold:!0,className:ae(AC.counter,AC[`size-${n}`],i&&AC[`status-${i}`]),"data-testid":"counter",children:a})};var EC="styles_toggle__aBRpI";const MC=e=>{const{value:t,label:n,onChange:r,focusable:i=!0,size:a="m",...o}=e;return yi("input",{...o,tabIndex:i?0:-1,className:EC,role:"switch",type:"checkbox",checked:t,"aria-label":n,onClick:e=>{const t=!e.target.checked;r(t)},"data-size":a})},RC=e=>{const{children:t,onClick:n,href:r}=e;return yi(void 0===r?"button":"a",{href:r,onClick:n,className:am,children:t})};var TC="styles_label__PPstE";const LC=({children:e})=>yi("div",{className:TC,children:yi(Ci,{size:"s",bold:!0,type:"ui",children:e})});var DC={"status-label":"styles_status-label__jKe50","status-label-text":"styles_status-label-text__dne2b","status-label-icon":"styles_status-label-icon__XfIPQ","status-passed":"styles_status-passed__nQRTG","status-failed":"styles_status-failed__Bd1ie","status-broken":"styles_status-broken__6NgUj","status-skipped":"styles_status-skipped__S6xGN","status-unknown":"styles_status-unknown__x-nw8"};const OC=({status:e,children:t,className:n,...r})=>yi("div",{...r,className:ae(DC["status-label"],DC[`status-${e}`],n),children:[yi(cC,{status:e,className:DC["status-label-icon"],classNameIcon:DC["status-label-icon"]}),yi(Ci,{type:"ui",size:"s",className:DC["status-label-text"],children:t})]});var FC="styles_logo__jHlBl",zC="styles_text__BcILe";const PC=e=>{const{className:t}=e;return yi(Ci,{type:"paragraph",size:"m",bold:!0,className:ae(zC,t),children:[yi(xi,{id:wi.reportLogo,size:"m",inline:!0,className:FC}),yi("span",{children:"Allure Report"})]})};var NC="styles_report-logo__OOEnL";const jC=e=>{const{className:t,logo:n}=e;return yi("div",{className:ae(NC,t),children:n?yi("img",{src:n,alt:"report logo"}):yi(xi,{id:wi.reportLogo,inline:!0})})};var IC="styles_widget__JLpmE",BC="styles_header__yKZiz",WC="styles_content__zvonT";const $C=({children:e,title:t,centerContent:n,dropShadow:r=!0})=>yi("div",{className:IC,"data-drop-shadow":r||void 0,children:[t&&yi("div",{className:BC,children:yi(Si,{size:"s",children:t})}),yi("div",{className:WC,"data-center-content":n,children:e})]});
|
|
24
|
-
/**!
|
|
25
|
-
* Sortable 1.15.7
|
|
26
|
-
* @author RubaXa <trash@rubaxa.org>
|
|
27
|
-
* @author owenm <owen23355@gmail.com>
|
|
28
|
-
* @license MIT
|
|
29
|
-
*/function qC(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t);if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function HC(){return HC=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},HC.apply(null,arguments)}function UC(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function VC(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?UC(Object(n),!0).forEach((function(t){qC(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):UC(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function YC(e){return YC="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},YC(e)}function GC(e){if("undefined"!=typeof window&&window.navigator)return!!navigator.userAgent.match(e)}var XC=GC(/(?:Trident.*rv[ :]?11\.|msie|iemobile|Windows Phone)/i),JC=GC(/Edge/i),ZC=GC(/firefox/i),KC=GC(/safari/i)&&!GC(/chrome/i)&&!GC(/android/i),QC=GC(/iP(ad|od|hone)/i),eA=GC(/chrome/i)&&GC(/android/i),tA={capture:!1,passive:!1};function nA(e,t,n){e.addEventListener(t,n,!XC&&tA)}function rA(e,t,n){e.removeEventListener(t,n,!XC&&tA)}function iA(e,t){if(t){if(">"===t[0]&&(t=t.substring(1)),e)try{if(e.matches)return e.matches(t);if(e.msMatchesSelector)return e.msMatchesSelector(t);if(e.webkitMatchesSelector)return e.webkitMatchesSelector(t)}catch(e){return!1}return!1}}function aA(e){return e.host&&e!==document&&e.host.nodeType&&e.host!==e?e.host:e.parentNode}function oA(e,t,n,r){if(e){n=n||document;do{if(null!=t&&(">"===t[0]?e.parentNode===n&&iA(e,t):iA(e,t))||r&&e===n)return e;if(e===n)break}while(e=aA(e))}return null}var sA,lA=/\s+/g;function cA(e,t,n){if(e&&t)if(e.classList)e.classList[n?"add":"remove"](t);else{var r=(" "+e.className+" ").replace(lA," ").replace(" "+t+" "," ");e.className=(r+(n?" "+t:"")).replace(lA," ")}}function uA(e,t,n){var r=e&&e.style;if(r){if(void 0===n)return document.defaultView&&document.defaultView.getComputedStyle?n=document.defaultView.getComputedStyle(e,""):e.currentStyle&&(n=e.currentStyle),void 0===t?n:n[t];t in r||-1!==t.indexOf("webkit")||(t="-webkit-"+t),r[t]=n+("string"==typeof n?"":"px")}}function dA(e,t){var n="";if("string"==typeof e)n=e;else do{var r=uA(e,"transform");r&&"none"!==r&&(n=r+" "+n)}while(!t&&(e=e.parentNode));var i=window.DOMMatrix||window.WebKitCSSMatrix||window.CSSMatrix||window.MSCSSMatrix;return i&&new i(n)}function fA(e,t,n){if(e){var r=e.getElementsByTagName(t),i=0,a=r.length;if(n)for(;i<a;i++)n(r[i],i);return r}return[]}function hA(){var e=document.scrollingElement;return e||document.documentElement}function pA(e,t,n,r,i){if(e.getBoundingClientRect||e===window){var a,o,s,l,c,u,d;if(e!==window&&e.parentNode&&e!==hA()?(o=(a=e.getBoundingClientRect()).top,s=a.left,l=a.bottom,c=a.right,u=a.height,d=a.width):(o=0,s=0,l=window.innerHeight,c=window.innerWidth,u=window.innerHeight,d=window.innerWidth),(t||n)&&e!==window&&(i=i||e.parentNode,!XC))do{if(i&&i.getBoundingClientRect&&("none"!==uA(i,"transform")||n&&"static"!==uA(i,"position"))){var f=i.getBoundingClientRect();o-=f.top+parseInt(uA(i,"border-top-width")),s-=f.left+parseInt(uA(i,"border-left-width")),l=o+a.height,c=s+a.width;break}}while(i=i.parentNode);if(r&&e!==window){var h=dA(i||e),p=h&&h.a,g=h&&h.d;h&&(l=(o/=g)+(u/=g),c=(s/=p)+(d/=p))}return{top:o,left:s,bottom:l,right:c,width:d,height:u}}}function gA(e,t,n){for(var r=_A(e,!0),i=pA(e)[t];r;){if(!(i>=pA(r)[n]))return r;if(r===hA())break;r=_A(r,!1)}return!1}function mA(e,t,n,r){for(var i=0,a=0,o=e.children;a<o.length;){if("none"!==o[a].style.display&&o[a]!==CS.ghost&&(r||o[a]!==CS.dragged)&&oA(o[a],n.draggable,e,!1)){if(i===t)return o[a];i++}a++}return null}function vA(e,t){for(var n=e.lastElementChild;n&&(n===CS.ghost||"none"===uA(n,"display")||t&&!iA(n,t));)n=n.previousElementSibling;return n||null}function bA(e,t){var n=0;if(!e||!e.parentNode)return-1;for(;e=e.previousElementSibling;)"TEMPLATE"===e.nodeName.toUpperCase()||e===CS.clone||t&&!iA(e,t)||n++;return n}function yA(e){var t=0,n=0,r=hA();if(e)do{var i=dA(e),a=i.a,o=i.d;t+=e.scrollLeft*a,n+=e.scrollTop*o}while(e!==r&&(e=e.parentNode));return[t,n]}function _A(e,t){if(!e||!e.getBoundingClientRect)return hA();var n=e,r=!1;do{if(n.clientWidth<n.scrollWidth||n.clientHeight<n.scrollHeight){var i=uA(n);if(n.clientWidth<n.scrollWidth&&("auto"==i.overflowX||"scroll"==i.overflowX)||n.clientHeight<n.scrollHeight&&("auto"==i.overflowY||"scroll"==i.overflowY)){if(!n.getBoundingClientRect||n===document.body)return hA();if(r||t)return n;r=!0}}}while(n=n.parentNode);return hA()}function wA(e,t){return Math.round(e.top)===Math.round(t.top)&&Math.round(e.left)===Math.round(t.left)&&Math.round(e.height)===Math.round(t.height)&&Math.round(e.width)===Math.round(t.width)}function xA(e,t){return function(){if(!sA){var n=arguments;1===n.length?e.call(this,n[0]):e.apply(this,n),sA=setTimeout((function(){sA=void 0}),t)}}}function kA(e,t,n){e.scrollLeft+=t,e.scrollTop+=n}function CA(e){var t=window.Polymer,n=window.jQuery||window.Zepto;return t&&t.dom?t.dom(e).cloneNode(!0):n?n(e).clone(!0)[0]:e.cloneNode(!0)}function AA(e,t,n){var r={};return Array.from(e.children).forEach((function(i){var a,o,s,l;if(oA(i,t.draggable,e,!1)&&!i.animated&&i!==n){var c=pA(i);r.left=Math.min(null!==(a=r.left)&&void 0!==a?a:1/0,c.left),r.top=Math.min(null!==(o=r.top)&&void 0!==o?o:1/0,c.top),r.right=Math.max(null!==(s=r.right)&&void 0!==s?s:-1/0,c.right),r.bottom=Math.max(null!==(l=r.bottom)&&void 0!==l?l:-1/0,c.bottom)}})),r.width=r.right-r.left,r.height=r.bottom-r.top,r.x=r.left,r.y=r.top,r}var SA="Sortable"+(new Date).getTime();function EA(){var e,t=[];return{captureAnimationState:function(){(t=[],this.options.animation)&&[].slice.call(this.el.children).forEach((function(e){if("none"!==uA(e,"display")&&e!==CS.ghost){t.push({target:e,rect:pA(e)});var n=VC({},t[t.length-1].rect);if(e.thisAnimationDuration){var r=dA(e,!0);r&&(n.top-=r.f,n.left-=r.e)}e.fromRect=n}}))},addAnimationState:function(e){t.push(e)},removeAnimationState:function(e){t.splice(function(e,t){for(var n in e)if(e.hasOwnProperty(n))for(var r in t)if(t.hasOwnProperty(r)&&t[r]===e[n][r])return Number(n);return-1}(t,{target:e}),1)},animateAll:function(n){var r=this;if(!this.options.animation)return clearTimeout(e),void("function"==typeof n&&n());var i=!1,a=0;t.forEach((function(e){var t=0,n=e.target,o=n.fromRect,s=pA(n),l=n.prevFromRect,c=n.prevToRect,u=e.rect,d=dA(n,!0);d&&(s.top-=d.f,s.left-=d.e),n.toRect=s,n.thisAnimationDuration&&wA(l,s)&&!wA(o,s)&&(u.top-s.top)/(u.left-s.left)==(o.top-s.top)/(o.left-s.left)&&(t=function(e,t,n,r){return Math.sqrt(Math.pow(t.top-e.top,2)+Math.pow(t.left-e.left,2))/Math.sqrt(Math.pow(t.top-n.top,2)+Math.pow(t.left-n.left,2))*r.animation}(u,l,c,r.options)),wA(s,o)||(n.prevFromRect=o,n.prevToRect=s,t||(t=r.options.animation),r.animate(n,u,s,t)),t&&(i=!0,a=Math.max(a,t),clearTimeout(n.animationResetTimer),n.animationResetTimer=setTimeout((function(){n.animationTime=0,n.prevFromRect=null,n.fromRect=null,n.prevToRect=null,n.thisAnimationDuration=null}),t),n.thisAnimationDuration=t)})),clearTimeout(e),i?e=setTimeout((function(){"function"==typeof n&&n()}),a):"function"==typeof n&&n(),t=[]},animate:function(e,t,n,r){if(r){uA(e,"transition",""),uA(e,"transform","");var i=dA(this.el),a=i&&i.a,o=i&&i.d,s=(t.left-n.left)/(a||1),l=(t.top-n.top)/(o||1);e.animatingX=!!s,e.animatingY=!!l,uA(e,"transform","translate3d("+s+"px,"+l+"px,0)"),this.forRepaintDummy=function(e){return e.offsetWidth}(e),uA(e,"transition","transform "+r+"ms"+(this.options.easing?" "+this.options.easing:"")),uA(e,"transform","translate3d(0,0,0)"),"number"==typeof e.animated&&clearTimeout(e.animated),e.animated=setTimeout((function(){uA(e,"transition",""),uA(e,"transform",""),e.animated=!1,e.animatingX=!1,e.animatingY=!1}),r)}}}}var MA=[],RA={initializeByDefault:!0},TA={mount:function(e){for(var t in RA)RA.hasOwnProperty(t)&&!(t in e)&&(e[t]=RA[t]);MA.forEach((function(t){if(t.pluginName===e.pluginName)throw"Sortable: Cannot mount plugin ".concat(e.pluginName," more than once")})),MA.push(e)},pluginEvent:function(e,t,n){var r=this;this.eventCanceled=!1,n.cancel=function(){r.eventCanceled=!0};var i=e+"Global";MA.forEach((function(r){t[r.pluginName]&&(t[r.pluginName][i]&&t[r.pluginName][i](VC({sortable:t},n)),t.options[r.pluginName]&&t[r.pluginName][e]&&t[r.pluginName][e](VC({sortable:t},n)))}))},initializePlugins:function(e,t,n,r){for(var i in MA.forEach((function(r){var i=r.pluginName;if(e.options[i]||r.initializeByDefault){var a=new r(e,t,e.options);a.sortable=e,a.options=e.options,e[i]=a,HC(n,a.defaults)}})),e.options)if(e.options.hasOwnProperty(i)){var a=this.modifyOption(e,i,e.options[i]);void 0!==a&&(e.options[i]=a)}},getEventProperties:function(e,t){var n={};return MA.forEach((function(r){"function"==typeof r.eventProperties&&HC(n,r.eventProperties.call(t[r.pluginName],e))})),n},modifyOption:function(e,t,n){var r;return MA.forEach((function(i){e[i.pluginName]&&i.optionListeners&&"function"==typeof i.optionListeners[t]&&(r=i.optionListeners[t].call(e[i.pluginName],n))})),r}};var LA=["evt"],DA=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=n.evt,i=function(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(-1!==t.indexOf(r))continue;n[r]=e[r]}return n}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],-1===t.indexOf(n)&&{}.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}(n,LA);TA.pluginEvent.bind(CS)(e,t,VC({dragEl:FA,parentEl:zA,ghostEl:PA,rootEl:NA,nextEl:jA,lastDownEl:IA,cloneEl:BA,cloneHidden:WA,dragStarted:eS,putSortable:YA,activeSortable:CS.active,originalEvent:r,oldIndex:$A,oldDraggableIndex:HA,newIndex:qA,newDraggableIndex:UA,hideGhostForTarget:_S,unhideGhostForTarget:wS,cloneNowHidden:function(){WA=!0},cloneNowShown:function(){WA=!1},dispatchSortableEvent:function(e){OA({sortable:t,name:e,originalEvent:r})}},i))};function OA(e){!function(e){var t=e.sortable,n=e.rootEl,r=e.name,i=e.targetEl,a=e.cloneEl,o=e.toEl,s=e.fromEl,l=e.oldIndex,c=e.newIndex,u=e.oldDraggableIndex,d=e.newDraggableIndex,f=e.originalEvent,h=e.putSortable,p=e.extraEventProperties;if(t=t||n&&n[SA]){var g,m=t.options,v="on"+r.charAt(0).toUpperCase()+r.substr(1);!window.CustomEvent||XC||JC?(g=document.createEvent("Event")).initEvent(r,!0,!0):g=new CustomEvent(r,{bubbles:!0,cancelable:!0}),g.to=o||n,g.from=s||n,g.item=i||n,g.clone=a,g.oldIndex=l,g.newIndex=c,g.oldDraggableIndex=u,g.newDraggableIndex=d,g.originalEvent=f,g.pullMode=h?h.lastPutMode:void 0;var b=VC(VC({},p),TA.getEventProperties(r,t));for(var y in b)g[y]=b[y];n&&n.dispatchEvent(g),m[v]&&m[v].call(t,g)}}(VC({putSortable:YA,cloneEl:BA,targetEl:FA,rootEl:NA,oldIndex:$A,oldDraggableIndex:HA,newIndex:qA,newDraggableIndex:UA},e))}var FA,zA,PA,NA,jA,IA,BA,WA,$A,qA,HA,UA,VA,YA,GA,XA,JA,ZA,KA,QA,eS,tS,nS,rS,iS,aS=!1,oS=!1,sS=[],lS=!1,cS=!1,uS=[],dS=!1,fS=[],hS="undefined"!=typeof document,pS=QC,gS=JC||XC?"cssFloat":"float",mS=hS&&!eA&&!QC&&"draggable"in document.createElement("div"),vS=function(){if(hS){if(XC)return!1;var e=document.createElement("x");return e.style.cssText="pointer-events:auto","auto"===e.style.pointerEvents}}(),bS=function(e,t){var n=uA(e),r=parseInt(n.width)-parseInt(n.paddingLeft)-parseInt(n.paddingRight)-parseInt(n.borderLeftWidth)-parseInt(n.borderRightWidth),i=mA(e,0,t),a=mA(e,1,t),o=i&&uA(i),s=a&&uA(a),l=o&&parseInt(o.marginLeft)+parseInt(o.marginRight)+pA(i).width,c=s&&parseInt(s.marginLeft)+parseInt(s.marginRight)+pA(a).width;if("flex"===n.display)return"column"===n.flexDirection||"column-reverse"===n.flexDirection?"vertical":"horizontal";if("grid"===n.display)return n.gridTemplateColumns.split(" ").length<=1?"vertical":"horizontal";if(i&&o.float&&"none"!==o.float){var u="left"===o.float?"left":"right";return!a||"both"!==s.clear&&s.clear!==u?"horizontal":"vertical"}return i&&("block"===o.display||"flex"===o.display||"table"===o.display||"grid"===o.display||l>=r&&"none"===n[gS]||a&&"none"===n[gS]&&l+c>r)?"vertical":"horizontal"},yS=function(e){function t(e,n){return function(r,i,a,o){var s=r.options.group.name&&i.options.group.name&&r.options.group.name===i.options.group.name;if(null==e&&(n||s))return!0;if(null==e||!1===e)return!1;if(n&&"clone"===e)return e;if("function"==typeof e)return t(e(r,i,a,o),n)(r,i,a,o);var l=(n?r:i).options.group.name;return!0===e||"string"==typeof e&&e===l||e.join&&e.indexOf(l)>-1}}var n={},r=e.group;r&&"object"==YC(r)||(r={name:r}),n.name=r.name,n.checkPull=t(r.pull,!0),n.checkPut=t(r.put),n.revertClone=r.revertClone,e.group=n},_S=function(){!vS&&PA&&uA(PA,"display","none")},wS=function(){!vS&&PA&&uA(PA,"display","")};hS&&!eA&&document.addEventListener("click",(function(e){if(oS)return e.preventDefault(),e.stopPropagation&&e.stopPropagation(),e.stopImmediatePropagation&&e.stopImmediatePropagation(),oS=!1,!1}),!0);var xS=function(e){if(FA){var t=function(e,t){var n;return sS.some((function(r){var i=r[SA].options.emptyInsertThreshold;if(i&&!vA(r)){var a=pA(r),o=e>=a.left-i&&e<=a.right+i,s=t>=a.top-i&&t<=a.bottom+i;return o&&s?n=r:void 0}})),n}((e=e.touches?e.touches[0]:e).clientX,e.clientY);if(t){var n={};for(var r in e)e.hasOwnProperty(r)&&(n[r]=e[r]);n.target=n.rootEl=t,n.preventDefault=void 0,n.stopPropagation=void 0,t[SA]._onDragOver(n)}}},kS=function(e){FA&&FA.parentNode[SA]._isOutsideThisEl(e.target)};function CS(e,t){if(!e||!e.nodeType||1!==e.nodeType)throw"Sortable: `el` must be an HTMLElement, not ".concat({}.toString.call(e));this.el=e,this.options=t=HC({},t),e[SA]=this;var n={group:null,sort:!0,disabled:!1,store:null,handle:null,draggable:/^[uo]l$/i.test(e.nodeName)?">li":">*",swapThreshold:1,invertSwap:!1,invertedSwapThreshold:null,removeCloneOnHide:!0,direction:function(){return bS(e,this.options)},ghostClass:"sortable-ghost",chosenClass:"sortable-chosen",dragClass:"sortable-drag",ignore:"a, img",filter:null,preventOnFilter:!0,animation:0,easing:null,setData:function(e,t){e.setData("Text",t.textContent)},dropBubble:!1,dragoverBubble:!1,dataIdAttr:"data-id",delay:0,delayOnTouchOnly:!1,touchStartThreshold:(Number.parseInt?Number:window).parseInt(window.devicePixelRatio,10)||1,forceFallback:!1,fallbackClass:"sortable-fallback",fallbackOnBody:!1,fallbackTolerance:0,fallbackOffset:{x:0,y:0},supportPointer:!1!==CS.supportPointer&&"PointerEvent"in window&&(!KC||QC),emptyInsertThreshold:5};for(var r in TA.initializePlugins(this,e,n),n)!(r in t)&&(t[r]=n[r]);for(var i in yS(t),this)"_"===i.charAt(0)&&"function"==typeof this[i]&&(this[i]=this[i].bind(this));this.nativeDraggable=!t.forceFallback&&mS,this.nativeDraggable&&(this.options.touchStartThreshold=1),t.supportPointer?nA(e,"pointerdown",this._onTapStart):(nA(e,"mousedown",this._onTapStart),nA(e,"touchstart",this._onTapStart)),this.nativeDraggable&&(nA(e,"dragover",this),nA(e,"dragenter",this)),sS.push(this.el),t.store&&t.store.get&&this.sort(t.store.get(this)||[]),HC(this,EA())}function AS(e,t,n,r,i,a,o,s){var l,c,u=e[SA],d=u.options.onMove;return!window.CustomEvent||XC||JC?(l=document.createEvent("Event")).initEvent("move",!0,!0):l=new CustomEvent("move",{bubbles:!0,cancelable:!0}),l.to=t,l.from=e,l.dragged=n,l.draggedRect=r,l.related=i||t,l.relatedRect=a||pA(t),l.willInsertAfter=s,l.originalEvent=o,e.dispatchEvent(l),d&&(c=d.call(u,l,o)),c}function SS(e){e.draggable=!1}function ES(){dS=!1}function MS(e){for(var t=e.tagName+e.className+e.src+e.href+e.textContent,n=t.length,r=0;n--;)r+=t.charCodeAt(n);return r.toString(36)}function RS(e){return setTimeout(e,0)}function TS(e){return clearTimeout(e)}CS.prototype={constructor:CS,_isOutsideThisEl:function(e){this.el.contains(e)||e===this.el||(tS=null)},_getDirection:function(e,t){return"function"==typeof this.options.direction?this.options.direction.call(this,e,t,FA):this.options.direction},_onTapStart:function(e){if(e.cancelable){var t=this,n=this.el,r=this.options,i=r.preventOnFilter,a=e.type,o=e.touches&&e.touches[0]||e.pointerType&&"touch"===e.pointerType&&e,s=(o||e).target,l=e.target.shadowRoot&&(e.path&&e.path[0]||e.composedPath&&e.composedPath()[0])||s,c=r.filter;if(function(e){fS.length=0;var t=e.getElementsByTagName("input"),n=t.length;for(;n--;){var r=t[n];r.checked&&fS.push(r)}}(n),!FA&&!(/mousedown|pointerdown/.test(a)&&0!==e.button||r.disabled)&&!l.isContentEditable&&(this.nativeDraggable||!KC||!s||"SELECT"!==s.tagName.toUpperCase())&&!((s=oA(s,r.draggable,n,!1))&&s.animated||IA===s)){if($A=bA(s),HA=bA(s,r.draggable),"function"==typeof c){if(c.call(this,e,s,this))return OA({sortable:t,rootEl:l,name:"filter",targetEl:s,toEl:n,fromEl:n}),DA("filter",t,{evt:e}),void(i&&e.preventDefault())}else if(c&&(c=c.split(",").some((function(r){if(r=oA(l,r.trim(),n,!1))return OA({sortable:t,rootEl:r,name:"filter",targetEl:s,fromEl:n,toEl:n}),DA("filter",t,{evt:e}),!0}))))return void(i&&e.preventDefault());r.handle&&!oA(l,r.handle,n,!1)||this._prepareDragStart(e,o,s)}}},_prepareDragStart:function(e,t,n){var r,i=this,a=i.el,o=i.options,s=a.ownerDocument;if(n&&!FA&&n.parentNode===a){var l=pA(n);if(NA=a,zA=(FA=n).parentNode,jA=FA.nextSibling,IA=n,VA=o.group,CS.dragged=FA,GA={target:FA,clientX:(t||e).clientX,clientY:(t||e).clientY},KA=GA.clientX-l.left,QA=GA.clientY-l.top,this._lastX=(t||e).clientX,this._lastY=(t||e).clientY,FA.style["will-change"]="all",r=function(){DA("delayEnded",i,{evt:e}),CS.eventCanceled?i._onDrop():(i._disableDelayedDragEvents(),!ZC&&i.nativeDraggable&&(FA.draggable=!0),i._triggerDragStart(e,t),OA({sortable:i,name:"choose",originalEvent:e}),cA(FA,o.chosenClass,!0))},o.ignore.split(",").forEach((function(e){fA(FA,e.trim(),SS)})),nA(s,"dragover",xS),nA(s,"mousemove",xS),nA(s,"touchmove",xS),o.supportPointer?(nA(s,"pointerup",i._onDrop),!this.nativeDraggable&&nA(s,"pointercancel",i._onDrop)):(nA(s,"mouseup",i._onDrop),nA(s,"touchend",i._onDrop),nA(s,"touchcancel",i._onDrop)),ZC&&this.nativeDraggable&&(this.options.touchStartThreshold=4,FA.draggable=!0),DA("delayStart",this,{evt:e}),!o.delay||o.delayOnTouchOnly&&!t||this.nativeDraggable&&(JC||XC))r();else{if(CS.eventCanceled)return void this._onDrop();o.supportPointer?(nA(s,"pointerup",i._disableDelayedDrag),nA(s,"pointercancel",i._disableDelayedDrag)):(nA(s,"mouseup",i._disableDelayedDrag),nA(s,"touchend",i._disableDelayedDrag),nA(s,"touchcancel",i._disableDelayedDrag)),nA(s,"mousemove",i._delayedDragTouchMoveHandler),nA(s,"touchmove",i._delayedDragTouchMoveHandler),o.supportPointer&&nA(s,"pointermove",i._delayedDragTouchMoveHandler),i._dragStartTimer=setTimeout(r,o.delay)}}},_delayedDragTouchMoveHandler:function(e){var t=e.touches?e.touches[0]:e;Math.max(Math.abs(t.clientX-this._lastX),Math.abs(t.clientY-this._lastY))>=Math.floor(this.options.touchStartThreshold/(this.nativeDraggable&&window.devicePixelRatio||1))&&this._disableDelayedDrag()},_disableDelayedDrag:function(){FA&&SS(FA),clearTimeout(this._dragStartTimer),this._disableDelayedDragEvents()},_disableDelayedDragEvents:function(){var e=this.el.ownerDocument;rA(e,"mouseup",this._disableDelayedDrag),rA(e,"touchend",this._disableDelayedDrag),rA(e,"touchcancel",this._disableDelayedDrag),rA(e,"pointerup",this._disableDelayedDrag),rA(e,"pointercancel",this._disableDelayedDrag),rA(e,"mousemove",this._delayedDragTouchMoveHandler),rA(e,"touchmove",this._delayedDragTouchMoveHandler),rA(e,"pointermove",this._delayedDragTouchMoveHandler)},_triggerDragStart:function(e,t){t=t||"touch"==e.pointerType&&e,!this.nativeDraggable||t?this.options.supportPointer?nA(document,"pointermove",this._onTouchMove):nA(document,t?"touchmove":"mousemove",this._onTouchMove):(nA(FA,"dragend",this),nA(NA,"dragstart",this._onDragStart));try{document.selection?RS((function(){document.selection.empty()})):window.getSelection().removeAllRanges()}catch(e){}},_dragStarted:function(e,t){if(aS=!1,NA&&FA){DA("dragStarted",this,{evt:t}),this.nativeDraggable&&nA(document,"dragover",kS);var n=this.options;!e&&cA(FA,n.dragClass,!1),cA(FA,n.ghostClass,!0),CS.active=this,e&&this._appendGhost(),OA({sortable:this,name:"start",originalEvent:t})}else this._nulling()},_emulateDragOver:function(){if(XA){this._lastX=XA.clientX,this._lastY=XA.clientY,_S();for(var e=document.elementFromPoint(XA.clientX,XA.clientY),t=e;e&&e.shadowRoot&&(e=e.shadowRoot.elementFromPoint(XA.clientX,XA.clientY))!==t;)t=e;if(FA.parentNode[SA]._isOutsideThisEl(e),t)do{if(t[SA]){if(t[SA]._onDragOver({clientX:XA.clientX,clientY:XA.clientY,target:e,rootEl:t})&&!this.options.dragoverBubble)break}e=t}while(t=aA(t));wS()}},_onTouchMove:function(e){if(GA){var t=this.options,n=t.fallbackTolerance,r=t.fallbackOffset,i=e.touches?e.touches[0]:e,a=PA&&dA(PA,!0),o=PA&&a&&a.a,s=PA&&a&&a.d,l=pS&&iS&&yA(iS),c=(i.clientX-GA.clientX+r.x)/(o||1)+(l?l[0]-uS[0]:0)/(o||1),u=(i.clientY-GA.clientY+r.y)/(s||1)+(l?l[1]-uS[1]:0)/(s||1);if(!CS.active&&!aS){if(n&&Math.max(Math.abs(i.clientX-this._lastX),Math.abs(i.clientY-this._lastY))<n)return;this._onDragStart(e,!0)}if(PA){a?(a.e+=c-(JA||0),a.f+=u-(ZA||0)):a={a:1,b:0,c:0,d:1,e:c,f:u};var d="matrix(".concat(a.a,",").concat(a.b,",").concat(a.c,",").concat(a.d,",").concat(a.e,",").concat(a.f,")");uA(PA,"webkitTransform",d),uA(PA,"mozTransform",d),uA(PA,"msTransform",d),uA(PA,"transform",d),JA=c,ZA=u,XA=i}e.cancelable&&e.preventDefault()}},_appendGhost:function(){if(!PA){var e=this.options.fallbackOnBody?document.body:NA,t=pA(FA,!0,pS,!0,e),n=this.options;if(pS){for(iS=e;"static"===uA(iS,"position")&&"none"===uA(iS,"transform")&&iS!==document;)iS=iS.parentNode;iS!==document.body&&iS!==document.documentElement?(iS===document&&(iS=hA()),t.top+=iS.scrollTop,t.left+=iS.scrollLeft):iS=hA(),uS=yA(iS)}cA(PA=FA.cloneNode(!0),n.ghostClass,!1),cA(PA,n.fallbackClass,!0),cA(PA,n.dragClass,!0),uA(PA,"transition",""),uA(PA,"transform",""),uA(PA,"box-sizing","border-box"),uA(PA,"margin",0),uA(PA,"top",t.top),uA(PA,"left",t.left),uA(PA,"width",t.width),uA(PA,"height",t.height),uA(PA,"opacity","0.8"),uA(PA,"position",pS?"absolute":"fixed"),uA(PA,"zIndex","100000"),uA(PA,"pointerEvents","none"),CS.ghost=PA,e.appendChild(PA),uA(PA,"transform-origin",KA/parseInt(PA.style.width)*100+"% "+QA/parseInt(PA.style.height)*100+"%")}},_onDragStart:function(e,t){var n=this,r=e.dataTransfer,i=n.options;DA("dragStart",this,{evt:e}),CS.eventCanceled?this._onDrop():(DA("setupClone",this),CS.eventCanceled||((BA=CA(FA)).removeAttribute("id"),BA.draggable=!1,BA.style["will-change"]="",this._hideClone(),cA(BA,this.options.chosenClass,!1),CS.clone=BA),n.cloneId=RS((function(){DA("clone",n),CS.eventCanceled||(n.options.removeCloneOnHide||NA.insertBefore(BA,FA),n._hideClone(),OA({sortable:n,name:"clone"}))})),!t&&cA(FA,i.dragClass,!0),t?(oS=!0,n._loopId=setInterval(n._emulateDragOver,50)):(rA(document,"mouseup",n._onDrop),rA(document,"touchend",n._onDrop),rA(document,"touchcancel",n._onDrop),r&&(r.effectAllowed="move",i.setData&&i.setData.call(n,r,FA)),nA(document,"drop",n),uA(FA,"transform","translateZ(0)")),aS=!0,n._dragStartId=RS(n._dragStarted.bind(n,t,e)),nA(document,"selectstart",n),eS=!0,window.getSelection().removeAllRanges(),KC&&uA(document.body,"user-select","none"))},_onDragOver:function(e){var t,n,r,i,a=this.el,o=e.target,s=this.options,l=s.group,c=CS.active,u=VA===l,d=s.sort,f=YA||c,h=this,p=!1;if(!dS){if(void 0!==e.preventDefault&&e.cancelable&&e.preventDefault(),o=oA(o,s.draggable,a,!0),R("dragOver"),CS.eventCanceled)return p;if(FA.contains(e.target)||o.animated&&o.animatingX&&o.animatingY||h._ignoreWhileAnimating===o)return L(!1);if(oS=!1,c&&!s.disabled&&(u?d||(r=zA!==NA):YA===this||(this.lastPutMode=VA.checkPull(this,c,FA,e))&&l.checkPut(this,c,FA,e))){if(i="vertical"===this._getDirection(e,o),t=pA(FA),R("dragOverValid"),CS.eventCanceled)return p;if(r)return zA=NA,T(),this._hideClone(),R("revert"),CS.eventCanceled||(jA?NA.insertBefore(FA,jA):NA.appendChild(FA)),L(!0);var g=vA(a,s.draggable);if(!g||function(e,t,n){var r=pA(vA(n.el,n.options.draggable)),i=AA(n.el,n.options,PA),a=10;return t?e.clientX>i.right+a||e.clientY>r.bottom&&e.clientX>r.left:e.clientY>i.bottom+a||e.clientX>r.right&&e.clientY>r.top}(e,i,this)&&!g.animated){if(g===FA)return L(!1);if(g&&a===e.target&&(o=g),o&&(n=pA(o)),!1!==AS(NA,a,FA,t,o,n,e,!!o))return T(),g&&g.nextSibling?a.insertBefore(FA,g.nextSibling):a.appendChild(FA),zA=a,D(),L(!0)}else if(g&&function(e,t,n){var r=pA(mA(n.el,0,n.options,!0)),i=AA(n.el,n.options,PA),a=10;return t?e.clientX<i.left-a||e.clientY<r.top&&e.clientX<r.right:e.clientY<i.top-a||e.clientY<r.bottom&&e.clientX<r.left}(e,i,this)){var m=mA(a,0,s,!0);if(m===FA)return L(!1);if(n=pA(o=m),!1!==AS(NA,a,FA,t,o,n,e,!1))return T(),a.insertBefore(FA,m),zA=a,D(),L(!0)}else if(o.parentNode===a){n=pA(o);var v,b,y,_=FA.parentNode!==a,w=!function(e,t,n){var r=n?e.left:e.top,i=n?e.right:e.bottom,a=n?e.width:e.height,o=n?t.left:t.top,s=n?t.right:t.bottom,l=n?t.width:t.height;return r===o||i===s||r+a/2===o+l/2}(FA.animated&&FA.toRect||t,o.animated&&o.toRect||n,i),x=i?"top":"left",k=gA(o,"top","top")||gA(FA,"top","top"),C=k?k.scrollTop:void 0;if(tS!==o&&(b=n[x],lS=!1,cS=!w&&s.invertSwap||_),v=function(e,t,n,r,i,a,o,s){var l=r?e.clientY:e.clientX,c=r?n.height:n.width,u=r?n.top:n.left,d=r?n.bottom:n.right,f=!1;if(!o)if(s&&rS<c*i){if(!lS&&(1===nS?l>u+c*a/2:l<d-c*a/2)&&(lS=!0),lS)f=!0;else if(1===nS?l<u+rS:l>d-rS)return-nS}else if(l>u+c*(1-i)/2&&l<d-c*(1-i)/2)return function(e){return bA(FA)<bA(e)?1:-1}(t);if((f=f||o)&&(l<u+c*a/2||l>d-c*a/2))return l>u+c/2?1:-1;return 0}(e,o,n,i,w?1:s.swapThreshold,null==s.invertedSwapThreshold?s.swapThreshold:s.invertedSwapThreshold,cS,tS===o),0!==v){var A=bA(FA);do{A-=v,y=zA.children[A]}while(y&&("none"===uA(y,"display")||y===PA))}if(0===v||y===o)return L(!1);tS=o,nS=v;var S=o.nextElementSibling,E=!1,M=AS(NA,a,FA,t,o,n,e,E=1===v);if(!1!==M)return 1!==M&&-1!==M||(E=1===M),dS=!0,setTimeout(ES,30),T(),E&&!S?a.appendChild(FA):o.parentNode.insertBefore(FA,E?S:o),k&&kA(k,0,C-k.scrollTop),zA=FA.parentNode,void 0===b||cS||(rS=Math.abs(b-pA(o)[x])),D(),L(!0)}if(a.contains(FA))return L(!1)}return!1}function R(s,l){DA(s,h,VC({evt:e,isOwner:u,axis:i?"vertical":"horizontal",revert:r,dragRect:t,targetRect:n,canSort:d,fromSortable:f,target:o,completed:L,onMove:function(n,r){return AS(NA,a,FA,t,n,pA(n),e,r)},changed:D},l))}function T(){R("dragOverAnimationCapture"),h.captureAnimationState(),h!==f&&f.captureAnimationState()}function L(t){return R("dragOverCompleted",{insertion:t}),t&&(u?c._hideClone():c._showClone(h),h!==f&&(cA(FA,YA?YA.options.ghostClass:c.options.ghostClass,!1),cA(FA,s.ghostClass,!0)),YA!==h&&h!==CS.active?YA=h:h===CS.active&&YA&&(YA=null),f===h&&(h._ignoreWhileAnimating=o),h.animateAll((function(){R("dragOverAnimationComplete"),h._ignoreWhileAnimating=null})),h!==f&&(f.animateAll(),f._ignoreWhileAnimating=null)),(o===FA&&!FA.animated||o===a&&!o.animated)&&(tS=null),s.dragoverBubble||e.rootEl||o===document||(FA.parentNode[SA]._isOutsideThisEl(e.target),!t&&xS(e)),!s.dragoverBubble&&e.stopPropagation&&e.stopPropagation(),p=!0}function D(){qA=bA(FA),UA=bA(FA,s.draggable),OA({sortable:h,name:"change",toEl:a,newIndex:qA,newDraggableIndex:UA,originalEvent:e})}},_ignoreWhileAnimating:null,_offMoveEvents:function(){rA(document,"mousemove",this._onTouchMove),rA(document,"touchmove",this._onTouchMove),rA(document,"pointermove",this._onTouchMove),rA(document,"dragover",xS),rA(document,"mousemove",xS),rA(document,"touchmove",xS)},_offUpEvents:function(){var e=this.el.ownerDocument;rA(e,"mouseup",this._onDrop),rA(e,"touchend",this._onDrop),rA(e,"pointerup",this._onDrop),rA(e,"pointercancel",this._onDrop),rA(e,"touchcancel",this._onDrop),rA(document,"selectstart",this)},_onDrop:function(e){var t=this.el,n=this.options;qA=bA(FA),UA=bA(FA,n.draggable),DA("drop",this,{evt:e}),zA=FA&&FA.parentNode,qA=bA(FA),UA=bA(FA,n.draggable),CS.eventCanceled||(aS=!1,cS=!1,lS=!1,clearInterval(this._loopId),clearTimeout(this._dragStartTimer),TS(this.cloneId),TS(this._dragStartId),this.nativeDraggable&&(rA(document,"drop",this),rA(t,"dragstart",this._onDragStart)),this._offMoveEvents(),this._offUpEvents(),KC&&uA(document.body,"user-select",""),uA(FA,"transform",""),e&&(eS&&(e.cancelable&&e.preventDefault(),!n.dropBubble&&e.stopPropagation()),PA&&PA.parentNode&&PA.parentNode.removeChild(PA),(NA===zA||YA&&"clone"!==YA.lastPutMode)&&BA&&BA.parentNode&&BA.parentNode.removeChild(BA),FA&&(this.nativeDraggable&&rA(FA,"dragend",this),SS(FA),FA.style["will-change"]="",eS&&!aS&&cA(FA,YA?YA.options.ghostClass:this.options.ghostClass,!1),cA(FA,this.options.chosenClass,!1),OA({sortable:this,name:"unchoose",toEl:zA,newIndex:null,newDraggableIndex:null,originalEvent:e}),NA!==zA?(qA>=0&&(OA({rootEl:zA,name:"add",toEl:zA,fromEl:NA,originalEvent:e}),OA({sortable:this,name:"remove",toEl:zA,originalEvent:e}),OA({rootEl:zA,name:"sort",toEl:zA,fromEl:NA,originalEvent:e}),OA({sortable:this,name:"sort",toEl:zA,originalEvent:e})),YA&&YA.save()):qA!==$A&&qA>=0&&(OA({sortable:this,name:"update",toEl:zA,originalEvent:e}),OA({sortable:this,name:"sort",toEl:zA,originalEvent:e})),CS.active&&(null!=qA&&-1!==qA||(qA=$A,UA=HA),OA({sortable:this,name:"end",toEl:zA,originalEvent:e}),this.save())))),this._nulling()},_nulling:function(){DA("nulling",this),NA=FA=zA=PA=jA=BA=IA=WA=GA=XA=eS=qA=UA=$A=HA=tS=nS=YA=VA=CS.dragged=CS.ghost=CS.clone=CS.active=null;var e=this.el;fS.forEach((function(t){e.contains(t)&&(t.checked=!0)})),fS.length=JA=ZA=0},handleEvent:function(e){switch(e.type){case"drop":case"dragend":this._onDrop(e);break;case"dragenter":case"dragover":FA&&(this._onDragOver(e),function(e){e.dataTransfer&&(e.dataTransfer.dropEffect="move");e.cancelable&&e.preventDefault()}(e));break;case"selectstart":e.preventDefault()}},toArray:function(){for(var e,t=[],n=this.el.children,r=0,i=n.length,a=this.options;r<i;r++)oA(e=n[r],a.draggable,this.el,!1)&&t.push(e.getAttribute(a.dataIdAttr)||MS(e));return t},sort:function(e,t){var n={},r=this.el;this.toArray().forEach((function(e,t){var i=r.children[t];oA(i,this.options.draggable,r,!1)&&(n[e]=i)}),this),t&&this.captureAnimationState(),e.forEach((function(e){n[e]&&(r.removeChild(n[e]),r.appendChild(n[e]))})),t&&this.animateAll()},save:function(){var e=this.options.store;e&&e.set&&e.set(this)},closest:function(e,t){return oA(e,t||this.options.draggable,this.el,!1)},option:function(e,t){var n=this.options;if(void 0===t)return n[e];var r=TA.modifyOption(this,e,t);n[e]=void 0!==r?r:t,"group"===e&&yS(n)},destroy:function(){DA("destroy",this);var e=this.el;e[SA]=null,rA(e,"mousedown",this._onTapStart),rA(e,"touchstart",this._onTapStart),rA(e,"pointerdown",this._onTapStart),this.nativeDraggable&&(rA(e,"dragover",this),rA(e,"dragenter",this)),Array.prototype.forEach.call(e.querySelectorAll("[draggable]"),(function(e){e.removeAttribute("draggable")})),this._onDrop(),this._disableDelayedDragEvents(),sS.splice(sS.indexOf(this.el),1),this.el=e=null},_hideClone:function(){if(!WA){if(DA("hideClone",this),CS.eventCanceled)return;uA(BA,"display","none"),this.options.removeCloneOnHide&&BA.parentNode&&BA.parentNode.removeChild(BA),WA=!0}},_showClone:function(e){if("clone"===e.lastPutMode){if(WA){if(DA("showClone",this),CS.eventCanceled)return;FA.parentNode!=NA||this.options.group.revertClone?jA?NA.insertBefore(BA,jA):NA.appendChild(BA):NA.insertBefore(BA,FA),this.options.group.revertClone&&this.animate(FA,BA),uA(BA,"display",""),WA=!1}}else this._hideClone()}},hS&&nA(document,"touchmove",(function(e){(CS.active||aS)&&e.cancelable&&e.preventDefault()})),CS.utils={on:nA,off:rA,css:uA,find:fA,is:function(e,t){return!!oA(e,t,e,!1)},extend:function(e,t){if(e&&t)for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);return e},throttle:xA,closest:oA,toggleClass:cA,clone:CA,index:bA,nextTick:RS,cancelNextTick:TS,detectDirection:bS,getChild:mA,expando:SA},CS.get=function(e){return e[SA]},CS.mount=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];t[0].constructor===Array&&(t=t[0]),t.forEach((function(e){if(!e.prototype||!e.prototype.constructor)throw"Sortable: Mounted plugin must be a constructor function, not ".concat({}.toString.call(e));e.utils&&(CS.utils=VC(VC({},CS.utils),e.utils)),TA.mount(e)}))},CS.create=function(e,t){return new CS(e,t)},CS.version="1.15.7";var LS,DS,OS,FS,zS,PS,NS=[],jS=!1;function IS(){NS.forEach((function(e){clearInterval(e.pid)})),NS=[]}function BS(){clearInterval(PS)}var WS,$S=xA((function(e,t,n,r){if(t.scroll){var i,a=(e.touches?e.touches[0]:e).clientX,o=(e.touches?e.touches[0]:e).clientY,s=t.scrollSensitivity,l=t.scrollSpeed,c=hA(),u=!1;DS!==n&&(DS=n,IS(),LS=t.scroll,i=t.scrollFn,!0===LS&&(LS=_A(n,!0)));var d=0,f=LS;do{var h=f,p=pA(h),g=p.top,m=p.bottom,v=p.left,b=p.right,y=p.width,_=p.height,w=void 0,x=void 0,k=h.scrollWidth,C=h.scrollHeight,A=uA(h),S=h.scrollLeft,E=h.scrollTop;h===c?(w=y<k&&("auto"===A.overflowX||"scroll"===A.overflowX||"visible"===A.overflowX),x=_<C&&("auto"===A.overflowY||"scroll"===A.overflowY||"visible"===A.overflowY)):(w=y<k&&("auto"===A.overflowX||"scroll"===A.overflowX),x=_<C&&("auto"===A.overflowY||"scroll"===A.overflowY));var M=w&&(Math.abs(b-a)<=s&&S+y<k)-(Math.abs(v-a)<=s&&!!S),R=x&&(Math.abs(m-o)<=s&&E+_<C)-(Math.abs(g-o)<=s&&!!E);if(!NS[d])for(var T=0;T<=d;T++)NS[T]||(NS[T]={});NS[d].vx==M&&NS[d].vy==R&&NS[d].el===h||(NS[d].el=h,NS[d].vx=M,NS[d].vy=R,clearInterval(NS[d].pid),0==M&&0==R||(u=!0,NS[d].pid=setInterval(function(){r&&0===this.layer&&CS.active._onTouchMove(zS);var t=NS[this.layer].vy?NS[this.layer].vy*l:0,n=NS[this.layer].vx?NS[this.layer].vx*l:0;"function"==typeof i&&"continue"!==i.call(CS.dragged.parentNode[SA],n,t,e,zS,NS[this.layer].el)||kA(NS[this.layer].el,n,t)}.bind({layer:d}),24))),d++}while(t.bubbleScroll&&f!==c&&(f=_A(f,!1)));jS=u}}),30),qS=function(e){var t=e.originalEvent,n=e.putSortable,r=e.dragEl,i=e.activeSortable,a=e.dispatchSortableEvent,o=e.hideGhostForTarget,s=e.unhideGhostForTarget;if(t){var l=n||i;o();var c=t.changedTouches&&t.changedTouches.length?t.changedTouches[0]:t,u=document.elementFromPoint(c.clientX,c.clientY);s(),l&&!l.el.contains(u)&&(a("spill"),this.onSpill({dragEl:r,putSortable:n}))}};function HS(){}function US(){}HS.prototype={startIndex:null,dragStart:function(e){var t=e.oldDraggableIndex;this.startIndex=t},onSpill:function(e){var t=e.dragEl,n=e.putSortable;this.sortable.captureAnimationState(),n&&n.captureAnimationState();var r=mA(this.sortable.el,this.startIndex,this.options);r?this.sortable.el.insertBefore(t,r):this.sortable.el.appendChild(t),this.sortable.animateAll(),n&&n.animateAll()},drop:qS},HC(HS,{pluginName:"revertOnSpill"}),US.prototype={onSpill:function(e){var t=e.dragEl,n=e.putSortable||this.sortable;n.captureAnimationState(),t.parentNode&&t.parentNode.removeChild(t),n.animateAll()},drop:qS},HC(US,{pluginName:"removeOnSpill"}),CS.mount(new function(){function e(){for(var e in this.defaults={scroll:!0,forceAutoScrollFallback:!1,scrollSensitivity:30,scrollSpeed:10,bubbleScroll:!0},this)"_"===e.charAt(0)&&"function"==typeof this[e]&&(this[e]=this[e].bind(this))}return e.prototype={dragStarted:function(e){var t=e.originalEvent;this.sortable.nativeDraggable?nA(document,"dragover",this._handleAutoScroll):this.options.supportPointer?nA(document,"pointermove",this._handleFallbackAutoScroll):t.touches?nA(document,"touchmove",this._handleFallbackAutoScroll):nA(document,"mousemove",this._handleFallbackAutoScroll)},dragOverCompleted:function(e){var t=e.originalEvent;this.options.dragOverBubble||t.rootEl||this._handleAutoScroll(t)},drop:function(){this.sortable.nativeDraggable?rA(document,"dragover",this._handleAutoScroll):(rA(document,"pointermove",this._handleFallbackAutoScroll),rA(document,"touchmove",this._handleFallbackAutoScroll),rA(document,"mousemove",this._handleFallbackAutoScroll)),BS(),IS(),clearTimeout(sA),sA=void 0},nulling:function(){zS=DS=LS=jS=PS=OS=FS=null,NS.length=0},_handleFallbackAutoScroll:function(e){this._handleAutoScroll(e,!0)},_handleAutoScroll:function(e,t){var n=this,r=(e.touches?e.touches[0]:e).clientX,i=(e.touches?e.touches[0]:e).clientY,a=document.elementFromPoint(r,i);if(zS=e,t||this.options.forceAutoScrollFallback||JC||XC||KC){$S(e,this.options,a,t);var o=_A(a,!0);!jS||PS&&r===OS&&i===FS||(PS&&BS(),PS=setInterval((function(){var a=_A(document.elementFromPoint(r,i),!0);a!==o&&(o=a,IS()),$S(e,n.options,a,t)}),10),OS=r,FS=i)}else{if(!this.options.bubbleScroll||_A(a,!0)===hA())return void IS();$S(e,this.options,_A(a,!1),!1)}}},HC(e,{pluginName:"scroll",initializeByDefault:!0})}),CS.mount(US,HS);const VS="dnd-drag-handle",YS="dnd-drag-enabled";CS.mount(new function(){function e(){this.defaults={swapClass:"sortable-swap-highlight"}}return e.prototype={dragStart:function(e){var t=e.dragEl;WS=t},dragOverValid:function(e){var t=e.completed,n=e.target,r=e.onMove,i=e.activeSortable,a=e.changed,o=e.cancel;if(i.options.swap){var s=this.sortable.el,l=this.options;if(n&&n!==s){var c=WS;!1!==r(n)?(cA(n,l.swapClass,!0),WS=n):WS=null,c&&c!==WS&&cA(c,l.swapClass,!1)}a(),t(!0),o()}},drop:function(e){var t=e.activeSortable,n=e.putSortable,r=e.dragEl,i=n||this.sortable,a=this.options;WS&&cA(WS,a.swapClass,!1),WS&&(a.swap||n&&n.options.swap)&&r!==WS&&(i.captureAnimationState(),i!==t&&t.captureAnimationState(),function(e,t){var n,r,i=e.parentNode,a=t.parentNode;if(!i||!a||i.isEqualNode(t)||a.isEqualNode(e))return;n=bA(e),r=bA(t),i.isEqualNode(a)&&n<r&&r++;i.insertBefore(t,i.children[n]),a.insertBefore(e,a.children[r])}(r,WS),i.animateAll(),i!==t&&t.animateAll())},nulling:function(){WS=null}},HC(e,{pluginName:"swap",eventProperties:function(){return{swapItem:WS}}})});var GS="styles_grid__bgsAQ";const XS=({className:e,options:t,kind:n="default",children:r,...i})=>{const a=C(null);return((e,t)=>{S((()=>{if(e.current){const n=CS.create(e.current,{animation:150,handle:`.${VS}`,draggable:`.${YS}`,...t});return()=>{n.destroy()}}}),[e,t])})(a,R((()=>({...t,..."swap"===n&&{swap:!0,swapClass:"dnd-drag-swap-highlight"}})),[t,n])),yi("div",{ref:a,className:ae(GS,e),...i,children:r})},JS=({className:e})=>yi(xi,{id:wi.draggable,className:e});var ZS="styles_drag-handle__2DC4-";const KS=({className:e})=>yi("div",{className:ae(ZS,VS,e),children:yi(JS,{})});var QS="styles_grid-item__-kGp3",eE="styles_grid-item-content__hZ5TS",tE="styles_grid-item-handle__OyO7A";const nE=({className:e,children:t,dndEnabled:n=!1,...r})=>yi("div",{...r,className:ae(QS,{[YS]:n},e),children:[yi("div",{className:eE,children:t}),n&&yi(KS,{className:tE})]}),rE=({locale:e,setLocale:t,availableLocales:n})=>{const r=n||Object.keys(Lo),i=[...new Set(r)].map((e=>({key:e,value:Lo[e].full})));return yi(Gm,{size:"s",menuTrigger:({isOpened:t,onClick:n})=>yi(Li,{style:"ghost",size:"s",text:Lo[e]&&Lo[e].short||Lo.en.short,isExpanded:t,onClick:n}),children:yi(Gm.Section,{children:i.map((({key:n,value:r})=>yi(Gm.ItemWithCheckmark,{onClick:()=>{t(n)},isChecked:e===n,children:r},n)))})})},iE={light:wi.lineShapesSun,dark:wi.lineShapesMoon,auto:wi.lineShapesThemeAuto},aE=({theme:e,toggleTheme:t})=>yi(Ti,{onClick:t,style:"ghost",icon:iE[e],size:"s"});var oE="styles_label__IW9cn",sE="styles_wrapper__elS6G",lE="styles_icon__GXXnU",cE="styles_text__fEQgL";const uE=e=>{const{icon:t,children:n,tooltip:r,className:i,style:a="secondary",...o}=e,s=yi("div",{className:ae(sE,i),children:[yi(xi,{className:lE,id:t}),yi(Ci,{className:cE,type:"ui",size:"s",bold:!0,children:n})]});return yi("div",r?{className:oE,...o,"data-style":a,children:yi(Ja,{tooltipText:r,children:s})}:{className:oE,...o,"data-style":a,children:s})};var dE=EE(),fE=e=>kE(e,dE),hE=EE();fE.write=e=>kE(e,hE);var pE=EE();fE.onStart=e=>kE(e,pE);var gE=EE();fE.onFrame=e=>kE(e,gE);var mE=EE();fE.onFinish=e=>kE(e,mE);var vE=[];fE.setTimeout=(e,t)=>{const n=fE.now()+t,r=()=>{const e=vE.findIndex((e=>e.cancel==r));~e&&vE.splice(e,1),wE-=~e?1:0},i={time:n,handler:e,cancel:r};return vE.splice(bE(n),0,i),wE+=1,CE(),i};var bE=e=>~(~vE.findIndex((t=>t.time>e))||~vE.length);fE.cancel=e=>{pE.delete(e),gE.delete(e),mE.delete(e),dE.delete(e),hE.delete(e)},fE.sync=e=>{xE=!0,fE.batchedUpdates(e),xE=!1},fE.throttle=e=>{let t;function n(){try{e(...t)}finally{t=null}}function r(...e){t=e,fE.onStart(n)}return r.handler=e,r.cancel=()=>{pE.delete(n),t=null},r};var yE="undefined"!=typeof window?window.requestAnimationFrame:()=>{};fE.use=e=>yE=e,fE.now="undefined"!=typeof performance?()=>performance.now():Date.now,fE.batchedUpdates=e=>e(),fE.catch=console.error,fE.frameLoop="always",fE.advance=()=>{"demand"!==fE.frameLoop?console.warn("Cannot call the manual advancement of rafz whilst frameLoop is not set as demand"):SE()};var _E=-1,wE=0,xE=!1;function kE(e,t){xE?(t.delete(e),e(0)):(t.add(e),CE())}function CE(){_E<0&&(_E=0,"demand"!==fE.frameLoop&&yE(AE))}function AE(){~_E&&(yE(AE),fE.batchedUpdates(SE))}function SE(){const e=_E;_E=fE.now();const t=bE(_E);t&&(ME(vE.splice(0,t),(e=>e.handler())),wE-=t),wE?(pE.flush(),dE.flush(e?Math.min(64,_E-e):16.667),gE.flush(),hE.flush(),mE.flush()):_E=-1}function EE(){let e=new Set,t=e;return{add(n){wE+=t!=e||e.has(n)?0:1,e.add(n)},delete:n=>(wE-=t==e&&e.has(n)?1:0,e.delete(n)),flush(n){t.size&&(e=new Set,wE-=t.size,ME(t,(t=>t(n)&&e.add(t))),wE+=e.size,t=e)}}}function ME(e,t){e.forEach((e=>{try{t(e)}catch(e){fE.catch(e)}}))}var RE=Object.defineProperty,TE={};function LE(){}((e,t)=>{for(var n in t)RE(e,n,{get:t[n],enumerable:!0})})(TE,{assign:()=>UE,colors:()=>$E,createStringInterpolator:()=>jE,skipAnimation:()=>qE,to:()=>IE,willAdvance:()=>HE});var DE={arr:Array.isArray,obj:e=>!!e&&"Object"===e.constructor.name,fun:e=>"function"==typeof e,str:e=>"string"==typeof e,num:e=>"number"==typeof e,und:e=>void 0===e};function OE(e,t){if(DE.arr(e)){if(!DE.arr(t)||e.length!==t.length)return!1;for(let n=0;n<e.length;n++)if(e[n]!==t[n])return!1;return!0}return e===t}var FE=(e,t)=>e.forEach(t);function zE(e,t,n){if(DE.arr(e))for(let r=0;r<e.length;r++)t.call(n,e[r],`${r}`);else for(const r in e)e.hasOwnProperty(r)&&t.call(n,e[r],r)}var PE=e=>DE.und(e)?[]:DE.arr(e)?e:[e];function NE(e,t){if(e.size){const n=Array.from(e);e.clear(),FE(n,t)}}var jE,IE,BE=(e,...t)=>NE(e,(e=>e(...t))),WE=()=>"undefined"==typeof window||!window.navigator||/ServerSideRendering|^Deno\//.test(window.navigator.userAgent),$E=null,qE=!1,HE=LE,UE=e=>{e.to&&(IE=e.to),e.now&&(fE.now=e.now),void 0!==e.colors&&($E=e.colors),null!=e.skipAnimation&&(qE=e.skipAnimation),e.createStringInterpolator&&(jE=e.createStringInterpolator),e.requestAnimationFrame&&fE.use(e.requestAnimationFrame),e.batchedUpdates&&(fE.batchedUpdates=e.batchedUpdates),e.willAdvance&&(HE=e.willAdvance),e.frameLoop&&(fE.frameLoop=e.frameLoop)},VE=new Set,YE=[],GE=[],XE=0,JE={get idle(){return!VE.size&&!YE.length},start(e){XE>e.priority?(VE.add(e),fE.onStart(ZE)):(KE(e),fE(eM))},advance:eM,sort(e){if(XE)fE.onFrame((()=>JE.sort(e)));else{const t=YE.indexOf(e);~t&&(YE.splice(t,1),QE(e))}},clear(){YE=[],VE.clear()}};function ZE(){VE.forEach(KE),VE.clear(),fE(eM)}function KE(e){YE.includes(e)||QE(e)}function QE(e){YE.splice(function(e,t){const n=e.findIndex(t);return n<0?e.length:n}(YE,(t=>t.priority>e.priority)),0,e)}function eM(e){const t=GE;for(let n=0;n<YE.length;n++){const r=YE[n];XE=r.priority,r.idle||(HE(r),r.advance(e),r.idle||t.push(r))}return XE=0,(GE=YE).length=0,(YE=t).length>0}var tM={transparent:0,aliceblue:4042850303,antiquewhite:4209760255,aqua:16777215,aquamarine:2147472639,azure:4043309055,beige:4126530815,bisque:4293182719,black:255,blanchedalmond:4293643775,blue:65535,blueviolet:2318131967,brown:2771004159,burlywood:3736635391,burntsienna:3934150143,cadetblue:1604231423,chartreuse:2147418367,chocolate:3530104575,coral:4286533887,cornflowerblue:1687547391,cornsilk:4294499583,crimson:3692313855,cyan:16777215,darkblue:35839,darkcyan:9145343,darkgoldenrod:3095792639,darkgray:2846468607,darkgreen:6553855,darkgrey:2846468607,darkkhaki:3182914559,darkmagenta:2332068863,darkolivegreen:1433087999,darkorange:4287365375,darkorchid:2570243327,darkred:2332033279,darksalmon:3918953215,darkseagreen:2411499519,darkslateblue:1211993087,darkslategray:793726975,darkslategrey:793726975,darkturquoise:13554175,darkviolet:2483082239,deeppink:4279538687,deepskyblue:12582911,dimgray:1768516095,dimgrey:1768516095,dodgerblue:512819199,firebrick:2988581631,floralwhite:4294635775,forestgreen:579543807,fuchsia:4278255615,gainsboro:3705462015,ghostwhite:4177068031,gold:4292280575,goldenrod:3668254975,gray:2155905279,green:8388863,greenyellow:2919182335,grey:2155905279,honeydew:4043305215,hotpink:4285117695,indianred:3445382399,indigo:1258324735,ivory:4294963455,khaki:4041641215,lavender:3873897215,lavenderblush:4293981695,lawngreen:2096890111,lemonchiffon:4294626815,lightblue:2916673279,lightcoral:4034953471,lightcyan:3774873599,lightgoldenrodyellow:4210742015,lightgray:3553874943,lightgreen:2431553791,lightgrey:3553874943,lightpink:4290167295,lightsalmon:4288707327,lightseagreen:548580095,lightskyblue:2278488831,lightslategray:2005441023,lightslategrey:2005441023,lightsteelblue:2965692159,lightyellow:4294959359,lime:16711935,limegreen:852308735,linen:4210091775,magenta:4278255615,maroon:2147483903,mediumaquamarine:1724754687,mediumblue:52735,mediumorchid:3126187007,mediumpurple:2473647103,mediumseagreen:1018393087,mediumslateblue:2070474495,mediumspringgreen:16423679,mediumturquoise:1221709055,mediumvioletred:3340076543,midnightblue:421097727,mintcream:4127193855,mistyrose:4293190143,moccasin:4293178879,navajowhite:4292783615,navy:33023,oldlace:4260751103,olive:2155872511,olivedrab:1804477439,orange:4289003775,orangered:4282712319,orchid:3664828159,palegoldenrod:4008225535,palegreen:2566625535,paleturquoise:2951671551,palevioletred:3681588223,papayawhip:4293907967,peachpuff:4292524543,peru:3448061951,pink:4290825215,plum:3718307327,powderblue:2967529215,purple:2147516671,rebeccapurple:1714657791,red:4278190335,rosybrown:3163525119,royalblue:1097458175,saddlebrown:2336560127,salmon:4202722047,sandybrown:4104413439,seagreen:780883967,seashell:4294307583,sienna:2689740287,silver:3233857791,skyblue:2278484991,slateblue:1784335871,slategray:1887473919,slategrey:1887473919,snow:4294638335,springgreen:16744447,steelblue:1182971135,tan:3535047935,teal:8421631,thistle:3636451583,tomato:4284696575,turquoise:1088475391,violet:4001558271,wheat:4125012991,white:4294967295,whitesmoke:4126537215,yellow:4294902015,yellowgreen:2597139199},nM="[-+]?\\d*\\.?\\d+",rM=nM+"%";function iM(...e){return"\\(\\s*("+e.join(")\\s*,\\s*(")+")\\s*\\)"}var aM=new RegExp("rgb"+iM(nM,nM,nM)),oM=new RegExp("rgba"+iM(nM,nM,nM,nM)),sM=new RegExp("hsl"+iM(nM,rM,rM)),lM=new RegExp("hsla"+iM(nM,rM,rM,nM)),cM=/^#([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,uM=/^#([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,dM=/^#([0-9a-fA-F]{6})$/,fM=/^#([0-9a-fA-F]{8})$/;function hM(e,t,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?e+6*(t-e)*n:n<.5?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function pM(e,t,n){const r=n<.5?n*(1+t):n+t-n*t,i=2*n-r,a=hM(i,r,e+1/3),o=hM(i,r,e),s=hM(i,r,e-1/3);return Math.round(255*a)<<24|Math.round(255*o)<<16|Math.round(255*s)<<8}function gM(e){const t=parseInt(e,10);return t<0?0:t>255?255:t}function mM(e){return(parseFloat(e)%360+360)%360/360}function vM(e){const t=parseFloat(e);return t<0?0:t>1?255:Math.round(255*t)}function bM(e){const t=parseFloat(e);return t<0?0:t>100?1:t/100}function yM(e){let t=function(e){let t;return"number"==typeof e?e>>>0===e&&e>=0&&e<=4294967295?e:null:(t=dM.exec(e))?parseInt(t[1]+"ff",16)>>>0:$E&&void 0!==$E[e]?$E[e]:(t=aM.exec(e))?(gM(t[1])<<24|gM(t[2])<<16|gM(t[3])<<8|255)>>>0:(t=oM.exec(e))?(gM(t[1])<<24|gM(t[2])<<16|gM(t[3])<<8|vM(t[4]))>>>0:(t=cM.exec(e))?parseInt(t[1]+t[1]+t[2]+t[2]+t[3]+t[3]+"ff",16)>>>0:(t=fM.exec(e))?parseInt(t[1],16)>>>0:(t=uM.exec(e))?parseInt(t[1]+t[1]+t[2]+t[2]+t[3]+t[3]+t[4]+t[4],16)>>>0:(t=sM.exec(e))?(255|pM(mM(t[1]),bM(t[2]),bM(t[3])))>>>0:(t=lM.exec(e))?(pM(mM(t[1]),bM(t[2]),bM(t[3]))|vM(t[4]))>>>0:null}(e);if(null===t)return e;t=t||0;return`rgba(${(4278190080&t)>>>24}, ${(16711680&t)>>>16}, ${(65280&t)>>>8}, ${(255&t)/255})`}var _M=(e,t,n)=>{if(DE.fun(e))return e;if(DE.arr(e))return _M({range:e,output:t,extrapolate:n});if(DE.str(e.output[0]))return jE(e);const r=e,i=r.output,a=r.range||[0,1],o=r.extrapolateLeft||r.extrapolate||"extend",s=r.extrapolateRight||r.extrapolate||"extend",l=r.easing||(e=>e);return e=>{const t=function(e,t){for(var n=1;n<t.length-1&&!(t[n]>=e);++n);return n-1}(e,a);return function(e,t,n,r,i,a,o,s,l){let c=l?l(e):e;if(c<t){if("identity"===o)return c;"clamp"===o&&(c=t)}if(c>n){if("identity"===s)return c;"clamp"===s&&(c=n)}if(r===i)return r;if(t===n)return e<=t?r:i;t===-1/0?c=-c:n===1/0?c-=t:c=(c-t)/(n-t);c=a(c),r===-1/0?c=-c:i===1/0?c+=r:c=c*(i-r)+r;return c}(e,a[t],a[t+1],i[t],i[t+1],l,o,s,r.map)}};var wM=Symbol.for("FluidValue.get"),xM=Symbol.for("FluidValue.observers"),kM=e=>Boolean(e&&e[wM]),CM=e=>e&&e[wM]?e[wM]():e,AM=e=>e[xM]||null;function SM(e,t){const n=e[xM];n&&n.forEach((e=>{!function(e,t){e.eventObserved?e.eventObserved(t):e(t)}(e,t)}))}var EM=class{constructor(e){if(!e&&!(e=this.get))throw Error("Unknown getter");MM(this,e)}},MM=(e,t)=>DM(e,wM,t);function RM(e,t){if(e[wM]){let n=e[xM];n||DM(e,xM,n=new Set),n.has(t)||(n.add(t),e.observerAdded&&e.observerAdded(n.size,t))}return t}function TM(e,t){const n=e[xM];if(n&&n.has(t)){const r=n.size-1;r?n.delete(t):e[xM]=null,e.observerRemoved&&e.observerRemoved(r,t)}}var LM,DM=(e,t,n)=>Object.defineProperty(e,t,{value:n,writable:!0,configurable:!0}),OM=/[+\-]?(?:0|[1-9]\d*)(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,FM=/(#(?:[0-9a-f]{2}){2,4}|(#[0-9a-f]{3})|(rgb|hsl)a?\((-?\d+%?[,\s]+){2,3}\s*[\d\.]+%?\))/gi,zM=new RegExp(`(${OM.source})(%|[a-z]+)`,"i"),PM=/rgba\(([0-9\.-]+), ([0-9\.-]+), ([0-9\.-]+), ([0-9\.-]+)\)/gi,NM=/var\((--[a-zA-Z0-9-_]+),? ?([a-zA-Z0-9 ()%#.,-]+)?\)/,jM=e=>{const[t,n]=IM(e);if(!t||WE())return e;const r=window.getComputedStyle(document.documentElement).getPropertyValue(t);if(r)return r.trim();if(n&&n.startsWith("--")){const t=window.getComputedStyle(document.documentElement).getPropertyValue(n);return t||e}return n&&NM.test(n)?jM(n):n||e},IM=e=>{const t=NM.exec(e);if(!t)return[,];const[,n,r]=t;return[n,r]},BM=(e,t,n,r,i)=>`rgba(${Math.round(t)}, ${Math.round(n)}, ${Math.round(r)}, ${i})`,WM=e=>{LM||(LM=$E?new RegExp(`(${Object.keys($E).join("|")})(?!\\w)`,"g"):/^\b$/);const t=e.output.map((e=>CM(e).replace(NM,jM).replace(FM,yM).replace(LM,yM))),n=t.map((e=>e.match(OM).map(Number))),r=n[0].map(((e,t)=>n.map((e=>{if(!(t in e))throw Error('The arity of each "output" value must be equal');return e[t]})))),i=r.map((t=>_M({...e,output:t})));return e=>{const n=!zM.test(t[0])&&t.find((e=>zM.test(e)))?.replace(OM,"");let r=0;return t[0].replace(OM,(()=>`${i[r++](e)}${n||""}`)).replace(PM,BM)}},$M="react-spring: ",qM=e=>{const t=e;let n=!1;if("function"!=typeof t)throw new TypeError(`${$M}once requires a function parameter`);return(...e)=>{n||(t(...e),n=!0)}},HM=qM(console.warn);var UM=qM(console.warn);function VM(e){return DE.str(e)&&("#"==e[0]||/\d/.test(e)||!WE()&&NM.test(e)||e in($E||{}))}var YM=WE()?n:r;function GM(){const e=t()[1],n=(()=>{const e=i(!1);return YM((()=>(e.current=!0,()=>{e.current=!1})),[]),e})();return()=>{n.current&&e(Math.random())}}var XM=e=>n(e,JM),JM=[];function ZM(e){const t=i(void 0);return n((()=>{t.current=e})),t.current}var KM=Symbol.for("Animated:node"),QM=e=>e&&e[KM],eR=(e,t)=>{return n=e,r=KM,i=t,Object.defineProperty(n,r,{value:i,writable:!0,configurable:!0});var n,r,i},tR=e=>e&&e[KM]&&e[KM].getPayload(),nR=class{constructor(){eR(this,this)}getPayload(){return this.payload||[]}},rR=class e extends nR{constructor(e){super(),this._value=e,this.done=!0,this.durationProgress=0,DE.num(this._value)&&(this.lastPosition=this._value)}static create(t){return new e(t)}getPayload(){return[this]}getValue(){return this._value}setValue(e,t){return DE.num(e)&&(this.lastPosition=e,t&&(e=Math.round(e/t)*t,this.done&&(this.lastPosition=e))),this._value!==e&&(this._value=e,!0)}reset(){const{done:e}=this;this.done=!1,DE.num(this._value)&&(this.elapsedTime=0,this.durationProgress=0,this.lastPosition=this._value,e&&(this.lastVelocity=null),this.v0=null)}},iR=class e extends rR{constructor(e){super(0),this._string=null,this._toString=_M({output:[e,e]})}static create(t){return new e(t)}getValue(){const e=this._string;return null==e?this._string=this._toString(this._value):e}setValue(e){if(DE.str(e)){if(e==this._string)return!1;this._string=e,this._value=1}else{if(!super.setValue(e))return!1;this._string=null}return!0}reset(e){e&&(this._toString=_M({output:[this.getValue(),e]})),this._value=0,super.reset()}},aR={dependencies:null},oR=class extends nR{constructor(e){super(),this.source=e,this.setValue(e)}getValue(e){const t={};return zE(this.source,((n,r)=>{var i;(i=n)&&i[KM]===i?t[r]=n.getValue(e):kM(n)?t[r]=CM(n):e||(t[r]=n)})),t}setValue(e){this.source=e,this.payload=this._makePayload(e)}reset(){this.payload&&FE(this.payload,(e=>e.reset()))}_makePayload(e){if(e){const t=new Set;return zE(e,this._addToPayload,t),Array.from(t)}}_addToPayload(e){aR.dependencies&&kM(e)&&aR.dependencies.add(e);const t=tR(e);t&&FE(t,(e=>this.add(e)))}},sR=class e extends oR{constructor(e){super(e)}static create(t){return new e(t)}getValue(){return this.source.map((e=>e.getValue()))}setValue(e){const t=this.getPayload();return e.length==t.length?t.map(((t,n)=>t.setValue(e[n]))).some(Boolean):(super.setValue(e.map(lR)),!0)}};function lR(e){return(VM(e)?iR:rR).create(e)}function cR(e){const t=QM(e);return t?t.constructor:DE.arr(e)?sR:VM(e)?iR:rR}var uR=(t,r)=>{const s=!DE.fun(t)||t.prototype&&t.prototype.isReactComponent;return a(((a,l)=>{const c=i(null),u=s&&o((e=>{c.current=function(e,t){e&&(DE.fun(e)?e(t):e.current=t);return t}(l,e)}),[l]),[d,f]=function(e,t){const n=new Set;aR.dependencies=n,e.style&&(e={...e,style:t.createAnimatedStyle(e.style)});return e=new oR(e),aR.dependencies=null,[e,n]}(a,r),h=GM(),p=()=>{const e=c.current;if(s&&!e)return;!1===(!!e&&r.applyAnimatedValues(e,d.getValue(!0)))&&h()},g=new dR(p,f),m=i(void 0);YM((()=>(m.current=g,FE(f,(e=>RM(e,g))),()=>{m.current&&(FE(m.current.deps,(e=>TM(e,m.current))),fE.cancel(m.current.update))}))),n(p,[]),XM((()=>()=>{const e=m.current;FE(e.deps,(t=>TM(t,e)))}));const v=r.getComponentProps(d.getValue());return e.createElement(t,{...v,ref:u})}))},dR=class{constructor(e,t){this.update=e,this.deps=t}eventObserved(e){"change"==e.type&&fE.write(this.update)}};var fR=Symbol.for("AnimatedComponent"),hR=(e,{applyAnimatedValues:t=()=>!1,createAnimatedStyle:n=e=>new oR(e),getComponentProps:r=e=>e}={})=>{const i={applyAnimatedValues:t,createAnimatedStyle:n,getComponentProps:r},a=e=>{const t=pR(e)||"Anonymous";return(e=DE.str(e)?a[e]||(a[e]=uR(e,i)):e[fR]||(e[fR]=uR(e,i))).displayName=`Animated(${t})`,e};return zE(e,((t,n)=>{DE.arr(e)&&(n=pR(t)),a[n]=a(t)})),{animated:a}},pR=e=>DE.str(e)?e:e&&DE.str(e.displayName)?e.displayName:DE.fun(e)&&e.name||null;function gR(e,...t){return DE.fun(e)?e(...t):e}var mR=(e,t)=>!0===e||!!(t&&e&&(DE.fun(e)?e(t):PE(e).includes(t))),vR=(e,t)=>DE.obj(e)?t&&e[t]:e,bR=(e,t)=>!0===e.default?e[t]:e.default?e.default[t]:void 0,yR=e=>e,_R=(e,t=yR)=>{let n=wR;e.default&&!0!==e.default&&(e=e.default,n=Object.keys(e));const r={};for(const i of n){const n=t(e[i],i);DE.und(n)||(r[i]=n)}return r},wR=["config","onProps","onStart","onChange","onPause","onResume","onRest"],xR={config:1,from:1,to:1,ref:1,loop:1,reset:1,pause:1,cancel:1,reverse:1,immediate:1,default:1,delay:1,onProps:1,onStart:1,onChange:1,onPause:1,onResume:1,onRest:1,onResolve:1,items:1,trail:1,sort:1,expires:1,initial:1,enter:1,update:1,leave:1,children:1,onDestroyed:1,keys:1,callId:1,parentId:1};function kR(e){const t=function(e){const t={};let n=0;if(zE(e,((e,r)=>{xR[r]||(t[r]=e,n++)})),n)return t}(e);if(t){const n={to:t};return zE(e,((e,r)=>r in t||(n[r]=e))),n}return{...e}}function CR(e){return e=CM(e),DE.arr(e)?e.map(CR):VM(e)?TE.createStringInterpolator({range:[0,1],output:[e,e]})(1):e}function AR(e){for(const t in e)return!0;return!1}function SR(e){return DE.fun(e)||DE.arr(e)&&DE.obj(e[0])}function ER(e,t){e.ref?.delete(e),t?.delete(e)}function MR(e,t){t&&e.ref!==t&&(e.ref?.delete(e),t.add(e),e.ref=t)}var RR={default:{tension:170,friction:26},gentle:{tension:120,friction:14},wobbly:{tension:180,friction:12},stiff:{tension:210,friction:20},slow:{tension:280,friction:60},molasses:{tension:280,friction:120}},TR={...RR.default,mass:1,damping:1,easing:e=>e,clamp:!1},LR=class{constructor(){this.velocity=0,Object.assign(this,TR)}};function DR(e,t){if(DE.und(t.decay)){const n=!DE.und(t.tension)||!DE.und(t.friction);!n&&DE.und(t.frequency)&&DE.und(t.damping)&&DE.und(t.mass)||(e.duration=void 0,e.decay=void 0),n&&(e.frequency=void 0)}else e.duration=void 0}var OR=[],FR=class{constructor(){this.changed=!1,this.values=OR,this.toValues=null,this.fromValues=OR,this.config=new LR,this.immediate=!1}};function zR(e,{key:t,props:n,defaultProps:r,state:i,actions:a}){return new Promise(((o,s)=>{let l,c,u=mR(n.cancel??r?.cancel,t);if(u)h();else{DE.und(n.pause)||(i.paused=mR(n.pause,t));let e=r?.pause;!0!==e&&(e=i.paused||mR(e,t)),l=gR(n.delay||0,t),e?(i.resumeQueue.add(f),a.pause()):(a.resume(),f())}function d(){i.resumeQueue.add(f),i.timeouts.delete(c),c.cancel(),l=c.time-fE.now()}function f(){l>0&&!TE.skipAnimation?(i.delayed=!0,c=fE.setTimeout(h,l),i.pauseQueue.add(d),i.timeouts.add(c)):h()}function h(){i.delayed&&(i.delayed=!1),i.pauseQueue.delete(d),i.timeouts.delete(c),e<=(i.cancelId||0)&&(u=!0);try{a.start({...n,callId:e,cancel:u},o)}catch(e){s(e)}}}))}var PR=(e,t)=>1==t.length?t[0]:t.some((e=>e.cancelled))?IR(e.get()):t.every((e=>e.noop))?NR(e.get()):jR(e.get(),t.every((e=>e.finished))),NR=e=>({value:e,noop:!0,finished:!0,cancelled:!1}),jR=(e,t,n=!1)=>({value:e,finished:t,cancelled:n}),IR=e=>({value:e,cancelled:!0,finished:!1});function BR(e,t,n,r){const{callId:i,parentId:a,onRest:o}=t,{asyncTo:s,promise:l}=n;return a||e!==s||t.reset?n.promise=(async()=>{n.asyncId=i,n.asyncTo=e;const c=_R(t,((e,t)=>"onRest"===t?void 0:e));let u,d;const f=new Promise(((e,t)=>(u=e,d=t))),h=e=>{const t=i<=(n.cancelId||0)&&IR(r)||i!==n.asyncId&&jR(r,!1);if(t)throw e.result=t,d(e),e},p=(e,t)=>{const a=new $R,o=new qR;return(async()=>{if(TE.skipAnimation)throw WR(n),o.result=jR(r,!1),d(o),o;h(a);const s=DE.obj(e)?{...e}:{...t,to:e};s.parentId=i,zE(c,((e,t)=>{DE.und(s[t])&&(s[t]=e)}));const l=await r.start(s);return h(a),n.paused&&await new Promise((e=>{n.resumeQueue.add(e)})),l})()};let g;if(TE.skipAnimation)return WR(n),jR(r,!1);try{let t;t=DE.arr(e)?(async e=>{for(const t of e)await p(t)})(e):Promise.resolve(e(p,r.stop.bind(r))),await Promise.all([t.then(u),f]),g=jR(r.get(),!0,!1)}catch(e){if(e instanceof $R)g=e.result;else{if(!(e instanceof qR))throw e;g=e.result}}finally{i==n.asyncId&&(n.asyncId=a,n.asyncTo=a?s:void 0,n.promise=a?l:void 0)}return DE.fun(o)&&fE.batchedUpdates((()=>{o(g,r,r.item)})),g})():l}function WR(e,t){NE(e.timeouts,(e=>e.cancel())),e.pauseQueue.clear(),e.resumeQueue.clear(),e.asyncId=e.asyncTo=e.promise=void 0,t&&(e.cancelId=t)}var $R=class extends Error{constructor(){super("An async animation has been interrupted. You see this error because you forgot to use `await` or `.catch(...)` on its returned promise.")}},qR=class extends Error{constructor(){super("SkipAnimationSignal")}},HR=e=>e instanceof VR,UR=1,VR=class extends EM{constructor(){super(...arguments),this.id=UR++,this._priority=0}get priority(){return this._priority}set priority(e){this._priority!=e&&(this._priority=e,this._onPriorityChange(e))}get(){const e=QM(this);return e&&e.getValue()}to(...e){return TE.to(this,e)}interpolate(...e){return HM(`${$M}The "interpolate" function is deprecated in v9 (use "to" instead)`),TE.to(this,e)}toJSON(){return this.get()}observerAdded(e){1==e&&this._attach()}observerRemoved(e){0==e&&this._detach()}_attach(){}_detach(){}_onChange(e,t=!1){SM(this,{type:"change",parent:this,value:e,idle:t})}_onPriorityChange(e){this.idle||JE.sort(this),SM(this,{type:"priority",parent:this,priority:e})}},YR=Symbol.for("SpringPhase"),GR=e=>(1&e[YR])>0,XR=e=>(2&e[YR])>0,JR=e=>(4&e[YR])>0,ZR=(e,t)=>t?e[YR]|=3:e[YR]&=-3,KR=(e,t)=>t?e[YR]|=4:e[YR]&=-5,QR=class extends VR{constructor(e,t){if(super(),this.animation=new FR,this.defaultProps={},this._state={paused:!1,delayed:!1,pauseQueue:new Set,resumeQueue:new Set,timeouts:new Set},this._pendingCalls=new Set,this._lastCallId=0,this._lastToId=0,this._memoizedDuration=0,!DE.und(e)||!DE.und(t)){const n=DE.obj(e)?{...e}:{...t,from:e};DE.und(n.default)&&(n.default=!0),this.start(n)}}get idle(){return!(XR(this)||this._state.asyncTo)||JR(this)}get goal(){return CM(this.animation.to)}get velocity(){const e=QM(this);return e instanceof rR?e.lastVelocity||0:e.getPayload().map((e=>e.lastVelocity||0))}get hasAnimated(){return GR(this)}get isAnimating(){return XR(this)}get isPaused(){return JR(this)}get isDelayed(){return this._state.delayed}advance(e){let t=!0,n=!1;const r=this.animation;let{toValues:i}=r;const{config:a}=r,o=tR(r.to);!o&&kM(r.to)&&(i=PE(CM(r.to))),r.values.forEach(((s,l)=>{if(s.done)return;const c=s.constructor==iR?1:o?o[l].lastPosition:i[l];let u=r.immediate,d=c;if(!u){if(d=s.lastPosition,a.tension<=0)return void(s.done=!0);let t=s.elapsedTime+=e;const n=r.fromValues[l],i=null!=s.v0?s.v0:s.v0=DE.arr(a.velocity)?a.velocity[l]:a.velocity;let o;const f=a.precision||(n==c?.005:Math.min(1,.001*Math.abs(c-n)));if(DE.und(a.duration))if(a.decay){const e=!0===a.decay?.998:a.decay,r=Math.exp(-(1-e)*t);d=n+i/(1-e)*(1-r),u=Math.abs(s.lastPosition-d)<=f,o=i*r}else{o=null==s.lastVelocity?i:s.lastVelocity;const t=a.restVelocity||f/10,r=a.clamp?0:a.bounce,l=!DE.und(r),h=n==c?s.v0>0:n<c;let p,g=!1;const m=1,v=Math.ceil(e/m);for(let e=0;e<v&&(p=Math.abs(o)>t,p||(u=Math.abs(c-d)<=f,!u));++e){l&&(g=d==c||d>c==h,g&&(o=-o*r,d=c));o+=(1e-6*-a.tension*(d-c)+.001*-a.friction*o)/a.mass*m,d+=o*m}}else{let r=1;a.duration>0&&(this._memoizedDuration!==a.duration&&(this._memoizedDuration=a.duration,s.durationProgress>0&&(s.elapsedTime=a.duration*s.durationProgress,t=s.elapsedTime+=e)),r=(a.progress||0)+t/this._memoizedDuration,r=r>1?1:r<0?0:r,s.durationProgress=r),d=n+a.easing(r)*(c-n),o=(d-s.lastPosition)/e,u=1==r}s.lastVelocity=o,Number.isNaN(d)&&(console.warn("Got NaN while animating:",this),u=!0)}o&&!o[l].done&&(u=!1),u?s.done=!0:t=!1,s.setValue(d,a.round)&&(n=!0)}));const s=QM(this),l=s.getValue();if(t){const e=CM(r.to);l===e&&!n||a.decay?n&&a.decay&&this._onChange(l):(s.setValue(e),this._onChange(e)),this._stop()}else n&&this._onChange(l)}set(e){return fE.batchedUpdates((()=>{this._stop(),this._focus(e),this._set(e)})),this}pause(){this._update({pause:!0})}resume(){this._update({pause:!1})}finish(){if(XR(this)){const{to:e,config:t}=this.animation;fE.batchedUpdates((()=>{this._onStart(),t.decay||this._set(e,!1),this._stop()}))}return this}update(e){return(this.queue||(this.queue=[])).push(e),this}start(e,t){let n;return DE.und(e)?(n=this.queue||[],this.queue=[]):n=[DE.obj(e)?e:{...t,to:e}],Promise.all(n.map((e=>this._update(e)))).then((e=>PR(this,e)))}stop(e){const{to:t}=this.animation;return this._focus(this.get()),WR(this._state,e&&this._lastCallId),fE.batchedUpdates((()=>this._stop(t,e))),this}reset(){this._update({reset:!0})}eventObserved(e){"change"==e.type?this._start():"priority"==e.type&&(this.priority=e.priority+1)}_prepareNode(e){const t=this.key||"";let{to:n,from:r}=e;n=DE.obj(n)?n[t]:n,(null==n||SR(n))&&(n=void 0),r=DE.obj(r)?r[t]:r,null==r&&(r=void 0);const i={to:n,from:r};return GR(this)||(e.reverse&&([n,r]=[r,n]),r=CM(r),DE.und(r)?QM(this)||this._set(n):this._set(r)),i}_update({...e},t){const{key:n,defaultProps:r}=this;e.default&&Object.assign(r,_R(e,((e,t)=>/^on/.test(t)?vR(e,n):e))),oT(this,e,"onProps"),sT(this,"onProps",e,this);const i=this._prepareNode(e);if(Object.isFrozen(this))throw Error("Cannot animate a `SpringValue` object that is frozen. Did you forget to pass your component to `animated(...)` before animating its props?");const a=this._state;return zR(++this._lastCallId,{key:n,props:e,defaultProps:r,state:a,actions:{pause:()=>{JR(this)||(KR(this,!0),BE(a.pauseQueue),sT(this,"onPause",jR(this,eT(this,this.animation.to)),this))},resume:()=>{JR(this)&&(KR(this,!1),XR(this)&&this._resume(),BE(a.resumeQueue),sT(this,"onResume",jR(this,eT(this,this.animation.to)),this))},start:this._merge.bind(this,i)}}).then((n=>{if(e.loop&&n.finished&&(!t||!n.noop)){const t=tT(e);if(t)return this._update(t,!0)}return n}))}_merge(e,t,n){if(t.cancel)return this.stop(!0),n(IR(this));const r=!DE.und(e.to),i=!DE.und(e.from);if(r||i){if(!(t.callId>this._lastToId))return n(IR(this));this._lastToId=t.callId}const{key:a,defaultProps:o,animation:s}=this,{to:l,from:c}=s;let{to:u=l,from:d=c}=e;!i||r||t.default&&!DE.und(u)||(u=d),t.reverse&&([u,d]=[d,u]);const f=!OE(d,c);f&&(s.from=d),d=CM(d);const h=!OE(u,l);h&&this._focus(u);const p=SR(t.to),{config:g}=s,{decay:m,velocity:v}=g;(r||i)&&(g.velocity=0),t.config&&!p&&function(e,t,n){n&&(DR(n={...n},t),t={...n,...t}),DR(e,t),Object.assign(e,t);for(const t in TR)null==e[t]&&(e[t]=TR[t]);let{frequency:r,damping:i}=e;const{mass:a}=e;DE.und(r)||(r<.01&&(r=.01),i<0&&(i=0),e.tension=Math.pow(2*Math.PI/r,2)*a,e.friction=4*Math.PI*i*a/r)}(g,gR(t.config,a),t.config!==o.config?gR(o.config,a):void 0);let b=QM(this);if(!b||DE.und(u))return n(jR(this,!0));const y=DE.und(t.reset)?i&&!t.default:!DE.und(d)&&mR(t.reset,a),_=y?d:this.get(),w=CR(u),x=DE.num(w)||DE.arr(w)||VM(w),k=!p&&(!x||mR(o.immediate||t.immediate,a));if(h){const e=cR(u);if(e!==b.constructor){if(!k)throw Error(`Cannot animate between ${b.constructor.name} and ${e.name}, as the "to" prop suggests`);b=this._set(w)}}const C=b.constructor;let A=kM(u),S=!1;if(!A){const e=y||!GR(this)&&f;(h||e)&&(S=OE(CR(_),w),A=!S),(OE(s.immediate,k)||k)&&OE(g.decay,m)&&OE(g.velocity,v)||(A=!0)}if(S&&XR(this)&&(s.changed&&!y?A=!0:A||this._stop(l)),!p&&((A||kM(l))&&(s.values=b.getPayload(),s.toValues=kM(u)?null:C==iR?[1]:PE(w)),s.immediate!=k&&(s.immediate=k,k||y||this._set(l)),A)){const{onRest:e}=s;FE(aT,(e=>oT(this,t,e)));const r=jR(this,eT(this,l));BE(this._pendingCalls,r),this._pendingCalls.add(n),s.changed&&fE.batchedUpdates((()=>{s.changed=!y,e?.(r,this),y?gR(o.onRest,r):s.onStart?.(r,this)}))}y&&this._set(_),p?n(BR(t.to,t,this._state,this)):A?this._start():XR(this)&&!h?this._pendingCalls.add(n):n(NR(_))}_focus(e){const t=this.animation;e!==t.to&&(AM(this)&&this._detach(),t.to=e,AM(this)&&this._attach())}_attach(){let e=0;const{to:t}=this.animation;kM(t)&&(RM(t,this),HR(t)&&(e=t.priority+1)),this.priority=e}_detach(){const{to:e}=this.animation;kM(e)&&TM(e,this)}_set(e,t=!0){const n=CM(e);if(!DE.und(n)){const e=QM(this);if(!e||!OE(n,e.getValue())){const r=cR(n);e&&e.constructor==r?e.setValue(n):eR(this,r.create(n)),e&&fE.batchedUpdates((()=>{this._onChange(n,t)}))}}return QM(this)}_onStart(){const e=this.animation;e.changed||(e.changed=!0,sT(this,"onStart",jR(this,eT(this,e.to)),this))}_onChange(e,t){t||(this._onStart(),gR(this.animation.onChange,e,this)),gR(this.defaultProps.onChange,e,this),super._onChange(e,t)}_start(){const e=this.animation;QM(this).reset(CM(e.to)),e.immediate||(e.fromValues=e.values.map((e=>e.lastPosition))),XR(this)||(ZR(this,!0),JR(this)||this._resume())}_resume(){TE.skipAnimation?this.finish():JE.start(this)}_stop(e,t){if(XR(this)){ZR(this,!1);const n=this.animation;FE(n.values,(e=>{e.done=!0})),n.toValues&&(n.onChange=n.onPause=n.onResume=void 0),SM(this,{type:"idle",parent:this});const r=t?IR(this.get()):jR(this.get(),eT(this,e??n.to));BE(this._pendingCalls,r),n.changed&&(n.changed=!1,sT(this,"onRest",r,this))}}};function eT(e,t){const n=CR(t);return OE(CR(e.get()),n)}function tT(e,t=e.loop,n=e.to){const r=gR(t);if(r){const i=!0!==r&&kR(r),a=(i||e).reverse,o=!i||i.reset;return nT({...e,loop:t,default:!1,pause:void 0,to:!a||SR(n)?n:void 0,from:o?e.from:void 0,reset:o,...i})}}function nT(e){const{to:t,from:n}=e=kR(e),r=new Set;return DE.obj(t)&&iT(t,r),DE.obj(n)&&iT(n,r),e.keys=r.size?Array.from(r):null,e}function rT(e){const t=nT(e);return DE.und(t.default)&&(t.default=_R(t)),t}function iT(e,t){zE(e,((e,n)=>null!=e&&t.add(n)))}var aT=["onStart","onRest","onChange","onPause","onResume"];function oT(e,t,n){e.animation[n]=t[n]!==bR(t,n)?vR(t[n],e.key):void 0}function sT(e,t,...n){e.animation[t]?.(...n),e.defaultProps[t]?.(...n)}var lT=["onStart","onChange","onRest"],cT=1,uT=class{constructor(e,t){this.id=cT++,this.springs={},this.queue=[],this._lastAsyncId=0,this._active=new Set,this._changed=new Set,this._started=!1,this._state={paused:!1,pauseQueue:new Set,resumeQueue:new Set,timeouts:new Set},this._events={onStart:new Map,onChange:new Map,onRest:new Map},this._onFrame=this._onFrame.bind(this),t&&(this._flush=t),e&&this.start({default:!0,...e})}get idle(){return!this._state.asyncTo&&Object.values(this.springs).every((e=>e.idle&&!e.isDelayed&&!e.isPaused))}get item(){return this._item}set item(e){this._item=e}get(){const e={};return this.each(((t,n)=>e[n]=t.get())),e}set(e){for(const t in e){const n=e[t];DE.und(n)||this.springs[t].set(n)}}update(e){return e&&this.queue.push(nT(e)),this}start(e){let{queue:t}=this;return e?t=PE(e).map(nT):this.queue=[],this._flush?this._flush(this,t):(vT(this,t),dT(this,t))}stop(e,t){if(e!==!!e&&(t=e),t){const n=this.springs;FE(PE(t),(t=>n[t].stop(!!e)))}else WR(this._state,this._lastAsyncId),this.each((t=>t.stop(!!e)));return this}pause(e){if(DE.und(e))this.start({pause:!0});else{const t=this.springs;FE(PE(e),(e=>t[e].pause()))}return this}resume(e){if(DE.und(e))this.start({pause:!1});else{const t=this.springs;FE(PE(e),(e=>t[e].resume()))}return this}each(e){zE(this.springs,e)}_onFrame(){const{onStart:e,onChange:t,onRest:n}=this._events,r=this._active.size>0,i=this._changed.size>0;(r&&!this._started||i&&!this._started)&&(this._started=!0,NE(e,(([e,t])=>{t.value=this.get(),e(t,this,this._item)})));const a=!r&&this._started,o=i||a&&n.size?this.get():null;i&&t.size&&NE(t,(([e,t])=>{t.value=o,e(t,this,this._item)})),a&&(this._started=!1,NE(n,(([e,t])=>{t.value=o,e(t,this,this._item)})))}eventObserved(e){if("change"==e.type)this._changed.add(e.parent),e.idle||this._active.add(e.parent);else{if("idle"!=e.type)return;this._active.delete(e.parent)}fE.onFrame(this._onFrame)}};function dT(e,t){return Promise.all(t.map((t=>fT(e,t)))).then((t=>PR(e,t)))}async function fT(e,t,n){const{keys:r,to:i,from:a,loop:o,onRest:s,onResolve:l}=t,c=DE.obj(t.default)&&t.default;o&&(t.loop=!1),!1===i&&(t.to=null),!1===a&&(t.from=null);const u=DE.arr(i)||DE.fun(i)?i:void 0;u?(t.to=void 0,t.onRest=void 0,c&&(c.onRest=void 0)):FE(lT,(n=>{const r=t[n];if(DE.fun(r)){const i=e._events[n];t[n]=({finished:e,cancelled:t})=>{const n=i.get(r);n?(e||(n.finished=!1),t&&(n.cancelled=!0)):i.set(r,{value:null,finished:e||!1,cancelled:t||!1})},c&&(c[n]=t[n])}}));const d=e._state;t.pause===!d.paused?(d.paused=t.pause,BE(t.pause?d.pauseQueue:d.resumeQueue)):d.paused&&(t.pause=!0);const f=(r||Object.keys(e.springs)).map((n=>e.springs[n].start(t))),h=!0===t.cancel||!0===bR(t,"cancel");(u||h&&d.asyncId)&&f.push(zR(++e._lastAsyncId,{props:t,state:d,actions:{pause:LE,resume:LE,start(t,n){h?(WR(d,e._lastAsyncId),n(IR(e))):(t.onRest=s,n(BR(u,t,d,e)))}}})),d.paused&&await new Promise((e=>{d.resumeQueue.add(e)}));const p=PR(e,await Promise.all(f));if(o&&p.finished&&(!n||!p.noop)){const n=tT(t,o,i);if(n)return vT(e,[n]),fT(e,n,!0)}return l&&fE.batchedUpdates((()=>l(p,e,e.item))),p}function hT(e,t){const n={...e.springs};return t&&FE(PE(t),(e=>{DE.und(e.keys)&&(e=nT(e)),DE.obj(e.to)||(e={...e,to:void 0}),mT(n,e,(e=>gT(e)))})),pT(e,n),n}function pT(e,t){zE(t,((t,n)=>{e.springs[n]||(e.springs[n]=t,RM(t,e))}))}function gT(e,t){const n=new QR;return n.key=e,t&&RM(n,t),n}function mT(e,t,n){t.keys&&FE(t.keys,(r=>{(e[r]||(e[r]=n(r)))._prepareNode(t)}))}function vT(e,t){FE(t,(t=>{mT(e.springs,t,(t=>gT(t,e)))}))}var bT=e.createContext({pause:!1,immediate:!1}),yT=()=>{const e=[],t=function(t){UM(`${$M}Directly calling start instead of using the api object is deprecated in v9 (use ".start" instead), this will be removed in later 0.X.0 versions`);const r=[];return FE(e,((e,i)=>{if(DE.und(t))r.push(e.start());else{const a=n(t,e,i);a&&r.push(e.start(a))}})),r};t.current=e,t.add=function(t){e.includes(t)||e.push(t)},t.delete=function(t){const n=e.indexOf(t);~n&&e.splice(n,1)},t.pause=function(){return FE(e,(e=>e.pause(...arguments))),this},t.resume=function(){return FE(e,(e=>e.resume(...arguments))),this},t.set=function(t){FE(e,((e,n)=>{const r=DE.fun(t)?t(n,e):t;r&&e.set(r)}))},t.start=function(t){const n=[];return FE(e,((e,r)=>{if(DE.und(t))n.push(e.start());else{const i=this._getProps(t,e,r);i&&n.push(e.start(i))}})),n},t.stop=function(){return FE(e,(e=>e.stop(...arguments))),this},t.update=function(t){return FE(e,((e,n)=>e.update(this._getProps(t,e,n)))),this};const n=function(e,t,n){return DE.fun(e)?e(n,t):e};return t._getProps=n,t};function _T(e,t){const n=DE.fun(e),[[r],a]=function(e,t,n){const r=DE.fun(t)&&t;r&&!n&&(n=[]);const a=s((()=>r||3==arguments.length?yT():void 0),[]),o=i(0),c=GM(),u=s((()=>({ctrls:[],queue:[],flush(e,t){const n=hT(e,t);return o.current>0&&!u.queue.length&&!Object.keys(n).some((t=>!e.springs[t]))?dT(e,t):new Promise((r=>{pT(e,n),u.queue.push((()=>{r(dT(e,t))})),c()}))}})),[]),d=i([...u.ctrls]),f=i([]),h=ZM(e)||0;function p(e,n){for(let i=e;i<n;i++){const e=d.current[i]||(d.current[i]=new uT(null,u.flush)),n=r?r(i,e):t[i];n&&(f.current[i]=rT(n))}}s((()=>{FE(d.current.slice(e,h),(e=>{ER(e,a),e.stop(!0)})),d.current.length=e,p(h,e)}),[e]),s((()=>{p(0,Math.min(h,e))}),n);const g=d.current.map(((e,t)=>hT(e,f.current[t]))),m=l(bT),v=ZM(m),b=m!==v&&AR(m);YM((()=>{o.current++,u.ctrls=d.current;const{queue:e}=u;e.length&&(u.queue=[],FE(e,(e=>e()))),FE(d.current,((e,t)=>{a?.add(e),b&&e.start({default:m});const n=f.current[t];n&&(MR(e,n.ref),e.ref?e.queue.push(n):e.start(n))}))})),XM((()=>()=>{FE(u.ctrls,(e=>e.stop(!0)))}));const y=g.map((e=>({...e})));return a?[y,a]:y}(1,n?e:[e],n?[]:t);return n||2==arguments.length?[r,a]:r}function wT(t,n,r){const a=DE.fun(n)&&n,{reset:o,sort:c,trail:u=0,expires:d=!0,exitBeforeEnter:f=!1,onDestroyed:h,ref:p,config:g}=a?a():n,m=s((()=>a||3==arguments.length?yT():void 0),[]),v=PE(t),b=[],y=i(null),_=o?null:y.current;YM((()=>{y.current=b})),XM((()=>(FE(b,(e=>{m?.add(e.ctrl),e.ctrl.ref=m})),()=>{FE(y.current,(e=>{e.expired&&clearTimeout(e.expirationId),ER(e.ctrl,m),e.ctrl.stop(!0)}))})));const w=function(e,{key:t,keys:n=t},r){if(null===n){const t=new Set;return e.map((e=>{const n=r&&r.find((n=>n.item===e&&"leave"!==n.phase&&!t.has(n)));return n?(t.add(n),n.key):xT++}))}return DE.und(n)?e:DE.fun(n)?e.map(n):PE(n)}(v,a?a():n,_),x=o&&y.current||[];YM((()=>FE(x,(({ctrl:e,item:t,key:n})=>{ER(e,m),gR(h,t,n)}))));const k=[];if(_&&FE(_,((e,t)=>{e.expired?(clearTimeout(e.expirationId),x.push(e)):~(t=k[t]=w.indexOf(e.key))&&(b[t]=e)})),FE(v,((e,t)=>{b[t]||(b[t]={key:w[t],item:e,phase:"mount",ctrl:new uT},b[t].ctrl.item=e)})),k.length){let e=-1;const{leave:t}=a?a():n;FE(k,((n,r)=>{const i=_[r];~n?(e=b.indexOf(i),b[e]={...i,item:v[n]}):t&&b.splice(++e,0,i)}))}DE.fun(c)&&b.sort(((e,t)=>c(e.item,t.item)));let C=-u;const A=GM(),S=_R(n),E=new Map,M=i(new Map),R=i(!1);FE(b,((e,t)=>{const r=e.key,i=e.phase,o=a?a():n;let s,l;const c=gR(o.delay||0,r);if("mount"==i)s=o.enter,l="enter";else{const e=w.indexOf(r)<0;if("leave"!=i)if(e)s=o.leave,l="leave";else{if(!(s=o.update))return;l="update"}else{if(e)return;s=o.enter,l="enter"}}if(s=gR(s,e.item,t),s=DE.obj(s)?kR(s):{to:s},!s.config){const n=g||S.config;s.config=gR(n,e.item,t,l)}C+=u;const h={...S,delay:c+C,ref:p,immediate:o.immediate,reset:!1,...s};if("enter"==l&&DE.und(h.from)){const r=a?a():n,i=DE.und(r.initial)||_?r.from:r.initial;h.from=gR(i,e.item,t)}const{onResolve:m}=h;h.onResolve=e=>{gR(m,e);const t=y.current,n=t.find((e=>e.key===r));if(n&&(!e.cancelled||"update"==n.phase)&&n.ctrl.idle){const e=t.every((e=>e.ctrl.idle));if("leave"==n.phase){const t=gR(d,n.item);if(!1!==t){const r=!0===t?0:t;if(n.expired=!0,!e&&r>0)return void(r<=2147483647&&(n.expirationId=setTimeout(A,r)))}}e&&t.some((e=>e.expired))&&(M.current.delete(n),f&&(R.current=!0),A())}};const v=hT(e.ctrl,h);"leave"===l&&f?M.current.set(e,{phase:l,springs:v,payload:h}):E.set(e,{phase:l,springs:v,payload:h})}));const T=l(bT),L=ZM(T),D=T!==L&&AR(T);YM((()=>{D&&FE(b,(e=>{e.ctrl.start({default:T})}))}),[T]),FE(E,((e,t)=>{if(M.current.size){const e=b.findIndex((e=>e.key===t.key));b.splice(e,1)}})),YM((()=>{FE(M.current.size?M.current:E,(({phase:e,payload:t},n)=>{const{ctrl:r}=n;n.phase=e,m?.add(r),D&&"enter"==e&&r.start({default:T}),t&&(MR(r,t.ref),!r.ref&&!m||R.current?(r.start(t),R.current&&(R.current=!1)):r.update(t))}))}),o?void 0:r);const O=t=>e.createElement(e.Fragment,null,b.map(((n,r)=>{const{springs:i}=E.get(n)||n.ctrl,a=t({...i},n.item,n,r),o=DE.str(n.key)||DE.num(n.key)?n.key:n.ctrl.id,s=e.version<"19.0.0",l=a?.props??{},c=s?a?.ref:l?.ref;return a&&a.type?e.createElement(a.type,{...l,key:o,ref:c}):a})));return m?[O,m]:O}var xT=1;var kT=class extends VR{constructor(e,t){super(),this.source=e,this.idle=!0,this._active=new Set,this.calc=_M(...t);const n=this._get(),r=cR(n);eR(this,r.create(n))}advance(e){const t=this._get();OE(t,this.get())||(QM(this).setValue(t),this._onChange(t,this.idle)),!this.idle&&AT(this._active)&&ST(this)}_get(){const e=DE.arr(this.source)?this.source.map(CM):PE(CM(this.source));return this.calc(...e)}_start(){this.idle&&!AT(this._active)&&(this.idle=!1,FE(tR(this),(e=>{e.done=!1})),TE.skipAnimation?(fE.batchedUpdates((()=>this.advance())),ST(this)):JE.start(this))}_attach(){let e=1;FE(PE(this.source),(t=>{kM(t)&&RM(t,this),HR(t)&&(t.idle||this._active.add(t),e=Math.max(e,t.priority+1))})),this.priority=e,this._start()}_detach(){FE(PE(this.source),(e=>{kM(e)&&TM(e,this)})),this._active.clear(),ST(this)}eventObserved(e){"change"==e.type?e.idle?this.advance():(this._active.add(e.parent),this._start()):"idle"==e.type?this._active.delete(e.parent):"priority"==e.type&&(this.priority=PE(this.source).reduce(((e,t)=>Math.max(e,(HR(t)?t.priority:0)+1)),0))}};function CT(e){return!1!==e.idle}function AT(e){return!e.size||Array.from(e).every(CT)}function ST(e){e.idle||(e.idle=!0,FE(tR(e),(e=>{e.done=!0})),SM(e,{type:"idle",parent:e}))}var ET=(e,...t)=>new kT(e,t);TE.assign({createStringInterpolator:WM,to:(e,t)=>new kT(e,t)});var MT=/^--/;function RT(e,t){return null==t||"boolean"==typeof t||""===t?"":"number"!=typeof t||0===t||MT.test(e)||LT.hasOwnProperty(e)&<[e]?(""+t).trim():t+"px"}var TT={};var LT={animationIterationCount:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},DT=["Webkit","Ms","Moz","O"];LT=Object.keys(LT).reduce(((e,t)=>(DT.forEach((n=>e[((e,t)=>e+t.charAt(0).toUpperCase()+t.substring(1))(n,t)]=e[t])),e)),LT);var OT=/^(matrix|translate|scale|rotate|skew)/,FT=/^(translate)/,zT=/^(rotate|skew)/,PT=(e,t)=>DE.num(e)&&0!==e?e+t:e,NT=(e,t)=>DE.arr(e)?e.every((e=>NT(e,t))):DE.num(e)?e===t:parseFloat(e)===t,jT=class extends oR{constructor({x:e,y:t,z:n,...r}){const i=[],a=[];(e||t||n)&&(i.push([e||0,t||0,n||0]),a.push((e=>[`translate3d(${e.map((e=>PT(e,"px"))).join(",")})`,NT(e,0)]))),zE(r,((e,t)=>{if("transform"===t)i.push([e||""]),a.push((e=>[e,""===e]));else if(OT.test(t)){if(delete r[t],DE.und(e))return;const n=FT.test(t)?"px":zT.test(t)?"deg":"";i.push(PE(e)),a.push("rotate3d"===t?([e,t,r,i])=>[`rotate3d(${e},${t},${r},${PT(i,n)})`,NT(i,0)]:e=>[`${t}(${e.map((e=>PT(e,n))).join(",")})`,NT(e,t.startsWith("scale")?1:0)])}})),i.length&&(r.transform=new IT(i,a)),super(r)}},IT=class extends EM{constructor(e,t){super(),this.inputs=e,this.transforms=t,this._value=null}get(){return this._value||(this._value=this._get())}_get(){let e="",t=!0;return FE(this.inputs,((n,r)=>{const i=CM(n[0]),[a,o]=this.transforms[r](DE.arr(i)?i:n.map(CM));e+=" "+a,t=t&&o})),t?"none":e}observerAdded(e){1==e&&FE(this.inputs,(e=>FE(e,(e=>kM(e)&&RM(e,this)))))}observerRemoved(e){0==e&&FE(this.inputs,(e=>FE(e,(e=>kM(e)&&TM(e,this)))))}eventObserved(e){"change"==e.type&&(this._value=null),SM(this,e)}};TE.assign({batchedUpdates:N,createStringInterpolator:WM,colors:tM});var BT,WT,$T,qT,HT,UT,VT,YT,GT,XT,JT,ZT,KT,QT,eL,tL,nL,rL,iL,aL,oL,sL,lL,cL,uL,dL,fL,hL,pL,gL,mL,vL,bL,yL,_L,wL,xL,kL,CL,AL,SL,EL,ML,RL,TL,LL,DL,OL,FL,zL,PL,NL,jL,IL,BL,WL,$L,qL,HL,UL,VL,YL,GL,XL,JL,ZL,KL,QL,eD,tD,nD,rD,iD,aD,oD,sD,lD,cD,uD,dD,fD,hD,pD,gD,mD=hR(["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"],{applyAnimatedValues:function(e,t){if(!e.nodeType||!e.setAttribute)return!1;const n="filter"===e.nodeName||e.parentNode&&"filter"===e.parentNode.nodeName,{className:r,style:i,children:a,scrollTop:o,scrollLeft:s,viewBox:l,...c}=t,u=Object.values(c),d=Object.keys(c).map((t=>n||e.hasAttribute(t)?t:TT[t]||(TT[t]=t.replace(/([A-Z])/g,(e=>"-"+e.toLowerCase())))));void 0!==a&&(e.textContent=a);for(const t in i)if(i.hasOwnProperty(t)){const n=RT(t,i[t]);MT.test(t)?e.style.setProperty(t,n):e.style[t]=n}d.forEach(((t,n)=>{e.setAttribute(t,u[n])})),void 0!==r&&(e.className=r),void 0!==o&&(e.scrollTop=o),void 0!==s&&(e.scrollLeft=s),void 0!==l&&e.setAttribute("viewBox",l)},createAnimatedStyle:e=>new jT(e),getComponentProps:({scrollTop:e,scrollLeft:t,...n})=>n}),vD=mD.animated;function bD(){if(qT)return $T;return qT=1,$T=function(e,t){return e===t||e!=e&&t!=t}}function yD(){if(UT)return HT;UT=1;var e=bD();return HT=function(t,n){for(var r=t.length;r--;)if(e(t[r][0],n))return r;return-1},HT}function _D(){if(tL)return eL;tL=1;var e=WT?BT:(WT=1,BT=function(){this.__data__=[],this.size=0}),t=function(){if(YT)return VT;YT=1;var e=yD(),t=Array.prototype.splice;return VT=function(n){var r=this.__data__,i=e(r,n);return!(i<0||(i==r.length-1?r.pop():t.call(r,i,1),--this.size,0))},VT}(),n=function(){if(XT)return GT;XT=1;var e=yD();return GT=function(t){var n=this.__data__,r=e(n,t);return r<0?void 0:n[r][1]},GT}(),r=function(){if(ZT)return JT;ZT=1;var e=yD();return JT=function(t){return e(this.__data__,t)>-1}}(),i=function(){if(QT)return KT;QT=1;var e=yD();return KT=function(t,n){var r=this.__data__,i=e(r,t);return i<0?(++this.size,r.push([t,n])):r[i][1]=n,this},KT}();function a(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}return a.prototype.clear=e,a.prototype.delete=t,a.prototype.get=n,a.prototype.has=r,a.prototype.set=i,eL=a}function wD(){if(dL)return uL;dL=1;var e=Kv(),t=Yv();return uL=function(n){if(!t(n))return!1;var r=e(n);return"[object Function]"==r||"[object GeneratorFunction]"==r||"[object AsyncFunction]"==r||"[object Proxy]"==r}}function xD(){if(gL)return pL;gL=1;var e,t=function(){if(hL)return fL;hL=1;var e=Xv()["__core-js_shared__"];return fL=e}(),n=(e=/[^.]+$/.exec(t&&t.keys&&t.keys.IE_PROTO||""))?"Symbol(src)_1."+e:"";return pL=function(e){return!!n&&n in e}}function kD(){if(vL)return mL;vL=1;var e=Function.prototype.toString;return mL=function(t){if(null!=t){try{return e.call(t)}catch(e){}try{return t+""}catch(e){}}return""}}function CD(){if(kL)return xL;kL=1;var e=function(){if(yL)return bL;yL=1;var e=wD(),t=xD(),n=Yv(),r=kD(),i=/^\[object .+?Constructor\]$/,a=Function.prototype,o=Object.prototype,s=a.toString,l=o.hasOwnProperty,c=RegExp("^"+s.call(l).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");return bL=function(a){return!(!n(a)||t(a))&&(e(a)?c:i).test(r(a))}}(),t=(wL||(wL=1,_L=function(e,t){return null==e?void 0:e[t]}),_L);return xL=function(n,r){var i=t(n,r);return e(i)?i:void 0},xL}function AD(){if(AL)return CL;AL=1;var e=CD()(Xv(),"Map");return CL=e}function SD(){if(EL)return SL;EL=1;var e=CD()(Object,"create");return SL=e}function ED(){if(IL)return jL;IL=1;var e=function(){if(RL)return ML;RL=1;var e=SD();return ML=function(){this.__data__=e?e(null):{},this.size=0}}(),t=LL?TL:(LL=1,TL=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}),n=function(){if(OL)return DL;OL=1;var e=SD(),t=Object.prototype.hasOwnProperty;return DL=function(n){var r=this.__data__;if(e){var i=r[n];return"__lodash_hash_undefined__"===i?void 0:i}return t.call(r,n)?r[n]:void 0}}(),r=function(){if(zL)return FL;zL=1;var e=SD(),t=Object.prototype.hasOwnProperty;return FL=function(n){var r=this.__data__;return e?void 0!==r[n]:t.call(r,n)}}(),i=function(){if(NL)return PL;NL=1;var e=SD();return PL=function(t,n){var r=this.__data__;return this.size+=this.has(t)?0:1,r[t]=e&&void 0===n?"__lodash_hash_undefined__":n,this}}();function a(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}return a.prototype.clear=e,a.prototype.delete=t,a.prototype.get=n,a.prototype.has=r,a.prototype.set=i,jL=a}function MD(){if(UL)return HL;UL=1;var e=(qL||(qL=1,$L=function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e}),$L);return HL=function(t,n){var r=t.__data__;return e(n)?r["string"==typeof n?"string":"hash"]:r.map},HL}function RD(){if(tD)return eD;tD=1;var e=function(){if(WL)return BL;WL=1;var e=ED(),t=_D(),n=AD();return BL=function(){this.size=0,this.__data__={hash:new e,map:new(n||t),string:new e}}}(),t=function(){if(YL)return VL;YL=1;var e=MD();return VL=function(t){var n=e(this,t).delete(t);return this.size-=n?1:0,n}}(),n=function(){if(XL)return GL;XL=1;var e=MD();return GL=function(t){return e(this,t).get(t)}}(),r=function(){if(ZL)return JL;ZL=1;var e=MD();return JL=function(t){return e(this,t).has(t)}}(),i=function(){if(QL)return KL;QL=1;var e=MD();return KL=function(t,n){var r=e(this,t),i=r.size;return r.set(t,n),this.size+=r.size==i?0:1,this}}();function a(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}return a.prototype.clear=e,a.prototype.delete=t,a.prototype.get=n,a.prototype.has=r,a.prototype.set=i,eD=a}function TD(){if(aD)return iD;aD=1;var e=_D(),t=function(){if(rL)return nL;rL=1;var e=_D();return nL=function(){this.__data__=new e,this.size=0}}(),n=aL?iL:(aL=1,iL=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n}),r=sL?oL:(sL=1,oL=function(e){return this.__data__.get(e)}),i=cL?lL:(cL=1,lL=function(e){return this.__data__.has(e)}),a=function(){if(rD)return nD;rD=1;var e=_D(),t=AD(),n=RD();return nD=function(r,i){var a=this.__data__;if(a instanceof e){var o=a.__data__;if(!t||o.length<199)return o.push([r,i]),this.size=++a.size,this;a=this.__data__=new n(o)}return a.set(r,i),this.size=a.size,this}}();function o(t){var n=this.__data__=new e(t);this.size=n.size}return o.prototype.clear=t,o.prototype.delete=n,o.prototype.get=r,o.prototype.has=i,o.prototype.set=a,iD=o}function LD(){if(sD)return oD;sD=1;var e=CD(),t=function(){try{var t=e(Object,"defineProperty");return t({},"",{}),t}catch(e){}}();return oD=t}function DD(){if(cD)return lD;cD=1;var e=LD();return lD=function(t,n,r){"__proto__"==n&&e?e(t,n,{configurable:!0,enumerable:!0,value:r,writable:!0}):t[n]=r},lD}function OD(){if(dD)return uD;dD=1;var e=DD(),t=bD();return uD=function(n,r,i){(void 0!==i&&!t(n[r],i)||void 0===i&&!(r in n))&&e(n,r,i)},uD}function FD(){if(gD)return pD;gD=1;var e=(hD||(hD=1,fD=function(e){return function(t,n,r){for(var i=-1,a=Object(t),o=r(t),s=o.length;s--;){var l=o[e?s:++i];if(!1===n(a[l],l,a))break}return t}}),fD),t=e();return pD=t}var zD,PD,ND,jD,ID,BD,WD,$D,qD,HD,UD,VD,YD,GD,XD,JD,ZD,KD,QD,eO,tO,nO,rO,iO,aO,oO,sO,lO,cO,uO={exports:{}};function dO(){return zD||(zD=1,function(e,t){var n=Xv(),r=t&&!t.nodeType&&t,i=r&&e&&!e.nodeType&&e,a=i&&i.exports===r?n.Buffer:void 0,o=a?a.allocUnsafe:void 0;e.exports=function(e,t){if(t)return e.slice();var n=e.length,r=o?o(n):new e.constructor(n);return e.copy(r),r}}(uO,uO.exports)),uO.exports}function fO(){if(ND)return PD;ND=1;var e=Xv().Uint8Array;return PD=e}function hO(){if(ID)return jD;ID=1;var e=fO();return jD=function(t){var n=new t.constructor(t.byteLength);return new e(n).set(new e(t)),n}}function pO(){if(WD)return BD;WD=1;var e=hO();return BD=function(t,n){var r=n?e(t.buffer):t.buffer;return new t.constructor(r,t.byteOffset,t.length)}}function gO(){if(qD)return $D;return qD=1,$D=function(e,t){var n=-1,r=e.length;for(t||(t=Array(r));++n<r;)t[n]=e[n];return t},$D}function mO(){if(YD)return VD;return YD=1,VD=function(e,t){return function(n){return e(t(n))}}}function vO(){if(XD)return GD;XD=1;var e=mO()(Object.getPrototypeOf,Object);return GD=e}function bO(){if(ZD)return JD;ZD=1;var e=Object.prototype;return JD=function(t){var n=t&&t.constructor;return t===("function"==typeof n&&n.prototype||e)}}function yO(){if(QD)return KD;QD=1;var e=function(){if(UD)return HD;UD=1;var e=Yv(),t=Object.create,n=function(){function n(){}return function(r){if(!e(r))return{};if(t)return t(r);n.prototype=r;var i=new n;return n.prototype=void 0,i}}();return HD=n}(),t=vO(),n=bO();return KD=function(r){return"function"!=typeof r.constructor||n(r)?{}:e(t(r))},KD}function _O(){if(rO)return nO;rO=1;var e=function(){if(tO)return eO;tO=1;var e=Kv(),t=Qv();return eO=function(n){return t(n)&&"[object Arguments]"==e(n)}}(),t=Qv(),n=Object.prototype,r=n.hasOwnProperty,i=n.propertyIsEnumerable,a=e(function(){return arguments}())?e:function(e){return t(e)&&r.call(e,"callee")&&!i.call(e,"callee")};return nO=a}function wO(){if(aO)return iO;aO=1;return iO=function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991}}function xO(){if(sO)return oO;sO=1;var e=wD(),t=wO();return oO=function(n){return null!=n&&t(n.length)&&!e(n)}}function kO(){if(cO)return lO;cO=1;var e=xO(),t=Qv();return lO=function(n){return t(n)&&e(n)}}var CO,AO,SO,EO,MO,RO,TO,LO,DO,OO={exports:{}};function FO(){return SO||(SO=1,function(e,t){var n=Xv(),r=AO?CO:(AO=1,CO=function(){return!1}),i=t&&!t.nodeType&&t,a=i&&e&&!e.nodeType&&e,o=a&&a.exports===i?n.Buffer:void 0,s=(o?o.isBuffer:void 0)||r;e.exports=s}(OO,OO.exports)),OO.exports}function zO(){if(MO)return EO;MO=1;var e=Kv(),t=vO(),n=Qv(),r=Function.prototype,i=Object.prototype,a=r.toString,o=i.hasOwnProperty,s=a.call(Object);return EO=function(r){if(!n(r)||"[object Object]"!=e(r))return!1;var i=t(r);if(null===i)return!0;var l=o.call(i,"constructor")&&i.constructor;return"function"==typeof l&&l instanceof l&&a.call(l)==s}}function PO(){if(DO)return LO;return DO=1,LO=function(e){return function(t){return e(t)}}}var NO,jO,IO,BO,WO,$O,qO,HO,UO,VO,YO,GO,XO,JO,ZO,KO,QO,eF,tF,nF,rF,iF,aF,oF,sF,lF,cF,uF,dF,fF,hF,pF,gF,mF,vF,bF,yF,_F,wF,xF,kF,CF,AF,SF,EF,MF,RF,TF,LF,DF={exports:{}};function OF(){return NO||(NO=1,e=DF,t=DF.exports,n=Gv(),r=t&&!t.nodeType&&t,i=r&&e&&!e.nodeType&&e,a=i&&i.exports===r&&n.process,o=function(){try{var e=i&&i.require&&i.require("util").types;return e||a&&a.binding&&a.binding("util")}catch(e){}}(),e.exports=o),DF.exports;var e,t,n,r,i,a,o}function FF(){if(IO)return jO;IO=1;var e=function(){if(TO)return RO;TO=1;var e=Kv(),t=wO(),n=Qv(),r={};return r["[object Float32Array]"]=r["[object Float64Array]"]=r["[object Int8Array]"]=r["[object Int16Array]"]=r["[object Int32Array]"]=r["[object Uint8Array]"]=r["[object Uint8ClampedArray]"]=r["[object Uint16Array]"]=r["[object Uint32Array]"]=!0,r["[object Arguments]"]=r["[object Array]"]=r["[object ArrayBuffer]"]=r["[object Boolean]"]=r["[object DataView]"]=r["[object Date]"]=r["[object Error]"]=r["[object Function]"]=r["[object Map]"]=r["[object Number]"]=r["[object Object]"]=r["[object RegExp]"]=r["[object Set]"]=r["[object String]"]=r["[object WeakMap]"]=!1,RO=function(i){return n(i)&&t(i.length)&&!!r[e(i)]}}(),t=PO(),n=OF(),r=n&&n.isTypedArray,i=r?t(r):e;return jO=i}function zF(){if(WO)return BO;return WO=1,BO=function(e,t){if(("constructor"!==t||"function"!=typeof e[t])&&"__proto__"!=t)return e[t]},BO}function PF(){if(qO)return $O;qO=1;var e=DD(),t=bD(),n=Object.prototype.hasOwnProperty;return $O=function(r,i,a){var o=r[i];n.call(r,i)&&t(o,a)&&(void 0!==a||i in r)||e(r,i,a)},$O}function NF(){if(UO)return HO;UO=1;var e=PF(),t=DD();return HO=function(n,r,i,a){var o=!i;i||(i={});for(var s=-1,l=r.length;++s<l;){var c=r[s],u=a?a(i[c],n[c],c,i,n):void 0;void 0===u&&(u=n[c]),o?t(i,c,u):e(i,c,u)}return i},HO}function jF(){if(XO)return GO;XO=1;var e=/^(?:0|[1-9]\d*)$/;return GO=function(t,n){var r=typeof t;return!!(n=null==n?9007199254740991:n)&&("number"==r||"symbol"!=r&&e.test(t))&&t>-1&&t%1==0&&t<n},GO}function IF(){if(ZO)return JO;ZO=1;var e=(YO||(YO=1,VO=function(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}),VO),t=_O(),n=Qb(),r=FO(),i=jF(),a=FF(),o=Object.prototype.hasOwnProperty;return JO=function(s,l){var c=n(s),u=!c&&t(s),d=!c&&!u&&r(s),f=!c&&!u&&!d&&a(s),h=c||u||d||f,p=h?e(s.length,String):[],g=p.length;for(var m in s)!l&&!o.call(s,m)||h&&("length"==m||d&&("offset"==m||"parent"==m)||f&&("buffer"==m||"byteLength"==m||"byteOffset"==m)||i(m,g))||p.push(m);return p}}function BF(){if(tF)return eF;tF=1;var e=Yv(),t=bO(),n=(QO||(QO=1,KO=function(e){var t=[];if(null!=e)for(var n in Object(e))t.push(n);return t}),KO),r=Object.prototype.hasOwnProperty;return eF=function(i){if(!e(i))return n(i);var a=t(i),o=[];for(var s in i)("constructor"!=s||!a&&r.call(i,s))&&o.push(s);return o},eF}function WF(){if(rF)return nF;rF=1;var e=IF(),t=BF(),n=xO();return nF=function(r){return n(r)?e(r,!0):t(r)},nF}function $F(){if(sF)return oF;sF=1;var e=OD(),t=dO(),n=pO(),r=gO(),i=yO(),a=_O(),o=Qb(),s=kO(),l=FO(),c=wD(),u=Yv(),d=zO(),f=FF(),h=zF(),p=function(){if(aF)return iF;aF=1;var e=NF(),t=WF();return iF=function(n){return e(n,t(n))}}();return oF=function(g,m,v,b,y,_,w){var x=h(g,v),k=h(m,v),C=w.get(k);if(C)e(g,v,C);else{var A=_?_(x,k,v+"",g,m,w):void 0,S=void 0===A;if(S){var E=o(k),M=!E&&l(k),R=!E&&!M&&f(k);A=k,E||M||R?o(x)?A=x:s(x)?A=r(x):M?(S=!1,A=t(k,!0)):R?(S=!1,A=n(k,!0)):A=[]:d(k)||a(k)?(A=x,a(x)?A=p(x):u(x)&&!c(x)||(A=i(k))):S=!1}S&&(w.set(k,A),y(A,k,b,_,w),w.delete(k)),e(g,v,A)}},oF}function qF(){if(dF)return uF;return dF=1,uF=function(e){return e}}function HF(){if(gF)return pF;gF=1;var e=hF?fF:(hF=1,fF=function(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}),t=Math.max;return pF=function(n,r,i){return r=t(void 0===r?n.length-1:r,0),function(){for(var a=arguments,o=-1,s=t(a.length-r,0),l=Array(s);++o<s;)l[o]=a[r+o];o=-1;for(var c=Array(r+1);++o<r;)c[o]=a[o];return c[r]=i(l),e(n,this,c)}},pF}function UF(){if(yF)return bF;yF=1;var e=vF?mF:(vF=1,mF=function(e){return function(){return e}}),t=LD(),n=qF();return bF=t?function(n,r){return t(n,"toString",{configurable:!0,enumerable:!1,value:e(r),writable:!0})}:n}function VF(){if(kF)return xF;kF=1;var e=UF(),t=function(){if(wF)return _F;wF=1;var e=Date.now;return _F=function(t){var n=0,r=0;return function(){var i=e(),a=16-(i-r);if(r=i,a>0){if(++n>=800)return arguments[0]}else n=0;return t.apply(void 0,arguments)}},_F}(),n=t(e);return xF=n}function YF(){if(AF)return CF;AF=1;var e=qF(),t=HF(),n=VF();return CF=function(r,i){return n(t(r,i,e),r+"")},CF}function GF(){if(EF)return SF;EF=1;var e=bD(),t=xO(),n=jF(),r=Yv();return SF=function(i,a,o){if(!r(o))return!1;var s=typeof a;return!!("number"==s?t(o)&&n(a,o.length):"string"==s&&a in o)&&e(o[a],i)},SF}var XF,JF,ZF,KF,QF,ez,tz,nz,rz,iz,az,oz,sz,lz,cz,uz,dz=function(){if(LF)return TF;LF=1;var e=function(){if(cF)return lF;cF=1;var e=TD(),t=OD(),n=FD(),r=$F(),i=Yv(),a=WF(),o=zF();return lF=function s(l,c,u,d,f){l!==c&&n(c,(function(n,a){if(f||(f=new e),i(n))r(l,c,a,u,s,d,f);else{var h=d?d(o(l,a),n,a+"",l,c,f):void 0;void 0===h&&(h=n),t(l,a,h)}}),a)},lF}(),t=function(){if(RF)return MF;RF=1;var e=YF(),t=GF();return MF=function(n){return e((function(e,r){var i=-1,a=r.length,o=a>1?r[a-1]:void 0,s=a>2?r[2]:void 0;for(o=n.length>3&&"function"==typeof o?(a--,o):void 0,s&&t(r[0],r[1],s)&&(o=a<3?void 0:o,a=1),e=Object(e);++i<a;){var l=r[i];l&&n(e,l,i,o)}return e}))},MF}(),n=t((function(t,n,r){e(t,n,r)}));return TF=n}(),fz=I(dz);function hz(){if(JF)return XF;JF=1;var e=Qb(),t=eb(),n=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,r=/^\w*$/;return XF=function(i,a){if(e(i))return!1;var o=typeof i;return!("number"!=o&&"symbol"!=o&&"boolean"!=o&&null!=i&&!t(i))||(r.test(i)||!n.test(i)||null!=a&&i in Object(a))},XF}function pz(){if(ez)return QF;ez=1;var e=function(){if(KF)return ZF;KF=1;var e=RD();function t(n,r){if("function"!=typeof n||null!=r&&"function"!=typeof r)throw new TypeError("Expected a function");var i=function(){var e=arguments,t=r?r.apply(this,e):e[0],a=i.cache;if(a.has(t))return a.get(t);var o=n.apply(this,e);return i.cache=a.set(t,o)||a,o};return i.cache=new(t.Cache||e),i}return t.Cache=e,ZF=t}();return QF=function(t){var n=e(t,(function(e){return 500===r.size&&r.clear(),e})),r=n.cache;return n}}function gz(){if(iz)return rz;iz=1;var e=Qb(),t=hz(),n=function(){if(nz)return tz;nz=1;var e=pz(),t=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,n=/\\(\\)?/g,r=e((function(e){var r=[];return 46===e.charCodeAt(0)&&r.push(""),e.replace(t,(function(e,t,i,a){r.push(i?a.replace(n,"$1"):t||e)})),r}));return tz=r}(),r=ty();return rz=function(i,a){return e(i)?i:t(i,a)?[i]:n(r(i))},rz}function mz(){if(oz)return az;oz=1;var e=eb();return az=function(t){if("string"==typeof t||e(t))return t;var n=t+"";return"0"==n&&1/t==-1/0?"-0":n}}function vz(){if(lz)return sz;lz=1;var e=gz(),t=mz();return sz=function(n,r){for(var i=0,a=(r=e(r,n)).length;null!=n&&i<a;)n=n[t(r[i++])];return i&&i==a?n:void 0},sz}function bz(){if(uz)return cz;uz=1;var e=vz();return cz=function(t,n,r){var i=null==t?void 0:e(t,n);return void 0===i?r:i},cz}var yz,_z,wz,xz,kz=I(bz());function Cz(){if(_z)return yz;_z=1;var e=PF(),t=gz(),n=jF(),r=Yv(),i=mz();return yz=function(a,o,s,l){if(!r(a))return a;for(var c=-1,u=(o=t(o,a)).length,d=u-1,f=a;null!=f&&++c<u;){var h=i(o[c]),p=s;if("__proto__"===h||"constructor"===h||"prototype"===h)return a;if(c!=d){var g=f[h];void 0===(p=l?l(g,h,f):void 0)&&(p=r(g)?g:n(o[c+1])?[]:{})}e(f,h,p),f=f[h]}return a},yz}var Az=function(){if(xz)return wz;xz=1;var e=Cz();return wz=function(t,n,r){return null==t?t:e(t,n,r)},wz}(),Sz=I(Az);function Ez(){return Ez=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Ez.apply(null,arguments)}var Mz=["outlineWidth","outlineColor","outlineOpacity"],Rz=function(e){return e.outlineWidth,e.outlineColor,e.outlineOpacity,function(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(-1!==t.indexOf(r))continue;n[r]=e[r]}return n}(e,Mz)},Tz=["axis.ticks.text","axis.legend.text","legends.title.text","legends.text","legends.ticks.text","legends.title.text","labels.text","dots.text","markers.text","annotations.text"],Lz=function(e,t){var n=fz({},e,t);return Tz.forEach((function(e){Sz(n,e,function(e,t){return Ez({},t,e)}(kz(n,e),n.text))})),n},Dz=function(e,t){return t?fz({},e,t):e},Oz={background:"transparent",text:{fontFamily:"sans-serif",fontSize:11,fill:"#333333",outlineWidth:0,outlineColor:"#ffffff",outlineOpacity:1},axis:{domain:{line:{stroke:"transparent",strokeWidth:1}},ticks:{line:{stroke:"#777777",strokeWidth:1},text:{}},legend:{text:{fontSize:12}}},grid:{line:{stroke:"#dddddd",strokeWidth:1}},legends:{hidden:{symbol:{fill:"#333333",opacity:.6},text:{fill:"#333333",opacity:.6}},text:{},ticks:{line:{stroke:"#777777",strokeWidth:1},text:{fontSize:10}},title:{text:{}}},labels:{text:{}},markers:{lineColor:"#000000",lineStrokeWidth:1,text:{}},dots:{text:{}},tooltip:{container:{background:"white",color:"inherit",fontSize:"inherit",borderRadius:"2px",boxShadow:"0 1px 2px rgba(0, 0, 0, 0.25)",padding:"5px 9px"},basic:{whiteSpace:"pre",display:"flex",alignItems:"center"},chip:{marginRight:7},table:{},tableCell:{padding:"3px 5px"},tableCellValue:{fontWeight:"bold"}},crosshair:{line:{stroke:"#000000",strokeWidth:1,strokeOpacity:.75,strokeDasharray:"6 6"}},annotations:{text:{fontSize:13,outlineWidth:2,outlineColor:"#ffffff",outlineOpacity:1},link:{stroke:"#000000",strokeWidth:1,outlineWidth:2,outlineColor:"#ffffff",outlineOpacity:1},outline:{fill:"none",stroke:"#000000",strokeWidth:2,outlineWidth:2,outlineColor:"#ffffff",outlineOpacity:1},symbol:{fill:"#000000",outlineWidth:2,outlineColor:"#ffffff",outlineOpacity:1}}},Fz=c(null),zz={},Pz=function(e){var t=e.theme,n=void 0===t?zz:t,r=e.children,i=function(e){return s((function(){return Lz(Oz,e)}),[e])}(n);return yi(Fz.Provider,{value:i,children:r})},Nz=function(){var e=l(Fz);if(null===e)throw new Error("Unable to find the theme, did you forget to wrap your component with ThemeProvider?");return e};function jz(){return jz=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},jz.apply(null,arguments)}var Iz=["basic","chip","container","table","tableCell","tableCellValue"],Bz={pointerEvents:"none",position:"absolute",zIndex:10,top:0,left:0},Wz=function(e,t){return"translate("+e+"px, "+t+"px)"},$z=u((function(e){var t,n=e.position,r=e.anchor,a=e.children,o=Nz(),s=g$(),l=s.animate,c=s.config,u=uq(),d=u[0],f=u[1],h=i(!1),p=void 0,g=!1,m=f.width>0&&f.height>0,v=Math.round(n[0]),b=Math.round(n[1]);m&&("top"===r?(v-=f.width/2,b-=f.height+14):"right"===r?(v+=14,b-=f.height/2):"bottom"===r?(v-=f.width/2,b+=14):"left"===r?(v-=f.width+14,b-=f.height/2):"center"===r&&(v-=f.width/2,b-=f.height/2),p={transform:Wz(v,b)},h.current||(g=!0),h.current=[v,b]);var y=_T({to:p,config:c,immediate:!l||g}),_=o.tooltip;_.basic,_.chip,_.container,_.table,_.tableCell,_.tableCellValue;var w=function(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(-1!==t.indexOf(r))continue;n[r]=e[r]}return n}(_,Iz),x=jz({},Bz,w,{transform:null!=(t=y.transform)?t:Wz(v,b),opacity:y.transform?1:0});return yi(vD.div,{ref:d,style:x,children:a})}));$z.displayName="TooltipWrapper";var qz=u((function(e){var t=e.size,n=void 0===t?12:t,r=e.color,i=e.style;return yi("span",{style:jz({display:"block",width:n,height:n,background:r},void 0===i?{}:i)})})),Hz=u((function(e){var t,n=e.id,r=e.value,i=e.format,a=e.enableChip,o=void 0!==a&&a,s=e.color,l=e.renderContent,c=Nz(),u=fq(i);if("function"==typeof l)t=l();else{var d=r;void 0!==u&&void 0!==d&&(d=u(d)),t=yi("div",{style:c.tooltip.basic,children:[o&&yi(qz,{color:s,style:c.tooltip.chip}),void 0!==d?yi("span",{children:[n,": ",yi("strong",{children:""+d})]}):n]})}return yi("div",{style:c.tooltip.container,role:"tooltip",children:t})})),Uz={width:"100%",borderCollapse:"collapse"},Vz=u((function(e){var t,n=e.title,r=e.rows,i=void 0===r?[]:r,a=e.renderContent,o=Nz();return i.length?(t="function"==typeof a?a():yi("div",{children:[n&&n,yi("table",{style:jz({},Uz,o.tooltip.table),children:yi("tbody",{children:i.map((function(e,t){return yi("tr",{children:e.map((function(e,t){return yi("td",{style:o.tooltip.tableCell,children:e},t)}))},t)}))})})]}),yi("div",{style:o.tooltip.container,children:t})):null}));Vz.displayName="TableTooltip";var Yz=u((function(e){var t=e.x0,n=e.x1,r=e.y0,i=e.y1,a=Nz(),o=g$(),l=o.animate,c=o.config,u=s((function(){return jz({},a.crosshair.line,{pointerEvents:"none"})}),[a.crosshair.line]),d=_T({x1:t,x2:n,y1:r,y2:i,config:c,immediate:!l});return yi(vD.line,jz({},d,{fill:"none",style:u}))}));Yz.displayName="CrosshairLine";var Gz=u((function(e){var t,n,r=e.width,i=e.height,a=e.type,o=e.x,s=e.y;return"cross"===a?(t={x0:o,x1:o,y0:0,y1:i},n={x0:0,x1:r,y0:s,y1:s}):"top-left"===a?(t={x0:o,x1:o,y0:0,y1:s},n={x0:0,x1:o,y0:s,y1:s}):"top"===a?t={x0:o,x1:o,y0:0,y1:s}:"top-right"===a?(t={x0:o,x1:o,y0:0,y1:s},n={x0:o,x1:r,y0:s,y1:s}):"right"===a?n={x0:o,x1:r,y0:s,y1:s}:"bottom-right"===a?(t={x0:o,x1:o,y0:s,y1:i},n={x0:o,x1:r,y0:s,y1:s}):"bottom"===a?t={x0:o,x1:o,y0:s,y1:i}:"bottom-left"===a?(t={x0:o,x1:o,y0:s,y1:i},n={x0:0,x1:o,y0:s,y1:s}):"left"===a?n={x0:0,x1:o,y0:s,y1:s}:"x"===a?t={x0:o,x1:o,y0:0,y1:i}:"y"===a&&(n={x0:0,x1:r,y0:s,y1:s}),yi(y,{children:[t&&yi(Yz,{x0:t.x0,x1:t.x1,y0:t.y0,y1:t.y1}),n&&yi(Yz,{x0:n.x0,x1:n.x1,y0:n.y0,y1:n.y1})]})}));Gz.displayName="Crosshair";var Xz,Jz,Zz=c({showTooltipAt:function(){},showTooltipFromEvent:function(){},hideTooltip:function(){}}),Kz={isVisible:!1,position:[null,null],content:null,anchor:null},Qz=c(Kz),eP=function(){var e=l(Zz);if(void 0===e)throw new Error("useTooltip must be used within a TooltipProvider");return e},tP=function(){var e=function(){var e=l(Qz);if(void 0===e)throw new Error("useTooltipState must be used within a TooltipProvider");return e}();return function(e){return e.isVisible}(e)?yi($z,{position:e.position,anchor:e.anchor,children:e.content}):null},nP=function(e){var n=e.container,r=e.children,i=function(e){var n=t(Kz),r=n[0],i=n[1],a=o((function(e,t,n){var r=t[0],a=t[1];void 0===n&&(n="top"),i({isVisible:!0,position:[r,a],anchor:n,content:e})}),[i]),l=o((function(t,n,r){void 0===r&&(r="top");var a=e.current.getBoundingClientRect(),o=e.current.offsetWidth,s=o===a.width?1:o/a.width,l="touches"in n?n.touches[0]:n,c=l.clientX,u=l.clientY,d=(c-a.left)*s,f=(u-a.top)*s;"left"!==r&&"right"!==r||(r=d<a.width/2?"right":"left"),i({isVisible:!0,position:[d,f],anchor:r,content:t})}),[e,i]),c=o((function(){i(Kz)}),[i]);return{actions:s((function(){return{showTooltipAt:a,showTooltipFromEvent:l,hideTooltip:c}}),[a,l,c]),state:r}}(n),a=i.actions,l=i.state;return yi(Zz.Provider,{value:a,children:yi(Qz.Provider,{value:l,children:r})})};var rP=I(function(){if(Jz)return Xz;Jz=1;var e=Kv(),t=Qb(),n=Qv();return Xz=function(r){return"string"==typeof r||!t(r)&&n(r)&&"[object String]"==e(r)}}());let iP;iP="undefined"!=typeof window?window:"undefined"!=typeof self?self:global;let aP=null,oP=null;const sP=iP.clearTimeout,lP=iP.setTimeout,cP=iP.cancelAnimationFrame||iP.mozCancelAnimationFrame||iP.webkitCancelAnimationFrame,uP=iP.requestAnimationFrame||iP.mozRequestAnimationFrame||iP.webkitRequestAnimationFrame;function dP(e){let t,n,r,i,a,o,s;const l="undefined"!=typeof document&&document.attachEvent;if(!l){o=function(e){const t=e.__resizeTriggers__,n=t.firstElementChild,r=t.lastElementChild,i=n.firstElementChild;r.scrollLeft=r.scrollWidth,r.scrollTop=r.scrollHeight,i.style.width=n.offsetWidth+1+"px",i.style.height=n.offsetHeight+1+"px",n.scrollLeft=n.scrollWidth,n.scrollTop=n.scrollHeight},a=function(e){return e.offsetWidth!==e.__resizeLast__.width||e.offsetHeight!==e.__resizeLast__.height},s=function(e){if(e.target.className&&"function"==typeof e.target.className.indexOf&&e.target.className.indexOf("contract-trigger")<0&&e.target.className.indexOf("expand-trigger")<0)return;const t=this;o(this),this.__resizeRAF__&&aP(this.__resizeRAF__),this.__resizeRAF__=oP((function(){a(t)&&(t.__resizeLast__.width=t.offsetWidth,t.__resizeLast__.height=t.offsetHeight,t.__resizeListeners__.forEach((function(n){n.call(t,e)})))}))};let e=!1,l="";r="animationstart";const c="Webkit Moz O ms".split(" ");let u="webkitAnimationStart animationstart oAnimationStart MSAnimationStart".split(" "),d="";{const t=document.createElement("fakeelement");if(void 0!==t.style.animationName&&(e=!0),!1===e)for(let n=0;n<c.length;n++)if(void 0!==t.style[c[n]+"AnimationName"]){d=c[n],l="-"+d.toLowerCase()+"-",r=u[n],e=!0;break}}n="resizeanim",t="@"+l+"keyframes "+n+" { from { opacity: 0; } to { opacity: 0; } } ",i=l+"animation: 1ms "+n+"; "}return{addResizeListener:function(a,c){if(l)a.attachEvent("onresize",c);else{if(!a.__resizeTriggers__){const l=a.ownerDocument,c=iP.getComputedStyle(a);c&&"static"===c.position&&(a.style.position="relative"),function(n){if(!n.getElementById("detectElementResize")){const r=(t||"")+".resize-triggers { "+(i||"")+'visibility: hidden; opacity: 0; } .resize-triggers, .resize-triggers > div, .contract-trigger:before { content: " "; display: block; position: absolute; top: 0; left: 0; height: 100%; width: 100%; overflow: hidden; z-index: -1; } .resize-triggers > div { background: #eee; overflow: auto; } .contract-trigger:before { width: 200%; height: 200%; }',a=n.head||n.getElementsByTagName("head")[0],o=n.createElement("style");o.id="detectElementResize",o.type="text/css",null!=e&&o.setAttribute("nonce",e),o.styleSheet?o.styleSheet.cssText=r:o.appendChild(n.createTextNode(r)),a.appendChild(o)}}(l),a.__resizeLast__={},a.__resizeListeners__=[],(a.__resizeTriggers__=l.createElement("div")).className="resize-triggers";const u=l.createElement("div");u.className="expand-trigger",u.appendChild(l.createElement("div"));const d=l.createElement("div");d.className="contract-trigger",a.__resizeTriggers__.appendChild(u),a.__resizeTriggers__.appendChild(d),a.appendChild(a.__resizeTriggers__),o(a),a.addEventListener("scroll",s,!0),r&&(a.__resizeTriggers__.__animationListener__=function(e){e.animationName===n&&o(a)},a.__resizeTriggers__.addEventListener(r,a.__resizeTriggers__.__animationListener__))}a.__resizeListeners__.push(c)}},removeResizeListener:function(e,t){if(l)e.detachEvent("onresize",t);else if(e.__resizeListeners__.splice(e.__resizeListeners__.indexOf(t),1),!e.__resizeListeners__.length){e.removeEventListener("scroll",s,!0),e.__resizeTriggers__.__animationListener__&&(e.__resizeTriggers__.removeEventListener(r,e.__resizeTriggers__.__animationListener__),e.__resizeTriggers__.__animationListener__=null);try{e.__resizeTriggers__=!e.removeChild(e.__resizeTriggers__)}catch(e){}}}}}null==cP||null==uP?(aP=sP,oP=function(e){return lP(e,20)}):(aP=function([e,t]){cP(e),sP(t)},oP=function(e){const t=uP((function(){sP(n),e()})),n=lP((function(){cP(t),e()}),20);return[t,n]});class fP extends d{constructor(...e){super(...e),this.state={height:this.props.defaultHeight||0,width:this.props.defaultWidth||0},this._autoSizer=null,this._detectElementResize=null,this._didLogDeprecationWarning=!1,this._parentNode=null,this._resizeObserver=null,this._timeoutId=null,this._onResize=()=>{this._timeoutId=null;const{disableHeight:e,disableWidth:t,onResize:n}=this.props;if(this._parentNode){const r=window.getComputedStyle(this._parentNode)||{},i=parseFloat(r.paddingLeft||"0"),a=parseFloat(r.paddingRight||"0"),o=parseFloat(r.paddingTop||"0"),s=parseFloat(r.paddingBottom||"0"),l=this._parentNode.getBoundingClientRect(),c=l.height-o-s,u=l.width-i-a;if(!e&&this.state.height!==c||!t&&this.state.width!==u){this.setState({height:c,width:u});const e=()=>{this._didLogDeprecationWarning||(this._didLogDeprecationWarning=!0,console.warn("scaledWidth and scaledHeight parameters have been deprecated; use width and height instead"))};"function"==typeof n&&n({height:c,width:u,get scaledHeight(){return e(),c},get scaledWidth(){return e(),u}})}}},this._setRef=e=>{this._autoSizer=e}}componentDidMount(){const{nonce:e}=this.props,t=this._autoSizer?this._autoSizer.parentNode:null;if(null!=t&&t.ownerDocument&&t.ownerDocument.defaultView&&t instanceof t.ownerDocument.defaultView.HTMLElement){this._parentNode=t;const n=t.ownerDocument.defaultView.ResizeObserver;null!=n?(this._resizeObserver=new n((()=>{this._timeoutId=setTimeout(this._onResize,0)})),this._resizeObserver.observe(t)):(this._detectElementResize=dP(e),this._detectElementResize.addResizeListener(t,this._onResize)),this._onResize()}}componentWillUnmount(){this._parentNode&&(this._detectElementResize&&this._detectElementResize.removeResizeListener(this._parentNode,this._onResize),null!==this._timeoutId&&clearTimeout(this._timeoutId),this._resizeObserver&&this._resizeObserver.disconnect())}render(){const{children:e,defaultHeight:t,defaultWidth:n,disableHeight:r=!1,disableWidth:i=!1,doNotBailOutOnEmptyChildren:a=!1,nonce:o,onResize:s,style:l={},tagName:c="div",...u}=this.props,{height:d,width:h}=this.state,p={overflow:"visible"},g={};let m=!1;return r||(0===d&&(m=!0),p.height=0,g.height=d,g.scaledHeight=d),i||(0===h&&(m=!0),p.width=0,g.width=h,g.scaledWidth=h),a&&(m=!1),f(c,{ref:this._setRef,style:{...p,...l},...u},!m&&e(g))}}function hP(e,t){return e===t}function pP(e,r,a){var l=a&&a.equalityFn||hP,c=i(e),u=t({})[1],d=function(e,t,r,a){var o=this,l=i(null),c=i(0),u=i(0),d=i(null),f=i([]),h=i(),p=i(),g=i(e),m=i(!0);g.current=e;var v="undefined"!=typeof window,b=!t&&0!==t&&v;if("function"!=typeof e)throw new TypeError("Expected a function");t=+t||0;var y=!!(r=r||{}).leading,_=!("trailing"in r)||!!r.trailing,w="maxWait"in r,x="debounceOnServer"in r&&!!r.debounceOnServer,k=w?Math.max(+r.maxWait||0,t):null;n((function(){return m.current=!0,function(){m.current=!1}}),[]);var C=s((function(){var e=function(e){var t=f.current,n=h.current;return f.current=h.current=null,c.current=e,u.current=u.current||e,p.current=g.current.apply(n,t)},n=function(e,t){b&&cancelAnimationFrame(d.current),d.current=b?requestAnimationFrame(e):setTimeout(e,t)},r=function(e){if(!m.current)return!1;var n=e-l.current;return!l.current||n>=t||n<0||w&&e-c.current>=k},i=function(t){return d.current=null,_&&f.current?e(t):(f.current=h.current=null,p.current)},s=function e(){var a=Date.now();if(y&&u.current===c.current&&C(),r(a))return i(a);if(m.current){var o=t-(a-l.current),s=w?Math.min(o,k-(a-c.current)):o;n(e,s)}},C=function(){a&&a({})},A=function(){if(v||x){var i=Date.now(),a=r(i);if(f.current=[].slice.call(arguments),h.current=o,l.current=i,a){if(!d.current&&m.current)return c.current=l.current,n(s,t),y?e(l.current):p.current;if(w)return n(s,t),e(l.current)}return d.current||n(s,t),p.current}};return A.cancel=function(){var e=d.current;e&&(b?cancelAnimationFrame(d.current):clearTimeout(d.current)),c.current=0,f.current=l.current=h.current=d.current=null,e&&a&&a({})},A.isPending=function(){return!!d.current},A.flush=function(){return d.current?i(Date.now()):p.current},A}),[y,w,t,k,_,b,v,x,a]);return C}(o((function(e){c.current=e,u({})}),[u]),r,a,u),f=i(e);return l(f.current,e)||(d(e),f.current=e),[c.current,d]}var gP,mP,vP,bP,yP,_P,wP,xP,kP,CP,AP,SP,EP,MP,RP,TP,LP,DP,OP,FP,zP,PP,NP,jP;function IP(){if(_P)return yP;_P=1;var e=RD(),t=mP?gP:(mP=1,gP=function(e){return this.__data__.set(e,"__lodash_hash_undefined__"),this}),n=bP?vP:(bP=1,vP=function(e){return this.__data__.has(e)});function r(t){var n=-1,r=null==t?0:t.length;for(this.__data__=new e;++n<r;)this.add(t[n])}return r.prototype.add=r.prototype.push=t,r.prototype.has=n,yP=r}function BP(){if(MP)return EP;MP=1;var e=(xP||(xP=1,wP=function(e,t,n,r){for(var i=e.length,a=n+(r?1:-1);r?a--:++a<i;)if(t(e[a],a,e))return a;return-1}),wP),t=CP?kP:(CP=1,kP=function(e){return e!=e}),n=(SP||(SP=1,AP=function(e,t,n){for(var r=n-1,i=e.length;++r<i;)if(e[r]===t)return r;return-1}),AP);return EP=function(r,i,a){return i==i?n(r,i,a):e(r,t,a)},EP}function WP(){if(TP)return RP;TP=1;var e=BP();return RP=function(t,n){return!!(null==t?0:t.length)&&e(t,n,0)>-1},RP}function $P(){if(DP)return LP;return DP=1,LP=function(e,t,n){for(var r=-1,i=null==e?0:e.length;++r<i;)if(n(t,e[r]))return!0;return!1},LP}function qP(){if(FP)return OP;return FP=1,OP=function(e,t){return e.has(t)}}var HP=function(){if(jP)return NP;jP=1;var e=function(){if(PP)return zP;PP=1;var e=IP(),t=WP(),n=$P(),r=Kb(),i=PO(),a=qP();return zP=function(o,s,l,c){var u=-1,d=t,f=!0,h=o.length,p=[],g=s.length;if(!h)return p;l&&(s=r(s,i(l))),c?(d=n,f=!1):s.length>=200&&(d=a,f=!1,s=new e(s));e:for(;++u<h;){var m=o[u],v=null==l?m:l(m);if(m=c||0!==m?m:0,f&&v==v){for(var b=g;b--;)if(s[b]===v)continue e;p.push(m)}else d(s,v,c)||p.push(m)}return p},zP}(),t=YF(),n=kO(),r=t((function(t,r){return n(t)?e(t,r):[]}));return NP=r}(),UP=I(HP);function VP(e){for(var t=e.length/6|0,n=new Array(t),r=0;r<t;)n[r]="#"+e.slice(6*r,6*++r);return n}var YP=VP("1f77b4ff7f0e2ca02cd627289467bd8c564be377c27f7f7fbcbd2217becf"),GP=VP("7fc97fbeaed4fdc086ffff99386cb0f0027fbf5b17666666"),XP=VP("1b9e77d95f027570b3e7298a66a61ee6ab02a6761d666666"),JP=VP("a6cee31f78b4b2df8a33a02cfb9a99e31a1cfdbf6fff7f00cab2d66a3d9affff99b15928"),ZP=VP("fbb4aeb3cde3ccebc5decbe4fed9a6ffffcce5d8bdfddaecf2f2f2"),KP=VP("b3e2cdfdcdaccbd5e8f4cae4e6f5c9fff2aef1e2cccccccc"),QP=VP("e41a1c377eb84daf4a984ea3ff7f00ffff33a65628f781bf999999"),eN=VP("66c2a5fc8d628da0cbe78ac3a6d854ffd92fe5c494b3b3b3"),tN=VP("8dd3c7ffffb3bebadafb807280b1d3fdb462b3de69fccde5d9d9d9bc80bdccebc5ffed6f"),nN=VP("4e79a7f28e2ce1575976b7b259a14fedc949af7aa1ff9da79c755fbab0ab"),rN=e=>Fs(e[e.length-1]),iN=new Array(3).concat("d8b365f5f5f55ab4ac","a6611adfc27d80cdc1018571","a6611adfc27df5f5f580cdc1018571","8c510ad8b365f6e8c3c7eae55ab4ac01665e","8c510ad8b365f6e8c3f5f5f5c7eae55ab4ac01665e","8c510abf812ddfc27df6e8c3c7eae580cdc135978f01665e","8c510abf812ddfc27df6e8c3f5f5f5c7eae580cdc135978f01665e","5430058c510abf812ddfc27df6e8c3c7eae580cdc135978f01665e003c30","5430058c510abf812ddfc27df6e8c3f5f5f5c7eae580cdc135978f01665e003c30").map(VP),aN=rN(iN),oN=new Array(3).concat("af8dc3f7f7f77fbf7b","7b3294c2a5cfa6dba0008837","7b3294c2a5cff7f7f7a6dba0008837","762a83af8dc3e7d4e8d9f0d37fbf7b1b7837","762a83af8dc3e7d4e8f7f7f7d9f0d37fbf7b1b7837","762a839970abc2a5cfe7d4e8d9f0d3a6dba05aae611b7837","762a839970abc2a5cfe7d4e8f7f7f7d9f0d3a6dba05aae611b7837","40004b762a839970abc2a5cfe7d4e8d9f0d3a6dba05aae611b783700441b","40004b762a839970abc2a5cfe7d4e8f7f7f7d9f0d3a6dba05aae611b783700441b").map(VP),sN=rN(oN),lN=new Array(3).concat("e9a3c9f7f7f7a1d76a","d01c8bf1b6dab8e1864dac26","d01c8bf1b6daf7f7f7b8e1864dac26","c51b7de9a3c9fde0efe6f5d0a1d76a4d9221","c51b7de9a3c9fde0eff7f7f7e6f5d0a1d76a4d9221","c51b7dde77aef1b6dafde0efe6f5d0b8e1867fbc414d9221","c51b7dde77aef1b6dafde0eff7f7f7e6f5d0b8e1867fbc414d9221","8e0152c51b7dde77aef1b6dafde0efe6f5d0b8e1867fbc414d9221276419","8e0152c51b7dde77aef1b6dafde0eff7f7f7e6f5d0b8e1867fbc414d9221276419").map(VP),cN=rN(lN),uN=new Array(3).concat("998ec3f7f7f7f1a340","5e3c99b2abd2fdb863e66101","5e3c99b2abd2f7f7f7fdb863e66101","542788998ec3d8daebfee0b6f1a340b35806","542788998ec3d8daebf7f7f7fee0b6f1a340b35806","5427888073acb2abd2d8daebfee0b6fdb863e08214b35806","5427888073acb2abd2d8daebf7f7f7fee0b6fdb863e08214b35806","2d004b5427888073acb2abd2d8daebfee0b6fdb863e08214b358067f3b08","2d004b5427888073acb2abd2d8daebf7f7f7fee0b6fdb863e08214b358067f3b08").map(VP),dN=rN(uN),fN=new Array(3).concat("ef8a62f7f7f767a9cf","ca0020f4a58292c5de0571b0","ca0020f4a582f7f7f792c5de0571b0","b2182bef8a62fddbc7d1e5f067a9cf2166ac","b2182bef8a62fddbc7f7f7f7d1e5f067a9cf2166ac","b2182bd6604df4a582fddbc7d1e5f092c5de4393c32166ac","b2182bd6604df4a582fddbc7f7f7f7d1e5f092c5de4393c32166ac","67001fb2182bd6604df4a582fddbc7d1e5f092c5de4393c32166ac053061","67001fb2182bd6604df4a582fddbc7f7f7f7d1e5f092c5de4393c32166ac053061").map(VP),hN=rN(fN),pN=new Array(3).concat("ef8a62ffffff999999","ca0020f4a582bababa404040","ca0020f4a582ffffffbababa404040","b2182bef8a62fddbc7e0e0e09999994d4d4d","b2182bef8a62fddbc7ffffffe0e0e09999994d4d4d","b2182bd6604df4a582fddbc7e0e0e0bababa8787874d4d4d","b2182bd6604df4a582fddbc7ffffffe0e0e0bababa8787874d4d4d","67001fb2182bd6604df4a582fddbc7e0e0e0bababa8787874d4d4d1a1a1a","67001fb2182bd6604df4a582fddbc7ffffffe0e0e0bababa8787874d4d4d1a1a1a").map(VP),gN=rN(pN),mN=new Array(3).concat("fc8d59ffffbf91bfdb","d7191cfdae61abd9e92c7bb6","d7191cfdae61ffffbfabd9e92c7bb6","d73027fc8d59fee090e0f3f891bfdb4575b4","d73027fc8d59fee090ffffbfe0f3f891bfdb4575b4","d73027f46d43fdae61fee090e0f3f8abd9e974add14575b4","d73027f46d43fdae61fee090ffffbfe0f3f8abd9e974add14575b4","a50026d73027f46d43fdae61fee090e0f3f8abd9e974add14575b4313695","a50026d73027f46d43fdae61fee090ffffbfe0f3f8abd9e974add14575b4313695").map(VP),vN=rN(mN),bN=new Array(3).concat("fc8d59ffffbf91cf60","d7191cfdae61a6d96a1a9641","d7191cfdae61ffffbfa6d96a1a9641","d73027fc8d59fee08bd9ef8b91cf601a9850","d73027fc8d59fee08bffffbfd9ef8b91cf601a9850","d73027f46d43fdae61fee08bd9ef8ba6d96a66bd631a9850","d73027f46d43fdae61fee08bffffbfd9ef8ba6d96a66bd631a9850","a50026d73027f46d43fdae61fee08bd9ef8ba6d96a66bd631a9850006837","a50026d73027f46d43fdae61fee08bffffbfd9ef8ba6d96a66bd631a9850006837").map(VP),yN=rN(bN),_N=new Array(3).concat("fc8d59ffffbf99d594","d7191cfdae61abdda42b83ba","d7191cfdae61ffffbfabdda42b83ba","d53e4ffc8d59fee08be6f59899d5943288bd","d53e4ffc8d59fee08bffffbfe6f59899d5943288bd","d53e4ff46d43fdae61fee08be6f598abdda466c2a53288bd","d53e4ff46d43fdae61fee08bffffbfe6f598abdda466c2a53288bd","9e0142d53e4ff46d43fdae61fee08be6f598abdda466c2a53288bd5e4fa2","9e0142d53e4ff46d43fdae61fee08bffffbfe6f598abdda466c2a53288bd5e4fa2").map(VP),wN=rN(_N),xN=new Array(3).concat("e5f5f999d8c92ca25f","edf8fbb2e2e266c2a4238b45","edf8fbb2e2e266c2a42ca25f006d2c","edf8fbccece699d8c966c2a42ca25f006d2c","edf8fbccece699d8c966c2a441ae76238b45005824","f7fcfde5f5f9ccece699d8c966c2a441ae76238b45005824","f7fcfde5f5f9ccece699d8c966c2a441ae76238b45006d2c00441b").map(VP),kN=rN(xN),CN=new Array(3).concat("e0ecf49ebcda8856a7","edf8fbb3cde38c96c688419d","edf8fbb3cde38c96c68856a7810f7c","edf8fbbfd3e69ebcda8c96c68856a7810f7c","edf8fbbfd3e69ebcda8c96c68c6bb188419d6e016b","f7fcfde0ecf4bfd3e69ebcda8c96c68c6bb188419d6e016b","f7fcfde0ecf4bfd3e69ebcda8c96c68c6bb188419d810f7c4d004b").map(VP),AN=rN(CN),SN=new Array(3).concat("e0f3dba8ddb543a2ca","f0f9e8bae4bc7bccc42b8cbe","f0f9e8bae4bc7bccc443a2ca0868ac","f0f9e8ccebc5a8ddb57bccc443a2ca0868ac","f0f9e8ccebc5a8ddb57bccc44eb3d32b8cbe08589e","f7fcf0e0f3dbccebc5a8ddb57bccc44eb3d32b8cbe08589e","f7fcf0e0f3dbccebc5a8ddb57bccc44eb3d32b8cbe0868ac084081").map(VP),EN=rN(SN),MN=new Array(3).concat("fee8c8fdbb84e34a33","fef0d9fdcc8afc8d59d7301f","fef0d9fdcc8afc8d59e34a33b30000","fef0d9fdd49efdbb84fc8d59e34a33b30000","fef0d9fdd49efdbb84fc8d59ef6548d7301f990000","fff7ecfee8c8fdd49efdbb84fc8d59ef6548d7301f990000","fff7ecfee8c8fdd49efdbb84fc8d59ef6548d7301fb300007f0000").map(VP),RN=rN(MN),TN=new Array(3).concat("ece2f0a6bddb1c9099","f6eff7bdc9e167a9cf02818a","f6eff7bdc9e167a9cf1c9099016c59","f6eff7d0d1e6a6bddb67a9cf1c9099016c59","f6eff7d0d1e6a6bddb67a9cf3690c002818a016450","fff7fbece2f0d0d1e6a6bddb67a9cf3690c002818a016450","fff7fbece2f0d0d1e6a6bddb67a9cf3690c002818a016c59014636").map(VP),LN=rN(TN),DN=new Array(3).concat("ece7f2a6bddb2b8cbe","f1eef6bdc9e174a9cf0570b0","f1eef6bdc9e174a9cf2b8cbe045a8d","f1eef6d0d1e6a6bddb74a9cf2b8cbe045a8d","f1eef6d0d1e6a6bddb74a9cf3690c00570b0034e7b","fff7fbece7f2d0d1e6a6bddb74a9cf3690c00570b0034e7b","fff7fbece7f2d0d1e6a6bddb74a9cf3690c00570b0045a8d023858").map(VP),ON=rN(DN),FN=new Array(3).concat("e7e1efc994c7dd1c77","f1eef6d7b5d8df65b0ce1256","f1eef6d7b5d8df65b0dd1c77980043","f1eef6d4b9dac994c7df65b0dd1c77980043","f1eef6d4b9dac994c7df65b0e7298ace125691003f","f7f4f9e7e1efd4b9dac994c7df65b0e7298ace125691003f","f7f4f9e7e1efd4b9dac994c7df65b0e7298ace125698004367001f").map(VP),zN=rN(FN),PN=new Array(3).concat("fde0ddfa9fb5c51b8a","feebe2fbb4b9f768a1ae017e","feebe2fbb4b9f768a1c51b8a7a0177","feebe2fcc5c0fa9fb5f768a1c51b8a7a0177","feebe2fcc5c0fa9fb5f768a1dd3497ae017e7a0177","fff7f3fde0ddfcc5c0fa9fb5f768a1dd3497ae017e7a0177","fff7f3fde0ddfcc5c0fa9fb5f768a1dd3497ae017e7a017749006a").map(VP),NN=rN(PN),jN=new Array(3).concat("edf8b17fcdbb2c7fb8","ffffcca1dab441b6c4225ea8","ffffcca1dab441b6c42c7fb8253494","ffffccc7e9b47fcdbb41b6c42c7fb8253494","ffffccc7e9b47fcdbb41b6c41d91c0225ea80c2c84","ffffd9edf8b1c7e9b47fcdbb41b6c41d91c0225ea80c2c84","ffffd9edf8b1c7e9b47fcdbb41b6c41d91c0225ea8253494081d58").map(VP),IN=rN(jN),BN=new Array(3).concat("f7fcb9addd8e31a354","ffffccc2e69978c679238443","ffffccc2e69978c67931a354006837","ffffccd9f0a3addd8e78c67931a354006837","ffffccd9f0a3addd8e78c67941ab5d238443005a32","ffffe5f7fcb9d9f0a3addd8e78c67941ab5d238443005a32","ffffe5f7fcb9d9f0a3addd8e78c67941ab5d238443006837004529").map(VP),WN=rN(BN),$N=new Array(3).concat("fff7bcfec44fd95f0e","ffffd4fed98efe9929cc4c02","ffffd4fed98efe9929d95f0e993404","ffffd4fee391fec44ffe9929d95f0e993404","ffffd4fee391fec44ffe9929ec7014cc4c028c2d04","ffffe5fff7bcfee391fec44ffe9929ec7014cc4c028c2d04","ffffe5fff7bcfee391fec44ffe9929ec7014cc4c02993404662506").map(VP),qN=rN($N),HN=new Array(3).concat("ffeda0feb24cf03b20","ffffb2fecc5cfd8d3ce31a1c","ffffb2fecc5cfd8d3cf03b20bd0026","ffffb2fed976feb24cfd8d3cf03b20bd0026","ffffb2fed976feb24cfd8d3cfc4e2ae31a1cb10026","ffffccffeda0fed976feb24cfd8d3cfc4e2ae31a1cb10026","ffffccffeda0fed976feb24cfd8d3cfc4e2ae31a1cbd0026800026").map(VP),UN=rN(HN),VN=new Array(3).concat("deebf79ecae13182bd","eff3ffbdd7e76baed62171b5","eff3ffbdd7e76baed63182bd08519c","eff3ffc6dbef9ecae16baed63182bd08519c","eff3ffc6dbef9ecae16baed64292c62171b5084594","f7fbffdeebf7c6dbef9ecae16baed64292c62171b5084594","f7fbffdeebf7c6dbef9ecae16baed64292c62171b508519c08306b").map(VP),YN=rN(VN),GN=new Array(3).concat("e5f5e0a1d99b31a354","edf8e9bae4b374c476238b45","edf8e9bae4b374c47631a354006d2c","edf8e9c7e9c0a1d99b74c47631a354006d2c","edf8e9c7e9c0a1d99b74c47641ab5d238b45005a32","f7fcf5e5f5e0c7e9c0a1d99b74c47641ab5d238b45005a32","f7fcf5e5f5e0c7e9c0a1d99b74c47641ab5d238b45006d2c00441b").map(VP),XN=rN(GN),JN=new Array(3).concat("f0f0f0bdbdbd636363","f7f7f7cccccc969696525252","f7f7f7cccccc969696636363252525","f7f7f7d9d9d9bdbdbd969696636363252525","f7f7f7d9d9d9bdbdbd969696737373525252252525","fffffff0f0f0d9d9d9bdbdbd969696737373525252252525","fffffff0f0f0d9d9d9bdbdbd969696737373525252252525000000").map(VP),ZN=rN(JN),KN=new Array(3).concat("efedf5bcbddc756bb1","f2f0f7cbc9e29e9ac86a51a3","f2f0f7cbc9e29e9ac8756bb154278f","f2f0f7dadaebbcbddc9e9ac8756bb154278f","f2f0f7dadaebbcbddc9e9ac8807dba6a51a34a1486","fcfbfdefedf5dadaebbcbddc9e9ac8807dba6a51a34a1486","fcfbfdefedf5dadaebbcbddc9e9ac8807dba6a51a354278f3f007d").map(VP),QN=rN(KN),ej=new Array(3).concat("fee0d2fc9272de2d26","fee5d9fcae91fb6a4acb181d","fee5d9fcae91fb6a4ade2d26a50f15","fee5d9fcbba1fc9272fb6a4ade2d26a50f15","fee5d9fcbba1fc9272fb6a4aef3b2ccb181d99000d","fff5f0fee0d2fcbba1fc9272fb6a4aef3b2ccb181d99000d","fff5f0fee0d2fcbba1fc9272fb6a4aef3b2ccb181da50f1567000d").map(VP),tj=rN(ej),nj=new Array(3).concat("fee6cefdae6be6550d","feeddefdbe85fd8d3cd94701","feeddefdbe85fd8d3ce6550da63603","feeddefdd0a2fdae6bfd8d3ce6550da63603","feeddefdd0a2fdae6bfd8d3cf16913d948018c2d04","fff5ebfee6cefdd0a2fdae6bfd8d3cf16913d948018c2d04","fff5ebfee6cefdd0a2fdae6bfd8d3cf16913d94801a636037f2704").map(VP),rj=rN(nj);var ij=Qs(Ss(300,.5,0),Ss(-240,.5,1)),aj=Qs(Ss(-100,.75,.35),Ss(80,1.5,.8)),oj=Qs(Ss(260,.75,.35),Ss(80,1.5,.8)),sj=Ss();var lj=rs(),cj=Math.PI/3,uj=2*Math.PI/3;function dj(e){var t=e.length;return function(n){return e[Math.max(0,Math.min(t-1,Math.floor(n*t)))]}}var fj,hj,pj=dj(VP("44015444025645045745055946075a46085c460a5d460b5e470d60470e6147106347116447136548146748166848176948186a481a6c481b6d481c6e481d6f481f70482071482173482374482475482576482677482878482979472a7a472c7a472d7b472e7c472f7d46307e46327e46337f463480453581453781453882443983443a83443b84433d84433e85423f854240864241864142874144874045884046883f47883f48893e49893e4a893e4c8a3d4d8a3d4e8a3c4f8a3c508b3b518b3b528b3a538b3a548c39558c39568c38588c38598c375a8c375b8d365c8d365d8d355e8d355f8d34608d34618d33628d33638d32648e32658e31668e31678e31688e30698e306a8e2f6b8e2f6c8e2e6d8e2e6e8e2e6f8e2d708e2d718e2c718e2c728e2c738e2b748e2b758e2a768e2a778e2a788e29798e297a8e297b8e287c8e287d8e277e8e277f8e27808e26818e26828e26828e25838e25848e25858e24868e24878e23888e23898e238a8d228b8d228c8d228d8d218e8d218f8d21908d21918c20928c20928c20938c1f948c1f958b1f968b1f978b1f988b1f998a1f9a8a1e9b8a1e9c891e9d891f9e891f9f881fa0881fa1881fa1871fa28720a38620a48621a58521a68522a78522a88423a98324aa8325ab8225ac8226ad8127ad8128ae8029af7f2ab07f2cb17e2db27d2eb37c2fb47c31b57b32b67a34b67935b77937b87838b9773aba763bbb753dbc743fbc7340bd7242be7144bf7046c06f48c16e4ac16d4cc26c4ec36b50c46a52c56954c56856c66758c7655ac8645cc8635ec96260ca6063cb5f65cb5e67cc5c69cd5b6ccd5a6ece5870cf5773d05675d05477d1537ad1517cd2507fd34e81d34d84d44b86d54989d5488bd6468ed64590d74393d74195d84098d83e9bd93c9dd93ba0da39a2da37a5db36a8db34aadc32addc30b0dd2fb2dd2db5de2bb8de29bade28bddf26c0df25c2df23c5e021c8e020cae11fcde11dd0e11cd2e21bd5e21ad8e219dae319dde318dfe318e2e418e5e419e7e419eae51aece51befe51cf1e51df4e61ef6e620f8e621fbe723fde725")),gj=dj(VP("00000401000501010601010802010902020b02020d03030f03031204041405041606051806051a07061c08071e0907200a08220b09240c09260d0a290e0b2b100b2d110c2f120d31130d34140e36150e38160f3b180f3d19103f1a10421c10441d11471e114920114b21114e22115024125325125527125829115a2a115c2c115f2d11612f116331116533106734106936106b38106c390f6e3b0f703d0f713f0f72400f74420f75440f764510774710784910784a10794c117a4e117b4f127b51127c52137c54137d56147d57157e59157e5a167e5c167f5d177f5f187f601880621980641a80651a80671b80681c816a1c816b1d816d1d816e1e81701f81721f817320817521817621817822817922827b23827c23827e24828025828125818326818426818627818827818928818b29818c29818e2a81902a81912b81932b80942c80962c80982d80992d809b2e7f9c2e7f9e2f7fa02f7fa1307ea3307ea5317ea6317da8327daa337dab337cad347cae347bb0357bb2357bb3367ab5367ab73779b83779ba3878bc3978bd3977bf3a77c03a76c23b75c43c75c53c74c73d73c83e73ca3e72cc3f71cd4071cf4070d0416fd2426fd3436ed5446dd6456cd8456cd9466bdb476adc4869de4968df4a68e04c67e24d66e34e65e44f64e55064e75263e85362e95462ea5661eb5760ec5860ed5a5fee5b5eef5d5ef05f5ef1605df2625df2645cf3655cf4675cf4695cf56b5cf66c5cf66e5cf7705cf7725cf8745cf8765cf9785df9795df97b5dfa7d5efa7f5efa815ffb835ffb8560fb8761fc8961fc8a62fc8c63fc8e64fc9065fd9266fd9467fd9668fd9869fd9a6afd9b6bfe9d6cfe9f6dfea16efea36ffea571fea772fea973feaa74feac76feae77feb078feb27afeb47bfeb67cfeb77efeb97ffebb81febd82febf84fec185fec287fec488fec68afec88cfeca8dfecc8ffecd90fecf92fed194fed395fed597fed799fed89afdda9cfddc9efddea0fde0a1fde2a3fde3a5fde5a7fde7a9fde9aafdebacfcecaefceeb0fcf0b2fcf2b4fcf4b6fcf6b8fcf7b9fcf9bbfcfbbdfcfdbf")),mj=dj(VP("00000401000501010601010802010a02020c02020e03021004031204031405041706041907051b08051d09061f0a07220b07240c08260d08290e092b10092d110a30120a32140b34150b37160b39180c3c190c3e1b0c411c0c431e0c451f0c48210c4a230c4c240c4f260c51280b53290b552b0b572d0b592f0a5b310a5c320a5e340a5f3609613809623909633b09643d09653e0966400a67420a68440a68450a69470b6a490b6a4a0c6b4c0c6b4d0d6c4f0d6c510e6c520e6d540f6d550f6d57106e59106e5a116e5c126e5d126e5f136e61136e62146e64156e65156e67166e69166e6a176e6c186e6d186e6f196e71196e721a6e741a6e751b6e771c6d781c6d7a1d6d7c1d6d7d1e6d7f1e6c801f6c82206c84206b85216b87216b88226a8a226a8c23698d23698f24699025689225689326679526679727669827669a28659b29649d29649f2a63a02a63a22b62a32c61a52c60a62d60a82e5fa92e5eab2f5ead305dae305cb0315bb1325ab3325ab43359b63458b73557b93556ba3655bc3754bd3853bf3952c03a51c13a50c33b4fc43c4ec63d4dc73e4cc83f4bca404acb4149cc4248ce4347cf4446d04545d24644d34743d44842d54a41d74b3fd84c3ed94d3dda4e3cdb503bdd513ade5238df5337e05536e15635e25734e35933e45a31e55c30e65d2fe75e2ee8602de9612bea632aeb6429eb6628ec6726ed6925ee6a24ef6c23ef6e21f06f20f1711ff1731df2741cf3761bf37819f47918f57b17f57d15f67e14f68013f78212f78410f8850ff8870ef8890cf98b0bf98c0af98e09fa9008fa9207fa9407fb9606fb9706fb9906fb9b06fb9d07fc9f07fca108fca309fca50afca60cfca80dfcaa0ffcac11fcae12fcb014fcb216fcb418fbb61afbb81dfbba1ffbbc21fbbe23fac026fac228fac42afac62df9c72ff9c932f9cb35f8cd37f8cf3af7d13df7d340f6d543f6d746f5d949f5db4cf4dd4ff4df53f4e156f3e35af3e55df2e661f2e865f2ea69f1ec6df1ed71f1ef75f1f179f2f27df2f482f3f586f3f68af4f88ef5f992f6fa96f8fb9af9fc9dfafda1fcffa4")),vj=dj(VP("0d088710078813078916078a19068c1b068d1d068e20068f2206902406912605912805922a05932c05942e05952f059631059733059735049837049938049a3a049a3c049b3e049c3f049c41049d43039e44039e46039f48039f4903a04b03a14c02a14e02a25002a25102a35302a35502a45601a45801a45901a55b01a55c01a65e01a66001a66100a76300a76400a76600a76700a86900a86a00a86c00a86e00a86f00a87100a87201a87401a87501a87701a87801a87a02a87b02a87d03a87e03a88004a88104a78305a78405a78606a68707a68808a68a09a58b0aa58d0ba58e0ca48f0da4910ea3920fa39410a29511a19613a19814a099159f9a169f9c179e9d189d9e199da01a9ca11b9ba21d9aa31e9aa51f99a62098a72197a82296aa2395ab2494ac2694ad2793ae2892b02991b12a90b22b8fb32c8eb42e8db52f8cb6308bb7318ab83289ba3388bb3488bc3587bd3786be3885bf3984c03a83c13b82c23c81c33d80c43e7fc5407ec6417dc7427cc8437bc9447aca457acb4679cc4778cc4977cd4a76ce4b75cf4c74d04d73d14e72d24f71d35171d45270d5536fd5546ed6556dd7566cd8576bd9586ada5a6ada5b69db5c68dc5d67dd5e66de5f65de6164df6263e06363e16462e26561e26660e3685fe4695ee56a5de56b5de66c5ce76e5be76f5ae87059e97158e97257ea7457eb7556eb7655ec7754ed7953ed7a52ee7b51ef7c51ef7e50f07f4ff0804ef1814df1834cf2844bf3854bf3874af48849f48948f58b47f58c46f68d45f68f44f79044f79143f79342f89441f89540f9973ff9983ef99a3efa9b3dfa9c3cfa9e3bfb9f3afba139fba238fca338fca537fca636fca835fca934fdab33fdac33fdae32fdaf31fdb130fdb22ffdb42ffdb52efeb72dfeb82cfeba2cfebb2bfebd2afebe2afec029fdc229fdc328fdc527fdc627fdc827fdca26fdcb26fccd25fcce25fcd025fcd225fbd324fbd524fbd724fad824fada24f9dc24f9dd25f8df25f8e125f7e225f7e425f6e626f6e826f5e926f5eb27f4ed27f3ee27f3f027f2f227f1f426f1f525f0f724f0f921"));function bj(){if(hj)return fj;return hj=1,fj=function(e){var t=null==e?0:e.length;return t?e[t-1]:void 0},fj}var yj=I(bj());Qb();var _j=I(wD());function wj(e,t){if((n=(e=t?e.toExponential(t-1):e.toExponential()).indexOf("e"))<0)return null;var n,r=e.slice(0,n);return[r.length>1?r[0]+r.slice(2):r,+e.slice(n+1)]}var xj,kj=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function Cj(e){if(!(t=kj.exec(e)))throw new Error("invalid format: "+e);var t;return new Aj({fill:t[1],align:t[2],sign:t[3],symbol:t[4],zero:t[5],width:t[6],comma:t[7],precision:t[8]&&t[8].slice(1),trim:t[9],type:t[10]})}function Aj(e){this.fill=void 0===e.fill?" ":e.fill+"",this.align=void 0===e.align?">":e.align+"",this.sign=void 0===e.sign?"-":e.sign+"",this.symbol=void 0===e.symbol?"":e.symbol+"",this.zero=!!e.zero,this.width=void 0===e.width?void 0:+e.width,this.comma=!!e.comma,this.precision=void 0===e.precision?void 0:+e.precision,this.trim=!!e.trim,this.type=void 0===e.type?"":e.type+""}function Sj(e,t){var n=wj(e,t);if(!n)return e+"";var r=n[0],i=n[1];return i<0?"0."+new Array(-i).join("0")+r:r.length>i+1?r.slice(0,i+1)+"."+r.slice(i+1):r+new Array(i-r.length+2).join("0")}Cj.prototype=Aj.prototype,Aj.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 Ej={"%":function(e,t){return(100*e).toFixed(t)},b:function(e){return Math.round(e).toString(2)},c:function(e){return e+""},d:function(e){return Math.abs(e=Math.round(e))>=1e21?e.toLocaleString("en").replace(/,/g,""):e.toString(10)},e:function(e,t){return e.toExponential(t)},f:function(e,t){return e.toFixed(t)},g:function(e,t){return e.toPrecision(t)},o:function(e){return Math.round(e).toString(8)},p:function(e,t){return Sj(100*e,t)},r:Sj,s:function(e,t){var n=wj(e,t);if(!n)return e+"";var r=n[0],i=n[1],a=i-(xj=3*Math.max(-8,Math.min(8,Math.floor(i/3))))+1,o=r.length;return a===o?r:a>o?r+new Array(a-o+1).join("0"):a>0?r.slice(0,a)+"."+r.slice(a):"0."+new Array(1-a).join("0")+wj(e,Math.max(0,t+a-1))[0]},X:function(e){return Math.round(e).toString(16).toUpperCase()},x:function(e){return Math.round(e).toString(16)}};function Mj(e){return e}var Rj,Tj,Lj=Array.prototype.map,Dj=["y","z","a","f","p","n","µ","m","","k","M","G","T","P","E","Z","Y"];function Oj(e){var t,n,r=void 0===e.grouping||void 0===e.thousands?Mj:(t=Lj.call(e.grouping,Number),n=e.thousands+"",function(e,r){for(var i=e.length,a=[],o=0,s=t[0],l=0;i>0&&s>0&&(l+s+1>r&&(s=Math.max(1,r-l)),a.push(e.substring(i-=s,i+s)),!((l+=s+1)>r));)s=t[o=(o+1)%t.length];return a.reverse().join(n)}),i=void 0===e.currency?"":e.currency[0]+"",a=void 0===e.currency?"":e.currency[1]+"",o=e.decimal+"",s=void 0===e.numerals?Mj:function(e){return function(t){return t.replace(/[0-9]/g,(function(t){return e[+t]}))}}(Lj.call(e.numerals,String)),l=void 0===e.percent?"%":e.percent+"",c=e.minus+"",u=void 0===e.nan?"NaN":e.nan+"";function d(e){var t=(e=Cj(e)).fill,n=e.align,d=e.sign,f=e.symbol,h=e.zero,p=e.width,g=e.comma,m=e.precision,v=e.trim,b=e.type;"n"===b?(g=!0,b="g"):Ej[b]||(void 0===m&&(m=12),v=!0,b="g"),(h||"0"===t&&"="===n)&&(h=!0,t="0",n="=");var y="$"===f?i:"#"===f&&/[boxX]/.test(b)?"0"+b.toLowerCase():"",_="$"===f?a:/[%p]/.test(b)?l:"",w=Ej[b],x=/[defgprs%]/.test(b);function k(e){var i,a,l,f=y,k=_;if("c"===b)k=w(e)+k,e="";else{var C=(e=+e)<0||1/e<0;if(e=isNaN(e)?u:w(Math.abs(e),m),v&&(e=function(e){e:for(var t,n=e.length,r=1,i=-1;r<n;++r)switch(e[r]){case".":i=t=r;break;case"0":0===i&&(i=r),t=r;break;default:if(!+e[r])break e;i>0&&(i=0)}return i>0?e.slice(0,i)+e.slice(t+1):e}(e)),C&&0==+e&&"+"!==d&&(C=!1),f=(C?"("===d?d:c:"-"===d||"("===d?"":d)+f,k=("s"===b?Dj[8+xj/3]:"")+k+(C&&"("===d?")":""),x)for(i=-1,a=e.length;++i<a;)if(48>(l=e.charCodeAt(i))||l>57){k=(46===l?o+e.slice(i+1):e.slice(i))+k,e=e.slice(0,i);break}}g&&!h&&(e=r(e,1/0));var A=f.length+e.length+k.length,S=A<p?new Array(p-A+1).join(t):"";switch(g&&h&&(e=r(S+e,S.length?p-k.length:1/0),S=""),n){case"<":e=f+e+k+S;break;case"=":e=f+S+e+k;break;case"^":e=S.slice(0,A=S.length>>1)+f+e+k+S.slice(A);break;default:e=S+f+e+k}return s(e)}return m=void 0===m?6:/[gprs]/.test(b)?Math.max(1,Math.min(21,m)):Math.max(0,Math.min(20,m)),k.toString=function(){return e+""},k}return{format:d,formatPrefix:function(e,t){var n=d(((e=Cj(e)).type="f",e)),r=3*Math.max(-8,Math.min(8,Math.floor(function(e){return(e=wj(Math.abs(e)))?e[1]:NaN}(t)/3))),i=Math.pow(10,-r),a=Dj[8+r/3];return function(e){return n(i*e)+a}}}}!function(e){Rj=Oj(e),Tj=Rj.format,Rj.formatPrefix}({decimal:".",thousands:",",grouping:[3],currency:["$",""],minus:"-"});var Fj=new Date,zj=new Date;function Pj(e,t,n,r){function i(t){return e(t=0===arguments.length?new Date:new Date(+t)),t}return i.floor=function(t){return e(t=new Date(+t)),t},i.ceil=function(n){return e(n=new Date(n-1)),t(n,1),e(n),n},i.round=function(e){var t=i(e),n=i.ceil(e);return e-t<n-e?t:n},i.offset=function(e,n){return t(e=new Date(+e),null==n?1:Math.floor(n)),e},i.range=function(n,r,a){var o,s=[];if(n=i.ceil(n),a=null==a?1:Math.floor(a),!(n<r&&a>0))return s;do{s.push(o=new Date(+n)),t(n,a),e(n)}while(o<n&&n<r);return s},i.filter=function(n){return Pj((function(t){if(t>=t)for(;e(t),!n(t);)t.setTime(t-1)}),(function(e,r){if(e>=e)if(r<0)for(;++r<=0;)for(;t(e,-1),!n(e););else for(;--r>=0;)for(;t(e,1),!n(e););}))},n&&(i.count=function(t,r){return Fj.setTime(+t),zj.setTime(+r),e(Fj),e(zj),Math.floor(n(Fj,zj))},i.every=function(e){return e=Math.floor(e),isFinite(e)&&e>0?e>1?i.filter(r?function(t){return r(t)%e==0}:function(t){return i.count(0,t)%e==0}):i:null}),i}const Nj=6e4,jj=864e5,Ij=6048e5;var Bj=Pj((e=>e.setHours(0,0,0,0)),((e,t)=>e.setDate(e.getDate()+t)),((e,t)=>(t-e-(t.getTimezoneOffset()-e.getTimezoneOffset())*Nj)/jj),(e=>e.getDate()-1));function Wj(e){return Pj((function(t){t.setDate(t.getDate()-(t.getDay()+7-e)%7),t.setHours(0,0,0,0)}),(function(e,t){e.setDate(e.getDate()+7*t)}),(function(e,t){return(t-e-(t.getTimezoneOffset()-e.getTimezoneOffset())*Nj)/Ij}))}Bj.range;var $j=Wj(0),qj=Wj(1),Hj=Wj(2),Uj=Wj(3),Vj=Wj(4),Yj=Wj(5),Gj=Wj(6);$j.range,qj.range,Hj.range,Uj.range,Vj.range,Yj.range,Gj.range;var Xj=Pj((function(e){e.setMonth(0,1),e.setHours(0,0,0,0)}),(function(e,t){e.setFullYear(e.getFullYear()+t)}),(function(e,t){return t.getFullYear()-e.getFullYear()}),(function(e){return e.getFullYear()}));Xj.every=function(e){return isFinite(e=Math.floor(e))&&e>0?Pj((function(t){t.setFullYear(Math.floor(t.getFullYear()/e)*e),t.setMonth(0,1),t.setHours(0,0,0,0)}),(function(t,n){t.setFullYear(t.getFullYear()+n*e)})):null},Xj.range;var Jj=Pj((function(e){e.setUTCHours(0,0,0,0)}),(function(e,t){e.setUTCDate(e.getUTCDate()+t)}),(function(e,t){return(t-e)/jj}),(function(e){return e.getUTCDate()-1}));function Zj(e){return Pj((function(t){t.setUTCDate(t.getUTCDate()-(t.getUTCDay()+7-e)%7),t.setUTCHours(0,0,0,0)}),(function(e,t){e.setUTCDate(e.getUTCDate()+7*t)}),(function(e,t){return(t-e)/Ij}))}Jj.range;var Kj=Zj(0),Qj=Zj(1),eI=Zj(2),tI=Zj(3),nI=Zj(4),rI=Zj(5),iI=Zj(6);Kj.range,Qj.range,eI.range,tI.range,nI.range,rI.range,iI.range;var aI=Pj((function(e){e.setUTCMonth(0,1),e.setUTCHours(0,0,0,0)}),(function(e,t){e.setUTCFullYear(e.getUTCFullYear()+t)}),(function(e,t){return t.getUTCFullYear()-e.getUTCFullYear()}),(function(e){return e.getUTCFullYear()}));function oI(e){if(0<=e.y&&e.y<100){var t=new Date(-1,e.m,e.d,e.H,e.M,e.S,e.L);return t.setFullYear(e.y),t}return new Date(e.y,e.m,e.d,e.H,e.M,e.S,e.L)}function sI(e){if(0<=e.y&&e.y<100){var t=new Date(Date.UTC(-1,e.m,e.d,e.H,e.M,e.S,e.L));return t.setUTCFullYear(e.y),t}return new Date(Date.UTC(e.y,e.m,e.d,e.H,e.M,e.S,e.L))}function lI(e,t,n){return{y:e,m:t,d:n,H:0,M:0,S:0,L:0}}aI.every=function(e){return isFinite(e=Math.floor(e))&&e>0?Pj((function(t){t.setUTCFullYear(Math.floor(t.getUTCFullYear()/e)*e),t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0)}),(function(t,n){t.setUTCFullYear(t.getUTCFullYear()+n*e)})):null},aI.range;var cI,uI,dI,fI,hI={"-":"",_:" ",0:"0"},pI=/^\s*\d+/,gI=/^%/,mI=/[\\^$*+?|[\]().{}]/g;function vI(e,t,n){var r=e<0?"-":"",i=(r?-e:e)+"",a=i.length;return r+(a<n?new Array(n-a+1).join(t)+i:i)}function bI(e){return e.replace(mI,"\\$&")}function yI(e){return new RegExp("^(?:"+e.map(bI).join("|")+")","i")}function _I(e){return new Map(e.map(((e,t)=>[e.toLowerCase(),t])))}function wI(e,t,n){var r=pI.exec(t.slice(n,n+1));return r?(e.w=+r[0],n+r[0].length):-1}function xI(e,t,n){var r=pI.exec(t.slice(n,n+1));return r?(e.u=+r[0],n+r[0].length):-1}function kI(e,t,n){var r=pI.exec(t.slice(n,n+2));return r?(e.U=+r[0],n+r[0].length):-1}function CI(e,t,n){var r=pI.exec(t.slice(n,n+2));return r?(e.V=+r[0],n+r[0].length):-1}function AI(e,t,n){var r=pI.exec(t.slice(n,n+2));return r?(e.W=+r[0],n+r[0].length):-1}function SI(e,t,n){var r=pI.exec(t.slice(n,n+4));return r?(e.y=+r[0],n+r[0].length):-1}function EI(e,t,n){var r=pI.exec(t.slice(n,n+2));return r?(e.y=+r[0]+(+r[0]>68?1900:2e3),n+r[0].length):-1}function MI(e,t,n){var r=/^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(t.slice(n,n+6));return r?(e.Z=r[1]?0:-(r[2]+(r[3]||"00")),n+r[0].length):-1}function RI(e,t,n){var r=pI.exec(t.slice(n,n+1));return r?(e.q=3*r[0]-3,n+r[0].length):-1}function TI(e,t,n){var r=pI.exec(t.slice(n,n+2));return r?(e.m=r[0]-1,n+r[0].length):-1}function LI(e,t,n){var r=pI.exec(t.slice(n,n+2));return r?(e.d=+r[0],n+r[0].length):-1}function DI(e,t,n){var r=pI.exec(t.slice(n,n+3));return r?(e.m=0,e.d=+r[0],n+r[0].length):-1}function OI(e,t,n){var r=pI.exec(t.slice(n,n+2));return r?(e.H=+r[0],n+r[0].length):-1}function FI(e,t,n){var r=pI.exec(t.slice(n,n+2));return r?(e.M=+r[0],n+r[0].length):-1}function zI(e,t,n){var r=pI.exec(t.slice(n,n+2));return r?(e.S=+r[0],n+r[0].length):-1}function PI(e,t,n){var r=pI.exec(t.slice(n,n+3));return r?(e.L=+r[0],n+r[0].length):-1}function NI(e,t,n){var r=pI.exec(t.slice(n,n+6));return r?(e.L=Math.floor(r[0]/1e3),n+r[0].length):-1}function jI(e,t,n){var r=gI.exec(t.slice(n,n+1));return r?n+r[0].length:-1}function II(e,t,n){var r=pI.exec(t.slice(n));return r?(e.Q=+r[0],n+r[0].length):-1}function BI(e,t,n){var r=pI.exec(t.slice(n));return r?(e.s=+r[0],n+r[0].length):-1}function WI(e,t){return vI(e.getDate(),t,2)}function $I(e,t){return vI(e.getHours(),t,2)}function qI(e,t){return vI(e.getHours()%12||12,t,2)}function HI(e,t){return vI(1+Bj.count(Xj(e),e),t,3)}function UI(e,t){return vI(e.getMilliseconds(),t,3)}function VI(e,t){return UI(e,t)+"000"}function YI(e,t){return vI(e.getMonth()+1,t,2)}function GI(e,t){return vI(e.getMinutes(),t,2)}function XI(e,t){return vI(e.getSeconds(),t,2)}function JI(e){var t=e.getDay();return 0===t?7:t}function ZI(e,t){return vI($j.count(Xj(e)-1,e),t,2)}function KI(e){var t=e.getDay();return t>=4||0===t?Vj(e):Vj.ceil(e)}function QI(e,t){return e=KI(e),vI(Vj.count(Xj(e),e)+(4===Xj(e).getDay()),t,2)}function eB(e){return e.getDay()}function tB(e,t){return vI(qj.count(Xj(e)-1,e),t,2)}function nB(e,t){return vI(e.getFullYear()%100,t,2)}function rB(e,t){return vI((e=KI(e)).getFullYear()%100,t,2)}function iB(e,t){return vI(e.getFullYear()%1e4,t,4)}function aB(e,t){var n=e.getDay();return vI((e=n>=4||0===n?Vj(e):Vj.ceil(e)).getFullYear()%1e4,t,4)}function oB(e){var t=e.getTimezoneOffset();return(t>0?"-":(t*=-1,"+"))+vI(t/60|0,"0",2)+vI(t%60,"0",2)}function sB(e,t){return vI(e.getUTCDate(),t,2)}function lB(e,t){return vI(e.getUTCHours(),t,2)}function cB(e,t){return vI(e.getUTCHours()%12||12,t,2)}function uB(e,t){return vI(1+Jj.count(aI(e),e),t,3)}function dB(e,t){return vI(e.getUTCMilliseconds(),t,3)}function fB(e,t){return dB(e,t)+"000"}function hB(e,t){return vI(e.getUTCMonth()+1,t,2)}function pB(e,t){return vI(e.getUTCMinutes(),t,2)}function gB(e,t){return vI(e.getUTCSeconds(),t,2)}function mB(e){var t=e.getUTCDay();return 0===t?7:t}function vB(e,t){return vI(Kj.count(aI(e)-1,e),t,2)}function bB(e){var t=e.getUTCDay();return t>=4||0===t?nI(e):nI.ceil(e)}function yB(e,t){return e=bB(e),vI(nI.count(aI(e),e)+(4===aI(e).getUTCDay()),t,2)}function _B(e){return e.getUTCDay()}function wB(e,t){return vI(Qj.count(aI(e)-1,e),t,2)}function xB(e,t){return vI(e.getUTCFullYear()%100,t,2)}function kB(e,t){return vI((e=bB(e)).getUTCFullYear()%100,t,2)}function CB(e,t){return vI(e.getUTCFullYear()%1e4,t,4)}function AB(e,t){var n=e.getUTCDay();return vI((e=n>=4||0===n?nI(e):nI.ceil(e)).getUTCFullYear()%1e4,t,4)}function SB(){return"+0000"}function EB(){return"%"}function MB(e){return+e}function RB(e){return Math.floor(+e/1e3)}!function(e){cI=function(e){var t=e.dateTime,n=e.date,r=e.time,i=e.periods,a=e.days,o=e.shortDays,s=e.months,l=e.shortMonths,c=yI(i),u=_I(i),d=yI(a),f=_I(a),h=yI(o),p=_I(o),g=yI(s),m=_I(s),v=yI(l),b=_I(l),y={a:function(e){return o[e.getDay()]},A:function(e){return a[e.getDay()]},b:function(e){return l[e.getMonth()]},B:function(e){return s[e.getMonth()]},c:null,d:WI,e:WI,f:VI,g:rB,G:aB,H:$I,I:qI,j:HI,L:UI,m:YI,M:GI,p:function(e){return i[+(e.getHours()>=12)]},q:function(e){return 1+~~(e.getMonth()/3)},Q:MB,s:RB,S:XI,u:JI,U:ZI,V:QI,w:eB,W:tB,x:null,X:null,y:nB,Y:iB,Z:oB,"%":EB},_={a:function(e){return o[e.getUTCDay()]},A:function(e){return a[e.getUTCDay()]},b:function(e){return l[e.getUTCMonth()]},B:function(e){return s[e.getUTCMonth()]},c:null,d:sB,e:sB,f:fB,g:kB,G:AB,H:lB,I:cB,j:uB,L:dB,m:hB,M:pB,p:function(e){return i[+(e.getUTCHours()>=12)]},q:function(e){return 1+~~(e.getUTCMonth()/3)},Q:MB,s:RB,S:gB,u:mB,U:vB,V:yB,w:_B,W:wB,x:null,X:null,y:xB,Y:CB,Z:SB,"%":EB},w={a:function(e,t,n){var r=h.exec(t.slice(n));return r?(e.w=p.get(r[0].toLowerCase()),n+r[0].length):-1},A:function(e,t,n){var r=d.exec(t.slice(n));return r?(e.w=f.get(r[0].toLowerCase()),n+r[0].length):-1},b:function(e,t,n){var r=v.exec(t.slice(n));return r?(e.m=b.get(r[0].toLowerCase()),n+r[0].length):-1},B:function(e,t,n){var r=g.exec(t.slice(n));return r?(e.m=m.get(r[0].toLowerCase()),n+r[0].length):-1},c:function(e,n,r){return C(e,t,n,r)},d:LI,e:LI,f:NI,g:EI,G:SI,H:OI,I:OI,j:DI,L:PI,m:TI,M:FI,p:function(e,t,n){var r=c.exec(t.slice(n));return r?(e.p=u.get(r[0].toLowerCase()),n+r[0].length):-1},q:RI,Q:II,s:BI,S:zI,u:xI,U:kI,V:CI,w:wI,W:AI,x:function(e,t,r){return C(e,n,t,r)},X:function(e,t,n){return C(e,r,t,n)},y:EI,Y:SI,Z:MI,"%":jI};function x(e,t){return function(n){var r,i,a,o=[],s=-1,l=0,c=e.length;for(n instanceof Date||(n=new Date(+n));++s<c;)37===e.charCodeAt(s)&&(o.push(e.slice(l,s)),null!=(i=hI[r=e.charAt(++s)])?r=e.charAt(++s):i="e"===r?" ":"0",(a=t[r])&&(r=a(n,i)),o.push(r),l=s+1);return o.push(e.slice(l,s)),o.join("")}}function k(e,t){return function(n){var r,i,a=lI(1900,void 0,1);if(C(a,e,n+="",0)!=n.length)return null;if("Q"in a)return new Date(a.Q);if("s"in a)return new Date(1e3*a.s+("L"in a?a.L:0));if(t&&!("Z"in a)&&(a.Z=0),"p"in a&&(a.H=a.H%12+12*a.p),void 0===a.m&&(a.m="q"in a?a.q:0),"V"in a){if(a.V<1||a.V>53)return null;"w"in a||(a.w=1),"Z"in a?(i=(r=sI(lI(a.y,0,1))).getUTCDay(),r=i>4||0===i?Qj.ceil(r):Qj(r),r=Jj.offset(r,7*(a.V-1)),a.y=r.getUTCFullYear(),a.m=r.getUTCMonth(),a.d=r.getUTCDate()+(a.w+6)%7):(i=(r=oI(lI(a.y,0,1))).getDay(),r=i>4||0===i?qj.ceil(r):qj(r),r=Bj.offset(r,7*(a.V-1)),a.y=r.getFullYear(),a.m=r.getMonth(),a.d=r.getDate()+(a.w+6)%7)}else("W"in a||"U"in a)&&("w"in a||(a.w="u"in a?a.u%7:"W"in a?1:0),i="Z"in a?sI(lI(a.y,0,1)).getUTCDay():oI(lI(a.y,0,1)).getDay(),a.m=0,a.d="W"in a?(a.w+6)%7+7*a.W-(i+5)%7:a.w+7*a.U-(i+6)%7);return"Z"in a?(a.H+=a.Z/100|0,a.M+=a.Z%100,sI(a)):oI(a)}}function C(e,t,n,r){for(var i,a,o=0,s=t.length,l=n.length;o<s;){if(r>=l)return-1;if(37===(i=t.charCodeAt(o++))){if(i=t.charAt(o++),!(a=w[i in hI?t.charAt(o++):i])||(r=a(e,n,r))<0)return-1}else if(i!=n.charCodeAt(r++))return-1}return r}return y.x=x(n,y),y.X=x(r,y),y.c=x(t,y),_.x=x(n,_),_.X=x(r,_),_.c=x(t,_),{format:function(e){var t=x(e+="",y);return t.toString=function(){return e},t},parse:function(e){var t=k(e+="",!1);return t.toString=function(){return e},t},utcFormat:function(e){var t=x(e+="",_);return t.toString=function(){return e},t},utcParse:function(e){var t=k(e+="",!0);return t.toString=function(){return e},t}}}(e),uI=cI.format,dI=cI.parse,cI.utcFormat,fI=cI.utcParse}({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"]});var TB,LB,DB,OB,FB,zB,PB,NB,jB,IB,BB,WB,$B,qB,HB,UB,VB,YB,GB,XB,JB,ZB,KB=I(zO());function QB(){if(NB)return PB;NB=1;var e=(OB||(OB=1,DB=function(e,t){return null!=e&&t in Object(e)}),DB),t=function(){if(zB)return FB;zB=1;var e=gz(),t=_O(),n=Qb(),r=jF(),i=wO(),a=mz();return FB=function(o,s,l){for(var c=-1,u=(s=e(s,o)).length,d=!1;++c<u;){var f=a(s[c]);if(!(d=null!=o&&l(o,f)))break;o=o[f]}return d||++c!=u?d:!!(u=null==o?0:o.length)&&i(u)&&r(f,u)&&(n(o)||t(o))},FB}();return PB=function(n,r){return null!=n&&t(n,r,e)},PB}function eW(){if(IB)return jB;IB=1;var e=function(){if(LB)return TB;LB=1;var e=vz(),t=Cz(),n=gz();return TB=function(r,i,a){for(var o=-1,s=i.length,l={};++o<s;){var c=i[o],u=e(r,c);a(u,c)&&t(l,n(c,r),u)}return l},TB}(),t=QB();return jB=function(n,r){return e(n,r,(function(e,r){return t(n,r)}))},jB}function tW(){if(WB)return BB;return WB=1,BB=function(e,t){for(var n=-1,r=t.length,i=e.length;++n<r;)e[i+n]=t[n];return e},BB}function nW(){if(UB)return HB;UB=1;var e=tW(),t=function(){if(qB)return $B;qB=1;var e=Zv(),t=_O(),n=Qb(),r=e?e.isConcatSpreadable:void 0;return $B=function(e){return n(e)||t(e)||!!(r&&e&&e[r])}}();return HB=function n(r,i,a,o,s){var l=-1,c=r.length;for(a||(a=t),s||(s=[]);++l<c;){var u=r[l];i>0&&a(u)?i>1?n(u,i-1,a,o,s):e(s,u):o||(s[s.length]=u)}return s},HB}function rW(){if(XB)return GB;XB=1;var e=function(){if(YB)return VB;YB=1;var e=nW();return VB=function(t){return null!=t&&t.length?e(t,1):[]},VB}(),t=HF(),n=VF();return GB=function(r){return n(t(r,void 0,e),r+"")}}var iW,aW,oW,sW,lW,cW,uW,dW,fW,hW,pW,gW,mW,vW,bW,yW,_W,wW,xW,kW,CW,AW,SW,EW,MW,RW,TW,LW,DW,OW,FW,zW,PW,NW,jW,IW,BW,WW,$W,qW,HW,UW,VW,YW,GW=function(){if(ZB)return JB;ZB=1;var e=eW(),t=rW()((function(t,n){return null==t?{}:e(t,n)}));return JB=t}(),XW=I(GW);function JW(){if(sW)return oW;sW=1;var e=IP(),t=(aW||(aW=1,iW=function(e,t){for(var n=-1,r=null==e?0:e.length;++n<r;)if(t(e[n],n,e))return!0;return!1}),iW),n=qP();return oW=function(r,i,a,o,s,l){var c=1&a,u=r.length,d=i.length;if(u!=d&&!(c&&d>u))return!1;var f=l.get(r),h=l.get(i);if(f&&h)return f==i&&h==r;var p=-1,g=!0,m=2&a?new e:void 0;for(l.set(r,i),l.set(i,r);++p<u;){var v=r[p],b=i[p];if(o)var y=c?o(b,v,p,i,r,l):o(v,b,p,r,i,l);if(void 0!==y){if(y)continue;g=!1;break}if(m){if(!t(i,(function(e,t){if(!n(m,t)&&(v===e||s(v,e,a,o,l)))return m.push(t)}))){g=!1;break}}else if(v!==b&&!s(v,b,a,o,l)){g=!1;break}}return l.delete(r),l.delete(i),g},oW}function ZW(){if(dW)return uW;return dW=1,uW=function(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=e})),n},uW}function KW(){if(hW)return fW;hW=1;var e=Zv(),t=fO(),n=bD(),r=JW(),i=(cW||(cW=1,lW=function(e){var t=-1,n=Array(e.size);return e.forEach((function(e,r){n[++t]=[r,e]})),n}),lW),a=ZW(),o=e?e.prototype:void 0,s=o?o.valueOf:void 0;return fW=function(e,o,l,c,u,d,f){switch(l){case"[object DataView]":if(e.byteLength!=o.byteLength||e.byteOffset!=o.byteOffset)return!1;e=e.buffer,o=o.buffer;case"[object ArrayBuffer]":return!(e.byteLength!=o.byteLength||!d(new t(e),new t(o)));case"[object Boolean]":case"[object Date]":case"[object Number]":return n(+e,+o);case"[object Error]":return e.name==o.name&&e.message==o.message;case"[object RegExp]":case"[object String]":return e==o+"";case"[object Map]":var h=i;case"[object Set]":var p=1&c;if(h||(h=a),e.size!=o.size&&!p)return!1;var g=f.get(e);if(g)return g==o;c|=2,f.set(e,o);var m=r(h(e),h(o),c,u,d,f);return f.delete(e),m;case"[object Symbol]":if(s)return s.call(e)==s.call(o)}return!1},fW}function QW(){if(gW)return pW;gW=1;var e=tW(),t=Qb();return pW=function(n,r,i){var a=r(n);return t(n)?a:e(a,i(n))},pW}function e$(){if(vW)return mW;return vW=1,mW=function(e,t){for(var n=-1,r=null==e?0:e.length,i=0,a=[];++n<r;){var o=e[n];t(o,n,e)&&(a[i++]=o)}return a},mW}function t$(){if(yW)return bW;return yW=1,bW=function(){return[]}}function n$(){if(wW)return _W;wW=1;var e=e$(),t=t$(),n=Object.prototype.propertyIsEnumerable,r=Object.getOwnPropertySymbols,i=r?function(t){return null==t?[]:(t=Object(t),e(r(t),(function(e){return n.call(t,e)})))}:t;return _W=i}function r$(){if(AW)return CW;AW=1;var e=bO(),t=function(){if(kW)return xW;kW=1;var e=mO()(Object.keys,Object);return xW=e}(),n=Object.prototype.hasOwnProperty;return CW=function(r){if(!e(r))return t(r);var i=[];for(var a in Object(r))n.call(r,a)&&"constructor"!=a&&i.push(a);return i},CW}function i$(){if(EW)return SW;EW=1;var e=IF(),t=r$(),n=xO();return SW=function(r){return n(r)?e(r):t(r)},SW}function a$(){if(RW)return MW;RW=1;var e=QW(),t=n$(),n=i$();return MW=function(r){return e(r,n,t)},MW}function o$(){if(NW)return PW;NW=1;var e=CD()(Xv(),"Set");return PW=e}function s$(){if(WW)return BW;WW=1;var e=function(){if(OW)return DW;OW=1;var e=CD()(Xv(),"DataView");return DW=e}(),t=AD(),n=function(){if(zW)return FW;zW=1;var e=CD()(Xv(),"Promise");return FW=e}(),r=o$(),i=function(){if(IW)return jW;IW=1;var e=CD()(Xv(),"WeakMap");return jW=e}(),a=Kv(),o=kD(),s="[object Map]",l="[object Promise]",c="[object Set]",u="[object WeakMap]",d="[object DataView]",f=o(e),h=o(t),p=o(n),g=o(r),m=o(i),v=a;return(e&&v(new e(new ArrayBuffer(1)))!=d||t&&v(new t)!=s||n&&v(n.resolve())!=l||r&&v(new r)!=c||i&&v(new i)!=u)&&(v=function(e){var t=a(e),n="[object Object]"==t?e.constructor:void 0,r=n?o(n):"";if(r)switch(r){case f:return d;case h:return s;case p:return l;case g:return c;case m:return u}return t}),BW=v}function l$(){if(qW)return $W;qW=1;var e=TD(),t=JW(),n=KW(),r=function(){if(LW)return TW;LW=1;var e=a$(),t=Object.prototype.hasOwnProperty;return TW=function(n,r,i,a,o,s){var l=1&i,c=e(n),u=c.length;if(u!=e(r).length&&!l)return!1;for(var d=u;d--;){var f=c[d];if(!(l?f in r:t.call(r,f)))return!1}var h=s.get(n),p=s.get(r);if(h&&p)return h==r&&p==n;var g=!0;s.set(n,r),s.set(r,n);for(var m=l;++d<u;){var v=n[f=c[d]],b=r[f];if(a)var y=l?a(b,v,f,r,n,s):a(v,b,f,n,r,s);if(!(void 0===y?v===b||o(v,b,i,a,s):y)){g=!1;break}m||(m="constructor"==f)}if(g&&!m){var _=n.constructor,w=r.constructor;_==w||!("constructor"in n)||!("constructor"in r)||"function"==typeof _&&_ instanceof _&&"function"==typeof w&&w instanceof w||(g=!1)}return s.delete(n),s.delete(r),g},TW}(),i=s$(),a=Qb(),o=FO(),s=FF(),l="[object Arguments]",c="[object Array]",u="[object Object]",d=Object.prototype.hasOwnProperty;return $W=function(f,h,p,g,m,v){var b=a(f),y=a(h),_=b?c:i(f),w=y?c:i(h),x=(_=_==l?u:_)==u,k=(w=w==l?u:w)==u,C=_==w;if(C&&o(f)){if(!o(h))return!1;b=!0,x=!1}if(C&&!x)return v||(v=new e),b||s(f)?t(f,h,p,g,m,v):n(f,h,_,p,g,m,v);if(!(1&p)){var A=x&&d.call(f,"__wrapped__"),S=k&&d.call(h,"__wrapped__");if(A||S){var E=A?f.value():f,M=S?h.value():h;return v||(v=new e),m(E,M,p,g,v)}}return!!C&&(v||(v=new e),r(f,h,p,g,m,v))},$W}function c$(){if(UW)return HW;UW=1;var e=l$(),t=Qv();return HW=function n(r,i,a,o,s){return r===i||(null==r||null==i||!t(r)&&!t(i)?r!=r&&i!=i:e(r,i,a,o,n,s))},HW}var u$=I(function(){if(YW)return VW;YW=1;var e=c$();return VW=function(t,n){return e(t,n)}}()),d$=c(),f$=!0,h$="default",p$=function(e){var t=e.children,n=e.animate,r=void 0===n||n,i=e.config,a=void 0===i?"default":i,o=s((function(){var e=rP(a)?RR[a]:a;return{animate:r,config:e}}),[r,a]);return yi(d$.Provider,{value:o,children:t})},g$=function(){return l(d$)},m$=function(e){var t=e.children,n=e.condition,r=e.wrapper;return n?h(r,{},t):t},v$={position:"relative"},b$=function(e){var t=e.children,n=e.theme,r=e.renderWrapper,a=void 0===r||r,o=e.isInteractive,s=void 0===o||o,l=e.animate,c=e.motionConfig,u=i(null);return yi(Pz,{theme:n,children:yi(p$,{animate:l,config:c,children:yi(nP,{container:u,children:yi(m$,{condition:a,wrapper:yi("div",{style:v$,ref:u}),children:[t,s&&yi(tP,{})]})})})})},y$=function(e,t){return e.width===t.width&&e.height===t.height},_$=function(e){var t=e.children,r=e.width,i=e.height,a=e.onResize,o=pP({width:r,height:i},e.debounceResize,{equalityFn:y$})[0];return n((function(){null==a||a(o)}),[o,a]),yi(y,{children:t(o)})},w$=function(e){var t=e.children,n=e.defaultWidth,r=e.defaultHeight,i=e.onResize,a=e.debounceResize,o=void 0===a?0:a;return yi(fP,{defaultWidth:n,defaultHeight:r,children:function(e){var n=e.width,r=e.height;return yi(_$,{width:n,height:r,onResize:i,debounceResize:o,children:t})}})};function x$(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function k$(){return k$=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},k$.apply(null,arguments)}function C$(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(-1!==t.indexOf(r))continue;n[r]=e[r]}return n}var A$=["id","colors"],S$={linearGradient:function(e){var t=e.id,n=e.colors;return yi("linearGradient",k$({id:t,x1:0,x2:0,y1:0,y2:1},C$(e,A$),{children:n.map((function(e){var t=e.offset,n=e.color,r=e.opacity;return yi("stop",{offset:t+"%",stopColor:n,stopOpacity:void 0!==r?r:1},t)}))}))}},E$="#000000",M$="#ffffff",R$=4,T$=4,L$=!1,D$=u((function(e){var t=e.id,n=e.background,r=void 0===n?M$:n,i=e.color,a=void 0===i?E$:i,o=e.size,s=void 0===o?R$:o,l=e.padding,c=void 0===l?T$:l,u=e.stagger,d=void 0===u?L$:u,f=s+c,h=s/2,p=c/2;return!0===d&&(f=2*s+2*c),yi("pattern",{id:t,width:f,height:f,patternUnits:"userSpaceOnUse",children:[yi("rect",{width:f,height:f,fill:r}),yi("circle",{cx:p+h,cy:p+h,r:h,fill:a}),d&&yi("circle",{cx:1.5*c+s+h,cy:1.5*c+s+h,r:h,fill:a})]})})),O$=function(e){return e*Math.PI/180},F$=function(e){return 180*e/Math.PI},z$=function(e,t){return{x:Math.cos(e)*t,y:Math.sin(e)*t}},P$={svg:{align:{left:"start",center:"middle",right:"end",start:"start",middle:"middle",end:"end"},baseline:{top:"text-before-edge",center:"central",bottom:"alphabetic"}},canvas:{align:{left:"left",center:"center",right:"right",start:"left",middle:"center",end:"right"},baseline:{top:"top",center:"middle",bottom:"bottom"}}},N$=5,j$=0,I$="#000000",B$="#ffffff",W$=2,$$=u((function(e){var t=e.id,n=e.spacing,r=void 0===n?N$:n,i=e.rotation,a=void 0===i?j$:i,o=e.background,s=void 0===o?I$:o,l=e.color,c=void 0===l?B$:l,u=e.lineWidth,d=void 0===u?W$:u,f=Math.round(a)%360,h=Math.abs(r);f>180?f-=360:f>90?f-=180:f<-180?f+=360:f<-90&&(f+=180);var p,g=h,m=h;return 0===f?p="\n M 0 0 L "+g+" 0\n M 0 "+m+" L "+g+" "+m+"\n ":90===f?p="\n M 0 0 L 0 "+m+"\n M "+g+" 0 L "+g+" "+m+"\n ":(g=Math.abs(h/Math.sin(O$(f))),m=h/Math.sin(O$(90-f)),p=f>0?"\n M 0 "+-m+" L "+2*g+" "+m+"\n M "+-g+" "+-m+" L "+g+" "+m+"\n M "+-g+" 0 L "+g+" "+2*m+"\n ":"\n M "+-g+" "+m+" L "+g+" "+-m+"\n M "+-g+" "+2*m+" L "+2*g+" "+-m+"\n M 0 "+2*m+" L "+2*g+" 0\n "),yi("pattern",{id:t,width:g,height:m,patternUnits:"userSpaceOnUse",children:[yi("rect",{width:g,height:m,fill:s,stroke:"rgba(255, 0, 0, 0.1)",strokeWidth:0}),yi("path",{d:p,strokeWidth:d,stroke:c,strokeLinecap:"square"})]})})),q$="#000000",H$="#ffffff",U$=4,V$=4,Y$=!1,G$=u((function(e){var t=e.id,n=e.color,r=void 0===n?q$:n,i=e.background,a=void 0===i?H$:i,o=e.size,s=void 0===o?U$:o,l=e.padding,c=void 0===l?V$:l,u=e.stagger,d=void 0===u?Y$:u,f=s+c,h=c/2;return!0===d&&(f=2*s+2*c),yi("pattern",{id:t,width:f,height:f,patternUnits:"userSpaceOnUse",children:[yi("rect",{width:f,height:f,fill:a}),yi("rect",{x:h,y:h,width:s,height:s,fill:r}),d&&yi("rect",{x:1.5*c+s,y:1.5*c+s,width:s,height:s,fill:r})]})})),X$={patternDots:D$,patternLines:$$,patternSquares:G$},J$=["type"],Z$=k$({},S$,X$),K$=u((function(e){var t=e.defs;return!t||t.length<1?null:yi("defs",{"aria-hidden":!0,children:t.map((function(e){var t=e.type,n=C$(e,J$);return Z$[t]?f(Z$[t],k$({key:n.id},n)):null}))})})),Q$=a((function(e,t){var n=e.width,r=e.height,i=e.margin,a=e.defs,o=e.children,s=e.role,l=e.ariaLabel,c=e.ariaLabelledBy,u=e.ariaDescribedBy,d=e.isFocusable,f=Nz();return yi("svg",{xmlns:"http://www.w3.org/2000/svg",width:n,height:r,role:s,"aria-label":l,"aria-labelledby":c,"aria-describedby":u,focusable:d,tabIndex:d?0:void 0,ref:t,children:[yi(K$,{defs:a}),yi("rect",{width:n,height:r,fill:f.background}),yi("g",{transform:"translate("+i.left+","+i.top+")",children:o})]})})),eq=u((function(e){var t=e.size,n=e.color,r=e.borderWidth;return yi("circle",{r:t/2,fill:n,stroke:e.borderColor,strokeWidth:r,style:{pointerEvents:"none"}})})),tq=u((function(e){var t=e.x,n=e.y,r=e.symbol,i=void 0===r?eq:r,a=e.size,s=e.datum,l=e.color,c=e.borderWidth,u=e.borderColor,d=e.label,h=e.labelTextAnchor,p=void 0===h?"middle":h,g=e.labelYOffset,m=void 0===g?-12:g,v=e.ariaLabel,b=e.ariaLabelledBy,y=e.ariaDescribedBy,_=e.ariaHidden,w=e.ariaDisabled,x=e.isFocusable,k=void 0!==x&&x,C=e.tabIndex,A=void 0===C?0:C,S=e.onFocus,E=e.onBlur,M=e.testId,R=Nz(),T=g$(),L=T.animate,D=_T({transform:"translate("+t+", "+n+")",config:T.config,immediate:!L}),O=o((function(e){null==S||S(s,e)}),[S,s]),F=o((function(e){null==E||E(s,e)}),[E,s]);return yi(vD.g,{transform:D.transform,style:{pointerEvents:"none"},focusable:k,tabIndex:k?A:void 0,"aria-label":v,"aria-labelledby":b,"aria-describedby":y,"aria-disabled":w,"aria-hidden":_,onFocus:k&&S?O:void 0,onBlur:k&&E?F:void 0,"data-testid":M,children:[f(i,{size:a,color:l,datum:s,borderWidth:c,borderColor:u}),d&&yi("text",{textAnchor:p,y:m,style:Rz(R.dots.text),children:d})]})})),nq=u((function(e){var t=e.width,n=e.height,r=e.axis,i=e.scale,a=e.value,o=e.lineStyle,s=e.textStyle,l=e.legend,c=e.legendNode,u=e.legendPosition,d=void 0===u?"top-right":u,f=e.legendOffsetX,h=void 0===f?14:f,p=e.legendOffsetY,g=void 0===p?14:p,m=e.legendOrientation,v=void 0===m?"horizontal":m,b=Nz(),y=0,_=0,w=0,x=0;if("y"===r?(w=i(a),_=t):(y=i(a),x=n),l&&!c){var k=function(e){var t=e.width,n=e.height,r=e.position,i=e.offsetX,a=e.offsetY,o=e.orientation,s=0,l=0,c="vertical"===o?-90:0,u="start";if("x"===e.axis)switch(r){case"top-left":s=-i,l=a,u="end";break;case"top":l=-a,u="horizontal"===o?"middle":"start";break;case"top-right":s=i,l=a,u="horizontal"===o?"start":"end";break;case"right":s=i,l=n/2,u="horizontal"===o?"start":"middle";break;case"bottom-right":s=i,l=n-a,u="start";break;case"bottom":l=n+a,u="horizontal"===o?"middle":"end";break;case"bottom-left":l=n-a,s=-i,u="horizontal"===o?"end":"start";break;case"left":s=-i,l=n/2,u="horizontal"===o?"end":"middle"}else switch(r){case"top-left":s=i,l=-a,u="start";break;case"top":s=t/2,l=-a,u="horizontal"===o?"middle":"start";break;case"top-right":s=t-i,l=-a,u="horizontal"===o?"end":"start";break;case"right":s=t+i,u="horizontal"===o?"start":"middle";break;case"bottom-right":s=t-i,l=a,u="end";break;case"bottom":s=t/2,l=a,u="horizontal"===o?"middle":"end";break;case"bottom-left":s=i,l=a,u="horizontal"===o?"start":"end";break;case"left":s=-i,u="horizontal"===o?"end":"middle"}return{x:s,y:l,rotation:c,textAnchor:u}}({axis:r,width:t,height:n,position:d,offsetX:h,offsetY:g,orientation:v});c=yi("text",{transform:"translate("+k.x+", "+k.y+") rotate("+k.rotation+")",textAnchor:k.textAnchor,dominantBaseline:"central",style:s,children:l})}return yi("g",{transform:"translate("+y+", "+w+")",children:[yi("line",{x1:0,x2:_,y1:0,y2:x,stroke:b.markers.lineColor,strokeWidth:b.markers.lineStrokeWidth,style:o}),c]})})),rq=u((function(e){var t=e.markers,n=e.width,r=e.height,i=e.xScale,a=e.yScale;return t&&0!==t.length?t.map((function(e,t){return yi(nq,k$({},e,{width:n,height:r,scale:"y"===e.axis?a:i}),t)})):null})),iq=function(e){var t=g$(),r=t.animate,a=t.config,o=function(e){var t=i();return n((function(){t.current=e}),[e]),t.current}(e),l=s((function(){return $s(o,e)}),[o,e]),c=_T({from:{value:0},to:{value:1},reset:!0,config:a,immediate:!r}).value;return ET(c,l)};c(void 0);var aq={basis:_f,basisClosed:function(e){return new wf(e)},basisOpen:function(e){return new xf(e)},bundle:Cf,cardinal:Ef,cardinalClosed:Rf,cardinalOpen:Lf,catmullRom:Ff,catmullRomClosed:Pf,catmullRomOpen:jf,linear:cf,linearClosed:function(e){return new If(e)},monotoneX:function(e){return new Hf(e)},monotoneY:function(e){return new Uf(e)},natural:function(e){return new Yf(e)},step:function(e){return new Xf(e,.5)},stepAfter:function(e){return new Xf(e,1)},stepBefore:function(e){return new Xf(e,0)}},oq=Object.keys(aq);oq.filter((function(e){return e.endsWith("Closed")})),UP(oq,"bundle","basisClosed","basisOpen","cardinalClosed","cardinalOpen","catmullRomClosed","catmullRomOpen","linearClosed"),UP(oq,"bundle","basisClosed","basisOpen","cardinalClosed","cardinalOpen","catmullRomClosed","catmullRomOpen","linearClosed");var sq=function(e){if(!aq[e])throw new TypeError("'"+e+"', is not a valid curve interpolator identifier.");return aq[e]};yj(iN),yj(oN),yj(lN),yj(uN),yj(fN),yj(pN),yj(mN),yj(bN),yj(_N),yj(VN),yj(GN),yj(JN),yj(nj),yj(KN),yj(ej),yj(xN),yj(CN),yj(SN),yj(MN),yj(TN),yj(DN),yj(FN),yj(PN),yj(jN),yj(BN),yj($N),yj(HN),yj(iN),yj(oN),yj(lN),yj(uN),yj(fN),yj(pN),yj(mN),yj(bN),yj(_N),yj(VN),yj(GN),yj(JN),yj(nj),yj(KN),yj(ej),yj(xN),yj(CN),yj(SN),yj(MN),yj(TN),yj(DN),yj(FN),yj(PN),yj(jN),yj(BN),yj($N),yj(HN),_l(tN);var lq={top:0,right:0,bottom:0,left:0},cq=function(e,t,n){return void 0===n&&(n={}),s((function(){var r=k$({},lq,n);return{margin:r,innerWidth:e-r.left-r.right,innerHeight:t-r.top-r.bottom,outerWidth:e,outerHeight:t}}),[e,t,n])},uq=function(){var e=i(null),r=t({left:0,top:0,width:0,height:0}),a=r[0],o=r[1],s=t((function(){return"undefined"==typeof ResizeObserver?null:new ResizeObserver((function(e){var t=e[0];return o(t.contentRect)}))}))[0];return n((function(){return e.current&&null!==s&&s.observe(e.current),function(){null!==s&&s.disconnect()}}),[s]),[e,a]},dq=function(e){return"function"==typeof e?e:"string"==typeof e?0===e.indexOf("time:")?uI(e.slice("5")):Tj(e):function(e){return""+e}},fq=function(e){return s((function(){return dq(e)}),[e])},hq=function(e){return _j(e)?e:function(t){return kz(t,e)}},pq=function(e){return s((function(){return hq(e)}),[e])},gq=function(e,t,n,r){return Math.sqrt(Math.pow(n-e,2)+Math.pow(r-t,2))},mq=function(e,t,n,r,i,a){return e<=i&&i<=e+n&&t<=a&&a<=t+r},vq=function(e,t){var n,r="touches"in t?t.touches[0]:t,i=r.clientX,a=r.clientY,o=e.getBoundingClientRect(),s=(n=void 0!==e.getBBox?e.getBBox():{width:e.offsetWidth||0,height:e.offsetHeight||0}).width===o.width?1:n.width/o.width;return[(i-o.left)*s,(a-o.top)*s]},bq=Object.keys(S$),yq=Object.keys(X$),_q=function(e,t,n,r){var i=void 0===r?{}:r,a=i.dataKey,o=i.colorKey,s=void 0===o?"color":o,l=i.targetKey,c=void 0===l?"fill":l,u=[],d={};return e.length&&t.length&&(u=[].concat(e),t.forEach((function(t){for(var r,i=function(){var n=r.value,i=n.id;if(function(e,t,n){if("*"===e)return!0;if(_j(e))return e(t);if(KB(e)){var r=n?kz(t,n):t;return u$(XW(r,Object.keys(e)),e)}return!1}(n.match,t,a)){var o=e.find((function(e){return e.id===i}));if(o)if(yq.includes(o.type))if("inherit"===o.background||"inherit"===o.color){var l=kz(t,s),f=o.background,h=o.color,p=i;"inherit"===o.background&&(p=p+".bg."+l,f=l),"inherit"===o.color&&(p=p+".fg."+l,h=l),Sz(t,c,"url(#"+p+")"),d[p]||(u.push(k$({},o,{id:p,background:f,color:h})),d[p]=1)}else Sz(t,c,"url(#"+i+")");else if(bq.includes(o.type))if(o.colors.map((function(e){return e.color})).includes("inherit")){var g=kz(t,s),m=i,v=k$({},o,{colors:o.colors.map((function(e,t){return"inherit"!==e.color?e:(m=m+"."+t+"."+g,k$({},e,{color:"inherit"===e.color?g:e.color}))}))});v.id=m,Sz(t,c,"url(#"+m+")"),d[m]||(u.push(v),d[m]=1)}else Sz(t,c,"url(#"+i+")");return 1}},o=function(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(n)return(n=n.call(e)).next.bind(n);if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return x$(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?x$(e,t):void 0}}(e))||t){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(n);!(r=o()).done&&!i(););}))),u};function wq(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return function(e){for(var n=0,r=t;n<r.length;n++){var i=r[n];"function"==typeof i?i(e):null!=i&&(i.current=e)}}}var xq=function(e,t){e.font=(t.fontWeight?t.fontWeight+" ":"")+t.fontSize+"px "+t.fontFamily},kq=function(e,t,n,r,i){void 0===r&&(r=0),void 0===i&&(i=0),t.outlineWidth>0&&(e.strokeStyle=t.outlineColor,e.lineWidth=2*t.outlineWidth,e.lineJoin="round",e.strokeText(n,r,i)),e.fillStyle=t.fill,e.fillText(n,r,i)};function Cq(){return Cq=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Cq.apply(null,arguments)}function Aq(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(-1!==t.indexOf(r))continue;n[r]=e[r]}return n}var Sq,Eq,Mq,Rq,Tq,Lq,Dq,Oq,Fq=["style","children"],zq=["outlineWidth","outlineColor","outlineOpacity"],Pq=function(e){var t=e.style,n=e.children,r=Aq(e,Fq),i=t.outlineWidth,a=t.outlineColor,o=t.outlineOpacity,s=Aq(t,zq);return yi(y,{children:[i>0&&yi(vD.text,Cq({},r,{style:Cq({},s,{strokeWidth:2*i,stroke:a,strokeOpacity:o,strokeLinejoin:"round"}),children:n})),yi(vD.text,Cq({},r,{style:s,children:n}))]})};function Nq(){if(Rq)return Mq;Rq=1;var e=o$(),t=Eq?Sq:(Eq=1,Sq=function(){}),n=ZW(),r=e&&1/n(new e([,-0]))[1]==1/0?function(t){return new e(t)}:t;return Mq=r}function jq(){if(Lq)return Tq;Lq=1;var e=IP(),t=WP(),n=$P(),r=qP(),i=Nq(),a=ZW();return Tq=function(o,s,l){var c=-1,u=t,d=o.length,f=!0,h=[],p=h;if(l)f=!1,u=n;else if(d>=200){var g=s?null:i(o);if(g)return a(g);f=!1,u=r,p=new e}else p=s?[]:h;e:for(;++c<d;){var m=o[c],v=s?s(m):m;if(m=l||0!==m?m:0,f&&v==v){for(var b=p.length;b--;)if(p[b]===v)continue e;s&&p.push(v),h.push(m)}else u(p,v,l)||(p!==h&&p.push(v),h.push(m))}return h},Tq}var Iq,Bq,Wq,$q,qq,Hq,Uq,Vq,Yq,Gq,Xq,Jq,Zq,Kq,Qq,eH,tH,nH,rH,iH,aH,oH,sH=function(){if(Oq)return Dq;Oq=1;var e=jq();return Dq=function(t){return t&&t.length?e(t):[]},Dq}(),lH=I(sH);function cH(){if($q)return Wq;$q=1;var e=Yv();return Wq=function(t){return t==t&&!e(t)}}function uH(){if(Vq)return Uq;return Vq=1,Uq=function(e,t){return function(n){return null!=n&&(n[e]===t&&(void 0!==t||e in Object(n)))}},Uq}function dH(){if(Gq)return Yq;Gq=1;var e=function(){if(Bq)return Iq;Bq=1;var e=TD(),t=c$();return Iq=function(n,r,i,a){var o=i.length,s=o,l=!a;if(null==n)return!s;for(n=Object(n);o--;){var c=i[o];if(l&&c[2]?c[1]!==n[c[0]]:!(c[0]in n))return!1}for(;++o<s;){var u=(c=i[o])[0],d=n[u],f=c[1];if(l&&c[2]){if(void 0===d&&!(u in n))return!1}else{var h=new e;if(a)var p=a(d,f,u,n,r,h);if(!(void 0===p?t(f,d,3,a,h):p))return!1}}return!0},Iq}(),t=function(){if(Hq)return qq;Hq=1;var e=cH(),t=i$();return qq=function(n){for(var r=t(n),i=r.length;i--;){var a=r[i],o=n[a];r[i]=[a,o,e(o)]}return r},qq}(),n=uH();return Yq=function(r){var i=t(r);return 1==i.length&&i[0][2]?n(i[0][0],i[0][1]):function(t){return t===r||e(t,r,i)}},Yq}function fH(){if(Kq)return Zq;return Kq=1,Zq=function(e){return function(t){return null==t?void 0:t[e]}},Zq}function hH(){if(nH)return tH;nH=1;var e=fH(),t=function(){if(eH)return Qq;eH=1;var e=vz();return Qq=function(t){return function(n){return e(n,t)}},Qq}(),n=hz(),r=mz();return tH=function(i){return n(i)?e(r(i)):t(i)}}function pH(){if(iH)return rH;iH=1;var e=dH(),t=function(){if(Jq)return Xq;Jq=1;var e=c$(),t=bz(),n=QB(),r=hz(),i=cH(),a=uH(),o=mz();return Xq=function(s,l){return r(s)&&i(l)?a(o(s),l):function(r){var i=t(r,s);return void 0===i&&i===l?n(r,s):e(l,i,3)}},Xq}(),n=qF(),r=Qb(),i=hH();return rH=function(a){return"function"==typeof a?a:null==a?n:"object"==typeof a?r(a)?t(a[0],a[1]):e(a):i(a)}}var gH,mH,vH,bH,yH,_H,wH,xH,kH,CH,AH,SH,EH,MH,RH,TH,LH,DH,OH=function(){if(oH)return aH;oH=1;var e=pH(),t=jq();return aH=function(n,r){return n&&n.length?t(n,e(r,2)):[]},aH}(),FH=I(OH);function zH(){if(_H)return yH;_H=1;var e=function(){if(mH)return gH;mH=1;var e=FD(),t=i$();return gH=function(n,r){return n&&e(n,r,t)},gH}(),t=function(){if(bH)return vH;bH=1;var e=xO();return vH=function(t,n){return function(r,i){if(null==r)return r;if(!e(r))return t(r,i);for(var a=r.length,o=n?a:-1,s=Object(r);(n?o--:++o<a)&&!1!==i(s[o],o,s););return r}},vH}(),n=t(e);return yH=n}function PH(){if(MH)return EH;MH=1;var e=function(){if(SH)return AH;SH=1;var e=eb();return AH=function(t,n){if(t!==n){var r=void 0!==t,i=null===t,a=t==t,o=e(t),s=void 0!==n,l=null===n,c=n==n,u=e(n);if(!l&&!u&&!o&&t>n||o&&s&&c&&!l&&!u||i&&s&&c||!r&&c||!a)return 1;if(!i&&!o&&!u&&t<n||u&&r&&a&&!i&&!o||l&&r&&a||!s&&a||!c)return-1}return 0}}();return EH=function(t,n,r){for(var i=-1,a=t.criteria,o=n.criteria,s=a.length,l=r.length;++i<s;){var c=e(a[i],o[i]);if(c)return i>=l?c:c*("desc"==r[i]?-1:1)}return t.index-n.index},EH}function NH(){if(TH)return RH;TH=1;var e=Kb(),t=vz(),n=pH(),r=function(){if(xH)return wH;xH=1;var e=zH(),t=xO();return wH=function(n,r){var i=-1,a=t(n)?Array(n.length):[];return e(n,(function(e,t,n){a[++i]=r(e,t,n)})),a},wH}(),i=(CH||(CH=1,kH=function(e,t){var n=e.length;for(e.sort(t);n--;)e[n]=e[n].value;return e}),kH),a=PO(),o=PH(),s=qF(),l=Qb();return RH=function(c,u,d){u=u.length?e(u,(function(e){return l(e)?function(n){return t(n,1===e.length?e[0]:e)}:e})):[s];var f=-1;u=e(u,a(n));var h=r(c,(function(t,n,r){return{criteria:e(u,(function(e){return e(t)})),index:++f,value:t}}));return i(h,(function(e,t){return o(e,t,d)}))},RH}var jH,IH,BH,WH,$H=I(function(){if(DH)return LH;DH=1;var e=nW(),t=NH(),n=YF(),r=GF(),i=n((function(n,i){if(null==n)return[];var a=i.length;return a>1&&r(n,i[0],i[1])?i=[]:a>2&&r(i[0],i[1],i[2])&&(i=[i[0]]),t(n,e(i,1),[])}));return LH=i}());var qH=I(function(){if(WH)return BH;WH=1;var e=function(){if(IH)return jH;IH=1;var e=Kv(),t=Qv();return jH=function(n){return t(n)&&"[object Date]"==e(n)}}(),t=PO(),n=OF(),r=n&&n.isDate,i=r?t(r):e;return BH=i}()),HH=new Date,UH=new Date;function VH(e,t,n,r){function i(t){return e(t=0===arguments.length?new Date:new Date(+t)),t}return i.floor=function(t){return e(t=new Date(+t)),t},i.ceil=function(n){return e(n=new Date(n-1)),t(n,1),e(n),n},i.round=function(e){var t=i(e),n=i.ceil(e);return e-t<n-e?t:n},i.offset=function(e,n){return t(e=new Date(+e),null==n?1:Math.floor(n)),e},i.range=function(n,r,a){var o,s=[];if(n=i.ceil(n),a=null==a?1:Math.floor(a),!(n<r&&a>0))return s;do{s.push(o=new Date(+n)),t(n,a),e(n)}while(o<n&&n<r);return s},i.filter=function(n){return VH((function(t){if(t>=t)for(;e(t),!n(t);)t.setTime(t-1)}),(function(e,r){if(e>=e)if(r<0)for(;++r<=0;)for(;t(e,-1),!n(e););else for(;--r>=0;)for(;t(e,1),!n(e););}))},n&&(i.count=function(t,r){return HH.setTime(+t),UH.setTime(+r),e(HH),e(UH),Math.floor(n(HH,UH))},i.every=function(e){return e=Math.floor(e),isFinite(e)&&e>0?e>1?i.filter(r?function(t){return r(t)%e==0}:function(t){return i.count(0,t)%e==0}):i:null}),i}var YH=VH((function(){}),(function(e,t){e.setTime(+e+t)}),(function(e,t){return t-e}));YH.every=function(e){return e=Math.floor(e),isFinite(e)&&e>0?e>1?VH((function(t){t.setTime(Math.floor(t/e)*e)}),(function(t,n){t.setTime(+t+n*e)}),(function(t,n){return(n-t)/e})):YH:null},YH.range;var GH=1e3,XH=6e4,JH=36e5,ZH=6048e5,KH=VH((function(e){e.setTime(e-e.getMilliseconds())}),(function(e,t){e.setTime(+e+t*GH)}),(function(e,t){return(t-e)/GH}),(function(e){return e.getUTCSeconds()}));KH.range;var QH=VH((function(e){e.setTime(e-e.getMilliseconds()-e.getSeconds()*GH)}),(function(e,t){e.setTime(+e+t*XH)}),(function(e,t){return(t-e)/XH}),(function(e){return e.getMinutes()}));QH.range;var eU=VH((function(e){e.setTime(e-e.getMilliseconds()-e.getSeconds()*GH-e.getMinutes()*XH)}),(function(e,t){e.setTime(+e+t*JH)}),(function(e,t){return(t-e)/JH}),(function(e){return e.getHours()}));function tU(e){return VH((function(t){t.setDate(t.getDate()-(t.getDay()+7-e)%7),t.setHours(0,0,0,0)}),(function(e,t){e.setDate(e.getDate()+7*t)}),(function(e,t){return(t-e-(t.getTimezoneOffset()-e.getTimezoneOffset())*XH)/ZH}))}eU.range;var nU=tU(0),rU=tU(1),iU=tU(2),aU=tU(3),oU=tU(4),sU=tU(5),lU=tU(6);nU.range,rU.range,iU.range,aU.range,oU.range,sU.range,lU.range;var cU=VH((function(e){e.setDate(1),e.setHours(0,0,0,0)}),(function(e,t){e.setMonth(e.getMonth()+t)}),(function(e,t){return t.getMonth()-e.getMonth()+12*(t.getFullYear()-e.getFullYear())}),(function(e){return e.getMonth()}));cU.range;var uU=VH((function(e){e.setMonth(0,1),e.setHours(0,0,0,0)}),(function(e,t){e.setFullYear(e.getFullYear()+t)}),(function(e,t){return t.getFullYear()-e.getFullYear()}),(function(e){return e.getFullYear()}));uU.every=function(e){return isFinite(e=Math.floor(e))&&e>0?VH((function(t){t.setFullYear(Math.floor(t.getFullYear()/e)*e),t.setMonth(0,1),t.setHours(0,0,0,0)}),(function(t,n){t.setFullYear(t.getFullYear()+n*e)})):null},uU.range;var dU=VH((function(e){e.setUTCSeconds(0,0)}),(function(e,t){e.setTime(+e+t*XH)}),(function(e,t){return(t-e)/XH}),(function(e){return e.getUTCMinutes()}));dU.range;var fU=VH((function(e){e.setUTCMinutes(0,0,0)}),(function(e,t){e.setTime(+e+t*JH)}),(function(e,t){return(t-e)/JH}),(function(e){return e.getUTCHours()}));function hU(e){return VH((function(t){t.setUTCDate(t.getUTCDate()-(t.getUTCDay()+7-e)%7),t.setUTCHours(0,0,0,0)}),(function(e,t){e.setUTCDate(e.getUTCDate()+7*t)}),(function(e,t){return(t-e)/ZH}))}fU.range;var pU=hU(0),gU=hU(1),mU=hU(2),vU=hU(3),bU=hU(4),yU=hU(5),_U=hU(6);pU.range,gU.range,mU.range,vU.range,bU.range,yU.range,_U.range;var wU=VH((function(e){e.setUTCDate(1),e.setUTCHours(0,0,0,0)}),(function(e,t){e.setUTCMonth(e.getUTCMonth()+t)}),(function(e,t){return t.getUTCMonth()-e.getUTCMonth()+12*(t.getUTCFullYear()-e.getUTCFullYear())}),(function(e){return e.getUTCMonth()}));wU.range;var xU=VH((function(e){e.setUTCMonth(0,1),e.setUTCHours(0,0,0,0)}),(function(e,t){e.setUTCFullYear(e.getUTCFullYear()+t)}),(function(e,t){return t.getUTCFullYear()-e.getUTCFullYear()}),(function(e){return e.getUTCFullYear()}));function kU(){return kU=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},kU.apply(null,arguments)}xU.every=function(e){return isFinite(e=Math.floor(e))&&e>0?VH((function(t){t.setUTCFullYear(Math.floor(t.getUTCFullYear()/e)*e),t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0)}),(function(t,n){t.setUTCFullYear(t.getUTCFullYear()+n*e)})):null},xU.range;var CU=[function(e){return e.setMilliseconds(0)},function(e){return e.setSeconds(0)},function(e){return e.setMinutes(0)},function(e){return e.setHours(0)},function(e){return e.setDate(1)},function(e){return e.setMonth(0)}],AU={millisecond:[],second:CU.slice(0,1),minute:CU.slice(0,2),hour:CU.slice(0,3),day:CU.slice(0,4),month:CU.slice(0,5),year:CU.slice(0,6)},SU=function(e){var t=e.format,n=void 0===t?"native":t,r=e.precision,i=void 0===r?"millisecond":r,a=e.useUTC,o=void 0===a||a,s=function(e){return function(t){return AU[e].forEach((function(e){e(t)})),t}}(i);return function(e){if(void 0===e)return e;if("native"===n||e instanceof Date)return s(e);var t=o?fI(n):dI(n);return s(t(e))}},EU=0,MU="auto",RU=!1,TU=!1,LU=!1,DU=!0,OU=!1,FU=function(e,t){void 0===t&&(t=!1);var n=e;return n.type="linear",n.stacked=t,n},zU=!1,PU=function(e){var t=e;return t.type="band",t},NU="native",jU="millisecond",IU="auto",BU="auto",WU=!0,$U=!1,qU=function(e,t,n){var r,i,a=e.format,o=void 0===a?NU:a,s=e.precision,l=void 0===s?jU:s,c=e.min,u=void 0===c?IU:c,d=e.max,f=void 0===d?BU:d,h=e.useUTC,p=void 0===h?WU:h,g=e.nice,m=void 0===g?$U:g,v=SU({format:o,precision:l,useUTC:p});r="auto"===u?v(t.min):"native"!==o?v(u):u,i="auto"===f?v(t.max):"native"!==o?v(f):f;var b=p?Sd():function(){return vl.apply(Ad(Kc,Qc,Yc,Uc,Tc,Sc,Cc,xc,wc,iu).domain([new Date(2e3,0,1),new Date(2e3,0,2)]),arguments)}();b.range([0,n]),r&&i&&b.domain([r,i]),!0===m?b.nice():"object"!=typeof m&&"number"!=typeof m||b.nice(m);var y=b;return y.type="time",y.useUTC=p,y},HU=10,UU="auto",VU="auto",YU=!1,GU=!1,XU=!0,JU=function(e,t,n,r){var i,a=e.base,o=void 0===a?HU:a,s=e.min,l=void 0===s?UU:s,c=e.max,u=void 0===c?VU:c,d=e.round,f=void 0===d?YU:d,h=e.reverse,p=void 0===h?GU:h,g=e.nice,m=void 0===g?XU:g;if(t.all.some((function(e){return 0===e})))throw new Error("a log scale domain must not include or cross zero");var v,b,y=!1;if(t.all.filter((function(e){return null!=e})).forEach((function(e){y||(void 0===i?i=Math.sign(e):Math.sign(e)!==i&&(y=!0))})),y)throw new Error("a log scale domain must be strictly-positive or strictly-negative");v="auto"===l?t.min:l,b="auto"===u?t.max:u;var _=ac().base(o),w="x"===r?[0,n]:[n,0];!0===f?_.rangeRound(w):_.range(w),!0===p?_.domain([b,v]):_.domain([v,b]),!0===m?_.nice():"number"==typeof m&&_.nice(m);var x=_;return x.type="log",x},ZU=1,KU="auto",QU="auto",eV=!1,tV=!1,nV=!0,rV=function(e,t){return e===t},iV=function(e,t){return e.getTime()===t.getTime()};function aV(e,t,n,r){switch(e.type){case"linear":return function(e,t,n,r){var i,a,o,s,l=e.min,c=void 0===l?EU:l,u=e.max,d=void 0===u?MU:u,f=e.stacked,h=void 0===f?RU:f,p=e.reverse,g=void 0===p?TU:p,m=e.clamp,v=void 0===m?LU:m,b=e.nice,y=void 0===b?DU:b,_=e.round,w=void 0===_?OU:_;i="auto"===c?!0===h?null!=(a=t.minStacked)?a:0:t.min:c,o="auto"===d?!0===h?null!=(s=t.maxStacked)?s:0:t.max:d;var x=Jl().range("x"===r?[0,n]:[n,0]).interpolate(w?Hs:js).domain(g?[o,i]:[i,o]).clamp(v);return!0===y?x.nice():"number"==typeof y&&x.nice(y),FU(x,h)}(e,t,n,r);case"point":return function(e,t,n){var r=kl().range([0,n]).domain(t.all);return r.type="point",r}(0,t,n);case"band":return function(e,t,n,r){var i=e.round,a=void 0===i?zU:i,o=wl().range("x"===r?[0,n]:[n,0]).domain(t.all).round(a);return PU(o)}(e,t,n,r);case"time":return qU(e,t,n);case"log":return JU(e,t,n,r);case"symlog":return function(e,t,n,r){var i,a,o=e.constant,s=void 0===o?ZU:o,l=e.min,c=void 0===l?KU:l,u=e.max,d=void 0===u?QU:u,f=e.round,h=void 0===f?eV:f,p=e.reverse,g=void 0===p?tV:p,m=e.nice,v=void 0===m?nV:m;i="auto"===c?t.min:c,a="auto"===d?t.max:d;var b=lc().constant(s),y="x"===r?[0,n]:[n,0];!0===h?b.rangeRound(y):b.range(y),!0===g?b.domain([a,i]):b.domain([i,a]),!0===v?b.nice():"number"==typeof v&&b.nice(v);var _=b;return _.type="symlog",_}(e,t,n,r);default:throw new Error("invalid scale spec")}}var oV=function(e,t,n){var r;if("stacked"in n&&n.stacked){var i=e.data["x"===t?"xStacked":"yStacked"];return null==i?null:n(i)}return null!=(r=n(e.data[t]))?r:null},sV=function(e,t,n,r,i){var a=e.map((function(e){return function(e){return kU({},e,{data:e.data.map((function(e){return{data:kU({},e)}}))})}(e)})),o=lV(a,t,n);"stacked"in t&&!0===t.stacked&&dV(o,a),"stacked"in n&&!0===n.stacked&&fV(o,a);var s=aV(t,o.x,r,"x"),l=aV(n,o.y,i,"y"),c=a.map((function(e){return kU({},e,{data:e.data.map((function(e){return kU({},e,{position:{x:oV(e,"x",s),y:oV(e,"y",l)}})}))})}));return kU({},o,{series:c,xScale:s,yScale:l})},lV=function(e,t,n){return{x:cV(e,"x",t),y:cV(e,"y",n)}},cV=function(e,t,n,r){var i={},a=i.getValue,o=void 0===a?function(e){return e.data[t]}:a,s=i.setValue,l=void 0===s?function(e,n){e.data[t]=n}:s;if("linear"===n.type)e.forEach((function(e){e.data.forEach((function(e){var t=o(e);t&&l(e,parseFloat(String(t)))}))}));else if("time"===n.type&&"native"!==n.format){var c=SU(n);e.forEach((function(e){e.data.forEach((function(e){var t=o(e);t&&l(e,c(t))}))}))}var u=[];switch(e.forEach((function(e){e.data.forEach((function(e){u.push(o(e))}))})),n.type){case"linear":var d=$H(lH(u).filter((function(e){return null!==e})),(function(e){return e}));return{all:d,min:Math.min.apply(Math,d),max:Math.max.apply(Math,d)};case"time":var f=FH(u,(function(e){return e.getTime()})).slice(0).sort((function(e,t){return t.getTime()-e.getTime()})).reverse();return{all:f,min:f[0],max:yj(f)};default:var h=lH(u);return{all:h,min:h[0],max:yj(h)}}},uV=function(e,t,n){var r=function(e){return"x"===e?"y":"x"}(e),i=[];t[r].all.forEach((function(t){var a=qH(t)?iV:rV,o=[];n.forEach((function(n){var s=n.data.find((function(e){return a(e.data[r],t)})),l=null,c=null;if(void 0!==s){if(null!==(l=s.data[e])){var u=yj(o);void 0===u?c=l:null!==u&&(c=u+l)}s.data["x"===e?"xStacked":"yStacked"]=c}o.push(c),null!==c&&i.push(c)}))})),t[e].minStacked=Math.min.apply(Math,i),t[e].maxStacked=Math.max.apply(Math,i)},dV=function(e,t){return uV("x",e,t)},fV=function(e,t){return uV("y",e,t)},hV=function(e){var t=e.bandwidth();if(0===t)return e;var n=t/2;return e.round()&&(n=Math.round(n)),function(t){var r;return(null!=(r=e(t))?r:0)+n}},pV={millisecond:[YH,YH],second:[KH,KH],minute:[QH,dU],hour:[eU,fU],day:[VH((function(e){return e.setHours(0,0,0,0)}),(function(e,t){return e.setDate(e.getDate()+t)}),(function(e,t){return(t.getTime()-e.getTime())/864e5}),(function(e){return Math.floor(e.getTime()/864e5)})),VH((function(e){return e.setUTCHours(0,0,0,0)}),(function(e,t){return e.setUTCDate(e.getUTCDate()+t)}),(function(e,t){return(t.getTime()-e.getTime())/864e5}),(function(e){return Math.floor(e.getTime()/864e5)}))],week:[nU,pU],sunday:[nU,pU],monday:[rU,gU],tuesday:[iU,mU],wednesday:[aU,vU],thursday:[oU,bU],friday:[sU,yU],saturday:[lU,_U],month:[cU,wU],year:[uU,xU]},gV=Object.keys(pV),mV=new RegExp("^every\\s*(\\d+)?\\s*("+gV.join("|")+")s?$","i"),vV=function(e,t){if(Array.isArray(t))return t;if("string"==typeof t&&"useUTC"in e){var n=t.match(mV);if(n){var r=n[1],i=n[2],a=pV[i][e.useUTC?1:0];if("day"===i){var o,s,l=e.domain(),c=l[0],u=l[1],d=new Date(u);return d.setDate(d.getDate()+1),null!=(o=null==(s=a.every(Number(null!=r?r:1)))?void 0:s.range(c,d))?o:[]}if(void 0===r)return e.ticks(a);var f=a.every(Number(r));if(f)return e.ticks(f)}throw new Error("Invalid tickValues: "+t)}if("ticks"in e){if(void 0===t)return e.ticks();if("number"==typeof(h=t)&&isFinite(h)&&Math.floor(h)===h)return e.ticks(t)}var h;return e.domain()};function bV(){return bV=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},bV.apply(null,arguments)}var yV=function(e){var t,n=e.axis,r=e.scale,i=e.ticksPosition,a=e.tickValues,o=e.tickSize,s=e.tickPadding,l=e.tickRotation,c=e.truncateTickAt,u=e.engine,d=void 0===u?"svg":u,f=vV(r,a),h=P$[d],p="bandwidth"in r?hV(r):r,g={lineX:0,lineY:0},m={textX:0,textY:0},v="object"==typeof document&&"rtl"===document.dir,b=h.align.center,y=h.baseline.center;return"x"===n?(t=function(e){var t;return{x:null!=(t=p(e))?t:0,y:0}},g.lineY=o*("after"===i?1:-1),m.textY=(o+s)*("after"===i?1:-1),y="after"===i?h.baseline.top:h.baseline.bottom,0===l?b=h.align.center:"after"===i&&l<0||"before"===i&&l>0?(b=h.align[v?"left":"right"],y=h.baseline.center):("after"===i&&l>0||"before"===i&&l<0)&&(b=h.align[v?"right":"left"],y=h.baseline.center)):(t=function(e){var t;return{x:0,y:null!=(t=p(e))?t:0}},g.lineX=o*("after"===i?1:-1),m.textX=(o+s)*("after"===i?1:-1),b="after"===i?h.align.left:h.align.right),{ticks:f.map((function(e){var n="string"==typeof e?function(e){var t=String(e).length;return c&&c>0&&t>c?""+String(e).slice(0,c).concat("..."):""+e}(e):e;return bV({key:e instanceof Date?""+e.valueOf():""+e,value:n},t(e),g,m)})),textAlign:b,textBaseline:y}},_V=function(e,t){if(void 0===e||"function"==typeof e)return e;if("time"===t.type){var n=uI(e);return function(e){return n(e instanceof Date?e:new Date(e))}}return Tj(e)},wV=function(e){var t,n=e.width,r=e.height,i=e.scale,a=e.axis,o=e.values,s=(t=o,(Array.isArray(t)?o:void 0)||vV(i,o)),l="bandwidth"in i?hV(i):i,c="x"===a?s.map((function(e){var t,n;return{key:e instanceof Date?""+e.valueOf():""+e,x1:null!=(t=l(e))?t:0,x2:null!=(n=l(e))?n:0,y1:0,y2:r}})):s.map((function(e){var t,r;return{key:e instanceof Date?""+e.valueOf():""+e,x1:0,x2:n,y1:null!=(t=l(e))?t:0,y2:null!=(r=l(e))?r:0}}));return c},xV=u((function(e){var t,n=e.value,r=e.format,i=e.lineX,a=e.lineY,o=e.onClick,l=e.textBaseline,c=e.textAnchor,u=e.theme,d=e.animatedProps,f=null!=(t=null==r?void 0:r(n))?t:n,h=s((function(){var e={opacity:d.opacity};return o?{style:bV({},e,{cursor:"pointer"}),onClick:function(e){return o(e,f)}}:{style:e}}),[d.opacity,o,f]);return yi(vD.g,bV({transform:d.transform},h,{children:[yi("line",{x1:0,x2:i,y1:0,y2:a,style:u.line}),yi(Pq,{dominantBaseline:l,textAnchor:c,transform:d.textTransform,style:u.text,children:""+f})]}))})),kV={tickSize:5,tickPadding:5,tickRotation:0,legendPosition:"middle",legendOffset:0},CV=u((function(t){var n=t.axis,r=t.scale,i=t.x,a=void 0===i?0:i,l=t.y,c=void 0===l?0:l,u=t.length,d=t.ticksPosition,f=t.tickValues,h=t.tickSize,p=void 0===h?kV.tickSize:h,g=t.tickPadding,m=void 0===g?kV.tickPadding:g,v=t.tickRotation,b=void 0===v?kV.tickRotation:v,_=t.format,w=t.renderTick,x=void 0===w?xV:w,k=t.truncateTickAt,C=t.legend,A=t.legendPosition,S=void 0===A?kV.legendPosition:A,E=t.legendOffset,M=void 0===E?kV.legendOffset:E,R=t.style,T=t.onClick,L=t.ariaHidden,D=function(e,t){return s((function(){return Dz(e,t)}),[e,t])}(Nz().axis,R),O=s((function(){return _V(_,r)}),[_,r]),F=yV({axis:n,scale:r,ticksPosition:d,tickValues:f,tickSize:p,tickPadding:m,tickRotation:b,truncateTickAt:k}),z=F.ticks,P=F.textAlign,N=F.textBaseline,j=null;if(void 0!==C){var I,B=0,W=0,$=0;"y"===n?($=-90,B=M,"start"===S?(I="start",W=u):"middle"===S?(I="middle",W=u/2):"end"===S&&(I="end")):(W=M,"start"===S?I="start":"middle"===S?(I="middle",B=u/2):"end"===S&&(I="end",B=u)),j=yi(y,{children:yi(Pq,{transform:"translate("+B+", "+W+") rotate("+$+")",textAnchor:I,style:bV({},D.legend.text,{dominantBaseline:"central"}),children:C})})}var q=g$(),H=q.animate,U=q.config,V=_T({transform:"translate("+a+","+c+")",lineX2:"x"===n?u:0,lineY2:"x"===n?0:u,config:U,immediate:!H}),Y=o((function(e){return{opacity:1,transform:"translate("+e.x+","+e.y+")",textTransform:"translate("+e.textX+","+e.textY+") rotate("+b+")"}}),[b]),G=o((function(e){return{opacity:0,transform:"translate("+e.x+","+e.y+")",textTransform:"translate("+e.textX+","+e.textY+") rotate("+b+")"}}),[b]),X=wT(z,{keys:function(e){return e.key},initial:Y,from:G,enter:Y,update:Y,leave:{opacity:0},config:U,immediate:!H});return yi(vD.g,{transform:V.transform,"aria-hidden":L,children:[X((function(t,n,r,i){return e.createElement(x,bV({tickIndex:i,format:O,rotate:b,textBaseline:N,textAnchor:P,truncateTickAt:k,animatedProps:t,theme:D.ticks},n,T?{onClick:T}:{}))})),yi(vD.line,{style:D.domain.line,x1:0,x2:V.lineX2,y1:0,y2:V.lineY2}),j]})})),AV=["top","right","bottom","left"],SV=u((function(e){var t=e.xScale,n=e.yScale,r=e.width,i=e.height,a={top:e.top,right:e.right,bottom:e.bottom,left:e.left};return yi(y,{children:AV.map((function(e){var o=a[e];if(!o)return null;var s="top"===e||"bottom"===e;return yi(CV,bV({},o,{axis:s?"x":"y",x:"right"===e?r:0,y:"bottom"===e?i:0,scale:s?t:n,length:s?r:i,ticksPosition:"top"===e||"left"===e?"before":"after",truncateTickAt:o.truncateTickAt}),e)}))})})),EV=u((function(e){var t=e.animatedProps,n=Nz();return yi(vD.line,bV({},t,n.grid.line))})),MV=u((function(e){var t=e.lines,n=g$(),r=n.animate,i=wT(t,{keys:function(e){return e.key},initial:function(e){return{opacity:1,x1:e.x1,x2:e.x2,y1:e.y1,y2:e.y2}},from:function(e){return{opacity:0,x1:e.x1,x2:e.x2,y1:e.y1,y2:e.y2}},enter:function(e){return{opacity:1,x1:e.x1,x2:e.x2,y1:e.y1,y2:e.y2}},update:function(e){return{opacity:1,x1:e.x1,x2:e.x2,y1:e.y1,y2:e.y2}},leave:{opacity:0},config:n.config,immediate:!r});return yi("g",{children:i((function(e,t){return f(EV,bV({},t,{key:t.key,animatedProps:e}))}))})})),RV=u((function(e){var t=e.width,n=e.height,r=e.xScale,i=e.yScale,a=e.xValues,o=e.yValues,l=s((function(){return!!r&&wV({width:t,height:n,scale:r,axis:"x",values:a})}),[r,a,t,n]),c=s((function(){return!!i&&wV({width:t,height:n,scale:i,axis:"y",values:o})}),[n,t,i,o]);return yi(y,{children:[l&&yi(MV,{lines:l}),c&&yi(MV,{lines:c})]})})),TV=function(e,t){var n,r,i=t.axis,a=t.scale,o=t.x,s=void 0===o?0:o,l=t.y,c=void 0===l?0:l,u=t.length,d=t.ticksPosition,f=t.tickValues,h=t.tickSize,p=void 0===h?kV.tickSize:h,g=t.tickPadding,m=void 0===g?kV.tickPadding:g,v=t.tickRotation,b=void 0===v?kV.tickRotation:v,y=t.format,_=t.legend,w=t.legendPosition,x=void 0===w?kV.legendPosition:w,k=t.legendOffset,C=void 0===k?kV.legendOffset:k,A=t.theme,S=t.style,E=yV({axis:i,scale:a,ticksPosition:d,tickValues:f,tickSize:p,tickPadding:m,tickRotation:b,engine:"canvas"}),M=E.ticks,R=E.textAlign,T=E.textBaseline;e.save(),e.translate(s,c);var L=Dz(A.axis,S);e.textAlign=R,e.textBaseline=T,xq(e,L.ticks.text);var D=null!=(n=L.domain.line.strokeWidth)?n:0;"string"!=typeof D&&D>0&&(e.lineWidth=D,e.lineCap="square",L.domain.line.stroke&&(e.strokeStyle=L.domain.line.stroke),e.beginPath(),e.moveTo(0,0),e.lineTo("x"===i?u:0,"x"===i?0:u),e.stroke());var O="function"==typeof y?y:function(e){return""+e},F=null!=(r=L.ticks.line.strokeWidth)?r:0,z="string"!=typeof F&&F>0;if(M.forEach((function(t){z&&(e.lineWidth=F,e.lineCap="square",L.ticks.line.stroke&&(e.strokeStyle=L.ticks.line.stroke),e.beginPath(),e.moveTo(t.x,t.y),e.lineTo(t.x+t.lineX,t.y+t.lineY),e.stroke());var n=O(t.value);e.save(),e.translate(t.x+t.textX,t.y+t.textY),e.rotate(O$(b)),kq(e,L.ticks.text,""+n),e.fillText(""+n,0,0),e.restore()})),void 0!==_){var P=0,N=0,j=0,I="center";"y"===i?(j=-90,P=C,"start"===x?(I="start",N=u):"middle"===x?(I="center",N=u/2):"end"===x&&(I="end")):(N=C,"start"===x?I="start":"middle"===x?(I="center",P=u/2):"end"===x&&(I="end",P=u)),e.translate(P,N),e.rotate(O$(j)),xq(e,L.legend.text),L.legend.text.fill&&(e.fillStyle=L.legend.text.fill),e.textAlign=I,e.textBaseline="middle",kq(e,L.legend.text,_)}e.restore()},LV=function(e,t){var n=t.xScale,r=t.yScale,i=t.width,a=t.height,o=t.top,s=t.right,l=t.bottom,c=t.left,u=t.theme,d={top:o,right:s,bottom:l,left:c};AV.forEach((function(t){var o=d[t];if(!o)return null;var s="top"===t||"bottom"===t,l="top"===t||"left"===t?"before":"after",c=s?n:r,f=_V(o.format,c);TV(e,bV({},o,{axis:s?"x":"y",x:"right"===t?i:0,y:"bottom"===t?a:0,scale:c,format:f,length:s?i:a,ticksPosition:l,theme:u}))}))},DV=function(e,t){var n=t.width,r=t.height,i=t.scale,a=t.axis,o=t.values;wV({width:n,height:r,scale:i,axis:a,values:o}).forEach((function(t){e.beginPath(),e.moveTo(t.x1,t.y1),e.lineTo(t.x2,t.y2),e.stroke()}))};function OV(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function FV(){return FV=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},FV.apply(null,arguments)}var zV={nivo:["#e8c1a0","#f47560","#f1e15b","#e8a838","#61cdbb","#97e3d5"],category10:YP,accent:GP,dark2:XP,paired:JP,pastel1:ZP,pastel2:KP,set1:QP,set2:eN,set3:tN,tableau10:nN},PV=Object.keys(zV),NV={brown_blueGreen:iN,purpleRed_green:oN,pink_yellowGreen:lN,purple_orange:uN,red_blue:fN,red_grey:pN,red_yellow_blue:mN,red_yellow_green:bN,spectral:_N},jV=Object.keys(NV),IV={brown_blueGreen:aN,purpleRed_green:sN,pink_yellowGreen:cN,purple_orange:dN,red_blue:hN,red_grey:gN,red_yellow_blue:vN,red_yellow_green:yN,spectral:wN},BV={blues:VN,greens:GN,greys:JN,oranges:nj,purples:KN,reds:ej,blue_green:xN,blue_purple:CN,green_blue:SN,orange_red:MN,purple_blue_green:TN,purple_blue:DN,purple_red:FN,red_purple:PN,yellow_green_blue:jN,yellow_green:BN,yellow_orange_brown:$N,yellow_orange_red:HN},WV=Object.keys(BV),$V={blues:YN,greens:XN,greys:ZN,oranges:rj,purples:QN,reds:tj,turbo:function(e){return e=Math.max(0,Math.min(1,e)),"rgb("+Math.max(0,Math.min(255,Math.round(34.61+e*(1172.33-e*(10793.56-e*(33300.12-e*(38394.49-14825.05*e)))))))+", "+Math.max(0,Math.min(255,Math.round(23.31+e*(557.33+e*(1225.33-e*(3574.96-e*(1073.77+707.56*e)))))))+", "+Math.max(0,Math.min(255,Math.round(27.2+e*(3211.1-e*(15327.97-e*(27814-e*(22569.18-6838.66*e)))))))+")"},viridis:pj,inferno:mj,magma:gj,plasma:vj,cividis:function(e){return e=Math.max(0,Math.min(1,e)),"rgb("+Math.max(0,Math.min(255,Math.round(-4.54-e*(35.34-e*(2381.73-e*(6402.7-e*(7024.72-2710.57*e)))))))+", "+Math.max(0,Math.min(255,Math.round(32.49+e*(170.73+e*(52.82-e*(131.46-e*(176.58-67.37*e)))))))+", "+Math.max(0,Math.min(255,Math.round(81.24+e*(442.36-e*(2482.43-e*(6167.24-e*(6614.94-2475.67*e)))))))+")"},warm:aj,cool:oj,cubehelixDefault:ij,blue_green:kN,blue_purple:AN,green_blue:EN,orange_red:RN,purple_blue_green:LN,purple_blue:ON,purple_red:zN,red_purple:NN,yellow_green_blue:IN,yellow_green:WN,yellow_orange_brown:qN,yellow_orange_red:UN},qV=FV({},zV,NV,BV),HV={rainbow:function(e){(e<0||e>1)&&(e-=Math.floor(e));var t=Math.abs(e-.5);return sj.h=360*e-100,sj.s=1.5-1.5*t,sj.l=.8-.9*t,sj+""},sinebow:function(e){var t;return e=(.5-e)*Math.PI,lj.r=255*(t=Math.sin(e))*t,lj.g=255*(t=Math.sin(e+cj))*t,lj.b=255*(t=Math.sin(e+uj))*t,lj+""}},UV=FV({},IV,$V,HV),VV=function(e,t){if("function"==typeof e)return e;if(KB(e)){if(function(e){return void 0!==e.theme}(e)){if(void 0===t)throw new Error("Unable to use color from theme as no theme was provided");var n=kz(t,e.theme);if(void 0===n)throw new Error("Color from theme is undefined at path: '"+e.theme+"'");return function(){return n}}if(function(e){return void 0!==e.from}(e)){var r=function(t){return kz(t,e.from)};if(Array.isArray(e.modifiers)){for(var i,a=[],o=function(){var e=i.value,t=e[0],n=e[1];if("brighter"===t)a.push((function(e){return e.brighter(n)}));else if("darker"===t)a.push((function(e){return e.darker(n)}));else{if("opacity"!==t)throw new Error("Invalid color modifier: '"+t+"', must be one of: 'brighter', 'darker', 'opacity'");a.push((function(e){return e.opacity=n,e}))}},s=function(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(n)return(n=n.call(e)).next.bind(n);if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return OV(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?OV(e,t):void 0}}(e))||t){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(e.modifiers);!(i=s()).done;)o();return 0===a.length?r:function(e){return a.reduce((function(e,t){return t(e)}),rs(r(e))).toString()}}return r}throw new Error("Invalid color spec, you should either specify 'theme' or 'from' when using a config object")}return function(){return e}},YV=function(e,t){return s((function(){return VV(e,t)}),[e,t])},GV="turbo",XV="red_yellow_blue",JV=.5,ZV="turbo",KV=7,QV=function(e,t){var n=cc().domain(e.domain||[t.min,t.max]).nice();if("colors"in e)n.range(e.colors);else{var r=e.scheme||ZV,i=void 0===e.steps?KV:e.steps,a=UV[r],o=Array.from({length:i}).map((function(e,t){return a(t*(1/(i-1)))}));n.range(o)}return n},eY=function(e,t){if(function(e){return"sequential"===e.type}(e))return function(e,t){var n=e.minValue,r=e.maxValue,i=void 0!==n?n:t.min,a=void 0!==r?r:t.max,o=Md().domain([i,a]).clamp(!0);if("colors"in e)o.range(e.colors);else if("interpolator"in e)o.interpolator(e.interpolator);else{var s,l=null!=(s=e.scheme)?s:GV;o.interpolator(UV[l])}return o}(e,t);if(function(e){return"diverging"===e.type}(e))return function(e,t){var n,r=e.minValue,i=e.maxValue,a=void 0!==r?r:t.min,o=void 0!==i?i:t.max,s=[a,a+(o-a)/2,o],l=.5-(null!=(n=e.divergeAt)?n:JV),c=Td().domain(s).clamp(!0),u=function(e){return String(e)};if("colors"in e)u=Td().domain(s.map((function(e){return e-l*(o-a)}))).range(e.colors).interpolator();else if("interpolator"in e)u=e.interpolator;else{var d,f=null!=(d=e.scheme)?d:XV;u=UV[f]}return c.interpolator((function(e){return u(e+l)}))}(e,t);if(function(e){return"quantize"===e.type}(e))return QV(e,t);throw new Error("Invalid continuous color scale config")},tY=function(e,t){if("function"==typeof e)return e;var n="function"==typeof t?t:function(e){return kz(e,t)};if(Array.isArray(e)){var r=_l(e),i=function(e){return r(n(e))};return i.scale=r,i}if(KB(e)){if(function(e){return void 0!==e.datum}(e))return function(t){return kz(t,e.datum)};if(function(e){return void 0!==e.scheme}(e)){if(function(e){return PV.includes(e)}(e.scheme)){var a=_l(qV[e.scheme]),o=function(e){return a(n(e))};return o.scale=a,o}if(function(e){return jV.includes(e)}(e.scheme)){if(void 0!==e.size&&(e.size<3||e.size>11))throw new Error("Invalid size '"+e.size+"' for diverging color scheme '"+e.scheme+"', must be between 3~11");var s=_l(qV[e.scheme][e.size||11]),l=function(e){return s(n(e))};return l.scale=s,l}if(function(e){return WV.includes(e)}(e.scheme)){if(void 0!==e.size&&(e.size<3||e.size>9))throw new Error("Invalid size '"+e.size+"' for sequential color scheme '"+e.scheme+"', must be between 3~9");var c=_l(qV[e.scheme][e.size||9]),u=function(e){return c(n(e))};return u.scale=c,u}}throw new Error("Invalid colors, when using an object, you should either pass a 'datum' or a 'scheme' property")}return function(){return e}},nY=function(e,t){return s((function(){return tY(e,t)}),[e,t])};function rY(){return rY=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},rY.apply(null,arguments)}var iY,aY,oY=0,sY=0,lY=0,cY=0,uY="left-to-right",dY=!1,fY="square",hY=16,pY=8,gY={length:200,thickness:16,direction:"row",tickPosition:"after",tickSize:4,tickSpacing:3,tickOverlap:!1,tickFormat:function(e){return""+e},titleAlign:"start",titleOffset:4},mY={top:0,right:0,bottom:0,left:0},vY=function(e){var t,n=e.direction,r=e.itemsSpacing,i=e.padding,a=e.itemCount,o=e.itemWidth,s=e.itemHeight;if("number"!=typeof i&&("object"!=typeof(t=i)||Array.isArray(t)||null===t))throw new Error("Invalid property padding, must be one of: number, object");var l="number"==typeof i?{top:i,right:i,bottom:i,left:i}:rY({},mY,i),c=l.left+l.right,u=l.top+l.bottom,d=o+c,f=s+u,h=(a-1)*r;return"row"===n?d=o*a+h+c:"column"===n&&(f=s*a+h+u),{width:d,height:f,padding:l}},bY=function(e){var t=e.anchor,n=e.translateX,r=e.translateY,i=e.containerWidth,a=e.containerHeight,o=e.width,s=e.height,l=n,c=r;switch(t){case"top":l+=(i-o)/2;break;case"top-right":l+=i-o;break;case"right":l+=i-o,c+=(a-s)/2;break;case"bottom-right":l+=i-o,c+=a-s;break;case"bottom":l+=(i-o)/2,c+=a-s;break;case"bottom-left":c+=a-s;break;case"left":c+=(a-s)/2;break;case"center":l+=(i-o)/2,c+=(a-s)/2}return{x:l,y:c}},yY=function(e){var t,n,r,i,a,o,s=e.direction,l=e.justify,c=e.symbolSize,u=e.symbolSpacing,d=e.width,f=e.height;switch(s){case"left-to-right":t=0,n=(f-c)/2,i=f/2,o="central",l?(r=d,a="end"):(r=c+u,a="start");break;case"right-to-left":t=d-c,n=(f-c)/2,i=f/2,o="central",l?(r=0,a="start"):(r=d-c-u,a="end");break;case"top-to-bottom":t=(d-c)/2,n=0,r=d/2,a="middle",l?(i=f,o="alphabetic"):(i=c+u,o="text-before-edge");break;case"bottom-to-top":t=(d-c)/2,n=f-c,r=d/2,a="middle",l?(i=0,o="text-before-edge"):(i=f-c-u,o="alphabetic")}return{symbolX:t,symbolY:n,labelX:r,labelY:i,labelAnchor:a,labelAlignment:o}},_Y=function(e){var t,n=e.scale,r=e.ticks,i=e.length,a=void 0===i?gY.length:i,o=e.thickness,s=void 0===o?gY.thickness:o,l=e.direction,c=void 0===l?gY.direction:l,u=e.tickPosition,d=void 0===u?gY.tickPosition:u,f=e.tickSize,h=void 0===f?gY.tickSize:f,p=e.tickSpacing,g=void 0===p?gY.tickSpacing:p,m=e.tickOverlap,v=void 0===m?gY.tickOverlap:m,b=e.tickFormat,y=void 0===b?gY.tickFormat:b,_=e.title,w=e.titleAlign,x=void 0===w?gY.titleAlign:w,k=e.titleOffset,C=void 0===k?gY.titleOffset:k,A="column"===c?[].concat(n.domain()).reverse():n.domain(),S=Jl().domain(A);2===A.length?S.range([0,a]):3===A.length&&S.range([0,a/2,a]),t="thresholds"in n?[A[0]].concat(n.thresholds(),[A[1]]):Array.isArray(r)?r:n.ticks(r);var E,M,R,T,L,D,O,F,z,P,N,j,I,B,W=function(e,t){var n=e.domain();if("thresholds"in e){var r=[],i=Jl().domain(n).range([0,1]);return e.range().forEach((function(t,n){var a=e.invertExtent(t),o=a[0],s=a[1];r.push({key:n+".0",offset:i(o),stopColor:t}),r.push({key:n+".1",offset:i(s),stopColor:t})})),r}var a=e.copy();return 2===n.length?a.domain([0,1]):3===n.length&&a.domain([0,.5,1]),a.ticks(t).map((function(e){return{key:""+e,offset:e,stopColor:""+a(e)}}))}(n,32),$=dq(y),q=[],H=0,U=0;"row"===c?(E=a,M=s,U=1,L=0,R="start"===x?0:"middle"===x?a/2:a,"before"===d?(O=-h,F=v?s:0,z=-h-g,P="alphabetic",T=s+C,D="hanging"):(O=v?0:s,z=(F=s+h)+g,P="hanging",T=-C,D="alphabetic"),t.forEach((function(e){var t=S(e);q.push({x1:t,y1:O,x2:t,y2:F,text:$(e),textX:t,textY:z,textHorizontalAlign:"middle",textVerticalAlign:P})}))):(E=s,M=a,H=1,L=-90,T="start"===x?a:"middle"===x?a/2:0,"before"===d?(j=v?s:0,I=(N=-h)-g,B="end",R=s+C,D="hanging"):(N=v?0:s,I=(j=s+h)+g,B="start",R=-C,D="alphabetic"),t.forEach((function(e){var t=S(e);q.push({x1:N,y1:t,x2:j,y2:t,text:$(e),textX:I,textY:t,textHorizontalAlign:B,textVerticalAlign:"central"})})));return{width:E,height:M,gradientX1:0,gradientY1:H,gradientX2:U,gradientY2:0,colorStops:W,ticks:q,titleText:_,titleX:R,titleY:T,titleRotation:L,titleHorizontalAlign:x,titleVerticalAlign:D}},wY=function(e){var t=e.scale,n=e.ticks,r=e.length,i=void 0===r?gY.length:r,a=e.thickness,o=void 0===a?gY.thickness:a,s=e.direction,l=void 0===s?gY.direction:s,c=e.tickPosition,u=void 0===c?gY.tickPosition:c,d=e.tickSize,f=void 0===d?gY.tickSize:d,h=e.tickSpacing,g=void 0===h?gY.tickSpacing:h,m=e.tickOverlap,v=void 0===m?gY.tickOverlap:m,b=e.tickFormat,y=void 0===b?gY.tickFormat:b,_=e.title,w=e.titleAlign,x=void 0===w?gY.titleAlign:w,k=e.titleOffset,C=_Y({scale:t,ticks:n,length:i,thickness:o,direction:l,tickPosition:u,tickSize:f,tickSpacing:g,tickOverlap:v,tickFormat:y,title:_,titleAlign:x,titleOffset:void 0===k?gY.titleOffset:k}),A=C.width,S=C.height,E=C.gradientX1,M=C.gradientY1,R=C.gradientX2,T=C.gradientY2,L=C.ticks,D=C.colorStops,O=C.titleText,F=C.titleX,z=C.titleY,P=C.titleRotation,N=C.titleVerticalAlign,j=C.titleHorizontalAlign,I=Nz(),B="ContinuousColorsLegendSvgGradient."+l+"."+D.map((function(e){return e.stopColor.replace(/[(),\s]/g,"")+"."+e.offset})).join("_");return yi("g",{children:[yi("defs",{children:yi("linearGradient",{id:B,x1:E,y1:M,x2:R,y2:T,children:D.map((function(e){return yi("stop",{offset:e.offset,stopColor:e.stopColor},e.key)}))})}),O&&yi("text",{transform:"translate("+F+", "+z+") rotate("+P+")",textAnchor:j,dominantBaseline:N,style:I.legends.title.text,children:O}),yi("rect",{width:A,height:S,fill:"url(#"+B}),L.map((function(e,t){return yi(p,{children:[yi("line",{x1:e.x1,y1:e.y1,x2:e.x2,y2:e.y2,style:I.legends.ticks.line}),yi(Pq,{x:e.textX,y:e.textY,textAnchor:e.textHorizontalAlign,dominantBaseline:e.textVerticalAlign,style:I.legends.ticks.text,children:e.text})]},t)}))]})},xY=["containerWidth","containerHeight","anchor","translateX","translateY","length","thickness","direction"],kY=function(e){var t,n,r=e.containerWidth,i=e.containerHeight,a=e.anchor,o=e.translateX,s=void 0===o?0:o,l=e.translateY,c=void 0===l?0:l,u=e.length,d=void 0===u?gY.length:u,f=e.thickness,h=void 0===f?gY.thickness:f,p=e.direction,g=void 0===p?gY.direction:p,m=function(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(-1!==t.indexOf(r))continue;n[r]=e[r]}return n}(e,xY);"row"===g?(t=d,n=h):(t=h,n=d);var v=bY({anchor:a,translateX:s,translateY:c,containerWidth:r,containerHeight:i,width:t,height:n});return yi("g",{transform:"translate("+v.x+", "+v.y+")",children:yi(wY,rY({length:d,thickness:h,direction:g},m))})},CY={circle:function(e){var t=e.x,n=e.y,r=e.size,i=e.fill,a=e.opacity,o=void 0===a?1:a,s=e.borderWidth,l=void 0===s?0:s,c=e.borderColor;return yi("circle",{r:r/2,cx:t+r/2,cy:n+r/2,fill:i,opacity:o,strokeWidth:l,stroke:void 0===c?"transparent":c,style:{pointerEvents:"none"}})},diamond:function(e){var t=e.x,n=e.y,r=e.size,i=e.fill,a=e.opacity,o=void 0===a?1:a,s=e.borderWidth,l=void 0===s?0:s,c=e.borderColor;return yi("g",{transform:"translate("+t+","+n+")",children:yi("path",{d:"\n M"+r/2+" 0\n L"+.8*r+" "+r/2+"\n L"+r/2+" "+r+"\n L"+.2*r+" "+r/2+"\n L"+r/2+" 0\n ",fill:i,opacity:o,strokeWidth:l,stroke:void 0===c?"transparent":c,style:{pointerEvents:"none"}})})},square:function(e){var t=e.x,n=e.y,r=e.size,i=e.fill,a=e.opacity,o=void 0===a?1:a,s=e.borderWidth,l=void 0===s?0:s,c=e.borderColor;return yi("rect",{x:t,y:n,fill:i,opacity:o,strokeWidth:l,stroke:void 0===c?"transparent":c,width:r,height:r,style:{pointerEvents:"none"}})},triangle:function(e){var t=e.x,n=e.y,r=e.size,i=e.fill,a=e.opacity,o=void 0===a?1:a,s=e.borderWidth,l=void 0===s?0:s,c=e.borderColor;return yi("g",{transform:"translate("+t+","+n+")",children:yi("path",{d:"\n M"+r/2+" 0\n L"+r+" "+r+"\n L0 "+r+"\n L"+r/2+" 0\n ",fill:i,opacity:o,strokeWidth:l,stroke:void 0===c?"transparent":c,style:{pointerEvents:"none"}})})}},AY=function(n){var r,i,a,s,l,c,u,d,f,h,p,g=n.x,m=n.y,v=n.width,b=n.height,y=n.data,_=n.direction,w=void 0===_?uY:_,x=n.justify,k=void 0===x?dY:x,C=n.textColor,A=n.background,S=void 0===A?"transparent":A,E=n.opacity,M=void 0===E?1:E,R=n.symbolShape,T=void 0===R?fY:R,L=n.symbolSize,D=void 0===L?hY:L,O=n.symbolSpacing,F=void 0===O?pY:O,z=n.symbolBorderWidth,P=void 0===z?0:z,N=n.symbolBorderColor,j=void 0===N?"transparent":N,I=n.onClick,B=n.onMouseEnter,W=n.onMouseLeave,$=n.toggleSerie,q=n.effects,H=t({}),U=H[0],V=H[1],Y=Nz(),G=o((function(e){if(q){var t=q.filter((function(e){return"hover"===e.on})).reduce((function(e,t){return rY({},e,t.style)}),{});V(t)}null==B||B(y,e)}),[B,y,q]),X=o((function(e){if(q){var t=q.filter((function(e){return"hover"!==e.on})).reduce((function(e,t){return rY({},e,t.style)}),{});V(t)}null==W||W(y,e)}),[W,y,q]),J=yY({direction:w,justify:k,symbolSize:null!=(r=U.symbolSize)?r:D,symbolSpacing:F,width:v,height:b}),Z=J.symbolX,K=J.symbolY,Q=J.labelX,ee=J.labelY,te=J.labelAnchor,ne=J.labelAlignment,re=[I,B,W,$].some((function(e){return void 0!==e})),ie="function"==typeof T?T:CY[T];return yi("g",{transform:"translate("+g+","+m+")",style:{opacity:null!=(i=U.itemOpacity)?i:M},children:[yi("rect",{width:v,height:b,fill:null!=(a=U.itemBackground)?a:S,style:{cursor:re?"pointer":"auto"},onClick:function(e){null==I||I(y,e),null==$||$(y.id)},onMouseEnter:G,onMouseLeave:X}),e.createElement(ie,rY({id:y.id,x:Z,y:K,size:null!=(s=U.symbolSize)?s:D,fill:null!=(l=null!=(c=y.fill)?c:y.color)?l:"black",borderWidth:null!=(u=U.symbolBorderWidth)?u:P,borderColor:null!=(d=U.symbolBorderColor)?d:j},y.hidden?Y.legends.hidden.symbol:void 0)),yi(Pq,{textAnchor:te,style:rY({},Y.legends.text,{fill:null!=(f=null!=(h=null!=(p=U.itemTextColor)?p:C)?h:Y.legends.text.fill)?f:"black",dominantBaseline:ne,pointerEvents:"none",userSelect:"none"},y.hidden?Y.legends.hidden.text:void 0),x:Q,y:ee,children:y.label})]})},SY=function(e){var t=e.data,n=e.x,r=e.y,i=e.direction,a=e.padding,o=void 0===a?lY:a,s=e.justify,l=e.effects,c=e.itemWidth,u=e.itemHeight,d=e.itemDirection,f=void 0===d?uY:d,h=e.itemsSpacing,p=void 0===h?cY:h,g=e.itemTextColor,m=e.itemBackground,v=void 0===m?"transparent":m,b=e.itemOpacity,y=void 0===b?1:b,_=e.symbolShape,w=e.symbolSize,x=e.symbolSpacing,k=e.symbolBorderWidth,C=e.symbolBorderColor,A=e.onClick,S=e.onMouseEnter,E=e.onMouseLeave,M=e.toggleSerie,R=vY({itemCount:t.length,itemWidth:c,itemHeight:u,itemsSpacing:p,direction:i,padding:o}).padding,T="row"===i?c+p:0,L="column"===i?u+p:0;return yi("g",{transform:"translate("+n+","+r+")",children:t.map((function(e,t){return yi(AY,{data:e,x:t*T+R.left,y:t*L+R.top,width:c,height:u,direction:f,justify:s,effects:l,textColor:g,background:v,opacity:y,symbolShape:_,symbolSize:w,symbolSpacing:x,symbolBorderWidth:k,symbolBorderColor:C,onClick:A,onMouseEnter:S,onMouseLeave:E,toggleSerie:M},t)}))})},EY=function(e){var t=e.data,n=e.containerWidth,r=e.containerHeight,i=e.translateX,a=void 0===i?oY:i,o=e.translateY,s=void 0===o?sY:o,l=e.anchor,c=e.direction,u=e.padding,d=void 0===u?lY:u,f=e.justify,h=e.itemsSpacing,p=void 0===h?cY:h,g=e.itemWidth,m=e.itemHeight,v=e.itemDirection,b=e.itemTextColor,y=e.itemBackground,_=e.itemOpacity,w=e.symbolShape,x=e.symbolSize,k=e.symbolSpacing,C=e.symbolBorderWidth,A=e.symbolBorderColor,S=e.onClick,E=e.onMouseEnter,M=e.onMouseLeave,R=e.toggleSerie,T=e.effects,L=vY({itemCount:t.length,itemsSpacing:p,itemWidth:g,itemHeight:m,direction:c,padding:d}),D=L.width,O=L.height,F=bY({anchor:l,translateX:a,translateY:s,containerWidth:n,containerHeight:r,width:D,height:O}),z=F.x,P=F.y;return yi(SY,{data:t,x:z,y:P,direction:c,padding:d,justify:f,effects:T,itemsSpacing:p,itemWidth:g,itemHeight:m,itemDirection:v,itemTextColor:b,itemBackground:y,itemOpacity:_,symbolShape:w,symbolSize:x,symbolSpacing:k,symbolBorderWidth:C,symbolBorderColor:A,onClick:S,onMouseEnter:E,onMouseLeave:M,toggleSerie:"boolean"==typeof R?void 0:R})},MY={start:"left",middle:"center",end:"right"},RY=function(e,t){var n=t.data,r=t.containerWidth,i=t.containerHeight,a=t.translateX,o=void 0===a?0:a,s=t.translateY,l=void 0===s?0:s,c=t.anchor,u=t.direction,d=t.padding,f=void 0===d?0:d,h=t.justify,p=void 0!==h&&h,g=t.itemsSpacing,m=void 0===g?0:g,v=t.itemWidth,b=t.itemHeight,y=t.itemDirection,_=void 0===y?"left-to-right":y,w=t.itemTextColor,x=t.symbolSize,k=void 0===x?16:x,C=t.symbolSpacing,A=void 0===C?8:C,S=t.theme,E=vY({itemCount:n.length,itemWidth:v,itemHeight:b,itemsSpacing:m,direction:u,padding:f}),M=E.width,R=E.height,T=E.padding,L=bY({anchor:c,translateX:o,translateY:l,containerWidth:r,containerHeight:i,width:M,height:R}),D=L.x,O=L.y,F="row"===u?v+m:0,z="column"===u?b+m:0;e.save(),e.translate(D,O),xq(e,S.legends.text),n.forEach((function(t,n){var r,i=n*F+T.left,a=n*z+T.top,o=yY({direction:_,justify:p,symbolSize:k,symbolSpacing:A,width:v,height:b}),s=o.symbolX,l=o.symbolY,c=o.labelX,u=o.labelY,d=o.labelAnchor,f=o.labelAlignment;e.fillStyle=null!=(r=t.color)?r:"black",e.fillRect(i+s,a+l,k,k),e.textAlign=MY[d],"central"===f&&(e.textBaseline="middle"),kq(e,rY({},S.legends.text,{fill:null!=w?w:S.legends.text.fill}),String(t.label),i+c,a+u)})),e.restore()};var TY=function(){if(aY)return iY;aY=1;var e=ty(),t=0;return iY=function(n){var r=++t;return e(n)+r},iY}(),LY=I(TY);const DY=134217729;function OY(e,t,n,r,i){let a,o,s,l,c=t[0],u=r[0],d=0,f=0;u>c==u>-c?(a=c,c=t[++d]):(a=u,u=r[++f]);let h=0;if(d<e&&f<n)for(u>c==u>-c?(o=c+a,s=a-(o-c),c=t[++d]):(o=u+a,s=a-(o-u),u=r[++f]),a=o,0!==s&&(i[h++]=s);d<e&&f<n;)u>c==u>-c?(o=a+c,l=o-a,s=a-(o-l)+(c-l),c=t[++d]):(o=a+u,l=o-a,s=a-(o-l)+(u-l),u=r[++f]),a=o,0!==s&&(i[h++]=s);for(;d<e;)o=a+c,l=o-a,s=a-(o-l)+(c-l),c=t[++d],a=o,0!==s&&(i[h++]=s);for(;f<n;)o=a+u,l=o-a,s=a-(o-l)+(u-l),u=r[++f],a=o,0!==s&&(i[h++]=s);return 0===a&&0!==h||(i[h++]=a),h}function FY(e){return new Float64Array(e)}const zY=FY(4),PY=FY(8),NY=FY(12),jY=FY(16),IY=FY(4);function BY(e,t,n,r,i,a){const o=(t-a)*(n-i),s=(e-i)*(r-a),l=o-s,c=Math.abs(o+s);return Math.abs(l)>=33306690738754716e-32*c?l:-function(e,t,n,r,i,a,o){let s,l,c,u,d,f,h,p,g,m,v,b,y,_,w,x,k,C;const A=e-i,S=n-i,E=t-a,M=r-a;_=A*M,f=DY*A,h=f-(f-A),p=A-h,f=DY*M,g=f-(f-M),m=M-g,w=p*m-(_-h*g-p*g-h*m),x=E*S,f=DY*E,h=f-(f-E),p=E-h,f=DY*S,g=f-(f-S),m=S-g,k=p*m-(x-h*g-p*g-h*m),v=w-k,d=w-v,zY[0]=w-(v+d)+(d-k),b=_+v,d=b-_,y=_-(b-d)+(v-d),v=y-x,d=y-v,zY[1]=y-(v+d)+(d-x),C=b+v,d=C-b,zY[2]=b-(C-d)+(v-d),zY[3]=C;let R=function(e,t){let n=t[0];for(let r=1;r<e;r++)n+=t[r];return n}(4,zY),T=22204460492503146e-32*o;if(R>=T||-R>=T)return R;if(d=e-A,s=e-(A+d)+(d-i),d=n-S,c=n-(S+d)+(d-i),d=t-E,l=t-(E+d)+(d-a),d=r-M,u=r-(M+d)+(d-a),0===s&&0===l&&0===c&&0===u)return R;if(T=11093356479670487e-47*o+33306690738754706e-32*Math.abs(R),R+=A*u+M*s-(E*c+S*l),R>=T||-R>=T)return R;_=s*M,f=DY*s,h=f-(f-s),p=s-h,f=DY*M,g=f-(f-M),m=M-g,w=p*m-(_-h*g-p*g-h*m),x=l*S,f=DY*l,h=f-(f-l),p=l-h,f=DY*S,g=f-(f-S),m=S-g,k=p*m-(x-h*g-p*g-h*m),v=w-k,d=w-v,IY[0]=w-(v+d)+(d-k),b=_+v,d=b-_,y=_-(b-d)+(v-d),v=y-x,d=y-v,IY[1]=y-(v+d)+(d-x),C=b+v,d=C-b,IY[2]=b-(C-d)+(v-d),IY[3]=C;const L=OY(4,zY,4,IY,PY);_=A*u,f=DY*A,h=f-(f-A),p=A-h,f=DY*u,g=f-(f-u),m=u-g,w=p*m-(_-h*g-p*g-h*m),x=E*c,f=DY*E,h=f-(f-E),p=E-h,f=DY*c,g=f-(f-c),m=c-g,k=p*m-(x-h*g-p*g-h*m),v=w-k,d=w-v,IY[0]=w-(v+d)+(d-k),b=_+v,d=b-_,y=_-(b-d)+(v-d),v=y-x,d=y-v,IY[1]=y-(v+d)+(d-x),C=b+v,d=C-b,IY[2]=b-(C-d)+(v-d),IY[3]=C;const D=OY(L,PY,4,IY,NY);_=s*u,f=DY*s,h=f-(f-s),p=s-h,f=DY*u,g=f-(f-u),m=u-g,w=p*m-(_-h*g-p*g-h*m),x=l*c,f=DY*l,h=f-(f-l),p=l-h,f=DY*c,g=f-(f-c),m=c-g,k=p*m-(x-h*g-p*g-h*m),v=w-k,d=w-v,IY[0]=w-(v+d)+(d-k),b=_+v,d=b-_,y=_-(b-d)+(v-d),v=y-x,d=y-v,IY[1]=y-(v+d)+(d-x),C=b+v,d=C-b,IY[2]=b-(C-d)+(v-d),IY[3]=C;const O=OY(D,NY,4,IY,jY);return jY[O-1]}(e,t,n,r,i,a,c)}const WY=Math.pow(2,-52),$Y=new Uint32Array(512);class qY{static from(e,t=XY,n=JY){const r=e.length,i=new Float64Array(2*r);for(let a=0;a<r;a++){const r=e[a];i[2*a]=t(r),i[2*a+1]=n(r)}return new qY(i)}constructor(e){const t=e.length>>1;if(t>0&&"number"!=typeof e[0])throw new Error("Expected coords to contain numbers.");this.coords=e;const n=Math.max(2*t-5,0);this._triangles=new Uint32Array(3*n),this._halfedges=new Int32Array(3*n),this._hashSize=Math.ceil(Math.sqrt(t)),this._hullPrev=new Uint32Array(t),this._hullNext=new Uint32Array(t),this._hullTri=new Uint32Array(t),this._hullHash=new Int32Array(this._hashSize),this._ids=new Uint32Array(t),this._dists=new Float64Array(t),this.update()}update(){const{coords:e,_hullPrev:t,_hullNext:n,_hullTri:r,_hullHash:i}=this,a=e.length>>1;let o=1/0,s=1/0,l=-1/0,c=-1/0;for(let t=0;t<a;t++){const n=e[2*t],r=e[2*t+1];n<o&&(o=n),r<s&&(s=r),n>l&&(l=n),r>c&&(c=r),this._ids[t]=t}const u=(o+l)/2,d=(s+c)/2;let f,h,p;for(let t=0,n=1/0;t<a;t++){const r=HY(u,d,e[2*t],e[2*t+1]);r<n&&(f=t,n=r)}const g=e[2*f],m=e[2*f+1];for(let t=0,n=1/0;t<a;t++){if(t===f)continue;const r=HY(g,m,e[2*t],e[2*t+1]);r<n&&r>0&&(h=t,n=r)}let v=e[2*h],b=e[2*h+1],y=1/0;for(let t=0;t<a;t++){if(t===f||t===h)continue;const n=VY(g,m,v,b,e[2*t],e[2*t+1]);n<y&&(p=t,y=n)}let _=e[2*p],w=e[2*p+1];if(y===1/0){for(let t=0;t<a;t++)this._dists[t]=e[2*t]-e[0]||e[2*t+1]-e[1];YY(this._ids,this._dists,0,a-1);const t=new Uint32Array(a);let n=0;for(let e=0,r=-1/0;e<a;e++){const i=this._ids[e],a=this._dists[i];a>r&&(t[n++]=i,r=a)}return this.hull=t.subarray(0,n),this.triangles=new Uint32Array(0),void(this.halfedges=new Uint32Array(0))}if(BY(g,m,v,b,_,w)<0){const e=h,t=v,n=b;h=p,v=_,b=w,p=e,_=t,w=n}const x=function(e,t,n,r,i,a){const o=n-e,s=r-t,l=i-e,c=a-t,u=o*o+s*s,d=l*l+c*c,f=.5/(o*c-s*l),h=e+(c*u-s*d)*f,p=t+(o*d-l*u)*f;return{x:h,y:p}}(g,m,v,b,_,w);this._cx=x.x,this._cy=x.y;for(let t=0;t<a;t++)this._dists[t]=HY(e[2*t],e[2*t+1],x.x,x.y);YY(this._ids,this._dists,0,a-1),this._hullStart=f;let k=3;n[f]=t[p]=h,n[h]=t[f]=p,n[p]=t[h]=f,r[f]=0,r[h]=1,r[p]=2,i.fill(-1),i[this._hashKey(g,m)]=f,i[this._hashKey(v,b)]=h,i[this._hashKey(_,w)]=p,this.trianglesLen=0,this._addTriangle(f,h,p,-1,-1,-1);for(let a,o,s=0;s<this._ids.length;s++){const l=this._ids[s],c=e[2*l],u=e[2*l+1];if(s>0&&Math.abs(c-a)<=WY&&Math.abs(u-o)<=WY)continue;if(a=c,o=u,l===f||l===h||l===p)continue;let d=0;for(let e=0,t=this._hashKey(c,u);e<this._hashSize&&(d=i[(t+e)%this._hashSize],-1===d||d===n[d]);e++);d=t[d];let g,m=d;for(;g=n[m],BY(c,u,e[2*m],e[2*m+1],e[2*g],e[2*g+1])>=0;)if(m=g,m===d){m=-1;break}if(-1===m)continue;let v=this._addTriangle(m,l,n[m],-1,-1,r[m]);r[l]=this._legalize(v+2),r[m]=v,k++;let b=n[m];for(;g=n[b],BY(c,u,e[2*b],e[2*b+1],e[2*g],e[2*g+1])<0;)v=this._addTriangle(b,l,g,r[l],-1,r[b]),r[l]=this._legalize(v+2),n[b]=b,k--,b=g;if(m===d)for(;g=t[m],BY(c,u,e[2*g],e[2*g+1],e[2*m],e[2*m+1])<0;)v=this._addTriangle(g,l,m,-1,r[m],r[g]),this._legalize(v+2),r[g]=v,n[m]=m,k--,m=g;this._hullStart=t[l]=m,n[m]=t[b]=l,n[l]=b,i[this._hashKey(c,u)]=l,i[this._hashKey(e[2*m],e[2*m+1])]=m}this.hull=new Uint32Array(k);for(let e=0,t=this._hullStart;e<k;e++)this.hull[e]=t,t=n[t];this.triangles=this._triangles.subarray(0,this.trianglesLen),this.halfedges=this._halfedges.subarray(0,this.trianglesLen)}_hashKey(e,t){return Math.floor(function(e,t){const n=e/(Math.abs(e)+Math.abs(t));return(t>0?3-n:1+n)/4}(e-this._cx,t-this._cy)*this._hashSize)%this._hashSize}_legalize(e){const{_triangles:t,_halfedges:n,coords:r}=this;let i=0,a=0;for(;;){const o=n[e],s=e-e%3;if(a=s+(e+2)%3,-1===o){if(0===i)break;e=$Y[--i];continue}const l=o-o%3,c=s+(e+1)%3,u=l+(o+2)%3,d=t[a],f=t[e],h=t[c],p=t[u];if(UY(r[2*d],r[2*d+1],r[2*f],r[2*f+1],r[2*h],r[2*h+1],r[2*p],r[2*p+1])){t[e]=p,t[o]=d;const r=n[u];if(-1===r){let t=this._hullStart;do{if(this._hullTri[t]===u){this._hullTri[t]=e;break}t=this._hullPrev[t]}while(t!==this._hullStart)}this._link(e,r),this._link(o,n[a]),this._link(a,u);const s=l+(o+1)%3;i<$Y.length&&($Y[i++]=s)}else{if(0===i)break;e=$Y[--i]}}return a}_link(e,t){this._halfedges[e]=t,-1!==t&&(this._halfedges[t]=e)}_addTriangle(e,t,n,r,i,a){const o=this.trianglesLen;return this._triangles[o]=e,this._triangles[o+1]=t,this._triangles[o+2]=n,this._link(o,r),this._link(o+1,i),this._link(o+2,a),this.trianglesLen+=3,o}}function HY(e,t,n,r){const i=e-n,a=t-r;return i*i+a*a}function UY(e,t,n,r,i,a,o,s){const l=e-o,c=t-s,u=n-o,d=r-s,f=i-o,h=a-s,p=u*u+d*d,g=f*f+h*h;return l*(d*g-p*h)-c*(u*g-p*f)+(l*l+c*c)*(u*h-d*f)<0}function VY(e,t,n,r,i,a){const o=n-e,s=r-t,l=i-e,c=a-t,u=o*o+s*s,d=l*l+c*c,f=.5/(o*c-s*l),h=(c*u-s*d)*f,p=(o*d-l*u)*f;return h*h+p*p}function YY(e,t,n,r){if(r-n<=20)for(let i=n+1;i<=r;i++){const r=e[i],a=t[r];let o=i-1;for(;o>=n&&t[e[o]]>a;)e[o+1]=e[o--];e[o+1]=r}else{let i=n+1,a=r;GY(e,n+r>>1,i),t[e[n]]>t[e[r]]&&GY(e,n,r),t[e[i]]>t[e[r]]&&GY(e,i,r),t[e[n]]>t[e[i]]&&GY(e,n,i);const o=e[i],s=t[o];for(;;){do{i++}while(t[e[i]]<s);do{a--}while(t[e[a]]>s);if(a<i)break;GY(e,i,a)}e[n+1]=e[a],e[a]=o,r-i+1>=a-n?(YY(e,t,i,r),YY(e,t,n,a-1)):(YY(e,t,n,a-1),YY(e,t,i,r))}}function GY(e,t,n){const r=e[t];e[t]=e[n],e[n]=r}function XY(e){return e[0]}function JY(e){return e[1]}const ZY=1e-6;class KY{constructor(){this._x0=this._y0=this._x1=this._y1=null,this._=""}moveTo(e,t){this._+=`M${this._x0=this._x1=+e},${this._y0=this._y1=+t}`}closePath(){null!==this._x1&&(this._x1=this._x0,this._y1=this._y0,this._+="Z")}lineTo(e,t){this._+=`L${this._x1=+e},${this._y1=+t}`}arc(e,t,n){const r=(e=+e)+(n=+n),i=t=+t;if(n<0)throw new Error("negative radius");null===this._x1?this._+=`M${r},${i}`:(Math.abs(this._x1-r)>ZY||Math.abs(this._y1-i)>ZY)&&(this._+="L"+r+","+i),n&&(this._+=`A${n},${n},0,1,1,${e-n},${t}A${n},${n},0,1,1,${this._x1=r},${this._y1=i}`)}rect(e,t,n,r){this._+=`M${this._x0=this._x1=+e},${this._y0=this._y1=+t}h${+n}v${+r}h${-n}Z`}value(){return this._||null}}class QY{constructor(){this._=[]}moveTo(e,t){this._.push([e,t])}closePath(){this._.push(this._[0].slice())}lineTo(e,t){this._.push([e,t])}value(){return this._.length?this._:null}}class eG{constructor(e,[t,n,r,i]=[0,0,960,500]){if(!((r=+r)>=(t=+t)&&(i=+i)>=(n=+n)))throw new Error("invalid bounds");this.delaunay=e,this._circumcenters=new Float64Array(2*e.points.length),this.vectors=new Float64Array(2*e.points.length),this.xmax=r,this.xmin=t,this.ymax=i,this.ymin=n,this._init()}update(){return this.delaunay.update(),this._init(),this}_init(){const{delaunay:{points:e,hull:t,triangles:n},vectors:r}=this;let i,a;const o=this.circumcenters=this._circumcenters.subarray(0,n.length/3*2);for(let r,s,l=0,c=0,u=n.length;l<u;l+=3,c+=2){const u=2*n[l],d=2*n[l+1],f=2*n[l+2],h=e[u],p=e[u+1],g=e[d],m=e[d+1],v=e[f],b=e[f+1],y=g-h,_=m-p,w=v-h,x=b-p,k=2*(y*x-_*w);if(Math.abs(k)<1e-9){if(void 0===i){i=a=0;for(const n of t)i+=e[2*n],a+=e[2*n+1];i/=t.length,a/=t.length}const n=1e9*Math.sign((i-h)*x-(a-p)*w);r=(h+v)/2-n*x,s=(p+b)/2+n*w}else{const e=1/k,t=y*y+_*_,n=w*w+x*x;r=h+(x*t-_*n)*e,s=p+(y*n-w*t)*e}o[c]=r,o[c+1]=s}let s,l,c,u=t[t.length-1],d=4*u,f=e[2*u],h=e[2*u+1];r.fill(0);for(let n=0;n<t.length;++n)u=t[n],s=d,l=f,c=h,d=4*u,f=e[2*u],h=e[2*u+1],r[s+2]=r[d]=c-h,r[s+3]=r[d+1]=f-l}render(e){const t=null==e?e=new KY:void 0,{delaunay:{halfedges:n,inedges:r,hull:i},circumcenters:a,vectors:o}=this;if(i.length<=1)return null;for(let t=0,r=n.length;t<r;++t){const r=n[t];if(r<t)continue;const i=2*Math.floor(t/3),o=2*Math.floor(r/3),s=a[i],l=a[i+1],c=a[o],u=a[o+1];this._renderSegment(s,l,c,u,e)}let s,l=i[i.length-1];for(let t=0;t<i.length;++t){s=l,l=i[t];const n=2*Math.floor(r[l]/3),c=a[n],u=a[n+1],d=4*s,f=this._project(c,u,o[d+2],o[d+3]);f&&this._renderSegment(c,u,f[0],f[1],e)}return t&&t.value()}renderBounds(e){const t=null==e?e=new KY:void 0;return e.rect(this.xmin,this.ymin,this.xmax-this.xmin,this.ymax-this.ymin),t&&t.value()}renderCell(e,t){const n=null==t?t=new KY:void 0,r=this._clip(e);if(null===r||!r.length)return;t.moveTo(r[0],r[1]);let i=r.length;for(;r[0]===r[i-2]&&r[1]===r[i-1]&&i>1;)i-=2;for(let e=2;e<i;e+=2)r[e]===r[e-2]&&r[e+1]===r[e-1]||t.lineTo(r[e],r[e+1]);return t.closePath(),n&&n.value()}*cellPolygons(){const{delaunay:{points:e}}=this;for(let t=0,n=e.length/2;t<n;++t){const e=this.cellPolygon(t);e&&(e.index=t,yield e)}}cellPolygon(e){const t=new QY;return this.renderCell(e,t),t.value()}_renderSegment(e,t,n,r,i){let a;const o=this._regioncode(e,t),s=this._regioncode(n,r);0===o&&0===s?(i.moveTo(e,t),i.lineTo(n,r)):(a=this._clipSegment(e,t,n,r,o,s))&&(i.moveTo(a[0],a[1]),i.lineTo(a[2],a[3]))}contains(e,t,n){return(t=+t)==t&&(n=+n)==n&&this.delaunay._step(e,t,n)===e}*neighbors(e){const t=this._clip(e);if(t)for(const n of this.delaunay.neighbors(e)){const e=this._clip(n);if(e)e:for(let r=0,i=t.length;r<i;r+=2)for(let a=0,o=e.length;a<o;a+=2)if(t[r]===e[a]&&t[r+1]===e[a+1]&&t[(r+2)%i]===e[(a+o-2)%o]&&t[(r+3)%i]===e[(a+o-1)%o]){yield n;break e}}}_cell(e){const{circumcenters:t,delaunay:{inedges:n,halfedges:r,triangles:i}}=this,a=n[e];if(-1===a)return null;const o=[];let s=a;do{const n=Math.floor(s/3);if(o.push(t[2*n],t[2*n+1]),s=s%3==2?s-2:s+1,i[s]!==e)break;s=r[s]}while(s!==a&&-1!==s);return o}_clip(e){if(0===e&&1===this.delaunay.hull.length)return[this.xmax,this.ymin,this.xmax,this.ymax,this.xmin,this.ymax,this.xmin,this.ymin];const t=this._cell(e);if(null===t)return null;const{vectors:n}=this,r=4*e;return this._simplify(n[r]||n[r+1]?this._clipInfinite(e,t,n[r],n[r+1],n[r+2],n[r+3]):this._clipFinite(e,t))}_clipFinite(e,t){const n=t.length;let r,i,a,o,s=null,l=t[n-2],c=t[n-1],u=this._regioncode(l,c),d=0;for(let f=0;f<n;f+=2)if(r=l,i=c,l=t[f],c=t[f+1],a=u,u=this._regioncode(l,c),0===a&&0===u)o=d,d=0,s?s.push(l,c):s=[l,c];else{let t,n,f,h,p;if(0===a){if(null===(t=this._clipSegment(r,i,l,c,a,u)))continue;[n,f,h,p]=t}else{if(null===(t=this._clipSegment(l,c,r,i,u,a)))continue;[h,p,n,f]=t,o=d,d=this._edgecode(n,f),o&&d&&this._edge(e,o,d,s,s.length),s?s.push(n,f):s=[n,f]}o=d,d=this._edgecode(h,p),o&&d&&this._edge(e,o,d,s,s.length),s?s.push(h,p):s=[h,p]}if(s)o=d,d=this._edgecode(s[0],s[1]),o&&d&&this._edge(e,o,d,s,s.length);else if(this.contains(e,(this.xmin+this.xmax)/2,(this.ymin+this.ymax)/2))return[this.xmax,this.ymin,this.xmax,this.ymax,this.xmin,this.ymax,this.xmin,this.ymin];return s}_clipSegment(e,t,n,r,i,a){const o=i<a;for(o&&([e,t,n,r,i,a]=[n,r,e,t,a,i]);;){if(0===i&&0===a)return o?[n,r,e,t]:[e,t,n,r];if(i&a)return null;let s,l,c=i||a;8&c?(s=e+(n-e)*(this.ymax-t)/(r-t),l=this.ymax):4&c?(s=e+(n-e)*(this.ymin-t)/(r-t),l=this.ymin):2&c?(l=t+(r-t)*(this.xmax-e)/(n-e),s=this.xmax):(l=t+(r-t)*(this.xmin-e)/(n-e),s=this.xmin),i?(e=s,t=l,i=this._regioncode(e,t)):(n=s,r=l,a=this._regioncode(n,r))}}_clipInfinite(e,t,n,r,i,a){let o,s=Array.from(t);if((o=this._project(s[0],s[1],n,r))&&s.unshift(o[0],o[1]),(o=this._project(s[s.length-2],s[s.length-1],i,a))&&s.push(o[0],o[1]),s=this._clipFinite(e,s))for(let t,n=0,r=s.length,i=this._edgecode(s[r-2],s[r-1]);n<r;n+=2)t=i,i=this._edgecode(s[n],s[n+1]),t&&i&&(n=this._edge(e,t,i,s,n),r=s.length);else this.contains(e,(this.xmin+this.xmax)/2,(this.ymin+this.ymax)/2)&&(s=[this.xmin,this.ymin,this.xmax,this.ymin,this.xmax,this.ymax,this.xmin,this.ymax]);return s}_edge(e,t,n,r,i){for(;t!==n;){let n,a;switch(t){case 5:t=4;continue;case 4:t=6,n=this.xmax,a=this.ymin;break;case 6:t=2;continue;case 2:t=10,n=this.xmax,a=this.ymax;break;case 10:t=8;continue;case 8:t=9,n=this.xmin,a=this.ymax;break;case 9:t=1;continue;case 1:t=5,n=this.xmin,a=this.ymin}r[i]===n&&r[i+1]===a||!this.contains(e,n,a)||(r.splice(i,0,n,a),i+=2)}return i}_project(e,t,n,r){let i,a,o,s=1/0;if(r<0){if(t<=this.ymin)return null;(i=(this.ymin-t)/r)<s&&(o=this.ymin,a=e+(s=i)*n)}else if(r>0){if(t>=this.ymax)return null;(i=(this.ymax-t)/r)<s&&(o=this.ymax,a=e+(s=i)*n)}if(n>0){if(e>=this.xmax)return null;(i=(this.xmax-e)/n)<s&&(a=this.xmax,o=t+(s=i)*r)}else if(n<0){if(e<=this.xmin)return null;(i=(this.xmin-e)/n)<s&&(a=this.xmin,o=t+(s=i)*r)}return[a,o]}_edgecode(e,t){return(e===this.xmin?1:e===this.xmax?2:0)|(t===this.ymin?4:t===this.ymax?8:0)}_regioncode(e,t){return(e<this.xmin?1:e>this.xmax?2:0)|(t<this.ymin?4:t>this.ymax?8:0)}_simplify(e){if(e&&e.length>4){for(let t=0;t<e.length;t+=2){const n=(t+2)%e.length,r=(t+4)%e.length;(e[t]===e[n]&&e[n]===e[r]||e[t+1]===e[n+1]&&e[n+1]===e[r+1])&&(e.splice(n,2),t-=2)}e.length||(e=null)}return e}}const tG=2*Math.PI,nG=Math.pow;function rG(e){return e[0]}function iG(e){return e[1]}function aG(e,t,n){return[e+Math.sin(e+t)*n,t+Math.cos(e-t)*n]}class oG{static from(e,t=rG,n=iG,r){return new oG("length"in e?function(e,t,n,r){const i=e.length,a=new Float64Array(2*i);for(let o=0;o<i;++o){const i=e[o];a[2*o]=t.call(r,i,o,e),a[2*o+1]=n.call(r,i,o,e)}return a}(e,t,n,r):Float64Array.from(function*(e,t,n,r){let i=0;for(const a of e)yield t.call(r,a,i,e),yield n.call(r,a,i,e),++i}(e,t,n,r)))}constructor(e){this._delaunator=new qY(e),this.inedges=new Int32Array(e.length/2),this._hullIndex=new Int32Array(e.length/2),this.points=this._delaunator.coords,this._init()}update(){return this._delaunator.update(),this._init(),this}_init(){const e=this._delaunator,t=this.points;if(e.hull&&e.hull.length>2&&function(e){const{triangles:t,coords:n}=e;for(let e=0;e<t.length;e+=3){const r=2*t[e],i=2*t[e+1],a=2*t[e+2];if((n[a]-n[r])*(n[i+1]-n[r+1])-(n[i]-n[r])*(n[a+1]-n[r+1])>1e-10)return!1}return!0}(e)){this.collinear=Int32Array.from({length:t.length/2},((e,t)=>t)).sort(((e,n)=>t[2*e]-t[2*n]||t[2*e+1]-t[2*n+1]));const e=this.collinear[0],n=this.collinear[this.collinear.length-1],r=[t[2*e],t[2*e+1],t[2*n],t[2*n+1]],i=1e-8*Math.hypot(r[3]-r[1],r[2]-r[0]);for(let e=0,n=t.length/2;e<n;++e){const n=aG(t[2*e],t[2*e+1],i);t[2*e]=n[0],t[2*e+1]=n[1]}this._delaunator=new qY(t)}else delete this.collinear;const n=this.halfedges=this._delaunator.halfedges,r=this.hull=this._delaunator.hull,i=this.triangles=this._delaunator.triangles,a=this.inedges.fill(-1),o=this._hullIndex.fill(-1);for(let e=0,t=n.length;e<t;++e){const t=i[e%3==2?e-2:e+1];-1!==n[e]&&-1!==a[t]||(a[t]=e)}for(let e=0,t=r.length;e<t;++e)o[r[e]]=e;r.length<=2&&r.length>0&&(this.triangles=new Int32Array(3).fill(-1),this.halfedges=new Int32Array(3).fill(-1),this.triangles[0]=r[0],a[r[0]]=1,2===r.length&&(a[r[1]]=0,this.triangles[1]=r[1],this.triangles[2]=r[1]))}voronoi(e){return new eG(this,e)}*neighbors(e){const{inedges:t,hull:n,_hullIndex:r,halfedges:i,triangles:a,collinear:o}=this;if(o){const t=o.indexOf(e);return t>0&&(yield o[t-1]),void(t<o.length-1&&(yield o[t+1]))}const s=t[e];if(-1===s)return;let l=s,c=-1;do{if(yield c=a[l],l=l%3==2?l-2:l+1,a[l]!==e)return;if(l=i[l],-1===l){const t=n[(r[e]+1)%n.length];return void(t!==c&&(yield t))}}while(l!==s)}find(e,t,n=0){if((e=+e)!=e||(t=+t)!=t)return-1;const r=n;let i;for(;(i=this._step(n,e,t))>=0&&i!==n&&i!==r;)n=i;return i}_step(e,t,n){const{inedges:r,hull:i,_hullIndex:a,halfedges:o,triangles:s,points:l}=this;if(-1===r[e]||!l.length)return(e+1)%(l.length>>1);let c=e,u=nG(t-l[2*e],2)+nG(n-l[2*e+1],2);const d=r[e];let f=d;do{let r=s[f];const d=nG(t-l[2*r],2)+nG(n-l[2*r+1],2);if(d<u&&(u=d,c=r),f=f%3==2?f-2:f+1,s[f]!==e)break;if(f=o[f],-1===f){if(f=i[(a[e]+1)%i.length],f!==r&&nG(t-l[2*f],2)+nG(n-l[2*f+1],2)<u)return f;break}}while(f!==d);return c}render(e){const t=null==e?e=new KY:void 0,{points:n,halfedges:r,triangles:i}=this;for(let t=0,a=r.length;t<a;++t){const a=r[t];if(a<t)continue;const o=2*i[t],s=2*i[a];e.moveTo(n[o],n[o+1]),e.lineTo(n[s],n[s+1])}return this.renderHull(e),t&&t.value()}renderPoints(e,t){void 0!==t||e&&"function"==typeof e.moveTo||(t=e,e=null),t=null==t?2:+t;const n=null==e?e=new KY:void 0,{points:r}=this;for(let n=0,i=r.length;n<i;n+=2){const i=r[n],a=r[n+1];e.moveTo(i+t,a),e.arc(i,a,t,0,tG)}return n&&n.value()}renderHull(e){const t=null==e?e=new KY:void 0,{hull:n,points:r}=this,i=2*n[0],a=n.length;e.moveTo(r[i],r[i+1]);for(let t=1;t<a;++t){const i=2*n[t];e.lineTo(r[i],r[i+1])}return e.closePath(),t&&t.value()}hullPolygon(){const e=new QY;return this.renderHull(e),e.value()}renderTriangle(e,t){const n=null==t?t=new KY:void 0,{points:r,triangles:i}=this,a=2*i[e*=3],o=2*i[e+1],s=2*i[e+2];return t.moveTo(r[a],r[a+1]),t.lineTo(r[o],r[o+1]),t.lineTo(r[s],r[s+1]),t.closePath(),n&&n.value()}*trianglePolygons(){const{triangles:e}=this;for(let t=0,n=e.length/3;t<n;++t)yield this.trianglePolygon(t)}trianglePolygon(e){const t=new QY;return this.renderTriangle(e,t),t.value()}}function sG(){return sG=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},sG.apply(null,arguments)}function lG(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(-1!==t.indexOf(r))continue;n[r]=e[r]}return n}var cG={xDomain:[0,1],yDomain:[0,1],layers:["links","cells","points","bounds"],enableLinks:!1,linkLineWidth:1,linkLineColor:"#bbbbbb",enableCells:!0,cellLineWidth:2,cellLineColor:"#000000",pointSize:4,pointColor:"#666666",role:"img"},uG=function(e){return[e.x,e.y]},dG=lq,fG="cursor",hG=function(e){var t=e.points,n=e.getNodePosition,r=void 0===n?uG:n,i=e.margin,a=void 0===i?dG:i;return t.map((function(e){var t=r(e),n=t[0],i=t[1];return[n+a.left,i+a.top]}))},pG=function(e){var t=e.points,n=e.getNodePosition,r=void 0===n?uG:n,i=e.width,a=e.height,o=e.margin,l=void 0===o?dG:o,c=e.debug;return s((function(){return function(e){var t=e.points,n=e.width,r=e.height,i=e.margin,a=void 0===i?dG:i,o=e.debug,s=oG.from(t),l=o?s.voronoi([0,0,a.left+n+a.right,a.top+r+a.bottom]):void 0;return{points:t,delaunay:s,voronoi:l}}({points:hG({points:t,margin:l,getNodePosition:r}),width:i,height:a,margin:l,debug:c})}),[r,t,i,a,l,c])},gG=["theme"],mG=function(e){var t=e.data,n=e.width,r=e.height,i=e.margin,a=e.layers,o=void 0===a?cG.layers:a,l=e.xDomain,c=void 0===l?cG.xDomain:l,u=e.yDomain,d=void 0===u?cG.yDomain:u,h=e.enableLinks,g=void 0===h?cG.enableLinks:h,m=e.linkLineWidth,v=void 0===m?cG.linkLineWidth:m,b=e.linkLineColor,y=void 0===b?cG.linkLineColor:b,_=e.enableCells,w=void 0===_?cG.enableCells:_,x=e.cellLineWidth,k=void 0===x?cG.cellLineWidth:x,C=e.cellLineColor,A=void 0===C?cG.cellLineColor:C,S=e.enablePoints,E=void 0===S?cG.enableCells:S,M=e.pointSize,R=void 0===M?cG.pointSize:M,T=e.pointColor,L=void 0===T?cG.pointColor:T,D=e.role,O=void 0===D?cG.role:D,F=e.forwardedRef,z=cq(n,r,i),P=z.outerWidth,N=z.outerHeight,j=z.margin,I=function(e){var t=e.data,n=e.width,r=e.height,i=e.xDomain,a=e.yDomain,o=s((function(){return Jl().domain(i).range([0,n])}),[i,n]),l=s((function(){return Jl().domain(a).range([0,r])}),[a,r]),c=s((function(){return t.map((function(e){return{x:o(e.x),y:l(e.y),data:e}}))}),[t,o,l]);return s((function(){var e=oG.from(c.map((function(e){return[e.x,e.y]}))),t=e.voronoi([0,0,n,r]);return{points:c,delaunay:e,voronoi:t}}),[c,n,r])}({data:t,width:z.innerWidth,height:z.innerHeight,xDomain:c,yDomain:d}),B=I.points,W=I.delaunay,$=I.voronoi,q={links:null,cells:null,points:null,bounds:null};g&&o.includes("links")&&(q.links=yi("path",{stroke:y,strokeWidth:v,fill:"none",d:W.render()},"links")),w&&o.includes("cells")&&(q.cells=yi("path",{d:$.render(),fill:"none",stroke:A,strokeWidth:k},"cells")),E&&o.includes("points")&&(q.points=yi("path",{stroke:"none",fill:L,d:W.renderPoints(void 0,R/2)},"points")),o.includes("bounds")&&(q.bounds=yi("path",{fill:"none",stroke:A,strokeWidth:k,d:$.renderBounds()},"bounds"));var H=function(e){var t=e.points,n=e.delaunay,r=e.voronoi;return s((function(){return{points:t,delaunay:n,voronoi:r}}),[t,n,r])}({points:B,delaunay:W,voronoi:$});return yi(Q$,{width:P,height:N,margin:j,role:O,ref:F,children:o.map((function(e,t){return void 0!==q[e]?q[e]:"function"==typeof e?yi(p,{children:f(e,H)},t):null}))})},vG=a((function(e,t){var n=e.theme,r=lG(e,gG);return yi(b$,{isInteractive:!1,animate:!1,theme:n,children:yi(mG,sG({},r,{forwardedRef:t}))})})),bG=["defaultWidth","defaultHeight","onResize","debounceResize"];a((function(e,t){var n=e.defaultWidth,r=e.defaultHeight,i=e.onResize,a=e.debounceResize,o=lG(e,bG);return yi(w$,{defaultWidth:n,defaultHeight:r,onResize:i,debounceResize:a,children:function(e){var n=e.width,r=e.height;return yi(vG,sG({},o,{width:n,height:r,ref:t}))}})}));var yG=function(e){var r=e.nodes,a=e.width,l=e.height,c=e.margin,u=void 0===c?dG:c,d=e.getNodePosition,f=e.setCurrent,h=e.onMouseEnter,p=e.onMouseMove,g=e.onMouseLeave,m=e.onMouseDown,v=e.onMouseUp,b=e.onClick,_=e.onDoubleClick,w=e.onTouchStart,x=e.onTouchMove,k=e.onTouchEnd,C=e.enableTouchCrosshair,A=void 0!==C&&C,S=e.detectionRadius,E=void 0===S?1/0:S,M=e.tooltip,R=e.tooltipPosition,T=void 0===R?fG:R,L=e.tooltipAnchor,D=void 0===L?"top":L,O=e.debug,F=i(null),z=pG({points:r,getNodePosition:d,width:a,height:l,margin:u,debug:O}),P=z.delaunay,N=z.voronoi,j=function(e){var r=e.elementRef,a=e.nodes,l=e.getNodePosition,c=void 0===l?uG:l,u=e.delaunay,d=e.setCurrent,f=e.margin,h=void 0===f?dG:f,p=e.detectionRadius,g=void 0===p?1/0:p,m=e.isInteractive,v=void 0===m||m,b=e.onMouseEnter,y=e.onMouseMove,_=e.onMouseLeave,w=e.onMouseDown,x=e.onMouseUp,k=e.onClick,C=e.onDoubleClick,A=e.onTouchStart,S=e.onTouchMove,E=e.onTouchEnd,M=e.enableTouchCrosshair,R=void 0!==M&&M,T=e.tooltip,L=e.tooltipPosition,D=void 0===L?fG:L,O=e.tooltipAnchor,F=void 0===O?"top":O,z=t(null),P=z[0],N=z[1],j=i(null);n((function(){j.current=P}),[j,P]);var I=o((function(e){if(!r.current||0===a.length)return null;var t=vq(r.current,e),n=t[0],i=t[1],o=u.find(n,i),s=void 0!==o?a[o]:null;if(s&&g!==1/0){var l=c(s),d=l[0],f=l[1];gq(n,i,d+h.left,f+h.top)>g&&(o=null,s=null)}return null===o||null===s?null:[o,s]}),[r,u,a,c,h,g]),B=eP(),W=B.showTooltipAt,$=B.showTooltipFromEvent,q=B.hideTooltip,H=s((function(){if(T)return"cursor"===D?function(e,t){$(T(e),t,F)}:function(e){var t=c(e),n=t[0],r=t[1];W(T(e),[n+h.left,r+h.top],F)}}),[W,$,T,D,F,c,h]),U=o((function(e){var t=I(e);if(N(t),null==d||d(t?t[1]:null),t){var n=t[1];null==H||H(n,e),null==b||b(t[1],e)}}),[I,N,d,H,b]),V=o((function(e){var t=I(e);if(N(t),t){var n=t[0],r=t[1];if(null==d||d(r),null==H||H(r,e),j.current){var i=j.current,a=i[0],o=i[1];n!==a?null==_||_(o,e):null==y||y(r,e)}else null==b||b(r,e)}else null==d||d(null),null==q||q(),j.current&&(null==_||_(j.current[1],e))}),[I,N,d,j,b,y,_,H,q]),Y=o((function(e){N(null),null==d||d(null),q(),_&&j.current&&_(j.current[1],e)}),[N,d,j,q,_]),G=o((function(e){var t=I(e);N(t),t&&(null==w||w(t[1],e))}),[I,N,w]),X=o((function(e){var t=I(e);N(t),t&&(null==x||x(t[1],e))}),[I,N,x]),J=o((function(e){var t=I(e);N(t),t&&(null==k||k(t[1],e))}),[I,N,k]),Z=o((function(e){var t=I(e);N(t),t&&(null==C||C(t[1],e))}),[I,N,C]),K=o((function(e){var t=I(e);R&&(N(t),null==d||d(t?t[1]:null)),t&&(null==A||A(t[1],e))}),[I,N,d,R,A]),Q=o((function(e){var t=I(e);R&&(N(t),null==d||d(t?t[1]:null)),t&&(null==S||S(t[1],e))}),[I,N,d,R,S]),ee=o((function(e){R&&(N(null),null==d||d(null)),E&&j.current&&E(j.current[1],e)}),[R,N,d,E,j]);return{current:P,handleMouseEnter:v?U:void 0,handleMouseMove:v?V:void 0,handleMouseLeave:v?Y:void 0,handleMouseDown:v?G:void 0,handleMouseUp:v?X:void 0,handleClick:v?J:void 0,handleDoubleClick:v?Z:void 0,handleTouchStart:v?K:void 0,handleTouchMove:v?Q:void 0,handleTouchEnd:v?ee:void 0}}({elementRef:F,nodes:r,delaunay:P,margin:u,detectionRadius:E,setCurrent:f,onMouseEnter:h,onMouseMove:p,onMouseLeave:g,onMouseDown:m,onMouseUp:v,onClick:b,onDoubleClick:_,onTouchStart:w,onTouchMove:x,onTouchEnd:k,enableTouchCrosshair:A,tooltip:M,tooltipPosition:T,tooltipAnchor:D}),I=j.current,B=j.handleMouseEnter,W=j.handleMouseMove,$=j.handleMouseLeave,q=j.handleMouseDown,H=j.handleMouseUp,U=j.handleClick,V=j.handleDoubleClick,Y=j.handleTouchStart,G=j.handleTouchMove,X=j.handleTouchEnd,J=s((function(){if(O&&N)return N.render()}),[O,N]);return yi("g",{ref:F,transform:"translate("+-u.left+","+-u.top+")",children:[O&&N&&yi(y,{children:[yi("path",{d:J,stroke:"red",strokeWidth:1,opacity:.75}),E<1/0&&yi("path",{stroke:"red",strokeWidth:.35,fill:"none",d:P.renderPoints(void 0,E)}),I&&yi("path",{fill:"pink",opacity:.35,d:N.renderCell(I[0])})]}),yi("rect",{"data-ref":"mesh-interceptor",width:u.left+a+u.right,height:u.top+l+u.bottom,fill:"red",opacity:0,style:{cursor:"auto"},onMouseEnter:B,onMouseMove:W,onMouseLeave:$,onMouseDown:q,onMouseUp:H,onTouchStart:Y,onTouchMove:G,onTouchEnd:X,onClick:U,onDoubleClick:V})]})};function _G(){return _G=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},_G.apply(null,arguments)}function wG(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(-1!==t.indexOf(r))continue;n[r]=e[r]}return n}var xG,kG={xScale:{type:"point"},yScale:{type:"linear",min:0,max:"auto"},curve:"linear",colors:{scheme:"nivo"},lineWidth:2,layers:["grid","markers","axes","areas","crosshair","lines","points","slices","mesh","legends"],enablePoints:!0,pointSize:6,pointColor:{from:"series.color"},pointBorderWidth:0,pointBorderColor:{theme:"background"},enableArea:!1,areaBaselineValue:0,areaOpacity:.2,enableGridX:!0,enableGridY:!0,legends:[],isInteractive:!0,tooltip:u((function(e){var t=e.point;return yi(Hz,{id:yi("span",{children:["x: ",yi("strong",{children:t.data.xFormatted}),", y:"," ",yi("strong",{children:t.data.yFormatted})]}),enableChip:!0,color:t.seriesColor})})),sliceTooltip:u((function(e){var t=e.slice,n=e.axis,r=Nz(),i="x"===n?"y":"x";return yi(Vz,{rows:t.points.map((function(e){return[yi(qz,{color:e.seriesColor,style:r.tooltip.chip},"chip"),e.seriesId,yi("span",{style:r.tooltip.tableCellValue,children:e.data[i+"Formatted"]},"value")]}))})})),debugMesh:!1,renderWrapper:!0},CG=_G({},kG,{defs:[],fill:[],enablePointLabel:!1,pointLabel:"data.yFormatted",areaBlendMode:"normal",axisTop:null,axisRight:null,axisBottom:kV,axisLeft:kV,useMesh:!1,enableSlices:!1,debugSlices:!1,enableCrosshair:!0,crosshairType:"bottom-left",enableTouchCrosshair:!1,initialHiddenIds:[],animate:!0,motionConfig:"gentle",role:"img",isFocusable:!1}),AG=_G({},kG,{pixelRatio:"undefined"!=typeof window&&null!=(xG=window.devicePixelRatio)?xG:1,axisTop:null,axisRight:null,axisBottom:kV,axisLeft:kV});function SG(e){return s((function(){return ff().defined((function(e){return null!==e.x&&null!==e.y})).x((function(e){return e.x})).y((function(e){return e.y})).curve(sq(e))}),[e])}function EG(e){var t=e.curve,n=e.yScale,r=e.areaBaselineValue;return s((function(){return hf().defined((function(e){return null!==e.x&&null!==e.y})).x((function(e){return e.x})).y1((function(e){return e.y})).curve(sq(t)).y0(n(r))}),[t,n,r])}var MG=function(e){var n=e.data,r=e.xScale,i=void 0===r?kG.xScale:r,a=e.xFormat,l=e.yScale,c=void 0===l?kG.yScale:l,u=e.yFormat,d=e.width,f=e.height,h=e.colors,p=void 0===h?kG.colors:h,g=e.curve,m=void 0===g?kG.curve:g,v=e.areaBaselineValue,b=void 0===v?kG.areaBaselineValue:v,y=e.pointColor,_=void 0===y?kG.pointColor:y,w=e.pointBorderColor,x=void 0===w?kG.pointBorderColor:w,k=e.enableSlices,C=void 0===k?CG.enableSlices:k,A=e.initialHiddenIds,S=void 0===A?CG.initialHiddenIds:A,E=t(LY("line"))[0],M=fq(a),R=fq(u),T=nY(p,"id"),L=Nz(),D=YV(_,L),O=YV(x,L),F=t(null!=S?S:[]),z=F[0],P=F[1],N=s((function(){return sV(n.filter((function(e){return-1===z.indexOf(e.id)})),i,c,d,f)}),[n,z,i,c,d,f]),j=N.xScale,I=N.yScale,B=N.series,W=s((function(){var e=n.map((function(e){return{id:e.id,label:""+e.id,color:T(e)}})),t=e.map((function(e){return _G({},B.find((function(t){return t.id===e.id})),{color:e.color})})).filter((function(e){return Boolean(e.id)}));return{legendData:e.map((function(e){return _G({},e,{hidden:!t.find((function(t){return t.id===e.id}))})})).reverse(),series:t}}),[n,B,T]),$=W.legendData,q=W.series,H=o((function(e){P((function(t){return t.indexOf(e)>-1?t.filter((function(t){return t!==e})):[].concat(t,[e])}))}),[]),U=function(e){var t=e.series,n=e.getPointColor,r=e.getPointBorderColor,i=e.formatX,a=e.formatY;return s((function(){return t.reduce((function(e,t,o){return[].concat(e,t.data.filter((function(e){return null!==e.position.x&&null!==e.position.y})).map((function(s,l){var c={id:t.id+"."+l,indexInSeries:l,absIndex:e.length+l,seriesIndex:o,seriesId:t.id,seriesColor:t.color,x:s.position.x,y:s.position.y,data:_G({},s.data,{xFormatted:i(s.data.x),yFormatted:a(s.data.y)})};return c.color=n({series:t,point:c}),c.borderColor=r(c),c})))}),[])}),[t,n,r,i,a])}({series:q,getPointColor:D,getPointBorderColor:O,formatX:M,formatY:R}),V=function(e){var t=e.componentId,n=e.enableSlices,r=e.points,i=e.width,a=e.height;return s((function(){if("x"===n){var e=new Map;return r.forEach((function(t){null!==t.data.x&&null!==t.data.y&&(e.has(t.x)?e.get(t.x).push(t):e.set(t.x,[t]))})),Array.from(e.entries()).sort((function(e,t){return e[0]-t[0]})).map((function(e,n,r){var o,s,l=e[0],c=e[1],u=r[n-1],d=r[n+1];return o=u?l-(l-u[0])/2:l,s=d?l-o+(d[0]-l)/2:i-o,{id:"slice:"+t+":"+l,x0:o,x:l,y0:0,y:0,width:s,height:a,points:c.reverse()}}))}if("y"===n){var o=new Map;return r.forEach((function(e){null!==e.data.x&&null!==e.data.y&&(o.has(e.y)?o.get(e.y).push(e):o.set(e.y,[e]))})),Array.from(o.entries()).sort((function(e,t){return e[0]-t[0]})).map((function(e,t,n){var r,o,s=e[0],l=e[1],c=n[t-1],u=n[t+1];return r=c?s-(s-c[0])/2:s,o=u?s-r+(u[0]-s)/2:a-r,{id:s,x0:0,x:0,y0:r,y:s,width:i,height:o,points:l.reverse()}}))}return[]}),[t,n,a,r,i])}({componentId:E,enableSlices:C,points:U,width:d,height:f});return{legendData:$,toggleSeries:H,lineGenerator:SG(m),areaGenerator:EG({curve:m,yScale:I,areaBaselineValue:b}),getColor:T,series:q,xScale:j,yScale:I,slices:V,points:U}},RG=function(e){var t=e.areaBlendMode,n=e.areaOpacity,r=e.color,i=e.fill,a=e.path,o=g$(),s=o.animate,l=o.config,c=iq(a),u=_T({color:r,config:l,immediate:!s});return yi(vD.path,{d:c,fill:i||u.color,fillOpacity:n,strokeWidth:0,style:{mixBlendMode:t}})},TG=u((function(e){var t=e.areaGenerator,n=e.areaOpacity,r=e.areaBlendMode;return yi("g",{children:e.series.slice(0).reverse().map((function(e){return yi(RG,_G({path:t(e.data.map((function(e){return e.position})))},_G({areaOpacity:n,areaBlendMode:r},e)),""+e.id)}))})})),LG=u((function(e){var t=e.lineGenerator,n=e.points,r=e.color,i=e.thickness,a=s((function(){return t(n)}),[t,n]),o=iq(a);return yi(vD.path,{d:o,fill:"none",strokeWidth:i,stroke:r})})),DG=u((function(e){var t=e.series,n=e.lineGenerator,r=e.lineWidth;return yi(y,{children:t.slice(0).reverse().map((function(e){var t=e.id,i=e.data,a=e.color;return yi(LG,{points:i.map((function(e){return e.position})),lineGenerator:n,color:a,thickness:r},t)}))})})),OG=u((function(e){var t=e.slice,n=e.slices,r=e.axis,i=e.debug,a=e.tooltip,s=e.isCurrent,l=e.setCurrent,c=e.onMouseEnter,u=e.onMouseMove,d=e.onMouseLeave,h=e.onMouseDown,p=e.onMouseUp,g=e.onClick,m=e.onDoubleClick,v=e.onTouchStart,b=e.onTouchMove,y=e.onTouchEnd,_=eP(),w=_.showTooltipFromEvent,x=_.hideTooltip,k=o((function(e){w(f(a,{slice:t,axis:r}),e,"right"),l(t),null==c||c(t,e)}),[w,a,t,r,l,c]),C=o((function(e){w(f(a,{slice:t,axis:r}),e,"right"),null==u||u(t,e)}),[w,a,t,r,u]),A=o((function(e){x(),l(null),null==d||d(t,e)}),[x,l,d,t]),S=o((function(e){null==h||h(t,e)}),[t,h]),E=o((function(e){null==p||p(t,e)}),[t,p]),M=o((function(e){null==g||g(t,e)}),[t,g]),R=o((function(e){null==m||m(t,e)}),[t,m]),T=o((function(e){w(f(a,{slice:t,axis:r}),e,"right"),l(t),null==v||v(t,e)}),[r,v,l,w,t,a]),L=o((function(e){var i=e.touches[0],o=document.elementFromPoint(i.clientX,i.clientY),s=null==o?void 0:o.getAttribute("data-ref");if(s){var c=n.find((function(e){return e.id===s}));c&&(w(f(a,{slice:c,axis:r}),e,"right"),l(c))}null==b||b(t,e)}),[r,b,l,w,t,n,a]),D=o((function(e){x(),l(null),null==y||y(t,e)}),[x,l,y,t]);return yi("rect",{x:t.x0,y:t.y0,width:t.width,height:t.height,stroke:"red",strokeWidth:i?1:0,strokeOpacity:.75,fill:"red",fillOpacity:s&&i?.35:0,onMouseEnter:k,onMouseMove:C,onMouseLeave:A,onMouseDown:S,onMouseUp:E,onClick:M,onDoubleClick:R,onTouchStart:T,onTouchMove:L,onTouchEnd:D,"data-ref":t.id})})),FG=u((function(e){var t=e.slices,n=e.axis,r=e.debug,i=e.tooltip,a=e.current,o=e.setCurrent,s=e.onMouseEnter,l=e.onMouseMove,c=e.onMouseLeave,u=e.onMouseDown,d=e.onMouseUp,f=e.onClick,h=e.onDoubleClick,p=e.onTouchStart,g=e.onTouchMove,m=e.onTouchEnd;return yi(y,{children:t.map((function(e){return yi(OG,{slice:e,slices:t,axis:n,debug:r,tooltip:i,setCurrent:o,isCurrent:null!==a&&a.id===e.id,onMouseEnter:s,onMouseMove:l,onMouseLeave:c,onMouseDown:u,onMouseUp:d,onClick:f,onDoubleClick:h,onTouchStart:p,onTouchMove:g,onTouchEnd:m},e.id)}))})})),zG=u((function(e){var t=e.points,n=e.symbol,r=e.size,i=e.borderWidth,a=e.enableLabel,o=e.label,s=e.labelYOffset,l=e.isFocusable,c=e.setCurrentPoint,u=e.tooltip,d=e.margin,h=e.ariaLabel,p=e.ariaLabelledBy,g=e.ariaDescribedBy,m=e.ariaHidden,v=e.ariaDisabled,b=function(e){var t=_j(e)?e:function(t){return kz(t,e)};return t}(o),y=eP(),_=y.showTooltipAt,w=y.hideTooltip,x=t.slice(0).sort((function(e,t){return e.indexInSeries-t.indexInSeries})).sort((function(e,t){return t.seriesIndex-e.seriesIndex})).map((function(e){return{id:e.id,x:e.x,y:e.y,datum:e.data,fill:e.color,stroke:e.borderColor,label:a?b(e):null,ariaLabel:h?h(e):void 0,ariaLabelledBy:p?p(e):void 0,ariaDescribedBy:g?g(e):void 0,ariaHidden:m?m(e):void 0,ariaDisabled:v?v(e):void 0,onFocus:l?function(){c(e),_(f(u,{point:e}),[d.left+e.x,d.top+e.y],"top")}:void 0,onBlur:l?function(){c(null),w()}:void 0}}));return yi("g",{children:x.map((function(e){return yi(tq,{x:e.x,y:e.y,datum:e.datum,symbol:n,size:r,color:e.fill,borderWidth:i,borderColor:e.stroke,label:e.label,labelYOffset:s,ariaLabel:e.ariaLabel,ariaLabelledBy:e.ariaLabelledBy,ariaDescribedBy:e.ariaDescribedBy,ariaHidden:e.ariaHidden,ariaDisabled:e.ariaDisabled,isFocusable:l,onFocus:e.onFocus,onBlur:e.onBlur,testId:"line.point."+e.id},e.id)}))})})),PG=u((function(e){var t=e.points,n=e.width,r=e.height,i=e.margin,a=e.setCurrent,s=e.onMouseEnter,l=e.onMouseMove,c=e.onMouseLeave,u=e.onMouseDown,d=e.onMouseUp,h=e.onClick,p=e.onDoubleClick,g=e.onTouchStart,m=e.onTouchMove,v=e.onTouchEnd,b=e.tooltip,y=e.debug,_=e.enableTouchCrosshair,w=eP(),x=w.showTooltipAt,k=w.hideTooltip,C=o((function(e,t){x(f(b,{point:e}),[e.x+i.left,e.y+i.top],"top"),null==s||s(e,t)}),[x,b,s,i]),A=o((function(e,t){x(f(b,{point:e}),[e.x+i.left,e.y+i.top],"top"),null==l||l(e,t)}),[x,b,i.left,i.top,l]),S=o((function(e,t){k(),null==c||c(e,t)}),[k,c]),E=o((function(e,t){null==u||u(e,t)}),[u]),M=o((function(e,t){null==d||d(e,t)}),[d]),R=o((function(e,t){null==h||h(e,t)}),[h]),T=o((function(e,t){null==p||p(e,t)}),[p]),L=o((function(e,t){x(f(b,{point:e}),[e.x+i.left,e.y+i.top],"top"),null==g||g(e,t)}),[i.left,i.top,g,x,b]),D=o((function(e,t){x(f(b,{point:e}),[e.x+i.left,e.y+i.top],"top"),null==m||m(e,t)}),[i.left,i.top,m,x,b]),O=o((function(e,t){k(),null==v||v(e,t)}),[v,k]);return yi(yG,{nodes:t,width:n,height:r,setCurrent:a,onMouseEnter:C,onMouseMove:A,onMouseLeave:S,onMouseDown:E,onMouseUp:M,onClick:R,onDoubleClick:T,onTouchStart:L,onTouchMove:D,onTouchEnd:O,enableTouchCrosshair:_,debug:y})})),NG=["isInteractive","animate","motionConfig","theme","renderWrapper"];function jG(e){var n=e.data,r=e.xScale,i=void 0===r?CG.xScale:r,a=e.xFormat,o=e.yScale,s=void 0===o?CG.yScale:o,l=e.yFormat,c=e.curve,u=void 0===c?CG.curve:c,d=e.margin,f=e.width,h=e.height,g=e.colors,m=void 0===g?CG.colors:g,v=e.lineWidth,b=void 0===v?CG.lineWidth:v,y=e.layers,_=void 0===y?CG.layers:y,w=e.enableArea,x=void 0===w?CG.enableArea:w,k=e.areaBaselineValue,C=void 0===k?CG.areaBaselineValue:k,A=e.areaOpacity,S=void 0===A?CG.areaOpacity:A,E=e.areaBlendMode,M=void 0===E?CG.areaBlendMode:E,R=e.enablePoints,T=void 0===R?CG.enablePoints:R,L=e.pointSymbol,D=e.pointSize,O=void 0===D?CG.pointSize:D,F=e.pointColor,z=void 0===F?CG.pointColor:F,P=e.pointBorderWidth,N=void 0===P?CG.pointBorderWidth:P,j=e.pointBorderColor,I=void 0===j?CG.pointBorderColor:j,B=e.enablePointLabel,W=void 0===B?CG.enablePointLabel:B,$=e.pointLabel,q=void 0===$?CG.pointLabel:$,H=e.pointLabelYOffset,U=e.enableGridX,V=void 0===U?CG.enableGridX:U,Y=e.gridXValues,G=e.enableGridY,X=void 0===G?CG.enableGridY:G,J=e.gridYValues,Z=e.axisTop,K=e.axisRight,Q=e.axisBottom,ee=void 0===Q?CG.axisBottom:Q,te=e.axisLeft,ne=void 0===te?CG.axisLeft:te,re=e.defs,ie=void 0===re?CG.defs:re,ae=e.fill,oe=void 0===ae?CG.fill:ae,se=e.markers,le=e.legends,ce=void 0===le?CG.legends:le,ue=e.isInteractive,de=void 0===ue?CG.isInteractive:ue,fe=e.useMesh,he=void 0===fe?CG.useMesh:fe,pe=e.debugMesh,ge=void 0===pe?CG.debugMesh:pe,me=e.onMouseEnter,ve=e.onMouseMove,be=e.onMouseLeave,ye=e.onMouseDown,_e=e.onMouseUp,we=e.onClick,xe=e.onDoubleClick,ke=e.onTouchStart,Ce=e.onTouchMove,Ae=e.onTouchEnd,Se=e.tooltip,Ee=void 0===Se?CG.tooltip:Se,Me=e.enableSlices,Re=void 0===Me?CG.enableSlices:Me,Te=e.debugSlices,Le=void 0===Te?CG.debugSlices:Te,De=e.sliceTooltip,Oe=void 0===De?CG.sliceTooltip:De,Fe=e.enableCrosshair,ze=void 0===Fe?CG.enableCrosshair:Fe,Pe=e.crosshairType,Ne=void 0===Pe?CG.crosshairType:Pe,je=e.enableTouchCrosshair,Ie=void 0===je?CG.enableTouchCrosshair:je,Be=e.role,We=void 0===Be?CG.role:Be,$e=e.ariaLabel,qe=e.ariaLabelledBy,He=e.ariaDescribedBy,Ue=e.isFocusable,Ve=void 0===Ue?CG.isFocusable:Ue,Ye=e.pointAriaLabel,Ge=e.pointAriaLabelledBy,Xe=e.pointAriaDescribedBy,Je=e.pointAriaHidden,Ze=e.pointAriaDisabled,Ke=e.initialHiddenIds,Qe=void 0===Ke?CG.initialHiddenIds:Ke,et=e.forwardedRef,tt=cq(f,h,d),nt=tt.margin,rt=tt.innerWidth,it=tt.innerHeight,at=tt.outerWidth,ot=tt.outerHeight,st=MG({data:n,xScale:i,xFormat:a,yScale:s,yFormat:l,width:rt,height:it,colors:m,curve:u,areaBaselineValue:C,pointColor:z,pointBorderColor:I,enableSlices:Re,initialHiddenIds:Qe}),lt=st.legendData,ct=st.toggleSeries,ut=st.lineGenerator,dt=st.areaGenerator,ft=st.series,ht=st.xScale,pt=st.yScale,gt=st.slices,mt=st.points,vt=t(null),bt=vt[0],yt=vt[1],_t=t(null),wt=_t[0],xt=_t[1],kt={grid:null,markers:null,axes:null,areas:null,crosshair:null,lines:null,points:null,slices:null,mesh:null,legends:null};_.includes("grid")&&(V||X)&&(kt.grid=yi(RV,{width:rt,height:it,xScale:V?ht:null,yScale:X?pt:null,xValues:Y,yValues:J},"grid")),_.includes("markers")&&Array.isArray(se)&&se.length>0&&(kt.markers=yi(rq,{markers:se,width:rt,height:it,xScale:ht,yScale:pt},"markers")),_.includes("axes")&&(kt.axes=yi(SV,{xScale:ht,yScale:pt,width:rt,height:it,top:Z,right:K,bottom:ee,left:ne},"axes")),_.includes("lines")&&(kt.lines=yi(DG,{series:ft,lineGenerator:ut,lineWidth:b},"lines")),_.includes("legends")&&ce.length>0&&(kt.legends=yi(p,{children:ce.map((function(e,t){return yi(EY,_G({},e,{containerWidth:rt,containerHeight:it,data:e.data||lt,toggleSerie:e.toggleSerie?ct:void 0}),t)}))},"legends"));var Ct=_q(ie,ft,oe);x&&(kt.areas=yi(TG,{areaGenerator:dt,areaOpacity:S,areaBlendMode:M,series:ft},"areas")),de&&!1!==Re&&(kt.slices=yi(FG,{slices:gt,axis:Re,debug:Le,tooltip:Oe,current:wt,setCurrent:xt,onMouseEnter:me,onMouseMove:ve,onMouseLeave:be,onMouseDown:ye,onMouseUp:_e,onClick:we,onDoubleClick:xe,onTouchStart:ke,onTouchMove:Ce,onTouchEnd:Ae},"slices")),T&&(kt.points=yi(zG,{points:mt,symbol:L,size:O,borderWidth:N,enableLabel:W,label:q,labelYOffset:H,isFocusable:Ve,setCurrentPoint:yt,tooltip:Ee,margin:nt,ariaLabel:Ye,ariaLabelledBy:Ge,ariaDescribedBy:Xe,ariaHidden:Je,ariaDisabled:Ze},"points")),de&&ze&&(null!==bt&&(kt.crosshair=yi(Gz,{width:rt,height:it,x:bt.x,y:bt.y,type:Ne},"crosshair")),null!==wt&&Re&&(kt.crosshair=yi(Gz,{width:rt,height:it,x:wt.x,y:wt.y,type:Re},"crosshair"))),de&&he&&!1===Re&&(kt.mesh=yi(PG,{points:mt,width:rt,height:it,margin:nt,setCurrent:yt,onMouseEnter:me,onMouseMove:ve,onMouseLeave:be,onMouseDown:ye,onMouseUp:_e,onClick:we,onDoubleClick:xe,onTouchStart:ke,onTouchMove:Ce,onTouchEnd:Ae,tooltip:Ee,enableTouchCrosshair:Ie,debug:ge},"mesh"));var At=_G({},e,{innerWidth:rt,innerHeight:it,series:ft,slices:gt,points:mt,xScale:ht,yScale:pt,lineGenerator:ut,areaGenerator:dt,currentPoint:bt,setCurrentPoint:yt,currentSlice:wt,setCurrentSlice:xt});return yi(Q$,{defs:Ct,width:at,height:ot,margin:nt,role:We,ariaLabel:$e,ariaLabelledBy:qe,ariaDescribedBy:He,isFocusable:Ve,ref:et,children:_.map((function(e,t){return"function"==typeof e?yi(p,{children:e(At)},t):kt[e]}))})}var IG=a((function(e,t){var n=e.isInteractive,r=void 0===n?CG.isInteractive:n,i=e.animate,a=void 0===i?CG.animate:i,o=e.motionConfig,s=void 0===o?CG.motionConfig:o,l=e.theme,c=e.renderWrapper,u=wG(e,NG);return yi(b$,{animate:a,isInteractive:r,motionConfig:s,renderWrapper:c,theme:l,children:yi(jG,_G({isInteractive:r},u,{forwardedRef:t}))})})),BG=["defaultWidth","defaultHeight","onResize","debounceResize"],WG=a((function(e,t){var n=e.defaultWidth,r=e.defaultHeight,i=e.onResize,a=e.debounceResize,o=wG(e,BG);return yi(w$,{defaultWidth:n,defaultHeight:r,onResize:i,debounceResize:a,children:function(e){var n=e.width,r=e.height;return yi(IG,_G({width:n,height:r},o,{ref:t}))}})})),$G=["isInteractive","renderWrapper","theme"],qG=function(e){var r=e.width,a=e.height,l=e.margin,c=e.pixelRatio,u=void 0===c?AG.pixelRatio:c,d=e.data,h=e.xScale,p=void 0===h?AG.xScale:h,g=e.xFormat,m=e.yScale,v=void 0===m?AG.yScale:m,b=e.yFormat,y=e.curve,_=void 0===y?AG.curve:y,w=e.layers,x=void 0===w?AG.layers:w,k=e.colors,C=void 0===k?AG.colors:k,A=e.lineWidth,S=void 0===A?AG.lineWidth:A,E=e.enableArea,M=void 0===E?AG.enableArea:E,R=e.areaBaselineValue,T=void 0===R?AG.areaBaselineValue:R,L=e.areaOpacity,D=void 0===L?AG.areaOpacity:L,O=e.enablePoints,F=void 0===O?AG.enablePoints:O,z=e.pointSize,P=void 0===z?AG.pointSize:z,N=e.pointColor,j=void 0===N?AG.pointColor:N,I=e.pointBorderWidth,B=void 0===I?AG.pointBorderWidth:I,W=e.pointBorderColor,$=void 0===W?AG.pointBorderColor:W,q=e.enableGridX,H=void 0===q?AG.enableGridX:q,U=e.gridXValues,V=e.enableGridY,Y=void 0===V?AG.enableGridY:V,G=e.gridYValues,X=e.axisTop,J=e.axisRight,Z=e.axisBottom,K=void 0===Z?AG.axisBottom:Z,Q=e.axisLeft,ee=void 0===Q?AG.axisLeft:Q,te=e.legends,ne=void 0===te?AG.legends:te,re=e.isInteractive,ie=void 0===re?AG.isInteractive:re,ae=e.debugMesh,oe=void 0===ae?AG.debugMesh:ae,se=e.onMouseLeave,le=e.onMouseDown,ce=e.onMouseUp,ue=e.onClick,de=e.onDoubleClick,fe=e.tooltip,he=void 0===fe?AG.tooltip:fe,pe=e.role,ge=e.forwardedRef,me=i(null),ve=cq(r,a,l),be=ve.margin,ye=ve.innerWidth,_e=ve.innerHeight,we=ve.outerWidth,xe=ve.outerHeight,ke=Nz(),Ce=t(null),Ae=Ce[0],Se=Ce[1],Ee=MG({data:d,xScale:p,xFormat:g,yScale:v,yFormat:b,width:ye,height:_e,colors:C,curve:_,areaBaselineValue:T,pointColor:j,pointBorderColor:$}),Me=Ee.lineGenerator,Re=Ee.areaGenerator,Te=Ee.series,Le=Ee.xScale,De=Ee.yScale,Oe=Ee.points,Fe=s((function(){return{innerWidth:ye,innerHeight:_e,series:Te,points:Oe,xScale:Le,yScale:De,lineWidth:S,lineGenerator:Me,areaGenerator:Re,currentPoint:Ae,setCurrentPoint:Se}}),[ye,_e,Te,Oe,Le,De,S,Me,Re,Ae,Se]),ze=pG({points:Oe,width:ye,height:_e,debug:oe}),Pe=ze.delaunay,Ne=ze.voronoi;n((function(){if(null!==me.current){me.current.width=we*u,me.current.height=xe*u;var e=me.current.getContext("2d");e.scale(u,u),e.fillStyle=ke.background,e.fillRect(0,0,we,xe),e.translate(be.left,be.top),x.forEach((function(t){var n;"function"==typeof t&&t(e,Fe);var r=null!=(n=ke.grid.line.strokeWidth)?n:0;if("grid"===t&&"string"!=typeof r&&r>0&&(e.lineWidth=r,e.strokeStyle=ke.grid.line.stroke,H&&DV(e,{width:ye,height:_e,scale:Le,axis:"x",values:U}),Y&&DV(e,{width:ye,height:_e,scale:De,axis:"y",values:G})),"axes"===t&&LV(e,{xScale:Le,yScale:De,width:ye,height:_e,top:X,right:J,bottom:K,left:ee,theme:ke}),"areas"===t&&!0===M){e.save(),e.globalAlpha=D,Re.context(e);for(var i=Te.length-1;i>=0;i--)e.fillStyle=Te[i].color,e.beginPath(),Re(Te[i].data.map((function(e){return e.position}))),e.fill();e.restore()}if("lines"===t&&(Me.context(e),Te.forEach((function(t){e.strokeStyle=t.color,e.lineWidth=S,e.beginPath(),Me(t.data.map((function(e){return e.position}))),e.stroke()}))),"points"===t&&!0===F&&P>0&&Oe.forEach((function(t){e.fillStyle=t.color,e.beginPath(),e.arc(t.x,t.y,P/2,0,2*Math.PI),e.fill(),B>0&&(e.strokeStyle=t.borderColor,e.lineWidth=B,e.stroke())})),"mesh"===t&&!0===oe&&void 0!==Ne&&(function(e,t){e.save(),e.globalAlpha=.75,e.beginPath(),t.render(e),e.strokeStyle="red",e.lineWidth=1,e.stroke(),e.restore()}(e,Ne),Ae&&function(e,t,n){e.save(),e.globalAlpha=.35,e.beginPath(),t.renderCell(n,e),e.fillStyle="pink",e.fill(),e.restore()}(e,Ne,Ae.absIndex)),"legends"===t){var a=Te.map((function(e){return{id:e.id,label:e.id,color:e.color}})).reverse();ne.forEach((function(t){RY(e,_G({},t,{data:t.data||a,containerWidth:ye,containerHeight:_e,theme:ke}))}))}}))}}),[me,ye,we,_e,xe,be.left,be.top,u,x,ke,Me,Te,Le,De,H,U,Y,G,X,J,K,ee,ne,Oe,F,P,B,Ae,Fe,oe,M,Re,D,S,Ne]);var je=o((function(e){if(!me.current)return null;var t=vq(me.current,e),n=t[0],r=t[1];if(!mq(be.left,be.top,ye,_e,n,r))return null;var i=Pe.find(n-be.left,r-be.top);return Oe[i]}),[me,be,ye,_e,Pe,Oe]),Ie=eP(),Be=Ie.showTooltipFromEvent,We=Ie.hideTooltip,$e=o((function(e){var t=je(e);Se(t),t?Be(f(he,{point:t}),e):We()}),[je,Se,Be,We,he]),qe=o((function(e){We(),Se(null),Ae&&(null==se||se(Ae,e))}),[We,Se,se,Ae]),He=o((function(e){if(le){var t=je(e);t&&le(t,e)}}),[je,le]),Ue=o((function(e){if(ce){var t=je(e);t&&ce(t,e)}}),[je,ce]),Ve=o((function(e){if(ue){var t=je(e);t&&ue(t,e)}}),[je,ue]),Ye=o((function(e){if(de){var t=je(e);t&&de(t,e)}}),[je,de]);return yi("canvas",{ref:wq(me,ge),width:we*u,height:xe*u,style:{width:we,height:xe,cursor:ie?"auto":"normal"},onMouseEnter:ie?$e:void 0,onMouseMove:ie?$e:void 0,onMouseLeave:ie?qe:void 0,onMouseDown:ie?He:void 0,onMouseUp:ie?Ue:void 0,onClick:ie?Ve:void 0,onDoubleClick:ie?Ye:void 0,role:pe})},HG=a((function(e,t){var n=e.isInteractive,r=e.renderWrapper,i=e.theme,a=wG(e,$G);return yi(b$,{isInteractive:n,renderWrapper:r,theme:i,animate:!1,children:yi(qG,_G({},a,{forwardedRef:t}))})})),UG=["defaultWidth","defaultHeight","onResize","debounceResize"];a((function(e,t){var n=e.defaultWidth;e.defaultHeight;var r=e.onResize,i=e.debounceResize,a=wG(e,UG);return yi(w$,{defaultWidth:n,defaultHeight:n,onResize:r,debounceResize:i,children:function(e){var n=e.width,r=e.height;return yi(HG,_G({width:n,height:r},a,{ref:t}))}})}));var VG="styles_empty-data-stub__DuGJ2";const YG=({label:e,width:t,height:n,ariaLabel:r=e})=>yi("div",{role:"img","aria-label":r,className:VG,style:{width:t,height:n},children:e}),GG={anchor:"right",direction:"column",justify:!1,translateX:100,translateY:0,itemsSpacing:0,itemDirection:"left-to-right",itemWidth:80,itemHeight:20,itemOpacity:.75,symbolSize:12,symbolShape:"square",symbolBorderColor:"rgba(0, 0, 0, .5)",effects:[{on:"hover",style:{itemBackground:"rgba(0, 0, 0, .03)",itemOpacity:1}}]},XG={tickSize:5,tickPadding:5,tickRotation:45,ticksPosition:"before"},JG={tickSize:5,tickPadding:5,tickRotation:0},ZG={top:60,right:110,bottom:60,left:80},KG={type:"point"},QG={type:"linear",min:"auto",max:"auto",reverse:!1},eX={margin:ZG,xScale:KG,yScale:QG,axisTop:null,axisRight:null,axisBottom:XG,axisLeft:JG,useMesh:!0,enableArea:!0},tX={background:"var(--color-bg-primary)",axis:{ticks:{text:{fill:"var(--color-text-secondary)"}},legend:{text:{fill:"var(--color-text-primary)"}},grid:{line:{stroke:"var(--color-border-default)"}}},legends:{text:{fill:"var(--color-text-secondary)"}},tooltip:{container:{background:"var(--color-bg-raised)",color:"var(--color-text-primary)"}}};let nX=function(e){return e.Mesh="Mesh",e.SlicesX="SlicesX",e.SlicesY="SlicesY",e}({});const rX=64,iX=(e,t,n)=>{const{constant:r=rX,...i}=n??{};return{type:"symlog",min:e,max:t,constant:r,...i}},aX=(e,t)=>{const n=e.flatMap((e=>e.data)).map((e=>e.y)),r=Math.min(...n),i=Math.max(...n);return iX(r,i,t)},oX=({kind:e=nX.Mesh,width:t="100%",height:n=400,emptyLabel:r="No data available",emptyAriaLabel:i="No data available",axisBottom:a,rootAriaLabel:o,data:s,...l})=>{const c=(e=>{switch(e){case nX.SlicesX:return{useMesh:!1,enableSlices:"x"};case nX.SlicesY:return{useMesh:!1,enableSlices:"y"};case nX.Mesh:default:return{useMesh:!0,enableSlices:void 0}}})(e),u=E(((t,n)=>{e===nX.Mesh?l?.onClick?.(t,n):[nX.SlicesX,nX.SlicesY].includes(e)&&l?.onSliceClick?.(t,n)}),[e,l]),d=E(((t,n)=>{e===nX.Mesh?l?.onTouchEnd?.(t,n):[nX.SlicesX,nX.SlicesY].includes(e)&&l?.onSliceTouchEnd?.(t,n)}),[e,l]),f=R((()=>{const e=s?.flatMap((e=>e.data?.map((e=>e.x))));return[...new Set(e)].sort(((e,t)=>{const n=e?.toString()||"",r=t?.toString()||"",i=n.split(/(\d+)/).filter(Boolean),a=r.split(/(\d+)/).filter(Boolean);for(let e=0;e<Math.min(i.length,a.length);e++){const t=parseInt(i[e],10),n=parseInt(a[e],10);if(isNaN(t)||isNaN(n)){const t=i[e].localeCompare(a[e]);if(0!==t)return t}else if(t!==n)return t-n}return i.length-a.length}))}),[s]);return!s||0===s.length||s.every((e=>!e.data?.length))?yi(YG,{label:r,width:t,height:n,ariaLabel:i}):yi("div",{role:"img","aria-label":o,tabIndex:0,style:{width:t,height:n},children:yi(WG,{...eX,...c,...l,data:s,onClick:u,onTouchEnd:d,axisBottom:{...XG,...a,tickValues:f},theme:tX})})},sX=({title:e,mode:t,items:n,slices:r,min:i,max:a,height:o=400,width:s="100%",rootAriaLabel:l,translations:c})=>{const[u,d]=A([]),f=c["no-results"],h=R((()=>iX(i,a,{constant:8})),[a,i]),p=R((()=>t===Fo.Percent?" >-.2%":" >-.2f"),[t]),g=E((e=>{const t=e.points.reduce(((e,t)=>(e.push(t.data.x),e)),[]);d((()=>t))}),[]);return R((()=>r.filter((e=>u.includes(e.metadata.executionId)))),[r,u]),yi($C,{title:e,children:yi(oX,{kind:nX.SlicesX,data:n,height:o,width:s,emptyLabel:f,emptyAriaLabel:f,rootAriaLabel:l,colors:({color:e})=>e,yScale:h,yFormat:p,onSliceClick:g,onSliceTouchEnd:g})})},lX=(e,t=e)=>{const n=L(),[r,i]=A(null),[a,o]=A(!1),s=C(null),l=C(!1),c=C(!1),u=C(!1),d=C(),f=()=>clearTimeout(d.current),h=()=>{f(),d.current=setTimeout((()=>{l.current||c.current||u.current||o(!1)}),100)},p=e=>{f(),i(e.currentTarget),o(!0)};return S((()=>()=>clearTimeout(d.current)),[]),T((()=>{const e=s.current;if(!a||!r||!e)return;let t=!0;const n=$a(r,e,(()=>{Va(r,e,{strategy:"fixed",placement:"top",middleware:[qa(8),Ua(),Ha({padding:8})]}).then((({x:n,y:r})=>{t&&Object.assign(e.style,{left:`${n}px`,top:`${r}px`})}))})),i=e=>{"Escape"===e.key&&(u.current=!1,o(!1))};return document.addEventListener("keydown",i),()=>{t=!1,n(),document.removeEventListener("keydown",i)}}),[a,r,e]),{triggerProps:{tabindex:0,"data-chart-tooltip-trigger":!0,"aria-describedby":n,onMouseEnter:e=>{c.current=!0,p(e)},onMouseLeave:()=>{c.current=!1,h()},onFocus:e=>{l.current=!0,p(e)},onBlur:()=>{l.current=!1,h()}},tooltip:e?Tm(yi(y,{children:[yi("span",{id:n,style:{position:"absolute",width:1,height:1,overflow:"hidden",clipPath:"inset(50%)"},children:e}),a&&yi("div",{ref:s,role:"tooltip","data-chart-tooltip":!0,style:{position:"fixed",zIndex:1e3},onMouseEnter:()=>{u.current=!0,f()},onMouseLeave:()=>{u.current=!1,h()},children:yi(Ga,{children:t})})]}),document.body):null}},cX=(e,t="chart")=>{const n="chartFill"===t?"chart-fill":"chart";switch(e){case"passed":return`var(--color-status-passed-${n})`;case"failed":return`var(--color-status-failed-${n})`;case"broken":return`var(--color-status-broken-${n})`;case"unknown":default:return`var(--color-status-unknown-${n})`;case"skipped":return`var(--color-status-skipped-${n})`}},uX=e=>{const{positiveValue:t,negativeValue:n,absTotal:r,noValuePercentage:i=-1}=e;if(0===Math.abs(t)+Math.abs(n))return i;const a=Math.abs(t)-Math.abs(n),o=(s=Math.abs(a),l=r,Math.floor(s/l*1e4)/100);var s,l;return a>0?50+o:a<0?50-o:50},dX=(e,t)=>{const[n,r]=e,i=t.map(((e,i)=>n+(r-n)*(i/(t.length-1))));return Jl().domain(i).range(t.map((e=>Ld(e)))).interpolate(Ds).clamp(!0)},fX={successRate:"Success rate: {{rate}}",successRateDescription:"Calculated from passed, failed, and broken tests. Skipped and unknown tests are excluded.",noResults:"There are no test results.",noEligibleResults:"There are no passed, failed, or broken tests. Skipped and unknown tests are excluded from the success rate.",notAvailable:"N/A",statusSlice:"{{count}} {{status}} ({{percent}}% of all tests)",slice:"{{count}} tests ({{percent}}% of all tests)",slice_one:"{{count}} test ({{percent}}% of all tests)",layer:"Layer: {{layer}}"},hX=(e,t={})=>{if(e.startsWith("status."))return e.slice(7);return(fX["slice"===e&&1===t.count?"slice_one":e]??e).replace(/\{\{(\w+)\}\}/g,((e,n)=>String(t[n]??"")))},pX=e=>{const t=100*e;return String(Math.floor(t+Number.EPSILON*Math.abs(t))/100)},gX=(e,t,n)=>t>0?`${pX(e)}%`:n("notAvailable"),mX=(e,t,n)=>n(0===e?"noResults":0===t?"noEligibleResults":"successRateDescription");var vX="styles_legend__JMBvn",bX="styles_chart__mUNSO",yX="styles_target__iJ491";const _X=({slice:e,total:t,i18n:n})=>{const r=n("statusSlice",{count:e.count,status:n(`status.${e.status}`),percent:pX(t?e.count/t*100:0)}),{triggerProps:i,tooltip:a}=lX(r);return e.d?"__empty__"===e.status?yi("path",{d:e.d,fill:"var(--color-control-bg)"}):yi(y,{children:[yi("path",{...i,role:"img","aria-label":r,className:yX,d:e.d,fill:cX(e.status,"chartFill")}),a]}):null},wX=({slices:e,percentage:t,className:n,i18n:r=hX})=>{const i={total:0};for(const t of e)"__empty__"!==t.status&&so(i,t.status,t.count);const a=0===i.total?"???":`${pX(t)}%`,o=r("successRate",{rate:a}),s=mX(i.total,ho(i),r),{triggerProps:l,tooltip:c}=lX(`${o}\n${s}`,o);return yi("article",{className:ae(bX,n),children:[yi("svg",{viewBox:"0 0 100 100",children:yi("g",{transform:"translate(50, 50)",children:e.map((e=>yi(_X,{slice:e,total:i.total,i18n:r},e.status)))})}),yi("div",{...l,role:"img","aria-label":o,className:ae(vX,yX),children:yi(Si,{size:"s",tag:"b",children:a})}),c]})};var xX,kX,CX,AX,SX,EX,MX,RX,TX,LX,DX,OX,FX,zX,PX,NX,jX,IX,BX,WX,$X,qX,HX,UX,VX,YX,GX,XX,JX,ZX,KX,QX,eJ,tJ,nJ,rJ,iJ,aJ,oJ,sJ,lJ,cJ;function uJ(){if(LX)return TX;LX=1;var e=tW(),t=vO(),n=n$(),r=t$(),i=Object.getOwnPropertySymbols?function(r){for(var i=[];r;)e(i,n(r)),r=t(r);return i}:r;return TX=i}function dJ(){if(zX)return FX;zX=1;var e=QW(),t=uJ(),n=WF();return FX=function(r){return e(r,n,t)},FX}function fJ(){if(UX)return HX;UX=1;var e=hO(),t=function(){if(IX)return jX;IX=1;var e=hO();return jX=function(t,n){var r=n?e(t.buffer):t.buffer;return new t.constructor(r,t.byteOffset,t.byteLength)}}(),n=function(){if(WX)return BX;WX=1;var e=/\w*$/;return BX=function(t){var n=new t.constructor(t.source,e.exec(t));return n.lastIndex=t.lastIndex,n}}(),r=function(){if(qX)return $X;qX=1;var e=Zv(),t=e?e.prototype:void 0,n=t?t.valueOf:void 0;return $X=function(e){return n?Object(n.call(e)):{}}}(),i=pO();return HX=function(a,o,s){var l=a.constructor;switch(o){case"[object ArrayBuffer]":return e(a);case"[object Boolean]":case"[object Date]":return new l(+a);case"[object DataView]":return t(a,s);case"[object Float32Array]":case"[object Float64Array]":case"[object Int8Array]":case"[object Int16Array]":case"[object Int32Array]":case"[object Uint8Array]":case"[object Uint8ClampedArray]":case"[object Uint16Array]":case"[object Uint32Array]":return i(a,s);case"[object Map]":case"[object Set]":return new l;case"[object Number]":case"[object String]":return new l(a);case"[object RegExp]":return n(a);case"[object Symbol]":return r(a)}},HX}function hJ(){if(XX)return GX;XX=1;var e=function(){if(YX)return VX;YX=1;var e=s$(),t=Qv();return VX=function(n){return t(n)&&"[object Map]"==e(n)}}(),t=PO(),n=OF(),r=n&&n.isMap,i=r?t(r):e;return GX=i}function pJ(){if(QX)return KX;QX=1;var e=function(){if(ZX)return JX;ZX=1;var e=s$(),t=Qv();return JX=function(n){return t(n)&&"[object Set]"==e(n)}}(),t=PO(),n=OF(),r=n&&n.isSet,i=r?t(r):e;return KX=i}function gJ(){if(tJ)return eJ;tJ=1;var e=TD(),t=(kX||(kX=1,xX=function(e,t){for(var n=-1,r=null==e?0:e.length;++n<r&&!1!==t(e[n],n,e););return e}),xX),n=PF(),r=function(){if(AX)return CX;AX=1;var e=NF(),t=i$();return CX=function(n,r){return n&&e(r,t(r),n)},CX}(),i=function(){if(EX)return SX;EX=1;var e=NF(),t=WF();return SX=function(n,r){return n&&e(r,t(r),n)},SX}(),a=dO(),o=gO(),s=function(){if(RX)return MX;RX=1;var e=NF(),t=n$();return MX=function(n,r){return e(n,t(n),r)},MX}(),l=function(){if(OX)return DX;OX=1;var e=NF(),t=uJ();return DX=function(n,r){return e(n,t(n),r)},DX}(),c=a$(),u=dJ(),d=s$(),f=function(){if(NX)return PX;NX=1;var e=Object.prototype.hasOwnProperty;return PX=function(t){var n=t.length,r=new t.constructor(n);return n&&"string"==typeof t[0]&&e.call(t,"index")&&(r.index=t.index,r.input=t.input),r},PX}(),h=fJ(),p=yO(),g=Qb(),m=FO(),v=hJ(),b=Yv(),y=pJ(),_=i$(),w=WF(),x="[object Arguments]",k="[object Function]",C="[object Object]",A={};return A[x]=A["[object Array]"]=A["[object ArrayBuffer]"]=A["[object DataView]"]=A["[object Boolean]"]=A["[object Date]"]=A["[object Float32Array]"]=A["[object Float64Array]"]=A["[object Int8Array]"]=A["[object Int16Array]"]=A["[object Int32Array]"]=A["[object Map]"]=A["[object Number]"]=A[C]=A["[object RegExp]"]=A["[object Set]"]=A["[object String]"]=A["[object Symbol]"]=A["[object Uint8Array]"]=A["[object Uint8ClampedArray]"]=A["[object Uint16Array]"]=A["[object Uint32Array]"]=!0,A["[object Error]"]=A[k]=A["[object WeakMap]"]=!1,eJ=function S(E,M,R,T,L,D){var O,F=1&M,z=2&M,P=4&M;if(R&&(O=L?R(E,T,L,D):R(E)),void 0!==O)return O;if(!b(E))return E;var N=g(E);if(N){if(O=f(E),!F)return o(E,O)}else{var j=d(E),I=j==k||"[object GeneratorFunction]"==j;if(m(E))return a(E,F);if(j==C||j==x||I&&!L){if(O=z||I?{}:p(E),!F)return z?l(E,i(O,E)):s(E,r(O,E))}else{if(!A[j])return L?E:{};O=h(E,j,F)}}D||(D=new e);var B=D.get(E);if(B)return B;D.set(E,O),y(E)?E.forEach((function(e){O.add(S(e,M,R,e,E,D))})):v(E)&&E.forEach((function(e,t){O.set(t,S(e,M,R,t,E,D))}));var W=N?void 0:(P?z?u:c:z?w:_)(E);return t(W||E,(function(e,t){W&&(e=E[t=e]),n(O,t,S(e,M,R,t,E,D))})),O},eJ}function mJ(){if(aJ)return iJ;aJ=1;var e=gz(),t=bj(),n=function(){if(rJ)return nJ;rJ=1;var e=vz(),t=ny();return nJ=function(n,r){return r.length<2?n:e(n,t(r,0,-1))},nJ}(),r=mz(),i=Object.prototype.hasOwnProperty;return iJ=function(a,o){var s=-1,l=(o=e(o,a)).length;if(!l)return!0;for(;++s<l;){var c=r(o[s]);if("__proto__"===c&&!i.call(a,"__proto__"))return!1;if(("constructor"===c||"prototype"===c)&&s<l-1)return!1}var u=n(a,o);return null==u||delete u[r(t(o))]},iJ}var vJ,bJ,yJ=function(){if(cJ)return lJ;cJ=1;var e=Kb(),t=gJ(),n=mJ(),r=gz(),i=NF(),a=function(){if(sJ)return oJ;sJ=1;var e=zO();return oJ=function(t){return e(t)?void 0:t}}(),o=rW(),s=dJ(),l=o((function(o,l){var c={};if(null==o)return c;var u=!1;l=e(l,(function(e){return e=r(e,o),u||(u=e.length>1),e})),i(o,s(o),c),u&&(c=t(c,7,a));for(var d=l.length;d--;)n(c,l[d]);return c}));return lJ=l}(),_J=I(yJ);var wJ,xJ,kJ,CJ,AJ,SJ,EJ,MJ,RJ,TJ,LJ,DJ,OJ,FJ,zJ,PJ,NJ,jJ,IJ,BJ,WJ=I(function(){if(bJ)return vJ;bJ=1;var e=gJ();return vJ=function(t){return e(t,5)}}());function $J(){if(SJ)return AJ;SJ=1;var e=(CJ||(CJ=1,kJ=function(e){return function(t){return null==e?void 0:e[t]}}),kJ),t=e({"À":"A","Á":"A","Â":"A","Ã":"A","Ä":"A","Å":"A","à":"a","á":"a","â":"a","ã":"a","ä":"a","å":"a","Ç":"C","ç":"c","Ð":"D","ð":"d","È":"E","É":"E","Ê":"E","Ë":"E","è":"e","é":"e","ê":"e","ë":"e","Ì":"I","Í":"I","Î":"I","Ï":"I","ì":"i","í":"i","î":"i","ï":"i","Ñ":"N","ñ":"n","Ò":"O","Ó":"O","Ô":"O","Õ":"O","Ö":"O","Ø":"O","ò":"o","ó":"o","ô":"o","õ":"o","ö":"o","ø":"o","Ù":"U","Ú":"U","Û":"U","Ü":"U","ù":"u","ú":"u","û":"u","ü":"u","Ý":"Y","ý":"y","ÿ":"y","Æ":"Ae","æ":"ae","Þ":"Th","þ":"th","ß":"ss","Ā":"A","Ă":"A","Ą":"A","ā":"a","ă":"a","ą":"a","Ć":"C","Ĉ":"C","Ċ":"C","Č":"C","ć":"c","ĉ":"c","ċ":"c","č":"c","Ď":"D","Đ":"D","ď":"d","đ":"d","Ē":"E","Ĕ":"E","Ė":"E","Ę":"E","Ě":"E","ē":"e","ĕ":"e","ė":"e","ę":"e","ě":"e","Ĝ":"G","Ğ":"G","Ġ":"G","Ģ":"G","ĝ":"g","ğ":"g","ġ":"g","ģ":"g","Ĥ":"H","Ħ":"H","ĥ":"h","ħ":"h","Ĩ":"I","Ī":"I","Ĭ":"I","Į":"I","İ":"I","ĩ":"i","ī":"i","ĭ":"i","į":"i","ı":"i","Ĵ":"J","ĵ":"j","Ķ":"K","ķ":"k","ĸ":"k","Ĺ":"L","Ļ":"L","Ľ":"L","Ŀ":"L","Ł":"L","ĺ":"l","ļ":"l","ľ":"l","ŀ":"l","ł":"l","Ń":"N","Ņ":"N","Ň":"N","Ŋ":"N","ń":"n","ņ":"n","ň":"n","ŋ":"n","Ō":"O","Ŏ":"O","Ő":"O","ō":"o","ŏ":"o","ő":"o","Ŕ":"R","Ŗ":"R","Ř":"R","ŕ":"r","ŗ":"r","ř":"r","Ś":"S","Ŝ":"S","Ş":"S","Š":"S","ś":"s","ŝ":"s","ş":"s","š":"s","Ţ":"T","Ť":"T","Ŧ":"T","ţ":"t","ť":"t","ŧ":"t","Ũ":"U","Ū":"U","Ŭ":"U","Ů":"U","Ű":"U","Ų":"U","ũ":"u","ū":"u","ŭ":"u","ů":"u","ű":"u","ų":"u","Ŵ":"W","ŵ":"w","Ŷ":"Y","ŷ":"y","Ÿ":"Y","Ź":"Z","Ż":"Z","Ž":"Z","ź":"z","ż":"z","ž":"z","IJ":"IJ","ij":"ij","Œ":"Oe","œ":"oe","ʼn":"'n","ſ":"s"});return AJ=t}function qJ(){if(PJ)return zJ;PJ=1;var e=function(){if(TJ)return RJ;TJ=1;var e=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g;return RJ=function(t){return t.match(e)||[]}}(),t=function(){if(DJ)return LJ;DJ=1;var e=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/;return LJ=function(t){return e.test(t)}}(),n=ty(),r=function(){if(FJ)return OJ;FJ=1;var e="\\ud800-\\udfff",t="\\u2700-\\u27bf",n="a-z\\xdf-\\xf6\\xf8-\\xff",r="A-Z\\xc0-\\xd6\\xd8-\\xde",i="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",a="["+i+"]",o="\\d+",s="["+t+"]",l="["+n+"]",c="[^"+e+i+o+t+n+r+"]",u="(?:\\ud83c[\\udde6-\\uddff]){2}",d="[\\ud800-\\udbff][\\udc00-\\udfff]",f="["+r+"]",h="(?:"+l+"|"+c+")",p="(?:"+f+"|"+c+")",g="(?:['’](?:d|ll|m|re|s|t|ve))?",m="(?:['’](?:D|LL|M|RE|S|T|VE))?",v="(?:[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]|\\ud83c[\\udffb-\\udfff])?",b="[\\ufe0e\\ufe0f]?",y=b+v+"(?:\\u200d(?:"+["[^"+e+"]",u,d].join("|")+")"+b+v+")*",_="(?:"+[s,u,d].join("|")+")"+y,w=RegExp([f+"?"+l+"+"+g+"(?="+[a,f,"$"].join("|")+")",p+"+"+m+"(?="+[a,f+h,"$"].join("|")+")",f+"?"+h+"+"+g,f+"+"+m,"\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",o,_].join("|"),"g");return OJ=function(e){return e.match(w)||[]}}();return zJ=function(i,a,o){return i=n(i),void 0===(a=o?void 0:a)?t(i)?r(i):e(i):i.match(a)||[]}}function HJ(){if(jJ)return NJ;jJ=1;var e=(xJ||(xJ=1,wJ=function(e,t,n,r){var i=-1,a=null==e?0:e.length;for(r&&a&&(n=e[++i]);++i<a;)n=t(n,e[i],i,e);return n}),wJ),t=function(){if(MJ)return EJ;MJ=1;var e=$J(),t=ty(),n=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,r=RegExp("[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]","g");return EJ=function(i){return(i=t(i))&&i.replace(n,e).replace(r,"")}}(),n=qJ(),r=RegExp("['’]","g");return NJ=function(i){return function(a){return e(n(t(a).replace(r,"")),i,"")}}}var UJ=function(){if(BJ)return IJ;BJ=1;var e=HJ(),t=oy(),n=e((function(e,n,r){return e+(r?" ":"")+t(n)}));return IJ=n}(),VJ=I(UJ);function YJ(e){var t=0,n=e.children,r=n&&n.length;if(r)for(;--r>=0;)t+=n[r].value;else t=1;e.value=t}function GJ(e,t){e instanceof Map?(e=[void 0,e],void 0===t&&(t=JJ)):void 0===t&&(t=XJ);for(var n,r,i,a,o,s=new QJ(e),l=[s];n=l.pop();)if((i=t(n.data))&&(o=(i=Array.from(i)).length))for(n.children=i,a=o-1;a>=0;--a)l.push(r=i[a]=new QJ(i[a])),r.parent=n,r.depth=n.depth+1;return s.eachBefore(KJ)}function XJ(e){return e.children}function JJ(e){return Array.isArray(e)?e[1]:null}function ZJ(e){void 0!==e.data.value&&(e.value=e.data.value),e.data=e.data.data}function KJ(e){var t=0;do{e.height=t}while((e=e.parent)&&e.height<++t)}function QJ(e){this.data=e,this.depth=this.height=0,this.parent=null}function eZ(){return 0}function tZ(e){return function(){return e}}function nZ(e){e.x0=Math.round(e.x0),e.y0=Math.round(e.y0),e.x1=Math.round(e.x1),e.y1=Math.round(e.y1)}function rZ(e,t,n,r,i){for(var a,o=e.children,s=-1,l=o.length,c=e.value&&(r-t)/e.value;++s<l;)(a=o[s]).y0=n,a.y1=i,a.x0=t,a.x1=t+=a.value*c}function iZ(e,t,n,r,i){for(var a,o=e.children,s=-1,l=o.length,c=e.value&&(i-n)/e.value;++s<l;)(a=o[s]).x0=t,a.x1=r,a.y0=n,a.y1=n+=a.value*c}QJ.prototype=GJ.prototype={constructor:QJ,count:function(){return this.eachAfter(YJ)},each:function(e,t){let n=-1;for(const r of this)e.call(t,r,++n,this);return this},eachAfter:function(e,t){for(var n,r,i,a=this,o=[a],s=[],l=-1;a=o.pop();)if(s.push(a),n=a.children)for(r=0,i=n.length;r<i;++r)o.push(n[r]);for(;a=s.pop();)e.call(t,a,++l,this);return this},eachBefore:function(e,t){for(var n,r,i=this,a=[i],o=-1;i=a.pop();)if(e.call(t,i,++o,this),n=i.children)for(r=n.length-1;r>=0;--r)a.push(n[r]);return this},find:function(e,t){let n=-1;for(const r of this)if(e.call(t,r,++n,this))return r},sum:function(e){return this.eachAfter((function(t){for(var n=+e(t.data)||0,r=t.children,i=r&&r.length;--i>=0;)n+=r[i].value;t.value=n}))},sort:function(e){return this.eachBefore((function(t){t.children&&t.children.sort(e)}))},path:function(e){for(var t=this,n=function(e,t){if(e===t)return e;var n=e.ancestors(),r=t.ancestors(),i=null;e=n.pop(),t=r.pop();for(;e===t;)i=e,e=n.pop(),t=r.pop();return i}(t,e),r=[t];t!==n;)t=t.parent,r.push(t);for(var i=r.length;e!==n;)r.splice(i,0,e),e=e.parent;return r},ancestors:function(){for(var e=this,t=[e];e=e.parent;)t.push(e);return t},descendants:function(){return Array.from(this)},leaves:function(){var e=[];return this.eachBefore((function(t){t.children||e.push(t)})),e},links:function(){var e=this,t=[];return e.each((function(n){n!==e&&t.push({source:n.parent,target:n})})),t},copy:function(){return GJ(this).eachBefore(ZJ)},[Symbol.iterator]:function*(){var e,t,n,r,i=this,a=[i];do{for(e=a.reverse(),a=[];i=e.pop();)if(yield i,t=i.children)for(n=0,r=t.length;n<r;++n)a.push(t[n])}while(a.length)}};var aZ=function e(t){function n(e,n,r,i,a){!function(e,t,n,r,i,a){for(var o,s,l,c,u,d,f,h,p,g,m,v=[],b=t.children,y=0,_=0,w=b.length,x=t.value;y<w;){l=i-n,c=a-r;do{u=b[_++].value}while(!u&&_<w);for(d=f=u,m=u*u*(g=Math.max(c/l,l/c)/(x*e)),p=Math.max(f/m,m/d);_<w;++_){if(u+=s=b[_].value,s<d&&(d=s),s>f&&(f=s),m=u*u*g,(h=Math.max(f/m,m/d))>p){u-=s;break}p=h}v.push(o={value:u,dice:l<c,children:b.slice(y,_)}),o.dice?rZ(o,n,r,i,x?r+=c*u/x:a):iZ(o,n,r,x?n+=l*u/x:i,a),x-=u,y=_}}(t,e,n,r,i,a)}return n.ratio=function(t){return e((t=+t)>1?t:1)},n}((1+Math.sqrt(5))/2);function oZ(){var e=aZ,t=!1,n=1,r=1,i=[0],a=eZ,o=eZ,s=eZ,l=eZ,c=eZ;function u(e){return e.x0=e.y0=0,e.x1=n,e.y1=r,e.eachBefore(d),i=[0],t&&e.eachBefore(nZ),e}function d(t){var n=i[t.depth],r=t.x0+n,u=t.y0+n,d=t.x1-n,f=t.y1-n;d<r&&(r=d=(r+d)/2),f<u&&(u=f=(u+f)/2),t.x0=r,t.y0=u,t.x1=d,t.y1=f,t.children&&(n=i[t.depth+1]=a(t)/2,r+=c(t)-n,u+=o(t)-n,(d-=s(t)-n)<r&&(r=d=(r+d)/2),(f-=l(t)-n)<u&&(u=f=(u+f)/2),e(t,r,u,d,f))}return u.round=function(e){return arguments.length?(t=!!e,u):t},u.size=function(e){return arguments.length?(n=+e[0],r=+e[1],u):[n,r]},u.tile=function(t){return arguments.length?(e=function(e){if("function"!=typeof e)throw new Error;return e}(t),u):e},u.padding=function(e){return arguments.length?u.paddingInner(e).paddingOuter(e):u.paddingInner()},u.paddingInner=function(e){return arguments.length?(a="function"==typeof e?e:tZ(+e),u):a},u.paddingOuter=function(e){return arguments.length?u.paddingTop(e).paddingRight(e).paddingBottom(e).paddingLeft(e):u.paddingTop()},u.paddingTop=function(e){return arguments.length?(o="function"==typeof e?e:tZ(+e),u):o},u.paddingRight=function(e){return arguments.length?(s="function"==typeof e?e:tZ(+e),u):s},u.paddingBottom=function(e){return arguments.length?(l="function"==typeof e?e:tZ(+e),u):l},u.paddingLeft=function(e){return arguments.length?(c="function"==typeof e?e:tZ(+e),u):c},u}function sZ(){return sZ=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},sZ.apply(null,arguments)}function lZ(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(-1!==t.indexOf(r))continue;n[r]=e[r]}return n}var cZ=function(e,t){return ET([e,t],(function(e,t){return"translate("+e+","+t+")"}))},uZ=function(e,t){return ET([e,t],(function(e,t){return"translate("+e+"px, "+t+"px)"}))},dZ=function(e,t,n){return ET([e,t,n],(function(e,t,n){return"translate("+e+","+t+") rotate("+n+")"}))},fZ=function(e,t,n){return ET([e,t,n],(function(e,t,n){return"translate("+e+"px,"+t+"px) rotate("+n+"deg)"}))},hZ=function(e,t,n){return ET([e,t,n],(function(e,t,n){return"translate("+(e-(0===n?0:5))+"px,"+(t-(0===n?5:0))+"px) rotate("+n+"deg)"}))},pZ=u((function(e){var t=e.node,n=e.animatedProps,r=e.borderWidth,i=e.enableLabel,a=e.enableParentLabel,o=e.labelSkipSize,s=Nz(),l=i&&t.isLeaf&&(0===o||Math.min(t.width,t.height)>o),c=a&&t.isParent;return yi(vD.g,{transform:cZ(n.x,n.y),children:[yi(vD.rect,{"data-testid":"node."+t.id,width:ET(n.width,(function(e){return Math.max(e,0)})),height:ET(n.height,(function(e){return Math.max(e,0)})),fill:t.fill?t.fill:n.color,strokeWidth:r,stroke:t.borderColor,fillOpacity:t.opacity,onMouseEnter:t.onMouseEnter,onMouseMove:t.onMouseMove,onMouseLeave:t.onMouseLeave,onClick:t.onClick}),l&&yi(Pq,{"data-testid":"label."+t.id,textAnchor:"middle",dominantBaseline:"central",style:sZ({},s.labels.text,{fill:t.labelTextColor,pointerEvents:"none"}),fillOpacity:n.labelOpacity,transform:dZ(n.labelX,n.labelY,n.labelRotation),children:t.label}),c&&yi(Pq,{"data-testid":"parentLabel."+t.id,dominantBaseline:"central",style:sZ({},s.labels.text,{fill:t.parentLabelTextColor,pointerEvents:"none"}),fillOpacity:n.parentLabelOpacity,transform:dZ(n.parentLabelX,n.parentLabelY,n.parentLabelRotation),children:t.parentLabel})]})})),gZ=u((function(e){var t=e.node;return yi(Hz,{id:t.id,value:t.formattedValue,enableChip:!0,color:t.color})})),mZ=u((function(e){var t=e.node,n=e.animatedProps,r=e.borderWidth,i=e.enableLabel,a=e.enableParentLabel,o=e.labelSkipSize,s=Nz(),l=i&&t.isLeaf&&(0===o||Math.min(t.width,t.height)>o),c=a&&t.isParent;return yi(vD.div,{"data-testid":"node."+t.id,id:t.path.replace(/[^\w]/gi,"-"),style:{boxSizing:"border-box",position:"absolute",top:0,left:0,transform:uZ(n.x,n.y),width:n.width,height:n.height,borderWidth:r,borderStyle:"solid",borderColor:t.borderColor,overflow:"hidden"},children:[yi(vD.div,{style:{boxSizing:"border-box",position:"absolute",top:0,left:0,opacity:t.opacity,width:n.width,height:n.height,background:n.color},onMouseEnter:t.onMouseEnter,onMouseMove:t.onMouseMove,onMouseLeave:t.onMouseLeave,onClick:t.onClick}),l&&yi(vD.span,{"data-testid":"label."+t.id,style:sZ({},s.labels.text,{position:"absolute",display:"flex",top:-5,left:-5,width:10,height:10,justifyContent:"center",alignItems:"center",whiteSpace:"nowrap",color:t.labelTextColor,transformOrigin:"center center",transform:fZ(n.labelX,n.labelY,n.labelRotation),opacity:n.labelOpacity,pointerEvents:"none"}),children:t.label}),c&&yi(vD.span,{"data-testid":"parentLabel."+t.id,style:sZ({},s.labels.text,{position:"absolute",display:"flex",justifyContent:"flex-start",alignItems:"center",whiteSpace:"nowrap",width:10,height:10,color:t.parentLabelTextColor,transformOrigin:"top left",transform:hZ(n.parentLabelX,n.parentLabelY,n.parentLabelRotation),opacity:n.parentLabelOpacity,pointerEvents:"none"}),children:t.parentLabel})]})})),vZ={layers:["nodes"],identity:"id",value:"value",tile:"squarify",leavesOnly:!1,innerPadding:0,outerPadding:0,colors:{scheme:"nivo"},colorBy:"pathComponents.1",nodeOpacity:.33,enableLabel:!0,label:"formattedValue",labelSkipSize:0,labelTextColor:{from:"color",modifiers:[["darker",1]]},orientLabel:!0,enableParentLabel:!0,parentLabel:"id",parentLabelSize:20,parentLabelPosition:"top",parentLabelPadding:6,parentLabelTextColor:{from:"color",modifiers:[["darker",1]]},borderWidth:1,borderColor:{from:"color",modifiers:[["darker",1]]},isInteractive:!0,tooltip:gZ,role:"img",animate:!0,motionConfig:"gentle"},bZ=sZ({},vZ,{nodeComponent:pZ,defs:[],fill:[]}),yZ=sZ({},vZ,{nodeComponent:mZ}),_Z=sZ({},vZ,{pixelRatio:"undefined"!=typeof window&&window.devicePixelRatio||1}),wZ={binary:function(e,t,n,r,i){var a,o,s=e.children,l=s.length,c=new Array(l+1);for(c[0]=o=a=0;a<l;++a)c[a+1]=o+=s[a].value;!function e(t,n,r,i,a,o,l){if(t>=n-1){var u=s[t];return u.x0=i,u.y0=a,u.x1=o,void(u.y1=l)}var d=c[t],f=r/2+d,h=t+1,p=n-1;for(;h<p;){var g=h+p>>>1;c[g]<f?h=g+1:p=g}f-c[h-1]<c[h]-f&&t+1<h&&--h;var m=c[h]-d,v=r-m;if(o-i>l-a){var b=r?(i*v+o*m)/r:o;e(t,h,m,i,a,b,l),e(h,n,v,b,a,o,l)}else{var y=r?(a*v+l*m)/r:l;e(t,h,m,i,a,o,y),e(h,n,v,i,y,o,l)}}(0,l,e.value,t,n,r,i)},dice:rZ,slice:iZ,sliceDice:function(e,t,n,r,i){(1&e.depth?iZ:rZ)(e,t,n,r,i)},squarify:aZ},xZ=function(e){var t=e.data,n=e.width,r=e.height,i=e.identity,a=void 0===i?vZ.identity:i,o=e.value,l=void 0===o?vZ.value:o,c=e.valueFormat,u=e.leavesOnly,d=void 0===u?vZ.leavesOnly:u,f=e.tile,h=void 0===f?vZ.tile:f,p=e.innerPadding,g=void 0===p?vZ.innerPadding:p,m=e.outerPadding,v=void 0===m?vZ.outerPadding:m,b=e.label,y=void 0===b?vZ.label:b,_=e.orientLabel,w=void 0===_?vZ.orientLabel:_,x=e.enableParentLabel,k=void 0===x?vZ.enableParentLabel:x,C=e.parentLabel,A=void 0===C?vZ.parentLabel:C,S=e.parentLabelSize,E=void 0===S?vZ.parentLabelSize:S,M=e.parentLabelPosition,R=void 0===M?vZ.parentLabelPosition:M,T=e.parentLabelPadding,L=void 0===T?vZ.parentLabelPadding:T,D=e.colors,O=void 0===D?vZ.colors:D,F=e.colorBy,z=void 0===F?vZ.colorBy:F,P=e.nodeOpacity,N=void 0===P?vZ.nodeOpacity:P,j=e.borderColor,I=void 0===j?vZ.borderColor:j,B=e.labelTextColor,W=void 0===B?vZ.labelTextColor:B,$=e.parentLabelTextColor,q=void 0===$?vZ.parentLabelTextColor:$,H=pq(a),U=pq(l),V=fq(c),Y=pq(y),G=pq(A),X=function(e){var t=e.width,n=e.height,r=e.tile,i=e.innerPadding,a=e.outerPadding,o=e.enableParentLabel,l=e.parentLabelSize,c=e.parentLabelPosition,u=e.leavesOnly;return s((function(){var e=oZ().size([t,n]).tile(wZ[r]).round(!0).paddingInner(i).paddingOuter(a);if(o&&!u){var s=l+2*a;e["padding"+VJ(c)](s)}return e}),[t,n,r,i,a,o,l,c,u])}({width:n,height:r,tile:h,innerPadding:g,outerPadding:v,enableParentLabel:k,parentLabelSize:E,parentLabelPosition:R,leavesOnly:d}),J=function(e){var t=e.root,n=e.getValue;return s((function(){return GJ(t).sum(n)}),[t,n])}({root:t,getValue:U}),Z=s((function(){var e=WJ(J);return X(e),d?e.leaves():e.descendants()}),[J,X,d]),K=s((function(){return Z.map((function(e){var t=function(e,t){var n=e.ancestors().map((function(e){return t(e.data)})).reverse();return{path:n.join("."),pathComponents:n}}(e,H),n=t.path,r=t.pathComponents,i={id:H(e.data),path:n,pathComponents:r,data:_J(e.data,"children"),x:e.x0,y:e.y0,width:e.x1-e.x0,height:e.y1-e.y0,value:e.value,formattedValue:V(e.value),treeDepth:e.depth,treeHeight:e.height,isParent:e.height>0,isLeaf:0===e.height,parentLabelX:0,parentLabelY:0,parentLabelRotation:0};return i.labelRotation=w&&i.height>i.width?-90:0,"top"===R&&(i.parentLabelX=v+L,i.parentLabelY=v+E/2),"right"===R&&(i.parentLabelX=i.width-v-E/2,i.parentLabelY=i.height-v-L,i.parentLabelRotation=-90),"bottom"===R&&(i.parentLabelX=v+L,i.parentLabelY=i.height-v-E/2),"left"===R&&(i.parentLabelX=v+E/2,i.parentLabelY=i.height-v-L,i.parentLabelRotation=-90),i.label=Y(i),i.parentLabel=G(i),i}))}),[Z,H,V,Y,w,G,E,R,L,v]),Q=Nz(),ee=nY(O,z),te=YV(I,Q),ne=YV(W,Q),re=YV(q,Q),ie=s((function(){return K.map((function(e){var t=sZ({},e,{color:ee(e),opacity:N});return t.borderColor=te(t),t.labelTextColor=ne(t),t.parentLabelTextColor=re(t),t}))}),[K,ee,N,te,ne,re]);return{hierarchy:J,nodes:ie,layout:X}},kZ=function(e){var t=e.nodes;return s((function(){return{nodes:t}}),[t])},CZ=function(e){return{x:e.x,y:e.y,width:e.width,height:e.height,color:e.color,labelX:e.width/2,labelY:e.height/2,labelRotation:e.labelRotation,labelOpacity:1,parentLabelX:e.parentLabelX,parentLabelY:e.parentLabelY,parentLabelRotation:e.parentLabelRotation,parentLabelOpacity:1}},AZ=function(e){return{x:e.x+e.width/2,y:e.y+e.height/2,width:0,height:0,color:e.color,labelX:0,labelY:0,labelRotation:e.labelRotation,labelOpacity:0,parentLabelX:0,parentLabelY:0,parentLabelRotation:e.parentLabelRotation,parentLabelOpacity:0}},SZ=u((function(e){var t=e.nodes,n=e.nodeComponent,r=e.borderWidth,i=e.enableLabel,a=e.labelSkipSize,l=e.enableParentLabel,c=function(e,t){var n=t.isInteractive,r=t.onMouseEnter,i=t.onMouseMove,a=t.onMouseLeave,l=t.onClick,c=t.tooltip,u=eP(),d=u.showTooltipFromEvent,h=u.hideTooltip,p=o((function(e,t){d(f(c,{node:e}),t,"left")}),[d,c]),g=o((function(e,t){p(e,t),null==r||r(e,t)}),[r,p]),m=o((function(e,t){p(e,t),null==i||i(e,t)}),[i,p]),v=o((function(e,t){h(),null==a||a(e,t)}),[a,h]),b=o((function(e,t){null==l||l(e,t)}),[l]);return s((function(){return e.map((function(e){return n?sZ({},e,{onMouseEnter:function(t){return g(e,t)},onMouseMove:function(t){return m(e,t)},onMouseLeave:function(t){return v(e,t)},onClick:function(t){return b(e,t)}}):e}))}),[n,e,g,m,v,b])}(t,{isInteractive:e.isInteractive,onMouseEnter:e.onMouseEnter,onMouseMove:e.onMouseMove,onMouseLeave:e.onMouseLeave,onClick:e.onClick,tooltip:e.tooltip}),u=g$(),d=u.animate,h=u.config,p=wT(c,{keys:function(e){return e.path},initial:CZ,from:AZ,enter:CZ,update:CZ,leave:AZ,config:h,immediate:!d});return yi(y,{children:p((function(e,t){return f(n,{key:t.path,node:t,animatedProps:e,borderWidth:r,enableLabel:i,labelSkipSize:a,enableParentLabel:l})}))})})),EZ=["isInteractive","animate","motionConfig","theme","renderWrapper"],MZ=function(e){var t=e.data,n=e.identity,r=void 0===n?bZ.identity:n,i=e.value,a=void 0===i?bZ.value:i,o=e.valueFormat,s=e.tile,l=void 0===s?bZ.tile:s,c=e.nodeComponent,u=void 0===c?bZ.nodeComponent:c,d=e.innerPadding,h=void 0===d?bZ.innerPadding:d,g=e.outerPadding,m=void 0===g?bZ.outerPadding:g,v=e.leavesOnly,b=void 0===v?bZ.leavesOnly:v,y=e.width,_=e.height,w=e.margin,x=e.layers,k=void 0===x?bZ.layers:x,C=e.colors,A=void 0===C?bZ.colors:C,S=e.colorBy,E=void 0===S?bZ.colorBy:S,M=e.nodeOpacity,R=void 0===M?bZ.nodeOpacity:M,T=e.borderWidth,L=void 0===T?bZ.borderWidth:T,D=e.borderColor,O=void 0===D?bZ.borderColor:D,F=e.defs,z=void 0===F?bZ.defs:F,P=e.fill,N=void 0===P?bZ.fill:P,j=e.enableLabel,I=void 0===j?bZ.enableLabel:j,B=e.label,W=void 0===B?bZ.label:B,$=e.labelTextColor,q=void 0===$?bZ.labelTextColor:$,H=e.orientLabel,U=void 0===H?bZ.orientLabel:H,V=e.labelSkipSize,Y=void 0===V?bZ.labelSkipSize:V,G=e.enableParentLabel,X=void 0===G?bZ.enableParentLabel:G,J=e.parentLabel,Z=void 0===J?bZ.parentLabel:J,K=e.parentLabelSize,Q=void 0===K?bZ.parentLabelSize:K,ee=e.parentLabelPosition,te=void 0===ee?bZ.parentLabelPosition:ee,ne=e.parentLabelPadding,re=void 0===ne?bZ.parentLabelPadding:ne,ie=e.parentLabelTextColor,ae=void 0===ie?bZ.parentLabelTextColor:ie,oe=e.isInteractive,se=void 0===oe?bZ.isInteractive:oe,le=e.onMouseEnter,ce=e.onMouseMove,ue=e.onMouseLeave,de=e.onClick,fe=e.tooltip,he=void 0===fe?bZ.tooltip:fe,pe=e.role,ge=e.ariaLabel,me=e.ariaLabelledBy,ve=e.ariaDescribedBy,be=e.forwardedRef,ye=cq(y,_,w),_e=ye.margin,we=ye.innerWidth,xe=ye.innerHeight,ke=ye.outerWidth,Ce=ye.outerHeight,Ae=xZ({data:t,identity:r,value:a,valueFormat:o,leavesOnly:b,width:we,height:xe,tile:l,innerPadding:h,outerPadding:m,colors:A,colorBy:E,nodeOpacity:R,borderColor:O,label:W,labelTextColor:q,orientLabel:U,enableParentLabel:X,parentLabel:Z,parentLabelSize:Q,parentLabelPosition:te,parentLabelPadding:re,parentLabelTextColor:ae}).nodes,Se={nodes:null};k.includes("nodes")&&(Se.nodes=yi(SZ,{nodes:Ae,nodeComponent:u,borderWidth:L,enableLabel:I,labelSkipSize:Y,enableParentLabel:X,isInteractive:se,onMouseEnter:le,onMouseMove:ce,onMouseLeave:ue,onClick:de,tooltip:he},"nodes"));var Ee=kZ({nodes:Ae}),Me=_q(z,Ae,N);return yi(Q$,{width:ke,height:Ce,margin:_e,defs:Me,role:pe,ariaLabel:ge,ariaLabelledBy:me,ariaDescribedBy:ve,ref:be,children:k.map((function(e,t){var n;return"function"==typeof e?yi(p,{children:f(e,Ee)},t):null!=(n=null==Se?void 0:Se[e])?n:null}))})},RZ=a((function(e,t){var n=e.isInteractive,r=void 0===n?bZ.isInteractive:n,i=e.animate,a=void 0===i?bZ.animate:i,o=e.motionConfig,s=void 0===o?bZ.motionConfig:o,l=e.theme,c=e.renderWrapper,u=lZ(e,EZ);return yi(b$,{animate:a,isInteractive:r,motionConfig:s,renderWrapper:c,theme:l,children:yi(MZ,sZ({},u,{isInteractive:r,forwardedRef:t}))})})),TZ=["defaultWidth","defaultHeight","onResize","debounceResize"],LZ=a((function(e,t){var n=e.defaultWidth,r=e.defaultHeight,i=e.onResize,a=e.debounceResize,o=lZ(e,TZ);return yi(w$,{defaultWidth:n,defaultHeight:r,onResize:i,debounceResize:a,children:function(e){var n=e.width,r=e.height;return yi(RZ,sZ({},o,{width:n,height:r,ref:t}))}})})),DZ=["isInteractive","animate","motionConfig","theme","renderWrapper"],OZ=function(e){var t=e.data,n=e.identity,r=void 0===n?yZ.identity:n,i=e.value,a=void 0===i?yZ.value:i,o=e.tile,s=void 0===o?yZ.tile:o,l=e.nodeComponent,c=void 0===l?yZ.nodeComponent:l,u=e.valueFormat,d=e.innerPadding,h=void 0===d?yZ.innerPadding:d,g=e.outerPadding,m=void 0===g?yZ.outerPadding:g,v=e.leavesOnly,b=void 0===v?yZ.leavesOnly:v,y=e.width,_=e.height,w=e.margin,x=e.layers,k=void 0===x?bZ.layers:x,C=e.colors,A=void 0===C?yZ.colors:C,S=e.colorBy,E=void 0===S?yZ.colorBy:S,M=e.nodeOpacity,R=void 0===M?yZ.nodeOpacity:M,T=e.borderWidth,L=void 0===T?yZ.borderWidth:T,D=e.borderColor,O=void 0===D?yZ.borderColor:D,F=e.enableLabel,z=void 0===F?yZ.enableLabel:F,P=e.label,N=void 0===P?yZ.label:P,j=e.labelTextColor,I=void 0===j?yZ.labelTextColor:j,B=e.orientLabel,W=void 0===B?yZ.orientLabel:B,$=e.labelSkipSize,q=void 0===$?yZ.labelSkipSize:$,H=e.enableParentLabel,U=void 0===H?yZ.enableParentLabel:H,V=e.parentLabel,Y=void 0===V?yZ.parentLabel:V,G=e.parentLabelSize,X=void 0===G?yZ.parentLabelSize:G,J=e.parentLabelPosition,Z=void 0===J?yZ.parentLabelPosition:J,K=e.parentLabelPadding,Q=void 0===K?yZ.parentLabelPadding:K,ee=e.parentLabelTextColor,te=void 0===ee?yZ.parentLabelTextColor:ee,ne=e.isInteractive,re=void 0===ne?yZ.isInteractive:ne,ie=e.onMouseEnter,ae=e.onMouseMove,oe=e.onMouseLeave,se=e.onClick,le=e.tooltip,ce=void 0===le?yZ.tooltip:le,ue=e.role,de=e.ariaLabel,fe=e.ariaLabelledBy,he=e.ariaDescribedBy,pe=e.forwardedRef,ge=cq(y,_,w),me=ge.margin,ve=ge.innerWidth,be=ge.innerHeight,ye=ge.outerWidth,_e=ge.outerHeight,we=xZ({data:t,identity:r,value:a,valueFormat:u,leavesOnly:b,width:ve,height:be,tile:s,innerPadding:h,outerPadding:m,colors:A,colorBy:E,nodeOpacity:R,borderColor:O,label:N,labelTextColor:I,orientLabel:W,enableParentLabel:U,parentLabel:Y,parentLabelSize:X,parentLabelPosition:Z,parentLabelPadding:Q,parentLabelTextColor:te}).nodes,xe={nodes:null};k.includes("nodes")&&(xe.nodes=yi(SZ,{nodes:we,nodeComponent:c,borderWidth:L,enableLabel:z,labelSkipSize:q,enableParentLabel:U,isInteractive:re,onMouseEnter:ie,onMouseMove:ae,onMouseLeave:oe,onClick:se,tooltip:ce},"nodes"));var ke=kZ({nodes:we});return yi("div",{role:ue,"aria-label":de,"aria-labelledby":fe,"aria-describedby":he,style:{position:"relative",width:ye,height:_e},ref:pe,children:yi("div",{style:{position:"absolute",top:me.top,left:me.left},children:k.map((function(e,t){var n;return"function"==typeof e?yi(p,{children:f(e,ke)},t):null!=(n=null==xe?void 0:xe[e])?n:null}))})})},FZ=a((function(e,t){var n=e.isInteractive,r=void 0===n?yZ.isInteractive:n,i=e.animate,a=void 0===i?yZ.animate:i,o=e.motionConfig,s=void 0===o?yZ.motionConfig:o,l=e.theme,c=e.renderWrapper,u=lZ(e,DZ);return yi(b$,{animate:a,isInteractive:r,motionConfig:s,renderWrapper:c,theme:l,children:yi(OZ,sZ({},u,{isInteractive:r,forwardedRef:t}))})})),zZ=["defaultWidth","defaultHeight","onResize","debounceResize"];a((function(e,t){var n=e.defaultWidth,r=e.defaultHeight,i=e.onResize,a=e.debounceResize,o=lZ(e,zZ);return yi(w$,{defaultWidth:n,defaultHeight:r,onResize:i,debounceResize:a,children:function(e){var n=e.width,r=e.height;return yi(FZ,sZ({},o,{width:n,height:r,ref:t}))}})}));var PZ=["theme","isInteractive","animate","motionConfig","renderWrapper"],NZ=function(e,t,n,r){return e.find((function(e){return mq(e.x+t.left,e.y+t.top,e.width,e.height,n,r)}))},jZ=function(e){var t=e.data,r=e.identity,a=void 0===r?_Z.identity:r,s=e.value,l=void 0===s?_Z.identity:s,c=e.tile,u=void 0===c?_Z.tile:c,d=e.valueFormat,h=e.innerPadding,p=void 0===h?_Z.innerPadding:h,g=e.outerPadding,m=void 0===g?_Z.outerPadding:g,v=e.leavesOnly,b=void 0===v?_Z.leavesOnly:v,y=e.width,_=e.height,w=e.margin,x=e.colors,k=void 0===x?_Z.colors:x,C=e.colorBy,A=void 0===C?_Z.colorBy:C,S=e.nodeOpacity,E=void 0===S?_Z.nodeOpacity:S,M=e.borderWidth,R=void 0===M?_Z.borderWidth:M,T=e.borderColor,L=void 0===T?_Z.borderColor:T,D=e.enableLabel,O=void 0===D?_Z.enableLabel:D,F=e.label,z=void 0===F?_Z.label:F,P=e.labelTextColor,N=void 0===P?_Z.labelTextColor:P,j=e.orientLabel,I=void 0===j?_Z.orientLabel:j,B=e.labelSkipSize,W=void 0===B?_Z.labelSkipSize:B,$=e.isInteractive,q=void 0===$?_Z.isInteractive:$,H=e.onMouseMove,U=e.onClick,V=e.tooltip,Y=void 0===V?_Z.tooltip:V,G=e.pixelRatio,X=void 0===G?_Z.pixelRatio:G,J=e.role,Z=e.ariaLabel,K=e.ariaLabelledBy,Q=e.ariaDescribedBy,ee=e.forwardedRef,te=i(null),ne=cq(y,_,w),re=ne.margin,ie=ne.innerWidth,ae=ne.innerHeight,oe=ne.outerWidth,se=ne.outerHeight,le=xZ({data:t,identity:a,value:l,valueFormat:d,leavesOnly:b,width:ie,height:ae,tile:u,innerPadding:p,outerPadding:m,colors:k,colorBy:A,nodeOpacity:E,borderColor:L,label:z,labelTextColor:N,orientLabel:I,enableParentLabel:!1}).nodes,ce=Nz();n((function(){if(null!==te.current){var e=te.current.getContext("2d");null!==e&&(te.current.width=oe*X,te.current.height=se*X,e.scale(X,X),e.fillStyle=ce.background,e.fillRect(0,0,oe,se),e.translate(re.left,re.top),le.forEach((function(t){e.fillStyle=t.color,e.fillRect(t.x,t.y,t.width,t.height),R>0&&(e.strokeStyle=t.borderColor,e.lineWidth=R,e.strokeRect(t.x,t.y,t.width,t.height))})),O&&(e.textAlign="center",e.textBaseline="middle",xq(e,ce.labels.text),le.forEach((function(t){if(t.isLeaf&&(0===W||Math.min(t.width,t.height)>W)){var n=I&&t.height>t.width;e.save(),e.translate(t.x+t.width/2,t.y+t.height/2),e.rotate(O$(n?-90:0)),kq(e,sZ({},ce.labels.text,{fill:t.labelTextColor}),String(t.label)),e.restore()}}))))}}),[te,le,oe,se,ie,ae,re,R,O,I,W,ce,X]);var ue=eP(),de=ue.showTooltipFromEvent,fe=ue.hideTooltip,he=o((function(e){if(null!==te.current){var t=vq(te.current,e),n=t[0],r=t[1],i=NZ(le,re,n,r);void 0!==i?(de(f(Y,{node:i}),e,"left"),null==H||H(i,e)):fe()}}),[te,le,re,de,fe,Y,H]),pe=o((function(){fe()}),[fe]),ge=o((function(e){if(null!==te.current){var t=vq(te.current,e),n=t[0],r=t[1],i=NZ(le,re,n,r);void 0!==i&&(null==U||U(i,e))}}),[te,le,re,U]);return yi("canvas",{ref:wq(te,ee),width:oe*X,height:se*X,style:{width:oe,height:se},onMouseEnter:q?he:void 0,onMouseMove:q?he:void 0,onMouseLeave:q?pe:void 0,onClick:q?ge:void 0,role:J,"aria-label":Z,"aria-labelledby":K,"aria-describedby":Q})},IZ=a((function(e,t){var n=e.theme,r=e.isInteractive,i=void 0===r?_Z.isInteractive:r,a=e.animate,o=void 0===a?_Z.animate:a,s=e.motionConfig,l=void 0===s?_Z.motionConfig:s,c=e.renderWrapper,u=lZ(e,PZ);return yi(b$,{isInteractive:i,animate:o,motionConfig:l,theme:n,renderWrapper:c,children:yi(jZ,sZ({},u,{isInteractive:i,forwardedRef:t}))})})),BZ=["defaultWidth","defaultHeight","onResize","debounceResize"];a((function(e,t){var n=e.defaultWidth,r=e.defaultHeight,i=e.onResize,a=e.debounceResize,o=lZ(e,BZ);return yi(w$,{defaultWidth:n,defaultHeight:r,onResize:i,debounceResize:a,children:function(e){var n=e.width,r=e.height;return yi(IZ,sZ({},o,{width:n,height:r,ref:t}))}})}));const WZ={mass:1,tension:500,friction:40,clamp:!1,precision:.01,velocity:0},$Z=window.matchMedia("(prefers-reduced-motion: reduce)").matches,qZ="var(--color-text-secondary)",HZ="var(--color-text-primary)",UZ={background:"var(--color-bg-primary)",axis:{ticks:{text:{fill:qZ,fontSize:12}}},grid:{line:{stroke:"var(--color-border-default)",strokeDasharray:"4",strokeLinecap:"round"}},dots:{text:{fill:qZ,fontSize:12}},labels:{text:{fill:HZ,fontSize:12}},text:{fill:HZ,fontSize:12},markers:{lineColor:"var(--color-border-default)",lineStrokeWidth:2,text:{fill:HZ,fontSize:12,fontWeight:600}},legends:{text:{fill:HZ,fontSize:12}},tooltip:{container:{background:"var(--color-bg-raised)",color:"var(--color-text-primary)"}}},VZ={nodeOpacity:1,borderWidth:1,labelSkipSize:12,parentLabelSize:14,parentLabelPosition:"top",parentLabelPadding:6,enableParentLabel:!0,animate:!0,innerPadding:4,outerPadding:4};var YZ=/^--/;function GZ(e,t){return null==t||"boolean"==typeof t||""===t?"":"number"!=typeof t||0===t||YZ.test(e)||JZ.hasOwnProperty(e)&&JZ[e]?(""+t).trim():t+"px"}var XZ={};var JZ={animationIterationCount:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},ZZ=["Webkit","Ms","Moz","O"];JZ=Object.keys(JZ).reduce(((e,t)=>(ZZ.forEach((n=>e[((e,t)=>e+t.charAt(0).toUpperCase()+t.substring(1))(n,t)]=e[t])),e)),JZ);var KZ=/^(matrix|translate|scale|rotate|skew)/,QZ=/^(translate)/,eK=/^(rotate|skew)/,tK=(e,t)=>DE.num(e)&&0!==e?e+t:e,nK=(e,t)=>DE.arr(e)?e.every((e=>nK(e,t))):DE.num(e)?e===t:parseFloat(e)===t,rK=class extends oR{constructor({x:e,y:t,z:n,...r}){const i=[],a=[];(e||t||n)&&(i.push([e||0,t||0,n||0]),a.push((e=>[`translate3d(${e.map((e=>tK(e,"px"))).join(",")})`,nK(e,0)]))),zE(r,((e,t)=>{if("transform"===t)i.push([e||""]),a.push((e=>[e,""===e]));else if(KZ.test(t)){if(delete r[t],DE.und(e))return;const n=QZ.test(t)?"px":eK.test(t)?"deg":"";i.push(PE(e)),a.push("rotate3d"===t?([e,t,r,i])=>[`rotate3d(${e},${t},${r},${tK(i,n)})`,nK(i,0)]:e=>[`${t}(${e.map((e=>tK(e,n))).join(",")})`,nK(e,t.startsWith("scale")?1:0)])}})),i.length&&(r.transform=new iK(i,a)),super(r)}},iK=class extends EM{constructor(e,t){super(),this.inputs=e,this.transforms=t,this._value=null}get(){return this._value||(this._value=this._get())}_get(){let e="",t=!0;return FE(this.inputs,((n,r)=>{const i=CM(n[0]),[a,o]=this.transforms[r](DE.arr(i)?i:n.map(CM));e+=" "+a,t=t&&o})),t?"none":e}observerAdded(e){1==e&&FE(this.inputs,(e=>FE(e,(e=>kM(e)&&RM(e,this)))))}observerRemoved(e){0==e&&FE(this.inputs,(e=>FE(e,(e=>kM(e)&&TM(e,this)))))}eventObserved(e){"change"==e.type&&(this._value=null),SM(this,e)}};TE.assign({batchedUpdates:N,createStringInterpolator:WM,colors:tM});var aK=hR(["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"],{applyAnimatedValues:function(e,t){if(!e.nodeType||!e.setAttribute)return!1;const n="filter"===e.nodeName||e.parentNode&&"filter"===e.parentNode.nodeName,{className:r,style:i,children:a,scrollTop:o,scrollLeft:s,viewBox:l,...c}=t,u=Object.values(c),d=Object.keys(c).map((t=>n||e.hasAttribute(t)?t:XZ[t]||(XZ[t]=t.replace(/([A-Z])/g,(e=>"-"+e.toLowerCase())))));void 0!==a&&(e.textContent=a);for(const t in i)if(i.hasOwnProperty(t)){const n=GZ(t,i[t]);YZ.test(t)?e.style.setProperty(t,n):e.style[t]=n}d.forEach(((t,n)=>{e.setAttribute(t,u[n])})),void 0!==r&&(e.className=r),void 0!==o&&(e.scrollTop=o),void 0!==s&&(e.scrollLeft=s),void 0!==l&&e.setAttribute("viewBox",l)},createAnimatedStyle:e=>new rK(e),getComponentProps:({scrollTop:e,scrollLeft:t,...n})=>n}),oK=aK.animated;const sK=({node:e,animatedProps:t,borderWidth:n,enableLabel:r,enableParentLabel:i,labelSkipSize:a})=>{const o=Nz(),s=e.data.successRateText,{triggerProps:l,tooltip:c}=lX(s??""),u=r&&e.isLeaf&&(0===a||Math.min(e.width,e.height)>a),d=i&&e.isParent;return yi(oK.g,{transform:ET([t.x,t.y],((e,t)=>`translate(${e},${t})`)),children:[yi(oK.rect,{"data-testid":`node.${e.id}`,width:ET(t.width,(e=>Math.max(e,0))),height:ET(t.height,(e=>Math.max(e,0))),fill:e.fill?e.fill:t.color,strokeWidth:n,stroke:e.borderColor,fillOpacity:e.opacity,onMouseMove:e.onMouseMove,onClick:e.onClick,...s?l:{onMouseEnter:e.onMouseEnter,onMouseLeave:e.onMouseLeave},"aria-label":s,role:s?"img":void 0,rx:6,ry:6}),s&&c,u&&yi(Pq,{"data-testid":`label.${e.id}`,textAnchor:"middle",dominantBaseline:"central",style:{...o.labels.text,fill:e.labelTextColor,pointerEvents:"none"},fillOpacity:t.labelOpacity,transform:ET([t.labelX,t.labelY,t.labelRotation],((e,t,n)=>`translate(${e},${t}) rotate(${n})`)),children:e.label}),d&&yi(Pq,{"data-testid":`parentLabel.${e.id}`,dominantBaseline:"central",style:{...o.labels.text,fill:e.parentLabelTextColor,pointerEvents:"none"},fillOpacity:t.parentLabelOpacity,transform:ET([t.parentLabelX,t.parentLabelY,t.parentLabelRotation],((e,t,n)=>`translate(${e},${t}) rotate(${n})`)),children:e.parentLabel})]})};var lK={treeMapLegend:"styles_treeMapLegend__dV-Ny",treeMapLegend__gradient:"styles_treeMapLegend__gradient__v853j"};const cK=({minValue:e,maxValue:t,colorFn:n,formatValue:r=e=>e.toFixed(2),domain:i})=>{const a=R((()=>i&&i.length>0?Math.min(...i):e??0),[i,e]),o=R((()=>i&&i.length>0?Math.max(...i):t??1),[i,t]),s=R((()=>{if(i&&i.length>0){const e=[...i].sort(((e,t)=>e-t)),t=o-a;return e.map((e=>{const r=(e-a)/t*100;return`${n(e,i)} ${r.toFixed(1)}%`})).join(", ")}return`${n(a)} 0%, ${n(o)} 100%`}),[a,o,n,i]),l=R((()=>r(a)),[a,r]),c=R((()=>r(o)),[o,r]);return yi("div",{className:lK.treeMapLegend,children:[yi(Ci,{size:"s",type:"ui",className:lK.treeMapLegend__label,children:c}),yi("div",{className:lK.treeMapLegend__gradient,style:{"--gradient-stops":s}}),yi(Ci,{size:"s",type:"ui",className:lK.treeMapLegend__label,children:l})]})};var uK="styles_legendIndicatorContainer__sdAMj",dK="styles_legendIndicatorContainerBase__OuGDD",fK="styles_legendIndicator__e9eaz";const hK=e=>{const{color:t,border:n}=e;return yi("div",{className:uK,children:yi("div",{className:dK,"data-has-color":!!t||void 0,children:yi("i",{"aria-hidden":!0,className:fK,style:{backgroundColor:t,borderColor:n??void 0}})})})};var pK="styles_tooltip__ErmeC",gK="styles_container__mEUzr",mK="styles_label__oqfkW";const vK=e=>{const{children:t,labelColor:n,label:r}=e;return yi("div",{"data-testid":"chart-tooltip",className:pK,"data-tooltip-type":"chart",children:yi("div",{className:gK,children:[!!r&&yi(Ci,{className:mK,type:"ui",size:"s",bold:!0,tag:"div",children:[n&&yi(hK,{color:n}),yi(Ci,{tag:"div",bold:!0,children:r})]}),t]})})};var bK="styles_legendItem__NCAPr",yK="styles_legendItemLink__Yo6du",_K="styles_legendName__WZbe8",wK="styles_legendLabel__-HDGz",xK="styles_space__pQ9pa",kK="styles_menuSpace__7N7yT",CK="styles_legendValue__vV5dD",AK="styles_point__eFnBu";const SK=e=>"number"==typeof e&&!Number.isNaN(e)||"string"==typeof e&&!!e,EK=(e,t="en-US")=>SK(e)?"number"==typeof e?new Intl.NumberFormat(t,{useGrouping:!0}).format(e):String(e):"",MK=({color:e})=>yi("div",{className:AK,children:yi("svg",{width:"16",height:"8",viewBox:"0 0 16 8",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[yi("path",{d:"M0 4H16",stroke:e,"stroke-width":"2"}),yi("path",{d:"M7.99902 7C9.65588 7 10.999 5.65685 10.999 4C10.999 2.34315 9.65588 1 7.99902 1C6.34217 1 4.99902 2.34315 4.99902 4C4.99902 5.65685 6.34217 7 7.99902 7Z",fill:"#FAFCFF",fillOpacity:"0.98",stroke:e,strokeWidth:"2"})]})}),RK=e=>{const{onClick:t,legend:n,mode:r="default",hideOnEmptyValue:i=!0}=e,{color:a,border:o,label:s,link:l,value:c}=n,u=l?"a":"div",d=n.type??"default";return i&&void 0===c?null:yi(u,{href:l,className:ae(bK,l&&yK),onClick:"function"==typeof t?()=>{t(n)}:void 0,children:[yi("div",{className:_K,children:["default"===d&&yi(hK,{color:a,border:o}),"point"===d&&yi(MK,{color:a}),yi(Ci,{type:"ui",size:"s",className:wK,children:s})]}),SK(c)&&yi(y,{children:[yi("div",{className:ae("menu"===r?kK:xK)}),yi(Ci,{type:"ui",size:"s",className:CK,children:c})]})]})},TK=({node:e,rows:t})=>{const{id:n,formattedValue:r,color:i,parentLabel:a}=e;return yi(vK,{label:`${a||n}: ${r}`,labelColor:i,children:t&&t.map(((e,t)=>yi(RK,{mode:"default",legend:{label:e,type:"none",id:t.toString(),color:i},hideOnEmptyValue:!1},t.toString())))})};var LK="styles_treeMapChart__G6ayQ";const DK=({width:e="100%",height:t=400,rootAriaLabel:n,emptyLabel:r="No data available",emptyAriaLabel:i="No data available",data:a,showLegend:o=!0,legendMinValue:s=0,legendMaxValue:l=1,formatLegend:c,colors:u,missingValueColor:d,legendDomain:f,parentSkipSize:h,tooltipRows:p,labelColor:g,...m})=>{const v=R((()=>0===(a.children??[]).length),[a]),b=E((e=>(({parentSkipSize:e=48})=>t=>{const{width:n,height:r,data:i={}}=t;return Math.min(n,r)<e?"":String(i[t.parentLabel]??t.id)})({parentSkipSize:h})(e)),[h]),y=E((({node:e})=>yi(TK,{node:e,rows:p&&p(e)})),[p]);return v?yi(YG,{label:r,width:e,height:t,ariaLabel:i}):yi("div",{role:"successRateText"in a?"group":"img","aria-label":n,tabIndex:"successRateText"in a?void 0:0,style:{width:e,height:t},className:LK,children:[yi(LZ,{data:a,parentLabel:b,tooltip:y,...VZ,...m,theme:UZ,motionConfig:WZ,animate:!$Z,colors:e=>void 0===e.data.colorValue&&void 0!==d?d:u(e.data.colorValue??0),labelTextColor:g,parentLabelTextColor:g,borderColor:"var(--color-bg-primary)",borderWidth:1,nodeComponent:sK}),o&&yi(cK,{minValue:s,maxValue:l,colorFn:u,formatValue:c,domain:f})]})},OK=k("light"),FK=()=>M(OK)??"light",zK=e=>{const{children:t,theme:n}=e;return yi(OK.Provider,{value:n,children:t})},PK=(e="light")=>{const t=R((()=>dX([0,1],["var(--color-status-failed-chart-fill)","var(--color-intent-info-bg)","var(--color-status-passed-chart-fill)"])),[e]);return E((e=>t(e)),[t])},NK=(e="light")=>{const t=R((()=>dX([0,1],["var(--color-status-failed-chart-fill)","var(--color-status-passed-chart-fill)"])),[e]);return E((e=>t(e)),[t])},jK=(e="light")=>{const t=R((()=>dX([0,1],["var(--color-text-inverse)","var(--color-text-primary)","var(--color-text-inverse)"])),[e]);return E((e=>t(e)),[t])},IK=({title:e,translations:t,chartType:n,i18n:r=hX,data:i,...a})=>{const o=t["no-results"],s=FK(),l=PK(s),c=NK(s),u=jK(s),d=Ld("var(--color-status-skipped-chart-fill)"),f=i,h=(f.passedTests??0)+(f.failedTests??0)+(f.otherTests??0),p=e=>{const t=(e.passedTests??0)+(e.failedTests??0)+(e.otherTests??0),n=e.eligibleCount??t,i=r("successRate",{rate:t?gX(100*(e.colorValue??0),n,r):"???"});return{...e,successRateText:`${e.id}: ${i}\n${r("slice",{count:t,percent:pX(h?t/h*100:0)})}\n${mX(t,n,r)}`,children:e.children?.map(p)}};return yi($C,{title:e,children:yi(DK,{data:n===Do.SuccessRateDistribution?p(i):i,emptyLabel:o,emptyAriaLabel:o,...a,isInteractive:n!==Do.SuccessRateDistribution,colors:n===Do.CoverageDiff?l:c,missingValueColor:n===Do.SuccessRateDistribution?d:void 0,showLegend:!1,labelColor:n===Do.CoverageDiff?e=>u(e.data.colorValue??0):()=>"var(--color-text-inverse)"})})};var BK,WK,$K,qK;var HK,UK,VK=function(){if(qK)return $K;qK=1;var e=e$(),t=function(){if(WK)return BK;WK=1;var e=zH();return BK=function(t,n){var r=[];return e(t,(function(e,t,i){n(e,t,i)&&r.push(e)})),r},BK}(),n=pH(),r=Qb();return $K=function(i,a){return(r(i)?e:t)(i,n(a,3))}}(),YK=I(VK);var GK=I(function(){if(UK)return HK;UK=1;var e=Kv(),t=Qv();return HK=function(n){return"number"==typeof n||t(n)&&"[object Number]"==e(n)}}());function XK(){return XK=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},XK.apply(null,arguments)}var JK=4,ZK=120,KK=8,QK=function(e){return"circle"===e.type},eQ=function(e){return"dot"===e.type},tQ=function(e){return"rect"===e.type},nQ=function(e){var t=e.data,n=e.annotations,r=e.getPosition,i=e.getDimensions;return n.reduce((function(e,n){var a=n.offset||0;return[].concat(e,YK(t,n.match).map((function(e){var t=r(e),o=i(e);return(QK(n)||tQ(n))&&(o.size=o.size+2*a,o.width=o.width+2*a,o.height=o.height+2*a),XK({},_J(n,["match","offset"]),t,o,{size:n.size||o.size,datum:e})})))}),[])},rQ=function(e){var t,n,r=e.x,i=e.y,a=e.noteX,o=e.noteY,s=e.noteWidth,l=void 0===s?ZK:s,c=e.noteTextOffset,u=void 0===c?KK:c;if(GK(a))t=r+a;else{if(void 0===a.abs)throw new Error("noteX should be either a number or an object containing an 'abs' property");t=a.abs}if(GK(o))n=i+o;else{if(void 0===o.abs)throw new Error("noteY should be either a number or an object containing an 'abs' property");n=o.abs}var d=r,f=i,h=function(e,t,n,r){var i=Math.atan2(r-t,n-e);return function(e){var t=e%360;return t<0&&(t+=360),t}(F$(i))}(r,i,t,n);if(QK(e)){var p=z$(O$(h),e.size/2);d+=p.x,f+=p.y}if(tQ(e)){var g=Math.round((h+90)/45)%8;0===g&&(f-=e.height/2),1===g&&(d+=e.width/2,f-=e.height/2),2===g&&(d+=e.width/2),3===g&&(d+=e.width/2,f+=e.height/2),4===g&&(f+=e.height/2),5===g&&(d-=e.width/2,f+=e.height/2),6===g&&(d-=e.width/2),7===g&&(d-=e.width/2,f-=e.height/2)}var m=t,v=t;return(h+90)%360>180?(m-=l,v-=l):v+=l,{points:[[d,f],[t,n],[v,n]],text:[m,n-u],angle:h+90}},iQ=function(e){var t=e.data,n=e.annotations,r=e.getPosition,i=e.getDimensions;return s((function(){return nQ({data:t,annotations:n,getPosition:r,getDimensions:i})}),[t,n,r,i])},aQ=function(e){var t=e.annotations;return s((function(){return t.map((function(e){return XK({},e,{computed:rQ(XK({},e))})}))}),[t])},oQ=function(e){var t=e.datum,n=e.x,r=e.y,i=e.note,a=Nz(),o=g$(),s=o.animate,l=_T({x:n,y:r,config:o.config,immediate:!s});return"function"==typeof i?f(i,{x:n,y:r,datum:t}):yi(y,{children:[a.annotations.text.outlineWidth>0&&yi(vD.text,{x:l.x,y:l.y,style:XK({},a.annotations.text,{strokeLinejoin:"round",strokeWidth:2*a.annotations.text.outlineWidth,stroke:a.annotations.text.outlineColor}),children:i}),yi(vD.text,{x:l.x,y:l.y,style:_J(a.annotations.text,["outlineWidth","outlineColor"]),children:i})]})},sQ=function(e){var t=e.points,n=e.isOutline,r=void 0!==n&&n,i=Nz(),a=s((function(){var e=t[0];return t.slice(1).reduce((function(e,t){return e+" L"+t[0]+","+t[1]}),"M"+e[0]+","+e[1])}),[t]),o=iq(a);if(r&&i.annotations.link.outlineWidth<=0)return null;var l=XK({},i.annotations.link);return r&&(l.strokeLinecap="square",l.strokeWidth=i.annotations.link.strokeWidth+2*i.annotations.link.outlineWidth,l.stroke=i.annotations.link.outlineColor,l.opacity=i.annotations.link.outlineOpacity),yi(vD.path,{fill:"none",d:o,style:l})},lQ=function(e){var t=e.x,n=e.y,r=e.size,i=Nz(),a=g$(),o=a.animate,s=_T({x:t,y:n,radius:r/2,config:a.config,immediate:!o});return yi(y,{children:[i.annotations.outline.outlineWidth>0&&yi(vD.circle,{cx:s.x,cy:s.y,r:s.radius,style:XK({},i.annotations.outline,{fill:"none",strokeWidth:i.annotations.outline.strokeWidth+2*i.annotations.outline.outlineWidth,stroke:i.annotations.outline.outlineColor,opacity:i.annotations.outline.outlineOpacity})}),yi(vD.circle,{cx:s.x,cy:s.y,r:s.radius,style:i.annotations.outline})]})},cQ=function(e){var t=e.x,n=e.y,r=e.size,i=void 0===r?JK:r,a=Nz(),o=g$(),s=o.animate,l=_T({x:t,y:n,radius:i/2,config:o.config,immediate:!s});return yi(y,{children:[a.annotations.outline.outlineWidth>0&&yi(vD.circle,{cx:l.x,cy:l.y,r:l.radius,style:XK({},a.annotations.outline,{fill:"none",strokeWidth:2*a.annotations.outline.outlineWidth,stroke:a.annotations.outline.outlineColor,opacity:a.annotations.outline.outlineOpacity})}),yi(vD.circle,{cx:l.x,cy:l.y,r:l.radius,style:a.annotations.symbol})]})},uQ=function(e){var t=e.x,n=e.y,r=e.width,i=e.height,a=e.borderRadius,o=void 0===a?6:a,s=Nz(),l=g$(),c=l.animate,u=_T({x:t-r/2,y:n-i/2,width:r,height:i,config:l.config,immediate:!c});return yi(y,{children:[s.annotations.outline.outlineWidth>0&&yi(vD.rect,{x:u.x,y:u.y,rx:o,ry:o,width:u.width,height:u.height,style:XK({},s.annotations.outline,{fill:"none",strokeWidth:s.annotations.outline.strokeWidth+2*s.annotations.outline.outlineWidth,stroke:s.annotations.outline.outlineColor,opacity:s.annotations.outline.outlineOpacity})}),yi(vD.rect,{x:u.x,y:u.y,rx:o,ry:o,width:u.width,height:u.height,style:s.annotations.outline})]})},dQ=function(e){var t=e.datum,n=e.x,r=e.y,i=e.note,a=function(e){return s((function(){return rQ(e)}),[e])}(e);if(!function(e){var t=typeof e;return g(e)||"string"===t||"function"===t||"object"===t}(i))throw new Error("note should be a valid react element");return yi(y,{children:[yi(sQ,{points:a.points,isOutline:!0}),QK(e)&&yi(lQ,{x:n,y:r,size:e.size}),eQ(e)&&yi(cQ,{x:n,y:r,size:e.size}),tQ(e)&&yi(uQ,{x:n,y:r,width:e.width,height:e.height,borderRadius:e.borderRadius}),yi(sQ,{points:a.points}),yi(oQ,{datum:t,x:a.text[0],y:a.text[1],note:i})]})},fQ=function(e,t){t.forEach((function(t,n){var r=t[0],i=t[1];0===n?e.moveTo(r,i):e.lineTo(r,i)}))},hQ=function(e,t){var n=t.annotations,r=t.theme;0!==n.length&&(e.save(),n.forEach((function(t){if(!function(e){var t=typeof e;return"string"===t||"function"===t}(t.note))throw new Error("note is invalid for canvas implementation");r.annotations.link.outlineWidth>0&&(e.lineCap="square",e.strokeStyle=r.annotations.link.outlineColor,e.lineWidth=r.annotations.link.strokeWidth+2*r.annotations.link.outlineWidth,e.beginPath(),fQ(e,t.computed.points),e.stroke(),e.lineCap="butt"),QK(t)&&r.annotations.outline.outlineWidth>0&&(e.strokeStyle=r.annotations.outline.outlineColor,e.lineWidth=r.annotations.outline.strokeWidth+2*r.annotations.outline.outlineWidth,e.beginPath(),e.arc(t.x,t.y,t.size/2,0,2*Math.PI),e.stroke()),eQ(t)&&r.annotations.symbol.outlineWidth>0&&(e.strokeStyle=r.annotations.symbol.outlineColor,e.lineWidth=2*r.annotations.symbol.outlineWidth,e.beginPath(),e.arc(t.x,t.y,t.size/2,0,2*Math.PI),e.stroke()),tQ(t)&&r.annotations.outline.outlineWidth>0&&(e.strokeStyle=r.annotations.outline.outlineColor,e.lineWidth=r.annotations.outline.strokeWidth+2*r.annotations.outline.outlineWidth,e.beginPath(),e.rect(t.x-t.width/2,t.y-t.height/2,t.width,t.height),e.stroke()),e.strokeStyle=r.annotations.link.stroke,e.lineWidth=r.annotations.link.strokeWidth,e.beginPath(),fQ(e,t.computed.points),e.stroke(),QK(t)&&(e.strokeStyle=r.annotations.outline.stroke,e.lineWidth=r.annotations.outline.strokeWidth,e.beginPath(),e.arc(t.x,t.y,t.size/2,0,2*Math.PI),e.stroke()),eQ(t)&&(e.fillStyle=r.annotations.symbol.fill,e.beginPath(),e.arc(t.x,t.y,t.size/2,0,2*Math.PI),e.fill()),tQ(t)&&(e.strokeStyle=r.annotations.outline.stroke,e.lineWidth=r.annotations.outline.strokeWidth,e.beginPath(),e.rect(t.x-t.width/2,t.y-t.height/2,t.width,t.height),e.stroke()),"function"==typeof t.note?t.note(e,{datum:t.datum,x:t.computed.text[0],y:t.computed.text[1],theme:r}):(e.font=r.annotations.text.fontSize+"px "+r.annotations.text.fontFamily,e.textAlign="left",e.textBaseline="alphabetic",e.fillStyle=r.annotations.text.fill,e.strokeStyle=r.annotations.text.outlineColor,e.lineWidth=2*r.annotations.text.outlineWidth,r.annotations.text.outlineWidth>0&&(e.lineJoin="round",e.strokeText(t.note,t.computed.text[0],t.computed.text[1]),e.lineJoin="miter"),e.fillText(t.note,t.computed.text[0],t.computed.text[1]))})),e.restore())};function pQ(){return pQ=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},pQ.apply(null,arguments)}function gQ(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(-1!==t.indexOf(r))continue;n[r]=e[r]}return n}var mQ={layers:["grid","axes","cells","legends","annotations"],forceSquare:!1,xInnerPadding:0,xOuterPadding:0,yInnerPadding:0,yOuterPadding:0,sizeVariation:!1,opacity:1,activeOpacity:1,inactiveOpacity:.15,borderWidth:0,borderColor:{from:"color",modifiers:[["darker",.8]]},enableGridX:!1,enableGridY:!1,enableLabels:!0,label:"formattedValue",labelTextColor:{from:"color",modifiers:[["darker",2]]},colors:{type:"sequential",scheme:"brown_blueGreen"},emptyColor:"#000000",legends:[],annotations:[],isInteractive:!0,hoverTarget:"rowColumn",tooltip:u((function(e){var t=e.cell;return null===t.formattedValue?null:yi(Hz,{id:t.serieId+" - "+t.data.x,value:t.formattedValue,enableChip:!0,color:t.color})})),animate:!0,motionConfig:"gentle"},vQ=pQ({},mQ,{axisTop:{},axisRight:null,axisBottom:null,axisLeft:{},borderRadius:0,cellComponent:"rect"}),bQ=pQ({},mQ,{axisTop:{},axisRight:null,axisBottom:null,axisLeft:{},renderCell:"rect",pixelRatio:"undefined"!=typeof window&&window.devicePixelRatio||1}),yQ=function(e){var t=e.data,n=e.width,r=e.height,i=e.xInnerPadding,a=e.xOuterPadding,o=e.yInnerPadding,s=e.yOuterPadding,l=e.forceSquare,c=new Set,u=[],d=[],f=[];t.forEach((function(e){u.push(e.id),e.data.forEach((function(t){c.add(t.x);var n=null;void 0!==t.y&&null!==t.y&&(d.push(t.y),n=t.y),f.push({id:e.id+"."+t.x,serieId:e.id,value:n,data:t})}))}));var h=Array.from(c),p=function(e){var t=e.width,n=e.height,r=e.rows,i=e.columns,a=t,o=n,s=0,l=0;if(e.forceSquare){var c=Math.max(t/i,0),u=Math.max(n/r,0),d=Math.min(c,u);s=(t-(a=d*i))/2,l=(n-(o=d*r))/2}return{offsetX:s,offsetY:l,width:a,height:o}}({width:n,height:r,columns:h.length,rows:u.length,forceSquare:l}),g=p.width,m=p.height,v=p.offsetX,b=p.offsetY,y=PU(wl().domain(h).range([0,g]).paddingOuter(a).paddingInner(i)),_=PU(wl().domain(u).range([0,m]).paddingOuter(s).paddingInner(o)),w=y.bandwidth(),x=_.bandwidth(),k=f.map((function(e){return pQ({},e,{x:y(e.data.x)+w/2,y:_(e.serieId)+x/2,width:w,height:x})}));return{width:g,height:m,offsetX:v,offsetY:b,xScale:y,yScale:_,minValue:Math.min.apply(Math,d),maxValue:Math.max.apply(Math,d),cells:k}},_Q=function(e){return{x:e.x,y:e.y}},wQ=function(e){return{size:Math.max(e.width,e.height),width:e.width,height:e.height}},xQ={cell:function(e,t){return e.id===t.id},row:function(e,t){return e.serieId===t.serieId},column:function(e,t){return e.data.x===t.data.x},rowColumn:function(e,t){return e.serieId===t.serieId||e.data.x===t.data.x}},kQ=function(e){var t,n,r,i=e.cells,a=e.minValue,l=e.maxValue,c=e.sizeVariation,u=e.colors,d=e.emptyColor,f=e.opacity,h=e.activeOpacity,p=e.inactiveOpacity,g=e.borderColor,m=e.label,v=e.labelTextColor,b=e.valueFormat,y=e.activeIds,_=s((function(){return function(e,t,n){if(!e)return function(){return 1};var r=Jl().domain(e.values?e.values:[t,n]).range(e.sizes);return function(e){return null===e?1:r(e)}}(t,n,r)}),[t=c,n=a,r=l]),w=s((function(){return"function"==typeof u?null:eY(u,{min:a,max:l})}),[u,a,l]),x=o((function(e){if(null!==e.value){if("function"==typeof u)return u(e);if(null!==w)return w(e.value)}return d}),[u,w,d]),k=Nz(),C=YV(g,k),A=YV(v,k),S=fq(b),E=pq(m);return{cells:s((function(){return i.map((function(e){var t=f;y.length>0&&(t=y.includes(e.id)?h:p);var n=_(e.value),r=pQ({},e,{width:e.width*n,height:e.height*n,formattedValue:null!==e.value?S(e.value):null,opacity:t});return r.label=E(r),r.color=x(r),r.borderColor=C(r),r.labelTextColor=A(r),r}))}),[i,_,x,C,A,S,E,y,f,h,p]),colorScale:w}},CQ=function(e){var n=e.data,r=e.valueFormat,i=e.width,a=e.height,o=e.xOuterPadding,l=void 0===o?mQ.xOuterPadding:o,c=e.xInnerPadding,u=void 0===c?mQ.xInnerPadding:c,d=e.yOuterPadding,f=void 0===d?mQ.yOuterPadding:d,h=e.yInnerPadding,p=void 0===h?mQ.yInnerPadding:h,g=e.forceSquare,m=void 0===g?mQ.forceSquare:g,v=e.sizeVariation,b=void 0===v?mQ.sizeVariation:v,y=e.colors,_=void 0===y?mQ.colors:y,w=e.emptyColor,x=void 0===w?mQ.emptyColor:w,k=e.opacity,C=void 0===k?mQ.opacity:k,A=e.activeOpacity,S=void 0===A?mQ.activeOpacity:A,E=e.inactiveOpacity,M=void 0===E?mQ.inactiveOpacity:E,R=e.borderColor,T=void 0===R?mQ.borderColor:R,L=e.label,D=void 0===L?mQ.label:L,O=e.labelTextColor,F=void 0===O?mQ.labelTextColor:O,z=e.hoverTarget,P=void 0===z?mQ.hoverTarget:z,N=t(null),j=N[0],I=N[1],B=function(e){var t=e.data,n=e.width,r=e.height,i=e.xInnerPadding,a=e.xOuterPadding,o=e.yInnerPadding,l=e.yOuterPadding,c=e.forceSquare;return s((function(){return yQ({data:t,width:n,height:r,xInnerPadding:i,xOuterPadding:a,yInnerPadding:o,yOuterPadding:l,forceSquare:c})}),[t,n,r,i,a,o,l,c])}({data:n,width:i,height:a,xOuterPadding:l,xInnerPadding:u,yOuterPadding:f,yInnerPadding:p,forceSquare:m}),W=B.width,$=B.height,q=B.offsetX,H=B.offsetY,U=B.cells,V=B.xScale,Y=B.yScale,G=B.minValue,X=B.maxValue,J=s((function(){if(!j)return[];var e=xQ[P];return U.filter((function(t){return e(t,j)})).map((function(e){return e.id}))}),[U,j,P]),Z=kQ({cells:U,minValue:G,maxValue:X,sizeVariation:b,colors:_,emptyColor:x,opacity:C,activeOpacity:S,inactiveOpacity:M,borderColor:T,label:D,labelTextColor:F,valueFormat:r,activeIds:J});return{width:W,height:$,offsetX:q,offsetY:H,cells:Z.cells,xScale:V,yScale:Y,colorScale:Z.colorScale,activeCell:j,setActiveCell:I}},AQ=function(e,t){return iQ({data:e,annotations:t,getPosition:_Q,getDimensions:wQ})},SQ=u((function(e){var t=e.cell,n=e.borderWidth,r=e.borderRadius,i=e.animatedProps,a=e.onMouseEnter,o=e.onMouseMove,l=e.onMouseLeave,c=e.onClick,u=e.enableLabels,d=Nz(),f=s((function(){return{onMouseEnter:a?a(t):void 0,onMouseMove:o?o(t):void 0,onMouseLeave:l?l(t):void 0,onClick:c?c(t):void 0}}),[t,a,o,l,c]);return yi(vD.g,pQ({"data-testid":"cell."+t.id,style:{cursor:"pointer"},opacity:i.opacity},f,{transform:ET([i.x,i.y,i.scale],(function(e,t,n){return"translate("+e+", "+t+") scale("+n+")"})),children:[yi(vD.rect,{transform:ET([i.width,i.height],(function(e,t){return"translate("+-.5*e+", "+-.5*t+")"})),fill:i.color,width:i.width,height:i.height,stroke:i.borderColor,strokeWidth:n,rx:r,ry:r},t.id),u&&yi(Pq,{textAnchor:"middle",dominantBaseline:"central",fill:i.labelTextColor,style:pQ({},d.labels.text,{fill:void 0,userSelect:"none"}),children:t.label})]}))})),EQ=u((function(e){var t=e.cell,n=e.borderWidth,r=e.animatedProps,i=e.onMouseEnter,a=e.onMouseMove,o=e.onMouseLeave,l=e.onClick,c=e.enableLabels,u=Nz(),d=s((function(){return{onMouseEnter:i?i(t):void 0,onMouseMove:a?a(t):void 0,onMouseLeave:o?o(t):void 0,onClick:l?l(t):void 0}}),[t,i,a,o,l]);return yi(vD.g,pQ({"data-testid":"cell."+t.id,style:{cursor:"pointer"},opacity:r.opacity},d,{transform:ET([r.x,r.y],(function(e,t){return"translate("+e+", "+t+")"})),children:[yi(vD.circle,{r:ET([r.width,r.height],(function(e,t){return Math.min(e,t)/2})),fill:r.color,fillOpacity:r.opacity,strokeWidth:n,stroke:r.borderColor}),c&&yi(Pq,{dominantBaseline:"central",textAnchor:"middle",fill:r.labelTextColor,style:pQ({},u.labels.text,{fill:void 0}),children:t.label})]}))})),MQ=function(e){return{x:e.x,y:e.y,width:e.width,height:e.height,color:e.color,opacity:0,borderColor:e.borderColor,labelTextColor:e.labelTextColor,scale:0}},RQ=function(e){return{x:e.x,y:e.y,width:e.width,height:e.height,color:e.color,opacity:e.opacity,borderColor:e.borderColor,labelTextColor:e.labelTextColor,scale:1}},TQ=function(e){return{x:e.x,y:e.y,width:e.width,height:e.height,color:e.color,opacity:0,borderColor:e.borderColor,labelTextColor:e.labelTextColor,scale:0}},LQ=function(e){var t,n=e.cells,r=e.cellComponent,i=e.borderRadius,a=e.borderWidth,o=e.isInteractive,l=e.setActiveCell,c=e.onMouseEnter,u=e.onMouseMove,d=e.onMouseLeave,h=e.onClick,p=e.tooltip,g=e.enableLabels,m=g$(),v=m.animate,b=m.config,_=wT(n,{keys:function(e){return e.id},initial:RQ,from:MQ,enter:RQ,update:RQ,leave:TQ,config:b,immediate:!v}),w=eP(),x=w.showTooltipFromEvent,k=w.hideTooltip,C=s((function(){if(o)return function(e){return function(t){x(f(p,{cell:e}),t),l(e),null==c||c(e,t)}}}),[o,x,p,l,c]),A=s((function(){if(o)return function(e){return function(t){x(f(p,{cell:e}),t),null==u||u(e,t)}}}),[o,x,p,u]),S=s((function(){if(o)return function(e){return function(t){k(),l(null),null==d||d(e,t)}}}),[o,k,l,d]),E=s((function(){if(o)return function(e){return function(t){null==h||h(e,t)}}}),[o,h]);return t="rect"===r?SQ:"circle"===r?EQ:r,yi(y,{children:_((function(e,n){return f(t,{cell:n,borderRadius:i,borderWidth:a,animatedProps:e,enableLabels:g,onMouseEnter:C,onMouseMove:A,onMouseLeave:S,onClick:E})}))})},DQ=function(e){var t=e.cells,n=e.annotations,r=AQ(t,n);return yi(y,{children:r.map((function(e,t){return yi(dQ,pQ({},e),t)}))})},OQ=["isInteractive","animate","motionConfig","theme","renderWrapper"],FQ=function(e){var t=e.data,n=e.layers,r=void 0===n?vQ.layers:n,i=e.valueFormat,a=e.width,o=e.height,l=e.margin,c=e.forceSquare,u=void 0===c?vQ.forceSquare:c,d=e.xInnerPadding,h=void 0===d?vQ.xInnerPadding:d,g=e.xOuterPadding,m=void 0===g?vQ.xOuterPadding:g,v=e.yInnerPadding,b=void 0===v?vQ.yInnerPadding:v,y=e.yOuterPadding,_=void 0===y?vQ.yOuterPadding:y,w=e.sizeVariation,x=void 0===w?vQ.sizeVariation:w,k=e.cellComponent,C=void 0===k?vQ.cellComponent:k,A=e.opacity,S=void 0===A?vQ.opacity:A,E=e.activeOpacity,M=void 0===E?vQ.activeOpacity:E,R=e.inactiveOpacity,T=void 0===R?vQ.inactiveOpacity:R,L=e.borderRadius,D=void 0===L?vQ.borderRadius:L,O=e.borderWidth,F=void 0===O?vQ.borderWidth:O,z=e.borderColor,P=void 0===z?vQ.borderColor:z,N=e.enableGridX,j=void 0===N?vQ.enableGridX:N,I=e.enableGridY,B=void 0===I?vQ.enableGridY:I,W=e.axisTop,$=void 0===W?vQ.axisTop:W,q=e.axisRight,H=void 0===q?vQ.axisRight:q,U=e.axisBottom,V=void 0===U?vQ.axisBottom:U,Y=e.axisLeft,G=void 0===Y?vQ.axisLeft:Y,X=e.enableLabels,J=void 0===X?vQ.enableLabels:X,Z=e.label,K=void 0===Z?vQ.label:Z,Q=e.labelTextColor,ee=void 0===Q?vQ.labelTextColor:Q,te=e.colors,ne=void 0===te?vQ.colors:te,re=e.emptyColor,ie=void 0===re?vQ.emptyColor:re,ae=e.legends,oe=void 0===ae?vQ.legends:ae,se=e.annotations,le=void 0===se?vQ.annotations:se,ce=e.isInteractive,ue=void 0===ce?vQ.isInteractive:ce,de=e.onMouseEnter,fe=e.onMouseMove,he=e.onMouseLeave,pe=e.onClick,ge=e.hoverTarget,me=void 0===ge?vQ.hoverTarget:ge,ve=e.tooltip,be=void 0===ve?vQ.tooltip:ve,ye=e.role,_e=e.ariaLabel,we=e.ariaLabelledBy,xe=e.ariaDescribedBy,ke=e.forwardedRef,Ce=cq(a,o,l),Ae=Ce.margin,Se=Ce.innerWidth,Ee=Ce.innerHeight,Me=Ce.outerWidth,Re=Ce.outerHeight,Te=CQ({data:t,valueFormat:i,width:Se,height:Ee,forceSquare:u,xInnerPadding:h,xOuterPadding:m,yInnerPadding:b,yOuterPadding:_,sizeVariation:x,colors:ne,emptyColor:ie,opacity:S,activeOpacity:M,inactiveOpacity:T,borderColor:P,label:K,labelTextColor:ee,hoverTarget:me}),Le=Te.width,De=Te.height,Oe=Te.offsetX,Fe=Te.offsetY,ze=Te.xScale,Pe=Te.yScale,Ne=Te.cells,je=Te.colorScale,Ie=Te.activeCell,Be=Te.setActiveCell,We=s((function(){return pQ({},Ae,{top:Ae.top+Fe,left:Ae.left+Oe})}),[Ae,Oe,Fe]),$e={grid:null,axes:null,cells:null,legends:null,annotations:null};r.includes("grid")&&($e.grid=yi(RV,{width:Le,height:De,xScale:j?ze:null,yScale:B?Pe:null},"grid")),r.includes("axes")&&($e.axes=yi(SV,{xScale:ze,yScale:Pe,width:Le,height:De,top:$,right:H,bottom:V,left:G},"axes")),r.includes("cells")&&($e.cells=yi(p,{children:yi(LQ,{cells:Ne,cellComponent:C,borderRadius:D,borderWidth:F,isInteractive:ue,setActiveCell:Be,onMouseEnter:de,onMouseMove:fe,onMouseLeave:he,onClick:pe,tooltip:be,enableLabels:J})},"cells")),r.includes("legends")&&null!==je&&($e.legends=yi(p,{children:oe.map((function(e,t){return f(kY,pQ({},e,{key:t,containerWidth:Le,containerHeight:De,scale:je}))}))},"legends")),r.includes("annotations")&&le.length>0&&($e.annotations=yi(DQ,{cells:Ne,annotations:le},"annotations"));var qe={cells:Ne,activeCell:Ie,setActiveCell:Be};return yi(Q$,{width:Me,height:Re,margin:Object.assign({},We,{top:We.top,left:We.left}),role:ye,ariaLabel:_e,ariaLabelledBy:we,ariaDescribedBy:xe,ref:ke,children:r.map((function(e,t){var n;return"function"==typeof e?yi(p,{children:f(e,qe)},t):null!=(n=null==$e?void 0:$e[e])?n:null}))})},zQ=a((function(e,t){var n=e.isInteractive,r=void 0===n?vQ.isInteractive:n,i=e.animate,a=void 0===i?vQ.animate:i,o=e.motionConfig,s=void 0===o?vQ.motionConfig:o,l=e.theme,c=e.renderWrapper,u=gQ(e,OQ);return yi(b$,{animate:a,isInteractive:r,motionConfig:s,renderWrapper:c,theme:l,children:yi(FQ,pQ({isInteractive:r},u,{forwardedRef:t}))})})),PQ=["defaultWidth","defaultHeight","onResize","debounceResize"],NQ=a((function(e,t){var n=e.defaultWidth,r=e.defaultHeight,i=e.onResize,a=e.debounceResize,o=gQ(e,PQ);return yi(w$,{defaultWidth:n,defaultHeight:r,onResize:i,debounceResize:a,children:function(e){var n=e.width,r=e.height;return yi(zQ,pQ({width:n,height:r},o,{ref:t}))}})})),jQ=function(e,t){var n=t.cell,r=n.x,i=n.y,a=n.width,o=n.height,s=n.color,l=n.borderColor,c=n.opacity,u=n.labelTextColor,d=n.label,f=t.borderWidth,h=t.enableLabels,p=t.theme;e.save(),e.globalAlpha=c,e.fillStyle=s,f>0&&(e.strokeStyle=l,e.lineWidth=f),e.fillRect(r-a/2,i-o/2,a,o),f>0&&e.strokeRect(r-a/2,i-o/2,a,o),h&&(xq(e,p.labels.text),e.textAlign="center",e.textBaseline="middle",kq(e,pQ({},p.labels.text,{fill:u}),d,r,i)),e.restore()},IQ=function(e,t){var n=t.cell,r=n.x,i=n.y,a=n.width,o=n.height,s=n.color,l=n.borderColor,c=n.opacity,u=n.labelTextColor,d=n.label,f=t.borderWidth,h=t.enableLabels,p=t.theme;e.save(),e.globalAlpha=c;var g=Math.min(a,o)/2;e.fillStyle=s,f>0&&(e.strokeStyle=l,e.lineWidth=f),e.beginPath(),e.arc(r,i,g,0,2*Math.PI),e.fill(),f>0&&e.stroke(),h&&(xq(e,p.labels.text),e.textAlign="center",e.textBaseline="middle",kq(e,pQ({},p.labels.text,{fill:u}),d,r,i)),e.restore()},BQ=["theme","isInteractive","animate","motionConfig","renderWrapper"],WQ=function(e){var t,r=e.data,a=e.layers,l=void 0===a?bQ.layers:a,c=e.valueFormat,u=e.width,d=e.height,h=e.margin,p=e.xInnerPadding,g=void 0===p?bQ.xInnerPadding:p,m=e.xOuterPadding,v=void 0===m?bQ.xOuterPadding:m,b=e.yInnerPadding,y=void 0===b?bQ.yInnerPadding:b,_=e.yOuterPadding,w=void 0===_?bQ.yOuterPadding:_,x=e.forceSquare,k=void 0===x?bQ.forceSquare:x,C=e.sizeVariation,A=void 0===C?bQ.sizeVariation:C,S=e.renderCell,E=void 0===S?bQ.renderCell:S,M=e.opacity,R=void 0===M?bQ.opacity:M,T=e.activeOpacity,L=void 0===T?bQ.activeOpacity:T,D=e.inactiveOpacity,O=void 0===D?bQ.inactiveOpacity:D,F=e.borderWidth,z=void 0===F?bQ.borderWidth:F,P=e.borderColor,N=void 0===P?bQ.borderColor:P,j=e.enableGridX,I=void 0===j?bQ.enableGridX:j,B=e.enableGridY,W=void 0===B?bQ.enableGridY:B,$=e.axisTop,q=void 0===$?bQ.axisTop:$,H=e.axisRight,U=void 0===H?bQ.axisRight:H,V=e.axisBottom,Y=void 0===V?bQ.axisBottom:V,G=e.axisLeft,X=void 0===G?bQ.axisLeft:G,J=e.enableLabels,Z=void 0===J?bQ.enableLabels:J,K=e.label,Q=void 0===K?bQ.label:K,ee=e.labelTextColor,te=void 0===ee?bQ.labelTextColor:ee,ne=e.colors,re=void 0===ne?bQ.colors:ne,ie=e.emptyColor,ae=void 0===ie?bQ.emptyColor:ie,oe=e.legends,se=void 0===oe?bQ.legends:oe,le=e.annotations,ce=void 0===le?bQ.annotations:le,ue=e.isInteractive,de=void 0===ue?bQ.isInteractive:ue,fe=e.onClick,he=e.hoverTarget,pe=void 0===he?bQ.hoverTarget:he,ge=e.tooltip,me=void 0===ge?bQ.tooltip:ge,ve=e.role,be=e.ariaLabel,ye=e.ariaLabelledBy,_e=e.ariaDescribedBy,we=e.pixelRatio,xe=void 0===we?bQ.pixelRatio:we,ke=e.forwardedRef,Ce=i(null),Ae=cq(u,d,h),Se=Ae.margin,Ee=Ae.innerWidth,Me=Ae.innerHeight,Re=Ae.outerWidth,Te=Ae.outerHeight,Le=CQ({data:r,valueFormat:c,width:Ee,height:Me,xInnerPadding:g,xOuterPadding:v,yInnerPadding:y,yOuterPadding:w,forceSquare:k,sizeVariation:A,colors:re,emptyColor:ae,opacity:R,activeOpacity:L,inactiveOpacity:O,borderColor:N,label:Q,labelTextColor:te,hoverTarget:pe}),De=Le.width,Oe=Le.height,Fe=Le.offsetX,ze=Le.offsetY,Pe=Le.xScale,Ne=Le.yScale,je=Le.cells,Ie=Le.colorScale,Be=Le.activeCell,We=Le.setActiveCell,$e=s((function(){return pQ({},Se,{top:Se.top+ze,left:Se.left+Fe})}),[Se,Fe,ze]),qe=AQ(je,ce),He=aQ({annotations:qe});t="function"==typeof E?E:"circle"===E?IQ:jQ;var Ue=Nz(),Ve=s((function(){return{cells:je,activeCell:Be,setActiveCell:We}}),[je,Be,We]);n((function(){if(null!==Ce.current){var e=Ce.current.getContext("2d");e&&(Ce.current.width=Re*xe,Ce.current.height=Te*xe,e.scale(xe,xe),e.fillStyle=Ue.background,e.fillRect(0,0,Re,Te),e.translate($e.left,$e.top),l.forEach((function(n){"grid"===n?(e.lineWidth=Ue.grid.line.strokeWidth,e.strokeStyle=Ue.grid.line.stroke,I&&DV(e,{width:De,height:Oe,scale:Pe,axis:"x"}),W&&DV(e,{width:De,height:Oe,scale:Ne,axis:"y"})):"axes"===n?LV(e,{xScale:Pe,yScale:Ne,width:De,height:Oe,top:q,right:U,bottom:Y,left:X,theme:Ue}):"cells"===n?(e.textAlign="center",e.textBaseline="middle",je.forEach((function(n){t(e,{cell:n,borderWidth:z,enableLabels:Z,theme:Ue})}))):"legends"===n&&null!==Ie?se.forEach((function(t){!function(e,t){var n,r=t.containerWidth,i=t.containerHeight,a=t.anchor,o=t.translateX,s=void 0===o?0:o,l=t.translateY,c=void 0===l?0:l,u=t.scale,d=t.length,f=void 0===d?gY.length:d,h=t.thickness,p=void 0===h?gY.thickness:h,g=t.direction,m=void 0===g?gY.direction:g,v=t.ticks,b=t.tickPosition,y=void 0===b?gY.tickPosition:b,_=t.tickSize,w=void 0===_?gY.tickSize:_,x=t.tickSpacing,k=void 0===x?gY.tickSpacing:x,C=t.tickOverlap,A=void 0===C?gY.tickOverlap:C,S=t.tickFormat,E=void 0===S?gY.tickFormat:S,M=t.title,R=t.titleAlign,T=void 0===R?gY.titleAlign:R,L=t.titleOffset,D=void 0===L?gY.titleOffset:L,O=t.theme,F=_Y({scale:u,ticks:v,length:f,thickness:p,direction:m,tickPosition:y,tickSize:w,tickSpacing:k,tickOverlap:A,tickFormat:E,title:M,titleAlign:T,titleOffset:D}),z=F.width,P=F.height,N=F.gradientX1,j=F.gradientY1,I=F.gradientX2,B=F.gradientY2,W=F.colorStops,$=F.ticks,q=F.titleText,H=F.titleX,U=F.titleY,V=F.titleRotation,Y=F.titleVerticalAlign,G=F.titleHorizontalAlign,X=bY({anchor:a,translateX:s,translateY:c,containerWidth:r,containerHeight:i,width:z,height:P}),J=X.x,Z=X.y,K={font:e.font,textAlign:e.textAlign,textBaseline:e.textBaseline};e.save(),e.translate(J,Z);var Q=e.createLinearGradient(N*z,j*P,I*z,B*P);W.forEach((function(e){Q.addColorStop(e.offset,e.stopColor)})),e.fillStyle=Q,e.fillRect(0,0,z,P),xq(e,O.legends.ticks.text);var ee=null!=(n=O.legends.ticks.line.strokeWidth)?n:0,te="string"!=typeof ee&&ee>0;$.forEach((function(t){te&&(e.lineWidth=ee,O.axis.ticks.line.stroke&&(e.strokeStyle=O.axis.ticks.line.stroke),e.lineCap="square",e.beginPath(),e.moveTo(t.x1,t.y1),e.lineTo(t.x2,t.y2),e.stroke()),e.textAlign="middle"===t.textHorizontalAlign?"center":t.textHorizontalAlign,e.textBaseline="central"===t.textVerticalAlign?"middle":t.textVerticalAlign,kq(e,O.legends.ticks.text,t.text,t.textX,t.textY)})),q&&(e.save(),e.translate(H,U),e.rotate(O$(V)),xq(e,O.legends.title.text),e.textAlign="middle"===G?"center":G,e.textBaseline=Y,kq(e,O.legends.title.text,q),e.restore()),e.restore(),e.font=K.font,e.textAlign=K.textAlign,e.textBaseline=K.textBaseline}(e,pQ({},t,{containerWidth:De,containerHeight:Oe,scale:Ie,theme:Ue}))})):"annotations"===n?hQ(e,{annotations:He,theme:Ue}):"function"==typeof n&&n(e,Ve)})))}}),[Ce,xe,Re,Te,De,Oe,$e,l,Ve,je,t,I,W,q,U,Y,X,Pe,Ne,Ue,z,Z,Ie,se,He]);var Ye=eP(),Ge=Ye.showTooltipFromEvent,Xe=Ye.hideTooltip,Je=o((function(e){if(null!==Ce.current){var t=vq(Ce.current,e),n=t[0],r=t[1],i=je.find((function(e){return mq(e.x+$e.left-e.width/2,e.y+$e.top-e.height/2,e.width,e.height,n,r)}));void 0!==i?(We(i),Ge(f(me,{cell:i}),e)):(We(null),Xe())}}),[Ce,je,$e,We,Ge,Xe,me]),Ze=o((function(){We(null),Xe()}),[We,Xe]),Ke=o((function(e){null!==Be&&(null==fe||fe(Be,e))}),[Be,fe]);return yi("canvas",{ref:wq(Ce,ke),width:Re*xe,height:Te*xe,style:{width:Re,height:Te},onMouseEnter:de?Je:void 0,onMouseMove:de?Je:void 0,onMouseLeave:de?Ze:void 0,onClick:de?Ke:void 0,role:ve,"aria-label":be,"aria-labelledby":ye,"aria-describedby":_e})},$Q=a((function(e,t){var n=e.theme,r=e.isInteractive,i=void 0===r?bQ.isInteractive:r,a=e.animate,o=void 0===a?bQ.animate:a,s=e.motionConfig,l=void 0===s?bQ.motionConfig:s,c=e.renderWrapper,u=gQ(e,BQ);return yi(b$,{isInteractive:i,animate:o,motionConfig:l,theme:n,renderWrapper:c,children:yi(WQ,pQ({isInteractive:i},u,{forwardedRef:t}))})})),qQ=["defaultWidth","defaultHeight","onResize","debounceResize"];a((function(e,t){var n=e.defaultWidth,r=e.defaultHeight,i=e.onResize,a=e.debounceResize,o=gQ(e,qQ);return yi(w$,{defaultWidth:n,defaultHeight:r,onResize:i,debounceResize:a,children:function(e){var n=e.width,r=e.height;return yi($Q,pQ({width:n,height:r},o,{ref:t}))}})}));const HQ={top:60,right:90,bottom:60,left:90},UQ="#E0E0E0",VQ=400,YQ="100%",GQ="No data available",XQ="No data available",JQ=.05,ZQ=.05,KQ=!0,QQ=">-.2%",e0={tickSize:5,tickPadding:5,tickRotation:0},t0={tickSize:5,tickPadding:5,tickRotation:-90},n0={anchor:"bottom",translateX:0,translateY:30,length:400,thickness:8,direction:"row",tickPosition:"after",tickSize:3,tickSpacing:4,tickOverlap:!1,tickFormat:">-.2%",title:"Value",titleAlign:"middle",titleOffset:4},r0=e=>{const{cell:t}=e,n=R((()=>({id:t.id.toString(),color:t.color,label:t.data.x,value:t.label})),[t]);return yi(vK,{label:t.serieId,children:yi(RK,{mode:"default",legend:n})})};var i0="styles_heatMap__E95gO";const a0=({width:e=YQ,height:t=400,data:n,rootAriaLabel:r,emptyLabel:i=GQ,emptyAriaLabel:a=XQ,margin:o=HQ,axisLeft:s=e0,axisTop:l=t0,xInnerPadding:c=.05,yInnerPadding:u=.05,legends:d=[n0],forceSquare:f=true,valueFormat:h=QQ,...p})=>{const g=R((()=>0===n.length),[n]),m=((e="light")=>{const t=R((()=>dX([0,1],["var(--color-chart-heatmap-low)","var(--color-chart-heatmap-mid-strong)","var(--color-chart-heatmap-mid)","var(--color-chart-heatmap-mid-strong)","var(--color-chart-heatmap-high)"])),[e]);return E((e=>t(e)),[t])})(FK());return g?yi(YG,{label:i,width:e,height:t,ariaLabel:a}):yi("div",{role:"img","aria-label":r,tabIndex:0,style:{width:e,height:t},className:i0,children:yi(NQ,{data:n,margin:o,axisBottom:null,axisRight:null,axisLeft:s,axisTop:l,xInnerPadding:c,yInnerPadding:u,legends:d,forceSquare:f,theme:UZ,motionConfig:WZ,animate:!$Z,valueFormat:h,colors:e=>m(e.data.y??0),labelTextColor:"var(--color-text-inverse)",tooltip:r0,emptyColor:"var(--color-control-bg)",inactiveOpacity:0,borderRadius:4,...p})})},o0=({title:e,translations:t,rootAriaLabel:n,width:r,height:i,data:a,...o})=>{const s=t["no-results"];return yi($C,{title:e,children:yi(a0,{data:a,width:r,height:i,emptyLabel:s,emptyAriaLabel:s,rootAriaLabel:n,...o})})};var s0,l0,c0,u0,d0,f0;function h0(){if(u0)return c0;u0=1;var e=function(){if(l0)return s0;l0=1;var e=tb(),t=1/0;return s0=function(n){return n?(n=e(n))===t||n===-1/0?17976931348623157e292*(n<0?-1:1):n==n?n:0:0===n?n:0}}();return c0=function(t){var n=e(t),r=n%1;return n==n?r?n-r:n:0}}var p0,g0,m0,v0,b0,y0,_0,w0,x0,k0,C0,A0,S0=function(){if(f0)return d0;f0=1;var e=ny(),t=h0();return d0=function(n,r,i){return n&&n.length?(r=i||void 0===r?1:t(r),e(n,0,r<0?0:r)):[]},d0}(),E0=I(S0);function M0(){if(v0)return m0;v0=1;var e=function(){if(g0)return p0;g0=1;var e=Kv(),t=Qv();return p0=function(n){return t(n)&&"[object RegExp]"==e(n)}}(),t=PO(),n=OF(),r=n&&n.isRegExp,i=r?t(r):e;return m0=i}function R0(){if(k0)return x0;k0=1;var e=function(){if(y0)return b0;y0=1;var e=fH()("length");return b0=e}(),t=iy(),n=function(){if(w0)return _0;w0=1;var e="\\ud800-\\udfff",t="["+e+"]",n="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",r="\\ud83c[\\udffb-\\udfff]",i="[^"+e+"]",a="(?:\\ud83c[\\udde6-\\uddff]){2}",o="[\\ud800-\\udbff][\\udc00-\\udfff]",s="(?:"+n+"|"+r+")?",l="[\\ufe0e\\ufe0f]?",c=l+s+"(?:\\u200d(?:"+[i,a,o].join("|")+")"+l+s+")*",u="(?:"+[i+n+"?",n,a,o,t].join("|")+")",d=RegExp(r+"(?="+r+")|"+u+c,"g");return _0=function(e){for(var t=d.lastIndex=0;d.test(e);)++t;return t}}();return x0=function(r){return t(r)?n(r):e(r)}}var T0=function(){if(A0)return C0;A0=1;var e=ey(),t=ry(),n=iy(),r=Yv(),i=M0(),a=R0(),o=ay(),s=h0(),l=ty(),c=/\w*$/;return C0=function(u,d){var f=30,h="...";if(r(d)){var p="separator"in d?d.separator:p;f="length"in d?s(d.length):f,h="omission"in d?e(d.omission):h}var g=(u=l(u)).length;if(n(u)){var m=o(u);g=m.length}if(f>=g)return u;var v=f-a(h);if(v<1)return h;var b=m?t(m,0,v).join(""):u.slice(0,v);if(void 0===p)return b+h;if(m&&(v+=b.length-v),i(p)){if(u.slice(v).search(p)){var y,_=b;for(p.global||(p=RegExp(p.source,l(c.exec(p))+"g")),p.lastIndex=0;y=p.exec(_);)var w=y.index;b=b.slice(0,void 0===w?v:w)}}else if(u.indexOf(e(p),v)!=v){var x=b.lastIndexOf(p);x>-1&&(b=b.slice(0,x))}return b+h},C0}(),L0=I(T0);function D0(){return D0=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},D0.apply(null,arguments)}function O0(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(-1!==t.indexOf(r))continue;n[r]=e[r]}return n}var F0,z0=function(e){var t=e.bars,n=e.annotations,r=iQ({data:t,annotations:n,getPosition:function(e){return{x:e.x+e.width/2,y:e.y+e.height/2}},getDimensions:function(e){var t=e.height,n=e.width;return{width:n,height:t,size:Math.max(n,t)}}});return yi(y,{children:r.map((function(e,t){return yi(dQ,D0({},e),t)}))})},P0=function(e){var t=e.width,n=e.height,r=e.legends,i=e.toggleSerie;return yi(y,{children:r.map((function(e,r){var a,o=e[0],s=e[1];return yi(EY,D0({},o,{containerWidth:t,containerHeight:n,data:null!=(a=o.data)?a:s,toggleSerie:o.toggleSerie&&"keys"===o.dataFrom?i:void 0}),r)}))})},N0=["data"],j0=["color","label"],I0={indexBy:"id",keys:["value"],groupMode:"stacked",layout:"vertical",valueScale:{type:"linear",nice:!0,round:!1},indexScale:{type:"band",round:!1},padding:.1,innerPadding:0,enableGridX:!1,enableGridY:!0,enableLabel:!0,label:"formattedValue",labelPosition:"middle",labelOffset:0,labelSkipWidth:0,labelSkipHeight:0,labelTextColor:{theme:"labels.text.fill"},colorBy:"id",colors:{scheme:"nivo"},borderRadius:0,borderWidth:0,borderColor:{from:"color"},isInteractive:!0,tooltip:function(e){var t=e.color,n=e.label,r=O0(e,j0);return yi(Hz,{id:n,value:r.formattedValue,enableChip:!0,color:t})},tooltipLabel:function(e){return e.id+" - "+e.indexValue},legends:[],initialHiddenIds:[],annotations:[],enableTotals:!1,totalsOffset:10},B0=D0({},I0,{layers:["grid","axes","bars","totals","markers","legends","annotations"],axisTop:null,axisRight:null,axisBottom:{},axisLeft:{},barComponent:function(e){var t,n=e.bar,r=n.data,i=O0(n,N0),a=e.style,l=a.borderColor,c=a.color,u=a.height,d=a.labelColor,h=a.labelOpacity,p=a.labelX,g=a.labelY,m=a.transform,v=a.width,b=a.textAnchor,y=e.borderRadius,_=e.borderWidth,w=e.label,x=e.shouldRenderLabel,k=e.isInteractive,C=e.onClick,A=e.onMouseEnter,S=e.onMouseLeave,E=e.tooltip,M=e.isFocusable,R=e.ariaLabel,T=e.ariaLabelledBy,L=e.ariaDescribedBy,D=e.ariaDisabled,O=e.ariaHidden,F=Nz(),z=eP(),P=z.showTooltipFromEvent,N=z.showTooltipAt,j=z.hideTooltip,I=s((function(){return function(){return f(E,D0({},i,r))}}),[E,i,r]),B=o((function(e){null==C||C(D0({color:i.color},r),e)}),[i,r,C]),W=o((function(e){return P(I(),e)}),[P,I]),$=o((function(e){null==A||A(r,e),P(I(),e)}),[r,A,P,I]),q=o((function(e){null==S||S(r,e),j()}),[r,j,S]),H=o((function(){N(I(),[i.absX+i.width/2,i.absY])}),[N,I,i]),U=o((function(){j()}),[j]);return yi(vD.g,{transform:m,children:[yi(vD.rect,{width:ET(v,(function(e){return Math.max(e,0)})),height:ET(u,(function(e){return Math.max(e,0)})),rx:y,ry:y,fill:null!=(t=r.fill)?t:c,strokeWidth:_,stroke:l,focusable:M,tabIndex:M?0:void 0,"aria-label":R?R(r):void 0,"aria-labelledby":T?T(r):void 0,"aria-describedby":L?L(r):void 0,"aria-disabled":D?D(r):void 0,"aria-hidden":O?O(r):void 0,onMouseEnter:k?$:void 0,onMouseMove:k?W:void 0,onMouseLeave:k?q:void 0,onClick:k?B:void 0,onFocus:k&&M?H:void 0,onBlur:k&&M?U:void 0,"data-testid":"bar.item."+r.id+"."+r.index}),x&&yi(Pq,{x:p,y:g,textAnchor:b,dominantBaseline:"central",fillOpacity:h,style:D0({},F.labels.text,{pointerEvents:"none",fill:d}),children:w})]})},defs:[],fill:[],markers:[],animate:!0,animateOnMount:!1,motionConfig:"default",role:"img",isFocusable:!1}),W0=D0({},I0,{layers:["grid","axes","bars","totals","legends","annotations"],axisTop:null,axisRight:null,axisBottom:{},axisLeft:{},renderBar:function(e,t){var n=t.bar,r=n.color,i=n.height,a=n.width,o=n.x,s=n.y,l=t.borderColor,c=t.borderRadius,u=t.borderWidth,d=t.label,f=t.shouldRenderLabel,h=t.labelStyle,p=t.labelX,g=t.labelY,m=t.textAnchor;e.fillStyle=r,u>0&&(e.strokeStyle=l,e.lineWidth=u),e.beginPath(),function(e,t,n,r,i,a){a>0?(e.moveTo(t+a,n),e.lineTo(t+r-a,n),e.quadraticCurveTo(t+r,n,t+r,n+a),e.lineTo(t+r,n+i-a),e.quadraticCurveTo(t+r,n+i,t+r-a,n+i),e.lineTo(t+a,n+i),e.quadraticCurveTo(t,n+i,t,n+i-a),e.lineTo(t,n+a),e.quadraticCurveTo(t,n,t+a,n),e.closePath()):e.rect(t,n,r,i)}(e,o,s,a,i,Math.min(c,i)),e.fill(),u>0&&e.stroke(),f&&(e.textBaseline="middle",e.textAlign="middle"===m?"center":m,kq(e,h,d,o+p,s+g))},pixelRatio:"undefined"!=typeof window&&null!=(F0=window.devicePixelRatio)?F0:1}),$0=function(e,t,n,r,i,a){return aV(r,{all:e.map(t),min:0,max:0},i,a).padding(n)},q0=function(e,t){return e.map((function(e){return D0({},t.reduce((function(e,t){return e[t]=null,e}),{}),e)}))},H0=function(e){return Object.keys(e).reduce((function(t,n){return e[n]&&(t[n]=e[n]),t}),{})},U0=function(e){return[e,Number(e)]};function V0(e,t,n,r){return void 0===e&&(e=I0.layout),void 0===n&&(n=I0.labelPosition),void 0===r&&(r=I0.labelOffset),function(i,a){var o=r*(t?-1:1);if("horizontal"===e){var s=i/2;return"start"===n?s=t?i:0:"end"===n&&(s=t?0:i),{labelX:s+o,labelY:a/2,textAnchor:"middle"===n?"middle":t?"end":"start"}}var l=a/2;return"start"===n?l=t?0:a:"end"===n&&(l=t?a:0),{labelX:i/2,labelY:l-o,textAnchor:"middle"}}}var Y0=["layout","width","height","padding","innerPadding","valueScale","indexScale","hiddenIds"],G0=function(e,t){return e>t},X0=function(e,t){return e<t},J0=function(e,t){return Array.from(" ".repeat(t-e),(function(t,n){return e+n}))},Z0=function(e){return G0(e,0)?0:e},K0=function(e,t,n,r){var i=e.data,a=e.formatValue,o=e.getColor,s=e.getIndex,l=e.getTooltipLabel,c=e.innerPadding,u=void 0===c?0:c,d=e.keys,f=e.xScale,h=e.yScale,p=e.margin,g=n?X0:G0,m=i.map(H0),v=[];return d.forEach((function(e,n){return J0(0,f.domain().length).forEach((function(c){var d,b,y,_=U0(i[c][e]),w=_[0],x=_[1],k=s(i[c]),C=(null!=(d=f(k))?d:0)+t*n+u*n,A=g(b=x,0)?null!=(y=h(b))?y:0:r,S=function(e,t){var n;return g(e,0)?r-t:(null!=(n=h(e))?n:0)-r}(x,A),E={id:e,value:null===w?w:x,formattedValue:a(x),hidden:!1,index:c,indexValue:k,data:m[c]};v.push({key:e+"."+E.indexValue,index:v.length,data:E,x:C,y:A,absX:p.left+C,absY:p.top+A,width:t,height:S,color:o(E),label:l(E)})}))})),v},Q0=function(e,t,n,r){var i=e.data,a=e.formatValue,o=e.getIndex,s=e.getColor,l=e.getTooltipLabel,c=e.keys,u=e.innerPadding,d=void 0===u?0:u,f=e.xScale,h=e.yScale,p=e.margin,g=n?X0:G0,m=i.map(H0),v=[];return c.forEach((function(e,n){return J0(0,h.domain().length).forEach((function(c){var u,b,y,_=U0(i[c][e]),w=_[0],x=_[1],k=o(i[c]),C=g(b=x,0)?r:null!=(y=f(b))?y:0,A=(null!=(u=h(k))?u:0)+t*n+d*n,S=function(e,t){var n;return g(e,0)?(null!=(n=f(e))?n:0)-r:r-t}(x,C),E={id:e,value:null===w?w:x,formattedValue:a(x),hidden:!1,index:c,indexValue:k,data:m[c]};v.push({key:e+"."+E.indexValue,index:v.length,data:E,x:C,y:A,absX:p.left+C,absY:p.top+A,width:S,height:t,color:s(E),label:l(E)})}))})),v},e1=function(e){var t,n,r,i=e.layout,a=e.width,o=e.height,s=e.padding,l=void 0===s?0:s,c=e.innerPadding,u=void 0===c?0:c,d=e.valueScale,f=e.indexScale,h=e.hiddenIds,p=void 0===h?[]:h,g=O0(e,Y0),m=g.keys.filter((function(e){return!p.includes(e)})),v=q0(g.data,m),b="vertical"===i?["y","x",a]:["x","y",o],y=b[0],_=b[1],w=b[2],x=$0(v,g.getIndex,l,f,w,_),k="auto"===d.min?Z0:function(e){return e},C=v.reduce((function(e,t){return[].concat(e,m.map((function(e){return t[e]})))}),[]).filter(Boolean),A=aV(d,{all:C,min:k(Math.min.apply(Math,C)),max:(r=Math.max.apply(Math,C),isFinite(r)?r:0)},"x"===y?a:o,y),S="vertical"===i?[x,A]:[A,x],E=S[0],M=S[1],R=(x.bandwidth()-u*(m.length-1))/m.length,T=[D0({},g,{data:v,keys:m,innerPadding:u,xScale:E,yScale:M}),R,null!=(t=d.reverse)&&t,null!=(n=A(0))?n:0];return{xScale:E,yScale:M,bars:R>0?"vertical"===i?K0.apply(void 0,T):Q0.apply(void 0,T):[]}},t1=["data","layout","width","height","padding","valueScale","indexScale","hiddenIds"],n1=function(e){var t;return e.some(Array.isArray)?n1((t=[]).concat.apply(t,e)):e},r1=function(e,t,n){var r=e.formatValue,i=e.getColor,a=e.getIndex,o=e.getTooltipLabel,s=e.innerPadding,l=e.stackedData,c=e.xScale,u=e.yScale,d=e.margin,f=[];return l.forEach((function(e){return c.domain().forEach((function(l,h){var p,g,m=e[h],v=null!=(p=c(a(m.data)))?p:0,b=(null!=(g=function(e){return u(e[n?0:1])}(m))?g:0)+.5*s,y=function(e,t){var r;return(null!=(r=u(e[n?1:0]))?r:0)-t}(m,b)-s,_=U0(m.data[e.key]),w=_[0],x=_[1],k={id:e.key,value:null===w?w:x,formattedValue:r(x),hidden:!1,index:h,indexValue:l,data:H0(m.data)};f.push({key:e.key+"."+l,index:f.length,data:k,x:v,y:b,absX:d.left+v,absY:d.top+b,width:t,height:y,color:i(k),label:o(k)})}))})),f},i1=function(e,t,n){var r=e.formatValue,i=e.getColor,a=e.getIndex,o=e.getTooltipLabel,s=e.innerPadding,l=e.stackedData,c=e.xScale,u=e.yScale,d=e.margin,f=[];return l.forEach((function(e){return u.domain().forEach((function(l,h){var p,g,m=e[h],v=null!=(p=u(a(m.data)))?p:0,b=(null!=(g=function(e){return c(e[n?1:0])}(m))?g:0)+.5*s,y=function(e,t){var r;return(null!=(r=c(e[n?0:1]))?r:0)-t}(m,b)-s,_=U0(m.data[e.key]),w=_[0],x=_[1],k={id:e.key,value:null===w?w:x,formattedValue:r(x),hidden:!1,index:h,indexValue:l,data:H0(m.data)};f.push({key:e.key+"."+l,index:f.length,data:k,x:b,y:v,absX:d.left+b,absY:d.top+v,width:y,height:t,color:i(k),label:o(k)})}))})),f},a1=function(e){var t,n,r=e.data,i=e.layout,a=e.width,o=e.height,s=e.padding,l=void 0===s?0:s,c=e.valueScale,u=e.indexScale,d=e.hiddenIds,f=void 0===d?[]:d,h=O0(e,t1),p=h.keys.filter((function(e){return!f.includes(e)})),g=function(){var e=Od([]),t=Zf,n=Jf,r=Kf;function i(i){var a,o,s=Array.from(e.apply(this,arguments),Qf),l=s.length,c=-1;for(const e of i)for(a=0,++c;a<l;++a)(s[a][c]=[0,+r(e,s[a].key,c,i)]).data=e;for(a=0,o=sf(t(s));a<l;++a)s[o[a]].index=a;return n(s,o),s}return i.keys=function(t){return arguments.length?(e="function"==typeof t?t:Od(Array.from(t)),i):e},i.value=function(e){return arguments.length?(r="function"==typeof e?e:Od(+e),i):r},i.order=function(e){return arguments.length?(t=null==e?Zf:"function"==typeof e?e:Od(Array.from(e)),i):t},i.offset=function(e){return arguments.length?(n=null==e?Jf:e,i):n},i}().keys(p).offset(eh)(q0(r,p)),m="vertical"===i?["y","x",a]:["x","y",o],v=m[0],b=m[1],y=m[2],_=$0(r,h.getIndex,l,u,y,b),w=(n=n1(g),"log"===c.type?n.filter((function(e){return 0!==e})):n),x=aV(c,{all:w,min:Math.min.apply(Math,w),max:Math.max.apply(Math,w)},"x"===v?a:o,v),k="vertical"===i?[_,x]:[x,_],C=k[0],A=k[1],S=h.innerPadding>0?h.innerPadding:0,E=_.bandwidth(),M=[D0({},h,{innerPadding:S,stackedData:g,xScale:C,yScale:A}),E,null!=(t=c.reverse)&&t];return{xScale:C,yScale:A,bars:E>0?"vertical"===i?r1.apply(void 0,M):i1.apply(void 0,M):[]}},o1=function(e){var t=e.bars,n=e.direction,r=e.from,i=e.groupMode,a=e.layout,o=e.legendLabel,s=e.reverse,l=hq(null!=o?o:"indexes"===r?"indexValue":"id");return"indexes"===r?function(e,t,n){var r=FH(e.map((function(e){var t,r;return{id:null!=(t=e.data.indexValue)?t:"",label:n(e.data),hidden:e.data.hidden,color:null!=(r=e.color)?r:"#000"}})),(function(e){return e.id}));return"horizontal"===t&&r.reverse(),r}(t,a,l):function(e,t,n,r,i,a){var o=FH(e.map((function(e){var t;return{id:e.data.id,label:a(e.data),hidden:e.data.hidden,color:null!=(t=e.color)?t:"#000"}})),(function(e){return e.id}));return("vertical"===t&&"stacked"===r&&"column"===n&&!0!==i||"horizontal"===t&&"stacked"===r&&!0===i)&&o.reverse(),o}(t,a,n,i,s,l)},s1=function(e,t,n){var r=e.get(t)||0;e.set(t,r+n)},l1=function(e){var n,r=e.indexBy,i=void 0===r?I0.indexBy:r,a=e.keys,l=void 0===a?I0.keys:a,c=e.label,u=void 0===c?I0.label:c,d=e.tooltipLabel,f=void 0===d?I0.tooltipLabel:d,h=e.valueFormat,p=e.colors,g=void 0===p?I0.colors:p,m=e.colorBy,v=void 0===m?I0.colorBy:m,b=e.borderColor,y=void 0===b?I0.borderColor:b,_=e.labelTextColor,w=void 0===_?I0.labelTextColor:_,x=e.groupMode,k=void 0===x?I0.groupMode:x,C=e.layout,A=void 0===C?I0.layout:C,S=e.data,E=e.margin,M=e.width,R=e.height,T=e.padding,L=void 0===T?I0.padding:T,D=e.innerPadding,O=void 0===D?I0.innerPadding:D,F=e.valueScale,z=void 0===F?I0.valueScale:F,P=e.indexScale,N=void 0===P?I0.indexScale:P,j=e.initialHiddenIds,I=void 0===j?I0.initialHiddenIds:j,B=e.enableLabel,W=void 0===B?I0.enableLabel:B,$=e.labelSkipWidth,q=void 0===$?I0.labelSkipWidth:$,H=e.labelSkipHeight,U=void 0===H?I0.labelSkipHeight:H,V=e.legends,Y=void 0===V?I0.legends:V,G=e.legendLabel,X=e.totalsOffset,J=void 0===X?I0.totalsOffset:X,Z=t(null!=I?I:[]),K=Z[0],Q=Z[1],ee=o((function(e){Q((function(t){return t.indexOf(e)>-1?t.filter((function(t){return t!==e})):[].concat(t,[e])}))}),[]),te=pq(i),ne=pq(u),re=pq(f),ie=fq(h),ae=Nz(),oe=nY(g,v),se=YV(y,ae),le=YV(w,ae),ce=("grouped"===k?e1:a1)({layout:A,data:S,getIndex:te,keys:l,width:M,height:R,getColor:oe,padding:L,innerPadding:O,valueScale:z,indexScale:N,hiddenIds:K,formatValue:ie,getTooltipLabel:re,margin:E}),ue=ce.bars,de=ce.xScale,fe=ce.yScale,he=s((function(){return ue.filter((function(e){return null!==e.data.value})).map((function(e,t){return D0({},e,{index:t})}))}),[ue]),pe=o((function(e){var t=e.width,n=e.height;return!(!W||q>0&&t<q||U>0&&n<U)}),[W,q,U]),ge=s((function(){return l.map((function(e){var t=ue.find((function(t){return t.data.id===e}));return D0({},t,{data:D0({id:e},null==t?void 0:t.data,{hidden:K.includes(e)})})}))}),[K,l,ue]),me=null!=(n=z.reverse)&&n,ve=s((function(){return Y.map((function(e){return[e,o1({bars:"keys"===e.dataFrom?ge:ue,direction:e.direction,from:e.dataFrom,groupMode:k,layout:A,legendLabel:G,reverse:me})]}))}),[Y,ge,ue,k,A,G,me]),be=s((function(){return function(e,t,n,r,i,a,o){void 0===r&&(r=I0.layout),void 0===i&&(i=I0.groupMode);var s=[];if(0===e.length)return s;var l=new Map,c=e[0].width,u=e[0].height;if("stacked"===i){var d=new Map;e.forEach((function(e){var t=e.data,n=t.indexValue,r=t.value;s1(l,n,Number(r)),function(e,t,n){var r=e.get(t)||0;e.set(t,r+(n>0?n:0))}(d,n,Number(r))})),d.forEach((function(e,i){var d,f,h,p=l.get(i)||0;"vertical"===r?(d=t(i),f=n(e),h=n(e/2)):(d=t(e),f=n(i),h=t(e/2)),d+="vertical"===r?c/2:a,f+="vertical"===r?-a:u/2,s.push({key:"total_"+i,x:d,y:f,value:p,formattedValue:o(p),animationOffset:h})}))}else if("grouped"===i){var f=new Map,h=new Map;e.forEach((function(e){var t=e.data,n=t.indexValue,r=t.value;s1(l,n,Number(r)),function(e,t,n){var r=e.get(t)||0;e.set(t,Math.max(r,Number(n)))}(f,n,Number(r)),function(e,t){var n=e.get(t)||0;e.set(t,n+1)}(h,n)})),f.forEach((function(e,i){var d,f,p,g=l.get(i)||0,m=h.get(i);"vertical"===r?(d=t(i),f=n(e),p=n(e/2)):(d=t(e),f=n(i),p=t(e/2)),d+="vertical"===r?m*c/2:a,f+="vertical"===r?-a:m*u/2,s.push({key:"total_"+i,x:d,y:f,value:g,formattedValue:o(g),animationOffset:p})}))}return s}(ue,de,fe,A,k,J,ie)}),[ue,de,fe,A,k,J,ie]);return{bars:ue,barsWithValue:he,xScale:de,yScale:fe,getIndex:te,getLabel:ne,getTooltipLabel:re,formatValue:ie,getColor:oe,getBorderColor:se,getLabelColor:le,shouldRenderBarLabel:pe,hiddenIds:K,toggleSerie:ee,legendsWithData:ve,barTotals:be}},c1=function(e){var t=e.data,n=e.springConfig,r=e.animate,i=e.layout,a=void 0===i?B0.layout:i,o=Nz();return wT(t,{keys:function(e){return e.key},from:function(e){return{x:"vertical"===a?e.x:e.animationOffset,y:"vertical"===a?e.animationOffset:e.y,labelOpacity:0}},enter:function(e){return{x:e.x,y:e.y,labelOpacity:1}},update:function(e){return{x:e.x,y:e.y,labelOpacity:1}},leave:function(e){return{x:"vertical"===a?e.x:e.animationOffset,y:"vertical"===a?e.animationOffset:e.y,labelOpacity:0}},config:n,immediate:!r,initial:r?void 0:null})((function(e,t){return yi(vD.text,{x:e.x,y:e.y,fillOpacity:e.labelOpacity,style:D0({},o.labels.text,{pointerEvents:"none"}),fontWeight:"bold",fontSize:o.labels.text.fontSize,fontFamily:o.labels.text.fontFamily,textAnchor:"vertical"===a?"middle":"start",alignmentBaseline:"vertical"===a?"alphabetic":"middle",children:t.formattedValue},t.key)}))},u1=["isInteractive","animate","motionConfig","theme","renderWrapper"],d1=function(e){var t,n=e.data,r=e.indexBy,i=e.keys,a=e.margin,o=e.width,l=e.height,c=e.groupMode,u=e.layout,d=e.valueScale,h=e.indexScale,g=e.padding,m=e.innerPadding,v=e.axisTop,b=e.axisRight,y=e.axisBottom,_=void 0===y?B0.axisBottom:y,w=e.axisLeft,x=void 0===w?B0.axisLeft:w,k=e.enableGridX,C=void 0===k?B0.enableGridX:k,A=e.enableGridY,S=void 0===A?B0.enableGridY:A,E=e.gridXValues,M=e.gridYValues,R=e.layers,T=void 0===R?B0.layers:R,L=e.barComponent,D=void 0===L?B0.barComponent:L,O=e.enableLabel,F=void 0===O?B0.enableLabel:O,z=e.label,P=e.labelSkipWidth,N=void 0===P?B0.labelSkipWidth:P,j=e.labelSkipHeight,I=void 0===j?B0.labelSkipHeight:j,B=e.labelTextColor,W=e.labelPosition,$=void 0===W?B0.labelPosition:W,q=e.labelOffset,H=void 0===q?B0.labelOffset:q,U=e.markers,V=void 0===U?B0.markers:U,Y=e.colorBy,G=e.colors,X=e.defs,J=void 0===X?B0.defs:X,Z=e.fill,K=void 0===Z?B0.fill:Z,Q=e.borderRadius,ee=void 0===Q?B0.borderRadius:Q,te=e.borderWidth,ne=void 0===te?B0.borderWidth:te,re=e.borderColor,ie=e.annotations,ae=void 0===ie?B0.annotations:ie,oe=e.legendLabel,se=e.tooltipLabel,le=e.valueFormat,ce=e.isInteractive,ue=void 0===ce?B0.isInteractive:ce,de=e.tooltip,fe=void 0===de?B0.tooltip:de,he=e.onClick,pe=e.onMouseEnter,ge=e.onMouseLeave,me=e.legends,ve=e.role,be=void 0===ve?B0.role:ve,ye=e.ariaLabel,_e=e.ariaLabelledBy,we=e.ariaDescribedBy,xe=e.isFocusable,ke=void 0===xe?B0.isFocusable:xe,Ce=e.barAriaLabel,Ae=e.barAriaLabelledBy,Se=e.barAriaDescribedBy,Ee=e.barAriaHidden,Me=e.barAriaDisabled,Re=e.initialHiddenIds,Te=e.enableTotals,Le=void 0===Te?B0.enableTotals:Te,De=e.totalsOffset,Oe=void 0===De?B0.totalsOffset:De,Fe=e.forwardedRef,ze=g$(),Pe=ze.animate,Ne=ze.config,je=cq(o,l,a),Ie=je.outerWidth,Be=je.outerHeight,We=je.margin,$e=je.innerWidth,qe=je.innerHeight,He=l1({indexBy:r,label:z,tooltipLabel:se,valueFormat:le,colors:G,colorBy:Y,borderColor:re,labelTextColor:B,groupMode:c,layout:u,data:n,keys:i,margin:We,width:$e,height:qe,padding:g,innerPadding:m,valueScale:d,indexScale:h,enableLabel:F,labelSkipWidth:N,labelSkipHeight:I,legends:me,legendLabel:oe,initialHiddenIds:Re,totalsOffset:Oe}),Ue=He.bars,Ve=He.barsWithValue,Ye=He.xScale,Ge=He.yScale,Xe=He.getLabel,Je=He.getTooltipLabel,Ze=He.getBorderColor,Ke=He.getLabelColor,Qe=He.shouldRenderBarLabel,et=He.toggleSerie,tt=He.legendsWithData,nt=He.barTotals,rt=He.getColor,it=V0(u,null!=(t=null==d?void 0:d.reverse)&&t,$,H),at=wT(Ve,{keys:function(e){return e.key},from:function(e){return D0({borderColor:Ze(e),color:e.color,height:0,labelColor:Ke(e),labelOpacity:0},it(e.width,e.height),{transform:"translate("+e.x+", "+(e.y+e.height)+")",width:e.width},"vertical"===u?{}:{height:e.height,transform:"translate("+e.x+", "+e.y+")",width:0})},enter:function(e){return D0({borderColor:Ze(e),color:e.color,height:e.height,labelColor:Ke(e),labelOpacity:1},it(e.width,e.height),{transform:"translate("+e.x+", "+e.y+")",width:e.width})},update:function(e){return D0({borderColor:Ze(e),color:e.color,height:e.height,labelColor:Ke(e),labelOpacity:1},it(e.width,e.height),{transform:"translate("+e.x+", "+e.y+")",width:e.width})},leave:function(e){return D0({borderColor:Ze(e),color:e.color,height:0,labelColor:Ke(e),labelOpacity:0},it(e.width,e.height),{labelY:0,transform:"translate("+e.x+", "+(e.y+e.height)+")",width:e.width},"vertical"===u?{}:D0({},it(e.width,e.height),{labelX:0,height:e.height,transform:"translate("+e.x+", "+e.y+")",width:0}))},config:Ne,immediate:!Pe,initial:Pe?void 0:null}),ot=s((function(){return{borderRadius:ee,borderWidth:ne,enableLabel:F,isInteractive:ue,labelSkipWidth:N,labelSkipHeight:I,onClick:he,onMouseEnter:pe,onMouseLeave:ge,getTooltipLabel:Je,tooltip:fe,isFocusable:ke,ariaLabel:Ce,ariaLabelledBy:Ae,ariaDescribedBy:Se,ariaHidden:Ee,ariaDisabled:Me}}),[ee,ne,F,Je,ue,I,N,he,pe,ge,fe,ke,Ce,Ae,Se,Ee,Me]),st=_q(J,Ue,K,{dataKey:"data",targetKey:"data.fill"}),lt={annotations:null,axes:null,bars:null,grid:null,legends:null,markers:null,totals:null};T.includes("annotations")&&(lt.annotations=yi(z0,{bars:Ue,annotations:ae},"annotations")),T.includes("axes")&&(lt.axes=yi(SV,{xScale:Ye,yScale:Ge,width:$e,height:qe,top:v,right:b,bottom:_,left:x},"axes")),T.includes("bars")&&(lt.bars=yi(p,{children:at((function(e,t){return f(D,D0({},ot,{bar:t,style:e,shouldRenderLabel:Qe(t),label:Xe(t.data)}))}))},"bars")),T.includes("grid")&&(lt.grid=yi(RV,{width:$e,height:qe,xScale:C?Ye:null,yScale:S?Ge:null,xValues:E,yValues:M},"grid")),T.includes("legends")&&(lt.legends=yi(P0,{width:$e,height:qe,legends:tt,toggleSerie:et},"legends")),T.includes("markers")&&(lt.markers=yi(rq,{markers:V,width:$e,height:qe,xScale:Ye,yScale:Ge},"markers")),T.includes("totals")&&Le&&(lt.totals=yi(c1,{data:nt,springConfig:Ne,animate:Pe,layout:u},"totals"));var ct=D0({},ot,{margin:We,width:o,height:l,innerWidth:$e,innerHeight:qe,bars:Ue,legendData:tt,enableLabel:F,xScale:Ye,yScale:Ge,tooltip:fe,getTooltipLabel:Je,onClick:he,onMouseEnter:pe,onMouseLeave:ge,getColor:rt});return yi(Q$,{width:Ie,height:Be,margin:We,defs:st,role:be,ariaLabel:ye,ariaLabelledBy:_e,ariaDescribedBy:we,isFocusable:ke,ref:Fe,children:T.map((function(e,t){var n;return"function"==typeof e?yi(p,{children:f(e,ct)},t):null!=(n=null==lt?void 0:lt[e])?n:null}))})},f1=a((function(e,t){var n=e.isInteractive,r=void 0===n?B0.isInteractive:n,i=e.animate,a=void 0===i?B0.animate:i,o=e.motionConfig,s=void 0===o?B0.motionConfig:o,l=e.theme,c=e.renderWrapper,u=O0(e,u1);return yi(b$,{animate:a,isInteractive:r,motionConfig:s,renderWrapper:c,theme:l,children:yi(d1,D0({},u,{isInteractive:r,forwardedRef:t}))})})),h1=["isInteractive","renderWrapper","theme"],p1=function(e,t,n,r){return e.find((function(e){return mq(e.x+t.left,e.y+t.top,e.width,e.height,n,r)}))},g1=function(e){var t,r=e.data,a=e.indexBy,l=e.keys,c=e.margin,u=e.width,d=e.height,h=e.groupMode,p=e.layout,g=e.valueScale,m=e.indexScale,v=e.padding,b=e.innerPadding,y=e.axisTop,_=e.axisRight,w=e.axisBottom,x=void 0===w?W0.axisBottom:w,k=e.axisLeft,C=void 0===k?W0.axisLeft:k,A=e.enableGridX,S=void 0===A?W0.enableGridX:A,E=e.enableGridY,M=void 0===E?W0.enableGridY:E,R=e.gridXValues,T=e.gridYValues,L=e.labelPosition,D=void 0===L?W0.labelPosition:L,O=e.labelOffset,F=void 0===O?W0.labelOffset:O,z=e.layers,P=void 0===z?W0.layers:z,N=e.renderBar,j=void 0===N?W0.renderBar:N,I=e.enableLabel,B=void 0===I?W0.enableLabel:I,W=e.label,$=e.labelSkipWidth,q=void 0===$?W0.labelSkipWidth:$,H=e.labelSkipHeight,U=void 0===H?W0.labelSkipHeight:H,V=e.labelTextColor,Y=e.colorBy,G=e.colors,X=e.borderRadius,J=void 0===X?W0.borderRadius:X,Z=e.borderWidth,K=void 0===Z?W0.borderWidth:Z,Q=e.borderColor,ee=e.annotations,te=void 0===ee?W0.annotations:ee,ne=e.legendLabel,re=e.tooltipLabel,ie=e.valueFormat,ae=e.isInteractive,oe=void 0===ae?W0.isInteractive:ae,se=e.tooltip,le=void 0===se?W0.tooltip:se,ce=e.onClick,ue=e.onMouseEnter,de=e.onMouseLeave,fe=e.legends,he=e.pixelRatio,pe=void 0===he?W0.pixelRatio:he,ge=e.role,me=e.forwardedRef,ve=e.enableTotals,be=void 0===ve?W0.enableTotals:ve,ye=e.totalsOffset,_e=void 0===ye?W0.totalsOffset:ye,we=i(null),xe=Nz(),ke=cq(u,d,c),Ce=ke.margin,Ae=ke.innerWidth,Se=ke.innerHeight,Ee=ke.outerWidth,Me=ke.outerHeight,Re=l1({indexBy:a,label:W,tooltipLabel:re,valueFormat:ie,colors:G,colorBy:Y,borderColor:Q,labelTextColor:V,groupMode:h,layout:p,data:r,keys:l,margin:Ce,width:Ae,height:Se,padding:v,innerPadding:b,valueScale:g,indexScale:m,enableLabel:B,labelSkipWidth:q,labelSkipHeight:U,legends:fe,legendLabel:ne,totalsOffset:_e}),Te=Re.bars,Le=Re.barsWithValue,De=Re.xScale,Oe=Re.yScale,Fe=Re.getLabel,ze=Re.getTooltipLabel,Pe=Re.getBorderColor,Ne=Re.getLabelColor,je=Re.shouldRenderBarLabel,Ie=Re.legendsWithData,Be=Re.barTotals,We=Re.getColor,$e=eP(),qe=$e.showTooltipFromEvent,He=$e.hideTooltip,Ue=aQ({annotations:iQ({data:Te,annotations:te,getPosition:function(e){return{x:e.x,y:e.y}},getDimensions:function(e){var t=e.width,n=e.height;return{width:t,height:n,size:Math.max(t,n)}}})}),Ve=s((function(){return{borderRadius:J,borderWidth:K,isInteractive:oe,isFocusable:!1,labelSkipWidth:q,labelSkipHeight:U,margin:Ce,width:u,height:d,innerWidth:Ae,innerHeight:Se,bars:Te,legendData:Ie,enableLabel:B,xScale:De,yScale:Oe,tooltip:le,getTooltipLabel:ze,onClick:ce,onMouseEnter:ue,onMouseLeave:de,getColor:We}}),[J,K,oe,q,U,Ce,u,d,Ae,Se,Te,Ie,B,De,Oe,le,ze,ce,ue,de,We]),Ye=fq(ie),Ge=V0(p,null!=(t=null==g?void 0:g.reverse)&&t,D,F);n((function(){if(we.current){we.current.width=Ee*pe,we.current.height=Me*pe;var e=we.current.getContext("2d");e.scale(pe,pe),e.fillStyle=xe.background,e.fillRect(0,0,Ee,Me),e.translate(Ce.left,Ce.top),P.forEach((function(t){"grid"===t?"number"==typeof xe.grid.line.strokeWidth&&xe.grid.line.strokeWidth>0&&(e.lineWidth=xe.grid.line.strokeWidth,e.strokeStyle=xe.grid.line.stroke,S&&DV(e,{width:Ae,height:Se,scale:De,axis:"x",values:R}),M&&DV(e,{width:Ae,height:Se,scale:Oe,axis:"y",values:T})):"axes"===t?LV(e,{xScale:De,yScale:Oe,width:Ae,height:Se,top:y,right:_,bottom:x,left:C,theme:xe}):"bars"===t?(xq(e,xe.text),Le.forEach((function(t){j(e,D0({bar:t,borderColor:Pe(t),borderRadius:J,borderWidth:K,label:Fe(t.data),shouldRenderLabel:je(t),labelStyle:D0({},xe.labels.text,{fill:Ne(t)})},Ge(t.width,t.height)))}))):"legends"===t?Ie.forEach((function(t){var n=t[0],r=t[1];RY(e,D0({},n,{data:r,containerWidth:Ae,containerHeight:Se,theme:xe}))})):"annotations"===t?hQ(e,{annotations:Ue,theme:xe}):"totals"===t&&be?function(e,t,n,r){void 0===r&&(r=W0.layout),xq(e,n.labels.text),e.textBaseline="vertical"===r?"alphabetic":"middle",e.textAlign="vertical"===r?"center":"start",t.forEach((function(t){kq(e,n.labels.text,t.formattedValue,t.x,t.y)}))}(e,Be,xe,p):"function"==typeof t&&t(e,Ve)})),e.save()}}),[x,C,_,y,Le,J,K,Ue,S,M,Pe,Fe,Ne,R,T,h,d,Se,Ae,Ve,P,p,Ie,Ce.left,Ce.top,Me,Ee,pe,j,De,Oe,je,xe,u,Be,be,Ye,Ge]);var Xe=o((function(e){if(Te&&we.current){var t=vq(we.current,e),n=t[0],r=t[1],i=p1(Te,Ce,n,r);void 0!==i?(qe(f(le,D0({},i.data,{color:i.color,label:i.label,value:Number(i.data.value)})),e),"mouseenter"===e.type&&(null==ue||ue(i.data,e))):He()}}),[He,Ce,ue,Te,qe,le]),Je=o((function(e){if(Te&&we.current){He();var t=vq(we.current,e),n=t[0],r=t[1],i=p1(Te,Ce,n,r);i&&(null==de||de(i.data,e))}}),[He,Ce,de,Te]),Ze=o((function(e){if(Te&&we.current){var t=vq(we.current,e),n=t[0],r=t[1],i=p1(Te,Ce,n,r);void 0!==i&&(null==ce||ce(D0({},i.data,{color:i.color}),e))}}),[Ce,ce,Te]);return yi("canvas",{ref:wq(we,me),width:Ee*pe,height:Me*pe,style:{width:Ee,height:Me,cursor:oe?"auto":"normal"},onMouseEnter:oe?Xe:void 0,onMouseMove:oe?Xe:void 0,onMouseLeave:oe?Je:void 0,onClick:oe?Ze:void 0,role:ge})},m1=a((function(e,t){var n=e.isInteractive,r=e.renderWrapper,i=e.theme,a=O0(e,h1);return yi(b$,{isInteractive:n,renderWrapper:r,theme:i,animate:!1,children:yi(g1,D0({},a,{isInteractive:n,forwardedRef:t}))})})),v1=["defaultWidth","defaultHeight","onResize","debounceResize"],b1=a((function(e,t){var n=e.defaultWidth,r=e.defaultHeight,i=e.onResize,a=e.debounceResize,o=O0(e,v1);return yi(w$,{defaultWidth:n,defaultHeight:r,onResize:i,debounceResize:a,children:function(e){var n=e.width,r=e.height;return yi(f1,D0({},o,{width:n,height:r,ref:t}))}})})),y1=["defaultWidth","defaultHeight","onResize","debounceResize"];a((function(e,t){var n=e.defaultWidth,r=e.defaultHeight,i=e.onResize,a=e.debounceResize,o=O0(e,y1);return yi(w$,{defaultWidth:n,defaultHeight:r,onResize:i,debounceResize:a,children:function(e){var n=e.width,r=e.height;return yi(m1,D0({},o,{width:n,height:r,ref:t}))}})}));var _1="styles_legends__LAO35";const w1=e=>{const{data:t,onLegendClick:n}=e;return yi("div",{className:_1,children:t.map((e=>yi(RK,{legend:e,onClick:n},e.id)))})},x1=({value:e,indexBy:t,legend:n,formatIndexBy:r=(e,t)=>e[t]?.toString()??"",formatLegendValue:i=e=>(e.value??0).toString()??"",allowZeroValues:a=!1})=>{const o=a?n:n.filter((t=>SK(e[t.id])&&0!==Number(e[t.id])));return yi(vK,{label:r(e,t),children:o.map((t=>yi(RK,{mode:"menu",legend:{...t,value:i({...t,value:e[t.id]})}},t.id)))})},k1=e=>{const{background:t,grid:n}=Nz();return yi("g",{children:[yi("line",{opacity:"1",x1:"0",x2:e.innerWidth,y1:e.innerHeight,y2:e.innerHeight,stroke:t,strokeWidth:"1"}),yi("line",{opacity:"1",x1:"0",x2:e.innerWidth,y1:e.innerHeight,y2:e.innerHeight,stroke:n.line.stroke,strokeWidth:"1"})]})},C1=k(null),A1=e=>{const{children:t}=e,[n,r]=A(void 0);return yi(C1.Provider,{value:[n,r],children:t})};var S1=I(tb());const E1=e=>{const t=C(null),[n,r]=A(!1),[i,a]=A(null),o=C(null),s=C((()=>{})),l=E((async(n,i)=>{if(!t.current)return;if(o.current===n)return;const l=()=>{if(t.current)return Va(n,t.current,{middleware:[Ua(),qa(6),Ha({padding:5})],strategy:"fixed",placement:e}).then((({x:e,y:n,strategy:r})=>{t.current&&(t.current.style.position=r,t.current.style.pointerEvents="none",t.current.style.left=`${e}px`,t.current.style.top=`${n}px`)}))};await l(),o.current=n,r(!0),a(i),s.current=$a(n,t.current,l)}),[e]),c=E((e=>{o.current===e&&(s.current(),o.current=null,r(!1),a(null))}),[]);return{tooltipRef:t,isVisible:n,handleShowTooltip:l,handleHideTooltip:c,data:i}},M1={s:16,m:24,l:32},R1=(e,t)=>Math.min(e,M1[t]),T1=e=>{const{isInteractive:t,isFocusable:n,innerHeight:r,innerWidth:i,tooltip:a,indexBy:o,layout:s="vertical",onBarClick:l,bars:c,hasValueFn:u=t=>Object.entries(t).filter((([t])=>t!==e.indexBy)).reduce(((e,[,t])=>e+S1(t??0)),0)>0}=e,d="horizontal"===s,{handleShowTooltip:f,isVisible:h,handleHideTooltip:p,tooltipRef:g,data:m}=E1(d?"bottom":"left"),{animate:v,config:y}=g$(),{opacity:_}=_T({opacity:h?1:0,config:{...y,duration:75},immediate:!v});if(!t)return null;const w=Math.max(...c.map((e=>e.data.index+1))),x=c.slice(0,w);if(x.length<=0)return null;const[k,C]=x;if(!k)return null;const A=C?.x?C.x-k.x:k.width,S=A-k.width,E=C?.y?k.y-C.y:k.height,M=E-k.height;return yi(oK.g,{"data-testid":"hover-layer",children:[x.map(((e,a)=>{const s=e.x-S/2,c=e.y-M/2;return u(e.data.data)?yi(L1,{x:d?0:s,y:d?c:0,width:d?i:A,height:d?E:r,value:e.data.data,indexBy:o,isInteractive:t,isFocusable:n,onTooltipShow:f,onTooltipHide:p,onClick:l},a):null})),Tm(yi(oK.div,{ref:g,style:{display:_?"block":"none",opacity:_},children:h&&m&&b(a,{value:m})}),document.body)]})},L1=({x:e,y:t,width:n,height:r,value:i,isInteractive:a=!0,isFocusable:o=!0,indexBy:s,onTooltipShow:l,onTooltipHide:c,onClick:u})=>{const[d,f]=(()=>{const e=M(C1);if(!e)throw new Error("useBarChartState must be used within a BarChartStateProvider");return e})(),{animate:h,config:p}=g$(),g=i[s],m=d===String(g),{fill:v}=_T({from:{fill:"#ffffff00"},to:{fill:"var(--color-control-bg-ghost-hover)"},config:{...p,duration:150},reverse:!m,immediate:!h}),b=E((e=>{l(e.target,i)}),[l,i]),y=E((e=>{l(e.target,i),f(String(g))}),[l,i,f,g]),_=E((e=>{c(e.target),f(void 0)}),[c,f]),w=E((e=>{l(e.target,i),f(String(g))}),[l,i,f,g]),x=E((e=>{c(e.target),f(void 0)}),[c,f]),k=E((()=>{u?.({data:i})}),[u,i]);return yi(oK.rect,{x:e,y:t,"data-testid":"hover-rect",width:n,height:r,fill:v,style:u?{cursor:"pointer"}:void 0,onMouseMove:a?b:void 0,onMouseEnter:a?y:void 0,onMouseLeave:a?_:void 0,onClick:a&&u?k:void 0,onFocus:a&&o?w:void 0,onBlur:a&&o?x:void 0})},D1=k(null),O1=()=>{const e=M(D1);if(!e)throw new Error("useBarContext must be used within a BarContext");return e},F1=e=>{const{bars:t,indexBy:n,layout:r="vertical",barSize:i,groupMode:a="stacked"}=e,o=R((()=>(e=>{const{bars:t,indexBy:n,layout:r,groupMode:i}=e,a=new Map;for(const e of t){const t=e.data.data[n];a.has(t)||a.set(t,{id:t,bars:[],x:1/0,y:1/0,width:0,height:0});const o=a.get(t);o.bars.push(e),o.x=Math.min(o.x,e.x),o.y=Math.min(o.y,e.y);let s=o.width+e.width,l=o.height+e.height;"vertical"===r&&(s=Math.max(o.width,e.width),"grouped"===i&&(l=Math.max(o.height,e.height))),"horizontal"===r&&(l=Math.max(o.height,e.height),"grouped"===i&&(s=Math.max(o.width,e.width))),o.width=s,o.height=l}return Array.from(a.values())})({bars:t,indexBy:n,layout:r,groupMode:a})),[t,n,r,a]),s=Math.min(...o.map((e=>e.y))),l=Math.min(...o.map((e=>e.x)));return yi(D1.Provider,{value:{barSize:i,layout:r,groupMode:a},children:yi(oK.g,{"data-testid":"bars",pointerEvents:"none",children:o.map((e=>yi(z1,{group:e,offsetY:s,offsetX:l},e.id)))})})},z1=e=>{const{group:t}=e,{barSize:n,layout:r}=O1(),{animate:i,config:a}=g$(),o=L(),s="horizontal"===r,l=R1(t.height,n),c=R1(t.width,n),u=t.width-c,d=t.height-l,f=s?t.x:t.x+u/2,h=s?t.y+d/2:t.y,p=s?t.width:c,g=s?l:t.height,m=(v=s?l:c)<=4?0:v<=M1.s/3?1:v<=M1.s/2?1.5:v<M1.s?2:v>=M1.s&&v<M1.m?4:v>=M1.m?6:0;var v;const{transform:b}=_T({transform:`translate(${f}, ${h})`,config:a,immediate:!i}),y=R((()=>{const e=t.bars.filter((e=>e.width>0&&e.height>0));return"horizontal"===r?e.sort(((e,t)=>e.x-t.x)):e.sort(((e,t)=>e.y-t.y))}),[t.bars,r]),_="horizontal"===r?p<2*m:g<2*m;return yi(oK.g,{clipPath:_?void 0:`url(#clip-${o})`,transform:b,"data-testid":"group","data-id":t.id,children:[!_&&yi("defs",{children:yi("clipPath",{id:`clip-${o}`,children:yi(oK.rect,{x:0,y:0,width:p,height:g,rx:m,ry:m})})}),y.map(((e,t)=>yi(P1,{id:e.data.id,x:s?e.x-f:0,y:s?0:e.y-h,width:s?e.width:p,height:s?g:e.height,fill:e.color,isFirst:0===t,isLast:t===y.length-1},e.data.id)))]})},P1=e=>{const{isFirst:t,isLast:n,id:r,...i}=e,{layout:a}=O1(),{animate:o,config:s}=g$(),l="horizontal"===a?i.width:i.height,c=!t&&l>2,u=!n&&l>2;let d=i.width,f=i.height,h=i.x,p=i.y;"horizontal"===a&&(c&&u&&(h+=.5,d-=.5),u&&(d-=.5)),"vertical"===a&&(c&&(p+=.5,f-=.5),u&&(f-=.5));const g=_T({x:h,y:p,width:d,height:f,config:s,immediate:!o});return yi(oK.rect,{...g,fill:i.fill,"data-testid":"bar","data-id":r})};function N1(e,t,n,r){let i=0;for(let a=0,o=(e=function(e){return Array.isArray(e)?e:Array.from(e)}(e)).length;a<o;a++){const o=e[a],s=t(o,a,e),l=n(o,a,e);null!=s&&isFinite(s)&&null!=l&&isFinite(l)&&r(+s,+l,i++)}}const j1=function(){let e,t=e=>e[0],n=e=>e[1];function r(r){let i=0,a=0,o=0,s=0,l=0,c=e?+e[0]:1/0,u=e?+e[1]:-1/0;N1(r,t,n,((t,n)=>{++i,a+=(t-a)/i,o+=(n-o)/i,s+=(t*n-s)/i,l+=(t*t-l)/i,e||(t<c&&(c=t),t>u&&(u=t))}));const[d,f]=function(e,t,n,r){const i=r-e*e,a=Math.abs(i)<1e-24?0:(n-e*t)/i;return[t-a*e,a]}(a,o,s,l),h=e=>f*e+d,p=[[c,h(c)],[u,h(u)]];return p.a=f,p.b=d,p.predict=h,p.rSquared=function(e,t,n,r,i){let a=0,o=0;return N1(e,t,n,((e,t)=>{const n=t-i(e),s=t-r;a+=n*n,o+=s*s})),1-a/o}(r,t,n,o,h),p}return r.domain=function(t){return arguments.length?(e=t,r):e},r.x=function(e){return arguments.length?(t=e,r):t},r.y=function(e){return arguments.length?(n=e,r):n},r}().x((e=>e.x)).y((e=>e.y)),I1=ff().x((e=>e[0])).y((e=>e[1])),B1=e=>{const{legend:t,indexBy:n,bars:r,innerHeight:i,innerWidth:a,formatValue:o=e=>S1(e)}=e,s=R((()=>t.filter((e=>"point"===e.type)).map((e=>e.id))),[t]),l=L(),c=R((()=>t.filter((e=>"point"===e.type)).reduce(((e,t)=>(e[t.id]=t.color,e)),{})),[t]),u=R((()=>(e=>{const t=Math.max(...e.map((e=>e.data.index+1)));return e.slice(0,t)})(r)),[r]),d=R((()=>sV(s.map((e=>({id:e,data:u.map((t=>{const r=o(S1(t.data.data[e]??0),e);return void 0===r?null:{x:S1(t.data.data[n]??0),y:r}})).filter((e=>null!==e))}))),{type:"linear"},{type:"linear",nice:!0,min:0,max:100},a,i)),[s,u,n,o,a,i]),f=R((()=>s.map((e=>{if(u.length<2)return null;const t=c[e]??"",n=u.map((t=>{const n=o(S1(t.data.data[e]??0),e);return void 0===n?null:{x:S1(t.x+t.width/2),y:S1(d.yScale(n)??0),id:t.key,value:n}})).filter((e=>null!==e));if(u.length===n.length)return{trendKey:e,color:t,points:n};if(n.length<2)return null;const r=j1(n),i=u.map((t=>{const n=o(S1(t.data.data[e]??0),e),i=S1(t.x+t.width/2);let a=r.predict(i);return void 0!==n&&(a=S1(d.yScale(n)??0)),{x:i,y:a,id:t.key,value:n}}));return{trendKey:e,color:t,points:i}})).filter((e=>null!==e))),[s,u,o,d,c]);if(0===s.length)return null;if(0===f.length)return null;return yi(oK.g,{"data-testid":"trend-lines-layer",pointerEvents:"none",clipPath:`url(#${l})`,children:[yi("defs",{children:yi("clipPath",{id:l,children:yi("rect",{x:-5,y:-5,width:a+5,height:i+5})})}),f.map((({trendKey:e,points:t,color:n})=>yi(oK.g,{"data-testid":"trend-line-group","data-trend-key":e,children:[yi(W1,{points:t,color:n},e),t.filter((e=>void 0!==e.value&&e.value>=0&&e.value<=100)).map((({x:e,y:t,id:r})=>yi($1,{x:e,y:t,color:n},r)))]},e)))]})},W1=e=>{const{points:t,color:n}=e,{animate:r,config:i}=g$(),a=R((()=>0===t.length||t.length<2?[]:j1(t)),[t]),{d:o}=_T({d:I1(a)??void 0,config:i,immediate:!r});return 0===t.length||t.length<2||0===a.length?null:yi(oK.path,{d:o,"data-testid":"trend-line",fill:"none",stroke:n,strokeWidth:2,strokeLinecap:"round",pointerEvents:"none",strokeDasharray:"4"})},$1=e=>{const{x:t,y:n,color:r}=e,{animate:i,config:a}=g$(),{cx:o,cy:s}=_T({cx:t,cy:n,config:a,immediate:!i});return yi(oK.circle,{"data-testid":"trend-line-point",cx:o,cy:s,r:3,strokeWidth:2,fill:"white",stroke:r,pointerEvents:"none"})},q1=({data:e,layout:t="vertical",indexBy:n,keys:r,stacked:i,position:a,formatLeftTick:o,formatBottomTick:s})=>{if("horizontal"===t){const t=6,r=e.map((e=>s(e[n],e).toString().length));return Math.max(...r)*t+8}const l=Math.floor(Math.max(...e.map((e=>r.map((t=>S1(e[t]??0))).reduce(((e,t)=>e+t),0))))),c=o(l).toString().length+1;return 8+8*c+10*Math.max(Math.floor((c-1)/3),0)+1};var H1="styles_container__nVJhv",U1="styles_barContainer__DTIpd";const V1=e=>{const{data:t,legend:n,indexBy:r,renderBottomTick:i,onBarClick:a,padding:o=.5,formatLegendValue:s,formatIndexBy:l,hasValueFn:c,currentLocale:u="en-US",formatBottomTick:d=e=>e,formatLeftTick:f=e=>EK(e,u),bottomTickRotation:h=0,noLegend:p=!1,minValue:g,maxValue:m,groupMode:v="stacked",bottomTickSize:b=12,markers:y=[],colors:_,leftAxisTickValues:w,layout:x="vertical",formatTrendValue:k}=e,C=R((()=>new Map(n.map((e=>[e.id,e])))),[n]),A=R((()=>n.filter((e=>"point"!==e.type&&"tree"!==e.type)).map((e=>e.id))),[n]),S=R((()=>((e,t)=>e.every((e=>Object.keys(e).filter((e=>e!==t)).every((t=>0===e[t])))))(t,r)),[t,r]),E=R((()=>t.length>=8?"s":t.length>=6?"m":"l"),[t]),M="horizontal"===x;return yi("div",{className:H1,children:[yi("div",{className:U1,children:yi(A1,{children:yi(b1,{data:t,theme:UZ,groupMode:v,layout:x,defaultHeight:275,keys:A,indexBy:r,margin:{top:10,right:20,bottom:h>0?60:40,left:q1({data:t,layout:x,keys:A,indexBy:r,stacked:!0,position:"left",formatLeftTick:f,formatBottomTick:d})},padding:o,innerPadding:0,valueScale:{type:"linear",nice:!0,min:g,max:m},indexScale:{type:"band",round:!0},layers:["grid","axes",k1,e=>yi(F1,{...e,indexBy:r,layout:x,legend:n,barSize:E,groupMode:v}),e=>yi(B1,{...e,legend:n,indexBy:r,formatValue:k}),"markers",e=>yi(T1,{...e,hasValueFn:c,indexBy:r,layout:x,onBarClick:a,tooltip:({value:e})=>yi(x1,{allowZeroValues:!0,value:e,indexBy:r,legend:n,formatLegendValue:s,formatIndexBy:l})})],markers:y,colors:"function"==typeof _?_:e=>C.get(e.id)?.color??"var(--color-bg-secondary)",enableLabel:!1,enableTotals:!1,axisTop:null,axisRight:null,axisBottom:{tickSize:0,tickPadding:5,tickRotation:h,truncateTickAt:0,renderTick:i,style:{ticks:{text:{fontSize:b}}},format:M?f:e=>d(e,t.find((t=>t[r]===e))),tickValues:t.length>30?t.filter(((e,t)=>!(t%2))).map((e=>e[r])):void 0},axisLeft:{tickSize:0,tickPadding:8,tickRotation:0,truncateTickAt:0,format:M?d?e=>d(e,t.find((t=>t[r]===e))):void 0:f,tickValues:w},animate:!$Z,motionConfig:WZ,onClick:a})})}),!S&&!p&&yi(w1,{data:n})]})},Y1=(e,t)=>e>=t,G1=e=>e>=91?"bottom-right":"top-right",X1=e=>{const{title:t,data:n,i18n:r,keys:i,threshold:a=90}=e,o=R((()=>E0(n,15).map((({id:e,stabilityRate:t})=>({id:e,stabilityRate:t,[e]:t})))),[n]),s=r("legend.stabilityRate"),l=(e=>e>=100?100:e<=0?0:e)(a),c=R((()=>o.map((({id:e,stabilityRate:t})=>({id:e,label:s,color:Y1(t,l)?"var(--color-intent-success-bg-active)":"var(--color-intent-danger-bg-active)",value:t,[e]:t})))),[o,s,l]),u=0===o.length;return yi($C,u?{title:t,children:yi(iv,{title:r("no-results"),icon:wi.lineChartsBarChartSquare})}:{title:t,children:yi(V1,{markers:[{axis:"y",value:a,legend:`${a}%`,textStyle:{fill:UZ.markers?.text?.fill,fontSize:UZ.markers?.text?.fontSize,fontWeight:UZ.markers?.text?.fontWeight},lineStyle:{stroke:UZ.markers?.lineColor,strokeWidth:UZ.markers?.lineStrokeWidth},legendPosition:G1(l),legendOffsetY:10,legendOffsetX:7}],groupMode:"stacked",data:o,legend:c,indexBy:"id",hasValueFn:()=>!0,formatIndexBy:e=>i[e.id],formatBottomTick:(e,t)=>L0(i[t.id],{length:15}),bottomTickSize:o.length>4?10:12,formatLegendValue:({value:e})=>{if(void 0!==e)return`${e}%`},noLegend:!0,formatLeftTick:e=>`${e}%`,maxValue:100,leftAxisTickValues:[0,10,20,30,40,50,60,70,80,90,100],bottomTickRotation:45,colors:e=>((e,t)=>{if(e>=t)return"var(--color-intent-success-bg-active)";const n=t>20?t-5:void 0;return n&&e>=n?"var(--color-intent-warning-bg-active)":"var(--color-intent-danger-bg-active)"})(e.data.stabilityRate,l)})})},J1=e=>e.startsWith("new:"),Z1=e=>e.startsWith("removed:"),K1=e=>{const{title:t,data:n,i18n:r,statuses:i}=e,a=n.find((e=>"current"===e.id)),o=R((()=>{const e=[];for(const t of i)e.push(`new:${t}`);for(const t of i)e.push(`removed:${t}`);return e}),[i]),s=R((()=>[...o.map((e=>{const t=e.replace(":",""),n=e.replace("new:","").replace("removed:","");return{id:e,label:r(`status.${t}`),color:cX(n,"chartFill"),value:J1(e)?1:-1}})),{id:"trend",label:r("legend.trend"),color:"var(--color-chart-categorical-9)",type:"point"}]),[o,r]),l=Math.ceil(1.01*Math.max(...n.map((e=>{const t=Math.abs(o.filter((e=>Z1(e))).reduce(((t,n)=>t+(e[n]??0)),0)),n=Math.abs(o.filter((e=>J1(e))).reduce(((t,n)=>t+(e[n]??0)),0));return Math.max(n,t)})))),c=R((()=>n.map((e=>{const t=2*l,n=((e,t)=>t.reduce(((t,n)=>(J1(n)&&(t[n]=e[n]??0),Z1(n)&&(t[n]=-(e[n]??0)),t)),{}))(e,o),r=Math.abs(o.filter((e=>Z1(e))).reduce(((e,t)=>e+(n[t]??0)),0)),i=Math.abs(o.filter((e=>J1(e))).reduce(((e,t)=>e+(n[t]??0)),0)),a=uX({positiveValue:i,negativeValue:r,absTotal:t,noValuePercentage:-1});return{id:e.id,timestamp:e.timestamp,...n,trend:a}}))),[n,o,l]),u=c.every((e=>o.every((t=>0===e[t])))),d=c.filter((e=>"current"!==e.id)).every((e=>o.every((t=>0===e[t]))));return!a||u?yi($C,{title:t,children:yi(iv,{title:r("no-results"),icon:wi.lineChartsBarChartSquare})}):1===n.length&&a||d?yi($C,{title:t,children:yi(iv,{title:r("no-history"),icon:wi.lineChartsBarChartSquare})}):yi($C,{title:t,children:yi(V1,{groupMode:"stacked",data:c,legend:s,indexBy:"id",hasValueFn:()=>!0,formatIndexBy:e=>"current"===e.id?r("tooltips.current"):r("tooltips.history",{timestamp:e?.timestamp}),formatBottomTick:e=>{if("current"===e)return r("ticks.current");const t=c.find((t=>t.id===e));return t?r("ticks.history",{timestamp:t?.timestamp}):""},bottomTickRotation:45,formatLegendValue:({value:e,id:t})=>"trend"===t?"":e?EK(Math.abs(Number(e))):"-",noLegend:!0,formatLeftTick:e=>{const t=Math.abs(Number(e));return Number.isInteger(t)?EK(Math.abs(Number(e))):""},minValue:-l,maxValue:l,formatTrendValue:e=>{if(-1!==e)return e}})})},Q1=e=>"skipped"===e||"unknown"===e,e2=e=>"failed"===e||"broken"===e,t2=(e,t)=>t.reduce(((t,n)=>(Q1(n)&&(t[n]=e[n]??0),e2(n)&&(t[n]=-(e[n]??0)),t)),{}),n2=e=>{const{title:t,data:n,i18n:r,statuses:i}=e,a=n.find((e=>"current"===e.id)),o=R((()=>i.map((e=>({id:e,label:r(`status.${e}`),color:cX(e,"chartFill"),value:Q1(e)?1:-1})))),[i,r]),s=R((()=>n.map((e=>({id:e.id,timestamp:e.timestamp,...t2(e,i)})))),[n,i]),l=s.every((e=>i.every((t=>0===e[t])))),c=s.filter((e=>"current"!==e.id)).every((e=>i.every((t=>0===e[t]))));if(!a||l)return yi($C,{title:t,children:yi(iv,{title:r("no-results"),icon:wi.lineChartsBarChartSquare})});if(1===n.length&&a||c)return yi($C,{title:t,children:yi(iv,{title:r("no-history"),icon:wi.lineChartsBarChartSquare})});const u=Math.max(...s.map((e=>{const t=Math.abs(i.filter((e=>e2(e))).reduce(((t,n)=>t+(e[n]??0)),0)),n=Math.abs(i.filter((e=>Q1(e))).reduce(((t,n)=>t+(e[n]??0)),0));return Math.max(t,n)}))),d=Math.ceil(1.01*u);return yi($C,{title:t,children:yi(V1,{groupMode:"stacked",layout:"horizontal",data:s,legend:o,indexBy:"id",hasValueFn:()=>!0,formatIndexBy:e=>"current"===e.id?r("tooltips.current"):r("tooltips.history",{timestamp:e?.timestamp}),formatBottomTick:e=>{if("current"===e)return L0(r("ticks.current"),{length:15});const t=s.find((t=>t.id===e));return t?L0(r("ticks.history",{timestamp:t?.timestamp}),{length:15}):""},bottomTickSize:10,formatLegendValue:({value:e})=>e?EK(Math.abs(Number(e))):"-",noLegend:!0,formatLeftTick:e=>{const t=Math.abs(Number(e));return Number.isInteger(t)?EK(Math.abs(Number(e))):""},minValue:-d,maxValue:d})})};function r2(){return r2=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},r2.apply(null,arguments)}function i2(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(-1!==t.indexOf(r))continue;n[r]=e[r]}return n}var a2={layers:["separators","parts","labels","annotations"],direction:"vertical",interpolation:"smooth",spacing:0,shapeBlending:.66,colors:{scheme:"nivo"},size:void 0,fillOpacity:1,borderWidth:6,borderColor:{from:"color"},borderOpacity:.66,enableLabel:!0,labelColor:{theme:"background"},enableBeforeSeparators:!0,beforeSeparatorLength:0,beforeSeparatorOffset:0,enableAfterSeparators:!0,afterSeparatorLength:0,afterSeparatorOffset:0,annotations:[],isInteractive:!0,currentPartSizeExtension:0,role:"img",animate:f$,motionConfig:h$},o2=function(e){var t=e.part;return yi(Hz,{id:t.data.label,value:t.formattedValue,color:t.color,enableChip:!0})},s2=function(e,t){return s((function(){return function(e,t){if("function"==typeof e)return e;if(Array.isArray(e)){var n=_l(e);return function(e){return Number(n(String(e.id)))}}if(KB(e)){if(function(e){return void 0!==e.datum}(e))return function(t){var n=kz(t,e.datum);return"number"==typeof n?n:0};throw new Error("Invalid size, when using an object, you should specify a 'datum' property")}return function(e){return t(e.value)}}(e,t)}),[e,t])},l2=function(e){var n,r,i=e.data,a=e.width,o=e.height,l=e.direction,c=void 0===l?a2.direction:l,u=e.interpolation,d=void 0===u?a2.interpolation:u,h=e.spacing,p=void 0===h?a2.spacing:h,g=e.shapeBlending,m=void 0===g?a2.shapeBlending:g,v=e.valueFormat,b=e.colors,y=void 0===b?a2.colors:b,_=e.size,w=void 0===_?a2.size:_,x=e.fillOpacity,k=void 0===x?a2.fillOpacity:x,C=e.borderWidth,A=void 0===C?a2.borderWidth:C,S=e.borderColor,E=void 0===S?a2.borderColor:S,M=e.borderOpacity,R=void 0===M?a2.borderOpacity:M,T=e.labelColor,L=void 0===T?a2.labelColor:T,D=e.enableBeforeSeparators,O=void 0===D?a2.enableBeforeSeparators:D,F=e.beforeSeparatorLength,z=void 0===F?a2.beforeSeparatorLength:F,P=e.beforeSeparatorOffset,N=void 0===P?a2.beforeSeparatorOffset:P,j=e.enableAfterSeparators,I=void 0===j?a2.enableAfterSeparators:j,B=e.afterSeparatorLength,W=void 0===B?a2.afterSeparatorLength:B,$=e.afterSeparatorOffset,q=void 0===$?a2.afterSeparatorOffset:$,H=e.isInteractive,U=void 0===H?a2.isInteractive:H,V=e.currentPartSizeExtension,Y=void 0===V?a2.currentPartSizeExtension:V,G=e.currentBorderWidth,X=e.onMouseEnter,J=e.onMouseMove,Z=e.onMouseLeave,K=e.onClick,Q=e.tooltip,ee=Nz(),te=nY(y,"id"),ne=YV(E,ee),re=YV(L,ee),ie=fq(v),ae=s((function(){return function(e,t){var n=hf();return"vertical"===t?n.curve("smooth"===e?_f:cf).x0((function(e){return e.x0})).x1((function(e){return e.x1})).y((function(e){return e.y})):n.curve("smooth"===e?_f:cf).y0((function(e){return e.y0})).y1((function(e){return e.y1})).x((function(e){return e.x})),[n,ff().defined((function(e){return null!==e})).x((function(e){return e.x})).y((function(e){return e.y})).curve("smooth"===e?_f:cf)]}(d,c)}),[d,c]),oe=ae[0],se=ae[1],le=O?z+N:0,ce=I?W+q:0;"vertical"===c?(n=a-le-ce,r=o):(n=a,r=o-le-ce);var ue=s((function(){return function(e){var t,n,r=e.data,i=e.direction,a=e.width,o=e.height,s=e.spacing;"vertical"===i?(t=o,n=a):(t=a,n=o);var l=(t-s*(r.length-1))/r.length,c=function(e){return s*e+l*e};c.bandwidth=l;var u=r.map((function(e){return e.value}));return[c,Jl().domain([0,Math.max.apply(Math,u)]).range([0,n])]}({data:i,direction:c,width:n,height:r,spacing:p})}),[i,c,n,r,p]),de=ue[0],fe=ue[1],he=s2(w,fe),pe=t(null),ge=pe[0],me=pe[1],ve=s((function(){var e=i.map((function(e,t){var i,a,o,s,l=e.id===ge,u=he(e);"vertical"===c?(i=u,a=de.bandwidth,s=le+.5*(n-i),o=de(t)):(i=de.bandwidth,a=u,s=de(t),o=le+.5*(r-a));var d=s+i,f=s+.5*i,h=o+a,p=o+.5*a,g={data:e,width:i,height:a,color:te(e),fillOpacity:k,borderWidth:l&&void 0!==G?G:A,borderOpacity:R,formattedValue:ie(e.value),isCurrent:l,x:f,x0:s,x1:d,y:p,y0:o,y1:h,borderColor:"",labelColor:"",points:[],areaPoints:[],borderPoints:[]};return g.borderColor=ne(g),g.labelColor=re(g),g})),t=m/2;return e.forEach((function(n,r){var i=e[r+1];if("vertical"===c){n.points.push({x:n.x0,y:n.y0}),n.points.push({x:n.x1,y:n.y0}),i?(n.points.push({x:i.x1,y:n.y1}),n.points.push({x:i.x0,y:n.y1})):(n.points.push({x:n.points[1].x,y:n.y1}),n.points.push({x:n.points[0].x,y:n.y1})),n.isCurrent&&(n.points[0].x-=Y,n.points[1].x+=Y,n.points[2].x+=Y,n.points[3].x-=Y),n.areaPoints=[{x:0,x0:n.points[0].x,x1:n.points[1].x,y:n.y0,y0:0,y1:0}],n.areaPoints.push(r2({},n.areaPoints[0],{y:n.y0+n.height*t}));var a={x:0,x0:n.points[3].x,x1:n.points[2].x,y:n.y1,y0:0,y1:0};n.areaPoints.push(r2({},a,{y:n.y1-n.height*t})),n.areaPoints.push(a),[0,1,2,3].map((function(e){n.borderPoints.push({x:n.areaPoints[e].x0,y:n.areaPoints[e].y})})),n.borderPoints.push(null),[3,2,1,0].map((function(e){n.borderPoints.push({x:n.areaPoints[e].x1,y:n.areaPoints[e].y})}))}else{n.points.push({x:n.x0,y:n.y0}),i?(n.points.push({x:n.x1,y:i.y0}),n.points.push({x:n.x1,y:i.y1})):(n.points.push({x:n.x1,y:n.y0}),n.points.push({x:n.x1,y:n.y1})),n.points.push({x:n.x0,y:n.y1}),n.isCurrent&&(n.points[0].y-=Y,n.points[1].y-=Y,n.points[2].y+=Y,n.points[3].y+=Y),n.areaPoints=[{x:n.x0,x0:0,x1:0,y:0,y0:n.points[0].y,y1:n.points[3].y}],n.areaPoints.push(r2({},n.areaPoints[0],{x:n.x0+n.width*t}));var o={x:n.x1,x0:0,x1:0,y:0,y0:n.points[1].y,y1:n.points[2].y};n.areaPoints.push(r2({},o,{x:n.x1-n.width*t})),n.areaPoints.push(o),[0,1,2,3].map((function(e){n.borderPoints.push({x:n.areaPoints[e].x,y:n.areaPoints[e].y0})})),n.borderPoints.push(null),[3,2,1,0].map((function(e){n.borderPoints.push({x:n.areaPoints[e].x,y:n.areaPoints[e].y1})}))}})),e}),[i,c,de,n,r,le,m,te,ie,ne,re,ge,R,A,G,Y,k,he]),be=eP(),ye=be.showTooltipFromEvent,_e=be.hideTooltip,we=s((function(){return function(e){var t=e.parts,n=e.setCurrentPartId,r=e.isInteractive,i=e.onMouseEnter,a=e.onMouseLeave,o=e.onMouseMove,s=e.onClick,l=e.showTooltipFromEvent,c=e.hideTooltip,u=e.tooltip,d=void 0===u?o2:u;return r?t.map((function(e){return r2({},e,{onMouseEnter:function(t){n(e.data.id),l(f(d,{part:e}),t),null==i||i(e,t)},onMouseLeave:function(t){n(null),c(),null==a||a(e,t)},onMouseMove:function(t){l(f(d,{part:e}),t),null==o||o(e,t)},onClick:void 0!==s?function(t){s(e,t)}:void 0})})):t}({parts:ve,setCurrentPartId:me,isInteractive:U,onMouseEnter:X,onMouseLeave:Z,onMouseMove:J,onClick:K,showTooltipFromEvent:ye,hideTooltip:_e,tooltip:Q})}),[ve,me,U,X,Z,J,K,ye,_e,Q]),xe=s((function(){return function(e){var t=e.parts,n=e.direction,r=e.width,i=e.height,a=e.spacing,o=e.enableBeforeSeparators,s=e.beforeSeparatorOffset,l=e.enableAfterSeparators,c=e.afterSeparatorOffset,u=[],d=[],f=t[t.length-1];if("vertical"===n){t.forEach((function(e){var t=e.y0-a/2;o&&u.push({partId:e.data.id,x0:0,x1:e.x0-s,y0:t,y1:t}),l&&d.push({partId:e.data.id,x0:e.x1+c,x1:r,y0:t,y1:t})}));var h=f.y1;o&&u.push(r2({},u[u.length-1],{partId:"none",y0:h,y1:h})),l&&d.push(r2({},d[d.length-1],{partId:"none",y0:h,y1:h}))}else if("horizontal"===n){t.forEach((function(e){var t=e.x0-a/2;u.push({partId:e.data.id,x0:t,x1:t,y0:0,y1:e.y0-s}),d.push({partId:e.data.id,x0:t,x1:t,y0:e.y1+c,y1:i})}));var p=f.x1;u.push(r2({},u[u.length-1],{partId:"none",x0:p,x1:p})),d.push(r2({},d[d.length-1],{partId:"none",x0:p,x1:p}))}return[u,d]}({parts:ve,direction:c,width:a,height:o,spacing:p,enableBeforeSeparators:O,beforeSeparatorOffset:N,enableAfterSeparators:I,afterSeparatorOffset:q})}),[ve,c,a,o,p,O,N,I,q]),ke=xe[0],Ce=xe[1],Ae=s((function(){return{width:a,height:o,parts:we,areaGenerator:oe,borderGenerator:se,beforeSeparators:ke,afterSeparators:Ce,setCurrentPartId:me}}),[a,o,we,oe,se,ke,Ce,me]);return{parts:we,areaGenerator:oe,borderGenerator:se,beforeSeparators:ke,afterSeparators:Ce,setCurrentPartId:me,currentPartId:ge,customLayerProps:Ae}},c2=function(e){var t=e.part,n=e.areaGenerator,r=e.borderGenerator,i=g$(),a=i.animate,o=i.config,s=iq(n(t.areaPoints)),l=iq(r(t.borderPoints)),c=_T({areaColor:t.color,borderWidth:t.borderWidth,borderColor:t.borderColor,config:o,immediate:!a});return yi(y,{children:[t.borderWidth>0&&yi(vD.path,{d:l,stroke:c.borderColor,strokeWidth:c.borderWidth,strokeOpacity:t.borderOpacity,fill:"none"}),yi(vD.path,{d:s,fill:c.areaColor,fillOpacity:t.fillOpacity,onMouseEnter:t.onMouseEnter,onMouseLeave:t.onMouseLeave,onMouseMove:t.onMouseMove,onClick:t.onClick})]})},u2=function(e){var t=e.parts,n=e.areaGenerator,r=e.borderGenerator;return yi(y,{children:t.map((function(e){return yi(c2,{part:e,areaGenerator:n,borderGenerator:r},e.data.id)}))})},d2=function(e){var t=e.part,n=Nz(),r=g$(),i=r.animate,a=r.config,o=_T({transform:"translate("+t.x+", "+t.y+")",color:t.labelColor,config:a,immediate:!i});return yi(vD.g,{transform:o.transform,children:yi(Pq,{textAnchor:"middle",dominantBaseline:"central",style:r2({},n.labels.text,{fill:o.color,pointerEvents:"none"}),children:t.formattedValue})})},f2=function(e){var t=e.parts;return yi(y,{children:t.map((function(e){return yi(d2,{part:e},e.data.id)}))})},h2=function(e){var t=e.separator,n=Nz(),r=g$(),i=r.animate,a=r.config,o=_T({x1:t.x0,x2:t.x1,y1:t.y0,y2:t.y1,config:a,immediate:!i});return yi(vD.line,r2({x1:o.x1,x2:o.x2,y1:o.y1,y2:o.y2,fill:"none"},n.grid.line))},p2=function(e){var t=e.beforeSeparators,n=e.afterSeparators;return yi(y,{children:[t.map((function(e){return yi(h2,{separator:e},e.partId)})),n.map((function(e){return yi(h2,{separator:e},e.partId)}))]})},g2=function(e){var t=function(e,t){return iQ({data:e,annotations:t,getPosition:function(e){return{x:e.x,y:e.y}},getDimensions:function(e){var t=e.width,n=e.height;return{size:Math.max(t,n),width:t,height:n}}})}(e.parts,e.annotations);return yi(y,{children:t.map((function(e,t){return yi(dQ,r2({},e),t)}))})},m2=["isInteractive","animate","motionConfig","theme","renderWrapper"],v2=function(e){var t=e.data,n=e.width,r=e.height,i=e.margin,a=e.direction,o=void 0===a?a2.direction:a,s=e.interpolation,l=void 0===s?a2.interpolation:s,c=e.spacing,u=void 0===c?a2.spacing:c,d=e.shapeBlending,h=void 0===d?a2.shapeBlending:d,g=e.valueFormat,m=e.colors,v=void 0===m?a2.colors:m,b=e.size,y=void 0===b?a2.size:b,_=e.fillOpacity,w=void 0===_?a2.fillOpacity:_,x=e.borderWidth,k=void 0===x?a2.borderWidth:x,C=e.borderColor,A=void 0===C?a2.borderColor:C,S=e.borderOpacity,E=void 0===S?a2.borderOpacity:S,M=e.enableLabel,R=void 0===M?a2.enableLabel:M,T=e.labelColor,L=void 0===T?a2.labelColor:T,D=e.enableBeforeSeparators,O=void 0===D?a2.enableBeforeSeparators:D,F=e.beforeSeparatorLength,z=void 0===F?a2.beforeSeparatorLength:F,P=e.beforeSeparatorOffset,N=void 0===P?a2.beforeSeparatorOffset:P,j=e.enableAfterSeparators,I=void 0===j?a2.enableAfterSeparators:j,B=e.afterSeparatorLength,W=void 0===B?a2.afterSeparatorLength:B,$=e.afterSeparatorOffset,q=void 0===$?a2.afterSeparatorOffset:$,H=e.layers,U=void 0===H?a2.layers:H,V=e.annotations,Y=void 0===V?a2.annotations:V,G=e.isInteractive,X=void 0===G?a2.isInteractive:G,J=e.currentPartSizeExtension,Z=void 0===J?a2.currentPartSizeExtension:J,K=e.currentBorderWidth,Q=e.onMouseEnter,ee=e.onMouseMove,te=e.onMouseLeave,ne=e.onClick,re=e.tooltip,ie=e.role,ae=void 0===ie?a2.role:ie,oe=e.ariaLabel,se=e.ariaLabelledBy,le=e.ariaDescribedBy,ce=e.forwardedRef,ue=cq(n,r,i),de=ue.margin,fe=ue.innerWidth,he=ue.innerHeight,pe=ue.outerWidth,ge=ue.outerHeight,me=l2({data:t,width:fe,height:he,direction:o,interpolation:l,spacing:u,shapeBlending:h,valueFormat:g,colors:v,size:y,fillOpacity:w,borderWidth:k,borderColor:A,borderOpacity:E,labelColor:L,enableBeforeSeparators:O,beforeSeparatorLength:z,beforeSeparatorOffset:N,enableAfterSeparators:I,afterSeparatorLength:W,afterSeparatorOffset:q,isInteractive:X,currentPartSizeExtension:Z,currentBorderWidth:K,onMouseEnter:Q,onMouseMove:ee,onMouseLeave:te,onClick:ne,tooltip:re}),ve=me.areaGenerator,be=me.borderGenerator,ye=me.parts,_e=me.beforeSeparators,we=me.afterSeparators,xe=me.customLayerProps,ke={separators:null,parts:null,annotations:null,labels:null};return U.includes("separators")&&(ke.separators=yi(p2,{beforeSeparators:_e,afterSeparators:we},"separators")),U.includes("parts")&&(ke.parts=yi(u2,{parts:ye,areaGenerator:ve,borderGenerator:be},"parts")),null!=U&&U.includes("annotations")&&(ke.annotations=yi(g2,{parts:ye,annotations:Y},"annotations")),U.includes("labels")&&R&&(ke.labels=yi(f2,{parts:ye},"labels")),yi(Q$,{width:pe,height:ge,margin:de,role:ae,ariaLabel:oe,ariaLabelledBy:se,ariaDescribedBy:le,ref:ce,children:U.map((function(e,t){var n;return"function"==typeof e?yi(p,{children:f(e,xe)},t):null!=(n=null==ke?void 0:ke[e])?n:null}))})},b2=a((function(e,t){var n=e.isInteractive,r=void 0===n?a2.isInteractive:n,i=e.animate,a=void 0===i?a2.animate:i,o=e.motionConfig,s=void 0===o?a2.motionConfig:o,l=e.theme,c=e.renderWrapper,u=i2(e,m2);return yi(b$,{animate:a,isInteractive:r,motionConfig:s,renderWrapper:c,theme:l,children:yi(v2,r2({isInteractive:r},u,{forwardedRef:t}))})})),y2=["defaultWidth","defaultHeight","onResize","debounceResize"],_2=a((function(e,t){var n=e.defaultWidth,r=e.defaultHeight,i=e.onResize,a=e.debounceResize,o=i2(e,y2);return yi(w$,{defaultWidth:n,defaultHeight:r,onResize:i,debounceResize:a,children:function(e){var n=e.width,r=e.height;return yi(b2,r2({width:n,height:r},o,{ref:t}))}})}));const w2={background:"var(--color-bg-primary)",axis:{ticks:{text:{fill:"var(--color-text-secondary)"}},legend:{text:{fill:"var(--color-text-primary)"}}},grid:{line:{stroke:"var(--color-border-default)"}},legends:{text:{fill:"var(--color-text-secondary)"}},tooltip:{container:{background:"var(--color-bg-raised)",color:"var(--color-text-primary)"}},text:{fill:"var(--color-text-primary)"}},x2=e=>{const t=Nz(),{animate:n,config:r}=g$(),i=_T({transform:`translate(10, ${e.y})`,color:e.labelColor,config:r,immediate:!n}),{value:a,layerLabel:o,countLabel:s,rateLabel:l,description:c}=e.data,u=[o,s];a>0&&u.push(l);const{triggerProps:d,tooltip:f}=lX(`${u.join("\n")}\n${c}`);return yi(oK.g,{...d,role:"img","aria-label":u.join("; "),transform:i.transform,children:[f,yi("title",{children:u.join("; ")}),yi(Pq,{style:{...t.labels.text,pointerEvents:"all"},lineHeight:1.2,children:u.map(((e,t)=>yi(oK.tspan,{x:0,dy:0===t?0:"1.2em",children:e},t)))},e.data.id)]})},k2=e=>{const{parts:t}=e;return t.map((e=>yi(x2,{...e},e.data.id)))},C2=e=>{const{data:t,title:n,translations:r,i18n:i=hX,height:a=400,width:o="100%"}=e,s=r["no-results"],l=R((()=>[...t].reverse().map((e=>({id:e.layer,value:e.testCount,label:e.layer,successRate:e.successRate,eligibleCount:e.eligibleCount??e.testCount,layerLabel:i("layer",{layer:e.layer}),countLabel:e.testCount?i("slice",{count:e.testCount,percent:pX(e.percentage)}):i("noResults"),rateLabel:i("successRate",{rate:e.testCount?`${pX(e.successRate)}%`:"???"}),description:mX(e.testCount,e.eligibleCount??e.testCount,i),percentage:e.percentage,layer:e.layer,color:e.testCount>0?"var(--color-intent-primary-bg)":"var(--color-status-skipped-chart-fill)"})))),[t,i]);return t&&0!==t.length?yi($C,{title:n,children:yi("div",{role:"group","aria-label":n,style:{width:o,height:a},children:yi(_2,{data:l,theme:w2,enableLabel:!1,layers:["separators","parts","labels","annotations",k2],interpolation:"linear",spacing:5,shapeBlending:0,borderWidth:0,colors:e=>e.color,labelColor:{theme:"background"},enableAfterSeparators:!1})})}):yi($C,{title:n,children:yi(YG,{label:s,width:o,height:a,ariaLabel:s})})};function A2(){return A2=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},A2.apply(null,arguments)}var S2={pointerEvents:"none"},E2=function(e){var t=e.label,n=e.style,r=Nz();return yi(vD.g,{transform:n.transform,opacity:n.progress,style:S2,children:yi(Pq,{textAnchor:"middle",dominantBaseline:"central",style:A2({},r.labels.text,{fill:n.textColor}),children:t})})},M2=function(e){var t=e%(2*Math.PI);return t<0&&(t+=2*Math.PI),t},R2=function(e,t){return e.filter((function(e){return Math.abs(F$(e.arc.endAngle-e.arc.startAngle))>=t}))},T2={startAngle:{enter:function(e){return A2({},e,{endAngle:e.startAngle})},update:function(e){return e},leave:function(e){return A2({},e,{startAngle:e.endAngle})}},middleAngle:{enter:function(e){var t=e.startAngle+(e.endAngle-e.startAngle)/2;return A2({},e,{startAngle:t,endAngle:t})},update:function(e){return e},leave:function(e){var t=e.startAngle+(e.endAngle-e.startAngle)/2;return A2({},e,{startAngle:t,endAngle:t})}},endAngle:{enter:function(e){return A2({},e,{startAngle:e.endAngle})},update:function(e){return e},leave:function(e){return A2({},e,{endAngle:e.startAngle})}},innerRadius:{enter:function(e){return A2({},e,{outerRadius:e.innerRadius})},update:function(e){return e},leave:function(e){return A2({},e,{innerRadius:e.outerRadius})}},centerRadius:{enter:function(e){var t=e.innerRadius+(e.outerRadius-e.innerRadius)/2;return A2({},e,{innerRadius:t,outerRadius:t})},update:function(e){return e},leave:function(e){var t=e.innerRadius+(e.outerRadius-e.innerRadius)/2;return A2({},e,{innerRadius:t,outerRadius:t})}},outerRadius:{enter:function(e){return A2({},e,{innerRadius:e.outerRadius})},update:function(e){return e},leave:function(e){return A2({},e,{outerRadius:e.innerRadius})}},pushIn:{enter:function(e){return A2({},e,{innerRadius:e.innerRadius-e.outerRadius+e.innerRadius,outerRadius:e.innerRadius})},update:function(e){return e},leave:function(e){return A2({},e,{innerRadius:e.outerRadius,outerRadius:e.outerRadius+e.outerRadius-e.innerRadius})}},pushOut:{enter:function(e){return A2({},e,{innerRadius:e.outerRadius,outerRadius:e.outerRadius+e.outerRadius-e.innerRadius})},update:function(e){return e},leave:function(e){return A2({},e,{innerRadius:e.innerRadius-e.outerRadius+e.innerRadius,outerRadius:e.innerRadius})}}},L2=function(e,t){return s((function(){var n=T2[e];return{enter:function(e){return A2({progress:0},n.enter(e.arc),t?t.enter(e):{})},update:function(e){return A2({progress:1},n.update(e.arc),t?t.update(e):{})},leave:function(e){return A2({progress:0},n.leave(e.arc),t?t.leave(e):{})}}}),[e,t])},D2=function(e,t){var n=function(e){return e.startAngle+(e.endAngle-e.startAngle)/2}(e)-Math.PI/2,r=e.innerRadius+(e.outerRadius-e.innerRadius)*t;return z$(n,r)},O2=function(e){return function(t,n,r,i){return ET([t,n,r,i],(function(t,n,r,i){var a=D2({startAngle:t,endAngle:n,innerRadius:r,outerRadius:i},e);return"translate("+a.x+","+a.y+")"}))}},F2=function(e){var t=e.center,n=e.data,r=e.transitionMode,i=e.label,a=e.radiusOffset,o=e.skipAngle,l=e.skipRadius,c=e.textColor,u=e.component,d=void 0===u?E2:u,h=pq(i),p=Nz(),g=YV(c,p),m=s((function(){return n.filter((function(e){var t=Math.abs(F$(e.arc.endAngle-e.arc.startAngle)),n=Math.abs(e.arc.outerRadius-e.arc.innerRadius);return t>=o&&n>=l}))}),[n,o,l]),v=function(e,t,n,r){void 0===t&&(t=.5),void 0===n&&(n="innerRadius");var i=g$(),a=i.animate,o=i.config,s=L2(n,r);return{transition:wT(e,{keys:function(e){return e.id},initial:s.update,from:s.enter,enter:s.update,update:s.update,leave:s.leave,config:o,immediate:!a}),interpolate:O2(t)}}(m,a,r),b=v.transition,y=v.interpolate,_=d;return yi("g",{transform:"translate("+t[0]+","+t[1]+")",children:b((function(e,t){return f(_,{key:t.id,datum:t,label:h(t),style:{progress:e.progress,transform:y(e.startAngle,e.endAngle,e.innerRadius,e.outerRadius),textColor:g(t)}})}))})},z2=function(e,t,n){xq(e,n.labels.text),e.textAlign="center",e.textBaseline="middle",t.forEach((function(t){kq(e,A2({},n.labels.text,{fill:t.textColor}),String(t.label),t.x,t.y)}))},P2=function(e){var t=e.data,n=e.offset,r=e.skipAngle,i=e.label,a=e.textColor,l=pq(i),c=Nz(),u=YV(a,c),d=o((function(e){return{label:l(e),textColor:u(e)}}),[l,u]);return function(e){var t=e.data,n=e.offset,r=void 0===n?.5:n,i=e.skipAngle,a=void 0===i?0:i,o=e.computeExtraProps,l=void 0===o?function(){return{}}:o;return s((function(){return R2(t,a).map((function(e){var t=D2(e.arc,r);return A2({},l(e),{x:t.x,y:t.y,data:e})}))}),[t,r,a,l])}({data:t,offset:n,skipAngle:r,computeExtraProps:d})},N2=function(e){var t=e.label,n=e.style,r=Nz();return yi(vD.g,{opacity:n.opacity,children:[yi(vD.path,{fill:"none",stroke:n.linkColor,strokeWidth:n.thickness,d:n.path}),yi(Pq,{transform:n.textPosition,textAnchor:n.textAnchor,dominantBaseline:"central",style:A2({},r.labels.text,{fill:n.textColor}),children:t})]})},j2=function(e,t,n,r){var i,a,o=M2(e.startAngle+(e.endAngle-e.startAngle)/2-Math.PI/2),s=z$(o,e.outerRadius+t),l=z$(o,e.outerRadius+t+n);return o<Math.PI/2||o>1.5*Math.PI?(i="after",a={x:l.x+r,y:l.y}):(i="before",a={x:l.x-r,y:l.y}),{side:i,points:[s,l,a]}},I2=ff().x((function(e){return e.x})).y((function(e){return e.y})),B2=function(e,t,n,r,i,a,o){return ET([e,t,n,r,i,a,o],(function(e,t,n,r,i,a,o){var s=j2({startAngle:e,endAngle:t,outerRadius:r},i,a,o).points;return I2(s)}))},W2=function(e,t,n,r){return ET([e,t,n,r],(function(e,t,n,r){return function(e){var t=M2(e.startAngle+(e.endAngle-e.startAngle)/2-Math.PI/2);return t<Math.PI/2||t>1.5*Math.PI?"start":"end"}({startAngle:e,endAngle:t})}))},$2=function(e,t,n,r,i,a,o,s){return ET([e,t,n,r,i,a,o,s],(function(e,t,n,r,i,a,o,s){var l=j2({startAngle:e,endAngle:t,outerRadius:r},i,a,o),c=l.points,u=l.side,d=c[2];return"before"===u?d.x-=s:d.x+=s,"translate("+d.x+","+d.y+")"}))},q2=function(e){var t=e.center,n=e.data,r=e.label,i=e.skipAngle,a=e.offset,o=e.diagonalLength,l=e.straightLength,c=e.strokeWidth,u=e.textOffset,d=e.textColor,h=e.linkColor,p=e.component,g=void 0===p?N2:p,m=pq(r),v=function(e){var t=e.data,n=e.offset,r=void 0===n?0:n,i=e.diagonalLength,a=e.straightLength,o=e.skipAngle,l=void 0===o?0:o,c=e.textOffset,u=e.linkColor,d=e.textColor,f=g$(),h=f.animate,p=f.config,g=Nz(),m=YV(u,g),v=YV(d,g),b=function(e,t){return s((function(){return R2(e,t)}),[e,t])}(t,l),y=function(e){var t=e.offset,n=e.diagonalLength,r=e.straightLength,i=e.textOffset,a=e.getLinkColor,o=e.getTextColor;return s((function(){return{enter:function(e){return{startAngle:e.arc.startAngle,endAngle:e.arc.endAngle,innerRadius:e.arc.innerRadius,outerRadius:e.arc.outerRadius,offset:t,diagonalLength:0,straightLength:0,textOffset:i,linkColor:a(e),textColor:o(e),opacity:0}},update:function(e){return{startAngle:e.arc.startAngle,endAngle:e.arc.endAngle,innerRadius:e.arc.innerRadius,outerRadius:e.arc.outerRadius,offset:t,diagonalLength:n,straightLength:r,textOffset:i,linkColor:a(e),textColor:o(e),opacity:1}},leave:function(e){return{startAngle:e.arc.startAngle,endAngle:e.arc.endAngle,innerRadius:e.arc.innerRadius,outerRadius:e.arc.outerRadius,offset:t,diagonalLength:0,straightLength:0,textOffset:i,linkColor:a(e),textColor:o(e),opacity:0}}}}),[n,r,i,a,o,t])}({offset:r,diagonalLength:i,straightLength:a,textOffset:c,getLinkColor:m,getTextColor:v});return{transition:wT(b,{keys:function(e){return e.id},initial:y.update,from:y.enter,enter:y.update,update:y.update,leave:y.leave,config:p,immediate:!h}),interpolateLink:B2,interpolateTextAnchor:W2,interpolateTextPosition:$2}}({data:n,skipAngle:i,offset:a,diagonalLength:o,straightLength:l,textOffset:u,linkColor:h,textColor:d}),b=v.transition,y=v.interpolateLink,_=v.interpolateTextAnchor,w=v.interpolateTextPosition,x=g;return yi("g",{transform:"translate("+t[0]+","+t[1]+")",children:b((function(e,t){return f(x,{key:t.id,datum:t,label:m(t),style:A2({},e,{thickness:c,path:y(e.startAngle,e.endAngle,e.innerRadius,e.outerRadius,e.offset,e.diagonalLength,e.straightLength),textAnchor:_(e.startAngle,e.endAngle,e.innerRadius,e.outerRadius),textPosition:w(e.startAngle,e.endAngle,e.innerRadius,e.outerRadius,e.offset,e.diagonalLength,e.straightLength,e.textOffset)})})}))})},H2=function(e,t,n,r){e.textBaseline="middle",xq(e,n.labels.text),t.forEach((function(t){e.textAlign=P$.canvas.align[t.textAnchor],kq(e,A2({},n.labels.text,{fill:t.textColor}),String(t.label),t.x,t.y),e.beginPath(),e.strokeStyle=t.linkColor,e.lineWidth=r,t.points.forEach((function(t,n){0===n?e.moveTo(t.x,t.y):e.lineTo(t.x,t.y)})),e.stroke()}))},U2=function(e){var t=e.data,n=e.skipAngle,r=e.offset,i=e.diagonalLength,a=e.straightLength,l=e.textOffset,c=void 0===l?0:l,u=e.label,d=e.linkColor,f=e.textColor,h=pq(u),p=Nz(),g=YV(d,p),m=YV(f,p),v=o((function(e){var t,n={x:e.points[2].x,y:e.points[2].y};return"before"===e.side?(n.x-=c,t="end"):(n.x+=c,t="start"),A2({},n,{label:h(e.data),linkColor:g(e.data),textAnchor:t,textColor:m(e.data)})}),[h,g,m,c]);return function(e){var t=e.data,n=e.skipAngle,r=void 0===n?0:n,i=e.offset,a=void 0===i?.5:i,o=e.diagonalLength,l=e.straightLength,c=e.computeExtraProps,u=void 0===c?function(){return{}}:c,d=s((function(){return t.filter((function(e){return Math.abs(F$(e.arc.endAngle-e.arc.startAngle))>=r})).map((function(e){return A2({},j2(e.arc,a,o,l),{data:e})}))}),[t,r,a,o,l]);return s((function(){return d.map((function(e){return A2({},u(e),e)}))}),[d,u])}({data:t,skipAngle:n,offset:r,diagonalLength:i,straightLength:a,computeExtraProps:v})},V2=function(e){var t=e.datum,n=e.style,r=e.onClick,i=e.onMouseEnter,a=e.onMouseMove,s=e.onMouseLeave,l=o((function(e){return null==r?void 0:r(t,e)}),[r,t]),c=o((function(e){return null==i?void 0:i(t,e)}),[i,t]),u=o((function(e){return null==a?void 0:a(t,e)}),[a,t]),d=o((function(e){return null==s?void 0:s(t,e)}),[s,t]);return yi(vD.path,{d:n.path,opacity:n.opacity,fill:t.fill||n.color,stroke:n.borderColor,strokeWidth:n.borderWidth,onClick:r?l:void 0,onMouseEnter:i?c:void 0,onMouseMove:a?u:void 0,onMouseLeave:s?d:void 0,"data-testid":"arc."+t.id})},Y2=function(e,t,n,r,i){return ET([e,t,n,r],(function(e,t,n,r){return i({startAngle:e,endAngle:t,innerRadius:Math.max(0,n),outerRadius:Math.max(0,r)})}))},G2=function(e){var t=e.center,n=e.data,r=e.arcGenerator,i=e.borderWidth,a=e.borderColor,o=e.onClick,s=e.onMouseEnter,l=e.onMouseMove,c=e.onMouseLeave,u=e.transitionMode,d=e.component,h=void 0===d?V2:d,p=Nz(),g=YV(a,p),m=function(e,t,n){void 0===t&&(t="innerRadius");var r=g$(),i=r.animate,a=r.config,o=L2(t,n);return{transition:wT(e,{keys:function(e){return e.id},initial:o.update,from:o.enter,enter:o.update,update:o.update,leave:o.leave,config:a,immediate:!i}),interpolate:Y2}}(n,u,{enter:function(e){return{opacity:0,color:e.color,borderColor:g(e)}},update:function(e){return{opacity:1,color:e.color,borderColor:g(e)}},leave:function(e){return{opacity:0,color:e.color,borderColor:g(e)}}}),v=m.transition,b=m.interpolate,y=h;return yi("g",{transform:"translate("+t[0]+","+t[1]+")",children:v((function(e,t){return f(y,{key:t.id,datum:t,style:A2({},e,{borderWidth:i,path:b(e.startAngle,e.endAngle,e.innerRadius,e.outerRadius,r)}),onClick:o,onMouseEnter:s,onMouseMove:l,onMouseLeave:c})}))})},X2=function(e,t,n,r,i,a,o){if(function(e,t,n,r,i,a){var o=gq(i,a,e,t);return o<n&&o>r}(e,t,n,r,a,o)){var s=function(e,t,n,r){var i=Math.atan2(r-t,n-e)-Math.PI/2;return i>0?i:2*Math.PI+i}(a,o,e,t);return i.find((function(e){var t=e.startAngle,n=e.endAngle;return s>=t&&s<n}))}},J2=function(e){var t=void 0===e?{}:e,n=t.cornerRadius,r=void 0===n?0:n,i=t.padAngle,a=void 0===i?0:i;return s((function(){return of().innerRadius((function(e){return e.innerRadius})).outerRadius((function(e){return e.outerRadius})).cornerRadius(r).padAngle(a)}),[r,a])};function Z2(){return Z2=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Z2.apply(null,arguments)}function K2(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(-1!==t.indexOf(r))continue;n[r]=e[r]}return n}var Q2,e3=function(e){var t=e.width,n=e.height,r=e.legends,i=e.data,a=e.toggleSerie;return yi(y,{children:r.map((function(e,r){var o;return yi(EY,Z2({},e,{containerWidth:t,containerHeight:n,data:null!=(o=e.data)?o:i,toggleSerie:e.toggleSerie?a:void 0}),r)}))})},t3={id:"id",value:"value",sortByValue:!1,innerRadius:0,padAngle:0,cornerRadius:0,layers:["arcs","arcLinkLabels","arcLabels","legends"],startAngle:0,endAngle:360,fit:!0,activeInnerRadiusOffset:0,activeOuterRadiusOffset:0,borderWidth:0,borderColor:{from:"color",modifiers:[["darker",1]]},enableArcLabels:!0,arcLabel:"formattedValue",arcLabelsSkipAngle:0,arcLabelsSkipRadius:0,arcLabelsRadiusOffset:.5,arcLabelsTextColor:{theme:"labels.text.fill"},enableArcLinkLabels:!0,arcLinkLabel:"id",arcLinkLabelsSkipAngle:0,arcLinkLabelsOffset:0,arcLinkLabelsDiagonalLength:16,arcLinkLabelsStraightLength:24,arcLinkLabelsThickness:1,arcLinkLabelsTextOffset:6,arcLinkLabelsTextColor:{theme:"labels.text.fill"},arcLinkLabelsColor:{theme:"axis.ticks.line.stroke"},colors:{scheme:"nivo"},defs:[],fill:[],isInteractive:!0,animate:!0,motionConfig:"gentle",transitionMode:"innerRadius",tooltip:function(e){var t=e.datum;return yi(Hz,{id:t.id,value:t.formattedValue,enableChip:!0,color:t.color})},legends:[],role:"img",pixelRatio:"undefined"!=typeof window&&null!=(Q2=window.devicePixelRatio)?Q2:1},n3=["points"],r3=function(e){var t=e.data,n=e.id,r=void 0===n?t3.id:n,i=e.value,a=void 0===i?t3.value:i,o=e.valueFormat,l=e.colors,c=void 0===l?t3.colors:l,u=pq(r),d=pq(a),f=fq(o),h=nY(c,"id");return s((function(){return t.map((function(e){var t,n=u(e),r=d(e),i={id:n,label:null!=(t=e.label)?t:n,hidden:!1,value:r,formattedValue:f(r),data:e};return Z2({},i,{color:h(i)})}))}),[t,u,d,f,h])},i3=function(e){var r=e.data,a=e.width,l=e.height,c=e.innerRadius,u=void 0===c?t3.innerRadius:c,d=e.startAngle,f=void 0===d?t3.startAngle:d,h=e.endAngle,p=void 0===h?t3.endAngle:h,g=e.padAngle,m=void 0===g?t3.padAngle:g,v=e.sortByValue,b=void 0===v?t3.sortByValue:v,y=e.cornerRadius,_=void 0===y?t3.cornerRadius:y,w=e.fit,x=void 0===w?t3.fit:w,k=e.activeInnerRadiusOffset,C=void 0===k?t3.activeInnerRadiusOffset:k,A=e.activeOuterRadiusOffset,S=void 0===A?t3.activeOuterRadiusOffset:A,E=e.activeId,M=e.onActiveIdChange,R=e.defaultActiveId,T=e.forwardLegendData,L=function(e){var n=e.activeId,r=e.onActiveIdChange,i=e.defaultActiveId,a=void 0!==n,s=t(a||void 0===i?null:i),l=s[0],c=s[1];return{activeId:a?n:l,setActiveId:o((function(e){r&&r(e),a||c(e)}),[a,r,c])}}({activeId:E,onActiveIdChange:M,defaultActiveId:R}),D=L.activeId,O=L.setActiveId,F=t([]),z=F[0],P=F[1],N=s((function(){var e,t=Math.min(a,l)/2,n=t*Math.min(u,1),r=a/2,i=l/2;if(x){var o=function(e,t,n,r,i,a){void 0===a&&(a=!0);var o=[],s=z$(O$(r),n);o.push([s.x,s.y]);var l=z$(O$(i),n);o.push([l.x,l.y]);for(var c=Math.round(Math.min(r,i));c<=Math.round(Math.max(r,i));c++)if(c%90==0){var u=z$(O$(c),n);o.push([u.x,u.y])}o=o.map((function(n){var r=n[0],i=n[1];return[e+r,t+i]})),a&&o.push([e,t]);var d=o.map((function(e){return e[0]})),f=o.map((function(e){return e[1]})),h=Math.min.apply(Math,d),p=Math.max.apply(Math,d),g=Math.min.apply(Math,f);return{points:o,x:h,y:g,width:p-h,height:Math.max.apply(Math,f)-g}}(r,i,t,f-90,p-90),s=o.points,c=K2(o,n3),d=Math.min(a/c.width,l/c.height),h={width:c.width*d,height:c.height*d};h.x=(a-h.width)/2,h.y=(l-h.height)/2,r=(r-c.x)/c.width*c.width*d+h.x,i=(i-c.y)/c.height*c.height*d+h.y,e={box:c,ratio:d,points:s},t*=d,n*=d}return{centerX:r,centerY:i,radius:t,innerRadius:n,debug:e}}),[a,l,u,f,p,x]),j=function(e){var t=e.data,r=e.startAngle,a=e.endAngle,o=e.innerRadius,l=e.outerRadius,c=e.padAngle,u=e.sortByValue,d=e.activeId,f=e.activeInnerRadiusOffset,h=e.activeOuterRadiusOffset,p=e.hiddenIds,g=e.forwardLegendData,m=s((function(){var e=mf().value((function(e){return e.value})).startAngle(O$(r)).endAngle(O$(a)).padAngle(O$(c));return u||e.sortValues(null),e}),[r,a,c,u]),v=s((function(){var e=t.filter((function(e){return!p.includes(e.id)}));return{dataWithArc:m(e).map((function(e){var t=Math.abs(e.endAngle-e.startAngle);return Z2({},e.data,{arc:{index:e.index,startAngle:e.startAngle,endAngle:e.endAngle,innerRadius:d===e.data.id?o-f:o,outerRadius:d===e.data.id?l+h:l,thickness:l-o,padAngle:e.padAngle,angle:t,angleDeg:F$(t)}})})),legendData:t.map((function(e){return{id:e.id,label:e.label,color:e.color,hidden:p.includes(e.id),data:e}}))}}),[m,t,p,d,o,f,l,h]),b=v.legendData,y=i(g);return n((function(){"function"==typeof y.current&&y.current(b)}),[y,b]),v}({data:r,startAngle:f,endAngle:p,innerRadius:N.innerRadius,outerRadius:N.radius,padAngle:m,sortByValue:b,activeId:D,activeInnerRadiusOffset:C,activeOuterRadiusOffset:S,hiddenIds:z,forwardLegendData:T}),I=o((function(e){P((function(t){return t.indexOf(e)>-1?t.filter((function(t){return t!==e})):[].concat(t,[e])}))}),[]);return Z2({arcGenerator:J2({cornerRadius:_,padAngle:O$(m)}),activeId:D,setActiveId:O,toggleSerie:I},j,N)},a3=function(e){var t=e.center,n=e.data,r=e.arcGenerator,i=e.borderWidth,a=e.borderColor,o=e.isInteractive,l=e.onClick,c=e.onMouseEnter,u=e.onMouseMove,d=e.onMouseLeave,h=e.setActiveId,p=e.tooltip,g=e.transitionMode,m=eP(),v=m.showTooltipFromEvent,b=m.hideTooltip,y=s((function(){if(o)return function(e,t){null==l||l(e,t)}}),[o,l]),_=s((function(){if(o)return function(e,t){v(f(p,{datum:e}),t),h(e.id),null==c||c(e,t)}}),[o,v,h,c,p]),w=s((function(){if(o)return function(e,t){v(f(p,{datum:e}),t),null==u||u(e,t)}}),[o,v,u,p]),x=s((function(){if(o)return function(e,t){b(),h(null),null==d||d(e,t)}}),[o,b,h,d]);return yi(G2,{center:t,data:n,arcGenerator:r,borderWidth:i,borderColor:a,transitionMode:g,onClick:y,onMouseEnter:_,onMouseMove:w,onMouseLeave:x})},o3=["isInteractive","animate","motionConfig","theme","renderWrapper"],s3=function(e){var t=e.data,n=e.id,r=void 0===n?t3.id:n,i=e.value,a=void 0===i?t3.value:i,o=e.valueFormat,l=e.sortByValue,c=void 0===l?t3.sortByValue:l,u=e.layers,d=void 0===u?t3.layers:u,h=e.startAngle,g=void 0===h?t3.startAngle:h,m=e.endAngle,v=void 0===m?t3.endAngle:m,b=e.padAngle,y=void 0===b?t3.padAngle:b,_=e.fit,w=void 0===_?t3.fit:_,x=e.innerRadius,k=void 0===x?t3.innerRadius:x,C=e.cornerRadius,A=void 0===C?t3.cornerRadius:C,S=e.activeInnerRadiusOffset,E=void 0===S?t3.activeInnerRadiusOffset:S,M=e.activeOuterRadiusOffset,R=void 0===M?t3.activeOuterRadiusOffset:M,T=e.width,L=e.height,D=e.margin,O=e.colors,F=void 0===O?t3.colors:O,z=e.borderWidth,P=void 0===z?t3.borderWidth:z,N=e.borderColor,j=void 0===N?t3.borderColor:N,I=e.enableArcLabels,B=void 0===I?t3.enableArcLabels:I,W=e.arcLabel,$=void 0===W?t3.arcLabel:W,q=e.arcLabelsSkipAngle,H=void 0===q?t3.arcLabelsSkipAngle:q,U=e.arcLabelsSkipRadius,V=void 0===U?t3.arcLabelsSkipRadius:U,Y=e.arcLabelsTextColor,G=void 0===Y?t3.arcLabelsTextColor:Y,X=e.arcLabelsRadiusOffset,J=void 0===X?t3.arcLabelsRadiusOffset:X,Z=e.arcLabelsComponent,K=e.enableArcLinkLabels,Q=void 0===K?t3.enableArcLinkLabels:K,ee=e.arcLinkLabel,te=void 0===ee?t3.arcLinkLabel:ee,ne=e.arcLinkLabelsSkipAngle,re=void 0===ne?t3.arcLinkLabelsSkipAngle:ne,ie=e.arcLinkLabelsOffset,ae=void 0===ie?t3.arcLinkLabelsOffset:ie,oe=e.arcLinkLabelsDiagonalLength,se=void 0===oe?t3.arcLinkLabelsDiagonalLength:oe,le=e.arcLinkLabelsStraightLength,ce=void 0===le?t3.arcLinkLabelsStraightLength:le,ue=e.arcLinkLabelsThickness,de=void 0===ue?t3.arcLinkLabelsThickness:ue,fe=e.arcLinkLabelsTextOffset,he=void 0===fe?t3.arcLinkLabelsTextOffset:fe,pe=e.arcLinkLabelsTextColor,ge=void 0===pe?t3.arcLinkLabelsTextColor:pe,me=e.arcLinkLabelsColor,ve=void 0===me?t3.arcLinkLabelsColor:me,be=e.arcLinkLabelComponent,ye=e.defs,_e=void 0===ye?t3.defs:ye,we=e.fill,xe=void 0===we?t3.fill:we,ke=e.isInteractive,Ce=void 0===ke?t3.isInteractive:ke,Ae=e.onClick,Se=e.onMouseEnter,Ee=e.onMouseMove,Me=e.onMouseLeave,Re=e.tooltip,Te=void 0===Re?t3.tooltip:Re,Le=e.activeId,De=e.onActiveIdChange,Oe=e.defaultActiveId,Fe=e.transitionMode,ze=void 0===Fe?t3.transitionMode:Fe,Pe=e.legends,Ne=void 0===Pe?t3.legends:Pe,je=e.forwardLegendData,Ie=e.role,Be=void 0===Ie?t3.role:Ie,We=e.forwardedRef,$e=cq(T,L,D),qe=$e.outerWidth,He=$e.outerHeight,Ue=$e.margin,Ve=$e.innerWidth,Ye=$e.innerHeight,Ge=r3({data:t,id:r,value:a,valueFormat:o,colors:F}),Xe=i3({data:Ge,width:Ve,height:Ye,fit:w,innerRadius:k,startAngle:g,endAngle:v,padAngle:y,sortByValue:c,cornerRadius:A,activeInnerRadiusOffset:E,activeOuterRadiusOffset:R,activeId:Le,onActiveIdChange:De,defaultActiveId:Oe,forwardLegendData:je}),Je=Xe.dataWithArc,Ze=Xe.legendData,Ke=Xe.arcGenerator,Qe=Xe.centerX,et=Xe.centerY,tt=Xe.radius,nt=Xe.innerRadius,rt=Xe.setActiveId,it=Xe.toggleSerie,at=_q(_e,Je,xe),ot={arcs:null,arcLinkLabels:null,arcLabels:null,legends:null};d.includes("arcs")&&(ot.arcs=yi(a3,{center:[Qe,et],data:Je,arcGenerator:Ke,borderWidth:P,borderColor:j,isInteractive:Ce,onClick:Ae,onMouseEnter:Se,onMouseMove:Ee,onMouseLeave:Me,setActiveId:rt,tooltip:Te,transitionMode:ze},"arcs")),Q&&d.includes("arcLinkLabels")&&(ot.arcLinkLabels=yi(q2,{center:[Qe,et],data:Je,label:te,skipAngle:re,offset:ae,diagonalLength:se,straightLength:ce,strokeWidth:de,textOffset:he,textColor:ge,linkColor:ve,component:be},"arcLinkLabels")),B&&d.includes("arcLabels")&&(ot.arcLabels=yi(F2,{center:[Qe,et],data:Je,label:$,radiusOffset:J,skipAngle:H,skipRadius:V,textColor:G,transitionMode:ze,component:Z},"arcLabels")),Ne.length>0&&d.includes("legends")&&(ot.legends=yi(e3,{width:Ve,height:Ye,data:Ze,legends:Ne,toggleSerie:it},"legends"));var st=function(e){var t=e.dataWithArc,n=e.arcGenerator,r=e.centerX,i=e.centerY,a=e.radius,o=e.innerRadius;return s((function(){return{dataWithArc:t,arcGenerator:n,centerX:r,centerY:i,radius:a,innerRadius:o}}),[t,n,r,i,a,o])}({dataWithArc:Je,arcGenerator:Ke,centerX:Qe,centerY:et,radius:tt,innerRadius:nt});return yi(Q$,{width:qe,height:He,margin:Ue,defs:at,role:Be,ref:We,children:d.map((function(e,t){return void 0!==ot[e]?ot[e]:"function"==typeof e?yi(p,{children:f(e,st)},t):null}))})},l3=a((function(e,t){var n=e.isInteractive,r=void 0===n?t3.isInteractive:n,i=e.animate,a=void 0===i?t3.animate:i,o=e.motionConfig,s=void 0===o?t3.motionConfig:o,l=e.theme,c=e.renderWrapper,u=K2(e,o3);return yi(b$,{animate:a,isInteractive:r,motionConfig:s,renderWrapper:c,theme:l,children:yi(s3,Z2({isInteractive:r},u,{forwardedRef:t}))})})),c3=["defaultWidth","defaultHeight","onResize","debounceResize"];a((function(e,t){var n=e.defaultWidth,r=e.defaultHeight,i=e.onResize,a=e.debounceResize,o=K2(e,c3);return yi(w$,{defaultWidth:n,defaultHeight:r,onResize:i,debounceResize:a,children:function(e){var n=e.width,r=e.height;return yi(l3,Z2({width:n,height:r},o,{ref:t}))}})}));var u3=["isInteractive","theme","renderWrapper"],d3=function(e){var t=e.data,r=e.id,a=void 0===r?t3.id:r,o=e.value,l=void 0===o?t3.value:o,c=e.valueFormat,u=e.sortByValue,d=void 0===u?t3.sortByValue:u,h=e.startAngle,p=void 0===h?t3.startAngle:h,g=e.endAngle,m=void 0===g?t3.endAngle:g,v=e.padAngle,b=void 0===v?t3.padAngle:v,y=e.fit,_=void 0===y?t3.fit:y,w=e.innerRadius,x=void 0===w?t3.innerRadius:w,k=e.cornerRadius,C=void 0===k?t3.cornerRadius:k,A=e.activeInnerRadiusOffset,S=void 0===A?t3.activeInnerRadiusOffset:A,E=e.activeOuterRadiusOffset,M=void 0===E?t3.activeOuterRadiusOffset:E,R=e.width,T=e.height,L=e.margin,D=e.pixelRatio,O=void 0===D?t3.pixelRatio:D,F=e.colors,z=void 0===F?t3.colors:F,P=e.borderWidth,N=void 0===P?t3.borderWidth:P,j=e.borderColor,I=void 0===j?t3.borderColor:j,B=e.enableArcLabels,W=void 0===B?t3.enableArcLabels:B,$=e.arcLabel,q=void 0===$?t3.arcLabel:$,H=e.arcLabelsSkipAngle,U=void 0===H?t3.arcLabelsSkipAngle:H,V=e.arcLabelsTextColor,Y=void 0===V?t3.arcLabelsTextColor:V,G=e.arcLabelsRadiusOffset,X=void 0===G?t3.arcLabelsRadiusOffset:G,J=e.enableArcLinkLabels,Z=void 0===J?t3.enableArcLinkLabels:J,K=e.arcLinkLabel,Q=void 0===K?t3.arcLinkLabel:K,ee=e.arcLinkLabelsSkipAngle,te=void 0===ee?t3.arcLinkLabelsSkipAngle:ee,ne=e.arcLinkLabelsOffset,re=void 0===ne?t3.arcLinkLabelsOffset:ne,ie=e.arcLinkLabelsDiagonalLength,ae=void 0===ie?t3.arcLinkLabelsDiagonalLength:ie,oe=e.arcLinkLabelsStraightLength,se=void 0===oe?t3.arcLinkLabelsStraightLength:oe,le=e.arcLinkLabelsThickness,ce=void 0===le?t3.arcLinkLabelsThickness:le,ue=e.arcLinkLabelsTextOffset,de=void 0===ue?t3.arcLinkLabelsTextOffset:ue,fe=e.arcLinkLabelsTextColor,he=void 0===fe?t3.arcLinkLabelsTextColor:fe,pe=e.arcLinkLabelsColor,ge=void 0===pe?t3.arcLinkLabelsColor:pe,me=e.isInteractive,ve=void 0===me?t3.isInteractive:me,be=e.onClick,ye=e.onMouseMove,_e=e.tooltip,we=void 0===_e?t3.tooltip:_e,xe=e.activeId,ke=e.onActiveIdChange,Ce=e.defaultActiveId,Ae=e.legends,Se=void 0===Ae?t3.legends:Ae,Ee=e.forwardLegendData,Me=e.role,Re=e.forwardedRef,Te=i(null),Le=Nz(),De=cq(R,T,L),Oe=De.margin,Fe=De.innerWidth,ze=De.innerHeight,Pe=De.outerWidth,Ne=De.outerHeight,je=r3({data:t,id:a,value:l,valueFormat:c,colors:z}),Ie=i3({data:je,width:Fe,height:ze,fit:_,innerRadius:x,startAngle:p,endAngle:m,padAngle:b,sortByValue:d,cornerRadius:C,activeInnerRadiusOffset:S,activeOuterRadiusOffset:M,activeId:xe,onActiveIdChange:ke,defaultActiveId:Ce,forwardLegendData:Ee}),Be=Ie.dataWithArc,We=Ie.arcGenerator,$e=Ie.centerX,qe=Ie.centerY,He=Ie.radius,Ue=Ie.innerRadius,Ve=Ie.setActiveId,Ye=YV(I,Le),Ge=P2({data:Be,label:q,skipAngle:U,offset:X,textColor:Y}),Xe=U2({data:Be,skipAngle:te,offset:re,diagonalLength:ae,straightLength:se,label:Q,linkColor:ge,textOffset:de,textColor:he});n((function(){if(Te.current){Te.current.width=Pe*O,Te.current.height=Ne*O;var e=Te.current.getContext("2d");e.scale(O,O),e.fillStyle=Le.background,e.fillRect(0,0,Pe,Ne),e.save(),e.translate(Oe.left,Oe.top),We.context(e),e.save(),e.translate($e,qe),Be.forEach((function(t){e.beginPath(),e.fillStyle=t.color,e.strokeStyle=Ye(t),e.lineWidth=N,We(t.arc),e.fill(),N>0&&e.stroke()})),!0===Z&&H2(e,Xe,Le,ce),!0===W&&z2(e,Ge,Le),e.restore(),Se.forEach((function(t){RY(e,Z2({},t,{data:Be,containerWidth:Fe,containerHeight:ze,theme:Le}))}))}}),[Te,Fe,ze,Pe,Ne,Oe.top,Oe.left,O,$e,qe,We,Be,N,Ye,W,Ge,Z,Xe,ce,Se,Le]);var Je=s((function(){return Be.map((function(e){return Z2({id:e.id},e.arc)}))}),[Be]),Ze=function(e){if(!Te.current)return null;var t=vq(Te.current,e),n=t[0],r=t[1],i=X2(Oe.left+$e,Oe.top+qe,He,Ue,Je,n,r);return i?Be.find((function(e){return e.id===i.id})):null},Ke=eP(),Qe=Ke.showTooltipFromEvent,et=Ke.hideTooltip,tt=function(e){var t=Ze(e);t?(null==ye||ye(t,e),Ve(t.id),Qe(f(we,{datum:t}),e)):(Ve(null),et())};return yi("canvas",{ref:wq(Te,Re),width:Pe*O,height:Ne*O,style:{width:Pe,height:Ne,cursor:ve?"auto":"normal"},onMouseEnter:ve?tt:void 0,onMouseMove:ve?tt:void 0,onMouseLeave:ve?function(){et()}:void 0,onClick:ve?function(e){if(be){var t=Ze(e);t&&be(t,e)}}:void 0,role:Me})},f3=a((function(e,t){var n=e.isInteractive,r=void 0===n?t3.isInteractive:n,i=e.theme,a=e.renderWrapper,o=K2(e,u3);return yi(b$,{isInteractive:r,renderWrapper:a,theme:i,children:yi(d3,Z2({isInteractive:r},o,{forwardedRef:t}))})})),h3=["defaultWidth","defaultHeight","onResize","debounceResize"];a((function(e,t){var n=e.defaultWidth,r=e.defaultHeight,i=e.onResize,a=e.debounceResize,o=K2(e,h3);return yi(w$,{defaultWidth:n,defaultHeight:r,onResize:i,debounceResize:a,children:function(e){var n=e.width,r=e.height;return yi(f3,Z2({width:n,height:r},o,{ref:t}))}})}));const p3={id:"__EMPTY_ARC_DO_NOT_COUNT_IT_USED_FOR_VISUALS__",value:1,color:"var(--color-control-bg)",label:""},g3=["new","flaky","retries"];var m3="styles_centeredMetricTitle__-DWkh",v3="styles_centeredMetricDescription__7Q2Vf",b3="styles_pie__EtJEe",y3="styles_wrapper__UrP78",_3="styles_additionalStats__Yztrs";const w3=e=>e>1e3?"999+":e.toString(),x3=e=>{switch(e){case"new":return wi.testNew;case"flaky":return wi.lineIconBomb2;case"retries":return wi.lineGeneralZap}},k3=e=>{const{stats:t,i18n:n,layout:r}=e;return yi("div",{className:_3,"data-layout":r,children:g3.map((e=>{const r=t[e]??0;return yi(uE,{style:"primary",tooltip:n(`tests.${e}`,{count:r}),icon:x3(e),children:r?w3(r):"-"},e)}))})},C3=[{limit:1e3,suffix:"K"},{limit:1e6,suffix:"M"},{limit:1e9,suffix:"B"},{limit:1e12,suffix:"T"},{limit:1e15,suffix:"Q"}],A3=({width:e,text:t,symbolWidth:n})=>{const r=e-2*n,i=Math.floor(r/n),a=parseInt(t,10),o=a.toLocaleString("ru");if(o.length<=i)return o;let s=a,l="";for(let e=0;e<C3.length;e++){const{limit:t,suffix:n}=C3[e];if(s=a/t,Math.round(s)<1e3||e===C3.length-1){l=n;break}}let c=s.toFixed(2).replace(/\.?0+$/,"").replace(/(\.\d)0$/,"$1");(c+l).length>i&&(c=Math.round(+c).toString());return`${(+c).toLocaleString("ru")}${l}`},S3=e=>Math.max(Math.min(e,300)-16,0),E3=({metric:e,metricType:t,layerProps:n,isEmpty:r,i18n:i,total:a})=>"total"===t||r?yi(M3,{layer:n,i18n:i,total:a}):"percent"===t?yi(R3,{layer:n,metric:e,i18n:i,total:a}):null,M3=({layer:e,i18n:t,total:n})=>{const{radius:r,centerX:i,centerY:a}=e;return yi(T3,{radius:r,centerX:i,centerY:a,title:n,description:t("total")})},R3=({layer:e,metric:t,i18n:n,total:r})=>{const{dataWithArc:i,radius:a,centerX:o,centerY:s}=e,l=i.find((e=>e.data.id===t)),c=((e=0,t=0)=>{if(0===e)return"0";if(0===t)return"0";const n=e/t*100;return Number.isInteger(n)?n.toString():n>99.99&&n<100?"99.99":n.toFixed(2).replace(/\.?0+$/,"")})(l?.data.value,r);return yi(T3,{radius:a,centerX:o,centerY:s,title:n("percentage",{percentage:c}),description:n("of",{total:r})})},T3=({radius:e,centerX:t,centerY:n,title:r,description:i})=>{const a=r.toString(),o=a.includes("%"),s=Math.round(Math.min(e/1.8,36)),l=Math.round(Math.min(e/3.3,16)),c=Math.min(e/2.5,2*l),u=R((()=>o?(({width:e,text:t,symbolWidth:n})=>{const r=e-2*n,i=t.length*n,[a]=t.split("%"),[o,s="00"]=a.split(".");if("00"===s)return`${o}%`;if(r>i)return t;const l=o.length*n,c=n,u=Math.floor((r-l-c)/n)-1;if(1===u){const e=(+`${o}.${s}`).toFixed(1),[t,n]=e.toString().split(".");return"0"===n?`${t}%`:`${e}%`}return 2===u?`${o}.${s}%`:`${(+`${o}.${s}`).toFixed(0)}%`})({width:e,text:a,symbolWidth:s/3}):A3({width:e,text:a,symbolWidth:s/3})),[o,e,a,s]),d=R((()=>(({width:e,text:t,symbolWidth:n})=>{const r=t.match(/\d+/g)||[],i=t.replace(/\d+/g,"").length,a=r.map((t=>A3({width:e-i*n,text:t,symbolWidth:n})));let o=t;return r.forEach(((e,t)=>{o=o.replace(e,a[t])})),o})({width:e,text:i.toString(),symbolWidth:l/3})),[i,l,e]);return yi(y,{children:[yi("text",{x:t,y:n-c/3,textAnchor:"middle",dominantBaseline:"central",style:{fontSize:s},className:m3,children:u}),yi("text",{x:t,y:n+c/1.5,textAnchor:"middle",dominantBaseline:"central",style:{fontSize:l},className:v3,children:d})]})},L3=e=>e,D3={top:8,right:8,bottom:8,left:8},O3={datum:"data.color"},F3={theme:"background"},z3=e=>{const{title:t,data:n,statuses:r,metric:i="passed",i18n:a=L3}=e,o=R((()=>(e=>{const{data:t,i18n:n,statuses:r=no}=e,i=[];for(const e of r)e in t&&i.push({color:cX(e,"chartFill"),id:e,value:t[e]??0,label:n(`status.${e}`)});return i})({data:n,i18n:a,statuses:r})),[n,a,r]),s=n.total,l=0===s,c=(u=n,g3.some((e=>e in u)));var u;const d=c?362:300;return yi($C,{title:t??"",centerContent:!0,children:yi(ib,{children:e=>yi("div",{className:y3,"data-layout":e>d?"vertical":"horizontal",children:[yi("div",{className:b3,children:yi(l3,{width:S3(c?e-62:e),height:S3(c?e-62:e),data:l?[p3]:o,margin:D3,colors:O3,innerRadius:.75,padAngle:1,cornerRadius:4,activeOuterRadiusOffset:4,borderWidth:0,borderColor:F3,enableArcLabels:!1,enableArcLinkLabels:!1,isInteractive:!l,sortByValue:!0,transitionMode:"startAngle",layers:["arcs",e=>yi(E3,{layerProps:e,i18n:a,metricType:"percent",metric:i,isEmpty:l,total:s})],animate:!$Z,motionConfig:WZ,tooltip:P3,theme:UZ})}),c&&yi(k3,{stats:n,i18n:a,layout:e>d?"vertical":"horizontal"})]})})})},P3=e=>{const{datum:t}=e,n=R((()=>({id:t.id.toString(),color:t.color,label:t.label,value:t.value})),[t]);return yi(vK,{children:yi(RK,{mode:"default",legend:n})})},N3=e=>{const{title:t,data:n,statuses:r=no,i18n:i}=e,a=n.find((e=>"current"===e.id)),o=r.map((e=>({id:e,label:i(`status.${e}`),color:cX(e,"chartFill")}))),s=n.map((e=>({id:e.id,name:e.name,timestamp:e.timestamp,url:e.url,...e.statistic}))),l=s.every((e=>0===e.total)),c=s.filter((e=>"current"!==e.id)).every((e=>0===e.total)),u=s.reduce(((e,t)=>Math.max(e,t.total)),0),d=1.01*u;if(l||!a||0===a.statistic.total)return yi($C,{title:t,children:yi(iv,{title:i("no-results"),icon:wi.lineChartsBarChartSquare})});if(1===n.length&&a||c)return yi($C,{title:t,children:yi(iv,{title:i("no-history"),icon:wi.lineChartsBarChartSquare})});return yi($C,{title:t,children:yi(V1,{groupMode:"stacked",data:s,legend:o,indexBy:"id",hasValueFn:e=>e.total>0,onBarClick:e=>{"current"!==e.data.id&&e.data.url&&window.open(e.data.url,"_blank","noopener,noreferrer")},formatIndexBy:e=>"current"===e.id?i("tooltips.current"):i("tooltips.history",{timestamp:e?.timestamp}),formatBottomTick:e=>{if("current"===e)return i("ticks.current");const t=s.find((t=>t.id===e));return t?i("ticks.history",{timestamp:t?.timestamp}):""},bottomTickRotation:45,formatLeftTick:e=>{const t=Math.abs(Number(e));return Number.isInteger(t)?EK(Math.abs(Number(e))):""},formatLegendValue:({value:e})=>e?EK(e):"-",noLegend:!0,maxValue:d})})},j3=e=>{switch(e){case"new":return"var(--color-intent-info-text)";case"fixed":return"var(--color-intent-success-text)";case"regressed":return"var(--color-intent-danger-text)";case"malfunctioned":return"var(--color-intent-warning-text)"}},I3=["fixed","regressed","malfunctioned"],B3=e=>{const{title:t,data:n,i18n:r}=e,i=Math.ceil(1.01*Math.max(...n.map((e=>e.fixed+e.regressed+e.malfunctioned)))),a=n.map((e=>{const t=2*i,n=e.regressed+e.malfunctioned,r=uX({positiveValue:e.fixed,negativeValue:n,absTotal:t,noValuePercentage:-1});return{id:e.id,timestamp:e.timestamp,prevItemTimestamp:e.prevItemTimestamp,fixed:e.fixed,regressed:0===e.regressed?0:-e.regressed,malfunctioned:0===e.malfunctioned?0:-e.malfunctioned,trend:r}})),o=n.find((e=>"current"===e.id)),s=R((()=>[...I3.map((e=>({id:e,label:r(`transitions.${e}`),color:j3(e),value:"fixed"===e?1:-1}))),{id:"trend",label:r("legend.trend"),color:"var(--color-chart-categorical-9)",type:"point"}]),[r]),l=a.every((e=>0===e.fixed&&0===e.regressed&&0===e.malfunctioned)),c=a.filter((e=>"current"!==e.id)).every((e=>0===e.fixed&&0===e.regressed&&0===e.malfunctioned));if(!o||l)return yi($C,{title:t,children:yi(iv,{title:r("no-results"),icon:wi.lineChartsBarChartSquare})});if(1===n.length&&o||c)return yi($C,{title:t,children:yi(iv,{title:r("no-history"),icon:wi.lineChartsBarChartSquare})});return yi($C,{title:t,children:yi(V1,{groupMode:"stacked",data:a,legend:s,indexBy:"id",hasValueFn:()=>!0,formatIndexBy:e=>"current"===e.id?r("tooltips.current"):r("tooltips.history",{timestamp:e?.timestamp}),formatBottomTick:e=>{if("current"===e)return r("ticks.current");const t=a.find((t=>t.id===e));return t?r("ticks.history",{timestamp:t?.timestamp}):""},bottomTickRotation:45,formatTrendValue:e=>{if(-1!==e)return e},formatLegendValue:({value:e,id:t})=>"trend"===t?"":e?EK(Math.abs(Number(e))):"-",noLegend:!0,formatLeftTick:e=>{const t=Math.abs(Number(e));return Number.isInteger(t)?EK(Math.abs(Number(e))):""},minValue:-i,maxValue:i})})},W3=["var(--color-chart-categorical-1)","var(--color-chart-categorical-2)","var(--color-chart-categorical-3)","var(--color-chart-categorical-4)","var(--color-chart-categorical-5)","var(--color-chart-categorical-6)","var(--color-chart-categorical-7)","var(--color-chart-categorical-8)","var(--color-chart-categorical-9)","var(--color-chart-categorical-10)","var(--color-chart-categorical-11)","var(--color-chart-categorical-12)","var(--color-chart-categorical-13)","var(--color-chart-categorical-14)"],$3=e=>{const{title:t,data:n,i18n:r,groupBy:i,keys:a}=e,o=R((()=>(e=>e.reduce(((e,t,n)=>{let r=W3[n];return r||(r=W3[n-W3.length]),e[t]=r,e}),{}))(Object.keys(a))),[a]),s=r("legend.total"),l=R((()=>Object.entries(a).map((([e,t])=>({id:e,label:"none"===i?s:t,color:o[e]})))),[a,o,i,s]),c=R((()=>n.map((e=>({id:`${e.from}-${e.to}`,...e})))),[n]),u=1.01*R((()=>{if(0===c.length)return 0;const e=Object.keys(a);return Math.max(...c.map((t=>{let n=0;for(const r of e)n+=t[r]??0;return n})))}),[c,a]),d=0===c.length;return yi($C,d?{title:t,children:yi(iv,{title:r("no-results"),icon:wi.lineChartsBarChartSquare})}:{title:t,children:yi(V1,{groupMode:"stacked",data:c,legend:l,indexBy:"id",hasValueFn:e=>Object.keys(a).some((t=>e[t]>0)),formatIndexBy:e=>r("tooltips.durationRange",{from:e.from??0,to:e.to}),formatBottomTick:(e,t)=>r("ticks.durationRange",{from:t.from??0,to:t.to}),bottomTickRotation:45,bottomTickSize:c.length>4?10:12,formatLegendValue:({value:e})=>{if(e&&0!==Number(e))return r("legend.value",{value:e})},noLegend:!0,formatLeftTick:e=>{const t=Math.abs(Number(e));return Number.isInteger(t)?EK(Math.abs(Number(e))):""},maxValue:u})})},q3=e=>{const{title:t,data:n,i18n:r,statuses:i}=e,a=R((()=>i.map((e=>({id:e,label:r(`status.${e}`),color:cX(e,"chartFill")})))),[i,r]),o=n,s=o.every((e=>i.every((t=>0===e[t]))));return yi($C,s?{title:t,children:yi(iv,{title:r("no-results"),icon:wi.lineChartsBarChartSquare})}:{title:t,children:yi(V1,{groupMode:"stacked",data:o,legend:a,indexBy:"id",hasValueFn:()=>!0,formatIndexBy:e=>r(`severity.${e.id}`),formatBottomTick:e=>r(`severity.${e}`),formatLegendValue:({value:e})=>e?EK(Math.abs(Number(e))):"-",noLegend:!0,formatLeftTick:e=>{const t=Math.abs(Number(e));return Number.isInteger(t)?EK(Math.abs(Number(e))):""}})})},H3=e=>0===e.duration&&0===e.sequentialDuration,U3=e=>{const{title:t,data:n,i18n:r}=e,i=n,a=R((()=>[{id:"sequentialDuration",label:r("durations.sequential"),color:"var(--color-chart-categorical-5)",type:"default"},{id:"duration",label:r("durations.duration"),color:"var(--color-chart-categorical-2)",type:"default"},{id:"speedup",label:r("durations.speedup"),color:"var(--color-chart-categorical-9)",type:"point"}]),[r]),o=n.find((e=>"current"===e.id));return i.every((e=>H3(e)))||!o||H3(o)?yi($C,{title:t,children:yi(iv,{title:r("no-results"),icon:wi.lineChartsBarChartSquare})}):yi($C,{title:t,children:yi(V1,{groupMode:"grouped",data:i,legend:a,indexBy:"id",hasValueFn:()=>!0,formatIndexBy:e=>"current"===e.id?r("tooltips.current"):r("tooltips.history",{timestamp:e?.timestamp}),formatBottomTick:e=>{if("current"===e)return r("ticks.current");const t=i.find((t=>t.id===e));return t?r("ticks.history",{timestamp:t?.timestamp}):""},bottomTickRotation:45,formatLeftTick:e=>r("legend.duration",{duration:e}),formatLegendValue:({id:e,value:t})=>"duration"===e||"sequentialDuration"===e?r("legend.duration",{duration:t}):"speedup"===e?r("legend.speedup",{speedup:t}):void 0,formatTrendValue:(e,t)=>"speedup"===t?e<=1?0:100*(1-1/e):e,noLegend:!0})})};var V3="http://www.w3.org/1999/xhtml",Y3={svg:"http://www.w3.org/2000/svg",xhtml:V3,xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"};function G3(e){var t=e+="",n=t.indexOf(":");return n>=0&&"xmlns"!==(t=e.slice(0,n))&&(e=e.slice(n+1)),Y3.hasOwnProperty(t)?{space:Y3[t],local:e}:e}function X3(e){return function(){var t=this.ownerDocument,n=this.namespaceURI;return n===V3&&t.documentElement.namespaceURI===V3?t.createElement(e):t.createElementNS(n,e)}}function J3(e){return function(){return this.ownerDocument.createElementNS(e.space,e.local)}}function Z3(e){var t=G3(e);return(t.local?J3:X3)(t)}function K3(){}function Q3(e){return null==e?K3:function(){return this.querySelector(e)}}function e5(){return[]}function t5(e){return null==e?e5:function(){return this.querySelectorAll(e)}}function n5(e){return function(){return function(e){return null==e?[]:Array.isArray(e)?e:Array.from(e)}(e.apply(this,arguments))}}function r5(e){return function(){return this.matches(e)}}function i5(e){return function(t){return t.matches(e)}}var a5=Array.prototype.find;function o5(){return this.firstElementChild}var s5=Array.prototype.filter;function l5(){return Array.from(this.children)}function c5(e){return new Array(e.length)}function u5(e,t){this.ownerDocument=e.ownerDocument,this.namespaceURI=e.namespaceURI,this._next=null,this._parent=e,this.__data__=t}function d5(e,t,n,r,i,a){for(var o,s=0,l=t.length,c=a.length;s<c;++s)(o=t[s])?(o.__data__=a[s],r[s]=o):n[s]=new u5(e,a[s]);for(;s<l;++s)(o=t[s])&&(i[s]=o)}function f5(e,t,n,r,i,a,o){var s,l,c,u=new Map,d=t.length,f=a.length,h=new Array(d);for(s=0;s<d;++s)(l=t[s])&&(h[s]=c=o.call(l,l.__data__,s,t)+"",u.has(c)?i[s]=l:u.set(c,l));for(s=0;s<f;++s)c=o.call(e,a[s],s,a)+"",(l=u.get(c))?(r[s]=l,l.__data__=a[s],u.delete(c)):n[s]=new u5(e,a[s]);for(s=0;s<d;++s)(l=t[s])&&u.get(h[s])===l&&(i[s]=l)}function h5(e){return e.__data__}function p5(e){return"object"==typeof e&&"length"in e?e:Array.from(e)}function g5(e,t){return e<t?-1:e>t?1:e>=t?0:NaN}function m5(e){return function(){this.removeAttribute(e)}}function v5(e){return function(){this.removeAttributeNS(e.space,e.local)}}function b5(e,t){return function(){this.setAttribute(e,t)}}function y5(e,t){return function(){this.setAttributeNS(e.space,e.local,t)}}function _5(e,t){return function(){var n=t.apply(this,arguments);null==n?this.removeAttribute(e):this.setAttribute(e,n)}}function w5(e,t){return function(){var n=t.apply(this,arguments);null==n?this.removeAttributeNS(e.space,e.local):this.setAttributeNS(e.space,e.local,n)}}function x5(e){return e.ownerDocument&&e.ownerDocument.defaultView||e.document&&e||e.defaultView}function k5(e){return function(){this.style.removeProperty(e)}}function C5(e,t,n){return function(){this.style.setProperty(e,t,n)}}function A5(e,t,n){return function(){var r=t.apply(this,arguments);null==r?this.style.removeProperty(e):this.style.setProperty(e,r,n)}}function S5(e,t){return e.style.getPropertyValue(t)||x5(e).getComputedStyle(e,null).getPropertyValue(t)}function E5(e){return function(){delete this[e]}}function M5(e,t){return function(){this[e]=t}}function R5(e,t){return function(){var n=t.apply(this,arguments);null==n?delete this[e]:this[e]=n}}function T5(e){return e.trim().split(/^|\s+/)}function L5(e){return e.classList||new D5(e)}function D5(e){this._node=e,this._names=T5(e.getAttribute("class")||"")}function O5(e,t){for(var n=L5(e),r=-1,i=t.length;++r<i;)n.add(t[r])}function F5(e,t){for(var n=L5(e),r=-1,i=t.length;++r<i;)n.remove(t[r])}function z5(e){return function(){O5(this,e)}}function P5(e){return function(){F5(this,e)}}function N5(e,t){return function(){(t.apply(this,arguments)?O5:F5)(this,e)}}function j5(){this.textContent=""}function I5(e){return function(){this.textContent=e}}function B5(e){return function(){var t=e.apply(this,arguments);this.textContent=null==t?"":t}}function W5(){this.innerHTML=""}function $5(e){return function(){this.innerHTML=e}}function q5(e){return function(){var t=e.apply(this,arguments);this.innerHTML=null==t?"":t}}function H5(){this.nextSibling&&this.parentNode.appendChild(this)}function U5(){this.previousSibling&&this.parentNode.insertBefore(this,this.parentNode.firstChild)}function V5(){return null}function Y5(){var e=this.parentNode;e&&e.removeChild(this)}function G5(){var e=this.cloneNode(!1),t=this.parentNode;return t?t.insertBefore(e,this.nextSibling):e}function X5(){var e=this.cloneNode(!0),t=this.parentNode;return t?t.insertBefore(e,this.nextSibling):e}function J5(e){return function(){var t=this.__on;if(t){for(var n,r=0,i=-1,a=t.length;r<a;++r)n=t[r],e.type&&n.type!==e.type||n.name!==e.name?t[++i]=n:this.removeEventListener(n.type,n.listener,n.options);++i?t.length=i:delete this.__on}}}function Z5(e,t,n){return function(){var r,i=this.__on,a=function(e){return function(t){e.call(this,t,this.__data__)}}(t);if(i)for(var o=0,s=i.length;o<s;++o)if((r=i[o]).type===e.type&&r.name===e.name)return this.removeEventListener(r.type,r.listener,r.options),this.addEventListener(r.type,r.listener=a,r.options=n),void(r.value=t);this.addEventListener(e.type,a,n),r={type:e.type,name:e.name,value:t,listener:a,options:n},i?i.push(r):this.__on=[r]}}function K5(e,t,n){var r=x5(e),i=r.CustomEvent;"function"==typeof i?i=new i(t,n):(i=r.document.createEvent("Event"),n?(i.initEvent(t,n.bubbles,n.cancelable),i.detail=n.detail):i.initEvent(t,!1,!1)),e.dispatchEvent(i)}function Q5(e,t){return function(){return K5(this,e,t)}}function e6(e,t){return function(){return K5(this,e,t.apply(this,arguments))}}u5.prototype={constructor:u5,appendChild:function(e){return this._parent.insertBefore(e,this._next)},insertBefore:function(e,t){return this._parent.insertBefore(e,t)},querySelector:function(e){return this._parent.querySelector(e)},querySelectorAll:function(e){return this._parent.querySelectorAll(e)}},D5.prototype={add:function(e){this._names.indexOf(e)<0&&(this._names.push(e),this._node.setAttribute("class",this._names.join(" ")))},remove:function(e){var t=this._names.indexOf(e);t>=0&&(this._names.splice(t,1),this._node.setAttribute("class",this._names.join(" ")))},contains:function(e){return this._names.indexOf(e)>=0}};var t6=[null];function n6(e,t){this._groups=e,this._parents=t}function r6(){return new n6([[document.documentElement]],t6)}function i6(e){return"string"==typeof e?new n6([[document.querySelector(e)]],[document.documentElement]):new n6([[e]],t6)}function a6(e,t){if(e=function(e){let t;for(;t=e.sourceEvent;)e=t;return e}(e),void 0===t&&(t=e.currentTarget),t){var n=t.ownerSVGElement||t;if(n.createSVGPoint){var r=n.createSVGPoint();return r.x=e.clientX,r.y=e.clientY,[(r=r.matrixTransform(t.getScreenCTM().inverse())).x,r.y]}if(t.getBoundingClientRect){var i=t.getBoundingClientRect();return[e.clientX-i.left-t.clientLeft,e.clientY-i.top-t.clientTop]}}return[e.pageX,e.pageY]}n6.prototype=r6.prototype={constructor:n6,select:function(e){"function"!=typeof e&&(e=Q3(e));for(var t=this._groups,n=t.length,r=new Array(n),i=0;i<n;++i)for(var a,o,s=t[i],l=s.length,c=r[i]=new Array(l),u=0;u<l;++u)(a=s[u])&&(o=e.call(a,a.__data__,u,s))&&("__data__"in a&&(o.__data__=a.__data__),c[u]=o);return new n6(r,this._parents)},selectAll:function(e){e="function"==typeof e?n5(e):t5(e);for(var t=this._groups,n=t.length,r=[],i=[],a=0;a<n;++a)for(var o,s=t[a],l=s.length,c=0;c<l;++c)(o=s[c])&&(r.push(e.call(o,o.__data__,c,s)),i.push(o));return new n6(r,i)},selectChild:function(e){return this.select(null==e?o5:function(e){return function(){return a5.call(this.children,e)}}("function"==typeof e?e:i5(e)))},selectChildren:function(e){return this.selectAll(null==e?l5:function(e){return function(){return s5.call(this.children,e)}}("function"==typeof e?e:i5(e)))},filter:function(e){"function"!=typeof e&&(e=r5(e));for(var t=this._groups,n=t.length,r=new Array(n),i=0;i<n;++i)for(var a,o=t[i],s=o.length,l=r[i]=[],c=0;c<s;++c)(a=o[c])&&e.call(a,a.__data__,c,o)&&l.push(a);return new n6(r,this._parents)},data:function(e,t){if(!arguments.length)return Array.from(this,h5);var n=t?f5:d5,r=this._parents,i=this._groups;"function"!=typeof e&&(e=function(e){return function(){return e}}(e));for(var a=i.length,o=new Array(a),s=new Array(a),l=new Array(a),c=0;c<a;++c){var u=r[c],d=i[c],f=d.length,h=p5(e.call(u,u&&u.__data__,c,r)),p=h.length,g=s[c]=new Array(p),m=o[c]=new Array(p);n(u,d,g,m,l[c]=new Array(f),h,t);for(var v,b,y=0,_=0;y<p;++y)if(v=g[y]){for(y>=_&&(_=y+1);!(b=m[_])&&++_<p;);v._next=b||null}}return(o=new n6(o,r))._enter=s,o._exit=l,o},enter:function(){return new n6(this._enter||this._groups.map(c5),this._parents)},exit:function(){return new n6(this._exit||this._groups.map(c5),this._parents)},join:function(e,t,n){var r=this.enter(),i=this,a=this.exit();return"function"==typeof e?(r=e(r))&&(r=r.selection()):r=r.append(e+""),null!=t&&(i=t(i))&&(i=i.selection()),null==n?a.remove():n(a),r&&i?r.merge(i).order():i},merge:function(e){for(var t=e.selection?e.selection():e,n=this._groups,r=t._groups,i=n.length,a=r.length,o=Math.min(i,a),s=new Array(i),l=0;l<o;++l)for(var c,u=n[l],d=r[l],f=u.length,h=s[l]=new Array(f),p=0;p<f;++p)(c=u[p]||d[p])&&(h[p]=c);for(;l<i;++l)s[l]=n[l];return new n6(s,this._parents)},selection:function(){return this},order:function(){for(var e=this._groups,t=-1,n=e.length;++t<n;)for(var r,i=e[t],a=i.length-1,o=i[a];--a>=0;)(r=i[a])&&(o&&4^r.compareDocumentPosition(o)&&o.parentNode.insertBefore(r,o),o=r);return this},sort:function(e){function t(t,n){return t&&n?e(t.__data__,n.__data__):!t-!n}e||(e=g5);for(var n=this._groups,r=n.length,i=new Array(r),a=0;a<r;++a){for(var o,s=n[a],l=s.length,c=i[a]=new Array(l),u=0;u<l;++u)(o=s[u])&&(c[u]=o);c.sort(t)}return new n6(i,this._parents).order()},call:function(){var e=arguments[0];return arguments[0]=this,e.apply(null,arguments),this},nodes:function(){return Array.from(this)},node:function(){for(var e=this._groups,t=0,n=e.length;t<n;++t)for(var r=e[t],i=0,a=r.length;i<a;++i){var o=r[i];if(o)return o}return null},size:function(){let e=0;for(const t of this)++e;return e},empty:function(){return!this.node()},each:function(e){for(var t=this._groups,n=0,r=t.length;n<r;++n)for(var i,a=t[n],o=0,s=a.length;o<s;++o)(i=a[o])&&e.call(i,i.__data__,o,a);return this},attr:function(e,t){var n=G3(e);if(arguments.length<2){var r=this.node();return n.local?r.getAttributeNS(n.space,n.local):r.getAttribute(n)}return this.each((null==t?n.local?v5:m5:"function"==typeof t?n.local?w5:_5:n.local?y5:b5)(n,t))},style:function(e,t,n){return arguments.length>1?this.each((null==t?k5:"function"==typeof t?A5:C5)(e,t,null==n?"":n)):S5(this.node(),e)},property:function(e,t){return arguments.length>1?this.each((null==t?E5:"function"==typeof t?R5:M5)(e,t)):this.node()[e]},classed:function(e,t){var n=T5(e+"");if(arguments.length<2){for(var r=L5(this.node()),i=-1,a=n.length;++i<a;)if(!r.contains(n[i]))return!1;return!0}return this.each(("function"==typeof t?N5:t?z5:P5)(n,t))},text:function(e){return arguments.length?this.each(null==e?j5:("function"==typeof e?B5:I5)(e)):this.node().textContent},html:function(e){return arguments.length?this.each(null==e?W5:("function"==typeof e?q5:$5)(e)):this.node().innerHTML},raise:function(){return this.each(H5)},lower:function(){return this.each(U5)},append:function(e){var t="function"==typeof e?e:Z3(e);return this.select((function(){return this.appendChild(t.apply(this,arguments))}))},insert:function(e,t){var n="function"==typeof e?e:Z3(e),r=null==t?V5:"function"==typeof t?t:Q3(t);return this.select((function(){return this.insertBefore(n.apply(this,arguments),r.apply(this,arguments)||null)}))},remove:function(){return this.each(Y5)},clone:function(e){return this.select(e?X5:G5)},datum:function(e){return arguments.length?this.property("__data__",e):this.node().__data__},on:function(e,t,n){var r,i,a=function(e){return e.trim().split(/^|\s+/).map((function(e){var t="",n=e.indexOf(".");return n>=0&&(t=e.slice(n+1),e=e.slice(0,n)),{type:e,name:t}}))}(e+""),o=a.length;if(!(arguments.length<2)){for(s=t?Z5:J5,r=0;r<o;++r)this.each(s(a[r],t,n));return this}var s=this.node().__on;if(s)for(var l,c=0,u=s.length;c<u;++c)for(r=0,l=s[c];r<o;++r)if((i=a[r]).type===l.type&&i.name===l.name)return l.value},dispatch:function(e,t){return this.each(("function"==typeof t?e6:Q5)(e,t))},[Symbol.iterator]:function*(){for(var e=this._groups,t=0,n=e.length;t<n;++t)for(var r,i=e[t],a=0,o=i.length;a<o;++a)(r=i[a])&&(yield r)}};var o6={value:()=>{}};function s6(){for(var e,t=0,n=arguments.length,r={};t<n;++t){if(!(e=arguments[t]+"")||e in r||/[\s.]/.test(e))throw new Error("illegal type: "+e);r[e]=[]}return new l6(r)}function l6(e){this._=e}function c6(e,t){for(var n,r=0,i=e.length;r<i;++r)if((n=e[r]).name===t)return n.value}function u6(e,t,n){for(var r=0,i=e.length;r<i;++r)if(e[r].name===t){e[r]=o6,e=e.slice(0,r).concat(e.slice(r+1));break}return null!=n&&e.push({name:t,value:n}),e}l6.prototype=s6.prototype={constructor:l6,on:function(e,t){var n,r,i=this._,a=(r=i,(e+"").trim().split(/^|\s+/).map((function(e){var t="",n=e.indexOf(".");if(n>=0&&(t=e.slice(n+1),e=e.slice(0,n)),e&&!r.hasOwnProperty(e))throw new Error("unknown type: "+e);return{type:e,name:t}}))),o=-1,s=a.length;if(!(arguments.length<2)){if(null!=t&&"function"!=typeof t)throw new Error("invalid callback: "+t);for(;++o<s;)if(n=(e=a[o]).type)i[n]=u6(i[n],e.name,t);else if(null==t)for(n in i)i[n]=u6(i[n],e.name,null);return this}for(;++o<s;)if((n=(e=a[o]).type)&&(n=c6(i[n],e.name)))return n},copy:function(){var e={},t=this._;for(var n in t)e[n]=t[n].slice();return new l6(e)},call:function(e,t){if((n=arguments.length-2)>0)for(var n,r,i=new Array(n),a=0;a<n;++a)i[a]=arguments[a+2];if(!this._.hasOwnProperty(e))throw new Error("unknown type: "+e);for(a=0,n=(r=this._[e]).length;a<n;++a)r[a].value.apply(t,i)},apply:function(e,t,n){if(!this._.hasOwnProperty(e))throw new Error("unknown type: "+e);for(var r=this._[e],i=0,a=r.length;i<a;++i)r[i].value.apply(t,n)}};var d6,f6,h6=0,p6=0,g6=0,m6=0,v6=0,b6=0,y6="object"==typeof performance&&performance.now?performance:Date,_6="object"==typeof window&&window.requestAnimationFrame?window.requestAnimationFrame.bind(window):function(e){setTimeout(e,17)};function w6(){return v6||(_6(x6),v6=y6.now()+b6)}function x6(){v6=0}function k6(){this._call=this._time=this._next=null}function C6(e,t,n){var r=new k6;return r.restart(e,t,n),r}function A6(){v6=(m6=y6.now())+b6,h6=p6=0;try{!function(){w6(),++h6;for(var e,t=d6;t;)(e=v6-t._time)>=0&&t._call.call(void 0,e),t=t._next;--h6}()}finally{h6=0,function(){var e,t,n=d6,r=1/0;for(;n;)n._call?(r>n._time&&(r=n._time),e=n,n=n._next):(t=n._next,n._next=null,n=e?e._next=t:d6=t);f6=e,E6(r)}(),v6=0}}function S6(){var e=y6.now(),t=e-m6;t>1e3&&(b6-=t,m6=e)}function E6(e){h6||(p6&&(p6=clearTimeout(p6)),e-v6>24?(e<1/0&&(p6=setTimeout(A6,e-y6.now()-b6)),g6&&(g6=clearInterval(g6))):(g6||(m6=y6.now(),g6=setInterval(S6,1e3)),h6=1,_6(A6)))}function M6(e,t,n){var r=new k6;return t=null==t?0:+t,r.restart((n=>{r.stop(),e(n+t)}),t,n),r}k6.prototype=C6.prototype={constructor:k6,restart:function(e,t,n){if("function"!=typeof e)throw new TypeError("callback is not a function");n=(null==n?w6():+n)+(null==t?0:+t),this._next||f6===this||(f6?f6._next=this:d6=this,f6=this),this._call=e,this._time=n,E6()},stop:function(){this._call&&(this._call=null,this._time=1/0,E6())}};var R6=s6("start","end","cancel","interrupt"),T6=[];function L6(e,t,n,r,i,a){var o=e.__transition;if(o){if(n in o)return}else e.__transition={};!function(e,t,n){var r,i=e.__transition;function a(e){n.state=1,n.timer.restart(o,n.delay,n.time),n.delay<=e&&o(e-n.delay)}function o(a){var c,u,d,f;if(1!==n.state)return l();for(c in i)if((f=i[c]).name===n.name){if(3===f.state)return M6(o);4===f.state?(f.state=6,f.timer.stop(),f.on.call("interrupt",e,e.__data__,f.index,f.group),delete i[c]):+c<t&&(f.state=6,f.timer.stop(),f.on.call("cancel",e,e.__data__,f.index,f.group),delete i[c])}if(M6((function(){3===n.state&&(n.state=4,n.timer.restart(s,n.delay,n.time),s(a))})),n.state=2,n.on.call("start",e,e.__data__,n.index,n.group),2===n.state){for(n.state=3,r=new Array(d=n.tween.length),c=0,u=-1;c<d;++c)(f=n.tween[c].value.call(e,e.__data__,n.index,n.group))&&(r[++u]=f);r.length=u+1}}function s(t){for(var i=t<n.duration?n.ease.call(null,t/n.duration):(n.timer.restart(l),n.state=5,1),a=-1,o=r.length;++a<o;)r[a].call(e,i);5===n.state&&(n.on.call("end",e,e.__data__,n.index,n.group),l())}function l(){for(var r in n.state=6,n.timer.stop(),delete i[t],i)return;delete e.__transition}i[t]=n,n.timer=C6(a,0,n.time)}(e,n,{name:t,index:r,group:i,on:R6,tween:T6,time:a.time,delay:a.delay,duration:a.duration,ease:a.ease,timer:null,state:0})}function D6(e,t){var n=F6(e,t);if(n.state>0)throw new Error("too late; already scheduled");return n}function O6(e,t){var n=F6(e,t);if(n.state>3)throw new Error("too late; already running");return n}function F6(e,t){var n=e.__transition;if(!n||!(n=n[t]))throw new Error("transition not found");return n}function z6(e,t){var n,r;return function(){var i=O6(this,e),a=i.tween;if(a!==n)for(var o=0,s=(r=n=a).length;o<s;++o)if(r[o].name===t){(r=r.slice()).splice(o,1);break}i.tween=r}}function P6(e,t,n){var r,i;if("function"!=typeof n)throw new Error;return function(){var a=O6(this,e),o=a.tween;if(o!==r){i=(r=o).slice();for(var s={name:t,value:n},l=0,c=i.length;l<c;++l)if(i[l].name===t){i[l]=s;break}l===c&&i.push(s)}a.tween=i}}function N6(e,t,n){var r=e._id;return e.each((function(){var e=O6(this,r);(e.value||(e.value={}))[t]=n.apply(this,arguments)})),function(e){return F6(e,r).value[t]}}function j6(e,t){var n;return("number"==typeof t?js:t instanceof Qo?Ds:(n=Qo(t))?(t=n,Ds):$s)(e,t)}function I6(e){return function(){this.removeAttribute(e)}}function B6(e){return function(){this.removeAttributeNS(e.space,e.local)}}function W6(e,t,n){var r,i,a=n+"";return function(){var o=this.getAttribute(e);return o===a?null:o===r?i:i=t(r=o,n)}}function $6(e,t,n){var r,i,a=n+"";return function(){var o=this.getAttributeNS(e.space,e.local);return o===a?null:o===r?i:i=t(r=o,n)}}function q6(e,t,n){var r,i,a;return function(){var o,s,l=n(this);if(null!=l)return(o=this.getAttribute(e))===(s=l+"")?null:o===r&&s===i?a:(i=s,a=t(r=o,l));this.removeAttribute(e)}}function H6(e,t,n){var r,i,a;return function(){var o,s,l=n(this);if(null!=l)return(o=this.getAttributeNS(e.space,e.local))===(s=l+"")?null:o===r&&s===i?a:(i=s,a=t(r=o,l));this.removeAttributeNS(e.space,e.local)}}function U6(e,t){var n,r;function i(){var i=t.apply(this,arguments);return i!==r&&(n=(r=i)&&function(e,t){return function(n){this.setAttributeNS(e.space,e.local,t.call(this,n))}}(e,i)),n}return i._value=t,i}function V6(e,t){var n,r;function i(){var i=t.apply(this,arguments);return i!==r&&(n=(r=i)&&function(e,t){return function(n){this.setAttribute(e,t.call(this,n))}}(e,i)),n}return i._value=t,i}function Y6(e,t){return function(){D6(this,e).delay=+t.apply(this,arguments)}}function G6(e,t){return t=+t,function(){D6(this,e).delay=t}}function X6(e,t){return function(){O6(this,e).duration=+t.apply(this,arguments)}}function J6(e,t){return t=+t,function(){O6(this,e).duration=t}}var Z6=r6.prototype.constructor;function K6(e){return function(){this.style.removeProperty(e)}}var Q6=0;function e4(e,t,n,r){this._groups=e,this._parents=t,this._name=n,this._id=r}function t4(e){return r6().transition(e)}function n4(){return++Q6}var r4=r6.prototype;function i4(e){return((e*=2)<=1?e*e*e:(e-=2)*e*e+2)/2}e4.prototype=t4.prototype={constructor:e4,select:function(e){var t=this._name,n=this._id;"function"!=typeof e&&(e=Q3(e));for(var r=this._groups,i=r.length,a=new Array(i),o=0;o<i;++o)for(var s,l,c=r[o],u=c.length,d=a[o]=new Array(u),f=0;f<u;++f)(s=c[f])&&(l=e.call(s,s.__data__,f,c))&&("__data__"in s&&(l.__data__=s.__data__),d[f]=l,L6(d[f],t,n,f,d,F6(s,n)));return new e4(a,this._parents,t,n)},selectAll:function(e){var t=this._name,n=this._id;"function"!=typeof e&&(e=t5(e));for(var r=this._groups,i=r.length,a=[],o=[],s=0;s<i;++s)for(var l,c=r[s],u=c.length,d=0;d<u;++d)if(l=c[d]){for(var f,h=e.call(l,l.__data__,d,c),p=F6(l,n),g=0,m=h.length;g<m;++g)(f=h[g])&&L6(f,t,n,g,h,p);a.push(h),o.push(l)}return new e4(a,o,t,n)},selectChild:r4.selectChild,selectChildren:r4.selectChildren,filter:function(e){"function"!=typeof e&&(e=r5(e));for(var t=this._groups,n=t.length,r=new Array(n),i=0;i<n;++i)for(var a,o=t[i],s=o.length,l=r[i]=[],c=0;c<s;++c)(a=o[c])&&e.call(a,a.__data__,c,o)&&l.push(a);return new e4(r,this._parents,this._name,this._id)},merge:function(e){if(e._id!==this._id)throw new Error;for(var t=this._groups,n=e._groups,r=t.length,i=n.length,a=Math.min(r,i),o=new Array(r),s=0;s<a;++s)for(var l,c=t[s],u=n[s],d=c.length,f=o[s]=new Array(d),h=0;h<d;++h)(l=c[h]||u[h])&&(f[h]=l);for(;s<r;++s)o[s]=t[s];return new e4(o,this._parents,this._name,this._id)},selection:function(){return new Z6(this._groups,this._parents)},transition:function(){for(var e=this._name,t=this._id,n=n4(),r=this._groups,i=r.length,a=0;a<i;++a)for(var o,s=r[a],l=s.length,c=0;c<l;++c)if(o=s[c]){var u=F6(o,t);L6(o,e,n,c,s,{time:u.time+u.delay+u.duration,delay:0,duration:u.duration,ease:u.ease})}return new e4(r,this._parents,e,n)},call:r4.call,nodes:r4.nodes,node:r4.node,size:r4.size,empty:r4.empty,each:r4.each,on:function(e,t){var n=this._id;return arguments.length<2?F6(this.node(),n).on.on(e):this.each(function(e,t,n){var r,i,a=function(e){return(e+"").trim().split(/^|\s+/).every((function(e){var t=e.indexOf(".");return t>=0&&(e=e.slice(0,t)),!e||"start"===e}))}(t)?D6:O6;return function(){var o=a(this,e),s=o.on;s!==r&&(i=(r=s).copy()).on(t,n),o.on=i}}(n,e,t))},attr:function(e,t){var n=G3(e),r="transform"===n?Zs:j6;return this.attrTween(e,"function"==typeof t?(n.local?H6:q6)(n,r,N6(this,"attr."+e,t)):null==t?(n.local?B6:I6)(n):(n.local?$6:W6)(n,r,t))},attrTween:function(e,t){var n="attr."+e;if(arguments.length<2)return(n=this.tween(n))&&n._value;if(null==t)return this.tween(n,null);if("function"!=typeof t)throw new Error;var r=G3(e);return this.tween(n,(r.local?U6:V6)(r,t))},style:function(e,t,n){var r="transform"==(e+="")?Js:j6;return null==t?this.styleTween(e,function(e,t){var n,r,i;return function(){var a=S5(this,e),o=(this.style.removeProperty(e),S5(this,e));return a===o?null:a===n&&o===r?i:i=t(n=a,r=o)}}(e,r)).on("end.style."+e,K6(e)):"function"==typeof t?this.styleTween(e,function(e,t,n){var r,i,a;return function(){var o=S5(this,e),s=n(this),l=s+"";return null==s&&(this.style.removeProperty(e),l=s=S5(this,e)),o===l?null:o===r&&l===i?a:(i=l,a=t(r=o,s))}}(e,r,N6(this,"style."+e,t))).each(function(e,t){var n,r,i,a,o="style."+t,s="end."+o;return function(){var l=O6(this,e),c=l.on,u=null==l.value[o]?a||(a=K6(t)):void 0;c===n&&i===u||(r=(n=c).copy()).on(s,i=u),l.on=r}}(this._id,e)):this.styleTween(e,function(e,t,n){var r,i,a=n+"";return function(){var o=S5(this,e);return o===a?null:o===r?i:i=t(r=o,n)}}(e,r,t),n).on("end.style."+e,null)},styleTween:function(e,t,n){var r="style."+(e+="");if(arguments.length<2)return(r=this.tween(r))&&r._value;if(null==t)return this.tween(r,null);if("function"!=typeof t)throw new Error;return this.tween(r,function(e,t,n){var r,i;function a(){var a=t.apply(this,arguments);return a!==i&&(r=(i=a)&&function(e,t,n){return function(r){this.style.setProperty(e,t.call(this,r),n)}}(e,a,n)),r}return a._value=t,a}(e,t,null==n?"":n))},text:function(e){return this.tween("text","function"==typeof e?function(e){return function(){var t=e(this);this.textContent=null==t?"":t}}(N6(this,"text",e)):function(e){return function(){this.textContent=e}}(null==e?"":e+""))},textTween:function(e){var t="text";if(arguments.length<1)return(t=this.tween(t))&&t._value;if(null==e)return this.tween(t,null);if("function"!=typeof e)throw new Error;return this.tween(t,function(e){var t,n;function r(){var r=e.apply(this,arguments);return r!==n&&(t=(n=r)&&function(e){return function(t){this.textContent=e.call(this,t)}}(r)),t}return r._value=e,r}(e))},remove:function(){return this.on("end.remove",function(e){return function(){var t=this.parentNode;for(var n in this.__transition)if(+n!==e)return;t&&t.removeChild(this)}}(this._id))},tween:function(e,t){var n=this._id;if(e+="",arguments.length<2){for(var r,i=F6(this.node(),n).tween,a=0,o=i.length;a<o;++a)if((r=i[a]).name===e)return r.value;return null}return this.each((null==t?z6:P6)(n,e,t))},delay:function(e){var t=this._id;return arguments.length?this.each(("function"==typeof e?Y6:G6)(t,e)):F6(this.node(),t).delay},duration:function(e){var t=this._id;return arguments.length?this.each(("function"==typeof e?X6:J6)(t,e)):F6(this.node(),t).duration},ease:function(e){var t=this._id;return arguments.length?this.each(function(e,t){if("function"!=typeof t)throw new Error;return function(){O6(this,e).ease=t}}(t,e)):F6(this.node(),t).ease},easeVarying:function(e){if("function"!=typeof e)throw new Error;return this.each(function(e,t){return function(){var n=t.apply(this,arguments);if("function"!=typeof n)throw new Error;O6(this,e).ease=n}}(this._id,e))},end:function(){var e,t,n=this,r=n._id,i=n.size();return new Promise((function(a,o){var s={value:o},l={value:function(){0==--i&&a()}};n.each((function(){var n=O6(this,r),i=n.on;i!==e&&((t=(e=i).copy())._.cancel.push(s),t._.interrupt.push(s),t._.end.push(l)),n.on=t})),0===i&&a()}))},[Symbol.iterator]:r4[Symbol.iterator]};var a4={time:null,delay:0,duration:250,ease:i4};function o4(e,t){for(var n;!(n=e.__transition)||!(n=n[t]);)if(!(e=e.parentNode))throw new Error(`transition ${t} not found`);return n}function s4(e){return e}r6.prototype.interrupt=function(e){return this.each((function(){!function(e,t){var n,r,i,a=e.__transition,o=!0;if(a){for(i in t=null==t?null:t+"",a)(n=a[i]).name===t?(r=n.state>2&&n.state<5,n.state=6,n.timer.stop(),n.on.call(r?"interrupt":"cancel",e,e.__data__,n.index,n.group),delete a[i]):o=!1;o&&delete e.__transition}}(this,e)}))},r6.prototype.transition=function(e){var t,n;e instanceof e4?(t=e._id,e=e._name):(t=n4(),(n=a4).time=w6(),e=null==e?null:e+"");for(var r=this._groups,i=r.length,a=0;a<i;++a)for(var o,s=r[a],l=s.length,c=0;c<l;++c)(o=s[c])&&L6(o,e,t,c,s,n||o4(o,t));return new e4(r,this._parents,e,t)};var l4=1e-6;function c4(e){return"translate("+e+",0)"}function u4(e){return"translate(0,"+e+")"}function d4(e){return t=>+e(t)}function f4(e,t){return t=Math.max(0,e.bandwidth()-2*t)/2,e.round()&&(t=Math.round(t)),n=>+e(n)+t}function h4(){return!this.__axis}function p4(e,t){var n=[],r=null,i=null,a=6,o=6,s=3,l="undefined"!=typeof window&&window.devicePixelRatio>1?0:.5,c=1===e||4===e?-1:1,u=4===e||2===e?"x":"y",d=1===e||3===e?c4:u4;function f(f){var h=null==r?t.ticks?t.ticks.apply(t,n):t.domain():r,p=null==i?t.tickFormat?t.tickFormat.apply(t,n):s4:i,g=Math.max(a,0)+s,m=t.range(),v=+m[0]+l,b=+m[m.length-1]+l,y=(t.bandwidth?f4:d4)(t.copy(),l),_=f.selection?f.selection():f,w=_.selectAll(".domain").data([null]),x=_.selectAll(".tick").data(h,t).order(),k=x.exit(),C=x.enter().append("g").attr("class","tick"),A=x.select("line"),S=x.select("text");w=w.merge(w.enter().insert("path",".tick").attr("class","domain").attr("stroke","currentColor")),x=x.merge(C),A=A.merge(C.append("line").attr("stroke","currentColor").attr(u+"2",c*a)),S=S.merge(C.append("text").attr("fill","currentColor").attr(u,c*g).attr("dy",1===e?"0em":3===e?"0.71em":"0.32em")),f!==_&&(w=w.transition(f),x=x.transition(f),A=A.transition(f),S=S.transition(f),k=k.transition(f).attr("opacity",l4).attr("transform",(function(e){return isFinite(e=y(e))?d(e+l):this.getAttribute("transform")})),C.attr("opacity",l4).attr("transform",(function(e){var t=this.parentNode.__axis;return d((t&&isFinite(t=t(e))?t:y(e))+l)}))),k.remove(),w.attr("d",4===e||2===e?o?"M"+c*o+","+v+"H"+l+"V"+b+"H"+c*o:"M"+l+","+v+"V"+b:o?"M"+v+","+c*o+"V"+l+"H"+b+"V"+c*o:"M"+v+","+l+"H"+b),x.attr("opacity",1).attr("transform",(function(e){return d(y(e)+l)})),A.attr(u+"2",c*a),S.attr(u,c*g).text(p),_.filter(h4).attr("fill","none").attr("font-size",10).attr("font-family","sans-serif").attr("text-anchor",2===e?"start":4===e?"end":"middle"),_.each((function(){this.__axis=y}))}return f.scale=function(e){return arguments.length?(t=e,f):t},f.ticks=function(){return n=Array.from(arguments),f},f.tickArguments=function(e){return arguments.length?(n=null==e?[]:Array.from(e),f):n.slice()},f.tickValues=function(e){return arguments.length?(r=null==e?null:Array.from(e),f):r&&r.slice()},f.tickFormat=function(e){return arguments.length?(i=e,f):i},f.tickSize=function(e){return arguments.length?(a=o=+e,f):a},f.tickSizeInner=function(e){return arguments.length?(a=+e,f):a},f.tickSizeOuter=function(e){return arguments.length?(o=+e,f):o},f.tickPadding=function(e){return arguments.length?(s=+e,f):s},f.offset=function(e){return arguments.length?(l=+e,f):l},f}function g4(e){return p4(3,e)}const m4={capture:!0,passive:!1};function v4(e){e.preventDefault(),e.stopImmediatePropagation()}var b4=s6("start","end","cancel","interrupt"),y4=[];function _4(e,t,n,r,i,a){var o=e.__transition;if(o){if(n in o)return}else e.__transition={};!function(e,t,n){var r,i=e.__transition;function a(e){n.state=1,n.timer.restart(o,n.delay,n.time),n.delay<=e&&o(e-n.delay)}function o(a){var c,u,d,f;if(1!==n.state)return l();for(c in i)if((f=i[c]).name===n.name){if(3===f.state)return M6(o);4===f.state?(f.state=6,f.timer.stop(),f.on.call("interrupt",e,e.__data__,f.index,f.group),delete i[c]):+c<t&&(f.state=6,f.timer.stop(),f.on.call("cancel",e,e.__data__,f.index,f.group),delete i[c])}if(M6((function(){3===n.state&&(n.state=4,n.timer.restart(s,n.delay,n.time),s(a))})),n.state=2,n.on.call("start",e,e.__data__,n.index,n.group),2===n.state){for(n.state=3,r=new Array(d=n.tween.length),c=0,u=-1;c<d;++c)(f=n.tween[c].value.call(e,e.__data__,n.index,n.group))&&(r[++u]=f);r.length=u+1}}function s(t){for(var i=t<n.duration?n.ease.call(null,t/n.duration):(n.timer.restart(l),n.state=5,1),a=-1,o=r.length;++a<o;)r[a].call(e,i);5===n.state&&(n.on.call("end",e,e.__data__,n.index,n.group),l())}function l(){for(var r in n.state=6,n.timer.stop(),delete i[t],i)return;delete e.__transition}i[t]=n,n.timer=C6(a,0,n.time)}(e,n,{name:t,index:r,group:i,on:b4,tween:y4,time:a.time,delay:a.delay,duration:a.duration,ease:a.ease,timer:null,state:0})}function w4(e,t){var n=k4(e,t);if(n.state>0)throw new Error("too late; already scheduled");return n}function x4(e,t){var n=k4(e,t);if(n.state>3)throw new Error("too late; already running");return n}function k4(e,t){var n=e.__transition;if(!n||!(n=n[t]))throw new Error("transition not found");return n}function C4(e,t){var n,r,i,a=e.__transition,o=!0;if(a){for(i in t=null==t?null:t+"",a)(n=a[i]).name===t?(r=n.state>2&&n.state<5,n.state=6,n.timer.stop(),n.on.call(r?"interrupt":"cancel",e,e.__data__,n.index,n.group),delete a[i]):o=!1;o&&delete e.__transition}}function A4(e,t){var n,r;return function(){var i=x4(this,e),a=i.tween;if(a!==n)for(var o=0,s=(r=n=a).length;o<s;++o)if(r[o].name===t){(r=r.slice()).splice(o,1);break}i.tween=r}}function S4(e,t,n){var r,i;if("function"!=typeof n)throw new Error;return function(){var a=x4(this,e),o=a.tween;if(o!==r){i=(r=o).slice();for(var s={name:t,value:n},l=0,c=i.length;l<c;++l)if(i[l].name===t){i[l]=s;break}l===c&&i.push(s)}a.tween=i}}function E4(e,t,n){var r=e._id;return e.each((function(){var e=x4(this,r);(e.value||(e.value={}))[t]=n.apply(this,arguments)})),function(e){return k4(e,r).value[t]}}function M4(e,t){var n;return("number"==typeof t?js:t instanceof Qo?Ds:(n=Qo(t))?(t=n,Ds):$s)(e,t)}function R4(e){return function(){this.removeAttribute(e)}}function T4(e){return function(){this.removeAttributeNS(e.space,e.local)}}function L4(e,t,n){var r,i,a=n+"";return function(){var o=this.getAttribute(e);return o===a?null:o===r?i:i=t(r=o,n)}}function D4(e,t,n){var r,i,a=n+"";return function(){var o=this.getAttributeNS(e.space,e.local);return o===a?null:o===r?i:i=t(r=o,n)}}function O4(e,t,n){var r,i,a;return function(){var o,s,l=n(this);if(null!=l)return(o=this.getAttribute(e))===(s=l+"")?null:o===r&&s===i?a:(i=s,a=t(r=o,l));this.removeAttribute(e)}}function F4(e,t,n){var r,i,a;return function(){var o,s,l=n(this);if(null!=l)return(o=this.getAttributeNS(e.space,e.local))===(s=l+"")?null:o===r&&s===i?a:(i=s,a=t(r=o,l));this.removeAttributeNS(e.space,e.local)}}function z4(e,t){var n,r;function i(){var i=t.apply(this,arguments);return i!==r&&(n=(r=i)&&function(e,t){return function(n){this.setAttributeNS(e.space,e.local,t.call(this,n))}}(e,i)),n}return i._value=t,i}function P4(e,t){var n,r;function i(){var i=t.apply(this,arguments);return i!==r&&(n=(r=i)&&function(e,t){return function(n){this.setAttribute(e,t.call(this,n))}}(e,i)),n}return i._value=t,i}function N4(e,t){return function(){w4(this,e).delay=+t.apply(this,arguments)}}function j4(e,t){return t=+t,function(){w4(this,e).delay=t}}function I4(e,t){return function(){x4(this,e).duration=+t.apply(this,arguments)}}function B4(e,t){return t=+t,function(){x4(this,e).duration=t}}var W4=r6.prototype.constructor;function $4(e){return function(){this.style.removeProperty(e)}}var q4=0;function H4(e,t,n,r){this._groups=e,this._parents=t,this._name=n,this._id=r}function U4(){return++q4}var V4=r6.prototype;H4.prototype={constructor:H4,select:function(e){var t=this._name,n=this._id;"function"!=typeof e&&(e=Q3(e));for(var r=this._groups,i=r.length,a=new Array(i),o=0;o<i;++o)for(var s,l,c=r[o],u=c.length,d=a[o]=new Array(u),f=0;f<u;++f)(s=c[f])&&(l=e.call(s,s.__data__,f,c))&&("__data__"in s&&(l.__data__=s.__data__),d[f]=l,_4(d[f],t,n,f,d,k4(s,n)));return new H4(a,this._parents,t,n)},selectAll:function(e){var t=this._name,n=this._id;"function"!=typeof e&&(e=t5(e));for(var r=this._groups,i=r.length,a=[],o=[],s=0;s<i;++s)for(var l,c=r[s],u=c.length,d=0;d<u;++d)if(l=c[d]){for(var f,h=e.call(l,l.__data__,d,c),p=k4(l,n),g=0,m=h.length;g<m;++g)(f=h[g])&&_4(f,t,n,g,h,p);a.push(h),o.push(l)}return new H4(a,o,t,n)},selectChild:V4.selectChild,selectChildren:V4.selectChildren,filter:function(e){"function"!=typeof e&&(e=r5(e));for(var t=this._groups,n=t.length,r=new Array(n),i=0;i<n;++i)for(var a,o=t[i],s=o.length,l=r[i]=[],c=0;c<s;++c)(a=o[c])&&e.call(a,a.__data__,c,o)&&l.push(a);return new H4(r,this._parents,this._name,this._id)},merge:function(e){if(e._id!==this._id)throw new Error;for(var t=this._groups,n=e._groups,r=t.length,i=n.length,a=Math.min(r,i),o=new Array(r),s=0;s<a;++s)for(var l,c=t[s],u=n[s],d=c.length,f=o[s]=new Array(d),h=0;h<d;++h)(l=c[h]||u[h])&&(f[h]=l);for(;s<r;++s)o[s]=t[s];return new H4(o,this._parents,this._name,this._id)},selection:function(){return new W4(this._groups,this._parents)},transition:function(){for(var e=this._name,t=this._id,n=U4(),r=this._groups,i=r.length,a=0;a<i;++a)for(var o,s=r[a],l=s.length,c=0;c<l;++c)if(o=s[c]){var u=k4(o,t);_4(o,e,n,c,s,{time:u.time+u.delay+u.duration,delay:0,duration:u.duration,ease:u.ease})}return new H4(r,this._parents,e,n)},call:V4.call,nodes:V4.nodes,node:V4.node,size:V4.size,empty:V4.empty,each:V4.each,on:function(e,t){var n=this._id;return arguments.length<2?k4(this.node(),n).on.on(e):this.each(function(e,t,n){var r,i,a=function(e){return(e+"").trim().split(/^|\s+/).every((function(e){var t=e.indexOf(".");return t>=0&&(e=e.slice(0,t)),!e||"start"===e}))}(t)?w4:x4;return function(){var o=a(this,e),s=o.on;s!==r&&(i=(r=s).copy()).on(t,n),o.on=i}}(n,e,t))},attr:function(e,t){var n=G3(e),r="transform"===n?Zs:M4;return this.attrTween(e,"function"==typeof t?(n.local?F4:O4)(n,r,E4(this,"attr."+e,t)):null==t?(n.local?T4:R4)(n):(n.local?D4:L4)(n,r,t))},attrTween:function(e,t){var n="attr."+e;if(arguments.length<2)return(n=this.tween(n))&&n._value;if(null==t)return this.tween(n,null);if("function"!=typeof t)throw new Error;var r=G3(e);return this.tween(n,(r.local?z4:P4)(r,t))},style:function(e,t,n){var r="transform"==(e+="")?Js:M4;return null==t?this.styleTween(e,function(e,t){var n,r,i;return function(){var a=S5(this,e),o=(this.style.removeProperty(e),S5(this,e));return a===o?null:a===n&&o===r?i:i=t(n=a,r=o)}}(e,r)).on("end.style."+e,$4(e)):"function"==typeof t?this.styleTween(e,function(e,t,n){var r,i,a;return function(){var o=S5(this,e),s=n(this),l=s+"";return null==s&&(this.style.removeProperty(e),l=s=S5(this,e)),o===l?null:o===r&&l===i?a:(i=l,a=t(r=o,s))}}(e,r,E4(this,"style."+e,t))).each(function(e,t){var n,r,i,a,o="style."+t,s="end."+o;return function(){var l=x4(this,e),c=l.on,u=null==l.value[o]?a||(a=$4(t)):void 0;c===n&&i===u||(r=(n=c).copy()).on(s,i=u),l.on=r}}(this._id,e)):this.styleTween(e,function(e,t,n){var r,i,a=n+"";return function(){var o=S5(this,e);return o===a?null:o===r?i:i=t(r=o,n)}}(e,r,t),n).on("end.style."+e,null)},styleTween:function(e,t,n){var r="style."+(e+="");if(arguments.length<2)return(r=this.tween(r))&&r._value;if(null==t)return this.tween(r,null);if("function"!=typeof t)throw new Error;return this.tween(r,function(e,t,n){var r,i;function a(){var a=t.apply(this,arguments);return a!==i&&(r=(i=a)&&function(e,t,n){return function(r){this.style.setProperty(e,t.call(this,r),n)}}(e,a,n)),r}return a._value=t,a}(e,t,null==n?"":n))},text:function(e){return this.tween("text","function"==typeof e?function(e){return function(){var t=e(this);this.textContent=null==t?"":t}}(E4(this,"text",e)):function(e){return function(){this.textContent=e}}(null==e?"":e+""))},textTween:function(e){var t="text";if(arguments.length<1)return(t=this.tween(t))&&t._value;if(null==e)return this.tween(t,null);if("function"!=typeof e)throw new Error;return this.tween(t,function(e){var t,n;function r(){var r=e.apply(this,arguments);return r!==n&&(t=(n=r)&&function(e){return function(t){this.textContent=e.call(this,t)}}(r)),t}return r._value=e,r}(e))},remove:function(){return this.on("end.remove",function(e){return function(){var t=this.parentNode;for(var n in this.__transition)if(+n!==e)return;t&&t.removeChild(this)}}(this._id))},tween:function(e,t){var n=this._id;if(e+="",arguments.length<2){for(var r,i=k4(this.node(),n).tween,a=0,o=i.length;a<o;++a)if((r=i[a]).name===e)return r.value;return null}return this.each((null==t?A4:S4)(n,e,t))},delay:function(e){var t=this._id;return arguments.length?this.each(("function"==typeof e?N4:j4)(t,e)):k4(this.node(),t).delay},duration:function(e){var t=this._id;return arguments.length?this.each(("function"==typeof e?I4:B4)(t,e)):k4(this.node(),t).duration},ease:function(e){var t=this._id;return arguments.length?this.each(function(e,t){if("function"!=typeof t)throw new Error;return function(){x4(this,e).ease=t}}(t,e)):k4(this.node(),t).ease},easeVarying:function(e){if("function"!=typeof e)throw new Error;return this.each(function(e,t){return function(){var n=t.apply(this,arguments);if("function"!=typeof n)throw new Error;x4(this,e).ease=n}}(this._id,e))},end:function(){var e,t,n=this,r=n._id,i=n.size();return new Promise((function(a,o){var s={value:o},l={value:function(){0==--i&&a()}};n.each((function(){var n=x4(this,r),i=n.on;i!==e&&((t=(e=i).copy())._.cancel.push(s),t._.interrupt.push(s),t._.end.push(l)),n.on=t})),0===i&&a()}))},[Symbol.iterator]:V4[Symbol.iterator]};var Y4={time:null,delay:0,duration:250,ease:i4};function G4(e,t){for(var n;!(n=e.__transition)||!(n=n[t]);)if(!(e=e.parentNode))throw new Error(`transition ${t} not found`);return n}r6.prototype.interrupt=function(e){return this.each((function(){C4(this,e)}))},r6.prototype.transition=function(e){var t,n;e instanceof H4?(t=e._id,e=e._name):(t=U4(),(n=Y4).time=w6(),e=null==e?null:e+"");for(var r=this._groups,i=r.length,a=0;a<i;++a)for(var o,s=r[a],l=s.length,c=0;c<l;++c)(o=s[c])&&_4(o,e,t,c,s,n||G4(o,t));return new H4(r,this._parents,e,t)};var X4=e=>()=>e;function J4(e,{sourceEvent:t,target:n,selection:r,mode:i,dispatch:a}){Object.defineProperties(this,{type:{value:e,enumerable:!0,configurable:!0},sourceEvent:{value:t,enumerable:!0,configurable:!0},target:{value:n,enumerable:!0,configurable:!0},selection:{value:r,enumerable:!0,configurable:!0},mode:{value:i,enumerable:!0,configurable:!0},_:{value:a}})}function Z4(e){e.preventDefault(),e.stopImmediatePropagation()}var K4={name:"drag"},Q4={name:"space"},e8={name:"handle"},t8={name:"center"};const{abs:n8,max:r8,min:i8}=Math;function a8(e){return[+e[0],+e[1]]}function o8(e){return[a8(e[0]),a8(e[1])]}var s8={name:"x",handles:["w","e"].map(p8),input:function(e,t){return null==e?null:[[+e[0],t[0][1]],[+e[1],t[1][1]]]},output:function(e){return e&&[e[0][0],e[1][0]]}},l8={},c8={overlay:"crosshair",selection:"move",n:"ns-resize",e:"ew-resize",s:"ns-resize",w:"ew-resize",nw:"nwse-resize",ne:"nesw-resize",se:"nwse-resize",sw:"nesw-resize"},u8={e:"w",w:"e",nw:"ne",ne:"nw",se:"sw",sw:"se"},d8={n:"s",s:"n",nw:"sw",ne:"se",se:"ne",sw:"nw"},f8={overlay:1,selection:1,n:null,e:1,s:null,w:-1,nw:-1,ne:1,se:1,sw:-1},h8={overlay:1,selection:1,n:-1,e:null,s:1,w:null,nw:-1,ne:-1,se:1,sw:1};function p8(e){return{type:e}}function g8(e){return!e.ctrlKey&&!e.button}function m8(){var e=this.ownerSVGElement||this;return e.hasAttribute("viewBox")?[[(e=e.viewBox.baseVal).x,e.y],[e.x+e.width,e.y+e.height]]:[[0,0],[e.width.baseVal.value,e.height.baseVal.value]]}function v8(){return navigator.maxTouchPoints||"ontouchstart"in this}function b8(e){for(;!e.__brush;)if(!(e=e.parentNode))return;return e.__brush}function y8(){return function(e){var t,n=m8,r=g8,i=v8,a=!0,o=s6("start","brush","end"),s=6;function l(t){var n=t.property("__brush",g).selectAll(".overlay").data([p8("overlay")]);n.enter().append("rect").attr("class","overlay").attr("pointer-events","all").attr("cursor",c8.overlay).merge(n).each((function(){var e=b8(this).extent;i6(this).attr("x",e[0][0]).attr("y",e[0][1]).attr("width",e[1][0]-e[0][0]).attr("height",e[1][1]-e[0][1])})),t.selectAll(".selection").data([p8("selection")]).enter().append("rect").attr("class","selection").attr("cursor",c8.selection).attr("fill","#777").attr("fill-opacity",.3).attr("stroke","#fff").attr("shape-rendering","crispEdges");var r=t.selectAll(".handle").data(e.handles,(function(e){return e.type}));r.exit().remove(),r.enter().append("rect").attr("class",(function(e){return"handle handle--"+e.type})).attr("cursor",(function(e){return c8[e.type]})),t.each(c).attr("fill","none").attr("pointer-events","all").on("mousedown.brush",f).filter(i).on("touchstart.brush",f).on("touchmove.brush",h).on("touchend.brush touchcancel.brush",p).style("touch-action","none").style("-webkit-tap-highlight-color","rgba(0,0,0,0)")}function c(){var e=i6(this),t=b8(this).selection;t?(e.selectAll(".selection").style("display",null).attr("x",t[0][0]).attr("y",t[0][1]).attr("width",t[1][0]-t[0][0]).attr("height",t[1][1]-t[0][1]),e.selectAll(".handle").style("display",null).attr("x",(function(e){return"e"===e.type[e.type.length-1]?t[1][0]-s/2:t[0][0]-s/2})).attr("y",(function(e){return"s"===e.type[0]?t[1][1]-s/2:t[0][1]-s/2})).attr("width",(function(e){return"n"===e.type||"s"===e.type?t[1][0]-t[0][0]+s:s})).attr("height",(function(e){return"e"===e.type||"w"===e.type?t[1][1]-t[0][1]+s:s}))):e.selectAll(".selection,.handle").style("display","none").attr("x",null).attr("y",null).attr("width",null).attr("height",null)}function u(e,t,n){var r=e.__brush.emitter;return!r||n&&r.clean?new d(e,t,n):r}function d(e,t,n){this.that=e,this.args=t,this.state=e.__brush,this.active=0,this.clean=n}function f(n){if((!t||n.touches)&&r.apply(this,arguments)){var i,o,s,l,d,f,h,p,g,m,v,b=this,y=n.target.__data__.type,_="selection"===(a&&n.metaKey?y="overlay":y)?K4:a&&n.altKey?t8:e8,w=e===l8?null:f8[y],x=e===s8?null:h8[y],k=b8(b),C=k.extent,A=k.selection,S=C[0][0],E=C[0][1],M=C[1][0],R=C[1][1],T=0,L=0,D=w&&x&&a&&n.shiftKey,O=Array.from(n.touches||[n],(e=>{const t=e.identifier;return(e=a6(e,b)).point0=e.slice(),e.identifier=t,e}));C4(b);var F=u(b,arguments,!0).beforestart();if("overlay"===y){A&&(g=!0);const t=[O[0],O[1]||O[0]];k.selection=A=[[i=e===l8?S:i8(t[0][0],t[1][0]),s=e===s8?E:i8(t[0][1],t[1][1])],[d=e===l8?M:r8(t[0][0],t[1][0]),h=e===s8?R:r8(t[0][1],t[1][1])]],O.length>1&&I(n)}else i=A[0][0],s=A[0][1],d=A[1][0],h=A[1][1];o=i,l=s,f=d,p=h;var z=i6(b).attr("pointer-events","none"),P=z.selectAll(".overlay").attr("cursor",c8[y]);if(n.touches)F.moved=j,F.ended=B;else{var N=i6(n.view).on("mousemove.brush",j,!0).on("mouseup.brush",B,!0);a&&N.on("keydown.brush",W,!0).on("keyup.brush",$,!0),function(e){var t=e.document.documentElement,n=i6(e).on("dragstart.drag",v4,m4);"onselectstart"in t?n.on("selectstart.drag",v4,m4):(t.__noselect=t.style.MozUserSelect,t.style.MozUserSelect="none")}(n.view)}c.call(b),F.start(n,_.name)}function j(e){for(const t of e.changedTouches||[e])for(const e of O)e.identifier===t.identifier&&(e.cur=a6(t,b));if(D&&!m&&!v&&1===O.length){const e=O[0];n8(e.cur[0]-e[0])>n8(e.cur[1]-e[1])?v=!0:m=!0}for(const e of O)e.cur&&(e[0]=e.cur[0],e[1]=e.cur[1]);g=!0,Z4(e),I(e)}function I(e){const t=O[0],n=t.point0;var r;switch(T=t[0]-n[0],L=t[1]-n[1],_){case Q4:case K4:w&&(T=r8(S-i,i8(M-d,T)),o=i+T,f=d+T),x&&(L=r8(E-s,i8(R-h,L)),l=s+L,p=h+L);break;case e8:O[1]?(w&&(o=r8(S,i8(M,O[0][0])),f=r8(S,i8(M,O[1][0])),w=1),x&&(l=r8(E,i8(R,O[0][1])),p=r8(E,i8(R,O[1][1])),x=1)):(w<0?(T=r8(S-i,i8(M-i,T)),o=i+T,f=d):w>0&&(T=r8(S-d,i8(M-d,T)),o=i,f=d+T),x<0?(L=r8(E-s,i8(R-s,L)),l=s+L,p=h):x>0&&(L=r8(E-h,i8(R-h,L)),l=s,p=h+L));break;case t8:w&&(o=r8(S,i8(M,i-T*w)),f=r8(S,i8(M,d+T*w))),x&&(l=r8(E,i8(R,s-L*x)),p=r8(E,i8(R,h+L*x)))}f<o&&(w*=-1,r=i,i=d,d=r,r=o,o=f,f=r,y in u8&&P.attr("cursor",c8[y=u8[y]])),p<l&&(x*=-1,r=s,s=h,h=r,r=l,l=p,p=r,y in d8&&P.attr("cursor",c8[y=d8[y]])),k.selection&&(A=k.selection),m&&(o=A[0][0],f=A[1][0]),v&&(l=A[0][1],p=A[1][1]),A[0][0]===o&&A[0][1]===l&&A[1][0]===f&&A[1][1]===p||(k.selection=[[o,l],[f,p]],c.call(b),F.brush(e,_.name))}function B(e){if(function(e){e.stopImmediatePropagation()}(e),e.touches){if(e.touches.length)return;t&&clearTimeout(t),t=setTimeout((function(){t=null}),500)}else!function(e,t){var n=e.document.documentElement,r=i6(e).on("dragstart.drag",null);t&&(r.on("click.drag",v4,m4),setTimeout((function(){r.on("click.drag",null)}),0)),"onselectstart"in n?r.on("selectstart.drag",null):(n.style.MozUserSelect=n.__noselect,delete n.__noselect)}(e.view,g),N.on("keydown.brush keyup.brush mousemove.brush mouseup.brush",null);z.attr("pointer-events","all"),P.attr("cursor",c8.overlay),k.selection&&(A=k.selection),function(e){return e[0][0]===e[1][0]||e[0][1]===e[1][1]}(A)&&(k.selection=null,c.call(b)),F.end(e,_.name)}function W(e){switch(e.keyCode){case 16:D=w&&x;break;case 18:_===e8&&(w&&(d=f-T*w,i=o+T*w),x&&(h=p-L*x,s=l+L*x),_=t8,I(e));break;case 32:_!==e8&&_!==t8||(w<0?d=f-T:w>0&&(i=o-T),x<0?h=p-L:x>0&&(s=l-L),_=Q4,P.attr("cursor",c8.selection),I(e));break;default:return}Z4(e)}function $(e){switch(e.keyCode){case 16:D&&(m=v=D=!1,I(e));break;case 18:_===t8&&(w<0?d=f:w>0&&(i=o),x<0?h=p:x>0&&(s=l),_=e8,I(e));break;case 32:_===Q4&&(e.altKey?(w&&(d=f-T*w,i=o+T*w),x&&(h=p-L*x,s=l+L*x),_=t8):(w<0?d=f:w>0&&(i=o),x<0?h=p:x>0&&(s=l),_=e8),P.attr("cursor",c8[y]),I(e));break;default:return}Z4(e)}}function h(e){u(this,arguments).moved(e)}function p(e){u(this,arguments).ended(e)}function g(){var t=this.__brush||{selection:null};return t.extent=o8(n.apply(this,arguments)),t.dim=e,t}return l.move=function(t,n,r){t.tween?t.on("start.brush",(function(e){u(this,arguments).beforestart().start(e)})).on("interrupt.brush end.brush",(function(e){u(this,arguments).end(e)})).tween("brush",(function(){var t=this,r=t.__brush,i=u(t,arguments),a=r.selection,o=e.input("function"==typeof n?n.apply(this,arguments):n,r.extent),s=qs(a,o);function l(e){r.selection=1===e&&null===o?null:s(e),c.call(t),i.brush()}return null!==a&&null!==o?l:l(1)})):t.each((function(){var t=this,i=arguments,a=t.__brush,o=e.input("function"==typeof n?n.apply(t,i):n,a.extent),s=u(t,i).beforestart();C4(t),a.selection=null===o?null:o,c.call(t),s.start(r).brush(r).end(r)}))},l.clear=function(e,t){l.move(e,null,t)},d.prototype={beforestart:function(){return 1==++this.active&&(this.state.emitter=this,this.starting=!0),this},start:function(e,t){return this.starting?(this.starting=!1,this.emit("start",e,t)):this.emit("brush",e),this},brush:function(e,t){return this.emit("brush",e,t),this},end:function(e,t){return 0==--this.active&&(delete this.state.emitter,this.emit("end",e,t)),this},emit:function(t,n,r){var i=i6(this.that).datum();o.call(t,this.that,new J4(t,{sourceEvent:n,target:l,selection:e.output(this.state.selection),mode:r,dispatch:o}),i)}},l.extent=function(e){return arguments.length?(n="function"==typeof e?e:X4(o8(e)),l):n},l.filter=function(e){return arguments.length?(r="function"==typeof e?e:X4(!!e),l):r},l.touchable=function(e){return arguments.length?(i="function"==typeof e?e:X4(!!e),l):i},l.handleSize=function(e){return arguments.length?(s=+e,l):s},l.keyModifiers=function(e){return arguments.length?(a=!!e,l):a},l.on=function(){var e=o.on.apply(o,arguments);return e===o?l:e},l}(s8)}const _8=(e,t)=>{const n="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ_abcdefghijklmnopqrstuvwxyz-";let r=5381;const i=Array.from(`${e}:${t}`);for(const e of i)r=Math.imul(r,33)+e.charCodeAt(0);const a=new Array(21);let o=Math.abs(r);for(let e=0;e<21;++e)o=(1664525*o+1013904223)%4294967296,a[e]=n[o%64];return a.join("")};class w8 extends CustomEvent{constructor(e){super("zoom",{detail:e})}}const x8=()=>{return p4(1,e);var e},k8=()=>{return p4(4,e);var e},C8=(e,t=A8)=>{const[n,r]=A(e),i=C(n),a=C(t);return S((()=>{a.current=t}),[t]),S((()=>{i.current=n,a.current(i.current)}),[n]),[i,n,r]},A8=()=>{},S8=e=>e?e<0?0:e:0;var E8={timelineContainer:"styles_timelineContainer__3SW8x",durationRangeText:"styles_durationRangeText__kjCEl",timelineChart:"styles_timelineChart__sjwgA",axises:"styles_axises__nnLwP",xAxis:"styles_xAxis__w8pk1",xGrid:"styles_xGrid__2cimK",groupAxis:"styles_groupAxis__8rzsA",group:"styles_group__-lm0v",segment:"styles_segment__tDYtR",brusher:"styles_brusher__iTl0A",zoomSelection:"styles_zoomSelection__W-Y0x",brush:"styles_brush__5MVEw",tooltip:"styles_tooltip__WgR7o",tooltipContent:"styles_tooltipContent__qmhxV",labelGroup:"styles_labelGroup__wJsCk"};const M8=()=>g4(),R8={top:0,right:0,bottom:20,left:0},T8=300,L8=20,D8=()=>{},O8=e=>{const{width:t=T8,height:n=L8,margins:r=R8,domainRange:i,currentSelection:a,tickFormat:o,onChange:s=D8,onReset:l=D8,selectedTestsCount:c,totalTestsCount:u,translations:d,transitionDuration:f=300}=e,h=S8(t-r.left-r.right),p=S8(n-r.top-r.bottom),[g,m,v]=C8((()=>Jl().domain(i).range([0,h])));S((()=>{v((()=>Jl().domain(i).range([0,h])))}),[i,h]);const b=C(null),y=C(null),_=C(null),w=C(null),x=C(null),k=C(null),A=C(s),E=C(l);S((()=>{A.current=s,E.current=l}),[s,l]);const M=C(M8().tickFormat((()=>""))),R=C(M8().tickPadding(0)),T=C(y8().handleSize(24).on("end",(e=>{if(!e.sourceEvent||!g.current||!A.current)return;if(!(e.selection&&2===e.selection.length)){const[e,t]=g.current.domain();return void A.current(e,t)}const[t,n]=e.selection.map((e=>m.invert(e)));A.current(t,n)})));S((()=>{if(!b.current||!m)return;if(!i||i[1]<=i[0])return;const[e,t]=i,n=(t-e)/6,s=[];for(let t=0;t<7;t++)s.push(e+n*t);if(s[0]=e,s[6]=t,R.current.scale(m).tickFormat(o).tickValues(s),M.current.scale(m).tickSize(-p).tickValues(s),i6(y.current).attr("transform",`translate(${r.left},${r.top})`),i6(_.current).exit().transition().duration(f).attr("width",0).attr("height",0),w.current&&(i6(w.current).attr("transform",`translate(0,${p})`),i6(w.current).call(M.current)),x.current&&(i6(x.current).attr("transform",`translate(0,${p})`),i6(x.current).call(R.current).selectAll("text").attr("y",8)),k.current){const e=i6(k.current);e.select(".selection").attr("rx",2).attr("ry",2),e.call(T.current.extent([[0,0],[h,p]]));const t=[m(a[0]??i[0]),m(a[1]??i[1])];T.current.move(e,t)}}),[r,m,i,a,o,h,p,f]);const L=(c/u*100).toFixed(2);return yi("svg",{ref:b,className:E8.brusher,width:t,height:n+14,children:yi("g",{ref:y,className:E8.brusherMargins,children:[yi("rect",{ref:_,className:E8.gridBackground}),yi("g",{ref:k,className:E8.brush}),yi("g",{className:E8.axises,children:[yi("g",{ref:w,className:E8.xGrid}),yi("g",{ref:x,className:E8.xAxis}),yi("text",{x:h/2,y:60,textAnchor:"middle",className:E8.durationRangeText,children:d.selected({count:c,percentage:L,minDuration:fo(a[0]),maxDuration:fo(a[1])})})]})]})})},F8=e=>{const{segments:t,groupId:n,groupName:r,offsetTime:i}=e,[a,o]=R((()=>{let e=1/0,r=-1/0;const i=t.filter((e=>e.groupId===n));for(const t of i)e=Math.min(e,t.timeRange[0].getTime()),r=Math.max(r,t.timeRange[1].getTime());return[e,r]}),[t,n]);return yi("div",{className:E8.tooltipContent,children:[yi("div",{children:r}),yi("div",{children:[fo(a-i)," — ",fo(o-i)]})]})},z8=k(null),P8=e=>{const{children:t,width:n}=e;return yi(z8.Provider,{value:n,children:t})},N8=()=>{},j8=e=>{const{children:t,width:n,onResize:r,debounceResize:i=0}=e,[a]=pP(n,i);return S((()=>{r?.(a)}),[a,r]),a>0?yi(P8,{width:a,children:t}):null},I8=e=>{const{children:t,defaultWidth:n=0,onResize:r=N8,debounceResize:i=0}=e,a=C(null),[o,s]=A(n);return S((()=>{if(!a.current)return;s(a.current.clientWidth);const e=new ResizeObserver((e=>{for(const t of e)s(t.target.clientWidth)}));return e.observe(a.current),()=>e.disconnect()}),[n]),yi("div",{ref:a,children:yi(j8,{width:o,onResize:r,debounceResize:i,children:t})})},B8=e=>{const{segment:t,offsetTime:n}=e;if(!t.id)return null;const r=t.labelGroup.length>1;return yi("div",{className:E8.tooltipContent,children:[r?yi("div",{className:E8.labelGroup,children:t.labelGroup.map(((e,t)=>yi(Ci,{type:"ui",size:"s",bold:!0,children:e},t)))}):yi(Ci,{type:"ui",size:"s",bold:!0,children:t.label}),yi("div",{children:[fo(t.timeRange[0].getTime()-n)," — ",fo(t.timeRange[1].getTime()-n)]})]})},W8=()=>g4(),$8={top:0,right:0,bottom:20,left:0},q8=300,H8=20,U8=()=>{},V8=e=>{const{width:t=q8,height:n=H8,margins:r=$8,scale:i,domainRange:a,currentSelection:o,tickFormat:s,onChange:l=U8,onReset:c=U8,transitionDuration:u=300}=e,[d,f,h]=C8((()=>i.copy()));S((()=>{h((()=>d.current.domain()===i.domain()&&d.current.range()===i.range()?d.current:i.copy()))}),[i]);const p=S8(t-r.left-r.right),g=S8(n-r.top-r.bottom);S((()=>{h((()=>i.copy().domain(a??[]).range([0,p])))}),[a,p,i]);const m=C(null),v=C(null),b=C(null),y=C(null),_=C(null),w=C(null),x=C(l),k=C(c),A=C(W8().tickFormat((()=>""))),E=C(W8().tickPadding(0)),M=C(y8().handleSize(24).on("end",(e=>{if(!e.sourceEvent||!d.current||!x.current)return;if(!(e.selection&&2===e.selection.length)){const[e,t]=d.current.domain();return void x.current(e,t)}const[t,n]=e.selection.map((e=>d.current.invert(e)));x.current(t,n)})));return S((()=>{x.current=l,k.current=c}),[l,c]),S((()=>{if(m.current&&f&&a&&!(a[1]<=a[0])&&(E.current.scale(f).tickFormat(s),A.current.scale(f).tickSize(-g),A.current.ticks(7),i6(v.current).attr("transform",`translate(${r.left},${r.top})`),i6(b.current).transition().duration(u).attr("width",String(p)).attr("height",String(g)),y.current&&(i6(y.current).attr("transform",`translate(0,${g})`),i6(y.current).call(A.current)),_.current&&(i6(_.current).attr("transform",`translate(0,${g})`),i6(_.current).call(E.current).selectAll("text").attr("y",8)),w.current)){const e=i6(w.current);e.select(".selection").attr("rx",2).attr("ry",2),e.call(M.current.extent([[0,0],[p,g]]));const t=[f(o?.[0]??a[0].getTime()),f(o?.[1]??a[1].getTime())];M.current.move(e,t)}}),[p,g,r,a,o,s,f,u]),yi("svg",{ref:m,className:E8.brusher,width:t,height:n,children:yi("g",{ref:v,className:E8.brusherMargins,children:[yi("rect",{ref:b,className:E8.gridBackground}),yi("g",{ref:w,className:E8.brush}),yi("g",{className:E8.axises,children:[yi("g",{ref:y,className:E8.xGrid}),yi("g",{ref:_,className:E8.xAxis})]})]})})};i6.prototype.transition=t4;const Y8=e=>{const t={failed:"var(--timeline-status-failed, var(--color-status-failed-chart))",broken:"var(--timeline-status-broken, var(--color-status-broken-chart))",passed:"var(--timeline-status-passed, var(--color-status-passed-chart))",skipped:"var(--timeline-status-skipped, var(--color-status-skipped-chart))",unknown:"var(--timeline-status-unknown, var(--color-status-unknown-chart))"};return t[e]||t.unknown},G8=e=>{const t={failed:"var(--color-status-failed-text)",broken:"var(--color-status-broken-text)",passed:"var(--color-status-passed-text)",skipped:"var(--color-status-skipped-text)",unknown:"var(--color-status-unknown-text)"};return t[e]||t.unknown},X8=e=>{if(e>=20)return 4;if(e<4)return 0;const t=(e-4)/16;return 4*(t*(2-t))},J8=100,Z8=100,K8=26,Q8=20,e7=e=>{const{data:t=[],translations:n,onTestResultClick:r}=e,i=L(),{durationRange:a,handleDurationChange:o,durationDomain:s}=(e=>{const t=R((()=>{const t=e.reduce(((e,t)=>{const n=t.segments.map((e=>e.val));return{min:Math.min(e.min,...n),max:Math.max(e.max,...n)}}),{min:1/0,max:-1/0});return[t.min,t.max]}),[e]),[n,r]=A(t[0]),[i,a]=A(t[1]);S((()=>{r(t[0])}),[t[0]]),S((()=>{a(t[1])}),[t[1]]);const o=E(((e,t)=>{r(e),a(t)}),[]);return{durationRange:[n,i],handleDurationChange:o,durationDomain:t}})(t),l=(()=>{const e=M(z8);if(!e)throw new Error("useWidth must be used within a ResponsiveWrapper");return e})(),c=C(null),u=C(null),d=C(null),f=C(null),h=C(null),p=C(null),[g,m,v]=C8((()=>kl())),[b,y,_]=C8((()=>_l())),w=C(g4()),x=C(x8()),k=C(k8()),{tooltipRef:T,isVisible:D,handleShowTooltip:O,handleHideTooltip:F,data:z}=E1("bottom"),{tooltipRef:P,isVisible:N,handleShowTooltip:j,handleHideTooltip:I,data:B}=E1("bottom"),W=$Z?0:500,$=$Z?0:150,q=C(!1),H=t.length,U=S8(l-J8-Z8),V=S8(24*H),Y=V+K8+30,G=R((()=>{const e=[];for(const n of t)for(const t of n.segments)e.push({groupId:n.id,groupName:n.name,label:t.label,labelGroup:t.labelGroup,timeRange:t.timeRange,isRetry:t.isRetry,val:t.val,labelVal:t.val,segment:t,id:t.id});return e}),[t]),X=R((()=>t.map((e=>({id:e.id,name:e.name})))),[t]),J=R((()=>[ml(G,(e=>e.timeRange[0])),gl(G,(e=>e.timeRange[1]))]),[G]),[Z,K]=A(J),[Q,ee]=A([null,null]),te=E((e=>{K((t=>((e,t)=>{if(!e&&!t)return!0;if(!e&&t)return!1;if(e&&!t)return!1;const n=e?.[0]?.getTime()??void 0,r=e?.[1]?.getTime()??void 0,i=t?.[0]?.getTime()??void 0,a=t?.[1]?.getTime()??void 0;return n===i&&r===a})(t,e)?t:e))}),[]),ne=E((e=>{ee((t=>((e,t)=>{if(!e&&!t)return!0;if(!e&&t)return!1;if(e&&!t)return!1;const n=e?.[0]??void 0,r=e?.[1]??void 0;return n===(t?.[0]??void 0)&&r===(t?.[1]??void 0)})(t,e)?t:e))}),[]),[re,ie,ae]=C8((()=>Sd().domain(J).range([0,U]).clamp(!0)));S((()=>{ae((()=>re.current.copy().domain(J))),te(J)}),[...J,te]),S((()=>{ae((()=>re.current.copy().range([0,U]).clamp(!0)))}),[U]);const oe=R((()=>[ml(G,(e=>e.timeRange[0])),gl(G,(e=>e.timeRange[1]))]),[G]);S((()=>{if(!c.current)return;const e=e=>{const{zoomX:t,zoomY:n}=e.detail;t&&te(t),n&&ne(n)};if(c.current?.addEventListener("zoom",e),!u.current)return;const t=i6(u.current),n=e=>a6(e,u.current);return t.on("mousedown",(e=>{if(null!=i6(window).on("mousemove.zoomRect"))return;const r=n(e);if(r[0]<0||r[0]>U||r[1]<0||r[1]>V)return;q.current=!0;const i=t.append("rect").attr("class",E8.zoomSelection);i6(window).on("mousemove.zoomRect",(e=>{e.stopPropagation();const t=n(e),a=[Math.max(0,Math.min(U,t[0])),Math.max(0,Math.min(V,t[1]))];i.attr("x",Math.min(r[0],a[0])).attr("y",Math.min(r[1],a[1])).attr("width",Math.abs(a[0]-r[0])).attr("height",Math.abs(a[1]-r[1]))})).on("mouseup.zoomRect",(e=>{i6(window).on("mousemove.zoomRect",null).on("mouseup.zoomRect",null),i.remove(),q.current=!1;const t=n(e),a=[Math.max(0,Math.min(U,t[0])),Math.max(0,Math.min(V,t[1]))];if(r[0]===a[0]&&r[1]===a[1])return;const o=[r[0],a[0]].sort(el).map((e=>re.current.invert(e)));o[1].getTime()-o[0].getTime()>10&&c.current?.dispatchEvent(new w8({zoomX:o,zoomY:null}))}),!0),e.stopPropagation()})),()=>{c.current?.removeEventListener("zoom",e)}}),[U,V,Q,G,te,ne,y]),S((()=>{const e=Z?.[0]&&Z?.[1]?Z:J;ae((()=>re.current.copy().domain(e).range([0,U]).clamp(!0)))}),[Z,J,U]),S((()=>{k.current.scale(y)}),[y,X]),S((()=>{_((()=>b.current.copy().domain(X.map((e=>e.id))).range(X.map(((e,t)=>(t+.5)/H*V)))))}),[X,H,V]),S((()=>{v((()=>g.current.copy().domain(X.map((e=>e.id))).range([V/X.length*.5,V*(1-.5/X.length)])))}),[X,V,H]),S((()=>{if(!(c.current&&ie&&0!==V&&f.current&&h.current))return;const[e,t]=ie.range();if(e===t)return;w.current.scale(ie),w.current.ticks(7),w.current.tickFormat((e=>oe[0]?fo(e.getTime()-oe[0].getTime()):"")),x.current.scale(ie).ticks(7).tickFormat((()=>""));i6(f.current).style("stroke-opacity",0).style("fill-opacity",0).attr("transform",`translate(0,${V})`).transition().duration(W).call(w.current).style("stroke-opacity",1).style("fill-opacity",1),x.current.tickSize(V),i6(h.current).attr("transform",`translate(0,${V})`).transition().duration(W).call(x.current);const n=Math.ceil(2*H/Math.sqrt(2)/V/.6),r=g.current.domain().filter(((e,t)=>!(t%n)));let i=Math.min(12,V/r.length*.6*Math.sqrt(2)),a=Math.ceil(Z8/(i/Math.sqrt(2)));const o=y.range(),s=ml(o,((e,t)=>t>0?e-o[t-1]:2*e));i=Math.min(14,.6*S8(s)*Math.sqrt(2)),a=Math.floor(J8/(i/Math.sqrt(2))),k.current.tickFormat((e=>{const t=X.find((t=>t.id===e)),n=t?.name??"";return n.length<=a?n:`${n.substring(0,2*a/3)}...${n.substring(n.length-a/3,n.length)}`})),i6(p.current).transition().duration(W).style("font-size",`${i}px`).call(k.current),i6(p.current).selectAll(".tick").each((function(e){const t=e,n=X.find((e=>e.id===t));n&&i6(this).select("text").on("mouseover",(e=>{O(e.target,n)})).on("mouseout",(e=>{F(e.target)}))}))}),[U,V,H,W,oe,ie,y,X,O,F]),S((()=>{if(!u.current||0===V)return;const e=i6(u.current).selectAll(`rect.${E8.group}`).data(X,(e=>e.id));e.exit().transition().duration(W).style("stroke-opacity",0).style("fill-opacity",0).remove();const t=e.enter().append("rect").attr("class",E8.group).attr("x",0).attr("y",0).attr("height",0).attr("fill","none").style("fill-opacity",0).style("stroke-opacity",0);e.merge(t).transition().duration(W).attr("width",U).attr("height",V/H).attr("y",(e=>{const t=y(e.id);return Number.isInteger(t)?t-V/H/2:0})).style("fill-opacity",1).style("stroke-opacity",1)}),[X,U,V,H,W,y,O,F]);const[se,le]=a,ce=R((()=>G.filter((e=>{if(-1===y.domain().indexOf(e.groupId))return!1;const t=e.val;return!(t<se||t>le)})).length),[y,G,se,le]),ue=R((()=>G.filter((e=>{if(-1===y.domain().indexOf(e.groupId))return!1;const t=e.val;if(t<se||t>le)return!1;const[n,r]=ie.domain(),[i,a]=e.timeRange;return!(a<n||i>r)}))),[y,ie,G,se,le]);S((()=>{if(!u.current||0===V||!ie)return;(async()=>{const e=i6(u.current);let t=e.selectAll(`rect.${E8.segment}`).data(ue,(e=>e.id));if(0===ue.length)return void t.exit().remove();t.exit().transition().duration(W).style("fill-opacity",0).remove();const n=t.enter().append("rect").attr("class",E8.segment).attr("data-testid","timeline-segment").attr("data-test-result-id",(e=>e.segment.testResultId)).attr("data-test-result-name",(e=>e.segment.label)).attr("rx",1).attr("ry",1).attr("x",(e=>ie(e.timeRange[0]))).attr("y",(e=>(m(e.groupId)||0)-10)).attr("width",0).attr("height",0).style("fill",(e=>Y8(e.segment.status))).style("fill-opacity",0);n.on("mouseover",(function(e,t){if(q.current)return;i6(this).transition().duration($).attr("x",re.current(t.timeRange[0])-1).attr("width",gl([2,re.current(t.timeRange[1])-re.current(t.timeRange[0])])+2).attr("y",(g.current(t.groupId)||0)-11).attr("height",22).style("fill-opacity",1),j(e.target,t)})).on("mouseout",(function(e,t){if(q.current)return;const n=re.current(t.timeRange[1])-re.current(t.timeRange[0]);i6(this).transition().duration($).attr("x",re.current(t.timeRange[0])).attr("width",gl([2,n])??0).attr("y",(g.current(t.groupId)??0)-10).attr("height",Q8).style("fill-opacity",1),I(e.target)})),t=t.merge(n),t.on("click",((e,t)=>{r?.(t.segment.testResultId)})).attr("rx",(e=>{const t=ie(e.timeRange[1])-ie(e.timeRange[0]);return X8(t)})).attr("ry",(e=>{const t=ie(e.timeRange[1])-ie(e.timeRange[0]);return X8(t)})).attr("stroke-width",(e=>ie(e.timeRange[1])-ie(e.timeRange[0])>=12?.5:.1)).attr("stroke","var(--timeline-bg, #ffffff)").attr("height",Q8),t.transition().duration(W).attr("x",(e=>ie(e.timeRange[0]))).attr("y",(e=>(m(e.groupId)||0)-10)).attr("width",(e=>{const t=gl([2,(ie(e.timeRange[1])??0)-(ie(e.timeRange[0])??0)]);return(t??0)<0?0:t??0})).attr("height",Q8).style("fill",(e=>e.isRetry?`url(#gradient-${i}-${e.segment.status})`:Y8(e.segment.status))).style("fill-opacity",1)})()}),[ue,U,V,W,Z,ie,$,m,i,r]),S((()=>{c.current&&i6(c.current).transition().duration(W).attr("width",l).attr("height",Y)}),[l,Y,W]);const de=E(((e,t)=>te([e,t])),[te]),[fe,he]=ie.range(),pe=fe!==he;return pe?yi("div",{className:E8.timelineChart,children:[s[0]!==s[1]&&pe&&yi(O8,{selectedTestsCount:ce,totalTestsCount:G.length,translations:n,width:l,height:76,margins:{top:K8,right:Z8,bottom:30,left:J8},domainRange:s,currentSelection:[se,le],onChange:o,onReset:()=>o(s[0],s[1]),tickFormat:e=>fo(e)},l),yi("svg",{ref:c,width:l,height:Y,children:[yi("defs",{children:no.map((e=>yi("pattern",{id:`gradient-${i}-${e}`,patternUnits:"userSpaceOnUse",width:"10",height:"10",patternTransform:"rotate(-45 5 5)",children:[yi("rect",{width:"5",height:"10",fill:G8(e)}),yi("rect",{x:"5",width:"5",height:"10",fill:Y8(e)})]},e)))}),yi("g",{ref:d,className:E8.axises,"data-label":"axises",transform:"translate(100,26)",children:[yi("g",{ref:f,className:E8.xAxis,"data-label":"x-axis"}),yi("g",{ref:h,className:E8.xGrid,"data-label":"grid"}),yi("g",{ref:p,className:E8.groupAxis,"data-label":"groups-axis"})]}),yi("g",{ref:u,"data-label":"graph",transform:"translate(100,26)",children:yi("rect",{"data-label":"graph-selection",x:0,y:0,width:U,height:V,fill:"transparent"})})]}),J[0].getTime()!==J[1].getTime()&&pe&&yi(V8,{width:l,height:76,margins:{top:K8,right:Z8,bottom:30,left:J8},scale:ie,domainRange:J,currentSelection:Z,onChange:de,onReset:()=>te(J),tickFormat:e=>fo(e.getTime()-oe[0].getTime())}),Tm(yi("div",{ref:T,"data-visible":D,className:E8.tooltip,children:z?.id&&yi(F8,{segments:ue,groupId:z.id,groupName:z.name,offsetTime:oe[0].getTime()})}),document.body),Tm(yi("div",{ref:P,"data-visible":N,className:E8.tooltip,children:B&&yi(B8,{segment:B,offsetTime:oe[0].getTime()})}),document.body)]}):null},t7=e=>{const{data:t,width:n,dataId:r,...i}=e,a=R((()=>((e,t)=>{const n=[];for(const r of e){const{host:e,thread:i,id:a,start:o,duration:s,status:l,isRetry:c,name:u}=r,d=o+s,f=_8(e,t),h=_8(i,f),p=n.find((({id:e})=>e===h)),g=p?.segments??[],m=a,v=-1!==g.findIndex((({id:e})=>e===m)),b=g.find((({timeRange:e})=>e[0].getTime()===o&&e[1].getTime()===d));v||b||g.push({label:u,labelGroup:[u],timeRange:[new Date(o),new Date(d)],val:s,status:l,id:m,testResultId:a,isRetry:c}),!v&&b&&b.labelGroup.push(r.name),p?p.segments=g:n.push({id:h,name:i,segments:g})}return n})(t,r)),[t,r]);return yi("div",{className:E8.timelineContainer,children:yi(I8,{defaultWidth:n,children:yi(e7,{...i,data:a},r)})})};var n7={"metadata-item-title":"styles_metadata-item-title__vvDM7","metadata-item-value":"styles_metadata-item-value__cfOcH","metadata-test-type":"styles_metadata-test-type__g74xb","metadata-color-badge":"styles_metadata-color-badge__Aartr","status-passed":"styles_status-passed__t6OIX","status-failed":"styles_status-failed__cyIIg","status-broken":"styles_status-broken__B3Hmt","status-skipped":"styles_status-skipped__cvNTT","status-unknown":"styles_status-unknown__FvkCG"};const r7=({count:e})=>yi(Ci,{"data-testid":"metadata-value",type:"ui",size:"m",tag:"div",className:n7["metadata-item-value"],children:e}),i7=({status:e,count:t})=>yi("div",{"data-testid":"metadata-value",className:n7["metadata-test-type"],children:[yi("div",{className:ae(n7["metadata-color-badge"],n7?.[`status-${e}`])}),yi(Ci,{type:"ui",size:"s",children:t})]}),a7=({className:e,renderComponent:t=r7,props:n,...r})=>{const{title:i}=n||{};return yi("div",{...r,className:ae("metadata-item",e),children:[yi(Ci,{type:"ui",size:"s",tag:"div",className:n7["metadata-item-title"],children:i}),yi(t||r7,{...n})]})};var o7={wrapper:"styles_wrapper__PZ24k",row:"styles_row__ndzQ1",pie:"styles_pie__bR8Vy",content:"styles_content__xx8wB",header:"styles_header__Lb-Ke",title:"styles_title__T589E",createdAt:"styles_createdAt__lBtju",reportStatus:"styles_reportStatus__gG5y4",metadata:"styles_metadata__4u-BW",statistics:"styles_statistics__RgaOy",pluginName:"styles_pluginName__c3AiZ"};const s7=e=>{const{createdAt:t,i18n:n}=e;if(!t)return null;const r=n("createdAt",{createdAt:t})??new Date(t).toLocaleDateString("en-US",{month:"long",day:"numeric",year:"numeric",hour:"numeric",minute:"numeric",second:"numeric"});return yi(Ci,{tag:"time",size:"s",className:o7.createdAt,dateTime:t.toString(),children:r})},l7=e=>{const{statistic:t,i18n:n}=e,{percentage:r,slices:i}=ah(t);return yi(wX,{className:o7.chart,slices:i,percentage:r,i18n:(e,t)=>n(e.startsWith("status.")?e:`successRate.${e}`,t)??e})},c7=e=>{const{status:t,duration:n,i18n:r}=e,i=fo(n);return yi("p",{className:o7.reportStatus,children:[yi(OC,{status:t,children:r(`status.${t}`)??t}),yi("span",{children:[yi(Ci,{type:"ui",size:"s",children:r("in")??"in"}),yi("span",{children:" "}),yi(Ci,{type:"ui",size:"s",bold:!0,children:i})]})]})},u7=e=>e>999?"999+":e,d7=e=>{const{flakyCount:t=0,newCount:n=0,retryCount:r=0,i18n:i}=e;return yi("div",{className:o7.metadata,children:[yi(uE,{tooltip:i("metadata.new",{count:n})??`${n} new tests`,icon:wi.testNew,children:0===n?"-":u7(n)}),yi(uE,{tooltip:i("metadata.flaky",{count:t})??`${t} flaky tests`,icon:wi.lineIconBomb2,children:0===t?"-":u7(t)}),yi(uE,{tooltip:i("metadata.retry",{count:r})??`${r} retry tests`,icon:wi.lineGeneralZap,children:0===r?"-":u7(r)})]})},f7=e=>{const{stats:t,i18n:n}=e,r=R((()=>["failed","broken","passed","skipped","unknown"].map((e=>({label:sy(n(`status.${e}`)??e),value:t[e],status:e}))).filter((e=>e.value&&e.value>0))),[t,n]);return yi("div",{className:o7.statistics,children:[yi(a7,{props:{count:t.total,title:n("total")??"Total"},renderComponent:i7}),r.map((e=>yi(a7,{props:{count:e.value,title:e.label,status:e.status},renderComponent:i7},e.label)))]})},h7=e=>{const{summary:t,i18n:n}=e,{href:r,remoteHref:i,status:a,stats:o,name:s,duration:l,createdAt:c,newTests:u,flakyTests:d,retryTests:f,plugin:h}=t,p=i||r,g="string"==typeof p;return yi(g?"a":"div",{className:o7.wrapper,...g?{href:p,target:"_blank",rel:"noreferrer"}:{},onClick:g?e=>{""!==window.getSelection()?.toString()&&e.preventDefault()}:void 0,"data-testid":"summary-report-card",draggable:!1,children:[yi("div",{className:o7.row,children:[yi("div",{className:o7.content,children:[yi("div",{className:o7.header,children:[h&&yi(Ai,{type:"ui",tag:"small",size:"s",className:o7.pluginName,children:h}),yi(Si,{tag:"h2",size:"s",className:o7.title,children:s}),yi(s7,{createdAt:c,i18n:n}),yi(c7,{status:a,duration:l,i18n:n})]}),yi(d7,{newCount:u?.length,flakyCount:d?.length,retryCount:f?.length,i18n:n})]}),yi("div",{className:o7.pie,children:yi(l7,{statistic:o,i18n:n})})]}),yi(f7,{stats:o,i18n:n})]})};export{Zm as ArrowButton,qk as Attachment,uv as AttachmentCode,Hk as AttachmentEmpty,dv as AttachmentImage,ky as AttachmentTable,Cy as AttachmentVideo,Ri as Button,Di as ButtonLink,Ai as Code,Uk as CodeViewer,SC as Counter,z3 as CurrentStatusChartWidget,XQ as DEFAULT_HEAT_MAP_EMPTY_ARIA_LABEL,UQ as DEFAULT_HEAT_MAP_EMPTY_COLOR,GQ as DEFAULT_HEAT_MAP_EMPTY_LABEL,KQ as DEFAULT_HEAT_MAP_FORCE_SQUARE,VQ as DEFAULT_HEAT_MAP_HEIGHT,QQ as DEFAULT_HEAT_MAP_VALUE_FORMAT,YQ as DEFAULT_HEAT_MAP_WIDTH,JQ as DEFAULT_HEAT_MAP_X_INNER_PADDING,ZQ as DEFAULT_HEAT_MAP_Y_INNER_PADDING,Li as DropdownButton,U3 as DurationDynamicsChartWidget,$3 as DurationsChartWidget,iv as EmptyView,XS as Grid,nE as GridItem,Si as Heading,a0 as HeatMap,o0 as HeatMapWidget,Ty as HtmlPreview,F_ as HttpAttachment,Ti as IconButton,uE as IconLabel,wy as ImageDiff,LC as Label,rE as LanguagePicker,RC as Link,om as LinkifiedText,sm as Loadable,Ok as MarkdownPreview,Gm as Menu,Ik as MermaidPreview,oC as Modal,to as OverviewLink,cm as PageLoader,jC as ReportLogo,PC as ReportLogoFull,h7 as ReportSummaryCard,mm as SearchBox,ki as Spinner,X1 as StabilityDistributionWidget,n2 as StatusAgePyramidChartWidget,N3 as StatusDynamicsChartWidget,OC as StatusLabel,B3 as StatusTransitionsChartWidget,wX as SuccessRatePieChart,xi as SvgIcon,cy as Tag,K1 as TestBaseGrowthDynamicsChartWidget,C2 as TestingPyramidWidget,Ci as Text,aE as ThemeButton,zK as ThemeProvider,t7 as Timeline,MC as Toggle,Ga as Tooltip,Ja as TooltipWrapper,q3 as TrSeveritiesChartWidget,CC as Tree,yC as TreeHeader,mC as TreeItem,cC as TreeItemIcon,DK as TreeMapChart,IK as TreeMapChartWidget,vC as TreeSection,bC as TreeStatusBar,oX as TrendChart,nX as TrendChartKind,sX as TrendChartWidget,$C as Widget,wi as allureIcons,e0 as defaultHeatMapAxisLeftConfig,t0 as defaultHeatMapAxisTopConfig,n0 as defaultHeatMapLegendConfig,HQ as defaultHeatMapMarginConfig,VZ as defaultTreeChartConfig,XG as defaultTrendChartAxisBottomConfig,JG as defaultTrendChartAxisLeftConfig,eX as defaultTrendChartConfig,GG as defaultTrendChartLegendConfig,ZG as defaultTrendChartMarginConfig,KG as defaultTrendChartXScaleConfig,QG as defaultTrendChartYScaleConfig,iX as makeSymlogScale,aX as makeSymlogScaleBySeries,PK as useCoverageDiffColors,jK as useCoverageDiffTextColors,Za as useElementTruncation,NK as useSuccessRateDistributionColors,FK as useTheme,Xa as useTooltip};
|
|
1
|
+
import"./prism-global-B3qB0vXd.js";export{S as SvgIcon,a as allureIcons}from"./index-qMwNH4DY.js";export{B as Button,a as ButtonLink,D as DropdownButton,I as IconButton,S as Spinner}from"./index-k2XcinIa.js";export{A as ArrowButton,C as Counter,L as Label,a as LanguagePicker,b as Link,c as LinkifiedText,d as Loadable,M as MiddleEllipsis,e as Modal,O as OverviewLink,P as PageLoader,R as ReportLogo,f as ReportLogoFull,g as ReportSummaryCard,S as SearchBox,h as StatusLabel,T as ThemeButton,i as Toggle,j as Tree,k as TreeHeader,l as TreeItem,m as TreeItemIcon,n as TreeSection,o as TreeStatusBar,u as useElementTruncation}from"./index-CCQ13d2t.js";export{C as Code,H as Heading,T as Text}from"./index-Dq7O-bm8.js";export{T as Tooltip,a as TooltipWrapper,u as useTooltip}from"./index-BZ-V3udE.js";export{I as ImageDiff,M as Menu,T as Tag}from"./index-Cf1z5wAO.js";import{W as t}from"./index-BzcM2nAl.js";export{I as IconLabel}from"./index-D2c5viX_.js";export{T as ThemeProvider,u as useTheme}from"./index-uBEpZNBn.js";export{E as EmptyView}from"./index-BLcyRUFW.js";import{s as r}from"./Attachment-DFk4AiwI.js";export{A as Attachment,b as AttachmentImage,c as AttachmentVideo,L as LazyComponent}from"./Attachment-DFk4AiwI.js";export{AttachmentCode}from"./AttachmentCode-DLfL9_C7.js";export{AttachmentTable}from"./AttachmentTable-B_2qN3O-.js";export{HtmlPreview}from"./HtmlPreview-u0sa77g5.js";export{MarkdownPreview}from"./MarkdownPreview-BEs6LvOd.js";export{MermaidPreview}from"./MermaidPreview-4EDQwdX3.js";import{u as s}from"./clsx-D83172mf.js";export{CodeViewer}from"./CodeViewer.js";export{HttpAttachment}from"./HttpAttachment-CkQRcAfa.js";export{G as Grid,a as GridItem}from"./GridItem-DI1f2R1r.js";import{a as p}from"./constants-D-YBPtws.js";import{useCallback as v,useMemo as y,useState as x}from"preact/hooks";import{forwardRef as _,Fragment as w,createElement as W,useMemo as F,useRef as z,useState as U,useEffect as V,useCallback as Y,memo as N}from"react";import{F as $,$ as X,c as K,R as q,H as Z,l as J,A as Q,z as ee,M as te,J as ie,K as ne,T as oe,I as re,k as ae,L as le,N as se,D as ue,j as he,P as ce,C as de,V as fe,w as pe,n as ge,g as me,h as ve,e as ye,O as xe}from"./nivo-colors-fVDn0-vW.js";import{Y as be,j as _e,V as Me,q as Te,W as Ce,h as Se}from"./nivo-axes-3Cy5TCy7.js";import{E as we,L as ke}from"./nivo-legends-BIaWaGVX.js";import{g as Ae}from"./_commonjsHelpers-Doe7ti1T.js";import{r as Le}from"./toString-Ccq3A8Sl.js";import{l as De}from"./linear-C7uKb8Tk.js";import{Fragment as Pe}from"preact";import{R as We}from"./index-CbwuBF9w.js";export{T as TestingPyramidWidget}from"./index-CbwuBF9w.js";import{P as Be}from"./line-CEBDCBhb.js";import{E as Ee}from"./EmptyDataStub-CRdg61R2.js";export{SuccessRatePieChart}from"./SuccessRatePieChart.js";export{c as TreeMapChart,T as TreeMapChartWidget,d as defaultTreeChartConfig,u as useCoverageDiffColors,a as useCoverageDiffTextColors,b as useSuccessRateDistributionColors}from"./TreeMapChartWidget-DKXJlnm9.js";export{D as DEFAULT_HEAT_MAP_EMPTY_ARIA_LABEL,a as DEFAULT_HEAT_MAP_EMPTY_COLOR,b as DEFAULT_HEAT_MAP_EMPTY_LABEL,c as DEFAULT_HEAT_MAP_FORCE_SQUARE,d as DEFAULT_HEAT_MAP_HEIGHT,e as DEFAULT_HEAT_MAP_VALUE_FORMAT,f as DEFAULT_HEAT_MAP_WIDTH,g as DEFAULT_HEAT_MAP_X_INNER_PADDING,h as DEFAULT_HEAT_MAP_Y_INNER_PADDING,i as HeatMap,H as HeatMapWidget,j as defaultHeatMapAxisLeftConfig,k as defaultHeatMapAxisTopConfig,l as defaultHeatMapLegendConfig,m as defaultHeatMapMarginConfig}from"./HeatMapWidget-Dqm7-_SB.js";export{StabilityDistributionWidget}from"./StabilityDistributionWidget.js";export{TestBaseGrowthDynamicsChartWidget}from"./TestBaseGrowthDynamicsChartWidget.js";export{StatusAgePyramidChartWidget}from"./StatusAgePyramidChartWidget.js";export{CurrentStatusChartWidget}from"./CurrentStatusChartWidget.js";export{StatusDynamicsChartWidget}from"./StatusDynamicsChartWidget.js";export{StatusTransitionsChartWidget}from"./StatusTransitionsChartWidget.js";export{DurationsChartWidget}from"./DurationsChartWidget.js";export{TrSeveritiesChartWidget}from"./TrSeveritiesChartWidget.js";export{DurationDynamicsChartWidget}from"./DurationDynamicsChartWidget.js";export{T as Timeline}from"./Timeline-BWVXDTn-.js";export{ChartWidget}from"./ChartWidget.js";import"./identity-DBvQ9SaG.js";import"node:crypto";import"./utils-DKmgmsaJ.js";import"./array-B0SXO2zY.js";import"preact/compat";import"./time-CyaymdXm.js";import"./floating-ui.dom-B9YqEzUD.js";import"@preact/signals/utils";import"@preact/signals";import"./index-DYL-tbfk.js";import"./toNumber-Cpsf6DxM.js";import"./upperFirst-jXpCKAQr.js";import"./_stringToArray-aaWSQcKo.js";import"./_baseSlice-CBpWu5XB.js";import"./clipboard-BUUe2rGt.js";import"./index.module-Bdu_gwCw.js";import"react-dom";import"./nivo-annotations-OXtu3nXs.js";import"./omit-Cims_XVO.js";import"./utcTime-ClVTKNFl.js";import"./successRate-rrLYYsum.js";import"./utils-DfVSL1lz.js";import"./config-CgDglkkw.js";import"./index-DQIPuqU4.js";import"./truncate-Bk-Lghrl.js";import"./BarChart-Dmhamjn_.js";import"./useTooltip-VGYCawp2.js";const je=({children:e})=>s("div",{className:r["wrong-attachment-sign"],children:e});var Ie,He;var Re=/*@__PURE__*/Ae(function(){if(He)return Ie;He=1;var e=Le(),t=0;return Ie=function(i){var n=++t;return e(i)+n}}());const Fe=134217729;function ze(e,t,i,n,o){let r,a,l,s,u=t[0],h=n[0],c=0,d=0;h>u==h>-u?(r=u,u=t[++c]):(r=h,h=n[++d]);let f=0;if(c<e&&d<i)for(h>u==h>-u?(a=u+r,l=r-(a-u),u=t[++c]):(a=h+r,l=r-(a-h),h=n[++d]),r=a,0!==l&&(o[f++]=l);c<e&&d<i;)h>u==h>-u?(a=r+u,s=a-r,l=r-(a-s)+(u-s),u=t[++c]):(a=r+h,s=a-r,l=r-(a-s)+(h-s),h=n[++d]),r=a,0!==l&&(o[f++]=l);for(;c<e;)a=r+u,s=a-r,l=r-(a-s)+(u-s),u=t[++c],r=a,0!==l&&(o[f++]=l);for(;d<i;)a=r+h,s=a-r,l=r-(a-s)+(h-s),h=n[++d],r=a,0!==l&&(o[f++]=l);return 0===r&&0!==f||(o[f++]=r),f}function Ue(e){return new Float64Array(e)}const Oe=Ue(4),Ge=Ue(8),Ve=Ue(12),Ye=Ue(16),Ne=Ue(4);function $e(e,t,i,n,o,r){const a=(t-r)*(i-o),l=(e-o)*(n-r),s=a-l,u=Math.abs(a+l);return Math.abs(s)>=33306690738754716e-32*u?s:-function(e,t,i,n,o,r,a){let l,s,u,h,c,d,f,p,g,m,v,y,x,b,_,M,T,C;const S=e-o,w=i-o,k=t-r,A=n-r;b=S*A,d=Fe*S,f=d-(d-S),p=S-f,d=Fe*A,g=d-(d-A),m=A-g,_=p*m-(b-f*g-p*g-f*m),M=k*w,d=Fe*k,f=d-(d-k),p=k-f,d=Fe*w,g=d-(d-w),m=w-g,T=p*m-(M-f*g-p*g-f*m),v=_-T,c=_-v,Oe[0]=_-(v+c)+(c-T),y=b+v,c=y-b,x=b-(y-c)+(v-c),v=x-M,c=x-v,Oe[1]=x-(v+c)+(c-M),C=y+v,c=C-y,Oe[2]=y-(C-c)+(v-c),Oe[3]=C;let L=function(e,t){let i=t[0];for(let n=1;n<e;n++)i+=t[n];return i}(4,Oe),D=22204460492503146e-32*a;if(L>=D||-L>=D)return L;if(c=e-S,l=e-(S+c)+(c-o),c=i-w,u=i-(w+c)+(c-o),c=t-k,s=t-(k+c)+(c-r),c=n-A,h=n-(A+c)+(c-r),0===l&&0===s&&0===u&&0===h)return L;if(D=11093356479670487e-47*a+33306690738754706e-32*Math.abs(L),L+=S*h+A*l-(k*u+w*s),L>=D||-L>=D)return L;b=l*A,d=Fe*l,f=d-(d-l),p=l-f,d=Fe*A,g=d-(d-A),m=A-g,_=p*m-(b-f*g-p*g-f*m),M=s*w,d=Fe*s,f=d-(d-s),p=s-f,d=Fe*w,g=d-(d-w),m=w-g,T=p*m-(M-f*g-p*g-f*m),v=_-T,c=_-v,Ne[0]=_-(v+c)+(c-T),y=b+v,c=y-b,x=b-(y-c)+(v-c),v=x-M,c=x-v,Ne[1]=x-(v+c)+(c-M),C=y+v,c=C-y,Ne[2]=y-(C-c)+(v-c),Ne[3]=C;const P=ze(4,Oe,4,Ne,Ge);b=S*h,d=Fe*S,f=d-(d-S),p=S-f,d=Fe*h,g=d-(d-h),m=h-g,_=p*m-(b-f*g-p*g-f*m),M=k*u,d=Fe*k,f=d-(d-k),p=k-f,d=Fe*u,g=d-(d-u),m=u-g,T=p*m-(M-f*g-p*g-f*m),v=_-T,c=_-v,Ne[0]=_-(v+c)+(c-T),y=b+v,c=y-b,x=b-(y-c)+(v-c),v=x-M,c=x-v,Ne[1]=x-(v+c)+(c-M),C=y+v,c=C-y,Ne[2]=y-(C-c)+(v-c),Ne[3]=C;const W=ze(P,Ge,4,Ne,Ve);b=l*h,d=Fe*l,f=d-(d-l),p=l-f,d=Fe*h,g=d-(d-h),m=h-g,_=p*m-(b-f*g-p*g-f*m),M=s*u,d=Fe*s,f=d-(d-s),p=s-f,d=Fe*u,g=d-(d-u),m=u-g,T=p*m-(M-f*g-p*g-f*m),v=_-T,c=_-v,Ne[0]=_-(v+c)+(c-T),y=b+v,c=y-b,x=b-(y-c)+(v-c),v=x-M,c=x-v,Ne[1]=x-(v+c)+(c-M),C=y+v,c=C-y,Ne[2]=y-(C-c)+(v-c),Ne[3]=C;const B=ze(W,Ve,4,Ne,Ye);return Ye[B-1]}(e,t,i,n,o,r,u)}const Xe=Math.pow(2,-52),Ke=new Uint32Array(512);class qe{static from(e,t=it,i=nt){const n=e.length,o=new Float64Array(2*n);for(let r=0;r<n;r++){const n=e[r];o[2*r]=t(n),o[2*r+1]=i(n)}return new qe(o)}constructor(e){const t=e.length>>1;if(t>0&&"number"!=typeof e[0])throw new Error("Expected coords to contain numbers.");this.coords=e;const i=Math.max(2*t-5,0);this._triangles=new Uint32Array(3*i),this._halfedges=new Int32Array(3*i),this._hashSize=Math.ceil(Math.sqrt(t)),this._hullPrev=new Uint32Array(t),this._hullNext=new Uint32Array(t),this._hullTri=new Uint32Array(t),this._hullHash=new Int32Array(this._hashSize),this._ids=new Uint32Array(t),this._dists=new Float64Array(t),this.update()}update(){const{coords:e,_hullPrev:t,_hullNext:i,_hullTri:n,_hullHash:o}=this,r=e.length>>1;let a=1/0,l=1/0,s=-1/0,u=-1/0;for(let t=0;t<r;t++){const i=e[2*t],n=e[2*t+1];i<a&&(a=i),n<l&&(l=n),i>s&&(s=i),n>u&&(u=n),this._ids[t]=t}const h=(a+s)/2,c=(l+u)/2;let d,f,p;for(let t=0,i=1/0;t<r;t++){const n=Ze(h,c,e[2*t],e[2*t+1]);n<i&&(d=t,i=n)}const g=e[2*d],m=e[2*d+1];for(let t=0,i=1/0;t<r;t++){if(t===d)continue;const n=Ze(g,m,e[2*t],e[2*t+1]);n<i&&n>0&&(f=t,i=n)}let v=e[2*f],y=e[2*f+1],x=1/0;for(let t=0;t<r;t++){if(t===d||t===f)continue;const i=Qe(g,m,v,y,e[2*t],e[2*t+1]);i<x&&(p=t,x=i)}let b=e[2*p],_=e[2*p+1];if(x===1/0){for(let t=0;t<r;t++)this._dists[t]=e[2*t]-e[0]||e[2*t+1]-e[1];et(this._ids,this._dists,0,r-1);const t=new Uint32Array(r);let i=0;for(let e=0,n=-1/0;e<r;e++){const o=this._ids[e],r=this._dists[o];r>n&&(t[i++]=o,n=r)}return this.hull=t.subarray(0,i),this.triangles=new Uint32Array(0),void(this.halfedges=new Uint32Array(0))}if($e(g,m,v,y,b,_)<0){const e=f,t=v,i=y;f=p,v=b,y=_,p=e,b=t,_=i}const M=function(e,t,i,n,o,r){const a=i-e,l=n-t,s=o-e,u=r-t,h=a*a+l*l,c=s*s+u*u,d=.5/(a*u-l*s),f=e+(u*h-l*c)*d,p=t+(a*c-s*h)*d;return{x:f,y:p}}(g,m,v,y,b,_);this._cx=M.x,this._cy=M.y;for(let t=0;t<r;t++)this._dists[t]=Ze(e[2*t],e[2*t+1],M.x,M.y);et(this._ids,this._dists,0,r-1),this._hullStart=d;let T=3;i[d]=t[p]=f,i[f]=t[d]=p,i[p]=t[f]=d,n[d]=0,n[f]=1,n[p]=2,o.fill(-1),o[this._hashKey(g,m)]=d,o[this._hashKey(v,y)]=f,o[this._hashKey(b,_)]=p,this.trianglesLen=0,this._addTriangle(d,f,p,-1,-1,-1);for(let r,a,l=0;l<this._ids.length;l++){const s=this._ids[l],u=e[2*s],h=e[2*s+1];if(l>0&&Math.abs(u-r)<=Xe&&Math.abs(h-a)<=Xe)continue;if(r=u,a=h,s===d||s===f||s===p)continue;let c=0;for(let e=0,t=this._hashKey(u,h);e<this._hashSize&&(c=o[(t+e)%this._hashSize],-1===c||c===i[c]);e++);c=t[c];let g,m=c;for(;g=i[m],$e(u,h,e[2*m],e[2*m+1],e[2*g],e[2*g+1])>=0;)if(m=g,m===c){m=-1;break}if(-1===m)continue;let v=this._addTriangle(m,s,i[m],-1,-1,n[m]);n[s]=this._legalize(v+2),n[m]=v,T++;let y=i[m];for(;g=i[y],$e(u,h,e[2*y],e[2*y+1],e[2*g],e[2*g+1])<0;)v=this._addTriangle(y,s,g,n[s],-1,n[y]),n[s]=this._legalize(v+2),i[y]=y,T--,y=g;if(m===c)for(;g=t[m],$e(u,h,e[2*g],e[2*g+1],e[2*m],e[2*m+1])<0;)v=this._addTriangle(g,s,m,-1,n[m],n[g]),this._legalize(v+2),n[g]=v,i[m]=m,T--,m=g;this._hullStart=t[s]=m,i[m]=t[y]=s,i[s]=y,o[this._hashKey(u,h)]=s,o[this._hashKey(e[2*m],e[2*m+1])]=m}this.hull=new Uint32Array(T);for(let e=0,t=this._hullStart;e<T;e++)this.hull[e]=t,t=i[t];this.triangles=this._triangles.subarray(0,this.trianglesLen),this.halfedges=this._halfedges.subarray(0,this.trianglesLen)}_hashKey(e,t){return Math.floor(function(e,t){const i=e/(Math.abs(e)+Math.abs(t));return(t>0?3-i:1+i)/4}(e-this._cx,t-this._cy)*this._hashSize)%this._hashSize}_legalize(e){const{_triangles:t,_halfedges:i,coords:n}=this;let o=0,r=0;for(;;){const a=i[e],l=e-e%3;if(r=l+(e+2)%3,-1===a){if(0===o)break;e=Ke[--o];continue}const s=a-a%3,u=l+(e+1)%3,h=s+(a+2)%3,c=t[r],d=t[e],f=t[u],p=t[h];if(Je(n[2*c],n[2*c+1],n[2*d],n[2*d+1],n[2*f],n[2*f+1],n[2*p],n[2*p+1])){t[e]=p,t[a]=c;const n=i[h];if(-1===n){let t=this._hullStart;do{if(this._hullTri[t]===h){this._hullTri[t]=e;break}t=this._hullPrev[t]}while(t!==this._hullStart)}this._link(e,n),this._link(a,i[r]),this._link(r,h);const l=s+(a+1)%3;o<Ke.length&&(Ke[o++]=l)}else{if(0===o)break;e=Ke[--o]}}return r}_link(e,t){this._halfedges[e]=t,-1!==t&&(this._halfedges[t]=e)}_addTriangle(e,t,i,n,o,r){const a=this.trianglesLen;return this._triangles[a]=e,this._triangles[a+1]=t,this._triangles[a+2]=i,this._link(a,n),this._link(a+1,o),this._link(a+2,r),this.trianglesLen+=3,a}}function Ze(e,t,i,n){const o=e-i,r=t-n;return o*o+r*r}function Je(e,t,i,n,o,r,a,l){const s=e-a,u=t-l,h=i-a,c=n-l,d=o-a,f=r-l,p=h*h+c*c,g=d*d+f*f;return s*(c*g-p*f)-u*(h*g-p*d)+(s*s+u*u)*(h*f-c*d)<0}function Qe(e,t,i,n,o,r){const a=i-e,l=n-t,s=o-e,u=r-t,h=a*a+l*l,c=s*s+u*u,d=.5/(a*u-l*s),f=(u*h-l*c)*d,p=(a*c-s*h)*d;return f*f+p*p}function et(e,t,i,n){if(n-i<=20)for(let o=i+1;o<=n;o++){const n=e[o],r=t[n];let a=o-1;for(;a>=i&&t[e[a]]>r;)e[a+1]=e[a--];e[a+1]=n}else{let o=i+1,r=n;tt(e,i+n>>1,o),t[e[i]]>t[e[n]]&&tt(e,i,n),t[e[o]]>t[e[n]]&&tt(e,o,n),t[e[i]]>t[e[o]]&&tt(e,i,o);const a=e[o],l=t[a];for(;;){do{o++}while(t[e[o]]<l);do{r--}while(t[e[r]]>l);if(r<o)break;tt(e,o,r)}e[i+1]=e[r],e[r]=a,n-o+1>=r-i?(et(e,t,o,n),et(e,t,i,r-1)):(et(e,t,i,r-1),et(e,t,o,n))}}function tt(e,t,i){const n=e[t];e[t]=e[i],e[i]=n}function it(e){return e[0]}function nt(e){return e[1]}const ot=1e-6;class rt{constructor(){this._x0=this._y0=this._x1=this._y1=null,this._=""}moveTo(e,t){this._+=`M${this._x0=this._x1=+e},${this._y0=this._y1=+t}`}closePath(){null!==this._x1&&(this._x1=this._x0,this._y1=this._y0,this._+="Z")}lineTo(e,t){this._+=`L${this._x1=+e},${this._y1=+t}`}arc(e,t,i){const n=(e=+e)+(i=+i),o=t=+t;if(i<0)throw new Error("negative radius");null===this._x1?this._+=`M${n},${o}`:(Math.abs(this._x1-n)>ot||Math.abs(this._y1-o)>ot)&&(this._+="L"+n+","+o),i&&(this._+=`A${i},${i},0,1,1,${e-i},${t}A${i},${i},0,1,1,${this._x1=n},${this._y1=o}`)}rect(e,t,i,n){this._+=`M${this._x0=this._x1=+e},${this._y0=this._y1=+t}h${+i}v${+n}h${-i}Z`}value(){return this._||null}}class at{constructor(){this._=[]}moveTo(e,t){this._.push([e,t])}closePath(){this._.push(this._[0].slice())}lineTo(e,t){this._.push([e,t])}value(){return this._.length?this._:null}}class lt{constructor(e,[t,i,n,o]=[0,0,960,500]){if(!((n=+n)>=(t=+t)&&(o=+o)>=(i=+i)))throw new Error("invalid bounds");this.delaunay=e,this._circumcenters=new Float64Array(2*e.points.length),this.vectors=new Float64Array(2*e.points.length),this.xmax=n,this.xmin=t,this.ymax=o,this.ymin=i,this._init()}update(){return this.delaunay.update(),this._init(),this}_init(){const{delaunay:{points:e,hull:t,triangles:i},vectors:n}=this;let o,r;const a=this.circumcenters=this._circumcenters.subarray(0,i.length/3*2);for(let n,l,s=0,u=0,h=i.length;s<h;s+=3,u+=2){const h=2*i[s],c=2*i[s+1],d=2*i[s+2],f=e[h],p=e[h+1],g=e[c],m=e[c+1],v=e[d],y=e[d+1],x=g-f,b=m-p,_=v-f,M=y-p,T=2*(x*M-b*_);if(Math.abs(T)<1e-9){if(void 0===o){o=r=0;for(const i of t)o+=e[2*i],r+=e[2*i+1];o/=t.length,r/=t.length}const i=1e9*Math.sign((o-f)*M-(r-p)*_);n=(f+v)/2-i*M,l=(p+y)/2+i*_}else{const e=1/T,t=x*x+b*b,i=_*_+M*M;n=f+(M*t-b*i)*e,l=p+(x*i-_*t)*e}a[u]=n,a[u+1]=l}let l,s,u,h=t[t.length-1],c=4*h,d=e[2*h],f=e[2*h+1];n.fill(0);for(let i=0;i<t.length;++i)h=t[i],l=c,s=d,u=f,c=4*h,d=e[2*h],f=e[2*h+1],n[l+2]=n[c]=u-f,n[l+3]=n[c+1]=d-s}render(e){const t=null==e?e=new rt:void 0,{delaunay:{halfedges:i,inedges:n,hull:o},circumcenters:r,vectors:a}=this;if(o.length<=1)return null;for(let t=0,n=i.length;t<n;++t){const n=i[t];if(n<t)continue;const o=2*Math.floor(t/3),a=2*Math.floor(n/3),l=r[o],s=r[o+1],u=r[a],h=r[a+1];this._renderSegment(l,s,u,h,e)}let l,s=o[o.length-1];for(let t=0;t<o.length;++t){l=s,s=o[t];const i=2*Math.floor(n[s]/3),u=r[i],h=r[i+1],c=4*l,d=this._project(u,h,a[c+2],a[c+3]);d&&this._renderSegment(u,h,d[0],d[1],e)}return t&&t.value()}renderBounds(e){const t=null==e?e=new rt:void 0;return e.rect(this.xmin,this.ymin,this.xmax-this.xmin,this.ymax-this.ymin),t&&t.value()}renderCell(e,t){const i=null==t?t=new rt:void 0,n=this._clip(e);if(null===n||!n.length)return;t.moveTo(n[0],n[1]);let o=n.length;for(;n[0]===n[o-2]&&n[1]===n[o-1]&&o>1;)o-=2;for(let e=2;e<o;e+=2)n[e]===n[e-2]&&n[e+1]===n[e-1]||t.lineTo(n[e],n[e+1]);return t.closePath(),i&&i.value()}*cellPolygons(){const{delaunay:{points:e}}=this;for(let t=0,i=e.length/2;t<i;++t){const e=this.cellPolygon(t);e&&(e.index=t,yield e)}}cellPolygon(e){const t=new at;return this.renderCell(e,t),t.value()}_renderSegment(e,t,i,n,o){let r;const a=this._regioncode(e,t),l=this._regioncode(i,n);0===a&&0===l?(o.moveTo(e,t),o.lineTo(i,n)):(r=this._clipSegment(e,t,i,n,a,l))&&(o.moveTo(r[0],r[1]),o.lineTo(r[2],r[3]))}contains(e,t,i){return(t=+t)==t&&(i=+i)==i&&this.delaunay._step(e,t,i)===e}*neighbors(e){const t=this._clip(e);if(t)for(const i of this.delaunay.neighbors(e)){const e=this._clip(i);if(e)e:for(let n=0,o=t.length;n<o;n+=2)for(let r=0,a=e.length;r<a;r+=2)if(t[n]===e[r]&&t[n+1]===e[r+1]&&t[(n+2)%o]===e[(r+a-2)%a]&&t[(n+3)%o]===e[(r+a-1)%a]){yield i;break e}}}_cell(e){const{circumcenters:t,delaunay:{inedges:i,halfedges:n,triangles:o}}=this,r=i[e];if(-1===r)return null;const a=[];let l=r;do{const i=Math.floor(l/3);if(a.push(t[2*i],t[2*i+1]),l=l%3==2?l-2:l+1,o[l]!==e)break;l=n[l]}while(l!==r&&-1!==l);return a}_clip(e){if(0===e&&1===this.delaunay.hull.length)return[this.xmax,this.ymin,this.xmax,this.ymax,this.xmin,this.ymax,this.xmin,this.ymin];const t=this._cell(e);if(null===t)return null;const{vectors:i}=this,n=4*e;return this._simplify(i[n]||i[n+1]?this._clipInfinite(e,t,i[n],i[n+1],i[n+2],i[n+3]):this._clipFinite(e,t))}_clipFinite(e,t){const i=t.length;let n,o,r,a,l=null,s=t[i-2],u=t[i-1],h=this._regioncode(s,u),c=0;for(let d=0;d<i;d+=2)if(n=s,o=u,s=t[d],u=t[d+1],r=h,h=this._regioncode(s,u),0===r&&0===h)a=c,c=0,l?l.push(s,u):l=[s,u];else{let t,i,d,f,p;if(0===r){if(null===(t=this._clipSegment(n,o,s,u,r,h)))continue;[i,d,f,p]=t}else{if(null===(t=this._clipSegment(s,u,n,o,h,r)))continue;[f,p,i,d]=t,a=c,c=this._edgecode(i,d),a&&c&&this._edge(e,a,c,l,l.length),l?l.push(i,d):l=[i,d]}a=c,c=this._edgecode(f,p),a&&c&&this._edge(e,a,c,l,l.length),l?l.push(f,p):l=[f,p]}if(l)a=c,c=this._edgecode(l[0],l[1]),a&&c&&this._edge(e,a,c,l,l.length);else if(this.contains(e,(this.xmin+this.xmax)/2,(this.ymin+this.ymax)/2))return[this.xmax,this.ymin,this.xmax,this.ymax,this.xmin,this.ymax,this.xmin,this.ymin];return l}_clipSegment(e,t,i,n,o,r){const a=o<r;for(a&&([e,t,i,n,o,r]=[i,n,e,t,r,o]);;){if(0===o&&0===r)return a?[i,n,e,t]:[e,t,i,n];if(o&r)return null;let l,s,u=o||r;8&u?(l=e+(i-e)*(this.ymax-t)/(n-t),s=this.ymax):4&u?(l=e+(i-e)*(this.ymin-t)/(n-t),s=this.ymin):2&u?(s=t+(n-t)*(this.xmax-e)/(i-e),l=this.xmax):(s=t+(n-t)*(this.xmin-e)/(i-e),l=this.xmin),o?(e=l,t=s,o=this._regioncode(e,t)):(i=l,n=s,r=this._regioncode(i,n))}}_clipInfinite(e,t,i,n,o,r){let a,l=Array.from(t);if((a=this._project(l[0],l[1],i,n))&&l.unshift(a[0],a[1]),(a=this._project(l[l.length-2],l[l.length-1],o,r))&&l.push(a[0],a[1]),l=this._clipFinite(e,l))for(let t,i=0,n=l.length,o=this._edgecode(l[n-2],l[n-1]);i<n;i+=2)t=o,o=this._edgecode(l[i],l[i+1]),t&&o&&(i=this._edge(e,t,o,l,i),n=l.length);else this.contains(e,(this.xmin+this.xmax)/2,(this.ymin+this.ymax)/2)&&(l=[this.xmin,this.ymin,this.xmax,this.ymin,this.xmax,this.ymax,this.xmin,this.ymax]);return l}_edge(e,t,i,n,o){for(;t!==i;){let i,r;switch(t){case 5:t=4;continue;case 4:t=6,i=this.xmax,r=this.ymin;break;case 6:t=2;continue;case 2:t=10,i=this.xmax,r=this.ymax;break;case 10:t=8;continue;case 8:t=9,i=this.xmin,r=this.ymax;break;case 9:t=1;continue;case 1:t=5,i=this.xmin,r=this.ymin}n[o]===i&&n[o+1]===r||!this.contains(e,i,r)||(n.splice(o,0,i,r),o+=2)}return o}_project(e,t,i,n){let o,r,a,l=1/0;if(n<0){if(t<=this.ymin)return null;(o=(this.ymin-t)/n)<l&&(a=this.ymin,r=e+(l=o)*i)}else if(n>0){if(t>=this.ymax)return null;(o=(this.ymax-t)/n)<l&&(a=this.ymax,r=e+(l=o)*i)}if(i>0){if(e>=this.xmax)return null;(o=(this.xmax-e)/i)<l&&(r=this.xmax,a=t+(l=o)*n)}else if(i<0){if(e<=this.xmin)return null;(o=(this.xmin-e)/i)<l&&(r=this.xmin,a=t+(l=o)*n)}return[r,a]}_edgecode(e,t){return(e===this.xmin?1:e===this.xmax?2:0)|(t===this.ymin?4:t===this.ymax?8:0)}_regioncode(e,t){return(e<this.xmin?1:e>this.xmax?2:0)|(t<this.ymin?4:t>this.ymax?8:0)}_simplify(e){if(e&&e.length>4){for(let t=0;t<e.length;t+=2){const i=(t+2)%e.length,n=(t+4)%e.length;(e[t]===e[i]&&e[i]===e[n]||e[t+1]===e[i+1]&&e[i+1]===e[n+1])&&(e.splice(i,2),t-=2)}e.length||(e=null)}return e}}const st=2*Math.PI,ut=Math.pow;function ht(e){return e[0]}function ct(e){return e[1]}function dt(e,t,i){return[e+Math.sin(e+t)*i,t+Math.cos(e-t)*i]}class ft{static from(e,t=ht,i=ct,n){return new ft("length"in e?function(e,t,i,n){const o=e.length,r=new Float64Array(2*o);for(let a=0;a<o;++a){const o=e[a];r[2*a]=t.call(n,o,a,e),r[2*a+1]=i.call(n,o,a,e)}return r}(e,t,i,n):Float64Array.from(function*(e,t,i,n){let o=0;for(const r of e)yield t.call(n,r,o,e),yield i.call(n,r,o,e),++o}(e,t,i,n)))}constructor(e){this._delaunator=new qe(e),this.inedges=new Int32Array(e.length/2),this._hullIndex=new Int32Array(e.length/2),this.points=this._delaunator.coords,this._init()}update(){return this._delaunator.update(),this._init(),this}_init(){const e=this._delaunator,t=this.points;if(e.hull&&e.hull.length>2&&function(e){const{triangles:t,coords:i}=e;for(let e=0;e<t.length;e+=3){const n=2*t[e],o=2*t[e+1],r=2*t[e+2];if((i[r]-i[n])*(i[o+1]-i[n+1])-(i[o]-i[n])*(i[r+1]-i[n+1])>1e-10)return!1}return!0}(e)){this.collinear=Int32Array.from({length:t.length/2},((e,t)=>t)).sort(((e,i)=>t[2*e]-t[2*i]||t[2*e+1]-t[2*i+1]));const e=this.collinear[0],i=this.collinear[this.collinear.length-1],n=[t[2*e],t[2*e+1],t[2*i],t[2*i+1]],o=1e-8*Math.hypot(n[3]-n[1],n[2]-n[0]);for(let e=0,i=t.length/2;e<i;++e){const i=dt(t[2*e],t[2*e+1],o);t[2*e]=i[0],t[2*e+1]=i[1]}this._delaunator=new qe(t)}else delete this.collinear;const i=this.halfedges=this._delaunator.halfedges,n=this.hull=this._delaunator.hull,o=this.triangles=this._delaunator.triangles,r=this.inedges.fill(-1),a=this._hullIndex.fill(-1);for(let e=0,t=i.length;e<t;++e){const t=o[e%3==2?e-2:e+1];-1!==i[e]&&-1!==r[t]||(r[t]=e)}for(let e=0,t=n.length;e<t;++e)a[n[e]]=e;n.length<=2&&n.length>0&&(this.triangles=new Int32Array(3).fill(-1),this.halfedges=new Int32Array(3).fill(-1),this.triangles[0]=n[0],r[n[0]]=1,2===n.length&&(r[n[1]]=0,this.triangles[1]=n[1],this.triangles[2]=n[1]))}voronoi(e){return new lt(this,e)}*neighbors(e){const{inedges:t,hull:i,_hullIndex:n,halfedges:o,triangles:r,collinear:a}=this;if(a){const t=a.indexOf(e);return t>0&&(yield a[t-1]),void(t<a.length-1&&(yield a[t+1]))}const l=t[e];if(-1===l)return;let s=l,u=-1;do{if(yield u=r[s],s=s%3==2?s-2:s+1,r[s]!==e)return;if(s=o[s],-1===s){const t=i[(n[e]+1)%i.length];return void(t!==u&&(yield t))}}while(s!==l)}find(e,t,i=0){if((e=+e)!=e||(t=+t)!=t)return-1;const n=i;let o;for(;(o=this._step(i,e,t))>=0&&o!==i&&o!==n;)i=o;return o}_step(e,t,i){const{inedges:n,hull:o,_hullIndex:r,halfedges:a,triangles:l,points:s}=this;if(-1===n[e]||!s.length)return(e+1)%(s.length>>1);let u=e,h=ut(t-s[2*e],2)+ut(i-s[2*e+1],2);const c=n[e];let d=c;do{let n=l[d];const c=ut(t-s[2*n],2)+ut(i-s[2*n+1],2);if(c<h&&(h=c,u=n),d=d%3==2?d-2:d+1,l[d]!==e)break;if(d=a[d],-1===d){if(d=o[(r[e]+1)%o.length],d!==n&&ut(t-s[2*d],2)+ut(i-s[2*d+1],2)<h)return d;break}}while(d!==c);return u}render(e){const t=null==e?e=new rt:void 0,{points:i,halfedges:n,triangles:o}=this;for(let t=0,r=n.length;t<r;++t){const r=n[t];if(r<t)continue;const a=2*o[t],l=2*o[r];e.moveTo(i[a],i[a+1]),e.lineTo(i[l],i[l+1])}return this.renderHull(e),t&&t.value()}renderPoints(e,t){void 0!==t||e&&"function"==typeof e.moveTo||(t=e,e=null),t=null==t?2:+t;const i=null==e?e=new rt:void 0,{points:n}=this;for(let i=0,o=n.length;i<o;i+=2){const o=n[i],r=n[i+1];e.moveTo(o+t,r),e.arc(o,r,t,0,st)}return i&&i.value()}renderHull(e){const t=null==e?e=new rt:void 0,{hull:i,points:n}=this,o=2*i[0],r=i.length;e.moveTo(n[o],n[o+1]);for(let t=1;t<r;++t){const o=2*i[t];e.lineTo(n[o],n[o+1])}return e.closePath(),t&&t.value()}hullPolygon(){const e=new at;return this.renderHull(e),e.value()}renderTriangle(e,t){const i=null==t?t=new rt:void 0,{points:n,triangles:o}=this,r=2*o[e*=3],a=2*o[e+1],l=2*o[e+2];return t.moveTo(n[r],n[r+1]),t.lineTo(n[a],n[a+1]),t.lineTo(n[l],n[l+1]),t.closePath(),i&&i.value()}*trianglePolygons(){const{triangles:e}=this;for(let t=0,i=e.length/3;t<i;++t)yield this.trianglePolygon(t)}trianglePolygon(e){const t=new at;return this.renderTriangle(e,t),t.value()}}function pt(){return pt=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var i=arguments[t];for(var n in i)({}).hasOwnProperty.call(i,n)&&(e[n]=i[n])}return e},pt.apply(null,arguments)}function gt(e,t){if(null==e)return{};var i={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(-1!==t.indexOf(n))continue;i[n]=e[n]}return i}var mt={xDomain:[0,1],yDomain:[0,1],layers:["links","cells","points","bounds"],enableLinks:!1,linkLineWidth:1,linkLineColor:"#bbbbbb",enableCells:!0,cellLineWidth:2,cellLineColor:"#000000",pointSize:4,pointColor:"#666666",role:"img"},vt=function(e){return[e.x,e.y]},yt=Z,xt="cursor",bt=function(e){var t=e.points,i=e.getNodePosition,n=void 0===i?vt:i,o=e.margin,r=void 0===o?yt:o;return t.map((function(e){var t=n(e),i=t[0],o=t[1];return[i+r.left,o+r.top]}))},_t=function(e){var t=e.points,i=e.getNodePosition,n=void 0===i?vt:i,o=e.width,r=e.height,a=e.margin,l=void 0===a?yt:a,s=e.debug;return F((function(){return function(e){var t=e.points,i=e.width,n=e.height,o=e.margin,r=void 0===o?yt:o,a=e.debug,l=ft.from(t),s=a?l.voronoi([0,0,r.left+i+r.right,r.top+n+r.bottom]):void 0;return{points:t,delaunay:l,voronoi:s}}({points:bt({points:t,margin:l,getNodePosition:n}),width:o,height:r,margin:l,debug:s})}),[n,t,o,r,l,s])},Mt=function(e){var t=e.elementRef,i=e.nodes,n=e.getNodePosition,o=void 0===n?vt:n,r=e.delaunay,a=e.setCurrent,l=e.margin,s=void 0===l?yt:l,u=e.detectionRadius,h=void 0===u?1/0:u,c=e.isInteractive,d=void 0===c||c,f=e.onMouseEnter,p=e.onMouseMove,g=e.onMouseLeave,m=e.onMouseDown,v=e.onMouseUp,y=e.onClick,x=e.onDoubleClick,b=e.onTouchStart,_=e.onTouchMove,M=e.onTouchEnd,T=e.enableTouchCrosshair,C=void 0!==T&&T,S=e.tooltip,w=e.tooltipPosition,k=void 0===w?xt:w,A=e.tooltipAnchor,L=void 0===A?"top":A,D=U(null),P=D[0],W=D[1],B=z(null);V((function(){B.current=P}),[B,P]);var E=Y((function(e){if(!t.current||0===i.length)return null;var n=J(t.current,e),a=n[0],l=n[1],u=r.find(a,l),c=void 0!==u?i[u]:null;if(c&&h!==1/0){var d=o(c),f=d[0],p=d[1];Q(a,l,f+s.left,p+s.top)>h&&(u=null,c=null)}return null===u||null===c?null:[u,c]}),[t,r,i,o,s,h]),j=ee(),I=j.showTooltipAt,H=j.showTooltipFromEvent,R=j.hideTooltip,O=F((function(){if(S)return"cursor"===k?function(e,t){H(S(e),t,L)}:function(e){var t=o(e),i=t[0],n=t[1];I(S(e),[i+s.left,n+s.top],L)}}),[I,H,S,k,L,o,s]),G=Y((function(e){var t=E(e);if(W(t),null==a||a(t?t[1]:null),t){var i=t[1];null==O||O(i,e),null==f||f(t[1],e)}}),[E,W,a,O,f]),N=Y((function(e){var t=E(e);if(W(t),t){var i=t[0],n=t[1];if(null==a||a(n),null==O||O(n,e),B.current){var o=B.current,r=o[0],l=o[1];i!==r?null==g||g(l,e):null==p||p(n,e)}else null==f||f(n,e)}else null==a||a(null),null==R||R(),B.current&&(null==g||g(B.current[1],e))}),[E,W,a,B,f,p,g,O,R]),$=Y((function(e){W(null),null==a||a(null),R(),g&&B.current&&g(B.current[1],e)}),[W,a,B,R,g]),X=Y((function(e){var t=E(e);W(t),t&&(null==m||m(t[1],e))}),[E,W,m]),K=Y((function(e){var t=E(e);W(t),t&&(null==v||v(t[1],e))}),[E,W,v]),q=Y((function(e){var t=E(e);W(t),t&&(null==y||y(t[1],e))}),[E,W,y]),Z=Y((function(e){var t=E(e);W(t),t&&(null==x||x(t[1],e))}),[E,W,x]),te=Y((function(e){var t=E(e);C&&(W(t),null==a||a(t?t[1]:null)),t&&(null==b||b(t[1],e))}),[E,W,a,C,b]),ie=Y((function(e){var t=E(e);C&&(W(t),null==a||a(t?t[1]:null)),t&&(null==_||_(t[1],e))}),[E,W,a,C,_]),ne=Y((function(e){C&&(W(null),null==a||a(null)),M&&B.current&&M(B.current[1],e)}),[C,W,a,M,B]);return{current:P,handleMouseEnter:d?G:void 0,handleMouseMove:d?N:void 0,handleMouseLeave:d?$:void 0,handleMouseDown:d?X:void 0,handleMouseUp:d?K:void 0,handleClick:d?q:void 0,handleDoubleClick:d?Z:void 0,handleTouchStart:d?te:void 0,handleTouchMove:d?ie:void 0,handleTouchEnd:d?ne:void 0}},Tt=["theme"],Ct=function(e){var t=e.data,i=e.width,n=e.height,o=e.margin,r=e.layers,a=void 0===r?mt.layers:r,l=e.xDomain,u=void 0===l?mt.xDomain:l,h=e.yDomain,c=void 0===h?mt.yDomain:h,d=e.enableLinks,f=void 0===d?mt.enableLinks:d,p=e.linkLineWidth,g=void 0===p?mt.linkLineWidth:p,m=e.linkLineColor,v=void 0===m?mt.linkLineColor:m,y=e.enableCells,x=void 0===y?mt.enableCells:y,b=e.cellLineWidth,_=void 0===b?mt.cellLineWidth:b,M=e.cellLineColor,T=void 0===M?mt.cellLineColor:M,C=e.enablePoints,S=void 0===C?mt.enableCells:C,k=e.pointSize,A=void 0===k?mt.pointSize:k,L=e.pointColor,D=void 0===L?mt.pointColor:L,P=e.role,B=void 0===P?mt.role:P,E=e.forwardedRef,j=K(i,n,o),I=j.outerWidth,H=j.outerHeight,R=j.margin,z=function(e){var t=e.data,i=e.width,n=e.height,o=e.xDomain,r=e.yDomain,a=F((function(){return De().domain(o).range([0,i])}),[o,i]),l=F((function(){return De().domain(r).range([0,n])}),[r,n]),s=F((function(){return t.map((function(e){return{x:a(e.x),y:l(e.y),data:e}}))}),[t,a,l]);return F((function(){var e=ft.from(s.map((function(e){return[e.x,e.y]}))),t=e.voronoi([0,0,i,n]);return{points:s,delaunay:e,voronoi:t}}),[s,i,n])}({data:t,width:j.innerWidth,height:j.innerHeight,xDomain:u,yDomain:c}),U=z.points,O=z.delaunay,G=z.voronoi,V={links:null,cells:null,points:null,bounds:null};f&&a.includes("links")&&(V.links=s("path",{stroke:v,strokeWidth:g,fill:"none",d:O.render()},"links")),x&&a.includes("cells")&&(V.cells=s("path",{d:G.render(),fill:"none",stroke:T,strokeWidth:_},"cells")),S&&a.includes("points")&&(V.points=s("path",{stroke:"none",fill:D,d:O.renderPoints(void 0,A/2)},"points")),a.includes("bounds")&&(V.bounds=s("path",{fill:"none",stroke:T,strokeWidth:_,d:G.renderBounds()},"bounds"));var Y=function(e){var t=e.points,i=e.delaunay,n=e.voronoi;return F((function(){return{points:t,delaunay:i,voronoi:n}}),[t,i,n])}({points:U,delaunay:O,voronoi:G});return s(q,{width:I,height:H,margin:R,role:B,ref:E,children:a.map((function(e,t){return void 0!==V[e]?V[e]:"function"==typeof e?s(w,{children:W(e,Y)},t):null}))})},St=_((function(e,t){var i=e.theme,n=gt(e,Tt);return s($,{isInteractive:!1,animate:!1,theme:i,children:s(Ct,pt({},n,{forwardedRef:t}))})})),wt=["defaultWidth","defaultHeight","onResize","debounceResize"];_((function(e,t){var i=e.defaultWidth,n=e.defaultHeight,o=e.onResize,r=e.debounceResize,a=gt(e,wt);return s(X,{defaultWidth:i,defaultHeight:n,onResize:o,debounceResize:r,children:function(e){var i=e.width,n=e.height;return s(St,pt({},a,{width:i,height:n,ref:t}))}})}));var kt=function(e){var t=e.nodes,i=e.width,n=e.height,o=e.margin,r=void 0===o?yt:o,a=e.getNodePosition,l=e.setCurrent,u=e.onMouseEnter,h=e.onMouseMove,c=e.onMouseLeave,d=e.onMouseDown,f=e.onMouseUp,p=e.onClick,g=e.onDoubleClick,m=e.onTouchStart,v=e.onTouchMove,y=e.onTouchEnd,x=e.enableTouchCrosshair,b=void 0!==x&&x,_=e.detectionRadius,M=void 0===_?1/0:_,T=e.tooltip,C=e.tooltipPosition,S=void 0===C?xt:C,w=e.tooltipAnchor,k=void 0===w?"top":w,A=e.debug,L=z(null),D=_t({points:t,getNodePosition:a,width:i,height:n,margin:r,debug:A}),P=D.delaunay,W=D.voronoi,B=Mt({elementRef:L,nodes:t,delaunay:P,margin:r,detectionRadius:M,setCurrent:l,onMouseEnter:u,onMouseMove:h,onMouseLeave:c,onMouseDown:d,onMouseUp:f,onClick:p,onDoubleClick:g,onTouchStart:m,onTouchMove:v,onTouchEnd:y,enableTouchCrosshair:b,tooltip:T,tooltipPosition:S,tooltipAnchor:k}),E=B.current,j=B.handleMouseEnter,I=B.handleMouseMove,H=B.handleMouseLeave,R=B.handleMouseDown,U=B.handleMouseUp,O=B.handleClick,G=B.handleDoubleClick,V=B.handleTouchStart,Y=B.handleTouchMove,N=B.handleTouchEnd,$=F((function(){if(A&&W)return W.render()}),[A,W]);return s("g",{ref:L,transform:"translate("+-r.left+","+-r.top+")",children:[A&&W&&s(Pe,{children:[s("path",{d:$,stroke:"red",strokeWidth:1,opacity:.75}),M<1/0&&s("path",{stroke:"red",strokeWidth:.35,fill:"none",d:P.renderPoints(void 0,M)}),E&&s("path",{fill:"pink",opacity:.35,d:W.renderCell(E[0])})]}),s("rect",{"data-ref":"mesh-interceptor",width:r.left+i+r.right,height:r.top+n+r.bottom,fill:"red",opacity:0,style:{cursor:"auto"},onMouseEnter:j,onMouseMove:I,onMouseLeave:H,onMouseDown:R,onMouseUp:U,onTouchStart:V,onTouchMove:Y,onTouchEnd:N,onClick:O,onDoubleClick:G})]})};function At(){return At=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var i=arguments[t];for(var n in i)({}).hasOwnProperty.call(i,n)&&(e[n]=i[n])}return e},At.apply(null,arguments)}function Lt(e,t){if(null==e)return{};var i={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(-1!==t.indexOf(n))continue;i[n]=e[n]}return i}var Dt,Pt={xScale:{type:"point"},yScale:{type:"linear",min:0,max:"auto"},curve:"linear",colors:{scheme:"nivo"},lineWidth:2,layers:["grid","markers","axes","areas","crosshair","lines","points","slices","mesh","legends"],enablePoints:!0,pointSize:6,pointColor:{from:"series.color"},pointBorderWidth:0,pointBorderColor:{theme:"background"},enableArea:!1,areaBaselineValue:0,areaOpacity:.2,enableGridX:!0,enableGridY:!0,legends:[],isInteractive:!0,tooltip:N((function(e){var t=e.point;return s(oe,{id:s("span",{children:["x: ",s("strong",{children:t.data.xFormatted}),", y:"," ",s("strong",{children:t.data.yFormatted})]}),enableChip:!0,color:t.seriesColor})})),sliceTooltip:N((function(e){var t=e.slice,i=e.axis,n=te(),o="x"===i?"y":"x";return s(ne,{rows:t.points.map((function(e){return[s(ie,{color:e.seriesColor,style:n.tooltip.chip},"chip"),e.seriesId,s("span",{style:n.tooltip.tableCellValue,children:e.data[o+"Formatted"]},"value")]}))})})),debugMesh:!1,renderWrapper:!0},Wt=At({},Pt,{defs:[],fill:[],enablePointLabel:!1,pointLabel:"data.yFormatted",areaBlendMode:"normal",axisTop:null,axisRight:null,axisBottom:be,axisLeft:be,useMesh:!1,enableSlices:!1,debugSlices:!1,enableCrosshair:!0,crosshairType:"bottom-left",enableTouchCrosshair:!1,initialHiddenIds:[],animate:!0,motionConfig:"gentle",role:"img",isFocusable:!1}),Bt=At({},Pt,{pixelRatio:"undefined"!=typeof window&&null!=(Dt=window.devicePixelRatio)?Dt:1,axisTop:null,axisRight:null,axisBottom:be,axisLeft:be});function Et(e){return F((function(){return Be().defined((function(e){return null!==e.x&&null!==e.y})).x((function(e){return e.x})).y((function(e){return e.y})).curve(xe(e))}),[e])}function jt(e){var t=e.curve,i=e.yScale,n=e.areaBaselineValue;return F((function(){return We().defined((function(e){return null!==e.x&&null!==e.y})).x((function(e){return e.x})).y1((function(e){return e.y})).curve(xe(t)).y0(i(n))}),[t,i,n])}var It=function(e){var t=e.data,i=e.xScale,n=void 0===i?Pt.xScale:i,o=e.xFormat,r=e.yScale,a=void 0===r?Pt.yScale:r,l=e.yFormat,s=e.width,u=e.height,h=e.colors,c=void 0===h?Pt.colors:h,d=e.curve,f=void 0===d?Pt.curve:d,p=e.areaBaselineValue,g=void 0===p?Pt.areaBaselineValue:p,m=e.pointColor,v=void 0===m?Pt.pointColor:m,y=e.pointBorderColor,x=void 0===y?Pt.pointBorderColor:y,b=e.enableSlices,_=void 0===b?Wt.enableSlices:b,M=e.initialHiddenIds,T=void 0===M?Wt.initialHiddenIds:M,C=U(Re("line"))[0],S=me(o),w=me(l),k=ve(c,"id"),A=te(),L=ye(v,A),D=ye(x,A),P=U(null!=T?T:[]),W=P[0],B=P[1],E=F((function(){return Se(t.filter((function(e){return-1===W.indexOf(e.id)})),n,a,s,u)}),[t,W,n,a,s,u]),j=E.xScale,I=E.yScale,H=E.series,R=F((function(){var e=t.map((function(e){return{id:e.id,label:""+e.id,color:k(e)}})),i=e.map((function(e){return At({},H.find((function(t){return t.id===e.id})),{color:e.color})})).filter((function(e){return Boolean(e.id)}));return{legendData:e.map((function(e){return At({},e,{hidden:!i.find((function(t){return t.id===e.id}))})})).reverse(),series:i}}),[t,H,k]),z=R.legendData,O=R.series,G=Y((function(e){B((function(t){return t.indexOf(e)>-1?t.filter((function(t){return t!==e})):[].concat(t,[e])}))}),[]),V=function(e){var t=e.series,i=e.getPointColor,n=e.getPointBorderColor,o=e.formatX,r=e.formatY;return F((function(){return t.reduce((function(e,t,a){return[].concat(e,t.data.filter((function(e){return null!==e.position.x&&null!==e.position.y})).map((function(l,s){var u={id:t.id+"."+s,indexInSeries:s,absIndex:e.length+s,seriesIndex:a,seriesId:t.id,seriesColor:t.color,x:l.position.x,y:l.position.y,data:At({},l.data,{xFormatted:o(l.data.x),yFormatted:r(l.data.y)})};return u.color=i({series:t,point:u}),u.borderColor=n(u),u})))}),[])}),[t,i,n,o,r])}({series:O,getPointColor:L,getPointBorderColor:D,formatX:S,formatY:w}),N=function(e){var t=e.componentId,i=e.enableSlices,n=e.points,o=e.width,r=e.height;return F((function(){if("x"===i){var e=new Map;return n.forEach((function(t){null!==t.data.x&&null!==t.data.y&&(e.has(t.x)?e.get(t.x).push(t):e.set(t.x,[t]))})),Array.from(e.entries()).sort((function(e,t){return e[0]-t[0]})).map((function(e,i,n){var a,l,s=e[0],u=e[1],h=n[i-1],c=n[i+1];return a=h?s-(s-h[0])/2:s,l=c?s-a+(c[0]-s)/2:o-a,{id:"slice:"+t+":"+s,x0:a,x:s,y0:0,y:0,width:l,height:r,points:u.reverse()}}))}if("y"===i){var a=new Map;return n.forEach((function(e){null!==e.data.x&&null!==e.data.y&&(a.has(e.y)?a.get(e.y).push(e):a.set(e.y,[e]))})),Array.from(a.entries()).sort((function(e,t){return e[0]-t[0]})).map((function(e,t,i){var n,a,l=e[0],s=e[1],u=i[t-1],h=i[t+1];return n=u?l-(l-u[0])/2:l,a=h?l-n+(h[0]-l)/2:r-n,{id:l,x0:0,x:0,y0:n,y:l,width:o,height:a,points:s.reverse()}}))}return[]}),[t,i,r,n,o])}({componentId:C,enableSlices:_,points:V,width:s,height:u});return{legendData:z,toggleSeries:G,lineGenerator:Et(f),areaGenerator:jt({curve:f,yScale:I,areaBaselineValue:g}),getColor:k,series:O,xScale:j,yScale:I,slices:N,points:V}},Ht=function(e){var t=e.areaBlendMode,i=e.areaOpacity,n=e.color,o=e.fill,r=e.path,a=ue(),l=a.animate,u=a.config,h=re(r),c=he({color:n,config:u,immediate:!l});return s(ae.path,{d:h,fill:o||c.color,fillOpacity:i,strokeWidth:0,style:{mixBlendMode:t}})},Rt=N((function(e){var t=e.areaGenerator,i=e.areaOpacity,n=e.areaBlendMode,o=e.series.slice(0).reverse();return s("g",{children:o.map((function(e){return s(Ht,At({path:t(e.data.map((function(e){return e.position})))},At({areaOpacity:i,areaBlendMode:n},e)),""+e.id)}))})})),Ft=N((function(e){var t=e.lineGenerator,i=e.points,n=e.color,o=e.thickness,r=F((function(){return t(i)}),[t,i]),a=re(r);return s(ae.path,{d:a,fill:"none",strokeWidth:o,stroke:n})})),zt=N((function(e){var t=e.series,i=e.lineGenerator,n=e.lineWidth;return s(Pe,{children:t.slice(0).reverse().map((function(e){var t=e.id,o=e.data,r=e.color;return s(Ft,{points:o.map((function(e){return e.position})),lineGenerator:i,color:r,thickness:n},t)}))})})),Ut=N((function(e){var t=e.slice,i=e.slices,n=e.axis,o=e.debug,r=e.tooltip,a=e.isCurrent,l=e.setCurrent,u=e.onMouseEnter,h=e.onMouseMove,c=e.onMouseLeave,d=e.onMouseDown,f=e.onMouseUp,p=e.onClick,g=e.onDoubleClick,m=e.onTouchStart,v=e.onTouchMove,y=e.onTouchEnd,x=ee(),b=x.showTooltipFromEvent,_=x.hideTooltip,M=Y((function(e){b(W(r,{slice:t,axis:n}),e,"right"),l(t),null==u||u(t,e)}),[b,r,t,n,l,u]),T=Y((function(e){b(W(r,{slice:t,axis:n}),e,"right"),null==h||h(t,e)}),[b,r,t,n,h]),C=Y((function(e){_(),l(null),null==c||c(t,e)}),[_,l,c,t]),S=Y((function(e){null==d||d(t,e)}),[t,d]),w=Y((function(e){null==f||f(t,e)}),[t,f]),k=Y((function(e){null==p||p(t,e)}),[t,p]),A=Y((function(e){null==g||g(t,e)}),[t,g]),L=Y((function(e){b(W(r,{slice:t,axis:n}),e,"right"),l(t),null==m||m(t,e)}),[n,m,l,b,t,r]),D=Y((function(e){var o=e.touches[0],a=document.elementFromPoint(o.clientX,o.clientY),s=null==a?void 0:a.getAttribute("data-ref");if(s){var u=i.find((function(e){return e.id===s}));u&&(b(W(r,{slice:u,axis:n}),e,"right"),l(u))}null==v||v(t,e)}),[n,v,l,b,t,i,r]),P=Y((function(e){_(),l(null),null==y||y(t,e)}),[_,l,y,t]);return s("rect",{x:t.x0,y:t.y0,width:t.width,height:t.height,stroke:"red",strokeWidth:o?1:0,strokeOpacity:.75,fill:"red",fillOpacity:a&&o?.35:0,onMouseEnter:M,onMouseMove:T,onMouseLeave:C,onMouseDown:S,onMouseUp:w,onClick:k,onDoubleClick:A,onTouchStart:L,onTouchMove:D,onTouchEnd:P,"data-ref":t.id})})),Ot=N((function(e){var t=e.slices,i=e.axis,n=e.debug,o=e.tooltip,r=e.current,a=e.setCurrent,l=e.onMouseEnter,u=e.onMouseMove,h=e.onMouseLeave,c=e.onMouseDown,d=e.onMouseUp,f=e.onClick,p=e.onDoubleClick,g=e.onTouchStart,m=e.onTouchMove,v=e.onTouchEnd;return s(Pe,{children:t.map((function(e){return s(Ut,{slice:e,slices:t,axis:i,debug:n,tooltip:o,setCurrent:a,isCurrent:null!==r&&r.id===e.id,onMouseEnter:l,onMouseMove:u,onMouseLeave:h,onMouseDown:c,onMouseUp:d,onClick:f,onDoubleClick:p,onTouchStart:g,onTouchMove:m,onTouchEnd:v},e.id)}))})})),Gt=N((function(e){var t=e.points,i=e.symbol,n=e.size,o=e.borderWidth,r=e.enableLabel,a=e.label,l=e.labelYOffset,u=e.isFocusable,h=e.setCurrentPoint,c=e.tooltip,d=e.margin,f=e.ariaLabel,p=e.ariaLabelledBy,g=e.ariaDescribedBy,m=e.ariaHidden,v=e.ariaDisabled,y=le(a),x=ee(),b=x.showTooltipAt,_=x.hideTooltip,M=t.slice(0).sort((function(e,t){return e.indexInSeries-t.indexInSeries})).sort((function(e,t){return t.seriesIndex-e.seriesIndex})).map((function(e){return{id:e.id,x:e.x,y:e.y,datum:e.data,fill:e.color,stroke:e.borderColor,label:r?y(e):null,ariaLabel:f?f(e):void 0,ariaLabelledBy:p?p(e):void 0,ariaDescribedBy:g?g(e):void 0,ariaHidden:m?m(e):void 0,ariaDisabled:v?v(e):void 0,onFocus:u?function(){h(e),b(W(c,{point:e}),[d.left+e.x,d.top+e.y],"top")}:void 0,onBlur:u?function(){h(null),_()}:void 0}}));return s("g",{children:M.map((function(e){return s(se,{x:e.x,y:e.y,datum:e.datum,symbol:i,size:n,color:e.fill,borderWidth:o,borderColor:e.stroke,label:e.label,labelYOffset:l,ariaLabel:e.ariaLabel,ariaLabelledBy:e.ariaLabelledBy,ariaDescribedBy:e.ariaDescribedBy,ariaHidden:e.ariaHidden,ariaDisabled:e.ariaDisabled,isFocusable:u,onFocus:e.onFocus,onBlur:e.onBlur,testId:"line.point."+e.id},e.id)}))})})),Vt=N((function(e){var t=e.points,i=e.width,n=e.height,o=e.margin,r=e.setCurrent,a=e.onMouseEnter,l=e.onMouseMove,u=e.onMouseLeave,h=e.onMouseDown,c=e.onMouseUp,d=e.onClick,f=e.onDoubleClick,p=e.onTouchStart,g=e.onTouchMove,m=e.onTouchEnd,v=e.tooltip,y=e.debug,x=e.enableTouchCrosshair,b=ee(),_=b.showTooltipAt,M=b.hideTooltip,T=Y((function(e,t){_(W(v,{point:e}),[e.x+o.left,e.y+o.top],"top"),null==a||a(e,t)}),[_,v,a,o]),C=Y((function(e,t){_(W(v,{point:e}),[e.x+o.left,e.y+o.top],"top"),null==l||l(e,t)}),[_,v,o.left,o.top,l]),S=Y((function(e,t){M(),null==u||u(e,t)}),[M,u]),w=Y((function(e,t){null==h||h(e,t)}),[h]),k=Y((function(e,t){null==c||c(e,t)}),[c]),A=Y((function(e,t){null==d||d(e,t)}),[d]),L=Y((function(e,t){null==f||f(e,t)}),[f]),D=Y((function(e,t){_(W(v,{point:e}),[e.x+o.left,e.y+o.top],"top"),null==p||p(e,t)}),[o.left,o.top,p,_,v]),P=Y((function(e,t){_(W(v,{point:e}),[e.x+o.left,e.y+o.top],"top"),null==g||g(e,t)}),[o.left,o.top,g,_,v]),B=Y((function(e,t){M(),null==m||m(e,t)}),[m,M]);return s(kt,{nodes:t,width:i,height:n,setCurrent:r,onMouseEnter:T,onMouseMove:C,onMouseLeave:S,onMouseDown:w,onMouseUp:k,onClick:A,onDoubleClick:L,onTouchStart:D,onTouchMove:P,onTouchEnd:B,enableTouchCrosshair:x,debug:y})})),Yt=["isInteractive","animate","motionConfig","theme","renderWrapper"];function Nt(e){var t=e.data,i=e.xScale,n=void 0===i?Wt.xScale:i,o=e.xFormat,r=e.yScale,a=void 0===r?Wt.yScale:r,l=e.yFormat,u=e.curve,h=void 0===u?Wt.curve:u,c=e.margin,d=e.width,f=e.height,p=e.colors,g=void 0===p?Wt.colors:p,m=e.lineWidth,v=void 0===m?Wt.lineWidth:m,y=e.layers,x=void 0===y?Wt.layers:y,b=e.enableArea,_=void 0===b?Wt.enableArea:b,M=e.areaBaselineValue,T=void 0===M?Wt.areaBaselineValue:M,C=e.areaOpacity,S=void 0===C?Wt.areaOpacity:C,k=e.areaBlendMode,A=void 0===k?Wt.areaBlendMode:k,L=e.enablePoints,D=void 0===L?Wt.enablePoints:L,P=e.pointSymbol,W=e.pointSize,B=void 0===W?Wt.pointSize:W,E=e.pointColor,j=void 0===E?Wt.pointColor:E,I=e.pointBorderWidth,H=void 0===I?Wt.pointBorderWidth:I,R=e.pointBorderColor,F=void 0===R?Wt.pointBorderColor:R,z=e.enablePointLabel,O=void 0===z?Wt.enablePointLabel:z,G=e.pointLabel,V=void 0===G?Wt.pointLabel:G,Y=e.pointLabelYOffset,N=e.enableGridX,$=void 0===N?Wt.enableGridX:N,X=e.gridXValues,Z=e.enableGridY,J=void 0===Z?Wt.enableGridY:Z,Q=e.gridYValues,ee=e.axisTop,te=e.axisRight,ie=e.axisBottom,ne=void 0===ie?Wt.axisBottom:ie,oe=e.axisLeft,re=void 0===oe?Wt.axisLeft:oe,ae=e.defs,le=void 0===ae?Wt.defs:ae,se=e.fill,ue=void 0===se?Wt.fill:se,he=e.markers,pe=e.legends,ge=void 0===pe?Wt.legends:pe,me=e.isInteractive,ve=void 0===me?Wt.isInteractive:me,ye=e.useMesh,xe=void 0===ye?Wt.useMesh:ye,be=e.debugMesh,Te=void 0===be?Wt.debugMesh:be,Ce=e.onMouseEnter,Se=e.onMouseMove,ke=e.onMouseLeave,Ae=e.onMouseDown,Le=e.onMouseUp,De=e.onClick,Pe=e.onDoubleClick,We=e.onTouchStart,Be=e.onTouchMove,Ee=e.onTouchEnd,je=e.tooltip,Ie=void 0===je?Wt.tooltip:je,He=e.enableSlices,Re=void 0===He?Wt.enableSlices:He,Fe=e.debugSlices,ze=void 0===Fe?Wt.debugSlices:Fe,Ue=e.sliceTooltip,Oe=void 0===Ue?Wt.sliceTooltip:Ue,Ge=e.enableCrosshair,Ve=void 0===Ge?Wt.enableCrosshair:Ge,Ye=e.crosshairType,Ne=void 0===Ye?Wt.crosshairType:Ye,$e=e.enableTouchCrosshair,Xe=void 0===$e?Wt.enableTouchCrosshair:$e,Ke=e.role,qe=void 0===Ke?Wt.role:Ke,Ze=e.ariaLabel,Je=e.ariaLabelledBy,Qe=e.ariaDescribedBy,et=e.isFocusable,tt=void 0===et?Wt.isFocusable:et,it=e.pointAriaLabel,nt=e.pointAriaLabelledBy,ot=e.pointAriaDescribedBy,rt=e.pointAriaHidden,at=e.pointAriaDisabled,lt=e.initialHiddenIds,st=void 0===lt?Wt.initialHiddenIds:lt,ut=e.forwardedRef,ht=K(d,f,c),ct=ht.margin,dt=ht.innerWidth,ft=ht.innerHeight,pt=ht.outerWidth,gt=ht.outerHeight,mt=It({data:t,xScale:n,xFormat:o,yScale:a,yFormat:l,width:dt,height:ft,colors:g,curve:h,areaBaselineValue:T,pointColor:j,pointBorderColor:F,enableSlices:Re,initialHiddenIds:st}),vt=mt.legendData,yt=mt.toggleSeries,xt=mt.lineGenerator,bt=mt.areaGenerator,_t=mt.series,Mt=mt.xScale,Tt=mt.yScale,Ct=mt.slices,St=mt.points,wt=U(null),kt=wt[0],Lt=wt[1],Dt=U(null),Pt=Dt[0],Bt=Dt[1],Et={grid:null,markers:null,axes:null,areas:null,crosshair:null,lines:null,points:null,slices:null,mesh:null,legends:null};x.includes("grid")&&($||J)&&(Et.grid=s(_e,{width:dt,height:ft,xScale:$?Mt:null,yScale:J?Tt:null,xValues:X,yValues:Q},"grid")),x.includes("markers")&&Array.isArray(he)&&he.length>0&&(Et.markers=s(ce,{markers:he,width:dt,height:ft,xScale:Mt,yScale:Tt},"markers")),x.includes("axes")&&(Et.axes=s(Me,{xScale:Mt,yScale:Tt,width:dt,height:ft,top:ee,right:te,bottom:ne,left:re},"axes")),x.includes("lines")&&(Et.lines=s(zt,{series:_t,lineGenerator:xt,lineWidth:v},"lines")),x.includes("legends")&&ge.length>0&&(Et.legends=s(w,{children:ge.map((function(e,t){return s(we,At({},e,{containerWidth:dt,containerHeight:ft,data:e.data||vt,toggleSerie:e.toggleSerie?yt:void 0}),t)}))},"legends"));var jt=de(le,_t,ue);_&&(Et.areas=s(Rt,{areaGenerator:bt,areaOpacity:S,areaBlendMode:A,series:_t},"areas")),ve&&!1!==Re&&(Et.slices=s(Ot,{slices:Ct,axis:Re,debug:ze,tooltip:Oe,current:Pt,setCurrent:Bt,onMouseEnter:Ce,onMouseMove:Se,onMouseLeave:ke,onMouseDown:Ae,onMouseUp:Le,onClick:De,onDoubleClick:Pe,onTouchStart:We,onTouchMove:Be,onTouchEnd:Ee},"slices")),D&&(Et.points=s(Gt,{points:St,symbol:P,size:B,borderWidth:H,enableLabel:O,label:V,labelYOffset:Y,isFocusable:tt,setCurrentPoint:Lt,tooltip:Ie,margin:ct,ariaLabel:it,ariaLabelledBy:nt,ariaDescribedBy:ot,ariaHidden:rt,ariaDisabled:at},"points")),ve&&Ve&&(null!==kt&&(Et.crosshair=s(fe,{width:dt,height:ft,x:kt.x,y:kt.y,type:Ne},"crosshair")),null!==Pt&&Re&&(Et.crosshair=s(fe,{width:dt,height:ft,x:Pt.x,y:Pt.y,type:Re},"crosshair"))),ve&&xe&&!1===Re&&(Et.mesh=s(Vt,{points:St,width:dt,height:ft,margin:ct,setCurrent:Lt,onMouseEnter:Ce,onMouseMove:Se,onMouseLeave:ke,onMouseDown:Ae,onMouseUp:Le,onClick:De,onDoubleClick:Pe,onTouchStart:We,onTouchMove:Be,onTouchEnd:Ee,tooltip:Ie,enableTouchCrosshair:Xe,debug:Te},"mesh"));var Ht=At({},e,{innerWidth:dt,innerHeight:ft,series:_t,slices:Ct,points:St,xScale:Mt,yScale:Tt,lineGenerator:xt,areaGenerator:bt,currentPoint:kt,setCurrentPoint:Lt,currentSlice:Pt,setCurrentSlice:Bt});return s(q,{defs:jt,width:pt,height:gt,margin:ct,role:qe,ariaLabel:Ze,ariaLabelledBy:Je,ariaDescribedBy:Qe,isFocusable:tt,ref:ut,children:x.map((function(e,t){return"function"==typeof e?s(w,{children:e(Ht)},t):Et[e]}))})}var $t=_((function(e,t){var i=e.isInteractive,n=void 0===i?Wt.isInteractive:i,o=e.animate,r=void 0===o?Wt.animate:o,a=e.motionConfig,l=void 0===a?Wt.motionConfig:a,u=e.theme,h=e.renderWrapper,c=Lt(e,Yt);return s($,{animate:r,isInteractive:n,motionConfig:l,renderWrapper:h,theme:u,children:s(Nt,At({isInteractive:n},c,{forwardedRef:t}))})})),Xt=["defaultWidth","defaultHeight","onResize","debounceResize"],Kt=_((function(e,t){var i=e.defaultWidth,n=e.defaultHeight,o=e.onResize,r=e.debounceResize,a=Lt(e,Xt);return s(X,{defaultWidth:i,defaultHeight:n,onResize:o,debounceResize:r,children:function(e){var i=e.width,n=e.height;return s($t,At({width:i,height:n},a,{ref:t}))}})})),qt=["isInteractive","renderWrapper","theme"],Zt=function(e){var t=e.width,i=e.height,n=e.margin,o=e.pixelRatio,r=void 0===o?Bt.pixelRatio:o,a=e.data,l=e.xScale,u=void 0===l?Bt.xScale:l,h=e.xFormat,c=e.yScale,d=void 0===c?Bt.yScale:c,f=e.yFormat,p=e.curve,g=void 0===p?Bt.curve:p,m=e.layers,v=void 0===m?Bt.layers:m,y=e.colors,x=void 0===y?Bt.colors:y,b=e.lineWidth,_=void 0===b?Bt.lineWidth:b,M=e.enableArea,T=void 0===M?Bt.enableArea:M,C=e.areaBaselineValue,S=void 0===C?Bt.areaBaselineValue:C,w=e.areaOpacity,k=void 0===w?Bt.areaOpacity:w,A=e.enablePoints,L=void 0===A?Bt.enablePoints:A,D=e.pointSize,P=void 0===D?Bt.pointSize:D,B=e.pointColor,E=void 0===B?Bt.pointColor:B,j=e.pointBorderWidth,I=void 0===j?Bt.pointBorderWidth:j,H=e.pointBorderColor,R=void 0===H?Bt.pointBorderColor:H,O=e.enableGridX,G=void 0===O?Bt.enableGridX:O,N=e.gridXValues,$=e.enableGridY,X=void 0===$?Bt.enableGridY:$,q=e.gridYValues,Z=e.axisTop,Q=e.axisRight,ie=e.axisBottom,ne=void 0===ie?Bt.axisBottom:ie,oe=e.axisLeft,re=void 0===oe?Bt.axisLeft:oe,ae=e.legends,le=void 0===ae?Bt.legends:ae,se=e.isInteractive,ue=void 0===se?Bt.isInteractive:se,he=e.debugMesh,ce=void 0===he?Bt.debugMesh:he,de=e.onMouseLeave,fe=e.onMouseDown,me=e.onMouseUp,ve=e.onClick,ye=e.onDoubleClick,xe=e.tooltip,be=void 0===xe?Bt.tooltip:xe,_e=e.role,Me=e.forwardedRef,Se=z(null),we=K(t,i,n),Ae=we.margin,Le=we.innerWidth,De=we.innerHeight,Pe=we.outerWidth,We=we.outerHeight,Be=te(),Ee=U(null),je=Ee[0],Ie=Ee[1],He=It({data:a,xScale:u,xFormat:h,yScale:d,yFormat:f,width:Le,height:De,colors:x,curve:g,areaBaselineValue:S,pointColor:E,pointBorderColor:R}),Re=He.lineGenerator,Fe=He.areaGenerator,ze=He.series,Ue=He.xScale,Oe=He.yScale,Ge=He.points,Ve=F((function(){return{innerWidth:Le,innerHeight:De,series:ze,points:Ge,xScale:Ue,yScale:Oe,lineWidth:_,lineGenerator:Re,areaGenerator:Fe,currentPoint:je,setCurrentPoint:Ie}}),[Le,De,ze,Ge,Ue,Oe,_,Re,Fe,je,Ie]),Ye=_t({points:Ge,width:Le,height:De,debug:ce}),Ne=Ye.delaunay,$e=Ye.voronoi;V((function(){if(null!==Se.current){Se.current.width=Pe*r,Se.current.height=We*r;var e=Se.current.getContext("2d");e.scale(r,r),e.fillStyle=Be.background,e.fillRect(0,0,Pe,We),e.translate(Ae.left,Ae.top),v.forEach((function(t){var i;"function"==typeof t&&t(e,Ve);var n=null!=(i=Be.grid.line.strokeWidth)?i:0;if("grid"===t&&"string"!=typeof n&&n>0&&(e.lineWidth=n,e.strokeStyle=Be.grid.line.stroke,G&&Te(e,{width:Le,height:De,scale:Ue,axis:"x",values:N}),X&&Te(e,{width:Le,height:De,scale:Oe,axis:"y",values:q})),"axes"===t&&Ce(e,{xScale:Ue,yScale:Oe,width:Le,height:De,top:Z,right:Q,bottom:ne,left:re,theme:Be}),"areas"===t&&!0===T){e.save(),e.globalAlpha=k,Fe.context(e);for(var o=ze.length-1;o>=0;o--)e.fillStyle=ze[o].color,e.beginPath(),Fe(ze[o].data.map((function(e){return e.position}))),e.fill();e.restore()}if("lines"===t&&(Re.context(e),ze.forEach((function(t){e.strokeStyle=t.color,e.lineWidth=_,e.beginPath(),Re(t.data.map((function(e){return e.position}))),e.stroke()}))),"points"===t&&!0===L&&P>0&&Ge.forEach((function(t){e.fillStyle=t.color,e.beginPath(),e.arc(t.x,t.y,P/2,0,2*Math.PI),e.fill(),I>0&&(e.strokeStyle=t.borderColor,e.lineWidth=I,e.stroke())})),"mesh"===t&&!0===ce&&void 0!==$e&&(function(e,t){e.save(),e.globalAlpha=.75,e.beginPath(),t.render(e),e.strokeStyle="red",e.lineWidth=1,e.stroke(),e.restore()}(e,$e),je&&function(e,t,i){e.save(),e.globalAlpha=.35,e.beginPath(),t.renderCell(i,e),e.fillStyle="pink",e.fill(),e.restore()}(e,$e,je.absIndex)),"legends"===t){var r=ze.map((function(e){return{id:e.id,label:e.id,color:e.color}})).reverse();le.forEach((function(t){ke(e,At({},t,{data:t.data||r,containerWidth:Le,containerHeight:De,theme:Be}))}))}}))}}),[Se,Le,Pe,De,We,Ae.left,Ae.top,r,v,Be,Re,ze,Ue,Oe,G,N,X,q,Z,Q,ne,re,le,Ge,L,P,I,je,Ve,ce,T,Fe,k,_,$e]);var Xe=Y((function(e){if(!Se.current)return null;var t=J(Se.current,e),i=t[0],n=t[1];if(!pe(Ae.left,Ae.top,Le,De,i,n))return null;var o=Ne.find(i-Ae.left,n-Ae.top);return Ge[o]}),[Se,Ae,Le,De,Ne,Ge]),Ke=ee(),qe=Ke.showTooltipFromEvent,Ze=Ke.hideTooltip,Je=Y((function(e){var t=Xe(e);Ie(t),t?qe(W(be,{point:t}),e):Ze()}),[Xe,Ie,qe,Ze,be]),Qe=Y((function(e){Ze(),Ie(null),je&&(null==de||de(je,e))}),[Ze,Ie,de,je]),et=Y((function(e){if(fe){var t=Xe(e);t&&fe(t,e)}}),[Xe,fe]),tt=Y((function(e){if(me){var t=Xe(e);t&&me(t,e)}}),[Xe,me]),it=Y((function(e){if(ve){var t=Xe(e);t&&ve(t,e)}}),[Xe,ve]),nt=Y((function(e){if(ye){var t=Xe(e);t&&ye(t,e)}}),[Xe,ye]);return s("canvas",{ref:ge(Se,Me),width:Pe*r,height:We*r,style:{width:Pe,height:We,cursor:ue?"auto":"normal"},onMouseEnter:ue?Je:void 0,onMouseMove:ue?Je:void 0,onMouseLeave:ue?Qe:void 0,onMouseDown:ue?et:void 0,onMouseUp:ue?tt:void 0,onClick:ue?it:void 0,onDoubleClick:ue?nt:void 0,role:_e})},Jt=_((function(e,t){var i=e.isInteractive,n=e.renderWrapper,o=e.theme,r=Lt(e,qt);return s($,{isInteractive:i,renderWrapper:n,theme:o,animate:!1,children:s(Zt,At({},r,{forwardedRef:t}))})})),Qt=["defaultWidth","defaultHeight","onResize","debounceResize"];_((function(e,t){var i=e.defaultWidth;e.defaultHeight;var n=e.onResize,o=e.debounceResize,r=Lt(e,Qt);return s(X,{defaultWidth:i,defaultHeight:i,onResize:n,debounceResize:o,children:function(e){var i=e.width,n=e.height;return s(Jt,At({width:i,height:n},r,{ref:t}))}})}));const ei={anchor:"right",direction:"column",justify:!1,translateX:100,translateY:0,itemsSpacing:0,itemDirection:"left-to-right",itemWidth:80,itemHeight:20,itemOpacity:.75,symbolSize:12,symbolShape:"square",symbolBorderColor:"rgba(0, 0, 0, .5)",effects:[{on:"hover",style:{itemBackground:"rgba(0, 0, 0, .03)",itemOpacity:1}}]},ti={tickSize:5,tickPadding:5,tickRotation:45,ticksPosition:"before"},ii={tickSize:5,tickPadding:5,tickRotation:0},ni={top:60,right:110,bottom:60,left:80},oi={type:"point"},ri={type:"linear",min:"auto",max:"auto",reverse:!1},ai={margin:ni,xScale:oi,yScale:ri,axisTop:null,axisRight:null,axisBottom:ti,axisLeft:ii,useMesh:!0,enableArea:!0},li={background:"var(--color-bg-primary)",axis:{ticks:{text:{fill:"var(--color-text-secondary)"}},legend:{text:{fill:"var(--color-text-primary)"}},grid:{line:{stroke:"var(--color-border-default)"}}},legends:{text:{fill:"var(--color-text-secondary)"}},tooltip:{container:{background:"var(--color-bg-raised)",color:"var(--color-text-primary)"}}};var si;!function(e){e.Mesh="Mesh",e.SlicesX="SlicesX",e.SlicesY="SlicesY"}(si||(si={}));const ui=64,hi=(e,t,i)=>{const{constant:n=ui,...o}=i??{};return{type:"symlog",min:e,max:t,constant:n,...o}},ci=(e,t)=>{const i=e.flatMap((e=>e.data)).map((e=>e.y)),n=Math.min(...i),o=Math.max(...i);return hi(n,o,t)},di=({kind:e=si.Mesh,width:t="100%",height:i=400,emptyLabel:n="No data available",emptyAriaLabel:o="No data available",axisBottom:r,rootAriaLabel:a,data:l,...u})=>{const h=(e=>{switch(e){case si.SlicesX:return{useMesh:!1,enableSlices:"x"};case si.SlicesY:return{useMesh:!1,enableSlices:"y"};case si.Mesh:default:return{useMesh:!0,enableSlices:void 0}}})(e),c=v(((t,i)=>{e===si.Mesh?u?.onClick?.(t,i):[si.SlicesX,si.SlicesY].includes(e)&&u?.onSliceClick?.(t,i)}),[e,u]),d=v(((t,i)=>{e===si.Mesh?u?.onTouchEnd?.(t,i):[si.SlicesX,si.SlicesY].includes(e)&&u?.onSliceTouchEnd?.(t,i)}),[e,u]),f=y((()=>{const e=l?.flatMap((e=>e.data?.map((e=>e.x))));return[...new Set(e)].sort(((e,t)=>{const i=e?.toString()||"",n=t?.toString()||"",o=i.split(/(\d+)/).filter(Boolean),r=n.split(/(\d+)/).filter(Boolean);for(let e=0;e<Math.min(o.length,r.length);e++){const t=parseInt(o[e],10),i=parseInt(r[e],10);if(isNaN(t)||isNaN(i)){const t=o[e].localeCompare(r[e]);if(0!==t)return t}else if(t!==i)return t-i}return o.length-r.length}))}),[l]);return!l||0===l.length||l.every((e=>!e.data?.length))?s(Ee,{label:n,width:t,height:i,ariaLabel:o}):s("div",{role:"img","aria-label":a,tabIndex:0,style:{width:t,height:i},children:s(Kt,{...ai,...h,...u,data:l,onClick:c,onTouchEnd:d,axisBottom:{...ti,...r,tickValues:f},theme:li})})},fi=({title:e,mode:i,items:n,slices:o,min:r,max:a,height:l=400,width:u="100%",rootAriaLabel:h,translations:c})=>{const[d,f]=x([]),g=c["no-results"],m=y((()=>hi(r,a,{constant:8})),[a,r]),b=y((()=>i===p.Percent?" >-.2%":" >-.2f"),[i]),_=v((e=>{const t=e.points.reduce(((e,t)=>(e.push(t.data.x),e)),[]);f((()=>t))}),[]);return y((()=>o.filter((e=>d.includes(e.metadata.executionId)))),[o,d]),s(t,{title:e,children:s(di,{kind:si.SlicesX,data:n,height:l,width:u,emptyLabel:g,emptyAriaLabel:g,rootAriaLabel:h,colors:({color:e})=>e,yScale:m,yFormat:b,onSliceClick:_,onSliceTouchEnd:_})})};export{je as AttachmentEmpty,di as TrendChart,si as TrendChartKind,fi as TrendChartWidget,t as Widget,ti as defaultTrendChartAxisBottomConfig,ii as defaultTrendChartAxisLeftConfig,ai as defaultTrendChartConfig,ei as defaultTrendChartLegendConfig,ni as defaultTrendChartMarginConfig,oi as defaultTrendChartXScaleConfig,ri as defaultTrendChartYScaleConfig,hi as makeSymlogScale,ci as makeSymlogScaleBySeries};
|
|
30
2
|
//# sourceMappingURL=index.js.map
|