/*!
 * KoliBri - The accessible HTML-Standard
 */
import{m as r}from"./common-Dd0zJQbD.js";var n,t;function e(){return t||(t=1,n=function(r){return function(t,n){if(!t)return r;var e;"string"==typeof t?e=t:n=t;var o=r;return e&&(o+="__"+e),o+(n?Object.keys(n).reduce(function(r,t){var e=n[t];return e&&(r+=" "+("boolean"==typeof e?o+"--"+t:o+"--"+t+"_"+e)),r},""):"")}}),n}var o=e(),u=r(o);function f(){const r=new Map,t=(t,n,e)=>{try{return r.get(t)(n,e)}catch{return r.set(t,u(t)).get(t)(n,e)}};return t.forBlock=r=>{const n=(n,e)=>t(r,n,e);return n.forElement=n=>e=>t(r,n,e),n},t}export{f as c};