import{g as u}from"./copy-to-clipboard-B1uT6SkR.js";import{l as m}from"./xss-DnjGkJ2-.js";const s=m;var a=function(c,{xss:i}={}){const f=new s.FilterXSS(typeof i=="function"?i(s):i);function l(t){return t=f.process(t),t}function p(t){for(let r=0;r<t.tokens.length;r++){let n=t.tokens[r];if(n.type==="html_block"&&(n.content=l(n.content)),n.type==="inline"){let e=n.children;for(let o=0;o<e.length;o++)e[o].type==="html_inline"&&(e[o].content=l(e[o].content))}}}c.core.ruler.after("linkify","xss",p)};const x=u(a);export{x as X};
