@undp/data-viz 2.3.19 → 2.4.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 (95) hide show
  1. package/dist/BarGraph.cjs +1 -1
  2. package/dist/BarGraph.cjs.map +1 -1
  3. package/dist/BarGraph.js +1360 -1363
  4. package/dist/BarGraph.js.map +1 -1
  5. package/dist/BeeSwarmChart.cjs +1 -1
  6. package/dist/BeeSwarmChart.cjs.map +1 -1
  7. package/dist/BeeSwarmChart.js +302 -305
  8. package/dist/BeeSwarmChart.js.map +1 -1
  9. package/dist/BiVariateChoroplethMap.cjs +1 -1
  10. package/dist/BiVariateChoroplethMap.cjs.map +1 -1
  11. package/dist/BiVariateChoroplethMap.js +245 -248
  12. package/dist/BiVariateChoroplethMap.js.map +1 -1
  13. package/dist/BulletChart.cjs +1 -1
  14. package/dist/BulletChart.cjs.map +1 -1
  15. package/dist/BulletChart.js +591 -594
  16. package/dist/BulletChart.js.map +1 -1
  17. package/dist/ChoroplethMap.cjs +1 -1
  18. package/dist/ChoroplethMap.cjs.map +1 -1
  19. package/dist/ChoroplethMap.js +283 -286
  20. package/dist/ChoroplethMap.js.map +1 -1
  21. package/dist/CirclePackingGraph.cjs +1 -1
  22. package/dist/CirclePackingGraph.js +1 -1
  23. package/dist/DotDensityMap.cjs +1 -1
  24. package/dist/DotDensityMap.cjs.map +1 -1
  25. package/dist/DotDensityMap.js +255 -258
  26. package/dist/DotDensityMap.js.map +1 -1
  27. package/dist/DumbbellChart.cjs +1 -1
  28. package/dist/DumbbellChart.cjs.map +1 -1
  29. package/dist/DumbbellChart.js +553 -556
  30. package/dist/DumbbellChart.js.map +1 -1
  31. package/dist/{GraphEl-Dorm_qQE.js → GraphEl-B73N4RIA.js} +2 -2
  32. package/dist/{GraphEl-Dorm_qQE.js.map → GraphEl-B73N4RIA.js.map} +1 -1
  33. package/dist/{GraphEl-D8WRC8-j.cjs → GraphEl-Lt1og0C-.cjs} +2 -2
  34. package/dist/{GraphEl-D8WRC8-j.cjs.map → GraphEl-Lt1og0C-.cjs.map} +1 -1
  35. package/dist/GriddedGraphs.cjs +1 -1
  36. package/dist/GriddedGraphs.js +1 -1
  37. package/dist/Histogram.cjs +1 -1
  38. package/dist/Histogram.js +1 -1
  39. package/dist/HybridMap.cjs +1 -1
  40. package/dist/HybridMap.cjs.map +1 -1
  41. package/dist/HybridMap.js +317 -323
  42. package/dist/HybridMap.js.map +1 -1
  43. package/dist/MultiLineAltChart.cjs +1 -1
  44. package/dist/MultiLineAltChart.cjs.map +1 -1
  45. package/dist/MultiLineAltChart.js +269 -272
  46. package/dist/MultiLineAltChart.js.map +1 -1
  47. package/dist/MultiLineChart.cjs +1 -1
  48. package/dist/MultiLineChart.cjs.map +1 -1
  49. package/dist/MultiLineChart.js +319 -322
  50. package/dist/MultiLineChart.js.map +1 -1
  51. package/dist/RadarChart.cjs +1 -1
  52. package/dist/RadarChart.cjs.map +1 -1
  53. package/dist/RadarChart.js +3 -3
  54. package/dist/RadarChart.js.map +1 -1
  55. package/dist/SankeyChart.cjs +1 -1
  56. package/dist/SankeyChart.cjs.map +1 -1
  57. package/dist/SankeyChart.js +274 -280
  58. package/dist/SankeyChart.js.map +1 -1
  59. package/dist/ScatterPlot.cjs +1 -1
  60. package/dist/ScatterPlot.cjs.map +1 -1
  61. package/dist/ScatterPlot.js +341 -344
  62. package/dist/ScatterPlot.js.map +1 -1
  63. package/dist/SingleGraphDashboard.cjs +1 -1
  64. package/dist/SingleGraphDashboard.js +1 -1
  65. package/dist/SlopeChart.cjs +1 -1
  66. package/dist/SlopeChart.cjs.map +1 -1
  67. package/dist/SlopeChart.js +251 -254
  68. package/dist/SlopeChart.js.map +1 -1
  69. package/dist/StripChart.cjs +1 -1
  70. package/dist/StripChart.cjs.map +1 -1
  71. package/dist/StripChart.js +292 -295
  72. package/dist/StripChart.js.map +1 -1
  73. package/dist/ThreeDGlobe.cjs +1 -1
  74. package/dist/ThreeDGlobe.cjs.map +1 -1
  75. package/dist/ThreeDGlobe.js +116 -119
  76. package/dist/ThreeDGlobe.js.map +1 -1
  77. package/dist/TreeMapGraph.cjs +1 -1
  78. package/dist/TreeMapGraph.cjs.map +1 -1
  79. package/dist/TreeMapGraph.js +196 -199
  80. package/dist/TreeMapGraph.js.map +1 -1
  81. package/dist/WaterfallChart.cjs +1 -1
  82. package/dist/WaterfallChart.cjs.map +1 -1
  83. package/dist/WaterfallChart.js +274 -277
  84. package/dist/WaterfallChart.js.map +1 -1
  85. package/dist/index-B0Awa_de.js +377 -0
  86. package/dist/index-B0Awa_de.js.map +1 -0
  87. package/dist/index-CP8cmNzt.cjs +2 -0
  88. package/dist/index-CP8cmNzt.cjs.map +1 -0
  89. package/dist/index.cjs +1 -1
  90. package/dist/index.js +1 -1
  91. package/package.json +1 -1
  92. package/dist/index-Bdo_HXb_.cjs +0 -2
  93. package/dist/index-Bdo_HXb_.cjs.map +0 -1
  94. package/dist/index-CGrBpeUa.js +0 -380
  95. package/dist/index-CGrBpeUa.js.map +0 -1
