@gamelearn/arcade-components 3.9.2 → 3.9.4

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.
@@ -24863,7 +24863,7 @@ function LecturesComponent({
24863
24863
  let ne = "";
24864
24864
  return f ? ne = "notes--results" : (ne = "lectures--container", T && (ne += ` lectures--container--${T}`), h != null && h.url && (ne += " lectures--container--with-custom-bg"), T && y && (ne += " disable-background-image")), ne;
24865
24865
  }, [h == null ? void 0 : h.url, y, T, f]), ie = {
24866
- backgroundImage: f && (h != null && h.url) ? `url('${h.url}')` : ""
24866
+ backgroundImage: h != null && h.url ? `url('${h.url}')` : ""
24867
24867
  };
24868
24868
  return l ? /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: J, style: ie, children: /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: f ? "" : "lectures__overlay", children: /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: f ? "notes--results__text" : `lectures lectures--${T}`, children: [
24869
24869
  /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "lectures--title", children: e }),
@@ -27666,16 +27666,18 @@ function CartelComponent({
27666
27666
  return useEffect(() => {
27667
27667
  p.current && new ResizeObserver(() => A(24, 48) && R()).observe(p.current);
27668
27668
  }), useEffect(() => {
27669
- if (y && !f && !r) {
27669
+ if (e && y && !f && !r) {
27670
27670
  const P = characterMs$1 * (e.length || 0);
27671
27671
  C(
27672
27672
  () => {
27673
27673
  S();
27674
27674
  },
27675
- P < 1400 ? 1400 : P
27675
+ P < 2e3 ? 2e3 : P
27676
27676
  );
27677
27677
  }
27678
- return () => {
27678
+ return !e && y && !f && !r && C(() => {
27679
+ S();
27680
+ }, 1400), () => {
27679
27681
  T();
27680
27682
  };
27681
27683
  }), /* @__PURE__ */ jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment, { children: [