@props([
'id',
'videoId',
'placeholderId',
'badgeText' => '',
'badgeId' => null,
'micStatusId' => null,
'camStatusId' => null,
'borderColor' => 'border-[#1b2233]',
'showZoom' => false,
'showFullscreen' => false,
'initials' => 'CD',
'avatarCircleId' => null,
'avatarNameId' => null,
'avatarTitle' => 'Video Stream',
'zoomInFn' => null,
'zoomOutFn' => null,
'zoomResetFn' => null,
'fullscreenFn' => null,
'containerId' => null,
'focused' => false,
])
twMerge(['class' => 'video-tile relative aspect-[16/10] bg-[#0d1220] border rounded-[10px] overflow-hidden flex flex-col items-center justify-center transition-all ' . ($focused ? 'border-[rgba(75,130,247,0.35)] shadow-[0_0_0_1px_rgba(75,130,247,0.35)]' : 'border-[#1b2233]')]) }}>
@if($showZoom || $showFullscreen)
@if($showZoom)
@endif
@if($showFullscreen)
@endif
@endif
@if($containerId)
@else
@endif
{{ $initials }}
{{ $avatarTitle }}
{{ $slot->isNotEmpty() ? $slot : "Waiting for candidate…" }}
{{ $badgeText }}
@if($micStatusId || $camStatusId)
@if($micStatusId)
@endif
@if($camStatusId)
@endif
@endif