+ {#if showCaret}
+
+ {/if}
+ {#each lines as line, l}
+
onLineClick?.()}
+ onkeydown={(e) => { if (e.key === 'Enter' || e.key === ' ') { e.preventDefault(); onLineClick?.() } }}>
+ {#each line.parts as seg}
+ {#if !seg.kanji}
+ {#each seg.kana as char, c}
+
+ {@html preprocessKana(char, states[l]?.[seg.swi + c])}
+
+ {/each}
+ {:else}
+
+ {seg.kanji}{#if settings.isFuri}{/if}
+
+ {/if}
+ {/each}
+
+ {/each}
+
+