@databrainhq/plugin 0.17.9-beta.66 → 0.17.9-beta.67

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 (134) hide show
  1. package/dist/{Accordion-ClM-DQNR.mjs → Accordion-HnV7Wa7d.mjs} +1 -1
  2. package/dist/{Axis-so_G8609.mjs → Axis-BoRILjw6.mjs} +25 -25
  3. package/dist/AxisBuilder-CbZA9BA5.mjs +556 -0
  4. package/dist/{AxisView-DbvR7xj2.mjs → AxisView-D1J-Vvd5.mjs} +46 -46
  5. package/dist/{CardChartSlot-WYOoFrPL.mjs → CardChartSlot-xCL70UFF.mjs} +6 -6
  6. package/dist/{Chart-C-M2BAGW.mjs → Chart-C8IUjDZP.mjs} +1249 -1444
  7. package/dist/{ChartTypePanel-CgnH37kj.mjs → ChartTypePanel-D33r24Vx.mjs} +8 -8
  8. package/dist/{CreateGlobalFilter-C9KQALHu.mjs → CreateGlobalFilter-CrZMQyeM.mjs} +2 -2
  9. package/dist/{CreateMetricV2-D669LmPA.mjs → CreateMetricV2-uIc0kSQ_.mjs} +12 -12
  10. package/dist/GridModel-BOILOnLN.mjs +39 -0
  11. package/dist/{HorizontalStackTable-E91Iuyzf.mjs → HorizontalStackTable-B_4q2iBG.mjs} +3 -3
  12. package/dist/{LineDraw-QEq0LGiV.mjs → LineDraw-C5CPD2fu.mjs} +75 -75
  13. package/dist/{ManageMetricsV2-C1d5KU_f.mjs → ManageMetricsV2-iTJys95Q.mjs} +3 -3
  14. package/dist/{MetricCardV2-C2eYo3s-.mjs → MetricCardV2-CBXvGrxI.mjs} +7 -7
  15. package/dist/{NoDataFound-ChW4me5m.mjs → NoDataFound-dLuw3_8M.mjs} +1 -1
  16. package/dist/{Panel-OH_Kxefy.mjs → Panel-DbS03Fa_.mjs} +1 -1
  17. package/dist/{PivotTableV2-D0GqqiiM.mjs → PivotTableV2-BGeyDx2h.mjs} +2 -2
  18. package/dist/{PivotTableV3-BdO_u5WS.mjs → PivotTableV3-q9Gs3DAq.mjs} +4 -4
  19. package/dist/{Portal-CV_NrBJ-.mjs → Portal-DSSDhg1M.mjs} +59 -59
  20. package/dist/{RadioButton-CVv2WrAN.mjs → RadioButton-DY7YeYgN.mjs} +1 -1
  21. package/dist/{RoamController-Dg9XZMbv.mjs → RoamController-kkduqIGv.mjs} +27 -27
  22. package/dist/{ScheduleEmail-BMgGc98g.mjs → ScheduleEmail-CRzbBNyX.mjs} +6 -6
  23. package/dist/{SearchMetricData-IL8DdG5T.mjs → SearchMetricData-Ba-UG9Xi.mjs} +162 -162
  24. package/dist/{SeriesData-BiofVRKp.mjs → SeriesData-t2ZM93xe.mjs} +153 -153
  25. package/dist/{SeriesDataSchema-DsLx8ATY.mjs → SeriesDataSchema-DbWmjBHq.mjs} +3 -3
  26. package/dist/{SortPanel-CsY3Go6z.mjs → SortPanel-CM4XEYFx.mjs} +10 -10
  27. package/dist/{SymbolDraw-B7bsdOGh.mjs → SymbolDraw-aWP4aFcT.mjs} +77 -77
  28. package/dist/{Table-V9qwq_A-.mjs → Table-CDvOpuYe.mjs} +249 -241
  29. package/dist/{TagInputField-BXcyiOOC.mjs → TagInputField-fGfjlIAp.mjs} +4 -4
  30. package/dist/{TextAreaField-Bg-Mn1xZ.mjs → TextAreaField-BdQ1n88e.mjs} +2 -2
  31. package/dist/{TimeSeriesSettings-DEBOcjxj.mjs → TimeSeriesSettings-BbF-feiK.mjs} +2 -2
  32. package/dist/View-HJXsM1pX.mjs +196 -0
  33. package/dist/{VisualMapping-C4H6uMDK.mjs → VisualMapping-BEacOIdS.mjs} +77 -77
  34. package/dist/{arrayToCsvString-D9jRf3H1.mjs → arrayToCsvString-Rjim3CLj.mjs} +1 -1
  35. package/dist/{axisAlignTicks-CA9tHLzi.mjs → axisAlignTicks-BDCH2l76.mjs} +21 -21
  36. package/dist/axisBand-B8HTljY9.mjs +434 -0
  37. package/dist/{axisDefault-nEWLSKin.mjs → axisDefault-BfDTCeDW.mjs} +12 -12
  38. package/dist/{axisHelper-B4ygrEAu.mjs → axisHelper-C92zjGrZ.mjs} +267 -267
  39. package/dist/{axisNiceTicks-ClubN7Tk.mjs → axisNiceTicks-DlIPQ7Bu.mjs} +13 -13
  40. package/dist/{bar-BB2qrFDC.mjs → bar-Dnd6DMeI.mjs} +2 -2
  41. package/dist/{barCommon-BArELGTY.mjs → barCommon--mFXSMxr.mjs} +14 -14
  42. package/dist/{barGrid-_f2rVIut.mjs → barGrid-BnZ3vF37.mjs} +36 -36
  43. package/dist/{base-Dsk4fQ1B.mjs → base-CqKr_o6m.mjs} +3 -3
  44. package/dist/{canvas-B9V5aHe8.mjs → canvas-MlE3EEgP.mjs} +2 -2
  45. package/dist/canvasLetterSpacing-C1X0nr1A.mjs +59 -0
  46. package/dist/canvasTeardown-BZnfPMIf.mjs +261 -0
  47. package/dist/{cardQueryError-DY_ZJaeH.mjs → cardQueryError-BvdXcZWj.mjs} +10 -10
  48. package/dist/{cartesianAxisHelper-DoeSPDFx.mjs → cartesianAxisHelper-Cj6QbGbq.mjs} +3 -3
  49. package/dist/{charts-DLkGIf3C.mjs → charts-TEuh7DBS.mjs} +1580 -1546
  50. package/dist/{conditionalFormatting-C-FdJ4PG.mjs → conditionalFormatting-jiDCWhx5.mjs} +1 -1
  51. package/dist/{createClipPathFromCoordSys-B4vAGE8Z.mjs → createClipPathFromCoordSys-D8WqA4dr.mjs} +13 -13
  52. package/dist/createDimensions-CnmSLhmZ.mjs +104 -0
  53. package/dist/{createGlobalFilter.module-Q1baYqNl.mjs → createGlobalFilter.module-BSLkPq6G.mjs} +1 -1
  54. package/dist/{createGraphFromNodeEdge-7WyfkrBe.mjs → createGraphFromNodeEdge-DCo8LkEe.mjs} +39 -39
  55. package/dist/createSeriesData-QC-rX5h7.mjs +101 -0
  56. package/dist/{createSeriesDataSimply-BxdEaPVX.mjs → createSeriesDataSimply-CKTp_DsX.mjs} +4 -4
  57. package/dist/{custom-DcvwBVj2.mjs → custom-DsYOLaUK.mjs} +2 -2
  58. package/dist/customGraphicKeyframeAnimation-Cfq3Ya3a.mjs +299 -0
  59. package/dist/data.cjs +1 -1
  60. package/dist/data.mjs +1 -1
  61. package/dist/{dataSample-Bp4H9kbC.mjs → dataSample-Cv8KVcHp.mjs} +2 -2
  62. package/dist/{dataStackHelper-8xSjPoGY.mjs → dataStackHelper-plaarSse.mjs} +2 -2
  63. package/dist/{echarts-CAoS6aE4.mjs → echarts-DSP9q-oP.mjs} +1596 -1596
  64. package/dist/{echarts-B6T0U8q9.mjs → extension-CjvfhuOl.mjs} +2460 -2415
  65. package/dist/{option-BVCp3H01.mjs → format-BdG1uTDw.mjs} +493 -463
  66. package/dist/{funnel-BPyzsZSL.mjs → funnel-BqvvHgIV.mjs} +2 -2
  67. package/dist/{gauge-3Wvva_32.mjs → gauge-D5uVlOTf.mjs} +2 -2
  68. package/dist/{graph-CExwwYVH.mjs → graph-D1H_pveT.mjs} +2 -2
  69. package/dist/{install-D5AxiliG.mjs → install-B2u2WICp.mjs} +249 -249
  70. package/dist/install-C94jvAIB.mjs +370 -0
  71. package/dist/{install-B1TqspfL.mjs → install-CD_nJllF.mjs} +151 -151
  72. package/dist/{install-DeQuODXS.mjs → install-CVI7EngB.mjs} +183 -183
  73. package/dist/{install-BWNipZtL.mjs → install-ClLUQImW.mjs} +164 -164
  74. package/dist/{install-BcuG0TzG.mjs → install-CqGJAjtU.mjs} +205 -205
  75. package/dist/{install-COuvnLYq.mjs → install-CqpZdmUs.mjs} +224 -225
  76. package/dist/{install-B35NwG74.mjs → install-CwLVKiaI.mjs} +448 -627
  77. package/dist/{install-fUIPAUHh.mjs → install-CxIyDAbo.mjs} +142 -142
  78. package/dist/install-D-uyYxzt.mjs +442 -0
  79. package/dist/{install-g1WKebGq.mjs → install-DxzoEvqo.mjs} +53 -54
  80. package/dist/{install-BOqmfLSu.mjs → install-UQOuGZ-3.mjs} +156 -156
  81. package/dist/install-YalZg5OB.mjs +208 -0
  82. package/dist/{install-COgFGhU1.mjs → install-gJJR8ost.mjs} +185 -185
  83. package/dist/{installCanvasRenderer-DZQl9WUm.mjs → installCanvasRenderer-CdQICtMz.mjs} +148 -148
  84. package/dist/installSVGRenderer-CM4phOH5.mjs +788 -0
  85. package/dist/installSimple-hwzmQHWx.mjs +562 -0
  86. package/dist/labelGuideHelper-Biiy5GEO.mjs +211 -0
  87. package/dist/{labelHelper-CWf3lqtb.mjs → labelHelper-CK2wFnD2.mjs} +9 -9
  88. package/dist/{labelLayoutHelper-gSQ2wxVR.mjs → labelLayoutHelper-BGT4km6s.mjs} +16 -16
  89. package/dist/{legacyContainLabel-C2O3qS_C.mjs → legacyContainLabel-BPPdU-_P.mjs} +1057 -1058
  90. package/dist/{line-Biu-eHDy.mjs → line-Bz3suzTe.mjs} +2 -2
  91. package/dist/{linkSeriesData-CmdFbU_o.mjs → linkSeriesData-oLBZWXeI.mjs} +15 -15
  92. package/dist/{metric.mutation-GQtohk1S.mjs → metric.mutation-Bp6C-gnS.mjs} +1 -1
  93. package/dist/parseGeoJson-CL1oJAFU.mjs +185 -0
  94. package/dist/{permissions-CH-WGA_H.mjs → permissions-RytJG009.mjs} +5 -5
  95. package/dist/{pie-BSGwMlDv.mjs → pie-8bHZZWij.mjs} +2 -2
  96. package/dist/{pluginV3Request-CCcbgHOL.mjs → pluginV3Request-B6J1iWdo.mjs} +1 -1
  97. package/dist/{points-QJPXYOtn.mjs → points-D4GPTJUM.mjs} +3 -3
  98. package/dist/{polar-DF62ToTw.mjs → polar-CDByVeuT.mjs} +2 -2
  99. package/dist/{radar-DUrDFixH.mjs → radar-Cm_0Z4n_.mjs} +2 -2
  100. package/dist/{renderer-CbYNXUJq.mjs → renderer-BC0h-JPJ.mjs} +2 -2
  101. package/dist/{roamHelper-CcGUDlj6.mjs → roamHelper-CfJQ0V8o.mjs} +15 -15
  102. package/dist/{sankey-DQjq16w_.mjs → sankey-B-88mGB1.mjs} +2 -2
  103. package/dist/{sausage-CnA_7NXH.mjs → sausage-MJyh9DcM.mjs} +1 -1
  104. package/dist/{scatter-Z9iXDwaa.mjs → scatter-CXYREtPk.mjs} +2 -2
  105. package/dist/{sectorHelper-BYk-RZi8.mjs → sectorHelper-BrGpww5p.mjs} +4 -4
  106. package/dist/{svg-BqqDtKe2.mjs → svg-BpzO9oa-.mjs} +2 -2
  107. package/dist/{theme-Cy9b23sj.mjs → theme-BYHowFGG.mjs} +137 -135
  108. package/dist/{timeseries-CDZ2lqd0.mjs → timeseries-D1_Havul.mjs} +1911 -1939
  109. package/dist/{toTasteAppearance-CcICPHaj.mjs → toTasteAppearance-DdC9S4xx.mjs} +13 -13
  110. package/dist/{treemap-C3cV5Iw-.mjs → treemap-BGu5cKFF.mjs} +2 -2
  111. package/dist/{useGuesTokenUsageLog-x2sDutRn.mjs → useGuesTokenUsageLog-BDOlwCKi.mjs} +1 -1
  112. package/dist/{usePublishArchivedMetrics-DJKjX-SL.mjs → usePublishArchivedMetrics-B9KYUf2j.mjs} +2 -2
  113. package/dist/{useQuery-wLcZUjCm.mjs → useQuery-8yPFyxSa.mjs} +1 -1
  114. package/dist/{vendor-Bq_K9DdP.mjs → vendor-BesI8vuE.mjs} +1 -1
  115. package/dist/webcomponents.css +1 -1
  116. package/dist/webcomponents.es.js +1487 -1460
  117. package/dist/webcomponents.umd.js +194 -184
  118. package/package.json +1 -1
  119. package/types/publicTypes.d.ts +4 -3
  120. package/dist/AxisBuilder-CIEw0VKH.mjs +0 -556
  121. package/dist/GridModel-DpfhksE5.mjs +0 -39
  122. package/dist/View-DuNXbS5E.mjs +0 -196
  123. package/dist/axisBand-CqPMsaju.mjs +0 -434
  124. package/dist/canvasTeardown-U1wBiiCe.mjs +0 -65
  125. package/dist/createDimensions-DYZprUlh.mjs +0 -104
  126. package/dist/createSeriesData-SCJKaSQ2.mjs +0 -101
  127. package/dist/customGraphicKeyframeAnimation-C5rfpbhk.mjs +0 -299
  128. package/dist/extension-dPyu9HSg.mjs +0 -52
  129. package/dist/install-DJXWoot7.mjs +0 -208
  130. package/dist/install-YCJIpIX5.mjs +0 -443
  131. package/dist/install-jnjEqKhO.mjs +0 -370
  132. package/dist/installSVGRenderer-DWwkDWs9.mjs +0 -788
  133. package/dist/installSimple-B0ty1uQ7.mjs +0 -562
  134. package/dist/labelGuideHelper-JZN7_bZa.mjs +0 -211
