@undp/data-viz 2.1.0 → 2.1.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.
Files changed (82) hide show
  1. package/dist/AreaChart.js +3 -3
  2. package/dist/BarGraph.cjs +1 -1
  3. package/dist/BarGraph.cjs.map +1 -1
  4. package/dist/BarGraph.js +1751 -1604
  5. package/dist/BarGraph.js.map +1 -1
  6. package/dist/BeeSwarmChart.js +2 -2
  7. package/dist/BiVariateChoroplethMap.cjs +1 -1
  8. package/dist/BiVariateChoroplethMap.cjs.map +1 -1
  9. package/dist/BiVariateChoroplethMap.js +226 -214
  10. package/dist/BiVariateChoroplethMap.js.map +1 -1
  11. package/dist/BulletChart.cjs +1 -1
  12. package/dist/BulletChart.cjs.map +1 -1
  13. package/dist/BulletChart.js +544 -505
  14. package/dist/BulletChart.js.map +1 -1
  15. package/dist/ButterflyChart.cjs +1 -1
  16. package/dist/ButterflyChart.cjs.map +1 -1
  17. package/dist/ButterflyChart.js +365 -350
  18. package/dist/ButterflyChart.js.map +1 -1
  19. package/dist/ChoroplethMap.cjs +1 -1
  20. package/dist/ChoroplethMap.cjs.map +1 -1
  21. package/dist/ChoroplethMap.js +305 -294
  22. package/dist/ChoroplethMap.js.map +1 -1
  23. package/dist/CirclePackingGraph.js +1 -1
  24. package/dist/DifferenceLineChart.js +3 -3
  25. package/dist/DotDensityMap.cjs +1 -1
  26. package/dist/DotDensityMap.cjs.map +1 -1
  27. package/dist/DotDensityMap.js +212 -199
  28. package/dist/DotDensityMap.js.map +1 -1
  29. package/dist/DualAxisLineChart.js +3 -3
  30. package/dist/DumbbellChart.cjs +1 -1
  31. package/dist/DumbbellChart.cjs.map +1 -1
  32. package/dist/DumbbellChart.js +603 -556
  33. package/dist/DumbbellChart.js.map +1 -1
  34. package/dist/{GraphEl-ebgfxefq.js → GraphEl-DEzobeOM.js} +2 -2
  35. package/dist/{GraphEl-ebgfxefq.js.map → GraphEl-DEzobeOM.js.map} +1 -1
  36. package/dist/GriddedGraphs.js +1 -1
  37. package/dist/HeatMap.js +4 -4
  38. package/dist/Histogram.js +3 -3
  39. package/dist/HybridMap.cjs +1 -1
  40. package/dist/HybridMap.cjs.map +1 -1
  41. package/dist/HybridMap.js +344 -332
  42. package/dist/HybridMap.js.map +1 -1
  43. package/dist/LineChartWithConfidenceInterval.js +3 -3
  44. package/dist/MultiLineAltChart.cjs +1 -1
  45. package/dist/MultiLineAltChart.cjs.map +1 -1
  46. package/dist/MultiLineAltChart.js +453 -425
  47. package/dist/MultiLineAltChart.js.map +1 -1
  48. package/dist/MultiLineChart.js +3 -3
  49. package/dist/ParetoChart.js +2 -2
  50. package/dist/RadarChart.js +1 -1
  51. package/dist/ScatterPlot.cjs +1 -1
  52. package/dist/ScatterPlot.cjs.map +1 -1
  53. package/dist/ScatterPlot.js +467 -451
  54. package/dist/ScatterPlot.js.map +1 -1
  55. package/dist/SimpleLineChart.js +3 -3
  56. package/dist/SingleGraphDashboard.js +1 -1
  57. package/dist/SlopeChart.js +1 -1
  58. package/dist/SparkLine.js +3 -3
  59. package/dist/StripChart.js +1 -1
  60. package/dist/ThreeDGlobe.js +2 -2
  61. package/dist/{band-CyHaVft5.js → band-DHUZ2X7J.js} +3 -3
  62. package/dist/{band-CyHaVft5.js.map → band-DHUZ2X7J.js.map} +1 -1
  63. package/dist/{index-BBV4tAeA.js → index-DPGq3eIL.js} +2 -2
  64. package/dist/{index-BBV4tAeA.js.map → index-DPGq3eIL.js.map} +1 -1
  65. package/dist/index.js +1 -1
  66. package/dist/{init-BJFW6EwE.js → init-BhZylTFx.js} +3 -3
  67. package/dist/{init-BJFW6EwE.js.map → init-BhZylTFx.js.map} +1 -1
  68. package/dist/{linear-BwnDd9KF.js → linear-BqltdMeF.js} +2 -2
  69. package/dist/{linear-BwnDd9KF.js.map → linear-BqltdMeF.js.map} +1 -1
  70. package/dist/{ordinal-P77xw8aL.js → ordinal-BJ6O_LC5.js} +2 -2
  71. package/dist/{ordinal-P77xw8aL.js.map → ordinal-BJ6O_LC5.js.map} +1 -1
  72. package/dist/{pow-DE4c7dbW.js → pow-CM2aze4M.js} +3 -3
  73. package/dist/{pow-DE4c7dbW.js.map → pow-CM2aze4M.js.map} +1 -1
  74. package/dist/{threshold-Bgr20hik.js → threshold-DFfqcDMa.js} +2 -2
  75. package/dist/{threshold-Bgr20hik.js.map → threshold-DFfqcDMa.js.map} +1 -1
  76. package/dist/{time-DCCfQk3V.js → time-BUL-dwnK.js} +3 -3
  77. package/dist/{time-DCCfQk3V.js.map → time-BUL-dwnK.js.map} +1 -1
  78. package/package.json +4 -4
  79. package/dist/sort-BIvMlUH1.js +0 -34
  80. package/dist/sort-BIvMlUH1.js.map +0 -1
  81. package/dist/sort-O96oMZLb.cjs +0 -2
  82. package/dist/sort-O96oMZLb.cjs.map +0 -1
@@ -6,7 +6,7 @@ import { b as $, y as A, h as F, c as ca, $ as K, P as Q } from "./checkIfMultip
6
6
  import { w as da } from "./Spinner-D7rnnwnA.js";
7
7
  import { j as V, D as O } from "./DropdownSelect-BbdPQa2k.js";
8
8
  import { G as ha } from "./GraphContainer-CRqzdKu2.js";
9
- import { G as fa } from "./GraphEl-ebgfxefq.js";
9
+ import { G as fa } from "./GraphEl-DEzobeOM.js";
10
10
  import { f as pa, a as ga, b as ma, c as Ca, t as va } from "./fetchAndParseData-BpqkBPQL.js";
11
11
  import { Colors as wa } from "./Colors.js";
12
12
  import { a as ba, t as xa } from "./transformDataForAggregation-DEU__LUl.js";
package/dist/HeatMap.js CHANGED
@@ -9,10 +9,10 @@ import { X as Jt } from "./XAxesLabels-Dy8E1SEo.js";
9
9
  import { Y as Kt } from "./YAxesLabels-a57ZRv-0.js";
10
10
  import { u as Wt } from "./uniqBy-BHy4I8PK.js";
11
11
  import { D as Qt } from "./DetailsModal-0Ry5nXiC.js";
12
- import { b as Bt } from "./band-CyHaVft5.js";
13
- import { o as Zt } from "./ordinal-P77xw8aL.js";
14
- import { t as _t } from "./threshold-Bgr20hik.js";
15
- import { a as to } from "./linear-BwnDd9KF.js";
12
+ import { b as Bt } from "./band-DHUZ2X7J.js";
13
+ import { o as Zt } from "./ordinal-BJ6O_LC5.js";
14
+ import { t as _t } from "./threshold-DFfqcDMa.js";
15
+ import { a as to } from "./linear-BqltdMeF.js";
16
16
  import { u as oo } from "./use-in-view-Cxa7y1TH.js";
17
17
  import { m as Vt } from "./proxy-BxkFHwUw.js";
18
18
  import { GraphHeader as eo } from "./GraphHeader.js";
package/dist/Histogram.js CHANGED
@@ -1,12 +1,12 @@
1
1
  import { c as ne, j as R } from "./index-CHPV5EwG-Curnpaqc.js";
2
2
  import { w as ae } from "./Spinner-D7rnnwnA.js";
3
- import { e as te, C as le } from "./index-BBV4tAeA.js";
3
+ import { e as te, C as le } from "./index-DPGq3eIL.js";
4
4
  import { TreeMapGraph as se } from "./TreeMapGraph.js";
5
5
  import { DonutChart as ce } from "./DonutChart.js";
6
6
  import { SimpleBarGraph as fe } from "./BarGraph.js";
7
7
  import { Colors as q } from "./Colors.js";
