import{t as e}from"./purify.es-sLXpNpJ5.js";import{t}from"./jsxRuntime.module-Cao1NCKs.js";function n({containerRef:e,...n}){return t(`span`,{ref:e,...i(n)})}function r({containerRef:e,...n}){return t(`div`,{ref:e,...i(n)})}function i({className:e,html:t,style:n,onClick:r}){return{className:e,dangerouslySetInnerHTML:a(t??``),style:n,onClick:r}}function a(e){return typeof e==`object`&&`length`in e&&(e=e[0]),typeof e==`object`&&`outerHTML`in e&&(e=e.outerHTML),{__html:e}}function o({className:n,html:r,style:i}){return t(`div`,{className:n,style:i,dangerouslySetInnerHTML:{__html:e.sanitize(r)}})}export{a as i,r as n,o as r,n as t};