@php $agentId = $agentId ?? null; $listingId = $listingId ?? null; $layout = $layout ?? 'sidebar'; @endphp @if (! auth('web')->check())

{{ __('translate.Please login to send a message to the seller') }}

{{ __('translate.Login') }} @elseif ($layout === 'beach')
@csrf
@if (captcha_enabled())
@include('partials.captcha-widget', [ 'captchaContext' => 'agent_contact', 'captchaPrefix' => 'agent-contact', 'captchaTurnstileVariant' => 'dark', ])
@endif
{{ __('translate.Send Message') }}
{{ __('translate.Send Message') }}
@else
@csrf @if ($listingId) @endif @if (captcha_enabled()) @include('partials.captcha-widget', ['captchaContext' => 'agent_contact', 'captchaPrefix' => 'agent-contact']) @endif
{!! $extraButtons ?? '' !!}
@endif