/*!
 * KoliBri - The accessible HTML-Standard
 */
import{l as setRuntimeMode,V,L as Log}from"./common-Dd0zJQbD.js";import{s as setCustomTagNames}from"./component-names-C3fyby67.js";import{i as initializeI18n}from"./i18n-CfLoIZ8T.js";let options,initialized=!1;const bootstrap=async(i,o,t)=>{var n,e;const s="undefined"!=typeof process&&process.env?"production":void 0;setRuntimeMode((null==t?void 0:t.environment)||s||"production"),initializeI18n(null!==(e=null===(n=null==t?void 0:t.translation)||void 0===n?void 0:n.name)&&void 0!==e?e:"de",null==t?void 0:t.translations),(null==t?void 0:t.transformTagName)&&setCustomTagNames(null==t?void 0:t.transformTagName);const a=await V(i,o,t);return initialized=!0,options=t,Log.info("Development mode active - Enhanced debugging features available"),a},register=bootstrap,isInitialized=()=>initialized,getOptions=()=>options;export{bootstrap as b,getOptions as g,isInitialized as i,register as r};