@pie-element/multiple-choice 13.4.0-next.16 → 13.4.0-next.18

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
@@ -12573,10 +12573,16 @@ function yd(e) {
12573
12573
  function bd(e = {}) {
12574
12574
  let t = e.useSingleDollar ?? !1;
12575
12575
  return async (n) => {
12576
- if (typeof window > "u" || (pd(n), !md(n, t))) return;
12577
- await yd(e);
12578
- let r = dd();
12579
- await r?.startup?.promise, typeof r?.typesetPromise == "function" && await r.typesetPromise([n]);
12576
+ if (typeof window > "u") return;
12577
+ pd(n);
12578
+ let r = yd(e);
12579
+ if (!md(n, t)) {
12580
+ r.catch(() => {});
12581
+ return;
12582
+ }
12583
+ await r;
12584
+ let i = dd();
12585
+ await i?.startup?.promise, typeof i?.typesetPromise == "function" && await i.typesetPromise([n]);
12580
12586
  };
12581
12587
  }
12582
12588
  var xd = "@pie-lib/math-rendering", Sd = "@pie-lib/math-rendering@2", Cd = null;