@props([
'results',
])
@php
$NotFoundView=$this->getConfigs()->getNotFoundView();
@endphp
class([
'fi-global-search-modal-results-ctn flex-1 z-10 w-full mt-1 overflow-y-auto h-full bg-white shadow-lg transition dark:bg-transparent ',
'[transform:translateZ(0)]',
])
}}
>
@if ($results->getCategories()->isEmpty())
@unless (filled($NotFoundView))
@else
{!! $NotFoundView->render() !!}
@endunless
@else
@foreach ($results->getCategories() as $groupTitle => $groupedResults)
@endforeach
@endif