@if(isset($report['results'][$name]))
@include('reports.partials.status')
{{ __('HTTP requests') }}
@if($report['results'][$name]['passed'])
{{ __('There are fewer than :value HTTP requests on the webpage.', ['value' => number_format(array_sum(array_map('count', $report['results'][$name]['value'])), 0, __('.'), __(','))]) }}
@else @foreach($report['results'][$name]['errors'] as $error => $details)
@if($error == 'too_many') {{ __('The webpage makes more than :value HTTP requests.', ['value' => number_format($details['max'], 0, __('.'), __(','))]) }} @endif
@endforeach @endif
@foreach($report['results'][$name]['value'] as $key => $value) @endforeach
{{ __('The HTTP requests represents the number of external resources present on the webpage.') }}
@endif