@php $base_class = "lqd-docs-item lqd-docs-item-$style relative w-full items-center border-b transition-all last:border-b-0 hover:bg-foreground/5 group-[&[data-view-mode=grid]]:min-h-48 group-[&[data-view-mode=grid]]:bg-card-background group-[&[data-view-mode=grid]]:gap-0 group-[&[data-view-mode=grid]]:pb-1"; if ($style === 'min') { $base_class .= ' flex gap-4 p-4 text-xs last:border-none'; } else { $base_class .= ' grid gap-4 px-4 py-3 text-2xs font-medium'; } @endphp @if ($style === 'min') withoutTwMergeClasses()->twMerge($base_class, $attributes->get('class')) }} href="{{ LaravelLocalization::localizeUrl(route('dashboard.user.openai.documents.single', $entry->slug)) }}" > @if ($entry->generator->image !== 'none') {!! html_entity_decode($entry->generator->image) !!} @endif {{ __($entry->generator->title) }} {{ str()->words(__($entry->generator->description), 50) }} {{ __('in Workbook') }} {{ $entry->created_at->format('M d, Y') }} @else
withoutTwMergeClasses()->twMerge($base_class, $attributes->get('class')) }} >
@if ($entry->generator->type == 'image') {{ __($entry->generator->title) }} @else @if ($entry->generator->image !== 'none') {!! html_entity_decode($entry->generator->image) !!} @endif @endif

@if (in_array($entry->generator->type, ['text', 'youtube', 'rss', 'code', 'image'])) {{ str()->limit(strip_tags($entry->generator->type === 'image' ? $entry->title : $entry->title . ' : ' . $entry->output), 50) }} @elseif($entry->generator->type == 'audio') {!! str()->limit($entry->title . ' : ' . $entry->output, 50) !!} @elseif ($entry->generator->type == 'voiceover') {{ str()->limit($entry->title) }} @endif

{{ __($entry->generator->title) }}

{{ date('M j Y', strtotime($entry->created_at)) }} , {{ date('H:i', strtotime($entry->created_at)) }}

{{ $entry->credits }}
{{ __('Move to folder') }} @includeIf('panel.user.openai.components.modals.move-to-folder', [ 'file_slug' => $entry->slug, ])
@endif