@gamelearn/arcade-components 3.9.3 → 3.9.5
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.
|
@@ -24771,9 +24771,9 @@ const noop$1 = () => {
|
|
|
24771
24771
|
[P]
|
|
24772
24772
|
), O = useCallback(
|
|
24773
24773
|
(F, G = "tts") => {
|
|
24774
|
-
R.current.url === F && a === R.current.slide || (R.current = { url: F, cc: G, slide: a }, _(F, G, t, c, h, E));
|
|
24774
|
+
R.current.url === F && a === R.current.slide || (R.current = { url: F, cc: G, slide: a }, _(F, G, t, c, h, E, y));
|
|
24775
24775
|
},
|
|
24776
|
-
[a, _, t, c, h, E]
|
|
24776
|
+
[a, _, t, c, h, E, y]
|
|
24777
24777
|
), k = useCallback(
|
|
24778
24778
|
async (F) => {
|
|
24779
24779
|
if (S && F.voiceId && F.text) {
|
|
@@ -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:
|
|
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 }),
|