{#if $lq__event_event_file_obj_li}
{#each $lq__event_event_file_obj_li as event_file_obj, index}
{ // ae_promises[event_file_obj.event_file_id_random] ae_promises[event_file_obj?.event_file_id_random] = api.download_hosted_file({ api_cfg: $ae_api, hosted_file_id: event_file_obj?.hosted_file_id_random, return_file: true, filename: event_file_obj?.filename, auto_download: true, log_lvl: 0 }); }} class=" btn btn-sm text-xs w-full preset-tonal-primary hover:preset-tonal-success transition-all " title={`Download this file:\n${event_file_obj.filename}\n[API] SHA256: ${event_file_obj.hash_sha256.slice(0, 10)}... Hosted ID: ${event_file_obj.hosted_file_id_random} Event File ID: ${event_file_obj.event_file_id_random}`} > {#await ae_promises[event_file_obj.event_file_id_random]}
Downloading {#if $ae_sess.api_download_kv[event_file_obj.hosted_file_id_random]} {$ae_sess.api_download_kv[event_file_obj.hosted_file_id_random].percent_completed}% {/if} :
{:then}
{/await}
{ae_util.shorten_filename({filename: event_file_obj.filename, max_length: 30})}
{/each}
{/if} {#if $ae_loc.edit_mode}
{/if} {#if $lq__location_event_file_obj_li}
{#each $lq__location_event_file_obj_li as event_file_obj, index}
{ // ae_promises[event_file_obj.event_file_id_random] ae_promises[event_file_obj?.event_file_id_random] = api.download_hosted_file({ api_cfg: $ae_api, hosted_file_id: event_file_obj?.hosted_file_id_random, return_file: true, filename: event_file_obj?.filename, auto_download: true, log_lvl: 0 }); }} class=" btn btn-sm text-xs w-full preset-tonal-primary hover:preset-tonal-success transition-all " title={`Download this file:\n${event_file_obj.filename}\n[API] SHA256: ${event_file_obj.hash_sha256.slice(0, 10)}... Hosted ID: ${event_file_obj.hosted_file_id_random} Event File ID: ${event_file_obj.event_file_id_random}`} > {#await ae_promises[event_file_obj.event_file_id_random]}
Downloading {#if $ae_sess.api_download_kv[event_file_obj.hosted_file_id_random]} {$ae_sess.api_download_kv[event_file_obj.hosted_file_id_random].percent_completed}% {/if} :
{:then}
{/await}
{ae_util.shorten_filename({filename: event_file_obj.filename, max_length: 30})}
{/each}
{/if} {#if $lq__event_session_obj_li}
{/if} {#if $ae_loc.edit_mode}
{ $events_loc.launcher.show_content__hidden_files = !$events_loc.launcher.show_content__hidden_files; }} class=" btn btn-sm text-xs w-1/2 max-w-1/2 preset-tonal-warning hover:preset-tonal-success transition-all " > {#if $events_loc.launcher.show_content__hidden_files}
Hide Files {:else}
All Files {/if}
{ $events_loc.launcher.show_content__hidden_sessions = !$events_loc.launcher.show_content__hidden_sessions; }} class=" btn btn-sm text-xs w-1/2 max-w-1/2 preset-tonal-warning hover:preset-tonal-success transition-all " > {#if $events_loc.launcher.show_content__hidden_sessions}
Hide Sessions {:else}
All Sessions {/if}
{/if}