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

$__newAttributes = [];
$__propNames = \Illuminate\View\ComponentAttributeBag::extractPropNames(([
    'id',
    'ajaxUrl' => null,
    'columns' => [],
    'order' => null,
    'columnDefs' => null,
    'searchId' => null,
    'filterFormId' => null,
    'clearFiltersId' => null,
    'title' => 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(([
    'id',
    'ajaxUrl' => null,
    'columns' => [],
    'order' => null,
    'columnDefs' => null,
    'searchId' => null,
    'filterFormId' => null,
    'clearFiltersId' => null,
    'title' => 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)) { $__componentOriginal8aaf9779783cdf64609094123653a0b9 = $component; } ?>
<?php if (isset($attributes)) { $__attributesOriginal8aaf9779783cdf64609094123653a0b9 = $attributes; } ?>
<?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.datatable','data' => ['id' => $id,'ajaxUrl' => $ajaxUrl,'columns' => $columns,'order' => $order,'columnDefs' => $columnDefs,'searchId' => $searchId,'filterFormId' => $filterFormId,'clearFiltersId' => $clearFiltersId,'title' => $title,'attributes' => $attributes]] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? $attributes->all() : [])); ?>
<?php $component->withName('datatable'); ?>
<?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),'ajax-url' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($ajaxUrl),'columns' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($columns),'order' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($order),'column-defs' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($columnDefs),'search-id' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($searchId),'filter-form-id' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($filterFormId),'clear-filters-id' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($clearFiltersId),'title' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($title),'attributes' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($attributes)]); ?>
    <?php if(isset($thead)): ?>
         <?php $__env->slot('thead', null, []); ?> <?php echo e($thead); ?> <?php $__env->endSlot(); ?>
    <?php endif; ?>
    <?php echo e($slot); ?>

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