@php
$footerSiteName = \App\Models\Setting::getValue('site_name', config('app.name', 'Kiostore'));
$blogEnabled = (bool) \App\Models\Setting::getValue('blog_enabled', false);
$blogShowInFooter = (bool) \App\Models\Setting::getValue('blog_show_in_footer', true);
$blogTitle = trim((string) \App\Models\Setting::getValue('blog_title', 'Blog')) ?: 'Blog';
$footerEmail = trim(\App\Models\Setting::getValue('contact_email', ''));
$footerWhatsappDisplay = trim(\App\Models\Setting::getValue('cs_whatsapp', ''));
$footerWhatsapp = preg_replace('/[^0-9]/', '', $footerWhatsappDisplay);
$footerAddress = trim(\App\Models\Setting::getValue('contact_address', ''));
$footerOperator = trim(\App\Models\Setting::getValue('operator_name', ''));
$footerHours = trim(\App\Models\Setting::getValue('cs_hours', ''));
@endphp