const n=e=>{var s;return e.server===i?!0:(s=e.variant)==null?void 0:s.includes("desktop")},a=e=>{if(n(e))return!1;const s=["disk1.img","disk-kvm.img","uefi1.img"];return Object.entries(e.versions??{}).find(r=>Object.entries(r[1].items).find(t=>s.includes(t[1].ftype)))===void 0},i="local-iso",o=e=>{var s,r;return{aliases:((s=e.update_source)==null?void 0:s.alias)??e.fingerprint,arch:e.architecture==="x86_64"?"amd64":e.architecture,os:e.properties.os,created_at:new Date(e.uploaded_at).getTime(),release:e.properties.release,server:(r=e.update_source)==null?void 0:r.server,type:e.type}},c=(e,s)=>e.aliases.includes("lts")?-1:s.aliases.includes("lts")?1:0;export{i as L,n as a,c as b,a as i,o as l};
