https://topcashba.com/

ID de exploración:
7394a20f-f3e3-44a1-84cf-bbc9abf99f90Finalizado
URL enviada:
https://topcashba.com/
Informe finalizado:

Enlaces: 0 encontrados

Variables JavaScript: 37 encontradas

NombreTipo
onbeforetoggleobject
documentPictureInPictureobject
onscrollendobject
$function
jQueryfunction
uidEventnumber
bootstrapobject
TreemapSquaredobject
SVGfunction
Apexobject

Mensajes de registro de la consola: 2 encontrados

TipoCategoríaRegistrar
warningother
URL
https://topcashba.com/assets/global/js/firebase/firebase-8.3.2.js
TEXTO
It looks like you're using the development build of the Firebase JS SDK. When deploying Firebase apps to production, it is advisable to only import the individual SDK components you intend to use. For the CDN builds, these are available in the following manner (replace <PACKAGE> with the name of a component - i.e. auth, database, etc): https://www.gstatic.com/firebasejs/5.0.0/firebase-<PACKAGE>.js
errornetwork
URL
https://va.tawk.to/v1/session/start
TEXTO
Failed to load resource: the server responded with a status of 400 ()

HTML

<!-- meta tags and other links --><!DOCTYPE html><html lang="en"><head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title> TOPCASHBA - Home</title>
    <meta name="title" content="TOPCASHBA - Home">
    <meta name="description" content="TOPCASHBA - Complete topcashba Investment System . Most Advanced TOPCASHBA Investment System Script in TOPCASHBA.\\n\\nhyip, bitcoin, investment,  topcashba business, TOPCASHBA script, best TOPCASHBA, buy TOPCASHBA script, advanced TOPCASHBA script,TOPCASHBA software, high yield investment program,TOPCASHBA manager, TOPCASHBA manager script, cheap TOPCASHBA script, reliable TOPCASHBA, secure TOPCASHBA script, php TOPCASHBA script, new TOPCASHBA script, TOPCASHBA program">
    <meta name="keywords" content="hyip,bitcoin,investment,hyip business,hyip script,best hyip,buy hyip script,advanced hyip script,hyip software,hight yield investment program,Hyip manager,hyip manager script,cheap hyip script,realable hyip,secure hyip script,php hyip script,new hyip script,hyip program">
    <link rel="shortcut icon" href="https://topcashba.com/assets/images/logo_icon/favicon.png" type="image/x-icon">

    
    <link rel="apple-touch-icon" href="https://topcashba.com/assets/images/logo_icon/logo.png">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <meta name="apple-mobile-web-app-title" content="TOPCASHBA - Home">
    
    <meta itemprop="name" content="TOPCASHBA - Home">
    <meta itemprop="description" content="TOPCASHBA - Complete topcashba Investment System . Most Advanced TOPCASHBA Investment System Script in TOPCASHBA.\\n\\nhyip, bitcoin, investment,  topcashba business, TOPCASHBA script, best TOPCASHBA, buy TOPCASHBA script, advanced TOPCASHBA script,TOPCASHBA software, high yield investment program,TOPCASHBA manager, TOPCASHBA manager script, cheap TOPCASHBA script, reliable TOPCASHBA, secure TOPCASHBA script, php TOPCASHBA script, new TOPCASHBA script, TOPCASHBA program">
    <meta itemprop="image" content="https://topcashba.com/assets/images/seo/67434824392691732462628.png">
    
    <meta property="og:type" content="website">
    <meta property="og:title" content="TOPCASHBA - Complete TOPCASHBA Investment System">
    <meta property="og:description" content="TOPCASHBA - Complete TOPCASHBA Investment System . Most Advanced TOPCASHBA Investment System Script in TOPCASHBA.">
    <meta property="og:image" content="https://topcashba.com/assets/images/seo/67434824392691732462628.png">
    <meta property="og:image:type" content="image/png">
        <meta property="og:image:width" content="1180">
    <meta property="og:image:height" content="600">
    <meta property="og:url" content="https://topcashba.com">
    
    <meta name="twitter:card" content="summary_large_image">
    <!-- font  -->
    <link href="https://fonts.googleapis.com/css2?family=Lora:ital,wght@1,400;1,500&amp;family=Maven+Pro:wght@400;500;600&amp;display=swap" rel="stylesheet">


    <link href="https://topcashba.com/assets/global/css/bootstrap.min.css" rel="stylesheet">

    <link href="https://topcashba.com/assets/global/css/all.min.css" rel="stylesheet">

    <link rel="stylesheet" href="https://topcashba.com/assets/global/css/line-awesome.min.css">

    <link rel="stylesheet" href="https://topcashba.com/assets/global/css/select2.min.css">

    <link rel="stylesheet" href="https://topcashba.com/assets/templates/invester/css/lib/animate.css">

    <!-- Plugin Link -->
    <link rel="stylesheet" href="https://topcashba.com/assets/templates/invester/css/lib/slick.css">
    <link rel="stylesheet" href="https://topcashba.com/assets/templates/invester/css/lib/magnific-popup.css">
    <link rel="stylesheet" href="https://topcashba.com/assets/templates/invester/css/lib/apexcharts.css">

    <!-- Main css -->
    <link rel="stylesheet" href="https://topcashba.com/assets/templates/invester/css/main.css">

    
    <link rel="stylesheet" href="https://topcashba.com/assets/templates/invester/css/custom.css">

    <link rel="stylesheet" href="https://topcashba.com/assets/templates/invester/css/color.php?color=cba352">

        <style>
        /* language */
        .language_switcher {
            position: relative;
            padding-right: 20px;
            min-width: max-content;
        }

        @media(max-width: 991px) {
            .language_switcher {
                padding-block: 6px;
                display: inline-flex;
            }

            .language_switcher_wrapper {
                flex: 1;
                text-align: right;
            }
        }

        .language_switcher::after {
            font-family: 'Line Awesome Free';
            content: "\f107";
            font-weight: 900;
            font-size: 14px;
            position: absolute;
            margin: 0;
            color: #fff;
            top: 50%;
            right: 0;
            -webkit-transform: translateY(-50%);
            transform: translateY(-50%);
            transition: all ease 350ms;
            -webkit-transition: all ease 350ms;
            -moz-transition: all ease 350ms;
        }

        .language_switcher.open:after {
            -webkit-transform: translateY(-50%) rotate(180deg);
            transform: translateY(-50%) rotate(180deg);
        }

        .language_switcher__caption {
            cursor: pointer;
            padding: 0;
            display: flex;
            align-items: center;
            gap: 4px;
            flex-wrap: nowrap;
        }

        .language_switcher__caption .icon {
            position: relative;
            height: 20px;
            width: 20px;
            display: flex;
        }

        .language_switcher__caption .icon img {
            height: 100%;
            width: 100%;
            border-radius: 50%;
            object-fit: cover;
        }

        .language_switcher__caption .text {
            font-size: 0.875rem;
            font-weight: 500;
            flex: 1;
            color: #fff;
            line-height: 1;
        }

        .language_switcher__list {
            width: 100px;
            border-radius: 4px;
            padding: 0;
            max-height: 105px;
            overflow-y: auto !important;
            background: #fff;
            -webkit-box-shadow: 0px 12px 24px rgba(21, 18, 51, 0.13);
            opacity: 0;
            overflow: hidden;
            -webkit-transition: all 0.15s cubic-bezier(0.25, 0, 0.25, 1.75),
                opacity 0.1s linear;
            transition: all 0.15s cubic-bezier(0.25, 0, 0.25, 1.75), opacity 0.1s linear;
            -webkit-transform: scale(0.85);
            transform: scale(0.85);
            -webkit-transform-origin: 50% 0;
            transform-origin: 50% 0;
            position: absolute;
            top: calc(100% + 18px);
            z-index: -1;
            visibility: hidden;
        }

        .language_switcher__list::-webkit-scrollbar-track {
            border-radius: 3px;
            background-color: hsl(var(--base) / 0.3);
        }

        .language_switcher__list::-webkit-scrollbar {
            width: 3px;
        }

        .language_switcher__list::-webkit-scrollbar-thumb {
            border-radius: 3px;
            background-color: hsl(var(--base) / 0.8);
        }

        .language_switcher__list .text {
            font-size: 0.875rem;
            font-weight: 500;
            color: black;
        }

        .language_switcher.open .language_switcher__list {
            -webkit-transform: scale(1);
            transform: scale(1);
            opacity: 1;
            z-index: 1;
            visibility: visible;
        }

        .language_switcher__item a {
            cursor: pointer;
            padding: 5px;
            border-bottom: 1px solid hsl(var(--heading-color) / 0.2);
            display: flex;
            align-items: center;
            gap: 4px;
        }

        .language_switcher__item img {
            height: 20px;
            width: 20px;
            display: block;
            border-radius: 50%;
        }

        .language_switcher__item:last-of-type {
            border-bottom: 0;
        }
        .language_switcher__item:hover {
            background-color: hsl(var(--base));
        }
        .language_switcher__item.selected {
            background: rgba(36, 60, 187, 0.02);
            pointer-events: none;
        }

    </style>
    <style>
        .pb-120 {
            padding-bottom: clamp(40px, 4vw, 40px);
        }

        .pt-120 {
            padding-top: clamp(40px, 4vw, 40px);
        }

        .container {
            max-width: 1140px;
        }
    </style>

