@orbcharts/plugins-basic 3.0.0-alpha.46 → 3.0.0-alpha.47
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/orbcharts-plugins-basic.es.js +648 -636
- package/dist/orbcharts-plugins-basic.umd.js +7 -7
- package/package.json +2 -2
- package/src/multiGrid/plugins/MultiBarStack.ts +41 -37
- package/src/multiGrid/plugins/MultiBars.ts +40 -36
- package/src/multiGrid/plugins/MultiBarsTriangle.ts +40 -36
- package/src/multiGrid/plugins/MultiDots.ts +36 -31
- package/src/multiGrid/plugins/MultiGroupAxis.ts +32 -28
- package/src/multiGrid/plugins/MultiLineAreas.ts +37 -32
- package/src/multiGrid/plugins/MultiLines.ts +36 -31
- package/src/multiGrid/plugins/MultiValueAxis.ts +32 -28
- package/src/multiGrid/plugins/OverlappingValueAxes.ts +37 -33
- package/src/series/plugins/Pie.ts +60 -52
- package/src/series/plugins/PieEventTexts.ts +30 -26
- package/src/series/plugins/PieLabels.ts +34 -30
@@ -209,7 +209,7 @@ function Cr(t, e) {
|
|
209
209
|
}
|
210
210
|
return o;
|
211
211
|
}
|
212
|
-
function
|
212
|
+
function Fi(t, e, n) {
|
213
213
|
if (n || arguments.length === 2) for (var r = 0, i = e.length, o; r < i; r++)
|
214
214
|
(o || !(r in e)) && (o || (o = Array.prototype.slice.call(e, 0, r)), o[r] = e[r]);
|
215
215
|
return t.concat(o || Array.prototype.slice.call(e));
|
@@ -341,7 +341,7 @@ var Ls = function() {
|
|
341
341
|
try {
|
342
342
|
Wh(d);
|
343
343
|
} catch (g) {
|
344
|
-
o = o ?? [], g instanceof Pu ? o =
|
344
|
+
o = o ?? [], g instanceof Pu ? o = Fi(Fi([], Cr(o)), Cr(g.errors)) : o.push(g);
|
345
345
|
}
|
346
346
|
}
|
347
347
|
} catch (g) {
|
@@ -403,7 +403,7 @@ var M0 = {
|
|
403
403
|
setTimeout: function(t, e) {
|
404
404
|
for (var n = [], r = 2; r < arguments.length; r++)
|
405
405
|
n[r - 2] = arguments[r];
|
406
|
-
return setTimeout.apply(void 0,
|
406
|
+
return setTimeout.apply(void 0, Fi([t, e], Cr(n)));
|
407
407
|
},
|
408
408
|
clearTimeout: function(t) {
|
409
409
|
var e = D0.delegate;
|
@@ -428,7 +428,7 @@ var Kl = function(t) {
|
|
428
428
|
return r.isStopped = !1, n ? (r.destination = n, A0(n) && n.add(r)) : r.destination = lx, r;
|
429
429
|
}
|
430
430
|
return e.create = function(n, r, i) {
|
431
|
-
return new
|
431
|
+
return new zi(n, r, i);
|
432
432
|
}, e.prototype.next = function(n) {
|
433
433
|
this.isStopped || this._next(n);
|
434
434
|
}, e.prototype.error = function(n) {
|
@@ -487,7 +487,7 @@ var ux = function() {
|
|
487
487
|
Eo(n);
|
488
488
|
}
|
489
489
|
}, t;
|
490
|
-
}(),
|
490
|
+
}(), zi = function(t) {
|
491
491
|
Jr(e, t);
|
492
492
|
function e(n, r, i) {
|
493
493
|
var o = t.call(this) || this, a;
|
@@ -543,7 +543,7 @@ var ht = function() {
|
|
543
543
|
var n = new t();
|
544
544
|
return n.source = this, n.operator = e, n;
|
545
545
|
}, t.prototype.subscribe = function(e, n, r) {
|
546
|
-
var i = this, o = px(e) ? e : new
|
546
|
+
var i = this, o = px(e) ? e : new zi(e, n, r);
|
547
547
|
return sa(function() {
|
548
548
|
var a = i, s = a.operator, u = a.source;
|
549
549
|
o.add(s ? s.call(o, u) : u ? i._subscribe(o) : i._trySubscribe(o));
|
@@ -557,7 +557,7 @@ var ht = function() {
|
|
557
557
|
}, t.prototype.forEach = function(e, n) {
|
558
558
|
var r = this;
|
559
559
|
return n = qh(n), new n(function(i, o) {
|
560
|
-
var a = new
|
560
|
+
var a = new zi({
|
561
561
|
next: function(s) {
|
562
562
|
try {
|
563
563
|
e(s);
|
@@ -1098,7 +1098,7 @@ function B(t, e) {
|
|
1098
1098
|
}
|
1099
1099
|
var Ix = Array.isArray;
|
1100
1100
|
function Rx(t, e) {
|
1101
|
-
return Ix(e) ? t.apply(void 0,
|
1101
|
+
return Ix(e) ? t.apply(void 0, Fi([], Cr(e))) : t(e);
|
1102
1102
|
}
|
1103
1103
|
function H0(t) {
|
1104
1104
|
return B(function(e) {
|
@@ -1264,7 +1264,7 @@ function Tc() {
|
|
1264
1264
|
var n = tf(t), r = xx(t, 1 / 0), i = t;
|
1265
1265
|
return i.length ? i.length === 1 ? ye(i[0]) : Wx(r)(Cs(i, n)) : L0;
|
1266
1266
|
}
|
1267
|
-
function
|
1267
|
+
function Gi(t, e) {
|
1268
1268
|
return me(function(n, r) {
|
1269
1269
|
var i = 0;
|
1270
1270
|
n.subscribe(ue(r, function(o) {
|
@@ -1344,7 +1344,7 @@ function o_(t) {
|
|
1344
1344
|
var $ = f = f ?? n();
|
1345
1345
|
b.add(function() {
|
1346
1346
|
p--, p === 0 && !g && !d && (h = Lu(x, u));
|
1347
|
-
}), $.subscribe(b), !l && p > 0 && (l = new
|
1347
|
+
}), $.subscribe(b), !l && p > 0 && (l = new zi({
|
1348
1348
|
next: function(_) {
|
1349
1349
|
return $.next(_);
|
1350
1350
|
},
|
@@ -1366,12 +1366,12 @@ function Lu(t, e) {
|
|
1366
1366
|
return;
|
1367
1367
|
}
|
1368
1368
|
if (e !== !1) {
|
1369
|
-
var i = new
|
1369
|
+
var i = new zi({
|
1370
1370
|
next: function() {
|
1371
1371
|
i.unsubscribe(), t();
|
1372
1372
|
}
|
1373
1373
|
});
|
1374
|
-
return ye(e.apply(void 0,
|
1374
|
+
return ye(e.apply(void 0, Fi([], Cr(n)))).subscribe(i);
|
1375
1375
|
}
|
1376
1376
|
}
|
1377
1377
|
function Mt(t, e, n) {
|
@@ -1403,7 +1403,7 @@ function U(t, e) {
|
|
1403
1403
|
}));
|
1404
1404
|
});
|
1405
1405
|
}
|
1406
|
-
function
|
1406
|
+
function z(t) {
|
1407
1407
|
return me(function(e, n) {
|
1408
1408
|
ye(t).subscribe(ue(n, function() {
|
1409
1409
|
return n.complete();
|
@@ -2112,13 +2112,13 @@ var Jw = [null];
|
|
2112
2112
|
function Ae(t, e) {
|
2113
2113
|
this._groups = t, this._parents = e;
|
2114
2114
|
}
|
2115
|
-
function
|
2115
|
+
function ho() {
|
2116
2116
|
return new Ae([[document.documentElement]], Jw);
|
2117
2117
|
}
|
2118
2118
|
function t$() {
|
2119
2119
|
return this;
|
2120
2120
|
}
|
2121
|
-
Ae.prototype =
|
2121
|
+
Ae.prototype = ho.prototype = {
|
2122
2122
|
constructor: Ae,
|
2123
2123
|
select: A_,
|
2124
2124
|
selectAll: T_,
|
@@ -2164,9 +2164,9 @@ function am(t, e) {
|
|
2164
2164
|
for (var r in e) n[r] = e[r];
|
2165
2165
|
return n;
|
2166
2166
|
}
|
2167
|
-
function
|
2167
|
+
function po() {
|
2168
2168
|
}
|
2169
|
-
var
|
2169
|
+
var Oi = 0.7, Ta = 1 / Oi, $r = "\\s*([+-]?\\d+)\\s*", Bi = "\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*", Ie = "\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*", e$ = /^#([0-9a-f]{3,8})$/, n$ = new RegExp(`^rgb\\(${$r},${$r},${$r}\\)$`), r$ = new RegExp(`^rgb\\(${Ie},${Ie},${Ie}\\)$`), i$ = new RegExp(`^rgba\\(${$r},${$r},${$r},${Bi}\\)$`), o$ = new RegExp(`^rgba\\(${Ie},${Ie},${Ie},${Bi}\\)$`), a$ = new RegExp(`^hsl\\(${Bi},${Ie},${Ie}\\)$`), s$ = new RegExp(`^hsla\\(${Bi},${Ie},${Ie},${Bi}\\)$`), tp = {
|
2170
2170
|
aliceblue: 15792383,
|
2171
2171
|
antiquewhite: 16444375,
|
2172
2172
|
aqua: 65535,
|
@@ -2316,7 +2316,7 @@ var Bi = 0.7, Ta = 1 / Bi, $r = "\\s*([+-]?\\d+)\\s*", Yi = "\\s*([+-]?(?:\\d*\\
|
|
2316
2316
|
yellow: 16776960,
|
2317
2317
|
yellowgreen: 10145074
|
2318
2318
|
};
|
2319
|
-
sf(
|
2319
|
+
sf(po, Bn, {
|
2320
2320
|
copy(t) {
|
2321
2321
|
return Object.assign(new this.constructor(), this, t);
|
2322
2322
|
},
|
@@ -2354,7 +2354,7 @@ function Io(t, e, n, r) {
|
|
2354
2354
|
return r <= 0 && (t = e = n = NaN), new ie(t, e, n, r);
|
2355
2355
|
}
|
2356
2356
|
function l$(t) {
|
2357
|
-
return t instanceof
|
2357
|
+
return t instanceof po || (t = Bn(t)), t ? (t = t.rgb(), new ie(t.r, t.g, t.b, t.opacity)) : new ie();
|
2358
2358
|
}
|
2359
2359
|
function kc(t, e, n, r) {
|
2360
2360
|
return arguments.length === 1 ? l$(t) : new ie(t, e, n, r ?? 1);
|
@@ -2362,12 +2362,12 @@ function kc(t, e, n, r) {
|
|
2362
2362
|
function ie(t, e, n, r) {
|
2363
2363
|
this.r = +t, this.g = +e, this.b = +n, this.opacity = +r;
|
2364
2364
|
}
|
2365
|
-
sf(ie, kc, am(
|
2365
|
+
sf(ie, kc, am(po, {
|
2366
2366
|
brighter(t) {
|
2367
2367
|
return t = t == null ? Ta : Math.pow(Ta, t), new ie(this.r * t, this.g * t, this.b * t, this.opacity);
|
2368
2368
|
},
|
2369
2369
|
darker(t) {
|
2370
|
-
return t = t == null ?
|
2370
|
+
return t = t == null ? Oi : Math.pow(Oi, t), new ie(this.r * t, this.g * t, this.b * t, this.opacity);
|
2371
2371
|
},
|
2372
2372
|
rgb() {
|
2373
2373
|
return this;
|
@@ -2409,7 +2409,7 @@ function ap(t, e, n, r) {
|
|
2409
2409
|
}
|
2410
2410
|
function sm(t) {
|
2411
2411
|
if (t instanceof xe) return new xe(t.h, t.s, t.l, t.opacity);
|
2412
|
-
if (t instanceof
|
2412
|
+
if (t instanceof po || (t = Bn(t)), !t) return new xe();
|
2413
2413
|
if (t instanceof xe) return t;
|
2414
2414
|
t = t.rgb();
|
2415
2415
|
var e = t.r / 255, n = t.g / 255, r = t.b / 255, i = Math.min(e, n, r), o = Math.max(e, n, r), a = NaN, s = o - i, u = (o + i) / 2;
|
@@ -2421,12 +2421,12 @@ function h$(t, e, n, r) {
|
|
2421
2421
|
function xe(t, e, n, r) {
|
2422
2422
|
this.h = +t, this.s = +e, this.l = +n, this.opacity = +r;
|
2423
2423
|
}
|
2424
|
-
sf(xe, h$, am(
|
2424
|
+
sf(xe, h$, am(po, {
|
2425
2425
|
brighter(t) {
|
2426
2426
|
return t = t == null ? Ta : Math.pow(Ta, t), new xe(this.h, this.s, this.l * t, this.opacity);
|
2427
2427
|
},
|
2428
2428
|
darker(t) {
|
2429
|
-
return t = t == null ?
|
2429
|
+
return t = t == null ? Oi : Math.pow(Oi, t), new xe(this.h, this.s, this.l * t, this.opacity);
|
2430
2430
|
},
|
2431
2431
|
rgb() {
|
2432
2432
|
var t = this.h % 360 + (this.h < 0) * 360, e = isNaN(t) || isNaN(this.s) ? 0 : this.s, n = this.l, r = n + (n < 0.5 ? n : 1 - n) * e, i = 2 * n - r;
|
@@ -2614,11 +2614,11 @@ function hm(t, e, n, r) {
|
|
2614
2614
|
};
|
2615
2615
|
};
|
2616
2616
|
}
|
2617
|
-
var M$ = hm(S$, "px, ", "px)", "deg)"), D$ = hm(A$, ", ", ")", ")"), Er = 0,
|
2617
|
+
var M$ = hm(S$, "px, ", "px)", "deg)"), D$ = hm(A$, ", ", ")", ")"), Er = 0, mi = 0, si = 0, pm = 1e3, ka, yi, Ea = 0, Yn = 0, Es = 0, Yi = typeof performance == "object" && performance.now ? performance : Date, dm = typeof window == "object" && window.requestAnimationFrame ? window.requestAnimationFrame.bind(window) : function(t) {
|
2618
2618
|
setTimeout(t, 17);
|
2619
2619
|
};
|
2620
2620
|
function lf() {
|
2621
|
-
return Yn || (dm(P$), Yn =
|
2621
|
+
return Yn || (dm(P$), Yn = Yi.now() + Es);
|
2622
2622
|
}
|
2623
2623
|
function P$() {
|
2624
2624
|
Yn = 0;
|
@@ -2630,7 +2630,7 @@ Ia.prototype = gm.prototype = {
|
|
2630
2630
|
constructor: Ia,
|
2631
2631
|
restart: function(t, e, n) {
|
2632
2632
|
if (typeof t != "function") throw new TypeError("callback is not a function");
|
2633
|
-
n = (n == null ? lf() : +n) + (e == null ? 0 : +e), !this._next &&
|
2633
|
+
n = (n == null ? lf() : +n) + (e == null ? 0 : +e), !this._next && yi !== this && (yi ? yi._next = this : ka = this, yi = this), this._call = t, this._time = n, Ic();
|
2634
2634
|
},
|
2635
2635
|
stop: function() {
|
2636
2636
|
this._call && (this._call = null, this._time = 1 / 0, Ic());
|
@@ -2647,7 +2647,7 @@ function T$() {
|
|
2647
2647
|
--Er;
|
2648
2648
|
}
|
2649
2649
|
function cp() {
|
2650
|
-
Yn = (Ea =
|
2650
|
+
Yn = (Ea = Yi.now()) + Es, Er = mi = 0;
|
2651
2651
|
try {
|
2652
2652
|
T$();
|
2653
2653
|
} finally {
|
@@ -2655,19 +2655,19 @@ function cp() {
|
|
2655
2655
|
}
|
2656
2656
|
}
|
2657
2657
|
function L$() {
|
2658
|
-
var t =
|
2658
|
+
var t = Yi.now(), e = t - Ea;
|
2659
2659
|
e > pm && (Es -= e, Ea = t);
|
2660
2660
|
}
|
2661
2661
|
function C$() {
|
2662
2662
|
for (var t, e = ka, n, r = 1 / 0; e; )
|
2663
2663
|
e._call ? (r > e._time && (r = e._time), t = e, e = e._next) : (n = e._next, e._next = null, e = t ? t._next = n : ka = n);
|
2664
|
-
|
2664
|
+
yi = t, Ic(r);
|
2665
2665
|
}
|
2666
2666
|
function Ic(t) {
|
2667
2667
|
if (!Er) {
|
2668
|
-
|
2668
|
+
mi && (mi = clearTimeout(mi));
|
2669
2669
|
var e = t - Yn;
|
2670
|
-
e > 24 ? (t < 1 / 0 && (
|
2670
|
+
e > 24 ? (t < 1 / 0 && (mi = setTimeout(cp, t - Yi.now() - Es)), si && (si = clearInterval(si))) : (si || (Ea = Yi.now(), si = setInterval(L$, pm)), Er = 1, dm(cp));
|
2671
2671
|
}
|
2672
2672
|
}
|
2673
2673
|
function lp(t, e, n) {
|
@@ -3007,7 +3007,7 @@ function mS(t) {
|
|
3007
3007
|
}
|
3008
3008
|
return new en(o, a, e, n);
|
3009
3009
|
}
|
3010
|
-
var yS =
|
3010
|
+
var yS = ho.prototype.constructor;
|
3011
3011
|
function bS() {
|
3012
3012
|
return new yS(this._groups, this._parents);
|
3013
3013
|
}
|
@@ -3135,7 +3135,7 @@ function en(t, e, n, r) {
|
|
3135
3135
|
function vm() {
|
3136
3136
|
return ++RS;
|
3137
3137
|
}
|
3138
|
-
var He =
|
3138
|
+
var He = ho.prototype;
|
3139
3139
|
en.prototype = {
|
3140
3140
|
constructor: en,
|
3141
3141
|
select: gS,
|
@@ -3192,8 +3192,8 @@ function GS(t) {
|
|
3192
3192
|
(u = a[c]) && Is(u, t, e, c, a, n || zS(u, e));
|
3193
3193
|
return new en(r, this._parents, t, e);
|
3194
3194
|
}
|
3195
|
-
|
3196
|
-
|
3195
|
+
ho.prototype.interrupt = N$;
|
3196
|
+
ho.prototype.transition = GS;
|
3197
3197
|
function OS(t) {
|
3198
3198
|
return Math.abs(t = Math.round(t)) >= 1e21 ? t.toLocaleString("en").replace(/,/g, "") : t.toString(10);
|
3199
3199
|
}
|
@@ -3303,13 +3303,13 @@ function qS(t) {
|
|
3303
3303
|
var _ = g === "$" ? n : g === "#" && /[boxX]/.test($) ? "0" + $.toLowerCase() : "", D = g === "$" ? r : /[%p]/.test($) ? a : "", T = dp[$], w = /[defgprs%]/.test($);
|
3304
3304
|
v = v === void 0 ? 6 : /[gprs]/.test($) ? Math.max(1, Math.min(21, v)) : Math.max(0, Math.min(20, v));
|
3305
3305
|
function P(S) {
|
3306
|
-
var
|
3306
|
+
var G = _, E = D, A, L, M;
|
3307
3307
|
if ($ === "c")
|
3308
3308
|
E = T(S) + E, S = "";
|
3309
3309
|
else {
|
3310
3310
|
S = +S;
|
3311
3311
|
var F = S < 0 || 1 / S < 0;
|
3312
|
-
if (S = isNaN(S) ? u : T(Math.abs(S), v), b && (S = HS(S)), F && +S == 0 && d !== "+" && (F = !1),
|
3312
|
+
if (S = isNaN(S) ? u : T(Math.abs(S), v), b && (S = HS(S)), F && +S == 0 && d !== "+" && (F = !1), G = (F ? d === "(" ? d : s : d === "-" || d === "(" ? "" : d) + G, E = ($ === "s" ? yp[8 + xm / 3] : "") + E + (F && d === "(" ? ")" : ""), w) {
|
3313
3313
|
for (A = -1, L = S.length; ++A < L; )
|
3314
3314
|
if (M = S.charCodeAt(A), 48 > M || M > 57) {
|
3315
3315
|
E = (M === 46 ? i + S.slice(A + 1) : S.slice(A)) + E, S = S.slice(0, A);
|
@@ -3318,19 +3318,19 @@ function qS(t) {
|
|
3318
3318
|
}
|
3319
3319
|
}
|
3320
3320
|
x && !m && (S = e(S, 1 / 0));
|
3321
|
-
var O =
|
3321
|
+
var O = G.length + S.length + E.length, k = O < y ? new Array(y - O + 1).join(f) : "";
|
3322
3322
|
switch (x && m && (S = e(k + S, k.length ? y - E.length : 1 / 0), k = ""), p) {
|
3323
3323
|
case "<":
|
3324
|
-
S =
|
3324
|
+
S = G + S + E + k;
|
3325
3325
|
break;
|
3326
3326
|
case "=":
|
3327
|
-
S =
|
3327
|
+
S = G + k + S + E;
|
3328
3328
|
break;
|
3329
3329
|
case "^":
|
3330
|
-
S = k.slice(0, O = k.length >> 1) +
|
3330
|
+
S = k.slice(0, O = k.length >> 1) + G + S + E + k.slice(O);
|
3331
3331
|
break;
|
3332
3332
|
default:
|
3333
|
-
S = k +
|
3333
|
+
S = k + G + S + E;
|
3334
3334
|
break;
|
3335
3335
|
}
|
3336
3336
|
return o(S);
|
@@ -3600,16 +3600,16 @@ function Pm() {
|
|
3600
3600
|
return Pm().domain([t, e]).range(i).unknown(o);
|
3601
3601
|
}, Rs.apply(Mm(a), arguments);
|
3602
3602
|
}
|
3603
|
-
function
|
3603
|
+
function bi(t, e, n) {
|
3604
3604
|
this.k = t, this.x = e, this.y = n;
|
3605
3605
|
}
|
3606
|
-
|
3607
|
-
constructor:
|
3606
|
+
bi.prototype = {
|
3607
|
+
constructor: bi,
|
3608
3608
|
scale: function(t) {
|
3609
|
-
return t === 1 ? this : new
|
3609
|
+
return t === 1 ? this : new bi(this.k * t, this.x, this.y);
|
3610
3610
|
},
|
3611
3611
|
translate: function(t, e) {
|
3612
|
-
return t === 0 & e === 0 ? this : new
|
3612
|
+
return t === 0 & e === 0 ? this : new bi(this.k, this.x + this.k * t, this.y + this.k * e);
|
3613
3613
|
},
|
3614
3614
|
apply: function(t) {
|
3615
3615
|
return [t[0] * this.k + this.x, t[1] * this.k + this.y];
|
@@ -3639,7 +3639,7 @@ vi.prototype = {
|
|
3639
3639
|
return "translate(" + this.x + "," + this.y + ") scale(" + this.k + ")";
|
3640
3640
|
}
|
3641
3641
|
};
|
3642
|
-
|
3642
|
+
bi.prototype;
|
3643
3643
|
function zo(t) {
|
3644
3644
|
return Object.prototype.toString.call(t) === "[object Object]";
|
3645
3645
|
}
|
@@ -3771,7 +3771,7 @@ function Rr(t) {
|
|
3771
3771
|
};
|
3772
3772
|
throw new TypeError(e ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
3773
3773
|
}
|
3774
|
-
function
|
3774
|
+
function Ui(t, e) {
|
3775
3775
|
var n = typeof Symbol == "function" && t[Symbol.iterator];
|
3776
3776
|
if (!n) return t;
|
3777
3777
|
var r = n.call(t), i, o = [], a;
|
@@ -3788,7 +3788,7 @@ function Hi(t, e) {
|
|
3788
3788
|
}
|
3789
3789
|
return o;
|
3790
3790
|
}
|
3791
|
-
function
|
3791
|
+
function Hi(t, e, n) {
|
3792
3792
|
if (arguments.length === 2) for (var r = 0, i = e.length, o; r < i; r++)
|
3793
3793
|
(o || !(r in e)) && (o || (o = Array.prototype.slice.call(e, 0, r)), o[r] = e[r]);
|
3794
3794
|
return t.concat(o || Array.prototype.slice.call(e));
|
@@ -3877,7 +3877,7 @@ function Fa(t, e) {
|
|
3877
3877
|
0 <= n && t.splice(n, 1);
|
3878
3878
|
}
|
3879
3879
|
}
|
3880
|
-
var
|
3880
|
+
var go = function() {
|
3881
3881
|
function t(e) {
|
3882
3882
|
this.initialTeardown = e, this.closed = !1, this._parentage = null, this._finalizers = null;
|
3883
3883
|
}
|
@@ -3920,7 +3920,7 @@ var mo = function() {
|
|
3920
3920
|
try {
|
3921
3921
|
xp(d);
|
3922
3922
|
} catch (g) {
|
3923
|
-
o = o ?? [], g instanceof Eu ? o =
|
3923
|
+
o = o ?? [], g instanceof Eu ? o = Hi(Hi([], Ui(o)), Ui(g.errors)) : o.push(g);
|
3924
3924
|
}
|
3925
3925
|
}
|
3926
3926
|
} catch (g) {
|
@@ -3965,9 +3965,9 @@ var mo = function() {
|
|
3965
3965
|
var e = new t();
|
3966
3966
|
return e.closed = !0, e;
|
3967
3967
|
}(), t;
|
3968
|
-
}(), Lm =
|
3968
|
+
}(), Lm = go.EMPTY;
|
3969
3969
|
function Cm(t) {
|
3970
|
-
return t instanceof
|
3970
|
+
return t instanceof go || t && "closed" in t && Lt(t.remove) && Lt(t.add) && Lt(t.unsubscribe);
|
3971
3971
|
}
|
3972
3972
|
function xp(t) {
|
3973
3973
|
Lt(t) ? t() : t.unsubscribe();
|
@@ -3982,7 +3982,7 @@ var km = {
|
|
3982
3982
|
setTimeout: function(t, e) {
|
3983
3983
|
for (var n = [], r = 2; r < arguments.length; r++)
|
3984
3984
|
n[r - 2] = arguments[r];
|
3985
|
-
return setTimeout.apply(void 0,
|
3985
|
+
return setTimeout.apply(void 0, Hi([t, e], Ui(n)));
|
3986
3986
|
},
|
3987
3987
|
clearTimeout: function(t) {
|
3988
3988
|
return clearTimeout(t);
|
@@ -4006,7 +4006,7 @@ var gf = function(t) {
|
|
4006
4006
|
return r.isStopped = !1, n ? (r.destination = n, Cm(n) && n.add(r)) : r.destination = d3, r;
|
4007
4007
|
}
|
4008
4008
|
return e.create = function(n, r, i) {
|
4009
|
-
return new
|
4009
|
+
return new Wi(n, r, i);
|
4010
4010
|
}, e.prototype.next = function(n) {
|
4011
4011
|
this.isStopped || this._next(n);
|
4012
4012
|
}, e.prototype.error = function(n) {
|
@@ -4030,7 +4030,7 @@ var gf = function(t) {
|
|
4030
4030
|
this.unsubscribe();
|
4031
4031
|
}
|
4032
4032
|
}, e;
|
4033
|
-
}(
|
4033
|
+
}(go), f3 = Function.prototype.bind;
|
4034
4034
|
function Iu(t, e) {
|
4035
4035
|
return f3.call(t, e);
|
4036
4036
|
}
|
@@ -4065,7 +4065,7 @@ var h3 = function() {
|
|
4065
4065
|
Go(n);
|
4066
4066
|
}
|
4067
4067
|
}, t;
|
4068
|
-
}(),
|
4068
|
+
}(), Wi = function(t) {
|
4069
4069
|
on(e, t);
|
4070
4070
|
function e(n, r, i) {
|
4071
4071
|
var o = t.call(this) || this, a;
|
@@ -4121,7 +4121,7 @@ var Me = function() {
|
|
4121
4121
|
var n = new t();
|
4122
4122
|
return n.source = this, n.operator = e, n;
|
4123
4123
|
}, t.prototype.subscribe = function(e, n, r) {
|
4124
|
-
var i = this, o = y3(e) ? e : new
|
4124
|
+
var i = this, o = y3(e) ? e : new Wi(e, n, r);
|
4125
4125
|
return ha(function() {
|
4126
4126
|
var a = i, s = a.operator, u = a.source;
|
4127
4127
|
o.add(s ? s.call(o, u) : u ? i._subscribe(o) : i._trySubscribe(o));
|
@@ -4135,7 +4135,7 @@ var Me = function() {
|
|
4135
4135
|
}, t.prototype.forEach = function(e, n) {
|
4136
4136
|
var r = this;
|
4137
4137
|
return n = _p(n), new n(function(i, o) {
|
4138
|
-
var a = new
|
4138
|
+
var a = new Wi({
|
4139
4139
|
next: function(s) {
|
4140
4140
|
try {
|
4141
4141
|
e(s);
|
@@ -4241,7 +4241,7 @@ var v3 = function(t) {
|
|
4241
4241
|
return function() {
|
4242
4242
|
t(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
|
4243
4243
|
};
|
4244
|
-
}),
|
4244
|
+
}), qi = function(t) {
|
4245
4245
|
on(e, t);
|
4246
4246
|
function e() {
|
4247
4247
|
var n = t.call(this) || this;
|
@@ -4308,7 +4308,7 @@ var v3 = function(t) {
|
|
4308
4308
|
return this._throwIfClosed(), this._checkFinalizedStatuses(n), this._innerSubscribe(n);
|
4309
4309
|
}, e.prototype._innerSubscribe = function(n) {
|
4310
4310
|
var r = this, i = this, o = i.hasError, a = i.isStopped, s = i.observers;
|
4311
|
-
return o || a ? Lm : (this.currentObservers = null, s.push(n), new
|
4311
|
+
return o || a ? Lm : (this.currentObservers = null, s.push(n), new go(function() {
|
4312
4312
|
r.currentObservers = null, Fa(s, n);
|
4313
4313
|
}));
|
4314
4314
|
}, e.prototype._checkFinalizedStatuses = function(n) {
|
@@ -4339,7 +4339,7 @@ var v3 = function(t) {
|
|
4339
4339
|
var r, i;
|
4340
4340
|
return (i = (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(n)) !== null && i !== void 0 ? i : Lm;
|
4341
4341
|
}, e;
|
4342
|
-
}(
|
4342
|
+
}(qi), bf = {
|
4343
4343
|
now: function() {
|
4344
4344
|
return (bf.delegate || Date).now();
|
4345
4345
|
},
|
@@ -4367,7 +4367,7 @@ var v3 = function(t) {
|
|
4367
4367
|
c && o.splice(0, c + 1);
|
4368
4368
|
}
|
4369
4369
|
}, e;
|
4370
|
-
}(
|
4370
|
+
}(qi), w3 = function(t) {
|
4371
4371
|
on(e, t);
|
4372
4372
|
function e(n, r) {
|
4373
4373
|
return t.call(this) || this;
|
@@ -4375,11 +4375,11 @@ var v3 = function(t) {
|
|
4375
4375
|
return e.prototype.schedule = function(n, r) {
|
4376
4376
|
return this;
|
4377
4377
|
}, e;
|
4378
|
-
}(
|
4378
|
+
}(go), $p = {
|
4379
4379
|
setInterval: function(t, e) {
|
4380
4380
|
for (var n = [], r = 2; r < arguments.length; r++)
|
4381
4381
|
n[r - 2] = arguments[r];
|
4382
|
-
return setInterval.apply(void 0,
|
4382
|
+
return setInterval.apply(void 0, Hi([t, e], Ui(n)));
|
4383
4383
|
},
|
4384
4384
|
clearInterval: function(t) {
|
4385
4385
|
return clearInterval(t);
|
@@ -4820,7 +4820,7 @@ function W3(t, e) {
|
|
4820
4820
|
function q3(t) {
|
4821
4821
|
t === void 0 && (t = {});
|
4822
4822
|
var e = t.connector, n = e === void 0 ? function() {
|
4823
|
-
return new
|
4823
|
+
return new qi();
|
4824
4824
|
} : e, r = t.resetOnError, i = r === void 0 ? !0 : r, o = t.resetOnComplete, a = o === void 0 ? !0 : o, s = t.resetOnRefCountZero, u = s === void 0 ? !0 : s;
|
4825
4825
|
return function(c) {
|
4826
4826
|
var l, h, f, p = 0, d = !1, g = !1, m = function() {
|
@@ -4836,7 +4836,7 @@ function q3(t) {
|
|
4836
4836
|
var $ = f = f ?? n();
|
4837
4837
|
b.add(function() {
|
4838
4838
|
p--, p === 0 && !g && !d && (h = Ru(x, u));
|
4839
|
-
}), $.subscribe(b), !l && p > 0 && (l = new
|
4839
|
+
}), $.subscribe(b), !l && p > 0 && (l = new Wi({
|
4840
4840
|
next: function(_) {
|
4841
4841
|
return $.next(_);
|
4842
4842
|
},
|
@@ -4858,12 +4858,12 @@ function Ru(t, e) {
|
|
4858
4858
|
return;
|
4859
4859
|
}
|
4860
4860
|
if (e !== !1) {
|
4861
|
-
var i = new
|
4861
|
+
var i = new Wi({
|
4862
4862
|
next: function() {
|
4863
4863
|
i.unsubscribe(), t();
|
4864
4864
|
}
|
4865
4865
|
});
|
4866
|
-
return _n(e.apply(void 0,
|
4866
|
+
return _n(e.apply(void 0, Hi([], Ui(n)))).subscribe(i);
|
4867
4867
|
}
|
4868
4868
|
}
|
4869
4869
|
function j3(t, e, n) {
|
@@ -4923,7 +4923,7 @@ const Z3 = (t) => t.pipe(
|
|
4923
4923
|
return r && i.reverse(), Pm().domain([-0, e + 0]).range(i);
|
4924
4924
|
};
|
4925
4925
|
function Q3({ name: t, defaultParams: e, initFn: n }) {
|
4926
|
-
const r = new
|
4926
|
+
const r = new qi(), i = new qi(), o = /* @__PURE__ */ new WeakMap();
|
4927
4927
|
let a = () => {
|
4928
4928
|
}, s, u = e;
|
4929
4929
|
return {
|
@@ -4950,7 +4950,7 @@ function Q3({ name: t, defaultParams: e, initFn: n }) {
|
|
4950
4950
|
}
|
4951
4951
|
};
|
4952
4952
|
}
|
4953
|
-
const
|
4953
|
+
const mo = () => function(t, e) {
|
4954
4954
|
return function(n) {
|
4955
4955
|
return class {
|
4956
4956
|
constructor() {
|
@@ -4959,7 +4959,7 @@ const yo = () => function(t, e) {
|
|
4959
4959
|
}
|
4960
4960
|
};
|
4961
4961
|
};
|
4962
|
-
},
|
4962
|
+
}, yo = mo(), ce = mo(), Be = mo(), Km = mo(), Qm = mo();
|
4963
4963
|
function wt(t, e) {
|
4964
4964
|
return t == null || e == null ? NaN : t < e ? -1 : t > e ? 1 : t >= e ? 0 : NaN;
|
4965
4965
|
}
|
@@ -5131,7 +5131,7 @@ function o1(t, e) {
|
|
5131
5131
|
const n = i1(t, e);
|
5132
5132
|
return n && Math.sqrt(n);
|
5133
5133
|
}
|
5134
|
-
function
|
5134
|
+
function Ci(t, e) {
|
5135
5135
|
let n, r;
|
5136
5136
|
if (e === void 0)
|
5137
5137
|
for (const i of t)
|
@@ -5187,7 +5187,7 @@ function d5(t, e) {
|
|
5187
5187
|
e === void 0 ? (i) => n.add(+i || 0) : (i) => n.add(+e(i, ++r, t) || 0)
|
5188
5188
|
);
|
5189
5189
|
}
|
5190
|
-
class
|
5190
|
+
class ji extends Map {
|
5191
5191
|
constructor(e, n = u1) {
|
5192
5192
|
if (super(), Object.defineProperties(this, { _intern: { value: /* @__PURE__ */ new Map() }, _key: { value: n } }), e != null) for (const [r, i] of e) this.set(r, i);
|
5193
5193
|
}
|
@@ -5272,7 +5272,7 @@ function d1(t) {
|
|
5272
5272
|
function ei(t, e, n, r) {
|
5273
5273
|
return function i(o, a) {
|
5274
5274
|
if (a >= r.length) return n(o);
|
5275
|
-
const s = new
|
5275
|
+
const s = new ji(), u = r[a++];
|
5276
5276
|
let c = -1;
|
5277
5277
|
for (const l of o) {
|
5278
5278
|
const h = u(l, ++c, o), f = s.get(h);
|
@@ -5359,7 +5359,7 @@ function wf(t) {
|
|
5359
5359
|
return Math.max(1, Math.ceil(Math.log(Fs(t)) / Math.LN2) + 1);
|
5360
5360
|
}
|
5361
5361
|
function Mp() {
|
5362
|
-
var t = Fr, e =
|
5362
|
+
var t = Fr, e = Ci, n = wf;
|
5363
5363
|
function r(i) {
|
5364
5364
|
Array.isArray(i) || (i = Array.from(i));
|
5365
5365
|
var o, a = i.length, s, u, c = new Array(a);
|
@@ -5368,8 +5368,8 @@ function Mp() {
|
|
5368
5368
|
var l = e(c), h = l[0], f = l[1], p = n(c, h, f);
|
5369
5369
|
if (!Array.isArray(p)) {
|
5370
5370
|
const v = f, b = +p;
|
5371
|
-
if (e ===
|
5372
|
-
if (v >= f && e ===
|
5371
|
+
if (e === Ci && ([h, f] = _f(h, f, b)), p = Hn(h, f, b), p[0] <= h && (u = Wn(h, f, b)), p[p.length - 1] >= f)
|
5372
|
+
if (v >= f && e === Ci) {
|
5373
5373
|
const $ = Wn(h, f, b);
|
5374
5374
|
isFinite($) && ($ > 0 ? f = (Math.floor(f / $) + 1) * $ : $ < 0 && (f = (Math.ceil(f * -$) + 1) / -$));
|
5375
5375
|
} else
|
@@ -5405,7 +5405,7 @@ function Mp() {
|
|
5405
5405
|
return arguments.length ? (n = typeof i == "function" ? i : Nu(Array.isArray(i) ? _5.call(i) : i), r) : n;
|
5406
5406
|
}, r;
|
5407
5407
|
}
|
5408
|
-
function
|
5408
|
+
function Xi(t, e) {
|
5409
5409
|
let n;
|
5410
5410
|
if (e === void 0)
|
5411
5411
|
for (const r of t)
|
@@ -5458,15 +5458,15 @@ function zs(t, e, n = 0, r = 1 / 0, i) {
|
|
5458
5458
|
}
|
5459
5459
|
const o = t[e];
|
5460
5460
|
let a = n, s = r;
|
5461
|
-
for (
|
5462
|
-
for (
|
5461
|
+
for (ui(t, n, e), i(t[r], o) > 0 && ui(t, n, r); a < s; ) {
|
5462
|
+
for (ui(t, a, s), ++a, --s; i(t[a], o) < 0; ) ++a;
|
5463
5463
|
for (; i(t[s], o) > 0; ) --s;
|
5464
5464
|
}
|
5465
|
-
i(t[n], o) === 0 ?
|
5465
|
+
i(t[n], o) === 0 ? ui(t, n, s) : (++s, ui(t, s, r)), s <= e && (n = s + 1), e <= s && (r = s - 1);
|
5466
5466
|
}
|
5467
5467
|
return t;
|
5468
5468
|
}
|
5469
|
-
function
|
5469
|
+
function ui(t, e, n) {
|
5470
5470
|
const r = t[e];
|
5471
5471
|
t[e] = t[n], t[n] = r;
|
5472
5472
|
}
|
@@ -5483,11 +5483,11 @@ function m1(t, e = wt) {
|
|
5483
5483
|
(r ? e(i, n) > 0 : e(i, i) === 0) && (n = i, r = !0);
|
5484
5484
|
return n;
|
5485
5485
|
}
|
5486
|
-
function
|
5486
|
+
function Vi(t, e, n) {
|
5487
5487
|
if (t = Float64Array.from(t5(t, n)), !(!(r = t.length) || isNaN(e = +e))) {
|
5488
5488
|
if (e <= 0 || r < 2) return Ya(t);
|
5489
|
-
if (e >= 1) return
|
5490
|
-
var r, i = (r - 1) * e, o = Math.floor(i), a =
|
5489
|
+
if (e >= 1) return Xi(t);
|
5490
|
+
var r, i = (r - 1) * e, o = Math.floor(i), a = Xi(zs(t, o).subarray(0, o + 1)), s = Ya(t.subarray(o + 1));
|
5491
5491
|
return a + (s - a) * (i - o);
|
5492
5492
|
}
|
5493
5493
|
}
|
@@ -5508,7 +5508,7 @@ function b1(t, e, n = Ga) {
|
|
5508
5508
|
}
|
5509
5509
|
}
|
5510
5510
|
function A5(t, e, n) {
|
5511
|
-
const r = Fs(t), i =
|
5511
|
+
const r = Fs(t), i = Vi(t, 0.75) - Vi(t, 0.25);
|
5512
5512
|
return r && i ? Math.ceil((n - e) / (2 * i * Math.pow(r, -1 / 3))) : 1;
|
5513
5513
|
}
|
5514
5514
|
function M5(t, e, n) {
|
@@ -5528,7 +5528,7 @@ function D5(t, e) {
|
|
5528
5528
|
if (n) return r / n;
|
5529
5529
|
}
|
5530
5530
|
function P5(t, e) {
|
5531
|
-
return
|
5531
|
+
return Vi(t, 0.5, e);
|
5532
5532
|
}
|
5533
5533
|
function T5(t, e) {
|
5534
5534
|
return b1(t, 0.5, e);
|
@@ -5541,7 +5541,7 @@ function Af(t) {
|
|
5541
5541
|
return Array.from(L5(t));
|
5542
5542
|
}
|
5543
5543
|
function C5(t, e) {
|
5544
|
-
const n = new
|
5544
|
+
const n = new ji();
|
5545
5545
|
if (e === void 0)
|
5546
5546
|
for (let o of t)
|
5547
5547
|
o != null && o >= o && n.set(o, (n.get(o) || 0) + 1);
|
@@ -5757,7 +5757,7 @@ function J5(...t) {
|
|
5757
5757
|
function t6(t) {
|
5758
5758
|
return t;
|
5759
5759
|
}
|
5760
|
-
var pa = 1, da = 2, Uc = 3,
|
5760
|
+
var pa = 1, da = 2, Uc = 3, vi = 4, Pp = 1e-6;
|
5761
5761
|
function e6(t) {
|
5762
5762
|
return "translate(" + t + ",0)";
|
5763
5763
|
}
|
@@ -5774,17 +5774,17 @@ function o6() {
|
|
5774
5774
|
return !this.__axis;
|
5775
5775
|
}
|
5776
5776
|
function Gs(t, e) {
|
5777
|
-
var n = [], r = null, i = null, o = 6, a = 6, s = 3, u = typeof window < "u" && window.devicePixelRatio > 1 ? 0 : 0.5, c = t === pa || t ===
|
5777
|
+
var n = [], r = null, i = null, o = 6, a = 6, s = 3, u = typeof window < "u" && window.devicePixelRatio > 1 ? 0 : 0.5, c = t === pa || t === vi ? -1 : 1, l = t === vi || t === da ? "x" : "y", h = t === pa || t === Uc ? e6 : n6;
|
5778
5778
|
function f(p) {
|
5779
5779
|
var d = r ?? (e.ticks ? e.ticks.apply(e, n) : e.domain()), g = i ?? (e.tickFormat ? e.tickFormat.apply(e, n) : t6), m = Math.max(o, 0) + s, y = e.range(), x = +y[0] + u, v = +y[y.length - 1] + u, b = (e.bandwidth ? i6 : r6)(e.copy(), u), $ = p.selection ? p.selection() : p, _ = $.selectAll(".domain").data([null]), D = $.selectAll(".tick").data(d, e).order(), T = D.exit(), w = D.enter().append("g").attr("class", "tick"), P = D.select("line"), S = D.select("text");
|
5780
|
-
_ = _.merge(_.enter().insert("path", ".tick").attr("class", "domain").attr("stroke", "currentColor")), D = D.merge(w), P = P.merge(w.append("line").attr("stroke", "currentColor").attr(l + "2", c * o)), S = S.merge(w.append("text").attr("fill", "currentColor").attr(l, c * m).attr("dy", t === pa ? "0em" : t === Uc ? "0.71em" : "0.32em")), p !== $ && (_ = _.transition(p), D = D.transition(p), P = P.transition(p), S = S.transition(p), T = T.transition(p).attr("opacity", Pp).attr("transform", function(
|
5781
|
-
return isFinite(
|
5782
|
-
}), w.attr("opacity", Pp).attr("transform", function(
|
5780
|
+
_ = _.merge(_.enter().insert("path", ".tick").attr("class", "domain").attr("stroke", "currentColor")), D = D.merge(w), P = P.merge(w.append("line").attr("stroke", "currentColor").attr(l + "2", c * o)), S = S.merge(w.append("text").attr("fill", "currentColor").attr(l, c * m).attr("dy", t === pa ? "0em" : t === Uc ? "0.71em" : "0.32em")), p !== $ && (_ = _.transition(p), D = D.transition(p), P = P.transition(p), S = S.transition(p), T = T.transition(p).attr("opacity", Pp).attr("transform", function(G) {
|
5781
|
+
return isFinite(G = b(G)) ? h(G + u) : this.getAttribute("transform");
|
5782
|
+
}), w.attr("opacity", Pp).attr("transform", function(G) {
|
5783
5783
|
var E = this.parentNode.__axis;
|
5784
|
-
return h((E && isFinite(E = E(
|
5785
|
-
})), T.remove(), _.attr("d", t ===
|
5786
|
-
return h(b(
|
5787
|
-
}), P.attr(l + "2", c * o), S.attr(l, c * m).text(g), $.filter(o6).attr("fill", "none").attr("font-size", 10).attr("font-family", "sans-serif").attr("text-anchor", t === da ? "start" : t ===
|
5784
|
+
return h((E && isFinite(E = E(G)) ? E : b(G)) + u);
|
5785
|
+
})), T.remove(), _.attr("d", t === vi || t === da ? a ? "M" + c * a + "," + x + "H" + u + "V" + v + "H" + c * a : "M" + u + "," + x + "V" + v : a ? "M" + x + "," + c * a + "V" + u + "H" + v + "V" + c * a : "M" + x + "," + u + "H" + v), D.attr("opacity", 1).attr("transform", function(G) {
|
5786
|
+
return h(b(G) + u);
|
5787
|
+
}), P.attr(l + "2", c * o), S.attr(l, c * m).text(g), $.filter(o6).attr("fill", "none").attr("font-size", 10).attr("font-family", "sans-serif").attr("text-anchor", t === da ? "start" : t === vi ? "end" : "middle"), $.each(function() {
|
5788
5788
|
this.__axis = b;
|
5789
5789
|
});
|
5790
5790
|
}
|
@@ -5820,7 +5820,7 @@ function s6(t) {
|
|
5820
5820
|
return Gs(Uc, t);
|
5821
5821
|
}
|
5822
5822
|
function S1(t) {
|
5823
|
-
return Gs(
|
5823
|
+
return Gs(vi, t);
|
5824
5824
|
}
|
5825
5825
|
var u6 = { value: () => {
|
5826
5826
|
} };
|
@@ -5891,7 +5891,7 @@ const Wc = {
|
|
5891
5891
|
xml: "http://www.w3.org/XML/1998/namespace",
|
5892
5892
|
xmlns: "http://www.w3.org/2000/xmlns/"
|
5893
5893
|
};
|
5894
|
-
function
|
5894
|
+
function bo(t) {
|
5895
5895
|
var e = t += "", n = e.indexOf(":");
|
5896
5896
|
return n >= 0 && (e = t.slice(0, n)) !== "xmlns" && (t = t.slice(n + 1)), Wc.hasOwnProperty(e) ? { space: Wc[e], local: t } : t;
|
5897
5897
|
}
|
@@ -5907,7 +5907,7 @@ function h6(t) {
|
|
5907
5907
|
};
|
5908
5908
|
}
|
5909
5909
|
function Os(t) {
|
5910
|
-
var e =
|
5910
|
+
var e = bo(t);
|
5911
5911
|
return (e.local ? h6 : f6)(e);
|
5912
5912
|
}
|
5913
5913
|
function p6() {
|
@@ -6151,7 +6151,7 @@ function K6(t, e) {
|
|
6151
6151
|
};
|
6152
6152
|
}
|
6153
6153
|
function Q6(t, e) {
|
6154
|
-
var n =
|
6154
|
+
var n = bo(t);
|
6155
6155
|
if (arguments.length < 2) {
|
6156
6156
|
var r = this.node();
|
6157
6157
|
return n.local ? r.getAttributeNS(n.space, n.local) : r.getAttribute(n);
|
@@ -6508,7 +6508,7 @@ function H8(t, e) {
|
|
6508
6508
|
function W8(t) {
|
6509
6509
|
return typeof t == "string" ? new Zt([document.querySelectorAll(t)], [document.documentElement]) : new Zt([A1(t)], Lf);
|
6510
6510
|
}
|
6511
|
-
const q8 = { passive: !1 },
|
6511
|
+
const q8 = { passive: !1 }, Zi = { capture: !0, passive: !1 };
|
6512
6512
|
function Fu(t) {
|
6513
6513
|
t.stopImmediatePropagation();
|
6514
6514
|
}
|
@@ -6516,12 +6516,12 @@ function Ar(t) {
|
|
6516
6516
|
t.preventDefault(), t.stopImmediatePropagation();
|
6517
6517
|
}
|
6518
6518
|
function Ys(t) {
|
6519
|
-
var e = t.document.documentElement, n = Z(t).on("dragstart.drag", Ar,
|
6520
|
-
"onselectstart" in e ? n.on("selectstart.drag", Ar,
|
6519
|
+
var e = t.document.documentElement, n = Z(t).on("dragstart.drag", Ar, Zi);
|
6520
|
+
"onselectstart" in e ? n.on("selectstart.drag", Ar, Zi) : (e.__noselect = e.style.MozUserSelect, e.style.MozUserSelect = "none");
|
6521
6521
|
}
|
6522
6522
|
function Us(t, e) {
|
6523
6523
|
var n = t.document.documentElement, r = Z(t).on("dragstart.drag", null);
|
6524
|
-
e && (r.on("click.drag", Ar,
|
6524
|
+
e && (r.on("click.drag", Ar, Zi), setTimeout(function() {
|
6525
6525
|
r.on("click.drag", null);
|
6526
6526
|
}, 0)), "onselectstart" in n ? r.on("selectstart.drag", null) : (n.style.MozUserSelect = n.__noselect, delete n.__noselect);
|
6527
6527
|
}
|
@@ -6576,7 +6576,7 @@ function R1() {
|
|
6576
6576
|
function p(b, $) {
|
6577
6577
|
if (!(l || !t.call(this, b, $))) {
|
6578
6578
|
var _ = v(this, e.call(this, b, $), b, $, "mouse");
|
6579
|
-
_ && (Z(b.view).on("mousemove.drag", d,
|
6579
|
+
_ && (Z(b.view).on("mousemove.drag", d, Zi).on("mouseup.drag", g, Zi), Ys(b.view), Fu(b), c = !1, s = b.clientX, u = b.clientY, _("start", b));
|
6580
6580
|
}
|
6581
6581
|
}
|
6582
6582
|
function d(b) {
|
@@ -6609,7 +6609,7 @@ function R1() {
|
|
6609
6609
|
(T = i[$[D].identifier]) && (Fu(b), T("end", b, $[D]));
|
6610
6610
|
}
|
6611
6611
|
function v(b, $, _, D, T, w) {
|
6612
|
-
var P = o.copy(), S = ae(w || _, $),
|
6612
|
+
var P = o.copy(), S = ae(w || _, $), G, E, A;
|
6613
6613
|
if ((A = n.call(b, new jc("beforestart", {
|
6614
6614
|
sourceEvent: _,
|
6615
6615
|
target: f,
|
@@ -6621,7 +6621,7 @@ function R1() {
|
|
6621
6621
|
dy: 0,
|
6622
6622
|
dispatch: P
|
6623
6623
|
}), D)) != null)
|
6624
|
-
return
|
6624
|
+
return G = A.x - S[0] || 0, E = A.y - S[1] || 0, function L(M, F, O) {
|
6625
6625
|
var k = S, I;
|
6626
6626
|
switch (M) {
|
6627
6627
|
case "start":
|
@@ -6642,7 +6642,7 @@ function R1() {
|
|
6642
6642
|
target: f,
|
6643
6643
|
identifier: T,
|
6644
6644
|
active: I,
|
6645
|
-
x: S[0] +
|
6645
|
+
x: S[0] + G,
|
6646
6646
|
y: S[1] + E,
|
6647
6647
|
dx: S[0] - k[0],
|
6648
6648
|
dy: S[1] - k[1],
|
@@ -6670,14 +6670,14 @@ function R1() {
|
|
6670
6670
|
function ni(t, e, n) {
|
6671
6671
|
t.prototype = e.prototype = n, n.constructor = t;
|
6672
6672
|
}
|
6673
|
-
function
|
6673
|
+
function vo(t, e) {
|
6674
6674
|
var n = Object.create(t.prototype);
|
6675
6675
|
for (var r in e) n[r] = e[r];
|
6676
6676
|
return n;
|
6677
6677
|
}
|
6678
6678
|
function wn() {
|
6679
6679
|
}
|
6680
|
-
var jn = 0.7, Gr = 1 / jn, Mr = "\\s*([+-]?\\d+)\\s*",
|
6680
|
+
var jn = 0.7, Gr = 1 / jn, Mr = "\\s*([+-]?\\d+)\\s*", Ki = "\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*", Re = "\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*", K8 = /^#([0-9a-f]{3,8})$/, Q8 = new RegExp(`^rgb\\(${Mr},${Mr},${Mr}\\)$`), J8 = new RegExp(`^rgb\\(${Re},${Re},${Re}\\)$`), t4 = new RegExp(`^rgba\\(${Mr},${Mr},${Mr},${Ki}\\)$`), e4 = new RegExp(`^rgba\\(${Re},${Re},${Re},${Ki}\\)$`), n4 = new RegExp(`^hsl\\(${Ki},${Re},${Re}\\)$`), r4 = new RegExp(`^hsla\\(${Ki},${Re},${Re},${Ki}\\)$`), Lp = {
|
6681
6681
|
aliceblue: 15792383,
|
6682
6682
|
antiquewhite: 16444375,
|
6683
6683
|
aqua: 65535,
|
@@ -6873,7 +6873,7 @@ function Or(t, e, n, r) {
|
|
6873
6873
|
function kt(t, e, n, r) {
|
6874
6874
|
this.r = +t, this.g = +e, this.b = +n, this.opacity = +r;
|
6875
6875
|
}
|
6876
|
-
ni(kt, Or,
|
6876
|
+
ni(kt, Or, vo(wn, {
|
6877
6877
|
brighter(t) {
|
6878
6878
|
return t = t == null ? Gr : Math.pow(Gr, t), new kt(this.r * t, this.g * t, this.b * t, this.opacity);
|
6879
6879
|
},
|
@@ -6932,7 +6932,7 @@ function Wa(t, e, n, r) {
|
|
6932
6932
|
function _e(t, e, n, r) {
|
6933
6933
|
this.h = +t, this.s = +e, this.l = +n, this.opacity = +r;
|
6934
6934
|
}
|
6935
|
-
ni(_e, Wa,
|
6935
|
+
ni(_e, Wa, vo(wn, {
|
6936
6936
|
brighter(t) {
|
6937
6937
|
return t = t == null ? Gr : Math.pow(Gr, t), new _e(this.h, this.s, this.l * t, this.opacity);
|
6938
6938
|
},
|
@@ -6985,7 +6985,7 @@ function ja(t, e, n, r) {
|
|
6985
6985
|
function Se(t, e, n, r) {
|
6986
6986
|
this.l = +t, this.a = +e, this.b = +n, this.opacity = +r;
|
6987
6987
|
}
|
6988
|
-
ni(Se, ja,
|
6988
|
+
ni(Se, ja, vo(wn, {
|
6989
6989
|
brighter(t) {
|
6990
6990
|
return new Se(this.l + qa * (t ?? 1), this.a, this.b, this.opacity);
|
6991
6991
|
},
|
@@ -7034,7 +7034,7 @@ function q1(t) {
|
|
7034
7034
|
var e = t.h * F1;
|
7035
7035
|
return new Se(t.l, Math.cos(e) * t.c, Math.sin(e) * t.c, t.opacity);
|
7036
7036
|
}
|
7037
|
-
ni(ke, Xa,
|
7037
|
+
ni(ke, Xa, vo(wn, {
|
7038
7038
|
brighter(t) {
|
7039
7039
|
return new ke(this.h, this.c, this.l + qa * (t ?? 1), this.opacity);
|
7040
7040
|
},
|
@@ -7045,11 +7045,11 @@ ni(ke, Xa, xo(wn, {
|
|
7045
7045
|
return q1(this).rgb();
|
7046
7046
|
}
|
7047
7047
|
}));
|
7048
|
-
var j1 = -0.14861, kf = 1.78277, Ef = -0.29227, Hs = -0.90649,
|
7048
|
+
var j1 = -0.14861, kf = 1.78277, Ef = -0.29227, Hs = -0.90649, Qi = 1.97294, zp = Qi * Hs, Gp = Qi * kf, Op = kf * Ef - Hs * j1;
|
7049
7049
|
function l4(t) {
|
7050
7050
|
if (t instanceof zn) return new zn(t.h, t.s, t.l, t.opacity);
|
7051
7051
|
t instanceof kt || (t = Cf(t));
|
7052
|
-
var e = t.r / 255, n = t.g / 255, r = t.b / 255, i = (Op * r + zp * e - Gp * n) / (Op + zp - Gp), o = r - i, a = (
|
7052
|
+
var e = t.r / 255, n = t.g / 255, r = t.b / 255, i = (Op * r + zp * e - Gp * n) / (Op + zp - Gp), o = r - i, a = (Qi * (n - i) - Ef * o) / Hs, s = Math.sqrt(a * a + o * o) / (Qi * i * (1 - i)), u = s ? Math.atan2(a, o) * z1 - 120 : NaN;
|
7053
7053
|
return new zn(u < 0 ? u + 360 : u, s, i, t.opacity);
|
7054
7054
|
}
|
7055
7055
|
function De(t, e, n, r) {
|
@@ -7058,7 +7058,7 @@ function De(t, e, n, r) {
|
|
7058
7058
|
function zn(t, e, n, r) {
|
7059
7059
|
this.h = +t, this.s = +e, this.l = +n, this.opacity = +r;
|
7060
7060
|
}
|
7061
|
-
ni(zn, De,
|
7061
|
+
ni(zn, De, vo(wn, {
|
7062
7062
|
brighter(t) {
|
7063
7063
|
return t = t == null ? Gr : Math.pow(Gr, t), new zn(this.h, this.s, this.l * t, this.opacity);
|
7064
7064
|
},
|
@@ -7070,7 +7070,7 @@ ni(zn, De, xo(wn, {
|
|
7070
7070
|
return new kt(
|
7071
7071
|
255 * (e + n * (j1 * r + kf * i)),
|
7072
7072
|
255 * (e + n * (Ef * r + Hs * i)),
|
7073
|
-
255 * (e + n * (
|
7073
|
+
255 * (e + n * (Qi * r)),
|
7074
7074
|
this.opacity
|
7075
7075
|
);
|
7076
7076
|
}
|
@@ -7117,7 +7117,7 @@ function Et(t, e) {
|
|
7117
7117
|
var n = e - t;
|
7118
7118
|
return n ? K1(t, n) : Ws(isNaN(t) ? e : t);
|
7119
7119
|
}
|
7120
|
-
const
|
7120
|
+
const Ji = function t(e) {
|
7121
7121
|
var n = h4(e);
|
7122
7122
|
function r(i, o) {
|
7123
7123
|
var a = n((i = Or(i)).r, (o = Or(o)).r), s = n(i.g, o.g), u = n(i.b, o.b), c = Et(i.opacity, o.opacity);
|
@@ -7204,7 +7204,7 @@ function Rf(t, e) {
|
|
7204
7204
|
}
|
7205
7205
|
function $n(t, e) {
|
7206
7206
|
var n = typeof e, r;
|
7207
|
-
return e == null || n === "boolean" ? Ws(e) : (n === "number" ? he : n === "string" ? (r = gn(e)) ? (e = r,
|
7207
|
+
return e == null || n === "boolean" ? Ws(e) : (n === "number" ? he : n === "string" ? (r = gn(e)) ? (e = r, Ji) : Rf : e instanceof gn ? Ji : e instanceof Date ? ny : ty(e) ? If : Array.isArray(e) ? ey : typeof e.valueOf != "function" && typeof e.toString != "function" || isNaN(e) ? ry : he)(t, e);
|
7208
7208
|
}
|
7209
7209
|
function y4(t) {
|
7210
7210
|
var e = t.length;
|
@@ -7372,40 +7372,40 @@ function L4(t, e) {
|
|
7372
7372
|
for (var n = new Array(e), r = 0; r < e; ++r) n[r] = t(r / (e - 1));
|
7373
7373
|
return n;
|
7374
7374
|
}
|
7375
|
-
var Br = 0,
|
7375
|
+
var Br = 0, xi = 0, ci = 0, py = 1e3, Va, _i, Za = 0, Xn = 0, Vs = 0, to = typeof performance == "object" && performance.now ? performance : Date, dy = typeof window == "object" && window.requestAnimationFrame ? window.requestAnimationFrame.bind(window) : function(t) {
|
7376
7376
|
setTimeout(t, 17);
|
7377
7377
|
};
|
7378
|
-
function
|
7379
|
-
return Xn || (dy(C4), Xn =
|
7378
|
+
function xo() {
|
7379
|
+
return Xn || (dy(C4), Xn = to.now() + Vs);
|
7380
7380
|
}
|
7381
7381
|
function C4() {
|
7382
7382
|
Xn = 0;
|
7383
7383
|
}
|
7384
|
-
function
|
7384
|
+
function eo() {
|
7385
7385
|
this._call = this._time = this._next = null;
|
7386
7386
|
}
|
7387
|
-
|
7388
|
-
constructor:
|
7387
|
+
eo.prototype = Zs.prototype = {
|
7388
|
+
constructor: eo,
|
7389
7389
|
restart: function(t, e, n) {
|
7390
7390
|
if (typeof t != "function") throw new TypeError("callback is not a function");
|
7391
|
-
n = (n == null ?
|
7391
|
+
n = (n == null ? xo() : +n) + (e == null ? 0 : +e), !this._next && _i !== this && (_i ? _i._next = this : Va = this, _i = this), this._call = t, this._time = n, Zc();
|
7392
7392
|
},
|
7393
7393
|
stop: function() {
|
7394
7394
|
this._call && (this._call = null, this._time = 1 / 0, Zc());
|
7395
7395
|
}
|
7396
7396
|
};
|
7397
7397
|
function Zs(t, e, n) {
|
7398
|
-
var r = new
|
7398
|
+
var r = new eo();
|
7399
7399
|
return r.restart(t, e, n), r;
|
7400
7400
|
}
|
7401
7401
|
function gy() {
|
7402
|
-
|
7402
|
+
xo(), ++Br;
|
7403
7403
|
for (var t = Va, e; t; )
|
7404
7404
|
(e = Xn - t._time) >= 0 && t._call.call(void 0, e), t = t._next;
|
7405
7405
|
--Br;
|
7406
7406
|
}
|
7407
7407
|
function Up() {
|
7408
|
-
Xn = (Za =
|
7408
|
+
Xn = (Za = to.now()) + Vs, Br = xi = 0;
|
7409
7409
|
try {
|
7410
7410
|
gy();
|
7411
7411
|
} finally {
|
@@ -7413,31 +7413,31 @@ function Up() {
|
|
7413
7413
|
}
|
7414
7414
|
}
|
7415
7415
|
function k4() {
|
7416
|
-
var t =
|
7416
|
+
var t = to.now(), e = t - Za;
|
7417
7417
|
e > py && (Vs -= e, Za = t);
|
7418
7418
|
}
|
7419
7419
|
function E4() {
|
7420
7420
|
for (var t, e = Va, n, r = 1 / 0; e; )
|
7421
7421
|
e._call ? (r > e._time && (r = e._time), t = e, e = e._next) : (n = e._next, e._next = null, e = t ? t._next = n : Va = n);
|
7422
|
-
|
7422
|
+
_i = t, Zc(r);
|
7423
7423
|
}
|
7424
7424
|
function Zc(t) {
|
7425
7425
|
if (!Br) {
|
7426
|
-
|
7426
|
+
xi && (xi = clearTimeout(xi));
|
7427
7427
|
var e = t - Xn;
|
7428
|
-
e > 24 ? (t < 1 / 0 && (
|
7428
|
+
e > 24 ? (t < 1 / 0 && (xi = setTimeout(Up, t - to.now() - Vs)), ci && (ci = clearInterval(ci))) : (ci || (Za = to.now(), ci = setInterval(k4, py)), Br = 1, dy(Up));
|
7429
7429
|
}
|
7430
7430
|
}
|
7431
7431
|
function Kc(t, e, n) {
|
7432
|
-
var r = new
|
7432
|
+
var r = new eo();
|
7433
7433
|
return e = e == null ? 0 : +e, r.restart((i) => {
|
7434
7434
|
r.stop(), t(i + e);
|
7435
7435
|
}, e, n), r;
|
7436
7436
|
}
|
7437
7437
|
function I4(t, e, n) {
|
7438
|
-
var r = new
|
7438
|
+
var r = new eo(), i = e;
|
7439
7439
|
return e == null ? (r.restart(t, e, n), r) : (r._restart = r.restart, r.restart = function(o, a, s) {
|
7440
|
-
a = +a, s = s == null ?
|
7440
|
+
a = +a, s = s == null ? xo() : +s, r._restart(function u(c) {
|
7441
7441
|
c += i, r._restart(u, i += a, s), o(c);
|
7442
7442
|
}, a, s);
|
7443
7443
|
}, r.restart(t, e, n), r);
|
@@ -7583,7 +7583,7 @@ function Ff(t, e, n) {
|
|
7583
7583
|
}
|
7584
7584
|
function yy(t, e) {
|
7585
7585
|
var n;
|
7586
|
-
return (typeof e == "number" ? he : e instanceof gn ?
|
7586
|
+
return (typeof e == "number" ? he : e instanceof gn ? Ji : (n = gn(e)) ? (e = n, Ji) : Rf)(t, e);
|
7587
7587
|
}
|
7588
7588
|
function Y4(t) {
|
7589
7589
|
return function() {
|
@@ -7624,7 +7624,7 @@ function j4(t, e, n) {
|
|
7624
7624
|
};
|
7625
7625
|
}
|
7626
7626
|
function X4(t, e) {
|
7627
|
-
var n =
|
7627
|
+
var n = bo(t), r = n === "transform" ? sy : yy;
|
7628
7628
|
return this.attrTween(t, typeof e == "function" ? (n.local ? j4 : q4)(n, r, Ff(this, "attr." + t, e)) : e == null ? (n.local ? U4 : Y4)(n) : (n.local ? W4 : H4)(n, r, e));
|
7629
7629
|
}
|
7630
7630
|
function V4(t, e) {
|
@@ -7658,7 +7658,7 @@ function J4(t, e) {
|
|
7658
7658
|
if (arguments.length < 2) return (n = this.tween(n)) && n._value;
|
7659
7659
|
if (e == null) return this.tween(n, null);
|
7660
7660
|
if (typeof e != "function") throw new Error();
|
7661
|
-
var r =
|
7661
|
+
var r = bo(t);
|
7662
7662
|
return this.tween(n, (r.local ? K4 : Q4)(r, e));
|
7663
7663
|
}
|
7664
7664
|
function tA(t, e) {
|
@@ -7953,7 +7953,7 @@ function BA(t) {
|
|
7953
7953
|
function YA(t) {
|
7954
7954
|
return --t * t * t + 1;
|
7955
7955
|
}
|
7956
|
-
function
|
7956
|
+
function no(t) {
|
7957
7957
|
return ((t *= 2) <= 1 ? t * t * t : (t -= 2) * t * t + 2) / 2;
|
7958
7958
|
}
|
7959
7959
|
var zf = 3, UA = function t(e) {
|
@@ -8007,13 +8007,13 @@ function Vp(t) {
|
|
8007
8007
|
}
|
8008
8008
|
var el = 4 / 11, KA = 6 / 11, QA = 8 / 11, JA = 3 / 4, tM = 9 / 11, eM = 10 / 11, nM = 15 / 16, rM = 21 / 22, iM = 63 / 64, Ho = 1 / el / el;
|
8009
8009
|
function oM(t) {
|
8010
|
-
return 1 -
|
8010
|
+
return 1 - ro(1 - t);
|
8011
8011
|
}
|
8012
|
-
function
|
8012
|
+
function ro(t) {
|
8013
8013
|
return (t = +t) < el ? Ho * t * t : t < QA ? Ho * (t -= KA) * t + JA : t < eM ? Ho * (t -= tM) * t + nM : Ho * (t -= rM) * t + iM;
|
8014
8014
|
}
|
8015
8015
|
function aM(t) {
|
8016
|
-
return ((t *= 2) <= 1 ? 1 -
|
8016
|
+
return ((t *= 2) <= 1 ? 1 - ro(1 - t) : ro(t - 1) + 1) / 2;
|
8017
8017
|
}
|
8018
8018
|
var Gf = 1.70158, sM = function t(e) {
|
8019
8019
|
e = +e;
|
@@ -8068,7 +8068,7 @@ var Gf = 1.70158, sM = function t(e) {
|
|
8068
8068
|
// Set on use.
|
8069
8069
|
delay: 0,
|
8070
8070
|
duration: 250,
|
8071
|
-
ease:
|
8071
|
+
ease: no
|
8072
8072
|
};
|
8073
8073
|
function hM(t, e) {
|
8074
8074
|
for (var n; !(n = t.__transition) || !(n = n[e]); )
|
@@ -8078,7 +8078,7 @@ function hM(t, e) {
|
|
8078
8078
|
}
|
8079
8079
|
function pM(t) {
|
8080
8080
|
var e, n;
|
8081
|
-
t instanceof Ne ? (e = t._id, t = t._name) : (e = xy(), (n = fM).time =
|
8081
|
+
t instanceof Ne ? (e = t._id, t = t._name) : (e = xy(), (n = fM).time = xo(), t = t == null ? null : t + "");
|
8082
8082
|
for (var r = this._groups, i = r.length, o = 0; o < i; ++o)
|
8083
8083
|
for (var a = r[o], s = a.length, u, c = 0; c < s; ++c)
|
8084
8084
|
(u = a[c]) && Ks(u, t, e, c, a, n || hM(u, e));
|
@@ -8130,7 +8130,7 @@ function nl(t) {
|
|
8130
8130
|
}
|
8131
8131
|
var ba = {
|
8132
8132
|
name: "x",
|
8133
|
-
handles: ["w", "e"].map(
|
8133
|
+
handles: ["w", "e"].map(io),
|
8134
8134
|
input: function(t, e) {
|
8135
8135
|
return t == null ? null : [[+t[0], e[0][1]], [+t[1], e[1][1]]];
|
8136
8136
|
},
|
@@ -8139,7 +8139,7 @@ var ba = {
|
|
8139
8139
|
}
|
8140
8140
|
}, va = {
|
8141
8141
|
name: "y",
|
8142
|
-
handles: ["n", "s"].map(
|
8142
|
+
handles: ["n", "s"].map(io),
|
8143
8143
|
input: function(t, e) {
|
8144
8144
|
return t == null ? null : [[e[0][0], +t[0]], [e[1][0], +t[1]]];
|
8145
8145
|
},
|
@@ -8148,7 +8148,7 @@ var ba = {
|
|
8148
8148
|
}
|
8149
8149
|
}, bM = {
|
8150
8150
|
name: "xy",
|
8151
|
-
handles: ["n", "w", "e", "s", "nw", "ne", "sw", "se"].map(
|
8151
|
+
handles: ["n", "w", "e", "s", "nw", "ne", "sw", "se"].map(io),
|
8152
8152
|
input: function(t) {
|
8153
8153
|
return t == null ? null : nl(t);
|
8154
8154
|
},
|
@@ -8203,7 +8203,7 @@ var ba = {
|
|
8203
8203
|
se: 1,
|
8204
8204
|
sw: 1
|
8205
8205
|
};
|
8206
|
-
function
|
8206
|
+
function io(t) {
|
8207
8207
|
return { type: t };
|
8208
8208
|
}
|
8209
8209
|
function _M(t) {
|
@@ -8239,11 +8239,11 @@ function PM() {
|
|
8239
8239
|
function Yf(t) {
|
8240
8240
|
var e = wM, n = _M, r = $M, i = !0, o = er("start", "brush", "end"), a = 6, s;
|
8241
8241
|
function u(m) {
|
8242
|
-
var y = m.property("__brush", g).selectAll(".overlay").data([
|
8242
|
+
var y = m.property("__brush", g).selectAll(".overlay").data([io("overlay")]);
|
8243
8243
|
y.enter().append("rect").attr("class", "overlay").attr("pointer-events", "all").attr("cursor", qe.overlay).merge(y).each(function() {
|
8244
8244
|
var v = ju(this).extent;
|
8245
8245
|
Z(this).attr("x", v[0][0]).attr("y", v[0][1]).attr("width", v[1][0] - v[0][0]).attr("height", v[1][1] - v[0][1]);
|
8246
|
-
}), m.selectAll(".selection").data([
|
8246
|
+
}), m.selectAll(".selection").data([io("selection")]).enter().append("rect").attr("class", "selection").attr("cursor", qe.selection).attr("fill", "#777").attr("fill-opacity", 0.3).attr("stroke", "#fff").attr("shape-rendering", "crispEdges");
|
8247
8247
|
var x = m.selectAll(".handle").data(t.handles, function(v) {
|
8248
8248
|
return v.type;
|
8249
8249
|
});
|
@@ -8321,7 +8321,7 @@ function Yf(t) {
|
|
8321
8321
|
};
|
8322
8322
|
function f(m) {
|
8323
8323
|
if (s && !m.touches || !n.apply(this, arguments)) return;
|
8324
|
-
var y = this, x = m.target.__data__.type, v = (i && m.metaKey ? x = "overlay" : x) === "selection" ? Kp : i && m.altKey ? fr : lr, b = t === va ? null : vM[x], $ = t === ba ? null : xM[x], _ = ju(y), D = _.extent, T = _.selection, w = D[0][0], P, S,
|
8324
|
+
var y = this, x = m.target.__data__.type, v = (i && m.metaKey ? x = "overlay" : x) === "selection" ? Kp : i && m.altKey ? fr : lr, b = t === va ? null : vM[x], $ = t === ba ? null : xM[x], _ = ju(y), D = _.extent, T = _.selection, w = D[0][0], P, S, G = D[0][1], E, A, L = D[1][0], M, F, O = D[1][1], k, I, C = 0, N = 0, j, K = b && $ && i && m.shiftKey, R, X, q = Array.from(m.touches || [m], (it) => {
|
8325
8325
|
const $t = it.identifier;
|
8326
8326
|
return it = ae(it, y), it.point0 = it.slice(), it.identifier = $t, it;
|
8327
8327
|
});
|
@@ -8332,7 +8332,7 @@ function Yf(t) {
|
|
8332
8332
|
const it = [q[0], q[1] || q[0]];
|
8333
8333
|
_.selection = T = [[
|
8334
8334
|
P = t === va ? w : Gt(it[0][0], it[1][0]),
|
8335
|
-
E = t === ba ?
|
8335
|
+
E = t === ba ? G : Gt(it[0][1], it[1][1])
|
8336
8336
|
], [
|
8337
8337
|
M = t === va ? L : zt(it[0][0], it[1][0]),
|
8338
8338
|
k = t === ba ? O : zt(it[0][1], it[1][1])
|
@@ -8350,8 +8350,8 @@ function Yf(t) {
|
|
8350
8350
|
c.call(y), V.start(m, v.name);
|
8351
8351
|
function H(it) {
|
8352
8352
|
for (const $t of it.changedTouches || [it])
|
8353
|
-
for (const
|
8354
|
-
|
8353
|
+
for (const ai of q)
|
8354
|
+
ai.identifier === $t.identifier && (ai.cur = ae($t, y));
|
8355
8355
|
if (K && !R && !X && q.length === 1) {
|
8356
8356
|
const $t = q[0];
|
8357
8357
|
Qp($t.cur[0] - $t[0]) > Qp($t.cur[1] - $t[1]) ? X = !0 : R = !0;
|
@@ -8361,20 +8361,20 @@ function Yf(t) {
|
|
8361
8361
|
j = !0, Wu(it), gt(it);
|
8362
8362
|
}
|
8363
8363
|
function gt(it) {
|
8364
|
-
const $t = q[0],
|
8364
|
+
const $t = q[0], ai = $t.point0;
|
8365
8365
|
var un;
|
8366
|
-
switch (C = $t[0] -
|
8366
|
+
switch (C = $t[0] - ai[0], N = $t[1] - ai[1], v) {
|
8367
8367
|
case qu:
|
8368
8368
|
case Kp: {
|
8369
|
-
b && (C = zt(w - P, Gt(L - M, C)), S = P + C, F = M + C), $ && (N = zt(
|
8369
|
+
b && (C = zt(w - P, Gt(L - M, C)), S = P + C, F = M + C), $ && (N = zt(G - E, Gt(O - k, N)), A = E + N, I = k + N);
|
8370
8370
|
break;
|
8371
8371
|
}
|
8372
8372
|
case lr: {
|
8373
|
-
q[1] ? (b && (S = zt(w, Gt(L, q[0][0])), F = zt(w, Gt(L, q[1][0])), b = 1), $ && (A = zt(
|
8373
|
+
q[1] ? (b && (S = zt(w, Gt(L, q[0][0])), F = zt(w, Gt(L, q[1][0])), b = 1), $ && (A = zt(G, Gt(O, q[0][1])), I = zt(G, Gt(O, q[1][1])), $ = 1)) : (b < 0 ? (C = zt(w - P, Gt(L - P, C)), S = P + C, F = M) : b > 0 && (C = zt(w - M, Gt(L - M, C)), S = P, F = M + C), $ < 0 ? (N = zt(G - E, Gt(O - E, N)), A = E + N, I = k) : $ > 0 && (N = zt(G - k, Gt(O - k, N)), A = E, I = k + N));
|
8374
8374
|
break;
|
8375
8375
|
}
|
8376
8376
|
case fr: {
|
8377
|
-
b && (S = zt(w, Gt(L, P - C * b)), F = zt(w, Gt(L, M + C * b))), $ && (A = zt(
|
8377
|
+
b && (S = zt(w, Gt(L, P - C * b)), F = zt(w, Gt(L, M + C * b))), $ && (A = zt(G, Gt(O, E - N * $)), I = zt(G, Gt(O, k + N * $)));
|
8378
8378
|
break;
|
8379
8379
|
}
|
8380
8380
|
}
|
@@ -8547,7 +8547,7 @@ function IM(t) {
|
|
8547
8547
|
this._ += Math.round(arguments[i] * n) / n + r[i];
|
8548
8548
|
};
|
8549
8549
|
}
|
8550
|
-
let
|
8550
|
+
let _o = class {
|
8551
8551
|
constructor(e) {
|
8552
8552
|
this._x0 = this._y0 = // start of current subpath
|
8553
8553
|
this._x1 = this._y1 = null, this._ = "", this._append = e == null ? Sy : IM(e);
|
@@ -8592,11 +8592,11 @@ let wo = class {
|
|
8592
8592
|
}
|
8593
8593
|
};
|
8594
8594
|
function Hf() {
|
8595
|
-
return new
|
8595
|
+
return new _o();
|
8596
8596
|
}
|
8597
|
-
Hf.prototype =
|
8597
|
+
Hf.prototype = _o.prototype;
|
8598
8598
|
function RM(t = 3) {
|
8599
|
-
return new
|
8599
|
+
return new _o(+t);
|
8600
8600
|
}
|
8601
8601
|
var NM = Array.prototype.slice;
|
8602
8602
|
function Mn(t) {
|
@@ -8723,7 +8723,7 @@ function ol() {
|
|
8723
8723
|
if (Array.isArray(l))
|
8724
8724
|
l = l.slice().sort(qM);
|
8725
8725
|
else {
|
8726
|
-
const h =
|
8726
|
+
const h = Ci(c, t7);
|
8727
8727
|
for (l = Hn(..._f(h[0], h[1], l), l); l[l.length - 1] >= h[1]; ) l.pop();
|
8728
8728
|
for (; l[1] < h[0]; ) l.shift();
|
8729
8729
|
}
|
@@ -8813,15 +8813,15 @@ function i7() {
|
|
8813
8813
|
for (const E of x) {
|
8814
8814
|
var _ = (t(E, ++$, x) + s) * b, D = (e(E, $, x) + s) * b, T = +n(E, $, x);
|
8815
8815
|
if (T && _ >= 0 && _ < u && D >= 0 && D < c) {
|
8816
|
-
var w = Math.floor(_), P = Math.floor(D), S = _ - w - 0.5,
|
8817
|
-
v[w + P * u] += (1 - S) * (1 -
|
8816
|
+
var w = Math.floor(_), P = Math.floor(D), S = _ - w - 0.5, G = D - P - 0.5;
|
8817
|
+
v[w + P * u] += (1 - S) * (1 - G) * T, v[w + 1 + P * u] += S * (1 - G) * T, v[w + 1 + (P + 1) * u] += S * G * T, v[w + (P + 1) * u] += (1 - S) * G * T;
|
8818
8818
|
}
|
8819
8819
|
}
|
8820
8820
|
return n1({ data: v, width: u, height: c }, o * b), v;
|
8821
8821
|
}
|
8822
8822
|
function f(x) {
|
8823
8823
|
var v = h(x), b = l(v), $ = Math.pow(2, 2 * a);
|
8824
|
-
return Array.isArray(b) || (b = Hn(Number.MIN_VALUE,
|
8824
|
+
return Array.isArray(b) || (b = Hn(Number.MIN_VALUE, Xi(v) / $, b)), ol().size([u, c]).thresholds(b.map((_) => _ * $))(v).map((_, D) => (_.value = +b[D], p(_)));
|
8825
8825
|
}
|
8826
8826
|
f.contours = function(x) {
|
8827
8827
|
var v = h(x), b = ol().size([u, c]), $ = Math.pow(2, 2 * a), _ = (D) => {
|
@@ -8829,7 +8829,7 @@ function i7() {
|
|
8829
8829
|
var T = p(b.contour(v, D * $));
|
8830
8830
|
return T.value = D, T;
|
8831
8831
|
};
|
8832
|
-
return Object.defineProperty(_, "max", { get: () =>
|
8832
|
+
return Object.defineProperty(_, "max", { get: () => Xi(v) / $ }), _;
|
8833
8833
|
};
|
8834
8834
|
function p(x) {
|
8835
8835
|
return x.coordinates.forEach(d), x;
|
@@ -8888,17 +8888,17 @@ function a7(t, e) {
|
|
8888
8888
|
for (let r = 1; r < t; r++) n += e[r];
|
8889
8889
|
return n;
|
8890
8890
|
}
|
8891
|
-
function
|
8891
|
+
function wo(t) {
|
8892
8892
|
return new Float64Array(t);
|
8893
8893
|
}
|
8894
|
-
const s7 = (3 + 16 * tn) * tn, u7 = (2 + 12 * tn) * tn, c7 = (9 + 64 * tn) * tn * tn, dr =
|
8894
|
+
const s7 = (3 + 16 * tn) * tn, u7 = (2 + 12 * tn) * tn, c7 = (9 + 64 * tn) * tn * tn, dr = wo(4), sd = wo(8), ud = wo(12), cd = wo(16), Ht = wo(4);
|
8895
8895
|
function l7(t, e, n, r, i, o, a) {
|
8896
8896
|
let s, u, c, l, h, f, p, d, g, m, y, x, v, b, $, _, D, T;
|
8897
|
-
const w = t - i, P = n - i, S = e - o,
|
8898
|
-
b = w *
|
8897
|
+
const w = t - i, P = n - i, S = e - o, G = r - o;
|
8898
|
+
b = w * G, f = Ot * w, p = f - (f - w), d = w - p, f = Ot * G, g = f - (f - G), m = G - g, $ = d * m - (b - p * g - d * g - p * m), _ = S * P, f = Ot * S, p = f - (f - S), d = S - p, f = Ot * P, g = f - (f - P), m = P - g, D = d * m - (_ - p * g - d * g - p * m), y = $ - D, h = $ - y, dr[0] = $ - (y + h) + (h - D), x = b + y, h = x - b, v = b - (x - h) + (y - h), y = v - _, h = v - y, dr[1] = v - (y + h) + (h - _), T = x + y, h = T - x, dr[2] = x - (T - h) + (y - h), dr[3] = T;
|
8899
8899
|
let E = a7(4, dr), A = u7 * a;
|
8900
|
-
if (E >= A || -E >= A || (h = t - w, s = t - (w + h) + (h - i), h = n - P, c = n - (P + h) + (h - i), h = e - S, u = e - (S + h) + (h - o), h = r -
|
8901
|
-
b = s *
|
8900
|
+
if (E >= A || -E >= A || (h = t - w, s = t - (w + h) + (h - i), h = n - P, c = n - (P + h) + (h - i), h = e - S, u = e - (S + h) + (h - o), h = r - G, l = r - (G + h) + (h - o), s === 0 && u === 0 && c === 0 && l === 0) || (A = c7 * a + o7 * Math.abs(E), E += w * l + G * s - (S * c + P * u), E >= A || -E >= A)) return E;
|
8901
|
+
b = s * G, f = Ot * s, p = f - (f - s), d = s - p, f = Ot * G, g = f - (f - G), m = G - g, $ = d * m - (b - p * g - d * g - p * m), _ = u * P, f = Ot * u, p = f - (f - u), d = u - p, f = Ot * P, g = f - (f - P), m = P - g, D = d * m - (_ - p * g - d * g - p * m), y = $ - D, h = $ - y, Ht[0] = $ - (y + h) + (h - D), x = b + y, h = x - b, v = b - (x - h) + (y - h), y = v - _, h = v - y, Ht[1] = v - (y + h) + (h - _), T = x + y, h = T - x, Ht[2] = x - (T - h) + (y - h), Ht[3] = T;
|
8902
8902
|
const L = Ku(4, dr, 4, Ht, sd);
|
8903
8903
|
b = w * l, f = Ot * w, p = f - (f - w), d = w - p, f = Ot * l, g = f - (f - l), m = l - g, $ = d * m - (b - p * g - d * g - p * m), _ = S * c, f = Ot * S, p = f - (f - S), d = S - p, f = Ot * c, g = f - (f - c), m = c - g, D = d * m - (_ - p * g - d * g - p * m), y = $ - D, h = $ - y, Ht[0] = $ - (y + h) + (h - D), x = b + y, h = x - b, v = b - (x - h) + (y - h), y = v - _, h = v - y, Ht[1] = v - (y + h) + (h - _), T = x + y, h = T - x, Ht[2] = x - (T - h) + (y - h), Ht[3] = T;
|
8904
8904
|
const M = Ku(L, sd, 4, Ht, ud);
|
@@ -8959,9 +8959,9 @@ class Qa {
|
|
8959
8959
|
xr(this._ids, this._dists, 0, a - 1);
|
8960
8960
|
const w = new Uint32Array(a);
|
8961
8961
|
let P = 0;
|
8962
|
-
for (let S = 0,
|
8962
|
+
for (let S = 0, G = -1 / 0; S < a; S++) {
|
8963
8963
|
const E = this._ids[S], A = this._dists[E];
|
8964
|
-
A >
|
8964
|
+
A > G && (w[P++] = E, G = A);
|
8965
8965
|
}
|
8966
8966
|
this.hull = w.subarray(0, P), this.triangles = new Uint32Array(0), this.halfedges = new Uint32Array(0);
|
8967
8967
|
return;
|
@@ -8978,8 +8978,8 @@ class Qa {
|
|
8978
8978
|
let T = 3;
|
8979
8979
|
r[p] = n[g] = d, r[d] = n[p] = g, r[g] = n[d] = p, i[p] = 0, i[d] = 1, i[g] = 2, o.fill(-1), o[this._hashKey(m, y)] = p, o[this._hashKey(x, v)] = d, o[this._hashKey($, _)] = g, this.trianglesLen = 0, this._addTriangle(p, d, g, -1, -1, -1);
|
8980
8980
|
for (let w = 0, P, S; w < this._ids.length; w++) {
|
8981
|
-
const
|
8982
|
-
if (w > 0 && Math.abs(E - P) <= ld && Math.abs(A - S) <= ld || (P = E, S = A,
|
8981
|
+
const G = this._ids[w], E = e[2 * G], A = e[2 * G + 1];
|
8982
|
+
if (w > 0 && Math.abs(E - P) <= ld && Math.abs(A - S) <= ld || (P = E, S = A, G === p || G === d || G === g)) continue;
|
8983
8983
|
let L = 0;
|
8984
8984
|
for (let I = 0, C = this._hashKey(E, A); I < this._hashSize && (L = o[(C + I) % this._hashSize], !(L !== -1 && L !== r[L])); I++)
|
8985
8985
|
;
|
@@ -8991,15 +8991,15 @@ class Qa {
|
|
8991
8991
|
break;
|
8992
8992
|
}
|
8993
8993
|
if (M === -1) continue;
|
8994
|
-
let O = this._addTriangle(M,
|
8995
|
-
i[
|
8994
|
+
let O = this._addTriangle(M, G, r[M], -1, -1, i[M]);
|
8995
|
+
i[G] = this._legalize(O + 2), i[M] = O, T++;
|
8996
8996
|
let k = r[M];
|
8997
8997
|
for (; F = r[k], qo(E, A, e[2 * k], e[2 * k + 1], e[2 * F], e[2 * F + 1]) < 0; )
|
8998
|
-
O = this._addTriangle(k,
|
8998
|
+
O = this._addTriangle(k, G, F, i[G], -1, i[k]), i[G] = this._legalize(O + 2), r[k] = k, T--, k = F;
|
8999
8999
|
if (M === L)
|
9000
9000
|
for (; F = n[M], qo(E, A, e[2 * F], e[2 * F + 1], e[2 * M], e[2 * M + 1]) < 0; )
|
9001
|
-
O = this._addTriangle(F,
|
9002
|
-
this._hullStart = n[
|
9001
|
+
O = this._addTriangle(F, G, M, -1, i[M], i[F]), this._legalize(O + 2), i[F] = O, r[M] = M, T--, M = F;
|
9002
|
+
this._hullStart = n[G] = M, r[M] = n[k] = G, r[G] = k, o[this._hashKey(E, A)] = G, o[this._hashKey(e[2 * M], e[2 * M + 1])] = M;
|
9003
9003
|
}
|
9004
9004
|
this.hull = new Uint32Array(T);
|
9005
9005
|
for (let w = 0, P = this._hullStart; w < T; w++)
|
@@ -9092,7 +9092,7 @@ function xr(t, e, n, r) {
|
|
9092
9092
|
else {
|
9093
9093
|
const i = n + r >> 1;
|
9094
9094
|
let o = n + 1, a = r;
|
9095
|
-
|
9095
|
+
li(t, i, o), e[t[n]] > e[t[r]] && li(t, n, r), e[t[o]] > e[t[r]] && li(t, o, r), e[t[n]] > e[t[o]] && li(t, n, o);
|
9096
9096
|
const s = t[o], u = e[s];
|
9097
9097
|
for (; ; ) {
|
9098
9098
|
do
|
@@ -9102,12 +9102,12 @@ function xr(t, e, n, r) {
|
|
9102
9102
|
a--;
|
9103
9103
|
while (e[t[a]] > u);
|
9104
9104
|
if (a < o) break;
|
9105
|
-
|
9105
|
+
li(t, o, a);
|
9106
9106
|
}
|
9107
9107
|
t[n + 1] = t[a], t[a] = s, r - o + 1 >= a - n ? (xr(t, e, o, r), xr(t, e, n, a - 1)) : (xr(t, e, n, a - 1), xr(t, e, o, r));
|
9108
9108
|
}
|
9109
9109
|
}
|
9110
|
-
function
|
9110
|
+
function li(t, e, n) {
|
9111
9111
|
const r = t[e];
|
9112
9112
|
t[e] = t[n], t[n] = r;
|
9113
9113
|
}
|
@@ -9175,7 +9175,7 @@ class Dy {
|
|
9175
9175
|
let o, a;
|
9176
9176
|
const s = this.circumcenters = this._circumcenters.subarray(0, r.length / 3 * 2);
|
9177
9177
|
for (let g = 0, m = 0, y = r.length, x, v; g < y; g += 3, m += 2) {
|
9178
|
-
const b = r[g] * 2, $ = r[g + 1] * 2, _ = r[g + 2] * 2, D = e[b], T = e[b + 1], w = e[$], P = e[$ + 1], S = e[_],
|
9178
|
+
const b = r[g] * 2, $ = r[g + 1] * 2, _ = r[g + 2] * 2, D = e[b], T = e[b + 1], w = e[$], P = e[$ + 1], S = e[_], G = e[_ + 1], E = w - D, A = P - T, L = S - D, M = G - T, F = (E * M - A * L) * 2;
|
9179
9179
|
if (Math.abs(F) < 1e-9) {
|
9180
9180
|
if (o === void 0) {
|
9181
9181
|
o = a = 0;
|
@@ -9183,7 +9183,7 @@ class Dy {
|
|
9183
9183
|
o /= n.length, a /= n.length;
|
9184
9184
|
}
|
9185
9185
|
const O = 1e9 * Math.sign((o - D) * M - (a - T) * L);
|
9186
|
-
x = (D + S) / 2 - O * M, v = (T +
|
9186
|
+
x = (D + S) / 2 - O * M, v = (T + G) / 2 + O * L;
|
9187
9187
|
} else {
|
9188
9188
|
const O = 1 / F, k = E * E + A * A, I = L * L + M * M;
|
9189
9189
|
x = D + (M * k - A * I) * O, v = T + (E * I - L * k) * O;
|
@@ -9542,7 +9542,7 @@ function* $7(t, e, n, r) {
|
|
9542
9542
|
for (const o of t)
|
9543
9543
|
yield e.call(r, o, i, t), yield n.call(r, o, i, t), ++i;
|
9544
9544
|
}
|
9545
|
-
var hd = {}, Ju = {}, tc = 34,
|
9545
|
+
var hd = {}, Ju = {}, tc = 34, fi = 10, ec = 13;
|
9546
9546
|
function Py(t) {
|
9547
9547
|
return new Function("d", "return {" + t.map(function(e, n) {
|
9548
9548
|
return JSON.stringify(e) + ": d[" + n + '] || ""';
|
@@ -9584,19 +9584,19 @@ function Qs(t) {
|
|
9584
9584
|
}
|
9585
9585
|
function i(h, f) {
|
9586
9586
|
var p = [], d = h.length, g = 0, m = 0, y, x = d <= 0, v = !1;
|
9587
|
-
h.charCodeAt(d - 1) ===
|
9587
|
+
h.charCodeAt(d - 1) === fi && --d, h.charCodeAt(d - 1) === ec && --d;
|
9588
9588
|
function b() {
|
9589
9589
|
if (x) return Ju;
|
9590
9590
|
if (v) return v = !1, hd;
|
9591
9591
|
var _, D = g, T;
|
9592
9592
|
if (h.charCodeAt(D) === tc) {
|
9593
9593
|
for (; g++ < d && h.charCodeAt(g) !== tc || h.charCodeAt(++g) === tc; ) ;
|
9594
|
-
return (_ = g) >= d ? x = !0 : (T = h.charCodeAt(g++)) ===
|
9594
|
+
return (_ = g) >= d ? x = !0 : (T = h.charCodeAt(g++)) === fi ? v = !0 : T === ec && (v = !0, h.charCodeAt(g) === fi && ++g), h.slice(D + 1, _ - 1).replace(/""/g, '"');
|
9595
9595
|
}
|
9596
9596
|
for (; g < d; ) {
|
9597
|
-
if ((T = h.charCodeAt(_ = g++)) ===
|
9597
|
+
if ((T = h.charCodeAt(_ = g++)) === fi) v = !0;
|
9598
9598
|
else if (T === ec)
|
9599
|
-
v = !0, h.charCodeAt(g) ===
|
9599
|
+
v = !0, h.charCodeAt(g) === fi && ++g;
|
9600
9600
|
else if (T !== n) continue;
|
9601
9601
|
return h.slice(D, _);
|
9602
9602
|
}
|
@@ -9945,8 +9945,8 @@ function Ey(t) {
|
|
9945
9945
|
var T = v.data, w = v.r, P = g + w;
|
9946
9946
|
if (T) {
|
9947
9947
|
if (T.index > f.index) {
|
9948
|
-
var S = p - T.x - T.vx,
|
9949
|
-
E < P * P && (S === 0 && (S = hn(r), E += S * S),
|
9948
|
+
var S = p - T.x - T.vx, G = d - T.y - T.vy, E = S * S + G * G;
|
9949
|
+
E < P * P && (S === 0 && (S = hn(r), E += S * S), G === 0 && (G = hn(r), E += G * G), E = (P - (E = Math.sqrt(E))) / E * i, f.vx += (S *= E) * (P = (w *= w) / (m + w)), f.vy += (G *= E) * P, T.vx -= S * (P = 1 - P), T.vy -= G * P);
|
9950
9950
|
}
|
9951
9951
|
return;
|
9952
9952
|
}
|
@@ -10340,13 +10340,13 @@ function Gy(t) {
|
|
10340
10340
|
var _ = g === "$" ? n : g === "#" && /[boxX]/.test($) ? "0" + $.toLowerCase() : "", D = g === "$" ? r : /[%p]/.test($) ? a : "", T = bd[$], w = /[defgprs%]/.test($);
|
10341
10341
|
v = v === void 0 ? 6 : /[gprs]/.test($) ? Math.max(1, Math.min(21, v)) : Math.max(0, Math.min(20, v));
|
10342
10342
|
function P(S) {
|
10343
|
-
var
|
10343
|
+
var G = _, E = D, A, L, M;
|
10344
10344
|
if ($ === "c")
|
10345
10345
|
E = T(S) + E, S = "";
|
10346
10346
|
else {
|
10347
10347
|
S = +S;
|
10348
10348
|
var F = S < 0 || 1 / S < 0;
|
10349
|
-
if (S = isNaN(S) ? u : T(Math.abs(S), v), b && (S = I9(S)), F && +S == 0 && d !== "+" && (F = !1),
|
10349
|
+
if (S = isNaN(S) ? u : T(Math.abs(S), v), b && (S = I9(S)), F && +S == 0 && d !== "+" && (F = !1), G = (F ? d === "(" ? d : s : d === "-" || d === "(" ? "" : d) + G, E = ($ === "s" ? _d[8 + zy / 3] : "") + E + (F && d === "(" ? ")" : ""), w) {
|
10350
10350
|
for (A = -1, L = S.length; ++A < L; )
|
10351
10351
|
if (M = S.charCodeAt(A), 48 > M || M > 57) {
|
10352
10352
|
E = (M === 46 ? i + S.slice(A + 1) : S.slice(A)) + E, S = S.slice(0, A);
|
@@ -10355,19 +10355,19 @@ function Gy(t) {
|
|
10355
10355
|
}
|
10356
10356
|
}
|
10357
10357
|
x && !m && (S = e(S, 1 / 0));
|
10358
|
-
var O =
|
10358
|
+
var O = G.length + S.length + E.length, k = O < y ? new Array(y - O + 1).join(f) : "";
|
10359
10359
|
switch (x && m && (S = e(k + S, k.length ? y - E.length : 1 / 0), k = ""), p) {
|
10360
10360
|
case "<":
|
10361
|
-
S =
|
10361
|
+
S = G + S + E + k;
|
10362
10362
|
break;
|
10363
10363
|
case "=":
|
10364
|
-
S =
|
10364
|
+
S = G + k + S + E;
|
10365
10365
|
break;
|
10366
10366
|
case "^":
|
10367
|
-
S = k.slice(0, O = k.length >> 1) +
|
10367
|
+
S = k.slice(0, O = k.length >> 1) + G + S + E + k.slice(O);
|
10368
10368
|
break;
|
10369
10369
|
default:
|
10370
|
-
S = k +
|
10370
|
+
S = k + G + S + E;
|
10371
10371
|
break;
|
10372
10372
|
}
|
10373
10373
|
return o(S);
|
@@ -10387,14 +10387,14 @@ function Gy(t) {
|
|
10387
10387
|
formatPrefix: l
|
10388
10388
|
};
|
10389
10389
|
}
|
10390
|
-
var Xo,
|
10390
|
+
var Xo, $o, Xf;
|
10391
10391
|
Oy({
|
10392
10392
|
thousands: ",",
|
10393
10393
|
grouping: [3],
|
10394
10394
|
currency: ["$", ""]
|
10395
10395
|
});
|
10396
10396
|
function Oy(t) {
|
10397
|
-
return Xo = Gy(t),
|
10397
|
+
return Xo = Gy(t), $o = Xo.format, Xf = Xo.formatPrefix, Xo;
|
10398
10398
|
}
|
10399
10399
|
function By(t) {
|
10400
10400
|
return Math.max(0, -Ur(Math.abs(t)));
|
@@ -10405,7 +10405,7 @@ function Yy(t, e) {
|
|
10405
10405
|
function Uy(t, e) {
|
10406
10406
|
return t = Math.abs(t), e = Math.abs(e) - t, Math.max(0, Ur(e) - Ur(t)) + 1;
|
10407
10407
|
}
|
10408
|
-
var et = 1e-6,
|
10408
|
+
var et = 1e-6, oo = 1e-12, lt = Math.PI, At = lt / 2, ts = lt / 4, Kt = lt * 2, mt = 180 / lt, nt = lt / 180, pt = Math.abs, ri = Math.atan, Qt = Math.atan2, J = Math.cos, Vo = Math.ceil, Hy = Math.exp, sl = Math.hypot, es = Math.log, nc = Math.pow, Q = Math.sin, de = Math.sign || function(t) {
|
10409
10409
|
return t > 0 ? 1 : t < 0 ? -1 : 0;
|
10410
10410
|
}, It = Math.sqrt, Vf = Math.tan;
|
10411
10411
|
function Wy(t) {
|
@@ -10523,15 +10523,15 @@ function as(t) {
|
|
10523
10523
|
var e = It(t[0] * t[0] + t[1] * t[1] + t[2] * t[2]);
|
10524
10524
|
t[0] /= e, t[1] /= e, t[2] /= e;
|
10525
10525
|
}
|
10526
|
-
var xt, re, St, se, Tn, Vy, Zy, Pr,
|
10526
|
+
var xt, re, St, se, Tn, Vy, Zy, Pr, ki, ln, nn, Ve = {
|
10527
10527
|
point: hl,
|
10528
10528
|
lineStart: Md,
|
10529
10529
|
lineEnd: Dd,
|
10530
10530
|
polygonStart: function() {
|
10531
|
-
Ve.point = Qy, Ve.lineStart = O9, Ve.lineEnd = B9,
|
10531
|
+
Ve.point = Qy, Ve.lineStart = O9, Ve.lineEnd = B9, ki = new Ct(), Fe.polygonStart();
|
10532
10532
|
},
|
10533
10533
|
polygonEnd: function() {
|
10534
|
-
Fe.polygonEnd(), Ve.point = hl, Ve.lineStart = Md, Ve.lineEnd = Dd, rs < 0 ? (xt = -(St = 180), re = -(se = 90)) :
|
10534
|
+
Fe.polygonEnd(), Ve.point = hl, Ve.lineStart = Md, Ve.lineEnd = Dd, rs < 0 ? (xt = -(St = 180), re = -(se = 90)) : ki > et ? se = 90 : ki < -et && (re = -90), nn[0] = xt, nn[1] = St;
|
10535
10535
|
},
|
10536
10536
|
sphere: function() {
|
10537
10537
|
xt = -(St = 180), re = -(se = 90);
|
@@ -10560,7 +10560,7 @@ function Dd() {
|
|
10560
10560
|
function Qy(t, e) {
|
10561
10561
|
if (Pr) {
|
10562
10562
|
var n = t - Tn;
|
10563
|
-
|
10563
|
+
ki.add(pt(n) > 180 ? n + (n > 0 ? 360 : -360) : n);
|
10564
10564
|
} else
|
10565
10565
|
Vy = t, Zy = e;
|
10566
10566
|
Fe.point(t, e), Ky(t, e);
|
@@ -10569,7 +10569,7 @@ function O9() {
|
|
10569
10569
|
Fe.lineStart();
|
10570
10570
|
}
|
10571
10571
|
function B9() {
|
10572
|
-
Qy(Vy, Zy), Fe.lineEnd(), pt(
|
10572
|
+
Qy(Vy, Zy), Fe.lineEnd(), pt(ki) > et && (xt = -(St = 180)), nn[0] = xt, nn[1] = St, Pr = null;
|
10573
10573
|
}
|
10574
10574
|
function oe(t, e) {
|
10575
10575
|
return (e -= t) < 0 ? e + 360 : e;
|
@@ -10590,7 +10590,7 @@ function U9(t) {
|
|
10590
10590
|
}
|
10591
10591
|
return ln = nn = null, xt === 1 / 0 || re === 1 / 0 ? [[NaN, NaN], [NaN, NaN]] : [[xt, re], [St, se]];
|
10592
10592
|
}
|
10593
|
-
var
|
10593
|
+
var wi, ss, us, cs, ls, fs, hs, ps, pl, dl, gl, Jy, tb, Wt, qt, jt, $e = {
|
10594
10594
|
sphere: _t,
|
10595
10595
|
point: Zf,
|
10596
10596
|
lineStart: Td,
|
@@ -10605,10 +10605,10 @@ var $i, ss, us, cs, ls, fs, hs, ps, pl, dl, gl, Jy, tb, Wt, qt, jt, $e = {
|
|
10605
10605
|
function Zf(t, e) {
|
10606
10606
|
t *= nt, e *= nt;
|
10607
10607
|
var n = J(e);
|
10608
|
-
|
10608
|
+
So(n * J(t), n * Q(t), Q(e));
|
10609
10609
|
}
|
10610
|
-
function
|
10611
|
-
|
10610
|
+
function So(t, e, n) {
|
10611
|
+
++wi, us += (t - us) / wi, cs += (e - cs) / wi, ls += (n - ls) / wi;
|
10612
10612
|
}
|
10613
10613
|
function Td() {
|
10614
10614
|
$e.point = H9;
|
@@ -10616,12 +10616,12 @@ function Td() {
|
|
10616
10616
|
function H9(t, e) {
|
10617
10617
|
t *= nt, e *= nt;
|
10618
10618
|
var n = J(e);
|
10619
|
-
Wt = n * J(t), qt = n * Q(t), jt = Q(e), $e.point = W9,
|
10619
|
+
Wt = n * J(t), qt = n * Q(t), jt = Q(e), $e.point = W9, So(Wt, qt, jt);
|
10620
10620
|
}
|
10621
10621
|
function W9(t, e) {
|
10622
10622
|
t *= nt, e *= nt;
|
10623
10623
|
var n = J(e), r = n * J(t), i = n * Q(t), o = Q(e), a = Qt(It((a = qt * o - jt * i) * a + (a = jt * r - Wt * o) * a + (a = Wt * i - qt * r) * a), Wt * r + qt * i + jt * o);
|
10624
|
-
ss += a, fs += a * (Wt + (Wt = r)), hs += a * (qt + (qt = i)), ps += a * (jt + (jt = o)),
|
10624
|
+
ss += a, fs += a * (Wt + (Wt = r)), hs += a * (qt + (qt = i)), ps += a * (jt + (jt = o)), So(Wt, qt, jt);
|
10625
10625
|
}
|
10626
10626
|
function Ld() {
|
10627
10627
|
$e.point = Zf;
|
@@ -10635,17 +10635,17 @@ function j9() {
|
|
10635
10635
|
function X9(t, e) {
|
10636
10636
|
Jy = t, tb = e, t *= nt, e *= nt, $e.point = eb;
|
10637
10637
|
var n = J(e);
|
10638
|
-
Wt = n * J(t), qt = n * Q(t), jt = Q(e),
|
10638
|
+
Wt = n * J(t), qt = n * Q(t), jt = Q(e), So(Wt, qt, jt);
|
10639
10639
|
}
|
10640
10640
|
function eb(t, e) {
|
10641
10641
|
t *= nt, e *= nt;
|
10642
10642
|
var n = J(e), r = n * J(t), i = n * Q(t), o = Q(e), a = qt * o - jt * i, s = jt * r - Wt * o, u = Wt * i - qt * r, c = sl(a, s, u), l = Jt(c), h = c && -l / c;
|
10643
|
-
pl.add(h * a), dl.add(h * s), gl.add(h * u), ss += l, fs += l * (Wt + (Wt = r)), hs += l * (qt + (qt = i)), ps += l * (jt + (jt = o)),
|
10643
|
+
pl.add(h * a), dl.add(h * s), gl.add(h * u), ss += l, fs += l * (Wt + (Wt = r)), hs += l * (qt + (qt = i)), ps += l * (jt + (jt = o)), So(Wt, qt, jt);
|
10644
10644
|
}
|
10645
10645
|
function V9(t) {
|
10646
|
-
|
10646
|
+
wi = ss = us = cs = ls = fs = hs = ps = 0, pl = new Ct(), dl = new Ct(), gl = new Ct(), we(t, $e);
|
10647
10647
|
var e = +pl, n = +dl, r = +gl, i = sl(e, n, r);
|
10648
|
-
return i <
|
10648
|
+
return i < oo && (e = fs, n = hs, r = ps, ss < et && (e = us, n = cs, r = ls), i = sl(e, n, r), i < oo) ? [NaN, NaN] : [Qt(n, e) * mt, Jt(r / i) * mt];
|
10649
10649
|
}
|
10650
10650
|
function mr(t) {
|
10651
10651
|
return function() {
|
@@ -10814,8 +10814,8 @@ function ab(t, e) {
|
|
10814
10814
|
for (var c = 0, l = t.length; c < l; ++c)
|
10815
10815
|
if (f = (h = t[c]).length)
|
10816
10816
|
for (var h, f, p = h[f - 1], d = ic(p), g = p[1] / 2 + ts, m = Q(g), y = J(g), x = 0; x < f; ++x, d = b, m = _, y = D, p = v) {
|
10817
|
-
var v = h[x], b = ic(v), $ = v[1] / 2 + ts, _ = Q($), D = J($), T = b - d, w = T >= 0 ? 1 : -1, P = w * T, S = P > lt,
|
10818
|
-
if (u.add(Qt(
|
10817
|
+
var v = h[x], b = ic(v), $ = v[1] / 2 + ts, _ = Q($), D = J($), T = b - d, w = T >= 0 ? 1 : -1, P = w * T, S = P > lt, G = m * _;
|
10818
|
+
if (u.add(Qt(G * w * Q(P), y * D + G * J(P))), a += S ? T + w * Kt : T, S ^ d >= n ^ b >= n) {
|
10819
10819
|
var E = Wr(Vn(p), Vn(v));
|
10820
10820
|
as(E);
|
10821
10821
|
var A = Wr(o, E);
|
@@ -10824,7 +10824,7 @@ function ab(t, e) {
|
|
10824
10824
|
(r > L || r === L && (E[0] || E[1])) && (s += S ^ T >= 0 ? 1 : -1);
|
10825
10825
|
}
|
10826
10826
|
}
|
10827
|
-
return (a < -et || a < et && u < -
|
10827
|
+
return (a < -et || a < et && u < -oo) ^ s & 1;
|
10828
10828
|
}
|
10829
10829
|
function sb(t, e, n, r) {
|
10830
10830
|
return function(i) {
|
@@ -10964,9 +10964,9 @@ function ub(t) {
|
|
10964
10964
|
if (!v) return !f && l;
|
10965
10965
|
var b = e * y / v, $ = -e * x / v, _ = Wr(g, m), D = Ko(g, b), T = Ko(m, $);
|
10966
10966
|
rc(D, T);
|
10967
|
-
var w = _, P = Zo(D, w), S = Zo(w, w),
|
10968
|
-
if (!(
|
10969
|
-
var E = It(
|
10967
|
+
var w = _, P = Zo(D, w), S = Zo(w, w), G = P * P - S * (Zo(D, D) - 1);
|
10968
|
+
if (!(G < 0)) {
|
10969
|
+
var E = It(G), A = Ko(w, (-P - E) / S);
|
10970
10970
|
if (rc(A, D), A = os(A), !f) return A;
|
10971
10971
|
var L = l[0], M = h[0], F = l[1], O = h[1], k;
|
10972
10972
|
M < L && (k = L, L = M, M = k);
|
@@ -11023,7 +11023,7 @@ function nD(t, e, n, r, i, o) {
|
|
11023
11023
|
}
|
11024
11024
|
}
|
11025
11025
|
}
|
11026
|
-
var
|
11026
|
+
var $i = 1e9, Jo = -$i;
|
11027
11027
|
function nu(t, e, n, r) {
|
11028
11028
|
function i(c, l) {
|
11029
11029
|
return t <= c && c <= n && e <= l && l <= r;
|
@@ -11050,7 +11050,7 @@ function nu(t, e, n, r) {
|
|
11050
11050
|
return function(c) {
|
11051
11051
|
var l = c, h = ib(), f, p, d, g, m, y, x, v, b, $, _, D = {
|
11052
11052
|
point: T,
|
11053
|
-
lineStart:
|
11053
|
+
lineStart: G,
|
11054
11054
|
lineEnd: E,
|
11055
11055
|
polygonStart: P,
|
11056
11056
|
polygonEnd: S
|
@@ -11071,7 +11071,7 @@ function nu(t, e, n, r) {
|
|
11071
11071
|
var L = w(), M = _ && L, F = (f = Af(f)).length;
|
11072
11072
|
(M || F) && (c.polygonStart(), M && (c.lineStart(), o(null, null, 1, c), c.lineEnd()), F && ob(f, s, L, o, c), c.polygonEnd()), l = c, f = p = d = null;
|
11073
11073
|
}
|
11074
|
-
function
|
11074
|
+
function G() {
|
11075
11075
|
D.point = A, p && p.push(d = []), $ = !0, b = !1, x = v = NaN;
|
11076
11076
|
}
|
11077
11077
|
function E() {
|
@@ -11083,7 +11083,7 @@ function nu(t, e, n, r) {
|
|
11083
11083
|
g = L, m = M, y = F, $ = !1, F && (l.lineStart(), l.point(L, M));
|
11084
11084
|
else if (F && b) l.point(L, M);
|
11085
11085
|
else {
|
11086
|
-
var O = [x = Math.max(Jo, Math.min(
|
11086
|
+
var O = [x = Math.max(Jo, Math.min($i, x)), v = Math.max(Jo, Math.min($i, v))], k = [L = Math.max(Jo, Math.min($i, L)), M = Math.max(Jo, Math.min($i, M))];
|
11087
11087
|
nD(O, k, t, e, n, r) ? (b || (l.lineStart(), l.point(O[0], O[1])), l.point(k[0], k[1]), F || l.lineEnd(), _ = !1) : F && (l.lineStart(), l.point(L, M), _ = !1);
|
11088
11088
|
}
|
11089
11089
|
x = L, v = M, b = F;
|
@@ -11177,7 +11177,7 @@ function zd(t, e) {
|
|
11177
11177
|
}
|
11178
11178
|
function Gd(t, e) {
|
11179
11179
|
for (var n, r, i, o = 0, a = t.length; o < a; o++) {
|
11180
|
-
if (r = ds(t[o], e), r === 0 || o > 0 && (i = ds(t[o], t[o - 1]), i > 0 && n <= i && r <= i && (n + r - i) * (1 - Math.pow((n - r) / i, 2)) <
|
11180
|
+
if (r = ds(t[o], e), r === 0 || o > 0 && (i = ds(t[o], t[o - 1]), i > 0 && n <= i && r <= i && (n + r - i) * (1 - Math.pow((n - r) / i, 2)) < oo * i))
|
11181
11181
|
return !0;
|
11182
11182
|
n = r;
|
11183
11183
|
}
|
@@ -11269,7 +11269,7 @@ function hD(t, e) {
|
|
11269
11269
|
};
|
11270
11270
|
return m.distance = d, m;
|
11271
11271
|
}
|
11272
|
-
const
|
11272
|
+
const ao = (t) => t;
|
11273
11273
|
var oc = new Ct(), wl = new Ct(), hb, pb, $l, Sl, Ze = {
|
11274
11274
|
point: _t,
|
11275
11275
|
lineStart: _t,
|
@@ -11297,21 +11297,21 @@ function db(t, e) {
|
|
11297
11297
|
function gD() {
|
11298
11298
|
db(hb, pb);
|
11299
11299
|
}
|
11300
|
-
var jr = 1 / 0, ms = jr,
|
11300
|
+
var jr = 1 / 0, ms = jr, so = -jr, ys = so, bs = {
|
11301
11301
|
point: mD,
|
11302
11302
|
lineStart: _t,
|
11303
11303
|
lineEnd: _t,
|
11304
11304
|
polygonStart: _t,
|
11305
11305
|
polygonEnd: _t,
|
11306
11306
|
result: function() {
|
11307
|
-
var t = [[jr, ms], [
|
11308
|
-
return
|
11307
|
+
var t = [[jr, ms], [so, ys]];
|
11308
|
+
return so = ys = -(ms = jr = 1 / 0), t;
|
11309
11309
|
}
|
11310
11310
|
};
|
11311
11311
|
function mD(t, e) {
|
11312
|
-
t < jr && (jr = t), t >
|
11312
|
+
t < jr && (jr = t), t > so && (so = t), e < ms && (ms = e), e > ys && (ys = e);
|
11313
11313
|
}
|
11314
|
-
var Al = 0, Ml = 0,
|
11314
|
+
var Al = 0, Ml = 0, Si = 0, vs = 0, xs = 0, _r = 0, Dl = 0, Pl = 0, Ai = 0, gb, mb, Le, Ce, pe = {
|
11315
11315
|
point: Zn,
|
11316
11316
|
lineStart: Ud,
|
11317
11317
|
lineEnd: Hd,
|
@@ -11322,12 +11322,12 @@ var Al = 0, Ml = 0, Ai = 0, vs = 0, xs = 0, _r = 0, Dl = 0, Pl = 0, Mi = 0, gb,
|
|
11322
11322
|
pe.point = Zn, pe.lineStart = Ud, pe.lineEnd = Hd;
|
11323
11323
|
},
|
11324
11324
|
result: function() {
|
11325
|
-
var t =
|
11326
|
-
return Al = Ml =
|
11325
|
+
var t = Ai ? [Dl / Ai, Pl / Ai] : _r ? [vs / _r, xs / _r] : Si ? [Al / Si, Ml / Si] : [NaN, NaN];
|
11326
|
+
return Al = Ml = Si = vs = xs = _r = Dl = Pl = Ai = 0, t;
|
11327
11327
|
}
|
11328
11328
|
};
|
11329
11329
|
function Zn(t, e) {
|
11330
|
-
Al += t, Ml += e, ++
|
11330
|
+
Al += t, Ml += e, ++Si;
|
11331
11331
|
}
|
11332
11332
|
function Ud() {
|
11333
11333
|
pe.point = yD;
|
@@ -11353,7 +11353,7 @@ function _D(t, e) {
|
|
11353
11353
|
}
|
11354
11354
|
function yb(t, e) {
|
11355
11355
|
var n = t - Le, r = e - Ce, i = It(n * n + r * r);
|
11356
|
-
vs += i * (Le + t) / 2, xs += i * (Ce + e) / 2, _r += i, i = Ce * t - Le * e, Dl += i * (Le + t), Pl += i * (Ce + e),
|
11356
|
+
vs += i * (Le + t) / 2, xs += i * (Ce + e) / 2, _r += i, i = Ce * t - Le * e, Dl += i * (Le + t), Pl += i * (Ce + e), Ai += i * 3, Zn(Le = t, Ce = e);
|
11357
11357
|
}
|
11358
11358
|
function bb(t) {
|
11359
11359
|
this._context = t;
|
@@ -11393,13 +11393,13 @@ bb.prototype = {
|
|
11393
11393
|
},
|
11394
11394
|
result: _t
|
11395
11395
|
};
|
11396
|
-
var Tl = new Ct(), ac, vb, xb,
|
11396
|
+
var Tl = new Ct(), ac, vb, xb, Mi, Di, uo = {
|
11397
11397
|
point: _t,
|
11398
11398
|
lineStart: function() {
|
11399
|
-
|
11399
|
+
uo.point = wD;
|
11400
11400
|
},
|
11401
11401
|
lineEnd: function() {
|
11402
|
-
ac && _b(vb, xb),
|
11402
|
+
ac && _b(vb, xb), uo.point = _t;
|
11403
11403
|
},
|
11404
11404
|
polygonStart: function() {
|
11405
11405
|
ac = !0;
|
@@ -11413,10 +11413,10 @@ var Tl = new Ct(), ac, vb, xb, Di, Pi, co = {
|
|
11413
11413
|
}
|
11414
11414
|
};
|
11415
11415
|
function wD(t, e) {
|
11416
|
-
|
11416
|
+
uo.point = _b, vb = Mi = t, xb = Di = e;
|
11417
11417
|
}
|
11418
11418
|
function _b(t, e) {
|
11419
|
-
|
11419
|
+
Mi -= t, Di -= e, Tl.add(It(Mi * Mi + Di * Di)), Mi = t, Di = e;
|
11420
11420
|
}
|
11421
11421
|
let Wd, _s, qd, jd;
|
11422
11422
|
class Xd {
|
@@ -11492,13 +11492,13 @@ function SD(t, e) {
|
|
11492
11492
|
return a.area = function(s) {
|
11493
11493
|
return we(s, i(Ze)), Ze.result();
|
11494
11494
|
}, a.measure = function(s) {
|
11495
|
-
return we(s, i(
|
11495
|
+
return we(s, i(uo)), uo.result();
|
11496
11496
|
}, a.bounds = function(s) {
|
11497
11497
|
return we(s, i(bs)), bs.result();
|
11498
11498
|
}, a.centroid = function(s) {
|
11499
11499
|
return we(s, i(pe)), pe.result();
|
11500
11500
|
}, a.projection = function(s) {
|
11501
|
-
return arguments.length ? (i = s == null ? (t = null,
|
11501
|
+
return arguments.length ? (i = s == null ? (t = null, ao) : (t = s).stream, a) : t;
|
11502
11502
|
}, a.context = function(s) {
|
11503
11503
|
return arguments.length ? (o = s == null ? (e = null, new Xd(n)) : new bb(e = s), typeof r != "function" && o.pointRadius(r), a) : e;
|
11504
11504
|
}, a.pointRadius = function(s) {
|
@@ -11516,10 +11516,10 @@ function SD(t, e) {
|
|
11516
11516
|
}
|
11517
11517
|
function AD(t) {
|
11518
11518
|
return {
|
11519
|
-
stream:
|
11519
|
+
stream: Ao(t)
|
11520
11520
|
};
|
11521
11521
|
}
|
11522
|
-
function
|
11522
|
+
function Ao(t) {
|
11523
11523
|
return function(e) {
|
11524
11524
|
var n = new Ll();
|
11525
11525
|
for (var r in t) n[r] = t[r];
|
@@ -11579,7 +11579,7 @@ function Zd(t, e) {
|
|
11579
11579
|
return +e ? PD(t, e) : DD(t);
|
11580
11580
|
}
|
11581
11581
|
function DD(t) {
|
11582
|
-
return
|
11582
|
+
return Ao({
|
11583
11583
|
point: function(e, n) {
|
11584
11584
|
e = t(e, n), this.stream.point(e[0], e[1]);
|
11585
11585
|
}
|
@@ -11589,8 +11589,8 @@ function PD(t, e) {
|
|
11589
11589
|
function n(r, i, o, a, s, u, c, l, h, f, p, d, g, m) {
|
11590
11590
|
var y = c - r, x = l - i, v = y * y + x * x;
|
11591
11591
|
if (v > 4 * e && g--) {
|
11592
|
-
var b = a + f, $ = s + p, _ = u + d, D = It(b * b + $ * $ + _ * _), T = Jt(_ /= D), w = pt(pt(_) - 1) < et || pt(o - h) < et ? (o + h) / 2 : Qt($, b), P = t(w, T), S = P[0],
|
11593
|
-
(L * L / v > e || pt((y * E + x * A) / v - 0.5) > 0.3 || a * f + s * p + u * d < MD) && (n(r, i, o, a, s, u, S,
|
11592
|
+
var b = a + f, $ = s + p, _ = u + d, D = It(b * b + $ * $ + _ * _), T = Jt(_ /= D), w = pt(pt(_) - 1) < et || pt(o - h) < et ? (o + h) / 2 : Qt($, b), P = t(w, T), S = P[0], G = P[1], E = S - r, A = G - i, L = x * E - y * A;
|
11593
|
+
(L * L / v > e || pt((y * E + x * A) / v - 0.5) > 0.3 || a * f + s * p + u * d < MD) && (n(r, i, o, a, s, u, S, G, w, b /= D, $ /= D, _, g, m), m.point(S, G), n(S, G, w, b, $, _, c, l, h, f, p, d, g, m));
|
11594
11594
|
}
|
11595
11595
|
}
|
11596
11596
|
return function(r) {
|
@@ -11630,13 +11630,13 @@ function PD(t, e) {
|
|
11630
11630
|
return m;
|
11631
11631
|
};
|
11632
11632
|
}
|
11633
|
-
var TD =
|
11633
|
+
var TD = Ao({
|
11634
11634
|
point: function(t, e) {
|
11635
11635
|
this.stream.point(t * nt, e * nt);
|
11636
11636
|
}
|
11637
11637
|
});
|
11638
11638
|
function LD(t) {
|
11639
|
-
return
|
11639
|
+
return Ao({
|
11640
11640
|
point: function(e, n) {
|
11641
11641
|
var r = t(e, n);
|
11642
11642
|
return this.stream.point(r[0], r[1]);
|
@@ -11667,11 +11667,11 @@ function Ue(t) {
|
|
11667
11667
|
})();
|
11668
11668
|
}
|
11669
11669
|
function nh(t) {
|
11670
|
-
var e, n = 150, r = 480, i = 250, o = 0, a = 0, s = 0, u = 0, c = 0, l, h = 0, f = 1, p = 1, d = null, g = bl, m = null, y, x, v, b =
|
11670
|
+
var e, n = 150, r = 480, i = 250, o = 0, a = 0, s = 0, u = 0, c = 0, l, h = 0, f = 1, p = 1, d = null, g = bl, m = null, y, x, v, b = ao, $ = 0.5, _, D, T, w, P;
|
11671
11671
|
function S(L) {
|
11672
11672
|
return T(L[0] * nt, L[1] * nt);
|
11673
11673
|
}
|
11674
|
-
function
|
11674
|
+
function G(L) {
|
11675
11675
|
return L = T.invert(L[0], L[1]), L && [L[0] * mt, L[1] * mt];
|
11676
11676
|
}
|
11677
11677
|
S.stream = function(L) {
|
@@ -11683,7 +11683,7 @@ function nh(t) {
|
|
11683
11683
|
}, S.clipAngle = function(L) {
|
11684
11684
|
return arguments.length ? (g = +L ? ub(d = L * nt) : (d = null, bl), A()) : d * mt;
|
11685
11685
|
}, S.clipExtent = function(L) {
|
11686
|
-
return arguments.length ? (b = L == null ? (m = y = x = v = null,
|
11686
|
+
return arguments.length ? (b = L == null ? (m = y = x = v = null, ao) : nu(m = +L[0][0], y = +L[0][1], x = +L[1][0], v = +L[1][1]), A()) : m == null ? null : [[m, y], [x, v]];
|
11687
11687
|
}, S.scale = function(L) {
|
11688
11688
|
return arguments.length ? (n = +L, E()) : n;
|
11689
11689
|
}, S.translate = function(L) {
|
@@ -11717,7 +11717,7 @@ function nh(t) {
|
|
11717
11717
|
return w = P = null, S;
|
11718
11718
|
}
|
11719
11719
|
return function() {
|
11720
|
-
return e = t.apply(this, arguments), S.invert = e.invert &&
|
11720
|
+
return e = t.apply(this, arguments), S.invert = e.invert && G, E();
|
11721
11721
|
};
|
11722
11722
|
}
|
11723
11723
|
function rh(t) {
|
@@ -11821,7 +11821,7 @@ function Ab(t) {
|
|
11821
11821
|
];
|
11822
11822
|
};
|
11823
11823
|
}
|
11824
|
-
function
|
11824
|
+
function Mo(t) {
|
11825
11825
|
return function(e, n) {
|
11826
11826
|
var r = It(e * e + n * n), i = t(r), o = Q(i), a = J(i);
|
11827
11827
|
return [
|
@@ -11833,7 +11833,7 @@ function Do(t) {
|
|
11833
11833
|
var ih = Ab(function(t) {
|
11834
11834
|
return It(2 / (1 + t));
|
11835
11835
|
});
|
11836
|
-
ih.invert =
|
11836
|
+
ih.invert = Mo(function(t) {
|
11837
11837
|
return 2 * Jt(t / 2);
|
11838
11838
|
});
|
11839
11839
|
function RD() {
|
@@ -11842,20 +11842,20 @@ function RD() {
|
|
11842
11842
|
var oh = Ab(function(t) {
|
11843
11843
|
return (t = Wy(t)) && t / Q(t);
|
11844
11844
|
});
|
11845
|
-
oh.invert =
|
11845
|
+
oh.invert = Mo(function(t) {
|
11846
11846
|
return t;
|
11847
11847
|
});
|
11848
11848
|
function ND() {
|
11849
11849
|
return Ue(oh).scale(79.4188).clipAngle(180 - 1e-3);
|
11850
11850
|
}
|
11851
|
-
function
|
11851
|
+
function Do(t, e) {
|
11852
11852
|
return [t, es(Vf((At + e) / 2))];
|
11853
11853
|
}
|
11854
|
-
|
11854
|
+
Do.invert = function(t, e) {
|
11855
11855
|
return [t, 2 * ri(Hy(e)) - At];
|
11856
11856
|
};
|
11857
11857
|
function FD() {
|
11858
|
-
return Mb(
|
11858
|
+
return Mb(Do).scale(961 / Kt);
|
11859
11859
|
}
|
11860
11860
|
function Mb(t) {
|
11861
11861
|
var e = Ue(t), n = e.center, r = e.scale, i = e.translate, o = e.clipExtent, a = null, s, u, c;
|
@@ -11870,7 +11870,7 @@ function Mb(t) {
|
|
11870
11870
|
};
|
11871
11871
|
function l() {
|
11872
11872
|
var h = lt * r(), f = e(nb(e.rotate()).invert([0, 0]));
|
11873
|
-
return o(a == null ? [[f[0] - h, f[1] - h], [f[0] + h, f[1] + h]] : t ===
|
11873
|
+
return o(a == null ? [[f[0] - h, f[1] - h], [f[0] + h, f[1] + h]] : t === Do ? [[Math.max(f[0] - h, a), s], [Math.min(f[0] + h, u), c]] : [[a, Math.max(f[1] - h, s)], [u, Math.min(f[1] + h, c)]]);
|
11874
11874
|
}
|
11875
11875
|
return l();
|
11876
11876
|
}
|
@@ -11879,7 +11879,7 @@ function ta(t) {
|
|
11879
11879
|
}
|
11880
11880
|
function Db(t, e) {
|
11881
11881
|
var n = J(t), r = t === e ? Q(t) : es(n / J(e)) / es(ta(e) / ta(t)), i = n * nc(ta(t), r) / r;
|
11882
|
-
if (!r) return
|
11882
|
+
if (!r) return Do;
|
11883
11883
|
function o(a, s) {
|
11884
11884
|
i > 0 ? s < -At + et && (s = -At + et) : s > At - et && (s = At - et);
|
11885
11885
|
var u = i / nc(ta(s), r);
|
@@ -11893,16 +11893,16 @@ function Db(t, e) {
|
|
11893
11893
|
function zD() {
|
11894
11894
|
return rh(Db).scale(109.5).parallels([30, 30]);
|
11895
11895
|
}
|
11896
|
-
function
|
11896
|
+
function co(t, e) {
|
11897
11897
|
return [t, e];
|
11898
11898
|
}
|
11899
|
-
|
11899
|
+
co.invert = co;
|
11900
11900
|
function GD() {
|
11901
|
-
return Ue(
|
11901
|
+
return Ue(co).scale(152.63);
|
11902
11902
|
}
|
11903
11903
|
function Pb(t, e) {
|
11904
11904
|
var n = J(t), r = t === e ? Q(t) : (n - J(e)) / (e - t), i = n / r + t;
|
11905
|
-
if (pt(r) < et) return
|
11905
|
+
if (pt(r) < et) return co;
|
11906
11906
|
function o(a, s) {
|
11907
11907
|
var u = i - s, c = r * a;
|
11908
11908
|
return [u * Q(c), i - u * J(c)];
|
@@ -11915,19 +11915,19 @@ function Pb(t, e) {
|
|
11915
11915
|
function OD() {
|
11916
11916
|
return rh(Pb).scale(131.154).center([0, 13.9389]);
|
11917
11917
|
}
|
11918
|
-
var
|
11918
|
+
var Ei = 1.340264, Ii = -0.081106, Ri = 893e-6, Ni = 3796e-6, $s = It(3) / 2, BD = 12;
|
11919
11919
|
function ah(t, e) {
|
11920
11920
|
var n = Jt($s * Q(e)), r = n * n, i = r * r * r;
|
11921
11921
|
return [
|
11922
|
-
t * J(n) / ($s * (
|
11923
|
-
n * (
|
11922
|
+
t * J(n) / ($s * (Ei + 3 * Ii * r + i * (7 * Ri + 9 * Ni * r))),
|
11923
|
+
n * (Ei + Ii * r + i * (Ri + Ni * r))
|
11924
11924
|
];
|
11925
11925
|
}
|
11926
11926
|
ah.invert = function(t, e) {
|
11927
|
-
for (var n = e, r = n * n, i = r * r * r, o = 0, a, s, u; o < BD && (s = n * (
|
11927
|
+
for (var n = e, r = n * n, i = r * r * r, o = 0, a, s, u; o < BD && (s = n * (Ei + Ii * r + i * (Ri + Ni * r)) - e, u = Ei + 3 * Ii * r + i * (7 * Ri + 9 * Ni * r), n -= a = s / u, r = n * n, i = r * r * r, !(pt(a) < oo)); ++o)
|
11928
11928
|
;
|
11929
11929
|
return [
|
11930
|
-
$s * t * (
|
11930
|
+
$s * t * (Ei + 3 * Ii * r + i * (7 * Ri + 9 * Ni * r)) / J(n),
|
11931
11931
|
Jt(Q(n) / $s)
|
11932
11932
|
];
|
11933
11933
|
};
|
@@ -11938,17 +11938,17 @@ function sh(t, e) {
|
|
11938
11938
|
var n = J(e), r = J(t) * n;
|
11939
11939
|
return [n * Q(t) / r, Q(e) / r];
|
11940
11940
|
}
|
11941
|
-
sh.invert =
|
11941
|
+
sh.invert = Mo(ri);
|
11942
11942
|
function UD() {
|
11943
11943
|
return Ue(sh).scale(144.049).clipAngle(60);
|
11944
11944
|
}
|
11945
11945
|
function HD() {
|
11946
|
-
var t = 1, e = 0, n = 0, r = 1, i = 1, o = 0, a, s, u = null, c, l, h, f = 1, p = 1, d =
|
11946
|
+
var t = 1, e = 0, n = 0, r = 1, i = 1, o = 0, a, s, u = null, c, l, h, f = 1, p = 1, d = Ao({
|
11947
11947
|
point: function(b, $) {
|
11948
11948
|
var _ = v([b, $]);
|
11949
11949
|
this.stream.point(_[0], _[1]);
|
11950
11950
|
}
|
11951
|
-
}), g =
|
11951
|
+
}), g = ao, m, y;
|
11952
11952
|
function x() {
|
11953
11953
|
return f = t * r, p = t * i, m = y = null, v;
|
11954
11954
|
}
|
@@ -11972,7 +11972,7 @@ function HD() {
|
|
11972
11972
|
}, v.postclip = function(b) {
|
11973
11973
|
return arguments.length ? (g = b, u = c = l = h = null, x()) : g;
|
11974
11974
|
}, v.clipExtent = function(b) {
|
11975
|
-
return arguments.length ? (g = b == null ? (u = c = l = h = null,
|
11975
|
+
return arguments.length ? (g = b == null ? (u = c = l = h = null, ao) : nu(u = +b[0][0], c = +b[0][1], l = +b[1][0], h = +b[1][1]), x()) : u == null ? null : [[u, c], [l, h]];
|
11976
11976
|
}, v.scale = function(b) {
|
11977
11977
|
return arguments.length ? (t = +b, x()) : t;
|
11978
11978
|
}, v.translate = function(b) {
|
@@ -12017,7 +12017,7 @@ function WD() {
|
|
12017
12017
|
function ch(t, e) {
|
12018
12018
|
return [J(e) * Q(t), Q(e)];
|
12019
12019
|
}
|
12020
|
-
ch.invert =
|
12020
|
+
ch.invert = Mo(Jt);
|
12021
12021
|
function qD() {
|
12022
12022
|
return Ue(ch).scale(249.5).clipAngle(90 + et);
|
12023
12023
|
}
|
@@ -12025,7 +12025,7 @@ function lh(t, e) {
|
|
12025
12025
|
var n = J(e), r = 1 + J(t) * n;
|
12026
12026
|
return [n * Q(t) / r, Q(e) / r];
|
12027
12027
|
}
|
12028
|
-
lh.invert =
|
12028
|
+
lh.invert = Mo(function(t) {
|
12029
12029
|
return 2 * ri(t);
|
12030
12030
|
});
|
12031
12031
|
function jD() {
|
@@ -12269,11 +12269,11 @@ function DP(t, e) {
|
|
12269
12269
|
var n, r;
|
12270
12270
|
if (sc(e, t)) return [e];
|
12271
12271
|
for (n = 0; n < t.length; ++n)
|
12272
|
-
if (ea(e, t[n]) && sc(
|
12272
|
+
if (ea(e, t[n]) && sc(Pi(t[n], e), t))
|
12273
12273
|
return [t[n], e];
|
12274
12274
|
for (n = 0; n < t.length - 1; ++n)
|
12275
12275
|
for (r = n + 1; r < t.length; ++r)
|
12276
|
-
if (ea(
|
12276
|
+
if (ea(Pi(t[n], t[r]), e) && ea(Pi(t[n], e), t[r]) && ea(Pi(t[r], e), t[n]) && sc(Eb(t[n], t[r], e), t))
|
12277
12277
|
return [t[n], t[r], e];
|
12278
12278
|
throw new Error();
|
12279
12279
|
}
|
@@ -12296,7 +12296,7 @@ function PP(t) {
|
|
12296
12296
|
case 1:
|
12297
12297
|
return TP(t[0]);
|
12298
12298
|
case 2:
|
12299
|
-
return
|
12299
|
+
return Pi(t[0], t[1]);
|
12300
12300
|
case 3:
|
12301
12301
|
return Eb(t[0], t[1], t[2]);
|
12302
12302
|
}
|
@@ -12308,7 +12308,7 @@ function TP(t) {
|
|
12308
12308
|
r: t.r
|
12309
12309
|
};
|
12310
12310
|
}
|
12311
|
-
function
|
12311
|
+
function Pi(t, e) {
|
12312
12312
|
var n = t.x, r = t.y, i = t.r, o = e.x, a = e.y, s = e.r, u = o - n, c = a - r, l = s - i, h = Math.sqrt(u * u + c * c);
|
12313
12313
|
return {
|
12314
12314
|
x: (n + o + u / h * l) / 2,
|
@@ -12317,7 +12317,7 @@ function Ti(t, e) {
|
|
12317
12317
|
};
|
12318
12318
|
}
|
12319
12319
|
function Eb(t, e, n) {
|
12320
|
-
var r = t.x, i = t.y, o = t.r, a = e.x, s = e.y, u = e.r, c = n.x, l = n.y, h = n.r, f = r - a, p = r - c, d = i - s, g = i - l, m = u - o, y = h - o, x = r * r + i * i - o * o, v = x - a * a - s * s + u * u, b = x - c * c - l * l + h * h, $ = p * d - f * g, _ = (d * b - g * v) / ($ * 2) - r, D = (g * m - d * y) / $, T = (p * v - f * b) / ($ * 2) - i, w = (f * y - p * m) / $, P = D * D + w * w - 1, S = 2 * (o + _ * D + T * w),
|
12320
|
+
var r = t.x, i = t.y, o = t.r, a = e.x, s = e.y, u = e.r, c = n.x, l = n.y, h = n.r, f = r - a, p = r - c, d = i - s, g = i - l, m = u - o, y = h - o, x = r * r + i * i - o * o, v = x - a * a - s * s + u * u, b = x - c * c - l * l + h * h, $ = p * d - f * g, _ = (d * b - g * v) / ($ * 2) - r, D = (g * m - d * y) / $, T = (p * v - f * b) / ($ * 2) - i, w = (f * y - p * m) / $, P = D * D + w * w - 1, S = 2 * (o + _ * D + T * w), G = _ * _ + T * T - o * o, E = -(Math.abs(P) > 1e-6 ? (S + Math.sqrt(S * S - 4 * P * G)) / (2 * P) : G / S);
|
12321
12321
|
return {
|
12322
12322
|
x: r + _ + D * E,
|
12323
12323
|
y: i + T + w * E,
|
@@ -12414,7 +12414,7 @@ function rg(t) {
|
|
12414
12414
|
function Rb(t) {
|
12415
12415
|
t.x0 = Math.round(t.x0), t.y0 = Math.round(t.y0), t.x1 = Math.round(t.x1), t.y1 = Math.round(t.y1);
|
12416
12416
|
}
|
12417
|
-
function
|
12417
|
+
function Po(t, e, n, r, i) {
|
12418
12418
|
for (var o = t.children, a, s = -1, u = o.length, c = t.value && (r - e) / t.value; ++s < u; )
|
12419
12419
|
a = o[s], a.y0 = n, a.y1 = i, a.x0 = e, a.x1 = e += a.value * c;
|
12420
12420
|
}
|
@@ -12426,7 +12426,7 @@ function EP() {
|
|
12426
12426
|
}
|
12427
12427
|
function o(a, s) {
|
12428
12428
|
return function(u) {
|
12429
|
-
u.children &&
|
12429
|
+
u.children && Po(u, u.x0, a * (u.depth + 1) / s, u.x1, a * (u.depth + 2) / s);
|
12430
12430
|
var c = u.x0, l = u.y0, h = u.x1 - n, f = u.y1 - n;
|
12431
12431
|
h < c && (c = h = (c + h) / 2), f < l && (l = f = (l + f) / 2), u.x0 = c, u.y0 = l, u.x1 = h, u.y1 = f;
|
12432
12432
|
};
|
@@ -12605,7 +12605,7 @@ function Fb(t, e, n, r, i, o) {
|
|
12605
12605
|
}
|
12606
12606
|
b = v;
|
12607
12607
|
}
|
12608
|
-
a.push(u = { value: m, dice: p < d, children: s.slice(l, h) }), u.dice ?
|
12608
|
+
a.push(u = { value: m, dice: p < d, children: s.slice(l, h) }), u.dice ? Po(u, n, r, i, g ? r += d * m / g : o) : ou(u, n, r, g ? n += p * m / g : i, o), g -= m, l = h;
|
12609
12609
|
}
|
12610
12610
|
return a;
|
12611
12611
|
}
|
@@ -12675,14 +12675,14 @@ function WP(t, e, n, r, i) {
|
|
12675
12675
|
}
|
12676
12676
|
}
|
12677
12677
|
function qP(t, e, n, r, i) {
|
12678
|
-
(t.depth & 1 ? ou :
|
12678
|
+
(t.depth & 1 ? ou : Po)(t, e, n, r, i);
|
12679
12679
|
}
|
12680
12680
|
const jP = function t(e) {
|
12681
12681
|
function n(r, i, o, a, s) {
|
12682
12682
|
if ((u = r._squarify) && u.ratio === e)
|
12683
12683
|
for (var u, c, l, h, f = -1, p, d = u.length, g = r.value; ++f < d; ) {
|
12684
12684
|
for (c = u[f], l = c.children, h = c.value = 0, p = l.length; h < p; ++h) c.value += l[h].value;
|
12685
|
-
c.dice ?
|
12685
|
+
c.dice ? Po(c, i, o, a, g ? o += (s - o) * c.value / g : s) : ou(c, i, o, g ? i += (a - i) * c.value / g : a, s), g -= c.value;
|
12686
12686
|
}
|
12687
12687
|
else
|
12688
12688
|
r._squarify = u = Fb(e, r, i, o, a, s), u.ratio = e;
|
@@ -12935,7 +12935,7 @@ function an(t, e) {
|
|
12935
12935
|
}
|
12936
12936
|
const kl = Symbol("implicit");
|
12937
12937
|
function mh() {
|
12938
|
-
var t = new
|
12938
|
+
var t = new ji(), e = [], n = [], r = kl;
|
12939
12939
|
function i(o) {
|
12940
12940
|
let a = t.get(o);
|
12941
12941
|
if (a === void 0) {
|
@@ -12946,7 +12946,7 @@ function mh() {
|
|
12946
12946
|
}
|
12947
12947
|
return i.domain = function(o) {
|
12948
12948
|
if (!arguments.length) return e.slice();
|
12949
|
-
e = [], t = new
|
12949
|
+
e = [], t = new ji();
|
12950
12950
|
for (const a of o)
|
12951
12951
|
t.has(a) || t.set(a, e.push(a) - 1);
|
12952
12952
|
return i;
|
@@ -13040,7 +13040,7 @@ function bT(t, e, n) {
|
|
13040
13040
|
return o[u](i[u](s));
|
13041
13041
|
};
|
13042
13042
|
}
|
13043
|
-
function
|
13043
|
+
function To(t, e) {
|
13044
13044
|
return e.domain(t.domain()).range(t.range()).interpolate(t.interpolate()).clamp(t.clamp()).unknown(t.unknown());
|
13045
13045
|
}
|
13046
13046
|
function au() {
|
@@ -13094,7 +13094,7 @@ function Hb(t, e, n, r) {
|
|
13094
13094
|
break;
|
13095
13095
|
}
|
13096
13096
|
}
|
13097
|
-
return
|
13097
|
+
return $o(r);
|
13098
13098
|
}
|
13099
13099
|
function Sn(t) {
|
13100
13100
|
var e = t.domain;
|
@@ -13124,7 +13124,7 @@ function Sn(t) {
|
|
13124
13124
|
function xh() {
|
13125
13125
|
var t = vh();
|
13126
13126
|
return t.copy = function() {
|
13127
|
-
return
|
13127
|
+
return To(t, xh());
|
13128
13128
|
}, be.apply(t, arguments), Sn(t);
|
13129
13129
|
}
|
13130
13130
|
function Wb(t) {
|
@@ -13206,7 +13206,7 @@ function _h(t) {
|
|
13206
13206
|
y = Hn(f, p, Math.min(p - f, m)).map(o);
|
13207
13207
|
return h ? y.reverse() : y;
|
13208
13208
|
}, e.tickFormat = (s, u) => {
|
13209
|
-
if (s == null && (s = 10), u == null && (u = r === 10 ? "s" : ","), typeof u != "function" && (!(r % 1) && (u = Hr(u)).precision == null && (u.trim = !0), u =
|
13209
|
+
if (s == null && (s = 10), u == null && (u = r === 10 ? "s" : ","), typeof u != "function" && (!(r % 1) && (u = Hr(u)).precision == null && (u.trim = !0), u = $o(u)), s === 1 / 0) return u;
|
13210
13210
|
const c = Math.max(1, r * s / e.ticks().length);
|
13211
13211
|
return (l) => {
|
13212
13212
|
let h = l / o(Math.round(i(l)));
|
@@ -13219,7 +13219,7 @@ function _h(t) {
|
|
13219
13219
|
}
|
13220
13220
|
function jb() {
|
13221
13221
|
const t = _h(au()).domain([1, 10]);
|
13222
|
-
return t.copy = () =>
|
13222
|
+
return t.copy = () => To(t, jb()).base(t.base()), be.apply(t, arguments), t;
|
13223
13223
|
}
|
13224
13224
|
function hg(t) {
|
13225
13225
|
return function(e) {
|
@@ -13240,7 +13240,7 @@ function wh(t) {
|
|
13240
13240
|
function Xb() {
|
13241
13241
|
var t = wh(au());
|
13242
13242
|
return t.copy = function() {
|
13243
|
-
return
|
13243
|
+
return To(t, Xb()).constant(t.constant());
|
13244
13244
|
}, be.apply(t, arguments);
|
13245
13245
|
}
|
13246
13246
|
function dg(t) {
|
@@ -13266,7 +13266,7 @@ function $h(t) {
|
|
13266
13266
|
function su() {
|
13267
13267
|
var t = $h(au());
|
13268
13268
|
return t.copy = function() {
|
13269
|
-
return
|
13269
|
+
return To(t, su()).exponent(t.exponent());
|
13270
13270
|
}, be.apply(t, arguments), t;
|
13271
13271
|
}
|
13272
13272
|
function MT() {
|
@@ -13438,11 +13438,11 @@ const mg = Xr.range, Ke = 1e3, ge = Ke * 60, Qe = ge * 60, rn = Qe * 24, Sh = rn
|
|
13438
13438
|
(t, e) => t.setDate(t.getDate() + e),
|
13439
13439
|
(t, e) => (e - t - (e.getTimezoneOffset() - t.getTimezoneOffset()) * ge) / rn,
|
13440
13440
|
(t) => t.getDate() - 1
|
13441
|
-
), kT = ii.range,
|
13441
|
+
), kT = ii.range, Lo = Dt((t) => {
|
13442
13442
|
t.setUTCHours(0, 0, 0, 0);
|
13443
13443
|
}, (t, e) => {
|
13444
13444
|
t.setUTCDate(t.getUTCDate() + e);
|
13445
|
-
}, (t, e) => (e - t) / rn, (t) => t.getUTCDate() - 1), ET =
|
13445
|
+
}, (t, e) => (e - t) / rn, (t) => t.getUTCDate() - 1), ET = Lo.range, Ah = Dt((t) => {
|
13446
13446
|
t.setUTCHours(0, 0, 0, 0);
|
13447
13447
|
}, (t, e) => {
|
13448
13448
|
t.setUTCDate(t.getUTCDate() + e);
|
@@ -13454,7 +13454,7 @@ function or(t) {
|
|
13454
13454
|
e.setDate(e.getDate() + n * 7);
|
13455
13455
|
}, (e, n) => (n - e - (n.getTimezoneOffset() - e.getTimezoneOffset()) * ge) / Sh);
|
13456
13456
|
}
|
13457
|
-
const Vr = or(0),
|
13457
|
+
const Vr = or(0), lo = or(1), Jb = or(2), tv = or(3), Qn = or(4), ev = or(5), nv = or(6), vg = Vr.range, RT = lo.range, NT = Jb.range, FT = tv.range, zT = Qn.range, GT = ev.range, OT = nv.range;
|
13458
13458
|
function ar(t) {
|
13459
13459
|
return Dt((e) => {
|
13460
13460
|
e.setUTCDate(e.getUTCDate() - (e.getUTCDay() + 7 - t) % 7), e.setUTCHours(0, 0, 0, 0);
|
@@ -13462,7 +13462,7 @@ function ar(t) {
|
|
13462
13462
|
e.setUTCDate(e.getUTCDate() + n * 7);
|
13463
13463
|
}, (e, n) => (n - e) / Sh);
|
13464
13464
|
}
|
13465
|
-
const Zr = ar(0),
|
13465
|
+
const Zr = ar(0), fo = ar(1), rv = ar(2), iv = ar(3), Jn = ar(4), ov = ar(5), av = ar(6), xg = Zr.range, BT = fo.range, YT = rv.range, UT = iv.range, HT = Jn.range, WT = ov.range, qT = av.range, hu = Dt((t) => {
|
13466
13466
|
t.setDate(1), t.setHours(0, 0, 0, 0);
|
13467
13467
|
}, (t, e) => {
|
13468
13468
|
t.setMonth(t.getMonth() + e);
|
@@ -13542,11 +13542,11 @@ function mc(t) {
|
|
13542
13542
|
}
|
13543
13543
|
return new Date(Date.UTC(t.y, t.m, t.d, t.H, t.M, t.S, t.L));
|
13544
13544
|
}
|
13545
|
-
function
|
13545
|
+
function hi(t, e, n) {
|
13546
13546
|
return { y: t, m: e, d: n, H: 0, M: 0, S: 0, L: 0 };
|
13547
13547
|
}
|
13548
13548
|
function hv(t) {
|
13549
|
-
var e = t.dateTime, n = t.date, r = t.time, i = t.periods, o = t.days, a = t.shortDays, s = t.months, u = t.shortMonths, c =
|
13549
|
+
var e = t.dateTime, n = t.date, r = t.time, i = t.periods, o = t.days, a = t.shortDays, s = t.months, u = t.shortMonths, c = pi(i), l = di(i), h = pi(o), f = di(o), p = pi(a), d = di(a), g = pi(s), m = di(s), y = pi(u), x = di(u), v = {
|
13550
13550
|
a: F,
|
13551
13551
|
A: O,
|
13552
13552
|
b: k,
|
@@ -13615,7 +13615,7 @@ function hv(t) {
|
|
13615
13615
|
}, $ = {
|
13616
13616
|
a: P,
|
13617
13617
|
A: S,
|
13618
|
-
b:
|
13618
|
+
b: G,
|
13619
13619
|
B: E,
|
13620
13620
|
c: A,
|
13621
13621
|
d: Sg,
|
@@ -13657,14 +13657,14 @@ function hv(t) {
|
|
13657
13657
|
}
|
13658
13658
|
function D(W, tt) {
|
13659
13659
|
return function(at) {
|
13660
|
-
var H =
|
13660
|
+
var H = hi(1900, void 0, 1), gt = T(H, W, at += "", 0), ft, Ft;
|
13661
13661
|
if (gt != at.length) return null;
|
13662
13662
|
if ("Q" in H) return new Date(H.Q);
|
13663
13663
|
if ("s" in H) return new Date(H.s * 1e3 + ("L" in H ? H.L : 0));
|
13664
13664
|
if (tt && !("Z" in H) && (H.Z = 0), "p" in H && (H.H = H.H % 12 + H.p * 12), H.m === void 0 && (H.m = "q" in H ? H.q : 0), "V" in H) {
|
13665
13665
|
if (H.V < 1 || H.V > 53) return null;
|
13666
|
-
"w" in H || (H.w = 1), "Z" in H ? (ft = mc(
|
13667
|
-
} else ("W" in H || "U" in H) && ("w" in H || (H.w = "u" in H ? H.u % 7 : "W" in H ? 1 : 0), Ft = "Z" in H ? mc(
|
13666
|
+
"w" in H || (H.w = 1), "Z" in H ? (ft = mc(hi(H.y, 0, 1)), Ft = ft.getUTCDay(), ft = Ft > 4 || Ft === 0 ? fo.ceil(ft) : fo(ft), ft = Lo.offset(ft, (H.V - 1) * 7), H.y = ft.getUTCFullYear(), H.m = ft.getUTCMonth(), H.d = ft.getUTCDate() + (H.w + 6) % 7) : (ft = gc(hi(H.y, 0, 1)), Ft = ft.getDay(), ft = Ft > 4 || Ft === 0 ? lo.ceil(ft) : lo(ft), ft = ii.offset(ft, (H.V - 1) * 7), H.y = ft.getFullYear(), H.m = ft.getMonth(), H.d = ft.getDate() + (H.w + 6) % 7);
|
13667
|
+
} else ("W" in H || "U" in H) && ("w" in H || (H.w = "u" in H ? H.u % 7 : "W" in H ? 1 : 0), Ft = "Z" in H ? mc(hi(H.y, 0, 1)).getUTCDay() : gc(hi(H.y, 0, 1)).getDay(), H.m = 0, H.d = "W" in H ? (H.w + 6) % 7 + H.W * 7 - (Ft + 5) % 7 : H.w + H.U * 7 - (Ft + 6) % 7);
|
13668
13668
|
return "Z" in H ? (H.H += H.Z / 100 | 0, H.M += H.Z % 100, mc(H)) : gc(H);
|
13669
13669
|
};
|
13670
13670
|
}
|
@@ -13690,7 +13690,7 @@ function hv(t) {
|
|
13690
13690
|
var H = h.exec(tt.slice(at));
|
13691
13691
|
return H ? (W.w = f.get(H[0].toLowerCase()), at + H[0].length) : -1;
|
13692
13692
|
}
|
13693
|
-
function
|
13693
|
+
function G(W, tt, at) {
|
13694
13694
|
var H = y.exec(tt.slice(at));
|
13695
13695
|
return H ? (W.m = x.get(H[0].toLowerCase()), at + H[0].length) : -1;
|
13696
13696
|
}
|
@@ -13778,10 +13778,10 @@ function dt(t, e, n) {
|
|
13778
13778
|
function JT(t) {
|
13779
13779
|
return t.replace(QT, "\\$&");
|
13780
13780
|
}
|
13781
|
-
function
|
13781
|
+
function pi(t) {
|
13782
13782
|
return new RegExp("^(?:" + t.map(JT).join("|") + ")", "i");
|
13783
13783
|
}
|
13784
|
-
function
|
13784
|
+
function di(t) {
|
13785
13785
|
return new Map(t.map((e, n) => [e.toLowerCase(), n]));
|
13786
13786
|
}
|
13787
13787
|
function tL(t, e, n) {
|
@@ -13909,7 +13909,7 @@ function ML(t) {
|
|
13909
13909
|
return t.getDay();
|
13910
13910
|
}
|
13911
13911
|
function DL(t, e) {
|
13912
|
-
return dt(
|
13912
|
+
return dt(lo.count(ze(t) - 1, t), e, 2);
|
13913
13913
|
}
|
13914
13914
|
function PL(t, e) {
|
13915
13915
|
return dt(t.getFullYear() % 100, e, 2);
|
@@ -13938,7 +13938,7 @@ function IL(t, e) {
|
|
13938
13938
|
return dt(t.getUTCHours() % 12 || 12, e, 2);
|
13939
13939
|
}
|
13940
13940
|
function RL(t, e) {
|
13941
|
-
return dt(1 +
|
13941
|
+
return dt(1 + Lo.count(Ge(t), t), e, 3);
|
13942
13942
|
}
|
13943
13943
|
function gv(t, e) {
|
13944
13944
|
return dt(t.getUTCMilliseconds(), e, 3);
|
@@ -13973,7 +13973,7 @@ function UL(t) {
|
|
13973
13973
|
return t.getUTCDay();
|
13974
13974
|
}
|
13975
13975
|
function HL(t, e) {
|
13976
|
-
return dt(
|
13976
|
+
return dt(fo.count(Ge(t) - 1, t), e, 2);
|
13977
13977
|
}
|
13978
13978
|
function WL(t, e) {
|
13979
13979
|
return dt(t.getUTCFullYear() % 100, e, 2);
|
@@ -14050,14 +14050,14 @@ function Ph(t, e, n, r, i, o, a, s, u, c) {
|
|
14050
14050
|
var D = f();
|
14051
14051
|
return (!_ || typeof _.range != "function") && (_ = e(D[0], D[D.length - 1], _ ?? 10)), _ ? f(qb(D, _)) : l;
|
14052
14052
|
}, l.copy = function() {
|
14053
|
-
return
|
14053
|
+
return To(l, Ph(t, e, n, r, i, o, a, s, u, c));
|
14054
14054
|
}, l;
|
14055
14055
|
}
|
14056
14056
|
function iC() {
|
14057
14057
|
return be.apply(Ph(lv, fv, ze, hu, Vr, ii, lu, uu, Je, Mh).domain([new Date(2e3, 0, 1), new Date(2e3, 0, 2)]), arguments);
|
14058
14058
|
}
|
14059
14059
|
function oC() {
|
14060
|
-
return be.apply(Ph(uv, cv, Ge, pu, Zr,
|
14060
|
+
return be.apply(Ph(uv, cv, Ge, pu, Zr, Lo, fu, cu, Je, du).domain([Date.UTC(2e3, 0, 1), Date.UTC(2e3, 0, 2)]), arguments);
|
14061
14061
|
}
|
14062
14062
|
function gu() {
|
14063
14063
|
var t = 0, e = 1, n, r, i, o, a = Vt, s = !1, u;
|
@@ -14128,7 +14128,7 @@ function $v() {
|
|
14128
14128
|
}, n.range = function() {
|
14129
14129
|
return t.map((r, i) => e(i / (t.length - 1)));
|
14130
14130
|
}, n.quantiles = function(r) {
|
14131
|
-
return Array.from({ length: r + 1 }, (i, o) =>
|
14131
|
+
return Array.from({ length: r + 1 }, (i, o) => Vi(t, o / r));
|
14132
14132
|
}, n.copy = function() {
|
14133
14133
|
return $v(e).domain(t);
|
14134
14134
|
}, an.apply(n, arguments);
|
@@ -14515,7 +14515,7 @@ function ak(t) {
|
|
14515
14515
|
function kg(t) {
|
14516
14516
|
return t >= 1 ? As : t <= -1 ? -As : Math.asin(t);
|
14517
14517
|
}
|
14518
|
-
function
|
14518
|
+
function Co(t) {
|
14519
14519
|
let e = 3;
|
14520
14520
|
return t.digits = function(n) {
|
14521
14521
|
if (!arguments.length) return e;
|
@@ -14527,7 +14527,7 @@ function ko(t) {
|
|
14527
14527
|
e = r;
|
14528
14528
|
}
|
14529
14529
|
return t;
|
14530
|
-
}, () => new
|
14530
|
+
}, () => new _o(e);
|
14531
14531
|
}
|
14532
14532
|
function sk(t) {
|
14533
14533
|
return t.innerRadius;
|
@@ -14550,8 +14550,8 @@ function hk(t, e, n, r, i, o, a, s) {
|
|
14550
14550
|
return f = (l * (e - o) - h * (t - i)) / f, [t + f * u, e + f * c];
|
14551
14551
|
}
|
14552
14552
|
function oa(t, e, n, r, i, o, a) {
|
14553
|
-
var s = t - n, u = e - r, c = (a ? o : -o) / vt(s * s + u * u), l = c * u, h = -c * s, f = t + l, p = e + h, d = n + l, g = r + h, m = (f + d) / 2, y = (p + g) / 2, x = d - f, v = g - p, b = x * x + v * v, $ = i - o, _ = f * g - d * p, D = (v < 0 ? -1 : 1) * vt(ok(0, $ * $ * b - _ * _)), T = (_ * v - x * D) / b, w = (-_ * x - v * D) / b, P = (_ * v + x * D) / b, S = (-_ * x + v * D) / b,
|
14554
|
-
return
|
14553
|
+
var s = t - n, u = e - r, c = (a ? o : -o) / vt(s * s + u * u), l = c * u, h = -c * s, f = t + l, p = e + h, d = n + l, g = r + h, m = (f + d) / 2, y = (p + g) / 2, x = d - f, v = g - p, b = x * x + v * v, $ = i - o, _ = f * g - d * p, D = (v < 0 ? -1 : 1) * vt(ok(0, $ * $ * b - _ * _)), T = (_ * v - x * D) / b, w = (-_ * x - v * D) / b, P = (_ * v + x * D) / b, S = (-_ * x + v * D) / b, G = T - m, E = w - y, A = P - m, L = S - y;
|
14554
|
+
return G * G + E * E > A * A + L * L && (T = P, w = S), {
|
14555
14555
|
cx: T,
|
14556
14556
|
cy: w,
|
14557
14557
|
x01: -l,
|
@@ -14561,14 +14561,14 @@ function oa(t, e, n, r, i, o, a) {
|
|
14561
14561
|
};
|
14562
14562
|
}
|
14563
14563
|
function t2() {
|
14564
|
-
var t = sk, e = uk, n = ut(0), r = null, i = ck, o = lk, a = fk, s = null, u =
|
14564
|
+
var t = sk, e = uk, n = ut(0), r = null, i = ck, o = lk, a = fk, s = null, u = Co(c);
|
14565
14565
|
function c() {
|
14566
14566
|
var l, h, f = +t.apply(this, arguments), p = +e.apply(this, arguments), d = i.apply(this, arguments) - As, g = o.apply(this, arguments) - As, m = Cg(g - d), y = g > d;
|
14567
14567
|
if (s || (s = l = u()), p < f && (h = p, p = f, f = h), !(p > Yt)) s.moveTo(0, 0);
|
14568
14568
|
else if (m > dn - Yt)
|
14569
14569
|
s.moveTo(p * Xe(d), p * ne(d)), s.arc(0, 0, p, d, g, !y), f > Yt && (s.moveTo(f * Xe(g), f * ne(g)), s.arc(0, 0, f, g, d, y));
|
14570
14570
|
else {
|
14571
|
-
var x = d, v = g, b = d, $ = g, _ = m, D = m, T = a.apply(this, arguments) / 2, w = T > Yt && (r ? +r.apply(this, arguments) : vt(f * f + p * p)), P = Tr(Cg(p - f) / 2, +n.apply(this, arguments)), S = P,
|
14571
|
+
var x = d, v = g, b = d, $ = g, _ = m, D = m, T = a.apply(this, arguments) / 2, w = T > Yt && (r ? +r.apply(this, arguments) : vt(f * f + p * p)), P = Tr(Cg(p - f) / 2, +n.apply(this, arguments)), S = P, G = P, E, A;
|
14572
14572
|
if (w > Yt) {
|
14573
14573
|
var L = kg(w / f * ne(T)), M = kg(w / p * ne(T));
|
14574
14574
|
(_ -= L * 2) > Yt ? (L *= y ? 1 : -1, b += L, $ -= L) : (_ = 0, b = $ = (d + g) / 2), (D -= M * 2) > Yt ? (M *= y ? 1 : -1, x += M, v -= M) : (D = 0, x = v = (d + g) / 2);
|
@@ -14579,11 +14579,11 @@ function t2() {
|
|
14579
14579
|
if (m < yn)
|
14580
14580
|
if (R = hk(F, O, j, K, C, N, k, I)) {
|
14581
14581
|
var X = F - R[0], q = O - R[1], V = C - R[0], W = N - R[1], tt = 1 / ne(ak((X * V + q * W) / (vt(X * X + q * q) * vt(V * V + W * W))) / 2), at = vt(R[0] * R[0] + R[1] * R[1]);
|
14582
|
-
S = Tr(P, (f - at) / (tt - 1)),
|
14582
|
+
S = Tr(P, (f - at) / (tt - 1)), G = Tr(P, (p - at) / (tt + 1));
|
14583
14583
|
} else
|
14584
|
-
S =
|
14584
|
+
S = G = 0;
|
14585
14585
|
}
|
14586
|
-
D > Yt ?
|
14586
|
+
D > Yt ? G > Yt ? (E = oa(j, K, F, O, p, G, y), A = oa(C, N, k, I, p, G, y), s.moveTo(E.cx + E.x01, E.cy + E.y01), G < P ? s.arc(E.cx, E.cy, G, Bt(E.y01, E.x01), Bt(A.y01, A.x01), !y) : (s.arc(E.cx, E.cy, G, Bt(E.y01, E.x01), Bt(E.y11, E.x11), !y), s.arc(0, 0, p, Bt(E.cy + E.y11, E.cx + E.x11), Bt(A.cy + A.y11, A.cx + A.x11), !y), s.arc(A.cx, A.cy, G, Bt(A.y11, A.x11), Bt(A.y01, A.x01), !y))) : (s.moveTo(F, O), s.arc(0, 0, p, x, v, !y)) : s.moveTo(F, O), !(f > Yt) || !(_ > Yt) ? s.lineTo(k, I) : S > Yt ? (E = oa(k, I, C, N, f, -S, y), A = oa(F, O, j, K, f, -S, y), s.lineTo(E.cx + E.x01, E.cy + E.y01), S < P ? s.arc(E.cx, E.cy, S, Bt(E.y01, E.x01), Bt(A.y01, A.x01), !y) : (s.arc(E.cx, E.cy, S, Bt(E.y01, E.x01), Bt(E.y11, E.x11), !y), s.arc(0, 0, f, Bt(E.cy + E.y11, E.cx + E.x11), Bt(A.cy + A.y11, A.cx + A.x11), y), s.arc(A.cx, A.cy, S, Bt(A.y11, A.x11), Bt(A.y01, A.x01), !y))) : s.arc(0, 0, f, $, b, y);
|
14587
14587
|
}
|
14588
14588
|
if (s.closePath(), l) return s = null, l + "" || null;
|
14589
14589
|
}
|
@@ -14651,7 +14651,7 @@ function kh(t) {
|
|
14651
14651
|
return t[1];
|
14652
14652
|
}
|
14653
14653
|
function xu(t, e) {
|
14654
|
-
var n = ut(!0), r = null, i = vu, o = null, a =
|
14654
|
+
var n = ut(!0), r = null, i = vu, o = null, a = Co(s);
|
14655
14655
|
t = typeof t == "function" ? t : t === void 0 ? Ch : ut(t), e = typeof e == "function" ? e : e === void 0 ? kh : ut(e);
|
14656
14656
|
function s(u) {
|
14657
14657
|
var c, l = (u = bu(u)).length, h, f = !1, p;
|
@@ -14672,7 +14672,7 @@ function xu(t, e) {
|
|
14672
14672
|
}, s;
|
14673
14673
|
}
|
14674
14674
|
function Eh(t, e, n) {
|
14675
|
-
var r = null, i = ut(!0), o = null, a = vu, s = null, u =
|
14675
|
+
var r = null, i = ut(!0), o = null, a = vu, s = null, u = Co(c);
|
14676
14676
|
t = typeof t == "function" ? t : t === void 0 ? Ch : ut(+t), e = typeof e == "function" ? e : ut(e === void 0 ? 0 : +e), n = typeof n == "function" ? n : n === void 0 ? kh : ut(+n);
|
14677
14677
|
function c(h) {
|
14678
14678
|
var f, p, d, g = (h = bu(h)).length, m, y = !1, x, v = new Array(g), b = new Array(g);
|
@@ -14786,30 +14786,30 @@ function Ih(t) {
|
|
14786
14786
|
}
|
14787
14787
|
return e._curve = t, e;
|
14788
14788
|
}
|
14789
|
-
function
|
14789
|
+
function Ti(t) {
|
14790
14790
|
var e = t.curve;
|
14791
14791
|
return t.angle = t.x, delete t.x, t.radius = t.y, delete t.y, t.curve = function(n) {
|
14792
14792
|
return arguments.length ? e(Ih(n)) : e()._curve;
|
14793
14793
|
}, t;
|
14794
14794
|
}
|
14795
14795
|
function Eg() {
|
14796
|
-
return
|
14796
|
+
return Ti(xu().curve(r2));
|
14797
14797
|
}
|
14798
14798
|
function Ig() {
|
14799
14799
|
var t = Eh().curve(r2), e = t.curve, n = t.lineX0, r = t.lineX1, i = t.lineY0, o = t.lineY1;
|
14800
14800
|
return t.angle = t.x, delete t.x, t.startAngle = t.x0, delete t.x0, t.endAngle = t.x1, delete t.x1, t.radius = t.y, delete t.y, t.innerRadius = t.y0, delete t.y0, t.outerRadius = t.y1, delete t.y1, t.lineStartAngle = function() {
|
14801
|
-
return
|
14801
|
+
return Ti(n());
|
14802
14802
|
}, delete t.lineX0, t.lineEndAngle = function() {
|
14803
|
-
return
|
14803
|
+
return Ti(r());
|
14804
14804
|
}, delete t.lineX1, t.lineInnerRadius = function() {
|
14805
|
-
return
|
14805
|
+
return Ti(i());
|
14806
14806
|
}, delete t.lineY0, t.lineOuterRadius = function() {
|
14807
|
-
return
|
14807
|
+
return Ti(o());
|
14808
14808
|
}, delete t.lineY1, t.curve = function(a) {
|
14809
14809
|
return arguments.length ? e(Ih(a)) : e()._curve;
|
14810
14810
|
}, t;
|
14811
14811
|
}
|
14812
|
-
function
|
14812
|
+
function Li(t, e) {
|
14813
14813
|
return [(e = +e) * Math.cos(t -= Math.PI / 2), e * Math.sin(t)];
|
14814
14814
|
}
|
14815
14815
|
class o2 {
|
@@ -14857,7 +14857,7 @@ class mk {
|
|
14857
14857
|
if (e = +e, n = +n, this._point === 0)
|
14858
14858
|
this._point = 1;
|
14859
14859
|
else {
|
14860
|
-
const r =
|
14860
|
+
const r = Li(this._x0, this._y0), i = Li(this._x0, this._y0 = (this._y0 + n) / 2), o = Li(e, this._y0), a = Li(e, n);
|
14861
14861
|
this._context.moveTo(...r), this._context.bezierCurveTo(...i, ...o, ...a);
|
14862
14862
|
}
|
14863
14863
|
this._x0 = e, this._y0 = n;
|
@@ -14879,7 +14879,7 @@ function vk(t) {
|
|
14879
14879
|
return t.target;
|
14880
14880
|
}
|
14881
14881
|
function _u(t) {
|
14882
|
-
let e = bk, n = vk, r = Ch, i = kh, o = null, a = null, s =
|
14882
|
+
let e = bk, n = vk, r = Ch, i = kh, o = null, a = null, s = Co(u);
|
14883
14883
|
function u() {
|
14884
14884
|
let c;
|
14885
14885
|
const l = pk.call(arguments), h = e.apply(this, l), f = n.apply(this, l);
|
@@ -14995,7 +14995,7 @@ const $k = vt(3), u2 = {
|
|
14995
14995
|
h2
|
14996
14996
|
];
|
14997
14997
|
function Ck(t, e) {
|
14998
|
-
let n = null, r =
|
14998
|
+
let n = null, r = Co(i);
|
14999
14999
|
t = typeof t == "function" ? t : ut(t || wu), e = typeof e == "function" ? e : ut(e === void 0 ? 64 : +e);
|
15000
15000
|
function i() {
|
15001
15001
|
let o;
|
@@ -15865,7 +15865,7 @@ function I2(t) {
|
|
15865
15865
|
function vc(t) {
|
15866
15866
|
t.stopImmediatePropagation();
|
15867
15867
|
}
|
15868
|
-
function
|
15868
|
+
function gi(t) {
|
15869
15869
|
t.preventDefault(), t.stopImmediatePropagation();
|
15870
15870
|
}
|
15871
15871
|
function sE(t) {
|
@@ -15894,7 +15894,7 @@ function fE(t, e, n) {
|
|
15894
15894
|
function R2() {
|
15895
15895
|
var t = sE, e = uE, n = fE, r = cE, i = lE, o = [0, 1 / 0], a = [[-1 / 0, -1 / 0], [1 / 0, 1 / 0]], s = 250, u = uy, c = er("start", "zoom", "end"), l, h, f, p = 500, d = 150, g = 0, m = 10;
|
15896
15896
|
function y(A) {
|
15897
|
-
A.property("__zoom", Og).on("wheel.zoom", T, { passive: !1 }).on("mousedown.zoom", w).on("dblclick.zoom", P).filter(i).on("touchstart.zoom", S).on("touchmove.zoom",
|
15897
|
+
A.property("__zoom", Og).on("wheel.zoom", T, { passive: !1 }).on("mousedown.zoom", w).on("dblclick.zoom", P).filter(i).on("touchstart.zoom", S).on("touchmove.zoom", G).on("touchend.zoom touchcancel.zoom", E).style("-webkit-tap-highlight-color", "rgba(0,0,0,0)");
|
15898
15898
|
}
|
15899
15899
|
y.transform = function(A, L, M, F) {
|
15900
15900
|
var O = A.selection ? A.selection() : A;
|
@@ -15998,7 +15998,7 @@ function R2() {
|
|
15998
15998
|
if (F.k === O) return;
|
15999
15999
|
M.mouse = [k, F.invert(k)], Gn(this), M.start();
|
16000
16000
|
}
|
16001
|
-
|
16001
|
+
gi(A), M.wheel = setTimeout(I, d), M.zoom("mouse", n(v(x(F, O), M.mouse[0], M.mouse[1]), M.extent, a));
|
16002
16002
|
function I() {
|
16003
16003
|
M.wheel = null, M.end();
|
16004
16004
|
}
|
@@ -16008,20 +16008,20 @@ function R2() {
|
|
16008
16008
|
var M = A.currentTarget, F = _(this, L, !0).event(A), O = Z(A.view).on("mousemove.zoom", N, !0).on("mouseup.zoom", j, !0), k = ae(A, M), I = A.clientX, C = A.clientY;
|
16009
16009
|
Ys(A.view), vc(A), F.mouse = [k, this.__zoom.invert(k)], Gn(this), F.start();
|
16010
16010
|
function N(K) {
|
16011
|
-
if (
|
16011
|
+
if (gi(K), !F.moved) {
|
16012
16012
|
var R = K.clientX - I, X = K.clientY - C;
|
16013
16013
|
F.moved = R * R + X * X > g;
|
16014
16014
|
}
|
16015
16015
|
F.event(K).zoom("mouse", n(v(F.that.__zoom, F.mouse[0] = ae(K, M), F.mouse[1]), F.extent, a));
|
16016
16016
|
}
|
16017
16017
|
function j(K) {
|
16018
|
-
O.on("mousemove.zoom mouseup.zoom", null), Us(K.view, F.moved),
|
16018
|
+
O.on("mousemove.zoom mouseup.zoom", null), Us(K.view, F.moved), gi(K), F.event(K).end();
|
16019
16019
|
}
|
16020
16020
|
}
|
16021
16021
|
function P(A, ...L) {
|
16022
16022
|
if (t.apply(this, arguments)) {
|
16023
16023
|
var M = this.__zoom, F = ae(A.changedTouches ? A.changedTouches[0] : A, this), O = M.invert(F), k = M.k * (A.shiftKey ? 0.5 : 2), I = n(v(x(M, k), F, O), e.apply(this, L), a);
|
16024
|
-
|
16024
|
+
gi(A), s > 0 ? Z(this).transition().duration(s).call($, I, F, A) : Z(this).call(y.transform, I, F, A);
|
16025
16025
|
}
|
16026
16026
|
}
|
16027
16027
|
function S(A, ...L) {
|
@@ -16034,10 +16034,10 @@ function R2() {
|
|
16034
16034
|
}, p)), Gn(this), O.start());
|
16035
16035
|
}
|
16036
16036
|
}
|
16037
|
-
function
|
16037
|
+
function G(A, ...L) {
|
16038
16038
|
if (this.__zooming) {
|
16039
16039
|
var M = _(this, L).event(A), F = A.changedTouches, O = F.length, k, I, C, N;
|
16040
|
-
for (
|
16040
|
+
for (gi(A), k = 0; k < O; ++k)
|
16041
16041
|
I = F[k], C = ae(I, this), M.touch0 && M.touch0[2] === I.identifier ? M.touch0[0] = C : M.touch1 && M.touch1[2] === I.identifier && (M.touch1[0] = C);
|
16042
16042
|
if (I = M.that.__zoom, M.touch1) {
|
16043
16043
|
var j = M.touch0[0], K = M.touch0[1], R = M.touch1[0], X = M.touch1[1], q = (q = R[0] - j[0]) * q + (q = R[1] - j[1]) * q, V = (V = X[0] - K[0]) * V + (V = X[1] - K[1]) * V;
|
@@ -16093,10 +16093,10 @@ const Gh = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
16093
16093
|
Adder: Ct,
|
16094
16094
|
Delaunay: Wf,
|
16095
16095
|
FormatSpecifier: eu,
|
16096
|
-
InternMap:
|
16096
|
+
InternMap: ji,
|
16097
16097
|
InternSet: Un,
|
16098
16098
|
Node: Kn,
|
16099
|
-
Path:
|
16099
|
+
Path: _o,
|
16100
16100
|
Voronoi: Dy,
|
16101
16101
|
ZoomTransform: Ee,
|
16102
16102
|
active: gM,
|
@@ -16179,17 +16179,17 @@ const Gh = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
16179
16179
|
easeBackIn: sM,
|
16180
16180
|
easeBackInOut: Zp,
|
16181
16181
|
easeBackOut: uM,
|
16182
|
-
easeBounce:
|
16182
|
+
easeBounce: ro,
|
16183
16183
|
easeBounceIn: oM,
|
16184
16184
|
easeBounceInOut: aM,
|
16185
|
-
easeBounceOut:
|
16185
|
+
easeBounceOut: ro,
|
16186
16186
|
easeCircle: Vp,
|
16187
16187
|
easeCircleIn: VA,
|
16188
16188
|
easeCircleInOut: Vp,
|
16189
16189
|
easeCircleOut: ZA,
|
16190
|
-
easeCubic:
|
16190
|
+
easeCubic: no,
|
16191
16191
|
easeCubicIn: BA,
|
16192
|
-
easeCubicInOut:
|
16192
|
+
easeCubicInOut: no,
|
16193
16193
|
easeCubicOut: YA,
|
16194
16194
|
easeElastic: Ka,
|
16195
16195
|
easeElasticIn: cM,
|
@@ -16213,7 +16213,7 @@ const Gh = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
16213
16213
|
easeSinInOut: jp,
|
16214
16214
|
easeSinOut: qA,
|
16215
16215
|
every: Y5,
|
16216
|
-
extent:
|
16216
|
+
extent: Ci,
|
16217
16217
|
fcumsum: d5,
|
16218
16218
|
filter: H5,
|
16219
16219
|
flatGroup: g5,
|
@@ -16227,7 +16227,7 @@ const Gh = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
16227
16227
|
forceX: Ny,
|
16228
16228
|
forceY: Fy,
|
16229
16229
|
get format() {
|
16230
|
-
return
|
16230
|
+
return $o;
|
16231
16231
|
},
|
16232
16232
|
formatDefaultLocale: Oy,
|
16233
16233
|
formatLocale: Gy,
|
@@ -16261,7 +16261,7 @@ const Gh = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
16261
16261
|
geoEqualEarth: YD,
|
16262
16262
|
geoEqualEarthRaw: ah,
|
16263
16263
|
geoEquirectangular: GD,
|
16264
|
-
geoEquirectangularRaw:
|
16264
|
+
geoEquirectangularRaw: co,
|
16265
16265
|
geoGnomonic: UD,
|
16266
16266
|
geoGnomonicRaw: sh,
|
16267
16267
|
geoGraticule: fb,
|
@@ -16270,7 +16270,7 @@ const Gh = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
16270
16270
|
geoInterpolate: hD,
|
16271
16271
|
geoLength: cb,
|
16272
16272
|
geoMercator: FD,
|
16273
|
-
geoMercatorRaw:
|
16273
|
+
geoMercatorRaw: Do,
|
16274
16274
|
geoNaturalEarth1: WD,
|
16275
16275
|
geoNaturalEarth1Raw: uh,
|
16276
16276
|
geoOrthographic: qD,
|
@@ -16345,7 +16345,7 @@ const Gh = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
16345
16345
|
interpolateRdYlBu: AC,
|
16346
16346
|
interpolateRdYlGn: MC,
|
16347
16347
|
interpolateReds: HC,
|
16348
|
-
interpolateRgb:
|
16348
|
+
interpolateRgb: Ji,
|
16349
16349
|
interpolateRgbBasis: J1,
|
16350
16350
|
interpolateRgbBasisClosed: p4,
|
16351
16351
|
interpolateRound: js,
|
@@ -16381,7 +16381,7 @@ const Gh = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
16381
16381
|
local: E1,
|
16382
16382
|
map: W5,
|
16383
16383
|
matcher: Df,
|
16384
|
-
max:
|
16384
|
+
max: Xi,
|
16385
16385
|
maxIndex: $f,
|
16386
16386
|
mean: D5,
|
16387
16387
|
median: P5,
|
@@ -16390,10 +16390,10 @@ const Gh = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
16390
16390
|
min: Ya,
|
16391
16391
|
minIndex: Sf,
|
16392
16392
|
mode: C5,
|
16393
|
-
namespace:
|
16393
|
+
namespace: bo,
|
16394
16394
|
namespaces: Wc,
|
16395
16395
|
nice: _f,
|
16396
|
-
now:
|
16396
|
+
now: xo,
|
16397
16397
|
pack: kP,
|
16398
16398
|
packEnclose: MP,
|
16399
16399
|
packSiblings: LP,
|
@@ -16404,7 +16404,7 @@ const Gh = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
16404
16404
|
permute: g1,
|
16405
16405
|
pie: n2,
|
16406
16406
|
piecewise: hy,
|
16407
|
-
pointRadial:
|
16407
|
+
pointRadial: Li,
|
16408
16408
|
pointer: ae,
|
16409
16409
|
pointers: H8,
|
16410
16410
|
polygonArea: XP,
|
@@ -16416,7 +16416,7 @@ const Gh = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
16416
16416
|
precisionPrefix: Yy,
|
16417
16417
|
precisionRound: Uy,
|
16418
16418
|
quadtree: tu,
|
16419
|
-
quantile:
|
16419
|
+
quantile: Vi,
|
16420
16420
|
quantileIndex: b1,
|
16421
16421
|
quantileSorted: y1,
|
16422
16422
|
quantize: L4,
|
@@ -16585,7 +16585,7 @@ const Gh = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
16585
16585
|
timeMilliseconds: mg,
|
16586
16586
|
timeMinute: uu,
|
16587
16587
|
timeMinutes: PT,
|
16588
|
-
timeMonday:
|
16588
|
+
timeMonday: lo,
|
16589
16589
|
timeMondays: RT,
|
16590
16590
|
timeMonth: hu,
|
16591
16591
|
timeMonths: jT,
|
@@ -16618,7 +16618,7 @@ const Gh = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
16618
16618
|
tree: HP,
|
16619
16619
|
treemap: zb,
|
16620
16620
|
treemapBinary: WP,
|
16621
|
-
treemapDice:
|
16621
|
+
treemapDice: Po,
|
16622
16622
|
treemapResquarify: jP,
|
16623
16623
|
treemapSlice: ou,
|
16624
16624
|
treemapSliceDice: qP,
|
@@ -16634,7 +16634,7 @@ const Gh = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
16634
16634
|
union: J5,
|
16635
16635
|
unixDay: Ah,
|
16636
16636
|
unixDays: IT,
|
16637
|
-
utcDay:
|
16637
|
+
utcDay: Lo,
|
16638
16638
|
utcDays: ET,
|
16639
16639
|
get utcFormat() {
|
16640
16640
|
return du;
|
@@ -16647,7 +16647,7 @@ const Gh = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
16647
16647
|
utcMilliseconds: mg,
|
16648
16648
|
utcMinute: cu,
|
16649
16649
|
utcMinutes: TT,
|
16650
|
-
utcMonday:
|
16650
|
+
utcMonday: fo,
|
16651
16651
|
utcMondays: BT,
|
16652
16652
|
utcMonth: pu,
|
16653
16653
|
utcMonths: XT,
|
@@ -16702,14 +16702,14 @@ function hE(t, e) {
|
|
16702
16702
|
r.removeChild(r.firstChild);
|
16703
16703
|
t.node().appendChild(n(e));
|
16704
16704
|
}
|
16705
|
-
function
|
16706
|
-
return t.substring(0, 4) !== "ease" ?
|
16705
|
+
function ko(t) {
|
16706
|
+
return t.substring(0, 4) !== "ease" ? no : Gh[t] ?? no;
|
16707
16707
|
}
|
16708
16708
|
function Ts({ axisWidth: t, innerRadius: e, outerRadius: n, padAngle: r, cornerRadius: i }) {
|
16709
16709
|
const o = xh().domain([0, 1]).range([0, t / 2]), a = o(n);
|
16710
16710
|
return t2().innerRadius(o(e)).outerRadius(a).padAngle(r).padRadius(a).cornerRadius(i);
|
16711
16711
|
}
|
16712
|
-
const Oh = (t, e) => e instanceof Function ? e(t) :
|
16712
|
+
const Oh = (t, e) => e instanceof Function ? e(t) : $o(e)(t);
|
16713
16713
|
function N2(t, e = 10) {
|
16714
16714
|
var i;
|
16715
16715
|
const n = document.createElement("canvas").getContext("2d");
|
@@ -16741,7 +16741,7 @@ function vn(t, e) {
|
|
16741
16741
|
const r = Math.random().toString(36).substr(2, 5);
|
16742
16742
|
return st(t, e, r);
|
16743
16743
|
}
|
16744
|
-
const
|
16744
|
+
const oi = ({ selection: t, pluginName: e, clipPathID: n, seriesLabels$: r, gridContainerPosition$: i, gridAxesTransform$: o, gridGraphicTransform$: a }) => {
|
16745
16745
|
const s = st(e, "series"), u = st(e, "axes"), c = st(e, "graphic"), l = r.pipe(
|
16746
16746
|
B((d, g) => t.selectAll(`g.${s}`).data(d, (m) => m).join(
|
16747
16747
|
(m) => m.append("g").classed(s, !0).each((y, x, v) => {
|
@@ -16802,7 +16802,7 @@ const ai = ({ selection: t, pluginName: e, clipPathID: n, seriesLabels$: r, grid
|
|
16802
16802
|
dataFormatter: t,
|
16803
16803
|
computedData: n
|
16804
16804
|
}).pipe(
|
16805
|
-
|
16805
|
+
z(i),
|
16806
16806
|
U(async (s) => s)
|
16807
16807
|
).subscribe((s) => {
|
16808
16808
|
const c = s.computedData[0] ? s.computedData[0].length - 1 : 0, l = s.dataFormatter.grid.groupAxis.scaleDomain[0] === "auto" ? 0 - s.dataFormatter.grid.groupAxis.scalePadding : s.dataFormatter.grid.groupAxis.scaleDomain[0] - s.dataFormatter.grid.groupAxis.scalePadding, h = s.dataFormatter.grid.groupAxis.scaleDomain[1] === "auto" ? c + s.dataFormatter.grid.groupAxis.scalePadding : s.dataFormatter.grid.groupAxis.scaleDomain[1] + s.dataFormatter.grid.groupAxis.scalePadding, p = (
|
@@ -16824,7 +16824,7 @@ const ai = ({ selection: t, pluginName: e, clipPathID: n, seriesLabels$: r, grid
|
|
16824
16824
|
fullChartParams: r,
|
16825
16825
|
scaleRangeGroupLabels: o
|
16826
16826
|
}).pipe(
|
16827
|
-
|
16827
|
+
z(i),
|
16828
16828
|
U(async (s) => s)
|
16829
16829
|
).subscribe((s) => {
|
16830
16830
|
const u = s.dataFormatter.grid.valueAxis.position === "right" || s.dataFormatter.grid.valueAxis.position === "bottom", c = K3({
|
@@ -16883,7 +16883,7 @@ function vE({ defsSelection: t, clipPathData: e, transitionDuration: n, transiti
|
|
16883
16883
|
Z(a[o]).selectAll("rect").data([i]).join(
|
16884
16884
|
(s) => {
|
16885
16885
|
const u = s.append("rect");
|
16886
|
-
return u.transition().duration(n).ease(
|
16886
|
+
return u.transition().duration(n).ease(ko(r)).tween("tween", (c, l, h) => (f) => {
|
16887
16887
|
const p = c.width * f;
|
16888
16888
|
u.attr("x", 0).attr("y", 0).attr("width", (d) => p).attr("height", (d) => d.height);
|
16889
16889
|
}), u;
|
@@ -16917,7 +16917,7 @@ const F2 = (t, {
|
|
16917
16917
|
axesSelection$: _,
|
16918
16918
|
defsSelection$: D,
|
16919
16919
|
graphicGSelection$: T
|
16920
|
-
} =
|
16920
|
+
} = oi({
|
16921
16921
|
selection: e,
|
16922
16922
|
pluginName: t,
|
16923
16923
|
clipPathID: v,
|
@@ -16927,7 +16927,7 @@ const F2 = (t, {
|
|
16927
16927
|
gridGraphicTransform$: p
|
16928
16928
|
}), w = new ht((M) => {
|
16929
16929
|
const F = c.pipe(
|
16930
|
-
|
16930
|
+
z(x)
|
16931
16931
|
).subscribe((O) => {
|
16932
16932
|
if (!O) return;
|
16933
16933
|
const k = gE(O.lineCurve);
|
@@ -16950,7 +16950,7 @@ const F2 = (t, {
|
|
16950
16950
|
transitionDuration: P,
|
16951
16951
|
transitionEase: S
|
16952
16952
|
}).pipe(
|
16953
|
-
|
16953
|
+
z(x),
|
16954
16954
|
U(async (M) => M)
|
16955
16955
|
).subscribe((M) => {
|
16956
16956
|
const O = [{
|
@@ -16971,7 +16971,7 @@ const F2 = (t, {
|
|
16971
16971
|
transitionEase: M.transitionEase
|
16972
16972
|
});
|
16973
16973
|
});
|
16974
|
-
const
|
16974
|
+
const G = n.pipe(
|
16975
16975
|
B((M) => {
|
16976
16976
|
const F = /* @__PURE__ */ new Map();
|
16977
16977
|
return M.flat().forEach((O) => F.set(O.id, O)), F;
|
@@ -16982,7 +16982,7 @@ const F2 = (t, {
|
|
16982
16982
|
computedData$: n,
|
16983
16983
|
fullChartParams$: h
|
16984
16984
|
}), A = h.pipe(
|
16985
|
-
|
16985
|
+
z(x),
|
16986
16986
|
B((M) => M.highlightTarget),
|
16987
16987
|
rt()
|
16988
16988
|
), L = Y({
|
@@ -16991,7 +16991,7 @@ const F2 = (t, {
|
|
16991
16991
|
linePath: w,
|
16992
16992
|
params: c
|
16993
16993
|
}).pipe(
|
16994
|
-
|
16994
|
+
z(x),
|
16995
16995
|
U(async (M) => M),
|
16996
16996
|
B((M) => {
|
16997
16997
|
let F = [];
|
@@ -17015,7 +17015,7 @@ const F2 = (t, {
|
|
17015
17015
|
highlightTarget: A,
|
17016
17016
|
gridGroupPositionFn: E
|
17017
17017
|
}).pipe(
|
17018
|
-
|
17018
|
+
z(x),
|
17019
17019
|
U(async (M) => M)
|
17020
17020
|
).subscribe((M) => {
|
17021
17021
|
M.pathSelectionArr.forEach((F) => {
|
@@ -17098,15 +17098,15 @@ const F2 = (t, {
|
|
17098
17098
|
});
|
17099
17099
|
});
|
17100
17100
|
}), h.pipe(
|
17101
|
-
|
17102
|
-
|
17101
|
+
z(x),
|
17102
|
+
Gi((M) => M.highlightTarget === "series"),
|
17103
17103
|
U((M) => Y({
|
17104
17104
|
graphicGSelection: T,
|
17105
17105
|
gridHighlight: g,
|
17106
|
-
DataMap:
|
17106
|
+
DataMap: G,
|
17107
17107
|
fullChartParams: h
|
17108
17108
|
}).pipe(
|
17109
|
-
|
17109
|
+
z(x),
|
17110
17110
|
U(async (F) => F)
|
17111
17111
|
))
|
17112
17112
|
).subscribe((M) => {
|
@@ -17195,7 +17195,7 @@ function AE({ defsSelection: t, clipPathData: e, transitionDuration: n, transiti
|
|
17195
17195
|
Z(a[o]).selectAll("rect").data([i]).join(
|
17196
17196
|
(s) => {
|
17197
17197
|
const u = s.append("rect");
|
17198
|
-
return u.transition().duration(n).ease(
|
17198
|
+
return u.transition().duration(n).ease(ko(r)).tween("tween", (c, l, h) => (f) => {
|
17199
17199
|
const p = c.width * f;
|
17200
17200
|
u.attr("x", 0).attr("y", 0).attr("width", (d) => p).attr("height", (d) => d.height);
|
17201
17201
|
}), u;
|
@@ -17230,7 +17230,7 @@ const z2 = (t, {
|
|
17230
17230
|
axesSelection$: D,
|
17231
17231
|
defsSelection$: T,
|
17232
17232
|
graphicGSelection$: w
|
17233
|
-
} =
|
17233
|
+
} = oi({
|
17234
17234
|
selection: e,
|
17235
17235
|
pluginName: t,
|
17236
17236
|
clipPathID: b,
|
@@ -17239,14 +17239,14 @@ const z2 = (t, {
|
|
17239
17239
|
gridAxesTransform$: f,
|
17240
17240
|
gridGraphicTransform$: p
|
17241
17241
|
}), P = p.pipe(
|
17242
|
-
|
17242
|
+
z(v),
|
17243
17243
|
B((k) => -k.translate[1] / k.scale[1])
|
17244
17244
|
), S = new ht((k) => {
|
17245
17245
|
const I = Y({
|
17246
17246
|
fullParams: c,
|
17247
17247
|
valueAxisStart: P
|
17248
17248
|
}).pipe(
|
17249
|
-
|
17249
|
+
z(v)
|
17250
17250
|
).subscribe((C) => {
|
17251
17251
|
const N = xE(C.fullParams.lineCurve, C.valueAxisStart);
|
17252
17252
|
k.next(N);
|
@@ -17254,7 +17254,7 @@ const z2 = (t, {
|
|
17254
17254
|
return () => {
|
17255
17255
|
I.unsubscribe();
|
17256
17256
|
};
|
17257
|
-
}),
|
17257
|
+
}), G = h.pipe(
|
17258
17258
|
B((k) => k.transitionDuration),
|
17259
17259
|
rt()
|
17260
17260
|
), E = h.pipe(
|
@@ -17265,10 +17265,10 @@ const z2 = (t, {
|
|
17265
17265
|
defsSelection: T,
|
17266
17266
|
seriesLabels: a,
|
17267
17267
|
axisSize: d,
|
17268
|
-
transitionDuration:
|
17268
|
+
transitionDuration: G,
|
17269
17269
|
transitionEase: E
|
17270
17270
|
}).pipe(
|
17271
|
-
|
17271
|
+
z(v),
|
17272
17272
|
U(async (k) => k)
|
17273
17273
|
).subscribe((k) => {
|
17274
17274
|
const C = [{
|
@@ -17300,11 +17300,11 @@ const z2 = (t, {
|
|
17300
17300
|
computedData$: n,
|
17301
17301
|
fullChartParams$: h
|
17302
17302
|
}), M = h.pipe(
|
17303
|
-
|
17303
|
+
z(v),
|
17304
17304
|
B((k) => k.highlightTarget),
|
17305
17305
|
rt()
|
17306
17306
|
), F = a.pipe(
|
17307
|
-
|
17307
|
+
z(v),
|
17308
17308
|
B((k) => k.map((I, C) => vn(t, `lineargradient-${I}`)))
|
17309
17309
|
), O = Y({
|
17310
17310
|
graphicGSelection: w,
|
@@ -17314,7 +17314,7 @@ const z2 = (t, {
|
|
17314
17314
|
areaPath: S,
|
17315
17315
|
params: c
|
17316
17316
|
}).pipe(
|
17317
|
-
|
17317
|
+
z(v),
|
17318
17318
|
U(async (k) => k),
|
17319
17319
|
B((k) => {
|
17320
17320
|
let I = [];
|
@@ -17344,7 +17344,7 @@ const z2 = (t, {
|
|
17344
17344
|
highlightTarget: M,
|
17345
17345
|
gridGroupPositionFn: L
|
17346
17346
|
}).pipe(
|
17347
|
-
|
17347
|
+
z(v),
|
17348
17348
|
U(async (k) => k)
|
17349
17349
|
).subscribe((k) => {
|
17350
17350
|
k.pathSelectionArr.forEach((I) => {
|
@@ -17427,15 +17427,15 @@ const z2 = (t, {
|
|
17427
17427
|
});
|
17428
17428
|
});
|
17429
17429
|
}), h.pipe(
|
17430
|
-
|
17431
|
-
|
17430
|
+
z(v),
|
17431
|
+
Gi((k) => k.highlightTarget === "series"),
|
17432
17432
|
U((k) => Y({
|
17433
17433
|
graphicGSelection: w,
|
17434
17434
|
gridHighlight: g,
|
17435
17435
|
DataMap: A,
|
17436
17436
|
fullChartParams: h
|
17437
17437
|
}).pipe(
|
17438
|
-
|
17438
|
+
z(v),
|
17439
17439
|
U(async (I) => I)
|
17440
17440
|
))
|
17441
17441
|
).subscribe((k) => {
|
@@ -17494,7 +17494,7 @@ function TE({ graphicGSelection: t, rectClassName: e, visibleComputedLayoutData:
|
|
17494
17494
|
(x) => x.append("rect").classed(e, !0).attr("cursor", "pointer").attr("height", (v) => 0),
|
17495
17495
|
(x) => x,
|
17496
17496
|
(x) => x.remove()
|
17497
|
-
).attr("transform", (x, v) => `translate(${(x ? x.axisX : 0) - p}, 0)`).attr("fill", (x) => x.color).attr("y", (x) => x.axisY < r[m] ? x.axisY : r[m]).attr("x", (x) => f ? 0 : o(x.seriesLabel)).attr("width", u).attr("rx", c[m][0] ?? 1).attr("ry", c[m][1] ?? 1).transition().duration(h).ease(
|
17497
|
+
).attr("transform", (x, v) => `translate(${(x ? x.axisX : 0) - p}, 0)`).attr("fill", (x) => x.color).attr("y", (x) => x.axisY < r[m] ? x.axisY : r[m]).attr("x", (x) => f ? 0 : o(x.seriesLabel)).attr("width", u).attr("rx", c[m][0] ?? 1).attr("ry", c[m][1] ?? 1).transition().duration(h).ease(ko(s.transitionEase)).delay((x, v) => x.groupIndex * l).attr("height", (x) => Math.abs(x.axisYFromZero));
|
17498
17498
|
}), t.selectAll(`rect.${e}`);
|
17499
17499
|
}
|
17500
17500
|
function LE({ defsSelection: t, clipPathData: e }) {
|
@@ -17544,7 +17544,7 @@ const Yh = (t, {
|
|
17544
17544
|
axesSelection$: D,
|
17545
17545
|
defsSelection$: T,
|
17546
17546
|
graphicGSelection$: w
|
17547
|
-
} =
|
17547
|
+
} = oi({
|
17548
17548
|
selection: e,
|
17549
17549
|
pluginName: t,
|
17550
17550
|
clipPathID: b,
|
@@ -17553,7 +17553,7 @@ const Yh = (t, {
|
|
17553
17553
|
gridAxesTransform$: h,
|
17554
17554
|
gridGraphicTransform$: f
|
17555
17555
|
}), P = o.pipe(
|
17556
|
-
|
17556
|
+
z(v),
|
17557
17557
|
B((I) => I.map((C) => C[0] ? C[0].axisY - C[0].axisYFromZero : 0)),
|
17558
17558
|
rt()
|
17559
17559
|
), S = Y({
|
@@ -17563,7 +17563,7 @@ const Yh = (t, {
|
|
17563
17563
|
gridAxesSize: d,
|
17564
17564
|
isSeriesSeprate: y
|
17565
17565
|
}).pipe(
|
17566
|
-
|
17566
|
+
z(v),
|
17567
17567
|
U(async (I) => I),
|
17568
17568
|
B((I) => I.params.barWidth ? I.params.barWidth : I.isSeriesSeprate ? Hg({
|
17569
17569
|
axisWidth: I.gridAxesSize.width,
|
@@ -17579,7 +17579,7 @@ const Yh = (t, {
|
|
17579
17579
|
barGroupPadding: I.params.barGroupPadding
|
17580
17580
|
})),
|
17581
17581
|
rt()
|
17582
|
-
),
|
17582
|
+
), G = Y({
|
17583
17583
|
computedData: n,
|
17584
17584
|
// gridGraphicTransform: gridGraphicTransform$,
|
17585
17585
|
barWidth: S,
|
@@ -17588,7 +17588,7 @@ const Yh = (t, {
|
|
17588
17588
|
// gridAxesTransform: gridAxesTransform$
|
17589
17589
|
gridGraphicReverseScale: p
|
17590
17590
|
}).pipe(
|
17591
|
-
|
17591
|
+
z(v),
|
17592
17592
|
U(async (I) => I),
|
17593
17593
|
B((I) => {
|
17594
17594
|
const C = I.barWidth / 2, N = I.params.barRadius === !0 ? C : I.params.barRadius === !1 ? 0 : typeof I.params.barRadius == "number" ? I.params.barRadius : 0;
|
@@ -17603,7 +17603,7 @@ const Yh = (t, {
|
|
17603
17603
|
});
|
17604
17604
|
})
|
17605
17605
|
), E = i.pipe(
|
17606
|
-
|
17606
|
+
z(v),
|
17607
17607
|
B((I) => {
|
17608
17608
|
const C = /* @__PURE__ */ new Set();
|
17609
17609
|
return I.forEach((N) => {
|
@@ -17617,11 +17617,11 @@ const Yh = (t, {
|
|
17617
17617
|
barWidth: S,
|
17618
17618
|
params: c
|
17619
17619
|
}).pipe(
|
17620
|
-
|
17620
|
+
z(v),
|
17621
17621
|
U(async (I) => I),
|
17622
17622
|
B((I) => ME(I.barWidth, I.seriesLabels, I.params))
|
17623
17623
|
), L = l.pipe(
|
17624
|
-
|
17624
|
+
z(v),
|
17625
17625
|
B((I) => I.transitionDuration),
|
17626
17626
|
rt()
|
17627
17627
|
), M = new ht((I) => {
|
@@ -17635,7 +17635,7 @@ const Yh = (t, {
|
|
17635
17635
|
I.next(N);
|
17636
17636
|
});
|
17637
17637
|
}).pipe(
|
17638
|
-
|
17638
|
+
z(v),
|
17639
17639
|
rt()
|
17640
17640
|
), F = new ht((I) => {
|
17641
17641
|
Y({
|
@@ -17648,14 +17648,14 @@ const Yh = (t, {
|
|
17648
17648
|
I.next(N);
|
17649
17649
|
});
|
17650
17650
|
}).pipe(
|
17651
|
-
|
17651
|
+
z(v),
|
17652
17652
|
rt()
|
17653
17653
|
);
|
17654
17654
|
Y({
|
17655
17655
|
defsSelection: T,
|
17656
17656
|
gridAxesSize: d
|
17657
17657
|
}).pipe(
|
17658
|
-
|
17658
|
+
z(v),
|
17659
17659
|
U(async (I) => I)
|
17660
17660
|
).subscribe((I) => {
|
17661
17661
|
const C = [{
|
@@ -17669,7 +17669,7 @@ const Yh = (t, {
|
|
17669
17669
|
});
|
17670
17670
|
});
|
17671
17671
|
const O = l.pipe(
|
17672
|
-
|
17672
|
+
z(v),
|
17673
17673
|
B((I) => I.highlightTarget),
|
17674
17674
|
rt()
|
17675
17675
|
), k = Y({
|
@@ -17683,12 +17683,12 @@ const Yh = (t, {
|
|
17683
17683
|
chartParams: l,
|
17684
17684
|
highlightTarget: O,
|
17685
17685
|
barWidth: S,
|
17686
|
-
transformedBarRadius:
|
17686
|
+
transformedBarRadius: G,
|
17687
17687
|
delayGroup: M,
|
17688
17688
|
transitionItem: F,
|
17689
17689
|
isSeriesSeprate: y
|
17690
17690
|
}).pipe(
|
17691
|
-
|
17691
|
+
z(v),
|
17692
17692
|
U(async (I) => I),
|
17693
17693
|
B((I) => TE({
|
17694
17694
|
graphicGSelection: I.graphicGSelection,
|
@@ -17713,7 +17713,7 @@ const Yh = (t, {
|
|
17713
17713
|
SeriesDataMap: s,
|
17714
17714
|
GroupDataMap: u
|
17715
17715
|
}).pipe(
|
17716
|
-
|
17716
|
+
z(v),
|
17717
17717
|
U(async (I) => I)
|
17718
17718
|
).subscribe((I) => {
|
17719
17719
|
I.barSelection.on("mouseover", (C, N) => {
|
@@ -17792,7 +17792,7 @@ const Yh = (t, {
|
|
17792
17792
|
),
|
17793
17793
|
fullChartParams: l
|
17794
17794
|
}).pipe(
|
17795
|
-
|
17795
|
+
z(v),
|
17796
17796
|
U(async (I) => I)
|
17797
17797
|
).subscribe((I) => {
|
17798
17798
|
CE({
|
@@ -17805,7 +17805,7 @@ const Yh = (t, {
|
|
17805
17805
|
};
|
17806
17806
|
}, Wg = "Bars", tR = ce(Wg, Vl)(({ selection: t, name: e, subject: n, observer: r }) => {
|
17807
17807
|
const i = new ot(), o = r.fullDataFormatter$.pipe(
|
17808
|
-
|
17808
|
+
z(i),
|
17809
17809
|
B((s) => s.grid.separateSeries),
|
17810
17810
|
rt(),
|
17811
17811
|
Mt(1)
|
@@ -17876,7 +17876,7 @@ function RE({ graphicGSelection: t, rectClassName: e, barData: n, zeroY: r, grou
|
|
17876
17876
|
(y) => y.append("rect").classed(e, !0).attr("cursor", "pointer").attr("height", (x) => 0),
|
17877
17877
|
(y) => y,
|
17878
17878
|
(y) => y.remove()
|
17879
|
-
).attr("transform", (y, x) => `translate(${(y ? y.axisX : 0) - f}, 0)`).attr("fill", (y) => y.color).attr("y", (y) => r).attr("x", (y) => 0).attr("width", s).attr("rx", u[g][0] ?? 1).attr("ry", u[g][1] ?? 1).transition().duration(l).ease(
|
17879
|
+
).attr("transform", (y, x) => `translate(${(y ? y.axisX : 0) - f}, 0)`).attr("fill", (y) => y.color).attr("y", (y) => r).attr("x", (y) => 0).attr("width", s).attr("rx", u[g][0] ?? 1).attr("ry", u[g][1] ?? 1).transition().duration(l).ease(ko(a.transitionEase)).delay((y, x) => y.groupIndex * c).attr("y", (y) => y._barStartY).attr("height", (y) => Math.abs(y._barHeight));
|
17880
17880
|
}), t.selectAll(`rect.${e}`);
|
17881
17881
|
}
|
17882
17882
|
function NE({ defsSelection: t, clipPathData: e }) {
|
@@ -17927,7 +17927,7 @@ const B2 = (t, {
|
|
17927
17927
|
axesSelection$: T,
|
17928
17928
|
defsSelection$: w,
|
17929
17929
|
graphicGSelection$: P
|
17930
|
-
} =
|
17930
|
+
} = oi({
|
17931
17931
|
selection: e,
|
17932
17932
|
pluginName: t,
|
17933
17933
|
clipPathID: $,
|
@@ -17936,17 +17936,17 @@ const B2 = (t, {
|
|
17936
17936
|
gridAxesTransform$: f,
|
17937
17937
|
gridGraphicTransform$: p
|
17938
17938
|
}), S = o.pipe(
|
17939
|
-
|
17939
|
+
z(b),
|
17940
17940
|
B((R) => R[0] && R[0][0] ? R[0][0].axisY - R[0][0].axisYFromZero : 0),
|
17941
17941
|
rt()
|
17942
|
-
),
|
17942
|
+
), G = Y({
|
17943
17943
|
computedData: n,
|
17944
17944
|
// visibleComputedData: visibleComputedData$,
|
17945
17945
|
params: c,
|
17946
17946
|
axisSize: g,
|
17947
17947
|
isSeriesSeprate: x
|
17948
17948
|
}).pipe(
|
17949
|
-
|
17949
|
+
z(b),
|
17950
17950
|
U(async (R) => R),
|
17951
17951
|
B((R) => R.params.barWidth ? R.params.barWidth : kE({
|
17952
17952
|
axisWidth: R.axisSize.width,
|
@@ -17957,11 +17957,11 @@ const B2 = (t, {
|
|
17957
17957
|
), E = Y({
|
17958
17958
|
computedData: n,
|
17959
17959
|
// gridGraphicTransform: gridGraphicTransform$,
|
17960
|
-
barWidth:
|
17960
|
+
barWidth: G,
|
17961
17961
|
params: c,
|
17962
17962
|
gridGraphicReverseScale: d
|
17963
17963
|
}).pipe(
|
17964
|
-
|
17964
|
+
z(b),
|
17965
17965
|
U(async (R) => R),
|
17966
17966
|
B((R) => {
|
17967
17967
|
const X = R.barWidth / 2, q = R.params.barRadius === !0 ? X : R.params.barRadius === !1 ? 0 : typeof R.params.barRadius == "number" ? R.params.barRadius : 0;
|
@@ -17971,7 +17971,7 @@ const B2 = (t, {
|
|
17971
17971
|
});
|
17972
17972
|
})
|
17973
17973
|
), A = i.pipe(
|
17974
|
-
|
17974
|
+
z(b),
|
17975
17975
|
B((R) => {
|
17976
17976
|
const X = /* @__PURE__ */ new Set();
|
17977
17977
|
return R.forEach((q) => {
|
@@ -17982,7 +17982,7 @@ const B2 = (t, {
|
|
17982
17982
|
}),
|
17983
17983
|
Mt(1)
|
17984
17984
|
), L = h.pipe(
|
17985
|
-
|
17985
|
+
z(b),
|
17986
17986
|
B((R) => R.transitionDuration),
|
17987
17987
|
rt()
|
17988
17988
|
), M = new ht((R) => {
|
@@ -17996,7 +17996,7 @@ const B2 = (t, {
|
|
17996
17996
|
R.next(q);
|
17997
17997
|
});
|
17998
17998
|
}).pipe(
|
17999
|
-
|
17999
|
+
z(b),
|
18000
18000
|
rt()
|
18001
18001
|
), F = new ht((R) => {
|
18002
18002
|
Y({
|
@@ -18009,13 +18009,13 @@ const B2 = (t, {
|
|
18009
18009
|
R.next(q);
|
18010
18010
|
});
|
18011
18011
|
}).pipe(
|
18012
|
-
|
18012
|
+
z(b),
|
18013
18013
|
rt()
|
18014
18014
|
), O = Y({
|
18015
18015
|
computedData: n,
|
18016
18016
|
dataFormatter: l
|
18017
18017
|
}).pipe(
|
18018
|
-
|
18018
|
+
z(b),
|
18019
18019
|
U(async (R) => R),
|
18020
18020
|
B((R) => {
|
18021
18021
|
const q = R.computedData[0] ? R.computedData[0].length - 1 : 0, V = R.dataFormatter.grid.groupAxis.scaleDomain[0] === "auto" ? 0 : R.dataFormatter.grid.groupAxis.scaleDomain[0], W = R.dataFormatter.grid.groupAxis.scaleDomain[1] === "auto" ? q : R.dataFormatter.grid.groupAxis.scaleDomain[1];
|
@@ -18025,7 +18025,7 @@ const B2 = (t, {
|
|
18025
18025
|
visibleComputedLayoutData: o,
|
18026
18026
|
groupScaleDomain: O
|
18027
18027
|
}).pipe(
|
18028
|
-
|
18028
|
+
z(b),
|
18029
18029
|
U(async (R) => R),
|
18030
18030
|
B((R) => {
|
18031
18031
|
const X = R.groupScaleDomain[0], q = R.groupScaleDomain[1], W = R.visibleComputedLayoutData.map((gt) => gt.filter((ft, Ft) => ft.groupIndex >= X && ft.groupIndex <= q)).flat();
|
@@ -18039,7 +18039,7 @@ const B2 = (t, {
|
|
18039
18039
|
yRatio: k,
|
18040
18040
|
zeroY: S
|
18041
18041
|
}).pipe(
|
18042
|
-
|
18042
|
+
z(b),
|
18043
18043
|
B((R) => {
|
18044
18044
|
let X = R.computedLayoutData[0] ? R.computedLayoutData[0].map(() => R.zeroY) : [];
|
18045
18045
|
return R.computedLayoutData.map((q, V) => q.map((W, tt) => {
|
@@ -18057,7 +18057,7 @@ const B2 = (t, {
|
|
18057
18057
|
// yRatio: yRatio$,
|
18058
18058
|
zeroY: S
|
18059
18059
|
}).pipe(
|
18060
|
-
|
18060
|
+
z(b),
|
18061
18061
|
B((R) => R.computedLayoutData.map((X, q) => X.map((V, W) => ({
|
18062
18062
|
...V,
|
18063
18063
|
_barStartY: R.zeroY,
|
@@ -18070,7 +18070,7 @@ const B2 = (t, {
|
|
18070
18070
|
defsSelection: w,
|
18071
18071
|
gridAxesSize: g
|
18072
18072
|
}).pipe(
|
18073
|
-
|
18073
|
+
z(b),
|
18074
18074
|
U(async (R) => R)
|
18075
18075
|
).subscribe((R) => {
|
18076
18076
|
const X = [{
|
@@ -18084,7 +18084,7 @@ const B2 = (t, {
|
|
18084
18084
|
});
|
18085
18085
|
});
|
18086
18086
|
const j = h.pipe(
|
18087
|
-
|
18087
|
+
z(b),
|
18088
18088
|
B((R) => R.highlightTarget),
|
18089
18089
|
rt()
|
18090
18090
|
), K = Y({
|
@@ -18096,13 +18096,13 @@ const B2 = (t, {
|
|
18096
18096
|
params: c,
|
18097
18097
|
chartParams: h,
|
18098
18098
|
highlightTarget: j,
|
18099
|
-
barWidth:
|
18099
|
+
barWidth: G,
|
18100
18100
|
transformedBarRadius: E,
|
18101
18101
|
delayGroup: M,
|
18102
18102
|
transitionItem: F,
|
18103
18103
|
isSeriesSeprate: x
|
18104
18104
|
}).pipe(
|
18105
|
-
|
18105
|
+
z(b),
|
18106
18106
|
U(async (R) => R),
|
18107
18107
|
B((R) => RE({
|
18108
18108
|
graphicGSelection: R.graphicGSelection,
|
@@ -18203,7 +18203,7 @@ const B2 = (t, {
|
|
18203
18203
|
),
|
18204
18204
|
fullChartParams: h
|
18205
18205
|
}).pipe(
|
18206
|
-
|
18206
|
+
z(b),
|
18207
18207
|
U(async (R) => R)
|
18208
18208
|
).subscribe((R) => {
|
18209
18209
|
FE({
|
@@ -18216,7 +18216,7 @@ const B2 = (t, {
|
|
18216
18216
|
};
|
18217
18217
|
}, jg = "BarStack", nR = ce(jg, Q2)(({ selection: t, name: e, subject: n, observer: r }) => {
|
18218
18218
|
const i = new ot(), o = r.fullDataFormatter$.pipe(
|
18219
|
-
|
18219
|
+
z(i),
|
18220
18220
|
B((s) => s.grid.separateSeries),
|
18221
18221
|
rt(),
|
18222
18222
|
Mt(1)
|
@@ -18272,7 +18272,7 @@ function BE({ graphicGSelection: t, pathGClassName: e, pathClassName: n, visible
|
|
18272
18272
|
},
|
18273
18273
|
(b) => b,
|
18274
18274
|
(b) => b.remove()
|
18275
|
-
).attr("transform", (b) => `translate(${p ? 0 : s(b.seriesLabel)}, 0)`).select(`path.${n}`).attr("height", (b) => Math.abs(b.axisYFromZero)).attr("y", (b) => b.axisY < o[y] ? b.axisY : o[y]).attr("x", (b) => p ? 0 : s(b.seriesLabel)).style("fill", (b) => `url(#${i[b.seriesIndex]})`).attr("stroke", (b) => b.color).attr("transform", (b) => `translate(${b ? b.axisX : 0}, 0)`).transition().duration(f).ease(
|
18275
|
+
).attr("transform", (b) => `translate(${p ? 0 : s(b.seriesLabel)}, 0)`).select(`path.${n}`).attr("height", (b) => Math.abs(b.axisYFromZero)).attr("y", (b) => b.axisY < o[y] ? b.axisY : o[y]).attr("x", (b) => p ? 0 : s(b.seriesLabel)).style("fill", (b) => `url(#${i[b.seriesIndex]})`).attr("stroke", (b) => b.color).attr("transform", (b) => `translate(${b ? b.axisX : 0}, 0)`).transition().duration(f).ease(ko(c.transitionEase)).delay((b, $) => b.groupIndex * h).attr("d", (b) => {
|
18276
18276
|
const $ = -d, _ = o[y], D = b.axisY;
|
18277
18277
|
return `M${$},${_} L${$ + l / 2},${D} ${$ + l},${_}`;
|
18278
18278
|
});
|
@@ -18342,7 +18342,7 @@ const U2 = (t, {
|
|
18342
18342
|
axesSelection$: T,
|
18343
18343
|
defsSelection$: w,
|
18344
18344
|
graphicGSelection$: P
|
18345
|
-
} =
|
18345
|
+
} = oi({
|
18346
18346
|
selection: e,
|
18347
18347
|
pluginName: t,
|
18348
18348
|
clipPathID: b,
|
@@ -18352,7 +18352,7 @@ const U2 = (t, {
|
|
18352
18352
|
gridGraphicTransform$: p
|
18353
18353
|
});
|
18354
18354
|
p.pipe(
|
18355
|
-
|
18355
|
+
z(v),
|
18356
18356
|
B((C) => -C.translate[1] / C.scale[1])
|
18357
18357
|
);
|
18358
18358
|
const S = o.pipe(
|
@@ -18361,14 +18361,14 @@ const U2 = (t, {
|
|
18361
18361
|
// : 0),
|
18362
18362
|
B((C) => C.map((N) => N[0] ? N[0].axisY - N[0].axisYFromZero : 0)),
|
18363
18363
|
rt()
|
18364
|
-
),
|
18364
|
+
), G = Y({
|
18365
18365
|
computedData: n,
|
18366
18366
|
visibleComputedData: i,
|
18367
18367
|
params: l,
|
18368
18368
|
gridAxesSize: d,
|
18369
18369
|
isSeriesSeprate: y
|
18370
18370
|
}).pipe(
|
18371
|
-
|
18371
|
+
z(v),
|
18372
18372
|
U(async (C) => C),
|
18373
18373
|
B((C) => C.params.barWidth ? C.params.barWidth : C.isSeriesSeprate ? Xg({
|
18374
18374
|
axisWidth: C.gridAxesSize.width,
|
@@ -18384,7 +18384,7 @@ const U2 = (t, {
|
|
18384
18384
|
barGroupPadding: C.params.barGroupPadding
|
18385
18385
|
}))
|
18386
18386
|
), E = i.pipe(
|
18387
|
-
|
18387
|
+
z(v),
|
18388
18388
|
B((C) => {
|
18389
18389
|
const N = /* @__PURE__ */ new Set();
|
18390
18390
|
return C.forEach((j) => {
|
@@ -18396,17 +18396,17 @@ const U2 = (t, {
|
|
18396
18396
|
), A = new ht((C) => {
|
18397
18397
|
Y({
|
18398
18398
|
seriesLabels: s,
|
18399
|
-
barWidth:
|
18399
|
+
barWidth: G,
|
18400
18400
|
params: l
|
18401
18401
|
}).pipe(
|
18402
|
-
|
18402
|
+
z(v),
|
18403
18403
|
U(async (N) => N)
|
18404
18404
|
).subscribe((N) => {
|
18405
18405
|
const j = zE(N.barWidth, N.seriesLabels, N.params);
|
18406
18406
|
C.next(j);
|
18407
18407
|
});
|
18408
18408
|
}), L = h.pipe(
|
18409
|
-
|
18409
|
+
z(v),
|
18410
18410
|
B((C) => C.transitionDuration),
|
18411
18411
|
rt()
|
18412
18412
|
), M = new ht((C) => {
|
@@ -18420,7 +18420,7 @@ const U2 = (t, {
|
|
18420
18420
|
C.next(j);
|
18421
18421
|
});
|
18422
18422
|
}).pipe(
|
18423
|
-
|
18423
|
+
z(v),
|
18424
18424
|
rt()
|
18425
18425
|
), F = new ht((C) => {
|
18426
18426
|
Y({
|
@@ -18433,14 +18433,14 @@ const U2 = (t, {
|
|
18433
18433
|
C.next(j);
|
18434
18434
|
});
|
18435
18435
|
}).pipe(
|
18436
|
-
|
18436
|
+
z(v),
|
18437
18437
|
rt()
|
18438
18438
|
);
|
18439
18439
|
Y({
|
18440
18440
|
defsSelection: w,
|
18441
18441
|
gridAxesSize: d
|
18442
18442
|
}).pipe(
|
18443
|
-
|
18443
|
+
z(v),
|
18444
18444
|
U(async (C) => C)
|
18445
18445
|
).subscribe((C) => {
|
18446
18446
|
const N = [{
|
@@ -18454,11 +18454,11 @@ const U2 = (t, {
|
|
18454
18454
|
});
|
18455
18455
|
});
|
18456
18456
|
const O = h.pipe(
|
18457
|
-
|
18457
|
+
z(v),
|
18458
18458
|
B((C) => C.highlightTarget),
|
18459
18459
|
rt()
|
18460
18460
|
), k = s.pipe(
|
18461
|
-
|
18461
|
+
z(v),
|
18462
18462
|
B((C) => C.map((N, j) => vn(t, `lineargradient-${N}`)))
|
18463
18463
|
), I = Y({
|
18464
18464
|
graphicGSelection: P,
|
@@ -18471,12 +18471,12 @@ const U2 = (t, {
|
|
18471
18471
|
barScale: A,
|
18472
18472
|
params: l,
|
18473
18473
|
chartParams: h,
|
18474
|
-
barWidth:
|
18474
|
+
barWidth: G,
|
18475
18475
|
delayGroup: M,
|
18476
18476
|
transitionItem: F,
|
18477
18477
|
isSeriesSeprate: y
|
18478
18478
|
}).pipe(
|
18479
|
-
|
18479
|
+
z(v),
|
18480
18480
|
U(async (C) => C),
|
18481
18481
|
B((C) => (YE({
|
18482
18482
|
defsSelection: C.defsSelection,
|
@@ -18583,7 +18583,7 @@ const U2 = (t, {
|
|
18583
18583
|
),
|
18584
18584
|
fullChartParams: h
|
18585
18585
|
}).pipe(
|
18586
|
-
|
18586
|
+
z(v),
|
18587
18587
|
U(async (C) => C)
|
18588
18588
|
).subscribe((C) => {
|
18589
18589
|
HE({
|
@@ -18596,7 +18596,7 @@ const U2 = (t, {
|
|
18596
18596
|
};
|
18597
18597
|
}, Vg = "BarsTriangle", rR = ce(Vg, J2)(({ selection: t, name: e, subject: n, observer: r }) => {
|
18598
18598
|
const i = new ot(), o = r.fullDataFormatter$.pipe(
|
18599
|
-
|
18599
|
+
z(i),
|
18600
18600
|
B((s) => s.grid.separateSeries),
|
18601
18601
|
rt(),
|
18602
18602
|
Mt(1)
|
@@ -18686,7 +18686,7 @@ const H2 = (t, {
|
|
18686
18686
|
axesSelection$: D,
|
18687
18687
|
defsSelection$: T,
|
18688
18688
|
graphicGSelection$: w
|
18689
|
-
} =
|
18689
|
+
} = oi({
|
18690
18690
|
selection: e,
|
18691
18691
|
pluginName: t,
|
18692
18692
|
clipPathID: v,
|
@@ -18701,7 +18701,7 @@ const H2 = (t, {
|
|
18701
18701
|
computedData: n,
|
18702
18702
|
gridGraphicReverseScale: p
|
18703
18703
|
}).pipe(
|
18704
|
-
|
18704
|
+
z(x),
|
18705
18705
|
U(async (A) => A),
|
18706
18706
|
B((A) => A.computedData.map((L, M) => A.gridGraphicReverseScale[M]))
|
18707
18707
|
);
|
@@ -18709,7 +18709,7 @@ const H2 = (t, {
|
|
18709
18709
|
defsSelection: T,
|
18710
18710
|
gridAxesSize: d
|
18711
18711
|
}).pipe(
|
18712
|
-
|
18712
|
+
z(x),
|
18713
18713
|
U(async (A) => A)
|
18714
18714
|
).subscribe((A) => {
|
18715
18715
|
const L = [{
|
@@ -18723,17 +18723,17 @@ const H2 = (t, {
|
|
18723
18723
|
});
|
18724
18724
|
});
|
18725
18725
|
const S = l.pipe(
|
18726
|
-
|
18726
|
+
z(x),
|
18727
18727
|
B((A) => A.highlightTarget),
|
18728
18728
|
rt()
|
18729
|
-
),
|
18729
|
+
), G = Y({
|
18730
18730
|
graphicGSelection: w,
|
18731
18731
|
visibleComputedLayoutData: o,
|
18732
18732
|
graphicReverseScale: P,
|
18733
18733
|
fullChartParams: l,
|
18734
18734
|
fullParams: c
|
18735
18735
|
}).pipe(
|
18736
|
-
|
18736
|
+
z(x),
|
18737
18737
|
U(async (A) => A),
|
18738
18738
|
B((A) => WE({
|
18739
18739
|
graphicGSelection: A.graphicGSelection,
|
@@ -18746,13 +18746,13 @@ const H2 = (t, {
|
|
18746
18746
|
}))
|
18747
18747
|
);
|
18748
18748
|
Y({
|
18749
|
-
graphicSelection:
|
18749
|
+
graphicSelection: G,
|
18750
18750
|
computedData: n,
|
18751
18751
|
SeriesDataMap: s,
|
18752
18752
|
GroupDataMap: u,
|
18753
18753
|
highlightTarget: S
|
18754
18754
|
}).pipe(
|
18755
|
-
|
18755
|
+
z(x),
|
18756
18756
|
U(async (A) => A)
|
18757
18757
|
).subscribe((A) => {
|
18758
18758
|
A.graphicSelection.on("mouseover", (L, M) => {
|
@@ -18826,21 +18826,21 @@ const H2 = (t, {
|
|
18826
18826
|
});
|
18827
18827
|
});
|
18828
18828
|
const E = c.pipe(
|
18829
|
-
|
18829
|
+
z(x),
|
18830
18830
|
B((A) => A.onlyShowHighlighted),
|
18831
18831
|
rt()
|
18832
18832
|
);
|
18833
18833
|
return l.pipe(
|
18834
|
-
|
18834
|
+
z(x),
|
18835
18835
|
U((A) => Y({
|
18836
|
-
graphicSelection:
|
18836
|
+
graphicSelection: G,
|
18837
18837
|
highlight: g.pipe(
|
18838
18838
|
B((L) => L.map((M) => M.id))
|
18839
18839
|
),
|
18840
18840
|
onlyShowHighlighted: E,
|
18841
18841
|
fullChartParams: l
|
18842
18842
|
}).pipe(
|
18843
|
-
|
18843
|
+
z(x),
|
18844
18844
|
U(async (L) => L)
|
18845
18845
|
))
|
18846
18846
|
).subscribe((A) => {
|
@@ -18897,35 +18897,35 @@ const Mu = (t, {
|
|
18897
18897
|
seriesLabels: n,
|
18898
18898
|
fullChartParams: o
|
18899
18899
|
}).pipe(
|
18900
|
-
|
18900
|
+
z(h),
|
18901
18901
|
U(async (w) => w),
|
18902
18902
|
B((w) => {
|
18903
18903
|
const P = /* @__PURE__ */ new Map();
|
18904
18904
|
let S = 0;
|
18905
|
-
return w.seriesLabels.forEach((
|
18906
|
-
if (!P.has(
|
18905
|
+
return w.seriesLabels.forEach((G, E) => {
|
18906
|
+
if (!P.has(G)) {
|
18907
18907
|
const A = Kg(S, w.fullChartParams);
|
18908
|
-
P.set(
|
18908
|
+
P.set(G, A), S++;
|
18909
18909
|
}
|
18910
18910
|
}), P;
|
18911
18911
|
})
|
18912
18912
|
), p = n.pipe(
|
18913
|
-
|
18913
|
+
z(h),
|
18914
18914
|
B((w) => {
|
18915
18915
|
const P = /* @__PURE__ */ new Set();
|
18916
18916
|
let S = [];
|
18917
|
-
return w.forEach((
|
18918
|
-
P.has(
|
18917
|
+
return w.forEach((G) => {
|
18918
|
+
P.has(G) ? S.push(!1) : S.push(!0), P.add(G);
|
18919
18919
|
}), S;
|
18920
18920
|
})
|
18921
18921
|
), d = r.pipe(
|
18922
|
-
|
18922
|
+
z(h),
|
18923
18923
|
B((w) => w.position === "bottom" || w.position === "top" ? "row" : "column")
|
18924
18924
|
), g = Y({
|
18925
18925
|
fullParams: r,
|
18926
18926
|
layout: i
|
18927
18927
|
}).pipe(
|
18928
|
-
|
18928
|
+
z(h),
|
18929
18929
|
U(async (w) => w),
|
18930
18930
|
B((w) => {
|
18931
18931
|
const P = w.fullParams.padding * 2 + w.fullParams.gap * 2;
|
@@ -18935,7 +18935,7 @@ const Mu = (t, {
|
|
18935
18935
|
layout: i,
|
18936
18936
|
fullParams: r
|
18937
18937
|
}).pipe(
|
18938
|
-
|
18938
|
+
z(h),
|
18939
18939
|
U(async (w) => w),
|
18940
18940
|
B((w) => {
|
18941
18941
|
let P = 0, S = 0;
|
@@ -18945,14 +18945,14 @@ const Mu = (t, {
|
|
18945
18945
|
};
|
18946
18946
|
})
|
18947
18947
|
).pipe(
|
18948
|
-
|
18948
|
+
z(h),
|
18949
18949
|
B((w) => e.selectAll(`g.${s}`).data([w]).join(
|
18950
18950
|
(P) => P.append("g").classed(s, !0).attr("transform", (S) => `translate(${S.x}, ${S.y})`),
|
18951
18951
|
(P) => P.transition().attr("transform", (S) => `translate(${S.x}, ${S.y})`),
|
18952
18952
|
(P) => P.remove()
|
18953
18953
|
))
|
18954
18954
|
), x = r.pipe(
|
18955
|
-
|
18955
|
+
z(h),
|
18956
18956
|
B((w) => w.seriesList[0] ? w.seriesList[0] : XE)
|
18957
18957
|
), v = Y({
|
18958
18958
|
visibleList: p,
|
@@ -18965,10 +18965,10 @@ const Mu = (t, {
|
|
18965
18965
|
SeriesLabelColorMap: f,
|
18966
18966
|
textSizePx: a
|
18967
18967
|
}).pipe(
|
18968
|
-
|
18968
|
+
z(h),
|
18969
18969
|
U(async (w) => w),
|
18970
|
-
B((w) => w.seriesLabels.reduce((P, S,
|
18971
|
-
if (!w.visibleList[
|
18970
|
+
B((w) => w.seriesLabels.reduce((P, S, G) => {
|
18971
|
+
if (!w.visibleList[G])
|
18972
18972
|
return P;
|
18973
18973
|
const E = N2(S, w.textSizePx), A = w.textSizePx * 1.5 + E, L = w.SeriesLabelColorMap.get(S), M = P[0] && P[0][0] ? P[P.length - 1][P[P.length - 1].length - 1] : null, { translateX: F, translateY: O, lineIndex: k, itemIndex: I } = ((N, j, K) => {
|
18974
18974
|
let R = 0, X = 0, q = 0, V = 0;
|
@@ -18991,7 +18991,7 @@ const Mu = (t, {
|
|
18991
18991
|
return P[k].push({
|
18992
18992
|
id: S,
|
18993
18993
|
seriesLabel: S,
|
18994
|
-
seriesIndex:
|
18994
|
+
seriesIndex: G,
|
18995
18995
|
lineIndex: k,
|
18996
18996
|
itemIndex: I,
|
18997
18997
|
text: S,
|
@@ -19012,18 +19012,18 @@ const Mu = (t, {
|
|
19012
19012
|
lengendItems: v,
|
19013
19013
|
textSizePx: a
|
19014
19014
|
}).pipe(
|
19015
|
-
|
19015
|
+
z(h),
|
19016
19016
|
U(async (w) => w),
|
19017
19017
|
B((w) => {
|
19018
|
-
const { width: P, height: S } = ((
|
19018
|
+
const { width: P, height: S } = ((G, E) => {
|
19019
19019
|
let A = 0, L = 0;
|
19020
19020
|
if (!E.length || !E[0].length)
|
19021
19021
|
return { width: A, height: L };
|
19022
19022
|
const M = E[0][E[0].length - 1];
|
19023
|
-
return
|
19023
|
+
return G.lineDirection === "column" ? (A = E.reduce((F, O) => {
|
19024
19024
|
const k = O.reduce((I, C) => C.itemWidth > I ? C.itemWidth : I, 0);
|
19025
19025
|
return F + k;
|
19026
|
-
}, 0), A +=
|
19026
|
+
}, 0), A += G.fullParams.gap * (E.length - 1), L = M.translateY + G.textSizePx) : (A = M.translateX + M.itemWidth, L = G.textSizePx * E.length + G.fullParams.gap * (E.length - 1)), { width: A, height: L };
|
19027
19027
|
})(w, w.lengendItems);
|
19028
19028
|
return {
|
19029
19029
|
direction: w.lineDirection,
|
@@ -19038,15 +19038,15 @@ const Mu = (t, {
|
|
19038
19038
|
fullParams: r,
|
19039
19039
|
lengendList: b
|
19040
19040
|
}).pipe(
|
19041
|
-
|
19041
|
+
z(h),
|
19042
19042
|
U(async (w) => w),
|
19043
19043
|
B((w) => {
|
19044
19044
|
const P = w.lengendList.width + w.fullParams.gap * 2, S = w.lengendList.height + w.fullParams.gap * 2;
|
19045
|
-
let
|
19046
|
-
return w.fullParams.position === "left" ? w.fullParams.justify === "start" ? (
|
19045
|
+
let G = 0, E = 0;
|
19046
|
+
return w.fullParams.position === "left" ? w.fullParams.justify === "start" ? (G = w.fullParams.padding, E = w.fullParams.padding) : w.fullParams.justify === "center" ? (G = w.fullParams.padding, E = -S / 2) : w.fullParams.justify === "end" && (G = w.fullParams.padding, E = -S - w.fullParams.padding) : w.fullParams.position === "right" ? w.fullParams.justify === "start" ? (G = -P - w.fullParams.padding, E = w.fullParams.padding) : w.fullParams.justify === "center" ? (G = -P - w.fullParams.padding, E = -S / 2) : w.fullParams.justify === "end" && (G = -P - w.fullParams.padding, E = -S - w.fullParams.padding) : w.fullParams.position === "top" ? w.fullParams.justify === "start" ? (G = w.fullParams.padding, E = w.fullParams.padding) : w.fullParams.justify === "center" ? (G = -P / 2, E = w.fullParams.padding) : w.fullParams.justify === "end" && (G = -P - w.fullParams.padding, E = w.fullParams.padding) : w.fullParams.justify === "start" ? (G = w.fullParams.padding, E = -S - w.fullParams.padding) : w.fullParams.justify === "center" ? (G = -P / 2, E = -S - w.fullParams.padding) : w.fullParams.justify === "end" && (G = -P - w.fullParams.padding, E = -S - w.fullParams.padding), {
|
19047
19047
|
width: P,
|
19048
19048
|
height: S,
|
19049
|
-
translateX:
|
19049
|
+
translateX: G,
|
19050
19050
|
translateY: E
|
19051
19051
|
};
|
19052
19052
|
})
|
@@ -19056,21 +19056,21 @@ const Mu = (t, {
|
|
19056
19056
|
fullChartParams: o,
|
19057
19057
|
legendCard: $
|
19058
19058
|
}).pipe(
|
19059
|
-
|
19059
|
+
z(h),
|
19060
19060
|
U(async (w) => w),
|
19061
19061
|
B((w) => w.rootPositionSelection.selectAll("g").data([w.legendCard]).join(
|
19062
19062
|
(P) => P.append("g").classed(u, !0).attr("transform", (S) => `translate(${S.translateX}, ${S.translateY})`),
|
19063
19063
|
(P) => P.transition().attr("transform", (S) => `translate(${S.translateX}, ${S.translateY})`),
|
19064
19064
|
(P) => P.remove()
|
19065
|
-
).each((P, S,
|
19066
|
-
Z(
|
19065
|
+
).each((P, S, G) => {
|
19066
|
+
Z(G[S]).selectAll("rect").data([P]).join("rect").attr("width", (E) => E.width).attr("height", (E) => E.height).attr("fill", Tt(w.fullParams.backgroundFill, w.fullChartParams)).attr("stroke", Tt(w.fullParams.backgroundStroke, w.fullChartParams));
|
19067
19067
|
}))
|
19068
19068
|
), D = Y({
|
19069
19069
|
lengendCardSelection: _,
|
19070
19070
|
fullParams: r,
|
19071
19071
|
lengendList: b
|
19072
19072
|
}).pipe(
|
19073
|
-
|
19073
|
+
z(h),
|
19074
19074
|
U(async (w) => w),
|
19075
19075
|
B((w) => w.lengendCardSelection.selectAll("g").data([w.lengendList]).join(
|
19076
19076
|
(P) => P.append("g").classed(c, !0).attr("transform", (S) => `translate(${S.translateX}, ${S.translateY})`),
|
@@ -19085,7 +19085,7 @@ const Mu = (t, {
|
|
19085
19085
|
lengendItems: v,
|
19086
19086
|
textSizePx: a
|
19087
19087
|
}).pipe(
|
19088
|
-
|
19088
|
+
z(h),
|
19089
19089
|
U(async (w) => w),
|
19090
19090
|
B((w) => {
|
19091
19091
|
const P = w.lengendItems[0] ? w.lengendItems.flat() : [];
|
@@ -19093,9 +19093,9 @@ const Mu = (t, {
|
|
19093
19093
|
(S) => S.append("g").classed(l, !0).attr("cursor", "default"),
|
19094
19094
|
(S) => S,
|
19095
19095
|
(S) => S.remove()
|
19096
|
-
).attr("transform", (S,
|
19096
|
+
).attr("transform", (S, G) => `translate(${S.translateX}, ${S.translateY})`).each((S, G, E) => {
|
19097
19097
|
const A = w.textSizePx / 2, L = -S.listRectWidth / 2, M = -S.listRectHeight / 2;
|
19098
|
-
Z(E[
|
19098
|
+
Z(E[G]).selectAll("rect").data([S]).join("rect").attr("x", A).attr("y", A).attr("width", (F) => F.listRectWidth).attr("height", (F) => F.listRectHeight).attr("transform", (F) => `translate(${L}, ${M})`).attr("fill", (F) => F.color).attr("rx", (F) => F.listRectRadius), Z(E[G]).selectAll("text").data([S]).join(
|
19099
19099
|
(F) => F.append("text").attr("dominant-baseline", "hanging"),
|
19100
19100
|
(F) => F,
|
19101
19101
|
(F) => F.remove()
|
@@ -19107,10 +19107,10 @@ const Mu = (t, {
|
|
19107
19107
|
};
|
19108
19108
|
}, Qg = "GridLegend", oR = ce(Qg, rx)(({ selection: t, rootSelection: e, observer: n, subject: r }) => {
|
19109
19109
|
const i = new ot(), o = n.SeriesDataMap$.pipe(
|
19110
|
-
|
19110
|
+
z(i),
|
19111
19111
|
B((u) => Array.from(u.keys()))
|
19112
19112
|
), a = n.fullParams$.pipe(
|
19113
|
-
|
19113
|
+
z(i),
|
19114
19114
|
B((u) => {
|
19115
19115
|
const c = [
|
19116
19116
|
{
|
@@ -19166,19 +19166,19 @@ const W2 = (t, {
|
|
19166
19166
|
),
|
19167
19167
|
isSeriesSeprate: l
|
19168
19168
|
}).pipe(
|
19169
|
-
|
19169
|
+
z(h),
|
19170
19170
|
U(async (_) => _),
|
19171
19171
|
B((_) => _.isSeriesSeprate ? _.computedData : [_.computedData[0]]),
|
19172
19172
|
B((_, D) => e.selectAll(`g.${f}`).data(_, (T) => T[0] ? T[0].seriesIndex : D).join("g").classed(f, !0))
|
19173
19173
|
), y = m.pipe(
|
19174
|
-
|
19174
|
+
z(h),
|
19175
19175
|
B((_, D) => _.selectAll(`g.${p}`).data([p]).join("g").classed(p, !0))
|
19176
19176
|
);
|
19177
19177
|
Y({
|
19178
19178
|
containerSelection: m,
|
19179
19179
|
gridContainerPosition: c
|
19180
19180
|
}).pipe(
|
19181
|
-
|
19181
|
+
z(h),
|
19182
19182
|
U(async (_) => _)
|
19183
19183
|
).subscribe((_) => {
|
19184
19184
|
_.containerSelection.attr("transform", (D, T) => {
|
@@ -19189,7 +19189,7 @@ const W2 = (t, {
|
|
19189
19189
|
axisSelection: y,
|
19190
19190
|
gridAxesTransform: a
|
19191
19191
|
}).pipe(
|
19192
|
-
|
19192
|
+
z(h),
|
19193
19193
|
U(async (_) => _)
|
19194
19194
|
).subscribe((_) => {
|
19195
19195
|
_.axisSelection.style("transform", _.gridAxesTransform.value);
|
@@ -19200,7 +19200,7 @@ const W2 = (t, {
|
|
19200
19200
|
gridAxesReverseTransform: s,
|
19201
19201
|
gridContainerPosition: c
|
19202
19202
|
}).pipe(
|
19203
|
-
|
19203
|
+
z(h),
|
19204
19204
|
U(async (_) => _),
|
19205
19205
|
B((_) => {
|
19206
19206
|
const D = `translate(${_.gridAxesReverseTransform.translate[0]}px, ${_.gridAxesReverseTransform.translate[1]}px)`, T = `rotate(${_.gridAxesReverseTransform.rotate}deg) rotateX(${_.gridAxesReverseTransform.rotateX}deg) rotateY(${_.gridAxesReverseTransform.rotateY}deg)`, w = `scale(${1 / _.gridContainerPosition[0].scale[0]}, ${1 / _.gridContainerPosition[0].scale[1]})`, S = `rotate(${_.fullDataFormatter.grid.groupAxis.position === "left" && _.fullDataFormatter.grid.valueAxis.position === "top" || _.fullDataFormatter.grid.groupAxis.position === "right" && _.fullDataFormatter.grid.valueAxis.position === "bottom" ? _.fullParams.tickTextRotate + 180 : _.fullParams.tickTextRotate}deg)`;
|
@@ -19213,12 +19213,12 @@ const W2 = (t, {
|
|
19213
19213
|
gridAxesSize: u,
|
19214
19214
|
computedData: n
|
19215
19215
|
}).pipe(
|
19216
|
-
|
19216
|
+
z(h),
|
19217
19217
|
U(async (D) => D)
|
19218
19218
|
).subscribe((D) => {
|
19219
|
-
const w = D.computedData[0] ? D.computedData[0].length - 1 : 0, P = D.fullDataFormatter.grid.groupAxis.scaleDomain[0] === "auto" ? 0 - D.fullDataFormatter.grid.groupAxis.scalePadding : D.fullDataFormatter.grid.groupAxis.scaleDomain[0] - D.fullDataFormatter.grid.groupAxis.scalePadding, S = D.fullDataFormatter.grid.groupAxis.scaleDomain[1] === "auto" ? w + D.fullDataFormatter.grid.groupAxis.scalePadding : D.fullDataFormatter.grid.groupAxis.scaleDomain[1] + D.fullDataFormatter.grid.groupAxis.scalePadding,
|
19219
|
+
const w = D.computedData[0] ? D.computedData[0].length - 1 : 0, P = D.fullDataFormatter.grid.groupAxis.scaleDomain[0] === "auto" ? 0 - D.fullDataFormatter.grid.groupAxis.scalePadding : D.fullDataFormatter.grid.groupAxis.scaleDomain[0] - D.fullDataFormatter.grid.groupAxis.scalePadding, S = D.fullDataFormatter.grid.groupAxis.scaleDomain[1] === "auto" ? w + D.fullDataFormatter.grid.groupAxis.scalePadding : D.fullDataFormatter.grid.groupAxis.scaleDomain[1] + D.fullDataFormatter.grid.groupAxis.scalePadding, G = D.computedData[0] ? D.computedData[0].length : 0;
|
19220
19220
|
let E = (D.computedData[0] ?? []).map((F) => F.groupLabel);
|
19221
|
-
const A = new Array(
|
19221
|
+
const A = new Array(G).fill(0).map((F, O) => E[O] != null ? E[O] : String(O)).filter((F, O) => O >= P && O <= S), L = D.fullDataFormatter.grid.groupAxis.scalePadding, M = Zm({
|
19222
19222
|
axisLabels: A,
|
19223
19223
|
axisWidth: D.gridAxesSize.width,
|
19224
19224
|
padding: L
|
@@ -19229,7 +19229,7 @@ const W2 = (t, {
|
|
19229
19229
|
fullDataFormatter: i,
|
19230
19230
|
fullParams: r
|
19231
19231
|
}).pipe(
|
19232
|
-
|
19232
|
+
z(h),
|
19233
19233
|
U(async (_) => _),
|
19234
19234
|
B((_) => {
|
19235
19235
|
let D = "middle", T = "hanging";
|
@@ -19239,7 +19239,7 @@ const W2 = (t, {
|
|
19239
19239
|
};
|
19240
19240
|
})
|
19241
19241
|
), $ = i.pipe(
|
19242
|
-
|
19242
|
+
z(h),
|
19243
19243
|
B((_) => {
|
19244
19244
|
let D = "start", T = "hanging";
|
19245
19245
|
return _.grid.groupAxis.position === "bottom" ? T = "hanging" : _.grid.groupAxis.position === "top" ? T = "auto" : _.grid.groupAxis.position === "left" ? D = "end" : _.grid.groupAxis.position === "right" && (D = "start"), _.grid.valueAxis.position === "left" ? D = "start" : _.grid.valueAxis.position === "right" ? D = "end" : _.grid.valueAxis.position === "bottom" ? T = "auto" : _.grid.valueAxis.position === "top" && (T = "hanging"), {
|
@@ -19260,7 +19260,7 @@ const W2 = (t, {
|
|
19260
19260
|
textTransform: x
|
19261
19261
|
// tickTextFormatter: tickTextFormatter$
|
19262
19262
|
}).pipe(
|
19263
|
-
|
19263
|
+
z(h),
|
19264
19264
|
U(async (_) => _)
|
19265
19265
|
).subscribe((_) => {
|
19266
19266
|
VE({
|
@@ -19282,7 +19282,7 @@ const W2 = (t, {
|
|
19282
19282
|
};
|
19283
19283
|
}, Jg = "GroupAxis", aR = ce(Jg, tx)(({ selection: t, name: e, observer: n, subject: r }) => {
|
19284
19284
|
const i = new ot(), o = n.fullDataFormatter$.pipe(
|
19285
|
-
|
19285
|
+
z(i),
|
19286
19286
|
B((s) => s.grid.separateSeries),
|
19287
19287
|
rt(),
|
19288
19288
|
Mt(1)
|
@@ -19332,30 +19332,30 @@ const Du = (t, {
|
|
19332
19332
|
),
|
19333
19333
|
isSeriesSeprate: l
|
19334
19334
|
}).pipe(
|
19335
|
-
|
19335
|
+
z(h),
|
19336
19336
|
U(async (D) => D),
|
19337
19337
|
B((D) => D.isSeriesSeprate ? D.computedData : [D.computedData[0]]),
|
19338
19338
|
B((D, T) => e.selectAll(`g.${f}`).data(D, (w) => w[0] ? w[0].seriesIndex : T).join("g").classed(f, !0))
|
19339
19339
|
), y = m.pipe(
|
19340
|
-
|
19340
|
+
z(h),
|
19341
19341
|
B((D, T) => D.selectAll(`g.${p}`).data([p]).join("g").classed(p, !0))
|
19342
19342
|
);
|
19343
19343
|
Y({
|
19344
19344
|
containerSelection: m,
|
19345
19345
|
gridContainerPosition: c
|
19346
19346
|
}).pipe(
|
19347
|
-
|
19347
|
+
z(h),
|
19348
19348
|
U(async (D) => D)
|
19349
19349
|
).subscribe((D) => {
|
19350
19350
|
D.containerSelection.attr("transform", (T, w) => {
|
19351
|
-
const P = D.gridContainerPosition[w] ?? D.gridContainerPosition[0], S = P.translate,
|
19352
|
-
return `translate(${S[0]}, ${S[1]}) scale(${
|
19351
|
+
const P = D.gridContainerPosition[w] ?? D.gridContainerPosition[0], S = P.translate, G = P.scale;
|
19352
|
+
return `translate(${S[0]}, ${S[1]}) scale(${G[0]}, ${G[1]})`;
|
19353
19353
|
});
|
19354
19354
|
}), Y({
|
19355
19355
|
axisSelection: y,
|
19356
19356
|
gridAxesTransform: a
|
19357
19357
|
}).pipe(
|
19358
|
-
|
19358
|
+
z(h),
|
19359
19359
|
U(async (D) => D)
|
19360
19360
|
).subscribe((D) => {
|
19361
19361
|
D.axisSelection.style("transform", D.gridAxesTransform.value);
|
@@ -19366,11 +19366,11 @@ const Du = (t, {
|
|
19366
19366
|
gridAxesReverseTransform: s,
|
19367
19367
|
gridContainerPosition: c
|
19368
19368
|
}).pipe(
|
19369
|
-
|
19369
|
+
z(h),
|
19370
19370
|
U(async (D) => D),
|
19371
19371
|
B((D) => {
|
19372
|
-
const T = `translate(${D.gridAxesReverseTransform.translate[0]}px, ${D.gridAxesReverseTransform.translate[1]}px)`, w = `rotate(${D.gridAxesReverseTransform.rotate}deg) rotateX(${D.gridAxesReverseTransform.rotateX}deg) rotateY(${D.gridAxesReverseTransform.rotateY}deg)`, P = `scale(${1 / D.gridContainerPosition[0].scale[0]}, ${1 / D.gridContainerPosition[0].scale[1]})`,
|
19373
|
-
return `${T} ${w} ${P} ${
|
19372
|
+
const T = `translate(${D.gridAxesReverseTransform.translate[0]}px, ${D.gridAxesReverseTransform.translate[1]}px)`, w = `rotate(${D.gridAxesReverseTransform.rotate}deg) rotateX(${D.gridAxesReverseTransform.rotateX}deg) rotateY(${D.gridAxesReverseTransform.rotateY}deg)`, P = `scale(${1 / D.gridContainerPosition[0].scale[0]}, ${1 / D.gridContainerPosition[0].scale[1]})`, G = `rotate(${D.fullDataFormatter.grid.groupAxis.position === "left" && D.fullDataFormatter.grid.valueAxis.position === "top" || D.fullDataFormatter.grid.groupAxis.position === "right" && D.fullDataFormatter.grid.valueAxis.position === "bottom" ? D.fullParams.tickTextRotate + 180 : D.fullParams.tickTextRotate}deg)`;
|
19373
|
+
return `${T} ${w} ${P} ${G}`;
|
19374
19374
|
}),
|
19375
19375
|
rt()
|
19376
19376
|
), v = new ht((D) => {
|
@@ -19379,10 +19379,10 @@ const Du = (t, {
|
|
19379
19379
|
gridAxesSize: u,
|
19380
19380
|
computedData: n
|
19381
19381
|
}).pipe(
|
19382
|
-
|
19382
|
+
z(h),
|
19383
19383
|
U(async (T) => T)
|
19384
19384
|
).subscribe((T) => {
|
19385
|
-
const P = T.computedData[0] ? T.computedData[0].length - 1 : 0, S = T.fullDataFormatter.grid.groupAxis.scaleDomain[0] === "auto" ? 0 - T.fullDataFormatter.grid.groupAxis.scalePadding : T.fullDataFormatter.grid.groupAxis.scaleDomain[0] - T.fullDataFormatter.grid.groupAxis.scalePadding,
|
19385
|
+
const P = T.computedData[0] ? T.computedData[0].length - 1 : 0, S = T.fullDataFormatter.grid.groupAxis.scaleDomain[0] === "auto" ? 0 - T.fullDataFormatter.grid.groupAxis.scalePadding : T.fullDataFormatter.grid.groupAxis.scaleDomain[0] - T.fullDataFormatter.grid.groupAxis.scalePadding, G = T.fullDataFormatter.grid.groupAxis.scaleDomain[1] === "auto" ? P + T.fullDataFormatter.grid.groupAxis.scalePadding : T.fullDataFormatter.grid.groupAxis.scaleDomain[1] + T.fullDataFormatter.grid.groupAxis.scalePadding, E = T.computedData.map((L, M) => L.filter((F, O) => O >= S && O <= G)), A = dE(E.flat());
|
19386
19386
|
D.next(A);
|
19387
19387
|
});
|
19388
19388
|
}), b = new ht((D) => {
|
@@ -19391,7 +19391,7 @@ const Du = (t, {
|
|
19391
19391
|
gridAxesSize: u,
|
19392
19392
|
minAndMax: v
|
19393
19393
|
}).pipe(
|
19394
|
-
|
19394
|
+
z(h),
|
19395
19395
|
U(async (T) => T)
|
19396
19396
|
).subscribe((T) => {
|
19397
19397
|
const w = Vm({
|
@@ -19404,7 +19404,7 @@ const Du = (t, {
|
|
19404
19404
|
D.next(w);
|
19405
19405
|
});
|
19406
19406
|
}), $ = i.pipe(
|
19407
|
-
|
19407
|
+
z(h),
|
19408
19408
|
B((D) => {
|
19409
19409
|
let T = "start", w = "hanging";
|
19410
19410
|
return D.grid.valueAxis.position === "left" ? (T = "end", w = "middle") : D.grid.valueAxis.position === "right" ? (T = "start", w = "middle") : D.grid.valueAxis.position === "bottom" ? (T = "middle", w = "hanging") : D.grid.valueAxis.position === "top" && (T = "middle", w = "auto"), {
|
@@ -19413,7 +19413,7 @@ const Du = (t, {
|
|
19413
19413
|
};
|
19414
19414
|
})
|
19415
19415
|
), _ = i.pipe(
|
19416
|
-
|
19416
|
+
z(h),
|
19417
19417
|
B((D) => {
|
19418
19418
|
let T = "start", w = "hanging";
|
19419
19419
|
return D.grid.groupAxis.position === "bottom" ? w = "auto" : D.grid.groupAxis.position === "top" ? w = "hanging" : D.grid.groupAxis.position === "left" ? T = "start" : D.grid.groupAxis.position === "right" && (T = "end"), D.grid.valueAxis.position === "left" ? T = "end" : D.grid.valueAxis.position === "right" ? T = "start" : D.grid.valueAxis.position === "bottom" ? w = "hanging" : D.grid.valueAxis.position === "top" && (w = "auto"), {
|
@@ -19435,7 +19435,7 @@ const Du = (t, {
|
|
19435
19435
|
textTransform: x,
|
19436
19436
|
minAndMax: v
|
19437
19437
|
}).pipe(
|
19438
|
-
|
19438
|
+
z(h),
|
19439
19439
|
U(async (D) => D)
|
19440
19440
|
).subscribe((D) => {
|
19441
19441
|
ZE({
|
@@ -19457,7 +19457,7 @@ const Du = (t, {
|
|
19457
19457
|
};
|
19458
19458
|
}, e0 = "ValueAxis", sR = ce(e0, w0)(({ selection: t, name: e, observer: n, subject: r }) => {
|
19459
19459
|
const i = new ot(), o = n.fullDataFormatter$.pipe(
|
19460
|
-
|
19460
|
+
z(i),
|
19461
19461
|
B((s) => s.grid.separateSeries),
|
19462
19462
|
rt(),
|
19463
19463
|
Mt(1)
|
@@ -19478,7 +19478,7 @@ const Du = (t, {
|
|
19478
19478
|
};
|
19479
19479
|
}), n0 = "ValueStackAxis", uR = ce(n0, ex)(({ selection: t, name: e, observer: n, subject: r }) => {
|
19480
19480
|
const i = new ot(), o = n.computedData$.pipe(
|
19481
|
-
|
19481
|
+
z(i),
|
19482
19482
|
B((u) => {
|
19483
19483
|
const c = new Array(u[0] ? u[0].length : 0).fill(null).map((h, f) => u.reduce((p, d) => {
|
19484
19484
|
if (d && d[f]) {
|
@@ -19493,7 +19493,7 @@ const Du = (t, {
|
|
19493
19493
|
})));
|
19494
19494
|
})
|
19495
19495
|
), a = n.fullDataFormatter$.pipe(
|
19496
|
-
|
19496
|
+
z(i),
|
19497
19497
|
B((u) => u.grid.separateSeries),
|
19498
19498
|
rt(),
|
19499
19499
|
Mt(1)
|
@@ -19522,7 +19522,7 @@ const Du = (t, {
|
|
19522
19522
|
y: 0
|
19523
19523
|
};
|
19524
19524
|
r.layout$.pipe(
|
19525
|
-
|
19525
|
+
z(o)
|
19526
19526
|
).subscribe((c) => {
|
19527
19527
|
a.attr("width", c.width).attr("height", c.height).attr("x", c.left).attr("y", c.top);
|
19528
19528
|
});
|
@@ -19542,7 +19542,7 @@ const Du = (t, {
|
|
19542
19542
|
layout: r.layout$,
|
19543
19543
|
axisSize: r.gridAxesSize$
|
19544
19544
|
}).pipe(
|
19545
|
-
|
19545
|
+
z(o),
|
19546
19546
|
U(async (c) => c)
|
19547
19547
|
).subscribe((c) => {
|
19548
19548
|
const h = c.groupMaxIndex, f = c.initGroupAxis.scaleDomain[0] === "auto" ? 0 - c.initGroupAxis.scalePadding : c.initGroupAxis.scaleDomain[0] - c.initGroupAxis.scalePadding, p = c.initGroupAxis.scaleDomain[1] === "auto" ? h + c.initGroupAxis.scalePadding : c.initGroupAxis.scaleDomain[1] + c.initGroupAxis.scalePadding, g = Vm({
|
@@ -19623,11 +19623,11 @@ function iI(t) {
|
|
19623
19623
|
const lR = ce(Fl, K2)(({ selection: t, rootSelection: e, name: n, subject: r, observer: i }) => {
|
19624
19624
|
const o = new ot(), a = e.insert("rect", "g").classed(st(Fl, "rect"), !0).attr("opacity", 0), s = t.append("g");
|
19625
19625
|
i.layout$.pipe(
|
19626
|
-
|
19626
|
+
z(o)
|
19627
19627
|
).subscribe((f) => {
|
19628
19628
|
a.attr("width", f.rootWidth).attr("height", f.rootHeight);
|
19629
19629
|
}), i.gridAxesTransform$.pipe(
|
19630
|
-
|
19630
|
+
z(o),
|
19631
19631
|
B((f) => f.value),
|
19632
19632
|
rt()
|
19633
19633
|
).subscribe((f) => {
|
@@ -19639,7 +19639,7 @@ const lR = ce(Fl, K2)(({ selection: t, rootSelection: e, name: n, subject: r, ob
|
|
19639
19639
|
gridAxesSize: i.gridAxesSize$,
|
19640
19640
|
computedData: i.computedData$
|
19641
19641
|
}).pipe(
|
19642
|
-
|
19642
|
+
z(o),
|
19643
19643
|
U(async (p) => p)
|
19644
19644
|
).subscribe((p) => {
|
19645
19645
|
const g = p.computedData[0] ? p.computedData[0].length - 1 : 0, m = p.fullDataFormatter.grid.groupAxis.scaleDomain[0] === "auto" ? 0 - p.fullDataFormatter.grid.groupAxis.scalePadding : p.fullDataFormatter.grid.groupAxis.scaleDomain[0] - p.fullDataFormatter.grid.groupAxis.scalePadding, y = p.fullDataFormatter.grid.groupAxis.scaleDomain[1] === "auto" ? g + p.fullDataFormatter.grid.groupAxis.scalePadding : p.fullDataFormatter.grid.groupAxis.scaleDomain[1] + p.fullDataFormatter.grid.groupAxis.scalePadding, x = p.computedData[0] ? p.computedData[0].length : 0;
|
@@ -19657,7 +19657,7 @@ const lR = ce(Fl, K2)(({ selection: t, rootSelection: e, name: n, subject: r, ob
|
|
19657
19657
|
computedData$: i.computedData$,
|
19658
19658
|
fullChartParams$: i.fullChartParams$
|
19659
19659
|
}), l = i.fullChartParams$.pipe(
|
19660
|
-
|
19660
|
+
z(o),
|
19661
19661
|
B((f) => f.highlightTarget),
|
19662
19662
|
rt()
|
19663
19663
|
);
|
@@ -19672,7 +19672,7 @@ const lR = ce(Fl, K2)(({ selection: t, rootSelection: e, name: n, subject: r, ob
|
|
19672
19672
|
gridGroupPositionFn: c,
|
19673
19673
|
groupScale: u
|
19674
19674
|
}).pipe(
|
19675
|
-
|
19675
|
+
z(o),
|
19676
19676
|
U(async (f) => f)
|
19677
19677
|
).subscribe((f) => {
|
19678
19678
|
e.on("mouseover", (p, d) => {
|
@@ -19756,7 +19756,7 @@ const lR = ce(Fl, K2)(({ selection: t, rootSelection: e, name: n, subject: r, ob
|
|
19756
19756
|
}), Y({
|
19757
19757
|
// highlight: highlight$,
|
19758
19758
|
event: r.event$.pipe(
|
19759
|
-
|
19759
|
+
Gi((f) => f.eventName === "mouseover" || f.eventName === "mousemove")
|
19760
19760
|
),
|
19761
19761
|
computedData: i.computedData$,
|
19762
19762
|
groupScale: u,
|
@@ -19769,7 +19769,7 @@ const lR = ce(Fl, K2)(({ selection: t, rootSelection: e, name: n, subject: r, ob
|
|
19769
19769
|
gridGroupPositionFn: c,
|
19770
19770
|
textSizePx: i.textSizePx$
|
19771
19771
|
}).pipe(
|
19772
|
-
|
19772
|
+
z(o),
|
19773
19773
|
U(async (f) => f)
|
19774
19774
|
).subscribe((f) => {
|
19775
19775
|
const p = f.groupScale(f.event.groupLabel) ?? 0, d = JE({
|
@@ -19875,7 +19875,7 @@ const lR = ce(Fl, K2)(({ selection: t, rootSelection: e, name: n, subject: r, ob
|
|
19875
19875
|
});
|
19876
19876
|
});
|
19877
19877
|
}), QE(a, "mouseout").pipe(
|
19878
|
-
|
19878
|
+
z(o)
|
19879
19879
|
).subscribe((f) => {
|
19880
19880
|
console.log("rootMouseout"), eI(s), iI(s);
|
19881
19881
|
}), () => {
|
@@ -19998,7 +19998,7 @@ const lR = ce(Fl, K2)(({ selection: t, rootSelection: e, name: n, subject: r, ob
|
|
19998
19998
|
gridIndexes: [0, 1]
|
19999
19999
|
}, r0 = "MultiGridLegend", fR = Be(r0, oI)(({ selection: t, rootSelection: e, observer: n, subject: r }) => {
|
20000
20000
|
const i = new ot(), o = n.multiGridEachDetail$.pipe(
|
20001
|
-
|
20001
|
+
z(i),
|
20002
20002
|
B((c) => c.map((h, f) => h.SeriesDataMap$.pipe(
|
20003
20003
|
// grid內的seriesLabels
|
20004
20004
|
B((p) => Array.from(p.keys()))
|
@@ -20010,7 +20010,7 @@ const lR = ce(Fl, K2)(({ selection: t, rootSelection: e, name: n, subject: r, ob
|
|
20010
20010
|
// multiGrid: observer.multiGridEachDetail$,
|
20011
20011
|
computedData: n.computedData$
|
20012
20012
|
}).pipe(
|
20013
|
-
|
20013
|
+
z(i),
|
20014
20014
|
U(async (c) => c),
|
20015
20015
|
B((c) => c.computedData.map((l, h) => {
|
20016
20016
|
const f = zc(c.fullParams.gridList[h] ?? {}, {
|
@@ -20024,7 +20024,7 @@ const lR = ce(Fl, K2)(({ selection: t, rootSelection: e, name: n, subject: r, ob
|
|
20024
20024
|
fullParams: n.fullParams$,
|
20025
20025
|
seriesList: a
|
20026
20026
|
}).pipe(
|
20027
|
-
|
20027
|
+
z(i),
|
20028
20028
|
U(async (c) => c),
|
20029
20029
|
B((c) => ({
|
20030
20030
|
...c.fullParams,
|
@@ -20055,10 +20055,12 @@ const lR = ce(Fl, K2)(({ selection: t, rootSelection: e, name: n, subject: r, ob
|
|
20055
20055
|
);
|
20056
20056
|
}, Gl = "MultiBars", i0 = st(Gl, "grid"), hR = Be(Gl, uI)(({ selection: t, name: e, subject: n, observer: r }) => {
|
20057
20057
|
const i = new ot(), o = [];
|
20058
|
-
return sn(r).
|
20058
|
+
return sn(r).pipe(
|
20059
|
+
z(i)
|
20060
|
+
).subscribe((s) => {
|
20059
20061
|
o.forEach((u) => u()), t.selectAll(`g.${i0}`).data(s).join("g").attr("class", i0).each((u, c, l) => {
|
20060
20062
|
const h = Z(l[c]), f = u.dataFormatter$.pipe(
|
20061
|
-
|
20063
|
+
z(i),
|
20062
20064
|
B((p) => p.grid.separateSeries),
|
20063
20065
|
rt(),
|
20064
20066
|
Mt(1)
|
@@ -20089,10 +20091,12 @@ const lR = ce(Fl, K2)(({ selection: t, rootSelection: e, name: n, subject: r, ob
|
|
20089
20091
|
};
|
20090
20092
|
}), Ol = "MultiBarStack", o0 = st(Ol, "grid"), pR = Be(Ol, cI)(({ selection: t, name: e, subject: n, observer: r }) => {
|
20091
20093
|
const i = new ot(), o = [];
|
20092
|
-
return sn(r).
|
20094
|
+
return sn(r).pipe(
|
20095
|
+
z(i)
|
20096
|
+
).subscribe((s) => {
|
20093
20097
|
o.forEach((u) => u()), t.selectAll(`g.${o0}`).data(s).join("g").attr("class", o0).each((u, c, l) => {
|
20094
20098
|
const h = Z(l[c]), f = u.dataFormatter$.pipe(
|
20095
|
-
|
20099
|
+
z(i),
|
20096
20100
|
B((p) => p.grid.separateSeries),
|
20097
20101
|
rt(),
|
20098
20102
|
Mt(1)
|
@@ -20124,10 +20128,12 @@ const lR = ce(Fl, K2)(({ selection: t, rootSelection: e, name: n, subject: r, ob
|
|
20124
20128
|
};
|
20125
20129
|
}), Bl = "MultiBarsTriangle", a0 = st(Bl, "grid"), dR = Be(Bl, lI)(({ selection: t, name: e, subject: n, observer: r }) => {
|
20126
20130
|
const i = new ot(), o = [];
|
20127
|
-
return sn(r).
|
20131
|
+
return sn(r).pipe(
|
20132
|
+
z(i)
|
20133
|
+
).subscribe((s) => {
|
20128
20134
|
o.forEach((u) => u()), t.selectAll(`g.${a0}`).data(s).join("g").attr("class", a0).each((u, c, l) => {
|
20129
20135
|
const h = Z(l[c]), f = u.dataFormatter$.pipe(
|
20130
|
-
|
20136
|
+
z(i),
|
20131
20137
|
B((p) => p.grid.separateSeries),
|
20132
20138
|
rt(),
|
20133
20139
|
Mt(1)
|
@@ -20158,7 +20164,9 @@ const lR = ce(Fl, K2)(({ selection: t, rootSelection: e, name: n, subject: r, ob
|
|
20158
20164
|
};
|
20159
20165
|
}), Yl = "MultiLines", s0 = st(Yl, "grid"), gR = Be(Yl, fI)(({ selection: t, name: e, subject: n, observer: r }) => {
|
20160
20166
|
const i = new ot(), o = [];
|
20161
|
-
return sn(r).
|
20167
|
+
return sn(r).pipe(
|
20168
|
+
z(i)
|
20169
|
+
).subscribe((s) => {
|
20162
20170
|
o.forEach((u) => u()), t.selectAll(`g.${s0}`).data(s).join("g").attr("class", s0).each((u, c, l) => {
|
20163
20171
|
const h = Z(l[c]);
|
20164
20172
|
o[c] = F2(Yl, {
|
@@ -20186,7 +20194,9 @@ const lR = ce(Fl, K2)(({ selection: t, rootSelection: e, name: n, subject: r, ob
|
|
20186
20194
|
};
|
20187
20195
|
}), Ul = "MultiLineAreas", u0 = st(Ul, "grid"), mR = Be(Ul, hI)(({ selection: t, name: e, subject: n, observer: r }) => {
|
20188
20196
|
const i = new ot(), o = [];
|
20189
|
-
return sn(r).
|
20197
|
+
return sn(r).pipe(
|
20198
|
+
z(i)
|
20199
|
+
).subscribe((s) => {
|
20190
20200
|
o.forEach((u) => u()), t.selectAll(`g.${u0}`).data(s).join("g").attr("class", u0).each((u, c, l) => {
|
20191
20201
|
const h = Z(l[c]);
|
20192
20202
|
o[c] = z2(Ul, {
|
@@ -20215,7 +20225,9 @@ const lR = ce(Fl, K2)(({ selection: t, rootSelection: e, name: n, subject: r, ob
|
|
20215
20225
|
};
|
20216
20226
|
}), Hl = "MultiDots", c0 = st(Hl, "grid"), yR = Be(Hl, pI)(({ selection: t, name: e, subject: n, observer: r }) => {
|
20217
20227
|
const i = new ot(), o = [];
|
20218
|
-
return sn(r).
|
20228
|
+
return sn(r).pipe(
|
20229
|
+
z(i)
|
20230
|
+
).subscribe((s) => {
|
20219
20231
|
o.forEach((u) => u()), t.selectAll(`g.${c0}`).data(s).join("g").attr("class", c0).each((u, c, l) => {
|
20220
20232
|
const h = Z(l[c]);
|
20221
20233
|
o[c] = H2(Hl, {
|
@@ -20243,10 +20255,12 @@ const lR = ce(Fl, K2)(({ selection: t, rootSelection: e, name: n, subject: r, ob
|
|
20243
20255
|
};
|
20244
20256
|
}), Wl = "MultiGroupAxis", l0 = st(Wl, "grid"), bR = Be(Wl, aI)(({ selection: t, name: e, subject: n, observer: r }) => {
|
20245
20257
|
const i = new ot(), o = [];
|
20246
|
-
return sn(r).
|
20258
|
+
return sn(r).pipe(
|
20259
|
+
z(i)
|
20260
|
+
).subscribe((s) => {
|
20247
20261
|
o.forEach((u) => u()), t.selectAll(`g.${l0}`).data(s).join("g").attr("class", l0).each((u, c, l) => {
|
20248
20262
|
const h = Z(l[c]), f = u.dataFormatter$.pipe(
|
20249
|
-
|
20263
|
+
z(i),
|
20250
20264
|
B((p) => p.grid.separateSeries),
|
20251
20265
|
rt(),
|
20252
20266
|
Mt(1)
|
@@ -20269,10 +20283,12 @@ const lR = ce(Fl, K2)(({ selection: t, rootSelection: e, name: n, subject: r, ob
|
|
20269
20283
|
};
|
20270
20284
|
}), ql = "MultiValueAxis", f0 = st(ql, "grid"), vR = Be(ql, sI)(({ selection: t, name: e, subject: n, observer: r }) => {
|
20271
20285
|
const i = new ot(), o = [];
|
20272
|
-
return sn(r).
|
20286
|
+
return sn(r).pipe(
|
20287
|
+
z(i)
|
20288
|
+
).subscribe((s) => {
|
20273
20289
|
o.forEach((u) => u()), t.selectAll(`g.${f0}`).data(s).join("g").attr("class", f0).each((u, c, l) => {
|
20274
20290
|
const h = Z(l[c]), f = u.dataFormatter$.pipe(
|
20275
|
-
|
20291
|
+
z(i),
|
20276
20292
|
B((p) => p.grid.separateSeries),
|
20277
20293
|
rt(),
|
20278
20294
|
Mt(1)
|
@@ -20339,7 +20355,7 @@ const mI = ({ fullDataFormatter$: t, layout$: e }) => {
|
|
20339
20355
|
fullDataFormatter: t,
|
20340
20356
|
layout: e
|
20341
20357
|
}).pipe(
|
20342
|
-
|
20358
|
+
z(n),
|
20343
20359
|
U(async (o) => o)
|
20344
20360
|
).subscribe((o) => {
|
20345
20361
|
const a = r({
|
@@ -20373,17 +20389,17 @@ const mI = ({ fullDataFormatter$: t, layout$: e }) => {
|
|
20373
20389
|
B((i) => i.fullDataFormatter.grid.separateSeries ? h0(i.layout, i.fullDataFormatter.container, i.computedData.length) : h0(i.layout, i.fullDataFormatter.container, 1))
|
20374
20390
|
), jl = "OverlappingValueAxes", p0 = st(jl, "grid"), xR = Be(jl, dI)(({ selection: t, name: e, subject: n, observer: r }) => {
|
20375
20391
|
const i = new ot(), o = [], a = r.fullParams$.pipe(
|
20376
|
-
|
20392
|
+
z(i),
|
20377
20393
|
B((l) => l.gridIndexes[0])
|
20378
20394
|
), s = r.fullParams$.pipe(
|
20379
|
-
|
20395
|
+
z(i),
|
20380
20396
|
B((l) => l.gridIndexes[1])
|
20381
20397
|
), u = Y({
|
20382
20398
|
firstGridIndex: a,
|
20383
20399
|
secondGridIndex: s,
|
20384
20400
|
fullDataFormatter: r.fullDataFormatter$
|
20385
20401
|
}).pipe(
|
20386
|
-
|
20402
|
+
z(i),
|
20387
20403
|
U(async (l) => l),
|
20388
20404
|
B((l) => {
|
20389
20405
|
l.fullDataFormatter.gridList[l.secondGridIndex] || (l.fullDataFormatter.gridList[l.secondGridIndex] = Object.assign({}, l.fullDataFormatter.gridList[l.firstGridIndex]));
|
@@ -20405,7 +20421,7 @@ const mI = ({ fullDataFormatter$: t, layout$: e }) => {
|
|
20405
20421
|
})
|
20406
20422
|
);
|
20407
20423
|
return nf(r).pipe(
|
20408
|
-
|
20424
|
+
z(i),
|
20409
20425
|
B((l) => ({
|
20410
20426
|
...l,
|
20411
20427
|
fullParams$: l.fullParams$.pipe(
|
@@ -20433,12 +20449,14 @@ const mI = ({ fullDataFormatter$: t, layout$: e }) => {
|
|
20433
20449
|
gridContainerPosition$: g
|
20434
20450
|
};
|
20435
20451
|
}))
|
20452
|
+
).pipe(
|
20453
|
+
z(i)
|
20436
20454
|
).subscribe((l) => {
|
20437
20455
|
o.forEach((h) => h()), t.selectAll(`g.${p0}`).data(l).join("g").attr("class", p0).each((h, f, p) => {
|
20438
20456
|
if (f > 1)
|
20439
20457
|
return;
|
20440
20458
|
const d = Z(p[f]), g = h.dataFormatter$.pipe(
|
20441
|
-
|
20459
|
+
z(i),
|
20442
20460
|
B((m) => m.grid.separateSeries),
|
20443
20461
|
rt(),
|
20444
20462
|
Mt(1)
|
@@ -20525,13 +20543,13 @@ function $I({ rootSelection: t, pluginName: e, rootWidth: n, rootHeight: r, svgS
|
|
20525
20543
|
}
|
20526
20544
|
const wR = Km(Uh, xI)(({ selection: t, rootSelection: e, name: n, chartType: r, observer: i, subject: o }) => {
|
20527
20545
|
const a = new ot(), s = o.event$.pipe(
|
20528
|
-
|
20529
|
-
|
20546
|
+
z(a),
|
20547
|
+
Gi((g) => g.eventName === "mouseover" || g.eventName === "mousemove")
|
20530
20548
|
// distinctUntilChanged((prev, current) => prev.eventName === current.eventName)
|
20531
20549
|
// map(d => d as EventTypeMap<typeof chartType>)
|
20532
20550
|
), u = o.event$.pipe(
|
20533
|
-
|
20534
|
-
|
20551
|
+
z(a),
|
20552
|
+
Gi((g) => g.eventName === "mouseout")
|
20535
20553
|
// distinctUntilChanged((prev, current) => prev.eventName === current.eventName)
|
20536
20554
|
// map(d => d as EventTypeMap<typeof chartType>)
|
20537
20555
|
), c = Z3(i.fullChartParams$), l = Y({
|
@@ -20539,7 +20557,7 @@ const wR = Km(Uh, xI)(({ selection: t, rootSelection: e, name: n, chartType: r,
|
|
20539
20557
|
fullParams: i.fullParams$,
|
20540
20558
|
textSizePx: c
|
20541
20559
|
}).pipe(
|
20542
|
-
|
20560
|
+
z(a),
|
20543
20561
|
U(async (g) => g),
|
20544
20562
|
B((g) => ({
|
20545
20563
|
backgroundColor: Tt(g.fullParams.backgroundColorType, g.fullChartParams),
|
@@ -20555,7 +20573,7 @@ const wR = Km(Uh, xI)(({ selection: t, rootSelection: e, name: n, chartType: r,
|
|
20555
20573
|
fullParams: i.fullParams$,
|
20556
20574
|
tooltipStyle: l
|
20557
20575
|
}).pipe(
|
20558
|
-
|
20576
|
+
z(a),
|
20559
20577
|
U(async (g) => g),
|
20560
20578
|
B((g) => g.fullParams.svgRenderFn ? g.fullParams.svgRenderFn : (m) => {
|
20561
20579
|
const y = g.fullParams.textRenderFn(m);
|
@@ -20565,14 +20583,14 @@ const wR = Km(Uh, xI)(({ selection: t, rootSelection: e, name: n, chartType: r,
|
|
20565
20583
|
event: s,
|
20566
20584
|
contentRenderFn: h
|
20567
20585
|
}).pipe(
|
20568
|
-
|
20586
|
+
z(a),
|
20569
20587
|
U(async (g) => g),
|
20570
20588
|
B((g) => g.contentRenderFn(g.event))
|
20571
20589
|
), p = u.pipe(
|
20572
|
-
|
20590
|
+
z(a),
|
20573
20591
|
B((g) => "")
|
20574
20592
|
), d = Tc(s, u).pipe(
|
20575
|
-
|
20593
|
+
z(a),
|
20576
20594
|
// filter(d => {
|
20577
20595
|
// return (d.eventName === 'mouseover' || d.eventName === 'mousemove' || d.eventName === 'mouseout')
|
20578
20596
|
// && d.event != undefined
|
@@ -20585,7 +20603,7 @@ const wR = Km(Uh, xI)(({ selection: t, rootSelection: e, name: n, chartType: r,
|
|
20585
20603
|
layout: i.layout$,
|
20586
20604
|
tooltipStyle: l
|
20587
20605
|
}).pipe(
|
20588
|
-
|
20606
|
+
z(a),
|
20589
20607
|
U(async (g) => g)
|
20590
20608
|
).subscribe((g) => {
|
20591
20609
|
$I({
|
@@ -20826,14 +20844,14 @@ function RI({ bubblesSelection: t, highlightIds: e, fullChartParams: n }) {
|
|
20826
20844
|
e.includes(r.id) ? a.style("opacity", 1).transition("highlight").ease(Ka).duration(500) : a.style("opacity", n.styles.unhighlightedOpacity);
|
20827
20845
|
});
|
20828
20846
|
}
|
20829
|
-
const $R =
|
20847
|
+
const $R = yo("Bubbles", SI)(({ selection: t, name: e, observer: n, subject: r }) => {
|
20830
20848
|
const i = new ot(), o = t.append("g");
|
20831
20849
|
let a = /* @__PURE__ */ new Map();
|
20832
20850
|
const s = n.fullDataFormatter$.pipe(
|
20833
20851
|
B((f) => f.sumSeries),
|
20834
20852
|
rt()
|
20835
20853
|
), u = n.fullParams$.pipe(
|
20836
|
-
|
20854
|
+
z(i),
|
20837
20855
|
B((f) => f.bubbleScaleType),
|
20838
20856
|
rt()
|
20839
20857
|
), c = new ht((f) => {
|
@@ -20843,7 +20861,7 @@ const $R = bo("Bubbles", SI)(({ selection: t, name: e, observer: n, subject: r }
|
|
20843
20861
|
visibleComputedLayoutData: n.visibleComputedLayoutData$,
|
20844
20862
|
scaleType: u
|
20845
20863
|
}).pipe(
|
20846
|
-
|
20864
|
+
z(i),
|
20847
20865
|
U(async (p) => p)
|
20848
20866
|
).subscribe((p) => {
|
20849
20867
|
const d = kI({
|
@@ -20861,7 +20879,7 @@ const $R = bo("Bubbles", SI)(({ selection: t, name: e, observer: n, subject: r }
|
|
20861
20879
|
a = new Map(f.map((p) => [p.id, p]));
|
20862
20880
|
});
|
20863
20881
|
const l = n.fullChartParams$.pipe(
|
20864
|
-
|
20882
|
+
z(i),
|
20865
20883
|
B((f) => f.highlightTarget),
|
20866
20884
|
rt()
|
20867
20885
|
), h = Y({
|
@@ -20870,7 +20888,7 @@ const $R = bo("Bubbles", SI)(({ selection: t, name: e, observer: n, subject: r }
|
|
20870
20888
|
SeriesContainerPositionMap: n.SeriesContainerPositionMap$,
|
20871
20889
|
sumSeries: s
|
20872
20890
|
}).pipe(
|
20873
|
-
|
20891
|
+
z(i),
|
20874
20892
|
U(async (f) => f),
|
20875
20893
|
B((f) => {
|
20876
20894
|
const p = g0({
|
@@ -20899,7 +20917,7 @@ const $R = bo("Bubbles", SI)(({ selection: t, name: e, observer: n, subject: r }
|
|
20899
20917
|
// fullChartParams: fullChartParams$
|
20900
20918
|
// highlight: highlight$
|
20901
20919
|
}).pipe(
|
20902
|
-
|
20920
|
+
z(i),
|
20903
20921
|
U(async (f) => f)
|
20904
20922
|
).subscribe((f) => {
|
20905
20923
|
f.bubblesSelection.on("mouseover", (p, d) => {
|
@@ -20967,7 +20985,7 @@ const $R = bo("Bubbles", SI)(({ selection: t, name: e, observer: n, subject: r }
|
|
20967
20985
|
// layout: observer.layout$,
|
20968
20986
|
SeriesContainerPositionMap: n.SeriesContainerPositionMap$
|
20969
20987
|
}).pipe(
|
20970
|
-
|
20988
|
+
z(i),
|
20971
20989
|
U(async (f) => f)
|
20972
20990
|
).subscribe((f) => {
|
20973
20991
|
RI({
|
@@ -21100,14 +21118,14 @@ function GI(t, e) {
|
|
21100
21118
|
const n = new ot(), r = st(t, "path");
|
21101
21119
|
let i = [], o = [];
|
21102
21120
|
const a = e.seriesContainerPosition$.pipe(
|
21103
|
-
|
21121
|
+
z(n),
|
21104
21122
|
B((f) => f.width < f.height ? f.width : f.height)
|
21105
21123
|
), s = new ht((f) => {
|
21106
21124
|
Y({
|
21107
21125
|
containerComputedLayoutData: e.containerComputedLayoutData$,
|
21108
21126
|
fullParams: e.fullParams$
|
21109
21127
|
}).pipe(
|
21110
|
-
|
21128
|
+
z(n),
|
21111
21129
|
U(async (p) => p)
|
21112
21130
|
).subscribe((p) => {
|
21113
21131
|
const d = j2({
|
@@ -21122,7 +21140,7 @@ function GI(t, e) {
|
|
21122
21140
|
shorterSideWith: a,
|
21123
21141
|
fullParams: e.fullParams$
|
21124
21142
|
}).pipe(
|
21125
|
-
|
21143
|
+
z(n),
|
21126
21144
|
U(async (p) => p)
|
21127
21145
|
).subscribe((p) => {
|
21128
21146
|
const d = Ts({
|
@@ -21139,7 +21157,7 @@ function GI(t, e) {
|
|
21139
21157
|
shorterSideWith: a,
|
21140
21158
|
fullParams: e.fullParams$
|
21141
21159
|
}).pipe(
|
21142
|
-
|
21160
|
+
z(n),
|
21143
21161
|
U(async (p) => p)
|
21144
21162
|
).subscribe((p) => {
|
21145
21163
|
const d = Ts({
|
@@ -21153,7 +21171,7 @@ function GI(t, e) {
|
|
21153
21171
|
f.next(d);
|
21154
21172
|
});
|
21155
21173
|
}), l = e.fullChartParams$.pipe(
|
21156
|
-
|
21174
|
+
z(n),
|
21157
21175
|
B((f) => f.highlightTarget),
|
21158
21176
|
rt()
|
21159
21177
|
), h = new ht((f) => {
|
@@ -21165,35 +21183,23 @@ function GI(t, e) {
|
|
21165
21183
|
fullChartParams: e.fullChartParams$,
|
21166
21184
|
highlightTarget: l
|
21167
21185
|
}).pipe(
|
21168
|
-
|
21186
|
+
z(n),
|
21169
21187
|
U(async (p) => p)
|
21170
21188
|
).subscribe((p) => {
|
21171
21189
|
e.containerSelection.interrupt("graphicMove");
|
21172
|
-
|
21173
|
-
const y = FI({
|
21190
|
+
const d = e.containerSelection.selectAll("path").data(p.pieData, (x) => x.id), g = d.enter(), m = d.exit(), y = FI({
|
21174
21191
|
enter: g,
|
21175
21192
|
exit: m,
|
21176
21193
|
data: p.pieData,
|
21177
21194
|
lastTweenData: i,
|
21178
21195
|
fullParams: p.fullParams
|
21179
21196
|
});
|
21180
|
-
if (
|
21197
|
+
if (e.containerSelection.transition("graphicMove").duration(p.fullChartParams.transitionDuration).tween("move", (x, v) => (b) => {
|
21181
21198
|
o = y(b), wc({
|
21182
21199
|
selection: e.containerSelection,
|
21183
21200
|
data: o,
|
21184
21201
|
arc: p.arc,
|
21185
21202
|
pathClassName: r
|
21186
|
-
}), e.event$.next({
|
21187
|
-
type: "series",
|
21188
|
-
pluginName: t,
|
21189
|
-
eventName: "transitionMove",
|
21190
|
-
event: void 0,
|
21191
|
-
highlightTarget: p.highlightTarget,
|
21192
|
-
datum: null,
|
21193
|
-
series: [],
|
21194
|
-
seriesIndex: -1,
|
21195
|
-
seriesLabel: "",
|
21196
|
-
data: p.computedData
|
21197
21203
|
});
|
21198
21204
|
}).on("end", (x, v) => {
|
21199
21205
|
o = Xl(
|
@@ -21237,7 +21243,7 @@ function GI(t, e) {
|
|
21237
21243
|
computedData: e.computedData$,
|
21238
21244
|
highlightTarget: l
|
21239
21245
|
}).pipe(
|
21240
|
-
|
21246
|
+
z(n),
|
21241
21247
|
U(async (f) => f)
|
21242
21248
|
).subscribe((f) => {
|
21243
21249
|
f.pathSelection.on("mouseover", (p, d) => {
|
@@ -21302,7 +21308,7 @@ function GI(t, e) {
|
|
21302
21308
|
arc: u,
|
21303
21309
|
arcMouseover: c
|
21304
21310
|
}).pipe(
|
21305
|
-
|
21311
|
+
z(n),
|
21306
21312
|
U(async (f) => f)
|
21307
21313
|
).subscribe((f) => {
|
21308
21314
|
zI({
|
@@ -21316,7 +21322,7 @@ function GI(t, e) {
|
|
21316
21322
|
n.next(void 0);
|
21317
21323
|
};
|
21318
21324
|
}
|
21319
|
-
const SR =
|
21325
|
+
const SR = yo(_c, AI)(({ selection: t, name: e, subject: n, observer: r }) => {
|
21320
21326
|
const i = new ot(), { seriesCenterSelection$: o } = Hh({
|
21321
21327
|
selection: t,
|
21322
21328
|
pluginName: _c,
|
@@ -21324,13 +21330,15 @@ const SR = bo(_c, AI)(({ selection: t, name: e, subject: n, observer: r }) => {
|
|
21324
21330
|
seriesLabels$: r.seriesLabels$,
|
21325
21331
|
seriesContainerPosition$: r.seriesContainerPosition$
|
21326
21332
|
}), a = [];
|
21327
|
-
return r.fullParams$.subscribe(), o.
|
21333
|
+
return r.fullParams$.subscribe(), o.pipe(
|
21334
|
+
z(i)
|
21335
|
+
).subscribe((s) => {
|
21328
21336
|
a.forEach((u) => u()), s.each((u, c, l) => {
|
21329
21337
|
const h = Z(l[c]), f = r.computedLayoutData$.pipe(
|
21330
|
-
|
21338
|
+
z(i),
|
21331
21339
|
B((d) => d[c] ?? d[0])
|
21332
21340
|
), p = r.seriesContainerPosition$.pipe(
|
21333
|
-
|
21341
|
+
z(i),
|
21334
21342
|
B((d) => d[c] ?? d[0])
|
21335
21343
|
);
|
21336
21344
|
a[c] = GI(_c, {
|
@@ -21371,7 +21379,7 @@ function OI(t, e) {
|
|
21371
21379
|
const n = new ot();
|
21372
21380
|
let r;
|
21373
21381
|
const i = e.fullChartParams$.pipe(
|
21374
|
-
|
21382
|
+
z(n),
|
21375
21383
|
B((o) => o.highlightTarget),
|
21376
21384
|
rt()
|
21377
21385
|
);
|
@@ -21381,7 +21389,7 @@ function OI(t, e) {
|
|
21381
21389
|
fullChartParams: e.fullChartParams$,
|
21382
21390
|
highlightTarget: i
|
21383
21391
|
}).pipe(
|
21384
|
-
|
21392
|
+
z(n),
|
21385
21393
|
U(async (o) => o)
|
21386
21394
|
).subscribe((o) => {
|
21387
21395
|
e.containerSelection.transition("move").duration(o.fullChartParams.transitionDuration).tween("move", (a, s) => (u) => {
|
@@ -21441,7 +21449,7 @@ function OI(t, e) {
|
|
21441
21449
|
n.next(void 0);
|
21442
21450
|
};
|
21443
21451
|
}
|
21444
|
-
const AR =
|
21452
|
+
const AR = yo(Aa, MI)(({ selection: t, name: e, observer: n, subject: r }) => {
|
21445
21453
|
const i = new ot(), { seriesCenterSelection$: o } = Hh({
|
21446
21454
|
selection: t,
|
21447
21455
|
pluginName: Aa,
|
@@ -21449,13 +21457,15 @@ const AR = bo(Aa, MI)(({ selection: t, name: e, observer: n, subject: r }) => {
|
|
21449
21457
|
seriesLabels$: n.seriesLabels$,
|
21450
21458
|
seriesContainerPosition$: n.seriesContainerPosition$
|
21451
21459
|
}), a = [];
|
21452
|
-
return o.
|
21460
|
+
return o.pipe(
|
21461
|
+
z(i)
|
21462
|
+
).subscribe((s) => {
|
21453
21463
|
a.forEach((u) => u()), s.each((u, c, l) => {
|
21454
21464
|
const h = Z(l[c]), f = n.computedLayoutData$.pipe(
|
21455
|
-
|
21465
|
+
z(i),
|
21456
21466
|
B((d) => d[c] ?? d[0])
|
21457
21467
|
), p = n.seriesContainerPosition$.pipe(
|
21458
|
-
|
21468
|
+
z(i),
|
21459
21469
|
B((d) => d[c] ?? d[0])
|
21460
21470
|
);
|
21461
21471
|
a[c] = OI(Aa, {
|
@@ -21513,7 +21523,7 @@ function WI(t, e) {
|
|
21513
21523
|
fullParams: e.fullParams$,
|
21514
21524
|
fullChartParams: e.fullChartParams$
|
21515
21525
|
}).pipe(
|
21516
|
-
|
21526
|
+
z(n),
|
21517
21527
|
U(async (o) => o)
|
21518
21528
|
).subscribe((o) => {
|
21519
21529
|
const a = o.layout.width < o.layout.height ? o.layout.width : o.layout.height, s = Ts({
|
@@ -21544,7 +21554,7 @@ function WI(t, e) {
|
|
21544
21554
|
),
|
21545
21555
|
fullChartParams: e.fullChartParams$
|
21546
21556
|
}).pipe(
|
21547
|
-
|
21557
|
+
z(n),
|
21548
21558
|
U(async (o) => o)
|
21549
21559
|
).subscribe((o) => {
|
21550
21560
|
HI({
|
@@ -21556,7 +21566,7 @@ function WI(t, e) {
|
|
21556
21566
|
n.next(void 0);
|
21557
21567
|
};
|
21558
21568
|
}
|
21559
|
-
const MR =
|
21569
|
+
const MR = yo(Ma, DI)(({ selection: t, observer: e, subject: n }) => {
|
21560
21570
|
const r = new ot(), { seriesCenterSelection$: i } = Hh({
|
21561
21571
|
selection: t,
|
21562
21572
|
pluginName: Ma,
|
@@ -21564,13 +21574,15 @@ const MR = bo(Ma, DI)(({ selection: t, observer: e, subject: n }) => {
|
|
21564
21574
|
seriesLabels$: e.seriesLabels$,
|
21565
21575
|
seriesContainerPosition$: e.seriesContainerPosition$
|
21566
21576
|
}), o = [];
|
21567
|
-
return i.
|
21577
|
+
return i.pipe(
|
21578
|
+
z(r)
|
21579
|
+
).subscribe((a) => {
|
21568
21580
|
o.forEach((s) => s()), a.each((s, u, c) => {
|
21569
21581
|
const l = Z(c[u]), h = e.computedLayoutData$.pipe(
|
21570
|
-
|
21582
|
+
z(r),
|
21571
21583
|
B((p) => p[u] ?? p[0])
|
21572
21584
|
), f = e.seriesContainerPosition$.pipe(
|
21573
|
-
|
21585
|
+
z(r),
|
21574
21586
|
B((p) => p[u] ?? p[0])
|
21575
21587
|
);
|
21576
21588
|
o[u] = WI(Ma, {
|
@@ -21588,12 +21600,12 @@ const MR = bo(Ma, DI)(({ selection: t, observer: e, subject: n }) => {
|
|
21588
21600
|
}), () => {
|
21589
21601
|
r.next(void 0);
|
21590
21602
|
};
|
21591
|
-
}), b0 = "SeriesLegend", DR =
|
21603
|
+
}), b0 = "SeriesLegend", DR = yo(b0, PI)(({ selection: t, rootSelection: e, observer: n, subject: r }) => {
|
21592
21604
|
const i = new ot(), o = n.SeriesDataMap$.pipe(
|
21593
|
-
|
21605
|
+
z(i),
|
21594
21606
|
B((u) => Array.from(u.keys()))
|
21595
21607
|
), a = n.fullParams$.pipe(
|
21596
|
-
|
21608
|
+
z(i),
|
21597
21609
|
B((u) => {
|
21598
21610
|
const c = [
|
21599
21611
|
{
|
@@ -21638,10 +21650,10 @@ const MR = bo(Ma, DI)(({ selection: t, observer: e, subject: n }) => {
|
|
21638
21650
|
textColorType: "primary"
|
21639
21651
|
}, v0 = "TreeLegend", PR = Qm(v0, jI)(({ selection: t, rootSelection: e, observer: n, subject: r }) => {
|
21640
21652
|
const i = new ot(), o = n.CategoryDataMap$.pipe(
|
21641
|
-
|
21653
|
+
z(i),
|
21642
21654
|
B((u) => Array.from(u.keys()))
|
21643
21655
|
), a = n.fullParams$.pipe(
|
21644
|
-
|
21656
|
+
z(i),
|
21645
21657
|
B((u) => {
|
21646
21658
|
const c = [
|
21647
21659
|
{
|
@@ -21700,7 +21712,7 @@ const TR = Qm(Cn, qI)(({ selection: t, name: e, subject: n, observer: r }) => {
|
|
21700
21712
|
fullDataFormatter: r.fullDataFormatter$,
|
21701
21713
|
fullChartParams: r.fullChartParams$
|
21702
21714
|
}).pipe(
|
21703
|
-
|
21715
|
+
z(i),
|
21704
21716
|
U(async (u) => u),
|
21705
21717
|
B((u) => {
|
21706
21718
|
const c = zb().size([u.layout.width, u.layout.height]).paddingInner(u.fullParams.paddingInner).paddingOuter(u.fullParams.paddingOuter).round(!0).tile(ph.ratio(u.fullParams.squarifyRatio)), l = iu(u.visibleComputedData).sum((f) => f.value).sort(u.fullParams.sort);
|
@@ -21713,7 +21725,7 @@ const TR = Qm(Cn, qI)(({ selection: t, name: e, subject: n, observer: r }) => {
|
|
21713
21725
|
fullChartParams: r.fullChartParams$,
|
21714
21726
|
textSizePx: r.textSizePx$
|
21715
21727
|
}).pipe(
|
21716
|
-
|
21728
|
+
z(i),
|
21717
21729
|
U(async (u) => u),
|
21718
21730
|
B((u) => XI({
|
21719
21731
|
selection: t,
|
@@ -21723,7 +21735,7 @@ const TR = Qm(Cn, qI)(({ selection: t, name: e, subject: n, observer: r }) => {
|
|
21723
21735
|
textSizePx: u.textSizePx
|
21724
21736
|
}))
|
21725
21737
|
), s = r.fullChartParams$.pipe(
|
21726
|
-
|
21738
|
+
z(i),
|
21727
21739
|
B((u) => u.highlightTarget),
|
21728
21740
|
rt()
|
21729
21741
|
);
|
@@ -21736,7 +21748,7 @@ const TR = Qm(Cn, qI)(({ selection: t, name: e, subject: n, observer: r }) => {
|
|
21736
21748
|
highlightTarget: s,
|
21737
21749
|
CategoryDataMap: r.CategoryDataMap$
|
21738
21750
|
}).pipe(
|
21739
|
-
|
21751
|
+
z(i),
|
21740
21752
|
U(async (u) => u)
|
21741
21753
|
).subscribe((u) => {
|
21742
21754
|
u.cellSelection.on("mouseover", (c, l) => {
|
@@ -21799,7 +21811,7 @@ const TR = Qm(Cn, qI)(({ selection: t, name: e, subject: n, observer: r }) => {
|
|
21799
21811
|
),
|
21800
21812
|
fullChartParams: r.fullChartParams$
|
21801
21813
|
}).pipe(
|
21802
|
-
|
21814
|
+
z(i),
|
21803
21815
|
U(async (u) => u)
|
21804
21816
|
).subscribe((u) => {
|
21805
21817
|
VI({
|