(t, e)
| 14458 | } |
| 14459 | const $v = (t) => (t === kv || t === Av || t === Mv ? [kv, Av, Mv] : [t]); |
| 14460 | function Tv(t, e) { |
| 14461 | $v(e).forEach((e) => |
| 14462 | (function (t, e) { |
| 14463 | const n = t.canvas(); |
| 14464 | n && |
| 14465 | !t._events[e] && |
| 14466 | ((t._events[e] = 1), |
| 14467 | n.addEventListener(e, t[e] ? (n) => t[e](n) : (n) => t.fire(e, n))); |
| 14468 | })(t, e), |
| 14469 | ); |
| 14470 | } |
| 14471 | function Bv(t, e, n) { |
| 14472 | e.forEach((e) => t.fire(e, n)); |
| 14473 | } |
no test coverage detected