@cuemath/leap 2.8.25-rj-5 → 2.8.25
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/dist/features/analytics-events/platform-events-student.js +5 -6
- package/dist/features/analytics-events/platform-events-student.js.map +1 -1
- package/dist/features/circle-games/game-launcher/dal/use-get-circle-home-details-dal/use-get-circle-home-details-dal.js +16 -17
- package/dist/features/circle-games/game-launcher/dal/use-get-circle-home-details-dal/use-get-circle-home-details-dal.js.map +1 -1
- package/dist/features/circle-games/games/web-view/web-view-types.js.map +1 -1
- package/dist/features/circle-games/leaderboard/leaderboard-styled.js +16 -20
- package/dist/features/circle-games/leaderboard/leaderboard-styled.js.map +1 -1
- package/dist/features/circle-games/leaderboard/leaderboard.js +74 -129
- package/dist/features/circle-games/leaderboard/leaderboard.js.map +1 -1
- package/dist/features/journey/journey-id/journey-id-student.js +1 -1
- package/dist/features/journey/journey-id/journey-id-student.js.map +1 -1
- package/dist/features/trial-session/comps/trial-circle-game/trial-circle-game.js +38 -39
- package/dist/features/trial-session/comps/trial-circle-game/trial-circle-game.js.map +1 -1
- package/dist/features/trial-session/trial-session-types.js.map +1 -1
- package/dist/features/trial-session/trial-session-view.js +66 -68
- package/dist/features/trial-session/trial-session-view.js.map +1 -1
- package/dist/features/worksheet/constants/events.js +2 -1
- package/dist/features/worksheet/constants/events.js.map +1 -1
- package/dist/features/worksheet/worksheet/worksheet-question/worksheet-question-styled.js +4 -0
- package/dist/features/worksheet/worksheet/worksheet-question/worksheet-question-styled.js.map +1 -1
- package/dist/features/worksheet/worksheet/worksheet-question/worksheet-question.js +250 -219
- package/dist/features/worksheet/worksheet/worksheet-question/worksheet-question.js.map +1 -1
- package/dist/features/worksheet/worksheet/worksheet.js +33 -32
- package/dist/features/worksheet/worksheet/worksheet.js.map +1 -1
- package/dist/index.d.ts +4 -17
- package/dist/index.js +153 -155
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/dist/features/circle-games/enum/circle-action-ids.js +0 -5
- package/dist/features/circle-games/enum/circle-action-ids.js.map +0 -1
- package/dist/features/circle-games/leaderboard/comps/info-bar/info-bar-styled.js +0 -12
- package/dist/features/circle-games/leaderboard/comps/info-bar/info-bar-styled.js.map +0 -1
- package/dist/features/circle-games/leaderboard/comps/info-bar/info-bar.js +0 -30
- package/dist/features/circle-games/leaderboard/comps/info-bar/info-bar.js.map +0 -1
@@ -1,311 +1,342 @@
|
|
1
|
-
import { jsxs as
|
2
|
-
import { memo as
|
3
|
-
import { IMAGES as
|
4
|
-
import
|
5
|
-
import
|
6
|
-
import
|
7
|
-
import
|
8
|
-
import {
|
9
|
-
import
|
10
|
-
import
|
11
|
-
import
|
12
|
-
import
|
13
|
-
import
|
14
|
-
import
|
15
|
-
import
|
16
|
-
import
|
17
|
-
import
|
18
|
-
|
1
|
+
import { jsxs as I, jsx as r, Fragment as Dt } from "react/jsx-runtime";
|
2
|
+
import { memo as Ut, useMemo as p, useState as A, useRef as z, useCallback as zt, useEffect as d, useLayoutEffect as Kt } from "react";
|
3
|
+
import { IMAGES as Vt } from "../../../../assets/images/images.js";
|
4
|
+
import Xt from "../../../cue-canvas/cue-canvas.js";
|
5
|
+
import Pt from "../../../pointer-sync/pointer.js";
|
6
|
+
import wt from "../../../ui/layout/flex-view.js";
|
7
|
+
import jt from "../../constants/events.js";
|
8
|
+
import { QUESTIONS_GAP as Gt, LEARNOSITY_KEYBOARD_HEIGHT as Ht } from "../constants.js";
|
9
|
+
import { getPaperColorByQuestion as Yt, isConceptIntroWidget as Zt, scrollToQuestion as St } from "../worksheet-helpers.js";
|
10
|
+
import Jt from "./header/header.js";
|
11
|
+
import qt from "./learnosity-question.js";
|
12
|
+
import kt from "./question-backdrop/question-backdrop.js";
|
13
|
+
import te from "./subjective-review.js";
|
14
|
+
import ee from "./system-intros/advanced-practice-intro.js";
|
15
|
+
import re from "./system-intros/basic-practice-intro.js";
|
16
|
+
import oe from "./system-intros/exit-ticket-intro.js";
|
17
|
+
import ie from "./system-intros/regular-practice-intro.js";
|
18
|
+
import { QuestionContainerWrapper as ne, StimulusReview as ce, QuestionContainer as ae, QuestionWrapper as se, LessonOverviewBanner as le, CueCanvasWrapper as me, Hint as ue, Solution as fe } from "./worksheet-question-styled.js";
|
19
|
+
const Le = Ut(
|
19
20
|
({
|
20
|
-
userType:
|
21
|
-
signedRequest:
|
21
|
+
userType: c,
|
22
|
+
signedRequest: bt,
|
22
23
|
worksheetCompleted: m,
|
23
|
-
question:
|
24
|
-
response:
|
25
|
-
nextQuestionId:
|
24
|
+
question: n,
|
25
|
+
response: e,
|
26
|
+
nextQuestionId: _,
|
26
27
|
isActive: R,
|
27
|
-
isHidden:
|
28
|
-
canRender:
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
28
|
+
isHidden: M,
|
29
|
+
canRender: K,
|
30
|
+
loggerRef: O,
|
31
|
+
appended: a,
|
32
|
+
maxQuestionWidth: V,
|
33
|
+
behavior: X,
|
34
|
+
layout: P,
|
35
|
+
actionbarHeight: Ct,
|
36
|
+
learnosity: v,
|
37
|
+
intersectionObserver: j,
|
38
|
+
background: G = "paper",
|
39
|
+
onMarkForReview: Bt,
|
40
|
+
userId: Wt,
|
41
|
+
onPublishStrokes: Y,
|
42
|
+
onReceiveStrokes: Z,
|
43
|
+
isScribblingEnabled: J,
|
44
|
+
initialStrokesData: N,
|
45
|
+
isCanvasEnabled: q,
|
46
|
+
onPublishMouseMove: k,
|
47
|
+
onSubscribeMouseMove: tt,
|
48
|
+
setActiveQuestionId: et,
|
49
|
+
canResolveDoubt: yt,
|
50
|
+
onResolveDoubt: xt,
|
51
|
+
studentId: Lt,
|
52
|
+
responses: Tt,
|
53
|
+
subjectiveProps: rt
|
52
54
|
}) => {
|
53
55
|
const C = p(
|
54
|
-
() =>
|
55
|
-
[
|
56
|
-
), [
|
57
|
-
validation:
|
58
|
-
review:
|
59
|
-
maximumAttempts:
|
60
|
-
canExceedAttempts:
|
61
|
-
teacherValidationEnabled:
|
62
|
-
solutionHidden:
|
63
|
-
} =
|
64
|
-
type:
|
65
|
-
response_id:
|
66
|
-
stimulus_review:
|
67
|
-
item_type:
|
68
|
-
instructor_stimulus:
|
69
|
-
metadata: { hints:
|
70
|
-
|
56
|
+
() => G === "paper" ? Yt(n) : void 0,
|
57
|
+
[G, n]
|
58
|
+
), [B, It] = A(), [ot, At] = A(), {
|
59
|
+
validation: it,
|
60
|
+
review: Q,
|
61
|
+
maximumAttempts: nt,
|
62
|
+
canExceedAttempts: ct,
|
63
|
+
teacherValidationEnabled: w,
|
64
|
+
solutionHidden: at
|
65
|
+
} = X, { minQuestionHeight: Mt, topOffset: st, questionsScrollable: W } = P, {
|
66
|
+
type: g,
|
67
|
+
response_id: o,
|
68
|
+
stimulus_review: E,
|
69
|
+
item_type: u,
|
70
|
+
instructor_stimulus: lt,
|
71
|
+
metadata: { hints: f, solution: H, widget_reference: mt },
|
72
|
+
item_reference: ut,
|
73
|
+
question_number: ft
|
74
|
+
} = n, ht = !!E, y = u === "overview", h = Zt(lt), S = lt === "SystemIntro", dt = h || S, gt = e == null ? void 0 : e.responseEdited, Ot = p(() => {
|
71
75
|
const t = [];
|
72
|
-
return
|
76
|
+
return gt && c === "TEACHER" && t.push("attempting"), a || t.push("hidden"), g === "hotspot" && t.push("correct-answers-hidden"), a && w && g === "clozetext" && (!h || c === "STUDENT" ? t.push("response-hidden") : t.push("response-code-hidden")), y && t.push("lesson-overview"), h && t.push("concept-intro"), S && t.push("system-intro"), t.join(" ");
|
73
77
|
}, [
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
]),
|
83
|
-
if (
|
84
|
-
if (
|
85
|
-
const { attemptsHistory: t } =
|
86
|
-
return ((t == null ? void 0 : t.length) ?? 0) >=
|
78
|
+
a,
|
79
|
+
h,
|
80
|
+
y,
|
81
|
+
S,
|
82
|
+
g,
|
83
|
+
gt,
|
84
|
+
w,
|
85
|
+
c
|
86
|
+
]), F = z({}), x = (e == null ? void 0 : e.hintsUsed) ?? 0, [Et] = A((e == null ? void 0 : e.validatedByTeacher) ?? !1), L = z(null), D = z(null), U = p(() => f == null ? void 0 : f.slice(0, x), [f, x]), $t = p(() => c === "TEACHER" || m ? !0 : !e || !e.response || e.responseEdited ? !1 : it, [e, c, it, m]), pt = p(() => {
|
87
|
+
if (c === "TEACHER") return !0;
|
88
|
+
if (Q) {
|
89
|
+
const { attemptsHistory: t } = e ?? {};
|
90
|
+
return ((t == null ? void 0 : t.length) ?? 0) >= nt && !ct;
|
87
91
|
}
|
88
92
|
return !1;
|
89
|
-
}, [
|
90
|
-
() =>
|
91
|
-
[
|
92
|
-
), [
|
93
|
+
}, [ct, nt, e, Q, c]), Nt = p(
|
94
|
+
() => H && m && !at,
|
95
|
+
[at, H, m]
|
96
|
+
), [_t, Qt] = A({
|
93
97
|
width: 0,
|
94
98
|
height: 0
|
95
|
-
}),
|
96
|
-
|
99
|
+
}), Ft = zt((t) => {
|
100
|
+
At(t);
|
97
101
|
}, []);
|
98
|
-
return
|
99
|
-
L.current &&
|
100
|
-
}, [
|
101
|
-
if (
|
102
|
+
return d(() => {
|
103
|
+
L.current && j.observe(L.current);
|
104
|
+
}, [j]), d(() => {
|
105
|
+
if (a && (n.type === "clozeassociation" || n.type === "association" || n.type === "clozeformula")) {
|
102
106
|
const t = document.querySelectorAll(
|
103
|
-
`.widget-${
|
107
|
+
`.widget-${n.response_id} .lrn_draggable`
|
104
108
|
);
|
105
|
-
let s = 0,
|
106
|
-
t.forEach((
|
107
|
-
s = Math.max(s,
|
108
|
-
}),
|
109
|
-
width:
|
110
|
-
height:
|
109
|
+
let s = 0, i = 0;
|
110
|
+
t.forEach((l) => {
|
111
|
+
s = Math.max(s, l.clientWidth + 33), i = Math.max(i, l.clientHeight + 1);
|
112
|
+
}), Qt({
|
113
|
+
width: n.type !== "association" ? s : 0,
|
114
|
+
height: i
|
111
115
|
});
|
112
116
|
}
|
113
|
-
}, [
|
114
|
-
if (
|
115
|
-
const t =
|
117
|
+
}, [a, n.response_id, n.type]), d(() => {
|
118
|
+
if (a && $t) {
|
119
|
+
const t = v.question(o);
|
116
120
|
t && t.validate({
|
117
|
-
showCorrectAnswers:
|
121
|
+
showCorrectAnswers: pt
|
118
122
|
});
|
119
123
|
}
|
120
|
-
}, [
|
121
|
-
const t =
|
122
|
-
|
123
|
-
|
124
|
+
}, [a, v, o, Q, pt, c, $t]), d(() => {
|
125
|
+
const t = D.current;
|
126
|
+
if (a && t && O.current && F.current[o] === void 0) {
|
127
|
+
const s = t.clientWidth, i = t.querySelectorAll("*");
|
128
|
+
for (let l = 0; l < i.length; l++) {
|
129
|
+
const b = i[l];
|
130
|
+
if (b && b.clientWidth > s) {
|
131
|
+
F.current[o] = !0, O.current(jt.WORKSHEET_V3_GREATER_WIDTH_ELEMENT, {
|
132
|
+
item_reference: ut,
|
133
|
+
widget_reference: mt,
|
134
|
+
question_type: g,
|
135
|
+
question_number: ft,
|
136
|
+
responseId: o
|
137
|
+
});
|
138
|
+
break;
|
139
|
+
}
|
140
|
+
}
|
141
|
+
F.current[o] = !1;
|
142
|
+
}
|
143
|
+
}, [
|
144
|
+
a,
|
145
|
+
ut,
|
146
|
+
O,
|
147
|
+
g,
|
148
|
+
ft,
|
149
|
+
o,
|
150
|
+
mt
|
151
|
+
]), d(() => {
|
152
|
+
const t = L.current, s = (i) => {
|
153
|
+
const l = i.querySelector(".lrn_response_wrapper");
|
154
|
+
if (!l)
|
124
155
|
return 0;
|
125
|
-
const
|
126
|
-
return
|
156
|
+
const b = i.getBoundingClientRect().bottom, T = l.getBoundingClientRect().bottom, $ = Math.abs(b - T);
|
157
|
+
return $ < Ht ? Ht - $ : 0;
|
127
158
|
};
|
128
|
-
|
129
|
-
var
|
130
|
-
const
|
131
|
-
if (
|
132
|
-
return
|
133
|
-
if (!
|
159
|
+
a && t && It((i) => {
|
160
|
+
var vt;
|
161
|
+
const T = ((vt = n.ui_style) == null ? void 0 : vt.type) === "floating-keyboard" && !(w && g === "clozetext"), $ = t.clientHeight;
|
162
|
+
if ($ === 0)
|
163
|
+
return i;
|
164
|
+
if (!i)
|
134
165
|
return Math.ceil(
|
135
|
-
|
166
|
+
$ + (T ? s(t) : 0)
|
136
167
|
);
|
137
|
-
const
|
138
|
-
|
168
|
+
const Rt = Math.ceil(
|
169
|
+
$ + (T ? s(t) : 0)
|
139
170
|
);
|
140
|
-
return Math.abs(
|
171
|
+
return Math.abs(Rt - i) > 4 ? Rt : i;
|
141
172
|
});
|
142
|
-
}),
|
143
|
-
!
|
144
|
-
}, [
|
145
|
-
(
|
146
|
-
}, [
|
147
|
-
if (
|
173
|
+
}), Kt(() => {
|
174
|
+
!W && !M && St(o);
|
175
|
+
}, [M, W, o, st]), d(() => {
|
176
|
+
(x || ht || H && m) && v.renderMath("mathjax");
|
177
|
+
}, [ht, x, v, H, m]), d(() => {
|
178
|
+
if (w && _ && !Et && (e != null && e.validatedByTeacher)) {
|
148
179
|
const t = setTimeout(() => {
|
149
|
-
|
180
|
+
W ? St(_) : et(_);
|
150
181
|
}, 1e3);
|
151
182
|
return () => {
|
152
183
|
clearTimeout(t);
|
153
184
|
};
|
154
185
|
}
|
155
186
|
}, [
|
156
|
-
|
157
|
-
|
158
|
-
|
159
|
-
|
160
|
-
|
161
|
-
|
162
|
-
]), /* @__PURE__ */
|
163
|
-
|
187
|
+
_,
|
188
|
+
w,
|
189
|
+
Et,
|
190
|
+
W,
|
191
|
+
et,
|
192
|
+
e == null ? void 0 : e.validatedByTeacher
|
193
|
+
]), /* @__PURE__ */ I(
|
194
|
+
ne,
|
164
195
|
{
|
165
|
-
"data-response-id":
|
166
|
-
className: `widget-${
|
196
|
+
"data-response-id": o,
|
197
|
+
className: `widget-${o}`,
|
167
198
|
ref: L,
|
168
|
-
$topOffset:
|
169
|
-
$flexDirection:
|
170
|
-
$alignItems:
|
171
|
-
$hidden:
|
172
|
-
$marginBottom:
|
199
|
+
$topOffset: st,
|
200
|
+
$flexDirection: E ? "row" : "column",
|
201
|
+
$alignItems: E ? "flex-start" : "center",
|
202
|
+
$hidden: M,
|
203
|
+
$marginBottom: Gt,
|
173
204
|
children: [
|
174
|
-
|
175
|
-
|
205
|
+
E && /* @__PURE__ */ r(
|
206
|
+
ce,
|
176
207
|
{
|
177
208
|
dangerouslySetInnerHTML: {
|
178
|
-
__html:
|
209
|
+
__html: E
|
179
210
|
}
|
180
211
|
}
|
181
212
|
),
|
182
|
-
/* @__PURE__ */
|
183
|
-
|
213
|
+
/* @__PURE__ */ I(
|
214
|
+
ae,
|
184
215
|
{
|
185
|
-
ref:
|
186
|
-
$width:
|
187
|
-
$minHeight:
|
216
|
+
ref: D,
|
217
|
+
$width: E ? "50%" : `${V}px`,
|
218
|
+
$minHeight: B ? Math.max(B - 72, ot ?? 0) : Mt,
|
188
219
|
$isActive: R,
|
189
220
|
$paperColor: C,
|
190
221
|
$opacity: R ? 1 : 0.2,
|
191
222
|
children: [
|
192
|
-
R && !!
|
193
|
-
|
223
|
+
R && !!k && !!tt && q && /* @__PURE__ */ r(
|
224
|
+
Pt,
|
194
225
|
{
|
195
|
-
containerRef:
|
196
|
-
onPublish:
|
197
|
-
onSubscribe:
|
198
|
-
responseId:
|
226
|
+
containerRef: D,
|
227
|
+
onPublish: k,
|
228
|
+
onSubscribe: tt,
|
229
|
+
responseId: o
|
199
230
|
}
|
200
231
|
),
|
201
|
-
/* @__PURE__ */
|
202
|
-
|
232
|
+
/* @__PURE__ */ I(
|
233
|
+
se,
|
203
234
|
{
|
204
|
-
className:
|
205
|
-
$dropzoneMinWidth:
|
206
|
-
$dropzoneMinHeight:
|
235
|
+
className: Ot,
|
236
|
+
$dropzoneMinWidth: _t.width,
|
237
|
+
$dropzoneMinHeight: _t.height,
|
207
238
|
children: [
|
208
|
-
!(
|
209
|
-
|
239
|
+
!(y || h || S) && /* @__PURE__ */ r(
|
240
|
+
Jt,
|
210
241
|
{
|
211
|
-
userType:
|
212
|
-
question:
|
213
|
-
response:
|
214
|
-
behavior:
|
215
|
-
layout:
|
242
|
+
userType: c,
|
243
|
+
question: n,
|
244
|
+
response: e,
|
245
|
+
behavior: X,
|
246
|
+
layout: P,
|
216
247
|
paperColor: C,
|
217
|
-
onMarkForReview:
|
218
|
-
actionbarHeight:
|
219
|
-
canResolveDoubt:
|
220
|
-
onResolveDoubt:
|
248
|
+
onMarkForReview: Bt,
|
249
|
+
actionbarHeight: Ct,
|
250
|
+
canResolveDoubt: yt,
|
251
|
+
onResolveDoubt: xt,
|
221
252
|
worksheetCompleted: m
|
222
253
|
}
|
223
254
|
),
|
224
|
-
|
225
|
-
|
226
|
-
|
227
|
-
|
228
|
-
|
229
|
-
|
230
|
-
(
|
255
|
+
y && /* @__PURE__ */ r(le, { src: Vt.LESSON_OVERVIEW_BANNER }),
|
256
|
+
h && C && /* @__PURE__ */ r(kt, { paperColor: C }),
|
257
|
+
S ? /* @__PURE__ */ I(Dt, { children: [
|
258
|
+
u === "practice-basic" && /* @__PURE__ */ r(re, {}),
|
259
|
+
u === "practice-regular" && /* @__PURE__ */ r(ie, {}),
|
260
|
+
u === "exit-ticket" && /* @__PURE__ */ r(oe, {}),
|
261
|
+
(u == null ? void 0 : u.startsWith("advanced-")) && /* @__PURE__ */ r(ee, {})
|
231
262
|
] }) : void 0,
|
232
|
-
/* @__PURE__ */
|
233
|
-
|
263
|
+
/* @__PURE__ */ r(
|
264
|
+
qt,
|
234
265
|
{
|
235
|
-
signedRequest:
|
236
|
-
appended:
|
237
|
-
question:
|
238
|
-
response:
|
239
|
-
canRender:
|
240
|
-
learnosity:
|
241
|
-
canForceAppend:
|
242
|
-
isConceptIntro:
|
266
|
+
signedRequest: bt,
|
267
|
+
appended: a,
|
268
|
+
question: n,
|
269
|
+
response: e == null ? void 0 : e.response,
|
270
|
+
canRender: K || R,
|
271
|
+
learnosity: v,
|
272
|
+
canForceAppend: c === "TEACHER",
|
273
|
+
isConceptIntro: h
|
243
274
|
}
|
244
275
|
),
|
245
|
-
!
|
246
|
-
|
276
|
+
!dt && q && Y && Z && B !== void 0 && /* @__PURE__ */ r(me, { $canScribble: J, children: /* @__PURE__ */ r(
|
277
|
+
Xt,
|
247
278
|
{
|
248
|
-
canRender:
|
249
|
-
canScribble:
|
250
|
-
appended:
|
251
|
-
responseId:
|
252
|
-
width:
|
253
|
-
height: Math.max(
|
254
|
-
onUpdateHeight:
|
255
|
-
onPublish:
|
256
|
-
onSubscribe:
|
257
|
-
userId:
|
258
|
-
initialData:
|
259
|
-
userType:
|
279
|
+
canRender: K,
|
280
|
+
canScribble: J && R,
|
281
|
+
appended: a,
|
282
|
+
responseId: o,
|
283
|
+
width: V,
|
284
|
+
height: Math.max(B, ot ?? 0),
|
285
|
+
onUpdateHeight: Ft,
|
286
|
+
onPublish: Y,
|
287
|
+
onSubscribe: Z,
|
288
|
+
userId: Wt,
|
289
|
+
initialData: N == null ? void 0 : N[o],
|
290
|
+
userType: c
|
260
291
|
}
|
261
292
|
) }),
|
262
|
-
!
|
263
|
-
|
293
|
+
!dt && U && U.length > 0 && /* @__PURE__ */ r(
|
294
|
+
wt,
|
264
295
|
{
|
265
296
|
$background: "BLUE_1",
|
266
297
|
$gutterX: 1,
|
267
298
|
$gapX: 0.5,
|
268
299
|
$borderRadiusX: 0,
|
269
300
|
$borderColor: "BLUE_2",
|
270
|
-
children:
|
271
|
-
|
301
|
+
children: U.map((t, s) => /* @__PURE__ */ r(
|
302
|
+
ue,
|
272
303
|
{
|
273
304
|
dangerouslySetInnerHTML: {
|
274
|
-
__html: `<span style="color: #DA5107; font-weight: 600;">Hint${((
|
305
|
+
__html: `<span style="color: #DA5107; font-weight: 600;">Hint${((f == null ? void 0 : f.length) ?? 0) > 1 ? ` ${s + 1}` : ""}:</span> ${t}`
|
275
306
|
}
|
276
307
|
},
|
277
308
|
t
|
278
309
|
))
|
279
310
|
}
|
280
311
|
),
|
281
|
-
|
282
|
-
|
312
|
+
Nt && /* @__PURE__ */ r(
|
313
|
+
wt,
|
283
314
|
{
|
284
315
|
$background: "YELLOW_1",
|
285
316
|
$gutterX: 1,
|
286
317
|
$gapX: 0.875,
|
287
318
|
$borderRadiusX: 0,
|
288
319
|
$borderColor: "YELLOW_2",
|
289
|
-
children: /* @__PURE__ */
|
290
|
-
|
320
|
+
children: /* @__PURE__ */ r(
|
321
|
+
fe,
|
291
322
|
{
|
292
323
|
dangerouslySetInnerHTML: {
|
293
|
-
__html: `<div style="color: #DA5107; font-weight: 600;">Solution:</div>${
|
324
|
+
__html: `<div style="color: #DA5107; font-weight: 600;">Solution:</div>${H}`
|
294
325
|
}
|
295
326
|
}
|
296
327
|
)
|
297
328
|
}
|
298
329
|
),
|
299
|
-
!!
|
300
|
-
|
330
|
+
!!rt && /* @__PURE__ */ r(
|
331
|
+
te,
|
301
332
|
{
|
302
|
-
responses:
|
303
|
-
response:
|
304
|
-
nextQuestionId:
|
305
|
-
responseId:
|
306
|
-
studentId:
|
307
|
-
userType:
|
308
|
-
...
|
333
|
+
responses: Tt,
|
334
|
+
response: e,
|
335
|
+
nextQuestionId: _,
|
336
|
+
responseId: o,
|
337
|
+
studentId: Lt,
|
338
|
+
userType: c,
|
339
|
+
...rt
|
309
340
|
}
|
310
341
|
)
|
311
342
|
]
|
@@ -320,6 +351,6 @@ const So = Tt(
|
|
320
351
|
}
|
321
352
|
);
|
322
353
|
export {
|
323
|
-
|
354
|
+
Le as default
|
324
355
|
};
|
325
356
|
//# sourceMappingURL=worksheet-question.js.map
|