1import{_ as h,j as a,l as m,i as d,h as f,q as r,g as s,F as u,D as i,A as l,z as D,v as w,n as k}from"./WSThmNLm.js";import{p as c,f as p}from"./Ci5HKP_o.js";const g={durations:{type:Array,default(){return[]}},tags:{type:Array,default(){return[]}},startDate:{type:String,default(){return new Date().toISOString()}},endDate:{type:String,default:null},showEndDate:{type:Boolean,default:!1},theme:{type:String,default:"white"},overlap:{type:Boolean,default:!1}},S={name:"KeywordData",props:g,computed:{formattedStartDate(){try{const t=c(this.startDate);return p(t,"yyyy")}catch{return null}},formattedEndDate(){if(!this.endDate)return this.showEndDate?"Now":null;try{const t=c(this.endDate);return p(t,"yyyy")}catch{return null}},formattedDate(){return this.formattedStartDate?`${this.formattedStartDate}${this.showEndDate&&this.formattedEndDate!==null?" â ":""}${this.formattedEndDate||""}`:null},useComplexLayout(){return this.durations.length>=2&&this.tags.length>=3||this.durations.length>4||this.tags.length>4}}},E={class:"keyword-data__inr"},x={role:"list",class:"keyword-data__durations"},B={role:"list",class:"keyword-data__keywords"},v={class:"keyword-data__date"};function C(t,$,L,A,N,o){const _=w,y=k;return a(),m(y,{class:D(["keyword-data t-small-caps",{"keyword-data--overlap":t.overlap,"keyword-data--simple":!o.useComplexLayout,"keyword-data--complex":o.useComplexLayout}]),theme:t.theme},{default:d(()=>[f(_,null,{default:d(()=>[r("div",E,[r("ul",x,[(a(!0),s(u,null,i(t.durations,(e,n)=>(a(),s("li",{key:e+n},l(e),1))),128))]),r("ul",B,[(a(!0),s(u,null,i(t.tags,(e,n)=>(a(),s("li",{key:e+n},l(e),1))),128))]),r("span",v,l(o.formattedDate),1)])]),_:1})]),_:1},8,["theme","class"])}const I=h(S,[["render",C]]);export{I 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.