1import{aO as $,aZ as g,aS as u,a$ as _,b2 as r,bd as B,bz as v,be as G,b6 as T,b7 as d,b9 as y,b5 as A,b0 as w,b8 as h,b1 as E,bP as z,bI as D,bb as M}from"./usJkKO7w.js";try{let o=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},s=new o.Error().stack;s&&(o._sentryDebugIds=o._sentryDebugIds||{},o._sentryDebugIds[s]="18a5dd27-5cf7-4f66-b5b9-ed4c83a0bdf1",o._sentryDebugIdIdentifier="sentry-dbid-18a5dd27-5cf7-4f66-b5b9-ed4c83a0bdf1")}catch{}const t={BYTES:"bytes",KILOBYTE:"Kib",MEGABYTE:"MiB",GIGABYTE:"GiB",TERABYTE:"Tib",PETABYTE:"Pib"},P={fr:{[t.BYTES]:"o",[t.KILOBYTE]:"Ko",[t.MEGABYTE]:"Mo",[t.GIGABYTE]:"Go",[t.TERABYTE]:"To",[t.PETABYTE]:"Po"},en:{[t.BYTES]:"b",[t.KILOBYTE]:"KiB",[t.MEGABYTE]:"MiB",[t.GIGABYTE]:"GiB",[t.TERABYTE]:"TiB",[t.PETABYTE]:"PiB"}};function S(o,s){let c=0,n=parseInt(o.toString(),10)||0;for(;n>=1024&&++c;)n=n/1024;const l=n.toFixed(n<10&&c>0?1:0),i=Object.values(P[s])[c];return`${l} ${i}`}const C=$({__name:"VDownload",props:{label:{},document:{}},setup(o){const s=o,{locale:c,t:n}=g(),l=u(()=>{var a;const e=(a=s.document)==null?void 0:a.filesize;return e&&S(e,c.value)}),b=u(()=>{var a;const e=(a=s.document)!=null&&a.type?s.document.type.toLowerCase():void 0;return e?n(`document_type.${e}`).toUpperCase():""}),i=u(()=>{const e=l.value?` (${l.value})`:"";return`${b.value}${e}`});return(e,a)=>{const Y=z,I=D;return r(),_(I,{document:e.document,custom:""},{default:B(f=>[(r(),_(v(f.href?"a":"div"),G(f,{class:e.$style.root}),{default:B(()=>{var m,p;return[T("div",{class:d([e.$style.title,"text-h3"])},y(e.label||((m=e.document)==null?void 0:m.name)||((p=e.document)==null?void 0:p.alt)),3),T("div",{class:d(e.$style.infos)},[E(i)?(r(),A("div",{key:0,class:d([e.$style.meta,"text-body-xxs"])},y(E(i)),3)):w("",!0),h(Y,{name:"Download",class:d(e.$style.icon)},null,8,["class"])],2)]}),_:2},1040,["class"]))]),_:1},8,["document"])}}}),L="_root_paxb2_5",x="_infos_paxb2_37",K="_meta_paxb2_52",O="_icon_paxb2_63",V={root:L,infos:x,meta:K,icon:O},k={$style:V},N=M(C,[["__cssModules",k]]);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.