@deot/docs-client 1.1.2 → 1.1.4

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 (55) hide show
  1. package/README.md +2 -3
  2. package/dist/chunks/browser-Cmwcvs-d.js +505 -0
  3. package/dist/chunks/cdn-DEvdGJu2-bmlgKy4E.js +38 -0
  4. package/dist/chunks/chunk-rhk8Qtmk-CUgXtmq_.js +14 -0
  5. package/dist/chunks/compile-Bw7v7QE--Dd1-R95H.js +79920 -0
  6. package/dist/chunks/compiler-sfc.esm-browser-B4_kBkG5.js +24975 -0
  7. package/dist/chunks/dayjs.min-B3g34Qcz.js +300 -0
  8. package/dist/chunks/dist-0ySyXNpo.js +415 -0
  9. package/dist/chunks/dist-BUw25nXJ.js +65 -0
  10. package/dist/chunks/dist-BeOE8qTX.js +345 -0
  11. package/dist/chunks/dist-Bm7SK-km.js +24517 -0
  12. package/dist/chunks/dist-C3V7reR4.js +197 -0
  13. package/dist/chunks/dist-C8z9l0mA.js +58 -0
  14. package/dist/chunks/dist-CI9Lp9Cj.js +247 -0
  15. package/dist/chunks/dist-COjpr4FU.js +426 -0
  16. package/dist/chunks/dist-CQir6D4y.js +244 -0
  17. package/dist/chunks/dist-CuJyl-ef.js +17 -0
  18. package/dist/chunks/dist-Cxf7_ocf.js +44 -0
  19. package/dist/chunks/dist-DF4kisl2.js +43 -0
  20. package/dist/chunks/dist-DLj8yJdm.js +38 -0
  21. package/dist/chunks/dist-DN0sqx7H.js +39 -0
  22. package/dist/chunks/dist-DWqBe2Ah.js +132 -0
  23. package/dist/chunks/dist-D_Uqh6m9.js +80 -0
  24. package/dist/chunks/dist-DcIU51zW.js +166 -0
  25. package/dist/chunks/dist-DlmO7OlF.js +22 -0
  26. package/dist/chunks/dist-kiZUqqzR.js +27 -0
  27. package/dist/chunks/dist-oZ12SGqg.js +6 -0
  28. package/dist/chunks/dist-uXnwGrO3.js +76 -0
  29. package/dist/chunks/dist-va7FmnW4.js +156 -0
  30. package/dist/chunks/{echarts-I1Rk_oCV.js → echarts-Dk-pu7GM.js} +450 -398
  31. package/dist/chunks/files-C5UMzYxA-q9oJ4PrI.js +110 -0
  32. package/dist/chunks/html2canvas-Deo0mM5K.js +4022 -0
  33. package/dist/chunks/index.es-UlJ0gfdF.js +5757 -0
  34. package/dist/chunks/jspdf.es.min-CJc40v7q.js +17873 -0
  35. package/dist/chunks/jsx-CwMPlI4_-CAiik-V7.js +128454 -0
  36. package/dist/chunks/jszip.min-BbVwZKYP.js +3044 -0
  37. package/dist/chunks/linker-JHdz37DK-CWgUtxZ5.js +118 -0
  38. package/dist/chunks/local-sandbox-B8IJ5jWb-BgfU3iQ4.js +300 -0
  39. package/dist/chunks/lodash-Cxf6dD_I.js +5161 -0
  40. package/dist/chunks/modules-DlLJF_vd-DcNdL6sc.js +153 -0
  41. package/dist/chunks/{photoswipe.esm-CT37djgx.js → photoswipe.esm-B0V-xGTB.js} +36 -31
  42. package/dist/chunks/pinia-pDJilYOg.js +326 -0
  43. package/dist/chunks/purify.es-BiqY1C6m.js +867 -0
  44. package/dist/chunks/remote-DfXAsO9n-C_MtPVYr.js +75 -0
  45. package/dist/chunks/script-xKUjE8pf-oF69rg-w.js +14941 -0
  46. package/dist/chunks/store-D8vwi-HV-RFStijWr.js +16936 -0
  47. package/dist/chunks/vue-router-C0mj8Ot5.js +1196 -0
  48. package/dist/chunks/vue.runtime.esm-bundler-XxHGOLq2.js +4879 -0
  49. package/dist/index.cjs +17 -17
  50. package/dist/index.d.ts +1 -1
  51. package/dist/index.js +41759 -103263
  52. package/dist/index.style.css +3 -4
  53. package/package.json +9 -9
  54. package/dist/chunks/_commonjsHelpers-BFTU3MAI-D_7z5o6A.js +0 -8
  55. package/dist/chunks/jsx-H2PmTOgp-C0GVSSMR.js +0 -128281
@@ -243,9 +243,11 @@ function ae(e) {
243
243
  return !e || typeof e == "string" ? !1 : typeof e.length == "number";
244
244
  }
245
245
  function F(e, t, n) {
246
- if (e && t) if (e.forEach && e.forEach === y) e.forEach(t, n);
247
- else if (e.length === +e.length) for (var r = 0, i = e.length; r < i; r++) t.call(n, e[r], r, e);
248
- else for (var a in e) e.hasOwnProperty(a) && t.call(n, e[a], a, e);
246
+ if (e && t) {
247
+ if (e.forEach && e.forEach === y) e.forEach(t, n);
248
+ else if (e.length === +e.length) for (var r = 0, i = e.length; r < i; r++) t.call(n, e[r], r, e);
249
+ else for (var a in e) e.hasOwnProperty(a) && t.call(n, e[a], a, e);
250
+ }
249
251
  }
