{#if !clip && !scene}

{t('promptPreview.noClip')}

{:else if $preview.isPending}
{t('promptPreview.resolving', { suffix: workflow?.prompt_profile === 'minimax_h3_ref' ? t('promptPreview.h3Rewrite') : '' })}
{:else}
{#if clip} {t('promptPreview.shotMeta', { label: clip.label ?? `#${scene?.order_index ?? ''}`, heading: scene?.heading || t('promptPreview.untitled'), })} {:else} {t('promptPreview.sceneMeta', { index: scene?.order_index ?? '', heading: scene?.heading || t('promptPreview.untitled'), })} {/if} {workflow?.name ?? t('promptPreview.defaultWorkflow')}
{#if stale}
{t('promptPreview.staleHint')}
{/if} {#if criticNotes.length}

{t('promptPreview.criticTitle')}

    {#each criticNotes as note, i (i)}
  • {note}
  • {/each}
{/if} {#if failed}
{t('promptPreview.failedHint')}
{:else if fromDraft}

{t('promptPreview.fromDraftHint')}

{:else if workflow?.prompt_profile === 'minimax_h3_ref'}

{t('promptPreview.h3Hint')}

{:else}

{t('promptPreview.proseHint')}

{/if} {/if} {#snippet footer()} {/snippet}