<?php if($global->front_design != 0): ?>
    <div class="col-xl-12 col-lg-12 col-md-12 ntfcn-tab-content-left w-100 py-20">
        <div class="row">
            <div class="col-md-12">
                <?php if (isset($component)) { $__componentOriginal4e45e801405ab67097982370a6a83cba = $component; } ?>
<?php $component = App\View\Components\Forms\Text::resolve(['fieldLabel' => __('superadmin.footer.footerCopyrightText').$lang->label,'fieldName' => 'footer_copyright_text','fieldValue' => $trFrontDetail ? $trFrontDetail->footer_copyright_text : '','fieldId' => 'footer_copyright_text'] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?>
<?php $component->withName('forms.text'); ?>
<?php if ($component->shouldRender()): ?>
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
<?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag && $constructor = (new ReflectionClass(App\View\Components\Forms\Text::class))->getConstructor()): ?>
<?php $attributes = $attributes->except(collect($constructor->getParameters())->map->getName()->all()); ?>
<?php endif; ?>
<?php $component->withAttributes(['autocomplete' => 'off']); ?>
<?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__componentOriginal4e45e801405ab67097982370a6a83cba)): ?>
<?php $component = $__componentOriginal4e45e801405ab67097982370a6a83cba; ?>
<?php unset($__componentOriginal4e45e801405ab67097982370a6a83cba); ?>
<?php endif; ?>
            </div>
        </div>
    </div>
    <!-- Buttons Start -->
    <div class="w-100 border-top-grey">
        <?php if (isset($component)) { $__componentOriginal22960d0612890da31753448e47f28003 = $component; } ?>
<?php $component = App\View\Components\SettingFormActions::resolve([] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?>
<?php $component->withName('setting-form-actions'); ?>
<?php if ($component->shouldRender()): ?>
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
<?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag && $constructor = (new ReflectionClass(App\View\Components\SettingFormActions::class))->getConstructor()): ?>
<?php $attributes = $attributes->except(collect($constructor->getParameters())->map->getName()->all()); ?>
<?php endif; ?>
<?php $component->withAttributes([]); ?>
            <div class="d-flex">
                <?php if (isset($component)) { $__componentOriginalcf8d12533ff890e0d6573daf32b7618d = $component; } ?>
<?php $component = App\View\Components\Forms\ButtonPrimary::resolve(['icon' => 'check'] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?>
<?php $component->withName('forms.button-primary'); ?>
<?php if ($component->shouldRender()): ?>
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
<?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag && $constructor = (new ReflectionClass(App\View\Components\Forms\ButtonPrimary::class))->getConstructor()): ?>
<?php $attributes = $attributes->except(collect($constructor->getParameters())->map->getName()->all()); ?>
<?php endif; ?>
<?php $component->withAttributes(['class' => 'mr-3 w-100','id' => 'saveFrontSetting']); ?><?php echo app('translator')->get('app.update'); ?>
                 <?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__componentOriginalcf8d12533ff890e0d6573daf32b7618d)): ?>
<?php $component = $__componentOriginalcf8d12533ff890e0d6573daf32b7618d; ?>
<?php unset($__componentOriginalcf8d12533ff890e0d6573daf32b7618d); ?>
<?php endif; ?>
            </div>
         <?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__componentOriginal22960d0612890da31753448e47f28003)): ?>
<?php $component = $__componentOriginal22960d0612890da31753448e47f28003; ?>
<?php unset($__componentOriginal22960d0612890da31753448e47f28003); ?>
<?php endif; ?>
    </div>
<?php endif; ?>
<div class="col-xl-12 col-lg-12 col-md-12 ntfcn-tab-content-left w-100 p-0">
    <input type="hidden" id="language" name="language_setting_id" value="<?php echo e($lang->id); ?>">
    <div class="s-b-n-header mb-2">
        <h2 class="f-21 font-weight-normal text-capitalize border-bottom-grey mb-0 py-2 pl-20">
            <?php echo app('translator')->get($pageTitle); ?> <?php echo $lang->label; ?></h2>
    </div>



    <div class="row pt-2">
        <div class="col-md-12 mb-2 ml-3">
            <button id="add-footer" type="button"
                    class="btn-primary rounded f-14 p-2"><i
                    class="fa fa-plus mr-1"></i><?php echo app('translator')->get('superadmin.footer.addFooter'); ?></button>
        </div>
    </div>

    <div class="col-lg-12 col-md-12 ntfcn-tab-content-left w-100 p-0">

        <?php echo $__env->make('super-admin.front-setting.footer-setting.footer-data', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>

    </div>

</div>
<script src="<?php echo e(asset('vendor/jquery/clipboard.min.js')); ?>"></script>
<script>
    /* open add footer modal */
    $('#add-footer').click(function () {
        var lang = $('#language').val();
        var url = "<?php echo e(route('superadmin.front-settings.footer-settings.create')); ?>?lang=" + lang;
        $(MODAL_LG + ' ' + MODAL_HEADING).html('...');
        $.ajaxModal(MODAL_LG, url);
    });

    var clipboard = new ClipboardJS('.btn-copy-cron');

    clipboard.on('success', function (e) {
        Swal.fire({
            icon: 'success',
            text: "<?php echo e(__('app.copied')); ?>",
            toast: true,
            position: 'top-end',
            timer: 3000,
            timerProgressBar: true,
            showConfirmButton: false,
            customClass: {
                confirmButton: 'btn btn-primary',
            },
            showClass: {
                popup: 'swal2-noanimation',
                backdrop: 'swal2-noanimation'
            },
        })
    });


    $('body').on('click', '.delete-table-row', function () {
        var id = $(this).data('id');
        var lang = $('#language').val();

        Swal.fire({
            title: "<?php echo app('translator')->get('messages.sweetAlertTitle'); ?>",
            text: "<?php echo app('translator')->get('messages.recoverRecord'); ?>",
            icon: 'warning',
            showCancelButton: true,
            focusConfirm: false,
            confirmButtonText: "<?php echo app('translator')->get('messages.confirmDelete'); ?>",
            cancelButtonText: "<?php echo app('translator')->get('app.cancel'); ?>",
            customClass: {
                confirmButton: 'btn btn-primary mr-3',
                cancelButton: 'btn btn-secondary'
            },
            showClass: {
                popup: 'swal2-noanimation',
                backdrop: 'swal2-noanimation'
            },
            buttonsStyling: false
        }).then((result) => {
            if (result.isConfirmed) {
                var url = "<?php echo e(route('superadmin.front-settings.footer-settings.destroy', ':id')); ?>";
                url = url.replace(':id', id);

                var token = "<?php echo e(csrf_token()); ?>";

                $.easyAjax({
                    type: 'POST',
                    url: url,
                    blockUI: true,
                    data: {
                        'current_language_id': lang,
                        '_token': token,
                        '_method': 'DELETE'
                    },
                    success: function (response) {
                        if (response.status == "success") {
                            $('#example').html(response.html);
                            // $('.row'+id).fadeOut();
                        }
                    }
                });
            }
        });
    });
</script>
<?php /**PATH /home/u562907727/domains/recruitboards.com/public_html/resources/views/super-admin/front-setting/footer-setting/ajax/lang.blade.php ENDPATH**/ ?>