(function(){var n={displayName:"AutoSuggest:WindowsGroup",getInitialState:function(){var t=this.props||{},i=t.viewData||{},n=t.properties||{},r=i.TestHooksEnabled,u=n.Group,f=n.ContextMenuHandler,e=n.ClickHandler;return{}},render:function(){var g=this,i=this.props||{},nt=i.viewData||{},f=i.properties||{},c=[],t=i.encoder||Sparkle.defaultEncoder,it=nt.TestHooksEnabled,n=f.Group,tt=f.ContextMenuHandler,l=f.ClickHandler,e={},o=[],s,w,b,k,h,d;if(e.className=t.writeAttribute("group"),e["data-region"]=t.writeAttribute(n.instRegionName),s=Sparkle.copyContext(i,e),!string.IsNullOrEmpty(n.title)){var r={},a=[],u="";u+="groupHeader";n.selectable&&(u+=" selectable");u&&(r.className=t.writeAttribute(u));r.id=t.writeAttribute(n.id);r.onClick=function(t){var i=new Sparkle.RenderedView(g),r=t;l(n)};n.instItem&&(r["data-h"]=t.writeAttribute(n.instItem.getHValue()));r["aria-label"]=t.writeAttribute(n.title);var v=Sparkle.copyContext(i,r),y=[],p=Sparkle.copyContext(i,{});t.writeContent(n.title,y);p.defaultSegment=y;w=Sparkle.resolveView("span").renderView(p);a.push(w);v.defaultSegment=a;b=Sparkle.resolveView("div").renderView(v);o.push(b)}for(k in n.suggestions)h=n.suggestions[k],typeof h!="function"&&function(n){var r={},u,f;r.Suggestion=t.writeAttribute(n);r.ContextMenuHandler=t.writeAttribute(tt);r.ClickHandler=t.writeAttribute(l);u=Sparkle.resolveView("AutoSuggest:WindowsSuggestionSingleLine");f=Sparkle.copyContext(i,r);o.push(u.renderView(f))}(h);return s.defaultSegment=o,d=Sparkle.resolveView("div").renderView(s),c.push(d),Sparkle.ReactImpl.returnSingleNode(c)}};Sparkle.ReactImpl.registerView(n)})()