@@ -1,200 +1,21 @@
1
1
  import "react";
2
2
  import "react-dom";
3
3
  import "react-dom/client";
4
- import { $i as e, Bc as t, Bt as n, Cc as r, Ci as i, Cs as a, Ea as o, Fc as s, Ft as c, Gt as l, Hi as u, Ic as d, Is as f, Jn as p, Js as m, K as h, Kc as g, Ki as _, L as v, Lo as y, Ls as b, Lt as x, Ms as S, Nr as C, Ns as w, Nt as ee, Oa as te, Oo as T, Pi as E, Po as ne, Ps as re, Pt as D, Qt as ie, Rc as O, Rs as ae, Ti as oe, Ui as se, Wc as ce, Xn as le, Xr as ue, Xt as de, Yc as fe, Yr as pe, Zr as me, ai as he, bc as ge, bi as _e, ci as ve, ct as ye, di as be, ds as xe, ei as Se, fa as Ce, fs as we, gc as Te, go as k, hc as Ee, ir as De, it as Oe, k as ke, kc as Ae, mc as A, nc as je, ni as Me, nl as j, nr as Ne, nt as Pe, oa as Fe, oi as Ie, rc as Le, ti as Re, uc as ze, us as Be, vc as M, xc as Ve, zc as He, zi as N, zs as Ue } from "./echarts-B6T0U8q9.mjs";
5
- import { _ as We, c as Ge, f as Ke, g as qe, h as Je, l as Ye, n as Xe, p as Ze, s as Qe, t as $e } from "./View-DuNXbS5E.mjs";
6
- import { t as et } from "./createSeriesDataSimply-BxdEaPVX.mjs";
7
- import { t as tt } from "./RoamController-Dg9XZMbv.mjs";
8
- import { a as nt } from "./roamHelper-CcGUDlj6.mjs";
9
- // ../../../node_modules/.pnpm/zrender@6.1.0_patch_hash=5db971e1fe9b03896c66efa4f340559fcb08d8cbd699b6e733dc1d36fdfad9b5/node_modules/zrender/lib/contain/polygon.js
10
- var rt = 1e-8;
11
- function it(e, t) {
12
- return Math.abs(e - t) < rt;
13
- }
14
- function P(e, t, n) {
15
- var r = 0, i = e[0];
16
- if (!i) return !1;
17
- for (var a = 1; a < e.length; a++) {
18
- var o = e[a];
19
- r += _(i[0], i[1], o[0], o[1], t, n), i = o;
20
- }
21
- var s = e[0];
22
- return it(i[0], s[0]) && it(i[1], s[1]) || (r += _(i[0], i[1], s[0], s[1], t, n)), r !== 0;
23
- }
24
- // ../../../node_modules/.pnpm/echarts@6.1.0/node_modules/echarts/lib/coord/geo/Region.js
25
- var at = [];
26
- function F(e, t) {
27
- for (var n = 0; n < e.length; n++) m(e[n], e[n], t);
28
- }
29
- function ot(e, t, n, r) {
30
- for (var i = 0; i < e.length; i++) {
31
- var a = e[i];
32
- r && (a = r.project(a)), a && isFinite(a[0]) && isFinite(a[1]) && (Le(t, t, a), je(n, n, a));
33
- }
34
- }
35
- function st(e) {
36
- for (var t = 0, n = 0, r = 0, i = e.length, a = e[i - 1][0], o = e[i - 1][1], s = 0; s < i; s++) {
37
- var c = e[s][0], l = e[s][1], u = a * l - c * o;
38
- t += u, n += (a + c) * u, r += (o + l) * u, a = c, o = l;
39
- }
40
- return t ? [
41
- n / t / 3,
42
- r / t / 3,
43
- t
44
- ] : [e[0][0] || 0, e[0][1] || 0];
45
- }
46
- var ct = function() {
47
- function e(e) {
48
- this.name = e;
49
- }
50
- return e.prototype.setCenter = function(e) {
51
- this._center = e;
52
- }, e.prototype.getCenter = function() {
53
- var e = this._center;
54
- return e ||= this._center = this.calcCenter(), e;
55
- }, e;
56
- }(), lt = function() {
57
- function e(e, t) {
58
- this.type = "polygon", this.exterior = e, this.interiors = t;
59
- }
60
- return e;
61
- }(), ut = function() {
62
- function e(e) {
63
- this.type = "linestring", this.points = e;
64
- }
65
- return e;
66
- }(), dt = function(e) {
67
- j(t, e);
68
- function t(t, n, r) {
69
- var i = e.call(this, t) || this;
70
- return i.type = "geoJSON", i.geometries = n, i._center = r && [r[0], r[1]], i;
71
- }
72
- return t.prototype.calcCenter = function() {
73
- for (var e = this.geometries, t, n = 0, r = 0; r < e.length; r++) {
74
- var i = e[r], a = i.exterior, o = a && a.length;
75
- o > n && (t = i, n = o);
76
- }
77
- if (t) return st(t.exterior);
78
- var s = this.getBoundingRect();
79
- return [s.x + s.width / 2, s.y + s.height / 2];
80
- }, t.prototype.getBoundingRect = function(e) {
81
- var t = this._rect;
82
- if (t && !e) return t;
83
- var n = [Infinity, Infinity], r = [-Infinity, -Infinity], i = this.geometries;
84
- return M(i, function(t) {
85
- t.type === "polygon" ? ot(t.exterior, n, r, e) : M(t.points, function(t) {
86
- ot(t, n, r, e);
87
- });
88
- }), isFinite(n[0]) && isFinite(n[1]) && isFinite(r[0]) && isFinite(r[1]) || (n[0] = n[1] = r[0] = r[1] = 0), t = new a(n[0], n[1], r[0] - n[0], r[1] - n[1]), e || (this._rect = t), t;
89
- }, t.prototype.contain = function(e) {
90
- var t = this.getBoundingRect(), n = this.geometries;
91
- if (!t.contain(e[0], e[1])) return !1;
92
- loopGeo: for (var r = 0, i = n.length; r < i; r++) {
93
- var a = n[r];
94
- if (a.type === "polygon") {
95
- var o = a.exterior, s = a.interiors;
96
- if (P(o, e[0], e[1])) {
97
- for (var c = 0; c < (s ? s.length : 0); c++) if (P(s[c], e[0], e[1])) continue loopGeo;
98
- return !0;
99
- }
100
- }
101
- }
102
- return !1;
103
- }, t.prototype.transformTo = function(e, t, n, r) {
104
- var i = this.getBoundingRect(), o = i.width / i.height;
105
- n ? r ||= n / o : n = o * r;
106
- for (var s = new a(e, t, n, r), c = i.calculateTransform(s), l = this.geometries, u = 0; u < l.length; u++) {
107
- var d = l[u];
108
- d.type === "polygon" ? (F(d.exterior, c), M(d.interiors, function(e) {
109
- F(e, c);
110
- })) : M(d.points, function(e) {
111
- F(e, c);
112
- });
113
- }
114
- i = this._rect, i.copy(s), this._center = [i.x + i.width / 2, i.y + i.height / 2];
115
- }, t.prototype.cloneShallow = function(e) {
116
- e ??= this.name;
117
- var n = new t(e, this.geometries, this._center);
118
- return n._rect = this._rect, n.transformTo = null, n;
119
- }, t;
120
- }(ct), ft = function(e) {
121
- j(t, e);
122
- function t(t, n) {
123
- var r = e.call(this, t) || this;
124
- return r.type = "geoSVG", r._elOnlyForCalculate = n, r;
125
- }
126
- return t.prototype.calcCenter = function() {
127
- for (var e = this._elOnlyForCalculate, t = e.getBoundingRect(), n = [t.x + t.width / 2, t.y + t.height / 2], r = w(at), i = e; i && !i.isGeoSVGGraphicRoot;) f(r, i.getLocalTransform(), r), i = i.parent;
128
- return re(r, r), m(n, n, r), n;
129
- }, t;
130
- }(ct);
131
- // ../../../node_modules/.pnpm/echarts@6.1.0/node_modules/echarts/lib/coord/geo/parseGeoJson.js
132
- function pt(e) {
133
- if (!e.UTF8Encoding) return e;
134
- var t = e, n = t.UTF8Scale;
135
- n ??= 1024;
136
- var r = t.features;
137
- return M(r, function(e) {
138
- var t = e.geometry, r = t.encodeOffsets, i = t.coordinates;
139
- if (r) switch (t.type) {
140
- case "LineString":
141
- t.coordinates = mt(i, r, n);
142
- break;
143
- case "Polygon":
144
- I(i, r, n);
145
- break;
146
- case "MultiLineString":
147
- I(i, r, n);
148
- break;
149
- case "MultiPolygon": M(i, function(e, t) {
150
- return I(e, r[t], n);
151
- });
152
- }
153
- }), t.UTF8Encoding = !1, t;
154
- }
155
- function I(e, t, n) {
156
- for (var r = 0; r < e.length; r++) e[r] = mt(e[r], t[r], n);
157
- }
158
- function mt(e, t, n) {
159
- for (var r = [], i = t[0], a = t[1], o = 0; o < e.length; o += 2) {
160
- var s = e.charCodeAt(o) - 64, c = e.charCodeAt(o + 1) - 64;
161
- s = s >> 1 ^ -(s & 1), c = c >> 1 ^ -(c & 1), s += i, c += a, i = s, a = c, r.push([s / n, c / n]);
162
- }
163
- return r;
164
- }
165
- function ht(e, t) {
166
- return e = pt(e), O(Ve(e.features, function(e) {
167
- return e.geometry && e.properties && e.geometry.coordinates.length > 0;
168
- }), function(e) {
169
- var n = e.properties, r = e.geometry, i = [];
170
- switch (r.type) {
171
- case "Polygon":
172
- var a = r.coordinates;
173
- i.push(new lt(a[0], a.slice(1)));
174
- break;
175
- case "MultiPolygon":
176
- M(r.coordinates, function(e) {
177
- e[0] && i.push(new lt(e[0], e.slice(1)));
178
- });
179
- break;
180
- case "LineString":
181
- i.push(new ut([r.coordinates]));
182
- break;
183
- case "MultiLineString": i.push(new ut(r.coordinates));
184
- }
185
- var o = new dt(n[t || "name"], i, n.cp);
186
- return o.properties = n, o;
187
- });
188
- }
4
+ import { $r as e, A as t, As as n, Da as r, Dc as i, Eo as a, Fo as o, Fs as s, G as c, Hc as l, Hi as u, Ic as d, Is as f, It as p, Jr as m, Ks as h, Lc as g, Ls as _, Mo as v, Mr as y, Mt as b, Nc as x, Ni as S, Nt as C, Pc as ee, Ps as te, Pt as ne, Qi as w, R as re, Rc as ie, Ri as T, Si as ae, Ta as oe, Vi as se, Wc as ce, Wt as le, Xr as ue, Yn as de, Yr as fe, Yt as pe, Zt as me, aa as he, ai as ge, cc as _e, cs as ve, da as ye, ec as be, ei as E, el as D, fc as O, gc as k, ho as A, ii as xe, ls as Se, mc as Ce, pc as we, qc as Te, qn as Ee, rr as De, rt as Oe, si as ke, st as j, tc as Ae, ti as M, tr as je, tt as Me, ui as Ne, us as Pe, vc as N, wi as Fe, xc as P, xs as F, yi as Ie, zt as Le } from "./extension-CjvfhuOl.mjs";
5
+ import { n as Re, r as ze, t as Be } from "./parseGeoJson-CL1oJAFU.mjs";
6
+ import { _ as Ve, c as He, f as Ue, g as We, h as Ge, l as Ke, n as qe, p as Je, s as Ye, t as Xe } from "./View-HJXsM1pX.mjs";
7
+ import { t as Ze } from "./createSeriesDataSimply-CKTp_DsX.mjs";
8
+ import { t as Qe } from "./RoamController-kkduqIGv.mjs";
9
+ import { a as $e } from "./roamHelper-CfJQ0V8o.mjs";
189
10
  // ../../../node_modules/.pnpm/zrender@6.1.0_patch_hash=5db971e1fe9b03896c66efa4f340559fcb08d8cbd699b6e733dc1d36fdfad9b5/node_modules/zrender/lib/tool/parseXML.js
