import * as compat_module from '../../../preact/compat/dist/compat.module.mjs';
import { useLayoutEffect as y } from '../../../preact/hooks/dist/hooks.module.mjs';

var syncFallback = function syncFallback(create) {
  return create();
};

var useInsertionEffect = compat_module['useInsertion' + 'Effect'] ? compat_module['useInsertion' + 'Effect'] : false;
var useInsertionEffectAlwaysWithSyncFallback = useInsertionEffect || syncFallback;
var useInsertionEffectWithLayoutFallback = useInsertionEffect || y;

export { useInsertionEffectAlwaysWithSyncFallback, useInsertionEffectWithLayoutFallback };
//# sourceMappingURL=emotion-use-insertion-effect-with-fallbacks.browser.esm.mjs.map