</head>


<body>
        <div class="preloader" style="opacity: 0.00976119;">
        <div class="animated-preloader"></div>
    </div>
    <div class="overlay"></div>
    <div class="header">
        <div class="container">
            <div class="header-bottom">
                <div class="header-bottom-area align-items-center">
                    <div class="logo"><a href="https://topcashba.com"><img src="https://topcashba.com/assets/images/logo_icon/logo.png" alt="logo"></a></div>
                    <ul class="menu ms-auto">
                        <li>
                            <a href="https://topcashba.com">Home</a>
                        </li>
                        <li>
                            <a href="https://topcashba.com/plan">Plan</a>
                        </li>
                                                                        <li>
                            <a href="https://topcashba.com/contact">Contact</a>
                        </li>
                                                    <li>
                                <a href="https://topcashba.com/user/register">Register</a>
                            </li>
                            <li class="menu-btn">
                                <a href="https://topcashba.com/user/login"> <i class="las la-user"></i> Login</a>
                            </li>
                                            </ul>
                                            <div class="language_switcher ms-3">
        <div class="language_switcher__caption">
        <span class="icon">
            <img src="https://topcashba.com/assets/images/language/660b94fa876ac1712035066.png" alt="image">
        </span>
        <span class="text"> English </span>
    </div>
    <div class="language_switcher__list">
                    <div class="language_switcher__item     selected " data-value="en">
                <a href="https://topcashba.com/change/en" class="thumb">
                    <span class="icon">
                        <img src="https://topcashba.com/assets/images/language/660b94fa876ac1712035066.png" alt="image">
                    </span>
                    <span class="text"> English</span>
                </a>
            </div>
            </div>
