@orbcharts/plugins-basic 3.0.0-alpha.57 → 3.0.0-alpha.58
Sign up to get free protection for your applications and to get access to all the features.
- package/LICENSE +200 -200
- package/dist/orbcharts-plugins-basic.es.js +200 -195
- package/dist/orbcharts-plugins-basic.umd.js +2 -2
- package/package.json +43 -43
- package/src/base/BaseBarStack.ts +778 -778
- package/src/base/BaseBars.ts +764 -764
- package/src/base/BaseBarsTriangle.ts +672 -672
- package/src/base/BaseDots.ts +513 -513
- package/src/base/BaseGroupAxis.ts +558 -558
- package/src/base/BaseLegend.ts +641 -641
- package/src/base/BaseLineAreas.ts +628 -628
- package/src/base/BaseLines.ts +704 -704
- package/src/base/BaseValueAxis.ts +478 -478
- package/src/base/types.ts +2 -2
- package/src/grid/defaults.ts +128 -128
- package/src/grid/gridObservables.ts +541 -538
- package/src/grid/index.ts +15 -15
- package/src/grid/plugins/BarStack.ts +43 -43
- package/src/grid/plugins/Bars.ts +44 -44
- package/src/grid/plugins/BarsPN.ts +41 -41
- package/src/grid/plugins/BarsTriangle.ts +42 -42
- package/src/grid/plugins/Dots.ts +37 -37
- package/src/grid/plugins/GridLegend.ts +59 -59
- package/src/grid/plugins/GroupAux.ts +976 -976
- package/src/grid/plugins/GroupAxis.ts +35 -35
- package/src/grid/plugins/LineAreas.ts +40 -40
- package/src/grid/plugins/Lines.ts +40 -40
- package/src/grid/plugins/ScalingArea.ts +173 -173
- package/src/grid/plugins/ValueAxis.ts +36 -36
- package/src/grid/plugins/ValueStackAxis.ts +38 -38
- package/src/grid/types.ts +123 -123
- package/src/index.ts +9 -9
- package/src/multiGrid/defaults.ts +158 -158
- package/src/multiGrid/index.ts +13 -13
- package/src/multiGrid/multiGridObservables.ts +49 -49
- package/src/multiGrid/plugins/MultiBarStack.ts +78 -78
- package/src/multiGrid/plugins/MultiBars.ts +77 -77
- package/src/multiGrid/plugins/MultiBarsTriangle.ts +77 -77
- package/src/multiGrid/plugins/MultiDots.ts +65 -65
- package/src/multiGrid/plugins/MultiGridLegend.ts +89 -89
- package/src/multiGrid/plugins/MultiGroupAxis.ts +69 -69
- package/src/multiGrid/plugins/MultiLineAreas.ts +77 -77
- package/src/multiGrid/plugins/MultiLines.ts +77 -77
- package/src/multiGrid/plugins/MultiValueAxis.ts +69 -69
- package/src/multiGrid/plugins/MultiValueStackAxis.ts +69 -69
- package/src/multiGrid/plugins/OverlappingValueAxes.ts +167 -167
- package/src/multiGrid/plugins/OverlappingValueStackAxes.ts +168 -168
- package/src/multiGrid/types.ts +72 -72
- package/src/noneData/defaults.ts +102 -102
- package/src/noneData/index.ts +3 -3
- package/src/noneData/plugins/Container.ts +10 -10
- package/src/noneData/plugins/Tooltip.ts +310 -310
- package/src/noneData/types.ts +26 -26
- package/src/series/defaults.ts +144 -144
- package/src/series/index.ts +9 -9
- package/src/series/plugins/Bubbles.ts +545 -545
- package/src/series/plugins/Pie.ts +576 -576
- package/src/series/plugins/PieEventTexts.ts +262 -262
- package/src/series/plugins/PieLabels.ts +304 -304
- package/src/series/plugins/Rose.ts +472 -472
- package/src/series/plugins/RoseLabels.ts +362 -362
- package/src/series/plugins/SeriesLegend.ts +59 -59
- package/src/series/seriesObservables.ts +145 -145
- package/src/series/seriesUtils.ts +51 -51
- package/src/series/types.ts +83 -83
- package/src/tree/defaults.ts +23 -23
- package/src/tree/index.ts +3 -3
- package/src/tree/plugins/TreeLegend.ts +59 -59
- package/src/tree/plugins/TreeMap.ts +305 -305
- package/src/tree/types.ts +23 -23
- package/src/utils/commonUtils.ts +21 -21
- package/src/utils/d3Graphics.ts +124 -124
- package/src/utils/d3Utils.ts +73 -73
- package/src/utils/observables.ts +14 -14
- package/src/utils/orbchartsUtils.ts +100 -100
- package/tsconfig.base.json +13 -13
- package/tsconfig.json.bak.vite-plugin-tsconfig +7 -7
- package/tsconfig.prod.json +2 -2
- package/vite.config.mjs +40 -40
@@ -4710,9 +4710,11 @@ const O3 = (t) => t.pipe(
|
|
4710
4710
|
}) => {
|
4711
4711
|
const o = r[0] ?? sr.scaleDomain[0], a = r[1] ?? sr.scaleDomain[1], s = i[0] ?? sr.scaleRange[0], u = i[1] ?? sr.scaleRange[1], l = o === "auto" ? e : o, c = a === "auto" ? t : a, f = t - (t - l) / (1 - s), h = c / u;
|
4712
4712
|
return Mm().domain([f, h]).range([0, n]);
|
4713
|
-
}, Nm = ({ axisLabels: t, axisWidth: e, padding: n = 0
|
4714
|
-
let i = t.map((
|
4715
|
-
|
4713
|
+
}, Nm = ({ axisLabels: t, axisWidth: e, padding: n = 0, reverse: r = !1 }) => {
|
4714
|
+
let i = t.map((u, l) => l);
|
4715
|
+
r && i.reverse();
|
4716
|
+
const o = i.length - 1 + n * 2, a = e / o, s = a * n - a * 0.5;
|
4717
|
+
return Dm().domain([s, e - s]).range(i);
|
4716
4718
|
};
|
4717
4719
|
function B3({ name: t, defaultParams: e, initFn: n }) {
|
4718
4720
|
const r = new yo(), i = /* @__PURE__ */ new WeakMap();
|
@@ -4891,7 +4893,7 @@ function Q3(t) {
|
|
4891
4893
|
function J3(t) {
|
4892
4894
|
return (e) => t(...e);
|
4893
4895
|
}
|
4894
|
-
function
|
4896
|
+
function tA(...t) {
|
4895
4897
|
const e = typeof t[t.length - 1] == "function" && J3(t.pop());
|
4896
4898
|
t = t.map(Q3);
|
4897
4899
|
const n = t.map(Z3), r = t.length - 1, i = new Array(r + 1).fill(0), o = [];
|
@@ -4905,7 +4907,7 @@ function t5(...t) {
|
|
4905
4907
|
}
|
4906
4908
|
}
|
4907
4909
|
}
|
4908
|
-
function
|
4910
|
+
function eA(t, e) {
|
4909
4911
|
var n = 0, r = 0;
|
4910
4912
|
return Float64Array.from(t, e === void 0 ? (i) => n += +i || 0 : (i) => n += +e(i, r++, t) || 0);
|
4911
4913
|
}
|
@@ -4961,7 +4963,7 @@ class Ct {
|
|
4961
4963
|
return a;
|
4962
4964
|
}
|
4963
4965
|
}
|
4964
|
-
function
|
4966
|
+
function nA(t, e) {
|
4965
4967
|
const n = new Ct();
|
4966
4968
|
if (e === void 0)
|
4967
4969
|
for (let r of t)
|
@@ -4973,7 +4975,7 @@ function n5(t, e) {
|
|
4973
4975
|
}
|
4974
4976
|
return +n;
|
4975
4977
|
}
|
4976
|
-
function
|
4978
|
+
function rA(t, e) {
|
4977
4979
|
const n = new Ct();
|
4978
4980
|
let r = -1;
|
4979
4981
|
return Float64Array.from(
|
@@ -5041,10 +5043,10 @@ function Km(t, e) {
|
|
5041
5043
|
t = t.flatMap((i) => i.pop().map(([o, a]) => [...i, o, a]));
|
5042
5044
|
return t;
|
5043
5045
|
}
|
5044
|
-
function
|
5046
|
+
function iA(t, ...e) {
|
5045
5047
|
return Km(Zm(t, ...e), e);
|
5046
5048
|
}
|
5047
|
-
function
|
5049
|
+
function oA(t, e, ...n) {
|
5048
5050
|
return Km(Jm(t, e, ...n), n);
|
5049
5051
|
}
|
5050
5052
|
function Qm(t, e, ...n) {
|
@@ -5053,10 +5055,10 @@ function Qm(t, e, ...n) {
|
|
5053
5055
|
function Jm(t, e, ...n) {
|
5054
5056
|
return Jr(t, Array.from, e, n);
|
5055
5057
|
}
|
5056
|
-
function
|
5058
|
+
function aA(t, ...e) {
|
5057
5059
|
return Jr(t, Nr, t1, e);
|
5058
5060
|
}
|
5059
|
-
function
|
5061
|
+
function sA(t, ...e) {
|
5060
5062
|
return Jr(t, Array.from, t1, e);
|
5061
5063
|
}
|
5062
5064
|
function t1(t) {
|
@@ -5106,16 +5108,16 @@ function Sf(t = wt) {
|
|
5106
5108
|
function Fr(t, e) {
|
5107
5109
|
return (t == null || !(t >= t)) - (e == null || !(e >= e)) || (t < e ? -1 : t > e ? 1 : 0);
|
5108
5110
|
}
|
5109
|
-
function
|
5111
|
+
function uA(t, e, n) {
|
5110
5112
|
return (e.length !== 2 ? Vl(Qm(t, e, n), ([r, i], [o, a]) => wt(i, a) || wt(r, o)) : Vl(Xm(t, n), ([r, i], [o, a]) => e(i, a) || wt(r, o))).map(([r]) => r);
|
5111
5113
|
}
|
5112
|
-
var
|
5114
|
+
var lA = Array.prototype, cA = lA.slice;
|
5113
5115
|
function Ou(t) {
|
5114
5116
|
return () => t;
|
5115
5117
|
}
|
5116
|
-
const
|
5118
|
+
const fA = Math.sqrt(50), hA = Math.sqrt(10), pA = Math.sqrt(2);
|
5117
5119
|
function Ha(t, e, n) {
|
5118
|
-
const r = (e - t) / Math.max(0, n), i = Math.floor(Math.log10(r)), o = r / Math.pow(10, i), a = o >=
|
5120
|
+
const r = (e - t) / Math.max(0, n), i = Math.floor(Math.log10(r)), o = r / Math.pow(10, i), a = o >= fA ? 10 : o >= hA ? 5 : o >= pA ? 2 : 1;
|
5119
5121
|
let s, u, l;
|
5120
5122
|
return i < 0 ? (l = Math.pow(10, -i) / a, s = Math.round(t * l), u = Math.round(e * l), s / l < t && ++s, u / l > e && --u, l = -l) : (l = Math.pow(10, i) * a, s = Math.round(t / l), u = Math.round(e / l), s * l < t && ++s, u * l > e && --u), u < s && 0.5 <= n && n < 2 ? Ha(t, e, n * 2) : [s, u, l];
|
5121
5123
|
}
|
@@ -5196,7 +5198,7 @@ function Ap() {
|
|
5196
5198
|
}, r.domain = function(i) {
|
5197
5199
|
return arguments.length ? (e = typeof i == "function" ? i : Ou([i[0], i[1]]), r) : e;
|
5198
5200
|
}, r.thresholds = function(i) {
|
5199
|
-
return arguments.length ? (n = typeof i == "function" ? i : Ou(Array.isArray(i) ?
|
5201
|
+
return arguments.length ? (n = typeof i == "function" ? i : Ou(Array.isArray(i) ? cA.call(i) : i), r) : n;
|
5200
5202
|
}, r;
|
5201
5203
|
}
|
5202
5204
|
function Vi(t, e) {
|
@@ -5301,15 +5303,15 @@ function i1(t, e, n = Ua) {
|
|
5301
5303
|
return Us(i, a, 0, o, (s, u) => Fr(r[s], r[u])), a = n1(i.subarray(0, a + 1), (s) => r[s]), a >= 0 ? a : -1;
|
5302
5304
|
}
|
5303
5305
|
}
|
5304
|
-
function
|
5306
|
+
function dA(t, e, n) {
|
5305
5307
|
const r = Ys(t), i = qi(t, 0.75) - qi(t, 0.25);
|
5306
5308
|
return r && i ? Math.ceil((n - e) / (2 * i * Math.pow(r, -1 / 3))) : 1;
|
5307
5309
|
}
|
5308
|
-
function
|
5310
|
+
function gA(t, e, n) {
|
5309
5311
|
const r = Ys(t), i = Wm(t);
|
5310
5312
|
return r && i ? Math.ceil((n - e) * Math.cbrt(r) / (3.49 * i)) : 1;
|
5311
5313
|
}
|
5312
|
-
function
|
5314
|
+
function mA(t, e) {
|
5313
5315
|
let n = 0, r = 0;
|
5314
5316
|
if (e === void 0)
|
5315
5317
|
for (let i of t)
|
@@ -5321,20 +5323,20 @@ function m5(t, e) {
|
|
5321
5323
|
}
|
5322
5324
|
if (n) return r / n;
|
5323
5325
|
}
|
5324
|
-
function
|
5326
|
+
function yA(t, e) {
|
5325
5327
|
return qi(t, 0.5, e);
|
5326
5328
|
}
|
5327
|
-
function
|
5329
|
+
function bA(t, e) {
|
5328
5330
|
return i1(t, 0.5, e);
|
5329
5331
|
}
|
5330
|
-
function*
|
5332
|
+
function* vA(t) {
|
5331
5333
|
for (const e of t)
|
5332
5334
|
yield* e;
|
5333
5335
|
}
|
5334
5336
|
function Tf(t) {
|
5335
|
-
return Array.from(
|
5337
|
+
return Array.from(vA(t));
|
5336
5338
|
}
|
5337
|
-
function
|
5339
|
+
function xA(t, e) {
|
5338
5340
|
const n = new ji();
|
5339
5341
|
if (e === void 0)
|
5340
5342
|
for (let o of t)
|
@@ -5349,14 +5351,14 @@ function x5(t, e) {
|
|
5349
5351
|
a > i && (i = a, r = o);
|
5350
5352
|
return r;
|
5351
5353
|
}
|
5352
|
-
function
|
5354
|
+
function _A(t, e = wA) {
|
5353
5355
|
const n = [];
|
5354
5356
|
let r, i = !1;
|
5355
5357
|
for (const o of t)
|
5356
5358
|
i && n.push(e(r, o)), r = o, i = !0;
|
5357
5359
|
return n;
|
5358
5360
|
}
|
5359
|
-
function
|
5361
|
+
function wA(t, e) {
|
5360
5362
|
return [t, e];
|
5361
5363
|
}
|
5362
5364
|
function fn(t, e, n) {
|
@@ -5365,7 +5367,7 @@ function fn(t, e, n) {
|
|
5365
5367
|
o[r] = t + r * n;
|
5366
5368
|
return o;
|
5367
5369
|
}
|
5368
|
-
function $
|
5370
|
+
function $A(t, e = wt) {
|
5369
5371
|
if (typeof t[Symbol.iterator] != "function") throw new TypeError("values is not iterable");
|
5370
5372
|
let n = Array.from(t);
|
5371
5373
|
const r = new Float64Array(n.length);
|
@@ -5377,7 +5379,7 @@ function $5(t, e = wt) {
|
|
5377
5379
|
l >= 0 ? ((o === void 0 || l > 0) && (o = s, a = u), r[s] = a) : r[s] = NaN;
|
5378
5380
|
}), r;
|
5379
5381
|
}
|
5380
|
-
function
|
5382
|
+
function SA(t, e = wt) {
|
5381
5383
|
let n, r = !1;
|
5382
5384
|
if (e.length === 1) {
|
5383
5385
|
let i;
|
@@ -5397,18 +5399,18 @@ function o1(t, e = wt) {
|
|
5397
5399
|
++i, (r < 0 ? e(o, o) === 0 : e(o, n) < 0) && (n = o, r = i);
|
5398
5400
|
return r;
|
5399
5401
|
}
|
5400
|
-
function
|
5402
|
+
function AA(t, e = wt) {
|
5401
5403
|
if (e.length === 1) return Df(t, e);
|
5402
5404
|
let n, r = -1, i = -1;
|
5403
5405
|
for (const o of t)
|
5404
5406
|
++i, (r < 0 ? e(o, o) === 0 : e(o, n) > 0) && (n = o, r = i);
|
5405
5407
|
return r;
|
5406
5408
|
}
|
5407
|
-
function
|
5409
|
+
function MA(t, e) {
|
5408
5410
|
const n = o1(t, e);
|
5409
5411
|
return n < 0 ? void 0 : n;
|
5410
5412
|
}
|
5411
|
-
const
|
5413
|
+
const DA = a1(Math.random);
|
5412
5414
|
function a1(t) {
|
5413
5415
|
return function(n, r = 0, i = n.length) {
|
5414
5416
|
let o = i - (r = +r);
|
@@ -5433,18 +5435,18 @@ function s1(t, e) {
|
|
5433
5435
|
}
|
5434
5436
|
function u1(t) {
|
5435
5437
|
if (!(o = t.length)) return [];
|
5436
|
-
for (var e = -1, n = ja(t,
|
5438
|
+
for (var e = -1, n = ja(t, PA), r = new Array(n); ++e < n; )
|
5437
5439
|
for (var i = -1, o, a = r[e] = new Array(o); ++i < o; )
|
5438
5440
|
a[i] = t[i][e];
|
5439
5441
|
return r;
|
5440
5442
|
}
|
5441
|
-
function
|
5443
|
+
function PA(t) {
|
5442
5444
|
return t.length;
|
5443
5445
|
}
|
5444
|
-
function
|
5446
|
+
function TA() {
|
5445
5447
|
return u1(arguments);
|
5446
5448
|
}
|
5447
|
-
function
|
5449
|
+
function CA(t, e) {
|
5448
5450
|
if (typeof e != "function") throw new TypeError("test is not a function");
|
5449
5451
|
let n = -1;
|
5450
5452
|
for (const r of t)
|
@@ -5452,7 +5454,7 @@ function C5(t, e) {
|
|
5452
5454
|
return !1;
|
5453
5455
|
return !0;
|
5454
5456
|
}
|
5455
|
-
function
|
5457
|
+
function LA(t, e) {
|
5456
5458
|
if (typeof e != "function") throw new TypeError("test is not a function");
|
5457
5459
|
let n = -1;
|
5458
5460
|
for (const r of t)
|
@@ -5460,7 +5462,7 @@ function L5(t, e) {
|
|
5460
5462
|
return !0;
|
5461
5463
|
return !1;
|
5462
5464
|
}
|
5463
|
-
function
|
5465
|
+
function kA(t, e) {
|
5464
5466
|
if (typeof e != "function") throw new TypeError("test is not a function");
|
5465
5467
|
const n = [];
|
5466
5468
|
let r = -1;
|
@@ -5468,12 +5470,12 @@ function k5(t, e) {
|
|
5468
5470
|
e(i, ++r, t) && n.push(i);
|
5469
5471
|
return n;
|
5470
5472
|
}
|
5471
|
-
function
|
5473
|
+
function EA(t, e) {
|
5472
5474
|
if (typeof t[Symbol.iterator] != "function") throw new TypeError("values is not iterable");
|
5473
5475
|
if (typeof e != "function") throw new TypeError("mapper is not a function");
|
5474
5476
|
return Array.from(t, (n, r) => e(n, r, t));
|
5475
5477
|
}
|
5476
|
-
function
|
5478
|
+
function IA(t, e, n) {
|
5477
5479
|
if (typeof e != "function") throw new TypeError("reducer is not a function");
|
5478
5480
|
const r = t[Symbol.iterator]();
|
5479
5481
|
let i, o, a = -1;
|
@@ -5485,18 +5487,18 @@ function I5(t, e, n) {
|
|
5485
5487
|
n = e(n, o, ++a, t);
|
5486
5488
|
return n;
|
5487
5489
|
}
|
5488
|
-
function
|
5490
|
+
function RA(t) {
|
5489
5491
|
if (typeof t[Symbol.iterator] != "function") throw new TypeError("values is not iterable");
|
5490
5492
|
return Array.from(t).reverse();
|
5491
5493
|
}
|
5492
|
-
function
|
5494
|
+
function NA(t, ...e) {
|
5493
5495
|
t = new On(t);
|
5494
5496
|
for (const n of e)
|
5495
5497
|
for (const r of n)
|
5496
5498
|
t.delete(r);
|
5497
5499
|
return t;
|
5498
5500
|
}
|
5499
|
-
function
|
5501
|
+
function FA(t, e) {
|
5500
5502
|
const n = e[Symbol.iterator](), r = new On();
|
5501
5503
|
for (const i of t) {
|
5502
5504
|
if (r.has(i)) return !1;
|
@@ -5508,8 +5510,8 @@ function F5(t, e) {
|
|
5508
5510
|
}
|
5509
5511
|
return !0;
|
5510
5512
|
}
|
5511
|
-
function
|
5512
|
-
t = new On(t), e = e.map(
|
5513
|
+
function zA(t, ...e) {
|
5514
|
+
t = new On(t), e = e.map(GA);
|
5513
5515
|
t: for (const n of t)
|
5514
5516
|
for (const r of e)
|
5515
5517
|
if (!r.has(n)) {
|
@@ -5518,7 +5520,7 @@ function z5(t, ...e) {
|
|
5518
5520
|
}
|
5519
5521
|
return t;
|
5520
5522
|
}
|
5521
|
-
function
|
5523
|
+
function GA(t) {
|
5522
5524
|
return t instanceof On ? t : new On(t);
|
5523
5525
|
}
|
5524
5526
|
function l1(t, e) {
|
@@ -5538,39 +5540,39 @@ function l1(t, e) {
|
|
5538
5540
|
function Mp(t) {
|
5539
5541
|
return t !== null && typeof t == "object" ? t.valueOf() : t;
|
5540
5542
|
}
|
5541
|
-
function
|
5543
|
+
function OA(t, e) {
|
5542
5544
|
return l1(e, t);
|
5543
5545
|
}
|
5544
|
-
function
|
5546
|
+
function BA(...t) {
|
5545
5547
|
const e = new On();
|
5546
5548
|
for (const n of t)
|
5547
5549
|
for (const r of n)
|
5548
5550
|
e.add(r);
|
5549
5551
|
return e;
|
5550
5552
|
}
|
5551
|
-
function
|
5553
|
+
function YA(t) {
|
5552
5554
|
return t;
|
5553
5555
|
}
|
5554
5556
|
var ma = 1, ya = 2, ql = 3, bi = 4, Dp = 1e-6;
|
5555
|
-
function
|
5557
|
+
function UA(t) {
|
5556
5558
|
return "translate(" + t + ",0)";
|
5557
5559
|
}
|
5558
|
-
function
|
5560
|
+
function HA(t) {
|
5559
5561
|
return "translate(0," + t + ")";
|
5560
5562
|
}
|
5561
|
-
function
|
5563
|
+
function WA(t) {
|
5562
5564
|
return (e) => +t(e);
|
5563
5565
|
}
|
5564
|
-
function
|
5566
|
+
function jA(t, e) {
|
5565
5567
|
return e = Math.max(0, t.bandwidth() - e * 2) / 2, t.round() && (e = Math.round(e)), (n) => +t(n) + e;
|
5566
5568
|
}
|
5567
|
-
function
|
5569
|
+
function VA() {
|
5568
5570
|
return !this.__axis;
|
5569
5571
|
}
|
5570
5572
|
function Hs(t, e) {
|
5571
|
-
var n = [], r = null, i = null, o = 6, a = 6, s = 3, u = typeof window < "u" && window.devicePixelRatio > 1 ? 0 : 0.5, l = t === ma || t === bi ? -1 : 1, c = t === bi || t === ya ? "x" : "y", f = t === ma || t === ql ?
|
5573
|
+
var n = [], r = null, i = null, o = 6, a = 6, s = 3, u = typeof window < "u" && window.devicePixelRatio > 1 ? 0 : 0.5, l = t === ma || t === bi ? -1 : 1, c = t === bi || t === ya ? "x" : "y", f = t === ma || t === ql ? UA : HA;
|
5572
5574
|
function h(p) {
|
5573
|
-
var d = r ?? (e.ticks ? e.ticks.apply(e, n) : e.domain()), g = i ?? (e.tickFormat ? e.tickFormat.apply(e, n) :
|
5575
|
+
var d = r ?? (e.ticks ? e.ticks.apply(e, n) : e.domain()), g = i ?? (e.tickFormat ? e.tickFormat.apply(e, n) : YA), m = Math.max(o, 0) + s, y = e.range(), v = +y[0] + u, x = +y[y.length - 1] + u, b = (e.bandwidth ? jA : WA)(e.copy(), u), _ = p.selection ? p.selection() : p, M = _.selectAll(".domain").data([null]), D = _.selectAll(".tick").data(d, e).order(), $ = D.exit(), w = D.enter().append("g").attr("class", "tick"), P = D.select("line"), S = D.select("text");
|
5574
5576
|
M = M.merge(M.enter().insert("path", ".tick").attr("class", "domain").attr("stroke", "currentColor")), D = D.merge(w), P = P.merge(w.append("line").attr("stroke", "currentColor").attr(c + "2", l * o)), S = S.merge(w.append("text").attr("fill", "currentColor").attr(c, l * m).attr("dy", t === ma ? "0em" : t === ql ? "0.71em" : "0.32em")), p !== _ && (M = M.transition(p), D = D.transition(p), P = P.transition(p), S = S.transition(p), $ = $.transition(p).attr("opacity", Dp).attr("transform", function(N) {
|
5575
5577
|
return isFinite(N = b(N)) ? f(N + u) : this.getAttribute("transform");
|
5576
5578
|
}), w.attr("opacity", Dp).attr("transform", function(N) {
|
@@ -5578,7 +5580,7 @@ function Hs(t, e) {
|
|
5578
5580
|
return f((E && isFinite(E = E(N)) ? E : b(N)) + u);
|
5579
5581
|
})), $.remove(), M.attr("d", t === bi || t === ya ? a ? "M" + l * a + "," + v + "H" + u + "V" + x + "H" + l * a : "M" + u + "," + v + "V" + x : a ? "M" + v + "," + l * a + "V" + u + "H" + x + "V" + l * a : "M" + v + "," + u + "H" + x), D.attr("opacity", 1).attr("transform", function(N) {
|
5580
5582
|
return f(b(N) + u);
|
5581
|
-
}), P.attr(c + "2", l * o), S.attr(c, l * m).text(g), _.filter(
|
5583
|
+
}), P.attr(c + "2", l * o), S.attr(c, l * m).text(g), _.filter(VA).attr("fill", "none").attr("font-size", 10).attr("font-family", "sans-serif").attr("text-anchor", t === ya ? "start" : t === bi ? "end" : "middle"), _.each(function() {
|
5582
5584
|
this.__axis = b;
|
5583
5585
|
});
|
5584
5586
|
}
|
@@ -5607,16 +5609,16 @@ function Hs(t, e) {
|
|
5607
5609
|
function c1(t) {
|
5608
5610
|
return Hs(ma, t);
|
5609
5611
|
}
|
5610
|
-
function
|
5612
|
+
function qA(t) {
|
5611
5613
|
return Hs(ya, t);
|
5612
5614
|
}
|
5613
|
-
function
|
5615
|
+
function XA(t) {
|
5614
5616
|
return Hs(ql, t);
|
5615
5617
|
}
|
5616
5618
|
function f1(t) {
|
5617
5619
|
return Hs(bi, t);
|
5618
5620
|
}
|
5619
|
-
var
|
5621
|
+
var ZA = { value: () => {
|
5620
5622
|
} };
|
5621
5623
|
function tr() {
|
5622
5624
|
for (var t = 0, e = arguments.length, n = {}, r; t < e; ++t) {
|
@@ -5628,7 +5630,7 @@ function tr() {
|
|
5628
5630
|
function ba(t) {
|
5629
5631
|
this._ = t;
|
5630
5632
|
}
|
5631
|
-
function
|
5633
|
+
function KA(t, e) {
|
5632
5634
|
return t.trim().split(/^|\s+/).map(function(n) {
|
5633
5635
|
var r = "", i = n.indexOf(".");
|
5634
5636
|
if (i >= 0 && (r = n.slice(i + 1), n = n.slice(0, i)), n && !e.hasOwnProperty(n)) throw new Error("unknown type: " + n);
|
@@ -5638,9 +5640,9 @@ function K5(t, e) {
|
|
5638
5640
|
ba.prototype = tr.prototype = {
|
5639
5641
|
constructor: ba,
|
5640
5642
|
on: function(t, e) {
|
5641
|
-
var n = this._, r =
|
5643
|
+
var n = this._, r = KA(t + "", n), i, o = -1, a = r.length;
|
5642
5644
|
if (arguments.length < 2) {
|
5643
|
-
for (; ++o < a; ) if ((i = (t = r[o]).type) && (i =
|
5645
|
+
for (; ++o < a; ) if ((i = (t = r[o]).type) && (i = QA(n[i], t.name))) return i;
|
5644
5646
|
return;
|
5645
5647
|
}
|
5646
5648
|
if (e != null && typeof e != "function") throw new Error("invalid callback: " + e);
|
@@ -5664,7 +5666,7 @@ ba.prototype = tr.prototype = {
|
|
5664
5666
|
for (var r = this._[t], i = 0, o = r.length; i < o; ++i) r[i].value.apply(e, n);
|
5665
5667
|
}
|
5666
5668
|
};
|
5667
|
-
function
|
5669
|
+
function QA(t, e) {
|
5668
5670
|
for (var n = 0, r = t.length, i; n < r; ++n)
|
5669
5671
|
if ((i = t[n]).name === e)
|
5670
5672
|
return i.value;
|
@@ -5672,7 +5674,7 @@ function Q5(t, e) {
|
|
5672
5674
|
function Pp(t, e, n) {
|
5673
5675
|
for (var r = 0, i = t.length; r < i; ++r)
|
5674
5676
|
if (t[r].name === e) {
|
5675
|
-
t[r] =
|
5677
|
+
t[r] = ZA, t = t.slice(0, r).concat(t.slice(r + 1));
|
5676
5678
|
break;
|
5677
5679
|
}
|
5678
5680
|
return n != null && t.push({ name: e, value: n }), t;
|
@@ -5689,29 +5691,29 @@ function vo(t) {
|
|
5689
5691
|
var e = t += "", n = e.indexOf(":");
|
5690
5692
|
return n >= 0 && (e = t.slice(0, n)) !== "xmlns" && (t = t.slice(n + 1)), Zl.hasOwnProperty(e) ? { space: Zl[e], local: t } : t;
|
5691
5693
|
}
|
5692
|
-
function
|
5694
|
+
function JA(t) {
|
5693
5695
|
return function() {
|
5694
5696
|
var e = this.ownerDocument, n = this.namespaceURI;
|
5695
5697
|
return n === Xl && e.documentElement.namespaceURI === Xl ? e.createElement(t) : e.createElementNS(n, t);
|
5696
5698
|
};
|
5697
5699
|
}
|
5698
|
-
function
|
5700
|
+
function t5(t) {
|
5699
5701
|
return function() {
|
5700
5702
|
return this.ownerDocument.createElementNS(t.space, t.local);
|
5701
5703
|
};
|
5702
5704
|
}
|
5703
5705
|
function Ws(t) {
|
5704
5706
|
var e = vo(t);
|
5705
|
-
return (e.local ?
|
5707
|
+
return (e.local ? t5 : JA)(e);
|
5706
5708
|
}
|
5707
|
-
function
|
5709
|
+
function e5() {
|
5708
5710
|
}
|
5709
5711
|
function js(t) {
|
5710
|
-
return t == null ?
|
5712
|
+
return t == null ? e5 : function() {
|
5711
5713
|
return this.querySelector(t);
|
5712
5714
|
};
|
5713
5715
|
}
|
5714
|
-
function
|
5716
|
+
function n5(t) {
|
5715
5717
|
typeof t != "function" && (t = js(t));
|
5716
5718
|
for (var e = this._groups, n = e.length, r = new Array(n), i = 0; i < n; ++i)
|
5717
5719
|
for (var o = e[i], a = o.length, s = r[i] = new Array(a), u, l, c = 0; c < a; ++c)
|
@@ -5721,21 +5723,21 @@ function nA(t) {
|
|
5721
5723
|
function h1(t) {
|
5722
5724
|
return t == null ? [] : Array.isArray(t) ? t : Array.from(t);
|
5723
5725
|
}
|
5724
|
-
function
|
5726
|
+
function r5() {
|
5725
5727
|
return [];
|
5726
5728
|
}
|
5727
5729
|
function Cf(t) {
|
5728
|
-
return t == null ?
|
5730
|
+
return t == null ? r5 : function() {
|
5729
5731
|
return this.querySelectorAll(t);
|
5730
5732
|
};
|
5731
5733
|
}
|
5732
|
-
function
|
5734
|
+
function i5(t) {
|
5733
5735
|
return function() {
|
5734
5736
|
return h1(t.apply(this, arguments));
|
5735
5737
|
};
|
5736
5738
|
}
|
5737
|
-
function
|
5738
|
-
typeof t == "function" ? t =
|
5739
|
+
function o5(t) {
|
5740
|
+
typeof t == "function" ? t = i5(t) : t = Cf(t);
|
5739
5741
|
for (var e = this._groups, n = e.length, r = [], i = [], o = 0; o < n; ++o)
|
5740
5742
|
for (var a = e[o], s = a.length, u, l = 0; l < s; ++l)
|
5741
5743
|
(u = a[l]) && (r.push(t.call(u, u.__data__, l, a)), i.push(u));
|
@@ -5751,31 +5753,31 @@ function p1(t) {
|
|
5751
5753
|
return e.matches(t);
|
5752
5754
|
};
|
5753
5755
|
}
|
5754
|
-
var
|
5755
|
-
function
|
5756
|
+
var a5 = Array.prototype.find;
|
5757
|
+
function s5(t) {
|
5756
5758
|
return function() {
|
5757
|
-
return
|
5759
|
+
return a5.call(this.children, t);
|
5758
5760
|
};
|
5759
5761
|
}
|
5760
|
-
function
|
5762
|
+
function u5() {
|
5761
5763
|
return this.firstElementChild;
|
5762
5764
|
}
|
5763
|
-
function
|
5764
|
-
return this.select(t == null ?
|
5765
|
+
function l5(t) {
|
5766
|
+
return this.select(t == null ? u5 : s5(typeof t == "function" ? t : p1(t)));
|
5765
5767
|
}
|
5766
|
-
var
|
5767
|
-
function
|
5768
|
+
var c5 = Array.prototype.filter;
|
5769
|
+
function f5() {
|
5768
5770
|
return Array.from(this.children);
|
5769
5771
|
}
|
5770
|
-
function
|
5772
|
+
function h5(t) {
|
5771
5773
|
return function() {
|
5772
|
-
return
|
5774
|
+
return c5.call(this.children, t);
|
5773
5775
|
};
|
5774
5776
|
}
|
5775
|
-
function
|
5776
|
-
return this.selectAll(t == null ?
|
5777
|
+
function p5(t) {
|
5778
|
+
return this.selectAll(t == null ? f5 : h5(typeof t == "function" ? t : p1(t)));
|
5777
5779
|
}
|
5778
|
-
function
|
5780
|
+
function d5(t) {
|
5779
5781
|
typeof t != "function" && (t = Lf(t));
|
5780
5782
|
for (var e = this._groups, n = e.length, r = new Array(n), i = 0; i < n; ++i)
|
5781
5783
|
for (var o = e[i], a = o.length, s = r[i] = [], u, l = 0; l < a; ++l)
|
@@ -5785,7 +5787,7 @@ function dA(t) {
|
|
5785
5787
|
function d1(t) {
|
5786
5788
|
return new Array(t.length);
|
5787
5789
|
}
|
5788
|
-
function
|
5790
|
+
function g5() {
|
5789
5791
|
return new Zt(this._enter || this._groups.map(d1), this._parents);
|
5790
5792
|
}
|
5791
5793
|
function Va(t, e) {
|
@@ -5806,18 +5808,18 @@ Va.prototype = {
|
|
5806
5808
|
return this._parent.querySelectorAll(t);
|
5807
5809
|
}
|
5808
5810
|
};
|
5809
|
-
function
|
5811
|
+
function m5(t) {
|
5810
5812
|
return function() {
|
5811
5813
|
return t;
|
5812
5814
|
};
|
5813
5815
|
}
|
5814
|
-
function
|
5816
|
+
function y5(t, e, n, r, i, o) {
|
5815
5817
|
for (var a = 0, s, u = e.length, l = o.length; a < l; ++a)
|
5816
5818
|
(s = e[a]) ? (s.__data__ = o[a], r[a] = s) : n[a] = new Va(t, o[a]);
|
5817
5819
|
for (; a < u; ++a)
|
5818
5820
|
(s = e[a]) && (i[a] = s);
|
5819
5821
|
}
|
5820
|
-
function
|
5822
|
+
function b5(t, e, n, r, i, o, a) {
|
5821
5823
|
var s, u, l = /* @__PURE__ */ new Map(), c = e.length, f = o.length, h = new Array(c), p;
|
5822
5824
|
for (s = 0; s < c; ++s)
|
5823
5825
|
(u = e[s]) && (h[s] = p = a.call(u, u.__data__, s, e) + "", l.has(p) ? i[s] = u : l.set(p, u));
|
@@ -5826,15 +5828,15 @@ function bA(t, e, n, r, i, o, a) {
|
|
5826
5828
|
for (s = 0; s < c; ++s)
|
5827
5829
|
(u = e[s]) && l.get(h[s]) === u && (i[s] = u);
|
5828
5830
|
}
|
5829
|
-
function
|
5831
|
+
function v5(t) {
|
5830
5832
|
return t.__data__;
|
5831
5833
|
}
|
5832
|
-
function
|
5833
|
-
if (!arguments.length) return Array.from(this,
|
5834
|
-
var n = e ?
|
5835
|
-
typeof t != "function" && (t =
|
5834
|
+
function x5(t, e) {
|
5835
|
+
if (!arguments.length) return Array.from(this, v5);
|
5836
|
+
var n = e ? b5 : y5, r = this._parents, i = this._groups;
|
5837
|
+
typeof t != "function" && (t = m5(t));
|
5836
5838
|
for (var o = i.length, a = new Array(o), s = new Array(o), u = new Array(o), l = 0; l < o; ++l) {
|
5837
|
-
var c = r[l], f = i[l], h = f.length, p =
|
5839
|
+
var c = r[l], f = i[l], h = f.length, p = _5(t.call(c, c && c.__data__, l, r)), d = p.length, g = s[l] = new Array(d), m = a[l] = new Array(d), y = u[l] = new Array(h);
|
5838
5840
|
n(c, f, g, m, y, p, e);
|
5839
5841
|
for (var v = 0, x = 0, b, _; v < d; ++v)
|
5840
5842
|
if (b = g[v]) {
|
@@ -5844,17 +5846,17 @@ function xA(t, e) {
|
|
5844
5846
|
}
|
5845
5847
|
return a = new Zt(a, r), a._enter = s, a._exit = u, a;
|
5846
5848
|
}
|
5847
|
-
function
|
5849
|
+
function _5(t) {
|
5848
5850
|
return typeof t == "object" && "length" in t ? t : Array.from(t);
|
5849
5851
|
}
|
5850
|
-
function
|
5852
|
+
function w5() {
|
5851
5853
|
return new Zt(this._exit || this._groups.map(d1), this._parents);
|
5852
5854
|
}
|
5853
|
-
function $
|
5855
|
+
function $5(t, e, n) {
|
5854
5856
|
var r = this.enter(), i = this, o = this.exit();
|
5855
5857
|
return typeof t == "function" ? (r = t(r), r && (r = r.selection())) : r = r.append(t + ""), e != null && (i = e(i), i && (i = i.selection())), n == null ? o.remove() : n(o), r && i ? r.merge(i).order() : i;
|
5856
5858
|
}
|
5857
|
-
function
|
5859
|
+
function S5(t) {
|
5858
5860
|
for (var e = t.selection ? t.selection() : t, n = this._groups, r = e._groups, i = n.length, o = r.length, a = Math.min(i, o), s = new Array(i), u = 0; u < a; ++u)
|
5859
5861
|
for (var l = n[u], c = r[u], f = l.length, h = s[u] = new Array(f), p, d = 0; d < f; ++d)
|
5860
5862
|
(p = l[d] || c[d]) && (h[d] = p);
|
@@ -5862,14 +5864,14 @@ function SA(t) {
|
|
5862
5864
|
s[u] = n[u];
|
5863
5865
|
return new Zt(s, this._parents);
|
5864
5866
|
}
|
5865
|
-
function
|
5867
|
+
function A5() {
|
5866
5868
|
for (var t = this._groups, e = -1, n = t.length; ++e < n; )
|
5867
5869
|
for (var r = t[e], i = r.length - 1, o = r[i], a; --i >= 0; )
|
5868
5870
|
(a = r[i]) && (o && a.compareDocumentPosition(o) ^ 4 && o.parentNode.insertBefore(a, o), o = a);
|
5869
5871
|
return this;
|
5870
5872
|
}
|
5871
|
-
function
|
5872
|
-
t || (t =
|
5873
|
+
function M5(t) {
|
5874
|
+
t || (t = D5);
|
5873
5875
|
function e(f, h) {
|
5874
5876
|
return f && h ? t(f.__data__, h.__data__) : !f - !h;
|
5875
5877
|
}
|
@@ -5880,17 +5882,17 @@ function MA(t) {
|
|
5880
5882
|
}
|
5881
5883
|
return new Zt(i, this._parents).order();
|
5882
5884
|
}
|
5883
|
-
function
|
5885
|
+
function D5(t, e) {
|
5884
5886
|
return t < e ? -1 : t > e ? 1 : t >= e ? 0 : NaN;
|
5885
5887
|
}
|
5886
|
-
function
|
5888
|
+
function P5() {
|
5887
5889
|
var t = arguments[0];
|
5888
5890
|
return arguments[0] = this, t.apply(null, arguments), this;
|
5889
5891
|
}
|
5890
|
-
function
|
5892
|
+
function T5() {
|
5891
5893
|
return Array.from(this);
|
5892
5894
|
}
|
5893
|
-
function
|
5895
|
+
function C5() {
|
5894
5896
|
for (var t = this._groups, e = 0, n = t.length; e < n; ++e)
|
5895
5897
|
for (var r = t[e], i = 0, o = r.length; i < o; ++i) {
|
5896
5898
|
var a = r[i];
|
@@ -5898,103 +5900,103 @@ function CA() {
|
|
5898
5900
|
}
|
5899
5901
|
return null;
|
5900
5902
|
}
|
5901
|
-
function
|
5903
|
+
function L5() {
|
5902
5904
|
let t = 0;
|
5903
5905
|
for (const e of this) ++t;
|
5904
5906
|
return t;
|
5905
5907
|
}
|
5906
|
-
function
|
5908
|
+
function k5() {
|
5907
5909
|
return !this.node();
|
5908
5910
|
}
|
5909
|
-
function
|
5911
|
+
function E5(t) {
|
5910
5912
|
for (var e = this._groups, n = 0, r = e.length; n < r; ++n)
|
5911
5913
|
for (var i = e[n], o = 0, a = i.length, s; o < a; ++o)
|
5912
5914
|
(s = i[o]) && t.call(s, s.__data__, o, i);
|
5913
5915
|
return this;
|
5914
5916
|
}
|
5915
|
-
function
|
5917
|
+
function I5(t) {
|
5916
5918
|
return function() {
|
5917
5919
|
this.removeAttribute(t);
|
5918
5920
|
};
|
5919
5921
|
}
|
5920
|
-
function
|
5922
|
+
function R5(t) {
|
5921
5923
|
return function() {
|
5922
5924
|
this.removeAttributeNS(t.space, t.local);
|
5923
5925
|
};
|
5924
5926
|
}
|
5925
|
-
function
|
5927
|
+
function N5(t, e) {
|
5926
5928
|
return function() {
|
5927
5929
|
this.setAttribute(t, e);
|
5928
5930
|
};
|
5929
5931
|
}
|
5930
|
-
function
|
5932
|
+
function F5(t, e) {
|
5931
5933
|
return function() {
|
5932
5934
|
this.setAttributeNS(t.space, t.local, e);
|
5933
5935
|
};
|
5934
5936
|
}
|
5935
|
-
function
|
5937
|
+
function z5(t, e) {
|
5936
5938
|
return function() {
|
5937
5939
|
var n = e.apply(this, arguments);
|
5938
5940
|
n == null ? this.removeAttribute(t) : this.setAttribute(t, n);
|
5939
5941
|
};
|
5940
5942
|
}
|
5941
|
-
function
|
5943
|
+
function G5(t, e) {
|
5942
5944
|
return function() {
|
5943
5945
|
var n = e.apply(this, arguments);
|
5944
5946
|
n == null ? this.removeAttributeNS(t.space, t.local) : this.setAttributeNS(t.space, t.local, n);
|
5945
5947
|
};
|
5946
5948
|
}
|
5947
|
-
function
|
5949
|
+
function O5(t, e) {
|
5948
5950
|
var n = vo(t);
|
5949
5951
|
if (arguments.length < 2) {
|
5950
5952
|
var r = this.node();
|
5951
5953
|
return n.local ? r.getAttributeNS(n.space, n.local) : r.getAttribute(n);
|
5952
5954
|
}
|
5953
|
-
return this.each((e == null ? n.local ?
|
5955
|
+
return this.each((e == null ? n.local ? R5 : I5 : typeof e == "function" ? n.local ? G5 : z5 : n.local ? F5 : N5)(n, e));
|
5954
5956
|
}
|
5955
5957
|
function kf(t) {
|
5956
5958
|
return t.ownerDocument && t.ownerDocument.defaultView || t.document && t || t.defaultView;
|
5957
5959
|
}
|
5958
|
-
function
|
5960
|
+
function B5(t) {
|
5959
5961
|
return function() {
|
5960
5962
|
this.style.removeProperty(t);
|
5961
5963
|
};
|
5962
5964
|
}
|
5963
|
-
function
|
5965
|
+
function Y5(t, e, n) {
|
5964
5966
|
return function() {
|
5965
5967
|
this.style.setProperty(t, e, n);
|
5966
5968
|
};
|
5967
5969
|
}
|
5968
|
-
function
|
5970
|
+
function U5(t, e, n) {
|
5969
5971
|
return function() {
|
5970
5972
|
var r = e.apply(this, arguments);
|
5971
5973
|
r == null ? this.style.removeProperty(t) : this.style.setProperty(t, r, n);
|
5972
5974
|
};
|
5973
5975
|
}
|
5974
|
-
function
|
5975
|
-
return arguments.length > 1 ? this.each((e == null ?
|
5976
|
+
function H5(t, e, n) {
|
5977
|
+
return arguments.length > 1 ? this.each((e == null ? B5 : typeof e == "function" ? U5 : Y5)(t, e, n ?? "")) : Un(this.node(), t);
|
5976
5978
|
}
|
5977
5979
|
function Un(t, e) {
|
5978
5980
|
return t.style.getPropertyValue(e) || kf(t).getComputedStyle(t, null).getPropertyValue(e);
|
5979
5981
|
}
|
5980
|
-
function
|
5982
|
+
function W5(t) {
|
5981
5983
|
return function() {
|
5982
5984
|
delete this[t];
|
5983
5985
|
};
|
5984
5986
|
}
|
5985
|
-
function
|
5987
|
+
function j5(t, e) {
|
5986
5988
|
return function() {
|
5987
5989
|
this[t] = e;
|
5988
5990
|
};
|
5989
5991
|
}
|
5990
|
-
function
|
5992
|
+
function V5(t, e) {
|
5991
5993
|
return function() {
|
5992
5994
|
var n = e.apply(this, arguments);
|
5993
5995
|
n == null ? delete this[t] : this[t] = n;
|
5994
5996
|
};
|
5995
5997
|
}
|
5996
|
-
function
|
5997
|
-
return arguments.length > 1 ? this.each((e == null ?
|
5998
|
+
function q5(t, e) {
|
5999
|
+
return arguments.length > 1 ? this.each((e == null ? W5 : typeof e == "function" ? V5 : j5)(t, e)) : this.node()[t];
|
5998
6000
|
}
|
5999
6001
|
function g1(t) {
|
6000
6002
|
return t.trim().split(/^|\s+/);
|
@@ -6024,30 +6026,30 @@ function y1(t, e) {
|
|
6024
6026
|
function b1(t, e) {
|
6025
6027
|
for (var n = Ef(t), r = -1, i = e.length; ++r < i; ) n.remove(e[r]);
|
6026
6028
|
}
|
6027
|
-
function
|
6029
|
+
function X5(t) {
|
6028
6030
|
return function() {
|
6029
6031
|
y1(this, t);
|
6030
6032
|
};
|
6031
6033
|
}
|
6032
|
-
function
|
6034
|
+
function Z5(t) {
|
6033
6035
|
return function() {
|
6034
6036
|
b1(this, t);
|
6035
6037
|
};
|
6036
6038
|
}
|
6037
|
-
function
|
6039
|
+
function K5(t, e) {
|
6038
6040
|
return function() {
|
6039
6041
|
(e.apply(this, arguments) ? y1 : b1)(this, t);
|
6040
6042
|
};
|
6041
6043
|
}
|
6042
|
-
function
|
6044
|
+
function Q5(t, e) {
|
6043
6045
|
var n = g1(t + "");
|
6044
6046
|
if (arguments.length < 2) {
|
6045
6047
|
for (var r = Ef(this.node()), i = -1, o = n.length; ++i < o; ) if (!r.contains(n[i])) return !1;
|
6046
6048
|
return !0;
|
6047
6049
|
}
|
6048
|
-
return this.each((typeof e == "function" ?
|
6050
|
+
return this.each((typeof e == "function" ? K5 : e ? X5 : Z5)(n, e));
|
6049
6051
|
}
|
6050
|
-
function
|
6052
|
+
function J5() {
|
6051
6053
|
this.textContent = "";
|
6052
6054
|
}
|
6053
6055
|
function t6(t) {
|
@@ -6062,7 +6064,7 @@ function e6(t) {
|
|
6062
6064
|
};
|
6063
6065
|
}
|
6064
6066
|
function n6(t) {
|
6065
|
-
return arguments.length ? this.each(t == null ?
|
6067
|
+
return arguments.length ? this.each(t == null ? J5 : (typeof t == "function" ? e6 : t6)(t)) : this.node().textContent;
|
6066
6068
|
}
|
6067
6069
|
function r6() {
|
6068
6070
|
this.innerHTML = "";
|
@@ -6212,29 +6214,29 @@ function T6() {
|
|
6212
6214
|
}
|
6213
6215
|
Zt.prototype = er.prototype = {
|
6214
6216
|
constructor: Zt,
|
6215
|
-
select:
|
6216
|
-
selectAll:
|
6217
|
-
selectChild:
|
6218
|
-
selectChildren:
|
6219
|
-
filter:
|
6220
|
-
data:
|
6221
|
-
enter:
|
6222
|
-
exit:
|
6223
|
-
join: $
|
6224
|
-
merge:
|
6217
|
+
select: n5,
|
6218
|
+
selectAll: o5,
|
6219
|
+
selectChild: l5,
|
6220
|
+
selectChildren: p5,
|
6221
|
+
filter: d5,
|
6222
|
+
data: x5,
|
6223
|
+
enter: g5,
|
6224
|
+
exit: w5,
|
6225
|
+
join: $5,
|
6226
|
+
merge: S5,
|
6225
6227
|
selection: T6,
|
6226
|
-
order:
|
6227
|
-
sort:
|
6228
|
-
call:
|
6229
|
-
nodes:
|
6230
|
-
node:
|
6231
|
-
size:
|
6232
|
-
empty:
|
6233
|
-
each:
|
6234
|
-
attr:
|
6235
|
-
style:
|
6236
|
-
property:
|
6237
|
-
classed:
|
6228
|
+
order: A5,
|
6229
|
+
sort: M5,
|
6230
|
+
call: P5,
|
6231
|
+
nodes: T5,
|
6232
|
+
node: C5,
|
6233
|
+
size: L5,
|
6234
|
+
empty: k5,
|
6235
|
+
each: E5,
|
6236
|
+
attr: O5,
|
6237
|
+
style: H5,
|
6238
|
+
property: q5,
|
6239
|
+
classed: Q5,
|
6238
6240
|
text: n6,
|
6239
6241
|
html: a6,
|
6240
6242
|
raise: u6,
|
@@ -15899,9 +15901,9 @@ const Yh = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
15899
15901
|
areaRadial: Eg,
|
15900
15902
|
ascending: wt,
|
15901
15903
|
autoType: DD,
|
15902
|
-
axisBottom:
|
15904
|
+
axisBottom: XA,
|
15903
15905
|
axisLeft: f1,
|
15904
|
-
axisRight:
|
15906
|
+
axisRight: qA,
|
15905
15907
|
axisTop: c1,
|
15906
15908
|
bin: Ap,
|
15907
15909
|
bisect: Jn,
|
@@ -15928,7 +15930,7 @@ const Yh = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
15928
15930
|
count: Ys,
|
15929
15931
|
create: C6,
|
15930
15932
|
creator: Ws,
|
15931
|
-
cross:
|
15933
|
+
cross: tA,
|
15932
15934
|
csv: RD,
|
15933
15935
|
csvFormat: mD,
|
15934
15936
|
csvFormatBody: yD,
|
@@ -15938,7 +15940,7 @@ const Yh = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
15938
15940
|
csvParse: my,
|
15939
15941
|
csvParseRows: gD,
|
15940
15942
|
cubehelix: De,
|
15941
|
-
cumsum:
|
15943
|
+
cumsum: eA,
|
15942
15944
|
curveBasis: xk,
|
15943
15945
|
curveBasisClosed: _k,
|
15944
15946
|
curveBasisOpen: wk,
|
@@ -15961,8 +15963,8 @@ const Yh = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
15961
15963
|
curveStepBefore: Rk,
|
15962
15964
|
descending: Gm,
|
15963
15965
|
deviation: Wm,
|
15964
|
-
difference:
|
15965
|
-
disjoint:
|
15966
|
+
difference: NA,
|
15967
|
+
disjoint: FA,
|
15966
15968
|
dispatch: tr,
|
15967
15969
|
drag: w1,
|
15968
15970
|
dragDisable: Vs,
|
@@ -16006,12 +16008,12 @@ const Yh = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
16006
16008
|
easeSinIn: E4,
|
16007
16009
|
easeSinInOut: jp,
|
16008
16010
|
easeSinOut: I4,
|
16009
|
-
every:
|
16011
|
+
every: CA,
|
16010
16012
|
extent: Ci,
|
16011
|
-
fcumsum:
|
16012
|
-
filter:
|
16013
|
-
flatGroup:
|
16014
|
-
flatRollup:
|
16013
|
+
fcumsum: rA,
|
16014
|
+
filter: kA,
|
16015
|
+
flatGroup: iA,
|
16016
|
+
flatRollup: oA,
|
16015
16017
|
forceCenter: UD,
|
16016
16018
|
forceCollide: xy,
|
16017
16019
|
forceLink: l7,
|
@@ -16029,7 +16031,7 @@ const Yh = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
16029
16031
|
return Qf;
|
16030
16032
|
},
|
16031
16033
|
formatSpecifier: Ur,
|
16032
|
-
fsum:
|
16034
|
+
fsum: nA,
|
16033
16035
|
geoAlbers: fb,
|
16034
16036
|
geoAlbersUsa: wP,
|
16035
16037
|
geoArea: D7,
|
@@ -16081,9 +16083,9 @@ const Yh = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
16081
16083
|
geoTransverseMercatorRaw: gh,
|
16082
16084
|
gray: Z6,
|
16083
16085
|
greatest: n1,
|
16084
|
-
greatestIndex:
|
16086
|
+
greatestIndex: AA,
|
16085
16087
|
group: Xm,
|
16086
|
-
groupSort:
|
16088
|
+
groupSort: uA,
|
16087
16089
|
groups: Zm,
|
16088
16090
|
hcl: Qa,
|
16089
16091
|
hierarchy: lu,
|
@@ -16091,8 +16093,8 @@ const Yh = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
16091
16093
|
hsl: Xa,
|
16092
16094
|
html: BD,
|
16093
16095
|
image: FD,
|
16094
|
-
index:
|
16095
|
-
indexes:
|
16096
|
+
index: aA,
|
16097
|
+
indexes: sA,
|
16096
16098
|
interpolate: an,
|
16097
16099
|
interpolateArray: n8,
|
16098
16100
|
interpolateBasis: N1,
|
@@ -16157,14 +16159,14 @@ const Yh = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
16157
16159
|
interpolateYlOrRd: DL,
|
16158
16160
|
interpolateZoom: X1,
|
16159
16161
|
interrupt: Fn,
|
16160
|
-
intersection:
|
16162
|
+
intersection: zA,
|
16161
16163
|
interval: w8,
|
16162
16164
|
isoFormat: OC,
|
16163
16165
|
isoParse: UC,
|
16164
16166
|
json: GD,
|
16165
16167
|
lab: Ka,
|
16166
16168
|
lch: K6,
|
16167
|
-
least:
|
16169
|
+
least: SA,
|
16168
16170
|
leastIndex: o1,
|
16169
16171
|
line: Au,
|
16170
16172
|
lineRadial: kg,
|
@@ -16173,17 +16175,17 @@ const Yh = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
16173
16175
|
linkRadial: ck,
|
16174
16176
|
linkVertical: lk,
|
16175
16177
|
local: x1,
|
16176
|
-
map:
|
16178
|
+
map: EA,
|
16177
16179
|
matcher: Lf,
|
16178
16180
|
max: Vi,
|
16179
16181
|
maxIndex: Df,
|
16180
|
-
mean:
|
16181
|
-
median:
|
16182
|
-
medianIndex:
|
16182
|
+
mean: mA,
|
16183
|
+
median: yA,
|
16184
|
+
medianIndex: bA,
|
16183
16185
|
merge: Tf,
|
16184
16186
|
min: ja,
|
16185
16187
|
minIndex: Pf,
|
16186
|
-
mode:
|
16188
|
+
mode: xA,
|
16187
16189
|
namespace: vo,
|
16188
16190
|
namespaces: Zl,
|
16189
16191
|
nice: Af,
|
@@ -16191,7 +16193,7 @@ const Yh = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
16191
16193
|
pack: x9,
|
16192
16194
|
packEnclose: d9,
|
16193
16195
|
packSiblings: b9,
|
16194
|
-
pairs:
|
16196
|
+
pairs: _A,
|
16195
16197
|
partition: _9,
|
16196
16198
|
path: qf,
|
16197
16199
|
pathRound: $M,
|
@@ -16236,9 +16238,9 @@ const Yh = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
16236
16238
|
randomUniform: U9,
|
16237
16239
|
randomWeibull: Z9,
|
16238
16240
|
range: fn,
|
16239
|
-
rank: $
|
16240
|
-
reduce:
|
16241
|
-
reverse:
|
16241
|
+
rank: $A,
|
16242
|
+
reduce: IA,
|
16243
|
+
reverse: RA,
|
16242
16244
|
rgb: Gr,
|
16243
16245
|
ribbon: LM,
|
16244
16246
|
ribbonArrow: kM,
|
@@ -16271,7 +16273,7 @@ const Yh = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
16271
16273
|
scaleThreshold: Gb,
|
16272
16274
|
scaleTime: jC,
|
16273
16275
|
scaleUtc: VC,
|
16274
|
-
scan:
|
16276
|
+
scan: MA,
|
16275
16277
|
schemeAccent: KC,
|
16276
16278
|
schemeBlues: Rv,
|
16277
16279
|
schemeBrBG: dv,
|
@@ -16315,9 +16317,9 @@ const Yh = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
16315
16317
|
selection: er,
|
16316
16318
|
selector: js,
|
16317
16319
|
selectorAll: Cf,
|
16318
|
-
shuffle:
|
16320
|
+
shuffle: DA,
|
16319
16321
|
shuffler: a1,
|
16320
|
-
some:
|
16322
|
+
some: LA,
|
16321
16323
|
sort: Vl,
|
16322
16324
|
stack: Gk,
|
16323
16325
|
stackOffsetDiverging: Bk,
|
@@ -16333,7 +16335,7 @@ const Yh = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
16333
16335
|
stackOrderReverse: Vk,
|
16334
16336
|
stratify: A9,
|
16335
16337
|
style: Un,
|
16336
|
-
subset:
|
16338
|
+
subset: OA,
|
16337
16339
|
sum: s1,
|
16338
16340
|
superset: l1,
|
16339
16341
|
svg: YD,
|
@@ -16356,8 +16358,8 @@ const Yh = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
16356
16358
|
symbolsFill: Ig,
|
16357
16359
|
symbolsStroke: bk,
|
16358
16360
|
text: iu,
|
16359
|
-
thresholdFreedmanDiaconis:
|
16360
|
-
thresholdScott:
|
16361
|
+
thresholdFreedmanDiaconis: dA,
|
16362
|
+
thresholdScott: gA,
|
16361
16363
|
thresholdSturges: Mf,
|
16362
16364
|
tickFormat: Lb,
|
16363
16365
|
tickIncrement: Yn,
|
@@ -16425,7 +16427,7 @@ const Yh = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
16425
16427
|
tsvFormatValue: MD,
|
16426
16428
|
tsvParse: yy,
|
16427
16429
|
tsvParseRows: _D,
|
16428
|
-
union:
|
16430
|
+
union: BA,
|
16429
16431
|
unixDay: Ph,
|
16430
16432
|
unixDays: wT,
|
16431
16433
|
utcDay: ko,
|
@@ -16469,7 +16471,7 @@ const Yh = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
16469
16471
|
variance: Hm,
|
16470
16472
|
window: kf,
|
16471
16473
|
xml: OD,
|
16472
|
-
zip:
|
16474
|
+
zip: TA,
|
16473
16475
|
zoom: _x,
|
16474
16476
|
zoomIdentity: Cu,
|
16475
16477
|
zoomTransform: xx
|
@@ -16646,6 +16648,7 @@ const ar = ({ selection: t, pluginName: e, clipPathID: n, seriesLabels$: r, grid
|
|
16646
16648
|
const d = p.dataFormatter.grid.valueAxis.position === "right" || p.dataFormatter.grid.valueAxis.position === "bottom", g = Nm({
|
16647
16649
|
axisLabels: p.scaleRangeGroupLabels,
|
16648
16650
|
axisWidth: p.axisSize.width,
|
16651
|
+
padding: p.dataFormatter.grid.groupAxis.scalePadding,
|
16649
16652
|
reverse: d
|
16650
16653
|
}), m = (v) => p.dataFormatter.grid.groupAxis.position === "bottom" || p.dataFormatter.grid.groupAxis.position === "top" ? v.offsetX - p.fullChartParams.padding.left : v.offsetY - p.fullChartParams.padding.top, y = (v) => {
|
16651
16654
|
const x = {
|
@@ -16691,12 +16694,14 @@ const ar = ({ selection: t, pluginName: e, clipPathID: n, seriesLabels$: r, grid
|
|
16691
16694
|
), h = U({
|
16692
16695
|
reverse: f,
|
16693
16696
|
gridAxesSize: n,
|
16694
|
-
scaleRangeGroupLabels: c
|
16697
|
+
scaleRangeGroupLabels: c,
|
16698
|
+
fullDataFormatter: e
|
16695
16699
|
}).pipe(
|
16696
16700
|
H(async (v) => v),
|
16697
16701
|
z((v) => Nm({
|
16698
16702
|
axisLabels: v.scaleRangeGroupLabels,
|
16699
16703
|
axisWidth: v.gridAxesSize.width,
|
16704
|
+
padding: v.fullDataFormatter.grid.groupAxis.scalePadding,
|
16700
16705
|
reverse: v.reverse
|
16701
16706
|
}))
|
16702
16707
|
), p = o.pipe(
|