import{au as a,P as i,L as u,T as s,av as n,ae as p,aw as f,ax as y,ay as d,p as g,az as m,a4 as L,aA as c}from"./index-yJ8X--q8.js";import{i as b,r as v}from"./dev.utils-tIfWUJtH-D6CaU-xq.js";/*!
 * KoliBri - The accessible HTML-Standard
 */const h=()=>{let e=s().KoliBri;return e===void 0&&(e={},Object.defineProperty(s(),"KoliBri",{value:e,writable:!1})),e};function o(e,t){try{Object.defineProperty(h(),e,{get:function(){return t}})}catch{u.debug(`KoliBri property ${e} is already bind.`)}}const r=(e,t)=>u.debug(`${e} ${t?"":"not "}activated`),C=()=>{if(b(),a()){v(),o("a11yColorContrast",n),o("querySelector",p),o("querySelectorAll",f),o("querySelectorColors",y),o("utils",function(){return d}),o("parseJson",g),o("stringifyJson",m);const e=i().body,t=i().createElement("svg");if(t.setAttribute("aria-label","KoliBri-DevTools"),t.setAttribute("xmlns","http://www.w3.org/2000/svg"),t.setAttribute("role","toolbar"),t.setAttribute("style","position: fixed;color: black;font-size: 200%;bottom: 0.25rem;right: 0.25rem;"),t.innerHTML=`<svg
  xmlns="http://www.w3.org/2000/svg"
  width="50"
  height="50"
  viewBox="0 0 600 600"
>
  <path d="M353 322L213 304V434L353 322Z" fill="#047" />
  <path d="M209 564V304L149 434L209 564Z" fill="#047" />
  <path d="M357 316L417 250L361 210L275 244L357 316Z" fill="#047" />
  <path d="M353 318L35 36L213 300L353 318Z" fill="#047" />
  <path d="M329 218L237 92L250 222L272 241L329 218Z" fill="#047" />
  <path d="M391 286L565 272L421 252L391 286Z" fill="#047" />
</svg>`,i().body.appendChild(t),r("Development mode",a()),r("Experimental mode",L()),r("Color contrast analysis",c()),c()){const l=setTimeout(()=>{clearTimeout(l),setInterval(()=>{d.queryHtmlElementColors(i().createElement("div"),n(e),!1,!1)},1e4)},2500)}}};export{C as initialize};
//# sourceMappingURL=devtools-Cp_-hWNr-CIxESSSW.js.map
