/*!
 * KoliBri - The accessible HTML-Standard
 */
const o=()=>"undefined"==typeof window?null:window,s=()=>void 0===o().document?null:o().document;let t=null,i=null,n=null;const l=()=>!0===t,e=o=>{t=o},d=()=>!0===i,r=o=>{i=o},c=()=>!0===n,u=o=>{n=o},h="color: white; background: #666; font-weight: bold; padding: .25em .5em; border-radius: 3px; border: 1px solid #000",a=o=>Array.isArray(o)?o:[o],v=o=>`%c${o}`,f=(o,e)=>"string"==typeof e&&e.length>0?`${v(o)} | ${e}`:v(o),w=(o,e)=>[f(o,null==e?void 0:e.classifier),`${h};${(null==e?void 0:e.overwriteStyle)||""}`],p=(o,e)=>o()||!0===e;class b{constructor(o,e){this.label=o,this.devMode=e}debug(o,e){p(this.devMode,null==e?void 0:e.forceLog)&&console.debug(...w(this.label,e),...a(o))}info(o,e){p(this.devMode,null==e?void 0:e.forceLog)&&console.info(...w(this.label,e),...a(o))}trace(o,e){p(this.devMode,null==e?void 0:e.forceLog)&&console.trace(...w(this.label,e),...a(o))}warn(o,e){p(this.devMode,null==e?void 0:e.forceLog)&&console.warn(...w(this.label,e),...a(o))}error(o,e){p(this.devMode,null==e?void 0:e.forceLog)&&console.error(...w(this.label,e),...a(o))}throw(o,e){if(p(this.devMode,null==e?void 0:e.forceLog))throw new Error(...w(this.label,e),...a(o))}}const g=new b("KoliBri",l);export{g as L,d as a,r as b,u as c,o as d,l as e,c as f,s as g,e as s};