import t, { forwardRef as l, useContext as i, createContext as c } from "react";
if (typeof HTMLTemplateElement < "u") {
  const e = Object.getOwnPropertyDescriptor(Node.prototype, "firstChild").get;
}
const r = /* @__PURE__ */ c(!1);
function f(e) {
  if (i(r))
    return /* @__PURE__ */ t.createElement(t.Fragment, null, e.children);
  let n = /* @__PURE__ */ t.createElement(r.Provider, {
    value: !0
  }, e.children);
  return /* @__PURE__ */ t.createElement("template", {
    "data-react-aria-hidden": !0
  }, n);
}
function s(e) {
  let a = (n, d) => i(r) ? null : e(n, d);
  return a.displayName = e.displayName || e.name, l(a);
}
function b() {
  return i(r);
}
export {
  s as $,
  f as a,
  b
};
//# sourceMappingURL=Hidden-X9vuhkMZ.es.js.map
