<?php $__env->startSection('mainContent'); ?>

    <?php echo generateBreadcrumb(); ?>



    <section class="mb-20 student-details">
        <div class="container-fluid p-0">
            <div class="white-box">
                <div class="row">
                    <div class="col-lg-12">

                       <?php echo $__env->make('systemsetting::api.partials._nav', array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?>

                        <!-- Tab panes -->
                        <div class="tab-content">

                            <?php echo $__env->make('systemsetting::api.partials._lms_key', array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?>
                            <?php echo $__env->make('systemsetting::api.partials._google_map', array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?>
                            <?php echo $__env->make('systemsetting::api.partials._google_fonts', array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?>
                            <?php echo $__env->make('systemsetting::api.partials._fixer', array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?>
                            <?php echo $__env->make('systemsetting::api.partials._exchangeer', array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?>
                            <?php echo $__env->make('systemsetting::api.partials._fcm', array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </section>

<?php $__env->stopSection(); ?>
<?php $__env->startPush('scripts'); ?>
    <script>
        $(document).on("click", "#confirmBtn", function (e) {
            e.preventDefault();
            let key = $('#inputKey').val();
            $('#appKeyUpdateInput').val(key);
            $('#AppKeyModal').modal('show');
        });

        $(document).on("click", "#generateNewKey", function (e) {

            let key = $('#inputKey');
            let possible = 'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789';

            let generate_key = '';
            for (let i = 0; i < 64; i++) {
                generate_key += possible.charAt(Math.floor(Math.random() * possible.length));
            }

            key.val(generate_key)
        });


    </script>
<?php $__env->stopPush(); ?>


<?php echo $__env->make('backend.master', array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?><?php /**PATH /home/minialms/card.minialms.com/Modules/SystemSetting/Providers/../Resources/views/api/index.blade.php ENDPATH**/ ?>