@php $sectionOptions = $searchFormOptions ?? []; $sectionData ??= []; // Get Search Form Options $enableFormAreaCustomization = data_get($sectionOptions, 'enable_extended_form_area') ?? '0'; $hideTitles = data_get($sectionOptions, 'hide_titles') ?? '0'; $headerTitle = data_get($sectionOptions, 'title_' . config('app.locale')); $headerTitle = (!empty($headerTitle)) ? replaceGlobalPatterns($headerTitle) : null; $headerSubTitle = data_get($sectionOptions, 'sub_title_' . config('app.locale')); $headerSubTitle = (!empty($headerSubTitle)) ? replaceGlobalPatterns($headerSubTitle) : null; $parallax = data_get($sectionOptions, 'parallax') ?? '0'; $hideForm = data_get($sectionOptions, 'hide_form') ?? '0'; $isAutocompleteEnabled = (config('settings.listings_list.enable_cities_autocompletion') == '1'); $autocompleteClass = $isAutocompleteEnabled ? ' autocomplete-enabled' : ''; $statesSearchTip = t('states_search_tip', ['prefix' => t('area'), 'suffix' => t('state_name')]); $displayStatesSearchTip = config('settings.listings_list.display_states_search_tip'); $searchTooltip = $displayStatesSearchTip ? ' data-bs-placement="top" data-bs-toggle="tooltipHover" title="' . $statesSearchTip . '"' : ''; $hideOnMobile = (data_get($sectionOptions, 'hide_on_mobile') == '1') ? ' hidden-sm' : ''; @endphp @if (isset($enableFormAreaCustomization) && $enableFormAreaCustomization == '1') @if (isset($firstSection) && !$firstSection)
@endif @php $parallax = ($parallax == '1') ? ' parallax' : ''; @endphp{!! $headerSubTitle !!}
@endif @if ($hideForm != '1') @endif