1import{t as h}from"./BQ-_32WO.js";import{K as I,Ot as c,P as n,c as l,d as m,f as s,g as d,h as b,l as x,lt as o,wt as L}from"./C89sYm7w.js";import{o as B}from"./C93sbNpY.js";import{a as N}from"./B1NkGjfw.js";import{t as V}from"./BN9Ca40y.js";import{t as T}from"./md4qxx4U.js";import{t as $}from"./K9rsuiWd.js";import{i as C,r as _}from"#entry";var H=h({default:()=>P}),A={key:0,class:"grid-image-wrapper"},D={key:1,class:"grid-badge"},O={class:"grid-overlay"},j=Object.assign({name:"ViewItemsItem"},{__name:"ViewItemsItem",props:{item:{type:Object,required:!0},isActive:{type:Boolean,default:!1}},emits:["click","show-details"],setup(t){const f=T(),a=t,u=N("info"),w=l(()=>{const e=a.item;return e?.taxonomy?Object.keys(e.taxonomy).length>0:!1}),r=l(()=>a.item?.["Download Button"]||a.item?.["Logo with Download"]||a.item?.Logo||{}),g=l(()=>f.value?.download?.title||"");return(e,i)=>{const v=C,k=V,y=_;return n(),s("div",{class:L(["grid-item",{"grid-active":t.isActive}]),onClick:i[1]||(i[1]=p=>e.$emit("click"))},[t.item?.Logo?(n(),s("div",A,[d(v,{type:t.item?.Logo?.contentType||"",nid:t.item?.Logo?.nid||t.item?.nid,class:"grid-image",alt:t.item?.Logo?.alt||t.item?.Title,downloadnick:t.item?.Logo?.downloadNick||"",software:t.item?.Logo?.software||"",position:""},null,8,["type","nid","alt","downloadnick","software"]),o(w)?(n(),s("button",{key:0,"aria-label":"View details",title:"Info",class:"grid-info-icon",onClick:i[0]||(i[0]=B(p=>
1e.$emit("show-details"),["stop"]))},[d(k,{name:o(u),class:"h-5 w-5"},null,8,["name"])])):m("",!0),t.item.badge?(n(),s("div",D,c(t.item.badge),1)):m("",!0),x("div",O,[d(y,{class:"grid-play-btn","download-nick":o(r).downloadNick||"","software-title":o(r).software||"",text:o(g)},{default:I(()=>[b(c(t.item.buttonText||"Play Now"),1)]),_:1},8,["download-nick","software-title","text"])])])):m("",!0)],2)}}}),P=$(j,[["__scopeId","data-v-396a7436"]]);export{H as n,P as t};
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.