| 6610 | i.global || (t = n.$root); |
| 6611 | let a = null; |
| 6612 | const o = (_) => { |
| 6613 | const r = s.getTargetNode(_), d = s.closest(r, i.selector); |
| 6614 | if (s.isChildOf(r, this.tooltip.getNode())) |
| 6615 | return; |
| 6616 | const l = () => { |
| 6617 | a = d, i.onmouseenter(_, d); |
| 6618 | }; |
| 6619 | n._mobile && n.config.touch_tooltip && (d ? l() : i.onmouseleave(_, d)), a ? d && d === a ? i.onmousemove(_, d) : (i.onmouseleave(_, a), a = null, d && d !== a && l()) : d && l(); |
| 6620 | }; |
| 6621 | this.detach(i.selector), this._domEvents.attach(t, "mousemove", o), this._listeners[i.selector] = { node: t, handler: o }; |
| 6622 | } |
| 6623 | detach(i) { |