import{r as p,j as c,c as l}from"./vendor-react-BUCujlKS.js";import{c as u,a as f}from"./vendor-radix-ui-react-slot-BQgQOasS.js";var v=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],x=v.reduce((t,i)=>{const e=u(`Primitive.${i}`),r=p.forwardRef((o,s)=>{const{asChild:a,...n}=o,m=a?e:i;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),c.jsx(m,{...n,ref:s})});return r.displayName=`Primitive.${i}`,{...t,[i]:r}},{});function P(t,i){t&&l.flushSync(()=>t.dispatchEvent(i))}var d=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],S=d.reduce((t,i)=>{const e=f(`Primitive.${i}`),r=p.forwardRef((o,s)=>{const{asChild:a,...n}=o,m=a?e:i;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),c.jsx(m,{...n,ref:s})});return r.displayName=`Primitive.${i}`,{...t,[i]:r}},{});export{S as P,x as a,P as d};
