UNPKG

ranui

Version:

A framework-agnostic Web Components UI library built on native custom elements, with TypeScript types, light/dark theming, SSR and PWA support.

2 lines (1 loc) 464 B
const u=require("./chunk-Y2CYZVJY-DPaYLFFP.cjs"),e=require("./src-D8aDujwE.cjs"),o=require("./chunk-I66GZJ75-BzqGKy7F.cjs");var l=u.__name(t=>{const{securityLevel:r}=o.getConfig2();let n=e.select_default("body");if(r==="sandbox"){const c=e.select_default(`#i${t}`).node()?.contentDocument??document;n=e.select_default(c.body)}return n.select(`#${t}`)},"selectSvgElement");Object.defineProperty(exports,"selectSvgElement",{enumerable:!0,get:function(){return l}});