@if (count($list) == 0 && $category->slug != 'ai_pdf') @php $template = null; $currentUrl = url()->current(); $currentPath = trim(parse_url($currentUrl, PHP_URL_PATH) ?: ''); if ( \App\Helpers\Classes\MarketplaceHelper::isRegistered('ai-chat-pro') && ( str_starts_with($currentPath, '/chat') || str_starts_with($currentPath, '/dashboard/user/openai/chat/pro/') || ! auth()->check() ) ) { $template = 'chatpro'; } @endphp @endif @includeFirst(['chat-share::share-script-include', 'panel.user.openai_chat.includes.share-script-include', 'vendor.empty'])