"use strict";(self.webpackChunktechdocs_cli_embedded_app=self.webpackChunktechdocs_cli_embedded_app||[]).push([["1335"],{50874(e,t,l){l.d(t,{CatalogSearchResultListItem:()=>f});var s=l(31085),a=l(77125),i=l(94390),r=l(46423),c=l(5951),n=l(72501),o=l(58837),d=l(60603),p=l(7613),m=l(50010),x=l(89595);let h=(0,o.A)({item:{display:"flex"},flexContainer:{flexWrap:"wrap"},itemText:{width:"100%",wordBreak:"break-all",marginBottom:"1rem"}},{name:"CatalogSearchResultListItem"});function f(e){let t=e.result,l=e.highlight,o=h(),{t:f}=(0,x.i)(m.W);return t?(0,s.jsxs)("div",{className:o.item,children:[e.icon&&(0,s.jsx)(r.A,{children:"function"==typeof e.icon?e.icon(t):e.icon}),(0,s.jsxs)("div",{className:o.flexContainer,children:[(0,s.jsx)(c.A,{className:o.itemText,primaryTypographyProps:{variant:"h6"},primary:(0,s.jsx)(d.N_,{noTrack:!0,to:t.location,children:l?.fields.title?(0,s.jsx)(p.e,{text:l.fields.title,preTag:l.preTag,postTag:l.postTag}):t.title}),secondary:(0,s.jsx)(n.A,{component:"span",style:{display:"-webkit-box",WebkitBoxOrient:"vertical",WebkitLineClamp:e.lineClamp,overflow:"hidden"},color:"textSecondary",variant:"body2",children:l?.fields.text?(0,s.jsx)(p.e,{text:l.fields.text,preTag:l.preTag,postTag:l.postTag}):t.text})}),(0,s.jsxs)(a.A,{children:[t.kind&&(0,s.jsx)(i.A,{label:`${f("searchResultItem.kind")}: ${t.kind}`,size:"small"}),t.type&&(0,s.jsx)(i.A,{label:`${f("searchResultItem.type")}: ${t.type}`,size:"small"}),t.lifecycle&&(0,s.jsx)(i.A,{label:`${f("searchResultItem.lifecycle")}: ${t.lifecycle}`,size:"small"}),t.owner&&(0,s.jsx)(i.A,{label:`${f("searchResultItem.owner")}: ${t.owner}`,size:"small"})]})]})]}):null}}}]);
//# sourceMappingURL=1335.2ae279ef.chunk.js.map