@pie-element/math-templated 7.1.1-next.33 → 7.1.1-next.35

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.
package/module/print.js CHANGED
@@ -19201,10 +19201,16 @@ function jy(e) {
19201
19201
  function My(e = {}) {
19202
19202
  let t = e.useSingleDollar ?? !1;
19203
19203
  return async (n) => {
19204
- if (typeof window > "u" || (Ty(n), !Ey(n, t))) return;
19205
- await jy(e);
19206
- let r = Cy();
19207
- await r?.startup?.promise, typeof r?.typesetPromise == "function" && await r.typesetPromise([n]);
19204
+ if (typeof window > "u") return;
19205
+ Ty(n);
19206
+ let r = jy(e);
19207
+ if (!Ey(n, t)) {
19208
+ r.catch(() => {});
19209
+ return;
19210
+ }
19211
+ await r;
19212
+ let i = Cy();
19213
+ await i?.startup?.promise, typeof i?.typesetPromise == "function" && await i.typesetPromise([n]);
19208
19214
  };
19209
19215
  }
19210
19216
  var Ny = "@pie-lib/math-rendering", Py = "@pie-lib/math-rendering@2", Fy = null;