@php
$cart_color = in_array($item['id'], $cartExists) ? 'text-green-500' : 'text-current';
@endphp
@if (!$item['licensed'] && $item['price'] && $item['is_buy'])
@if (isset($item['parent']))
@if (\App\Helpers\Classes\MarketplaceHelper::isRegistered($item['parent']['slug']))
@if (in_array($item['slug'], ['whatsapp', 'telegram', 'facebook', 'instagram']))
@if (\App\Helpers\Classes\MarketplaceHelper::getDbVersion($item['parent']['slug']) >= $item['parent']['min_version'])
@if ($item['only_premium'])
@if ($item['check_subscription'])
@else
{{-- --}}
{{-- --}}
{{-- --}}
@endif
@else
@endif
@else
@endif
@else
@if ($item['only_premium'])
@if ($item['check_subscription'])
@else
{{-- --}}
{{-- --}}
{{-- --}}
@endif
@else
@endif
@endif
@else
@endif
@else
@if ($item['only_premium'])
@if ($item['check_subscription'])
@else
{{-- --}}
{{-- --}}
{{-- --}}
@endif
@else
@endif
@endif
@endif