export function getWixPatternsWindowExperiments() {
    return window.__CAIRO_EXPERIMENTS__;
}
export function getExperimentsCompat(essentials) {
    try {
        return essentials.experiments ?? experimentsFallbackApi();
    }
    catch (e) {
        console.error(e);
        return experimentsFallbackApi();
    }
}
export const experimentsFallbackApi = () => ({
    enabled: () => false,
    ready: () => Promise.resolve(true),
    get: () => '',
});
//# sourceMappingURL=experiments.js.map