<?php $__env->startSection('content'); ?>
<?php
    $kycInfo = getContent('kyc_info.content',true);
?>

<?php
    $banners = getContent('banner.element');
    $carouselfirst = 0; 
?>
    <!-- hero-section start -->
    <div class="container pt-4 pb-1 mt-5">
        <div id="carouselExampleIndicators" class="carousel slide pointer-event" data-bs-ride="carousel">
            <div style="height: 100%;" class="carousel-inner shadow rounded">
                <?php $__currentLoopData = $banners; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $banner): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                <div class="carousel-item <?php if($carouselfirst==0): ?>active <?php endif; ?>">
                    <img src="<?php echo e(asset('assets/images/frontend/banner/'.$banner->data_values->image)); ?>" class="d-block w-100" alt="<?php echo e(__($banner->data_values->heading)); ?>">
                </div>
                <?php
                $carouselfirst = 2;
                ?>
                <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
            </div>
            <button class="carousel-control-prev" type="button" data-bs-target="#carouselExampleIndicators" data-bs-slide="prev">
                <span class="carousel-control-prev-icon" aria-hidden="true"></span>
                <span class="visually-hidden">Previous</span>
            </button>
            <button class="carousel-control-next" type="button" data-bs-target="#carouselExampleIndicators" data-bs-slide="next">
                <span class="carousel-control-next-icon" aria-hidden="true"></span>
                <span class="visually-hidden">Next</span>
            </button>
        </div>
    </div>
