"use strict";const c=require("react"),o=require("./index-MQ0c3ZX_.js");function s(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const r in e)if(r!=="default"){const n=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(t,r,n.get?n:{enumerable:!0,get:()=>e[r]})}}return t.default=e,Object.freeze(t)}const u=s(c);var a=u[" useId ".trim().toString()]||(()=>{}),f=0;function i(e){const[t,r]=u.useState(a());return o.useLayoutEffect2(()=>{r(n=>n??String(f++))},[e]),e||(t?`radix-${t}`:"")}function l(e){const t=u.useRef(e);return u.useEffect(()=>{t.current=e}),u.useMemo(()=>(...r)=>t.current?.(...r),[])}exports.useCallbackRef=l;exports.useId=i;
//# sourceMappingURL=index-CDBBjNXc.js.map
