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

$__newAttributes = [];
$__propNames = \Illuminate\View\ComponentAttributeBag::extractPropNames((['name', 'label' => null, 'options' => [], 'value' => null, 'required' => false, 'placeholder' => null]));

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((['name', 'label' => null, 'options' => [], 'value' => null, 'required' => false, 'placeholder' => null]), '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)) { $__componentOriginalf05cfa8a3a9bfe3c0fbbaf4a0e88f230 = $component; } ?>
<?php if (isset($attributes)) { $__attributesOriginalf05cfa8a3a9bfe3c0fbbaf4a0e88f230 = $attributes; } ?>
<?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.admin.select-input','data' => ['name' => $name,'label' => $label,'options' => $options,'value' => $value,'required' => $required,'placeholder' => $placeholder,'attributes' => $attributes]] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? $attributes->all() : [])); ?>
<?php $component->withName('admin.select-input'); ?>
<?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(['name' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($name),'label' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($label),'options' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($options),'value' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($value),'required' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($required),'placeholder' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($placeholder),'attributes' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($attributes)]); ?>
    <?php echo e($slot); ?>

 <?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__attributesOriginalf05cfa8a3a9bfe3c0fbbaf4a0e88f230)): ?>
<?php $attributes = $__attributesOriginalf05cfa8a3a9bfe3c0fbbaf4a0e88f230; ?>
<?php unset($__attributesOriginalf05cfa8a3a9bfe3c0fbbaf4a0e88f230); ?>
<?php endif; ?>
<?php if (isset($__componentOriginalf05cfa8a3a9bfe3c0fbbaf4a0e88f230)): ?>
<?php $component = $__componentOriginalf05cfa8a3a9bfe3c0fbbaf4a0e88f230; ?>
<?php unset($__componentOriginalf05cfa8a3a9bfe3c0fbbaf4a0e88f230); ?>
<?php endif; ?>
<?php /**PATH /Users/mac/Documents/e-com/resources/views/components/admin/form-select.blade.php ENDPATH**/ ?>