<?php $attributes ??= new \Illuminate\View\ComponentAttributeBag;

$__newAttributes = [];
$__propNames = \Illuminate\View\ComponentAttributeBag::extractPropNames(([
    'variant' => 'gray', // gray, primary, success, danger, warning, info
    'icon' => null,
    'dot' => true,
]));

foreach ($attributes->all() as $__key => $__value) {
    if (in_array($__key, $__propNames)) {
        $$__key = $$__key ?? $__value;
    } else {
        $__newAttributes[$__key] = $__value;
    }
}

$attributes = new \Illuminate\View\ComponentAttributeBag($__newAttributes);

unset($__propNames);
unset($__newAttributes);

foreach (array_filter(([
    'variant' => 'gray', // gray, primary, success, danger, warning, info
    'icon' => null,
    'dot' => true,
]), 'is_string', ARRAY_FILTER_USE_KEY) as $__key => $__value) {
    $$__key = $$__key ?? $__value;
}

$__defined_vars = get_defined_vars();

foreach ($attributes->all() as $__key => $__value) {
    if (array_key_exists($__key, $__defined_vars)) unset($$__key);
}

unset($__defined_vars, $__key, $__value); ?>

<?php
    $variants = [
        'gray' => 'bg-slate-100 dark:bg-slate-800 text-slate-700 dark:text-slate-300',
        'primary' => 'bg-primary-50 dark:bg-primary-500/15 text-primary-700 dark:text-primary-300',
        'success' => 'bg-emerald-50 dark:bg-emerald-500/15 text-emerald-700 dark:text-emerald-300',
        'danger' => 'bg-rose-50 dark:bg-rose-500/15 text-rose-700 dark:text-rose-300',
        'warning' => 'bg-amber-50 dark:bg-amber-500/15 text-amber-700 dark:text-amber-300',
        'info' => 'bg-sky-50 dark:bg-sky-500/15 text-sky-700 dark:text-sky-300',
        'purple' => 'bg-purple-50 dark:bg-purple-500/15 text-purple-700 dark:text-purple-300',
    ];
    $dotColors = [
        'gray' => 'bg-slate-500', 'primary' => 'bg-primary-500', 'success' => 'bg-emerald-500',
        'danger' => 'bg-rose-500', 'warning' => 'bg-amber-500', 'info' => 'bg-sky-500',
        'purple' => 'bg-purple-500',
    ];
?>
<span class="<?php echo \Illuminate\Support\Arr::toCssClasses([
    'inline-flex items-center gap-1.5 px-2.5 py-1 text-[11px] font-semibold rounded-full whitespace-nowrap',
    $variants[$variant] ?? $variants['gray'],
]); ?>">
    <?php if($dot): ?><span class="<?php echo \Illuminate\Support\Arr::toCssClasses(['w-1.5 h-1.5 rounded-full', $dotColors[$variant] ?? $dotColors['gray']]); ?>"></span><?php endif; ?>
    <?php if($icon): ?><i data-lucide="<?php echo e($icon); ?>" class="w-3 h-3"></i><?php endif; ?>
    <?php echo e($slot); ?>

</span>
<?php /**PATH C:\Users\USER\Downloads\abc\resources\views/components/badge.blade.php ENDPATH**/ ?>