<?php $__env->startSection('content'); ?>
<?php echo $__env->make('layouts.headers.guest', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
<div class="container lw-guest-page-container-block pb-2">
    <div class="row justify-content-center">
        <div class="col-lg-6 col-md-8">
            <div class="card lw-form-card-box shadow border-0">
                <h1 class="card-header text-center">
                    <div class="my-4">
                        <i class="fa fa-lock fa-3x text-gray"></i>
                    </div>
                    <?php echo e(__tr('Account Access')); ?>

                </h1>
                <?php if(isDemo()): ?>
                    <div class="card-header text-center">
                        <button onclick="document.getElementById('lwLoginEmail').value='demosuperadmin';document.getElementById('lwLoginPassword').value='demopass12';" class="btn btn-sm btn-danger"><?php echo e(__tr('Demo Super Admin Login')); ?></button>
                        <button onclick="document.getElementById('lwLoginEmail').value='testcompany';document.getElementById('lwLoginPassword').value='demopass12';" class="btn btn-sm btn-danger"><?php echo e(__tr('Demo Company Login')); ?></button>
                    </div>
                <?php endif; ?>
                <div class="card-body px-lg-5 py-lg-5">
                    <?php if (isset($component)) { $__componentOriginald0b55ee435ec3aeeadffee8b0df479da = $component; } ?>
<?php if (isset($attributes)) { $__attributesOriginald0b55ee435ec3aeeadffee8b0df479da = $attributes; } ?>
<?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.lw.form','data' => ['id' => 'lwLoginForm','dataSecured' => 'true','action' => route('auth.login.process')]] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?>
<?php $component->withName('lw.form'); ?>
<?php if ($component->shouldRender()): ?>
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
<?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag && $constructor = (new ReflectionClass(Illuminate\View\AnonymousComponent::class))->getConstructor()): ?>
<?php $attributes = $attributes->except(collect($constructor->getParameters())->map->getName()->all()); ?>
<?php endif; ?>
<?php $component->withAttributes(['id' => 'lwLoginForm','data-secured' => 'true','action' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute(route('auth.login.process'))]); ?>
                        <div class="form-group<?php echo e($errors->has('email') ? ' has-danger' : ''); ?> mb-3">
                            <div class="input-group input-group-alternative">
                                <div class="input-group-prepend">
                                    <span class="input-group-text"><i class="fa fa-user-alt"></i></span>
                                </div>
                                <input id="lwLoginEmail" class="form-control<?php echo e($errors->has('email') ? ' is-invalid' : ''); ?>" placeholder="<?php echo e(__tr('Email or Username')); ?>" type="text" name="email" value="" required autofocus autocomplete="email">
                            </div>
                        </div>
                        <div class="form-group<?php echo e($errors->has('password') ? ' has-danger' : ''); ?>">
                            <div class="input-group input-group-alternative">
                                <div class="input-group-prepend">
                                    <span class="input-group-text"><i class="fa fa-lock"></i></span>
                                </div>
                                <input id="lwLoginPassword" class="form-control<?php echo e($errors->has('password') ? ' is-invalid' : ''); ?>" name="password" placeholder="<?php echo e(__tr('Password')); ?>" type="password" value="" required autocomplete="current-password">
                            </div>
                        </div>
                        <div class="custom-control custom-control-alternative custom-checkbox">
                            <input class="custom-control-input" name="remember" id="customCheckLogin" type="checkbox" <?php echo e(old('remember') ? 'checked' : ''); ?>>
                            <label class="custom-control-label" for="customCheckLogin">
                                <span class="text-light"><?php echo e(__tr('Remember me')); ?></span>
                            </label>
                            <?php if(Route::has('auth.password.request')): ?>
                            <a href="<?php echo e(route('auth.password.request')); ?>" class="text-light float-right">
                                <small><?php echo e(__tr('Forgot password?')); ?></small>
                            </a>
                            <?php endif; ?>
                        </div>
                        <div class="text-center">
                            <button type="submit" class="btn btn-success my-4 btn-lg btn-block mb-5"><?php echo e(__tr('Login')); ?></button>
                        </div>
                     <?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__attributesOriginald0b55ee435ec3aeeadffee8b0df479da)): ?>
<?php $attributes = $__attributesOriginald0b55ee435ec3aeeadffee8b0df479da; ?>
<?php unset($__attributesOriginald0b55ee435ec3aeeadffee8b0df479da); ?>
<?php endif; ?>
<?php if (isset($__componentOriginald0b55ee435ec3aeeadffee8b0df479da)): ?>
<?php $component = $__componentOriginald0b55ee435ec3aeeadffee8b0df479da; ?>
<?php unset($__componentOriginald0b55ee435ec3aeeadffee8b0df479da); ?>
<?php endif; ?>
                </div>
                <div class="card-footer text-center">
                    <!-- social login links -->
                    <?php if(getAppSettings('allow_google_login')): ?>
                    <a href="<?= route('login.google') ?>" class="btn btn-google btn-user btn-block">
                        <i class="fab fa-google fa-fw"></i> <?= __tr('Continue with Google')  ?>
                    </a>
                    <?php endif; ?>
                    <?php if(getAppSettings('allow_facebook_login')): ?>
                    <a href="<?= route('login.facebook') ?>" class="btn btn-facebook btn-user btn-block">
                        <i class="fab fa-facebook-f fa-fw"></i> <?= __tr('Continue with Facebook')  ?>
                    </a>
                    <?php endif; ?>
                    <!-- social login links -->
                    <div class="mb-3 mt-5">
                        <?php echo e(__tr('If you don\'t have an Account yet? Create One! Its Free!!')); ?>

                    </div>
                    <a href="<?php echo e(route('auth.register')); ?>" class="btn btn-lg btn-warning">
                        <small><?php echo e(__tr('Create New Account')); ?></small>
                    </a>
                </div>
            </div>
        </div>
    </div>
</div>
<?php $__env->stopSection(); ?>
<?php echo $__env->make('layouts.app', ['class' => 'main-content-has-bg'], \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH C:\xampp\htdocs\zap\resources\views/auth/login.blade.php ENDPATH**/ ?>