@if (isInitialized) { @for (component of essComponents; track component; let i = $index) { @if (essComponents.length > 1) { } @if (this.emergencyReserveComponents[component.id]; as reserve) { @if (isEmergencyReserveEnabled[component.id]) { @if (reserve['currentReserveSoc']; as reserveSoc) { } } } @else { } @if (!isHybridEss[component.id]) { } @else { } @if (possibleBatteryExtensionMessage.get(component.id); as message) { } } }