@php $locale = request()->locale ?? app()->getLocale(); $isOrganization = isOrganization(); $isAdmin = isAdmin(); $isInstructor = isInstructor(); $currentUser = authCheck(); $type = $type ?? ''; $translations = []; $bundle = $bundle ?? null; if ($bundle && $locale) { $translations = parse_translation($bundle, $locale); } @endphp