<?php
    $statsType = $statsType ?? 'movie';
    $statsId = $statsId ?? 0;
    $statsDate = $statsDate ?? null;
    $statsRuntime = $statsRuntime ?? null;
    $statsRating = $statsRating ?? null;
?>
<div class="player-stats-bar"
     data-fake-view-counter
     data-counter-key="<?php echo e($statsType); ?>-<?php echo e($statsId); ?>"
     data-start-min="1000"
     data-start-max="1999">
    <span class="player-stat player-stat-views" title="Views">
        <svg viewBox="0 0 24 24" aria-hidden="true"><path d="M12 5c5.2 0 9.3 4.6 10 6.1.2.5.2 1.3 0 1.8C21.3 14.4 17.2 19 12 19S2.7 14.4 2 12.9a2.2 2.2 0 0 1 0-1.8C2.7 9.6 6.8 5 12 5Zm0 2c-4 0-7.4 3.5-8 5 .6 1.5 4 5 8 5s7.4-3.5 8-5c-.6-1.5-4-5-8-5Zm0 1.8a3.2 3.2 0 1 1 0 6.4 3.2 3.2 0 0 1 0-6.4Z"/></svg>
        <b data-view-count>1,000</b> Views
    </span>
    <?php if($statsDate): ?>
        <span class="player-stat"><svg viewBox="0 0 24 24" aria-hidden="true"><path d="M7 2h2v2h6V2h2v2h2a3 3 0 0 1 3 3v12a3 3 0 0 1-3 3H5a3 3 0 0 1-3-3V7a3 3 0 0 1 3-3h2V2Zm12 8H5v9a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1v-9ZM7 12h3v3H7v-3Z"/></svg><?php echo e($statsDate); ?></span>
    <?php endif; ?>
    <?php if($statsRuntime): ?>
        <span class="player-stat"><svg viewBox="0 0 24 24" aria-hidden="true"><path d="M12 2a10 10 0 1 1-7.1 2.9A10 10 0 0 1 12 2Zm0 2a8 8 0 1 0 5.7 2.3A8 8 0 0 0 12 4Zm1 3v4.6l3.2 2-1.1 1.7-4.1-2.6V7h2Z"/></svg><?php echo e($statsRuntime); ?></span>
    <?php endif; ?>
    <?php if($statsRating !== null && $statsRating !== ''): ?>
        <span class="player-stat player-stat-imdb"><b>IMDb</b><em><?php echo e(number_format((float) $statsRating, 1)); ?></em></span>
    <?php endif; ?>
</div>
<?php /**PATH /home/megashopltd/moviedocks.com/resources/views/front/partials/player-stats.blade.php ENDPATH**/ ?>