<?php $attributes ??= new \Illuminate\View\ComponentAttributeBag; ?>
<?php foreach($attributes->onlyProps([
    'header' => '',
    'hasForm' => false,
]) as $__key => $__value) {
    $$__key = $$__key ?? $__value;
} ?>
<?php $attributes = $attributes->exceptProps([
    'header' => '',
    'hasForm' => false,
]); ?>
<?php foreach (array_filter(([
    'header' => '',
    'hasForm' => false,
]), 'is_string', ARRAY_FILTER_USE_KEY) as $__key => $__value) {
    $$__key = $$__key ?? $__value;
} ?>
<?php $__defined_vars = get_defined_vars(); ?>
<?php foreach ($attributes as $__key => $__value) {
    if (array_key_exists($__key, $__defined_vars)) unset($$__key);
} ?>
<?php unset($__defined_vars); ?>
<?php
$modalDialogClass = $attributes->get('modal-dialog-class') ?? '';
?>
<!-- Modal -->
<div data-backdrop="static" tabindex="-1" aria-labelledby="<?php echo e($header); ?>" aria-hidden="true"
    <?php echo e($attributes->merge(['class' => 'modal fade ' . ($hasForm ? 'lw-has-form' : '')])); ?>>
    <div class="modal-dialog <?php echo e($modalDialogClass); ?>">
        <div class="modal-content">
            <div class="modal-header">
                <h3 class="modal-title"><?php echo e($header); ?></h3>
                <button type="button" class="close" data-dismiss="modal" aria-label="Close">
                    <span aria-hidden="true">&times;</span>
                </button>
            </div>
            <div class="modal-body <?php echo e($hasForm ? 'p-0' : ''); ?>">
                <?php echo e($slot); ?>

            </div>
            <?php if(!$hasForm): ?>
                <div class="modal-footer">
                    <button type="button" class="btn btn-secondary" data-dismiss="modal"><?= __tr('Close') ?></button>
          <?php echo e($footer ?? ''); ?>

        </div>
        <?php endif; ?>
      </div>
    </div>
  </div>
<?php /**PATH C:\xampp\htdocs\zap\resources\views/components/lw/modal.blade.php ENDPATH**/ ?>