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

$__newAttributes = [];
$__propNames = \Illuminate\View\ComponentAttributeBag::extractPropNames((['id', 'title' => 'Confirm action', 'message' => 'Are you sure?', 'confirm' => 'Confirm']));

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' => 'Confirm action', 'message' => 'Are you sure?', 'confirm' => 'Confirm']), '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 if (isset($component)) { $__componentOriginal823da9a9e068e73a4fac341fa87b80de = $component; } ?>
<?php if (isset($attributes)) { $__attributesOriginal823da9a9e068e73a4fac341fa87b80de = $attributes; } ?>
<?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.admin.confirmation-dialog','data' => ['id' => $id,'title' => $title,'message' => $message,'confirm' => $confirm,'attributes' => $attributes]] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? $attributes->all() : [])); ?>
<?php $component->withName('admin.confirmation-dialog'); ?>
<?php if ($component->shouldRender()): ?>
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
<?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag): ?>
<?php $attributes = $attributes->except(\Illuminate\View\AnonymousComponent::ignoredParameterNames()); ?>
<?php endif; ?>
<?php $component->withAttributes(['id' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($id),'title' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($title),'message' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($message),'confirm' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($confirm),'attributes' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($attributes)]); ?>
<?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__attributesOriginal823da9a9e068e73a4fac341fa87b80de)): ?>
<?php $attributes = $__attributesOriginal823da9a9e068e73a4fac341fa87b80de; ?>
<?php unset($__attributesOriginal823da9a9e068e73a4fac341fa87b80de); ?>
<?php endif; ?>
<?php if (isset($__componentOriginal823da9a9e068e73a4fac341fa87b80de)): ?>
<?php $component = $__componentOriginal823da9a9e068e73a4fac341fa87b80de; ?>
<?php unset($__componentOriginal823da9a9e068e73a4fac341fa87b80de); ?>
<?php endif; ?>
<?php /**PATH /Users/mac/Documents/e-com/resources/views/components/admin/confirm-modal.blade.php ENDPATH**/ ?>