1import{i as C,c as i,o as l,a as e,b as c,t as o,F as p,r as N,_,f as u,U as h,j as $,g as n,y as b}from"./ZjLcrLUj.js";import{_ as S}from"./DKtaK_TX.js";import{u as E}from"./BzdV8tdO.js";const B={class:"article-category flex justify-start items-center"},A={class:"item first"},j=["href"],w={class:"item no-hover"},L=["href"],O={key:0,class:"item"},T={class:"author"},D={class:"item"},F=["href"],R={key:0,class:"item"},V=C({__name:"ArticleCategory",props:{data:{}},setup(t){return(s,d)=>(l(),i("div",B,[e("span",A,[e("a",{href:s.data.topic.link},o(s.data.topic.label),9,j)]),d[0]||(d[0]=e("span",{class:"item"},"|",-1)),e("span",w,[e("a",{href:s.data.template.link},o(s.data.template.label),9,L)]),s.data.author.length>0&&s.data.author[0].name?(l(),i("span",O,"|")):c("",!0),e("span",T,[(l(!0),i(p,null,N(s.data.author,(r,m)=>(l(),i(p,{key:m},[e("span",D,[e("a",{href:r.link},o(r.name),9,F)]),m+1!==s.data.author.length?(l(),i("span",R," ã ")):c("",!0)],64))),128))])]))}}),z=_(V,[["__scopeId","data-v-a856e95d"]]),P=["href"],U={class:"main"},W={key:1,class:"image"},q={key:0,class:"image-ribbon"},G=["href"],H=["src","alt"],J={class:"category"},K={key:1,class:"category-label"},M={key:2,class:"content"},Q={class:"action-block"},X={__name:"ArticleListItem",props:{article:{type:Object,default:()=>[]},noImage:{type:Boolean,default:!1},fullImage:{type:Boolean,default:!1},captionClass:{type:String,default:""}},setup(t){const s=t,d=u(()=>{var a;return(a=s.article.template)==null?void 0:a.templateSlug}),r=u(()=>{var a;return((a=s.article.template)==null?void 0:a.templateEName)==="widely"}),m=u(()=>{const a=s.article.sponsorText;return!a||String(a).trim()===""?"":String(a).trim().slice(0,7)});return(a,Y)=>{var g,f,y,k;const I=z,v=S;return l(),i("div",{class:$({"item grid":!0,"no-image":t.noImage,"full-image":t.fullImage,"widely-article":((g=t.article.template)==null?void 0:g.templateEName)==="widely"})},[t.article.title?(l(),i("div",{key:0,class:$({caption:!0,[t.captionClass]:t.captionClass,[(f=t.article.template)==null?void 0:f.templateEName]:(y=t.article.template)==null?void 0:y.templateEName})},[e("a",{href:t.article.link},[e("div",U,o(t.article.title),1)],8,P),h(a.$slots,"title-buttom",{},void 0,!0)],2)):c("",!0),t.noImage?c("",!0):(l(),i("div",W,[n(r)&&n(m)?(l(),i("span",q,o(n(m)),1)):c("",!0),e("a",{href:t.article.link},[e("img",{src:t.article.featuredImg,alt:t.article.title},null,8,H)],8,G)])),e("div",J,[h(a.$slots,"article-category",{},()=>[n(r)?(l(),i("span",K,"SPONSER CONTENT")):(l(),b(I,{key:0,data:n(E)(t.article)},null,8,["data"]))],!0)]),t.article.description?(l(),i("div",M,o(t.article.description),1)):c("",!0),e("div",Q,[(l(),b(v,{key:`article-${t.article.postId}`,date:t.article.publishedDate,postId:t.article.postId,templateSlug:n(d),"template-e-name":(k=t.article.template)==null?void 0:k.templateEName,"gtm-article-source":t.article,"class-no":t.article.classNo,"class-category":t.article.classCategory,title:t.article.title,url:t.article.link},null,8,["date","postId","templateSlug","template-e-name","gtm-article-source","class-no","class-category","title","url"]))]),h(a.$slots,"item-botton",{},void 0,!0)],2)}}},et=_(X,[["__scopeId","data-v-e61160af"]]);export{et as _,z as a};
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.