@graphysdk/react 1.9.0-beta.1792505847409 → 1.9.0-beta.1792506850788
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/editable.browser.mjs +204 -199
- package/dist/index.browser.mjs +1022 -1017
- package/dist/index.cjs +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +4 -4
|
@@ -2350,7 +2350,7 @@ function Rie(e, t) {
|
|
|
2350
2350
|
const n = +yn(e), [r, o] = [+yn(t.start), +yn(t.end)].sort((i, s) => i - s);
|
|
2351
2351
|
return n >= r && n <= o;
|
|
2352
2352
|
}
|
|
2353
|
-
var Hr = (e) => e instanceof Date && no(e), Iie = (e) => Hr(e) || e === null, Zb = (e) => typeof e == "string",
|
|
2353
|
+
var Hr = (e) => e instanceof Date && no(e), Iie = (e) => Hr(e) || e === null, Zb = (e) => typeof e == "string", Rt = (e) => typeof e == "number" && !Number.isNaN(e) && Number.isFinite(e), Oie = (e) => Rt(e) || e === null, Gi = Math.PI * 2, Lie = 1e-9, _ie = [
|
|
2354
2354
|
0,
|
|
2355
2355
|
Math.PI / 2,
|
|
2356
2356
|
Math.PI,
|
|
@@ -2409,7 +2409,7 @@ var Hr = (e) => e instanceof Date && no(e), Iie = (e) => Hr(e) || e === null, Zb
|
|
|
2409
2409
|
summaryEstimate: Lt("summaryEstimate"),
|
|
2410
2410
|
summaryLower: Lt("summaryLower"),
|
|
2411
2411
|
summaryUpper: Lt("summaryUpper")
|
|
2412
|
-
},
|
|
2412
|
+
}, Mt = { group: Lt("group") }, ie = {
|
|
2413
2413
|
x: Lt("x"),
|
|
2414
2414
|
y: Lt("y"),
|
|
2415
2415
|
xBand: Lt("xBand"),
|
|
@@ -2431,16 +2431,16 @@ var Hr = (e) => e instanceof Date && no(e), Iie = (e) => Hr(e) || e === null, Zb
|
|
|
2431
2431
|
}, bpt = {
|
|
2432
2432
|
...Js,
|
|
2433
2433
|
...br,
|
|
2434
|
-
...
|
|
2434
|
+
...Mt,
|
|
2435
2435
|
...ie,
|
|
2436
2436
|
...e1,
|
|
2437
2437
|
...Qs,
|
|
2438
2438
|
...lf
|
|
2439
2439
|
}, Die = new Set(Object.values(br)), YB = (e) => Lt(`scaled_${e}`), Gd = (e) => e.startsWith(KB), Nie = (e) => Die.has(e);
|
|
2440
|
-
function
|
|
2440
|
+
function Ct(e) {
|
|
2441
2441
|
return e[ie.x] ?? null;
|
|
2442
2442
|
}
|
|
2443
|
-
function
|
|
2443
|
+
function kt(e) {
|
|
2444
2444
|
return e[ie.y] ?? null;
|
|
2445
2445
|
}
|
|
2446
2446
|
function qB(e) {
|
|
@@ -2473,8 +2473,8 @@ var Fie = {
|
|
|
2473
2473
|
yMin: 0,
|
|
2474
2474
|
yMax: 1
|
|
2475
2475
|
}, Mm = (e, t) => {
|
|
2476
|
-
const n = xo(e) ??
|
|
2477
|
-
return !
|
|
2476
|
+
const n = xo(e) ?? Ct(e), r = $r(e) ?? Ct(e), o = so(e) ?? kt(e), i = Hn(e) ?? kt(e);
|
|
2477
|
+
return !Rt(n) || !Rt(r) || !Rt(o) || !Rt(i) ? null : t.type !== "polar" ? {
|
|
2478
2478
|
xMin: n,
|
|
2479
2479
|
xMax: r,
|
|
2480
2480
|
yMin: o,
|
|
@@ -2634,7 +2634,7 @@ var Lc = (e, t) => {
|
|
|
2634
2634
|
}, Ud = (e, t) => Lc(e, t.x), eV = (e, t) => Lc(e, t.y), eM = (e, t) => Lc(e, t.color), tV = (e, t) => {
|
|
2635
2635
|
switch (t) {
|
|
2636
2636
|
case "numeric":
|
|
2637
|
-
return
|
|
2637
|
+
return Rt(e) ? e : null;
|
|
2638
2638
|
case "categorical":
|
|
2639
2639
|
return Zb(e) ? e : null;
|
|
2640
2640
|
case "temporal":
|
|
@@ -2654,7 +2654,7 @@ function zie(e) {
|
|
|
2654
2654
|
}
|
|
2655
2655
|
var _c = (e) => {
|
|
2656
2656
|
const t = pe(e.mapping.x);
|
|
2657
|
-
return t !== null && t !== Js.x ? t : rV(e) ??
|
|
2657
|
+
return t !== null && t !== Js.x ? t : rV(e) ?? Mt.group;
|
|
2658
2658
|
}, tM = (e) => Wie(e) ? pe(e.mapping.y) : null, nV = (e) => tM(e) === null ? null : Rm(e), nM = (e) => e.spatialKind !== "cells" && _c(e) !== rV(e), rV = (e) => typeof e.identityKey == "object" ? e.identityKey.variable : null, Wie = (e) => e.spatialKind === "points" || e.spatialKind === "cells", Wy = (e, t) => e.yScaleType === t.yScaleType && _T(e.valueFormat) === _T(t.valueFormat), eO = (e) => `${e.yScaleType} y axis, ${_T(e.valueFormat)}`, _T = (e) => e.type === "currency" ? `${e.type}:${e.iso}` : e.type, oV = typeof global == "object" && global && global.Object === Object && global, Gie = typeof self == "object" && self && self.Object === Object && self, fs = oV || Gie || Function("return this")(), Jo = fs.Symbol, iV = Object.prototype, Uie = iV.hasOwnProperty, jie = iV.toString, Hh = Jo ? Jo.toStringTag : void 0;
|
|
2659
2659
|
function Kie(e) {
|
|
2660
2660
|
var t = Uie.call(e, Hh), n = e[Hh];
|
|
@@ -4245,7 +4245,7 @@ var Jue = Xue(), c1 = "en-GB", xM = class extends Error {
|
|
|
4245
4245
|
return (o) => ({
|
|
4246
4246
|
...o,
|
|
4247
4247
|
anchorValue: ec(o.anchorValue, n, t),
|
|
4248
|
-
...o.groupValue !== void 0 && { groupValue: ec(o.groupValue, _f(e.data.getValueFormat(
|
|
4248
|
+
...o.groupValue !== void 0 && { groupValue: ec(o.groupValue, _f(e.data.getValueFormat(Mt.group)), t) },
|
|
4249
4249
|
...o.crossValue !== void 0 && r !== null && { crossValue: ec(o.crossValue, _f(e.data.getValueFormat(r)), t) }
|
|
4250
4250
|
});
|
|
4251
4251
|
};
|
|
@@ -4896,8 +4896,8 @@ function GO(e, t) {
|
|
|
4896
4896
|
function fa(e) {
|
|
4897
4897
|
return e.type === "cartesian" ? e.mainAxis : "x";
|
|
4898
4898
|
}
|
|
4899
|
-
var fr = (e) => e[
|
|
4900
|
-
const t = _c(e), n = nV(e), r = nM(e) && t !==
|
|
4899
|
+
var fr = (e) => e[Mt.group], Bm = (e) => {
|
|
4900
|
+
const t = _c(e), n = nV(e), r = nM(e) && t !== Mt.group;
|
|
4901
4901
|
return (o) => {
|
|
4902
4902
|
const i = o[t] ?? null;
|
|
4903
4903
|
if (i === null) return null;
|
|
@@ -4951,8 +4951,8 @@ var PM = (e, t) => {
|
|
|
4951
4951
|
const n = pe(t.x);
|
|
4952
4952
|
return !n || !["numeric", "temporal"].includes(e.getType(n)) ? e : e.orderBy(n, "asc");
|
|
4953
4953
|
}, RM = (e, { coordSystem: t }) => {
|
|
4954
|
-
const n =
|
|
4955
|
-
return !
|
|
4954
|
+
const n = Ct(e), r = kt(e);
|
|
4955
|
+
return !Rt(n) || !Rt(r) ? null : t.type === "polar" ? Vl(n, r) : {
|
|
4956
4956
|
x: n,
|
|
4957
4957
|
y: r
|
|
4958
4958
|
};
|
|
@@ -5045,7 +5045,7 @@ var Eo = (e, t) => {
|
|
|
5045
5045
|
fe(i) && (n.has(i) || e.hasVariable(i) && e.getType(i) === "categorical" && r.add(i));
|
|
5046
5046
|
}
|
|
5047
5047
|
return [...r];
|
|
5048
|
-
}, qd = (e, t) => e.hasVariable(
|
|
5048
|
+
}, qd = (e, t) => e.hasVariable(Mt.group) ? e.getValues(Mt.group, {
|
|
5049
5049
|
distinct: !0,
|
|
5050
5050
|
skipNulls: !0
|
|
5051
5051
|
}).length > 1 : Eo(e, t).some((n) => e.getValues(n, {
|
|
@@ -5256,7 +5256,7 @@ function hu(e, t) {
|
|
|
5256
5256
|
const n = e.getTime(), r = t.getTime();
|
|
5257
5257
|
return n < r ? "less" : n > r ? "greater" : "equal";
|
|
5258
5258
|
}
|
|
5259
|
-
return
|
|
5259
|
+
return Rt(e) && Rt(t) ? e < t ? "less" : e > t ? "greater" : "equal" : "incomparable";
|
|
5260
5260
|
}
|
|
5261
5261
|
var hhe = (e, t) => {
|
|
5262
5262
|
const n = M8(e, t.predicate);
|
|
@@ -5425,14 +5425,14 @@ var hhe = (e, t) => {
|
|
|
5425
5425
|
}, t.align ?? "center");
|
|
5426
5426
|
}, R8 = (e, t, n) => {
|
|
5427
5427
|
const r = n.read(t);
|
|
5428
|
-
return
|
|
5428
|
+
return Rt(r) ? {
|
|
5429
5429
|
geom: e.geom,
|
|
5430
5430
|
measurementValue: r,
|
|
5431
5431
|
valueFormat: Kde(n.valueFormat, t),
|
|
5432
5432
|
yScaleType: e.yScaleType
|
|
5433
5433
|
} : null;
|
|
5434
5434
|
}, vhe = ({ layers: e, coordSystem: t, container: n }, r, o) => {
|
|
5435
|
-
if (
|
|
5435
|
+
if (Rt(o)) return r.map(o);
|
|
5436
5436
|
const i = e.filter((s) => ja(n.geomRegistry.get(s.geom)));
|
|
5437
5437
|
return i.length === 0 ? r.map(o) : Qde(i, fa(t) === "y", o) ?? NaN;
|
|
5438
5438
|
}, yhe = (e, t, n) => {
|
|
@@ -6694,10 +6694,10 @@ var mfe = class extends Jd {
|
|
|
6694
6694
|
}, kfe = class {
|
|
6695
6695
|
compute({ data: e, mapping: t }) {
|
|
6696
6696
|
const n = Eo(e, t);
|
|
6697
|
-
if (n.length === 0) return { data: e.addConstantVariable(
|
|
6697
|
+
if (n.length === 0) return { data: e.addConstantVariable(Mt.group, "categorical", null) };
|
|
6698
6698
|
const r = e.size(), o = n.map((s) => e.getValues(s)), i = new Array(r);
|
|
6699
6699
|
for (let s = 0; s < r; s++) i[s] = At(o.map((a) => a[s]));
|
|
6700
|
-
return { data: e.addVariable(
|
|
6700
|
+
return { data: e.addVariable(Mt.group, "categorical", i) };
|
|
6701
6701
|
}
|
|
6702
6702
|
}, Mfe = (e) => {
|
|
6703
6703
|
if (e === void 0) return {};
|
|
@@ -8009,12 +8009,12 @@ function ame(e, t) {
|
|
|
8009
8009
|
function lme(e) {
|
|
8010
8010
|
if (!e) return /* @__PURE__ */ new Map();
|
|
8011
8011
|
const t = /* @__PURE__ */ new Map();
|
|
8012
|
-
return e.data.groupBy(
|
|
8013
|
-
const r = n.findLast((l) => fe(Hn(l)) || fe(
|
|
8012
|
+
return e.data.groupBy(Mt.group).forEach((n) => {
|
|
8013
|
+
const r = n.findLast((l) => fe(Hn(l)) || fe(kt(l)));
|
|
8014
8014
|
if (!r) return;
|
|
8015
8015
|
const o = fr(r);
|
|
8016
8016
|
if (!fe(o)) return;
|
|
8017
|
-
const i = so(r), s = Hn(r) ??
|
|
8017
|
+
const i = so(r), s = Hn(r) ?? kt(r);
|
|
8018
8018
|
if (!fe(s)) return;
|
|
8019
8019
|
const a = fe(i) ? (i + s) / 2 : s;
|
|
8020
8020
|
t.set(String(o), a);
|
|
@@ -8179,7 +8179,7 @@ var mme = Lt("__ungrouped__");
|
|
|
8179
8179
|
function gme(e) {
|
|
8180
8180
|
const t = e.getVariableNames().filter((o) => e.getType(o) === "temporal" && NV(e.getValueFormat(o)));
|
|
8181
8181
|
if (t.length === 0) return e;
|
|
8182
|
-
const n = e.getValues(
|
|
8182
|
+
const n = e.getValues(Mt.group, { type: "categorical" });
|
|
8183
8183
|
let r = e;
|
|
8184
8184
|
for (const o of t) {
|
|
8185
8185
|
const i = r.getValues(o, { type: "temporal" }), s = /* @__PURE__ */ new Map(), a = i.map((l, c) => {
|
|
@@ -10127,7 +10127,7 @@ var Xme = (e) => e.observation?.aesthetics ?? Nt.geom.aesthetics, m7 = (e) => e.
|
|
|
10127
10127
|
};
|
|
10128
10128
|
const { offset: n } = e.layer.dataLabels, r = rge(e.layer);
|
|
10129
10129
|
for (const o of e.layer.data) {
|
|
10130
|
-
const i =
|
|
10130
|
+
const i = Ct(o), s = Hn(o) ?? kt(o);
|
|
10131
10131
|
if (i === null || s === null || !gd(i, s)) continue;
|
|
10132
10132
|
const a = e.formatLabel(o);
|
|
10133
10133
|
if (a === "") continue;
|
|
@@ -10243,7 +10243,10 @@ var Xme = (e) => e.observation?.aesthetics ?? Nt.geom.aesthetics, m7 = (e) => e.
|
|
|
10243
10243
|
kind: "visual",
|
|
10244
10244
|
name: "alpha"
|
|
10245
10245
|
}
|
|
10246
|
-
], this.summaries = {
|
|
10246
|
+
], this.summaries = {
|
|
10247
|
+
stackTotals: !0,
|
|
10248
|
+
perGroupHeadline: !0
|
|
10249
|
+
}, this.dataLabels = {
|
|
10247
10250
|
cartesian: { offset: 8 },
|
|
10248
10251
|
flip: { offset: 8 }
|
|
10249
10252
|
}, this.dataLabelCoordTypes = ["cartesian", "flip"], this.resolvePercentageValueStrategy = tge, this.isComposite = !0, this.legend = {
|
|
@@ -10320,7 +10323,7 @@ var Xme = (e) => e.observation?.aesthetics ?? Nt.geom.aesthetics, m7 = (e) => e.
|
|
|
10320
10323
|
xMax: $r(t),
|
|
10321
10324
|
yMin: so(t),
|
|
10322
10325
|
yMax: Hn(t),
|
|
10323
|
-
y:
|
|
10326
|
+
y: kt(t)
|
|
10324
10327
|
}), KM = (e, { xMin: t, xMax: n, yMin: r, yMax: o, y: i }) => {
|
|
10325
10328
|
const s = o ?? i;
|
|
10326
10329
|
if (t === null || n === null || r === null || s === null) return null;
|
|
@@ -10466,7 +10469,7 @@ var Xme = (e) => e.observation?.aesthetics ?? Nt.geom.aesthetics, m7 = (e) => e.
|
|
|
10466
10469
|
if (h === "") continue;
|
|
10467
10470
|
const f = UM(r, "observation", h), p = qM(d, t);
|
|
10468
10471
|
l && f.inside.width > p.width && (a = !0);
|
|
10469
|
-
const g = c === null ? null : u[c], v =
|
|
10472
|
+
const g = c === null ? null : u[c], v = Rt(g) && g < 0;
|
|
10470
10473
|
s.push({
|
|
10471
10474
|
isNegative: v,
|
|
10472
10475
|
text: h,
|
|
@@ -10543,7 +10546,7 @@ var Xme = (e) => e.observation?.aesthetics ?? Nt.geom.aesthetics, m7 = (e) => e.
|
|
|
10543
10546
|
if (f === null) continue;
|
|
10544
10547
|
const p = e.formatCategory(h);
|
|
10545
10548
|
if (p === null || p === "") continue;
|
|
10546
|
-
const g = UM(e.measureDataLabel, "category", p), v = g[l], y = qM(f, e.panelRect), b = d === null ? null : h[d], w =
|
|
10549
|
+
const g = UM(e.measureDataLabel, "category", p), v = g[l], y = qM(f, e.panelRect), b = d === null ? null : h[d], w = Rt(b) && b < 0, S = zm({
|
|
10547
10550
|
box: y,
|
|
10548
10551
|
panel: u,
|
|
10549
10552
|
orientation: x7(c, w),
|
|
@@ -10921,7 +10924,7 @@ var kge = " · ", Fs = 2, Mge = (e) => {
|
|
|
10921
10924
|
if (n.mainAxis === "x") {
|
|
10922
10925
|
const d = xo(t), h = $r(t), f = AL({
|
|
10923
10926
|
lowerBound: so(t),
|
|
10924
|
-
upperBound: Hn(t) ??
|
|
10927
|
+
upperBound: Hn(t) ?? kt(t),
|
|
10925
10928
|
options: a
|
|
10926
10929
|
});
|
|
10927
10930
|
return d === null || h === null || f === null ? null : {
|
|
@@ -10931,7 +10934,7 @@ var kge = " · ", Fs = 2, Mge = (e) => {
|
|
|
10931
10934
|
}
|
|
10932
10935
|
const l = so(t), c = Hn(t), u = AL({
|
|
10933
10936
|
lowerBound: xo(t),
|
|
10934
|
-
upperBound: $r(t) ??
|
|
10937
|
+
upperBound: $r(t) ?? Ct(t),
|
|
10935
10938
|
options: a
|
|
10936
10939
|
});
|
|
10937
10940
|
return l === null || c === null || u === null ? null : {
|
|
@@ -10978,7 +10981,7 @@ var kge = " · ", Fs = 2, Mge = (e) => {
|
|
|
10978
10981
|
return t === null || n === null || r === null || o === null ? null : Vl((t + n) / 2, (r + o) / 2);
|
|
10979
10982
|
}, Dge = (e) => {
|
|
10980
10983
|
const t = JB(e);
|
|
10981
|
-
return
|
|
10984
|
+
return Rt(t) && t < 0;
|
|
10982
10985
|
}, AL = (e) => {
|
|
10983
10986
|
const { lowerBound: t, upperBound: n, options: r } = e, o = r.isNegative ? t : n;
|
|
10984
10987
|
if (o === null) return null;
|
|
@@ -10993,7 +10996,7 @@ var kge = " · ", Fs = 2, Mge = (e) => {
|
|
|
10993
10996
|
};
|
|
10994
10997
|
const { offset: n } = e.layer.dataLabels, r = Fge(e.layer);
|
|
10995
10998
|
for (const o of e.layer.data) {
|
|
10996
|
-
const i =
|
|
10999
|
+
const i = Ct(o), s = kt(o);
|
|
10997
11000
|
if (i === null || s === null || !gd(i, s)) continue;
|
|
10998
11001
|
const a = e.formatLabel(o);
|
|
10999
11002
|
if (a === "") continue;
|
|
@@ -11121,7 +11124,7 @@ var kge = " · ", Fs = 2, Mge = (e) => {
|
|
|
11121
11124
|
};
|
|
11122
11125
|
const { offset: n } = e.layer.dataLabels, r = Hge(e.layer), o = r.justify === "panel-start" || r.justify === "panel-end", i = e.styleReaders;
|
|
11123
11126
|
for (const s of e.layer.data) {
|
|
11124
|
-
const a =
|
|
11127
|
+
const a = Ct(s), l = kt(s);
|
|
11125
11128
|
if (a === null || l === null || !gd(a, l)) continue;
|
|
11126
11129
|
const c = e.formatLabel(s);
|
|
11127
11130
|
if (c === "") continue;
|
|
@@ -11277,7 +11280,7 @@ var kge = " · ", Fs = 2, Mge = (e) => {
|
|
|
11277
11280
|
valueKind: "value",
|
|
11278
11281
|
aes: "x"
|
|
11279
11282
|
}], this.highlightStrategy = null, this.spatialKind = "noop", this.validateMapping = ({ mapping: t, computedVariables: n }) => {
|
|
11280
|
-
const r = n.has("x") ||
|
|
11283
|
+
const r = n.has("x") || Rt(Sr(t.x)), o = n.has("y") || Rt(Sr(t.y));
|
|
11281
11284
|
return r && o ? [{
|
|
11282
11285
|
code: "INVALID_RULE_MAPPING",
|
|
11283
11286
|
message: "rule geom requires exactly one of 'x' or 'y', both were provided"
|
|
@@ -11321,14 +11324,14 @@ var kge = " · ", Fs = 2, Mge = (e) => {
|
|
|
11321
11324
|
}
|
|
11322
11325
|
}, CL = (e, t) => {
|
|
11323
11326
|
const n = Sr(e);
|
|
11324
|
-
if (
|
|
11327
|
+
if (Rt(n)) return {
|
|
11325
11328
|
value: n,
|
|
11326
11329
|
sourceFormat: void 0
|
|
11327
11330
|
};
|
|
11328
11331
|
const r = pe(e);
|
|
11329
11332
|
if (r === null || !Nie(r) || !t.hasVariable(r)) return null;
|
|
11330
11333
|
const [o] = t.getValues(r);
|
|
11331
|
-
return
|
|
11334
|
+
return Rt(o) ? {
|
|
11332
11335
|
value: o,
|
|
11333
11336
|
sourceFormat: t.getValueFormat(r)
|
|
11334
11337
|
} : null;
|
|
@@ -12024,7 +12027,7 @@ var Gge = (e) => {
|
|
|
12024
12027
|
}, rve = ({ xValue: e, xType: t, categoryRank: n, temporalOrigin: r }) => {
|
|
12025
12028
|
switch (t) {
|
|
12026
12029
|
case "numeric":
|
|
12027
|
-
return !
|
|
12030
|
+
return !Rt(e) || !Number.isFinite(e) ? null : e;
|
|
12028
12031
|
case "temporal": {
|
|
12029
12032
|
if (!Hr(e)) return null;
|
|
12030
12033
|
const o = e.getTime();
|
|
@@ -12327,7 +12330,7 @@ function Ug(e, t, n) {
|
|
|
12327
12330
|
});
|
|
12328
12331
|
}
|
|
12329
12332
|
function Sve(e, t) {
|
|
12330
|
-
return e.getValues(t).filter((n) =>
|
|
12333
|
+
return e.getValues(t).filter((n) => Rt(n) && Number.isFinite(n));
|
|
12331
12334
|
}
|
|
12332
12335
|
function Tve(e, t) {
|
|
12333
12336
|
return e.length === 0 ? null : t === "mean" ? R7(e) : rA([...e].sort((n, r) => n - r), 0.5);
|
|
@@ -14181,7 +14184,7 @@ var k1 = class {
|
|
|
14181
14184
|
data: e,
|
|
14182
14185
|
mapping: {}
|
|
14183
14186
|
};
|
|
14184
|
-
const n = e.getValues(
|
|
14187
|
+
const n = e.getValues(Mt.group, {
|
|
14185
14188
|
type: "categorical",
|
|
14186
14189
|
distinct: !0,
|
|
14187
14190
|
skipNulls: !0
|
|
@@ -14190,7 +14193,7 @@ var k1 = class {
|
|
|
14190
14193
|
data: e,
|
|
14191
14194
|
mapping: {}
|
|
14192
14195
|
};
|
|
14193
|
-
const r = e.size(), o = e.getValues(
|
|
14196
|
+
const r = e.size(), o = e.getValues(Mt.group, { type: "categorical" }), i = tbe(e) ?? [-0.7 / 2, 0.7 / 2], s = n.length > 1 ? sge : 0, a = eE().domain(n.map(String)).range(i).paddingInner(s).paddingOuter(0), l = a.bandwidth(), c = new Array(r).fill(null), u = new Array(r).fill(null);
|
|
14194
14197
|
for (let d = 0; d < r; d++) {
|
|
14195
14198
|
const h = o[d];
|
|
14196
14199
|
if (!fe(h)) continue;
|
|
@@ -14208,11 +14211,11 @@ var k1 = class {
|
|
|
14208
14211
|
}, s_ = Lt("__ungrouped__"), u9 = (e, t) => {
|
|
14209
14212
|
const n = pe(t.x), r = pe(t.y);
|
|
14210
14213
|
if (!n || !r) return null;
|
|
14211
|
-
const o = e.getValues(
|
|
14214
|
+
const o = e.getValues(Mt.group, {
|
|
14212
14215
|
type: "categorical",
|
|
14213
14216
|
distinct: !0,
|
|
14214
14217
|
skipNulls: !0
|
|
14215
|
-
}), i = o.length === 0, s = i ? [s_] : o, a = e.getValues(n), l = e.getValues(r, { type: "numeric" }), c = e.getValues(
|
|
14218
|
+
}), i = o.length === 0, s = i ? [s_] : o, a = e.getValues(n), l = e.getValues(r, { type: "numeric" }), c = e.getValues(Mt.group, { type: "categorical" }), u = e.size(), d = /* @__PURE__ */ new Map();
|
|
14216
14219
|
for (let h = 0; h < u; h++) {
|
|
14217
14220
|
const f = At(a[h] ?? null), p = c[h], g = i ? s_ : p;
|
|
14218
14221
|
if (!fe(g)) continue;
|
|
@@ -15773,7 +15776,7 @@ var x9 = (e, t, n, r) => r.label !== void 0 ? r.label : S8({
|
|
|
15773
15776
|
return n.size === 0 ? t : Vc(t, (r) => {
|
|
15774
15777
|
if (!n.has(r.yScaleType) || !e.has(r.geom) || !e.get(r.geom).positionRoles.some((s) => s.axis === "y" && s.role === "scalar")) return r;
|
|
15775
15778
|
const o = Sr(r.mapping.y);
|
|
15776
|
-
if (!
|
|
15779
|
+
if (!Rt(o)) return r;
|
|
15777
15780
|
const i = bi(o, 0, 1);
|
|
15778
15781
|
return i === o ? r : {
|
|
15779
15782
|
...r,
|
|
@@ -16824,7 +16827,7 @@ var $1e = class extends zc {
|
|
|
16824
16827
|
let n = 0, r = 0;
|
|
16825
16828
|
for (const o of e.data) {
|
|
16826
16829
|
const i = o[t];
|
|
16827
|
-
|
|
16830
|
+
Rt(i) && (n += i, r += Math.abs(i));
|
|
16828
16831
|
}
|
|
16829
16832
|
return {
|
|
16830
16833
|
grandTotal: n,
|
|
@@ -16833,45 +16836,47 @@ var $1e = class extends zc {
|
|
|
16833
16836
|
}, vxe = ({ layer: e, mainAxis: t }) => {
|
|
16834
16837
|
if (e.position !== "stack") return;
|
|
16835
16838
|
const n = pe(e.mapping.x);
|
|
16836
|
-
if (n === null
|
|
16837
|
-
const r
|
|
16838
|
-
|
|
16839
|
-
|
|
16840
|
-
|
|
16841
|
-
const
|
|
16842
|
-
if (
|
|
16843
|
-
const
|
|
16844
|
-
|
|
16845
|
-
|
|
16846
|
-
|
|
16847
|
-
|
|
16848
|
-
|
|
16849
|
-
|
|
16850
|
-
|
|
16851
|
-
|
|
16852
|
-
|
|
16853
|
-
|
|
16839
|
+
if (n === null) return;
|
|
16840
|
+
const [r, o] = t === "y" ? [ie.xMin, ie.xMax] : [ie.yMin, ie.yMax];
|
|
16841
|
+
if (!e.data.hasVariable(r) || !e.data.hasVariable(o)) return;
|
|
16842
|
+
const i = (c) => t === "y" ? c.xMax : c.yMax, s = (c) => t === "y" ? c.xMin : c.yMin, a = /* @__PURE__ */ new Map();
|
|
16843
|
+
for (const c of e.data) {
|
|
16844
|
+
const u = c[n], d = t === "y" ? kt(c) : Ct(c), h = so(c) ?? (t === "y" ? d : null), f = Hn(c) ?? (t === "y" ? d : null), p = xo(c) ?? (t === "x" ? d : null), g = $r(c) ?? (t === "x" ? d : null), v = JB(c);
|
|
16845
|
+
if (!fe(u) || !fe(h) || !fe(f) || !fe(p) || !fe(g) || !fe(v)) continue;
|
|
16846
|
+
const y = v >= 0;
|
|
16847
|
+
if (Math.abs(v) === 0) continue;
|
|
16848
|
+
const b = VM(c, n), w = {
|
|
16849
|
+
xMin: p,
|
|
16850
|
+
xMax: g,
|
|
16851
|
+
yMin: h,
|
|
16852
|
+
yMax: f
|
|
16853
|
+
}, S = a.get(b);
|
|
16854
|
+
if (S === void 0) {
|
|
16855
|
+
a.set(b, {
|
|
16856
|
+
total: v,
|
|
16857
|
+
topPositive: y ? w : null,
|
|
16858
|
+
bottomNegative: y ? null : w
|
|
16854
16859
|
});
|
|
16855
16860
|
continue;
|
|
16856
16861
|
}
|
|
16857
|
-
|
|
16862
|
+
S.total += v, y ? (S.topPositive === null || i(w) > i(S.topPositive)) && (S.topPositive = w) : (S.bottomNegative === null || s(w) < s(S.bottomNegative)) && (S.bottomNegative = w);
|
|
16858
16863
|
}
|
|
16859
|
-
const
|
|
16860
|
-
for (const [
|
|
16861
|
-
const
|
|
16862
|
-
|
|
16863
|
-
xKey:
|
|
16864
|
-
total:
|
|
16864
|
+
const l = [];
|
|
16865
|
+
for (const [c, u] of a) {
|
|
16866
|
+
const d = u.topPositive ?? u.bottomNegative;
|
|
16867
|
+
d !== null && l.push({
|
|
16868
|
+
xKey: c,
|
|
16869
|
+
total: u.total,
|
|
16865
16870
|
anchor: {
|
|
16866
|
-
xMin:
|
|
16867
|
-
xMax:
|
|
16868
|
-
yMin:
|
|
16869
|
-
yMax:
|
|
16870
|
-
direction:
|
|
16871
|
+
xMin: d.xMin,
|
|
16872
|
+
xMax: d.xMax,
|
|
16873
|
+
yMin: d.yMin,
|
|
16874
|
+
yMax: d.yMax,
|
|
16875
|
+
direction: u.topPositive !== null ? "positive" : "negative"
|
|
16871
16876
|
}
|
|
16872
16877
|
});
|
|
16873
16878
|
}
|
|
16874
|
-
return
|
|
16879
|
+
return l;
|
|
16875
16880
|
}, yxe = class extends zc {
|
|
16876
16881
|
constructor(e) {
|
|
16877
16882
|
super(), this.container = e;
|
|
@@ -17591,7 +17596,7 @@ var Cr = { timeZone: "UTC" }, mr = (e) => (t) => {
|
|
|
17591
17596
|
} catch {
|
|
17592
17597
|
return "n/a";
|
|
17593
17598
|
}
|
|
17594
|
-
}, tl = (e) => (t) =>
|
|
17599
|
+
}, tl = (e) => (t) => Rt(t) ? e(t) : "–", yE = (e) => (t) => Zb(t) ? t : "–", Qxe = /* @__PURE__ */ Yr(((e, t) => {
|
|
17595
17600
|
(function() {
|
|
17596
17601
|
var n = Object.assign || function(x) {
|
|
17597
17602
|
for (var M, _ = 1; _ < arguments.length; _++) {
|
|
@@ -18882,7 +18887,7 @@ var _we = (e, t) => {
|
|
|
18882
18887
|
variable: n
|
|
18883
18888
|
} : {
|
|
18884
18889
|
read: fr,
|
|
18885
|
-
variable:
|
|
18890
|
+
variable: Mt.group
|
|
18886
18891
|
};
|
|
18887
18892
|
}, rH = ({ layer: e, coordSystem: t, axes: n, numberFormat: r, panelRect: o, measureDataLabel: i, readers: s, formattingLocale: a, percentageValueStrategy: l }) => {
|
|
18888
18893
|
const c = PE({
|
|
@@ -18953,11 +18958,11 @@ var _we = (e, t) => {
|
|
|
18953
18958
|
const n = t ? xo : so, r = t ? $r : Hn, o = Rm(e);
|
|
18954
18959
|
return (i) => {
|
|
18955
18960
|
const s = n(i), a = r(i);
|
|
18956
|
-
if (!
|
|
18961
|
+
if (!Rt(s) || !Rt(a)) return null;
|
|
18957
18962
|
const l = Math.abs(a - s);
|
|
18958
18963
|
if (l === 0) return null;
|
|
18959
18964
|
const c = o(i);
|
|
18960
|
-
return
|
|
18965
|
+
return Rt(c) ? c / l : null;
|
|
18961
18966
|
};
|
|
18962
18967
|
}, Vwe = ({ layer: e, numberFormat: t, axes: n, locale: r, absoluteFormatter: o, percentageValueStrategy: i, isFlipped: s }) => {
|
|
18963
18968
|
const a = Lc(e.data, e.dataLabels.labelSource), l = Nwe(e, i, s), c = Hwe({
|
|
@@ -18974,7 +18979,7 @@ var _we = (e, t) => {
|
|
|
18974
18979
|
return (h) => {
|
|
18975
18980
|
const f = a(h);
|
|
18976
18981
|
if (f === null) return "";
|
|
18977
|
-
if (!d || !
|
|
18982
|
+
if (!d || !Rt(f)) return c(f, h);
|
|
18978
18983
|
const p = l(h);
|
|
18979
18984
|
return p === null || p === 0 ? c(f, h) : u(f / p);
|
|
18980
18985
|
};
|
|
@@ -20837,7 +20842,7 @@ var xTe = ({ layers: e, coordSystem: t, axes: n, numberFormat: r, parsingLocale:
|
|
|
20837
20842
|
return s === void 0 ? null : i.length === 1 ? s : { and: i };
|
|
20838
20843
|
}, bH = (e) => {
|
|
20839
20844
|
const t = nM(e) ? Eo(e.data, e.mapping) : [], n = tM(e), r = n === null ? t : [...t, n], o = _c(e);
|
|
20840
|
-
return o ===
|
|
20845
|
+
return o === Mt.group ? [...new Set(r)] : [.../* @__PURE__ */ new Set([o, ...r])];
|
|
20841
20846
|
}, _E = (e) => e !== "data-point", MTe = (e, t) => {
|
|
20842
20847
|
switch (t) {
|
|
20843
20848
|
case "series": {
|
|
@@ -20883,7 +20888,7 @@ var xTe = ({ layers: e, coordSystem: t, axes: n, numberFormat: r, parsingLocale:
|
|
|
20883
20888
|
const o = ITe(RTe(e, t));
|
|
20884
20889
|
return n.set(t, o), o;
|
|
20885
20890
|
}, RTe = (e, t) => {
|
|
20886
|
-
const n = e.data.size(), r = t === "x-value" ? null : J_(e,
|
|
20891
|
+
const n = e.data.size(), r = t === "x-value" ? null : J_(e, Mt.group), o = t === "series" ? null : Vm(e.mapping), i = o === null ? null : J_(e, o), s = new Array(n);
|
|
20887
20892
|
for (let a = 0; a < n; a++) {
|
|
20888
20893
|
const l = r?.[a] ?? null, c = i?.[a] ?? null;
|
|
20889
20894
|
t === "series" ? s[a] = At([l]) : t === "x-value" ? s[a] = At([c]) : s[a] = At([l, c]);
|
|
@@ -21092,9 +21097,9 @@ var xTe = ({ layers: e, coordSystem: t, axes: n, numberFormat: r, parsingLocale:
|
|
|
21092
21097
|
}
|
|
21093
21098
|
return i;
|
|
21094
21099
|
}, JTe = (e, t) => {
|
|
21095
|
-
if (
|
|
21096
|
-
const n =
|
|
21097
|
-
return !
|
|
21100
|
+
if (Rt(xo(e)) || Rt($r(e))) return Mm(e, t);
|
|
21101
|
+
const n = Ct(e), r = Hn(e) ?? kt(e);
|
|
21102
|
+
return !Rt(n) || !Rt(r) ? null : {
|
|
21098
21103
|
...UB(n, n, r, r),
|
|
21099
21104
|
space: "disk"
|
|
21100
21105
|
};
|
|
@@ -21794,27 +21799,27 @@ var JAe = (function e(t) {
|
|
|
21794
21799
|
})(0.5), WE = (e) => e === "smooth" ? JAe : HE, GE = (e, t) => {
|
|
21795
21800
|
const n = WE(t.curve), r = $H().curve(n), o = $E().curve(n);
|
|
21796
21801
|
if (e.mainAxis === "y") {
|
|
21797
|
-
const i = (l) => gi(
|
|
21802
|
+
const i = (l) => gi(kt(l) ?? 0), s = (l) => xo(l) ?? 0, a = (l) => $r(l) ?? Ct(l) ?? 0;
|
|
21798
21803
|
r.y(i).x0(s).x1(a), o.y(i).x(a);
|
|
21799
21804
|
} else {
|
|
21800
|
-
const i = (l) =>
|
|
21805
|
+
const i = (l) => Ct(l) ?? 0, s = (l) => gi(so(l) ?? 0), a = (l) => gi(Hn(l) ?? kt(l) ?? 0);
|
|
21801
21806
|
r.x(i).y0(s).y1(a), o.x(i).y(a);
|
|
21802
21807
|
}
|
|
21803
21808
|
if (t.missingValues === "gap") {
|
|
21804
|
-
const i = (s) =>
|
|
21809
|
+
const i = (s) => Ct(s) !== null && kt(s) !== null;
|
|
21805
21810
|
r.defined(i), o.defined(i);
|
|
21806
21811
|
}
|
|
21807
21812
|
return {
|
|
21808
21813
|
lineGenerator: o,
|
|
21809
21814
|
areaGenerator: r
|
|
21810
21815
|
};
|
|
21811
|
-
}, UE = (e, t) => t !== "connect" ? e : e.filter((n) =>
|
|
21812
|
-
const t = $E().x((n) =>
|
|
21816
|
+
}, UE = (e, t) => t !== "connect" ? e : e.filter((n) => Ct(n) !== null && kt(n) !== null), jE = (e) => {
|
|
21817
|
+
const t = $E().x((n) => Ct(n) ?? 0).y((n) => gi(kt(n) ?? 0)).curve(WE(e.curve));
|
|
21813
21818
|
return e.missingValues === "gap" && t.defined(KH), t;
|
|
21814
21819
|
}, QAe = (e) => {
|
|
21815
|
-
const t = $H().x((n) =>
|
|
21820
|
+
const t = $H().x((n) => Ct(n) ?? 0).y0(() => 1).y1((n) => gi(kt(n) ?? 0)).curve(WE(e.curve));
|
|
21816
21821
|
return e.missingValues === "gap" && t.defined(KH), t;
|
|
21817
|
-
}, KE = (e, t) => t !== "connect" ? e : e.filter((n) =>
|
|
21822
|
+
}, KE = (e, t) => t !== "connect" ? e : e.filter((n) => Ct(n) !== null && kt(n) !== null), KH = (e) => Ct(e) !== null && kt(e) !== null, YE = {
|
|
21818
21823
|
circle: zH,
|
|
21819
21824
|
square: zAe,
|
|
21820
21825
|
diamond: $Ae,
|
|
@@ -22189,7 +22194,7 @@ function ACe(e, t, n, r) {
|
|
|
22189
22194
|
for (let c = i; c < s; c += 1) {
|
|
22190
22195
|
const u = e.byMain[c];
|
|
22191
22196
|
if (u === void 0) continue;
|
|
22192
|
-
const d = At(u.observation[
|
|
22197
|
+
const d = At(u.observation[Mt.group] ?? null), h = F1(u.x - r.x, u.y - r.y, a), f = l.get(d);
|
|
22193
22198
|
(f === void 0 || h < f.distance) && l.set(d, {
|
|
22194
22199
|
point: u,
|
|
22195
22200
|
distance: h
|
|
@@ -22509,7 +22514,7 @@ function a$(e, t) {
|
|
|
22509
22514
|
function $Ce(e, t, n) {
|
|
22510
22515
|
const { data: r, spatialKind: o, position: i } = e, s = Uh(r, ie.x), a = Uh(r, ie.y);
|
|
22511
22516
|
if (!s || !a) return [];
|
|
22512
|
-
const l = t === "y", c = o === "spanned-buckets", u = Tr(i), d = l ? a : s, h = Uh(r, l ? ie.yBand : ie.xBand) ?? d, f = l ? s : a, p = Uh(r, l ? ie.xMin : ie.yMin), g = Uh(r, l ? ie.xMax : ie.yMax), v = r.hasVariable(
|
|
22517
|
+
const l = t === "y", c = o === "spanned-buckets", u = Tr(i), d = l ? a : s, h = Uh(r, l ? ie.yBand : ie.xBand) ?? d, f = l ? s : a, p = Uh(r, l ? ie.xMin : ie.yMin), g = Uh(r, l ? ie.xMax : ie.yMax), v = r.hasVariable(Mt.group) ? r.getValues(Mt.group, { type: "categorical" }) : null, y = c ? null : new WCe(GCe(e)), b = /* @__PURE__ */ new Map(), w = [];
|
|
22513
22518
|
let S = -1;
|
|
22514
22519
|
for (const A of r) {
|
|
22515
22520
|
S += 1;
|
|
@@ -24189,7 +24194,7 @@ function fMe(e) {
|
|
|
24189
24194
|
function pMe(e) {
|
|
24190
24195
|
return e === "buckets" || e === "filled-buckets";
|
|
24191
24196
|
}
|
|
24192
|
-
var V1 = 0.5, mMe = 0.3, gMe = 0.4, vMe = 10, yMe = ({ layer: e, coordSystem: t, scales: n, options: r }) => e.data.size() === 0 ? null : e.spatialKind === "rects" ? t.type === "cartesian" ? xMe(e, t, n, r) : wMe(e, t, r) : pMe(e.spatialKind) && t.type === "cartesian" ? AMe(e, t, r) : e.spatialKind === "cells" || e.spatialKind === "spanned-buckets" || e.spatialKind === "render-hit-test" ? TMe(e, r) : e.spatialKind === "points" ? SMe(e, r) : null, bMe = (e) => fMe(e.spatialKind) ? new Set(e.data.getValues(
|
|
24197
|
+
var V1 = 0.5, mMe = 0.3, gMe = 0.4, vMe = 10, yMe = ({ layer: e, coordSystem: t, scales: n, options: r }) => e.data.size() === 0 ? null : e.spatialKind === "rects" ? t.type === "cartesian" ? xMe(e, t, n, r) : wMe(e, t, r) : pMe(e.spatialKind) && t.type === "cartesian" ? AMe(e, t, r) : e.spatialKind === "cells" || e.spatialKind === "spanned-buckets" || e.spatialKind === "render-hit-test" ? TMe(e, r) : e.spatialKind === "points" ? SMe(e, r) : null, bMe = (e) => fMe(e.spatialKind) ? new Set(e.data.getValues(Mt.group)).size : e.data.size(), xMe = (e, t, n, r) => ({
|
|
24193
24198
|
type: "grow",
|
|
24194
24199
|
layerId: e.id,
|
|
24195
24200
|
durationSeconds: V1 * r.durationScale,
|
|
@@ -24245,8 +24250,8 @@ var V1 = 0.5, mMe = 0.3, gMe = 0.4, vMe = 10, yMe = ({ layer: e, coordSystem: t,
|
|
|
24245
24250
|
}
|
|
24246
24251
|
return QE(r, t);
|
|
24247
24252
|
}, MMe = (e, t) => {
|
|
24248
|
-
if (t === "main-axis") return
|
|
24249
|
-
const n = QM(e) ??
|
|
24253
|
+
if (t === "main-axis") return Ct(e);
|
|
24254
|
+
const n = QM(e) ?? Ct(e);
|
|
24250
24255
|
return n === null ? null : t === "value-descending" ? -n : n;
|
|
24251
24256
|
}, EMe = (e, t, n) => {
|
|
24252
24257
|
const r = Ro(e.data, e.mapping, e.id), o = /* @__PURE__ */ new Map();
|
|
@@ -25152,7 +25157,7 @@ var $1 = (e, t) => ({
|
|
|
25152
25157
|
groupValue: e.groupValue,
|
|
25153
25158
|
crossValue: e.crossValue,
|
|
25154
25159
|
align: e.align
|
|
25155
|
-
}), fvt = (e, t) => e.find((n) => n.scope === t.scope && n.layerId === t.layerId && TM(n.predicate, t.predicate)) ?? null, N$ = (e) => e.find((t) => t.geom === "rule" && t.stat.type === "identity" && (
|
|
25160
|
+
}), fvt = (e, t) => e.find((n) => n.scope === t.scope && n.layerId === t.layerId && TM(n.predicate, t.predicate)) ?? null, N$ = (e) => e.find((t) => t.geom === "rule" && t.stat.type === "identity" && (Rt(Sr(t.mapping.y)) || Rt(Sr(t.mapping.x)))), F$ = (e) => e.find((t) => t.geom === "line" && t.stat.type === "smooth"), B$ = (e) => e.find((t) => t.geom === "rule" && t.stat.type === "mean");
|
|
25156
25161
|
function vEe(e, { themeConfig: t } = {}) {
|
|
25157
25162
|
return {
|
|
25158
25163
|
mapping: e.mapping,
|
|
@@ -35576,7 +35581,7 @@ function NNe(e) {
|
|
|
35576
35581
|
return n !== "root" && (r = e.maximize().region), (uv[r || ""] || uv[n || ""] || uv[`${n}-001`] || uv["001"])[0];
|
|
35577
35582
|
}
|
|
35578
35583
|
var FNe = new RegExp(`^${QU.source}*`), BNe = new RegExp(`${QU.source}*$`);
|
|
35579
|
-
function
|
|
35584
|
+
function Et(e, t) {
|
|
35580
35585
|
return {
|
|
35581
35586
|
start: e,
|
|
35582
35587
|
end: t
|
|
@@ -35624,11 +35629,11 @@ var UNe = class {
|
|
|
35624
35629
|
const i = this.clonePosition();
|
|
35625
35630
|
this.bump(), r.push({
|
|
35626
35631
|
type: mn.pound,
|
|
35627
|
-
location:
|
|
35632
|
+
location: Et(i, this.clonePosition())
|
|
35628
35633
|
});
|
|
35629
35634
|
} else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
|
|
35630
35635
|
if (n) break;
|
|
35631
|
-
return this.error(Ot.UNMATCHED_CLOSING_TAG,
|
|
35636
|
+
return this.error(Ot.UNMATCHED_CLOSING_TAG, Et(this.clonePosition(), this.clonePosition()));
|
|
35632
35637
|
} else if (o === 60 && !this.ignoreTag && cC(this.peek() || 0)) {
|
|
35633
35638
|
const i = this.parseTag(e, t);
|
|
35634
35639
|
if (i.err) return i;
|
|
@@ -35653,7 +35658,7 @@ var UNe = class {
|
|
|
35653
35658
|
val: {
|
|
35654
35659
|
type: mn.literal,
|
|
35655
35660
|
value: `<${r}/>`,
|
|
35656
|
-
location:
|
|
35661
|
+
location: Et(n, this.clonePosition())
|
|
35657
35662
|
},
|
|
35658
35663
|
err: null
|
|
35659
35664
|
};
|
|
@@ -35662,19 +35667,19 @@ var UNe = class {
|
|
|
35662
35667
|
if (o.err) return o;
|
|
35663
35668
|
const i = o.val, s = this.clonePosition();
|
|
35664
35669
|
if (this.bumpIf("</")) {
|
|
35665
|
-
if (this.isEOF() || !cC(this.char())) return this.error(Ot.INVALID_TAG,
|
|
35670
|
+
if (this.isEOF() || !cC(this.char())) return this.error(Ot.INVALID_TAG, Et(s, this.clonePosition()));
|
|
35666
35671
|
const a = this.clonePosition();
|
|
35667
|
-
return r !== this.parseTagName() ? this.error(Ot.UNMATCHED_CLOSING_TAG,
|
|
35672
|
+
return r !== this.parseTagName() ? this.error(Ot.UNMATCHED_CLOSING_TAG, Et(a, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
|
|
35668
35673
|
val: {
|
|
35669
35674
|
type: mn.tag,
|
|
35670
35675
|
value: r,
|
|
35671
35676
|
children: i,
|
|
35672
|
-
location:
|
|
35677
|
+
location: Et(n, this.clonePosition())
|
|
35673
35678
|
},
|
|
35674
35679
|
err: null
|
|
35675
|
-
} : this.error(Ot.INVALID_TAG,
|
|
35676
|
-
} else return this.error(Ot.UNCLOSED_TAG,
|
|
35677
|
-
} else return this.error(Ot.INVALID_TAG,
|
|
35680
|
+
} : this.error(Ot.INVALID_TAG, Et(s, this.clonePosition())));
|
|
35681
|
+
} else return this.error(Ot.UNCLOSED_TAG, Et(n, this.clonePosition()));
|
|
35682
|
+
} else return this.error(Ot.INVALID_TAG, Et(n, this.clonePosition()));
|
|
35678
35683
|
}
|
|
35679
35684
|
parseTagName() {
|
|
35680
35685
|
const e = this.offset();
|
|
@@ -35702,7 +35707,7 @@ var UNe = class {
|
|
|
35702
35707
|
}
|
|
35703
35708
|
break;
|
|
35704
35709
|
}
|
|
35705
|
-
const o =
|
|
35710
|
+
const o = Et(n, this.clonePosition());
|
|
35706
35711
|
return {
|
|
35707
35712
|
val: {
|
|
35708
35713
|
type: mn.literal,
|
|
@@ -35753,40 +35758,40 @@ var UNe = class {
|
|
|
35753
35758
|
}
|
|
35754
35759
|
parseArgument(e, t) {
|
|
35755
35760
|
const n = this.clonePosition();
|
|
35756
|
-
if (this.bump(), this.bumpSpace(), this.isEOF()) return this.error(Ot.EXPECT_ARGUMENT_CLOSING_BRACE,
|
|
35761
|
+
if (this.bump(), this.bumpSpace(), this.isEOF()) return this.error(Ot.EXPECT_ARGUMENT_CLOSING_BRACE, Et(n, this.clonePosition()));
|
|
35757
35762
|
if (this.char() === 125)
|
|
35758
|
-
return this.bump(), this.error(Ot.EMPTY_ARGUMENT,
|
|
35763
|
+
return this.bump(), this.error(Ot.EMPTY_ARGUMENT, Et(n, this.clonePosition()));
|
|
35759
35764
|
let r = this.parseIdentifierIfPossible().value;
|
|
35760
|
-
if (!r) return this.error(Ot.MALFORMED_ARGUMENT,
|
|
35761
|
-
if (this.bumpSpace(), this.isEOF()) return this.error(Ot.EXPECT_ARGUMENT_CLOSING_BRACE,
|
|
35765
|
+
if (!r) return this.error(Ot.MALFORMED_ARGUMENT, Et(n, this.clonePosition()));
|
|
35766
|
+
if (this.bumpSpace(), this.isEOF()) return this.error(Ot.EXPECT_ARGUMENT_CLOSING_BRACE, Et(n, this.clonePosition()));
|
|
35762
35767
|
switch (this.char()) {
|
|
35763
35768
|
case 125:
|
|
35764
35769
|
return this.bump(), {
|
|
35765
35770
|
val: {
|
|
35766
35771
|
type: mn.argument,
|
|
35767
35772
|
value: r,
|
|
35768
|
-
location:
|
|
35773
|
+
location: Et(n, this.clonePosition())
|
|
35769
35774
|
},
|
|
35770
35775
|
err: null
|
|
35771
35776
|
};
|
|
35772
35777
|
case 44:
|
|
35773
|
-
return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(Ot.EXPECT_ARGUMENT_CLOSING_BRACE,
|
|
35778
|
+
return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(Ot.EXPECT_ARGUMENT_CLOSING_BRACE, Et(n, this.clonePosition())) : this.parseArgumentOptions(e, t, r, n);
|
|
35774
35779
|
default:
|
|
35775
|
-
return this.error(Ot.MALFORMED_ARGUMENT,
|
|
35780
|
+
return this.error(Ot.MALFORMED_ARGUMENT, Et(n, this.clonePosition()));
|
|
35776
35781
|
}
|
|
35777
35782
|
}
|
|
35778
35783
|
parseIdentifierIfPossible() {
|
|
35779
35784
|
const e = this.clonePosition(), t = this.offset(), n = GNe(this.message, t), r = t + n.length;
|
|
35780
35785
|
return this.bumpTo(r), {
|
|
35781
35786
|
value: n,
|
|
35782
|
-
location:
|
|
35787
|
+
location: Et(e, this.clonePosition())
|
|
35783
35788
|
};
|
|
35784
35789
|
}
|
|
35785
35790
|
parseArgumentOptions(e, t, n, r) {
|
|
35786
35791
|
let o = this.clonePosition(), i = this.parseIdentifierIfPossible().value, s = this.clonePosition();
|
|
35787
35792
|
switch (i) {
|
|
35788
35793
|
case "":
|
|
35789
|
-
return this.error(Ot.EXPECT_ARGUMENT_TYPE,
|
|
35794
|
+
return this.error(Ot.EXPECT_ARGUMENT_TYPE, Et(o, s));
|
|
35790
35795
|
case "number":
|
|
35791
35796
|
case "date":
|
|
35792
35797
|
case "time": {
|
|
@@ -35797,15 +35802,15 @@ var UNe = class {
|
|
|
35797
35802
|
const u = this.clonePosition(), d = this.parseSimpleArgStyleIfPossible();
|
|
35798
35803
|
if (d.err) return d;
|
|
35799
35804
|
const h = WNe(d.val);
|
|
35800
|
-
if (h.length === 0) return this.error(Ot.EXPECT_ARGUMENT_STYLE,
|
|
35805
|
+
if (h.length === 0) return this.error(Ot.EXPECT_ARGUMENT_STYLE, Et(this.clonePosition(), this.clonePosition()));
|
|
35801
35806
|
a = {
|
|
35802
35807
|
style: h,
|
|
35803
|
-
styleLocation:
|
|
35808
|
+
styleLocation: Et(u, this.clonePosition())
|
|
35804
35809
|
};
|
|
35805
35810
|
}
|
|
35806
35811
|
const l = this.tryParseArgumentClose(r);
|
|
35807
35812
|
if (l.err) return l;
|
|
35808
|
-
const c =
|
|
35813
|
+
const c = Et(r, this.clonePosition());
|
|
35809
35814
|
if (a && a.style.startsWith("::")) {
|
|
35810
35815
|
let u = zNe(a.style.slice(2));
|
|
35811
35816
|
if (i === "number") {
|
|
@@ -35854,11 +35859,11 @@ var UNe = class {
|
|
|
35854
35859
|
case "selectordinal":
|
|
35855
35860
|
case "select": {
|
|
35856
35861
|
const a = this.clonePosition();
|
|
35857
|
-
if (this.bumpSpace(), !this.bumpIf(",")) return this.error(Ot.EXPECT_SELECT_ARGUMENT_OPTIONS,
|
|
35862
|
+
if (this.bumpSpace(), !this.bumpIf(",")) return this.error(Ot.EXPECT_SELECT_ARGUMENT_OPTIONS, Et(a, { ...a }));
|
|
35858
35863
|
this.bumpSpace();
|
|
35859
35864
|
let l = this.parseIdentifierIfPossible(), c = 0;
|
|
35860
35865
|
if (i !== "select" && l.value === "offset") {
|
|
35861
|
-
if (!this.bumpIf(":")) return this.error(Ot.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,
|
|
35866
|
+
if (!this.bumpIf(":")) return this.error(Ot.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, Et(this.clonePosition(), this.clonePosition()));
|
|
35862
35867
|
this.bumpSpace();
|
|
35863
35868
|
const f = this.tryParseDecimalInteger(Ot.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, Ot.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
|
|
35864
35869
|
if (f.err) return f;
|
|
@@ -35868,7 +35873,7 @@ var UNe = class {
|
|
|
35868
35873
|
if (u.err) return u;
|
|
35869
35874
|
const d = this.tryParseArgumentClose(r);
|
|
35870
35875
|
if (d.err) return d;
|
|
35871
|
-
const h =
|
|
35876
|
+
const h = Et(r, this.clonePosition());
|
|
35872
35877
|
return i === "select" ? {
|
|
35873
35878
|
val: {
|
|
35874
35879
|
type: mn.select,
|
|
@@ -35890,11 +35895,11 @@ var UNe = class {
|
|
|
35890
35895
|
};
|
|
35891
35896
|
}
|
|
35892
35897
|
default:
|
|
35893
|
-
return this.error(Ot.INVALID_ARGUMENT_TYPE,
|
|
35898
|
+
return this.error(Ot.INVALID_ARGUMENT_TYPE, Et(o, s));
|
|
35894
35899
|
}
|
|
35895
35900
|
}
|
|
35896
35901
|
tryParseArgumentClose(e) {
|
|
35897
|
-
return this.isEOF() || this.char() !== 125 ? this.error(Ot.EXPECT_ARGUMENT_CLOSING_BRACE,
|
|
35902
|
+
return this.isEOF() || this.char() !== 125 ? this.error(Ot.EXPECT_ARGUMENT_CLOSING_BRACE, Et(e, this.clonePosition())) : (this.bump(), {
|
|
35898
35903
|
val: !0,
|
|
35899
35904
|
err: null
|
|
35900
35905
|
});
|
|
@@ -35906,7 +35911,7 @@ var UNe = class {
|
|
|
35906
35911
|
case 39: {
|
|
35907
35912
|
this.bump();
|
|
35908
35913
|
let n = this.clonePosition();
|
|
35909
|
-
if (!this.bumpUntil("'")) return this.error(Ot.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,
|
|
35914
|
+
if (!this.bumpUntil("'")) return this.error(Ot.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, Et(n, this.clonePosition()));
|
|
35910
35915
|
this.bump();
|
|
35911
35916
|
break;
|
|
35912
35917
|
}
|
|
@@ -35956,23 +35961,23 @@ var UNe = class {
|
|
|
35956
35961
|
if (t !== "select" && this.bumpIf("=")) {
|
|
35957
35962
|
const f = this.tryParseDecimalInteger(Ot.EXPECT_PLURAL_ARGUMENT_SELECTOR, Ot.INVALID_PLURAL_ARGUMENT_SELECTOR);
|
|
35958
35963
|
if (f.err) return f;
|
|
35959
|
-
l =
|
|
35964
|
+
l = Et(h, this.clonePosition()), a = this.message.slice(h.offset, this.offset());
|
|
35960
35965
|
} else break;
|
|
35961
35966
|
}
|
|
35962
35967
|
if (s.has(a)) return this.error(t === "select" ? Ot.DUPLICATE_SELECT_ARGUMENT_SELECTOR : Ot.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, l);
|
|
35963
35968
|
a === "other" && (o = !0), this.bumpSpace();
|
|
35964
35969
|
const c = this.clonePosition();
|
|
35965
|
-
if (!this.bumpIf("{")) return this.error(t === "select" ? Ot.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : Ot.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,
|
|
35970
|
+
if (!this.bumpIf("{")) return this.error(t === "select" ? Ot.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : Ot.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, Et(this.clonePosition(), this.clonePosition()));
|
|
35966
35971
|
const u = this.parseMessage(e + 1, t, n);
|
|
35967
35972
|
if (u.err) return u;
|
|
35968
35973
|
const d = this.tryParseArgumentClose(c);
|
|
35969
35974
|
if (d.err) return d;
|
|
35970
35975
|
i.push([a, {
|
|
35971
35976
|
value: u.val,
|
|
35972
|
-
location:
|
|
35977
|
+
location: Et(c, this.clonePosition())
|
|
35973
35978
|
}]), s.add(a), this.bumpSpace(), { value: a, location: l } = this.parseIdentifierIfPossible();
|
|
35974
35979
|
}
|
|
35975
|
-
return i.length === 0 ? this.error(t === "select" ? Ot.EXPECT_SELECT_ARGUMENT_SELECTOR : Ot.EXPECT_PLURAL_ARGUMENT_SELECTOR,
|
|
35980
|
+
return i.length === 0 ? this.error(t === "select" ? Ot.EXPECT_SELECT_ARGUMENT_SELECTOR : Ot.EXPECT_PLURAL_ARGUMENT_SELECTOR, Et(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !o ? this.error(Ot.MISSING_OTHER_CLAUSE, Et(this.clonePosition(), this.clonePosition())) : {
|
|
35976
35981
|
val: i,
|
|
35977
35982
|
err: null
|
|
35978
35983
|
};
|
|
@@ -35988,7 +35993,7 @@ var UNe = class {
|
|
|
35988
35993
|
o = !0, i = i * 10 + (a - 48), this.bump();
|
|
35989
35994
|
else break;
|
|
35990
35995
|
}
|
|
35991
|
-
const s =
|
|
35996
|
+
const s = Et(r, this.clonePosition());
|
|
35992
35997
|
return o ? (i *= n, Number.isSafeInteger(i) ? {
|
|
35993
35998
|
val: i,
|
|
35994
35999
|
err: null
|
|
@@ -37765,7 +37770,7 @@ function ms(e) {
|
|
|
37765
37770
|
function dP(e) {
|
|
37766
37771
|
return sx() ? e instanceof Node || e instanceof bn(e).Node : !1;
|
|
37767
37772
|
}
|
|
37768
|
-
function
|
|
37773
|
+
function Pt(e) {
|
|
37769
37774
|
return sx() ? e instanceof Element || e instanceof bn(e).Element : !1;
|
|
37770
37775
|
}
|
|
37771
37776
|
function on(e) {
|
|
@@ -37794,7 +37799,7 @@ function ax(e) {
|
|
|
37794
37799
|
}
|
|
37795
37800
|
var C3e = /transform|translate|scale|rotate|perspective|filter/, k3e = /paint|layout|strict|content/, Rl = (e) => !!e && e !== "none", kS;
|
|
37796
37801
|
function hP(e) {
|
|
37797
|
-
const t =
|
|
37802
|
+
const t = Pt(e) ? Co(e) : e;
|
|
37798
37803
|
return Rl(t.transform) || Rl(t.translate) || Rl(t.scale) || Rl(t.rotate) || Rl(t.perspective) || !lx() && (Rl(t.backdropFilter) || Rl(t.filter)) || C3e.test(t.willChange || "") || k3e.test(t.contain || "");
|
|
37799
37804
|
}
|
|
37800
37805
|
function M3e(e) {
|
|
@@ -37816,7 +37821,7 @@ function Co(e) {
|
|
|
37816
37821
|
return bn(e).getComputedStyle(e);
|
|
37817
37822
|
}
|
|
37818
37823
|
function cx(e) {
|
|
37819
|
-
return
|
|
37824
|
+
return Pt(e) ? {
|
|
37820
37825
|
scrollLeft: e.scrollLeft,
|
|
37821
37826
|
scrollTop: e.scrollTop
|
|
37822
37827
|
} : {
|
|
@@ -37856,7 +37861,7 @@ function mj(e) {
|
|
|
37856
37861
|
};
|
|
37857
37862
|
}
|
|
37858
37863
|
function fP(e) {
|
|
37859
|
-
return
|
|
37864
|
+
return Pt(e) ? e : e.contextElement;
|
|
37860
37865
|
}
|
|
37861
37866
|
function rd(e) {
|
|
37862
37867
|
const t = fP(e);
|
|
@@ -37883,11 +37888,11 @@ function kc(e, t, n, r) {
|
|
|
37883
37888
|
t === void 0 && (t = !1), n === void 0 && (n = !1);
|
|
37884
37889
|
const o = e.getBoundingClientRect(), i = fP(e);
|
|
37885
37890
|
let s = Qi(1);
|
|
37886
|
-
t && (r ?
|
|
37891
|
+
t && (r ? Pt(r) && (s = rd(r)) : s = rd(e));
|
|
37887
37892
|
const a = P3e(i, n, r) ? gj(i) : Qi(0);
|
|
37888
37893
|
let l = (o.left + a.x) / s.x, c = (o.top + a.y) / s.y, u = o.width / s.x, d = o.height / s.y;
|
|
37889
37894
|
if (i) {
|
|
37890
|
-
const h = bn(i), f = r &&
|
|
37895
|
+
const h = bn(i), f = r && Pt(r) ? bn(r) : r;
|
|
37891
37896
|
let p = h, g = pC(p);
|
|
37892
37897
|
for (; g && r && f !== p; ) {
|
|
37893
37898
|
const v = rd(g), y = g.getBoundingClientRect(), b = Co(g), w = y.left + (g.clientLeft + parseFloat(b.paddingLeft)) * v.x, S = y.top + (g.clientTop + parseFloat(b.paddingTop)) * v.y;
|
|
@@ -37981,7 +37986,7 @@ function $5(e, t, n) {
|
|
|
37981
37986
|
let r;
|
|
37982
37987
|
if (t === "viewport") r = L3e(e, n);
|
|
37983
37988
|
else if (t === "document") r = O3e(ms(e));
|
|
37984
|
-
else if (
|
|
37989
|
+
else if (Pt(t)) r = _3e(t, n);
|
|
37985
37990
|
else {
|
|
37986
37991
|
const o = gj(e);
|
|
37987
37992
|
r = {
|
|
@@ -37995,15 +38000,15 @@ function $5(e, t, n) {
|
|
|
37995
38000
|
}
|
|
37996
38001
|
function yj(e, t) {
|
|
37997
38002
|
const n = cs(e);
|
|
37998
|
-
return n === t || !
|
|
38003
|
+
return n === t || !Pt(n) || Zi(n) ? !1 : Co(n).position === "fixed" || yj(n, t);
|
|
37999
38004
|
}
|
|
38000
38005
|
function D3e(e, t) {
|
|
38001
38006
|
const n = t.get(e);
|
|
38002
38007
|
if (n) return n;
|
|
38003
|
-
let r = rm(e, [], !1).filter((a) =>
|
|
38008
|
+
let r = rm(e, [], !1).filter((a) => Pt(a) && ll(a) !== "body"), o = null;
|
|
38004
38009
|
const i = Co(e).position === "fixed";
|
|
38005
38010
|
let s = i ? cs(e) : e;
|
|
38006
|
-
for (;
|
|
38011
|
+
for (; Pt(s) && !Zi(s); ) {
|
|
38007
38012
|
const a = Co(s), l = hP(s);
|
|
38008
38013
|
!l && a.position === "fixed" && (o = null), (i ? !l && !o : !l && a.position === "static" && o && (o.position === "absolute" || o.position === "fixed") || cl(s) && !l && yj(e, s)) ? r = r.filter((c) => c !== s) : o = a, s = cs(s);
|
|
38009
38014
|
}
|
|
@@ -38070,7 +38075,7 @@ function bj(e, t) {
|
|
|
38070
38075
|
if (!on(e)) {
|
|
38071
38076
|
let o = cs(e);
|
|
38072
38077
|
for (; o && !Zi(o); ) {
|
|
38073
|
-
if (
|
|
38078
|
+
if (Pt(o) && !MS(o)) return o;
|
|
38074
38079
|
o = cs(o);
|
|
38075
38080
|
}
|
|
38076
38081
|
return n;
|
|
@@ -38103,7 +38108,7 @@ var xj = {
|
|
|
38103
38108
|
getClientRects: I3e,
|
|
38104
38109
|
getDimensions: F3e,
|
|
38105
38110
|
getScale: rd,
|
|
38106
|
-
isElement:
|
|
38111
|
+
isElement: Pt,
|
|
38107
38112
|
isRTL: H3e
|
|
38108
38113
|
};
|
|
38109
38114
|
function wj(e, t) {
|
|
@@ -38668,7 +38673,7 @@ var U5 = 10 ** 2, Wn = (e) => Math.round(e * U5) / U5, u6e = (e, t) => {
|
|
|
38668
38673
|
};
|
|
38669
38674
|
let s = "";
|
|
38670
38675
|
const a = [];
|
|
38671
|
-
e.data.groupBy(
|
|
38676
|
+
e.data.groupBy(Mt.group).forEach((c) => {
|
|
38672
38677
|
const u = UE([...c], e.params.missingValues), [d] = u;
|
|
38673
38678
|
if (d !== void 0) {
|
|
38674
38679
|
if (u.length === 1) {
|
|
@@ -38691,10 +38696,10 @@ var U5 = 10 ** 2, Wn = (e) => Math.round(e * U5) / U5, u6e = (e, t) => {
|
|
|
38691
38696
|
}), l;
|
|
38692
38697
|
}, p6e = (e, t, n) => {
|
|
38693
38698
|
if (t.mainAxis === "y") {
|
|
38694
|
-
const i =
|
|
38699
|
+
const i = kt(e), s = $r(e) ?? Ct(e);
|
|
38695
38700
|
return i === null || s === null ? null : _0(Mc(s, i), n);
|
|
38696
38701
|
}
|
|
38697
|
-
const r =
|
|
38702
|
+
const r = Ct(e), o = Hn(e) ?? kt(e);
|
|
38698
38703
|
return r === null || o === null ? null : _0(Mc(r, o), n);
|
|
38699
38704
|
}, m6e = 1.5, Ej = (e, t) => Pj(e, t) ? Math.max(t, m6e) : t, dl = (e, t, n) => {
|
|
38700
38705
|
const r = Ej(e, t);
|
|
@@ -39176,7 +39181,7 @@ var am = (e, t, n) => {
|
|
|
39176
39181
|
}, B6e = Mo(function({ layer: t, coordSystem: n, shouldAnimateTransitions: r, intro: o }) {
|
|
39177
39182
|
const i = o?.type === "wipe" ? o : null, { lineGenerator: s, areaGenerator: a } = Z(() => GE(n, t.params), [t.params, n]), l = cn(t), c = Z(() => {
|
|
39178
39183
|
const u = Ro(t.data, t.mapping, t.id), d = [];
|
|
39179
|
-
return t.data.groupBy(
|
|
39184
|
+
return t.data.groupBy(Mt.group).forEach((h) => {
|
|
39180
39185
|
const f = UE([...h], t.params.missingValues), p = a(f), g = s(f);
|
|
39181
39186
|
if (!p || !g) return;
|
|
39182
39187
|
const v = f[0];
|
|
@@ -39277,7 +39282,7 @@ var am = (e, t, n) => {
|
|
|
39277
39282
|
ringWidth: n
|
|
39278
39283
|
};
|
|
39279
39284
|
}, K6e = ({ layer: e, coordSystem: t, primary: n, companions: r }) => {
|
|
39280
|
-
const o = cn(e), i = fr(n.observation), s = Z(() => UE([...e.data.filter(
|
|
39285
|
+
const o = cn(e), i = fr(n.observation), s = Z(() => UE([...e.data.filter(Mt.group, "eq", i)], e.params.missingValues), [
|
|
39281
39286
|
e.data,
|
|
39282
39287
|
e.params.missingValues,
|
|
39283
39288
|
i
|
|
@@ -39352,13 +39357,13 @@ var am = (e, t, n) => {
|
|
|
39352
39357
|
getEditOutlineShapes: f6e,
|
|
39353
39358
|
getOverlayAnchor: ({ observation: e, coordSystem: t }) => {
|
|
39354
39359
|
if (t.mainAxis === "x") {
|
|
39355
|
-
const o =
|
|
39360
|
+
const o = Ct(e), i = Hn(e) ?? kt(e);
|
|
39356
39361
|
return o === null || i === null ? null : {
|
|
39357
39362
|
x: o,
|
|
39358
39363
|
y: i
|
|
39359
39364
|
};
|
|
39360
39365
|
}
|
|
39361
|
-
const n =
|
|
39366
|
+
const n = kt(e), r = $r(e) ?? Ct(e);
|
|
39362
39367
|
return n === null || r === null ? null : {
|
|
39363
39368
|
x: r,
|
|
39364
39369
|
y: n
|
|
@@ -40150,7 +40155,7 @@ var PS = 3, xFe = ({ layer: e, coordSystem: t, primary: n, panelRect: r }) => {
|
|
|
40150
40155
|
scaleX: t.width,
|
|
40151
40156
|
scaleY: t.height
|
|
40152
40157
|
}, s = [], a = [];
|
|
40153
|
-
return e.data.groupBy(
|
|
40158
|
+
return e.data.groupBy(Mt.group).forEach((l) => {
|
|
40154
40159
|
const c = KE([...l], e.params.missingValues), [u] = c;
|
|
40155
40160
|
if (u === void 0) return;
|
|
40156
40161
|
if (c.length === 1) {
|
|
@@ -40172,12 +40177,12 @@ var PS = 3, xFe = ({ layer: e, coordSystem: t, primary: n, panelRect: r }) => {
|
|
|
40172
40177
|
size: 8
|
|
40173
40178
|
}), s;
|
|
40174
40179
|
}, AFe = (e, t) => {
|
|
40175
|
-
const n =
|
|
40180
|
+
const n = Ct(e), r = kt(e);
|
|
40176
40181
|
return n === null || r === null ? null : _0(Mc(n, r), t);
|
|
40177
40182
|
}, CFe = Mo(function({ layer: t, shouldAnimateTransitions: n, intro: r }) {
|
|
40178
40183
|
const o = r?.type === "wipe" ? r : null, i = Z(() => jE(t.params), [t.params]), s = Z(() => QAe(t.params), [t.params]), a = cn(t), l = Z(() => {
|
|
40179
40184
|
const c = Ro(t.data, t.mapping, t.id), u = [];
|
|
40180
|
-
return t.data.groupBy(
|
|
40185
|
+
return t.data.groupBy(Mt.group).forEach((d) => {
|
|
40181
40186
|
const h = KE([...d], t.params.missingValues), f = i(h);
|
|
40182
40187
|
if (!f) return;
|
|
40183
40188
|
const p = h[0];
|
|
@@ -40316,7 +40321,7 @@ var PS = 3, xFe = ({ layer: e, coordSystem: t, primary: n, panelRect: r }) => {
|
|
|
40316
40321
|
vectorEffect: "non-scaling-stroke"
|
|
40317
40322
|
});
|
|
40318
40323
|
}, PFe = ({ layer: e, primary: t, companions: n }) => {
|
|
40319
|
-
const r = cn(e), o = fr(t.observation), i = Z(() => KE([...e.data.filter(
|
|
40324
|
+
const r = cn(e), o = fr(t.observation), i = Z(() => KE([...e.data.filter(Mt.group, "eq", o)], e.params.missingValues), [
|
|
40320
40325
|
e.data,
|
|
40321
40326
|
e.params.missingValues,
|
|
40322
40327
|
o
|
|
@@ -40373,7 +40378,7 @@ var PS = 3, xFe = ({ layer: e, coordSystem: t, primary: n, panelRect: r }) => {
|
|
|
40373
40378
|
renderHoverCompanions: ({ related: e }) => /* @__PURE__ */ m(Le, { children: e.map((t) => /* @__PURE__ */ m(ul, { hit: t }, `companion-${t.layerId}-${t.pointIndex}`)) }),
|
|
40374
40379
|
getEditOutlineShapes: TFe,
|
|
40375
40380
|
getOverlayAnchor: ({ observation: e }) => {
|
|
40376
|
-
const t =
|
|
40381
|
+
const t = Ct(e), n = kt(e);
|
|
40377
40382
|
return t === null || n === null ? null : {
|
|
40378
40383
|
x: t,
|
|
40379
40384
|
y: n
|
|
@@ -40402,7 +40407,7 @@ var PS = 3, xFe = ({ layer: e, coordSystem: t, primary: n, panelRect: r }) => {
|
|
|
40402
40407
|
motion: u
|
|
40403
40408
|
});
|
|
40404
40409
|
}, Kj = (e, t) => {
|
|
40405
|
-
const n =
|
|
40410
|
+
const n = Ct(e), r = kt(e);
|
|
40406
40411
|
return n === null || r === null ? null : t(n, r);
|
|
40407
40412
|
}, Yj = ({ layer: e, panelRect: t, styleReaders: n, project: r }) => {
|
|
40408
40413
|
const o = [];
|
|
@@ -40459,7 +40464,7 @@ var PS = 3, xFe = ({ layer: e, coordSystem: t, primary: n, panelRect: r }) => {
|
|
|
40459
40464
|
project: Mc
|
|
40460
40465
|
}),
|
|
40461
40466
|
getOverlayAnchor: ({ observation: e }) => {
|
|
40462
|
-
const t =
|
|
40467
|
+
const t = Ct(e), n = kt(e);
|
|
40463
40468
|
return t === null || n === null ? null : {
|
|
40464
40469
|
x: t,
|
|
40465
40470
|
y: n
|
|
@@ -41488,7 +41493,7 @@ var N4e = lre((() => {
|
|
|
41488
41493
|
s
|
|
41489
41494
|
]), P = cn(t), x = t.data.getFirst();
|
|
41490
41495
|
if (!x) return null;
|
|
41491
|
-
const M = P.get("stroke", x), _ = G4e(w, M), k = c4e(t, n), R = k ?
|
|
41496
|
+
const M = P.get("stroke", x), _ = G4e(w, M), k = c4e(t, n), R = k ? kt(x) : Ct(x);
|
|
41492
41497
|
return R === null ? null : /* @__PURE__ */ B("g", {
|
|
41493
41498
|
"data-geom": "rule",
|
|
41494
41499
|
className: l4e,
|
|
@@ -41693,7 +41698,7 @@ var N4e = lre((() => {
|
|
|
41693
41698
|
}, Z4e = Mo(function({ layer: t, panelRect: n }) {
|
|
41694
41699
|
const r = cn(t), o = Z(() => {
|
|
41695
41700
|
const a = Ro(t.data, t.mapping, t.id), l = [];
|
|
41696
|
-
return t.data.groupBy(
|
|
41701
|
+
return t.data.groupBy(Mt.group).forEach((c) => {
|
|
41697
41702
|
const u = [...c], d = gK(u);
|
|
41698
41703
|
if (!d) return;
|
|
41699
41704
|
const h = u[0];
|
|
@@ -41754,7 +41759,7 @@ var N4e = lre((() => {
|
|
|
41754
41759
|
}, vK = (e) => {
|
|
41755
41760
|
const t = [];
|
|
41756
41761
|
for (const o of e) {
|
|
41757
|
-
const i =
|
|
41762
|
+
const i = Ct(o), { innerRadius: s, outerRadius: a } = b1(o);
|
|
41758
41763
|
i === null || s === null || a === null || t.push({
|
|
41759
41764
|
angle: i,
|
|
41760
41765
|
outer: ei(i, a),
|
|
@@ -41770,11 +41775,11 @@ var N4e = lre((() => {
|
|
|
41770
41775
|
};
|
|
41771
41776
|
}, eBe = ({ layer: e, panelRect: t }) => {
|
|
41772
41777
|
const n = pK(t), r = [], o = [];
|
|
41773
|
-
return e.data.groupBy(
|
|
41778
|
+
return e.data.groupBy(Mt.group).forEach((i) => {
|
|
41774
41779
|
const s = [...i], [a] = s;
|
|
41775
41780
|
if (a === void 0) return;
|
|
41776
41781
|
if (s.length === 1) {
|
|
41777
|
-
const u =
|
|
41782
|
+
const u = Ct(a), d = Hn(a) ?? kt(a);
|
|
41778
41783
|
u !== null && d !== null && o.push(mK(u, d, t));
|
|
41779
41784
|
return;
|
|
41780
41785
|
}
|
|
@@ -41796,7 +41801,7 @@ var N4e = lre((() => {
|
|
|
41796
41801
|
const o = cn(e), i = fr(t.observation), s = o.get("fill", t.observation, "hovered"), { fillFor: a, defs: l } = ri({
|
|
41797
41802
|
paints: [s],
|
|
41798
41803
|
unitsPerPixel: hg(r)
|
|
41799
|
-
}), c = Z(() => gK([...e.data.filter(
|
|
41804
|
+
}), c = Z(() => gK([...e.data.filter(Mt.group, "eq", i)]), [e.data, i]);
|
|
41800
41805
|
if (!c) return null;
|
|
41801
41806
|
const u = o.get("stroke", t.observation, "hovered") ?? Gt(s), d = o.get("alpha", t.observation, "hovered"), h = o.get("fillAlpha", t.observation, "hovered") * d, f = o.get("strokeAlpha", t.observation, "hovered") * d, { strokeWidth: p, strokeDasharray: g, strokeLinecap: v } = dl(o.get("dashArray", t.observation, "hovered"), o.get("strokeWidth", t.observation, "hovered"));
|
|
41802
41807
|
return /* @__PURE__ */ B(Le, { children: [
|
|
@@ -41859,7 +41864,7 @@ var N4e = lre((() => {
|
|
|
41859
41864
|
renderHoverCompanions: ({ related: e }) => /* @__PURE__ */ m(N0, { companions: e }),
|
|
41860
41865
|
getEditOutlineShapes: eBe,
|
|
41861
41866
|
getOverlayAnchor: ({ observation: e }) => {
|
|
41862
|
-
const t =
|
|
41867
|
+
const t = Ct(e), n = Hn(e) ?? kt(e);
|
|
41863
41868
|
if (t === null || n === null) return null;
|
|
41864
41869
|
const { x: r, y: o } = wi(t, n);
|
|
41865
41870
|
return {
|
|
@@ -42267,7 +42272,7 @@ var N4e = lre((() => {
|
|
|
42267
42272
|
}, mBe = Mo(function({ layer: t }) {
|
|
42268
42273
|
const n = cn(t), r = Z(() => {
|
|
42269
42274
|
const o = Ro(t.data, t.mapping, t.id), i = [];
|
|
42270
|
-
return t.data.groupBy(
|
|
42275
|
+
return t.data.groupBy(Mt.group).forEach((s) => {
|
|
42271
42276
|
const a = [...s], l = SK(a);
|
|
42272
42277
|
if (!l) return;
|
|
42273
42278
|
const c = a[0];
|
|
@@ -42314,7 +42319,7 @@ var N4e = lre((() => {
|
|
|
42314
42319
|
}, TK = (e) => {
|
|
42315
42320
|
const t = [];
|
|
42316
42321
|
for (const n of e) {
|
|
42317
|
-
const r =
|
|
42322
|
+
const r = Ct(n), o = kt(n);
|
|
42318
42323
|
r === null || o === null || t.push({
|
|
42319
42324
|
angle: r,
|
|
42320
42325
|
point: ei(r, o)
|
|
@@ -42323,11 +42328,11 @@ var N4e = lre((() => {
|
|
|
42323
42328
|
return t.sort((n, r) => n.angle - r.angle), t.map((n) => n.point);
|
|
42324
42329
|
}, gBe = ({ layer: e, panelRect: t, styleReaders: n }) => {
|
|
42325
42330
|
const r = pK(t), o = [], i = [];
|
|
42326
|
-
return e.data.groupBy(
|
|
42331
|
+
return e.data.groupBy(Mt.group).forEach((s) => {
|
|
42327
42332
|
const a = [...s], [l] = a;
|
|
42328
42333
|
if (l === void 0) return;
|
|
42329
42334
|
if (a.length === 1) {
|
|
42330
|
-
const u =
|
|
42335
|
+
const u = Ct(l), d = kt(l);
|
|
42331
42336
|
u !== null && d !== null && i.push(mK(u, d, t));
|
|
42332
42337
|
return;
|
|
42333
42338
|
}
|
|
@@ -42344,7 +42349,7 @@ var N4e = lre((() => {
|
|
|
42344
42349
|
size: 8
|
|
42345
42350
|
}), o;
|
|
42346
42351
|
}, vBe = ({ layer: e, primary: t, companions: n }) => {
|
|
42347
|
-
const r = cn(e), o = fr(t.observation), i = Z(() => SK([...e.data.filter(
|
|
42352
|
+
const r = cn(e), o = fr(t.observation), i = Z(() => SK([...e.data.filter(Mt.group, "eq", o)]), [e.data, o]);
|
|
42348
42353
|
if (!i) return null;
|
|
42349
42354
|
const s = r.get("stroke", t.observation, "hovered"), a = r.get("alpha", t.observation, "hovered"), l = r.get("strokeAlpha", t.observation, "hovered"), { strokeWidth: c, strokeDasharray: u, strokeLinecap: d } = dl(r.get("dashArray", t.observation, "hovered"), r.get("strokeWidth", t.observation, "hovered"), r.get("lineCap", t.observation, "hovered")), h = r.get("lineJoin", t.observation, "hovered");
|
|
42350
42355
|
return /* @__PURE__ */ B(Le, { children: [
|
|
@@ -42395,7 +42400,7 @@ var N4e = lre((() => {
|
|
|
42395
42400
|
renderHoverCompanions: ({ related: e }) => /* @__PURE__ */ m(N0, { companions: e }),
|
|
42396
42401
|
getEditOutlineShapes: gBe,
|
|
42397
42402
|
getOverlayAnchor: ({ observation: e }) => {
|
|
42398
|
-
const t =
|
|
42403
|
+
const t = Ct(e), n = kt(e);
|
|
42399
42404
|
if (t === null || n === null) return null;
|
|
42400
42405
|
const { x: r, y: o } = wi(t, n);
|
|
42401
42406
|
return {
|
|
@@ -42442,7 +42447,7 @@ var N4e = lre((() => {
|
|
|
42442
42447
|
project: wi
|
|
42443
42448
|
}),
|
|
42444
42449
|
getOverlayAnchor: ({ observation: e }) => {
|
|
42445
|
-
const t =
|
|
42450
|
+
const t = Ct(e), n = kt(e);
|
|
42446
42451
|
if (t === null || n === null) return null;
|
|
42447
42452
|
const { x: r, y: o } = wi(t, n);
|
|
42448
42453
|
return {
|
|
@@ -46303,7 +46308,7 @@ var VHe = 4, HHe = ({ renderer: e, layer: t, matchedLayer: n, overlayCandidates:
|
|
|
46303
46308
|
coordType: "cartesian"
|
|
46304
46309
|
})] });
|
|
46305
46310
|
}, zHe = (e, t) => {
|
|
46306
|
-
const n = e[
|
|
46311
|
+
const n = e[Mt.group];
|
|
46307
46312
|
return `${String(n ?? "")}\0${t}`;
|
|
46308
46313
|
}, WHe = ({ layer: e, coordSystem: t, panelRect: n }) => {
|
|
46309
46314
|
const { primary: r, group: o, related: i } = sc(Pn((f) => ({
|
|
@@ -63890,7 +63895,7 @@ function nt(e, t) {
|
|
|
63890
63895
|
return !1;
|
|
63891
63896
|
}
|
|
63892
63897
|
function Ob(e, t) {
|
|
63893
|
-
if (!
|
|
63898
|
+
if (!Pt(e)) return !1;
|
|
63894
63899
|
const n = e;
|
|
63895
63900
|
if (t.hasElement(n)) return !n.hasAttribute("data-trigger-disabled");
|
|
63896
63901
|
for (const [, r] of t.entries()) if (nt(r, n)) return !r.hasAttribute("data-trigger-disabled");
|
|
@@ -65893,17 +65898,17 @@ function qx(e, t = {}) {
|
|
|
65893
65898
|
}
|
|
65894
65899
|
const ue = Zr(q), ae = `[${wm("inert")}]`;
|
|
65895
65900
|
let ke = Array.from(vt(n.select("floatingElement")).querySelectorAll(ae));
|
|
65896
|
-
const Ge =
|
|
65901
|
+
const Ge = Pt(ue) ? ue.getRootNode() : null;
|
|
65897
65902
|
nm(Ge) && (ke = ke.concat(Array.from(Ge.querySelectorAll(ae))));
|
|
65898
65903
|
const We = n.context.triggerElements;
|
|
65899
65904
|
if (ue && (We.hasElement(ue) || We.hasMatchingElement((tt) => nt(tt, ue)))) return;
|
|
65900
|
-
let Ie =
|
|
65905
|
+
let Ie = Pt(ue) ? ue : null;
|
|
65901
65906
|
for (; Ie && !Zi(Ie); ) {
|
|
65902
65907
|
const tt = cs(Ie);
|
|
65903
|
-
if (Zi(tt) || !
|
|
65908
|
+
if (Zi(tt) || !Pt(tt)) break;
|
|
65904
65909
|
Ie = tt;
|
|
65905
65910
|
}
|
|
65906
|
-
if (ke.length &&
|
|
65911
|
+
if (ke.length && Pt(ue) && !LXe(ue) && !nt(ue, n.select("floatingElement")) && ke.every((tt) => !nt(Ie, tt))) return;
|
|
65907
65912
|
if (on(ue) && !("touches" in q)) {
|
|
65908
65913
|
const tt = Zi(ue), mt = Co(ue), Me = /auto|scroll/, rt = tt || Me.test(mt.overflowX), $e = tt || Me.test(mt.overflowY), dt = rt && ue.clientWidth > 0 && ue.scrollWidth > ue.clientWidth, wt = $e && ue.clientHeight > 0 && ue.scrollHeight > ue.clientHeight, It = mt.direction === "rtl", Je = wt && (It ? q.offsetX <= ue.offsetWidth - ue.clientWidth : q.offsetX > ue.clientWidth), Tt = dt && q.offsetY > ue.clientHeight;
|
|
65909
65914
|
if (Je || Tt) return;
|
|
@@ -66770,7 +66775,7 @@ function yZ(e) {
|
|
|
66770
66775
|
open: t,
|
|
66771
66776
|
floatingId: o
|
|
66772
66777
|
};
|
|
66773
|
-
r.reference !== void 0 && (a.referenceElement = r.reference, a.domReferenceElement =
|
|
66778
|
+
r.reference !== void 0 && (a.referenceElement = r.reference, a.domReferenceElement = Pt(r.reference) ? r.reference : null), r.floating !== void 0 && (a.floatingElement = r.floating), s.update(a);
|
|
66774
66779
|
}, [
|
|
66775
66780
|
t,
|
|
66776
66781
|
o,
|
|
@@ -66795,16 +66800,16 @@ function vQe(e = {}) {
|
|
|
66795
66800
|
...s && { reference: s }
|
|
66796
66801
|
}
|
|
66797
66802
|
}), d = C.useCallback((P) => {
|
|
66798
|
-
const x =
|
|
66803
|
+
const x = Pt(P) ? {
|
|
66799
66804
|
getBoundingClientRect: () => P.getBoundingClientRect(),
|
|
66800
66805
|
getClientRects: () => P.getClientRects(),
|
|
66801
66806
|
contextElement: P
|
|
66802
66807
|
} : P;
|
|
66803
66808
|
a(x), u.refs.setReference(x);
|
|
66804
66809
|
}, [u.refs]), [h, f] = C.useState(null), [p, g] = C.useState(null);
|
|
66805
|
-
o.useSyncedValue("referenceElement", h), o.useSyncedValue("domReferenceElement",
|
|
66810
|
+
o.useSyncedValue("referenceElement", h), o.useSyncedValue("domReferenceElement", Pt(h) ? h : null), o.useSyncedValue("floatingElement", p);
|
|
66806
66811
|
const v = C.useCallback((P) => {
|
|
66807
|
-
(
|
|
66812
|
+
(Pt(P) || P === null) && (l.current = P, f(P)), (Pt(u.refs.reference.current) || u.refs.reference.current === null || P !== null && !Pt(P)) && u.refs.setReference(P);
|
|
66808
66813
|
}, [u.refs, f]), y = C.useCallback((P) => {
|
|
66809
66814
|
g(P), u.refs.setFloating(P);
|
|
66810
66815
|
}, [u.refs]), b = C.useMemo(() => ({
|
|
@@ -66877,7 +66882,7 @@ function rI(e) {
|
|
|
66877
66882
|
referenceElement: l,
|
|
66878
66883
|
floatingElement: c
|
|
66879
66884
|
};
|
|
66880
|
-
|
|
66885
|
+
Pt(l) && (h.domReferenceElement = l), d.state.positionReference === d.state.referenceElement && (h.positionReference = l), d.update(h);
|
|
66881
66886
|
}, [
|
|
66882
66887
|
a,
|
|
66883
66888
|
i,
|
|
@@ -66911,7 +66916,7 @@ function bZ(e, t = {}) {
|
|
|
66911
66916
|
function h(f) {
|
|
66912
66917
|
if (f.reason === "trigger-press" || f.reason === "escape-key") {
|
|
66913
66918
|
const p = n.select("domReferenceElement");
|
|
66914
|
-
|
|
66919
|
+
Pt(p) && (l.current = p, a.current = !0);
|
|
66915
66920
|
}
|
|
66916
66921
|
}
|
|
66917
66922
|
return r.on("openchange", h), () => {
|
|
@@ -66933,7 +66938,7 @@ function bZ(e, t = {}) {
|
|
|
66933
66938
|
a.current = !1, l.current = null;
|
|
66934
66939
|
}
|
|
66935
66940
|
const p = Zr(h.nativeEvent);
|
|
66936
|
-
if (
|
|
66941
|
+
if (Pt(p)) {
|
|
66937
66942
|
if (vT && !h.relatedTarget) {
|
|
66938
66943
|
if (!u.current && !$x(p)) return;
|
|
66939
66944
|
} else if (!_Xe(p)) return;
|
|
@@ -66949,7 +66954,7 @@ function bZ(e, t = {}) {
|
|
|
66949
66954
|
},
|
|
66950
66955
|
onBlur(h) {
|
|
66951
66956
|
a.current = !1, l.current = null;
|
|
66952
|
-
const f = h.relatedTarget, p = h.nativeEvent, g =
|
|
66957
|
+
const f = h.relatedTarget, p = h.nativeEvent, g = Pt(f) && f.hasAttribute(wm("focus-guard")) && f.getAttribute("data-type") === "outside";
|
|
66953
66958
|
c.start(0, () => {
|
|
66954
66959
|
const v = n.select("domReferenceElement"), y = Dr(v ? v.ownerDocument : document);
|
|
66955
66960
|
!f && y === v || nt(o.current.floatingContext?.refs.floating.current, y) || nt(v, y) || g || Ob(f ?? y, n.context.triggerElements) || n.setOpen(!1, Ee(cT, p));
|
|
@@ -67022,7 +67027,7 @@ function iI(e, t = {}) {
|
|
|
67022
67027
|
c,
|
|
67023
67028
|
v
|
|
67024
67029
|
]), C.useEffect(() => v, [v]), ve(() => {
|
|
67025
|
-
if (a && r && c.handleCloseOptions?.blockPointerEvents && f() &&
|
|
67030
|
+
if (a && r && c.handleCloseOptions?.blockPointerEvents && f() && Pt(i) && o) {
|
|
67026
67031
|
const w = i, S = o, A = vt(o), T = u?.nodesRef.current.find((x) => x.id === d)?.context?.elements.floating;
|
|
67027
67032
|
T && (T.style.pointerEvents = "");
|
|
67028
67033
|
const P = c.handleCloseOptions?.getScope?.() ?? c.pointerEventsScopeElement ?? T ?? w.closest("[data-rootownerid]") ?? A.body;
|
|
@@ -67096,7 +67101,7 @@ function Zx(e, t = {}) {
|
|
|
67096
67101
|
const A = ge(() => ZQ(r.current.openEvent?.type, v.interactedInside)), T = ge((k) => Ob(k, n.context.triggerElements)), P = ge((k, R, E) => {
|
|
67097
67102
|
const I = n.context.triggerElements;
|
|
67098
67103
|
if (I.hasElement(R)) return !k || !nt(k, R);
|
|
67099
|
-
if (!
|
|
67104
|
+
if (!Pt(E)) return !1;
|
|
67100
67105
|
const N = E;
|
|
67101
67106
|
return I.hasMatchingElement((O) => nt(O, N)) && (!k || !nt(k, N));
|
|
67102
67107
|
}), x = C.useCallback((k, R = !0) => {
|
|
@@ -67132,7 +67137,7 @@ function Zx(e, t = {}) {
|
|
|
67132
67137
|
]), C.useEffect(() => {
|
|
67133
67138
|
if (!i) return;
|
|
67134
67139
|
const k = d.current ?? (f ? n.select("domReferenceElement") : null);
|
|
67135
|
-
if (!
|
|
67140
|
+
if (!Pt(k)) return;
|
|
67136
67141
|
function R(I) {
|
|
67137
67142
|
if (v.openChangeTimeout.clear(), v.blockMouseMove = !1, l && !Vd(v.pointerType) || EF(w.current) > 0 && !cp(b.current, "open")) return;
|
|
67138
67143
|
const N = cp(b.current, "open", v.pointerType), O = I.currentTarget ?? null, L = n.select("domReferenceElement"), F = O == null ? !1 : P(L, O, I.target), D = n.select("open"), $ = !D || F;
|
|
@@ -67706,7 +67711,7 @@ function tw(e = {}) {
|
|
|
67706
67711
|
h = !0;
|
|
67707
67712
|
return;
|
|
67708
67713
|
}
|
|
67709
|
-
if (M &&
|
|
67714
|
+
if (M && Pt(w.relatedTarget) && nt(A, w.relatedTarget)) return;
|
|
67710
67715
|
function R() {
|
|
67711
67716
|
return !!(u && qs(u.nodesRef.current, c).length > 0);
|
|
67712
67717
|
}
|
|
@@ -69735,7 +69740,7 @@ function au(e = {}) {
|
|
|
69735
69740
|
let h;
|
|
69736
69741
|
if (n) {
|
|
69737
69742
|
const f = r?.current;
|
|
69738
|
-
|
|
69743
|
+
Pt(f) && f.closest("label") != null ? h = t ?? null : h = a ?? s;
|
|
69739
69744
|
} else if (t != null)
|
|
69740
69745
|
u.current = !0, h = t;
|
|
69741
69746
|
else if (u.current) h = s;
|
|
@@ -72488,7 +72493,7 @@ var Utt = /* @__PURE__ */ C.forwardRef(function(t, n) {
|
|
|
72488
72493
|
le = -1;
|
|
72489
72494
|
for (let re = 0; re < R.current.length; re += 1) {
|
|
72490
72495
|
const ce = R.current[re];
|
|
72491
|
-
if (
|
|
72496
|
+
if (Pt(ce)) {
|
|
72492
72497
|
const oe = Hee(ce), q = Math.abs(H[ne] - oe[ne]);
|
|
72493
72498
|
(de === void 0 || q <= de) && (le = re, de = q);
|
|
72494
72499
|
}
|
|
@@ -72496,7 +72501,7 @@ var Utt = /* @__PURE__ */ C.forwardRef(function(t, n) {
|
|
|
72496
72501
|
}
|
|
72497
72502
|
if (le > -1 && le !== W && U(le), l) {
|
|
72498
72503
|
const ne = R.current[le];
|
|
72499
|
-
if (
|
|
72504
|
+
if (Pt(ne)) {
|
|
72500
72505
|
const de = ne.getBoundingClientRect();
|
|
72501
72506
|
K.current = de[O ? "height" : "width"] / 2;
|
|
72502
72507
|
}
|
|
@@ -72564,7 +72569,7 @@ var Utt = /* @__PURE__ */ C.forwardRef(function(t, n) {
|
|
|
72564
72569
|
"data-base-ui-slider-control": A ? "" : void 0,
|
|
72565
72570
|
onPointerDown(H) {
|
|
72566
72571
|
const W = L.current;
|
|
72567
|
-
if (!W || s || H.defaultPrevented || !
|
|
72572
|
+
if (!W || s || H.defaultPrevented || !Pt(H.target) || H.button !== 0) return;
|
|
72568
72573
|
const le = jv(H, $);
|
|
72569
72574
|
if (le != null) {
|
|
72570
72575
|
j(le);
|
|
@@ -85609,7 +85614,7 @@ var npt = (e) => [...new Set(e)], rpt = (e) => ({
|
|
|
85609
85614
|
stickers: e.stickers.length,
|
|
85610
85615
|
pinnedNumbers: e.pinnedNumbers.length,
|
|
85611
85616
|
comments: e.comments.length
|
|
85612
|
-
}), opt = "", ipt = "1.9.0-beta.
|
|
85617
|
+
}), opt = "", ipt = "1.9.0-beta.1792506850788", spt = /^(https?):\/\/([^@]+)@([^/]+)\/(\d+)\/?$/;
|
|
85613
85618
|
function Jne() {
|
|
85614
85619
|
return opt;
|
|
85615
85620
|
}
|
|
@@ -85765,7 +85770,7 @@ export {
|
|
|
85765
85770
|
Qvt as ElementsPanel,
|
|
85766
85771
|
Tme as GEOM_EFFECTS_VOCABULARY,
|
|
85767
85772
|
js as GRAPH_MODES,
|
|
85768
|
-
|
|
85773
|
+
Mt as GROUP_VARIABLES,
|
|
85769
85774
|
ps as Geom,
|
|
85770
85775
|
vyt as GeomCircle,
|
|
85771
85776
|
yyt as GeomLine,
|
|
@@ -85931,11 +85936,11 @@ export {
|
|
|
85931
85936
|
v7 as getStackRole,
|
|
85932
85937
|
Wge as getStrokeWidth,
|
|
85933
85938
|
Gge as getTileRectBounds,
|
|
85934
|
-
|
|
85939
|
+
Ct as getX,
|
|
85935
85940
|
qB as getXBand,
|
|
85936
85941
|
$r as getXMax,
|
|
85937
85942
|
xo as getXMin,
|
|
85938
|
-
|
|
85943
|
+
kt as getY,
|
|
85939
85944
|
XB as getYBand,
|
|
85940
85945
|
Hn as getYMax,
|
|
85941
85946
|
so as getYMin,
|