<?php
    $paginator = $paginator ?? $items ?? null;
?>
<?php if($paginator): ?>
<div class="d-flex flex-wrap justify-content-between align-items-center gap-2 p-3 pt-0">
    <form method="get" class="d-flex align-items-center gap-2">
        <?php $__currentLoopData = request()->except(['per_page', 'page']); $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $key => $value): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
            <?php if(is_array($value)): ?>
                <?php $__currentLoopData = $value; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $item): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                    <input type="hidden" name="<?php echo e($key); ?>[]" value="<?php echo e($item); ?>">
                <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
            <?php else: ?>
                <input type="hidden" name="<?php echo e($key); ?>" value="<?php echo e($value); ?>">
            <?php endif; ?>
        <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
        <label class="small text-muted mb-0"><?php echo e(__('messages.per_page')); ?></label>
        <select name="per_page" class="form-select form-select-sm" style="width:auto" onchange="this.form.submit()">
            <?php $__currentLoopData = [25, 50, 100]; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $n): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                <option value="<?php echo e($n); ?>" <?php if(per_page() === $n): echo 'selected'; endif; ?>><?php echo e($n); ?></option>
            <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
        </select>
    </form>
    <div><?php echo e($paginator->links()); ?></div>
</div>
<?php endif; ?>
<?php /**PATH D:\laragon\www\esim\resources\views/partials/pagination.blade.php ENDPATH**/ ?>