import * as o from"react";
functionf(t, a, { checkForDefaultPrevented: u = !0 } = {}) {
returnfunction(e) {
if (t?.(e), u === !1 || !e.defaultPrevented)
return a?.(e);
};
}
var n = globalThis?.document ? o.useLayoutEffect : () => {
};
export {
f as c,
n as u
};