@malloydata/render 0.0.179-dev240904150848 → 0.0.179-dev240904162124
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.
|
@@ -145,19 +145,19 @@ const Ul = 1, fS = 2, wW = {
|
|
|
145
145
|
owner: null
|
|
146
146
|
};
|
|
147
147
|
var Zt = null;
|
|
148
|
-
let sR = null, sfe = null,
|
|
148
|
+
let sR = null, sfe = null, Ln = null, Vr = null, yl = null, k_ = 0;
|
|
149
149
|
function Tv(t, e) {
|
|
150
|
-
const n =
|
|
150
|
+
const n = Ln, r = Zt, i = t.length === 0, s = e === void 0 ? r : e, o = i ? wW : {
|
|
151
151
|
owned: null,
|
|
152
152
|
cleanups: null,
|
|
153
153
|
context: s ? s.context : null,
|
|
154
154
|
owner: s
|
|
155
|
-
}, u = i ? t : () => t(() =>
|
|
156
|
-
Zt = o,
|
|
155
|
+
}, u = i ? t : () => t(() => mo(() => M_(o)));
|
|
156
|
+
Zt = o, Ln = null;
|
|
157
157
|
try {
|
|
158
158
|
return c1(u, !0);
|
|
159
159
|
} finally {
|
|
160
|
-
|
|
160
|
+
Ln = n, Zt = r;
|
|
161
161
|
}
|
|
162
162
|
}
|
|
163
163
|
function F0(t, e) {
|
|
@@ -191,25 +191,25 @@ function Yr(t, e, n) {
|
|
|
191
191
|
function ufe(t) {
|
|
192
192
|
return c1(t, !1);
|
|
193
193
|
}
|
|
194
|
-
function
|
|
195
|
-
if (
|
|
194
|
+
function mo(t) {
|
|
195
|
+
if (Ln === null)
|
|
196
196
|
return t();
|
|
197
|
-
const e =
|
|
198
|
-
|
|
197
|
+
const e = Ln;
|
|
198
|
+
Ln = null;
|
|
199
199
|
try {
|
|
200
200
|
return t();
|
|
201
201
|
} finally {
|
|
202
|
-
|
|
202
|
+
Ln = e;
|
|
203
203
|
}
|
|
204
204
|
}
|
|
205
205
|
function rm(t) {
|
|
206
|
-
n3(() =>
|
|
206
|
+
n3(() => mo(t));
|
|
207
207
|
}
|
|
208
208
|
function LW(t) {
|
|
209
209
|
return Zt === null || (Zt.cleanups === null ? Zt.cleanups = [t] : Zt.cleanups.push(t)), t;
|
|
210
210
|
}
|
|
211
211
|
function fD() {
|
|
212
|
-
return
|
|
212
|
+
return Ln;
|
|
213
213
|
}
|
|
214
214
|
function IW(t, e) {
|
|
215
215
|
const n = Symbol("context");
|
|
@@ -237,9 +237,9 @@ function kW() {
|
|
|
237
237
|
const t = Vr;
|
|
238
238
|
Vr = null, c1(() => dS(this), !1), Vr = t;
|
|
239
239
|
}
|
|
240
|
-
if (
|
|
240
|
+
if (Ln) {
|
|
241
241
|
const t = this.observers ? this.observers.length : 0;
|
|
242
|
-
|
|
242
|
+
Ln.sources ? (Ln.sources.push(this), Ln.sourceSlots.push(t)) : (Ln.sources = [this], Ln.sourceSlots = [t]), this.observers ? (this.observers.push(Ln), this.observerSlots.push(Ln.sources.length - 1)) : (this.observers = [Ln], this.observerSlots = [Ln.sources.length - 1]);
|
|
243
243
|
}
|
|
244
244
|
return this.value;
|
|
245
245
|
}
|
|
@@ -267,14 +267,14 @@ function l1(t) {
|
|
|
267
267
|
}
|
|
268
268
|
function afe(t, e, n) {
|
|
269
269
|
let r;
|
|
270
|
-
const i = Zt, s =
|
|
271
|
-
|
|
270
|
+
const i = Zt, s = Ln;
|
|
271
|
+
Ln = Zt = t;
|
|
272
272
|
try {
|
|
273
273
|
r = t.fn(e);
|
|
274
274
|
} catch (o) {
|
|
275
275
|
return t.pure && (t.state = Ul, t.owned && t.owned.forEach(M_), t.owned = null), t.updatedAt = n + 1, UW(o);
|
|
276
276
|
} finally {
|
|
277
|
-
|
|
277
|
+
Ln = s, Zt = i;
|
|
278
278
|
}
|
|
279
279
|
(!t.updatedAt || t.updatedAt <= n) && (t.updatedAt != null && "observers" in t ? PW(t, r) : t.value = r, t.updatedAt = n);
|
|
280
280
|
}
|
|
@@ -299,7 +299,7 @@ function xS(t) {
|
|
|
299
299
|
return;
|
|
300
300
|
if (t.state === fS)
|
|
301
301
|
return dS(t);
|
|
302
|
-
if (t.suspense &&
|
|
302
|
+
if (t.suspense && mo(t.suspense.inFallback))
|
|
303
303
|
return t.suspense.effects.push(t);
|
|
304
304
|
const e = [t];
|
|
305
305
|
for (; (t = t.owner) && (!t.updatedAt || t.updatedAt < k_); )
|
|
@@ -406,7 +406,7 @@ function xfe(t, e) {
|
|
|
406
406
|
return function(r) {
|
|
407
407
|
let i;
|
|
408
408
|
return Ei(
|
|
409
|
-
() => i =
|
|
409
|
+
() => i = mo(() => (Zt.context = {
|
|
410
410
|
...Zt.context,
|
|
411
411
|
[t]: r.value
|
|
412
412
|
}, BW(() => r.children))),
|
|
@@ -423,7 +423,7 @@ function hfe(t, e, n = {}) {
|
|
|
423
423
|
let r = [], i = [], s = [], o = 0, u = e.length > 1 ? [] : null;
|
|
424
424
|
return LW(() => OP(s)), () => {
|
|
425
425
|
let a = t() || [], l, c;
|
|
426
|
-
return a[cD],
|
|
426
|
+
return a[cD], mo(() => {
|
|
427
427
|
let x = a.length, h, p, m, g, y, E, A, v, S;
|
|
428
428
|
if (x === 0)
|
|
429
429
|
o !== 0 && (OP(s), s = [], r = [], i = [], o = 0, u && (u = [])), n.fallback && (r = [dfe], i[0] = Tv((_) => (s[0] = _, n.fallback())), o = 1);
|
|
@@ -455,8 +455,8 @@ function hfe(t, e, n = {}) {
|
|
|
455
455
|
}
|
|
456
456
|
};
|
|
457
457
|
}
|
|
458
|
-
function
|
|
459
|
-
return
|
|
458
|
+
function gt(t, e) {
|
|
459
|
+
return mo(() => t(e || {}));
|
|
460
460
|
}
|
|
461
461
|
function gA() {
|
|
462
462
|
return !0;
|
|
@@ -557,7 +557,7 @@ function rx(...t) {
|
|
|
557
557
|
return i;
|
|
558
558
|
}
|
|
559
559
|
const qW = (t) => `Stale read from <${t}>.`;
|
|
560
|
-
function
|
|
560
|
+
function Zs(t) {
|
|
561
561
|
const e = "fallback" in t && {
|
|
562
562
|
fallback: () => t.fallback
|
|
563
563
|
};
|
|
@@ -572,10 +572,10 @@ function Eh(t) {
|
|
|
572
572
|
const r = n();
|
|
573
573
|
if (r) {
|
|
574
574
|
const i = t.children;
|
|
575
|
-
return typeof i == "function" && i.length > 0 ?
|
|
575
|
+
return typeof i == "function" && i.length > 0 ? mo(
|
|
576
576
|
() => i(
|
|
577
577
|
e ? r : () => {
|
|
578
|
-
if (!
|
|
578
|
+
if (!mo(n))
|
|
579
579
|
throw qW("Show");
|
|
580
580
|
return t.when;
|
|
581
581
|
}
|
|
@@ -612,10 +612,10 @@ function mfe(t) {
|
|
|
612
612
|
if (s < 0)
|
|
613
613
|
return t.fallback;
|
|
614
614
|
const a = u.children;
|
|
615
|
-
return typeof a == "function" && a.length > 0 ?
|
|
615
|
+
return typeof a == "function" && a.length > 0 ? mo(
|
|
616
616
|
() => a(
|
|
617
617
|
e ? o : () => {
|
|
618
|
-
if (
|
|
618
|
+
if (mo(i)[0] !== s)
|
|
619
619
|
throw qW("Match");
|
|
620
620
|
return u.when;
|
|
621
621
|
}
|
|
@@ -674,12 +674,12 @@ function yfe(t, e, n) {
|
|
|
674
674
|
}
|
|
675
675
|
}
|
|
676
676
|
}
|
|
677
|
-
function
|
|
677
|
+
function Fn(t, e, n) {
|
|
678
678
|
let r;
|
|
679
679
|
const i = () => {
|
|
680
680
|
const o = document.createElement("template");
|
|
681
681
|
return o.innerHTML = t, n ? o.content.firstChild.firstChild : o.content.firstChild;
|
|
682
|
-
}, s = e ? () =>
|
|
682
|
+
}, s = e ? () => mo(() => document.importNode(r || (r = i()), !0)) : () => (r || (r = i())).cloneNode(!0);
|
|
683
683
|
return s.cloneNode = s, s;
|
|
684
684
|
}
|
|
685
685
|
function zu(t, e, n) {
|
|
@@ -700,9 +700,9 @@ function $h(t, e, n) {
|
|
|
700
700
|
return n;
|
|
701
701
|
}
|
|
702
702
|
function $u(t, e, n) {
|
|
703
|
-
return
|
|
703
|
+
return mo(() => t(e, n));
|
|
704
704
|
}
|
|
705
|
-
function
|
|
705
|
+
function zt(t, e, n, r) {
|
|
706
706
|
if (n !== void 0 && !r && (r = []), typeof e != "function")
|
|
707
707
|
return hS(t, e, r, n);
|
|
708
708
|
Ei((i) => hS(t, e(), i, n), r);
|
|
@@ -830,7 +830,7 @@ function vfe(t) {
|
|
|
830
830
|
r.renderRoot.textContent = "", i();
|
|
831
831
|
});
|
|
832
832
|
const o = t(s, n);
|
|
833
|
-
return
|
|
833
|
+
return zt(r.renderRoot, o);
|
|
834
834
|
}, Afe(r));
|
|
835
835
|
};
|
|
836
836
|
}
|
|
@@ -1836,16 +1836,16 @@ J_.fnReplace = gde;
|
|
|
1836
1836
|
var Yh = {};
|
|
1837
1837
|
Object.defineProperty(Yh, "__esModule", { value: !0 });
|
|
1838
1838
|
Yh.fnByteLength = Yh.fnLength = void 0;
|
|
1839
|
-
const
|
|
1839
|
+
const eo = ye;
|
|
1840
1840
|
function mde() {
|
|
1841
1841
|
return [
|
|
1842
|
-
(0,
|
|
1842
|
+
(0, eo.overload)((0, eo.minScalar)("number"), [(0, eo.param)("value", (0, eo.anyExprType)("string"))], (0, eo.sql)`LENGTH(${(0, eo.arg)("value")})`)
|
|
1843
1843
|
];
|
|
1844
1844
|
}
|
|
1845
1845
|
Yh.fnLength = mde;
|
|
1846
1846
|
function yde() {
|
|
1847
1847
|
return [
|
|
1848
|
-
(0,
|
|
1848
|
+
(0, eo.overload)((0, eo.minScalar)("number"), [(0, eo.param)("value", (0, eo.anyExprType)("string"))], (0, eo.sql)`BYTE_LENGTH(${(0, eo.arg)("value")})`)
|
|
1849
1849
|
];
|
|
1850
1850
|
}
|
|
1851
1851
|
Yh.fnByteLength = yde;
|
|
@@ -2353,35 +2353,35 @@ function Ahe() {
|
|
|
2353
2353
|
];
|
|
2354
2354
|
}
|
|
2355
2355
|
Zh.fnStringAggDistinct = Ahe;
|
|
2356
|
-
var
|
|
2357
|
-
Object.defineProperty(
|
|
2358
|
-
|
|
2356
|
+
var ro = {};
|
|
2357
|
+
Object.defineProperty(ro, "__esModule", { value: !0 });
|
|
2358
|
+
ro.fnSqlBoolean = ro.fnSqlTimestamp = ro.fnSqlDate = ro.fnSqlString = ro.fnSqlNumber = void 0;
|
|
2359
2359
|
const nn = ye;
|
|
2360
2360
|
function vhe() {
|
|
2361
2361
|
const t = (0, nn.makeParam)("value", (0, nn.literal)((0, nn.maxScalar)("string")));
|
|
2362
2362
|
return [(0, nn.overload)((0, nn.minScalar)("number"), [t.param], t.arg)];
|
|
2363
2363
|
}
|
|
2364
|
-
|
|
2364
|
+
ro.fnSqlNumber = vhe;
|
|
2365
2365
|
function She() {
|
|
2366
2366
|
const t = (0, nn.makeParam)("value", (0, nn.literal)((0, nn.maxScalar)("string")));
|
|
2367
2367
|
return [(0, nn.overload)((0, nn.minScalar)("string"), [t.param], t.arg)];
|
|
2368
2368
|
}
|
|
2369
|
-
|
|
2369
|
+
ro.fnSqlString = She;
|
|
2370
2370
|
function _he() {
|
|
2371
2371
|
const t = (0, nn.makeParam)("value", (0, nn.literal)((0, nn.maxScalar)("string")));
|
|
2372
2372
|
return [(0, nn.overload)((0, nn.minScalar)("date"), [t.param], t.arg)];
|
|
2373
2373
|
}
|
|
2374
|
-
|
|
2374
|
+
ro.fnSqlDate = _he;
|
|
2375
2375
|
function bhe() {
|
|
2376
2376
|
const t = (0, nn.makeParam)("value", (0, nn.literal)((0, nn.maxScalar)("string")));
|
|
2377
2377
|
return [(0, nn.overload)((0, nn.minScalar)("timestamp"), [t.param], t.arg)];
|
|
2378
2378
|
}
|
|
2379
|
-
|
|
2379
|
+
ro.fnSqlTimestamp = bhe;
|
|
2380
2380
|
function Che() {
|
|
2381
2381
|
const t = (0, nn.makeParam)("value", (0, nn.literal)((0, nn.maxScalar)("string")));
|
|
2382
2382
|
return [(0, nn.overload)((0, nn.minScalar)("boolean"), [t.param], t.arg)];
|
|
2383
2383
|
}
|
|
2384
|
-
|
|
2384
|
+
ro.fnSqlBoolean = Che;
|
|
2385
2385
|
var E5 = {};
|
|
2386
2386
|
Object.defineProperty(E5, "__esModule", { value: !0 });
|
|
2387
2387
|
E5.fnSumMoving = void 0;
|
|
@@ -2402,7 +2402,7 @@ function The() {
|
|
|
2402
2402
|
E5.fnSumMoving = The;
|
|
2403
2403
|
(function(t) {
|
|
2404
2404
|
Object.defineProperty(t, "__esModule", { value: !0 }), t.FUNCTIONS = void 0;
|
|
2405
|
-
const e = H_, n = Q_, r = G_, i = W_, s = V_, o = U0, u = Y_, a = K_, l = X_, c = J_, f = Yh, x = Z_, h = e5, p = t5, m = n5, g = r5, y = i5, E = Kh, A = Yi, v = Xh, S = s5, _ = o5, b = u5, C = a5, R = l5, O = c5, I = f5, j = Jh, Q = q0, G = x5, P = d5, W = h5, oe = p5, ne = Bt, X = g5, ae = m5, de = y5, _e = Zh, D =
|
|
2405
|
+
const e = H_, n = Q_, r = G_, i = W_, s = V_, o = U0, u = Y_, a = K_, l = X_, c = J_, f = Yh, x = Z_, h = e5, p = t5, m = n5, g = r5, y = i5, E = Kh, A = Yi, v = Xh, S = s5, _ = o5, b = u5, C = a5, R = l5, O = c5, I = f5, j = Jh, Q = q0, G = x5, P = d5, W = h5, oe = p5, ne = Bt, X = g5, ae = m5, de = y5, _e = Zh, D = ro, k = E5;
|
|
2406
2406
|
t.FUNCTIONS = new ae.FunctionMap(), t.FUNCTIONS.add("concat", e.fnConcat), t.FUNCTIONS.add("round", i.fnRound), t.FUNCTIONS.add("trunc", n.fnTrunc), t.FUNCTIONS.add("floor", ne.fnFloor), t.FUNCTIONS.add("ceil", ne.fnCeil), t.FUNCTIONS.add("cos", ne.fnCos), t.FUNCTIONS.add("acos", ne.fnAcos), t.FUNCTIONS.add("sin", ne.fnSin), t.FUNCTIONS.add("asin", ne.fnAsin), t.FUNCTIONS.add("tan", ne.fnTan), t.FUNCTIONS.add("atan", ne.fnAtan), t.FUNCTIONS.add("atan2", b.fnAtan2), t.FUNCTIONS.add("lower", s.fnLower), t.FUNCTIONS.add("upper", u.fnUpper), t.FUNCTIONS.add("sqrt", ne.fnSqrt), t.FUNCTIONS.add("pow", C.fnPow), t.FUNCTIONS.add("abs", ne.fnAbs), t.FUNCTIONS.add("sign", ne.fnSign), t.FUNCTIONS.add("is_inf", S.fnIsInf), t.FUNCTIONS.add("is_nan", _.fnIsNan), t.FUNCTIONS.add("greatest", j.fnGreatest), t.FUNCTIONS.add("least", j.fnLeast), t.FUNCTIONS.add("div", I.fnDiv), t.FUNCTIONS.add("strpos", O.fnStrpos), t.FUNCTIONS.add("starts_with", v.fnStartsWith), t.FUNCTIONS.add("ends_with", v.fnEndsWith), t.FUNCTIONS.add("trim", Q.fnTrim), t.FUNCTIONS.add("ltrim", Q.fnLtrim), t.FUNCTIONS.add("rtrim", Q.fnRtrim), t.FUNCTIONS.add("rand", G.fnRand), t.FUNCTIONS.add("pi", P.fnPi), t.FUNCTIONS.add("substr", a.fnSubstr), t.FUNCTIONS.add("regexp_extract", l.fnRegexpExtract), t.FUNCTIONS.add("replace", c.fnReplace), t.FUNCTIONS.add("length", f.fnLength), t.FUNCTIONS.add("byte_length", f.fnByteLength), t.FUNCTIONS.add("ifnull", x.fnIfnull), t.FUNCTIONS.add("coalesce", de.fnCoalesce), t.FUNCTIONS.add("nullif", h.fnNullif), t.FUNCTIONS.add("chr", o.fnChr), t.FUNCTIONS.add("ascii", o.fnAscii), t.FUNCTIONS.add("unicode", o.fnUnicode), t.FUNCTIONS.add("repeat", W.fnRepeat), t.FUNCTIONS.add("reverse", oe.fnReverse), t.FUNCTIONS.add("log", R.fnLog), t.FUNCTIONS.add("ln", ne.fnLn), t.FUNCTIONS.add("exp", ne.fnExp), t.FUNCTIONS.add("stddev", r.fnStddev), t.FUNCTIONS.add("string_agg", _e.fnStringAgg), t.FUNCTIONS.add("string_agg_distinct", _e.fnStringAggDistinct), t.FUNCTIONS.add("row_number", p.fnRowNumber), t.FUNCTIONS.add("lag", m.fnLag), t.FUNCTIONS.add("lead", g.fnLead), t.FUNCTIONS.add("rank", y.fnRank), t.FUNCTIONS.add("first_value", E.fnFirstValueWindow), t.FUNCTIONS.add("last_value", E.fnLastValueWindow), t.FUNCTIONS.add("min_cumulative", A.fnMinCumulative), t.FUNCTIONS.add("max_cumulative", A.fnMaxCumulative), t.FUNCTIONS.add("sum_cumulative", A.fnSumCumulative), t.FUNCTIONS.add("min_window", A.fnMinWindow), t.FUNCTIONS.add("max_window", A.fnMaxWindow), t.FUNCTIONS.add("sum_window", A.fnSumWindow), t.FUNCTIONS.add("avg_moving", X.fnAvgRolling), t.FUNCTIONS.add("sum_moving", k.fnSumMoving), t.FUNCTIONS.add("sql_number", D.fnSqlNumber), t.FUNCTIONS.add("sql_string", D.fnSqlString), t.FUNCTIONS.add("sql_date", D.fnSqlDate), t.FUNCTIONS.add("sql_timestamp", D.fnSqlTimestamp), t.FUNCTIONS.add("sql_boolean", D.fnSqlBoolean), t.FUNCTIONS.seal();
|
|
2407
2407
|
})(dV);
|
|
2408
2408
|
(function(t) {
|
|
@@ -3404,13 +3404,13 @@ M5.fnByteLength = a2e;
|
|
|
3404
3404
|
var j5 = {};
|
|
3405
3405
|
Object.defineProperty(j5, "__esModule", { value: !0 });
|
|
3406
3406
|
j5.fnCountApprox = void 0;
|
|
3407
|
-
const
|
|
3407
|
+
const Ro = ye;
|
|
3408
3408
|
function l2e() {
|
|
3409
|
-
const t = (0,
|
|
3409
|
+
const t = (0, Ro.makeParam)("value", (0, Ro.maxScalar)("number"));
|
|
3410
3410
|
return [
|
|
3411
|
-
(0,
|
|
3412
|
-
(0,
|
|
3413
|
-
], (0,
|
|
3411
|
+
(0, Ro.overload)((0, Ro.minAggregate)("number"), [
|
|
3412
|
+
(0, Ro.param)("value", (0, Ro.anyExprType)("string"), (0, Ro.anyExprType)("number"), (0, Ro.anyExprType)("date"), (0, Ro.anyExprType)("timestamp"), (0, Ro.anyExprType)("boolean"))
|
|
3413
|
+
], (0, Ro.sql)`APPROX_COUNT_DISTINCT(${t.arg})`, { isSymmetric: !0 })
|
|
3414
3414
|
];
|
|
3415
3415
|
}
|
|
3416
3416
|
j5.fnCountApprox = l2e;
|
|
@@ -3847,16 +3847,16 @@ eb.fnIsNan = F2e;
|
|
|
3847
3847
|
var i2 = {};
|
|
3848
3848
|
Object.defineProperty(i2, "__esModule", { value: !0 });
|
|
3849
3849
|
i2.fnByteLength = i2.fnLength = void 0;
|
|
3850
|
-
const
|
|
3850
|
+
const to = ye;
|
|
3851
3851
|
function w2e() {
|
|
3852
3852
|
return [
|
|
3853
|
-
(0,
|
|
3853
|
+
(0, to.overload)((0, to.minScalar)("number"), [(0, to.param)("value", (0, to.anyExprType)("string"))], (0, to.sql)`LENGTH(${(0, to.arg)("value")})`)
|
|
3854
3854
|
];
|
|
3855
3855
|
}
|
|
3856
3856
|
i2.fnLength = w2e;
|
|
3857
3857
|
function L2e() {
|
|
3858
3858
|
return [
|
|
3859
|
-
(0,
|
|
3859
|
+
(0, to.overload)((0, to.minScalar)("number"), [(0, to.param)("value", (0, to.anyExprType)("string"))], (0, to.sql)`CEIL(BIT_LENGTH(${(0, to.arg)("value")}) / 8)`)
|
|
3860
3860
|
];
|
|
3861
3861
|
}
|
|
3862
3862
|
i2.fnByteLength = L2e;
|
|
@@ -4446,13 +4446,13 @@ hb.fnReverse = l1e;
|
|
|
4446
4446
|
var pb = {};
|
|
4447
4447
|
Object.defineProperty(pb, "__esModule", { value: !0 });
|
|
4448
4448
|
pb.fnCountApprox = void 0;
|
|
4449
|
-
const
|
|
4449
|
+
const No = ye;
|
|
4450
4450
|
function c1e() {
|
|
4451
|
-
const t = (0,
|
|
4451
|
+
const t = (0, No.makeParam)("value", (0, No.maxScalar)("number"));
|
|
4452
4452
|
return [
|
|
4453
|
-
(0,
|
|
4454
|
-
(0,
|
|
4455
|
-
], (0,
|
|
4453
|
+
(0, No.overload)((0, No.minAggregate)("number"), [
|
|
4454
|
+
(0, No.param)("value", (0, No.anyExprType)("string"), (0, No.anyExprType)("number"), (0, No.anyExprType)("date"), (0, No.anyExprType)("timestamp"), (0, No.anyExprType)("boolean"))
|
|
4455
|
+
], (0, No.sql)`APPROX_DISTINCT(${t.arg})`, { isSymmetric: !0 })
|
|
4456
4456
|
];
|
|
4457
4457
|
}
|
|
4458
4458
|
pb.fnCountApprox = c1e;
|
|
@@ -5890,7 +5890,7 @@ class B1e {
|
|
|
5890
5890
|
name: "ignoreme",
|
|
5891
5891
|
pipeline: [n]
|
|
5892
5892
|
};
|
|
5893
|
-
return
|
|
5893
|
+
return co.makeQuery(
|
|
5894
5894
|
i,
|
|
5895
5895
|
r,
|
|
5896
5896
|
new r3(!0, void 0),
|
|
@@ -5900,7 +5900,7 @@ class B1e {
|
|
|
5900
5900
|
}
|
|
5901
5901
|
}
|
|
5902
5902
|
mx.Segment = B1e;
|
|
5903
|
-
class
|
|
5903
|
+
class co extends gS {
|
|
5904
5904
|
constructor(e, n, r, i) {
|
|
5905
5905
|
super(e, n), this.prepared = !1, this.maxDepth = 0, this.maxGroupSet = 0, this.fieldDef = e, this.rootResult = new I1e(e), this.stageWriter = r, this.firstSegment = e.pipeline[0], this.isJoinedSubquery = i;
|
|
5906
5906
|
}
|
|
@@ -5984,7 +5984,7 @@ class lo extends gS {
|
|
|
5984
5984
|
let n = 1;
|
|
5985
5985
|
for (const r of this.getSegmentFields(e)) {
|
|
5986
5986
|
const { as: i, field: s } = this.expandField(r);
|
|
5987
|
-
if (s instanceof FV || s instanceof
|
|
5987
|
+
if (s instanceof FV || s instanceof co) {
|
|
5988
5988
|
if (this.firstSegment.type === "project")
|
|
5989
5989
|
throw new Error(`Nested views cannot be used in select - '${s.fieldDef.name}'`);
|
|
5990
5990
|
const o = new wu(s.fieldDef, e);
|
|
@@ -6546,7 +6546,7 @@ FROM ${n}
|
|
|
6546
6546
|
const c = new Hr(i, void 0, {
|
|
6547
6547
|
model: this.parent.getModel()
|
|
6548
6548
|
});
|
|
6549
|
-
u =
|
|
6549
|
+
u = co.makeQuery(l, c, n, this.isJoinedSubquery).generateSQLFromPipeline(n), i = u.outputStruct;
|
|
6550
6550
|
}
|
|
6551
6551
|
return i.annotation = e.turtleDef.annotation, {
|
|
6552
6552
|
structDef: i,
|
|
@@ -6584,7 +6584,7 @@ FROM ${n}
|
|
|
6584
6584
|
for (const o of i) {
|
|
6585
6585
|
const u = new Hr(s, void 0, {
|
|
6586
6586
|
model: this.parent.getModel()
|
|
6587
|
-
}), a =
|
|
6587
|
+
}), a = co.makeQuery({ type: "turtle", name: "ignoreme", pipeline: [o] }, u, e, this.isJoinedSubquery);
|
|
6588
6588
|
a.prepare(e), n = a.generateSQL(e), r = a.getResultStructDef(), s = {
|
|
6589
6589
|
...r,
|
|
6590
6590
|
structSource: { type: "sql", method: "lastStage" }
|
|
@@ -6594,11 +6594,11 @@ FROM ${n}
|
|
|
6594
6594
|
return { lastStageName: n, outputStruct: r };
|
|
6595
6595
|
}
|
|
6596
6596
|
}
|
|
6597
|
-
class k1e extends
|
|
6597
|
+
class k1e extends co {
|
|
6598
6598
|
}
|
|
6599
|
-
class P1e extends
|
|
6599
|
+
class P1e extends co {
|
|
6600
6600
|
}
|
|
6601
|
-
class M1e extends
|
|
6601
|
+
class M1e extends co {
|
|
6602
6602
|
constructor(e, n, r, i) {
|
|
6603
6603
|
super(e, n, r, i), this.indexPaths = {}, this.fieldDef = e;
|
|
6604
6604
|
}
|
|
@@ -6690,7 +6690,7 @@ FROM ${h}
|
|
|
6690
6690
|
`), this.resultStage;
|
|
6691
6691
|
}
|
|
6692
6692
|
}
|
|
6693
|
-
class j1e extends
|
|
6693
|
+
class j1e extends co {
|
|
6694
6694
|
generateSQL(e) {
|
|
6695
6695
|
const n = this.parent.fieldDef.structSource;
|
|
6696
6696
|
if (n.type !== "sql" || n.method !== "subquery")
|
|
@@ -6706,7 +6706,7 @@ class j1e extends lo {
|
|
|
6706
6706
|
getResultMetadata(e) {
|
|
6707
6707
|
}
|
|
6708
6708
|
}
|
|
6709
|
-
class U1e extends
|
|
6709
|
+
class U1e extends co {
|
|
6710
6710
|
constructor(e, n, r, i) {
|
|
6711
6711
|
super(e, n, r, i), this.stages = [], this.fieldDef = e, this.fieldsToStages();
|
|
6712
6712
|
}
|
|
@@ -6836,7 +6836,7 @@ class Hr extends NV {
|
|
|
6836
6836
|
break;
|
|
6837
6837
|
}
|
|
6838
6838
|
case "turtle": {
|
|
6839
|
-
this.addFieldToNameMap(r,
|
|
6839
|
+
this.addFieldToNameMap(r, co.makeQuery(n, this, void 0, !1));
|
|
6840
6840
|
break;
|
|
6841
6841
|
}
|
|
6842
6842
|
default:
|
|
@@ -7101,7 +7101,7 @@ class wV {
|
|
|
7101
7101
|
name: "ignoreme",
|
|
7102
7102
|
pipeline: e.pipeline,
|
|
7103
7103
|
filterList: e.filterList
|
|
7104
|
-
}, u =
|
|
7104
|
+
}, u = co.makeQuery(o, this.getStructFromRef(e.structRef, e.sourceArguments), n, i), a = u.generateSQLFromPipeline(n);
|
|
7105
7105
|
if (r && u.parent.dialect.hasFinalStage) {
|
|
7106
7106
|
const l = (0, et.getPhysicalFields)(a.outputStruct).map((c) => u.parent.dialect.sqlMaybeQuoteIdentifier(c.name));
|
|
7107
7107
|
a.lastStageName = n.addStage(u.parent.dialect.sqlFinalStage(a.lastStageName, l));
|
|
@@ -7278,7 +7278,7 @@ var mb = {}, OR = { exports: {} }, RR = {}, Z0 = {}, $V = {}, Ow = function() {
|
|
|
7278
7278
|
l.prototype = n.prototype, i.prototype = new l(), l.prototype = null;
|
|
7279
7279
|
}
|
|
7280
7280
|
return i;
|
|
7281
|
-
}, X1e = K1e, Nw = Function.prototype.bind || X1e, J1e = Nw, Z1e = J1e.call(Function.call, Object.prototype.hasOwnProperty),
|
|
7281
|
+
}, X1e = K1e, Nw = Function.prototype.bind || X1e, J1e = Nw, Z1e = J1e.call(Function.call, Object.prototype.hasOwnProperty), yt, c2 = SyntaxError, BV = Function, Bh = TypeError, DR = function(t) {
|
|
7282
7282
|
try {
|
|
7283
7283
|
return BV('"use strict"; return (' + t + ").constructor;")();
|
|
7284
7284
|
} catch {
|
|
@@ -7304,22 +7304,22 @@ var FR = function() {
|
|
|
7304
7304
|
}
|
|
7305
7305
|
}() : FR, ih = H1e(), tpe = G1e(), or = Object.getPrototypeOf || (tpe ? function(t) {
|
|
7306
7306
|
return t.__proto__;
|
|
7307
|
-
} : null), Ah = {}, npe = typeof Uint8Array > "u" || !or ?
|
|
7308
|
-
"%AggregateError%": typeof AggregateError > "u" ?
|
|
7307
|
+
} : null), Ah = {}, npe = typeof Uint8Array > "u" || !or ? yt : or(Uint8Array), sx = {
|
|
7308
|
+
"%AggregateError%": typeof AggregateError > "u" ? yt : AggregateError,
|
|
7309
7309
|
"%Array%": Array,
|
|
7310
|
-
"%ArrayBuffer%": typeof ArrayBuffer > "u" ?
|
|
7311
|
-
"%ArrayIteratorPrototype%": ih && or ? or([][Symbol.iterator]()) :
|
|
7312
|
-
"%AsyncFromSyncIteratorPrototype%":
|
|
7310
|
+
"%ArrayBuffer%": typeof ArrayBuffer > "u" ? yt : ArrayBuffer,
|
|
7311
|
+
"%ArrayIteratorPrototype%": ih && or ? or([][Symbol.iterator]()) : yt,
|
|
7312
|
+
"%AsyncFromSyncIteratorPrototype%": yt,
|
|
7313
7313
|
"%AsyncFunction%": Ah,
|
|
7314
7314
|
"%AsyncGenerator%": Ah,
|
|
7315
7315
|
"%AsyncGeneratorFunction%": Ah,
|
|
7316
7316
|
"%AsyncIteratorPrototype%": Ah,
|
|
7317
|
-
"%Atomics%": typeof Atomics > "u" ?
|
|
7318
|
-
"%BigInt%": typeof BigInt > "u" ?
|
|
7319
|
-
"%BigInt64Array%": typeof BigInt64Array > "u" ?
|
|
7320
|
-
"%BigUint64Array%": typeof BigUint64Array > "u" ?
|
|
7317
|
+
"%Atomics%": typeof Atomics > "u" ? yt : Atomics,
|
|
7318
|
+
"%BigInt%": typeof BigInt > "u" ? yt : BigInt,
|
|
7319
|
+
"%BigInt64Array%": typeof BigInt64Array > "u" ? yt : BigInt64Array,
|
|
7320
|
+
"%BigUint64Array%": typeof BigUint64Array > "u" ? yt : BigUint64Array,
|
|
7321
7321
|
"%Boolean%": Boolean,
|
|
7322
|
-
"%DataView%": typeof DataView > "u" ?
|
|
7322
|
+
"%DataView%": typeof DataView > "u" ? yt : DataView,
|
|
7323
7323
|
"%Date%": Date,
|
|
7324
7324
|
"%decodeURI%": decodeURI,
|
|
7325
7325
|
"%decodeURIComponent%": decodeURIComponent,
|
|
@@ -7329,49 +7329,49 @@ var FR = function() {
|
|
|
7329
7329
|
"%eval%": eval,
|
|
7330
7330
|
// eslint-disable-line no-eval
|
|
7331
7331
|
"%EvalError%": EvalError,
|
|
7332
|
-
"%Float32Array%": typeof Float32Array > "u" ?
|
|
7333
|
-
"%Float64Array%": typeof Float64Array > "u" ?
|
|
7334
|
-
"%FinalizationRegistry%": typeof FinalizationRegistry > "u" ?
|
|
7332
|
+
"%Float32Array%": typeof Float32Array > "u" ? yt : Float32Array,
|
|
7333
|
+
"%Float64Array%": typeof Float64Array > "u" ? yt : Float64Array,
|
|
7334
|
+
"%FinalizationRegistry%": typeof FinalizationRegistry > "u" ? yt : FinalizationRegistry,
|
|
7335
7335
|
"%Function%": BV,
|
|
7336
7336
|
"%GeneratorFunction%": Ah,
|
|
7337
|
-
"%Int8Array%": typeof Int8Array > "u" ?
|
|
7338
|
-
"%Int16Array%": typeof Int16Array > "u" ?
|
|
7339
|
-
"%Int32Array%": typeof Int32Array > "u" ?
|
|
7337
|
+
"%Int8Array%": typeof Int8Array > "u" ? yt : Int8Array,
|
|
7338
|
+
"%Int16Array%": typeof Int16Array > "u" ? yt : Int16Array,
|
|
7339
|
+
"%Int32Array%": typeof Int32Array > "u" ? yt : Int32Array,
|
|
7340
7340
|
"%isFinite%": isFinite,
|
|
7341
7341
|
"%isNaN%": isNaN,
|
|
7342
|
-
"%IteratorPrototype%": ih && or ? or(or([][Symbol.iterator]())) :
|
|
7343
|
-
"%JSON%": typeof JSON == "object" ? JSON :
|
|
7344
|
-
"%Map%": typeof Map > "u" ?
|
|
7345
|
-
"%MapIteratorPrototype%": typeof Map > "u" || !ih || !or ?
|
|
7342
|
+
"%IteratorPrototype%": ih && or ? or(or([][Symbol.iterator]())) : yt,
|
|
7343
|
+
"%JSON%": typeof JSON == "object" ? JSON : yt,
|
|
7344
|
+
"%Map%": typeof Map > "u" ? yt : Map,
|
|
7345
|
+
"%MapIteratorPrototype%": typeof Map > "u" || !ih || !or ? yt : or((/* @__PURE__ */ new Map())[Symbol.iterator]()),
|
|
7346
7346
|
"%Math%": Math,
|
|
7347
7347
|
"%Number%": Number,
|
|
7348
7348
|
"%Object%": Object,
|
|
7349
7349
|
"%parseFloat%": parseFloat,
|
|
7350
7350
|
"%parseInt%": parseInt,
|
|
7351
|
-
"%Promise%": typeof Promise > "u" ?
|
|
7352
|
-
"%Proxy%": typeof Proxy > "u" ?
|
|
7351
|
+
"%Promise%": typeof Promise > "u" ? yt : Promise,
|
|
7352
|
+
"%Proxy%": typeof Proxy > "u" ? yt : Proxy,
|
|
7353
7353
|
"%RangeError%": RangeError,
|
|
7354
7354
|
"%ReferenceError%": ReferenceError,
|
|
7355
|
-
"%Reflect%": typeof Reflect > "u" ?
|
|
7355
|
+
"%Reflect%": typeof Reflect > "u" ? yt : Reflect,
|
|
7356
7356
|
"%RegExp%": RegExp,
|
|
7357
|
-
"%Set%": typeof Set > "u" ?
|
|
7358
|
-
"%SetIteratorPrototype%": typeof Set > "u" || !ih || !or ?
|
|
7359
|
-
"%SharedArrayBuffer%": typeof SharedArrayBuffer > "u" ?
|
|
7357
|
+
"%Set%": typeof Set > "u" ? yt : Set,
|
|
7358
|
+
"%SetIteratorPrototype%": typeof Set > "u" || !ih || !or ? yt : or((/* @__PURE__ */ new Set())[Symbol.iterator]()),
|
|
7359
|
+
"%SharedArrayBuffer%": typeof SharedArrayBuffer > "u" ? yt : SharedArrayBuffer,
|
|
7360
7360
|
"%String%": String,
|
|
7361
|
-
"%StringIteratorPrototype%": ih && or ? or(""[Symbol.iterator]()) :
|
|
7362
|
-
"%Symbol%": ih ? Symbol :
|
|
7361
|
+
"%StringIteratorPrototype%": ih && or ? or(""[Symbol.iterator]()) : yt,
|
|
7362
|
+
"%Symbol%": ih ? Symbol : yt,
|
|
7363
7363
|
"%SyntaxError%": c2,
|
|
7364
7364
|
"%ThrowTypeError%": epe,
|
|
7365
7365
|
"%TypedArray%": npe,
|
|
7366
7366
|
"%TypeError%": Bh,
|
|
7367
|
-
"%Uint8Array%": typeof Uint8Array > "u" ?
|
|
7368
|
-
"%Uint8ClampedArray%": typeof Uint8ClampedArray > "u" ?
|
|
7369
|
-
"%Uint16Array%": typeof Uint16Array > "u" ?
|
|
7370
|
-
"%Uint32Array%": typeof Uint32Array > "u" ?
|
|
7367
|
+
"%Uint8Array%": typeof Uint8Array > "u" ? yt : Uint8Array,
|
|
7368
|
+
"%Uint8ClampedArray%": typeof Uint8ClampedArray > "u" ? yt : Uint8ClampedArray,
|
|
7369
|
+
"%Uint16Array%": typeof Uint16Array > "u" ? yt : Uint16Array,
|
|
7370
|
+
"%Uint32Array%": typeof Uint32Array > "u" ? yt : Uint32Array,
|
|
7371
7371
|
"%URIError%": URIError,
|
|
7372
|
-
"%WeakMap%": typeof WeakMap > "u" ?
|
|
7373
|
-
"%WeakRef%": typeof WeakRef > "u" ?
|
|
7374
|
-
"%WeakSet%": typeof WeakSet > "u" ?
|
|
7372
|
+
"%WeakMap%": typeof WeakMap > "u" ? yt : WeakMap,
|
|
7373
|
+
"%WeakRef%": typeof WeakRef > "u" ? yt : WeakRef,
|
|
7374
|
+
"%WeakSet%": typeof WeakSet > "u" ? yt : WeakSet
|
|
7375
7375
|
};
|
|
7376
7376
|
if (or)
|
|
7377
7377
|
try {
|
|
@@ -9364,8 +9364,8 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
9364
9364
|
qe.position++;
|
|
9365
9365
|
}
|
|
9366
9366
|
qe.val1.set(Z, qe.position), qe.val2.set(ue, qe.position);
|
|
9367
|
-
var
|
|
9368
|
-
return qe.val1.delete(Z), qe.val2.delete(ue),
|
|
9367
|
+
var mt = Be(Z, ue, Oe, Le, qe, Ue);
|
|
9368
|
+
return qe.val1.delete(Z), qe.val2.delete(ue), mt;
|
|
9369
9369
|
}
|
|
9370
9370
|
function H(Z, ue, Oe, qe) {
|
|
9371
9371
|
for (var Ue = a(Z), Le = 0; Le < Ue.length; Le++) {
|
|
@@ -9450,11 +9450,11 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
9450
9450
|
}
|
|
9451
9451
|
if (Ue !== null) {
|
|
9452
9452
|
for (var fe = l(ue), we = 0; we < fe.length; we++) {
|
|
9453
|
-
var ze = t(fe[we], 2), nt = ze[0],
|
|
9453
|
+
var ze = t(fe[we], 2), nt = ze[0], mt = ze[1];
|
|
9454
9454
|
if (o(nt) === "object" && nt !== null) {
|
|
9455
|
-
if (!J(Ue, Z, nt,
|
|
9455
|
+
if (!J(Ue, Z, nt, mt, Oe, qe))
|
|
9456
9456
|
return !1;
|
|
9457
|
-
} else if (!Oe && (!Z.has(nt) || !$(Z.get(nt),
|
|
9457
|
+
} else if (!Oe && (!Z.has(nt) || !$(Z.get(nt), mt, !1, qe)) && !J(Ue, Z, nt, mt, !1, qe))
|
|
9458
9458
|
return !1;
|
|
9459
9459
|
}
|
|
9460
9460
|
return Ue.size === 0;
|
|
@@ -10165,13 +10165,13 @@ var Er = {};
|
|
|
10165
10165
|
e[e.INVALID_TYPE = 0] = "INVALID_TYPE", e[e.BASIC = 1] = "BASIC", e[e.RULE_START = 2] = "RULE_START", e[e.BLOCK_START = 3] = "BLOCK_START", e[e.PLUS_BLOCK_START = 4] = "PLUS_BLOCK_START", e[e.STAR_BLOCK_START = 5] = "STAR_BLOCK_START", e[e.TOKEN_START = 6] = "TOKEN_START", e[e.RULE_STOP = 7] = "RULE_STOP", e[e.BLOCK_END = 8] = "BLOCK_END", e[e.STAR_LOOP_BACK = 9] = "STAR_LOOP_BACK", e[e.STAR_LOOP_ENTRY = 10] = "STAR_LOOP_ENTRY", e[e.PLUS_LOOP_BACK = 11] = "PLUS_LOOP_BACK", e[e.LOOP_END = 12] = "LOOP_END";
|
|
10166
10166
|
}(t.ATNStateType || (t.ATNStateType = {}));
|
|
10167
10167
|
})(Er);
|
|
10168
|
-
var bc = {},
|
|
10168
|
+
var bc = {}, bo = {};
|
|
10169
10169
|
/*!
|
|
10170
10170
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
10171
10171
|
* Licensed under the BSD-3-Clause license. See LICENSE file in the project root for license information.
|
|
10172
10172
|
*/
|
|
10173
|
-
Object.defineProperty(
|
|
10174
|
-
|
|
10173
|
+
Object.defineProperty(bo, "__esModule", { value: !0 });
|
|
10174
|
+
bo.RecognitionException = void 0;
|
|
10175
10175
|
class mge extends Error {
|
|
10176
10176
|
constructor(e, n, r, i) {
|
|
10177
10177
|
super(i), this._offendingState = -1, this._recognizer = e, this.input = n, this.ctx = r, e && (this._offendingState = e.state);
|
|
@@ -10248,7 +10248,7 @@ class mge extends Error {
|
|
|
10248
10248
|
return this._recognizer;
|
|
10249
10249
|
}
|
|
10250
10250
|
}
|
|
10251
|
-
|
|
10251
|
+
bo.RecognitionException = mge;
|
|
10252
10252
|
var sy = {}, x1 = {}, ru = {};
|
|
10253
10253
|
/*!
|
|
10254
10254
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -10324,7 +10324,7 @@ class Age extends Ege.Transition {
|
|
|
10324
10324
|
}
|
|
10325
10325
|
}
|
|
10326
10326
|
x1.AbstractPredicateTransition = Age;
|
|
10327
|
-
var sd = {}, iu = {}, Sb = {},
|
|
10327
|
+
var sd = {}, iu = {}, Sb = {}, wn = {};
|
|
10328
10328
|
(function(t) {
|
|
10329
10329
|
/*!
|
|
10330
10330
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -10364,7 +10364,7 @@ var sd = {}, iu = {}, Sb = {}, Fn = {};
|
|
|
10364
10364
|
return c;
|
|
10365
10365
|
}
|
|
10366
10366
|
}(t.MurmurHash || (t.MurmurHash = {}));
|
|
10367
|
-
})(
|
|
10367
|
+
})(wn);
|
|
10368
10368
|
var js = {};
|
|
10369
10369
|
/*!
|
|
10370
10370
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -10428,7 +10428,7 @@ var oY = F && F.__decorate || function(t, e, n, r) {
|
|
|
10428
10428
|
};
|
|
10429
10429
|
Object.defineProperty(Sb, "__esModule", { value: !0 });
|
|
10430
10430
|
Sb.DefaultEqualityComparator = void 0;
|
|
10431
|
-
const uY = Ae, vge =
|
|
10431
|
+
const uY = Ae, vge = wn, gM = js;
|
|
10432
10432
|
class o3 {
|
|
10433
10433
|
/**
|
|
10434
10434
|
* {@inheritDoc}
|
|
@@ -10479,10 +10479,10 @@ var ri = F && F.__decorate || function(t, e, n, r) {
|
|
|
10479
10479
|
};
|
|
10480
10480
|
Object.defineProperty(iu, "__esModule", { value: !0 });
|
|
10481
10481
|
iu.Array2DHashSet = void 0;
|
|
10482
|
-
const _ge = Ni(), bge = Sb, ii = Ae, YR =
|
|
10483
|
-
class
|
|
10482
|
+
const _ge = Ni(), bge = Sb, ii = Ae, YR = wn, vA = 16, KR = 0.75;
|
|
10483
|
+
class Bn {
|
|
10484
10484
|
constructor(e, n = vA) {
|
|
10485
|
-
if (this.n = 0, this.threshold = Math.floor(vA * KR), e instanceof
|
|
10485
|
+
if (this.n = 0, this.threshold = Math.floor(vA * KR), e instanceof Bn) {
|
|
10486
10486
|
this.comparator = e.comparator, this.buckets = e.buckets.slice(0);
|
|
10487
10487
|
for (let r = 0; r < this.buckets.length; r++) {
|
|
10488
10488
|
let i = this.buckets[r];
|
|
@@ -10534,7 +10534,7 @@ class $n {
|
|
|
10534
10534
|
return e = YR.MurmurHash.finish(e, this.size), e;
|
|
10535
10535
|
}
|
|
10536
10536
|
equals(e) {
|
|
10537
|
-
return e === this ? !0 : !(e instanceof
|
|
10537
|
+
return e === this ? !0 : !(e instanceof Bn) || e.size !== this.size ? !1 : this.containsAll(e);
|
|
10538
10538
|
}
|
|
10539
10539
|
expand() {
|
|
10540
10540
|
let e = this.buckets, n = this.buckets.length * 2, r = this.createBuckets(n);
|
|
@@ -10579,7 +10579,7 @@ class $n {
|
|
|
10579
10579
|
return e;
|
|
10580
10580
|
}
|
|
10581
10581
|
containsAll(e) {
|
|
10582
|
-
if (e instanceof
|
|
10582
|
+
if (e instanceof Bn) {
|
|
10583
10583
|
let n = e;
|
|
10584
10584
|
for (let r of n.buckets)
|
|
10585
10585
|
if (r != null)
|
|
@@ -10662,53 +10662,53 @@ class $n {
|
|
|
10662
10662
|
}
|
|
10663
10663
|
ri([
|
|
10664
10664
|
ii.NotNull
|
|
10665
|
-
],
|
|
10665
|
+
], Bn.prototype, "comparator", void 0);
|
|
10666
10666
|
ri([
|
|
10667
10667
|
ii.Override
|
|
10668
|
-
],
|
|
10668
|
+
], Bn.prototype, "hashCode", null);
|
|
10669
10669
|
ri([
|
|
10670
10670
|
ii.Override
|
|
10671
|
-
],
|
|
10671
|
+
], Bn.prototype, "equals", null);
|
|
10672
10672
|
ri([
|
|
10673
10673
|
ii.Override
|
|
10674
|
-
],
|
|
10674
|
+
], Bn.prototype, "add", null);
|
|
10675
10675
|
ri([
|
|
10676
10676
|
ii.Override
|
|
10677
|
-
],
|
|
10677
|
+
], Bn.prototype, "size", null);
|
|
10678
10678
|
ri([
|
|
10679
10679
|
ii.Override
|
|
10680
|
-
],
|
|
10680
|
+
], Bn.prototype, "isEmpty", null);
|
|
10681
10681
|
ri([
|
|
10682
10682
|
ii.Override
|
|
10683
|
-
],
|
|
10683
|
+
], Bn.prototype, "contains", null);
|
|
10684
10684
|
ri([
|
|
10685
10685
|
Sge(0, ii.Nullable)
|
|
10686
|
-
],
|
|
10686
|
+
], Bn.prototype, "containsFast", null);
|
|
10687
10687
|
ri([
|
|
10688
10688
|
ii.Override
|
|
10689
|
-
],
|
|
10689
|
+
], Bn.prototype, Symbol.iterator, null);
|
|
10690
10690
|
ri([
|
|
10691
10691
|
ii.Override
|
|
10692
|
-
],
|
|
10692
|
+
], Bn.prototype, "toArray", null);
|
|
10693
10693
|
ri([
|
|
10694
10694
|
ii.Override
|
|
10695
|
-
],
|
|
10695
|
+
], Bn.prototype, "containsAll", null);
|
|
10696
10696
|
ri([
|
|
10697
10697
|
ii.Override
|
|
10698
|
-
],
|
|
10698
|
+
], Bn.prototype, "addAll", null);
|
|
10699
10699
|
ri([
|
|
10700
10700
|
ii.Override
|
|
10701
|
-
],
|
|
10701
|
+
], Bn.prototype, "clear", null);
|
|
10702
10702
|
ri([
|
|
10703
10703
|
ii.Override
|
|
10704
|
-
],
|
|
10704
|
+
], Bn.prototype, "toString", null);
|
|
10705
10705
|
ri([
|
|
10706
10706
|
ii.SuppressWarnings("unchecked")
|
|
10707
|
-
],
|
|
10707
|
+
], Bn.prototype, "asElementType", null);
|
|
10708
10708
|
ri([
|
|
10709
10709
|
ii.SuppressWarnings("unchecked")
|
|
10710
|
-
],
|
|
10711
|
-
iu.Array2DHashSet =
|
|
10710
|
+
], Bn.prototype, "createBuckets", null);
|
|
10711
|
+
iu.Array2DHashSet = Bn;
|
|
10712
10712
|
var od = {};
|
|
10713
10713
|
/*!
|
|
10714
10714
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -10725,7 +10725,7 @@ var aY = F && F.__decorate || function(t, e, n, r) {
|
|
|
10725
10725
|
};
|
|
10726
10726
|
Object.defineProperty(od, "__esModule", { value: !0 });
|
|
10727
10727
|
od.ArrayEqualityComparator = void 0;
|
|
10728
|
-
const lY = Ae, Cge =
|
|
10728
|
+
const lY = Ae, Cge = wn, Tge = js;
|
|
10729
10729
|
class u3 {
|
|
10730
10730
|
/**
|
|
10731
10731
|
* {@inheritDoc}
|
|
@@ -10822,7 +10822,7 @@ gn.toCharArray = Fge;
|
|
|
10822
10822
|
};
|
|
10823
10823
|
};
|
|
10824
10824
|
Object.defineProperty(t, "__esModule", { value: !0 }), t.SemanticContext = void 0;
|
|
10825
|
-
const r = iu, i = od, s =
|
|
10825
|
+
const r = iu, i = od, s = wn, o = Ae, u = js, a = gn;
|
|
10826
10826
|
function l(x) {
|
|
10827
10827
|
let h;
|
|
10828
10828
|
for (let p of x) {
|
|
@@ -11182,7 +11182,7 @@ var cY = F && F.__decorate || function(t, e, n, r) {
|
|
|
11182
11182
|
};
|
|
11183
11183
|
Object.defineProperty(bc, "__esModule", { value: !0 });
|
|
11184
11184
|
bc.FailedPredicateException = void 0;
|
|
11185
|
-
const Bge =
|
|
11185
|
+
const Bge = bo, fY = Ae, kge = sy;
|
|
11186
11186
|
let vS = class xY extends Bge.RecognitionException {
|
|
11187
11187
|
constructor(e, n, r) {
|
|
11188
11188
|
super(e, e.inputStream, e.context, xY.formatMessage(n, r));
|
|
@@ -11229,7 +11229,7 @@ var Pge = F && F.__decorate || function(t, e, n, r) {
|
|
|
11229
11229
|
};
|
|
11230
11230
|
Object.defineProperty(ud, "__esModule", { value: !0 });
|
|
11231
11231
|
ud.InputMismatchException = void 0;
|
|
11232
|
-
const jge =
|
|
11232
|
+
const jge = bo, Uge = Ae;
|
|
11233
11233
|
let ED = class extends jge.RecognitionException {
|
|
11234
11234
|
constructor(e, n, r) {
|
|
11235
11235
|
r === void 0 && (r = e.context), super(e, e.inputStream, r), n !== void 0 && this.setOffendingState(n), this.setOffendingToken(e, e.currentToken);
|
|
@@ -11583,7 +11583,7 @@ Lw([
|
|
|
11583
11583
|
Iw.Override
|
|
11584
11584
|
], Ex.prototype, "toString", null);
|
|
11585
11585
|
Ar.Interval = Ex;
|
|
11586
|
-
var kp = {}, Tb = {}, Cc = {},
|
|
11586
|
+
var kp = {}, Tb = {}, Cc = {}, Wt = {};
|
|
11587
11587
|
(function(t) {
|
|
11588
11588
|
/*!
|
|
11589
11589
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -11594,7 +11594,7 @@ var kp = {}, Tb = {}, Cc = {}, Gt = {};
|
|
|
11594
11594
|
(function(n) {
|
|
11595
11595
|
n.INVALID_TYPE = 0, n.EPSILON = -2, n.MIN_USER_TOKEN_TYPE = 1, n.EOF = e.IntStream.EOF, n.DEFAULT_CHANNEL = 0, n.HIDDEN_CHANNEL = 1, n.MIN_USER_CHANNEL_VALUE = 2;
|
|
11596
11596
|
})(t.Token || (t.Token = {}));
|
|
11597
|
-
})(
|
|
11597
|
+
})(Wt);
|
|
11598
11598
|
/*!
|
|
11599
11599
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
11600
11600
|
* Licensed under the BSD-3-Clause license. See LICENSE file in the project root for license information.
|
|
@@ -11614,7 +11614,7 @@ var fs = F && F.__decorate || function(t, e, n, r) {
|
|
|
11614
11614
|
};
|
|
11615
11615
|
Object.defineProperty(Cc, "__esModule", { value: !0 });
|
|
11616
11616
|
Cc.CommonToken = void 0;
|
|
11617
|
-
const Hge = Ar, xs = Ae, mM =
|
|
11617
|
+
const Hge = Ar, xs = Ae, mM = Wt;
|
|
11618
11618
|
let Nr = class im {
|
|
11619
11619
|
constructor(e, n, r = im.EMPTY_SOURCE, i = mM.Token.DEFAULT_CHANNEL, s = 0, o = 0) {
|
|
11620
11620
|
this._line = 0, this._charPositionInLine = -1, this._channel = mM.Token.DEFAULT_CHANNEL, this.index = -1, this._text = n, this._type = e, this.source = r, this._channel = i, this.start = s, this.stop = o, r.source != null && (this._line = r.source.line, this._charPositionInLine = r.source.charPositionInLine);
|
|
@@ -12048,7 +12048,7 @@ function su() {
|
|
|
12048
12048
|
};
|
|
12049
12049
|
};
|
|
12050
12050
|
Object.defineProperty(t, "__esModule", { value: !0 }), t.SingletonPredictionContext = t.PredictionContext = void 0;
|
|
12051
|
-
const r = zl, i = iu, s = _b, o =
|
|
12051
|
+
const r = zl, i = iu, s = _b, o = wn, u = Ae, a = $w(), l = Ni(), c = 1;
|
|
12052
12052
|
class f {
|
|
12053
12053
|
constructor(g) {
|
|
12054
12054
|
this.cachedHashCode = g;
|
|
@@ -12505,7 +12505,7 @@ var Un = F && F.__decorate || function(t, e, n, r) {
|
|
|
12505
12505
|
};
|
|
12506
12506
|
Object.defineProperty(ad, "__esModule", { value: !0 });
|
|
12507
12507
|
ad.ATNConfig = void 0;
|
|
12508
|
-
const Xge = zl, Jge = va, Ja =
|
|
12508
|
+
const Xge = zl, Jge = va, Ja = wn, Qt = Ae, Zge = js, vM = su(), Bf = sd, SM = Ni(), rN = 2147483648;
|
|
12509
12509
|
let Di = class sm {
|
|
12510
12510
|
constructor(e, n, r) {
|
|
12511
12511
|
typeof n == "number" ? (SM((n & 16777215) === n), this._state = e, this.altAndOuterContextDepth = n, this._context = r) : (this._state = e, this.altAndOuterContextDepth = n.altAndOuterContextDepth, this._context = r);
|
|
@@ -12682,41 +12682,41 @@ let Di = class sm {
|
|
|
12682
12682
|
}
|
|
12683
12683
|
};
|
|
12684
12684
|
Un([
|
|
12685
|
-
|
|
12685
|
+
Qt.NotNull
|
|
12686
12686
|
], Di.prototype, "_state", void 0);
|
|
12687
12687
|
Un([
|
|
12688
|
-
|
|
12688
|
+
Qt.NotNull
|
|
12689
12689
|
], Di.prototype, "_context", void 0);
|
|
12690
12690
|
Un([
|
|
12691
|
-
|
|
12691
|
+
Qt.NotNull
|
|
12692
12692
|
], Di.prototype, "state", null);
|
|
12693
12693
|
Un([
|
|
12694
|
-
|
|
12695
|
-
Ls(0,
|
|
12694
|
+
Qt.NotNull,
|
|
12695
|
+
Ls(0, Qt.NotNull)
|
|
12696
12696
|
], Di.prototype, "context", null);
|
|
12697
12697
|
Un([
|
|
12698
|
-
|
|
12698
|
+
Qt.NotNull
|
|
12699
12699
|
], Di.prototype, "semanticContext", null);
|
|
12700
12700
|
Un([
|
|
12701
|
-
|
|
12701
|
+
Qt.Override
|
|
12702
12702
|
], Di.prototype, "clone", null);
|
|
12703
12703
|
Un([
|
|
12704
|
-
Ls(0,
|
|
12705
|
-
Ls(2,
|
|
12704
|
+
Ls(0, Qt.NotNull),
|
|
12705
|
+
Ls(2, Qt.NotNull)
|
|
12706
12706
|
], Di.prototype, "transformImpl", null);
|
|
12707
12707
|
Un([
|
|
12708
|
-
|
|
12708
|
+
Qt.Override
|
|
12709
12709
|
], Di.prototype, "equals", null);
|
|
12710
12710
|
Un([
|
|
12711
|
-
|
|
12711
|
+
Qt.Override
|
|
12712
12712
|
], Di.prototype, "hashCode", null);
|
|
12713
12713
|
Un([
|
|
12714
|
-
Ls(0,
|
|
12715
|
-
Ls(3,
|
|
12714
|
+
Ls(0, Qt.NotNull),
|
|
12715
|
+
Ls(3, Qt.NotNull)
|
|
12716
12716
|
], Di, "create", null);
|
|
12717
12717
|
Di = Un([
|
|
12718
|
-
Ls(0,
|
|
12719
|
-
Ls(2,
|
|
12718
|
+
Ls(0, Qt.NotNull),
|
|
12719
|
+
Ls(2, Qt.NotNull)
|
|
12720
12720
|
], Di);
|
|
12721
12721
|
ad.ATNConfig = Di;
|
|
12722
12722
|
let Ax = class extends Di {
|
|
@@ -12728,14 +12728,14 @@ let Ax = class extends Di {
|
|
|
12728
12728
|
}
|
|
12729
12729
|
};
|
|
12730
12730
|
Un([
|
|
12731
|
-
|
|
12731
|
+
Qt.NotNull
|
|
12732
12732
|
], Ax.prototype, "_semanticContext", void 0);
|
|
12733
12733
|
Un([
|
|
12734
|
-
|
|
12734
|
+
Qt.Override
|
|
12735
12735
|
], Ax.prototype, "semanticContext", null);
|
|
12736
12736
|
Ax = Un([
|
|
12737
|
-
Ls(1,
|
|
12738
|
-
Ls(2,
|
|
12737
|
+
Ls(1, Qt.NotNull),
|
|
12738
|
+
Ls(2, Qt.NotNull)
|
|
12739
12739
|
], Ax);
|
|
12740
12740
|
let x2 = class extends Di {
|
|
12741
12741
|
constructor(e, n, r, i, s) {
|
|
@@ -12753,14 +12753,14 @@ let x2 = class extends Di {
|
|
|
12753
12753
|
}
|
|
12754
12754
|
};
|
|
12755
12755
|
Un([
|
|
12756
|
-
|
|
12756
|
+
Qt.Override
|
|
12757
12757
|
], x2.prototype, "lexerActionExecutor", null);
|
|
12758
12758
|
Un([
|
|
12759
|
-
|
|
12759
|
+
Qt.Override
|
|
12760
12760
|
], x2.prototype, "hasPassedThroughNonGreedyDecision", null);
|
|
12761
12761
|
x2 = Un([
|
|
12762
|
-
Ls(1,
|
|
12763
|
-
Ls(2,
|
|
12762
|
+
Ls(1, Qt.NotNull),
|
|
12763
|
+
Ls(2, Qt.NotNull)
|
|
12764
12764
|
], x2);
|
|
12765
12765
|
let d2 = class extends Ax {
|
|
12766
12766
|
constructor(e, n, r, i, s, o) {
|
|
@@ -12774,14 +12774,14 @@ let d2 = class extends Ax {
|
|
|
12774
12774
|
}
|
|
12775
12775
|
};
|
|
12776
12776
|
Un([
|
|
12777
|
-
|
|
12777
|
+
Qt.Override
|
|
12778
12778
|
], d2.prototype, "lexerActionExecutor", null);
|
|
12779
12779
|
Un([
|
|
12780
|
-
|
|
12780
|
+
Qt.Override
|
|
12781
12781
|
], d2.prototype, "hasPassedThroughNonGreedyDecision", null);
|
|
12782
12782
|
d2 = Un([
|
|
12783
|
-
Ls(1,
|
|
12784
|
-
Ls(2,
|
|
12783
|
+
Ls(1, Qt.NotNull),
|
|
12784
|
+
Ls(2, Qt.NotNull)
|
|
12785
12785
|
], d2);
|
|
12786
12786
|
var ou = {};
|
|
12787
12787
|
/*!
|
|
@@ -12790,7 +12790,7 @@ var ou = {};
|
|
|
12790
12790
|
*/
|
|
12791
12791
|
Object.defineProperty(ou, "__esModule", { value: !0 });
|
|
12792
12792
|
ou.BitSet = void 0;
|
|
12793
|
-
const eme = Z0, tme =
|
|
12793
|
+
const eme = Z0, tme = wn, jp = new Uint16Array(0);
|
|
12794
12794
|
function Es(t) {
|
|
12795
12795
|
return t >>> 4;
|
|
12796
12796
|
}
|
|
@@ -13471,7 +13471,7 @@ function Ob() {
|
|
|
13471
13471
|
};
|
|
13472
13472
|
};
|
|
13473
13473
|
Object.defineProperty(t, "__esModule", { value: !0 }), t.DFAState = void 0;
|
|
13474
|
-
const r = uu(), i = ou, s =
|
|
13474
|
+
const r = uu(), i = ou, s = wn, o = Ae, u = su(), a = Ni();
|
|
13475
13475
|
class l {
|
|
13476
13476
|
/**
|
|
13477
13477
|
* Constructs a new `DFAState`.
|
|
@@ -13735,7 +13735,7 @@ var Sa = F && F.__decorate || function(t, e, n, r) {
|
|
|
13735
13735
|
};
|
|
13736
13736
|
Object.defineProperty(Tc, "__esModule", { value: !0 });
|
|
13737
13737
|
Tc.Recognizer = void 0;
|
|
13738
|
-
const ime = cy, sme = h1, Is = Ae, RM =
|
|
13738
|
+
const ime = cy, sme = h1, Is = Ae, RM = Wt, ome = gn;
|
|
13739
13739
|
class Yn {
|
|
13740
13740
|
constructor() {
|
|
13741
13741
|
this._listeners = [ime.ConsoleErrorListener.INSTANCE], this._stateNumber = -1;
|
|
@@ -13924,7 +13924,7 @@ var Oc = F && F.__decorate || function(t, e, n, r) {
|
|
|
13924
13924
|
};
|
|
13925
13925
|
Object.defineProperty(Us, "__esModule", { value: !0 });
|
|
13926
13926
|
Us.VocabularyImpl = void 0;
|
|
13927
|
-
const Nl = Ae, ume =
|
|
13927
|
+
const Nl = Ae, ume = Wt;
|
|
13928
13928
|
class Yo {
|
|
13929
13929
|
/**
|
|
13930
13930
|
* Constructs a new instance of {@link VocabularyImpl} from the specified
|
|
@@ -14337,7 +14337,7 @@ function Bw() {
|
|
|
14337
14337
|
};
|
|
14338
14338
|
};
|
|
14339
14339
|
Object.defineProperty(Qp, "__esModule", { value: !0 }), Qp.SetTransition = void 0;
|
|
14340
|
-
const n = dd(), r = Ae, i =
|
|
14340
|
+
const n = dd(), r = Ae, i = Wt, s = ru;
|
|
14341
14341
|
let o = class extends s.Transition {
|
|
14342
14342
|
// TODO (sam): should we really allow undefined here?
|
|
14343
14343
|
constructor(a, l) {
|
|
@@ -14578,7 +14578,7 @@ function Ome() {
|
|
|
14578
14578
|
};
|
|
14579
14579
|
};
|
|
14580
14580
|
Object.defineProperty(zp, "__esModule", { value: !0 }), zp.LL1Analyzer = void 0;
|
|
14581
|
-
const n = x1, r = iu, i = ad, s = ou, o = dd(), u = Ae, a = kw(), l = js, c = su(), f = Rc, x = g1, h =
|
|
14581
|
+
const n = x1, r = iu, i = ad, s = ou, o = dd(), u = Ae, a = kw(), l = js, c = su(), f = Rc, x = g1, h = Wt, p = hy;
|
|
14582
14582
|
let m = class bD {
|
|
14583
14583
|
constructor(y) {
|
|
14584
14584
|
this.atn = y;
|
|
@@ -14739,7 +14739,7 @@ function uu() {
|
|
|
14739
14739
|
};
|
|
14740
14740
|
};
|
|
14741
14741
|
Object.defineProperty(t, "__esModule", { value: !0 }), t.ATN = void 0;
|
|
14742
|
-
const r = zl, i = EY(), s = dd(), o = fy, u = Ome(), a = Ae, l = js, c = su(), f =
|
|
14742
|
+
const r = zl, i = EY(), s = dd(), o = fy, u = Ome(), a = Ae, l = js, c = su(), f = Wt, x = Ni();
|
|
14743
14743
|
let h = class {
|
|
14744
14744
|
/** Used for runtime deserialization of ATNs from strings */
|
|
14745
14745
|
constructor(m, g) {
|
|
@@ -14886,7 +14886,7 @@ var ld = F && F.__decorate || function(t, e, n, r) {
|
|
|
14886
14886
|
};
|
|
14887
14887
|
Object.defineProperty(wb, "__esModule", { value: !0 });
|
|
14888
14888
|
wb.LexerIndexedCustomAction = void 0;
|
|
14889
|
-
const SA =
|
|
14889
|
+
const SA = wn, cd = Ae;
|
|
14890
14890
|
let Dl = class bY {
|
|
14891
14891
|
/**
|
|
14892
14892
|
* Constructs a new indexed custom action by associating a character offset
|
|
@@ -14997,7 +14997,7 @@ var fd = F && F.__decorate || function(t, e, n, r) {
|
|
|
14997
14997
|
};
|
|
14998
14998
|
Object.defineProperty(Fb, "__esModule", { value: !0 });
|
|
14999
14999
|
Fb.LexerActionExecutor = void 0;
|
|
15000
|
-
const Nme = od, uN = wb, aN =
|
|
15000
|
+
const Nme = od, uN = wb, aN = wn, ec = Ae;
|
|
15001
15001
|
let Fl = class um {
|
|
15002
15002
|
/**
|
|
15003
15003
|
* Constructs an executor for a sequence of {@link LexerAction} actions.
|
|
@@ -15157,7 +15157,7 @@ var jw = F && F.__decorate || function(t, e, n, r) {
|
|
|
15157
15157
|
};
|
|
15158
15158
|
Object.defineProperty(xd, "__esModule", { value: !0 });
|
|
15159
15159
|
xd.LexerNoViableAltException = void 0;
|
|
15160
|
-
const Fme =
|
|
15160
|
+
const Fme = bo, Uw = Ae, wme = Ar, Lme = gn;
|
|
15161
15161
|
let l3 = class extends Fme.RecognitionException {
|
|
15162
15162
|
constructor(e, n, r, i) {
|
|
15163
15163
|
super(e, n), this._startIndex = r, this._deadEndConfigs = i;
|
|
@@ -15250,7 +15250,7 @@ function py() {
|
|
|
15250
15250
|
};
|
|
15251
15251
|
};
|
|
15252
15252
|
Object.defineProperty(t, "__esModule", { value: !0 }), t.LexerATNSimulator = void 0;
|
|
15253
|
-
const r = ay, i = uu(), s = ad, o = ly(), u = Rb(), a = Ob(), l = Ar, c = ql, f = Hl(), x = Fb, h = xd, p = Ae, m = Ime(), g = su(), y = Rc, E =
|
|
15253
|
+
const r = ay, i = uu(), s = ad, o = ly(), u = Rb(), a = Ob(), l = Ar, c = ql, f = Hl(), x = Fb, h = xd, p = Ae, m = Ime(), g = su(), y = Rc, E = Wt, A = Ni();
|
|
15254
15254
|
let v = class As extends u.ATNSimulator {
|
|
15255
15255
|
constructor(_, b) {
|
|
15256
15256
|
super(_), this.optimize_tail_calls = !0, this.startIndex = -1, this._line = 1, this._charPositionInLine = 0, this.mode = f.Lexer.DEFAULT_MODE, this.prevAccept = new As.SimState(), this.recog = b;
|
|
@@ -15645,7 +15645,7 @@ function Hl() {
|
|
|
15645
15645
|
return m > 3 && g && Object.defineProperty(x, h, g), g;
|
|
15646
15646
|
};
|
|
15647
15647
|
Object.defineProperty(kp, "__esModule", { value: !0 }), kp.Lexer = void 0;
|
|
15648
|
-
const e = Tb, n = uy, r = Ar, i = ql, s = py(), o = xd, u = Ae, a = Tc, l =
|
|
15648
|
+
const e = Tb, n = uy, r = Ar, i = ql, s = py(), o = xd, u = Ae, a = Tc, l = Wt;
|
|
15649
15649
|
let c = class y0 extends a.Recognizer {
|
|
15650
15650
|
constructor(x) {
|
|
15651
15651
|
super(), this._factory = e.CommonTokenFactory.DEFAULT, this._tokenStartCharIndex = -1, this._tokenStartLine = 0, this._tokenStartCharPositionInLine = 0, this._hitEOF = !1, this._channel = 0, this._type = 0, this._modeStack = new n.IntegerStack(), this._mode = y0.DEFAULT_MODE, this._input = x, this._tokenFactorySourcePair = { source: this, stream: x };
|
|
@@ -15859,7 +15859,7 @@ function dd() {
|
|
|
15859
15859
|
};
|
|
15860
15860
|
};
|
|
15861
15861
|
Object.defineProperty(Bp, "__esModule", { value: !0 }), Bp.IntervalSet = void 0;
|
|
15862
|
-
const n = od, r = d1, i = Ar, s = Hl(), o =
|
|
15862
|
+
const n = od, r = d1, i = Ar, s = Hl(), o = wn, u = Ae, a = Wt;
|
|
15863
15863
|
let l = class Nt {
|
|
15864
15864
|
constructor(f) {
|
|
15865
15865
|
this.readonly = !1, f != null ? this._intervals = f.slice(0) : this._intervals = [];
|
|
@@ -16528,7 +16528,7 @@ var m1 = F && F.__decorate || function(t, e, n, r) {
|
|
|
16528
16528
|
};
|
|
16529
16529
|
Object.defineProperty(Bb, "__esModule", { value: !0 });
|
|
16530
16530
|
Bb.LexerChannelAction = void 0;
|
|
16531
|
-
const _A =
|
|
16531
|
+
const _A = wn, Tx = Ae;
|
|
16532
16532
|
class Ql {
|
|
16533
16533
|
/**
|
|
16534
16534
|
* Constructs a new `channel` action with the specified channel value.
|
|
@@ -16619,7 +16619,7 @@ var _y = F && F.__decorate || function(t, e, n, r) {
|
|
|
16619
16619
|
};
|
|
16620
16620
|
Object.defineProperty(kb, "__esModule", { value: !0 });
|
|
16621
16621
|
kb.LexerCustomAction = void 0;
|
|
16622
|
-
const Kp =
|
|
16622
|
+
const Kp = wn, m2 = Ae;
|
|
16623
16623
|
class Nc {
|
|
16624
16624
|
/**
|
|
16625
16625
|
* Constructs a custom lexer action with the specified rule and action
|
|
@@ -16725,7 +16725,7 @@ var y1 = F && F.__decorate || function(t, e, n, r) {
|
|
|
16725
16725
|
};
|
|
16726
16726
|
Object.defineProperty(Pb, "__esModule", { value: !0 });
|
|
16727
16727
|
Pb.LexerModeAction = void 0;
|
|
16728
|
-
const bA =
|
|
16728
|
+
const bA = wn, Ox = Ae;
|
|
16729
16729
|
class Gl {
|
|
16730
16730
|
/**
|
|
16731
16731
|
* Constructs a new `mode` action with the specified mode value.
|
|
@@ -16816,7 +16816,7 @@ var RY = {};
|
|
|
16816
16816
|
};
|
|
16817
16817
|
};
|
|
16818
16818
|
Object.defineProperty(t, "__esModule", { value: !0 }), t.LexerMoreAction = void 0;
|
|
16819
|
-
const r =
|
|
16819
|
+
const r = wn, i = Ae;
|
|
16820
16820
|
class s {
|
|
16821
16821
|
/**
|
|
16822
16822
|
* Constructs the singleton instance of the lexer `more` command.
|
|
@@ -16893,7 +16893,7 @@ var NY = {};
|
|
|
16893
16893
|
};
|
|
16894
16894
|
};
|
|
16895
16895
|
Object.defineProperty(t, "__esModule", { value: !0 }), t.LexerPopModeAction = void 0;
|
|
16896
|
-
const r =
|
|
16896
|
+
const r = wn, i = Ae;
|
|
16897
16897
|
class s {
|
|
16898
16898
|
/**
|
|
16899
16899
|
* Constructs the singleton instance of the lexer `popMode` command.
|
|
@@ -16970,7 +16970,7 @@ var E1 = F && F.__decorate || function(t, e, n, r) {
|
|
|
16970
16970
|
};
|
|
16971
16971
|
Object.defineProperty(Mb, "__esModule", { value: !0 });
|
|
16972
16972
|
Mb.LexerPushModeAction = void 0;
|
|
16973
|
-
const CA =
|
|
16973
|
+
const CA = wn, Rx = Ae;
|
|
16974
16974
|
class Wl {
|
|
16975
16975
|
/**
|
|
16976
16976
|
* Constructs a new `pushMode` action with the specified mode value.
|
|
@@ -17061,7 +17061,7 @@ var DY = {};
|
|
|
17061
17061
|
};
|
|
17062
17062
|
};
|
|
17063
17063
|
Object.defineProperty(t, "__esModule", { value: !0 }), t.LexerSkipAction = void 0;
|
|
17064
|
-
const r =
|
|
17064
|
+
const r = wn, i = Ae;
|
|
17065
17065
|
class s {
|
|
17066
17066
|
/**
|
|
17067
17067
|
* Constructs the singleton instance of the lexer `skip` command.
|
|
@@ -17138,7 +17138,7 @@ var A1 = F && F.__decorate || function(t, e, n, r) {
|
|
|
17138
17138
|
};
|
|
17139
17139
|
Object.defineProperty(jb, "__esModule", { value: !0 });
|
|
17140
17140
|
jb.LexerTypeAction = void 0;
|
|
17141
|
-
const TA =
|
|
17141
|
+
const TA = wn, Nx = Ae;
|
|
17142
17142
|
class Vl {
|
|
17143
17143
|
/**
|
|
17144
17144
|
* Constructs a new `type` action with the specified token type value.
|
|
@@ -17307,7 +17307,7 @@ var _a = F && F.__decorate || function(t, e, n, r) {
|
|
|
17307
17307
|
};
|
|
17308
17308
|
Object.defineProperty(au, "__esModule", { value: !0 });
|
|
17309
17309
|
au.TerminalNode = void 0;
|
|
17310
|
-
const c3e = Ar, ba = Ae, f3e =
|
|
17310
|
+
const c3e = Ar, ba = Ae, f3e = Wt;
|
|
17311
17311
|
class lu {
|
|
17312
17312
|
constructor(e) {
|
|
17313
17313
|
this._symbol = e;
|
|
@@ -17439,7 +17439,7 @@ function wc() {
|
|
|
17439
17439
|
};
|
|
17440
17440
|
};
|
|
17441
17441
|
Object.defineProperty(eg, "__esModule", { value: !0 }), eg.Trees = void 0;
|
|
17442
|
-
const n = uu(), r = Cc, i = Dc, s = Ae, o = C1(), u =
|
|
17442
|
+
const n = uu(), r = Cc, i = Dc, s = Ae, o = C1(), u = Co(), a = Fc, l = au, c = Wt, f = gn;
|
|
17443
17443
|
let x = class E0 {
|
|
17444
17444
|
static toStringTree(p, m) {
|
|
17445
17445
|
let g;
|
|
@@ -17609,7 +17609,7 @@ function BY() {
|
|
|
17609
17609
|
return h > 3 && p && Object.defineProperty(c, f, p), p;
|
|
17610
17610
|
};
|
|
17611
17611
|
Object.defineProperty(Zp, "__esModule", { value: !0 }), Zp.RuleContext = void 0;
|
|
17612
|
-
const e = uu(), n = Tc, r = Fc, i = Ar, s = Ae, o = wc(), u =
|
|
17612
|
+
const e = uu(), n = Tc, r = Fc, i = Ar, s = Ae, o = wc(), u = Co();
|
|
17613
17613
|
let a = class $Y extends r.RuleNode {
|
|
17614
17614
|
constructor(c, f) {
|
|
17615
17615
|
super(), this._parent = c, this.invokingState = f ?? -1;
|
|
@@ -17737,7 +17737,7 @@ function BY() {
|
|
|
17737
17737
|
], a.prototype, "toStringTree", null), Zp.RuleContext = a, Zp;
|
|
17738
17738
|
}
|
|
17739
17739
|
var zM;
|
|
17740
|
-
function
|
|
17740
|
+
function Co() {
|
|
17741
17741
|
if (zM)
|
|
17742
17742
|
return Jp;
|
|
17743
17743
|
zM = 1;
|
|
@@ -17949,7 +17949,7 @@ var kY = {};
|
|
|
17949
17949
|
return c > 3 && f && Object.defineProperty(u, a, f), f;
|
|
17950
17950
|
};
|
|
17951
17951
|
Object.defineProperty(t, "__esModule", { value: !0 }), t.PredictionMode = void 0;
|
|
17952
|
-
const n = zl, r =
|
|
17952
|
+
const n = zl, r = wn, i = Ae, s = Rc;
|
|
17953
17953
|
(function(o) {
|
|
17954
17954
|
o[o.SLL = 0] = "SLL", o[o.LL = 1] = "LL", o[o.LL_EXACT_AMBIG_DETECTION = 2] = "LL_EXACT_AMBIG_DETECTION";
|
|
17955
17955
|
})(t.PredictionMode || (t.PredictionMode = {})), function(o) {
|
|
@@ -18017,7 +18017,7 @@ function PY() {
|
|
|
18017
18017
|
};
|
|
18018
18018
|
};
|
|
18019
18019
|
Object.defineProperty(tg, "__esModule", { value: !0 }), tg.SimulatorState = void 0;
|
|
18020
|
-
const n = Ae, r =
|
|
18020
|
+
const n = Ae, r = Co();
|
|
18021
18021
|
let i = class {
|
|
18022
18022
|
constructor(o, u, a, l) {
|
|
18023
18023
|
this.outerContext = o ?? r.ParserRuleContext.emptyContext(), this.s0 = u, this.useContext = a, this.remainingOuterContext = l;
|
|
@@ -18050,7 +18050,7 @@ function v1() {
|
|
|
18050
18050
|
};
|
|
18051
18051
|
};
|
|
18052
18052
|
Object.defineProperty(Xp, "__esModule", { value: !0 }), Xp.ParserATNSimulator = void 0;
|
|
18053
|
-
const n = ay, r = my, i = iu, s = _b, o = uu(), u = ad, a = ly(), l = Rb(), c = Er, f = Ay, x = ou, h = Ub, p = va, m = Ob(), g = d1, y = Ar, E = ql, A = Ae, v = kw(), S = $y(), _ = js, b =
|
|
18053
|
+
const n = ay, r = my, i = iu, s = _b, o = uu(), u = ad, a = ly(), l = Rb(), c = Er, f = Ay, x = ou, h = Ub, p = va, m = Ob(), g = d1, y = Ar, E = ql, A = Ae, v = kw(), S = $y(), _ = js, b = Co(), C = su(), R = $w(), O = kY, I = Rc, j = g1, Q = sd, G = Bw(), P = PY(), W = Wt, oe = Us, ne = Ni(), X = 65535, ae = -(1 << 31 >>> 0);
|
|
18054
18054
|
let de = class ot extends l.ATNSimulator {
|
|
18055
18055
|
constructor(D, k) {
|
|
18056
18056
|
super(D), this.predictionMode = O.PredictionMode.LL, this.force_global_context = !1, this.always_try_local_context = !0, this.enable_global_context_dfa = !1, this.optimize_unique_closure = !0, this.optimize_ll1 = !0, this.optimize_tail_calls = !0, this.tail_call_preserves_sll = !0, this.treat_sllk1_conflict_as_ambiguity = !1, this.reportAmbiguities = !1, this.userWantsCtxSensitive = !0, this._parser = k;
|
|
@@ -19433,7 +19433,7 @@ var Kb = {};
|
|
|
19433
19433
|
*/
|
|
19434
19434
|
Object.defineProperty(Kb, "__esModule", { value: !0 });
|
|
19435
19435
|
Kb.UUID = void 0;
|
|
19436
|
-
const G3e =
|
|
19436
|
+
const G3e = wn;
|
|
19437
19437
|
class _S {
|
|
19438
19438
|
constructor(e, n, r, i) {
|
|
19439
19439
|
this.data = new Uint32Array(4), this.data[0] = e, this.data[1] = n, this.data[2] = r, this.data[3] = i;
|
|
@@ -19478,7 +19478,7 @@ function S1() {
|
|
|
19478
19478
|
};
|
|
19479
19479
|
};
|
|
19480
19480
|
Object.defineProperty(Yp, "__esModule", { value: !0 }), Yp.ATNDeserializer = void 0;
|
|
19481
|
-
const n = my, r = iu, i = uu(), s = gy, o = Er, u = Ay, a = Lb, l = xy, c = ou, f = Ib, x = hd, h = va, p = EY(), m = $b, g = dd(), y = fy, E = Bb, A = kb, v = Pb, S = RY, _ = NY, b = Mb, C = DY, R = jb, O = by, I = Ae, j = kw(), Q = v1(), G = qb, P = zb, W = Hb, oe = sy, ne = Qb, X = Gb, ae = Rc, de = g1, _e = Bw(), D = Wb, k = Vb, U = p1, Y =
|
|
19481
|
+
const n = my, r = iu, i = uu(), s = gy, o = Er, u = Ay, a = Lb, l = xy, c = ou, f = Ib, x = hd, h = va, p = EY(), m = $b, g = dd(), y = fy, E = Bb, A = kb, v = Pb, S = RY, _ = NY, b = Mb, C = DY, R = jb, O = by, I = Ae, j = kw(), Q = v1(), G = qb, P = zb, W = Hb, oe = sy, ne = Qb, X = Gb, ae = Rc, de = g1, _e = Bw(), D = Wb, k = Vb, U = p1, Y = Wt, q = Yb, B = Kb, T = hy;
|
|
19482
19482
|
var N;
|
|
19483
19483
|
(function(z) {
|
|
19484
19484
|
z[z.UNICODE_BMP = 0] = "UNICODE_BMP", z[z.UNICODE_SMP = 1] = "UNICODE_SMP";
|
|
@@ -19598,7 +19598,7 @@ function S1() {
|
|
|
19598
19598
|
)));
|
|
19599
19599
|
let Ee = Qe.toInt(L[H++]);
|
|
19600
19600
|
for (let V = 0; V < Ee; V++) {
|
|
19601
|
-
let fe = Qe.toInt(L[H]), we = Qe.toInt(L[H + 1]), ze = Qe.toInt(L[H + 2]), nt = Qe.toInt(L[H + 3]),
|
|
19601
|
+
let fe = Qe.toInt(L[H]), we = Qe.toInt(L[H + 1]), ze = Qe.toInt(L[H + 2]), nt = Qe.toInt(L[H + 3]), mt = Qe.toInt(L[H + 4]), rt = Qe.toInt(L[H + 5]), rr = this.edgeFactory(ce, ze, fe, we, nt, mt, rt, Le);
|
|
19602
19602
|
ce.states[fe].addTransition(rr), H += 6;
|
|
19603
19603
|
}
|
|
19604
19604
|
let ee = new r.Array2DHashSet({
|
|
@@ -19669,7 +19669,7 @@ function S1() {
|
|
|
19669
19669
|
let ze = fe.transition(we);
|
|
19670
19670
|
if (!(ze instanceof n.ActionTransition))
|
|
19671
19671
|
continue;
|
|
19672
|
-
let nt = ze.ruleIndex,
|
|
19672
|
+
let nt = ze.ruleIndex, mt = ze.actionIndex, rt = new A.LexerCustomAction(nt, mt);
|
|
19673
19673
|
fe.setTransition(we, new n.ActionTransition(ze.target, nt, V.length, !1)), V.push(rt);
|
|
19674
19674
|
}
|
|
19675
19675
|
ce.lexerActions = V;
|
|
@@ -19713,8 +19713,8 @@ function S1() {
|
|
|
19713
19713
|
fe.addTransition(rt);
|
|
19714
19714
|
}
|
|
19715
19715
|
ce.ruleToStartState[V].addTransition(new m.EpsilonTransition(fe)), we.addTransition(new m.EpsilonTransition(ze));
|
|
19716
|
-
let
|
|
19717
|
-
ce.addState(
|
|
19716
|
+
let mt = new l.BasicState();
|
|
19717
|
+
ce.addState(mt), mt.addTransition(new u.AtomTransition(we, ce.ruleToTokenType[V])), fe.addTransition(new m.EpsilonTransition(mt));
|
|
19718
19718
|
}
|
|
19719
19719
|
this.deserializationOptions.isVerifyATN && this.verifyATN(ce);
|
|
19720
19720
|
}
|
|
@@ -20586,7 +20586,7 @@ var Bi = F && F.__decorate || function(t, e, n, r) {
|
|
|
20586
20586
|
};
|
|
20587
20587
|
Object.defineProperty(Fy, "__esModule", { value: !0 });
|
|
20588
20588
|
Fy.BufferedTokenStream = void 0;
|
|
20589
|
-
const VM = Ni(), YM = Cc, cN = Ar, fN = Hl(), gr = Ae, Tf =
|
|
20589
|
+
const VM = Ni(), YM = Cc, cN = Ar, fN = Hl(), gr = Ae, Tf = Wt;
|
|
20590
20590
|
let Dr = class {
|
|
20591
20591
|
constructor(e) {
|
|
20592
20592
|
if (this.tokens = [], this.p = -1, this.fetchedEOF = !1, e == null)
|
|
@@ -20902,7 +20902,7 @@ var eC = F && F.__decorate || function(t, e, n, r) {
|
|
|
20902
20902
|
};
|
|
20903
20903
|
Object.defineProperty(_1, "__esModule", { value: !0 });
|
|
20904
20904
|
_1.CommonTokenStream = void 0;
|
|
20905
|
-
const tye = Fy, tC = Ae, KM =
|
|
20905
|
+
const tye = Fy, tC = Ae, KM = Wt;
|
|
20906
20906
|
let y2 = class extends tye.BufferedTokenStream {
|
|
20907
20907
|
/**
|
|
20908
20908
|
* Constructs a new {@link CommonTokenStream} using the specified token
|
|
@@ -20982,7 +20982,7 @@ var pd = F && F.__decorate || function(t, e, n, r) {
|
|
|
20982
20982
|
};
|
|
20983
20983
|
Object.defineProperty(wy, "__esModule", { value: !0 });
|
|
20984
20984
|
wy.ListTokenSource = void 0;
|
|
20985
|
-
const nye = Tb, Al = Ae, xN =
|
|
20985
|
+
const nye = Tb, Al = Ae, xN = Wt;
|
|
20986
20986
|
let wl = class {
|
|
20987
20987
|
/**
|
|
20988
20988
|
* Constructs a new {@link ListTokenSource} instance from the specified
|
|
@@ -21181,7 +21181,7 @@ function GY() {
|
|
|
21181
21181
|
return a > 3 && l && Object.defineProperty(s, o, l), l;
|
|
21182
21182
|
};
|
|
21183
21183
|
Object.defineProperty(ig, "__esModule", { value: !0 }), ig.InterpreterRuleContext = void 0;
|
|
21184
|
-
const e = Ae, n =
|
|
21184
|
+
const e = Ae, n = Co();
|
|
21185
21185
|
let r = class extends n.ParserRuleContext {
|
|
21186
21186
|
constructor(s, o, u) {
|
|
21187
21187
|
u !== void 0 ? super(o, u) : super(), this._ruleIndex = s;
|
|
@@ -21217,7 +21217,7 @@ function WY() {
|
|
|
21217
21217
|
};
|
|
21218
21218
|
};
|
|
21219
21219
|
Object.defineProperty(rg, "__esModule", { value: !0 }), rg.ParserInterpreter = void 0;
|
|
21220
|
-
const n = Aa, r = Er, i = ou, s = bc, o = ud, u = GY(), a = by, l = Ae, c = Ae, f = C1(), x = v1(), h =
|
|
21220
|
+
const n = Aa, r = Er, i = ou, s = bc, o = ud, u = GY(), a = by, l = Ae, c = Ae, f = C1(), x = v1(), h = bo, p = p1, m = Wt;
|
|
21221
21221
|
let g = class TD extends f.Parser {
|
|
21222
21222
|
constructor(E, A, v, S, _) {
|
|
21223
21223
|
if (super(E instanceof TD ? E.inputStream : _), this._parentContextStack = [], this.overrideDecision = -1, this.overrideDecisionInputIndex = -1, this.overrideDecisionAlt = -1, this.overrideDecisionReached = !1, this._overrideDecisionRoot = void 0, E instanceof TD) {
|
|
@@ -21856,7 +21856,7 @@ function lye() {
|
|
|
21856
21856
|
return c > 3 && f && Object.defineProperty(u, a, f), f;
|
|
21857
21857
|
};
|
|
21858
21858
|
Object.defineProperty(xg, "__esModule", { value: !0 }), xg.XPathRuleElement = void 0;
|
|
21859
|
-
const e =
|
|
21859
|
+
const e = Co(), n = Ae, r = wc(), i = b1();
|
|
21860
21860
|
let s = class extends i.XPathElement {
|
|
21861
21861
|
constructor(u, a) {
|
|
21862
21862
|
super(u), this.ruleIndex = a;
|
|
@@ -22018,7 +22018,7 @@ function Ww() {
|
|
|
22018
22018
|
* Licensed under the BSD-3-Clause license. See LICENSE file in the project root for license information.
|
|
22019
22019
|
*/
|
|
22020
22020
|
Object.defineProperty(ug, "__esModule", { value: !0 }), ug.XPath = void 0;
|
|
22021
|
-
const t = Zb, e = _1, n = xd, r =
|
|
22021
|
+
const t = Zb, e = _1, n = xd, r = Co(), i = Wt, s = oye(), o = uye(), u = aye(), a = lye(), l = cye(), c = fye(), f = xye(), x = dye();
|
|
22022
22022
|
let h = class VY {
|
|
22023
22023
|
constructor(m, g) {
|
|
22024
22024
|
this.parser = m, this.path = g, this.elements = this.split(g);
|
|
@@ -22280,7 +22280,7 @@ function pye() {
|
|
|
22280
22280
|
};
|
|
22281
22281
|
};
|
|
22282
22282
|
Object.defineProperty(mg, "__esModule", { value: !0 }), mg.RuleTagToken = void 0;
|
|
22283
|
-
const n = Ae, r =
|
|
22283
|
+
const n = Ae, r = Wt;
|
|
22284
22284
|
let i = class {
|
|
22285
22285
|
/**
|
|
22286
22286
|
* Constructs a new instance of {@link RuleTagToken} with the specified rule
|
|
@@ -22687,7 +22687,7 @@ function Eye() {
|
|
|
22687
22687
|
};
|
|
22688
22688
|
};
|
|
22689
22689
|
Object.defineProperty(t, "__esModule", { value: !0 }), t.ParseTreePatternMatcher = void 0;
|
|
22690
|
-
const r = KY(), i = Zb, s = _1, o = wy, u = rye(), a = Ae, l = Ly, c = WY(), f =
|
|
22690
|
+
const r = KY(), i = Zb, s = _1, o = wy, u = rye(), a = Ae, l = Ly, c = WY(), f = Co(), x = sye(), h = hye(), p = bo, m = Fc, g = pye(), y = gye(), E = au, A = mye(), v = Wt, S = yye();
|
|
22691
22691
|
class _ {
|
|
22692
22692
|
/**
|
|
22693
22693
|
* Constructs a {@link ParseTreePatternMatcher} or from a {@link Lexer} and
|
|
@@ -23438,7 +23438,7 @@ function C1() {
|
|
|
23438
23438
|
});
|
|
23439
23439
|
};
|
|
23440
23440
|
Object.defineProperty(Vp, "__esModule", { value: !0 }), Vp.Parser = void 0;
|
|
23441
|
-
const r = gn, i = gy, s = S1(), o = Vw(), u = Dc, a = uy, l = Hl(), c = Ae, f = Xb, x = v1(), h = Ny, p = Tc, m = au, g =
|
|
23441
|
+
const r = gn, i = gy, s = S1(), o = Vw(), u = Dc, a = uy, l = Hl(), c = Ae, f = Xb, x = v1(), h = Ny, p = Tc, m = au, g = Wt;
|
|
23442
23442
|
class y {
|
|
23443
23443
|
constructor(v, S) {
|
|
23444
23444
|
this.ruleNames = v, this.tokenStream = S;
|
|
@@ -23996,7 +23996,7 @@ function $y() {
|
|
|
23996
23996
|
return l > 3 && c && Object.defineProperty(o, u, c), c;
|
|
23997
23997
|
};
|
|
23998
23998
|
Object.defineProperty(Wp, "__esModule", { value: !0 }), Wp.NoViableAltException = void 0;
|
|
23999
|
-
const e = C1(), n =
|
|
23999
|
+
const e = C1(), n = bo, r = Ae;
|
|
24000
24000
|
let i = class extends n.RecognitionException {
|
|
24001
24001
|
constructor(o, u, a, l, c, f) {
|
|
24002
24002
|
o instanceof e.Parser && (u === void 0 && (u = o.inputStream), a === void 0 && (a = o.currentToken), l === void 0 && (l = o.currentToken), f === void 0 && (f = o.context)), super(o, u, f), this._deadEndConfigs = c, this._startToken = a, this.setOffendingToken(o, l);
|
|
@@ -24035,7 +24035,7 @@ function Vw() {
|
|
|
24035
24035
|
};
|
|
24036
24036
|
};
|
|
24037
24037
|
Object.defineProperty($p, "__esModule", { value: !0 }), $p.DefaultErrorStrategy = void 0;
|
|
24038
|
-
const n = Aa, r = Er, i = bc, s = ud, o = dd(), u = $y(), a = su(), l =
|
|
24038
|
+
const n = Aa, r = Er, i = bc, s = ud, o = dd(), u = $y(), a = su(), l = Wt, c = Ae;
|
|
24039
24039
|
let f = class {
|
|
24040
24040
|
constructor() {
|
|
24041
24041
|
this.errorRecoveryMode = !1, this.lastErrorIndex = -1, this.nextTokensState = n.ATNState.INVALID_STATE_NUMBER;
|
|
@@ -24692,7 +24692,7 @@ var T1 = F && F.__decorate || function(t, e, n, r) {
|
|
|
24692
24692
|
for (var u = t.length - 1; u >= 0; u--)
|
|
24693
24693
|
(o = t[u]) && (s = (i < 3 ? o(s) : i > 3 ? o(e, n, s) : o(e, n)) || s);
|
|
24694
24694
|
return i > 3 && s && Object.defineProperty(e, n, s), s;
|
|
24695
|
-
},
|
|
24695
|
+
}, fo = F && F.__param || function(t, e) {
|
|
24696
24696
|
return function(n, r) {
|
|
24697
24697
|
e(n, r, t);
|
|
24698
24698
|
};
|
|
@@ -24759,29 +24759,29 @@ T1([
|
|
|
24759
24759
|
], gd.prototype, "syntaxError", null);
|
|
24760
24760
|
T1([
|
|
24761
24761
|
Tr.Override,
|
|
24762
|
-
|
|
24763
|
-
|
|
24764
|
-
|
|
24762
|
+
fo(0, Tr.NotNull),
|
|
24763
|
+
fo(1, Tr.NotNull),
|
|
24764
|
+
fo(6, Tr.NotNull)
|
|
24765
24765
|
], gd.prototype, "reportAmbiguity", null);
|
|
24766
24766
|
T1([
|
|
24767
24767
|
Tr.Override,
|
|
24768
|
-
|
|
24769
|
-
|
|
24770
|
-
|
|
24768
|
+
fo(0, Tr.NotNull),
|
|
24769
|
+
fo(1, Tr.NotNull),
|
|
24770
|
+
fo(5, Tr.NotNull)
|
|
24771
24771
|
], gd.prototype, "reportAttemptingFullContext", null);
|
|
24772
24772
|
T1([
|
|
24773
24773
|
Tr.Override,
|
|
24774
|
-
|
|
24775
|
-
|
|
24776
|
-
|
|
24774
|
+
fo(0, Tr.NotNull),
|
|
24775
|
+
fo(1, Tr.NotNull),
|
|
24776
|
+
fo(5, Tr.NotNull)
|
|
24777
24777
|
], gd.prototype, "reportContextSensitivity", null);
|
|
24778
24778
|
T1([
|
|
24779
|
-
|
|
24780
|
-
|
|
24779
|
+
fo(0, Tr.NotNull),
|
|
24780
|
+
fo(1, Tr.NotNull)
|
|
24781
24781
|
], gd.prototype, "getDecisionDescription", null);
|
|
24782
24782
|
T1([
|
|
24783
24783
|
Tr.NotNull,
|
|
24784
|
-
|
|
24784
|
+
fo(1, Tr.NotNull)
|
|
24785
24785
|
], gd.prototype, "getConflictingAlts", null);
|
|
24786
24786
|
nC.DiagnosticErrorListener = gd;
|
|
24787
24787
|
var rC = {};
|
|
@@ -24877,7 +24877,7 @@ var Dye = F && F.__decorate || function(t, e, n, r) {
|
|
|
24877
24877
|
};
|
|
24878
24878
|
Object.defineProperty(iC, "__esModule", { value: !0 });
|
|
24879
24879
|
iC.RuleContextWithAltNum = void 0;
|
|
24880
|
-
const Fye = uu(), wye = Ae, Lye =
|
|
24880
|
+
const Fye = uu(), wye = Ae, Lye = Co();
|
|
24881
24881
|
class tK extends Lye.ParserRuleContext {
|
|
24882
24882
|
constructor(e, n) {
|
|
24883
24883
|
n !== void 0 ? super(e, n) : super(), this._altNumber = Fye.ATN.INVALID_ALT_NUMBER;
|
|
@@ -24952,7 +24952,7 @@ var uC = F && F.__decorate || function(t, e, n, r) {
|
|
|
24952
24952
|
};
|
|
24953
24953
|
Object.defineProperty(E2, "__esModule", { value: !0 });
|
|
24954
24954
|
E2.RewriteOperation = E2.TokenStreamRewriter = void 0;
|
|
24955
|
-
const Fj = Ar, aC = Ae, sK =
|
|
24955
|
+
const Fj = Ar, aC = Ae, sK = Wt;
|
|
24956
24956
|
class qr {
|
|
24957
24957
|
constructor(e) {
|
|
24958
24958
|
this.tokens = e, this.programs = /* @__PURE__ */ new Map(), this.programs.set(qr.DEFAULT_PROGRAM_NAME, []), this.lastRewriteTokenIndexes = /* @__PURE__ */ new Map();
|
|
@@ -25217,7 +25217,7 @@ Object.defineProperty(uK, "__esModule", { value: !0 });
|
|
|
25217
25217
|
for (var s in r)
|
|
25218
25218
|
s !== "default" && !Object.prototype.hasOwnProperty.call(i, s) && e(i, r, s);
|
|
25219
25219
|
};
|
|
25220
|
-
Object.defineProperty(t, "__esModule", { value: !0 }), n(LV, t), n(IV, t), n(mb, t), n(KY(), t), n(Fy, t), n(XY, t), n(Zb, t), n(Gw, t), n(Dy, t), n(Cc, t), n(Tb, t), n(_1, t), n(cy, t), n(Vw(), t), n(JY, t), n(nC, t), n(bc, t), n(ud, t), n(GY(), t), n(ql, t), n(Hl(), t), n(rC, t), n(xd, t), n(wy, t), n($y(), t), n(C1(), t), n(eK, t), n(WY(), t), n(
|
|
25220
|
+
Object.defineProperty(t, "__esModule", { value: !0 }), n(LV, t), n(IV, t), n(mb, t), n(KY(), t), n(Fy, t), n(XY, t), n(Zb, t), n(Gw, t), n(Dy, t), n(Cc, t), n(Tb, t), n(_1, t), n(cy, t), n(Vw(), t), n(JY, t), n(nC, t), n(bc, t), n(ud, t), n(GY(), t), n(ql, t), n(Hl(), t), n(rC, t), n(xd, t), n(wy, t), n($y(), t), n(C1(), t), n(eK, t), n(WY(), t), n(Co(), t), n(h1, t), n(Ny, t), n(bo, t), n(Tc, t), n(BY(), t), n(iC, t), n(sC, t), n(oC, t), n(Wt, t), n(nK, t), n(rK, t), n(iK, t), n(E2, t), n(oK, t), n(Us, t), n(uK, t);
|
|
25221
25221
|
})(gb);
|
|
25222
25222
|
var cC = {}, Bye = F && F.__createBinding || (Object.create ? function(t, e, n, r) {
|
|
25223
25223
|
r === void 0 && (r = n);
|
|
@@ -26081,7 +26081,7 @@ w.AggregateOrderingContext = w.FieldPropertiesContext = w.FilterStatementContext
|
|
|
26081
26081
|
w.ExprNowContext = w.ExprRegexContext = w.ExprBoolContext = w.ExprNULLContext = w.ExprTimeContext = w.ExprNumberContext = w.ExprStringContext = w.LiteralContext = w.NumericLiteralContext = w.ShortStringContext = w.StringContext = w.CompareOpContext = w.MalloyTypeContext = w.AggregateContext = w.SampleSpecContext = w.QueryAnnotationContext = w.TimezoneStatementContext = w.SampleStatementContext = w.IndexStatementContext = w.IndexFieldsContext = w.IndexElementContext = w.TopStatementContext = w.BySpecContext = w.LimitStatementContext = w.OrderBySpecContext = w.OrderingContext = w.OrderByStatementContext = w.PartitionByStatementContext = w.ProjectStatementContext = w.CalculateStatementContext = w.AggregateStatementContext = w.NestDefContext = w.NestEntryContext = w.NestedQueryListContext = w.NestStatementContext = w.QueryFieldEntryContext = w.QueryFieldListContext = w.GroupByStatementContext = w.QueryJoinStatementContext = w.QueryStatementContext = w.ExploreQueryDefContext = w.ExploreQueryNameDefContext = w.SubQueryDefListContext = w.HavingStatementContext = w.WhereStatementContext = w.FilterClauseListContext = w.FieldPropertyStatementContext = w.FieldPropertyLimitStatementContext = w.AggregateOrderByStatementContext = w.AggregateOrderBySpecContext = void 0;
|
|
26082
26082
|
w.StarQualifiedContext = w.CollectionWildCardContext = w.FieldCollectionContext = w.FieldNameListContext = w.ArgumentListContext = w.PickContext = w.PickStatementContext = w.PartialAllowedFieldExprContext = w.ExprUngroupContext = w.ExprPickContext = w.ExprFuncContext = w.ExprAggFuncContext = w.ExprExprContext = w.ExprAggregateContext = w.ExprPathlessAggregateContext = w.ExprCoalesceContext = w.ExprLogicalOrContext = w.ExprLogicalAndContext = w.ExprNotContext = w.ExprApplyContext = w.ExprCompareContext = w.ExprOrTreeContext = w.ExprAndTreeContext = w.ExprForRangeContext = w.ExprRangeContext = w.ExprAddSubContext = w.ExprMulDivContext = w.ExprMinusContext = w.ExprSafeCastContext = w.ExprCastContext = w.ExprTimeTruncContext = w.ExprDurationContext = w.ExprLiteralContext = w.ExprFieldPropsContext = w.ExprFieldPathContext = w.FieldExprContext = w.MalloyOrSQLTypeContext = w.UngroupContext = w.TimeframeContext = w.IdContext = w.TableURIContext = w.TablePathContext = w.LiteralYearContext = w.LiteralQuarterContext = w.LiteralMonthContext = w.LiteralWeekContext = w.LiteralDayContext = w.LiteralHourContext = w.LiteralTimestampContext = w.DateLiteralContext = void 0;
|
|
26083
26083
|
w.ExperimentalStatementForTestingContext = w.ConnectionNameContext = w.NameSQLBlockContext = w.SqlExploreNameRefContext = w.JustExprContext = w.FieldNameContext = w.JoinNameContext = w.FieldPathContext = w.CollectionMemberContext = w.RefExprContext = w.TaggedRefContext = void 0;
|
|
26084
|
-
const Jt = uu(), Gye = S1(), Wye = bc, on = $y(), Vye = C1(), me =
|
|
26084
|
+
const Jt = uu(), Gye = S1(), Wye = bc, on = $y(), Vye = C1(), me = Co(), Yye = v1(), ge = bo, qn = Wt, Kye = Us, lK = Qye(gn);
|
|
26085
26085
|
class d extends Vye.Parser {
|
|
26086
26086
|
// @Override
|
|
26087
26087
|
// @NotNull
|
|
@@ -26233,7 +26233,7 @@ class d extends Vye.Parser {
|
|
|
26233
26233
|
}
|
|
26234
26234
|
// @RuleVersion(0)
|
|
26235
26235
|
tags() {
|
|
26236
|
-
let e = new
|
|
26236
|
+
let e = new Gt(this._ctx, this.state);
|
|
26237
26237
|
this.enterRule(e, 10, d.RULE_tags);
|
|
26238
26238
|
let n;
|
|
26239
26239
|
try {
|
|
@@ -27439,7 +27439,7 @@ class d extends Vye.Parser {
|
|
|
27439
27439
|
// @RuleVersion(0)
|
|
27440
27440
|
sqExpr(e) {
|
|
27441
27441
|
e === void 0 && (e = 0);
|
|
27442
|
-
let n = this._ctx, r = this.state, i = new
|
|
27442
|
+
let n = this._ctx, r = this.state, i = new $n(this._ctx, r), s = i, o = 102;
|
|
27443
27443
|
this.enterRecursionRule(i, 102, d.RULE_sqExpr, e);
|
|
27444
27444
|
try {
|
|
27445
27445
|
let u;
|
|
@@ -27468,21 +27468,21 @@ class d extends Vye.Parser {
|
|
|
27468
27468
|
switch (this._parseListeners != null && this.triggerExitRuleEvent(), s = i, this.state = 641, this._errHandler.sync(this), this.interpreter.adaptivePredict(this._input, 46, this._ctx)) {
|
|
27469
27469
|
case 1:
|
|
27470
27470
|
{
|
|
27471
|
-
if (i = new $K(new
|
|
27471
|
+
if (i = new $K(new $n(n, r)), this.pushNewRecursionContext(i, o, d.RULE_sqExpr), this.state = 632, !this.precpred(this._ctx, 5))
|
|
27472
27472
|
throw this.createFailedPredicateException("this.precpred(this._ctx, 5)");
|
|
27473
27473
|
this.state = 633, this.match(d.PLUS), this.state = 634, this.segExpr(0);
|
|
27474
27474
|
}
|
|
27475
27475
|
break;
|
|
27476
27476
|
case 2:
|
|
27477
27477
|
{
|
|
27478
|
-
if (i = new BK(new
|
|
27478
|
+
if (i = new BK(new $n(n, r)), this.pushNewRecursionContext(i, o, d.RULE_sqExpr), this.state = 635, !this.precpred(this._ctx, 4))
|
|
27479
27479
|
throw this.createFailedPredicateException("this.precpred(this._ctx, 4)");
|
|
27480
27480
|
this.state = 636, this.match(d.ARROW), this.state = 637, this.segExpr(0);
|
|
27481
27481
|
}
|
|
27482
27482
|
break;
|
|
27483
27483
|
case 3:
|
|
27484
27484
|
{
|
|
27485
|
-
if (i = new kK(new
|
|
27485
|
+
if (i = new kK(new $n(n, r)), this.pushNewRecursionContext(i, o, d.RULE_sqExpr), this.state = 638, !this.precpred(this._ctx, 3))
|
|
27486
27486
|
throw this.createFailedPredicateException("this.precpred(this._ctx, 3)");
|
|
27487
27487
|
this.state = 639, this.match(d.EXTEND), this.state = 640, this.exploreProperties();
|
|
27488
27488
|
}
|
|
@@ -30688,7 +30688,7 @@ class bS extends me.ParserRuleContext {
|
|
|
30688
30688
|
w.MalloyStatementContext = bS;
|
|
30689
30689
|
class Yw extends me.ParserRuleContext {
|
|
30690
30690
|
tags() {
|
|
30691
|
-
return this.getRuleContext(0,
|
|
30691
|
+
return this.getRuleContext(0, Gt);
|
|
30692
30692
|
}
|
|
30693
30693
|
SOURCE() {
|
|
30694
30694
|
return this.getToken(d.SOURCE, 0);
|
|
@@ -30753,7 +30753,7 @@ class fK extends By {
|
|
|
30753
30753
|
w.Use_top_level_query_defsContext = fK;
|
|
30754
30754
|
class xK extends By {
|
|
30755
30755
|
tags() {
|
|
30756
|
-
return this.getRuleContext(0,
|
|
30756
|
+
return this.getRuleContext(0, Gt);
|
|
30757
30757
|
}
|
|
30758
30758
|
QUERY() {
|
|
30759
30759
|
return this.getToken(d.QUERY, 0);
|
|
@@ -30780,10 +30780,10 @@ class xK extends By {
|
|
|
30780
30780
|
w.AnonymousQueryContext = xK;
|
|
30781
30781
|
class fC extends me.ParserRuleContext {
|
|
30782
30782
|
tags() {
|
|
30783
|
-
return this.getRuleContext(0,
|
|
30783
|
+
return this.getRuleContext(0, Gt);
|
|
30784
30784
|
}
|
|
30785
30785
|
sqExpr() {
|
|
30786
|
-
return this.getRuleContext(0,
|
|
30786
|
+
return this.getRuleContext(0, $n);
|
|
30787
30787
|
}
|
|
30788
30788
|
constructor(e, n) {
|
|
30789
30789
|
super(e, n);
|
|
@@ -30806,7 +30806,7 @@ class fC extends me.ParserRuleContext {
|
|
|
30806
30806
|
}
|
|
30807
30807
|
}
|
|
30808
30808
|
w.TopLevelAnonQueryDefContext = fC;
|
|
30809
|
-
class
|
|
30809
|
+
class Gt extends me.ParserRuleContext {
|
|
30810
30810
|
ANNOTATION(e) {
|
|
30811
30811
|
return e === void 0 ? this.getTokens(d.ANNOTATION) : this.getToken(d.ANNOTATION, e);
|
|
30812
30812
|
}
|
|
@@ -30830,13 +30830,13 @@ class Qt extends me.ParserRuleContext {
|
|
|
30830
30830
|
return e.visitTags ? e.visitTags(this) : e.visitChildren(this);
|
|
30831
30831
|
}
|
|
30832
30832
|
}
|
|
30833
|
-
w.TagsContext =
|
|
30833
|
+
w.TagsContext = Gt;
|
|
30834
30834
|
class Ic extends me.ParserRuleContext {
|
|
30835
30835
|
IS() {
|
|
30836
30836
|
return this.getToken(d.IS, 0);
|
|
30837
30837
|
}
|
|
30838
30838
|
tags(e) {
|
|
30839
|
-
return e === void 0 ? this.getRuleContexts(
|
|
30839
|
+
return e === void 0 ? this.getRuleContexts(Gt) : this.getRuleContext(e, Gt);
|
|
30840
30840
|
}
|
|
30841
30841
|
constructor(e, n) {
|
|
30842
30842
|
super(e, n);
|
|
@@ -30861,7 +30861,7 @@ class Ic extends me.ParserRuleContext {
|
|
|
30861
30861
|
w.IsDefineContext = Ic;
|
|
30862
30862
|
class Kw extends me.ParserRuleContext {
|
|
30863
30863
|
tags() {
|
|
30864
|
-
return this.getRuleContext(0,
|
|
30864
|
+
return this.getRuleContext(0, Gt);
|
|
30865
30865
|
}
|
|
30866
30866
|
RUN() {
|
|
30867
30867
|
return this.getToken(d.RUN, 0);
|
|
@@ -30926,7 +30926,7 @@ class CS extends me.ParserRuleContext {
|
|
|
30926
30926
|
return this.getToken(d.OPEN_CODE, 0);
|
|
30927
30927
|
}
|
|
30928
30928
|
sqExpr() {
|
|
30929
|
-
return this.getRuleContext(0,
|
|
30929
|
+
return this.getRuleContext(0, $n);
|
|
30930
30930
|
}
|
|
30931
30931
|
CCURLY() {
|
|
30932
30932
|
return this.tryGetToken(d.CCURLY, 0);
|
|
@@ -31153,7 +31153,7 @@ class dC extends me.ParserRuleContext {
|
|
|
31153
31153
|
w.IgnoredModelAnnotationsContext = dC;
|
|
31154
31154
|
class n9 extends me.ParserRuleContext {
|
|
31155
31155
|
tags() {
|
|
31156
|
-
return this.getRuleContext(0,
|
|
31156
|
+
return this.getRuleContext(0, Gt);
|
|
31157
31157
|
}
|
|
31158
31158
|
QUERY() {
|
|
31159
31159
|
return this.getToken(d.QUERY, 0);
|
|
@@ -31187,7 +31187,7 @@ class n9 extends me.ParserRuleContext {
|
|
|
31187
31187
|
w.TopLevelQueryDefsContext = n9;
|
|
31188
31188
|
class OS extends me.ParserRuleContext {
|
|
31189
31189
|
tags() {
|
|
31190
|
-
return this.getRuleContext(0,
|
|
31190
|
+
return this.getRuleContext(0, Gt);
|
|
31191
31191
|
}
|
|
31192
31192
|
queryName() {
|
|
31193
31193
|
return this.getRuleContext(0, gC);
|
|
@@ -31196,7 +31196,7 @@ class OS extends me.ParserRuleContext {
|
|
|
31196
31196
|
return this.getRuleContext(0, Ic);
|
|
31197
31197
|
}
|
|
31198
31198
|
sqExpr() {
|
|
31199
|
-
return this.getRuleContext(0,
|
|
31199
|
+
return this.getRuleContext(0, $n);
|
|
31200
31200
|
}
|
|
31201
31201
|
constructor(e, n) {
|
|
31202
31202
|
super(e, n);
|
|
@@ -31542,7 +31542,7 @@ class s9 extends me.ParserRuleContext {
|
|
|
31542
31542
|
w.SourcePropertyListContext = s9;
|
|
31543
31543
|
class RS extends me.ParserRuleContext {
|
|
31544
31544
|
tags() {
|
|
31545
|
-
return this.getRuleContext(0,
|
|
31545
|
+
return this.getRuleContext(0, Gt);
|
|
31546
31546
|
}
|
|
31547
31547
|
sourceNameDef() {
|
|
31548
31548
|
return this.getRuleContext(0, l9);
|
|
@@ -31579,7 +31579,7 @@ class RS extends me.ParserRuleContext {
|
|
|
31579
31579
|
w.SourceDefinitionContext = RS;
|
|
31580
31580
|
class o9 extends me.ParserRuleContext {
|
|
31581
31581
|
sqExpr() {
|
|
31582
|
-
return this.getRuleContext(0,
|
|
31582
|
+
return this.getRuleContext(0, $n);
|
|
31583
31583
|
}
|
|
31584
31584
|
constructor(e, n) {
|
|
31585
31585
|
super(e, n);
|
|
@@ -31955,7 +31955,7 @@ class bK extends ti {
|
|
|
31955
31955
|
w.DefExploreEditFieldContext = bK;
|
|
31956
31956
|
class CK extends ti {
|
|
31957
31957
|
tags() {
|
|
31958
|
-
return this.getRuleContext(0,
|
|
31958
|
+
return this.getRuleContext(0, Gt);
|
|
31959
31959
|
}
|
|
31960
31960
|
subQueryDefList() {
|
|
31961
31961
|
return this.getRuleContext(0, _9);
|
|
@@ -32048,7 +32048,7 @@ class RK extends ti {
|
|
|
32048
32048
|
w.DefIgnoreModel_stubContext = RK;
|
|
32049
32049
|
class mC extends me.ParserRuleContext {
|
|
32050
32050
|
tags() {
|
|
32051
|
-
return this.getRuleContext(0,
|
|
32051
|
+
return this.getRuleContext(0, Gt);
|
|
32052
32052
|
}
|
|
32053
32053
|
MEASURE() {
|
|
32054
32054
|
return this.getToken(d.MEASURE, 0);
|
|
@@ -32079,7 +32079,7 @@ class mC extends me.ParserRuleContext {
|
|
|
32079
32079
|
w.DefMeasuresContext = mC;
|
|
32080
32080
|
class yC extends me.ParserRuleContext {
|
|
32081
32081
|
tags() {
|
|
32082
|
-
return this.getRuleContext(0,
|
|
32082
|
+
return this.getRuleContext(0, Gt);
|
|
32083
32083
|
}
|
|
32084
32084
|
DIMENSION() {
|
|
32085
32085
|
return this.getToken(d.DIMENSION, 0);
|
|
@@ -32194,7 +32194,7 @@ class Py extends me.ParserRuleContext {
|
|
|
32194
32194
|
w.DefListContext = Py;
|
|
32195
32195
|
class A2 extends me.ParserRuleContext {
|
|
32196
32196
|
tags() {
|
|
32197
|
-
return this.getRuleContext(0,
|
|
32197
|
+
return this.getRuleContext(0, Gt);
|
|
32198
32198
|
}
|
|
32199
32199
|
fieldNameDef() {
|
|
32200
32200
|
return this.getRuleContext(0, x9);
|
|
@@ -32319,7 +32319,7 @@ class Yl extends me.ParserRuleContext {
|
|
|
32319
32319
|
w.JoinStatementContext = Yl;
|
|
32320
32320
|
class NK extends Yl {
|
|
32321
32321
|
tags() {
|
|
32322
|
-
return this.getRuleContext(0,
|
|
32322
|
+
return this.getRuleContext(0, Gt);
|
|
32323
32323
|
}
|
|
32324
32324
|
JOIN_ONE() {
|
|
32325
32325
|
return this.getToken(d.JOIN_ONE, 0);
|
|
@@ -32346,7 +32346,7 @@ class NK extends Yl {
|
|
|
32346
32346
|
w.DefJoinOneContext = NK;
|
|
32347
32347
|
class DK extends Yl {
|
|
32348
32348
|
tags() {
|
|
32349
|
-
return this.getRuleContext(0,
|
|
32349
|
+
return this.getRuleContext(0, Gt);
|
|
32350
32350
|
}
|
|
32351
32351
|
JOIN_MANY() {
|
|
32352
32352
|
return this.getToken(d.JOIN_MANY, 0);
|
|
@@ -32373,7 +32373,7 @@ class DK extends Yl {
|
|
|
32373
32373
|
w.DefJoinManyContext = DK;
|
|
32374
32374
|
class FK extends Yl {
|
|
32375
32375
|
tags() {
|
|
32376
|
-
return this.getRuleContext(0,
|
|
32376
|
+
return this.getRuleContext(0, Gt);
|
|
32377
32377
|
}
|
|
32378
32378
|
JOIN_CROSS() {
|
|
32379
32379
|
return this.getToken(d.JOIN_CROSS, 0);
|
|
@@ -32547,7 +32547,7 @@ class FS extends me.ParserRuleContext {
|
|
|
32547
32547
|
}
|
|
32548
32548
|
}
|
|
32549
32549
|
w.SourceArgumentContext = FS;
|
|
32550
|
-
class
|
|
32550
|
+
class $n extends me.ParserRuleContext {
|
|
32551
32551
|
constructor(e, n) {
|
|
32552
32552
|
super(e, n);
|
|
32553
32553
|
}
|
|
@@ -32559,8 +32559,8 @@ class In extends me.ParserRuleContext {
|
|
|
32559
32559
|
super.copyFrom(e);
|
|
32560
32560
|
}
|
|
32561
32561
|
}
|
|
32562
|
-
w.SqExprContext =
|
|
32563
|
-
class LK extends
|
|
32562
|
+
w.SqExprContext = $n;
|
|
32563
|
+
class LK extends $n {
|
|
32564
32564
|
id() {
|
|
32565
32565
|
return this.getRuleContext(0, Nn);
|
|
32566
32566
|
}
|
|
@@ -32584,12 +32584,12 @@ class LK extends In {
|
|
|
32584
32584
|
}
|
|
32585
32585
|
}
|
|
32586
32586
|
w.SQIDContext = LK;
|
|
32587
|
-
class IK extends
|
|
32587
|
+
class IK extends $n {
|
|
32588
32588
|
OPAREN() {
|
|
32589
32589
|
return this.getToken(d.OPAREN, 0);
|
|
32590
32590
|
}
|
|
32591
32591
|
sqExpr() {
|
|
32592
|
-
return this.getRuleContext(0,
|
|
32592
|
+
return this.getRuleContext(0, $n);
|
|
32593
32593
|
}
|
|
32594
32594
|
CPAREN() {
|
|
32595
32595
|
return this.getToken(d.CPAREN, 0);
|
|
@@ -32611,9 +32611,9 @@ class IK extends In {
|
|
|
32611
32611
|
}
|
|
32612
32612
|
}
|
|
32613
32613
|
w.SQParensContext = IK;
|
|
32614
|
-
class $K extends
|
|
32614
|
+
class $K extends $n {
|
|
32615
32615
|
sqExpr() {
|
|
32616
|
-
return this.getRuleContext(0,
|
|
32616
|
+
return this.getRuleContext(0, $n);
|
|
32617
32617
|
}
|
|
32618
32618
|
PLUS() {
|
|
32619
32619
|
return this.getToken(d.PLUS, 0);
|
|
@@ -32638,9 +32638,9 @@ class $K extends In {
|
|
|
32638
32638
|
}
|
|
32639
32639
|
}
|
|
32640
32640
|
w.SQRefinedQueryContext = $K;
|
|
32641
|
-
class BK extends
|
|
32641
|
+
class BK extends $n {
|
|
32642
32642
|
sqExpr() {
|
|
32643
|
-
return this.getRuleContext(0,
|
|
32643
|
+
return this.getRuleContext(0, $n);
|
|
32644
32644
|
}
|
|
32645
32645
|
ARROW() {
|
|
32646
32646
|
return this.getToken(d.ARROW, 0);
|
|
@@ -32665,9 +32665,9 @@ class BK extends In {
|
|
|
32665
32665
|
}
|
|
32666
32666
|
}
|
|
32667
32667
|
w.SQArrowContext = BK;
|
|
32668
|
-
class kK extends
|
|
32668
|
+
class kK extends $n {
|
|
32669
32669
|
sqExpr() {
|
|
32670
|
-
return this.getRuleContext(0,
|
|
32670
|
+
return this.getRuleContext(0, $n);
|
|
32671
32671
|
}
|
|
32672
32672
|
EXTEND() {
|
|
32673
32673
|
return this.getToken(d.EXTEND, 0);
|
|
@@ -32692,7 +32692,7 @@ class kK extends In {
|
|
|
32692
32692
|
}
|
|
32693
32693
|
}
|
|
32694
32694
|
w.SQExtendedSourceContext = kK;
|
|
32695
|
-
class PK extends
|
|
32695
|
+
class PK extends $n {
|
|
32696
32696
|
exploreTable() {
|
|
32697
32697
|
return this.getRuleContext(0, ky);
|
|
32698
32698
|
}
|
|
@@ -32713,7 +32713,7 @@ class PK extends In {
|
|
|
32713
32713
|
}
|
|
32714
32714
|
}
|
|
32715
32715
|
w.SQTableContext = PK;
|
|
32716
|
-
class MK extends
|
|
32716
|
+
class MK extends $n {
|
|
32717
32717
|
sqlSource() {
|
|
32718
32718
|
return this.getRuleContext(0, r9);
|
|
32719
32719
|
}
|
|
@@ -32999,10 +32999,10 @@ class m9 extends me.ParserRuleContext {
|
|
|
32999
32999
|
return this.getToken(d.IS, 0);
|
|
33000
33000
|
}
|
|
33001
33001
|
sqExpr() {
|
|
33002
|
-
return this.getRuleContext(0,
|
|
33002
|
+
return this.getRuleContext(0, $n);
|
|
33003
33003
|
}
|
|
33004
33004
|
tags(e) {
|
|
33005
|
-
return e === void 0 ? this.getRuleContexts(
|
|
33005
|
+
return e === void 0 ? this.getRuleContexts(Gt) : this.getRuleContext(e, Gt);
|
|
33006
33006
|
}
|
|
33007
33007
|
constructor(e, n) {
|
|
33008
33008
|
super(e, n);
|
|
@@ -33676,7 +33676,7 @@ class C9 extends me.ParserRuleContext {
|
|
|
33676
33676
|
w.QueryJoinStatementContext = C9;
|
|
33677
33677
|
class T9 extends me.ParserRuleContext {
|
|
33678
33678
|
tags() {
|
|
33679
|
-
return this.getRuleContext(0,
|
|
33679
|
+
return this.getRuleContext(0, Gt);
|
|
33680
33680
|
}
|
|
33681
33681
|
GROUP_BY() {
|
|
33682
33682
|
return this.getToken(d.GROUP_BY, 0);
|
|
@@ -33763,7 +33763,7 @@ class kS extends me.ParserRuleContext {
|
|
|
33763
33763
|
w.QueryFieldEntryContext = kS;
|
|
33764
33764
|
class O9 extends me.ParserRuleContext {
|
|
33765
33765
|
tags() {
|
|
33766
|
-
return this.getRuleContext(0,
|
|
33766
|
+
return this.getRuleContext(0, Gt);
|
|
33767
33767
|
}
|
|
33768
33768
|
NEST() {
|
|
33769
33769
|
return this.getToken(d.NEST, 0);
|
|
@@ -33835,7 +33835,7 @@ class f3 extends me.ParserRuleContext {
|
|
|
33835
33835
|
w.NestEntryContext = f3;
|
|
33836
33836
|
class YK extends f3 {
|
|
33837
33837
|
tags() {
|
|
33838
|
-
return this.getRuleContext(0,
|
|
33838
|
+
return this.getRuleContext(0, Gt);
|
|
33839
33839
|
}
|
|
33840
33840
|
vExpr() {
|
|
33841
33841
|
return this.getRuleContext(0, tc);
|
|
@@ -33865,7 +33865,7 @@ class YK extends f3 {
|
|
|
33865
33865
|
w.NestDefContext = YK;
|
|
33866
33866
|
class N9 extends me.ParserRuleContext {
|
|
33867
33867
|
tags() {
|
|
33868
|
-
return this.getRuleContext(0,
|
|
33868
|
+
return this.getRuleContext(0, Gt);
|
|
33869
33869
|
}
|
|
33870
33870
|
AGGREGATE() {
|
|
33871
33871
|
return this.getToken(d.AGGREGATE, 0);
|
|
@@ -33896,7 +33896,7 @@ class N9 extends me.ParserRuleContext {
|
|
|
33896
33896
|
w.AggregateStatementContext = N9;
|
|
33897
33897
|
class D9 extends me.ParserRuleContext {
|
|
33898
33898
|
tags() {
|
|
33899
|
-
return this.getRuleContext(0,
|
|
33899
|
+
return this.getRuleContext(0, Gt);
|
|
33900
33900
|
}
|
|
33901
33901
|
CALCULATE() {
|
|
33902
33902
|
return this.getToken(d.CALCULATE, 0);
|
|
@@ -33927,7 +33927,7 @@ class D9 extends me.ParserRuleContext {
|
|
|
33927
33927
|
w.CalculateStatementContext = D9;
|
|
33928
33928
|
class F9 extends me.ParserRuleContext {
|
|
33929
33929
|
tags() {
|
|
33930
|
-
return this.getRuleContext(0,
|
|
33930
|
+
return this.getRuleContext(0, Gt);
|
|
33931
33931
|
}
|
|
33932
33932
|
fieldCollection() {
|
|
33933
33933
|
return this.getRuleContext(0, W9);
|
|
@@ -36104,7 +36104,7 @@ class Y9 extends me.ParserRuleContext {
|
|
|
36104
36104
|
w.StarQualifiedContext = Y9;
|
|
36105
36105
|
class DC extends me.ParserRuleContext {
|
|
36106
36106
|
tags() {
|
|
36107
|
-
return this.getRuleContext(0,
|
|
36107
|
+
return this.getRuleContext(0, Gt);
|
|
36108
36108
|
}
|
|
36109
36109
|
fieldPath() {
|
|
36110
36110
|
return this.getRuleContext(0, Kl);
|
|
@@ -36899,7 +36899,7 @@ var Dt = {}, aEe = F && F.__createBinding || (Object.create ? function(t, e, n,
|
|
|
36899
36899
|
};
|
|
36900
36900
|
Object.defineProperty(Dt, "__esModule", { value: !0 });
|
|
36901
36901
|
Dt.PropertiesContext = Dt.ArrayValueContext = Dt.ReferenceContext = Dt.ArrayElementContext = Dt.EqValueContext = Dt.PropNameContext = Dt.IdentifierContext = Dt.StringContext = Dt.TagDefContext = Dt.TagUpdatePropertiesContext = Dt.TagReplacePropertiesContext = Dt.TagEqContext = Dt.TagSpecContext = Dt.TagLineContext = Dt.MalloyTagParser = void 0;
|
|
36902
|
-
const fEe = uu(), xEe = S1(), dEe = bc, hN = $y(), hEe = C1(), Da =
|
|
36902
|
+
const fEe = uu(), xEe = S1(), dEe = bc, hN = $y(), hEe = C1(), Da = Co(), pEe = v1(), bu = bo, Lj = Wt, gEe = Us, mEe = cEe(gn);
|
|
36903
36903
|
class he extends hEe.Parser {
|
|
36904
36904
|
// @Override
|
|
36905
36905
|
// @NotNull
|
|
@@ -37617,32 +37617,32 @@ function* ZX(t) {
|
|
|
37617
37617
|
}
|
|
37618
37618
|
}
|
|
37619
37619
|
an.getStringParts = ZX;
|
|
37620
|
-
var
|
|
37620
|
+
var $o;
|
|
37621
37621
|
(function(t) {
|
|
37622
37622
|
t[t.Normal = 0] = "Normal", t[t.ReverseVirgule = 1] = "ReverseVirgule", t[t.Unicode = 2] = "Unicode";
|
|
37623
|
-
})(
|
|
37623
|
+
})($o || ($o = {}));
|
|
37624
37624
|
function eL(t, e = "") {
|
|
37625
|
-
let n = t.slice(e.length), r =
|
|
37625
|
+
let n = t.slice(e.length), r = $o.Normal;
|
|
37626
37626
|
e.length && (n = n.slice(0, -e.length));
|
|
37627
37627
|
let i = "", s = "";
|
|
37628
37628
|
for (const o of n)
|
|
37629
37629
|
switch (r) {
|
|
37630
|
-
case
|
|
37631
|
-
o === "\\" ? r =
|
|
37630
|
+
case $o.Normal: {
|
|
37631
|
+
o === "\\" ? r = $o.ReverseVirgule : i += o;
|
|
37632
37632
|
break;
|
|
37633
37633
|
}
|
|
37634
|
-
case
|
|
37634
|
+
case $o.ReverseVirgule: {
|
|
37635
37635
|
let u = o;
|
|
37636
37636
|
if (o === "u") {
|
|
37637
|
-
r =
|
|
37637
|
+
r = $o.Unicode, s = "";
|
|
37638
37638
|
continue;
|
|
37639
37639
|
}
|
|
37640
37640
|
o === "b" ? u = "\b" : o === "f" ? u = "\f" : o === "n" ? u = `
|
|
37641
|
-
` : o === "r" ? u = "\r" : o === "t" && (u = " "), i += u, r =
|
|
37641
|
+
` : o === "r" ? u = "\r" : o === "t" && (u = " "), i += u, r = $o.Normal;
|
|
37642
37642
|
break;
|
|
37643
37643
|
}
|
|
37644
|
-
case
|
|
37645
|
-
"ABCDEFabcdef0123456789".includes(o) ? (s += o, s.length === 4 && (i += String.fromCharCode(parseInt(s, 16)), r =
|
|
37644
|
+
case $o.Unicode:
|
|
37645
|
+
"ABCDEFabcdef0123456789".includes(o) ? (s += o, s.length === 4 && (i += String.fromCharCode(parseInt(s, 16)), r = $o.Normal)) : r = $o.Normal;
|
|
37646
37646
|
}
|
|
37647
37647
|
return i;
|
|
37648
37648
|
}
|
|
@@ -40539,15 +40539,15 @@ class S4e extends v4e.ExpressionDef {
|
|
|
40539
40539
|
uE.BinaryBoolean = S4e;
|
|
40540
40540
|
Object.defineProperty(oE, "__esModule", { value: !0 });
|
|
40541
40541
|
oE.ExprCompare = void 0;
|
|
40542
|
-
const
|
|
40543
|
-
"~": [
|
|
40544
|
-
"!~": [
|
|
40545
|
-
"<": [
|
|
40546
|
-
"<=": [
|
|
40547
|
-
"=": [
|
|
40548
|
-
"!=": [
|
|
40549
|
-
">=": [
|
|
40550
|
-
">": [
|
|
40542
|
+
const Vt = cn, _4e = uE, b4e = {
|
|
40543
|
+
"~": [Vt.FT.stringT],
|
|
40544
|
+
"!~": [Vt.FT.stringT],
|
|
40545
|
+
"<": [Vt.FT.numberT, Vt.FT.stringT, Vt.FT.dateT, Vt.FT.timestampT],
|
|
40546
|
+
"<=": [Vt.FT.numberT, Vt.FT.stringT, Vt.FT.dateT, Vt.FT.timestampT],
|
|
40547
|
+
"=": [Vt.FT.numberT, Vt.FT.stringT, Vt.FT.dateT, Vt.FT.timestampT],
|
|
40548
|
+
"!=": [Vt.FT.numberT, Vt.FT.stringT, Vt.FT.dateT, Vt.FT.timestampT],
|
|
40549
|
+
">=": [Vt.FT.numberT, Vt.FT.stringT, Vt.FT.dateT, Vt.FT.timestampT],
|
|
40550
|
+
">": [Vt.FT.numberT, Vt.FT.stringT, Vt.FT.dateT, Vt.FT.timestampT]
|
|
40551
40551
|
};
|
|
40552
40552
|
class C4e extends _4e.BinaryBoolean {
|
|
40553
40553
|
constructor(e, n, r) {
|
|
@@ -42364,7 +42364,7 @@ class NJ extends Cd {
|
|
|
42364
42364
|
super(`Invalid unit ${e}`);
|
|
42365
42365
|
}
|
|
42366
42366
|
}
|
|
42367
|
-
class
|
|
42367
|
+
class no extends Cd {
|
|
42368
42368
|
}
|
|
42369
42369
|
class h0 extends Cd {
|
|
42370
42370
|
constructor() {
|
|
@@ -42610,7 +42610,7 @@ function ST(t, e) {
|
|
|
42610
42610
|
function XJ(t) {
|
|
42611
42611
|
const e = Number(t);
|
|
42612
42612
|
if (typeof t == "boolean" || t === "" || Number.isNaN(e))
|
|
42613
|
-
throw new
|
|
42613
|
+
throw new no(`Invalid unit value ${t}`);
|
|
42614
42614
|
return e;
|
|
42615
42615
|
}
|
|
42616
42616
|
function WS(t, e) {
|
|
@@ -44049,7 +44049,7 @@ class _t {
|
|
|
44049
44049
|
*/
|
|
44050
44050
|
static fromObject(e, n = {}) {
|
|
44051
44051
|
if (e == null || typeof e != "object")
|
|
44052
|
-
throw new
|
|
44052
|
+
throw new no(`Duration.fromObject: argument expected to be an object, got ${e === null ? "null" : typeof e}`);
|
|
44053
44053
|
return new _t({
|
|
44054
44054
|
values: WS(e, _t.normalizeUnit),
|
|
44055
44055
|
loc: pn.fromObject(n),
|
|
@@ -44073,7 +44073,7 @@ class _t {
|
|
|
44073
44073
|
return e;
|
|
44074
44074
|
if (typeof e == "object")
|
|
44075
44075
|
return _t.fromObject(e);
|
|
44076
|
-
throw new
|
|
44076
|
+
throw new no(`Unknown duration argument ${e} of type ${typeof e}`);
|
|
44077
44077
|
}
|
|
44078
44078
|
/**
|
|
44079
44079
|
* Create a Duration from an ISO 8601 duration string.
|
|
@@ -44119,7 +44119,7 @@ class _t {
|
|
|
44119
44119
|
*/
|
|
44120
44120
|
static invalid(e, n = null) {
|
|
44121
44121
|
if (!e)
|
|
44122
|
-
throw new
|
|
44122
|
+
throw new no("need to specify a reason the Duration is invalid");
|
|
44123
44123
|
const r = e instanceof Uo ? e : new Uo(e, n);
|
|
44124
44124
|
if (Pn.throwOnInvalid)
|
|
44125
44125
|
throw new mbe(r);
|
|
@@ -44609,7 +44609,7 @@ class fn {
|
|
|
44609
44609
|
*/
|
|
44610
44610
|
static invalid(e, n = null) {
|
|
44611
44611
|
if (!e)
|
|
44612
|
-
throw new
|
|
44612
|
+
throw new no("need to specify a reason the Interval is invalid");
|
|
44613
44613
|
const r = e instanceof Uo ? e : new Uo(e, n);
|
|
44614
44614
|
if (Pn.throwOnInvalid)
|
|
44615
44615
|
throw new gbe(r);
|
|
@@ -45284,7 +45284,7 @@ function GCe(t) {
|
|
|
45284
45284
|
} else
|
|
45285
45285
|
return e;
|
|
45286
45286
|
}
|
|
45287
|
-
function
|
|
45287
|
+
function Do({
|
|
45288
45288
|
numberingSystem: t
|
|
45289
45289
|
}, e = "") {
|
|
45290
45290
|
return new RegExp(`${hL[t || "latn"]}${e}`);
|
|
@@ -45303,7 +45303,7 @@ function YCe(t) {
|
|
|
45303
45303
|
function DU(t) {
|
|
45304
45304
|
return t.replace(/\./g, "").replace(pZ, " ").toLowerCase();
|
|
45305
45305
|
}
|
|
45306
|
-
function
|
|
45306
|
+
function Fo(t, e) {
|
|
45307
45307
|
return t === null ? null : {
|
|
45308
45308
|
regex: RegExp(t.map(YCe).join("|")),
|
|
45309
45309
|
deser: ([n]) => t.findIndex((r) => DU(n) === DU(r)) + e
|
|
@@ -45326,7 +45326,7 @@ function KCe(t) {
|
|
|
45326
45326
|
return t.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g, "\\$&");
|
|
45327
45327
|
}
|
|
45328
45328
|
function XCe(t, e) {
|
|
45329
|
-
const n =
|
|
45329
|
+
const n = Do(e), r = Do(e, "{2}"), i = Do(e, "{3}"), s = Do(e, "{4}"), o = Do(e, "{6}"), u = Do(e, "{1,2}"), a = Do(e, "{1,3}"), l = Do(e, "{1,6}"), c = Do(e, "{1,9}"), f = Do(e, "{2,4}"), x = Do(e, "{4,6}"), h = (g) => ({
|
|
45330
45330
|
regex: RegExp(KCe(g.val)),
|
|
45331
45331
|
deser: ([y]) => y,
|
|
45332
45332
|
literal: !0
|
|
@@ -45335,9 +45335,9 @@ function XCe(t, e) {
|
|
|
45335
45335
|
return h(g);
|
|
45336
45336
|
switch (g.val) {
|
|
45337
45337
|
case "G":
|
|
45338
|
-
return
|
|
45338
|
+
return Fo(e.eras("short", !1), 0);
|
|
45339
45339
|
case "GG":
|
|
45340
|
-
return
|
|
45340
|
+
return Fo(e.eras("long", !1), 0);
|
|
45341
45341
|
case "y":
|
|
45342
45342
|
return It(l);
|
|
45343
45343
|
case "yy":
|
|
@@ -45353,17 +45353,17 @@ function XCe(t, e) {
|
|
|
45353
45353
|
case "MM":
|
|
45354
45354
|
return It(r);
|
|
45355
45355
|
case "MMM":
|
|
45356
|
-
return
|
|
45356
|
+
return Fo(e.months("short", !0, !1), 1);
|
|
45357
45357
|
case "MMMM":
|
|
45358
|
-
return
|
|
45358
|
+
return Fo(e.months("long", !0, !1), 1);
|
|
45359
45359
|
case "L":
|
|
45360
45360
|
return It(u);
|
|
45361
45361
|
case "LL":
|
|
45362
45362
|
return It(r);
|
|
45363
45363
|
case "LLL":
|
|
45364
|
-
return
|
|
45364
|
+
return Fo(e.months("short", !1, !1), 1);
|
|
45365
45365
|
case "LLLL":
|
|
45366
|
-
return
|
|
45366
|
+
return Fo(e.months("long", !1, !1), 1);
|
|
45367
45367
|
case "d":
|
|
45368
45368
|
return It(u);
|
|
45369
45369
|
case "dd":
|
|
@@ -45403,7 +45403,7 @@ function XCe(t, e) {
|
|
|
45403
45403
|
case "uuu":
|
|
45404
45404
|
return It(n);
|
|
45405
45405
|
case "a":
|
|
45406
|
-
return
|
|
45406
|
+
return Fo(e.meridiems(), 0);
|
|
45407
45407
|
case "kkkk":
|
|
45408
45408
|
return It(s);
|
|
45409
45409
|
case "kk":
|
|
@@ -45416,13 +45416,13 @@ function XCe(t, e) {
|
|
|
45416
45416
|
case "c":
|
|
45417
45417
|
return It(n);
|
|
45418
45418
|
case "EEE":
|
|
45419
|
-
return
|
|
45419
|
+
return Fo(e.weekdays("short", !1, !1), 1);
|
|
45420
45420
|
case "EEEE":
|
|
45421
|
-
return
|
|
45421
|
+
return Fo(e.weekdays("long", !1, !1), 1);
|
|
45422
45422
|
case "ccc":
|
|
45423
|
-
return
|
|
45423
|
+
return Fo(e.weekdays("short", !0, !1), 1);
|
|
45424
45424
|
case "cccc":
|
|
45425
|
-
return
|
|
45425
|
+
return Fo(e.weekdays("long", !0, !1), 1);
|
|
45426
45426
|
case "Z":
|
|
45427
45427
|
case "ZZ":
|
|
45428
45428
|
return FU(new RegExp(`([+-]${u.source})(?::(${r.source}))?`), 2);
|
|
@@ -45597,7 +45597,7 @@ function oTe(t, e, n) {
|
|
|
45597
45597
|
return [r, i, s, o];
|
|
45598
45598
|
}
|
|
45599
45599
|
const mZ = [0, 31, 59, 90, 120, 151, 181, 212, 243, 273, 304, 334], yZ = [0, 31, 60, 91, 121, 152, 182, 213, 244, 274, 305, 335];
|
|
45600
|
-
function
|
|
45600
|
+
function so(t, e) {
|
|
45601
45601
|
return new Uo("unit out of range", `you specified ${e} (of type ${typeof e}) as a ${t}, which is invalid`);
|
|
45602
45602
|
}
|
|
45603
45603
|
function EZ(t, e, n) {
|
|
@@ -45678,15 +45678,15 @@ function LU(t) {
|
|
|
45678
45678
|
}
|
|
45679
45679
|
function uTe(t) {
|
|
45680
45680
|
const e = vT(t.weekYear), n = ll(t.weekNumber, 1, GS(t.weekYear)), r = ll(t.weekday, 1, 7);
|
|
45681
|
-
return e ? n ? r ? !1 :
|
|
45681
|
+
return e ? n ? r ? !1 : so("weekday", t.weekday) : so("week", t.week) : so("weekYear", t.weekYear);
|
|
45682
45682
|
}
|
|
45683
45683
|
function aTe(t) {
|
|
45684
45684
|
const e = vT(t.year), n = ll(t.ordinal, 1, km(t.year));
|
|
45685
|
-
return e ? n ? !1 :
|
|
45685
|
+
return e ? n ? !1 : so("ordinal", t.ordinal) : so("year", t.year);
|
|
45686
45686
|
}
|
|
45687
45687
|
function SZ(t) {
|
|
45688
45688
|
const e = vT(t.year), n = ll(t.month, 1, 12), r = ll(t.day, 1, QS(t.year, t.month));
|
|
45689
|
-
return e ? n ? r ? !1 :
|
|
45689
|
+
return e ? n ? r ? !1 : so("day", t.day) : so("month", t.month) : so("year", t.year);
|
|
45690
45690
|
}
|
|
45691
45691
|
function _Z(t) {
|
|
45692
45692
|
const {
|
|
@@ -45695,7 +45695,7 @@ function _Z(t) {
|
|
|
45695
45695
|
second: r,
|
|
45696
45696
|
millisecond: i
|
|
45697
45697
|
} = t, s = ll(e, 0, 23) || e === 24 && n === 0 && r === 0 && i === 0, o = ll(n, 0, 59), u = ll(r, 0, 59), a = ll(i, 0, 999);
|
|
45698
|
-
return s ? o ? u ? a ? !1 :
|
|
45698
|
+
return s ? o ? u ? a ? !1 : so("millisecond", i) : so("second", r) : so("minute", n) : so("hour", e);
|
|
45699
45699
|
}
|
|
45700
45700
|
const DN = "Invalid DateTime", IU = 864e13;
|
|
45701
45701
|
function MA(t) {
|
|
@@ -46018,7 +46018,7 @@ class ut {
|
|
|
46018
46018
|
zone: D0(n.zone, Pn.defaultZone),
|
|
46019
46019
|
loc: pn.fromObject(n)
|
|
46020
46020
|
});
|
|
46021
|
-
throw new
|
|
46021
|
+
throw new no(`fromMillis requires a numerical input, but received a ${typeof e} with value ${e}`);
|
|
46022
46022
|
}
|
|
46023
46023
|
/**
|
|
46024
46024
|
* Create a DateTime from a number of seconds since the epoch (meaning since 1 January 1970 00:00:00 UTC). Uses the default zone.
|
|
@@ -46037,7 +46037,7 @@ class ut {
|
|
|
46037
46037
|
zone: D0(n.zone, Pn.defaultZone),
|
|
46038
46038
|
loc: pn.fromObject(n)
|
|
46039
46039
|
});
|
|
46040
|
-
throw new
|
|
46040
|
+
throw new no("fromSeconds requires a numerical input");
|
|
46041
46041
|
}
|
|
46042
46042
|
/**
|
|
46043
46043
|
* Create a DateTime from a JavaScript object with keys like 'year' and 'hour' with reasonable defaults.
|
|
@@ -46168,7 +46168,7 @@ class ut {
|
|
|
46168
46168
|
*/
|
|
46169
46169
|
static fromFormat(e, n, r = {}) {
|
|
46170
46170
|
if (St(e) || St(n))
|
|
46171
|
-
throw new
|
|
46171
|
+
throw new no("fromFormat requires an input string and a format");
|
|
46172
46172
|
const {
|
|
46173
46173
|
locale: i = null,
|
|
46174
46174
|
numberingSystem: s = null
|
|
@@ -46217,7 +46217,7 @@ class ut {
|
|
|
46217
46217
|
*/
|
|
46218
46218
|
static invalid(e, n = null) {
|
|
46219
46219
|
if (!e)
|
|
46220
|
-
throw new
|
|
46220
|
+
throw new no("need to specify a reason the DateTime is invalid");
|
|
46221
46221
|
const r = e instanceof Uo ? e : new Uo(e, n);
|
|
46222
46222
|
if (Pn.throwOnInvalid)
|
|
46223
46223
|
throw new pbe(r);
|
|
@@ -47147,7 +47147,7 @@ class ut {
|
|
|
47147
47147
|
*/
|
|
47148
47148
|
static min(...e) {
|
|
47149
47149
|
if (!e.every(ut.isDateTime))
|
|
47150
|
-
throw new
|
|
47150
|
+
throw new no("min requires all arguments be DateTimes");
|
|
47151
47151
|
return yU(e, (n) => n.valueOf(), Math.min);
|
|
47152
47152
|
}
|
|
47153
47153
|
/**
|
|
@@ -47157,7 +47157,7 @@ class ut {
|
|
|
47157
47157
|
*/
|
|
47158
47158
|
static max(...e) {
|
|
47159
47159
|
if (!e.every(ut.isDateTime))
|
|
47160
|
-
throw new
|
|
47160
|
+
throw new no("max requires all arguments be DateTimes");
|
|
47161
47161
|
return yU(e, (n) => n.valueOf(), Math.max);
|
|
47162
47162
|
}
|
|
47163
47163
|
// MISC
|
|
@@ -47348,7 +47348,7 @@ function $g(t) {
|
|
|
47348
47348
|
return ut.fromJSDate(t);
|
|
47349
47349
|
if (t && typeof t == "object")
|
|
47350
47350
|
return ut.fromObject(t);
|
|
47351
|
-
throw new
|
|
47351
|
+
throw new no(`Unknown datetime argument: ${t}, of type ${typeof t}`);
|
|
47352
47352
|
}
|
|
47353
47353
|
const dTe = "2.5.2";
|
|
47354
47354
|
var hTe = hs.DateTime = ut;
|
|
@@ -47380,7 +47380,7 @@ function Td(t, e) {
|
|
|
47380
47380
|
}
|
|
47381
47381
|
return { text: n };
|
|
47382
47382
|
}
|
|
47383
|
-
const OZ = "yyyy", RZ = `${OZ}-LL`,
|
|
47383
|
+
const OZ = "yyyy", RZ = `${OZ}-LL`, xo = `${RZ}-dd`, NZ = `${xo} HH`, DZ = `${NZ}:mm`, zD = `${DZ}:ss`;
|
|
47384
47384
|
class FZ extends qD.ExpressionDef {
|
|
47385
47385
|
constructor(e, n, r) {
|
|
47386
47386
|
super(), this.units = n, this.timeType = r, this.literalPart = e.text, e.tzSpec && (this.timeZone = e.tzSpec);
|
|
@@ -47491,9 +47491,9 @@ class yL extends pE {
|
|
|
47491
47491
|
static parse(e) {
|
|
47492
47492
|
const n = Td(e, !1);
|
|
47493
47493
|
let r = n.text;
|
|
47494
|
-
const i = uc.DateTime.fromFormat(n.text,
|
|
47494
|
+
const i = uc.DateTime.fromFormat(n.text, xo);
|
|
47495
47495
|
if (i.isValid)
|
|
47496
|
-
return r = i.plus({ day: 1 }).toFormat(
|
|
47496
|
+
return r = i.plus({ day: 1 }).toFormat(xo), new yL(n, r);
|
|
47497
47497
|
}
|
|
47498
47498
|
}
|
|
47499
47499
|
ur.LiteralDay = yL;
|
|
@@ -47504,10 +47504,10 @@ class EL extends pE {
|
|
|
47504
47504
|
static parse(e) {
|
|
47505
47505
|
const n = Td(e, !1);
|
|
47506
47506
|
let r = n.text;
|
|
47507
|
-
const i = n.text.slice(0, 10), s = uc.DateTime.fromFormat(i,
|
|
47507
|
+
const i = n.text.slice(0, 10), s = uc.DateTime.fromFormat(i, xo);
|
|
47508
47508
|
if (s.isValid && s.weekday === 7) {
|
|
47509
47509
|
const u = s.plus({ days: 7 });
|
|
47510
|
-
return n.text = s.toFormat(
|
|
47510
|
+
return n.text = s.toFormat(xo), r = u.toFormat(xo), new EL(n, r);
|
|
47511
47511
|
}
|
|
47512
47512
|
}
|
|
47513
47513
|
}
|
|
@@ -47522,7 +47522,7 @@ class AL extends pE {
|
|
|
47522
47522
|
const i = uc.DateTime.fromFormat(n.text, RZ);
|
|
47523
47523
|
if (i.isValid) {
|
|
47524
47524
|
const s = i.plus({ months: 1 });
|
|
47525
|
-
return n.text = i.toFormat(
|
|
47525
|
+
return n.text = i.toFormat(xo), r = s.toFormat(xo), new AL(n, r);
|
|
47526
47526
|
}
|
|
47527
47527
|
}
|
|
47528
47528
|
}
|
|
@@ -47540,7 +47540,7 @@ class vL extends pE {
|
|
|
47540
47540
|
let o = uc.DateTime.fromFormat(i[1], "yyyy");
|
|
47541
47541
|
s > 0 && (o = o.plus({ quarters: s }));
|
|
47542
47542
|
const u = o.plus({ quarter: 1 });
|
|
47543
|
-
return n.text = o.toFormat(
|
|
47543
|
+
return n.text = o.toFormat(xo), r = u.toFormat(xo), new vL(n, r);
|
|
47544
47544
|
}
|
|
47545
47545
|
}
|
|
47546
47546
|
}
|
|
@@ -47555,7 +47555,7 @@ class SL extends pE {
|
|
|
47555
47555
|
const i = uc.DateTime.fromFormat(n.text, OZ);
|
|
47556
47556
|
if (i.isValid) {
|
|
47557
47557
|
const s = i.plus({ year: 1 });
|
|
47558
|
-
return n.text = i.toFormat(
|
|
47558
|
+
return n.text = i.toFormat(xo), r = s.toFormat(xo), new SL(n, r);
|
|
47559
47559
|
}
|
|
47560
47560
|
}
|
|
47561
47561
|
}
|
|
@@ -47584,7 +47584,7 @@ CT.PartialCompare = ATe;
|
|
|
47584
47584
|
var T2 = {};
|
|
47585
47585
|
Object.defineProperty(T2, "__esModule", { value: !0 });
|
|
47586
47586
|
T2.PickWhen = T2.Pick = void 0;
|
|
47587
|
-
const Tu = le, p0 = vr,
|
|
47587
|
+
const Tu = le, p0 = vr, wo = cn, vTe = dt, STe = We;
|
|
47588
47588
|
function UA(t, e) {
|
|
47589
47589
|
return t === void 0 || t.dataType === "null" || t.dataType === "error" ? e : t;
|
|
47590
47590
|
}
|
|
@@ -47616,16 +47616,16 @@ class _Te extends vTe.ExpressionDef {
|
|
|
47616
47616
|
let s, o = "scalar", u = "constant";
|
|
47617
47617
|
for (const c of this.choices) {
|
|
47618
47618
|
const f = c.when.apply(e, "=", r), x = c.pick ? c.pick.getExpression(e) : r.getExpression(e);
|
|
47619
|
-
if (o = (0, Tu.maxExpressionType)(o, (0, Tu.maxExpressionType)(f.expressionType, x.expressionType)), u = (0, Tu.mergeEvalSpaces)(u, f.evalSpace, x.evalSpace), s && !
|
|
47620
|
-
const h =
|
|
47619
|
+
if (o = (0, Tu.maxExpressionType)(o, (0, Tu.maxExpressionType)(f.expressionType, x.expressionType)), u = (0, Tu.mergeEvalSpaces)(u, f.evalSpace, x.evalSpace), s && !wo.FT.typeEq(s, x, !0)) {
|
|
47620
|
+
const h = wo.FT.inspect(x);
|
|
47621
47621
|
return this.log(`pick type '${h}', expected '${s.dataType}'[pick-values-must-match]`), (0, p0.errorFor)("pick when type");
|
|
47622
47622
|
}
|
|
47623
47623
|
s = UA(s, x), i.kids.pickWhen.push(f.value), i.kids.pickThen.push(x.value);
|
|
47624
47624
|
}
|
|
47625
47625
|
const l = (this.elsePick || r).getExpression(e);
|
|
47626
|
-
if (s = UA(s, l), !
|
|
47626
|
+
if (s = UA(s, l), !wo.FT.typeEq(s, l, !0)) {
|
|
47627
47627
|
const c = this.elsePick ? "else" : "pick default";
|
|
47628
|
-
return this.log(`${c} type '${
|
|
47628
|
+
return this.log(`${c} type '${wo.FT.inspect(l)}', expected '${s.dataType}'[pick-values-must-match]`), (0, p0.errorFor)("pick else type");
|
|
47629
47629
|
}
|
|
47630
47630
|
return i.kids.pickElse = l.value, {
|
|
47631
47631
|
dataType: s.dataType,
|
|
@@ -47658,21 +47658,21 @@ class _Te extends vTe.ExpressionDef {
|
|
|
47658
47658
|
}
|
|
47659
47659
|
let i, s = "scalar", o = "constant";
|
|
47660
47660
|
for (const a of r) {
|
|
47661
|
-
if (!
|
|
47662
|
-
return this.log(`when expression must be boolean, not '${
|
|
47663
|
-
if (i && !
|
|
47664
|
-
const l =
|
|
47661
|
+
if (!wo.FT.typeEq(a.when, wo.FT.boolT))
|
|
47662
|
+
return this.log(`when expression must be boolean, not '${wo.FT.inspect(a.when)}`), (0, p0.errorFor)("pick when type");
|
|
47663
|
+
if (i && !wo.FT.typeEq(i, a.pick, !0)) {
|
|
47664
|
+
const l = wo.FT.inspect(a.pick);
|
|
47665
47665
|
return this.log(`pick type '${l}', expected '${i.dataType}'[pick-values-must-match]`), (0, p0.errorFor)("pick value type");
|
|
47666
47666
|
}
|
|
47667
47667
|
i = UA(i, a.pick), s = (0, Tu.maxExpressionType)(s, (0, Tu.maxExpressionType)(a.pick.expressionType, a.when.expressionType)), o = (0, Tu.mergeEvalSpaces)(o, a.pick.evalSpace, a.when.evalSpace), n.kids.pickWhen.push(a.when.value), n.kids.pickThen.push(a.pick.value);
|
|
47668
47668
|
}
|
|
47669
47669
|
const u = this.elsePick.getExpression(e);
|
|
47670
|
-
return s = (0, Tu.maxExpressionType)(s, u.expressionType), o = (0, Tu.mergeEvalSpaces)(o, u.evalSpace), i = UA(i, u),
|
|
47670
|
+
return s = (0, Tu.maxExpressionType)(s, u.expressionType), o = (0, Tu.mergeEvalSpaces)(o, u.evalSpace), i = UA(i, u), wo.FT.typeEq(i, u, !0) ? (n.kids.pickElse = u.value, {
|
|
47671
47671
|
dataType: i.dataType,
|
|
47672
47672
|
expressionType: s,
|
|
47673
47673
|
value: n,
|
|
47674
47674
|
evalSpace: o
|
|
47675
|
-
}) : (this.elsePick.log(`else type '${
|
|
47675
|
+
}) : (this.elsePick.log(`else type '${wo.FT.inspect(u)}', expected '${i.dataType}'[pick-values-must-match]`), (0, p0.errorFor)("pick value type mismatch"));
|
|
47676
47676
|
}
|
|
47677
47677
|
}
|
|
47678
47678
|
T2.Pick = _Te;
|
|
@@ -53640,7 +53640,7 @@ function UNe(t, e) {
|
|
|
53640
53640
|
function Hs(t, e, n) {
|
|
53641
53641
|
return t.fields = e || [], t.fname = n, t;
|
|
53642
53642
|
}
|
|
53643
|
-
function
|
|
53643
|
+
function kn(t) {
|
|
53644
53644
|
return t == null ? null : t.fname;
|
|
53645
53645
|
}
|
|
53646
53646
|
function bi(t) {
|
|
@@ -54891,7 +54891,7 @@ F2.every = (t) => (t = Math.floor(t), !isFinite(t) || !(t > 0) ? null : t > 1 ?
|
|
|
54891
54891
|
e.setTime(+e + n * t);
|
|
54892
54892
|
}, (e, n) => (n - e) / t) : F2);
|
|
54893
54893
|
F2.range;
|
|
54894
|
-
const cl = 1e3,
|
|
54894
|
+
const cl = 1e3, oo = cl * 60, fl = oo * 60, $l = fl * 24, UL = $l * 7, Cq = $l * 30, YN = $l * 365, xl = er((t) => {
|
|
54895
54895
|
t.setTime(t - t.getMilliseconds());
|
|
54896
54896
|
}, (t, e) => {
|
|
54897
54897
|
t.setTime(+t + e * cl);
|
|
@@ -54900,17 +54900,17 @@ xl.range;
|
|
|
54900
54900
|
const m6 = er((t) => {
|
|
54901
54901
|
t.setTime(t - t.getMilliseconds() - t.getSeconds() * cl);
|
|
54902
54902
|
}, (t, e) => {
|
|
54903
|
-
t.setTime(+t + e *
|
|
54904
|
-
}, (t, e) => (e - t) /
|
|
54903
|
+
t.setTime(+t + e * oo);
|
|
54904
|
+
}, (t, e) => (e - t) / oo, (t) => t.getMinutes());
|
|
54905
54905
|
m6.range;
|
|
54906
54906
|
const y6 = er((t) => {
|
|
54907
54907
|
t.setUTCSeconds(0, 0);
|
|
54908
54908
|
}, (t, e) => {
|
|
54909
|
-
t.setTime(+t + e *
|
|
54910
|
-
}, (t, e) => (e - t) /
|
|
54909
|
+
t.setTime(+t + e * oo);
|
|
54910
|
+
}, (t, e) => (e - t) / oo, (t) => t.getUTCMinutes());
|
|
54911
54911
|
y6.range;
|
|
54912
54912
|
const E6 = er((t) => {
|
|
54913
|
-
t.setTime(t - t.getMilliseconds() - t.getSeconds() * cl - t.getMinutes() *
|
|
54913
|
+
t.setTime(t - t.getMilliseconds() - t.getSeconds() * cl - t.getMinutes() * oo);
|
|
54914
54914
|
}, (t, e) => {
|
|
54915
54915
|
t.setTime(+t + e * fl);
|
|
54916
54916
|
}, (t, e) => (e - t) / fl, (t) => t.getHours());
|
|
@@ -54924,7 +54924,7 @@ A6.range;
|
|
|
54924
54924
|
const _l = er(
|
|
54925
54925
|
(t) => t.setHours(0, 0, 0, 0),
|
|
54926
54926
|
(t, e) => t.setDate(t.getDate() + e),
|
|
54927
|
-
(t, e) => (e - t - (e.getTimezoneOffset() - t.getTimezoneOffset()) *
|
|
54927
|
+
(t, e) => (e - t - (e.getTimezoneOffset() - t.getTimezoneOffset()) * oo) / $l,
|
|
54928
54928
|
(t) => t.getDate() - 1
|
|
54929
54929
|
);
|
|
54930
54930
|
_l.range;
|
|
@@ -54945,7 +54945,7 @@ function Rd(t) {
|
|
|
54945
54945
|
e.setDate(e.getDate() - (e.getDay() + 7 - t) % 7), e.setHours(0, 0, 0, 0);
|
|
54946
54946
|
}, (e, n) => {
|
|
54947
54947
|
e.setDate(e.getDate() + n * 7);
|
|
54948
|
-
}, (e, n) => (n - e - (n.getTimezoneOffset() - e.getTimezoneOffset()) *
|
|
54948
|
+
}, (e, n) => (n - e - (n.getTimezoneOffset() - e.getTimezoneOffset()) * oo) / UL);
|
|
54949
54949
|
}
|
|
54950
54950
|
const Z1 = Rd(0), t4 = Rd(1), K7e = Rd(2), X7e = Rd(3), w2 = Rd(4), J7e = Rd(5), Z7e = Rd(6);
|
|
54951
54951
|
Z1.range;
|
|
@@ -55010,10 +55010,10 @@ function Xee(t, e, n, r, i, s) {
|
|
|
55010
55010
|
[xl, 5, 5 * cl],
|
|
55011
55011
|
[xl, 15, 15 * cl],
|
|
55012
55012
|
[xl, 30, 30 * cl],
|
|
55013
|
-
[s, 1,
|
|
55014
|
-
[s, 5, 5 *
|
|
55015
|
-
[s, 15, 15 *
|
|
55016
|
-
[s, 30, 30 *
|
|
55013
|
+
[s, 1, oo],
|
|
55014
|
+
[s, 5, 5 * oo],
|
|
55015
|
+
[s, 15, 15 * oo],
|
|
55016
|
+
[s, 30, 30 * oo],
|
|
55017
55017
|
[i, 1, fl],
|
|
55018
55018
|
[i, 3, 3 * fl],
|
|
55019
55019
|
[i, 6, 6 * fl],
|
|
@@ -55042,7 +55042,7 @@ function Xee(t, e, n, r, i, s) {
|
|
|
55042
55042
|
}
|
|
55043
55043
|
return [u, a];
|
|
55044
55044
|
}
|
|
55045
|
-
const [iDe, sDe] = Xee(aa, _3, ep, Kee, A6, y6), [oDe, uDe] = Xee(ua, S3, Z1, _l, E6, m6), Xr = "year", Bs = "quarter", Ti = "month", cr = "week", ks = "date", Ai = "day", Bl = "dayofyear",
|
|
55045
|
+
const [iDe, sDe] = Xee(aa, _3, ep, Kee, A6, y6), [oDe, uDe] = Xee(ua, S3, Z1, _l, E6, m6), Xr = "year", Bs = "quarter", Ti = "month", cr = "week", ks = "date", Ai = "day", Bl = "dayofyear", yo = "hours", Eo = "minutes", Zo = "seconds", la = "milliseconds", Jee = [Xr, Bs, Ti, cr, ks, Ai, Bl, yo, Eo, Zo, la], KN = Jee.reduce((t, e, n) => (t[e] = 1 + n, t), {});
|
|
55046
55046
|
function Zee(t) {
|
|
55047
55047
|
const e = Pe(t).slice(), n = {};
|
|
55048
55048
|
return e.length || Se("Missing time unit."), e.forEach((i) => {
|
|
@@ -55057,13 +55057,13 @@ const aDe = {
|
|
|
55057
55057
|
[cr]: "W%U ",
|
|
55058
55058
|
[Ai]: "%a ",
|
|
55059
55059
|
[Bl]: "%j ",
|
|
55060
|
-
[
|
|
55061
|
-
[
|
|
55060
|
+
[yo]: "%H:00",
|
|
55061
|
+
[Eo]: "00:%M",
|
|
55062
55062
|
[Zo]: ":%S",
|
|
55063
55063
|
[la]: ".%L",
|
|
55064
55064
|
[`${Xr}-${Ti}`]: "%Y-%m ",
|
|
55065
55065
|
[`${Xr}-${Ti}-${ks}`]: "%Y-%m-%d ",
|
|
55066
|
-
[`${
|
|
55066
|
+
[`${yo}-${Eo}`]: "%H:%M"
|
|
55067
55067
|
};
|
|
55068
55068
|
function lDe(t, e) {
|
|
55069
55069
|
const n = lt({}, aDe, e), r = Zee(t), i = r.length;
|
|
@@ -55127,7 +55127,7 @@ function pDe(t, e, n, r, i, s, o) {
|
|
|
55127
55127
|
return new Date(Date.UTC(t, e, n, r, i, s, o));
|
|
55128
55128
|
}
|
|
55129
55129
|
function nte(t, e, n, r, i) {
|
|
55130
|
-
const s = e || 1, o = Ct(t), u = (y, E, A) => (A = A || y, gDe(n[A], r[A], y === o && s, E)), a = /* @__PURE__ */ new Date(), l = oa(t), c = l[Xr] ? u(Xr) : wi(2012), f = l[Ti] ? u(Ti) : l[Bs] ? u(Bs) : zf, x = l[cr] && l[Ai] ? u(Ai, 1, cr + Ai) : l[cr] ? u(cr, 1) : l[Ai] ? u(Ai, 1) : l[ks] ? u(ks, 1) : l[Bl] ? u(Bl, 1) : OE, h = l[
|
|
55130
|
+
const s = e || 1, o = Ct(t), u = (y, E, A) => (A = A || y, gDe(n[A], r[A], y === o && s, E)), a = /* @__PURE__ */ new Date(), l = oa(t), c = l[Xr] ? u(Xr) : wi(2012), f = l[Ti] ? u(Ti) : l[Bs] ? u(Bs) : zf, x = l[cr] && l[Ai] ? u(Ai, 1, cr + Ai) : l[cr] ? u(cr, 1) : l[Ai] ? u(Ai, 1) : l[ks] ? u(ks, 1) : l[Bl] ? u(Bl, 1) : OE, h = l[yo] ? u(yo) : zf, p = l[Eo] ? u(Eo) : zf, m = l[Zo] ? u(Zo) : zf, g = l[la] ? u(la) : zf;
|
|
55131
55131
|
return function(y) {
|
|
55132
55132
|
a.setTime(+y);
|
|
55133
55133
|
const E = c(a);
|
|
@@ -55146,8 +55146,8 @@ const mDe = {
|
|
|
55146
55146
|
[Bs]: (t) => Math.floor(t.getMonth() / 3),
|
|
55147
55147
|
[Ti]: (t) => t.getMonth(),
|
|
55148
55148
|
[ks]: (t) => t.getDate(),
|
|
55149
|
-
[
|
|
55150
|
-
[
|
|
55149
|
+
[yo]: (t) => t.getHours(),
|
|
55150
|
+
[Eo]: (t) => t.getMinutes(),
|
|
55151
55151
|
[Zo]: (t) => t.getSeconds(),
|
|
55152
55152
|
[la]: (t) => t.getMilliseconds(),
|
|
55153
55153
|
[Bl]: (t) => ete(t),
|
|
@@ -55166,8 +55166,8 @@ const ADe = {
|
|
|
55166
55166
|
[Bs]: (t) => Math.floor(t.getUTCMonth() / 3),
|
|
55167
55167
|
[Ti]: (t) => t.getUTCMonth(),
|
|
55168
55168
|
[ks]: (t) => t.getUTCDate(),
|
|
55169
|
-
[
|
|
55170
|
-
[
|
|
55169
|
+
[yo]: (t) => t.getUTCHours(),
|
|
55170
|
+
[Eo]: (t) => t.getUTCMinutes(),
|
|
55171
55171
|
[Zo]: (t) => t.getUTCSeconds(),
|
|
55172
55172
|
[la]: (t) => t.getUTCMilliseconds(),
|
|
55173
55173
|
[Bl]: (t) => tte(t),
|
|
@@ -55189,8 +55189,8 @@ const _De = {
|
|
|
55189
55189
|
[ks]: _l,
|
|
55190
55190
|
[Ai]: _l,
|
|
55191
55191
|
[Bl]: _l,
|
|
55192
|
-
[
|
|
55193
|
-
[
|
|
55192
|
+
[yo]: E6,
|
|
55193
|
+
[Eo]: m6,
|
|
55194
55194
|
[Zo]: xl,
|
|
55195
55195
|
[la]: F2
|
|
55196
55196
|
}, bDe = {
|
|
@@ -55201,8 +55201,8 @@ const _De = {
|
|
|
55201
55201
|
[ks]: V0,
|
|
55202
55202
|
[Ai]: V0,
|
|
55203
55203
|
[Bl]: V0,
|
|
55204
|
-
[
|
|
55205
|
-
[
|
|
55204
|
+
[yo]: A6,
|
|
55205
|
+
[Eo]: y6,
|
|
55206
55206
|
[Zo]: xl,
|
|
55207
55207
|
[la]: F2
|
|
55208
55208
|
};
|
|
@@ -55230,7 +55230,7 @@ function ODe(t, e, n, r) {
|
|
|
55230
55230
|
function RDe(t, e, n, r) {
|
|
55231
55231
|
return ite(FE(t), e, n, r);
|
|
55232
55232
|
}
|
|
55233
|
-
const xm = 1e3, dm = xm * 60, hm = dm * 60, v6 = hm * 24, NDe = v6 * 7, Tq = v6 * 30, i8 = v6 * 365, ste = [Xr, Ti, ks,
|
|
55233
|
+
const xm = 1e3, dm = xm * 60, hm = dm * 60, v6 = hm * 24, NDe = v6 * 7, Tq = v6 * 30, i8 = v6 * 365, ste = [Xr, Ti, ks, yo, Eo, Zo, la], pm = ste.slice(0, -1), gm = pm.slice(0, -1), mm = gm.slice(0, -1), DDe = mm.slice(0, -1), FDe = [Xr, cr], Oq = [Xr, Ti], ote = [Xr], Pg = [[pm, 1, xm], [pm, 5, 5 * xm], [pm, 15, 15 * xm], [pm, 30, 30 * xm], [gm, 1, dm], [gm, 5, 5 * dm], [gm, 15, 15 * dm], [gm, 30, 30 * dm], [mm, 1, hm], [mm, 3, 3 * hm], [mm, 6, 6 * hm], [mm, 12, 12 * hm], [DDe, 1, v6], [FDe, 1, NDe], [Oq, 1, Tq], [Oq, 3, 3 * Tq], [ote, 1, i8]];
|
|
55234
55234
|
function wDe(t) {
|
|
55235
55235
|
const e = t.extent, n = t.maxbins || 40, r = Math.abs(p6(e)) / n;
|
|
55236
55236
|
let i = NE((u) => u[2]).right(Pg, r), s, o;
|
|
@@ -55826,7 +55826,7 @@ function o8(t) {
|
|
|
55826
55826
|
}
|
|
55827
55827
|
function Pq(t, e, n) {
|
|
55828
55828
|
n = n || {}, He(n) || Se(`Invalid time multi-format specifier: ${n}`);
|
|
55829
|
-
const r = e(Zo), i = e(
|
|
55829
|
+
const r = e(Zo), i = e(Eo), s = e(yo), o = e(ks), u = e(cr), a = e(Ti), l = e(Bs), c = e(Xr), f = t(n[la] || ".%L"), x = t(n[Zo] || ":%S"), h = t(n[Eo] || "%I:%M"), p = t(n[yo] || "%I %p"), m = t(n[ks] || n[Ai] || "%a %d"), g = t(n[cr] || "%b %d"), y = t(n[Ti] || "%B"), E = t(n[Bs] || "%B"), A = t(n[Xr] || "%Y");
|
|
55830
55830
|
return (v) => (r(v) < v ? f : i(v) < v ? x : s(v) < v ? h : o(v) < v ? p : a(v) < v ? u(v) < v ? m : g : c(v) < v ? l(v) < v ? y : E : A)(v);
|
|
55831
55831
|
}
|
|
55832
55832
|
function gte(t) {
|
|
@@ -57984,13 +57984,13 @@ De(fc, pe, {
|
|
|
57984
57984
|
r[v = y[A]] || (r[v] = 1, e.push(v));
|
|
57985
57985
|
}
|
|
57986
57986
|
this._dims = Pe(t.groupby), this._dnames = this._dims.map((g) => {
|
|
57987
|
-
const y =
|
|
57987
|
+
const y = kn(g);
|
|
57988
57988
|
return i(g), n.push(y), y;
|
|
57989
57989
|
}), this.cellkey = t.key ? t.key : l8(this._dims), this._countOnly = !0, this._counts = [], this._measures = [];
|
|
57990
57990
|
const s = t.fields || [null], o = t.ops || ["count"], u = t.as || [], a = s.length, l = {};
|
|
57991
57991
|
let c, f, x, h, p, m;
|
|
57992
57992
|
for (a !== o.length && Se("Unmatched number of fields and aggregate ops."), m = 0; m < a; ++m) {
|
|
57993
|
-
if (c = s[m], f = o[m], c == null && f !== "count" && Se("Null aggregate field specified."), h =
|
|
57993
|
+
if (c = s[m], f = o[m], c == null && f !== "count" && Se("Null aggregate field specified."), h = kn(c), p = Wte(f, h, u[m]), n.push(p), f === "count") {
|
|
57994
57994
|
this._counts.push(p);
|
|
57995
57995
|
continue;
|
|
57996
57996
|
}
|
|
@@ -58163,7 +58163,7 @@ De(iI, pe, {
|
|
|
58163
58163
|
let c = Si(e(l));
|
|
58164
58164
|
return c == null ? null : c < i ? -1 / 0 : c > s ? 1 / 0 : (c = Math.max(i, Math.min(c, s - r)), i + r * Math.floor(Awe + (c - i) / r));
|
|
58165
58165
|
};
|
|
58166
|
-
return a.start = i, a.stop = n.stop, a.step = r, this.value = Hs(a, bi(e), t.name || "bin_" +
|
|
58166
|
+
return a.start = i, a.stop = n.stop, a.step = r, this.value = Hs(a, bi(e), t.name || "bin_" + kn(e));
|
|
58167
58167
|
}
|
|
58168
58168
|
});
|
|
58169
58169
|
function Xte(t, e, n) {
|
|
@@ -58444,7 +58444,7 @@ function Owe(t) {
|
|
|
58444
58444
|
return () => t.materialize(t.SOURCE).source;
|
|
58445
58445
|
}
|
|
58446
58446
|
function tne(t, e) {
|
|
58447
|
-
return t ? t.map((n, r) => e[r] ||
|
|
58447
|
+
return t ? t.map((n, r) => e[r] || kn(n)) : null;
|
|
58448
58448
|
}
|
|
58449
58449
|
function lI(t, e, n) {
|
|
58450
58450
|
const r = [], i = (f) => f(a);
|
|
@@ -58512,7 +58512,7 @@ function rne(t) {
|
|
|
58512
58512
|
De(rne, Kt);
|
|
58513
58513
|
function Nwe(t) {
|
|
58514
58514
|
const e = t.expr;
|
|
58515
|
-
return this.value && !t.modified("expr") ? this.value : Hs((n) => e(n, t), bi(e),
|
|
58515
|
+
return this.value && !t.modified("expr") ? this.value : Hs((n) => e(n, t), bi(e), kn(e));
|
|
58516
58516
|
}
|
|
58517
58517
|
function fI(t) {
|
|
58518
58518
|
pe.call(this, [void 0, void 0], t);
|
|
@@ -58534,7 +58534,7 @@ De(fI, pe, {
|
|
|
58534
58534
|
const a = Si(r(u));
|
|
58535
58535
|
a != null && (a < s && (s = a), a > o && (o = a));
|
|
58536
58536
|
}), !Number.isFinite(s) || !Number.isFinite(o)) {
|
|
58537
|
-
let u =
|
|
58537
|
+
let u = kn(r);
|
|
58538
58538
|
u && (u = ` for field "${u}"`), e.dataflow.warn(`Infinite extent${u}: [${s}, ${o}]`), s = o = void 0;
|
|
58539
58539
|
}
|
|
58540
58540
|
this.value = [s, o];
|
|
@@ -58747,7 +58747,7 @@ pI.Definition = {
|
|
|
58747
58747
|
};
|
|
58748
58748
|
De(pI, pe, {
|
|
58749
58749
|
transform(t, e) {
|
|
58750
|
-
const n = e.fork(e.NO_SOURCE), r = t.fields, i = r.map(
|
|
58750
|
+
const n = e.fork(e.NO_SOURCE), r = t.fields, i = r.map(kn), s = t.as || ["key", "value"], o = s[0], u = s[1], a = r.length;
|
|
58751
58751
|
return n.rem = this.value, e.visit(e.SOURCE, (l) => {
|
|
58752
58752
|
for (let c = 0, f; c < a; ++c)
|
|
58753
58753
|
f = YL(l), f[o] = i[c], f[u] = r[c](l), n.add.push(f);
|
|
@@ -58850,7 +58850,7 @@ function Lwe(t) {
|
|
|
58850
58850
|
}
|
|
58851
58851
|
De(mI, pe, {
|
|
58852
58852
|
transform(t, e) {
|
|
58853
|
-
var n = e.fork(e.ALL), r = wwe(t), i = Lwe(t), s =
|
|
58853
|
+
var n = e.fork(e.ALL), r = wwe(t), i = Lwe(t), s = kn(t.field), o = kn(t.key), u = (t.groupby || []).map(kn), a = Iwe(e.source, t.groupby, t.key, t.keyvals), l = [], c = this.value, f = a.domain.length, x, h, p, m, g, y, E, A, v, S;
|
|
58854
58854
|
for (g = 0, A = a.length; g < A; ++g)
|
|
58855
58855
|
for (x = a[g], p = x.values, h = NaN, E = 0; E < f; ++E)
|
|
58856
58856
|
if (x[E] == null) {
|
|
@@ -58979,7 +58979,7 @@ De(EI, pe, {
|
|
|
58979
58979
|
transform(t, e) {
|
|
58980
58980
|
const n = e.fork(e.NO_SOURCE | e.NO_FIELDS);
|
|
58981
58981
|
if (!this.value || e.changed() || t.modified()) {
|
|
58982
|
-
const r = e.materialize(e.SOURCE).source, i = lI(r, t.groupby, t.field), s = (t.groupby || []).map(
|
|
58982
|
+
const r = e.materialize(e.SOURCE).source, i = lI(r, t.groupby, t.field), s = (t.groupby || []).map(kn), o = t.bandwidth, u = t.cumulative ? "cdf" : "pdf", a = t.as || ["value", "density"], l = [];
|
|
58983
58983
|
let c = t.extent, f = t.steps || t.minsteps || 25, x = t.steps || t.maxsteps || 200;
|
|
58984
58984
|
u !== "pdf" && u !== "cdf" && Se("Invalid density method: " + u), t.resolve === "shared" && (c || (c = Il(r, t.field)), f = x = t.steps || x), i.forEach((h) => {
|
|
58985
58985
|
const p = Bte(h, o)[u], m = t.counts ? h.length : 1, g = c || Il(h);
|
|
@@ -59062,7 +59062,7 @@ De(AI, pe, {
|
|
|
59062
59062
|
transform(t, e) {
|
|
59063
59063
|
const n = t.fields, r = t.index, i = t.values, s = t.default == null ? null : t.default, o = t.modified(), u = n.length;
|
|
59064
59064
|
let a = o ? e.SOURCE : e.ADD, l = e, c = t.as, f, x, h;
|
|
59065
|
-
return i ? (x = i.length, u > 1 && !c && Se('Multi-field lookup requires explicit "as" parameter.'), c && c.length !== u * x && Se('The "as" parameter has too few output field names.'), c = c || i.map(
|
|
59065
|
+
return i ? (x = i.length, u > 1 && !c && Se('Multi-field lookup requires explicit "as" parameter.'), c && c.length !== u * x && Se('The "as" parameter has too few output field names.'), c = c || i.map(kn), f = function(p) {
|
|
59066
59066
|
for (var m = 0, g = 0, y, E; m < u; ++m)
|
|
59067
59067
|
if (E = r.get(n[m](p)), E == null)
|
|
59068
59068
|
for (y = 0; y < x; ++y, ++g)
|
|
@@ -59270,7 +59270,7 @@ De(_I, pe, {
|
|
|
59270
59270
|
const n = e.fork(e.NO_SOURCE | e.NO_FIELDS), r = t.as || ["prob", "value"];
|
|
59271
59271
|
if (this.value && !t.modified() && !e.changed())
|
|
59272
59272
|
return n.source = this.value, n;
|
|
59273
|
-
const i = e.materialize(e.SOURCE).source, s = lI(i, t.groupby, t.field), o = (t.groupby || []).map(
|
|
59273
|
+
const i = e.materialize(e.SOURCE).source, s = lI(i, t.groupby, t.field), o = (t.groupby || []).map(kn), u = [], a = t.step || 0.01, l = t.probs || Os(a / 2, 1 - zwe, a), c = l.length;
|
|
59274
59274
|
return s.forEach((f) => {
|
|
59275
59275
|
const x = Dte(f, l);
|
|
59276
59276
|
for (let h = 0; h < c; ++h) {
|
|
@@ -59608,7 +59608,7 @@ function yne(t) {
|
|
|
59608
59608
|
Pe(bi(h)).forEach((p) => u[p] = 1);
|
|
59609
59609
|
}
|
|
59610
59610
|
x(t.sort), e.forEach((h, p) => {
|
|
59611
|
-
const m = n[p], g =
|
|
59611
|
+
const m = n[p], g = kn(m), y = Wte(h, g, i[p]);
|
|
59612
59612
|
if (x(m), s.push(y), Je(T3, h))
|
|
59613
59613
|
o.push(Hwe(h, n[p], r[p], y));
|
|
59614
59614
|
else {
|
|
@@ -62112,7 +62112,7 @@ function YI(t, e, n) {
|
|
|
62112
62112
|
const r = t - e + n * 2;
|
|
62113
62113
|
return t ? r > 0 ? r : 1 : 0;
|
|
62114
62114
|
}
|
|
62115
|
-
const wLe = "identity", k2 = "linear", Pl = "log", PE = "pow", ME = "sqrt", $6 = "symlog", kx = "time", Px = "utc", Xu = "sequential", ip = "diverging", P2 = "quantile", B6 = "quantize", k6 = "threshold", KI = "ordinal", E8 = "point", Cre = "band", XI = "bin-ordinal", tr = "continuous", jE = "discrete", UE = "discretizing",
|
|
62115
|
+
const wLe = "identity", k2 = "linear", Pl = "log", PE = "pow", ME = "sqrt", $6 = "symlog", kx = "time", Px = "utc", Xu = "sequential", ip = "diverging", P2 = "quantile", B6 = "quantize", k6 = "threshold", KI = "ordinal", E8 = "point", Cre = "band", XI = "bin-ordinal", tr = "continuous", jE = "discrete", UE = "discretizing", To = "interpolating", JI = "temporal";
|
|
62116
62116
|
function LLe(t) {
|
|
62117
62117
|
return function(e) {
|
|
62118
62118
|
let n = e[0], r = e[1], i;
|
|
@@ -62228,17 +62228,17 @@ Lt(ME, CLe, tr);
|
|
|
62228
62228
|
Lt($6, gre, tr);
|
|
62229
62229
|
Lt(kx, RLe, [tr, JI]);
|
|
62230
62230
|
Lt(Px, NLe, [tr, JI]);
|
|
62231
|
-
Lt(Xu, GI, [tr,
|
|
62232
|
-
Lt(`${Xu}-${k2}`, GI, [tr,
|
|
62233
|
-
Lt(`${Xu}-${Pl}`, Are, [tr,
|
|
62234
|
-
Lt(`${Xu}-${PE}`, WI, [tr,
|
|
62235
|
-
Lt(`${Xu}-${ME}`, DLe, [tr,
|
|
62236
|
-
Lt(`${Xu}-${$6}`, vre, [tr,
|
|
62237
|
-
Lt(`${ip}-${k2}`, Sre, [tr,
|
|
62238
|
-
Lt(`${ip}-${Pl}`, _re, [tr,
|
|
62239
|
-
Lt(`${ip}-${PE}`, VI, [tr,
|
|
62240
|
-
Lt(`${ip}-${ME}`, FLe, [tr,
|
|
62241
|
-
Lt(`${ip}-${$6}`, bre, [tr,
|
|
62231
|
+
Lt(Xu, GI, [tr, To]);
|
|
62232
|
+
Lt(`${Xu}-${k2}`, GI, [tr, To]);
|
|
62233
|
+
Lt(`${Xu}-${Pl}`, Are, [tr, To, Pl]);
|
|
62234
|
+
Lt(`${Xu}-${PE}`, WI, [tr, To]);
|
|
62235
|
+
Lt(`${Xu}-${ME}`, DLe, [tr, To]);
|
|
62236
|
+
Lt(`${Xu}-${$6}`, vre, [tr, To]);
|
|
62237
|
+
Lt(`${ip}-${k2}`, Sre, [tr, To]);
|
|
62238
|
+
Lt(`${ip}-${Pl}`, _re, [tr, To, Pl]);
|
|
62239
|
+
Lt(`${ip}-${PE}`, VI, [tr, To]);
|
|
62240
|
+
Lt(`${ip}-${ME}`, FLe, [tr, To]);
|
|
62241
|
+
Lt(`${ip}-${$6}`, bre, [tr, To]);
|
|
62242
62242
|
Lt(P2, mre, [UE, P2]);
|
|
62243
62243
|
Lt(B6, yre, UE);
|
|
62244
62244
|
Lt(k6, Ere, UE);
|
|
@@ -62269,7 +62269,7 @@ function ULe(t) {
|
|
|
62269
62269
|
return wd(t, JI);
|
|
62270
62270
|
}
|
|
62271
62271
|
function wre(t) {
|
|
62272
|
-
return wd(t,
|
|
62272
|
+
return wd(t, To);
|
|
62273
62273
|
}
|
|
62274
62274
|
function Lre(t) {
|
|
62275
62275
|
return wd(t, P2);
|
|
@@ -63244,7 +63244,7 @@ function Em(t, e, n, r, i) {
|
|
|
63244
63244
|
function j2(t, e) {
|
|
63245
63245
|
t.globalCompositeOperation = e.blend || "source-over";
|
|
63246
63246
|
}
|
|
63247
|
-
function
|
|
63247
|
+
function Io(t, e) {
|
|
63248
63248
|
return t ?? e;
|
|
63249
63249
|
}
|
|
63250
63250
|
function kz(t, e) {
|
|
@@ -63257,9 +63257,9 @@ function l$e(t, e, n) {
|
|
|
63257
63257
|
const r = n.width(), i = n.height();
|
|
63258
63258
|
let s;
|
|
63259
63259
|
if (e.gradient === "radial")
|
|
63260
|
-
s = t.createRadialGradient(n.x1 +
|
|
63260
|
+
s = t.createRadialGradient(n.x1 + Io(e.x1, 0.5) * r, n.y1 + Io(e.y1, 0.5) * i, Math.max(r, i) * Io(e.r1, 0), n.x1 + Io(e.x2, 0.5) * r, n.y1 + Io(e.y2, 0.5) * i, Math.max(r, i) * Io(e.r2, 0.5));
|
|
63261
63261
|
else {
|
|
63262
|
-
const o =
|
|
63262
|
+
const o = Io(e.x1, 0), u = Io(e.y1, 0), a = Io(e.x2, 1), l = Io(e.y2, 0);
|
|
63263
63263
|
if (o === a || u === l || r === i)
|
|
63264
63264
|
s = t.createLinearGradient(n.x1 + o * r, n.y1 + u * i, n.x1 + a * r, n.y1 + l * i);
|
|
63265
63265
|
else {
|
|
@@ -63449,7 +63449,7 @@ function rie(t, e) {
|
|
|
63449
63449
|
t.beginPath(), o$(e) ? sp(t, e, 0, 0) : t.rect(0, 0, e.width || 0, e.height || 0), t.clip();
|
|
63450
63450
|
}
|
|
63451
63451
|
function iie(t) {
|
|
63452
|
-
const e =
|
|
63452
|
+
const e = Io(t.strokeWidth, 1);
|
|
63453
63453
|
return t.strokeOffset != null ? t.strokeOffset : t.stroke && e > 0.5 && e < 1.5 ? 0.5 - Math.abs(e - 1) : 0;
|
|
63454
63454
|
}
|
|
63455
63455
|
function S$e(t, e) {
|
|
@@ -63798,7 +63798,7 @@ var oBe = {
|
|
|
63798
63798
|
draw: rBe,
|
|
63799
63799
|
pick: U6(iBe),
|
|
63800
63800
|
isect: sBe
|
|
63801
|
-
}, uBe = h$("trail", r$e, E$e),
|
|
63801
|
+
}, uBe = h$("trail", r$e, E$e), Ao = {
|
|
63802
63802
|
arc: g$e,
|
|
63803
63803
|
area: A$e,
|
|
63804
63804
|
group: L$e,
|
|
@@ -63813,14 +63813,14 @@ var oBe = {
|
|
|
63813
63813
|
trail: uBe
|
|
63814
63814
|
};
|
|
63815
63815
|
function jz(t, e, n) {
|
|
63816
|
-
var r =
|
|
63816
|
+
var r = Ao[t.mark.marktype], i = e || r.bound;
|
|
63817
63817
|
return r.nested && (t = t.mark), i(t.bounds || (t.bounds = new Jn()), t, n);
|
|
63818
63818
|
}
|
|
63819
63819
|
var Uz = {
|
|
63820
63820
|
mark: null
|
|
63821
63821
|
};
|
|
63822
63822
|
function aBe(t, e, n) {
|
|
63823
|
-
var r =
|
|
63823
|
+
var r = Ao[t.marktype], i = r.bound, s = t.items, o = s && s.length, u, a, l, c;
|
|
63824
63824
|
if (r.nested)
|
|
63825
63825
|
return o ? l = s[0] : (Uz.mark = t, l = Uz), c = jz(l, i, n), e = e && e.union(c) || c, e;
|
|
63826
63826
|
if (e = e || t.bounds && t.bounds.clear() || new Jn(), o)
|
|
@@ -63987,7 +63987,7 @@ function S$(t, e) {
|
|
|
63987
63987
|
}
|
|
63988
63988
|
function xBe(t, e, n, r) {
|
|
63989
63989
|
var i = t && t.mark, s, o;
|
|
63990
|
-
if (i && (s =
|
|
63990
|
+
if (i && (s = Ao[i.marktype]).tip) {
|
|
63991
63991
|
for (o = S$(e, n), o[0] -= r[0], o[1] -= r[1]; t = t.mark.group; )
|
|
63992
63992
|
o[0] -= t.x || 0, o[1] -= t.y || 0;
|
|
63993
63993
|
t = s.tip(i.items, o);
|
|
@@ -64372,7 +64372,7 @@ De(G6, jx, {
|
|
|
64372
64372
|
// gx, gy -- the relative coordinates within the current group
|
|
64373
64373
|
pick(t, e, n, r, i) {
|
|
64374
64374
|
const s = this.context();
|
|
64375
|
-
return
|
|
64375
|
+
return Ao[t.marktype].pick.call(this, s, t, e, n, r, i);
|
|
64376
64376
|
}
|
|
64377
64377
|
});
|
|
64378
64378
|
function _Be() {
|
|
@@ -64426,7 +64426,7 @@ De(F8, t0, {
|
|
|
64426
64426
|
return this.clear(-n[0], -n[1], r, i), this.draw(e, t, u), e.restore(), s.clear(), this;
|
|
64427
64427
|
},
|
|
64428
64428
|
draw(t, e, n) {
|
|
64429
|
-
const r =
|
|
64429
|
+
const r = Ao[e.marktype];
|
|
64430
64430
|
e.clip && v$e(t, e), r.draw.call(this, t, e, n), e.clip && t.restore();
|
|
64431
64431
|
},
|
|
64432
64432
|
clear(t, e, n, r) {
|
|
@@ -64708,7 +64708,7 @@ De(Fie, t0, {
|
|
|
64708
64708
|
const e = ++this._dirtyID;
|
|
64709
64709
|
let n, r, i, s, o, u, a;
|
|
64710
64710
|
for (o = 0, u = t.length; o < u; ++o)
|
|
64711
|
-
if (n = t[o], r = n.mark, r.marktype !== i && (i = r.marktype, s =
|
|
64711
|
+
if (n = t[o], r = n.mark, r.marktype !== i && (i = r.marktype, s = Ao[i]), r.zdirty && r.dirty !== e && (this._dirtyAll = !1, Kz(n, e), r.items.forEach((l) => {
|
|
64712
64712
|
l.dirty = e;
|
|
64713
64713
|
})), !r.zdirty) {
|
|
64714
64714
|
if (n.exit) {
|
|
@@ -64729,7 +64729,7 @@ De(Fie, t0, {
|
|
|
64729
64729
|
mark(t, e, n) {
|
|
64730
64730
|
if (!this.isDirty(e))
|
|
64731
64731
|
return e._svg;
|
|
64732
|
-
const r = this._svg, i =
|
|
64732
|
+
const r = this._svg, i = Ao[e.marktype], s = e.interactive === !1 ? "none" : null, o = i.tag === "g", u = Xz(e, t, n, "g", r);
|
|
64733
64733
|
u.setAttribute("class", pie(e));
|
|
64734
64734
|
const a = Cie(e);
|
|
64735
64735
|
for (const x in a)
|
|
@@ -64958,7 +64958,7 @@ De(Lie, t0, {
|
|
|
64958
64958
|
* @param {object} scene - The mark parent to render.
|
|
64959
64959
|
*/
|
|
64960
64960
|
mark(t, e) {
|
|
64961
|
-
const n =
|
|
64961
|
+
const n = Ao[e.marktype], r = n.tag, i = [bie, n.attr];
|
|
64962
64962
|
t.open("g", {
|
|
64963
64963
|
class: pie(e),
|
|
64964
64964
|
"clip-path": e.clip ? u$(this, e, e.group) : null
|
|
@@ -65124,7 +65124,7 @@ function Pie(t, e, n, r) {
|
|
|
65124
65124
|
for (; u < o; ++u)
|
|
65125
65125
|
Mie(i[u], e, n, r);
|
|
65126
65126
|
else
|
|
65127
|
-
for (const a =
|
|
65127
|
+
for (const a = Ao[s].isect; u < o; ++u) {
|
|
65128
65128
|
const l = i[u];
|
|
65129
65129
|
jie(l, e, a) && r.push(l);
|
|
65130
65130
|
}
|
|
@@ -65135,7 +65135,7 @@ function QBe(t, e, n) {
|
|
|
65135
65135
|
return t.bounds && e.intersects(t.bounds) && (t.marktype === "group" || t.interactive !== !1 && (!n || n(t)));
|
|
65136
65136
|
}
|
|
65137
65137
|
function Mie(t, e, n, r) {
|
|
65138
|
-
n && n(t.mark) && jie(t, e,
|
|
65138
|
+
n && n(t.mark) && jie(t, e, Ao.group.isect) && r.push(t);
|
|
65139
65139
|
const i = t.items, s = i && i.length;
|
|
65140
65140
|
if (s) {
|
|
65141
65141
|
const o = t.x || 0, u = t.y || 0;
|
|
@@ -65167,7 +65167,7 @@ function Kie(t) {
|
|
|
65167
65167
|
}
|
|
65168
65168
|
De(Kie, pe, {
|
|
65169
65169
|
transform(t, e) {
|
|
65170
|
-
const n = e.dataflow, r = t.mark, i = r.marktype, s =
|
|
65170
|
+
const n = e.dataflow, r = t.mark, i = r.marktype, s = Ao[i], o = s.bound;
|
|
65171
65171
|
let u = r.bounds, a;
|
|
65172
65172
|
if (s.nested)
|
|
65173
65173
|
r.items.length && n.dirty(r.items[0]), u = tv(r, o), r.items.forEach((l) => {
|
|
@@ -66179,7 +66179,7 @@ const oPe = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty(
|
|
|
66179
66179
|
sortitems: dse,
|
|
66180
66180
|
stack: k$
|
|
66181
66181
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
66182
|
-
var Ze = 1e-6, C4 = 1e-12, pt = Math.PI, On = pt / 2, T4 = pt / 4, Li = pt * 2,
|
|
66182
|
+
var Ze = 1e-6, C4 = 1e-12, pt = Math.PI, On = pt / 2, T4 = pt / 4, Li = pt * 2, In = 180 / pt, xt = pt / 180, At = Math.abs, op = Math.atan, vo = Math.atan2, tt = Math.cos, iv = Math.ceil, mse = Math.exp, B8 = Math.hypot, O4 = Math.log, y7 = Math.pow, Ke = Math.sin, uo = Math.sign || function(t) {
|
|
66183
66183
|
return t > 0 ? 1 : t < 0 ? -1 : 0;
|
|
66184
66184
|
}, Ii = Math.sqrt, P$ = Math.tan;
|
|
66185
66185
|
function yse(t) {
|
|
@@ -66273,13 +66273,13 @@ function lPe(t, e) {
|
|
|
66273
66273
|
function vse(t, e) {
|
|
66274
66274
|
t *= xt, e *= xt, e = e / 2 + T4;
|
|
66275
66275
|
var n = t - P8, r = n >= 0 ? 1 : -1, i = r * n, s = tt(e), o = Ke(e), u = j8 * o, a = M8 * s + u * tt(i), l = u * r * Ke(i);
|
|
66276
|
-
N4.add(
|
|
66276
|
+
N4.add(vo(l, a)), P8 = t, M8 = s, j8 = o;
|
|
66277
66277
|
}
|
|
66278
66278
|
function cPe(t) {
|
|
66279
66279
|
return D4 = new Ci(), ul(t, fa), D4 * 2;
|
|
66280
66280
|
}
|
|
66281
66281
|
function F4(t) {
|
|
66282
|
-
return [
|
|
66282
|
+
return [vo(t[1], t[0]), os(t[2])];
|
|
66283
66283
|
}
|
|
66284
66284
|
function Ux(t) {
|
|
66285
66285
|
var e = t[0], n = t[1], r = tt(n);
|
|
@@ -66323,8 +66323,8 @@ function bse(t, e) {
|
|
|
66323
66323
|
if (Uh) {
|
|
66324
66324
|
var r = H2(Uh, n), i = [r[1], -r[0], 0], s = H2(i, r);
|
|
66325
66325
|
w4(s), s = F4(s);
|
|
66326
|
-
var o = t - jf, u = o > 0 ? 1 : -1, a = s[0] *
|
|
66327
|
-
c ^ (u * jf < a && a < u * t) ? (l = s[1] *
|
|
66326
|
+
var o = t - jf, u = o > 0 ? 1 : -1, a = s[0] * In * u, l, c = At(o) > 180;
|
|
66327
|
+
c ^ (u * jf < a && a < u * t) ? (l = s[1] * In, l > bs && (bs = l)) : (a = (a + 360) % 360 - 180, c ^ (u * jf < a && a < u * t) ? (l = -s[1] * In, l < Ki && (Ki = l)) : (e < Ki && (Ki = e), e > bs && (bs = e))), c ? t < jf ? _s(xn, t) > _s(xn, En) && (En = t) : _s(t, En) > _s(xn, En) && (xn = t) : En >= xn ? (t < xn && (xn = t), t > En && (En = t)) : t > jf ? _s(xn, t) > _s(xn, En) && (En = t) : _s(t, En) > _s(xn, En) && (xn = t);
|
|
66328
66328
|
} else
|
|
66329
66329
|
T0.push(Ml = [xn = t, En = t]);
|
|
66330
66330
|
e < Ki && (Ki = e), e > bs && (bs = e), Uh = n, jf = t;
|
|
@@ -66398,7 +66398,7 @@ function pPe(t, e) {
|
|
|
66398
66398
|
}
|
|
66399
66399
|
function gPe(t, e) {
|
|
66400
66400
|
t *= xt, e *= xt;
|
|
66401
|
-
var n = tt(e), r = n * tt(t), i = n * Ke(t), s = Ke(e), o =
|
|
66401
|
+
var n = tt(e), r = n * tt(t), i = n * Ke(t), s = Ke(e), o = vo(Ii((o = gi * s - mi * i) * o + (o = mi * r - pi * s) * o + (o = pi * i - gi * r) * o), pi * r + gi * i + mi * s);
|
|
66402
66402
|
L4 += o, k4 += o * (pi + (pi = r)), P4 += o * (gi + (gi = i)), M4 += o * (mi + (mi = s)), WE(pi, gi, mi);
|
|
66403
66403
|
}
|
|
66404
66404
|
function mH() {
|
|
@@ -66423,7 +66423,7 @@ function Rse(t, e) {
|
|
|
66423
66423
|
function APe(t) {
|
|
66424
66424
|
Am = L4 = I4 = $4 = B4 = k4 = P4 = M4 = 0, q8 = new Ci(), z8 = new Ci(), H8 = new Ci(), ul(t, zo);
|
|
66425
66425
|
var e = +q8, n = +z8, r = +H8, i = B8(e, n, r);
|
|
66426
|
-
return i < C4 && (e = k4, n = P4, r = M4, L4 < Ze && (e = I4, n = $4, r = B4), i = B8(e, n, r), i < C4) ? [NaN, NaN] : [
|
|
66426
|
+
return i < C4 && (e = k4, n = P4, r = M4, L4 < Ze && (e = I4, n = $4, r = B4), i = B8(e, n, r), i < C4) ? [NaN, NaN] : [vo(n, e) * In, os(r / i) * In];
|
|
66427
66427
|
}
|
|
66428
66428
|
function Q8(t, e) {
|
|
66429
66429
|
function n(r, i) {
|
|
@@ -66454,14 +66454,14 @@ function AH(t, e) {
|
|
|
66454
66454
|
function o(u, a) {
|
|
66455
66455
|
var l = tt(a), c = tt(u) * l, f = Ke(u) * l, x = Ke(a), h = x * n + c * r;
|
|
66456
66456
|
return [
|
|
66457
|
-
|
|
66457
|
+
vo(f * i - h * s, c * n - x * r),
|
|
66458
66458
|
os(h * i + f * s)
|
|
66459
66459
|
];
|
|
66460
66460
|
}
|
|
66461
66461
|
return o.invert = function(u, a) {
|
|
66462
66462
|
var l = tt(a), c = tt(u) * l, f = Ke(u) * l, x = Ke(a), h = x * i - f * s;
|
|
66463
66463
|
return [
|
|
66464
|
-
|
|
66464
|
+
vo(f * i + x * s, c * n + h * r),
|
|
66465
66465
|
os(h * n - c * r)
|
|
66466
66466
|
];
|
|
66467
66467
|
}, o;
|
|
@@ -66469,10 +66469,10 @@ function AH(t, e) {
|
|
|
66469
66469
|
function vPe(t) {
|
|
66470
66470
|
t = Nse(t[0] * xt, t[1] * xt, t.length > 2 ? t[2] * xt : 0);
|
|
66471
66471
|
function e(n) {
|
|
66472
|
-
return n = t(n[0] * xt, n[1] * xt), n[0] *=
|
|
66472
|
+
return n = t(n[0] * xt, n[1] * xt), n[0] *= In, n[1] *= In, n;
|
|
66473
66473
|
}
|
|
66474
66474
|
return e.invert = function(n) {
|
|
66475
|
-
return n = t.invert(n[0] * xt, n[1] * xt), n[0] *=
|
|
66475
|
+
return n = t.invert(n[0] * xt, n[1] * xt), n[0] *= In, n[1] *= In, n;
|
|
66476
66476
|
}, e;
|
|
66477
66477
|
}
|
|
66478
66478
|
function SPe(t, e, n, r, i, s) {
|
|
@@ -66567,7 +66567,7 @@ function SH(t) {
|
|
|
66567
66567
|
}
|
|
66568
66568
|
}
|
|
66569
66569
|
function A7(t) {
|
|
66570
|
-
return At(t[0]) <= pt ? t[0] :
|
|
66570
|
+
return At(t[0]) <= pt ? t[0] : uo(t[0]) * ((At(t[0]) + pt) % Li - pt);
|
|
66571
66571
|
}
|
|
66572
66572
|
function _Pe(t, e) {
|
|
66573
66573
|
var n = A7(e), r = e[1], i = Ke(r), s = [Ke(n), -tt(n), 0], o = 0, u = 0, a = new Ci();
|
|
@@ -66576,7 +66576,7 @@ function _Pe(t, e) {
|
|
|
66576
66576
|
if (x = (f = t[l]).length)
|
|
66577
66577
|
for (var f, x, h = f[x - 1], p = A7(h), m = h[1] / 2 + T4, g = Ke(m), y = tt(m), E = 0; E < x; ++E, p = v, g = _, y = b, h = A) {
|
|
66578
66578
|
var A = f[E], v = A7(A), S = A[1] / 2 + T4, _ = Ke(S), b = tt(S), C = v - p, R = C >= 0 ? 1 : -1, O = R * C, I = O > pt, j = g * _;
|
|
66579
|
-
if (a.add(
|
|
66579
|
+
if (a.add(vo(j * R * Ke(O), y * b + j * tt(O))), o += I ? C + R * Li : C, I ^ p >= n ^ v >= n) {
|
|
66580
66580
|
var Q = H2(Ux(h), Ux(A));
|
|
66581
66581
|
w4(Q);
|
|
66582
66582
|
var G = H2(s, Q);
|
|
@@ -66965,15 +66965,15 @@ var Q2 = 1 / 0, j4 = Q2, I3 = -Q2, U4 = I3, q4 = {
|
|
|
66965
66965
|
function $Pe(t, e) {
|
|
66966
66966
|
t < Q2 && (Q2 = t), t > I3 && (I3 = t), e < j4 && (j4 = e), e > U4 && (U4 = e);
|
|
66967
66967
|
}
|
|
66968
|
-
var K8 = 0, X8 = 0, Sm = 0, z4 = 0, H4 = 0, Dh = 0, J8 = 0, Z8 = 0, _m = 0, kse, Pse, Mu, ju,
|
|
66968
|
+
var K8 = 0, X8 = 0, Sm = 0, z4 = 0, H4 = 0, Dh = 0, J8 = 0, Z8 = 0, _m = 0, kse, Pse, Mu, ju, io = {
|
|
66969
66969
|
point: qx,
|
|
66970
66970
|
lineStart: TH,
|
|
66971
66971
|
lineEnd: OH,
|
|
66972
66972
|
polygonStart: function() {
|
|
66973
|
-
|
|
66973
|
+
io.lineStart = PPe, io.lineEnd = MPe;
|
|
66974
66974
|
},
|
|
66975
66975
|
polygonEnd: function() {
|
|
66976
|
-
|
|
66976
|
+
io.point = qx, io.lineStart = TH, io.lineEnd = OH;
|
|
66977
66977
|
},
|
|
66978
66978
|
result: function() {
|
|
66979
66979
|
var t = _m ? [J8 / _m, Z8 / _m] : Dh ? [z4 / Dh, H4 / Dh] : Sm ? [K8 / Sm, X8 / Sm] : [NaN, NaN];
|
|
@@ -66984,26 +66984,26 @@ function qx(t, e) {
|
|
|
66984
66984
|
K8 += t, X8 += e, ++Sm;
|
|
66985
66985
|
}
|
|
66986
66986
|
function TH() {
|
|
66987
|
-
|
|
66987
|
+
io.point = BPe;
|
|
66988
66988
|
}
|
|
66989
66989
|
function BPe(t, e) {
|
|
66990
|
-
|
|
66990
|
+
io.point = kPe, qx(Mu = t, ju = e);
|
|
66991
66991
|
}
|
|
66992
66992
|
function kPe(t, e) {
|
|
66993
66993
|
var n = t - Mu, r = e - ju, i = Ii(n * n + r * r);
|
|
66994
66994
|
z4 += i * (Mu + t) / 2, H4 += i * (ju + e) / 2, Dh += i, qx(Mu = t, ju = e);
|
|
66995
66995
|
}
|
|
66996
66996
|
function OH() {
|
|
66997
|
-
|
|
66997
|
+
io.point = qx;
|
|
66998
66998
|
}
|
|
66999
66999
|
function PPe() {
|
|
67000
|
-
|
|
67000
|
+
io.point = jPe;
|
|
67001
67001
|
}
|
|
67002
67002
|
function MPe() {
|
|
67003
67003
|
Mse(kse, Pse);
|
|
67004
67004
|
}
|
|
67005
67005
|
function jPe(t, e) {
|
|
67006
|
-
|
|
67006
|
+
io.point = Mse, qx(kse = Mu = t, Pse = ju = e);
|
|
67007
67007
|
}
|
|
67008
67008
|
function Mse(t, e) {
|
|
67009
67009
|
var n = t - Mu, r = e - ju, i = Ii(n * n + r * r);
|
|
@@ -67152,7 +67152,7 @@ function Qse(t, e) {
|
|
|
67152
67152
|
}, o.bounds = function(u) {
|
|
67153
67153
|
return ul(u, i(q4)), q4.result();
|
|
67154
67154
|
}, o.centroid = function(u) {
|
|
67155
|
-
return ul(u, i(
|
|
67155
|
+
return ul(u, i(io)), io.result();
|
|
67156
67156
|
}, o.projection = function(u) {
|
|
67157
67157
|
return arguments.length ? (i = u == null ? (t = null, L3) : (t = u).stream, o) : t;
|
|
67158
67158
|
}, o.context = function(u) {
|
|
@@ -67244,7 +67244,7 @@ function QPe(t, e) {
|
|
|
67244
67244
|
function n(r, i, s, o, u, a, l, c, f, x, h, p, m, g) {
|
|
67245
67245
|
var y = l - r, E = c - i, A = y * y + E * E;
|
|
67246
67246
|
if (A > 4 * e && m--) {
|
|
67247
|
-
var v = o + x, S = u + h, _ = a + p, b = Ii(v * v + S * S + _ * _), C = os(_ /= b), R = At(At(_) - 1) < Ze || At(s - f) < Ze ? (s + f) / 2 :
|
|
67247
|
+
var v = o + x, S = u + h, _ = a + p, b = Ii(v * v + S * S + _ * _), C = os(_ /= b), R = At(At(_) - 1) < Ze || At(s - f) < Ze ? (s + f) / 2 : vo(S, v), O = t(R, C), I = O[0], j = O[1], Q = I - r, G = j - i, P = E * Q - y * G;
|
|
67248
67248
|
(P * P / A > e || At((y * Q + E * G) / A - 0.5) > 0.3 || o * x + u * h + a * p < zPe) && (n(r, i, s, o, u, a, I, j, R, v /= b, S /= b, _, m, g), g.point(I, j), n(I, j, R, v, S, _, l, c, f, x, h, p, m, g));
|
|
67249
67249
|
}
|
|
67250
67250
|
}
|
|
@@ -67328,7 +67328,7 @@ function Gse(t) {
|
|
|
67328
67328
|
return C(P[0] * xt, P[1] * xt);
|
|
67329
67329
|
}
|
|
67330
67330
|
function j(P) {
|
|
67331
|
-
return P = C.invert(P[0], P[1]), P && [P[0] *
|
|
67331
|
+
return P = C.invert(P[0], P[1]), P && [P[0] * In, P[1] * In];
|
|
67332
67332
|
}
|
|
67333
67333
|
I.stream = function(P) {
|
|
67334
67334
|
return R && O === P ? R : R = GPe(WPe(c)(m(_(v(O = P)))));
|
|
@@ -67337,7 +67337,7 @@ function Gse(t) {
|
|
|
67337
67337
|
}, I.postclip = function(P) {
|
|
67338
67338
|
return arguments.length ? (v = P, g = y = E = A = null, G()) : v;
|
|
67339
67339
|
}, I.clipAngle = function(P) {
|
|
67340
|
-
return arguments.length ? (m = +P ? NPe(p = P * xt) : (p = null, _H), G()) : p *
|
|
67340
|
+
return arguments.length ? (m = +P ? NPe(p = P * xt) : (p = null, _H), G()) : p * In;
|
|
67341
67341
|
}, I.clipExtent = function(P) {
|
|
67342
67342
|
return arguments.length ? (v = P == null ? (g = y = E = A = null, L3) : Lse(g = +P[0][0], y = +P[0][1], E = +P[1][0], A = +P[1][1]), G()) : g == null ? null : [[g, y], [E, A]];
|
|
67343
67343
|
}, I.scale = function(P) {
|
|
@@ -67345,11 +67345,11 @@ function Gse(t) {
|
|
|
67345
67345
|
}, I.translate = function(P) {
|
|
67346
67346
|
return arguments.length ? (r = +P[0], i = +P[1], Q()) : [r, i];
|
|
67347
67347
|
}, I.center = function(P) {
|
|
67348
|
-
return arguments.length ? (s = P[0] % 360 * xt, o = P[1] % 360 * xt, Q()) : [s *
|
|
67348
|
+
return arguments.length ? (s = P[0] % 360 * xt, o = P[1] % 360 * xt, Q()) : [s * In, o * In];
|
|
67349
67349
|
}, I.rotate = function(P) {
|
|
67350
|
-
return arguments.length ? (u = P[0] % 360 * xt, a = P[1] % 360 * xt, l = P.length > 2 ? P[2] % 360 * xt : 0, Q()) : [u *
|
|
67350
|
+
return arguments.length ? (u = P[0] % 360 * xt, a = P[1] % 360 * xt, l = P.length > 2 ? P[2] % 360 * xt : 0, Q()) : [u * In, a * In, l * In];
|
|
67351
67351
|
}, I.angle = function(P) {
|
|
67352
|
-
return arguments.length ? (f = P % 360 * xt, Q()) : f *
|
|
67352
|
+
return arguments.length ? (f = P % 360 * xt, Q()) : f * In;
|
|
67353
67353
|
}, I.reflectX = function(P) {
|
|
67354
67354
|
return arguments.length ? (x = P ? -1 : 1, Q()) : x < 0;
|
|
67355
67355
|
}, I.reflectY = function(P) {
|
|
@@ -67379,7 +67379,7 @@ function Gse(t) {
|
|
|
67379
67379
|
function H$(t) {
|
|
67380
67380
|
var e = 0, n = pt / 3, r = Gse(t), i = r(e, n);
|
|
67381
67381
|
return i.parallels = function(s) {
|
|
67382
|
-
return arguments.length ? r(e = s[0] * xt, n = s[1] * xt) : [e *
|
|
67382
|
+
return arguments.length ? r(e = s[0] * xt, n = s[1] * xt) : [e * In, n * In];
|
|
67383
67383
|
}, i;
|
|
67384
67384
|
}
|
|
67385
67385
|
function YPe(t) {
|
|
@@ -67401,8 +67401,8 @@ function KPe(t, e) {
|
|
|
67401
67401
|
return [l * Ke(u *= r), s - l * tt(u)];
|
|
67402
67402
|
}
|
|
67403
67403
|
return o.invert = function(u, a) {
|
|
67404
|
-
var l = s - a, c =
|
|
67405
|
-
return l * r < 0 && (c -= pt *
|
|
67404
|
+
var l = s - a, c = vo(u, At(l)) * uo(l);
|
|
67405
|
+
return l * r < 0 && (c -= pt * uo(u) * uo(l)), [c / r, os((i - (u * u + l * l) * r * r) / (2 * r))];
|
|
67406
67406
|
}, o;
|
|
67407
67407
|
}
|
|
67408
67408
|
function G4() {
|
|
@@ -67489,7 +67489,7 @@ function VE(t) {
|
|
|
67489
67489
|
return function(e, n) {
|
|
67490
67490
|
var r = Ii(e * e + n * n), i = t(r), s = Ke(i), o = tt(i);
|
|
67491
67491
|
return [
|
|
67492
|
-
|
|
67492
|
+
vo(e * s, r * o),
|
|
67493
67493
|
os(r && n * s / r)
|
|
67494
67494
|
];
|
|
67495
67495
|
};
|
|
@@ -67551,8 +67551,8 @@ function nMe(t, e) {
|
|
|
67551
67551
|
return [a * Ke(r * o), i - a * tt(r * o)];
|
|
67552
67552
|
}
|
|
67553
67553
|
return s.invert = function(o, u) {
|
|
67554
|
-
var a = i - u, l =
|
|
67555
|
-
return a * r < 0 && (c -= pt *
|
|
67554
|
+
var a = i - u, l = uo(r) * Ii(o * o + a * a), c = vo(o, At(a)) * uo(a);
|
|
67555
|
+
return a * r < 0 && (c -= pt * uo(o) * uo(a)), [c / r, 2 * op(y7(i / l, 1 / r)) - On];
|
|
67556
67556
|
}, s;
|
|
67557
67557
|
}
|
|
67558
67558
|
function rMe() {
|
|
@@ -67574,8 +67574,8 @@ function sMe(t, e) {
|
|
|
67574
67574
|
return [a * Ke(l), i - a * tt(l)];
|
|
67575
67575
|
}
|
|
67576
67576
|
return s.invert = function(o, u) {
|
|
67577
|
-
var a = i - u, l =
|
|
67578
|
-
return a * r < 0 && (l -= pt *
|
|
67577
|
+
var a = i - u, l = vo(o, At(a)) * uo(a);
|
|
67578
|
+
return a * r < 0 && (l -= pt * uo(o) * uo(a)), [l / r, i - uo(r) * Ii(o * o + a * a)];
|
|
67579
67579
|
}, s;
|
|
67580
67580
|
}
|
|
67581
67581
|
function oMe() {
|
|
@@ -67644,7 +67644,7 @@ function cMe() {
|
|
|
67644
67644
|
}, A.translate = function(v) {
|
|
67645
67645
|
return arguments.length ? (e = +v[0], n = +v[1], E()) : [e, n];
|
|
67646
67646
|
}, A.angle = function(v) {
|
|
67647
|
-
return arguments.length ? (s = v % 360 * xt, u = Ke(s), o = tt(s), E()) : s *
|
|
67647
|
+
return arguments.length ? (s = v % 360 * xt, u = Ke(s), o = tt(s), E()) : s * In;
|
|
67648
67648
|
}, A.reflectX = function(v) {
|
|
67649
67649
|
return arguments.length ? (r = v ? -1 : 1, E()) : r < 0;
|
|
67650
67650
|
}, A.reflectY = function(v) {
|
|
@@ -68114,7 +68114,7 @@ De(G$, pe, {
|
|
|
68114
68114
|
transform(t, e) {
|
|
68115
68115
|
if (this.value && !e.changed() && !t.modified())
|
|
68116
68116
|
return e.StopPropagation;
|
|
68117
|
-
var n = e.fork(e.NO_SOURCE | e.NO_FIELDS), r = e.materialize(e.SOURCE).source, i = IMe(r, t.groupby), s = (t.groupby || []).map(
|
|
68117
|
+
var n = e.fork(e.NO_SOURCE | e.NO_FIELDS), r = e.materialize(e.SOURCE).source, i = IMe(r, t.groupby), s = (t.groupby || []).map(kn), o = foe(coe(), t), u = t.as || "grid", a = [];
|
|
68118
68118
|
function l(c, f) {
|
|
68119
68119
|
for (let x = 0; x < s.length; ++x)
|
|
68120
68120
|
c[s[x]] = f[x];
|
|
@@ -70489,7 +70489,7 @@ function Xv(t, e, n) {
|
|
|
70489
70489
|
const r = e[0].mark.marktype;
|
|
70490
70490
|
r === "group" ? e.forEach((i) => {
|
|
70491
70491
|
i.items.forEach((s) => Xv(t, s.items, n));
|
|
70492
|
-
}) :
|
|
70492
|
+
}) : Ao[r].draw(t, {
|
|
70493
70493
|
items: n ? e.map(VUe) : e
|
|
70494
70494
|
});
|
|
70495
70495
|
}
|
|
@@ -70867,7 +70867,7 @@ De(hB, pe, {
|
|
|
70867
70867
|
transform(t, e) {
|
|
70868
70868
|
const n = e.fork(e.NO_SOURCE | e.NO_FIELDS);
|
|
70869
70869
|
if (!this.value || e.changed() || t.modified()) {
|
|
70870
|
-
const r = e.materialize(e.SOURCE).source, i = Doe(r, t.groupby), s = (t.groupby || []).map(
|
|
70870
|
+
const r = e.materialize(e.SOURCE).source, i = Doe(r, t.groupby), s = (t.groupby || []).map(kn), o = s.length, u = t.as || [kn(t.x), kn(t.y)], a = [];
|
|
70871
70871
|
i.forEach((l) => {
|
|
70872
70872
|
swe(l, t.x, t.y, t.bandwidth || 0.3).forEach((c) => {
|
|
70873
70873
|
const f = {};
|
|
@@ -70936,7 +70936,7 @@ De(pB, pe, {
|
|
|
70936
70936
|
transform(t, e) {
|
|
70937
70937
|
const n = e.fork(e.NO_SOURCE | e.NO_FIELDS);
|
|
70938
70938
|
if (!this.value || e.changed() || t.modified()) {
|
|
70939
|
-
const r = e.materialize(e.SOURCE).source, i = Doe(r, t.groupby), s = (t.groupby || []).map(
|
|
70939
|
+
const r = e.materialize(e.SOURCE).source, i = Doe(r, t.groupby), s = (t.groupby || []).map(kn), o = t.method || "linear", u = t.order || 3, a = dqe(o, u), l = t.as || [kn(t.x), kn(t.y)], c = pF[o], f = [];
|
|
70940
70940
|
let x = t.extent;
|
|
70941
70941
|
Je(pF, o) || Se("Invalid regression method: " + o), x != null && o === "log" && x[0] <= 0 && (e.dataflow.warn("Ignoring extent with values <= 0 for log regression."), x = null), i.forEach((h) => {
|
|
70942
70942
|
if (h.length <= a) {
|
|
@@ -75203,13 +75203,13 @@ function AVe(t, e) {
|
|
|
75203
75203
|
let r;
|
|
75204
75204
|
n.domain = Lue(t.domain, t, e), t.range != null && (n.range = $ue(t, e, n)), t.interpolate != null && DVe(t.interpolate, n), t.nice != null && (n.nice = NVe(t.nice)), t.bins != null && (n.bins = RVe(t.bins, e));
|
|
75205
75205
|
for (r in t)
|
|
75206
|
-
Je(n, r) || r === "name" || (n[r] =
|
|
75206
|
+
Je(n, r) || r === "name" || (n[r] = ao(t[r], e));
|
|
75207
75207
|
}
|
|
75208
|
-
function
|
|
75208
|
+
function ao(t, e) {
|
|
75209
75209
|
return He(t) ? t.signal ? e.signalRef(t.signal) : Se("Unsupported object: " + Fe(t)) : t;
|
|
75210
75210
|
}
|
|
75211
75211
|
function nS(t, e) {
|
|
75212
|
-
return t.signal ? e.signalRef(t.signal) : t.map((n) =>
|
|
75212
|
+
return t.signal ? e.signalRef(t.signal) : t.map((n) => ao(n, e));
|
|
75213
75213
|
}
|
|
75214
75214
|
function lO(t) {
|
|
75215
75215
|
Se("Can not find data set: " + Fe(t));
|
|
@@ -75222,7 +75222,7 @@ function Lue(t, e, n) {
|
|
|
75222
75222
|
return t.signal ? n.signalRef(t.signal) : (be(t) ? vVe : t.fields ? _Ve : SVe)(t, e, n);
|
|
75223
75223
|
}
|
|
75224
75224
|
function vVe(t, e, n) {
|
|
75225
|
-
return t.map((r) =>
|
|
75225
|
+
return t.map((r) => ao(r, n));
|
|
75226
75226
|
}
|
|
75227
75227
|
function SVe(t, e, n) {
|
|
75228
75228
|
const r = n.getData(t.data);
|
|
@@ -75298,12 +75298,12 @@ function RVe(t, e) {
|
|
|
75298
75298
|
}
|
|
75299
75299
|
function NVe(t) {
|
|
75300
75300
|
return He(t) ? {
|
|
75301
|
-
interval:
|
|
75302
|
-
step:
|
|
75303
|
-
} :
|
|
75301
|
+
interval: ao(t.interval),
|
|
75302
|
+
step: ao(t.step)
|
|
75303
|
+
} : ao(t);
|
|
75304
75304
|
}
|
|
75305
75305
|
function DVe(t, e) {
|
|
75306
|
-
e.interpolate =
|
|
75306
|
+
e.interpolate = ao(t.type || t), t.gamma != null && (e.interpolateGamma = ao(t.gamma));
|
|
75307
75307
|
}
|
|
75308
75308
|
function $ue(t, e, n) {
|
|
75309
75309
|
const r = e.config.range;
|
|
@@ -75323,17 +75323,17 @@ function $ue(t, e, n) {
|
|
|
75323
75323
|
signal: "height"
|
|
75324
75324
|
}, 0] : Se("Unrecognized scale range value: " + Fe(i));
|
|
75325
75325
|
} else if (i.scheme) {
|
|
75326
|
-
n.scheme = be(i.scheme) ? nS(i.scheme, e) :
|
|
75326
|
+
n.scheme = be(i.scheme) ? nS(i.scheme, e) : ao(i.scheme, e), i.extent && (n.schemeExtent = nS(i.extent, e)), i.count && (n.schemeCount = ao(i.count, e));
|
|
75327
75327
|
return;
|
|
75328
75328
|
} else if (i.step) {
|
|
75329
|
-
n.rangeStep =
|
|
75329
|
+
n.rangeStep = ao(i.step, e);
|
|
75330
75330
|
return;
|
|
75331
75331
|
} else {
|
|
75332
75332
|
if (M2(t.type) && !be(i))
|
|
75333
75333
|
return Lue(i, t, e);
|
|
75334
75334
|
be(i) || Se("Unsupported range type: " + Fe(i));
|
|
75335
75335
|
}
|
|
75336
|
-
return i.map((s) => (be(s) ? nS :
|
|
75336
|
+
return i.map((s) => (be(s) ? nS : ao)(s, e));
|
|
75337
75337
|
}
|
|
75338
75338
|
function FVe(t, e) {
|
|
75339
75339
|
const n = e.config.projection || {}, r = {};
|
|
@@ -75346,13 +75346,13 @@ function FVe(t, e) {
|
|
|
75346
75346
|
function OF(t, e, n) {
|
|
75347
75347
|
return be(t) ? t.map((r) => OF(r, e, n)) : He(t) ? t.signal ? n.signalRef(t.signal) : e === "fit" ? t : Se("Unsupported parameter object: " + Fe(t)) : t;
|
|
75348
75348
|
}
|
|
75349
|
-
const du = "top", ap = "left", lp = "right", mc = "bottom", Bue = "center", wVe = "vertical", LVe = "start", IVe = "middle", $Ve = "end", RF = "index", qB = "label", BVe = "offset", V2 = "perc", kVe = "perc2",
|
|
75349
|
+
const du = "top", ap = "left", lp = "right", mc = "bottom", Bue = "center", wVe = "vertical", LVe = "start", IVe = "middle", $Ve = "end", RF = "index", qB = "label", BVe = "offset", V2 = "perc", kVe = "perc2", ho = "value", tA = "guide-label", zB = "guide-title", PVe = "group-title", MVe = "group-subtitle", jQ = "symbol", rS = "gradient", NF = "discrete", DF = "size", jVe = "shape", UVe = "fill", qVe = "stroke", zVe = "strokeWidth", HVe = "strokeDash", QVe = "opacity", HB = [DF, jVe, UVe, qVe, zVe, HVe, QVe], nA = {
|
|
75350
75350
|
name: 1,
|
|
75351
75351
|
style: 1,
|
|
75352
75352
|
interactive: 1
|
|
75353
75353
|
}, bt = {
|
|
75354
75354
|
value: 0
|
|
75355
|
-
},
|
|
75355
|
+
}, po = {
|
|
75356
75356
|
value: 1
|
|
75357
75357
|
}, cO = "group", kue = "rect", QB = "rule", GVe = "symbol", Bd = "text";
|
|
75358
75358
|
function H3(t) {
|
|
@@ -75413,7 +75413,7 @@ function YVe(t, e, n, r) {
|
|
|
75413
75413
|
height: hr(x)
|
|
75414
75414
|
},
|
|
75415
75415
|
update: lt({}, a, {
|
|
75416
|
-
opacity:
|
|
75416
|
+
opacity: po,
|
|
75417
75417
|
fill: {
|
|
75418
75418
|
gradient: e,
|
|
75419
75419
|
start: l,
|
|
@@ -75444,7 +75444,7 @@ function KVe(t, e, n, r, i) {
|
|
|
75444
75444
|
opacity: bt,
|
|
75445
75445
|
fill: {
|
|
75446
75446
|
scale: e,
|
|
75447
|
-
field:
|
|
75447
|
+
field: ho
|
|
75448
75448
|
}
|
|
75449
75449
|
};
|
|
75450
75450
|
p[l] = {
|
|
@@ -75457,7 +75457,7 @@ function KVe(t, e, n, r, i) {
|
|
|
75457
75457
|
const m = {
|
|
75458
75458
|
enter: p,
|
|
75459
75459
|
update: lt({}, p, {
|
|
75460
|
-
opacity:
|
|
75460
|
+
opacity: po
|
|
75461
75461
|
}),
|
|
75462
75462
|
exit: {
|
|
75463
75463
|
opacity: bt
|
|
@@ -75472,7 +75472,7 @@ function KVe(t, e, n, r, i) {
|
|
|
75472
75472
|
}), Ps({
|
|
75473
75473
|
type: kue,
|
|
75474
75474
|
role: AWe,
|
|
75475
|
-
key:
|
|
75475
|
+
key: ho,
|
|
75476
75476
|
from: i,
|
|
75477
75477
|
encode: m
|
|
75478
75478
|
}, r);
|
|
@@ -75486,7 +75486,7 @@ function UQ(t, e, n, r) {
|
|
|
75486
75486
|
opacity: bt
|
|
75487
75487
|
},
|
|
75488
75488
|
update: c = {
|
|
75489
|
-
opacity:
|
|
75489
|
+
opacity: po,
|
|
75490
75490
|
text: {
|
|
75491
75491
|
field: qB
|
|
75492
75492
|
}
|
|
@@ -75522,7 +75522,7 @@ function UQ(t, e, n, r) {
|
|
|
75522
75522
|
type: Bd,
|
|
75523
75523
|
role: Aue,
|
|
75524
75524
|
style: tA,
|
|
75525
|
-
key:
|
|
75525
|
+
key: ho,
|
|
75526
75526
|
from: r,
|
|
75527
75527
|
encode: p,
|
|
75528
75528
|
overlap: a
|
|
@@ -75546,7 +75546,7 @@ function ZVe(t, e, n, r, i) {
|
|
|
75546
75546
|
y: h
|
|
75547
75547
|
},
|
|
75548
75548
|
update: E = {
|
|
75549
|
-
opacity:
|
|
75549
|
+
opacity: po,
|
|
75550
75550
|
x: y.x,
|
|
75551
75551
|
y: y.y
|
|
75552
75552
|
},
|
|
@@ -75569,13 +75569,13 @@ function ZVe(t, e, n, r, i) {
|
|
|
75569
75569
|
}), HB.forEach((O) => {
|
|
75570
75570
|
t[O] && (E[O] = y[O] = {
|
|
75571
75571
|
scale: t[O],
|
|
75572
|
-
field:
|
|
75572
|
+
field: ho
|
|
75573
75573
|
});
|
|
75574
75574
|
});
|
|
75575
75575
|
const b = Ps({
|
|
75576
75576
|
type: GVe,
|
|
75577
75577
|
role: _We,
|
|
75578
|
-
key:
|
|
75578
|
+
key: ho,
|
|
75579
75579
|
from: f,
|
|
75580
75580
|
clip: l ? !0 : void 0,
|
|
75581
75581
|
encode: g
|
|
@@ -75590,7 +75590,7 @@ function ZVe(t, e, n, r, i) {
|
|
|
75590
75590
|
y: h
|
|
75591
75591
|
},
|
|
75592
75592
|
update: E = {
|
|
75593
|
-
opacity:
|
|
75593
|
+
opacity: po,
|
|
75594
75594
|
text: {
|
|
75595
75595
|
field: qB
|
|
75596
75596
|
},
|
|
@@ -75615,7 +75615,7 @@ function ZVe(t, e, n, r, i) {
|
|
|
75615
75615
|
type: Bd,
|
|
75616
75616
|
role: Aue,
|
|
75617
75617
|
style: tA,
|
|
75618
|
-
key:
|
|
75618
|
+
key: ho,
|
|
75619
75619
|
from: f,
|
|
75620
75620
|
encode: g
|
|
75621
75621
|
}, n.labels);
|
|
@@ -75633,7 +75633,7 @@ function ZVe(t, e, n, r, i) {
|
|
|
75633
75633
|
opacity: bt
|
|
75634
75634
|
},
|
|
75635
75635
|
update: E = {
|
|
75636
|
-
opacity:
|
|
75636
|
+
opacity: po,
|
|
75637
75637
|
row: {
|
|
75638
75638
|
signal: null
|
|
75639
75639
|
},
|
|
@@ -75683,7 +75683,7 @@ function aYe(t, e, n, r) {
|
|
|
75683
75683
|
opacity: bt
|
|
75684
75684
|
},
|
|
75685
75685
|
update: {
|
|
75686
|
-
opacity:
|
|
75686
|
+
opacity: po,
|
|
75687
75687
|
x: {
|
|
75688
75688
|
field: {
|
|
75689
75689
|
group: "padding"
|
|
@@ -76364,7 +76364,7 @@ function QYe(t, e, n, r) {
|
|
|
76364
76364
|
opacity: bt
|
|
76365
76365
|
},
|
|
76366
76366
|
update: u = {
|
|
76367
|
-
opacity:
|
|
76367
|
+
opacity: po
|
|
76368
76368
|
},
|
|
76369
76369
|
exit: {
|
|
76370
76370
|
opacity: bt
|
|
@@ -76400,7 +76400,7 @@ function GYe(t, e, n, r, i) {
|
|
|
76400
76400
|
opacity: bt
|
|
76401
76401
|
},
|
|
76402
76402
|
update: x = {
|
|
76403
|
-
opacity:
|
|
76403
|
+
opacity: po
|
|
76404
76404
|
},
|
|
76405
76405
|
exit: f = {
|
|
76406
76406
|
opacity: bt
|
|
@@ -76416,7 +76416,7 @@ function GYe(t, e, n, r, i) {
|
|
|
76416
76416
|
});
|
|
76417
76417
|
const p = {
|
|
76418
76418
|
scale: t.scale,
|
|
76419
|
-
field:
|
|
76419
|
+
field: ho,
|
|
76420
76420
|
band: i.band,
|
|
76421
76421
|
extra: i.extra,
|
|
76422
76422
|
offset: i.offset,
|
|
@@ -76445,7 +76445,7 @@ function GYe(t, e, n, r, i) {
|
|
|
76445
76445
|
return c.x = x.x = pr(o, p, g), c.y = x.y = Go(o, p, g), c.x2 = x.x2 = Go(o, y), c.y2 = x.y2 = pr(o, y), f.x = pr(o, p), f.y = Go(o, p), Ps({
|
|
76446
76446
|
type: QB,
|
|
76447
76447
|
role: pWe,
|
|
76448
|
-
key:
|
|
76448
|
+
key: ho,
|
|
76449
76449
|
from: r,
|
|
76450
76450
|
encode: h
|
|
76451
76451
|
}, n);
|
|
@@ -76477,7 +76477,7 @@ function VYe(t, e, n, r, i, s) {
|
|
|
76477
76477
|
opacity: bt
|
|
76478
76478
|
},
|
|
76479
76479
|
update: f = {
|
|
76480
|
-
opacity:
|
|
76480
|
+
opacity: po
|
|
76481
76481
|
},
|
|
76482
76482
|
exit: c = {
|
|
76483
76483
|
opacity: bt
|
|
@@ -76495,7 +76495,7 @@ function VYe(t, e, n, r, i, s) {
|
|
|
76495
76495
|
h.mult = a;
|
|
76496
76496
|
const p = {
|
|
76497
76497
|
scale: t.scale,
|
|
76498
|
-
field:
|
|
76498
|
+
field: ho,
|
|
76499
76499
|
band: s.band,
|
|
76500
76500
|
extra: s.extra,
|
|
76501
76501
|
offset: s.offset,
|
|
@@ -76504,7 +76504,7 @@ function VYe(t, e, n, r, i, s) {
|
|
|
76504
76504
|
return f.y = l.y = pr(u, bt, p), f.y2 = l.y2 = pr(u, h), c.x = pr(u, p), f.x = l.x = Go(u, bt, p), f.x2 = l.x2 = Go(u, h), c.y = Go(u, p), Ps({
|
|
76505
76505
|
type: QB,
|
|
76506
76506
|
role: mWe,
|
|
76507
|
-
key:
|
|
76507
|
+
key: ho,
|
|
76508
76508
|
from: r,
|
|
76509
76509
|
encode: x
|
|
76510
76510
|
}, n);
|
|
@@ -76521,7 +76521,7 @@ function YYe(t, e, n, r, i, s) {
|
|
|
76521
76521
|
g.mult = l, g.offset = hr(o("labelPadding") || 0), g.offset.mult = l;
|
|
76522
76522
|
const y = {
|
|
76523
76523
|
scale: a,
|
|
76524
|
-
field:
|
|
76524
|
+
field: ho,
|
|
76525
76525
|
band: 0.5,
|
|
76526
76526
|
offset: Mue(s.offset, o("labelOffset"))
|
|
76527
76527
|
}, E = pr(u, p ? K7(a, c, '"left"', '"right"', '"center"') : {
|
|
@@ -76537,7 +76537,7 @@ function YYe(t, e, n, r, i, s) {
|
|
|
76537
76537
|
}, _ = {
|
|
76538
76538
|
enter: S,
|
|
76539
76539
|
update: m = {
|
|
76540
|
-
opacity:
|
|
76540
|
+
opacity: po,
|
|
76541
76541
|
text: {
|
|
76542
76542
|
field: qB
|
|
76543
76543
|
},
|
|
@@ -76584,7 +76584,7 @@ function YYe(t, e, n, r, i, s) {
|
|
|
76584
76584
|
type: Bd,
|
|
76585
76585
|
role: gWe,
|
|
76586
76586
|
style: tA,
|
|
76587
|
-
key:
|
|
76587
|
+
key: ho,
|
|
76588
76588
|
from: r,
|
|
76589
76589
|
encode: _,
|
|
76590
76590
|
overlap: C
|
|
@@ -76602,7 +76602,7 @@ function KYe(t, e, n, r) {
|
|
|
76602
76602
|
}
|
|
76603
76603
|
},
|
|
76604
76604
|
update: a = lt({}, u, {
|
|
76605
|
-
opacity:
|
|
76605
|
+
opacity: po,
|
|
76606
76606
|
text: hr(t.title)
|
|
76607
76607
|
}),
|
|
76608
76608
|
exit: {
|
|
@@ -77733,8 +77733,8 @@ var Kue = { exports: {} };
|
|
|
77733
77733
|
ie = ie.charAt(0) + ie.substr(2, V) + "." + ie.substr(2 + V), ie = ie.replace(/^0+([1-9])/, "$1").replace(/^0+\./, "0.");
|
|
77734
77734
|
ie = ie.replace(/\+-/, "-");
|
|
77735
77735
|
}
|
|
77736
|
-
ie = ie.replace(/^([+-]?)(\d*)\.(\d*)[Ee]/, function(ze, nt,
|
|
77737
|
-
return nt +
|
|
77736
|
+
ie = ie.replace(/^([+-]?)(\d*)\.(\d*)[Ee]/, function(ze, nt, mt, rt) {
|
|
77737
|
+
return nt + mt + rt.substr(0, (V + fe) % V) + "." + rt.substr(fe) + "E";
|
|
77738
77738
|
});
|
|
77739
77739
|
} else
|
|
77740
77740
|
ie = ee.toExponential(ke);
|
|
@@ -77792,23 +77792,23 @@ var Kue = { exports: {} };
|
|
|
77792
77792
|
return L(ee, ie);
|
|
77793
77793
|
if (ee.charCodeAt(0) === 36)
|
|
77794
77794
|
return "$" + ue(Ee, ee.substr(ee.charAt(1) == " " ? 2 : 1), ie);
|
|
77795
|
-
var V, fe, we, ze, nt = Math.abs(ie),
|
|
77795
|
+
var V, fe, we, ze, nt = Math.abs(ie), mt = ie < 0 ? "-" : "";
|
|
77796
77796
|
if (ee.match(/^00+$/))
|
|
77797
|
-
return
|
|
77797
|
+
return mt + h(nt, ee.length);
|
|
77798
77798
|
if (ee.match(/^[#?]+$/))
|
|
77799
77799
|
return V = h(ie, 0), V === "0" && (V = ""), V.length > ee.length ? V : ce(ee.substr(0, ee.length - V.length)) + V;
|
|
77800
77800
|
if (fe = ee.match(H))
|
|
77801
|
-
return M(fe, nt,
|
|
77801
|
+
return M(fe, nt, mt);
|
|
77802
77802
|
if (ee.match(/^#+0+$/))
|
|
77803
|
-
return
|
|
77803
|
+
return mt + h(nt, ee.length - ee.indexOf("0"));
|
|
77804
77804
|
if (fe = ee.match(xe))
|
|
77805
77805
|
return V = Be(ie, fe[1].length).replace(/^([^\.]+)$/, "$1." + ce(fe[1])).replace(/\.$/, "." + ce(fe[1])).replace(/\.(\d*)$/, function(gs, vp) {
|
|
77806
77806
|
return "." + vp + o("0", ce(fe[1]).length - vp.length);
|
|
77807
77807
|
}), ee.indexOf("0.") !== -1 ? V : V.replace(/^0\./, ".");
|
|
77808
77808
|
if (ee = ee.replace(/^#+([0.])/, "$1"), fe = ee.match(/^(0*)\.(#*)$/))
|
|
77809
|
-
return
|
|
77809
|
+
return mt + Be(nt, fe[2].length).replace(/\.(\d*[1-9])0*$/, ".$1").replace(/^(-?\d*)$/, "$1.").replace(/^0\./, fe[1].length ? "0." : ".");
|
|
77810
77810
|
if (fe = ee.match(/^#{1,3},##0(\.?)$/))
|
|
77811
|
-
return
|
|
77811
|
+
return mt + oe(h(nt, 0));
|
|
77812
77812
|
if (fe = ee.match(/^#,##0\.([#0]*0)$/))
|
|
77813
77813
|
return ie < 0 ? "-" + ue(Ee, ee, -ie) : oe("" + (Math.floor(ie) + Rt(ie, fe[1].length))) + "." + u(st(ie, fe[1].length), fe[1].length);
|
|
77814
77814
|
if (fe = ee.match(/^#,#*,#0/))
|
|
@@ -77821,9 +77821,9 @@ var Kue = { exports: {} };
|
|
|
77821
77821
|
return V = ue(Ee, "##########", ie), "(" + V.substr(0, 3) + ") " + V.substr(3, 3) + "-" + V.substr(6);
|
|
77822
77822
|
var rt = "";
|
|
77823
77823
|
if (fe = ee.match(/^([#0?]+)( ?)\/( ?)([#0?]+)/))
|
|
77824
|
-
return we = Math.min(fe[4].length, 7), ze = _(nt, Math.pow(10, we) - 1, !1), V = "" +
|
|
77824
|
+
return we = Math.min(fe[4].length, 7), ze = _(nt, Math.pow(10, we) - 1, !1), V = "" + mt, rt = ne("n", fe[1], ze[1]), rt.charAt(rt.length - 1) == " " && (rt = rt.substr(0, rt.length - 1) + "0"), V += rt + fe[2] + "/" + fe[3], rt = l(ze[2], we), rt.length < fe[4].length && (rt = ce(fe[4].substr(fe[4].length - rt.length)) + rt), V += rt, V;
|
|
77825
77825
|
if (fe = ee.match(/^# ([#0?]+)( ?)\/( ?)([#0?]+)/))
|
|
77826
|
-
return we = Math.min(Math.max(fe[1].length, fe[4].length), 7), ze = _(nt, Math.pow(10, we) - 1, !0),
|
|
77826
|
+
return we = Math.min(Math.max(fe[1].length, fe[4].length), 7), ze = _(nt, Math.pow(10, we) - 1, !0), mt + (ze[0] || (ze[1] ? "" : "0")) + " " + (ze[1] ? a(ze[1], we) + fe[2] + "/" + fe[3] + l(ze[2], we) : o(" ", 2 * we + 1 + fe[2].length + fe[3].length));
|
|
77827
77827
|
if (fe = ee.match(/^[#0?]+$/))
|
|
77828
77828
|
return V = h(ie, 0), ee.length <= V.length ? V : ce(ee.substr(0, ee.length - V.length)) + V;
|
|
77829
77829
|
if (fe = ee.match(/^([#0?]+)\.([#0]+)$/)) {
|
|
@@ -77842,7 +77842,7 @@ var Kue = { exports: {} };
|
|
|
77842
77842
|
case "##,###":
|
|
77843
77843
|
case "#,###":
|
|
77844
77844
|
var Ap = oe(h(nt, 0));
|
|
77845
|
-
return Ap !== "0" ?
|
|
77845
|
+
return Ap !== "0" ? mt + Ap : "";
|
|
77846
77846
|
case "###,###.00":
|
|
77847
77847
|
return ue(Ee, "###,##0.00", ie).replace(/^0\./, ".");
|
|
77848
77848
|
case "#,###.00":
|
|
@@ -77873,8 +77873,8 @@ var Kue = { exports: {} };
|
|
|
77873
77873
|
var we = Math.floor(Math.log(ee) * Math.LOG10E);
|
|
77874
77874
|
ie.indexOf(".") === -1 ? ie = ie.charAt(0) + "." + ie.substr(1) + "E+" + (we - ie.length + fe) : ie += "E+" + (we - fe), ie = ie.replace(/\+-/, "-");
|
|
77875
77875
|
}
|
|
77876
|
-
ie = ie.replace(/^([+-]?)(\d*)\.(\d*)[Ee]/, function(ze, nt,
|
|
77877
|
-
return nt +
|
|
77876
|
+
ie = ie.replace(/^([+-]?)(\d*)\.(\d*)[Ee]/, function(ze, nt, mt, rt) {
|
|
77877
|
+
return nt + mt + rt.substr(0, (V + fe) % V) + "." + rt.substr(fe) + "E";
|
|
77878
77878
|
});
|
|
77879
77879
|
} else
|
|
77880
77880
|
ie = ee.toExponential(ke);
|
|
@@ -77893,23 +77893,23 @@ var Kue = { exports: {} };
|
|
|
77893
77893
|
return Ue(ee, ie);
|
|
77894
77894
|
if (ee.charCodeAt(0) === 36)
|
|
77895
77895
|
return "$" + Le(Ee, ee.substr(ee.charAt(1) == " " ? 2 : 1), ie);
|
|
77896
|
-
var V, fe, we, ze, nt = Math.abs(ie),
|
|
77896
|
+
var V, fe, we, ze, nt = Math.abs(ie), mt = ie < 0 ? "-" : "";
|
|
77897
77897
|
if (ee.match(/^00+$/))
|
|
77898
|
-
return
|
|
77898
|
+
return mt + u(nt, ee.length);
|
|
77899
77899
|
if (ee.match(/^[#?]+$/))
|
|
77900
77900
|
return V = "" + ie, ie === 0 && (V = ""), V.length > ee.length ? V : ce(ee.substr(0, ee.length - V.length)) + V;
|
|
77901
77901
|
if (fe = ee.match(H))
|
|
77902
|
-
return K(fe, nt,
|
|
77902
|
+
return K(fe, nt, mt);
|
|
77903
77903
|
if (ee.match(/^#+0+$/))
|
|
77904
|
-
return
|
|
77904
|
+
return mt + u(nt, ee.length - ee.indexOf("0"));
|
|
77905
77905
|
if (fe = ee.match(xe))
|
|
77906
77906
|
return V = ("" + ie).replace(/^([^\.]+)$/, "$1." + ce(fe[1])).replace(/\.$/, "." + ce(fe[1])), V = V.replace(/\.(\d*)$/, function(gs, vp) {
|
|
77907
77907
|
return "." + vp + o("0", ce(fe[1]).length - vp.length);
|
|
77908
77908
|
}), ee.indexOf("0.") !== -1 ? V : V.replace(/^0\./, ".");
|
|
77909
77909
|
if (ee = ee.replace(/^#+([0.])/, "$1"), fe = ee.match(/^(0*)\.(#*)$/))
|
|
77910
|
-
return
|
|
77910
|
+
return mt + ("" + nt).replace(/\.(\d*[1-9])0*$/, ".$1").replace(/^(-?\d*)$/, "$1.").replace(/^0\./, fe[1].length ? "0." : ".");
|
|
77911
77911
|
if (fe = ee.match(/^#{1,3},##0(\.?)$/))
|
|
77912
|
-
return
|
|
77912
|
+
return mt + oe("" + nt);
|
|
77913
77913
|
if (fe = ee.match(/^#,##0\.([#0]*0)$/))
|
|
77914
77914
|
return ie < 0 ? "-" + Le(Ee, ee, -ie) : oe("" + ie) + "." + o("0", fe[1].length);
|
|
77915
77915
|
if (fe = ee.match(/^#,#*,#0/))
|
|
@@ -77922,9 +77922,9 @@ var Kue = { exports: {} };
|
|
|
77922
77922
|
return V = Le(Ee, "##########", ie), "(" + V.substr(0, 3) + ") " + V.substr(3, 3) + "-" + V.substr(6);
|
|
77923
77923
|
var rt = "";
|
|
77924
77924
|
if (fe = ee.match(/^([#0?]+)( ?)\/( ?)([#0?]+)/))
|
|
77925
|
-
return we = Math.min(fe[4].length, 7), ze = _(nt, Math.pow(10, we) - 1, !1), V = "" +
|
|
77925
|
+
return we = Math.min(fe[4].length, 7), ze = _(nt, Math.pow(10, we) - 1, !1), V = "" + mt, rt = ne("n", fe[1], ze[1]), rt.charAt(rt.length - 1) == " " && (rt = rt.substr(0, rt.length - 1) + "0"), V += rt + fe[2] + "/" + fe[3], rt = l(ze[2], we), rt.length < fe[4].length && (rt = ce(fe[4].substr(fe[4].length - rt.length)) + rt), V += rt, V;
|
|
77926
77926
|
if (fe = ee.match(/^# ([#0?]+)( ?)\/( ?)([#0?]+)/))
|
|
77927
|
-
return we = Math.min(Math.max(fe[1].length, fe[4].length), 7), ze = _(nt, Math.pow(10, we) - 1, !0),
|
|
77927
|
+
return we = Math.min(Math.max(fe[1].length, fe[4].length), 7), ze = _(nt, Math.pow(10, we) - 1, !0), mt + (ze[0] || (ze[1] ? "" : "0")) + " " + (ze[1] ? a(ze[1], we) + fe[2] + "/" + fe[3] + l(ze[2], we) : o(" ", 2 * we + 1 + fe[2].length + fe[3].length));
|
|
77928
77928
|
if (fe = ee.match(/^[#0?]+$/))
|
|
77929
77929
|
return V = "" + ie, ee.length <= V.length ? V : ce(ee.substr(0, ee.length - V.length)) + V;
|
|
77930
77930
|
if (fe = ee.match(/^([#0]+)\.([#0]+)$/)) {
|
|
@@ -77941,7 +77941,7 @@ var Kue = { exports: {} };
|
|
|
77941
77941
|
case "##,###":
|
|
77942
77942
|
case "#,###":
|
|
77943
77943
|
var Ap = oe("" + nt);
|
|
77944
|
-
return Ap !== "0" ?
|
|
77944
|
+
return Ap !== "0" ? mt + Ap : "";
|
|
77945
77945
|
default:
|
|
77946
77946
|
if (ee.match(/\.[0#?]*$/))
|
|
77947
77947
|
return Le(Ee, ee.slice(0, ee.lastIndexOf(".")), ie) + ce(ee.slice(ee.lastIndexOf(".")));
|
|
@@ -78970,7 +78970,7 @@ function uZe(t, e) {
|
|
|
78970
78970
|
r.has("number") ? n = oS.format(r.text("number"), e) : n = e.toLocaleString();
|
|
78971
78971
|
return n;
|
|
78972
78972
|
}
|
|
78973
|
-
var aZe = /* @__PURE__ */
|
|
78973
|
+
var aZe = /* @__PURE__ */ Fn("<a target=_blank>");
|
|
78974
78974
|
function lZe(t, e) {
|
|
78975
78975
|
const {
|
|
78976
78976
|
tag: n
|
|
@@ -78989,7 +78989,7 @@ function lZe(t, e) {
|
|
|
78989
78989
|
const a = r.replace(/\//g, "/");
|
|
78990
78990
|
return (() => {
|
|
78991
78991
|
var l = aZe();
|
|
78992
|
-
return zu(l, "href", u),
|
|
78992
|
+
return zu(l, "href", u), zt(l, a), l;
|
|
78993
78993
|
})();
|
|
78994
78994
|
}
|
|
78995
78995
|
Array.prototype.flat || Object.defineProperty(Array.prototype, "flat", { configurable: !0, value: function t() {
|
|
@@ -79239,7 +79239,7 @@ function Q3(t, e) {
|
|
|
79239
79239
|
Je(t, r) && (n[r] = t[r]);
|
|
79240
79240
|
return n;
|
|
79241
79241
|
}
|
|
79242
|
-
function
|
|
79242
|
+
function go(t, e) {
|
|
79243
79243
|
const n = Object.assign({}, t);
|
|
79244
79244
|
for (const r of e)
|
|
79245
79245
|
delete n[r];
|
|
@@ -79324,7 +79324,7 @@ function hG(t) {
|
|
|
79324
79324
|
function Cae(t, e) {
|
|
79325
79325
|
return t === void 0 || e === void 0 ? !0 : bae(hG(t), hG(e));
|
|
79326
79326
|
}
|
|
79327
|
-
function
|
|
79327
|
+
function Ht(t) {
|
|
79328
79328
|
return Te(t).length === 0;
|
|
79329
79329
|
}
|
|
79330
79330
|
const Te = Object.keys, Oi = Object.values, Vx = Object.entries;
|
|
@@ -79342,7 +79342,7 @@ function IF(t, e) {
|
|
|
79342
79342
|
if (e.length === 0)
|
|
79343
79343
|
return !0;
|
|
79344
79344
|
const n = e.shift();
|
|
79345
|
-
return n in t && IF(t[n], e) && delete t[n],
|
|
79345
|
+
return n in t && IF(t[n], e) && delete t[n], Ht(t);
|
|
79346
79346
|
}
|
|
79347
79347
|
function pO(t) {
|
|
79348
79348
|
return t.charAt(0).toUpperCase() + t.substr(1);
|
|
@@ -79405,7 +79405,7 @@ var rA = function(t, e) {
|
|
|
79405
79405
|
e.indexOf(r[i]) < 0 && Object.prototype.propertyIsEnumerable.call(t, r[i]) && (n[r[i]] = t[r[i]]);
|
|
79406
79406
|
return n;
|
|
79407
79407
|
};
|
|
79408
|
-
const Cl = "row", Tl = "column", gO = "facet", yn = "x", mr = "y", hu = "x2", Ba = "y2", Kc = "xOffset", cp = "yOffset", ka = "radius", s0 = "radius2", pu = "theta", o0 = "theta2", Pa = "latitude", Ma = "longitude", gu = "latitude2",
|
|
79408
|
+
const Cl = "row", Tl = "column", gO = "facet", yn = "x", mr = "y", hu = "x2", Ba = "y2", Kc = "xOffset", cp = "yOffset", ka = "radius", s0 = "radius2", pu = "theta", o0 = "theta2", Pa = "latitude", Ma = "longitude", gu = "latitude2", So = "longitude2", us = "color", ja = "fill", Ua = "stroke", as = "shape", u0 = "size", Pd = "angle", a0 = "opacity", Xc = "fillOpacity", Jc = "strokeOpacity", Zc = "strokeWidth", ef = "strokeDash", iA = "text", sA = "order", oA = "detail", mO = "key", Yx = "tooltip", yO = "href", EO = "url", AO = "description", CZe = {
|
|
79409
79409
|
x: 1,
|
|
79410
79410
|
y: 1,
|
|
79411
79411
|
x2: 1,
|
|
@@ -79433,7 +79433,7 @@ function TZe(t) {
|
|
|
79433
79433
|
return "y2";
|
|
79434
79434
|
case Ma:
|
|
79435
79435
|
return "x";
|
|
79436
|
-
case
|
|
79436
|
+
case So:
|
|
79437
79437
|
return "x2";
|
|
79438
79438
|
}
|
|
79439
79439
|
}
|
|
@@ -79473,14 +79473,14 @@ const Dae = {
|
|
|
79473
79473
|
row: 1,
|
|
79474
79474
|
column: 1,
|
|
79475
79475
|
facet: 1
|
|
79476
|
-
},
|
|
79476
|
+
}, lo = Te(Dae), uk = Object.assign(Object.assign({}, ok), Dae), NZe = Te(uk), DZe = rA(uk, ["order", "detail", "tooltip"]), FZe = rA(DZe, ["row", "column", "facet"]);
|
|
79477
79477
|
function wZe(t) {
|
|
79478
79478
|
return !!FZe[t];
|
|
79479
79479
|
}
|
|
79480
79480
|
function Fae(t) {
|
|
79481
79481
|
return !!uk[t];
|
|
79482
79482
|
}
|
|
79483
|
-
const LZe = [hu, Ba, gu,
|
|
79483
|
+
const LZe = [hu, Ba, gu, So, o0, s0];
|
|
79484
79484
|
function wae(t) {
|
|
79485
79485
|
return Md(t) !== t;
|
|
79486
79486
|
}
|
|
@@ -79492,7 +79492,7 @@ function Md(t) {
|
|
|
79492
79492
|
return mr;
|
|
79493
79493
|
case gu:
|
|
79494
79494
|
return Pa;
|
|
79495
|
-
case
|
|
79495
|
+
case So:
|
|
79496
79496
|
return Ma;
|
|
79497
79497
|
case o0:
|
|
79498
79498
|
return pu;
|
|
@@ -79524,7 +79524,7 @@ function l0(t) {
|
|
|
79524
79524
|
case Pa:
|
|
79525
79525
|
return gu;
|
|
79526
79526
|
case Ma:
|
|
79527
|
-
return
|
|
79527
|
+
return So;
|
|
79528
79528
|
case pu:
|
|
79529
79529
|
return o0;
|
|
79530
79530
|
case ka:
|
|
@@ -79669,7 +79669,7 @@ function zZe(t) {
|
|
|
79669
79669
|
case hu:
|
|
79670
79670
|
case Ba:
|
|
79671
79671
|
case gu:
|
|
79672
|
-
case
|
|
79672
|
+
case So:
|
|
79673
79673
|
return {
|
|
79674
79674
|
area: "always",
|
|
79675
79675
|
bar: "always",
|
|
@@ -79760,7 +79760,7 @@ function X7(t) {
|
|
|
79760
79760
|
case Pa:
|
|
79761
79761
|
case Ma:
|
|
79762
79762
|
case gu:
|
|
79763
|
-
case
|
|
79763
|
+
case So:
|
|
79764
79764
|
case oA:
|
|
79765
79765
|
case mO:
|
|
79766
79766
|
case sA:
|
|
@@ -81086,7 +81086,7 @@ function Ik({ channel: t, channelDef: e, channel2Def: n, markDef: r, config: i,
|
|
|
81086
81086
|
if (e) {
|
|
81087
81087
|
if (it(e)) {
|
|
81088
81088
|
const x = o == null ? void 0 : o.get("type");
|
|
81089
|
-
if (
|
|
81089
|
+
if (_o(e)) {
|
|
81090
81090
|
c ?? (c = Dle({
|
|
81091
81091
|
fieldDef: e,
|
|
81092
81092
|
fieldDef2: n,
|
|
@@ -81305,7 +81305,7 @@ function Fle({ channel: t, fieldDef: e, fieldDef2: n, markDef: r, config: i, sca
|
|
|
81305
81305
|
return s ? yr(s) ? ((u = i[r.type]) === null || u === void 0 ? void 0 : u.discreteBandSize) || { band: 1 } : (a = i[r.type]) === null || a === void 0 ? void 0 : a.continuousBandSize : (l = i[r.type]) === null || l === void 0 ? void 0 : l.discreteBandSize;
|
|
81306
81306
|
}
|
|
81307
81307
|
function wle(t, e, n, r) {
|
|
81308
|
-
return Xt(t.bin) || t.timeUnit &&
|
|
81308
|
+
return Xt(t.bin) || t.timeUnit && _o(t) && t.type === "temporal" ? Dle({ fieldDef: t, fieldDef2: e, markDef: n, config: r }) !== void 0 : !1;
|
|
81309
81309
|
}
|
|
81310
81310
|
function wO(t) {
|
|
81311
81311
|
return t && "condition" in t;
|
|
@@ -81332,7 +81332,7 @@ function za(t) {
|
|
|
81332
81332
|
return t && "datum" in t;
|
|
81333
81333
|
}
|
|
81334
81334
|
function qu(t) {
|
|
81335
|
-
return
|
|
81335
|
+
return _o(t) && !p_(t) || UF(t);
|
|
81336
81336
|
}
|
|
81337
81337
|
function UF(t) {
|
|
81338
81338
|
return za(t) && sn(t.datum);
|
|
@@ -81340,7 +81340,7 @@ function UF(t) {
|
|
|
81340
81340
|
function it(t) {
|
|
81341
81341
|
return Ie(t) || za(t);
|
|
81342
81342
|
}
|
|
81343
|
-
function
|
|
81343
|
+
function _o(t) {
|
|
81344
81344
|
return t && ("field" in t || t.aggregate === "count") && "type" in t;
|
|
81345
81345
|
}
|
|
81346
81346
|
function tu(t) {
|
|
@@ -81359,7 +81359,7 @@ function Ile(t) {
|
|
|
81359
81359
|
return t && ("format" in t || "formatType" in t);
|
|
81360
81360
|
}
|
|
81361
81361
|
function ynt(t) {
|
|
81362
|
-
return
|
|
81362
|
+
return go(t, ["legend", "axis", "header", "scale"]);
|
|
81363
81363
|
}
|
|
81364
81364
|
function Ent(t) {
|
|
81365
81365
|
return "op" in t;
|
|
@@ -81552,14 +81552,14 @@ function Tnt(t) {
|
|
|
81552
81552
|
}
|
|
81553
81553
|
function qk(t, e, { compositeMark: n = !1 } = {}) {
|
|
81554
81554
|
const { aggregate: r, timeUnit: i, bin: s, field: o } = t, u = Object.assign({}, t);
|
|
81555
|
-
if (!n && r && !fk(r) && !nf(r) && !jl(r) && (Ce(Ret(r)), delete u.aggregate), i && (u.timeUnit = $i(i)), o && (u.field = `${o}`), Xt(s) && (u.bin = IO(s, e)), yi(s) && !wr(e) && Ce(utt(e)),
|
|
81555
|
+
if (!n && r && !fk(r) && !nf(r) && !jl(r) && (Ce(Ret(r)), delete u.aggregate), i && (u.timeUnit = $i(i)), o && (u.field = `${o}`), Xt(s) && (u.bin = IO(s, e)), yi(s) && !wr(e) && Ce(utt(e)), _o(u)) {
|
|
81556
81556
|
const { type: a } = u, l = Ftt(a);
|
|
81557
81557
|
a !== l && (u.type = l), a !== "quantitative" && Mae(r) && (Ce(Oet(a, r)), u.type = "quantitative");
|
|
81558
81558
|
} else if (!wae(e)) {
|
|
81559
81559
|
const a = Cnt(u, e);
|
|
81560
81560
|
u.type = a;
|
|
81561
81561
|
}
|
|
81562
|
-
if (
|
|
81562
|
+
if (_o(u)) {
|
|
81563
81563
|
const { compatible: a, warning: l } = Ont(u, e) || {};
|
|
81564
81564
|
a === !1 && Ce(l);
|
|
81565
81565
|
}
|
|
@@ -81621,7 +81621,7 @@ function Ont(t, e) {
|
|
|
81621
81621
|
case AO:
|
|
81622
81622
|
return ph;
|
|
81623
81623
|
case Ma:
|
|
81624
|
-
case
|
|
81624
|
+
case So:
|
|
81625
81625
|
case Pa:
|
|
81626
81626
|
case gu:
|
|
81627
81627
|
return n !== Xx ? {
|
|
@@ -82020,7 +82020,7 @@ function Hle(t, e) {
|
|
|
82020
82020
|
};
|
|
82021
82021
|
l && (A.field = l), s.push(A);
|
|
82022
82022
|
}
|
|
82023
|
-
} else if (n.push(g),
|
|
82023
|
+
} else if (n.push(g), _o(u) && Xt(f)) {
|
|
82024
82024
|
if (r.push({ bin: f, field: l, as: g }), n.push($e(u, { binSuffix: "end" })), fA(u, a) && n.push($e(u, { binSuffix: "range" })), wr(a)) {
|
|
82025
82025
|
const E = {
|
|
82026
82026
|
field: `${g}_end`
|
|
@@ -82034,7 +82034,7 @@ function Hle(t, e) {
|
|
|
82034
82034
|
field: l,
|
|
82035
82035
|
as: g
|
|
82036
82036
|
});
|
|
82037
|
-
const E =
|
|
82037
|
+
const E = _o(u) && u.type !== J2 && "time";
|
|
82038
82038
|
E && (a === iA || a === Yx ? y.formatType = E : MZe(a) ? y.legend = Object.assign({ formatType: E }, y.legend) : wr(a) && (y.axis = Object.assign({ formatType: E }, y.axis)));
|
|
82039
82039
|
}
|
|
82040
82040
|
o[a] = y;
|
|
@@ -82162,7 +82162,7 @@ function Qle(t, e) {
|
|
|
82162
82162
|
case Pa:
|
|
82163
82163
|
case Ma:
|
|
82164
82164
|
case gu:
|
|
82165
|
-
case
|
|
82165
|
+
case So:
|
|
82166
82166
|
case iA:
|
|
82167
82167
|
case as:
|
|
82168
82168
|
case Pd:
|
|
@@ -82417,10 +82417,10 @@ function Xle(t, { config: e }) {
|
|
|
82417
82417
|
}
|
|
82418
82418
|
],
|
|
82419
82419
|
layer: ne
|
|
82420
|
-
}, B = lS(O, ["tooltip"]), { scale: T, axis: N } = g, $ = Qk(g), z =
|
|
82420
|
+
}, B = lS(O, ["tooltip"]), { scale: T, axis: N } = g, $ = Qk(g), z = go(N, ["title"]), L = Wle(l, "outliers", e.boxplot, {
|
|
82421
82421
|
transform: [{ filter: `(${U} < ${D}) || (${U} > ${k})` }],
|
|
82422
82422
|
mark: "point",
|
|
82423
|
-
encoding: Object.assign(Object.assign(Object.assign({ [y]: Object.assign(Object.assign(Object.assign({ field: g.field, type: g.type }, $ !== void 0 ? { title: $ } : {}), T !== void 0 ? { scale: T } : {}),
|
|
82423
|
+
encoding: Object.assign(Object.assign(Object.assign({ [y]: Object.assign(Object.assign(Object.assign({ field: g.field, type: g.type }, $ !== void 0 ? { title: $ } : {}), T !== void 0 ? { scale: T } : {}), Ht(z) ? {} : { axis: z }) }, B), C ? { color: C } : {}), b ? { tooltip: b } : {})
|
|
82424
82424
|
})[0];
|
|
82425
82425
|
let H;
|
|
82426
82426
|
const M = [...h, ...p, Y];
|
|
@@ -83203,7 +83203,7 @@ const grt = [
|
|
|
83203
83203
|
function f0e(t = {}) {
|
|
83204
83204
|
const { color: e, font: n, fontSize: r, selection: i } = t, s = lrt(t, ["color", "font", "fontSize", "selection"]), o = kL({}, at(frt), n ? hrt(n) : {}, e ? xrt(e) : {}, r ? drt(r) : {}, s || {});
|
|
83205
83205
|
i && x6(o, "selection", i, !0);
|
|
83206
|
-
const u =
|
|
83206
|
+
const u = go(o, grt);
|
|
83207
83207
|
for (const a of ["background", "lineBreak", "padding"])
|
|
83208
83208
|
o[a] && (u[a] = Ts(o[a]));
|
|
83209
83209
|
for (const a of Ale)
|
|
@@ -83273,22 +83273,22 @@ function Art(t) {
|
|
|
83273
83273
|
delete t[e];
|
|
83274
83274
|
vrt(t);
|
|
83275
83275
|
for (const e in t)
|
|
83276
|
-
He(t[e]) &&
|
|
83277
|
-
return
|
|
83276
|
+
He(t[e]) && Ht(t[e]) && delete t[e];
|
|
83277
|
+
return Ht(t) ? void 0 : t;
|
|
83278
83278
|
}
|
|
83279
83279
|
function vrt(t) {
|
|
83280
83280
|
const { titleMarkConfig: e, subtitleMarkConfig: n, subtitle: r } = Uae(t.title);
|
|
83281
|
-
|
|
83281
|
+
Ht(e) || (t.style["group-title"] = Object.assign(
|
|
83282
83282
|
Object.assign({}, t.style["group-title"]),
|
|
83283
83283
|
e
|
|
83284
83284
|
// config.title has higher precedence than config.style.group-title in Vega
|
|
83285
|
-
)),
|
|
83285
|
+
)), Ht(n) || (t.style["group-subtitle"] = Object.assign(Object.assign({}, t.style["group-subtitle"]), n)), Ht(r) ? delete t.title : t.title = r;
|
|
83286
83286
|
}
|
|
83287
83287
|
function Srt(t, e, n, r) {
|
|
83288
83288
|
const i = r ? t[e][r] : t[e];
|
|
83289
83289
|
e === "view" && (n = "cell");
|
|
83290
83290
|
const s = Object.assign(Object.assign({}, i), t.style[n ?? e]);
|
|
83291
|
-
|
|
83291
|
+
Ht(s) || (t.style[n ?? e] = s), r || delete t[e];
|
|
83292
83292
|
}
|
|
83293
83293
|
function MO(t) {
|
|
83294
83294
|
return "layer" in t;
|
|
@@ -83465,7 +83465,7 @@ function wrt(t) {
|
|
|
83465
83465
|
for (const e of ["line", "area", "rule", "trail"])
|
|
83466
83466
|
t[e] && (t = Object.assign(Object.assign({}, t), {
|
|
83467
83467
|
// TODO: remove as any
|
|
83468
|
-
[e]:
|
|
83468
|
+
[e]: go(t[e], ["point", "line"])
|
|
83469
83469
|
}));
|
|
83470
83470
|
return t;
|
|
83471
83471
|
}
|
|
@@ -83501,7 +83501,7 @@ class Lrt {
|
|
|
83501
83501
|
Object.assign(Object.assign({}, s ? { params: s } : {}), {
|
|
83502
83502
|
mark: Frt(Object.assign(Object.assign({}, f.type === "area" && f.opacity === void 0 && f.fillOpacity === void 0 ? { opacity: 0.7 } : {}), f)),
|
|
83503
83503
|
// drop shape from encoding as this might be used to trigger point overlay
|
|
83504
|
-
encoding:
|
|
83504
|
+
encoding: go(c, ["shape"])
|
|
83505
83505
|
})
|
|
83506
83506
|
], m = x0e(f, c);
|
|
83507
83507
|
let g = c;
|
|
@@ -83660,7 +83660,7 @@ class krt extends eP {
|
|
|
83660
83660
|
mapNonLayerRepeat(e, n) {
|
|
83661
83661
|
var r;
|
|
83662
83662
|
const { repeat: i, spec: s, data: o } = e, u = m0(e, ["repeat", "spec", "data"]);
|
|
83663
|
-
!be(i) && e.columns && (e =
|
|
83663
|
+
!be(i) && e.columns && (e = go(e, ["columns"]), Ce(SG("repeat")));
|
|
83664
83664
|
const a = [], { repeater: l = {}, repeaterPrefix: c = "" } = n, f = !be(i) && i.row || [l ? l.row : null], x = !be(i) && i.column || [l ? l.column : null], h = be(i) && i || [l ? l.repeat : null];
|
|
83665
83665
|
for (const m of h)
|
|
83666
83666
|
for (const g of f)
|
|
@@ -83671,7 +83671,7 @@ class krt extends eP {
|
|
|
83671
83671
|
column: y,
|
|
83672
83672
|
layer: l.layer
|
|
83673
83673
|
}, A = (s.name || "") + c + "child__" + (be(i) ? `${mn(m)}` : (i.row ? `row_${mn(g)}` : "") + (i.column ? `column_${mn(y)}` : "")), v = this.map(s, Object.assign(Object.assign({}, n), { repeater: E, repeaterPrefix: A }));
|
|
83674
|
-
v.name = A, a.push(
|
|
83674
|
+
v.name = A, a.push(go(v, ["data"]));
|
|
83675
83675
|
}
|
|
83676
83676
|
const p = be(i) ? e.columns : i.column ? i.column.length : 1;
|
|
83677
83677
|
return Object.assign(Object.assign({ data: (r = s.data) !== null && r !== void 0 ? r : o, align: "all" }, u), {
|
|
@@ -83681,7 +83681,7 @@ class krt extends eP {
|
|
|
83681
83681
|
}
|
|
83682
83682
|
mapFacet(e, n) {
|
|
83683
83683
|
const { facet: r } = e;
|
|
83684
|
-
return lA(r) && e.columns && (e =
|
|
83684
|
+
return lA(r) && e.columns && (e = go(e, ["columns"]), Ce(SG("facet"))), super.mapFacet(e, n);
|
|
83685
83685
|
}
|
|
83686
83686
|
mapUnitWithParentEncodingOrProjection(e, n) {
|
|
83687
83687
|
const { encoding: r, projection: i } = e, { parentEncoding: s, parentProjection: o, config: u } = n, a = QG({ parentProjection: o, projection: i }), l = HG({
|
|
@@ -83742,7 +83742,7 @@ function HG({ parentEncoding: t, encoding: e = {}, layer: n }) {
|
|
|
83742
83742
|
}
|
|
83743
83743
|
} else
|
|
83744
83744
|
r = e;
|
|
83745
|
-
return !r ||
|
|
83745
|
+
return !r || Ht(r) ? void 0 : r;
|
|
83746
83746
|
}
|
|
83747
83747
|
function QG(t) {
|
|
83748
83748
|
const { parentProjection: e, projection: n } = t;
|
|
@@ -84320,7 +84320,7 @@ class ea extends qt {
|
|
|
84320
84320
|
}
|
|
84321
84321
|
return i;
|
|
84322
84322
|
}, {});
|
|
84323
|
-
return
|
|
84323
|
+
return Ht(r) ? null : new ea(e, r);
|
|
84324
84324
|
}
|
|
84325
84325
|
static makeFromTransform(e, n) {
|
|
84326
84326
|
const r = Object.assign({}, n), { timeUnit: i } = r, s = YG(r, ["timeUnit"]), o = $i(i), u = Object.assign(Object.assign({}, s), { timeUnit: o });
|
|
@@ -84440,7 +84440,7 @@ const _it = {
|
|
|
84440
84440
|
const g = { type: "E", field: m };
|
|
84441
84441
|
g.signals = Object.assign({}, l(g, "data")), s.items.push(g), s.hasField[m] = g;
|
|
84442
84442
|
}
|
|
84443
|
-
x && (e.init = x.map((m) => s.items.map((g) => He(m) ? m[g.channel] !== void 0 ? m[g.channel] : m[g.field] : m))),
|
|
84443
|
+
x && (e.init = x.map((m) => s.items.map((g) => He(m) ? m[g.channel] !== void 0 ? m[g.channel] : m[g.field] : m))), Ht(u) || (s.timeUnit = new ea(null, u));
|
|
84444
84444
|
},
|
|
84445
84445
|
signals: (t, e, n) => {
|
|
84446
84446
|
const r = e.name + dA;
|
|
@@ -84703,7 +84703,7 @@ function O0e(t, e = {}) {
|
|
|
84703
84703
|
function R0e(t, e, n, { reactiveGeom: r } = {}) {
|
|
84704
84704
|
const i = {}, s = r ? "datum.datum" : "datum", o = [];
|
|
84705
84705
|
function u(l, c) {
|
|
84706
|
-
const f = Md(c), x =
|
|
84706
|
+
const f = Md(c), x = _o(l) ? l : Object.assign(Object.assign({}, l), {
|
|
84707
84707
|
type: t[f].type
|
|
84708
84708
|
// for secondary field def, copy type from main channel
|
|
84709
84709
|
}), h = x.title || Uk(x, n), p = Pe(h).join(", ");
|
|
@@ -84762,7 +84762,7 @@ function Dit(t) {
|
|
|
84762
84762
|
if (r.aria === !1)
|
|
84763
84763
|
return {};
|
|
84764
84764
|
const u = R0e(e, i, r);
|
|
84765
|
-
if (!
|
|
84765
|
+
if (!Ht(u))
|
|
84766
84766
|
return {
|
|
84767
84767
|
description: {
|
|
84768
84768
|
signal: Vx(u).map(([a, l], c) => `"${c > 0 ? "; " : ""}${a}: " + (${l})`).join(" + ")
|
|
@@ -85138,7 +85138,7 @@ function XG({ fieldDef: t, scaleName: e, bandPosition: n, offset: r }) {
|
|
|
85138
85138
|
});
|
|
85139
85139
|
}
|
|
85140
85140
|
const jit = /* @__PURE__ */ new Set(["aria", "width", "height"]);
|
|
85141
|
-
function
|
|
85141
|
+
function Oo(t, e) {
|
|
85142
85142
|
const { fill: n = void 0, stroke: r = void 0 } = e.color === "include" ? N0e(t) : {};
|
|
85143
85143
|
return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({}, Uit(t.markDef, e)), JG(t, "fill", n)), JG(t, "stroke", r)), lr("opacity", t)), lr("fillOpacity", t)), lr("strokeOpacity", t)), lr("strokeWidth", t)), lr("strokeDash", t)), Fit(t)), O0e(t)), iP(t, "href")), Rit(t));
|
|
85144
85144
|
}
|
|
@@ -85448,7 +85448,7 @@ function r1(t, { escape: e } = { escape: !0 }) {
|
|
|
85448
85448
|
const r = Yit(t);
|
|
85449
85449
|
if (r) {
|
|
85450
85450
|
const { facet: i } = r;
|
|
85451
|
-
for (const s of
|
|
85451
|
+
for (const s of lo)
|
|
85452
85452
|
i[s] && (n += ` + '__facet_${s}_' + (facet[${Fe(r.vgField(s))}])`);
|
|
85453
85453
|
}
|
|
85454
85454
|
return n;
|
|
@@ -85617,7 +85617,7 @@ function wm(t, e, n, r = { header: !1 }) {
|
|
|
85617
85617
|
return;
|
|
85618
85618
|
if (h.encode) {
|
|
85619
85619
|
const { grid: p } = h.encode;
|
|
85620
|
-
h.encode = Object.assign({}, p ? { grid: p } : {}),
|
|
85620
|
+
h.encode = Object.assign({}, p ? { grid: p } : {}), Ht(h.encode) && delete h.encode;
|
|
85621
85621
|
}
|
|
85622
85622
|
return Object.assign(Object.assign({
|
|
85623
85623
|
scale: l,
|
|
@@ -85644,7 +85644,7 @@ function wm(t, e, n, r = { header: !1 }) {
|
|
|
85644
85644
|
if (h.labelAlign === null && delete h.labelAlign, h.encode) {
|
|
85645
85645
|
for (const m of jle)
|
|
85646
85646
|
t.hasAxisPart(m) || delete h.encode[m];
|
|
85647
|
-
|
|
85647
|
+
Ht(h.encode) && delete h.encode;
|
|
85648
85648
|
}
|
|
85649
85649
|
const p = Jit(f, n);
|
|
85650
85650
|
return Object.assign(Object.assign(Object.assign(Object.assign({
|
|
@@ -86059,14 +86059,14 @@ function gst(t, e) {
|
|
|
86059
86059
|
}
|
|
86060
86060
|
function mst(t, e) {
|
|
86061
86061
|
const n = {};
|
|
86062
|
-
for (const r of
|
|
86062
|
+
for (const r of lo) {
|
|
86063
86063
|
const i = t[r];
|
|
86064
86064
|
if (i != null && i.facetFieldDef) {
|
|
86065
86065
|
const { titleAnchor: s, titleOrient: o } = HO(["titleAnchor", "titleOrient"], i.facetFieldDef.header, e, r), u = zO(r, o), a = gst(s, u);
|
|
86066
86066
|
a !== void 0 && (n[u] = a);
|
|
86067
86067
|
}
|
|
86068
86068
|
}
|
|
86069
|
-
return
|
|
86069
|
+
return Ht(n) ? void 0 : n;
|
|
86070
86070
|
}
|
|
86071
86071
|
function J0e(t, e, n, r, i) {
|
|
86072
86072
|
const s = {};
|
|
@@ -86213,7 +86213,7 @@ function Ast(t, { fieldOrDatumDef: e, model: n, channel: r, legendCmpt: i, legen
|
|
|
86213
86213
|
tn(g.legend.unselectedOpacity)
|
|
86214
86214
|
] : b && (A.opacity = tn(b));
|
|
86215
86215
|
}
|
|
86216
|
-
return A = Object.assign(Object.assign({}, A), t),
|
|
86216
|
+
return A = Object.assign(Object.assign({}, A), t), Ht(A) ? void 0 : A;
|
|
86217
86217
|
}
|
|
86218
86218
|
function vst(t, { model: e, legendType: n, legendCmpt: r }) {
|
|
86219
86219
|
var i;
|
|
@@ -86222,7 +86222,7 @@ function vst(t, { model: e, legendType: n, legendCmpt: r }) {
|
|
|
86222
86222
|
const { config: s, markDef: o, encoding: u } = e;
|
|
86223
86223
|
let a = {};
|
|
86224
86224
|
const c = ((i = r.get("gradientOpacity")) !== null && i !== void 0 ? i : s.legend.gradientOpacity) === void 0 ? ice(u.opacity) || o.opacity : void 0;
|
|
86225
|
-
return c && (a.opacity = tn(c)), a = Object.assign(Object.assign({}, a), t),
|
|
86225
|
+
return c && (a.opacity = tn(c)), a = Object.assign(Object.assign({}, a), t), Ht(a) ? void 0 : a;
|
|
86226
86226
|
}
|
|
86227
86227
|
function Sst(t, { fieldOrDatumDef: e, model: n, channel: r, legendCmpt: i }) {
|
|
86228
86228
|
const s = n.legend(r) || {}, o = n.config, u = Ie(e) ? oce(n, i, e) : void 0, a = u ? [{ test: u, value: 1 }, { value: o.legend.unselectedOpacity }] : void 0, { format: l, formatType: c } = s, f = Jx(c) ? Bk({
|
|
@@ -86232,7 +86232,7 @@ function Sst(t, { fieldOrDatumDef: e, model: n, channel: r, legendCmpt: i }) {
|
|
|
86232
86232
|
formatType: c,
|
|
86233
86233
|
config: o
|
|
86234
86234
|
}) : void 0, x = Object.assign(Object.assign(Object.assign({}, a ? { opacity: a } : {}), f ? { text: f } : {}), t);
|
|
86235
|
-
return
|
|
86235
|
+
return Ht(x) ? void 0 : x;
|
|
86236
86236
|
}
|
|
86237
86237
|
function _st(t, { legendCmpt: e }) {
|
|
86238
86238
|
const n = e.get("selections");
|
|
@@ -86437,9 +86437,9 @@ function $st(t, e) {
|
|
|
86437
86437
|
const A = (r = s == null ? void 0 : s.encoding) !== null && r !== void 0 ? r : {}, v = c.get("selections"), S = {}, _ = { fieldOrDatumDef: h, model: t, channel: e, legendCmpt: c, legendType: g };
|
|
86438
86438
|
for (const b of ["labels", "legend", "title", "symbols", "gradient", "entries"]) {
|
|
86439
86439
|
const C = tce((i = A[b]) !== null && i !== void 0 ? i : {}, t), R = b in sW ? sW[b](C, _) : C;
|
|
86440
|
-
R !== void 0 && !
|
|
86440
|
+
R !== void 0 && !Ht(R) && (S[b] = Object.assign(Object.assign(Object.assign({}, v != null && v.length && Ie(h) ? { name: `${mn(h.field)}_legend_${b}` } : {}), v != null && v.length ? { interactive: !!v } : {}), { update: R }));
|
|
86441
86441
|
}
|
|
86442
|
-
return
|
|
86442
|
+
return Ht(S) || c.set("encode", S, !!(s != null && s.encoding)), c;
|
|
86443
86443
|
}
|
|
86444
86444
|
function Bst(t) {
|
|
86445
86445
|
const { legends: e, resolve: n } = t.component;
|
|
@@ -86612,7 +86612,7 @@ function Qst(t) {
|
|
|
86612
86612
|
const e = [], { encoding: n } = t;
|
|
86613
86613
|
for (const r of [
|
|
86614
86614
|
[Ma, Pa],
|
|
86615
|
-
[
|
|
86615
|
+
[So, gu]
|
|
86616
86616
|
])
|
|
86617
86617
|
(Kn(n[r[0]]) || Kn(n[r[1]])) && e.push({
|
|
86618
86618
|
signal: t.getName(`geojson_${e.length}`)
|
|
@@ -86717,13 +86717,13 @@ class ta extends qt {
|
|
|
86717
86717
|
}
|
|
86718
86718
|
static makeFromEncoding(e, n) {
|
|
86719
86719
|
const r = n.reduceFieldDef((i, s, o) => {
|
|
86720
|
-
if (
|
|
86720
|
+
if (_o(s) && Xt(s.bin)) {
|
|
86721
86721
|
const { key: u, binComponent: a } = aW(s, s.bin, n);
|
|
86722
86722
|
i[u] = Object.assign(Object.assign(Object.assign({}, a), i[u]), Yst(n, s, o, n.config));
|
|
86723
86723
|
}
|
|
86724
86724
|
return i;
|
|
86725
86725
|
}, {});
|
|
86726
|
-
return
|
|
86726
|
+
return Ht(r) ? null : new ta(e, r);
|
|
86727
86727
|
}
|
|
86728
86728
|
/**
|
|
86729
86729
|
* Creates a bin node from BinTransform.
|
|
@@ -86781,7 +86781,7 @@ class ta extends qt {
|
|
|
86781
86781
|
function Jst(t, e, n, r) {
|
|
86782
86782
|
var i;
|
|
86783
86783
|
const s = jn(r) ? r.encoding[l0(e)] : void 0;
|
|
86784
|
-
if (
|
|
86784
|
+
if (_o(n) && jn(r) && wle(n, s, r.markDef, r.config))
|
|
86785
86785
|
t.add($e(n, {})), t.add($e(n, { suffix: "end" })), n.bin && fA(n, e) && t.add($e(n, { binSuffix: "range" }));
|
|
86786
86786
|
else if (OZe(e)) {
|
|
86787
86787
|
const o = TZe(e);
|
|
@@ -86891,7 +86891,7 @@ class gp extends qt {
|
|
|
86891
86891
|
*/
|
|
86892
86892
|
constructor(e, n, r, i) {
|
|
86893
86893
|
super(e), this.model = n, this.name = r, this.data = i;
|
|
86894
|
-
for (const s of
|
|
86894
|
+
for (const s of lo) {
|
|
86895
86895
|
const o = n.facet[s];
|
|
86896
86896
|
if (o) {
|
|
86897
86897
|
const { bin: u, sort: a } = o;
|
|
@@ -86902,20 +86902,20 @@ class gp extends qt {
|
|
|
86902
86902
|
}
|
|
86903
86903
|
hash() {
|
|
86904
86904
|
let e = "Facet";
|
|
86905
|
-
for (const n of
|
|
86905
|
+
for (const n of lo)
|
|
86906
86906
|
this[n] && (e += ` ${n.charAt(0)}:${Tt(this[n])}`);
|
|
86907
86907
|
return e;
|
|
86908
86908
|
}
|
|
86909
86909
|
get fields() {
|
|
86910
86910
|
var e;
|
|
86911
86911
|
const n = [];
|
|
86912
|
-
for (const r of
|
|
86912
|
+
for (const r of lo)
|
|
86913
86913
|
!((e = this[r]) === null || e === void 0) && e.fields && n.push(...this[r].fields);
|
|
86914
86914
|
return n;
|
|
86915
86915
|
}
|
|
86916
86916
|
dependentFields() {
|
|
86917
86917
|
const e = new Set(this.fields);
|
|
86918
|
-
for (const n of
|
|
86918
|
+
for (const n of lo)
|
|
86919
86919
|
this[n] && (this[n].sortField && e.add(this[n].sortField.field), this[n].sortIndexField && e.add(this[n].sortIndexField));
|
|
86920
86920
|
return e;
|
|
86921
86921
|
}
|
|
@@ -87063,7 +87063,7 @@ function not(t) {
|
|
|
87063
87063
|
e1(r) ? e[r.field] = "date" : r.type === "quantitative" && WZe(r.aggregate) ? e[r.field] = "number" : G3(r.field) > 1 ? r.field in e || (e[r.field] = "flatten") : qd(r) && Zu(r.sort) && G3(r.sort.field) > 1 && (r.sort.field in e || (e[r.sort.field] = "flatten"));
|
|
87064
87064
|
}
|
|
87065
87065
|
if ((jn(t) || Vo(t)) && t.forEachFieldDef((r, i) => {
|
|
87066
|
-
if (
|
|
87066
|
+
if (_o(r))
|
|
87067
87067
|
n(r);
|
|
87068
87068
|
else {
|
|
87069
87069
|
const s = Md(i), o = t.fieldDef(s);
|
|
@@ -87229,7 +87229,7 @@ class ed extends qt {
|
|
|
87229
87229
|
constructor(e) {
|
|
87230
87230
|
super(null), e ?? (e = { name: "source" });
|
|
87231
87231
|
let n;
|
|
87232
|
-
if (J0(e) || (n = e.format ? Object.assign({},
|
|
87232
|
+
if (J0(e) || (n = e.format ? Object.assign({}, go(e.format, ["parse"])) : {}), Y3(e))
|
|
87233
87233
|
this._data = { values: e.values };
|
|
87234
87234
|
else if (t1(e)) {
|
|
87235
87235
|
if (this._data = { url: e.url }, !n.type) {
|
|
@@ -87238,7 +87238,7 @@ class ed extends qt {
|
|
|
87238
87238
|
}
|
|
87239
87239
|
} else
|
|
87240
87240
|
b0e(e) ? this._data = { values: [{ type: "Sphere" }] } : (S0e(e) || J0(e)) && (this._data = {});
|
|
87241
|
-
this._generator = J0(e), e.name && (this._name = e.name), n && !
|
|
87241
|
+
this._generator = J0(e), e.name && (this._name = e.name), n && !Ht(n) && (this._data.format = n);
|
|
87242
87242
|
}
|
|
87243
87243
|
dependentFields() {
|
|
87244
87244
|
return /* @__PURE__ */ new Set();
|
|
@@ -87403,7 +87403,7 @@ class cot extends zd {
|
|
|
87403
87403
|
}
|
|
87404
87404
|
for (const o of s)
|
|
87405
87405
|
delete i[o];
|
|
87406
|
-
if (!
|
|
87406
|
+
if (!Ht(i)) {
|
|
87407
87407
|
this.setModified();
|
|
87408
87408
|
const o = new Wr(e, i);
|
|
87409
87409
|
for (const u of n) {
|
|
@@ -87746,7 +87746,7 @@ function iw(t) {
|
|
|
87746
87746
|
}
|
|
87747
87747
|
return !0;
|
|
87748
87748
|
}
|
|
87749
|
-
function
|
|
87749
|
+
function Lo(t, e) {
|
|
87750
87750
|
let n = !1;
|
|
87751
87751
|
for (const r of e)
|
|
87752
87752
|
n = t.optimize(r) || n;
|
|
@@ -87754,7 +87754,7 @@ function wo(t, e) {
|
|
|
87754
87754
|
}
|
|
87755
87755
|
function fW(t, e, n) {
|
|
87756
87756
|
let r = t.sources, i = !1;
|
|
87757
|
-
return i =
|
|
87757
|
+
return i = Lo(new aot(), r) || i, i = Lo(new oot(e), r) || i, r = r.filter((s) => s.numChildren() > 0), i = Lo(new fot(), r) || i, r = r.filter((s) => s.numChildren() > 0), n || (i = Lo(new lot(), r) || i, i = Lo(new hot(e), r) || i, i = Lo(new uot(), r) || i, i = Lo(new cot(), r) || i, i = Lo(new dot(), r) || i, i = Lo(new xot(), r) || i, i = Lo(new sot(), r) || i, i = Lo(new pot(), r) || i), t.sources = r, i;
|
|
87758
87758
|
}
|
|
87759
87759
|
function Eot(t, e) {
|
|
87760
87760
|
iw(t.sources);
|
|
@@ -88212,7 +88212,7 @@ function Lot(t, e) {
|
|
|
88212
88212
|
PF(s, "rangeMin") && be(c) && c.length === 2 ? Iu([a ?? c[0], l ?? c[1]]) : Ss(c);
|
|
88213
88213
|
}
|
|
88214
88214
|
function Iot(t) {
|
|
88215
|
-
return Ptt(t) ? Object.assign({ scheme: t.name },
|
|
88215
|
+
return Ptt(t) ? Object.assign({ scheme: t.name }, go(t, ["name"])) : { scheme: t };
|
|
88216
88216
|
}
|
|
88217
88217
|
function $ot(t, e) {
|
|
88218
88218
|
const { size: n, config: r, mark: i, encoding: s } = e, o = e.getSignalName.bind(e), { type: u } = Kn(s[t]), l = e.getScaleComponent(t).get("type"), { domain: c, domainMid: f } = e.specifiedScales[t];
|
|
@@ -88726,7 +88726,7 @@ class yP {
|
|
|
88726
88726
|
}
|
|
88727
88727
|
assembleGroupEncodeEntry(e) {
|
|
88728
88728
|
let n = {};
|
|
88729
|
-
return this.view && (n = this.assembleEncodeFromView(this.view)), !e && (this.description && (n.description = tn(this.description)), this.type === "unit" || this.type === "layer") ? Object.assign({ width: this.getSizeSignalRef("width"), height: this.getSizeSignalRef("height") }, n ?? {}) :
|
|
88729
|
+
return this.view && (n = this.assembleEncodeFromView(this.view)), !e && (this.description && (n.description = tn(this.description)), this.type === "unit" || this.type === "layer") ? Object.assign({ width: this.getSizeSignalRef("width"), height: this.getSizeSignalRef("height") }, n ?? {}) : Ht(n) ? void 0 : n;
|
|
88730
88730
|
}
|
|
88731
88731
|
assembleLayout() {
|
|
88732
88732
|
if (!this.layout)
|
|
@@ -88740,7 +88740,7 @@ class yP {
|
|
|
88740
88740
|
assembleHeaderMarks() {
|
|
88741
88741
|
const { layoutHeaders: e } = this.component;
|
|
88742
88742
|
let n = [];
|
|
88743
|
-
for (const r of
|
|
88743
|
+
for (const r of lo)
|
|
88744
88744
|
e[r].title && n.push(fst(this, r));
|
|
88745
88745
|
for (const r of aP)
|
|
88746
88746
|
n = n.concat(xst(this, r));
|
|
@@ -88759,7 +88759,7 @@ class yP {
|
|
|
88759
88759
|
var e, n, r;
|
|
88760
88760
|
const i = (e = this.title) !== null && e !== void 0 ? e : {}, { encoding: s } = i, o = oD(i, ["encoding"]), u = Object.assign(Object.assign(Object.assign({}, Uae(this.config.title).nonMarkTitleProperties), o), s ? { encode: { update: s } } : {});
|
|
88761
88761
|
if (u.text)
|
|
88762
|
-
return Ot(["unit", "layer"], this.type) ? Ot(["middle", void 0], u.anchor) && ((n = u.frame) !== null && n !== void 0 || (u.frame = "group")) : (r = u.anchor) !== null && r !== void 0 || (u.anchor = "start"),
|
|
88762
|
+
return Ot(["unit", "layer"], this.type) ? Ot(["middle", void 0], u.anchor) && ((n = u.frame) !== null && n !== void 0 || (u.frame = "group")) : (r = u.anchor) !== null && r !== void 0 || (u.anchor = "start"), Ht(u) ? void 0 : u;
|
|
88763
88763
|
}
|
|
88764
88764
|
/**
|
|
88765
88765
|
* Assemble the mark group for this model. We accept optional `signals` so that we can include concat top-level signals with the top-level model's local signals.
|
|
@@ -89048,7 +89048,7 @@ class Wh extends qt {
|
|
|
89048
89048
|
let r = 0;
|
|
89049
89049
|
for (const i of [
|
|
89050
89050
|
[Ma, Pa],
|
|
89051
|
-
[
|
|
89051
|
+
[So, gu]
|
|
89052
89052
|
]) {
|
|
89053
89053
|
const s = i.map((o) => {
|
|
89054
89054
|
const u = Kn(n.encoding[o]);
|
|
@@ -89097,12 +89097,12 @@ class J3 extends qt {
|
|
|
89097
89097
|
return e;
|
|
89098
89098
|
for (const r of [
|
|
89099
89099
|
[Ma, Pa],
|
|
89100
|
-
[
|
|
89100
|
+
[So, gu]
|
|
89101
89101
|
]) {
|
|
89102
89102
|
const i = r.map((o) => {
|
|
89103
89103
|
const u = Kn(n.encoding[o]);
|
|
89104
89104
|
return Ie(u) ? u.field : za(u) ? { expr: `${u.datum}` } : tu(u) ? { expr: `${u.value}` } : void 0;
|
|
89105
|
-
}), s = r[0] ===
|
|
89105
|
+
}), s = r[0] === So ? "2" : "";
|
|
89106
89106
|
(i[0] || i[1]) && (e = new J3(e, n.projectionName(), i, [
|
|
89107
89107
|
n.getName(`x${s}`),
|
|
89108
89108
|
n.getName(`y${s}`)
|
|
@@ -89451,7 +89451,7 @@ function uut(t) {
|
|
|
89451
89451
|
return t === "top" || t === "left" || Ve(t) ? "header" : "footer";
|
|
89452
89452
|
}
|
|
89453
89453
|
function aut(t) {
|
|
89454
|
-
for (const e of
|
|
89454
|
+
for (const e of lo)
|
|
89455
89455
|
lut(t, e);
|
|
89456
89456
|
yW(t, "x"), yW(t, "y");
|
|
89457
89457
|
}
|
|
@@ -89631,7 +89631,7 @@ class e3 extends Tce {
|
|
|
89631
89631
|
getHeaderLayoutMixins() {
|
|
89632
89632
|
var e, n, r;
|
|
89633
89633
|
const i = {};
|
|
89634
|
-
for (const s of
|
|
89634
|
+
for (const s of lo)
|
|
89635
89635
|
for (const o of lP) {
|
|
89636
89636
|
const u = this.component.layoutHeaders[s], a = u[o], { facetFieldDef: l } = u;
|
|
89637
89637
|
if (l) {
|
|
@@ -89698,7 +89698,7 @@ class e3 extends Tce {
|
|
|
89698
89698
|
}
|
|
89699
89699
|
assembleFacet() {
|
|
89700
89700
|
const { name: e, data: n } = this.component.data.facetRoot, { row: r, column: i } = this.facet, { fields: s, ops: o, as: u } = this.getCardinalityAggregateForChild(), a = [];
|
|
89701
|
-
for (const c of
|
|
89701
|
+
for (const c of lo) {
|
|
89702
89702
|
const f = this.facet[c];
|
|
89703
89703
|
if (f) {
|
|
89704
89704
|
a.push($e(f));
|
|
@@ -89757,8 +89757,8 @@ class e3 extends Tce {
|
|
|
89757
89757
|
},
|
|
89758
89758
|
// TODO: move this to after data
|
|
89759
89759
|
sort: {
|
|
89760
|
-
field:
|
|
89761
|
-
order:
|
|
89760
|
+
field: lo.map((a) => this.facetSortFields(a)).flat(),
|
|
89761
|
+
order: lo.map((a) => this.facetSortOrder(a)).flat()
|
|
89762
89762
|
}
|
|
89763
89763
|
}), r.length > 0 ? { data: r } : {}), i ? { encode: { update: i } } : {}), e.assembleGroup(git(this, [])))];
|
|
89764
89764
|
}
|
|
@@ -90161,9 +90161,9 @@ function Rut(t, e) {
|
|
|
90161
90161
|
if (!o.hasAxisPart(A))
|
|
90162
90162
|
return E;
|
|
90163
90163
|
const S = tce((v = g[A]) !== null && v !== void 0 ? v : {}, e), _ = A === "labels" ? Aut(e, t, S) : S;
|
|
90164
|
-
return _ !== void 0 && !
|
|
90164
|
+
return _ !== void 0 && !Ht(_) && (E[A] = { update: _ }), E;
|
|
90165
90165
|
}, {});
|
|
90166
|
-
return
|
|
90166
|
+
return Ht(y) || o.set("encode", y, !!s.encoding || s.labelAngle !== void 0), o;
|
|
90167
90167
|
}
|
|
90168
90168
|
function Nut({ encoding: t, size: e }) {
|
|
90169
90169
|
for (const n of qa) {
|
|
@@ -90257,7 +90257,7 @@ function Iut(t, e, n) {
|
|
|
90257
90257
|
}
|
|
90258
90258
|
const $ut = {
|
|
90259
90259
|
vgMark: "arc",
|
|
90260
|
-
encodeEntry: (t) => Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},
|
|
90260
|
+
encodeEntry: (t) => Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({}, Oo(t, {
|
|
90261
90261
|
align: "ignore",
|
|
90262
90262
|
baseline: "ignore",
|
|
90263
90263
|
color: "include",
|
|
@@ -90267,7 +90267,7 @@ const $ut = {
|
|
|
90267
90267
|
})), Gr("x", t, { defaultPos: "mid" })), Gr("y", t, { defaultPos: "mid" })), vc(t, "radius")), vc(t, "theta"))
|
|
90268
90268
|
}, But = {
|
|
90269
90269
|
vgMark: "area",
|
|
90270
|
-
encodeEntry: (t) => Object.assign(Object.assign(Object.assign(Object.assign({},
|
|
90270
|
+
encodeEntry: (t) => Object.assign(Object.assign(Object.assign(Object.assign({}, Oo(t, {
|
|
90271
90271
|
align: "ignore",
|
|
90272
90272
|
baseline: "ignore",
|
|
90273
90273
|
color: "include",
|
|
@@ -90285,7 +90285,7 @@ const $ut = {
|
|
|
90285
90285
|
})), oP(t))
|
|
90286
90286
|
}, kut = {
|
|
90287
90287
|
vgMark: "rect",
|
|
90288
|
-
encodeEntry: (t) => Object.assign(Object.assign(Object.assign({},
|
|
90288
|
+
encodeEntry: (t) => Object.assign(Object.assign(Object.assign({}, Oo(t, {
|
|
90289
90289
|
align: "ignore",
|
|
90290
90290
|
baseline: "ignore",
|
|
90291
90291
|
color: "include",
|
|
@@ -90295,7 +90295,7 @@ const $ut = {
|
|
|
90295
90295
|
})), vc(t, "x")), vc(t, "y"))
|
|
90296
90296
|
}, Put = {
|
|
90297
90297
|
vgMark: "shape",
|
|
90298
|
-
encodeEntry: (t) => Object.assign({},
|
|
90298
|
+
encodeEntry: (t) => Object.assign({}, Oo(t, {
|
|
90299
90299
|
align: "ignore",
|
|
90300
90300
|
baseline: "ignore",
|
|
90301
90301
|
color: "include",
|
|
@@ -90309,7 +90309,7 @@ const $ut = {
|
|
|
90309
90309
|
}
|
|
90310
90310
|
}, Mut = {
|
|
90311
90311
|
vgMark: "image",
|
|
90312
|
-
encodeEntry: (t) => Object.assign(Object.assign(Object.assign(Object.assign({},
|
|
90312
|
+
encodeEntry: (t) => Object.assign(Object.assign(Object.assign(Object.assign({}, Oo(t, {
|
|
90313
90313
|
align: "ignore",
|
|
90314
90314
|
baseline: "ignore",
|
|
90315
90315
|
color: "ignore",
|
|
@@ -90319,7 +90319,7 @@ const $ut = {
|
|
|
90319
90319
|
})), vc(t, "x")), vc(t, "y")), iP(t, "url"))
|
|
90320
90320
|
}, jut = {
|
|
90321
90321
|
vgMark: "line",
|
|
90322
|
-
encodeEntry: (t) => Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},
|
|
90322
|
+
encodeEntry: (t) => Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({}, Oo(t, {
|
|
90323
90323
|
align: "ignore",
|
|
90324
90324
|
baseline: "ignore",
|
|
90325
90325
|
color: "include",
|
|
@@ -90332,7 +90332,7 @@ const $ut = {
|
|
|
90332
90332
|
})), oP(t))
|
|
90333
90333
|
}, Uut = {
|
|
90334
90334
|
vgMark: "trail",
|
|
90335
|
-
encodeEntry: (t) => Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},
|
|
90335
|
+
encodeEntry: (t) => Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({}, Oo(t, {
|
|
90336
90336
|
align: "ignore",
|
|
90337
90337
|
baseline: "ignore",
|
|
90338
90338
|
color: "include",
|
|
@@ -90343,7 +90343,7 @@ const $ut = {
|
|
|
90343
90343
|
};
|
|
90344
90344
|
function vP(t, e) {
|
|
90345
90345
|
const { config: n } = t;
|
|
90346
|
-
return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},
|
|
90346
|
+
return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({}, Oo(t, {
|
|
90347
90347
|
align: "ignore",
|
|
90348
90348
|
baseline: "ignore",
|
|
90349
90349
|
color: "include",
|
|
@@ -90366,7 +90366,7 @@ const zut = {
|
|
|
90366
90366
|
encodeEntry: (t) => vP(t, "square")
|
|
90367
90367
|
}, Gut = {
|
|
90368
90368
|
vgMark: "rect",
|
|
90369
|
-
encodeEntry: (t) => Object.assign(Object.assign(Object.assign({},
|
|
90369
|
+
encodeEntry: (t) => Object.assign(Object.assign(Object.assign({}, Oo(t, {
|
|
90370
90370
|
align: "ignore",
|
|
90371
90371
|
baseline: "ignore",
|
|
90372
90372
|
color: "include",
|
|
@@ -90378,7 +90378,7 @@ const zut = {
|
|
|
90378
90378
|
vgMark: "rule",
|
|
90379
90379
|
encodeEntry: (t) => {
|
|
90380
90380
|
const { markDef: e } = t, n = e.orient;
|
|
90381
|
-
return !t.encoding.x && !t.encoding.y && !t.encoding.latitude && !t.encoding.longitude ? {} : Object.assign(Object.assign(Object.assign(Object.assign({},
|
|
90381
|
+
return !t.encoding.x && !t.encoding.y && !t.encoding.latitude && !t.encoding.longitude ? {} : Object.assign(Object.assign(Object.assign(Object.assign({}, Oo(t, {
|
|
90382
90382
|
align: "ignore",
|
|
90383
90383
|
baseline: "ignore",
|
|
90384
90384
|
color: "include",
|
|
@@ -90404,7 +90404,7 @@ const zut = {
|
|
|
90404
90404
|
vgMark: "text",
|
|
90405
90405
|
encodeEntry: (t) => {
|
|
90406
90406
|
const { config: e, encoding: n } = t;
|
|
90407
|
-
return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},
|
|
90407
|
+
return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({}, Oo(t, {
|
|
90408
90408
|
align: "include",
|
|
90409
90409
|
baseline: "include",
|
|
90410
90410
|
color: "include",
|
|
@@ -90429,7 +90429,7 @@ const Xut = {
|
|
|
90429
90429
|
vgMark: "rect",
|
|
90430
90430
|
encodeEntry: (t) => {
|
|
90431
90431
|
const { config: e, markDef: n } = t, r = n.orient, i = r === "horizontal" ? "width" : "height", s = r === "horizontal" ? "height" : "width";
|
|
90432
|
-
return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},
|
|
90432
|
+
return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({}, Oo(t, {
|
|
90433
90433
|
align: "ignore",
|
|
90434
90434
|
baseline: "ignore",
|
|
90435
90435
|
color: "include",
|
|
@@ -90520,10 +90520,10 @@ function tat(t) {
|
|
|
90520
90520
|
t.stack.fieldChannel === "x" ? (o = Object.assign(Object.assign({}, Q3(n.encode.update, ["y", "yc", "y2", "height", ...$F])), { x: { signal: s("min", "datum") }, x2: { signal: s("max", "datum") }, clip: { value: !0 } }), u = {
|
|
90521
90521
|
x: { field: { group: "x" }, mult: -1 },
|
|
90522
90522
|
height: { field: { group: "height" } }
|
|
90523
|
-
}, n.encode.update = Object.assign(Object.assign({},
|
|
90523
|
+
}, n.encode.update = Object.assign(Object.assign({}, go(n.encode.update, ["y", "yc", "y2"])), { height: { field: { group: "height" } } })) : (o = Object.assign(Object.assign({}, Q3(n.encode.update, ["x", "xc", "x2", "width"])), { y: { signal: s("min", "datum") }, y2: { signal: s("max", "datum") }, clip: { value: !0 } }), u = {
|
|
90524
90524
|
y: { field: { group: "y" }, mult: -1 },
|
|
90525
90525
|
width: { field: { group: "width" } }
|
|
90526
|
-
}, n.encode.update = Object.assign(Object.assign({},
|
|
90526
|
+
}, n.encode.update = Object.assign(Object.assign({}, go(n.encode.update, ["x", "xc", "x2"])), { width: { field: { group: "width" } } }));
|
|
90527
90527
|
for (const c of $F) {
|
|
90528
90528
|
const f = Kx(c, t.markDef, t.config);
|
|
90529
90529
|
n.encode.update[c] ? (o[c] = n.encode.update[c], delete n.encode.update[c]) : f && (o[c] = tn(f)), f && (n.encode.update[c] = { value: 0 });
|
|
@@ -90781,7 +90781,7 @@ class Fce extends Tce {
|
|
|
90781
90781
|
}
|
|
90782
90782
|
typedFieldDef(e) {
|
|
90783
90783
|
const n = this.fieldDef(e);
|
|
90784
|
-
return
|
|
90784
|
+
return _o(n) ? n : null;
|
|
90785
90785
|
}
|
|
90786
90786
|
}
|
|
90787
90787
|
class _P extends yP {
|
|
@@ -90919,7 +90919,7 @@ function aat(t, e, n = {}, r) {
|
|
|
90919
90919
|
...u0e(f)
|
|
90920
90920
|
])), i ? { config: i } : {}), r ? { usermeta: r } : {});
|
|
90921
90921
|
}
|
|
90922
|
-
var lat = /* @__PURE__ */
|
|
90922
|
+
var lat = /* @__PURE__ */ Fn("<div>");
|
|
90923
90923
|
function cat(t) {
|
|
90924
90924
|
let e, n = null;
|
|
90925
90925
|
return n3(() => {
|
|
@@ -90938,7 +90938,7 @@ function fat(t) {
|
|
|
90938
90938
|
field: e,
|
|
90939
90939
|
data: n
|
|
90940
90940
|
} = t, r = t.metadata.field(e).vegaChartProps, i = structuredClone(r.spec);
|
|
90941
|
-
return i.data[0].values = n,
|
|
90941
|
+
return i.data[0].values = n, gt(cat, {
|
|
90942
90942
|
spec: i,
|
|
90943
90943
|
type: "vega",
|
|
90944
90944
|
get width() {
|
|
@@ -91765,7 +91765,7 @@ function zce(t) {
|
|
|
91765
91765
|
scrollToFn: Rat
|
|
91766
91766
|
}, t));
|
|
91767
91767
|
}
|
|
91768
|
-
var wat = /* @__PURE__ */
|
|
91768
|
+
var wat = /* @__PURE__ */ Fn("<div class=cell-content>"), Lat = /* @__PURE__ */ Fn('<div class="column-cell th">'), Iat = /* @__PURE__ */ Fn('<div class="column-cell td">'), $at = /* @__PURE__ */ Fn("<div style=position:sticky;left:0px;height:0px;visibility:hidden;>"), Bat = /* @__PURE__ */ Fn("<div style=position:sticky;top:0px;left:0px;height:0px;visibility:hidden;>"), kat = /* @__PURE__ */ Fn("<div class=pinned-header-row>"), Pat = /* @__PURE__ */ Fn("<div class=table-row><div class=table-row>"), lD = /* @__PURE__ */ Fn("<div class=table-row>"), Mat = /* @__PURE__ */ Fn('<div class="table-row limit-row table-gutter-left table-gutter-right">Limiting nested table to <!> records'), jat = /* @__PURE__ */ Fn("<div class=malloy-table>"), Uat = /* @__PURE__ */ Fn("<div class=pinned-header-subrow>");
|
|
91769
91769
|
const qat = navigator.userAgent.toLowerCase().indexOf("chrome") >= 0, zat = qat, Hce = (t) => {
|
|
91770
91770
|
const e = () => {
|
|
91771
91771
|
const n = u1().layout, r = n.fieldLayout(t.field).width, i = n.fieldLayout(t.field).height, s = {};
|
|
@@ -91773,7 +91773,7 @@ const qat = navigator.userAgent.toLowerCase().indexOf("chrome") >= 0, zat = qat,
|
|
|
91773
91773
|
};
|
|
91774
91774
|
return (() => {
|
|
91775
91775
|
var n = wat();
|
|
91776
|
-
return
|
|
91776
|
+
return zt(n, () => t.value), Ei((r) => {
|
|
91777
91777
|
var i = !!t.isHeader, s = !!t.hideStartGutter, o = !!t.hideEndGutter, u = !!t.tableGutterLeft, a = !!t.tableGutterRight, l = e(), c = typeof t.value == "string" ? t.value : "";
|
|
91778
91778
|
return i !== r.e && n.classList.toggle("header", r.e = i), s !== r.t && n.classList.toggle("hide-start-gutter", r.t = s), o !== r.a && n.classList.toggle("hide-end-gutter", r.a = o), u !== r.o && n.classList.toggle("table-gutter-left", r.o = u), a !== r.i && n.classList.toggle("table-gutter-right", r.i = a), r.n = $h(n, l, r.n), c !== r.s && zu(n, "title", r.s = c), r;
|
|
91779
91779
|
}, {
|
|
@@ -91792,7 +91792,7 @@ const qat = navigator.userAgent.toLowerCase().indexOf("chrome") >= 0, zat = qat,
|
|
|
91792
91792
|
} = u1(), n = Ep(), r = jm(t.field), i = jm(t.field.parentExplore), s = !t.field.parentExplore.isExploreField(), o = r && (i || s), u = Mm(t.field), a = Mm(t.field.parentExplore), l = u && (a || s), c = e.fieldLayout(t.field), f = t.isPinned ? c.absoluteColumnRange : c.relativeColumnRange, x = c.depth > 0 && jm(t.field) || c.metadata.renderAs === "table", h = c.depth > 0 && Mm(t.field) || c.depth === 0 && c.metadata.renderAs === "table";
|
|
91793
91793
|
return (() => {
|
|
91794
91794
|
var p = Lat();
|
|
91795
|
-
return
|
|
91795
|
+
return zt(p, gt(Hce, {
|
|
91796
91796
|
get field() {
|
|
91797
91797
|
return t.field;
|
|
91798
91798
|
},
|
|
@@ -91840,15 +91840,15 @@ const qat = navigator.userAgent.toLowerCase().indexOf("chrome") >= 0, zat = qat,
|
|
|
91840
91840
|
const u = i.depth > 0 && jm(t.field), a = i.depth > 0 && Mm(t.field);
|
|
91841
91841
|
return (() => {
|
|
91842
91842
|
var l = Iat();
|
|
91843
|
-
return
|
|
91843
|
+
return zt(l, gt(mfe, {
|
|
91844
91844
|
get children() {
|
|
91845
|
-
return [
|
|
91845
|
+
return [gt(RP, {
|
|
91846
91846
|
when: n === "table",
|
|
91847
91847
|
children: e
|
|
91848
|
-
}),
|
|
91848
|
+
}), gt(RP, {
|
|
91849
91849
|
when: !0,
|
|
91850
91850
|
get children() {
|
|
91851
|
-
return
|
|
91851
|
+
return gt(Hce, {
|
|
91852
91852
|
get field() {
|
|
91853
91853
|
return t.field;
|
|
91854
91854
|
},
|
|
@@ -91990,7 +91990,7 @@ const qat = navigator.userAgent.toLowerCase().indexOf("chrome") >= 0, zat = qat,
|
|
|
91990
91990
|
var G = jat();
|
|
91991
91991
|
return G.addEventListener("scroll", I), $u((P) => {
|
|
91992
91992
|
e.scrollEl || (v = P);
|
|
91993
|
-
}, G),
|
|
91993
|
+
}, G), zt(G, gt(Eh, {
|
|
91994
91994
|
get when() {
|
|
91995
91995
|
return n.root;
|
|
91996
91996
|
},
|
|
@@ -92003,15 +92003,15 @@ const qat = navigator.userAgent.toLowerCase().indexOf("chrome") >= 0, zat = qat,
|
|
|
92003
92003
|
return typeof W == "function" ? $u(W, P) : h = P, P;
|
|
92004
92004
|
})(), (() => {
|
|
92005
92005
|
var P = kat(), W = R;
|
|
92006
|
-
return typeof W == "function" ? $u(W, P) : R = P,
|
|
92006
|
+
return typeof W == "function" ? $u(W, P) : R = P, zt(P, gt(Zs, {
|
|
92007
92007
|
get each() {
|
|
92008
92008
|
return f();
|
|
92009
92009
|
},
|
|
92010
92010
|
children: (oe, ne) => (() => {
|
|
92011
92011
|
var X = Uat();
|
|
92012
|
-
return $u((ae) => A[ne()] = ae, X),
|
|
92012
|
+
return $u((ae) => A[ne()] = ae, X), zt(X, gt(Zs, {
|
|
92013
92013
|
each: oe,
|
|
92014
|
-
children: (ae) =>
|
|
92014
|
+
children: (ae) => gt(_W, {
|
|
92015
92015
|
get field() {
|
|
92016
92016
|
return ae.field;
|
|
92017
92017
|
},
|
|
@@ -92022,28 +92022,28 @@ const qat = navigator.userAgent.toLowerCase().indexOf("chrome") >= 0, zat = qat,
|
|
|
92022
92022
|
})), Ei((oe) => $h(P, Q(), oe)), P;
|
|
92023
92023
|
})()];
|
|
92024
92024
|
}
|
|
92025
|
-
}), null),
|
|
92025
|
+
}), null), zt(G, gt(Eh, {
|
|
92026
92026
|
get when() {
|
|
92027
92027
|
return n.root;
|
|
92028
92028
|
},
|
|
92029
92029
|
get children() {
|
|
92030
92030
|
var P = Pat(), W = P.firstChild;
|
|
92031
|
-
return W.style.setProperty("height", "fit-content"), W.style.setProperty("width", "100%"),
|
|
92031
|
+
return W.style.setProperty("height", "fit-content"), W.style.setProperty("width", "100%"), zt(W, gt(Zs, {
|
|
92032
92032
|
each: C,
|
|
92033
92033
|
children: (oe) => (() => {
|
|
92034
92034
|
var ne = lD();
|
|
92035
92035
|
return $u((X) => queueMicrotask(() => {
|
|
92036
92036
|
S.measureElement(X), oe.index === 0 && b(X.clientHeight);
|
|
92037
|
-
}), ne),
|
|
92037
|
+
}), ne), zt(ne, gt(Eh, {
|
|
92038
92038
|
get when() {
|
|
92039
92039
|
return oe.index >= 0;
|
|
92040
92040
|
},
|
|
92041
92041
|
get children() {
|
|
92042
|
-
return
|
|
92042
|
+
return gt(Zs, {
|
|
92043
92043
|
get each() {
|
|
92044
92044
|
return c();
|
|
92045
92045
|
},
|
|
92046
|
-
children: (X) =>
|
|
92046
|
+
children: (X) => gt(bW, {
|
|
92047
92047
|
field: X,
|
|
92048
92048
|
get row() {
|
|
92049
92049
|
return l()[oe.index];
|
|
@@ -92066,44 +92066,44 @@ const qat = navigator.userAgent.toLowerCase().indexOf("chrome") >= 0, zat = qat,
|
|
|
92066
92066
|
t: void 0
|
|
92067
92067
|
}), P;
|
|
92068
92068
|
}
|
|
92069
|
-
}), null),
|
|
92069
|
+
}), null), zt(G, gt(Eh, {
|
|
92070
92070
|
get when() {
|
|
92071
92071
|
return !n.root;
|
|
92072
92072
|
},
|
|
92073
92073
|
get children() {
|
|
92074
92074
|
return [(() => {
|
|
92075
92075
|
var P = lD();
|
|
92076
|
-
return
|
|
92076
|
+
return zt(P, gt(Zs, {
|
|
92077
92077
|
get each() {
|
|
92078
92078
|
return c();
|
|
92079
92079
|
},
|
|
92080
|
-
children: (W) =>
|
|
92080
|
+
children: (W) => gt(_W, {
|
|
92081
92081
|
field: W
|
|
92082
92082
|
})
|
|
92083
92083
|
})), P;
|
|
92084
|
-
})(),
|
|
92084
|
+
})(), gt(Zs, {
|
|
92085
92085
|
get each() {
|
|
92086
92086
|
return l();
|
|
92087
92087
|
},
|
|
92088
92088
|
children: (P) => (() => {
|
|
92089
92089
|
var W = lD();
|
|
92090
|
-
return
|
|
92090
|
+
return zt(W, gt(Zs, {
|
|
92091
92091
|
get each() {
|
|
92092
92092
|
return c();
|
|
92093
92093
|
},
|
|
92094
|
-
children: (oe) =>
|
|
92094
|
+
children: (oe) => gt(bW, {
|
|
92095
92095
|
field: oe,
|
|
92096
92096
|
row: P
|
|
92097
92097
|
})
|
|
92098
92098
|
})), W;
|
|
92099
92099
|
})()
|
|
92100
|
-
}),
|
|
92100
|
+
}), gt(Eh, {
|
|
92101
92101
|
get when() {
|
|
92102
92102
|
return u();
|
|
92103
92103
|
},
|
|
92104
92104
|
get children() {
|
|
92105
92105
|
var P = Mat(), W = P.firstChild, oe = W.nextSibling;
|
|
92106
|
-
return oe.nextSibling,
|
|
92106
|
+
return oe.nextSibling, zt(P, () => e.rowLimit, oe), P;
|
|
92107
92107
|
}
|
|
92108
92108
|
})];
|
|
92109
92109
|
}
|
|
@@ -92133,16 +92133,16 @@ const qat = navigator.userAgent.toLowerCase().indexOf("chrome") >= 0, zat = qat,
|
|
|
92133
92133
|
headerSizeStore: CP({})
|
|
92134
92134
|
};
|
|
92135
92135
|
});
|
|
92136
|
-
return
|
|
92136
|
+
return gt(Uce.Provider, {
|
|
92137
92137
|
get value() {
|
|
92138
92138
|
return r();
|
|
92139
92139
|
},
|
|
92140
92140
|
get children() {
|
|
92141
|
-
return
|
|
92141
|
+
return gt(Hat, t);
|
|
92142
92142
|
}
|
|
92143
92143
|
});
|
|
92144
92144
|
};
|
|
92145
|
-
var Gat = /* @__PURE__ */
|
|
92145
|
+
var Gat = /* @__PURE__ */ Fn('<div class=malloy-list style="text-wrap:wrap;line-height:calc(var(--malloy-render--table-row-height) * 5 / 7 - 1px);">'), Wat = /* @__PURE__ */ Fn("<span>");
|
|
92146
92146
|
function Vat(t) {
|
|
92147
92147
|
if (t.dataColumn.isNull())
|
|
92148
92148
|
return "∅";
|
|
@@ -92168,26 +92168,26 @@ function Vat(t) {
|
|
|
92168
92168
|
o.push(u);
|
|
92169
92169
|
return (() => {
|
|
92170
92170
|
var u = Gat();
|
|
92171
|
-
return
|
|
92171
|
+
return zt(u, gt(Zs, {
|
|
92172
92172
|
each: o,
|
|
92173
92173
|
children: (a, l) => (() => {
|
|
92174
92174
|
var c = Wat();
|
|
92175
|
-
return
|
|
92175
|
+
return zt(c, () => a1({
|
|
92176
92176
|
field: r,
|
|
92177
92177
|
dataColumn: a.cell(r),
|
|
92178
92178
|
resultMetadata: t.resultMetadata,
|
|
92179
92179
|
tag: r.tagParse().tag
|
|
92180
|
-
}).renderValue, null),
|
|
92180
|
+
}).renderValue, null), zt(c, () => i && s && "(" + a1({
|
|
92181
92181
|
field: s,
|
|
92182
92182
|
dataColumn: a.cell(s),
|
|
92183
92183
|
resultMetadata: t.resultMetadata,
|
|
92184
92184
|
tag: s.tagParse().tag
|
|
92185
|
-
}).renderValue + ")", null),
|
|
92185
|
+
}).renderValue + ")", null), zt(c, () => l() < o.length - 1 && ", ", null), c;
|
|
92186
92186
|
})()
|
|
92187
92187
|
})), u;
|
|
92188
92188
|
})();
|
|
92189
92189
|
}
|
|
92190
|
-
var Yat = /* @__PURE__ */
|
|
92190
|
+
var Yat = /* @__PURE__ */ Fn("<img>");
|
|
92191
92191
|
function Kat(t) {
|
|
92192
92192
|
const e = t.tag.tag("image");
|
|
92193
92193
|
if (!e)
|
|
@@ -92210,11 +92210,11 @@ function Kat(t) {
|
|
|
92210
92210
|
return $h(a, i), zu(a, "src", u), zu(a, "alt", s), a;
|
|
92211
92211
|
})();
|
|
92212
92212
|
}
|
|
92213
|
-
var Xat = /* @__PURE__ */
|
|
92214
|
-
function
|
|
92213
|
+
var Xat = /* @__PURE__ */ Fn("<div class=dashboard-item><div class=dashboard-item-title></div><div class=dashboard-item-value>"), Jat = /* @__PURE__ */ Fn("<div class=malloy-dashboard><div><div>"), Zat = /* @__PURE__ */ Fn("<div class=dashboard-row><div class=dashboard-row-header><div class=dashboard-row-header-dimension-list></div><div class=dashboard-row-header-separator>"), elt = /* @__PURE__ */ Fn("<div class=dashboard-dimension-wrapper><div class=dashboard-dimension-name></div><div class=dashboard-dimension-value>"), tlt = /* @__PURE__ */ Fn("<div class=dashboard-row-body>");
|
|
92214
|
+
function nlt(t) {
|
|
92215
92215
|
return (() => {
|
|
92216
92216
|
var e = Xat(), n = e.firstChild, r = n.nextSibling;
|
|
92217
|
-
return
|
|
92217
|
+
return zt(n, () => t.field.name), zt(r, () => a1({
|
|
92218
92218
|
field: t.field,
|
|
92219
92219
|
dataColumn: t.row.cell(t.field),
|
|
92220
92220
|
tag: t.field.tagParse().tag,
|
|
@@ -92222,70 +92222,85 @@ function tlt(t) {
|
|
|
92222
92222
|
}).renderValue), Ei(() => r.classList.toggle("dashboard-item-value-measure", !!t.isMeasure)), e;
|
|
92223
92223
|
})();
|
|
92224
92224
|
}
|
|
92225
|
-
function
|
|
92226
|
-
const e = () => t.data.field, n = () => e().allFields.filter((
|
|
92227
|
-
const
|
|
92228
|
-
for (const
|
|
92229
|
-
|
|
92230
|
-
return [...
|
|
92231
|
-
}, i =
|
|
92232
|
-
const
|
|
92233
|
-
for (const
|
|
92234
|
-
|
|
92235
|
-
|
|
92225
|
+
function rlt(t) {
|
|
92226
|
+
const e = () => t.data.field, n = () => e().allFields.filter((c) => !c.tagParse().tag.has("hidden") && c.isAtomicField() && c.sourceWasDimension()), r = () => {
|
|
92227
|
+
const c = [], f = [];
|
|
92228
|
+
for (const x of e().allFields)
|
|
92229
|
+
x.tagParse().tag.has("hidden") || (x.isAtomicField() && x.sourceWasMeasureLike() ? c.push(x) : (!x.isAtomicField() || !x.sourceWasDimension()) && f.push(x));
|
|
92230
|
+
return [...c, ...f];
|
|
92231
|
+
}, i = () => {
|
|
92232
|
+
const c = [[]];
|
|
92233
|
+
for (const f of r()) {
|
|
92234
|
+
const {
|
|
92235
|
+
tag: x
|
|
92236
|
+
} = f.tagParse();
|
|
92237
|
+
x.has("break") && c.push([]), c.at(-1).push(f);
|
|
92238
|
+
}
|
|
92239
|
+
return c;
|
|
92240
|
+
}, s = Yr(() => {
|
|
92241
|
+
const c = [];
|
|
92242
|
+
for (const f of t.data)
|
|
92243
|
+
c.push(f);
|
|
92244
|
+
return c;
|
|
92236
92245
|
});
|
|
92237
|
-
let
|
|
92238
|
-
t.scrollEl && (
|
|
92239
|
-
const
|
|
92240
|
-
count:
|
|
92241
|
-
getScrollElement: () =>
|
|
92246
|
+
let o;
|
|
92247
|
+
t.scrollEl && (o = t.scrollEl);
|
|
92248
|
+
const u = zce({
|
|
92249
|
+
count: s().length,
|
|
92250
|
+
getScrollElement: () => o,
|
|
92242
92251
|
estimateSize: () => 192
|
|
92243
|
-
}),
|
|
92252
|
+
}), a = u.getVirtualItems(), l = Ep();
|
|
92244
92253
|
return (() => {
|
|
92245
|
-
var
|
|
92246
|
-
return $u((
|
|
92247
|
-
t.scrollEl || (
|
|
92248
|
-
},
|
|
92249
|
-
each:
|
|
92250
|
-
children: (
|
|
92251
|
-
var
|
|
92252
|
-
return $u((y) => queueMicrotask(() =>
|
|
92254
|
+
var c = Jat(), f = c.firstChild, x = f.firstChild;
|
|
92255
|
+
return $u((h) => {
|
|
92256
|
+
t.scrollEl || (o = h);
|
|
92257
|
+
}, c), f.style.setProperty("width", "100%"), f.style.setProperty("position", "relative"), x.style.setProperty("height", "fit-content"), x.style.setProperty("width", "100%"), zt(x, gt(Zs, {
|
|
92258
|
+
each: a,
|
|
92259
|
+
children: (h) => (() => {
|
|
92260
|
+
var p = Zat(), m = p.firstChild, g = m.firstChild;
|
|
92261
|
+
return $u((y) => queueMicrotask(() => u.measureElement(y)), p), zt(g, gt(Zs, {
|
|
92253
92262
|
get each() {
|
|
92254
92263
|
return n();
|
|
92255
92264
|
},
|
|
92256
92265
|
children: (y) => (() => {
|
|
92257
92266
|
var E = elt(), A = E.firstChild, v = A.nextSibling;
|
|
92258
|
-
return
|
|
92267
|
+
return zt(A, () => y.name), zt(v, () => a1({
|
|
92259
92268
|
field: y,
|
|
92260
|
-
dataColumn:
|
|
92269
|
+
dataColumn: s()[h.index].cell(y),
|
|
92261
92270
|
tag: y.tagParse().tag,
|
|
92262
|
-
resultMetadata:
|
|
92271
|
+
resultMetadata: l
|
|
92263
92272
|
}).renderValue), E;
|
|
92264
92273
|
})()
|
|
92265
|
-
})),
|
|
92274
|
+
})), zt(p, gt(Zs, {
|
|
92266
92275
|
get each() {
|
|
92267
|
-
return
|
|
92276
|
+
return i();
|
|
92268
92277
|
},
|
|
92269
|
-
children: (y) =>
|
|
92270
|
-
|
|
92271
|
-
|
|
92272
|
-
|
|
92273
|
-
|
|
92274
|
-
|
|
92275
|
-
|
|
92276
|
-
|
|
92277
|
-
|
|
92278
|
-
|
|
92279
|
-
|
|
92278
|
+
children: (y) => (() => {
|
|
92279
|
+
var E = tlt();
|
|
92280
|
+
return zt(E, gt(Zs, {
|
|
92281
|
+
each: y,
|
|
92282
|
+
children: (A) => gt(nlt, {
|
|
92283
|
+
field: A,
|
|
92284
|
+
get row() {
|
|
92285
|
+
return s()[h.index];
|
|
92286
|
+
},
|
|
92287
|
+
resultMetadata: l,
|
|
92288
|
+
get isMeasure() {
|
|
92289
|
+
return Yr(() => !!A.isAtomicField())() && A.sourceWasMeasureLike();
|
|
92290
|
+
}
|
|
92291
|
+
})
|
|
92292
|
+
})), E;
|
|
92293
|
+
})()
|
|
92294
|
+
}), null), Ei(() => zu(p, "data-index", h.index)), p;
|
|
92280
92295
|
})()
|
|
92281
|
-
})), Ei((
|
|
92282
|
-
var
|
|
92283
|
-
var
|
|
92284
|
-
return
|
|
92296
|
+
})), Ei((h) => {
|
|
92297
|
+
var g;
|
|
92298
|
+
var p = u.getTotalSize() + "px", m = `${((g = a[0]) == null ? void 0 : g.start) ?? 0}px`;
|
|
92299
|
+
return p !== h.e && ((h.e = p) != null ? f.style.setProperty("height", p) : f.style.removeProperty("height")), m !== h.t && ((h.t = m) != null ? x.style.setProperty("padding-top", m) : x.style.removeProperty("padding-top")), h;
|
|
92285
92300
|
}, {
|
|
92286
92301
|
e: void 0,
|
|
92287
92302
|
t: void 0
|
|
92288
|
-
}),
|
|
92303
|
+
}), c;
|
|
92289
92304
|
})();
|
|
92290
92305
|
}
|
|
92291
92306
|
class tR {
|
|
@@ -92488,7 +92503,7 @@ const N_ = {
|
|
|
92488
92503
|
function CW(t) {
|
|
92489
92504
|
return Array.isArray(t) || t !== null && typeof t == "object";
|
|
92490
92505
|
}
|
|
92491
|
-
class
|
|
92506
|
+
class ilt extends tR {
|
|
92492
92507
|
constructor(e, n, r, i, s) {
|
|
92493
92508
|
super(e, n, r);
|
|
92494
92509
|
const o = s.spec;
|
|
@@ -92565,7 +92580,7 @@ class rlt extends tR {
|
|
|
92565
92580
|
}
|
|
92566
92581
|
const w_ = class w_ extends kd {
|
|
92567
92582
|
create(e, n, r, i, s) {
|
|
92568
|
-
return new
|
|
92583
|
+
return new ilt(
|
|
92569
92584
|
e,
|
|
92570
92585
|
n,
|
|
92571
92586
|
r,
|
|
@@ -92650,7 +92665,7 @@ class Qce extends tR {
|
|
|
92650
92665
|
};
|
|
92651
92666
|
}
|
|
92652
92667
|
}
|
|
92653
|
-
class
|
|
92668
|
+
class slt extends Qce {
|
|
92654
92669
|
getMark() {
|
|
92655
92670
|
return "line";
|
|
92656
92671
|
}
|
|
@@ -92675,7 +92690,7 @@ class ilt extends Qce {
|
|
|
92675
92690
|
}
|
|
92676
92691
|
const L_ = class L_ extends kd {
|
|
92677
92692
|
create(e, n, r, i, s, o) {
|
|
92678
|
-
return new
|
|
92693
|
+
return new slt(
|
|
92679
92694
|
e,
|
|
92680
92695
|
n,
|
|
92681
92696
|
r,
|
|
@@ -92689,7 +92704,7 @@ const L_ = class L_ extends kd {
|
|
|
92689
92704
|
};
|
|
92690
92705
|
L_.instance = new L_();
|
|
92691
92706
|
let aw = L_;
|
|
92692
|
-
class
|
|
92707
|
+
class olt extends Qce {
|
|
92693
92708
|
getMark() {
|
|
92694
92709
|
return "point";
|
|
92695
92710
|
}
|
|
@@ -92714,7 +92729,7 @@ class slt extends Qce {
|
|
|
92714
92729
|
}
|
|
92715
92730
|
const I_ = class I_ extends kd {
|
|
92716
92731
|
create(e, n, r, i, s, o) {
|
|
92717
|
-
return new
|
|
92732
|
+
return new olt(
|
|
92718
92733
|
e,
|
|
92719
92734
|
n,
|
|
92720
92735
|
r,
|
|
@@ -92728,12 +92743,12 @@ const I_ = class I_ extends kd {
|
|
|
92728
92743
|
};
|
|
92729
92744
|
I_.instance = new I_();
|
|
92730
92745
|
let lw = I_;
|
|
92731
|
-
const
|
|
92746
|
+
const ult = "Topology", alt = [
|
|
92732
92747
|
-179.14733999999999,
|
|
92733
92748
|
-14.552548999999999,
|
|
92734
92749
|
179.77847,
|
|
92735
92750
|
71.352561
|
|
92736
|
-
],
|
|
92751
|
+
], llt = {
|
|
92737
92752
|
scale: [
|
|
92738
92753
|
0.003589293992939929,
|
|
92739
92754
|
8590596905969058e-19
|
|
@@ -92742,7 +92757,7 @@ const olt = "Topology", ult = [
|
|
|
92742
92757
|
-179.14733999999999,
|
|
92743
92758
|
-14.552548999999999
|
|
92744
92759
|
]
|
|
92745
|
-
},
|
|
92760
|
+
}, clt = {
|
|
92746
92761
|
states: {
|
|
92747
92762
|
type: "GeometryCollection",
|
|
92748
92763
|
geometries: [
|
|
@@ -96260,7 +96275,7 @@ const olt = "Topology", ult = [
|
|
|
96260
96275
|
}
|
|
96261
96276
|
]
|
|
96262
96277
|
}
|
|
96263
|
-
},
|
|
96278
|
+
}, flt = [
|
|
96264
96279
|
[
|
|
96265
96280
|
[
|
|
96266
96281
|
25302,
|
|
@@ -144224,12 +144239,12 @@ const olt = "Topology", ult = [
|
|
|
144224
144239
|
]
|
|
144225
144240
|
]
|
|
144226
144241
|
], cw = {
|
|
144227
|
-
type:
|
|
144228
|
-
bbox:
|
|
144229
|
-
transform:
|
|
144230
|
-
objects:
|
|
144231
|
-
arcs:
|
|
144232
|
-
},
|
|
144242
|
+
type: ult,
|
|
144243
|
+
bbox: alt,
|
|
144244
|
+
transform: llt,
|
|
144245
|
+
objects: clt,
|
|
144246
|
+
arcs: flt
|
|
144247
|
+
}, xlt = {
|
|
144233
144248
|
AL: "01",
|
|
144234
144249
|
Alabama: "01",
|
|
144235
144250
|
AK: "02",
|
|
@@ -144339,7 +144354,7 @@ const olt = "Topology", ult = [
|
|
|
144339
144354
|
MP: "69",
|
|
144340
144355
|
GU: "66"
|
|
144341
144356
|
};
|
|
144342
|
-
class
|
|
144357
|
+
class dlt extends tR {
|
|
144343
144358
|
getRegionField(e) {
|
|
144344
144359
|
return e.allFields[0];
|
|
144345
144360
|
}
|
|
@@ -144351,7 +144366,7 @@ class xlt extends tR {
|
|
|
144351
144366
|
return e.value;
|
|
144352
144367
|
if (e.isString())
|
|
144353
144368
|
if (e.field === this.getRegionField(e.field.parentExplore)) {
|
|
144354
|
-
const n =
|
|
144369
|
+
const n = xlt[e.value];
|
|
144355
144370
|
return n === void 0 ? void 0 : n;
|
|
144356
144371
|
} else
|
|
144357
144372
|
return e.value;
|
|
@@ -144472,7 +144487,7 @@ class xlt extends tR {
|
|
|
144472
144487
|
}
|
|
144473
144488
|
const $_ = class $_ extends kd {
|
|
144474
144489
|
create(e, n, r, i, s, o) {
|
|
144475
|
-
return new
|
|
144490
|
+
return new dlt(
|
|
144476
144491
|
e,
|
|
144477
144492
|
n,
|
|
144478
144493
|
r,
|
|
@@ -144486,7 +144501,7 @@ const $_ = class $_ extends kd {
|
|
|
144486
144501
|
};
|
|
144487
144502
|
$_.instance = new $_();
|
|
144488
144503
|
let fw = $_;
|
|
144489
|
-
class
|
|
144504
|
+
class hlt extends tR {
|
|
144490
144505
|
getDataValue(e) {
|
|
144491
144506
|
if (e.isNull() || e.isNumber() || e.isString())
|
|
144492
144507
|
return e.value;
|
|
@@ -144586,7 +144601,7 @@ class dlt extends tR {
|
|
|
144586
144601
|
}
|
|
144587
144602
|
const B_ = class B_ extends kd {
|
|
144588
144603
|
create(e, n, r, i, s, o) {
|
|
144589
|
-
return new
|
|
144604
|
+
return new hlt(
|
|
144590
144605
|
e,
|
|
144591
144606
|
n,
|
|
144592
144607
|
r,
|
|
@@ -144600,12 +144615,12 @@ const B_ = class B_ extends kd {
|
|
|
144600
144615
|
};
|
|
144601
144616
|
B_.instance = new B_();
|
|
144602
144617
|
let xw = B_;
|
|
144603
|
-
var
|
|
144604
|
-
const
|
|
144605
|
-
function
|
|
144618
|
+
var plt = /* @__PURE__ */ Fn("<div>");
|
|
144619
|
+
const glt = [aw.instance, lw.instance, fw.instance, xw.instance];
|
|
144620
|
+
function mlt(t) {
|
|
144606
144621
|
const e = Ep(), n = () => {
|
|
144607
144622
|
var i;
|
|
144608
|
-
return (i =
|
|
144623
|
+
return (i = glt.find((s) => s.rendererName === t.type)) == null ? void 0 : i.create(document, {
|
|
144609
144624
|
// If rendering chart at root, make large. Otherwise medium because its nested
|
|
144610
144625
|
size: Vu(e.rootField) === Vu(t.data.field) ? "large" : "medium"
|
|
144611
144626
|
}, {
|
|
@@ -144619,7 +144634,7 @@ function glt(t) {
|
|
|
144619
144634
|
r.replaceChildren(i);
|
|
144620
144635
|
}
|
|
144621
144636
|
}), (() => {
|
|
144622
|
-
var i =
|
|
144637
|
+
var i = plt(), s = r;
|
|
144623
144638
|
return typeof s == "function" ? $u(s, i) : r = i, i;
|
|
144624
144639
|
})();
|
|
144625
144640
|
}
|
|
@@ -144630,7 +144645,7 @@ function OW(t) {
|
|
|
144630
144645
|
const e = t.getUTCFullYear(), n = t3(t.getUTCMonth() + 1), r = t3(t.getUTCDate());
|
|
144631
144646
|
return `${e}-${n}-${r}`;
|
|
144632
144647
|
}
|
|
144633
|
-
function
|
|
144648
|
+
function ylt({ field: t, dataColumn: e }) {
|
|
144634
144649
|
if (!t.isAtomicField())
|
|
144635
144650
|
throw new Error(
|
|
144636
144651
|
`Time renderer error: field ${t.name} is not an atomic field`
|
|
@@ -144653,7 +144668,7 @@ function rR(t, e) {
|
|
|
144653
144668
|
const n = e ?? t.tagParse().tag;
|
|
144654
144669
|
return !t.isExplore() && t.isAtomicField() ? n.has("link") ? "link" : n.has("image") ? "image" : "cell" : FF(n, "list", "list_detail") ? "list" : FF(n, "bar_chart") ? "chart" : n.has("dashboard") ? "dashboard" : n.has("line_chart") ? "line_chart" : n.has("scatter_chart") ? "scatter_chart" : n.has("shape_map") ? "shape_map" : n.has("segment_map") ? "segment_map" : "table";
|
|
144655
144670
|
}
|
|
144656
|
-
const
|
|
144671
|
+
const Elt = "∅";
|
|
144657
144672
|
function a1(t) {
|
|
144658
144673
|
const {
|
|
144659
144674
|
field: e,
|
|
@@ -144665,12 +144680,12 @@ function a1(t) {
|
|
|
144665
144680
|
let u = "";
|
|
144666
144681
|
const a = s[o] || {};
|
|
144667
144682
|
if (n.isNull())
|
|
144668
|
-
u =
|
|
144683
|
+
u = Elt;
|
|
144669
144684
|
else
|
|
144670
144685
|
switch (o) {
|
|
144671
144686
|
case "cell": {
|
|
144672
144687
|
const l = n.value;
|
|
144673
|
-
xee(e, l) ? u = uZe(e, l) : dee(e, l) ? u = l : e.isAtomicField() && (e.isDate() || e.isTimestamp()) ? u =
|
|
144688
|
+
xee(e, l) ? u = uZe(e, l) : dee(e, l) ? u = l : e.isAtomicField() && (e.isDate() || e.isTimestamp()) ? u = ylt(t) : u = String(l);
|
|
144674
144689
|
break;
|
|
144675
144690
|
}
|
|
144676
144691
|
case "link": {
|
|
@@ -144686,7 +144701,7 @@ function a1(t) {
|
|
|
144686
144701
|
break;
|
|
144687
144702
|
}
|
|
144688
144703
|
case "chart": {
|
|
144689
|
-
u =
|
|
144704
|
+
u = gt(fat, rx({
|
|
144690
144705
|
field: e,
|
|
144691
144706
|
get data() {
|
|
144692
144707
|
return r.getData(n);
|
|
@@ -144697,7 +144712,7 @@ function a1(t) {
|
|
|
144697
144712
|
}
|
|
144698
144713
|
case "dashboard": {
|
|
144699
144714
|
if (n.isArray())
|
|
144700
|
-
u =
|
|
144715
|
+
u = gt(rlt, rx({
|
|
144701
144716
|
data: n
|
|
144702
144717
|
}, a));
|
|
144703
144718
|
else
|
|
@@ -144709,7 +144724,7 @@ function a1(t) {
|
|
|
144709
144724
|
case "shape_map":
|
|
144710
144725
|
case "segment_map": {
|
|
144711
144726
|
if (n.isArray())
|
|
144712
|
-
u =
|
|
144727
|
+
u = gt(mlt, {
|
|
144713
144728
|
type: o,
|
|
144714
144729
|
data: n
|
|
144715
144730
|
});
|
|
@@ -144719,7 +144734,7 @@ function a1(t) {
|
|
|
144719
144734
|
}
|
|
144720
144735
|
case "table": {
|
|
144721
144736
|
if (n.isArrayOrRecord())
|
|
144722
|
-
u =
|
|
144737
|
+
u = gt(Qat, rx({
|
|
144723
144738
|
data: n
|
|
144724
144739
|
}, a));
|
|
144725
144740
|
else
|
|
@@ -144738,7 +144753,7 @@ function a1(t) {
|
|
|
144738
144753
|
renderValue: u
|
|
144739
144754
|
};
|
|
144740
144755
|
}
|
|
144741
|
-
function
|
|
144756
|
+
function Alt() {
|
|
144742
144757
|
const t = /* @__PURE__ */ new WeakMap();
|
|
144743
144758
|
return {
|
|
144744
144759
|
get: (e) => {
|
|
@@ -144752,13 +144767,13 @@ function Elt() {
|
|
|
144752
144767
|
}
|
|
144753
144768
|
};
|
|
144754
144769
|
}
|
|
144755
|
-
function
|
|
144770
|
+
function vlt(t) {
|
|
144756
144771
|
const e = /* @__PURE__ */ new WeakMap(), n = (u) => {
|
|
144757
144772
|
if (e.has(u))
|
|
144758
144773
|
return e.get(u);
|
|
144759
144774
|
const a = Vu(u);
|
|
144760
144775
|
return e.set(u, a), a;
|
|
144761
|
-
}, r =
|
|
144776
|
+
}, r = Alt(), i = t.data.field, s = {
|
|
144762
144777
|
fields: {},
|
|
144763
144778
|
fieldKeyMap: e,
|
|
144764
144779
|
getFieldKey: n,
|
|
@@ -144832,16 +144847,16 @@ function RW(t, e, n) {
|
|
|
144832
144847
|
});
|
|
144833
144848
|
}
|
|
144834
144849
|
}
|
|
144835
|
-
function
|
|
144850
|
+
function Slt(t, {
|
|
144836
144851
|
element: e
|
|
144837
144852
|
}) {
|
|
144838
144853
|
const n = Yr(() => t.result ? t.result : t.queryResult && t.modelDef ? new zW.Result(t.queryResult, t.modelDef) : null);
|
|
144839
|
-
return
|
|
144854
|
+
return gt(Eh, {
|
|
144840
144855
|
get when() {
|
|
144841
144856
|
return n();
|
|
144842
144857
|
},
|
|
144843
144858
|
get children() {
|
|
144844
|
-
return
|
|
144859
|
+
return gt(_lt, {
|
|
144845
144860
|
get result() {
|
|
144846
144861
|
return n();
|
|
144847
144862
|
},
|
|
@@ -144853,8 +144868,8 @@ function vlt(t, {
|
|
|
144853
144868
|
}
|
|
144854
144869
|
});
|
|
144855
144870
|
}
|
|
144856
|
-
function
|
|
144857
|
-
const e = Yr(() =>
|
|
144871
|
+
function _lt(t) {
|
|
144872
|
+
const e = Yr(() => vlt(t.result)), n = () => {
|
|
144858
144873
|
const i = e().modelTag, s = e().resultTag, o = i.tag("theme"), u = s.tag("theme");
|
|
144859
144874
|
return {
|
|
144860
144875
|
modelTag: i,
|
|
@@ -144865,7 +144880,7 @@ function Slt(t) {
|
|
|
144865
144880
|
};
|
|
144866
144881
|
n3(() => {
|
|
144867
144882
|
if (t.element) {
|
|
144868
|
-
const i =
|
|
144883
|
+
const i = blt(n().modelTheme, n().localTheme);
|
|
144869
144884
|
for (const [s, o] of Object.entries(i))
|
|
144870
144885
|
t.element.style.setProperty(s, o);
|
|
144871
144886
|
}
|
|
@@ -144885,7 +144900,7 @@ function Slt(t) {
|
|
|
144885
144900
|
}
|
|
144886
144901
|
}
|
|
144887
144902
|
});
|
|
144888
|
-
return
|
|
144903
|
+
return gt($ce.Provider, {
|
|
144889
144904
|
get value() {
|
|
144890
144905
|
return e();
|
|
144891
144906
|
},
|
|
@@ -144901,11 +144916,11 @@ function Ys(t, ...e) {
|
|
|
144901
144916
|
break;
|
|
144902
144917
|
return n ?? `var(--malloy-theme--${t.replace(/([a-z])([A-Z])/g, "$1-$2").toLowerCase()})`;
|
|
144903
144918
|
}
|
|
144904
|
-
function
|
|
144919
|
+
function blt(t, e) {
|
|
144905
144920
|
const n = {}, r = Ys("tableRowHeight", e, t), i = Ys("tableBodyColor", e, t), s = Ys("tableFontSize", e, t), o = Ys("tableHeaderColor", e, t), u = Ys("tableHeaderWeight", e, t), a = Ys("tableBodyWeight", e, t), l = Ys("tableBorder", e, t), c = Ys("tableBackground", e, t), f = Ys("tableGutterSize", e, t), x = Ys("tablePinnedBackground", e, t), h = Ys("tablePinnedBorder", e, t), p = Ys("fontFamily", e, t);
|
|
144906
144921
|
return n["--malloy-render--table-row-height"] = r, n["--malloy-render--table-body-color"] = i, n["--malloy-render--table-font-size"] = s, n["--malloy-render--font-family"] = p, n["--malloy-render--table-header-color"] = o, n["--malloy-render--table-header-weight"] = u, n["--malloy-render--table-body-weight"] = a, n["--malloy-render--table-border"] = l, n["--malloy-render--table-background"] = c, n["--malloy-render--table-gutter-size"] = f, n["--malloy-render--table-pinned-background"] = x, n["--malloy-render--table-pinned-border"] = h, n;
|
|
144907
144922
|
}
|
|
144908
|
-
const
|
|
144923
|
+
const Clt = `:host {
|
|
144909
144924
|
--malloy-theme--table-row-height: 28px;
|
|
144910
144925
|
--malloy-theme--table-font-size: 12px;
|
|
144911
144926
|
--malloy-theme--table-header-color: #5d626b;
|
|
@@ -144935,7 +144950,7 @@ const blt = `:host {
|
|
|
144935
144950
|
'calt' 1;
|
|
144936
144951
|
}
|
|
144937
144952
|
}
|
|
144938
|
-
`,
|
|
144953
|
+
`, Tlt = `.malloy-table * {
|
|
144939
144954
|
box-sizing: border-box;
|
|
144940
144955
|
}
|
|
144941
144956
|
|
|
@@ -145141,7 +145156,7 @@ const blt = `:host {
|
|
|
145141
145156
|
.malloy-table .malloy-list {
|
|
145142
145157
|
line-height: calc(var(--malloy-render--table-row-height) * 5 / 7 - 1px);
|
|
145143
145158
|
}
|
|
145144
|
-
`,
|
|
145159
|
+
`, Olt = `.malloy-dashboard {
|
|
145145
145160
|
background: #f7f9fc;
|
|
145146
145161
|
width: 100%;
|
|
145147
145162
|
height: 100%;
|
|
@@ -145232,14 +145247,14 @@ const blt = `:host {
|
|
|
145232
145247
|
text-align: left;
|
|
145233
145248
|
}
|
|
145234
145249
|
}
|
|
145235
|
-
`,
|
|
145250
|
+
`, Rlt = (t) => (e, n) => {
|
|
145236
145251
|
const { element: r } = n, i = new CSSStyleSheet();
|
|
145237
|
-
i.replaceSync(
|
|
145252
|
+
i.replaceSync(Clt);
|
|
145238
145253
|
const s = new CSSStyleSheet();
|
|
145239
|
-
return s.replaceSync([
|
|
145254
|
+
return s.replaceSync([Tlt, Olt].join(`
|
|
145240
145255
|
`)), r.renderRoot.adoptedStyleSheets = [i, s], t(e, n);
|
|
145241
145256
|
};
|
|
145242
|
-
function
|
|
145257
|
+
function Q0t({
|
|
145243
145258
|
customElements: t = window.customElements,
|
|
145244
145259
|
HTMLElement: e = window.HTMLElement
|
|
145245
145260
|
}) {
|
|
@@ -145256,10 +145271,10 @@ function H0t({
|
|
|
145256
145271
|
},
|
|
145257
145272
|
{ customElements: t, BaseElement: e }
|
|
145258
145273
|
),
|
|
145259
|
-
|
|
145274
|
+
Rlt,
|
|
145260
145275
|
vfe
|
|
145261
|
-
)(
|
|
145276
|
+
)(Slt);
|
|
145262
145277
|
}
|
|
145263
145278
|
export {
|
|
145264
|
-
|
|
145279
|
+
Q0t as default
|
|
145265
145280
|
};
|