| 7183 | } |
| 7184 | const _u = new Set(["aria", "width", "height"]); |
| 7185 | function Pu(e, t) { |
| 7186 | const { fill: n, stroke: i } = "include" === t.color ? pu(e) : {}; |
| 7187 | return { |
| 7188 | ...Au(e.markDef, t), |
| 7189 | ...Nu("fill", n), |
| 7190 | ...Nu("stroke", i), |
| 7191 | ...mu("opacity", e), |
| 7192 | ...mu("fillOpacity", e), |
| 7193 | ...mu("strokeOpacity", e), |
| 7194 | ...mu("strokeWidth", e), |
| 7195 | ...mu("strokeDash", e), |
| 7196 | ...gu(e), |
| 7197 | ...su(e), |
| 7198 | ...ou(e, "href"), |
| 7199 | ...uu(e), |
| 7200 | }; |
| 7201 | } |
| 7202 | function Nu(e, t) { |
| 7203 | return t ? { [e]: t } : {}; |
| 7204 | } |