@pie-element/venn-classification 0.1.1-next.16 → 0.1.1-next.17

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -35311,16 +35311,12 @@ function z() {
35311
35311
  let e = window[P];
35312
35312
  return typeof e?.renderMath == "function" ? e : null;
35313
35313
  }
35314
- function B() {
35315
- let e = i();
35316
- e && r("legacy-renderer-delegation", `window['${P}'] renders this element's math with MathJax ${e}`);
35317
- }
35318
- var V = async (e) => {
35314
+ var B = async (e) => {
35319
35315
  if (typeof window > "u") return;
35320
35316
  let t = typeof e == "string", n;
35321
35317
  t ? (n = document.createElement("div"), n.innerHTML = e) : n = e || document.body;
35322
35318
  let r = z();
35323
- return r ? (B(), await r.renderMath?.(n)) : await R()(n), t ? n.innerHTML : void 0;
35319
+ return r ? await r.renderMath?.(n) : await R()(n), t ? n.innerHTML : void 0;
35324
35320
  };
35325
35321
  //#endregion
35326
35322
  //#region src/delivery/tile-accessible-name.ts
@@ -36641,7 +36637,7 @@ function VennClassification($$anchor, $$props) {
36641
36637
  if (!containerEl) return;
36642
36638
  const warn = (err) => console.warn("venn-classification: MathJax render failed", err);
36643
36639
  try {
36644
- Promise.resolve(V(containerEl)).catch(warn);
36640
+ Promise.resolve(B(containerEl)).catch(warn);
36645
36641
  } catch (err) {
36646
36642
  warn(err);
36647
36643
  }