<?php $attributes ??= new \Illuminate\View\ComponentAttributeBag; ?>
<?php foreach($attributes->onlyProps(['id', 'maxWidth' => 'max-w-2xl']) as $__key => $__value) {
    $$__key = $$__key ?? $__value;
} ?>
<?php $attributes = $attributes->exceptProps(['id', 'maxWidth' => 'max-w-2xl']); ?>
<?php foreach (array_filter((['id', 'maxWidth' => 'max-w-2xl']), '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); ?>


<div x-data="{ show: false }"
     @open-modal.window="if ($event.detail === '<?php echo e($id); ?>') show = true"
     @close-modal.window="show = false"
     @keydown.escape.window="show = false"
     x-show="show"
     class="fixed inset-0 flex items-center justify-center bg-gray-900 bg-opacity-50 z-50"
     style="display: none;"
     role="dialog" aria-modal="true" tabindex="-1">
  <div @click.away="show = false" class="bg-white rounded-lg shadow-lg w-full p-6 <?php echo e($maxWidth); ?> max-h-screen overflow-y-auto">
    <?php echo e($slot); ?>

  </div>
</div>
<?php /**PATH /home/ecamesuac/public_html/notifications_colloque_uac/resources/views/components/modal.blade.php ENDPATH**/ ?>