{#if $events_loc?.ver && $events_loc?.ver !== $events_sess?.ver}
{ // Clear the IndexedDB clear_idb(); // // Clear localStorage and sessionStorage // clear_local(); // // clear_sess(); // alert('The page will now reload. You may need to sign in again.'); // // location.reload(); // // window.location.reload(true); // goto('/'); localStorage.clear(); sessionStorage.clear(); alert( 'The page will now reload. You may need to sign in again.' ); await goto('/', { invalidateAll: true }); location.reload(); }} title="A new version of One Sky IT's Aether Events module is available. Click to reload the page and use the latest version.">
New Events Module Version Available!
Click to Reload
You may need to sign in again.
{/if}
{#if !$ae_sess?.disable_sys_nav && !$ae_loc?.iframe}
600} class:opacity-0={yTop > 250} class=" submenu absolute top-0 right-0 left-0 z-20 m-auto flex min-h-12 w-full max-w-7xl flex-col items-center justify-between gap-1 rounded-b-lg border-b-2 border-primary-200 dark:border-primary-800 bg-primary-200/10 dark:bg-primary-800/10 text-primary-900 dark:text-primary-100 backdrop-blur-sm p-1 px-2 transition-all duration-1000 hover:opacity-100 sm:flex-row sm:flex-wrap md:min-h-14 print:hidden ">
Æ Events
{#if !$ae_sess?.disable_sys_header}
{/if}
Home
{/if}
0 && nav_y_height <= 50} class:pt-20={!$ae_sess?.disable_sys_nav && nav_y_height > 50 && nav_y_height <= 100} class:pt-32={!$ae_sess?.disable_sys_nav && nav_y_height > 100 && nav_y_height <= 150} class:pt-40={!$ae_sess?.disable_sys_nav && nav_y_height > 150 && nav_y_height <= 200} class=" main_content flex grow flex-col items-center justify-start gap-1 px-1 pb-[25vh] md:px-2 lg:px-4 "> {@render children?.()}
750} class:opacity-0={yTop < 750} class:ae_btn_warning_filled={yTop > 1500} onclick={() => { document.getElementById('ae_main_content')?.scrollTo({ top: 0, behavior: 'smooth' }); window.parent.postMessage({ scroll_to: 0 }, '*'); // This should be }} title="Scroll to top">
Scroll to Top
750} class:opacity-0={yTop < 750} class:ae_btn_warning_filled={yTop > 1500} onclick={() => { document.getElementById('ae_main_content')?.scrollTo({ top: yScroll, behavior: 'smooth' }); window.parent.postMessage({ scroll_to: scroll_y }, '*'); }} title="Scroll to bottom">
Scroll to Bottom
{#if !$ae_sess?.disable_sys_footer} {/if}