1import{_}from"./hu-p0GAD.js";import{_ as f}from"./DaJ700aJ.js";import{d as h,o as r,c as g,a0 as y,h as n,g as w,b as e,f as C,t as l,j as N,i as R,l as S,a1 as B,a8 as k}from"./WL98rEG4.js";import{u as x}from"./CcWJgWwN.js";import"./CJn-Rygv.js";import"./B38rIILF.js";import"./HBKk3bcW.js";const T={key:0},V=h({__name:"TideNewsSearchResultCard",props:{result:{},displayImage:{type:Boolean,default:!0},displayMeta:{type:Boolean,default:!0}},setup(t){const s=t,{title:c,url:m,summary:i,image:u}=x(s.result),o=S(()=>{const a=B(s.result,"field_news_date");return a?k(a,{month:"long"}):""});return(a,b)=>{const d=_,p=f;return r(),g(p,{class:"tide-news-search-result-card",image:t.displayImage?e(u):void 0,title:e(c),url:e(m),"data-component":"news-search-card"},y({default:n(()=>[R("p",null,l(e(i)),1)]),_:2},[t.displayMeta?{name:"meta",fn:n(()=>[w(d,{label:"News",variant:"neutral"}),e(o)?(r(),C("span",T,l(e(o)),1)):N("",!0)]),key:"0"}:void 0]),1032,["image","title","url"])}}}),P=Object.assign(V,{__name:"TideNewsSearchResultCard"});export{P as default};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.