1import{a as c}from"./BKNqxMQk.js";import{_ as g}from"./CSc5XUOI.js";import{_ as b}from"./ujMDm_T_.js";import{q as p,v as h}from"./UzqiWE2U.js";import{H as u,o as e,z as i,w as y,c as a,F as r,b as n,d as s,t as l,f as d,A as k}from"./_HPkvqzU.js";import{_ as f}from"./DlAUqK2U.js";const B=u({name:"bb-blog-topic-card",components:{BbBlogCardMeta:g,BbSkeleton:c,BbRouterLink:b},props:{categoryName:String,readingTime:String,title:String,date:String,loading:Boolean,to:[String,Object],target:{type:String,validator:t=>h.includes(t)},ariaLabel:String},computed:{classes(){return["bb-blog-topic-card",{"bb-blog-topic-card--loading":this.loading}]},computedAriaLabel(){return this.ariaLabel??[this.title,this.categoryName,this.readingTime,this.date].filter(p).join(", ")}}}),S={key:2,class:"bb-blog-topic-card__title","data-testid":"bb-blog-topic-card__title"},w={key:3,class:"bb-blog-topic-card__date","data-testid":"bb-blog-topic-card__date"};function C(t,N,T,v,L,$){const o=c,m=g,_=b;return e(),i(_,{to:t.loading?void 0:t.to,target:t.target,color:"none","no-underline":"","aria-label":t.computedAriaLabel,"aria-busy":t.loading,class:k(t.classes)},{default:y(()=>[t.loading?(e(),i(o,{key:0,width:"70%",height:"10",color:"gray-30"})):(e(),i(m,{key:1,"category-name":t.categoryName,"reading-time":t.readingTime,condensed:"","data-testid":"bb-blog-topic-card__meta"},null,8,["category-name","reading-time"])),t.title?(e(),a("div",S,[t.loading?(e(),a(r,{key:0},[n(o,{width:"100%",height:"20",color:"gray-30",class:"m-b-10"}),n(o,{width:"100%",height:"20",color:"gray-30"})],64)):(e(),a(r,{key:1},[s(l(t.title),1)],64))])):d("",!0),t.date?(e(),a("div",w,[t.loading?(e(),i(o,{key:0,width:"50%",height:"8",color:"gray-30"})):(e(),a(r,{key:1},[s(l(t.date),1)],64))])):d("",!0)]),_:1},8,["to","target","aria-label","aria-busy","class"])}const q=Object.assign(f(B,[["render",C]]),{__name:"BbBlogTopicCard"});export{q as _};
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.