</div>



                                        <div class="header-trigger-wrapper d-flex d-lg-none align-items-center">
                        <div class="header-trigger">
                            <span></span>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>

        
    <section class="plan-section pt-120 pb-120 bg--light">
        <div class="container">
            <div class="row gy-4 justify-content-center">
                <div class="modal fade" id="investModal">
    <div class="modal-dialog modal-lg modal-dialog-centered modal-content-bg">
        <div class="modal-content">
            <div class="modal-header">
                <h5 class="modal-title">
                                            At first sign in your account                                    </h5>
                <button type="button" class="close" data-bs-dismiss="modal">
                    <i class="las la-times"></i>
                </button>
            </div>
            <form action="https://topcashba.com/user/invest" method="post">
                <input type="hidden" name="_token" value="wcHseGXXd9ZQ9rhcpKfrw79E0Jgt6fHTYrWy445n" autocomplete="off">                <input type="hidden" name="plan_id">
                                <div class="modal-footer">
                                            <a href="https://topcashba.com/user/login" class="btn btn--base w-100">At first sign in your account</a>
                                    </div>
            </form>
        </div>
    </div>
</div>


            </div>

            
            <div class="how-it-work pt-5">
                <div class="mb-3">
                    <h4>How TOPCASHBA Work</h4>
                    <p>To start with <span class="fw-bold"><i>TOPCASHBA</i></span> Instant access to investing, anytime and anywhere Investing has never been easier. Everything you are looking for in an ultimate investment platform — on the device of your choice.</p>
                </div>
                <div class="row gy-4">
                                            <div class="col-md-3 col-sm-6">
                            <div class="work-process-card">
                                <div class="icon-area">
                                    <img src="https://topcashba.com/assets/images/frontend/how_it_work/63329f02251e21664261890.png" alt="">
                                </div>
                                <h5 class="my-1">Create Account</h5>
                                <p>Create an account providing your valid information</p>
                            </div>
                        </div>
                                            <div class="col-md-3 col-sm-6">
                            <div class="work-process-card">
                                <div class="icon-area">
                                    <img src="https://topcashba.com/assets/images/frontend/how_it_work/63329f26c36421664261926.png" alt="">
                                </div>
                                <h5 class="my-1">Add Fund</h5>
                                <p>Make deposit using our supported payment gateway</p>
                            </div>
                        </div>
                                            <div class="col-md-3 col-sm-6">
                            <div class="work-process-card">
                                <div class="icon-area">
                                    <img src="https://topcashba.com/assets/images/frontend/how_it_work/63329f4740b7e1664261959.png" alt="">
                                </div>
                                <h5 class="my-1">Invest to Plan</h5>
                                <p>Make investment to get profit from our system</p>
                            </div>
                        </div>
                                            <div class="col-md-3 col-sm-6">
                            <div class="work-process-card">
                                <div class="icon-area">
                                    <img src="https://topcashba.com/assets/images/frontend/how_it_work/63329f7b3bf561664262011.png" alt="">
                                </div>
                                <h5 class="my-1">Withdraw Profit</h5>
                                <p>Withdraw your profit which you've got from the investment</p>
                            </div>
                        </div>
                                    </div>
            </div>
        </div>
    </section>

            
            
        <!-- Footer Section -->
    <footer class="py-4">
        <div class="container">
            <div class="footer-content text-center">
                <a href="https://topcashba.com" class="logo mb-3"><img src="https://topcashba.com/assets/images/logo_icon/logo_dark.png" alt="images"></a>
                <p class="footer-text mx-auto">We want everyone to be able to fulfill their desires and opportunities.
