"use strict";(()=>{(self.webpackChunktechdocs_cli_embedded_app=self.webpackChunktechdocs_cli_embedded_app||[]).push([[7670],{27670:function(T,i,t){t.r(i),t.d(i,{CatalogSearchResultListItem:function(){return j}});var s=t(52322),u=t(2784),c=t(79692),d=t(38402),x=t(86136),h=t(49378),m=t(95544),n=t(7089),g=t(85256),v=t(23196),o=t(15096);const f=(0,c.Z)({flexContainer:{flexWrap:"wrap"},itemText:{width:"100%",wordBreak:"break-all",marginBottom:"1rem"}});function j(a){const e=a.result,l=a.highlight,r=f();return e?(0,s.jsxs)(s.Fragment,{children:[(0,s.jsxs)(d.Z,{alignItems:"flex-start",children:[a.icon&&(0,s.jsx)(x.Z,{children:a.icon}),(0,s.jsxs)("div",{className:r.flexContainer,children:[(0,s.jsx)(h.Z,{className:r.itemText,primaryTypographyProps:{variant:"h6"},primary:(0,s.jsx)(v.rU,{noTrack:!0,to:e.location,children:l!=null&&l.fields.title?(0,s.jsx)(o.FA,{text:l.fields.title,preTag:l.preTag,postTag:l.postTag}):e.title}),secondary:l!=null&&l.fields.text?(0,s.jsx)(o.FA,{text:l.fields.text,preTag:l.preTag,postTag:l.postTag}):e.text}),(0,s.jsxs)(m.Z,{children:[e.kind&&(0,s.jsx)(n.Z,{label:`Kind: ${e.kind}`,size:"small"}),e.lifecycle&&(0,s.jsx)(n.Z,{label:`Lifecycle: ${e.lifecycle}`,size:"small"})]})]})]}),(0,s.jsx)(g.Z,{component:"li"})]}):null}}}]);})();

//# sourceMappingURL=7670.7845e3d0.chunk.js.map