@undp/data-viz 2.3.19 → 2.4.0

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 +4 -4
  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 +4 -4
  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 +310 -313
  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 +3 -3
  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
@@ -1,6 +1,6 @@
1
- import { c as Pe, m as Se, j as s } from "./index-CHPV5EwG-BzibaIRc.js";
2
- import { useRef as Ne, useState as qt, useEffect as Ye } from "react";
3
- import { p as M, f as Xe } from "./parse-Dv4of-PN.js";
1
+ import { c as Pe, m as Te, j as s } from "./index-CHPV5EwG-BzibaIRc.js";
2
+ import { useRef as ke, useState as qt, useEffect as Ye } from "react";
3
+ import { p as L, f as Xe } from "./parse-Dv4of-PN.js";
4
4
  import { o as Ee } from "./index-BZQYSqar.js";
5
5
  import { n as Ge } from "./numberFormattingFunction-DqMf_v1m.js";
6
6
  import { T as Ue } from "./Tooltip-Bj-s__cI.js";
@@ -12,8 +12,8 @@ import { X as _e } from "./XTicksAndGridLines-gdbGX2rm.js";
12
12
  import { a as to } from "./ReferenceLine-D41VuUhE.js";
13
13
  import { Y as eo } from "./YTicksAndGridLines-CsNSq9W9.js";
14
14
  import { H as oo } from "./index-DHVGV8Df.js";
15
- import { Colors as z } from "./Colors.js";
16
- import { u as He } from "./uniqBy-BHy4I8PK.js";
15
+ import { Colors as q } from "./Colors.js";
16
+ import { u as Se } from "./uniqBy-BHy4I8PK.js";
17
17
  import { c as Ie, a as io } from "./init-BhZylTFx.js";
18
18
  import { t as no } from "./time-vyz6Y89P.js";
19
19
  import { a as ro } from "./linear-DNXM5Pdl.js";
@@ -38,13 +38,13 @@ function Do(e, ...t) {
38
38
  e = Array.from(e);
39
39
  let [n] = t;
40
40
  if (n && n.length !== 2 || t.length > 1) {
41
- const b = Uint32Array.from(e, ($, f) => f);
42
- return t.length > 1 ? (t = t.map(($) => e.map($)), b.sort(($, f) => {
41
+ const b = Uint32Array.from(e, (j, c) => c);
42
+ return t.length > 1 ? (t = t.map((j) => e.map(j)), b.sort((j, c) => {
43
43
  for (const r of t) {
44
- const Dt = Re(r[$], r[f]);
44
+ const Dt = Re(r[j], r[c]);
45
45
  if (Dt) return Dt;
46
46
  }
47
- })) : (n = e.map(n), b.sort(($, f) => Re(n[$], n[f]))), Ao(e, b);
47
+ })) : (n = e.map(n), b.sort((j, c) => Re(n[j], n[c]))), Ao(e, b);
48
48
  }
49
49
  return e.sort(Lo(n));
50
50
  }
@@ -63,253 +63,253 @@ function jo(e) {
63
63
  const t = Pe.c(129), {
64
64
  data: n,
65
65
  width: b,
66
- height: $,
67
- lineColors: f,
66
+ height: j,
67
+ lineColors: c,
68
68
  dateFormat: r,
69
69
  noOfXTicks: Dt,
70
- rightMargin: it,
70
+ rightMargin: nt,
71
71
  topMargin: Jt,
72
- bottomMargin: nt,
73
- suffix: I,
72
+ bottomMargin: rt,
73
+ suffix: R,
74
74
  prefix: x,
75
75
  leftMargin: D,
76
76
  tooltip: Lt,
77
- onSeriesMouseOver: rt,
78
- refValues: st,
77
+ onSeriesMouseOver: st,
78
+ refValues: at,
79
79
  highlightAreaSettings: Kt,
80
- minValue: U,
80
+ minValue: J,
81
81
  maxValue: jt,
82
- highlightedLines: R,
82
+ highlightedLines: X,
83
83
  animate: a,
84
- rtl: q,
85
- strokeWidth: k,
86
- showDots: me,
84
+ rtl: K,
85
+ strokeWidth: S,
86
+ showDots: le,
87
87
  annotations: Mt,
88
88
  customHighlightAreaSettings: Qt,
89
89
  yAxisTitle: $t,
90
90
  noOfYTicks: Zt,
91
91
  minDate: Tt,
92
92
  maxDate: _t,
93
- curveType: at,
93
+ curveType: lt,
94
94
  styles: O,
95
- colorDomain: L,
95
+ colorDomain: M,
96
96
  selectedColor: kt,
97
97
  classNames: A,
98
- showLabels: be,
99
- dimmedOpacity: S,
100
- precision: X,
101
- naLabel: Oe,
102
- customLayers: J,
103
- showHighlightedLinesLabels: Ce,
98
+ showLabels: xe,
99
+ dimmedOpacity: N,
100
+ precision: E,
101
+ naLabel: ye,
102
+ customLayers: Q,
103
+ showHighlightedLinesLabels: ve,
104
104
  showDateOnHover: te,
105
- locale: N
106
- } = e, ue = Ne(null);
107
- let lt;
108
- t[0] !== a.amount || t[1] !== a.once ? (lt = {
105
+ locale: H
106
+ } = e, ce = ke(null);
107
+ let ct;
108
+ t[0] !== a.amount || t[1] !== a.once ? (ct = {
109
109
  once: a.once,
110
110
  amount: a.amount
111
- }, t[0] = a.amount, t[1] = a.once, t[2] = lt) : lt = t[2];
112
- const m = go(ue, lt), [H, he] = qt(!1);
113
- let ct, St;
114
- t[3] !== a.duration || t[4] !== H || t[5] !== m ? (ct = () => {
115
- if (m && !H) {
111
+ }, t[0] = a.amount, t[1] = a.once, t[2] = ct) : ct = t[2];
112
+ const m = go(ce, ct), [V, fe] = qt(!1);
113
+ let ft, St;
114
+ t[3] !== a.duration || t[4] !== V || t[5] !== m ? (ft = () => {
115
+ if (m && !V) {
116
116
  const o = setTimeout(() => {
117
- he(!0);
117
+ fe(!0);
118
118
  }, (a.duration + 0.5) * 1e3);
119
119
  return () => clearTimeout(o);
120
120
  }
121
- }, St = [m, H, a.duration], t[3] = a.duration, t[4] = H, t[5] = m, t[6] = ct, t[7] = St) : (ct = t[6], St = t[7]), Ye(ct, St);
122
- const v = at === "linear" ? lo : at === "step" ? co : at === "stepAfter" ? fo : at === "stepBefore" ? mo : uo;
121
+ }, St = [m, V, a.duration], t[3] = a.duration, t[4] = V, t[5] = m, t[6] = ft, t[7] = St) : (ft = t[6], St = t[7]), Ye(ft, St);
122
+ const v = lt === "linear" ? lo : lt === "step" ? co : lt === "stepAfter" ? fo : lt === "stepBefore" ? mo : uo;
123
123
  let u;
124
124
  t[8] !== r ? (u = (o) => ({
125
125
  ...o,
126
- date: M(`${o.date}`, r, /* @__PURE__ */ new Date())
126
+ date: L(`${o.date}`, r, /* @__PURE__ */ new Date())
127
127
  }), t[8] = r, t[9] = u) : u = t[9];
128
- const g = Ee(n.map(u), ["date"], ["asc"]).filter(ni), Ae = He(g, "label", !0);
129
- let K;
130
- t[10] !== r ? (K = (o) => M(`${o}`, r, /* @__PURE__ */ new Date()), t[10] = r, t[11] = K) : K = t[11];
131
- const ee = Do(He(n, "date", !0).map(K), ii), [h, ft] = qt(void 0), [mt, Q] = qt(void 0), [ut, Z] = qt(void 0), Nt = $t ? D + 30 : D;
132
- let ht;
133
- t[12] !== nt || t[13] !== it || t[14] !== Nt || t[15] !== Jt ? (ht = {
128
+ const g = Ee(n.map(u), ["date"], ["asc"]).filter(ni), we = Se(g, "label", !0);
129
+ let Z;
130
+ t[10] !== r ? (Z = (o) => L(`${o}`, r, /* @__PURE__ */ new Date()), t[10] = r, t[11] = Z) : Z = t[11];
131
+ const ee = Do(Se(n, "date", !0).map(Z), ii), [h, mt] = qt(void 0), [ut, _] = qt(void 0), [ht, tt] = qt(void 0), Nt = $t ? D + 30 : D;
132
+ let pt;
133
+ t[12] !== rt || t[13] !== nt || t[14] !== Nt || t[15] !== Jt ? (pt = {
134
134
  top: Jt,
135
- bottom: nt,
135
+ bottom: rt,
136
136
  left: Nt,
137
- right: it
138
- }, t[12] = nt, t[13] = it, t[14] = Nt, t[15] = Jt, t[16] = ht) : ht = t[16];
139
- const d = ht, pe = Ne(null), ge = Ae.map((o) => Ee(g.filter((i) => i.label == o), ["date"], ["asc"]));
140
- let pt;
137
+ right: nt
138
+ }, t[12] = rt, t[13] = nt, t[14] = Nt, t[15] = Jt, t[16] = pt) : pt = t[16];
139
+ const d = pt, me = ke(null), ue = we.map((o) => Ee(g.filter((i) => i.label == o), ["date"], ["asc"]));
140
+ let gt;
141
141
  if (t[17] !== r || t[18] !== Kt) {
142
142
  let o;
143
143
  t[20] !== r ? (o = (i) => ({
144
144
  ...i,
145
- coordinates: [i.coordinates[0] === null ? null : M(`${i.coordinates[0]}`, r, /* @__PURE__ */ new Date()), i.coordinates[1] === null ? null : M(`${i.coordinates[1]}`, r, /* @__PURE__ */ new Date())]
146
- }), t[20] = r, t[21] = o) : o = t[21], pt = Kt.map(o), t[17] = r, t[18] = Kt, t[19] = pt;
145
+ coordinates: [i.coordinates[0] === null ? null : L(`${i.coordinates[0]}`, r, /* @__PURE__ */ new Date()), i.coordinates[1] === null ? null : L(`${i.coordinates[1]}`, r, /* @__PURE__ */ new Date())]
146
+ }), t[20] = r, t[21] = o) : o = t[21], gt = Kt.map(o), t[17] = r, t[18] = Kt, t[19] = gt;
147
147
  } else