Our team has created not just another project for traders. First of all, we developed a platform for the widest possible audience. For people who want to learn how to use advanced financial instruments and develop their financial skills.</p>
                <ul class="footer-links d-flex flex-wrap gap-3 justify-content-center mt-3 mb-3">
                    <li><a href="https://topcashba.com" class="link-color">Home</a></li>
                    <li><a href="https://topcashba.com/contact" class="link-color">Contact</a></li>
                    <li><a href="https://topcashba.com/user/login" class="link-color">Sign In</a></li>
                    <li><a href="https://topcashba.com/user/register" class="link-color">Sign Up</a></li>
                </ul>
                <p class="copy-right-text">© 2024 <a href="https://topcashba.com" class="text--base">TOPCASHBA</a>. All Rights Reserved</p>
            </div>
        </div>
    </footer>
    <!-- Footer Section -->

                <!-- cookies dark version start -->
        <div class="cookies-card text-center hide">
            <div class="cookies-card__icon bg--base">
                <i class="las la-cookie-bite"></i>
            </div>
            <p class="mt-4 cookies-card__content">We may use cookies or any other tracking technologies when you visit our website, including any other media form, mobile website, or mobile application related or connected to help customize the Site and improve your experience. <a href="https://topcashba.com/cookie-policy" class="text-primary" target="_blank">learn more</a></p>
            <div class="cookies-card__btn mt-4">
                <a href="javascript:void(0)" class="btn btn--base text-white w-100 policy">Allow</a>
            </div>
        </div>
        <!-- cookies dark version end -->
    
    <script src="https://embed.tawk.to/_s/v4/app/67354992019/js/twk-main.js" charset="UTF-8" crossorigin="*"></script><script src="https://embed.tawk.to/_s/v4/app/67354992019/js/twk-vendor.js" charset="UTF-8" crossorigin="*"></script><script src="https://embed.tawk.to/_s/v4/app/67354992019/js/twk-chunk-vendors.js" charset="UTF-8" crossorigin="*"></script><script src="https://embed.tawk.to/_s/v4/app/67354992019/js/twk-chunk-common.js" charset="UTF-8" crossorigin="*"></script><script src="https://embed.tawk.to/_s/v4/app/67354992019/js/twk-runtime.js" charset="UTF-8" crossorigin="*"></script><script src="https://embed.tawk.to/_s/v4/app/67354992019/js/twk-app.js" charset="UTF-8" crossorigin="*"></script><script async="" src="https://embed.tawk.to/654fca9bcec6a912820ef597/1hevqut88" charset="UTF-8" crossorigin="*"></script><script src="https://topcashba.com/assets/global/js/jquery-3.7.1.min.js"></script>
    <script src="https://topcashba.com/assets/global/js/bootstrap.bundle.min.js"></script>
    <script src="https://topcashba.com/assets/global/js/select2.min.js"></script>

    <!-- Pluglin Link -->
    <script src="https://topcashba.com/assets/templates/invester/js/lib/slick.min.js"></script>
    <script src="https://topcashba.com/assets/templates/invester/js/lib/magnific-popup.min.js"></script>
    <script src="https://topcashba.com/assets/templates/invester/js/lib/apexcharts.min.js"></script>

    
    <!-- Main js -->
    <script src="https://topcashba.com/assets/templates/invester/js/main.js"></script>


    <script>
                        var Tawk_API=Tawk_API||{}, Tawk_LoadStart=new Date();
                        (function(){
                        var s1=document.createElement("script"),s0=document.getElementsByTagName("script")[0];
                        s1.async=true;
                        s1.src="https://embed.tawk.to/654fca9bcec6a912820ef597/1hevqut88";
                        s1.charset="UTF-8";
                        s1.setAttribute("crossorigin","*");
                        s0.parentNode.insertBefore(s1,s0);
                        })();
                    </script>
    <link href="https://topcashba.com/assets/global/css/iziToast.min.css" rel="stylesheet">
