<?php
    $gameMenus = [
        ['name' => 'Slot',        'link' => '/mobile/account/games/slot?gc=slot',             'args' => "'slot'",                     'icon' => 'game-icon3'],
        ['name' => 'DD&Togel',    'link' => '/mobile/account/games/ddtogel?gc=ddtogel',       'args' => "'ddtogel', '1', 'DD&Togel'", 'icon' => 'game-icon6'],
        ['name' => 'Live Casino', 'link' => '/mobile/account/games/livecasino?gc=livecasino', 'args' => "'livecasino'",               'icon' => 'game-icon2'],
        ['name' => 'Sports',      'link' => '/mobile/account/games/sports?gc=sports',         'args' => "'sports'",                   'icon' => 'game-icon1'],
        ['name' => 'Sabung Ayam', 'link' => '/mobile/account/games/sabungayam?gc=sabungayam', 'args' => "'sabungayam'",               'icon' => 'game-icon10'],
        ['name' => 'E-Sports',    'link' => '/mobile/account/games/esports?gc=esports',       'args' => "'esports', '3', 'E-Sports'", 'icon' => 'game-icon11'],
        ['name' => 'Fishing',     'link' => '/mobile/account/games/fishing?gc=fishing',       'args' => "'fishing'",                  'icon' => 'game-icon4'],
        ['name' => 'Crash Game',  'link' => '/mobile/account/games/crashgame?gc=crashgame',   'args' => "'crashgame'",                'icon' => 'game-icon13'],
        ['name' => 'Table Game',  'link' => '/mobile/account/games/tablegame?gc=tablegame',   'args' => "'tablegame'",                'icon' => 'game-icon7'],
        ['name' => 'Bingo',       'link' => '/mobile/account/games/bingo?gc=bingo',           'args' => "'bingo', '1', 'Bingo'",      'icon' => 'game-icon14'],
        ['name' => 'Arcade',      'link' => '/mobile/account/games/arcade?gc=arcade',         'args' => "'arcade'",                   'icon' => 'game-icon5'],
    ];
?>
<div class="master-main masterheader masterheader1 mainheader mainheader1 mainheader1-design5 header-memo-right side-toggle-left">
    <div class="container">
        <div class="row">
            <div class="mobile-sidebar">
                <a aria-label="sidebar" href="javascript:;" class="sidebar-toggle" onclick="toggleSideBar(true);">
                    <div class="sidebar-icon">
                        <span class="icon-bar"></span>
                        <span class="icon-bar"></span>
                        <span class="icon-bar"></span>
                    </div>
                </a>
            </div>
            <div class="header-memo-container ">
                <div class="iconbar-container">
                    <a href="<?php echo e(route('account.memo')); ?>">
                        <span class="glyphicon glyphicon-bell header-memo"></span>
                        
                    </a>
                </div>
            </div>
            <div class="col-xs-12 logo-container p-0">
                <a href="<?php echo e(route('account.home')); ?>" class="logolink">
                    <img class="img-responsive  img-center" alt="<?php echo e(general()->brand); ?>" src="<?php echo e(asset('uploads/' . general()->logo)); ?>" />
                </a>
            </div>
        </div>
    </div>
    <div class="sidebar-menu-nav">
        <div id="sidebar" class="content">
            <div class="main-navbar navbar-inverse">
                <div class="userinfo">
                    
                    <div class="playerinfo">
                        <div class="info">
                            <span class="playername" translate="no"><?php echo e(auth()->user()->username); ?></span>
                            <span class="playercredit">IDR. 0</span>
                        </div>
                        <div class="refreshbox">
                            <a class="btnrefresh" href="javascript:UpdateWallet();"><span class="refresh-icon"></span></a>
                        </div>
                    </div>
                    <div class="actionarea">
                        <a href="<?php echo e(route('account.deposit')); ?>" class="actionbutton">
                            <div class="actionicon deposit"></div>
                            <div class="actiontitle">Deposit</div>
                        </a>
                        <div class="borderline"></div>
                        <a href="<?php echo e(route('account.withdraw')); ?>" class="actionbutton">
                            <div class="actionicon withdraw"></div>
                            <div class="actiontitle">Withdraw</div>
                        </a>
                        <div class="borderline"></div>
                        <a href="<?php echo e(route('account.walletsummary')); ?>" class="actionbutton">
                            <div class="actionicon history"></div>
                            <div class="actiontitle">History</div>
                        </a>
                    </div>
                </div>
                <ul class="nav navbar-nav">
                    <li><a href="<?php echo e(route('account.profile')); ?>"><span class="glyphicon glyphicon-list-alt"></span>Profil</a></li><li><a href="<?php echo e(route('account.deposit')); ?>"><span class="glyphicon glyphicon-transfer"></span>Depo/Withdraw</a></li><li><a href="<?php echo e(route('account.walletsummary')); ?>"><span class="glyphicon glyphicon-stats"></span>Transaksi</a></li><li><a href="<?php echo e(route('account.memo')); ?>"><span class="glyphicon glyphicon-bell"></span>Memo</a></li><li><a href="<?php echo e(route('account.referral')); ?>"><span class="glyphicon glyphicon-tags"></span>Referral</a></li><li><a href="<?php echo e(route('account.promo')); ?>"><span class="glyphicon glyphicon-thumbs-up"></span>Promosi</a></li><li><a href="<?php echo e(url('rtp')); ?>" target="_blank"><span class="glyphicon glyphicon-flash"></span>RTP</a></li><li><a href="<?php echo e(route('download.apk')); ?>"><span class="glyphicon glyphicon-cloud-download"></span>APK</a></li><li><a href="<?php echo e(livechat()->id_livechat); ?>" target="_blank"><span class="glyphicon glyphicon-user"></span>Livechat</a></li><li><a href="<?php echo e(route('account.logout')); ?>"><span class="glyphicon glyphicon-log-out"></span>Logout</a></li>
                </ul>
            </div>
        </div>
    </div>
