@inherits ComponentBase

<BaseContainer Title="@Title" Breadcrumbs="@Breadcrumbs" LoadData="LoadDataAsync">
    <Content>
        @if (HostProcessors?.FirstOrDefault() is HostProcessorEntity HostProcessor)
        {
            <MudGrid>
                <MudItem xs="12" sm="6" md="6" lg="3">
                    <KeyValueCard T="string" Key="Manufacturer" Value="@HostProcessor?.Company" />
                </MudItem>
                <MudItem xs="12" sm="6" md="6" lg="3">
                    <KeyValueCard T="string" Key="Model" Value="@HostProcessor?.Name" />
                </MudItem>
                <MudItem xs="12" sm="6" md="6" lg="3">
                    <KeyValueCard T="string" Key="Socket" Value="@HostProcessor?.Socket" />
                </MudItem>
                <MudItem xs="12" sm="6" md="6" lg="3">
                    <KeyValueCard T="string" Key="Serial" Value="@HostProcessor?.Serial" />
                </MudItem>
                <MudItem xs="12" sm="6" md="6" lg="3">
                    <KeyValueCard T="string" Key="Version" Value="@HostProcessor?.Version" />
                </MudItem>
                <MudItem xs="12" sm="6" md="6" lg="3">
                    <KeyValueCard T="uint?" Key="Cores" Value="@HostProcessor?.Cores" />
                </MudItem>
                <MudItem xs="12" sm="6" md="6" lg="3">
                    <KeyValueCard T="uint?" Key="Logical Cores" Value="@HostProcessor?.LogicalCores" />
                </MudItem>
                <MudItem xs="12" sm="6" md="6" lg="3">
                    <KeyValueCard T="string" Key="Speed" Value="@($"{HostProcessor?.Clock} MHz")" />
                </MudItem>
                <MudItem xs="12" sm="6" md="6" lg="3">
                    <KeyValueCard T="string" Key="Current Speed" Value="@($"{HostProcessor?.CurrentClock} MHz")" />
                </MudItem>
                <MudItem xs="12" sm="6" md="6" lg="3">
                    <KeyValueCard T="bool?" Key="Virtualization" Value="@HostProcessor?.Virtualization" />
                </MudItem>
                <MudItem xs="12" sm="6" md="6" lg="3">
                    <KeyValueCard T="string" Key="L1 Cache" Value="@($"{HostProcessor?.L1Size} KB")" />
                </MudItem>
                <MudItem xs="12" sm="6" md="6" lg="3">
                    <KeyValueCard T="string" Key="L2 Cache" Value="@($"{HostProcessor?.L2Size} KB")" />
                </MudItem>
                <MudItem xs="12" sm="6" md="6" lg="3">
                    <KeyValueCard T="string" Key="L3 Cache" Value="@($"{HostProcessor?.L3Size} KB")" />
                </MudItem>
                <MudItem xs="12" sm="6" md="6" lg="3">
                    <KeyValueCard T="bool?" Key="Dual Socket" Value="@(HostProcessors?.Count() > 1)" />
                </MudItem>
            </MudGrid>
        }
    </Content>
</BaseContainer>