<?php $__env->startSection('content'); ?>

    <div id="showM">
        <div class="overlap g8mmenu-close"></div>
        <?php echo $__env->make('frontend.partials.mobile.header', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
        <?php echo $__env->make('frontend.partials.mobile.sidebar-menu', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>

        <div class="content">
            <ul class="menu-2">
                <li><a href="/sportsbook"><svg width="35" height="35"><image xlink:href="https://d1bkaj2gcjb1cb.cloudfront.net/common/assets/images/icon/menu/sportsbook.svg" width="100%" height="100%"></image></svg><span>Sportsbook</span></a></li>
                <li><a href="/slots-provider"><svg width="35" height="35"><image xlink:href="https://d1bkaj2gcjb1cb.cloudfront.net/common/assets/images/icon/menu/slot.svg" width="100%" height="100%"></image></svg><span>Slots</span></a></li>
                <li><a href="/livecasino"><svg width="35" height="35"><image xlink:href="https://d1bkaj2gcjb1cb.cloudfront.net/common/assets/images/icon/menu/livecasino.svg" width="100%" height="100%"></image></svg><span>Live Casino</span></a></li>
                <li><a href="/poker"><svg width="35" height="35"><image xlink:href="https://d1bkaj2gcjb1cb.cloudfront.net/common/assets/images/icon/menu/poker.svg" width="100%" height="100%"></image></svg><span>Poker</span></a></li>
                <li><a href="/tangkas"><svg width="35" height="35"><image xlink:href="https://d1bkaj2gcjb1cb.cloudfront.net/common/assets/images/icon/menu/tangkas.svg" width="100%" height="100%"></image></svg><span>Tangkas</span></a></li>
                <li class="active"><a href="/fish"><svg width="35" height="35"><image xlink:href="https://d1bkaj2gcjb1cb.cloudfront.net/common/assets/images/icon/menu/fish.svg" width="100%" height="100%"></image></svg><span>Fish</span></a></li>
                <li><a href="/others"><svg width="35" height="35"><image xlink:href="https://d1bkaj2gcjb1cb.cloudfront.net/common/assets/images/icon/menu/game.svg" width="100%" height="100%"></image></svg><span>Others</span></a></li>
                <li><a href="/hot"><svg width="35" height="35"><image xlink:href="https://d1bkaj2gcjb1cb.cloudfront.net/common/assets/images/icon/menu/vip.svg" width="100%" height="100%"></image></svg><span>Hot</span></a></li>
            </ul>

            <div class="nav__title">Fish</div>
            
            <section class="box">
                <div class="box__detail s1">
                    <?php $__empty_1 = true; $__currentLoopData = $fish; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $game): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); $__empty_1 = false; ?>
                        <?php
                            $gameUrl = "/secure/shr/playGame?gc=sportsbook&gg=" . strtolower($game->provider_code) . "&gs=" . $game->game_code;
                        ?>
                        
                        <div class="box__detail-img" style="margin-bottom: 10px;">
                            <a href="javascript:void(0)" class="<?php echo e(auth()->check() ? 'play-game-btn' : 's-check-login'); ?>" data-url="<?php echo e($gameUrl); ?>">
                                <img src="<?php echo e($game->game_image); ?>" alt="<?php echo e($game->game_name); ?>" style="width: 100%; border-radius: 8px; object-fit: cover;" loading="lazy" onerror="this.src='<?php echo e(asset('assets/custom/img/default.png')); ?>'">
                            </a>
                        </div>
                    <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); if ($__empty_1): ?>
                        <div class="box__detail-img">
                            <a href="javascript:void(0)" class="<?php echo e(auth()->check() ? 'play-game-btn' : 's-check-login'); ?>" data-url="/secure/shr/playGame?gc=sportsbook&gg=cmd&gs=flashtech">
                                <img src="https://d1bkaj2gcjb1cb.cloudfront.net/common/assets/images/banner/desktop-v2/fish-Vpower-web.webp" alt="fish-vp" loading="lazy">
                                <div class="cta">Main Sekarang</div>
                            </a>
                        </div>
                        <!-- <div class="box__detail-img">
                            <a href="#" class="j-winopen" action="fishace">
                                <img src="https://d1bkaj2gcjb1cb.cloudfront.net/common/assets/images/banner/mobile/big/fish-fa.jpg" alt="fish-fa" loading="lazy">
                                <div class="cta">Main Sekarang</div>
                            </a>
                        </div> -->
                        <div class="box__detail-img">
                            <a href="javascript:void(0)" class="<?php echo e(auth()->check() ? 'play-game-btn' : 's-check-login'); ?>" data-url="/secure/shr/playGame?gc=sportsbook&gg=cmd&gs=flashtech">
                                <img src="https://d1bkaj2gcjb1cb.cloudfront.net/common/assets/images/banner/desktop-v2/fish-KAGaming-web.webp" alt="fish-ka" loading="lazy">
                                <div class="cta">Main Sekarang</div>
                            </a>
                        </div>
                        <div class="box__detail-img">
                            <a href="javascript:void(0)" class="<?php echo e(auth()->check() ? 'play-game-btn' : 's-check-login'); ?>" data-url="/secure/shr/playGame?gc=sportsbook&gg=cmd&gs=flashtech">
                                <img src="https://d1bkaj2gcjb1cb.cloudfront.net/common/assets/images/banner/desktop-v2/fish-Joker-web.webp" alt="fish-joker" loading="lazy">
                                <div class="cta">Main Sekarang</div>
                            </a>
                        </div>
                        <!-- <div class="box__detail-img">
                            <a href="#" class="j-winopen" action="others-pt">
                                <img src="https://d1bkaj2gcjb1cb.cloudfront.net/common/assets/images/banner/mobile/big/others-pt.jpg" alt="others-pt" loading="lazy">
                                <div class="cta">Main Sekarang</div>
                            </a>
                        </div> -->
                    <?php endif; ?>
                </div>
            </section>
            <section class="seo"></section>
        </div>
        
        <?php echo $__env->make('frontend.partials.mobile.bottom-nav', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
    </div>


    <div id="showD">
        <?php echo $__env->make('frontend.partials.desktop.header', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>

        <section class="slider">
            <section class="marquee">
                <div class="wrapper">
                    <div class="s-a">
                        <div class="marquee__bullhorn">
                            <i class="fas fa-bullhorn"></i>
                        </div>
                        <marquee scrolldelay="150" behavior="scroll" onmouseover="this.stop();" onmouseout="this.start();" direction="left">
                            <div style="width: 100000px; transform: translateX(0px);" class="js-marquee-wrapper">
                                <div class="js-marquee" style="margin-right: 0px; float: left;"><?php echo e(general()->title); ?></div>
                            </div>
                        </marquee>
                    </div>
                </div>
            </section>
            
            <div class="swiper__img">
                <div style="padding-top: 37px;"></div>
                <img src="https://d1bkaj2gcjb1cb.cloudfront.net/common/assets/images/banner/category-v2/fish.jpg" style="width: 100%; max-width: 1200px; margin: 0 auto; display: block;" alt="Banner">
            </div>
        </section>

        <section class="featured">
            <div class="wrapper">
                <div class="featured__detail">
                    <div class="featured__detail-content">

                        <?php $__empty_1 = true; $__currentLoopData = $fish; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $game): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); $__empty_1 = false; ?>
                            <?php
                                $gameUrl = "/secure/shr/playGame?gc=sportsbook&gg=" . strtolower($game->provider_code) . "&gs=" . $game->game_code;
                            ?>

                            <div class="content-box">
                                <a href="javascript:void(0)" class="<?php echo e(auth()->check() ? 'play-game-btn' : 's-check-login'); ?>" data-url="<?php echo e($gameUrl); ?>" style="position: absolute; width: 100%; height: 100%; z-index: 10;"></a>
                                <div class="content-box__img has-shadow">
                                    <img src="<?php echo e($game->game_image); ?>" alt="<?php echo e($game->game_name); ?>" class="img-blur" loading="lazy" onerror="this.src='<?php echo e(asset('assets/custom/img/default.png')); ?>'">
                                    <div class="cta-play"><div class="button-play">Main Sekarang</div></div>
                                </div>
                                <div class="content-box__text">
                                    <div class="content-box__text-title text-center"><strong><?php echo e($game->game_name); ?></strong></div>
                                </div>
                            </div>
                        <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); if ($__empty_1): ?>
                            <div class="content-box">
                                <a href="javascript:void(0)" class="<?php echo e(auth()->check() ? 'play-game-btn' : 's-check-login'); ?>" data-url="/secure/shr/playGame?gc=sportsbook&gg=cmd&gs=flashtech" style="position: absolute; width: 100%; height: 100%; z-index: 10;"></a>
                                <div class="content-box__img has-shadow">
                                    <img src="https://d1bkaj2gcjb1cb.cloudfront.net/common/assets/images/banner/desktop-v2/fish-Vpower-web.webp" alt="fish-vp" class="img-blur" loading="lazy">
                                    <div class="cta-play">
                                        <div class="button-play">Main Sekarang</div>
                                    </div>
                                </div>
                                <div class="content-box__text">
                                    <div class="content-box__text-title text-center">
                                        <strong>V Power</strong>
                                    </div>
                                </div>
                            </div>
                            <!-- <div class="content-box">
                                <a href="#" class="j-winopen" action="fishace"></a>
                                <div class="content-box__img has-shadow">
                                    <img src="https://d1bkaj2gcjb1cb.cloudfront.net/common/assets/images/banner/desktop/fish-fa.png" alt="fish-fa" class="img-blur" loading="lazy">
                                    <div class="cta-play">
                                        <div class="button-play">Main Sekarang</div>
                                    </div>
                                </div>
                                <div class="content-box__text">
                                    <div class="content-box__text-title text-center">
                                        <strong>Fish Ace</strong>
                                    </div>
                                </div>
                            </div> -->
                            <div class="content-box">
                                <a href="javascript:void(0)" class="<?php echo e(auth()->check() ? 'play-game-btn' : 's-check-login'); ?>" data-url="/secure/shr/playGame?gc=sportsbook&gg=cmd&gs=flashtech" style="position: absolute; width: 100%; height: 100%; z-index: 10;"></a>
                                <div class="content-box__img has-shadow">
                                    <img src="https://d1bkaj2gcjb1cb.cloudfront.net/common/assets/images/banner/desktop-v2/fish-KAGaming-web.webp" alt="fish-ka" class="img-blur" loading="lazy">
                                    <div class="cta-play">
                                        <div class="button-play">Main Sekarang</div>
                                    </div>
                                </div>
                                <div class="content-box__text">
                                    <div class="content-box__text-title text-center">
                                        <strong>KA Gaming</strong>
                                    </div>
                                </div>
                            </div>
                            <div class="content-box">
                                <a href="javascript:void(0)" class="<?php echo e(auth()->check() ? 'play-game-btn' : 's-check-login'); ?>" data-url="/secure/shr/playGame?gc=sportsbook&gg=cmd&gs=flashtech" style="position: absolute; width: 100%; height: 100%; z-index: 10;"></a>
                                <div class="content-box__img has-shadow">
                                    <img src="https://d1bkaj2gcjb1cb.cloudfront.net/common/assets/images/banner/desktop-v2/fish-Joker-web.webp" alt="fish-joker" class="img-blur" loading="lazy">
                                    <div class="cta-play">
                                        <div class="button-play">Main Sekarang</div>
                                    </div>
                                </div>
                                <div class="content-box__text">
                                    <div class="content-box__text-title text-center">
                                        <strong>Joker</strong>
                                    </div>
                                </div>
                            </div>
                            <!-- <div class="content-box">
                                <a href="#" class="j-winopen" action="others-pt"></a>
                                <div class="content-box__img has-shadow">
                                    <img src="https://d1bkaj2gcjb1cb.cloudfront.net/common/assets/images/banner/desktop/others-pt.png" alt="others-pt" class="img-blur" loading="lazy">
                                    <div class="cta-play">
                                        <div class="button-play">Main Sekarang</div>
                                    </div>
                                </div>
                                <div class="content-box__text">
                                    <div class="content-box__text-title text-center">
                                        <strong>Playtech</strong>
                                    </div>
                                </div>
                            </div> -->
                        <?php endif; ?>

                    </div>
                </div>
            </div>
        </section>

        <section class="sidebar s-sidebar"></section>
        
        <?php echo $__env->make('frontend.partials.desktop.footer', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
    </div>
<?php $__env->stopSection(); ?>

<?php $__env->startPush('scripts'); ?>
<script type="text/javascript">
    window.loadMeIfReady = function() {
    };

    $(document).ready(function() {
        $(document).on('click', '.play-game-btn', function(e) {
            e.preventDefault();
            let url = $(this).attr('data-url');
            
            $(this).siblings('.content-box__img').find('.button-play').html('<i class="fa fa-spinner fa-spin"></i> Loading');
            window.location.href = url; 
        });

        $(document).on('click', '.s-check-login', function(e) {
            e.preventDefault();
            if (typeof jAlert === "function") {
                jAlert('Silahkan login atau mendaftar untuk masuk kedalam permainan.', 'Peringatan');
            } else {
                alert('Silahkan login atau mendaftar untuk masuk kedalam permainan.');
            }
        });
    });
</script>
<script type="text/javascript">
    $(document).ready(function() {
        
        $(document).on('click', '.play-game-btn', function(e) {
            e.preventDefault();
            let url = $(this).attr('data-url');
            
            $(this).siblings('.content-box__img').find('.button-play').html('<i class="fa fa-spinner fa-spin"></i> Loading...');
            
            window.location.href = url; 
        });

        $(document).on('click', '.s-check-login', function(e) {
            e.preventDefault();
            
            if (typeof jAlert === "function") {
                jAlert('Silahkan login atau mendaftar untuk masuk kedalam permainan.', 'Peringatan');
            } else {
                alert('Silahkan login atau mendaftar untuk masuk kedalam permainan.');
            }
        });

    });
</script>
<?php $__env->stopPush(); ?>
<?php echo $__env->make('frontend.layouts.app', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /www/wwwroot/website/sewa/butuhjp/resources/views/frontend/pages/provider/fish.blade.php ENDPATH**/ ?>