@pie-element/extended-text-entry 15.1.2-next.20 → 15.1.2-next.21

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
@@ -28098,10 +28098,16 @@ function Tj(e) {
28098
28098
  function Ej(e = {}) {
28099
28099
  let t = e.useSingleDollar ?? !1;
28100
28100
  return async (n) => {
28101
- if (typeof window > "u" || (yj(n), !bj(n, t))) return;
28102
- await Tj(e);
28103
- let r = _j();
28104
- await r?.startup?.promise, typeof r?.typesetPromise == "function" && await r.typesetPromise([n]);
28101
+ if (typeof window > "u") return;
28102
+ yj(n);
28103
+ let r = Tj(e);
28104
+ if (!bj(n, t)) {
28105
+ r.catch(() => {});
28106
+ return;
28107
+ }
28108
+ await r;
28109
+ let i = _j();
28110
+ await i?.startup?.promise, typeof i?.typesetPromise == "function" && await i.typesetPromise([n]);
28105
28111
  };
28106
28112
  }
28107
28113
  var Dj = "@pie-lib/math-rendering", Oj = "@pie-lib/math-rendering@2", kj = null;