1import{_ as m}from"./DuYrqaOm.js";import{d as _,c as s,k as c,i as t,m as o,R as g,S as x,F as b,j as v,b as i,t as l,p as w,_ as y,h as k}from"./RokPt9Hi.js";const z={class:"container-8"},j={class:"image inline-flex justify-center items-center relative bg-white w-14 h-14 rounded overflow-hidden"},D=["src","alt"],F=["src","alt"],C={key:2,class:"i-custom-file w-28px h-36px"},L={class:"text-base font-semibold !h-auto"},P={class:"relative z-10 inline-flex items-center gap-3 <md:w-full md:ml-auto"},T={class:"text-14px text-neutral3 uppercase mr-4 <md:order-4 <md:mr-0"},U=["href"],N=_({__name:"T3CeUploads",props:{header:{},headerLayout:{},headerPosition:{},headerLink:{},subheader:{},uid:{},index:{},appearance:{},summary:{},target:{},displayFileSizeInformation:{},displayDescription:{},displayInformation:{},media:{}},setup(f){const n=f;return(a,r)=>{const u=m,p=y,d=k("in-viewport");return i(),s("div",z,[c(o(u,g(x(n)),null,16),[[d]]),t("div",null,[(i(!0),s(b,null,v(n.media,(e,h)=>c((i(),s("div",{key:h,class:"relative flex flex-wrap items-center gap-6 border-b border-neutral2 py-4 first-of-type:border-t"},[t("div",j,[e?.properties?.mimeType==="application/pdf"?(i(),s("img",{key:0,class:"w-full !h-full object-cover",src:a.$gowestPdfThumbnails({file:e,width:60,height:60,fit:"cover"}),loading:"lazy",width:"60px",height:"60px",alt:e.properties.alternative||e.properties.filename},null,8,D)):e?.properties?.type==="image"?(i(),s("img",{key:1,class:"w-full !h-full object-cover",src:a.$gowestImages({file:e,width:60,height:60,fit:"cover"}),loading:"lazy",width:"60px",height:"60px",alt:e.properties.alternative||e.properties.filename},null,8,F)):(i(),s("div",C)),r[0]||(r[0]=t("div",{class:"w-full h-full absolute z-5 left-0 top-0 shadow-[inset_0px_0px_4px_rgba(0,0,0,0.08)] rounded"},null,-1))]),t("div",L,l(e.properties.title||e.properties.filename),1),t("div",P,[t("div",T,l(e.properties.size)+" - "+l(e.properties.extension),1),o(p,{class:"group size-20px flex items-center justify-center","aria-label":"View File",to:e.publicUrl,target:"_blank",rel:"noopener noreferrer"},{default:w(()=>[...r[1]||(r[1]=[t("span",{class:"transition duration-300 bg-base w-20px h-20px i-custom-watch group-hover:bg-primary"},null,-1)])]),_:1},8,["to"]),r[3]||(r[3]=t("div",{class:"w-1px h-4 bg-neutral2"},null,-1)),t("a",{class:"group size-20px flex items-center justify-center","aria-label":"Download File",href:e.properties.originalUrl,download:""},[...r[2]||(r[2]=[t("span",{class:"transition duration-300 bg-base w-20px h-20px i-custom-download group-hover:bg-primary"},null,-1)])],8,U)]),o(p,{class:"absolute left-0 top-0 w-full h-full text-0",tabindex:"-1",to:e.publicUrl,target:"_blank",rel:"noopener noreferrer"},null,8,["to"])])),[[d]])),128))])])}}});export{N 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.