+
+ {/* Table rows */}
+ {items.map((item, idx) => {
+ const config = getUtilityConfig(item.subtype);
+ const status = getPresenceStatus(item.nearest_m);
+ const isLast = idx === items.length - 1;
+
+ return (
+
+ {/* Icon */}
+
+ {config.icon}
+
+
+ {/* Label */}
+
+ {config.label}
+ {item.name && (
+
+ {item.name}
+
+ )}
+
+
+ {/* Nearest distance */}
+
+ {item.nearest_m.toLocaleString("ru")} м
+
+
+ {/* Count within 2km */}
+
+ {item.count_within_2km} шт.
+
+
+ {/* Status badge */}
+
+
+ {PRESENCE_LABEL[status]}
+
+
+