<?php if (isset($component)) { $__componentOriginal9ac128a9029c0e4701924bd2d73d7f54 = $component; } ?>
<?php if (isset($attributes)) { $__attributesOriginal9ac128a9029c0e4701924bd2d73d7f54 = $attributes; } ?>
<?php $component = App\View\Components\AppLayout::resolve([] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? $attributes->all() : [])); ?>
<?php $component->withName('app-layout'); ?>
<?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\AppLayout::ignoredParameterNames()); ?>
<?php endif; ?>
<?php $component->withAttributes([]); ?>
    <form id="settingsForm" class="" action="<?php echo e(route('admin.settings.update')); ?>" method="post"
        enctype="multipart/form-data">
        <?php echo csrf_field(); ?>
        <div class="row settings-tabs invisible">
            <div class="col-md-2">
                <ul class="nav flex-column verticle-tabs" id="leftTabs" role="tablist">
                    <li class="nav-title"><?php echo app('translator')->get('settings.applicationManagement'); ?></li>
                    <li class="nav-item">
                        <a href="#general" class="nav-link active" data-coreui-toggle="tab"
                            data-coreui-target="#general" role="tab" aria-controls="nav-home" aria-selected="true">
                            <span></span><?php echo app('translator')->get('settings.general'); ?>
                        </a>
                    </li>
                    <li class="nav-item">
                        <a href="#usersTab" class="nav-link" data-coreui-toggle="tab" data-coreui-target="#usersTab"
                            role="tab" aria-controls="nav-home" aria-selected="false">
                            <span></span><?php echo app('translator')->get('admin.users'); ?>
                        </a>
                    </li>
                    <li class="nav-item">
                        <a href="#layoutsTab" class="nav-link" data-coreui-toggle="tab" data-coreui-target="#layoutsTab"
                            role="tab" aria-controls="nav-home" aria-selected="false">
                            <span></span><?php echo app('translator')->get('settings.layouts'); ?>
                        </a>
                    </li>
                    <li class="nav-item">
                    <li class="nav-item">
                        <a href="#cacheSystem" class="nav-link" data-coreui-toggle="tab"
                            data-coreui-target="#cacheSystem" role="tab" aria-controls="nav-home"
                            aria-selected="false">
                            <span></span><?php echo app('translator')->get('settings.cache'); ?>
                        </a>
                    </li>
                    <li class="nav-item">
                        <a href="#footerTab" class="nav-link" data-coreui-toggle="tab" data-coreui-target="#footerTab"
                            role="tab" aria-controls="nav-home" aria-selected="false">
                            <span></span><?php echo app('translator')->get('admin.footer'); ?>
                        </a>
                    </li>
                    <li class="nav-item">
                        <a href="#uploads" class="nav-link" data-coreui-toggle="tab" data-coreui-target="#uploads"
                            role="tab" aria-controls="nav-home" aria-selected="false">
                            <span></span><?php echo app('translator')->get('settings.uploads'); ?>
                        </a>
                    </li>
                    <li class="nav-item">
                        <a href="#mail" class="nav-link" data-coreui-toggle="tab" data-coreui-target="#mail"
                            role="tab" aria-controls="nav-home" aria-selected="false">
                            <span></span><?php echo app('translator')->get('settings.mail'); ?>
                        </a>
                    </li>
                    <?php if(!empty($theme_file)): ?>
                        <li class="nav-item">
                            <a href="#themeOptions" class="nav-link" data-coreui-toggle="tab"
                                data-coreui-target="#themeOptions" role="tab" aria-controls="nav-home"
                                aria-selected="false">
                                <span></span><?php echo app('translator')->get('settings.themeOptions'); ?>
                            </a>
                        </li>
                    <?php endif; ?>
                    <li class="nav-item">
                        <a href="#advertisement" class="nav-link" data-coreui-toggle="tab"
                            data-coreui-target="#advertisement" role="tab" aria-controls="nav-home"
                            aria-selected="false">
                            <span></span><?php echo app('translator')->get('admin.advertisements'); ?>
                        </a>
                    </li>
                    <li class="nav-item">
                        <a href="#paymentGateways" class="nav-link" data-coreui-toggle="tab"
                            data-coreui-target="#paymentGateways" role="tab" aria-controls="nav-home"
                            aria-selected="false">
                            <span></span><?php echo app('translator')->get('settings.paymentGateways'); ?>
                        </a>
                    </li>
                    <li class="nav-item">
                        <a href="#advance" class="nav-link" data-coreui-toggle="tab" data-coreui-target="#advance"
                            role="tab" aria-controls="nav-home" aria-selected="false">
                            <span></span><?php echo app('translator')->get('settings.advance'); ?>
                        </a>
                    </li>
                    <li class="nav-item">
                        <a href="#maintenanceMode" class="nav-link" data-coreui-toggle="tab"
                            data-coreui-target="#maintenanceMode" role="tab" aria-controls="nav-home"
                            aria-selected="false">
                            <span></span><?php echo app('translator')->get('settings.maintenance'); ?>
                        </a>
                    </li>
                </ul>
            </div>
            <div class="col-md-10">
                <div class="tab-content tab-main bg-white rounded-4 p-3">
                    <div id="general" class="tab-pane tab-parent fade show active">
                        <h1 class="h4"><?php echo app('translator')->get('settings.generalSettings'); ?></h1>
                        <ul class="nav">
                            <li class="nav-item"><a href="#generalTab" class="nav-link active"
                                    data-coreui-toggle="tab"><?php echo app('translator')->get('settings.general'); ?></a></li>
                            <li class="nav-item"><a href="#loginConfig" class="nav-link"
                                    data-coreui-toggle="tab"><?php echo app('translator')->get('settings.login'); ?></a></li>
                            <li class="nav-item"><a href="#integration" class="nav-link"
                                    data-coreui-toggle="tab"><?php echo app('translator')->get('settings.integration'); ?></a></li>
                            <li class="nav-item"><a href="#recaptchaTab" class="nav-link"
                                    data-coreui-toggle="tab"><?php echo app('translator')->get('settings.reCAPTCHA'); ?></a></li>
                            <li class="nav-item"><a href="#viewsTab" class="nav-link"
                                    data-coreui-toggle="tab"><?php echo app('translator')->get('settings.views'); ?></a>
                            </li>
                            <li class="nav-item"><a href="#currencyTab" class="nav-link"
                                    data-coreui-toggle="tab"><?php echo app('translator')->get('settings.currency'); ?></a>
                            </li>
                            <li class="nav-item"><a href="#webmasterTab" class="nav-link"
                                    data-coreui-toggle="tab"><?php echo app('translator')->get('settings.webmaster'); ?></a>
                            </li>
                        </ul>
                        <div class="tab-content">
                            <div id="generalTab" class="tab-pane fade show active">
                                <div class="form-group mb-3 row">
                                    <label for="app_name" class="col-md-3 form-label"><?php echo app('translator')->get('settings.siteName'); ?></label>
                                    <div class="col-md-9">
                                        <input id="app_name" type="text"
                                            class="form-control <?php $__errorArgs = ['settings.app_name'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?> is-invalid <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>"
                                            name="settings[app_name]"
                                            value="<?php echo e(setting('app_name') ?? old('settings.app_name')); ?>" required>
                                        <?php $__errorArgs = ['settings.app_name'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?>
                                            <span class="invalid-feedback" role="alert">
                                                <strong><?php echo e($message); ?></strong>
                                            </span>
                                        <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
                                    </div>
                                </div>
                                <div class="form-group mb-3 row">
                                    <label for="website_email" class="col-md-3 form-label"><?php echo app('translator')->get('settings.siteEmail'); ?></label>
                                    <div class="col-md-9">
                                        <input id="website_email" type="text"
                                            class="form-control <?php $__errorArgs = ['settings.website_email'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?> is-invalid <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>"
                                            name="settings[website_email]"
                                            value="<?php echo e(setting('website_email') ?? old('settings.website_email')); ?>"
                                            required>
                                        <?php $__errorArgs = ['settings.website_email'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?>
                                            <span class="invalid-feedback" role="alert">
                                                <strong><?php echo e($message); ?></strong>
                                            </span>
                                        <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
                                    </div>
                                </div>
                                <div class="form-group mb-3 row">
                                    <label for="website_contact_number"
                                        class="col-md-3 form-label"><?php echo app('translator')->get('settings.siteContact'); ?></label>
                                    <div class="col-md-9">
                                        <input id="website_contact_number" type="text"
                                            class="form-control <?php $__errorArgs = ['settings.website_contact_number'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?> is-invalid <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>"
                                            name="settings[website_contact_number]"
                                            value="<?php echo e(setting('website_contact_number') ?? old('settings.website_contact_number')); ?>">
                                        <span class="help-block text-muted small"><?php echo app('translator')->get('settings.siteContactHelp'); ?></span>
                                        <?php $__errorArgs = ['settings.siteContact'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?>
                                            <span class="invalid-feedback" role="alert">
                                                <strong><?php echo e($message); ?></strong>
                                            </span>
                                        <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
                                    </div>
                                </div>
                                <div class="form-group mb-3 row">
                                    <label for="app_url" class="col-md-3 form-label"><?php echo app('translator')->get('settings.siteUrl'); ?></label>
                                    <div class="col-md-9">
                                        <input id="app_url" type="text"
                                            class="form-control <?php $__errorArgs = ['settings.app_url'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?> is-invalid <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>"
                                            name="settings[app_url]"
                                            value="<?php echo e(setting('app_url') ?? old('settings.app_url')); ?>">
                                        <?php $__errorArgs = ['settings.app_url'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?>
                                            <span class="invalid-feedback" role="alert">
                                                <strong><?php echo e($message); ?></strong>
                                            </span>
                                        <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
                                    </div>
                                </div>
                                <div class="form-group row mb-3">
                                    <label for="og_image" class="col-md-3 col-form-label"><?php echo app('translator')->get('settings.ogImage'); ?></label>
                                    <div class="col-md-3">
                                        <input id="og_image" type="file"
                                            class="form-control <?php $__errorArgs = ['settings.og_image'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?> is-invalid <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>"
                                            name="settings[og_image]">
                                        <?php $__errorArgs = ['settings.og_image'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?>
                                            <span class="invalid-feedback" role="alert">
                                                <strong><?php echo e($message); ?></strong>
                                            </span>
                                        <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
                                        <span class="help-block text-muted small"><?php echo app('translator')->get('settings.ogImageHelp'); ?></span>
                                    </div>
                                    <?php if(!empty(setting('og_image'))): ?>
                                        <div class="col-md-6">
                                            <a href="<?php echo e(url(setting('og_image'))); ?>" target="_blank">
                                                <img src="<?php echo e(url(setting('og_image'))); ?>" height="100"
                                                    alt="<?php echo e(setting('app_name')); ?>">
                                            </a>
                                        </div>
                                    <?php endif; ?>
                                </div>
                                <div class="form-group mb-3 row">
                                    <label for="website_logo" class="col-md-3 form-label"><?php echo app('translator')->get('settings.siteLogoLight'); ?></label>
                                    <div class="col-md-3">
                                        <input id="website_logo" type="file"
                                            class="form-control <?php $__errorArgs = ['settings.website_logo'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?> is-invalid <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>"
                                            name="settings[website_logo]">
                                        <?php $__errorArgs = ['settings.website_logo'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?>
                                            <span class="invalid-feedback" role="alert">
                                                <strong><?php echo e($message); ?></strong>
                                            </span>
                                        <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
                                    </div>
                                    <?php if(!empty(setting('website_logo'))): ?>
                                        <div class="col-md-6">
                                            <a href="<?php echo e(url(setting('website_logo'))); ?>" target="_blank">
                                                <img src="<?php echo e(url(setting('website_logo'))); ?>" height="59"
                                                    alt="<?php echo e(setting('app_name')); ?>">
                                            </a>
                                        </div>
                                    <?php endif; ?>
                                </div>
                                <div class="form-group mb-3 row">
                                    <label for="website_logo_dark"
                                        class="col-md-3 form-label"><?php echo app('translator')->get('settings.siteLogoDark'); ?></label>
                                    <div class="col-md-3">
                                        <input id="website_logo_dark" type="file"
                                            class="form-control <?php $__errorArgs = ['settings.website_logo_dark'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?> is-invalid <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>"
                                            name="settings[website_logo_dark]">
                                        <?php $__errorArgs = ['settings.website_logo_dark'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?>
                                            <span class="invalid-feedback" role="alert">
                                                <strong><?php echo e($message); ?></strong>
                                            </span>
                                        <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
                                    </div>
                                    <?php if(!empty(setting('website_logo_dark'))): ?>
                                        <div class="col-md-6">
                                            <a href="<?php echo e(url(setting('website_logo_dark'))); ?>" target="_blank">
                                                <img src="<?php echo e(url(setting('website_logo_dark'))); ?>" height="59"
                                                    alt="<?php echo e(setting('app_name')); ?>">
                                            </a>
                                        </div>
                                    <?php endif; ?>
                                </div>
                                <div class="form-group mb-3 row">
                                    <label for="website_login_logo"
                                        class="col-md-3 form-label"><?php echo app('translator')->get('settings.siteLoginLogo'); ?></label>
                                    <div class="col-md-3">
                                        <input id="website_login_logo" type="file"
                                            class="form-control <?php $__errorArgs = ['settings.website_login_logo'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?> is-invalid <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>"
                                            name="settings[website_login_logo]">
                                        <?php $__errorArgs = ['settings.website_login_logo'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?>
                                            <span class="invalid-feedback" role="alert">
                                                <strong><?php echo e($message); ?></strong>
                                            </span>
                                        <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
                                    </div>
                                    <?php if(!empty(setting('website_login_logo'))): ?>
                                        <div class="col-md-6">
                                            <a href="<?php echo e(url(setting('website_login_logo'))); ?>" target="_blank">
                                                <img src="<?php echo e(url(setting('website_login_logo'))); ?>" height="30"
                                                    alt="<?php echo e(setting('app_name')); ?>">
                                            </a>
                                        </div>
                                    <?php endif; ?>
                                </div>
                                <div class="form-group mb-3 row">
                                    <label for="favicon" class="col-md-3 form-label"><?php echo app('translator')->get('settings.siteFavicon'); ?></label>
                                    <div class="col-md-3">
                                        <input id="favicon" type="file"
                                            class="form-control <?php $__errorArgs = ['settings.favicon'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?> is-invalid <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>"
                                            name="settings[favicon]">
                                        <?php $__errorArgs = ['settings.favicon'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?>
                                            <span class="invalid-feedback" role="alert">
                                                <strong><?php echo e($message); ?></strong>
                                            </span>
                                        <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
                                    </div>
                                    <?php if(!empty(setting('favicon'))): ?>
                                        <div class="col-md-6">
                                            <a href="<?php echo e(url(setting('favicon'))); ?>" target="_blank">
                                                <img src="<?php echo e(url(setting('favicon'))); ?>" height="16"
                                                    alt="<?php echo e(setting('app_name') ?? ''); ?>">
                                            </a>
                                        </div>
                                    <?php endif; ?>
                                </div>
                                <div class="form-group mb-3 row">
                                    <label for="twitter_username"
                                        class="col-md-3 col-form-label"><?php echo app('translator')->get('settings.twitterUsername'); ?></label>
                                    <div class="col-md-9">
                                        <input id="twitter_username" type="text"
                                            class="form-control <?php $__errorArgs = ['settings.twitter_username'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?> is-invalid <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>"
                                            name="settings[twitter_username]"
                                            value="<?php echo e(setting('twitter_username', 'dotartisan') ?? ''); ?>" required>
                                        <?php $__errorArgs = ['settings.twitter_username'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?>
                                            <span class="invalid-feedback" role="alert">
                                                <strong><?php echo e($message); ?></strong>
                                            </span>
                                        <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
                                        <span class="help-block text-muted small"><?php echo app('translator')->get('settings.twitterUsernameHelp'); ?></span>
                                    </div>
                                </div>
                                <?php if($pages): ?>
                                    <div class="form-group mb-3 row">
                                        <label for="terms_link" class="col-md-3 form-label"><?php echo app('translator')->get('settings.termsLink'); ?></label>
                                        <div class="col-md-9">
                                            <select
                                                class="form-control <?php $__errorArgs = ['settings.terms_link'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?> is-invalid <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>"
                                                name="settings[terms_link]" id="terms_link">
                                                <option value=""><?php echo app('translator')->get('common.selectOne'); ?></option>
                                                <?php $__currentLoopData = $pages; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $page): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                                    <option value="<?php echo e($page->slug); ?>"
                                                        <?php if($page->translate(config('app.locale'))->slug == setting('terms_link')): ?> selected <?php endif; ?>>
                                                        <?php echo e($page->title); ?>

                                                    </option>
                                                <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                                            </select>
                                            <?php $__errorArgs = ['settings.terms_link'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?>
                                                <span class="invalid-feedback" role="alert">
                                                    <strong><?php echo e($message); ?></strong>
                                                </span>
                                            <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
                                        </div>
                                    </div>
                                    <div class="form-group mb-3 row">
                                        <label for="privacy_link"
                                            class="col-md-3 form-label"><?php echo app('translator')->get('settings.privacyLink'); ?></label>
                                        <div class="col-md-9">
                                            <select
                                                class="form-control <?php $__errorArgs = ['settings.privacy_link'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?> is-invalid <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>"
                                                name="settings[privacy_link]" id="privacy_link">
                                                <option value=""><?php echo app('translator')->get('common.selectOne'); ?></option>
                                                <?php $__currentLoopData = $pages; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $page): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                                    <option value="<?php echo e($page->slug); ?>"
                                                        <?php if($page->translate(config('app.locale'))->slug == setting('privacy_link')): ?> selected <?php endif; ?>>
                                                        <?php echo e($page->title); ?>

                                                    </option>
                                                <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                                            </select>
                                            <?php $__errorArgs = ['settings.privacy_link'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?>
                                                <span class="invalid-feedback" role="alert">
                                                    <strong><?php echo e($message); ?></strong>
                                                </span>
                                            <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
                                        </div>
                                    </div>
                                <?php endif; ?>
                                <?php if(isset($locales)): ?>
                                    <div class="form-group mb-3 row">
                                        <label for="default_locale"
                                            class="col-md-3 form-label"><?php echo app('translator')->get('settings.defaultAdminLanguage'); ?></label>
                                        <div class="col-md-9">
                                            <select class="form-control" name="settings[default_locale]"
                                                id="default_locale">
                                                <option value=""><?php echo app('translator')->get('common.selectOne'); ?></option>
                                                <?php $__currentLoopData = $locales; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $lang): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                                    <option value="<?php echo e($lang->locale); ?>"
                                                        <?php if($lang->locale == setting('default_locale')): ?> selected <?php endif; ?>>
                                                        <?php echo e($lang->name); ?>

                                                    </option>
                                                <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                                            </select>
                                            <?php $__errorArgs = ['settings.default_locale'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?>
                                                <span class="invalid-feedback" role="alert">
                                                    <strong><?php echo e($message); ?></strong>
                                                </span>
                                            <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
                                        </div>
                                    </div>
                                <?php endif; ?>
                                <div class="form-group mb-3 row">
                                    <label for="meta_title" class="col-md-3 form-label"><?php echo app('translator')->get('settings.metaTitle'); ?></label>
                                    <div class="col-md-9">
                                        <input id="meta_title" type="text"
                                            class="form-control <?php $__errorArgs = ['settings.meta_title'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?> is-invalid <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>"
                                            name="settings[meta_title]"
                                            value="<?php echo e(setting('meta_title') ?? old('settings.meta_title')); ?>"
                                            required>
                                        <?php $__errorArgs = ['settings.meta_title'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?>
                                            <span class="invalid-feedback" role="alert">
                                                <strong><?php echo e($message); ?></strong>
                                            </span>
                                        <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
                                    </div>
                                </div>
                                <div class="form-group mb-3 row">
                                    <label for="meta_description"
                                        class="col-md-3 form-label"><?php echo app('translator')->get('settings.metaDescription'); ?></label>
                                    <div class="col-md-9">
                                        <input id="meta_description" type="text"
                                            class="form-control <?php $__errorArgs = ['settings.meta_description'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?> is-invalid <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>"
                                            name="settings[meta_description]"
                                            value="<?php echo e(setting('meta_description') ?? old('settings.meta_description')); ?>"
                                            required>
                                        <?php $__errorArgs = ['settings.meta_description'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?>
                                            <span class="invalid-feedback" role="alert">
                                                <strong><?php echo e($message); ?></strong>
                                            </span>
                                        <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
                                    </div>
                                </div>
                                <div class="form-group mb-3 row">
                                    <label for="privacy_link" class="col-md-3 form-label"><?php echo app('translator')->get('settings.systemTimezone'); ?></label>
                                    <div class="col-md-9">
                                        <select
                                            class="form-control <?php $__errorArgs = ['settings.SYSTEM_TIMEZONE'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?> is-invalid <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>"
                                            name="settings[SYSTEM_TIMEZONE]" id="SYSTEM_TIMEZONE">
                                            <option value=""><?php echo app('translator')->get('common.selectOne'); ?></option>
                                            <?php $__currentLoopData = timezones_list(); $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $key => $timezone): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                                <option value="<?php echo e($key); ?>"
                                                    <?php if($key == setting('SYSTEM_TIMEZONE')): ?> selected <?php endif; ?>>
                                                    <?php echo e($timezone); ?>

                                                </option>
                                            <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                                        </select>
                                        <?php $__errorArgs = ['settings.SYSTEM_TIMEZONE'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?>
                                            <span class="invalid-feedback" role="alert">
                                                <strong><?php echo e($message); ?></strong>
                                            </span>
                                        <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
                                    </div>
                                </div>
                                <div class="form-group mb-3 row">
                                    <label for="date_format" class="col-md-3 form-label"><?php echo app('translator')->get('settings.dateFormat'); ?></label>
                                    <div class="col-md-9">
                                        <input id="date_format" type="text"
                                            class="form-control <?php $__errorArgs = ['settings.date_format'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?> is-invalid <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>"
                                            name="settings[date_format]" value="<?php echo e(setting('date_format') ?? ''); ?>"
                                            required>
                                        <?php $__errorArgs = ['settings.date_format'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?>
                                            <span class="invalid-feedback" role="alert">
                                                <strong><?php echo e($message); ?></strong>
                                            </span>
                                        <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
                                        <span
                                            class="help-block text-muted small"><?php echo e(now()->format(setting('date_format', 'm-d-Y'))); ?>

                                            <a href="https://www.php.net/manual/en/function.date.php"
                                                target="_blank"><?php echo app('translator')->get('settings.dateFormatHelp'); ?></a></span>
                                    </div>
                                </div>
                                <div class="form-group mb-3 row">
                                    <label for="joined_date_format"
                                        class="col-md-3 form-label"><?php echo app('translator')->get('settings.joinedDateFormat'); ?></label>
                                    <div class="col-md-9">
                                        <input id="joined_date_format" type="text"
                                            class="form-control <?php $__errorArgs = ['settings.joined_date_format'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?> is-invalid <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>"
                                            name="settings[joined_date_format]"
                                            value="<?php echo e(setting('joined_date_format') ?? ''); ?>">
                                        <?php $__errorArgs = ['settings.joined_date_format'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?>
                                            <span class="invalid-feedback" role="alert">
                                                <strong><?php echo e($message); ?></strong>
                                            </span>
                                        <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
                                        <span
                                            class="help-block text-muted small"><?php echo e(now()->format(setting('joined_date_format', 'm-d-Y'))); ?>

                                            <a href="https://www.php.net/manual/en/function.date.php"
                                                target="_blank"><?php echo app('translator')->get('settings.dateFormatHelp'); ?></a></span>
                                    </div>
                                </div>
                                <div class="form-group mb-3 row">
                                    <label for="datetime_format"
                                        class="col-md-3 form-label"><?php echo app('translator')->get('settings.dateTimeFormat'); ?></label>
                                    <div class="col-md-9">
                                        <input id="datetime_format" type="text"
                                            class="form-control <?php $__errorArgs = ['settings.datetime_format'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?> is-invalid <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>"
                                            name="settings[datetime_format]"
                                            value="<?php echo e(setting('datetime_format') ?? ''); ?>" required>
                                        <?php $__errorArgs = ['settings.datetime_format'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?>
                                            <span class="invalid-feedback" role="alert">
                                                <strong><?php echo e($message); ?></strong>
                                            </span>
                                        <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
                                        <span
                                            class="help-block text-muted small"><?php echo e(now()->format(setting('datetime_format', 'F d, Y h:i a'))); ?>

                                            <a href="https://www.php.net/manual/en/function.date.php"
                                                target="_blank"><?php echo app('translator')->get('settings.dateTimeFormatHelp'); ?></a></span>
                                    </div>
                                </div>
                            </div>
                            <div id="loginConfig" class="tab-pane fade">
                                <div class="form-group mb-3 row">
                                    <label for="auth_pages_image"
                                        class="col-md-3 form-label"><?php echo app('translator')->get('settings.loginBG'); ?></label>
                                    <div class="col-md-6">
                                        <input id="auth_pages_image" type="file"
                                            class="form-control <?php $__errorArgs = ['settings.auth_pages_image'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?> is-invalid <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>"
                                            name="settings[auth_pages_image]">
                                        <?php $__errorArgs = ['settings.auth_pages_image'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?>
                                            <span class="invalid-feedback" role="alert">
                                                <strong><?php echo e($message); ?></strong>
                                            </span>
                                        <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
                                        <span class="help-block text-muted small"><?php echo app('translator')->get('settings.loginBGHelp'); ?></span>
                                    </div>
                                    <?php if(!empty(setting('auth_pages_image'))): ?>
                                        <div class="col-md-3">
                                            <div class="position-reletive">
                                                <a href="<?php echo e(url(setting('auth_pages_image'))); ?>" target="_blank">
                                                    <img src="<?php echo e(url(setting('auth_pages_image'))); ?>" height="75"
                                                        alt="<?php echo app('translator')->get('settings.loginBG'); ?>">
                                                </a>
                                                <label for="delete_auth_pages_image" class="removeBtn"
                                                    role="button"><?php echo app('translator')->get('common.delete'); ?></label>
                                                <input type="checkbox" name="settings[delete_auth_pages_image]"
                                                    id="delete_auth_pages_image" class="d-none delete-box"
                                                    value="1">
                                            </div>
                                        </div>
                                    <?php endif; ?>
                                </div>
                                <div class="row">
                                    <div class="col-md-12">
                                        <h5><?php echo app('translator')->get('settings.facebook'); ?></h5>
                                    </div>
                                </div>
                                <div class="form-group mb-3 row">
                                    <label for="FB_ID" class="col-md-3 form-label"><?php echo app('translator')->get('settings.appID'); ?></label>
                                    <div class="col-md-9">
                                        <input id="FB_ID" type="text"
                                            class="form-control <?php $__errorArgs = ['settings.FB_ID'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?> is-invalid <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>"
                                            name="settings[FB_ID]" value="<?php echo e(setting('FB_ID') ?? ''); ?>">
                                        <?php $__errorArgs = ['settings.FB_ID'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?>
                                            <span class="invalid-feedback" role="alert">
                                                <strong><?php echo e($message); ?></strong>
                                            </span>
                                        <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
                                    </div>
                                </div>
                                <div class="form-group mb-3 row">
                                    <label for="FB_SECRET" class="col-md-3 form-label"><?php echo app('translator')->get('settings.appSecret'); ?></label>
                                    <div class="col-md-9">
                                        <input id="FB_SECRET" type="text"
                                            class="form-control <?php $__errorArgs = ['settings.FB_SECRET'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?> is-invalid <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>"
                                            name="settings[FB_SECRET]" value="<?php echo e(setting('FB_SECRET') ?? ''); ?>">
                                        <?php $__errorArgs = ['settings.FB_SECRET'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?>
                                            <span class="invalid-feedback" role="alert">
                                                <strong><?php echo e($message); ?></strong>
                                            </span>
                                        <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
                                    </div>
                                </div>
                                <div class="form-group mb-3 row">
                                    <div class="col-md-3">
                                        <label for="FB_REDIRECT" class="form-label"><?php echo app('translator')->get('settings.callbackURL'); ?></label>
                                    </div>
                                    <div class="col-md-9">
                                        <input type="text" id="FB_REDIRECT" name="settings[FB_REDIRECT]"
                                            class="form-control"
                                            value="<?php echo e(route('social.login.callback', ['provider' => 'facebook'])); ?>"
                                            readonly>
                                    </div>
                                </div>



                                <div class="row">
                                    <div class="col-md-12">
                                        <h5><?php echo app('translator')->get('settings.google'); ?></h5>
                                    </div>
                                </div>
                                <div class="form-group mb-3 row">
                                    <label for="GOOGLE_ID" class="col-md-3 form-label"><?php echo app('translator')->get('settings.appID'); ?></label>
                                    <div class="col-md-9">
                                        <input id="GOOGLE_ID" type="text"
                                            class="form-control <?php $__errorArgs = ['settings.GOOGLE_ID'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?> is-invalid <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>"
                                            name="settings[GOOGLE_ID]" value="<?php echo e(setting('GOOGLE_ID') ?? ''); ?>">
                                        <?php $__errorArgs = ['settings.GOOGLE_ID'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?>
                                            <span class="invalid-feedback" role="alert">
                                                <strong><?php echo e($message); ?></strong>
                                            </span>
                                        <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
                                    </div>
                                </div>
                                <div class="form-group mb-3 row">
                                    <label for="GOOGLE_SECRET" class="col-md-3 form-label"><?php echo app('translator')->get('settings.appSecret'); ?></label>
                                    <div class="col-md-9">
                                        <input id="GOOGLE_SECRET" type="text"
                                            class="form-control <?php $__errorArgs = ['settings.GOOGLE_SECRET'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?> is-invalid <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>"
                                            name="settings[GOOGLE_SECRET]"
                                            value="<?php echo e(setting('GOOGLE_SECRET') ?? ''); ?>">
                                        <?php $__errorArgs = ['settings.GOOGLE_SECRET'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?>
                                            <span class="invalid-feedback" role="alert">
                                                <strong><?php echo e($message); ?></strong>
                                            </span>
                                        <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
                                    </div>
                                </div>
                                <div class="form-group mb-3 row">
                                    <div class="col-md-3">
                                        <label for="GOOGLE_REDIRECT" class="form-label"><?php echo app('translator')->get('settings.callbackURL'); ?></label>
                                    </div>
                                    <div class="col-md-9">
                                        <input type="text" id="GOOGLE_REDIRECT" name="settings[GOOGLE_REDIRECT]"
                                            class="form-control"
                                            value="<?php echo e(route('social.login.callback', ['provider' => 'google'])); ?>"
                                            readonly>
                                    </div>
                                </div>
                            </div>
                            <div id="integration" class="tab-pane fade">
                                <div class="form-group mb-3 row">
                                    <label for="enable_header_code"
                                        class="col-md-3 form-label"><?php echo app('translator')->get('settings.enableHeadCode'); ?></label>
                                    <div class="col-md-9">
                                        <label class="switch switch-pill switch-label switch-primary">
                                            <input
                                                class="switch-input <?php $__errorArgs = ['settings.enable_header_code'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?> is-invalid <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>"
                                                id="enable_header_code" name="settings[enable_header_code]"
                                                value="1"
                                                <?php echo e(setting('enable_header_code') == 1 ? 'checked' : ''); ?>

                                                type="checkbox">
                                            <span class="switch-slider" data-checked="&#x2713;"
                                                data-unchecked="&#x2715;"></span>
                                        </label>
                                    </div>
                                </div>
                                <div class="form-group mb-3 row">
                                    <label for="enable_footer_code"
                                        class="col-md-3 form-label"><?php echo app('translator')->get('settings.enableFooterCode'); ?></label>
                                    <div class="col-md-9">
                                        <label class="switch switch-pill switch-label switch-primary">
                                            <input
                                                class="switch-input <?php $__errorArgs = ['enable_footer_code'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?> is-invalid <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>"
                                                id="enable_footer_code" name="settings[enable_footer_code]"
                                                value="1"
                                                <?php echo e(setting('enable_footer_code') == 1 ? 'checked' : ''); ?>

                                                type="checkbox">
                                            <span class="switch-slider" data-checked="&#x2713;"
                                                data-unchecked="&#x2715;"></span>
                                        </label>
                                    </div>
                                </div>
                                <div class="form-group mb-3 row">
                                    <label for="header_code" class="col-md-3 form-label"><?php echo app('translator')->get('settings.headCode'); ?></label>
                                    <div class="col-md-9">
                                        <textarea id="header_code" type="text" rows="9"
                                            class="form-control <?php $__errorArgs = ['settings.header_code'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?> is-invalid <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>" name="settings[header_code]"><?php echo e(setting('header_code') ?? ''); ?></textarea>
                                        <?php $__errorArgs = ['settings.header_code'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?>
                                            <span class="invalid-feedback" role="alert">
                                                <strong><?php echo e($message); ?></strong>
                                            </span>
                                        <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
                                        <span class="help-block text-muted small"><?php echo app('translator')->get('settings.headCodeHelp'); ?></span>
                                    </div>
                                </div>
                                <div class="form-group mb-3 row">
                                    <label for="footer_code" class="col-md-3 form-label"><?php echo app('translator')->get('settings.footerCode'); ?></label>
                                    <div class="col-md-9">
                                        <textarea id="footer_code" type="text" rows="9"
                                            class="form-control <?php $__errorArgs = ['settings.footer_code'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?> is-invalid <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>" name="settings[footer_code]"><?php echo e(setting('footer_code') ?? ''); ?></textarea>
                                        <?php $__errorArgs = ['settings.footer_code'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?>
                                            <span class="invalid-feedback" role="alert">
                                                <strong><?php echo e($message); ?></strong>
                                            </span>
                                        <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
                                        <span class="help-block text-muted small"><?php echo app('translator')->get('settings.footerCodeHelp'); ?></span>
                                    </div>
                                </div>
                            </div>
                            <div id="recaptchaTab" class="tab-pane fade">
                                <div class="form-group mb-3 row">
                                    <label for="recaptcha_status"
                                        class="col-md-3 form-label"><?php echo app('translator')->get('settings.enablereCAPTCHA'); ?></label>
                                    <div class="col-md-9">
                                        <label class="switch switch-pill switch-label switch-primary">
                                            <input
                                                class="switch-input <?php $__errorArgs = ['recaptcha_status'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?> is-invalid <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>"
                                                id="recaptcha_status" name="settings[recaptcha_status]"
                                                value="1" <?php echo e(setting('recaptcha_status') == 1 ? 'checked' : ''); ?>

                                                type="checkbox">
                                            <span class="switch-slider" data-checked="&#x2713;"
                                                data-unchecked="&#x2715;"></span>
                                        </label>
                                    </div>
                                </div>
                                <div class="form-group mb-3 row">
                                    <label for="recaptcha_site" class="col-md-3 form-label"><?php echo app('translator')->get('settings.reCAPTCHASiteKey'); ?></label>
                                    <div class="col-md-9" data-conditional-name="settings[recaptcha_status]"
                                        data-conditional-value="1">
                                        <input id="recaptcha_site" type="text"
                                            class="form-control <?php $__errorArgs = ['settings.recaptcha_site'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?> is-invalid <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>"
                                            name="settings[recaptcha_site]"
                                            value="<?php echo e(setting('recaptcha_site') ?? old('settings.recaptcha_site')); ?>">
                                        <?php $__errorArgs = ['settings.recaptcha_site'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?>
                                            <span class="invalid-feedback" role="alert">
                                                <strong><?php echo e($message); ?></strong>
                                            </span>
                                        <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
                                        <span class="help-block text-muted small"><?php echo app('translator')->get('settings.reCAPTCHASiteKeyHelp'); ?></span>
                                    </div>
                                </div>
                                <div class="form-group mb-3 row">
                                    <label for="recaptcha_secret"
                                        class="col-md-3 form-label"><?php echo app('translator')->get('settings.reCAPTCHASecretKey'); ?></label>
                                    <div class="col-md-9" data-conditional-name="settings[recaptcha_status]"
                                        data-conditional-value="1">
                                        <input id="recaptcha_secret" type="text"
                                            class="form-control <?php $__errorArgs = ['settings.recaptcha_secret'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?> is-invalid <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>"
                                            name="settings[recaptcha_secret]"
                                            value="<?php echo e(setting('recaptcha_secret') ?? old('settings.recaptcha_secret')); ?>">
                                        <?php $__errorArgs = ['settings.recaptcha_secret'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?>
                                            <span class="invalid-feedback" role="alert">
                                                <strong><?php echo e($message); ?></strong>
                                            </span>
                                        <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
                                        <span class="help-block text-muted small"><?php echo app('translator')->get('settings.reCAPTCHASecretKeyHelp'); ?></span>
                                    </div>
                                </div>
                                <div class="form-group mb-3 row">
                                    <label for="recaptcha_login"
                                        class="col-md-3 form-label"><?php echo app('translator')->get('settings.reCAPTCHAOnLogin'); ?></label>
                                    <div class="col-md-9" data-conditional-name="settings[recaptcha_status]"
                                        data-conditional-value="1">
                                        <label class="switch switch-pill switch-label switch-primary">
                                            <input class="switch-input <?php $__errorArgs = ['recaptcha_login'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?> is-invalid <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>"
                                                id="recaptcha_login" name="settings[recaptcha_login]" value="1"
                                                <?php echo e(setting('recaptcha_login') == 1 ? 'checked' : ''); ?>

                                                type="checkbox">
                                            <span class="switch-slider" data-checked="&#x2713;"
                                                data-unchecked="&#x2715;"></span>
                                        </label>
                                    </div>
                                </div>
                                <div class="form-group mb-3 row">
                                    <label for="recaptcha_signup"
                                        class="col-md-3 form-label"><?php echo app('translator')->get('settings.reCAPTCHAOnSignup'); ?></label>
                                    <div class="col-md-9" data-conditional-name="settings[recaptcha_status]"
                                        data-conditional-value="1">
                                        <label class="switch switch-pill switch-label switch-primary">
                                            <input
                                                class="switch-input <?php $__errorArgs = ['recaptcha_signup'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?> is-invalid <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>"
                                                id="recaptcha_signup" name="settings[recaptcha_signup]"
                                                value="1" <?php echo e(setting('recaptcha_signup') == 1 ? 'checked' : ''); ?>

                                                type="checkbox">
                                            <span class="switch-slider" data-checked="&#x2713;"
                                                data-unchecked="&#x2715;"></span>
                                        </label>
                                    </div>
                                </div>
                                <div class="form-group mb-3 row">
                                    <label for="recaptcha_contact"
                                        class="col-md-3 form-label"><?php echo app('translator')->get('settings.reCAPTCHAOnContact'); ?></label>
                                    <div class="col-md-9" data-conditional-name="settings[recaptcha_status]"
                                        data-conditional-value="1">
                                        <label class="switch switch-pill switch-label switch-primary">
                                            <input
                                                class="switch-input <?php $__errorArgs = ['recaptcha_contact'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?> is-invalid <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>"
                                                id="recaptcha_contact" name="settings[recaptcha_contact]"
                                                value="1"
                                                <?php echo e(setting('recaptcha_contact') == 1 ? 'checked' : ''); ?>

                                                type="checkbox">
                                            <span class="switch-slider" data-checked="&#x2713;"
                                                data-unchecked="&#x2715;"></span>
                                        </label>
                                    </div>
                                </div>
                                <div class="form-group mb-3 row">
                                    <label for="recaptcha_on_admin_login"
                                        class="col-md-3 form-label"><?php echo app('translator')->get('settings.reCAPTCHAOnAdminLogin'); ?></label>
                                    <div class="col-md-9" data-conditional-name="settings[recaptcha_status]"
                                        data-conditional-value="1">
                                        <label class="switch switch-pill switch-label switch-primary">
                                            <input
                                                class="switch-input <?php $__errorArgs = ['recaptcha_on_admin_login'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?> is-invalid <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>"
                                                id="recaptcha_on_admin_login"
                                                name="settings[recaptcha_on_admin_login]" value="1"
                                                <?php echo e(setting('recaptcha_on_admin_login') == 1 ? 'checked' : ''); ?>

                                                type="checkbox">
                                            <span class="switch-slider" data-checked="&#x2713;"
                                                data-unchecked="&#x2715;"></span>
                                        </label>
                                    </div>
                                </div>
                            </div>
                            <div id="viewsTab" class="tab-pane fade">
                                <div class="form-group mb-3 row">
                                    <label for="page_views" class="col-md-3 form-label"><?php echo app('translator')->get('settings.pageViews'); ?></label>
                                    <div class="col-md-9">
                                        <label class="switch switch-pill switch-label switch-primary">
                                            <input class="switch-input <?php $__errorArgs = ['page_views'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?> is-invalid <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>"
                                                id="page_views" name="settings[page_views]" value="1"
                                                <?php echo e(setting('page_views') == 1 ? 'checked' : ''); ?> type="checkbox">
                                            <span class="switch-slider" data-checked="&#x2713;"
                                                data-unchecked="&#x2715;"></span>
                                        </label>
                                    </div>
                                </div>

                                <div class="form-group mb-3 row">
                                    <label for="tags_views" class="col-md-3 form-label"><?php echo app('translator')->get('settings.tagsViews'); ?></label>
                                    <div class="col-md-9">
                                        <label class="switch switch-pill switch-label switch-primary">
                                            <input class="switch-input <?php $__errorArgs = ['tags_views'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?> is-invalid <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>"
                                                id="tags_views" name="settings[tags_views]" value="1"
                                                <?php echo e(setting('tags_views') == 1 ? 'checked' : ''); ?> type="checkbox">
                                            <span class="switch-slider" data-checked="&#x2713;"
                                                data-unchecked="&#x2715;"></span>
                                        </label>
                                    </div>
                                </div>

                                <div class="form-group mb-3 row">
                                    <label for="tool_views" class="col-md-3 form-label"><?php echo app('translator')->get('settings.toolViews'); ?></label>
                                    <div class="col-md-9">
                                        <label class="switch switch-pill switch-label switch-primary">
                                            <input class="switch-input <?php $__errorArgs = ['tool_views'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?> is-invalid <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>"
                                                id="tool_views" name="settings[tool_views]" value="1"
                                                <?php echo e(setting('tool_views') == 1 ? 'checked' : ''); ?> type="checkbox">
                                            <span class="switch-slider" data-checked="&#x2713;"
                                                data-unchecked="&#x2715;"></span>
                                        </label>
                                    </div>
                                </div>

                                <div class="form-group mb-3 row">
                                    <label for="post_views" class="col-md-3 form-label"><?php echo app('translator')->get('settings.postViews'); ?></label>
                                    <div class="col-md-9">
                                        <label class="switch switch-pill switch-label switch-primary">
                                            <input class="switch-input <?php $__errorArgs = ['post_views'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?> is-invalid <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>"
                                                id="post_views" name="settings[post_views]" value="1"
                                                <?php echo e(setting('post_views') == 1 ? 'checked' : ''); ?> type="checkbox">
                                            <span class="switch-slider" data-checked="&#x2713;"
                                                data-unchecked="&#x2715;"></span>
                                        </label>
                                    </div>
                                </div>
                            </div>
                            <div id="currencyTab" class="tab-pane fade">
                                <div class="form-group mb-3 row">
                                    <label for="currency" class="col-md-3 form-label"><?php echo app('translator')->get('settings.currency'); ?></label>
                                    <div class="col-md-9">
                                        <select class="form-control" name="settings[currency]" id="public_user_role">
                                            <option value=""><?php echo app('translator')->get('common.selectOne'); ?></option>
                                            <?php $__currentLoopData = $currencies; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $key => $currency): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                                <option value="<?php echo e($key); ?>"
                                                    <?php if($key == setting('currency', 'USD')): ?> selected <?php endif; ?>>
                                                    <?php echo e($currency['name']); ?>

                                                </option>
                                            <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                                        </select>
                                        <span class="help-block text-muted small"><?php echo app('translator')->get('settings.currencyHelp'); ?></span>
                                    </div>
                                </div>
                            </div>

                            <div id="webmasterTab" class="tab-pane fade">
                                <div class="form-group mb-3 row">
                                    <label for="google_analytics_id"
                                        class="col-md-3 form-label"><?php echo app('translator')->get('settings.googleAnalytics'); ?></label>
                                    <div class="col-md-9">
                                        <input id="google_analytics_id" type="text"
                                            class="form-control <?php $__errorArgs = ['settings.google_analytics_id'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?> is-invalid <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>"
                                            name="settings[google_analytics_id]"
                                            value="<?php echo e(setting('google_analytics_id') ?? ''); ?>">
                                        <?php $__errorArgs = ['settings.google_analytics_id'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?>
                                            <span class="invalid-feedback" role="alert">
                                                <strong><?php echo e($message); ?></strong>
                                            </span>
                                        <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
                                        <span class="help-block text-muted small"><?php echo app('translator')->get('settings.googleAnalyticsHelp'); ?></span>
                                    </div>
                                </div>
                                <div class="form-group mb-3 row">
                                    <label for="google_webmaster"
                                        class="col-md-3 form-label"><?php echo app('translator')->get('settings.googleWebmaster'); ?></label>
                                    <div class="col-md-9">
                                        <input id="google_webmaster" type="text"
                                            class="form-control <?php $__errorArgs = ['settings.google_webmaster'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?> is-invalid <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>"
                                            name="settings[google_webmaster]"
                                            value="<?php echo e(setting('google_webmaster') ?? old('settings.google_webmaster')); ?>">
                                        <span class="help-block text-muted small"><?php echo app('translator')->get('settings.googleWebmasterHelp'); ?></span>
                                    </div>
                                </div>

                                <div class="form-group mb-3 row">
                                    <label for="yandex_webmaster"
                                        class="col-md-3 form-label"><?php echo app('translator')->get('settings.yandexWebmaster'); ?></label>
                                    <div class="col-md-9">
                                        <input id="yandex_webmaster" type="text"
                                            class="form-control <?php $__errorArgs = ['settings.yandex_webmaster'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?> is-invalid <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>"
                                            name="settings[yandex_webmaster]"
                                            value="<?php echo e(setting('yandex_webmaster') ?? old('settings.yandex_webmaster')); ?>">
                                        <span class="help-block text-muted small"><?php echo app('translator')->get('settings.yandexWebmasterHelp'); ?></span>
                                    </div>
                                </div>

                                <div class="form-group mb-3 row">
                                    <label for="bing_webmaster" class="col-md-3 form-label"><?php echo app('translator')->get('settings.bingWebmaster'); ?></label>
                                    <div class="col-md-9">
                                        <input id="bing_webmaster" type="text"
                                            class="form-control <?php $__errorArgs = ['settings.bing_webmaster'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?> is-invalid <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>"
                                            name="settings[bing_webmaster]"
                                            value="<?php echo e(setting('bing_webmaster') ?? old('settings.bing_webmaster')); ?>">
                                        <span class="help-block text-muted small"><?php echo app('translator')->get('settings.bingWebmasterHelp'); ?></span>
                                    </div>
                                </div>

                                <div class="form-group mb-3 row">
                                    <label for="pintrest_webmaster"
                                        class="col-md-3 form-label"><?php echo app('translator')->get('settings.pintrestWebmaster'); ?></label>
                                    <div class="col-md-9">
                                        <input id="pintrest_webmaster" type="text"
                                            class="form-control <?php $__errorArgs = ['settings.pintrest_webmaster'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?> is-invalid <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>"
                                            name="settings[pintrest_webmaster]"
                                            value="<?php echo e(setting('pintrest_webmaster') ?? old('settings.pintrest_webmaster')); ?>">
                                        <span class="help-block text-muted small"><?php echo app('translator')->get('settings.pintrestWebmasterHelp'); ?></span>
                                    </div>
                                </div>

                                <div class="form-group mb-3 row">
                                    <label for="alexa_webmaster"
                                        class="col-md-3 form-label"><?php echo app('translator')->get('settings.alexaWebmaster'); ?></label>
                                    <div class="col-md-9">
                                        <input id="alexa_webmaster" type="text"
                                            class="form-control <?php $__errorArgs = ['settings.alexa_webmaster'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?> is-invalid <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>"
                                            name="settings[alexa_webmaster]"
                                            value="<?php echo e(setting('alexa_webmaster') ?? old('settings.alexa_webmaster')); ?>">
                                        <span class="help-block text-muted small"><?php echo app('translator')->get('settings.alexaWebmasterHelp'); ?></span>
                                    </div>
                                </div>

                            </div>
                        </div>
                    </div>
                    <div id="uploads" class="tab-pane tab-parent fade">
                        <h1 class="h4"><?php echo app('translator')->get('settings.uploadsSettings'); ?></h1>
                        <p><?php echo app('translator')->get('settings.uploadsSettingsDesc'); ?></p>
                        <div class="form-group mb-3 row">
                            <label for="FILESYSTEM_DRIVER" class="col-md-3 col-form-label"><?php echo app('translator')->get('settings.uploadsStorageMethod'); ?></label>
                            <div class="col-md-9">
                                <select class="form-control" name="settings[FILESYSTEM_DRIVER]"
                                    id="FILESYSTEM_DRIVER">
                                    <option value="public" <?php if('public' == setting('FILESYSTEM_DRIVER') || old('settings.FILESYSTEM_DRIVER') == 'public'): ?> selected <?php endif; ?>>Local
                                        Disk(defalut)</option>
                                    <option value="s3" <?php if('s3' == setting('FILESYSTEM_DRIVER') || old('settings.FILESYSTEM_DRIVER') == 's3'): ?> selected <?php endif; ?>>Amazon
                                        S3
                                    </option>
                                    <option value="wasabi" <?php if('wasabi' == setting('FILESYSTEM_DRIVER') || old('settings.FILESYSTEM_DRIVER') == 'wasabi'): ?> selected <?php endif; ?>>Wasabi
                                    </option>
                                </select>
                                <?php $__errorArgs = ['settings.FILESYSTEM_DRIVER'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?>
                                    <span class="invalid-feedback" role="alert">
                                        <strong><?php echo e($message); ?></strong>
                                    </span>
                                <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
                            </div>
                        </div>
                        <div class="form-group mb-3 row">
                            <label for="AWS_ACCESS_KEY_ID" class="col-md-3"><?php echo app('translator')->get('settings.amazonS3Key'); ?></label>
                            <div class="col-md-9" data-conditional-name="settings[FILESYSTEM_DRIVER]"
                                data-conditional-value="s3">
                                <input id="AWS_ACCESS_KEY_ID" type="text"
                                    class="form-control <?php $__errorArgs = ['settings.AWS_ACCESS_KEY_ID'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?> is-invalid <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>"
                                    name="settings[AWS_ACCESS_KEY_ID]"
                                    value="<?php echo e(setting('AWS_ACCESS_KEY_ID') ?? ''); ?>">
                                <?php $__errorArgs = ['settings.AWS_ACCESS_KEY_ID'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?>
                                    <span class="invalid-feedback" role="alert">
                                        <strong><?php echo e($message); ?></strong>
                                    </span>
                                <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
                            </div>
                        </div>
                        <div class="form-group mb-3 row">
                            <label for="AWS_SECRET_ACCESS_KEY" class="col-md-3"><?php echo app('translator')->get('settings.amazonS3Secret'); ?></label>
                            <div class="col-md-9" data-conditional-name="settings[FILESYSTEM_DRIVER]"
                                data-conditional-value="s3">
                                <input id="AWS_SECRET_ACCESS_KEY" type="text"
                                    class="form-control <?php $__errorArgs = ['settings.AWS_SECRET_ACCESS_KEY'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?> is-invalid <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>"
                                    name="settings[AWS_SECRET_ACCESS_KEY]"
                                    value="<?php echo e(setting('AWS_SECRET_ACCESS_KEY') ?? ''); ?>">
                                <?php $__errorArgs = ['settings.AWS_SECRET_ACCESS_KEY'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?>
                                    <span class="invalid-feedback" role="alert">
                                        <strong><?php echo e($message); ?></strong>
                                    </span>
                                <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
                            </div>
                        </div>
                        <div class="form-group mb-3 row">
                            <label for="AWS_DEFAULT_REGION" class="col-md-3"><?php echo app('translator')->get('settings.amazonS3Region'); ?></label>
                            <div class="col-md-9" data-conditional-name="settings[FILESYSTEM_DRIVER]"
                                data-conditional-value="s3">
                                <input id="AWS_DEFAULT_REGION" type="text"
                                    class="form-control <?php $__errorArgs = ['settings.AWS_DEFAULT_REGION'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?> is-invalid <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>"
                                    name="settings[AWS_DEFAULT_REGION]"
                                    value="<?php echo e(setting('AWS_DEFAULT_REGION') ?? ''); ?>">
                                <?php $__errorArgs = ['settings.AWS_DEFAULT_REGION'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?>
                                    <span class="invalid-feedback" role="alert">
                                        <strong><?php echo e($message); ?></strong>
                                    </span>
                                <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
                            </div>
                        </div>
                        <div class="form-group mb-3 row">
                            <label for="AWS_BUCKET" class="col-md-3"><?php echo app('translator')->get('settings.amazonS3Bucket'); ?></label>
                            <div class="col-md-9" data-conditional-name="settings[FILESYSTEM_DRIVER]"
                                data-conditional-value="s3">
                                <input id="AWS_BUCKET" type="text"
                                    class="form-control <?php $__errorArgs = ['settings.AWS_BUCKET'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?> is-invalid <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>"
                                    name="settings[AWS_BUCKET]" value="<?php echo e(setting('AWS_BUCKET') ?? ''); ?>">
                                <?php $__errorArgs = ['settings.AWS_BUCKET'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?>
                                    <span class="invalid-feedback" role="alert">
                                        <strong><?php echo e($message); ?></strong>
                                    </span>
                                <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
                            </div>
                        </div>
                        <div class="form-group mb-3 row">
                            <label for="WAS_ACCESS_KEY_ID" class="col-md-3"><?php echo app('translator')->get('settings.wasabiKey'); ?></label>
                            <div class="col-md-9" data-conditional-name="settings[FILESYSTEM_DRIVER]"
                                data-conditional-value="wasabi">
                                <input id="WAS_ACCESS_KEY_ID" type="text"
                                    class="form-control <?php $__errorArgs = ['settings.WAS_ACCESS_KEY_ID'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?> is-invalid <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>"
                                    name="settings[WAS_ACCESS_KEY_ID]"
                                    value="<?php echo e(setting('WAS_ACCESS_KEY_ID') ?? ''); ?>">
                                <?php $__errorArgs = ['settings.WAS_ACCESS_KEY_ID'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?>
                                    <span class="invalid-feedback" role="alert">
                                        <strong><?php echo e($message); ?></strong>
                                    </span>
                                <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
                            </div>
                        </div>
                        <div class="form-group mb-3 row">
                            <label for="WAS_SECRET_ACCESS_KEY" class="col-md-3"><?php echo app('translator')->get('settings.wasabiSecret'); ?></label>
                            <div class="col-md-9" data-conditional-name="settings[FILESYSTEM_DRIVER]"
                                data-conditional-value="wasabi">
                                <input id="WAS_SECRET_ACCESS_KEY" type="text"
                                    class="form-control <?php $__errorArgs = ['settings.WAS_SECRET_ACCESS_KEY'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?> is-invalid <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>"
                                    name="settings[WAS_SECRET_ACCESS_KEY]"
                                    value="<?php echo e(setting('WAS_SECRET_ACCESS_KEY') ?? ''); ?>">
                                <?php $__errorArgs = ['settings.WAS_SECRET_ACCESS_KEY'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?>
                                    <span class="invalid-feedback" role="alert">
                                        <strong><?php echo e($message); ?></strong>
                                    </span>
                                <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
                            </div>
                        </div>
                        <div class="form-group mb-3 row">
                            <label for="WAS_DEFAULT_REGION" class="col-md-3"><?php echo app('translator')->get('settings.wasabiRegion'); ?></label>
                            <div class="col-md-9" data-conditional-name="settings[FILESYSTEM_DRIVER]"
                                data-conditional-value="wasabi">
                                <input id="WAS_DEFAULT_REGION" type="text"
                                    class="form-control <?php $__errorArgs = ['settings.WAS_DEFAULT_REGION'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?> is-invalid <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>"
                                    name="settings[WAS_DEFAULT_REGION]"
                                    value="<?php echo e(setting('WAS_DEFAULT_REGION') ?? ''); ?>">
                                <?php $__errorArgs = ['settings.WAS_DEFAULT_REGION'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?>
                                    <span class="invalid-feedback" role="alert">
                                        <strong><?php echo e($message); ?></strong>
                                    </span>
                                <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
                            </div>
                        </div>
                        <div class="form-group mb-3 row">
                            <label for="WAS_BUCKET" class="col-md-3"><?php echo app('translator')->get('settings.wasabiBucket'); ?></label>
                            <div class="col-md-9" data-conditional-name="settings[FILESYSTEM_DRIVER]"
                                data-conditional-value="wasabi">
                                <input id="WAS_BUCKET" type="text"
                                    class="form-control <?php $__errorArgs = ['settings.WAS_BUCKET'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?> is-invalid <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>"
                                    name="settings[WAS_BUCKET]" value="<?php echo e(setting('WAS_BUCKET') ?? ''); ?>">
                                <?php $__errorArgs = ['settings.WAS_BUCKET'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?>
                                    <span class="invalid-feedback" role="alert">
                                        <strong><?php echo e($message); ?></strong>
                                    </span>
                                <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
                            </div>
                        </div>
                    </div>
                    <div id="cacheSystem" class="tab-pane tab-parent fade">
                        <h1 class="h4"><?php echo app('translator')->get('settings.pageCache'); ?></h1>
                        <p><?php echo app('translator')->get('settings.pageCacheDesc'); ?></p>
                        <div class="form-group mb-3 row">
                            <label for="enable_cache_system" class="col-md-3 form-label"><?php echo app('translator')->get('settings.enableCache'); ?></label>
                            <div class="col-md-9">
                                <label class="switch switch-pill switch-label switch-primary">
                                    <input class="switch-input <?php $__errorArgs = ['enable_cache_system'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?> is-invalid <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>"
                                        id="enable_cache_system" name="settings[enable_cache_system]" value="true"
                                        <?php echo e(setting('enable_cache_system') == 'true' ? 'checked' : ''); ?>

                                        type="checkbox">
                                    <span class="switch-slider" data-checked="&#x2713;"
                                        data-unchecked="&#x2715;"></span>
                                </label>
                                <span class="help-block text-muted small d-block"><?php echo app('translator')->get('settings.enableCacheHelp'); ?></span>
                            </div>
                        </div>
                        <div class="form-group mb-3 row">
                            <label for="enable_cache_headers" class="col-md-3 form-label"><?php echo app('translator')->get('settings.enableCacheHeaders'); ?></label>
                            <div class="col-md-9" data-conditional-name="settings[enable_cache_system]"
                                data-conditional-value="true">
                                <label class="switch switch-pill switch-label switch-primary">
                                    <input class="switch-input <?php $__errorArgs = ['enable_cache_headers'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?> is-invalid <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>"
                                        id="enable_cache_headers" name="settings[enable_cache_headers]"
                                        value="true"
                                        <?php echo e(setting('enable_cache_headers') == 'true' ? 'checked' : ''); ?>

                                        type="checkbox">
                                    <span class="switch-slider" data-checked="&#x2713;"
                                        data-unchecked="&#x2715;"></span>
                                </label>
                                <span class="help-block text-muted small d-block"><?php echo app('translator')->get('settings.enableCacheHeadersHelp'); ?></span>
                            </div>
                        </div>
                        <div class="form-group mb-3 row">
                            <label for="cache_lifetime" class="col-md-3 form-label"><?php echo app('translator')->get('settings.cacheLifetime'); ?></label>
                            <div class="col-md-9" data-conditional-name="settings[enable_cache_system]"
                                data-conditional-value="true">
                                <input id="cache_lifetime" type="number"
                                    class="form-control <?php $__errorArgs = ['settings.cache_lifetime'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?> is-invalid <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>"
                                    name="settings[cache_lifetime]"
                                    value="<?php echo e(setting('cache_lifetime', 604800) ?? ''); ?>" step="86400"
                                    min="0">
                                <span class="help-block text-muted small"><?php echo app('translator')->get('settings.cacheLifetimeHelp'); ?></span>
                                <?php $__errorArgs = ['settings.cache_lifetime'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?>
                                    <span class="invalid-feedback" role="alert">
                                        <strong><?php echo e($message); ?></strong>
                                    </span>
                                <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
                            </div>
                        </div>
                    </div>
                    <div class="tab-pane tab-parent fade" id="usersTab">
                        <h1 class="h4"><?php echo app('translator')->get('settings.usersSettings'); ?></h1>
                        <?php if($roles): ?>
                            <div class="form-group mb-3 row">
                                <label for="public_user_role" class="col-md-3 form-label"><?php echo app('translator')->get('settings.defaultUserRole'); ?></label>
                                <div class="col-md-9">
                                    <select class="form-control" name="settings[public_user_role]"
                                        id="public_user_role">
                                        <option value=""><?php echo app('translator')->get('common.selectOne'); ?></option>
                                        <?php $__currentLoopData = $roles; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $role): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                            <option value="<?php echo e($role->id); ?>"
                                                <?php if($role->id == setting('public_user_role')): ?> selected <?php endif; ?>>
                                                <?php echo e($role->name); ?>

                                            </option>
                                        <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                                    </select>
                                    <span class="help-block text-muted small"><?php echo app('translator')->get('settings.defaultUserRoleHelp'); ?></span>
                                </div>
                            </div>
                        <?php endif; ?>
                        <?php if($roles): ?>
                            <div class="form-group mb-3 row">
                                <label for="SUPER_ADMIN_ROLE" class="col-md-3 form-label"><?php echo app('translator')->get('settings.superUserRole'); ?></label>
                                <div class="col-md-9">
                                    <select class="form-control" name="settings[SUPER_ADMIN_ROLE]"
                                        id="SUPER_ADMIN_ROLE">
                                        <option value=""><?php echo app('translator')->get('common.selectOne'); ?></option>
                                        <?php $__currentLoopData = $roles; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $role): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                            <option value="<?php echo e($role->id); ?>"
                                                <?php if($role->id == setting('SUPER_ADMIN_ROLE')): ?> selected <?php endif; ?>>
                                                <?php echo e($role->name); ?>

                                            </option>
                                        <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                                    </select>
                                    <span class="help-block text-muted small"><?php echo app('translator')->get('settings.superUserRoleHelp'); ?></span>
                                </div>
                            </div>
                        <?php endif; ?>
                        <div class="form-group mb-3 row">
                            <label for="activation_required" class="col-md-3 form-label"><?php echo app('translator')->get('settings.activationRequired'); ?></label>
                            <div class="col-md-9">
                                <label class="switch switch-pill switch-label switch-primary">
                                    <input class="switch-input <?php $__errorArgs = ['activation_required'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?> is-invalid <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>"
                                        id="activation_required" name="settings[activation_required]" value="1"
                                        <?php echo e(setting('activation_required') == 1 ? 'checked' : ''); ?> type="checkbox">
                                    <span class="switch-slider" data-checked="&#x2713;"
                                        data-unchecked="&#x2715;"></span>
                                </label>
                                <span class="help-block text-muted small d-block"><?php echo app('translator')->get('settings.activationRequiredHelp'); ?></span>
                            </div>
                        </div>
                        <div class="form-group mb-3 row">
                            <label for="activation_max_attempts"
                                class="col-md-3 form-label"><?php echo app('translator')->get('settings.resendActivationEmail'); ?></label>
                            <div class="col-md-9" data-conditional-name="settings[activation_required]"
                                data-conditional-value="1">
                                <input id="activation_max_attempts" type="number"
                                    class="form-control <?php $__errorArgs = ['settings.activation_max_attempts'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?> is-invalid <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>"
                                    name="settings[activation_max_attempts]"
                                    value="<?php echo e(setting('activation_max_attempts') ?? ''); ?>">
                                <span class="help-block text-muted small"><?php echo app('translator')->get('settings.resendActivationEmailHelp'); ?></span>
                            </div>
                        </div>
                        <div class="form-group mb-3 row">
                            <label for="activation_time_period"
                                class="col-md-3 form-label"><?php echo app('translator')->get('settings.blockResendEmail'); ?></label>
                            <div class="col-md-9" data-conditional-name="settings[activation_required]"
                                data-conditional-value="1">
                                <input id="activation_time_period" type="number"
                                    class="form-control <?php $__errorArgs = ['settings.activation_time_period'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?> is-invalid <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>"
                                    name="settings[activation_time_period]"
                                    value="<?php echo e(setting('activation_time_period') ?? ''); ?>">
                                <span class="help-block text-muted small"><?php echo app('translator')->get('settings.blockResendEmailHelp', ['number' => setting('activation_max_attempts')]); ?></span>
                            </div>
                        </div>
                        <div class="form-group mb-3 row">
                            <label for="default_user_image" class="col-md-3 form-label"><?php echo app('translator')->get('settings.defaultPicture'); ?></label>
                            <div class="col-md-6">
                                <input id="default_user_image" type="file"
                                    class="form-control <?php $__errorArgs = ['settings.default_user_image'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?> is-invalid <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>"
                                    name="settings[default_user_image]">
                                <?php $__errorArgs = ['settings.default_user_image'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?>
                                    <span class="invalid-feedback" role="alert">
                                        <strong><?php echo e($message); ?></strong>
                                    </span>
                                <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
                                <span class="help-block text-muted small"><?php echo app('translator')->get('settings.defaultPictureHelp'); ?></span>
                            </div>
                            <?php if(!empty(setting('default_user_image'))): ?>
                                <div class="col-md-3">
                                    <a href="<?php echo e(setting('default_user_image')); ?>" target="_blank">
                                        <img src="<?php echo e(setting('default_user_image')); ?>" height="75"
                                            alt="<?php echo app('translator')->get('settings.defaultPicture'); ?>">
                                    </a>
                                </div>
                            <?php endif; ?>
                        </div>
                        <div class="form-group mb-3 row">
                            <label for="restore_user_cutoff" class="col-md-3 form-label"><?php echo app('translator')->get('settings.restoreCutOff'); ?></label>
                            <div class="col-md-9">
                                <input id="restore_user_cutoff" type="number"
                                    class="form-control <?php $__errorArgs = ['settings.restore_user_cutoff'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?> is-invalid <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>"
                                    name="settings[restore_user_cutoff]"
                                    value="<?php echo e(setting('restore_user_cutoff') ?? ''); ?>">
                                <span class="help-block text-muted small"><?php echo app('translator')->get('settings.restoreCutOffHelp'); ?></span>
                            </div>
                        </div>
                        <div class="form-group mb-3 row">
                            <label for="user_restore_key" class="col-md-3 form-label"><?php echo app('translator')->get('settings.userRestoreKey'); ?></label>
                            <div class="col-md-9">
                                <input id="user_restore_key" type="text"
                                    class="form-control <?php $__errorArgs = ['settings.user_restore_key'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?> is-invalid <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>"
                                    name="settings[user_restore_key]"
                                    value="<?php echo e(setting('user_restore_key') ?? ''); ?>">
                                <span class="help-block text-muted small"><?php echo app('translator')->get('settings.userRestoreKeyHelp'); ?></span>
                            </div>
                        </div>
                        <div class="form-group mb-3 row">
                            <label for="restore_user_enc_type"
                                class="col-md-3 form-label"><?php echo app('translator')->get('settings.encryptionType'); ?></label>
                            <div class="col-md-9">
                                <input id="restore_user_enc_type" type="text"
                                    class="form-control <?php $__errorArgs = ['settings.restore_user_enc_type'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?> is-invalid <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>"
                                    name="settings[restore_user_enc_type]"
                                    value="<?php echo e(setting('restore_user_enc_type') ?? ''); ?>">
                                <span class="help-block text-muted small"><?php echo app('translator')->get('settings.encryptionTypeHelp'); ?></span>
                            </div>
                        </div>
                    </div>
                    <div class="tab-pane tab-parent fade" id="footerTab">
                        <h1 class="h4"><?php echo app('translator')->get('settings.footerSettings'); ?></h1>
                        <div class="form-group mb-3 row">
                            <label for="footer_widgets" class="col-md-3 form-label"><?php echo app('translator')->get('settings.footerWidgets'); ?></label>
                            <div class="col-md-9">
                                <label class="switch switch-pill switch-label switch-primary">
                                    <input
                                        class="switch-input <?php $__errorArgs = ['settings.footer_widgets'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?> is-invalid <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>"
                                        id="footer_widgets" name="settings[footer_widgets]" value="1"
                                        <?php echo e(setting('footer_widgets', 1) == 1 ? 'checked' : ''); ?> type="checkbox">
                                    <span class="switch-slider" data-checked="&#x2713;"
                                        data-unchecked="&#x2715;"></span>
                                </label>
                                <span class="help-block text-muted small d-block"><?php echo app('translator')->get('settings.footerWidgetsHelp'); ?></span>
                            </div>
                        </div>
                        <div class="form-group mb-3 row">
                            <label for="footer_widget_columns"
                                class="col-md-3 form-label"><?php echo app('translator')->get('settings.footerWidgetsColumns'); ?></label>
                            <div class="col-md-9" data-conditional-name="settings[footer_widgets]">
                                <div class="range-slider">
                                    <input id="footer_widget_columns" class="range-slider__range"
                                        name="settings[footer_widget_columns]" type="range"
                                        value="<?php echo e(setting('footer_widget_columns', 4)); ?>" min="1"
                                        max="6">
                                    <span
                                        class="range-slider__value"><?php echo e(setting('footer_widget_columns', 4)); ?></span>
                                </div>
                                <span class="help-block text-muted small d-block"><?php echo app('translator')->get('settings.footerWidgetsColumnsHelp'); ?></span>
                            </div>
                        </div>
                        <div class="form-group mb-3 row">
                            <label for="footer_copyright_bar"
                                class="col-md-3 form-label"><?php echo app('translator')->get('settings.copyrightBar'); ?></label>
                            <div class="col-md-9">
                                <label class="switch switch-pill switch-label switch-primary">
                                    <input
                                        class="switch-input <?php $__errorArgs = ['settings.footer_copyright_bar'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?> is-invalid <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>"
                                        id="footer_copyright_bar" name="settings[footer_copyright_bar]"
                                        value="1"
                                        <?php echo e(setting('footer_copyright_bar', 1) == 1 ? 'checked' : ''); ?>

                                        type="checkbox">
                                    <span class="switch-slider" data-checked="&#x2713;"
                                        data-unchecked="&#x2715;"></span>
                                </label>
                                <span class="help-block text-muted small d-block"><?php echo app('translator')->get('settings.copyrightBarHelp'); ?></span>
                            </div>
                        </div>
                        <div class="form-group mb-3 row">
                            <label for="footer_center_copyright"
                                class="col-md-3 form-label"><?php echo app('translator')->get('settings.centerCopyrightContent'); ?></label>
                            <div class="col-md-9" data-conditional-name="settings[footer_copyright_bar]">
                                <label class="switch switch-pill switch-label switch-primary">
                                    <input
                                        class="switch-input <?php $__errorArgs = ['settings.footer_center_copyright'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?> is-invalid <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>"
                                        id="footer_center_copyright" name="settings[footer_center_copyright]"
                                        value="1"
                                        <?php echo e(setting('footer_center_copyright', 1) == 1 ? 'checked' : ''); ?>

                                        type="checkbox">
                                    <span class="switch-slider" data-checked="&#x2713;"
                                        data-unchecked="&#x2715;"></span>
                                </label>
                                <span class="help-block text-muted small d-block"><?php echo app('translator')->get('settings.centerCopyrightContentHelp'); ?></span>
                            </div>
                        </div>
                        <div class="form-group mb-3 row">
                            <label for="_footer_copyright" class="col-md-3 form-label"><?php echo app('translator')->get('settings.copyrightText'); ?></label>
                            <div class="col-md-9" data-conditional-name="settings[footer_copyright_bar]">
                                <textarea id="_footer_copyright" type="text" rows="9"
                                    class="form-control <?php $__errorArgs = ['settings._footer_copyright'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?> is-invalid <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>"
                                    name="settings[_footer_copyright]"><?php echo e(setting('_footer_copyright', '© 2022 DotArtisan, LLC. All rights reserved. Powered By: <a href="https://dotartisan.com">DotArtisan, LLC</a>') ?? ''); ?></textarea>
                                <?php $__errorArgs = ['settings._footer_copyright'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?>
                                    <span class="invalid-feedback" role="alert">
                                        <strong><?php echo e($message); ?></strong>
                                    </span>
                                <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
                                <span class="help-block text-muted small"><?php echo app('translator')->get('settings.copyrightTextHelp'); ?></span>
                            </div>
                        </div>
                    </div>
                    <div id="layout" class="tab-pane tab-parent fade">
                        <h1 class="h4"><?php echo app('translator')->get('settings.layoutSettings'); ?></h1>
                        <div class="tab-content">
                            layout
                        </div>
                    </div>



                    <div id="mail" class="tab-pane tab-parent fade">
                        <h1 class="h4"><?php echo app('translator')->get('settings.mailSettings'); ?></h1>
                        <div class="form-group mb-3 row">
                            <label for="mail_from_name" class="col-md-3 form-label"><?php echo app('translator')->get('settings.fromName'); ?></label>
                            <div class="col-md-9">
                                <input id="mail_from_name" type="text"
                                    class="form-control <?php $__errorArgs = ['settings.mail_from_name'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?> is-invalid <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>"
                                    name="settings[mail_from_name]" value="<?php echo e(setting('mail_from_name') ?? ''); ?>">
                                <span class="help-block text-muted small"><?php echo app('translator')->get('settings.fromNameHelp'); ?></span>
                            </div>
                        </div>
                        <div class="form-group mb-3 row">
                            <label for="mail_from_address" class="col-md-3 form-label"><?php echo app('translator')->get('settings.fromEmail'); ?></label>
                            <div class="col-md-9">
                                <input id="mail_from_address" type="text"
                                    class="form-control <?php $__errorArgs = ['settings.mail_from_address'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?> is-invalid <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>"
                                    name="settings[mail_from_address]"
                                    value="<?php echo e(setting('mail_from_address') ?? ''); ?>">
                                <span class="help-block text-muted small"><?php echo app('translator')->get('settings.fromEmailHelp'); ?></span>
                            </div>
                        </div>
                        <div class="form-group mb-3 row">
                            <label for="mail_use_smtp" class="col-md-3 form-label"><?php echo app('translator')->get('settings.useSMTP'); ?></label>
                            <div class="col-md-9">
                                <label class="switch switch-pill switch-label switch-primary">
                                    <input class="switch-input <?php $__errorArgs = ['mail_use_smtp'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?> is-invalid <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>"
                                        id="mail_use_smtp" name="settings[mail_use_smtp]" value="smtp"
                                        <?php echo e(setting('mail_use_smtp') == 'smtp' ? 'checked' : ''); ?> type="checkbox">
                                    <span class="switch-slider" data-checked="&#x2713;"
                                        data-unchecked="&#x2715;"></span>
                                </label>
                                <span class="help-block text-muted small d-block"><?php echo app('translator')->get('settings.useSMTPHelp'); ?></span>
                            </div>
                        </div>
                        <div class="form-group mb-3 row">
                            <label for="mail_smtp_host" class="col-md-3 form-label"><?php echo app('translator')->get('settings.smtpHost'); ?></label>
                            <div class="col-md-9" data-conditional-name="settings[mail_use_smtp]"
                                data-conditional-value="1">
                                <input id="mail_smtp_host" type="text"
                                    class="form-control <?php $__errorArgs = ['mail_smtp_host.mail_host'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?> is-invalid <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>"
                                    name="settings[mail_smtp_host]" value="<?php echo e(setting('mail_smtp_host') ?? ''); ?>">
                                <span class="help-block text-muted small"><?php echo app('translator')->get('settings.smtpHostHelp'); ?></span>
                            </div>
                        </div>
                        <div class="form-group mb-3 row">
                            <label for="mail_smtp_port" class="col-md-3 form-label"><?php echo app('translator')->get('settings.smtpPort'); ?></label>
                            <div class="col-md-9" data-conditional-name="settings[mail_use_smtp]"
                                data-conditional-value="1">
                                <input id="mail_smtp_port" type="text"
                                    class="form-control <?php $__errorArgs = ['settings.mail_smtp_port'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?> is-invalid <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>"
                                    name="settings[mail_smtp_port]" value="<?php echo e(setting('mail_smtp_port') ?? ''); ?>">
                                <span class="help-block text-muted small"><?php echo app('translator')->get('settings.smtpPortHelp'); ?></span>
                            </div>
                        </div>
                        <div class="form-group mb-3 row">
                            <label for="mail_smtp_encryption"
                                class="col-md-3 form-label"><?php echo app('translator')->get('settings.encryption'); ?></label>
                            <div class="col-md-9 form-label" data-conditional-name="settings[mail_use_smtp]"
                                data-conditional-value="1">
                                <div class="form-check">
                                    <input id="no_encryption" type="radio"
                                        class="form-check-input <?php $__errorArgs = ['settings.mail_smtp_encryption'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?> is-invalid <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>"
                                        name="settings[mail_smtp_encryption]" value="null"
                                        <?php echo e(setting('mail_smtp_encryption') == 'null' ? 'checked' : ''); ?>>
                                    <label for="no_encryption"><?php echo app('translator')->get('settings.noEncryption'); ?></label>
                                </div>
                                <div class="form-check">
                                    <input id="ssl_encryption" type="radio"
                                        class="form-check-input <?php $__errorArgs = ['settings.mail_smtp_encryption'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?> is-invalid <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>"
                                        name="settings[mail_smtp_encryption]" value="ssl"
                                        <?php echo e(setting('mail_smtp_encryption') == 'ssl' ? 'checked' : ''); ?>>
                                    <label for="ssl_encryption"><?php echo app('translator')->get('settings.sslEncryption'); ?></label>
                                </div>
                                <div class="form-check">
                                    <input id="tls_encryption" type="radio"
                                        class="form-check-input <?php $__errorArgs = ['settings.mail_smtp_encryption'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?> is-invalid <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>"
                                        name="settings[mail_smtp_encryption]" value="tls"
                                        <?php echo e(setting('mail_smtp_encryption') == 'tls' ? 'checked' : ''); ?>>
                                    <label for="tls_encryption"><?php echo app('translator')->get('settings.tlsEncryption'); ?></label>
                                </div>
                                <span class="help-block text-muted small"><?php echo app('translator')->get('settings.smtpPortHelp'); ?></span>
                            </div>
                        </div>
                        <div class="form-group mb-3 row">
                            <label for="mail_smtp_username" class="col-md-3 form-label"><?php echo app('translator')->get('settings.smtpUsername'); ?></label>
                            <div class="col-md-9" data-conditional-name="settings[mail_use_smtp]"
                                data-conditional-value="1">
                                <input id="mail_smtp_username" type="text"
                                    class="form-control <?php $__errorArgs = ['settings.mail_smtp_username'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?> is-invalid <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>"
                                    name="settings[mail_smtp_username]"
                                    value="<?php echo e(setting('mail_smtp_username') ?? ''); ?>">
                                <span class="help-block text-muted small"><?php echo app('translator')->get('settings.smtpUsernameHelp'); ?></span>
                            </div>
                        </div>
                        <div class="form-group mb-3 row">
                            <label for="mail_smtp_password" class="col-md-3 form-label"><?php echo app('translator')->get('settings.smtpPassword'); ?></label>
                            <div class="col-md-9" data-conditional-name="settings[mail_use_smtp]"
                                data-conditional-value="1">
                                <input id="mail_smtp_password" type="text"
                                    class="form-control <?php $__errorArgs = ['settings.mail_smtp_password'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?> is-invalid <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>"
                                    name="settings[mail_smtp_password]"
                                    value="<?php echo e(setting('mail_smtp_password') ?? ''); ?>">
                                <span class="help-block text-muted small"><?php echo app('translator')->get('settings.smtpPasswordHelp'); ?></span>
                            </div>
                        </div>
                    </div>
                    <div id="advertisement" class="tab-pane tab-parent fade">
                        <h1 class="h4"><?php echo app('translator')->get('admin.advertisements'); ?></h1>
                        <div class="tab-content">
                            <div class="row">
                                <div class="col-md-12">
                                    <div class="form-group mb-3">
                                        <label for="ads_removal_price_monthly"
                                            class="form-label"><?php echo app('translator')->get('settings.adsRemovalPriceMonthly'); ?></label>
                                        <input id="ads_removal_price_monthly" type="text"
                                            class="form-control <?php $__errorArgs = ['settings.ads_removal_price_monthly'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?> is-invalid <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>"
                                            name="settings[ads_removal_price_monthly]"
                                            value="<?php echo e(setting('ads_removal_price_monthly') ?? ''); ?>">
                                        <span class="help-block text-muted small"><?php echo app('translator')->get('settings.adsRemovalPriceMonthlyHelp'); ?></span>
                                    </div>
                                    <div class="form-group mb-3">
                                        <label for="ads_removal_price_yearly"
                                            class="form-label"><?php echo app('translator')->get('settings.adsRemovalPriceYearly'); ?></label>
                                        <input id="ads_removal_price_yearly" type="text"
                                            class="form-control <?php $__errorArgs = ['settings.ads_removal_price_yearly'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?> is-invalid <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>"
                                            name="settings[ads_removal_price_yearly]"
                                            value="<?php echo e(setting('ads_removal_price_yearly') ?? ''); ?>">
                                        <span class="help-block text-muted small"><?php echo app('translator')->get('settings.adsRemovalPriceYearlyHelp'); ?></span>
                                    </div>
                                </div>
                                <div class="col-md-8">
                                    <div class="form-group mb-3">
                                        <label for="above-tool" class="form-label"><?php echo app('translator')->get('settings.aboveTool'); ?></label>
                                        <select class="form-control" name="settings[above-tool]" id="above-tool">
                                            <option value=""><?php echo app('translator')->get('common.selectOne'); ?></option>
                                            <?php $__currentLoopData = $advertisements; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $advertisement): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                                <option value="<?php echo e($advertisement->id); ?>"
                                                    <?php if($advertisement->id == setting('above-tool')): ?> selected <?php endif; ?>>
                                                    <?php echo e($advertisement->name); ?>

                                                </option>
                                            <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                                        </select>
                                        <span class="help-block text-muted small"><?php echo app('translator')->get('settings.aboveToolAdHelp'); ?></span>
                                    </div>
                                    <div class="form-group mb-3">
                                        <label for="above-form" class="form-label"><?php echo app('translator')->get('settings.aboveForm'); ?></label>
                                        <select class="form-control" name="settings[above-form]" id="above-form">
                                            <option value=""><?php echo app('translator')->get('common.selectOne'); ?></option>
                                            <?php $__currentLoopData = $advertisements; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $advertisement): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                                <option value="<?php echo e($advertisement->id); ?>"
                                                    <?php if($advertisement->id == setting('above-form')): ?> selected <?php endif; ?>>
                                                    <?php echo e($advertisement->name); ?>

                                                </option>
                                            <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                                        </select>
                                        <span class="help-block text-muted small"><?php echo app('translator')->get('settings.aboveFormAdHelp'); ?></span>
                                    </div>
                                    <div class="form-group mb-3">
                                        <label for="below-form" class="form-label"><?php echo app('translator')->get('settings.belowForm'); ?></label>
                                        <select class="form-control" name="settings[below-form]" id="below-form">
                                            <option value=""><?php echo app('translator')->get('common.selectOne'); ?></option>
                                            <?php $__currentLoopData = $advertisements; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $advertisement): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                                <option value="<?php echo e($advertisement->id); ?>"
                                                    <?php if($advertisement->id == setting('below-form')): ?> selected <?php endif; ?>>
                                                    <?php echo e($advertisement->name); ?>

                                                </option>
                                            <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                                        </select>
                                        <span class="help-block text-muted small"><?php echo app('translator')->get('settings.belowFormAdHelp'); ?></span>
                                    </div>
                                    <div class="form-group mb-3">
                                        <label for="above-result" class="form-label"><?php echo app('translator')->get('settings.aboveResult'); ?></label>
                                        <select class="form-control" name="settings[above-result]"
                                            id="above-result">
                                            <option value=""><?php echo app('translator')->get('common.selectOne'); ?></option>
                                            <?php $__currentLoopData = $advertisements; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $advertisement): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                                <option value="<?php echo e($advertisement->id); ?>"
                                                    <?php if($advertisement->id == setting('above-result')): ?> selected <?php endif; ?>>
                                                    <?php echo e($advertisement->name); ?>

                                                </option>
                                            <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                                        </select>
                                        <span class="help-block text-muted small"><?php echo app('translator')->get('settings.aboveResultAdHelp'); ?></span>
                                    </div>
                                    <div class="form-group mb-3">
                                        <label for="below-result" class="form-label"><?php echo app('translator')->get('settings.belowResult'); ?></label>
                                        <select class="form-control" name="settings[below-result]"
                                            id="below-result">
                                            <option value=""><?php echo app('translator')->get('common.selectOne'); ?></option>
                                            <?php $__currentLoopData = $advertisements; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $advertisement): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                                <option value="<?php echo e($advertisement->id); ?>"
                                                    <?php if($advertisement->id == setting('below-result')): ?> selected <?php endif; ?>>
                                                    <?php echo e($advertisement->name); ?>

                                                </option>
                                            <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                                        </select>
                                        <span class="help-block text-muted small"><?php echo app('translator')->get('settings.belowResultAdHelp'); ?></span>
                                    </div>
                                </div>
                                <div class="col-md-4">
                                    <img src="<?php echo e(theme_url('themes/default/images/ads_placeholder.svg')); ?>">
                                </div>
                                <div class="col-md-12">
                                    <div class="form-group mb-3">
                                        <label for="post-above" class="form-label"><?php echo app('translator')->get('settings.postPage'); ?></label>
                                        <select class="form-control" name="settings[post-above]" id="post-above">
                                            <option value=""><?php echo app('translator')->get('common.selectOne'); ?></option>
                                            <?php $__currentLoopData = $advertisements; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $advertisement): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                                <option value="<?php echo e($advertisement->id); ?>"
                                                    <?php if($advertisement->id == setting('post-above')): ?> selected <?php endif; ?>>
                                                    <?php echo e($advertisement->name); ?>

                                                </option>
                                            <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                                        </select>
                                        <span class="help-block text-muted small"><?php echo app('translator')->get('settings.postPageHelp'); ?></span>
                                    </div>
                                    <div class="form-group mb-3">
                                        <label for="post-below" class="form-label"><?php echo app('translator')->get('settings.postPageBottom'); ?></label>
                                        <select class="form-control" name="settings[post-below]" id="post-below">
                                            <option value=""><?php echo app('translator')->get('common.selectOne'); ?></option>
                                            <?php $__currentLoopData = $advertisements; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $advertisement): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                                <option value="<?php echo e($advertisement->id); ?>"
                                                    <?php if($advertisement->id == setting('post-below')): ?> selected <?php endif; ?>>
                                                    <?php echo e($advertisement->name); ?>

                                                </option>
                                            <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                                        </select>
                                        <span class="help-block text-muted small"><?php echo app('translator')->get('settings.postPageBottomHelp'); ?></span>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                    <div id="advance" class="tab-pane tab-parent fade">
                        <h1 class="h4"><?php echo app('translator')->get('settings.advanceSettings'); ?></h1>
                        <div class="form-group row mb-3">
                            <label for="debug" class="col-md-3 form-label"><?php echo app('translator')->get('settings.debug'); ?></label>
                            <div class="col-md-9">
                                <label class="switch switch-pill switch-label switch-primary">
                                    <input class="switch-input <?php $__errorArgs = ['debug'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?> is-invalid <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>" id="debug"
                                        name="settings[debug]" value="true"
                                        <?php echo e(setting('debug') == 'true' ? 'checked' : ''); ?> type="checkbox">
                                    <span class="switch-slider" data-checked="&#x2713;"
                                        data-unchecked="&#x2715;"></span>
                                </label>
                                <span class="help-block text-muted small d-block"><?php echo app('translator')->get('settings.debugHelp'); ?></span>
                            </div>
                        </div>
                        <div class="form-group row mb-3">
                            <label for="cookies_consent" class="col-md-3 form-label"><?php echo app('translator')->get('settings.cookiesConsent'); ?></label>
                            <div class="col-md-9">
                                <label class="switch switch-pill switch-label switch-primary">
                                    <input class="switch-input <?php $__errorArgs = ['cookies_consent'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?> is-invalid <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>"
                                        id="cookies_consent" name="settings[cookies_consent]" value="true"
                                        <?php echo e(setting('cookies_consent') == 'true' ? 'checked' : ''); ?> type="checkbox">
                                    <span class="switch-slider" data-checked="&#x2713;"
                                        data-unchecked="&#x2715;"></span>
                                </label>
                                <span class="help-block text-muted small d-block"><?php echo app('translator')->get('settings.cookiesConsentHelp'); ?></span>
                            </div>
                        </div>
                        <div class="form-group row mb-3">
                            <label class="form-label col-md-3"><?php echo app('translator')->get('settings.rebuildLocales'); ?></label>
                            <div class="col-md-9">
                                <button type="button" data-url="<?php echo e(route('system.rebuild')); ?>"
                                    id="rebuild_locales"
                                    class="btn btn-warning btn-sm requestAjax text-white rounded-pill px-4">
                                    <div class="spinner-border spinner-border-sm d-none" role="status">
                                        <span class="sr-only"><?php echo app('translator')->get('common.loading'); ?></span>
                                    </div> <?php echo app('translator')->get('settings.rebuildLocales'); ?>
                                </button>
                                <span class="help-block text-muted small d-block"><?php echo app('translator')->get('settings.rebuildLocalesHelp'); ?></span>
                            </div>
                        </div>
                        <div class="form-group row mb-3">
                            <label class="col-md-3"><?php echo app('translator')->get('settings.sitemap'); ?></label>
                            <div class="col-md-9">
                                <button type="button" data-url="<?php echo e(route('sitemap.generate')); ?>"
                                    id="clear_cache"
                                    class="btn btn-primary btn-sm rounded-pill text-white px-4 btn-sm requestAjax">
                                    <div class="spinner-border spinner-border-sm d-none" role="status">
                                        <span class="sr-only"><?php echo app('translator')->get('common.loading'); ?></span>
                                    </div> <?php echo app('translator')->get('settings.generateSitemap'); ?>
                                </button>
                                <span class="help-block text-muted small d-block"><?php echo app('translator')->get('settings.generateSitemapHelp'); ?></span>
                            </div>
                        </div>
                        <div class="form-group row mb-3">
                            <label class="form-label col-md-3"><?php echo app('translator')->get('settings.clearCache'); ?></label>
                            <div class="col-md-9">
                                <button type="button" data-url="<?php echo e(route('system.cache')); ?>" id="clear_cache"
                                    class="btn btn-info btn-sm requestAjax text-white rounded-pill px-4">
                                    <div class="spinner-border spinner-border-sm d-none" role="status">
                                        <span class="sr-only"><?php echo app('translator')->get('common.loading'); ?></span>
                                    </div> <?php echo app('translator')->get('settings.clearCache'); ?>
                                </button>
                                <span class="help-block text-muted small d-block"><?php echo app('translator')->get('settings.clearCacheHelp'); ?></span>
                            </div>
                        </div>
                        <div class="form-group row mb-3">
                            <label class="form-label col-md-3"><?php echo app('translator')->get('settings.optimize'); ?></label>
                            <div class="col-md-9">
                                <button type="button" data-url="<?php echo e(route('system.optimize')); ?>"
                                    id="clear_cache"
                                    class="btn btn-info btn-sm requestAjax text-white rounded-pill px-4">
                                    <div class="spinner-border spinner-border-sm d-none" role="status">
                                        <span class="sr-only"><?php echo app('translator')->get('common.loading'); ?></span>
                                    </div> <?php echo app('translator')->get('settings.optimize'); ?>
                                </button>
                                <span class="help-block text-muted small d-block"><?php echo app('translator')->get('settings.optimizeHelp'); ?></span>
                            </div>
                        </div>
                        <div class="form-group row mb-3">
                            <label class="form-label col-md-3"><?php echo app('translator')->get('settings.clearViewsCache'); ?></label>
                            <div class="col-md-9">
                                <button type="button" data-url="<?php echo e(route('system.view')); ?>" id="clear_view"
                                    class="btn btn-info btn-sm requestAjax text-white rounded-pill px-4">
                                    <div class="spinner-border spinner-border-sm d-none" role="status">
                                        <span class="sr-only"><?php echo app('translator')->get('common.loading'); ?></span>
                                    </div> <?php echo app('translator')->get('settings.clearViewsCache'); ?>
                                </button>
                                <span class="help-block text-muted small d-block"><?php echo app('translator')->get('settings.clearViewsCacheHelp'); ?></span>
                            </div>
                        </div>
                        <div class="form-group row mb-3">
                            <label class="form-label col-md-3"><?php echo app('translator')->get('settings.clearRoutesCache'); ?></label>
                            <div class="col-md-9">
                                <button type="button" data-url="<?php echo e(route('system.route')); ?>" id="clear_route"
                                    class="btn btn-info btn-sm requestAjax text-white rounded-pill px-4">
                                    <div class="spinner-border spinner-border-sm d-none" role="status">
                                        <span class="sr-only"><?php echo app('translator')->get('common.loading'); ?></span>
                                    </div> <?php echo app('translator')->get('settings.clearRoutesCache'); ?>
                                </button>
                                <span class="help-block text-muted small d-block"><?php echo app('translator')->get('settings.clearRoutesCacheHelp'); ?></span>
                            </div>
                        </div>
                        <div class="form-group row mb-3">
                            <label class="form-label col-md-3"><?php echo app('translator')->get('settings.temporaryFiles'); ?></label>
                            <div class="col-md-9">
                                <button type="button" data-url="<?php echo e(route('system.clean-temp')); ?>"
                                    id="clean_temp"
                                    class="btn btn-danger btn-sm requestAjax text-white rounded-pill px-4">
                                    <div class="spinner-border spinner-border-sm d-none" role="status">
                                        <span class="sr-only"><?php echo app('translator')->get('common.loading'); ?></span>
                                    </div> <?php echo app('translator')->get('settings.cleanTemporaryFiles'); ?>
                                </button>
                                <span class="help-block text-muted small d-block"><?php echo app('translator')->get('settings.temporaryFilesHelp', ['size' => $tempSize, 'date' => $lastTime]); ?></span>
                            </div>
                        </div>
                    </div>
                    <div id="maintenanceMode" class="tab-pane tab-parent fade">
                        <h1 class="h4"><?php echo app('translator')->get('settings.maintenanceMode'); ?></h1>
                        <div class="form-group mb-3 row">
                            <label for="maintenance_mode" class="col-md-3 form-label"><?php echo app('translator')->get('settings.enableMaintenanceMode'); ?></label>
                            <div class="col-md-9">
                                <label class="switch switch-pill switch-label switch-primary">
                                    <input
                                        class="switch-input <?php $__errorArgs = ['settings.maintenance_mode'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?> is-invalid <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>"
                                        id="maintenance_mode" name="settings[maintenance_mode]" value="1"
                                        <?php echo e(setting('maintenance_mode') == 1 ? 'checked' : ''); ?> type="checkbox">
                                    <span class="switch-slider" data-checked="&#x2713;"
                                        data-unchecked="&#x2715;"></span>
                                </label>
                                <span class="help-block text-muted small d-block"></span>
                            </div>
                        </div>
                        <div class="form-group mb-3 row">
                            <label for="maintenance_token" class="col-md-3 form-label"><?php echo app('translator')->get('settings.maintenanceToken'); ?></label>
                            <?php
                                $token = setting('maintenance_token', Str::random(25));
                                $access_url = URL::to($token);
                            ?>
                            <div class="col-md-9" data-conditional-name="settings[maintenance_mode]"
                                data-conditional-value="1">
                                <input id="maintenance_token" type="text"
                                    class="form-control <?php $__errorArgs = ['settings.maintenance_token'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?> is-invalid <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>"
                                    name="settings[maintenance_token]"
                                    value="<?php echo e(setting('maintenance_token') ?? $token); ?>">
                                <?php $__errorArgs = ['settings.maintenance_token'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?>
                                    <span class="invalid-feedback" role="alert">
                                        <strong><?php echo e($message); ?></strong>
                                    </span>
                                <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
                                <span class="text-muted small"><?php echo app('translator')->get('settings.maintenanceTokenHelp', ['access_url' => $access_url]); ?></span>
                            </div>
                        </div>
                    </div>
                    <div id="paymentGateways" class="tab-pane tab-parent fade">
                        <h1 class="h4"><?php echo app('translator')->get('settings.paymentGateways'); ?></h1>
                        <ul class="nav">
                            <li class="nav-item"><a href="#paypalTab" class="nav-link active"
                                    data-coreui-toggle="tab"><?php echo app('translator')->get('settings.paypal'); ?></a></li>
                            <li class="nav-item"><a href="#stripeTab" class="nav-link"
                                    data-coreui-toggle="tab"><?php echo app('translator')->get('settings.stripe'); ?></a></li>
                            <li class="nav-item"><a href="#skrillTab" class="nav-link"
                                    data-coreui-toggle="tab"><?php echo app('translator')->get('settings.skrill'); ?></a></li>
                            <li class="nav-item"><a href="#mollieTab" class="nav-link"
                                    data-coreui-toggle="tab"><?php echo app('translator')->get('settings.mollie'); ?></a></li>
                            <li class="nav-item"><a href="#paystackTab" class="nav-link"
                                    data-coreui-toggle="tab"><?php echo app('translator')->get('settings.paystack'); ?></a></li>
                            <li class="nav-item"><a href="#razorTab" class="nav-link"
                                    data-coreui-toggle="tab"><?php echo app('translator')->get('settings.razorPay'); ?></a></li>
                            <li class="nav-item"><a href="#bankTransferTab" class="nav-link"
                                    data-coreui-toggle="tab"><?php echo app('translator')->get('settings.bankTransfer'); ?></a></li>
                            <li class="nav-item"><a href="#paddleTab" class="nav-link"
                                    data-coreui-toggle="tab"><?php echo app('translator')->get('settings.paddle'); ?></a></li>
                        </ul>
                        <div class="tab-content">
                            <div id="paypalTab" class="tab-pane fade show active">
                                <div class="form-group row mb-3">
                                    <label for="paypal_allow"
                                        class="col-md-3 form-label"><?php echo app('translator')->get('settings.paypal'); ?></label>
                                    <div class="col-md-9">
                                        <label class="switch switch-pill switch-label switch-primary">
                                            <input class="switch-input <?php $__errorArgs = ['paypal_allow'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?> is-invalid <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>"
                                                id="paypal_allow" name="settings[PAYPAL_ALLOW]"
                                                <?php if(setting('PAYPAL_ALLOW') == 1): ?> checked <?php endif; ?> value="1"
                                                type="checkbox">
                                            <span class="switch-slider" data-checked="&#x2713;"
                                                data-unchecked="&#x2715;"></span>
                                        </label>
                                        <span class="help-block text-muted small d-block"><?php echo app('translator')->get('settings.paypalHelp'); ?></span>
                                    </div>
                                </div>
                                <div class="paypal-options">
                                    <div class="row" data-conditional-name="settings[PAYPAL_ALLOW]"
                                        data-conditional-value="1">
                                        <div class="col-md-12">
                                            <hr>
                                        </div>
                                    </div>
                                    <div class="form-group row mb-3">
                                        <label for="PAYPAL_MODE"
                                            class="col-md-3 form-label"><?php echo app('translator')->get('settings.paypalMode'); ?></label>
                                        <div class="col-md-9" data-conditional-name="settings[PAYPAL_ALLOW]"
                                            data-conditional-value="1">
                                            <select class="form-control" required id="PAYPAL_MODE"
                                                name="settings[PAYPAL_MODE]">
                                                <option value="sandbox"
                                                    <?php if(setting('PAYPAL_MODE') == 'sandbox'): ?> selected <?php endif; ?>>
                                                    Sandbox
                                                </option>
                                                <option value="live"
                                                    <?php if(setting('PAYPAL_MODE') == 'live'): ?> selected <?php endif; ?>>
                                                    Live
                                                </option>
                                            </select>
                                            <span
                                                class="help-block text-muted small d-block"><?php echo app('translator')->get('settings.paypalModeHelp'); ?></span>
                                        </div>
                                    </div>
                                    <div class="form-group row mb-3">
                                        <label for="PAYPAL_VALIDATE_SSL"
                                            class="col-md-3 form-label"><?php echo app('translator')->get('settings.sslSetting'); ?></label>
                                        <div class="col-md-9" data-conditional-name="settings[PAYPAL_ALLOW]"
                                            data-conditional-value="1">
                                            <select class="form-control" required id="PAYPAL_VALIDATE_SSL"
                                                name="settings[PAYPAL_VALIDATE_SSL]">
                                                <option value="TRUE"
                                                    <?php if(setting('PAYPAL_VALIDATE_SSL') == 'TRUE'): ?> checked <?php endif; ?>>
                                                    True
                                                </option>
                                                <option value="FALSE"
                                                    <?php if(setting('PAYPAL_VALIDATE_SSL') == 'FALSE'): ?> checked <?php endif; ?>>
                                                    False
                                                </option>
                                            </select>
                                            <span
                                                class="help-block text-muted small d-block"><?php echo app('translator')->get('settings.sslSettingHelp'); ?></span>
                                        </div>
                                    </div>
                                    <div class="form-group row mb-3">
                                        <label for="PAYPAL_LIVE_CLIENT_ID"
                                            class="col-md-3 form-label"><?php echo app('translator')->get('settings.clientId'); ?>
                                            Live</label>
                                        <div class="col-md-9" data-conditional-name="settings[PAYPAL_MODE]"
                                            data-conditional-value="live">
                                            <input id="PAYPAL_LIVE_CLIENT_ID" type="text"
                                                class="form-control <?php $__errorArgs = ['settings.PAYPAL_LIVE_CLIENT_ID'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?> is-invalid <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>"
                                                name="settings[PAYPAL_LIVE_CLIENT_ID]"
                                                value="<?php echo e(setting('PAYPAL_LIVE_CLIENT_ID') ?? ''); ?>">
                                            <span class="help-block text-muted small d-block">
                                                <?php echo app('translator')->get('settings.clientIdHelp'); ?>
                                            </span>
                                        </div>
                                    </div>
                                    <div class="form-group row mb-3">
                                        <label for="PAYPAL_LIVE_CLIENT_SECRET"
                                            class="col-md-3 form-label"><?php echo app('translator')->get('settings.clientSeceret'); ?>
                                            Live</label>
                                        <div class="col-md-9" data-conditional-name="settings[PAYPAL_MODE]"
                                            data-conditional-value="live">
                                            <input id="PAYPAL_LIVE_CLIENT_SECRET" type="text"
                                                class="form-control <?php $__errorArgs = ['settings.PAYPAL_LIVE_CLIENT_SECRET'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?> is-invalid <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>"
                                                name="settings[PAYPAL_LIVE_CLIENT_SECRET]"
                                                value="<?php echo e(setting('PAYPAL_LIVE_CLIENT_SECRET') ?? ''); ?>">
                                            <span class="help-block text-muted small d-block">
                                                <?php echo app('translator')->get('settings.clientSeceretHelp'); ?>
                                            </span>
                                        </div>
                                    </div>
                                    <div class="form-group row mb-3">
                                        <label for="PAYPAL_LIVE_APP_ID"
                                            class="col-md-3 form-label"><?php echo app('translator')->get('settings.appid'); ?>
                                            Live</label>
                                        <div class="col-md-9" data-conditional-name="settings[PAYPAL_MODE]"
                                            data-conditional-value="live">
                                            <input id="PAYPAL_LIVE_APP_ID" type="text"
                                                class="form-control <?php $__errorArgs = ['settings.PAYPAL_LIVE_APP_ID'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?> is-invalid <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>"
                                                name="settings[PAYPAL_LIVE_APP_ID]"
                                                value="<?php echo e(setting('PAYPAL_LIVE_APP_ID') ?? ''); ?>">
                                            <span class="help-block text-muted small d-block">
                                                <?php echo app('translator')->get('settings.appidHelp'); ?>
                                            </span>
                                        </div>
                                    </div>
                                    <div class="form-group row mb-3">
                                        <label for="PAYPAL_SANDBOX_CLIENT_ID"
                                            class="col-md-3 form-label"><?php echo app('translator')->get('settings.clientId'); ?></label>
                                        <div class="col-md-9" data-conditional-name="settings[PAYPAL_MODE]"
                                            data-conditional-value="sandbox">
                                            <input id="PAYPAL_SANDBOX_CLIENT_ID" type="text"
                                                class="form-control <?php $__errorArgs = ['settings.PAYPAL_SANDBOX_CLIENT_ID'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?> is-invalid <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>"
                                                name="settings[PAYPAL_SANDBOX_CLIENT_ID]"
                                                value="<?php echo e(setting('PAYPAL_SANDBOX_CLIENT_ID') ?? ''); ?>">
                                            <span class="help-block text-muted small d-block">
                                                <?php echo app('translator')->get('settings.clientIdHelp'); ?>
                                            </span>
                                        </div>
                                    </div>
                                    <div class="form-group row mb-3">
                                        <label for="PAYPAL_SANDBOX_CLIENT_SECRET"
                                            class="col-md-3 form-label"><?php echo app('translator')->get('settings.clientSeceret'); ?></label>
                                        <div class="col-md-9" data-conditional-name="settings[PAYPAL_MODE]"
                                            data-conditional-value="sandbox">
                                            <input id="PAYPAL_SANDBOX_CLIENT_SECRET" type="text"
                                                class="form-control <?php $__errorArgs = ['settings.PAYPAL_SANDBOX_CLIENT_SECRET'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?> is-invalid <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>"
                                                name="settings[PAYPAL_SANDBOX_CLIENT_SECRET]"
                                                value="<?php echo e(setting('PAYPAL_SANDBOX_CLIENT_SECRET') ?? ''); ?>">
                                            <span class="help-block text-muted small d-block">
                                                <?php echo app('translator')->get('settings.clientSeceretHelp'); ?>
                                            </span>
                                        </div>
                                    </div>
                                    <div class="form-group row mb-3">
                                        <label for="PAYPAL_NOTIFY_URL"
                                            class="col-md-3 form-label"><?php echo app('translator')->get('settings.paypalNotifyUrl'); ?>
                                            Live</label>
                                        <div class="col-md-9" data-conditional-name="settings[PAYPAL_NOTIFY_URL]"
                                            data-conditional-value="live">
                                            <input id="PAYPAL_NOTIFY_URL" type="text"
                                                class="form-control <?php $__errorArgs = ['settings.PAYPAL_NOTIFY_URL'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?> is-invalid <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>"
                                                name="settings[PAYPAL_NOTIFY_URL]"
                                                value="<?php echo e(setting('PAYPAL_NOTIFY_URL', route('payments.webhook-listener', ['gateway', 'paypal']))); ?>"
                                                readonly>
                                            <span class="help-block text-muted small d-block">
                                                <?php echo app('translator')->get('settings.paypalNotifyUrlHelp'); ?>
                                            </span>
                                        </div>
                                    </div>
                                </div>
                            </div>
                            <div id="stripeTab" class="tab-pane fade">
                                <div class="form-group row mb-3">
                                    <label for="stripe_allow"
                                        class="col-md-3 form-label"><?php echo app('translator')->get('settings.stripe'); ?></label>
                                    <div class="col-md-9">
                                        <label class="switch switch-pill switch-label switch-primary">
                                            <input class="switch-input <?php $__errorArgs = ['stripe_allow'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?> is-invalid <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>"
                                                id="stripe_allow" name="settings[STRIPE_ALLOW]"
                                                <?php if(setting('STRIPE_ALLOW') == 1): ?> checked <?php endif; ?> value="1"
                                                type="checkbox">
                                            <span class="switch-slider" data-checked="&#x2713;"
                                                data-unchecked="&#x2715;"></span>
                                        </label>
                                        <span class="help-block text-muted small d-block"><?php echo app('translator')->get('settings.stripeHelp'); ?></span>
                                    </div>
                                </div>
                                <div class="row">
                                    <div class="col-md-12" data-conditional-name="settings[STRIPE_ALLOW]"
                                        data-conditional-value="1">
                                        <hr>
                                    </div>
                                </div>
                                <div class="form-group row mb-3">
                                    <label for="stripeKey" class="col-md-3 form-label"><?php echo app('translator')->get('settings.stripeKey'); ?></label>
                                    <div class="col-md-9" data-conditional-name="settings[STRIPE_ALLOW]"
                                        data-conditional-value="1">
                                        <input id="stripeKey" type="text"
                                            class="form-control <?php $__errorArgs = ['settings.STRIPE_KEY'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?> is-invalid <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>"
                                            name="settings[STRIPE_KEY]" value="<?php echo e(setting('STRIPE_KEY') ?? ''); ?>">
                                        <span class="help-block text-muted small d-block"><?php echo app('translator')->get('settings.stripeKeyHelp'); ?></span>
                                    </div>
                                </div>
                                <div class="form-group row mb-3">
                                    <label for="stripeSecret"
                                        class="col-md-3 form-label"><?php echo app('translator')->get('settings.stripeSecret'); ?></label>
                                    <div class="col-md-9" data-conditional-name="settings[STRIPE_ALLOW]"
                                        data-conditional-value="1">
                                        <input id="stripeSecret" type="text"
                                            class="form-control <?php $__errorArgs = ['settings.STRIPE_SECRET'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?> is-invalid <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>"
                                            name="settings[STRIPE_SECRET]"
                                            value="<?php echo e(setting('STRIPE_SECRET') ?? ''); ?>">
                                        <span class="help-block text-muted small d-block"><?php echo app('translator')->get('settings.stripeSecretHelp'); ?></span>
                                    </div>
                                </div>
                            </div>
                            <div id="paddleTab" class="tab-pane fade">
                                <div class="form-group row mb-3">
                                    <label for="allow_paddle"
                                        class="col-md-3 form-label"><?php echo app('translator')->get('settings.paddle'); ?></label>
                                    <div class="col-md-9">
                                        <label class="switch switch-pill switch-label switch-primary">
                                            <input class="switch-input <?php $__errorArgs = ['allow_paddle'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?> is-invalid <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>"
                                                id="allow_paddle" name="settings[allow_paddle]"
                                                <?php if(setting('allow_paddle') == 1): ?> checked <?php endif; ?> value="1"
                                                type="checkbox">
                                            <span class="switch-slider" data-checked="&#x2713;"
                                                data-unchecked="&#x2715;"></span>
                                        </label>
                                        <span class="help-block text-muted small d-block"><?php echo app('translator')->get('settings.paddleHelp'); ?></span>
                                    </div>
                                </div>
                                <div class="row">
                                    <div class="col-md-12" data-conditional-name="settings[allow_paddle]"
                                        data-conditional-value="1">
                                        <hr>
                                    </div>
                                </div>
                                <div class="form-group row mb-3">
                                    <label for="PADDLE_SANDBOX"
                                        class="col-md-3 form-label"><?php echo app('translator')->get('settings.enableSandox'); ?></label>
                                    <div class="col-md-9" data-conditional-name="settings[allow_paddle]"
                                        data-conditional-value="1">
                                        <label class="switch switch-pill switch-label switch-primary">
                                            <input
                                                class="switch-input <?php $__errorArgs = ['PADDLE_SANDBOX'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?> is-invalid <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>"
                                                id="PADDLE_SANDBOX" name="settings[PADDLE_SANDBOX]"
                                                <?php if(setting('PADDLE_SANDBOX') == 1): ?> checked <?php endif; ?> value="1"
                                                type="checkbox">
                                            <span class="switch-slider" data-checked="&#x2713;"
                                                data-unchecked="&#x2715;"></span>
                                        </label>
                                        <span class="help-block text-muted small d-block"><?php echo app('translator')->get('settings.enableSandoxHelp'); ?></span>
                                    </div>
                                </div>
                                <div class="form-group row mb-3">
                                    <label for="vendorId" class="col-md-3 form-label"><?php echo app('translator')->get('settings.vendorId'); ?></label>
                                    <div class="col-md-9" data-conditional-name="settings[allow_paddle]"
                                        data-conditional-value="1">
                                        <input id="vendorId" type="text"
                                            class="form-control <?php $__errorArgs = ['settings.PADDLE_VENDOR_ID'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?> is-invalid <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>"
                                            name="settings[PADDLE_VENDOR_ID]"
                                            value="<?php echo e(setting('PADDLE_VENDOR_ID') ?? ''); ?>">
                                        <span class="help-block text-muted small d-block"><?php echo app('translator')->get('settings.vendorIdHelp'); ?></span>
                                    </div>
                                </div>
                                <div class="form-group row mb-3">
                                    <label for="publicKey" class="col-md-3 form-label"><?php echo app('translator')->get('settings.authCode'); ?></label>
                                    <div class="col-md-9" data-conditional-name="settings[allow_paddle]"
                                        data-conditional-value="1">
                                        <input id="authCode" type="text"
                                            class="form-control <?php $__errorArgs = ['settings.PADDLE_VENDOR_AUTH_CODE'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?> is-invalid <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>"
                                            name="settings[PADDLE_VENDOR_AUTH_CODE]"
                                            value="<?php echo e(setting('PADDLE_VENDOR_AUTH_CODE') ?? ''); ?>">
                                        <span class="help-block text-muted small d-block"><?php echo app('translator')->get('settings.authCodeHelp'); ?></span>
                                    </div>
                                </div>
                                <div class="form-group row mb-3">
                                    <label for="publicKey" class="col-md-3 form-label"><?php echo app('translator')->get('settings.publicKey'); ?></label>
                                    <div class="col-md-9" data-conditional-name="settings[allow_paddle]"
                                        data-conditional-value="1">
                                        <textarea id="publicKey" class="form-control <?php $__errorArgs = ['settings.PADDLE_PUBLIC_KEY'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?> is-invalid <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>"
                                            name="settings[PADDLE_PUBLIC_KEY]">
<?php echo e(setting('PADDLE_PUBLIC_KEY') ?? ''); ?>

                                </textarea>
                                        <span class="help-block text-muted small d-block"><?php echo app('translator')->get('settings.publicKeyHelp'); ?></span>
                                    </div>
                                </div>
                            </div>
                            <div id="razorTab" class="tab-pane fade">
                                <div class="form-group row mb-3">
                                    <label for="razor_allow" class="col-md-3 form-label"><?php echo app('translator')->get('settings.razorPay'); ?></label>
                                    <div class="col-md-9">
                                        <label class="switch switch-pill switch-label switch-primary">
                                            <input class="switch-input <?php $__errorArgs = ['razor_allow'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?> is-invalid <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>"
                                                id="razor_allow" name="settings[razor_allow]"
                                                <?php if(setting('razor_allow') == 1): ?> checked <?php endif; ?> value="1"
                                                type="checkbox">
                                            <span class="switch-slider" data-checked="&#x2713;"
                                                data-unchecked="&#x2715;"></span>
                                        </label>
                                        <span class="help-block text-muted small d-block"><?php echo app('translator')->get('settings.razorPayHelp'); ?></span>
                                    </div>
                                </div>
                                <div class="row">
                                    <div class="col-md-12" data-conditional-name="settings[razor_allow]"
                                        data-conditional-value="1">
                                        <hr>
                                    </div>
                                </div>
                                <div class="form-group row mb-3">
                                    <label for="RAZORPAY_KEY"
                                        class="col-md-3 form-label"><?php echo app('translator')->get('settings.razorPayKey'); ?></label>
                                    <div class="col-md-9" data-conditional-name="settings[razor_allow]"
                                        data-conditional-value="1">
                                        <input id="RAZORPAY_KEY" type="text"
                                            class="form-control <?php $__errorArgs = ['settings.RAZORPAY_KEY'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?> is-invalid <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>"
                                            name="settings[RAZORPAY_KEY]"
                                            value="<?php echo e(setting('RAZORPAY_KEY') ?? ''); ?>">
                                        <span class="help-block text-muted small d-block"><?php echo app('translator')->get('settings.razorPayKeyHelp'); ?></span>
                                    </div>
                                </div>
                                <div class="form-group row mb-3">
                                    <label for="RAZORPAY_SECRET"
                                        class="col-md-3 form-label"><?php echo app('translator')->get('settings.razorPaySecret'); ?></label>
                                    <div class="col-md-9" data-conditional-name="settings[razor_allow]"
                                        data-conditional-value="1">
                                        <input id="RAZORPAY_SECRET" type="text"
                                            class="form-control <?php $__errorArgs = ['settings.RAZORPAY_SECRET'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?> is-invalid <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>"
                                            name="settings[RAZORPAY_SECRET]"
                                            value="<?php echo e(setting('RAZORPAY_SECRET') ?? ''); ?>">
                                        <span class="help-block text-muted small d-block"><?php echo app('translator')->get('settings.razorPaySecretHelp'); ?></span>
                                    </div>
                                </div>
                            </div>
                            <div id="skrillTab" class="tab-pane fade">
                                <div class="form-group row mb-3">
                                    <label for="skrill_allow"
                                        class="col-md-3 form-label"><?php echo app('translator')->get('settings.skrill'); ?></label>
                                    <div class="col-md-9">
                                        <label class="switch switch-pill switch-label switch-primary">
                                            <input class="switch-input <?php $__errorArgs = ['skrill_allow'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?> is-invalid <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>"
                                                id="skrill_allow" name="settings[skrill_allow]"
                                                <?php if(setting('skrill_allow') == 1): ?> checked <?php endif; ?> value="1"
                                                type="checkbox">
                                            <span class="switch-slider" data-checked="&#x2713;"
                                                data-unchecked="&#x2715;"></span>
                                        </label>
                                        <span class="help-block text-muted small d-block"><?php echo app('translator')->get('settings.skrillHelp'); ?></span>
                                    </div>
                                </div>
                                <div class="row">
                                    <div class="col-md-12" data-conditional-name="settings[skrill_allow]"
                                        data-conditional-value="1">
                                        <hr>
                                    </div>
                                </div>
                                <div class="form-group row mb-3">
                                    <label for="skrill_merchant_email"
                                        class="col-md-3 form-label"><?php echo app('translator')->get('settings.skrillMerchantEmail'); ?></label>
                                    <div class="col-md-9" data-conditional-name="settings[skrill_allow]"
                                        data-conditional-value="1">
                                        <input id="skrill_merchant_email" type="text"
                                            class="form-control <?php $__errorArgs = ['settings.skrill_merchant_email'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?> is-invalid <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>"
                                            name="settings[skrill_merchant_email]"
                                            value="<?php echo e(setting('skrill_merchant_email') ?? ''); ?>">
                                        <span class="help-block text-muted small d-block"><?php echo app('translator')->get('settings.skrillMerchantEmailHelp'); ?></span>
                                    </div>
                                </div>
                            </div>
                            <div id="bankTransferTab" class="tab-pane fade">
                                <div class="form-group row mb-3">
                                    <label for="bank_transfer_allow"
                                        class="col-md-3 form-label"><?php echo app('translator')->get('settings.bankTransfer'); ?></label>
                                    <div class="col-md-9">
                                        <label class="switch switch-pill switch-label switch-primary">
                                            <input
                                                class="switch-input <?php $__errorArgs = ['bank_transfer_allow'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?> is-invalid <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>"
                                                id="bank_transfer_allow" name="settings[bank_transfer_allow]"
                                                <?php if(setting('bank_transfer_allow') == 1): ?> checked <?php endif; ?> value="1"
                                                type="checkbox">
                                            <span class="switch-slider" data-checked="&#x2713;"
                                                data-unchecked="&#x2715;"></span>
                                        </label>
                                        <span class="help-block text-muted small d-block"><?php echo app('translator')->get('settings.bankTransferHelp'); ?></span>
                                    </div>
                                </div>
                                <div class="row">
                                    <div class="col-md-12" data-conditional-name="settings[bank_transfer_allow]"
                                        data-conditional-value="1">
                                        <hr>
                                    </div>
                                </div>
                                <div class="form-group row mb-3">
                                    <label for="bankTransferDetails"
                                        class="col-md-3 form-label"><?php echo app('translator')->get('settings.bankTransferDetails'); ?></label>
                                    <div class="col-md-9" data-conditional-name="settings[bank_transfer_allow]"
                                        data-conditional-value="1">
                                        <textarea id="bankTransferDetails" type="text"
                                            class="form-control <?php $__errorArgs = ['settings.bank_transfer_details'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?> is-invalid <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>"
                                            name="settings[bank_transfer_details]"><?php echo e(setting('bank_transfer_details') ?? ''); ?></textarea>
                                        <span class="help-block text-muted small d-block"><?php echo app('translator')->get('settings.bankTransferDetailsHelp'); ?></span>
                                    </div>
                                </div>
                            </div>
                            <div id="mollieTab" class="tab-pane fade">
                                <div class="form-group row mb-3">
                                    <label for="mollie_allow"
                                        class="col-md-3 form-label"><?php echo app('translator')->get('settings.mollie'); ?></label>
                                    <div class="col-md-9">
                                        <label class="switch switch-pill switch-label switch-primary">
                                            <input class="switch-input <?php $__errorArgs = ['mollie_allow'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?> is-invalid <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>"
                                                id="mollie_allow" name="settings[mollie_allow]"
                                                <?php if(setting('mollie_allow') == 1): ?> checked <?php endif; ?> value="1"
                                                type="checkbox">
                                            <span class="switch-slider" data-checked="&#x2713;"
                                                data-unchecked="&#x2715;"></span>
                                        </label>
                                        <span class="help-block text-muted small d-block"><?php echo app('translator')->get('settings.mollieHelp'); ?></span>
                                    </div>
                                </div>
                                <div class="row">
                                    <div class="col-md-12" data-conditional-name="settings[mollie_allow]"
                                        data-conditional-value="1">
                                        <hr>
                                    </div>
                                </div>
                                <div class="form-group row mb-3">
                                    <label for="MOLLIE_KEY" class="col-md-3 form-label"><?php echo app('translator')->get('settings.mollieKey'); ?></label>
                                    <div class="col-md-9" data-conditional-name="settings[mollie_allow]"
                                        data-conditional-value="1">
                                        <input id="MOLLIE_KEY" type="text"
                                            class="form-control <?php $__errorArgs = ['settings.MOLLIE_KEY'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?> is-invalid <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>"
                                            name="settings[MOLLIE_KEY]" value="<?php echo e(setting('MOLLIE_KEY') ?? ''); ?>">
                                        <span class="help-block text-muted small d-block"><?php echo app('translator')->get('settings.mollieKeyHelp'); ?></span>
                                    </div>
                                </div>
                            </div>
                            <div id="paystackTab" class="tab-pane fade">
                                <div class="form-group row mb-3">
                                    <label for="paystack_allow"
                                        class="col-md-3 form-label"><?php echo app('translator')->get('settings.paystack'); ?></label>
                                    <div class="col-md-9">
                                        <label class="switch switch-pill switch-label switch-primary">
                                            <input
                                                class="switch-input <?php $__errorArgs = ['paystack_allow'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?> is-invalid <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>"
                                                id="paystack_allow" name="settings[paystack_allow]"
                                                <?php if(setting('paystack_allow') == 1): ?> checked <?php endif; ?> value="1"
                                                type="checkbox">
                                            <span class="switch-slider" data-checked="&#x2713;"
                                                data-unchecked="&#x2715;"></span>
                                        </label>
                                        <span class="help-block text-muted small d-block"><?php echo app('translator')->get('settings.bankTransferHelp'); ?></span>
                                    </div>
                                </div>
                                <div class="row">
                                    <div class="col-md-12" data-conditional-name="settings[paystack_allow]"
                                        data-conditional-value="1">
                                        <hr>
                                    </div>
                                </div>
                                <div class="form-group row mb-3">
                                    <label for="PAYSTACK_PUBLIC_KEY"
                                        class="col-md-3 form-label"><?php echo app('translator')->get('settings.paystackPublicKey'); ?></label>
                                    <div class="col-md-9" data-conditional-name="settings[paystack_allow]"
                                        data-conditional-value="1">
                                        <input id="PAYSTACK_PUBLIC_KEY" type="text"
                                            class="form-control <?php $__errorArgs = ['settings.PAYSTACK_PUBLIC_KEY'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?> is-invalid <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>"
                                            name="settings[PAYSTACK_PUBLIC_KEY]"
                                            value="<?php echo e(setting('PAYSTACK_PUBLIC_KEY') ?? ''); ?>">
                                        <span class="help-block text-muted small d-block"><?php echo app('translator')->get('settings.paystackPublicKeyHelp'); ?></span>
                                    </div>
                                </div>
                                <div class="form-group row mb-3">
                                    <label for="PAYSTACK_SECRET_KEY"
                                        class="col-md-3 form-label"><?php echo app('translator')->get('settings.paystackSecretKey'); ?></label>
                                    <div class="col-md-9" data-conditional-name="settings[paystack_allow]"
                                        data-conditional-value="1">
                                        <input id="PAYSTACK_SECRET_KEY" type="text"
                                            class="form-control <?php $__errorArgs = ['settings.PAYSTACK_SECRET_KEY'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?> is-invalid <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>"
                                            name="settings[PAYSTACK_SECRET_KEY]"
                                            value="<?php echo e(setting('PAYSTACK_SECRET_KEY') ?? ''); ?>">
                                        <span class="help-block text-muted small d-block"><?php echo app('translator')->get('settings.paystackSecretKeyHelp'); ?></span>
                                    </div>
                                </div>
                                
                                <div class="form-group row mb-3">
                                    <label for="MERCHANT_EMAIL"
                                        class="col-md-3 form-label"><?php echo app('translator')->get('settings.merchantEmail'); ?></label>
                                    <div class="col-md-9" data-conditional-name="settings[paystack_allow]"
                                        data-conditional-value="1">
                                        <input id="MERCHANT_EMAIL" type="text"
                                            class="form-control <?php $__errorArgs = ['settings.MERCHANT_EMAIL'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?> is-invalid <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>"
                                            name="settings[MERCHANT_EMAIL]"
                                            value="<?php echo e(setting('MERCHANT_EMAIL') ?? ''); ?>">
                                        <span class="help-block text-muted small d-block"><?php echo app('translator')->get('settings.merchantEmailHelp'); ?></span>
                                    </div>
                                </div>
                                <div class="form-group row mb-3">
                                    <label for="redirect_url_paystack"
                                        class="col-md-3 form-label"><?php echo app('translator')->get('settings.callbackUrl'); ?></label>
                                    <div class="col-md-9" data-conditional-name="settings[paystack_allow]"
                                        data-conditional-value="1">
                                        <input id="redirect_url_paystack" type="text"
                                            class="form-control <?php $__errorArgs = ['settings.redirect_url_paystack'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?> is-invalid <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>"
                                            name="settings[redirect_url_paystack]"
                                            value="<?php echo e(route('payments.paystackcallback')); ?>" readonly>
                                        <span class="help-block text-muted small d-block"><?php echo app('translator')->get('settings.callbackUrlHelp'); ?></span>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                    <?php if(!empty($theme_file)): ?>
                        <div id="themeOptions" class="tab-pane tab-parent fade">
                            <h1 class="h4"><?php echo app('translator')->get('settings.themeOptions'); ?></h1>
                            <?php echo $__env->make($theme_file, \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
                        </div>
                    <?php endif; ?>
                    <div id="layoutsTab" class="tab-pane tab-parent fade">
                        <h1 class="h4"><?php echo app('translator')->get('settings.layout'); ?></h1>
                        <div class="form-group mb-3 row">
                            <label for="admin_pagination" class="col-md-3 form-label"><?php echo app('translator')->get('settings.backendPagination'); ?></label>
                            <div class="col-md-9">
                                <input id="admin_pagination" type="text"
                                    class="form-control <?php $__errorArgs = ['settings.admin_pagination'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?> is-invalid <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>"
                                    name="settings[admin_pagination]"
                                    value="<?php echo e(setting('admin_pagination') ?? ''); ?>">
                                <?php $__errorArgs = ['settings.admin_pagination'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?>
                                    <span class="invalid-feedback" role="alert">
                                        <strong><?php echo e($message); ?></strong>
                                    </span>
                                <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
                                <span class="help-block d-block text-muted small"><?php echo app('translator')->get('settings.backendPaginationHelp'); ?></span>
                            </div>
                        </div>
                        <div class="form-group row mb-3">
                            <label for="append_sitename" class="col-md-3 form-label"><?php echo app('translator')->get('settings.appendSitename'); ?></label>
                            <div class="col-md-9">
                                <label class="switch switch-pill switch-label switch-primary">
                                    <input class="switch-input <?php $__errorArgs = ['append_sitename'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?> is-invalid <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>"
                                        id="append_sitename" name="settings[append_sitename]"
                                        <?php if(setting('append_sitename', 1) == 1): ?> checked <?php endif; ?> value="1"
                                        type="checkbox">
                                    <span class="switch-slider" data-checked="&#x2713;"
                                        data-unchecked="&#x2715;"></span>
                                </label>
                                <span class="help-block text-muted small d-block"><?php echo app('translator')->get('settings.appendSitenameHelp'); ?></span>
                            </div>
                        </div>
                        <div class="form-group row mb-3">
                            <label for="display_faq_homepage"
                                class="col-md-3 form-label"><?php echo app('translator')->get('settings.displayFaqHomePage'); ?></label>
                            <div class="col-md-9">
                                <label class="switch switch-pill switch-label switch-primary">
                                    <input class="switch-input <?php $__errorArgs = ['display_faq_homepage'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?> is-invalid <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>"
                                        id="display_faq_homepage" name="settings[display_faq_homepage]"
                                        <?php if(setting('display_faq_homepage', 1) == 1): ?> checked <?php endif; ?> value="1"
                                        type="checkbox">
                                    <span class="switch-slider" data-checked="&#x2713;"
                                        data-unchecked="&#x2715;"></span>
                                </label>
                                <span class="help-block text-muted small d-block"><?php echo app('translator')->get('settings.displayFaqHomePageHelp'); ?></span>
                            </div>
                        </div>
                        <div class="form-group row mb-3">
                            <label for="display_plan_homepage"
                                class="col-md-3 form-label"><?php echo app('translator')->get('settings.displayPlansHomepage'); ?></label>
                            <div class="col-md-9">
                                <label class="switch switch-pill switch-label switch-primary">
                                    <input class="switch-input <?php $__errorArgs = ['display_plan_homepage'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?> is-invalid <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>"
                                        id="display_plan_homepage" name="settings[display_plan_homepage]"
                                        <?php if(setting('display_plan_homepage', 1) == 1): ?> checked <?php endif; ?> value="1"
                                        type="checkbox">
                                    <span class="switch-slider" data-checked="&#x2713;"
                                        data-unchecked="&#x2715;"></span>
                                </label>
                                <span class="help-block text-muted small d-block"><?php echo app('translator')->get('settings.displayPlansHomepageHelp'); ?></span>
                            </div>
                        </div>
                        <div class="form-group row mb-3">
                            <label for="display_socialshare_icon"
                                class="col-md-3 form-label"><?php echo app('translator')->get('settings.displaySocialshareIcon'); ?></label>
                            <div class="col-md-9">
                                <label class="switch switch-pill switch-label switch-primary">
                                    <input
                                        class="switch-input <?php $__errorArgs = ['display_socialshare_icon'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?> is-invalid <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>"
                                        id="display_socialshare_icon" name="settings[display_socialshare_icon]"
                                        <?php if(setting('display_socialshare_icon', 1) == 1): ?> checked <?php endif; ?> value="1"
                                        type="checkbox">
                                    <span class="switch-slider" data-checked="&#x2713;"
                                        data-unchecked="&#x2715;"></span>
                                </label>
                                <span class="help-block text-muted small d-block"><?php echo app('translator')->get('settings.displaySocialshareIconHelp'); ?></span>
                            </div>
                        </div>
                        <div class="form-group row mb-3">
                            <label for="disable_favorite_tools"
                                class="col-md-3 form-label"><?php echo app('translator')->get('settings.disableFavoriteMenu'); ?></label>
                            <div class="col-md-9">
                                <label class="switch switch-pill switch-label switch-primary">
                                    <input
                                        class="switch-input <?php $__errorArgs = ['homepage_favorite_tools'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?> is-invalid <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>"
                                        id="disable_favorite_tools" name="settings[disable_favorite_tools]"
                                        <?php if(setting('disable_favorite_tools', 1) == 1): ?> checked <?php endif; ?> value="1"
                                        type="checkbox">
                                    <span class="switch-slider" data-checked="&#x2713;"
                                        data-unchecked="&#x2715;"></span>
                                </label>
                                <span class="help-block text-muted small d-block"><?php echo app('translator')->get('settings.disableFavoriteMenuHelp'); ?></span>
                            </div>
                        </div>
                        <div class="form-group row mb-3">
                            <label for="homepage_favorite_tools"
                                class="col-md-3 form-label"><?php echo app('translator')->get('settings.homepageFavoriteTools'); ?></label>
                            <div class="col-md-9" data-conditional-name="settings[disable_favorite_tools]"
                                data-conditional-value="0">
                                <label class="switch switch-pill switch-label switch-primary">
                                    <input
                                        class="switch-input <?php $__errorArgs = ['homepage_favorite_tools'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?> is-invalid <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>"
                                        id="homepage_favorite_tools" name="settings[homepage_favorite_tools]"
                                        <?php if(setting('homepage_favorite_tools', 1) == 1): ?> checked <?php endif; ?> value="1"
                                        type="checkbox">
                                    <span class="switch-slider" data-checked="&#x2713;"
                                        data-unchecked="&#x2715;"></span>
                                </label>
                                <span class="help-block text-muted small d-block"><?php echo app('translator')->get('settings.homepageFavoriteToolsHelp'); ?></span>
                            </div>
                        </div>
                        <div class="form-group row mb-3">
                            <label for="disable_auth" class="col-md-3 form-label"><?php echo app('translator')->get('settings.disableAuth'); ?></label>
                            <div class="col-md-9">
                                <label class="switch switch-pill switch-label switch-primary">
                                    <input class="switch-input <?php $__errorArgs = ['disable_auth'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?> is-invalid <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>"
                                        id="disable_auth" name="settings[disable_auth]"
                                        <?php if(setting('disable_auth', 1) == 1): ?> checked <?php endif; ?> value="1"
                                        type="checkbox">
                                    <span class="switch-slider" data-checked="&#x2713;"
                                        data-unchecked="&#x2715;"></span>
                                </label>
                                <span class="help-block text-muted small d-block"><?php echo app('translator')->get('settings.disableAuthHelp'); ?></span>
                            </div>
                        </div>
                        <div class="form-group row mb-3">
                            <label for="unlimited_usage" class="col-md-3 form-label"><?php echo app('translator')->get('settings.unlimitedDailyUsage'); ?></label>
                            <div class="col-md-9">
                                <label class="switch switch-pill switch-label switch-primary">
                                    <input class="switch-input <?php $__errorArgs = ['unlimited_usage'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?> is-invalid <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>"
                                        id="unlimited_usage" name="settings[unlimited_usage]"
                                        <?php if(setting('unlimited_usage', 0) == 1): ?> checked <?php endif; ?> value="1"
                                        type="checkbox">
                                    <span class="switch-slider" data-checked="&#x2713;"
                                        data-unchecked="&#x2715;"></span>
                                </label>
                                <span class="help-block text-muted small d-block"><?php echo app('translator')->get('settings.unlimitedDailyUsageHelp'); ?></span>
                            </div>
                        </div>
                        <div class="form-group row mb-3">
                            <label for="enable_adblock_detection"
                                class="col-md-3 form-label"><?php echo app('translator')->get('settings.adblockDetection'); ?></label>
                            <div class="col-md-9">
                                <label class="switch switch-pill switch-label switch-primary">
                                    <input
                                        class="switch-input <?php $__errorArgs = ['enable_adblock_detection'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?> is-invalid <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>"
                                        id="enable_adblock_detection" name="settings[enable_adblock_detection]"
                                        <?php if(setting('enable_adblock_detection', 0) == 1): ?> checked <?php endif; ?> value="1"
                                        type="checkbox">
                                    <span class="switch-slider" data-checked="&#x2713;"
                                        data-unchecked="&#x2715;"></span>
                                </label>
                                <span class="help-block text-muted small d-block"><?php echo app('translator')->get('settings.adblockDetectionHelp'); ?></span>
                            </div>
                        </div>
                        <div class="form-group row mb-3">
                            <label for="login_required" class="col-md-3 form-label"><?php echo app('translator')->get('settings.loginRequired'); ?></label>
                            <div class="col-md-9">
                                <label class="switch switch-pill switch-label switch-primary">
                                    <input class="switch-input <?php $__errorArgs = ['login_required'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?> is-invalid <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>"
                                        id="login_required" name="settings[login_required]"
                                        <?php if(setting('login_required', 0) == 1): ?> checked <?php endif; ?> value="1"
                                        type="checkbox">
                                    <span class="switch-slider" data-checked="&#x2713;"
                                        data-unchecked="&#x2715;"></span>
                                </label>
                                <span class="help-block text-muted small d-block"><?php echo app('translator')->get('settings.loginRequiredHelp'); ?></span>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
            <div class="col-md-12 settings-footer text-end">
                <input type="hidden" name="settings[purchase_code]"
                    value="<?php echo e(setting('purchase_code') ?? ''); ?>">
                <button class="btn btn-lg btn-primary rounded-pill px-5 text-white" id="settings-btn"
                    type="submit" name="action"><?php echo app('translator')->get('settings.saveSettings'); ?></button>
            </div>
        </div>
    </form>
    <?php $__env->startSection('footer_scripts'); ?>
        <script type="module" src="https://unpkg.com/vanilla-colorful?module"></script>
        <script>
            const ARTISAN_APP = function() {
                <?php if($fonts): ?>
                    const fonts = <?php echo json_encode($fonts, 15, 512) ?>;
                <?php endif; ?>
                const tabsStorage = function() {
                        const leftTabs = document.querySelectorAll('#leftTabs a[data-coreui-toggle="tab"]')
                        const tabMain = document.querySelectorAll('.tab-main a[data-coreui-toggle="tab"]')
                        leftTabs.forEach(element => {
                            element.addEventListener('shown.coreui.tab', function(e) {
                                localStorage.setItem('leftTab', e.target.getAttribute('href'));
                            });
                        });
                        tabMain.forEach(element => {
                            element.addEventListener('show.coreui.tab', function(e) {
                                localStorage.setItem('activeTab', e.target.getAttribute('href'));
                            });
                        });

                        var leftTab = localStorage.getItem('leftTab');
                        if (leftTab) {
                            coreui.Tab.getOrCreateInstance(document.querySelector('a[href="' + leftTab + '"]')).show()
                        }
                        var activeTab = localStorage.getItem('activeTab');
                        if (activeTab) {
                            coreui.Tab.getOrCreateInstance(document.querySelector('a[href="' + activeTab + '"]')).show()
                        }
                    },
                    deleteCheckbox = function() {
                        if (document.querySelectorAll('.delete-box').length > 0) {
                            document.querySelectorAll('.delete-box').forEach(element => {
                                element.addEventListener('change', checkbox => {
                                    if (checkbox.target.checked) {
                                        checkbox.target.parentNode.style.display = 'none';
                                    }
                                })
                            });
                        }
                    },
                    initColorpicker = function() {
                        document.querySelectorAll('hex-color-picker').forEach(el => {
                            var field = el.parentElement.parentElement.parentElement.parentElement.querySelector(
                                'input');
                            var backgroundSpan = el.parentElement.parentElement.querySelector('span');
                            var backgroundParentSpan = el.parentElement.parentElement.parentElement.parentElement
                                .querySelector(
                                    'span');
                            el.addEventListener('color-changed', (event) => {
                                field.value = event.detail.value;
                                backgroundSpan.style.backgroundColor = event.detail.value;
                                backgroundParentSpan.style.backgroundColor = event.detail.value;
                            });
                        });
                    },
                    requestAjax = function(target) {
                        if (target) {
                            let $url = target.dataset.url;
                            if ($url) {
                                target.disabled = true;
                                target.querySelector('.spinner-border').classList.remove('d-none');

                                axios.get($url)
                                    .then(function(response) {
                                        if (response.data.success) {
                                            DotArtisan.sweetSuccess(response.data.message);
                                        }
                                    })
                                    .catch(function(error) {
                                        console.log(error);
                                    }).then(function() {
                                        target.disabled = false
                                        target.querySelector('.spinner-border').classList.add('d-none')
                                    });
                            }
                        }
                    },
                    attachEvents = function() {
                        const ajaxActions = document.querySelectorAll('.requestAjax')
                        if (ajaxActions.length > 0) {
                            ajaxActions.forEach(button => {
                                button.addEventListener('click', e => {
                                    e.preventDefault()
                                    requestAjax(e.target)
                                })
                            });
                        }
                    },
                    typographyFonts = function() {
                        const fontFields = document.querySelectorAll('.selectedFont')
                        if (fontFields.length > 0) {
                            fontFields.forEach(field => {
                                field.addEventListener('change', e => {
                                    const selected = (e.target.options.selectedIndex - 1)
                                    if (fonts[selected]) {
                                        var $varent = e.target.parentElement.querySelector(
                                            '.fontVariants select')
                                        var $options = [];
                                        fonts[selected].variants.forEach(value => {
                                            $options.push('<option value="' + value + '">' + value +
                                                '</option>');
                                        });

                                        $varent.innerHTML = $options.join('');
                                    }
                                })
                            });
                        }
                    };

                return {
                    init: function() {
                        tabsStorage();
                        deleteCheckbox();
                        initColorpicker();
                        attachEvents();
                        typographyFonts();
                        document.querySelector('.settings-tabs').classList.remove('invisible');
                    }
                }
            }();
            document.addEventListener("DOMContentLoaded", function(event) {
                ARTISAN_APP.init();
            });
        </script>
    <?php $__env->stopSection(); ?>
 <?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__attributesOriginal9ac128a9029c0e4701924bd2d73d7f54)): ?>
<?php $attributes = $__attributesOriginal9ac128a9029c0e4701924bd2d73d7f54; ?>
<?php unset($__attributesOriginal9ac128a9029c0e4701924bd2d73d7f54); ?>
<?php endif; ?>
<?php if (isset($__componentOriginal9ac128a9029c0e4701924bd2d73d7f54)): ?>
<?php $component = $__componentOriginal9ac128a9029c0e4701924bd2d73d7f54; ?>
<?php unset($__componentOriginal9ac128a9029c0e4701924bd2d73d7f54); ?>
<?php endif; ?>
<?php /**PATH /www/wwwroot/webtoolzone.com/resources/themes/admin/settings/index.blade.php ENDPATH**/ ?>