@php $remainingSeconds = max(0, ((int) ($test['duration_minutes'] ?? 0)) * 60); $questions = collect($test['questions'])->map(function ($q) { return [ 'id' => $q['id'], 'question_text' => $q['question_text'], 'question_text_en' => $q['question_text_en'] ?? null, 'options' => collect($q['options'])->map(function ($o) { return [ 'id' => $o['id'], 'option_text' => $o['text'], ]; })->values(), ]; })->values(); @endphp
@if(!empty($test['exam_type'])) {{ $test['exam_type'] }} @endif @if(!empty($test['subject']) && $test['subject'] !== 'All Subjects') {{ $test['subject'] }} @endif @if(!empty($test['difficulty'])) {{ $test['difficulty'] }} @endif हिंदी + English

{{ $test['title'] }}

{{ $test['description'] }}

Time Left
00:00
Question 1 of {{ count($questions) }}
@csrf