import { h as e, p as t } from "./src-CFVe5TPD.js";
import { b as n } from "./chunk-ICPOFSXX-B9JXAgJU.js";
//#region ../../node_modules/.pnpm/mermaid@11.14.0/node_modules/mermaid/dist/chunks/mermaid.core/chunk-426QAEUC.mjs
var r = /* @__PURE__ */ e((e) => {
	let { securityLevel: r } = n(), i = t("body");
	return r === "sandbox" && (i = t((t(`#i${e}`).node()?.contentDocument ?? document).body)), i.select(`#${e}`);
}, "selectSvgElement");
//#endregion
export { r as t };
