import * as e from "react";
import { useLayoutEffect as a } from "../../../../../@radix-ui_react-use-layout-effect@1.1.1_@types_react@19.2.8_react@19.2.3/node_modules/@radix-ui/react-use-layout-effect/dist/index.es.js";
var s = e[" useId ".trim().toString()] || (() => {
}), i = 0;
function d(r) {
  const [t, o] = e.useState(s());
  return a(() => {
    o((u) => u ?? String(i++));
  }, [r]), t ? `radix-${t}` : "";
}
export {
  d as useId
};
//# sourceMappingURL=index.es.js.map
