import{b as balBrowser}from"./browser-a623d3a0.js";var onBalConfigChange=function(a){attachToConfig({configChanged:function(n){a(n)}})};var useBalConfig=function(){if(!balBrowser.hasWindow){return}var a=window;return a&&a.BaloiseDesignSystem&&a.BaloiseDesignSystem.config};var attachToConfig=function(a){var n=useBalConfig();if(n){n.attach(a)}};var detachFromConfig=function(a){var n=useBalConfig();if(n){n.detach(a)}};var attachComponentToConfig=function(a){var n=useBalConfig();if(n){n.attachComponent(a)}};var detachComponentFromConfig=function(a){var n=useBalConfig();if(n){n.detachComponent(a)}};var updateBalLanguage=function(a){var n=useBalConfig();if(n){n.language=a}};var updateBalRegion=function(a){var n=useBalConfig();if(n){n.region=a}};var updateBalAllowedLanguages=function(a){var n=useBalConfig();if(n){n.allowedLanguages=a}};var updateBalIcons=function(a){var n=useBalConfig();if(n){n.icons=Object.assign(Object.assign({},n.icons),a)}};var updateBalAnimated=function(a){var n=useBalConfig();if(n){n.animated=a}};export{attachToConfig as a,updateBalAnimated as b,updateBalIcons as c,detachFromConfig as d,updateBalLanguage as e,updateBalRegion as f,useBalConfig as g,attachComponentToConfig as h,detachComponentFromConfig as i,onBalConfigChange as o,updateBalAllowedLanguages as u};