<link href="https://topcashba.com/assets/global/css/iziToast_custom.css" rel="stylesheet">
<script src="https://topcashba.com/assets/global/js/iziToast.min.js"></script>

<script>
    "use strict";
    const colors = {
        success: '#28c76f',
        error: '#eb2222',
        warning: '#ff9f43',
        info: '#1e9ff2',
    }

    const icons = {
        success: 'fas fa-check-circle',
        error: 'fas fa-times-circle',
        warning: 'fas fa-exclamation-triangle',
        info: 'fas fa-exclamation-circle',
    }

    const notifications = [];
    const errors = [];


    const triggerToaster = (status, message) => {
        iziToast[status]({
            title: status.charAt(0).toUpperCase() + status.slice(1),
            message: message,
            position: "topRight",
            backgroundColor: '#fff',
            icon: icons[status],
            iconColor: colors[status],
            progressBarColor: colors[status],
            titleSize: '1rem',
            messageSize: '1rem',
            titleColor: '#474747',
            messageColor: '#a2a2a2',
            transitionIn: 'obunceInLeft'
        });
    }

    if (notifications.length) {
        notifications.forEach(element => {
            triggerToaster(element[0], element[1]);
        });
    }

    if (errors.length) {
        errors.forEach(error => {
            triggerToaster('error', error);
        });
    }

    function notify(status, message) {
        if (typeof message == 'string') {
            triggerToaster(status, message);
        } else {
            $.each(message, (i, val) => triggerToaster(status, val));
        }
    }
</script>

            <script src="https://topcashba.com/assets/global/js/firebase/firebase-8.3.2.js"></script>

<script>
    "use strict";

    var permission = null;
    var authenticated = '';
    var pushNotify = 1;
    var firebaseConfig = null;

    function pushNotifyAction(){
        permission = Notification.permission;

        if(!('Notification' in window)){
            notify('info', 'Push notifications not available in your browser. Try Chromium.')
        }
        else if(permission === 'denied' || permission == 'default'){ //Notice for users dashboard
            $('.notice').append(`
                <div class="alert border border--danger" role="alert">
                    <div class="alert__icon d-flex align-items-center text--danger"><i class="fas fa-bell"></i></div>
                    <p class="alert__message">
                        <span class="fw-bold">Please Allow / Reset Browser Notification </span><br>
                        <small>If you want to get push notification then you have to allow notification from your browser</small>
                    </p>
                </div>
            `);
        }
    }

    //If enable push notification from admin panel
    if(pushNotify == 1){
        pushNotifyAction();
    }

    //When users allow browser notification
    if(permission != 'denied' && firebaseConfig){

        //Firebase
        firebase.initializeApp(firebaseConfig);
        const messaging = firebase.messaging();

        navigator.serviceWorker.register("https://topcashba.com/assets/global/js/firebase/firebase-messaging-sw.js")

        .then((registration) => {
            messaging.useServiceWorker(registration);

            function initFirebaseMessagingRegistration() {
                messaging
                .requestPermission()
                .then(function () {
                    return messaging.getToken()
                })
                .then(function (token){
                    $.ajax({
                        url: 'https://topcashba.com/user/add-device-token',
                        type: 'POST',
                        data: {
                            token: token,
                            '_token': "wcHseGXXd9ZQ9rhcpKfrw79E0Jgt6fHTYrWy445n"
                        },
                        success: function(response){
                        },
                        error: function (err) {
                        },
                    });
                }).catch(function (error){
                });
            }

            messaging.onMessage(function (payload){
                const title = payload.notification.title;
                const options = {
                    body: payload.notification.body,
                    icon: payload.data.icon,
                    image: payload.notification.image,
                    click_action:payload.data.click_action,
                    vibrate: [200, 100, 200]
                };
                new Notification(title, options);
            });

            //For authenticated users
            if(authenticated){
                initFirebaseMessagingRegistration();
            }

        });

    }