</div>
</div>
 <br>
           





            
                <?php if(auth()->user()->kv == 0): ?>
                <div class="container my-2 pt-2">
                <div class="wallet-card">
                    <div class="alert alert-info" role="alert">
                        <h4 class="alert-heading"><?php echo app('translator')->get('KYC Verification required'); ?></h4>
                        <hr>
                        <p class="mb-0"><?php echo e(__($kycInfo->data_values->verification_content)); ?> <a
                                href="<?php echo e(route('user.kyc.form')); ?>"><?php echo app('translator')->get('Click Here to Verify'); ?></a>
                        </p>
                    </div>
                </div>
                </div>
                <?php elseif(auth()->user()->kv == 2): ?>
                <div class="container my-2 pt-2">
                <div class="wallet-card">
                    <div class="alert alert-warning" role="alert">
                        <h4 class="alert-heading"><?php echo app('translator')->get('KYC Verification pending'); ?></h4>
                        <hr>
                        <p class="mb-0"><?php echo e(__($kycInfo->data_values->pending_content)); ?> <a
                                href="<?php echo e(route('user.kyc.data')); ?>"><?php echo app('translator')->get('See KYC Data'); ?></a></p>
                    </div>
                </div>
                </div>
                <?php endif; ?>
                <div class="container mt-1 pb-0">
        <div class="row rounded bg--primary shadow-sm">
            <div class="col-1 pt-1 mb-0" align="center">
                <ion-icon name="volume-high-outline" style="font-size: 20px;color: #ffffff" role="img" class="md hydrated" aria-label="volume high outline"></ion-icon>
            </div>
            <div class="col-11">
                <marquee behavior="scroll" direction="left">
                    <h5 class="align-middle text-light mt-1 mb-0">This is <?php echo e($general->siteName(__())); ?>. It's a Earning Website.</h5>
                </marquee>
            </div>
        </div>
    
     
    
        <br>
      <div class="stat-box row">
        <a href="<?php echo e(route('user.deposit.index')); ?>" class="col-3 text-center">
            <div class="card  text-center" style="height: 60px; width: 60px; margin:auto; padding:3px;">
                <div class="card-body p-0">
                   <img src="https://i.ibb.co/4F4wBqV/wallet-6418298.png" height="50px" width="50px" />
                </div>
            </div>
            <span class="small-font">Deposit</span>
        </a>
        <a href="<?php echo e(route('user.withdraw')); ?>" class="col-3 text-center">
            <div class="card  text-center" style="height: 60px; width: 60px; margin:auto; padding:3px;">
                <div class="card-body p-0">
                   <img src="https://i.ibb.co/3M81PKk/withdrawal-6418359.png" height="50px" width="50px" />
                </div>
            </div>
            <span class="small-font">Withdraw</span>
        </a>
        <a href="<?php echo e(route('user.referred')); ?>" class="col-3 text-center">
             <div class="card  text-center" style="height: 60px; width: 60px; margin:auto; padding:3px;">
                <div class="card-body p-0">
                   <img src="https://i.ibb.co/JcSS1Hj/link-8358997.png" height="50px" width="50px" />
                </div>
            </div>
            <span class="small-font">Refer</span>
        </a>
        <a href="<?php echo e(route('user.profile.setting')); ?>" class="col-3 text-center">
            <div class="card  text-center" style="height: 60px; width: 60px; margin:auto; padding:3px;">
                <div class="card-body p-0">
                   <img src="https://i.ibb.co/J3ZFC0D/report-9356364.png" height="50px" width="50px" />
                </div>
            </div>
            <span class="small-font">Profile</span>
        </a>
        
    <div class="gradient-divider"></div>
    
     
        <a href="<?php echo e(route('user.ptc.index')); ?>" class="col-3 text-center">
            <div class="card  text-center" style="height: 60px; width: 60px; margin:auto; padding:3px;">
                <div class="card-body p-0">
                   <img src="https://i.postimg.cc/nhMpT08J/employee-4580234.png" height="50px" width="50px" />
                </div>
            </div>
            <span class="small-font">Work</span>
        </a>
        <a href="<?php echo e(route('plans')); ?>" class="col-3 text-center">
            <div class="card  text-center" style="height: 60px; width: 60px; margin:auto; padding:3px;">
                <div class="card-body p-0">
                   <img src="https://i.postimg.cc/QtYqg8cs/vip-4114568.png" height="50px" width="50px" />
                </div>
            </div>
            <span class="small-font">Vip Plan</span>
        </a>
        <a href="https://t.me/securelabbd" class="col-3 text-center">
             <div class="card  text-center" style="height: 60px; width: 60px; margin:auto; padding:3px;">
                <div class="card-body p-0">
                   <img src="https://i.postimg.cc/1RGvYqw7/info-center-5649643.png" height="50px" width="50px" />
                </div>
            </div>
            <span class="small-font">Support</span>
        </a>
        <a href="<?php echo e(route('user.logout')); ?>" class="col-3 text-center">
            <div class="card  text-center" style="height: 60px; width: 60px; margin:auto; padding:3px;">
                <div class="card-body p-0">
                   <img src="https://i.postimg.cc/0Nxcd5HK/down-arrow-5076319.png" height="50px" width="50px" />
                </div>
            </div>
            <span class="small-font">Log Out</span>
        </a>
    </div>
           </div>      
 </div>
  </div>
  
  
  <br>
  <div class="col-md-6 mb-30">
                <div class="widget-two h-100 box--shadow2 b-radius--5 bg--white">
                    <img src="https://i.postimg.cc/nLcwfcYb/coin-8569591.png" class="overlay-icon" height="120px" width="120px" />
                    
                    <div class="widget-two__icon b-radius--5 bg--primary">
                         <img src="https://i.postimg.cc/nLcwfcYb/coin-8569591.png" height="80px" width="80px" />
                    </div>
                    <div class="widget-two__content">
                        <h2 class="bal"><?php echo e(showAmount($user->balance)); ?> <?php echo e($general->cur_text); ?></h2>
                        <div class="d-flex flex-wrap justify-content-between position-relative">
                            <p>My Balance</p>
                        </div>
                    </div>
                </div>
                 </div>
                 
                  <div class="col-md-6 mb-30">
                <div class="widget-two h-100 box--shadow2 b-radius--5 bg--white">
                    <img src="https://i.postimg.cc/02kSfM8s/mention-5660503.png" class="overlay-icon" height="120px" width="120px" />
                    
                    <div class="widget-two__icon b-radius--5 bg--primary">
                         <img src="https://i.postimg.cc/02kSfM8s/mention-5660503.png" height="80px" width="80px" />
                    </div>
                    <div class="widget-two__content">
                        <h2 class="bal"> <span class="chip-label"><?php echo e($user->firstname); ?> <?php echo e($user->lastname); ?></h2>
                        <div class="d-flex flex-wrap justify-content-between position-relative">
                            <p>Status:<?php if($user->plan): ?>
                                <?php echo e(__($user->plan->name)); ?> <?php if($user->expire_date < now()): ?> (<?php echo app('translator')->get('Expired'); ?>) <?php endif; ?>
                            <?php else: ?>
                                <?php echo app('translator')->get('Not Active'); ?>
                            <?php endif; ?></p>
                        </div>
                    </div>
                </div>
                 </div>
  
   <div class="col-md-6 mb-30">
                <div class="widget-two h-100 box--shadow2 b-radius--5 bg--white">
                    <img src="https://i.postimg.cc/3r1cxGN4/work-time-5431638.png" class="overlay-icon" height="120px" width="120px" />
                    
                    <div class="widget-two__icon b-radius--5 bg--primary">
                         <img src="https://i.postimg.cc/3r1cxGN4/work-time-5431638.png" height="80px" width="80px" />
                    </div>
                    <div class="widget-two__content">
                        <h2 class="bal"><?php echo e($user->daily_limit - $user->clicks->where('view_date',Date('Y-m-d'))->count()); ?> Task</h2>
                        <div class="d-flex flex-wrap justify-content-between position-relative">
                            <p>Remain Task</p>
                        </div>
                    </div>
                </div>
                 </div>
                 
                 
   <div class="col-md-6 mb-30">
                <div class="widget-two h-100 box--shadow2 b-radius--5 bg--white">
                    <img src="https://i.postimg.cc/3J70nyFB/medical-test-9470697.png" class="overlay-icon" height="120px" width="120px" />
                    
                    <div class="widget-two__icon b-radius--5 bg--primary">
                         <img src="https://i.postimg.cc/3J70nyFB/medical-test-9470697.png" height="80px" width="80px" />
                    </div>
                    <div class="widget-two__content">
                        <h2 class="bal"><?php echo e($user->clicks->count()); ?> Task</h2>
                        <div class="d-flex flex-wrap justify-content-between position-relative">
                            <p>Complete Task</p>
                        </div>
                    </div>
                </div>
                 </div>
               
              <!-- * Wallet Footer -->
         
    
     
        <!--<div class="listview-title mt-1">Menu</div>-->

 <div class="container mt-1 pb-0">
        <div class="container mt-1 pb-0 stat-box">
             
    
 <div class="box">
     <img src="<?php echo e(asset('assets/images/logoIcon/logo.png')); ?>" alt="logo" class="logo" style="max-height: 45px;">
        <h2>About Us</h2>
        <p class="description"><h4>'<?php echo e($general->siteName(__())); ?>' is a trusted company site Which fetches ads from other places and gives you views and gives you some profit from it. You can earn lifetime income from it. Join Telegram now to get all updates.</h4></p>
    </div>
    </div>
    <br>
    </div>
     
    <div class="py-5">&nbsp;</div>
    