package/dist/HybridMap.js CHANGED
@@ -1,172 +1,172 @@
1
- import { _ as ro, m as Ft, a as Yt, j as a, c as io } from "./index-CHPV5EwG-BzibaIRc.js";
2
- import * as no from "react";
3
- import lo, { useMemo as At, useState as S, useRef as qe, useEffect as Ue, useEffectEvent as Rt } from "react";
4
- import { f as so, p as co } from "./parse-Dv4of-PN.js";
5
- import { g as mo, N as po } from "./getSliderMarks-X-_goqH9.js";
6
- import { w as uo } from "./Spinner-B2IIKg9r.js";
7
- import { i as Gt } from "./index-Bwrro8-q.js";
8
- import { i as Ut, z as ho, a as fo, g as go, b as yo, c as vo, d as xo, e as bo, f as wo } from "./index-CKpKc9DR.js";
9
- import { _ as Vt } from "./Typography-BO0gQDIT.js";
10
- import { i as jo } from "./index-DCsFBfJ_.js";
11
- import { n as qt } from "./Source-QGk8vhkS.js";
12
- import { w as ko } from "./index-w64Zl8io-ihagHOdP.js";
13
- import { T as Co } from "./Tooltip-Bj-s__cI.js";
14
- import { X as Do, E as No, P as Mo, e as So } from "./index-ApTBN0kp.js";
15
- import { D as Oo } from "./DetailsModal-B2XBWR7w.js";
16
- import { s as Eo } from "./pow-BXYLJHCq.js";
17
- import { o as Io } from "./ordinal-CHaxGJ_l.js";
18
- import { t as Bo } from "./threshold-DFfqcDMa.js";
19
- import { s as $t } from "./select-DKy99ogv.js";
20
- import { m as se } from "./proxy-BsxtcZKa.js";
21
- import { c as vt } from "./checkIfNullOrUndefined-DmfiKkNw.js";
22
- import { n as zo } from "./numberFormattingFunction-DqMf_v1m.js";
23
- import { u as Po } from "./use-in-view-KOXq5Kmc.js";
24
- import { A as _o } from "./index-Cv_5q6Rb.js";
25
- import { GraphFooter as Lo } from "./GraphFooter.js";
26
- import { GraphHeader as Wo } from "./GraphHeader.js";
27
- import { Colors as De } from "./Colors.js";
28
- import { f as Ht } from "./fetchAndParseData-BAXhgTDM.js";
29
- import { a as Vo, G as $o } from "./GraphContainer-B8ZqOzKI.js";
30
- import { g as Fo } from "./getUniqValue-DsqSii6M.js";
31
- import { g as To } from "./getJenks-DTCcQSDi.js";
32
- var Ao = "Separator", Xt = "horizontal", Ro = ["horizontal", "vertical"], Jt = no.forwardRef((r, e) => {
33
- const { decorative: t, orientation: w = Xt, ...y } = r, n = Go(w) ? w : Xt, v = t ? { role: "none" } : { "aria-orientation": n === "vertical" ? n : void 0, role: "separator" };
34
- return /* @__PURE__ */ Yt.jsx(
35
- ko.div,
1
+ import { _ as eo, m as Lt, a as Ut, j as a, c as to } from "./index-CHPV5EwG-BzibaIRc.js";
2
+ import * as oo from "react";
3
+ import ao, { useMemo as Vt, useState as S, useRef as qe, useEffect as Ue, useEffectEvent as $t } from "react";
4
+ import { f as ro, p as io } from "./parse-Dv4of-PN.js";
5
+ import { g as no, N as lo } from "./getSliderMarks-X-_goqH9.js";
6
+ import { w as so } from "./Spinner-B2IIKg9r.js";
7
+ import { i as Ft } from "./index-Bwrro8-q.js";
8
+ import { i as Tt, z as co, a as mo, g as po, b as uo, c as ho, d as fo, e as go, f as yo } from "./index-CKpKc9DR.js";
9
+ import { _ as Pt } from "./Typography-BO0gQDIT.js";
10
+ import { i as vo } from "./index-DCsFBfJ_.js";
11
+ import { n as At } from "./Source-QGk8vhkS.js";
12
+ import { w as xo } from "./index-w64Zl8io-ihagHOdP.js";
13
+ import { T as bo } from "./Tooltip-Bj-s__cI.js";
14
+ import { X as wo, E as jo, P as ko, e as Co } from "./index-ApTBN0kp.js";
15
+ import { D as Do } from "./DetailsModal-B2XBWR7w.js";
16
+ import { s as No } from "./pow-BXYLJHCq.js";
17
+ import { o as Mo } from "./ordinal-CHaxGJ_l.js";
18
+ import { t as So } from "./threshold-DFfqcDMa.js";
19
+ import { s as _t } from "./select-DKy99ogv.js";
20
+ import { m as le } from "./proxy-BsxtcZKa.js";
21
+ import { c as yt } from "./checkIfNullOrUndefined-DmfiKkNw.js";
22
+ import { n as Oo } from "./numberFormattingFunction-DqMf_v1m.js";
23
+ import { u as Eo } from "./use-in-view-KOXq5Kmc.js";
24
+ import { A as Bo } from "./index-Cv_5q6Rb.js";
25
+ import { GraphFooter as Io } from "./GraphFooter.js";
26
+ import { GraphHeader as zo } from "./GraphHeader.js";
27
+ import { Colors as ke } from "./Colors.js";
28
+ import { f as Rt } from "./fetchAndParseData-BAXhgTDM.js";
29
+ import { a as Po, G as _o } from "./GraphContainer-B8ZqOzKI.js";
30
+ import { g as Lo } from "./getUniqValue-DsqSii6M.js";
31
+ import { g as Wo } from "./getJenks-DTCcQSDi.js";
32
+ var Vo = "Separator", Gt = "horizontal", $o = ["horizontal", "vertical"], qt = oo.forwardRef((r, e) => {
33
+ const { decorative: t, orientation: w = Gt, ...y } = r, l = Fo(w) ? w : Gt, v = t ? { role: "none" } : { "aria-orientation": l === "vertical" ? l : void 0, role: "separator" };
34
+ return /* @__PURE__ */ Ut.jsx(
35
+ xo.div,
36
36
  {
37
- "data-orientation": n,
37
+ "data-orientation": l,
38
38
  ...v,
39
39
  ...y,
40
40
  ref: e
41
41
  }
42
42
  );
43
43
  });
44
- Jt.displayName = Ao;
45
- function Go(r) {
46
- return Ro.includes(r);
44
+ qt.displayName = Vo;
45
+ function Fo(r) {
46
+ return $o.includes(r);
47
47
  }
48
- var Kt = Jt;
49
- const Zt = lo.forwardRef((r, e) => {
50
- const t = ro.c(14);
51
- let w, y, n, v;
48
+ var Ht = qt;
49
+ const Xt = ao.forwardRef((r, e) => {
50
+ const t = eo.c(14);
51
+ let w, y, l, v;
52
52
  t[0] !== r ? ({
53
53
  className: w,
54
- variant: n,
54
+ variant: l,
55
55
  orientation: v,
56
56
  ...y
57
- } = r, t[0] = r, t[1] = w, t[2] = y, t[3] = n, t[4] = v) : (w = t[1], y = t[2], n = t[3], v = t[4]);
58
- const x = n === void 0 ? "dark" : n, l = v === void 0 ? "horizontal" : v, h = l === "horizontal" ? "h-[1px] w-full" : "h-full w-[1px]", D = x === "dark" ? "bg-primary-gray-600 dark:bg-primary-gray-200" : "bg-primary-gray-400 dark:bg-primary-gray-550";
57
+ } = r, t[0] = r, t[1] = w, t[2] = y, t[3] = l, t[4] = v) : (w = t[1], y = t[2], l = t[3], v = t[4]);
58
+ const x = l === void 0 ? "dark" : l, s = v === void 0 ? "horizontal" : v, u = s === "horizontal" ? "h-[1px] w-full" : "h-full w-[1px]", D = x === "dark" ? "bg-primary-gray-600 dark:bg-primary-gray-200" : "bg-primary-gray-400 dark:bg-primary-gray-550";
59
59
  let C;
60
- t[5] !== w || t[6] !== h || t[7] !== D ? (C = Ft(h, D, w), t[5] = w, t[6] = h, t[7] = D, t[8] = C) : C = t[8];
61
- let P;
62
- return t[9] !== l || t[10] !== y || t[11] !== e || t[12] !== C ? (P = /* @__PURE__ */ Yt.jsx(Kt, { ...y, ref: e, orientation: l, className: C }), t[9] = l, t[10] = y, t[11] = e, t[12] = C, t[13] = P) : P = t[13], P;
60
+ t[5] !== w || t[6] !== u || t[7] !== D ? (C = Lt(u, D, w), t[5] = w, t[6] = u, t[7] = D, t[8] = C) : C = t[8];
61
+ let I;
62
+ return t[9] !== s || t[10] !== y || t[11] !== e || t[12] !== C ? (I = /* @__PURE__ */ Ut.jsx(Ht, { ...y, ref: e, orientation: s, className: C }), t[9] = s, t[10] = y, t[11] = e, t[12] = C, t[13] = I) : I = t[13], I;
63
63
  });
64
- Zt.displayName = Kt.displayName;
65
- function Uo(r) {
64
+ Xt.displayName = Ht.displayName;
65
+ function To(r) {
66
66
  const {
67
67
  data: e,
68
68
  colors: t,
69
69
  mapData: w,
70
70
  mapColorLegendTitle: y,
71
- colorDomain: n,
71
+ colorDomain: l,
72
72
  radius: v,
73
73
  height: x,
74
- width: l,
75
- scale: h,
74
+ width: s,
75
+ scale: u,
76
76
  centerPoint: D,
77
77
  tooltip: C,
78
- showLabels: P,
79
- mapBorderWidth: ce,
80
- mapBorderColor: de,
81
- mapNoDataColor: Ne,
82
- onSeriesMouseOver: U,
83
- showColorScale: Me,
78
+ showLabels: I,
79
+ mapBorderWidth: se,
80
+ mapBorderColor: ce,
81
+ mapNoDataColor: Ce,
82
+ onSeriesMouseOver: R,
83
+ showColorScale: De,
84
84
  zoomScaleExtend: He,
85
85
  zoomTranslateExtend: Xe,
86
- highlightedDataPoints: Se,
87
- onSeriesMouseClick: W,
88
- resetSelectionOnDoubleClick: Oe,
89
- detailsOnClick: q,
86
+ highlightedDataPoints: Ne,
87
+ onSeriesMouseClick: L,
88
+ resetSelectionOnDoubleClick: Me,
89
+ detailsOnClick: G,
90
90
  styles: N,
91
- classNames: H,
92
- mapProjection: ae,
93
- zoomInteraction: X,
91
+ classNames: U,
92
+ mapProjection: oe,
93
+ zoomInteraction: q,
94
94
  animate: b,
95
- dimmedOpacity: V,
96
- customLayers: me,
97
- maxRadiusValue: pe,
98
- categorical: re,
99
- dotColor: Y,
100
- collapseColorScaleByDefault: Ee,
101
- highlightedIds: ie,
102
- mapProperty: ue,
103
- dotLegendTitle: he,
104
- dotBorderColor: Ie,
95
+ dimmedOpacity: W,
96
+ customLayers: de,
97
+ maxRadiusValue: Se,
98
+ categorical: ae,
99
+ dotColor: H,
100
+ collapseColorScaleByDefault: Oe,
101
+ highlightedIds: re,
102
+ mapProperty: me,
103
+ dotLegendTitle: pe,
104
+ dotBorderColor: Ee,
105
105
  labelColor: Be,
106
- projectionRotate: J,
107
- rewindCoordinatesInMapData: K,
106
+ projectionRotate: X,
107
+ rewindCoordinatesInMapData: Y,
108
108
  overlayMapData: p,
109
109
  overlayMapBorderColor: g,
110
110
  overlayMapBorderWidth: Ye,
111
111
  locale: Je
112
- } = r, Z = At(() => K ? Ut(w, {
112
+ } = r, J = Vt(() => Y ? Tt(w, {
113
113
  reverse: !0
114
- }) : w, [w, K]), Ke = At(() => !K || !p ? p : Ut(p, {
114
+ }) : w, [w, Y]), Ke = Vt(() => !Y || !p ? p : Tt(p, {
115
115
  reverse: !0
116
- }), [p, K]), [M, O] = S(void 0), [fe, ge] = S(Ee === void 0 ? !(l < 680) : !Ee), ye = qe(null), [$, Q] = S(void 0), [ve, _] = S(void 0), [ze, E] = S(void 0), [Pe, F] = S(void 0), f = qe(null), j = Po(f, {
116
+ }), [p, Y]), [M, O] = S(void 0), [ue, he] = S(Oe === void 0 ? !(s < 680) : !Oe), fe = qe(null), [K, Z] = S(void 0), [ge, z] = S(void 0), [Ie, E] = S(void 0), [ze, V] = S(void 0), f = qe(null), j = Eo(f, {
117
117
  once: b.once,
118
118
  amount: b.amount
119
- }), ne = qe(null), k = e.filter((o) => o.radius === void 0 || o.radius === null).length !== e.length ? Eo().domain([0, pe]).range([0.25, v]).nice() : void 0, _e = re ? Io().domain(n).range(t) : Bo().domain(n).range(t);
119
+ }), ie = qe(null), k = e.filter((o) => o.radius === void 0 || o.radius === null).length !== e.length ? No().domain([0, Se]).range([0.25, v]).nice() : void 0, Pe = ae ? Mo().domain(l).range(t) : So().domain(l).range(t);
120
120
  Ue(() => {
121
- const o = $t(ne.current), i = $t(f.current), u = (d) => {
122
- if (X === "noZoom") return !1;
123
- if (X === "button") return !d.type.includes("wheel");
124
- const Fe = d.type === "wheel", B = d.type.startsWith("touch"), A = d.type === "mousedown" || d.type === "mousemove";
125
- return B ? !0 : Fe ? X === "scroll" ? !0 : d.ctrlKey : A && !d.button && !d.ctrlKey;
126
- }, I = ho().scaleExtent(He).translateExtent(Xe || [[-20, -20], [l + 20, x + 20]]).filter(u).on("zoom", ({
127
- transform: d
121
+ const o = _t(ie.current), i = _t(f.current), h = (n) => {
122
+ if (q === "noZoom") return !1;
123
+ if (q === "button") return !n.type.includes("wheel");
124
+ const F = n.type === "wheel", $e = n.type.startsWith("touch"), Fe = n.type === "mousedown" || n.type === "mousemove";
125
+ return $e ? !0 : F ? q === "scroll" ? !0 : n.ctrlKey : Fe && !n.button && !n.ctrlKey;
126
+ }, _ = co().scaleExtent(He).translateExtent(Xe || [[-20, -20], [s + 20, x + 20]]).filter(h).on("zoom", ({
127
+ transform: n
128
128
  }) => {
129
- o.attr("transform", d);
129
+ o.attr("transform", n);
130
130
  });
131
- i.call(I), ye.current = I;
132
- }, [x, l, X]);
133
- const ee = fo(Z), T = jo(Z), Le = (ee[2] - ee[0]) * 1.15, We = (ee[3] - ee[1]) * 1.15, Ve = l * 190 / 960 * 360 / Le, $e = x * 190 / 678 * 180 / We, L = h * Math.min(Ve, $e), te = ae === "mercator" ? go().rotate(J).center(D || T.geometry.coordinates).translate([l / 2, x / 2]).scale(L) : ae === "equalEarth" ? yo().rotate(J).center(D || T.geometry.coordinates).translate([l / 2, x / 2]).scale(L) : ae === "naturalEarth" ? vo().rotate(J).center(D || T.geometry.coordinates).translate([l / 2, x / 2]).scale(L) : ae === "orthographic" ? xo().rotate(J).center(D || T.geometry.coordinates).translate([l / 2, x / 2]).scale(L) : bo().rotate(J).center(D || T.geometry.coordinates).translate([l / 2, x / 2]).scale(L), oe = wo().projection(te), xe = (o) => {
134
- if (!f.current || !ye.current) return;
135
- $t(f.current).call(ye.current.scaleBy, o === "in" ? 1.2 : 1 / 1.2);
131
+ i.call(_), fe.current = _;
132
+ }, [x, s, q]);
133
+ const Q = mo(J), $ = vo(J), _e = (Q[2] - Q[0]) * 1.15, Le = (Q[3] - Q[1]) * 1.15, We = s * 190 / 960 * 360 / _e, Ve = x * 190 / 678 * 180 / Le, P = u * Math.min(We, Ve), ee = oe === "mercator" ? po().rotate(X).center(D || $.geometry.coordinates).translate([s / 2, x / 2]).scale(P) : oe === "equalEarth" ? uo().rotate(X).center(D || $.geometry.coordinates).translate([s / 2, x / 2]).scale(P) : oe === "naturalEarth" ? ho().rotate(X).center(D || $.geometry.coordinates).translate([s / 2, x / 2]).scale(P) : oe === "orthographic" ? fo().rotate(X).center(D || $.geometry.coordinates).translate([s / 2, x / 2]).scale(P) : go().rotate(X).center(D || $.geometry.coordinates).translate([s / 2, x / 2]).scale(P), te = yo().projection(ee), ye = (o) => {
134
+ if (!f.current || !fe.current) return;
135
+ _t(f.current).call(fe.current.scaleBy, o === "in" ? 1.2 : 1 / 1.2);
136
136
  };
137
137
  return /* @__PURE__ */ a.jsxs(a.Fragment, { children: [
138
138
  /* @__PURE__ */ a.jsxs("div", { className: "relative", children: [
139
- /* @__PURE__ */ a.jsx(se.svg, { width: `${l}px`, height: `${x}px`, viewBox: `0 0 ${l} ${x}`, ref: f, direction: "ltr", children: /* @__PURE__ */ a.jsxs("g", { ref: ne, children: [
140
- me.filter((o) => o.position === "before").map((o) => o.layer),
141
- Z.features.map((o, i) => {
142
- if (!o.properties?.[ue]) return null;
143
- const u = oe(o);
144
- return u ? /* @__PURE__ */ a.jsx(se.g, { opacity: M ? V : ie.length !== 0 ? ie.indexOf(o.properties[ue]) !== -1 ? 1 : V : 1, children: /* @__PURE__ */ a.jsx("path", { d: u, style: {
145
- stroke: de,
146
- strokeWidth: ce,
147
- fill: Ne,
139
+ /* @__PURE__ */ a.jsx(le.svg, { width: `${s}px`, height: `${x}px`, viewBox: `0 0 ${s} ${x}`, ref: f, direction: "ltr", children: /* @__PURE__ */ a.jsxs("g", { ref: ie, children: [
140
+ de.filter((o) => o.position === "before").map((o) => o.layer),
141
+ J.features.map((o, i) => {
142
+ if (!o.properties?.[me]) return null;
143
+ const h = te(o);
144
+ return h ? /* @__PURE__ */ a.jsx(le.g, { opacity: M ? W : re ? re.indexOf(o.properties[me]) !== -1 ? 1 : W : 1, children: /* @__PURE__ */ a.jsx("path", { d: h, style: {
145
+ stroke: ce,
146
+ strokeWidth: se,
147
+ fill: Ce,
148
148
  vectorEffect: "non-scaling-stroke"
149
149
  } }) }, i) : null;
150
150
  }),
151
- /* @__PURE__ */ a.jsxs(_o, { children: [
151
+ /* @__PURE__ */ a.jsxs(Bo, { children: [
152
152
  e.filter((o) => o.id).map((o) => {
153
- const i = Z.features.findIndex(
153
+ const i = J.features.findIndex(
154
154
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
155
- (d) => o.id === d.properties[ue]
155
+ (n) => o.id === n.properties[me]
156
156
  );
157
157
  if (i === -1) return null;
158
- const u = oe(Z.features[i]);
159
- if (!u) return null;
160
- const I = vt(o.x) ? Ne : (
158
+ const h = te(J.features[i]);
159
+ if (!h) return null;
160
+ const _ = yt(o.x) ? Ce : (
161
161
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
162
- _e(o.x)
162
+ Pe(o.x)
163
163
  );
164
- return /* @__PURE__ */ a.jsx(se.g, { className: "undp-map-shapes", variants: {
164
+ return /* @__PURE__ */ a.jsx(le.g, { className: "undp-map-shapes", variants: {
165
165
  initial: {
166
166
  opacity: 0
167
167
  },
168
168
  whileInView: {
169
- opacity: M ? M === I ? 1 : V : ie.length !== 0 ? ie.indexOf(o.id) !== -1 ? 1 : V : 1,
169
+ opacity: M ? M === _ ? 1 : W : re ? re.indexOf(o.id) !== -1 ? 1 : W : 1,
170
170
  transition: {
171
171
  duration: b.duration
172
172
  }
@@ -176,21 +176,21 @@ function Uo(r) {
176
176
  transition: {
177
177
  duration: b.duration
178
178
  }
179
- }, onMouseEnter: (d) => {
180
- _(o), F(d.clientY), E(d.clientX), U?.(o);
181
- }, onMouseMove: (d) => {
182
- _(o), F(d.clientY), E(d.clientX);
179
+ }, onMouseEnter: (n) => {
180
+ z(o), V(n.clientY), E(n.clientX), R?.(o);
181
+ }, onMouseMove: (n) => {
182
+ z(o), V(n.clientY), E(n.clientX);
183
183
  }, onMouseLeave: () => {
184
- _(void 0), E(void 0), F(void 0), U?.(void 0);
184
+ z(void 0), E(void 0), V(void 0), R?.(void 0);
185
185
  }, onClick: () => {
186
- (W || q) && (Gt($, o) && Oe ? (Q(void 0), W?.(void 0)) : (Q(o), W?.(o)));
187
- }, children: /* @__PURE__ */ a.jsx(se.path, { d: u, variants: {
186
+ (L || G) && (Ft(K, o) && Me ? (Z(void 0), L?.(void 0)) : (Z(o), L?.(o)));
187
+ }, children: /* @__PURE__ */ a.jsx(le.path, { d: h, variants: {
188
188
  initial: {
189
- fill: I,
189
+ fill: _,
190
190
  opacity: 0
191
191
  },
192
192
  whileInView: {
193
- fill: I,
193
+ fill: _,
194
194
  opacity: 1,
195
195
  transition: {
196
196
  duration: b.duration
@@ -202,29 +202,29 @@ function Uo(r) {
202
202
  duration: b.duration
203
203
  }
204
204
  }, style: {
205
- stroke: de,
206
- strokeWidth: ce,
205
+ stroke: ce,
206
+ strokeWidth: se,
207
207
  vectorEffect: "non-scaling-stroke"
208
208
  } }, `${o.id}`) }, o.id);
209
209
  }),
210
210
  Ke?.features.map((o, i) => {
211
- const u = oe(o);
212
- return u ? /* @__PURE__ */ a.jsx("g", { children: /* @__PURE__ */ a.jsx("path", { d: u, style: {
213
- stroke: g || de,
214
- strokeWidth: Ye || ce + 1,
211
+ const h = te(o);
212
+ return h ? /* @__PURE__ */ a.jsx("g", { children: /* @__PURE__ */ a.jsx("path", { d: h, style: {
213
+ stroke: g || ce,
214
+ strokeWidth: Ye || se + 1,
215
215
  fill: "none",
216
216
  pointerEvents: "none",
217
217
  vectorEffect: "non-scaling-stroke"
218
218
  } }) }, i) : null;
219
219
  }),
220
- e.filter((o) => !vt(o.lat) && !vt(o.long)).map((o) => {
221
- const i = te([o.long, o.lat])[0] > 0.8 * l ? -1 : 1;
222
- return /* @__PURE__ */ a.jsxs(se.g, { className: "undp-map-dots", variants: {
220
+ e.filter((o) => !yt(o.lat) && !yt(o.long)).map((o) => {
221
+ const i = ee([o.long, o.lat])[0] > 0.8 * s ? -1 : 1;
222
+ return /* @__PURE__ */ a.jsxs(le.g, { className: "undp-map-dots", variants: {
223
223
  initial: {
224
224
  opacity: 0
225
225
  },
226
226
  whileInView: {
227
- opacity: Se.length !== 0 ? Se.indexOf(o.label || "") !== -1 ? 1 : V : 1,
227
+ opacity: Ne ? Ne.indexOf(o.label || "") !== -1 ? 1 : W : 1,
228
228
  transition: {
229
229
  duration: b.duration
230
230
  }
@@ -234,25 +234,25 @@ function Uo(r) {
234
234
  transition: {
235
235
  duration: b.duration
236
236
  }
237
- }, onMouseEnter: (u) => {
238
- _(o), F(u.clientY), E(u.clientX), U?.(o);
239
- }, onMouseMove: (u) => {
240
- _(o), F(u.clientY), E(u.clientX);
237
+ }, onMouseEnter: (h) => {
238
+ z(o), V(h.clientY), E(h.clientX), R?.(o);
239
+ }, onMouseMove: (h) => {
240
+ z(o), V(h.clientY), E(h.clientX);
241
241
  }, onMouseLeave: () => {
242
- _(void 0), E(void 0), F(void 0), U?.(void 0);
242
+ z(void 0), E(void 0), V(void 0), R?.(void 0);
243
243
  }, onClick: () => {
244
- (W || q) && (Gt($, o) && Oe ? (Q(void 0), W?.(void 0)) : (Q(o), W?.(o)));
245
- }, transform: `translate(${te([o.long, o.lat])[0]},${te([o.long, o.lat])[1]})`, children: [
246
- /* @__PURE__ */ a.jsx(se.circle, { cx: 0, cy: 0, variants: {
244
+ (L || G) && (Ft(K, o) && Me ? (Z(void 0), L?.(void 0)) : (Z(o), L?.(o)));
245
+ }, transform: `translate(${ee([o.long, o.lat])[0]},${ee([o.long, o.lat])[1]})`, children: [
246
+ /* @__PURE__ */ a.jsx(le.circle, { cx: 0, cy: 0, variants: {
247
247
  initial: {
248
248
  r: 0,
249
- fill: Y,
250
- stroke: Ie || Y
249
+ fill: H,
250
+ stroke: Ee || H
251
251
  },
252
252
  whileInView: {
253
253
  r: k ? k(o.radius || 0) : v,
254
- fill: Y,
255
- stroke: Ie || Y,
254
+ fill: H,
255
+ stroke: Ee || H,
256
256
  transition: {
257
257
  duration: b.duration
258
258
  }
@@ -266,7 +266,7 @@ function Uo(r) {
266
266
  fillOpacity: 0.8,
267
267
  vectorEffect: "non-scaling-stroke"
268
268
  } }),
269
- P && o.label ? /* @__PURE__ */ a.jsx(se.text, { variants: {
269
+ I && o.label ? /* @__PURE__ */ a.jsx(le.text, { variants: {
270
270
  initial: {
271
271
  opacity: 0,
272
272
  x: i * (k ? k(o.radius || 0) : v)
@@ -283,7 +283,7 @@ function Uo(r) {
283
283
  transition: {
284
284
  duration: b.duration
285
285
  }
286
- }, y: 0, className: Ft("text-sm", H?.graphObjectValues), style: {
286
+ }, y: 0, className: Lt("text-sm", U?.graphObjectValues), style: {
287
287
  textAnchor: i === -1 ? "end" : "start",
288
288
  fill: Be || "#000",
289
289
  vectorEffect: "non-scaling-stroke",
@@ -292,36 +292,36 @@ function Uo(r) {
292
292
  ] }, o.label || `${o.lat}-${o.long}`);
293
293
  })
294
294
  ] }),
295
- me.filter((o) => o.position === "after").map((o) => o.layer)
295
+ de.filter((o) => o.position === "after").map((o) => o.layer)
296
296
  ] }) }),
297
- Me === !1 ? null : /* @__PURE__ */ a.jsx("div", { className: Ft("absolute left-4 bottom-4 map-color-legend", H?.colorLegend), children: fe ? /* @__PURE__ */ a.jsxs(a.Fragment, { children: [
297
+ De === !1 ? null : /* @__PURE__ */ a.jsx("div", { className: Lt("absolute left-4 bottom-4 map-color-legend", U?.colorLegend), children: ue ? /* @__PURE__ */ a.jsxs(a.Fragment, { children: [
298
298
  /* @__PURE__ */ a.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: () => {
299
- ge(!1);
300
- }, children: /* @__PURE__ */ a.jsx(Do, {}) }),
299
+ he(!1);
300
+ }, children: /* @__PURE__ */ a.jsx(wo, {}) }),
301
301
  /* @__PURE__ */ a.jsxs("div", { className: "color-legend-box p-2 bg-[rgba(240,240,240,0.7)] dark:bg-[rgba(30,30,30,0.7)]", style: {
302
- width: re ? void 0 : "340px"
302
+ width: ae ? void 0 : "340px"
303
303
  }, children: [
304
- he && he !== "" ? /* @__PURE__ */ a.jsxs(a.Fragment, { children: [
304
+ pe && pe !== "" ? /* @__PURE__ */ a.jsxs(a.Fragment, { children: [
305
305
  /* @__PURE__ */ a.jsxs("div", { className: "flex items-center gap-2", children: [
306
306
  /* @__PURE__ */ a.jsx("div", { className: "w-3 h-3 rounded-full", style: {
307
- backgroundColor: Y
307
+ backgroundColor: H
308
308
  } }),
309
- /* @__PURE__ */ a.jsx(Vt, { size: "xs", marginBottom: "none", className: "p-0 leading-normal overflow-hidden text-primary-gray-700 dark:text-primary-gray-300", style: {
309
+ /* @__PURE__ */ a.jsx(Pt, { size: "xs", marginBottom: "none", className: "p-0 leading-normal overflow-hidden text-primary-gray-700 dark:text-primary-gray-300", style: {
310
310
  display: "-webkit-box",
311
311
  WebkitLineClamp: "1",
312
312
  WebkitBoxOrient: "vertical"
313
- }, children: he })
313
+ }, children: pe })
314
314
  ] }),
315
- /* @__PURE__ */ a.jsx(qt, { size: "xl" }),
316
- /* @__PURE__ */ a.jsx(Zt, {}),
317
- /* @__PURE__ */ a.jsx(qt, { size: "xl" })
315
+ /* @__PURE__ */ a.jsx(At, { size: "xl" }),
316
+ /* @__PURE__ */ a.jsx(Xt, {}),
317
+ /* @__PURE__ */ a.jsx(At, { size: "xl" })
318
318
  ] }) : null,
319
- y && y !== "" ? /* @__PURE__ */ a.jsx(Vt, { size: "xs", marginBottom: "xs", className: "p-0 leading-normal overflow-hidden text-primary-gray-700 dark:text-primary-gray-300", style: {
319
+ y && y !== "" ? /* @__PURE__ */ a.jsx(Pt, { size: "xs", marginBottom: "xs", className: "p-0 leading-normal overflow-hidden text-primary-gray-700 dark:text-primary-gray-300", style: {
320
320
  display: "-webkit-box",
321
321
  WebkitLineClamp: "1",
322
322
  WebkitBoxOrient: "vertical"
323
323
  }, children: y }) : null,
324
- re ? /* @__PURE__ */ a.jsx("div", { className: "flex flex-col gap-3", children: n.map((o, i) => /* @__PURE__ */ a.jsxs("div", { className: "flex gap-2 items-center", onMouseOver: () => {
324
+ ae ? /* @__PURE__ */ a.jsx("div", { className: "flex flex-col gap-3", children: l.map((o, i) => /* @__PURE__ */ a.jsxs("div", { className: "flex gap-2 items-center", onMouseOver: () => {
325
325
  O(t[i % t.length]);
326
326
  }, onMouseLeave: () => {
327
327
  O(void 0);
@@ -329,9 +329,9 @@ function Uo(r) {
329
329
  /* @__PURE__ */ a.jsx("div", { className: "w-2 h-2 rounded-full", style: {
330
330
  backgroundColor: t[i % t.length]
331
331
  } }),
332
- /* @__PURE__ */ a.jsx(Vt, { size: "sm", marginBottom: "none", leading: "none", children: o })
332
+ /* @__PURE__ */ a.jsx(Pt, { size: "sm", marginBottom: "none", leading: "none", children: o })
333
333
  ] }, i)) }) : /* @__PURE__ */ a.jsx("svg", { width: "100%", viewBox: "0 0 320 30", direction: "ltr", children: /* @__PURE__ */ a.jsxs("g", { children: [
334
- n.map((o, i) => /* @__PURE__ */ a.jsxs("g", { onMouseOver: () => {
334
+ l.map((o, i) => /* @__PURE__ */ a.jsxs("g", { onMouseOver: () => {
335
335
  O(t[i]);
336
336
  }, onMouseLeave: () => {
337
337
  O(void 0);
@@ -344,196 +344,190 @@ function Uo(r) {
344
344
  } }),
345
345
  /* @__PURE__ */ a.jsx("text", { x: (i + 1) * 320 / t.length, y: 25, className: "fill-primary-gray-700 dark:fill-primary-gray-300 text-xs", style: {
346
346
  textAnchor: "middle"
347
- }, children: zo(o, void 0, void 0, void 0, void 0, Je) })
347
+ }, children: Oo(o, void 0, void 0, void 0, void 0, Je) })
348
348
  ] }, i)),
349
349
  /* @__PURE__ */ a.jsx("g", { children: /* @__PURE__ */ a.jsx("rect", { onMouseOver: () => {
350
- O(t[n.length]);
350
+ O(t[l.length]);
351
351
  }, onMouseLeave: () => {
352
352
  O(void 0);
353
- }, x: n.length * 320 / t.length + 1, y: 1, width: 320 / t.length - 2, height: 8, className: `cursor-pointer ${M === t[n.length] ? "stroke-1 stroke-primary-gray-700 dark:stroke-primary-gray-300" : ""}`, style: {
354
- fill: t[n.length],
355
- ...M === t[n.length] ? {} : {
356
- stroke: t[n.length]
353
+ }, x: l.length * 320 / t.length + 1, y: 1, width: 320 / t.length - 2, height: 8, className: `cursor-pointer ${M === t[l.length] ? "stroke-1 stroke-primary-gray-700 dark:stroke-primary-gray-300" : ""}`, style: {
354
+ fill: t[l.length],
355
+ ...M === t[l.length] ? {} : {
356
+ stroke: t[l.length]
357
357
  }
358
358
  } }) })
359
359
  ] }) })
360
360
  ] })
361
361
  ] }) : /* @__PURE__ */ a.jsx("button", { type: "button", className: "p-1 border-0 rounded-[2px] text-primary-gray-700 bg-primary-gray-300 dark:bg-primary-gray-500 map-legend-button", onClick: () => {
362
- ge(!0);
363
- }, children: /* @__PURE__ */ a.jsx(No, {}) }) }),
364
- X === "button" && /* @__PURE__ */ a.jsxs("div", { className: "absolute left-4 top-4 flex flex-col zoom-buttons", children: [
365
- /* @__PURE__ */ a.jsx("button", { onClick: () => xe("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: "+" }),
366
- /* @__PURE__ */ a.jsx("button", { onClick: () => xe("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: "–" })
362
+ he(!0);
363
+ }, children: /* @__PURE__ */ a.jsx(jo, {}) }) }),
364
+ q === "button" && /* @__PURE__ */ a.jsxs("div", { className: "absolute left-4 top-4 flex flex-col zoom-buttons", children: [
365
+ /* @__PURE__ */ a.jsx("button", { onClick: () => ye("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: "+" }),
366
+ /* @__PURE__ */ a.jsx("button", { onClick: () => ye("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: "–" })
367
367
  ] })
368
368
  ] }),
369
- q && $ !== void 0 ? /* @__PURE__ */ a.jsx(Oo, { body: q, data: $, setData: Q, className: H?.modal }) : null,
370
- ve && C && ze && Pe ? /* @__PURE__ */ a.jsx(Co, { data: ve, body: C, xPos: ze, yPos: Pe, backgroundStyle: N?.tooltip, className: H?.tooltip }) : null
369
+ G && K !== void 0 ? /* @__PURE__ */ a.jsx(Do, { body: G, data: K, setData: Z, className: U?.modal }) : null,
370
+ ge && C && Ie && ze ? /* @__PURE__ */ a.jsx(bo, { data: ge, body: C, xPos: Ie, yPos: ze, backgroundStyle: N?.tooltip, className: U?.tooltip }) : null
371
371
  ] });
372
372
  }
373
- function za(r) {
374
- const e = io.c(145), {
373
+ function Oa(r) {
374
+ const e = to.c(141), {
375
375
  data: t,
376
376
  mapData: w,
377
377
  graphTitle: y,
378
- colors: n,
378
+ colors: l,
379
379
  sources: v,
380
380
  graphDescription: x,
381
- height: l,
382
- width: h,
381
+ height: s,
382
+ width: u,
383
383
  footNote: D,
384
384
  mapColorLegendTitle: C,
385
- colorDomain: P,
386
- choroplethScaleType: ce,
387
- radius: de,
388
- scale: Ne,
389
- centerPoint: U,
390
- padding: Me,
385
+ colorDomain: I,
386
+ choroplethScaleType: se,
387
+ radius: ce,
388
+ scale: Ce,
389
+ centerPoint: R,
390
+ padding: De,
391
391
  mapBorderWidth: He,
392
392
  mapNoDataColor: Xe,
393
- backgroundColor: Se,
394
- showLabels: W,
395
- mapBorderColor: Oe,
396
- tooltip: q,
393
+ backgroundColor: Ne,
394
+ showLabels: L,
395
+ mapBorderColor: Me,
396
+ tooltip: G,
397
397
  relativeHeight: N,
398
- onSeriesMouseOver: H,
399
- isWorldMap: ae,
400
- showColorScale: X,
398
+ onSeriesMouseOver: U,
399
+ isWorldMap: oe,
400
+ showColorScale: q,
401
401
  zoomScaleExtend: b,
402
- zoomTranslateExtend: V,
403
- graphID: me,
404
- highlightedDataPoints: pe,
405
- onSeriesMouseClick: re,
406
- graphDownload: Y,
407
- dataDownload: Ee,
408
- showAntarctica: ie,
409
- language: ue,
410
- minHeight: he,
411
- theme: Ie,
402
+ zoomTranslateExtend: W,
403
+ graphID: de,
404
+ highlightedDataPoints: Se,
405
+ onSeriesMouseClick: ae,
406
+ graphDownload: H,
407
+ dataDownload: Oe,
408
+ showAntarctica: re,
409
+ language: me,
410
+ minHeight: pe,
411
+ theme: Ee,
412
412
  ariaLabel: Be,
413
- resetSelectionOnDoubleClick: J,
414
- detailsOnClick: K,
413
+ resetSelectionOnDoubleClick: X,
414
+ detailsOnClick: Y,
415
415
  styles: p,
416
416
  classNames: g,
417
417
  mapProjection: Ye,
418
418
  zoomInteraction: Je,
419
- animate: Z,
419
+ animate: J,
420
420
  dimmedOpacity: Ke,
421
421
  customLayers: M,
422
422
  maxRadiusValue: O,
423
- timeline: fe,
424
- collapseColorScaleByDefault: ge,
425
- dotColor: ye,
426
- highlightedIds: $,
427
- mapProperty: Q,
428
- dotLegendTitle: ve,
429
- dotBorderColor: _,
430
- labelColor: ze,
423
+ timeline: ue,
424
+ collapseColorScaleByDefault: he,
425
+ dotColor: fe,
426
+ highlightedIds: K,
427
+ mapProperty: Z,
428
+ dotLegendTitle: ge,
429
+ dotBorderColor: z,
430
+ labelColor: Ie,
431
431
  projectionRotate: E,
432
- rewindCoordinatesInMapData: Pe,
433
- locale: F,
432
+ rewindCoordinatesInMapData: ze,
433
+ locale: V,
434
434
  mapOverlay: f
435
- } = r, j = w === void 0 ? "https://raw.githubusercontent.com/UNDP-Data/dv-country-geojson/refs/heads/main/worldMap-v2.json" : w, ne = 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, k = ce === void 0 ? "threshold" : ce, _e = de === void 0 ? 5 : de, ee = Ne === void 0 ? 0.95 : Ne, T = He === void 0 ? 0.5 : He, Le = Xe === void 0 ? De.light.graphNoData : Xe, We = Se === void 0 ? !1 : Se, Ve = W === void 0 ? !1 : W, $e = Oe === void 0 ? De.light.grays["gray-500"] : Oe, L = ae === void 0 ? !0 : ae, te = X === void 0 ? !0 : X;
436
- let oe;
437
- e[0] !== b ? (oe = b === void 0 ? [0.8, 6] : b, e[0] = b, e[1] = oe) : oe = e[1];
438
- const xe = oe;
439
- let o;
440
- e[2] !== pe ? (o = pe === void 0 ? [] : pe, e[2] = pe, e[3] = o) : o = e[3];
441
- const i = o, u = Y === void 0 ? !1 : Y, I = Ee === void 0 ? !1 : Ee, d = ie === void 0 ? !1 : ie, Fe = ue === void 0 ? "en" : ue, B = he === void 0 ? 0 : he, A = Ie === void 0 ? "light" : Ie, xt = J === void 0 ? !0 : J, bt = Ye === void 0 ? "naturalEarth" : Ye, wt = Je === void 0 ? "button" : Je, Ze = Z === void 0 ? !1 : Z, jt = Ke === void 0 ? 0.3 : Ke;
435
+ } = r, j = w === void 0 ? "https://raw.githubusercontent.com/UNDP-Data/dv-country-geojson/refs/heads/main/worldMap-v2.json" : w, ie = 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, k = se === void 0 ? "threshold" : se, Pe = ce === void 0 ? 5 : ce, Q = Ce === void 0 ? 0.95 : Ce, $ = He === void 0 ? 0.5 : He, _e = Xe === void 0 ? ke.light.graphNoData : Xe, Le = Ne === void 0 ? !1 : Ne, We = L === void 0 ? !1 : L, Ve = Me === void 0 ? ke.light.grays["gray-500"] : Me, P = oe === void 0 ? !0 : oe, ee = q === void 0 ? !0 : q;
436
+ let te;
437
+ e[0] !== b ? (te = b === void 0 ? [0.8, 6] : b, e[0] = b, e[1] = te) : te = e[1];
438
+ const ye = te, o = H === void 0 ? !1 : H, i = Oe === void 0 ? !1 : Oe, h = re === void 0 ? !1 : re, _ = me === void 0 ? "en" : me, n = pe === void 0 ? 0 : pe, F = Ee === void 0 ? "light" : Ee, $e = X === void 0 ? !0 : X, Fe = Ye === void 0 ? "naturalEarth" : Ye, vt = Je === void 0 ? "button" : Je, Ze = J === void 0 ? !1 : J, xt = Ke === void 0 ? 0.3 : Ke;
442
439
  let Qe;
443
- e[4] !== M ? (Qe = M === void 0 ? [] : M, e[4] = M, e[5] = Qe) : Qe = e[5];
444
- const kt = Qe;
440
+ e[2] !== M ? (Qe = M === void 0 ? [] : M, e[2] = M, e[3] = Qe) : Qe = e[3];
441
+ const bt = Qe;
445
442
  let et;
446
- e[6] !== fe ? (et = fe === void 0 ? {
443
+ e[4] !== ue ? (et = ue === void 0 ? {
447
444
  enabled: !1,
448
445
  autoplay: !1,
449
446
  showOnlyActiveDate: !0
450
- } : fe, e[6] = fe, e[7] = et) : et = e[7];
451
- const s = et, Ct = ye === void 0 ? De.primaryColors["blue-600"] : ye;
447
+ } : ue, e[4] = ue, e[5] = et) : et = e[5];
448
+ const c = et, wt = fe === void 0 ? ke.primaryColors["blue-600"] : fe, jt = Z === void 0 ? "ISO3" : Z, kt = Ie === void 0 ? ke.primaryColors["blue-600"] : Ie;
452
449
  let tt;
453
- e[8] !== $ ? (tt = $ === void 0 ? [] : $, e[8] = $, e[9] = tt) : tt = e[9];
454
- const Dt = tt, Nt = Q === void 0 ? "ISO3" : Q, Mt = ze === void 0 ? De.primaryColors["blue-600"] : ze;
455
- let ot;
456
- e[10] !== E ? (ot = E === void 0 ? [0, 0] : E, e[10] = E, e[11] = ot) : ot = e[11];
457
- const St = ot, Ot = Pe === void 0 ? !0 : Pe, Et = F === void 0 ? "en" : F, [le, Qt] = S(0), [Te, eo] = S(0), [R, to] = S(s.autoplay);
450
+ e[6] !== E ? (tt = E === void 0 ? [0, 0] : E, e[6] = E, e[7] = tt) : tt = e[7];
451
+ const Ct = tt, Dt = ze === void 0 ? !0 : ze, Nt = V === void 0 ? "en" : V, [ne, Yt] = S(0), [Te, Jt] = S(0), [T, Kt] = S(c.autoplay);
458
452
  let Ae;
459
- if (e[12] !== t || e[13] !== s.dateFormat) {
460
- let c;
461
- e[15] !== s.dateFormat ? (c = (z) => co(`${z.date}`, s.dateFormat || "yyyy", /* @__PURE__ */ new Date()).getTime(), e[15] = s.dateFormat, e[16] = c) : c = e[16], Ae = [...new Set(t.filter(oa).map(c))], Ae.sort(ta), e[12] = t, e[13] = s.dateFormat, e[14] = Ae;
453
+ if (e[8] !== t || e[9] !== c.dateFormat) {
454
+ let d;
455
+ e[11] !== c.dateFormat ? (d = (B) => io(`${B.date}`, c.dateFormat || "yyyy", /* @__PURE__ */ new Date()).getTime(), e[11] = c.dateFormat, e[12] = d) : d = e[12], Ae = [...new Set(t.filter(Zo).map(d))], Ae.sort(Ko), e[8] = t, e[9] = c.dateFormat, e[10] = Ae;
462
456
  } else
463
- Ae = e[14];
464
- const m = Ae, [G, It] = S(s.autoplay ? 0 : m.length - 1), [be, oo] = S(void 0), [Bt, ao] = S(void 0), zt = qe(null), Tt = qe(null);
465
- let at;
466
- e[17] !== k || e[18] !== P || e[19] !== n?.length || e[20] !== t ? (at = P || (k === "categorical" ? Fo(t, "x") : To(t.map(ea), n?.length || 4)), e[17] = k, e[18] = P, e[19] = n?.length, e[20] = t, e[21] = at) : at = e[21];
467
- const Re = at;
468
- let rt, it;
469
- e[22] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (rt = () => {
470
- const c = new ResizeObserver((z) => {
471
- Qt(z[0].target.clientWidth || 620), eo(z[0].target.clientHeight || 480);
457
+ Ae = e[10];
458
+ const m = Ae, [A, Mt] = S(c.autoplay ? 0 : m.length - 1), [ve, Zt] = S(void 0), [St, Qt] = S(void 0), Ot = qe(null), Wt = qe(null);
459
+ let ot;
460
+ e[13] !== k || e[14] !== I || e[15] !== l?.length || e[16] !== t ? (ot = I || (k === "categorical" ? Lo(t, "x") : Wo(t.map(Jo), l?.length || 4)), e[13] = k, e[14] = I, e[15] = l?.length, e[16] = t, e[17] = ot) : ot = e[17];
461
+ const Re = ot;
462
+ let at, rt;
463
+ e[18] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (at = () => {
464
+ const d = new ResizeObserver((B) => {
465
+ Yt(B[0].target.clientWidth || 620), Jt(B[0].target.clientHeight || 480);
472
466
  });
473
- return zt.current && c.observe(zt.current), () => c.disconnect();
474
- }, it = [], e[22] = rt, e[23] = it) : (rt = e[22], it = e[23]), Ue(rt, it);
475
- let nt;
476
- e[24] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (nt = (c) => {
477
- oo(c);
478
- }, e[24] = nt) : nt = e[24];
479
- const lt = Rt(nt);
467
+ return Ot.current && d.observe(Ot.current), () => d.disconnect();
468
+ }, rt = [], e[18] = at, e[19] = rt) : (at = e[18], rt = e[19]), Ue(at, rt);
469
+ let it;
470
+ e[20] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (it = (d) => {
471
+ Zt(d);
472
+ }, e[20] = it) : it = e[20];
473
+ const nt = $t(it);
474
+ let lt;
475
+ e[21] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (lt = (d) => {
476
+ Qt(d);
477
+ }, e[21] = lt) : lt = e[21];
478
+ const Ge = $t(lt);
480
479
  let st;
481
- e[25] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (st = (c) => {
482
- ao(c);
483
- }, e[25] = st) : st = e[25];
484
- const Ge = Rt(st);
480
+ e[22] !== j || e[23] !== nt ? (st = () => {
481
+ typeof j == "string" ? Rt(j).then((B) => {
482
+ nt(B);
483
+ }) : nt(j);
484
+ }, e[22] = j, e[23] = nt, e[24] = st) : st = e[24];
485
485
  let ct;
486
- e[26] !== j || e[27] !== lt ? (ct = () => {
487
- typeof j == "string" ? Ht(j).then((z) => {
488
- lt(z);
489
- }) : lt(j);
490
- }, e[26] = j, e[27] = lt, e[28] = ct) : ct = e[28];
486
+ e[25] !== j ? (ct = [j], e[25] = j, e[26] = ct) : ct = e[26], Ue(st, ct);
491
487
  let dt;
492
- e[29] !== j ? (dt = [j], e[29] = j, e[30] = dt) : dt = e[30], Ue(ct, dt);
493
- let mt;
494
- e[31] !== f?.mapData || e[32] !== Ge ? (mt = () => {
495
- f?.mapData || Ge(void 0), typeof f?.mapData == "string" ? Ht(f?.mapData).then((z) => {
496
- Ge(z);
488
+ e[27] !== f?.mapData || e[28] !== Ge ? (dt = () => {
489
+ f?.mapData || Ge(void 0), typeof f?.mapData == "string" ? Rt(f?.mapData).then((B) => {
490
+ Ge(B);
497
491
  }) : Ge(f?.mapData);
498
- }, e[31] = f?.mapData, e[32] = Ge, e[33] = mt) : mt = e[33];
499
- const Pt = f?.mapData;
500
- let pt;
501
- e[34] !== Pt ? (pt = [Pt], e[34] = Pt, e[35] = pt) : pt = e[35], Ue(mt, pt);
502
- let ut, ht;
503
- e[36] !== R || e[37] !== s.speed || e[38] !== m ? (ut = () => {
504
- const c = setInterval(() => {
505
- It((z) => z < m.length - 1 ? z + 1 : 0);
506
- }, (s.speed || 2) * 1e3);
507
- return R || clearInterval(c), () => clearInterval(c);
508
- }, ht = [m, R, s.speed], e[36] = R, e[37] = s.speed, e[38] = m, e[39] = ut, e[40] = ht) : (ut = e[39], ht = e[40]), Ue(ut, ht);
509
- const _t = s.dateFormat || "yyyy";
510
- let ft;
511
- e[41] !== G || e[42] !== _t || e[43] !== s.showOnlyActiveDate || e[44] !== m ? (ft = mo(m, G, s.showOnlyActiveDate, _t), e[41] = G, e[42] = _t, e[43] = s.showOnlyActiveDate, e[44] = m, e[45] = ft) : ft = e[45];
512
- const gt = ft, Lt = g?.graphContainer, Wt = p?.graphContainer;
513
- let we;
514
- e[46] !== g?.description || e[47] !== g?.title || e[48] !== t || e[49] !== I || e[50] !== x || e[51] !== u || e[52] !== y || e[53] !== p?.description || e[54] !== p?.title || e[55] !== h ? (we = y || x || u || I ? /* @__PURE__ */ a.jsx(Wo, { styles: {
492
+ }, e[27] = f?.mapData, e[28] = Ge, e[29] = dt) : dt = e[29];
493
+ const Et = f?.mapData;
494
+ let mt;
495
+ e[30] !== Et ? (mt = [Et], e[30] = Et, e[31] = mt) : mt = e[31], Ue(dt, mt);
496
+ let pt, ut;
497
+ e[32] !== T || e[33] !== c.speed || e[34] !== m ? (pt = () => {
498
+ const d = setInterval(() => {
499
+ Mt((B) => B < m.length - 1 ? B + 1 : 0);
500
+ }, (c.speed || 2) * 1e3);
501
+ return T || clearInterval(d), () => clearInterval(d);
502
+ }, ut = [m, T, c.speed], e[32] = T, e[33] = c.speed, e[34] = m, e[35] = pt, e[36] = ut) : (pt = e[35], ut = e[36]), Ue(pt, ut);
503
+ const Bt = c.dateFormat || "yyyy";
504
+ let ht;
505
+ e[37] !== A || e[38] !== Bt || e[39] !== c.showOnlyActiveDate || e[40] !== m ? (ht = no(m, A, c.showOnlyActiveDate, Bt), e[37] = A, e[38] = Bt, e[39] = c.showOnlyActiveDate, e[40] = m, e[41] = ht) : ht = e[41];
506
+ const ft = ht, It = g?.graphContainer, zt = p?.graphContainer;
507
+ let xe;
508
+ e[42] !== g?.description || e[43] !== g?.title || e[44] !== t || e[45] !== i || e[46] !== x || e[47] !== o || e[48] !== y || e[49] !== p?.description || e[50] !== p?.title || e[51] !== u ? (xe = y || x || o || i ? /* @__PURE__ */ a.jsx(zo, { styles: {
515
509
  title: p?.title,
516
510
  description: p?.description
517
511
  }, classNames: {
518
512
  title: g?.title,
519
513
  description: g?.description
520
- }, graphTitle: y, graphDescription: x, width: h, graphDownload: u ? Tt : void 0, dataDownload: I ? t.map(Qo).filter(Zo).length > 0 ? t.map(Ko).filter(Jo) : t.filter(Yo) : null }) : null, e[46] = g?.description, e[47] = g?.title, e[48] = t, e[49] = I, e[50] = x, e[51] = u, e[52] = y, e[53] = p?.description, e[54] = p?.title, e[55] = h, e[56] = we) : we = e[56];
521
- let je;
522
- e[57] !== G || e[58] !== gt || e[59] !== R || e[60] !== s.enabled || e[61] !== m ? (je = s.enabled && m.length > 0 && gt ? /* @__PURE__ */ a.jsxs("div", { className: "flex gap-6 items-center", dir: "ltr", children: [
514
+ }, graphTitle: y, graphDescription: x, width: u, graphDownload: o ? Wt : void 0, dataDownload: i ? t.map(Yo).filter(Xo).length > 0 ? t.map(Ho).filter(qo) : t.filter(Uo) : null }) : null, e[42] = g?.description, e[43] = g?.title, e[44] = t, e[45] = i, e[46] = x, e[47] = o, e[48] = y, e[49] = p?.description, e[50] = p?.title, e[51] = u, e[52] = xe) : xe = e[52];
515
+ let be;
516
+ e[53] !== A || e[54] !== ft || e[55] !== T || e[56] !== c.enabled || e[57] !== m ? (be = c.enabled && m.length > 0 && ft ? /* @__PURE__ */ a.jsxs("div", { className: "flex gap-6 items-center", dir: "ltr", children: [
523
517
  /* @__PURE__ */ a.jsx("button", { type: "button", onClick: () => {
524
- to(!R);
525
- }, className: "p-0 border-0 cursor-pointer bg-transparent", "aria-label": R ? "Click to pause animation" : "Click to play animation", children: R ? /* @__PURE__ */ a.jsx(Mo, {}) : /* @__PURE__ */ a.jsx(So, {}) }),
526
- /* @__PURE__ */ a.jsx(po, { min: m[0], max: m[m.length - 1], marks: gt, step: null, defaultValue: m[m.length - 1], value: m[G], onChangeComplete: (c) => {
527
- It(m.indexOf(c));
528
- }, onChange: (c) => {
529
- It(m.indexOf(c));
518
+ Kt(!T);
519
+ }, className: "p-0 border-0 cursor-pointer bg-transparent", "aria-label": T ? "Click to pause animation" : "Click to play animation", children: T ? /* @__PURE__ */ a.jsx(ko, {}) : /* @__PURE__ */ a.jsx(Co, {}) }),
520
+ /* @__PURE__ */ a.jsx(lo, { min: m[0], max: m[m.length - 1], marks: ft, step: null, defaultValue: m[m.length - 1], value: m[A], onChangeComplete: (d) => {
521
+ Mt(m.indexOf(d));
522
+ }, onChange: (d) => {
523
+ Mt(m.indexOf(d));
530
524
  }, "aria-label": "Time slider. Use arrow keys to adjust selected time period." })
531
- ] }) : null, e[57] = G, e[58] = gt, e[59] = R, e[60] = s.enabled, e[61] = m, e[62] = je) : je = e[62];
532
- let ke;
533
- e[63] !== Ze || e[64] !== U || e[65] !== k || e[66] !== g || e[67] !== ge || e[68] !== n || e[69] !== kt || e[70] !== t || e[71] !== K || e[72] !== jt || e[73] !== Re || e[74] !== _ || e[75] !== Ct || e[76] !== ve || e[77] !== l || e[78] !== i || e[79] !== Dt || e[80] !== G || e[81] !== L || e[82] !== Mt || e[83] !== Et || e[84] !== $e || e[85] !== T || e[86] !== C || e[87] !== Le || e[88] !== f?.mapBorderColor || e[89] !== f?.mapBorderWidth || e[90] !== bt || e[91] !== Nt || e[92] !== be || e[93] !== O || e[94] !== B || e[95] !== re || e[96] !== H || e[97] !== Bt || e[98] !== St || e[99] !== _e || e[100] !== N || e[101] !== xt || e[102] !== Ot || e[103] !== ee || e[104] !== d || e[105] !== te || e[106] !== Ve || e[107] !== p || e[108] !== Te || e[109] !== le || e[110] !== A || e[111] !== s.dateFormat || e[112] !== s.enabled || e[113] !== q || e[114] !== m || e[115] !== h || e[116] !== wt || e[117] !== xe || e[118] !== V ? (ke = /* @__PURE__ */ a.jsx(Vo, { ref: zt, children: le && Te && be ? /* @__PURE__ */ a.jsx(Uo, { dotColor: Ct, data: t.filter((c) => s.enabled ? `${c.date}` === so(new Date(m[G]), s.dateFormat || "yyyy") : c), mapData: d ? be : {
534
- ...be,
535
- features: be.features.filter(Xo)
536
- }, overlayMapData: Bt, overlayMapBorderColor: f?.mapBorderColor, overlayMapBorderWidth: f?.mapBorderWidth, colorDomain: Re, width: le, height: Te, scale: ee, centerPoint: U, colors: n || (k === "categorical" ? De[A].sequentialColors[`neutralColorsx0${Re.length}`] : De[A].sequentialColors[`neutralColorsx0${Re.length + 1}`]), mapColorLegendTitle: C, radius: _e, categorical: k === "categorical", mapBorderWidth: T, mapNoDataColor: Le, mapBorderColor: $e, tooltip: q, onSeriesMouseOver: H, showLabels: Ve, isWorldMap: L, showColorScale: te, zoomScaleExtend: xe, zoomTranslateExtend: V, onSeriesMouseClick: re, highlightedDataPoints: i, resetSelectionOnDoubleClick: xt, styles: p, classNames: g, zoomInteraction: wt, detailsOnClick: K, mapProjection: bt || (L ? "naturalEarth" : "mercator"), animate: Ze === !0 ? {
525
+ ] }) : null, e[53] = A, e[54] = ft, e[55] = T, e[56] = c.enabled, e[57] = m, e[58] = be) : be = e[58];
526
+ let we;
527
+ e[59] !== Ze || e[60] !== R || e[61] !== k || e[62] !== g || e[63] !== he || e[64] !== l || e[65] !== bt || e[66] !== t || e[67] !== Y || e[68] !== xt || e[69] !== Re || e[70] !== z || e[71] !== wt || e[72] !== ge || e[73] !== s || e[74] !== Se || e[75] !== K || e[76] !== A || e[77] !== P || e[78] !== kt || e[79] !== Nt || e[80] !== Ve || e[81] !== $ || e[82] !== C || e[83] !== _e || e[84] !== f?.mapBorderColor || e[85] !== f?.mapBorderWidth || e[86] !== Fe || e[87] !== jt || e[88] !== ve || e[89] !== O || e[90] !== n || e[91] !== ae || e[92] !== U || e[93] !== St || e[94] !== Ct || e[95] !== Pe || e[96] !== N || e[97] !== $e || e[98] !== Dt || e[99] !== Q || e[100] !== h || e[101] !== ee || e[102] !== We || e[103] !== p || e[104] !== Te || e[105] !== ne || e[106] !== F || e[107] !== c.dateFormat || e[108] !== c.enabled || e[109] !== G || e[110] !== m || e[111] !== u || e[112] !== vt || e[113] !== ye || e[114] !== W ? (we = /* @__PURE__ */ a.jsx(Po, { ref: Ot, children: ne && Te && ve ? /* @__PURE__ */ a.jsx(To, { dotColor: wt, data: t.filter((d) => c.enabled ? `${d.date}` === ro(new Date(m[A]), c.dateFormat || "yyyy") : d), mapData: h ? ve : {
528
+ ...ve,
529
+ features: ve.features.filter(Go)
530
+ }, overlayMapData: St, overlayMapBorderColor: f?.mapBorderColor, overlayMapBorderWidth: f?.mapBorderWidth, colorDomain: Re, width: ne, height: Te, scale: Q, centerPoint: R, colors: l || (k === "categorical" ? ke[F].sequentialColors[`neutralColorsx0${Re.length}`] : ke[F].sequentialColors[`neutralColorsx0${Re.length + 1}`]), mapColorLegendTitle: C, radius: Pe, categorical: k === "categorical", mapBorderWidth: $, mapNoDataColor: _e, mapBorderColor: Ve, tooltip: G, onSeriesMouseOver: U, showLabels: We, isWorldMap: P, showColorScale: ee, zoomScaleExtend: ye, zoomTranslateExtend: W, onSeriesMouseClick: ae, highlightedDataPoints: Se, resetSelectionOnDoubleClick: $e, styles: p, classNames: g, zoomInteraction: vt, detailsOnClick: Y, mapProjection: Fe || (P ? "naturalEarth" : "mercator"), animate: Ze === !0 ? {
537
531
  duration: 0.5,
538
532
  once: !0,
539
533
  amount: 0.5
@@ -541,59 +535,59 @@ function za(r) {
541
535
  duration: 0,
542
536
  once: !0,
543
537
  amount: 0
544
- }, dimmedOpacity: jt, customLayers: kt, maxRadiusValue: vt(O) ? Math.max(...t.map(Ho).filter(qo)) : O, collapseColorScaleByDefault: ge, highlightedIds: Dt, mapProperty: Nt, dotLegendTitle: ve, dotBorderColor: _, labelColor: Mt, projectionRotate: St, rewindCoordinatesInMapData: Ot, locale: Et }) : /* @__PURE__ */ a.jsx("div", { style: {
545
- height: `${Math.max(B, l || (N ? B ? (h || le) * N > B ? (h || le) * N : B : (h || le) * N : Te))}px`
546
- }, className: "flex items-center justify-center", children: /* @__PURE__ */ a.jsx(uo, { "aria-label": "Loading graph" }) }) }), e[63] = Ze, e[64] = U, e[65] = k, e[66] = g, e[67] = ge, e[68] = n, e[69] = kt, e[70] = t, e[71] = K, e[72] = jt, e[73] = Re, e[74] = _, e[75] = Ct, e[76] = ve, e[77] = l, e[78] = i, e[79] = Dt, e[80] = G, e[81] = L, e[82] = Mt, e[83] = Et, e[84] = $e, e[85] = T, e[86] = C, e[87] = Le, e[88] = f?.mapBorderColor, e[89] = f?.mapBorderWidth, e[90] = bt, e[91] = Nt, e[92] = be, e[93] = O, e[94] = B, e[95] = re, e[96] = H, e[97] = Bt, e[98] = St, e[99] = _e, e[100] = N, e[101] = xt, e[102] = Ot, e[103] = ee, e[104] = d, e[105] = te, e[106] = Ve, e[107] = p, e[108] = Te, e[109] = le, e[110] = A, e[111] = s.dateFormat, e[112] = s.enabled, e[113] = q, e[114] = m, e[115] = h, e[116] = wt, e[117] = xe, e[118] = V, e[119] = ke) : ke = e[119];
547
- let Ce;
548
- e[120] !== g?.footnote || e[121] !== g?.source || e[122] !== ne || e[123] !== v || e[124] !== p?.footnote || e[125] !== p?.source || e[126] !== h ? (Ce = v || ne ? /* @__PURE__ */ a.jsx(Lo, { styles: {
538
+ }, dimmedOpacity: xt, customLayers: bt, maxRadiusValue: yt(O) ? Math.max(...t.map(Ro).filter(Ao)) : O, collapseColorScaleByDefault: he, highlightedIds: K, mapProperty: jt, dotLegendTitle: ge, dotBorderColor: z, labelColor: kt, projectionRotate: Ct, rewindCoordinatesInMapData: Dt, locale: Nt }) : /* @__PURE__ */ a.jsx("div", { style: {
539
+ height: `${Math.max(n, s || (N ? n ? (u || ne) * N > n ? (u || ne) * N : n : (u || ne) * N : Te))}px`
540
+ }, className: "flex items-center justify-center", children: /* @__PURE__ */ a.jsx(so, { "aria-label": "Loading graph" }) }) }), e[59] = Ze, e[60] = R, e[61] = k, e[62] = g, e[63] = he, e[64] = l, e[65] = bt, e[66] = t, e[67] = Y, e[68] = xt, e[69] = Re, e[70] = z, e[71] = wt, e[72] = ge, e[73] = s, e[74] = Se, e[75] = K, e[76] = A, e[77] = P, e[78] = kt, e[79] = Nt, e[80] = Ve, e[81] = $, e[82] = C, e[83] = _e, e[84] = f?.mapBorderColor, e[85] = f?.mapBorderWidth, e[86] = Fe, e[87] = jt, e[88] = ve, e[89] = O, e[90] = n, e[91] = ae, e[92] = U, e[93] = St, e[94] = Ct, e[95] = Pe, e[96] = N, e[97] = $e, e[98] = Dt, e[99] = Q, e[100] = h, e[101] = ee, e[102] = We, e[103] = p, e[104] = Te, e[105] = ne, e[106] = F, e[107] = c.dateFormat, e[108] = c.enabled, e[109] = G, e[110] = m, e[111] = u, e[112] = vt, e[113] = ye, e[114] = W, e[115] = we) : we = e[115];
541
+ let je;
542
+ e[116] !== g?.footnote || e[117] !== g?.source || e[118] !== ie || e[119] !== v || e[120] !== p?.footnote || e[121] !== p?.source || e[122] !== u ? (je = v || ie ? /* @__PURE__ */ a.jsx(Io, { styles: {
549
543
  footnote: p?.footnote,
550
544
  source: p?.source
551
545
  }, classNames: {
552
546
  footnote: g?.footnote,
553
547
  source: g?.source
554
- }, sources: v, footNote: ne, width: h }) : null, e[120] = g?.footnote, e[121] = g?.source, e[122] = ne, e[123] = v, e[124] = p?.footnote, e[125] = p?.source, e[126] = h, e[127] = Ce) : Ce = e[127];
555
- let yt;
556
- return e[128] !== Be || e[129] !== We || e[130] !== me || e[131] !== l || e[132] !== Fe || e[133] !== B || e[134] !== Me || e[135] !== N || e[136] !== Lt || e[137] !== Wt || e[138] !== we || e[139] !== je || e[140] !== ke || e[141] !== Ce || e[142] !== A || e[143] !== h ? (yt = /* @__PURE__ */ a.jsxs($o, { className: Lt, style: Wt, id: me, ref: Tt, "aria-label": Be, backgroundColor: We, theme: A, language: Fe, minHeight: B, width: h, height: l, relativeHeight: N, padding: Me, children: [
548
+ }, sources: v, footNote: ie, width: u }) : null, e[116] = g?.footnote, e[117] = g?.source, e[118] = ie, e[119] = v, e[120] = p?.footnote, e[121] = p?.source, e[122] = u, e[123] = je) : je = e[123];
549
+ let gt;
550
+ return e[124] !== Be || e[125] !== Le || e[126] !== de || e[127] !== s || e[128] !== _ || e[129] !== n || e[130] !== De || e[131] !== N || e[132] !== It || e[133] !== zt || e[134] !== xe || e[135] !== be || e[136] !== we || e[137] !== je || e[138] !== F || e[139] !== u ? (gt = /* @__PURE__ */ a.jsxs(_o, { className: It, style: zt, id: de, ref: Wt, "aria-label": Be, backgroundColor: Le, theme: F, language: _, minHeight: n, width: u, height: s, relativeHeight: N, padding: De, children: [
551
+ xe,
552
+ be,
557
553
  we,
558
- je,
559
- ke,
560
- Ce
561
- ] }), e[128] = Be, e[129] = We, e[130] = me, e[131] = l, e[132] = Fe, e[133] = B, e[134] = Me, e[135] = N, e[136] = Lt, e[137] = Wt, e[138] = we, e[139] = je, e[140] = ke, e[141] = Ce, e[142] = A, e[143] = h, e[144] = yt) : yt = e[144], yt;
554
+ je
555
+ ] }), e[124] = Be, e[125] = Le, e[126] = de, e[127] = s, e[128] = _, e[129] = n, e[130] = De, e[131] = N, e[132] = It, e[133] = zt, e[134] = xe, e[135] = be, e[136] = we, e[137] = je, e[138] = F, e[139] = u, e[140] = gt) : gt = e[140], gt;
562
556
  }
563
- function qo(r) {
557
+ function Ao(r) {
564
558
  return r != null;
565
559
  }
566
- function Ho(r) {
560
+ function Ro(r) {
567
561
  return r.radius;
568
562
  }
569
- function Xo(r) {
563
+ function Go(r) {
570
564
  return r.properties?.NAME !== "Antarctica";
571
565
  }
572
- function Yo(r) {
566
+ function Uo(r) {
573
567
  return r !== void 0;
574
568
  }
575
- function Jo(r) {
569
+ function qo(r) {
576
570
  return r !== void 0;
577
571
  }
578
- function Ko(r) {
572
+ function Ho(r) {
579
573
  return r.data;
580
574
  }
581
- function Zo(r) {
575
+ function Xo(r) {
582
576
  return r !== void 0;
583
577
  }
584
- function Qo(r) {
578
+ function Yo(r) {
585
579
  return r.data;
586
580
  }
587
- function ea(r) {
581
+ function Jo(r) {
588
582
  return r.x;
589
583
  }
590
- function ta(r, e) {
584
+ function Ko(r, e) {
591
585
  return r - e;
592
586
  }
593
- function oa(r) {
587
+ function Zo(r) {
594
588
  return r.date;
595
589
  }
596
590
  export {
597
- za as HybridMap
591
+ Oa as HybridMap
598
592
  };
599
593
  //# sourceMappingURL=HybridMap.js.map