taken from https://github.com/Linkcube/svelte-audio-controls ISC License --> (seeking = volumeSeeking = false)} on:mousemove={trackMouse} /> {#if display}
(seeking = true)} on:mouseenter={() => (showTooltip = true)} on:mouseleave={() => (showTooltip = false)} on:click={seekAudio} style="--primary-color:{barPrimaryColor}; --secondary-color:{barSecondaryColor}" class="song-progress" />
{formatSeconds(currentTime)}/{formatSeconds(duration)}
(volumeSeeking = true)} on:click={seekVolume} style="--primary-color:{barPrimaryColor}; --secondary-color:{barSecondaryColor}" class="volume-progress" /> {#if !disableTooltip && (inlineTooltip || showTooltip)}
{#if showTooltip} {seekText}
{seekTrack} {:else if duration > 3600} --:--:-- {:else} --:-- {/if}
{/if}
{/if}