uot;Todos&quot;,D=()=&gt;{const[e,s]=T(&quot;&quot;),n=l(&quot;type&quot;,&quot;viewStore&quot;),t=S(({target:{value:r}})=&gt;s(r),[]),a=A(&quot;todos&quot;,({which:r,target:{value:c}})=&gt;r==13&amp;&amp;c!=&quot;&quot;?{text:c,type:n}:null,[n],void 0,()=&gt;s(&quot;&quot;),[s]);return o(&quot;input&quot;,{id:&quot;newTodo&quot;,onChange:t,onKeyDown:a,placeholder:&quot;New Todo&quot;,value:e})},B=()=&gt;o(&quot;ul&quot;,{id:&quot;todos&quot;,children:o(g,{indexId:&quot;types&quot;,sliceId:l(&quot;type&quot