<?php $__env->startSection('panel'); ?>
    <?php
        $loginRegisterContent = getContent('login_register.content', true);
        $credentials = gs('socialite_credentials');
        $socialLoginActive =
            @$credentials->google->status == Status::ENABLE ||
            @$credentials->facebook->status == Status::ENABLE ||
            @$credentials->linkedin->status == Status::ENABLE;
    ?>

    <section class="account">
        <div class="account-inner">
            <div class="account-inner__side thumb">
                <img src="<?php echo e(frontendImage('login_register', @$loginRegisterContent->data_values->image, '960x945')); ?>"
                    alt="Account Image" />
            </div>
            <div class="account-inner__side content">
                <div class="account-card">
                    <div class="account-card__header">
                        <div class="account-card__headings">
                            <h4 class="title"><?php echo app('translator')->get(@$loginRegisterContent->data_values->login_title); ?></h4>
                            <?php
                                $subtitle = $socialLoginActive
                                    ? __(@$loginRegisterContent->data_values->social_subtitle)
                                    : __(@$loginRegisterContent->data_values->subtitle);
                                $class = !$socialLoginActive ? ' mb-5' : '';
                            ?>
                            <p class="subtitle<?php echo e($class); ?>"><?php echo e($subtitle); ?></p>
                        </div>
                        <?php if($socialLoginActive): ?>
                            <?php echo $__env->make('Template::partials.social_login', array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?>
                        <?php endif; ?>
                    </div>

                    <?php if($socialLoginActive): ?>
                        <div class="account-card__divider">
                            <span><?php echo app('translator')->get('OR'); ?></span>
                        </div>
                    <?php endif; ?>

                    <div class="account-card__body">
                        <form class="account-form verify-gcaptcha" method="POST" action="<?php echo e(route('user.login')); ?>">
                            <?php echo csrf_field(); ?>
                            <div class="row gy-4">
                                <div class="col-sm-12">
                                    <label class="form-label form--label required" for="username"><?php echo app('translator')->get('Email or Username'); ?></label>
                                    <input class="form-control form--control" name="username" type="text"
                                        placeholder="<?php echo app('translator')->get('Email or Username'); ?>" value="<?php echo e(old('username')); ?>" required>
                                </div>
                                <div class="col-sm-12">
                                    <label class="form-label form--label required" for="password"><?php echo app('translator')->get('Password'); ?></label>
                                    <div class="input-group input--group input--group-password">
                                        <input class="form-control form--control" name="password" type="password"
                                            placeholder="<?php echo app('translator')->get('Password'); ?>" id="password" required>
                                        <button class="input-group-text input-group-btn toggle-password" type="button">
                                            <i class="far fa-eye-slash"></i>
                                        </button>
                                    </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(['frontend' => true,'isCustom' => true]); ?>
<?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; ?>
                                <div class="col-sm-12">
                                    <div class="d-flex flex-wrap align-items-center justify-content-between gap-2">
                                        <div class="form-check form--check">
                                            <input class="form-check-input" type="checkbox" name="remember" id="remember-me"
                                                <?php echo e(old('remember') ? 'checked' : ''); ?>>
                                            <label class="form-check-label" for="remember-me"><?php echo app('translator')->get('Remember Me'); ?></label>
                                        </div>
                                        <a class="fs-15" href="<?php echo e(route('user.password.request')); ?>"><?php echo app('translator')->get('Forgot Password?'); ?></a>
                                    </div>
                                </div>
                                <div class="col-sm-12">
                                    <button class="w-100 btn btn--lg btn--base" type="submit"><?php echo app('translator')->get('Sign In'); ?></button>
                                    <?php if(gs('registration')): ?>
                                        <p class="text-center mt-4">
                                            <?php echo app('translator')->get("Don't have an account?"); ?> <a href="<?php echo e(route('user.register')); ?>"><?php echo app('translator')->get('Register'); ?></a>
                                        </p>
                                    <?php endif; ?>
                                </div>
                            </div>
                        </form>
                    </div>
                </div>
                <a href="<?php echo e(route('home')); ?>" class="btn btn--close style-two" title="Back to home">
                    <i class="las la-times"></i>
                </a>
            </div>
        </div>
    </section>
<?php $__env->stopSection(); ?>


<?php $__env->startPush('style'); ?>
    <style>
        @media screen and (min-width: 1200px) {
            .account-inner__side.thumb {
                -webkit-mask-image: url("<?php echo e(frontendImage('login_register', @$loginRegisterContent->data_values->image, '960x945')); ?>");
                mask-image: url("<?php echo e(getImage(activeTemplate(true) . '/images/account-thumb-mask.png')); ?>");
            }
        }
    </style>
<?php $__env->stopPush(); ?>

<?php echo $__env->make('Template::layouts.app', array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?><?php /**PATH /home/u710135641/domains/compulancer.com/public_html/core/resources/views/templates/basic/user/auth/login.blade.php ENDPATH**/ ?>