| 14486 | }; |
| 14487 | } |
| 14488 | function Ov(t, e, n, r, i, o) { |
| 14489 | const a = |
| 14490 | "undefined" != typeof HTMLElement && |
| 14491 | t instanceof HTMLElement && |
| 14492 | null != t.parentNode, |
| 14493 | s = t.getContext("2d"), |
| 14494 | u = a |
| 14495 | ? ("undefined" != typeof window && window.devicePixelRatio) || 1 |
| 14496 | : i; |
| 14497 | ((t.width = e * u), (t.height = n * u)); |
| 14498 | for (const t in o) s[t] = o[t]; |
| 14499 | return ( |
| 14500 | a && 1 !== u && ((t.style.width = e + "px"), (t.style.height = n + "px")), |
| 14501 | (s.pixelRatio = u), |
| 14502 | s.setTransform(u, 0, 0, u, u * r[0], u * r[1]), |
| 14503 | t |
| 14504 | ); |
| 14505 | } |
| 14506 | class Rv extends lv { |
| 14507 | constructor(t) { |
| 14508 | (super(t), |