250
252
  function I(e, t, n) {
251
253
  if (!e) return [];
@@ -1585,7 +1587,7 @@ var Jn = function() {
1585
1587
  for (var t = this._roots, n = this._displayList, r = 0, i = t.length; r < i; r++) this._updateAndAddDisplayable(t[r], null, e);
1586
1588
  n.length = this._displayListLen, Wn(n, qn);
1587
1589
  }, e.prototype._updateAndAddDisplayable = function(e, t, n) {
1588
- if (!(e.ignore && !n)) {
1590
+ if (!e.ignore || n) {
1589
1591
  e.beforeUpdate(), e.update(), e.afterUpdate();
1590
1592
  var r = e.getClipPath(), i = t && t.length, a = 0, o = e.__clipPaths;
1591
1593
  if (!e.ignoreClip && (i || r)) {
@@ -1744,12 +1746,13 @@ function lr(e, t, n, r, i) {
1744
1746
  }
1745
1747
  function ur(e, t, n, r, i, a) {
1746
1748
  var o = r + 3 * (t - n) - e, s = 3 * (n - t * 2 + e), c = 3 * (t - e), l = e - i, u = s * s - 3 * o * c, d = s * c - 9 * o * l, f = c * c - 3 * s * l, p = 0;
1747
- if (or(u) && or(d)) if (or(s)) a[0] = 0;
1748
- else {
1749
- var m = -c / s;
1750
- m >= 0 && m <= 1 && (a[p++] = m);
1751
- }
1752
- else {
1749
+ if (or(u) && or(d)) {
1750
+ if (or(s)) a[0] = 0;
1751
+ else {
1752
+ var m = -c / s;
1753
+ m >= 0 && m <= 1 && (a[p++] = m);
1754
+ }
1755
+ } else {
1753
1756
  var h = d * d - 4 * u * f;
1754
1757
  if (or(h)) {
1755
1758
  var g = d / u, m = -s / o + g, _ = -g / 2;
@@ -1893,10 +1896,12 @@ var wr = function() {
1893
1896
  var n = this._life, r = e - this._startTime - this._pausedTime, i = r / n;
1894
1897
  i < 0 && (i = 0), i = Math.min(i, 1);
1895
1898
  var a = this.easingFunc, o = a ? a(i) : i;
1896
- if (this.onframe(o), i === 1) if (this.loop) {
1897
- var s = r % n;
1898
- this._startTime = e - s, this._pausedTime = 0, this.onrestart();
1899
- } else return !0;
1899
+ if (this.onframe(o), i === 1) {
1900
+ if (this.loop) {
1901
+ var s = r % n;
1902
+ this._startTime = e - s, this._pausedTime = 0, this.onrestart();
1903
+ } else return !0;
1904
+ }
1900
1905
  return !1;
1901
1906
  }, e.prototype.pause = function() {
1902
1907
  this._paused = !0;
@@ -2979,7 +2984,7 @@ function Kr(e) {
2979
2984
  if (t) return ((1 << 24) + (t[0] << 16) + (t[1] << 8) + +t[2]).toString(16).slice(1);
2980
2985
  }
2981
2986
  function qr(e, t, n) {
2982
- if (!(!(t && t.length) || !(e >= 0 && e <= 1))) {
2987
+ if (t && t.length && e >= 0 && e <= 1) {
2983
2988
  n ||= [];
2984
2989
  var r = e * (t.length - 1), i = Math.floor(r), a = Math.ceil(r), o = t[i], s = t[a], c = r - i;
2985
2990
  return n[0] = Ar(Ir(o[0], s[0], c)), n[1] = Ar(Ir(o[1], s[1], c)), n[2] = Ar(Ir(o[2], s[2], c)), n[3] = Mr(Ir(o[3], s[3], c)), n;
@@ -2987,7 +2992,7 @@ function qr(e, t, n) {
2987
2992
  }
2988
2993
  var Jr = qr;
2989
2994
  function Yr(e, t, n) {
2990
- if (!(!(t && t.length) || !(e >= 0 && e <= 1))) {
2995
+ if (t && t.length && e >= 0 && e <= 1) {
2991
2996
  var r = e * (t.length - 1), i = Math.floor(r), a = Math.ceil(r), o = Hr(t[i]), s = Hr(t[a]), c = r - i, l = $r([
2992
2997
  Ar(Ir(o[0], s[0], c)),
2993
2998
  Ar(Ir(o[1], s[1], c)),
@@ -3012,7 +3017,7 @@ function Qr(e, t) {
3012
3017
  if (n && t != null) return n[3] = Mr(t), $r(n, "rgba");
3013
3018
  }
3014
3019
  function $r(e, t) {
3015
- if (!(!e || !e.length)) {
3020
+ if (e && e.length) {
3016
3021
  var n = e[0] + "," + e[1] + "," + e[2];
3017
3022
  return (t === "rgba" || t === "hsva" || t === "hsla") && (n += "," + e[3]), t + "(" + n + ")";
3018
3023
  }
@@ -3175,10 +3180,12 @@ function ji(e, t) {
3175
3180
  }
3176
3181
  function Mi(e, t, n) {
3177
3182
  var r = e, i = t;
3178
- if (!(!r.push || !i.push)) {
3183
+ if (r.push && i.push) {
3179
3184
  var a = r.length, o = i.length;
3180
- if (a !== o) if (a > o) r.length = o;
3181
- else for (var s = a; s < o; s++) r.push(n === 1 ? i[s] : Ti.call(i[s]));
3185
+ if (a !== o) {
3186
+ if (a > o) r.length = o;
3187
+ else for (var s = a; s < o; s++) r.push(n === 1 ? i[s] : Ti.call(i[s]));
3188
+ }
3182
3189
  for (var c = r[0] && r[0].length, s = 0; s < r.length; s++) if (n === 1) isNaN(r[s]) && (r[s] = i[s]);
3183
3190
  else for (var l = 0; l < c; l++) isNaN(r[s][l]) && (r[s][l] = i[s][l]);
3184
3191
  }
@@ -3231,12 +3238,13 @@ var Gi = [
3231
3238
  var c = Fi(t);
3232
3239
  o = c, (c === 1 && !de(t[0]) || c === 2 && !de(t[0][0])) && (a = !0);
3233
3240
  } else if (de(t) && !ve(t)) o = Ii;
3234
- else if (H(t)) if (!isNaN(+t)) o = Ii;
3235
- else {
3236
- var l = Hr(t);
3237
- l && (s = l, o = zi);
3238
- }
3239
- else if (he(t)) {
3241
+ else if (H(t)) {
3242
+ if (!isNaN(+t)) o = Ii;
3243
+ else {
3244
+ var l = Hr(t);
3245
+ l && (s = l, o = zi);
3246
+ }
3247
+ } else if (he(t)) {
3240
3248
  var u = M({}, s);
3241
3249
  u.colorStops = I(t.colorStops, function(e) {
3242
3250
  return {
@@ -3382,10 +3390,12 @@ var Gi = [
3382
3390
  this._started = 1;
3383
3391
  for (var t = this, n = [], r = this._maxTime || 0, i = 0; i < this._trackKeys.length; i++) {
3384
3392
  var a = this._trackKeys[i], o = this._tracks[a], s = this._getAdditiveTrack(a), c = o.keyframes, l = c.length;
3385
- if (o.prepare(r, s), o.needsAnimate()) if (!this._allowDiscrete && o.discrete) {
3386
- var u = c[l - 1];
3387
- u && (t._target[o.propName] = u.rawValue), o.setFinished();
3388
- } else n.push(o);
3393
+ if (o.prepare(r, s), o.needsAnimate()) {
3394
+ if (!this._allowDiscrete && o.discrete) {
3395
+ var u = c[l - 1];
3396
+ u && (t._target[o.propName] = u.rawValue), o.setFinished();
3397
+ } else n.push(o);
3398
+ }
3389
3399
  }
3390
3400
  if (n.length || this._force) {
3391
3401
  var d = new wr({
@@ -3452,7 +3462,7 @@ var Gi = [
3452
3462
  t ||= this._trackKeys;
3453
3463
  for (var r = 0; r < t.length; r++) {
3454
3464
  var i = t[r], a = this._tracks[i];
3455
- if (!(!a || a.isFinished())) {
3465
+ if (a && !a.isFinished()) {
3456
3466
  var o = a.keyframes, s = o[n ? 0 : o.length - 1];
3457
3467
  s && (e[i] = Ni(s.rawValue));
3458
3468
  }
@@ -3618,7 +3628,7 @@ var oa = function() {
3618
3628
  e = Nt(this.dom, e), ra(e), this.handler.processGesture(e, "change"), sa.mousemove.call(this, e);
3619
3629
  },
3620
3630
  touchend: function(e) {
3621
- e = Nt(this.dom, e), ra(e), this.handler.processGesture(e, "end"), sa.mouseup.call(this, e), /* @__PURE__ */ new Date() - +this.__lastTouchMoment < Xi && sa.click.call(this, e);
3631
+ e = Nt(this.dom, e), ra(e), this.handler.processGesture(e, "end"), sa.mouseup.call(this, e), +/* @__PURE__ */ new Date() - this.__lastTouchMoment < Xi && sa.click.call(this, e);
3622
3632
  },
3623
3633
  pointerdown: function(e) {
3624
3634
  sa.mousedown.call(this, e);
@@ -3706,7 +3716,7 @@ var pa = function() {
3706
3716
  }, t.prototype.setCursor = function(e) {
3707
3717
  this.dom.style && (this.dom.style.cursor = e || "default");
3708
3718
  }, t.prototype.__togglePointerCapture = function(e) {
3709
- if (this.__mayPointerCapture = null, Zi && this.__pointerCapturing ^ +e) {
3719
+ if (this.__mayPointerCapture = null, Zi && +this.__pointerCapturing ^ e) {
3710
3720
  this.__pointerCapturing = e;
3711
3721
  var t = this._globalHandlerScope;
3712
3722
  e ? ua(this, t) : fa(t);
@@ -4023,7 +4033,7 @@ var qa = "__zr_normal__", Ja = ja.concat(["ignore"]), Ya = oe(ja, function(e, t)
4023
4033
  this.useState(qa, !1, e);
4024
4034
  }, e.prototype.useState = function(e, t, n, r) {
4025
4035
  var i = e === qa;
4026
- if (!(!this.hasState() && i)) {
4036
+ if (this.hasState() || !i) {
4027
4037
  var a = this.currentStates, o = this.stateTransition;
4028
4038
  if (!(P(a, e) >= 0 && (t || a.length === 1))) {
4029
4039
  var s;
@@ -4104,7 +4114,7 @@ var qa = "__zr_normal__", Ja = ja.concat(["ignore"]), Ya = oe(ja, function(e, t)
4104
4114
  c && this._transitionState(e, s, a);
4105
4115
  }
4106
4116
  }, e.prototype._attachComponent = function(e) {
4107
- if (!(e.__zr && !e.__hostTarget) && e !== this) {
4117
+ if ((!e.__zr || e.__hostTarget) && e !== this) {
4108
4118
  var t = this.__zr;
4109
4119
  t && e.addSelfToZr(t), e.__zr = t, e.__hostTarget = this;
4110
4120
  }
@@ -4248,16 +4258,17 @@ function no(e) {
4248
4258
  return ae(e[0]);
4249
4259
  }
4250
4260
  function ro(e, t, n) {
4251
- if (ae(t[n])) if (ae(e[n]) || (e[n] = []), pe(t[n])) {
4252
- var r = t[n].length;
4253
- e[n].length !== r && (e[n] = new t[n].constructor(r), to(e[n], t[n], r));
4254
- } else {
4255
- var i = t[n], a = e[n], o = i.length;
4256
- if (no(i)) for (var s = i[0].length, c = 0; c < o; c++) a[c] ? to(a[c], i[c], s) : a[c] = Array.prototype.slice.call(i[c]);
4257
- else to(a, i, o);
4258
- a.length = i.length;
4259
- }
4260
- else e[n] = t[n];
4261
+ if (ae(t[n])) {
4262
+ if (ae(e[n]) || (e[n] = []), pe(t[n])) {
4263
+ var r = t[n].length;
4264
+ e[n].length !== r && (e[n] = new t[n].constructor(r), to(e[n], t[n], r));
4265
+ } else {
4266
+ var i = t[n], a = e[n], o = i.length;
4267
+ if (no(i)) for (var s = i[0].length, c = 0; c < o; c++) a[c] ? to(a[c], i[c], s) : a[c] = Array.prototype.slice.call(i[c]);
4268
+ else to(a, i, o);
4269
+ a.length = i.length;
4270
+ }
4271
+ } else e[n] = t[n];
4261
4272
  }
4262
4273
  function io(e, t) {
4263
4274
  return e === t || ae(e) && ae(t) && ao(e, t);
@@ -4271,14 +4282,15 @@ function ao(e, t) {
4271
4282
  function oo(e, t, n, r, i, a, o, s) {
4272
4283
  for (var c = L(r), l = i.duration, u = i.delay, d = i.additive, f = i.setToFinal, p = !U(a), m = e.animators, h = [], g = 0; g < c.length; g++) {
4273
4284
  var _ = c[g], v = r[_];
4274
- if (v != null && n[_] != null && (p || a[_])) if (U(v) && !ae(v) && !he(v)) {
4275
- if (t) {
4276
- s || (n[_] = v, e.updateDuringAnimation(t));
4277
- continue;
4278
- }
4279
- oo(e, _, n[_], v, i, a && a[_], o, s);
4280
- } else h.push(_);
4281
- else s || (n[_] = v, e.updateDuringAnimation(t), h.push(_));
4285
+ if (v != null && n[_] != null && (p || a[_])) {
4286
+ if (U(v) && !ae(v) && !he(v)) {
4287
+ if (t) {
4288
+ s || (n[_] = v, e.updateDuringAnimation(t));
4289
+ continue;
4290
+ }
4291
+ oo(e, _, n[_], v, i, a && a[_], o, s);
4292
+ } else h.push(_);
4293
+ } else s || (n[_] = v, e.updateDuringAnimation(t), h.push(_));
4282
4294
  }
4283
4295
  var y = h.length;
4284
4296
  if (!d && y) for (var b = 0; b < m.length; b++) {
@@ -4438,9 +4450,9 @@ var go = function() {
4438
4450
  } } }), c || this.animation.start();
4439
4451
  }
4440
4452
  return e.prototype.add = function(e) {
4441
- this._disposed || !e || (this.storage.addRoot(e), e.addSelfToZr(this), this.refresh());
4453
+ !this._disposed && e && (this.storage.addRoot(e), e.addSelfToZr(this), this.refresh());
4442
4454
  }, e.prototype.remove = function(e) {
4443
- this._disposed || !e || (this.storage.delRoot(e), e.removeSelfFromZr(this), this.refresh());
4455
+ !this._disposed && e && (this.storage.delRoot(e), e.removeSelfFromZr(this), this.refresh());
4444
4456
  }, e.prototype.configLayer = function(e, t) {
4445
4457
  this._disposed || (this.painter.configLayer && this.painter.configLayer(e, t), this.refresh());
4446
4458
  }, e.prototype.setBackgroundColor = function(e) {
@@ -4785,7 +4797,7 @@ function Ms(e, t, n) {
4785
4797
  }
4786
4798
  function Ns(e, t, n, r) {
4787
4799
  F(r, function(i, a) {
4788
- if (!(!i || i.id == null)) {
4800
+ if (i && i.id != null) {
4789
4801
  var o = zs(i.id), s = n.get(o);
4790
4802
  if (s != null) {
4791
4803
  var c = e[s];
@@ -4796,7 +4808,7 @@ function Ns(e, t, n, r) {
4796
4808
  }
4797
4809
  function Ps(e, t) {
4798
4810
  F(t, function(n, r) {
4799
- if (!(!n || n.name == null)) for (var i = 0; i < e.length; i++) {
4811
+ if (n && n.name != null) for (var i = 0; i < e.length; i++) {
4800
4812
  var a = e[i].existing;
4801
4813
  if (!e[i].newOption && a && (a.id == null || n.id == null) && !Hs(n) && !Hs(a) && Rs("name", a, n)) {
4802
4814
  e[i].newOption = n, t[r] = null;
@@ -4895,13 +4907,15 @@ function Ks(e, t) {
4895
4907
  }
4896
4908
  function a(e, t) {
4897
4909
  var n = [];
4898
- for (var r in e) if (e.hasOwnProperty(r) && e[r] != null) if (t) n.push(+r);
4899
- else {
4900
- var i = a(e[r], !0);
4901
- i.length && n.push({
4902
- seriesId: r,
4903
- dataIndex: i
4904
- });
4910
+ for (var r in e) if (e.hasOwnProperty(r) && e[r] != null) {
4911
+ if (t) n.push(+r);
4912
+ else {
4913
+ var i = a(e[r], !0);
4914
+ i.length && n.push({
4915
+ seriesId: r,
4916
+ dataIndex: i
4917
+ });
4918
+ }
4905
4919
  }
4906
4920
  return n;
4907
4921
  }
@@ -5587,18 +5601,20 @@ var xl = [
5587
5601
  }, t.prototype._applyStateObj = function(t, n, r, i, a, o) {
5588
5602
  e.prototype._applyStateObj.call(this, t, n, r, i, a, o);
5589
5603
  var s = !(n && i), c = this.__inHover === 1, l;
5590
- if (n && n.style ? a ? i ? l = n.style : (l = this._mergeStyle(this.createStyle(), r.style), this._mergeStyle(l, n.style)) : (l = this._mergeStyle(this.createStyle(), i ? this.style : r.style), this._mergeStyle(l, n.style)) : s && (l = r.style), l) if (a) {
5591
- var u = this.style;
5592
- if (this.style = this.createStyle(s ? {} : u), s) for (var d = L(u), f = 0; f < d.length; f++) {
5593
- var p = d[f];
5594
- p in l && (l[p] = l[p], this.style[p] = u[p]);
5595
- }
5596
- for (var m = L(l), f = 0; f < m.length; f++) {
5597
- var p = m[f];
5598
- this.style[p] = this.style[p];
5599
- }
5600
- this._transitionState(t, { style: l }, o, this.getAnimationStyleProps());
5601
- } else c ? this._useHoverStyle(l) : this.useStyle(l);
5604
+ if (n && n.style ? a ? i ? l = n.style : (l = this._mergeStyle(this.createStyle(), r.style), this._mergeStyle(l, n.style)) : (l = this._mergeStyle(this.createStyle(), i ? this.style : r.style), this._mergeStyle(l, n.style)) : s && (l = r.style), l) {
5605
+ if (a) {
5606
+ var u = this.style;
5607
+ if (this.style = this.createStyle(s ? {} : u), s) for (var d = L(u), f = 0; f < d.length; f++) {
5608
+ var p = d[f];
5609
+ p in l && (l[p] = l[p], this.style[p] = u[p]);
5610
+ }
5611
+ for (var m = L(l), f = 0; f < m.length; f++) {
5612
+ var p = m[f];
5613
+ this.style[p] = this.style[p];
5614
+ }
5615
+ this._transitionState(t, { style: l }, o, this.getAnimationStyleProps());
5616
+ } else c ? this._useHoverStyle(l) : this.useStyle(l);
5617
+ }
5602
5618
  if (!c) for (var h = this.__inHover ? Sl : xl, f = 0; f < h.length; f++) {
5603
5619
  var p = h[f];
5604
5620
  n && n[p] != null ? this[p] = n[p] : s && r[p] != null && (this[p] = r[p]);
@@ -5773,8 +5789,7 @@ var ou = function() {
5773
5789
  }
5774
5790
  }, e.prototype.getBoundingRect = function() {
5775
5791
  Gl[0] = Gl[1] = ql[0] = ql[1] = Number.MAX_VALUE, Kl[0] = Kl[1] = Jl[0] = Jl[1] = -Number.MAX_VALUE;
5776
- var e = this.data, t = 0, n = 0, r = 0, i = 0, a;
5777
- for (a = 0; a < this._len;) {
5792
+ for (var e = this.data, t = 0, n = 0, r = 0, i = 0, a = 0; a < this._len;) {
5778
5793
  var o = e[a++], s = a === 1;
5779
5794
  switch (s && (t = e[a], n = e[a + 1], r = t, i = n), o) {
5780
5795
  case Hl.M:
@@ -6277,14 +6292,16 @@ var Ou = N({
6277
6292
  }, t.prototype._applyStateObj = function(t, n, r, i, a, o) {
6278
6293
  if (e.prototype._applyStateObj.call(this, t, n, r, i, a, o), this.__inHover !== 1) {
6279
6294
  var s = !(n && i), c;
6280
- if (n && n.shape ? a ? i ? c = n.shape : (c = M({}, r.shape), M(c, n.shape)) : (c = M({}, i ? this.shape : r.shape), M(c, n.shape)) : s && (c = r.shape), c) if (a) {
6281
- this.shape = M({}, this.shape);
6282
- for (var l = {}, u = L(c), d = 0; d < u.length; d++) {
6283
- var f = u[d];
6284
- typeof c[f] == "object" ? this.shape[f] = c[f] : l[f] = c[f];
6285
- }
6286
- this._transitionState(t, { shape: l }, o);
6287
- } else this.shape = c, this.dirtyShape();
6295
+ if (n && n.shape ? a ? i ? c = n.shape : (c = M({}, r.shape), M(c, n.shape)) : (c = M({}, i ? this.shape : r.shape), M(c, n.shape)) : s && (c = r.shape), c) {
6296
+ if (a) {
6297
+ this.shape = M({}, this.shape);
6298
+ for (var l = {}, u = L(c), d = 0; d < u.length; d++) {
6299
+ var f = u[d];
6300
+ typeof c[f] == "object" ? this.shape[f] = c[f] : l[f] = c[f];
6301
+ }
6302
+ this._transitionState(t, { shape: l }, o);
6303
+ } else this.shape = c, this.dirtyShape();
6304
+ }
6288
6305
  }
6289
6306
  }, t.prototype._mergeStates = function(t) {
6290
6307
  for (var n = e.prototype._mergeStates.call(this, t), r, i = 0; i < t.length; i++) {
@@ -6856,7 +6873,7 @@ function uf(e, t, n, r) {
6856
6873
  r && af(r);
6857
6874
  }
6858
6875
  }
6859
- if (e != null && !(!t || t === "none")) {
6876
+ if (e != null && t && t !== "none") {
6860
6877
  var o = i.getSeriesByIndex(e), s = o.coordinateSystem;
6861
6878
  s && s.master && (s = s.master);
6862
6879
  var c = [];
@@ -6883,7 +6900,7 @@ function df(e, t, n) {
6883
6900
  if (r) {
6884
6901
  Dd(r).isBlured = !0;
6885
6902
  var i = n.getViewOfComponentModel(r);
6886
- !i || !i.focusBlurEnabled || i.group.traverse(function(e) {
6903
+ i && i.focusBlurEnabled && i.group.traverse(function(e) {
6887
6904
  Bd(e);
6888
6905
  });
6889
6906
  }
@@ -7296,7 +7313,7 @@ function yp(e) {
7296
7313
  }
7297
7314
  function bp(e, t) {
7298
7315
  var n, r = mp(t.r, 0), i = mp(t.r0 || 0, 0), a = r > 0;
7299
- if (!(!a && !(i > 0))) {
7316
+ if (a || i > 0) {
7300
7317
  if (a || (r = i, i = 0), i > r) {
7301
7318
  var o = r;
7302
7319
  r = i, i = o;
@@ -8022,8 +8039,10 @@ function Km(e, t) {
8022
8039
  e.isGroup && (n = t(e)), n || e.traverse(t);
8023
8040
  }
8024
8041
  function qm(e, t) {
8025
- if (e) if (B(e)) for (var n = 0; n < e.length; n++) Km(e[n], t);
8026
- else Km(e, t);
8042
+ if (e) {
8043
+ if (B(e)) for (var n = 0; n < e.length; n++) Km(e[n], t);
8044
+ else Km(e, t);
8045
+ }
8027
8046
  }
8028
8047
  function Jm(e) {
8029
8048
  return !e || jo(e[1]) < Ym && jo(e[2]) < Ym || jo(e[0]) < Ym && jo(e[3]) < Ym;
@@ -8047,7 +8066,7 @@ function $m(e) {
8047
8066
  r(e), r(e.getTextContent()), r(e.getTextGuideLine());
8048
8067
  });
8049
8068
  function r(e) {
8050
- if (!(!e || e.isGroup)) {
8069
+ if (e && !e.isGroup) {
8051
8070
  var t = e.currentStates;
8052
8071
  if (t.length) for (var n = 0; n < t.length; n++) i(e.states[t[n]]);
8053
8072
  i(e);
@@ -9768,7 +9787,7 @@ function nv(e, t, n, r, i, a, o) {
9768
9787
  var s = t(a), c = s.paletteIdx || 0, l = s.paletteNameMap = s.paletteNameMap || {};
9769
9788
  if (l.hasOwnProperty(i)) return l[i];
9770
9789
  var u = o == null || !r ? n : tv(r, o);
9771
- if (u ||= n, !(!u || !u.length)) {
9790
+ if (u ||= n, u && u.length) {
9772
9791
  var d = u[c];
9773
9792
  return i && (l[i] = d), s.paletteIdx = (c + 1) % u.length, d;
9774
9793
  }
@@ -10076,7 +10095,7 @@ function vv(e, t, n) {
10076
10095
  }, i = !0;
10077
10096
  return F(e, function(e, t) {
10078
10097
  var n = t.match(hv);
10079
- if (!(!n || !n[1] || !n[2])) {
10098
+ if (n && n[1] && n[2]) {
10080
10099
  var a = n[1];
10081
10100
  yv(r[n[2].toLowerCase()], e, a) || (i = !1);
10082
10101
  }
@@ -11128,16 +11147,18 @@ var ob = function() {
11128
11147
  f = !0;
11129
11148
  }
11130
11149
  }
11131
- if (!f) if (i === 1) for (var h = 0; h < a; h++) {
11132
- var x = t.getRawIndex(h), g = d[r[0]][x];
11133
- (g >= l && g <= u || isNaN(g)) && (o[s++] = x);
11134
- }
11135
- else for (var h = 0; h < a; h++) {
11136
- for (var S = !0, x = t.getRawIndex(h), C = 0; C < i; C++) {
11137
- var w = r[C], g = d[w][x];
11138
- (g < e[w][0] || g > e[w][1]) && (S = !1);
11150
+ if (!f) {
11151
+ if (i === 1) for (var h = 0; h < a; h++) {
11152
+ var x = t.getRawIndex(h), g = d[r[0]][x];
11153
+ (g >= l && g <= u || isNaN(g)) && (o[s++] = x);
11154
+ }
11155
+ else for (var h = 0; h < a; h++) {
11156
+ for (var S = !0, x = t.getRawIndex(h), C = 0; C < i; C++) {
11157
+ var w = r[C], g = d[w][x];
11158
+ (g < e[w][0] || g > e[w][1]) && (S = !1);
11159
+ }
11160
+ S && (o[s++] = t.getRawIndex(h));
11139
11161
  }
11140
- S && (o[s++] = t.getRawIndex(h));
11141
11162
  }
11142
11163
  return s < a && (t._indices = o), t._count = s, t._extent = [], t._updateGetRawIdx(), t;
11143
11164
  }, e.prototype.map = function(e, t) {
@@ -11592,7 +11613,7 @@ function Nb(e, t, n, r, i) {
11592
11613
  }) : F(e, u);
11593
11614
  function u(e, t) {
11594
11615
  var n = a.getDimensionInfo(t);
11595
- !n || n.otherDims.tooltip === !1 || (o ? l.push(gb("nameValue", {
11616
+ n && n.otherDims.tooltip !== !1 && (o ? l.push(gb("nameValue", {
11596
11617
  markerType: "subItem",
11597
11618
  markerColor: i,
11598
11619
  name: n.displayName,
@@ -11740,7 +11761,7 @@ var Ib = "__universalTransitionEnabled", Lb = function(e) {
11740
11761
  return e ? e === !0 || e && e.enabled : !1;
11741
11762
  }, t.prototype._innerSelect = function(e, t) {
11742
11763
  var n, r, i = this.option, a = i.selectedMode, o = t.length;
11743
- if (!(!a || !o)) {
11764
+ if (a && o) {
11744
11765
  if (a === "series") i.selectedMap = "all";
11745
11766
  else if (a === "multiple") {
11746
11767
  U(i.selectedMap) || (i.selectedMap = {});
@@ -12897,7 +12918,7 @@ function LS(e, t, n, r, i) {
12897
12918
  }
12898
12919
  function RS(e, t, n) {
12899
12920
  var r = t.__image = Kc(n.image, t.__image, t, t.onload);
12900
- if (!(!r || !Jc(r))) {
12921
+ if (r && Jc(r)) {
12901
12922
  var i = n.x || 0, a = n.y || 0, o = t.getWidth(), s = t.getHeight(), c = r.width / r.height;
12902
12923
  if (o == null && s != null ? o = s * c : s == null && o != null ? s = o / c : o == null && s == null && (o = r.width, s = r.height), n.sWidth && n.sHeight) {
12903
12924
  var l = n.sx || 0, u = n.sy || 0;
@@ -12974,7 +12995,7 @@ function qS(e, t) {
12974
12995
  var JS = 1, YS = 2, XS = 3, ZS = 4;
12975
12996
  function QS(e) {
12976
12997
  var t = NS(e), n = jS(e);
12977
- return !(e.lineDash || !(t ^ +n) || t && typeof e.fill != "string" || n && typeof e.stroke != "string" || e.strokePercent < 1 || e.strokeOpacity < 1 || e.fillOpacity < 1);
12998
+ return !(e.lineDash || !(+t ^ n) || t && typeof e.fill != "string" || n && typeof e.stroke != "string" || e.strokePercent < 1 || e.strokeOpacity < 1 || e.fillOpacity < 1);
12978
12999
  }
12979
13000
  function $S(e, t) {
12980
13001
  t.batchFill && (t.batchFill = !1, e.fill()), t.batchStroke && (t.batchStroke = !1, e.stroke());
@@ -13011,7 +13032,7 @@ function nC(e, t) {
13011
13032
  function rC(e, t, n) {
13012
13033
  var r = t.getDisplayables(), i = t.getTemporalDisplayables();
13013
13034
  e.save();
13014
- var a = {
13035
+ for (var a = {
13015
13036
  prevElClipPaths: null,
13016
13037
  prevEl: null,
13017
13038
  allClipped: !1,
@@ -13019,8 +13040,7 @@ function rC(e, t, n) {
13019
13040
  viewHeight: n.viewHeight,
13020
13041
  inHover: n.inHover,
13021
13042
  beforeBrushParam: {}
13022
- }, o, s;
13023
- for (o = t.getCursor(), s = r.length; o < s; o++) {
13043
+ }, o = t.getCursor(), s = r.length; o < s; o++) {
13024
13044
  var c = r[o];
13025
13045
  c.beforeBrush && c.beforeBrush(n.beforeBrushParam), c.innerBeforeBrush(), tC(e, c, a), c.innerAfterBrush(), c.afterBrush && c.afterBrush(), a.prevEl = c;
13026
13046
  }
@@ -13631,14 +13651,17 @@ var YC, XC, ZC, QC, $C, ew, tw, nw, rw, iw, aw, ow, sw, cw, lw, uw, dw, fw, pw,
13631
13651
  var t = Bs(e, null);
13632
13652
  t != null && c.set(t, !0);
13633
13653
  })), a && a.eachComponent(o, function(t) {
13634
- if (!(c && c.get(t.id) != null)) if (jf(n)) if (t instanceof Lb) n.type === "highlight" && !n.notBlur && !t.get(["emphasis", "disabled"]) && ff(t, n, e._api);
13635
- else {
13636
- var r = pf(t.mainType, t.componentIndex, n.name, e._api), i = r.focusSelf, a = r.dispatchers;
13637
- n.type === "highlight" && i && !n.notBlur && df(t.mainType, t.componentIndex, e._api), a && F(a, function(e) {
13638
- n.type === "highlight" ? tf(e) : nf(e);
13639
- });
13654
+ if (!(c && c.get(t.id) != null)) {
13655
+ if (jf(n)) {
13656
+ if (t instanceof Lb) n.type === "highlight" && !n.notBlur && !t.get(["emphasis", "disabled"]) && ff(t, n, e._api);
13657
+ else {
13658
+ var r = pf(t.mainType, t.componentIndex, n.name, e._api), i = r.focusSelf, a = r.dispatchers;
13659
+ n.type === "highlight" && i && !n.notBlur && df(t.mainType, t.componentIndex, e._api), a && F(a, function(e) {
13660
+ n.type === "highlight" ? tf(e) : nf(e);
13661
+ });
13662
+ }
13663
+ } else Af(n) && t instanceof Lb && (gf(t, n, e._api), _f(t), dw(e));
13640
13664
  }
13641
- else Af(n) && t instanceof Lb && (gf(t, n, e._api), _f(t), dw(e));
13642
13665
  }, e), a && a.eachComponent(o, function(t) {
13643
13666
  c && c.get(t.id) != null || l(e[r === "series" ? "_chartsMap" : "_componentsMap"][t.__viewId]);
13644
13667
  }, e);
@@ -13667,10 +13690,12 @@ var YC, XC, ZC, QC, $C, ew, tw, nw, rw, iw, aw, ow, sw, cw, lw, uw, dw, fw, pw,
13667
13690
  n.eachComponent(function(a, o) {
13668
13691
  if (a !== "series") {
13669
13692
  var s = t.getViewOfComponentModel(o);
13670
- if (s && s.__alive) if (s.updateTransform) {
13671
- var c = s.updateTransform(o, n, r, e);
13672
- c && c.update && i.push(s);
13673
- } else i.push(s);
13693
+ if (s && s.__alive) {
13694
+ if (s.updateTransform) {
13695
+ var c = s.updateTransform(o, n, r, e);
13696
+ c && c.update && i.push(s);
13697
+ } else i.push(s);
13698
+ }
13674
13699
  }
13675
13700
  });
13676
13701
  var a = G();
@@ -16768,15 +16793,17 @@ function Lk(e, t, n, r) {
16768
16793
  }
16769
16794
  function Rk(e, t) {
16770
16795
  var n = t.smooth, r = t.points;
16771
- if (r) if (e.moveTo(r[0][0], r[0][1]), n > 0 && r.length >= 3) {
16772
- var i = nt(r[0], r[1]), a = nt(r[1], r[2]);
16773
- if (!i || !a) {
16774
- e.lineTo(r[1][0], r[1][1]), e.lineTo(r[2][0], r[2][1]);
16775
- return;
16776
- }
16777
- var o = Math.min(i, a) * n, s = ot([], r[1], r[0], o / i), c = ot([], r[1], r[2], o / a), l = ot([], s, c, .5);
16778
- e.bezierCurveTo(s[0], s[1], s[0], s[1], l[0], l[1]), e.bezierCurveTo(c[0], c[1], c[0], c[1], r[2][0], r[2][1]);
16779
- } else for (var u = 1; u < r.length; u++) e.lineTo(r[u][0], r[u][1]);
16796
+ if (r) {
16797
+ if (e.moveTo(r[0][0], r[0][1]), n > 0 && r.length >= 3) {
16798
+ var i = nt(r[0], r[1]), a = nt(r[1], r[2]);
16799
+ if (!i || !a) {
16800
+ e.lineTo(r[1][0], r[1][1]), e.lineTo(r[2][0], r[2][1]);
16801
+ return;
16802
+ }
16803
+ var o = Math.min(i, a) * n, s = ot([], r[1], r[0], o / i), c = ot([], r[1], r[2], o / a), l = ot([], s, c, .5);
16804
+ e.bezierCurveTo(s[0], s[1], s[0], s[1], l[0], l[1]), e.bezierCurveTo(c[0], c[1], c[0], c[1], r[2][0], r[2][1]);
16805
+ } else for (var u = 1; u < r.length; u++) e.lineTo(r[u][0], r[u][1]);
16806
+ }
16780
16807
  }
16781
16808
  function zk(e, t, n) {
16782
16809
  var r = e.getTextGuideLine(), i = e.getTextContent();
@@ -16941,7 +16968,7 @@ function tA(e) {
16941
16968
  function nA(e) {
16942
16969
  var t = [];
16943
16970
  e.sort(function(e, t) {
16944
- return !!t.suggestIgnore - +!!e.suggestIgnore || t.priority - e.priority;
16971
+ return +!!t.suggestIgnore - !!e.suggestIgnore || t.priority - e.priority;
16945
16972
  });
16946
16973
  function n(e) {
16947
16974
  if (!e.ignore) {
@@ -17516,22 +17543,24 @@ function ZA(e, t, n, r) {
17516
17543
  //#endregion
17517
17544
  //#region node_modules/.pnpm/zrender@6.1.0/node_modules/zrender/lib/svg/cssEmphasis.js
17518
17545
  function QA(e, t, n) {
17519
- if (!e.ignore) if (e.isSilent()) {
17520
- var r = { "pointer-events": "none" };
17521
- $A(r, t, n, !0);
17522
- } else {
17523
- var i = e.states.emphasis && e.states.emphasis.style ? e.states.emphasis.style : {}, a = i.fill;
17524
- if (!a) {
17525
- var o = e.style && e.style.fill, s = e.states.select && e.states.select.style && e.states.select.style.fill, c = e.currentStates.indexOf("select") >= 0 && s || o;
17526
- c && (a = ri(c));
17527
- }
17528
- var l = i.lineWidth;
17529
- if (l) {
17530
- var u = !i.strokeNoScale && e.transform ? e.transform[0] : 1;
17531
- l /= u;
17546
+ if (!e.ignore) {
17547
+ if (e.isSilent()) {
17548
+ var r = { "pointer-events": "none" };
17549
+ $A(r, t, n, !0);
17550
+ } else {
17551
+ var i = e.states.emphasis && e.states.emphasis.style ? e.states.emphasis.style : {}, a = i.fill;
17552
+ if (!a) {
17553
+ var o = e.style && e.style.fill, s = e.states.select && e.states.select.style && e.states.select.style.fill, c = e.currentStates.indexOf("select") >= 0 && s || o;
17554
+ c && (a = ri(c));
17555
+ }
17556
+ var l = i.lineWidth;
17557
+ if (l) {
17558
+ var u = !i.strokeNoScale && e.transform ? e.transform[0] : 1;
17559
+ l /= u;
17560
+ }
17561
+ var r = { cursor: "pointer" };
17562
+ a && (r.fill = a), i.stroke && (r.stroke = i.stroke), l && (r["stroke-width"] = l), $A(r, t, n, !0);
17532
17563
  }
17533
- var r = { cursor: "pointer" };
17534
- a && (r.fill = a), i.stroke && (r.stroke = i.stroke), l && (r["stroke-width"] = l), $A(r, t, n, !0);
17535
17564
  }
17536
17565
  }
17537
17566
  function $A(e, t, n, r) {
@@ -17604,7 +17633,7 @@ function fj(e) {
17604
17633
  }
17605
17634
  function pj(e, t) {
17606
17635
  var n = e.style, r = e.shape, i = dj[e.type], a = {}, o = t.animation, s = "path", c = e.style.strokePercent, l = t.compress && Si(e) || 4;
17607
- if (i && !t.willUpdate && !(i[1] && !i[1](r)) && !(o && fj(e)) && !(c < 1)) {
17636
+ if (i && !t.willUpdate && (!i[1] || i[1](r)) && !(o && fj(e)) && !(c < 1)) {
17608
17637
  s = e.type;
17609
17638
  var u = 10 ** l;
17610
17639
  i[0](r, a, u);
@@ -17935,25 +17964,27 @@ function Wj(e) {
17935
17964
  }
17936
17965
  function Gj(e, t, n, r) {
17937
17966
  var i;
17938
- if (n && n !== "none") if (i = PA("rect", "bg", {
17939
- width: e,
17940
- height: t,
17941
- x: "0",
17942
- y: "0"
17943
- }), bi(n)) vj({ fill: n }, i.attrs, "fill", r);
17944
- else if (_i(n)) yj({
17945
- style: { fill: n },
17946
- dirty: Fe,
17947
- getBoundingRect: function() {
17948
- return {
17949
- width: e,
17950
- height: t
17951
- };
17967
+ if (n && n !== "none") {
17968
+ if (i = PA("rect", "bg", {
17969
+ width: e,
17970
+ height: t,
17971
+ x: "0",
17972
+ y: "0"
17973
+ }), bi(n)) vj({ fill: n }, i.attrs, "fill", r);
17974
+ else if (_i(n)) yj({
17975
+ style: { fill: n },
17976
+ dirty: Fe,
17977
+ getBoundingRect: function() {
17978
+ return {
17979
+ width: e,
17980
+ height: t
17981
+ };
17982
+ }
17983
+ }, i.attrs, "fill", r);
17984
+ else {
17985
+ var a = ai(n), o = a.color, s = a.opacity;
17986
+ i.attrs.fill = o, s < 1 && (i.attrs["fill-opacity"] = s);
17952
17987
  }
17953
- }, i.attrs, "fill", r);
17954
- else {
17955
- var a = ai(n), o = a.color, s = a.opacity;
17956
- i.attrs.fill = o, s < 1 && (i.attrs["fill-opacity"] = s);
17957
17988
  }
17958
17989
  return i;
17959
17990
  }
@@ -18006,28 +18037,30 @@ var Xj = function(e) {
18006
18037
  if (this.__firstTimePaint) return this.__firstTimePaint = !1, null;
18007
18038
  var i = [], a = this.maxRepaintRectCount, o = !1, s = new J(0, 0, 0, 0);
18008
18039
  function c(e) {
18009
- if (!(!e.isFinite() || e.isZero())) if (i.length === 0) {
18010
- var t = new J(0, 0, 0, 0);
18011
- t.copy(e), i.push(t);
18012
- } else {
18013
- for (var n = !1, r = Infinity, c = 0, l = 0; l < i.length; ++l) {
18014
- var u = i[l];
18015
- if (u.intersect(e)) {
18016
- var d = new J(0, 0, 0, 0);
18017
- d.copy(u), d.union(e), i[l] = d, n = !0;
18018
- break;
18019
- }
18020
- if (o) {
18021
- s.copy(e), s.union(u);
18022
- var f = e.width * e.height, p = u.width * u.height, m = s.width * s.height - f - p;
18023
- m < r && (r = m, c = l);
18024
- }
18025
- }
18026
- if (o && (i[c].union(e), n = !0), !n) {
18040
+ if (e.isFinite() && !e.isZero()) {
18041
+ if (i.length === 0) {
18027
18042
  var t = new J(0, 0, 0, 0);
18028
18043
  t.copy(e), i.push(t);
18044
+ } else {
18045
+ for (var n = !1, r = Infinity, c = 0, l = 0; l < i.length; ++l) {
18046
+ var u = i[l];
18047
+ if (u.intersect(e)) {
18048
+ var d = new J(0, 0, 0, 0);
18049
+ d.copy(u), d.union(e), i[l] = d, n = !0;
18050
+ break;
18051
+ }
18052
+ if (o) {
18053
+ s.copy(e), s.union(u);
18054
+ var f = e.width * e.height, p = u.width * u.height, m = s.width * s.height - f - p;
18055
+ m < r && (r = m, c = l);
18056
+ }
18057
+ }
18058
+ if (o && (i[c].union(e), n = !0), !n) {
18059
+ var t = new J(0, 0, 0, 0);
18060
+ t.copy(e), i.push(t);
18061
+ }
18062
+ o ||= i.length >= a;
18029
18063
  }
18030
- o ||= i.length >= a;
18031
18064
  }
18032
18065
  }
18033
18066
  for (var l = Yj(this), u = l.startIdx; u < l.endIdx; ++u) {
@@ -18222,7 +18255,7 @@ var dM = 1, fM = 2, pM = 4, mM = dM | pM, hM = function() {
18222
18255
  var a = !1;
18223
18256
  if (cM(i, function(e) {
18224
18257
  (e.drawIdx < e.endIdx || e.notClearIdx >= 0) && (a = !0);
18225
- }), !(!a && !i.__dirty)) {
18258
+ }), a || i.__dirty) {
18226
18259
  var o = n._opts.useDirtyRect && !Jj(i) ? i.createRepaintRects(e, t, n._width, n._height) : null, s = n._i.layerStack[0], c = !0;
18227
18260
  if (i.__dirty) {
18228
18261
  c = !1, i.__dirty = !1;
@@ -18239,12 +18272,13 @@ var dM = 1, fM = 2, pM = 4, mM = dM | pM, hM = function() {
18239
18272
  }), r;
18240
18273
  }, e.prototype._paintPerCursor = function(e, t, n, r, i) {
18241
18274
  var a = e.ctx;
18242
- if (r) if (!r.length) t.drawIdx = t.endIdx;
18243
- else for (var o = this.dpr, s = 0; s < r.length; ++s) {
18244
- var c = r[s];
18245
- a.save(), a.beginPath(), a.rect(c.x * o, c.y * o, c.width * o, c.height * o), a.clip(), this._paintPerCursorInRect(e, t, n, c, i), a.restore();
18246
- }
18247
- else a.save(), this._paintPerCursorInRect(e, t, n, null, i), a.restore();
18275
+ if (r) {
18276
+ if (!r.length) t.drawIdx = t.endIdx;
18277
+ else for (var o = this.dpr, s = 0; s < r.length; ++s) {
18278
+ var c = r[s];
18279
+ a.save(), a.beginPath(), a.rect(c.x * o, c.y * o, c.width * o, c.height * o), a.clip(), this._paintPerCursorInRect(e, t, n, c, i), a.restore();
18280
+ }
18281
+ } else a.save(), this._paintPerCursorInRect(e, t, n, null, i), a.restore();
18248
18282
  return t.drawIdx >= t.endIdx;
18249
18283
  }, e.prototype._paintPerCursorInRect = function(e, t, n, r, i) {
18250
18284
  for (var a = {
@@ -18285,10 +18319,12 @@ var dM = 1, fM = 2, pM = 4, mM = dM | pM, hM = function() {
18285
18319
  if (u > 0 && (c = lM(i, o[u - 1].zl)[o[u - 1].zl2]), o.splice(u, 0, {
18286
18320
  zl: t,
18287
18321
  zl2: n
18288
- }), lM(i, t)[n] = e, !r && !e.virtual) if (c) {
18289
- var d = c.dom;
18290
- d.nextSibling ? s.insertBefore(e.dom, d.nextSibling) : s.appendChild(e.dom);
18291
- } else s.firstChild ? s.insertBefore(e.dom, s.firstChild) : s.appendChild(e.dom);
18322
+ }), lM(i, t)[n] = e, !r && !e.virtual) {
18323
+ if (c) {
18324
+ var d = c.dom;
18325
+ d.nextSibling ? s.insertBefore(e.dom, d.nextSibling) : s.appendChild(e.dom);
18326
+ } else s.firstChild ? s.insertBefore(e.dom, s.firstChild) : s.appendChild(e.dom);
18327
+ }
18292
18328
  e.painter ||= this;
18293
18329
  }
18294
18330
  }, e.prototype.eachLayer = function(e, t) {
@@ -18328,10 +18364,12 @@ var dM = 1, fM = 2, pM = 4, mM = dM | pM, hM = function() {
18328
18364
  k("ZLevel " + d + " has been used by unknown layer " + o.id);
18329
18365
  continue;
18330
18366
  }
18331
- if ((!s || f !== s.key) && (s = sM(o, f), !s.used)) if (s.used = !0, !t && s.first === i.id) {
18332
- var m = l - s.startIdx;
18333
- s.startIdx = l, s.drawIdx += m, s.endIdx += m;
18334
- } else o.__dirty = !0, s.first = i.id, s.startIdx = s.drawIdx = l, s.endIdx = l + 1;
18367
+ if ((!s || f !== s.key) && (s = sM(o, f), !s.used)) {
18368
+ if (s.used = !0, !t && s.first === i.id) {
18369
+ var m = l - s.startIdx;
18370
+ s.startIdx = l, s.drawIdx += m, s.endIdx += m;
18371
+ } else o.__dirty = !0, s.first = i.id, s.startIdx = s.drawIdx = l, s.endIdx = l + 1;
18372
+ }
18335
18373
  s.endIdxNew = l + 1, i.__dirty & 1 && !i.__inHover && ((!f || !i.notClear && l < s.drawIdx) && (o.__dirty = !0), f && i.notClear && s.notClearIdx < 0 && (s.notClearIdx = l));
18336
18374
  }
18337
18375
  uM(n._i, function(t) {
@@ -19126,7 +19164,7 @@ function cN(e, t) {
19126
19164
  }
19127
19165
  function lN(e, t, n) {
19128
19166
  var r = e.getVisual("visualMeta");
19129
- if (!(!r || !r.length || !e.count()) && t.type === "cartesian2d") {
19167
+ if (r && r.length && e.count() && t.type === "cartesian2d") {
19130
19168
  for (var i, a, o = r.length - 1; o >= 0; o--) {
19131
19169
  var s = e.getDimensionInfo(r[o].dimension);
19132
19170
  if (i = s && s.coordDim, i === "x" || i === "y") {
@@ -19162,7 +19200,7 @@ function lN(e, t, n) {
19162
19200
  }
19163
19201
  function uN(e, t, n) {
19164
19202
  var r = e.get("showAllSymbol"), i = r === "auto";
19165
- if (!(r && !i)) {
19203
+ if (!r || i) {
19166
19204
  var a = n.getAxesByScale("ordinal")[0];
19167
19205
  if (a && !(i && dN(a, t))) {
19168
19206
  var o = t.mapDimension(a.dim), s = {};
@@ -19376,12 +19414,14 @@ var vN = function(e) {
19376
19414
  var s = e;
19377
19415
  if (s) {
19378
19416
  var d = [e.x, e.y], f = void 0, p = void 0, m = void 0;
19379
- if (n) if (i) {
19380
- var h = n, g = t.pointToCoord(d);
19381
- r ? (f = h.startAngle, p = h.endAngle, m = -g[1] / 180 * Math.PI) : (f = h.r0, p = h.r, m = g[0]);
19382
- } else {
19383
- var _ = n;
19384
- r ? (f = _.x, p = _.x + _.width, m = e.x) : (f = _.y + _.height, p = _.y, m = e.y);
19417
+ if (n) {
19418
+ if (i) {
19419
+ var h = n, g = t.pointToCoord(d);
19420
+ r ? (f = h.startAngle, p = h.endAngle, m = -g[1] / 180 * Math.PI) : (f = h.r0, p = h.r, m = g[0]);
19421
+ } else {
19422
+ var _ = n;
19423
+ r ? (f = _.x, p = _.x + _.width, m = e.x) : (f = _.y + _.height, p = _.y, m = e.y);
19424
+ }
19385
19425
  }
19386
19426
  var v = p === f ? 0 : (m - f) / (p - f);
19387
19427
  o && (v = 1 - v);
@@ -19696,7 +19736,7 @@ function UN(e, t, n, r) {
19696
19736
  var i = n.axis, a = t.ensureRecord(n), o = [], s, c = pP(e.axisName) && uD(e.nameLocation);
19697
19737
  F(r, function(e) {
19698
19738
  var t = qk(e);
19699
- if (!(!t || t.label.ignore)) {
19739
+ if (t && !t.label.ignore) {
19700
19740
  o.push(t);
19701
19741
  var n = a.transGroup;
19702
19742
  c && (n.transform ? Zt(WN, n.transform) : Gt(WN), t.transform && qt(WN, WN, t.transform), J.copy(GN, t.localRect), GN.applyTransform(WN), s ? s.union(GN) : J.copy(s = new J(0, 0, 0, 0), GN));
@@ -19935,7 +19975,7 @@ function eP(e, t, n) {
19935
19975
  if (cD(r)) return;
19936
19976
  function a(e, a, o) {
19937
19977
  var s = qk(t[a]), c = qk(t[o]), l = r.scale;
19938
- if (!(!s || !c)) {
19978
+ if (s && c) {
19939
19979
  if (e == null) {
19940
19980
  if (!n && i) return;
19941
19981
  var u = BN(s.label).labelInfo.tick;
@@ -20016,7 +20056,7 @@ function iP(e, t, n, r) {
20016
20056
  }
20017
20057
  function aP(e, t, n, r, i) {
20018
20058
  var a = r.axis, o = r.getModel("minorTick");
20019
- if (!(!e.showMinorTicks || a.scale.isBlank())) {
20059
+ if (e.showMinorTicks && !a.scale.isBlank()) {
20020
20060
  var s = a.getMinorTicksCoords();
20021
20061
  if (s.length) for (var c = o.getModel("lineStyle"), l = i * o.get("length"), u = N(c.getLineStyle(), N(r.getModel("axisTick").getLineStyle(), { stroke: r.get([
20022
20062
  "axisLine",
@@ -20722,7 +20762,7 @@ var rF = Math.max, iF = Math.min, aF = function(e) {
20722
20762
  }
20723
20763
  a.diff(o).add(function(t) {
20724
20764
  var n = a.getItemModel(t), r = mF[s.type](a, t, n);
20725
- if (r && (h && S(t), !(!a.hasValue(t) || !pF[s.type](r)))) {
20765
+ if (r && (h && S(t), a.hasValue(t) && pF[s.type](r))) {
20726
20766
  var o = !1;
20727
20767
  f && (o = oF[s.type](p, r));
20728
20768
  var g = sF[s.type](e, a, t, r, l, u, c.model, !1, m);
@@ -21117,7 +21157,7 @@ function kF(e) {
21117
21157
  seriesType: e,
21118
21158
  reset: function(e, t) {
21119
21159
  var n = t.findComponents({ mainType: "legend" });
21120
- if (!(!n || !n.length)) {
21160
+ if (n && n.length) {
21121
21161
  var r = e.getData();
21122
21162
  r.filterSelf(function(e) {
21123
21163
  for (var t = r.getName(e), i = 0; i < n.length; i++) if (!n[i].isSelected(t)) return !1;
@@ -21482,22 +21522,24 @@ function KF(e, t) {
21482
21522
  r0: c,
21483
21523
  r: v ? Bo(e, b, [c, s]) : s
21484
21524
  }), O = i;
21485
- }), E < UF && m) if (E <= .001) {
21486
- var k = T / m;
21487
- n.each(r, function(e, t) {
21525
+ }), E < UF && m) {
21526
+ if (E <= .001) {
21527
+ var k = T / m;
21528
+ n.each(r, function(e, t) {
21529
+ if (!isNaN(e)) {
21530
+ var r = n.getItemLayout(t);
21531
+ r.angle = k;
21532
+ var i = 0, a = 0;
21533
+ k < f ? (i = u + x * (t + 1 / 2) * k, a = i) : (i = u + x * t * k + C, a = u + x * (t + 1) * k - C), r.startAngle = i, r.endAngle = a;
21534
+ }
21535
+ });
21536
+ } else g = E / D, O = u, n.each(r, function(e, t) {
21488
21537
  if (!isNaN(e)) {
21489
- var r = n.getItemLayout(t);
21490
- r.angle = k;
21491
- var i = 0, a = 0;
21492
- k < f ? (i = u + x * (t + 1 / 2) * k, a = i) : (i = u + x * t * k + C, a = u + x * (t + 1) * k - C), r.startAngle = i, r.endAngle = a;
21538
+ var r = n.getItemLayout(t), i = r.angle === p ? p : e * g, a = 0, o = 0;
21539
+ i < f ? (a = O + x * i / 2, o = a) : (a = O + C, o = O + x * i - C), r.startAngle = a, r.endAngle = o, O += x * i;
21493
21540
  }
21494
21541
  });
21495
- } else g = E / D, O = u, n.each(r, function(e, t) {
21496
- if (!isNaN(e)) {
21497
- var r = n.getItemLayout(t), i = r.angle === p ? p : e * g, a = 0, o = 0;
21498
- i < f ? (a = O + x * i / 2, o = a) : (a = O + C, o = O + x * i - C), r.startAngle = a, r.endAngle = o, O += x * i;
21499
- }
21500
- });
21542
+ }
21501
21543
  });
21502
21544
  }
21503
21545
  var qF = Js(), JF = function(e) {
@@ -21683,7 +21725,7 @@ var QF = function(e) {
21683
21725
  }
21684
21726
  for (this._ctx = null, l = this._off; l < n.length;) {
21685
21727
  var u = n[l++], d = n[l++];
21686
- isNaN(u) || isNaN(d) || c && !c.contain(u, d) || (a.x = u - r[0] / 2, a.y = d - r[1] / 2, a.width = r[0], a.height = r[1], i.buildPath(e, a, !0));
21728
+ isNaN(u) || isNaN(d) || (!c || c.contain(u, d)) && (a.x = u - r[0] / 2, a.y = d - r[1] / 2, a.width = r[0], a.height = r[1], i.buildPath(e, a, !0));
21687
21729
  }
21688
21730
  this.incremental && (this._off = l, this.notClear = !0);
21689
21731
  }, t.prototype.afterBrush = function() {
@@ -21691,7 +21733,7 @@ var QF = function(e) {
21691
21733
  if (r) {
21692
21734
  for (a = this._off; a < t.length;) {
21693
21735
  var o = t[a++], s = t[a++];
21694
- isNaN(o) || isNaN(s) || i && !i.contain(o, s) || r.fillRect(o - n[0] / 2, s - n[1] / 2, n[0], n[1]);
21736
+ isNaN(o) || isNaN(s) || (!i || i.contain(o, s)) && r.fillRect(o - n[0] / 2, s - n[1] / 2, n[0], n[1]);
21695
21737
  }
21696
21738
  this.incremental && (this._off = a, this.notClear = !0);
21697
21739
  }
@@ -22009,9 +22051,9 @@ var hI = function(e) {
22009
22051
  return t.prototype.calcAffineTransform = function() {
22010
22052
  this._transform = this._invTransform = null;
22011
22053
  var e = this.getAxis("x").scale, t = this.getAxis("y").scale;
22012
- if (!(!mI(e) || !mI(t))) {
22054
+ if (mI(e) && mI(t)) {
22013
22055
  var n = uE(e, null), r = uE(t, null), i = this.dataToPoint([n[0], r[0]]), a = this.dataToPoint([n[1], r[1]]), o = n[1] - n[0], s = r[1] - r[0];
22014
- if (!(!o || !s)) {
22056
+ if (o && s) {
22015
22057
  var c = (a[0] - i[0]) / o, l = (a[1] - i[1]) / s, u = i[0] - n[0] * c, d = i[1] - r[0] * l, f = this._transform = [
22016
22058
  c,
22017
22059
  0,
@@ -22425,7 +22467,7 @@ function FI(e, t, n) {
22425
22467
  }
22426
22468
  function p(r, s, u) {
22427
22469
  var d = u.model.getModel("axisPointer", i), f = d.get("show");
22428
- if (!(!f || f === "auto" && !r && !UI(d))) {
22470
+ if (f && (f !== "auto" || r || UI(d))) {
22429
22471
  s ??= d.get("triggerTooltip"), d = r ? II(u, l, i, t, r, s) : d;
22430
22472
  var p = d.get("snap"), m = d.get("triggerEmphasis"), h = WI(u.model), g = s || p || u.type === "category", _ = e.axesInfo[h] = {
22431
22473
  key: h,
@@ -22475,7 +22517,7 @@ function II(e, t, n, r, i, a) {
22475
22517
  function LI(e, t) {
22476
22518
  t.eachSeries(function(t) {
22477
22519
  var n = t.coordinateSystem, r = t.get(["tooltip", "trigger"], !0), i = t.get(["tooltip", "show"], !0);
22478
- !n || !n.model || r === "none" || r === !1 || r === "item" || i === !1 || t.get(["axisPointer", "show"], !0) === !1 || F(e.coordSysAxesInfo[WI(n.model)], function(e) {
22520
+ n && n.model && r !== "none" && r !== !1 && r !== "item" && i !== !1 && t.get(["axisPointer", "show"], !0) !== !1 && F(e.coordSysAxesInfo[WI(n.model)], function(e) {
22479
22521
  var r = e.axis;
22480
22522
  n.getAxis(r.dim) === r && (e.seriesModels.push(t), e.seriesDataCount ??= 0, e.seriesDataCount += t.getData().count());
22481
22523
  });
@@ -22807,7 +22849,7 @@ function pL() {
22807
22849
  var n = t.getBaseAxis && t.getBaseAxis();
22808
22850
  if (n && sL(e, n)) {
22809
22851
  var r = n.dim, i = n.orient, a = i === "horizontal" && n.type !== "category" || i === "vertical" && n.type === "category", o = r === "y" || r === "single" && a, s = r === "x" || r === "single" && !a;
22810
- if (!(!o && !s)) return { progress: function(e, t) {
22852
+ if (o || s) return { progress: function(e, t) {
22811
22853
  for (var r = t.getLayout("points"), i = !!r, a = e.start; a < e.end; a++) {
22812
22854
  var c = i ? (a - e.start) * 2 : -1, l = i ? [r[c], r[c + 1]] : t.getItemLayout(a);
22813
22855
  if (l) {
@@ -23387,7 +23429,7 @@ var VL = function(e) {
23387
23429
  }, t.prototype._mousewheelHandler = function(e) {
23388
23430
  if (!HL(e)) {
23389
23431
  var t = XL("zoomOnMouseWheel", e, this._opt), n = XL("moveOnMouseWheel", e, this._opt), r = e.wheelDelta, i = Math.abs(r), a = e.offsetX, o = e.offsetY;
23390
- if (!(r === 0 || !t && !n)) {
23432
+ if (r !== 0 && (t || n)) {
23391
23433
  if (t) {
23392
23434
  var s = i > 3 ? 1.4 : i > 1 ? 1.2 : 1.1, c = r > 0 ? s : 1 / s;
23393
23435
  this._checkTriggerMoveZoom(this, "zoom", "zoomOnMouseWheel", e, {
@@ -24050,7 +24092,7 @@ for (var OR = [126, 25], kR = "南海诸岛", AR = [
24050
24092
  [1, 3.5],
24051
24093
  [0, 3.5]
24052
24094
  ]
24053
- ], jR = 0; jR < AR.length; jR++) for (var MR = 0; MR < AR[jR].length; MR++) AR[jR][MR][0] /= 10.5, AR[jR][MR][1] /= -10.5 / .75, AR[jR][MR][0] += OR[0], AR[jR][MR][1] += OR[1];
24095
+ ], jR = 0; jR < AR.length; jR++) for (var MR = 0; MR < AR[jR].length; MR++) AR[jR][MR][0] /= 10.5, AR[jR][MR][1] /= -14, AR[jR][MR][0] += OR[0], AR[jR][MR][1] += OR[1];
24054
24096
  function NR(e, t) {
24055
24097
  if (e === "china") {
24056
24098
  for (var n = 0; n < t.length; n++) if (t[n].name === kR) return;
@@ -24076,7 +24118,7 @@ function FR(e, t) {
24076
24118
  var n = PR[t.name];
24077
24119
  if (n) {
24078
24120
  var r = t.getCenter();
24079
- r[0] += n[0] / 10.5, r[1] += -n[1] / (10.5 / .75), t.setCenter(r);
24121
+ r[0] += n[0] / 10.5, r[1] += -n[1] / 14, t.setCenter(r);
24080
24122
  }
24081
24123
  }
24082
24124
  }
@@ -24811,7 +24853,7 @@ var fB = function(e) {
24811
24853
  t.each(t.mapDimension("value"), function(r, i) {
24812
24854
  if (!isNaN(r)) {
24813
24855
  var a = t.getItemLayout(i);
24814
- if (!(!a || !a.point)) {
24856
+ if (a && a.point) {
24815
24857
  var o = a.point, s = a.offset, c = new rp({
24816
24858
  style: { fill: e.getData().getVisual("style").fill },
24817
24859
  shape: {
@@ -25178,10 +25220,10 @@ function CB(e) {
25178
25220
  update: "updateTransform"
25179
25221
  }, function(e, t, n) {
25180
25222
  var r = e.componentType || (e.geoId != null || e.geoName != null || e.geoIndex != null ? "geo" : "series"), i = r === dd;
25181
- if (!(r !== "geo" && !i)) {
25223
+ if (r === "geo" || i) {
25182
25224
  var a = i ? "map" : null;
25183
25225
  t.eachComponent(tc(e, r, a), function(r) {
25184
- i && !lB(r) || (Tz(e, r, i ? r.seriesGroup.r : null), Dz(e, r, t, n));
25226
+ (!i || lB(r)) && (Tz(e, r, i ? r.seriesGroup.r : null), Dz(e, r, t, n));
25185
25227
  });
25186
25228
  }
25187
25229
  });
@@ -25191,13 +25233,13 @@ function CB(e) {
25191
25233
  var wB = Tc("map", TB);
25192
25234
  function TB(e) {
25193
25235
  F(dB(e), function(t, n) {
25194
- if (!(!uB(t) || !cB(n))) {
25236
+ if (uB(t) && cB(n)) {
25195
25237
  var r = {};
25196
25238
  F(t.f, function(t) {
25197
25239
  var n = t.coordinateSystem, i = t.originalData;
25198
25240
  t.get("showLegendSymbol") && e.getComponent("legend") && i.each(i.mapDimension("value"), function(e, t) {
25199
25241
  var a = i.getName(t), o = n.getRegion(a);
25200
- if (!(!o || isNaN(e))) {
25242
+ if (o && !isNaN(e)) {
25201
25243
  var s = r[a] || 0, c = n.dataToPoint(o.getCenter());
25202
25244
  r[a] = s + 1, i.setItemLayout(t, {
25203
25245
  point: c,
@@ -25764,7 +25806,7 @@ function fV(e, t, n, r, i, a, o, s) {
25764
25806
  childPoints: _
25765
25807
  } }, e);
25766
25808
  }
25767
- h && !(l === "polyline" && !t.isExpand) && (h.useStyle(N({
25809
+ h && (l !== "polyline" || t.isExpand) && (h.useStyle(N({
25768
25810
  strokeNoScale: !0,
25769
25811
  fill: null
25770
25812
  }, m)), Tf(h, c, "lineStyle"), Qd(h), s.add(h));
@@ -26152,7 +26194,7 @@ var jV = 8, MV = 8, NV = 5, PV = function() {
26152
26194
  }
26153
26195
  return e.prototype.render = function(e, t, n, r) {
26154
26196
  var i = e.getModel("breadcrumb"), a = this.group;
26155
- if (a.removeAll(), !(!i.get("show") || !n)) {
26197
+ if (a.removeAll(), i.get("show") && n) {
26156
26198
  var o = i.getModel("itemStyle"), s = i.getModel("emphasis"), c = o.getModel("textStyle"), l = s.getModel(["itemStyle", "textStyle"]), u = x_(e, t).refContainer, d = {
26157
26199
  left: i.get("left"),
26158
26200
  right: i.get("right"),
@@ -27072,7 +27114,7 @@ var RH = "itemStyle", zH = Js(), BH = {
27072
27114
  };
27073
27115
  function VH(e, t, n, r) {
27074
27116
  var i = e.getModel(), a = e.getLayout(), o = e.hostTree.data;
27075
- if (!(!a || a.invisible || !a.isInView)) {
27117
+ if (a && !a.invisible && a.isInView) {
27076
27118
  var s = i.getModel(RH), c = HH(s, t, r), l = o.ensureUniqueItemVisual(e.dataIndex, "style"), u = s.get("borderColor"), d = s.get("borderColorSaturation"), f;
27077
27119
  d != null && (f = UH(c), u = WH(d, f)), l.stroke = u;
27078
27120
  var p = e.viewChildren;
@@ -27112,7 +27154,7 @@ function GH(e, t) {
27112
27154
  if (n != null && n !== "none") return n;
27113
27155
  }
27114
27156
  function KH(e, t, n, r, i, a) {
27115
- if (!(!a || !a.length)) {
27157
+ if (a && a.length) {
27116
27158
  var o = qH(t, "color") || i.color != null && i.color !== "none" && (qH(t, "colorAlpha") || qH(t, "colorSaturation"));
27117
27159
  if (o) {
27118
27160
  var s = t.get("visualMin"), c = t.get("visualMax"), l = n.dataExtent.slice();
@@ -27173,7 +27215,7 @@ var ZH = function() {
27173
27215
  return this._nodesMap[XH(e)];
27174
27216
  }, e.prototype.addEdge = function(e, t, n) {
27175
27217
  var r = this._nodesMap, i = this._edgesMap;
27176
- if (de(e) && (e = this.nodes[e]), de(t) && (t = this.nodes[t]), e instanceof QH || (e = r[XH(e)]), t instanceof QH || (t = r[XH(t)]), !(!e || !t)) {
27218
+ if (de(e) && (e = this.nodes[e]), de(t) && (t = this.nodes[t]), e instanceof QH || (e = r[XH(e)]), t instanceof QH || (t = r[XH(t)]), e && t) {
27177
27219
  var a = e.id + "-" + t.id, o = new $H(e, t, n);
27178
27220
  return o.hostGraph = this, this._directed && (e.outEdges.push(o), t.inEdges.push(o)), e.edges.push(o), e !== t && t.edges.push(o), this.edges.push(o), i[a] = o, o;
27179
27221
  }
@@ -27764,48 +27806,50 @@ var NU = Tc(pU, PU);
27764
27806
  function PU(e) {
27765
27807
  e.eachSeriesByType(pU, function(e) {
27766
27808
  var t = e.coordinateSystem;
27767
- if (!(t && t.type !== "view")) if (e.get("layout") === "force") {
27768
- var n = e.preservedPoints || {}, r = e.getGraph(), i = r.data, a = r.edgeData, o = e.getModel("force"), s = o.get("initLayout");
27769
- e.preservedPoints ? i.each(function(e) {
27770
- var t = i.getId(e);
27771
- i.setItemLayout(e, n[t] || [NaN, NaN]);
27772
- }) : !s || s === "none" ? vU(e) : s === "circular" && EU(e, "value");
27773
- var c = i.getDataExtent("value"), l = a.getDataExtent("value"), u = o.get("repulsion"), d = o.get("edgeLength"), f = B(u) ? u : [u, u], p = B(d) ? d : [d, d];
27774
- p = [p[1], p[0]];
27775
- var m = i.mapArray("value", function(e, t) {
27776
- var n = i.getItemLayout(t), r = Bo(e, c, f);
27777
- return isNaN(r) && (r = (f[0] + f[1]) / 2), {
27778
- w: r,
27779
- rep: r,
27780
- fixed: i.getItemModel(t).get("fixed"),
27781
- p: !n || isNaN(n[0]) || isNaN(n[1]) ? null : n
27782
- };
27783
- }), h = MU(m, a.mapArray("value", function(t, n) {
27784
- var i = r.getEdgeByIndex(n), a = Bo(t, l, p);
27785
- isNaN(a) && (a = (p[0] + p[1]) / 2);
27786
- var o = i.getModel(), s = be(i.getModel().get(["lineStyle", "curveness"]), -fU(i, e, n, !0), 0);
27787
- return {
27788
- n1: m[i.node1.dataIndex],
27789
- n2: m[i.node2.dataIndex],
27790
- d: a,
27791
- curveness: s,
27792
- ignoreForceLayout: o.get("ignoreForceLayout")
27793
- };
27794
- }), {
27795
- rect: t.getBoundingRect(),
27796
- gravity: o.get("gravity"),
27797
- friction: o.get("friction")
27798
- });
27799
- h.beforeStep(function(e, t) {
27800
- for (var n = 0, i = e.length; n < i; n++) e[n].fixed && Be(e[n].p, r.getNodeByIndex(n).getLayout());
27801
- }), h.afterStep(function(e, t, a) {
27802
- for (var o = 0, s = e.length; o < s; o++) e[o].fixed || r.getNodeByIndex(o).setLayout(e[o].p), n[i.getId(o)] = e[o].p;
27803
- for (var o = 0, s = t.length; o < s; o++) {
27804
- var c = t[o], l = r.getEdgeByIndex(o), u = c.n1.p, d = c.n2.p, f = l.getLayout();
27805
- f = f ? f.slice() : [], f[0] = f[0] || [], f[1] = f[1] || [], Be(f[0], u), Be(f[1], d), +c.curveness && (f[2] = [(u[0] + d[0]) / 2 - (u[1] - d[1]) * c.curveness, (u[1] + d[1]) / 2 - (d[0] - u[0]) * c.curveness]), l.setLayout(f);
27806
- }
27807
- }), e.forceLayout = h, e.preservedPoints = n, h.step();
27808
- } else e.forceLayout = null;
27809
+ if (!(t && t.type !== "view")) {
27810
+ if (e.get("layout") === "force") {
27811
+ var n = e.preservedPoints || {}, r = e.getGraph(), i = r.data, a = r.edgeData, o = e.getModel("force"), s = o.get("initLayout");
27812
+ e.preservedPoints ? i.each(function(e) {
27813
+ var t = i.getId(e);
27814
+ i.setItemLayout(e, n[t] || [NaN, NaN]);
27815
+ }) : !s || s === "none" ? vU(e) : s === "circular" && EU(e, "value");
27816
+ var c = i.getDataExtent("value"), l = a.getDataExtent("value"), u = o.get("repulsion"), d = o.get("edgeLength"), f = B(u) ? u : [u, u], p = B(d) ? d : [d, d];
27817
+ p = [p[1], p[0]];
27818
+ var m = i.mapArray("value", function(e, t) {
27819
+ var n = i.getItemLayout(t), r = Bo(e, c, f);
27820
+ return isNaN(r) && (r = (f[0] + f[1]) / 2), {
27821
+ w: r,
27822
+ rep: r,
27823
+ fixed: i.getItemModel(t).get("fixed"),
27824
+ p: !n || isNaN(n[0]) || isNaN(n[1]) ? null : n
27825
+ };
27826
+ }), h = MU(m, a.mapArray("value", function(t, n) {
27827
+ var i = r.getEdgeByIndex(n), a = Bo(t, l, p);
27828
+ isNaN(a) && (a = (p[0] + p[1]) / 2);
27829
+ var o = i.getModel(), s = be(i.getModel().get(["lineStyle", "curveness"]), -fU(i, e, n, !0), 0);
27830
+ return {
27831
+ n1: m[i.node1.dataIndex],
27832
+ n2: m[i.node2.dataIndex],
27833
+ d: a,
27834
+ curveness: s,
27835
+ ignoreForceLayout: o.get("ignoreForceLayout")
27836
+ };
27837
+ }), {
27838
+ rect: t.getBoundingRect(),
27839
+ gravity: o.get("gravity"),
27840
+ friction: o.get("friction")
27841
+ });
27842
+ h.beforeStep(function(e, t) {
27843
+ for (var n = 0, i = e.length; n < i; n++) e[n].fixed && Be(e[n].p, r.getNodeByIndex(n).getLayout());
27844
+ }), h.afterStep(function(e, t, a) {
27845
+ for (var o = 0, s = e.length; o < s; o++) e[o].fixed || r.getNodeByIndex(o).setLayout(e[o].p), n[i.getId(o)] = e[o].p;
27846
+ for (var o = 0, s = t.length; o < s; o++) {
27847
+ var c = t[o], l = r.getEdgeByIndex(o), u = c.n1.p, d = c.n2.p, f = l.getLayout();
27848
+ f = f ? f.slice() : [], f[0] = f[0] || [], f[1] = f[1] || [], Be(f[0], u), Be(f[1], d), +c.curveness && (f[2] = [(u[0] + d[0]) / 2 - (u[1] - d[1]) * c.curveness, (u[1] + d[1]) / 2 - (d[0] - u[0]) * c.curveness]), l.setLayout(f);
27849
+ }
27850
+ }), e.forceLayout = h, e.preservedPoints = n, h.step();
27851
+ } else e.forceLayout = null;
27852
+ }
27809
27853
  });
27810
27854
  }
27811
27855
  //#endregion
@@ -27887,9 +27931,9 @@ function WU(e, t, n) {
27887
27931
  }
27888
27932
  function GU(e, t, n) {
27889
27933
  var r = t.getItemVisual(n, e);
27890
- if (!(!r || r === "none")) {
27934
+ if (r && r !== "none") {
27891
27935
  var i = t.getItemVisual(n, e + "Size"), a = t.getItemVisual(n, e + "Rotate"), o = t.getItemVisual(n, e + "Offset"), s = t.getItemVisual(n, e + "KeepAspect"), c = yS(i), l = bS(o || 0, c), u = vS(r, -c[0] / 2 + l[0], -c[1] / 2 + l[1], c[0], c[1], null, s);
27892
- return u.__specifiedRotation = a == null || isNaN(a) ? void 0 : +a * Math.PI / 180 || 0, u.name = e, u;
27936
+ return u.__specifiedRotation = a == null || isNaN(a) ? void 0 : a * Math.PI / 180 || 0, u.name = e, u;
27893
27937
  }
27894
27938
  }
27895
27939
  function KU(e) {
@@ -28253,7 +28297,7 @@ var dW = function(e) {
28253
28297
  })();
28254
28298
  }, t.prototype.__updateOnOwnRoam = function(e, t, n) {
28255
28299
  var r = Ez(t);
28256
- !this._active || !r || (xz(this._mainGroup, 2, r, null), Wz(e) && (this._updateNodeAndLinkScale(), sW(t.getGraph(), SU(t)), this._lineDraw.updateLayout(), n.updateLabelLayout()), this._updateThumbnailWindow());
28300
+ this._active && r && (xz(this._mainGroup, 2, r, null), Wz(e) && (this._updateNodeAndLinkScale(), sW(t.getGraph(), SU(t)), this._lineDraw.updateLayout(), n.updateLabelLayout()), this._updateThumbnailWindow());
28257
28301
  }, t.prototype._updateNodeAndLinkScale = function() {
28258
28302
  var e = this._model, t = e.getData(), n = SU(e);
28259
28303
  t.eachItemGraphicEl(function(e, t) {
@@ -28313,7 +28357,7 @@ var dW = function(e) {
28313
28357
  }(Xb), fW = Tc(pU, pW);
28314
28358
  function pW(e) {
28315
28359
  var t = e.findComponents({ mainType: "legend" });
28316
- !t || !t.length || e.eachSeriesByType(pU, function(e) {
28360
+ t && t.length && e.eachSeriesByType(pU, function(e) {
28317
28361
  var n = e.getCategoriesData(), r = e.getGraph().data, i = n.mapArray(n.getName);
28318
28362
  r.filterSelf(function(e) {
28319
28363
  var n = r.getItemModel(e).getShallow("category");
@@ -28785,8 +28829,7 @@ var NW = function(e) {
28785
28829
  });
28786
28830
  var x = function(e) {
28787
28831
  if (e <= 0) return r[0][1];
28788
- var t;
28789
- for (t = 0; t < r.length; t++) if (r[t][0] >= e && (t === 0 ? 0 : r[t - 1][0]) < e) return r[t][1];
28832
+ for (var t = 0; t < r.length; t++) if (r[t][0] >= e && (t === 0 ? 0 : r[t - 1][0]) < e) return r[t][1];
28790
28833
  return r[t - 1][1];
28791
28834
  };
28792
28835
  this._renderTicks(e, t, n, x, i, s, c, o, p), this._renderTitleAndDetail(e, t, n, x, i), this._renderAnchor(e, i), this._renderPointer(e, t, n, x, i, s, c, o, p);
@@ -29492,7 +29535,7 @@ var lG = 5, uG = function(e) {
29492
29535
  this._mouseDownPoint = null;
29493
29536
  },
29494
29537
  mousemove: function(e) {
29495
- if (!(this._mouseDownPoint || !fG(this, "mousemove"))) {
29538
+ if (!this._mouseDownPoint && fG(this, "mousemove")) {
29496
29539
  var t = this._model, n = t.coordinateSystem.getSlidedAxisExpandWindow([e.offsetX, e.offsetY]), r = n.behavior;
29497
29540
  r === "jump" && this._throttledDispatchExpand.debounceNextCall(t.get("axisExpandDebounce")), this._throttledDispatchExpand(r === "none" ? null : {
29498
29541
  axisExpandWindow: n.axisExpandWindow,
@@ -30060,7 +30103,7 @@ function dK(e) {
30060
30103
  };
30061
30104
  }
30062
30105
  function fK(e, t, n) {
30063
- if (!(!e._brushType || yK(e, t.offsetX, t.offsetY))) {
30106
+ if (e._brushType && !yK(e, t.offsetX, t.offsetY)) {
30064
30107
  var r = e._zr, i = e._covers, a = KG(e, t, n);
30065
30108
  if (!e._dragging) for (var o = 0; o < i.length; o++) {
30066
30109
  var s = i[o].__brushOption;
@@ -31371,7 +31414,7 @@ function eJ(e, t, n, r) {
31371
31414
  //#endregion
31372
31415
  //#region node_modules/.pnpm/echarts@6.1.0/node_modules/echarts/lib/chart/candlestick/preprocessor.js
31373
31416
  function tJ(e) {
31374
- !e || !B(e.series) || F(e.series, function(e) {
31417
+ e && B(e.series) && F(e.series, function(e) {
31375
31418
  U(e) && e.type === "k" && (e.type = Nq);
31376
31419
  });
31377
31420
  }
@@ -31382,11 +31425,10 @@ var nJ = vc(), rJ = {
31382
31425
  plan: qb(),
31383
31426
  reset: function(e) {
31384
31427
  var t = e.coordinateSystem, n = e.getData(), r = aJ(e, n), i = e.getWhiskerBoxesLayout() === "horizontal" ? 0 : 1, a = 1 - i, o = ["x", "y"], s = n.getDimensionIndex(n.mapDimension(o[i])), c = I(n.mapDimensionsAll(o[a]), n.getDimensionIndex, n), l = c[0], u = c[1], d = c[2], f = c[3];
31385
- if (n.setLayout({
31428
+ return n.setLayout({
31386
31429
  candleWidth: r,
31387
31430
  isSimpleBox: r <= 1.3
31388
- }), s < 0 || c.length < 4) return;
31389
- return { progress: e.pipelineContext.large ? m : p };
31431
+ }), s < 0 || c.length < 4 ? void 0 : { progress: e.pipelineContext.large ? m : p };
31390
31432
  function p(e, n) {
31391
31433
  for (var o, c = n.getStore(); (o = e.next()) != null;) {
31392
31434
  var p = c.get(s, o), m = c.get(l, o), h = c.get(u, o), g = c.get(d, o), _ = c.get(f, o), v = ko(m, h), y = Ao(m, h), b = E(v, p), x = E(y, p), S = E(g, p), C = E(_, p), w = [];
@@ -32114,8 +32156,7 @@ function jJ(e, t, n) {
32114
32156
  });
32115
32157
  var i = t.length, a = 0;
32116
32158
  return function(e) {
32117
- var r;
32118
- for (r = a; r < i; r++) {
32159
+ for (var r = a; r < i; r++) {
32119
32160
  var o = t[r].interval;
32120
32161
  if (o[0] <= e && e <= o[1]) {
32121
32162
  a = r;
@@ -33430,15 +33471,17 @@ function iX(e, t, n, r) {
33430
33471
  hX("shape", h, f[m]);
33431
33472
  }
33432
33473
  else hX("shape", t, d), hX("extra", t, d);
33433
- if (!a && s && (gX(e, t, u), mX("shape", e, t, u), mX("extra", e, t, u), vX(e, t, l, u)), d.style = l, cX(e, d, o), uX(e, t), s) if (a) {
33434
- var g = {};
33435
- F(tX, function(e) {
33436
- var n = e ? t[e] : t;
33437
- n && n.enterFrom && (e && (g[e] = g[e] || {}), M(e ? g[e] : g, n.enterFrom));
33438
- });
33439
- var _ = rX("enter", e, t, n, i);
33440
- _.duration > 0 && e.animateFrom(g, _);
33441
- } else lX(e, t, i || 0, n, u);
33474
+ if (!a && s && (gX(e, t, u), mX("shape", e, t, u), mX("extra", e, t, u), vX(e, t, l, u)), d.style = l, cX(e, d, o), uX(e, t), s) {
33475
+ if (a) {
33476
+ var g = {};
33477
+ F(tX, function(e) {
33478
+ var n = e ? t[e] : t;
33479
+ n && n.enterFrom && (e && (g[e] = g[e] || {}), M(e ? g[e] : g, n.enterFrom));
33480
+ });
33481
+ var _ = rX("enter", e, t, n, i);
33482
+ _.duration > 0 && e.animateFrom(g, _);
33483
+ } else lX(e, t, i || 0, n, u);
33484
+ }
33442
33485
  aX(e, t), l ? e.dirty() : e.markRedraw();
33443
33486
  }
33444
33487
  function aX(e, t) {
@@ -33533,12 +33576,13 @@ function mX(e, t, n, r) {
33533
33576
  var a = t[e], o;
33534
33577
  if (a) {
33535
33578
  var s = n.transition, c = i.transition;
33536
- if (c) if (!o && (o = r[e] = {}), sX(c)) M(o, a);
33537
- else for (var l = Es(c), u = 0; u < l.length; u++) {
33538
- var d = l[u], f = a[d];
33539
- o[d] = f;
33540
- }
33541
- else if (sX(s) || P(s, e) >= 0) {
33579
+ if (c) {
33580
+ if (!o && (o = r[e] = {}), sX(c)) M(o, a);
33581
+ else for (var l = Es(c), u = 0; u < l.length; u++) {
33582
+ var d = l[u], f = a[d];
33583
+ o[d] = f;
33584
+ }
33585
+ } else if (sX(s) || P(s, e) >= 0) {
33542
33586
  !o && (o = r[e] = {});
33543
33587
  for (var p = L(a), u = 0; u < p.length; u++) {
33544
33588
  var d = p[u], f = a[d];
@@ -33615,7 +33659,7 @@ function SX(e) {
33615
33659
  e.stopAnimation("keyframe"), e.attr(bX(e));
33616
33660
  }
33617
33661
  function CX(e, t, n) {
33618
- if (!(!n.isAnimationEnabled() || !t)) {
33662
+ if (n.isAnimationEnabled() && t) {
33619
33663
  if (B(t)) {
33620
33664
  F(t, function(t) {
33621
33665
  CX(e, t, n);
@@ -33627,10 +33671,10 @@ function CX(e, t, n) {
33627
33671
  var a = nm("enter", n, 0);
33628
33672
  i = a && a.duration;
33629
33673
  }
33630
- if (!(!r || !i)) {
33674
+ if (r && i) {
33631
33675
  var o = bX(e);
33632
33676
  F(tX, function(n) {
33633
- if (!(n && !e[n])) {
33677
+ if (!n || e[n]) {
33634
33678
  var a;
33635
33679
  r.sort(function(e, t) {
33636
33680
  return e.percent - t.percent;
@@ -34005,7 +34049,7 @@ function $X(e, t, n) {
34005
34049
  }
34006
34050
  function eZ(e, t, n, r, i) {
34007
34051
  var a = r.children, o = a ? a.length : 0, s = r.$mergeChildren, c = s === "byName" || r.diffChildrenByName, l = s === !1;
34008
- if (!(!o && !c && !l)) {
34052
+ if (o || c || l) {
34009
34053
  if (c) {
34010
34054
  nZ({
34011
34055
  api: e,
@@ -34061,7 +34105,7 @@ var lZ = Js(), uZ = A, dZ = R, fZ = function() {
34061
34105
  }
34062
34106
  return e.prototype.render = function(e, t, n, r) {
34063
34107
  var i = t.get("value"), a = t.get("status");
34064
- if (this._axisModel = e, this._axisPointerModel = t, this._api = n, !(!r && this._lastValue === i && this._lastStatus === a)) {
34108
+ if (this._axisModel = e, this._axisPointerModel = t, this._api = n, r || this._lastValue !== i || this._lastStatus !== a) {
34065
34109
  this._lastValue = i, this._lastStatus = a;
34066
34110
  var o = this._group, s = this._handle;
34067
34111
  if (!a || a === "hide") {
@@ -34119,7 +34163,7 @@ var lZ = Js(), uZ = A, dZ = R, fZ = function() {
34119
34163
  y: t.label.y
34120
34164
  }), hZ(i, r));
34121
34165
  }, e.prototype._renderHandle = function(e) {
34122
- if (!(this._dragging || !this.updateHandleTransform)) {
34166
+ if (!this._dragging && this.updateHandleTransform) {
34123
34167
  var t = this._axisPointerModel, n = this._api.getZr(), r = this._handle, i = t.getModel("handle"), a = t.get("status");
34124
34168
  if (!i.get("show") || !a || a === "hide") {
34125
34169
  r && n.remove(r), this._handle = null;
@@ -34514,13 +34558,14 @@ function WZ(e, t) {
34514
34558
  if (o == null || o < 0 || B(o)) return { point: [] };
34515
34559
  var s = a.getItemGraphicEl(o), c = i.coordinateSystem;
34516
34560
  if (i.getTooltipPosition) n = i.getTooltipPosition(o) || [];
34517
- else if (c && c.dataToPoint) if (e.isStacked) {
34518
- var l = c.getBaseAxis(), u = c.getOtherAxis(l).dim, d = l.dim, f = +(u === "x" || u === "radius"), p = a.mapDimension(d), m = [];
34519
- m[f] = a.get(p, o), m[1 - f] = a.get(a.getCalculationInfo("stackResultDimension"), o), n = c.dataToPoint(m) || [];
34520
- } else n = c.dataToPoint(a.getValues(I(c.dimensions, function(e) {
34521
- return a.mapDimension(e);
34522
- }), o)) || [];
34523
- else if (s) {
34561
+ else if (c && c.dataToPoint) {
34562
+ if (e.isStacked) {
34563
+ var l = c.getBaseAxis(), u = c.getOtherAxis(l).dim, d = l.dim, f = +(u === "x" || u === "radius"), p = a.mapDimension(d), m = [];
34564
+ m[f] = a.get(p, o), m[1 - f] = a.get(a.getCalculationInfo("stackResultDimension"), o), n = c.dataToPoint(m) || [];
34565
+ } else n = c.dataToPoint(a.getValues(I(c.dimensions, function(e) {
34566
+ return a.mapDimension(e);
34567
+ }), o)) || [];
34568
+ } else if (s) {
34524
34569
  var h = s.getBoundingRect().clone();
34525
34570
  h.applyTransform(s.transform), n = [h.x + h.width / 2, h.y + h.height / 2];
34526
34571
  }
@@ -34573,7 +34618,7 @@ function KZ(e, t, n) {
34573
34618
  }
34574
34619
  function qZ(e, t, n, r, i) {
34575
34620
  var a = e.axis;
34576
- if (!(a.scale.isBlank() || !a.containData(t))) {
34621
+ if (!a.scale.isBlank() && a.containData(t)) {
34577
34622
  if (!e.involveSeries) {
34578
34623
  n.showPointer(e, t);
34579
34624
  return;
@@ -34616,7 +34661,7 @@ function YZ(e, t, n, r) {
34616
34661
  }
34617
34662
  function XZ(e, t, n, r) {
34618
34663
  var i = n.payloadBatch, a = t.axis, o = a.model, s = t.axisPointerModel;
34619
- if (!(!t.triggerTooltip || !i.length)) {
34664
+ if (t.triggerTooltip && i.length) {
34620
34665
  var c = t.coordSys.model, l = WI(c), u = e.map[l];
34621
34666
  u || (u = e.map[l] = {
34622
34667
  coordSysId: c.id,
@@ -36255,7 +36300,7 @@ var L$ = function() {
36255
36300
  function n() {
36256
36301
  var t = [], n = e._model.getShallow("data");
36257
36302
  n && !B(n) && (n = null), F(n, function(n, r) {
36258
- if (!(!U(n) || !B(n.coord))) {
36303
+ if (U(n) && B(n.coord)) {
36259
36304
  var i = b$([]);
36260
36305
  if (x$(i, null, n.coord, e._dims, n.coordClamp ? v$[e._kind] : v$.none), !(w$(i, 0) || w$(i, 1))) {
36261
36306
  var a = n && n.mergeCells, o = {
@@ -36292,7 +36337,7 @@ var L$ = function() {
36292
36337
  }
36293
36338
  F(t, function(t) {
36294
36339
  var n = r(t.id.x, t.id.y);
36295
- if (t.cellMergeOwner && (n.cellMergeOwner = !0, n.span = t.span, n.locatorRange = t.locatorRange, n.spanRect = P$(), e._cellMergeOwnerList.push(n)), !(!t.cellMergeOwner && !t.option)) for (var i = 0; i < t.span.y; i++) for (var a = 0; a < t.span.x; a++) {
36340
+ if (t.cellMergeOwner && (n.cellMergeOwner = !0, n.span = t.span, n.locatorRange = t.locatorRange, n.spanRect = P$(), e._cellMergeOwnerList.push(n)), t.cellMergeOwner || t.option) for (var i = 0; i < t.span.y; i++) for (var a = 0; a < t.span.x; a++) {
36296
36341
  var o = r(t.id.x + a, t.id.y + i);
36297
36342
  o.option = t.option, t.cellMergeOwner && (o.inSpanOf = n);
36298
36343
  }
@@ -36801,7 +36846,7 @@ var k1 = [
36801
36846
  "leaveAnimation"
36802
36847
  ]);
36803
36848
  function j1(e, t, n) {
36804
- if (n && (!e[n] && t[n] && (e[n] = {}), e = e[n], t = t[n]), !(!e || !t)) for (var r = n ? k1 : A1, i = 0; i < r.length; i++) {
36849
+ if (n && (!e[n] && t[n] && (e[n] = {}), e = e[n], t = t[n]), e && t) for (var r = n ? k1 : A1, i = 0; i < r.length; i++) {
36805
36850
  var a = r[i];
36806
36851
  e[a] == null && t[a] != null && (e[a] = t[a]);
36807
36852
  }
@@ -36881,10 +36926,12 @@ var N1 = function(e) {
36881
36926
  x && (iX(x, h, e, { isInit: !0 }), B1(x, t, i, a));
36882
36927
  } else g === "remove" && (aX(s, t), z1(s, t, n, e));
36883
36928
  var S = n.get(o);
36884
- if (S && f) if (_) {
36885
- var C = S.getTextContent();
36886
- C ? C.attr(f) : S.setTextContent(new Xu(f));
36887
- } else v && S.setTextContent(new Xu(f));
36929
+ if (S && f) {
36930
+ if (_) {
36931
+ var C = S.getTextContent();
36932
+ C ? C.attr(f) : S.setTextContent(new Xu(f));
36933
+ } else v && S.setTextContent(new Xu(f));
36934
+ }
36888
36935
  if (S) {
36889
36936
  var w = t.clipPath;
36890
36937
  if (w) {
@@ -36908,7 +36955,7 @@ var N1 = function(e) {
36908
36955
  }, t.prototype._relocate = function(e, t) {
36909
36956
  for (var n = e.option.elements, r = this.group, i = this._elMap, a = t.getWidth(), o = t.getHeight(), s = ["x", "y"], c = 0; c < n.length; c++) {
36910
36957
  var l = n[c], u = Bs(l.id, null), d = u == null ? null : i.get(u);
36911
- if (!(!d || !d.isGroup)) {
36958
+ if (d && d.isGroup) {
36912
36959
  var f = d.parent, p = f === r, m = F1(d), h = F1(f);
36913
36960
  m.width = X(m.option.width, p ? a : h.width) || 0, m.height = X(m.option.height, p ? o : h.height) || 0;
36914
36961
  }
@@ -37330,7 +37377,7 @@ var i0 = function(e) {
37330
37377
  var f = bE(r) || vE(r), p = n.getExtent(), m = jo(p[1] - p[0]), h = f ? 0 : Zo(s, m, .5);
37331
37378
  F([[0, Po], [1, No]], function(e) {
37332
37379
  var n = e[0], r = e[1];
37333
- !l[n] || !isFinite(h) || (s[n] = Go(s[n], h), s[n] = ko(t[1], Ao(t[0], s[n])), o[n] === a[n] && (s[n] = t[n], f && (s[n] = r(s[n]))));
37380
+ l[n] && isFinite(h) && (s[n] = Go(s[n], h), s[n] = ko(t[1], Ao(t[0], s[n])), o[n] === a[n] && (s[n] = t[n], f && (s[n] = r(s[n]))));
37334
37381
  }), _c(s);
37335
37382
  var g = [Bo(s[0], t, a, !0), Bo(s[1], t, a, !0)];
37336
37383
  return _c(g), {
@@ -38021,7 +38068,7 @@ function B0(e, t) {
38021
38068
  return I(e, function(e, n) {
38022
38069
  var r = t && t[n];
38023
38070
  if (U(r) && !B(r)) {
38024
- U(e) && !B(e) || (e = { value: e });
38071
+ (!U(e) || B(e)) && (e = { value: e });
38025
38072
  var i = r.name != null && e.name == null;
38026
38073
  return e = N(e, r), i && delete e.name, e;
38027
38074
  }
@@ -38203,7 +38250,7 @@ function Q0(e, t) {
38203
38250
  var $0 = {
38204
38251
  grid: function(e, t) {
38205
38252
  var n = e.xAxisModels, r = e.yAxisModels, i = e.gridModels, a = G(), o = {}, s = {};
38206
- !n && !r && !i || (F(n, function(e) {
38253
+ (n || r || i) && (F(n, function(e) {
38207
38254
  var t = e.axis.grid.model;
38208
38255
  a.set(t.id, t), o[t.id] = !0;
38209
38256
  }), F(r, function(e) {
@@ -38798,12 +38845,12 @@ var z2 = new Gu({ shape: {
38798
38845
  return n.type = t.type, n;
38799
38846
  }
38800
38847
  return t.prototype.init = function(e, t) {
38801
- if (!(i.node || !t.getDom())) {
38848
+ if (!i.node && t.getDom()) {
38802
38849
  var n = e.getComponent("tooltip"), r = this._renderMode = ic(n.get("renderMode"));
38803
38850
  this._tooltipContent = r === "richText" ? new F2(t) : new P2(t, { appendTo: n.get("appendToBody", !0) ? "body" : n.get("appendTo", !0) });
38804
38851
  }
38805
38852
  }, t.prototype.render = function(e, t, n) {
38806
- if (!(i.node || !n.getDom())) {
38853
+ if (!i.node && n.getDom()) {
38807
38854
  this.group.removeAll(), this._tooltipModel = e, this._ecModel = t, this._api = n;
38808
38855
  var r = this._tooltipContent;
38809
38856
  r.update(e), r.setEnterable(e.get("enterable")), this._initGlobalListener(), this._keepShow(), this._renderMode !== "richText" && e.get("transitionDuration") ? ox(this, "_updatePosition", 50, "fixRate") : sx(this, "_updatePosition");
@@ -38826,7 +38873,7 @@ var z2 = new Gu({ shape: {
38826
38873
  });
38827
38874
  }
38828
38875
  }, t.prototype.manuallyShowTip = function(e, t, n, r) {
38829
- if (!(r.from === this.uid || i.node || !n.getDom())) {
38876
+ if (r.from !== this.uid && !i.node && n.getDom()) {
38830
38877
  var a = H2(r, n);
38831
38878
  this._ticket = "";
38832
38879
  var o = r.dataByCoordSys, s = q2(r, t, n);
@@ -38922,7 +38969,7 @@ var z2 = new Gu({ shape: {
38922
38969
  F(e, function(e) {
38923
38970
  F(e.dataByAxis, function(e) {
38924
38971
  var t = n.getComponent(e.axisDim + "Axis", e.axisIndex), i = e.value, a = t.axis, d = a.scale.parse(i);
38925
- if (!(!t || i == null)) {
38972
+ if (t && i != null) {
38926
38973
  var f = xZ(i, a, n, e.seriesDataIndices, e.valueLabelOpt), p = gb("section", {
38927
38974
  header: f,
38928
38975
  noHeader: !we(f),
@@ -38991,21 +39038,23 @@ var z2 = new Gu({ shape: {
38991
39038
  from: this.uid
38992
39039
  });
38993
39040
  }, t.prototype._showTooltipContent = function(e, t, n, r, i, a, o, s, c) {
38994
- if (this._ticket = "", !(!e.get("showContent") || !e.get("show"))) {
39041
+ if (this._ticket = "", e.get("showContent") && e.get("show")) {
38995
39042
  var l = this._tooltipContent;
38996
39043
  l.setEnterable(e.get("enterable"));
38997
39044
  var u = e.get("formatter");
38998
39045
  o ||= e.get("position");
38999
39046
  var d = t, f = this._getNearestPoint([i, a], n, e.get("trigger"), e.get("borderColor"), e.get("defaultBorderColor", !0)).color;
39000
- if (u) if (H(u)) {
39001
- var p = e.ecModel.get("useUTC"), m = B(n) ? n[0] : n, h = m && m.axisType && m.axisType.indexOf("time") >= 0;
39002
- d = u, h && (d = Sg(m.axisValue, d, p)), d = qg(d, n, !0);
39003
- } else if (V(u)) {
39004
- var g = R(function(t, r) {
39005
- t === this._ticket && (l.setContent(r, c, e, f, o), this._updatePosition(e, o, i, a, l, n, s));
39006
- }, this);
39007
- this._ticket = r, d = u(n, r, g);
39008
- } else d = u;
39047
+ if (u) {
39048
+ if (H(u)) {
39049
+ var p = e.ecModel.get("useUTC"), m = B(n) ? n[0] : n, h = m && m.axisType && m.axisType.indexOf("time") >= 0;
39050
+ d = u, h && (d = Sg(m.axisValue, d, p)), d = qg(d, n, !0);
39051
+ } else if (V(u)) {
39052
+ var g = R(function(t, r) {
39053
+ t === this._ticket && (l.setContent(r, c, e, f, o), this._updatePosition(e, o, i, a, l, n, s));
39054
+ }, this);
39055
+ this._ticket = r, d = u(n, r, g);
39056
+ } else d = u;
39057
+ }
39009
39058
  l.setContent(d, c, e, f, o), l.show(e, f), this._updatePosition(e, o, i, a, l, n, s);
39010
39059
  }
39011
39060
  }, t.prototype._getNearestPoint = function(e, t, n, r, i) {
@@ -39060,7 +39109,7 @@ var z2 = new Gu({ shape: {
39060
39109
  from: this.uid
39061
39110
  });
39062
39111
  }, t.prototype.dispose = function(e, t) {
39063
- i.node || !t.getDom() || (sx(this, "_updatePosition"), this._tooltipContent.dispose(), HZ("itemTooltip", t), this._tooltipContent = null, this._tooltipModel = null, this._lastDataByCoordSys = null, this._cbParamsList = null);
39112
+ !i.node && t.getDom() && (sx(this, "_updatePosition"), this._tooltipContent.dispose(), HZ("itemTooltip", t), this._tooltipContent = null, this._tooltipModel = null, this._lastDataByCoordSys = null, this._cbParamsList = null);
39064
39113
  }, t.type = "tooltip", t;
39065
39114
  }(Kb);
39066
39115
  function V2(e, t, n) {
@@ -39107,7 +39156,7 @@ function K2(e) {
39107
39156
  }
39108
39157
  function q2(e, t, n) {
39109
39158
  var r = Zs(e).queryOptionMap, i = r.keys()[0];
39110
- if (!(!i || i === "series")) {
39159
+ if (i && i !== "series") {
39111
39160
  var a = ec(t, i, r.get(i), {
39112
39161
  useDefault: !1,
39113
39162
  enableAll: !1,
@@ -39348,7 +39397,7 @@ function f4(e, t, n) {
39348
39397
  });
39349
39398
  }
39350
39399
  function v(n, r, i) {
39351
- if (!(!n.brushSelector || g4(t, r)) && (F(p, function(r) {
39400
+ if (n.brushSelector && !g4(t, r) && (F(p, function(r) {
39352
39401
  t.brushTargetManager.controlSeries(r, n, e) && i.push(r), f ||= g(i);
39353
39402
  }), h(r) && g(i))) {
39354
39403
  var a = n.getData();
@@ -40712,7 +40761,7 @@ var w3 = function(e) {
40712
40761
  }, t;
40713
40762
  }(J4), T3 = Js(), E3 = function(e, t, n, r) {
40714
40763
  var i = r[0], a = r[1];
40715
- if (!(!i || !a)) {
40764
+ if (i && a) {
40716
40765
  var o = e3(e, i), s = e3(e, a), c = o.coord, l = s.coord;
40717
40766
  c[0] = ye(c[0], -Infinity), c[1] = ye(c[1], -Infinity), l[0] = ye(l[0], Infinity), l[1] = ye(l[1], Infinity);
40718
40767
  var u = ee([
@@ -41087,30 +41136,32 @@ var F3 = function(e, t) {
41087
41136
  return;
41088
41137
  }
41089
41138
  var m = n.getSeriesByName(f)[0];
41090
- if (!c.get(f)) if (m) {
41091
- var h = m.getData(), g = h.getVisual("legendLineStyle") || {}, _ = h.getVisual("legendIcon"), v = h.getVisual("style"), y = this._createItem(m, f, a, i, t, e, g, v, _, l, r);
41092
- y.on("click", L3(U3, f, null, r, d)).on("mouseover", L3(W3, m.name, null, r, d)).on("mouseout", L3(G3, m.name, null, r, d)), n.ssr && y.eachChild(function(e) {
41093
- var t = Z(e);
41094
- t.seriesIndex = m.seriesIndex, t.dataIndex = a, t.ssrType = "legend";
41095
- }), u && y.eachChild(function(e) {
41096
- o.packEventData(e, t, m, a, f);
41097
- }), c.set(f, !0);
41098
- } else n.eachRawSeries(function(o) {
41099
- var s = this;
41100
- if (!c.get(f) && o.legendVisualProvider) {
41101
- var p = o.legendVisualProvider;
41102
- if (!p.containName(f)) return;
41103
- var m = p.indexOfName(f), h = p.getItemVisual(m, "style"), g = p.getItemVisual(m, "legendIcon"), _ = Hr(h.fill);
41104
- _ && _[3] === 0 && (_[3] = .2, h = M(M({}, h), { fill: $r(_, "rgba") }));
41105
- var v = this._createItem(o, f, a, i, t, e, {}, h, g, l, r);
41106
- v.on("click", L3(U3, null, f, r, d)).on("mouseover", L3(W3, null, f, r, d)).on("mouseout", L3(G3, null, f, r, d)), n.ssr && v.eachChild(function(e) {
41139
+ if (!c.get(f)) {
41140
+ if (m) {
41141
+ var h = m.getData(), g = h.getVisual("legendLineStyle") || {}, _ = h.getVisual("legendIcon"), v = h.getVisual("style"), y = this._createItem(m, f, a, i, t, e, g, v, _, l, r);
41142
+ y.on("click", L3(U3, f, null, r, d)).on("mouseover", L3(W3, m.name, null, r, d)).on("mouseout", L3(G3, m.name, null, r, d)), n.ssr && y.eachChild(function(e) {
41107
41143
  var t = Z(e);
41108
- t.seriesIndex = o.seriesIndex, t.dataIndex = a, t.ssrType = "legend";
41109
- }), u && v.eachChild(function(e) {
41110
- s.packEventData(e, t, o, a, f);
41144
+ t.seriesIndex = m.seriesIndex, t.dataIndex = a, t.ssrType = "legend";
41145
+ }), u && y.eachChild(function(e) {
41146
+ o.packEventData(e, t, m, a, f);
41111
41147
  }), c.set(f, !0);
41112
- }
41113
- }, this);
41148
+ } else n.eachRawSeries(function(o) {
41149
+ var s = this;
41150
+ if (!c.get(f) && o.legendVisualProvider) {
41151
+ var p = o.legendVisualProvider;
41152
+ if (!p.containName(f)) return;
41153
+ var m = p.indexOfName(f), h = p.getItemVisual(m, "style"), g = p.getItemVisual(m, "legendIcon"), _ = Hr(h.fill);
41154
+ _ && _[3] === 0 && (_[3] = .2, h = M(M({}, h), { fill: $r(_, "rgba") }));
41155
+ var v = this._createItem(o, f, a, i, t, e, {}, h, g, l, r);
41156
+ v.on("click", L3(U3, null, f, r, d)).on("mouseover", L3(W3, null, f, r, d)).on("mouseout", L3(G3, null, f, r, d)), n.ssr && v.eachChild(function(e) {
41157
+ var t = Z(e);
41158
+ t.seriesIndex = o.seriesIndex, t.dataIndex = a, t.ssrType = "legend";
41159
+ }), u && v.eachChild(function(e) {
41160
+ s.packEventData(e, t, o, a, f);
41161
+ }), c.set(f, !0);
41162
+ }
41163
+ }, this);
41164
+ }
41114
41165
  }, this), i && this._createSelector(i, t, r, a, o);
41115
41166
  }, t.prototype.packEventData = function(e, t, n, r, i) {
41116
41167
  var a = {
@@ -42338,10 +42389,7 @@ var R6 = { get: function(e, t, n) {
42338
42389
  var r = this.option, i = r.precision, a = this.dataBound, o = r.formatter, s;
42339
42390
  n ||= ["<", ">"], B(e) && (e = e.slice(), s = !0);
42340
42391
  var c = t ? e : s ? [l(e[0]), l(e[1])] : l(e);
42341
- if (H(o)) return o.replace("{value}", s ? c[0] : c).replace("{value2}", s ? c[1] : c);
42342
- if (V(o)) return s ? o(e[0], e[1]) : o(e);
42343
- if (s) return e[0] === a[0] ? n[0] + " " + c[1] : e[1] === a[1] ? n[1] + " " + c[0] : c[0] + " - " + c[1];
42344
- return c;
42392
+ return H(o) ? o.replace("{value}", s ? c[0] : c).replace("{value2}", s ? c[1] : c) : V(o) ? s ? o(e[0], e[1]) : o(e) : s ? e[0] === a[0] ? n[0] + " " + c[1] : e[1] === a[1] ? n[1] + " " + c[0] : c[0] + " - " + c[1] : c;
42345
42393
  function l(e) {
42346
42394
  return e === a[0] ? "min" : e === a[1] ? "max" : (+e).toFixed(Math.min(i, 20));
42347
42395
  }
@@ -43439,7 +43487,7 @@ var D8 = function() {
43439
43487
  this._bridgeRendered = e, this._isEnabled() && (this._dealRenderContent(), this._dealUpdateWindow(), j8(this._model, this));
43440
43488
  }, t.prototype._dealRenderContent = function() {
43441
43489
  var e = this._bridgeRendered;
43442
- if (!(!e || e.renderVersion !== this._renderVersion)) {
43490
+ if (e && e.renderVersion === this._renderVersion) {
43443
43491
  var t = this._targetGroup, n = this._coordSys, r = this._contentRect;
43444
43492
  if (t.removeAll(), e) {
43445
43493
  var i = e.group, a = i.getBoundingRect();
@@ -43457,7 +43505,7 @@ var D8 = function() {
43457
43505
  t && t.renderVersion === e.renderVersion && (t.targetTrans = e.targetTrans), this._isEnabled() && this._dealUpdateWindow();
43458
43506
  }, t.prototype._dealUpdateWindow = function() {
43459
43507
  var e = this._bridgeRendered;
43460
- if (!(!e || e.renderVersion !== this._renderVersion)) {
43508
+ if (e && e.renderVersion === this._renderVersion) {
43461
43509
  var t = Zt([], e.targetTrans), n = qt([], JR(null, this._coordSys), t);
43462
43510
  this._transThisToTarget = Zt([], n);
43463
43511
  var r = e.viewportRect;
@@ -43483,7 +43531,7 @@ var D8 = function() {
43483
43531
  }), r.off("pan").off("zoom").on("pan", R(this._onPan, this)).on("zoom", R(this._onZoom, this));
43484
43532
  }, t.prototype._onPan = function(e) {
43485
43533
  var t = this._transThisToTarget;
43486
- if (!(!this._isEnabled() || !t)) {
43534
+ if (this._isEnabled() && t) {
43487
43535
  var n = st([], [e.oldX, e.oldY], t), r = st([], [e.oldX - e.dx, e.oldY - e.dy], t);
43488
43536
  this._api.dispatchAction(A8(this._model.getTarget().baseMapProvider, {
43489
43537
  dx: r[0] - n[0],
@@ -43492,7 +43540,7 @@ var D8 = function() {
43492
43540
  }
43493
43541
  }, t.prototype._onZoom = function(e) {
43494
43542
  var t = this._transThisToTarget;
43495
- if (!(!this._isEnabled() || !t)) {
43543
+ if (this._isEnabled() && t) {
43496
43544
  var n = st([], [e.originX, e.originY], t);
43497
43545
  this._api.dispatchAction(A8(this._model.getTarget().baseMapProvider, {
43498
43546
  zoom: 1 / e.scale,
@@ -43660,7 +43708,7 @@ function L8(e, t) {
43660
43708
  //#endregion
43661
43709
  //#region node_modules/.pnpm/echarts@6.1.0/node_modules/echarts/lib/component/aria/preprocessor.js
43662
43710
  function R8(e) {
43663
- if (!(!e || !e.aria)) {
43711
+ if (e && e.aria) {
43664
43712
  var t = e.aria;
43665
43713
  t.show != null && (t.enabled = t.show), t.label = t.label || {}, F([
43666
43714
  "description",
@@ -44384,8 +44432,10 @@ function K5(e, t) {
44384
44432
  }
44385
44433
  for (var s = 0, i = r - 1; i >= 0; i--) if (!n[i].many.length) {
44386
44434
  var c = n[s].many;
44387
- if (c.length <= 1) if (s) s = 0;
44388
- else return n;
44435
+ if (c.length <= 1) {
44436
+ if (s) s = 0;
44437
+ else return n;
44438
+ }
44389
44439
  var a = c.length, l = Math.ceil(a / 2);
44390
44440
  n[i].many = c.slice(l, a), n[s].many = c.slice(0, l), s++;
44391
44441
  }
@@ -44831,10 +44881,12 @@ function S7(e, t) {
44831
44881
  var o = T7(e, t);
44832
44882
  if (o) {
44833
44883
  var s = o.vmin !== e.vmin, c = o.vmax !== e.vmax, l = o.vmax - o.vmin;
44834
- if (!(s && c)) if (s || c) {
44835
- var u = s ? "S" : "E";
44836
- a[u][i.type].has = !0, a[u][i.type].span = l, a[u][i.type].inExtFrac = l / (e.vmax - e.vmin), a[u][i.type].val = i.val;
44837
- } else r[i.type].span += l, r[i.type].val += i.val;
44884
+ if (!(s && c)) {
44885
+ if (s || c) {
44886
+ var u = s ? "S" : "E";
44887
+ a[u][i.type].has = !0, a[u][i.type].span = l, a[u][i.type].inExtFrac = l / (e.vmax - e.vmin), a[u][i.type].val = i.val;
44888
+ } else r[i.type].span += l, r[i.type].val += i.val;
44889
+ }
44838
44890
  }
44839
44891
  });
44840
44892
  var o = n * (0 + (t[1] - t[0]) + (r.tpAbs.val - r.tpAbs.span) + (a.S.tpAbs.has ? (a.S.tpAbs.val - a.S.tpAbs.span) * a.S.tpAbs.inExtFrac : 0) + (a.E.tpAbs.has ? (a.E.tpAbs.val - a.E.tpAbs.span) * a.E.tpAbs.inExtFrac : 0) - r.tpPrct.span - (a.S.tpPrct.has ? a.S.tpPrct.span * a.S.tpPrct.inExtFrac : 0) - (a.E.tpPrct.has ? a.E.tpPrct.span * a.E.tpPrct.inExtFrac : 0)) / (1 - r.tpPrct.val - (a.S.tpPrct.has ? a.S.tpPrct.val * a.S.tpPrct.inExtFrac : 0) - (a.E.tpPrct.has ? a.E.tpPrct.val * a.E.tpPrct.inExtFrac : 0));
@@ -44891,7 +44943,7 @@ function E7(e, t, n) {
44891
44943
  return e >= 0 && e < .99999;
44892
44944
  }
44893
44945
  F(e, function(e) {
44894
- if (!(!e || e.start == null || e.end == null) && !e.isExpanded) {
44946
+ if (e && e.start != null && e.end != null && !e.isExpanded) {
44895
44947
  var a = {
44896
44948
  breakOption: A(e),
44897
44949
  vmin: t.parse(e.start),