{#if hasMore || page != 1} {#if children} {@render children?.()} {/if} {#if back} invalidate(pageData.url)} title={$t('common.back')} rounding="pill" size="custom" class="text-inherit dark:text-inherit p-1" disabled={(cursor?.back == undefined && cursor?.next != undefined) || page <= 1} > {#snippet suffix()} {/snippet} {/if} {#if page} {#key page} {page} {/key} {/if} invalidate(pageData.url)} title={$t('common.next')} size="custom" rounding="pill" class="text-inherit dark:text-inherit p-1" disabled={!hasMore} > {#snippet suffix()} {/snippet} {/if}