@php $checkSequenceContent = $file->checkSequenceContent(); $sequenceContentHasError = (!empty($checkSequenceContent) and (!empty($checkSequenceContent['all_passed_items_error']) or !empty($checkSequenceContent['access_after_day_error']))); @endphp
{!! nl2br(clean($file->description)) !!}
@if(!empty($user) and $hasBought)
checkPassedItem())) checked @endif>
@endif
{{ ($file->volume > 0) ? $file->getVolume() : '-' }}
@if(!empty($checkSequenceContent) and $sequenceContentHasError) @elseif($file->accessibility == 'paid') @if(!empty($user) and $hasBought) @if($file->downloadable) {{ trans('home.download') }} @else {{ trans('public.play') }} @endif @else @endif @else @if($file->downloadable) {{ trans('home.download') }} @else @if(!empty($user) and $hasBought) {{ trans('public.play') }} @elseif($file->storage == 'upload_archive') {{ trans('public.play') }} @elseif(in_array($file->storage, ['iframe', 'google_drive', 'dropbox'])) {{ trans('public.play') }} @elseif($file->isVideo()) @else {{ trans('public.play') }} @endif @endif @endif