(e, t)
| 4716 | class hl { |
| 4717 | name = "path-overlay"; |
| 4718 | hasMatchingType(e, t) { |
| 4719 | if (Ua(e)) { |
| 4720 | const { mark: n, encoding: i } = e, |
| 4721 | r = no(n) ? n : { type: n }; |
| 4722 | switch (r.type) { |
| 4723 | case "line": |
| 4724 | case "rule": |
| 4725 | case "trail": |
| 4726 | return !!pl(r, t[r.type], i); |
| 4727 | case "area": |
| 4728 | return !!pl(r, t[r.type], i) || !!gl(r, t[r.type]); |
| 4729 | } |
| 4730 | } |
| 4731 | return !1; |
| 4732 | } |
| 4733 | run(e, t, n) { |
| 4734 | const { config: i } = t, |
| 4735 | { params: r, projection: o, mark: a, name: s, encoding: l, ...c } = e, |