@undp/data-viz 2.0.0 → 2.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/BarGraph.cjs +1 -1
- package/dist/BarGraph.cjs.map +1 -1
- package/dist/BarGraph.js +957 -957
- package/dist/BarGraph.js.map +1 -1
- package/dist/BasicStatCard.cjs +1 -1
- package/dist/BasicStatCard.cjs.map +1 -1
- package/dist/BasicStatCard.js +45 -47
- package/dist/BasicStatCard.js.map +1 -1
- package/dist/BeeSwarmChart.cjs +1 -1
- package/dist/BeeSwarmChart.cjs.map +1 -1
- package/dist/BeeSwarmChart.js +76 -56
- package/dist/BeeSwarmChart.js.map +1 -1
- package/dist/BiVariateChoroplethMap.cjs +1 -1
- package/dist/BiVariateChoroplethMap.cjs.map +1 -1
- package/dist/BiVariateChoroplethMap.js +157 -157
- package/dist/BiVariateChoroplethMap.js.map +1 -1
- package/dist/ChoroplethMap.cjs +1 -1
- package/dist/ChoroplethMap.cjs.map +1 -1
- package/dist/ChoroplethMap.js +185 -185
- package/dist/ChoroplethMap.js.map +1 -1
- package/dist/CirclePackingGraph.cjs +1 -1
- package/dist/CirclePackingGraph.js +2 -4
- package/dist/CirclePackingGraph.js.map +1 -1
- package/dist/Data/barChart.json +70 -0
- package/dist/Data/basic.csv +20 -0
- package/dist/DifferenceLineChart.cjs +1 -1
- package/dist/DifferenceLineChart.cjs.map +1 -1
- package/dist/DifferenceLineChart.js +224 -223
- package/dist/DifferenceLineChart.js.map +1 -1
- package/dist/DotDensityMap.cjs +1 -1
- package/dist/DotDensityMap.cjs.map +1 -1
- package/dist/DotDensityMap.js +156 -156
- package/dist/DotDensityMap.js.map +1 -1
- package/dist/DualAxisLineChart.cjs +1 -1
- package/dist/DualAxisLineChart.cjs.map +1 -1
- package/dist/DualAxisLineChart.js +326 -325
- package/dist/DualAxisLineChart.js.map +1 -1
- package/dist/GeoHubCompareMaps.cjs +1 -1
- package/dist/GeoHubCompareMaps.cjs.map +1 -1
- package/dist/GeoHubCompareMaps.js +183 -183
- package/dist/GeoHubCompareMaps.js.map +1 -1
- package/dist/{GraphEl-DzRon4cb.js → GraphEl-BZne2JIx.js} +3 -3
- package/dist/{GraphEl-DzRon4cb.js.map → GraphEl-BZne2JIx.js.map} +1 -1
- package/dist/{GraphEl-BkyLYXG5.cjs → GraphEl-D5MUfp45.cjs} +2 -2
- package/dist/{GraphEl-BkyLYXG5.cjs.map → GraphEl-D5MUfp45.cjs.map} +1 -1
- package/dist/GriddedGraphs.cjs +1 -1
- package/dist/GriddedGraphs.js +1 -1
- package/dist/Histogram.cjs +1 -1
- package/dist/Histogram.js +1 -1
- package/dist/LineChartWithConfidenceInterval.cjs +1 -1
- package/dist/LineChartWithConfidenceInterval.cjs.map +1 -1
- package/dist/LineChartWithConfidenceInterval.js +133 -132
- package/dist/LineChartWithConfidenceInterval.js.map +1 -1
- package/dist/MultiGraphDashboard.cjs +1 -1
- package/dist/MultiGraphDashboard.cjs.map +1 -1
- package/dist/MultiGraphDashboard.js +52 -50
- package/dist/MultiGraphDashboard.js.map +1 -1
- package/dist/MultiGraphDashboardWideToLongFormat.cjs +1 -1
- package/dist/MultiGraphDashboardWideToLongFormat.cjs.map +1 -1
- package/dist/MultiGraphDashboardWideToLongFormat.js +11 -9
- package/dist/MultiGraphDashboardWideToLongFormat.js.map +1 -1
- package/dist/MultiLineAltChart.cjs +1 -1
- package/dist/MultiLineAltChart.cjs.map +1 -1
- package/dist/MultiLineAltChart.js +149 -148
- package/dist/MultiLineAltChart.js.map +1 -1
- package/dist/MultiLineChart.cjs +1 -1
- package/dist/MultiLineChart.cjs.map +1 -1
- package/dist/MultiLineChart.js +182 -181
- package/dist/MultiLineChart.js.map +1 -1
- package/dist/PerformanceIntensiveMultiGraphDashboard.cjs +1 -1
- package/dist/PerformanceIntensiveMultiGraphDashboard.cjs.map +1 -1
- package/dist/PerformanceIntensiveMultiGraphDashboard.js +14 -12
- package/dist/PerformanceIntensiveMultiGraphDashboard.js.map +1 -1
- package/dist/SimpleLineChart.cjs +1 -1
- package/dist/SimpleLineChart.cjs.map +1 -1
- package/dist/SimpleLineChart.js +123 -122
- package/dist/SimpleLineChart.js.map +1 -1
- package/dist/SingleGraphDashboard.cjs +1 -1
- package/dist/SingleGraphDashboard.cjs.map +1 -1
- package/dist/SingleGraphDashboard.js +83 -79
- package/dist/SingleGraphDashboard.js.map +1 -1
- package/dist/SingleGraphDashboardGeoHubMaps.cjs +1 -1
- package/dist/SingleGraphDashboardGeoHubMaps.cjs.map +1 -1
- package/dist/SingleGraphDashboardGeoHubMaps.js +49 -45
- package/dist/SingleGraphDashboardGeoHubMaps.js.map +1 -1
- package/dist/SingleGraphDashboardThreeDGraphs.cjs +1 -1
- package/dist/SingleGraphDashboardThreeDGraphs.cjs.map +1 -1
- package/dist/SingleGraphDashboardThreeDGraphs.js +56 -52
- package/dist/SingleGraphDashboardThreeDGraphs.js.map +1 -1
- package/dist/StatCardFromData.cjs +1 -1
- package/dist/StatCardFromData.cjs.map +1 -1
- package/dist/StatCardFromData.js +44 -46
- package/dist/StatCardFromData.js.map +1 -1
- package/dist/ThreeDGlobe.cjs +1 -1
- package/dist/ThreeDGlobe.cjs.map +1 -1
- package/dist/ThreeDGlobe.js +134 -134
- package/dist/ThreeDGlobe.js.map +1 -1
- package/dist/getNoOfTicks-C_1CFXv_.cjs +2 -0
- package/dist/getNoOfTicks-C_1CFXv_.cjs.map +1 -0
- package/dist/getNoOfTicks-CpmRjcRF.js +7 -0
- package/dist/getNoOfTicks-CpmRjcRF.js.map +1 -0
- package/dist/index-C6LorfZ-.cjs +2 -0
- package/dist/index-C6LorfZ-.cjs.map +1 -0
- package/dist/index-Ceppbd8C.js +342 -0
- package/dist/index-Ceppbd8C.js.map +1 -0
- package/dist/index.cjs +1 -1
- package/dist/index.js +1 -1
- package/package.json +1 -1
- package/dist/index-DoY3Ga3W.cjs +0 -2
- package/dist/index-DoY3Ga3W.cjs.map +0 -1
- package/dist/index-leTnKT2q.js +0 -329
- package/dist/index-leTnKT2q.js.map +0 -1
|
@@ -30,108 +30,108 @@ import { a as Ue } from "./init-BJFW6EwE.js";
|
|
|
30
30
|
function Xe(d) {
|
|
31
31
|
const {
|
|
32
32
|
data: t,
|
|
33
|
-
xDomain:
|
|
33
|
+
xDomain: b,
|
|
34
34
|
mapData: C,
|
|
35
35
|
xColorLegendTitle: It,
|
|
36
36
|
yDomain: tt,
|
|
37
37
|
yColorLegendTitle: et,
|
|
38
|
-
width:
|
|
39
|
-
height:
|
|
40
|
-
colors:
|
|
38
|
+
width: k,
|
|
39
|
+
height: y,
|
|
40
|
+
colors: x,
|
|
41
41
|
scale: zt,
|
|
42
42
|
centerPoint: $,
|
|
43
43
|
mapBorderWidth: S,
|
|
44
|
-
mapNoDataColor:
|
|
44
|
+
mapNoDataColor: _,
|
|
45
45
|
mapBorderColor: gt,
|
|
46
46
|
tooltip: ot,
|
|
47
47
|
onSeriesMouseOver: ft,
|
|
48
48
|
zoomScaleExtend: yt,
|
|
49
49
|
zoomTranslateExtend: xt,
|
|
50
|
-
highlightedIds:
|
|
50
|
+
highlightedIds: H,
|
|
51
51
|
onSeriesMouseClick: rt,
|
|
52
|
-
mapProperty:
|
|
52
|
+
mapProperty: G,
|
|
53
53
|
resetSelectionOnDoubleClick: _t,
|
|
54
|
-
detailsOnClick:
|
|
54
|
+
detailsOnClick: w,
|
|
55
55
|
showColorScale: vt,
|
|
56
56
|
styles: Wt,
|
|
57
|
-
classNames:
|
|
58
|
-
mapProjection:
|
|
59
|
-
zoomInteraction:
|
|
57
|
+
classNames: R,
|
|
58
|
+
mapProjection: W,
|
|
59
|
+
zoomInteraction: O,
|
|
60
60
|
animate: D,
|
|
61
|
-
dimmedOpacity:
|
|
61
|
+
dimmedOpacity: L,
|
|
62
62
|
customLayers: at,
|
|
63
63
|
collapseColorScaleByDefault: bt
|
|
64
|
-
} = d, [Bt, kt] = N(bt === void 0 ? !(
|
|
64
|
+
} = d, [Bt, kt] = N(bt === void 0 ? !(k < 680) : !bt), [U, wt] = N(void 0), [B, it] = N(void 0), [A, nt] = N(void 0), [st, m] = N(void 0), [p, X] = N(void 0), T = Pt(null), lt = We(T, {
|
|
65
65
|
once: D.once,
|
|
66
66
|
amount: D.amount
|
|
67
|
-
}), jt = Pt(null),
|
|
67
|
+
}), jt = Pt(null), F = Pt(null);
|
|
68
68
|
qt(() => {
|
|
69
|
-
const e = re(jt.current), n = re(
|
|
70
|
-
if (
|
|
71
|
-
if (
|
|
72
|
-
const a = r.type === "wheel",
|
|
73
|
-
return
|
|
74
|
-
},
|
|
69
|
+
const e = re(jt.current), n = re(T.current), u = (r) => {
|
|
70
|
+
if (O === "noZoom") return !1;
|
|
71
|
+
if (O === "button") return !r.type.includes("wheel");
|
|
72
|
+
const a = r.type === "wheel", l = r.type.startsWith("touch"), i = r.type === "mousedown" || r.type === "mousemove";
|
|
73
|
+
return l ? !0 : a ? O === "scroll" ? !0 : r.ctrlKey : i && !r.button && !r.ctrlKey;
|
|
74
|
+
}, s = je().scaleExtent(yt).translateExtent(xt || [[-20, -20], [k + 20, y + 20]]).filter(u).on("zoom", ({
|
|
75
75
|
transform: r
|
|
76
76
|
}) => {
|
|
77
77
|
e.attr("transform", r);
|
|
78
78
|
});
|
|
79
|
-
n.call(
|
|
80
|
-
}, [
|
|
81
|
-
const
|
|
82
|
-
length:
|
|
79
|
+
n.call(s), F.current = s;
|
|
80
|
+
}, [y, k, O]);
|
|
81
|
+
const Y = Ce(C), P = Ee(C), M = Y[2] - Y[0], I = Y[3] - Y[1], ct = k * 190 / 960 * 360 / M, Ct = y * 190 / 678 * 180 / I, z = zt * Math.min(ct, Ct), E = W === "mercator" ? $e().rotate([0, 0]).center($ || P.geometry.coordinates).translate([k / 2, y / 2]).scale(z) : W === "equalEarth" ? De().rotate([0, 0]).center($ || P.geometry.coordinates).translate([k / 2, y / 2]).scale(z) : W === "naturalEarth" ? Ne().rotate([0, 0]).center($ || P.geometry.coordinates).translate([k / 2, y / 2]).scale(z) : W === "orthographic" ? Se().rotate([0, 0]).center($ || P.geometry.coordinates).translate([k / 2, y / 2]).scale(z) : Me().rotate([0, 0]).center($ || P.geometry.coordinates).translate([k / 2, y / 2]).scale(z), $t = Array.from({
|
|
82
|
+
length: b.length
|
|
83
83
|
}, (e, n) => n), Dt = Array.from({
|
|
84
84
|
length: tt.length
|
|
85
|
-
}, (e, n) => n), Nt = ce().domain(
|
|
86
|
-
if (!
|
|
87
|
-
re(
|
|
85
|
+
}, (e, n) => n), Nt = ce().domain(b).range($t), St = ce().domain(tt).range(Dt), q = (e) => {
|
|
86
|
+
if (!T.current || !F.current) return;
|
|
87
|
+
re(T.current).call(F.current.scaleBy, e === "in" ? 1.2 : 1 / 1.2);
|
|
88
88
|
};
|
|
89
89
|
return /* @__PURE__ */ o.jsxs(o.Fragment, { children: [
|
|
90
90
|
/* @__PURE__ */ o.jsxs("div", { className: "relative", children: [
|
|
91
|
-
/* @__PURE__ */ o.jsx(Lt.svg, { viewBox: `0 0 ${
|
|
91
|
+
/* @__PURE__ */ o.jsx(Lt.svg, { viewBox: `0 0 ${k} ${y}`, width: `${k}px`, height: `${y}px`, ref: T, direction: "ltr", children: /* @__PURE__ */ o.jsxs("g", { ref: jt, children: [
|
|
92
92
|
at.filter((e) => e.position === "before").map((e) => e.layer),
|
|
93
93
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
94
|
-
C.features.map((e, n) => t.findIndex((
|
|
94
|
+
C.features.map((e, n) => t.findIndex((s) => s.id === e.properties[G]) !== -1 ? null : /* @__PURE__ */ o.jsx(Lt.g, { opacity: U ? L : H.length !== 0 ? H.indexOf(e.properties[G]) !== -1 ? 1 : L : 1, children: e.geometry.type === "MultiPolygon" ? (
|
|
95
95
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
96
|
-
e.geometry.coordinates.map((
|
|
96
|
+
e.geometry.coordinates.map((s, r) => {
|
|
97
97
|
let a = "";
|
|
98
|
-
return
|
|
98
|
+
return s.forEach((l) => {
|
|
99
99
|
let i = " M";
|
|
100
|
-
|
|
101
|
-
const
|
|
102
|
-
|
|
100
|
+
l.forEach((h, g) => {
|
|
101
|
+
const c = E([h[0], h[1]]);
|
|
102
|
+
g !== l.length - 1 ? i = `${i}${c[0]} ${c[1]}L` : i = `${i}${c[0]} ${c[1]}`;
|
|
103
103
|
}), a += i;
|
|
104
104
|
}), /* @__PURE__ */ o.jsx("path", { d: a, style: {
|
|
105
105
|
stroke: gt,
|
|
106
106
|
strokeWidth: S,
|
|
107
|
-
fill:
|
|
107
|
+
fill: _
|
|
108
108
|
} }, r);
|
|
109
109
|
})
|
|
110
110
|
) : (
|
|
111
111
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
112
|
-
e.geometry.coordinates.map((
|
|
112
|
+
e.geometry.coordinates.map((s, r) => {
|
|
113
113
|
let a = "M";
|
|
114
|
-
return
|
|
115
|
-
const
|
|
116
|
-
i !==
|
|
114
|
+
return s.forEach((l, i) => {
|
|
115
|
+
const h = E([l[0], l[1]]);
|
|
116
|
+
i !== s.length - 1 ? a = `${a}${h[0]} ${h[1]}L` : a = `${a}${h[0]} ${h[1]}`;
|
|
117
117
|
}), /* @__PURE__ */ o.jsx("path", { d: a, style: {
|
|
118
118
|
stroke: gt,
|
|
119
119
|
strokeWidth: S,
|
|
120
|
-
fill:
|
|
120
|
+
fill: _
|
|
121
121
|
} }, r);
|
|
122
122
|
})
|
|
123
123
|
) }, n)),
|
|
124
124
|
/* @__PURE__ */ o.jsx(Be, { children: t.map((e) => {
|
|
125
125
|
const n = C.features.findIndex(
|
|
126
126
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
127
|
-
(a) => e.id === a.properties[
|
|
128
|
-
),
|
|
127
|
+
(a) => e.id === a.properties[G]
|
|
128
|
+
), u = le(e.x) ? void 0 : Nt(e.x), s = le(e.y) ? void 0 : St(e.y), r = u !== void 0 && s !== void 0 ? x[s][u] : _;
|
|
129
129
|
return /* @__PURE__ */ o.jsx(Lt.g, { variants: {
|
|
130
130
|
initial: {
|
|
131
131
|
opacity: 0
|
|
132
132
|
},
|
|
133
133
|
whileInView: {
|
|
134
|
-
opacity:
|
|
134
|
+
opacity: U ? U === r ? 1 : L : H.length !== 0 ? H.indexOf(e.id) !== -1 ? 1 : L : 1,
|
|
135
135
|
transition: {
|
|
136
136
|
duration: D.duration
|
|
137
137
|
}
|
|
@@ -142,23 +142,23 @@ function Xe(d) {
|
|
|
142
142
|
duration: D.duration
|
|
143
143
|
}
|
|
144
144
|
}, onMouseEnter: (a) => {
|
|
145
|
-
nt(e),
|
|
145
|
+
nt(e), X(a.clientY), m(a.clientX), ft?.(e);
|
|
146
146
|
}, onClick: () => {
|
|
147
|
-
(rt ||
|
|
147
|
+
(rt || w) && (we(B, e) && _t ? (it(void 0), rt?.(void 0)) : (it(e), rt?.(e)));
|
|
148
148
|
}, onMouseMove: (a) => {
|
|
149
|
-
nt(e),
|
|
149
|
+
nt(e), X(a.clientY), m(a.clientX);
|
|
150
150
|
}, onMouseLeave: () => {
|
|
151
|
-
nt(void 0),
|
|
151
|
+
nt(void 0), m(void 0), X(void 0), ft?.(void 0);
|
|
152
152
|
}, children: n === -1 ? null : C.features[n].geometry.type === "MultiPolygon" ? C.features[n].geometry.coordinates.map(
|
|
153
153
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
154
|
-
(a,
|
|
154
|
+
(a, l) => {
|
|
155
155
|
let i = "";
|
|
156
|
-
return a.forEach((
|
|
157
|
-
let
|
|
158
|
-
|
|
159
|
-
const
|
|
160
|
-
Mt !==
|
|
161
|
-
}), i +=
|
|
156
|
+
return a.forEach((h) => {
|
|
157
|
+
let g = " M";
|
|
158
|
+
h.forEach((c, Mt) => {
|
|
159
|
+
const V = E([c[0], c[1]]);
|
|
160
|
+
Mt !== h.length - 1 ? g = `${g}${V[0]} ${V[1]}L` : g = `${g}${V[0]} ${V[1]}`;
|
|
161
|
+
}), i += g;
|
|
162
162
|
}), /* @__PURE__ */ o.jsx(Lt.path, { variants: {
|
|
163
163
|
initial: {
|
|
164
164
|
fill: r,
|
|
@@ -176,17 +176,17 @@ function Xe(d) {
|
|
|
176
176
|
transition: {
|
|
177
177
|
duration: D.duration
|
|
178
178
|
}
|
|
179
|
-
}, d: i, className: `${r ===
|
|
179
|
+
}, d: i, className: `${r === _ ? "stroke-primary-gray-400 dark:stroke-primary-gray-500" : "stroke-primary-white dark:stroke-primary-gray-650"}`, style: {
|
|
180
180
|
strokeWidth: S
|
|
181
|
-
} }, `${e.id}-${
|
|
181
|
+
} }, `${e.id}-${l}`);
|
|
182
182
|
}
|
|
183
183
|
) : C.features[n].geometry.coordinates.map(
|
|
184
184
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
185
|
-
(a,
|
|
185
|
+
(a, l) => {
|
|
186
186
|
let i = "M";
|
|
187
|
-
return a.forEach((
|
|
188
|
-
const
|
|
189
|
-
|
|
187
|
+
return a.forEach((h, g) => {
|
|
188
|
+
const c = E([h[0], h[1]]);
|
|
189
|
+
g !== a.length - 1 ? i = `${i}${c[0]} ${c[1]}L` : i = `${i}${c[0]} ${c[1]}`;
|
|
190
190
|
}), /* @__PURE__ */ o.jsx(Lt.path, { d: i, variants: {
|
|
191
191
|
initial: {
|
|
192
192
|
fill: r,
|
|
@@ -204,48 +204,48 @@ function Xe(d) {
|
|
|
204
204
|
transition: {
|
|
205
205
|
duration: D.duration
|
|
206
206
|
}
|
|
207
|
-
}, className: `${r ===
|
|
207
|
+
}, className: `${r === _ ? "stroke-primary-gray-400 dark:stroke-primary-gray-500" : "stroke-primary-white dark:stroke-primary-gray-650"}`, style: {
|
|
208
208
|
strokeWidth: S
|
|
209
|
-
} }, `${e.id}-${
|
|
209
|
+
} }, `${e.id}-${l}`);
|
|
210
210
|
}
|
|
211
211
|
) }, e.id);
|
|
212
212
|
}) }),
|
|
213
|
-
|
|
213
|
+
A ? C.features.filter(
|
|
214
214
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
215
|
-
(e) => e.properties[
|
|
215
|
+
(e) => e.properties[G] === A.id
|
|
216
216
|
).map((e, n) => /* @__PURE__ */ o.jsx("g", { children: e.geometry.type === "MultiPolygon" ? (
|
|
217
217
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
218
|
-
e.geometry.coordinates.map((
|
|
218
|
+
e.geometry.coordinates.map((u, s) => {
|
|
219
219
|
let r = "";
|
|
220
|
-
return
|
|
221
|
-
let
|
|
222
|
-
a.forEach((i,
|
|
223
|
-
const
|
|
224
|
-
|
|
225
|
-
}), r +=
|
|
220
|
+
return u.forEach((a) => {
|
|
221
|
+
let l = " M";
|
|
222
|
+
a.forEach((i, h) => {
|
|
223
|
+
const g = E([i[0], i[1]]);
|
|
224
|
+
h !== a.length - 1 ? l = `${l}${g[0]} ${g[1]}L` : l = `${l}${g[0]} ${g[1]}`;
|
|
225
|
+
}), r += l;
|
|
226
226
|
}), /* @__PURE__ */ o.jsx("path", { d: r, className: "stroke-primary-gray-700 dark:stroke-primary-gray-300", style: {
|
|
227
227
|
fill: "none",
|
|
228
228
|
fillOpacity: 0,
|
|
229
229
|
strokeWidth: "0.5"
|
|
230
|
-
} },
|
|
230
|
+
} }, s);
|
|
231
231
|
})
|
|
232
232
|
) : (
|
|
233
233
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
234
|
-
e.geometry.coordinates.map((
|
|
234
|
+
e.geometry.coordinates.map((u, s) => {
|
|
235
235
|
let r = "M";
|
|
236
|
-
return
|
|
236
|
+
return u.forEach((a, l) => {
|
|
237
237
|
const i = E([a[0], a[1]]);
|
|
238
|
-
|
|
238
|
+
l !== u.length - 1 ? r = `${r}${i[0]} ${i[1]}L` : r = `${r}${i[0]} ${i[1]}`;
|
|
239
239
|
}), /* @__PURE__ */ o.jsx("path", { d: r, className: "stroke-primary-gray-700 dark:stroke-primary-gray-300", style: {
|
|
240
240
|
fill: "none",
|
|
241
241
|
fillOpacity: 0,
|
|
242
242
|
strokeWidth: "0.5"
|
|
243
|
-
} },
|
|
243
|
+
} }, s);
|
|
244
244
|
})
|
|
245
245
|
) }, n)) : null,
|
|
246
246
|
at.filter((e) => e.position === "after").map((e) => e.layer)
|
|
247
247
|
] }) }),
|
|
248
|
-
vt === !1 ? null : /* @__PURE__ */ o.jsx("div", { className: ue("absolute left-4 bottom-4 map-color-legend",
|
|
248
|
+
vt === !1 ? null : /* @__PURE__ */ o.jsx("div", { className: ue("absolute left-4 bottom-4 map-color-legend", R?.colorLegend), children: Bt ? /* @__PURE__ */ o.jsxs(o.Fragment, { children: [
|
|
249
249
|
/* @__PURE__ */ o.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: () => {
|
|
250
250
|
kt(!1);
|
|
251
251
|
}, children: /* @__PURE__ */ o.jsx(Ie, {}) }),
|
|
@@ -254,15 +254,15 @@ function Xe(d) {
|
|
|
254
254
|
}, children: [
|
|
255
255
|
/* @__PURE__ */ o.jsxs("div", { className: "flex gap-1 items-center", children: [
|
|
256
256
|
/* @__PURE__ */ o.jsx("svg", { width: "136px", viewBox: "0 0 136 136", className: "shrink-0", children: /* @__PURE__ */ o.jsxs("g", { children: [
|
|
257
|
-
|
|
257
|
+
x.map((e, n) => /* @__PURE__ */ o.jsx("g", { transform: `translate(0,${100 - n * 25})`, children: e.map((u, s) => /* @__PURE__ */ o.jsx("rect", { y: 1, x: s * 25 + 1, fill: u, width: 23, height: 23, strokeWidth: U === u ? 2 : 0.25, style: {
|
|
258
258
|
cursor: "pointer"
|
|
259
259
|
}, onMouseOver: () => {
|
|
260
|
-
wt(
|
|
260
|
+
wt(u);
|
|
261
261
|
}, onMouseLeave: () => {
|
|
262
262
|
wt(void 0);
|
|
263
|
-
} },
|
|
264
|
-
/* @__PURE__ */ o.jsx("g", { transform: "translate(0,125)", children:
|
|
265
|
-
tt.map((e, n) => /* @__PURE__ */ o.jsx("g", { transform: `translate(${Math.max(Math.min(
|
|
263
|
+
} }, s)) }, n)),
|
|
264
|
+
/* @__PURE__ */ o.jsx("g", { transform: "translate(0,125)", children: b.map((e, n) => /* @__PURE__ */ o.jsx("text", { y: 10, x: (n + 1) * 25, fontSize: 10, textAnchor: "middle", children: typeof e == "string" || e < 1 ? e : se(e, "NA") }, n)) }),
|
|
265
|
+
tt.map((e, n) => /* @__PURE__ */ o.jsx("g", { transform: `translate(${Math.max(Math.min(b.length + 1, 5), 4) * 25 + 10},${100 - n * 25})`, children: /* @__PURE__ */ o.jsx("text", { x: 0, transform: "rotate(-90)", y: 0, fontSize: 10, textAnchor: "middle", children: typeof e == "string" || e < 1 ? e : se(e, "NA") }) }, n))
|
|
266
266
|
] }) }),
|
|
267
267
|
/* @__PURE__ */ o.jsx(ne, { marginBottom: "none", size: "xs", className: "leading-normal text-center shrink-0", style: {
|
|
268
268
|
display: "-webkit-box",
|
|
@@ -285,94 +285,94 @@ function Xe(d) {
|
|
|
285
285
|
] }) : /* @__PURE__ */ o.jsx("button", { type: "button", className: "mb-0 border-0 bg-transparent p-0 self-start", onClick: () => {
|
|
286
286
|
kt(!0);
|
|
287
287
|
}, children: /* @__PURE__ */ o.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" }) }) }),
|
|
288
|
-
|
|
289
|
-
/* @__PURE__ */ o.jsx("button", { onClick: () =>
|
|
290
|
-
/* @__PURE__ */ o.jsx("button", { onClick: () =>
|
|
288
|
+
O === "button" && /* @__PURE__ */ o.jsxs("div", { className: "absolute left-4 top-4 flex flex-col zoom-buttons", children: [
|
|
289
|
+
/* @__PURE__ */ o.jsx("button", { onClick: () => q("in"), className: "leading-0 px-2 py-3.5 border text-primary-gray-700 border-primary-gray-400 bg-primary-gray-200 dark:border-primary-gray-550 dark:bg-primary-gray-600 dark:text-primary-gray-100", children: "+" }),
|
|
290
|
+
/* @__PURE__ */ o.jsx("button", { onClick: () => q("out"), className: "leading-0 px-2 py-3.5 border text-primary-gray-700 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: "–" })
|
|
291
291
|
] })
|
|
292
292
|
] }),
|
|
293
|
-
|
|
294
|
-
|
|
293
|
+
A && ot && st && p ? /* @__PURE__ */ o.jsx(Le, { data: A, body: ot, xPos: st, yPos: p, backgroundStyle: Wt?.tooltip, className: R?.tooltip }) : null,
|
|
294
|
+
w && B !== void 0 ? /* @__PURE__ */ o.jsx(Oe, { open: B !== void 0, onClose: () => {
|
|
295
295
|
it(void 0);
|
|
296
|
-
}, children: /* @__PURE__ */ o.jsx("div", { className: "graph-modal-content m-0", dangerouslySetInnerHTML: typeof
|
|
297
|
-
__html: Pe(
|
|
298
|
-
} : void 0, children: typeof
|
|
296
|
+
}, children: /* @__PURE__ */ o.jsx("div", { className: "graph-modal-content m-0", dangerouslySetInnerHTML: typeof w == "string" ? {
|
|
297
|
+
__html: Pe(w, B)
|
|
298
|
+
} : void 0, children: typeof w == "function" ? w(B) : null }) }) : null
|
|
299
299
|
] });
|
|
300
300
|
}
|
|
301
301
|
function Po(d) {
|
|
302
302
|
const t = ge.c(101), {
|
|
303
|
-
data:
|
|
303
|
+
data: b,
|
|
304
304
|
graphTitle: C,
|
|
305
305
|
mapData: It,
|
|
306
306
|
colors: tt,
|
|
307
307
|
sources: et,
|
|
308
|
-
graphDescription:
|
|
309
|
-
height:
|
|
310
|
-
width:
|
|
308
|
+
graphDescription: k,
|
|
309
|
+
height: y,
|
|
310
|
+
width: x,
|
|
311
311
|
footNote: zt,
|
|
312
312
|
xDomain: $,
|
|
313
313
|
yDomain: S,
|
|
314
|
-
xColorLegendTitle:
|
|
314
|
+
xColorLegendTitle: _,
|
|
315
315
|
yColorLegendTitle: gt,
|
|
316
316
|
tooltip: ot,
|
|
317
317
|
scale: ft,
|
|
318
318
|
centerPoint: yt,
|
|
319
319
|
padding: xt,
|
|
320
|
-
mapBorderWidth:
|
|
320
|
+
mapBorderWidth: H,
|
|
321
321
|
mapNoDataColor: rt,
|
|
322
|
-
backgroundColor:
|
|
322
|
+
backgroundColor: G,
|
|
323
323
|
mapBorderColor: _t,
|
|
324
|
-
relativeHeight:
|
|
324
|
+
relativeHeight: w,
|
|
325
325
|
onSeriesMouseOver: vt,
|
|
326
326
|
isWorldMap: Wt,
|
|
327
|
-
zoomScaleExtend:
|
|
328
|
-
zoomTranslateExtend:
|
|
329
|
-
graphID:
|
|
327
|
+
zoomScaleExtend: R,
|
|
328
|
+
zoomTranslateExtend: W,
|
|
329
|
+
graphID: O,
|
|
330
330
|
showColorScale: D,
|
|
331
|
-
highlightedIds:
|
|
331
|
+
highlightedIds: L,
|
|
332
332
|
onSeriesMouseClick: at,
|
|
333
333
|
mapProperty: bt,
|
|
334
334
|
graphDownload: Bt,
|
|
335
335
|
dataDownload: kt,
|
|
336
|
-
showAntarctica:
|
|
336
|
+
showAntarctica: U,
|
|
337
337
|
language: wt,
|
|
338
|
-
minHeight:
|
|
338
|
+
minHeight: B,
|
|
339
339
|
theme: it,
|
|
340
|
-
ariaLabel:
|
|
340
|
+
ariaLabel: A,
|
|
341
341
|
resetSelectionOnDoubleClick: nt,
|
|
342
342
|
detailsOnClick: st,
|
|
343
|
-
styles:
|
|
344
|
-
classNames:
|
|
345
|
-
mapProjection:
|
|
346
|
-
zoomInteraction:
|
|
343
|
+
styles: m,
|
|
344
|
+
classNames: p,
|
|
345
|
+
mapProjection: X,
|
|
346
|
+
zoomInteraction: T,
|
|
347
347
|
animate: lt,
|
|
348
348
|
dimmedOpacity: jt,
|
|
349
|
-
customLayers:
|
|
350
|
-
timeline:
|
|
351
|
-
collapseColorScaleByDefault:
|
|
352
|
-
} = d, M = It === void 0 ? "https://raw.githubusercontent.com/UNDP-Data/dv-country-geojson/refs/heads/main/worldMap.json" : It,
|
|
349
|
+
customLayers: F,
|
|
350
|
+
timeline: Y,
|
|
351
|
+
collapseColorScaleByDefault: P
|
|
352
|
+
} = d, M = It === void 0 ? "https://raw.githubusercontent.com/UNDP-Data/dv-country-geojson/refs/heads/main/worldMap.json" : It, I = tt === void 0 ? ae.light.bivariateColors.colors05x05 : tt, ct = zt === 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." : zt, Ct = _ === void 0 ? "X Color key" : _, z = gt === void 0 ? "Y Color key" : gt, E = ft === void 0 ? 0.95 : ft, $t = H === void 0 ? 0.5 : H, Dt = rt === void 0 ? ae.light.graphNoData : rt, Nt = G === void 0 ? !1 : G, St = _t === void 0 ? ae.light.grays["gray-500"] : _t, q = Wt === void 0 ? !0 : Wt;
|
|
353
353
|
let e;
|
|
354
|
-
t[0] !==
|
|
355
|
-
const n = e,
|
|
356
|
-
let
|
|
357
|
-
t[2] !==
|
|
358
|
-
const r =
|
|
354
|
+
t[0] !== R ? (e = R === void 0 ? [0.8, 6] : R, t[0] = R, t[1] = e) : e = t[1];
|
|
355
|
+
const n = e, u = D === void 0 ? !0 : D;
|
|
356
|
+
let s;
|
|
357
|
+
t[2] !== L ? (s = L === void 0 ? [] : L, t[2] = L, t[3] = s) : s = t[3];
|
|
358
|
+
const r = s, a = bt === void 0 ? "ISO3" : bt, l = Bt === void 0 ? !1 : Bt, i = kt === void 0 ? !1 : kt, h = U === void 0 ? !1 : U, g = wt === void 0 ? "en" : wt, c = B === void 0 ? 0 : B, Mt = it === void 0 ? "light" : it, V = nt === void 0 ? !0 : nt, Jt = T === void 0 ? "button" : T, At = lt === void 0 ? !1 : lt, Kt = jt === void 0 ? 0.3 : jt;
|
|
359
359
|
let Tt;
|
|
360
|
-
t[4] !==
|
|
361
|
-
const Zt = Tt, j =
|
|
360
|
+
t[4] !== F ? (Tt = F === void 0 ? [] : F, t[4] = F, t[5] = Tt) : Tt = t[5];
|
|
361
|
+
const Zt = Tt, j = Y === void 0 ? {
|
|
362
362
|
enabled: !1,
|
|
363
363
|
autoplay: !1,
|
|
364
364
|
showOnlyActiveDate: !0
|
|
365
|
-
} :
|
|
365
|
+
} : Y, [J, me] = N(0), [Et, pe] = N(0), [K, Qt] = N(j.autoplay), f = Re(Ve(b, "date", !0).map((v) => be(`${v}`, j.dateFormat || "yyyy", /* @__PURE__ */ new Date()).getTime()), oo), [Z, Ot] = N(j.autoplay ? 0 : f.length - 1), [dt, he] = N(void 0), te = Pt(null), ie = Pt(null);
|
|
366
366
|
let Ft, Vt;
|
|
367
367
|
t[6] === Symbol.for("react.memo_cache_sentinel") ? (Ft = () => {
|
|
368
|
-
const
|
|
368
|
+
const v = new ResizeObserver((Q) => {
|
|
369
369
|
me(Q[0].target.clientWidth || 620), pe(Q[0].target.clientHeight || 480);
|
|
370
370
|
});
|
|
371
|
-
return te.current &&
|
|
371
|
+
return te.current && v.observe(te.current), () => v.disconnect();
|
|
372
372
|
}, Vt = [], t[6] = Ft, t[7] = Vt) : (Ft = t[6], Vt = t[7]), qt(Ft, Vt);
|
|
373
373
|
let Ht;
|
|
374
|
-
t[8] === Symbol.for("react.memo_cache_sentinel") ? (Ht = (
|
|
375
|
-
he(
|
|
374
|
+
t[8] === Symbol.for("react.memo_cache_sentinel") ? (Ht = (v) => {
|
|
375
|
+
he(v);
|
|
376
376
|
}, t[8] = Ht) : Ht = t[8];
|
|
377
377
|
const Gt = fe(Ht);
|
|
378
378
|
let Rt;
|
|
@@ -383,39 +383,39 @@ function Po(d) {
|
|
|
383
383
|
}, t[9] = M, t[10] = Gt, t[11] = Rt) : Rt = t[11];
|
|
384
384
|
let Ut;
|
|
385
385
|
t[12] !== M ? (Ut = [M], t[12] = M, t[13] = Ut) : Ut = t[13], qt(Rt, Ut), qt(() => {
|
|
386
|
-
const
|
|
387
|
-
Ot((Q) => Q <
|
|
386
|
+
const v = setInterval(() => {
|
|
387
|
+
Ot((Q) => Q < f.length - 1 ? Q + 1 : 0);
|
|
388
388
|
}, (j.speed || 2) * 1e3);
|
|
389
|
-
return K || clearInterval(
|
|
390
|
-
}, [
|
|
391
|
-
const Xt = ye(
|
|
392
|
-
if ($ && S && ($.length !==
|
|
389
|
+
return K || clearInterval(v), () => clearInterval(v);
|
|
390
|
+
}, [f, K, j.speed]);
|
|
391
|
+
const Xt = ye(f, Z, j.showOnlyActiveDate, j.dateFormat || "yyyy");
|
|
392
|
+
if ($ && S && ($.length !== I[0].length - 1 || S.length !== I.length - 1))
|
|
393
393
|
return console.error("the xDomain and yDomain array length don't match to the color array length"), null;
|
|
394
|
-
const ee =
|
|
394
|
+
const ee = p?.graphContainer, oe = m?.graphContainer;
|
|
395
395
|
let mt;
|
|
396
|
-
t[14] !==
|
|
397
|
-
title:
|
|
398
|
-
description:
|
|
396
|
+
t[14] !== p?.description || t[15] !== p?.title || t[16] !== b || t[17] !== i || t[18] !== k || t[19] !== l || t[20] !== C || t[21] !== m?.description || t[22] !== m?.title || t[23] !== x ? (mt = C || k || l || i ? /* @__PURE__ */ o.jsx(Ae, { styles: {
|
|
397
|
+
title: m?.title,
|
|
398
|
+
description: m?.description
|
|
399
399
|
}, classNames: {
|
|
400
|
-
title:
|
|
401
|
-
description:
|
|
402
|
-
}, graphTitle: C, graphDescription:
|
|
400
|
+
title: p?.title,
|
|
401
|
+
description: p?.description
|
|
402
|
+
}, graphTitle: C, graphDescription: k, width: x, graphDownload: l ? ie : void 0, dataDownload: i ? b.map(eo).filter(to).length > 0 ? b.map(Qe).filter(Ze) : b.filter(Ke) : null }) : null, t[14] = p?.description, t[15] = p?.title, t[16] = b, t[17] = i, t[18] = k, t[19] = l, t[20] = C, t[21] = m?.description, t[22] = m?.title, t[23] = x, t[24] = mt) : mt = t[24];
|
|
403
403
|
let pt;
|
|
404
|
-
t[25] !== Z || t[26] !== Xt || t[27] !== K || t[28] !== Ot || t[29] !== Qt || t[30] !== j.enabled || t[31] !==
|
|
404
|
+
t[25] !== Z || t[26] !== Xt || t[27] !== K || t[28] !== Ot || t[29] !== Qt || t[30] !== j.enabled || t[31] !== f ? (pt = j.enabled && f.length > 0 && Xt ? /* @__PURE__ */ o.jsxs("div", { className: "flex gap-6 items-center", dir: "ltr", children: [
|
|
405
405
|
/* @__PURE__ */ o.jsx("button", { type: "button", onClick: () => {
|
|
406
406
|
Qt(!K);
|
|
407
407
|
}, className: "p-0 border-0 cursor-pointer bg-transparent", "aria-label": K ? "Click to pause animation" : "Click to play animation", children: K ? /* @__PURE__ */ o.jsx(ze, {}) : /* @__PURE__ */ o.jsx(_e, {}) }),
|
|
408
|
-
/* @__PURE__ */ o.jsx(xe, { min:
|
|
409
|
-
Ot(
|
|
410
|
-
}, onChange: (
|
|
411
|
-
Ot(
|
|
408
|
+
/* @__PURE__ */ o.jsx(xe, { min: f[0], max: f[f.length - 1], marks: Xt, step: null, defaultValue: f[f.length - 1], value: f[Z], onChangeComplete: (v) => {
|
|
409
|
+
Ot(f.indexOf(v));
|
|
410
|
+
}, onChange: (v) => {
|
|
411
|
+
Ot(f.indexOf(v));
|
|
412
412
|
}, "aria-label": "Time slider. Use arrow keys to adjust selected time period." })
|
|
413
|
-
] }) : null, t[25] = Z, t[26] = Xt, t[27] = K, t[28] = Ot, t[29] = Qt, t[30] = j.enabled, t[31] =
|
|
413
|
+
] }) : null, t[25] = Z, t[26] = Xt, t[27] = K, t[28] = Ot, t[29] = Qt, t[30] = j.enabled, t[31] = f, t[32] = pt) : pt = t[32];
|
|
414
414
|
let ht;
|
|
415
|
-
t[33] !== At || t[34] !== yt || t[35] !==
|
|
415
|
+
t[33] !== At || t[34] !== yt || t[35] !== p || t[36] !== P || t[37] !== I || t[38] !== Zt || t[39] !== b || t[40] !== st || t[41] !== Kt || t[42] !== y || t[43] !== r || t[44] !== Z || t[45] !== q || t[46] !== St || t[47] !== $t || t[48] !== Dt || t[49] !== X || t[50] !== a || t[51] !== dt || t[52] !== c || t[53] !== at || t[54] !== vt || t[55] !== w || t[56] !== V || t[57] !== E || t[58] !== h || t[59] !== u || t[60] !== m || t[61] !== Et || t[62] !== J || t[63] !== j.dateFormat || t[64] !== j.enabled || t[65] !== ot || t[66] !== f || t[67] !== x || t[68] !== Ct || t[69] !== $ || t[70] !== z || t[71] !== S || t[72] !== Jt || t[73] !== n || t[74] !== W ? (ht = /* @__PURE__ */ o.jsx(He, { ref: te, children: J && Et && dt ? /* @__PURE__ */ o.jsx(Xe, { data: b.filter((v) => j.enabled ? v.date === ke(new Date(f[Z]), j.dateFormat || "yyyy") : v), mapData: h ? dt : {
|
|
416
416
|
...dt,
|
|
417
417
|
features: dt.features.filter(Je)
|
|
418
|
-
}, xDomain: $ || de(
|
|
418
|
+
}, xDomain: $ || de(b.map(qe), I[0].length), yDomain: S || de(b.map(Ye), I.length), width: J, height: Et, scale: E, centerPoint: yt, colors: I, xColorLegendTitle: Ct, yColorLegendTitle: z, mapBorderWidth: $t, mapNoDataColor: Dt, mapBorderColor: St, tooltip: ot, onSeriesMouseOver: vt, isWorldMap: q, zoomScaleExtend: n, zoomTranslateExtend: W, onSeriesMouseClick: at, mapProperty: a, highlightedIds: r, resetSelectionOnDoubleClick: V, styles: m, showColorScale: u, classNames: p, mapProjection: X || (q ? "naturalEarth" : "mercator"), detailsOnClick: st, zoomInteraction: Jt, animate: At === !0 ? {
|
|
419
419
|
duration: 0.5,
|
|
420
420
|
once: !0,
|
|
421
421
|
amount: 0.5
|
|
@@ -423,24 +423,24 @@ function Po(d) {
|
|
|
423
423
|
duration: 0,
|
|
424
424
|
once: !0,
|
|
425
425
|
amount: 0
|
|
426
|
-
}, dimmedOpacity: Kt, customLayers: Zt, collapseColorScaleByDefault:
|
|
427
|
-
height: `${Math.max(
|
|
428
|
-
}, className: "flex items-center justify-center", children: /* @__PURE__ */ o.jsx(ve, { "aria-label": "Loading graph" }) }) }), t[33] = At, t[34] = yt, t[35] =
|
|
426
|
+
}, dimmedOpacity: Kt, customLayers: Zt, collapseColorScaleByDefault: P }) : /* @__PURE__ */ o.jsx("div", { style: {
|
|
427
|
+
height: `${Math.max(c, y || (w ? c ? (x || J) * w > c ? (x || J) * w : c : (x || J) * w : Et))}px`
|
|
428
|
+
}, className: "flex items-center justify-center", children: /* @__PURE__ */ o.jsx(ve, { "aria-label": "Loading graph" }) }) }), t[33] = At, t[34] = yt, t[35] = p, t[36] = P, t[37] = I, t[38] = Zt, t[39] = b, t[40] = st, t[41] = Kt, t[42] = y, t[43] = r, t[44] = Z, t[45] = q, t[46] = St, t[47] = $t, t[48] = Dt, t[49] = X, t[50] = a, t[51] = dt, t[52] = c, t[53] = at, t[54] = vt, t[55] = w, t[56] = V, t[57] = E, t[58] = h, t[59] = u, t[60] = m, t[61] = Et, t[62] = J, t[63] = j.dateFormat, t[64] = j.enabled, t[65] = ot, t[66] = f, t[67] = x, t[68] = Ct, t[69] = $, t[70] = z, t[71] = S, t[72] = Jt, t[73] = n, t[74] = W, t[75] = ht) : ht = t[75];
|
|
429
429
|
let ut;
|
|
430
|
-
t[76] !==
|
|
431
|
-
footnote:
|
|
432
|
-
source:
|
|
430
|
+
t[76] !== p?.footnote || t[77] !== p?.source || t[78] !== ct || t[79] !== et || t[80] !== m?.footnote || t[81] !== m?.source || t[82] !== x ? (ut = et || ct ? /* @__PURE__ */ o.jsx(Te, { styles: {
|
|
431
|
+
footnote: m?.footnote,
|
|
432
|
+
source: m?.source
|
|
433
433
|
}, classNames: {
|
|
434
|
-
footnote:
|
|
435
|
-
source:
|
|
436
|
-
}, sources: et, footNote: ct, width:
|
|
434
|
+
footnote: p?.footnote,
|
|
435
|
+
source: p?.source
|
|
436
|
+
}, sources: et, footNote: ct, width: x }) : null, t[76] = p?.footnote, t[77] = p?.source, t[78] = ct, t[79] = et, t[80] = m?.footnote, t[81] = m?.source, t[82] = x, t[83] = ut) : ut = t[83];
|
|
437
437
|
let Yt;
|
|
438
|
-
return t[84] !==
|
|
438
|
+
return t[84] !== A || t[85] !== Nt || t[86] !== O || t[87] !== y || t[88] !== g || t[89] !== c || t[90] !== xt || t[91] !== w || t[92] !== ee || t[93] !== oe || t[94] !== mt || t[95] !== pt || t[96] !== ht || t[97] !== ut || t[98] !== Mt || t[99] !== x ? (Yt = /* @__PURE__ */ o.jsxs(Ge, { className: ee, style: oe, id: O, ref: ie, "aria-label": A, backgroundColor: Nt, theme: Mt, language: g, minHeight: c, width: x, height: y, relativeHeight: w, padding: xt, children: [
|
|
439
439
|
mt,
|
|
440
440
|
pt,
|
|
441
441
|
ht,
|
|
442
442
|
ut
|
|
443
|
-
] }), t[84] =
|
|
443
|
+
] }), t[84] = A, t[85] = Nt, t[86] = O, t[87] = y, t[88] = g, t[89] = c, t[90] = xt, t[91] = w, t[92] = ee, t[93] = oe, t[94] = mt, t[95] = pt, t[96] = ht, t[97] = ut, t[98] = Mt, t[99] = x, t[100] = Yt) : Yt = t[100], Yt;
|
|
444
444
|
}
|
|
445
445
|
function Ye(d) {
|
|
446
446
|
return d.y;
|