import { r as registerInstance } from './index-DBTJNfo7.js';
import { g as globalConfig } from './config-Dnt5w_Bp.js';

const ConfigComponent = class {
    constructor(hostRef) {
        registerInstance(this, hostRef);
    }
    componentDidLoad() {
        this.setGlobalConfig();
    }
    componentDidUpdate() {
        this.setGlobalConfig();
    }
    /*
     * Copy any config settings to the global config object
     */
    setGlobalConfig() {
        if (!this.config) {
            return;
        }
        for (const key of Object.keys(this.config)) {
            globalConfig[key] = this.config[key];
        }
    }
    render() {
        return null;
    }
};

export { ConfigComponent as limel_config };
