
<script src="<?php echo e(asset('frontend/js/common-bundle-script.js')); ?>"></script>

<script src="<?php echo e(asset('frontend/js/script.js')); ?>"></script>
<script src="<?php echo e(asset('frontend/js/sidebar.large.script.js')); ?>"></script>
<script src="<?php echo e(asset('frontend/js/layout-sidebar-vertical.min.js')); ?>"></script>
<script src="<?php echo e(asset('frontend/js/metisMenu.min.js')); ?>"></script>
<script src="<?php echo e(asset('frontend/js/feather.min.js')); ?>"></script>
<script src="<?php echo e(asset('frontend/js/es5/dashboard.v1.script.min.js')); ?>"></script>
<script src="<?php echo e(asset('frontend/js/es5/script_2.min.js')); ?>"></script>


<script src="<?php echo e(asset('frontend/js/jspdf/jspdf.min.js')); ?>"></script>
<script src="<?php echo e(asset('frontend/js/jspdf/jspdf.plugin.autotable.js')); ?>"></script>


<script src="<?php echo e(asset('frontend/js/bootstrap-table/tableExport.min.js')); ?>"></script>
<script src="<?php echo e(asset('frontend/js/bootstrap-table/bootstrap-table.min.js')); ?>"></script>
<script src="<?php echo e(asset('frontend/js/bootstrap-table/bootstrap-table-export.min.js')); ?>"></script>
<script src="<?php echo e(asset('frontend/js/bootstrap-table/bootstrap-table-filter-control.min.js')); ?>"></script>
<script src="<?php echo e(asset('frontend/js/bootstrap-datepicker/bootstrap-datepicker.min.js')); ?>"></script>
<script src="<?php echo e(asset('frontend/js/bootstrap.bundle.min.js')); ?>"></script>
<script src="<?php echo e(asset('frontend/js/bootstrap4-toggle.min.js')); ?> "></script>

<script src="<?php echo e(asset('frontend/js/datatableconfig.js')); ?>"></script>

<script src="<?php echo e(asset('frontend/js/moment/moment.min.js')); ?>"></script>
<script src="<?php echo e(asset('frontend/js/daterangepicker/daterangepicker.min.js')); ?>"></script>
<script src="<?php echo e(asset('frontend/js/select2/select2.min.js')); ?>"></script>
<script src="<?php echo e(asset('frontend/js/sweetalert2/sweetalert2.js')); ?>"></script>
<script src="<?php echo e(asset('frontend/js/snackbar/snackbar.min.js')); ?>"></script>

<script src="<?php echo e(asset('frontend/js/crypto-js/crypto-js.min.js')); ?>"></script>
<script src="<?php echo e(asset('frontend/js/page-js/cryptojs-laravel-encryption.js')); ?>"></script>
<script src="<?php echo e(asset('frontend/js/summernote/summernote-lite.min.js')); ?>"></script>
<script src="<?php echo e(asset('frontend/js/master-blade.js')); ?>"></script>
<script src="<?php echo e(asset('frontend/js/portal-global.js')); ?>"></script>
<script src="<?php echo e(asset('frontend/js/toastr.min.js')); ?>"></script>

<?php echo $__env->make('frontend.notice-modal', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
<?php echo $__env->make('layouts.inc.custom-script', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>

<script>
    var isShowNotice = <?php echo json_encode(session('is_show_notice'), 15, 512) ?>;
    let projectPrefix = `amplivo_member_`;
    if (!localStorage.getItem(`${projectPrefix}session_id`)) {
        const sessionId = Date.now().toString();
        localStorage.setItem(`${projectPrefix}session_id`, sessionId);

        localStorage.removeItem(`${projectPrefix}lastActiveTime`);
        localStorage.removeItem(`${projectPrefix}idelStatus`);
        localStorage.removeItem(`${projectPrefix}timeout`);
    }

    const idleTimeoutDefault = <?php echo e(getSiteSettings('idle_logout') ?? 10); ?>;
</script>

<?php echo $__env->make("component.logout-popup", \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
<script src="<?php echo e(asset('frontend/js/idle-timeout.js')); ?>?v=<?php echo e(time()); ?>"></script>
<script>
    // Ensure DOM and script are fully loaded before calling
    window.addEventListener('DOMContentLoaded', function () {
        setTimeoutLS(idleTimeoutDefault);
    });
</script>

<?php /**PATH /home/corsairdevelopme/public_html/member/resources/views/layouts/inc/scripts.blade.php ENDPATH**/ ?>