@php $cms = $cms ?? app(\App\Services\CmsSettingsService::class)->get(); $identity = \App\Support\SiteIdentity::fields($cms); $brand = $identity['name'] ?: 'Prospera Financial Planning'; $navigation = app(\App\Services\PublicMenuService::class)->items('main', 'prospera') ?: config('themes.available.prospera.menu', []); $languages = \App\Support\WebsiteLanguage::configuration($cms); $initialFlag = collect($languages['languages'])->firstWhere('code', $languages['source'])['flag_url'] ?? ''; $sectionTitle = ($page->meta_title ?? null) ?: html_entity_decode( trim($__env->yieldContent('pageTitle') ?: $__env->yieldContent('title', 'Home')), ENT_QUOTES | ENT_HTML5, 'UTF-8' ); @endphp