
<?php $__env->startSection('content'); ?>
    <!-- Page-content -->
    <div class="group-data-[sidebar-size=lg]:ltr:md:ml-vertical-menu group-data-[sidebar-size=lg]:rtl:md:mr-vertical-menu group-data-[sidebar-size=md]:ltr:ml-vertical-menu-md group-data-[sidebar-size=md]:rtl:mr-vertical-menu-md group-data-[sidebar-size=sm]:ltr:ml-vertical-menu-sm group-data-[sidebar-size=sm]:rtl:mr-vertical-menu-sm pt-[calc(theme('spacing.header')_*_1)] pb-[calc(theme('spacing.header')_*_0.8)] px-4 group-data-[navbar=bordered]:pt-[calc(theme('spacing.header')_*_1.3)] group-data-[navbar=hidden]:pt-0 group-data-[layout=horizontal]:mx-auto group-data-[layout=horizontal]:max-w-screen-2xl group-data-[layout=horizontal]:px-0 group-data-[layout=horizontal]:group-data-[sidebar-size=lg]:ltr:md:ml-auto group-data-[layout=horizontal]:group-data-[sidebar-size=lg]:rtl:md:mr-auto group-data-[layout=horizontal]:md:pt-[calc(theme('spacing.header')_*_1.6)] group-data-[layout=horizontal]:px-3 group-data-[layout=horizontal]:group-data-[navbar=hidden]:pt-[calc(theme('spacing.header')_*_0.9)]">
        <div class="container-fluid group-data-[content=boxed]:max-w-boxed mx-auto">
            <div class="flex flex-col gap-2 py-4 md:flex-row md:items-center print:hidden">
                <div class="grow">
                    <h5 class="text-16">Race Pack <?php echo e($lok[0]->event_name); ?></h5>
                </div>
                <ul class="flex items-center gap-2 text-sm font-normal shrink-0">
                    <li class="relative before:content-['\ea54'] before:font-remix ltr:before:-right-1 rtl:before:-left-1  before:absolute before:text-[18px] before:-top-[3px] ltr:pr-4 rtl:pl-4 before:text-slate-400 dark:text-zink-200">
                        <a href="#!" class="text-slate-400 dark:text-zink-200">Peserta</a>
                    </li>
                    <li class="text-slate-700 dark:text-zink-100">
                        Daftar Peserta <?php echo e($lok[0]->event_name); ?>

                    </li>
                </ul>
            </div>

     
         

            <div class="card">
                <div class="card-body">
                    <div class="flex items-center">
                        <h6 class="text-15 grow">Peserta </h6>
                      
                    
                    </div>
                    <br>
                    <table id="alternativePagination" class="display" style="width:100%">
                        <thead>
                            <tr>
                                <th class="px-3.5 py-2.5 font-semibold border border-slate-200 dark:border-zink-500">No</th>
                                <th hidden>ID</th>
                                <th class="px-3.5 py-2.5 font-semibold border border-slate-200 dark:border-zink-500">Loket</th>
                                <th class="px-3.5 py-2.5 font-semibold border border-slate-200 dark:border-zink-500">Bib Number</th>
   
                                <th class="px-3.5 py-2.5 font-semibold border border-slate-200 dark:border-zink-500">Full Name</th>
                                <th class="px-3.5 py-2.5 font-semibold border border-slate-200 dark:border-zink-500">Jenis Kelamin</th>

                                <th class="px-3.5 py-2.5 font-semibold border border-slate-200 dark:border-zink-500">Size Jersey</th>

                               
                            </tr>
                        </thead>
                        <tbody>
                            <?php $__currentLoopData = $peserta; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $key => $value): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                            <?php if($value->package == 1): ?>
                                    <?php
                                    $kat = 'Fan Walk'
                                    ?>
                                <?php elseif($value->package == 2): ?>
                                    <?php
                                    $kat = '5K'
                                    ?>
                                <?php elseif($value->package == 3): ?>
                                    <?php
                                    $kat = '10K'
                                    ?>
                                <?php elseif($value->package == 4): ?>
                                    <?php
                                    $kat = 'HM'
                                    ?>
                                <?php elseif($value->package == '5A'): ?>
                                    <?php
                                    $kat = 'Kids Dash 400M'
                                    ?>
                                <?php else: ?>
                                    <?php
                                    $kat = 'Kids Dash 200'
                                    ?>
                                <?php endif; ?>   

                                <tr>
                                    <td class="px-3.5 py-2.5 border border-slate-200 dark:border-zink-500"><?php echo e(++$key); ?></td>
                                    <td class="id_update" hidden><?php echo e($value->order_id); ?></td>
                                    <td class="px-3.5 py-2.5 border border-slate-200 dark:border-zink-500">Loket <?php echo e($value->loket); ?></td>
                                    <td class="px-3.5 py-2.5 border border-slate-200 dark:border-zink-500"><?php echo e($value->bib_number); ?></td>
                  
                                    <td class="px-3.5 py-2.5 border border-slate-200 dark:border-zink-500"><?php echo e($value->full_name); ?></td>
                                    <td class="px-3.5 py-2.5 border border-slate-200 dark:border-zink-500"><?php echo e($value->jenis_kelamin); ?></td>
                                    <?php if($value->package !=='ELyx4'): ?>
                                    <td class="px-3.5 py-2.5 border border-slate-200 dark:border-zink-500"><?php echo e($value->tshirt_size); ?></td>
                                    <?php else: ?>
                                    <td class="px-3.5 py-2.5 border border-slate-200 dark:border-zink-500">-</td>
                                    <?php endif; ?>
                                    
                                </tr>
                            <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                        </tbody>
                    </table>
                </div>
            </div>
        </div>
    </div>
    <!-- End Page-content -->


    
  

<?php $__env->startSection('script'); ?>
    
    <script>
        setInterval(function(){
            location.reload();  // Untuk me-refresh seluruh halaman
        }, 2000);  // 1000 ms = 1 detik
    </script>
   
<?php $__env->stopSection(); ?>
<?php $__env->stopSection(); ?>

<?php echo $__env->make('layouts.master', array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?><?php /**PATH C:\xampp\htdocs\runningSystem\resources\views/peserta/gudangBw.blade.php ENDPATH**/ ?>