<?php $__env->stopSection(); ?>
<?php $__env->startPush('script'); ?>

 <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.6.0/jquery.min.js"></script>

    <script>
        $('#balance').hide();
        $('#waitBtn').hide();

        function forntClick() {
            $('#tapBtn').hide();
            $('#waitBtn').show();
            window.setTimeout(function() {
                $('#waitBtn').hide();
                $('#balance').show();
            }, 1000);

            window.setTimeout(function() {

                $('#forntSiteBtn').addClass("colorAnim2");
                $('#balance').hide();
                $('#tapBtn').show();
            }, 5000);

        }
    </script>
    
<script src="<?php echo e(asset('assets/admin/js/vendor/apexcharts.min.js')); ?>"></script>
<script>
(function ($) {
    "use strict";
    // apex-bar-chart js
    var options = {
      series: [{
      name: 'Clicks',
      data: [
        <?php $__currentLoopData = $chart['click']; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $key => $click): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
            <?php echo e($click); ?>,
        <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
      ]
    }, {
      name: 'Earn Amount',
      data: [
            <?php $__currentLoopData = $chart['amount']; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $key => $amount): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                <?php echo e($amount); ?>,
            <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
      ]
    }],
      chart: {
      type: 'bar',
      height: 580,
      toolbar: {
        show: false
      }
    },
    plotOptions: {
      bar: {
        horizontal: false,
        columnWidth: '55%',
        endingShape: 'rounded'
      },
    },
    dataLabels: {
      enabled: false
    },
    stroke: {
      show: true,
      width: 2,
      colors: ['transparent']
    },
    xaxis: {
      categories: [
      <?php $__currentLoopData = $chart['amount']; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $key => $amount): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                '<?php echo e($key); ?>',
            <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
    ],
    },
    fill: {
      opacity: 1
    },
    tooltip: {
      y: {
        formatter: function (val) {
          return val
        }
      }
    }
    };
    var chart = new ApexCharts(document.querySelector("#apex-bar-chart"), options);
    chart.render();
        function createCountDown(elementId, sec) {
            var tms = sec;
            var x = setInterval(function() {
                var distance = tms*1000;
                var days = Math.floor(distance / (1000 * 60 * 60 * 24));
                var hours = Math.floor((distance % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60));
                var minutes = Math.floor((distance % (1000 * 60 * 60)) / (1000 * 60));
                var seconds = Math.floor((distance % (1000 * 60)) / 1000);
                document.getElementById(elementId).innerHTML =days+"d: "+ hours + "h "+ minutes + "m " + seconds + "s ";
                if (distance < 0) {
                    clearInterval(x);
                    document.getElementById(elementId).innerHTML = "<?php echo e(__('COMPLETE')); ?>";
                }
                tms--;
            }, 1000);
        }
      createCountDown('counter', <?php echo e(\Carbon\Carbon::tomorrow()->diffInSeconds()); ?>);
})(jQuery);
</script>
<?php $__env->stopPush(); ?>

<?php echo $__env->make($activeTemplate.'layouts.master', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home/lotteryx/easywork.77lottery.xyz/core/resources/views/templates/smartlab/user/dashboard.blade.php ENDPATH**/ ?>