148
- pt = t[19];
149
- const Ht = pt;
150
- let gt;
148
+ gt = t[19];
149
+ const Ht = gt;
150
+ let dt;
151
151
  if (t[22] !== Qt || t[23] !== r) {
152
152
  let o;
153
153
  t[25] !== r ? (o = (i) => ({
154
154
  ...i,
155
- coordinates: i.coordinates.map((y, zt) => zt % 2 === 0 ? M(`${y}`, r, /* @__PURE__ */ new Date()) : y)
156
- }), t[25] = r, t[26] = o) : o = t[26], gt = Qt.map(o), t[22] = Qt, t[23] = r, t[24] = gt;
155
+ coordinates: i.coordinates.map((y, zt) => zt % 2 === 0 ? L(`${y}`, r, /* @__PURE__ */ new Date()) : y)
156
+ }), t[25] = r, t[26] = o) : o = t[26], dt = Qt.map(o), t[22] = Qt, t[23] = r, t[24] = dt;
157
157
  } else
158
- gt = t[24];
159
- const de = gt, p = b - d.left - d.right, T = $ - d.top - d.bottom, oe = Tt ? M(`${Tt}`, r, /* @__PURE__ */ new Date()) : ee[0], xe = _t ? M(`${_t}`, r, /* @__PURE__ */ new Date()) : ee[ee.length - 1], C = w(U) ? Math.min(...g.map(oi).filter(ei)) ? Math.min(...g.map(ti).filter(_o)) > 0 ? 0 : Math.min(...g.map(Zo).filter(Qo)) : 0 : U, _ = Math.max(...g.map(Ko).filter(Jo)) ? Math.max(...g.map(qo).filter(Uo)) : 0, c = no().domain([oe, xe]).range([0, p]);
160
- let tt;
161
- t[27] !== C || t[28] !== U ? (tt = w(U) ? C : U, t[27] = C, t[28] = U, t[29] = tt) : tt = t[29];
162
- let et;
163
- t[30] !== _ || t[31] !== jt ? (et = w(jt) ? _ > 0 ? _ : 0 : jt, t[30] = _, t[31] = jt, t[32] = et) : et = t[32];
164
- const l = ro().domain([tt, et]).range([T, 0]).nice(), ye = so.from(g.filter(zo), (o) => c(o.date), (o) => l(o.y)).voronoi([0, 0, p < 0 ? 0 : p, T < 0 ? 0 : T]), Vt = ao().x((o) => c(o.date)).y((o) => l(o.y)).curve(v), ie = l.ticks(Zt), Wt = c.ticks(Dt);
158
+ dt = t[24];
159
+ const he = dt, p = b - d.left - d.right, T = j - d.top - d.bottom, oe = Tt ? L(`${Tt}`, r, /* @__PURE__ */ new Date()) : ee[0], pe = _t ? L(`${_t}`, r, /* @__PURE__ */ new Date()) : ee[ee.length - 1], C = w(J) ? Math.min(...g.map(oi).filter(ei)) ? Math.min(...g.map(ti).filter(_o)) > 0 ? 0 : Math.min(...g.map(Zo).filter(Qo)) : 0 : J, G = Math.max(...g.map(Ko).filter(Jo)) ? Math.max(...g.map(qo).filter(Uo)) : 0, l = no().domain([oe, pe]).range([0, p]);
160
+ let k;
161
+ t[27] !== C || t[28] !== J ? (k = w(J) ? C : J, t[27] = C, t[28] = J, t[29] = k) : k = t[29];
162
+ let xt;
163
+ t[30] !== G || t[31] !== jt ? (xt = w(jt) ? G > 0 ? G : 0 : jt, t[30] = G, t[31] = jt, t[32] = xt) : xt = t[32];
164
+ const f = ro().domain([k, xt]).range([T, 0]).nice(), ge = so.from(g.filter(zo), (o) => l(o.date), (o) => f(o.y)).voronoi([0, 0, p < 0 ? 0 : p, T < 0 ? 0 : T]), yt = ao().x((o) => l(o.date)).y((o) => f(o.y)).curve(v), ie = f.ticks(Zt), Vt = l.ticks(Dt);
165
165
  Ye(() => {
166
166
  const o = (y) => {
167
- const zt = g[io(g.map(Bo), c.invert(po(y)[0]), 0)];
168
- ft(zt || g[g.length - 1]), Z(y.clientY), Q(y.clientX), rt?.(zt || g[g.length - 1]);
167
+ const zt = g[io(g.map(Bo), l.invert(po(y)[0]), 0)];
168
+ mt(zt || g[g.length - 1]), tt(y.clientY), _(y.clientX), st?.(zt || g[g.length - 1]);
169
169
  }, i = () => {
170
- ft(void 0), Q(void 0), Z(void 0);
170
+ mt(void 0), _(void 0), tt(void 0);
171
171
  };
172
- ho(pe.current).on("mousemove", o).on("mouseout", i), rt?.(void 0);
173
- }, [c, g, rt]);
174
- let dt;
175
- t[33] !== a || t[34] !== T || t[35] !== p || t[36] !== Ht || t[37] !== m || t[38] !== c ? (dt = /* @__PURE__ */ s.jsx(oo, { areaSettings: Ht, width: p, height: T, scale: c, animate: a, isInView: m }), t[33] = a, t[34] = T, t[35] = p, t[36] = Ht, t[37] = m, t[38] = c, t[39] = dt) : dt = t[39];
176
- const xt = O?.yAxis?.gridLines, Yt = O?.yAxis?.labels;
177
- let j;
178
- t[40] !== xt || t[41] !== Yt ? (j = {
179
- gridLines: xt,
180
- labels: Yt
181
- }, t[40] = xt, t[41] = Yt, t[42] = j) : j = t[42];
182
- const It = A?.yAxis?.gridLines, Rt = A?.yAxis?.labels;
183
- let yt;
184
- t[43] !== It || t[44] !== Rt ? (yt = {
185
- gridLines: It,
186
- labels: Rt
187
- }, t[43] = It, t[44] = Rt, t[45] = yt) : yt = t[45];
188
- const Xt = l(C < 0 ? 0 : C), vt = l(C < 0 ? 0 : C), Et = 0 - D, Gt = p + d.right, Pt = C < 0 ? 0 : C;
189
- let E;
190
- t[46] !== N || t[47] !== X || t[48] !== x || t[49] !== I || t[50] !== Pt ? (E = Ge(Pt, void 0, X, x, I, N), t[46] = N, t[47] = X, t[48] = x, t[49] = I, t[50] = Pt, t[51] = E) : E = t[51];
191
- const ot = 0 - D, ve = l(C < 0 ? 0 : C), wt = _ < 0 ? "1em" : -5;
172
+ ho(me.current).on("mousemove", o).on("mouseout", i), st?.(void 0);
173
+ }, [l, g, st]);
174
+ let vt;
175
+ t[33] !== a || t[34] !== T || t[35] !== p || t[36] !== Ht || t[37] !== m || t[38] !== l ? (vt = /* @__PURE__ */ s.jsx(oo, { areaSettings: Ht, width: p, height: T, scale: l, animate: a, isInView: m }), t[33] = a, t[34] = T, t[35] = p, t[36] = Ht, t[37] = m, t[38] = l, t[39] = vt) : vt = t[39];
176
+ const $ = O?.yAxis?.gridLines, Wt = O?.yAxis?.labels;
177
+ let wt;
178
+ t[40] !== $ || t[41] !== Wt ? (wt = {
179
+ gridLines: $,
180
+ labels: Wt
181
+ }, t[40] = $, t[41] = Wt, t[42] = wt) : wt = t[42];
182
+ const Yt = A?.yAxis?.gridLines, It = A?.yAxis?.labels;
183
+ let et;
184
+ t[43] !== Yt || t[44] !== It ? (et = {
185
+ gridLines: Yt,
186
+ labels: It
187
+ }, t[43] = Yt, t[44] = It, t[45] = et) : et = t[45];
188
+ const Rt = f(C < 0 ? 0 : C), Xt = f(C < 0 ? 0 : C), Et = 0 - D, Gt = p + d.right, ot = C < 0 ? 0 : C;
192
189
  let bt;
