<?php /* Smarty version 3.1.27, created on 2024-03-15 11:39:35
         compiled from "/home/ganstrades/public_html/tmpl/footer.tpl" */ ?>
<?php
/*%%SmartyHeaderCode:92495193065f433773ef959_55035909%%*/
if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    '59cc0bfcbf81c0457f12d87264be0312fe5ebb31' => 
    array (
      0 => '/home/ganstrades/public_html/tmpl/footer.tpl',
      1 => 1704703487,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '92495193065f433773ef959_55035909',
  'has_nocache_code' => false,
  'version' => '3.1.27',
  'unifunc' => 'content_65f433774d5138_24595014',
),false);
/*/%%SmartyHeaderCode%%*/
if ($_valid && !is_callable('content_65f433774d5138_24595014')) {
function content_65f433774d5138_24595014 ($_smarty_tpl) {

$_smarty_tpl->properties['nocache_hash'] = '92495193065f433773ef959_55035909';
?>
<?php echo '<script'; ?>
 src="/user/assets/themes/deepblue/js/jquery-3.5.1.min.js"><?php echo '</script'; ?>
>

<?php echo '<script'; ?>
 src="/user/assets/global/js/jquery-ui.min.js"><?php echo '</script'; ?>
>
<?php echo '<script'; ?>
 src="/user/assets/global/js/popper.min.js"><?php echo '</script'; ?>
>
<?php echo '<script'; ?>
 src="/user/assets/global/js/bootstrap.min.js"><?php echo '</script'; ?>
>

<?php echo '<script'; ?>
 src="/user/assets/global/js/notiflix-aio-2.7.0.min.js"><?php echo '</script'; ?>
>
<?php echo '<script'; ?>
 src="/user/assets/themes/deepblue/js/fontawesome.min.js"><?php echo '</script'; ?>
>
<?php echo '<script'; ?>
 src="/user/assets/themes/deepblue/js/wow.min.js"><?php echo '</script'; ?>
>
<?php echo '<script'; ?>
 src="/user/assets/themes/deepblue/js/jquery.flagstrap.min.js"><?php echo '</script'; ?>
>
<?php echo '<script'; ?>
 src="/user/assets/themes/deepblue/js/slick.min.js"><?php echo '</script'; ?>
>
<?php echo '<script'; ?>
 src="/user/assets/themes/deepblue/js/owl.carousel.min.js"><?php echo '</script'; ?>
>
<?php echo '<script'; ?>
 src="/user/assets/themes/deepblue/js/multi-animated-counter.js"><?php echo '</script'; ?>
>
<?php echo '<script'; ?>
 src="/user/assets/themes/deepblue/js/radialprogress.js"><?php echo '</script'; ?>
>


<?php echo '<script'; ?>
 src="/user/assets/global/js/pusher.min.js"><?php echo '</script'; ?>
>
<?php echo '<script'; ?>
 src="/user/assets/global/js/vue.min.js"><?php echo '</script'; ?>
>
<?php echo '<script'; ?>
 src="/user/assets/global/js/axios.min.js"><?php echo '</script'; ?>
>

<?php echo '<script'; ?>
 src="/user/assets/themes/deepblue/js/script.js"><?php echo '</script'; ?>
>


<?php echo '<script'; ?>
>
    'use strict';
    let pushNotificationArea = new Vue({
        el: "#pushNotificationArea",
        data: {
            items: [],
        },
        mounted() {
            this.getNotifications();
            this.pushNewItem();
        },
        methods: {
            getNotifications() {
                let app = this;
                axios.get("/user/user/push-notification-show")
                    .then(function (res) {
                        app.items = res.data;
                    })
            },
            readAt(id, link) {
                let app = this;
                let url = "/user/user/push-notification-readAt/0";
                url = url.replace(/.$/, id);
                axios.get(url)
                    .then(function (res) {
                        if (res.status) {
                            app.getNotifications();
                            if (link != '#') {
                                window.location.href = link
                            }
                        }
                    })
            },
            readAll() {
                let app = this;
                let url = "/user/user/push.notification.readAll";
                axios.get(url)
                    .then(function (res) {
                        if (res.status) {
                            app.items = [];
                        }
                    })
            },
            pushNewItem() {
                let app = this;
                // Pusher.logToConsole = true;
                let pusher = new Pusher("5fe96ccfdf1aefb0e849", {
                    encrypted: true,
                    cluster: "ap2"
                });
                let channel = pusher.subscribe('user-notification.' + "633");
                channel.bind('App\\Events\\UserNotification', function (data) {
                    app.items.unshift(data.message);
                });
                channel.bind('App\\Events\\UpdateUserNotification', function (data) {
                    app.getNotifications();
                });
            }
        }
    });
<?php echo '</script'; ?>
>


    <?php echo '<script'; ?>
 src="/user/assets/themes/deepblue/js/apexcharts.js"><?php echo '</script'; ?>
>


    <?php echo '<script'; ?>
>
        "use strict";

        var options = {
            theme: {
                mode: 'dark',
            },

            series: [
                {
                    name: "Investment",
                    color: 'rgba(247, 147, 26, 1)',
                    data: [0,0,0,0,0,0,0,0,0,0,0,0]
                },
                {
                    name: "Payout",
                    color: 'rgba(240, 16, 16, 1)',
                    data: [0,0,0,0,0,0,0,0,0,0,0,0]
                },
                {
                    name: "Deposit",
                    color: 'rgba(255, 72, 0, 1)',
                    data: [0,0,0,0,0,0,0,0,0,0,0,0]
                },
                {
                    name: "Deposit Bonus",
                    color: 'rgba(39, 144, 195, 1)',
                    data: [0,0,0,0,0,0,0,0,0,0,0,0]
                },
                {
                    name: "Investment Bonus",
                    color: 'rgba(136, 203, 245, 1)',
                    data: [0,0,0,0,0,0,0,0,0,0,0,0]
                }
            ],
            chart: {
                type: 'bar',
                // height: ini,
                background: '#131e51',
                toolbar: {
                    show: false
                }

            },
            plotOptions: {
                bar: {
                    horizontal: false,
                    columnWidth: '55%',
                    endingShape: 'rounded'
                },
            },
            dataLabels: {
                enabled: false
            },
            stroke: {
                show: true,
                width: 2,
                colors: ['transparent']
            },
            xaxis: {
                categories: ["January","February","March","April","May","June","July","August","September","October","November","December"],

            },
            yaxis: {
                title: {
                    text: ""
                }
            },
            fill: {
                opacity: 1
            },
            tooltip: {
                colors: ['#000'],
                y: {
                    formatter: function (val) {
                        return "$" + val + ""
                    }
                }
            }
        };

        var chart = new ApexCharts(document.querySelector("#container"), options);
        chart.render();

        function copyFunction() {
            var copyText = document.getElementById("sponsorURL");
            copyText.select();
            copyText.setSelectionRange(0, 99999);
            /*For mobile devices*/
            document.execCommand("copy");
            Notiflix.Notify.Success(`Copied: ${copyText.value}`);
        }
    <?php echo '</script'; ?>
>






<?php echo '<script'; ?>
>
    $(document).ready(function () {
        $(".language").find("select").change(function(){
            window.location.href = "/user/language/"+$(this).val()
        })
    })
<?php echo '</script'; ?>
>




<?php echo '<script'; ?>
 src="//code.tidio.co/7j4pdeiueqj6ecqxxcuv5tlolnocpsay.js" async><?php echo '</script'; ?>
>

<div class="gtranslate_wrapper"></div>


<?php echo '<script'; ?>
>window.gtranslateSettings = {"default_language":"en","detect_browser_language":true,"wrapper_selector":".gtranslate_wrapper"}<?php echo '</script'; ?>
>
<?php echo '<script'; ?>
 src="https://cdn.gtranslate.net/widgets/latest/float.js" defer><?php echo '</script'; ?>
>


</body>
</html>
<?php }
}
?>