import { r as registerInstance } from './index-CV0Pyo1O.js';
import { s as setConfigState } from './config-state-kKn89dp1.js';
import './index-cDVGjRkU.js';

const JustifiConfigProvider = class {
    constructor(hostRef) {
        registerInstance(this, hostRef);
        this.apiOrigin = "https://wc-proxy.justifi.ai";
        this.iframeOrigin = "https://components.justifi.ai";
        this.accountId = '';
    }
    componentWillLoad() {
        setConfigState({
            apiOrigin: this.apiOrigin,
            iframeOrigin: this.iframeOrigin,
            accountId: this.accountId
        });
    }
    render() {
        return null;
    }
};

export { JustifiConfigProvider as justifi_config_provider };
