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