import { E as r } from "./useRenderElement-DNB2vtF1.js";
const g = "none", u = "trigger-press", p = "trigger-hover", d = "trigger-focus", v = "outside-press", m = "item-press", w = "close-press", P = "track-press", b = "input-change", f = "focus-out", E = "escape-key", k = "list-navigation", h = "keyboard", y = "drag", C = "cancel-open", O = "sibling-open", z = "disabled", A = "imperative-action", D = "window-resize";
function T(s, e, a, t) {
  let n = !1, o = !1;
  const c = t ?? r;
  return {
    reason: s,
    event: e ?? new Event("base-ui"),
    cancel() {
      n = !0;
    },
    allowPropagation() {
      o = !0;
    },
    get isCanceled() {
      return n;
    },
    get isPropagationAllowed() {
      return o;
    },
    trigger: a,
    ...c
  };
}
function j(s, e, a) {
  const t = r;
  return {
    reason: s,
    event: e ?? new Event("base-ui"),
    ...t
  };
}
export {
  u as a,
  p as b,
  T as c,
  w as d,
  E as e,
  f,
  z as g,
  j as h,
  A as i,
  b as j,
  h as k,
  k as l,
  y as m,
  g as n,
  v as o,
  P as p,
  C as q,
  m as r,
  O as s,
  d as t,
  D as w
};
