<script lang="ts">
    /**
     * events/[event_id]/(launcher)/+layout.svelte
     * Root layout for the launcher area.
     * Ensures background sync runs globally regardless of active tab.
     */
    // import { ae_loc } from '$lib/stores/ae_stores';
    import Launcher_Background_Sync from './launcher_background_sync.svelte';

    interface Props {
        children?: import('svelte').Snippet;
    }

    let { children }: Props = $props();
</script>

<!-- Background Sync Process (Invisible) -->
<Launcher_Background_Sync log_lvl={1} />

<!-- Render the rest of the launcher UI -->
{@render children?.()}