193
- t[52] !== ot || t[53] !== ve || t[54] !== wt ? (bt = {
194
- x: ot,
195
- y: ve,
196
- dx: 0,
197
- dy: wt
198
- }, t[52] = ot, t[53] = ve, t[54] = wt, t[55] = bt) : bt = t[55];
199
- const Ft = A?.xAxis?.axis, we = A?.yAxis?.labels;
200
- let G;
201
- t[56] !== Ft || t[57] !== we ? (G = {
202
- axis: Ft,
203
- label: we
204
- }, t[56] = Ft, t[57] = we, t[58] = G) : G = t[58];
205
- const ne = O?.xAxis?.axis, Ot = O?.yAxis?.labels;
206
- let V;
207
- t[59] !== ne || t[60] !== Ot ? (V = {
208
- axis: ne,
209
- label: Ot
210
- }, t[59] = ne, t[60] = Ot, t[61] = V) : V = t[61];
190
+ t[46] !== H || t[47] !== E || t[48] !== x || t[49] !== R || t[50] !== ot ? (bt = Ge(ot, void 0, E, x, R, H), t[46] = H, t[47] = E, t[48] = x, t[49] = R, t[50] = ot, t[51] = bt) : bt = t[51];
191
+ const Ot = 0 - D, de = f(C < 0 ? 0 : C), Pt = G < 0 ? "1em" : -5;
211
192
  let Ct;
212
- t[62] !== Xt || t[63] !== vt || t[64] !== Et || t[65] !== Gt || t[66] !== E || t[67] !== bt || t[68] !== G || t[69] !== V ? (Ct = /* @__PURE__ */ s.jsx(Ze, { y1: Xt, y2: vt, x1: Et, x2: Gt, label: E, labelPos: bt, classNames: G, styles: V }), t[62] = Xt, t[63] = vt, t[64] = Et, t[65] = Gt, t[66] = E, t[67] = bt, t[68] = G, t[69] = V, t[70] = Ct) : Ct = t[70];
213
- const Bt = 0 - D - 15, P = T / 2, F = O?.yAxis?.title, B = A?.yAxis?.title;
193
+ t[52] !== Ot || t[53] !== de || t[54] !== Pt ? (Ct = {
194
+ x: Ot,
195
+ y: de,
196
+ dx: 0,
197
+ dy: Pt
198
+ }, t[52] = Ot, t[53] = de, t[54] = Pt, t[55] = Ct) : Ct = t[55];
199
+ const Ft = A?.xAxis?.axis, ne = A?.yAxis?.labels;
214
200
  let W;
215
- t[71] !== Bt || t[72] !== P || t[73] !== F || t[74] !== B || t[75] !== $t ? (W = /* @__PURE__ */ s.jsx(Qe, { x: Bt, y: P, style: F, className: B, text: $t, rotate90: !0 }), t[71] = Bt, t[72] = P, t[73] = F, t[74] = B, t[75] = $t, t[76] = W) : W = t[76];
201
+ t[56] !== Ft || t[57] !== ne ? (W = {
202
+ axis: Ft,
203
+ label: ne
204
+ }, t[56] = Ft, t[57] = ne, t[58] = W) : W = t[58];
205
+ const At = O?.xAxis?.axis, Bt = O?.yAxis?.labels;
206
+ let P;
207
+ t[59] !== At || t[60] !== Bt ? (P = {
208
+ axis: At,
209
+ label: Bt
210
+ }, t[59] = At, t[60] = Bt, t[61] = P) : P = t[61];
216
211
  let Y;
217
- t[77] !== r ? (Y = (o) => Xe(o, r), t[77] = r, t[78] = Y) : Y = t[78];
218
- const At = Wt.map(Y), re = Wt.map((o) => c(o)), se = O?.xAxis?.gridLines, ae = O?.xAxis?.labels;
219
- let De;
220
- t[79] !== se || t[80] !== ae ? (De = {
221
- gridLines: se,
222
- labels: ae
223
- }, t[79] = se, t[80] = ae, t[81] = De) : De = t[81];
212
+ t[62] !== Rt || t[63] !== Xt || t[64] !== Et || t[65] !== Gt || t[66] !== bt || t[67] !== Ct || t[68] !== W || t[69] !== P ? (Y = /* @__PURE__ */ s.jsx(Ze, { y1: Rt, y2: Xt, x1: Et, x2: Gt, label: bt, labelPos: Ct, classNames: W, styles: P }), t[62] = Rt, t[63] = Xt, t[64] = Et, t[65] = Gt, t[66] = bt, t[67] = Ct, t[68] = W, t[69] = P, t[70] = Y) : Y = t[70];
213
+ const F = 0 - D - 15, B = T / 2, z = O?.yAxis?.title, U = A?.yAxis?.title;
214
+ let I;
215
+ t[71] !== F || t[72] !== B || t[73] !== z || t[74] !== U || t[75] !== $t ? (I = /* @__PURE__ */ s.jsx(Qe, { x: F, y: B, style: z, className: U, text: $t, rotate90: !0 }), t[71] = F, t[72] = B, t[73] = z, t[74] = U, t[75] = $t, t[76] = I) : I = t[76];
216
+ let it;
217
+ t[77] !== r ? (it = (o) => Xe(o, r), t[77] = r, t[78] = it) : it = t[78];
218
+ const be = Vt.map(it), Oe = Vt.map((o) => l(o)), Ne = O?.xAxis?.gridLines, He = O?.xAxis?.labels;
219
+ let Ce;
220
+ t[79] !== Ne || t[80] !== He ? (Ce = {
221
+ gridLines: Ne,
222
+ labels: He
223
+ }, t[79] = Ne, t[80] = He, t[81] = Ce) : Ce = t[81];
224
224
  const Ve = A?.xAxis?.gridLines;
225
- let le;
226
- t[82] !== Ve ? (le = Se("opacity-0", Ve), t[82] = Ve, t[83] = le) : le = t[83];
225
+ let re;
226
+ t[82] !== Ve ? (re = Te("opacity-0", Ve), t[82] = Ve, t[83] = re) : re = t[83];
227
227
  const We = A?.xAxis?.labels;