</script>
            <script>
        (function($) {
            "use strict"
            var symbol = '$';
            var currency = 'USD';
            var plan;

            $('.investModal').click(function() {
                $('.gateway-info').addClass('d-none');
                var modal = $('#investModal');
                plan = $(this).data('plan');
                modal.find('[name=plan_id]').val(plan.id);
                modal.find('.planName').text(plan.name);
                let fixedAmount = parseFloat(plan.fixed_amount).toFixed(2);
                let minimumAmount = parseFloat(plan.minimum).toFixed(2);
                let maximumAmount = parseFloat(plan.maximum).toFixed(2);
                let interestAmount = parseFloat(plan.interest);

                if (plan.fixed_amount > 0) {
                    modal.find('.investAmountRange').text(`Invest: ${symbol}${fixedAmount}`);
                    modal.find('[name=amount]').val(parseFloat(plan.fixed_amount).toFixed(2));
                    modal.find('[name=amount]').attr('readonly', true);
                } else {
                    modal.find('.investAmountRange').text(`Invest: ${symbol}${minimumAmount} - ${symbol}${maximumAmount}`);
                    modal.find('[name=amount]').val('');
                    modal.find('[name=amount]').removeAttr('readonly');
                }

                if (plan.interest_type == '1') {
                    modal.find('.interestDetails').html(`<strong> Interest: ${interestAmount}% </strong>`);
                } else {
                    modal.find('.interestDetails').html(`<strong> Interest: ${interestAmount} ${currency}  </strong>`);
                }

                if (plan.lifetime == '0') {
                    modal.find('.interestValidity').html(`<strong>  Every ${plan.time_setting.time} hours for ${plan.repeat_time} times</strong>`);
                } else {
                    modal.find('.interestValidity').html(`<strong>  Every ${plan.time_setting.time} hours for life time </strong>`);
                }

                if (plan.compound_interest == '1') {
                    $('.compoundInterest').show();
                    $('.investTime').removeClass('col-md-12');
                } else {
                    $('.compoundInterest').hide();
                    $('.investTime').addClass('col-md-12');
                }
                calculateInterest();
            });

            $('[name=amount]').on('input', function() {
                $('[name=wallet_type]').trigger('change');
                calculateInterest();
            })

            $('[name=wallet_type]').change(function() {
                var amount = $('[name=amount]').val();
                if ($(this).val() && $(this).val() != 'deposit_wallet' && $(this).val() != 'interest_wallet' && amount) {
                    var resource = $('select[name=wallet_type] option:selected').data('gateway');
                    var fixed_charge = parseFloat(resource.fixed_charge);
                    var percent_charge = parseFloat(resource.percent_charge);
                    var charge = parseFloat(fixed_charge + (amount * percent_charge / 100)).toFixed(2);
                    $('.charge').text(charge);
                    $('.gateway-rate').text(parseFloat(resource.rate));
                    $('.gateway-info').removeClass('d-none');
                    if (resource.currency == 'USD') {
                        $('.rate-info').addClass('d-none');
                    } else {
                        $('.rate-info').removeClass('d-none');
                    }
                    $('.method_currency').text(resource.currency);
                    $('.total').text(parseFloat(charge) + parseFloat(amount));
                } else {
                    $('.gateway-info').addClass('d-none');
                }
            });

            $('[name=invest_time]').on('change', function() {
                let investTime = $(this).find(':selected').val();
                if (investTime == 'invest_now') {
                    $('.schedule').hide();
                } else {
                    $('.schedule').show();
                }
            }).change();

            $('[name=schedule_times]').on('input', function() {
                let text = $(this).val() == 1 ? `After` : `Every`;
                $('[name=hours]').closest('.form-group').find('label').text(text);
            });

            $('[name=compound_interest]').on('input', function() {
                calculateInterest();
            })

            function calculateInterest() {
                let interest = parseFloat(plan.interest);
                let interestType = plan.interest_type; //1: percent, 0: fixed
                let repeatTime = plan.repeat_time;
                let capitalBack = plan.capital_back;
                let investAmount = $('[name=amount]').val() * 1;
                let compoundInterest = $('[name=compound_interest]').val() ?? 0;
                let calculatedInterest = 0;
                let baseInterest = 0;

                if (repeatTime == 0 || investAmount == 0) {
                    $('.calculatedInterest').hide();
                    return false;
                } else {
                    $('.calculatedInterest').show();
                }

                let totalInterest = interest * repeatTime;

                if (interestType == '1') {
                    if (compoundInterest > 0) {
                        let remainingRepeatTime = repeatTime - compoundInterest;
                        let interestRatio = 1 + interest / 100;
                        let compoundCapital = investAmount * Math.pow(interestRatio, compoundInterest);
                        totalInterest = (compoundCapital * interest / 100) * remainingRepeatTime;
                    } else {
                        totalInterest = interest * investAmount / 100 * repeatTime;
                    }
                }

                totalInterest = capitalBack ? totalInterest : totalInterest - investAmount;
                $('.calculatedInterest').text(`Total Profit ` + symbol + totalInterest.toFixed(2));
            }

            
        })(jQuery);
    </script>
        <script>
            (function($) {
                "use strict";
                $('.custom-width').each(function(index, value) {
                    $(value).css("max-width", `${$(value).data('custom_width')}%`);
                });
            })(jQuery);
        </script>
        <script>
        (function($) {
            "use strict";

            $('.language_switcher > .language_switcher__caption').on('click', function() {
                $(this).parent().toggleClass('open');
            });
            $(document).on('keyup', function(evt) {
                if ((evt.keyCode || evt.which) === 27) {
                    $('.language_switcher').removeClass('open');
                }
            });
            $(document).on('click', function(evt) {
                if ($(evt.target).closest(".language_switcher > .language_switcher__caption").length === 0) {
                    $('.language_switcher').removeClass('open');
                }
            });
        })(jQuery);
    </script>

    <script>
        $('.select2').select2();

        Array.from(document.querySelectorAll('table')).forEach(table => {
            let heading = table.querySelectorAll('thead tr th');
            Array.from(table.querySelectorAll('tbody tr')).forEach((row) => {
                Array.from(row.querySelectorAll('td')).forEach((colum, i) => {
                    colum.setAttribute('data-label', heading[i].innerText)
                });
            });
        });

        $.each($('input, select, textarea'), function(i, element) {
            var elementType = $(element);
            if (elementType.attr('type') != 'checkbox') {
                if (element.hasAttribute('required')) {
                    $(element).closest('.form-group').find('label').addClass('required');
                }
            }
        });

        var inputElements = $('[type=text],[type=password],[type=email],[type=number],select,textarea');
        $.each(inputElements, function(index, element) {
            element = $(element);
            element.closest('.form-group').find('label').attr('for', element.attr('name'));
            element.attr('id', element.attr('name'))
        });

        $('.policy').on('click', function() {
            $.get('https://topcashba.com/cookie/accept', function(response) {
                $('.cookies-card').addClass('d-none');
            });
        });


        setTimeout(function() {
            $('.cookies-card').removeClass('hide')
        }, 2000);

        let disableSubmission = false;
        $('.disableSubmission').on('submit', function(e) {
            if (disableSubmission) {
                e.preventDefault()
            } else {
                disableSubmission = true;
            }
        });
        
    </script>



<svg id="SvgjsSvg1001" width="2" height="0" xmlns="http://www.w3.org/2000/svg" version="1.1" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svgjs="http://svgjs.dev" style="overflow: hidden; top: -100%; left: -100%; position: absolute; opacity: 0;"><defs id="SvgjsDefs1002"></defs><polyline id="SvgjsPolyline1003" points="0,0"></polyline><path id="SvgjsPath1004" d="M0 0 "></path></svg><script async="" charset="UTF-8" src="https://embed.tawk.to/_s/v4/app/67354992019/languages/en.js"></script></body></html>