MCPcopy Create free account
hub / github.com/alignoth/alignoth / eR

Function eR

resources/vega.min.js:30689–30709  ·  view source on GitHub ↗
(t, e, n)

Source from the content-addressed store, hash-verified

30687 return (cp(e.type) ? eR : pp(e.type) ? rR : iR)(t, n, i);
30688 }
30689 function eR(t, e, n) {
30690 const r = nR(t.sort, !0);
30691 let i, o;
30692 const a = n.map((t) => {
30693 const n = e.getData(t.data);
30694 return (n || JO(t.data), n.countsRef(e, t.field, r));
30695 }),
30696 s = { groupby: ZN, pulse: a };
30697 (r &&
30698 ((i = r.op || "count"),
30699 (o = r.field ? tO(i, r.field) : "count"),
30700 (s.ops = [YO[i]]),
30701 (s.fields = [e.fieldRef(o)]),
30702 (s.as = [o])),
30703 (i = e.add(yO(s))));
30704 const u = e.add(xO({ pulse: XN(i) }));
30705 return (
30706 (o = e.add(WO({ field: ZN, sort: e.sortRef(r), pulse: XN(u) }))),
30707 XN(o)
30708 );
30709 }
30710 function nR(t, e) {
30711 return (
30712 t &&

Callers

nothing calls this directly

Calls 6

nRFunction · 0.85
JOFunction · 0.85
tOFunction · 0.85
XNFunction · 0.85
mapMethod · 0.45
addMethod · 0.45

Tested by

no test coverage detected