228
- let ce;
229
- t[84] !== We ? (ce = Se("fill-primary-gray-700 dark:fill-primary-gray-300 xs:max-[360px]:hidden text-[9px] md:text-[10px] lg:text-xs", We), t[84] = We, t[85] = ce) : ce = t[85];
230
- let Le;
231
- t[86] !== le || t[87] !== ce ? (Le = {
232
- gridLines: le,
233
- labels: ce
234
- }, t[86] = le, t[87] = ce, t[88] = Le) : Le = t[88];
235
- let je;
236
- t[89] !== J ? (je = J.filter(Go).map(Eo), t[89] = J, t[90] = je) : je = t[90];
237
- const Fe = g.filter(To).map((o, i) => /* @__PURE__ */ s.jsx("g", { children: /* @__PURE__ */ s.jsx("path", { d: ye.renderCell(g.findIndex((y) => y.label === o.label && y.date === o.date)), opacity: 0, onMouseEnter: (y) => {
238
- ft(o), Z(y.clientY), Q(y.clientX), rt?.(o);
228
+ let se;
229
+ t[84] !== We ? (se = Te("fill-primary-gray-700 dark:fill-primary-gray-300 xs:max-[360px]:hidden text-[9px] md:text-[10px] lg:text-xs", We), t[84] = We, t[85] = se) : se = t[85];
230
+ let Ae;
231
+ t[86] !== re || t[87] !== se ? (Ae = {
232
+ gridLines: re,
233
+ labels: se
234
+ }, t[86] = re, t[87] = se, t[88] = Ae) : Ae = t[88];
235
+ let De;
236
+ t[89] !== Q ? (De = Q.filter(Go).map(Eo), t[89] = Q, t[90] = De) : De = t[90];
237
+ const Fe = g.filter(To).map((o, i) => /* @__PURE__ */ s.jsx("g", { children: /* @__PURE__ */ s.jsx("path", { d: ge.renderCell(g.findIndex((y) => y.label === o.label && y.date === o.date)), opacity: 0, onMouseEnter: (y) => {
238
+ mt(o), tt(y.clientY), _(y.clientX), st?.(o);
239
239
  }, onMouseMove: (y) => {
240
- ft(o), Z(y.clientY), Q(y.clientX);
240
+ mt(o), tt(y.clientY), _(y.clientX);
241
241
  }, onMouseLeave: () => {
242
- ft(void 0), Q(void 0), Z(void 0), rt?.(void 0);
242
+ mt(void 0), _(void 0), tt(void 0), st?.(void 0);
243
243
  } }) }, i));
244
- let Me;
245
- t[91] !== a || t[92] !== p || t[93] !== m || t[94] !== D || t[95] !== d.right || t[96] !== st || t[97] !== l ? (Me = st ? /* @__PURE__ */ s.jsx(s.Fragment, { children: st.map((o, i) => /* @__PURE__ */ s.jsx(to, { text: o.text, color: o.color, y: l(o.value), x1: 0 - D, x2: p + d.right, classNames: o.classNames, styles: o.styles, animate: a, isInView: m }, i)) }) : null, t[91] = a, t[92] = p, t[93] = m, t[94] = D, t[95] = d.right, t[96] = st, t[97] = l, t[98] = Me) : Me = t[98];
246
- let fe;
247
- if (t[99] !== a || t[100] !== Mt || t[101] !== r || t[102] !== p || t[103] !== m || t[104] !== d.right || t[105] !== q || t[106] !== c || t[107] !== l) {
244
+ let Le;
245
+ t[91] !== a || t[92] !== p || t[93] !== m || t[94] !== D || t[95] !== d.right || t[96] !== at || t[97] !== f ? (Le = at ? /* @__PURE__ */ s.jsx(s.Fragment, { children: at.map((o, i) => /* @__PURE__ */ s.jsx(to, { text: o.text, color: o.color, y: f(o.value), x1: 0 - D, x2: p + d.right, classNames: o.classNames, styles: o.styles, animate: a, isInView: m }, i)) }) : null, t[91] = a, t[92] = p, t[93] = m, t[94] = D, t[95] = d.right, t[96] = at, t[97] = f, t[98] = Le) : Le = t[98];
246
+ let ae;
247
+ if (t[99] !== a || t[100] !== Mt || t[101] !== r || t[102] !== p || t[103] !== m || t[104] !== d.right || t[105] !== K || t[106] !== l || t[107] !== f) {
248
248
  let o;
249
- t[109] !== a || t[110] !== r || t[111] !== p || t[112] !== m || t[113] !== d.right || t[114] !== q || t[115] !== c || t[116] !== l ? (o = (i, y) => {
249
+ t[109] !== a || t[110] !== r || t[111] !== p || t[112] !== m || t[113] !== d.right || t[114] !== K || t[115] !== l || t[116] !== f ? (o = (i, y) => {
250
250
  const zt = Je({
251
- x: i.xCoordinate ? c(M(`${i.xCoordinate}`, r, /* @__PURE__ */ new Date())) + (i.xOffset || 0) : 0 + (i.xOffset || 0),
252
- y: i.yCoordinate ? l(i.yCoordinate) + (i.yOffset || 0) - 8 : 0 + (i.yOffset || 0) - 8
251
+ x: i.xCoordinate ? l(L(`${i.xCoordinate}`, r, /* @__PURE__ */ new Date())) + (i.xOffset || 0) : 0 + (i.xOffset || 0),
252
+ y: i.yCoordinate ? f(i.yCoordinate) + (i.yOffset || 0) - 8 : 0 + (i.yOffset || 0) - 8
253
253
  }, {
254
- x: i.xCoordinate ? c(M(`${i.xCoordinate}`, r, /* @__PURE__ */ new Date())) : 0,
255
- y: i.yCoordinate ? l(i.yCoordinate) : 0
254
+ x: i.xCoordinate ? l(L(`${i.xCoordinate}`, r, /* @__PURE__ */ new Date())) : 0,
255
+ y: i.yCoordinate ? f(i.yCoordinate) : 0
256
256
  }, w(i.connectorRadius) ? 3.5 : i.connectorRadius), Be = i.showConnector ? {
257
257
  y1: zt.y,
258
258
  x1: zt.x,
259
- y2: i.yCoordinate ? l(i.yCoordinate) + (i.yOffset || 0) : 0 + (i.yOffset || 0),
260
- x2: i.xCoordinate ? c(M(`${i.xCoordinate}`, r, /* @__PURE__ */ new Date())) + (i.xOffset || 0) : 0 + (i.xOffset || 0),
261
- cy: i.yCoordinate ? l(i.yCoordinate) : 0,
262
- cx: i.xCoordinate ? c(M(`${i.xCoordinate}`, r, /* @__PURE__ */ new Date())) : 0,
259
+ y2: i.yCoordinate ? f(i.yCoordinate) + (i.yOffset || 0) : 0 + (i.yOffset || 0),
260
+ x2: i.xCoordinate ? l(L(`${i.xCoordinate}`, r, /* @__PURE__ */ new Date())) + (i.xOffset || 0) : 0 + (i.xOffset || 0),
261
+ cy: i.yCoordinate ? f(i.yCoordinate) : 0,
262
+ cx: i.xCoordinate ? l(L(`${i.xCoordinate}`, r, /* @__PURE__ */ new Date())) : 0,
263
263
  circleRadius: w(i.connectorRadius) ? 3.5 : i.connectorRadius,
264
264
  strokeWidth: i.showConnector === !0 ? 2 : Math.min(i.showConnector || 0, 1)
265
265
  } : void 0, ze = {
266
- y: i.yCoordinate ? l(i.yCoordinate) + (i.yOffset || 0) - 8 : 0 + (i.yOffset || 0) - 8,
267
- x: q ? 0 : i.xCoordinate ? c(M(`${i.xCoordinate}`, r, /* @__PURE__ */ new Date())) + (i.xOffset || 0) : 0 + (i.xOffset || 0),
268
- width: q ? i.xCoordinate ? c(M(`${i.xCoordinate}`, r, /* @__PURE__ */ new Date())) + (i.xOffset || 0) : 0 + (i.xOffset || 0) : p + d.right - (i.xCoordinate ? c(M(`${i.xCoordinate}`, r, /* @__PURE__ */ new Date())) + (i.xOffset || 0) : 0 + (i.xOffset || 0)),
266
+ y: i.yCoordinate ? f(i.yCoordinate) + (i.yOffset || 0) - 8 : 0 + (i.yOffset || 0) - 8,
267
+ x: K ? 0 : i.xCoordinate ? l(L(`${i.xCoordinate}`, r, /* @__PURE__ */ new Date())) + (i.xOffset || 0) : 0 + (i.xOffset || 0),
268
+ width: K ? i.xCoordinate ? l(L(`${i.xCoordinate}`, r, /* @__PURE__ */ new Date())) + (i.xOffset || 0) : 0 + (i.xOffset || 0) : p + d.right - (i.xCoordinate ? l(L(`${i.xCoordinate}`, r, /* @__PURE__ */ new Date())) + (i.xOffset || 0) : 0 + (i.xOffset || 0)),
269
269
  maxWidth: i.maxWidth,
270
270
  fontWeight: i.fontWeight,
271
271
  align: i.align
272
272
  };
273
273
  return /* @__PURE__ */ s.jsx(Ke, { color: i.color, connectorsSettings: Be, labelSettings: ze, text: i.text, classNames: i.classNames, styles: i.styles, animate: a, isInView: m }, y);
274
- }, t[109] = a, t[110] = r, t[111] = p, t[112] = m, t[113] = d.right, t[114] = q, t[115] = c, t[116] = l, t[117] = o) : o = t[117], fe = Mt.map(o), t[99] = a, t[100] = Mt, t[101] = r, t[102] = p, t[103] = m, t[104] = d.right, t[105] = q, t[106] = c, t[107] = l, t[108] = fe;
274
+ }, t[109] = a, t[110] = r, t[111] = p, t[112] = m, t[113] = d.right, t[114] = K, t[115] = l, t[116] = f, t[117] = o) : o = t[117], ae = Mt.map(o), t[99] = a, t[100] = Mt, t[101] = r, t[102] = p, t[103] = m, t[104] = d.right, t[105] = K, t[106] = l, t[107] = f, t[108] = ae;
275
275
  } else
276
- fe = t[108];
276
+ ae = t[108];
277
+ let je;
278
+ t[118] !== ae ? (je = /* @__PURE__ */ s.jsx("g", { children: ae }), t[118] = ae, t[119] = je) : je = t[119];
279
+ let Me;
280
+ t[120] !== Q ? (Me = Q.filter($o).map(Mo), t[120] = Q, t[121] = Me) : Me = t[121];
277
281
  let $e;
278
- t[118] !== fe ? ($e = /* @__PURE__ */ s.jsx("g", { children: fe }), t[118] = fe, t[119] = $e) : $e = t[119];
279
- let Te;
280
- t[120] !== J ? (Te = J.filter($o).map(Mo), t[120] = J, t[121] = Te) : Te = t[121];
281
- let ke;
282
- return t[122] !== A?.tooltip || t[123] !== mt || t[124] !== ut || t[125] !== h || t[126] !== O?.tooltip || t[127] !== Lt ? (ke = h && Lt && mt && ut ? /* @__PURE__ */ s.jsx(Ue, { data: h, body: Lt, xPos: mt, yPos: ut, backgroundStyle: O?.tooltip, className: A?.tooltip }) : null, t[122] = A?.tooltip, t[123] = mt, t[124] = ut, t[125] = h, t[126] = O?.tooltip, t[127] = Lt, t[128] = ke) : ke = t[128], /* @__PURE__ */ s.jsxs(s.Fragment, { children: [
283
- /* @__PURE__ */ s.jsx(Ut.svg, { width: `${b}px`, height: `${$}px`, viewBox: `0 0 ${b} ${$}`, direction: "ltr", ref: ue, children: /* @__PURE__ */ s.jsxs("g", { transform: `translate(${d.left},${d.top})`, children: [
284
- dt,
285
- /* @__PURE__ */ s.jsx(qe, { areaSettings: de, scaleX: c, scaleY: l, animate: a, isInView: m }),
282
+ return t[122] !== A?.tooltip || t[123] !== ut || t[124] !== ht || t[125] !== h || t[126] !== O?.tooltip || t[127] !== Lt ? ($e = h && Lt && ut && ht ? /* @__PURE__ */ s.jsx(Ue, { data: h, body: Lt, xPos: ut, yPos: ht, backgroundStyle: O?.tooltip, className: A?.tooltip }) : null, t[122] = A?.tooltip, t[123] = ut, t[124] = ht, t[125] = h, t[126] = O?.tooltip, t[127] = Lt, t[128] = $e) : $e = t[128], /* @__PURE__ */ s.jsxs(s.Fragment, { children: [
283
+ /* @__PURE__ */ s.jsx(Ut.svg, { width: `${b}px`, height: `${j}px`, viewBox: `0 0 ${b} ${j}`, direction: "ltr", ref: ce, children: /* @__PURE__ */ s.jsxs("g", { transform: `translate(${d.left},${d.top})`, children: [
284
+ vt,
285
+ /* @__PURE__ */ s.jsx(qe, { areaSettings: he, scaleX: l, scaleY: f, animate: a, isInView: m }),
286
286
  /* @__PURE__ */ s.jsxs("g", { children: [
287
- /* @__PURE__ */ s.jsx(eo, { values: ie.filter(Fo), y: ie.filter(Po).map((o) => l(o)), x1: 0 - D, x2: p + d.right, styles: j, classNames: yt, suffix: I, prefix: x, labelType: "secondary", showGridLines: !0, labelPos: "vertical", precision: X, locale: N }),
288
- Ct,
289
- W
287
+ /* @__PURE__ */ s.jsx(eo, { values: ie.filter(Fo), y: ie.filter(Po).map((o) => f(o)), x1: 0 - D, x2: p + d.right, styles: wt, classNames: et, suffix: R, prefix: x, labelType: "secondary", showGridLines: !0, labelPos: "vertical", precision: E, locale: H }),
288
+ Y,
289
+ I
290
290
  ] }),
291
- /* @__PURE__ */ s.jsx("g", { children: /* @__PURE__ */ s.jsx(_e, { values: At, x: re, y1: 0, y2: T, styles: De, classNames: Le, suffix: I, prefix: x, labelType: "primary", showGridLines: !0, precision: X, locale: N }) }),
292
- je,
291
+ /* @__PURE__ */ s.jsx("g", { children: /* @__PURE__ */ s.jsx(_e, { values: be, x: Oe, y1: 0, y2: T, styles: Ce, classNames: Ae, suffix: R, prefix: x, labelType: "primary", showGridLines: !0, precision: E, locale: H }) }),
292
+ De,
293
293
  /* @__PURE__ */ s.jsxs(Ut.g, { children: [
294
- ge.map((o) => /* @__PURE__ */ s.jsxs(Ut.g, { exit: {
294
+ ue.map((o) => /* @__PURE__ */ s.jsxs(Ut.g, { exit: {
295
295
  opacity: 0,
296
296
  transition: {
297
297
  duration: a.duration
298
298
  }
299
299
  }, variants: {
300
300
  initial: {
301
- opacity: h ? o[0].label === h.label ? 1 : S : kt ? o[0].color && f[L.indexOf(o[0].color)] === kt ? 1 : S : R.length !== 0 ? R.indexOf(o[0].label) !== -1 ? 1 : S : 1
301
+ opacity: h ? o[0].label === h.label ? 1 : N : kt ? o[0].color && c[M.indexOf(o[0].color)] === kt ? 1 : N : X ? X.indexOf(o[0].label) !== -1 ? 1 : N : 1
302
302
  },
303
303
  whileInView: {
304
- opacity: h ? o[0].label === h.label ? 1 : S : kt ? o[0].color && f[L.indexOf(o[0].color)] === kt ? 1 : S : R.length !== 0 ? R.indexOf(o[0].label) !== -1 ? 1 : S : 1,
304
+ opacity: h ? o[0].label === h.label ? 1 : N : kt ? o[0].color && c[M.indexOf(o[0].color)] === kt ? 1 : N : X ? X.indexOf(o[0].label) !== -1 ? 1 : N : 1,
305
305
  transition: {
306
306
  duration: a.duration
307
307
  }
308
308
  }
309
309
  }, initial: "initial", animate: m ? "whileInView" : "initial", children: [
310
- /* @__PURE__ */ s.jsx(Ut.path, { d: Vt(o.filter(Xo)) || "", style: {
310
+ /* @__PURE__ */ s.jsx(Ut.path, { d: yt(o.filter(Xo)) || "", style: {
311
311
  fill: "none",
312
- strokeWidth: h ? o[0].label === h.label ? k + Math.max(2, 0.5 * k) : k : R.length !== 0 && R.indexOf(o[0].label) !== -1 ? k + Math.max(2, 0.5 * k) : k
312
+ strokeWidth: h ? o[0].label === h.label ? S + Math.max(2, 0.5 * S) : S : X && X.indexOf(o[0].label) !== -1 ? S + Math.max(2, 0.5 * S) : S
313
313
  }, exit: {
314
314
  opacity: 0,
315
315
  transition: {
@@ -318,21 +318,21 @@ function jo(e) {
318
318
  }, variants: {
319
319
  initial: {
320
320
  pathLength: 0,
321
- d: Vt(o.filter(Ro)) || "",
321
+ d: yt(o.filter(Ro)) || "",
322
322
  opacity: 1,
323
- stroke: n.filter(Io).length === 0 ? f[0] : o[0].color ? f[L.indexOf(o[0].color)] : z.gray
323
+ stroke: n.filter(Io).length === 0 ? c[0] : o[0].color ? c[M.indexOf(o[0].color)] : q.gray
324
324
  },
325
325
  whileInView: {
326
326
  pathLength: 1,
327
- d: Vt(o.filter(Yo)) || "",
327
+ d: yt(o.filter(Yo)) || "",
328
328
  opacity: 1,
329
- stroke: n.filter(Wo).length === 0 ? f[0] : o[0].color ? f[L.indexOf(o[0].color)] : z.gray,
329
+ stroke: n.filter(Wo).length === 0 ? c[0] : o[0].color ? c[M.indexOf(o[0].color)] : q.gray,
330
330
  transition: {
331
331
  duration: a.duration
332
332
  }
333
333
  }
334
334
  }, initial: "initial", animate: m ? "whileInView" : "initial" }),
335
- o.map((i, y) => /* @__PURE__ */ s.jsx(Ut.g, { children: w(i.y) ? null : /* @__PURE__ */ s.jsx(s.Fragment, { children: me ? /* @__PURE__ */ s.jsx(Ut.circle, { r: p / o.length < 5 ? 0 : p / o.length < 20 ? 2 : 4, exit: {
335
+ o.map((i, y) => /* @__PURE__ */ s.jsx(Ut.g, { children: w(i.y) ? null : /* @__PURE__ */ s.jsx(s.Fragment, { children: le ? /* @__PURE__ */ s.jsx(Ut.circle, { r: p / o.length < 5 ? 0 : p / o.length < 20 ? 2 : 4, exit: {
336
336
  opacity: 0,
337
337
  transition: {
338
338
  duration: a.duration
@@ -340,22 +340,22 @@ function jo(e) {
340
340
  }, variants: {
341
341
  initial: {
342
342
  opacity: 0,
343
- fill: n.filter(Vo).length === 0 ? f[0] : o[0].color ? f[L.indexOf(o[0].color)] : z.gray,
344
- cx: c(i.date),
345
- cy: l(i.y)
343
+ fill: n.filter(Vo).length === 0 ? c[0] : o[0].color ? c[M.indexOf(o[0].color)] : q.gray,
344
+ cx: l(i.date),
345
+ cy: f(i.y)
346
346
  },
347
347
  whileInView: {
348
348
  opacity: 1,
349
- fill: n.filter(Ho).length === 0 ? f[0] : o[0].color ? f[L.indexOf(o[0].color)] : z.gray,
349
+ fill: n.filter(Ho).length === 0 ? c[0] : o[0].color ? c[M.indexOf(o[0].color)] : q.gray,
350
350
  transition: {
351
- duration: H ? a.duration : 0.5,
352
- delay: H ? 0 : a.duration
351
+ duration: V ? a.duration : 0.5,
352
+ delay: V ? 0 : a.duration
353
353
  },
354
- cx: c(i.date),
355
- cy: l(i.y)
354
+ cx: l(i.date),
355
+ cy: f(i.y)
356
356
  }
357
357
  }, initial: "initial", animate: m ? "whileInView" : "initial" }) : null }) }, y)),
358
- (R.indexOf(o[0].label) !== -1 && Ce || h?.label === o[0].label) && be ? /* @__PURE__ */ s.jsx(Ut.text, { className: "text-sm font-bold", dx: 5, dy: 4, exit: {
358
+ ((X || []).indexOf(o[0].label) !== -1 && ve || h?.label === o[0].label) && xe ? /* @__PURE__ */ s.jsx(Ut.text, { className: "text-sm font-bold", dx: 5, dy: 4, exit: {
359
359
  opacity: 0,
360
360
  transition: {
361
361
  duration: a.duration
@@ -363,40 +363,40 @@ function jo(e) {
363
363
  }, variants: {
364
364
  initial: {
365
365
  opacity: 0,
366
- fill: n.filter(No).length === 0 ? f[0] : o[0].color ? f[L.indexOf(o[0].color)] : z.gray,
367
- x: c(o[o.length - 1].date),
368
- y: l(o[o.length - 1].y)
366
+ fill: n.filter(No).length === 0 ? c[0] : o[0].color ? c[M.indexOf(o[0].color)] : q.gray,
367
+ x: l(o[o.length - 1].date),
368
+ y: f(o[o.length - 1].y)
369
369
  },
370
370
  whileInView: {
371
371
  opacity: 1,
372
- fill: n.filter(So).length === 0 ? f[0] : o[0].color ? f[L.indexOf(o[0].color)] : z.gray,
373
- x: c(o[o.length - 1].date),
374
- y: l(o[o.length - 1].y),
372
+ fill: n.filter(So).length === 0 ? c[0] : o[0].color ? c[M.indexOf(o[0].color)] : q.gray,
373
+ x: l(o[o.length - 1].date),
374
+ y: f(o[o.length - 1].y),
375
375
  transition: {
376
- duration: H ? a.duration : 0.5,
377
- delay: H ? 0 : a.duration
376
+ duration: V ? a.duration : 0.5,
377
+ delay: V ? 0 : a.duration
378
378
  }
379
379
  }
380
380
  }, initial: "initial", animate: m ? "whileInView" : "initial", children: o[0].label }) : null
381
381
  ] }, o[0].label)),
382
382
  h ? /* @__PURE__ */ s.jsxs(s.Fragment, { children: [
383
- /* @__PURE__ */ s.jsx("text", { y: l(h.y) - 8, x: c(h.date), className: Se("graph-value text-sm font-bold", A?.graphObjectValues), style: {
384
- fill: n.filter(ko).length === 0 ? f[0] : h.color ? f[L.indexOf(h.color)] : z.gray,
383
+ /* @__PURE__ */ s.jsx("text", { y: f(h.y) - 8, x: l(h.date), className: Te("graph-value text-sm font-bold", A?.graphObjectValues), style: {
384
+ fill: n.filter(ko).length === 0 ? c[0] : h.color ? c[M.indexOf(h.color)] : q.gray,
385
385
  textAnchor: "middle",
386
386
  ...O?.graphObjectValues || {}
387
- }, children: Ge(h.y, Oe, X, x, I, N) }),
388
- te && /* @__PURE__ */ s.jsx("text", { y: l(h.y) + 20, x: c(h.date), className: Se("graph-value text-sm fill-primary-gray-500 dark:fill-primary-gray-400", A?.graphObjectValues), style: {
387
+ }, children: Ge(h.y, ye, E, x, R, H) }),
388
+ te && /* @__PURE__ */ s.jsx("text", { y: f(h.y) + 20, x: l(h.date), className: Te("graph-value text-sm fill-primary-gray-500 dark:fill-primary-gray-400", A?.graphObjectValues), style: {
389
389
  textAnchor: "middle",
390
390
  ...O?.graphObjectValues || {}
391
391
  }, children: Xe(new Date(h.date), r || "yyyy") })
392
392
  ] }) : null
393
393
  ] }),
394
394
  Fe,
395
- Me,
396
- $e,
397
- Te
395
+ Le,
396
+ je,
397
+ Me
398
398
  ] }) }),
399
- ke
399
+ $e
400
400
  ] });
401
401
  }
402
402
  function Mo(e) {
@@ -493,133 +493,130 @@ function ni(e) {
493
493
  return !w(e.y);
494
494
  }
495
495
  function Bi(e) {
496
- const t = Pe.c(109), {
496
+ const t = Pe.c(107), {
497
497
  data: n,
498
498
  graphTitle: b,
499
- showNAColor: $,
500
- colors: f,
499
+ showNAColor: j,
500
+ colors: c,
501
501
  colorDomain: r,
502
502
  suffix: Dt,
503
- sources: it,
503
+ sources: nt,
504
504
  prefix: Jt,
505
- graphDescription: nt,
506
- height: I,
505
+ graphDescription: rt,
506
+ height: R,
507
507
  width: x,
508
508
  footNote: D,
509
509
  noOfXTicks: Lt,
510
- dateFormat: rt,
511
- padding: st,
510
+ dateFormat: st,
511
+ padding: at,
512
512
  backgroundColor: Kt,
513
- leftMargin: U,
513
+ leftMargin: J,
514
514
  rightMargin: jt,
515
- topMargin: R,
515
+ topMargin: X,
516
516
  bottomMargin: a,
517
- showColorScale: q,
518
- tooltip: k,
519
- relativeHeight: me,
517
+ showColorScale: K,
518
+ tooltip: S,
519
+ relativeHeight: le,
520
520
  onSeriesMouseOver: Mt,
521
521
  showLabels: Qt,
522
522
  showHighlightedLinesLabels: $t,
523
523
  refValues: Zt,
524
524
  highlightAreaSettings: Tt,
525
525
  graphID: _t,
526
- minValue: at,
526
+ minValue: lt,
527
527
  maxValue: O,
528
- highlightedLines: L,
528
+ highlightedLines: M,
529
529
  graphDownload: kt,
530
530
  dataDownload: A,
531
- animate: be,
532
- language: S,
533
- colorLegendTitle: X,
534
- minHeight: Oe,
535
- strokeWidth: J,
536
- showDots: Ce,
531
+ animate: xe,
532
+ language: N,
533
+ colorLegendTitle: E,
534
+ minHeight: ye,
535
+ strokeWidth: Q,
536
+ showDots: ve,
537
537
  annotations: te,
538
- customHighlightAreaSettings: N,
539
- theme: ue,
540
- ariaLabel: lt,
538
+ customHighlightAreaSettings: H,
539
+ theme: ce,
540
+ ariaLabel: ct,
541
541
  yAxisTitle: m,
542
- noOfYTicks: H,
543
- minDate: he,
544
- maxDate: ct,
542
+ noOfYTicks: V,
543
+ minDate: fe,
544
+ maxDate: ft,
545
545
  curveType: St,
546
546
  styles: v,
547
547
  classNames: u,
548
548
  dimmedOpacity: g,
549
- precision: Ae,
550
- customLayers: K,
549
+ precision: we,
550
+ customLayers: Z,
551
551
  naLabel: ee,
552
552
  showDateOnHover: h,
553
- locale: ft
554
- } = e, mt = $ === void 0 ? !0 : $, Q = Dt === void 0 ? "" : Dt, ut = Jt === void 0 ? "" : Jt, Z = Lt === void 0 ? 10 : Lt, Nt = rt === void 0 ? "yyyy" : rt, ht = Kt === void 0 ? !1 : Kt, d = U === void 0 ? 30 : U, pe = jt === void 0 ? 50 : jt, ge = R === void 0 ? 20 : R, pt = a === void 0 ? 25 : a, Ht = q === void 0 ? !0 : q, gt = Qt === void 0 ? !0 : Qt, de = $t === void 0 ? !1 : $t;
553
+ locale: mt
554
+ } = e, ut = j === void 0 ? !0 : j, _ = Dt === void 0 ? "" : Dt, ht = Jt === void 0 ? "" : Jt, tt = Lt === void 0 ? 10 : Lt, Nt = st === void 0 ? "yyyy" : st, pt = Kt === void 0 ? !1 : Kt, d = J === void 0 ? 30 : J, me = jt === void 0 ? 50 : jt, ue = X === void 0 ? 20 : X, gt = a === void 0 ? 25 : a, Ht = K === void 0 ? !0 : K, dt = Qt === void 0 ? !0 : Qt, he = $t === void 0 ? !1 : $t;
555
555
  let p;
556
556
  t[0] !== Zt ? (p = Zt === void 0 ? [] : Zt, t[0] = Zt, t[1] = p) : p = t[1];
557
557
  const T = p;
558
558
  let oe;
559
559
  t[2] !== Tt ? (oe = Tt === void 0 ? [] : Tt, t[2] = Tt, t[3] = oe) : oe = t[3];
560
- const xe = oe;
561
- let C;
562
- t[4] !== L ? (C = L === void 0 ? [] : L, t[4] = L, t[5] = C) : C = t[5];
563
- const _ = C, c = kt === void 0 ? !1 : kt, tt = A === void 0 ? !1 : A, et = be === void 0 ? !1 : be, l = S === void 0 ? "en" : S, ye = Oe === void 0 ? 0 : Oe, Vt = J === void 0 ? 2 : J, ie = Ce === void 0 ? !0 : Ce;
564
- let Wt;
565
- t[6] !== te ? (Wt = te === void 0 ? [] : te, t[6] = te, t[7] = Wt) : Wt = t[7];
566
- const dt = Wt;
567
- let xt;
568
- t[8] !== N ? (xt = N === void 0 ? [] : N, t[8] = N, t[9] = xt) : xt = t[9];
569
- const Yt = xt, j = ue === void 0 ? "light" : ue, It = H === void 0 ? 5 : H, Rt = St === void 0 ? "curve" : St, yt = g === void 0 ? 0.3 : g, Xt = Ae === void 0 ? 2 : Ae;
570
- let vt;
571
- t[10] !== K ? (vt = K === void 0 ? [] : K, t[10] = K, t[11] = vt) : vt = t[11];
572
- const Et = vt, Gt = ee === void 0 ? "NA" : ee, Pt = h === void 0 ? !1 : h, E = ft === void 0 ? "en" : ft, [ot, ve] = qt(0), [wt, bt] = qt(0), [Ft, we] = qt(void 0), G = Ne(null), ne = Ne(null);
573
- let Ot, V;
574
- t[12] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (Ot = () => {
575
- const se = new ResizeObserver((ae) => {
576
- ve(ae[0].target.clientWidth || 620), bt(ae[0].target.clientHeight || 480);
560
+ const pe = oe, C = kt === void 0 ? !1 : kt, G = A === void 0 ? !1 : A, l = xe === void 0 ? !1 : xe, k = N === void 0 ? "en" : N, xt = ye === void 0 ? 0 : ye, f = Q === void 0 ? 2 : Q, ge = ve === void 0 ? !0 : ve;
561
+ let yt;
562
+ t[4] !== te ? (yt = te === void 0 ? [] : te, t[4] = te, t[5] = yt) : yt = t[5];
563
+ const ie = yt;
564
+ let Vt;
565
+ t[6] !== H ? (Vt = H === void 0 ? [] : H, t[6] = H, t[7] = Vt) : Vt = t[7];
566
+ const vt = Vt, $ = ce === void 0 ? "light" : ce, Wt = V === void 0 ? 5 : V, wt = St === void 0 ? "curve" : St, Yt = g === void 0 ? 0.3 : g, It = we === void 0 ? 2 : we;
567
+ let et;
568
+ t[8] !== Z ? (et = Z === void 0 ? [] : Z, t[8] = Z, t[9] = et) : et = t[9];
569
+ const Rt = et, Xt = ee === void 0 ? "NA" : ee, Et = h === void 0 ? !1 : h, Gt = mt === void 0 ? "en" : mt, [ot, bt] = qt(0), [Ot, de] = qt(0), [Pt, Ct] = qt(void 0), Ft = ke(null), ne = ke(null);
570
+ let W, At;
571
+ t[10] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (W = () => {
572
+ const be = new ResizeObserver((Oe) => {
573
+ bt(Oe[0].target.clientWidth || 620), de(Oe[0].target.clientHeight || 480);
577
574
  });
578
- return G.current && se.observe(G.current), () => se.disconnect();
579
- }, V = [], t[12] = Ot, t[13] = V) : (Ot = t[12], V = t[13]), Ye(Ot, V);
580
- const Ct = u?.graphContainer, Bt = v?.graphContainer;
581
- let P;
582
- t[14] !== u?.description || t[15] !== u?.title || t[16] !== n || t[17] !== tt || t[18] !== nt || t[19] !== c || t[20] !== b || t[21] !== v?.description || t[22] !== v?.title || t[23] !== x ? (P = b || nt || c || tt ? /* @__PURE__ */ s.jsx(yo, { styles: {
575
+ return Ft.current && be.observe(Ft.current), () => be.disconnect();
576
+ }, At = [], t[10] = W, t[11] = At) : (W = t[10], At = t[11]), Ye(W, At);
577
+ const Bt = u?.graphContainer, P = v?.graphContainer;
578
+ let Y;
579
+ t[12] !== u?.description || t[13] !== u?.title || t[14] !== n || t[15] !== G || t[16] !== rt || t[17] !== C || t[18] !== b || t[19] !== v?.description || t[20] !== v?.title || t[21] !== x ? (Y = b || rt || C || G ? /* @__PURE__ */ s.jsx(yo, { styles: {
583
580
  title: v?.title,
584
581
  description: v?.description
585
582
  }, classNames: {
586
583
  title: u?.title,
587
584
  description: u?.description
588
- }, graphTitle: b, graphDescription: nt, width: x, graphDownload: c ? ne : void 0, dataDownload: tt ? n.map(ui).filter(mi).length > 0 ? n.map(fi).filter(ci) : n.filter(li) : null }) : null, t[14] = u?.description, t[15] = u?.title, t[16] = n, t[17] = tt, t[18] = nt, t[19] = c, t[20] = b, t[21] = v?.description, t[22] = v?.title, t[23] = x, t[24] = P) : P = t[24];
585
+ }, graphTitle: b, graphDescription: rt, width: x, graphDownload: C ? ne : void 0, dataDownload: G ? n.map(ui).filter(mi).length > 0 ? n.map(fi).filter(ci) : n.filter(li) : null }) : null, t[12] = u?.description, t[13] = u?.title, t[14] = n, t[15] = G, t[16] = rt, t[17] = C, t[18] = b, t[19] = v?.description, t[20] = v?.title, t[21] = x, t[22] = Y) : Y = t[22];
589
586
  let F;
590
- t[25] !== u?.colorLegend || t[26] !== r || t[27] !== X || t[28] !== f || t[29] !== n || t[30] !== Ht || t[31] !== mt || t[32] !== j || t[33] !== x ? (F = Ht && n.filter(ai).length !== 0 && n.length > 0 ? /* @__PURE__ */ s.jsx(wo, { width: x, colorLegendTitle: X, colors: f || z[j].categoricalColors.colors, colorDomain: r || He(n, "color", !0), setSelectedColor: we, showNAColor: mt, className: u?.colorLegend }) : null, t[25] = u?.colorLegend, t[26] = r, t[27] = X, t[28] = f, t[29] = n, t[30] = Ht, t[31] = mt, t[32] = j, t[33] = x, t[34] = F) : F = t[34];
587
+ t[23] !== u?.colorLegend || t[24] !== r || t[25] !== E || t[26] !== c || t[27] !== n || t[28] !== Ht || t[29] !== ut || t[30] !== $ || t[31] !== x ? (F = Ht && n.filter(ai).length !== 0 && n.length > 0 ? /* @__PURE__ */ s.jsx(wo, { width: x, colorLegendTitle: E, colors: c || q[$].categoricalColors.colors, colorDomain: r || Se(n, "color", !0), setSelectedColor: Ct, showNAColor: ut, className: u?.colorLegend }) : null, t[23] = u?.colorLegend, t[24] = r, t[25] = E, t[26] = c, t[27] = n, t[28] = Ht, t[29] = ut, t[30] = $, t[31] = x, t[32] = F) : F = t[32];
591
588
  let B;
592
- t[35] !== n.length ? (B = n.length === 0 && /* @__PURE__ */ s.jsx(vo, {}), t[35] = n.length, t[36] = B) : B = t[36];
593
- let W;
594
- t[37] !== et || t[38] !== dt || t[39] !== pt || t[40] !== u || t[41] !== r || t[42] !== f || t[43] !== Rt || t[44] !== Yt || t[45] !== Et || t[46] !== n || t[47] !== Nt || t[48] !== yt || t[49] !== xe || t[50] !== _ || t[51] !== l || t[52] !== d || t[53] !== E || t[54] !== ct || t[55] !== O || t[56] !== he || t[57] !== at || t[58] !== Gt || t[59] !== Z || t[60] !== It || t[61] !== Mt || t[62] !== Xt || t[63] !== ut || t[64] !== T || t[65] !== pe || t[66] !== Ft || t[67] !== Pt || t[68] !== ie || t[69] !== de || t[70] !== gt || t[71] !== Vt || t[72] !== v || t[73] !== Q || t[74] !== wt || t[75] !== ot || t[76] !== j || t[77] !== k || t[78] !== ge || t[79] !== m ? (W = ot && wt && n.length > 0 ? /* @__PURE__ */ s.jsx(jo, { data: n, lineColors: n.filter(si).length === 0 ? f ? [f] : [z.primaryColors["blue-600"]] : f || z[j].categoricalColors.colors, width: ot, height: wt, dateFormat: Nt, noOfXTicks: Z ?? Co(ot), leftMargin: d, rightMargin: pe, topMargin: ge, bottomMargin: pt, tooltip: k, onSeriesMouseOver: Mt, suffix: Q, prefix: ut, highlightAreaSettings: xe, refValues: T, minValue: at, maxValue: O, highlightedLines: _, showHighlightedLinesLabels: de, animate: et === !0 ? {
589
+ t[33] !== n.length ? (B = n.length === 0 && /* @__PURE__ */ s.jsx(vo, {}), t[33] = n.length, t[34] = B) : B = t[34];
590
+ let z;
591
+ t[35] !== l || t[36] !== ie || t[37] !== gt || t[38] !== u || t[39] !== r || t[40] !== c || t[41] !== wt || t[42] !== vt || t[43] !== Rt || t[44] !== n || t[45] !== Nt || t[46] !== Yt || t[47] !== pe || t[48] !== M || t[49] !== k || t[50] !== d || t[51] !== Gt || t[52] !== ft || t[53] !== O || t[54] !== fe || t[55] !== lt || t[56] !== Xt || t[57] !== tt || t[58] !== Wt || t[59] !== Mt || t[60] !== It || t[61] !== ht || t[62] !== T || t[63] !== me || t[64] !== Pt || t[65] !== Et || t[66] !== ge || t[67] !== he || t[68] !== dt || t[69] !== f || t[70] !== v || t[71] !== _ || t[72] !== Ot || t[73] !== ot || t[74] !== $ || t[75] !== S || t[76] !== ue || t[77] !== m ? (z = ot && Ot && n.length > 0 ? /* @__PURE__ */ s.jsx(jo, { data: n, lineColors: n.filter(si).length === 0 ? c ? [c] : [q.primaryColors["blue-600"]] : c || q[$].categoricalColors.colors, width: ot, height: Ot, dateFormat: Nt, noOfXTicks: tt ?? Co(ot), leftMargin: d, rightMargin: me, topMargin: ue, bottomMargin: gt, tooltip: S, onSeriesMouseOver: Mt, suffix: _, prefix: ht, highlightAreaSettings: pe, refValues: T, minValue: lt, maxValue: O, highlightedLines: M, showHighlightedLinesLabels: he, animate: l === !0 ? {
595
592
  duration: 0.5,
596
593
  once: !0,
597
594
  amount: 0.5
598
- } : et || {
595
+ } : l || {
599
596
  duration: 0,
600
597
  once: !0,
601
598
  amount: 0
602
- }, rtl: l === "he" || l === "ar", strokeWidth: Vt, showDots: ie, annotations: dt, customHighlightAreaSettings: Yt, yAxisTitle: m, noOfYTicks: It, minDate: he, maxDate: ct, curveType: Rt, styles: v, classNames: u, selectedColor: Ft, showLabels: gt, colorDomain: n.filter(ri).length === 0 ? [] : r || He(n, "color", !0), dimmedOpacity: yt, precision: Xt, customLayers: Et, naLabel: Gt, showDateOnHover: Pt, locale: E }) : null, t[37] = et, t[38] = dt, t[39] = pt, t[40] = u, t[41] = r, t[42] = f, t[43] = Rt, t[44] = Yt, t[45] = Et, t[46] = n, t[47] = Nt, t[48] = yt, t[49] = xe, t[50] = _, t[51] = l, t[52] = d, t[53] = E, t[54] = ct, t[55] = O, t[56] = he, t[57] = at, t[58] = Gt, t[59] = Z, t[60] = It, t[61] = Mt, t[62] = Xt, t[63] = ut, t[64] = T, t[65] = pe, t[66] = Ft, t[67] = Pt, t[68] = ie, t[69] = de, t[70] = gt, t[71] = Vt, t[72] = v, t[73] = Q, t[74] = wt, t[75] = ot, t[76] = j, t[77] = k, t[78] = ge, t[79] = m, t[80] = W) : W = t[80];
603
- let Y;
604
- t[81] !== B || t[82] !== W ? (Y = /* @__PURE__ */ s.jsxs(bo, { ref: G, children: [
599
+ }, rtl: k === "he" || k === "ar", strokeWidth: f, showDots: ge, annotations: ie, customHighlightAreaSettings: vt, yAxisTitle: m, noOfYTicks: Wt, minDate: fe, maxDate: ft, curveType: wt, styles: v, classNames: u, selectedColor: Pt, showLabels: dt, colorDomain: n.filter(ri).length === 0 ? [] : r || Se(n, "color", !0), dimmedOpacity: Yt, precision: It, customLayers: Rt, naLabel: Xt, showDateOnHover: Et, locale: Gt }) : null, t[35] = l, t[36] = ie, t[37] = gt, t[38] = u, t[39] = r, t[40] = c, t[41] = wt, t[42] = vt, t[43] = Rt, t[44] = n, t[45] = Nt, t[46] = Yt, t[47] = pe, t[48] = M, t[49] = k, t[50] = d, t[51] = Gt, t[52] = ft, t[53] = O, t[54] = fe, t[55] = lt, t[56] = Xt, t[57] = tt, t[58] = Wt, t[59] = Mt, t[60] = It, t[61] = ht, t[62] = T, t[63] = me, t[64] = Pt, t[65] = Et, t[66] = ge, t[67] = he, t[68] = dt, t[69] = f, t[70] = v, t[71] = _, t[72] = Ot, t[73] = ot, t[74] = $, t[75] = S, t[76] = ue, t[77] = m, t[78] = z) : z = t[78];
600
+ let U;
601
+ t[79] !== B || t[80] !== z ? (U = /* @__PURE__ */ s.jsxs(bo, { ref: Ft, children: [
605
602
  B,
606
- W
607
- ] }), t[81] = B, t[82] = W, t[83] = Y) : Y = t[83];
608
- let At;
609
- t[84] !== u?.footnote || t[85] !== u?.source || t[86] !== D || t[87] !== it || t[88] !== v?.footnote || t[89] !== v?.source || t[90] !== x ? (At = it || D ? /* @__PURE__ */ s.jsx(xo, { styles: {
603
+ z
604
+ ] }), t[79] = B, t[80] = z, t[81] = U) : U = t[81];
605
+ let I;
606
+ t[82] !== u?.footnote || t[83] !== u?.source || t[84] !== D || t[85] !== nt || t[86] !== v?.footnote || t[87] !== v?.source || t[88] !== x ? (I = nt || D ? /* @__PURE__ */ s.jsx(xo, { styles: {
610
607
  footnote: v?.footnote,
611
608
  source: v?.source
612
609
  }, classNames: {
613
610
  footnote: u?.footnote,
614
611
  source: u?.source
615
- }, sources: it, footNote: D, width: x }) : null, t[84] = u?.footnote, t[85] = u?.source, t[86] = D, t[87] = it, t[88] = v?.footnote, t[89] = v?.source, t[90] = x, t[91] = At) : At = t[91];
616
- let re;
617
- return t[92] !== lt || t[93] !== ht || t[94] !== _t || t[95] !== I || t[96] !== l || t[97] !== ye || t[98] !== st || t[99] !== me || t[100] !== Ct || t[101] !== Bt || t[102] !== P || t[103] !== F || t[104] !== Y || t[105] !== At || t[106] !== j || t[107] !== x ? (re = /* @__PURE__ */ s.jsxs(Oo, { className: Ct, style: Bt, id: _t, ref: ne, "aria-label": lt, backgroundColor: ht, theme: j, language: l, minHeight: ye, width: x, height: I, relativeHeight: me, padding: st, children: [
618
- P,
619
- F,
612
+ }, sources: nt, footNote: D, width: x }) : null, t[82] = u?.footnote, t[83] = u?.source, t[84] = D, t[85] = nt, t[86] = v?.footnote, t[87] = v?.source, t[88] = x, t[89] = I) : I = t[89];
613
+ let it;
614
+ return t[90] !== ct || t[91] !== pt || t[92] !== _t || t[93] !== R || t[94] !== k || t[95] !== xt || t[96] !== at || t[97] !== le || t[98] !== Bt || t[99] !== P || t[100] !== Y || t[101] !== F || t[102] !== U || t[103] !== I || t[104] !== $ || t[105] !== x ? (it = /* @__PURE__ */ s.jsxs(Oo, { className: Bt, style: P, id: _t, ref: ne, "aria-label": ct, backgroundColor: pt, theme: $, language: k, minHeight: xt, width: x, height: R, relativeHeight: le, padding: at, children: [
620
615
  Y,
621
- At
622
- ] }), t[92] = lt, t[93] = ht, t[94] = _t, t[95] = I, t[96] = l, t[97] = ye, t[98] = st, t[99] = me, t[100] = Ct, t[101] = Bt, t[102] = P, t[103] = F, t[104] = Y, t[105] = At, t[106] = j, t[107] = x, t[108] = re) : re = t[108], re;
616
+ F,
617
+ U,
618
+ I
619
+ ] }), t[90] = ct, t[91] = pt, t[92] = _t, t[93] = R, t[94] = k, t[95] = xt, t[96] = at, t[97] = le, t[98] = Bt, t[99] = P, t[100] = Y, t[101] = F, t[102] = U, t[103] = I, t[104] = $, t[105] = x, t[106] = it) : it = t[106], it;
623
620
  }
624
621
  function ri(e) {
625
622
  return e.color;