(mouseOver = true)} on:mouseleave={() => (mouseOver = false)} on:click={() => dispatch('viewAsset', { assetId: asset.id, deviceId: asset.deviceId })} > {#if mouseOver}
(mouseOverIcon = true)} on:mouseleave={() => (mouseOverIcon = false)} class="inline-block" >
{/if} {#if asset.type === AssetType.VIDEO}
{parseVideoDuration(asset.duration)}
{/if} {#if intersecting} {#await loadImageData()}
...
{:then imageData} {asset.id} {/await} {/if}