@php $autoplay = ($shortcode->autoplay ?? 'yes') === 'yes'; @endphp
@foreach ($items as $item) @php $rating = (int) ($item['rating'] ?? 0); @endphp
@if (! empty($item['avatar']))
{!! RvMedia::image($item['avatar'], $item['name'] ?? '', 'thumb', false, ['class' => 'rounded-circle', 'style' => 'width:80px;height:80px;object-fit:cover;', 'loading' => 'lazy']) !!}
@endif
@if ($rating > 0)
@for ($i = 1; $i <= 5; $i++) @endfor
@endif @if (! empty($item['content']))

{!! BaseHelper::clean($item['content']) !!}

@endif
@if (! empty($item['name']))

{!! BaseHelper::clean($item['name']) !!}

@endif @if (! empty($item['role']))

{!! BaseHelper::clean($item['role']) !!}

@endif
@endforeach