1import{d as _,s as k,o as l,h as i,m as a,g as t,i as u,t as r,e as x,Z as f,p as b,an as p,$ as v,c as m,a1 as $,a2 as y,f as q,k as C}from"./CKJ7jd8U.js";import"./DHUQomgi.js";const L=["href","alt"],B={key:0,class:"c-download-item__preview"},D=["src","alt"],I={class:"c-download-item__action"},N={class:"c-download-item__action-extension"},S=_({__name:"ql-download-item",props:{file:{},theme:{}},setup(e){const c=b(),{getAssetUrl:d}=k(),n=e.file.filename?.split(".").pop()?.toLowerCase()||"",o=p.includes(n),s=e.file.title||e.file.alt||e.file.filename?.split("/").pop(),w=e.file.filename?.split(c.public.storyblokAssetsHost)[1],h=o?n==="svg"?e.file.filename||void 0:d(e.file,{width:100}):"";return(V,F)=>{const g=v;return l(),i("li",{class:f([{"c-download-item--image":t(o),"c-download-item":!t(o)},`c-download-item--${e.theme}`])},[a("a",{class:f(["c-download-item__link",{"c-download-item--image":t(o)}]),href:`/download/${t(w)}`,download:"",alt:e.file.alt||t(s)},[t(o)?(l(),i("div",B,[a("img",{src:t(h),alt:e.file.alt||t(s),loading:"lazy"},null,8,D)])):u("",!0),a("span",null,r(t(s)),1),a("div",I,[a("span",N,r(t(n)),1),x(g,{name:"ql:download"})])],10,L)],2)}}}),j=Object.assign(S,{__name:"QlDownloadItem"}),z={class:"c-download-list--section"},A={class:"c-download-list"},E=_({__name:"ql-download-list",props:{files:{},theme:{},title:{}},setup(e){return(c,d)=>{const n=q,o=j;return l(),i("div",z,[e.title?(l(),m(n,{key:0,"semantic-level":5,"font-size-level":3,title:e.title,class:"c-download-list__title"},null,8,["title"])):u("",!0),a("ul",A,[(l(!0),i($,null,y(e.files,s=>(l(),m(o,{key:s.id,file:s,theme:e.theme},null,8,["file","theme"]))),128))])])}}}),O=Object.assign(C(E,[["__scopeId","data-v-8607e71e"]]),{__name:"QlDownloadList"}
1),Q=_({__name:"download-list",props:{blok:{}},setup(e){return(c,d)=>{const n=O;return l(),m(n,{files:e.blok.files,theme:e.blok.theme,title:e.blok.title},null,8,["files","theme","title"])}}}),H=Object.assign(Q,{__name:"DownloadList"});export{H 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.