{#snippet actions()} {#if jobId && download} {#if shouldDownloadViaClient()} {:else} {/if} {/if} {/snippet}
{#if resolvingSkippedLogs}{:else if effectiveContent}{@const len =
						(effectiveContent?.length ?? 0) +
						(loadedFromObjectStore?.length ?? 0)}{#if splitHtml}{@html splitHtml.before}{@html splitHtml.after}{:else if downloadStartUrl}
{@html html}{:else if len > LOG_LIMIT}(truncated to the last {LOG_LIMIT} characters)...

{@html html}{:else}{@html html}{/if}{:else if isLoading}Waiting for job to start...{:else}No logs are available yet{/if}
{#if isLoading}
{#if tag}
{tagLabel ?? 'tag'}: {tag}
{/if} {#if jobId && !replaying} {/if}
{:else if duration} {duration}ms {/if} {#if mem} {(mem / 1024).toPrecision(4)}MB {/if}
{#if jobId && download}
{#if shouldDownloadViaClient()} {:else} {/if}
{/if} {#if !noAutoScroll} {/if}
{#if resolvingSkippedLogs}{:else if effectiveContent}{@const len =
						(effectiveContent?.length ?? 0) +
						(loadedFromObjectStore?.length ?? 0)}{#if splitHtml}{@html splitHtml.before}{@html splitHtml.after}{:else if downloadStartUrl}
{@html html}{:else if len > LOG_LIMIT} ({LOG_LIMIT}/{len} chars)
{@html html}{:else}{@html html}{/if}{:else if !isLoading}{customEmptyMessage}{/if}