{
const render = lines => {
return vdom.h("div", null, lines.map((line, index) => {
return vdom.h("div", { key: cyrb53(line, line.length ? 0 : index).toString() }, line + "\n")
}))
}
const root0 = createRoot()
const tree0 = vdom.h("div")
const dom0 = vdom.create(tree0)
root0.appendChild(dom0)
const tree1 = render(lines.v1)
const dom1 = vdom.patch(dom0, vdom.diff(tree0, tree1))
const tree2 = render(lines.v2)
const dom2 = vdom.patch(dom0, vdom.diff(tree1, tree2))
const tree3 = render(lines.v1)
const dom3 = vdom.patch(dom0, vdom.diff(tree2, tree3))
return root0
}