| 15039 | (r && r.call(this, t, e, n), g_ && this.style(g_, n)); |
| 15040 | } |
| 15041 | style(t, e) { |
| 15042 | if (null != e) { |
| 15043 | for (const n in o_) { |
| 15044 | let r = "font" === n ? Oy(e) : e[n]; |
| 15045 | if (r === m_[n]) continue; |
| 15046 | const i = o_[n]; |
| 15047 | (null == r |
| 15048 | ? t.removeAttribute(i) |
| 15049 | : (Xp(r) && (r = Jp(r, this._defs.gradient, w_())), |
| 15050 | t.setAttribute(i, r + "")), |
| 15051 | (m_[n] = r)); |
| 15052 | } |
| 15053 | for (const n in a_) __(t, a_[n], e[n]); |
| 15054 | } |
| 15055 | } |
| 15056 | defs() { |
| 15057 | const t = this._svg, |
| 15058 | e = this._defs; |