8
- import { b as he } from "./init-BJFW6EwE.js";
9
- import { b as oe, d as ue } from "./linear-BwnDd9KF.js";
8
+ import { b as he } from "./init-BhZylTFx.js";
9
+ import { b as oe, d as ue } from "./linear-BqltdMeF.js";
10
10
  function me(i, e) {
11
11
  let b = 0;
12
12
  for (let l of i)
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("./index-CHPV5EwG-CTPQjnHt.cjs"),u=require("react"),bt=require("./parse-hMnG_lRV.cjs"),Et=require("./getSliderMarks-BmADcPQt.cjs"),Ot=require("./Spinner-DRMBUsX7.cjs"),wt=require("./index-DQA8q5sC.cjs"),xe=require("./zoom-DPw8bba-.cjs"),ft=require("./Typography-DX7PlgQU.cjs"),It=require("./index-DxXnJ8Ti.cjs"),kt=require("./Source-DYMJRrsq.cjs"),Pt=require("./index-Dzc_aaI9-BmkfPMyc.cjs"),zt=require("./Tooltip-uUdw6wJL.cjs"),vt=require("./index-DRXx7m-C.cjs"),Lt=require("./DetailsModal-BN0HDFlV.cjs"),Vt=require("./pow-DgrUorRi.cjs"),_t=require("./ordinal-CrsysVE-.cjs"),Bt=require("./threshold-DNsSUf8Q.cjs"),yt=require("./select-Bnfk0lJx.cjs"),it=require("./checkIfNullOrUndefined-BCW3Y1ML.cjs"),Tt=require("./numberFormattingFunction-02t-wJta.cjs"),Wt=require("./use-in-view-QcfiW0w3.cjs"),he=require("./proxy-BxvUI_9l.cjs"),Ft=require("./index-DG2bgAva.cjs"),At=require("./GraphFooter.cjs"),Ut=require("./GraphHeader.cjs"),De=require("./Colors.cjs"),Gt=require("./fetchAndParseData-l5HGMAEs.cjs"),Ht=require("./uniqBy-O05lp2S5.cjs"),Rt=require("./GraphContainer-d8A46BK2.cjs"),Xt=require("./sort-O96oMZLb.cjs"),Yt=require("./getUniqValue-NX8DgwND.cjs"),Jt=require("./getJenks-GYmdwBqm.cjs"),Kt=require("./init-DU0ybBc_.cjs");function Zt(i){const e=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(i){for(const t in i)if(t!=="default"){const c=Object.getOwnPropertyDescriptor(i,t);Object.defineProperty(e,t,c.get?c:{enumerable:!0,get:()=>i[t]})}}return e.default=i,Object.freeze(e)}const Qt=Zt(u);var eo="Separator",Ct="horizontal",to=["horizontal","vertical"],St=Qt.forwardRef((i,e)=>{const{decorative:t,orientation:c=Ct,...j}=i,a=oo(c)?c:Ct,b=t?{role:"none"}:{"aria-orientation":a==="vertical"?a:void 0,role:"separator"};return r.ae.jsx(Pt.w.div,{"data-orientation":a,...b,...j,ref:e})});St.displayName=eo;function oo(i){return to.includes(i)}var Nt=St;const Dt=u.forwardRef((i,e)=>{const t=r._.c(14);let c,j,a,b;t[0]!==i?({className:c,variant:a,orientation:b,...j}=i,t[0]=i,t[1]=c,t[2]=j,t[3]=a,t[4]=b):(c=t[1],j=t[2],a=t[3],b=t[4]);const E=a===void 0?"dark":a,d=b===void 0?"horizontal":b,x=d==="horizontal"?"h-[1px] w-full":"h-full w-[1px]",D=E==="dark"?"bg-primary-gray-600 dark:bg-primary-gray-200":"bg-primary-gray-400 dark:bg-primary-gray-550";let C;t[5]!==c||t[6]!==x||t[7]!==D?(C=r.mo(x,D,c),t[5]=c,t[6]=x,t[7]=D,t[8]=C):C=t[8];let O;return t[9]!==d||t[10]!==j||t[11]!==e||t[12]!==C?(O=r.ae.jsx(Nt,{...j,ref:e,orientation:d,className:C}),t[9]=d,t[10]=j,t[11]=e,t[12]=C,t[13]=O):O=t[13],O});Dt.displayName=Nt.displayName;function ro(i){const{data:e,colors:t,mapData:c,mapColorLegendTitle:j,colorDomain:a,radius:b,height:E,width:d,scale:x,centerPoint:D,tooltip:C,showLabels:O,mapBorderWidth:Q,mapBorderColor:ee,mapNoDataColor:ge,onSeriesMouseOver:X,showColorScale:qe,zoomScaleExtend:Fe,zoomTranslateExtend:Ae,highlightedDataPoints:$e,onSeriesMouseClick:B,resetSelectionOnDoubleClick:Me,detailsOnClick:Y,styles:$,classNames:te,mapProjection:oe,zoomInteraction:J,animate:g,dimmedOpacity:T,customLayers:fe,maxRadiusValue:ye,categorical:re,dotColor:K,collapseColorScaleByDefault:Oe,highlightedIds:ie,mapProperty:ve,dotLegendTitle:je,dotBorderColor:Ie,labelColor:Pe}=i,[I,P]=u.useState(void 0),[y,f]=u.useState(Oe===void 0?!(d<680):!Oe),ne=u.useRef(null),[ae,Z]=u.useState(void 0),[ze,M]=u.useState(void 0),[se,W]=u.useState(void 0),[be,F]=u.useState(void 0),z=u.useRef(null),A=Wt.useInView(z,{once:g.once,amount:g.amount}),Ee=u.useRef(null),L=e.filter(o=>o.radius===void 0||o.radius===null).length!==e.length?Vt.sqrt().domain([0,ye]).range([.25,b]).nice():void 0,Ue=re?_t.ordinal().domain(a).range(t):Bt.threshold().domain(a).range(t);u.useEffect(()=>{const o=yt.select(Ee.current),n=yt.select(z.current),q=m=>{if(J==="noZoom")return!1;if(J==="button")return!m.type.includes("wheel");const l=m.type==="wheel",w=m.type.startsWith("touch"),p=m.type==="mousedown"||m.type==="mousemove";return w?!0:l?J==="scroll"?!0:m.ctrlKey:p&&!m.button&&!m.ctrlKey},s=xe.zoom().scaleExtent(Fe).translateExtent(Ae||[[-20,-20],[d+20,E+20]]).filter(q).on("zoom",({transform:m})=>{o.attr("transform",m)});n.call(s),ne.current=s},[E,d,J]);const S=xe.turf_bbox_default(c),V=It.turf_center_of_mass_default(c),U=S[2]-S[0],Le=S[3]-S[1],Ve=d*190/960*360/U,_e=E*190/678*180/Le,G=x*Math.min(Ve,_e),_=oe==="mercator"?xe.geoMercator().rotate([0,0]).center(D||V.geometry.coordinates).translate([d/2,E/2]).scale(G):oe==="equalEarth"?xe.geoEqualEarth().rotate([0,0]).center(D||V.geometry.coordinates).translate([d/2,E/2]).scale(G):oe==="naturalEarth"?xe.geoNaturalEarth1().rotate([0,0]).center(D||V.geometry.coordinates).translate([d/2,E/2]).scale(G):oe==="orthographic"?xe.geoOrthographic().rotate([0,0]).center(D||V.geometry.coordinates).translate([d/2,E/2]).scale(G):xe.geoAlbersUsa().rotate([0,0]).center(D||V.geometry.coordinates).translate([d/2,E/2]).scale(G),we=o=>{if(!z.current||!ne.current)return;yt.select(z.current).call(ne.current.scaleBy,o==="in"?1.2:1/1.2)};return r.jsxRuntimeExports.jsxs(r.jsxRuntimeExports.Fragment,{children:[r.jsxRuntimeExports.jsxs("div",{className:"relative",children:[r.jsxRuntimeExports.jsx(he.motion.svg,{width:`${d}px`,height:`${E}px`,viewBox:`0 0 ${d} ${E}`,ref:z,direction:"ltr",children:r.jsxRuntimeExports.jsxs("g",{ref:Ee,children:[fe.filter(o=>o.position==="before").map(o=>o.layer),c.features.map((o,n)=>e.findIndex(s=>s.id===o.properties[ve])!==-1?null:r.jsxRuntimeExports.jsx("g",{opacity:I?T:ie.length!==0?ie.indexOf(o.properties[ve])!==-1?1:T:1,children:o.geometry.type==="MultiPolygon"?o.geometry.coordinates.map((s,m)=>{let l="";return s.forEach(w=>{let p=" M";w.forEach((h,le)=>{const N=_([h[0],h[1]]);le!==w.length-1?p=`${p}${N[0]} ${N[1]}L`:p=`${p}${N[0]} ${N[1]}`}),l+=p}),r.jsxRuntimeExports.jsx("path",{d:l,style:{stroke:ee,strokeWidth:Q,fill:ge}},m)}):o.geometry.coordinates.map((s,m)=>{let l="M";return s.forEach((w,p)=>{const h=_([w[0],w[1]]);p!==s.length-1?l=`${l}${h[0]} ${h[1]}L`:l=`${l}${h[0]} ${h[1]}`}),r.jsxRuntimeExports.jsx("path",{d:l,style:{stroke:ee,strokeWidth:Q,fill:ge}},m)})},n)),r.jsxRuntimeExports.jsxs(Ft.AnimatePresence,{children:[e.filter(o=>o.id).map(o=>{const n=c.features.findIndex(s=>o.id===s.properties[ve]),q=it.checkIfNullOrUndefined(o.x)?ge:Ue(o.x);return r.jsxRuntimeExports.jsx(he.motion.g,{variants:{initial:{opacity:0},whileInView:{opacity:I?I===q?1:T:ie.length!==0?ie.indexOf(o.id)!==-1?1:T:1,transition:{duration:g.duration}}},initial:"initial",animate:A?"whileInView":"initial",exit:{opacity:0,transition:{duration:g.duration}},onMouseEnter:s=>{M(o),F(s.clientY),W(s.clientX),X?.(o)},onMouseMove:s=>{M(o),F(s.clientY),W(s.clientX)},onMouseLeave:()=>{M(void 0),W(void 0),F(void 0),X?.(void 0)},onClick:()=>{(B||Y)&&(wt.isEqual(ae,o)&&Me?(Z(void 0),B?.(void 0)):(Z(o),B?.(o)))},children:n===-1?null:c.features[n].geometry.type==="MultiPolygon"?c.features[n].geometry.coordinates.map((s,m)=>{let l="";return s.forEach(w=>{let p=" M";w.forEach((h,le)=>{const N=_([h[0],h[1]]);le!==w.length-1?p=`${p}${N[0]} ${N[1]}L`:p=`${p}${N[0]} ${N[1]}`}),l+=p}),r.jsxRuntimeExports.jsx(he.motion.path,{d:l,variants:{initial:{fill:q,opacity:0},whileInView:{fill:q,opacity:1,transition:{duration:g.duration}}},initial:"initial",animate:A?"whileInView":"initial",exit:{opacity:0,transition:{duration:g.duration}},style:{stroke:ee,strokeWidth:Q}},`${o.id}-${m}`)}):c.features[n].geometry.coordinates.map((s,m)=>{let l="M";return s.forEach((w,p)=>{const h=_([w[0],w[1]]);p!==s.length-1?l=`${l}${h[0]} ${h[1]}L`:l=`${l}${h[0]} ${h[1]}`}),r.jsxRuntimeExports.jsx(he.motion.path,{d:l,variants:{initial:{fill:q,opacity:0},whileInView:{fill:q,opacity:1,transition:{duration:g.duration}}},initial:"initial",animate:A?"whileInView":"initial",exit:{opacity:0,transition:{duration:g.duration}},style:{stroke:ee,strokeWidth:Q}},`${o.id}-${m}`)})},o.id)}),e.filter(o=>!it.checkIfNullOrUndefined(o.lat)&&!it.checkIfNullOrUndefined(o.long)).map(o=>r.jsxRuntimeExports.jsxs(he.motion.g,{variants:{initial:{opacity:0},whileInView:{opacity:$e.length!==0?$e.indexOf(o.label||"")!==-1?1:T:1,transition:{duration:g.duration}}},initial:"initial",animate:A?"whileInView":"initial",exit:{opacity:0,transition:{duration:g.duration}},onMouseEnter:n=>{M(o),F(n.clientY),W(n.clientX),X?.(o)},onMouseMove:n=>{M(o),F(n.clientY),W(n.clientX)},onMouseLeave:()=>{M(void 0),W(void 0),F(void 0),X?.(void 0)},onClick:()=>{(B||Y)&&(wt.isEqual(ae,o)&&Me?(Z(void 0),B?.(void 0)):(Z(o),B?.(o)))},transform:`translate(${_([o.long,o.lat])[0]},${_([o.long,o.lat])[1]})`,children:[r.jsxRuntimeExports.jsx(he.motion.circle,{cx:0,cy:0,variants:{initial:{r:0,fill:K,stroke:Ie||K},whileInView:{r:L?L(o.radius||0):b,fill:K,stroke:Ie||K,transition:{duration:g.duration}}},initial:"initial",animate:A?"whileInView":"initial",exit:{r:0,transition:{duration:g.duration}},style:{fillOpacity:.8}}),O&&o.label?r.jsxRuntimeExports.jsx(he.motion.text,{variants:{initial:{opacity:0,x:L?L(o.radius||0):b},whileInView:{opacity:1,x:L?L(o.radius||0):b,transition:{duration:g.duration}}},initial:"initial",animate:A?"whileInView":"initial",exit:{opacity:0,transition:{duration:g.duration}},y:0,className:"text-sm",style:{textAnchor:"start",fill:Pe||"#000"},dx:4,dy:5,children:o.label}):null]},o.label||`${o.lat}-${o.long}`))]}),fe.filter(o=>o.position==="after").map(o=>o.layer)]})}),qe===!1?null:r.jsxRuntimeExports.jsx("div",{className:r.mo("absolute left-4 bottom-4 map-color-legend",te?.colorLegend),children:y?r.jsxRuntimeExports.jsxs(r.jsxRuntimeExports.Fragment,{children:[r.jsxRuntimeExports.jsx("div",{className:"color-legend-close-button bg-[rgba(240,240,240,0.7)] dark:bg-[rgba(30,30,30,0.7)] border border-[var(--gray-400)] rounded-full w-6 h-6 p-[3px] cursor-pointer z-10 absolute right-[-0.75rem] top-[-0.75rem]",onClick:()=>{f(!1)},children:r.jsxRuntimeExports.jsx(vt.X,{})}),r.jsxRuntimeExports.jsxs("div",{className:"color-legend-box p-2 bg-[rgba(240,240,240,0.7)] dark:bg-[rgba(30,30,30,0.7)]",style:{width:re?void 0:"340px"},children:[je&&je!==""?r.jsxRuntimeExports.jsxs(r.jsxRuntimeExports.Fragment,{children:[r.jsxRuntimeExports.jsxs("div",{className:"flex items-center gap-2",children:[r.jsxRuntimeExports.jsx("div",{className:"w-3 h-3 rounded-full",style:{backgroundColor:K}}),r.jsxRuntimeExports.jsx(ft.j,{size:"xs",marginBottom:"none",className:"p-0 leading-normal overflow-hidden text-primary-gray-700 dark:text-primary-gray-300",style:{display:"-webkit-box",WebkitLineClamp:"1",WebkitBoxOrient:"vertical"},children:je})]}),r.jsxRuntimeExports.jsx(kt.n,{size:"xl"}),r.jsxRuntimeExports.jsx(Dt,{}),r.jsxRuntimeExports.jsx(kt.n,{size:"xl"})]}):null,j&&j!==""?r.jsxRuntimeExports.jsx(ft.j,{size:"xs",marginBottom:"xs",className:"p-0 leading-normal overflow-hidden text-primary-gray-700 dark:text-primary-gray-300",style:{display:"-webkit-box",WebkitLineClamp:"1",WebkitBoxOrient:"vertical"},children:j}):null,re?r.jsxRuntimeExports.jsx("div",{className:"flex flex-col gap-3",children:a.map((o,n)=>r.jsxRuntimeExports.jsxs("div",{className:"flex gap-2 items-center",onMouseOver:()=>{P(t[n%t.length])},onMouseLeave:()=>{P(void 0)},children:[r.jsxRuntimeExports.jsx("div",{className:"w-2 h-2 rounded-full",style:{backgroundColor:t[n%t.length]}}),r.jsxRuntimeExports.jsx(ft.j,{size:"sm",marginBottom:"none",leading:"none",children:o})]},n))}):r.jsxRuntimeExports.jsx("svg",{width:"100%",viewBox:"0 0 320 30",direction:"ltr",children:r.jsxRuntimeExports.jsxs("g",{children:[a.map((o,n)=>r.jsxRuntimeExports.jsxs("g",{onMouseOver:()=>{P(t[n])},onMouseLeave:()=>{P(void 0)},className:"cursor-pointer",children:[r.jsxRuntimeExports.jsx("rect",{x:n*320/t.length+1,y:1,width:320/t.length-2,height:8,className:I===t[n]?"stroke-primary-gray-700 dark:stroke-primary-gray-300":"",style:{fill:t[n],...I===t[n]?{}:{stroke:t[n]}}}),r.jsxRuntimeExports.jsx("text",{x:(n+1)*320/t.length,y:25,className:"fill-primary-gray-700 dark:fill-primary-gray-300 text-xs",style:{textAnchor:"middle"},children:Tt.numberFormattingFunction(o,"NA")})]},n)),r.jsxRuntimeExports.jsx("g",{children:r.jsxRuntimeExports.jsx("rect",{onMouseOver:()=>{P(t[a.length])},onMouseLeave:()=>{P(void 0)},x:a.length*320/t.length+1,y:1,width:320/t.length-2,height:8,className:`cursor-pointer ${I===t[a.length]?"stroke-1 stroke-primary-gray-700 dark:stroke-primary-gray-300":""}`,style:{fill:t[a.length],...I===t[a.length]?{}:{stroke:t[a.length]}}})})]})})]})]}):r.jsxRuntimeExports.jsx("button",{type:"button",className:"mb-0 border-0 bg-transparent p-0 self-start map-legend-button",onClick:()=>{f(!0)},children:r.jsxRuntimeExports.jsx("div",{className:"show-color-legend-button items-start text-sm font-medium cursor-pointer p-2 mb-0 flex text-primary-black dark:text-primary-gray-300 bg-primary-gray-300 dark:bg-primary-gray-600 border-primary-gray-400 dark:border-primary-gray-500",children:"Show Legend"})})}),J==="button"&&r.jsxRuntimeExports.jsxs("div",{className:"absolute left-4 top-4 flex flex-col zoom-buttons",children:[r.jsxRuntimeExports.jsx("button",{onClick:()=>we("in"),className:"leading-0 px-2 py-3.5 text-primary-gray-700 border border-primary-gray-400 bg-primary-gray-200 dark:border-primary-gray-550 dark:bg-primary-gray-600 dark:text-primary-gray-100",children:"+"}),r.jsxRuntimeExports.jsx("button",{onClick:()=>we("out"),className:"leading-0 px-2 py-3.5 text-primary-gray-700 border border-t-0 border-primary-gray-400 bg-primary-gray-200 dark:border-primary-gray-550 dark:bg-primary-gray-600 dark:text-primary-gray-100",children:"–"})]})]}),Y&&ae!==void 0?r.jsxRuntimeExports.jsx(Lt.DetailsModal,{body:Y,data:ae,setData:Z,className:te?.modal}):null,ze&&C&&se&&be?r.jsxRuntimeExports.jsx(zt.Tooltip,{data:ze,body:C,xPos:se,yPos:be,backgroundStyle:$?.tooltip,className:te?.tooltip}):null]})}function io(i){const e=r.compilerRuntimeExports.c(116),{data:t,mapData:c,graphTitle:j,colors:a,sources:b,graphDescription:E,height:d,width:x,footNote:D,mapColorLegendTitle:C,colorDomain:O,choroplethScaleType:Q,radius:ee,scale:ge,centerPoint:X,padding:qe,mapBorderWidth:Fe,mapNoDataColor:Ae,backgroundColor:$e,showLabels:B,mapBorderColor:Me,tooltip:Y,relativeHeight:$,onSeriesMouseOver:te,isWorldMap:oe,showColorScale:J,zoomScaleExtend:g,zoomTranslateExtend:T,graphID:fe,highlightedDataPoints:ye,onSeriesMouseClick:re,graphDownload:K,dataDownload:Oe,showAntarctica:ie,language:ve,minHeight:je,theme:Ie,ariaLabel:Pe,resetSelectionOnDoubleClick:I,detailsOnClick:P,styles:y,classNames:f,mapProjection:ne,zoomInteraction:ae,animate:Z,dimmedOpacity:ze,customLayers:M,maxRadiusValue:se,timeline:W,collapseColorScaleByDefault:be,dotColor:F,highlightedIds:z,mapProperty:A,dotLegendTitle:Ee,dotBorderColor:L,labelColor:Ue}=i,S=c===void 0?"https://raw.githubusercontent.com/UNDP-Data/dv-country-geojson/refs/heads/main/worldMap.json":c,V=D===void 0?"The designations employed and the presentation of material on this map do not imply the expression of any opinion whatsoever on the part of the Secretariat of the United Nations or UNDP concerning the legal status of any country, territory, city or area or its authorities, or concerning the delimitation of its frontiers or boundaries.":D,U=Q===void 0?"threshold":Q,Le=ee===void 0?5:ee,Ve=ge===void 0?.95:ge,_e=Fe===void 0?.5:Fe,G=Ae===void 0?De.Colors.light.graphNoData:Ae,_=$e===void 0?!1:$e,we=B===void 0?!1:B,o=Me===void 0?De.Colors.light.grays["gray-500"]:Me,n=oe===void 0?!0:oe,q=J===void 0?!0:J;let s;e[0]!==g?(s=g===void 0?[.8,6]:g,e[0]=g,e[1]=s):s=e[1];const m=s;let l;e[2]!==ye?(l=ye===void 0?[]:ye,e[2]=ye,e[3]=l):l=e[3];const w=l,p=K===void 0?!1:K,h=Oe===void 0?!1:Oe,le=ie===void 0?!1:ie,N=ve===void 0?"en":ve,H=je===void 0?0:je,ce=Ie===void 0?"light":Ie,nt=I===void 0?!0:I,at=ae===void 0?"button":ae,Ge=Z===void 0?!1:Z,st=ze===void 0?.3:ze;let He;e[4]!==M?(He=M===void 0?[]:M,e[4]=M,e[5]=He):He=e[5];const lt=He,R=W===void 0?{enabled:!1,autoplay:!1,showOnlyActiveDate:!0}:W,ct=F===void 0?De.Colors.primaryColors["blue-600"]:F;let Xe;e[6]!==z?(Xe=z===void 0?[]:z,e[6]=z,e[7]=Xe):Xe=e[7];const dt=Xe,ut=A===void 0?"ISO3":A,mt=Ue===void 0?De.Colors.primaryColors["blue-600"]:Ue,[de,qt]=u.useState(0),[Be,$t]=u.useState(0),[ue,pt]=u.useState(R.autoplay),v=Xt.sort(Ht.uniqBy(t,"date",!0).map(k=>bt.parse(`${k}`,R.dateFormat||"yyyy",new Date).getTime()),ho),[me,Te]=u.useState(R.autoplay?0:v.length-1),[ke,Mt]=u.useState(void 0),xt=u.useRef(null),jt=u.useRef(null);let Ye;e[8]!==U||e[9]!==O||e[10]!==a?.length||e[11]!==t?(Ye=O||(U==="categorical"?Yt.getUniqValue(t,"x"):Jt.getJenks(t.map(xo),a?.length||4)),e[8]=U,e[9]=O,e[10]=a?.length,e[11]=t,e[12]=Ye):Ye=e[12];const We=Ye;let Je,Ke;e[13]===Symbol.for("react.memo_cache_sentinel")?(Je=()=>{const k=new ResizeObserver(pe=>{qt(pe[0].target.clientWidth||620),$t(pe[0].target.clientHeight||480)});return xt.current&&k.observe(xt.current),()=>k.disconnect()},Ke=[],e[13]=Je,e[14]=Ke):(Je=e[13],Ke=e[14]),u.useEffect(Je,Ke);let Ze;e[15]===Symbol.for("react.memo_cache_sentinel")?(Ze=k=>{Mt(k)},e[15]=Ze):Ze=e[15];const Qe=u.useEffectEvent(Ze);let et;e[16]!==S||e[17]!==Qe?(et=()=>{typeof S=="string"?Gt.fetchAndParseJSON(S).then(pe=>{Qe(pe)}):Qe(S)},e[16]=S,e[17]=Qe,e[18]=et):et=e[18];let tt;e[19]!==S?(tt=[S],e[19]=S,e[20]=tt):tt=e[20],u.useEffect(et,tt),u.useEffect(()=>{const k=setInterval(()=>{Te(pe=>pe<v.length-1?pe+1:0)},(R.speed||2)*1e3);return ue||clearInterval(k),()=>clearInterval(k)},[v,ue,R.speed]);const ot=Et.getSliderMarks(v,me,R.showOnlyActiveDate,R.dateFormat||"yyyy"),ht=f?.graphContainer,gt=y?.graphContainer;let Re;e[21]!==f?.description||e[22]!==f?.title||e[23]!==t||e[24]!==h||e[25]!==E||e[26]!==p||e[27]!==j||e[28]!==y?.description||e[29]!==y?.title||e[30]!==x?(Re=j||E||p||h?r.jsxRuntimeExports.jsx(Ut.GraphHeader,{styles:{title:y?.title,description:y?.description},classNames:{title:f?.title,description:f?.description},graphTitle:j,graphDescription:E,width:x,graphDownload:p?jt:void 0,dataDownload:h?t.map(po).filter(mo).length>0?t.map(uo).filter(co):t.filter(lo):null}):null,e[21]=f?.description,e[22]=f?.title,e[23]=t,e[24]=h,e[25]=E,e[26]=p,e[27]=j,e[28]=y?.description,e[29]=y?.title,e[30]=x,e[31]=Re):Re=e[31];let Ce;e[32]!==me||e[33]!==ot||e[34]!==ue||e[35]!==Te||e[36]!==pt||e[37]!==R.enabled||e[38]!==v?(Ce=R.enabled&&v.length>0&&ot?r.jsxRuntimeExports.jsxs("div",{className:"flex gap-6 items-center",dir:"ltr",children:[r.jsxRuntimeExports.jsx("button",{type:"button",onClick:()=>{pt(!ue)},className:"p-0 border-0 cursor-pointer bg-transparent","aria-label":ue?"Click to pause animation":"Click to play animation",children:ue?r.jsxRuntimeExports.jsx(vt.Pause,{}):r.jsxRuntimeExports.jsx(vt.Play,{})}),r.jsxRuntimeExports.jsx(Et.Nr,{min:v[0],max:v[v.length-1],marks:ot,step:null,defaultValue:v[v.length-1],value:v[me],onChangeComplete:k=>{Te(v.indexOf(k))},onChange:k=>{Te(v.indexOf(k))},"aria-label":"Time slider. Use arrow keys to adjust selected time period."})]}):null,e[32]=me,e[33]=ot,e[34]=ue,e[35]=Te,e[36]=pt,e[37]=R.enabled,e[38]=v,e[39]=Ce):Ce=e[39];let Se;e[40]!==Ge||e[41]!==X||e[42]!==U||e[43]!==f||e[44]!==be||e[45]!==a||e[46]!==lt||e[47]!==t||e[48]!==P||e[49]!==st||e[50]!==We||e[51]!==L||e[52]!==ct||e[53]!==Ee||e[54]!==d||e[55]!==w||e[56]!==dt||e[57]!==me||e[58]!==n||e[59]!==mt||e[60]!==o||e[61]!==_e||e[62]!==C||e[63]!==G||e[64]!==ne||e[65]!==ut||e[66]!==ke||e[67]!==se||e[68]!==H||e[69]!==re||e[70]!==te||e[71]!==Le||e[72]!==$||e[73]!==nt||e[74]!==Ve||e[75]!==le||e[76]!==q||e[77]!==we||e[78]!==y||e[79]!==Be||e[80]!==de||e[81]!==ce||e[82]!==R.dateFormat||e[83]!==R.enabled||e[84]!==Y||e[85]!==v||e[86]!==x||e[87]!==at||e[88]!==m||e[89]!==T?(Se=r.jsxRuntimeExports.jsx(Rt.GraphArea,{ref:xt,children:de&&Be&&ke?r.jsxRuntimeExports.jsx(ro,{dotColor:ct,data:t.filter(k=>R.enabled?k.date===bt.format(new Date(v[me]),R.dateFormat||"yyyy"):k),mapData:le?ke:{...ke,features:ke.features.filter(so)},colorDomain:We,width:de,height:Be,scale:Ve,centerPoint:X,colors:a||(U==="categorical"?De.Colors[ce].sequentialColors[`neutralColorsx0${We.length}`]:De.Colors[ce].sequentialColors[`neutralColorsx0${We.length+1}`]),mapColorLegendTitle:C,radius:Le,categorical:U==="categorical",mapBorderWidth:_e,mapNoDataColor:G,mapBorderColor:o,tooltip:Y,onSeriesMouseOver:te,showLabels:we,isWorldMap:n,showColorScale:q,zoomScaleExtend:m,zoomTranslateExtend:T,onSeriesMouseClick:re,highlightedDataPoints:w,resetSelectionOnDoubleClick:nt,styles:y,classNames:f,zoomInteraction:at,detailsOnClick:P,mapProjection:ne||(n?"naturalEarth":"mercator"),animate:Ge===!0?{duration:.5,once:!0,amount:.5}:Ge||{duration:0,once:!0,amount:0},dimmedOpacity:st,customLayers:lt,maxRadiusValue:it.checkIfNullOrUndefined(se)?Math.max(...t.map(ao).filter(no)):se,collapseColorScaleByDefault:be,highlightedIds:dt,mapProperty:ut,dotLegendTitle:Ee,dotBorderColor:L,labelColor:mt}):r.jsxRuntimeExports.jsx("div",{style:{height:`${Math.max(H,d||($?H?(x||de)*$>H?(x||de)*$:H:(x||de)*$:Be))}px`},className:"flex items-center justify-center",children:r.jsxRuntimeExports.jsx(Ot.w,{"aria-label":"Loading graph"})})}),e[40]=Ge,e[41]=X,e[42]=U,e[43]=f,e[44]=be,e[45]=a,e[46]=lt,e[47]=t,e[48]=P,e[49]=st,e[50]=We,e[51]=L,e[52]=ct,e[53]=Ee,e[54]=d,e[55]=w,e[56]=dt,e[57]=me,e[58]=n,e[59]=mt,e[60]=o,e[61]=_e,e[62]=C,e[63]=G,e[64]=ne,e[65]=ut,e[66]=ke,e[67]=se,e[68]=H,e[69]=re,e[70]=te,e[71]=Le,e[72]=$,e[73]=nt,e[74]=Ve,e[75]=le,e[76]=q,e[77]=we,e[78]=y,e[79]=Be,e[80]=de,e[81]=ce,e[82]=R.dateFormat,e[83]=R.enabled,e[84]=Y,e[85]=v,e[86]=x,e[87]=at,e[88]=m,e[89]=T,e[90]=Se):Se=e[90];let Ne;e[91]!==f?.footnote||e[92]!==f?.source||e[93]!==V||e[94]!==b||e[95]!==y?.footnote||e[96]!==y?.source||e[97]!==x?(Ne=b||V?r.jsxRuntimeExports.jsx(At.GraphFooter,{styles:{footnote:y?.footnote,source:y?.source},classNames:{footnote:f?.footnote,source:f?.source},sources:b,footNote:V,width:x}):null,e[91]=f?.footnote,e[92]=f?.source,e[93]=V,e[94]=b,e[95]=y?.footnote,e[96]=y?.source,e[97]=x,e[98]=Ne):Ne=e[98];let rt;return e[99]!==Pe||e[100]!==_||e[101]!==fe||e[102]!==d||e[103]!==N||e[104]!==H||e[105]!==qe||e[106]!==$||e[107]!==ht||e[108]!==gt||e[109]!==Re||e[110]!==Ce||e[111]!==Se||e[112]!==Ne||e[113]!==ce||e[114]!==x?(rt=r.jsxRuntimeExports.jsxs(Rt.GraphContainer,{className:ht,style:gt,id:fe,ref:jt,"aria-label":Pe,backgroundColor:_,theme:ce,language:N,minHeight:H,width:x,height:d,relativeHeight:$,padding:qe,children:[Re,Ce,Se,Ne]}),e[99]=Pe,e[100]=_,e[101]=fe,e[102]=d,e[103]=N,e[104]=H,e[105]=qe,e[106]=$,e[107]=ht,e[108]=gt,e[109]=Re,e[110]=Ce,e[111]=Se,e[112]=Ne,e[113]=ce,e[114]=x,e[115]=rt):rt=e[115],rt}function no(i){return i!=null}function ao(i){return i.radius}function so(i){return i.properties.NAME!=="Antarctica"}function lo(i){return i!==void 0}function co(i){return i!==void 0}function uo(i){return i.data}function mo(i){return i!==void 0}function po(i){return i.data}function xo(i){return i.x}function ho(i,e){return Kt.ascending(i,e)}exports.HybridMap=io;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("./index-CHPV5EwG-CTPQjnHt.cjs"),m=require("react"),Ct=require("./parse-hMnG_lRV.cjs"),St=require("./getSliderMarks-BmADcPQt.cjs"),_t=require("./Spinner-DRMBUsX7.cjs"),Nt=require("./index-DQA8q5sC.cjs"),xe=require("./zoom-DPw8bba-.cjs"),Et=require("./Typography-DX7PlgQU.cjs"),Bt=require("./index-DxXnJ8Ti.cjs"),Dt=require("./Source-DYMJRrsq.cjs"),Ft=require("./index-Dzc_aaI9-BmkfPMyc.cjs"),Tt=require("./Tooltip-uUdw6wJL.cjs"),kt=require("./index-DRXx7m-C.cjs"),Wt=require("./DetailsModal-BN0HDFlV.cjs"),At=require("./pow-DgrUorRi.cjs"),Ut=require("./ordinal-CrsysVE-.cjs"),Gt=require("./threshold-DNsSUf8Q.cjs"),wt=require("./select-Bnfk0lJx.cjs"),lt=require("./checkIfNullOrUndefined-BCW3Y1ML.cjs"),Ht=require("./numberFormattingFunction-02t-wJta.cjs"),Xt=require("./use-in-view-QcfiW0w3.cjs"),he=require("./proxy-BxvUI_9l.cjs"),Yt=require("./index-DG2bgAva.cjs"),Jt=require("./GraphFooter.cjs"),Kt=require("./GraphHeader.cjs"),De=require("./Colors.cjs"),Zt=require("./fetchAndParseData-l5HGMAEs.cjs"),$t=require("./GraphContainer-d8A46BK2.cjs"),Qt=require("./getUniqValue-NX8DgwND.cjs"),eo=require("./getJenks-GYmdwBqm.cjs");function to(i){const e=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(i){for(const t in i)if(t!=="default"){const d=Object.getOwnPropertyDescriptor(i,t);Object.defineProperty(e,t,d.get?d:{enumerable:!0,get:()=>i[t]})}}return e.default=i,Object.freeze(e)}const oo=to(m);var ro="Separator",Ot="horizontal",io=["horizontal","vertical"],Mt=oo.forwardRef((i,e)=>{const{decorative:t,orientation:d=Ot,...E}=i,n=ao(d)?d:Ot,w=t?{role:"none"}:{"aria-orientation":n==="vertical"?n:void 0,role:"separator"};return r.ae.jsx(Ft.w.div,{"data-orientation":n,...w,...E,ref:e})});Mt.displayName=ro;function ao(i){return io.includes(i)}var qt=Mt;const It=m.forwardRef((i,e)=>{const t=r._.c(14);let d,E,n,w;t[0]!==i?({className:d,variant:n,orientation:w,...E}=i,t[0]=i,t[1]=d,t[2]=E,t[3]=n,t[4]=w):(d=t[1],E=t[2],n=t[3],w=t[4]);const k=n===void 0?"dark":n,u=w===void 0?"horizontal":w,g=u==="horizontal"?"h-[1px] w-full":"h-full w-[1px]",D=k==="dark"?"bg-primary-gray-600 dark:bg-primary-gray-200":"bg-primary-gray-400 dark:bg-primary-gray-550";let C;t[5]!==d||t[6]!==g||t[7]!==D?(C=r.mo(g,D,d),t[5]=d,t[6]=g,t[7]=D,t[8]=C):C=t[8];let I;return t[9]!==u||t[10]!==E||t[11]!==e||t[12]!==C?(I=r.ae.jsx(qt,{...E,ref:e,orientation:u,className:C}),t[9]=u,t[10]=E,t[11]=e,t[12]=C,t[13]=I):I=t[13],I});It.displayName=qt.displayName;function no(i){const{data:e,colors:t,mapData:d,mapColorLegendTitle:E,colorDomain:n,radius:w,height:k,width:u,scale:g,centerPoint:D,tooltip:C,showLabels:I,mapBorderWidth:oe,mapBorderColor:re,mapNoDataColor:ge,onSeriesMouseOver:K,showColorScale:$e,zoomScaleExtend:We,zoomTranslateExtend:Ae,highlightedDataPoints:Oe,onSeriesMouseClick:F,resetSelectionOnDoubleClick:Me,detailsOnClick:Z,styles:O,classNames:ie,mapProjection:ae,zoomInteraction:Q,animate:v,dimmedOpacity:T,customLayers:fe,maxRadiusValue:ye,categorical:ne,dotColor:ee,collapseColorScaleByDefault:qe,highlightedIds:se,mapProperty:ve,dotLegendTitle:je,dotBorderColor:Ie,labelColor:Pe}=i,[P,z]=m.useState(void 0),[b,j]=m.useState(qe===void 0?!(u<680):!qe),le=m.useRef(null),[ce,te]=m.useState(void 0),[ze,M]=m.useState(void 0),[de,q]=m.useState(void 0),[be,W]=m.useState(void 0),L=m.useRef(null),A=Xt.useInView(L,{once:v.once,amount:v.amount}),Ee=m.useRef(null),V=e.filter(o=>o.radius===void 0||o.radius===null).length!==e.length?At.sqrt().domain([0,ye]).range([.25,w]).nice():void 0,Ue=ne?Ut.ordinal().domain(n).range(t):Gt.threshold().domain(n).range(t);m.useEffect(()=>{const o=wt.select(Ee.current),a=wt.select(L.current),$=p=>{if(Q==="noZoom")return!1;if(Q==="button")return!p.type.includes("wheel");const l=p.type==="wheel",R=p.type.startsWith("touch"),x=p.type==="mousedown"||p.type==="mousemove";return R?!0:l?Q==="scroll"?!0:p.ctrlKey:x&&!p.button&&!p.ctrlKey},s=xe.zoom().scaleExtent(We).translateExtent(Ae||[[-20,-20],[u+20,k+20]]).filter($).on("zoom",({transform:p})=>{o.attr("transform",p)});a.call(s),le.current=s},[k,u,Q]);const S=xe.turf_bbox_default(d),_=Bt.turf_center_of_mass_default(d),U=S[2]-S[0],Le=S[3]-S[1],Ve=u*190/960*360/U,_e=k*190/678*180/Le,G=g*Math.min(Ve,_e),B=ae==="mercator"?xe.geoMercator().rotate([0,0]).center(D||_.geometry.coordinates).translate([u/2,k/2]).scale(G):ae==="equalEarth"?xe.geoEqualEarth().rotate([0,0]).center(D||_.geometry.coordinates).translate([u/2,k/2]).scale(G):ae==="naturalEarth"?xe.geoNaturalEarth1().rotate([0,0]).center(D||_.geometry.coordinates).translate([u/2,k/2]).scale(G):ae==="orthographic"?xe.geoOrthographic().rotate([0,0]).center(D||_.geometry.coordinates).translate([u/2,k/2]).scale(G):xe.geoAlbersUsa().rotate([0,0]).center(D||_.geometry.coordinates).translate([u/2,k/2]).scale(G),we=o=>{if(!L.current||!le.current)return;wt.select(L.current).call(le.current.scaleBy,o==="in"?1.2:1/1.2)};return r.jsxRuntimeExports.jsxs(r.jsxRuntimeExports.Fragment,{children:[r.jsxRuntimeExports.jsxs("div",{className:"relative",children:[r.jsxRuntimeExports.jsx(he.motion.svg,{width:`${u}px`,height:`${k}px`,viewBox:`0 0 ${u} ${k}`,ref:L,direction:"ltr",children:r.jsxRuntimeExports.jsxs("g",{ref:Ee,children:[fe.filter(o=>o.position==="before").map(o=>o.layer),d.features.map((o,a)=>e.findIndex(s=>s.id===o.properties[ve])!==-1?null:r.jsxRuntimeExports.jsx("g",{opacity:P?T:se.length!==0?se.indexOf(o.properties[ve])!==-1?1:T:1,children:o.geometry.type==="MultiPolygon"?o.geometry.coordinates.map((s,p)=>{let l="";return s.forEach(R=>{let x=" M";R.forEach((f,ue)=>{const N=B([f[0],f[1]]);ue!==R.length-1?x=`${x}${N[0]} ${N[1]}L`:x=`${x}${N[0]} ${N[1]}`}),l+=x}),r.jsxRuntimeExports.jsx("path",{d:l,style:{stroke:re,strokeWidth:oe,fill:ge}},p)}):o.geometry.coordinates.map((s,p)=>{let l="M";return s.forEach((R,x)=>{const f=B([R[0],R[1]]);x!==s.length-1?l=`${l}${f[0]} ${f[1]}L`:l=`${l}${f[0]} ${f[1]}`}),r.jsxRuntimeExports.jsx("path",{d:l,style:{stroke:re,strokeWidth:oe,fill:ge}},p)})},a)),r.jsxRuntimeExports.jsxs(Yt.AnimatePresence,{children:[e.filter(o=>o.id).map(o=>{const a=d.features.findIndex(s=>o.id===s.properties[ve]),$=lt.checkIfNullOrUndefined(o.x)?ge:Ue(o.x);return r.jsxRuntimeExports.jsx(he.motion.g,{variants:{initial:{opacity:0},whileInView:{opacity:P?P===$?1:T:se.length!==0?se.indexOf(o.id)!==-1?1:T:1,transition:{duration:v.duration}}},initial:"initial",animate:A?"whileInView":"initial",exit:{opacity:0,transition:{duration:v.duration}},onMouseEnter:s=>{M(o),W(s.clientY),q(s.clientX),K?.(o)},onMouseMove:s=>{M(o),W(s.clientY),q(s.clientX)},onMouseLeave:()=>{M(void 0),q(void 0),W(void 0),K?.(void 0)},onClick:()=>{(F||Z)&&(Nt.isEqual(ce,o)&&Me?(te(void 0),F?.(void 0)):(te(o),F?.(o)))},children:a===-1?null:d.features[a].geometry.type==="MultiPolygon"?d.features[a].geometry.coordinates.map((s,p)=>{let l="";return s.forEach(R=>{let x=" M";R.forEach((f,ue)=>{const N=B([f[0],f[1]]);ue!==R.length-1?x=`${x}${N[0]} ${N[1]}L`:x=`${x}${N[0]} ${N[1]}`}),l+=x}),r.jsxRuntimeExports.jsx(he.motion.path,{d:l,variants:{initial:{fill:$,opacity:0},whileInView:{fill:$,opacity:1,transition:{duration:v.duration}}},initial:"initial",animate:A?"whileInView":"initial",exit:{opacity:0,transition:{duration:v.duration}},style:{stroke:re,strokeWidth:oe}},`${o.id}-${p}`)}):d.features[a].geometry.coordinates.map((s,p)=>{let l="M";return s.forEach((R,x)=>{const f=B([R[0],R[1]]);x!==s.length-1?l=`${l}${f[0]} ${f[1]}L`:l=`${l}${f[0]} ${f[1]}`}),r.jsxRuntimeExports.jsx(he.motion.path,{d:l,variants:{initial:{fill:$,opacity:0},whileInView:{fill:$,opacity:1,transition:{duration:v.duration}}},initial:"initial",animate:A?"whileInView":"initial",exit:{opacity:0,transition:{duration:v.duration}},style:{stroke:re,strokeWidth:oe}},`${o.id}-${p}`)})},o.id)}),e.filter(o=>!lt.checkIfNullOrUndefined(o.lat)&&!lt.checkIfNullOrUndefined(o.long)).map(o=>r.jsxRuntimeExports.jsxs(he.motion.g,{variants:{initial:{opacity:0},whileInView:{opacity:Oe.length!==0?Oe.indexOf(o.label||"")!==-1?1:T:1,transition:{duration:v.duration}}},initial:"initial",animate:A?"whileInView":"initial",exit:{opacity:0,transition:{duration:v.duration}},onMouseEnter:a=>{M(o),W(a.clientY),q(a.clientX),K?.(o)},onMouseMove:a=>{M(o),W(a.clientY),q(a.clientX)},onMouseLeave:()=>{M(void 0),q(void 0),W(void 0),K?.(void 0)},onClick:()=>{(F||Z)&&(Nt.isEqual(ce,o)&&Me?(te(void 0),F?.(void 0)):(te(o),F?.(o)))},transform:`translate(${B([o.long,o.lat])[0]},${B([o.long,o.lat])[1]})`,children:[r.jsxRuntimeExports.jsx(he.motion.circle,{cx:0,cy:0,variants:{initial:{r:0,fill:ee,stroke:Ie||ee},whileInView:{r:V?V(o.radius||0):w,fill:ee,stroke:Ie||ee,transition:{duration:v.duration}}},initial:"initial",animate:A?"whileInView":"initial",exit:{r:0,transition:{duration:v.duration}},style:{fillOpacity:.8}}),I&&o.label?r.jsxRuntimeExports.jsx(he.motion.text,{variants:{initial:{opacity:0,x:V?V(o.radius||0):w},whileInView:{opacity:1,x:V?V(o.radius||0):w,transition:{duration:v.duration}}},initial:"initial",animate:A?"whileInView":"initial",exit:{opacity:0,transition:{duration:v.duration}},y:0,className:"text-sm",style:{textAnchor:"start",fill:Pe||"#000"},dx:4,dy:5,children:o.label}):null]},o.label||`${o.lat}-${o.long}`))]}),fe.filter(o=>o.position==="after").map(o=>o.layer)]})}),$e===!1?null:r.jsxRuntimeExports.jsx("div",{className:r.mo("absolute left-4 bottom-4 map-color-legend",ie?.colorLegend),children:b?r.jsxRuntimeExports.jsxs(r.jsxRuntimeExports.Fragment,{children:[r.jsxRuntimeExports.jsx("div",{className:"color-legend-close-button bg-[rgba(240,240,240,0.7)] dark:bg-[rgba(30,30,30,0.7)] border border-[var(--gray-400)] rounded-full w-6 h-6 p-[3px] cursor-pointer z-10 absolute right-[-0.75rem] top-[-0.75rem]",onClick:()=>{j(!1)},children:r.jsxRuntimeExports.jsx(kt.X,{})}),r.jsxRuntimeExports.jsxs("div",{className:"color-legend-box p-2 bg-[rgba(240,240,240,0.7)] dark:bg-[rgba(30,30,30,0.7)]",style:{width:ne?void 0:"340px"},children:[je&&je!==""?r.jsxRuntimeExports.jsxs(r.jsxRuntimeExports.Fragment,{children:[r.jsxRuntimeExports.jsxs("div",{className:"flex items-center gap-2",children:[r.jsxRuntimeExports.jsx("div",{className:"w-3 h-3 rounded-full",style:{backgroundColor:ee}}),r.jsxRuntimeExports.jsx(Et.j,{size:"xs",marginBottom:"none",className:"p-0 leading-normal overflow-hidden text-primary-gray-700 dark:text-primary-gray-300",style:{display:"-webkit-box",WebkitLineClamp:"1",WebkitBoxOrient:"vertical"},children:je})]}),r.jsxRuntimeExports.jsx(Dt.n,{size:"xl"}),r.jsxRuntimeExports.jsx(It,{}),r.jsxRuntimeExports.jsx(Dt.n,{size:"xl"})]}):null,E&&E!==""?r.jsxRuntimeExports.jsx(Et.j,{size:"xs",marginBottom:"xs",className:"p-0 leading-normal overflow-hidden text-primary-gray-700 dark:text-primary-gray-300",style:{display:"-webkit-box",WebkitLineClamp:"1",WebkitBoxOrient:"vertical"},children:E}):null,ne?r.jsxRuntimeExports.jsx("div",{className:"flex flex-col gap-3",children:n.map((o,a)=>r.jsxRuntimeExports.jsxs("div",{className:"flex gap-2 items-center",onMouseOver:()=>{z(t[a%t.length])},onMouseLeave:()=>{z(void 0)},children:[r.jsxRuntimeExports.jsx("div",{className:"w-2 h-2 rounded-full",style:{backgroundColor:t[a%t.length]}}),r.jsxRuntimeExports.jsx(Et.j,{size:"sm",marginBottom:"none",leading:"none",children:o})]},a))}):r.jsxRuntimeExports.jsx("svg",{width:"100%",viewBox:"0 0 320 30",direction:"ltr",children:r.jsxRuntimeExports.jsxs("g",{children:[n.map((o,a)=>r.jsxRuntimeExports.jsxs("g",{onMouseOver:()=>{z(t[a])},onMouseLeave:()=>{z(void 0)},className:"cursor-pointer",children:[r.jsxRuntimeExports.jsx("rect",{x:a*320/t.length+1,y:1,width:320/t.length-2,height:8,className:P===t[a]?"stroke-primary-gray-700 dark:stroke-primary-gray-300":"",style:{fill:t[a],...P===t[a]?{}:{stroke:t[a]}}}),r.jsxRuntimeExports.jsx("text",{x:(a+1)*320/t.length,y:25,className:"fill-primary-gray-700 dark:fill-primary-gray-300 text-xs",style:{textAnchor:"middle"},children:Ht.numberFormattingFunction(o,"NA")})]},a)),r.jsxRuntimeExports.jsx("g",{children:r.jsxRuntimeExports.jsx("rect",{onMouseOver:()=>{z(t[n.length])},onMouseLeave:()=>{z(void 0)},x:n.length*320/t.length+1,y:1,width:320/t.length-2,height:8,className:`cursor-pointer ${P===t[n.length]?"stroke-1 stroke-primary-gray-700 dark:stroke-primary-gray-300":""}`,style:{fill:t[n.length],...P===t[n.length]?{}:{stroke:t[n.length]}}})})]})})]})]}):r.jsxRuntimeExports.jsx("button",{type:"button",className:"mb-0 border-0 bg-transparent p-0 self-start map-legend-button",onClick:()=>{j(!0)},children:r.jsxRuntimeExports.jsx("div",{className:"show-color-legend-button items-start text-sm font-medium cursor-pointer p-2 mb-0 flex text-primary-black dark:text-primary-gray-300 bg-primary-gray-300 dark:bg-primary-gray-600 border-primary-gray-400 dark:border-primary-gray-500",children:"Show Legend"})})}),Q==="button"&&r.jsxRuntimeExports.jsxs("div",{className:"absolute left-4 top-4 flex flex-col zoom-buttons",children:[r.jsxRuntimeExports.jsx("button",{onClick:()=>we("in"),className:"leading-0 px-2 py-3.5 text-primary-gray-700 border border-primary-gray-400 bg-primary-gray-200 dark:border-primary-gray-550 dark:bg-primary-gray-600 dark:text-primary-gray-100",children:"+"}),r.jsxRuntimeExports.jsx("button",{onClick:()=>we("out"),className:"leading-0 px-2 py-3.5 text-primary-gray-700 border border-t-0 border-primary-gray-400 bg-primary-gray-200 dark:border-primary-gray-550 dark:bg-primary-gray-600 dark:text-primary-gray-100",children:"–"})]})]}),Z&&ce!==void 0?r.jsxRuntimeExports.jsx(Wt.DetailsModal,{body:Z,data:ce,setData:te,className:ie?.modal}):null,ze&&C&&de&&be?r.jsxRuntimeExports.jsx(Tt.Tooltip,{data:ze,body:C,xPos:de,yPos:be,backgroundStyle:O?.tooltip,className:ie?.tooltip}):null]})}function so(i){const e=r.compilerRuntimeExports.c(131),{data:t,mapData:d,graphTitle:E,colors:n,sources:w,graphDescription:k,height:u,width:g,footNote:D,mapColorLegendTitle:C,colorDomain:I,choroplethScaleType:oe,radius:re,scale:ge,centerPoint:K,padding:$e,mapBorderWidth:We,mapNoDataColor:Ae,backgroundColor:Oe,showLabels:F,mapBorderColor:Me,tooltip:Z,relativeHeight:O,onSeriesMouseOver:ie,isWorldMap:ae,showColorScale:Q,zoomScaleExtend:v,zoomTranslateExtend:T,graphID:fe,highlightedDataPoints:ye,onSeriesMouseClick:ne,graphDownload:ee,dataDownload:qe,showAntarctica:se,language:ve,minHeight:je,theme:Ie,ariaLabel:Pe,resetSelectionOnDoubleClick:P,detailsOnClick:z,styles:b,classNames:j,mapProjection:le,zoomInteraction:ce,animate:te,dimmedOpacity:ze,customLayers:M,maxRadiusValue:de,timeline:q,collapseColorScaleByDefault:be,dotColor:W,highlightedIds:L,mapProperty:A,dotLegendTitle:Ee,dotBorderColor:V,labelColor:Ue}=i,S=d===void 0?"https://raw.githubusercontent.com/UNDP-Data/dv-country-geojson/refs/heads/main/worldMap.json":d,_=D===void 0?"The designations employed and the presentation of material on this map do not imply the expression of any opinion whatsoever on the part of the Secretariat of the United Nations or UNDP concerning the legal status of any country, territory, city or area or its authorities, or concerning the delimitation of its frontiers or boundaries.":D,U=oe===void 0?"threshold":oe,Le=re===void 0?5:re,Ve=ge===void 0?.95:ge,_e=We===void 0?.5:We,G=Ae===void 0?De.Colors.light.graphNoData:Ae,B=Oe===void 0?!1:Oe,we=F===void 0?!1:F,o=Me===void 0?De.Colors.light.grays["gray-500"]:Me,a=ae===void 0?!0:ae,$=Q===void 0?!0:Q;let s;e[0]!==v?(s=v===void 0?[.8,6]:v,e[0]=v,e[1]=s):s=e[1];const p=s;let l;e[2]!==ye?(l=ye===void 0?[]:ye,e[2]=ye,e[3]=l):l=e[3];const R=l,x=ee===void 0?!1:ee,f=qe===void 0?!1:qe,ue=se===void 0?!1:se,N=ve===void 0?"en":ve,H=je===void 0?0:je,me=Ie===void 0?"light":Ie,ct=P===void 0?!0:P,dt=ce===void 0?"button":ce,Ge=te===void 0?!1:te,ut=ze===void 0?.3:ze;let He;e[4]!==M?(He=M===void 0?[]:M,e[4]=M,e[5]=He):He=e[5];const mt=He;let Xe;e[6]!==q?(Xe=q===void 0?{enabled:!1,autoplay:!1,showOnlyActiveDate:!0}:q,e[6]=q,e[7]=Xe):Xe=e[7];const c=Xe,pt=W===void 0?De.Colors.primaryColors["blue-600"]:W;let Ye;e[8]!==L?(Ye=L===void 0?[]:L,e[8]=L,e[9]=Ye):Ye=e[9];const xt=Ye,ht=A===void 0?"ISO3":A,gt=Ue===void 0?De.Colors.primaryColors["blue-600"]:Ue,[pe,Pt]=m.useState(0),[Be,zt]=m.useState(0),[X,Lt]=m.useState(c.autoplay);let Fe;if(e[10]!==t||e[11]!==c.dateFormat){let y;e[13]!==c.dateFormat?(y=J=>Ct.parse(`${J}`,c.dateFormat||"yyyy",new Date).getTime(),e[13]=c.dateFormat,e[14]=y):y=e[14],Fe=[...new Set(t.map(y))],Fe.sort(yo),e[10]=t,e[11]=c.dateFormat,e[12]=Fe}else Fe=e[12];const h=Fe,[Y,ft]=m.useState(c.autoplay?0:h.length-1),[ke,Vt]=m.useState(void 0),yt=m.useRef(null),Rt=m.useRef(null);let Je;e[15]!==U||e[16]!==I||e[17]!==n?.length||e[18]!==t?(Je=I||(U==="categorical"?Qt.getUniqValue(t,"x"):eo.getJenks(t.map(fo),n?.length||4)),e[15]=U,e[16]=I,e[17]=n?.length,e[18]=t,e[19]=Je):Je=e[19];const Te=Je;let Ke,Ze;e[20]===Symbol.for("react.memo_cache_sentinel")?(Ke=()=>{const y=new ResizeObserver(J=>{Pt(J[0].target.clientWidth||620),zt(J[0].target.clientHeight||480)});return yt.current&&y.observe(yt.current),()=>y.disconnect()},Ze=[],e[20]=Ke,e[21]=Ze):(Ke=e[20],Ze=e[21]),m.useEffect(Ke,Ze);let Qe;e[22]===Symbol.for("react.memo_cache_sentinel")?(Qe=y=>{Vt(y)},e[22]=Qe):Qe=e[22];const et=m.useEffectEvent(Qe);let tt;e[23]!==S||e[24]!==et?(tt=()=>{typeof S=="string"?Zt.fetchAndParseJSON(S).then(J=>{et(J)}):et(S)},e[23]=S,e[24]=et,e[25]=tt):tt=e[25];let ot;e[26]!==S?(ot=[S],e[26]=S,e[27]=ot):ot=e[27],m.useEffect(tt,ot);let rt,it;e[28]!==X||e[29]!==c.speed||e[30]!==h?(rt=()=>{const y=setInterval(()=>{ft(J=>J<h.length-1?J+1:0)},(c.speed||2)*1e3);return X||clearInterval(y),()=>clearInterval(y)},it=[h,X,c.speed],e[28]=X,e[29]=c.speed,e[30]=h,e[31]=rt,e[32]=it):(rt=e[31],it=e[32]),m.useEffect(rt,it);const vt=c.dateFormat||"yyyy";let at;e[33]!==Y||e[34]!==vt||e[35]!==c.showOnlyActiveDate||e[36]!==h?(at=St.getSliderMarks(h,Y,c.showOnlyActiveDate,vt),e[33]=Y,e[34]=vt,e[35]=c.showOnlyActiveDate,e[36]=h,e[37]=at):at=e[37];const nt=at,jt=j?.graphContainer,bt=b?.graphContainer;let Re;e[38]!==j?.description||e[39]!==j?.title||e[40]!==t||e[41]!==f||e[42]!==k||e[43]!==x||e[44]!==E||e[45]!==b?.description||e[46]!==b?.title||e[47]!==g?(Re=E||k||x||f?r.jsxRuntimeExports.jsx(Kt.GraphHeader,{styles:{title:b?.title,description:b?.description},classNames:{title:j?.title,description:j?.description},graphTitle:E,graphDescription:k,width:g,graphDownload:x?Rt:void 0,dataDownload:f?t.map(go).filter(ho).length>0?t.map(xo).filter(po):t.filter(mo):null}):null,e[38]=j?.description,e[39]=j?.title,e[40]=t,e[41]=f,e[42]=k,e[43]=x,e[44]=E,e[45]=b?.description,e[46]=b?.title,e[47]=g,e[48]=Re):Re=e[48];let Ce;e[49]!==Y||e[50]!==nt||e[51]!==X||e[52]!==c.enabled||e[53]!==h?(Ce=c.enabled&&h.length>0&&nt?r.jsxRuntimeExports.jsxs("div",{className:"flex gap-6 items-center",dir:"ltr",children:[r.jsxRuntimeExports.jsx("button",{type:"button",onClick:()=>{Lt(!X)},className:"p-0 border-0 cursor-pointer bg-transparent","aria-label":X?"Click to pause animation":"Click to play animation",children:X?r.jsxRuntimeExports.jsx(kt.Pause,{}):r.jsxRuntimeExports.jsx(kt.Play,{})}),r.jsxRuntimeExports.jsx(St.Nr,{min:h[0],max:h[h.length-1],marks:nt,step:null,defaultValue:h[h.length-1],value:h[Y],onChangeComplete:y=>{ft(h.indexOf(y))},onChange:y=>{ft(h.indexOf(y))},"aria-label":"Time slider. Use arrow keys to adjust selected time period."})]}):null,e[49]=Y,e[50]=nt,e[51]=X,e[52]=c.enabled,e[53]=h,e[54]=Ce):Ce=e[54];let Se;e[55]!==Ge||e[56]!==K||e[57]!==U||e[58]!==j||e[59]!==be||e[60]!==n||e[61]!==mt||e[62]!==t||e[63]!==z||e[64]!==ut||e[65]!==Te||e[66]!==V||e[67]!==pt||e[68]!==Ee||e[69]!==u||e[70]!==R||e[71]!==xt||e[72]!==Y||e[73]!==a||e[74]!==gt||e[75]!==o||e[76]!==_e||e[77]!==C||e[78]!==G||e[79]!==le||e[80]!==ht||e[81]!==ke||e[82]!==de||e[83]!==H||e[84]!==ne||e[85]!==ie||e[86]!==Le||e[87]!==O||e[88]!==ct||e[89]!==Ve||e[90]!==ue||e[91]!==$||e[92]!==we||e[93]!==b||e[94]!==Be||e[95]!==pe||e[96]!==me||e[97]!==c.dateFormat||e[98]!==c.enabled||e[99]!==Z||e[100]!==h||e[101]!==g||e[102]!==dt||e[103]!==p||e[104]!==T?(Se=r.jsxRuntimeExports.jsx($t.GraphArea,{ref:yt,children:pe&&Be&&ke?r.jsxRuntimeExports.jsx(no,{dotColor:pt,data:t.filter(y=>c.enabled?y.date===Ct.format(new Date(h[Y]),c.dateFormat||"yyyy"):y),mapData:ue?ke:{...ke,features:ke.features.filter(uo)},colorDomain:Te,width:pe,height:Be,scale:Ve,centerPoint:K,colors:n||(U==="categorical"?De.Colors[me].sequentialColors[`neutralColorsx0${Te.length}`]:De.Colors[me].sequentialColors[`neutralColorsx0${Te.length+1}`]),mapColorLegendTitle:C,radius:Le,categorical:U==="categorical",mapBorderWidth:_e,mapNoDataColor:G,mapBorderColor:o,tooltip:Z,onSeriesMouseOver:ie,showLabels:we,isWorldMap:a,showColorScale:$,zoomScaleExtend:p,zoomTranslateExtend:T,onSeriesMouseClick:ne,highlightedDataPoints:R,resetSelectionOnDoubleClick:ct,styles:b,classNames:j,zoomInteraction:dt,detailsOnClick:z,mapProjection:le||(a?"naturalEarth":"mercator"),animate:Ge===!0?{duration:.5,once:!0,amount:.5}:Ge||{duration:0,once:!0,amount:0},dimmedOpacity:ut,customLayers:mt,maxRadiusValue:lt.checkIfNullOrUndefined(de)?Math.max(...t.map(co).filter(lo)):de,collapseColorScaleByDefault:be,highlightedIds:xt,mapProperty:ht,dotLegendTitle:Ee,dotBorderColor:V,labelColor:gt}):r.jsxRuntimeExports.jsx("div",{style:{height:`${Math.max(H,u||(O?H?(g||pe)*O>H?(g||pe)*O:H:(g||pe)*O:Be))}px`},className:"flex items-center justify-center",children:r.jsxRuntimeExports.jsx(_t.w,{"aria-label":"Loading graph"})})}),e[55]=Ge,e[56]=K,e[57]=U,e[58]=j,e[59]=be,e[60]=n,e[61]=mt,e[62]=t,e[63]=z,e[64]=ut,e[65]=Te,e[66]=V,e[67]=pt,e[68]=Ee,e[69]=u,e[70]=R,e[71]=xt,e[72]=Y,e[73]=a,e[74]=gt,e[75]=o,e[76]=_e,e[77]=C,e[78]=G,e[79]=le,e[80]=ht,e[81]=ke,e[82]=de,e[83]=H,e[84]=ne,e[85]=ie,e[86]=Le,e[87]=O,e[88]=ct,e[89]=Ve,e[90]=ue,e[91]=$,e[92]=we,e[93]=b,e[94]=Be,e[95]=pe,e[96]=me,e[97]=c.dateFormat,e[98]=c.enabled,e[99]=Z,e[100]=h,e[101]=g,e[102]=dt,e[103]=p,e[104]=T,e[105]=Se):Se=e[105];let Ne;e[106]!==j?.footnote||e[107]!==j?.source||e[108]!==_||e[109]!==w||e[110]!==b?.footnote||e[111]!==b?.source||e[112]!==g?(Ne=w||_?r.jsxRuntimeExports.jsx(Jt.GraphFooter,{styles:{footnote:b?.footnote,source:b?.source},classNames:{footnote:j?.footnote,source:j?.source},sources:w,footNote:_,width:g}):null,e[106]=j?.footnote,e[107]=j?.source,e[108]=_,e[109]=w,e[110]=b?.footnote,e[111]=b?.source,e[112]=g,e[113]=Ne):Ne=e[113];let st;return e[114]!==Pe||e[115]!==B||e[116]!==fe||e[117]!==u||e[118]!==N||e[119]!==H||e[120]!==$e||e[121]!==O||e[122]!==jt||e[123]!==bt||e[124]!==Re||e[125]!==Ce||e[126]!==Se||e[127]!==Ne||e[128]!==me||e[129]!==g?(st=r.jsxRuntimeExports.jsxs($t.GraphContainer,{className:jt,style:bt,id:fe,ref:Rt,"aria-label":Pe,backgroundColor:B,theme:me,language:N,minHeight:H,width:g,height:u,relativeHeight:O,padding:$e,children:[Re,Ce,Se,Ne]}),e[114]=Pe,e[115]=B,e[116]=fe,e[117]=u,e[118]=N,e[119]=H,e[120]=$e,e[121]=O,e[122]=jt,e[123]=bt,e[124]=Re,e[125]=Ce,e[126]=Se,e[127]=Ne,e[128]=me,e[129]=g,e[130]=st):st=e[130],st}function lo(i){return i!=null}function co(i){return i.radius}function uo(i){return i.properties.NAME!=="Antarctica"}function mo(i){return i!==void 0}function po(i){return i!==void 0}function xo(i){return i.data}function ho(i){return i!==void 0}function go(i){return i.data}function fo(i){return i.x}function yo(i,e){return i-e}exports.HybridMap=so;
2
2
  //# sourceMappingURL=HybridMap.cjs.map