@php use App\Helpers\Classes\MarketplaceHelper;$prompt_filters = [ 'all' => __('All'), 'favorite' => __('Favorite'), ]; @endphp
{{-- using form element cause issues in webchat after analyzing a website --}}
@csrf @includeIf('chat-pro-temp-chat::temp-desc', ['compact' => true, 'tempChat' => $tempChat])
@php $fileChatAllowed = MarketplaceHelper::isRegistered('ai-chat-pro-file-chat') && ((int) setting('chatpro_file_chat_allowed', 1) === 1) @endphp slug != 'ai_vision' && $category->slug != 'ai_pdf' && ! $fileChatAllowed) accept="image/*" @endif /> {{ __('Options') }} $category->slug !== 'ai_pdf', ]) container-class="w-full" type="textarea" placeholder="{{ __('Type a message') }}" name="prompt" rows="1" x-model="prompt" x-ref="prompt" ::bind="prompt" />
$category->slug !== 'ai_pdf', 'hidden' => $category->slug === 'ai_pdf', 'max-md:pb-4' => !Auth::check(), ])>
@includeIf('chat-pro-temp-chat::temp_chat_button', ['compact' => true, 'tempChat' => $tempChat, 'category' => $category]) @includeIf('openai-realtime-chat::chat-button', ['compact' => true, 'category_slug' => $category->slug, 'messages' => $chat->messages]) @if (\App\Helpers\Classes\MarketplaceHelper::isRegistered('canvas') && (bool) setting('ai_chat_pro_canvas', 1)) @includeIf('canvas::includes.canvas-button') @endif @if (setting('user_prompt_library') == null || setting('user_prompt_library'))
$category->slug === 'ai_pdf', ])> {{ __('Browse prompt library') }}
@auth @include('panel.user.openai_chat.components.prompt_library_modal') @endauth @endif {{-- Brand Voice --}}
{{ __('Brand Voice') }} @auth
@foreach (auth()->user()?->getCompanies() ?? [] as $company) @endforeach
{{ __('Cancel') }} {{ __('Done') }}
@endauth
@auth {{-- Record Audio --}}
@endauth
{{-- Send button --}}
@guest

{{ __(setting('guest_user_bottom_text', 'Login to save your current session. © MagicAI 2025. All rights reserved.')) }}
{{ __('Terms Of Use') }}

@endguest