(e)
| 10556 | } |
| 10557 | } |
| 10558 | function lm(e) { |
| 10559 | qm(e) |
| 10560 | ? (function (e) { |
| 10561 | const t = e.component.scales; |
| 10562 | for (const n of D(t)) { |
| 10563 | const i = cm(e, n); |
| 10564 | if ( |
| 10565 | (t[n].setWithExplicit("domains", i), |
| 10566 | mm(e, n), |
| 10567 | e.component.data.isFaceted) |
| 10568 | ) { |
| 10569 | let t = e; |
| 10570 | for (; !Um(t) && t.parent; ) t = t.parent; |
| 10571 | if ("shared" === t.component.resolve.scale[n]) |
| 10572 | for (const e of i.value) |
| 10573 | Sn(e) && (e.data = nm + e.data.replace(nm, "")); |
| 10574 | } |
| 10575 | } |
| 10576 | })(e) |
| 10577 | : (function (e) { |
| 10578 | for (const t of e.children) lm(t); |
| 10579 | const t = e.component.scales; |
| 10580 | for (const n of D(t)) { |
| 10581 | let i, |
| 10582 | r = null; |
| 10583 | for (const t of e.children) { |
| 10584 | const e = t.component.scales[n]; |
| 10585 | if (e) { |
| 10586 | i = |
| 10587 | void 0 === i |
| 10588 | ? e.getWithExplicit("domains") |
| 10589 | : uc( |
| 10590 | i, |
| 10591 | e.getWithExplicit("domains"), |
| 10592 | "domains", |
| 10593 | "scale", |
| 10594 | gm, |
| 10595 | ); |
| 10596 | const t = e.get("selectionExtent"); |
| 10597 | (r && t && r.param !== t.param && Si(Zn), (r = t)); |
| 10598 | } |
| 10599 | } |
| 10600 | (t[n].setWithExplicit("domains", i), |
| 10601 | r && t[n].set("selectionExtent", r, !0)); |
| 10602 | } |
| 10603 | })(e); |
| 10604 | } |
| 10605 | function cm(e, t) { |
| 10606 | const n = e.getScaleComponent(t).get("type"), |
| 10607 | { encoding: i } = e, |
no test coverage detected