| 9343 | } |
| 9344 | } |
| 9345 | function kd(e, n, i, r) { |
| 9346 | const o = qm(r) ? r.encoding[at(n)] : void 0; |
| 9347 | if (aa(i) && qm(r) && Yo(i, o, r.markDef, r.config)) { |
| 9348 | (e.add(ma(i, {})), e.add(ma(i, { suffix: "end" }))); |
| 9349 | const { mark: t, markDef: o, config: a } = r, |
| 9350 | s = Ho({ fieldDef: i, markDef: o, config: a }); |
| 9351 | (eo(t) && |
| 9352 | 0.5 !== s && |
| 9353 | _t(n) && |
| 9354 | (e.add(ma(i, { suffix: Fc })), e.add(ma(i, { suffix: Oc }))), |
| 9355 | i.bin && Na(i, n) && e.add(ma(i, { binSuffix: "range" }))); |
| 9356 | } else if (Le(n)) { |
| 9357 | const t = Re(n); |
| 9358 | e.add(r.getName(t)); |
| 9359 | } else e.add(ma(i)); |
| 9360 | return ( |
| 9361 | la(i) && |
| 9362 | (function (e) { |
| 9363 | return t.isObject(e) && "field" in e; |
| 9364 | })(i.scale?.range) && |
| 9365 | e.add(i.scale.range.field), |
| 9366 | e |
| 9367 | ); |
| 9368 | } |
| 9369 | class Sd extends $c { |
| 9370 | clone() { |
| 9371 | return new Sd(null, new Set(this.dimensions), l(this.measures)); |