Page {currentPage} of {totalPages} | Showing
{currentPage === totalPages && totalItems > 0
? totalItems - offset
: itemsPerPage} items | Showing
{offset + 1} to {Math.min(currentPage * itemsPerPage, totalItems)} of {totalItems}
{#each pageRange(totalPages, currentPage) as page}
{#if page === "..."}
...
{:else}
{/if}
{/each}
{#if showModal}