<?php if($categories->count() > 0): ?>
    <?php if (isset($component)) { $__componentOriginal0e8b16662ac81a14be4700ec450d8cbc = $component; } ?>
<?php if (isset($attributes)) { $__attributesOriginal0e8b16662ac81a14be4700ec450d8cbc = $attributes; } ?>
<?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.page-wrapper','data' => ['title' => $title]] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? $attributes->all() : [])); ?>
<?php $component->withName('page-wrapper'); ?>
<?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(['title' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($title)]); ?>
        <ul class="list-group list-group-flush">
            <?php $__currentLoopData = $categories; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $category): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                <li class="list-group-item">
                    <a href="<?php echo e(route('tool.category', ['category' => $category->slug])); ?>">
                        <?php echo e($category->name); ?>

                        <?php if(isset($config['tool_counts']) && $config['tool_counts']): ?>
                            <span class="text-muted">(<?php echo e($category->tools_count ?? ''); ?>)</span>
                        <?php endif; ?>
                    </a>
                </li>
            <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
        </ul>
     <?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__attributesOriginal0e8b16662ac81a14be4700ec450d8cbc)): ?>
<?php $attributes = $__attributesOriginal0e8b16662ac81a14be4700ec450d8cbc; ?>
<?php unset($__attributesOriginal0e8b16662ac81a14be4700ec450d8cbc); ?>
<?php endif; ?>
<?php if (isset($__componentOriginal0e8b16662ac81a14be4700ec450d8cbc)): ?>
<?php $component = $__componentOriginal0e8b16662ac81a14be4700ec450d8cbc; ?>
<?php unset($__componentOriginal0e8b16662ac81a14be4700ec450d8cbc); ?>
<?php endif; ?>
<?php endif; ?>
<?php /**PATH /www/wwwroot/webtoolzone.com/resources/themes/canvas/widgets/tool_categories.blade.php ENDPATH**/ ?>