| 7293 | }; |
| 7294 | const ll = Object.keys(ul); |
| 7295 | function cl(t) { |
| 7296 | const e = V(t.ops), |
| 7297 | i = V(t.fields), |
| 7298 | o = V(t.params), |
| 7299 | a = V(t.aggregate_params), |
| 7300 | u = V(t.as), |
| 7301 | l = (this.outputs = []), |
| 7302 | c = (this.windows = []), |
| 7303 | f = {}, |
| 7304 | d = {}, |
| 7305 | p = [], |
| 7306 | g = []; |
| 7307 | let m = !0; |
| 7308 | function y(t) { |
| 7309 | V(r(t)).forEach((t) => (f[t] = 1)); |
| 7310 | } |
| 7311 | (y(t.sort), |
| 7312 | e.forEach((t, e) => { |
| 7313 | const r = i[e], |
| 7314 | f = o[e], |
| 7315 | v = a[e] || null, |
| 7316 | _ = n(r), |
| 7317 | x = Hs(t, _, u[e]); |
| 7318 | if ((y(r), l.push(x), ut(ul, t))) |
| 7319 | c.push( |
| 7320 | (function (t, e, n, r) { |
| 7321 | const i = ul[t](e, n); |
| 7322 | return { |
| 7323 | init: i.init || h, |
| 7324 | update: function (t, e) { |
| 7325 | e[r] = i.next(t); |
| 7326 | }, |
| 7327 | }; |
| 7328 | })(t, r, f, x), |
| 7329 | ); |
| 7330 | else { |
| 7331 | if ( |
| 7332 | (null == r && "count" !== t && s("Null aggregate field specified."), |
| 7333 | "count" === t) |
| 7334 | ) |
| 7335 | return void p.push(x); |
| 7336 | m = !1; |
| 7337 | let e = d[_]; |
| 7338 | (e || ((e = d[_] = []), (e.field = r), g.push(e)), |
| 7339 | e.push(Js(t, v, x))); |
| 7340 | } |
| 7341 | }), |
| 7342 | (p.length || g.length) && |
| 7343 | (this.cell = (function (t, e, n) { |
| 7344 | t = t.map((t) => nu(t, t.field)); |
| 7345 | const r = { num: 0, agg: null, store: !1, count: e }; |
| 7346 | if (!n) |
| 7347 | for (var i = t.length, o = (r.agg = Array(i)), a = 0; a < i; ++a) |
| 7348 | o[a] = new t[a](r); |
| 7349 | if (r.store) var s = (r.data = new ru()); |
| 7350 | return ( |
| 7351 | (r.add = function (t) { |
| 7352 | if (((r.num += 1), !n)) { |