import{g as e,d as t}from"./p-DrPpH_9c.js";import{s as r}from"./p-vN03FcXN.js";import{i}from"./p-B3tdsiZv.js";const n=(t,r,i)=>{if(t===undefined||String(t).length===0){e(`[${i}]: The (${r}) attribute is important for correct accessibility.`)}};const s=(n,s,a)=>{if(typeof n==="undefined"||n===undefined){return true}if(String(n).length===0){e(`[${a}]: Attribute (${s}) is defined with an empty value.`);return false}let f=[];const u=r(n);if(Array.isArray(u)){f=u.filter((function(e){return i(e)?e.trim().length>0:false}))}return!!f.filter((e=>{if(t().getElementById(e)===null){return false}else{return true}})).length};const a=(r,n,s,a=undefined)=>{if(i(r)&&r.length>0){return true}if(typeof n==="string"&&n.length>0){const e=t().getElementById(n);if(e){return true}}e(`[${s}]: The element has no defined aria-label or aria-labelledby attribute.`,a);return false};export{a,s as b,n as v};
//# sourceMappingURL=p-Nvj7WFs_.js.map