// Metro module 8548 (f8549). import { processColor } from "react-native"; import extractBrush from "./extractBrush"; import extractOpacity from "./extractOpacity"; let c5479_2 = { evenodd: 0, nonzero: 1 }; const fill = { type: 0, payload: processColor("black") }; export default function extractFill(a0, { fill: fill2, fillRule, fillOpacity }, a2) { if (fill2 != null) { a2.push("fill"); a0.fill = !fill2 && typeof fill2 !== "number" ? fill : extractBrush(fill2); } else { a0.fill = fill; } if (fillOpacity != null) { a2.push("fillOpacity"); a0.fillOpacity = extractOpacity(fillOpacity); } if (fillRule != null) { a2.push("fillRule"); a0.fillRule = fillRule ? c5479_2[fillRule] === 0 ? 0 : 1 : 1; } };