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

$__newAttributes = [];
$__propNames = \Illuminate\View\ComponentAttributeBag::extractPropNames((['id', 'title']));

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((['id', 'title']), '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); ?>

<div id="<?php echo e($id); ?>" class="hidden fixed inset-0 z-50 overflow-y-auto" role="dialog" aria-modal="true" aria-labelledby="<?php echo e($id); ?>Label">
    <!-- Backdrop -->
    <div class="fixed inset-0 bg-slate-950/40 backdrop-blur-sm transition-opacity" onclick="closeModal('<?php echo e($id); ?>')"></div>

    <!-- Modal Content Window -->
    <div class="flex min-h-full items-end justify-center p-4 text-center sm:items-center sm:p-0">
        <div class="relative transform overflow-hidden rounded-2xl bg-white dark:bg-slate-900 text-left border border-slate-200 dark:border-slate-800 shadow-soft transition-all sm:my-8 sm:w-full sm:max-w-lg">
            <div class="border-b border-slate-100 dark:border-slate-800 px-5 py-4 flex items-center justify-between">
                <h2 class="text-sm font-bold text-slate-900 dark:text-white" id="<?php echo e($id); ?>Label"><?php echo e($title); ?></h2>
                <button type="button" onclick="closeModal('<?php echo e($id); ?>')" class="text-slate-400 hover:text-slate-600 dark:hover:text-slate-300 transition-colors">
                    <i class="bi bi-x-lg text-sm"></i>
                </button>
            </div>
            <div class="p-6 text-slate-700 dark:text-slate-300">
                <?php echo e($slot); ?>

            </div>
        </div>
    </div>
</div>
<?php /**PATH /Users/mac/Documents/e-com/resources/views/components/admin/modal.blade.php ENDPATH**/ ?>