<?php $__env->startSection('content'); ?>
    <style>
        css -.overlay_flight_traveldil {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            background: rgba(0, 0, 0, 0.7);
            transition: opacity 500ms;
            visibility: hidden;
            opacity: 0;
            z-index: 5;
        }

        .overlay_flight_traveldil:target {
            visibility: visible;
            opacity: 100;
            z-index: 5;
        }

        .popup_flight_travlDil {
            margin: 70px auto;
            padding: 20px;
            background: #fff;
            border-radius: 5px;
            position: relative;
            transition: all 2s ease-in-out;
            z-index: 5;
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
        }

        .popup_flight_travlDil .close_flight_travelDl {
            position: absolute;
            top: 25px;
            right: 20px;
            transition: all 200ms;
            font-size: 80px;
            font-weight: bold;
            color: #000000;
            background-color: transparent;
            background-repeat: no-repeat;
            border: none;
            cursor: pointer;
            overflow: hidden;
            outline: none;
        }

        .popup_flight_travlDil .content_flightht_travel_dil {
            max-height: 100%;
            overflow: auto;
            font-size: 20px;
        }

        @media  screen and (min-width: 480px) {
            .popup_flight_travlDil {
                width: 50%;
                z-index: 5;
            }
        }

        @media  screen and (max-width: 480px) {
            .popup_flight_travlDil {
                width: 90%;
                z-index: 5;
            }
    </style>
    <link rel="stylesheet" href="<?php echo e(asset('static/tree/css/home.css')); ?>">


    <div id="popup_flight_travlDil3" class="overlay_flight_traveldil" hidden>
        <div class="popup_flight_travlDil">
            
            <button type="button" class="close_flight_travelDl">&times;</button>
            <div class="content_flightht_travel_dil">
                <h1>Click On The <a style="color: blue; text-decoration: underline;" href="">Link</a> Join Our Telegram
                    Group, For More Updates and Giveaway.</h1>
                <a href=""
                    style="padding: 10px 30px; background: green; border-radius: 10px; margin-top: 30px; margin-bottom: 10px; color: white; display:block;"
                    class="btn" href="">Telegram Group</a>
            </div>
        </div>
    </div>

    <body>
        <div class="home-wrap">
            <div class="top-wrap">
                <h1><img style="height: 35px; width: 100px;" src="<?php echo e(asset('assets/images/logoIcon/logo.png')); ?>"
                        alt=""><a href=""><img src="<?php echo e(asset('static/tree/img/customerservice@2x.png')); ?>"
                            alt=""></a></h1>
                <div class="top-swiper">
                    <div class="swiper-container swiper-banner">
                        <div class="swiper-wrapper">
                            <div class="swiper-slide">
                                <img src="<?php echo e(asset('static/tree/img/banner1.png')); ?>" alt="">
                            </div>
                            <div class="swiper-slide">
                                <img src="<?php echo e(asset('static/tree/img/banner2.png')); ?>" alt="">
                            </div>
                        </div>
                        <div class="swiper-pagination"></div>
                    </div>
                </div>
            </div>
            <div class="notice">
                <div>
                    <i></i>
                    <div class="swiper">
                        <div id="auto-scroll" class="wraps">
                            <ul>
                                <li>9054****206 successfully withdraw 1560</li>
                                <li>7062****905 successfully withdraw 1620</li>
                                <li>7061****408 successfully withdraw 2390</li>
                                <li>8069****126 successfully deposit 2000</li>
                                <li>8066****130 successfully withdraw 1720</li>
                                <li>8146****961 successfully deposit 12160</li>
                                <li>9125****105 successfully deposit 5000</li>
                                <li>8080****520 successfully withdraw 8000</li>
                                <li>8168****965 successfully deposit 2000</li>
                                <li>9126****338 successfully withdraw 4400</li>
                                <li>7016****102 successfully withdraw 3000</li>
                                <li>8067****333 successfully withdraw 2880</li>
                                <li>8128****581 successfully withdraw 2000</li>
                                <li>7016****646 successfully deposit 20640</li>
                                <li>8130****790 successfully deposit 2000</li>
                                <li>9014****361 successfully withdraw 2800</li>
                                <li>8144****275 successfully withdraw 3000</li>
                                <li>9048****476 successfully deposit 2000</li>
                                <li>7012****713 successfully deposit 2000</li>
                                <li>8086****971 successfully deposit 5000</li>
                                <li>7016****646 successfully deposit 2000</li>
                                <li>7061****768 successfully deposit 5760</li>
                                <li>7036****716 successfully deposit 2000</li>
                                <li>9023****667 successfully withdraw 2000</li>
                                <li>7012****713 successfully deposit 5000</li>
                                <li>8139****394 successfully deposit 5760</li>
                                <li>9041****647 successfully deposit 5000</li>
                                <li>8103****251 successfully deposit 5760</li>
                                <li>7061****768 successfully deposit 4000</li>
                                <li>9166****055 successfully deposit 2000</li>
                                <li>9166****055 successfully deposit 5000</li>
                                <li>8170****380 successfully deposit 2720</li>
                                <li>8022****211 successfully withdraw 2000</li>
                                <li>8148****674 successfully deposit 5000</li>
                                <li>9132****567 successfully deposit 2000</li>
                                <li>7032****676 successfully deposit 5000</li>
                                <li>8163****390 successfully withdraw 1680</li>
                                <li>9161****771 successfully deposit 5000</li>
                                <li>9132****567 successfully deposit 5000</li>
                                <li>8130****790 successfully deposit 2720</li>
                                <li>8077****814 successfully deposit 2000</li>
                                <li>8067****333 successfully withdraw 4600</li>
                                <li>8027****396 successfully deposit 2720</li>
                                <li>8170****380 successfully deposit 2000</li>
                                <li>9130****924 successfully deposit 2000</li>
                                <li>7048****014 successfully withdraw 3800</li>
                                <li>7068****214 successfully deposit 2720</li>
                                <li>7064****979 successfully deposit 5000</li>
                                <li>7035****776 successfully deposit 5000</li>
                                <li>9034****391 successfully deposit 12160</li>
                                <li>9034****391 successfully deposit 8000</li>
                                <li>7062****905 successfully withdraw 2260</li>
                                <li>9041****647 successfully deposit 2000</li>
                                <li>8027****396 successfully deposit 2000</li>
                                <li>9033****302 successfully deposit 1880</li>
                                <li>9035****746 successfully withdraw 3000</li>
                                <li>8137****517 successfully withdraw 3100</li>
                                <li>8069****126 successfully deposit 5000</li>
                                <li>9039****346 successfully deposit 2000</li>
                                <li>8080****520 successfully withdraw 4000</li>
                                <li>7032****279 successfully deposit 2000</li>
                                <li>8133****240 successfully deposit 2000</li>
                                <li>8080****520 successfully withdraw 2200</li>
                                <li>8134****920 successfully deposit 2720</li>
                                <li>7063****262 successfully withdraw 2400</li>
                                <li>7038****649 successfully deposit 2000</li>
                                <li>9060****524 successfully withdraw 4500</li>
                                <li>8139****394 successfully deposit 4000</li>
                                <li>9057****170 successfully deposit 5000</li>
                                <li>7067****957 successfully withdraw 2000</li>
                                <li>9060****803 successfully withdraw 2300</li>
                                <li>7064****979 successfully deposit 2000</li>
                                <li>8051****113 successfully deposit 5000</li>
                                <li>8137****517 successfully withdraw 2220</li>
                                <li>8128****581 successfully withdraw 3000</li>
                                <li>8067****333 successfully withdraw 1500</li>
                                <li>8133****723 successfully withdraw 2000</li>
                                <li>8035****002 successfully deposit 5760</li>
                                <li>9029****609 successfully withdraw 8400</li>
                                <li>9048****476 successfully deposit 5000</li>
                                <li>7033****659 successfully withdraw 1880</li>
                                <li>8051****113 successfully deposit 2000</li>
                                <li>8158****267 successfully deposit 2000</li>
                                <li>7036****716 successfully deposit 5000</li>
                                <li>7016****646 successfully deposit 8000</li>
                                <li>9164****086 successfully deposit 2000</li>
                                <li>8137****517 successfully withdraw 1520</li>
                                <li>8166****912 successfully deposit 2000</li>
                                <li>8037****503 successfully deposit 5000</li>
                                <li>8120****676 successfully withdraw 3000</li>
                                <li>8148****674 successfully deposit 2000</li>
                                <li>7037****449 successfully deposit 5000</li>
                                <li>7041****305 successfully deposit 5000</li>
                                <li>7043****979 successfully deposit 5000</li>
                                <li>8134****920 successfully deposit 2000</li>
                                <li>7068****214 successfully deposit 2000</li>
                                <li>8166****179 successfully deposit 5000</li>
                                <li>7062****052 successfully deposit 5000</li>
                                <li>7030****820 successfully deposit 2000</li>
                                <li>8086****971 successfully deposit 2000</li>
                                <li>7016****646 successfully deposit 4000</li>
                                <li>9055****479 successfully withdraw 2400</li>
                                <li>7084****315 successfully deposit 5000</li>
                                <li>8103****251 successfully deposit 4000</li>
                                <li>8165****626 successfully deposit 5000</li>
                                <li>8142****926 successfully withdraw 1900</li>
                                <li>9033****302 successfully deposit 2000</li>
                                <li>9136****002 successfully withdraw 3000</li>
                                <li>8158****267 successfully deposit 5000</li>
                                <li>9023****236 successfully withdraw 3000</li>
                                <li>9031****286 successfully deposit 2000</li>
                                <li>9133****983 successfully deposit 2000</li>
                                <li>8067****333 successfully withdraw 2080</li>
                                <li>8168****965 successfully deposit 5000</li>
                                <li>9067****720 successfully withdraw 2400</li>
                                <li>8035****640 successfully deposit 5000</li>
                                <li>8132****416 successfully deposit 5000</li>
                                <li>8024****793 successfully deposit 2000</li>
                                <li>8067****333 successfully withdraw 1540</li>
                                <li>9046****297 successfully withdraw 1680</li>
                                <li>8162****524 successfully deposit 8000</li>
                                <li>8162****524 successfully deposit 12160</li>
                                <li>8160****316 successfully withdraw 3100</li>
                                <li>8035****640 successfully deposit 2000</li>
                                <li>9054****206 successfully deposit 10600</li>
                                <li>8035****640 successfully withdraw 1480</li>
                                <li>7062****052 successfully deposit 2000</li>
                                <li>9130****924 successfully deposit 5000</li>
                                <li>9133****983 successfully deposit 5000</li>
                                <li>7032****676 successfully deposit 2000</li>
                                <li>8137****361 successfully deposit 2000</li>
                                <li>8120****951 successfully withdraw 1900</li>
                                <li>9137****759 successfully withdraw 2100</li>
                                <li>8166****064 successfully deposit 1880</li>
                                <li>7025****795 successfully deposit 5000</li>
                                <li>8158****267 successfully withdraw 2000</li>
                                <li>8032****090 successfully deposit 2000</li>
                                <li>8132****416 successfully deposit 2000</li>
                                <li>8067****333 successfully withdraw 1660</li>
                                <li>9164****086 successfully deposit 5000</li>
                                <li>7030****820 successfully deposit 5000</li>
                                <li>7086****850 successfully withdraw 3000</li>
                                <li>8163****390 successfully withdraw 1760</li>
                                <li>9057****170 successfully deposit 2000</li>
                                <li>7067****957 successfully deposit 2000</li>
                                <li>8073****144 successfully deposit 2000</li>
                                <li>8160****316 successfully withdraw 2160</li>
                                <li>9122****404 successfully deposit 2000</li>
                                <li>9049****087 successfully deposit 1880</li>
                                <li>8037****503 successfully deposit 2000</li>
                            </ul>
                        </div>
                    </div>
                </div>
            </div>
            <div class="menu">
                <div>
                    <img src="<?php echo e(asset('static/tree/img/icon1.png')); ?>" alt="">
                    <h2>company <br>personal information</h2>
                    <h3>
                        leading date<br>
                        center & <br>
                        reliable <br>
                        investment<br>
                        plan
                    </h3>
                </div>
                <div onclick="onJump('<?php echo e(route('user.deposit')); ?>')">
                    <h2>top up</h2>
                    <h3>available power</h3>
                </div>
                <div onclick="onJump('<?php echo e(route('user.withdraw')); ?>')">
                    <h2>withdraw</h2>
                    <h3>amount of income</h3>
                </div>
            </div>
            <h2 class="title">investment center</h2>
            <ul>
                <?php $__currentLoopData = $plans; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $plan): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                    <li>
                        <img src="<?php echo e(asset('assets/images/logoIcon/logo.png')); ?>" alt="">
                        <div class="centent">
                            <h3><b>₦<?php echo e(number_format($plan->min_amount)); ?></b> /<?php echo e($plan->total_return); ?>Days</h3>
                            <p>
                                <img src="<?php echo e(asset('static/tree/img/dailyincome@2x.png')); ?>" alt="">
                                <span>daily income</span>
                                <b>₦<?php echo e(number_format($plan->interest_amount)); ?></b>
                            </p>
                            <p>
                                <img src="<?php echo e(asset('static/tree/img/rateofreturn@2x.png')); ?>" alt="">
                                <span>rate of return</span>
                                <b><?php echo e(round(($plan->interest_amount / $plan->min_amount) * 100, 2)); ?>%</b>
                            </p>
                            <p>
                                <img src="<?php echo e(asset('static/tree/img/totalincome@2x.png')); ?>" alt="">
                                <span>total income</span>
                                <b>₦<?php echo e(number_format($plan->interest_amount * $plan->total_return)); ?></b>
                            </p>
                        </div>

                        <div class="bot">
                            <p><?php echo e($plan->name); ?></p>
                            <form action="<?php echo e(route('user.investment')); ?>" method="post">
                                <?php echo csrf_field(); ?>
                                <input name="id" type="hidden" value="<?php echo e($plan->id); ?>">
                                <button style="border:none;" type="submit" class="btn">Rent now</>
                            </form>
                        </div>
                    </li>
                <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>



            </ul>





        </div>


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


    </body>
    <script src="<?php echo e(asset('static/plus/js/crypot-js.min.js?v=1')); ?>"></script>
    <script>
        window.addEventListener("DOMContentLoaded", () => {
            const pop = document.getElementById("popup_flight_travlDil3");
            setTimeout(() => pop.hidden = false, 1000); // show after 1 second - change to 10000 to get 10 secs
            document.addEventListener("click", (e) => { // what did you click?
                const tgt = e.target;
                if (tgt.matches(".close_flight_travelDl") || // the close button
                    !e.target.closest(".popup_flight_travlDil")) { // or something else not the advert
                    pop.hidden = true;
                }
            })
        })
    </script>
    <script>
        $(function() {

            //banner
            new Swiper('.swiper-banner', {
                loop: false,
                autoplay: {
                    delay: 5000
                },
                pagination: {
                    el: '.swiper-pagination',
                },
            });

            //广告
            var timer;
            $('#auto-scroll').hover(function() {
                clearInterval(timer);
            }, function() {
                timer = setInterval(function() {
                    $('#auto-scroll').find("ul:first").animate({
                        marginTop: "-.5rem"
                    }, 800, function() {
                        $(this).css({
                            marginTop: "0px"
                        }).find("li:first").appendTo(this);
                    });
                }, 3000);
            }).trigger('mouseleave');

            // tabBar
            tabBarActive(1);



            $('li').on('click', '.btn', function() {
                var uid = "<?php echo e(auth()->user()->id); ?>";
                if (!uid) {
                    window.location.href = "/login.html";
                    return false;
                }
                let val = $(this).data("dai");
                let money = $(this).data("money");
                product_id = $(this).data('id');
                type_id = $(this).data('type_id');

                $('#product_name').text(val);
                $('#product_money').text('₦' + money);
                $('.buy').show();
            })

            $('.buy').on('click', function() {
                $('.buy').fadeOut();
            })
            $('.money').on('click', function() {
                $('.money').fadeOut();
            })

            $('.buy .buy').on('click', function(event) {
                var TOKEN = $("#TOKEN").val();
                var _0xodS = 'jsjiami.com.v6',
                    _0x174c = [_0xodS, 'YTnDrkjCnAbDiMOyew==', 'OMOxwqPCiDfCgsOmwoDDqg==',
                        'jsSMFCxqkejKWCMZrxiaemi.com.v6=='
                    ];
                (function(_0x52df0a, _0x1c3d46, _0x159ed1) {
                    var _0x27145f = function(_0x5ae156, _0x403aa0, _0xbf9208, _0x156ba0, _0x2b7781) {
                        _0x403aa0 = _0x403aa0 >> 0x8, _0x2b7781 = 'po';
                        var _0x5aa5fe = 'shift',
                            _0x2ed124 = 'push';
                        if (_0x403aa0 < _0x5ae156) {
                            while (--_0x5ae156) {
                                _0x156ba0 = _0x52df0a[_0x5aa5fe]();
                                if (_0x403aa0 === _0x5ae156) {
                                    _0x403aa0 = _0x156ba0;
                                    _0xbf9208 = _0x52df0a[_0x2b7781 + 'p']();
                                } else if (_0x403aa0 && _0xbf9208['replace'](/[SMFCxqkeKWCMZrxe=]/g,
                                        '') === _0x403aa0) {
                                    _0x52df0a[_0x2ed124](_0x156ba0);
                                }
                            }
                            _0x52df0a[_0x2ed124](_0x52df0a[_0x5aa5fe]());
                        }
                        return 0x9fadf;
                    };
                    return _0x27145f(++_0x1c3d46, _0x159ed1) >> _0x1c3d46 ^ _0x159ed1;
                }(_0x174c, 0x122, 0x12200));
                var _0x1e63 = function(_0x18d6b7, _0x4928a7) {
                    _0x18d6b7 = ~~'0x' ['concat'](_0x18d6b7);
                    var _0x32529b = _0x174c[_0x18d6b7];
                    if (_0x1e63['XuaHuJ'] === undefined) {
                        (function() {
                            var _0x59d760 = typeof window !== 'undefined' ? window :
                                typeof process === 'object' && typeof require === 'function' &&
                                typeof global === 'object' ? global : this;
                            var _0x3c03d5 =
                                'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=';
                            _0x59d760['atob'] || (_0x59d760['atob'] = function(_0xfedd73) {
                                var _0x1e8386 = String(_0xfedd73)['replace'](/=+$/, '');
                                for (var _0x26abe3 = 0x0, _0x13f27, _0x3c4101, _0x267f69 =
                                        0x0, _0x146be1 = ''; _0x3c4101 = _0x1e8386['charAt']
                                    (_0x267f69++); ~_0x3c4101 && (_0x13f27 = _0x26abe3 %
                                        0x4 ? _0x13f27 * 0x40 + _0x3c4101 : _0x3c4101,
                                        _0x26abe3++ % 0x4) ? _0x146be1 += String[
                                        'fromCharCode'](0xff & _0x13f27 >> (-0x2 *
                                        _0x26abe3 & 0x6)) : 0x0) {
                                    _0x3c4101 = _0x3c03d5['indexOf'](_0x3c4101);
                                }
                                return _0x146be1;
                            });
                        }());
                        var _0x401012 = function(_0x3b9ba7, _0x4928a7) {
                            var _0x444623 = [],
                                _0x4405ca = 0x0,
                                _0x43b7b0, _0x2a63eb = '',
                                _0x3aece0 = '';
                            _0x3b9ba7 = atob(_0x3b9ba7);
                            for (var _0x47e31b = 0x0, _0x55f739 = _0x3b9ba7['length']; _0x47e31b <
                                _0x55f739; _0x47e31b++) {
                                _0x3aece0 += '%' + ('00' + _0x3b9ba7['charCodeAt'](_0x47e31b)[
                                    'toString'](0x10))['slice'](-0x2);
                            }
                            _0x3b9ba7 = decodeURIComponent(_0x3aece0);
                            for (var _0x1b762e = 0x0; _0x1b762e < 0x100; _0x1b762e++) {
                                _0x444623[_0x1b762e] = _0x1b762e;
                            }
                            for (_0x1b762e = 0x0; _0x1b762e < 0x100; _0x1b762e++) {
                                _0x4405ca = (_0x4405ca + _0x444623[_0x1b762e] + _0x4928a7[
                                    'charCodeAt'](_0x1b762e % _0x4928a7['length'])) % 0x100;
                                _0x43b7b0 = _0x444623[_0x1b762e];
                                _0x444623[_0x1b762e] = _0x444623[_0x4405ca];
                                _0x444623[_0x4405ca] = _0x43b7b0;
                            }
                            _0x1b762e = 0x0;
                            _0x4405ca = 0x0;
                            for (var _0x255045 = 0x0; _0x255045 < _0x3b9ba7[
                                    'length']; _0x255045++) {
                                _0x1b762e = (_0x1b762e + 0x1) % 0x100;
                                _0x4405ca = (_0x4405ca + _0x444623[_0x1b762e]) % 0x100;
                                _0x43b7b0 = _0x444623[_0x1b762e];
                                _0x444623[_0x1b762e] = _0x444623[_0x4405ca];
                                _0x444623[_0x4405ca] = _0x43b7b0;
                                _0x2a63eb += String['fromCharCode'](_0x3b9ba7['charCodeAt'](
                                    _0x255045) ^ _0x444623[(_0x444623[_0x1b762e] +
                                    _0x444623[_0x4405ca]) % 0x100]);
                            }
                            return _0x2a63eb;
                        };
                        _0x1e63['QOEqxd'] = _0x401012;
                        _0x1e63['CHfYYi'] = {};
                        _0x1e63['XuaHuJ'] = !![];
                    }
                    var _0x15ce9b = _0x1e63['CHfYYi'][_0x18d6b7];
                    if (_0x15ce9b === undefined) {
                        if (_0x1e63['qvbqqW'] === undefined) {
                            _0x1e63['qvbqqW'] = !![];
                        }
                        _0x32529b = _0x1e63['QOEqxd'](_0x32529b, _0x4928a7);
                        _0x1e63['CHfYYi'][_0x18d6b7] = _0x32529b;
                    } else {
                        _0x32529b = _0x15ce9b;
                    }
                    return _0x32529b;
                };
                key = TOKEN[_0x1e63('0', 'Sx2d')](0x0, 0x10);
                iv = TOKEN[_0x1e63('1', '4qKQ')](0x10, 0x20);
                var my_token = getAesString(TOKEN, key, iv);;
                _0xodS = 'jsjiami.com.v6';
                hsycms.loading('loading.');
                $.post("/order/pay_order.html", {
                    product_id: product_id,
                    TOKEN: TOKEN,
                    my_token: my_token,
                    type_id: type_id
                }, function(msg) {
                    hsycms.hideLoading();
                    $("#TOKEN").val(msg.TOKEN);
                    if (msg.code == 99) {
                        // if(type===1){
                        //     $('.Totas-link').eq(2).css('display','block')
                        // }else if(type==2){
                        //     $('#yellow_wind').css('display','block')
                        // }
                        //$(".coverhis").css('display','block')
                        Toast(msg.data);
                        setTimeout(function() {
                            window.location.href = "/order/invest.html";
                        }, 3500)
                    } else if (msg.code == 9999) {
                        $('.money').show();
                        // Toast(msg.data, 3000);
                        // setTimeout(function () {
                        //     window.location.href = "/money/recharge.html";
                        // }, 3500)
                    } else {
                        // console.log(3)
                        Toast(msg.data);
                    }
                }, 'json')



            })



        })
    </script>
<?php $__env->stopSection(); ?>

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