eat-js-sdk 1.0.18 → 1.0.19
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/eat-prompt-builder.mjs +156 -147
- package/package.json +1 -1
|
@@ -5120,14 +5120,14 @@
|
|
|
5120
5120
|
// src/lib/components/prompt/typein/PromptTypeIn.svelte
|
|
5121
5121
|
function get_each_context2(ctx, list, i) {
|
|
5122
5122
|
const child_ctx = ctx.slice();
|
|
5123
|
-
child_ctx[
|
|
5124
|
-
child_ctx[
|
|
5123
|
+
child_ctx[62] = list[i];
|
|
5124
|
+
child_ctx[64] = i;
|
|
5125
5125
|
return child_ctx;
|
|
5126
5126
|
}
|
|
5127
5127
|
function get_each_context_1(ctx, list, i) {
|
|
5128
5128
|
const child_ctx = ctx.slice();
|
|
5129
|
-
child_ctx[
|
|
5130
|
-
child_ctx[
|
|
5129
|
+
child_ctx[65] = list[i];
|
|
5130
|
+
child_ctx[67] = i;
|
|
5131
5131
|
return child_ctx;
|
|
5132
5132
|
}
|
|
5133
5133
|
function create_else_block_3(ctx) {
|
|
@@ -5144,7 +5144,7 @@
|
|
|
5144
5144
|
textarea,
|
|
5145
5145
|
"aria-label",
|
|
5146
5146
|
/*textAriaLabel*/
|
|
5147
|
-
ctx[
|
|
5147
|
+
ctx[20]
|
|
5148
5148
|
);
|
|
5149
5149
|
attr(
|
|
5150
5150
|
textarea,
|
|
@@ -5162,7 +5162,7 @@
|
|
|
5162
5162
|
ctx[2];
|
|
5163
5163
|
attr(textarea, "autocomplete", "off");
|
|
5164
5164
|
textarea.readOnly = /*isReadonlyText*/
|
|
5165
|
-
ctx[
|
|
5165
|
+
ctx[27];
|
|
5166
5166
|
},
|
|
5167
5167
|
m(target, anchor) {
|
|
5168
5168
|
insert(target, textarea, anchor);
|
|
@@ -5177,38 +5177,38 @@
|
|
|
5177
5177
|
textarea,
|
|
5178
5178
|
"input",
|
|
5179
5179
|
/*textarea_input_handler*/
|
|
5180
|
-
ctx[
|
|
5180
|
+
ctx[38]
|
|
5181
5181
|
),
|
|
5182
5182
|
listen(
|
|
5183
5183
|
textarea,
|
|
5184
5184
|
"mousedown",
|
|
5185
5185
|
/*mousedown_handler*/
|
|
5186
|
-
ctx[
|
|
5186
|
+
ctx[39]
|
|
5187
5187
|
),
|
|
5188
5188
|
listen(
|
|
5189
5189
|
textarea,
|
|
5190
5190
|
"touchstart",
|
|
5191
5191
|
/*touchstart_handler*/
|
|
5192
|
-
ctx[
|
|
5192
|
+
ctx[40],
|
|
5193
5193
|
{ passive: true }
|
|
5194
5194
|
),
|
|
5195
5195
|
listen(
|
|
5196
5196
|
textarea,
|
|
5197
5197
|
"focus",
|
|
5198
5198
|
/*focus_handler*/
|
|
5199
|
-
ctx[
|
|
5199
|
+
ctx[41]
|
|
5200
5200
|
),
|
|
5201
5201
|
listen(
|
|
5202
5202
|
textarea,
|
|
5203
5203
|
"focusout",
|
|
5204
5204
|
/*focusout_handler_1*/
|
|
5205
|
-
ctx[
|
|
5205
|
+
ctx[42]
|
|
5206
5206
|
),
|
|
5207
5207
|
listen(
|
|
5208
5208
|
textarea,
|
|
5209
5209
|
"keydown",
|
|
5210
5210
|
/*keydown_handler_1*/
|
|
5211
|
-
ctx[
|
|
5211
|
+
ctx[43]
|
|
5212
5212
|
),
|
|
5213
5213
|
action_destroyer(autosize_action = svelte_autosize_default.call(null, textarea))
|
|
5214
5214
|
];
|
|
@@ -5217,12 +5217,12 @@
|
|
|
5217
5217
|
},
|
|
5218
5218
|
p(ctx2, dirty) {
|
|
5219
5219
|
if (dirty[0] & /*textAriaLabel*/
|
|
5220
|
-
|
|
5220
|
+
1048576) {
|
|
5221
5221
|
attr(
|
|
5222
5222
|
textarea,
|
|
5223
5223
|
"aria-label",
|
|
5224
5224
|
/*textAriaLabel*/
|
|
5225
|
-
ctx2[
|
|
5225
|
+
ctx2[20]
|
|
5226
5226
|
);
|
|
5227
5227
|
}
|
|
5228
5228
|
if (dirty[0] & /*placeholder*/
|
|
@@ -5281,7 +5281,7 @@
|
|
|
5281
5281
|
input,
|
|
5282
5282
|
"aria-label",
|
|
5283
5283
|
/*textAriaLabel*/
|
|
5284
|
-
ctx[
|
|
5284
|
+
ctx[20]
|
|
5285
5285
|
);
|
|
5286
5286
|
attr(
|
|
5287
5287
|
input,
|
|
@@ -5298,7 +5298,7 @@
|
|
|
5298
5298
|
ctx[2];
|
|
5299
5299
|
attr(input, "autocomplete", "off");
|
|
5300
5300
|
input.readOnly = /*isReadonlyText*/
|
|
5301
|
-
ctx[
|
|
5301
|
+
ctx[27];
|
|
5302
5302
|
},
|
|
5303
5303
|
m(target, anchor) {
|
|
5304
5304
|
insert(target, input, anchor);
|
|
@@ -5313,19 +5313,19 @@
|
|
|
5313
5313
|
input,
|
|
5314
5314
|
"input",
|
|
5315
5315
|
/*input_input_handler*/
|
|
5316
|
-
ctx[
|
|
5316
|
+
ctx[35]
|
|
5317
5317
|
),
|
|
5318
5318
|
listen(
|
|
5319
5319
|
input,
|
|
5320
5320
|
"focusout",
|
|
5321
5321
|
/*focusout_handler*/
|
|
5322
|
-
ctx[
|
|
5322
|
+
ctx[36]
|
|
5323
5323
|
),
|
|
5324
5324
|
listen(
|
|
5325
5325
|
input,
|
|
5326
5326
|
"keydown",
|
|
5327
5327
|
/*keydown_handler*/
|
|
5328
|
-
ctx[
|
|
5328
|
+
ctx[37]
|
|
5329
5329
|
)
|
|
5330
5330
|
];
|
|
5331
5331
|
mounted = true;
|
|
@@ -5333,12 +5333,12 @@
|
|
|
5333
5333
|
},
|
|
5334
5334
|
p(ctx2, dirty) {
|
|
5335
5335
|
if (dirty[0] & /*textAriaLabel*/
|
|
5336
|
-
|
|
5336
|
+
1048576) {
|
|
5337
5337
|
attr(
|
|
5338
5338
|
input,
|
|
5339
5339
|
"aria-label",
|
|
5340
5340
|
/*textAriaLabel*/
|
|
5341
|
-
ctx2[
|
|
5341
|
+
ctx2[20]
|
|
5342
5342
|
);
|
|
5343
5343
|
}
|
|
5344
5344
|
if (dirty[0] & /*placeholder*/
|
|
@@ -5516,7 +5516,7 @@
|
|
|
5516
5516
|
m(target, anchor) {
|
|
5517
5517
|
insert(target, div0, anchor);
|
|
5518
5518
|
mount_component(commonstringtohtml, div0, null);
|
|
5519
|
-
ctx[
|
|
5519
|
+
ctx[34](div0);
|
|
5520
5520
|
insert(target, t0, anchor);
|
|
5521
5521
|
insert(target, div1, anchor);
|
|
5522
5522
|
insert(target, t1, anchor);
|
|
@@ -5555,7 +5555,7 @@
|
|
|
5555
5555
|
detach(div2);
|
|
5556
5556
|
}
|
|
5557
5557
|
destroy_component(commonstringtohtml);
|
|
5558
|
-
ctx[
|
|
5558
|
+
ctx[34](null);
|
|
5559
5559
|
}
|
|
5560
5560
|
};
|
|
5561
5561
|
}
|
|
@@ -5567,12 +5567,12 @@
|
|
|
5567
5567
|
let if_block2_anchor;
|
|
5568
5568
|
let current;
|
|
5569
5569
|
let if_block0 = !/*isInlineTypein*/
|
|
5570
|
-
ctx[
|
|
5570
|
+
ctx[26] && create_if_block_63(ctx);
|
|
5571
5571
|
const if_block_creators = [create_if_block_43, create_if_block_53];
|
|
5572
5572
|
const if_blocks = [];
|
|
5573
5573
|
function select_block_type_3(ctx2, dirty) {
|
|
5574
5574
|
if (!/*isInlineTypein*/
|
|
5575
|
-
ctx2[
|
|
5575
|
+
ctx2[26])
|
|
5576
5576
|
return 0;
|
|
5577
5577
|
if (!/*isResultCorrect*/
|
|
5578
5578
|
ctx2[1])
|
|
@@ -5584,7 +5584,7 @@
|
|
|
5584
5584
|
}
|
|
5585
5585
|
let if_block2 = (
|
|
5586
5586
|
/*isInlineTypein*/
|
|
5587
|
-
ctx[
|
|
5587
|
+
ctx[26] && (!/*isPreviewMode*/
|
|
5588
5588
|
ctx[3] || /*isPreviewModeInteractive*/
|
|
5589
5589
|
ctx[4]) && create_if_block_16(ctx)
|
|
5590
5590
|
);
|
|
@@ -5615,7 +5615,7 @@
|
|
|
5615
5615
|
},
|
|
5616
5616
|
p(ctx2, dirty) {
|
|
5617
5617
|
if (!/*isInlineTypein*/
|
|
5618
|
-
ctx2[
|
|
5618
|
+
ctx2[26])
|
|
5619
5619
|
if_block0.p(ctx2, dirty);
|
|
5620
5620
|
let previous_block_index = current_block_type_index;
|
|
5621
5621
|
current_block_type_index = select_block_type_3(ctx2, dirty);
|
|
@@ -5647,7 +5647,7 @@
|
|
|
5647
5647
|
}
|
|
5648
5648
|
if (
|
|
5649
5649
|
/*isInlineTypein*/
|
|
5650
|
-
ctx2[
|
|
5650
|
+
ctx2[26] && (!/*isPreviewMode*/
|
|
5651
5651
|
ctx2[3] || /*isPreviewModeInteractive*/
|
|
5652
5652
|
ctx2[4])
|
|
5653
5653
|
) {
|
|
@@ -5740,7 +5740,7 @@
|
|
|
5740
5740
|
attr(span1, "class", "p2");
|
|
5741
5741
|
attr(div, "aria-hidden", "true");
|
|
5742
5742
|
attr(div, "class", div_class_value = "flex items-center text-charcoal " + /*typeinType*/
|
|
5743
|
-
(ctx[
|
|
5743
|
+
(ctx[25] === TYPEIN_TYPE_SHORT ? "mt-2" : "mt-0.5"));
|
|
5744
5744
|
},
|
|
5745
5745
|
m(target, anchor) {
|
|
5746
5746
|
insert(target, div, anchor);
|
|
@@ -5864,11 +5864,8 @@
|
|
|
5864
5864
|
ctx[1]
|
|
5865
5865
|
),
|
|
5866
5866
|
resultFeedback: (
|
|
5867
|
-
/*
|
|
5868
|
-
ctx[
|
|
5869
|
-
/*resultFeedback*/
|
|
5870
|
-
ctx[8]
|
|
5871
|
-
)
|
|
5867
|
+
/*computedFeedback*/
|
|
5868
|
+
ctx[18]
|
|
5872
5869
|
),
|
|
5873
5870
|
isSkipped: (
|
|
5874
5871
|
/*isSkippedAnswer*/
|
|
@@ -5878,9 +5875,8 @@
|
|
|
5878
5875
|
ctx[1] || /*isSkippedAnswer*/
|
|
5879
5876
|
ctx[10],
|
|
5880
5877
|
resultFeedbackTitle: (
|
|
5881
|
-
/*
|
|
5882
|
-
ctx[
|
|
5883
|
-
ctx[10] ? "" : "Why they got it wrong"
|
|
5878
|
+
/*computedFeedbackTitle*/
|
|
5879
|
+
ctx[19]
|
|
5884
5880
|
)
|
|
5885
5881
|
}
|
|
5886
5882
|
});
|
|
@@ -5898,13 +5894,10 @@
|
|
|
5898
5894
|
2)
|
|
5899
5895
|
promptresultv2_changes.isResultCorrect = /*isResultCorrect*/
|
|
5900
5896
|
ctx2[1];
|
|
5901
|
-
if (dirty[0] & /*
|
|
5902
|
-
|
|
5903
|
-
promptresultv2_changes.resultFeedback = /*
|
|
5904
|
-
ctx2[
|
|
5905
|
-
/*resultFeedback*/
|
|
5906
|
-
ctx2[8]
|
|
5907
|
-
);
|
|
5897
|
+
if (dirty[0] & /*computedFeedback*/
|
|
5898
|
+
262144)
|
|
5899
|
+
promptresultv2_changes.resultFeedback = /*computedFeedback*/
|
|
5900
|
+
ctx2[18];
|
|
5908
5901
|
if (dirty[0] & /*isSkippedAnswer*/
|
|
5909
5902
|
1024)
|
|
5910
5903
|
promptresultv2_changes.isSkipped = /*isSkippedAnswer*/
|
|
@@ -5914,11 +5907,10 @@
|
|
|
5914
5907
|
promptresultv2_changes.hasIcon = !/*isResultCorrect*/
|
|
5915
5908
|
ctx2[1] || /*isSkippedAnswer*/
|
|
5916
5909
|
ctx2[10];
|
|
5917
|
-
if (dirty[0] & /*
|
|
5918
|
-
|
|
5919
|
-
promptresultv2_changes.resultFeedbackTitle = /*
|
|
5920
|
-
ctx2[
|
|
5921
|
-
ctx2[10] ? "" : "Why they got it wrong";
|
|
5910
|
+
if (dirty[0] & /*computedFeedbackTitle*/
|
|
5911
|
+
524288)
|
|
5912
|
+
promptresultv2_changes.resultFeedbackTitle = /*computedFeedbackTitle*/
|
|
5913
|
+
ctx2[19];
|
|
5922
5914
|
promptresultv2.$set(promptresultv2_changes);
|
|
5923
5915
|
},
|
|
5924
5916
|
i(local) {
|
|
@@ -6018,7 +6010,7 @@
|
|
|
6018
6010
|
},
|
|
6019
6011
|
p(ctx2, dirty) {
|
|
6020
6012
|
if (dirty[0] & /*inlineIteration, inlineAnswerResult, correctAnswerDataLength, sessionId, inlineTypeinAnswer, correctAnswerData*/
|
|
6021
|
-
|
|
6013
|
+
2327072) {
|
|
6022
6014
|
each_value = ensure_array_like(
|
|
6023
6015
|
/*correctAnswerData*/
|
|
6024
6016
|
ctx2[16]
|
|
@@ -6080,7 +6072,7 @@
|
|
|
6080
6072
|
/*inlineAnswerResult*/
|
|
6081
6073
|
ctx2[15][
|
|
6082
6074
|
/*itemIndex*/
|
|
6083
|
-
ctx2[
|
|
6075
|
+
ctx2[64]
|
|
6084
6076
|
]
|
|
6085
6077
|
)
|
|
6086
6078
|
return 0;
|
|
@@ -6096,7 +6088,7 @@
|
|
|
6096
6088
|
attr(span0, "class", span0_class_value = /*inlineAnswerResult*/
|
|
6097
6089
|
(ctx[15][
|
|
6098
6090
|
/*itemIndex*/
|
|
6099
|
-
ctx[
|
|
6091
|
+
ctx[64]
|
|
6100
6092
|
] ? "text-green-900" : "text-red-900") + " p-0.5");
|
|
6101
6093
|
attr(span1, "class", "w-6 h-6 absolute right-4 top-3 bottom-0 my-auto flex item-center justify-center");
|
|
6102
6094
|
},
|
|
@@ -6128,7 +6120,7 @@
|
|
|
6128
6120
|
32768 && span0_class_value !== (span0_class_value = /*inlineAnswerResult*/
|
|
6129
6121
|
(ctx2[15][
|
|
6130
6122
|
/*itemIndex*/
|
|
6131
|
-
ctx2[
|
|
6123
|
+
ctx2[64]
|
|
6132
6124
|
] ? "text-green-900" : "text-red-900") + " p-0.5")) {
|
|
6133
6125
|
attr(span0, "class", span0_class_value);
|
|
6134
6126
|
}
|
|
@@ -6210,7 +6202,7 @@
|
|
|
6210
6202
|
let p;
|
|
6211
6203
|
let t0_value = useIsEven(
|
|
6212
6204
|
/*iterationIndex*/
|
|
6213
|
-
ctx[
|
|
6205
|
+
ctx[67]
|
|
6214
6206
|
) ? `Student's` : "Correct";
|
|
6215
6207
|
let t0;
|
|
6216
6208
|
let t1;
|
|
@@ -6234,7 +6226,7 @@
|
|
|
6234
6226
|
let t6;
|
|
6235
6227
|
let show_if = useIsEven(
|
|
6236
6228
|
/*iterationIndex*/
|
|
6237
|
-
ctx[
|
|
6229
|
+
ctx[67]
|
|
6238
6230
|
);
|
|
6239
6231
|
let div0_class_value;
|
|
6240
6232
|
let div1_class_value;
|
|
@@ -6255,7 +6247,7 @@
|
|
|
6255
6247
|
t3 = space();
|
|
6256
6248
|
span1 = element("span");
|
|
6257
6249
|
span1.textContent = `${/*itemIndex*/
|
|
6258
|
-
ctx[
|
|
6250
|
+
ctx[64] + 1}`;
|
|
6259
6251
|
t5 = space();
|
|
6260
6252
|
textarea = element("textarea");
|
|
6261
6253
|
t6 = space();
|
|
@@ -6263,130 +6255,130 @@
|
|
|
6263
6255
|
if_block.c();
|
|
6264
6256
|
attr(p, "class", p_class_value = "text-base text-charcoal font-semibold " + (useIsEven(
|
|
6265
6257
|
/*iterationIndex*/
|
|
6266
|
-
ctx[
|
|
6258
|
+
ctx[67]
|
|
6267
6259
|
) && /*itemIndex*/
|
|
6268
|
-
ctx[
|
|
6260
|
+
ctx[64] !== 0 ? "hidden" : !useIsEven(
|
|
6269
6261
|
/*iterationIndex*/
|
|
6270
|
-
ctx[
|
|
6262
|
+
ctx[67]
|
|
6271
6263
|
) && /*itemIndex*/
|
|
6272
|
-
ctx[
|
|
6264
|
+
ctx[64] !== 0 ? "mt-2 md:mt-0 md:hidden" : !useIsEven(
|
|
6273
6265
|
/*iterationIndex*/
|
|
6274
|
-
ctx[
|
|
6266
|
+
ctx[67]
|
|
6275
6267
|
) && /*itemIndex*/
|
|
6276
|
-
ctx[
|
|
6268
|
+
ctx[64] === 0 ? "mt-2 md:mt-0" : (
|
|
6277
6269
|
/*itemIndex*/
|
|
6278
|
-
ctx[
|
|
6270
|
+
ctx[64] === 0 ? "" : ""
|
|
6279
6271
|
)) + " " + (!useIsEven(
|
|
6280
6272
|
/*iterationIndex*/
|
|
6281
|
-
ctx[
|
|
6273
|
+
ctx[67]
|
|
6282
6274
|
) && /*inlineAnswerResult*/
|
|
6283
6275
|
ctx[15][
|
|
6284
6276
|
/*itemIndex*/
|
|
6285
|
-
ctx[
|
|
6277
|
+
ctx[64]
|
|
6286
6278
|
] ? "hidden md:block" : ""));
|
|
6287
6279
|
attr(span0, "class", "absolute inset-0 bottom-[7px] bg-black opacity-5 rounded-l-lg w-8.5 top-1");
|
|
6288
6280
|
attr(span1, "class", "absolute font-semibold text-base leading-[19px] text-charcoal px-3 inline-block top-1/2 -translate-y-1/2 -mt-0.5");
|
|
6289
6281
|
attr(label, "for", label_for_value = `${/*iterationIndex*/
|
|
6290
|
-
ctx[
|
|
6282
|
+
ctx[67]}-${/*sessionId*/
|
|
6291
6283
|
ctx[5]}-${/*itemIndex*/
|
|
6292
|
-
ctx[
|
|
6284
|
+
ctx[64]}`);
|
|
6293
6285
|
attr(label, "class", label_class_value = "absolute left-0 top-[13px] bottom-0 " + /*correctAnswerDataLength*/
|
|
6294
6286
|
(ctx[17] > 1 && !useIsEven(
|
|
6295
6287
|
/*iterationIndex*/
|
|
6296
|
-
ctx[
|
|
6288
|
+
ctx[67]
|
|
6297
6289
|
) ? "hidden md:inline-block" : (
|
|
6298
6290
|
/*correctAnswerDataLength*/
|
|
6299
6291
|
ctx[17] > 1 && useIsEven(
|
|
6300
6292
|
/*iterationIndex*/
|
|
6301
|
-
ctx[
|
|
6293
|
+
ctx[67]
|
|
6302
6294
|
) ? "" : "hidden"
|
|
6303
6295
|
)));
|
|
6304
6296
|
attr(label, "aria-hidden", "true");
|
|
6305
6297
|
attr(textarea, "aria-label", textarea_aria_label_value = `${useIsEven(
|
|
6306
6298
|
/*iterationIndex*/
|
|
6307
|
-
ctx[
|
|
6299
|
+
ctx[67]
|
|
6308
6300
|
) ? `Student's` : "Correct"} answer${useIsEven(
|
|
6309
6301
|
/*iterationIndex*/
|
|
6310
|
-
ctx[
|
|
6302
|
+
ctx[67]
|
|
6311
6303
|
) && /*inlineAnswerResult*/
|
|
6312
6304
|
ctx[15][
|
|
6313
6305
|
/*itemIndex*/
|
|
6314
|
-
ctx[
|
|
6306
|
+
ctx[64]
|
|
6315
6307
|
] ? " (Correct)" : useIsEven(
|
|
6316
6308
|
/*iterationIndex*/
|
|
6317
|
-
ctx[
|
|
6309
|
+
ctx[67]
|
|
6318
6310
|
) && !/*inlineAnswerResult*/
|
|
6319
6311
|
ctx[15][
|
|
6320
6312
|
/*itemIndex*/
|
|
6321
|
-
ctx[
|
|
6313
|
+
ctx[64]
|
|
6322
6314
|
] ? " (Incorrect)" : ""}, Item number ${/*itemIndex*/
|
|
6323
|
-
ctx[
|
|
6315
|
+
ctx[64] + 1}:`);
|
|
6324
6316
|
attr(textarea, "class", textarea_class_value = "typein-textbox py-[9px] pr-4 mt-4 " + /*correctAnswerDataLength*/
|
|
6325
6317
|
(ctx[17] > 1 && !useIsEven(
|
|
6326
6318
|
/*iterationIndex*/
|
|
6327
|
-
ctx[
|
|
6319
|
+
ctx[67]
|
|
6328
6320
|
) ? "md:pl-13.2" : (
|
|
6329
6321
|
/*correctAnswerDataLength*/
|
|
6330
6322
|
ctx[17] > 1 && useIsEven(
|
|
6331
6323
|
/*iterationIndex*/
|
|
6332
|
-
ctx[
|
|
6324
|
+
ctx[67]
|
|
6333
6325
|
) ? "pl-13.2" : ""
|
|
6334
6326
|
)) + " " + (useIsEven(
|
|
6335
6327
|
/*iterationIndex*/
|
|
6336
|
-
ctx[
|
|
6328
|
+
ctx[67]
|
|
6337
6329
|
) ? "!pr-11" : "") + " " + (useIsEven(
|
|
6338
6330
|
/*iterationIndex*/
|
|
6339
|
-
ctx[
|
|
6331
|
+
ctx[67]
|
|
6340
6332
|
) && /*inlineAnswerResult*/
|
|
6341
6333
|
ctx[15][
|
|
6342
6334
|
/*itemIndex*/
|
|
6343
|
-
ctx[
|
|
6335
|
+
ctx[64]
|
|
6344
6336
|
] ? "border-2 border-green-900" : useIsEven(
|
|
6345
6337
|
/*iterationIndex*/
|
|
6346
|
-
ctx[
|
|
6338
|
+
ctx[67]
|
|
6347
6339
|
) && !/*inlineAnswerResult*/
|
|
6348
6340
|
ctx[15][
|
|
6349
6341
|
/*itemIndex*/
|
|
6350
|
-
ctx[
|
|
6342
|
+
ctx[64]
|
|
6351
6343
|
] ? "border-2 border-red-900 bg-red-50" : ""));
|
|
6352
6344
|
attr(textarea, "id", textarea_id_value = `${/*iterationIndex*/
|
|
6353
|
-
ctx[
|
|
6345
|
+
ctx[67]}-${/*sessionId*/
|
|
6354
6346
|
ctx[5]}-${/*itemIndex*/
|
|
6355
|
-
ctx[
|
|
6347
|
+
ctx[64]}`);
|
|
6356
6348
|
textarea.value = textarea_value_value = useIsEven(
|
|
6357
6349
|
/*iterationIndex*/
|
|
6358
|
-
ctx[
|
|
6350
|
+
ctx[67]
|
|
6359
6351
|
) ? (
|
|
6360
6352
|
/*inlineTypeinAnswer*/
|
|
6361
6353
|
ctx[9][
|
|
6362
6354
|
/*itemIndex*/
|
|
6363
|
-
ctx[
|
|
6355
|
+
ctx[64]
|
|
6364
6356
|
] || "No answer provided"
|
|
6365
6357
|
) : (
|
|
6366
6358
|
/*item*/
|
|
6367
|
-
ctx[
|
|
6359
|
+
ctx[62][0]
|
|
6368
6360
|
);
|
|
6369
6361
|
attr(textarea, "rows", "1");
|
|
6370
6362
|
textarea.readOnly = true;
|
|
6371
6363
|
attr(textarea, "tabindex", textarea_tabindex_value = !useIsEven(
|
|
6372
6364
|
/*iterationIndex*/
|
|
6373
|
-
ctx[
|
|
6365
|
+
ctx[67]
|
|
6374
6366
|
) && /*inlineAnswerResult*/
|
|
6375
6367
|
ctx[15][
|
|
6376
6368
|
/*itemIndex*/
|
|
6377
|
-
ctx[
|
|
6369
|
+
ctx[64]
|
|
6378
6370
|
] ? "-1" : "");
|
|
6379
6371
|
attr(div0, "class", div0_class_value = "h-fit relative " + (!useIsEven(
|
|
6380
6372
|
/*iterationIndex*/
|
|
6381
|
-
ctx[
|
|
6373
|
+
ctx[67]
|
|
6382
6374
|
) && /*inlineAnswerResult*/
|
|
6383
6375
|
ctx[15][
|
|
6384
6376
|
/*itemIndex*/
|
|
6385
|
-
ctx[
|
|
6377
|
+
ctx[64]
|
|
6386
6378
|
] ? "hidden md:block" : ""));
|
|
6387
6379
|
attr(div1, "class", div1_class_value = "flex flex-col md:w-1/2 " + (useIsEven(
|
|
6388
6380
|
/*iterationIndex*/
|
|
6389
|
-
ctx[
|
|
6381
|
+
ctx[67]
|
|
6390
6382
|
) ? "md:pr-4" : "ml-8.5 md:ml-0 md:pl-4"));
|
|
6391
6383
|
},
|
|
6392
6384
|
m(target, anchor) {
|
|
@@ -6415,46 +6407,46 @@
|
|
|
6415
6407
|
if (!current || dirty[0] & /*inlineAnswerResult*/
|
|
6416
6408
|
32768 && p_class_value !== (p_class_value = "text-base text-charcoal font-semibold " + (useIsEven(
|
|
6417
6409
|
/*iterationIndex*/
|
|
6418
|
-
ctx2[
|
|
6410
|
+
ctx2[67]
|
|
6419
6411
|
) && /*itemIndex*/
|
|
6420
|
-
ctx2[
|
|
6412
|
+
ctx2[64] !== 0 ? "hidden" : !useIsEven(
|
|
6421
6413
|
/*iterationIndex*/
|
|
6422
|
-
ctx2[
|
|
6414
|
+
ctx2[67]
|
|
6423
6415
|
) && /*itemIndex*/
|
|
6424
|
-
ctx2[
|
|
6416
|
+
ctx2[64] !== 0 ? "mt-2 md:mt-0 md:hidden" : !useIsEven(
|
|
6425
6417
|
/*iterationIndex*/
|
|
6426
|
-
ctx2[
|
|
6418
|
+
ctx2[67]
|
|
6427
6419
|
) && /*itemIndex*/
|
|
6428
|
-
ctx2[
|
|
6420
|
+
ctx2[64] === 0 ? "mt-2 md:mt-0" : (
|
|
6429
6421
|
/*itemIndex*/
|
|
6430
|
-
ctx2[
|
|
6422
|
+
ctx2[64] === 0 ? "" : ""
|
|
6431
6423
|
)) + " " + (!useIsEven(
|
|
6432
6424
|
/*iterationIndex*/
|
|
6433
|
-
ctx2[
|
|
6425
|
+
ctx2[67]
|
|
6434
6426
|
) && /*inlineAnswerResult*/
|
|
6435
6427
|
ctx2[15][
|
|
6436
6428
|
/*itemIndex*/
|
|
6437
|
-
ctx2[
|
|
6429
|
+
ctx2[64]
|
|
6438
6430
|
] ? "hidden md:block" : ""))) {
|
|
6439
6431
|
attr(p, "class", p_class_value);
|
|
6440
6432
|
}
|
|
6441
6433
|
if (!current || dirty[0] & /*sessionId*/
|
|
6442
6434
|
32 && label_for_value !== (label_for_value = `${/*iterationIndex*/
|
|
6443
|
-
ctx2[
|
|
6435
|
+
ctx2[67]}-${/*sessionId*/
|
|
6444
6436
|
ctx2[5]}-${/*itemIndex*/
|
|
6445
|
-
ctx2[
|
|
6437
|
+
ctx2[64]}`)) {
|
|
6446
6438
|
attr(label, "for", label_for_value);
|
|
6447
6439
|
}
|
|
6448
6440
|
if (!current || dirty[0] & /*correctAnswerDataLength*/
|
|
6449
6441
|
131072 && label_class_value !== (label_class_value = "absolute left-0 top-[13px] bottom-0 " + /*correctAnswerDataLength*/
|
|
6450
6442
|
(ctx2[17] > 1 && !useIsEven(
|
|
6451
6443
|
/*iterationIndex*/
|
|
6452
|
-
ctx2[
|
|
6444
|
+
ctx2[67]
|
|
6453
6445
|
) ? "hidden md:inline-block" : (
|
|
6454
6446
|
/*correctAnswerDataLength*/
|
|
6455
6447
|
ctx2[17] > 1 && useIsEven(
|
|
6456
6448
|
/*iterationIndex*/
|
|
6457
|
-
ctx2[
|
|
6449
|
+
ctx2[67]
|
|
6458
6450
|
) ? "" : "hidden"
|
|
6459
6451
|
)))) {
|
|
6460
6452
|
attr(label, "class", label_class_value);
|
|
@@ -6462,87 +6454,87 @@
|
|
|
6462
6454
|
if (!current || dirty[0] & /*inlineAnswerResult*/
|
|
6463
6455
|
32768 && textarea_aria_label_value !== (textarea_aria_label_value = `${useIsEven(
|
|
6464
6456
|
/*iterationIndex*/
|
|
6465
|
-
ctx2[
|
|
6457
|
+
ctx2[67]
|
|
6466
6458
|
) ? `Student's` : "Correct"} answer${useIsEven(
|
|
6467
6459
|
/*iterationIndex*/
|
|
6468
|
-
ctx2[
|
|
6460
|
+
ctx2[67]
|
|
6469
6461
|
) && /*inlineAnswerResult*/
|
|
6470
6462
|
ctx2[15][
|
|
6471
6463
|
/*itemIndex*/
|
|
6472
|
-
ctx2[
|
|
6464
|
+
ctx2[64]
|
|
6473
6465
|
] ? " (Correct)" : useIsEven(
|
|
6474
6466
|
/*iterationIndex*/
|
|
6475
|
-
ctx2[
|
|
6467
|
+
ctx2[67]
|
|
6476
6468
|
) && !/*inlineAnswerResult*/
|
|
6477
6469
|
ctx2[15][
|
|
6478
6470
|
/*itemIndex*/
|
|
6479
|
-
ctx2[
|
|
6471
|
+
ctx2[64]
|
|
6480
6472
|
] ? " (Incorrect)" : ""}, Item number ${/*itemIndex*/
|
|
6481
|
-
ctx2[
|
|
6473
|
+
ctx2[64] + 1}:`)) {
|
|
6482
6474
|
attr(textarea, "aria-label", textarea_aria_label_value);
|
|
6483
6475
|
}
|
|
6484
6476
|
if (!current || dirty[0] & /*correctAnswerDataLength, inlineAnswerResult*/
|
|
6485
6477
|
163840 && textarea_class_value !== (textarea_class_value = "typein-textbox py-[9px] pr-4 mt-4 " + /*correctAnswerDataLength*/
|
|
6486
6478
|
(ctx2[17] > 1 && !useIsEven(
|
|
6487
6479
|
/*iterationIndex*/
|
|
6488
|
-
ctx2[
|
|
6480
|
+
ctx2[67]
|
|
6489
6481
|
) ? "md:pl-13.2" : (
|
|
6490
6482
|
/*correctAnswerDataLength*/
|
|
6491
6483
|
ctx2[17] > 1 && useIsEven(
|
|
6492
6484
|
/*iterationIndex*/
|
|
6493
|
-
ctx2[
|
|
6485
|
+
ctx2[67]
|
|
6494
6486
|
) ? "pl-13.2" : ""
|
|
6495
6487
|
)) + " " + (useIsEven(
|
|
6496
6488
|
/*iterationIndex*/
|
|
6497
|
-
ctx2[
|
|
6489
|
+
ctx2[67]
|
|
6498
6490
|
) ? "!pr-11" : "") + " " + (useIsEven(
|
|
6499
6491
|
/*iterationIndex*/
|
|
6500
|
-
ctx2[
|
|
6492
|
+
ctx2[67]
|
|
6501
6493
|
) && /*inlineAnswerResult*/
|
|
6502
6494
|
ctx2[15][
|
|
6503
6495
|
/*itemIndex*/
|
|
6504
|
-
ctx2[
|
|
6496
|
+
ctx2[64]
|
|
6505
6497
|
] ? "border-2 border-green-900" : useIsEven(
|
|
6506
6498
|
/*iterationIndex*/
|
|
6507
|
-
ctx2[
|
|
6499
|
+
ctx2[67]
|
|
6508
6500
|
) && !/*inlineAnswerResult*/
|
|
6509
6501
|
ctx2[15][
|
|
6510
6502
|
/*itemIndex*/
|
|
6511
|
-
ctx2[
|
|
6503
|
+
ctx2[64]
|
|
6512
6504
|
] ? "border-2 border-red-900 bg-red-50" : ""))) {
|
|
6513
6505
|
attr(textarea, "class", textarea_class_value);
|
|
6514
6506
|
}
|
|
6515
6507
|
if (!current || dirty[0] & /*sessionId*/
|
|
6516
6508
|
32 && textarea_id_value !== (textarea_id_value = `${/*iterationIndex*/
|
|
6517
|
-
ctx2[
|
|
6509
|
+
ctx2[67]}-${/*sessionId*/
|
|
6518
6510
|
ctx2[5]}-${/*itemIndex*/
|
|
6519
|
-
ctx2[
|
|
6511
|
+
ctx2[64]}`)) {
|
|
6520
6512
|
attr(textarea, "id", textarea_id_value);
|
|
6521
6513
|
}
|
|
6522
6514
|
if (!current || dirty[0] & /*inlineTypeinAnswer, correctAnswerData*/
|
|
6523
6515
|
66048 && textarea_value_value !== (textarea_value_value = useIsEven(
|
|
6524
6516
|
/*iterationIndex*/
|
|
6525
|
-
ctx2[
|
|
6517
|
+
ctx2[67]
|
|
6526
6518
|
) ? (
|
|
6527
6519
|
/*inlineTypeinAnswer*/
|
|
6528
6520
|
ctx2[9][
|
|
6529
6521
|
/*itemIndex*/
|
|
6530
|
-
ctx2[
|
|
6522
|
+
ctx2[64]
|
|
6531
6523
|
] || "No answer provided"
|
|
6532
6524
|
) : (
|
|
6533
6525
|
/*item*/
|
|
6534
|
-
ctx2[
|
|
6526
|
+
ctx2[62][0]
|
|
6535
6527
|
))) {
|
|
6536
6528
|
textarea.value = textarea_value_value;
|
|
6537
6529
|
}
|
|
6538
6530
|
if (!current || dirty[0] & /*inlineAnswerResult*/
|
|
6539
6531
|
32768 && textarea_tabindex_value !== (textarea_tabindex_value = !useIsEven(
|
|
6540
6532
|
/*iterationIndex*/
|
|
6541
|
-
ctx2[
|
|
6533
|
+
ctx2[67]
|
|
6542
6534
|
) && /*inlineAnswerResult*/
|
|
6543
6535
|
ctx2[15][
|
|
6544
6536
|
/*itemIndex*/
|
|
6545
|
-
ctx2[
|
|
6537
|
+
ctx2[64]
|
|
6546
6538
|
] ? "-1" : "")) {
|
|
6547
6539
|
attr(textarea, "tabindex", textarea_tabindex_value);
|
|
6548
6540
|
}
|
|
@@ -6551,11 +6543,11 @@
|
|
|
6551
6543
|
if (!current || dirty[0] & /*inlineAnswerResult*/
|
|
6552
6544
|
32768 && div0_class_value !== (div0_class_value = "h-fit relative " + (!useIsEven(
|
|
6553
6545
|
/*iterationIndex*/
|
|
6554
|
-
ctx2[
|
|
6546
|
+
ctx2[67]
|
|
6555
6547
|
) && /*inlineAnswerResult*/
|
|
6556
6548
|
ctx2[15][
|
|
6557
6549
|
/*itemIndex*/
|
|
6558
|
-
ctx2[
|
|
6550
|
+
ctx2[64]
|
|
6559
6551
|
] ? "hidden md:block" : ""))) {
|
|
6560
6552
|
attr(div0, "class", div0_class_value);
|
|
6561
6553
|
}
|
|
@@ -6587,7 +6579,7 @@
|
|
|
6587
6579
|
let current;
|
|
6588
6580
|
let each_value_1 = ensure_array_like(
|
|
6589
6581
|
/*inlineIteration*/
|
|
6590
|
-
ctx[
|
|
6582
|
+
ctx[21]
|
|
6591
6583
|
);
|
|
6592
6584
|
let each_blocks = [];
|
|
6593
6585
|
for (let i = 0; i < each_value_1.length; i += 1) {
|
|
@@ -6620,7 +6612,7 @@
|
|
|
6620
6612
|
229920) {
|
|
6621
6613
|
each_value_1 = ensure_array_like(
|
|
6622
6614
|
/*inlineIteration*/
|
|
6623
|
-
ctx2[
|
|
6615
|
+
ctx2[21]
|
|
6624
6616
|
);
|
|
6625
6617
|
let i;
|
|
6626
6618
|
for (i = 0; i < each_value_1.length; i += 1) {
|
|
@@ -6676,12 +6668,12 @@
|
|
|
6676
6668
|
function select_block_type(ctx2, dirty) {
|
|
6677
6669
|
if (
|
|
6678
6670
|
/*isInlineTypein*/
|
|
6679
|
-
ctx2[
|
|
6671
|
+
ctx2[26]
|
|
6680
6672
|
)
|
|
6681
6673
|
return 0;
|
|
6682
6674
|
if (
|
|
6683
6675
|
/*typeinType*/
|
|
6684
|
-
ctx2[
|
|
6676
|
+
ctx2[25] === TYPEIN_TYPE_SHORT
|
|
6685
6677
|
)
|
|
6686
6678
|
return 1;
|
|
6687
6679
|
return 2;
|
|
@@ -6764,16 +6756,16 @@
|
|
|
6764
6756
|
props: {
|
|
6765
6757
|
rubric: (
|
|
6766
6758
|
/*rubric*/
|
|
6767
|
-
ctx[
|
|
6759
|
+
ctx[22].text
|
|
6768
6760
|
),
|
|
6769
6761
|
prompt: (
|
|
6770
6762
|
/*prompt*/
|
|
6771
|
-
ctx[
|
|
6763
|
+
ctx[24]
|
|
6772
6764
|
),
|
|
6773
6765
|
interactionType: INTERACTION_TYPE_TYPEIN,
|
|
6774
6766
|
stimulus: (
|
|
6775
6767
|
/*stimulus*/
|
|
6776
|
-
ctx[
|
|
6768
|
+
ctx[23]
|
|
6777
6769
|
),
|
|
6778
6770
|
hasDivider: (
|
|
6779
6771
|
/*hasDivider*/
|
|
@@ -6797,9 +6789,9 @@
|
|
|
6797
6789
|
16384)
|
|
6798
6790
|
promptbody_changes.hasDivider = /*hasDivider*/
|
|
6799
6791
|
ctx2[14];
|
|
6800
|
-
if (dirty[0] & /*correctAnswerData, inlineAnswerResult, correctAnswerDataLength, sessionId, inlineTypeinAnswer, isPreviewMode, isPreviewModeInteractive, isResultCorrect, resultFeedback, isSkippedAnswer, resultLabel, isFinished, isDataSaving, root, inlinePromptString, textAriaLabel, placeholder, typeinAnswer*/
|
|
6801
|
-
|
|
6802
|
-
|
|
6792
|
+
if (dirty[0] & /*correctAnswerData, inlineAnswerResult, correctAnswerDataLength, sessionId, inlineTypeinAnswer, isPreviewMode, isPreviewModeInteractive, isResultCorrect, resultFeedback, computedFeedback, isSkippedAnswer, computedFeedbackTitle, resultLabel, isFinished, isDataSaving, root, inlinePromptString, textAriaLabel, placeholder, typeinAnswer*/
|
|
6793
|
+
2080767 | dirty[2] & /*$$scope*/
|
|
6794
|
+
64) {
|
|
6803
6795
|
promptbody_changes.$$scope = { dirty, ctx: ctx2 };
|
|
6804
6796
|
}
|
|
6805
6797
|
promptbody.$set(promptbody_changes);
|
|
@@ -6851,6 +6843,8 @@
|
|
|
6851
6843
|
const { rubric, interaction, metadata, scoringMetadata, stimulus } = sessionData;
|
|
6852
6844
|
const { prompt, typein_type: typeinType } = interaction;
|
|
6853
6845
|
const isInlineTypein = typeinType === TYPEIN_TYPE_INLINE;
|
|
6846
|
+
let computedFeedback = null;
|
|
6847
|
+
let computedFeedbackTitle = null;
|
|
6854
6848
|
if (metadata) {
|
|
6855
6849
|
const events = metadata.interactions.events.pop();
|
|
6856
6850
|
if (isInlineTypein) {
|
|
@@ -6909,8 +6903,11 @@
|
|
|
6909
6903
|
$$invalidate(0, isFinished = true);
|
|
6910
6904
|
$$invalidate(16, correctAnswerData = previewCorrectAnswer);
|
|
6911
6905
|
$$invalidate(17, correctAnswerDataLength = previewCorrectAnswer.length);
|
|
6912
|
-
if (
|
|
6906
|
+
if (hasOnlyEmptyWrongAnswers(inlineTypeinAnswer, inlineAnswerResult))
|
|
6907
|
+
$$invalidate(10, isSkippedAnswer = true);
|
|
6908
|
+
if (!isResultCorrect && inlineTypeinAnswer.some((value) => value !== ""))
|
|
6913
6909
|
getFeedback();
|
|
6910
|
+
inlineComputedFeedback();
|
|
6914
6911
|
buildInlinePrompt();
|
|
6915
6912
|
setTimeout(
|
|
6916
6913
|
() => {
|
|
@@ -6933,7 +6930,7 @@
|
|
|
6933
6930
|
};
|
|
6934
6931
|
const getResultMessage = () => {
|
|
6935
6932
|
$$invalidate(12, resultLabel = isResultCorrect ? "Correct" : "Incorrect");
|
|
6936
|
-
$$invalidate(
|
|
6933
|
+
$$invalidate(20, textAriaLabel = `Submitted response is ${resultLabel.toLocaleLowerCase()}`);
|
|
6937
6934
|
$$invalidate(11, placeholder = isResultCorrect ? placeholder : "No answer provided");
|
|
6938
6935
|
};
|
|
6939
6936
|
const checkInlineAnswer = (correctAnswer, answer, isAllowMacron, isIgnorePunctuation) => {
|
|
@@ -6949,6 +6946,13 @@
|
|
|
6949
6946
|
return transformedAnswerList[index].includes(inlineAnswer.toLowerCase().trim());
|
|
6950
6947
|
});
|
|
6951
6948
|
};
|
|
6949
|
+
const inlineComputedFeedback = () => {
|
|
6950
|
+
$$invalidate(18, computedFeedback = isSkippedAnswer ? "" : resultFeedback);
|
|
6951
|
+
$$invalidate(19, computedFeedbackTitle = isResultCorrect || isSkippedAnswer ? "" : "Why they got it wrong");
|
|
6952
|
+
};
|
|
6953
|
+
const hasOnlyEmptyWrongAnswers = (answers, answerResults) => {
|
|
6954
|
+
return answers.filter((value) => value === "").length === answerResults.filter((value) => value === false).length;
|
|
6955
|
+
};
|
|
6952
6956
|
if (isFinished) {
|
|
6953
6957
|
const { answer, hasAnswer } = scoringMetadata;
|
|
6954
6958
|
isSkippedAnswer = !hasAnswer;
|
|
@@ -6964,6 +6968,9 @@
|
|
|
6964
6968
|
correctAnswerData = correctAnswer;
|
|
6965
6969
|
correctAnswerDataLength = correctAnswer.length;
|
|
6966
6970
|
inlineAnswerResult = checkInlineAnswer(correctAnswer, metadataAnswer, allowNonMacrons, ignorePunctuation);
|
|
6971
|
+
if (hasOnlyEmptyWrongAnswers(metadataAnswer, inlineAnswerResult))
|
|
6972
|
+
isSkippedAnswer = true;
|
|
6973
|
+
inlineComputedFeedback();
|
|
6967
6974
|
} else {
|
|
6968
6975
|
typeinAnswer = answer && hasAnswer ? answer : typeinAnswer;
|
|
6969
6976
|
}
|
|
@@ -6974,7 +6981,7 @@
|
|
|
6974
6981
|
}
|
|
6975
6982
|
const resetInteractivePreviewData = () => {
|
|
6976
6983
|
$$invalidate(12, resultLabel = "");
|
|
6977
|
-
$$invalidate(
|
|
6984
|
+
$$invalidate(20, textAriaLabel = "");
|
|
6978
6985
|
$$invalidate(11, placeholder = "");
|
|
6979
6986
|
getResultMessage();
|
|
6980
6987
|
getFeedback();
|
|
@@ -7085,7 +7092,7 @@
|
|
|
7085
7092
|
const keydown_handler_1 = (event) => saveOnEnter(event);
|
|
7086
7093
|
$$self.$$set = ($$props2) => {
|
|
7087
7094
|
if ("sessionData" in $$props2)
|
|
7088
|
-
$$invalidate(
|
|
7095
|
+
$$invalidate(32, sessionData = $$props2.sessionData);
|
|
7089
7096
|
if ("isDataSaving" in $$props2)
|
|
7090
7097
|
$$invalidate(2, isDataSaving = $$props2.isDataSaving);
|
|
7091
7098
|
if ("isFinished" in $$props2)
|
|
@@ -7097,13 +7104,13 @@
|
|
|
7097
7104
|
if ("isPreviewModeInteractive" in $$props2)
|
|
7098
7105
|
$$invalidate(4, isPreviewModeInteractive = $$props2.isPreviewModeInteractive);
|
|
7099
7106
|
if ("isPreviewCheckedAnswer" in $$props2)
|
|
7100
|
-
$$invalidate(
|
|
7107
|
+
$$invalidate(33, isPreviewCheckedAnswer = $$props2.isPreviewCheckedAnswer);
|
|
7101
7108
|
if ("sessionId" in $$props2)
|
|
7102
7109
|
$$invalidate(5, sessionId = $$props2.sessionId);
|
|
7103
7110
|
};
|
|
7104
7111
|
$$self.$$.update = () => {
|
|
7105
7112
|
if ($$self.$$.dirty[1] & /*isPreviewCheckedAnswer*/
|
|
7106
|
-
|
|
7113
|
+
4) {
|
|
7107
7114
|
$:
|
|
7108
7115
|
if (isPreviewCheckedAnswer) {
|
|
7109
7116
|
resetInteractivePreviewData();
|
|
@@ -7129,6 +7136,8 @@
|
|
|
7129
7136
|
inlineAnswerResult,
|
|
7130
7137
|
correctAnswerData,
|
|
7131
7138
|
correctAnswerDataLength,
|
|
7139
|
+
computedFeedback,
|
|
7140
|
+
computedFeedbackTitle,
|
|
7132
7141
|
textAriaLabel,
|
|
7133
7142
|
inlineIteration,
|
|
7134
7143
|
rubric,
|
|
@@ -7165,13 +7174,13 @@
|
|
|
7165
7174
|
create_fragment13,
|
|
7166
7175
|
safe_not_equal,
|
|
7167
7176
|
{
|
|
7168
|
-
sessionData:
|
|
7177
|
+
sessionData: 32,
|
|
7169
7178
|
isDataSaving: 2,
|
|
7170
7179
|
isFinished: 0,
|
|
7171
7180
|
isResultCorrect: 1,
|
|
7172
7181
|
isPreviewMode: 3,
|
|
7173
7182
|
isPreviewModeInteractive: 4,
|
|
7174
|
-
isPreviewCheckedAnswer:
|
|
7183
|
+
isPreviewCheckedAnswer: 33,
|
|
7175
7184
|
sessionId: 5
|
|
7176
7185
|
},
|
|
7177
7186
|
null,
|
|
@@ -7179,7 +7188,7 @@
|
|
|
7179
7188
|
);
|
|
7180
7189
|
}
|
|
7181
7190
|
get sessionData() {
|
|
7182
|
-
return this.$$.ctx[
|
|
7191
|
+
return this.$$.ctx[32];
|
|
7183
7192
|
}
|
|
7184
7193
|
set sessionData(sessionData) {
|
|
7185
7194
|
this.$$set({ sessionData });
|
|
@@ -7221,7 +7230,7 @@
|
|
|
7221
7230
|
flush();
|
|
7222
7231
|
}
|
|
7223
7232
|
get isPreviewCheckedAnswer() {
|
|
7224
|
-
return this.$$.ctx[
|
|
7233
|
+
return this.$$.ctx[33];
|
|
7225
7234
|
}
|
|
7226
7235
|
set isPreviewCheckedAnswer(isPreviewCheckedAnswer) {
|
|
7227
7236
|
this.$$set({ isPreviewCheckedAnswer });
|