"use strict";(()=>{(self.webpackChunktechdocs_cli_embedded_app=self.webpackChunktechdocs_cli_embedded_app||[]).push([[1297],{61297:(f,o,l)=>{l.r(o),l.d(o,{CatalogSearchResultListItem:()=>v});var e=l(31085),T=l(14041),c=l(10394),i=l(67720),r=l(46423),m=l(5951),x=l(72501),h=l(58837),y=l(72072),d=l(70734);const g=(0,h.A)({item:{display:"flex"},flexContainer:{flexWrap:"wrap"},itemText:{width:"100%",wordBreak:"break-all",marginBottom:"1rem"}},{name:"CatalogSearchResultListItem"});function v(a){const t=a.result,s=a.highlight,n=g();return t?(0,e.jsxs)("div",{className:n.item,children:[a.icon&&(0,e.jsx)(r.A,{children:typeof a.icon=="function"?a.icon(t):a.icon}),(0,e.jsxs)("div",{className:n.flexContainer,children:[(0,e.jsx)(m.A,{className:n.itemText,primaryTypographyProps:{variant:"h6"},primary:(0,e.jsx)(y.N_,{noTrack:!0,to:t.location,children:s!=null&&s.fields.title?(0,e.jsx)(d.e,{text:s.fields.title,preTag:s.preTag,postTag:s.postTag}):t.title}),secondary:(0,e.jsx)(x.A,{component:"span",style:{display:"-webkit-box",WebkitBoxOrient:"vertical",WebkitLineClamp:a.lineClamp,overflow:"hidden"},color:"textSecondary",variant:"body2",children:s!=null&&s.fields.text?(0,e.jsx)(d.e,{text:s.fields.text,preTag:s.preTag,postTag:s.postTag}):t.text})}),(0,e.jsxs)(c.A,{children:[t.kind&&(0,e.jsx)(i.A,{label:`Kind: ${t.kind}`,size:"small"}),t.type&&(0,e.jsx)(i.A,{label:`Type: ${t.type}`,size:"small"}),t.lifecycle&&(0,e.jsx)(i.A,{label:`Lifecycle: ${t.lifecycle}`,size:"small"}),t.owner&&(0,e.jsx)(i.A,{label:`Owner: ${t.owner}`,size:"small"})]})]})]}):null}}}]);})();

//# sourceMappingURL=1297.cdfd490e.chunk.js.map