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

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

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

<?php if(isset($action['buttons'])): ?>
    <?php if($action['style'] == 'dropdown'): ?>
        <div class="dropdown">
            <button aria-expanded="false" class="btn btn-sm btn--light" data-bs-toggle="dropdown" type="button">
                <i class="las la-ellipsis-v m-0"></i>
            </button>
            <div class="dropdown-menu">
                <?php $__currentLoopData = @$action['buttons']; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $button): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                    <?php if(eval('return ' . @$button['show'] . ';')): ?>
                        <a href="<?php if(isset($button['link'])): ?> <?php echo e(eval('echo ' . $button['link'] . ';')); ?><?php else: ?> # <?php endif; ?>" class="dropdown-item <?php echo e(@$button['class']); ?>"

                        <?php $__currentLoopData = $button['attributes'] ?? []; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $attribute => $value): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                            <?php echo e($attribute); ?>="<?php echo e(eval("return $value;")); ?>"
                        <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>

                        >
                            <?php if(isset($button['icon'])): ?>
                                <i class="<?php echo e($button['icon']); ?>"></i>
                            <?php endif; ?>
                            <?php echo e(__($button['name'])); ?>

                        </a>
                    <?php endif; ?>
                <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
            </div>
        </div>
    <?php else: ?>
        <?php $__currentLoopData = $action['buttons']; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $button): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
            <?php if(eval('return ' . $button['show'] . ';')): ?>
                <a
                    href="<?php if(isset($button['link'])): ?> <?php echo e(eval('echo ' . $button['link'] . ';')); ?><?php else: ?> # <?php endif; ?>"
                    class="btn btn-sm <?php echo e(@$button['class']); ?>"
                    <?php $__currentLoopData = $button['attributes'] ?? []; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $attribute => $value): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                        <?php echo e($attribute); ?>="<?php echo e(eval("return $value;")); ?>"
                    <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                >

                    <?php if(isset($button['icon'])): ?>
                        <i class="<?php echo e($button['icon']); ?>"></i>
                    <?php endif; ?>

                    <?php echo e(__($button['name'])); ?>

                </a>
            <?php endif; ?>
        <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
    <?php endif; ?>
<?php endif; ?>
<?php /**PATH /home/topminer/demo1.fancart.sbs/core/resources/views/components/viser_table/table-actions.blade.php ENDPATH**/ ?>