-
-
- {t("trackingDetails.lifecycleItemDesc.header.ratio")}
-
- {ratio}
-
-
-
- {t("trackingDetails.lifecycleItemDesc.header.area")}
-
- {areaPx !== undefined && areaPct !== undefined ? (
-
- {t("information.pixels", { ns: "common", area: areaPx })} ·{" "}
- {areaPct}%
-
- ) : (
- N/A
- )}
-
-
- {item.data?.zones && item.data.zones.length > 0 && (
-
- {item.data.zones.map((zone, zidx) => {
- const color = getZoneColor(zone)?.join(",") ?? "0,0,0";
- return (
- {
- e.stopPropagation();
- setSelectedZone(zone);
- }}
- style={{
- borderColor: `rgba(${color}, 0.6)`,
- background: `rgba(${color}, 0.08)`,
- }}
- >
-
-
- {zone.replaceAll("_", " ")}
-
-
- );
- })}
-
- )}
-