{#if !device.is.mobile} {/if}
{ const currentPos = donateList.scrollLeft; const maxPos = donateList.scrollWidth - donateList.getBoundingClientRect().width - 5; showLeftScroll = currentPos > 0; showRightScroll = currentPos < maxPos && currentPos !== maxPos; }} > {#each Object.entries(PRESET_DONATION_AMOUNTS) as [amount, icon]} {/each}
{#if customInputValue || customInput?.validity.badInput} $ {/if} (customFocused = true)} on:focus={() => (customFocused = true)} on:blur={() => (customFocused = false)} on:keydown={(e) => e.key === "Enter" && sendCustom()} />