(e, t)
| 8458 | ); |
| 8459 | } |
| 8460 | function Yf(e, t) { |
| 8461 | if (Um(t)) return "theta" === e ? "independent" : "shared"; |
| 8462 | if (Im(t)) return "shared"; |
| 8463 | if (Wm(t)) |
| 8464 | return _t(e) || "theta" === e || "radius" === e |
| 8465 | ? "independent" |
| 8466 | : "shared"; |
| 8467 | throw new Error("invalid model type for resolve"); |
| 8468 | } |
| 8469 | function Xf(e, t) { |
| 8470 | const n = e.scale[t], |
| 8471 | i = _t(t) ? "axis" : "legend"; |