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

Function Jl

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

Source from the content-addressed store, hash-verified

7783 );
7784 }
7785 function Jl(t, e, n) {
7786 var r = null,
7787 i = yl(!0),
7788 o = null,
7789 a = Yl,
7790 s = null,
7791 u = Rl(l);
7792 function l(l) {
7793 var c,
7794 f,
7795 h,
7796 d,
7797 p,
7798 g = (l = Wl(l)).length,
7799 m = !1,
7800 y = new Array(g),
7801 v = new Array(g);
7802 for (null == o && (s = a((p = u()))), c = 0; c <= g; ++c) {
7803 if (!(c < g && i((d = l[c]), c, l)) === m)
7804 if ((m = !m)) ((f = c), s.areaStart(), s.lineStart());
7805 else {
7806 for (s.lineEnd(), s.lineStart(), h = c - 1; h >= f; --h)
7807 s.point(y[h], v[h]);
7808 (s.lineEnd(), s.areaEnd());
7809 }
7810 m &&
7811 ((y[c] = +t(d, c, l)),
7812 (v[c] = +e(d, c, l)),
7813 s.point(r ? +r(d, c, l) : y[c], n ? +n(d, c, l) : v[c]));
7814 }
7815 if (p) return ((s = null), p + "" || null);
7816 }
7817 function c() {
7818 return Xl().defined(i).curve(a).context(o);
7819 }
7820 return (
7821 (t = "function" == typeof t ? t : void 0 === t ? Gl : yl(+t)),
7822 (e = "function" == typeof e ? e : yl(void 0 === e ? 0 : +e)),
7823 (n = "function" == typeof n ? n : void 0 === n ? Vl : yl(+n)),
7824 (l.x = function (e) {
7825 return arguments.length
7826 ? ((t = "function" == typeof e ? e : yl(+e)), (r = null), l)
7827 : t;
7828 }),
7829 (l.x0 = function (e) {
7830 return arguments.length
7831 ? ((t = "function" == typeof e ? e : yl(+e)), l)
7832 : t;
7833 }),
7834 (l.x1 = function (t) {
7835 return arguments.length
7836 ? ((r = null == t ? null : "function" == typeof t ? t : yl(+t)), l)
7837 : r;
7838 }),
7839 (l.y = function (t) {
7840 return arguments.length
7841 ? ((e = "function" == typeof t ? t : yl(+t)), (n = null), l)
7842 : e;

Callers 1

vega.min.jsFile · 0.70

Calls 4

ylFunction · 0.70
RlFunction · 0.70
cFunction · 0.70
aFunction · 0.70

Tested by

no test coverage detected