{#if data.title}

{data.title}

{/if} {#if data.heading}

{data.heading}

{/if} {#if lapsed.length} {/if} {#if basket.lines.length === 0}

Your basket is empty

Pick a service or product above.

{:else} {#if holdLeftMs !== null && slotLineCount} {@const ending = holdLeftMs < RENEW_OFFER_MS}

{slotLineCount === 1 ? 'Your time is' : 'Your times are'} reserved for {formatCountdown(holdLeftMs)}{ending ? ' — after that it goes back to the shop.' : '.'}

{#if ending && payState !== 'confirming'} {/if}
{/if}
Subtotal {formatPrice(basket.total, currency)}
{ e.preventDefault(); startPayment(); }} >

Your details

{data.notesHint || DEFAULT_NOTES_HINT}

{data.privacyNotice || DEFAULT_PRIVACY_NOTICE} {#if privacyPage} Privacy policy {/if}

{#if payState === 'idle' || payState === 'creating'} {/if}

Payment

{#if errorMsg} {/if} {#if basketChanged && !lapsed.length}

Basket changed — please press Pay again.

{/if} {#if payState === 'ready' || payState === 'confirming'} {/if} {#if payState === 'idle' && !errorMsg}

Fill in your details and press Pay to continue to secure payment.

{/if}
{/if}