@props([ 'media', 'personalFreeleech', ])
@if (auth()->user()->settings?->show_poster) {{ __('torrent.similar') }} @endif

{{ $media->name ?? '' }} ( )

@if ($media->creators->isNotEmpty()) by @foreach ($media->creators as $creator) {{ $creator->name }} @if (! $loop->last) , @endif @endforeach @endif
@foreach ($media->genres->take(3) as $genre) {{ $genre->name }} @endforeach

{{ $media->overview ?? '' }}

@if ($media->torrents->has('Complete Pack'))
Complete Pack @foreach ($media->torrents['Complete Pack'] as $type => $torrents) @foreach ($torrents as $torrent) @if ($loop->first) @endif @include('components.partials._torrent-group-row') @endforeach @endforeach
{{ $type }}
@endif @if ($media->torrents->has('Specials'))
torrents->has('Complete Pack') && ! $media->torrents->has('Seasons')) open @endif > Specials @foreach ($media->torrents['Specials'] as $specialName => $special)
first) open @endif > {{ $specialName }} @foreach ($special as $type => $torrents) @foreach ($torrents as $torrent) @if ($loop->first) @endif @include('components.partials._torrent-group-row') @endforeach @endforeach
{{ $type }}
@endforeach
@endif @foreach ($media->torrents['Seasons'] ?? [] as $seasonName => $season)
first) open @endif > {{ $seasonName }} @if ($season->has('Season Pack') && ! $season->has('Episodes')) @foreach ($season['Season Pack'] as $type => $torrents) @foreach ($torrents as $torrent) @if ($loop->first) @endif @include('components.partials._torrent-group-row') @endforeach @endforeach
{{ $type }}
@elseif ($season->has('Season Pack'))
Season Pack @foreach ($season['Season Pack'] as $type => $torrents) @foreach ($torrents as $torrent) @if ($loop->first) @endif @include('components.partials._torrent-group-row') @endforeach @endforeach
{{ $type }}
@endif @foreach ($season['Episodes'] ?? [] as $episodeName => $episode)
first && ! $season->has('Season Pack')) open @endif > {{ $episodeName }} @foreach ($episode as $type => $torrents) @foreach ($torrents as $torrent) @if ($loop->first) @endif @include('components.partials._torrent-group-row') @endforeach @endforeach
{{ $type }}
@endforeach
@endforeach