{{-- A sponsored placement. $s = SponsorPicker::pick() (or a preview: ['campaign' => …, 'preview' => true]). Class names avoid words content blockers hide on sight; the "Sponsored" label is always shown. --}} @php $c = $s['campaign']; $preview = $s['preview'] ?? false; $click = $preview ? ($c->destination_url ?: '#') : $s['click']; $media = $c->media_type ?? 'text'; $mediaUrl = $s['media_url'] ?? $c->mediaUrl(); $thumbUrl = $s['thumb_url'] ?? $c->thumbUrl(); [$vid, $vhash] = $c->video_id ? \App\Services\Sponsors\VideoLink::split((string) $c->video_id) : [null, null]; @endphp