import*as r from"react";import{r as i}from"../../../react-dom/index.js";import{Slot as t}from"../../react-slot/dist/index.js";import{jsx as o}from"react/jsx-runtime";var e=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"].reduce(((i,e)=>{const n=r.forwardRef(((r,i)=>{const{asChild:n,...a}=r,d=n?t:e;return"undefined"!=typeof window&&(window[Symbol.for("radix-ui")]=!0),o(d,{...a,ref:i})}));return n.displayName=`Primitive.${e}`,{...i,[e]:n}}),{});function n(r,t){r&&i.flushSync((()=>r.dispatchEvent(t)))}export{e as Primitive,n as dispatchDiscreteCustomEvent};
//# sourceMappingURL=index.js.map
