<!-- Core JS -->
<script src="<?= site_url('themes/vuexy/vendor/libs/jquery/jquery.js') ?>"></script>
<script src="<?= site_url('themes/vuexy/vendor/libs/popper/popper.js') ?>"></script>
<script src="<?= site_url('themes/vuexy/vendor/js/bootstrap.js') ?>"></script>
<script src="<?= site_url('themes/vuexy/vendor/libs/perfect-scrollbar/perfect-scrollbar.js') ?>"></script>
<script src="<?= site_url('themes/vuexy/vendor/libs/node-waves/node-waves.js') ?>"></script>

<script src="<?= site_url('themes/vuexy/vendor/libs/hammer/hammer.js') ?>"></script>
<script src="<?= site_url('themes/vuexy/vendor/libs/i18n/i18n.js') ?>"></script>
<script src="<?= site_url('themes/vuexy/vendor/libs/typeahead-js/typeahead.js') ?>"></script>

<script src="<?= site_url('themes/vuexy/vendor/js/menu.js') ?>"></script>


<!-- Vendors JS -->
<script src="<?= site_url('themes/vuexy/vendor/timeago/jquery.timeago.js'); ?>"></script>
<script src="<?= site_url('themes/vuexy/vendor/timeago/locales/jquery.timeago.'.langJS().'.js'); ?>"></script>
<script src="<?= site_url('themes/vuexy/vendor/libs/formvalidation/dist/js/FormValidation.min.js') ?>"></script>
<script src="<?= site_url('themes/vuexy/vendor/libs/formvalidation/dist/js/plugins/Bootstrap5.min.js') ?>"></script>
<script src="<?= site_url('themes/vuexy/vendor/libs/formvalidation/dist/js/plugins/AutoFocus.min.js') ?>"></script>

<!-- Main JS -->
<script src="<?= site_url('themes/vuexy/js/main.js') ?>"></script>

<!-- Page JS -->

<!-- Custom  JS -->
<script>
    "use strict";
    $(document).ready(function () {
        let time_ago  = document.getElementsByClassName("timeAgo");
        for (let i = 0; i < time_ago.length; i++) {
            time_ago[i].innerText = jQuery.timeago(time_ago[i].innerText)
        }
    });
</script>

<div class="footer">
    <div class="copyright">
        <p>Copyright © <a href="#" target="_blank">TBD</a> - Safekat v<?=version()?> </p>
    </div>
</div>
</div>

</body>
</html>

