<style>
    .container-fluid.signUpFooter{
        display: none;
    }
</style>
<form class="verify-gcaptcha disableSubmission" action="<?php echo e(route('user.register')); ?>" method="POST">
    <?php echo csrf_field(); ?>
    <div class="row">
        <?php if(session()->get('reference') != null): ?>
            <div class="form-group">
                <label class="form-label"><?php echo app('translator')->get('Reference Id'); ?></label>
                <input class="form-control form--control" type="text" value="<?php echo e(session()->get('reference')); ?>" readonly>
            </div>
        <?php endif; ?>
        <div class="col-md-6 col-sm-12">
            <div class="form-group">
                <label class="form-label"><?php echo app('translator')->get('First Name'); ?></label>
                <input class="form-control form--control form-input" name="firstname" type="text" value="<?php echo e(old('firstname')); ?>" required>
            </div>
        </div>

        <div class="col-md-6 col-sm-12">
            <div class="form-group">
                <label class="form-label"><?php echo app('translator')->get('Last Name'); ?></label>
                <input class="form-control form--control form-input" name="lastname" type="text" value="<?php echo e(old('lastname')); ?>" required>
            </div>
        </div>

        <div class="col-sm-12">
            <div class="form-group">
                <label class="form-label"><?php echo app('translator')->get('Email Address'); ?></label>
                <input class="form-control form--control checkUser form-input" name="email" type="email" value="<?php echo e(old('email')); ?>" required>
            </div>
        </div>

        <div class="col-md-6 col-sm-12">
            <div class="form-group">
                <label class="form-label"><?php echo app('translator')->get('Password'); ?></label>
                <div class="input-group input--group">
                    <input class="form-input form-control form--control <?php if(gs('secure_password')): ?> secure-password <?php endif; ?>" name="password" type="password" required>
                    <span class="input-group-text pass-toggle">
                    <i id="togglePassword" class="fa fa-eye-slash" aria-hidden="true"></i>
                    </span>
                </div>
            </div>
        </div>

        <div class="col-md-6 col-sm-12">
            <div class="form-group">
                <label class="form-label"><?php echo app('translator')->get('Confirm Password'); ?></label>
                <div class="input-group input--group">
                    <input class="form-input form-control form--control" name="password_confirmation" type="password" required>
                    <span class="input-group-text pass-toggle">
                    <i id="toggleConfirmPassword" class="fa fa-eye-slash" aria-hidden="true"></i>
                    </span>
                </div>
            </div>
        </div>

        <?php if (isset($component)) { $__componentOriginalff0a9fdc5428085522b49c68070c11d6 = $component; } ?>
<?php if (isset($attributes)) { $__attributesOriginalff0a9fdc5428085522b49c68070c11d6 = $attributes; } ?>
<?php $component = App\View\Components\Captcha::resolve([] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? $attributes->all() : [])); ?>
<?php $component->withName('captcha'); ?>
<?php if ($component->shouldRender()): ?>
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
<?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag): ?>
<?php $attributes = $attributes->except(\App\View\Components\Captcha::ignoredParameterNames()); ?>
<?php endif; ?>
<?php $component->withAttributes([]); ?>
<?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__attributesOriginalff0a9fdc5428085522b49c68070c11d6)): ?>
<?php $attributes = $__attributesOriginalff0a9fdc5428085522b49c68070c11d6; ?>
<?php unset($__attributesOriginalff0a9fdc5428085522b49c68070c11d6); ?>
<?php endif; ?>
<?php if (isset($__componentOriginalff0a9fdc5428085522b49c68070c11d6)): ?>
<?php $component = $__componentOriginalff0a9fdc5428085522b49c68070c11d6; ?>
<?php unset($__componentOriginalff0a9fdc5428085522b49c68070c11d6); ?>
<?php endif; ?>

        <?php if(gs('agree')): ?>
            <?php
                $policyElements = getContent('policy_pages.element', orderById: true);
            ?>
            <div class="col-12">
                <div class="">
                    <input class="form-check-input custom--check signUp_privacy_check" id="agree" name="agree" type="checkbox" <?php if(old('agree')): echo 'checked'; endif; ?> required>
                    <div class="privacy-chk-test">
                        <label class="form-check-label sm-text t-heading-font heading-clr fw-md" for="agree">
                            <?php echo app('translator')->get('I agree with'); ?>
                        </label>
                        <span class="sm-text">
                            <?php $__currentLoopData = $policyElements; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $policy): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                <a href="<?php echo e(route('policy.pages', $policy->slug)); ?>" target="_blank"><?php echo e(__(@$policy->data_values->title)); ?></a>
                                <?php if(!$loop->last): ?>
                                    ,
                                <?php endif; ?>
                            <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                        </span>
                    </div>
                </div>
            </div>
        <?php endif; ?>
    </div>
    <button class="btn btn--xl btn--base w-100 mt-3 register_btnN" type="submit"><?php echo app('translator')->get('Register'); ?></button>

    <div class="d-flex justify-content-center align-items-center gap-2 mt-2 already_member01">
        <span class="d-inline-block sm-text"> <?php echo app('translator')->get('Already have an account?'); ?> </span>
        <a class="login_link_onSignUp" href="<?php echo e(route('user.login')); ?>">
            <?php echo app('translator')->get('Login'); ?>
        </a>
    </div>
</form>

<?php $__env->startPush('style'); ?>
    <style>
        .form-group {
            margin: 8px 0;
        }
    </style>
<?php $__env->stopPush(); ?>

<?php if(gs('secure_password')): ?>
    <?php $__env->startPush('script-lib'); ?>
        <script src="<?php echo e(asset('assets/global/js/secure_password.js')); ?>"></script>
    <?php $__env->stopPush(); ?>
<?php endif; ?>

<?php $__env->startPush('script'); ?>
    <script>
        "use strict";
        (function($) {
            $('.checkUser').on('focusout', function(e) {
                var url = '<?php echo e(route('user.checkUser')); ?>';
                var value = $(this).val();
                var token = '<?php echo e(csrf_token()); ?>';
                var data = {
                    email: value,
                    _token: token
                }
                $.post(url, data, function(response) {
                    if (response.data != false) {
                        $('#existModalCenter').modal('show');
                    }
                });
            });
        })(jQuery);
    </script>

    <script>
        $("#togglePassword").on("click", function () {
            $(this).toggleClass("fa-eye fa-eye-slash");
        });

        $("#toggleConfirmPassword").on("click", function () {
            $(this).toggleClass("fa-eye fa-eye-slash");
        });
    </script>
<?php $__env->stopPush(); ?>
<?php /**PATH /home/cuce22pe/public_html/bet.newgenguru.com/core/resources/views/templates/basic/partials/register.blade.php ENDPATH**/ ?>