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

Function tR

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

Source from the content-addressed store, hash-verified

30659 );
30660 }
30661 function tR(t, e, n) {
30662 const r = t.data,
30663 i = t.fields.reduce(
30664 (t, e) => (
30665 (e = _t(e)
30666 ? { data: r, field: e }
30667 : k(e) || e.signal
30668 ? (function (t, e) {
30669 const n = "_:vega:_" + HO++,
30670 r = xO({});
30671 if (k(t)) r.value = { $ingest: t };
30672 else if (t.signal) {
30673 const i = "setdata(" + Dt(n) + "," + t.signal + ")";
30674 r.params.input = e.signalRef(i);
30675 }
30676 return (
30677 e.addDataPipeline(n, [r, PO({})]),
30678 { data: n, field: "data" }
30679 );
30680 })(e, n)
30681 : e),
30682 t.push(e),
30683 t
30684 ),
30685 [],
30686 );
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;

Callers

nothing calls this directly

Calls 5

DtFunction · 0.85
_tFunction · 0.70
kFunction · 0.70
cpFunction · 0.70
ppFunction · 0.70

Tested by

no test coverage detected