{{-- @if($showAd && str($adType)->contains('adsterra'))
@endif --}} @if($reauthLoading ?? false) @elseif($notFound)

Episode Not Available

The episode you're looking for is not available. Explore these dramas instead:

{{-- Use existing RelatedDramas component with popular search --}}
@elseif($drama) {{-- Top drama details removed; only bottom details remain --}}
@if($episode)

{{ $drama['bookName'] ?? 'Untitled' }} {{ $episode['chapterName'] ?? 'Episode' }}

@if($rateLimited) {{-- Rate limit countdown overlay --}}

Please Wait

Our server is experiencing high traffic. The page will automatically refresh in:

seconds

Thank you for your patience

@elseif($videoReady && !empty($bestVideoUrl))
Problem with video? Click here to fix.
@php $subtitleTracks = $episode['subtitles'] ?? []; $langAliases = ['in' => 'id']; $preferredSubtitleLang = strtolower($langAliases[$currentLang] ?? $currentLang ?? ''); // Disable crossorigin for DramaWave service since we're using a proxy $needsCrossorigin = false; // Always false now since we proxy everything @endphp
@else
@if($videoReady && empty($bestVideoUrl)) {{-- Video loaded but no URL found --}}

No playable video found for this episode.

@elseif(isset($videoReady) && $videoReady === false) {{-- Loading in progress (explicitly set to false) --}}

Preparing secure stream…

@else {{-- Initial state: show button to load --}}

Click below to load and watch this episode

▶ Load Episode Video
@endif
@endif
@else {{-- Episode data loading - manual click required to save API quota --}}

Click below to load and watch this episode

▶ Load Episode Video
@endif

Select Episode

Scroll for more episodes
@if($drama) @if($drama['bookName']) @endif @endif @endif {{-- Guest episode view limit modal/redirect (SEO-safe, only if magic link enabled) --}} @if(config('drama.magiclink_enabled') && empty($isLoggedIn) && !empty($episodesWatchedToday) && $episodesWatchedToday >= config('drama.guest_daily_limit', 10)) @endif