190
- function gt(e) {
191
- s(e) && (e = new DOMParser().parseFromString(e, "text/xml"));
11
+ function et(e) {
12
+ x(e) && (e = new DOMParser().parseFromString(e, "text/xml"));
192
13
  var t = e;
193
14
  for (t.nodeType === 9 && (t = t.firstChild); t.nodeName.toLowerCase() !== "svg" || t.nodeType !== 1;) t = t.nextSibling;
194
15
  return t;
195
16
  }
196
17
  // ../../../node_modules/.pnpm/zrender@6.1.0_patch_hash=5db971e1fe9b03896c66efa4f340559fcb08d8cbd699b6e733dc1d36fdfad9b5/node_modules/zrender/lib/tool/parseSVG.js
197
- var L, R = {
18
+ var I, L = {
198
19
  fill: "fill",
199
20
  stroke: "stroke",
200
21
  "stroke-width": "lineWidth",
@@ -213,96 +34,96 @@ var L, R = {
213
34
  "text-anchor": "textAlign",
214
35
  visibility: "visibility",
215
36
  display: "display"
216
- }, _t = d(R), z = {
37
+ }, tt = ee(L), R = {
217
38
  "alignment-baseline": "textBaseline",
218
39
  "stop-color": "stopColor"
219
- }, vt = d(z), yt = function() {
220
- function e() {
40
+ }, nt = ee(R), rt = function() {
41
+ function t() {
221
42
  this._defs = {}, this._root = null;
222
43
  }
223
- return e.prototype.parse = function(e, t) {
44
+ return t.prototype.parse = function(e, t) {
224
45
  t ||= {};
225
- var n = gt(e);
46
+ var n = et(e);
226
47
  this._defsUsePending = [];
227
- var r = new T();
48
+ var r = new a();
228
49
  this._root = r;
229
- var i = [], a = n.getAttribute("viewBox") || "", o = parseFloat(n.getAttribute("width") || t.width), s = parseFloat(n.getAttribute("height") || t.height);
230
- isNaN(o) && (o = null), isNaN(s) && (s = null), V(n, r, null, !0, !1);
231
- for (var c = n.firstChild; c;) this._parseNode(c, r, i, null, !1, !1), c = c.nextSibling;
232
- Dt(this._defs, this._defsUsePending), this._defsUsePending = [];
233
- var l, u;
234
- if (a) {
235
- var d = H(a);
236
- d.length >= 4 && (l = {
237
- x: parseFloat(d[0] || 0),
238
- y: parseFloat(d[1] || 0),
239
- width: parseFloat(d[2]),
240
- height: parseFloat(d[3])
50
+ var i = [], o = n.getAttribute("viewBox") || "", s = parseFloat(n.getAttribute("width") || t.width), c = parseFloat(n.getAttribute("height") || t.height);
51
+ isNaN(s) && (s = null), isNaN(c) && (c = null), B(n, r, null, !0, !1);
52
+ for (var l = n.firstChild; l;) this._parseNode(l, r, i, null, !1, !1), l = l.nextSibling;
53
+ dt(this._defs, this._defsUsePending), this._defsUsePending = [];
54
+ var u, d;
55
+ if (o) {
56
+ var f = V(o);
57
+ f.length >= 4 && (u = {
58
+ x: parseFloat(f[0] || 0),
59
+ y: parseFloat(f[1] || 0),
60
+ width: parseFloat(f[2]),
61
+ height: parseFloat(f[3])
241
62
  });
242
63
  }
243
- if (l && o != null && s != null && (u = Pt(l, {
64
+ if (u && s != null && c != null && (d = vt(u, {
244
65
  x: 0,
245
66
  y: 0,
246
- width: o,
247
- height: s
67
+ width: s,
68
+ height: c
248
69
  }), !t.ignoreViewBox)) {
249
- var f = r;
250
- r = new T(), r.add(f), f.scaleX = f.scaleY = u.scale, f.x = u.x, f.y = u.y;
70
+ var p = r;
71
+ r = new a(), r.add(p), p.scaleX = p.scaleY = d.scale, p.x = d.x, p.y = d.y;
251
72
  }
252
- return !t.ignoreRootClip && o != null && s != null && r.setClipPath(new N({ shape: {
73
+ return !t.ignoreRootClip && s != null && c != null && r.setClipPath(new T({ shape: {
253
74
  x: 0,
254
75
  y: 0,
255
- width: o,
256
- height: s
76
+ width: s,
77
+ height: c
257
78
  } })), {
258
79
  root: r,
259
- width: o,
260
- height: s,
261
- viewBoxRect: l,
262
- viewBoxTransform: u,
80
+ width: s,
81
+ height: c,
82
+ viewBoxRect: u,
83
+ viewBoxTransform: d,
263
84
  named: i
264
85
  };
265
- }, e.prototype._parseNode = function(e, t, n, i, a, o) {
266
- var s = e.nodeName.toLowerCase(), c, l = i;
267
- if (s === "defs" && (a = !0), s === "text" && (o = !0), s === "defs" || s === "switch") c = t;
86
+ }, t.prototype._parseNode = function(e, t, n, r, i, a) {
87
+ var o = e.nodeName.toLowerCase(), s, c = r;
88
+ if (o === "defs" && (i = !0), o === "text" && (a = !0), o === "defs" || o === "switch") s = t;
268
89
  else {
269
- if (!a) {
270
- var u = L[s];
271
- if (u && r(L, s)) {
272
- c = u.call(this, e, t);
273
- var d = e.getAttribute("name");
274
- if (d) {
275
- var f = {
276
- name: d,
90
+ if (!i) {
91
+ var l = I[o];
92
+ if (l && P(I, o)) {
93
+ s = l.call(this, e, t);
94
+ var u = e.getAttribute("name");
95
+ if (u) {
96
+ var d = {
97
+ name: u,
277
98
  namedFrom: null,
278
- svgNodeTagLower: s,
279
- el: c
99
+ svgNodeTagLower: o,
100
+ el: s
280
101
  };
281
- n.push(f), s === "g" && (l = f);
282
- } else i && n.push({
283
- name: i.name,
284
- namedFrom: i,
285
- svgNodeTagLower: s,
286
- el: c
102
+ n.push(d), o === "g" && (c = d);
103
+ } else r && n.push({
104
+ name: r.name,
105
+ namedFrom: r,
106
+ svgNodeTagLower: o,
107
+ el: s
287
108
  });
288
- t.add(c);
109
+ t.add(s);
289
110
  }
290
111
  }
291
- var p = bt[s];
292
- if (p && r(bt, s)) {
293
- var m = p.call(this, e), h = e.getAttribute("id");
294
- h && (this._defs[h] = m);
112
+ var f = it[o];
113
+ if (f && P(it, o)) {
114
+ var p = f.call(this, e), m = e.getAttribute("id");
115
+ m && (this._defs[m] = p);
295
116
  }
296
117
  }
297
- if (c && c.isGroup) for (var g = e.firstChild; g;) g.nodeType === 1 ? this._parseNode(g, c, n, l, a, o) : g.nodeType === 3 && o && this._parseText(g, c), g = g.nextSibling;
298
- }, e.prototype._parseText = function(e, t) {
299
- var n = new se({
118
+ if (s && s.isGroup) for (var h = e.firstChild; h;) h.nodeType === 1 ? this._parseNode(h, s, n, c, i, a) : h.nodeType === 3 && a && this._parseText(h, s), h = h.nextSibling;
119
+ }, t.prototype._parseText = function(e, t) {
120
+ var n = new u({
300
121
  style: { text: e.textContent },
301
122
  silent: !0,
302
123
  x: this._textX || 0,
303
124
  y: this._textY || 0
304
125
  });
305
- B(t, n), V(e, n, this._defsUsePending, !1, !1), wt(n, t);
126
+ z(t, n), B(e, n, this._defsUsePending, !1, !1), ct(n, t);
306
127
  var r = n.style, i = r.fontSize;
307
128
  i && i < 9 && (r.fontSize = 9, n.scaleX *= i / 9, n.scaleY *= i / 9), r.font = (r.fontSize || r.fontFamily) && [
308
129
  r.fontStyle,
@@ -312,15 +133,15 @@ var L, R = {
312
133
  ].join(" ");
313
134
  var a = n.getBoundingRect();
314
135
  return this._textX += a.width, t.add(n), n;
315
- }, e.internalField = (function() {
316
- L = {
136
+ }, t.internalField = (function() {
137
+ I = {
317
138
  g: function(e, t) {
318
- var n = new T();
319
- return B(t, n), V(e, n, this._defsUsePending, !1, !1), n;
139
+ var n = new a();
140
+ return z(t, n), B(e, n, this._defsUsePending, !1, !1), n;
320
141
  },
321
142
  rect: function(e, t) {
322
- var n = new N();
323
- return B(t, n), V(e, n, this._defsUsePending, !1, !1), n.setShape({
143
+ var n = new T();
144
+ return z(t, n), B(e, n, this._defsUsePending, !1, !1), n.setShape({
324
145
  x: parseFloat(e.getAttribute("x") || "0"),
325
146
  y: parseFloat(e.getAttribute("y") || "0"),
326
147
  width: parseFloat(e.getAttribute("width") || "0"),
@@ -328,25 +149,25 @@ var L, R = {
328
149
  }), n.silent = !0, n;
329
150
  },
330
151
  circle: function(e, t) {
331
- var n = new Ie();
332
- return B(t, n), V(e, n, this._defsUsePending, !1, !1), n.setShape({
152
+ var n = new ge();
153
+ return z(t, n), B(e, n, this._defsUsePending, !1, !1), n.setShape({
333
154
  cx: parseFloat(e.getAttribute("cx") || "0"),
334
155
  cy: parseFloat(e.getAttribute("cy") || "0"),
335
156
  r: parseFloat(e.getAttribute("r") || "0")
336
157
  }), n.silent = !0, n;
337
158
  },
338
- line: function(e, t) {
339
- var n = new Se();
340
- return B(t, n), V(e, n, this._defsUsePending, !1, !1), n.setShape({
341
- x1: parseFloat(e.getAttribute("x1") || "0"),
342
- y1: parseFloat(e.getAttribute("y1") || "0"),
343
- x2: parseFloat(e.getAttribute("x2") || "0"),
344
- y2: parseFloat(e.getAttribute("y2") || "0")
345
- }), n.silent = !0, n;
159
+ line: function(t, n) {
160
+ var r = new e();
161
+ return z(n, r), B(t, r, this._defsUsePending, !1, !1), r.setShape({
162
+ x1: parseFloat(t.getAttribute("x1") || "0"),
163
+ y1: parseFloat(t.getAttribute("y1") || "0"),
164
+ x2: parseFloat(t.getAttribute("x2") || "0"),
165
+ y2: parseFloat(t.getAttribute("y2") || "0")
166
+ }), r.silent = !0, r;
346
167
  },
347
168
  ellipse: function(e, t) {
348
- var n = new he();
349
- return B(t, n), V(e, n, this._defsUsePending, !1, !1), n.setShape({
169
+ var n = new xe();
170
+ return z(t, n), B(e, n, this._defsUsePending, !1, !1), n.setShape({
350
171
  cx: parseFloat(e.getAttribute("cx") || "0"),
351
172
  cy: parseFloat(e.getAttribute("cy") || "0"),
352
173
  rx: parseFloat(e.getAttribute("rx") || "0"),
@@ -355,25 +176,25 @@ var L, R = {
355
176
  },
356
177
  polygon: function(e, t) {
357
178
  var n = e.getAttribute("points"), r;
358
- n && (r = Ct(n));
359
- var i = new Me({
179
+ n && (r = st(n));
180
+ var i = new M({
360
181
  shape: { points: r || [] },
361
182
  silent: !0
362
183
  });
363
- return B(t, i), V(e, i, this._defsUsePending, !1, !1), i;
184
+ return z(t, i), B(e, i, this._defsUsePending, !1, !1), i;
364
185
  },
365
186
  polyline: function(e, t) {
366
187
  var n = e.getAttribute("points"), r;
367
- n && (r = Ct(n));
368
- var i = new Re({
188
+ n && (r = st(n));
189
+ var i = new E({
369
190
  shape: { points: r || [] },
370
191
  silent: !0
371
192
  });
372
- return B(t, i), V(e, i, this._defsUsePending, !1, !1), i;
193
+ return z(t, i), B(e, i, this._defsUsePending, !1, !1), i;
373
194
  },
374
195
  image: function(e, t) {
375
- var n = new u();
376
- return B(t, n), V(e, n, this._defsUsePending, !1, !1), n.setStyle({
196
+ var n = new se();
197
+ return z(t, n), B(e, n, this._defsUsePending, !1, !1), n.setStyle({
377
198
  image: e.getAttribute("xlink:href") || e.getAttribute("href"),
378
199
  x: +e.getAttribute("x"),
379
200
  y: +e.getAttribute("y"),
@@ -382,47 +203,47 @@ var L, R = {
382
203
  }), n.silent = !0, n;
383
204
  },
384
205
  text: function(e, t) {
385
- var n = e.getAttribute("x") || "0", r = e.getAttribute("y") || "0", i = e.getAttribute("dx") || "0", a = e.getAttribute("dy") || "0";
386
- this._textX = parseFloat(n) + parseFloat(i), this._textY = parseFloat(r) + parseFloat(a);
387
- var o = new T();
388
- return B(t, o), V(e, o, this._defsUsePending, !1, !0), o;
206
+ var n = e.getAttribute("x") || "0", r = e.getAttribute("y") || "0", i = e.getAttribute("dx") || "0", o = e.getAttribute("dy") || "0";
207
+ this._textX = parseFloat(n) + parseFloat(i), this._textY = parseFloat(r) + parseFloat(o);
208
+ var s = new a();
209
+ return z(t, s), B(e, s, this._defsUsePending, !1, !0), s;
389
210
  },
390
211
  tspan: function(e, t) {
391
212
  var n = e.getAttribute("x"), r = e.getAttribute("y");
392
213
  n != null && (this._textX = parseFloat(n)), r != null && (this._textY = parseFloat(r));
393
- var i = e.getAttribute("dx") || "0", a = e.getAttribute("dy") || "0", o = new T();
394
- return B(t, o), V(e, o, this._defsUsePending, !1, !0), this._textX += parseFloat(i), this._textY += parseFloat(a), o;
214
+ var i = e.getAttribute("dx") || "0", o = e.getAttribute("dy") || "0", s = new a();
215
+ return z(t, s), B(e, s, this._defsUsePending, !1, !0), this._textX += parseFloat(i), this._textY += parseFloat(o), s;
395
216
  },
396
217
  path: function(e, t) {
397
- var n = e.getAttribute("d") || "", r = ve(n);
398
- return B(t, r), V(e, r, this._defsUsePending, !1, !1), r.silent = !0, r;
218
+ var n = e.getAttribute("d") || "", r = ke(n);
219
+ return z(t, r), B(e, r, this._defsUsePending, !1, !1), r.silent = !0, r;
399
220
  }
400
221
  };
401
- })(), e;
402
- }(), bt = {
222
+ })(), t;
223
+ }(), it = {
403
224
  lineargradient: function(e) {
404
- var t = parseInt(e.getAttribute("x1") || "0", 10), n = parseInt(e.getAttribute("y1") || "0", 10), r = parseInt(e.getAttribute("x2") || "10", 10), i = parseInt(e.getAttribute("y2") || "0", 10), a = new ue(t, n, r, i);
405
- return xt(e, a), St(e, a), a;
225
+ var t = parseInt(e.getAttribute("x1") || "0", 10), n = parseInt(e.getAttribute("y1") || "0", 10), r = parseInt(e.getAttribute("x2") || "10", 10), i = parseInt(e.getAttribute("y2") || "0", 10), a = new fe(t, n, r, i);
226
+ return at(e, a), ot(e, a), a;
406
227
  },
407
228
  radialgradient: function(e) {
408
- var t = parseInt(e.getAttribute("cx") || "0", 10), n = parseInt(e.getAttribute("cy") || "0", 10), r = parseInt(e.getAttribute("r") || "0", 10), i = new pe(t, n, r);
409
- return xt(e, i), St(e, i), i;
229
+ var t = parseInt(e.getAttribute("cx") || "0", 10), n = parseInt(e.getAttribute("cy") || "0", 10), r = parseInt(e.getAttribute("r") || "0", 10), i = new m(t, n, r);
230
+ return at(e, i), ot(e, i), i;
410
231
  }
411
232
  };
412
- function xt(e, t) {
233
+ function at(e, t) {
413
234
  e.getAttribute("gradientUnits") === "userSpaceOnUse" && (t.global = !0);
414
235
  }
415
- function St(e, t) {
236
+ function ot(e, t) {
416
237
  for (var n = e.firstChild; n;) {
417
238
  if (n.nodeType === 1 && n.nodeName.toLocaleLowerCase() === "stop") {
418
239
  var r = n.getAttribute("offset"), i = void 0;
419
240
  i = r && r.indexOf("%") > 0 ? parseInt(r, 10) / 100 : r ? parseFloat(r) : 0;
420
241
  var a = {};
421
- Mt(n, a, a);
242
+ gt(n, a, a);
422
243
  var o = a.stopColor || n.getAttribute("stop-color") || "#000000", s = a.stopOpacity || n.getAttribute("stop-opacity");
423
244
  if (s) {
424
- var c = Be(o);
425
- c && c[3] && (c[3] *= xe(s), o = we(c, "rgba"));
245
+ var c = ve(o);
246
+ c && c[3] && (c[3] *= Se(s), o = Pe(c, "rgba"));
426
247
  }
427
248
  t.colorStops.push({
428
249
  offset: i,
@@ -432,19 +253,19 @@ function St(e, t) {
432
253
  n = n.nextSibling;
433
254
  }
434
255
  }
435
- function B(e, t) {
436
- e && e.__inheritedStyle && (t.__inheritedStyle ||= {}, Te(t.__inheritedStyle, e.__inheritedStyle));
256
+ function z(e, t) {
257
+ e && e.__inheritedStyle && (t.__inheritedStyle ||= {}, Ce(t.__inheritedStyle, e.__inheritedStyle));
437
258
  }
438
- function Ct(e) {
439
- for (var t = H(e), n = [], r = 0; r < t.length; r += 2) {
259
+ function st(e) {
260
+ for (var t = V(e), n = [], r = 0; r < t.length; r += 2) {
440
261
  var i = parseFloat(t[r]), a = parseFloat(t[r + 1]);
441
262
  n.push([i, a]);
442
263
  }
443
264
  return n;
444
265
  }
445
- function V(e, t, n, r, i) {
266
+ function B(e, t, n, r, i) {
446
267
  var a = t, o = a.__inheritedStyle = a.__inheritedStyle || {}, s = {};
447
- e.nodeType === 1 && (At(e, t), Mt(e, o, s), r || Nt(e, o, s)), a.style = a.style || {}, o.fill != null && (a.style.fill = Et(a, "fill", o.fill, n)), o.stroke != null && (a.style.stroke = Et(a, "stroke", o.stroke, n)), M([
268
+ e.nodeType === 1 && (mt(e, t), gt(e, o, s), r || _t(e, o, s)), a.style = a.style || {}, o.fill != null && (a.style.fill = ut(a, "fill", o.fill, n)), o.stroke != null && (a.style.stroke = ut(a, "stroke", o.stroke, n)), k([
448
269
  "lineWidth",
449
270
  "opacity",
450
271
  "fillOpacity",
@@ -453,7 +274,7 @@ function V(e, t, n, r, i) {
453
274
  "fontSize"
454
275
  ], function(e) {
455
276
  o[e] != null && (a.style[e] = parseFloat(o[e]));
456
- }), M([
277
+ }), k([
457
278
  "lineDashOffset",
458
279
  "lineCap",
459
280
  "lineJoin",
@@ -463,11 +284,11 @@ function V(e, t, n, r, i) {
463
284
  "textAlign"
464
285
  ], function(e) {
465
286
  o[e] != null && (a.style[e] = o[e]);
466
- }), i && (a.__selfStyle = s), o.lineDash && (a.style.lineDash = O(H(o.lineDash), function(e) {
287
+ }), i && (a.__selfStyle = s), o.lineDash && (a.style.lineDash = d(V(o.lineDash), function(e) {
467
288
  return parseFloat(e);
468
289
  })), (o.visibility === "hidden" || o.visibility === "collapse") && (a.invisible = !0), o.display === "none" && (a.ignore = !0);
469
290
  }
470
- function wt(e, t) {
291
+ function ct(e, t) {
471
292
  var n = t.__selfStyle;
472
293
  if (n) {
473
294
  var r = n.textBaseline, i = r;
@@ -479,11 +300,11 @@ function wt(e, t) {
479
300
  o && (o === "middle" && (s = "center"), e.style.textAlign = s);
480
301
  }
481
302
  }
482
- var Tt = /^url\(\s*#(.*?)\)/;
483
- function Et(e, t, n, r) {
484
- var i = n && n.match(Tt);
303
+ var lt = /^url\(\s*#(.*?)\)/;
304
+ function ut(e, t, n, r) {
305
+ var i = n && n.match(lt);
485
306
  if (i) {
486
- var a = fe(i[1]);
307
+ var a = Te(i[1]);
487
308
  r.push([
488
309
  e,
489
310
  t,
@@ -491,89 +312,89 @@ function Et(e, t, n, r) {
491
312
  ]);
492
313
  } else return n === "none" && (n = null), n;
493
314
  }
494
- function Dt(e, t) {
315
+ function dt(e, t) {
495
316
  for (var n = 0; n < t.length; n++) {
496
317
  var r = t[n];
497
318
  r[0].style[r[1]] = e[r[2]];
498
319
  }
499
320
  }
500
- var Ot = /-?([0-9]*\.)?[0-9]+([eE]-?[0-9]+)?/g;
501
- function H(e) {
502
- return e.match(Ot) || [];
321
+ var ft = /-?([0-9]*\.)?[0-9]+([eE]-?[0-9]+)?/g;
322
+ function V(e) {
323
+ return e.match(ft) || [];
503
324
  }
504
- var kt = /(translate|scale|rotate|skewX|skewY|matrix)\(([\-\s0-9\.eE,]*)\)/g, U = Math.PI / 180;
505
- function At(e, t) {
506
- var n = e.getAttribute("transform");
507
- if (n) {
508
- n = n.replace(/,/g, " ");
509
- var r = [], i = null;
510
- n.replace(kt, function(e, t, n) {
511
- return r.push(t, n), "";
325
+ var pt = /(translate|scale|rotate|skewX|skewY|matrix)\(([\-\s0-9\.eE,]*)\)/g, H = Math.PI / 180;
326
+ function mt(e, t) {
327
+ var r = e.getAttribute("transform");
328
+ if (r) {
329
+ r = r.replace(/,/g, " ");
330
+ var i = [], a = null;
331
+ r.replace(pt, function(e, t, n) {
332
+ return i.push(t, n), "";
512
333
  });
513
- for (var a = r.length - 1; a > 0; a -= 2) {
514
- var o = r[a], s = r[a - 1], c = H(o);
515
- switch (i ||= S(), s) {
334
+ for (var o = i.length - 1; o > 0; o -= 2) {
335
+ var c = i[o], l = i[o - 1], u = V(c);
336
+ switch (a ||= n(), l) {
516
337
  case "translate":
517
- Ue(i, i, [parseFloat(c[0]), parseFloat(c[1] || "0")]);
338
+ _(a, a, [parseFloat(u[0]), parseFloat(u[1] || "0")]);
518
339
  break;
519
340
  case "scale":
520
- ae(i, i, [parseFloat(c[0]), parseFloat(c[1] || c[0])]);
341
+ f(a, a, [parseFloat(u[0]), parseFloat(u[1] || u[0])]);
521
342
  break;
522
343
  case "rotate":
523
- b(i, i, -parseFloat(c[0]) * U, [parseFloat(c[1] || "0"), parseFloat(c[2] || "0")]);
344
+ s(a, a, -parseFloat(u[0]) * H, [parseFloat(u[1] || "0"), parseFloat(u[2] || "0")]);
524
345
  break;
525
346
  case "skewX":
526
- var l = Math.tan(parseFloat(c[0]) * U);
527
- f(i, [
347
+ var d = Math.tan(parseFloat(u[0]) * H);
348
+ te(a, [
528
349
  1,
529
350
  0,
530
- l,
351
+ d,
531
352
  1,
532
353
  0,
533
354
  0
534
- ], i);
355
+ ], a);
535
356
  break;
536
357
  case "skewY":
537
- var u = Math.tan(parseFloat(c[0]) * U);
538
- f(i, [
358
+ var p = Math.tan(parseFloat(u[0]) * H);
359
+ te(a, [
539
360
  1,
540
- u,
361
+ p,
541
362
  0,
542
363
  1,
543
364
  0,
544
365
  0
545
- ], i);
366
+ ], a);
546
367
  break;
547
- case "matrix": i[0] = parseFloat(c[0]), i[1] = parseFloat(c[1]), i[2] = parseFloat(c[2]), i[3] = parseFloat(c[3]), i[4] = parseFloat(c[4]), i[5] = parseFloat(c[5]);
368
+ case "matrix": a[0] = parseFloat(u[0]), a[1] = parseFloat(u[1]), a[2] = parseFloat(u[2]), a[3] = parseFloat(u[3]), a[4] = parseFloat(u[4]), a[5] = parseFloat(u[5]);
548
369
  }
549
370
  }
550
- t.setLocalTransform(i);
371
+ t.setLocalTransform(a);
551
372
  }
552
373
  }
553
- var jt = /([^\s:;]+)\s*:\s*([^:;]+)/g;
554
- function Mt(e, t, n) {
555
- var i = e.getAttribute("style");
556
- if (i) {
557
- jt.lastIndex = 0;
558
- for (var a; (a = jt.exec(i)) != null;) {
559
- var o = a[1], s = r(R, o) ? R[o] : null;
560
- s && (t[s] = a[2]);
561
- var c = r(z, o) ? z[o] : null;
562
- c && (n[c] = a[2]);
374
+ var ht = /([^\s:;]+)\s*:\s*([^:;]+)/g;
375
+ function gt(e, t, n) {
376
+ var r = e.getAttribute("style");
377
+ if (r) {
378
+ ht.lastIndex = 0;
379
+ for (var i; (i = ht.exec(r)) != null;) {
380
+ var a = i[1], o = P(L, a) ? L[a] : null;
381
+ o && (t[o] = i[2]);
382
+ var s = P(R, a) ? R[a] : null;
383
+ s && (n[s] = i[2]);
563
384
  }
564
385
  }
565
386
  }
566
- function Nt(e, t, n) {
567
- for (var r = 0; r < _t.length; r++) {
568
- var i = _t[r], a = e.getAttribute(i);
569
- a != null && (t[R[i]] = a);
387
+ function _t(e, t, n) {
388
+ for (var r = 0; r < tt.length; r++) {
389
+ var i = tt[r], a = e.getAttribute(i);
390
+ a != null && (t[L[i]] = a);
570
391
  }
571
- for (var r = 0; r < vt.length; r++) {
572
- var i = vt[r], a = e.getAttribute(i);
573
- a != null && (n[z[i]] = a);
392
+ for (var r = 0; r < nt.length; r++) {
393
+ var i = nt[r], a = e.getAttribute(i);
394
+ a != null && (n[R[i]] = a);
574
395
  }
575
396
  }
576
- function Pt(e, t) {
397
+ function vt(e, t) {
577
398
  var n = t.width / e.width, r = t.height / e.height, i = Math.min(n, r);
578
399
  return {
579
400
  scale: i,
@@ -581,11 +402,11 @@ function Pt(e, t) {
581
402
  y: -(e.y + e.height / 2) * i + (t.y + t.height / 2)
582
403
  };
583
404
  }
584
- function Ft(e, t) {
585
- return new yt().parse(e, t);
405
+ function yt(e, t) {
406
+ return new rt().parse(e, t);
586
407
  }
587
408
  // ../../../node_modules/.pnpm/echarts@6.1.0/node_modules/echarts/lib/coord/geo/GeoSVGResource.js
588
- var It = A([
409
+ var bt = O([
589
410
  "rect",
590
411
  "circle",
591
412
  "line",
@@ -596,15 +417,15 @@ var It = A([
596
417
  "text",
597
418
  "tspan",
598
419
  "g"
599
- ]), Lt = function() {
420
+ ]), xt = function() {
600
421
  function e(e, t) {
601
- this.type = "geoSVG", this._usedGraphicMap = A(), this._freedGraphics = [], this._mapName = e, this._parsedXML = gt(t);
422
+ this.type = "geoSVG", this._usedGraphicMap = O(), this._freedGraphics = [], this._mapName = e, this._parsedXML = et(t);
602
423
  }
603
424
  return e.prototype.load = function() {
604
425
  var e = this._firstGraphic;
605
426
  if (!e) {
606
427
  e = this._firstGraphic = this._buildGraphic(this._parsedXML), this._freedGraphics.push(e), this._boundingRect = this._firstGraphic.boundingRect.clone();
607
- var t = zt(e.named), n = t.regions, r = t.regionsMap;
428
+ var t = Ct(e.named), n = t.regions, r = t.regionsMap;
608
429
  this._regions = n, this._regionsMap = r;
609
430
  }
610
431
  return {
@@ -615,14 +436,14 @@ var It = A([
615
436
  }, e.prototype._buildGraphic = function(e) {
616
437
  var t, n;
617
438
  try {
618
- t = e && Ft(e, {
439
+ t = e && yt(e, {
619
440
  ignoreViewBox: !0,
620
441
  ignoreRootClip: !0
621
- }) || {}, n = t.root, ze(n != null);
442
+ }) || {}, n = t.root, _e(n != null);
622
443
  } catch (e) {
623
444
  throw Error("Invalid svg format\n" + e.message);
624
445
  }
625
- var r = new T();
446
+ var r = new a();
626
447
  r.add(n), r.isGeoSVGGraphicRoot = !0;
627
448
  var i = t.width, o = t.height, s = t.viewBoxRect, c = this._boundingRect;
628
449
  if (!c) {
@@ -631,16 +452,16 @@ var It = A([
631
452
  var p = n.getBoundingRect();
632
453
  l ?? (l = p.x, d = p.width), u ?? (u = p.y, f = p.height);
633
454
  }
634
- c = this._boundingRect = new a(l, u, d, f);
455
+ c = this._boundingRect = new F(l, u, d, f);
635
456
  }
636
457
  if (s) {
637
- var m = Pt(s, c);
458
+ var m = vt(s, c);
638
459
  n.scaleX = n.scaleY = m.scale, n.x = m.x, n.y = m.y;
639
460
  }
640
- r.setClipPath(new N({ shape: c.plain() }));
461
+ r.setClipPath(new T({ shape: c.plain() }));
641
462
  var h = [];
642
- return M(t.named, function(e) {
643
- It.get(e.svgNodeTagLower) != null && (h.push(e), Rt(e.el));
463
+ return k(t.named, function(e) {
464
+ bt.get(e.svgNodeTagLower) != null && (h.push(e), St(e.el));
644
465
  }), {
645
466
  root: r,
646
467
  boundingRect: c,
@@ -654,16 +475,16 @@ var It = A([
654
475
  n && (t.removeKey(e), this._freedGraphics.push(n));
655
476
  }, e;
656
477
  }();
657
- function Rt(e) {
478
+ function St(e) {
658
479
  e.silent = !1, e.isGroup && e.traverse(function(e) {
659
480
  e.silent = !1;
660
481
  });
661
482
  }
662
- function zt(e) {
663
- var t = [], n = A();
664
- return M(e, function(e) {
483
+ function Ct(e) {
484
+ var t = [], n = O();
485
+ return k(e, function(e) {
665
486
  if (e.namedFrom == null) {
666
- var r = new ft(e.name, e.el);
487
+ var r = new ze(e.name, e.el);
667
488
  t.push(r), n.set(e.name, r);
668
489
  }
669
490
  }), {
@@ -671,7 +492,7 @@ function zt(e) {
671
492
  regionsMap: n
672
493
  };
673
494
  }
674
- for (var W = [126, 25], Bt = "南海诸岛", G = [
495
+ for (var U = [126, 25], wt = "南海诸岛", W = [
675
496
  [
676
497
  [0, 3.5],
677
498
  [7, 11.2],
@@ -767,29 +588,29 @@ for (var W = [126, 25], Bt = "南海诸岛", G = [
767
588
  [1, 3.5],
768
589
  [0, 3.5]
769
590
  ]
770
- ], K = 0; K < G.length; K++) for (var q = 0; q < G[K].length; q++) G[K][q][0] /= 10.5, G[K][q][1] /= -14, G[K][q][0] += W[0], G[K][q][1] += W[1];
771
- function Vt(e, t) {
591
+ ], G = 0; G < W.length; G++) for (var K = 0; K < W[G].length; K++) W[G][K][0] /= 10.5, W[G][K][1] /= -14, W[G][K][0] += U[0], W[G][K][1] += U[1];
592
+ function Tt(e, t) {
772
593
  if (e === "china") {
773
- for (var n = 0; n < t.length; n++) if (t[n].name === Bt) return;
774
- t.push(new dt(Bt, O(G, function(e) {
594
+ for (var n = 0; n < t.length; n++) if (t[n].name === wt) return;
595
+ t.push(new Re(wt, d(W, function(e) {
775
596
  return {
776
597
  type: "polygon",
777
598
  exterior: e
778
599
  };
779
- }), W));
600
+ }), U));
780
601
  }
781
602
  }
782
603
  // ../../../node_modules/.pnpm/echarts@6.1.0/node_modules/echarts/lib/coord/geo/fix/textCoord.js
783
- var Ht = {
604
+ var Et = {
784
605
  南海诸岛: [32, 80],
785
606
  广东: [0, -10],
786
607
  香港: [10, 5],
787
608
  澳门: [-10, 10],
788
609
  天津: [5, 5]
789
610
  };
790
- function Ut(e, t) {
611
+ function Dt(e, t) {
791
612
  if (e === "china") {
792
- var n = Ht[t.name];
613
+ var n = Et[t.name];
793
614
  if (n) {
794
615
  var r = t.getCenter();
795
616
  r[0] += n[0] / 10.5, r[1] += -n[1] / 14, t.setCenter(r);
@@ -797,53 +618,53 @@ function Ut(e, t) {
797
618
  }
798
619
  }
799
620
  // ../../../node_modules/.pnpm/echarts@6.1.0/node_modules/echarts/lib/coord/geo/fix/diaoyuIsland.js
800
- var Wt = [[
621
+ var Ot = [[
801
622
  [123.45165252685547, 25.73527164402261],
802
623
  [123.49731445312499, 25.73527164402261],
803
624
  [123.49731445312499, 25.750734064600884],
804
625
  [123.45165252685547, 25.750734064600884],
805
626
  [123.45165252685547, 25.73527164402261]
806
627
  ]];
807
- function Gt(e, t) {
628
+ function kt(e, t) {
808
629
  e === "china" && t.name === "台湾" && t.geometries.push({
809
630
  type: "polygon",
810
- exterior: Wt[0]
631
+ exterior: Ot[0]
811
632
  });
812
633
  }
813
634
  // ../../../node_modules/.pnpm/echarts@6.1.0/node_modules/echarts/lib/coord/geo/GeoJSONResource.js
814
- var Kt = "name", qt = function() {
635
+ var At = "name", jt = function() {
815
636
  function e(e, t, n) {
816
- this.type = "geoJSON", this._parsedMap = A(), this._mapName = e, this._specialAreas = n, this._geoJSON = Yt(t);
637
+ this.type = "geoJSON", this._parsedMap = O(), this._mapName = e, this._specialAreas = n, this._geoJSON = Nt(t);
817
638
  }
818
639
  return e.prototype.load = function(e, t) {
819
- t ||= Kt;
640
+ t ||= At;
820
641
  var n = this._parsedMap.get(t);
821
642
  if (!n) {
822
- var i = this._parseToRegions(t);
643
+ var r = this._parseToRegions(t);
823
644
  n = this._parsedMap.set(t, {
824
- regions: i,
825
- boundingRect: Jt(i)
645
+ regions: r,
646
+ boundingRect: Mt(r)
826
647
  });
827
648
  }
828
- var o = A(), s = [];
829
- return M(n.regions, function(t) {
649
+ var i = O(), a = [];
650
+ return k(n.regions, function(t) {
830
651
  var n = t.name;
831
- e && r(e, n) && (t = t.cloneShallow(n = e[n])), s.push(t), o.set(n, t);
652
+ e && P(e, n) && (t = t.cloneShallow(n = e[n])), a.push(t), i.set(n, t);
832
653
  }), {
833
- regions: s,
834
- boundingRect: n.boundingRect || new a(0, 0, 0, 0),
835
- regionsMap: o
654
+ regions: a,
655
+ boundingRect: n.boundingRect || new F(0, 0, 0, 0),
656
+ regionsMap: i
836
657
  };
837
658
  }, e.prototype._parseToRegions = function(e) {
838
659
  var t = this._mapName, n = this._geoJSON, r;
839
660
  try {
840
- r = n ? ht(n, e) : [];
661
+ r = n ? Be(n, e) : [];
841
662
  } catch (e) {
842
663
  throw Error("Invalid geoJson format\n" + e.message);
843
664
  }
844
- return Vt(t, r), M(r, function(e) {
665
+ return Tt(t, r), k(r, function(e) {
845
666
  var n = e.name;
846
- Ut(t, e), Gt(t, e);
667
+ Dt(t, e), kt(t, e);
847
668
  var r = this._specialAreas && this._specialAreas[n];
848
669
  r && e.transformTo(r.left, r.top, r.width, r.height);
849
670
  }, this), r;
@@ -855,41 +676,41 @@ var Kt = "name", qt = function() {
855
676
  };
856
677
  }, e;
857
678
  }();
858
- function Jt(e) {
679
+ function Mt(e) {
859
680
  for (var t, n = 0; n < e.length; n++) {
860
681
  var r = e[n].getBoundingRect();
861
682
  t ||= r.clone(), t.union(r);
862
683
  }
863
684
  return t;
864
685
  }
865
- function Yt(e) {
866
- return s(e) ? typeof JSON < "u" && JSON.parse ? JSON.parse(e) : Function("return (" + e + ");")() : e;
686
+ function Nt(e) {
687
+ return x(e) ? typeof JSON < "u" && JSON.parse ? JSON.parse(e) : Function("return (" + e + ");")() : e;
867
688
  }
868
689
  // ../../../node_modules/.pnpm/echarts@6.1.0/node_modules/echarts/lib/coord/geo/geoSourceManager.js
869
- var J = A(), Y = {
690
+ var q = O(), J = {
870
691
  registerMap: function(e, t, n) {
871
692
  if (t.svg) {
872
- var r = new Lt(e, t.svg);
873
- J.set(e, r);
693
+ var r = new xt(e, t.svg);
694
+ q.set(e, r);
874
695
  } else {
875
696
  var i = t.geoJson || t.geoJSON;
876
697
  i && !t.features ? n = t.specialAreas : i = t;
877
- var r = new qt(e, i, n);
878
- J.set(e, r);
698
+ var r = new jt(e, i, n);
699
+ q.set(e, r);
879
700
  }
880
701
  },
881
702
  getGeoResource: function(e) {
882
- return J.get(e);
703
+ return q.get(e);
883
704
  },
884
705
  getMapForUser: function(e) {
885
- var t = J.get(e);
706
+ var t = q.get(e);
886
707
  return t && t.type === "geoJSON" && t.getMapForUser();
887
708
  },
888
709
  load: function(e, t, n) {
889
- var r = J.get(e);
710
+ var r = q.get(e);
890
711
  if (r) return r.load(t, n);
891
712
  }
892
- }, Xt = {
713
+ }, Pt = {
893
714
  geoJSON: {
894
715
  aspectScale: .75,
895
716
  invertLongitute: !0
@@ -898,24 +719,24 @@ var J = A(), Y = {
898
719
  aspectScale: 1,
899
720
  invertLongitute: !1
900
721
  }
901
- }, Zt = ["lng", "lat"], Qt = function(e) {
902
- j(t, e);
722
+ }, Ft = ["lng", "lat"], It = function(e) {
723
+ D(t, e);
903
724
  function t(t, n, r) {
904
725
  var i = e.call(this) || this;
905
- i.dimensions = Zt, i.type = "geo", i._nameCoordMap = A(), i.name = t;
906
- var a = r.projection, o = Y.load(n, r.nameMap, r.nameProperty), s = Y.getGeoResource(n);
726
+ i.dimensions = Ft, i.type = "geo", i._nameCoordMap = O(), i.name = t;
727
+ var a = r.projection, o = J.load(n, r.nameMap, r.nameProperty), s = J.getGeoResource(n);
907
728
  i.resourceType = s ? s.type : null;
908
- var c = i.regions = o.regions, l = Xt[s.type];
729
+ var c = i.regions = o.regions, l = Pt[s.type];
909
730
  i._clip = r.clip;
910
731
  var u = !a && l.invertLongitute;
911
- i.view = new $e(u, Ye(r.ecModel, r.api), i), i.map = n, i._regionsMap = o.regionsMap, i.regions = o.regions, i.projection = a;
732
+ i.view = new Xe(u, Ke(r.ecModel, r.api), i), i.map = n, i._regionsMap = o.regionsMap, i.regions = o.regions, i.projection = a;
912
733
  var d;
913
734
  if (a) for (var f = 0; f < c.length; f++) {
914
735
  var p = c[f].getBoundingRect(a);
915
736
  d ||= p.clone(), d.union(p);
916
737
  }
917
738
  else d = o.boundingRect;
918
- return Je(i.view, d.x, d.y, d.width, d.height), i.aspectScale = a ? 1 : g(r.aspectScale, l.aspectScale), i;
739
+ return Ge(i.view, d.x, d.y, d.width, d.height), i.aspectScale = a ? 1 : ce(r.aspectScale, l.aspectScale), i;
919
740
  }
920
741
  return t.prototype.getRegion = function(e) {
921
742
  return this._regionsMap.get(e);
@@ -930,7 +751,7 @@ var J = A(), Y = {
930
751
  var t = this._regionsMap.get(e);
931
752
  return this._nameCoordMap.get(e) || t && t.getCenter();
932
753
  }, t.prototype.dataToPoint = function(e, t, n) {
933
- if (s(e) && (e = this.getGeoCoord(e)), e) {
754
+ if (x(e) && (e = this.getGeoCoord(e)), e) {
934
755
  var r = this.projection;
935
756
  return r && (e = r.project(e)), e && this.view.dataToPoint(e, t, n);
936
757
  }
@@ -938,16 +759,16 @@ var J = A(), Y = {
938
759
  var r = this.projection;
939
760
  return r && (e = r.unproject(e)), e && this.view.pointToData(e, n);
940
761
  }, t.prototype.convertToPixel = function(e, t, n) {
941
- var r = $t(t);
762
+ var r = Lt(t);
942
763
  return r === this ? r.dataToPoint(n) : null;
943
764
  }, t.prototype.convertFromPixel = function(e, t, n) {
944
- var r = $t(t);
765
+ var r = Lt(t);
945
766
  return r === this ? r.pointToData(n) : null;
946
767
  }, t.prototype.containPoint = function(e) {
947
768
  return this.view.containPoint(e);
948
769
  }, t.prototype.getArea = function(e) {
949
770
  e ||= 0;
950
- var t = Ze(null, this.view);
771
+ var t = Je(null, this.view);
951
772
  return t.x -= e, t.y -= e, t.width += 2 * e, t.height += 2 * e, t;
952
773
  }, t.prototype.shouldClip = function() {
953
774
  return this._clip;
@@ -958,13 +779,13 @@ var J = A(), Y = {
958
779
  }, t.prototype.getRoamTransform = function() {
959
780
  return this.view.getRoamTransform();
960
781
  }, t;
961
- }(ne);
962
- function $t(e) {
782
+ }(v);
783
+ function Lt(e) {
963
784
  var t = e.geoModel, n = e.seriesModel;
964
- return t ? t.coordinateSystem : n ? n.coordinateSystem || (n.getReferringComponents("geo", Fe).models[0] || {}).coordinateSystem : null;
785
+ return t ? t.coordinateSystem : n ? n.coordinateSystem || (n.getReferringComponents("geo", he).models[0] || {}).coordinateSystem : null;
965
786
  }
966
- var en = function(e) {
967
- j(t, e);
787
+ var Rt = function(e) {
788
+ D(t, e);
968
789
  function t() {
969
790
  var n = e !== null && e.apply(this, arguments) || this;
970
791
  return n.type = t.type, n.getTooltipPosition = function(e) {
@@ -975,20 +796,20 @@ var en = function(e) {
975
796
  }, n;
976
797
  }
977
798
  return t.prototype.getInitialData = function(e) {
978
- for (var t = et(this, {
799
+ for (var t = Ze(this, {
979
800
  coordDimensions: ["value"],
980
- encodeDefaulter: Ee(ee, this)
981
- }), n = A(), r = [], i = 0, a = t.count(); i < a; i++) {
801
+ encodeDefaulter: we(b, this)
802
+ }), n = O(), r = [], i = 0, a = t.count(); i < a; i++) {
982
803
  var o = t.getName(i);
983
804
  n.set(o, i);
984
805
  }
985
- var s = Y.load(this.getMapType(), this.option.nameMap, this.option.nameProperty);
986
- return M(s.regions, function(e) {
806
+ var s = J.load(this.getMapType(), this.option.nameMap, this.option.nameProperty);
807
+ return k(s.regions, function(e) {
987
808
  var i = e.name, a = n.get(i), o = e.properties && e.properties.echartsStyle, s;
988
- a == null ? (s = { name: i }, r.push(s)) : s = t.getRawDataItem(a), o && He(s, o);
809
+ a == null ? (s = { name: i }, r.push(s)) : s = t.getRawDataItem(a), o && g(s, o);
989
810
  }), t.appendData(r), t;
990
811
  }, t.prototype.getHostGeoModel = function() {
991
- if (de(this).kind !== 2) return this.getReferringComponents("geo", {
812
+ if (pe(this).kind !== 2) return this.getReferringComponents("geo", {
992
813
  useDefault: !1,
993
814
  enableAll: !1,
994
815
  enableNone: !1
@@ -1003,22 +824,22 @@ var en = function(e) {
1003
824
  return t.getItemModel(t.indexOfName(e));
1004
825
  }, t.prototype.formatTooltip = function(e, t, n) {
1005
826
  var r = this.getData(), i = this.getRawValue(e), a = r.getName(e), o = [];
1006
- return M(this.seriesGroup.f, function(e) {
827
+ return k(this.seriesGroup.f, function(e) {
1007
828
  var t = e.originalData.indexOfName(a), n = r.mapDimension("value");
1008
829
  isNaN(e.originalData.get(n, t)) || o.push(e.name);
1009
- }), ye("section", {
830
+ }), j("section", {
1010
831
  header: o.join(", "),
1011
832
  noHeader: !o.length,
1012
- blocks: [ye("nameValue", {
833
+ blocks: [j("nameValue", {
1013
834
  name: a,
1014
835
  value: i
1015
836
  })]
1016
837
  });
1017
838
  }, t.prototype.getLegendIcon = function(e) {
1018
- var t = e.icon || "roundRect", n = v(t, 0, 0, e.itemWidth, e.itemHeight, e.itemStyle.fill);
1019
- return n.setStyle(e.itemStyle), n.style.stroke = "none", t.indexOf("empty") > -1 && (n.style.stroke = n.style.fill, n.style.fill = D.color.neutral00, n.style.lineWidth = 2), n;
839
+ var t = e.icon || "roundRect", n = re(t, 0, 0, e.itemWidth, e.itemHeight, e.itemStyle.fill);
840
+ return n.setStyle(e.itemStyle), n.style.stroke = "none", t.indexOf("empty") > -1 && (n.style.stroke = n.style.fill, n.style.fill = C.color.neutral00, n.style.lineWidth = 2), n;
1020
841
  }, t.prototype.__ownRoamView = function() {
1021
- return X(this) ? this.coordinateSystem.view : null;
842
+ return Y(this) ? this.coordinateSystem.view : null;
1022
843
  }, t.type = "series.map", t.dependencies = ["geo"], t.layoutMode = "box", t.defaultOption = {
1023
844
  z: 2,
1024
845
  coordinateSystem: "geo",
@@ -1034,40 +855,40 @@ var en = function(e) {
1034
855
  selectedMode: !0,
1035
856
  label: {
1036
857
  show: !1,
1037
- color: D.color.tertiary
858
+ color: C.color.tertiary
1038
859
  },
1039
860
  itemStyle: {
1040
861
  borderWidth: .5,
1041
- borderColor: D.color.border,
1042
- areaColor: D.color.background
862
+ borderColor: C.color.border,
863
+ areaColor: C.color.background
1043
864
  },
1044
865
  emphasis: {
1045
866
  label: {
1046
867
  show: !0,
1047
- color: D.color.primary
868
+ color: C.color.primary
1048
869
  },
1049
- itemStyle: { areaColor: D.color.highlight }
870
+ itemStyle: { areaColor: C.color.highlight }
1050
871
  },
1051
872
  select: {
1052
873
  label: {
1053
874
  show: !0,
1054
- color: D.color.primary
875
+ color: C.color.primary
1055
876
  },
1056
- itemStyle: { color: D.color.highlight }
877
+ itemStyle: { color: C.color.highlight }
1057
878
  },
1058
879
  nameProperty: "name"
1059
880
  }, t;
1060
881
  }(Oe);
1061
- function tn(e) {
882
+ function zt(e) {
1062
883
  return e.indexOf("i") === 0;
1063
884
  }
1064
- function X(e) {
1065
- return nn(e.seriesGroup) === e && !e.getHostGeoModel();
885
+ function Y(e) {
886
+ return Bt(e.seriesGroup) === e && !e.getHostGeoModel();
1066
887
  }
1067
- function nn(e) {
888
+ function Bt(e) {
1068
889
  return e.f[0];
1069
890
  }
1070
- function rn(e, t) {
891
+ function Vt(e, t) {
1071
892
  var n = {};
1072
893
  return e.eachRawSeriesByType("map", function(r) {
1073
894
  var i = r.getHostGeoModel(), a = i ? "o" + i.id : "i" + r.getMapType(), o = n[a] = n[a] || {
@@ -1078,48 +899,48 @@ function rn(e, t) {
1078
899
  }), n;
1079
900
  }
1080
901
  // ../../../node_modules/.pnpm/echarts@6.1.0/node_modules/echarts/lib/coord/geo/geoCreator.js
1081
- function an(e, t) {
1082
- var r = this.view, i = e.get("boundingCoords");
1083
- if (i != null) {
1084
- var a = i[0], o = i[1];
1085
- if (isFinite(a[0]) && isFinite(a[1]) && isFinite(o[0]) && isFinite(o[1])) {
1086
- var s = this.projection;
1087
- if (s) {
1088
- var c = a[0], u = a[1], d = o[0], f = o[1];
1089
- a = [Infinity, Infinity], o = [-Infinity, -Infinity];
1090
- var p = function(e, t, n, r) {
1091
- for (var i = n - e, c = r - t, l = 0; l <= 100; l++) {
1092
- var u = l / 100, d = s.project([e + i * u, t + c * u]);
1093
- Le(a, a, d), je(o, o, d);
902
+ function Ht(e, t) {
903
+ var n = this.view, r = e.get("boundingCoords");
904
+ if (r != null) {
905
+ var i = r[0], a = r[1];
906
+ if (isFinite(i[0]) && isFinite(i[1]) && isFinite(a[0]) && isFinite(a[1])) {
907
+ var o = this.projection;
908
+ if (o) {
909
+ var s = i[0], c = i[1], l = a[0], u = a[1];
910
+ i = [Infinity, Infinity], a = [-Infinity, -Infinity];
911
+ var d = function(e, t, n, r) {
912
+ for (var s = n - e, c = r - t, l = 0; l <= 100; l++) {
913
+ var u = l / 100, d = o.project([e + s * u, t + c * u]);
914
+ Ae(i, i, d), be(a, a, d);
1094
915
  }
1095
916
  };
1096
- p(c, u, d, u), p(d, u, d, f), p(d, f, c, f), p(c, f, d, u);
917
+ d(s, c, l, c), d(l, c, l, u), d(l, u, s, u), d(s, u, l, c);
1097
918
  }
1098
- Je(r, a[0], a[1], o[0] - a[0], o[1] - a[1]);
919
+ Ge(n, i[0], i[1], a[0] - i[0], a[1] - i[1]);
1099
920
  }
1100
921
  }
1101
- var m = r.getBoundingRect(), h = e.get("layoutCenter"), g = e.get("layoutSize"), _ = n(e, t).refContainer, v = m.width / m.height * this.aspectScale, y = !1, b, S;
1102
- h && g && (b = [k(h[0], _.width) + _.x, k(h[1], _.height) + _.y], S = k(g, Math.min(_.width, _.height)), isNaN(b[0]) || isNaN(b[1]) || isNaN(S) || (y = !0));
1103
- var C;
1104
- if (y) C = {}, v > 1 ? (C.width = S, C.height = S / v) : (C.height = S, C.width = S * v), C.y = b[1] - C.height / 2, C.x = b[0] - C.width / 2;
922
+ var f = n.getBoundingRect(), m = e.get("layoutCenter"), h = e.get("layoutSize"), g = Le(e, t).refContainer, _ = f.width / f.height * this.aspectScale, v = !1, y, b;
923
+ m && h && (y = [A(m[0], g.width) + g.x, A(m[1], g.height) + g.y], b = A(h, Math.min(g.width, g.height)), isNaN(y[0]) || isNaN(y[1]) || isNaN(b) || (v = !0));
924
+ var x;
925
+ if (v) x = {}, _ > 1 ? (x.width = b, x.height = b / _) : (x.height = b, x.width = b * _), x.y = y[1] - x.height / 2, x.x = y[0] - x.width / 2;
1105
926
  else {
1106
- var w = e.getBoxLayoutParams();
1107
- w.aspect = v, C = l(w, _), C = x(e, C, v);
927
+ var S = e.getBoxLayoutParams();
928
+ S.aspect = _, x = le(S, g), x = p(e, x, _);
1108
929
  }
1109
- We(r, C.x, C.y, C.width, C.height), qe(r, e);
930
+ Ve(n, x.x, x.y, x.width, x.height), We(n, e);
1110
931
  }
1111
- function on(e, t) {
1112
- M(t.get("geoCoord"), function(t, n) {
932
+ function Ut(e, t) {
933
+ k(t.get("geoCoord"), function(t, n) {
1113
934
  e.addGeoCoord(n, t);
1114
935
  });
1115
936
  }
1116
- var sn = new (function() {
937
+ var Wt = new (function() {
1117
938
  function e() {
1118
- this.dimensions = Zt;
939
+ this.dimensions = Ft;
1119
940
  }
1120
- return e.prototype.create = function(e, n) {
1121
- var r = [];
1122
- function i(e) {
941
+ return e.prototype.create = function(e, t) {
942
+ var n = [];
943
+ function r(e) {
1123
944
  return {
1124
945
  nameProperty: e.get("nameProperty"),
1125
946
  aspectScale: e.get("aspectScale"),
@@ -1127,81 +948,81 @@ var sn = new (function() {
1127
948
  clip: e.getShallow("clip", !0)
1128
949
  };
1129
950
  }
1130
- return e.eachComponent("geo", function(t, a) {
1131
- var o = t.get("map"), s = new Qt(o + a, o, ge({
1132
- nameMap: t.get("nameMap"),
1133
- api: n,
951
+ return e.eachComponent("geo", function(i, a) {
952
+ var o = i.get("map"), s = new It(o + a, o, N({
953
+ nameMap: i.get("nameMap"),
954
+ api: t,
1134
955
  ecModel: e
1135
- }, i(t)));
1136
- r.push(s), t.coordinateSystem = s, s.model = t, s.resize = an, s.resize(t, n);
956
+ }, r(i)));
957
+ n.push(s), i.coordinateSystem = s, s.model = i, s.resize = Ht, s.resize(i, t);
1137
958
  }), e.eachSeries(function(e) {
1138
- ie({
959
+ me({
1139
960
  targetModel: e,
1140
961
  coordSysType: "geo",
1141
962
  coordSysProvider: function() {
1142
- var t = e.subType === "map" ? e.getHostGeoModel() : e.getReferringComponents("geo", Fe).models[0];
963
+ var t = e.subType === "map" ? e.getHostGeoModel() : e.getReferringComponents("geo", he).models[0];
1143
964
  return t && t.coordinateSystem;
1144
965
  },
1145
966
  allowNotFound: !0
1146
967
  });
1147
- }), M(rn(e, !0), function(a, o) {
1148
- if (tn(o)) {
1149
- var s = a.r[0], c = [];
1150
- M(a.r, function(e) {
1151
- c.push(e.get("nameMap")), e.seriesGroup = null;
968
+ }), k(Vt(e, !0), function(i, a) {
969
+ if (zt(a)) {
970
+ var o = i.r[0], s = [];
971
+ k(i.r, function(e) {
972
+ s.push(e.get("nameMap")), e.seriesGroup = null;
1152
973
  });
1153
- var l = o.slice(1), u = new Qt(l, l, ge({
1154
- nameMap: t(c),
1155
- api: n,
974
+ var c = a.slice(1), l = new It(c, c, N({
975
+ nameMap: ie(s),
976
+ api: t,
1156
977
  ecModel: e
1157
- }, i(s))), d;
1158
- M(a.r, function(e) {
1159
- d = g(d, e.get("scaleLimit"));
1160
- }), r.push(u), u.resize = an, u.resize(s, n), M(a.r, function(e) {
1161
- e.coordinateSystem = u, on(u, e);
978
+ }, r(o))), u;
979
+ k(i.r, function(e) {
980
+ u = ce(u, e.get("scaleLimit"));
981
+ }), n.push(l), l.resize = Ht, l.resize(o, t), k(i.r, function(e) {
982
+ e.coordinateSystem = l, Ut(l, e);
1162
983
  });
1163
984
  }
1164
- }), r;
985
+ }), n;
1165
986
  }, e.prototype.getFilledRegions = function(e, t, n, r) {
1166
- for (var i = (e || []).slice(), a = A(), o = 0; o < i.length; o++) a.set(i[o].name, i[o]);
1167
- var s = Y.load(t, n, r);
1168
- return M(s.regions, function(e) {
987
+ for (var i = (e || []).slice(), a = O(), o = 0; o < i.length; o++) a.set(i[o].name, i[o]);
988
+ var s = J.load(t, n, r);
989
+ return k(s.regions, function(e) {
1169
990
  var t = e.name, n = a.get(t), r = e.properties && e.properties.echartsStyle;
1170
- n || (n = { name: t }, i.push(n)), r && He(n, r);
991
+ n || (n = { name: t }, i.push(n)), r && g(n, r);
1171
992
  }), i;
1172
993
  }, e;
1173
- }())(), cn = function(e) {
1174
- j(t, e);
994
+ }())(), Gt = function(e) {
995
+ D(t, e);
1175
996
  function t() {
1176
997
  var n = e !== null && e.apply(this, arguments) || this;
1177
998
  return n.type = t.type, n;
1178
999
  }
1179
1000
  return t.prototype.init = function(e, t, n) {
1180
1001
  this.mergeDefaultAndTheme(e, n);
1181
- var r = Y.getGeoResource(e.map);
1002
+ var r = J.getGeoResource(e.map);
1182
1003
  if (r && r.type === "geoJSON") {
1183
1004
  var i = e.itemStyle = e.itemStyle || {};
1184
- "color" in i || (i.color = e.defaultItemStyleColor || D.color.backgroundTint);
1005
+ "color" in i || (i.color = e.defaultItemStyleColor || C.color.backgroundTint);
1185
1006
  }
1186
- Ce(e, "label", ["show"]);
1007
+ ye(e, "label", ["show"]);
1187
1008
  }, t.prototype.optionUpdated = function() {
1188
1009
  var e = this, t = this.option;
1189
- t.regions = sn.getFilledRegions(t.regions, t.map, t.nameMap, t.nameProperty);
1010
+ t.regions = Wt.getFilledRegions(t.regions, t.map, t.nameMap, t.nameProperty);
1190
1011
  var n = {};
1191
- this._optionModelMap = ce(t.regions || [], function(t, r) {
1012
+ this._optionModelMap = l(t.regions || [], function(t, r) {
1192
1013
  var i = r.name;
1193
- return i && (t.set(i, new le(r, e, e.ecModel)), r.selected && (n[i] = !0)), t;
1194
- }, A()), t.selectedMap ||= n;
1014
+ return i && (t.set(i, new de(r, e, e.ecModel)), r.selected && (n[i] = !0)), t;
1015
+ }, O()), t.selectedMap ||= n;
1195
1016
  }, t.prototype.getRegionModel = function(e) {
1196
- return this._optionModelMap.get(e) || new le(null, this, this.ecModel);
1017
+ return this._optionModelMap.get(e) || new de(null, this, this.ecModel);
1197
1018
  }, t.prototype.getFormattedLabel = function(e, t) {
1198
1019
  var n = this.getRegionModel(e), r = t === "normal" ? n.get(["label", "formatter"]) : n.get([
1199
1020
  "emphasis",
1200
1021
  "label",
1201
1022
  "formatter"
1202
- ]), i = { name: e };
1203
- if (Ae(r)) return i.status = t, r(i);
1204
- if (s(r)) return r.replace("{a}", e ?? "");
1023
+ ]), a = { name: e };
1024
+ if (i(r)) return a.status = t, r(a);
1025
+ if (x(r)) return r.replace("{a}", e ?? "");
1205
1026
  }, t.prototype.select = function(e) {
1206
1027
  var t = this.option, n = t.selectedMode;
1207
1028
  if (n) {
@@ -1233,29 +1054,29 @@ var sn = new (function() {
1233
1054
  scaleLimit: null,
1234
1055
  label: {
1235
1056
  show: !1,
1236
- color: D.color.tertiary
1057
+ color: C.color.tertiary
1237
1058
  },
1238
1059
  itemStyle: {
1239
1060
  borderWidth: .5,
1240
- borderColor: D.color.border
1061
+ borderColor: C.color.border
1241
1062
  },
1242
1063
  emphasis: {
1243
1064
  label: {
1244
1065
  show: !0,
1245
- color: D.color.primary
1066
+ color: C.color.primary
1246
1067
  },
1247
- itemStyle: { color: D.color.highlight }
1068
+ itemStyle: { color: C.color.highlight }
1248
1069
  },
1249
1070
  select: {
1250
1071
  label: {
1251
1072
  show: !0,
1252
- color: D.color.primary
1073
+ color: C.color.primary
1253
1074
  },
1254
- itemStyle: { color: D.color.highlight }
1075
+ itemStyle: { color: C.color.highlight }
1255
1076
  },
1256
1077
  regions: []
1257
1078
  }, t;
1258
- }(c), Z = [
1079
+ }(ne), X = [
1259
1080
  "rect",
1260
1081
  "circle",
1261
1082
  "line",
@@ -1263,21 +1084,21 @@ var sn = new (function() {
1263
1084
  "polygon",
1264
1085
  "polyline",
1265
1086
  "path"
1266
- ], ln = A(Z), un = A(Z.concat(["g"])), dn = A(Z.concat(["g"])), fn = o();
1267
- function Q(e) {
1087
+ ], Kt = O(X), qt = O(X.concat(["g"])), Jt = O(X.concat(["g"])), Yt = oe();
1088
+ function Z(e) {
1268
1089
  var t = e.getItemStyle(), n = e.get("areaColor");
1269
1090
  return n != null && (t.fill = n), t;
1270
1091
  }
1271
- function pn(e) {
1092
+ function Xt(e) {
1272
1093
  var t = e.style;
1273
1094
  t && (t.stroke = t.stroke || t.fill, t.fill = null);
1274
1095
  }
1275
- var mn = function() {
1276
- function t(e) {
1277
- var t = this.group = new T(), n = this._transformGroup = new T();
1278
- t.add(n), this.uid = p("ec_map_draw"), this._controller = new tt(e.getZr()), n.add(this._regionsGroup = new T()), n.add(this._svgGroup = new T());
1096
+ var Zt = function() {
1097
+ function e(e) {
1098
+ var t = this.group = new a(), n = this._transformGroup = new a();
1099
+ t.add(n), this.uid = Ee("ec_map_draw"), this._controller = new Qe(e.getZr()), n.add(this._regionsGroup = new a()), n.add(this._svgGroup = new a());
1279
1100
  }
1280
- return t.prototype.draw = function(e, t, n, r, i) {
1101
+ return e.prototype.draw = function(e, t, n, r, i) {
1281
1102
  var a = this, o = e.getData && e.getData();
1282
1103
  $(e) && t.eachComponent({
1283
1104
  mainType: "series",
@@ -1286,94 +1107,94 @@ var mn = function() {
1286
1107
  !o && t.getHostGeoModel() === e && (o = t.getData());
1287
1108
  });
1288
1109
  var s = e.coordinateSystem, c = s.view, l = this._regionsGroup, u = this._transformGroup, d = !l.childAt(0) || i, f;
1289
- s.shouldClip() ? (f = Ze(null, c), this.group.setClipPath(new N({ shape: f.clone() }))) : this.group.removeClipPath(), Xe(u, 1, c, d ? null : e);
1110
+ s.shouldClip() ? (f = Je(null, c), this.group.setClipPath(new T({ shape: f.clone() }))) : this.group.removeClipPath(), qe(u, 1, c, d ? null : e);
1290
1111
  var p = o && o.getVisual("visualMeta") && o.getVisual("visualMeta").length > 0;
1291
- s.resourceType === "geoJSON" ? this._buildGeoJSON(c, n, s, e, o, p) : s.resourceType === "geoSVG" && this._buildSVG(c, n, s, e, o, p), nt(e, n, this._controller, function(t, n, r) {
1112
+ s.resourceType === "geoJSON" ? this._buildGeoJSON(c, n, s, e, o, p) : s.resourceType === "geoSVG" && this._buildSVG(c, n, s, e, o, p), $e(e, n, this._controller, function(t, n, r) {
1292
1113
  return e.coordinateSystem.containPoint([n, r]);
1293
1114
  }, f, function() {
1294
1115
  a._mouseDownFlag = !1;
1295
1116
  }, !1, !0), this._updateMapSelectHandler(e, l, n, r);
1296
- }, t.prototype.__updateOnOwnRoam = function(e) {
1297
- Xe(this._transformGroup, 1, e.coordinateSystem.view, null);
1298
- }, t.prototype._buildGeoJSON = function(e, t, n, r, i, a) {
1299
- var o = this._regionsGroupByName = A(), s = A(), c = this._regionsGroup, l = n.projection, u = l && l.stream, d = y(Ke(null, e, 0));
1300
- function f(e, t) {
1301
- return t && (e = t(e)), e && m([], e, d);
1117
+ }, e.prototype.__updateOnOwnRoam = function(e) {
1118
+ qe(this._transformGroup, 1, e.coordinateSystem.view, null);
1119
+ }, e.prototype._buildGeoJSON = function(e, t, n, r, i, s) {
1120
+ var c = this._regionsGroupByName = O(), l = O(), u = this._regionsGroup, d = n.projection, f = d && d.stream, p = o(Ue(null, e, 0));
1121
+ function m(e, t) {
1122
+ return t && (e = t(e)), e && h([], e, p);
1302
1123
  }
1303
- function p(e) {
1304
- for (var t = [], n = !u && l && l.project, r = 0; r < e.length; ++r) {
1305
- var i = f(e[r], n);
1124
+ function g(e) {
1125
+ for (var t = [], n = !f && d && d.project, r = 0; r < e.length; ++r) {
1126
+ var i = m(e[r], n);
1306
1127
  i && t.push(i);
1307
1128
  }
1308
1129
  return t;
1309
1130
  }
1310
- function h(e) {
1311
- return { shape: { points: p(e) } };
1131
+ function _(e) {
1132
+ return { shape: { points: g(e) } };
1312
1133
  }
1313
- c.removeAll(), M(n.regions, function(e) {
1314
- var n = e.name, d = o.get(n), p = s.get(n) || {}, m = p.dataIdx, g = p.regionModel;
1315
- if (!d) {
1316
- d = o.set(n, new T()), c.add(d), m = i ? i.indexOfName(n) : null, g = $(r) ? r.getRegionModel(n) : i ? i.getItemModel(m) : null;
1317
- var _ = g.get("silent", !0);
1318
- _ != null && (d.silent = _), s.set(n, {
1319
- dataIdx: m,
1134
+ u.removeAll(), k(n.regions, function(e) {
1135
+ var n = e.name, o = c.get(n), p = l.get(n) || {}, h = p.dataIdx, g = p.regionModel;
1136
+ if (!o) {
1137
+ o = c.set(n, new a()), u.add(o), h = i ? i.indexOfName(n) : null, g = $(r) ? r.getRegionModel(n) : i ? i.getItemModel(h) : null;
1138
+ var v = g.get("silent", !0);
1139
+ v != null && (o.silent = v), l.set(n, {
1140
+ dataIdx: h,
1320
1141
  regionModel: g
1321
1142
  });
1322
1143
  }
1323
- var v = [], y = [];
1324
- M(e.geometries, function(e) {
1144
+ var y = [], b = [];
1145
+ k(e.geometries, function(e) {
1325
1146
  if (e.type === "polygon") {
1326
1147
  var t = [e.exterior].concat(e.interiors || []);
1327
- u && (t = bn(t, u)), M(t, function(e) {
1328
- v.push(new Me(h(e)));
1148
+ f && (t = nn(t, f)), k(t, function(e) {
1149
+ y.push(new M(_(e)));
1329
1150
  });
1330
1151
  } else {
1331
1152
  var n = e.points;
1332
- u && (n = bn(n, u, !0)), M(n, function(e) {
1333
- y.push(new Re(h(e)));
1153
+ f && (n = nn(n, f, !0)), k(n, function(e) {
1154
+ b.push(new E(_(e)));
1334
1155
  });
1335
1156
  }
1336
1157
  });
1337
- var b = f(e.getCenter(), l && l.project);
1338
- function x(e, o) {
1158
+ var x = m(e.getCenter(), d && d.project);
1159
+ function S(e, a) {
1339
1160
  if (e.length) {
1340
- var s = new me({
1161
+ var c = new ue({
1341
1162
  culling: !0,
1342
1163
  segmentIgnoreThreshold: 1,
1343
1164
  shape: { paths: e }
1344
1165
  });
1345
- d.add(s), hn(t, i, a, s, m, g), gn(r, i, s, n, g, m, b), o && (pn(s), M(s.states, pn));
1166
+ o.add(c), Qt(t, i, s, c, h, g), $t(r, i, c, n, g, h, x), a && (Xt(c), k(c.states, Xt));
1346
1167
  }
1347
1168
  }
1348
- x(v), x(y, !0);
1349
- }), o.each(function(e, t) {
1350
- var n = s.get(t), a = n.dataIdx, o = n.regionModel;
1351
- _n(r, i, e, t, o, a), vn(r, i, e, t, o), yn(r, e, t, o);
1169
+ S(y), S(b, !0);
1170
+ }), c.each(function(e, t) {
1171
+ var n = l.get(t), a = n.dataIdx, o = n.regionModel;
1172
+ en(r, i, e, t, o, a), Q(r, i, e, t, o), tn(r, e, t, o);
1352
1173
  }, this);
1353
- }, t.prototype._buildSVG = function(t, n, r, i, a, o) {
1354
- var s = r.map;
1355
- Ke(this._svgGroup, t, 0), this._svgResourceChanged(s) && (this._freeSVG(), this._useSVG(s));
1356
- var c = this._svgDispatcherMap = A(), l = !1;
1357
- M(this._svgGraphicRecord.named, function(t) {
1358
- var r = t.name, s = t.svgNodeTagLower, u = t.el, d = a ? a.indexOfName(r) : null, f = i.getRegionModel(r);
1359
- ln.get(s) != null && u instanceof e && hn(n, a, o, u, d, f), u instanceof e && (u.culling = !0);
1360
- var p = f.get("silent", !0);
1361
- p != null && (u.silent = p), u.z2EmphasisLift = 0, t.namedFrom || (dn.get(s) != null && gn(i, a, u, r, f, d, null), _n(i, a, u, r, f, d), vn(i, a, u, r, f), un.get(s) != null && (yn(i, u, r, f) === "self" && (l = !0), (c.get(r) || c.set(r, [])).push(u)));
1362
- }, this), this._enableBlurEntireSVG(l, i);
1363
- }, t.prototype._enableBlurEntireSVG = function(e, t) {
1174
+ }, e.prototype._buildSVG = function(e, t, n, r, i, a) {
1175
+ var o = n.map;
1176
+ Ue(this._svgGroup, e, 0), this._svgResourceChanged(o) && (this._freeSVG(), this._useSVG(o));
1177
+ var s = this._svgDispatcherMap = O(), c = !1;
1178
+ k(this._svgGraphicRecord.named, function(e) {
1179
+ var n = e.name, o = e.svgNodeTagLower, l = e.el, u = i ? i.indexOfName(n) : null, d = r.getRegionModel(n);
1180
+ Kt.get(o) != null && l instanceof w && Qt(t, i, a, l, u, d), l instanceof w && (l.culling = !0);
1181
+ var f = d.get("silent", !0);
1182
+ f != null && (l.silent = f), l.z2EmphasisLift = 0, e.namedFrom || (Jt.get(o) != null && $t(r, i, l, n, d, u, null), en(r, i, l, n, d, u), Q(r, i, l, n, d), qt.get(o) != null && (tn(r, l, n, d) === "self" && (c = !0), (s.get(n) || s.set(n, [])).push(l)));
1183
+ }, this), this._enableBlurEntireSVG(c, r);
1184
+ }, e.prototype._enableBlurEntireSVG = function(e, t) {
1364
1185
  if (e && $(t)) {
1365
1186
  var n = t.getModel(["blur", "itemStyle"]).getItemStyle().opacity;
1366
1187
  this._svgGraphicRecord.root.traverse(function(e) {
1367
1188
  if (!e.isGroup) {
1368
- _e(e);
1189
+ Ie(e);
1369
1190
  var t = e.ensureState("blur").style || {};
1370
1191
  t.opacity == null && n != null && (t.opacity = n), e.ensureState("emphasis");
1371
1192
  }
1372
1193
  });
1373
1194
  }
1374
- }, t.prototype.remove = function() {
1195
+ }, e.prototype.remove = function() {
1375
1196
  this._regionsGroup.removeAll(), this._regionsGroupByName = null, this._svgGroup.removeAll(), this._freeSVG(), this._controller.disable();
1376
- }, t.prototype.findHighDownDispatchers = function(e, t) {
1197
+ }, e.prototype.findHighDownDispatchers = function(e, t) {
1377
1198
  if (e == null) return [];
1378
1199
  var n = t.coordinateSystem;
1379
1200
  if (n.resourceType === "geoJSON") {
@@ -1383,43 +1204,43 @@ var mn = function() {
1383
1204
  return i ? [i] : [];
1384
1205
  }
1385
1206
  } else if (n.resourceType === "geoSVG") return this._svgDispatcherMap && this._svgDispatcherMap.get(e) || [];
1386
- }, t.prototype._svgResourceChanged = function(e) {
1207
+ }, e.prototype._svgResourceChanged = function(e) {
1387
1208
  return this._svgMapName !== e;
1388
- }, t.prototype._useSVG = function(e) {
1389
- var t = Y.getGeoResource(e);
1209
+ }, e.prototype._useSVG = function(e) {
1210
+ var t = J.getGeoResource(e);
1390
1211
  if (t && t.type === "geoSVG") {
1391
1212
  var n = t.useGraphic(this.uid);
1392
1213
  this._svgGroup.add(n.root), this._svgGraphicRecord = n, this._svgMapName = e;
1393
1214
  }
1394
- }, t.prototype._freeSVG = function() {
1215
+ }, e.prototype._freeSVG = function() {
1395
1216
  var e = this._svgMapName;
1396
1217
  if (e != null) {
1397
- var t = Y.getGeoResource(e);
1218
+ var t = J.getGeoResource(e);
1398
1219
  t && t.type === "geoSVG" && t.freeGraphic(this.uid), this._svgGraphicRecord = null, this._svgDispatcherMap = null, this._svgGroup.removeAll(), this._svgMapName = null;
1399
1220
  }
1400
- }, t.prototype.resetForLabelLayout = function() {
1221
+ }, e.prototype.resetForLabelLayout = function() {
1401
1222
  this.group.traverse(function(e) {
1402
1223
  var t = e.getTextContent();
1403
- t && (t.ignore = fn(t).ignore);
1224
+ t && (t.ignore = Yt(t).ignore);
1404
1225
  });
1405
- }, t.prototype._updateMapSelectHandler = function(e, t, n, r) {
1226
+ }, e.prototype._updateMapSelectHandler = function(e, t, n, r) {
1406
1227
  var i = this;
1407
1228
  t.off("mousedown"), t.off("click"), e.get("selectedMode") && (t.on("mousedown", function() {
1408
1229
  i._mouseDownFlag = !0;
1409
1230
  }), t.on("click", function(e) {
1410
1231
  i._mouseDownFlag &&= !1;
1411
1232
  }));
1412
- }, t;
1233
+ }, e;
1413
1234
  }();
1414
- function hn(e, t, n, r, i, a) {
1415
- var o = a.getModel("itemStyle"), s = a.getModel(["emphasis", "itemStyle"]), c = a.getModel(["blur", "itemStyle"]), l = a.getModel(["select", "itemStyle"]), u = Q(o), d = Q(s), f = Q(l), p = Q(c);
1416
- if (t) {
1417
- var m = t.getItemVisual(i, "style"), h = t.getItemVisual(i, "decal");
1418
- n && m.fill && (u.fill = m.fill), h && (u.decal = ke(h, e));
1235
+ function Qt(e, n, r, i, a, o) {
1236
+ var s = o.getModel("itemStyle"), c = o.getModel(["emphasis", "itemStyle"]), l = o.getModel(["blur", "itemStyle"]), u = o.getModel(["select", "itemStyle"]), d = Z(s), f = Z(c), p = Z(u), m = Z(l);
1237
+ if (n) {
1238
+ var h = n.getItemVisual(a, "style"), g = n.getItemVisual(a, "decal");
1239
+ r && h.fill && (d.fill = h.fill), g && (d.decal = t(g, e));
1419
1240
  }
1420
- r.setStyle(u), r.style.strokeNoScale = !0, r.ensureState("emphasis").style = d, r.ensureState("select").style = f, r.ensureState("blur").style = p, _e(r);
1241
+ i.setStyle(d), i.style.strokeNoScale = !0, i.ensureState("emphasis").style = f, i.ensureState("select").style = p, i.ensureState("blur").style = m, Ie(i);
1421
1242
  }
1422
- function gn(e, t, n, r, i, a, o) {
1243
+ function $t(e, t, n, r, i, a, o) {
1423
1244
  var s = t && isNaN(t.get(t.mapDimension("value"), a)), c = t && t.getItemLayout(a);
1424
1245
  if ($(e) || s || c && c.showLabel) {
1425
1246
  var l = $(e) ? r : a, u = void 0;
@@ -1428,21 +1249,21 @@ function gn(e, t, n, r, i, a, o) {
1428
1249
  align: "center",
1429
1250
  verticalAlign: "middle"
1430
1251
  } } : null;
1431
- De(n, Ne(i), {
1252
+ De(n, je(i), {
1432
1253
  labelFetcher: u,
1433
1254
  labelDataIndex: l,
1434
1255
  defaultText: r
1435
1256
  }, d);
1436
1257
  var f = n.getTextContent();
1437
- if (f && (fn(f).ignore = f.ignore, n.textConfig && o)) {
1258
+ if (f && (Yt(f).ignore = f.ignore, n.textConfig && o)) {
1438
1259
  var p = n.getBoundingRect().clone();
1439
1260
  n.textConfig.layoutRect = p, n.textConfig.position = [(o[0] - p.x) / p.width * 100 + "%", (o[1] - p.y) / p.height * 100 + "%"];
1440
1261
  }
1441
1262
  n.disableLabelAnimation = !0;
1442
1263
  } else n.removeTextContent(), n.removeTextConfig(), n.disableLabelAnimation = null;
1443
1264
  }
1444
- function _n(e, t, n, r, i, a) {
1445
- t ? t.setItemGraphicEl(a, n) : E(n).eventData = {
1265
+ function en(e, t, n, r, i, a) {
1266
+ t ? t.setItemGraphicEl(a, n) : S(n).eventData = {
1446
1267
  componentType: "geo",
1447
1268
  componentIndex: e.componentIndex,
1448
1269
  geoIndex: e.componentIndex,
@@ -1450,20 +1271,20 @@ function _n(e, t, n, r, i, a) {
1450
1271
  region: i && i.option || {}
1451
1272
  };
1452
1273
  }
1453
- function vn(e, t, n, r, i) {
1454
- t || C({
1274
+ function Q(e, t, n, r, i) {
1275
+ t || y({
1455
1276
  el: n,
1456
1277
  componentModel: e,
1457
1278
  itemName: r,
1458
1279
  itemTooltipOption: i.get("tooltip")
1459
1280
  });
1460
1281
  }
1461
- function yn(e, t, n, r) {
1282
+ function tn(e, t, n, r) {
1462
1283
  t.highDownSilentOnTouch = !!e.get("selectedMode");
1463
- var a = r.getModel("emphasis"), o = a.get("focus");
1464
- return i(t, o, a.get("blurScope"), a.get("disabled")), $(e) && be(t, e, n), o;
1284
+ var i = r.getModel("emphasis"), a = i.get("focus");
1285
+ return ae(t, a, i.get("blurScope"), i.get("disabled")), $(e) && Ne(t, e, n), a;
1465
1286
  }
1466
- function bn(e, t, n) {
1287
+ function nn(e, t, n) {
1467
1288
  var r = [], i;
1468
1289
  function a() {
1469
1290
  i = [];
@@ -1481,7 +1302,7 @@ function bn(e, t, n) {
1481
1302
  },
1482
1303
  sphere: function() {}
1483
1304
  });
1484
- return !n && s.polygonStart(), M(e, function(e) {
1305
+ return !n && s.polygonStart(), k(e, function(e) {
1485
1306
  s.lineStart();
1486
1307
  for (var t = 0; t < e.length; t++) s.point(e[t][0], e[t][1]);
1487
1308
  s.lineEnd();
@@ -1491,8 +1312,8 @@ function $(e) {
1491
1312
  return e.mainType === "geo";
1492
1313
  }
1493
1314
  // ../../../node_modules/.pnpm/echarts@6.1.0/node_modules/echarts/lib/component/geo/GeoView.js
1494
- var xn = function(e) {
1495
- j(t, e);
1315
+ var rn = function(e) {
1316
+ D(t, e);
1496
1317
  function t() {
1497
1318
  var n = e !== null && e.apply(this, arguments) || this;
1498
1319
  return n.type = t.type, n.focusBlurEnabled = !0, n;
@@ -1502,7 +1323,7 @@ var xn = function(e) {
1502
1323
  }, t.prototype.render = function(e, t, n, r) {
1503
1324
  if (this._model = e, !e.get("show")) this._mapDraw && this._mapDraw.remove(), this._mapDraw = null;
1504
1325
  else {
1505
- this._mapDraw ||= new mn(n);
1326
+ this._mapDraw ||= new Zt(n);
1506
1327
  var i = this._mapDraw;
1507
1328
  i.draw(e, t, n, this, r), i.group.on("click", this._handleRegionClick, this), i.group.silent = e.get("silent"), this.group.add(i.group), this.updateSelectStatus(e, t, n);
1508
1329
  }
@@ -1511,8 +1332,8 @@ var xn = function(e) {
1511
1332
  r && r.__updateOnOwnRoam(t);
1512
1333
  }, t.prototype._handleRegionClick = function(e) {
1513
1334
  var t;
1514
- h(e.target, function(e) {
1515
- return (t = E(e).eventData) != null;
1335
+ c(e.target, function(e) {
1336
+ return (t = S(e).eventData) != null;
1516
1337
  }, !0), t && this._api.dispatchAction({
1517
1338
  type: "geoToggleSelect",
1518
1339
  geoId: this._model.id,
@@ -1521,7 +1342,7 @@ var xn = function(e) {
1521
1342
  }, t.prototype.updateSelectStatus = function(e, t, n) {
1522
1343
  var r = this;
1523
1344
  this._mapDraw.group.traverse(function(e) {
1524
- var t = E(e).eventData;
1345
+ var t = S(e).eventData;
1525
1346
  if (t) return r._model.isSelected(t.name) ? n.enterSelect(e) : n.leaveSelect(e), !0;
1526
1347
  });
1527
1348
  }, t.prototype.findHighDownDispatchers = function(e) {
@@ -1529,14 +1350,14 @@ var xn = function(e) {
1529
1350
  }, t.prototype.dispose = function() {
1530
1351
  this._mapDraw && this._mapDraw.remove();
1531
1352
  }, t.type = "geo", t;
1532
- }(Pe);
1353
+ }(Me);
1533
1354
  // ../../../node_modules/.pnpm/echarts@6.1.0/node_modules/echarts/lib/component/geo/install.js
1534
- function Sn(e, t, n) {
1535
- Y.registerMap(e, t, n);
1355
+ function an(e, t, n) {
1356
+ J.registerMap(e, t, n);
1536
1357
  }
1537
- function Cn(e) {
1538
- e.registerCoordinateSystem("geo", sn), e.registerComponentModel(cn), e.registerComponentView(xn), e.registerImpl("registerMap", Sn), e.registerImpl("getMap", function(e) {
1539
- return Y.getMapForUser(e);
1358
+ function on(e) {
1359
+ e.registerCoordinateSystem("geo", Wt), e.registerComponentModel(Gt), e.registerComponentView(rn), e.registerImpl("registerMap", an), e.registerImpl("getMap", function(e) {
1360
+ return J.getMapForUser(e);
1540
1361
  });
1541
1362
  function t(t, n) {
1542
1363
  n.update = "geo:updateSelectStatus", e.registerAction(n, function(e, n) {
@@ -1547,11 +1368,11 @@ function Cn(e) {
1547
1368
  }, function(n) {
1548
1369
  n[t](e.name);
1549
1370
  var a = n.coordinateSystem;
1550
- M(a.regions, function(e) {
1371
+ k(a.regions, function(e) {
1551
1372
  r[e.name] = n.isSelected(e.name) || !1;
1552
1373
  });
1553
1374
  var o = [];
1554
- M(r, function(e, t) {
1375
+ k(r, function(e, t) {
1555
1376
  r[t] && o.push(t);
1556
1377
  }), i.push({
1557
1378
  geoIndex: n.componentIndex,
@@ -1578,13 +1399,13 @@ function Cn(e) {
1578
1399
  event: "geoRoam",
1579
1400
  update: "updateTransform"
1580
1401
  }, function(e, t, n) {
1581
- var r = e.componentType || (e.geoId != null || e.geoName != null || e.geoIndex != null ? "geo" : "series"), i = r === oe;
1582
- if (r === "geo" || i) {
1583
- var a = i ? "map" : null;
1584
- t.eachComponent(te(e, r, a), function(r) {
1585
- (!i || X(r)) && (Qe(e, r, i ? r.seriesGroup.r : null), Ge(e, r, t, n));
1402
+ var i = e.componentType || (e.geoId != null || e.geoName != null || e.geoIndex != null ? "geo" : "series"), a = i === Fe;
1403
+ if (i === "geo" || a) {
1404
+ var o = a ? "map" : null;
1405
+ t.eachComponent(r(e, i, o), function(r) {
1406
+ (!a || Y(r)) && (Ye(e, r, a ? r.seriesGroup.r : null), He(e, r, t, n));
1586
1407
  });
1587
1408
  }
1588
1409
  });
1589
1410
  }
1590
- export { nn as a, ht as c, rn as i, P as l, mn as n, tn as o, en as r, X as s, Cn as t };
1411
+ export { Bt as a, Vt as i, Zt as n, zt as o, Rt as r, Y as s, on as t };