{#snippet belowMarks({ context }: { context: ChartCtx; facet: Facet })} {#if bandShaded} {@const b = bandBounds(context)} {#if b} {/if} {/if} {/snippet} {#snippet marks({ context }: { context: ChartCtx; facet: Facet })} {#each context?.series?.visibleSeries ?? [] as s (s.key)} {#if areaKeys.has(s.key)} {/if} {/each} {/snippet} {#snippet tooltipBox({ context }: { context: ChartCtx })} {#snippet children({ data }: { data: Record })} {#each context?.series?.visibleSeries ?? [] as s (s.key)} {@const acc = s?.value} {@const v = typeof acc === 'function' ? acc(data as never) : data?.[acc as string]} {#if v !== undefined} {/if} {/each} {#each extras as e (e.key)} {#if data?.[e.key] !== undefined} {/if} {/each} {/snippet} {/snippet}