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

//# sourceMappingURL=7670.ecbfc9f3.chunk.js.map