{#if widget && node && nodeValue}
{#if _value && _value.length > 0 && !pending_upload} {@const firstImage = _value[0]}
{:else}
($nodeValue = detail)} on:load={handle_upload} bind:dragging on:clear on:select parse_to_data_url={false} >
{/if}
{/if}