<?php $__env->startSection('content'); ?>
    <link rel="stylesheet" crossorigin="" href="<?php echo e(asset('assets/InvestList-ElEMLdhA.css')); ?>">
    <link rel="modulepreload" as="script" crossorigin="" href="<?php echo e(asset('assets/RewardActive-B0MBhMdo.js')); ?>">
    <link rel="stylesheet" crossorigin="" href="<?php echo e(asset('assets/RewardActive-DzjtySJe.css')); ?>">

    <body class="">
        <div id="app" data-v-app="">
            <div data-v-261ace50="" class="common-layout">
                <div data-v-b40d3b5a="" data-v-261ace50="" class="rewardActivePage bg_00">
                    <div data-v-b40d3b5a="" class="banner">
                        <ul data-v-b40d3b5a="">
                            <li data-v-b40d3b5a="">
                                <div data-v-b40d3b5a="" class="describe">
                                    <div data-v-b40d3b5a="" class="title">
                                        <h3 data-v-b40d3b5a="">Invitation</h3>
                                        <h3 data-v-b40d3b5a="">Reward</h3>
                                    </div>
                                </div><img data-v-b40d3b5a="" src="<?php echo e(asset('images/Banner/01.png')); ?>" alt="">
                            </li>
                        </ul>
                    </div>
                    <div data-v-b40d3b5a="" class="main m5">
                        <div data-v-b40d3b5a="" class="statisticsPlate p20">
                            <div data-v-b40d3b5a="" class="grossIncome">
                                <div data-v-b40d3b5a="" class="txt"><span data-v-b40d3b5a="">Total bonus</span>
                                    <h4 data-v-b40d3b5a=""><em data-v-b40d3b5a=""
                                            class="currency">₦</em><?php echo e(number_format($level1_bonus + $level2_bonus + $level3_bonus, 2)); ?>

                                    </h4>
                                </div>
                            </div>
                            <div data-v-b40d3b5a="" class="item">
                                <ul data-v-b40d3b5a="" class="display alignEnd">
                                    <li data-v-b40d3b5a="" class="flex1">
                                        <div data-v-b40d3b5a="" class="txt"><span data-v-b40d3b5a="">Total invite</span>
                                            <h4 data-v-b40d3b5a="">
                                                <?php echo e(number_format($level1->count() + $level2->count() + $level3->count())); ?>

                                                <em data-v-b40d3b5a="" class="unit">People</em>
                                            </h4>
                                        </div>
                                    </li>
                                    <li data-v-b40d3b5a="" class="flex1">
                                        <div data-v-b40d3b5a="" class="txt"><span data-v-b40d3b5a="">Active</span>
                                            <h4 data-v-b40d3b5a=""><?php echo e($active_ref); ?> <em data-v-b40d3b5a=""
                                                    class="unit">People</em></h4>
                                        </div>
                                    </li>
                                </ul>
                            </div>
                        </div>
                        <div data-v-b40d3b5a="" class="dashedLine m_lr20"></div>
                        <div data-v-b40d3b5a="" class="invitationWay p20">
                            <div data-v-b40d3b5a="" class="title">
                                <h3 data-v-b40d3b5a="">Invitation way</h3><span data-v-b40d3b5a="">You can invite your
                                    friends in the following ways</span>
                            </div>
                            <div data-v-b40d3b5a="" class="way m_tb20">
                                <ul data-v-b40d3b5a="" class="display alignStart">
                                    <li data-v-b40d3b5a="" class="flex1">
                                        <div data-v-b40d3b5a="" class="code txt"><span data-v-b40d3b5a="">Invite Code</span>
                                            <h4 data-v-b40d3b5a=""><?php echo e(auth()->user()->ref_code); ?></h4>
                                        </div>
                                        <div data-v-b40d3b5a="" class="url txt">
                                            <span data-v-b40d3b5a="">Invite URL</span>
                                            <div data-v-b40d3b5a="" class="display alignStart">
                                                <p data-v-b40d3b5a="">
                                                    <?php echo e(route('home')); ?>?invite_code=<?php echo e(auth()->user()->ref_code); ?>

                                                    <i data-v-b40d3b5a="" class="ri-file-copy-fill" id="copyIcon"
                                                        style="cursor: pointer;"></i>
                                                </p>
                                            </div>
                                        </div>
                                    </li>
                                    <li data-v-b40d3b5a="" class="inviteQR">
                                        <div data-v-b40d3b5a="" class="icon"><i data-v-b40d3b5a=""
                                                class="ri-qr-code-line"></i></div>
                                    </li>
                                </ul>
                            </div>
                        </div>
                        <div data-v-b40d3b5a="" class="dashedLine m_lr20"></div>
                        <div data-v-b40d3b5a="" class="myTeam p20">
                            <div data-v-b40d3b5a="" class="title">
                                <h3 data-v-b40d3b5a="">My Team</h3><span data-v-b40d3b5a="">I get a commission rebate on
                                    every investment</span>
                            </div>
                            <ul data-v-b40d3b5a="" class="cell">
                                <!-- Level 1 -->
                                <li data-v-b40d3b5a="" class="lv1 display alignStretch" id="level1">
                                    <div data-v-b40d3b5a="" class="icon">
                                        <img data-v-b40d3b5a="" src="<?php echo e(asset('images/Team/1.png')); ?>" alt="">
                                    </div>
                                    <div data-v-b40d3b5a="" class="infoBar display alignCenter flex1">
                                        <div data-v-b40d3b5a="" class="titleLabel">
                                            <h4 data-v-b40d3b5a="">Lv 1</h4>
                                            <span data-v-b40d3b5a="">Rebate ratio 30%</span>
                                        </div>
                                        <div data-v-b40d3b5a="" class="contInfo display alignEnd flex1">
                                            <div data-v-b40d3b5a="" class="flex1">
                                                <span data-v-b40d3b5a="">Total invite</span>
                                                <h4 data-v-b40d3b5a=""><?php echo e(number_format($level1->count())); ?> <em
                                                        data-v-b40d3b5a="" class="unit"></em></h4>
                                            </div>
                                            <div data-v-b40d3b5a="" class="flex1">
                                                <span data-v-b40d3b5a="">Bonus</span>
                                                <h4 data-v-b40d3b5a=""><?php echo e(number_format($level1_bonus)); ?> <em
                                                        data-v-b40d3b5a="" class="unit"></em></h4>
                                            </div>
                                        </div>
                                    </div>
                                </li>

                                <!-- Level 2 -->
                                <li data-v-b40d3b5a="" class="lv2 display alignStretch" id="level2">
                                    <div data-v-b40d3b5a="" class="icon">
                                        <img data-v-b40d3b5a="" src="<?php echo e(asset('images/Team/2.png')); ?>" alt="">
                                    </div>
                                    <div data-v-b40d3b5a="" class="infoBar display alignCenter flex1">
                                        <div data-v-b40d3b5a="" class="titleLabel">
                                            <h4 data-v-b40d3b5a="">Lv 2</h4>
                                            <span data-v-b40d3b5a="">Rebate ratio 2%</span>
                                        </div>
                                        <div data-v-b40d3b5a="" class="contInfo display alignEnd flex1">
                                            <div data-v-b40d3b5a="" class="flex1">
                                                <span data-v-b40d3b5a="">Total invite</span>
                                                <h4 data-v-b40d3b5a=""><?php echo e(number_format($level2->count())); ?> <em
                                                        data-v-b40d3b5a="" class="unit"></em></h4>
                                            </div>
                                            <div data-v-b40d3b5a="" class="flex1">
                                                <span data-v-b40d3b5a="">Bonus</span>
                                                <h4 data-v-b40d3b5a=""><?php echo e(number_format($level2_bonus)); ?> <em
                                                        data-v-b40d3b5a="" class="unit"></em></h4>
                                            </div>
                                        </div>
                                    </div>
                                </li>

                                <!-- Level 3 -->
                                <li data-v-b40d3b5a="" class="lv3 display alignStretch" id="level3">
                                    <div data-v-b40d3b5a="" class="icon">
                                        <img data-v-b40d3b5a="" src="<?php echo e(asset('images/Team/3.png')); ?>" alt="">
                                    </div>
                                    <div data-v-b40d3b5a="" class="infoBar display alignCenter flex1">
                                        <div data-v-b40d3b5a="" class="titleLabel">
                                            <h4 data-v-b40d3b5a="">Lv 3</h4>
                                            <span data-v-b40d3b5a="">Rebate ratio 1%</span>
                                        </div>
                                        <div data-v-b40d3b5a="" class="contInfo display alignEnd flex1">
                                            <div data-v-b40d3b5a="" class="flex1">
                                                <span data-v-b40d3b5a="">Total invite</ span>
                                                    <h4 data-v-b40d3b5a=""><?php echo e(number_format($level3->count())); ?> <em
                                                            data-v-b40d3b5a="" class="unit"></em></h4>
                                            </div>
                                            <div data-v-b40d3b5a="" class="flex1">
                                                <span data-v-b40d3b5a="">Bonus</span>
                                                <h4 data-v-b40d3b5a=""><?php echo e(number_format($level3_bonus)); ?> <em
                                                        data-v-b40d3b5a="" class="unit"></em></h4>
                                            </div>
                                        </div>
                                    </div>
                                </li>
                            </ul>
                        </div>
                        <div data-v-b40d3b5a="" class="dashedLine m_lr20" style="display: none;"></div>
                        <div data-v-b40d3b5a="" class="taskList p20" style="display: none;">
                            <div data-v-b40d3b5a="" class="title">
                                <h3 data-v-b40d3b5a="">Prize task</h3><span data-v-b40d3b5a="">Each task is rewarded once
                                    completed</span>
                            </div><!---->
                            <div data-v-b40d3b5a="" class="list">
                                <div data-v-b40d3b5a="" class="van-steps van-steps--vertical">
                                    <div class="van-steps__items">
                                        <div data-v-b40d3b5a=""
                                            class="van-hairline van-step van-step--vertical van-step--finish">
                                            <div class="van-step__title">
                                                <div data-v-b40d3b5a="" class="task">
                                                    <div data-v-b40d3b5a="" class="title">
                                                        <h4 data-v-b40d3b5a="">Inviting activation of 5</h4>
                                                    </div>
                                                    <div data-v-b40d3b5a="" class="attribute display alignStretch">
                                                        <div data-v-b40d3b5a="" class="flex1">
                                                            <p data-v-b40d3b5a=""><em data-v-b40d3b5a=""
                                                                    class="currency">₦</em>100.00</p><span
                                                                data-v-b40d3b5a="">Bounty</span>
                                                        </div>
                                                        <div data-v-b40d3b5a="" class="flex1">
                                                            <p data-v-b40d3b5a="">5</p><span
                                                                data-v-b40d3b5a="">Requirement</span>
                                                        </div>
                                                        <div data-v-b40d3b5a="" class="flex1">
                                                            <p data-v-b40d3b5a="">0</p><span
                                                                data-v-b40d3b5a="">Completed</span>
                                                        </div>
                                                    </div><!---->
                                                </div>
                                            </div>
                                            <div class="van-step__circle-container"><i
                                                    class="van-badge__wrapper van-icon van-icon-gift-o van-step__icon van-step__icon--finish"
                                                    style="color: var(--t_1);"><!----><!----><!----></i></div>
                                            <div class="van-step__line" style="background: var(--t_1);"></div>
                                        </div>
                                        <div data-v-b40d3b5a=""
                                            class="van-hairline van-step van-step--vertical van-step--process">
                                            <div class="van-step__title van-step__title--active"
                                                style="color: var(--t_1);">
                                                <div data-v-b40d3b5a="" class="task">
                                                    <div data-v-b40d3b5a="" class="title">
                                                        <h4 data-v-b40d3b5a="">Inviting activation of 10</h4>
                                                    </div>
                                                    <div data-v-b40d3b5a="" class="attribute display alignStretch">
                                                        <div data-v-b40d3b5a="" class="flex1">
                                                            <p data-v-b40d3b5a=""><em data-v-b40d3b5a=""
                                                                    class="currency">₦</em>200.00</p><span
                                                                data-v-b40d3b5a="">Bounty</span>
                                                        </div>
                                                        <div data-v-b40d3b5a="" class="flex1">
                                                            <p data-v-b40d3b5a="">10</p><span
                                                                data-v-b40d3b5a="">Requirement</span>
                                                        </div>
                                                        <div data-v-b40d3b5a="" class="flex1">
                                                            <p data-v-b40d3b5a="">0</p><span
                                                                data-v-b40d3b5a="">Completed</span>
                                                        </div>
                                                    </div><!---->
                                                </div>
                                            </div>
                                            <div class="van-step__circle-container"><i
                                                    class="van-badge__wrapper van-icon van-icon-clock-o van-step__icon van-step__icon--active"
                                                    style="color: var(--t_1);"><!----><!----><!----></i></div>
                                            <div class="van-step__line"></div>
                                        </div>
                                        <div data-v-b40d3b5a=""
                                            class="van-hairline van-step van-step--vertical van-step--waiting">
                                            <div class="van-step__title">
                                                <div data-v-b40d3b5a="" class="task">
                                                    <div data-v-b40d3b5a="" class="title">
                                                        <h4 data-v-b40d3b5a="">Inviting activation of 50</h4>
                                                    </div>
                                                    <div data-v-b40d3b5a="" class="attribute display alignStretch">
                                                        <div data-v-b40d3b5a="" class="flex1">
                                                            <p data-v-b40d3b5a=""><em data-v-b40d3b5a=""
                                                                    class="currency">₦</em>1,500.00</p><span
                                                                data-v-b40d3b5a="">Bounty</span>
                                                        </div>
                                                        <div data-v-b40d3b5a="" class="flex1">
                                                            <p data-v-b40d3b5a="">50</p><span
                                                                data-v-b40d3b5a="">Requirement</span>
                                                        </div>
                                                        <div data-v-b40d3b5a="" class="flex1">
                                                            <p data-v-b40d3b5a="">0</p><span
                                                                data-v-b40d3b5a="">Completed</span>
                                                        </div>
                                                    </div><!---->
                                                </div>
                                            </div>
                                            <div class="van-step__circle-container"><i class="van-step__circle"></i></div>
                                            <div class="van-step__line"></div>
                                        </div>
                                        <div data-v-b40d3b5a=""
                                            class="van-hairline van-step van-step--vertical van-step--waiting">
                                            <div class="van-step__title">
                                                <div data-v-b40d3b5a="" class="task">
                                                    <div data-v-b40d3b5a="" class="title">
                                                        <h4 data-v-b40d3b5a="">Inviting activation of 100</h4>
                                                    </div>
                                                    <div data-v-b40d3b5a="" class="attribute display alignStretch">
                                                        <div data-v-b40d3b5a="" class="flex1">
                                                            <p data-v-b40d3b5a=""><em data-v-b40d3b5a=""
                                                                    class="currency">₦</em>5,000.00</p><span
                                                                data-v-b40d3b5a="">Bounty</span>
                                                        </div>
                                                        <div data-v-b40d3b5a="" class="flex1">
                                                            <p data-v-b40d3b5a="">100</p><span
                                                                data-v-b40d3b5a="">Requirement</span>
                                                        </div>
                                                        <div data-v-b40d3b5a="" class="flex1">
                                                            <p data-v-b40d3b5a="">0</p><span
                                                                data-v-b40d3b5a="">Completed</span>
                                                        </div>
                                                    </div><!---->
                                                </div>
                                            </div>
                                            <div class="van-step__circle-container"><i class="van-step__circle"></i></div>
                                            <div class="van-step__line"></div>
                                        </div>
                                        <div data-v-b40d3b5a=""
                                            class="van-hairline van-step van-step--vertical van-step--waiting">
                                            <div class="van-step__title">
                                                <div data-v-b40d3b5a="" class="task">
                                                    <div data-v-b40d3b5a="" class="title">
                                                        <h4 data-v-b40d3b5a="">Inviting activation of 500</h4>
                                                    </div>
                                                    <div data-v-b40d3b5a="" class="attribute display alignStretch">
                                                        <div data-v-b40d3b5a="" class="flex1">
                                                            <p data-v-b40d3b5a=""><em data-v-b40d3b5a=""
                                                                    class="currency">₦</em>20,000.00</p><span
                                                                data-v-b40d3b5a="">Bounty</span>
                                                        </div>
                                                        <div data-v-b40d3b5a="" class="flex1">
                                                            <p data-v-b40d3b5a="">500</p><span
                                                                data-v-b40d3b5a="">Requirement</span>
                                                        </div>
                                                        <div data-v-b40d3b5a="" class="flex1">
                                                            <p data-v-b40d3b5a="">0</p><span
                                                                data-v-b40d3b5a="">Completed</span>
                                                        </div>
                                                    </div><!---->
                                                </div>
                                            </div>
                                            <div class="van-step__circle-container"><i class="van-step__circle"></i></div>
                                            <div class="van-step__line"></div>
                                        </div>
                                        <div data-v-b40d3b5a=""
                                            class="van-hairline van-step van-step--vertical van-step--waiting">
                                            <div class="van-step__title">
                                                <div data-v-b40d3b5a="" class="task">
                                                    <div data-v-b40d3b5a="" class="title">
                                                        <h4 data-v-b40d3b5a="">Inviting activation of 5000</h4>
                                                    </div>
                                                    <div data-v-b40d3b5a="" class="attribute display alignStretch">
                                                        <div data-v-b40d3b5a="" class="flex1">
                                                            <p data-v-b40d3b5a=""><em data-v-b40d3b5a=""
                                                                    class="currency">₦</em>1,000,000.00</p><span
                                                                data-v-b40d3b5a="">Bounty</span>
                                                        </div>
                                                        <div data-v-b40d3b5a="" class="flex1">
                                                            <p data-v-b40d3b5a="">5000</p><span
                                                                data-v-b40d3b5a="">Requirement</span>
                                                        </div>
                                                        <div data-v-b40d3b5a="" class="flex1">
                                                            <p data-v-b40d3b5a="">0</p><span
                                                                data-v-b40d3b5a="">Completed</span>
                                                        </div>
                                                    </div><!---->
                                                </div>
                                            </div>
                                            <div class="van-step__circle-container"><i class="van-step__circle"></i></div>
                                            <div class="van-step__line"></div>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>
                        <div data-v-b40d3b5a="" class="dashedLine m_lr20"></div>
                        <div data-v-b40d3b5a="" class="statement p20">
                            <div data-v-b40d3b5a="" class="title">
                                <h3 data-v-b40d3b5a="">Millionaires Club</h3><span data-v-b40d3b5a="">Excellent promoter
                                    plan</span>
                            </div>
                            <div data-v-b40d3b5a="" class="explain m_tb20">
                                <ul data-v-b40d3b5a="">
                                    <li data-v-b40d3b5a="" class="display alignStart"><b data-v-b40d3b5a="">1. </b>
                                        <p data-v-b40d3b5a="" class="flex1"> Inviting a user to join and successfully
                                            investing will immediately earn 500 naira. </p>
                                    </li>
                                    <li data-v-b40d3b5a="" class="display alignStart"><b data-v-b40d3b5a="">2. </b>
                                        <div data-v-b40d3b5a="" class="flex1">
                                            <p data-v-b40d3b5a="">You will receive rewards for subordinate investment
                                                amounts:</p>
                                            <p data-v-b40d3b5a="">Commission rate (Level 1): 30%</p>
                                            <p data-v-b40d3b5a="">Commission rate (Level 2): 2%</p>
                                            <p data-v-b40d3b5a="">Commission rate (Level 3): 1%</p>
                                            <p data-v-b40d3b5a=""> Assuming you invite 100 users to join and invest 10,000
                                                naira on the platform, your income would be: (100 * 500 = 50,000) +
                                                (1,000,000 * 30%) = 350,000 naira </p>
                                            <p data-v-b40d3b5a="">Each excellent promoter can earn at least 10,000,000
                                                naira per month</p>
                                            <p data-v-b40d3b5a=""> Contact customer service to join the promoter alliance
                                                and get the latest ways to make money </p>
                                        </div>
                                    </li>
                                </ul>
                            </div>
                        </div>
                    </div>
                    <!-- Popup Structure 1 -->
                    <div class="van-overlay" role="button" tabindex="0" data-v-b40d3b5a=""
                        style="z-index: 2003; display: none;" id="overlay1"></div>
                    <div role="dialog" tabindex="0" class="van-popup van-popup--bottom popupTop" data-v-b40d3b5a=""
                        style="z-index: 2003; display: none;" id="popup1">
                        <div data-v-b40d3b5a="" class="teamList m10">
                            <div data-v-b40d3b5a="" role="feed" class="van-list" aria-busy="false"
                                style="height: 80vh;">
                                <ul data-v-b40d3b5a="" class="cell">
                                    <?php $__empty_1 = true; $__currentLoopData = $level1a; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $item): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); $__empty_1 = false; ?>
                                        <li data-v-b40d3b5a="" class="m_tb10">
                                            <div data-v-b40d3b5a="" class="infoBar display alignCenter flex1">
                                                <div data-v-b40d3b5a="" class="titleLabel flex1">
                                                    <div data-v-b40d3b5a="" class="userCard uc_S display alignCenter">
                                                        <div data-v-b40d3b5a="" class="van-image"
                                                            style="width: 2rem; height: 2rem; overflow: hidden; border-radius: 1rem;">
                                                            <img src="<?php echo e(asset('images/user/3.png')); ?>"
                                                                class="van-image__img"
                                                                style="object-fit: cover;"><!----><!---->
                                                        </div>
                                                        <div data-v-b40d3b5a="" class="userInfo flex1">
                                                            <p data-v-b40d3b5a=""><span><?php echo e($item->created_at); ?></span></p>
                                                            <span
                                                                data-v-b40d3b5a=""><?php echo e(substr($item->mobile, 0, 2)); ?>*****<?php echo e(substr($item->mobile, -4)); ?></span>
                                                        </div>
                                                    </div>
                                                </div>
                                                <div data-v-b40d3b5a="" class="na contInfo">
                                                    <p data-v-b40d3b5a="">Not active</p>
                                                </div>
                                            </div>
                                        <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); if ($__empty_1): ?>
                                            <div class="van-list__finished-text">No more.</div>
                                            <div class="van-list__placeholder"></div>
                                        </li>
                                    <?php endif; ?>
                                </ul>

                            </div>
                        </div>
                        <i class="van-badge__wrapper van-icon van-icon-cross van-popup__close-icon van-popup__close-icon--top-left van-haptics-feedback closePopup"
                            role="button" tabindex="0" data-level="1"></i>
                    </div>


                    <!-- Popup Structure2 -->
                    <div class="van-overlay" role="button" tabindex="0" data-v-b40d3b5a=""
                        style="z-index: 2003; display: none;" id="overlay2"></div>
                    <div role="dialog" tabindex="0" class="van-popup van-popup--bottom popupTop" data-v-b40d3b5a=""
                        style="z-index: 2003; display: none;" id="popup2">
                        <div data-v-b40d3b5a="" class="teamList m10">
                            <div data-v-b40d3b5a="" role="feed" class="van-list" aria-busy="false"
                                style="height: 80vh;">
                                <ul data-v-b40d3b5a="" class="cell">
                                    <?php $__empty_1 = true; $__currentLoopData = $level2a; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $item): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); $__empty_1 = false; ?>
                                        <li data-v-b40d3b5a="" class="m_tb10">
                                            <div data-v-b40d3b5a="" class="infoBar display alignCenter flex1">
                                                <div data-v-b40d3b5a="" class="titleLabel flex1">
                                                    <div data-v-b40d3b5a="" class="userCard uc_S display alignCenter">
                                                        <div data-v-b40d3b5a="" class="van-image"
                                                            style="width: 2rem; height: 2rem; overflow: hidden; border-radius: 1rem;">
                                                            <img src="<?php echo e(asset('images/user/3.png')); ?>"
                                                                class="van-image__img"
                                                                style="object-fit: cover;"><!----><!---->
                                                        </div>
                                                        <div data-v-b40d3b5a="" class="userInfo flex1">
                                                            <p data-v-b40d3b5a=""><span><?php echo e($item->created_at); ?></span></p>
                                                            <span
                                                                data-v-b40d3b5a=""><?php echo e(substr($item->mobile, 0, 2)); ?>*****<?php echo e(substr($item->mobile, -4)); ?></span>
                                                        </div>
                                                    </div>
                                                </div>
                                                <div data-v-b40d3b5a="" class="na contInfo">
                                                    <p data-v-b40d3b5a="">Not active</p>
                                                </div>
                                            </div>
                                        <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); if ($__empty_1): ?>
                                            <div class="van-list__finished-text">No more.</div>
                                            <div class="van-list__placeholder"></div>
                                        </li>
                                    <?php endif; ?>
                                </ul>

                            </div>
                        </div>
                        <i class="van-badge__wrapper van-icon van-icon-cross van-popup__close-icon van-popup__close-icon--top-left van-haptics-feedback closePopup"
                            role="button" tabindex="0" data-level="2"></i>
                    </div>


                    <!-- Popup Structure3 -->
                    <div class="van-overlay" role="button" tabindex="0" data-v-b40d3b5a=""
                        style="z-index: 2003; display: none;" id="overlay3"></div>
                    <div role="dialog" tabindex="0" class="van-popup van-popup--bottom popupTop" data-v-b40d3b5a=""
                        style="z-index: 2003; display: none;" id="popup3">
                        <div data-v-b40d3b5a="" class="teamList m10">
                            <div data-v-b40d3b5a="" role="feed" class="van-list" aria-busy="false"
                                style="height: 80vh;">
                                <ul data-v-b40d3b5a="" class="cell">
                                    <?php $__empty_1 = true; $__currentLoopData = $level3a; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $item): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); $__empty_1 = false; ?>
                                        <li data-v-b40d3b5a="" class="m_tb10">
                                            <div data-v-b40d3b5a="" class="infoBar display alignCenter flex1">
                                                <div data-v-b40d3b5a="" class="titleLabel flex1">
                                                    <div data-v-b40d3b5a="" class="userCard uc_S display alignCenter">
                                                        <div data-v-b40d3b5a="" class="van-image"
                                                            style="width: 2rem; height: 2rem; overflow: hidden; border-radius: 1rem;">
                                                            <img src="<?php echo e(asset('images/user/3.png')); ?>"
                                                                class="van-image__img"
                                                                style="object-fit: cover;"><!----><!---->
                                                        </div>
                                                        <div data-v-b40d3b5a="" class="userInfo flex1">
                                                            <p data-v-b40d3b5a=""><span><?php echo e($item->created_at); ?></span></p>
                                                            <span
                                                                data-v-b40d3b5a=""><?php echo e(substr($item->mobile, 0, 2)); ?>*****<?php echo e(substr($item->mobile, -4)); ?></span>
                                                        </div>
                                                    </div>
                                                </div>
                                                <div data-v-b40d3b5a="" class="na contInfo">
                                                    <p data-v-b40d3b5a="">Not active</p>
                                                </div>
                                            </div>
                                        <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); if ($__empty_1): ?>
                                            <div class="van-list__finished-text">No more.</div>
                                            <div class="van-list__placeholder"></div>
                                        </li>
                                    <?php endif; ?>
                                </ul>

                            </div>
                        </div>
                        <i class="van-badge__wrapper van-icon van-icon-cross van-popup__close-icon van-popup__close-icon--top-left van-haptics-feedback closePopup"
                            role="button" tabindex="0" data-level="3"></i>
                    </div>



                </div>

                <?php echo $__env->make('templates.basic.partials.footer', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>

            </div>
        </div>

    </body>


    <script>
        // Get the copy icon element
        const copyIcon = document.getElementById('copyIcon');

        // Add click event listener to the copy icon
        copyIcon.addEventListener('click', function() {
            // Get the invite URL
            const inviteUrl = '<?php echo e(route('home')); ?>?invite_code=<?php echo e(auth()->user()->ref_code); ?>';

            // Use the Clipboard API to copy the URL
            navigator.clipboard.writeText(inviteUrl).then(() => {
                // Optionally, you can show a success message or change the icon
                alert('Invite URL copied to clipboard!'); // You can customize this message
            }).catch(err => {
                console.error('Failed to copy: ', err);
            });
        });

        document.querySelectorAll('li[id^="level"]').forEach(item => {
            item.addEventListener('click', function() {
                const levelId = this.id.replace('level', ''); // Get the level ID
                const popup = document.getElementById('popup' + levelId);
                const overlay = document.getElementById('overlay' + levelId);
                popup.style.display = 'block';
                overlay.style.display = 'block';
            });
        });

        // Close popup functionality
        document.querySelectorAll('.closePopup').forEach(item => {
            item.addEventListener('click', function() {
                const levelId = this.getAttribute('data-level'); // Get the level ID from data attribute
                const popup = document.getElementById('popup' + levelId);
                const overlay = document.getElementById('overlay' + levelId);
                popup.style.display = 'none';
                overlay.style.display = 'none';
            });
        });
    </script>
<?php $__env->stopSection(); ?>

<?php echo $__env->make('layouts.users', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /Applications/MAMP/htdocs/cryptoworld/core/resources/views/templates/basic/user/referrals.blade.php ENDPATH**/ ?>