@undp/data-viz 2.3.10 → 2.3.11
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/AreaChart.js +16 -16
- package/dist/{Axis-D56Gy0se.js → Axis-RyGdzLrG.js} +2 -2
- package/dist/{Axis-D56Gy0se.js.map → Axis-RyGdzLrG.js.map} +1 -1
- package/dist/{AxisTitle-VFq89Olw.js → AxisTitle-DGjX1_2v.js} +2 -2
- package/dist/{AxisTitle-VFq89Olw.js.map → AxisTitle-DGjX1_2v.js.map} +1 -1
- package/dist/BarGraph.cjs +1 -1
- package/dist/BarGraph.js +18 -18
- package/dist/BasicStatCard.js +2 -2
- package/dist/BeeSwarmChart.cjs +1 -1
- package/dist/BeeSwarmChart.js +13 -13
- package/dist/BiVariateChoroplethMap.cjs +1 -1
- package/dist/BiVariateChoroplethMap.js +12 -12
- package/dist/BulletChart.cjs +1 -1
- package/dist/BulletChart.js +18 -18
- package/dist/ButterflyChart.cjs +1 -1
- package/dist/ButterflyChart.js +15 -15
- package/dist/ChoroplethMap.cjs +1 -1
- package/dist/ChoroplethMap.js +12 -12
- package/dist/CirclePackingGraph.cjs +1 -1
- package/dist/CirclePackingGraph.js +4 -4
- package/dist/ColorLegend.js +2 -2
- package/dist/ColorLegendWithMouseOver.js +2 -2
- package/dist/CopyTextButton.cjs +1 -1
- package/dist/CopyTextButton.cjs.map +1 -1
- package/dist/CopyTextButton.js +4 -4
- package/dist/CopyTextButton.js.map +1 -1
- package/dist/CsvDownloadButton.js +2 -2
- package/dist/DataCards.cjs +1 -1
- package/dist/DataCards.js +7 -7
- package/dist/DataTable.js +4 -4
- package/dist/{DetailsModal-BMCTgVsk.js → DetailsModal-C3qlUyFK.js} +3 -3
- package/dist/{DetailsModal-BMCTgVsk.js.map → DetailsModal-C3qlUyFK.js.map} +1 -1
- package/dist/{DetailsModal-DHttOA80.cjs → DetailsModal-DIRTulvr.cjs} +2 -2
- package/dist/{DetailsModal-DHttOA80.cjs.map → DetailsModal-DIRTulvr.cjs.map} +1 -1
- package/dist/DifferenceLineChart.js +15 -15
- package/dist/DonutChart.cjs +1 -1
- package/dist/DonutChart.js +10 -10
- package/dist/DotDensityMap.cjs +1 -1
- package/dist/DotDensityMap.js +13 -13
- package/dist/{DropdownSelect-D8rFbygC.js → DropdownSelect-B2WTeedJ.js} +2 -2
- package/dist/{DropdownSelect-D8rFbygC.js.map → DropdownSelect-B2WTeedJ.js.map} +1 -1
- package/dist/DualAxisLineChart.js +12 -12
- package/dist/DumbbellChart.cjs +1 -1
- package/dist/DumbbellChart.js +18 -18
- package/dist/{EmptyState-dScPFkLy.js → EmptyState-D807L58h.js} +4 -4
- package/dist/{EmptyState-dScPFkLy.js.map → EmptyState-D807L58h.js.map} +1 -1
- package/dist/ExcelDownloadButton.js +2 -2
- package/dist/FootNote.js +2 -2
- package/dist/GeoHubCompareMaps.js +3 -3
- package/dist/GeoHubMap.js +4 -4
- package/dist/GeoHubMapWithLayerSelection.js +5 -5
- package/dist/{GraphContainer-CF6ws3pd.js → GraphContainer-DwMxWRCi.js} +2 -2
- package/dist/{GraphContainer-CF6ws3pd.js.map → GraphContainer-DwMxWRCi.js.map} +1 -1
- package/dist/GraphDescription.js +2 -2
- package/dist/{GraphEl-Bw-9MUym.js → GraphEl-CT3xPv2P.js} +5 -5
- package/dist/{GraphEl-Bw-9MUym.js.map → GraphEl-CT3xPv2P.js.map} +1 -1
- package/dist/{GraphEl-DjElfY07.cjs → GraphEl-DvwOOhF1.cjs} +2 -2
- package/dist/{GraphEl-DjElfY07.cjs.map → GraphEl-DvwOOhF1.cjs.map} +1 -1
- package/dist/GraphFooter.js +2 -2
- package/dist/GraphHeader.js +1 -1
- package/dist/GraphTitle.js +2 -2
- package/dist/GriddedGraphs.cjs +1 -1
- package/dist/GriddedGraphs.js +6 -6
- package/dist/GriddedGraphsFromConfig.js +2 -2
- package/dist/HeatMap.cjs +1 -1
- package/dist/HeatMap.js +10 -10
- package/dist/Histogram.cjs +1 -1
- package/dist/Histogram.js +4 -4
- package/dist/HybridMap.cjs +1 -1
- package/dist/HybridMap.cjs.map +1 -1
- package/dist/HybridMap.js +15 -15
- package/dist/ImageDownloadButton.js +2 -2
- package/dist/LineChartWithConfidenceInterval.js +15 -15
- package/dist/LinearColorLegend.js +2 -2
- package/dist/{Modal-Ch9wvKxF.js → Modal-BV4rkoLM.js} +5 -5
- package/dist/{Modal-Ch9wvKxF.js.map → Modal-BV4rkoLM.js.map} +1 -1
- package/dist/{Modal-CaYa_TLE.cjs → Modal-ZX55hLH-.cjs} +5 -5
- package/dist/{Modal-CaYa_TLE.cjs.map → Modal-ZX55hLH-.cjs.map} +1 -1
- package/dist/MultiGraphDashboard.cjs +1 -1
- package/dist/MultiGraphDashboard.js +4 -4
- package/dist/MultiGraphDashboardFromConfig.js +2 -2
- package/dist/MultiGraphDashboardWideToLongFormat.cjs +1 -1
- package/dist/MultiGraphDashboardWideToLongFormat.js +4 -4
- package/dist/MultiGraphDashboardWideToLongFormatFromConfig.js +2 -2
- package/dist/MultiLineAltChart.js +15 -15
- package/dist/MultiLineChart.js +15 -15
- package/dist/ParetoChart.cjs +1 -1
- package/dist/ParetoChart.js +12 -12
- package/dist/PerformanceIntensiveMultiGraphDashboard.cjs +1 -1
- package/dist/PerformanceIntensiveMultiGraphDashboard.js +4 -4
- package/dist/PerformanceIntensiveMultiGraphDashboardFromConfig.js +2 -2
- package/dist/PerformanceIntensiveScrollStory.js +3 -3
- package/dist/RadarChart.cjs +1 -1
- package/dist/RadarChart.js +9 -9
- package/dist/{ReferenceLine-DgtoRgw0.js → ReferenceLine-CNEjAYvv.js} +3 -3
- package/dist/{ReferenceLine-DgtoRgw0.js.map → ReferenceLine-CNEjAYvv.js.map} +1 -1
- package/dist/{RegressionLine-D2aqeBKp.js → RegressionLine-BDrndQxo.js} +4 -4
- package/dist/{RegressionLine-D2aqeBKp.js.map → RegressionLine-BDrndQxo.js.map} +1 -1
- package/dist/SVGDownloadButton.js +2 -2
- package/dist/SankeyChart.cjs +1 -1
- package/dist/SankeyChart.js +9 -9
- package/dist/ScatterPlot.cjs +1 -1
- package/dist/ScatterPlot.js +20 -20
- package/dist/ScrollStory.js +3 -3
- package/dist/SimpleLineChart.js +16 -16
- package/dist/SingleGraphDashboard.cjs +1 -1
- package/dist/SingleGraphDashboard.js +6 -6
- package/dist/SingleGraphDashboardFromConfig.js +2 -2
- package/dist/SingleGraphDashboardGeoHubMaps.js +3 -3
- package/dist/SingleGraphDashboardGeoHubMapsFromConfig.js +2 -2
- package/dist/SingleGraphDashboardThreeDGraphs.cjs +1 -1
- package/dist/SingleGraphDashboardThreeDGraphs.js +6 -6
- package/dist/SingleGraphDashboardThreeDGraphsFromConfig.js +2 -2
- package/dist/SlopeChart.cjs +1 -1
- package/dist/SlopeChart.js +11 -11
- package/dist/{Source-Cu9OHOBj.js → Source-eILIr4Ov.js} +5 -5
- package/dist/{Source-Cu9OHOBj.js.map → Source-eILIr4Ov.js.map} +1 -1
- package/dist/Source.js +3 -3
- package/dist/SparkLine.js +5 -5
- package/dist/{Spinner--r2RrJV8.js → Spinner-CtJETd5V.js} +2 -2
- package/dist/{Spinner--r2RrJV8.js.map → Spinner-CtJETd5V.js.map} +1 -1
- package/dist/StatCardFromData.js +2 -2
- package/dist/StripChart.cjs +1 -1
- package/dist/StripChart.js +9 -9
- package/dist/ThreeDGlobe.cjs +1 -1
- package/dist/ThreeDGlobe.js +7 -7
- package/dist/ThresholdColorLegendWithMouseOver.js +2 -2
- package/dist/{Tooltip-BRnAz2Gv.js → Tooltip-CohiIbLZ.js} +2 -2
- package/dist/{Tooltip-BRnAz2Gv.js.map → Tooltip-CohiIbLZ.js.map} +1 -1
- package/dist/TreeMapGraph.cjs +1 -1
- package/dist/TreeMapGraph.js +9 -9
- package/dist/{Typography-CdMGooqp.js → Typography-HicNIA61.js} +2 -2
- package/dist/{Typography-CdMGooqp.js.map → Typography-HicNIA61.js.map} +1 -1
- package/dist/UnitChart.js +6 -6
- package/dist/WaterfallChart.cjs +1 -1
- package/dist/WaterfallChart.js +14 -14
- package/dist/{XAxesLabels-rhK7lRjO.js → XAxesLabels-IwjMJkYS.js} +3 -3
- package/dist/{XAxesLabels-rhK7lRjO.js.map → XAxesLabels-IwjMJkYS.js.map} +1 -1
- package/dist/{XTicksAndGridLines-CVZkZkpS.js → XTicksAndGridLines-BDmF9etl.js} +2 -2
- package/dist/{XTicksAndGridLines-CVZkZkpS.js.map → XTicksAndGridLines-BDmF9etl.js.map} +1 -1
- package/dist/{YAxesLabels-QICWVsHf.js → YAxesLabels-DoGvgHdw.js} +3 -3
- package/dist/{YAxesLabels-QICWVsHf.js.map → YAxesLabels-DoGvgHdw.js.map} +1 -1
- package/dist/{YTicksAndGridLines-GnXnSRF2.js → YTicksAndGridLines-C3GW1xFG.js} +2 -2
- package/dist/{YTicksAndGridLines-GnXnSRF2.js.map → YTicksAndGridLines-C3GW1xFG.js.map} +1 -1
- package/dist/{checkIfMultiple-D9fVkeOq.js → checkIfMultiple-B97uOUVq.js} +5 -5
- package/dist/{checkIfMultiple-D9fVkeOq.js.map → checkIfMultiple-B97uOUVq.js.map} +1 -1
- package/dist/{checkIfMultiple-DxnGtm3t.cjs → checkIfMultiple-TOaaUwS7.cjs} +2 -2
- package/dist/{checkIfMultiple-DxnGtm3t.cjs.map → checkIfMultiple-TOaaUwS7.cjs.map} +1 -1
- package/dist/{customArea-ASDaSE4u.js → customArea-Cc2whe6P.js} +3 -3
- package/dist/{customArea-ASDaSE4u.js.map → customArea-Cc2whe6P.js.map} +1 -1
- package/dist/{getSliderMarks-Cvg8zHBU.js → getSliderMarks-vXsR8RrR.js} +2 -2
- package/dist/{getSliderMarks-Cvg8zHBU.js.map → getSliderMarks-vXsR8RrR.js.map} +1 -1
- package/dist/{index-BzNfurbO.js → index-B5ggV1vg.js} +9 -9
- package/dist/{index-BzNfurbO.js.map → index-B5ggV1vg.js.map} +1 -1
- package/dist/{index-CXobQn-E.cjs → index-BDR7MlMo.cjs} +2 -2
- package/dist/{index-CXobQn-E.cjs.map → index-BDR7MlMo.cjs.map} +1 -1
- package/dist/{index-CHPV5EwG-DecW7_qr.js → index-CHPV5EwG-BCLAYDCV.js} +3 -3
- package/dist/{index-CHPV5EwG-DecW7_qr.js.map → index-CHPV5EwG-BCLAYDCV.js.map} +1 -1
- package/dist/{index-Dp_SfsUA.js → index-CKpKc9DR.js} +3 -3
- package/dist/{index-Dp_SfsUA.js.map → index-CKpKc9DR.js.map} +1 -1
- package/dist/{index-B-4y_iGB.js → index-CZ0elhKR.js} +4 -4
- package/dist/{index-B-4y_iGB.js.map → index-CZ0elhKR.js.map} +1 -1
- package/dist/{index-CtMBjvtq.js → index-Co3YGYe1.js} +3 -3
- package/dist/{index-CtMBjvtq.js.map → index-Co3YGYe1.js.map} +1 -1
- package/dist/{index-Cw8sCyo_-n4AacHGk.js → index-D6CYcVc7-BOa7Dpvf.js} +5 -5
- package/dist/{index-Cw8sCyo_-n4AacHGk.js.map → index-D6CYcVc7-BOa7Dpvf.js.map} +1 -1
- package/dist/index-D6CYcVc7-CTEcAtiQ.cjs +2 -0
- package/dist/index-D6CYcVc7-CTEcAtiQ.cjs.map +1 -0
- package/dist/{index-CSiFiXPj.js → index-D_dtv_T9.js} +3 -3
- package/dist/{index-CSiFiXPj.js.map → index-D_dtv_T9.js.map} +1 -1
- package/dist/{index-Dzc_aaI9-CG2Ar7l1.js → index-DoS4bGNa-Bgab95kx.js} +2 -2
- package/dist/{index-Dzc_aaI9-CG2Ar7l1.js.map → index-DoS4bGNa-Bgab95kx.js.map} +1 -1
- package/dist/{index-Dzc_aaI9-C3DbPpy3.cjs → index-DoS4bGNa-C3DbPpy3.cjs} +1 -1
- package/dist/{index-Dzc_aaI9-C3DbPpy3.cjs.map → index-DoS4bGNa-C3DbPpy3.cjs.map} +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.js +2 -2
- package/dist/{linear-CalFSAaO.js → linear-DNXM5Pdl.js} +3 -3
- package/dist/{linear-CalFSAaO.js.map → linear-DNXM5Pdl.js.map} +1 -1
- package/dist/{pow-CaIrlM4J.js → pow-BXYLJHCq.js} +2 -2
- package/dist/{pow-CaIrlM4J.js.map → pow-BXYLJHCq.js.map} +1 -1
- package/dist/{proxy-DRuSUlPL.js → proxy--_f6k3NR.js} +2 -2
- package/dist/{proxy-DRuSUlPL.js.map → proxy--_f6k3NR.js.map} +1 -1
- package/dist/{string-C_xJ4Wg4.js → string-CbaFIsiV.js} +4 -4
- package/dist/{string-C_xJ4Wg4.js.map → string-CbaFIsiV.js.map} +1 -1
- package/dist/style.css +1 -1
- package/dist/{time-CAtex-RV.js → time-vyz6Y89P.js} +2 -2
- package/dist/{time-CAtex-RV.js.map → time-vyz6Y89P.js.map} +1 -1
- package/dist/{use-in-view-Dl5L8LtP.js → use-in-view-DqvKAveg.js} +2 -2
- package/dist/{use-in-view-Dl5L8LtP.js.map → use-in-view-DqvKAveg.js.map} +1 -1
- package/package.json +2 -2
- package/dist/index-Cw8sCyo_-CEcCMKUi.cjs +0 -2
- package/dist/index-Cw8sCyo_-CEcCMKUi.cjs.map +0 -1
|
@@ -1,29 +1,29 @@
|
|
|
1
|
-
import { c as Ne, j as n, m as bt } from "./index-CHPV5EwG-
|
|
1
|
+
import { c as Ne, j as n, m as bt } from "./index-CHPV5EwG-BCLAYDCV.js";
|
|
2
2
|
import { useRef as xe, useState as Wt, useEffect as Ae } from "react";
|
|
3
3
|
import { p as Kt, f as De } from "./parse-Dv4of-PN.js";
|
|
4
4
|
import { o as Me } from "./index-BZQYSqar.js";
|
|
5
5
|
import { n as fe } from "./numberFormattingFunction-14YCbkN2.js";
|
|
6
|
-
import { T as Oe } from "./Tooltip-
|
|
6
|
+
import { T as Oe } from "./Tooltip-CohiIbLZ.js";
|
|
7
7
|
import { c as V } from "./checkIfNullOrUndefined-DmfiKkNw.js";
|
|
8
|
-
import { X as Se } from "./XTicksAndGridLines-
|
|
9
|
-
import { A as ve } from "./Axis-
|
|
10
|
-
import { A as je } from "./AxisTitle-
|
|
11
|
-
import { H as Te } from "./index-
|
|
12
|
-
import { t as Ve } from "./time-
|
|
13
|
-
import { a as be } from "./linear-
|
|
8
|
+
import { X as Se } from "./XTicksAndGridLines-BDmF9etl.js";
|
|
9
|
+
import { A as ve } from "./Axis-RyGdzLrG.js";
|
|
10
|
+
import { A as je } from "./AxisTitle-DGjX1_2v.js";
|
|
11
|
+
import { H as Te } from "./index-D_dtv_T9.js";
|
|
12
|
+
import { t as Ve } from "./time-vyz6Y89P.js";
|
|
13
|
+
import { a as be } from "./linear-DNXM5Pdl.js";
|
|
14
14
|
import { l as ke, c as Ie } from "./line-DFlZsxI1.js";
|
|
15
15
|
import { c as $e, s as Ce, a as Pe, m as Fe } from "./step-BrDul-H4.js";
|
|
16
16
|
import { s as He } from "./select-DKy99ogv.js";
|
|
17
|
-
import { m as ut } from "./proxy
|
|
17
|
+
import { m as ut } from "./proxy--_f6k3NR.js";
|
|
18
18
|
import { a as We } from "./init-BhZylTFx.js";
|
|
19
19
|
import { p as Xe } from "./pointer-CWRWOsrb.js";
|
|
20
|
-
import { u as Ee } from "./use-in-view-
|
|
20
|
+
import { u as Ee } from "./use-in-view-DqvKAveg.js";
|
|
21
21
|
import { GraphFooter as Ge } from "./GraphFooter.js";
|
|
22
22
|
import { GraphHeader as Ye } from "./GraphHeader.js";
|
|
23
23
|
import { ColorLegend as Re } from "./ColorLegend.js";
|
|
24
24
|
import { Colors as Le } from "./Colors.js";
|
|
25
|
-
import { E as Be } from "./EmptyState-
|
|
26
|
-
import { a as ze, G as Ue } from "./GraphContainer-
|
|
25
|
+
import { E as Be } from "./EmptyState-D807L58h.js";
|
|
26
|
+
import { a as ze, G as Ue } from "./GraphContainer-DwMxWRCi.js";
|
|
27
27
|
import { g as qe } from "./getNoOfTicks-CpmRjcRF.js";
|
|
28
28
|
function Je(e) {
|
|
29
29
|
const t = Ne.c(117), {
|
package/dist/DumbbellChart.cjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("./index-CHPV5EwG-6v2a2njQ.cjs"),Me=require("./index-Cno4Q0YE.cjs"),Ee=require("./parse-xYI9yrvL.cjs"),T=require("react"),Ie=require("./getSliderMarks-CIuSoedo.cjs"),Ne=require("./index-DQA8q5sC.cjs"),Ce=require("./numberFormattingFunction-02t-wJta.cjs"),Ve=require("./Tooltip-BLa2EfMs.cjs"),Ft=require("./checkIfNullOrUndefined-BCW3Y1ML.cjs"),De=require("./AxisTitle-DV4n0RxE.cjs"),Ye=require("./Axis-Jt_tmhxS.cjs"),Xe=require("./XAxesLabels-C6o9jJal.cjs"),Se=require("./YTicksAndGridLines-UzVC5eBM.cjs"),Te=require("./ReferenceLine-M9aP3dj-.cjs"),He=require("./XTicksAndGridLines-CekrPykD.cjs"),Ue=require("./YAxesLabels-BQ2aCazV.cjs"),qe=require("./DetailsModal-DHttOA80.cjs"),Fe=require("./linear-CgUCbw9F.cjs"),Pe=require("./band-VYfcZeJ2.cjs"),qt=require("./proxy-C4-uo6nS.cjs"),We=require("./use-in-view-C3o_ntMv.cjs"),Ge=require("./index-CoobIWNj.cjs"),Oe=require("./ensureCompleteData-D9bQTiVS.cjs"),Le=require("./GraphContainer-B1EDxJ0S.cjs"),ze=require("./GraphHeader.cjs"),$e=require("./index-sbKVyHS2.cjs"),Je=require("./GraphFooter.cjs"),Ke=require("./ColorLegendWithMouseOver.cjs"),Qe=require("./EmptyState-N1eHt3vq.cjs"),Ze=require("./Colors.cjs");function _e(e){const t=i.compilerRuntimeExports.c(148),{data:c,leftMargin:Ut,rightMargin:se,topMargin:zt,bottomMargin:Jt,dotColors:M,barPadding:Pt,showTicks:ut,truncateBy:Ct,width:bt,height:vt,radius:pt,showLabels:wt,tooltip:b,onSeriesMouseOver:rt,maxValue:Rt,minValue:A,onSeriesMouseClick:xt,showValues:Kt,suffix:ht,prefix:q,selectedColor:F,arrowConnector:L,connectorStrokeWidth:Wt,maxBarThickness:jt,minBarThickness:Mt,resetSelectionOnDoubleClick:Qt,detailsOnClick:I,axisTitle:P,noOfTicks:Gt,valueColor:It,styles:o,classNames:n,labelOrder:y,refValues:Lt,animate:p,precision:m,customLayers:X,highlightedDataPoints:W,dimmedOpacity:dt,hideAxisLine:H}=e,U=Ut===void 0?20:Ut,Bt=se===void 0?20:se,$t=zt===void 0?20:zt,Yt=Jt===void 0?25:Jt,ie=T.useRef(null);let Nt;t[0]!==p.amount||t[1]!==p.once?(Nt={once:p.once,amount:p.amount},t[0]=p.amount,t[1]=p.once,t[2]=Nt):Nt=t[2];const v=We.useInView(ie,Nt),Zt=P?U+30:U;let f;t[3]!==Yt||t[4]!==Bt||t[5]!==Zt||t[6]!==$t?(f={top:$t,bottom:Yt,left:Zt,right:Bt},t[3]=Yt,t[4]=Bt,t[5]=Zt,t[6]=$t,t[7]=f):f=t[7];const s=f,$=bt-s.left-s.right,z=vt-s.top-s.bottom,[Vt,_t]=T.useState(void 0),[G,te]=T.useState(void 0),[ft,Dt]=T.useState(void 0),[St,Tt]=T.useState(void 0);let yt;if(t[8]!==c||t[9]!==y){const x=new Set,w=c.map((h,ct)=>{const a=y?`${h.label}`:`${ct}`;return x.add(a),{...h,id:a}}),gt=y?y.filter(h=>!x.has(h)):[];let E;t[11]!==c[0]?(E=h=>({id:h,label:h,x:Array(c[0].x.length).fill(null)}),t[11]=c[0],t[12]=E):E=t[12],yt=[...w,...gt.map(E)],t[8]=c,t[9]=y,t[10]=yt}else yt=t[10];const O=yt;let lt;t[13]!==O||t[14]!==y?(lt=y??O.map(ui),t[13]=O,t[14]=y,t[15]=lt):lt=t[15];const Xt=lt;let J,K,Q,Z,_,N,V,k,B,tt,et,it,C,R,nt;if(t[16]!==p||t[17]!==L||t[18]!==P||t[19]!==Xt||t[20]!==Pt||t[21]!==n?.dataConnectors||t[22]!==n?.graphObjectValues||t[23]!==n?.xAxis?.axis||t[24]!==n?.xAxis?.labels||t[25]!==n?.yAxis?.gridLines||t[26]!==n?.yAxis?.labels||t[27]!==n?.yAxis?.title||t[28]!==Wt||t[29]!==X||t[30]!==O||t[31]!==I||t[32]!==dt||t[33]!==M||t[34]!==z||t[35]!==$||t[36]!==vt||t[37]!==H||t[38]!==W||t[39]!==v||t[40]!==U||t[41]!==s.bottom||t[42]!==s.left||t[43]!==s.right||t[44]!==s.top||t[45]!==jt||t[46]!==Rt||t[47]!==Mt||t[48]!==A||t[49]!==G||t[50]!==Gt||t[51]!==xt||t[52]!==rt||t[53]!==m||t[54]!==q||t[55]!==pt||t[56]!==Lt||t[57]!==Qt||t[58]!==F||t[59]!==wt||t[60]!==ut||t[61]!==Kt||t[62]!==o?.dataConnectors||t[63]!==o?.graphObjectValues||t[64]!==o?.xAxis?.axis||t[65]!==o?.xAxis?.labels||t[66]!==o?.yAxis?.gridLines||t[67]!==o?.yAxis?.labels||t[68]!==o?.yAxis?.title||t[69]!==ht||t[70]!==Ct||t[71]!==It||t[72]!==bt){const x=Fe.linear().domain([A,Rt]).range([z,0]).nice(),w=Pe.band().domain(Xt).range([0,Mt?Math.max($,Mt*O.length):jt?Math.min($,jt*O.length):$]).paddingInner(Pt),gt=x.ticks(Gt);K=qt.motion.svg,B=`${bt}px`,tt=`${vt}px`,et=`0 0 ${bt} ${vt}`,it="ltr",C=ie,t[88]!==L?(R=L?i.jsxRuntimeExports.jsx("defs",{children:i.jsxRuntimeExports.jsx("marker",{id:"arrow",viewBox:"0 0 10 10",refX:"10",refY:"5",markerWidth:"6",markerHeight:"6",orient:"auto-start-reverse",children:i.jsxRuntimeExports.jsx("path",{d:"M 0 0 L 10 5 L 0 10 z",className:"fill-primary-gray-600 dark:fill-primary-gray-300"})})}):null,t[88]=L,t[89]=R):R=t[89],Z=`translate(${s.left},${s.top})`;let E;t[90]!==A||t[91]!==m||t[92]!==q||t[93]!==ut||t[94]!==ht?(E=ut?Ce.numberFormattingFunction(A<0?0:A,"NA",m,q,ht):void 0,t[90]=A,t[91]=m,t[92]=q,t[93]=ut,t[94]=ht,t[95]=E):E=t[95];const h=n?.xAxis?.axis,ct=n?.yAxis?.labels;let a;t[96]!==h||t[97]!==ct?(a={axis:h,label:ct},t[96]=h,t[97]=ct,t[98]=a):a=t[98];const Ht=o?.xAxis?.axis,kt=o?.yAxis?.labels;let ee;t[99]!==Ht||t[100]!==kt?(ee={axis:Ht,label:kt},t[99]=Ht,t[100]=kt,t[101]=ee):ee=t[101],_=i.jsxRuntimeExports.jsx(Ye.Axis,{hideAxisLine:H,y1:x(A<0?0:A),y2:x(A<0?0:A),x1:0-U,x2:$+s.right,label:E,labelPos:{x:0-U,dx:0,dy:Rt<0?"1em":-5,y:x(A<0?0:A)},classNames:a,styles:ee}),N=ut?i.jsxRuntimeExports.jsx(Se.YTicksAndGridLines,{values:gt.filter(ci),y:gt.filter(li).map(r=>x(r)),x1:0-U,x2:$+s.right,styles:{gridLines:o?.yAxis?.gridLines,labels:o?.yAxis?.labels},classNames:{gridLines:n?.yAxis?.gridLines,labels:n?.yAxis?.labels},suffix:ht,prefix:q,labelType:"secondary",showGridLines:!0,labelPos:"vertical",precision:m}):null;const Et=0-U-15,l=z/2,j=o?.yAxis?.title,S=n?.yAxis?.title;t[102]!==P||t[103]!==Et||t[104]!==l||t[105]!==j||t[106]!==S?(V=i.jsxRuntimeExports.jsx(De.AxisTitle,{x:Et,y:l,style:j,className:S,text:P,rotate90:!0}),t[102]=P,t[103]=Et,t[104]=l,t[105]=j,t[106]=S,t[107]=V):V=t[107],t[108]!==X?(k=X.filter(ri).map(ai),t[108]=X,t[109]=k):k=t[109],J=Ge.AnimatePresence,nt=O.map(r=>i.jsxRuntimeExports.jsxs(qt.motion.g,{className:"undp-viz-g-with-hover",variants:{initial:{x:w(`${r.id}`)+w.bandwidth()/2,y:0,opacity:W.length!==0?W.indexOf(r.label)!==-1?.85:dt:.85},whileInView:{x:w(`${r.id}`)+w.bandwidth()/2,y:0,opacity:W.length!==0?W.indexOf(r.label)!==-1?.85:dt:.85,transition:{duration:p.duration}}},initial:"initial",animate:v?"whileInView":"initial",exit:{opacity:0,transition:{duration:p.duration}},children:[wt?i.jsxRuntimeExports.jsx(Xe.XAxesLabels,{value:`${r.label}`.length<Ct?`${r.label}`:`${`${r.label}`.substring(0,Ct)}...`,y:z+5,x:0-w.bandwidth()/2,width:w.bandwidth(),height:s.bottom,style:o?.xAxis?.labels,className:n?.xAxis?.labels,alignment:"top",animate:p,isInView:v}):null,i.jsxRuntimeExports.jsx(qt.motion.line,{x1:0,x2:0,style:{strokeWidth:Wt,...o?.dataConnectors||{},opacity:F?.3:1},className:i.mo("stroke-primary-gray-600 dark:stroke-primary-gray-300",n?.dataConnectors),markerEnd:L&&r.x.indexOf(Math.min(...r.x.filter(oi)))===0?"url(#arrow)":"",markerStart:L&&r.x.indexOf(Math.min(...r.x.filter(si)))===r.x.length-1?"url(#arrow)":"",exit:{opacity:0,transition:{duration:p.duration}},variants:{initial:{y1:0,y2:0},whileInView:{y1:x(Math.min(...r.x.filter(ni)))+pt,y2:x(Math.max(...r.x.filter(ii)))-pt,transition:{duration:p.duration}}},initial:"initial",animate:v?"whileInView":"initial"}),r.x.map((d,g)=>i.jsxRuntimeExports.jsx(qt.motion.g,{onMouseEnter:ne=>{_t({...r,xIndex:g}),Tt(ne.clientY),Dt(ne.clientX),rt?.({...r,xIndex:g})},onClick:()=>{(xt||I)&&(Ne.isEqual(G,{...r,xIndex:g})&&Qt?(te(void 0),xt?.(void 0)):(te({...r,xIndex:g}),xt&&xt({...r,xIndex:g})))},onMouseMove:ne=>{_t({...r,xIndex:g}),Tt(ne.clientY),Dt(ne.clientX)},onMouseLeave:()=>{_t(void 0),Dt(void 0),Tt(void 0),rt?.(void 0)},exit:{opacity:0,transition:{duration:p.duration}},variants:{initial:{opacity:F?M[g]===F?1:.3:1},whileInView:{opacity:F?M[g]===F?1:.3:1,transition:{duration:p.duration}}},initial:"initial",animate:v?"whileInView":"initial",children:Ft.checkIfNullOrUndefined(d)?null:i.jsxRuntimeExports.jsxs(i.jsxRuntimeExports.Fragment,{children:[i.jsxRuntimeExports.jsx(qt.motion.circle,{cx:0,r:pt,style:{fill:M[g],fillOpacity:.85,stroke:M[g],strokeWidth:1},exit:{opacity:0,transition:{duration:p.duration}},variants:{initial:{cy:x(0),opacity:0},whileInView:{cy:x(d||0),opacity:Ft.checkIfNullOrUndefined(d)?0:1,transition:{duration:p.duration}}},initial:"initial",animate:v?"whileInView":"initial"}),Kt?i.jsxRuntimeExports.jsx(qt.motion.text,{x:0,style:{textAnchor:"start",...o?.graphObjectValues||{}},className:i.mo("graph-value text-sm font-bold",Ft.checkIfNullOrUndefined(d)?"opacity-0":"opacity-100",n?.graphObjectValues),dx:pt+3,dy:"0.33em",exit:{opacity:0,transition:{duration:p.duration}},variants:{initial:{y:x(0),opacity:0,fill:It||M[g]},whileInView:{y:x(d||0),fill:It||M[g],opacity:1,transition:{duration:p.duration}}},initial:"initial",animate:v?"whileInView":"initial",children:Ce.numberFormattingFunction(d,"NA",m,q,ht)}):null]})},g))]},r.label)),Q=Lt?i.jsxRuntimeExports.jsx(i.jsxRuntimeExports.Fragment,{children:Lt.map((r,d)=>i.jsxRuntimeExports.jsx(Te.RefLineY,{text:r.text,color:r.color,y:x(r.value),x1:0-U,x2:$+s.right,classNames:r.classNames,styles:r.styles,animate:p,isInView:v},d))}):null,t[16]=p,t[17]=L,t[18]=P,t[19]=Xt,t[20]=Pt,t[21]=n?.dataConnectors,t[22]=n?.graphObjectValues,t[23]=n?.xAxis?.axis,t[24]=n?.xAxis?.labels,t[25]=n?.yAxis?.gridLines,t[26]=n?.yAxis?.labels,t[27]=n?.yAxis?.title,t[28]=Wt,t[29]=X,t[30]=O,t[31]=I,t[32]=dt,t[33]=M,t[34]=z,t[35]=$,t[36]=vt,t[37]=H,t[38]=W,t[39]=v,t[40]=U,t[41]=s.bottom,t[42]=s.left,t[43]=s.right,t[44]=s.top,t[45]=jt,t[46]=Rt,t[47]=Mt,t[48]=A,t[49]=G,t[50]=Gt,t[51]=xt,t[52]=rt,t[53]=m,t[54]=q,t[55]=pt,t[56]=Lt,t[57]=Qt,t[58]=F,t[59]=wt,t[60]=ut,t[61]=Kt,t[62]=o?.dataConnectors,t[63]=o?.graphObjectValues,t[64]=o?.xAxis?.axis,t[65]=o?.xAxis?.labels,t[66]=o?.yAxis?.gridLines,t[67]=o?.yAxis?.labels,t[68]=o?.yAxis?.title,t[69]=ht,t[70]=Ct,t[71]=It,t[72]=bt,t[73]=J,t[74]=K,t[75]=Q,t[76]=Z,t[77]=_,t[78]=N,t[79]=V,t[80]=k,t[81]=B,t[82]=tt,t[83]=et,t[84]=it,t[85]=C,t[86]=R,t[87]=nt}else J=t[73],K=t[74],Q=t[75],Z=t[76],_=t[77],N=t[78],V=t[79],k=t[80],B=t[81],tt=t[82],et=t[83],it=t[84],C=t[85],R=t[86],nt=t[87];let st;t[110]!==J||t[111]!==Q||t[112]!==nt?(st=i.jsxRuntimeExports.jsxs(J,{children:[nt,Q]}),t[110]=J,t[111]=Q,t[112]=nt,t[113]=st):st=t[113];let ot;t[114]!==X?(ot=X.filter(ei).map(ti),t[114]=X,t[115]=ot):ot=t[115];let mt;t[116]!==Z||t[117]!==_||t[118]!==N||t[119]!==V||t[120]!==k||t[121]!==st||t[122]!==ot?(mt=i.jsxRuntimeExports.jsxs("g",{transform:Z,children:[_,N,V,k,st,ot]}),t[116]=Z,t[117]=_,t[118]=N,t[119]=V,t[120]=k,t[121]=st,t[122]=ot,t[123]=mt):mt=t[123];let D;t[124]!==K||t[125]!==B||t[126]!==tt||t[127]!==et||t[128]!==it||t[129]!==C||t[130]!==R||t[131]!==mt?(D=i.jsxRuntimeExports.jsxs(K,{width:B,height:tt,viewBox:et,direction:it,ref:C,children:[R,mt]}),t[124]=K,t[125]=B,t[126]=tt,t[127]=et,t[128]=it,t[129]=C,t[130]=R,t[131]=mt,t[132]=D):D=t[132];let Y;t[133]!==n?.tooltip||t[134]!==ft||t[135]!==St||t[136]!==Vt||t[137]!==o?.tooltip||t[138]!==b?(Y=Vt&&b&&ft&&St?i.jsxRuntimeExports.jsx(Ve.Tooltip,{data:Vt,body:b,xPos:ft,yPos:St,backgroundStyle:o?.tooltip,className:n?.tooltip}):null,t[133]=n?.tooltip,t[134]=ft,t[135]=St,t[136]=Vt,t[137]=o?.tooltip,t[138]=b,t[139]=Y):Y=t[139];let at;t[140]!==n?.modal||t[141]!==I||t[142]!==G?(at=I&&G!==void 0?i.jsxRuntimeExports.jsx(qe.DetailsModal,{body:I,data:G,setData:te,className:n?.modal}):null,t[140]=n?.modal,t[141]=I,t[142]=G,t[143]=at):at=t[143];let At;return t[144]!==D||t[145]!==Y||t[146]!==at?(At=i.jsxRuntimeExports.jsxs(i.jsxRuntimeExports.Fragment,{children:[D,Y,at]}),t[144]=D,t[145]=Y,t[146]=at,t[147]=At):At=t[147],At}function ti(e){return e.layer}function ei(e){return e.position==="after"}function ii(e){return e!==null}function ni(e){return e!==null}function si(e){return e!==null}function oi(e){return e!==null}function ai(e){return e.layer}function ri(e){return e.position==="before"}function li(e){return e!==0}function ci(e){return e!==0}function ui(e){return`${e.id}`}function xi(e){const t=i.compilerRuntimeExports.c(139),{data:c,leftMargin:Ut,rightMargin:se,topMargin:zt,bottomMargin:Jt,dotColors:M,suffix:Pt,prefix:ut,barPadding:Ct,showValues:bt,showTicks:vt,truncateBy:pt,width:wt,height:b,radius:rt,showLabels:Rt,tooltip:A,onSeriesMouseOver:xt,maxValue:Kt,minValue:ht,onSeriesMouseClick:q,selectedColor:F,arrowConnector:L,connectorStrokeWidth:Wt,maxBarThickness:jt,minBarThickness:Mt,resetSelectionOnDoubleClick:Qt,detailsOnClick:I,axisTitle:P,noOfTicks:Gt,valueColor:It,styles:o,classNames:n,labelOrder:y,refValues:Lt,rtl:p,animate:m,precision:X,customLayers:W,highlightedDataPoints:dt,dimmedOpacity:H}=e,U=Ut===void 0?100:Ut,Bt=se===void 0?40:se,$t=zt===void 0?20:zt,Yt=Jt===void 0?10:Jt,ie=T.useRef(null);let Nt;t[0]!==m.amount||t[1]!==m.once?(Nt={once:m.once,amount:m.amount},t[0]=m.amount,t[1]=m.once,t[2]=Nt):Nt=t[2];const v=We.useInView(ie,Nt),Zt=P?$t+25:$t;let f;t[3]!==Yt||t[4]!==U||t[5]!==Bt||t[6]!==Zt?(f={top:Zt,bottom:Yt,left:U,right:Bt},t[3]=Yt,t[4]=U,t[5]=Bt,t[6]=Zt,t[7]=f):f=t[7];const s=f,$=wt-s.left-s.right,z=b-s.top-s.bottom,[Vt,_t]=T.useState(void 0),[G,te]=T.useState(void 0),[ft,Dt]=T.useState(void 0),[St,Tt]=T.useState(void 0);let yt;if(t[8]!==c||t[9]!==y){const x=new Set,w=c.map((h,ct)=>{const a=y?`${h.label}`:`${ct}`;return x.add(a),{...h,id:a}}),gt=y?y.filter(h=>!x.has(h)):[];let E;t[11]!==c[0]?(E=h=>({id:h,label:h,x:Array(c[0].x.length).fill(null)}),t[11]=c[0],t[12]=E):E=t[12],yt=[...w,...gt.map(E)],t[8]=c,t[9]=y,t[10]=yt}else yt=t[10];const O=yt;let lt;t[13]!==O||t[14]!==y?(lt=y??O.map(ji),t[13]=O,t[14]=y,t[15]=lt):lt=t[15];const Xt=lt;let J,K,Q,Z,_,N,V,k,B,tt,et,it,C,R,nt;if(t[16]!==m||t[17]!==L||t[18]!==P||t[19]!==Xt||t[20]!==Ct||t[21]!==n?.dataConnectors||t[22]!==n?.graphObjectValues||t[23]!==n?.xAxis?.gridLines||t[24]!==n?.xAxis?.labels||t[25]!==n?.xAxis?.title||t[26]!==n?.yAxis?.gridLines||t[27]!==n?.yAxis?.labels||t[28]!==Wt||t[29]!==W||t[30]!==O||t[31]!==I||t[32]!==H||t[33]!==M||t[34]!==z||t[35]!==$||t[36]!==b||t[37]!==dt||t[38]!==v||t[39]!==s.bottom||t[40]!==s.left||t[41]!==s.top||t[42]!==jt||t[43]!==Kt||t[44]!==Mt||t[45]!==ht||t[46]!==G||t[47]!==Gt||t[48]!==q||t[49]!==xt||t[50]!==X||t[51]!==ut||t[52]!==rt||t[53]!==Lt||t[54]!==Qt||t[55]!==p||t[56]!==F||t[57]!==Rt||t[58]!==vt||t[59]!==bt||t[60]!==o?.dataConnectors||t[61]!==o?.graphObjectValues||t[62]!==o?.xAxis?.gridLines||t[63]!==o?.xAxis?.labels||t[64]!==o?.xAxis?.title||t[65]!==o?.yAxis?.gridLines||t[66]!==o?.yAxis?.labels||t[67]!==Pt||t[68]!==$t||t[69]!==pt||t[70]!==It||t[71]!==wt){const x=Fe.linear().domain([ht,Kt]).range([0,$]).nice(),w=Pe.band().domain(Xt).range([0,Mt?Math.max(z,Mt*O.length):jt?Math.min(z,jt*O.length):z]).paddingInner(Ct),gt=x.ticks(Gt);K=qt.motion.svg,B=`${wt}px`,tt=`${b}px`,et=`0 0 ${wt} ${b}`,it="ltr",C=ie,t[87]!==L?(R=L?i.jsxRuntimeExports.jsx("defs",{children:i.jsxRuntimeExports.jsx("marker",{id:"arrow",viewBox:"0 0 10 10",refX:"10",refY:"5",markerWidth:"6",markerHeight:"6",orient:"auto-start-reverse",children:i.jsxRuntimeExports.jsx("path",{d:"M 0 0 L 10 5 L 0 10 z",className:"fill-primary-gray-600 dark:fill-primary-gray-300"})})}):null,t[87]=L,t[88]=R):R=t[88],Z=`translate(${s.left},${s.top})`,_=vt?i.jsxRuntimeExports.jsx(He.XTicksAndGridLines,{values:gt.filter(wi),x:gt.filter(vi).map(l=>x(l)),y1:0-$t,y2:z+s.bottom,styles:{gridLines:o?.xAxis?.gridLines,labels:o?.xAxis?.labels},classNames:{gridLines:n?.xAxis?.gridLines,labels:n?.xAxis?.labels},suffix:Pt,prefix:ut,labelType:"secondary",showGridLines:!0,precision:X}):null;const E=$/2,h=0-s.top+15,ct=o?.xAxis?.title,a=n?.xAxis?.title;t[89]!==P||t[90]!==E||t[91]!==h||t[92]!==ct||t[93]!==a?(N=i.jsxRuntimeExports.jsx(De.AxisTitle,{x:E,y:h,style:ct,className:a,text:P}),t[89]=P,t[90]=E,t[91]=h,t[92]=ct,t[93]=a,t[94]=N):N=t[94];const Ht=o?.yAxis?.gridLines;let kt;t[95]!==Ht?(kt={gridLines:Ht},t[95]=Ht,t[96]=kt):kt=t[96];const ee=n?.yAxis?.gridLines;let Et;t[97]!==ee?(Et={gridLines:ee},t[97]=ee,t[98]=Et):Et=t[98],V=i.jsxRuntimeExports.jsx(Se.YTicksAndGridLines,{y:O.map(l=>w(`${l.id}`)+w.bandwidth()/2),x1:0,x2:$,styles:kt,classNames:Et,labelType:"secondary",showGridLines:!0,labelPos:"vertical",precision:X}),t[99]!==W?(k=W.filter(bi).map(gi),t[99]=W,t[100]=k):k=t[100],J=Ge.AnimatePresence,nt=O.map(l=>i.jsxRuntimeExports.jsxs(qt.motion.g,{className:"undp-viz-g-with-hover",variants:{initial:{x:0,y:w(`${l.id}`)+w.bandwidth()/2,opacity:dt.length!==0?dt.indexOf(l.label)!==-1?.85:H:.85},whileInView:{x:0,y:w(`${l.id}`)+w.bandwidth()/2,opacity:dt.length!==0?dt.indexOf(l.label)!==-1?.85:H:.85,transition:{duration:m.duration}}},initial:"initial",animate:v?"whileInView":"initial",exit:{opacity:0,transition:{duration:m.duration}},children:[Rt?i.jsxRuntimeExports.jsx(Ue.YAxesLabels,{value:`${l.label}`.length<pt?`${l.label}`:`${`${l.label}`.substring(0,pt)}...`,y:0-w.bandwidth()/2,x:0-s.left,width:s.left,height:w.bandwidth(),alignment:"right",style:o?.yAxis?.labels,className:n?.yAxis?.labels,animate:m,isInView:v}):null,i.jsxRuntimeExports.jsx(qt.motion.line,{y1:0,y2:0,style:{strokeWidth:Wt,...o?.dataConnectors||{},opacity:F?.3:1},className:i.mo("stroke-primary-gray-600 dark:stroke-primary-gray-300",n?.dataConnectors),markerEnd:L&&l.x.indexOf(Math.min(...l.x.filter(yi)))===0?"url(#arrow)":"",markerStart:L&&l.x.indexOf(Math.min(...l.x.filter(fi)))===l.x.length-1?"url(#arrow)":"",exit:{opacity:0,transition:{duration:m.duration}},variants:{initial:{x1:0,x2:0},whileInView:{x1:x(Math.min(...l.x.filter(hi)))+rt,x2:x(Math.max(...l.x.filter(pi)))-rt,transition:{duration:m.duration}}},initial:"initial",animate:v?"whileInView":"initial"}),l.x.map((j,S)=>i.jsxRuntimeExports.jsx(qt.motion.g,{onMouseEnter:r=>{_t({...l,xIndex:S}),Tt(r.clientY),Dt(r.clientX),xt?.({...l,xIndex:S})},onClick:()=>{(q||I)&&(Ne.isEqual(G,{...l,xIndex:S})&&Qt?(te(void 0),q?.(void 0)):(te({...l,xIndex:S}),q&&q({...l,xIndex:S})))},onMouseMove:r=>{_t({...l,xIndex:S}),Tt(r.clientY),Dt(r.clientX)},onMouseLeave:()=>{_t(void 0),Dt(void 0),Tt(void 0),xt?.(void 0)},exit:{opacity:0,transition:{duration:m.duration}},variants:{initial:{opacity:F?M[S]===F?1:.3:1},whileInView:{opacity:F?M[S]===F?1:.3:1,transition:{duration:m.duration}}},initial:"initial",animate:v?"whileInView":"initial",children:Ft.checkIfNullOrUndefined(j)?null:i.jsxRuntimeExports.jsxs(i.jsxRuntimeExports.Fragment,{children:[i.jsxRuntimeExports.jsx(qt.motion.circle,{cy:0,r:rt,style:{fill:M[S],fillOpacity:.85,stroke:M[S],strokeWidth:1,opacity:Ft.checkIfNullOrUndefined(j)?0:1},exit:{opacity:0,transition:{duration:m.duration}},variants:{initial:{cx:x(0),opacity:0},whileInView:{cx:x(j||0),opacity:Ft.checkIfNullOrUndefined(j)?0:1,transition:{duration:m.duration}}},initial:"initial",animate:v?"whileInView":"initial"}),bt?i.jsxRuntimeExports.jsx(qt.motion.text,{y:0,style:{textAnchor:"middle",...o?.graphObjectValues||{}},dx:0,dy:0-rt-3,className:i.mo("graph-value text-sm font-bold",Ft.checkIfNullOrUndefined(j)?"0opacity-0":"opacity-100",n?.graphObjectValues),exit:{opacity:0,transition:{duration:m.duration}},variants:{initial:{x:x(0),opacity:0,fill:It||M[S]},whileInView:{x:x(j||0),fill:It||M[S],opacity:1,transition:{duration:m.duration}}},initial:"initial",animate:v?"whileInView":"initial",children:Ce.numberFormattingFunction(j,"NA",X,ut,Pt)}):null]})},S))]},l.label)),Q=Lt?i.jsxRuntimeExports.jsx(i.jsxRuntimeExports.Fragment,{children:Lt.map((l,j)=>i.jsxRuntimeExports.jsx(Te.RefLineX,{text:l.text,color:l.color,x:x(l.value),y1:0-s.top,y2:z+s.bottom,textSide:x(l.value)>$*.75||p?"left":"right",classNames:l.classNames,styles:l.styles,animate:m,isInView:v},j))}):null,t[16]=m,t[17]=L,t[18]=P,t[19]=Xt,t[20]=Ct,t[21]=n?.dataConnectors,t[22]=n?.graphObjectValues,t[23]=n?.xAxis?.gridLines,t[24]=n?.xAxis?.labels,t[25]=n?.xAxis?.title,t[26]=n?.yAxis?.gridLines,t[27]=n?.yAxis?.labels,t[28]=Wt,t[29]=W,t[30]=O,t[31]=I,t[32]=H,t[33]=M,t[34]=z,t[35]=$,t[36]=b,t[37]=dt,t[38]=v,t[39]=s.bottom,t[40]=s.left,t[41]=s.top,t[42]=jt,t[43]=Kt,t[44]=Mt,t[45]=ht,t[46]=G,t[47]=Gt,t[48]=q,t[49]=xt,t[50]=X,t[51]=ut,t[52]=rt,t[53]=Lt,t[54]=Qt,t[55]=p,t[56]=F,t[57]=Rt,t[58]=vt,t[59]=bt,t[60]=o?.dataConnectors,t[61]=o?.graphObjectValues,t[62]=o?.xAxis?.gridLines,t[63]=o?.xAxis?.labels,t[64]=o?.xAxis?.title,t[65]=o?.yAxis?.gridLines,t[66]=o?.yAxis?.labels,t[67]=Pt,t[68]=$t,t[69]=pt,t[70]=It,t[71]=wt,t[72]=J,t[73]=K,t[74]=Q,t[75]=Z,t[76]=_,t[77]=N,t[78]=V,t[79]=k,t[80]=B,t[81]=tt,t[82]=et,t[83]=it,t[84]=C,t[85]=R,t[86]=nt}else J=t[72],K=t[73],Q=t[74],Z=t[75],_=t[76],N=t[77],V=t[78],k=t[79],B=t[80],tt=t[81],et=t[82],it=t[83],C=t[84],R=t[85],nt=t[86];let st;t[101]!==J||t[102]!==Q||t[103]!==nt?(st=i.jsxRuntimeExports.jsxs(J,{children:[nt,Q]}),t[101]=J,t[102]=Q,t[103]=nt,t[104]=st):st=t[104];let ot;t[105]!==W?(ot=W.filter(mi).map(di),t[105]=W,t[106]=ot):ot=t[106];let mt;t[107]!==Z||t[108]!==_||t[109]!==N||t[110]!==V||t[111]!==k||t[112]!==st||t[113]!==ot?(mt=i.jsxRuntimeExports.jsxs("g",{transform:Z,children:[_,N,V,k,st,ot]}),t[107]=Z,t[108]=_,t[109]=N,t[110]=V,t[111]=k,t[112]=st,t[113]=ot,t[114]=mt):mt=t[114];let D;t[115]!==K||t[116]!==B||t[117]!==tt||t[118]!==et||t[119]!==it||t[120]!==C||t[121]!==R||t[122]!==mt?(D=i.jsxRuntimeExports.jsxs(K,{width:B,height:tt,viewBox:et,direction:it,ref:C,children:[R,mt]}),t[115]=K,t[116]=B,t[117]=tt,t[118]=et,t[119]=it,t[120]=C,t[121]=R,t[122]=mt,t[123]=D):D=t[123];let Y;t[124]!==n?.tooltip||t[125]!==ft||t[126]!==St||t[127]!==Vt||t[128]!==o?.tooltip||t[129]!==A?(Y=Vt&&A&&ft&&St?i.jsxRuntimeExports.jsx(Ve.Tooltip,{data:Vt,body:A,xPos:ft,yPos:St,backgroundStyle:o?.tooltip,className:n?.tooltip}):null,t[124]=n?.tooltip,t[125]=ft,t[126]=St,t[127]=Vt,t[128]=o?.tooltip,t[129]=A,t[130]=Y):Y=t[130];let at;t[131]!==n?.modal||t[132]!==I||t[133]!==G?(at=I&&G!==void 0?i.jsxRuntimeExports.jsx(qe.DetailsModal,{body:I,data:G,setData:te,className:n?.modal}):null,t[131]=n?.modal,t[132]=I,t[133]=G,t[134]=at):at=t[134];let At;return t[135]!==D||t[136]!==Y||t[137]!==at?(At=i.jsxRuntimeExports.jsxs(i.jsxRuntimeExports.Fragment,{children:[D,Y,at]}),t[135]=D,t[136]=Y,t[137]=at,t[138]=At):At=t[138],At}function di(e){return e.layer}function mi(e){return e.position==="after"}function pi(e){return e!==null}function hi(e){return e!==null}function fi(e){return e!==null}function yi(e){return e!==null}function gi(e){return e.layer}function bi(e){return e.position==="before"}function vi(e,t){return t!==0}function wi(e,t){return t!==0}function ji(e){return`${e.id}`}function Ai(e){const t=i.compilerRuntimeExports.c(131),{data:c,graphTitle:Ut,colors:se,sources:zt,graphDescription:Jt,barPadding:M,showTicks:Pt,leftMargin:ut,rightMargin:Ct,topMargin:bt,bottomMargin:vt,truncateBy:pt,height:wt,width:b,footNote:rt,colorDomain:Rt,colorLegendTitle:A,padding:xt,backgroundColor:Kt,radius:ht,tooltip:q,showLabels:F,relativeHeight:L,onSeriesMouseOver:Wt,graphID:jt,suffix:Mt,prefix:Qt,maxValue:I,minValue:P,onSeriesMouseClick:Gt,graphDownload:It,dataDownload:o,showValues:n,sortParameter:y,arrowConnector:Lt,connectorStrokeWidth:p,language:m,minHeight:X,theme:W,maxBarThickness:dt,maxNumberOfBars:H,minBarThickness:U,ariaLabel:Bt,resetSelectionOnDoubleClick:$t,detailsOnClick:Yt,axisTitle:ie,noOfTicks:Nt,valueColor:v,orientation:Zt,styles:f,classNames:s,labelOrder:$,refValues:z,filterNA:Vt,animate:_t,precision:G,showColorScale:te,customLayers:ft,highlightedDataPoints:Dt,dimmedOpacity:St,timeline:Tt,sortData:yt,hideAxisLine:O}=e,lt=se===void 0?Ze.Colors.light.categoricalColors.colors:se,Xt=M===void 0?.25:M,J=Pt===void 0?!0:Pt,K=pt===void 0?999:pt,Q=Kt===void 0?!0:Kt,Z=ht===void 0?3:ht,_=F===void 0?!0:F,N=Mt===void 0?"":Mt,V=Qt===void 0?"":Qt,k=It===void 0?!1:It,B=o===void 0?!1:o,tt=n===void 0?!0:n,et=Lt===void 0?!1:Lt,it=p===void 0?2:p,C=m===void 0?"en":m,R=X===void 0?0:X,nt=W===void 0?"light":W,st=$t===void 0?!0:$t,ot=Nt===void 0?5:Nt,mt=Zt===void 0?"vertical":Zt,D=Vt===void 0?!0:Vt,Y=_t===void 0?!1:_t,at=G===void 0?2:G,At=te===void 0?!0:te;let x;t[0]!==ft?(x=ft===void 0?[]:ft,t[0]=ft,t[1]=x):x=t[1];const w=x;let gt;t[2]!==Dt?(gt=Dt===void 0?[]:Dt,t[2]=Dt,t[3]=gt):gt=t[3];const E=gt,h=St===void 0?.3:St;let ct;t[4]!==Tt?(ct=Tt===void 0?{enabled:!1,autoplay:!1,showOnlyActiveDate:!0}:Tt,t[4]=Tt,t[5]=ct):ct=t[5];const a=ct,Ht=O===void 0?!1:O,[kt,ee]=T.useState(0),[Et,l]=T.useState(0),[j,S]=T.useState(a.autoplay);let r;if(t[6]!==c||t[7]!==a.dateFormat){let u;t[9]!==a.dateFormat?(u=Ot=>Ee.parse(`${Ot.date}`,a.dateFormat||"yyyy",new Date).getTime(),t[9]=a.dateFormat,t[10]=u):u=t[10],r=[...new Set(c.filter(Gi).map(u))],r.sort(Wi),t[6]=c,t[7]=a.dateFormat,t[8]=r}else r=t[8];const d=r,[g,ne]=T.useState(a.autoplay?0:d.length-1),[be,Be]=T.useState(void 0),ve=T.useRef(null),Re=T.useRef(null);let de,me;t[11]===Symbol.for("react.memo_cache_sentinel")?(de=()=>{const u=new ResizeObserver(Ot=>{ee(Ot[0].target.clientWidth||620),l(Ot[0].target.clientHeight||480)});return ve.current&&u.observe(ve.current),()=>u.disconnect()},me=[],t[11]=de,t[12]=me):(de=t[11],me=t[12]),T.useEffect(de,me);let pe,he;t[13]!==j||t[14]!==a.speed||t[15]!==d?(pe=()=>{const u=setInterval(()=>{ne(Ot=>Ot<d.length-1?Ot+1:0)},(a.speed||2)*1e3);return j||clearInterval(u),()=>clearInterval(u)},he=[d,j,a.speed],t[13]=j,t[14]=a.speed,t[15]=d,t[16]=pe,t[17]=he):(pe=t[16],he=t[17]),T.useEffect(pe,he);const we=a.dateFormat||"yyyy";let fe;t[18]!==g||t[19]!==we||t[20]!==a.showOnlyActiveDate||t[21]!==d?(fe=Ie.getSliderMarks(d,g,a.showOnlyActiveDate,we),t[18]=g,t[19]=we,t[20]=a.showOnlyActiveDate,t[21]=d,t[22]=fe):fe=t[22];const ye=fe,je=mt==="horizontal"?xi:_e,Ae=s?.graphContainer,ke=f?.graphContainer;let oe;t[23]!==s?.description||t[24]!==s?.title||t[25]!==c||t[26]!==B||t[27]!==Jt||t[28]!==k||t[29]!==Ut||t[30]!==f?.description||t[31]!==f?.title||t[32]!==b?(oe=Ut||Jt||k||B?i.jsxRuntimeExports.jsx(ze.GraphHeader,{styles:{title:f?.title,description:f?.description},classNames:{title:s?.title,description:s?.description},graphTitle:Ut,graphDescription:Jt,width:b,graphDownload:k?Re:void 0,dataDownload:B?c.map(Pi).filter(Fi).length>0?c.map(qi).filter(Ti):c.filter(Si):null}):null,t[23]=s?.description,t[24]=s?.title,t[25]=c,t[26]=B,t[27]=Jt,t[28]=k,t[29]=Ut,t[30]=f?.description,t[31]=f?.title,t[32]=b,t[33]=oe):oe=t[33];let ae;t[34]!==g||t[35]!==ye||t[36]!==j||t[37]!==a.enabled||t[38]!==d?(ae=a.enabled&&d.length>0&&ye?i.jsxRuntimeExports.jsxs("div",{className:"flex gap-6 items-center",dir:"ltr",children:[i.jsxRuntimeExports.jsx("button",{type:"button",onClick:()=>{S(!j)},className:"p-0 border-0 cursor-pointer bg-transparent","aria-label":j?"Click to pause animation":"Click to play animation",children:j?i.jsxRuntimeExports.jsx($e.Pause,{}):i.jsxRuntimeExports.jsx($e.Play,{})}),i.jsxRuntimeExports.jsx(Ie.Nr,{min:d[0],max:d[d.length-1],marks:ye,step:null,defaultValue:d[d.length-1],value:d[g],onChangeComplete:u=>{ne(d.indexOf(u))},onChange:u=>{ne(d.indexOf(u))},"aria-label":"Time slider. Use arrow keys to adjust selected time period."})]}):null,t[34]=g,t[35]=ye,t[36]=j,t[37]=a.enabled,t[38]=d,t[39]=ae):ae=t[39];let re;t[40]!==s?.colorLegend||t[41]!==Rt||t[42]!==A||t[43]!==lt||t[44]!==c.length||t[45]!==At||t[46]!==b?(re=At&&c.length>0?i.jsxRuntimeExports.jsx(Ke.ColorLegendWithMouseOver,{width:b,colorDomain:Rt,colors:lt,colorLegendTitle:A,setSelectedColor:Be,showNAColor:!1,className:s?.colorLegend}):null,t[40]=s?.colorLegend,t[41]=Rt,t[42]=A,t[43]=lt,t[44]=c.length,t[45]=At,t[46]=b,t[47]=re):re=t[47];let le;t[48]!==c.length?(le=c.length===0&&i.jsxRuntimeExports.jsx(Qe.EmptyState,{}),t[48]=c.length,t[49]=le):le=t[49];let ce;t[50]!==je||t[51]!==Y||t[52]!==et||t[53]!==ie||t[54]!==Xt||t[55]!==vt||t[56]!==s||t[57]!==lt||t[58]!==it||t[59]!==w||t[60]!==c||t[61]!==Yt||t[62]!==h||t[63]!==D||t[64]!==Ht||t[65]!==E||t[66]!==g||t[67]!==$||t[68]!==C||t[69]!==ut||t[70]!==dt||t[71]!==H||t[72]!==I||t[73]!==U||t[74]!==P||t[75]!==ot||t[76]!==Gt||t[77]!==Wt||t[78]!==at||t[79]!==V||t[80]!==Z||t[81]!==z||t[82]!==st||t[83]!==Ct||t[84]!==be||t[85]!==_||t[86]!==J||t[87]!==tt||t[88]!==yt||t[89]!==y||t[90]!==f||t[91]!==N||t[92]!==Et||t[93]!==kt||t[94]!==a.dateFormat||t[95]!==a.enabled||t[96]!==q||t[97]!==bt||t[98]!==K||t[99]!==d||t[100]!==v?(ce=kt&&Et&&c.length>0?i.jsxRuntimeExports.jsx(je,{hideAxisLine:Ht,data:y!==void 0?y==="diff"?Me.orderBy(Oe.ensureCompleteDataForDumbbellChart(c,a.dateFormat||"yyyy").filter(u=>a.enabled?u.date===Ee.format(new Date(d[g]),a.dateFormat||"yyyy"):u).filter(u=>D?!u.x.every(Di):u),Vi,[yt||"asc"]).filter((u,Ot)=>H?Ot<H:!0):Me.orderBy(Oe.ensureCompleteDataForDumbbellChart(c,a.dateFormat||"yyyy").filter(u=>a.enabled?u.date===Ee.format(new Date(d[g]),a.dateFormat||"yyyy"):u).filter(u=>D?!u.x.every(Ni):u),u=>Ft.checkIfNullOrUndefined(u.x[y])?-1/0:u.x[y],[yt||"asc"]).filter((u,Ot)=>H?Ot<H:!0):Oe.ensureCompleteDataForDumbbellChart(c,a.dateFormat||"yyyy").filter(u=>D?!u.x.every($i):u).filter((u,Ot)=>H?Ot<H:!0),dotColors:lt,width:kt,height:Et,radius:Z,barPadding:Xt,showTicks:J,leftMargin:ut,rightMargin:Ct,topMargin:bt,bottomMargin:vt,truncateBy:K,showLabels:_,showValues:tt,tooltip:q,suffix:N,prefix:V,onSeriesMouseOver:Wt,maxValue:Ft.checkIfNullOrUndefined(I)?Math.max(...c.map(Ii))<0?0:Math.max(...c.map(Ri)):I,minValue:Ft.checkIfNullOrUndefined(P)?Math.min(...c.map(Oi))>0?0:Math.min(...c.map(ki)):P,onSeriesMouseClick:Gt,selectedColor:be,arrowConnector:et,connectorStrokeWidth:it,maxBarThickness:dt,minBarThickness:U,resetSelectionOnDoubleClick:st,detailsOnClick:Yt,axisTitle:ie,noOfTicks:ot,valueColor:v,styles:f,classNames:s,labelOrder:$,refValues:z,animate:Y===!0?{duration:.5,once:!0,amount:.5}:Y||{duration:0,once:!0,amount:0},precision:at,customLayers:w,highlightedDataPoints:E,dimmedOpacity:h,rtl:C==="ar"||C==="he"}):null,t[50]=je,t[51]=Y,t[52]=et,t[53]=ie,t[54]=Xt,t[55]=vt,t[56]=s,t[57]=lt,t[58]=it,t[59]=w,t[60]=c,t[61]=Yt,t[62]=h,t[63]=D,t[64]=Ht,t[65]=E,t[66]=g,t[67]=$,t[68]=C,t[69]=ut,t[70]=dt,t[71]=H,t[72]=I,t[73]=U,t[74]=P,t[75]=ot,t[76]=Gt,t[77]=Wt,t[78]=at,t[79]=V,t[80]=Z,t[81]=z,t[82]=st,t[83]=Ct,t[84]=be,t[85]=_,t[86]=J,t[87]=tt,t[88]=yt,t[89]=y,t[90]=f,t[91]=N,t[92]=Et,t[93]=kt,t[94]=a.dateFormat,t[95]=a.enabled,t[96]=q,t[97]=bt,t[98]=K,t[99]=d,t[100]=v,t[101]=ce):ce=t[101];let ue;t[102]!==le||t[103]!==ce?(ue=i.jsxRuntimeExports.jsxs(Le.GraphArea,{ref:ve,children:[le,ce]}),t[102]=le,t[103]=ce,t[104]=ue):ue=t[104];let xe;t[105]!==s?.footnote||t[106]!==s?.source||t[107]!==rt||t[108]!==zt||t[109]!==f?.footnote||t[110]!==f?.source||t[111]!==b?(xe=zt||rt?i.jsxRuntimeExports.jsx(Je.GraphFooter,{styles:{footnote:f?.footnote,source:f?.source},classNames:{footnote:s?.footnote,source:s?.source},sources:zt,footNote:rt,width:b}):null,t[105]=s?.footnote,t[106]=s?.source,t[107]=rt,t[108]=zt,t[109]=f?.footnote,t[110]=f?.source,t[111]=b,t[112]=xe):xe=t[112];let ge;return t[113]!==Bt||t[114]!==Q||t[115]!==jt||t[116]!==wt||t[117]!==C||t[118]!==R||t[119]!==xt||t[120]!==L||t[121]!==Ae||t[122]!==ke||t[123]!==oe||t[124]!==ae||t[125]!==re||t[126]!==ue||t[127]!==xe||t[128]!==nt||t[129]!==b?(ge=i.jsxRuntimeExports.jsxs(Le.GraphContainer,{className:Ae,style:ke,id:jt,ref:Re,"aria-label":Bt,backgroundColor:Q,theme:nt,language:C,minHeight:R,width:b,height:wt,relativeHeight:L,padding:xt,children:[oe,ae,re,ue,xe]}),t[113]=Bt,t[114]=Q,t[115]=jt,t[116]=wt,t[117]=C,t[118]=R,t[119]=xt,t[120]=L,t[121]=Ae,t[122]=ke,t[123]=oe,t[124]=ae,t[125]=re,t[126]=ue,t[127]=xe,t[128]=nt,t[129]=b,t[130]=ge):ge=t[130],ge}function ki(e){return Math.min(...e.x.filter(Ei))}function Ei(e){return e!==null}function Oi(e){return Math.min(...e.x.filter(Ci))}function Ci(e){return e!==null}function Ri(e){return Math.max(...e.x.filter(Mi))}function Mi(e){return e!==null}function Ii(e){return Math.max(...e.x.filter(Li))}function Li(e){return e!==null}function $i(e){return e==null}function Ni(e){return e==null}function Vi(e){return Ft.checkIfNullOrUndefined(e.x[e.x.length-1])||Ft.checkIfNullOrUndefined(e.x[0])?-1/0:e.x[e.x.length-1]-e.x[0]}function Di(e){return e==null}function Si(e){return e!==void 0}function Ti(e){return e!==void 0}function qi(e){return e.data}function Fi(e){return e!==void 0}function Pi(e){return e.data}function Wi(e,t){return e-t}function Gi(e){return e.date}exports.DumbbellChart=Ai;
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("./index-CHPV5EwG-6v2a2njQ.cjs"),Me=require("./index-Cno4Q0YE.cjs"),Ee=require("./parse-xYI9yrvL.cjs"),T=require("react"),Ie=require("./getSliderMarks-CIuSoedo.cjs"),Ne=require("./index-DQA8q5sC.cjs"),Ce=require("./numberFormattingFunction-02t-wJta.cjs"),Ve=require("./Tooltip-BLa2EfMs.cjs"),Ft=require("./checkIfNullOrUndefined-BCW3Y1ML.cjs"),De=require("./AxisTitle-DV4n0RxE.cjs"),Ye=require("./Axis-Jt_tmhxS.cjs"),Xe=require("./XAxesLabels-C6o9jJal.cjs"),Se=require("./YTicksAndGridLines-UzVC5eBM.cjs"),Te=require("./ReferenceLine-M9aP3dj-.cjs"),He=require("./XTicksAndGridLines-CekrPykD.cjs"),Ue=require("./YAxesLabels-BQ2aCazV.cjs"),qe=require("./DetailsModal-DIRTulvr.cjs"),Fe=require("./linear-CgUCbw9F.cjs"),Pe=require("./band-VYfcZeJ2.cjs"),qt=require("./proxy-C4-uo6nS.cjs"),We=require("./use-in-view-C3o_ntMv.cjs"),Ge=require("./index-CoobIWNj.cjs"),Oe=require("./ensureCompleteData-D9bQTiVS.cjs"),Le=require("./GraphContainer-B1EDxJ0S.cjs"),ze=require("./GraphHeader.cjs"),$e=require("./index-sbKVyHS2.cjs"),Je=require("./GraphFooter.cjs"),Ke=require("./ColorLegendWithMouseOver.cjs"),Qe=require("./EmptyState-N1eHt3vq.cjs"),Ze=require("./Colors.cjs");function _e(e){const t=i.compilerRuntimeExports.c(148),{data:c,leftMargin:Ut,rightMargin:se,topMargin:zt,bottomMargin:Jt,dotColors:M,barPadding:Pt,showTicks:ut,truncateBy:Ct,width:bt,height:vt,radius:pt,showLabels:wt,tooltip:b,onSeriesMouseOver:rt,maxValue:Rt,minValue:A,onSeriesMouseClick:xt,showValues:Kt,suffix:ht,prefix:q,selectedColor:F,arrowConnector:L,connectorStrokeWidth:Wt,maxBarThickness:jt,minBarThickness:Mt,resetSelectionOnDoubleClick:Qt,detailsOnClick:I,axisTitle:P,noOfTicks:Gt,valueColor:It,styles:o,classNames:n,labelOrder:y,refValues:Lt,animate:p,precision:m,customLayers:X,highlightedDataPoints:W,dimmedOpacity:dt,hideAxisLine:H}=e,U=Ut===void 0?20:Ut,Bt=se===void 0?20:se,$t=zt===void 0?20:zt,Yt=Jt===void 0?25:Jt,ie=T.useRef(null);let Nt;t[0]!==p.amount||t[1]!==p.once?(Nt={once:p.once,amount:p.amount},t[0]=p.amount,t[1]=p.once,t[2]=Nt):Nt=t[2];const v=We.useInView(ie,Nt),Zt=P?U+30:U;let f;t[3]!==Yt||t[4]!==Bt||t[5]!==Zt||t[6]!==$t?(f={top:$t,bottom:Yt,left:Zt,right:Bt},t[3]=Yt,t[4]=Bt,t[5]=Zt,t[6]=$t,t[7]=f):f=t[7];const s=f,$=bt-s.left-s.right,z=vt-s.top-s.bottom,[Vt,_t]=T.useState(void 0),[G,te]=T.useState(void 0),[ft,Dt]=T.useState(void 0),[St,Tt]=T.useState(void 0);let yt;if(t[8]!==c||t[9]!==y){const x=new Set,w=c.map((h,ct)=>{const a=y?`${h.label}`:`${ct}`;return x.add(a),{...h,id:a}}),gt=y?y.filter(h=>!x.has(h)):[];let E;t[11]!==c[0]?(E=h=>({id:h,label:h,x:Array(c[0].x.length).fill(null)}),t[11]=c[0],t[12]=E):E=t[12],yt=[...w,...gt.map(E)],t[8]=c,t[9]=y,t[10]=yt}else yt=t[10];const O=yt;let lt;t[13]!==O||t[14]!==y?(lt=y??O.map(ui),t[13]=O,t[14]=y,t[15]=lt):lt=t[15];const Xt=lt;let J,K,Q,Z,_,N,V,k,B,tt,et,it,C,R,nt;if(t[16]!==p||t[17]!==L||t[18]!==P||t[19]!==Xt||t[20]!==Pt||t[21]!==n?.dataConnectors||t[22]!==n?.graphObjectValues||t[23]!==n?.xAxis?.axis||t[24]!==n?.xAxis?.labels||t[25]!==n?.yAxis?.gridLines||t[26]!==n?.yAxis?.labels||t[27]!==n?.yAxis?.title||t[28]!==Wt||t[29]!==X||t[30]!==O||t[31]!==I||t[32]!==dt||t[33]!==M||t[34]!==z||t[35]!==$||t[36]!==vt||t[37]!==H||t[38]!==W||t[39]!==v||t[40]!==U||t[41]!==s.bottom||t[42]!==s.left||t[43]!==s.right||t[44]!==s.top||t[45]!==jt||t[46]!==Rt||t[47]!==Mt||t[48]!==A||t[49]!==G||t[50]!==Gt||t[51]!==xt||t[52]!==rt||t[53]!==m||t[54]!==q||t[55]!==pt||t[56]!==Lt||t[57]!==Qt||t[58]!==F||t[59]!==wt||t[60]!==ut||t[61]!==Kt||t[62]!==o?.dataConnectors||t[63]!==o?.graphObjectValues||t[64]!==o?.xAxis?.axis||t[65]!==o?.xAxis?.labels||t[66]!==o?.yAxis?.gridLines||t[67]!==o?.yAxis?.labels||t[68]!==o?.yAxis?.title||t[69]!==ht||t[70]!==Ct||t[71]!==It||t[72]!==bt){const x=Fe.linear().domain([A,Rt]).range([z,0]).nice(),w=Pe.band().domain(Xt).range([0,Mt?Math.max($,Mt*O.length):jt?Math.min($,jt*O.length):$]).paddingInner(Pt),gt=x.ticks(Gt);K=qt.motion.svg,B=`${bt}px`,tt=`${vt}px`,et=`0 0 ${bt} ${vt}`,it="ltr",C=ie,t[88]!==L?(R=L?i.jsxRuntimeExports.jsx("defs",{children:i.jsxRuntimeExports.jsx("marker",{id:"arrow",viewBox:"0 0 10 10",refX:"10",refY:"5",markerWidth:"6",markerHeight:"6",orient:"auto-start-reverse",children:i.jsxRuntimeExports.jsx("path",{d:"M 0 0 L 10 5 L 0 10 z",className:"fill-primary-gray-600 dark:fill-primary-gray-300"})})}):null,t[88]=L,t[89]=R):R=t[89],Z=`translate(${s.left},${s.top})`;let E;t[90]!==A||t[91]!==m||t[92]!==q||t[93]!==ut||t[94]!==ht?(E=ut?Ce.numberFormattingFunction(A<0?0:A,"NA",m,q,ht):void 0,t[90]=A,t[91]=m,t[92]=q,t[93]=ut,t[94]=ht,t[95]=E):E=t[95];const h=n?.xAxis?.axis,ct=n?.yAxis?.labels;let a;t[96]!==h||t[97]!==ct?(a={axis:h,label:ct},t[96]=h,t[97]=ct,t[98]=a):a=t[98];const Ht=o?.xAxis?.axis,kt=o?.yAxis?.labels;let ee;t[99]!==Ht||t[100]!==kt?(ee={axis:Ht,label:kt},t[99]=Ht,t[100]=kt,t[101]=ee):ee=t[101],_=i.jsxRuntimeExports.jsx(Ye.Axis,{hideAxisLine:H,y1:x(A<0?0:A),y2:x(A<0?0:A),x1:0-U,x2:$+s.right,label:E,labelPos:{x:0-U,dx:0,dy:Rt<0?"1em":-5,y:x(A<0?0:A)},classNames:a,styles:ee}),N=ut?i.jsxRuntimeExports.jsx(Se.YTicksAndGridLines,{values:gt.filter(ci),y:gt.filter(li).map(r=>x(r)),x1:0-U,x2:$+s.right,styles:{gridLines:o?.yAxis?.gridLines,labels:o?.yAxis?.labels},classNames:{gridLines:n?.yAxis?.gridLines,labels:n?.yAxis?.labels},suffix:ht,prefix:q,labelType:"secondary",showGridLines:!0,labelPos:"vertical",precision:m}):null;const Et=0-U-15,l=z/2,j=o?.yAxis?.title,S=n?.yAxis?.title;t[102]!==P||t[103]!==Et||t[104]!==l||t[105]!==j||t[106]!==S?(V=i.jsxRuntimeExports.jsx(De.AxisTitle,{x:Et,y:l,style:j,className:S,text:P,rotate90:!0}),t[102]=P,t[103]=Et,t[104]=l,t[105]=j,t[106]=S,t[107]=V):V=t[107],t[108]!==X?(k=X.filter(ri).map(ai),t[108]=X,t[109]=k):k=t[109],J=Ge.AnimatePresence,nt=O.map(r=>i.jsxRuntimeExports.jsxs(qt.motion.g,{className:"undp-viz-g-with-hover",variants:{initial:{x:w(`${r.id}`)+w.bandwidth()/2,y:0,opacity:W.length!==0?W.indexOf(r.label)!==-1?.85:dt:.85},whileInView:{x:w(`${r.id}`)+w.bandwidth()/2,y:0,opacity:W.length!==0?W.indexOf(r.label)!==-1?.85:dt:.85,transition:{duration:p.duration}}},initial:"initial",animate:v?"whileInView":"initial",exit:{opacity:0,transition:{duration:p.duration}},children:[wt?i.jsxRuntimeExports.jsx(Xe.XAxesLabels,{value:`${r.label}`.length<Ct?`${r.label}`:`${`${r.label}`.substring(0,Ct)}...`,y:z+5,x:0-w.bandwidth()/2,width:w.bandwidth(),height:s.bottom,style:o?.xAxis?.labels,className:n?.xAxis?.labels,alignment:"top",animate:p,isInView:v}):null,i.jsxRuntimeExports.jsx(qt.motion.line,{x1:0,x2:0,style:{strokeWidth:Wt,...o?.dataConnectors||{},opacity:F?.3:1},className:i.mo("stroke-primary-gray-600 dark:stroke-primary-gray-300",n?.dataConnectors),markerEnd:L&&r.x.indexOf(Math.min(...r.x.filter(oi)))===0?"url(#arrow)":"",markerStart:L&&r.x.indexOf(Math.min(...r.x.filter(si)))===r.x.length-1?"url(#arrow)":"",exit:{opacity:0,transition:{duration:p.duration}},variants:{initial:{y1:0,y2:0},whileInView:{y1:x(Math.min(...r.x.filter(ni)))+pt,y2:x(Math.max(...r.x.filter(ii)))-pt,transition:{duration:p.duration}}},initial:"initial",animate:v?"whileInView":"initial"}),r.x.map((d,g)=>i.jsxRuntimeExports.jsx(qt.motion.g,{onMouseEnter:ne=>{_t({...r,xIndex:g}),Tt(ne.clientY),Dt(ne.clientX),rt?.({...r,xIndex:g})},onClick:()=>{(xt||I)&&(Ne.isEqual(G,{...r,xIndex:g})&&Qt?(te(void 0),xt?.(void 0)):(te({...r,xIndex:g}),xt&&xt({...r,xIndex:g})))},onMouseMove:ne=>{_t({...r,xIndex:g}),Tt(ne.clientY),Dt(ne.clientX)},onMouseLeave:()=>{_t(void 0),Dt(void 0),Tt(void 0),rt?.(void 0)},exit:{opacity:0,transition:{duration:p.duration}},variants:{initial:{opacity:F?M[g]===F?1:.3:1},whileInView:{opacity:F?M[g]===F?1:.3:1,transition:{duration:p.duration}}},initial:"initial",animate:v?"whileInView":"initial",children:Ft.checkIfNullOrUndefined(d)?null:i.jsxRuntimeExports.jsxs(i.jsxRuntimeExports.Fragment,{children:[i.jsxRuntimeExports.jsx(qt.motion.circle,{cx:0,r:pt,style:{fill:M[g],fillOpacity:.85,stroke:M[g],strokeWidth:1},exit:{opacity:0,transition:{duration:p.duration}},variants:{initial:{cy:x(0),opacity:0},whileInView:{cy:x(d||0),opacity:Ft.checkIfNullOrUndefined(d)?0:1,transition:{duration:p.duration}}},initial:"initial",animate:v?"whileInView":"initial"}),Kt?i.jsxRuntimeExports.jsx(qt.motion.text,{x:0,style:{textAnchor:"start",...o?.graphObjectValues||{}},className:i.mo("graph-value text-sm font-bold",Ft.checkIfNullOrUndefined(d)?"opacity-0":"opacity-100",n?.graphObjectValues),dx:pt+3,dy:"0.33em",exit:{opacity:0,transition:{duration:p.duration}},variants:{initial:{y:x(0),opacity:0,fill:It||M[g]},whileInView:{y:x(d||0),fill:It||M[g],opacity:1,transition:{duration:p.duration}}},initial:"initial",animate:v?"whileInView":"initial",children:Ce.numberFormattingFunction(d,"NA",m,q,ht)}):null]})},g))]},r.label)),Q=Lt?i.jsxRuntimeExports.jsx(i.jsxRuntimeExports.Fragment,{children:Lt.map((r,d)=>i.jsxRuntimeExports.jsx(Te.RefLineY,{text:r.text,color:r.color,y:x(r.value),x1:0-U,x2:$+s.right,classNames:r.classNames,styles:r.styles,animate:p,isInView:v},d))}):null,t[16]=p,t[17]=L,t[18]=P,t[19]=Xt,t[20]=Pt,t[21]=n?.dataConnectors,t[22]=n?.graphObjectValues,t[23]=n?.xAxis?.axis,t[24]=n?.xAxis?.labels,t[25]=n?.yAxis?.gridLines,t[26]=n?.yAxis?.labels,t[27]=n?.yAxis?.title,t[28]=Wt,t[29]=X,t[30]=O,t[31]=I,t[32]=dt,t[33]=M,t[34]=z,t[35]=$,t[36]=vt,t[37]=H,t[38]=W,t[39]=v,t[40]=U,t[41]=s.bottom,t[42]=s.left,t[43]=s.right,t[44]=s.top,t[45]=jt,t[46]=Rt,t[47]=Mt,t[48]=A,t[49]=G,t[50]=Gt,t[51]=xt,t[52]=rt,t[53]=m,t[54]=q,t[55]=pt,t[56]=Lt,t[57]=Qt,t[58]=F,t[59]=wt,t[60]=ut,t[61]=Kt,t[62]=o?.dataConnectors,t[63]=o?.graphObjectValues,t[64]=o?.xAxis?.axis,t[65]=o?.xAxis?.labels,t[66]=o?.yAxis?.gridLines,t[67]=o?.yAxis?.labels,t[68]=o?.yAxis?.title,t[69]=ht,t[70]=Ct,t[71]=It,t[72]=bt,t[73]=J,t[74]=K,t[75]=Q,t[76]=Z,t[77]=_,t[78]=N,t[79]=V,t[80]=k,t[81]=B,t[82]=tt,t[83]=et,t[84]=it,t[85]=C,t[86]=R,t[87]=nt}else J=t[73],K=t[74],Q=t[75],Z=t[76],_=t[77],N=t[78],V=t[79],k=t[80],B=t[81],tt=t[82],et=t[83],it=t[84],C=t[85],R=t[86],nt=t[87];let st;t[110]!==J||t[111]!==Q||t[112]!==nt?(st=i.jsxRuntimeExports.jsxs(J,{children:[nt,Q]}),t[110]=J,t[111]=Q,t[112]=nt,t[113]=st):st=t[113];let ot;t[114]!==X?(ot=X.filter(ei).map(ti),t[114]=X,t[115]=ot):ot=t[115];let mt;t[116]!==Z||t[117]!==_||t[118]!==N||t[119]!==V||t[120]!==k||t[121]!==st||t[122]!==ot?(mt=i.jsxRuntimeExports.jsxs("g",{transform:Z,children:[_,N,V,k,st,ot]}),t[116]=Z,t[117]=_,t[118]=N,t[119]=V,t[120]=k,t[121]=st,t[122]=ot,t[123]=mt):mt=t[123];let D;t[124]!==K||t[125]!==B||t[126]!==tt||t[127]!==et||t[128]!==it||t[129]!==C||t[130]!==R||t[131]!==mt?(D=i.jsxRuntimeExports.jsxs(K,{width:B,height:tt,viewBox:et,direction:it,ref:C,children:[R,mt]}),t[124]=K,t[125]=B,t[126]=tt,t[127]=et,t[128]=it,t[129]=C,t[130]=R,t[131]=mt,t[132]=D):D=t[132];let Y;t[133]!==n?.tooltip||t[134]!==ft||t[135]!==St||t[136]!==Vt||t[137]!==o?.tooltip||t[138]!==b?(Y=Vt&&b&&ft&&St?i.jsxRuntimeExports.jsx(Ve.Tooltip,{data:Vt,body:b,xPos:ft,yPos:St,backgroundStyle:o?.tooltip,className:n?.tooltip}):null,t[133]=n?.tooltip,t[134]=ft,t[135]=St,t[136]=Vt,t[137]=o?.tooltip,t[138]=b,t[139]=Y):Y=t[139];let at;t[140]!==n?.modal||t[141]!==I||t[142]!==G?(at=I&&G!==void 0?i.jsxRuntimeExports.jsx(qe.DetailsModal,{body:I,data:G,setData:te,className:n?.modal}):null,t[140]=n?.modal,t[141]=I,t[142]=G,t[143]=at):at=t[143];let At;return t[144]!==D||t[145]!==Y||t[146]!==at?(At=i.jsxRuntimeExports.jsxs(i.jsxRuntimeExports.Fragment,{children:[D,Y,at]}),t[144]=D,t[145]=Y,t[146]=at,t[147]=At):At=t[147],At}function ti(e){return e.layer}function ei(e){return e.position==="after"}function ii(e){return e!==null}function ni(e){return e!==null}function si(e){return e!==null}function oi(e){return e!==null}function ai(e){return e.layer}function ri(e){return e.position==="before"}function li(e){return e!==0}function ci(e){return e!==0}function ui(e){return`${e.id}`}function xi(e){const t=i.compilerRuntimeExports.c(139),{data:c,leftMargin:Ut,rightMargin:se,topMargin:zt,bottomMargin:Jt,dotColors:M,suffix:Pt,prefix:ut,barPadding:Ct,showValues:bt,showTicks:vt,truncateBy:pt,width:wt,height:b,radius:rt,showLabels:Rt,tooltip:A,onSeriesMouseOver:xt,maxValue:Kt,minValue:ht,onSeriesMouseClick:q,selectedColor:F,arrowConnector:L,connectorStrokeWidth:Wt,maxBarThickness:jt,minBarThickness:Mt,resetSelectionOnDoubleClick:Qt,detailsOnClick:I,axisTitle:P,noOfTicks:Gt,valueColor:It,styles:o,classNames:n,labelOrder:y,refValues:Lt,rtl:p,animate:m,precision:X,customLayers:W,highlightedDataPoints:dt,dimmedOpacity:H}=e,U=Ut===void 0?100:Ut,Bt=se===void 0?40:se,$t=zt===void 0?20:zt,Yt=Jt===void 0?10:Jt,ie=T.useRef(null);let Nt;t[0]!==m.amount||t[1]!==m.once?(Nt={once:m.once,amount:m.amount},t[0]=m.amount,t[1]=m.once,t[2]=Nt):Nt=t[2];const v=We.useInView(ie,Nt),Zt=P?$t+25:$t;let f;t[3]!==Yt||t[4]!==U||t[5]!==Bt||t[6]!==Zt?(f={top:Zt,bottom:Yt,left:U,right:Bt},t[3]=Yt,t[4]=U,t[5]=Bt,t[6]=Zt,t[7]=f):f=t[7];const s=f,$=wt-s.left-s.right,z=b-s.top-s.bottom,[Vt,_t]=T.useState(void 0),[G,te]=T.useState(void 0),[ft,Dt]=T.useState(void 0),[St,Tt]=T.useState(void 0);let yt;if(t[8]!==c||t[9]!==y){const x=new Set,w=c.map((h,ct)=>{const a=y?`${h.label}`:`${ct}`;return x.add(a),{...h,id:a}}),gt=y?y.filter(h=>!x.has(h)):[];let E;t[11]!==c[0]?(E=h=>({id:h,label:h,x:Array(c[0].x.length).fill(null)}),t[11]=c[0],t[12]=E):E=t[12],yt=[...w,...gt.map(E)],t[8]=c,t[9]=y,t[10]=yt}else yt=t[10];const O=yt;let lt;t[13]!==O||t[14]!==y?(lt=y??O.map(ji),t[13]=O,t[14]=y,t[15]=lt):lt=t[15];const Xt=lt;let J,K,Q,Z,_,N,V,k,B,tt,et,it,C,R,nt;if(t[16]!==m||t[17]!==L||t[18]!==P||t[19]!==Xt||t[20]!==Ct||t[21]!==n?.dataConnectors||t[22]!==n?.graphObjectValues||t[23]!==n?.xAxis?.gridLines||t[24]!==n?.xAxis?.labels||t[25]!==n?.xAxis?.title||t[26]!==n?.yAxis?.gridLines||t[27]!==n?.yAxis?.labels||t[28]!==Wt||t[29]!==W||t[30]!==O||t[31]!==I||t[32]!==H||t[33]!==M||t[34]!==z||t[35]!==$||t[36]!==b||t[37]!==dt||t[38]!==v||t[39]!==s.bottom||t[40]!==s.left||t[41]!==s.top||t[42]!==jt||t[43]!==Kt||t[44]!==Mt||t[45]!==ht||t[46]!==G||t[47]!==Gt||t[48]!==q||t[49]!==xt||t[50]!==X||t[51]!==ut||t[52]!==rt||t[53]!==Lt||t[54]!==Qt||t[55]!==p||t[56]!==F||t[57]!==Rt||t[58]!==vt||t[59]!==bt||t[60]!==o?.dataConnectors||t[61]!==o?.graphObjectValues||t[62]!==o?.xAxis?.gridLines||t[63]!==o?.xAxis?.labels||t[64]!==o?.xAxis?.title||t[65]!==o?.yAxis?.gridLines||t[66]!==o?.yAxis?.labels||t[67]!==Pt||t[68]!==$t||t[69]!==pt||t[70]!==It||t[71]!==wt){const x=Fe.linear().domain([ht,Kt]).range([0,$]).nice(),w=Pe.band().domain(Xt).range([0,Mt?Math.max(z,Mt*O.length):jt?Math.min(z,jt*O.length):z]).paddingInner(Ct),gt=x.ticks(Gt);K=qt.motion.svg,B=`${wt}px`,tt=`${b}px`,et=`0 0 ${wt} ${b}`,it="ltr",C=ie,t[87]!==L?(R=L?i.jsxRuntimeExports.jsx("defs",{children:i.jsxRuntimeExports.jsx("marker",{id:"arrow",viewBox:"0 0 10 10",refX:"10",refY:"5",markerWidth:"6",markerHeight:"6",orient:"auto-start-reverse",children:i.jsxRuntimeExports.jsx("path",{d:"M 0 0 L 10 5 L 0 10 z",className:"fill-primary-gray-600 dark:fill-primary-gray-300"})})}):null,t[87]=L,t[88]=R):R=t[88],Z=`translate(${s.left},${s.top})`,_=vt?i.jsxRuntimeExports.jsx(He.XTicksAndGridLines,{values:gt.filter(wi),x:gt.filter(vi).map(l=>x(l)),y1:0-$t,y2:z+s.bottom,styles:{gridLines:o?.xAxis?.gridLines,labels:o?.xAxis?.labels},classNames:{gridLines:n?.xAxis?.gridLines,labels:n?.xAxis?.labels},suffix:Pt,prefix:ut,labelType:"secondary",showGridLines:!0,precision:X}):null;const E=$/2,h=0-s.top+15,ct=o?.xAxis?.title,a=n?.xAxis?.title;t[89]!==P||t[90]!==E||t[91]!==h||t[92]!==ct||t[93]!==a?(N=i.jsxRuntimeExports.jsx(De.AxisTitle,{x:E,y:h,style:ct,className:a,text:P}),t[89]=P,t[90]=E,t[91]=h,t[92]=ct,t[93]=a,t[94]=N):N=t[94];const Ht=o?.yAxis?.gridLines;let kt;t[95]!==Ht?(kt={gridLines:Ht},t[95]=Ht,t[96]=kt):kt=t[96];const ee=n?.yAxis?.gridLines;let Et;t[97]!==ee?(Et={gridLines:ee},t[97]=ee,t[98]=Et):Et=t[98],V=i.jsxRuntimeExports.jsx(Se.YTicksAndGridLines,{y:O.map(l=>w(`${l.id}`)+w.bandwidth()/2),x1:0,x2:$,styles:kt,classNames:Et,labelType:"secondary",showGridLines:!0,labelPos:"vertical",precision:X}),t[99]!==W?(k=W.filter(bi).map(gi),t[99]=W,t[100]=k):k=t[100],J=Ge.AnimatePresence,nt=O.map(l=>i.jsxRuntimeExports.jsxs(qt.motion.g,{className:"undp-viz-g-with-hover",variants:{initial:{x:0,y:w(`${l.id}`)+w.bandwidth()/2,opacity:dt.length!==0?dt.indexOf(l.label)!==-1?.85:H:.85},whileInView:{x:0,y:w(`${l.id}`)+w.bandwidth()/2,opacity:dt.length!==0?dt.indexOf(l.label)!==-1?.85:H:.85,transition:{duration:m.duration}}},initial:"initial",animate:v?"whileInView":"initial",exit:{opacity:0,transition:{duration:m.duration}},children:[Rt?i.jsxRuntimeExports.jsx(Ue.YAxesLabels,{value:`${l.label}`.length<pt?`${l.label}`:`${`${l.label}`.substring(0,pt)}...`,y:0-w.bandwidth()/2,x:0-s.left,width:s.left,height:w.bandwidth(),alignment:"right",style:o?.yAxis?.labels,className:n?.yAxis?.labels,animate:m,isInView:v}):null,i.jsxRuntimeExports.jsx(qt.motion.line,{y1:0,y2:0,style:{strokeWidth:Wt,...o?.dataConnectors||{},opacity:F?.3:1},className:i.mo("stroke-primary-gray-600 dark:stroke-primary-gray-300",n?.dataConnectors),markerEnd:L&&l.x.indexOf(Math.min(...l.x.filter(yi)))===0?"url(#arrow)":"",markerStart:L&&l.x.indexOf(Math.min(...l.x.filter(fi)))===l.x.length-1?"url(#arrow)":"",exit:{opacity:0,transition:{duration:m.duration}},variants:{initial:{x1:0,x2:0},whileInView:{x1:x(Math.min(...l.x.filter(hi)))+rt,x2:x(Math.max(...l.x.filter(pi)))-rt,transition:{duration:m.duration}}},initial:"initial",animate:v?"whileInView":"initial"}),l.x.map((j,S)=>i.jsxRuntimeExports.jsx(qt.motion.g,{onMouseEnter:r=>{_t({...l,xIndex:S}),Tt(r.clientY),Dt(r.clientX),xt?.({...l,xIndex:S})},onClick:()=>{(q||I)&&(Ne.isEqual(G,{...l,xIndex:S})&&Qt?(te(void 0),q?.(void 0)):(te({...l,xIndex:S}),q&&q({...l,xIndex:S})))},onMouseMove:r=>{_t({...l,xIndex:S}),Tt(r.clientY),Dt(r.clientX)},onMouseLeave:()=>{_t(void 0),Dt(void 0),Tt(void 0),xt?.(void 0)},exit:{opacity:0,transition:{duration:m.duration}},variants:{initial:{opacity:F?M[S]===F?1:.3:1},whileInView:{opacity:F?M[S]===F?1:.3:1,transition:{duration:m.duration}}},initial:"initial",animate:v?"whileInView":"initial",children:Ft.checkIfNullOrUndefined(j)?null:i.jsxRuntimeExports.jsxs(i.jsxRuntimeExports.Fragment,{children:[i.jsxRuntimeExports.jsx(qt.motion.circle,{cy:0,r:rt,style:{fill:M[S],fillOpacity:.85,stroke:M[S],strokeWidth:1,opacity:Ft.checkIfNullOrUndefined(j)?0:1},exit:{opacity:0,transition:{duration:m.duration}},variants:{initial:{cx:x(0),opacity:0},whileInView:{cx:x(j||0),opacity:Ft.checkIfNullOrUndefined(j)?0:1,transition:{duration:m.duration}}},initial:"initial",animate:v?"whileInView":"initial"}),bt?i.jsxRuntimeExports.jsx(qt.motion.text,{y:0,style:{textAnchor:"middle",...o?.graphObjectValues||{}},dx:0,dy:0-rt-3,className:i.mo("graph-value text-sm font-bold",Ft.checkIfNullOrUndefined(j)?"0opacity-0":"opacity-100",n?.graphObjectValues),exit:{opacity:0,transition:{duration:m.duration}},variants:{initial:{x:x(0),opacity:0,fill:It||M[S]},whileInView:{x:x(j||0),fill:It||M[S],opacity:1,transition:{duration:m.duration}}},initial:"initial",animate:v?"whileInView":"initial",children:Ce.numberFormattingFunction(j,"NA",X,ut,Pt)}):null]})},S))]},l.label)),Q=Lt?i.jsxRuntimeExports.jsx(i.jsxRuntimeExports.Fragment,{children:Lt.map((l,j)=>i.jsxRuntimeExports.jsx(Te.RefLineX,{text:l.text,color:l.color,x:x(l.value),y1:0-s.top,y2:z+s.bottom,textSide:x(l.value)>$*.75||p?"left":"right",classNames:l.classNames,styles:l.styles,animate:m,isInView:v},j))}):null,t[16]=m,t[17]=L,t[18]=P,t[19]=Xt,t[20]=Ct,t[21]=n?.dataConnectors,t[22]=n?.graphObjectValues,t[23]=n?.xAxis?.gridLines,t[24]=n?.xAxis?.labels,t[25]=n?.xAxis?.title,t[26]=n?.yAxis?.gridLines,t[27]=n?.yAxis?.labels,t[28]=Wt,t[29]=W,t[30]=O,t[31]=I,t[32]=H,t[33]=M,t[34]=z,t[35]=$,t[36]=b,t[37]=dt,t[38]=v,t[39]=s.bottom,t[40]=s.left,t[41]=s.top,t[42]=jt,t[43]=Kt,t[44]=Mt,t[45]=ht,t[46]=G,t[47]=Gt,t[48]=q,t[49]=xt,t[50]=X,t[51]=ut,t[52]=rt,t[53]=Lt,t[54]=Qt,t[55]=p,t[56]=F,t[57]=Rt,t[58]=vt,t[59]=bt,t[60]=o?.dataConnectors,t[61]=o?.graphObjectValues,t[62]=o?.xAxis?.gridLines,t[63]=o?.xAxis?.labels,t[64]=o?.xAxis?.title,t[65]=o?.yAxis?.gridLines,t[66]=o?.yAxis?.labels,t[67]=Pt,t[68]=$t,t[69]=pt,t[70]=It,t[71]=wt,t[72]=J,t[73]=K,t[74]=Q,t[75]=Z,t[76]=_,t[77]=N,t[78]=V,t[79]=k,t[80]=B,t[81]=tt,t[82]=et,t[83]=it,t[84]=C,t[85]=R,t[86]=nt}else J=t[72],K=t[73],Q=t[74],Z=t[75],_=t[76],N=t[77],V=t[78],k=t[79],B=t[80],tt=t[81],et=t[82],it=t[83],C=t[84],R=t[85],nt=t[86];let st;t[101]!==J||t[102]!==Q||t[103]!==nt?(st=i.jsxRuntimeExports.jsxs(J,{children:[nt,Q]}),t[101]=J,t[102]=Q,t[103]=nt,t[104]=st):st=t[104];let ot;t[105]!==W?(ot=W.filter(mi).map(di),t[105]=W,t[106]=ot):ot=t[106];let mt;t[107]!==Z||t[108]!==_||t[109]!==N||t[110]!==V||t[111]!==k||t[112]!==st||t[113]!==ot?(mt=i.jsxRuntimeExports.jsxs("g",{transform:Z,children:[_,N,V,k,st,ot]}),t[107]=Z,t[108]=_,t[109]=N,t[110]=V,t[111]=k,t[112]=st,t[113]=ot,t[114]=mt):mt=t[114];let D;t[115]!==K||t[116]!==B||t[117]!==tt||t[118]!==et||t[119]!==it||t[120]!==C||t[121]!==R||t[122]!==mt?(D=i.jsxRuntimeExports.jsxs(K,{width:B,height:tt,viewBox:et,direction:it,ref:C,children:[R,mt]}),t[115]=K,t[116]=B,t[117]=tt,t[118]=et,t[119]=it,t[120]=C,t[121]=R,t[122]=mt,t[123]=D):D=t[123];let Y;t[124]!==n?.tooltip||t[125]!==ft||t[126]!==St||t[127]!==Vt||t[128]!==o?.tooltip||t[129]!==A?(Y=Vt&&A&&ft&&St?i.jsxRuntimeExports.jsx(Ve.Tooltip,{data:Vt,body:A,xPos:ft,yPos:St,backgroundStyle:o?.tooltip,className:n?.tooltip}):null,t[124]=n?.tooltip,t[125]=ft,t[126]=St,t[127]=Vt,t[128]=o?.tooltip,t[129]=A,t[130]=Y):Y=t[130];let at;t[131]!==n?.modal||t[132]!==I||t[133]!==G?(at=I&&G!==void 0?i.jsxRuntimeExports.jsx(qe.DetailsModal,{body:I,data:G,setData:te,className:n?.modal}):null,t[131]=n?.modal,t[132]=I,t[133]=G,t[134]=at):at=t[134];let At;return t[135]!==D||t[136]!==Y||t[137]!==at?(At=i.jsxRuntimeExports.jsxs(i.jsxRuntimeExports.Fragment,{children:[D,Y,at]}),t[135]=D,t[136]=Y,t[137]=at,t[138]=At):At=t[138],At}function di(e){return e.layer}function mi(e){return e.position==="after"}function pi(e){return e!==null}function hi(e){return e!==null}function fi(e){return e!==null}function yi(e){return e!==null}function gi(e){return e.layer}function bi(e){return e.position==="before"}function vi(e,t){return t!==0}function wi(e,t){return t!==0}function ji(e){return`${e.id}`}function Ai(e){const t=i.compilerRuntimeExports.c(131),{data:c,graphTitle:Ut,colors:se,sources:zt,graphDescription:Jt,barPadding:M,showTicks:Pt,leftMargin:ut,rightMargin:Ct,topMargin:bt,bottomMargin:vt,truncateBy:pt,height:wt,width:b,footNote:rt,colorDomain:Rt,colorLegendTitle:A,padding:xt,backgroundColor:Kt,radius:ht,tooltip:q,showLabels:F,relativeHeight:L,onSeriesMouseOver:Wt,graphID:jt,suffix:Mt,prefix:Qt,maxValue:I,minValue:P,onSeriesMouseClick:Gt,graphDownload:It,dataDownload:o,showValues:n,sortParameter:y,arrowConnector:Lt,connectorStrokeWidth:p,language:m,minHeight:X,theme:W,maxBarThickness:dt,maxNumberOfBars:H,minBarThickness:U,ariaLabel:Bt,resetSelectionOnDoubleClick:$t,detailsOnClick:Yt,axisTitle:ie,noOfTicks:Nt,valueColor:v,orientation:Zt,styles:f,classNames:s,labelOrder:$,refValues:z,filterNA:Vt,animate:_t,precision:G,showColorScale:te,customLayers:ft,highlightedDataPoints:Dt,dimmedOpacity:St,timeline:Tt,sortData:yt,hideAxisLine:O}=e,lt=se===void 0?Ze.Colors.light.categoricalColors.colors:se,Xt=M===void 0?.25:M,J=Pt===void 0?!0:Pt,K=pt===void 0?999:pt,Q=Kt===void 0?!0:Kt,Z=ht===void 0?3:ht,_=F===void 0?!0:F,N=Mt===void 0?"":Mt,V=Qt===void 0?"":Qt,k=It===void 0?!1:It,B=o===void 0?!1:o,tt=n===void 0?!0:n,et=Lt===void 0?!1:Lt,it=p===void 0?2:p,C=m===void 0?"en":m,R=X===void 0?0:X,nt=W===void 0?"light":W,st=$t===void 0?!0:$t,ot=Nt===void 0?5:Nt,mt=Zt===void 0?"vertical":Zt,D=Vt===void 0?!0:Vt,Y=_t===void 0?!1:_t,at=G===void 0?2:G,At=te===void 0?!0:te;let x;t[0]!==ft?(x=ft===void 0?[]:ft,t[0]=ft,t[1]=x):x=t[1];const w=x;let gt;t[2]!==Dt?(gt=Dt===void 0?[]:Dt,t[2]=Dt,t[3]=gt):gt=t[3];const E=gt,h=St===void 0?.3:St;let ct;t[4]!==Tt?(ct=Tt===void 0?{enabled:!1,autoplay:!1,showOnlyActiveDate:!0}:Tt,t[4]=Tt,t[5]=ct):ct=t[5];const a=ct,Ht=O===void 0?!1:O,[kt,ee]=T.useState(0),[Et,l]=T.useState(0),[j,S]=T.useState(a.autoplay);let r;if(t[6]!==c||t[7]!==a.dateFormat){let u;t[9]!==a.dateFormat?(u=Ot=>Ee.parse(`${Ot.date}`,a.dateFormat||"yyyy",new Date).getTime(),t[9]=a.dateFormat,t[10]=u):u=t[10],r=[...new Set(c.filter(Gi).map(u))],r.sort(Wi),t[6]=c,t[7]=a.dateFormat,t[8]=r}else r=t[8];const d=r,[g,ne]=T.useState(a.autoplay?0:d.length-1),[be,Be]=T.useState(void 0),ve=T.useRef(null),Re=T.useRef(null);let de,me;t[11]===Symbol.for("react.memo_cache_sentinel")?(de=()=>{const u=new ResizeObserver(Ot=>{ee(Ot[0].target.clientWidth||620),l(Ot[0].target.clientHeight||480)});return ve.current&&u.observe(ve.current),()=>u.disconnect()},me=[],t[11]=de,t[12]=me):(de=t[11],me=t[12]),T.useEffect(de,me);let pe,he;t[13]!==j||t[14]!==a.speed||t[15]!==d?(pe=()=>{const u=setInterval(()=>{ne(Ot=>Ot<d.length-1?Ot+1:0)},(a.speed||2)*1e3);return j||clearInterval(u),()=>clearInterval(u)},he=[d,j,a.speed],t[13]=j,t[14]=a.speed,t[15]=d,t[16]=pe,t[17]=he):(pe=t[16],he=t[17]),T.useEffect(pe,he);const we=a.dateFormat||"yyyy";let fe;t[18]!==g||t[19]!==we||t[20]!==a.showOnlyActiveDate||t[21]!==d?(fe=Ie.getSliderMarks(d,g,a.showOnlyActiveDate,we),t[18]=g,t[19]=we,t[20]=a.showOnlyActiveDate,t[21]=d,t[22]=fe):fe=t[22];const ye=fe,je=mt==="horizontal"?xi:_e,Ae=s?.graphContainer,ke=f?.graphContainer;let oe;t[23]!==s?.description||t[24]!==s?.title||t[25]!==c||t[26]!==B||t[27]!==Jt||t[28]!==k||t[29]!==Ut||t[30]!==f?.description||t[31]!==f?.title||t[32]!==b?(oe=Ut||Jt||k||B?i.jsxRuntimeExports.jsx(ze.GraphHeader,{styles:{title:f?.title,description:f?.description},classNames:{title:s?.title,description:s?.description},graphTitle:Ut,graphDescription:Jt,width:b,graphDownload:k?Re:void 0,dataDownload:B?c.map(Pi).filter(Fi).length>0?c.map(qi).filter(Ti):c.filter(Si):null}):null,t[23]=s?.description,t[24]=s?.title,t[25]=c,t[26]=B,t[27]=Jt,t[28]=k,t[29]=Ut,t[30]=f?.description,t[31]=f?.title,t[32]=b,t[33]=oe):oe=t[33];let ae;t[34]!==g||t[35]!==ye||t[36]!==j||t[37]!==a.enabled||t[38]!==d?(ae=a.enabled&&d.length>0&&ye?i.jsxRuntimeExports.jsxs("div",{className:"flex gap-6 items-center",dir:"ltr",children:[i.jsxRuntimeExports.jsx("button",{type:"button",onClick:()=>{S(!j)},className:"p-0 border-0 cursor-pointer bg-transparent","aria-label":j?"Click to pause animation":"Click to play animation",children:j?i.jsxRuntimeExports.jsx($e.Pause,{}):i.jsxRuntimeExports.jsx($e.Play,{})}),i.jsxRuntimeExports.jsx(Ie.Nr,{min:d[0],max:d[d.length-1],marks:ye,step:null,defaultValue:d[d.length-1],value:d[g],onChangeComplete:u=>{ne(d.indexOf(u))},onChange:u=>{ne(d.indexOf(u))},"aria-label":"Time slider. Use arrow keys to adjust selected time period."})]}):null,t[34]=g,t[35]=ye,t[36]=j,t[37]=a.enabled,t[38]=d,t[39]=ae):ae=t[39];let re;t[40]!==s?.colorLegend||t[41]!==Rt||t[42]!==A||t[43]!==lt||t[44]!==c.length||t[45]!==At||t[46]!==b?(re=At&&c.length>0?i.jsxRuntimeExports.jsx(Ke.ColorLegendWithMouseOver,{width:b,colorDomain:Rt,colors:lt,colorLegendTitle:A,setSelectedColor:Be,showNAColor:!1,className:s?.colorLegend}):null,t[40]=s?.colorLegend,t[41]=Rt,t[42]=A,t[43]=lt,t[44]=c.length,t[45]=At,t[46]=b,t[47]=re):re=t[47];let le;t[48]!==c.length?(le=c.length===0&&i.jsxRuntimeExports.jsx(Qe.EmptyState,{}),t[48]=c.length,t[49]=le):le=t[49];let ce;t[50]!==je||t[51]!==Y||t[52]!==et||t[53]!==ie||t[54]!==Xt||t[55]!==vt||t[56]!==s||t[57]!==lt||t[58]!==it||t[59]!==w||t[60]!==c||t[61]!==Yt||t[62]!==h||t[63]!==D||t[64]!==Ht||t[65]!==E||t[66]!==g||t[67]!==$||t[68]!==C||t[69]!==ut||t[70]!==dt||t[71]!==H||t[72]!==I||t[73]!==U||t[74]!==P||t[75]!==ot||t[76]!==Gt||t[77]!==Wt||t[78]!==at||t[79]!==V||t[80]!==Z||t[81]!==z||t[82]!==st||t[83]!==Ct||t[84]!==be||t[85]!==_||t[86]!==J||t[87]!==tt||t[88]!==yt||t[89]!==y||t[90]!==f||t[91]!==N||t[92]!==Et||t[93]!==kt||t[94]!==a.dateFormat||t[95]!==a.enabled||t[96]!==q||t[97]!==bt||t[98]!==K||t[99]!==d||t[100]!==v?(ce=kt&&Et&&c.length>0?i.jsxRuntimeExports.jsx(je,{hideAxisLine:Ht,data:y!==void 0?y==="diff"?Me.orderBy(Oe.ensureCompleteDataForDumbbellChart(c,a.dateFormat||"yyyy").filter(u=>a.enabled?u.date===Ee.format(new Date(d[g]),a.dateFormat||"yyyy"):u).filter(u=>D?!u.x.every(Di):u),Vi,[yt||"asc"]).filter((u,Ot)=>H?Ot<H:!0):Me.orderBy(Oe.ensureCompleteDataForDumbbellChart(c,a.dateFormat||"yyyy").filter(u=>a.enabled?u.date===Ee.format(new Date(d[g]),a.dateFormat||"yyyy"):u).filter(u=>D?!u.x.every(Ni):u),u=>Ft.checkIfNullOrUndefined(u.x[y])?-1/0:u.x[y],[yt||"asc"]).filter((u,Ot)=>H?Ot<H:!0):Oe.ensureCompleteDataForDumbbellChart(c,a.dateFormat||"yyyy").filter(u=>D?!u.x.every($i):u).filter((u,Ot)=>H?Ot<H:!0),dotColors:lt,width:kt,height:Et,radius:Z,barPadding:Xt,showTicks:J,leftMargin:ut,rightMargin:Ct,topMargin:bt,bottomMargin:vt,truncateBy:K,showLabels:_,showValues:tt,tooltip:q,suffix:N,prefix:V,onSeriesMouseOver:Wt,maxValue:Ft.checkIfNullOrUndefined(I)?Math.max(...c.map(Ii))<0?0:Math.max(...c.map(Ri)):I,minValue:Ft.checkIfNullOrUndefined(P)?Math.min(...c.map(Oi))>0?0:Math.min(...c.map(ki)):P,onSeriesMouseClick:Gt,selectedColor:be,arrowConnector:et,connectorStrokeWidth:it,maxBarThickness:dt,minBarThickness:U,resetSelectionOnDoubleClick:st,detailsOnClick:Yt,axisTitle:ie,noOfTicks:ot,valueColor:v,styles:f,classNames:s,labelOrder:$,refValues:z,animate:Y===!0?{duration:.5,once:!0,amount:.5}:Y||{duration:0,once:!0,amount:0},precision:at,customLayers:w,highlightedDataPoints:E,dimmedOpacity:h,rtl:C==="ar"||C==="he"}):null,t[50]=je,t[51]=Y,t[52]=et,t[53]=ie,t[54]=Xt,t[55]=vt,t[56]=s,t[57]=lt,t[58]=it,t[59]=w,t[60]=c,t[61]=Yt,t[62]=h,t[63]=D,t[64]=Ht,t[65]=E,t[66]=g,t[67]=$,t[68]=C,t[69]=ut,t[70]=dt,t[71]=H,t[72]=I,t[73]=U,t[74]=P,t[75]=ot,t[76]=Gt,t[77]=Wt,t[78]=at,t[79]=V,t[80]=Z,t[81]=z,t[82]=st,t[83]=Ct,t[84]=be,t[85]=_,t[86]=J,t[87]=tt,t[88]=yt,t[89]=y,t[90]=f,t[91]=N,t[92]=Et,t[93]=kt,t[94]=a.dateFormat,t[95]=a.enabled,t[96]=q,t[97]=bt,t[98]=K,t[99]=d,t[100]=v,t[101]=ce):ce=t[101];let ue;t[102]!==le||t[103]!==ce?(ue=i.jsxRuntimeExports.jsxs(Le.GraphArea,{ref:ve,children:[le,ce]}),t[102]=le,t[103]=ce,t[104]=ue):ue=t[104];let xe;t[105]!==s?.footnote||t[106]!==s?.source||t[107]!==rt||t[108]!==zt||t[109]!==f?.footnote||t[110]!==f?.source||t[111]!==b?(xe=zt||rt?i.jsxRuntimeExports.jsx(Je.GraphFooter,{styles:{footnote:f?.footnote,source:f?.source},classNames:{footnote:s?.footnote,source:s?.source},sources:zt,footNote:rt,width:b}):null,t[105]=s?.footnote,t[106]=s?.source,t[107]=rt,t[108]=zt,t[109]=f?.footnote,t[110]=f?.source,t[111]=b,t[112]=xe):xe=t[112];let ge;return t[113]!==Bt||t[114]!==Q||t[115]!==jt||t[116]!==wt||t[117]!==C||t[118]!==R||t[119]!==xt||t[120]!==L||t[121]!==Ae||t[122]!==ke||t[123]!==oe||t[124]!==ae||t[125]!==re||t[126]!==ue||t[127]!==xe||t[128]!==nt||t[129]!==b?(ge=i.jsxRuntimeExports.jsxs(Le.GraphContainer,{className:Ae,style:ke,id:jt,ref:Re,"aria-label":Bt,backgroundColor:Q,theme:nt,language:C,minHeight:R,width:b,height:wt,relativeHeight:L,padding:xt,children:[oe,ae,re,ue,xe]}),t[113]=Bt,t[114]=Q,t[115]=jt,t[116]=wt,t[117]=C,t[118]=R,t[119]=xt,t[120]=L,t[121]=Ae,t[122]=ke,t[123]=oe,t[124]=ae,t[125]=re,t[126]=ue,t[127]=xe,t[128]=nt,t[129]=b,t[130]=ge):ge=t[130],ge}function ki(e){return Math.min(...e.x.filter(Ei))}function Ei(e){return e!==null}function Oi(e){return Math.min(...e.x.filter(Ci))}function Ci(e){return e!==null}function Ri(e){return Math.max(...e.x.filter(Mi))}function Mi(e){return e!==null}function Ii(e){return Math.max(...e.x.filter(Li))}function Li(e){return e!==null}function $i(e){return e==null}function Ni(e){return e==null}function Vi(e){return Ft.checkIfNullOrUndefined(e.x[e.x.length-1])||Ft.checkIfNullOrUndefined(e.x[0])?-1/0:e.x[e.x.length-1]-e.x[0]}function Di(e){return e==null}function Si(e){return e!==void 0}function Ti(e){return e!==void 0}function qi(e){return e.data}function Fi(e){return e!==void 0}function Pi(e){return e.data}function Wi(e,t){return e-t}function Gi(e){return e.date}exports.DumbbellChart=Ai;
|
|
2
2
|
//# sourceMappingURL=DumbbellChart.cjs.map
|
package/dist/DumbbellChart.js
CHANGED
|
@@ -1,32 +1,32 @@
|
|
|
1
|
-
import { c as Ie, j as i, m as be } from "./index-CHPV5EwG-
|
|
1
|
+
import { c as Ie, j as i, m as be } from "./index-CHPV5EwG-BCLAYDCV.js";
|
|
2
2
|
import { o as je } from "./index-BZQYSqar.js";
|
|
3
3
|
import { f as Ne, p as He } from "./parse-Dv4of-PN.js";
|
|
4
4
|
import { useRef as ve, useState as Ot, useEffect as De } from "react";
|
|
5
|
-
import { g as Re, N as ze } from "./getSliderMarks-
|
|
5
|
+
import { g as Re, N as ze } from "./getSliderMarks-vXsR8RrR.js";
|
|
6
6
|
import { i as Te } from "./index-Bwrro8-q.js";
|
|
7
7
|
import { n as $e } from "./numberFormattingFunction-14YCbkN2.js";
|
|
8
|
-
import { T as Se } from "./Tooltip-
|
|
8
|
+
import { T as Se } from "./Tooltip-CohiIbLZ.js";
|
|
9
9
|
import { c as Bt } from "./checkIfNullOrUndefined-DmfiKkNw.js";
|
|
10
|
-
import { A as Fe } from "./AxisTitle-
|
|
11
|
-
import { A as qe } from "./Axis-
|
|
12
|
-
import { X as Ue } from "./XAxesLabels-
|
|
13
|
-
import { Y as Pe } from "./YTicksAndGridLines-
|
|
14
|
-
import { R as Je, a as Ke } from "./ReferenceLine-
|
|
15
|
-
import { X as Qe } from "./XTicksAndGridLines-
|
|
16
|
-
import { Y as Ze } from "./YAxesLabels-
|
|
17
|
-
import { D as We } from "./DetailsModal-
|
|
18
|
-
import { a as Be } from "./linear-
|
|
10
|
+
import { A as Fe } from "./AxisTitle-DGjX1_2v.js";
|
|
11
|
+
import { A as qe } from "./Axis-RyGdzLrG.js";
|
|
12
|
+
import { X as Ue } from "./XAxesLabels-IwjMJkYS.js";
|
|
13
|
+
import { Y as Pe } from "./YTicksAndGridLines-C3GW1xFG.js";
|
|
14
|
+
import { R as Je, a as Ke } from "./ReferenceLine-CNEjAYvv.js";
|
|
15
|
+
import { X as Qe } from "./XTicksAndGridLines-BDmF9etl.js";
|
|
16
|
+
import { Y as Ze } from "./YAxesLabels-DoGvgHdw.js";
|
|
17
|
+
import { D as We } from "./DetailsModal-C3qlUyFK.js";
|
|
18
|
+
import { a as Be } from "./linear-DNXM5Pdl.js";
|
|
19
19
|
import { b as Xe } from "./band-DYty33LD.js";
|
|
20
|
-
import { m as Wt } from "./proxy
|
|
21
|
-
import { u as Ye } from "./use-in-view-
|
|
22
|
-
import { A as Ee } from "./index-
|
|
20
|
+
import { m as Wt } from "./proxy--_f6k3NR.js";
|
|
21
|
+
import { u as Ye } from "./use-in-view-DqvKAveg.js";
|
|
22
|
+
import { A as Ee } from "./index-Co3YGYe1.js";
|
|
23
23
|
import { e as Le } from "./ensureCompleteData-CDIukSG6.js";
|
|
24
|
-
import { a as _e, G as ti } from "./GraphContainer-
|
|
24
|
+
import { a as _e, G as ti } from "./GraphContainer-DwMxWRCi.js";
|
|
25
25
|
import { GraphHeader as ei } from "./GraphHeader.js";
|
|
26
|
-
import { P as ii, e as ni } from "./index-
|
|
26
|
+
import { P as ii, e as ni } from "./index-CZ0elhKR.js";
|
|
27
27
|
import { GraphFooter as ai } from "./GraphFooter.js";
|
|
28
28
|
import { ColorLegendWithMouseOver as oi } from "./ColorLegendWithMouseOver.js";
|
|
29
|
-
import { E as si } from "./EmptyState-
|
|
29
|
+
import { E as si } from "./EmptyState-D807L58h.js";
|
|
30
30
|
import { Colors as li } from "./Colors.js";
|
|
31
31
|
function ri(e) {
|
|
32
32
|
const t = Ie.c(148), {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { c as a, j as r } from "./index-CHPV5EwG-
|
|
2
|
-
import { _ as o } from "./Typography-
|
|
3
|
-
import { A as l } from "./index-
|
|
1
|
+
import { c as a, j as r } from "./index-CHPV5EwG-BCLAYDCV.js";
|
|
2
|
+
import { _ as o } from "./Typography-HicNIA61.js";
|
|
3
|
+
import { A as l } from "./index-CZ0elhKR.js";
|
|
4
4
|
function n() {
|
|
5
5
|
const t = a.c(1);
|
|
6
6
|
let e;
|
|
@@ -12,4 +12,4 @@ function n() {
|
|
|
12
12
|
export {
|
|
13
13
|
n as E
|
|
14
14
|
};
|
|
15
|
-
//# sourceMappingURL=EmptyState-
|
|
15
|
+
//# sourceMappingURL=EmptyState-D807L58h.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"EmptyState-
|
|
1
|
+
{"version":3,"file":"EmptyState-D807L58h.js","sources":["../src/Components/Elements/EmptyState.tsx"],"sourcesContent":["import { P } from '@undp/design-system-react/Typography';\r\n\r\nimport { Alert } from '@/Components/Icons';\r\n\r\nexport function EmptyState() {\r\n return (\r\n <div className='flex w-full flex-col justify-center grow items-center gap-2 p-6 h-full'>\r\n <Alert />\r\n <P\r\n marginBottom='none'\r\n leading='none'\r\n size='lg'\r\n className='text-primary-gray-550 dark:text-primary-gray-550'\r\n >\r\n No data available\r\n </P>\r\n </div>\r\n );\r\n}\r\n"],"names":["EmptyState","$","_c","t0","Symbol","for","jsxs","jsx","Alert","P"],"mappings":";;;AAIO,SAAAA,IAAA;AAAA,QAAAC,IAAAC,EAAAA,EAAA,CAAA;AAAA,MAAAC;AAAA,SAAAF,EAAA,CAAA,MAAAG,uBAAAC,IAAA,2BAAA,KAEHF,IAAAG,gBAAAA,EAAAA,KAAA,OAAA,EAAe,WAAA,0EACb,UAAA;AAAA,IAAAC,gBAAAA,EAAAA,IAACC,GAAA,EAAK;AAAA,IACND,gBAAAA,EAAAA,IAACE,GAAA,EACc,cAAA,QACL,SAAA,QACH,MAAA,MACK,WAAA,oDACX,UAAA,oBAAA,CAED;AAAA,EAAA,GACF,GAAMR,OAAAE,KAAAA,IAAAF,EAAA,CAAA,GAVNE;AAUM;"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { c as v, j as f } from "./index-CHPV5EwG-
|
|
2
|
-
import { d as w, u as j } from "./index-
|
|
1
|
+
import { c as v, j as f } from "./index-CHPV5EwG-BCLAYDCV.js";
|
|
2
|
+
import { d as w, u as j } from "./index-CZ0elhKR.js";
|
|
3
3
|
import { e as y } from "./excelDownload-BEC1AyQW.js";
|
|
4
4
|
function $(N) {
|
|
5
5
|
const t = v.c(13), {
|
package/dist/FootNote.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { c, m as f, j as a } from "./index-CHPV5EwG-
|
|
2
|
-
import { _ as p } from "./Typography-
|
|
1
|
+
import { c, m as f, j as a } from "./index-CHPV5EwG-BCLAYDCV.js";
|
|
2
|
+
import { _ as p } from "./Typography-HicNIA61.js";
|
|
3
3
|
import x from "react";
|
|
4
4
|
function g(m) {
|
|
5
5
|
const t = c.c(12), {
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import { c as se, j as t } from "./index-CHPV5EwG-
|
|
1
|
+
import { c as se, j as t } from "./index-CHPV5EwG-BCLAYDCV.js";
|
|
2
2
|
import ie, { useState as Q, useRef as z, useEffect as ne } from "react";
|
|
3
3
|
import * as I from "maplibre-gl";
|
|
4
4
|
import * as ae from "pmtiles";
|
|
5
5
|
/* empty css */
|
|
6
6
|
import { useSensors as ce, useSensor as me, PointerSensor as fe, DndContext as de, useDraggable as ue } from "@dnd-kit/core";
|
|
7
7
|
import { restrictToHorizontalAxis as pe } from "@dnd-kit/modifiers";
|
|
8
|
-
import { X as he, C as ge } from "./index-
|
|
8
|
+
import { X as he, C as ge } from "./index-CZ0elhKR.js";
|
|
9
9
|
import { s as be } from "./string2HTML-DUYZT1L9.js";
|
|
10
10
|
import { s as le } from "./select-DKy99ogv.js";
|
|
11
11
|
import { GraphHeader as ve } from "./GraphHeader.js";
|
|
12
12
|
import { GraphFooter as ye } from "./GraphFooter.js";
|
|
13
|
-
import { a as xe, G as we } from "./GraphContainer-
|
|
13
|
+
import { a as xe, G as we } from "./GraphContainer-DwMxWRCi.js";
|
|
14
14
|
function je(j, e) {
|
|
15
15
|
let i = !1;
|
|
16
16
|
function l(o, m) {
|
package/dist/GeoHubMap.js
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { c as de, j as o } from "./index-CHPV5EwG-
|
|
1
|
+
import { c as de, j as o } from "./index-CHPV5EwG-BCLAYDCV.js";
|
|
2
2
|
import me, { useState as D, useRef as Q, useEffect as Y } from "react";
|
|
3
|
-
import { j as ve, D as xe } from "./DropdownSelect-
|
|
3
|
+
import { j as ve, D as xe } from "./DropdownSelect-B2WTeedJ.js";
|
|
4
4
|
import H from "maplibre-gl";
|
|
5
5
|
import * as ue from "pmtiles";
|
|
6
6
|
/* empty css */
|
|
7
7
|
import { f as ae } from "./fetchAndParseData-BAXhgTDM.js";
|
|
8
8
|
import { f as ce } from "./filterData-DsAiFzKY.js";
|
|
9
|
-
import { X as pe } from "./index-
|
|
9
|
+
import { X as pe } from "./index-CZ0elhKR.js";
|
|
10
10
|
import { s as ge } from "./string2HTML-DUYZT1L9.js";
|
|
11
|
-
import { a as he, G as je } from "./GraphContainer-
|
|
11
|
+
import { a as he, G as je } from "./GraphContainer-DwMxWRCi.js";
|
|
12
12
|
import { s as fe } from "./select-DKy99ogv.js";
|
|
13
13
|
import { GraphHeader as we } from "./GraphHeader.js";
|
|
14
14
|
import { GraphFooter as Ce } from "./GraphFooter.js";
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import { c as ne, j as s } from "./index-CHPV5EwG-
|
|
1
|
+
import { c as ne, j as s } from "./index-CHPV5EwG-BCLAYDCV.js";
|
|
2
2
|
import de, { useState as T, useRef as Y, useEffect as ee } from "react";
|
|
3
3
|
import { f as ue } from "./index-EArKRVKg.js";
|
|
4
|
-
import { D as pe, j as ge } from "./DropdownSelect-
|
|
5
|
-
import { n as he } from "./Source-
|
|
4
|
+
import { D as pe, j as ge } from "./DropdownSelect-B2WTeedJ.js";
|
|
5
|
+
import { n as he } from "./Source-eILIr4Ov.js";
|
|
6
6
|
import U from "maplibre-gl";
|
|
7
7
|
import * as ye from "pmtiles";
|
|
8
8
|
/* empty css */
|
|
9
9
|
import { f as ie } from "./fetchAndParseData-BAXhgTDM.js";
|
|
10
10
|
import { f as se } from "./filterData-DsAiFzKY.js";
|
|
11
11
|
import { s as be } from "./string2HTML-DUYZT1L9.js";
|
|
12
|
-
import { X as ve } from "./index-
|
|
13
|
-
import { a as xe, G as Se } from "./GraphContainer-
|
|
12
|
+
import { X as ve } from "./index-CZ0elhKR.js";
|
|
13
|
+
import { a as xe, G as Se } from "./GraphContainer-DwMxWRCi.js";
|
|
14
14
|
import { s as je } from "./select-DKy99ogv.js";
|
|
15
15
|
import { GraphHeader as De } from "./GraphHeader.js";
|
|
16
16
|
import { GraphFooter as Le } from "./GraphFooter.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { c as D, m as I, j as A } from "./index-CHPV5EwG-
|
|
1
|
+
import { c as D, m as I, j as A } from "./index-CHPV5EwG-BCLAYDCV.js";
|
|
2
2
|
import L from "react";
|
|
3
3
|
const z = L.forwardRef((n, c) => {
|
|
4
4
|
const e = D.c(48);
|
|
@@ -75,4 +75,4 @@ export {
|
|
|
75
75
|
z as G,
|
|
76
76
|
B as a
|
|
77
77
|
};
|
|
78
|
-
//# sourceMappingURL=GraphContainer-
|
|
78
|
+
//# sourceMappingURL=GraphContainer-DwMxWRCi.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"GraphContainer-
|
|
1
|
+
{"version":3,"file":"GraphContainer-DwMxWRCi.js","sources":["../src/Components/Elements/GraphContainer.tsx"],"sourcesContent":["import { cn } from '@undp/design-system-react/cn';\r\nimport React from 'react';\r\n\r\nimport { Languages } from '@/Types';\r\n\r\ninterface Props extends React.HTMLAttributes<HTMLDivElement> {\r\n width?: number;\r\n height?: number;\r\n backgroundColor: string | boolean;\r\n theme: 'light' | 'dark';\r\n language: Languages;\r\n relativeHeight?: number;\r\n minHeight?: number;\r\n padding?: string;\r\n graphID?: string;\r\n ariaLabel?: string;\r\n}\r\n\r\nexport const GraphContainer = React.forwardRef<HTMLDivElement, Props>(\r\n (\r\n {\r\n className,\r\n width,\r\n height,\r\n backgroundColor,\r\n theme,\r\n language,\r\n relativeHeight,\r\n minHeight,\r\n padding,\r\n children,\r\n style,\r\n graphID,\r\n ariaLabel,\r\n ...props\r\n },\r\n ref,\r\n ) => {\r\n return (\r\n <div\r\n {...props}\r\n className={cn(\r\n `${theme || 'light'} ${language || 'en'} mx-auto box-border flex ${width ? 'grow-0' : 'grow w-full'}${relativeHeight ? '' : ' h-full'} flex-col`,\r\n // Merge background color logic here\r\n !backgroundColor\r\n ? 'bg-transparent'\r\n : backgroundColor === true\r\n ? 'bg-primary-gray-200 dark:bg-primary-gray-650'\r\n : '',\r\n className,\r\n )}\r\n dir={language === 'he' || language === 'ar' ? 'rtl' : undefined}\r\n style={{\r\n ...(style || {}),\r\n ...(width ? { width: `${width}px` } : {}),\r\n ...(height ? { height: `${height}px` } : {}),\r\n minHeight: minHeight ? `${minHeight}px` : 'auto',\r\n ...(relativeHeight ? { aspectRatio: 1 / relativeHeight } : {}),\r\n // Merge padding and background color logic\r\n padding: backgroundColor ? padding || '1rem' : padding || 0,\r\n ...(backgroundColor && backgroundColor !== true ? { backgroundColor } : {}),\r\n }}\r\n id={graphID}\r\n ref={ref}\r\n aria-label={ariaLabel || 'This is a graph'}\r\n >\r\n <div className='flex flex-col w-full h-full grow justify-between'>{children}</div>\r\n </div>\r\n );\r\n },\r\n);\r\n\r\nexport const GraphArea = React.forwardRef<HTMLDivElement, React.HTMLAttributes<HTMLDivElement>>(\r\n ({ children, className, ...props }, ref) => {\r\n return (\r\n <div\r\n {...props}\r\n className={cn('w-full grow min-h-0 leading-0', className)}\r\n ref={ref}\r\n aria-label='Graph area'\r\n >\r\n {children}\r\n </div>\r\n );\r\n },\r\n);\r\n"],"names":["GraphContainer","React","forwardRef","t0","ref","$","_c","ariaLabel","backgroundColor","children","className","graphID","height","language","minHeight","padding","props","relativeHeight","style","theme","width","t1","t2","t3","cn","t4","undefined","t5","t6","t7","t8","t9","aspectRatio","t10","t11","t12","t13","t14","jsx","t15","GraphArea"],"mappings":"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"}
|
package/dist/GraphDescription.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { c as a, m, j as l } from "./index-CHPV5EwG-
|
|
2
|
-
import { _ as p } from "./Typography-
|
|
1
|
+
import { c as a, m, j as l } from "./index-CHPV5EwG-BCLAYDCV.js";
|
|
2
|
+
import { _ as p } from "./Typography-HicNIA61.js";
|
|
3
3
|
import c from "react";
|
|
4
4
|
function d(o) {
|
|
5
5
|
const e = a.c(10), {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { c as O, j as d } from "./index-CHPV5EwG-
|
|
2
|
-
import { _ as k } from "./Typography-
|
|
1
|
+
import { c as O, j as d } from "./index-CHPV5EwG-BCLAYDCV.js";
|
|
2
|
+
import { _ as k } from "./Typography-HicNIA61.js";
|
|
3
3
|
import { ButterflyChart as S } from "./ButterflyChart.js";
|
|
4
|
-
import { C as N } from "./index-
|
|
4
|
+
import { C as N } from "./index-B5ggV1vg.js";
|
|
5
5
|
import { DataTable as V } from "./DataTable.js";
|
|
6
6
|
import { DonutChart as H } from "./DonutChart.js";
|
|
7
7
|
import { HeatMap as A } from "./HeatMap.js";
|
|
@@ -33,7 +33,7 @@ import { RadarChart as re } from "./RadarChart.js";
|
|
|
33
33
|
import { BulletChart as le } from "./BulletChart.js";
|
|
34
34
|
import { HybridMap as se } from "./HybridMap.js";
|
|
35
35
|
import { WaterfallChart as ne } from "./WaterfallChart.js";
|
|
36
|
-
import { g as r } from "./checkIfMultiple-
|
|
36
|
+
import { g as r } from "./checkIfMultiple-B97uOUVq.js";
|
|
37
37
|
function Ge(y) {
|
|
38
38
|
const a = O.c(24), {
|
|
39
39
|
settings: e,
|
|
@@ -1858,4 +1858,4 @@ function Ge(y) {
|
|
|
1858
1858
|
export {
|
|
1859
1859
|
Ge as G
|
|
1860
1860
|
};
|
|
1861
|
-
//# sourceMappingURL=GraphEl-
|
|
1861
|
+
//# sourceMappingURL=GraphEl-CT3xPv2P.js.map
|