consto = (t) => {
const e = t.tagName.toLowerCase();
let a = e;
for (const s of t.attributes)
a += ` ${s.name}="${s.value}"`;
return { open: `<${a}>`, close: `</${e}>` };
}, n = newDOMParser(), r = (t) => t.startsWith("<") && t.endsWith(">");
export {
o as g,
r as i,
n as t
};