ranui
Version:
A framework-agnostic Web Components UI library built on native custom elements, with TypeScript types, light/dark theming, SSR and PWA support.
12 lines (11 loc) • 403 B
JavaScript
import { n as r } from "./chunk-Y2CYZVJY-0JxdZxki.js";
import { p as e } from "./src-DtRLxcYO.js";
import { x as m } from "./chunk-WYO6CB5R-DDHkKowO.js";
var a = /* @__PURE__ */ r((t) => {
const { securityLevel: n } = m();
let o = e("body");
return n === "sandbox" && (o = e((e(`#i${t}`).node()?.contentDocument ?? document).body)), o.select(`#${t}`);
}, "selectSvgElement");
export {
a as t
};