</div>
<div class="master-main announcement-container announcement1 announcement1-design2">
    <div class="container">
        <div class="row">
            <div class="col-xs-12 announcement-content p-0">
                <span class="announcement-title glyphicon glyphicon-volume-up fa-solid fa-volume-high"></span>
                <div class="marquee">
                    <div class="marquee-content" style="white-space: nowrap;"><?php echo e(general()->title); ?></div>
                </div>
            </div>
        </div>
    </div>
</div>
<div class="master-main actionContainer mobile useraction-design1">
        <div class="container">
            <div class="row">
                <div class="col-xs-7 actionarea">
                    <a href="<?php echo e(route('account.deposit')); ?>" class="actionbutton">
                        <div class="actionicon deposit svg-icon"></div>
                        <div class="actiontitle">Deposit</div>
                    </a>
                    <div class="borderline"></div>
                    <a href="<?php echo e(route('account.withdraw')); ?>" class="actionbutton">
                        <div class="actionicon withdraw svg-icon"></div>
                        <div class="actiontitle">Withdraw</div>
                    </a>
                    <div class="borderline"></div>
                    <a href="<?php echo e(route('account.walletsummary')); ?>" class="actionbutton">
                        <div class="actionicon history svg-icon"></div>
                        <div class="actiontitle">History</div>
                    </a>
                </div>
                <div class="col-xs-5 infoarea">
                    <div class="info">
                        <span class="playername" translate="no"><?php echo e(auth()->user()->username); ?></span>
                        <span class="playercredit">IDR. <?php echo e(number_format(auth()->user()->balance, 0, ',', '.')); ?></span>
                    </div>
                    <div class="refreshbox">
                        <a class="btnrefresh" href="javascript:UpdateWallet();"><span class="refresh-icon"></span></a>
                    </div>
                </div>
            </div>
        </div>
    </div>

    <div class="master-main gamegroupContainer gamenavbar1-design1">
        <a href="javascript:;" class="tab-arrow left" onclick="scrollGameGroup(-1);">
            <div class="glyphicon glyphicon-chevron-left"></div>
        </a>
        <a href="javascript:;" class="tab-arrow right" onclick="scrollGameGroup(1);">
            <div class="glyphicon glyphicon-chevron-right"></div>
        </a>
        <nav id="gamegroupArea" class="navbar main-navbar navbar-inverse game-navbar">
            <ul class="nav navbar-nav">
                <?php $__currentLoopData = $gameMenus; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $menu): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                    
                    <li class="gamemenu <?php echo e($loop->first ? 'selected first' : ''); ?>">
                        <a href="javascript:;" 
                           data-link="<?php echo e($menu['link']); ?>" 
                           
                           onclick="clickGame(this, <?php echo $menu['args']; ?>);">
                           
                            <span class="gameicon svg-icon" data-file="solid_5" data-game="<?php echo e($menu['icon']); ?>"></span>
                            <?php echo e($menu['name']); ?>

                            
                        </a>
                    </li>
                <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
            </ul>
        </nav>
    </div><?php /**PATH /www/wwwroot/website/sewa/dragon158/resources/views/frontend/mobile/pages/account/components/header.blade.php ENDPATH**/ ?>