<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Verify Portal</title>
    <link rel="shortcut icon" type="image/png" href="https://license.crevito.com/external/favicon.png">
    <link rel="stylesheet" href="https://license.crevito.com/external/css/lib/bootstrap.min.css">
    <link rel="stylesheet" href="https://license.crevito.com/external/css/line-awesome.min.css">
    <link rel="stylesheet" href="https://license.crevito.com/external/css/main.css">
</head>

<body>
    <header class="header">
        <div class="header-bottom">
            <div class="container-fluid">
                <div class="row justify-content-between align-items-center">
                    <div class="col-lg-4 text-lg-start text-center">
                        <img src="https://central.viser.store/assets/images/logoIcon/logo.png" alt="main logo" class="site-logo">
                    </div>
                    <div class="col-lg-8 text-lg-end text-center mt-lg-0 mt-3">
                        <h4 class="header-text">Verify Portal</h4>
                    </div>
                </div>
            </div>
        </div>
    </header>

    <div class="main-wrapper">
        <section class="pt-100 pb-100">
            <div class="container">
                <div class="custom--card">
                    <div class="card-header text-center">
                        <h2>Verify License</h2>
                    </div>
                    <div class="card-body">
                        <div class="row justify-content-center">
                            <div class="col-lg-12">
                                <form class="verForm">
                                    <div class="row gy-4">
                                        <div class="col-lg-9 col-md-12">
                                            <input type="text" name="code" class="form--control"
                                                placeholder="Your Purchase Code" required>
                                        </div>
                                        <div class="col-lg-3 col-md-12">
                                            <button type="submit" class="btn btn--base w-100" style="height: 55px;">
                                                Verify</i></button>
                                        </div>
                                    </div>
                                </form>

                                <div class="row gy-4 mt-5">
                                    <h2 class="text--danger text-center" id="responseMessage"></h2>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </section>
    </div>

    <footer class="footer">
        <p></i> 2023 . All Rights Reserved.</p>
    </footer>

    <script src="https://license.crevito.com/external/js/jquery-3.6.0.min.js"></script>
    <script src="https://license.crevito.com/external/js/bootstrap.bundle.min.js"></script>
    <script src="https://license.crevito.com/external/js/app.js"></script>

    <script>
        "use strict";

        function notify(status, message) {
            if (typeof message == 'string') {
                iziToast[status]({
                    message: message,
                    position: "topRight"
                });
            } else {
                $.each(message, function (i, val) {
                    iziToast[status]({
                        message: val,
                        position: "topRight"
                    });
                });
            }
        }

        (function ($) {
            "use strict"

            $('.verForm').submit(function (e) {
                e.preventDefault();
                $('.alert-area').addClass('d-none');
                $('.sbmBtn').text('Processing...');
                $('#responseMessage').text('');

                var url = '<?php echo e(route(Laramin\Utility\VugiChugi::acRouterSbm())); ?>';
                var data = {
                    "purchase_code": $(this).find('[name=code]').val(),
                };

                $.post(url, data, function (response) {
                    if (response.type == 'error') {
                        $('.sbmBtn').text('Submit');
                        $('.verForm').trigger("reset");
                        $('.alert-area').removeClass('d-none');
                        $('#responseMessage').text(response.message);
                    } else {
                        location.reload();
                    }
                });
            });
        })(jQuery);
    </script>
</body>

</html><?php /**PATH /home/ethemest/USER/pasia.top/core/vendor/str/utility/src/Views/laramin_start.blade.php ENDPATH**/ ?>