@php
// Data is injected by a view composer in AppServiceProvider.
$loggedInUser = $loggedInUser ?? (\Auth::check() ? \Auth::user() : null);
$loggedInUserPresenter = $loggedInUserPresenter ?? ($loggedInUser ? $loggedInUser->present() : null);
$userBaseCommunity = (int) ($userBaseCommunity ?? 0);
$createbusinessUrl = $createbusinessUrl ?? URL::route('pages-create');
$rideDashboardUrl = $rideDashboardUrl ?? '';
$canShowStoreLink = (bool) ($canShowStoreLink ?? false);
$totalCartCount = (int) ($totalCartCount ?? 0);
$isIdentityVerified = (bool) ($isIdentityVerified ?? false);
@endphp
@if(\Session::has('appLogin') and \Session::get('appLogin')=='appLogin')
@else
@endif
@if($communityInternalUrl)
@endif
@if($ipUrl!="")
@else
@endif
@if($canShowStoreLink)
@else
@endif
@if($rideDashboardUrl)
@endif
@if($userBaseCommunity > 0)
@endif
@if(Auth::user()->contest_admin==1 && ($loggedInUserPresenter->contest_id !=0))
@endif
@if(Auth::user()->community_moderator_admin==1)
@endif
@if($isIdentityVerified)
@endif
@if(Auth::user()->statistics_admin==1)
@endif
@if(Auth::user()->game_manager==1 || Auth::user()->game_subadmin==1 || Auth::user()->country_manager==1)
@endif
@if(Auth::user()->identity_admin==1)
@endif
@if(Auth::user()->identity_access==1)
@endif
@if(Auth::user()->campaign_access==1 and \Auth::user()->ban_campaign==0)
@endif
@if(\Session::has('appLogin') and \Session::get('appLogin')=='appLogin')
@if($rideDashboardUrl)
Race2Real App 1.0v
@endif
@endif