<?php
    $defualt = get_default_language_code() ?? 'en';
    $default_lng = 'en';
?>
<?php $__env->startPush('css'); ?>
<?php $__env->stopPush(); ?>

<?php $__env->startSection('content'); ?>
    <?php echo $__env->make('user.sections.security.google-2fa', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
<?php $__env->stopSection(); ?>

<?php $__env->startPush('script'); ?>
    <script>
        $(".active-deactive-btn").click(function() {
            var actionRoute = "<?php echo e(setRoute('user.security.google.2fa.status.update')); ?>";
            var target = 1;
            var btnText = $(this).text();
            var sureText = '<?php echo e(__('Are you sure to')); ?>';
            var lastText = '<?php echo e(__('2 factor authentication (Powered by google)')); ?>';
            var message = `${sureText} <strong>${btnText}</strong> ${lastText}?`;
            openAlertModal(actionRoute, target, message, btnText, "POST");
        });
    </script>
<?php $__env->stopPush(); ?>

<?php echo $__env->make('user.layouts.master', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH C:\xampp\htdocs\Payload\resources\views/user/page/security.blade.php ENDPATH**/ ?>